element-less 0.0.19 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38707,7 +38707,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
38707
38707
  emits: /* @__PURE__ */ mergeModels(["removeItem"], ["update:children"]),
38708
38708
  setup(__props, { emit: __emit }) {
38709
38709
  const DynamicDesignerInnerItem = defineAsyncComponent(() => {
38710
- return import("./innerItem-BAc4RCJN.js");
38710
+ return import("./innerItem-CJcQLAcJ.js");
38711
38711
  });
38712
38712
  const { getValue: getValue2 } = useProps();
38713
38713
  const tagID = getValue2("tagID");
@@ -39550,10 +39550,10 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
39550
39550
  emits: ["update:modelValue"],
39551
39551
  setup(__props, { expose: __expose, emit: __emit }) {
39552
39552
  const DynamicRenderInner = defineAsyncComponent(() => {
39553
- return import("./inner-DF7Plbdc.js").then((n) => n.i);
39553
+ return import("./inner-BX0N_tDo.js").then((n) => n.i);
39554
39554
  });
39555
39555
  const DynamicRenderForm = defineAsyncComponent(() => {
39556
- return import("./inner-DF7Plbdc.js").then((n) => n.f);
39556
+ return import("./inner-BX0N_tDo.js").then((n) => n.f);
39557
39557
  });
39558
39558
  const props = __props;
39559
39559
  const { getValue: getValue2, setValue, formNodeProps } = useProps(props);
@@ -39783,10 +39783,10 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
39783
39783
  emits: ["update:modelValue"],
39784
39784
  setup(__props, { expose: __expose, emit: __emit }) {
39785
39785
  const DynamicRenderInnerAsync = defineAsyncComponent(() => {
39786
- return import("./inner-DF7Plbdc.js").then((n) => n.i);
39786
+ return import("./inner-BX0N_tDo.js").then((n) => n.i);
39787
39787
  });
39788
39788
  const DynamicRenderFormAsync = defineAsyncComponent(() => {
39789
- return import("./inner-DF7Plbdc.js").then((n) => n.f);
39789
+ return import("./inner-BX0N_tDo.js").then((n) => n.f);
39790
39790
  });
39791
39791
  const props = __props;
39792
39792
  const { getValue: getValue2, setValue, formNodeProps } = useProps(props);
@@ -42337,7 +42337,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
42337
42337
  };
42338
42338
  }
42339
42339
  });
42340
- const DynamicDesignerViewForm = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-ab0be8d8"]]);
42340
+ const DynamicDesignerViewForm = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-359ff6ae"]]);
42341
42341
  const _sfc_main$g = /* @__PURE__ */ defineComponent({
42342
42342
  __name: "body",
42343
42343
  props: /* @__PURE__ */ mergeModels({
@@ -42562,7 +42562,7 @@ const useDesign = defineStore("dynamic-design", () => {
42562
42562
  clear
42563
42563
  };
42564
42564
  });
42565
- const _withScopeId = (n) => (pushScopeId("data-v-fa7340b3"), n = n(), popScopeId(), n);
42565
+ const _withScopeId = (n) => (pushScopeId("data-v-00688673"), n = n(), popScopeId(), n);
42566
42566
  const _hoisted_1$c = {
42567
42567
  style: { "display": "flex", "background": "#f8f8f8" },
42568
42568
  class: "els-dynamic-d-view"
@@ -43102,8 +43102,11 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
43102
43102
  if (!copyNodeItem.value) {
43103
43103
  utils.getClipboardContent().then((res) => {
43104
43104
  try {
43105
- copyNodeItem.value = JSON.parse(res);
43105
+ if (res) {
43106
+ copyNodeItem.value = JSON.parse(res);
43107
+ }
43106
43108
  } catch (err) {
43109
+ console.warn(err);
43107
43110
  }
43108
43111
  handlePasteNode();
43109
43112
  });
@@ -43832,7 +43835,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
43832
43835
  };
43833
43836
  }
43834
43837
  });
43835
- const DesignerView = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-fa7340b3"]]);
43838
+ const DesignerView = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-00688673"]]);
43836
43839
  const ElsDesignerView = withInstall(DesignerView);
43837
43840
  (function(Prism2) {
43838
43841
  var string = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
@@ -44639,31 +44642,31 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
44639
44642
  }
44640
44643
  onMounted(() => {
44641
44644
  if (props.language === "json") {
44642
- const currModule = import("./mode-json-BYm5qA4S.js").then((n) => n.m);
44645
+ const currModule = import("./mode-json-CawFjkwS.js").then((n) => n.m);
44643
44646
  currModule.then((res) => {
44644
44647
  ace.config.setModuleUrl("ace/mode/json", res);
44645
44648
  init();
44646
44649
  });
44647
44650
  } else if (props.language === "javascript") {
44648
- const currModule = import("./mode-javascript-D8ZT390y.js").then((n) => n.m);
44651
+ const currModule = import("./mode-javascript-EI_Mq_JY.js").then((n) => n.m);
44649
44652
  currModule.then((res) => {
44650
44653
  ace.config.setModuleUrl("ace/mode/javascript", res);
44651
44654
  init();
44652
44655
  });
44653
44656
  } else if (props.language === "csharp") {
44654
- const currModule = import("./mode-csharp-Dkda4Zzf.js").then((n) => n.m);
44657
+ const currModule = import("./mode-csharp-_OmY5x-p.js").then((n) => n.m);
44655
44658
  currModule.then((res) => {
44656
44659
  ace.config.setModuleUrl("ace/mode/csharp", res);
44657
44660
  init();
44658
44661
  });
44659
44662
  } else if (props.language === "mysql") {
44660
- const currModule = import("./mode-mysql-BG_NC-yl.js").then((n) => n.m);
44663
+ const currModule = import("./mode-mysql-DA0dFpRa.js").then((n) => n.m);
44661
44664
  currModule.then((res) => {
44662
44665
  ace.config.setModuleUrl("ace/mode/mysql", res);
44663
44666
  init();
44664
44667
  });
44665
44668
  } else if (props.language === "css") {
44666
- const currModule = import("./mode-css-Dlr3IlLd.js").then((n) => n.m);
44669
+ const currModule = import("./mode-css-Bl-HLzih.js").then((n) => n.m);
44667
44670
  currModule.then((res) => {
44668
44671
  ace.config.setModuleUrl("ace/mode/css", res);
44669
44672
  init();