@farris/ui-vue 1.1.6 → 1.1.8

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.
Files changed (143) hide show
  1. package/components/accordion/package.json +1 -1
  2. package/components/avatar/package.json +1 -1
  3. package/components/border-editor/index.esm.js +1362 -1361
  4. package/components/border-editor/index.umd.cjs +6 -6
  5. package/components/border-editor/package.json +1 -1
  6. package/components/button/package.json +1 -1
  7. package/components/button-edit/package.json +1 -1
  8. package/components/button-group/package.json +1 -1
  9. package/components/calculator/package.json +1 -1
  10. package/components/calendar/package.json +1 -1
  11. package/components/capsule/package.json +1 -1
  12. package/components/checkbox/package.json +1 -1
  13. package/components/color-picker/package.json +1 -1
  14. package/components/combo-list/index.esm.js +22 -21
  15. package/components/combo-list/index.umd.cjs +1 -1
  16. package/components/combo-list/package.json +1 -1
  17. package/components/combo-tree/index.esm.js +1370 -1369
  18. package/components/combo-tree/index.umd.cjs +1 -1
  19. package/components/combo-tree/package.json +1 -1
  20. package/components/common/package.json +1 -1
  21. package/components/component/package.json +1 -1
  22. package/components/condition/index.esm.js +180 -179
  23. package/components/condition/index.umd.cjs +1 -1
  24. package/components/condition/package.json +1 -1
  25. package/components/content-container/package.json +1 -1
  26. package/components/data-grid/index.esm.js +22 -21
  27. package/components/data-grid/index.umd.cjs +1 -1
  28. package/components/data-grid/package.json +1 -1
  29. package/components/data-view/index.esm.js +22 -21
  30. package/components/data-view/index.umd.cjs +1 -1
  31. package/components/data-view/package.json +1 -1
  32. package/components/date-picker/package.json +1 -1
  33. package/components/designer-canvas/index.esm.js +52071 -0
  34. package/components/designer-canvas/index.umd.cjs +20 -0
  35. package/components/designer-canvas/package.json +8 -0
  36. package/components/designer-canvas/style.css +1 -0
  37. package/components/designer-outline/index.esm.js +22 -21
  38. package/components/designer-outline/index.umd.cjs +1 -1
  39. package/components/designer-outline/package.json +1 -1
  40. package/components/designer-toolbox/package.json +1 -1
  41. package/components/discussion-editor/package.json +1 -1
  42. package/components/discussion-list/package.json +1 -1
  43. package/components/dropdown/package.json +1 -1
  44. package/components/dynamic-form/index.esm.js +180 -179
  45. package/components/dynamic-form/index.umd.cjs +1 -1
  46. package/components/dynamic-form/package.json +1 -1
  47. package/components/dynamic-resolver/package.json +1 -1
  48. package/components/dynamic-view/index.esm.js +3661 -3660
  49. package/components/dynamic-view/index.umd.cjs +1 -1
  50. package/components/dynamic-view/package.json +1 -1
  51. package/components/enum-editor/package.json +1 -1
  52. package/components/events-editor/package.json +1 -1
  53. package/components/expression-editor/package.json +1 -1
  54. package/components/external-container/index.esm.js +1365 -1364
  55. package/components/external-container/index.umd.cjs +7 -7
  56. package/components/external-container/package.json +1 -1
  57. package/components/field-selector/index.esm.js +182 -181
  58. package/components/field-selector/index.umd.cjs +1 -1
  59. package/components/field-selector/package.json +1 -1
  60. package/components/filter-bar/index.esm.js +182 -181
  61. package/components/filter-bar/index.umd.cjs +1 -1
  62. package/components/filter-bar/package.json +1 -1
  63. package/components/flow-canvas/index.esm.js +22 -21
  64. package/components/flow-canvas/index.umd.cjs +7 -7
  65. package/components/flow-canvas/package.json +1 -1
  66. package/components/image-cropper/package.json +1 -1
  67. package/components/input-group/package.json +1 -1
  68. package/components/layout/package.json +1 -1
  69. package/components/list-nav/package.json +1 -1
  70. package/components/list-view/index.esm.js +183 -182
  71. package/components/list-view/index.umd.cjs +1 -1
  72. package/components/list-view/package.json +1 -1
  73. package/components/loading/package.json +1 -1
  74. package/components/locale/package.json +1 -1
  75. package/components/lookup/index.esm.js +185 -184
  76. package/components/lookup/index.umd.cjs +1 -1
  77. package/components/lookup/package.json +1 -1
  78. package/components/mapping-editor/index.esm.js +181 -180
  79. package/components/mapping-editor/index.umd.cjs +1 -1
  80. package/components/mapping-editor/package.json +1 -1
  81. package/components/message-box/package.json +1 -1
  82. package/components/modal/package.json +1 -1
  83. package/components/nav/package.json +1 -1
  84. package/components/notify/package.json +1 -1
  85. package/components/order/index.esm.js +182 -181
  86. package/components/order/index.umd.cjs +1 -1
  87. package/components/order/package.json +1 -1
  88. package/components/page-footer/package.json +1 -1
  89. package/components/page-header/package.json +1 -1
  90. package/components/pagination/package.json +1 -1
  91. package/components/plugin/package.json +1 -1
  92. package/components/popover/package.json +1 -1
  93. package/components/progress/package.json +1 -1
  94. package/components/property-editor/index.esm.js +2810 -2810
  95. package/components/property-editor/index.umd.cjs +7 -7
  96. package/components/property-editor/package.json +1 -1
  97. package/components/property-panel/index.esm.js +180 -179
  98. package/components/property-panel/index.umd.cjs +1 -1
  99. package/components/property-panel/package.json +1 -1
  100. package/components/radio-button/package.json +1 -1
  101. package/components/radio-group/package.json +1 -1
  102. package/components/rate/package.json +1 -1
  103. package/components/response-layout/package.json +1 -1
  104. package/components/response-layout-editor/index.esm.js +182 -181
  105. package/components/response-layout-editor/index.umd.cjs +1 -1
  106. package/components/response-layout-editor/package.json +1 -1
  107. package/components/response-toolbar/package.json +1 -1
  108. package/components/schema-selector/index.esm.js +22 -21
  109. package/components/schema-selector/index.umd.cjs +1 -1
  110. package/components/schema-selector/package.json +1 -1
  111. package/components/search-box/package.json +1 -1
  112. package/components/section/package.json +1 -1
  113. package/components/smoke-detector/package.json +1 -1
  114. package/components/spacing-editor/index.esm.js +22 -21
  115. package/components/spacing-editor/index.umd.cjs +1 -1
  116. package/components/spacing-editor/package.json +1 -1
  117. package/components/splitter/package.json +1 -1
  118. package/components/step/package.json +1 -1
  119. package/components/switch/package.json +1 -1
  120. package/components/tabs/index.esm.js +939 -938
  121. package/components/tabs/index.umd.cjs +1 -1
  122. package/components/tabs/package.json +1 -1
  123. package/components/tags/package.json +1 -1
  124. package/components/text/package.json +1 -1
  125. package/components/time-picker/package.json +1 -1
  126. package/components/tooltip/package.json +1 -1
  127. package/components/transfer/index.esm.js +183 -182
  128. package/components/transfer/index.umd.cjs +1 -1
  129. package/components/transfer/package.json +1 -1
  130. package/components/tree-grid/index.esm.js +22 -21
  131. package/components/tree-grid/index.umd.cjs +7 -7
  132. package/components/tree-grid/package.json +1 -1
  133. package/components/tree-view/index.esm.js +186 -185
  134. package/components/tree-view/index.umd.cjs +1 -1
  135. package/components/tree-view/package.json +1 -1
  136. package/components/uploader/package.json +1 -1
  137. package/components/verify-detail/package.json +1 -1
  138. package/components/video/package.json +1 -1
  139. package/components/weather/package.json +1 -1
  140. package/farris.all.esm.js +26 -26
  141. package/farris.all.umd.cjs +2 -2
  142. package/package.json +1 -1
  143. package/types/property-editor/src/composition/use-initialized-value.d.ts +1 -1
