lw-cdp-ui 1.1.17 → 1.1.18

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.
@@ -3,9 +3,15 @@
3
3
  */
4
4
 
5
5
  const modules = {}
6
- const files = import.meta.globEager('./datas/*.js')
7
- for (const key in files) {
8
- const name = key.match(/\.\/datas\/(.+)\.js$/)[1]
9
- modules[name] = files[key].default
6
+ const files = import.meta.glob('./datas/*.js')
7
+
8
+ async function loadModules() {
9
+ const modulePromises = Object.keys(files).map(async (key) => {
10
+ const name = key.match(/\.\/datas\/(.+)\.js$/)[1]
11
+ const module = await files[key]() // 动态导入
12
+ modules[name] = module.default
13
+ })
14
+
15
+ await Promise.all(modulePromises)
10
16
  }
11
- export default modules
17
+ export default loadModules()
@@ -1288,7 +1288,7 @@ const iframeView = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_ren
1288
1288
  id: "adminui-main"
1289
1289
  };
1290
1290
  function _sfc_render$m(e, n, a, m, r, u) {
1291
- const _ = resolveComponent("el-icon"), p = resolveComponent("userbar"), g = resolveComponent("NavMenu"), b = resolveComponent("el-menu"), V = resolveComponent("el-scrollbar"), C = resolveComponent("el-icon-expand"), I = resolveComponent("el-icon-fold"), F = resolveComponent("Side-m"), N = resolveComponent("Topbar"), O = resolveComponent("Tags"), $ = resolveComponent("router-view"), K = resolveComponent("iframe-view"), W = resolveComponent("Aside"), k = resolveComponent("el-icon-close"), j = resolveComponent("el-icon-brush-filled"), A = resolveComponent("setting"), q = resolveComponent("el-drawer");
1291
+ const _ = resolveComponent("el-icon"), p = resolveComponent("userbar"), g = resolveComponent("NavMenu"), b = resolveComponent("el-menu"), V = resolveComponent("el-scrollbar"), C = resolveComponent("el-icon-expand"), I = resolveComponent("el-icon-fold"), F = resolveComponent("Side-m"), N = resolveComponent("Topbar"), O = resolveComponent("Tags"), $ = resolveComponent("router-view"), K = resolveComponent("iframe-view"), W = resolveComponent("Aside"), k = resolveComponent("el-icon-close"), q = resolveComponent("el-icon-brush-filled"), A = resolveComponent("setting"), j = resolveComponent("el-drawer");
1292
1292
  return openBlock(), createElementBlock(Fragment, null, [
1293
1293
  u.layout == "header" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
1294
1294
  createElementVNode("header", _hoisted_1$f, [
@@ -1625,12 +1625,12 @@ function _sfc_render$m(e, n, a, m, r, u) {
1625
1625
  }, [
1626
1626
  createVNode(_, null, {
1627
1627
  default: withCtx(() => [
1628
- createVNode(j)
1628
+ createVNode(q)
1629
1629
  ]),
1630
1630
  _: 1
1631
1631
  })
1632
1632
  ]),
1633
- createVNode(q, {
1633
+ createVNode(j, {
1634
1634
  title: "布局实时演示",
1635
1635
  modelValue: r.settingDialog,
1636
1636
  "onUpdate:modelValue": n[5] || (n[5] = (M) => r.settingDialog = M),
@@ -1696,9 +1696,9 @@ var jsencrypt_min = { exports: {} };
1696
1696
  if (!O) {
1697
1697
  var A = I(K);
1698
1698
  O = !0;
1699
- for (var q = N.length; q; ) {
1700
- for (F = N, N = []; ++$ < q; ) F && F[$].run();
1701
- $ = -1, q = N.length;
1699
+ for (var j = N.length; j; ) {
1700
+ for (F = N, N = []; ++$ < j; ) F && F[$].run();
1701
+ $ = -1, j = N.length;
1702
1702
  }
1703
1703
  F = null, O = !1, function(M) {
1704
1704
  if (g === clearTimeout) return clearTimeout(M);
@@ -1715,18 +1715,18 @@ var jsencrypt_min = { exports: {} };
1715
1715
  }(A);
1716
1716
  }
1717
1717
  }
1718
- function k(A, q) {
1719
- this.fun = A, this.array = q;
1718
+ function k(A, j) {
1719
+ this.fun = A, this.array = j;
1720
1720
  }
1721
- function j() {
1721
+ function q() {
1722
1722
  }
1723
1723
  b.nextTick = function(A) {
1724
- var q = new Array(arguments.length - 1);
1725
- if (arguments.length > 1) for (var M = 1; M < arguments.length; M++) q[M - 1] = arguments[M];
1726
- N.push(new k(A, q)), N.length !== 1 || O || I(W);
1724
+ var j = new Array(arguments.length - 1);
1725
+ if (arguments.length > 1) for (var M = 1; M < arguments.length; M++) j[M - 1] = arguments[M];
1726
+ N.push(new k(A, j)), N.length !== 1 || O || I(W);
1727
1727
  }, k.prototype.run = function() {
1728
1728
  this.fun.apply(null, this.array);
1729
- }, b.title = "browser", b.browser = !0, b.env = {}, b.argv = [], b.version = "", b.versions = {}, b.on = j, b.addListener = j, b.once = j, b.off = j, b.removeListener = j, b.removeAllListeners = j, b.emit = j, b.prependListener = j, b.prependOnceListener = j, b.listeners = function(A) {
1729
+ }, b.title = "browser", b.browser = !0, b.env = {}, b.argv = [], b.version = "", b.versions = {}, b.on = q, b.addListener = q, b.once = q, b.off = q, b.removeListener = q, b.removeAllListeners = q, b.emit = q, b.prependListener = q, b.prependOnceListener = q, b.listeners = function(A) {
1730
1730
  return [];
1731
1731
  }, b.binding = function(A) {
1732
1732
  throw new Error("process.binding is not supported");
@@ -1790,7 +1790,7 @@ var jsencrypt_min = { exports: {} };
1790
1790
  }
1791
1791
  return l == 1 && (o += p(i << 2)), o;
1792
1792
  }
1793
- var k, j = { decode: function(s) {
1793
+ var k, q = { decode: function(s) {
1794
1794
  var t;
1795
1795
  if (k === void 0) {
1796
1796
  var o = `= \f
@@ -1818,14 +1818,14 @@ var jsencrypt_min = { exports: {} };
1818
1818
  }
1819
1819
  return l;
1820
1820
  }, re: /-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/, unarmor: function(s) {
1821
- var t = j.re.exec(s);
1821
+ var t = q.re.exec(s);
1822
1822
  if (t) if (t[1]) s = t[1];
1823
1823
  else {
1824
1824
  if (!t[2]) throw new Error("RegExp out of sync");
1825
1825
  s = t[2];
1826
1826
  }
1827
- return j.decode(s);
1828
- } }, A = 1e13, q = function() {
1827
+ return q.decode(s);
1828
+ } }, A = 1e13, j = function() {
1829
1829
  function s(t) {
1830
1830
  this.buf = [+t || 0];
1831
1831
  }
@@ -1904,7 +1904,7 @@ var jsencrypt_min = { exports: {} };
1904
1904
  `;
1905
1905
  }
1906
1906
  h && (i -= 256);
1907
- for (var v = new q(i), D = t + 1; D < o; ++D) v.mulAdd(256, this.get(D));
1907
+ for (var v = new j(i), D = t + 1; D < o; ++D) v.mulAdd(256, this.get(D));
1908
1908
  return y + v.toString();
1909
1909
  }, s.prototype.parseBitString = function(t, o, l) {
1910
1910
  for (var i = this.get(t), h = "(" + ((o - t - 1 << 3) - i) + ` bit)
@@ -1921,17 +1921,17 @@ var jsencrypt_min = { exports: {} };
1921
1921
  for (var f = t; f < o; ++f) h += this.hexByte(this.get(f));
1922
1922
  return i > l && (h += M), h;
1923
1923
  }, s.prototype.parseOID = function(t, o, l) {
1924
- for (var i = "", h = new q(), f = 0, y = t; y < o; ++y) {
1924
+ for (var i = "", h = new j(), f = 0, y = t; y < o; ++y) {
1925
1925
  var v = this.get(y);
1926
1926
  if (h.mulAdd(128, 127 & v), f += 7, !(128 & v)) {
1927
- if (i === "") if ((h = h.simplify()) instanceof q) h.sub(80), i = "2." + h.toString();
1927
+ if (i === "") if ((h = h.simplify()) instanceof j) h.sub(80), i = "2." + h.toString();
1928
1928
  else {
1929
1929
  var D = h < 80 ? h < 40 ? 0 : 1 : 2;
1930
1930
  i = D + "." + (h - 40 * D);
1931
1931
  }
1932
1932
  else i += "." + h.toString();
1933
1933
  if (i.length > l) return ne(i, l);
1934
- h = new q(), f = 0;
1934
+ h = new j(), f = 0;
1935
1935
  }
1936
1936
  }
1937
1937
  return f > 0 && (i += ".incomplete"), i;
@@ -2111,7 +2111,7 @@ var jsencrypt_min = { exports: {} };
2111
2111
  function s(t) {
2112
2112
  var o = t.get();
2113
2113
  if (this.tagClass = o >> 6, this.tagConstructed = (32 & o) != 0, this.tagNumber = 31 & o, this.tagNumber == 31) {
2114
- var l = new q();
2114
+ var l = new j();
2115
2115
  do
2116
2116
  o = t.get(), l.mulAdd(128, 127 & o);
2117
2117
  while (128 & o);
@@ -3133,7 +3133,7 @@ var jsencrypt_min = { exports: {} };
3133
3133
  }
3134
3134
  if (Oe) throw new Error("Hex encoding incomplete: 4 bits missing");
3135
3135
  return de;
3136
- }(o) : j.unarmor(o), f = pe.decode(h);
3136
+ }(o) : q.unarmor(o), f = pe.decode(h);
3137
3137
  if (f.sub.length === 3 && (f = f.sub[2].sub[0]), f.sub.length === 9) {
3138
3138
  l = f.sub[1].getHexStringValue(), this.n = E(l, 16), i = f.sub[2].getHexStringValue(), this.e = parseInt(i, 16);
3139
3139
  var y = f.sub[3].getHexStringValue();
@@ -4673,7 +4673,7 @@ const _sfc_main$e = {
4673
4673
  a.value.toggleRowSelection(E, L);
4674
4674
  }, k = (E, L) => {
4675
4675
  a.value.clearSelection();
4676
- }, j = (E, L, R) => R !== "inner", A = (E) => E.data.label.indexOf("Level three 3-1-1") === -1, q = () => {
4676
+ }, q = (E, L, R) => R !== "inner", A = (E) => E.data.label.indexOf("Level three 3-1-1") === -1, j = () => {
4677
4677
  p.tableSettingTitle = "选择字段", p.dialogVisible = !0;
4678
4678
  }, M = () => {
4679
4679
  if (p.checkedList.length === 0) {
@@ -4761,9 +4761,9 @@ const _sfc_main$e = {
4761
4761
  sizeChange: O,
4762
4762
  currentChange: $,
4763
4763
  multipleTable: a,
4764
- allowDrop: j,
4764
+ allowDrop: q,
4765
4765
  allowDrag: A,
4766
- tableSetting: q,
4766
+ tableSetting: j,
4767
4767
  next: M,
4768
4768
  prev: X,
4769
4769
  tableHeaderConfirm: ee,
@@ -4792,7 +4792,7 @@ const _sfc_main$e = {
4792
4792
  class: "pagination-block"
4793
4793
  }, _hoisted_24 = { class: "tool-block" }, _hoisted_25 = { class: "dropdown-trigger" }, _hoisted_26 = { class: "fix-num" };
4794
4794
  function _sfc_render$e(e, n, a, m, r, u) {
4795
- const _ = resolveComponent("el-table-column"), p = resolveComponent("el-button"), g = resolveComponent("el-tooltip"), b = resolveComponent("el-icon-more-filled"), V = resolveComponent("el-icon"), C = resolveComponent("el-dropdown-item"), I = resolveComponent("el-dropdown-menu"), F = resolveComponent("el-dropdown"), N = resolveComponent("el-image"), O = resolveComponent("el-option"), $ = resolveComponent("el-select"), K = resolveComponent("el-switch"), W = resolveComponent("el-progress"), k = resolveComponent("el-table"), j = resolveComponent("el-icon-refresh"), A = resolveComponent("el-icon-set-up"), q = resolveComponent("el-icon-setting"), M = resolveComponent("el-checkbox"), X = resolveComponent("el-checkbox-group"), ee = resolveComponent("el-input-number"), ne = resolveComponent("el-popover"), ae = resolveComponent("el-icon-full-screen"), ce = resolveComponent("el-pagination"), pe = resolveDirective("loading");
4795
+ const _ = resolveComponent("el-table-column"), p = resolveComponent("el-button"), g = resolveComponent("el-tooltip"), b = resolveComponent("el-icon-more-filled"), V = resolveComponent("el-icon"), C = resolveComponent("el-dropdown-item"), I = resolveComponent("el-dropdown-menu"), F = resolveComponent("el-dropdown"), N = resolveComponent("el-image"), O = resolveComponent("el-option"), $ = resolveComponent("el-select"), K = resolveComponent("el-switch"), W = resolveComponent("el-progress"), k = resolveComponent("el-table"), q = resolveComponent("el-icon-refresh"), A = resolveComponent("el-icon-set-up"), j = resolveComponent("el-icon-setting"), M = resolveComponent("el-checkbox"), X = resolveComponent("el-checkbox-group"), ee = resolveComponent("el-input-number"), ne = resolveComponent("el-popover"), ae = resolveComponent("el-icon-full-screen"), ce = resolveComponent("el-pagination"), pe = resolveDirective("loading");
4796
4796
  return openBlock(), createElementBlock("div", _hoisted_1$a, [
4797
4797
  withDirectives((openBlock(), createBlock(k, {
4798
4798
  ref: "multipleTable",
@@ -5083,7 +5083,7 @@ function _sfc_render$e(e, n, a, m, r, u) {
5083
5083
  onClick: e.refresh
5084
5084
  }, {
5085
5085
  default: withCtx(() => [
5086
- createVNode(j)
5086
+ createVNode(q)
5087
5087
  ]),
5088
5088
  _: 1
5089
5089
  }, 8, ["onClick"])
@@ -5144,7 +5144,7 @@ function _sfc_render$e(e, n, a, m, r, u) {
5144
5144
  reference: withCtx(() => [
5145
5145
  createVNode(V, { size: "20" }, {
5146
5146
  default: withCtx(() => [
5147
- createVNode(q)
5147
+ createVNode(j)
5148
5148
  ]),
5149
5149
  _: 1
5150
5150
  })
@@ -5667,7 +5667,7 @@ const lwUpload = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_rende
5667
5667
  class: "el-form-item-msg"
5668
5668
  };
5669
5669
  function _sfc_render$c(e, n, a, m, r, u) {
5670
- const _ = resolveComponent("el-skeleton"), p = resolveComponent("el-icon-question-filled"), g = resolveComponent("el-icon"), b = resolveComponent("el-tooltip"), V = resolveComponent("el-input"), C = resolveComponent("lw-upload"), I = resolveComponent("el-checkbox"), F = resolveComponent("el-checkbox-group"), N = resolveComponent("el-switch"), O = resolveComponent("el-option"), $ = resolveComponent("el-select"), K = resolveComponent("el-cascader"), W = resolveComponent("el-date-picker"), k = resolveComponent("el-input-number"), j = resolveComponent("el-radio"), A = resolveComponent("el-radio-group"), q = resolveComponent("el-color-picker"), M = resolveComponent("el-rate"), X = resolveComponent("el-slider"), ee = resolveComponent("el-tag"), ne = resolveComponent("el-button"), ae = resolveComponent("el-form-item"), ce = resolveComponent("el-col"), pe = resolveComponent("el-row"), S = resolveComponent("el-form"), T = resolveDirective("loading");
5670
+ const _ = resolveComponent("el-skeleton"), p = resolveComponent("el-icon-question-filled"), g = resolveComponent("el-icon"), b = resolveComponent("el-tooltip"), V = resolveComponent("el-input"), C = resolveComponent("lw-upload"), I = resolveComponent("el-checkbox"), F = resolveComponent("el-checkbox-group"), N = resolveComponent("el-switch"), O = resolveComponent("el-option"), $ = resolveComponent("el-select"), K = resolveComponent("el-cascader"), W = resolveComponent("el-date-picker"), k = resolveComponent("el-input-number"), q = resolveComponent("el-radio"), A = resolveComponent("el-radio-group"), j = resolveComponent("el-color-picker"), M = resolveComponent("el-rate"), X = resolveComponent("el-slider"), ee = resolveComponent("el-tag"), ne = resolveComponent("el-button"), ae = resolveComponent("el-form-item"), ce = resolveComponent("el-col"), pe = resolveComponent("el-row"), S = resolveComponent("el-form"), T = resolveDirective("loading");
5671
5671
  return r.renderLoading || Object.keys(r.form).length == 0 ? (openBlock(), createBlock(_, {
5672
5672
  key: 0,
5673
5673
  animated: ""
@@ -5971,7 +5971,7 @@ function _sfc_render$c(e, n, a, m, r, u) {
5971
5971
  disabled: d.options.disabled
5972
5972
  }, {
5973
5973
  default: withCtx(() => [
5974
- (openBlock(!0), createElementBlock(Fragment, null, renderList(d.options.items, (o) => (openBlock(), createBlock(j, {
5974
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(d.options.items, (o) => (openBlock(), createBlock(q, {
5975
5975
  key: o.value,
5976
5976
  label: o.value
5977
5977
  }, {
@@ -5989,7 +5989,7 @@ function _sfc_render$c(e, n, a, m, r, u) {
5989
5989
  disabled: d.options.disabled
5990
5990
  }, {
5991
5991
  default: withCtx(() => [
5992
- (openBlock(!0), createElementBlock(Fragment, null, renderList(d.options.items, (o) => (openBlock(), createBlock(j, {
5992
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(d.options.items, (o) => (openBlock(), createBlock(q, {
5993
5993
  key: o.value,
5994
5994
  label: o.value
5995
5995
  }, {
@@ -6002,11 +6002,11 @@ function _sfc_render$c(e, n, a, m, r, u) {
6002
6002
  _: 2
6003
6003
  }, 1032, ["modelValue", "onUpdate:modelValue", "disabled"]))
6004
6004
  ], 64)) : d.component == "color" ? (openBlock(), createElementBlock(Fragment, { key: 10 }, [
6005
- (De = d == null ? void 0 : d.options) != null && De.name ? (openBlock(), createBlock(q, {
6005
+ (De = d == null ? void 0 : d.options) != null && De.name ? (openBlock(), createBlock(j, {
6006
6006
  key: 0,
6007
6007
  modelValue: r.form[d.name][d.options.name],
6008
6008
  "onUpdate:modelValue": (o) => r.form[d.name][d.options.name] = o
6009
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (openBlock(), createBlock(q, {
6009
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (openBlock(), createBlock(j, {
6010
6010
  key: 1,
6011
6011
  modelValue: r.form[d.name],
6012
6012
  "onUpdate:modelValue": (o) => r.form[d.name] = o
@@ -6945,7 +6945,7 @@ const lwTableSelect = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_
6945
6945
  }, _hoisted_9 = { class: "btn-list" };
6946
6946
  function _sfc_render$9(e, n, a, m, r, u) {
6947
6947
  var d;
6948
- const _ = resolveComponent("el-input"), p = resolveComponent("lw-upload"), g = resolveComponent("el-col"), b = resolveComponent("el-checkbox"), V = resolveComponent("el-checkbox-group"), C = resolveComponent("el-switch"), I = resolveComponent("el-option"), F = resolveComponent("el-select"), N = resolveComponent("el-cascader"), O = resolveComponent("el-date-picker"), $ = resolveComponent("el-input-number"), K = resolveComponent("el-radio"), W = resolveComponent("el-radio-group"), k = resolveComponent("el-color-picker"), j = resolveComponent("el-rate"), A = resolveComponent("el-slider"), q = resolveComponent("el-tag"), M = resolveComponent("el-button"), X = resolveComponent("el-tooltip"), ee = resolveComponent("el-icon-more-filled"), ne = resolveComponent("el-icon"), ae = resolveComponent("el-dropdown-item"), ce = resolveComponent("el-dropdown-menu"), pe = resolveComponent("el-dropdown"), S = resolveComponent("el-table-column"), T = resolveComponent("el-table");
6948
+ const _ = resolveComponent("el-input"), p = resolveComponent("lw-upload"), g = resolveComponent("el-col"), b = resolveComponent("el-checkbox"), V = resolveComponent("el-checkbox-group"), C = resolveComponent("el-switch"), I = resolveComponent("el-option"), F = resolveComponent("el-select"), N = resolveComponent("el-cascader"), O = resolveComponent("el-date-picker"), $ = resolveComponent("el-input-number"), K = resolveComponent("el-radio"), W = resolveComponent("el-radio-group"), k = resolveComponent("el-color-picker"), q = resolveComponent("el-rate"), A = resolveComponent("el-slider"), j = resolveComponent("el-tag"), M = resolveComponent("el-button"), X = resolveComponent("el-tooltip"), ee = resolveComponent("el-icon-more-filled"), ne = resolveComponent("el-icon"), ae = resolveComponent("el-dropdown-item"), ce = resolveComponent("el-dropdown-menu"), pe = resolveComponent("el-dropdown"), S = resolveComponent("el-table-column"), T = resolveComponent("el-table");
6949
6949
  return openBlock(), createElementBlock(Fragment, null, [
6950
6950
  createVNode(T, {
6951
6951
  data: a.modelValue,
@@ -7270,14 +7270,14 @@ function _sfc_render$9(e, n, a, m, r, u) {
7270
7270
  size: "small"
7271
7271
  }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"]))
7272
7272
  ], 64)) : c.component == "rate" ? (openBlock(), createElementBlock(Fragment, { key: 11 }, [
7273
- (we = c == null ? void 0 : c.options) != null && we.name ? (openBlock(), createBlock(j, {
7273
+ (we = c == null ? void 0 : c.options) != null && we.name ? (openBlock(), createBlock(q, {
7274
7274
  key: 0,
7275
7275
  style: { "margin-top": "6px" },
7276
7276
  disabled: u.isDisabled(c, x),
7277
7277
  modelValue: x[c.name][c.options.name],
7278
7278
  "onUpdate:modelValue": (w) => x[c.name][c.options.name] = w,
7279
7279
  size: "small"
7280
- }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) : (openBlock(), createBlock(j, {
7280
+ }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) : (openBlock(), createBlock(q, {
7281
7281
  key: 1,
7282
7282
  style: { "margin-top": "6px" },
7283
7283
  disabled: u.isDisabled(c, x),
@@ -7303,7 +7303,7 @@ function _sfc_render$9(e, n, a, m, r, u) {
7303
7303
  }, null, 8, ["modelValue", "onUpdate:modelValue", "marks", "disabled"]))
7304
7304
  ], 64)) : c.component == "tags" ? (openBlock(), createElementBlock("div", _hoisted_6, [
7305
7305
  ($e = c == null ? void 0 : c.options) != null && $e.name ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
7306
- (Te = x[c.name]) != null && Te[c.options.name] ? (openBlock(!0), createElementBlock(Fragment, { key: 0 }, renderList(x[c.name][c.options.name], (w) => (openBlock(), createBlock(q, {
7306
+ (Te = x[c.name]) != null && Te[c.options.name] ? (openBlock(!0), createElementBlock(Fragment, { key: 0 }, renderList(x[c.name][c.options.name], (w) => (openBlock(), createBlock(j, {
7307
7307
  key: w,
7308
7308
  closable: "",
7309
7309
  "disable-transitions": !1,
@@ -7314,7 +7314,7 @@ function _sfc_render$9(e, n, a, m, r, u) {
7314
7314
  ]),
7315
7315
  _: 2
7316
7316
  }, 1032, ["onClose"]))), 128)) : createCommentVNode("", !0)
7317
- ], 64)) : (openBlock(!0), createElementBlock(Fragment, { key: 1 }, renderList(x[c.name], (w) => (openBlock(), createBlock(q, {
7317
+ ], 64)) : (openBlock(!0), createElementBlock(Fragment, { key: 1 }, renderList(x[c.name], (w) => (openBlock(), createBlock(j, {
7318
7318
  key: w,
7319
7319
  closable: "",
7320
7320
  "disable-transitions": !1,
@@ -7422,7 +7422,7 @@ function _sfc_render$9(e, n, a, m, r, u) {
7422
7422
  key: 15,
7423
7423
  row: x
7424
7424
  }, () => [
7425
- createVNode(q, { type: "danger" }, {
7425
+ createVNode(j, { type: "danger" }, {
7426
7426
  default: withCtx(() => [
7427
7427
  createTextVNode("[" + toDisplayString(c.component) + "] 没有这个默认组件也未自定义插槽内容", 1)
7428
7428
  ]),
@@ -7623,12 +7623,12 @@ function _sfc_render$7(e, n, a, m, r, u) {
7623
7623
  gutter: 0
7624
7624
  }, {
7625
7625
  default: withCtx(() => [
7626
- (openBlock(!0), createElementBlock(Fragment, null, renderList(a.config.formItems, (k, j) => (openBlock(), createElementBlock(Fragment, null, [
7626
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(a.config.formItems, (k, q) => (openBlock(), createElementBlock(Fragment, null, [
7627
7627
  u.hideHandle(k) ? createCommentVNode("", !0) : (openBlock(), createElementBlock(Fragment, { key: 0 }, [
7628
7628
  k.component == "divider" ? (openBlock(), createBlock(p, {
7629
7629
  key: 0,
7630
7630
  span: k.span || 24,
7631
- class: normalizeClass({ topPadding: j !== 0 })
7631
+ class: normalizeClass({ topPadding: q !== 0 })
7632
7632
  }, {
7633
7633
  default: withCtx(() => {
7634
7634
  var A;
@@ -7645,7 +7645,7 @@ function _sfc_render$7(e, n, a, m, r, u) {
7645
7645
  span: k.span
7646
7646
  }, {
7647
7647
  default: withCtx(() => {
7648
- var A, q, M, X, ee, ne, ae, ce, pe, S, T, d;
7648
+ var A, j, M, X, ee, ne, ae, ce, pe, S, T, d;
7649
7649
  return [
7650
7650
  createElementVNode("div", {
7651
7651
  class: normalizeClass(["span-item", [a.config.labelPosition]])
@@ -7678,7 +7678,7 @@ function _sfc_render$7(e, n, a, m, r, u) {
7678
7678
  modelValue: r.form[k.name][k.options.name],
7679
7679
  "onUpdate:modelValue": (c) => r.form[k.name][k.options.name] = c,
7680
7680
  width: a.config.labelWidth,
7681
- password: (q = k == null ? void 0 : k.options) == null ? void 0 : q.password
7681
+ password: (j = k == null ? void 0 : k.options) == null ? void 0 : j.password
7682
7682
  }, null, 8, ["modelValue", "onUpdate:modelValue", "width", "password"])) : (openBlock(), createBlock(C, {
7683
7683
  key: 1,
7684
7684
  modelValue: r.form[k.name],
@@ -8231,9 +8231,9 @@ function registerStart$1(e) {
8231
8231
  e.register("start", ({ HtmlNode: n, HtmlNodeModel: a, h: m }) => {
8232
8232
  class r extends n {
8233
8233
  setHtml(p) {
8234
- var I, F, N, O, $, K, W, k, j, A, q, M, X;
8234
+ var I, F, N, O, $, K, W, k, q, A, j, M, X;
8235
8235
  const { properties: g, text: b } = this.props.model, V = document.createElement("div");
8236
- V.className = "lw-flow-node-start", V.style.backgroundColor = ((I = g == null ? void 0 : g.style) == null ? void 0 : I.backgroundColor) || "", V.style.borderStyle = ((F = g == null ? void 0 : g.style) == null ? void 0 : F.borderStyle) || "", V.style.borderColor = ((N = g == null ? void 0 : g.style) == null ? void 0 : N.borderColor) || "", V.style.borderWidth = `${((O = g == null ? void 0 : g.style) == null ? void 0 : O.borderWidth) || 2}px`, V.style.color = (($ = g == null ? void 0 : g.style) == null ? void 0 : $.fontColor) || "", V.style.fontSize = `${((K = g == null ? void 0 : g.style) == null ? void 0 : K.fontSize) || 14}px`, V.style.fontFamily = ((W = g == null ? void 0 : g.style) == null ? void 0 : W.fontFamily) || "Microsoft YaHei", V.style.lineHeight = ((k = g == null ? void 0 : g.style) == null ? void 0 : k.lineHeight) || "1", V.style.fontWeight = ((j = g == null ? void 0 : g.style) == null ? void 0 : j.fontWeight) || "", V.style.justifyContent = ((A = g == null ? void 0 : g.style) == null ? void 0 : A.textAlign) || "", V.style.textDecoration = ((q = g == null ? void 0 : g.style) == null ? void 0 : q.textDecoration) || "", V.style.fontStyle = ((M = g == null ? void 0 : g.style) == null ? void 0 : M.fontStyle) || "";
8236
+ V.className = "lw-flow-node-start", V.style.backgroundColor = ((I = g == null ? void 0 : g.style) == null ? void 0 : I.backgroundColor) || "", V.style.borderStyle = ((F = g == null ? void 0 : g.style) == null ? void 0 : F.borderStyle) || "", V.style.borderColor = ((N = g == null ? void 0 : g.style) == null ? void 0 : N.borderColor) || "", V.style.borderWidth = `${((O = g == null ? void 0 : g.style) == null ? void 0 : O.borderWidth) || 2}px`, V.style.color = (($ = g == null ? void 0 : g.style) == null ? void 0 : $.fontColor) || "", V.style.fontSize = `${((K = g == null ? void 0 : g.style) == null ? void 0 : K.fontSize) || 14}px`, V.style.fontFamily = ((W = g == null ? void 0 : g.style) == null ? void 0 : W.fontFamily) || "Microsoft YaHei", V.style.lineHeight = ((k = g == null ? void 0 : g.style) == null ? void 0 : k.lineHeight) || "1", V.style.fontWeight = ((q = g == null ? void 0 : g.style) == null ? void 0 : q.fontWeight) || "", V.style.justifyContent = ((A = g == null ? void 0 : g.style) == null ? void 0 : A.textAlign) || "", V.style.textDecoration = ((j = g == null ? void 0 : g.style) == null ? void 0 : j.textDecoration) || "", V.style.fontStyle = ((M = g == null ? void 0 : g.style) == null ? void 0 : M.fontStyle) || "";
8237
8237
  const C = `<span>${((X = g == null ? void 0 : g.data) == null ? void 0 : X.name) || "开始"}</span>`;
8238
8238
  V.innerHTML = C, p.innerHTML = "", p.appendChild(V), window.stop = (ee) => {
8239
8239
  ee.stopPropagation();
@@ -8258,9 +8258,9 @@ function registerStart(e) {
8258
8258
  e.register("end", ({ HtmlNode: n, HtmlNodeModel: a, h: m }) => {
8259
8259
  class r extends n {
8260
8260
  setHtml(p) {
8261
- var I, F, N, O, $, K, W, k, j, A, q, M, X;
8261
+ var I, F, N, O, $, K, W, k, q, A, j, M, X;
8262
8262
  const { properties: g, text: b } = this.props.model, V = document.createElement("div");
8263
- V.className = "lw-flow-node-end", V.style.backgroundColor = ((I = g == null ? void 0 : g.style) == null ? void 0 : I.backgroundColor) || "", V.style.borderStyle = ((F = g == null ? void 0 : g.style) == null ? void 0 : F.borderStyle) || "solid", V.style.borderColor = ((N = g == null ? void 0 : g.style) == null ? void 0 : N.borderColor) || "", V.style.borderWidth = `${((O = g == null ? void 0 : g.style) == null ? void 0 : O.borderWidth) || 2}px`, V.style.color = (($ = g == null ? void 0 : g.style) == null ? void 0 : $.fontColor) || "", V.style.fontSize = `${((K = g == null ? void 0 : g.style) == null ? void 0 : K.fontSize) || 14}px`, V.style.fontFamily = ((W = g == null ? void 0 : g.style) == null ? void 0 : W.fontFamily) || "Microsoft YaHei", V.style.lineHeight = ((k = g == null ? void 0 : g.style) == null ? void 0 : k.lineHeight) || "1", V.style.fontWeight = ((j = g == null ? void 0 : g.style) == null ? void 0 : j.fontWeight) || "", V.style.justifyContent = ((A = g == null ? void 0 : g.style) == null ? void 0 : A.textAlign) || "", V.style.textDecoration = ((q = g == null ? void 0 : g.style) == null ? void 0 : q.textDecoration) || "", V.style.fontStyle = ((M = g == null ? void 0 : g.style) == null ? void 0 : M.fontStyle) || "";
8263
+ V.className = "lw-flow-node-end", V.style.backgroundColor = ((I = g == null ? void 0 : g.style) == null ? void 0 : I.backgroundColor) || "", V.style.borderStyle = ((F = g == null ? void 0 : g.style) == null ? void 0 : F.borderStyle) || "solid", V.style.borderColor = ((N = g == null ? void 0 : g.style) == null ? void 0 : N.borderColor) || "", V.style.borderWidth = `${((O = g == null ? void 0 : g.style) == null ? void 0 : O.borderWidth) || 2}px`, V.style.color = (($ = g == null ? void 0 : g.style) == null ? void 0 : $.fontColor) || "", V.style.fontSize = `${((K = g == null ? void 0 : g.style) == null ? void 0 : K.fontSize) || 14}px`, V.style.fontFamily = ((W = g == null ? void 0 : g.style) == null ? void 0 : W.fontFamily) || "Microsoft YaHei", V.style.lineHeight = ((k = g == null ? void 0 : g.style) == null ? void 0 : k.lineHeight) || "1", V.style.fontWeight = ((q = g == null ? void 0 : g.style) == null ? void 0 : q.fontWeight) || "", V.style.justifyContent = ((A = g == null ? void 0 : g.style) == null ? void 0 : A.textAlign) || "", V.style.textDecoration = ((j = g == null ? void 0 : g.style) == null ? void 0 : j.textDecoration) || "", V.style.fontStyle = ((M = g == null ? void 0 : g.style) == null ? void 0 : M.fontStyle) || "";
8264
8264
  const C = `<span>${((X = g == null ? void 0 : g.data) == null ? void 0 : X.name) || "结束"}</span>`;
8265
8265
  V.innerHTML = C, p.innerHTML = "", p.appendChild(V), window.stop = (ee) => {
8266
8266
  ee.stopPropagation();
@@ -8281,11 +8281,14 @@ function registerStart(e) {
8281
8281
  };
8282
8282
  });
8283
8283
  }
8284
- const modules = {}, files = import.meta.globEager("./datas/*.js");
8285
- for (const e in files) {
8286
- const n = e.match(/\.\/datas\/(.+)\.js$/)[1];
8287
- modules[n] = files[e].default;
8284
+ const files = /* @__PURE__ */ Object.assign({ "./datas/timer.js": () => import("./timer-BacWPwXJ.js") });
8285
+ async function loadModules() {
8286
+ const e = Object.keys(files).map(async (n) => {
8287
+ n.match(/\.\/datas\/(.+)\.js$/)[1], (await files[n]()).default;
8288
+ });
8289
+ await Promise.all(e);
8288
8290
  }
8291
+ const nodeDatas = loadModules();
8289
8292
  function registerCustom(lf, node) {
8290
8293
  function hideHandle(item, data) {
8291
8294
  if (Object.keys(data).length == 0) return !1;
@@ -8298,7 +8301,7 @@ function registerCustom(lf, node) {
8298
8301
  }
8299
8302
  function parseTemplateString(e) {
8300
8303
  let n = "";
8301
- return modules[node.type].nodeHtml.forEach((a) => {
8304
+ return nodeDatas[node.type].nodeHtml.forEach((a) => {
8302
8305
  var r;
8303
8306
  let m = (r = a.value) == null ? void 0 : r.split(".").reduce((u, _) => u && u[_], e);
8304
8307
  if ((a == null ? void 0 : a.component) == "date" && (Array.isArray(m) ? m = `${dayjs(m[0]).format(a["value-format"] || "YYYY-MM-DD HH:mm:ss")}到${dayjs(m[1]).format(a["value-format"] || "YYYY-MM-DD HH:mm:ss")}` : m = dayjs(m).format(a["value-format"] || "YYYY-MM-DD HH:mm:ss")), a != null && a.items) {
@@ -8311,9 +8314,9 @@ function registerCustom(lf, node) {
8311
8314
  lf.register(node.type, ({ HtmlNode: e, HtmlNodeModel: n, h: a }) => {
8312
8315
  class m extends e {
8313
8316
  setHtml(_) {
8314
- var C, I, F, N, O, $, K, W, k, j, A, q, M;
8317
+ var C, I, F, N, O, $, K, W, k, q, A, j, M;
8315
8318
  const { properties: p, text: g } = this.props.model, b = document.createElement("div");
8316
- b.className = "lw-flow-node-custom", b.style.backgroundColor = ((C = p == null ? void 0 : p.style) == null ? void 0 : C.backgroundColor) || node.background || "", b.style.borderStyle = ((I = p == null ? void 0 : p.style) == null ? void 0 : I.borderStyle) || "", b.style.borderColor = ((F = p == null ? void 0 : p.style) == null ? void 0 : F.borderColor) || node.themeColor || "", b.style.borderWidth = `${((N = p == null ? void 0 : p.style) == null ? void 0 : N.borderWidth) || 2}px`, b.style.color = ((O = p == null ? void 0 : p.style) == null ? void 0 : O.fontColor) || "", b.style.fontSize = `${(($ = p == null ? void 0 : p.style) == null ? void 0 : $.fontSize) || 14}px`, b.style.fontFamily = ((K = p == null ? void 0 : p.style) == null ? void 0 : K.fontFamily) || "Microsoft YaHei", b.style.lineHeight = ((W = p == null ? void 0 : p.style) == null ? void 0 : W.lineHeight) || "1", b.style.fontWeight = ((k = p == null ? void 0 : p.style) == null ? void 0 : k.fontWeight) || "", b.style.justifyContent = ((j = p == null ? void 0 : p.style) == null ? void 0 : j.textAlign) || "", b.style.textDecoration = ((A = p == null ? void 0 : p.style) == null ? void 0 : A.textDecoration) || "", b.style.fontStyle = ((q = p == null ? void 0 : p.style) == null ? void 0 : q.fontStyle) || "";
8319
+ b.className = "lw-flow-node-custom", b.style.backgroundColor = ((C = p == null ? void 0 : p.style) == null ? void 0 : C.backgroundColor) || node.background || "", b.style.borderStyle = ((I = p == null ? void 0 : p.style) == null ? void 0 : I.borderStyle) || "", b.style.borderColor = ((F = p == null ? void 0 : p.style) == null ? void 0 : F.borderColor) || node.themeColor || "", b.style.borderWidth = `${((N = p == null ? void 0 : p.style) == null ? void 0 : N.borderWidth) || 2}px`, b.style.color = ((O = p == null ? void 0 : p.style) == null ? void 0 : O.fontColor) || "", b.style.fontSize = `${(($ = p == null ? void 0 : p.style) == null ? void 0 : $.fontSize) || 14}px`, b.style.fontFamily = ((K = p == null ? void 0 : p.style) == null ? void 0 : K.fontFamily) || "Microsoft YaHei", b.style.lineHeight = ((W = p == null ? void 0 : p.style) == null ? void 0 : W.lineHeight) || "1", b.style.fontWeight = ((k = p == null ? void 0 : p.style) == null ? void 0 : k.fontWeight) || "", b.style.justifyContent = ((q = p == null ? void 0 : p.style) == null ? void 0 : q.textAlign) || "", b.style.textDecoration = ((A = p == null ? void 0 : p.style) == null ? void 0 : A.textDecoration) || "", b.style.fontStyle = ((j = p == null ? void 0 : p.style) == null ? void 0 : j.fontStyle) || "";
8317
8320
  const V = `<div class="top-name" style="border-color: ${node.themeColor};">
8318
8321
  <i class="iconfont ${node.icon}"></i> ${((M = p == null ? void 0 : p.data) == null ? void 0 : M.name) || node.name}</div>
8319
8322
  <div class="bottom-content" style="border-color: ${node.themeColor};">
@@ -8392,7 +8395,7 @@ const _sfc_main$3 = {
8392
8395
  span: 24
8393
8396
  }
8394
8397
  ]
8395
- }, n = ((a = modules[this.type]) == null ? void 0 : a.formConfig) || {};
8398
+ }, n = ((a = nodeDatas[this.type]) == null ? void 0 : a.formConfig) || {};
8396
8399
  return n != null && n.labelWidth && (e.labelWidth = n.labelWidth), n != null && n.labelPosition && (e.labelPosition = n.labelPosition), n != null && n.formItems && (e.formItems = n.formItems), e;
8397
8400
  }
8398
8401
  },