teleport.js 835 B

1234567891011121314151617181920212223242526
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', { value: true });
  3. var vue = require('vue');
  4. var teleport = require('./teleport2.js');
  5. var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
  6. const _sfc_main = /* @__PURE__ */ vue.defineComponent({
  7. __name: "teleport",
  8. props: teleport.teleportProps,
  9. setup(__props) {
  10. return (_ctx, _cache) => {
  11. return _ctx.disabled ? vue.renderSlot(_ctx.$slots, "default", { key: 0 }) : (vue.openBlock(), vue.createBlock(vue.Teleport, {
  12. key: 1,
  13. to: _ctx.to
  14. }, [
  15. vue.renderSlot(_ctx.$slots, "default")
  16. ], 8, ["to"]));
  17. };
  18. }
  19. });
  20. var Teleport = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "teleport.vue"]]);
  21. exports["default"] = Teleport;
  22. //# sourceMappingURL=teleport.js.map