@@ -38623,7 +38623,7 @@ const Vo = /* @__PURE__ */ Z({
38623
38623
  }
38624
38624
  }
38625
38625
  }
38626
- }, e8 = {
38626
+ }, eP = {
38627
38627
  title: X$,
38628
38628
  description: Q$,
38629
38629
  type: Z$,
@@ -38651,7 +38651,7 @@ const Vo = /* @__PURE__ */ Z({
38651
38651
  K$,
38652
38652
  L$,
38653
38653
  void 0,
38654
- e8
38654
+ eP
38655
38655
  );
38656
38656
  function Nf(e, t) {
38657
38657
  const n = y(e.width), a = y(e.height), {
@@ -38738,19 +38738,19 @@ const Lo = /* @__PURE__ */ Z({
38738
38738
  }, null)]);
38739
38739
  }
38740
38740
  });
38741
- function t8(e, t) {
38741
+ function tP(e, t) {
38742
38742
  function n() {
38743
38743
  return !1;
38744
38744
  }
38745
38745
  return { canAccepts: n };
38746
38746
  }
38747
- const n8 = /* @__PURE__ */ Z({
38747
+ const nP = /* @__PURE__ */ Z({
38748
38748
  name: "FSplitterDesign",
38749
38749
  props: Is,
38750
38750
  emits: [],
38751
38751
  setup(e, t) {
38752
38752
  var f;
38753
- const n = y(), a = he("design-item-context"), o = t8(a.schema, (f = a.parent) == null ? void 0 : f.schema), i = Se(n, a, o);
38753
+ const n = y(), a = he("design-item-context"), o = tP(a.schema, (f = a.parent) == null ? void 0 : f.schema), i = Se(n, a, o);
38754
38754
  i.value.canNested = !1;
38755
38755
  const s = Hf(n), {
38756
38756
  horizontalResizeHandleStyle: l,
@@ -38781,7 +38781,7 @@ const n8 = /* @__PURE__ */ Z({
38781
38781
  }, null)]);
38782
38782
  }
38783
38783
  });
38784
- function a8(e, t) {
38784
+ function aP(e, t) {
38785
38785
  function n(o) {
38786
38786
  var p;
38787
38787
  if (!Jt().basalDragulaRuleForContainer(o))
@@ -38814,13 +38814,13 @@ function a8(e, t) {
38814
38814
  }
38815
38815
  return { canAccepts: n, onAcceptNewChildElement: a };
38816
38816
  }
38817
- const o8 = /* @__PURE__ */ Z({
38817
+ const oP = /* @__PURE__ */ Z({
38818
38818
  name: "FSplitterPaneDesign",
38819
38819
  props: Es,
38820
38820
  emits: [],
38821
38821
  setup(e, t) {
38822
38822
  var m;
38823
- const n = y(), a = he("design-item-context"), o = a8(a.schema, (m = a.parent) == null ? void 0 : m.schema), i = Se(n, a, o);
38823
+ const n = y(), a = he("design-item-context"), o = aP(a.schema, (m = a.parent) == null ? void 0 : m.schema), i = Se(n, a, o);
38824
38824
  i.value.styles = "padding:0;box-shadow:none;", i.value.canNested = !1, i.value.canMove = !1, i.value.canDelete = !1, ue(() => {
38825
38825
  n.value.componentInstance = i;
38826
38826
  }), t.expose(i.value);
@@ -38850,7 +38850,7 @@ const o8 = /* @__PURE__ */ Z({
38850
38850
  style: h.value
38851
38851
  }, [t.slots.default && t.slots.default()]);
38852
38852
  }
38853
- }), i8 = {
38853
+ }), iP = {
38854
38854
  install(e) {
38855
38855
  e.component(Vo.name, Vo), e.component(Lo.name, Lo);
38856
38856
  },
@@ -38858,15 +38858,15 @@ const o8 = /* @__PURE__ */ Z({
38858
38858
  e.splitter = Vo, t.splitter = dc, e["splitter-pane"] = Lo, t["splitter-pane"] = fc;
38859
38859
  },
38860
38860
  registerDesigner(e, t, n) {
38861
- e.splitter = n8, t.splitter = dc, e["splitter-pane"] = o8, t["splitter-pane"] = fc;
38861
+ e.splitter = nP, t.splitter = dc, e["splitter-pane"] = oP, t["splitter-pane"] = fc;
38862
38862
  }
38863
- }, r8 = /* @__PURE__ */ new Map([
38863
+ }, rP = /* @__PURE__ */ new Map([
38864
38864
  ["appearance", ke]
38865
38865
  ]);
38866
- function s8(e, t, n) {
38866
+ function sP(e, t, n) {
38867
38867
  return t;
38868
38868
  }
38869
- const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-design.gitee.io/step.schema.json", u8 = "step", d8 = "A Farris Component", f8 = "object", p8 = {
38869
+ const lP = "https://json-schema.org/draft/2020-12/schema", cP = "https://farris-design.gitee.io/step.schema.json", uP = "step", dP = "A Farris Component", fP = "object", pP = {
38870
38870
  id: {
38871
38871
  description: "The unique identifier for step",
38872
38872
  type: "string"
@@ -38928,18 +38928,18 @@ const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-
38928
38928
  type: "boolean",
38929
38929
  default: !0
38930
38930
  }
38931
- }, v8 = [
38931
+ }, vP = [
38932
38932
  "id",
38933
38933
  "type"
38934
- ], m8 = {
38935
- $schema: l8,
38936
- $id: c8,
38937
- title: u8,
38938
- description: d8,
38939
- type: f8,
38940
- properties: p8,
38941
- required: v8
38942
- }, h8 = "step", g8 = "A Farris Component", y8 = "object", b8 = {
38934
+ ], mP = {
38935
+ $schema: lP,
38936
+ $id: cP,
38937
+ title: uP,
38938
+ description: dP,
38939
+ type: fP,
38940
+ properties: pP,
38941
+ required: vP
38942
+ }, hP = "step", gP = "A Farris Component", yP = "object", bP = {
38943
38943
  basic: {
38944
38944
  description: "Basic Infomation",
38945
38945
  title: "基本信息",
@@ -38961,11 +38961,11 @@ const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-
38961
38961
  }
38962
38962
  }
38963
38963
  }
38964
- }, x8 = {
38965
- title: h8,
38966
- description: g8,
38967
- type: y8,
38968
- categories: b8
38964
+ }, xP = {
38965
+ title: hP,
38966
+ description: gP,
38967
+ type: yP,
38968
+ categories: bP
38969
38969
  }, $s = {
38970
38970
  /** 步骤条方向 */
38971
38971
  direction: { type: String, default: "horizontal" },
@@ -38996,7 +38996,7 @@ const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-
38996
38996
  /** 步骤条点击后事件 */
38997
38997
  onClick: { type: Function, default: () => {
38998
38998
  } }
38999
- }, pc = ye($s, m8, r8, s8, x8), Wo = /* @__PURE__ */ Z({
38999
+ }, pc = ye($s, mP, rP, sP, xP), Wo = /* @__PURE__ */ Z({
39000
39000
  name: "FStep",
39001
39001
  props: $s,
39002
39002
  emits: ["click"],
@@ -39099,7 +39099,7 @@ const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-
39099
39099
  style: u.value
39100
39100
  }, [S()])]);
39101
39101
  }
39102
- }), C8 = /* @__PURE__ */ Z({
39102
+ }), CP = /* @__PURE__ */ Z({
39103
39103
  name: "FStepDesign",
39104
39104
  props: $s,
39105
39105
  emits: [],
@@ -39203,7 +39203,7 @@ const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-
39203
39203
  style: h.value
39204
39204
  }, [F()])]);
