@dcodegroup-au/dsg-vue 0.1.21 → 0.1.23

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.
@@ -1,6 +1,6 @@
1
- import { defineComponent as Ai, mergeModels as Vn, useModel as xi, ref as Wn, watch as Di, useTemplateRef as Hi, onMounted as Oi, createElementBlock as Tt, openBlock as dt, createElementVNode as Fn, createCommentVNode as qn, createBlock as Ni, Fragment as Ri, renderList as Ii, toDisplayString as Pi } from "vue";
1
+ import { defineComponent as Ai, useModel as xi, ref as Vn, watch as Di, useTemplateRef as Hi, onMounted as Oi, openBlock as dt, createElementBlock as Tt, createElementVNode as Wn, createBlock as Ni, createCommentVNode as Fn, Fragment as Ri, renderList as Ii, toDisplayString as Pi, mergeModels as qn } from "vue";
2
2
  import { g as ji } from "./_commonjsHelpers-C6fGbg64.js";
3
- import { _ as Bi } from "./DsgLabel.vue_vue_type_style_index_0_lang-BXePb1IV.js";
3
+ import { _ as Bi } from "./DsgLabel.vue_vue_type_style_index_0_lang-BYL1w85l.js";
4
4
  var _t = { exports: {} };
5
5
  /*!
6
6
  * Vditor v3.11.2 - A markdown editor written in TypeScript.
@@ -8036,7 +8036,7 @@ const Fi = /* @__PURE__ */ ji(Wi), qi = { class: "dsg-editor" }, Ki = {
8036
8036
  class: "dsg-editor--error-wrapper"
8037
8037
  }, Gi = /* @__PURE__ */ Ai({
8038
8038
  __name: "DsgEditor",
8039
- props: /* @__PURE__ */ Vn({
8039
+ props: /* @__PURE__ */ qn({
8040
8040
  label: { default: "" },
8041
8041
  targetModel: { default: null },
8042
8042
  targetModelClass: { default: "" },
@@ -8049,16 +8049,16 @@ const Fi = /* @__PURE__ */ ji(Wi), qi = { class: "dsg-editor" }, Ki = {
8049
8049
  },
8050
8050
  modelModifiers: {}
8051
8051
  }),
8052
- emits: /* @__PURE__ */ Vn(["on-before-input", "on-after-input", "update:modelValue"], ["update:modelValue"]),
8052
+ emits: /* @__PURE__ */ qn(["on-before-input", "on-after-input", "update:modelValue"], ["update:modelValue"]),
8053
8053
  setup(we, { expose: Xt, emit: pt }) {
8054
- let nt = xi(we, "modelValue"), Y = Wn(nt);
8054
+ let nt = xi(we, "modelValue"), Y = Vn(nt);
8055
8055
  Di(
8056
8056
  () => Y.value,
8057
8057
  (w, b) => {
8058
8058
  m("update:modelValue", w);
8059
8059
  }
8060
8060
  );
8061
- const Le = Wn(), Z = Hi("vditor"), E = () => ({
8061
+ const Le = Vn(), Z = Hi("vditor"), E = () => ({
8062
8062
  modelId: we.targetModel ? we.targetModel.id : "",
8063
8063
  modelClass: we.targetModelClass ? we.targetModelClass : ""
8064
8064
  }), M = (w, b) => {
@@ -8219,20 +8219,20 @@ const Fi = /* @__PURE__ */ ji(Wi), qi = { class: "dsg-editor" }, Ki = {
8219
8219
  getEditor: () => Le.value,
8220
8220
  getEditorValue: () => Y.value
8221
8221
  }), (w, b) => (dt(), Tt("div", qi, [
8222
- Fn("div", null, [
8222
+ Wn("div", null, [
8223
8223
  we.label ? (dt(), Ni(Bi, {
8224
8224
  key: 0,
8225
8225
  classes: "dsg-editor__label",
8226
8226
  label: we.label
8227
- }, null, 8, ["label"])) : qn("", !0),
8228
- Fn("div", Ki, null, 512)
8227
+ }, null, 8, ["label"])) : Fn("", !0),
8228
+ Wn("div", Ki, null, 512)
8229
8229
  ]),
8230
8230
  we.errors && we.errors.length ? (dt(), Tt("div", zi, [
8231
8231
  (dt(!0), Tt(Ri, null, Ii(we.errors, (g, s) => (dt(), Tt("div", {
8232
8232
  class: "dsg-editor--error",
8233
8233
  key: s
8234
8234
  }, Pi(g), 1))), 128))
8235
- ])) : qn("", !0)
8235
+ ])) : Fn("", !0)
8236
8236
  ]));
8237
8237
  }
8238
8238
  }), Zi = Gi, $i = {