@deskhero/dh_ui 1.43.3 → 1.43.4

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.
package/dist/dh_ui.es.js CHANGED
@@ -24163,7 +24163,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
24163
24163
  };
24164
24164
  }
24165
24165
  });
24166
- var DhDropdownMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-35071082"]]);
24166
+ var DhDropdownMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-3a3f37c0"]]);
24167
24167
  var DropdownMenu_vue_vue_type_style_index_0_scoped_true_lang = "";
24168
24168
  const _hoisted_1$f = ["data-e2e", "onClick"];
24169
24169
  const _hoisted_2$e = ["onClick"];
@@ -24269,7 +24269,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
24269
24269
  };
24270
24270
  }
24271
24271
  });
24272
- var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-0c809d82"]]);
24272
+ var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-2fa20f7b"]]);
24273
24273
  var Error_vue_vue_type_style_index_0_lang = "";
24274
24274
  const _hoisted_1$e = {
24275
24275
  key: 0,
@@ -43615,7 +43615,7 @@ const _sfc_main$1 = {
43615
43615
  return { blocks: [] };
43616
43616
  }
43617
43617
  },
43618
- editMode: {
43618
+ readOnly: {
43619
43619
  type: Boolean,
43620
43620
  default: true
43621
43621
  }
@@ -43633,7 +43633,7 @@ const _sfc_main$1 = {
43633
43633
  autofocus: true,
43634
43634
  minHeight: 0,
43635
43635
  initialBlock: "paragraph",
43636
- readOnly: !isEdit.value,
43636
+ readOnly: props.readOnly,
43637
43637
  onReady: () => {
43638
43638
  isReady.value = true;
43639
43639
  },
@@ -43794,7 +43794,7 @@ const _sfc_main$1 = {
43794
43794
  myEditor();
43795
43795
  }
43796
43796
  onMounted(() => {
43797
- isEdit.value = props.editMode;
43797
+ isEdit.value = !props.readOnly;
43798
43798
  if (props.firstBlock) {
43799
43799
  myEditor();
43800
43800
  }