39205
39205
  }
39206
- }), w8 = {
39206
+ }), wP = {
39207
39207
  install(e) {
39208
39208
  e.component(Wo.name, Wo);
39209
39209
  },
@@ -39211,9 +39211,9 @@ const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-
39211
39211
  e.step = Wo, t.step = pc;
39212
39212
  },
39213
39213
  registerDesigner(e, t, n) {
39214
- e.step = C8, t.step = pc;
39214
+ e.step = CP, t.step = pc;
39215
39215
  }
39216
- }, S8 = /* @__PURE__ */ Z({
39216
+ }, SP = /* @__PURE__ */ Z({
39217
39217
  name: "FSwitchDesign",
39218
39218
  props: Ds,
39219
39219
  emits: ["update:modelValue"],
@@ -39274,7 +39274,7 @@ const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-
39274
39274
  style: v.value
39275
39275
  }, [t.slots.default && t.slots.default()])]);
39276
39276
  }
39277
- }), k8 = {
39277
+ }), kP = {
39278
39278
  install(e) {
39279
39279
  e.component(ga.name, ga);
39280
39280
  },
@@ -39282,10 +39282,10 @@ const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-
39282
39282
  e.switch = ga, t.switch = sc;
39283
39283
  },
39284
39284
  registerDesigner(e, t, n) {
39285
- e.switch = S8, t.switch = sc;
39285
+ e.switch = SP, t.switch = sc;
39286
39286
  }
39287
39287
  };
39288
- function B8(e, t, n, a, o) {
39288
+ function BP(e, t, n, a, o) {
39289
39289
  const {
39290
39290
  activeId: i,
39291
39291
  removeTab: s,
@@ -39367,7 +39367,7 @@ function B8(e, t, n, a, o) {
39367
39367
  onClick: C
39368
39368
  }, [g(t), x.value && b()])]);
39369
39369
  }
39370
- function D8(e, t, n, a, o, i, s) {
39370
+ function DP(e, t, n, a, o, i, s) {
39371
39371
  const {
39372
39372
  shouldShowNavigationButtons: l
39373
39373
  } = n, {
@@ -39420,7 +39420,7 @@ function D8(e, t, n, a, o, i, s) {
39420
39420
  class: f.value,
39421
39421
  style: d.value,
39422
39422
  ref: t
39423
- }, [p.value.map((v) => B8(e, v.props, v, a, o)), r("li", {
39423
+ }, [p.value.map((v) => BP(e, v.props, v, a, o)), r("li", {
39424
39424
  class: "nav-item"
39425
39425
  }, [r("a", {
39426
39426
  class: "nav-link tabs-text-truncate",
@@ -39431,7 +39431,7 @@ function D8(e, t, n, a, o, i, s) {
39431
39431
  style: "font-size: 20px;margin: 0 auto;line-height: 24px;"
39432
39432
  }, null)])])])]);
39433
39433
  }
39434
- function F8(e, t) {
39434
+ function FP(e, t) {
39435
39435
  const n = Sn();
39436
39436
  let a = !1, o, i = !1;
39437
39437
  function s(f) {
@@ -39475,7 +39475,7 @@ function F8(e, t) {
39475
39475
  resolveComponentContext: u
39476
39476
  };
39477
39477
  }
39478
- function T8(e, t, n, a) {
39478
+ function TP(e, t, n, a) {
39479
39479
  const o = y([]), i = y(e.activeId || ""), s = y(!0), l = y(), p = y([]);
39480
39480
  function c(D) {
39481
39481
  const P = D.value.findIndex((M) => M.props.show !== !1 && !i.value && !M.props.disabled);
@@ -39585,7 +39585,7 @@ function T8(e, t, n, a) {
39585
39585
  toolbarSchema: l
39586
39586
  };
39587
39587
  }
39588
- function A8(e, t, n, a) {
39588
+ function AP(e, t, n, a) {
39589
39589
  const {
39590
39590
  toolbarItems: o,
39591
39591
  toolbarSchema: i
@@ -39614,12 +39614,12 @@ function A8(e, t, n, a) {
39614
39614
  }, null)]
39615
39615
  })])]);
39616
39616
  }
