sd-render 1.0.23 → 1.0.25

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.
@@ -128,15 +128,16 @@ import "element-plus/es/components/space/style/index";
128
128
  import { Chart as tn, CategoryScale as an, LinearScale as ln, BarElement as on, Title as nn, Tooltip as sn, Legend as rn, Filler as dn, plugins as un, TimeScale as pn, TimeSeriesScale as mn, RadialLinearScale as fn, LineElement as hn, PointElement as cn, ArcElement as bn } from "chart.js";
129
129
  import { Chart as gn } from "vue-chartjs";
130
130
  import "chartjs-adapter-moment";
131
- import yn from "vue-clipboard3";
132
- import vn from "fuse.js";
131
+ import yn from "vue3-apexcharts";
132
+ import vn from "vue-clipboard3";
133
+ import wn from "fuse.js";
133
134
  import ka from "pdfmake/build/pdfmake";
134
135
  import Qa from "html-to-pdfmake";
135
- import { f as wn } from "./sd-fonts-DL2H6WH7.js";
136
+ import { f as Fn } from "./sd-fonts-DL2H6WH7.js";
136
137
  import * as Jt from "xlsx";
137
- import { Document as Fn, Paragraph as Pt, Table as Za, TableRow as el, TableCell as Ca, WidthType as Xt, TableLayoutType as tl, BorderStyle as Qt, Packer as _n } from "docx";
138
- import { saveAs as Sn } from "file-saver";
139
- const kn = {
138
+ import { Document as _n, Paragraph as Pt, Table as Za, TableRow as el, TableCell as Ca, WidthType as Xt, TableLayoutType as tl, BorderStyle as Qt, Packer as Sn } from "docx";
139
+ import { saveAs as kn } from "file-saver";
140
+ const Cn = {
140
141
  name: "SvgData",
141
142
  props: {
142
143
  svgData: {
@@ -164,14 +165,14 @@ const kn = {
164
165
  for (const [l, o] of t)
165
166
  a[l] = o;
166
167
  return a;
167
- }, Cn = ["innerHTML"];
168
- function Dn(e, t, a, l, o, i) {
168
+ }, Dn = ["innerHTML"];
169
+ function In(e, t, a, l, o, i) {
169
170
  return n(), w("i", {
170
171
  class: "el-icon svg-icon",
171
172
  innerHTML: a.svgData
172
- }, null, 8, Cn);
173
+ }, null, 8, Dn);
173
174
  }
174
- const Ze = /* @__PURE__ */ B(kn, [["render", Dn], ["__scopeId", "data-v-7c4acdd9"]]), In = {
175
+ const Ze = /* @__PURE__ */ B(Cn, [["render", In], ["__scopeId", "data-v-7c4acdd9"]]), $n = {
175
176
  name: "SvgIcon",
176
177
  props: {
177
178
  iconName: {
@@ -202,21 +203,21 @@ const Ze = /* @__PURE__ */ B(kn, [["render", Dn], ["__scopeId", "data-v-7c4acdd9
202
203
  return this.className ? "el-icon svg-icon " + this.className : "el-icon svg-icon";
203
204
  }
204
205
  }
205
- }, $n = { "aria-hidden": "true" }, Tn = ["xlink:href", "fill"], Mn = { key: 0 };
206
- function Pn(e, t, a, l, o, i) {
206
+ }, Tn = { "aria-hidden": "true" }, Mn = ["xlink:href", "fill"], Pn = { key: 0 };
207
+ function Vn(e, t, a, l, o, i) {
207
208
  return n(), w("i", {
208
209
  class: X(i.svgClass)
209
210
  }, [
210
- (n(), w("svg", $n, [
211
+ (n(), w("svg", Tn, [
211
212
  P("use", {
212
213
  "xlink:href": i.iconClass,
213
214
  fill: a.color
214
- }, null, 8, Tn),
215
- a.title ? (n(), w("title", Mn, O(a.title), 1)) : g("", !0)
215
+ }, null, 8, Mn),
216
+ a.title ? (n(), w("title", Pn, O(a.title), 1)) : g("", !0)
216
217
  ]))
217
218
  ], 2);
218
219
  }
219
- const ge = /* @__PURE__ */ B(In, [["render", Pn], ["__scopeId", "data-v-bebc8483"]]), al = ["onBlur", "onInput", "onChange", "changeSelectionStyle", "changeSession", "copy", "onFocus", "paste"], Vn = L({
220
+ const ge = /* @__PURE__ */ B($n, [["render", Vn], ["__scopeId", "data-v-bebc8483"]]), al = ["onBlur", "onInput", "onChange", "changeSelectionStyle", "changeSession", "copy", "onFocus", "paste"], An = L({
220
221
  name: "SdAceEditor",
221
222
  emits: ["update:value", "init", ...al],
222
223
  props: {
@@ -488,14 +489,14 @@ loadData.then((data) => {
488
489
  }
489
490
  }
490
491
  });
491
- function An(e, t, a, l, o, i) {
492
+ function On(e, t, a, l, o, i) {
492
493
  return n(), w("div", {
493
494
  style: te(`min-height: ${e.minHeight || 30}px; width: 100%; `)
494
495
  }, null, 4);
495
496
  }
496
- const On = /* @__PURE__ */ B(Vn, [["render", An]]);
497
+ const Nn = /* @__PURE__ */ B(An, [["render", On]]);
497
498
  var Ue = /* @__PURE__ */ ((e) => (e.None = "None", e.String = "String", e.Integer = "Integer", e.Number = "Number", e.Boolean = "Boolean", e.Array = "Array", e.Object = "Object", e.ObjectId = "ObjectId", e.StringDate = "StringDate", e.ArrayDate = "ArrayDate", e.Date = "Date", e.Timestamp = "Timestamp", e.Binary = "Binary", e.StringArray = "String|Array", e.ObjectArray = "Object|Array", e.Any = "Any", e))(Ue || {}), de = /* @__PURE__ */ ((e) => (e.SYS = "SYS", e.FORM = "FORM", e.SQL = "SQL", e))(de || {}), me = /* @__PURE__ */ ((e) => (e.ASC = "ASC", e.DESC = "DESC", e))(me || {});
498
- const xb = [
499
+ const Kb = [
499
500
  {
500
501
  value: "user-list",
501
502
  label: "Member List",
@@ -625,7 +626,7 @@ const xb = [
625
626
  "AsyncFunction"
626
627
  ], Rt = function() {
627
628
  return Math.floor(Math.random() * 1e5 + Math.random() * 2e4 + Math.random() * 5e3);
628
- }, Wb = function() {
629
+ }, Gb = function() {
629
630
  let e = Math.floor(Math.random() * 1e5 + Math.random() * 2e4 + Math.random() * 5e3), t = ve().valueOf() + "" + e;
630
631
  return Number(t.slice(0, 17));
631
632
  }, Ce = function(e) {
@@ -637,7 +638,7 @@ const xb = [
637
638
  function ee(e) {
638
639
  return window.innerWidth < 768 ? "96%" : window.innerWidth >= 768 && window.innerWidth < 992 ? "95%" : (window.innerWidth >= 992, e);
639
640
  }
640
- function Kb(e) {
641
+ function Yb(e) {
641
642
  let a = window.location.search.substring(1).split("&");
642
643
  for (let l = 0; l < a.length; l++) {
643
644
  const o = a[l];
@@ -653,22 +654,22 @@ const D = function(e) {
653
654
  if (e !== void 0)
654
655
  return JSON.parse(JSON.stringify(e));
655
656
  };
656
- function Gb(e) {
657
+ function Jb(e) {
657
658
  return e == null;
658
659
  }
659
660
  function La(e) {
660
661
  return e != null;
661
662
  }
662
- function Yb(e) {
663
+ function Xb(e) {
663
664
  return e === void 0 || !e && e !== 0 && e !== "0" || !/[^\s]/.test(e);
664
665
  }
665
666
  function Ba(e) {
666
667
  return Object.keys(e).length === 0;
667
668
  }
668
669
  function Vt(e, t) {
669
- e.category && e.category === "container" ? Nn(e, t) : e.formItemFlag && e.formItemFlag && t(e);
670
+ e.category && e.category === "container" ? En(e, t) : e.formItemFlag && e.formItemFlag && t(e);
670
671
  }
671
- function Nn(e, t) {
672
+ function En(e, t) {
672
673
  e.component === "grid" ? e.cols.forEach((a) => {
673
674
  a.fields.forEach((l) => {
674
675
  Vt(l, t);
@@ -715,7 +716,7 @@ function gt(e, t) {
715
716
  }) : (a.component === "sub-form" || a.category === "container") && gt(a.fields, t);
716
717
  });
717
718
  }
718
- const Jb = function(e, t = "") {
719
+ const Qb = function(e, t = "") {
719
720
  try {
720
721
  let a = document.getElementsByTagName("body")[0], l = document.getElementById("sdform_global_functions");
721
722
  if (a) {
@@ -726,7 +727,7 @@ const Jb = function(e, t = "") {
726
727
  } catch (a) {
727
728
  console.log("error", a);
728
729
  }
729
- }, Xb = function(e, t = "") {
730
+ }, Zb = function(e, t = "") {
730
731
  let a = document.getElementsByTagName("head")[0], l = document.getElementById("sdform-custom-css");
731
732
  if (a) {
732
733
  l && a.removeChild(l), t && (l = document.getElementById("sdform-custom-css-" + t), l && a.removeChild(l));
@@ -739,14 +740,14 @@ const Jb = function(e, t = "") {
739
740
  }
740
741
  a.appendChild(o);
741
742
  }
742
- }, Qb = function(e, t = 0, a = "currency", l = "THB") {
743
+ }, eg = function(e, t = 0, a = "currency", l = "THB") {
743
744
  return new Intl.NumberFormat("th-TH", {
744
745
  style: a,
745
746
  currency: l,
746
747
  minimumFractionDigits: t
747
748
  }).format(e);
748
749
  };
749
- function Zb(e) {
750
+ function tg(e) {
750
751
  if (!e)
751
752
  return [];
752
753
  let t = [];
@@ -758,7 +759,7 @@ function Zb(e) {
758
759
  });
759
760
  }), t;
760
761
  }
761
- function eg(e) {
762
+ function ag(e) {
762
763
  if (!e)
763
764
  return [];
764
765
  let t = [];
@@ -775,27 +776,27 @@ const ga = function(e) {
775
776
  for (const a in e)
776
777
  t[`{{${a}}}`] = e[a];
777
778
  return t;
778
- }, En = (e) => ["true", "True", "1"].includes(e);
779
- function tg(e) {
779
+ }, Ln = (e) => ["true", "True", "1"].includes(e);
780
+ function lg(e) {
780
781
  return e.charAt(0).toUpperCase() + e.slice(1);
781
782
  }
782
- function ag(e) {
783
+ function og(e) {
783
784
  return e.charAt(0).toLowerCase() + e.slice(1);
784
785
  }
785
- function lg(e) {
786
+ function ig(e) {
786
787
  return `(${e.map((t) => JSON.stringify(t.toString())).join(", ")})`;
787
788
  }
788
- function og(e) {
789
+ function ng(e) {
789
790
  return `(${e.join(", ")})`;
790
791
  }
791
- function ig(e) {
792
+ function sg(e) {
792
793
  let t = e.replace(/\s+/g, " ");
793
794
  return t = Pe(t, "%", "%25"), t = Pe(t, "> <", "><"), t = Pe(t, "; }", ";}"), t = Pe(t, "<", "%3c"), t = Pe(t, ">", "%3e"), t = Pe(t, '"', "'"), t = Pe(t, "#", "%23"), t = Pe(t, "{", "%7b"), t = Pe(t, "}", "%7d"), t = Pe(t, "|", "%7c"), t = Pe(t, "^", "%5e"), t = Pe(t, "`", "%60"), t = Pe(t, "@", "%40"), t;
794
795
  }
795
796
  function Pe(e, t, a) {
796
- return e.replace(new RegExp(Ln(t), "g"), a);
797
+ return e.replace(new RegExp(Bn(t), "g"), a);
797
798
  }
798
- function Ln(e) {
799
+ function Bn(e) {
799
800
  return e.replace(/([.*+?^=!:${}()|\[\]\/\\])/g, "\\$1");
800
801
  }
801
802
  function $a(e, t, a) {
@@ -834,7 +835,7 @@ function re(e, t) {
834
835
  })), o = l.reduce((i, d) => i.replace(new RegExp(d.key, "g"), d.token), e);
835
836
  return l.reduce((i, d) => i.replace(new RegExp(d.token, "g"), d.val), o);
836
837
  }
837
- function Bn(e, t, a = "params") {
838
+ function jn(e, t, a = "params") {
838
839
  let l = !1;
839
840
  try {
840
841
  e ? l = new Function(a, ...De, `return Boolean(${e})`).call(null, t) : l = !1;
@@ -843,7 +844,7 @@ function Bn(e, t, a = "params") {
843
844
  }
844
845
  return l;
845
846
  }
846
- function jn(e, t, a = "params") {
847
+ function Un(e, t, a = "params") {
847
848
  let l = null;
848
849
  try {
849
850
  e ? l = new Function(a, ...De, `return ${e}`).call(null, t) : l = null;
@@ -858,7 +859,7 @@ function ya(e, t = 1) {
858
859
  let a, l, o;
859
860
  return e.length === 3 && e[0] && e[1] && e[2] ? (a = parseInt(e[0] + e[0], 16), l = parseInt(e[1] + e[1], 16), o = parseInt(e[2] + e[2], 16)) : (a = parseInt(e.substring(0, 2), 16), l = parseInt(e.substring(2, 4), 16), o = parseInt(e.substring(4, 6), 16)), `rgba(${a}, ${l}, ${o}, ${t})`;
860
861
  }
861
- const Un = L({
862
+ const Rn = L({
862
863
  name: "SdCropImageInput",
863
864
  components: {},
864
865
  emits: ["update:modelValue", "change"],
@@ -1023,30 +1024,30 @@ const Un = L({
1023
1024
  e && e.$scale(-1, 1);
1024
1025
  }
1025
1026
  }
1026
- }), Rn = { class: "crop-image" }, zn = {
1027
+ }), zn = { class: "crop-image" }, qn = {
1027
1028
  key: 0,
1028
1029
  class: "crop-preview"
1029
- }, qn = {
1030
+ }, Hn = {
1030
1031
  key: 0,
1031
1032
  class: "preview-actions"
1032
- }, Hn = ["disabled"], xn = ["disabled"], Wn = { key: 0 }, Kn = {
1033
+ }, xn = ["disabled"], Wn = ["disabled"], Kn = { key: 0 }, Gn = {
1033
1034
  role: "heading",
1034
1035
  class: "el-dialog__title"
1035
- }, Gn = {
1036
+ }, Yn = {
1036
1037
  ref: "cropperBox",
1037
1038
  class: "cropper-container"
1038
- }, Yn = { class: "dialog-footer" };
1039
- function Jn(e, t, a, l, o, i) {
1039
+ }, Jn = { class: "dialog-footer" };
1040
+ function Xn(e, t, a, l, o, i) {
1040
1041
  const d = vt, u = Y("delete"), m = Ge, h = Y("Plus"), c = ge, _ = oe, C = Fe;
1041
1042
  return n(), w(E, null, [
1042
- P("ul", Rn, [
1043
- e.priviewDataURL ? (n(), w("li", zn, [
1043
+ P("ul", zn, [
1044
+ e.priviewDataURL ? (n(), w("li", qn, [
1044
1045
  r(d, {
1045
1046
  style: te(`width: ${e.width}px; height: ${e.height}px`),
1046
1047
  src: e.priviewDataURL,
1047
1048
  fit: e.resizeEnable ? "none" : "cover"
1048
1049
  }, null, 8, ["style", "src", "fit"]),
1049
- e.disabled ? g("", !0) : (n(), w("span", qn, [
1050
+ e.disabled ? g("", !0) : (n(), w("span", Hn, [
1050
1051
  e.disabled ? g("", !0) : (n(), w("span", {
1051
1052
  key: 0,
1052
1053
  class: "btn-action",
@@ -1080,10 +1081,10 @@ function Jn(e, t, a, l, o, i) {
1080
1081
  title: "",
1081
1082
  onChange: t[1] || (t[1] = (...b) => e.selectFile && e.selectFile(...b)),
1082
1083
  disabled: e.disabled
1083
- }, null, 40, xn)
1084
- ], 14, Hn))
1084
+ }, null, 40, Wn)
1085
+ ], 14, xn))
1085
1086
  ]),
1086
- e.showPopupFlag ? (n(), w("div", Wn, [
1087
+ e.showPopupFlag ? (n(), w("div", Kn, [
1087
1088
  r(C, {
1088
1089
  title: "Crop Picture",
1089
1090
  modelValue: e.showPopupFlag,
@@ -1098,13 +1099,13 @@ function Jn(e, t, a, l, o, i) {
1098
1099
  "destroy-on-close": !0
1099
1100
  }, {
1100
1101
  header: s(({ close: b, titleId: M, titleClass: f }) => [
1101
- P("span", Kn, [
1102
+ P("span", Gn, [
1102
1103
  r(c, { "icon-name": "crop-input" }),
1103
1104
  t[3] || (t[3] = S(" Crop Picture", -1))
1104
1105
  ])
1105
1106
  ]),
1106
1107
  footer: s(() => [
1107
- P("div", Yn, [
1108
+ P("div", Jn, [
1108
1109
  r(_, {
1109
1110
  plain: "",
1110
1111
  type: "success",
@@ -1159,14 +1160,14 @@ function Jn(e, t, a, l, o, i) {
1159
1160
  ])
1160
1161
  ]),
1161
1162
  default: s(() => [
1162
- P("div", Gn, null, 512)
1163
+ P("div", Yn, null, 512)
1163
1164
  ]),
1164
1165
  _: 1
1165
1166
  }, 8, ["modelValue", "width", "onOpened"])
1166
1167
  ])) : g("", !0)
1167
1168
  ], 64);
1168
1169
  }
1169
- const ng = /* @__PURE__ */ B(Un, [["render", Jn], ["__scopeId", "data-v-e9f44078"]]), Xn = L({
1170
+ const rg = /* @__PURE__ */ B(Rn, [["render", Xn], ["__scopeId", "data-v-e9f44078"]]), Qn = L({
1170
1171
  name: "Menubar",
1171
1172
  components: {},
1172
1173
  props: {
@@ -1193,28 +1194,28 @@ const ng = /* @__PURE__ */ B(Un, [["render", Jn], ["__scopeId", "data-v-e9f44078
1193
1194
  }, []);
1194
1195
  }
1195
1196
  }
1196
- }), Qn = { class: "el-tiptap-editor__menu-bar" };
1197
- function Zn(e, t, a, l, o, i) {
1198
- return n(), w("div", Qn, [
1197
+ }), Zn = { class: "el-tiptap-editor__menu-bar" };
1198
+ function es(e, t, a, l, o, i) {
1199
+ return n(), w("div", Zn, [
1199
1200
  (n(!0), w(E, null, G(e.generateCommandButtonComponentSpecs(), (d, u) => (n(), p(pa(d.component), ae({
1200
1201
  key: "command-button" + u,
1201
1202
  "enable-tooltip": e.enableTooltip
1202
1203
  }, { ref_for: !0 }, d.componentProps, { readonly: e.isCodeViewMode }, Ul(d.componentEvents || {})), null, 16, ["enable-tooltip", "readonly"]))), 128))
1203
1204
  ]);
1204
1205
  }
1205
- const Kl = /* @__PURE__ */ B(Xn, [["render", Zn]]);
1206
- function es() {
1206
+ const Kl = /* @__PURE__ */ B(Qn, [["render", es]]);
1207
+ function ts() {
1207
1208
  }
1208
1209
  function Gl(e, t, a) {
1209
1210
  return e < t ? t : e > a ? a : e;
1210
1211
  }
1211
- function ts(e) {
1212
+ function as(e) {
1212
1213
  const t = new FileReader();
1213
1214
  return new Promise((a, l) => {
1214
1215
  t.onload = (o) => a(o.target.result), t.onerror = l, t.readAsDataURL(e);
1215
1216
  });
1216
1217
  }
1217
- const as = L({
1218
+ const ls = L({
1218
1219
  name: "icon",
1219
1220
  props: {
1220
1221
  name: String
@@ -1225,14 +1226,14 @@ const as = L({
1225
1226
  }
1226
1227
  }
1227
1228
  });
1228
- function ls(e, t, a, l, o, i) {
1229
+ function os(e, t, a, l, o, i) {
1229
1230
  const d = ge;
1230
1231
  return n(), p(d, {
1231
1232
  "icon-name": e.icon,
1232
1233
  class: "text-4"
1233
1234
  }, null, 8, ["icon-name"]);
1234
1235
  }
1235
- const Yl = /* @__PURE__ */ B(as, [["render", ls]]), os = L({
1236
+ const Yl = /* @__PURE__ */ B(ls, [["render", os]]), is = L({
1236
1237
  components: {
1237
1238
  ElTooltip: ai,
1238
1239
  VIcon: Yl
@@ -1256,7 +1257,7 @@ const Yl = /* @__PURE__ */ B(as, [["render", ls]]), os = L({
1256
1257
  },
1257
1258
  command: {
1258
1259
  type: Function,
1259
- default: es
1260
+ default: ts
1260
1261
  },
1261
1262
  readonly: {
1262
1263
  type: Boolean,
@@ -1282,7 +1283,7 @@ const Yl = /* @__PURE__ */ B(as, [["render", ls]]), os = L({
1282
1283
  }
1283
1284
  }
1284
1285
  });
1285
- function is(e, t, a, l, o, i) {
1286
+ function ns(e, t, a, l, o, i) {
1286
1287
  const d = Y("v-icon"), u = Vl;
1287
1288
  return n(), w("div", null, [
1288
1289
  r(u, {
@@ -1306,7 +1307,7 @@ function is(e, t, a, l, o, i) {
1306
1307
  }, 8, ["content", "disabled", "placement"])
1307
1308
  ]);
1308
1309
  }
1309
- const z = /* @__PURE__ */ B(os, [["render", is]]);
1310
+ const z = /* @__PURE__ */ B(is, [["render", ns]]);
1310
1311
  function zt(e) {
1311
1312
  const { selection: t, doc: a } = e, { from: l, to: o } = t;
1312
1313
  let i = !0, d = !1;
@@ -1315,13 +1316,13 @@ function zt(e) {
1315
1316
  return i && (m === "table" || m === "table_row" || m === "table_column" || m === "table_cell") && (i = !1, d = !0), i;
1316
1317
  }), d;
1317
1318
  }
1318
- function ns(e) {
1319
+ function ss(e) {
1319
1320
  return zt(e) && bi(e);
1320
1321
  }
1321
- function ss(e) {
1322
+ function rs(e) {
1322
1323
  return zt(e) && ci(e);
1323
1324
  }
1324
- const rs = L({
1325
+ const ds = L({
1325
1326
  name: "MergeCellCommandButton",
1326
1327
  components: {
1327
1328
  CommandButton: z
@@ -1368,7 +1369,7 @@ const rs = L({
1368
1369
  }
1369
1370
  }
1370
1371
  });
1371
- function ds(e, t, a, l, o, i) {
1372
+ function us(e, t, a, l, o, i) {
1372
1373
  const d = z;
1373
1374
  return n(), w(E, null, [
1374
1375
  r(d, {
@@ -1425,7 +1426,7 @@ function ds(e, t, a, l, o, i) {
1425
1426
  }, null, 8, ["command", "enable-tooltip", "is-active", "tooltip", "readonly"])
1426
1427
  ], 64);
1427
1428
  }
1428
- const Jl = /* @__PURE__ */ B(rs, [["render", ds]]), us = L({
1429
+ const Jl = /* @__PURE__ */ B(ds, [["render", us]]), ps = L({
1429
1430
  name: "MergeCellBubbleMenu",
1430
1431
  components: {
1431
1432
  MergeCellCommandButton: Jl
@@ -1436,14 +1437,14 @@ const Jl = /* @__PURE__ */ B(rs, [["render", ds]]), us = L({
1436
1437
  required: !0
1437
1438
  }
1438
1439
  }
1439
- }), ps = { class: "mergecell-bubble-menu" };
1440
- function ms(e, t, a, l, o, i) {
1440
+ }), ms = { class: "mergecell-bubble-menu" };
1441
+ function fs(e, t, a, l, o, i) {
1441
1442
  const d = Jl;
1442
- return n(), w("div", ps, [
1443
+ return n(), w("div", ms, [
1443
1444
  r(d, { editor: e.editor }, null, 8, ["editor"])
1444
1445
  ]);
1445
1446
  }
1446
- const Xl = /* @__PURE__ */ B(us, [["render", ms]]), fs = L({
1447
+ const Xl = /* @__PURE__ */ B(ps, [["render", fs]]), hs = L({
1447
1448
  name: "UnlinkCommandButton",
1448
1449
  components: {
1449
1450
  CommandButton: z
@@ -1464,7 +1465,7 @@ const Xl = /* @__PURE__ */ B(us, [["render", ms]]), fs = L({
1464
1465
  }
1465
1466
  }
1466
1467
  });
1467
- function hs(e, t, a, l, o, i) {
1468
+ function cs(e, t, a, l, o, i) {
1468
1469
  const d = z;
1469
1470
  return n(), p(d, {
1470
1471
  command: e.unlink,
@@ -1473,7 +1474,7 @@ function hs(e, t, a, l, o, i) {
1473
1474
  icon: "unlink"
1474
1475
  }, null, 8, ["command", "enable-tooltip", "tooltip"]);
1475
1476
  }
1476
- const Ql = /* @__PURE__ */ B(fs, [["render", hs]]), cs = L({
1477
+ const Ql = /* @__PURE__ */ B(hs, [["render", cs]]), bs = L({
1477
1478
  name: "EditLinkCommandButton",
1478
1479
  components: {
1479
1480
  ElDialog: $t,
@@ -1528,7 +1529,7 @@ const Ql = /* @__PURE__ */ B(fs, [["render", hs]]), cs = L({
1528
1529
  }
1529
1530
  }
1530
1531
  });
1531
- function bs(e, t, a, l, o, i) {
1532
+ function gs(e, t, a, l, o, i) {
1532
1533
  const d = z, u = $e, m = pt, h = ut, c = oe, _ = Fe;
1533
1534
  return n(), w("div", null, [
1534
1535
  r(d, {
@@ -1595,7 +1596,7 @@ function bs(e, t, a, l, o, i) {
1595
1596
  }, 8, ["title", "modelValue", "width"])
1596
1597
  ]);
1597
1598
  }
1598
- const Zl = /* @__PURE__ */ B(cs, [["render", bs]]), gs = L({
1599
+ const Zl = /* @__PURE__ */ B(bs, [["render", gs]]), ys = L({
1599
1600
  name: "OpenLinkCommandButton",
1600
1601
  components: {
1601
1602
  CommandButton: z
@@ -1623,7 +1624,7 @@ const Zl = /* @__PURE__ */ B(cs, [["render", bs]]), gs = L({
1623
1624
  }
1624
1625
  }
1625
1626
  });
1626
- function ys(e, t, a, l, o, i) {
1627
+ function vs(e, t, a, l, o, i) {
1627
1628
  const d = z;
1628
1629
  return n(), p(d, {
1629
1630
  command: e.openLink,
@@ -1632,7 +1633,7 @@ function ys(e, t, a, l, o, i) {
1632
1633
  icon: "external-link"
1633
1634
  }, null, 8, ["command", "enable-tooltip", "tooltip"]);
1634
1635
  }
1635
- const eo = /* @__PURE__ */ B(gs, [["render", ys]]), vs = L({
1636
+ const eo = /* @__PURE__ */ B(ys, [["render", vs]]), ws = L({
1636
1637
  name: "LinkBubbleMenu",
1637
1638
  components: {
1638
1639
  OpenLinkCommandButton: eo,
@@ -1650,10 +1651,10 @@ const eo = /* @__PURE__ */ B(gs, [["render", ys]]), vs = L({
1650
1651
  return this.editor.getAttributes("link");
1651
1652
  }
1652
1653
  }
1653
- }), ws = { class: "link-bubble-menu" };
1654
- function Fs(e, t, a, l, o, i) {
1654
+ }), Fs = { class: "link-bubble-menu" };
1655
+ function _s(e, t, a, l, o, i) {
1655
1656
  const d = eo, u = Zl, m = Ql;
1656
- return n(), w("div", ws, [
1657
+ return n(), w("div", Fs, [
1657
1658
  fe(e.$slots, "prepend"),
1658
1659
  r(d, {
1659
1660
  editor: e.editor,
@@ -1666,7 +1667,7 @@ function Fs(e, t, a, l, o, i) {
1666
1667
  r(m, { editor: e.editor }, null, 8, ["editor"])
1667
1668
  ]);
1668
1669
  }
1669
- const to = /* @__PURE__ */ B(vs, [["render", Fs]]), _s = L({
1670
+ const to = /* @__PURE__ */ B(ws, [["render", _s]]), Ss = L({
1670
1671
  name: "MenuBubble",
1671
1672
  components: {
1672
1673
  BubbleMenu: pi,
@@ -1759,10 +1760,10 @@ const to = /* @__PURE__ */ B(vs, [["render", Fs]]), _s = L({
1759
1760
  return this.isLinkSelection ? "link" : this.editor.state.selection instanceof gi ? "cell" : (this.editor.state.selection instanceof ba || this.editor.state.selection instanceof Ea) && !this.activeImage ? "default" : "none";
1760
1761
  }
1761
1762
  }
1762
- }), Ss = { ref: "parentRef" }, ks = { class: "el-tiptap-editor__menu-floating" };
1763
- function Cs(e, t, a, l, o, i) {
1763
+ }), ks = { ref: "parentRef" }, Cs = { class: "el-tiptap-editor__menu-floating" };
1764
+ function Ds(e, t, a, l, o, i) {
1764
1765
  const d = Y("v-icon"), u = to, m = Xl, h = Y("bubble-menu"), c = z, _ = ia, C = Y("floating-menu");
1765
- return n(), w("div", Ss, [
1766
+ return n(), w("div", ks, [
1766
1767
  e.editor ? (n(), p(h, {
1767
1768
  key: 0,
1768
1769
  editor: e.editor,
@@ -1810,7 +1811,7 @@ function Cs(e, t, a, l, o, i) {
1810
1811
  "should-show": ({ editor: b, view: M, state: f, oldState: y }) => f.selection.$anchor.parentOffset == f.selection.$head.parentOffset && f.selection.$head.parentOffset == 0 && b.isActive("paragraph") && b.isActive("table")
1811
1812
  }, {
1812
1813
  default: s(() => [
1813
- P("div", ks, [
1814
+ P("div", Cs, [
1814
1815
  r(c, {
1815
1816
  command: e.editor.commands.addColumnAfter,
1816
1817
  "enable-tooltip": e.enableTooltip,
@@ -1866,7 +1867,7 @@ function Cs(e, t, a, l, o, i) {
1866
1867
  }, 8, ["editor", "tippy-options", "should-show"])) : g("", !0)
1867
1868
  ], 512);
1868
1869
  }
1869
- const ao = /* @__PURE__ */ B(_s, [["render", Cs]]), Ds = {
1870
+ const ao = /* @__PURE__ */ B(Ss, [["render", Ds]]), Is = {
1870
1871
  editor: {
1871
1872
  extensions: {
1872
1873
  Bold: {
@@ -2080,18 +2081,18 @@ const ao = /* @__PURE__ */ B(_s, [["render", Cs]]), Ds = {
2080
2081
  characters: "Characters"
2081
2082
  }
2082
2083
  }, ll = {
2083
- buildI18nHandler(e = Ds) {
2084
+ buildI18nHandler(e = Is) {
2084
2085
  return function(a) {
2085
2086
  return a.split(".").reduce((o, i) => o[i], e);
2086
2087
  };
2087
2088
  }
2088
2089
  };
2089
- function Is(e) {
2090
+ function $s(e) {
2090
2091
  return {
2091
2092
  characters: le(() => e.value?.storage.characterCount.characters())
2092
2093
  };
2093
2094
  }
2094
- function $s(e) {
2095
+ function Ts(e) {
2095
2096
  let t;
2096
2097
  const a = K(), l = K(!1), o = (h) => {
2097
2098
  l.value = h;
@@ -2143,7 +2144,7 @@ function $s(e) {
2143
2144
  };
2144
2145
  }
2145
2146
  const ol = "px";
2146
- function Ts({
2147
+ function Ms({
2147
2148
  width: e,
2148
2149
  height: t
2149
2150
  }) {
@@ -2152,7 +2153,7 @@ function Ts({
2152
2153
  height: isNaN(Number(t)) ? t : `${t}${ol}`
2153
2154
  }];
2154
2155
  }
2155
- const Ms = L({
2156
+ const Ps = L({
2156
2157
  name: "ElementTiptap",
2157
2158
  emits: ["update:modelValue", "update:content", "onUpdate", "change", "onCreate", "onTransaction", "onBlur", "onFocus", "onDestroy"],
2158
2159
  components: {
@@ -2263,7 +2264,7 @@ const Ms = L({
2263
2264
  },
2264
2265
  computed: {
2265
2266
  editorStyle() {
2266
- return Ts({
2267
+ return Ms({
2267
2268
  width: this.width,
2268
2269
  height: this.height || void 0
2269
2270
  });
@@ -2323,9 +2324,9 @@ const Ms = L({
2323
2324
  h.value = f;
2324
2325
  };
2325
2326
  xe("isFullscreen", h), xe("toggleFullscreen", c), xe("enableTooltip", e.tooltip), xe("userState", e.userState);
2326
- const { isCodeViewMode: _, aceAreaRef: C } = $s(d);
2327
+ const { isCodeViewMode: _, aceAreaRef: C } = Ts(d);
2327
2328
  xe("isCodeViewMode", _);
2328
- const { characters: b } = Is(d), M = le(() => e.enableCharCount && !pe(_));
2329
+ const { characters: b } = $s(d), M = le(() => e.enableCharCount && !pe(_));
2329
2330
  return xe("t", m), xe("et", this), {
2330
2331
  t: m,
2331
2332
  onUpdate: i,
@@ -2339,11 +2340,11 @@ const Ms = L({
2339
2340
  aceAreaRef: C
2340
2341
  };
2341
2342
  }
2342
- }), Ps = {
2343
+ }), Vs = {
2343
2344
  ref: "aceAreaRef",
2344
2345
  style: { "min-height": "400px", width: "100%" }
2345
- }, Vs = { class: "el-tiptap-editor__characters" };
2346
- function As(e, t, a, l, o, i) {
2346
+ }, As = { class: "el-tiptap-editor__characters" };
2347
+ function Os(e, t, a, l, o, i) {
2347
2348
  const d = ao, u = Kl, m = Y("editor-content");
2348
2349
  return e.editor ? (n(), w("div", {
2349
2350
  key: 0,
@@ -2374,7 +2375,7 @@ function As(e, t, a, l, o, i) {
2374
2375
  "border-bottom-radius": e.isCodeViewMode
2375
2376
  })
2376
2377
  }, [
2377
- P("div", Ps, null, 512)
2378
+ P("div", Vs, null, 512)
2378
2379
  ], 2)) : g("", !0),
2379
2380
  Ve(r(m, {
2380
2381
  editor: e.editor,
@@ -2397,11 +2398,11 @@ function As(e, t, a, l, o, i) {
2397
2398
  e.editorFooterClass
2398
2399
  ])
2399
2400
  }, [
2400
- P("span", Vs, O(e.t("editor.characters")) + ": " + O(e.characters) + " " + O(e.countMax ? `/ ${e.countMax}` : ""), 1)
2401
+ P("span", As, O(e.t("editor.characters")) + ": " + O(e.characters) + " " + O(e.countMax ? `/ ${e.countMax}` : ""), 1)
2401
2402
  ], 2)) : g("", !0)
2402
2403
  ], 6)) : g("", !0);
2403
2404
  }
2404
- const Os = /* @__PURE__ */ B(Ms, [["render", As]]), Ns = ot.create({
2405
+ const Ns = /* @__PURE__ */ B(Ps, [["render", Os]]), Es = ot.create({
2405
2406
  name: "title",
2406
2407
  // schema
2407
2408
  content: "inline*",
@@ -2427,9 +2428,9 @@ const Os = /* @__PURE__ */ B(Ms, [["render", As]]), Ns = ot.create({
2427
2428
  return this.options.title ? "title block+" : "block+";
2428
2429
  },
2429
2430
  addExtensions() {
2430
- return this.options.title ? [Ns] : [];
2431
+ return this.options.title ? [Es] : [];
2431
2432
  }
2432
- }), Es = L({
2433
+ }), Ls = L({
2433
2434
  name: "HeadingDropdown",
2434
2435
  components: {
2435
2436
  ElDropdown: ha,
@@ -2457,8 +2458,8 @@ const Os = /* @__PURE__ */ B(Ms, [["render", As]]), Ns = ot.create({
2457
2458
  e > 0 ? t.toggleHeading({ level: e }) : t.setParagraph();
2458
2459
  }
2459
2460
  }
2460
- }), Ls = { key: 1 };
2461
- function Bs(e, t, a, l, o, i) {
2461
+ }), Bs = { key: 1 };
2462
+ function js(e, t, a, l, o, i) {
2462
2463
  const d = z, u = _t, m = Ft, h = wt;
2463
2464
  return n(), p(h, {
2464
2465
  disabled: e.isCodeViewMode,
@@ -2494,7 +2495,7 @@ function Bs(e, t, a, l, o, i) {
2494
2495
  S(O(e.t("editor.extensions.Heading.buttons.heading")) + " " + O(c), 1)
2495
2496
  ]),
2496
2497
  _: 2
2497
- }, 1024)) : (n(), w("span", Ls, O(e.t("editor.extensions.Heading.buttons.paragraph")), 1))
2498
+ }, 1024)) : (n(), w("span", Bs, O(e.t("editor.extensions.Heading.buttons.paragraph")), 1))
2498
2499
  ]),
2499
2500
  _: 2
2500
2501
  }, 1032, ["command", "class"]))), 128))
@@ -2516,13 +2517,13 @@ function Bs(e, t, a, l, o, i) {
2516
2517
  _: 1
2517
2518
  }, 8, ["disabled", "onCommand"]);
2518
2519
  }
2519
- const js = /* @__PURE__ */ B(Es, [["render", Bs]]), nl = _i.extend({
2520
+ const Us = /* @__PURE__ */ B(Ls, [["render", js]]), nl = _i.extend({
2520
2521
  addOptions() {
2521
2522
  return {
2522
2523
  ...this.parent?.(),
2523
2524
  button({ editor: e, extension: t }) {
2524
2525
  return {
2525
- component: js,
2526
+ component: Us,
2526
2527
  componentProps: {
2527
2528
  levels: t.options.levels,
2528
2529
  editor: e
@@ -2531,7 +2532,7 @@ const js = /* @__PURE__ */ B(Es, [["render", Bs]]), nl = _i.extend({
2531
2532
  }
2532
2533
  };
2533
2534
  }
2534
- }), Us = Si.extend({
2535
+ }), Rs = Si.extend({
2535
2536
  addOptions() {
2536
2537
  return {
2537
2538
  ...this.parent?.(),
@@ -2576,7 +2577,7 @@ qt.register("html", Pi);
2576
2577
  qt.register("css", $i);
2577
2578
  qt.register("js", Ti);
2578
2579
  qt.register("ts", Mi);
2579
- const Rs = Ci.extend({
2580
+ const zs = Ci.extend({
2580
2581
  addOptions() {
2581
2582
  return {
2582
2583
  ...this.parent?.(),
@@ -2642,10 +2643,10 @@ const Rs = Ci.extend({
2642
2643
  addExtensions() {
2643
2644
  return [ti];
2644
2645
  }
2645
- }), zs = { class: "mb-2" }, qs = {
2646
+ }), qs = { class: "mb-2" }, Hs = {
2646
2647
  class: "ml-2 text-3",
2647
2648
  style: { "padding-bottom": "10px" }
2648
- }, Hs = ["src"], xs = { class: "el-upload-list__item-actions" }, Ws = ["onClick"], Ks = ["onClick"], Gs = /* @__PURE__ */ L({
2649
+ }, xs = ["src"], Ws = { class: "el-upload-list__item-actions" }, Ks = ["onClick"], Gs = ["onClick"], Ys = /* @__PURE__ */ L({
2649
2650
  __name: "SdGallery",
2650
2651
  props: {
2651
2652
  uploadType: String,
@@ -2743,14 +2744,14 @@ const Rs = Ci.extend({
2743
2744
  return (F, I) => {
2744
2745
  const V = oe, T = Y("Plus"), H = Ge, Z = vt, x = Y("zoom-in"), Ne = Y("Delete"), Be = Ma, et = na;
2745
2746
  return n(), w(E, null, [
2746
- P("div", zs, [
2747
+ P("div", qs, [
2747
2748
  r(V, {
2748
2749
  type: "info",
2749
2750
  plain: "",
2750
2751
  icon: "Refresh",
2751
2752
  onClick: f
2752
2753
  }),
2753
- P("span", qs, "Showing " + O(C.value) + "-" + O(b.value) + " of " + O(_.value) + " items.", 1)
2754
+ P("span", Hs, "Showing " + O(C.value) + "-" + O(b.value) + " of " + O(_.value) + " items.", 1)
2754
2755
  ]),
2755
2756
  r(Be, {
2756
2757
  class: "avatar-uploader",
@@ -2773,7 +2774,7 @@ const Rs = Ci.extend({
2773
2774
  class: "el-upload-list__item-thumbnail",
2774
2775
  src: Me.url,
2775
2776
  alt: ""
2776
- }, null, 8, Hs),
2777
+ }, null, 8, xs),
2777
2778
  r(Z, {
2778
2779
  ref_key: "imageRef",
2779
2780
  ref: o,
@@ -2784,7 +2785,7 @@ const Rs = Ci.extend({
2784
2785
  fit: "cover",
2785
2786
  "preview-teleported": ""
2786
2787
  }, null, 8, ["src", "preview-src-list", "initial-index"]),
2787
- P("span", xs, [
2788
+ P("span", Ws, [
2788
2789
  fe(F.$slots, "action", { file: Me }, void 0, !0),
2789
2790
  P("span", {
2790
2791
  class: "el-upload-list__item-preview",
@@ -2796,7 +2797,7 @@ const Rs = Ci.extend({
2796
2797
  ]),
2797
2798
  _: 1
2798
2799
  })
2799
- ], 8, Ws),
2800
+ ], 8, Ks),
2800
2801
  e.readonly ? g("", !0) : (n(), w("span", {
2801
2802
  key: 0,
2802
2803
  class: "el-upload-list__item-delete",
@@ -2808,7 +2809,7 @@ const Rs = Ci.extend({
2808
2809
  ]),
2809
2810
  _: 1
2810
2811
  })
2811
- ], 8, Ks))
2812
+ ], 8, Gs))
2812
2813
  ])
2813
2814
  ])
2814
2815
  ]),
@@ -2836,8 +2837,8 @@ const Rs = Ci.extend({
2836
2837
  ], 64);
2837
2838
  };
2838
2839
  }
2839
- }), Ys = /* @__PURE__ */ B(Gs, [["__scopeId", "data-v-b25f6961"]]), Da = {};
2840
- function Js(e) {
2840
+ }), Js = /* @__PURE__ */ B(Ys, [["__scopeId", "data-v-b25f6961"]]), Da = {};
2841
+ function Xs(e) {
2841
2842
  return new Promise((t, a) => {
2842
2843
  const l = {
2843
2844
  complete: !1,
@@ -2862,7 +2863,7 @@ function Js(e) {
2862
2863
  });
2863
2864
  }
2864
2865
  var Le = /* @__PURE__ */ ((e) => (e.INLINE = "inline", e.BREAK_TEXT = "block", e.FLOAT_LEFT = "left", e.FLOAT_RIGHT = "right", e))(Le || {});
2865
- const dl = "[Element-Tiptap Tip]", Xs = /(https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|www\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9]+\.[^\s]{2,}|www\.[a-zA-Z0-9]+\.[^\s]{2,})/, Qs = 200, Zs = Le.INLINE, lo = 1.7, la = "100%";
2866
+ const dl = "[Element-Tiptap Tip]", Qs = /(https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|www\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9]+\.[^\s]{2,}|www\.[a-zA-Z0-9]+\.[^\s]{2,})/, Zs = 200, er = Le.INLINE, lo = 1.7, la = "100%";
2866
2867
  class oo {
2867
2868
  static warn(t) {
2868
2869
  console.warn(`${dl} ${t}`);
@@ -2871,7 +2872,7 @@ class oo {
2871
2872
  console.error(`${dl} ${t}`);
2872
2873
  }
2873
2874
  }
2874
- const er = L({
2875
+ const tr = L({
2875
2876
  name: "ImageCommandButton",
2876
2877
  components: {
2877
2878
  ElDialog: $t,
@@ -2931,7 +2932,7 @@ const er = L({
2931
2932
  });
2932
2933
  try {
2933
2934
  let o = this.editor.commands;
2934
- const i = await (a ? a(t) : ts(t));
2935
+ const i = await (a ? a(t) : as(t));
2935
2936
  o.setImage({ src: i }), this.imageUploadDialogVisible = !1;
2936
2937
  } catch (o) {
2937
2938
  oo.error(String(o));
@@ -2942,9 +2943,9 @@ const er = L({
2942
2943
  }
2943
2944
  }
2944
2945
  }
2945
- }), tr = { class: "el-tiptap-popper__menu" }, ar = ["onClick"];
2946
- function lr(e, t, a, l, o, i) {
2947
- const d = z, u = Ye, m = Y("CircleCheck"), h = Ge, c = Ys, _ = Fe;
2946
+ }), ar = { class: "el-tiptap-popper__menu" }, lr = ["onClick"];
2947
+ function or(e, t, a, l, o, i) {
2948
+ const d = z, u = Ye, m = Y("CircleCheck"), h = Ge, c = Js, _ = Fe;
2948
2949
  return n(), w("div", null, [
2949
2950
  r(u, {
2950
2951
  disabled: e.isCodeViewMode,
@@ -2963,7 +2964,7 @@ function lr(e, t, a, l, o, i) {
2963
2964
  ])
2964
2965
  ]),
2965
2966
  default: s(() => [
2966
- P("div", tr, [
2967
+ P("div", ar, [
2967
2968
  P("div", {
2968
2969
  class: "el-tiptap-popper__menu__item",
2969
2970
  onClick: t[0] || (t[0] = (...C) => e.openUrlPrompt && e.openUrlPrompt(...C))
@@ -3005,7 +3006,7 @@ function lr(e, t, a, l, o, i) {
3005
3006
  ]),
3006
3007
  _: 1
3007
3008
  })
3008
- ], 8, ar)) : g("", !0)
3009
+ ], 8, lr)) : g("", !0)
3009
3010
  ]),
3010
3011
  _: 1
3011
3012
  }, 8, ["readonly", "user-state"])
@@ -3014,7 +3015,7 @@ function lr(e, t, a, l, o, i) {
3014
3015
  }, 8, ["modelValue", "title", "width"])
3015
3016
  ]);
3016
3017
  }
3017
- const or = /* @__PURE__ */ B(er, [["render", lr]]), ir = L({
3018
+ const ir = /* @__PURE__ */ B(tr, [["render", or]]), nr = L({
3018
3019
  name: "RemoveImageCommandButton",
3019
3020
  components: {
3020
3021
  CommandButton: z
@@ -3033,7 +3034,7 @@ const or = /* @__PURE__ */ B(er, [["render", lr]]), ir = L({
3033
3034
  }
3034
3035
  }
3035
3036
  });
3036
- function nr(e, t, a, l, o, i) {
3037
+ function sr(e, t, a, l, o, i) {
3037
3038
  const d = z;
3038
3039
  return n(), p(d, {
3039
3040
  command: e.removeImage,
@@ -3042,7 +3043,7 @@ function nr(e, t, a, l, o, i) {
3042
3043
  icon: "trash-alt"
3043
3044
  }, null, 8, ["command", "enable-tooltip", "tooltip"]);
3044
3045
  }
3045
- const io = /* @__PURE__ */ B(ir, [["render", nr]]), sr = L({
3046
+ const io = /* @__PURE__ */ B(nr, [["render", sr]]), rr = L({
3046
3047
  components: {
3047
3048
  ElDialog: $t,
3048
3049
  ElForm: Ut,
@@ -3102,7 +3103,7 @@ const io = /* @__PURE__ */ B(ir, [["render", nr]]), sr = L({
3102
3103
  }
3103
3104
  }
3104
3105
  });
3105
- function rr(e, t, a, l, o, i) {
3106
+ function dr(e, t, a, l, o, i) {
3106
3107
  const d = z, u = $e, m = pt, h = lt, c = ut, _ = oe, C = Fe;
3107
3108
  return n(), w("div", null, [
3108
3109
  r(d, {
@@ -3221,7 +3222,7 @@ function rr(e, t, a, l, o, i) {
3221
3222
  }, 8, ["modelValue", "title", "width", "onOpen"])
3222
3223
  ]);
3223
3224
  }
3224
- const no = /* @__PURE__ */ B(sr, [["render", rr]]), dr = L({
3225
+ const no = /* @__PURE__ */ B(rr, [["render", dr]]), ur = L({
3225
3226
  name: "ImageDisplayCommandButton",
3226
3227
  components: {
3227
3228
  ElPopover: ht,
@@ -3250,8 +3251,8 @@ const no = /* @__PURE__ */ B(sr, [["render", rr]]), dr = L({
3250
3251
  this.popoverRef.hide();
3251
3252
  }
3252
3253
  }
3253
- }), ur = { class: "el-tiptap-popper__menu" }, pr = ["onClick"];
3254
- function mr(e, t, a, l, o, i) {
3254
+ }), pr = { class: "el-tiptap-popper__menu" }, mr = ["onClick"];
3255
+ function fr(e, t, a, l, o, i) {
3255
3256
  const d = z, u = Ye;
3256
3257
  return n(), p(u, {
3257
3258
  placement: "top",
@@ -3269,7 +3270,7 @@ function mr(e, t, a, l, o, i) {
3269
3270
  ])
3270
3271
  ]),
3271
3272
  default: s(() => [
3272
- P("div", ur, [
3273
+ P("div", pr, [
3273
3274
  (n(!0), w(E, null, G(e.displayCollection, (m) => (n(), w("div", {
3274
3275
  key: m,
3275
3276
  class: X([{
@@ -3279,13 +3280,13 @@ function mr(e, t, a, l, o, i) {
3279
3280
  onClick: (h) => e.updateAttrs({ display: m })
3280
3281
  }, [
3281
3282
  P("span", null, O(e.t(`editor.extensions.Image.buttons.display.${m}`)), 1)
3282
- ], 42, pr))), 128))
3283
+ ], 42, mr))), 128))
3283
3284
  ])
3284
3285
  ]),
3285
3286
  _: 1
3286
3287
  }, 512);
3287
3288
  }
3288
- const so = /* @__PURE__ */ B(dr, [["render", mr]]), fr = L({
3289
+ const so = /* @__PURE__ */ B(ur, [["render", fr]]), hr = L({
3289
3290
  components: {
3290
3291
  ImageDisplayCommandButton: so,
3291
3292
  EditImageCommandButton: no,
@@ -3300,10 +3301,10 @@ const so = /* @__PURE__ */ B(dr, [["render", mr]]), fr = L({
3300
3301
  node: we.node,
3301
3302
  updateAttrs: we.updateAttributes
3302
3303
  }
3303
- }), hr = { class: "image-bubble-menu" };
3304
- function cr(e, t, a, l, o, i) {
3304
+ }), cr = { class: "image-bubble-menu" };
3305
+ function br(e, t, a, l, o, i) {
3305
3306
  const d = so, u = no, m = io;
3306
- return n(), w("div", hr, [
3307
+ return n(), w("div", cr, [
3307
3308
  r(d, {
3308
3309
  node: e.node,
3309
3310
  "update-attrs": e.updateAttrs
@@ -3318,7 +3319,7 @@ function cr(e, t, a, l, o, i) {
3318
3319
  }, null, 8, ["node", "editor"])
3319
3320
  ]);
3320
3321
  }
3321
- const ro = /* @__PURE__ */ B(fr, [["render", cr]]), Zt = 20, ul = 1e5, br = L({
3322
+ const ro = /* @__PURE__ */ B(hr, [["render", br]]), Zt = 20, ul = 1e5, gr = L({
3322
3323
  name: "ImageView",
3323
3324
  components: {
3324
3325
  ElPopover: ht,
@@ -3372,7 +3373,7 @@ const ro = /* @__PURE__ */ B(fr, [["render", cr]]), Zt = 20, ul = 1e5, br = L({
3372
3373
  }
3373
3374
  },
3374
3375
  async created() {
3375
- const e = await Js(this.src);
3376
+ const e = await Xs(this.src);
3376
3377
  e.complete || (e.width = Zt, e.height = Zt), this.originalSize = {
3377
3378
  width: e.width,
3378
3379
  height: e.height
@@ -3427,11 +3428,11 @@ const ro = /* @__PURE__ */ B(fr, [["render", cr]]), Zt = 20, ul = 1e5, br = L({
3427
3428
  document.removeEventListener("mousemove", this.onMouseMove, !0), document.removeEventListener("mouseup", this.onMouseUp, !0);
3428
3429
  }
3429
3430
  }
3430
- }), gr = ["src", "title", "alt", "width", "height"], yr = {
3431
+ }), yr = ["src", "title", "alt", "width", "height"], vr = {
3431
3432
  key: 0,
3432
3433
  class: "image-resizer"
3433
- }, vr = ["onMousedown"];
3434
- function wr(e, t, a, l, o, i) {
3434
+ }, wr = ["onMousedown"];
3435
+ function Fr(e, t, a, l, o, i) {
3435
3436
  const d = ro, u = Ye, m = Y("node-view-wrapper");
3436
3437
  return n(), p(m, {
3437
3438
  as: "span",
@@ -3454,13 +3455,13 @@ function wr(e, t, a, l, o, i) {
3454
3455
  height: e.height,
3455
3456
  class: "image-view__body__image",
3456
3457
  onClick: t[0] || (t[0] = (...h) => e.selectImage && e.selectImage(...h))
3457
- }, null, 8, gr),
3458
- e.editor?.isEditable ? Ve((n(), w("div", yr, [
3458
+ }, null, 8, yr),
3459
+ e.editor?.isEditable ? Ve((n(), w("div", vr, [
3459
3460
  (n(!0), w(E, null, G(e.resizeDirections, (h) => (n(), w("span", {
3460
3461
  key: h,
3461
3462
  class: X([`image-resizer__handler--${h}`, "image-resizer__handler"]),
3462
3463
  onMousedown: (c) => e.onMouseDown(c, h)
3463
- }, null, 42, vr))), 128))
3464
+ }, null, 42, wr))), 128))
3464
3465
  ], 512)), [
3465
3466
  [Rl, e.selected || e.resizing]
3466
3467
  ]) : g("", !0),
@@ -3488,7 +3489,7 @@ function wr(e, t, a, l, o, i) {
3488
3489
  _: 1
3489
3490
  }, 8, ["class"]);
3490
3491
  }
3491
- const Fr = /* @__PURE__ */ B(br, [["render", wr]]), _r = Oi.extend({
3492
+ const _r = /* @__PURE__ */ B(gr, [["render", Fr]]), Sr = Oi.extend({
3492
3493
  // https://github.com/ueberdosis/tiptap/issues/1206
3493
3494
  inline() {
3494
3495
  return !0;
@@ -3500,7 +3501,7 @@ const Fr = /* @__PURE__ */ B(br, [["render", wr]]), _r = Oi.extend({
3500
3501
  return {
3501
3502
  ...this.parent?.(),
3502
3503
  width: {
3503
- default: Qs,
3504
+ default: Zs,
3504
3505
  parseHTML: (e) => {
3505
3506
  const t = e.style.width || e.getAttribute("width") || null;
3506
3507
  return t == null ? null : parseInt(t, 10);
@@ -3520,7 +3521,7 @@ const Fr = /* @__PURE__ */ B(br, [["render", wr]]), _r = Oi.extend({
3520
3521
  })
3521
3522
  },
3522
3523
  display: {
3523
- default: Zs,
3524
+ default: er,
3524
3525
  parseHTML: (e) => {
3525
3526
  const { cssFloat: t, display: a } = e.style;
3526
3527
  let l = e.getAttribute("data-display") || e.getAttribute("display");
@@ -3537,10 +3538,10 @@ const Fr = /* @__PURE__ */ B(br, [["render", wr]]), _r = Oi.extend({
3537
3538
  ...this.parent?.(),
3538
3539
  inline: !0,
3539
3540
  uploadRequest: null,
3540
- urlPattern: Xs,
3541
+ urlPattern: Qs,
3541
3542
  button({ editor: e }) {
3542
3543
  return {
3543
- component: or,
3544
+ component: ir,
3544
3545
  componentProps: {
3545
3546
  editor: e
3546
3547
  }
@@ -3550,7 +3551,7 @@ const Fr = /* @__PURE__ */ B(br, [["render", wr]]), _r = Oi.extend({
3550
3551
  },
3551
3552
  draggable: !0,
3552
3553
  addNodeView() {
3553
- return it(Fr);
3554
+ return it(_r);
3554
3555
  },
3555
3556
  parseHTML() {
3556
3557
  return [
@@ -3562,7 +3563,7 @@ const Fr = /* @__PURE__ */ B(br, [["render", wr]]), _r = Oi.extend({
3562
3563
  // addExtensions() {
3563
3564
  // return [Gapcursor, Dropcursor];
3564
3565
  // },
3565
- }), Sr = L({
3566
+ }), kr = L({
3566
3567
  name: "TaskItemView",
3567
3568
  components: {
3568
3569
  NodeViewWrapper: Qe,
@@ -3582,8 +3583,8 @@ const Fr = /* @__PURE__ */ B(br, [["render", wr]]), _r = Oi.extend({
3582
3583
  }
3583
3584
  }
3584
3585
  }
3585
- }), kr = ["data-type", "data-done"], Cr = { contenteditable: "false" };
3586
- function Dr(e, t, a, l, o, i) {
3586
+ }), Cr = ["data-type", "data-done"], Dr = { contenteditable: "false" };
3587
+ function Ir(e, t, a, l, o, i) {
3587
3588
  const d = sa, u = Y("node-view-content"), m = Y("node-view-wrapper");
3588
3589
  return n(), p(m, { class: "task-item-wrapper" }, {
3589
3590
  default: s(() => [
@@ -3592,19 +3593,19 @@ function Dr(e, t, a, l, o, i) {
3592
3593
  "data-done": e.done.toString(),
3593
3594
  "data-drag-handle": ""
3594
3595
  }, [
3595
- P("span", Cr, [
3596
+ P("span", Dr, [
3596
3597
  r(d, {
3597
3598
  modelValue: e.done,
3598
3599
  "onUpdate:modelValue": t[0] || (t[0] = (h) => e.done = h)
3599
3600
  }, null, 8, ["modelValue"])
3600
3601
  ]),
3601
3602
  r(u, { class: "todo-content" })
3602
- ], 8, kr)
3603
+ ], 8, Cr)
3603
3604
  ]),
3604
3605
  _: 1
3605
3606
  });
3606
3607
  }
3607
- const Ir = /* @__PURE__ */ B(Sr, [["render", Dr]]), $r = Ei.extend({
3608
+ const $r = /* @__PURE__ */ B(kr, [["render", Ir]]), Tr = Ei.extend({
3608
3609
  addAttributes() {
3609
3610
  return {
3610
3611
  ...this.parent?.(),
@@ -3640,9 +3641,9 @@ const Ir = /* @__PURE__ */ B(Sr, [["render", Dr]]), $r = Ei.extend({
3640
3641
  ];
3641
3642
  },
3642
3643
  addNodeView() {
3643
- return it(Ir);
3644
+ return it($r);
3644
3645
  }
3645
- }), Tr = Ni.extend({
3646
+ }), Mr = Ni.extend({
3646
3647
  addOptions() {
3647
3648
  return {
3648
3649
  ...this.parent?.(),
@@ -3662,9 +3663,9 @@ const Ir = /* @__PURE__ */ B(Sr, [["render", Dr]]), $r = Ei.extend({
3662
3663
  };
3663
3664
  },
3664
3665
  addExtensions() {
3665
- return [$r];
3666
+ return [Tr];
3666
3667
  }
3667
- }), ea = 5, pl = 10, ta = 2, Mr = L({
3668
+ }), ea = 5, pl = 10, ta = 2, Pr = L({
3668
3669
  name: "CreateTablePopover",
3669
3670
  components: {
3670
3671
  ElPopover: ht
@@ -3701,8 +3702,8 @@ const Ir = /* @__PURE__ */ B(Sr, [["render", Dr]]), $r = Ei.extend({
3701
3702
  };
3702
3703
  }
3703
3704
  }
3704
- }), Pr = { class: "table-grid-size-editor" }, Vr = { class: "table-grid-size-editor__body" }, Ar = ["onMouseover", "onMousedown"], Or = { class: "table-grid-size-editor__footer" }, Nr = { style: { width: "100%" } }, Er = { style: { padding: "5px 20px" } };
3705
- function Lr(e, t, a, l, o, i) {
3705
+ }), Vr = { class: "table-grid-size-editor" }, Ar = { class: "table-grid-size-editor__body" }, Or = ["onMouseover", "onMousedown"], Nr = { class: "table-grid-size-editor__footer" }, Er = { style: { width: "100%" } }, Lr = { style: { padding: "5px 20px" } };
3706
+ function Br(e, t, a, l, o, i) {
3706
3707
  const d = Ye;
3707
3708
  return n(), p(d, {
3708
3709
  ref: "popoverRef",
@@ -3714,13 +3715,13 @@ function Lr(e, t, a, l, o, i) {
3714
3715
  onAfterLeave: e.resetTableGridSize
3715
3716
  }, {
3716
3717
  reference: s(() => [
3717
- P("div", Nr, [
3718
- P("div", Er, O(e.t("editor.extensions.Table.buttons.insert_table")), 1)
3718
+ P("div", Er, [
3719
+ P("div", Lr, O(e.t("editor.extensions.Table.buttons.insert_table")), 1)
3719
3720
  ])
3720
3721
  ]),
3721
3722
  default: s(() => [
3722
- P("div", Pr, [
3723
- P("div", Vr, [
3723
+ P("div", Vr, [
3724
+ P("div", Ar, [
3724
3725
  (n(!0), w(E, null, G(e.tableGridSize.row, (u) => (n(), w("div", {
3725
3726
  key: "r" + u,
3726
3727
  class: "table-grid-size-editor__row"
@@ -3734,16 +3735,16 @@ function Lr(e, t, a, l, o, i) {
3734
3735
  onMousedown: (h) => e.confirmCreateTable(u, m)
3735
3736
  }, [...t[1] || (t[1] = [
3736
3737
  P("div", { class: "table-grid-size-editor__cell__inner" }, null, -1)
3737
- ])], 42, Ar))), 128))
3738
+ ])], 42, Or))), 128))
3738
3739
  ]))), 128))
3739
3740
  ]),
3740
- P("div", Or, O(e.selectedTableGridSize.row) + " X " + O(e.selectedTableGridSize.col), 1)
3741
+ P("div", Nr, O(e.selectedTableGridSize.row) + " X " + O(e.selectedTableGridSize.col), 1)
3741
3742
  ])
3742
3743
  ]),
3743
3744
  _: 1
3744
3745
  }, 8, ["modelValue", "onAfterLeave"]);
3745
3746
  }
3746
- const uo = /* @__PURE__ */ B(Mr, [["render", Lr]]), Br = L({
3747
+ const uo = /* @__PURE__ */ B(Pr, [["render", Br]]), jr = L({
3747
3748
  name: "TablePopover",
3748
3749
  components: {
3749
3750
  ElPopover: ht,
@@ -3765,10 +3766,10 @@ const uo = /* @__PURE__ */ B(Mr, [["render", Lr]]), Br = L({
3765
3766
  return zt(this.editor.state);
3766
3767
  },
3767
3768
  enableMergeCells() {
3768
- return ns(this.editor.state);
3769
+ return ss(this.editor.state);
3769
3770
  },
3770
3771
  enableSplitCell() {
3771
- return ss(this.editor.state);
3772
+ return rs(this.editor.state);
3772
3773
  }
3773
3774
  },
3774
3775
  methods: {
@@ -3784,7 +3785,7 @@ const uo = /* @__PURE__ */ B(Mr, [["render", Lr]]), Br = L({
3784
3785
  }
3785
3786
  }
3786
3787
  });
3787
- function jr(e, t, a, l, o, i) {
3788
+ function Ur(e, t, a, l, o, i) {
3788
3789
  const d = z, u = uo, m = _t, h = ia, c = Ft, _ = wt;
3789
3790
  return n(), p(_, {
3790
3791
  placement: "bottom",
@@ -3907,13 +3908,13 @@ function jr(e, t, a, l, o, i) {
3907
3908
  _: 1
3908
3909
  }, 512);
3909
3910
  }
3910
- const Ur = /* @__PURE__ */ B(Br, [["render", jr]]), ml = Li.extend({
3911
+ const Rr = /* @__PURE__ */ B(jr, [["render", Ur]]), ml = Li.extend({
3911
3912
  addOptions() {
3912
3913
  return {
3913
3914
  ...this.parent?.(),
3914
3915
  button({ editor: e, t }) {
3915
3916
  return {
3916
- component: Ur,
3917
+ component: Rr,
3917
3918
  componentProps: {
3918
3919
  editor: e
3919
3920
  }
@@ -3924,7 +3925,7 @@ const Ur = /* @__PURE__ */ B(Br, [["render", jr]]), ml = Li.extend({
3924
3925
  addExtensions() {
3925
3926
  return [Bi, ji, Ui];
3926
3927
  }
3927
- }), Rr = L({
3928
+ }), zr = L({
3928
3929
  name: "IframeCommandButton",
3929
3930
  components: {
3930
3931
  CommandButton: z
@@ -3953,7 +3954,7 @@ const Ur = /* @__PURE__ */ B(Br, [["render", jr]]), ml = Li.extend({
3953
3954
  }
3954
3955
  }
3955
3956
  });
3956
- function zr(e, t, a, l, o, i) {
3957
+ function qr(e, t, a, l, o, i) {
3957
3958
  const d = z;
3958
3959
  return n(), p(d, {
3959
3960
  command: e.openInsertVideoControl,
@@ -3963,7 +3964,7 @@ function zr(e, t, a, l, o, i) {
3963
3964
  icon: "iframe"
3964
3965
  }, null, 8, ["command", "enable-tooltip", "tooltip", "readonly"]);
3965
3966
  }
3966
- const qr = /* @__PURE__ */ B(Rr, [["render", zr]]);
3967
+ const Hr = /* @__PURE__ */ B(zr, [["render", qr]]);
3967
3968
  L({
3968
3969
  name: "IframeView",
3969
3970
  components: {
@@ -3971,7 +3972,7 @@ L({
3971
3972
  },
3972
3973
  props: we
3973
3974
  });
3974
- const Hr = ot.create({
3975
+ const xr = ot.create({
3975
3976
  name: "iframe",
3976
3977
  // schema
3977
3978
  group: "block",
@@ -4013,7 +4014,7 @@ const Hr = ot.create({
4013
4014
  return {
4014
4015
  button({ editor: e }) {
4015
4016
  return {
4016
- component: qr,
4017
+ component: Hr,
4017
4018
  componentProps: {
4018
4019
  editor: e
4019
4020
  }
@@ -4086,7 +4087,7 @@ const Hr = ot.create({
4086
4087
  }
4087
4088
  };
4088
4089
  }
4089
- }), xr = Hi.extend({
4090
+ }), Wr = Hi.extend({
4090
4091
  addOptions() {
4091
4092
  return {
4092
4093
  ...this.parent?.(),
@@ -4105,7 +4106,7 @@ const Hr = ot.create({
4105
4106
  }
4106
4107
  };
4107
4108
  }
4108
- }), Wr = L({
4109
+ }), Kr = L({
4109
4110
  name: "AddLinkCommandButton",
4110
4111
  components: {
4111
4112
  ElDialog: $t,
@@ -4169,7 +4170,7 @@ const Hr = ot.create({
4169
4170
  }
4170
4171
  }
4171
4172
  });
4172
- function Kr(e, t, a, l, o, i) {
4173
+ function Gr(e, t, a, l, o, i) {
4173
4174
  const d = z, u = $e, m = pt, h = ut, c = oe, _ = Fe;
4174
4175
  return n(), w("div", null, [
4175
4176
  r(d, {
@@ -4238,14 +4239,14 @@ function Kr(e, t, a, l, o, i) {
4238
4239
  }, 8, ["modelValue", "title", "width"])
4239
4240
  ]);
4240
4241
  }
4241
- const Gr = /* @__PURE__ */ B(Wr, [["render", Kr]]), bl = xi.extend({
4242
+ const Yr = /* @__PURE__ */ B(Kr, [["render", Gr]]), bl = xi.extend({
4242
4243
  priority: 100,
4243
4244
  addOptions() {
4244
4245
  return {
4245
4246
  ...this.parent?.(),
4246
4247
  button({ editor: e }) {
4247
4248
  return {
4248
- component: Gr,
4249
+ component: Yr,
4249
4250
  componentProps: {
4250
4251
  editor: e
4251
4252
  }
@@ -4289,7 +4290,7 @@ const Gr = /* @__PURE__ */ B(Wr, [["render", Kr]]), bl = xi.extend({
4289
4290
  "#ff9800",
4290
4291
  "#ff5722",
4291
4292
  "#000000"
4292
- ], Yr = L({
4293
+ ], Jr = L({
4293
4294
  name: "ColorPopover",
4294
4295
  components: {
4295
4296
  ElButton: mt,
@@ -4327,8 +4328,8 @@ const Gr = /* @__PURE__ */ B(Wr, [["render", Kr]]), bl = xi.extend({
4327
4328
  return this.editor.extensionManager.extensions.find((t) => t.name === "color").options.colors;
4328
4329
  }
4329
4330
  }
4330
- }), Jr = { class: "color-set" }, Xr = ["onClick"], Qr = { class: "color__wrapper" }, Zr = { class: "color-hex" };
4331
- function ed(e, t, a, l, o, i) {
4331
+ }), Xr = { class: "color-set" }, Qr = ["onClick"], Zr = { class: "color__wrapper" }, ed = { class: "color-hex" };
4332
+ function td(e, t, a, l, o, i) {
4332
4333
  const d = Pa, u = oe, m = z, h = Ye;
4333
4334
  return n(), p(h, {
4334
4335
  disabled: e.isCodeViewMode,
@@ -4348,7 +4349,7 @@ function ed(e, t, a, l, o, i) {
4348
4349
  ])
4349
4350
  ]),
4350
4351
  default: s(() => [
4351
- P("div", Jr, [
4352
+ P("div", Xr, [
4352
4353
  (n(!0), w(E, null, G(e.colorSet, (c) => (n(), w("div", {
4353
4354
  key: c,
4354
4355
  class: "color__wrapper"
@@ -4361,9 +4362,9 @@ function ed(e, t, a, l, o, i) {
4361
4362
  onMousedown: t[0] || (t[0] = R(() => {
4362
4363
  }, ["prevent"])),
4363
4364
  onClick: R((_) => e.confirmColor(c), ["stop"])
4364
- }, null, 46, Xr)
4365
+ }, null, 46, Qr)
4365
4366
  ]))), 128)),
4366
- P("div", Qr, [
4367
+ P("div", Zr, [
4367
4368
  P("div", {
4368
4369
  class: "color color--remove",
4369
4370
  onMousedown: t[1] || (t[1] = R(() => {
@@ -4372,7 +4373,7 @@ function ed(e, t, a, l, o, i) {
4372
4373
  }, null, 32)
4373
4374
  ])
4374
4375
  ]),
4375
- P("div", Zr, [
4376
+ P("div", ed, [
4376
4377
  r(d, {
4377
4378
  modelValue: e.colorText,
4378
4379
  "onUpdate:modelValue": t[3] || (t[3] = (c) => e.colorText = c),
@@ -4396,14 +4397,14 @@ function ed(e, t, a, l, o, i) {
4396
4397
  _: 1
4397
4398
  }, 8, ["disabled"]);
4398
4399
  }
4399
- const td = /* @__PURE__ */ B(Yr, [["render", ed]]), gl = Wi.extend({
4400
+ const ad = /* @__PURE__ */ B(Jr, [["render", td]]), gl = Wi.extend({
4400
4401
  addOptions() {
4401
4402
  return {
4402
4403
  ...this.parent?.(),
4403
4404
  colors: po,
4404
4405
  button({ editor: e, t }) {
4405
4406
  return {
4406
- component: td,
4407
+ component: ad,
4407
4408
  componentProps: {
4408
4409
  editor: e
4409
4410
  }
@@ -4414,7 +4415,7 @@ const td = /* @__PURE__ */ B(Yr, [["render", ed]]), gl = Wi.extend({
4414
4415
  addExtensions() {
4415
4416
  return [Ki];
4416
4417
  }
4417
- }), ad = L({
4418
+ }), ld = L({
4418
4419
  name: "HighlightPopover",
4419
4420
  components: {
4420
4421
  ElButton: mt,
@@ -4453,8 +4454,8 @@ const td = /* @__PURE__ */ B(Yr, [["render", ed]]), gl = Wi.extend({
4453
4454
  return this.editor.extensionManager.extensions.find((t) => t.name === "highlight").options.colors;
4454
4455
  }
4455
4456
  }
4456
- }), ld = { class: "color-set" }, od = ["onClick"], id = { class: "color__wrapper" }, nd = { class: "color-hex" };
4457
- function sd(e, t, a, l, o, i) {
4457
+ }), od = { class: "color-set" }, id = ["onClick"], nd = { class: "color__wrapper" }, sd = { class: "color-hex" };
4458
+ function rd(e, t, a, l, o, i) {
4458
4459
  const d = Pa, u = oe, m = z, h = Ye;
4459
4460
  return n(), p(h, {
4460
4461
  disabled: e.isCodeViewMode,
@@ -4474,7 +4475,7 @@ function sd(e, t, a, l, o, i) {
4474
4475
  ])
4475
4476
  ]),
4476
4477
  default: s(() => [
4477
- P("div", ld, [
4478
+ P("div", od, [
4478
4479
  (n(!0), w(E, null, G(e.colorSet, (c) => (n(), w("div", {
4479
4480
  key: c,
4480
4481
  class: "color__wrapper"
@@ -4487,9 +4488,9 @@ function sd(e, t, a, l, o, i) {
4487
4488
  onMousedown: t[0] || (t[0] = R(() => {
4488
4489
  }, ["prevent"])),
4489
4490
  onClick: R((_) => e.confirmColor(c), ["stop"])
4490
- }, null, 46, od)
4491
+ }, null, 46, id)
4491
4492
  ]))), 128)),
4492
- P("div", id, [
4493
+ P("div", nd, [
4493
4494
  P("div", {
4494
4495
  class: "color color--remove",
4495
4496
  onMousedown: t[1] || (t[1] = R(() => {
@@ -4498,7 +4499,7 @@ function sd(e, t, a, l, o, i) {
4498
4499
  }, null, 32)
4499
4500
  ])
4500
4501
  ]),
4501
- P("div", nd, [
4502
+ P("div", sd, [
4502
4503
  r(d, {
4503
4504
  modelValue: e.colorBg,
4504
4505
  "onUpdate:modelValue": t[3] || (t[3] = (c) => e.colorBg = c),
@@ -4522,7 +4523,7 @@ function sd(e, t, a, l, o, i) {
4522
4523
  _: 1
4523
4524
  }, 8, ["disabled"]);
4524
4525
  }
4525
- const rd = /* @__PURE__ */ B(ad, [["render", sd]]), yl = Gi.extend({
4526
+ const dd = /* @__PURE__ */ B(ld, [["render", rd]]), yl = Gi.extend({
4526
4527
  addOptions() {
4527
4528
  return {
4528
4529
  ...this.parent?.(),
@@ -4530,7 +4531,7 @@ const rd = /* @__PURE__ */ B(ad, [["render", sd]]), yl = Gi.extend({
4530
4531
  colors: po,
4531
4532
  button({ editor: e, t }) {
4532
4533
  return {
4533
- component: rd,
4534
+ component: dd,
4534
4535
  componentProps: {
4535
4536
  editor: e
4536
4537
  }
@@ -4538,7 +4539,7 @@ const rd = /* @__PURE__ */ B(ad, [["render", sd]]), yl = Gi.extend({
4538
4539
  }
4539
4540
  };
4540
4541
  }
4541
- }), dd = [
4542
+ }), ud = [
4542
4543
  "Arial",
4543
4544
  "Arial Black",
4544
4545
  "Georgia",
@@ -4550,10 +4551,10 @@ const rd = /* @__PURE__ */ B(ad, [["render", sd]]), yl = Gi.extend({
4550
4551
  "Lucida Console",
4551
4552
  "Monaco",
4552
4553
  "monospace"
4553
- ], ud = dd.reduce(
4554
+ ], pd = ud.reduce(
4554
4555
  (e, t) => (e[t] = t, e),
4555
4556
  {}
4556
- ), pd = L({
4557
+ ), md = L({
4557
4558
  name: "FontFamilyDropdown",
4558
4559
  components: {
4559
4560
  ElDropdown: ha,
@@ -4584,8 +4585,8 @@ const rd = /* @__PURE__ */ B(ad, [["render", sd]]), yl = Gi.extend({
4584
4585
  e === this.activeFontFamily ? this.editor.commands.unsetFontFamily() : this.editor.commands.setFontFamily(e);
4585
4586
  }
4586
4587
  }
4587
- }), md = ["data-font"];
4588
- function fd(e, t, a, l, o, i) {
4588
+ }), fd = ["data-font"];
4589
+ function hd(e, t, a, l, o, i) {
4589
4590
  const d = z, u = _t, m = Ft, h = wt;
4590
4591
  return n(), p(h, {
4591
4592
  placement: "bottom",
@@ -4607,7 +4608,7 @@ function fd(e, t, a, l, o, i) {
4607
4608
  P("span", {
4608
4609
  "data-font": c,
4609
4610
  style: te({ "font-family": c })
4610
- }, O(c), 13, md)
4611
+ }, O(c), 13, fd)
4611
4612
  ]),
4612
4613
  _: 2
4613
4614
  }, 1032, ["command", "class"]))), 128))
@@ -4628,15 +4629,15 @@ function fd(e, t, a, l, o, i) {
4628
4629
  _: 1
4629
4630
  }, 8, ["onCommand"]);
4630
4631
  }
4631
- const hd = /* @__PURE__ */ B(pd, [["render", fd]]), cd = He.create({
4632
+ const cd = /* @__PURE__ */ B(md, [["render", hd]]), bd = He.create({
4632
4633
  name: "fontFamily",
4633
4634
  addOptions() {
4634
4635
  return {
4635
4636
  types: ["textStyle"],
4636
- fontFamilyMap: ud,
4637
+ fontFamilyMap: pd,
4637
4638
  button({ editor: e, t }) {
4638
4639
  return {
4639
- component: hd,
4640
+ component: cd,
4640
4641
  componentProps: {
4641
4642
  editor: e
4642
4643
  }
@@ -4669,7 +4670,7 @@ const hd = /* @__PURE__ */ B(pd, [["render", fd]]), cd = He.create({
4669
4670
  // addExtensions() {
4670
4671
  // return [TextStyle];
4671
4672
  // },
4672
- }), bd = [
4673
+ }), gd = [
4673
4674
  "8",
4674
4675
  "10",
4675
4676
  "12",
@@ -4683,14 +4684,14 @@ const hd = /* @__PURE__ */ B(pd, [["render", fd]]), cd = He.create({
4683
4684
  "48",
4684
4685
  "60",
4685
4686
  "72"
4686
- ], mo = "default", gd = /([\d.]+)px/i;
4687
- function yd(e) {
4688
- const t = e.match(gd);
4687
+ ], mo = "default", yd = /([\d.]+)px/i;
4688
+ function vd(e) {
4689
+ const t = e.match(yd);
4689
4690
  if (!t) return "";
4690
4691
  const a = t[1];
4691
4692
  return a || "";
4692
4693
  }
4693
- const vd = L({
4694
+ const wd = L({
4694
4695
  name: "FontSizeDropdown",
4695
4696
  components: {
4696
4697
  ElDropdown: ha,
@@ -4721,8 +4722,8 @@ const vd = L({
4721
4722
  e === this.activeFontSize ? this.editor.commands.unsetFontSize() : this.editor.commands.setFontSize(e);
4722
4723
  }
4723
4724
  }
4724
- }), wd = { "data-font-size": "default" }, Fd = ["data-font-size"];
4725
- function _d(e, t, a, l, o, i) {
4725
+ }), Fd = { "data-font-size": "default" }, _d = ["data-font-size"];
4726
+ function Sd(e, t, a, l, o, i) {
4726
4727
  const d = z, u = _t, m = Ft, h = wt;
4727
4728
  return n(), p(h, {
4728
4729
  placement: "bottom",
@@ -4740,7 +4741,7 @@ function _d(e, t, a, l, o, i) {
4740
4741
  }, "el-tiptap-dropdown-menu__item"])
4741
4742
  }, {
4742
4743
  default: s(() => [
4743
- P("span", wd, O(e.t("editor.extensions.FontSize.default")), 1)
4744
+ P("span", Fd, O(e.t("editor.extensions.FontSize.default")), 1)
4744
4745
  ]),
4745
4746
  _: 1
4746
4747
  }, 8, ["command", "class"]),
@@ -4752,7 +4753,7 @@ function _d(e, t, a, l, o, i) {
4752
4753
  }, "el-tiptap-dropdown-menu__item"])
4753
4754
  }, {
4754
4755
  default: s(() => [
4755
- P("span", { "data-font-size": c }, O(c), 9, Fd)
4756
+ P("span", { "data-font-size": c }, O(c), 9, _d)
4756
4757
  ]),
4757
4758
  _: 2
4758
4759
  }, 1032, ["command", "class"]))), 128))
@@ -4773,15 +4774,15 @@ function _d(e, t, a, l, o, i) {
4773
4774
  _: 1
4774
4775
  }, 8, ["onCommand"]);
4775
4776
  }
4776
- const Sd = /* @__PURE__ */ B(vd, [["render", _d]]), kd = He.create({
4777
+ const kd = /* @__PURE__ */ B(wd, [["render", Sd]]), Cd = He.create({
4777
4778
  name: "fontSize",
4778
4779
  addOptions() {
4779
4780
  return {
4780
4781
  types: ["textStyle"],
4781
- fontSizes: bd,
4782
+ fontSizes: gd,
4782
4783
  button({ editor: e, t }) {
4783
4784
  return {
4784
- component: Sd,
4785
+ component: kd,
4785
4786
  componentProps: {
4786
4787
  editor: e
4787
4788
  }
@@ -4796,7 +4797,7 @@ const Sd = /* @__PURE__ */ B(vd, [["render", _d]]), kd = He.create({
4796
4797
  attributes: {
4797
4798
  fontSize: {
4798
4799
  default: null,
4799
- parseHTML: (e) => yd(e.style.fontSize) || "",
4800
+ parseHTML: (e) => vd(e.style.fontSize) || "",
4800
4801
  renderHTML: (e) => e.fontSize ? {
4801
4802
  style: `font-size: ${e.fontSize}px`
4802
4803
  } : {}
@@ -4814,7 +4815,7 @@ const Sd = /* @__PURE__ */ B(vd, [["render", _d]]), kd = He.create({
4814
4815
  // addExtensions() {
4815
4816
  // return [TextStyle];
4816
4817
  // },
4817
- }), Cd = L({
4818
+ }), Dd = L({
4818
4819
  name: "AddYoutubeCommandButton",
4819
4820
  components: {
4820
4821
  ElDialog: $t,
@@ -4866,7 +4867,7 @@ const Sd = /* @__PURE__ */ B(vd, [["render", _d]]), kd = He.create({
4866
4867
  }
4867
4868
  }
4868
4869
  });
4869
- function Dd(e, t, a, l, o, i) {
4870
+ function Id(e, t, a, l, o, i) {
4870
4871
  const d = z, u = $e, m = pt, h = Nt, c = lt, _ = St, C = ut, b = oe, M = Fe;
4871
4872
  return n(), w("div", null, [
4872
4873
  r(d, {
@@ -4981,13 +4982,13 @@ function Dd(e, t, a, l, o, i) {
4981
4982
  }, 8, ["modelValue"])
4982
4983
  ]);
4983
4984
  }
4984
- const Id = /* @__PURE__ */ B(Cd, [["render", Dd]]), $d = Yi.extend({
4985
+ const $d = /* @__PURE__ */ B(Dd, [["render", Id]]), Td = Yi.extend({
4985
4986
  addOptions() {
4986
4987
  return {
4987
4988
  ...this.parent?.(),
4988
4989
  button({ editor: e }) {
4989
4990
  return {
4990
- component: Id,
4991
+ component: $d,
4991
4992
  componentProps: {
4992
4993
  editor: e
4993
4994
  }
@@ -4995,7 +4996,7 @@ const Id = /* @__PURE__ */ B(Cd, [["render", Dd]]), $d = Yi.extend({
4995
4996
  }
4996
4997
  };
4997
4998
  }
4998
- }), Td = Ji.extend({
4999
+ }), Md = Ji.extend({
4999
5000
  addOptions() {
5000
5001
  return {
5001
5002
  ...this.parent?.(),
@@ -5014,7 +5015,7 @@ const Id = /* @__PURE__ */ B(Cd, [["render", Dd]]), $d = Yi.extend({
5014
5015
  }
5015
5016
  };
5016
5017
  }
5017
- }), Md = Xi.extend({
5018
+ }), Pd = Xi.extend({
5018
5019
  addOptions() {
5019
5020
  return {
5020
5021
  ...this.parent?.(),
@@ -5033,7 +5034,7 @@ const Id = /* @__PURE__ */ B(Cd, [["render", Dd]]), $d = Yi.extend({
5033
5034
  }
5034
5035
  };
5035
5036
  }
5036
- }), Pd = { class: "ml-2 text-3" }, Vd = ["src"], Ad = /* @__PURE__ */ L({
5037
+ }), Vd = { class: "ml-2 text-3" }, Ad = ["src"], Od = /* @__PURE__ */ L({
5037
5038
  __name: "SdUploadFile",
5038
5039
  props: {
5039
5040
  uploadType: String,
@@ -5195,7 +5196,7 @@ const Id = /* @__PURE__ */ B(Cd, [["render", Dd]]), $d = Yi.extend({
5195
5196
  icon: "Refresh",
5196
5197
  onClick: f
5197
5198
  }),
5198
- P("span", Pd, "Showing " + O(C.value) + "-" + O(b.value) + " of " + O(_.value) + " items.", 1)
5199
+ P("span", Vd, "Showing " + O(C.value) + "-" + O(b.value) + " of " + O(_.value) + " items.", 1)
5199
5200
  ]),
5200
5201
  _: 1
5201
5202
  }, 8, ["action", "headers", "data", "file-list", "disabled", "on-preview"]),
@@ -5219,14 +5220,14 @@ const Id = /* @__PURE__ */ B(Cd, [["render", Dd]]), $d = Yi.extend({
5219
5220
  "w-full": "",
5220
5221
  src: t.value,
5221
5222
  alt: "Preview Image"
5222
- }, null, 8, Vd)
5223
+ }, null, 8, Ad)
5223
5224
  ]),
5224
5225
  _: 1
5225
5226
  }, 8, ["modelValue"])
5226
5227
  ], 64);
5227
5228
  };
5228
5229
  }
5229
- }), Od = L({
5230
+ }), Nd = L({
5230
5231
  name: "UploadFileCommandButton",
5231
5232
  components: {
5232
5233
  ElDialog: $t,
@@ -5290,8 +5291,8 @@ const Id = /* @__PURE__ */ B(Cd, [["render", Dd]]), $d = Yi.extend({
5290
5291
  }
5291
5292
  }
5292
5293
  });
5293
- function Nd(e, t, a, l, o, i) {
5294
- const d = z, u = Ad, m = Fe;
5294
+ function Ed(e, t, a, l, o, i) {
5295
+ const d = z, u = Od, m = Fe;
5295
5296
  return n(), w("div", null, [
5296
5297
  r(d, {
5297
5298
  readonly: e.isCodeViewMode,
@@ -5320,14 +5321,14 @@ function Nd(e, t, a, l, o, i) {
5320
5321
  }, 8, ["modelValue", "width"])
5321
5322
  ]);
5322
5323
  }
5323
- const Ed = /* @__PURE__ */ B(Od, [["render", Nd]]), Ld = He.create({
5324
+ const Ld = /* @__PURE__ */ B(Nd, [["render", Ed]]), Bd = He.create({
5324
5325
  name: "UploadFile",
5325
5326
  addOptions() {
5326
5327
  return {
5327
5328
  ...this.parent?.(),
5328
5329
  button({ editor: e }) {
5329
5330
  return {
5330
- component: Ed,
5331
+ component: Ld,
5331
5332
  componentProps: {
5332
5333
  editor: e
5333
5334
  }
@@ -5405,17 +5406,17 @@ const Ed = /* @__PURE__ */ B(Od, [["render", Nd]]), Ld = He.create({
5405
5406
  }
5406
5407
  });
5407
5408
  var At = /* @__PURE__ */ ((e) => (e[e.max = 7] = "max", e[e.min = 0] = "min", e[e.more = 1] = "more", e[e.less = -1] = "less", e))(At || {});
5408
- function Bd(e, t, a, l) {
5409
+ function jd(e, t, a, l) {
5409
5410
  const { doc: o, selection: i } = e;
5410
5411
  if (!o || !i || !(i instanceof ba || i instanceof Ea))
5411
5412
  return e;
5412
5413
  const { from: d, to: u } = i;
5413
5414
  return o.nodesBetween(d, u, (m, h) => {
5414
5415
  const c = m.type;
5415
- return a.includes(c.name) ? (e = jd(e, h, t), !1) : !ei(m.type.name, l.extensionManager.extensions);
5416
+ return a.includes(c.name) ? (e = Ud(e, h, t), !1) : !ei(m.type.name, l.extensionManager.extensions);
5416
5417
  }), e;
5417
5418
  }
5418
- function jd(e, t, a) {
5419
+ function Ud(e, t, a) {
5419
5420
  if (!e.doc) return e;
5420
5421
  const l = e.doc.nodeAt(t);
5421
5422
  if (!l) return e;
@@ -5431,7 +5432,7 @@ function _l({ delta: e, types: t }) {
5431
5432
  return ({ state: a, dispatch: l, editor: o }) => {
5432
5433
  const { selection: i } = a;
5433
5434
  let { tr: d } = a;
5434
- return d = d.setSelection(i), d = Bd(d, e, t, o), d.docChanged ? (l && l(d), !0) : !1;
5435
+ return d = d.setSelection(i), d = jd(d, e, t, o), d.docChanged ? (l && l(d), !0) : !1;
5435
5436
  };
5436
5437
  }
5437
5438
  const Sl = He.create({
@@ -5503,7 +5504,7 @@ const Sl = He.create({
5503
5504
  };
5504
5505
  }
5505
5506
  }), fo = ["paragraph", "heading", "list_item", "todo_item"], ho = /^\d+(.\d+)?$/;
5506
- function Ud(e, t) {
5507
+ function Rd(e, t) {
5507
5508
  const { selection: a, doc: l } = e, { from: o, to: i } = a;
5508
5509
  let d = !0, u = !1;
5509
5510
  return l.nodesBetween(o, i, (m) => {
@@ -5511,7 +5512,7 @@ function Ud(e, t) {
5511
5512
  return fo.includes(h.name) ? d && t === c ? (d = !1, u = !0, !1) : h.name !== "list_item" && h.name !== "todo_item" : d;
5512
5513
  }), u;
5513
5514
  }
5514
- function Rd(e) {
5515
+ function zd(e) {
5515
5516
  if (!e) return "";
5516
5517
  let t = String(e);
5517
5518
  if (ho.test(t)) {
@@ -5520,7 +5521,7 @@ function Rd(e) {
5520
5521
  }
5521
5522
  return parseFloat(t) * lo + "%";
5522
5523
  }
5523
- function zd(e) {
5524
+ function qd(e) {
5524
5525
  if (!e || e === la) return "";
5525
5526
  let t = e;
5526
5527
  if (ho.test(e)) {
@@ -5529,7 +5530,7 @@ function zd(e) {
5529
5530
  }
5530
5531
  return parseFloat(t) / lo + "%";
5531
5532
  }
5532
- function qd(e, t) {
5533
+ function Hd(e, t) {
5533
5534
  const { selection: a, doc: l } = e;
5534
5535
  if (!a || !l || !(a instanceof ba || a instanceof Ea))
5535
5536
  return e;
@@ -5550,14 +5551,14 @@ function qd(e, t) {
5550
5551
  }, e = e.setNodeMarkup(c, _, C, h.marks);
5551
5552
  }), e;
5552
5553
  }
5553
- function Hd(e) {
5554
+ function xd(e) {
5554
5555
  return ({ state: t, dispatch: a }) => {
5555
5556
  const { selection: l } = t;
5556
5557
  let { tr: o } = t;
5557
- return o = o.setSelection(l), o = qd(o, e), o.docChanged ? (a && a(o), !0) : !1;
5558
+ return o = o.setSelection(l), o = Hd(o, e), o.docChanged ? (a && a(o), !0) : !1;
5558
5559
  };
5559
5560
  }
5560
- const xd = L({
5561
+ const Wd = L({
5561
5562
  name: "LineHeightDropdown",
5562
5563
  components: {
5563
5564
  ElDropdown: ha,
@@ -5582,11 +5583,11 @@ const xd = L({
5582
5583
  },
5583
5584
  methods: {
5584
5585
  isLineHeightActive(e) {
5585
- return Ud(this.editor.state, e);
5586
+ return Rd(this.editor.state, e);
5586
5587
  }
5587
5588
  }
5588
5589
  });
5589
- function Wd(e, t, a, l, o, i) {
5590
+ function Kd(e, t, a, l, o, i) {
5590
5591
  const d = z, u = _t, m = Ft, h = wt;
5591
5592
  return n(), p(h, {
5592
5593
  placement: "bottom",
@@ -5628,7 +5629,7 @@ function Wd(e, t, a, l, o, i) {
5628
5629
  _: 1
5629
5630
  });
5630
5631
  }
5631
- const Kd = /* @__PURE__ */ B(xd, [["render", Wd]]), Gd = He.create({
5632
+ const Gd = /* @__PURE__ */ B(Wd, [["render", Kd]]), Yd = He.create({
5632
5633
  name: "lineHeight",
5633
5634
  addOptions() {
5634
5635
  return {
@@ -5636,7 +5637,7 @@ const Kd = /* @__PURE__ */ B(xd, [["render", Wd]]), Gd = He.create({
5636
5637
  lineHeights: ["100%", "115%", "150%", "200%", "250%", "300%"],
5637
5638
  button({ editor: e }) {
5638
5639
  return {
5639
- component: Kd,
5640
+ component: Gd,
5640
5641
  componentProps: {
5641
5642
  editor: e
5642
5643
  }
@@ -5651,9 +5652,9 @@ const Kd = /* @__PURE__ */ B(xd, [["render", Wd]]), Gd = He.create({
5651
5652
  attributes: {
5652
5653
  lineHeight: {
5653
5654
  default: null,
5654
- parseHTML: (e) => zd(e.style.lineHeight) || null,
5655
+ parseHTML: (e) => qd(e.style.lineHeight) || null,
5655
5656
  renderHTML: (e) => e.lineHeight ? {
5656
- style: `line-height: ${Rd(e.lineHeight)};`
5657
+ style: `line-height: ${zd(e.lineHeight)};`
5657
5658
  } : {}
5658
5659
  }
5659
5660
  }
@@ -5662,7 +5663,7 @@ const Kd = /* @__PURE__ */ B(xd, [["render", Wd]]), Gd = He.create({
5662
5663
  },
5663
5664
  addCommands() {
5664
5665
  return {
5665
- setLineHeight: (e) => Hd(e),
5666
+ setLineHeight: (e) => xd(e),
5666
5667
  unsetLineHeight: () => ({ commands: e }) => this.options.types.every((t) => e.resetAttributes(t, "lineHeight"))
5667
5668
  };
5668
5669
  }
@@ -5685,7 +5686,7 @@ const Kd = /* @__PURE__ */ B(xd, [["render", Wd]]), Gd = He.create({
5685
5686
  }
5686
5687
  };
5687
5688
  }
5688
- }), Yd = L({
5689
+ }), Jd = L({
5689
5690
  name: "FullscreenCommandButton",
5690
5691
  components: {
5691
5692
  CommandButton: z
@@ -5700,7 +5701,7 @@ const Kd = /* @__PURE__ */ B(xd, [["render", Wd]]), Gd = He.create({
5700
5701
  }
5701
5702
  }
5702
5703
  });
5703
- function Jd(e, t, a, l, o, i) {
5704
+ function Xd(e, t, a, l, o, i) {
5704
5705
  const d = z;
5705
5706
  return n(), w("div", null, [
5706
5707
  r(d, {
@@ -5712,20 +5713,20 @@ function Jd(e, t, a, l, o, i) {
5712
5713
  }, null, 8, ["command", "enable-tooltip", "tooltip", "icon", "is-active"])
5713
5714
  ]);
5714
5715
  }
5715
- const Xd = /* @__PURE__ */ B(Yd, [["render", Jd]]), Qd = He.create({
5716
+ const Qd = /* @__PURE__ */ B(Jd, [["render", Xd]]), Zd = He.create({
5716
5717
  name: "fullscreen",
5717
5718
  addOptions() {
5718
5719
  return {
5719
5720
  ...this.parent?.(),
5720
5721
  button({ editor: e }) {
5721
5722
  return {
5722
- component: Xd
5723
+ component: Qd
5723
5724
  };
5724
5725
  }
5725
5726
  };
5726
5727
  }
5727
5728
  });
5728
- function Zd(e) {
5729
+ function eu(e) {
5729
5730
  const a = Array.from(document.querySelectorAll("style, link")).reduce((d, u) => d + u.outerHTML, "") + e.outerHTML, l = document.createElement("iframe");
5730
5731
  l.id = "el-tiptap-iframe", l.setAttribute("style", "position: absolute; width: 0; height: 0; top: -10px; left: -10px;"), document.body.appendChild(l);
5731
5732
  const o = l.contentWindow, i = l.contentDocument || l.contentWindow && l.contentWindow.document;
@@ -5748,11 +5749,11 @@ function Zd(e) {
5748
5749
  }, 100);
5749
5750
  });
5750
5751
  }
5751
- function eu(e) {
5752
+ function tu(e) {
5752
5753
  const t = e.dom.closest(".el-tiptap-editor__content");
5753
- return t ? (Zd(t), !0) : !1;
5754
+ return t ? (eu(t), !0) : !1;
5754
5755
  }
5755
- const tu = He.create({
5756
+ const au = He.create({
5756
5757
  name: "print",
5757
5758
  addOptions() {
5758
5759
  return {
@@ -5772,7 +5773,7 @@ const tu = He.create({
5772
5773
  },
5773
5774
  addCommands() {
5774
5775
  return {
5775
- print: () => ({ view: e }) => eu(e)
5776
+ print: () => ({ view: e }) => tu(e)
5776
5777
  };
5777
5778
  },
5778
5779
  addKeyboardShortcuts() {
@@ -5801,7 +5802,7 @@ He.create({
5801
5802
  };
5802
5803
  }
5803
5804
  });
5804
- const au = L({
5805
+ const lu = L({
5805
5806
  name: "CodeViewCommandButton",
5806
5807
  components: {
5807
5808
  CommandButton: z
@@ -5811,7 +5812,7 @@ const au = L({
5811
5812
  return { t: e, enableTooltip: t, isCodeViewMode: a, toggleIsCodeViewMode: l };
5812
5813
  }
5813
5814
  });
5814
- function lu(e, t, a, l, o, i) {
5815
+ function ou(e, t, a, l, o, i) {
5815
5816
  const d = z;
5816
5817
  return n(), w("div", null, [
5817
5818
  r(d, {
@@ -5823,25 +5824,25 @@ function lu(e, t, a, l, o, i) {
5823
5824
  }, null, 8, ["command", "enable-tooltip", "tooltip", "is-active"])
5824
5825
  ]);
5825
5826
  }
5826
- const ou = /* @__PURE__ */ B(au, [["render", lu]]), iu = {
5827
+ const iu = /* @__PURE__ */ B(lu, [["render", ou]]), nu = {
5827
5828
  minLines: 5,
5828
5829
  // maxLines: 25,
5829
5830
  wrap: !0,
5830
5831
  printMargin: !0,
5831
5832
  useWorker: !1,
5832
5833
  mode: "html"
5833
- }, nu = He.create({
5834
+ }, su = He.create({
5834
5835
  name: "codeView",
5835
5836
  addOptions() {
5836
5837
  return {
5837
5838
  ...this.parent?.(),
5838
5839
  button({ editor: e }) {
5839
5840
  return {
5840
- component: ou
5841
+ component: iu
5841
5842
  };
5842
5843
  },
5843
5844
  editorOptions: {
5844
- ...iu
5845
+ ...nu
5845
5846
  }
5846
5847
  };
5847
5848
  }
@@ -5851,7 +5852,7 @@ const ou = /* @__PURE__ */ B(au, [["render", lu]]), iu = {
5851
5852
  // return;
5852
5853
  // }
5853
5854
  // },
5854
- }), su = L({
5855
+ }), ru = L({
5855
5856
  name: "ElButtonView",
5856
5857
  components: {
5857
5858
  NodeViewWrapper: Qe
@@ -5870,7 +5871,7 @@ const ou = /* @__PURE__ */ B(au, [["render", lu]]), iu = {
5870
5871
  }
5871
5872
  }
5872
5873
  });
5873
- function ru(e, t, a, l, o, i) {
5874
+ function du(e, t, a, l, o, i) {
5874
5875
  const d = ge, u = oe, m = Y("node-view-wrapper");
5875
5876
  return n(), p(m, { class: "vue-component" }, {
5876
5877
  default: s(() => [
@@ -5892,7 +5893,7 @@ function ru(e, t, a, l, o, i) {
5892
5893
  _: 1
5893
5894
  });
5894
5895
  }
5895
- const du = /* @__PURE__ */ B(su, [["render", ru]]), Cl = ot.create({
5896
+ const uu = /* @__PURE__ */ B(ru, [["render", du]]), Cl = ot.create({
5896
5897
  name: "ElButton",
5897
5898
  group: "block",
5898
5899
  content: "block+",
@@ -5950,9 +5951,9 @@ const du = /* @__PURE__ */ B(su, [["render", ru]]), Cl = ot.create({
5950
5951
  return ["el-button", Xe(e), 0];
5951
5952
  },
5952
5953
  addNodeView() {
5953
- return it(du);
5954
+ return it(uu);
5954
5955
  }
5955
- }), uu = L({
5956
+ }), pu = L({
5956
5957
  name: "ElButtonGroupView",
5957
5958
  components: {
5958
5959
  NodeViewWrapper: Qe
@@ -5971,7 +5972,7 @@ const du = /* @__PURE__ */ B(su, [["render", ru]]), Cl = ot.create({
5971
5972
  }
5972
5973
  }
5973
5974
  });
5974
- function pu(e, t, a, l, o, i) {
5975
+ function mu(e, t, a, l, o, i) {
5975
5976
  const d = oe, u = Al, m = Y("node-view-wrapper");
5976
5977
  return n(), p(m, { class: "vue-component" }, {
5977
5978
  default: s(() => [
@@ -5995,7 +5996,7 @@ function pu(e, t, a, l, o, i) {
5995
5996
  _: 1
5996
5997
  });
5997
5998
  }
5998
- const mu = /* @__PURE__ */ B(uu, [["render", pu]]), Dl = ot.create({
5999
+ const fu = /* @__PURE__ */ B(pu, [["render", mu]]), Dl = ot.create({
5999
6000
  name: "ElButtonGroup",
6000
6001
  group: "block",
6001
6002
  content: "block+",
@@ -6017,9 +6018,9 @@ const mu = /* @__PURE__ */ B(uu, [["render", pu]]), Dl = ot.create({
6017
6018
  return ["el-button-group", Xe(e), 0];
6018
6019
  },
6019
6020
  addNodeView() {
6020
- return it(mu);
6021
+ return it(fu);
6021
6022
  }
6022
- }), fu = L({
6023
+ }), hu = L({
6023
6024
  name: "EliconView",
6024
6025
  components: {
6025
6026
  NodeViewWrapper: Qe
@@ -6036,7 +6037,7 @@ const mu = /* @__PURE__ */ B(uu, [["render", pu]]), Dl = ot.create({
6036
6037
  }
6037
6038
  }
6038
6039
  });
6039
- function hu(e, t, a, l, o, i) {
6040
+ function cu(e, t, a, l, o, i) {
6040
6041
  const d = ge, u = Y("node-view-wrapper");
6041
6042
  return n(), p(u, { class: "vue-component" }, {
6042
6043
  default: s(() => [
@@ -6047,7 +6048,7 @@ function hu(e, t, a, l, o, i) {
6047
6048
  _: 1
6048
6049
  });
6049
6050
  }
6050
- const cu = /* @__PURE__ */ B(fu, [["render", hu]]), Il = ot.create({
6051
+ const bu = /* @__PURE__ */ B(hu, [["render", cu]]), Il = ot.create({
6051
6052
  name: "ElIcon",
6052
6053
  group: "block",
6053
6054
  content: "inline*",
@@ -6072,9 +6073,9 @@ const cu = /* @__PURE__ */ B(fu, [["render", hu]]), Il = ot.create({
6072
6073
  return ["el-icon", Xe(e), 0];
6073
6074
  },
6074
6075
  addNodeView() {
6075
- return it(cu);
6076
+ return it(bu);
6076
6077
  }
6077
- }), bu = L({
6078
+ }), gu = L({
6078
6079
  name: "ElTagView",
6079
6080
  components: {
6080
6081
  NodeViewWrapper: Qe
@@ -6091,7 +6092,7 @@ const cu = /* @__PURE__ */ B(fu, [["render", hu]]), Il = ot.create({
6091
6092
  }
6092
6093
  }
6093
6094
  });
6094
- function gu(e, t, a, l, o, i) {
6095
+ function yu(e, t, a, l, o, i) {
6095
6096
  const d = Et, u = Y("node-view-wrapper");
6096
6097
  return n(), p(u, { class: "vue-component" }, {
6097
6098
  default: s(() => [
@@ -6105,7 +6106,7 @@ function gu(e, t, a, l, o, i) {
6105
6106
  _: 1
6106
6107
  });
6107
6108
  }
6108
- const yu = /* @__PURE__ */ B(bu, [["render", gu]]), $l = ot.create({
6109
+ const vu = /* @__PURE__ */ B(gu, [["render", yu]]), $l = ot.create({
6109
6110
  name: "ElTag",
6110
6111
  group: "block",
6111
6112
  content: "inline*",
@@ -6145,9 +6146,9 @@ const yu = /* @__PURE__ */ B(bu, [["render", gu]]), $l = ot.create({
6145
6146
  return ["el-tag", Xe(e), 0];
6146
6147
  },
6147
6148
  addNodeView() {
6148
- return it(yu);
6149
+ return it(vu);
6149
6150
  }
6150
- }), vu = L({
6151
+ }), wu = L({
6151
6152
  name: "ElImageView",
6152
6153
  components: {
6153
6154
  NodeViewWrapper: Qe
@@ -6164,7 +6165,7 @@ const yu = /* @__PURE__ */ B(bu, [["render", gu]]), $l = ot.create({
6164
6165
  }
6165
6166
  }
6166
6167
  });
6167
- function wu(e, t, a, l, o, i) {
6168
+ function Fu(e, t, a, l, o, i) {
6168
6169
  const d = vt, u = Y("node-view-wrapper");
6169
6170
  return n(), p(u, { class: "vue-component" }, {
6170
6171
  default: s(() => [
@@ -6173,7 +6174,7 @@ function wu(e, t, a, l, o, i) {
6173
6174
  _: 1
6174
6175
  });
6175
6176
  }
6176
- const Fu = /* @__PURE__ */ B(vu, [["render", wu]]), Tl = ot.create({
6177
+ const _u = /* @__PURE__ */ B(wu, [["render", Fu]]), Tl = ot.create({
6177
6178
  name: "ElImage",
6178
6179
  group: "block",
6179
6180
  content: "inline*",
@@ -6204,9 +6205,9 @@ const Fu = /* @__PURE__ */ B(vu, [["render", wu]]), Tl = ot.create({
6204
6205
  return ["el-image", Xe(e), 0];
6205
6206
  },
6206
6207
  addNodeView() {
6207
- return it(Fu);
6208
+ return it(_u);
6208
6209
  }
6209
- }), _u = L({
6210
+ }), Su = L({
6210
6211
  name: "ElAvatarView",
6211
6212
  components: {
6212
6213
  NodeViewWrapper: Qe
@@ -6223,7 +6224,7 @@ const Fu = /* @__PURE__ */ B(vu, [["render", wu]]), Tl = ot.create({
6223
6224
  }
6224
6225
  }
6225
6226
  });
6226
- function Su(e, t, a, l, o, i) {
6227
+ function ku(e, t, a, l, o, i) {
6227
6228
  const d = Va, u = Y("node-view-wrapper");
6228
6229
  return n(), p(u, { class: "vue-component" }, {
6229
6230
  default: s(() => [
@@ -6232,7 +6233,7 @@ function Su(e, t, a, l, o, i) {
6232
6233
  _: 1
6233
6234
  });
6234
6235
  }
6235
- const ku = /* @__PURE__ */ B(_u, [["render", Su]]), Ml = ot.create({
6236
+ const Cu = /* @__PURE__ */ B(Su, [["render", ku]]), Ml = ot.create({
6236
6237
  name: "ElAvatar",
6237
6238
  group: "block",
6238
6239
  content: "inline*",
@@ -6272,9 +6273,9 @@ const ku = /* @__PURE__ */ B(_u, [["render", Su]]), Ml = ot.create({
6272
6273
  return ["el-avatar", Xe(e), 0];
6273
6274
  },
6274
6275
  addNodeView() {
6275
- return it(ku);
6276
+ return it(Cu);
6276
6277
  }
6277
- }), Cu = L({
6278
+ }), Du = L({
6278
6279
  name: "SdHtmlEditor",
6279
6280
  emits: ["update:modelValue", "onUpdate", "change", "create", "transaction", "blur", "focus", "destroy"],
6280
6281
  props: {
@@ -6487,39 +6488,39 @@ const ku = /* @__PURE__ */ B(_u, [["render", Su]]), Ml = ot.create({
6487
6488
  fl.configure({ bubble: !0 }),
6488
6489
  hl.configure({ bubble: !0 }),
6489
6490
  cl.configure({ bubble: !0 }),
6490
- xr.configure({ bubble: !0 }),
6491
+ Wr.configure({ bubble: !0 }),
6491
6492
  bl.configure({ bubble: !0 }),
6492
- Us,
6493
+ Rs,
6493
6494
  Fl,
6494
6495
  ml.configure({ resizable: !0 }),
6495
6496
  yl.configure({ bubble: !0 }),
6496
6497
  gl.configure({ bubble: !0 }),
6497
- kd,
6498
- cd,
6499
- Td.configure({ bubble: !0 }),
6498
+ Cd,
6499
+ bd,
6500
6500
  Md.configure({ bubble: !0 }),
6501
+ Pd.configure({ bubble: !0 }),
6501
6502
  kl.configure({ bubble: !0 }),
6502
6503
  Sl,
6503
6504
  rl,
6504
6505
  sl,
6505
- Tr,
6506
- $d,
6507
- _r,
6508
- Ld,
6506
+ Mr,
6507
+ Td,
6508
+ Sr,
6509
+ Bd,
6509
6510
  // SelectAll,
6510
6511
  Ja,
6511
6512
  Ya,
6512
6513
  // Gapcursor,
6513
6514
  // Dropcursor,
6514
6515
  // CodeBlock,
6515
- Rs,
6516
- Gd,
6516
+ zs,
6517
+ Yd,
6517
6518
  vl,
6518
- Hr,
6519
- tu,
6520
- Qd,
6519
+ xr,
6520
+ au,
6521
+ Zd,
6521
6522
  wl,
6522
- nu,
6523
+ su,
6523
6524
  Cl,
6524
6525
  Dl,
6525
6526
  Il,
@@ -6529,8 +6530,8 @@ const ku = /* @__PURE__ */ B(_u, [["render", Su]]), Ml = ot.create({
6529
6530
  ];
6530
6531
  }
6531
6532
  });
6532
- function Du(e, t, a, l, o, i) {
6533
- const d = Os;
6533
+ function Iu(e, t, a, l, o, i) {
6534
+ const d = Ns;
6534
6535
  return n(), p(d, {
6535
6536
  modelValue: e.value,
6536
6537
  "onUpdate:modelValue": t[0] || (t[0] = (u) => e.value = u),
@@ -6558,11 +6559,11 @@ function Du(e, t, a, l, o, i) {
6558
6559
  onOnUpdate: e.onUpdate
6559
6560
  }, null, 8, ["modelValue", "extensions", "placeholder", "lang", "width", "height", "readonly", "tooltip", "charCountMax", "locale", "editorClass", "editorContentClass", "editorBubbleMenuClass", "editorMenubarClass", "editorFooterClass", "enableCharCount", "userState", "onOnCreate", "onOnTransaction", "onOnDestroy", "onOnBlur", "onOnFocus", "onOnUpdate"]);
6560
6561
  }
6561
- const va = /* @__PURE__ */ B(Cu, [["render", Du]]), Ia = {
6562
+ const va = /* @__PURE__ */ B(Du, [["render", Iu]]), Ia = {
6562
6563
  getUserAgent() {
6563
6564
  return navigator.userAgent;
6564
6565
  }
6565
- }, Iu = L({
6566
+ }, $u = L({
6566
6567
  name: "SdMaskedInput",
6567
6568
  emits: ["update:modelValue", "focus", "change", "blur", "keydown", "complete", "keypress", "paste"],
6568
6569
  props: {
@@ -6816,8 +6817,8 @@ const va = /* @__PURE__ */ B(Cu, [["render", Du]]), Ia = {
6816
6817
  return this.unmask ? this.modelValue != this.getUnmaskedValue() : this.defaultBuffer !== this.$el.value && this.$el.value !== this.modelValue;
6817
6818
  }
6818
6819
  }
6819
- }), $u = ["disabled", "readonly"];
6820
- function Tu(e, t, a, l, o, i) {
6820
+ }), Tu = ["disabled", "readonly"];
6821
+ function Mu(e, t, a, l, o, i) {
6821
6822
  return n(), w("input", {
6822
6823
  disabled: e.disabled,
6823
6824
  readonly: e.readonly,
@@ -6828,9 +6829,9 @@ function Tu(e, t, a, l, o, i) {
6828
6829
  onKeydown: t[4] || (t[4] = (...d) => e.onKeyDown && e.onKeyDown(...d)),
6829
6830
  onKeypress: t[5] || (t[5] = (...d) => e.onKeyPress && e.onKeyPress(...d)),
6830
6831
  onPaste: t[6] || (t[6] = (...d) => e.onPaste && e.onPaste(...d))
6831
- }, null, 40, $u);
6832
+ }, null, 40, Tu);
6832
6833
  }
6833
- const sg = /* @__PURE__ */ B(Iu, [["render", Tu]]), at = async (e, t, a) => await he.post(
6834
+ const dg = /* @__PURE__ */ B($u, [["render", Mu]]), at = async (e, t, a) => await he.post(
6834
6835
  `${a.host}/widget/crud/getdata-all`,
6835
6836
  { sdProvider: e, totalEnable: t },
6836
6837
  {
@@ -6860,7 +6861,7 @@ const sg = /* @__PURE__ */ B(Iu, [["render", Tu]]), at = async (e, t, a) => awai
6860
6861
  return o.dataid = o._id, { response: !0, data: o, message: l.data.message };
6861
6862
  } else
6862
6863
  return { response: !1, data: void 0, message: "Can't get form" };
6863
- }).catch((l) => l.response && l.response.data && l.response.data.message ? { response: !1, data: void 0, message: l.response.data.message } : { response: !1, data: void 0, message: "Can't get form" }), Mu = async (e, t, a) => await he.post(
6864
+ }).catch((l) => l.response && l.response.data && l.response.data.message ? { response: !1, data: void 0, message: l.response.data.message } : { response: !1, data: void 0, message: "Can't get form" }), Pu = async (e, t, a) => await he.post(
6864
6865
  `${a.host}/widget/sdform/getform-version`,
6865
6866
  { formId: e, versionName: t },
6866
6867
  {
@@ -6888,7 +6889,7 @@ const sg = /* @__PURE__ */ B(Iu, [["render", Tu]]), at = async (e, t, a) => awai
6888
6889
  return o.dataid = l.data.id, o._id = l.data.id, o;
6889
6890
  } else
6890
6891
  return null;
6891
- }).catch((l) => null), Pu = async (e, t, a) => await he.delete(`${a.host}/widget/sdform/delete-empty`, {
6892
+ }).catch((l) => null), Vu = async (e, t, a) => await he.delete(`${a.host}/widget/sdform/delete-empty`, {
6892
6893
  headers: {
6893
6894
  Authorization: `Bearer ${a.user?.token}`
6894
6895
  },
@@ -6912,12 +6913,12 @@ const sg = /* @__PURE__ */ B(Iu, [["render", Tu]]), at = async (e, t, a) => awai
6912
6913
  Authorization: `Bearer ${a.user?.token}`
6913
6914
  },
6914
6915
  data: { formId: e, dataId: t }
6915
- }).then((o) => !0).catch((o) => !1), rg = async (e, t, a) => await he.delete(`${a.host}/widget/sdform/delete-data`, {
6916
+ }).then((o) => !0).catch((o) => !1), ug = async (e, t, a) => await he.delete(`${a.host}/widget/sdform/delete-data`, {
6916
6917
  headers: {
6917
6918
  Authorization: `Bearer ${a.user?.token}`
6918
6919
  },
6919
6920
  data: { formId: e, dataId: t }
6920
- }).then((o) => !0).catch((o) => !1), Vu = [
6921
+ }).then((o) => !0).catch((o) => !1), Au = [
6921
6922
  "_id",
6922
6923
  "xparentx",
6923
6924
  "xsitex",
@@ -6937,10 +6938,10 @@ const sg = /* @__PURE__ */ B(Iu, [["render", Tu]]), at = async (e, t, a) => awai
6937
6938
  "updated_by.id",
6938
6939
  "updated_by.name",
6939
6940
  "updated_at"
6940
- ], dg = (e, t) => e && Object.keys(e).length > 0 && e[t] && e[t].type ? e[t].type : ["_id", "xparentx"].includes(t) ? Ue.ObjectId : Ue.Any, co = (e, t) => {
6941
+ ], pg = (e, t) => e && Object.keys(e).length > 0 && e[t] && e[t].type ? e[t].type : ["_id", "xparentx"].includes(t) ? Ue.ObjectId : Ue.Any, co = (e, t) => {
6941
6942
  const a = e && e.form_db && e.form_db.schema ? e.form_db.schema : null;
6942
6943
  return a && Object.keys(a).length > 0 && t && a[t] && a[t].type ? a[t].type : ["_id", "xparentx"].includes(t) ? Ue.ObjectId : Ue.Any;
6943
- }, Pl = (e, t) => ["_id", "xparentx"].includes(t) ? !0 : co(e, t) === "ObjectId", ug = async (e, t, a, l) => await he.put(
6944
+ }, Pl = (e, t) => ["_id", "xparentx"].includes(t) ? !0 : co(e, t) === "ObjectId", mg = async (e, t, a, l) => await he.put(
6944
6945
  `${l.host}/widget/sdform/check-parent`,
6945
6946
  { formId: e, dataId: t, formData: a },
6946
6947
  {
@@ -7065,7 +7066,7 @@ const sg = /* @__PURE__ */ B(Iu, [["render", Tu]]), at = async (e, t, a) => awai
7065
7066
  });
7066
7067
  }
7067
7068
  return e.created_by && (e.created_by.id === a.user_id || o || Ht(a.roles)) ? l = !0 : e.form_share.data_sharing && (e.form_share.data_sharing == "private" ? t && t.created_by && t.created_by.id && t.created_by.id === a.user_id && (l = !0) : e.form_share.data_sharing == "public" ? l = !0 : e.form_share.data_sharing == "site" ? t && t.xsitex && t.xsitex.code && t.xsitex.code === a.site.code && (l = !0) : e.form_share.data_sharing == "unit" && t && t.xunitx && t.xunitx.code && t.xunitx.code === a.unit.code && (l = !0)), l;
7068
- }, Au = (e, t) => {
7069
+ }, Ou = (e, t) => {
7069
7070
  let a = !1;
7070
7071
  if (e.form_options.data_manager && Object.keys(e.form_options.data_manager).length > 0) {
7071
7072
  const o = e.form_options.data_manager;
@@ -7159,7 +7160,7 @@ const sg = /* @__PURE__ */ B(Iu, [["render", Tu]]), at = async (e, t, a) => awai
7159
7160
  }
7160
7161
  } else
7161
7162
  return e;
7162
- }, Ou = (e, t, a, l, o) => {
7163
+ }, Nu = (e, t, a, l, o) => {
7163
7164
  let i = [];
7164
7165
  for (const d of t)
7165
7166
  for (const u of e)
@@ -7171,7 +7172,7 @@ const sg = /* @__PURE__ */ B(Iu, [["render", Tu]]), at = async (e, t, a) => awai
7171
7172
  break;
7172
7173
  }
7173
7174
  return i.join(", ");
7174
- }, Nu = L({
7175
+ }, Eu = L({
7175
7176
  name: "SdGridColumnDynamic",
7176
7177
  components: {
7177
7178
  // SdHtmlEditor,
@@ -7284,7 +7285,7 @@ const sg = /* @__PURE__ */ B(Iu, [["render", Tu]]), at = async (e, t, a) => awai
7284
7285
  }
7285
7286
  }
7286
7287
  });
7287
- function Eu(e, t, a, l, o, i) {
7288
+ function Lu(e, t, a, l, o, i) {
7288
7289
  const d = ge, u = oe, m = Y("sd-value-widget", !0), h = qe, c = Lt, _ = Ye, C = vt, b = Vo, M = ze, f = ra, y = Ma, k = Et, A = Ze, q = va, F = Ao;
7289
7290
  return e.schema.component === "sub-form" && !e.rawValue ? (n(), p(_, {
7290
7291
  key: 0,
@@ -7448,7 +7449,7 @@ function Eu(e, t, a, l, o, i) {
7448
7449
  }, 8, ["style", "type", "truncated", "line-clamp"]))
7449
7450
  ], 64));
7450
7451
  }
7451
- const xt = /* @__PURE__ */ B(Nu, [["render", Eu], ["__scopeId", "data-v-6f6b7a15"]]), Lu = L({
7452
+ const xt = /* @__PURE__ */ B(Eu, [["render", Lu], ["__scopeId", "data-v-6f6b7a15"]]), Bu = L({
7452
7453
  name: "SdUiListView",
7453
7454
  components: {
7454
7455
  // SdCrudPopupGrid,
@@ -7912,81 +7913,81 @@ const xt = /* @__PURE__ */ B(Nu, [["render", Eu], ["__scopeId", "data-v-6f6b7a15
7912
7913
  // }
7913
7914
  // },
7914
7915
  }
7915
- }), Bu = {
7916
+ }), ju = {
7916
7917
  key: 0,
7917
7918
  class: "list-box",
7918
7919
  style: { width: "100%", height: "100%" }
7919
- }, ju = { class: "list-title" }, Uu = {
7920
+ }, Uu = { class: "list-title" }, Ru = {
7920
7921
  key: 0,
7921
7922
  class: "text-5"
7922
- }, Ru = {
7923
+ }, zu = {
7923
7924
  key: 3,
7924
7925
  style: { "font-size": "12px", "font-weight": "300" }
7925
- }, zu = {
7926
+ }, qu = {
7926
7927
  key: 0,
7927
7928
  class: "list-search"
7928
- }, qu = {
7929
+ }, Hu = {
7929
7930
  key: 1,
7930
7931
  class: "list-view"
7931
- }, Hu = {
7932
+ }, xu = {
7932
7933
  key: 0,
7933
7934
  class: "list-group"
7934
- }, xu = ["onClick"], Wu = {
7935
+ }, Wu = ["onClick"], Ku = {
7935
7936
  key: 0,
7936
7937
  class: "list-icon"
7937
- }, Ku = { class: "list-body" }, Gu = { class: "body-title" }, Yu = ["innerHTML"], Ju = { class: "body-content" }, Xu = ["innerHTML"], Qu = ["innerHTML"], Zu = {
7938
+ }, Gu = { class: "list-body" }, Yu = { class: "body-title" }, Ju = ["innerHTML"], Xu = { class: "body-content" }, Qu = ["innerHTML"], Zu = ["innerHTML"], ep = {
7938
7939
  key: 3,
7939
7940
  class: "list-actions"
7940
- }, ep = {
7941
+ }, tp = {
7941
7942
  key: 0,
7942
7943
  class: "list-group",
7943
7944
  style: { "text-align": "center" }
7944
- }, tp = {
7945
+ }, ap = {
7945
7946
  key: 1,
7946
7947
  class: "timeline-box",
7947
7948
  style: { width: "100%", height: "100%" }
7948
- }, ap = { class: "list-title" }, lp = {
7949
+ }, lp = { class: "list-title" }, op = {
7949
7950
  key: 0,
7950
7951
  class: "text-5"
7951
- }, op = {
7952
+ }, ip = {
7952
7953
  key: 3,
7953
7954
  style: { "font-size": "12px", "font-weight": "300" }
7954
- }, ip = { class: "timeline-title" }, np = ["innerHTML"], sp = { class: "timeline-content" }, rp = ["innerHTML"], dp = {
7955
+ }, np = { class: "timeline-title" }, sp = ["innerHTML"], rp = { class: "timeline-content" }, dp = ["innerHTML"], up = {
7955
7956
  key: 2,
7956
7957
  class: "thumbnail-box",
7957
7958
  style: { width: "100%", height: "100%" }
7958
- }, up = { class: "list-title" }, pp = {
7959
+ }, pp = { class: "list-title" }, mp = {
7959
7960
  key: 0,
7960
7961
  class: "text-5"
7961
- }, mp = {
7962
+ }, fp = {
7962
7963
  key: 3,
7963
7964
  style: { "font-size": "12px", "font-weight": "300" }
7964
- }, fp = {
7965
+ }, hp = {
7965
7966
  key: 0,
7966
7967
  class: "list-search"
7967
- }, hp = { key: 1 }, cp = ["onClick"], bp = ["innerHTML"], gp = {
7968
+ }, cp = { key: 1 }, bp = ["onClick"], gp = ["innerHTML"], yp = {
7968
7969
  key: 3,
7969
7970
  class: "thumbnail-box",
7970
7971
  style: { width: "100%", height: "100%" }
7971
- }, yp = { class: "list-title" }, vp = {
7972
+ }, vp = { class: "list-title" }, wp = {
7972
7973
  key: 0,
7973
7974
  class: "text-5"
7974
- }, wp = {
7975
+ }, Fp = {
7975
7976
  key: 3,
7976
7977
  style: { "font-size": "12px", "font-weight": "300" }
7977
- }, Fp = {
7978
+ }, _p = {
7978
7979
  key: 0,
7979
7980
  class: "list-search"
7980
- }, _p = { key: 1 }, Sp = { class: "el-image__error" }, kp = ["innerHTML"], Cp = ["innerHTML"], Dp = ["innerHTML"], Ip = {
7981
+ }, Sp = { key: 1 }, kp = { class: "el-image__error" }, Cp = ["innerHTML"], Dp = ["innerHTML"], Ip = ["innerHTML"], $p = {
7981
7982
  key: 3,
7982
7983
  class: "thumbnail-actions"
7983
7984
  };
7984
- function $p(e, t, a, l, o, i) {
7985
+ function Tp(e, t, a, l, o, i) {
7985
7986
  const d = Ze, u = ge, m = Y("Loading"), h = Ge, c = oe, _ = Y("search"), C = $e, b = Va, M = xt, f = ze, y = Ol, k = Oo, A = lt, q = Y("Picture"), F = vt, I = Aa;
7986
7987
  return n(), w(E, null, [
7987
- e.listType === "listview" ? (n(), w("div", Bu, [
7988
- P("div", ju, [
7989
- e.titleEnable ? (n(), w("span", Uu, [
7988
+ e.listType === "listview" ? (n(), w("div", ju, [
7989
+ P("div", Uu, [
7990
+ e.titleEnable ? (n(), w("span", Ru, [
7990
7991
  e.iconForm != "" ? (n(), p(d, {
7991
7992
  key: 0,
7992
7993
  "svg-data": e.iconForm
@@ -7998,7 +7999,7 @@ function $p(e, t, a, l, o, i) {
7998
7999
  "icon-name": "icon-sdform"
7999
8000
  })),
8000
8001
  S(" " + O(e.titleNameForm) + " ", 1),
8001
- e.totalEnable ? (n(), w("span", Ru, " ( " + O(e.totalLabel()) + " )", 1)) : g("", !0)
8002
+ e.totalEnable ? (n(), w("span", zu, " ( " + O(e.totalLabel()) + " )", 1)) : g("", !0)
8002
8003
  ])) : g("", !0),
8003
8004
  e.preLoading ? (n(), p(h, {
8004
8005
  key: 1,
@@ -8010,7 +8011,7 @@ function $p(e, t, a, l, o, i) {
8010
8011
  _: 1
8011
8012
  })) : g("", !0)
8012
8013
  ]),
8013
- e.searchFields ? (n(), w("div", zu, [
8014
+ e.searchFields ? (n(), w("div", qu, [
8014
8015
  r(C, {
8015
8016
  modelValue: e.searchText,
8016
8017
  "onUpdate:modelValue": t[0] || (t[0] = (V) => e.searchText = V),
@@ -8049,7 +8050,7 @@ function $p(e, t, a, l, o, i) {
8049
8050
  } : void 0
8050
8051
  ]), 1032, ["modelValue", "placeholder", "onChange"])
8051
8052
  ])) : g("", !0),
8052
- e.loadEnable ? (n(), w("ul", qu, [
8053
+ e.loadEnable ? (n(), w("ul", Hu, [
8053
8054
  r(y, {
8054
8055
  onEndReached: e.nextLoad,
8055
8056
  distance: e.scrollDistance ? e.scrollDistance : void 0,
@@ -8059,12 +8060,12 @@ function $p(e, t, a, l, o, i) {
8059
8060
  (n(!0), w(E, null, G(e.rawData, (V, T) => (n(), w(E, {
8060
8061
  key: V._id
8061
8062
  }, [
8062
- e.groupField && e.groupValue[V._id] ? (n(), w("li", Hu, O(e.groupValue[V._id]), 1)) : g("", !0),
8063
+ e.groupField && e.groupValue[V._id] ? (n(), w("li", xu, O(e.groupValue[V._id]), 1)) : g("", !0),
8063
8064
  P("li", {
8064
8065
  class: "list-item",
8065
8066
  onClick: (H) => e.handleClick(V, T)
8066
8067
  }, [
8067
- e.iconField ? (n(), w("span", Wu, [
8068
+ e.iconField ? (n(), w("span", Ku, [
8068
8069
  r(b, {
8069
8070
  shape: "square",
8070
8071
  fit: "cover",
@@ -8073,8 +8074,8 @@ function $p(e, t, a, l, o, i) {
8073
8074
  src: e.getImage(V, e.iconField)
8074
8075
  }, null, 8, ["style", "src"])
8075
8076
  ])) : g("", !0),
8076
- P("span", Ku, [
8077
- P("div", Gu, [
8077
+ P("span", Gu, [
8078
+ P("div", Yu, [
8078
8079
  r(f, { truncated: "" }, {
8079
8080
  default: s(() => [
8080
8081
  e.titleField ? (n(), p(M, {
@@ -8088,16 +8089,16 @@ function $p(e, t, a, l, o, i) {
8088
8089
  }, null, 8, ["sdform-model", "field-name", "field-setting", "subform-width", "raw-data", "user-state"])) : (n(), w("span", {
8089
8090
  key: 1,
8090
8091
  innerHTML: e.htmlValue(e.titleContent, V)
8091
- }, null, 8, Yu))
8092
+ }, null, 8, Ju))
8092
8093
  ]),
8093
8094
  _: 2
8094
8095
  }, 1024)
8095
8096
  ]),
8096
- P("div", Ju, [
8097
+ P("div", Xu, [
8097
8098
  e.detailContent ? (n(), w("span", {
8098
8099
  key: 0,
8099
8100
  innerHTML: e.htmlValue(e.detailContent, V)
8100
- }, null, 8, Xu)) : g("", !0)
8101
+ }, null, 8, Qu)) : g("", !0)
8101
8102
  ])
8102
8103
  ]),
8103
8104
  e.statusField ? (n(), w("span", {
@@ -8119,8 +8120,8 @@ function $p(e, t, a, l, o, i) {
8119
8120
  class: "list-status",
8120
8121
  style: te({ color: e.colorField && V[e.colorField] ? V[e.colorField] : void 0 }),
8121
8122
  innerHTML: e.htmlValue(e.statusContent, V)
8122
- }, null, 12, Qu)) : g("", !0),
8123
- e.actionEnable ? (n(), w("span", Zu, [
8123
+ }, null, 12, Zu)) : g("", !0),
8124
+ e.actionEnable ? (n(), w("span", ep, [
8124
8125
  fe(e.$slots, "actionBtnRow", {
8125
8126
  row: V,
8126
8127
  index: T
@@ -8156,17 +8157,17 @@ function $p(e, t, a, l, o, i) {
8156
8157
  onClick: R((H) => e.handleDelete(V, T), ["prevent"])
8157
8158
  }, null, 8, ["onClick"])) : g("", !0)
8158
8159
  ])) : g("", !0)
8159
- ], 8, xu)
8160
+ ], 8, Wu)
8160
8161
  ], 64))), 128)),
8161
- e.noMore && !e.disableNoMore ? (n(), w("li", ep, O(e.noMoreLabel), 1)) : g("", !0)
8162
+ e.noMore && !e.disableNoMore ? (n(), w("li", tp, O(e.noMoreLabel), 1)) : g("", !0)
8162
8163
  ]),
8163
8164
  _: 3
8164
8165
  }, 8, ["onEndReached", "distance", "style"])
8165
8166
  ])) : g("", !0)
8166
8167
  ])) : g("", !0),
8167
- e.listType === "timeline" ? (n(), w("div", tp, [
8168
- P("div", ap, [
8169
- e.titleEnable ? (n(), w("span", lp, [
8168
+ e.listType === "timeline" ? (n(), w("div", ap, [
8169
+ P("div", lp, [
8170
+ e.titleEnable ? (n(), w("span", op, [
8170
8171
  e.iconForm != "" ? (n(), p(d, {
8171
8172
  key: 0,
8172
8173
  "svg-data": e.iconForm
@@ -8178,7 +8179,7 @@ function $p(e, t, a, l, o, i) {
8178
8179
  "icon-name": "icon-sdform"
8179
8180
  })),
8180
8181
  S(" " + O(e.titleNameForm) + " ", 1),
8181
- e.totalEnable ? (n(), w("span", op, " ( " + O(e.totalLabel()) + " )", 1)) : g("", !0)
8182
+ e.totalEnable ? (n(), w("span", ip, " ( " + O(e.totalLabel()) + " )", 1)) : g("", !0)
8182
8183
  ])) : g("", !0),
8183
8184
  e.preLoading ? (n(), p(h, {
8184
8185
  key: 1,
@@ -8205,7 +8206,7 @@ function $p(e, t, a, l, o, i) {
8205
8206
  color: e.colorField && V[e.colorField] ? V[e.colorField] : void 0
8206
8207
  }, {
8207
8208
  default: s(() => [
8208
- P("div", ip, [
8209
+ P("div", np, [
8209
8210
  r(f, { truncated: "" }, {
8210
8211
  default: s(() => [
8211
8212
  e.titleField ? (n(), p(M, {
@@ -8219,16 +8220,16 @@ function $p(e, t, a, l, o, i) {
8219
8220
  }, null, 8, ["sdform-model", "field-name", "field-setting", "subform-width", "raw-data", "user-state"])) : (n(), w("span", {
8220
8221
  key: 1,
8221
8222
  innerHTML: e.htmlValue(e.titleContent, V)
8222
- }, null, 8, np))
8223
+ }, null, 8, sp))
8223
8224
  ]),
8224
8225
  _: 2
8225
8226
  }, 1024)
8226
8227
  ]),
8227
- P("div", sp, [
8228
+ P("div", rp, [
8228
8229
  e.detailContent ? (n(), w("span", {
8229
8230
  key: 0,
8230
8231
  innerHTML: e.htmlValue(e.detailContent, V)
8231
- }, null, 8, rp)) : g("", !0)
8232
+ }, null, 8, dp)) : g("", !0)
8232
8233
  ])
8233
8234
  ]),
8234
8235
  _: 2
@@ -8237,9 +8238,9 @@ function $p(e, t, a, l, o, i) {
8237
8238
  _: 1
8238
8239
  }, 8, ["onEndReached", "distance", "style"])) : g("", !0)
8239
8240
  ])) : g("", !0),
8240
- e.listType === "listicon" ? (n(), w("div", dp, [
8241
- P("div", up, [
8242
- e.titleEnable ? (n(), w("span", pp, [
8241
+ e.listType === "listicon" ? (n(), w("div", up, [
8242
+ P("div", pp, [
8243
+ e.titleEnable ? (n(), w("span", mp, [
8243
8244
  e.iconForm != "" ? (n(), p(d, {
8244
8245
  key: 0,
8245
8246
  "svg-data": e.iconForm
@@ -8251,7 +8252,7 @@ function $p(e, t, a, l, o, i) {
8251
8252
  "icon-name": "icon-sdform"
8252
8253
  })),
8253
8254
  S(" " + O(e.titleNameForm) + " ", 1),
8254
- e.totalEnable ? (n(), w("span", mp, " ( " + O(e.totalLabel()) + " )", 1)) : g("", !0)
8255
+ e.totalEnable ? (n(), w("span", fp, " ( " + O(e.totalLabel()) + " )", 1)) : g("", !0)
8255
8256
  ])) : g("", !0),
8256
8257
  e.preLoading ? (n(), p(h, {
8257
8258
  key: 1,
@@ -8263,7 +8264,7 @@ function $p(e, t, a, l, o, i) {
8263
8264
  _: 1
8264
8265
  })) : g("", !0)
8265
8266
  ]),
8266
- e.searchFields ? (n(), w("div", fp, [
8267
+ e.searchFields ? (n(), w("div", hp, [
8267
8268
  r(C, {
8268
8269
  modelValue: e.searchText,
8269
8270
  "onUpdate:modelValue": t[1] || (t[1] = (V) => e.searchText = V),
@@ -8288,7 +8289,7 @@ function $p(e, t, a, l, o, i) {
8288
8289
  ]),
8289
8290
  _: 1
8290
8291
  }, 8, ["modelValue", "placeholder", "onChange"])
8291
- ])) : (n(), w("br", hp)),
8292
+ ])) : (n(), w("br", cp)),
8292
8293
  e.loadEnable ? (n(), p(y, {
8293
8294
  key: 2,
8294
8295
  tag: "el-row",
@@ -8316,7 +8317,7 @@ function $p(e, t, a, l, o, i) {
8316
8317
  r(b, {
8317
8318
  shape: "square",
8318
8319
  fit: "cover",
8319
- style: te(`margin-bottom: 2px; width: ${e.iconWigth}px; height: ${e.iconWigth}px`),
8320
+ style: te(`margin-bottom: 2px; width: ${e.iconWigth}px; height: ${e.iconWigth}px; background-color: transparent;`),
8320
8321
  icon: "Picture",
8321
8322
  src: e.getImage(V, e.iconField)
8322
8323
  }, null, 8, ["style", "src"]),
@@ -8340,12 +8341,12 @@ function $p(e, t, a, l, o, i) {
8340
8341
  }, null, 8, ["sdform-model", "field-name", "field-setting", "subform-width", "raw-data", "user-state"])) : (n(), w("span", {
8341
8342
  key: 1,
8342
8343
  innerHTML: e.htmlValue(e.titleContent, V)
8343
- }, null, 8, bp))
8344
+ }, null, 8, gp))
8344
8345
  ]),
8345
8346
  _: 2
8346
8347
  }, 1024)
8347
8348
  ], 4)
8348
- ], 8, cp)
8349
+ ], 8, bp)
8349
8350
  ]),
8350
8351
  _: 2
8351
8352
  }, 1032, ["lg", "xl"]))), 128))
@@ -8353,9 +8354,9 @@ function $p(e, t, a, l, o, i) {
8353
8354
  _: 1
8354
8355
  }, 8, ["onEndReached", "distance", "style"])) : g("", !0)
8355
8356
  ])) : g("", !0),
8356
- e.listType === "thumbnail" ? (n(), w("div", gp, [
8357
- P("div", yp, [
8358
- e.titleEnable ? (n(), w("span", vp, [
8357
+ e.listType === "thumbnail" ? (n(), w("div", yp, [
8358
+ P("div", vp, [
8359
+ e.titleEnable ? (n(), w("span", wp, [
8359
8360
  e.iconForm != "" ? (n(), p(d, {
8360
8361
  key: 0,
8361
8362
  "svg-data": e.iconForm
@@ -8367,7 +8368,7 @@ function $p(e, t, a, l, o, i) {
8367
8368
  "icon-name": "icon-sdform"
8368
8369
  })),
8369
8370
  S(" " + O(e.titleNameForm) + " ", 1),
8370
- e.totalEnable ? (n(), w("span", wp, " ( " + O(e.totalLabel()) + " )", 1)) : g("", !0)
8371
+ e.totalEnable ? (n(), w("span", Fp, " ( " + O(e.totalLabel()) + " )", 1)) : g("", !0)
8371
8372
  ])) : g("", !0),
8372
8373
  e.preLoading ? (n(), p(h, {
8373
8374
  key: 1,
@@ -8379,7 +8380,7 @@ function $p(e, t, a, l, o, i) {
8379
8380
  _: 1
8380
8381
  })) : g("", !0)
8381
8382
  ]),
8382
- e.searchFields ? (n(), w("div", Fp, [
8383
+ e.searchFields ? (n(), w("div", _p, [
8383
8384
  r(C, {
8384
8385
  modelValue: e.searchText,
8385
8386
  "onUpdate:modelValue": t[2] || (t[2] = (V) => e.searchText = V),
@@ -8417,7 +8418,7 @@ function $p(e, t, a, l, o, i) {
8417
8418
  key: "0"
8418
8419
  } : void 0
8419
8420
  ]), 1032, ["modelValue", "placeholder", "onChange"])
8420
- ])) : (n(), w("br", _p)),
8421
+ ])) : (n(), w("br", Sp)),
8421
8422
  e.loadEnable ? (n(), p(y, {
8422
8423
  key: 2,
8423
8424
  tag: "el-row",
@@ -8454,7 +8455,7 @@ function $p(e, t, a, l, o, i) {
8454
8455
  fit: "cover"
8455
8456
  }, {
8456
8457
  error: s(() => [
8457
- P("div", Sp, [
8458
+ P("div", kp, [
8458
8459
  r(h, { style: { "font-size": "50px" } }, {
8459
8460
  default: s(() => [
8460
8461
  r(q)
@@ -8483,7 +8484,7 @@ function $p(e, t, a, l, o, i) {
8483
8484
  }, null, 8, ["sdform-model", "field-name", "field-setting", "subform-width", "raw-data", "user-state"])) : (n(), w("span", {
8484
8485
  key: 1,
8485
8486
  innerHTML: e.htmlValue(e.titleContent, V)
8486
- }, null, 8, kp))
8487
+ }, null, 8, Cp))
8487
8488
  ]),
8488
8489
  _: 2
8489
8490
  }, 1024)
@@ -8496,7 +8497,7 @@ function $p(e, t, a, l, o, i) {
8496
8497
  e.detailContent ? (n(), w("span", {
8497
8498
  key: 0,
8498
8499
  innerHTML: e.htmlValue(e.detailContent, V)
8499
- }, null, 8, Cp)) : g("", !0)
8500
+ }, null, 8, Dp)) : g("", !0)
8500
8501
  ]),
8501
8502
  _: 2
8502
8503
  }, 1032, ["line-clamp"])) : g("", !0),
@@ -8516,9 +8517,9 @@ function $p(e, t, a, l, o, i) {
8516
8517
  }, null, 8, ["sdform-model", "field-name", "field-setting", "subform-width", "raw-data", "user-state"])) : (n(), w("span", {
8517
8518
  key: 1,
8518
8519
  innerHTML: e.htmlValue(e.statusContent, V)
8519
- }, null, 8, Dp))
8520
+ }, null, 8, Ip))
8520
8521
  ], 4)) : g("", !0),
8521
- e.actionEnable ? (n(), w("span", Ip, [
8522
+ e.actionEnable ? (n(), w("span", $p, [
8522
8523
  fe(e.$slots, "actionBtnRow", {
8523
8524
  row: V,
8524
8525
  index: T
@@ -8566,7 +8567,7 @@ function $p(e, t, a, l, o, i) {
8566
8567
  ])) : g("", !0)
8567
8568
  ], 64);
8568
8569
  }
8569
- const Tp = /* @__PURE__ */ B(Lu, [["render", $p], ["__scopeId", "data-v-11e15de9"]]), pg = /* @__PURE__ */ L({
8570
+ const Mp = /* @__PURE__ */ B(Bu, [["render", Tp], ["__scopeId", "data-v-1f164b24"]]), fg = /* @__PURE__ */ L({
8570
8571
  __name: "SdAppList",
8571
8572
  props: {
8572
8573
  userState: {
@@ -9491,7 +9492,7 @@ const Tp = /* @__PURE__ */ B(Lu, [["render", $p], ["__scopeId", "data-v-11e15de9
9491
9492
  }
9492
9493
  return Je(() => {
9493
9494
  }), (o, i) => {
9494
- const d = Tp;
9495
+ const d = Mp;
9495
9496
  return n(), p(d, {
9496
9497
  "form-id": a.formId,
9497
9498
  "provider-type": "SYS",
@@ -9515,10 +9516,10 @@ const Tp = /* @__PURE__ */ B(Lu, [["render", $p], ["__scopeId", "data-v-11e15de9
9515
9516
  function Ta(e) {
9516
9517
  return e.includes("admin") || e.includes("super");
9517
9518
  }
9518
- const Mp = Xo(() => import("./sd-render-Db7-FEvT.js").then((e) => e.S)), Pp = L({
9519
+ const Pp = Xo(() => import("./sd-render-E0INO1rV.js").then((e) => e.S)), Vp = L({
9519
9520
  name: "SdCrudForm",
9520
9521
  components: {
9521
- SdFormRenderAsync: Mp
9522
+ SdFormRenderAsync: Pp
9522
9523
  },
9523
9524
  props: {
9524
9525
  formId: {
@@ -9652,7 +9653,7 @@ const Mp = Xo(() => import("./sd-render-Db7-FEvT.js").then((e) => e.S)), Pp = L(
9652
9653
  };
9653
9654
  },
9654
9655
  async beforeUnmount() {
9655
- this.formData && this.formData._id && La(this.formData.xrstatx) && this.formData.xrstatx === 0 && (this.isInsert = !0, this.sdformModel.dataid && (await Pu(this.sdformModel.dataid, this.formData._id, this.useUserState) || N.warning("Unable to delete empty data")));
9656
+ this.formData && this.formData._id && La(this.formData.xrstatx) && this.formData.xrstatx === 0 && (this.isInsert = !0, this.sdformModel.dataid && (await Vu(this.sdformModel.dataid, this.formData._id, this.useUserState) || N.warning("Unable to delete empty data")));
9656
9657
  },
9657
9658
  methods: {
9658
9659
  async initForm(e) {
@@ -9661,7 +9662,7 @@ const Mp = Xo(() => import("./sd-render-Db7-FEvT.js").then((e) => e.S)), Pp = L(
9661
9662
  if (await this.getFormDataRecord(), this.formData.xversionx && this.formData.xversionx !== this.sdformModel.form_version) {
9662
9663
  let o = !0;
9663
9664
  if (this.userState.versionStore[this.formId][this.formData.xversionx] && (this.curFormId = this.userState.versionStore[this.formId][this.formData.xversionx], this.userState.formStore[this.curFormId] && (this.sdformModel = D(this.userState.formStore[this.curFormId]), o = !1)), o) {
9664
- const i = await Mu(this.formId, this.formData.xversionx, this.useUserState);
9665
+ const i = await Pu(this.formId, this.formData.xversionx, this.useUserState);
9665
9666
  i.response && i.data && i.data.dataid && (this.sdformModel = D(i.data), this.userState.formStore[i.data.dataid] = this.sdformModel, this.userState.versionStore[this.formId][`${this.sdformModel.form_version}`] = i.data.dataid);
9666
9667
  }
9667
9668
  }
@@ -9685,7 +9686,7 @@ const Mp = Xo(() => import("./sd-render-Db7-FEvT.js").then((e) => e.S)), Pp = L(
9685
9686
  }
9686
9687
  }
9687
9688
  }
9688
- this.formData.xrstatx && this.formData.xrstatx > 1 && (this.formReadonly = !0), this.sdformModel.form_options.query_tool && this.sdformModel.form_options.query_tool != "disable" ? (this.saveDart = !0, this.rstatSubmit = 2, this.formData.xrstatx && this.formData.xrstatx !== 0 ? this.enableSubmit = !0 : this.enableSubmit = !1, this.enableSubmit && (this.sdformModel.form_options.query_tool === "enable_error_check" ? this.dataError ? this.btnDisable = !0 : this.btnDisable = !1 : this.btnDisable = !1, this.formData.xrstatx && this.formData.xrstatx === 2 ? this.userState.user && (this.reSaveDart = Au(this.sdformModel, this.userState.user)) : this.reSaveDart = !1)) : this.saveDart = !1;
9689
+ this.formData.xrstatx && this.formData.xrstatx > 1 && (this.formReadonly = !0), this.sdformModel.form_options.query_tool && this.sdformModel.form_options.query_tool != "disable" ? (this.saveDart = !0, this.rstatSubmit = 2, this.formData.xrstatx && this.formData.xrstatx !== 0 ? this.enableSubmit = !0 : this.enableSubmit = !1, this.enableSubmit && (this.sdformModel.form_options.query_tool === "enable_error_check" ? this.dataError ? this.btnDisable = !0 : this.btnDisable = !1 : this.btnDisable = !1, this.formData.xrstatx && this.formData.xrstatx === 2 ? this.userState.user && (this.reSaveDart = Ou(this.sdformModel, this.userState.user)) : this.reSaveDart = !1)) : this.saveDart = !1;
9689
9690
  const a = D(this.formData), l = D(this.params);
9690
9691
  this.defaultParams = { ...l, ...a }, this.sdformModel.form_event && this.sdformModel.form_event.after_save && this.sdformModel.form_event.enable && (this.afterSaveForm = new Function("isInsert", "formData", "formOldData", ...De, this.sdformModel.form_event.after_save)), this.loading?.close(), this.loadForm = !0;
9691
9692
  },
@@ -9723,13 +9724,13 @@ const Mp = Xo(() => import("./sd-render-Db7-FEvT.js").then((e) => e.S)), Pp = L(
9723
9724
  else if (this.sdformModel.form_event.enable && this.sdformModel.form_event.open_next_form && Object.values(this.sdformModel.form_event.open_next_form).length > 0)
9724
9725
  for (const a of this.sdformModel.form_event.open_next_form) {
9725
9726
  let l = "true";
9726
- if (a.cond && (l = a.cond), Bn(l, e) && a.form) {
9727
+ if (a.cond && (l = a.cond), jn(l, e) && a.form) {
9727
9728
  if (this.subFormOpen) {
9728
9729
  const o = ga(e);
9729
9730
  let i = {};
9730
9731
  if (a.initdata && Object.values(a.initdata).length > 0)
9731
9732
  for (const d of a.initdata) {
9732
- const u = jn(d.value, e);
9733
+ const u = Un(d.value, e);
9733
9734
  $a(i, d.field, u);
9734
9735
  }
9735
9736
  this.nextOpenForm = {
@@ -9805,7 +9806,7 @@ const Mp = Xo(() => import("./sd-render-Db7-FEvT.js").then((e) => e.S)), Pp = L(
9805
9806
  }
9806
9807
  }
9807
9808
  });
9808
- function Vp(e, t, a, l, o, i) {
9809
+ function Ap(e, t, a, l, o, i) {
9809
9810
  const d = da, u = Y("SdFormRenderAsync"), m = oe, h = lt, c = St;
9810
9811
  return n(), w(E, null, [
9811
9812
  e.hideForm ? (n(), p(d, {
@@ -9898,7 +9899,7 @@ function Vp(e, t, a, l, o, i) {
9898
9899
  })) : g("", !0)
9899
9900
  ], 64);
9900
9901
  }
9901
- const bo = /* @__PURE__ */ B(Pp, [["render", Vp]]), Ap = L({
9902
+ const bo = /* @__PURE__ */ B(Vp, [["render", Ap]]), Op = L({
9902
9903
  name: "SdAppViewer",
9903
9904
  components: {},
9904
9905
  props: {
@@ -9998,22 +9999,22 @@ const bo = /* @__PURE__ */ B(Pp, [["render", Vp]]), Ap = L({
9998
9999
  return a;
9999
10000
  }
10000
10001
  }
10001
- }), Op = {
10002
+ }), Np = {
10002
10003
  key: 0,
10003
10004
  class: "app_page"
10004
- }, Np = { class: "app_header" }, Ep = { class: "app_title text-6" }, Lp = { class: "ml-2" }, Bp = { class: "ml-1 sub-title" }, jp = { class: "app_actions" }, Up = { class: "app_content" }, Rp = { class: "tabs-label" }, zp = { class: "tabs-content" }, qp = {
10005
+ }, Ep = { class: "app_header" }, Lp = { class: "app_title text-6" }, Bp = { class: "ml-2" }, jp = { class: "ml-1 sub-title" }, Up = { class: "app_actions" }, Rp = { class: "app_content" }, zp = { class: "tabs-label" }, qp = { class: "tabs-content" }, Hp = {
10005
10006
  key: 1,
10006
10007
  class: "tabs-content"
10007
- }, Hp = { key: 2 }, xp = {
10008
+ }, xp = { key: 2 }, Wp = {
10008
10009
  role: "heading",
10009
10010
  class: "el-dialog__title"
10010
10011
  };
10011
- function Wp(e, t, a, l, o, i) {
10012
+ function Kp(e, t, a, l, o, i) {
10012
10013
  const d = Va, u = oe, m = ge, h = bo, c = da, _ = Eo, C = No, b = va, M = Fe, f = zl("can");
10013
10014
  return n(), w(E, null, [
10014
- e.appId ? (n(), w("div", Op, [
10015
- P("div", Np, [
10016
- P("span", Ep, [
10015
+ e.appId ? (n(), w("div", Np, [
10016
+ P("div", Ep, [
10017
+ P("span", Lp, [
10017
10018
  r(d, {
10018
10019
  shape: "square",
10019
10020
  fit: "cover",
@@ -10021,11 +10022,11 @@ function Wp(e, t, a, l, o, i) {
10021
10022
  icon: "Picture",
10022
10023
  src: e.getImage(e.appIcon)
10023
10024
  }, null, 8, ["src"]),
10024
- P("span", Lp, O(e.appTitle), 1),
10025
+ P("span", Bp, O(e.appTitle), 1),
10025
10026
  t[3] || (t[3] = S()),
10026
- P("span", Bp, O(e.appTitleSub), 1)
10027
+ P("span", jp, O(e.appTitleSub), 1)
10027
10028
  ]),
10028
- P("span", jp, [
10029
+ P("span", Up, [
10029
10030
  e.appInfo ? (n(), p(u, {
10030
10031
  key: 0,
10031
10032
  circle: "",
@@ -10036,7 +10037,7 @@ function Wp(e, t, a, l, o, i) {
10036
10037
  fe(e.$slots, "actions", {}, void 0, !0)
10037
10038
  ])
10038
10039
  ]),
10039
- P("div", Up, [
10040
+ P("div", Rp, [
10040
10041
  e.appTabs.length > 1 ? (n(), p(C, {
10041
10042
  key: 0,
10042
10043
  modelValue: e.tab,
@@ -10053,7 +10054,7 @@ function Wp(e, t, a, l, o, i) {
10053
10054
  lazy: e.lazyLoad
10054
10055
  }, {
10055
10056
  label: s(() => [
10056
- P("span", Rp, [
10057
+ P("span", zp, [
10057
10058
  y.tab_icon ? (n(), p(m, {
10058
10059
  key: 0,
10059
10060
  "icon-name": y.tab_icon,
@@ -10063,7 +10064,7 @@ function Wp(e, t, a, l, o, i) {
10063
10064
  ])
10064
10065
  ]),
10065
10066
  default: s(() => [
10066
- Ve((n(), w("div", zp, [
10067
+ Ve((n(), w("div", qp, [
10067
10068
  y.tab_widget_name ? (n(), p(pa(e.customComponents[y.tab_widget_name]), ae({
10068
10069
  key: 0,
10069
10070
  ref_for: !0
@@ -10110,7 +10111,7 @@ function Wp(e, t, a, l, o, i) {
10110
10111
  }, 1032, ["label", "name", "lazy"]))), 128))
10111
10112
  ]),
10112
10113
  _: 1
10113
- }, 8, ["modelValue", "onTabChange"])) : e.appTabs.length === 1 && e.appTabs[0].tab_form && e.getFormId(e.appTabs[0].tab_form) ? Ve((n(), w("div", qp, [
10114
+ }, 8, ["modelValue", "onTabChange"])) : e.appTabs.length === 1 && e.appTabs[0].tab_form && e.getFormId(e.appTabs[0].tab_form) ? Ve((n(), w("div", Hp, [
10114
10115
  r(h, {
10115
10116
  "form-id": e.getFormId(e.appTabs[0].tab_form),
10116
10117
  "data-id": e.dataId,
@@ -10151,7 +10152,7 @@ function Wp(e, t, a, l, o, i) {
10151
10152
  type: "warning",
10152
10153
  "show-icon": ""
10153
10154
  })) : g("", !0),
10154
- e.showInfo ? (n(), w("div", Hp, [
10155
+ e.showInfo ? (n(), w("div", xp, [
10155
10156
  r(M, {
10156
10157
  title: "App Info",
10157
10158
  modelValue: e.showInfo,
@@ -10166,7 +10167,7 @@ function Wp(e, t, a, l, o, i) {
10166
10167
  "destroy-on-close": !0
10167
10168
  }, {
10168
10169
  header: s(({ close: y, titleId: k, titleClass: A }) => [
10169
- P("span", xp, [
10170
+ P("span", Wp, [
10170
10171
  r(m, { "icon-name": "el-info-filled" }),
10171
10172
  t[4] || (t[4] = S(" App Info ", -1))
10172
10173
  ])
@@ -10186,7 +10187,7 @@ function Wp(e, t, a, l, o, i) {
10186
10187
  ])) : g("", !0)
10187
10188
  ], 64);
10188
10189
  }
10189
- const mg = /* @__PURE__ */ B(Ap, [["render", Wp], ["__scopeId", "data-v-bc1eaadb"]]);
10190
+ const hg = /* @__PURE__ */ B(Op, [["render", Kp], ["__scopeId", "data-v-bc1eaadb"]]);
10190
10191
  tn.register(
10191
10192
  an,
10192
10193
  ln,
@@ -10203,7 +10204,7 @@ tn.register(
10203
10204
  cn,
10204
10205
  bn
10205
10206
  );
10206
- const Kp = L({
10207
+ const Gp = L({
10207
10208
  name: "SdChart",
10208
10209
  components: { Chart: gn },
10209
10210
  props: {
@@ -10470,7 +10471,7 @@ const Kp = L({
10470
10471
  }
10471
10472
  }
10472
10473
  });
10473
- function Gp(e, t, a, l, o, i) {
10474
+ function Yp(e, t, a, l, o, i) {
10474
10475
  const d = Y("chart");
10475
10476
  return n(), w("div", {
10476
10477
  ref: "chartRef",
@@ -10491,9 +10492,9 @@ function Gp(e, t, a, l, o, i) {
10491
10492
  ], 64))
10492
10493
  ], 4);
10493
10494
  }
10494
- const fg = /* @__PURE__ */ B(Kp, [["render", Gp]]), Yp = L({
10495
+ const cg = /* @__PURE__ */ B(Gp, [["render", Yp]]), Jp = L({
10495
10496
  name: "SdApexChart",
10496
- components: {},
10497
+ components: { ApexChart: yn },
10497
10498
  props: {
10498
10499
  sqlId: {
10499
10500
  type: String,
@@ -10823,8 +10824,8 @@ const fg = /* @__PURE__ */ B(Kp, [["render", Gp]]), Yp = L({
10823
10824
  }
10824
10825
  }
10825
10826
  });
10826
- function Jp(e, t, a, l, o, i) {
10827
- const d = Y("apexchart");
10827
+ function Xp(e, t, a, l, o, i) {
10828
+ const d = Y("ApexChart");
10828
10829
  return n(), w("div", {
10829
10830
  ref: "chartRef",
10830
10831
  style: te(`width: ${e.width ? e.width + "px" : "100%"}; height: ${e.height ? e.height + "px" : "100%"}`)
@@ -10844,7 +10845,7 @@ function Jp(e, t, a, l, o, i) {
10844
10845
  ], 64))
10845
10846
  ], 4);
10846
10847
  }
10847
- const hg = /* @__PURE__ */ B(Yp, [["render", Jp]]), Xp = L({
10848
+ const bg = /* @__PURE__ */ B(Jp, [["render", Xp]]), Qp = L({
10848
10849
  name: "SdExportData",
10849
10850
  emits: ["update:modelValue", "change"],
10850
10851
  props: {
@@ -10948,11 +10949,11 @@ const hg = /* @__PURE__ */ B(Yp, [["render", Jp]]), Xp = L({
10948
10949
  }
10949
10950
  }
10950
10951
  }
10951
- }), Qp = {
10952
+ }), Zp = {
10952
10953
  role: "heading",
10953
10954
  class: "el-dialog__title"
10954
- }, Zp = { class: "dialog-footer" };
10955
- function em(e, t, a, l, o, i) {
10955
+ }, em = { class: "dialog-footer" };
10956
+ function tm(e, t, a, l, o, i) {
10956
10957
  const d = Y("Document"), u = Ge, m = ra, h = oe, c = Fe;
10957
10958
  return n(), p(c, {
10958
10959
  title: e.popupName,
@@ -10970,10 +10971,10 @@ function em(e, t, a, l, o, i) {
10970
10971
  "destroy-on-close": !0
10971
10972
  }, {
10972
10973
  header: s(({ close: _, titleId: C, titleClass: b }) => [
10973
- P("span", Qp, O(e.popupName), 1)
10974
+ P("span", Zp, O(e.popupName), 1)
10974
10975
  ]),
10975
10976
  footer: s(() => [
10976
- P("div", Zp, [
10977
+ P("div", em, [
10977
10978
  r(h, {
10978
10979
  onClick: t[0] || (t[0] = (_) => e.showPopupFlag = !1)
10979
10980
  }, {
@@ -11009,7 +11010,7 @@ function em(e, t, a, l, o, i) {
11009
11010
  _: 3
11010
11011
  }, 8, ["title", "modelValue", "width", "before-close", "onOpen", "onClose", "close-on-click-modal"]);
11011
11012
  }
11012
- const tm = /* @__PURE__ */ B(Xp, [["render", em]]), am = L({
11013
+ const am = /* @__PURE__ */ B(Qp, [["render", tm]]), lm = L({
11013
11014
  name: "SdGridColumnBy",
11014
11015
  props: {
11015
11016
  columnProp: {
@@ -11054,7 +11055,7 @@ const tm = /* @__PURE__ */ B(Xp, [["render", em]]), am = L({
11054
11055
  // },
11055
11056
  }
11056
11057
  });
11057
- function lm(e, t, a, l, o, i) {
11058
+ function om(e, t, a, l, o, i) {
11058
11059
  const d = Vl, u = qe;
11059
11060
  return n(), p(u, {
11060
11061
  prop: e.columnProp,
@@ -11075,7 +11076,7 @@ function lm(e, t, a, l, o, i) {
11075
11076
  _: 1
11076
11077
  }, 8, ["prop", "label", "width"]);
11077
11078
  }
11078
- const go = /* @__PURE__ */ B(am, [["render", lm]]), om = L({
11079
+ const go = /* @__PURE__ */ B(lm, [["render", om]]), im = L({
11079
11080
  name: "SdGridColumnDate",
11080
11081
  props: {
11081
11082
  columnProp: {
@@ -11102,7 +11103,7 @@ const go = /* @__PURE__ */ B(am, [["render", lm]]), om = L({
11102
11103
  }
11103
11104
  }
11104
11105
  });
11105
- function im(e, t, a, l, o, i) {
11106
+ function nm(e, t, a, l, o, i) {
11106
11107
  const d = qe;
11107
11108
  return n(), p(d, {
11108
11109
  prop: e.columnProp,
@@ -11117,7 +11118,7 @@ function im(e, t, a, l, o, i) {
11117
11118
  _: 1
11118
11119
  }, 8, ["prop", "label", "width", "sortable"]);
11119
11120
  }
11120
- const yo = /* @__PURE__ */ B(om, [["render", im]]), nm = L({
11121
+ const yo = /* @__PURE__ */ B(im, [["render", nm]]), sm = L({
11121
11122
  name: "SdGridColumnDynamic",
11122
11123
  components: { SdGridColumnDate: yo, SdGridColumnBy: go, SdValueWidget: xt },
11123
11124
  props: {
@@ -11284,8 +11285,8 @@ const yo = /* @__PURE__ */ B(om, [["render", im]]), nm = L({
11284
11285
  return l;
11285
11286
  }
11286
11287
  }
11287
- }), sm = ["innerHTML"], rm = ["innerHTML"];
11288
- function dm(e, t, a, l, o, i) {
11288
+ }), rm = ["innerHTML"], dm = ["innerHTML"];
11289
+ function um(e, t, a, l, o, i) {
11289
11290
  const d = xt, u = qe, m = Nt, h = $e, c = kt, _ = Nl, C = ze, b = yo, M = go;
11290
11291
  return n(), w(E, null, [
11291
11292
  e.columnFields && Object.keys(e.columnFields).length > 0 ? (n(), w(E, { key: 0 }, [
@@ -11407,7 +11408,7 @@ function dm(e, t, a, l, o, i) {
11407
11408
  f.htmlValue ? (n(), w("span", {
11408
11409
  key: 0,
11409
11410
  innerHTML: e.htmlValue(f.htmlValue, y.row, f)
11410
- }, null, 8, sm)) : g("", !0)
11411
+ }, null, 8, rm)) : g("", !0)
11411
11412
  ]),
11412
11413
  _: 2
11413
11414
  }, 1032, ["type", "truncated", "line-clamp"])
@@ -11435,7 +11436,7 @@ function dm(e, t, a, l, o, i) {
11435
11436
  f.htmlValue ? (n(), w("span", {
11436
11437
  key: 0,
11437
11438
  innerHTML: e.htmlValue(f.htmlValue, y.row, f)
11438
- }, null, 8, rm)) : g("", !0)
11439
+ }, null, 8, dm)) : g("", !0)
11439
11440
  ]),
11440
11441
  _: 2
11441
11442
  }, 1032, ["type", "truncated", "line-clamp"])
@@ -11516,7 +11517,7 @@ function dm(e, t, a, l, o, i) {
11516
11517
  ], 64)) : g("", !0)
11517
11518
  ], 64);
11518
11519
  }
11519
- const um = /* @__PURE__ */ B(nm, [["render", dm]]), pm = L({
11520
+ const pm = /* @__PURE__ */ B(sm, [["render", um]]), mm = L({
11520
11521
  name: "SdCrudGrid",
11521
11522
  components: {},
11522
11523
  emits: ["aftersave"],
@@ -12224,30 +12225,30 @@ const um = /* @__PURE__ */ B(nm, [["render", dm]]), pm = L({
12224
12225
  this.dpExportRow.params.id = "", this.exportName = "", this.showExportRow = !1;
12225
12226
  }
12226
12227
  }
12227
- }), mm = { class: "card-header" }, fm = {
12228
+ }), fm = { class: "card-header" }, hm = {
12228
12229
  key: 0,
12229
12230
  class: "mb-2",
12230
12231
  style: { position: "relative" }
12231
- }, hm = { class: "text-6" }, cm = { style: { position: "absolute", top: "0px", right: "0px" } }, bm = {
12232
+ }, cm = { class: "text-6" }, bm = { style: { position: "absolute", top: "0px", right: "0px" } }, gm = {
12232
12233
  class: "ml-1 text-3",
12233
12234
  style: { height: "32px", display: "inline-grid", "align-content": "center" }
12234
- }, gm = {
12235
+ }, ym = {
12235
12236
  class: "text-3",
12236
12237
  style: { height: "32px", display: "inline-grid", "align-content": "center" }
12237
- }, ym = { class: "card-footer" };
12238
- function vm(e, t, a, l, o, i) {
12239
- const d = Ze, u = ge, m = ze, h = oe, c = ia, _ = sa, C = lt, b = $e, M = na, f = St, y = Et, k = qe, A = um, q = Lt, F = Aa, I = tm, V = ua;
12238
+ }, vm = { class: "card-footer" };
12239
+ function wm(e, t, a, l, o, i) {
12240
+ const d = Ze, u = ge, m = ze, h = oe, c = ia, _ = sa, C = lt, b = $e, M = na, f = St, y = Et, k = qe, A = pm, q = Lt, F = Aa, I = am, V = ua;
12240
12241
  return n(), w(E, null, [
12241
12242
  r(F, {
12242
12243
  class: "box-card",
12243
12244
  shadow: "never"
12244
12245
  }, {
12245
12246
  header: s(() => [
12246
- P("div", mm, [
12247
- (e.iconName != "" || e.iconForm != "" || e.titleNameForm != "") && e.titleEnable ? (n(), w("div", fm, [
12247
+ P("div", fm, [
12248
+ (e.iconName != "" || e.iconForm != "" || e.titleNameForm != "") && e.titleEnable ? (n(), w("div", hm, [
12248
12249
  r(m, { truncated: "" }, {
12249
12250
  default: s(() => [
12250
- P("span", hm, [
12251
+ P("span", cm, [
12251
12252
  e.iconForm != "" ? (n(), p(d, {
12252
12253
  key: 0,
12253
12254
  "svg-data": e.iconForm
@@ -12263,7 +12264,7 @@ function vm(e, t, a, l, o, i) {
12263
12264
  ]),
12264
12265
  _: 1
12265
12266
  }),
12266
- P("span", cm, [
12267
+ P("span", bm, [
12267
12268
  fe(e.$slots, "actionsBar", {}, void 0, !0)
12268
12269
  ])
12269
12270
  ])) : g("", !0),
@@ -12322,7 +12323,7 @@ function vm(e, t, a, l, o, i) {
12322
12323
  icon: "Refresh",
12323
12324
  onClick: e.handleRefresh
12324
12325
  }, null, 8, ["onClick"]),
12325
- P("span", bm, [
12326
+ P("span", gm, [
12326
12327
  r(m, { "line-clamp": "2" }, {
12327
12328
  default: s(() => [
12328
12329
  S(" Showing " + O(e.rowStartLabel) + "-" + O(e.rowEndLabel) + " of " + O(e.totalLabel) + " items. ", 1)
@@ -12395,7 +12396,7 @@ function vm(e, t, a, l, o, i) {
12395
12396
  style: { "text-align": "right" }
12396
12397
  }, {
12397
12398
  default: s(() => [
12398
- P("span", gm, [
12399
+ P("span", ym, [
12399
12400
  r(m, { "line-clamp": "2" }, {
12400
12401
  default: s(() => [
12401
12402
  S(" Showing " + O(e.rowStartLabel) + "-" + O(e.rowEndLabel) + " of " + O(e.totalLabel) + " items. ", 1)
@@ -12545,7 +12546,7 @@ function vm(e, t, a, l, o, i) {
12545
12546
  }, 8, ["data", "border", "show-summary", "summary-method", "onSortChange", "height", "max-height", "row-key", "lazy", "load", "expand-row-keys", "tree-props", "onExpandChange", "onFilterChange"])), [
12546
12547
  [V, e.preLoading]
12547
12548
  ]),
12548
- P("div", ym, [
12549
+ P("div", vm, [
12549
12550
  e.total > e.limit ? (n(), p(M, {
12550
12551
  key: 0,
12551
12552
  "current-page": e.optionProvider.page,
@@ -12580,7 +12581,7 @@ function vm(e, t, a, l, o, i) {
12580
12581
  }, null, 8, ["modelValue", "dynamic-name", "data-provider", "user-state", "cancel-callback"])
12581
12582
  ], 64);
12582
12583
  }
12583
- const wm = /* @__PURE__ */ B(pm, [["render", vm], ["__scopeId", "data-v-2d047125"]]), Fm = L({
12584
+ const Fm = /* @__PURE__ */ B(mm, [["render", wm], ["__scopeId", "data-v-2d047125"]]), _m = L({
12584
12585
  name: "SdCrudPopupForm",
12585
12586
  components: {},
12586
12587
  emits: ["update:modelValue", "change"],
@@ -12709,11 +12710,11 @@ const wm = /* @__PURE__ */ B(pm, [["render", vm], ["__scopeId", "data-v-2d047125
12709
12710
  this.sdformModel = e, this.userState.formStore[this.formId] = this.sdformModel, this.fixApiUrl && this.fixApiUrl != "" ? this.apiUrl = this.fixApiUrl : this.sdformModel.form_db.api_url && this.sdformModel.form_db.api_url != "" ? this.apiUrl = this.sdformModel.form_db.api_url : this.apiUrl = window.APP_CONFIG.API_URL, this.userState.user && (this.allowInsert = Oe(this.sdformModel, this.userState.user), this.allowUpdate = Re(this.sdformModel, this.initData, this.userState.user)), this.titleNameForm = this.sdformModel.form_name ? this.sdformModel.form_name : "", this.popupName = `${this.titleNameForm}`, this.sdformModel.form_options && this.sdformModel.form_options.popup_size && (this.popupWidth = `${this.sdformModel.form_options.popup_size}%`, this.popupWidthdefault = this.popupWidth), this.sdformModel.form_icon ? this.iconForm = this.sdformModel.form_icon : this.iconForm = "", this.loading?.close(), this.showContent = !0, this.popupWidth = ee(this.popupWidthdefault);
12710
12711
  }
12711
12712
  }
12712
- }), _m = {
12713
+ }), Sm = {
12713
12714
  role: "heading",
12714
12715
  class: "el-dialog__title"
12715
12716
  };
12716
- function Sm(e, t, a, l, o, i) {
12717
+ function km(e, t, a, l, o, i) {
12717
12718
  const d = Ze, u = ge, m = Et, h = oe, c = bo, _ = Fe;
12718
12719
  return n(), p(_, {
12719
12720
  title: e.popupName,
@@ -12729,7 +12730,7 @@ function Sm(e, t, a, l, o, i) {
12729
12730
  "destroy-on-close": !0
12730
12731
  }, {
12731
12732
  header: s(({ close: C, titleId: b, titleClass: M }) => [
12732
- P("span", _m, [
12733
+ P("span", Sm, [
12733
12734
  e.iconForm != "" ? (n(), p(d, {
12734
12735
  key: 0,
12735
12736
  "svg-data": e.iconForm
@@ -12784,7 +12785,7 @@ function Sm(e, t, a, l, o, i) {
12784
12785
  _: 1
12785
12786
  }, 8, ["title", "modelValue", "width", "before-close", "close-on-click-modal"]);
12786
12787
  }
12787
- const km = /* @__PURE__ */ B(Fm, [["render", Sm]]), Cm = L({
12788
+ const Cm = /* @__PURE__ */ B(_m, [["render", km]]), Dm = L({
12788
12789
  name: "SdCrudPopupGrid",
12789
12790
  components: {
12790
12791
  // SdCrudGrid,
@@ -13034,12 +13035,12 @@ const km = /* @__PURE__ */ B(Fm, [["render", Sm]]), Cm = L({
13034
13035
  this.sdformModel = e, this.userState.formStore[this.formId] = this.sdformModel, this.showContent = !0, this.fixApiUrl && this.fixApiUrl != "" ? this.apiUrl = this.fixApiUrl : this.sdformModel.form_db.api_url && this.sdformModel.form_db.api_url != "" ? this.apiUrl = this.sdformModel.form_db.api_url : this.apiUrl = window.APP_CONFIG.API_URL, this.userState.user && (this.allowInsert = Oe(this.sdformModel, this.userState.user), this.allowUpdate = Re(this.sdformModel, this.initData, this.userState.user)), this.titleNameForm = this.sdformModel.form_name ? this.sdformModel.form_name : "", this.popupName = `${this.titleNameForm}`, this.sdformModel.form_icon ? this.iconForm = this.sdformModel.form_icon : this.iconForm = "", this.popupWidth = ee(this.popupWidthdefault);
13035
13036
  }
13036
13037
  }
13037
- }), Dm = {
13038
+ }), Im = {
13038
13039
  role: "heading",
13039
13040
  class: "el-dialog__title"
13040
13041
  };
13041
- function Im(e, t, a, l, o, i) {
13042
- const d = Ze, u = ge, m = wm, h = Fe;
13042
+ function $m(e, t, a, l, o, i) {
13043
+ const d = Ze, u = ge, m = Fm, h = Fe;
13043
13044
  return n(), p(h, {
13044
13045
  title: e.popupName,
13045
13046
  modelValue: e.showPopupFlag,
@@ -13054,7 +13055,7 @@ function Im(e, t, a, l, o, i) {
13054
13055
  "destroy-on-close": !0
13055
13056
  }, {
13056
13057
  header: s(({ close: c, titleId: _, titleClass: C }) => [
13057
- P("span", Dm, [
13058
+ P("span", Im, [
13058
13059
  e.iconForm != "" ? (n(), p(d, {
13059
13060
  key: 0,
13060
13061
  "svg-data": e.iconForm
@@ -13116,7 +13117,7 @@ function Im(e, t, a, l, o, i) {
13116
13117
  _: 1
13117
13118
  }, 8, ["title", "modelValue", "width", "before-close", "close-on-click-modal"]);
13118
13119
  }
13119
- const $m = /* @__PURE__ */ B(Cm, [["render", Im]]), Tm = L({
13120
+ const Tm = /* @__PURE__ */ B(Dm, [["render", $m]]), Mm = L({
13120
13121
  name: "SdSelectRemoteList",
13121
13122
  emits: ["update:modelValue", "change", "visibleChange", "remoteMethod"],
13122
13123
  props: {
@@ -13331,7 +13332,7 @@ const $m = /* @__PURE__ */ B(Cm, [["render", Im]]), Tm = L({
13331
13332
  let t = e;
13332
13333
  if (this.multiple) {
13333
13334
  const o = [...this.rawData, ...this.multiSelected];
13334
- t = Ou(o, e, this.valueField, this.labelField, this.labelTemplate);
13335
+ t = Nu(o, e, this.valueField, this.labelField, this.labelTemplate);
13335
13336
  } else {
13336
13337
  let o = this.itemsList.find((i) => !!i.value && i.value == e);
13337
13338
  o && o.label && (t = o.label);
@@ -13461,8 +13462,8 @@ const $m = /* @__PURE__ */ B(Cm, [["render", Im]]), Tm = L({
13461
13462
  }
13462
13463
  }
13463
13464
  }
13464
- }), Mm = ["innerHTML"], Pm = ["innerHTML"], Vm = ["innerHTML"], Am = ["innerHTML"];
13465
- function Om(e, t, a, l, o, i) {
13465
+ }), Pm = ["innerHTML"], Vm = ["innerHTML"], Am = ["innerHTML"], Om = ["innerHTML"];
13466
+ function Nm(e, t, a, l, o, i) {
13466
13467
  const d = sa, u = Dt, m = Ct;
13467
13468
  return n(), p(m, {
13468
13469
  ref: "refSelect",
@@ -13486,7 +13487,7 @@ function Om(e, t, a, l, o, i) {
13486
13487
  label: s(({ label: h, value: c }) => [
13487
13488
  P("div", {
13488
13489
  innerHTML: e.htmlRender(h)
13489
- }, null, 8, Am)
13490
+ }, null, 8, Om)
13490
13491
  ]),
13491
13492
  default: s(() => [
13492
13493
  e.optionsTemplate ? (n(!0), w(E, { key: 0 }, G(e.itemsList, (h) => (n(), p(u, {
@@ -13499,10 +13500,10 @@ function Om(e, t, a, l, o, i) {
13499
13500
  e.optionsUi[h.value] ? (n(), w("div", {
13500
13501
  key: 0,
13501
13502
  innerHTML: e.htmlRender(e.optionsUi[h.value])
13502
- }, null, 8, Mm)) : (n(), w("div", {
13503
+ }, null, 8, Pm)) : (n(), w("div", {
13503
13504
  key: 1,
13504
13505
  innerHTML: e.htmlRender(h.label)
13505
- }, null, 8, Pm))
13506
+ }, null, 8, Vm))
13506
13507
  ]),
13507
13508
  _: 2
13508
13509
  }, 1032, ["label", "value"]))), 128)) : g("", !0),
@@ -13514,7 +13515,7 @@ function Om(e, t, a, l, o, i) {
13514
13515
  default: s(() => [
13515
13516
  P("div", {
13516
13517
  innerHTML: e.htmlRender(h.label)
13517
- }, null, 8, Vm)
13518
+ }, null, 8, Am)
13518
13519
  ]),
13519
13520
  _: 2
13520
13521
  }, 1032, ["label", "value"]))), 128))
@@ -13540,7 +13541,7 @@ function Om(e, t, a, l, o, i) {
13540
13541
  } : void 0
13541
13542
  ]), 1032, ["modelValue", "multiple", "multiple-limit", "placeholder", "remote-method", "loading", "suffix-icon", "onRemoveTag", "onClear", "onVisibleChange"]);
13542
13543
  }
13543
- const Ra = /* @__PURE__ */ B(Tm, [["render", Om]]), Nm = L({
13544
+ const Ra = /* @__PURE__ */ B(Mm, [["render", Nm]]), Em = L({
13544
13545
  name: "SdCrudSelect",
13545
13546
  components: {
13546
13547
  // SdSelectRemoteList,
@@ -13764,9 +13765,9 @@ const Ra = /* @__PURE__ */ B(Tm, [["render", Om]]), Nm = L({
13764
13765
  return this.enableObjectType ? e.value ? e.value : null : e;
13765
13766
  }
13766
13767
  }
13767
- }), Em = { key: 2 };
13768
- function Lm(e, t, a, l, o, i) {
13769
- const d = oe, u = km, m = Ra;
13768
+ }), Lm = { key: 2 };
13769
+ function Bm(e, t, a, l, o, i) {
13770
+ const d = oe, u = Cm, m = Ra;
13770
13771
  return n(), p(m, {
13771
13772
  ref: "selectInput",
13772
13773
  filterable: "",
@@ -13837,7 +13838,7 @@ function Lm(e, t, a, l, o, i) {
13837
13838
  style: { margin: "0px" }
13838
13839
  }, null, 8, ["onClick"])) : g("", !0)
13839
13840
  ], 64)),
13840
- e.showPopupFlag ? (n(), w("div", Em, [
13841
+ e.showPopupFlag ? (n(), w("div", Lm, [
13841
13842
  r(u, {
13842
13843
  ref: "refSdForm",
13843
13844
  modelValue: e.showPopupFlag,
@@ -13859,7 +13860,7 @@ function Lm(e, t, a, l, o, i) {
13859
13860
  } : void 0
13860
13861
  ]), 1032, ["modelValue", "multiple", "allow-create", "placeholder", "enable-object-type", "disabled", "data-provider", "value-field", "search-field", "label-field", "ref-field", "limit", "label-template", "options-template", "user-state", "onRemoteMethod", "onVisibleChange", "onChange"]);
13861
13862
  }
13862
- const cg = /* @__PURE__ */ B(Nm, [["render", Lm]]), Bm = L({
13863
+ const gg = /* @__PURE__ */ B(Em, [["render", Bm]]), jm = L({
13863
13864
  name: "SdCrudSelectSubForm",
13864
13865
  components: {
13865
13866
  // SdSelectRemoteList,
@@ -14182,7 +14183,7 @@ const cg = /* @__PURE__ */ B(Nm, [["render", Lm]]), Bm = L({
14182
14183
  }
14183
14184
  }
14184
14185
  });
14185
- function jm(e, t, a, l, o, i) {
14186
+ function Um(e, t, a, l, o, i) {
14186
14187
  const d = oe, u = Ra;
14187
14188
  return n(), p(u, {
14188
14189
  ref: "selectInput",
@@ -14266,7 +14267,7 @@ function jm(e, t, a, l, o, i) {
14266
14267
  } : void 0
14267
14268
  ]), 1032, ["modelValue", "multiple", "allow-create", "placeholder", "enable-object-type", "disabled", "data-provider", "value-field", "search-field", "label-field", "ref-field", "limit", "value-object-id", "label-template", "options-template", "user-state", "build-state", "onRemoteMethod", "onVisibleChange", "onChange"]);
14268
14269
  }
14269
- const Um = /* @__PURE__ */ B(Bm, [["render", jm]]), vo = /* @__PURE__ */ L({
14270
+ const Rm = /* @__PURE__ */ B(jm, [["render", Um]]), vo = /* @__PURE__ */ L({
14270
14271
  __name: "SdSelectPathData",
14271
14272
  props: {
14272
14273
  modelValue: null,
@@ -14500,7 +14501,7 @@ const Um = /* @__PURE__ */ B(Bm, [["render", jm]]), vo = /* @__PURE__ */ L({
14500
14501
  ]), 1032, ["modelValue", "disabled", "allow-create", "multiple"]);
14501
14502
  };
14502
14503
  }
14503
- }), Rm = /* @__PURE__ */ L({
14504
+ }), zm = /* @__PURE__ */ L({
14504
14505
  __name: "SdFormSchemaForm",
14505
14506
  props: {
14506
14507
  joinerField: {},
@@ -14771,7 +14772,7 @@ const Um = /* @__PURE__ */ B(Bm, [["render", jm]]), vo = /* @__PURE__ */ L({
14771
14772
  }, 8, ["model"]);
14772
14773
  };
14773
14774
  }
14774
- }), zm = /* @__PURE__ */ L({
14775
+ }), qm = /* @__PURE__ */ L({
14775
14776
  __name: "SdSubSchema",
14776
14777
  props: {
14777
14778
  formDb: {},
@@ -15228,10 +15229,10 @@ const Um = /* @__PURE__ */ B(Bm, [["render", jm]]), vo = /* @__PURE__ */ L({
15228
15229
  ]);
15229
15230
  };
15230
15231
  }
15231
- }), qm = yn();
15232
- async function Hm(e) {
15232
+ }), Hm = vn();
15233
+ async function xm(e) {
15233
15234
  try {
15234
- await qm.toClipboard(e), N({
15235
+ await Hm.toClipboard(e), N({
15235
15236
  message: "Copied to clipboard",
15236
15237
  type: "success"
15237
15238
  });
@@ -15239,7 +15240,7 @@ async function Hm(e) {
15239
15240
  console.error(t);
15240
15241
  }
15241
15242
  }
15242
- const xm = { key: 3 }, Wm = { class: "items-box" }, Km = { class: "opt-item" }, Gm = { class: "dialog-footer" }, Ym = { key: 4 }, Jm = { class: "dialog-footer" }, Xm = { key: 5 }, Qm = { class: "dialog-footer" }, Zm = { key: 6 }, ef = /* @__PURE__ */ L({
15243
+ const Wm = { key: 3 }, Km = { class: "items-box" }, Gm = { class: "opt-item" }, Ym = { class: "dialog-footer" }, Jm = { key: 4 }, Xm = { class: "dialog-footer" }, Qm = { key: 5 }, Zm = { class: "dialog-footer" }, ef = { key: 6 }, tf = /* @__PURE__ */ L({
15243
15244
  __name: "SdFormSchema",
15244
15245
  props: {
15245
15246
  joinerField: {},
@@ -15521,7 +15522,7 @@ const xm = { key: 3 }, Wm = { class: "items-box" }, Km = { class: "opt-item" },
15521
15522
  }
15522
15523
  t.joinerField.ref_fields && t.joinerField.ref_fields.forEach((U) => {
15523
15524
  const v = t.joinerField.field_name + "." + U;
15524
- if (Vu.includes(U))
15525
+ if (Au.includes(U))
15525
15526
  t.formDb.schema[v] = {
15526
15527
  fieldName: v,
15527
15528
  label: v,
@@ -15682,7 +15683,7 @@ const xm = { key: 3 }, Wm = { class: "items-box" }, Km = { class: "opt-item" },
15682
15683
  });
15683
15684
  }
15684
15685
  return (U, v) => {
15685
- const W = oe, J = Ll, ue = El, je = da, nt = ge, _e = ze, ie = lt, st = St, rt = Et, Ee = $e, _a = Nt, za = Ye, qa = jo, Ha = Bo, ne = qe, wo = Y("Link"), Wt = Ge, Fo = Y("Aim"), xa = Lt, Se = Dt, Mt = Ct, ct = kt, _o = va, So = Ra, ye = pt, Sa = vo, Wa = Y("InfoFilled"), ko = ra, Co = Nl, Do = Y("draggable"), Io = ut, Kt = Fe, $o = Y("sd-form-schema", !0), To = zm, Mo = Rm, Po = ua;
15686
+ const W = oe, J = Ll, ue = El, je = da, nt = ge, _e = ze, ie = lt, st = St, rt = Et, Ee = $e, _a = Nt, za = Ye, qa = jo, Ha = Bo, ne = qe, wo = Y("Link"), Wt = Ge, Fo = Y("Aim"), xa = Lt, Se = Dt, Mt = Ct, ct = kt, _o = va, So = Ra, ye = pt, Sa = vo, Wa = Y("InfoFilled"), ko = ra, Co = Nl, Do = Y("draggable"), Io = ut, Kt = Fe, $o = Y("sd-form-schema", !0), To = qm, Mo = zm, Po = ua;
15686
15687
  return n(), w(E, null, [
15687
15688
  r(ue, {
15688
15689
  title: "Parent Form",
@@ -16653,7 +16654,7 @@ const xm = { key: 3 }, Wm = { class: "items-box" }, Km = { class: "opt-item" },
16653
16654
  ]),
16654
16655
  _: 1
16655
16656
  }, 8, ["modelValue"])) : g("", !0),
16656
- a.showPopupJoiner ? (n(), w("div", xm, [
16657
+ a.showPopupJoiner ? (n(), w("div", Wm, [
16657
16658
  r(Kt, {
16658
16659
  title: "Join Parent Form",
16659
16660
  modelValue: a.showPopupJoiner,
@@ -16667,7 +16668,7 @@ const xm = { key: 3 }, Wm = { class: "items-box" }, Km = { class: "opt-item" },
16667
16668
  "destroy-on-close": !0
16668
16669
  }, {
16669
16670
  footer: s(() => [
16670
- P("div", Gm, [
16671
+ P("div", Ym, [
16671
16672
  r(W, {
16672
16673
  onClick: v[20] || (v[20] = R(($) => H(l.value), ["prevent"])),
16673
16674
  type: "success",
@@ -17024,7 +17025,7 @@ const xm = { key: 3 }, Wm = { class: "items-box" }, Km = { class: "opt-item" },
17024
17025
  dark: a.isDark,
17025
17026
  class: "mb-1",
17026
17027
  plain: "",
17027
- onClick: (Q) => pe(Hm)("{{" + $.value + "}}")
17028
+ onClick: (Q) => pe(xm)("{{" + $.value + "}}")
17028
17029
  }, {
17029
17030
  default: s(() => [
17030
17031
  S(O($.value), 1)
@@ -17132,7 +17133,7 @@ const xm = { key: 3 }, Wm = { class: "items-box" }, Km = { class: "opt-item" },
17132
17133
  class: "option-items-pane"
17133
17134
  }, {
17134
17135
  default: s(() => [
17135
- P("div", Wm, [
17136
+ P("div", Km, [
17136
17137
  r(Do, ae({
17137
17138
  tag: "ul",
17138
17139
  list: e.joinerField.order_by,
@@ -17143,7 +17144,7 @@ const xm = { key: 3 }, Wm = { class: "items-box" }, Km = { class: "opt-item" },
17143
17144
  handle: ".drag-option"
17144
17145
  }), {
17145
17146
  item: s(({ element: $, index: Q }) => [
17146
- P("li", Km, [
17147
+ P("li", Gm, [
17147
17148
  r(Co, {
17148
17149
  modelValue: $.column,
17149
17150
  "onUpdate:modelValue": (Gt) => $.column = Gt,
@@ -17227,7 +17228,7 @@ const xm = { key: 3 }, Wm = { class: "items-box" }, Km = { class: "opt-item" },
17227
17228
  _: 1
17228
17229
  }, 8, ["modelValue", "width"])
17229
17230
  ])) : g("", !0),
17230
- a.showDataDicDialogFlag ? (n(), w("div", Ym, [
17231
+ a.showDataDicDialogFlag ? (n(), w("div", Jm, [
17231
17232
  r(Kt, {
17232
17233
  title: `Data Dic - ${a.formDataDic && a.formDataDic._id ? a.formDataDic.form_name : ""}`,
17233
17234
  class: "dialog-grid dialog-form",
@@ -17242,7 +17243,7 @@ const xm = { key: 3 }, Wm = { class: "items-box" }, Km = { class: "opt-item" },
17242
17243
  "destroy-on-close": !1
17243
17244
  }, {
17244
17245
  footer: s(() => [
17245
- P("div", Jm, [
17246
+ P("div", Xm, [
17246
17247
  r(W, {
17247
17248
  onClick: v[23] || (v[23] = ($) => a.showDataDicDialogFlag = !1)
17248
17249
  }, {
@@ -17268,7 +17269,7 @@ const xm = { key: 3 }, Wm = { class: "items-box" }, Km = { class: "opt-item" },
17268
17269
  _: 1
17269
17270
  }, 8, ["title", "modelValue", "width"])
17270
17271
  ])) : g("", !0),
17271
- a.showSchemaFlag ? (n(), w("div", Xm, [
17272
+ a.showSchemaFlag ? (n(), w("div", Qm, [
17272
17273
  r(Kt, {
17273
17274
  title: "Sub Schema",
17274
17275
  class: "dialog-grid dialog-form",
@@ -17282,7 +17283,7 @@ const xm = { key: 3 }, Wm = { class: "items-box" }, Km = { class: "opt-item" },
17282
17283
  "destroy-on-close": !1
17283
17284
  }, {
17284
17285
  footer: s(() => [
17285
- P("div", Qm, [
17286
+ P("div", Zm, [
17286
17287
  r(W, {
17287
17288
  onClick: v[25] || (v[25] = ($) => a.showSchemaFlag = !1)
17288
17289
  }, {
@@ -17304,7 +17305,7 @@ const xm = { key: 3 }, Wm = { class: "items-box" }, Km = { class: "opt-item" },
17304
17305
  _: 1
17305
17306
  }, 8, ["modelValue", "width"])
17306
17307
  ])) : g("", !0),
17307
- a.showSchemaAddFlag ? (n(), w("div", Zm, [
17308
+ a.showSchemaAddFlag ? (n(), w("div", ef, [
17308
17309
  r(Kt, {
17309
17310
  title: "Custom Schema",
17310
17311
  class: "dialog-grid dialog-form",
@@ -17335,7 +17336,7 @@ const xm = { key: 3 }, Wm = { class: "items-box" }, Km = { class: "opt-item" },
17335
17336
  ], 64);
17336
17337
  };
17337
17338
  }
17338
- }), tf = /* @__PURE__ */ B(ef, [["__scopeId", "data-v-6afd5dfa"]]), af = L({
17339
+ }), af = /* @__PURE__ */ B(tf, [["__scopeId", "data-v-6afd5dfa"]]), lf = L({
17339
17340
  name: "SdDataDicPopup",
17340
17341
  components: {},
17341
17342
  emits: ["update:modelValue", "change"],
@@ -17414,12 +17415,12 @@ const xm = { key: 3 }, Wm = { class: "items-box" }, Km = { class: "opt-item" },
17414
17415
  this.sdformModel = e, this.userState.formStore[this.formId] = this.sdformModel, this.showForm = !0, this.titleNameForm = this.sdformModel.form_name ? this.sdformModel.form_name : "", this.popupName = `${this.titleNameForm}`, this.sdformModel.form_icon ? this.iconForm = this.sdformModel.form_icon : this.iconForm = "", this.popupWidth = ee(this.popupWidthdefault);
17415
17416
  }
17416
17417
  }
17417
- }), lf = {
17418
+ }), of = {
17418
17419
  role: "heading",
17419
17420
  class: "el-dialog__title"
17420
- }, of = { class: "dialog-footer" };
17421
- function nf(e, t, a, l, o, i) {
17422
- const d = Ze, u = ge, m = tf, h = oe, c = Fe;
17421
+ }, nf = { class: "dialog-footer" };
17422
+ function sf(e, t, a, l, o, i) {
17423
+ const d = Ze, u = ge, m = af, h = oe, c = Fe;
17423
17424
  return n(), p(c, {
17424
17425
  title: `Data Dic - ${e.popupName}`,
17425
17426
  modelValue: e.showPopupFlag,
@@ -17434,7 +17435,7 @@ function nf(e, t, a, l, o, i) {
17434
17435
  "destroy-on-close": !0
17435
17436
  }, {
17436
17437
  header: s(({ close: _, titleId: C, titleClass: b }) => [
17437
- P("span", lf, [
17438
+ P("span", of, [
17438
17439
  e.iconForm != "" ? (n(), p(d, {
17439
17440
  key: 0,
17440
17441
  "svg-data": e.iconForm
@@ -17446,7 +17447,7 @@ function nf(e, t, a, l, o, i) {
17446
17447
  ])
17447
17448
  ]),
17448
17449
  footer: s(() => [
17449
- P("div", of, [
17450
+ P("div", nf, [
17450
17451
  r(h, {
17451
17452
  onClick: R(e.handleCancel, ["prevent"])
17452
17453
  }, {
@@ -17472,7 +17473,7 @@ function nf(e, t, a, l, o, i) {
17472
17473
  _: 1
17473
17474
  }, 8, ["title", "modelValue", "width", "before-close", "close-on-click-modal"]);
17474
17475
  }
17475
- const bg = /* @__PURE__ */ B(af, [["render", nf]]), sf = /* @__PURE__ */ L({
17476
+ const yg = /* @__PURE__ */ B(lf, [["render", sf]]), rf = /* @__PURE__ */ L({
17476
17477
  __name: "SdDynamicInput",
17477
17478
  props: {
17478
17479
  modelValue: {},
@@ -17512,7 +17513,7 @@ const bg = /* @__PURE__ */ B(af, [["render", nf]]), sf = /* @__PURE__ */ L({
17512
17513
  }
17513
17514
  });
17514
17515
  Ke(i, (C, b) => {
17515
- C == "number-editor" ? typeof !a.modelValue == "number" && (l.stringList.includes(b) ? u.value = isNaN(u.value) ? void 0 : Number(u.value) : u.value = void 0) : l.stringList.includes(C) ? typeof !a.modelValue == "string" && (l.arrayList.includes(b) || b == "json-editor" ? u.value = String(a.modelValue).toString() : u.value = String(u.value)) : C == "boolean-editor" ? typeof !a.modelValue == "boolean" && (l.stringList.includes(b) ? u.value = En(u.value) : b == "number-editor" ? u.value = u.value > 0 : u.value = !!(u.value && !Ba(u.value))) : l.arrayList.includes(C) ? typeof !a.modelValue == "object" && (l.arrayList.includes(b) || (u.value = [])) : C == "json-editor" && typeof !a.modelValue == "object" && (l.arrayList.includes(b) || (u.value = [])), l.inputType = C;
17516
+ C == "number-editor" ? typeof !a.modelValue == "number" && (l.stringList.includes(b) ? u.value = isNaN(u.value) ? void 0 : Number(u.value) : u.value = void 0) : l.stringList.includes(C) ? typeof !a.modelValue == "string" && (l.arrayList.includes(b) || b == "json-editor" ? u.value = String(a.modelValue).toString() : u.value = String(u.value)) : C == "boolean-editor" ? typeof !a.modelValue == "boolean" && (l.stringList.includes(b) ? u.value = Ln(u.value) : b == "number-editor" ? u.value = u.value > 0 : u.value = !!(u.value && !Ba(u.value))) : l.arrayList.includes(C) ? typeof !a.modelValue == "object" && (l.arrayList.includes(b) || (u.value = [])) : C == "json-editor" && typeof !a.modelValue == "object" && (l.arrayList.includes(b) || (u.value = [])), l.inputType = C;
17516
17517
  }), Ke(d, (C, b) => {
17517
17518
  l.inputOptions = C;
17518
17519
  }), Je(() => {
@@ -17529,7 +17530,7 @@ const bg = /* @__PURE__ */ B(af, [["render", nf]]), sf = /* @__PURE__ */ L({
17529
17530
  m("blur", C);
17530
17531
  }
17531
17532
  return (C, b) => {
17532
- const M = $e, f = Nt, y = Bl, k = Uo, A = kt, q = Dt, F = Ct, I = zo, V = Ro, T = Pa, H = va, Z = On;
17533
+ const M = $e, f = Nt, y = Bl, k = Uo, A = kt, q = Dt, F = Ct, I = zo, V = Ro, T = Pa, H = va, Z = Nn;
17533
17534
  return n(), w(E, null, [
17534
17535
  l.inputType === "text-editor" ? (n(), p(M, ae({
17535
17536
  key: 0,
@@ -17794,13 +17795,13 @@ const bg = /* @__PURE__ */ B(af, [["render", nf]]), sf = /* @__PURE__ */ L({
17794
17795
  ], 64);
17795
17796
  };
17796
17797
  }
17797
- }), gg = /* @__PURE__ */ B(sf, [["__scopeId", "data-v-3bca21e7"]]), rf = {
17798
+ }), vg = /* @__PURE__ */ B(rf, [["__scopeId", "data-v-3bca21e7"]]), df = {
17798
17799
  role: "heading",
17799
17800
  class: "el-dialog__title"
17800
- }, df = { style: { width: "100%", "min-height": "500px", height: "500px" } }, uf = {
17801
+ }, uf = { style: { width: "100%", "min-height": "500px", height: "500px" } }, pf = {
17801
17802
  key: 0,
17802
17803
  style: { color: "var(--el-color-warning)", "font-size": "9px" }
17803
- }, yg = /* @__PURE__ */ L({
17804
+ }, wg = /* @__PURE__ */ L({
17804
17805
  __name: "SdFormErd",
17805
17806
  props: {
17806
17807
  modelValue: null,
@@ -17955,7 +17956,7 @@ const bg = /* @__PURE__ */ B(af, [["render", nf]]), sf = /* @__PURE__ */ L({
17955
17956
  "destroy-on-close": !0
17956
17957
  }, {
17957
17958
  header: s(({ close: k, titleId: A, titleClass: q }) => [
17958
- P("span", rf, [
17959
+ P("span", df, [
17959
17960
  o.iconForm != "" ? (n(), p(M, {
17960
17961
  key: 0,
17961
17962
  "svg-data": o.iconForm
@@ -17967,7 +17968,7 @@ const bg = /* @__PURE__ */ B(af, [["render", nf]]), sf = /* @__PURE__ */ L({
17967
17968
  ])
17968
17969
  ]),
17969
17970
  default: s(() => [
17970
- P("div", df, [
17971
+ P("div", uf, [
17971
17972
  o.showContent ? (n(), p(pe(ni), {
17972
17973
  key: 0,
17973
17974
  nodes: o.nodes,
@@ -17999,7 +18000,7 @@ const bg = /* @__PURE__ */ B(af, [["render", nf]]), sf = /* @__PURE__ */ L({
17999
18000
  })),
18000
18001
  S(" " + O(k.data.label), 1)
18001
18002
  ]),
18002
- k.data.isParent ? g("", !0) : (n(), w("div", uf, O(k.data.ref_fields && Object.keys(k.data.ref_fields).length > 0 ? `REF: ${k.data.ref_fields.join(", ")}` : ""), 1))
18003
+ k.data.isParent ? g("", !0) : (n(), w("div", pf, O(k.data.ref_fields && Object.keys(k.data.ref_fields).length > 0 ? `REF: ${k.data.ref_fields.join(", ")}` : ""), 1))
18003
18004
  ], 4)
18004
18005
  ]),
18005
18006
  _: 1
@@ -18010,7 +18011,7 @@ const bg = /* @__PURE__ */ B(af, [["render", nf]]), sf = /* @__PURE__ */ L({
18010
18011
  }, 8, ["title", "modelValue", "close-on-click-modal"]);
18011
18012
  };
18012
18013
  }
18013
- }), pf = L({
18014
+ }), mf = L({
18014
18015
  name: "SdGrid",
18015
18016
  props: {
18016
18017
  dataProvider: {
@@ -18372,18 +18373,18 @@ const bg = /* @__PURE__ */ B(af, [["render", nf]]), sf = /* @__PURE__ */ L({
18372
18373
  }), l;
18373
18374
  }
18374
18375
  }
18375
- }), mf = { class: "card-header" }, ff = {
18376
+ }), ff = { class: "card-header" }, hf = {
18376
18377
  key: 0,
18377
18378
  class: "mb-2",
18378
18379
  style: { position: "relative" }
18379
- }, hf = { class: "text-6" }, cf = { style: { position: "absolute", top: "0px", right: "0px" } }, bf = {
18380
+ }, cf = { class: "text-6" }, bf = { style: { position: "absolute", top: "0px", right: "0px" } }, gf = {
18380
18381
  class: "text-3",
18381
18382
  style: { height: "32px", display: "inline-grid", "align-content": "center" }
18382
- }, gf = {
18383
+ }, yf = {
18383
18384
  class: "text-3",
18384
18385
  style: { height: "32px", display: "inline-grid", "align-content": "center" }
18385
- }, yf = { class: "card-footer" }, vf = { key: 0 };
18386
- function wf(e, t, a, l, o, i) {
18386
+ }, vf = { class: "card-footer" }, wf = { key: 0 };
18387
+ function Ff(e, t, a, l, o, i) {
18387
18388
  const d = ge, u = ze, m = oe, h = lt, c = $e, _ = na, C = St, b = qe, M = Lt, f = Aa, y = Fe, k = ua;
18388
18389
  return n(), w(E, null, [
18389
18390
  r(f, {
@@ -18391,11 +18392,11 @@ function wf(e, t, a, l, o, i) {
18391
18392
  shadow: "never"
18392
18393
  }, {
18393
18394
  header: s(() => [
18394
- P("div", mf, [
18395
- e.iconName != "" || e.titleName != "" ? (n(), w("div", ff, [
18395
+ P("div", ff, [
18396
+ e.iconName != "" || e.titleName != "" ? (n(), w("div", hf, [
18396
18397
  r(u, { truncated: "" }, {
18397
18398
  default: s(() => [
18398
- P("span", hf, [
18399
+ P("span", cf, [
18399
18400
  e.iconName != "" ? (n(), p(d, {
18400
18401
  key: 0,
18401
18402
  "icon-name": e.iconName
@@ -18405,7 +18406,7 @@ function wf(e, t, a, l, o, i) {
18405
18406
  ]),
18406
18407
  _: 1
18407
18408
  }),
18408
- P("span", cf, [
18409
+ P("span", bf, [
18409
18410
  fe(e.$slots, "actionsBar", {}, void 0, !0)
18410
18411
  ])
18411
18412
  ])) : g("", !0),
@@ -18441,7 +18442,7 @@ function wf(e, t, a, l, o, i) {
18441
18442
  onClick: e.handleRefresh,
18442
18443
  class: "mr-1"
18443
18444
  }, null, 8, ["onClick"]),
18444
- P("span", bf, [
18445
+ P("span", gf, [
18445
18446
  r(u, { "line-clamp": 2 }, {
18446
18447
  default: s(() => [
18447
18448
  P("span", null, O(e.rowStartLabel) + "-" + O(e.rowEndLabel) + " of " + O(e.totalLabel) + " items.", 1)
@@ -18513,7 +18514,7 @@ function wf(e, t, a, l, o, i) {
18513
18514
  style: { "text-align": "right" }
18514
18515
  }, {
18515
18516
  default: s(() => [
18516
- P("span", gf, [
18517
+ P("span", yf, [
18517
18518
  r(u, { "line-clamp": "2" }, {
18518
18519
  default: s(() => [
18519
18520
  S(" Showing " + O(e.rowStartLabel) + "-" + O(e.rowEndLabel) + " of " + O(e.totalLabel) + " items. ", 1)
@@ -18601,7 +18602,7 @@ function wf(e, t, a, l, o, i) {
18601
18602
  }, 8, ["data", "border", "show-summary", "summary-method", "onSortChange", "height", "max-height", "row-key", "onExpandChange", "lazy", "load", "tree-props", "onFilterChange"])), [
18602
18603
  [k, e.preLoading]
18603
18604
  ]),
18604
- P("div", yf, [
18605
+ P("div", vf, [
18605
18606
  e.total > e.limit ? (n(), p(_, {
18606
18607
  key: 0,
18607
18608
  "current-page": e.optionProvider.page,
@@ -18617,7 +18618,7 @@ function wf(e, t, a, l, o, i) {
18617
18618
  ]),
18618
18619
  _: 3
18619
18620
  }),
18620
- e.showPopupFlag ? (n(), w("div", vf, [
18621
+ e.showPopupFlag ? (n(), w("div", wf, [
18621
18622
  r(y, {
18622
18623
  title: e.popupName,
18623
18624
  modelValue: e.showPopupFlag,
@@ -18638,7 +18639,7 @@ function wf(e, t, a, l, o, i) {
18638
18639
  ])) : g("", !0)
18639
18640
  ], 64);
18640
18641
  }
18641
- const vg = /* @__PURE__ */ B(pf, [["render", wf], ["__scopeId", "data-v-a6ab139e"]]), Ff = L({
18642
+ const Fg = /* @__PURE__ */ B(mf, [["render", Ff], ["__scopeId", "data-v-a6ab139e"]]), _f = L({
18642
18643
  name: "SdGridColumnIndex",
18643
18644
  props: {
18644
18645
  columnLabel: {
@@ -18659,7 +18660,7 @@ const vg = /* @__PURE__ */ B(pf, [["render", wf], ["__scopeId", "data-v-a6ab139e
18659
18660
  computed: {},
18660
18661
  methods: {}
18661
18662
  });
18662
- function _f(e, t, a, l, o, i) {
18663
+ function Sf(e, t, a, l, o, i) {
18663
18664
  const d = qe;
18664
18665
  return n(), p(d, {
18665
18666
  type: "index",
@@ -18674,7 +18675,7 @@ function _f(e, t, a, l, o, i) {
18674
18675
  align: "center"
18675
18676
  }, null, 8, ["index", "label", "width"]);
18676
18677
  }
18677
- const wg = /* @__PURE__ */ B(Ff, [["render", _f]]), Sf = L({
18678
+ const _g = /* @__PURE__ */ B(_f, [["render", Sf]]), kf = L({
18678
18679
  name: "SdGridColumnDate",
18679
18680
  props: {
18680
18681
  columnProp: {
@@ -18713,7 +18714,7 @@ const wg = /* @__PURE__ */ B(Ff, [["render", _f]]), Sf = L({
18713
18714
  }
18714
18715
  }
18715
18716
  });
18716
- function kf(e, t, a, l, o, i) {
18717
+ function Cf(e, t, a, l, o, i) {
18717
18718
  const d = qe;
18718
18719
  return n(), p(d, {
18719
18720
  prop: e.columnProp,
@@ -18727,7 +18728,7 @@ function kf(e, t, a, l, o, i) {
18727
18728
  _: 1
18728
18729
  }, 8, ["prop", "label", "width", "sortable"]);
18729
18730
  }
18730
- const Fg = /* @__PURE__ */ B(Sf, [["render", kf]]), Cf = [
18731
+ const Sg = /* @__PURE__ */ B(kf, [["render", Cf]]), Df = [
18731
18732
  {
18732
18733
  value: "addon-api",
18733
18734
  label: "Api"
@@ -20924,7 +20925,7 @@ const Fg = /* @__PURE__ */ B(Sf, [["render", kf]]), Cf = [
20924
20925
  value: "undo",
20925
20926
  label: "Undo"
20926
20927
  }
20927
- ], Df = [
20928
+ ], If = [
20928
20929
  {
20929
20930
  value: "add-location",
20930
20931
  label: "Add Location"
@@ -22097,7 +22098,7 @@ const Fg = /* @__PURE__ */ B(Sf, [["render", kf]]), Cf = [
22097
22098
  value: "zoom-out",
22098
22099
  label: "Zoom Out"
22099
22100
  }
22100
- ], If = L({
22101
+ ], $f = L({
22101
22102
  name: "SdIcon",
22102
22103
  // components: { svg-icon },
22103
22104
  emits: ["update:modelValue", "change"],
@@ -22143,7 +22144,7 @@ const Fg = /* @__PURE__ */ B(Sf, [["render", kf]]), Cf = [
22143
22144
  };
22144
22145
  },
22145
22146
  created() {
22146
- this.elIcons ? this.restaurants = D(Df) : this.restaurants = D(Cf);
22147
+ this.elIcons ? this.restaurants = D(If) : this.restaurants = D(Df);
22147
22148
  },
22148
22149
  setup(e, t) {
22149
22150
  return {
@@ -22187,7 +22188,7 @@ const Fg = /* @__PURE__ */ B(Sf, [["render", kf]]), Cf = [
22187
22188
  useExtendedSearch: !0
22188
22189
  }, a = this;
22189
22190
  new Promise(function(o, i) {
22190
- const d = new vn(a.restaurants, t), u = e ? d.search("'" + e).map((m) => m.item) : a.restaurants;
22191
+ const d = new wn(a.restaurants, t), u = e ? d.search("'" + e).map((m) => m.item) : a.restaurants;
22191
22192
  a.loading = !0, u ? o(u) : i([]);
22192
22193
  }).then((o) => {
22193
22194
  this.loading = !1, this.itemsData = D(o);
@@ -22196,8 +22197,8 @@ const Fg = /* @__PURE__ */ B(Sf, [["render", kf]]), Cf = [
22196
22197
  });
22197
22198
  }
22198
22199
  }
22199
- }), $f = { class: "value" }, Tf = { class: "value" };
22200
- function Mf(e, t, a, l, o, i) {
22200
+ }), Tf = { class: "value" }, Mf = { class: "value" };
22201
+ function Pf(e, t, a, l, o, i) {
22201
22202
  const d = ge, u = Dt, m = Ct;
22202
22203
  return n(), p(m, {
22203
22204
  modelValue: e.value,
@@ -22222,7 +22223,7 @@ function Mf(e, t, a, l, o, i) {
22222
22223
  class: "mr-1"
22223
22224
  }, null, 8, ["icon-name"]),
22224
22225
  t[1] || (t[1] = S()),
22225
- P("span", $f, O(h), 1)
22226
+ P("span", Tf, O(h), 1)
22226
22227
  ]),
22227
22228
  default: s(() => [
22228
22229
  (n(!0), w(E, null, G(e.itemsData, (h) => (n(), p(u, {
@@ -22237,7 +22238,7 @@ function Mf(e, t, a, l, o, i) {
22237
22238
  class: "mr-1"
22238
22239
  }, null, 8, ["icon-name"]),
22239
22240
  t[2] || (t[2] = S()),
22240
- P("span", Tf, O(h.label), 1)
22241
+ P("span", Mf, O(h.label), 1)
22241
22242
  ]),
22242
22243
  _: 2
22243
22244
  }, 1032, ["label", "value"]))), 128))
@@ -22245,7 +22246,7 @@ function Mf(e, t, a, l, o, i) {
22245
22246
  _: 1
22246
22247
  }, 8, ["modelValue", "multiple", "allow-create", "disabled", "remote-method", "placeholder", "loading", "onChange"]);
22247
22248
  }
22248
- const _g = /* @__PURE__ */ B(If, [["render", Mf]]), Pf = L({
22249
+ const kg = /* @__PURE__ */ B($f, [["render", Pf]]), Vf = L({
22249
22250
  name: "OptionsItemSetting",
22250
22251
  props: {
22251
22252
  typeSelect: String,
@@ -22312,13 +22313,13 @@ const _g = /* @__PURE__ */ B(If, [["render", Mf]]), Pf = L({
22312
22313
  })) : this.optionItems = [], this.showImportDialogFlag = !1;
22313
22314
  }
22314
22315
  }
22315
- }), Vf = { class: "option-items-pane" }, Af = { class: "opt-item" }, Of = { key: 1 }, Nf = {
22316
+ }), Af = { class: "option-items-pane" }, Of = { class: "opt-item" }, Nf = { key: 1 }, Ef = {
22316
22317
  key: 3,
22317
22318
  class: ""
22318
- }, Ef = { class: "dialog-footer" };
22319
- function Lf(e, t, a, l, o, i) {
22319
+ }, Lf = { class: "dialog-footer" };
22320
+ function Bf(e, t, a, l, o, i) {
22320
22321
  const d = $e, u = ge, m = oe, h = Y("draggable"), c = ze, _ = Al, C = Fe;
22321
- return n(), w("div", Vf, [
22322
+ return n(), w("div", Af, [
22322
22323
  e.optionItems && e.optionItems.length > 0 ? (n(), p(h, ae({
22323
22324
  key: 0,
22324
22325
  tag: "ul",
@@ -22330,7 +22331,7 @@ function Lf(e, t, a, l, o, i) {
22330
22331
  handle: ".drag-option"
22331
22332
  }), {
22332
22333
  item: s(({ element: b, index: M }) => [
22333
- P("li", Af, [
22334
+ P("li", Of, [
22334
22335
  r(d, {
22335
22336
  modelValue: b.value,
22336
22337
  "onUpdate:modelValue": (f) => b.value = f,
@@ -22372,7 +22373,7 @@ function Lf(e, t, a, l, o, i) {
22372
22373
  ])
22373
22374
  ]),
22374
22375
  _: 1
22375
- }, 16, ["list"])) : (n(), w("div", Of, [
22376
+ }, 16, ["list"])) : (n(), w("div", Nf, [
22376
22377
  r(c, { type: "info" }, {
22377
22378
  default: s(() => [...t[3] || (t[3] = [
22378
22379
  S("No Data", -1)
@@ -22411,7 +22412,7 @@ function Lf(e, t, a, l, o, i) {
22411
22412
  ]),
22412
22413
  _: 1
22413
22414
  })),
22414
- e.showImportDialogFlag ? (n(), w("div", Nf, [
22415
+ e.showImportDialogFlag ? (n(), w("div", Ef, [
22415
22416
  r(C, {
22416
22417
  title: "Import Options",
22417
22418
  modelValue: e.showImportDialogFlag,
@@ -22426,7 +22427,7 @@ function Lf(e, t, a, l, o, i) {
22426
22427
  "destroy-on-close": !0
22427
22428
  }, {
22428
22429
  footer: s(() => [
22429
- P("div", Ef, [
22430
+ P("div", Lf, [
22430
22431
  r(m, {
22431
22432
  type: "primary",
22432
22433
  onClick: e.saveOptions
@@ -22459,7 +22460,7 @@ function Lf(e, t, a, l, o, i) {
22459
22460
  ])) : g("", !0)
22460
22461
  ]);
22461
22462
  }
22462
- const Sg = /* @__PURE__ */ B(Pf, [["render", Lf], ["__scopeId", "data-v-cc3dcbad"]]), Bf = L({
22463
+ const Cg = /* @__PURE__ */ B(Vf, [["render", Bf], ["__scopeId", "data-v-cc3dcbad"]]), jf = L({
22463
22464
  name: "SdReport",
22464
22465
  components: {},
22465
22466
  props: {
@@ -22549,7 +22550,7 @@ const Sg = /* @__PURE__ */ B(Pf, [["render", Lf], ["__scopeId", "data-v-cc3dcbad
22549
22550
  },
22550
22551
  computed: {},
22551
22552
  created() {
22552
- this.apiUrl = "", ka.vfs = wn, ka.fonts = {
22553
+ this.apiUrl = "", ka.vfs = Fn, ka.fonts = {
22553
22554
  THSarabun: {
22554
22555
  normal: "THSarabun.ttf",
22555
22556
  bold: "THSarabun-Bold.ttf",
@@ -23149,7 +23150,7 @@ const Sg = /* @__PURE__ */ B(Pf, [["render", Lf], ["__scopeId", "data-v-cc3dcbad
23149
23150
  },
23150
23151
  async createWord(e, t, a) {
23151
23152
  try {
23152
- const l = new Fn({
23153
+ const l = new _n({
23153
23154
  sections: [
23154
23155
  {
23155
23156
  properties: {
@@ -23223,8 +23224,8 @@ const Sg = /* @__PURE__ */ B(Pf, [["render", Lf], ["__scopeId", "data-v-cc3dcbad
23223
23224
  ]
23224
23225
  }
23225
23226
  ]
23226
- }), o = await _n.toBlob(l);
23227
- Sn(o, "debug-table-width.docx"), this.reportLoading?.close();
23227
+ }), o = await Sn.toBlob(l);
23228
+ kn(o, "debug-table-width.docx"), this.reportLoading?.close();
23228
23229
  } catch (l) {
23229
23230
  this.reportLoading?.close(), console.log(l);
23230
23231
  }
@@ -23305,12 +23306,12 @@ const Sg = /* @__PURE__ */ B(Pf, [["render", Lf], ["__scopeId", "data-v-cc3dcbad
23305
23306
  }
23306
23307
  }
23307
23308
  }
23308
- }), jf = { key: 2 }, Uf = { class: "dialog-footer" }, Rf = { key: 3 }, zf = {
23309
+ }), Uf = { key: 2 }, Rf = { class: "dialog-footer" }, zf = { key: 3 }, qf = {
23309
23310
  role: "heading",
23310
23311
  class: "el-dialog__title"
23311
- }, qf = ["src"], Hf = { key: 4 };
23312
- function xf(e, t, a, l, o, i) {
23313
- const d = ge, u = Y("arrow-down"), m = Ge, h = oe, c = _t, _ = Ft, C = wt, b = $e, M = Nt, f = kt, y = Bl, k = Um, A = pt, q = ut, F = Fe, I = Y("Document"), V = ra;
23312
+ }, Hf = ["src"], xf = { key: 4 };
23313
+ function Wf(e, t, a, l, o, i) {
23314
+ const d = ge, u = Y("arrow-down"), m = Ge, h = oe, c = _t, _ = Ft, C = wt, b = $e, M = Nt, f = kt, y = Bl, k = Rm, A = pt, q = ut, F = Fe, I = Y("Document"), V = ra;
23314
23315
  return n(), w(E, null, [
23315
23316
  Object.keys(e.reportList).length > 1 ? (n(), p(C, {
23316
23317
  key: 0,
@@ -23384,7 +23385,7 @@ function xf(e, t, a, l, o, i) {
23384
23385
  ]),
23385
23386
  _: 2
23386
23387
  }, 1032, ["size", "onClick"]))), 128)),
23387
- e.showPopupFlag ? (n(), w("div", jf, [
23388
+ e.showPopupFlag ? (n(), w("div", Uf, [
23388
23389
  r(F, {
23389
23390
  title: "Report Parameters",
23390
23391
  modelValue: e.showPopupFlag,
@@ -23398,7 +23399,7 @@ function xf(e, t, a, l, o, i) {
23398
23399
  "destroy-on-close": !0
23399
23400
  }, {
23400
23401
  footer: s(() => [
23401
- P("div", Uf, [
23402
+ P("div", Rf, [
23402
23403
  r(h, {
23403
23404
  type: "primary",
23404
23405
  icon: "Edit",
@@ -23496,7 +23497,7 @@ function xf(e, t, a, l, o, i) {
23496
23497
  _: 1
23497
23498
  }, 8, ["modelValue", "width"])
23498
23499
  ])) : g("", !0),
23499
- e.showReportPopupFlag ? (n(), w("div", Rf, [
23500
+ e.showReportPopupFlag ? (n(), w("div", zf, [
23500
23501
  r(F, {
23501
23502
  title: "Report Preview",
23502
23503
  modelValue: e.showReportPopupFlag,
@@ -23511,7 +23512,7 @@ function xf(e, t, a, l, o, i) {
23511
23512
  "destroy-on-close": !0
23512
23513
  }, {
23513
23514
  header: s(({ close: T, titleId: H, titleClass: Z }) => [
23514
- P("span", zf, [
23515
+ P("span", qf, [
23515
23516
  r(d, { "icon-name": "icon-pdf" }),
23516
23517
  t[8] || (t[8] = S(" Report Preview ", -1))
23517
23518
  ])
@@ -23524,12 +23525,12 @@ function xf(e, t, a, l, o, i) {
23524
23525
  style: te([{ width: "100%", "min-height": "400px" }, `height: ${e.scrollerHeight}px`]),
23525
23526
  class: "pdf-viewer",
23526
23527
  frameborder: "0"
23527
- }, null, 12, qf)) : g("", !0)
23528
+ }, null, 12, Hf)) : g("", !0)
23528
23529
  ]),
23529
23530
  _: 1
23530
23531
  }, 8, ["modelValue", "width"])
23531
23532
  ])) : g("", !0),
23532
- e.showDownloadPopupFlag ? (n(), w("div", Hf, [
23533
+ e.showDownloadPopupFlag ? (n(), w("div", xf, [
23533
23534
  r(F, {
23534
23535
  title: e.popupDownloadName,
23535
23536
  modelValue: e.showDownloadPopupFlag,
@@ -23568,7 +23569,7 @@ function xf(e, t, a, l, o, i) {
23568
23569
  ])) : g("", !0)
23569
23570
  ], 64);
23570
23571
  }
23571
- const kg = /* @__PURE__ */ B(Bf, [["render", xf], ["__scopeId", "data-v-1702f01f"]]), Wf = L({
23572
+ const Dg = /* @__PURE__ */ B(jf, [["render", Wf], ["__scopeId", "data-v-1702f01f"]]), Kf = L({
23572
23573
  name: "SdUiCarousel",
23573
23574
  components: {},
23574
23575
  props: {
@@ -23854,21 +23855,21 @@ const kg = /* @__PURE__ */ B(Bf, [["render", xf], ["__scopeId", "data-v-1702f01f
23854
23855
  // }
23855
23856
  // },
23856
23857
  }
23857
- }), Kf = { class: "list-title" }, Gf = {
23858
+ }), Gf = { class: "list-title" }, Yf = {
23858
23859
  key: 0,
23859
23860
  class: "text-5"
23860
- }, Yf = {
23861
+ }, Jf = {
23861
23862
  key: 3,
23862
23863
  style: { "font-size": "12px", "font-weight": "300" }
23863
- }, Jf = { style: { position: "relative" } }, Xf = { class: "el-image__error" }, Qf = {
23864
+ }, Xf = { style: { position: "relative" } }, Qf = { class: "el-image__error" }, Zf = {
23864
23865
  key: 1,
23865
23866
  class: "img-content"
23866
- }, Zf = ["innerHTML"], eh = ["innerHTML"], th = { class: "text-card" }, ah = { style: { "text-align": "center" } }, lh = ["innerHTML"], oh = ["innerHTML"];
23867
- function ih(e, t, a, l, o, i) {
23867
+ }, eh = ["innerHTML"], th = ["innerHTML"], ah = { class: "text-card" }, lh = { style: { "text-align": "center" } }, oh = ["innerHTML"], ih = ["innerHTML"];
23868
+ function nh(e, t, a, l, o, i) {
23868
23869
  const d = Ze, u = ge, m = Y("Loading"), h = Ge, c = Y("Picture"), _ = vt, C = xt, b = ze, M = Ho, f = qo;
23869
23870
  return n(), w(E, null, [
23870
- P("div", Kf, [
23871
- e.titleEnable ? (n(), w("span", Gf, [
23871
+ P("div", Gf, [
23872
+ e.titleEnable ? (n(), w("span", Yf, [
23872
23873
  e.iconForm != "" ? (n(), p(d, {
23873
23874
  key: 0,
23874
23875
  "svg-data": e.iconForm
@@ -23880,7 +23881,7 @@ function ih(e, t, a, l, o, i) {
23880
23881
  "icon-name": "icon-sdform"
23881
23882
  })),
23882
23883
  S(" " + O(e.titleNameForm) + " ", 1),
23883
- e.totalEnable ? (n(), w("span", Yf, " ( " + O(e.totalLabel()) + " )", 1)) : g("", !0)
23884
+ e.totalEnable ? (n(), w("span", Jf, " ( " + O(e.totalLabel()) + " )", 1)) : g("", !0)
23884
23885
  ])) : g("", !0),
23885
23886
  e.preLoading ? (n(), p(h, {
23886
23887
  key: 1,
@@ -23914,7 +23915,7 @@ function ih(e, t, a, l, o, i) {
23914
23915
  onClick: (A) => e.handleClick(y, k)
23915
23916
  }, {
23916
23917
  default: s(() => [
23917
- P("div", Jf, [
23918
+ P("div", Xf, [
23918
23919
  e.iconField ? (n(), p(_, {
23919
23920
  key: 0,
23920
23921
  style: te(`width: 100%; height: ${e.height}`),
@@ -23922,7 +23923,7 @@ function ih(e, t, a, l, o, i) {
23922
23923
  fit: "cover"
23923
23924
  }, {
23924
23925
  error: s(() => [
23925
- P("div", Xf, [
23926
+ P("div", Qf, [
23926
23927
  r(h, { style: { "font-size": "50px" } }, {
23927
23928
  default: s(() => [
23928
23929
  r(c)
@@ -23933,7 +23934,7 @@ function ih(e, t, a, l, o, i) {
23933
23934
  ]),
23934
23935
  _: 1
23935
23936
  }, 8, ["style", "src"])) : g("", !0),
23936
- e.titleField || e.titleContent || e.detailContent ? (n(), w("div", Qf, [
23937
+ e.titleField || e.titleContent || e.detailContent ? (n(), w("div", Zf, [
23937
23938
  P("div", null, [
23938
23939
  r(b, {
23939
23940
  class: "body-title",
@@ -23950,7 +23951,7 @@ function ih(e, t, a, l, o, i) {
23950
23951
  }, null, 8, ["sdform-model", "field-name", "field-setting", "raw-data", "user-state"])) : (n(), w("span", {
23951
23952
  key: 1,
23952
23953
  innerHTML: e.htmlValue(e.titleContent, y)
23953
- }, null, 8, Zf))
23954
+ }, null, 8, eh))
23954
23955
  ]),
23955
23956
  _: 2
23956
23957
  }, 1024)
@@ -23963,7 +23964,7 @@ function ih(e, t, a, l, o, i) {
23963
23964
  e.detailContent ? (n(), w("span", {
23964
23965
  key: 0,
23965
23966
  innerHTML: e.htmlValue(e.detailContent, y)
23966
- }, null, 8, eh)) : g("", !0)
23967
+ }, null, 8, th)) : g("", !0)
23967
23968
  ]),
23968
23969
  _: 2
23969
23970
  }, 1032, ["line-clamp"])) : g("", !0)
@@ -23977,9 +23978,9 @@ function ih(e, t, a, l, o, i) {
23977
23978
  onClick: (A) => e.handleClick(y, k)
23978
23979
  }, {
23979
23980
  default: s(() => [
23980
- P("div", th, [
23981
+ P("div", ah, [
23981
23982
  P("div", null, [
23982
- P("div", ah, [
23983
+ P("div", lh, [
23983
23984
  r(b, {
23984
23985
  class: "body-title",
23985
23986
  truncated: ""
@@ -23995,7 +23996,7 @@ function ih(e, t, a, l, o, i) {
23995
23996
  }, null, 8, ["sdform-model", "field-name", "field-setting", "raw-data", "user-state"])) : (n(), w("span", {
23996
23997
  key: 1,
23997
23998
  innerHTML: e.htmlValue(e.titleContent, y)
23998
- }, null, 8, lh))
23999
+ }, null, 8, oh))
23999
24000
  ]),
24000
24001
  _: 2
24001
24002
  }, 1024)
@@ -24008,7 +24009,7 @@ function ih(e, t, a, l, o, i) {
24008
24009
  e.detailContent ? (n(), w("span", {
24009
24010
  key: 0,
24010
24011
  innerHTML: e.htmlValue(e.detailContent, y)
24011
- }, null, 8, oh)) : g("", !0)
24012
+ }, null, 8, ih)) : g("", !0)
24012
24013
  ]),
24013
24014
  _: 2
24014
24015
  }, 1032, ["line-clamp"])) : g("", !0)
@@ -24023,7 +24024,7 @@ function ih(e, t, a, l, o, i) {
24023
24024
  }, 8, ["indicator-position", "motionBlur", "interval", "autoplay", "direction", "type", "trigger", "height"])) : g("", !0)
24024
24025
  ], 64);
24025
24026
  }
24026
- const Cg = /* @__PURE__ */ B(Wf, [["render", ih], ["__scopeId", "data-v-ea5295de"]]), nh = L({
24027
+ const Ig = /* @__PURE__ */ B(Kf, [["render", nh], ["__scopeId", "data-v-ea5295de"]]), sh = L({
24027
24028
  name: "SdUiMenu",
24028
24029
  components: {},
24029
24030
  props: {
@@ -24345,17 +24346,17 @@ const Cg = /* @__PURE__ */ B(Wf, [["render", ih], ["__scopeId", "data-v-ea5295de
24345
24346
  // }
24346
24347
  // },
24347
24348
  }
24348
- }), sh = { key: 0 }, rh = {
24349
+ }), rh = { key: 0 }, dh = {
24349
24350
  key: 1,
24350
24351
  class: "menu-label"
24351
- }, dh = {
24352
+ }, uh = {
24352
24353
  key: 1,
24353
24354
  class: "menu-label"
24354
- }, uh = {
24355
+ }, ph = {
24355
24356
  key: 1,
24356
24357
  class: "menu-label"
24357
24358
  };
24358
- function ph(e, t, a, l, o, i) {
24359
+ function mh(e, t, a, l, o, i) {
24359
24360
  const d = ge, u = Wo, m = ia, h = Ko, c = xo, _ = Ol, C = zl("can");
24360
24361
  return n(), w(E, null, [
24361
24362
  r(_, {
@@ -24379,7 +24380,7 @@ function ph(e, t, a, l, o, i) {
24379
24380
  "menu-trigger": e.trigger
24380
24381
  }, {
24381
24382
  default: s(() => [
24382
- e.expandEnable ? (n(), w("div", sh, [
24383
+ e.expandEnable ? (n(), w("div", rh, [
24383
24384
  r(u, {
24384
24385
  class: "menu-expand",
24385
24386
  style: te(`height: ${e.expandHeight}px;`),
@@ -24416,7 +24417,7 @@ function ph(e, t, a, l, o, i) {
24416
24417
  class: "menu-icon",
24417
24418
  "icon-name": b[e.iconField]
24418
24419
  }, null, 8, ["icon-name"])) : g("", !0),
24419
- e.labelField ? (n(), w("span", rh, O(b[e.labelField]), 1)) : g("", !0)
24420
+ e.labelField ? (n(), w("span", dh, O(b[e.labelField]), 1)) : g("", !0)
24420
24421
  ]),
24421
24422
  default: s(() => [
24422
24423
  (n(!0), w(E, null, G(b[e.subMenuField], (f, y) => Ve((n(), p(u, {
@@ -24431,7 +24432,7 @@ function ph(e, t, a, l, o, i) {
24431
24432
  class: "menu-icon",
24432
24433
  "icon-name": f[`${e.subMenuPrefix}${e.iconField}`]
24433
24434
  }, null, 8, ["icon-name"])) : g("", !0),
24434
- e.labelField && e.subMenuPrefix ? (n(), w("span", dh, O(f[`${e.subMenuPrefix}${e.labelField}`]), 1)) : g("", !0)
24435
+ e.labelField && e.subMenuPrefix ? (n(), w("span", uh, O(f[`${e.subMenuPrefix}${e.labelField}`]), 1)) : g("", !0)
24435
24436
  ]),
24436
24437
  _: 2
24437
24438
  }, 1032, ["index", "onClick"])), [
@@ -24463,7 +24464,7 @@ function ph(e, t, a, l, o, i) {
24463
24464
  class: "menu-icon",
24464
24465
  "icon-name": b[e.iconField]
24465
24466
  }, null, 8, ["icon-name"])) : g("", !0),
24466
- e.labelField ? (n(), w("span", uh, O(b[e.labelField]), 1)) : g("", !0)
24467
+ e.labelField ? (n(), w("span", ph, O(b[e.labelField]), 1)) : g("", !0)
24467
24468
  ]),
24468
24469
  _: 2
24469
24470
  }, 1032, ["index", "onClick"])), [
@@ -24486,7 +24487,7 @@ function ph(e, t, a, l, o, i) {
24486
24487
  }, null, 4)
24487
24488
  ], 64);
24488
24489
  }
24489
- const Dg = /* @__PURE__ */ B(nh, [["render", ph]]), mh = L({
24490
+ const $g = /* @__PURE__ */ B(sh, [["render", mh]]), fh = L({
24490
24491
  name: "SdUiRecordView",
24491
24492
  components: {
24492
24493
  // SdCrudPopupGrid,
@@ -24818,9 +24819,9 @@ const Dg = /* @__PURE__ */ B(nh, [["render", ph]]), mh = L({
24818
24819
  return this.sdformModel.form_db.schema[e];
24819
24820
  }
24820
24821
  }
24821
- }), fh = { class: "text-6" }, hh = ["innerHTML"];
24822
- function ch(e, t, a, l, o, i) {
24823
- const d = Ze, u = ge, m = oe, h = xt, c = Ll, _ = El, C = $m;
24822
+ }), hh = { class: "text-6" }, ch = ["innerHTML"];
24823
+ function bh(e, t, a, l, o, i) {
24824
+ const d = Ze, u = ge, m = oe, h = xt, c = Ll, _ = El, C = Tm;
24824
24825
  return n(), w(E, null, [
24825
24826
  r(_, {
24826
24827
  class: X({ blockUi: e.blockEnable }),
@@ -24844,7 +24845,7 @@ function ch(e, t, a, l, o, i) {
24844
24845
  b.htmlValue ? (n(), w("span", {
24845
24846
  key: 0,
24846
24847
  innerHTML: e.htmlValue(b.htmlValue, e.rawData, b)
24847
- }, null, 8, hh)) : (n(), p(h, {
24848
+ }, null, 8, ch)) : (n(), p(h, {
24848
24849
  key: 1,
24849
24850
  "sdform-model": e.sdformModel,
24850
24851
  "field-name": b.fieldName,
@@ -24871,7 +24872,7 @@ function ch(e, t, a, l, o, i) {
24871
24872
  e.titleEnable ? {
24872
24873
  name: "title",
24873
24874
  fn: s(() => [
24874
- P("span", fh, [
24875
+ P("span", hh, [
24875
24876
  e.iconForm != "" ? (n(), p(d, {
24876
24877
  key: 0,
24877
24878
  "svg-data": e.iconForm
@@ -24958,96 +24959,96 @@ function ch(e, t, a, l, o, i) {
24958
24959
  }, null, 8, ["modelValue", "parent-id", "readonly", "form-id", "user-state", "cancel-callback"])) : g("", !0)
24959
24960
  ], 64);
24960
24961
  }
24961
- const Ig = /* @__PURE__ */ B(mh, [["render", ch], ["__scopeId", "data-v-88128e90"]]);
24962
+ const Tg = /* @__PURE__ */ B(fh, [["render", bh], ["__scopeId", "data-v-88128e90"]]);
24962
24963
  export {
24963
24964
  Ua as $,
24964
24965
  vo as A,
24965
- Cg as B,
24966
- Tp as C,
24967
- Dg as D,
24968
- Ig as E,
24969
- Ad as F,
24966
+ Ig as B,
24967
+ Mp as C,
24968
+ $g as D,
24969
+ Tg as E,
24970
+ Od as F,
24970
24971
  xt as G,
24971
- tf as H,
24972
+ af as H,
24972
24973
  at as I,
24973
24974
  Ot as J,
24974
24975
  Ie as K,
24975
- Mu as L,
24976
+ Pu as L,
24976
24977
  wa as M,
24977
- Pu as N,
24978
+ Vu as N,
24978
24979
  dt as O,
24979
24980
  ja as P,
24980
- rg as Q,
24981
- Vu as R,
24982
- mg as S,
24983
- dg as T,
24981
+ ug as Q,
24982
+ Au as R,
24983
+ hg as S,
24984
+ pg as T,
24984
24985
  co as U,
24985
24986
  Pl as V,
24986
- ug as W,
24987
+ mg as W,
24987
24988
  oa as X,
24988
24989
  Oe as Y,
24989
24990
  Re as Z,
24990
24991
  Ze as _,
24991
24992
  ge as a,
24992
24993
  Fa as a0,
24993
- Au as a1,
24994
+ Ou as a1,
24994
24995
  Ae as a2,
24995
- Ou as a3,
24996
+ Nu as a3,
24996
24997
  B as a4,
24997
- Nn as a5,
24998
+ En as a5,
24998
24999
  Ce as a6,
24999
25000
  D as a7,
25000
25001
  De as a8,
25001
25002
  Rt as a9,
25002
- Gb as aa,
25003
- Kb as ab,
25003
+ Jb as aa,
25004
+ Yb as ab,
25004
25005
  ce as ac,
25005
25006
  $a as ad,
25006
- og as ae,
25007
- lg as af,
25008
- En as ag,
25009
- ig as ah,
25010
- ag as ai,
25011
- tg as aj,
25007
+ ng as ae,
25008
+ ig as af,
25009
+ Ln as ag,
25010
+ sg as ah,
25011
+ og as ai,
25012
+ lg as aj,
25012
25013
  Ba as ak,
25013
- Yb as al,
25014
+ Xb as al,
25014
25015
  La as am,
25015
- Wb as an,
25016
+ Gb as an,
25016
25017
  ga as ao,
25017
- Qb as ap,
25018
+ eg as ap,
25018
25019
  ee as aq,
25019
- xb as ar,
25020
- eg as as,
25021
- Zb as at,
25020
+ Kb as ar,
25021
+ ag as as,
25022
+ tg as at,
25022
25023
  bt as au,
25023
- Xb as av,
25024
- Jb as aw,
25024
+ Zb as av,
25025
+ Qb as aw,
25025
25026
  de as ax,
25026
- Hm as ay,
25027
+ xm as ay,
25027
25028
  Ra as az,
25028
- On as b,
25029
- ng as c,
25029
+ Nn as b,
25030
+ rg as c,
25030
25031
  va as d,
25031
- sg as e,
25032
- pg as f,
25033
- fg as g,
25034
- hg as h,
25032
+ dg as e,
25033
+ fg as f,
25034
+ cg as g,
25035
+ bg as h,
25035
25036
  bo as i,
25036
- wm as j,
25037
- km as k,
25038
- $m as l,
25039
- cg as m,
25040
- Um as n,
25041
- bg as o,
25042
- gg as p,
25043
- yg as q,
25044
- vg as r,
25037
+ Fm as j,
25038
+ Cm as k,
25039
+ Tm as l,
25040
+ gg as m,
25041
+ Rm as n,
25042
+ yg as o,
25043
+ vg as p,
25044
+ wg as q,
25045
+ Fg as r,
25045
25046
  go as s,
25046
25047
  yo as t,
25047
- um as u,
25048
- wg as v,
25049
- Fg as w,
25050
- _g as x,
25051
- Sg as y,
25052
- kg as z
25048
+ pm as u,
25049
+ _g as v,
25050
+ Sg as w,
25051
+ kg as x,
25052
+ Cg as y,
25053
+ Dg as z
25053
25054
  };