39617
- const I8 = /* @__PURE__ */ Z({
39617
+ const IP = /* @__PURE__ */ Z({
39618
39618
  name: "FTabsDesign",
39619
39619
  props: Sr,
39620
39620
  emits: ["tabChange", "tabRemove"],
39621
39621
  setup(e, t) {
39622
- const n = y(), a = he("design-item-context"), o = F8(a.schema, a.parent), i = Se(n, a, o), s = y(e.tabType), l = Pn(), p = Pn(), c = T8(e, t, l, a), {
39622
+ const n = y(), a = he("design-item-context"), o = FP(a.schema, a.parent), i = Se(n, a, o), s = y(e.tabType), l = Pn(), p = Pn(), c = TP(e, t, l, a), {
39623
39623
  activeId: u,
39624
39624
  changeTitleStyle: f,
39625
39625
  tabPages: d,
@@ -39635,7 +39635,7 @@ const I8 = /* @__PURE__ */ Z({
39635
39635
  updateNavigationLayout: B
39636
39636
  } = b, F = md(e, c), {
39637
39637
  hideDropDown: T
39638
- } = F, A = D8(e, l, b, x, c, i, o), I = A, E = fd(e, l, b, x, c), D = /* @__PURE__ */ new Map([["default", A], ["one-page", I], ["pills", E]]);
39638
+ } = F, A = DP(e, l, b, x, c, i, o), I = A, E = fd(e, l, b, x, c), D = /* @__PURE__ */ new Map([["default", A], ["one-page", I], ["pills", E]]);
39639
39639
  $(() => {
39640
39640
  const z = d.value.find((Q) => Q.props.id === u.value);
39641
39641
  return z == null ? void 0 : z.slots;
@@ -39711,7 +39711,7 @@ const I8 = /* @__PURE__ */ Z({
39711
39711
  renderMorePagesButtton: L
39712
39712
  } = pd(e, F, b, c);
39713
39713
  function Y() {
39714
- return !!g.value.length && A8(c, i, o, a);
39714
+ return !!g.value.length && AP(c, i, o, a);
39715
39715
  }
39716
39716
  const X = D.get(e.tabType) || D.get("default");
39717
39717
  function q() {
@@ -39742,7 +39742,7 @@ const I8 = /* @__PURE__ */ Z({
39742
39742
  }, [q(), G()]);
39743
39743
  }
39744
39744
  });
39745
- function E8(e, t) {
39745
+ function EP(e, t) {
39746
39746
  function n(o) {
39747
39747
  return !!Jt().basalDragulaRuleForContainer(o);
39748
39748
  }
@@ -39750,65 +39750,66 @@ function E8(e, t) {
39750
39750
  }
39751
39751
  return { canAccepts: n, onAcceptMovedChildElement: a };
39752
39752
  }
39753
- function $8(e) {
39753
+ function $P(e) {
39754
39754
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Ma(e);
39755
39755
  }
39756
- const P8 = /* @__PURE__ */ Z({
39756
+ const PP = /* @__PURE__ */ Z({
39757
39757
  name: "FTabPageDesign",
39758
39758
  props: Dr,
39759
39759
  emits: [],
39760
39760
  setup(e, t) {
39761
- const n = y(), a = he("design-item-context"), o = E8(a.schema, a.parent), i = Se(n, a, o);
39761
+ const n = y(), a = he("design-item-context"), o = EP(a.schema, a.parent), i = Se(n, a, o);
39762
39762
  i.value.canNested = !1, i.value.canDelete = !1, i.value.canMove = !1, t.expose(i.value);
39763
39763
  const s = he("tabs"), l = y(!0), p = {
39764
39764
  slots: t.slots,
39765
39765
  props: e
39766
39766
  }, c = y((s == null ? void 0 : s.tabType.value) || "default");
39767
- function u() {
39768
- e.id === s.activeId.value ? a.designerItemElementRef.value.classList.remove("d-none") : a.designerItemElementRef.value.classList.add("d-none");
39769
- }
39770
39767
  ue(() => {
39771
39768
  n.value.componentInstance = i;
39772
- const g = s.tabPages.value.findIndex((x) => x.props.id === e.id);
39773
- !g || g === -1 ? s == null || s.addTab(p) : g > -1 && (l.value = !1, console.warn(`已经存在id为${e.id}的页签啦`)), u();
39769
+ const x = s.tabPages.value.findIndex((b) => b.props.id === e.id);
39770
+ !x || x === -1 ? s == null || s.addTab(p) : x > -1 && (l.value = !1, console.warn(`已经存在id为${e.id}的页签啦`));
39774
39771
  }), Ct(() => {
39775
39772
  });
39776
- const f = $(() => ({
39777
- display: (e == null ? void 0 : e.id) === (s == null ? void 0 : s.activeId.value) ? "" : "none"
39773
+ const u = $(() => (e == null ? void 0 : e.id) === (s == null ? void 0 : s.activeId.value)), f = $(() => ({
39774
+ display: u.value ? "" : "none"
39778
39775
  }));
39779
- J(() => e, (g) => {
39776
+ J(() => e, (x) => {
39780
39777
  s == null || s.updateTab({
39781
- props: g,
39778
+ props: x,
39782
39779
  slots: t.slots
39783
39780
  });
39784
39781
  }, {
39785
39782
  immediate: !0,
39786
39783
  deep: !0
39787
- }), J(s.activeId, u);
39784
+ });
39788
39785
  function d() {
39789
- var x, b;
39790
- const g = (b = (x = t.slots).default) == null ? void 0 : b.call(x);
39786
+ var b, C;
39787
+ const x = (C = (b = t.slots).default) == null ? void 0 : C.call(b);
39791
39788
  return r(Rn, {
39792
39789
  "main-title": e.title,
39793
39790
  class: "farris-tab-page"
39794
- }, $8(g) ? g : {
39795
- default: () => [g]
39791
+ }, $P(x) ? x : {
39792
+ default: () => [x]
39796
39793
  });
39797
39794
  }
39798
- function h() {
39799
- var x, b;
39800
- const g = (b = (x = t.slots).default) == null ? void 0 : b.call(x);
39795
+ const h = $(() => ({
39796
+ "farris-tab-page": !0,
39797
+ "drag-container": !0
39798
+ }));
39799
+ function m() {
39800
+ var b, C;
39801
+ const x = (C = (b = t.slots).default) == null ? void 0 : C.call(b);
39801
39802
  return r("div", {
39802
39803
  ref: n,
39803
- class: "farris-tab-page drag-container",
39804
+ class: h.value,
39804
39805
  "data-dragref": `${a.schema.id}-container`,
39805
39806
  style: f.value
39806
- }, [g]);
39807
+ }, [x]);
39807
39808
  }
39808
- const v = (/* @__PURE__ */ new Map([["default", h], ["one-page", d]])).get(c.value) || h;
39809
- return () => l.value ? v() : null;
39809
+ const g = (/* @__PURE__ */ new Map([["default", m], ["one-page", d]])).get(c.value) || m;
39810
+ return () => l.value ? g() : null;
39810
39811
  }
39811
- }), M8 = {
39812
+ }), MP = {
39812
39813
  install(e) {
39813
39814
  e.component(sa.name, sa), e.component(yn.name, yn);
39814
39815
  },
@@ -39816,9 +39817,9 @@ const P8 = /* @__PURE__ */ Z({
39816
39817
  e.tabs = sa, e["tab-page"] = yn, t.tabs = hl, t["tab-page"] = xl;
39817
39818
  },
39818
39819
  registerDesigner(e, t, n) {
39819
- e.tabs = I8, e["tab-page"] = P8, t.tabs = hl, t["tab-page"] = xl;
39820
+ e.tabs = IP, e["tab-page"] = PP, t.tabs = hl, t["tab-page"] = xl;
39820
39821
  }
39821
- }, O8 = /* @__PURE__ */ Z({
39822
+ }, OP = /* @__PURE__ */ Z({
39822
39823
  name: "FTagsDesign",
39823
39824
  props: mr,
39824
39825
  emits: ["remove", "selectionChange", "change"],
@@ -40053,7 +40054,7 @@ const P8 = /* @__PURE__ */ Z({
40053
40054
  onWheel: (oe) => te(oe)
40054
40055
  }, [Q()])]);
40055
40056
  }
40056
- }), R8 = {
40057
+ }), RP = {
40057
40058
  install(e) {
40058
40059
  e.component(ia.name, ia);
40059
40060
  },
@@ -40061,15 +40062,15 @@ const P8 = /* @__PURE__ */ Z({
40061
40062
  e.tags = ia, t.tags = ll;
40062
40063
  },
40063
40064
  registerDesigner(e, t, n) {
40064
- e.tags = O8, t.tags = ll;
40065
+ e.tags = OP, t.tags = ll;
40065
40066
  }
40066
- }, _8 = /* @__PURE__ */ new Map([
40067
+ }, _P = /* @__PURE__ */ new Map([
40067
40068
  ["appearance", ke]
40068
40069
  ]);
40069
- function j8(e, t, n) {
40070
+ function jP(e, t, n) {
40070
40071
  return t;
40071
40072
  }
40072
- const H8 = "text", N8 = "A Farris Component", V8 = "object", L8 = {
40073
+ const HP = "text", NP = "A Farris Component", VP = "object", LP = {
40073
40074
  basic: {
40074
40075
  description: "Basic Infomation",
40075
40076
  title: "基本信息",
@@ -40091,12 +40092,12 @@ const H8 = "text", N8 = "A Farris Component", V8 = "object", L8 = {
40091
40092
  }
40092
40093
  }
40093
40094
  }
40094
- }, W8 = {
40095
- title: H8,
40096
- description: N8,
40097
- type: V8,
40098
- categories: L8
40099
- }, z8 = "https://json-schema.org/draft/2020-12/schema", q8 = "https://farris-design.gitee.io/text.schema.json", G8 = "text", Y8 = "A Farris Component", U8 = "object", K8 = {
40095
+ }, WP = {
40096
+ title: HP,
40097
+ description: NP,
40098
+ type: VP,
40099
+ categories: LP
40100
+ }, zP = "https://json-schema.org/draft/2020-12/schema", qP = "https://farris-design.gitee.io/text.schema.json", GP = "text", YP = "A Farris Component", UP = "object", KP = {
40100
40101
  id: {
40101
40102
  description: "The unique identifier for text",
40102
40103
  type: "string"
@@ -40158,17 +40159,17 @@ const H8 = "text", N8 = "A Farris Component", V8 = "object", L8 = {
40158
40159
  type: "boolean",
40159
40160
  default: !0
40160
40161
  }
40161
- }, X8 = [
40162
+ }, XP = [
40162
40163
  "id",
40163
40164
  "type"
40164
- ], Q8 = {
40165
- $schema: z8,
40166
- $id: q8,
40167
- title: G8,
40168
- description: Y8,
40169
- type: U8,
40170
- properties: K8,
40171
- required: X8
40165
+ ], QP = {
40166
+ $schema: zP,
40167
+ $id: qP,
40168
+ title: GP,
40169
+ description: YP,
40170
+ type: UP,
40171
+ properties: KP,
40172
+ required: XP
40172
40173
  }, Ps = {
40173
40174
  // 组件值
40174
40175
  modelValue: { type: [String, Number, Boolean], default: "" },
@@ -40210,12 +40211,12 @@ const H8 = "text", N8 = "A Farris Component", V8 = "object", L8 = {
40210
40211
  dateRangeDelimiter: { type: String, default: "~" },
40211
40212
  // 枚举项的分隔符
40212
40213
  enumDelimiter: { type: String, default: "," }
40213
- }, vc = ye(Ps, Q8, _8, j8, W8);
40214
- function Z8(e) {
40214
+ }, vc = ye(Ps, QP, _P, jP, WP);
40215
+ function ZP(e) {
40215
40216
  let t;
40216
40217
  return /Y/g.test(e) === !0 ? t = e.replace(/Y/g, "y") : t = e, /D/g.test(t) === !0 && (t = t.replace(/D/g, "d")), t;
40217
40218
  }
40218
- function J8(e, t, n, a, o) {
40219
+ function JP(e, t, n, a, o) {
40219
40220
  if (e == null || e === "")
40220
40221
  return "";
40221
40222
  if (t && t.length) {
@@ -40230,26 +40231,26 @@ function J8(e, t, n, a, o) {
40230
40231
  }
40231
40232
  function mc(e, t) {
40232
40233
  let n;
40233
- return t || (t = "YYYY-MM-DD"), t === "timeago" ? Sm().formatTo(e) : (t === "hh:mm:ss" || t === "HH:mm:ss" ? n = e : n = ur().formatTo(e, Z8(t)), n);
40234
+ return t || (t = "YYYY-MM-DD"), t === "timeago" ? Sm().formatTo(e) : (t === "hh:mm:ss" || t === "HH:mm:ss" ? n = e : n = ur().formatTo(e, ZP(t)), n);
40234
40235
  }
40235
- function eP(e, t) {
40236
+ function e8(e, t) {
40236
40237
  return !e && !t || t && t.type && t.type === "number" && (t.formatter || (t.useThousands ? t.precision !== void 0 ? e = "n" + t.precision : e = "n2" : t.precision !== void 0 ? e = "f" + t.precision : e = "f2")), e;
40237
40238
  }
40238
- function tP(e) {
40239
+ function t8(e) {
40239
40240
  return e.replace(/[a-z]+/g, (t) => t.toUpperCase());
40240
40241
  }
40241
- function nP(e, t, n) {
40242
+ function n8(e, t, n) {
40242
40243
  return e.toString().indexOf(".") > -1 ? (console.warn("十进制转换仅限整型类型"), "") : (Array(t).join(n) + e).slice(-t);
40243
40244
  }
40244
- function aP(e, t) {
40245
+ function a8(e, t) {
40245
40246
  return Number(e * 100).toFixed(Number(t)) + "%";
40246
40247
  }
40247
- function oP(e, t, n, a, o, i, s) {
40248
+ function o8(e, t, n, a, o, i, s) {
40248
40249
  if (!t && !n)
40249
40250
  return e.toString();
40250
40251
  if (n && n.type && n.type === "number" && n.formatter)
40251
40252
  return n.formatter(e);
40252
- const l = tP(t.substring(0, 1)), p = Number(t.substring(1)), c = {};
40253
+ const l = t8(t.substring(0, 1)), p = Number(t.substring(1)), c = {};
40253
40254
  let u;
40254
40255
  if (!/C|D|F|N|P/g.test(l)) {
40255
40256
  console.log(`不支持format为 ${t} 类型的数字格式化`);
@@ -40262,7 +40263,7 @@ function oP(e, t, n, a, o, i, s) {
40262
40263
  Object.assign(c, { prefix: "¥", precision: p }), u = f(e, c);
40263
40264
  break;
40264
40265
  case "D":
40265
- u = nP(e, p, s);
40266
+ u = n8(e, p, s);
40266
40267
  break;
40267
40268
  case "F":
40268
40269
  Object.assign(c, { prefix: "", groupSeparator: "", precision: p }), u = f(e, c);
@@ -40271,12 +40272,12 @@ function oP(e, t, n, a, o, i, s) {
40271
40272
  Object.assign(c, { prefix: "", precision: p }), u = f(e, c);
40272
40273
  break;
40273
40274
  case "P":
40274
- u = aP(e, p);
40275
+ u = a8(e, p);
40275
40276
  break;
40276
40277
  }
40277
40278
  return u;
40278
40279
  }
40279
- function iP(e) {
40280
+ function i8(e) {
40280
40281
  return e === !0 ? "是" : e === !1 || e == null || e === "" || typeof e > "u" ? "否" : e;
40281
40282
  }
40282
40283
  const zo = /* @__PURE__ */ Z({
@@ -40328,13 +40329,13 @@ const zo = /* @__PURE__ */ Z({
40328
40329
  }
40329
40330
  break;
40330
40331
  case "number":
40331
- l.value = eP(l.value, e.numberOptions), x = oP(g, l.value, e.numberOptions, e.groupSeparator, e.decimalSeparator, e.amountExpression, e.decimalFilledSymbol);
40332
+ l.value = e8(l.value, e.numberOptions), x = o8(g, l.value, e.numberOptions, e.groupSeparator, e.decimalSeparator, e.amountExpression, e.decimalFilledSymbol);
40332
40333
  break;
40333
40334
  case "enum":
40334
- x = J8(g, e.enumConvertedDatas, e.enumDelimiter, e.textField, e.valueField);
40335
+ x = JP(g, e.enumConvertedDatas, e.enumDelimiter, e.textField, e.valueField);
40335
40336
  break;
40336
40337
  case "boolean":
40337
- x = iP(g);
40338
+ x = i8(g);
40338
40339
  break;
40339
40340
  }
40340
40341
  return x;
@@ -40353,7 +40354,7 @@ const zo = /* @__PURE__ */ Z({
40353
40354
  title: u.value
40354
40355
  }, [h.value]);
40355
40356
  }
40356
- }), rP = /* @__PURE__ */ Z({
40357
+ }), r8 = /* @__PURE__ */ Z({
40357
40358
  name: "FTextDesign",
40358
40359
  props: Ps,
40359
40360
  emits: ["update:modelValue"],
@@ -40378,7 +40379,7 @@ const zo = /* @__PURE__ */ Z({
40378
40379
  style: c.value
40379
40380
  }, [l.value]);
40380
40381
  }
40381
- }), sP = {
40382
+ }), s8 = {
40382
40383
  install(e) {
40383
40384
  e.component(zo.name, zo);
40384
40385
  },
@@ -40386,11 +40387,11 @@ const zo = /* @__PURE__ */ Z({
40386
40387
  e.text = zo, t.text = vc;
40387
40388
  },
40388
40389
  registerDesigner(e, t, n) {
40389
- e.text = rP, t.text = vc;
40390
+ e.text = r8, t.text = vc;
40390
40391
  }
40391
- }, lP = /* @__PURE__ */ new Map([
40392
+ }, l8 = /* @__PURE__ */ new Map([
40392
40393
  ["appearance", ke]
40393
- ]), cP = "https://json-schema.org/draft/2020-12/schema", uP = "https://farris-design.gitee.io/time-picker.schema.json", dP = "time-picker", fP = "A Farris Input Component", pP = "object", vP = {
40394
+ ]), c8 = "https://json-schema.org/draft/2020-12/schema", u8 = "https://farris-design.gitee.io/time-picker.schema.json", d8 = "time-picker", f8 = "A Farris Input Component", p8 = "object", v8 = {
40394
40395
  id: {
40395
40396
  description: "The unique identifier for a time picker",
40396
40397
  type: "string"
@@ -40452,22 +40453,22 @@ const zo = /* @__PURE__ */ Z({
40452
40453
  type: "boolean",
40453
40454
  default: !0
40454
40455
  }
40455
- }, mP = [
40456
+ }, m8 = [
40456
40457
  "id",
40457
40458
  "type"
40458
- ], hP = {
40459
- $schema: cP,
40460
- $id: uP,
40461
- title: dP,
40462
- description: fP,
40463
- type: pP,
40464
- properties: vP,
40465
- required: mP
40459
+ ], h8 = {
40460
+ $schema: c8,
40461
+ $id: u8,
40462
+ title: d8,
40463
+ description: f8,
40464
+ type: p8,
40465
+ properties: v8,
40466
+ required: m8
40466
40467
  };
40467
- function gP(e, t, n) {
40468
+ function g8(e, t, n) {
40468
40469
  return t;
40469
40470
  }
40470
- const yP = "time-picker", bP = "A Farris Component", xP = "object", CP = {
40471
+ const y8 = "time-picker", b8 = "A Farris Component", x8 = "object", C8 = {
40471
40472
  basic: {
40472
40473
  description: "Basic Infomation",
40473
40474
  title: "基本信息",
@@ -40549,11 +40550,11 @@ const yP = "time-picker", bP = "A Farris Component", xP = "object", CP = {
40549
40550
  }
40550
40551
  }
40551
40552
  }
40552
- }, wP = {
40553
- title: yP,
40554
- description: bP,
40555
- type: xP,
40556
- categories: CP
40553
+ }, w8 = {
40554
+ title: y8,
40555
+ description: b8,
40556
+ type: x8,
40557
+ categories: C8
40557
40558
  }, Ms = {
40558
40559
  /**
40559
40560
  * 组件值,这个是与指定的format格式相对应的值
@@ -40582,7 +40583,7 @@ const yP = "time-picker", bP = "A Farris Component", xP = "object", CP = {
40582
40583
  disable: { type: Boolean, default: !1 },
40583
40584
  readonly: { type: Boolean, default: !1 },
40584
40585
  editable: { type: Boolean, default: !0 }
40585
- }, hc = ye(Ms, hP, lP, gP, wP), SP = {
40586
+ }, hc = ye(Ms, h8, l8, g8, w8), S8 = {
40586
40587
  modelValue: {
40587
40588
  type: String,
40588
40589
  default: ""
@@ -40650,7 +40651,7 @@ function Wf(e, t) {
40650
40651
  let n = e || "hh:mm:ss";
40651
40652
  return t ? (n = n ? n.replace(/H/g, "h") : "hh:mm:ss a", n.indexOf("a") === -1 && n.indexOf("A") === -1 && (n = n + " a")) : n = n ? n.replace(/h/g, "H") : "HH:mm:ss", n;
40652
40653
  }
40653
- class kP {
40654
+ class k8 {
40654
40655
  constructor() {
40655
40656
  j(this, "hourStep", 1);
40656
40657
  j(this, "minuteStep", 1);
@@ -40816,7 +40817,7 @@ class kP {
40816
40817
  return n === "PM" && t > 12 ? t - 12 : n === "AM" && t === 0 ? 12 : t;
40817
40818
  }
40818
40819
  }
40819
- function BP(e, t, n, a, o, i) {
40820
+ function B8(e, t, n, a, o, i) {
40820
40821
  function s(u, f, d = 0, h, m) {
40821
40822
  const v = l(f, h, m), g = u.children[0].children[v] || u.children[0].children[0];
40822
40823
  p(u, g.offsetTop, d);
@@ -40863,7 +40864,7 @@ function BP(e, t, n, a, o, i) {
40863
40864
  }
40864
40865
  return { scrollToSelected: s };
40865
40866
  }
40866
- function DP(e, t) {
40867
+ function D8(e, t) {
40867
40868
  function n(l) {
40868
40869
  return l.index === e.viewHours || !Je(e.viewHours) && l.index === e.defaultViewHours;
40869
40870
  }
@@ -40886,14 +40887,14 @@ function DP(e, t) {
40886
40887
  }
40887
40888
  const Ki = /* @__PURE__ */ Z({
40888
40889
  name: "FTimePickerTimeView",
40889
- props: SP,
40890
+ props: S8,
40890
40891
  emits: ["valueChange", "formatedValueChange"],
40891
40892
  setup(e, t) {
40892
- const n = "time-picker-panel", a = y(0), o = y([]), i = y([]), s = y([]), l = y([]), p = y(), c = y(), u = y(), f = y(), d = new kP(), {
40893
+ const n = "time-picker-panel", a = y(0), o = y([]), i = y([]), s = y([]), l = y([]), p = y(), c = y(), u = y(), f = y(), d = new k8(), {
40893
40894
  scrollToSelected: h
40894
- } = BP(e, t, o, i, s, l), {
40895
+ } = B8(e, t, o, i, s, l), {
40895
40896
  getSelectedClass: m
40896
- } = DP(d, n), v = y(e.hourStep), g = y(e.minuteStep), x = y(e.secondStep), b = y(), C = y(""), w = y(), S = y(e.hideDisabledElements), k = y(0);
40897
+ } = D8(d, n), v = y(e.hourStep), g = y(e.minuteStep), x = y(e.secondStep), b = y(), C = y(""), w = y(), S = y(e.hideDisabledElements), k = y(0);
40897
40898
  J(() => e.defaultOpenValue, (q) => {
40898
40899
  Je(q) && (b.value = q);
40899
40900
  }), J(b, (q) => {
@@ -41133,7 +41134,7 @@ const Ki = /* @__PURE__ */ Z({
41133
41134
  }), null)]
41134
41135
  });
41135
41136
  }
41136
- }), FP = /* @__PURE__ */ Z({
41137
+ }), F8 = /* @__PURE__ */ Z({
41137
41138
  name: "FTimePickerDesign",
41138
41139
  props: Ms,
41139
41140
  emits: ["datePicked", "update:modelValue"],
@@ -41157,7 +41158,7 @@ const Ki = /* @__PURE__ */ Z({
41157
41158
  default: () => [r(Qe("f-time-picker-time-view"), null, null)]
41158
41159
  })]);
41159
41160
  }
41160
- }), TP = {
41161
+ }), T8 = {
41161
41162
  install(e) {
41162
41163
  e.component(qo.name, qo).component(Ki.name, Ki);
41163
41164
  },
@@ -41165,9 +41166,9 @@ const Ki = /* @__PURE__ */ Z({
41165
41166
  e["time-picker"] = qo, t["time-picker"] = hc;
41166
41167
  },
41167
41168
  registerDesigner(e, t, n) {
41168
- e["time-picker"] = FP, t["time-picker"] = hc;
41169
+ e["time-picker"] = F8, t["time-picker"] = hc;
41169
41170
  }
41170
- }, AP = /* @__PURE__ */ Z({
41171
+ }, A8 = /* @__PURE__ */ Z({
41171
41172
  name: "FTransferDesign",
41172
41173
  props: wr,
41173
41174
  emits: ["change"],
@@ -41268,7 +41269,7 @@ const Ki = /* @__PURE__ */ Z({
41268
41269
  style: "height:480px"
41269
41270
  }, [x(), S()]);
41270
41271
  }
41271
- }), IP = {
41272
+ }), I8 = {
41272
41273
  install(e) {
41273
41274
  e.component(On.name, On);
41274
41275
  },
@@ -41276,15 +41277,15 @@ const Ki = /* @__PURE__ */ Z({
41276
41277
  e.transfer = On, t.transfer = ml;
41277
41278
  },
41278
41279
  registerDesigner(e, t, n) {
41279
- e.transfer = AP, t.transfer = ml;
41280
+ e.transfer = A8, t.transfer = ml;
41280
41281
  }
41281
- }, EP = /* @__PURE__ */ new Map([
41282
+ }, E8 = /* @__PURE__ */ new Map([
41282
41283
  ["appearance", ke]
41283
41284
  ]);
41284
- function $P(e, t, n) {
41285
+ function $8(e, t, n) {
41285
41286
  return t;
41286
41287
  }
41287
- const PP = "tree-view", MP = "A Farris Component", OP = "object", RP = {
41288
+ const P8 = "tree-view", M8 = "A Farris Component", O8 = "object", R8 = {
41288
41289
  basic: {
41289
41290
  description: "Basic Infomation",
41290
41291
  title: "基本信息",
@@ -41306,12 +41307,12 @@ const PP = "tree-view", MP = "A Farris Component", OP = "object", RP = {
41306
41307
  }
41307
41308
  }
41308
41309
  }
41309
- }, _P = {
41310
- title: PP,
41311
- description: MP,
41312
- type: OP,
41313
- categories: RP
41314
- }, jP = "https://json-schema.org/draft/2020-12/schema", HP = "https://farris-design.gitee.io/tree-view.schema.json", NP = "tree-view", VP = "A Farris Component", LP = "object", WP = {
41310
+ }, _8 = {
41311
+ title: P8,
41312
+ description: M8,
41313
+ type: O8,
41314
+ categories: R8
41315
+ }, j8 = "https://json-schema.org/draft/2020-12/schema", H8 = "https://farris-design.gitee.io/tree-view.schema.json", N8 = "tree-view", V8 = "A Farris Component", L8 = "object", W8 = {
41315
41316
  id: {
41316
41317
  description: "The unique identifier for tree-view",
41317
41318
  type: "string"
@@ -41373,17 +41374,17 @@ const PP = "tree-view", MP = "A Farris Component", OP = "object", RP = {
41373
41374
  type: "boolean",
41374
41375
  default: !0
41375
41376
  }
41376
- }, zP = [
41377
+ }, z8 = [
41377
41378
  "id",
41378
41379
  "type"
41379
- ], qP = {
41380
- $schema: jP,
41381
- $id: HP,
41382
- title: NP,
41383
- description: VP,
41384
- type: LP,
41385
- properties: WP,
41386
- required: zP
41380
+ ], q8 = {
41381
+ $schema: j8,
41382
+ $id: H8,
41383
+ title: N8,
41384
+ description: V8,
41385
+ type: L8,
41386
+ properties: W8,
41387
+ required: z8
41387
41388
  }, Os = {
41388
41389
  /** 列集合 */
41389
41390
  columns: {
@@ -41469,7 +41470,7 @@ const PP = "tree-view", MP = "A Farris Component", OP = "object", RP = {
41469
41470
  },
41470
41471
  /** 行配置 */
41471
41472
  rowOption: { type: Object }
41472
- }, gc = ye(Os, qP, EP, $P, _P);
41473
+ }, gc = ye(Os, q8, E8, $8, _8);
41473
41474
  function zf(e, t, n, a, o, i, s, l, p, c, u, f, d) {
41474
41475
  const {
41475
41476
  calculateCellPositionInRow: h
@@ -41591,7 +41592,7 @@ const Go = /* @__PURE__ */ Z({
41591
41592
  }
41592
41593
  }, [P(), m(), v()])]);
41593
41594
  }
41594
- }), GP = /* @__PURE__ */ Z({
41595
+ }), G8 = /* @__PURE__ */ Z({
41595
41596
  name: "FTreeViewDesign",
41596
41597
  props: Os,
41597
41598
  emits: ["outputValue", "currentEvent", "selectionChange"],
@@ -41637,7 +41638,7 @@ const Go = /* @__PURE__ */ Z({
41637
41638
  }
41638
41639
  }, [O(), x(), b()])]);
41639
41640
  }
41640
- }), YP = {
41641
+ }), Y8 = {
41641
41642
  install(e) {
41642
41643
  e.component(Go.name, Go);
41643
41644
  },
@@ -41645,16 +41646,16 @@ const Go = /* @__PURE__ */ Z({
41645
41646
  e["tree-view"] = Go, t["tree-view"] = gc;
41646
41647
  },
41647
41648
  registerDesigner(e, t, n) {
41648
- e["tree-view"] = GP, t["tree-view"] = gc;
41649
+ e["tree-view"] = G8, t["tree-view"] = gc;
41649
41650
  }
41650
- }, UP = {
41651
+ }, U8 = {
41651
41652
  // 是否被选中
41652
41653
  checked: { type: Boolean, default: !1 },
41653
41654
  // 进度条状态 默认'normal'
41654
41655
  id: { type: String, default: "" },
41655
41656
  // 禁用
41656
41657
  disabled: { type: Boolean, default: !1 }
41657
- }, KP = {
41658
+ }, K8 = {
41658
41659
  // 是否显示进度条信息
41659
41660
  showInfo: { type: Boolean, default: !0 },
41660
41661
  // 进度条状态 默认'normal'
@@ -41662,7 +41663,7 @@ const Go = /* @__PURE__ */ Z({
41662
41663
  // 已完成的分段百分比
41663
41664
  percent: { type: Number, default: 0 },
41664
41665
  maxWidth: { type: Number, default: 0 }
41665
- }, XP = {
41666
+ }, X8 = {
41666
41667
  /**
41667
41668
  * 按钮文本
41668
41669
  */
@@ -41695,9 +41696,9 @@ const Go = /* @__PURE__ */ Z({
41695
41696
  * 附件服务器端服务注入的Token
41696
41697
  */
41697
41698
  uploadServerToken: { type: String, default: "" }
41698
- }, QP = /* @__PURE__ */ Z({
41699
+ }, Q8 = /* @__PURE__ */ Z({
41699
41700
  name: "FUploadProgress",
41700
- props: KP,
41701
+ props: K8,
41701
41702
  setup(e, t) {
41702
41703
  const {
41703
41704
  showInfo: n,
@@ -41727,7 +41728,7 @@ const Go = /* @__PURE__ */ Z({
41727
41728
  }
41728
41729
  }), qf = /* @__PURE__ */ Z({
41729
41730
  name: "FPreviewCheckbox",
41730
- props: UP,
41731
+ props: U8,
41731
41732
  emits: ["checkedChange"],
41732
41733
  setup(e, t) {
41733
41734
  const {
@@ -41758,7 +41759,7 @@ const Go = /* @__PURE__ */ Z({
41758
41759
  }
41759
41760
  });
41760
41761
  var Rt = /* @__PURE__ */ ((e) => (e[e.Queue = 0] = "Queue", e[e.Uploading = 1] = "Uploading", e[e.Done = 2] = "Done", e[e.Cancelled = 3] = "Cancelled", e[e.Remove = 4] = "Remove", e[e.Error = 5] = "Error", e))(Rt || {});
41761
- class ZP {
41762
+ class Z8 {
41762
41763
  constructor(t = {}, n = {}) {
41763
41764
  /**
41764
41765
  * 上传配置
@@ -41782,7 +41783,7 @@ function yc(e, t) {
41782
41783
  let n = "";
41783
41784
  return e.indexOf(".") === -1 && t.hasOwnProperty(e) ? n = t[e] : n = e.split(".").reduce((a, o) => a ? a[o] : null, t), n;
41784
41785
  }
41785
- function JP(e) {
41786
+ function J8(e) {
41786
41787
  return (t, n) => {
41787
41788
  if (!t.hasOwnProperty(e) || t[e] === void 0 || t[e] === null)
41788
41789
  return 1;
@@ -41935,7 +41936,7 @@ function rM(e) {
41935
41936
  function wc(e) {
41936
41937
  return new Date(e * 1e3).toISOString().substr(11, 8);
41937
41938
  }
41938
- class sM extends ZP {
41939
+ class sM extends Z8 {
41939
41940
  upload(t, n, a, o) {
41940
41941
  const i = t[0];
41941
41942
  return new Promise((s, l) => {
@@ -42226,7 +42227,7 @@ class uM {
42226
42227
  }
42227
42228
  const Xf = /* @__PURE__ */ Z({
42228
42229
  name: "FFileSelect",
42229
- props: XP,
42230
+ props: X8,
42230
42231
  emits: ["change", "stateChange"],
42231
42232
  setup(e, t) {
42232
42233
  const n = new uM(t, e.uploadServerToken), a = Ji(), o = y("*");
@@ -42453,7 +42454,7 @@ function Qf(e, t, n) {
42453
42454
  } = Gn(e), v = y(!1), g = y([]), x = $(() => g.value.length), b = y([]), C = y(""), w = $(() => {
42454
42455
  (!o.value.length || g.value.length !== o.value.length) && (v.value = !1);
42455
42456
  const N = o.value.map((W) => (W.hasOwnProperty("size") || (W.size = void 0), W.hasOwnProperty("createTime") || (W.createTime = void 0), W));
42456
- if (N.sort(JP(c.value)), u.value) {
42457
+ if (N.sort(J8(c.value)), u.value) {
42457
42458
  const W = N.map((L) => (L.checked = !!g.value.find((Y) => Y.id === L.id) || v.value, L));
42458
42459
  return g.value = [...W].filter((L) => L.checked), W;
42459
42460
  }
@@ -42570,7 +42571,7 @@ function Qf(e, t, n) {
42570
42571
  const Yo = /* @__PURE__ */ Z({
42571
42572
  name: "FUploader",
42572
42573
  components: {
42573
- "f-upload-progress": QP,
42574
+ "f-upload-progress": Q8,
42574
42575
  "f-preview-checkbox": qf,
42575
42576
  "f-file-select": Xf
42576
42577
  },
@@ -50044,7 +50045,7 @@ const S3 = /* @__PURE__ */ Z({
50044
50045
  }, De = {}, Fe = {}, Ae = {};
50045
50046
  let uu = !1;
50046
50047
  function B3() {
50047
- uu || (uu = !0, hh.register(De, Fe, Ae), Jm.register(De, Fe, Ae), sg.register(De, Fe, Ae), Fg.registerDesigner(De, Fe, Ae), Xg.register(De, Fe, Ae), vy.register(De, Fe, Ae), Fy.register(De, Fe, Ae), c2.register(De, Fe, Ae), D2.register(De, Fe), FS.register(De, Fe, Ae), cS.registerDesigner(De, Fe, Ae), uk.register(De, Fe, Ae), Ek.register(De, Fe, Ae), Kk.register(De, Fe, Ae), V1.register(De, Fe, Ae), sw.register(De, Fe, Ae), HB.register(De, Fe, Ae), oD.register(De, Fe, Ae), rD.register(De, Fe, Ae), RD.register(De, Fe, Ae), hF.register(De, Fe, Ae), eF.registerDesigner(De, Fe, Ae), NF.register(De, Fe, Ae), uT.register(De, Fe, Ae), FT.register(De, Fe, Ae), zT.register(De, Fe, Ae), lA.register(De, Fe, Ae), uA.register(De, Fe, Ae), OA.register(De, Fe, Ae), ZA.register(De, Fe, Ae), Fw.register(De, Fe, Ae), wI.register(De, Fe, Ae), LI.register(De, Fe, Ae), zI.register(De, Fe, Ae), l4.register(De, Fe, Ae), P4.register(De, Fe, Ae), VE.register(De, Fe, Ae), TA.register(De, Fe, Ae), i$.register(De, Fe, Ae), l$.register(De, Fe, Ae), B$.register(De, Fe, Ae), i8.register(De, Fe, Ae), w8.register(De, Fe, Ae), k8.register(De, Fe, Ae), M8.register(De, Fe, Ae), R8.register(De, Fe, Ae), sP.register(De, Fe, Ae), TP.register(De, Fe, Ae), IP.register(De, Fe, Ae), YP.register(De, Fe, Ae), qM.register(De, Fe, Ae), FM.register(De, Fe, Ae), i3.register(De, Fe, Ae), k3.register(De, Fe, Ae));
50048
+ uu || (uu = !0, hh.register(De, Fe, Ae), Jm.register(De, Fe, Ae), sg.register(De, Fe, Ae), Fg.registerDesigner(De, Fe, Ae), Xg.register(De, Fe, Ae), vy.register(De, Fe, Ae), Fy.register(De, Fe, Ae), c2.register(De, Fe, Ae), D2.register(De, Fe), FS.register(De, Fe, Ae), cS.registerDesigner(De, Fe, Ae), uk.register(De, Fe, Ae), Ek.register(De, Fe, Ae), Kk.register(De, Fe, Ae), V1.register(De, Fe, Ae), sw.register(De, Fe, Ae), HB.register(De, Fe, Ae), oD.register(De, Fe, Ae), rD.register(De, Fe, Ae), RD.register(De, Fe, Ae), hF.register(De, Fe, Ae), eF.registerDesigner(De, Fe, Ae), NF.register(De, Fe, Ae), uT.register(De, Fe, Ae), FT.register(De, Fe, Ae), zT.register(De, Fe, Ae), lA.register(De, Fe, Ae), uA.register(De, Fe, Ae), OA.register(De, Fe, Ae), ZA.register(De, Fe, Ae), Fw.register(De, Fe, Ae), wI.register(De, Fe, Ae), LI.register(De, Fe, Ae), zI.register(De, Fe, Ae), l4.register(De, Fe, Ae), P4.register(De, Fe, Ae), VE.register(De, Fe, Ae), TA.register(De, Fe, Ae), i$.register(De, Fe, Ae), l$.register(De, Fe, Ae), B$.register(De, Fe, Ae), iP.register(De, Fe, Ae), wP.register(De, Fe, Ae), kP.register(De, Fe, Ae), MP.register(De, Fe, Ae), RP.register(De, Fe, Ae), s8.register(De, Fe, Ae), T8.register(De, Fe, Ae), I8.register(De, Fe, Ae), Y8.register(De, Fe, Ae), qM.register(De, Fe, Ae), FM.register(De, Fe, Ae), i3.register(De, Fe, Ae), k3.register(De, Fe, Ae));
50048
50049
  }
50049
50050
  function ip() {
50050
50051
  B3();