@farris/ui-vue 1.1.7 → 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 (142) 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 +2270 -2269
  34. package/components/designer-canvas/index.umd.cjs +7 -7
  35. package/components/designer-canvas/package.json +1 -1
  36. package/components/designer-outline/index.esm.js +22 -21
  37. package/components/designer-outline/index.umd.cjs +1 -1
  38. package/components/designer-outline/package.json +1 -1
  39. package/components/designer-toolbox/package.json +1 -1
  40. package/components/discussion-editor/package.json +1 -1
  41. package/components/discussion-list/package.json +1 -1
  42. package/components/dropdown/package.json +1 -1
  43. package/components/dynamic-form/index.esm.js +180 -179
  44. package/components/dynamic-form/index.umd.cjs +1 -1
  45. package/components/dynamic-form/package.json +1 -1
  46. package/components/dynamic-resolver/package.json +1 -1
  47. package/components/dynamic-view/index.esm.js +3661 -3660
  48. package/components/dynamic-view/index.umd.cjs +1 -1
  49. package/components/dynamic-view/package.json +1 -1
  50. package/components/enum-editor/package.json +1 -1
  51. package/components/events-editor/package.json +1 -1
  52. package/components/expression-editor/package.json +1 -1
  53. package/components/external-container/index.esm.js +1365 -1364
  54. package/components/external-container/index.umd.cjs +7 -7
  55. package/components/external-container/package.json +1 -1
  56. package/components/field-selector/index.esm.js +182 -181
  57. package/components/field-selector/index.umd.cjs +1 -1
  58. package/components/field-selector/package.json +1 -1
  59. package/components/filter-bar/index.esm.js +182 -181
  60. package/components/filter-bar/index.umd.cjs +1 -1
  61. package/components/filter-bar/package.json +1 -1
  62. package/components/flow-canvas/index.esm.js +22 -21
  63. package/components/flow-canvas/index.umd.cjs +7 -7
  64. package/components/flow-canvas/package.json +1 -1
  65. package/components/image-cropper/package.json +1 -1
  66. package/components/input-group/package.json +1 -1
  67. package/components/layout/package.json +1 -1
  68. package/components/list-nav/package.json +1 -1
  69. package/components/list-view/index.esm.js +183 -182
  70. package/components/list-view/index.umd.cjs +1 -1
  71. package/components/list-view/package.json +1 -1
  72. package/components/loading/package.json +1 -1
  73. package/components/locale/package.json +1 -1
  74. package/components/lookup/index.esm.js +185 -184
  75. package/components/lookup/index.umd.cjs +1 -1
  76. package/components/lookup/package.json +1 -1
  77. package/components/mapping-editor/index.esm.js +181 -180
  78. package/components/mapping-editor/index.umd.cjs +1 -1
  79. package/components/mapping-editor/package.json +1 -1
  80. package/components/message-box/package.json +1 -1
  81. package/components/modal/package.json +1 -1
  82. package/components/nav/package.json +1 -1
  83. package/components/notify/package.json +1 -1
  84. package/components/order/index.esm.js +182 -181
  85. package/components/order/index.umd.cjs +1 -1
  86. package/components/order/package.json +1 -1
  87. package/components/page-footer/package.json +1 -1
  88. package/components/page-header/package.json +1 -1
  89. package/components/pagination/package.json +1 -1
  90. package/components/plugin/package.json +1 -1
  91. package/components/popover/package.json +1 -1
  92. package/components/progress/package.json +1 -1
  93. package/components/property-editor/index.esm.js +2810 -2810
  94. package/components/property-editor/index.umd.cjs +7 -7
  95. package/components/property-editor/package.json +1 -1
  96. package/components/property-panel/index.esm.js +180 -179
  97. package/components/property-panel/index.umd.cjs +1 -1
  98. package/components/property-panel/package.json +1 -1
  99. package/components/radio-button/package.json +1 -1
  100. package/components/radio-group/package.json +1 -1
  101. package/components/rate/package.json +1 -1
  102. package/components/response-layout/package.json +1 -1
  103. package/components/response-layout-editor/index.esm.js +182 -181
  104. package/components/response-layout-editor/index.umd.cjs +1 -1
  105. package/components/response-layout-editor/package.json +1 -1
  106. package/components/response-toolbar/package.json +1 -1
  107. package/components/schema-selector/index.esm.js +22 -21
  108. package/components/schema-selector/index.umd.cjs +1 -1
  109. package/components/schema-selector/package.json +1 -1
  110. package/components/search-box/package.json +1 -1
  111. package/components/section/package.json +1 -1
  112. package/components/smoke-detector/package.json +1 -1
  113. package/components/spacing-editor/index.esm.js +22 -21
  114. package/components/spacing-editor/index.umd.cjs +1 -1
  115. package/components/spacing-editor/package.json +1 -1
  116. package/components/splitter/package.json +1 -1
  117. package/components/step/package.json +1 -1
  118. package/components/switch/package.json +1 -1
  119. package/components/tabs/index.esm.js +939 -938
  120. package/components/tabs/index.umd.cjs +1 -1
  121. package/components/tabs/package.json +1 -1
  122. package/components/tags/package.json +1 -1
  123. package/components/text/package.json +1 -1
  124. package/components/time-picker/package.json +1 -1
  125. package/components/tooltip/package.json +1 -1
  126. package/components/transfer/index.esm.js +183 -182
  127. package/components/transfer/index.umd.cjs +1 -1
  128. package/components/transfer/package.json +1 -1
  129. package/components/tree-grid/index.esm.js +22 -21
  130. package/components/tree-grid/index.umd.cjs +7 -7
  131. package/components/tree-grid/package.json +1 -1
  132. package/components/tree-view/index.esm.js +186 -185
  133. package/components/tree-view/index.umd.cjs +1 -1
  134. package/components/tree-view/package.json +1 -1
  135. package/components/uploader/package.json +1 -1
  136. package/components/verify-detail/package.json +1 -1
  137. package/components/video/package.json +1 -1
  138. package/components/weather/package.json +1 -1
  139. package/farris.all.esm.js +26 -26
  140. package/farris.all.umd.cjs +2 -2
  141. package/package.json +1 -1
  142. package/types/property-editor/src/composition/use-initialized-value.d.ts +1 -1
@@ -38920,7 +38920,7 @@ const Wo = /* @__PURE__ */ Z({
38920
38920
  }
38921
38921
  }
38922
38922
  }
38923
- }, e8 = {
38923
+ }, eP = {
38924
38924
  title: X$,
38925
38925
  description: Q$,
38926
38926
  type: Z$,
@@ -38948,7 +38948,7 @@ const Wo = /* @__PURE__ */ Z({
38948
38948
  K$,
38949
38949
  L$,
38950
38950
  void 0,
38951
- e8
38951
+ eP
38952
38952
  );
38953
38953
  function Hf(e, t) {
38954
38954
  const n = y(e.width), a = y(e.height), {
@@ -39035,19 +39035,19 @@ const zo = /* @__PURE__ */ Z({
39035
39035
  }, null)]);
39036
39036
  }
39037
39037
  });
39038
- function t8(e, t) {
39038
+ function tP(e, t) {
39039
39039
  function n() {
39040
39040
  return !1;
39041
39041
  }
39042
39042
  return { canAccepts: n };
39043
39043
  }
39044
- const n8 = /* @__PURE__ */ Z({
39044
+ const nP = /* @__PURE__ */ Z({
39045
39045
  name: "FSplitterDesign",
39046
39046
  props: Is,
39047
39047
  emits: [],
39048
39048
  setup(e, t) {
39049
39049
  var f;
39050
- 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);
39050
+ 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);
39051
39051
  i.value.canNested = !1;
39052
39052
  const s = jf(n), {
39053
39053
  horizontalResizeHandleStyle: l,
@@ -39078,7 +39078,7 @@ const n8 = /* @__PURE__ */ Z({
39078
39078
  }, null)]);
39079
39079
  }
39080
39080
  });
39081
- function a8(e, t) {
39081
+ function aP(e, t) {
39082
39082
  function n(o) {
39083
39083
  var p;
39084
39084
  if (!Jt().basalDragulaRuleForContainer(o))
@@ -39111,13 +39111,13 @@ function a8(e, t) {
39111
39111
  }
39112
39112
  return { canAccepts: n, onAcceptNewChildElement: a };
39113
39113
  }
39114
- const o8 = /* @__PURE__ */ Z({
39114
+ const oP = /* @__PURE__ */ Z({
39115
39115
  name: "FSplitterPaneDesign",
39116
39116
  props: Es,
39117
39117
  emits: [],
39118
39118
  setup(e, t) {
39119
39119
  var m;
39120
- 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);
39120
+ 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);
39121
39121
  i.value.styles = "padding:0;box-shadow:none;", i.value.canNested = !1, i.value.canMove = !1, i.value.canDelete = !1, ue(() => {
39122
39122
  n.value.componentInstance = i;
39123
39123
  }), t.expose(i.value);
@@ -39147,7 +39147,7 @@ const o8 = /* @__PURE__ */ Z({
39147
39147
  style: h.value
39148
39148
  }, [t.slots.default && t.slots.default()]);
39149
39149
  }
39150
- }), i8 = {
39150
+ }), iP = {
39151
39151
  install(e) {
39152
39152
  e.component(Wo.name, Wo), e.component(zo.name, zo);
39153
39153
  },
@@ -39155,15 +39155,15 @@ const o8 = /* @__PURE__ */ Z({
39155
39155
  e.splitter = Wo, t.splitter = dc, e["splitter-pane"] = zo, t["splitter-pane"] = fc;
39156
39156
  },
39157
39157
  registerDesigner(e, t, n) {
39158
- e.splitter = n8, t.splitter = dc, e["splitter-pane"] = o8, t["splitter-pane"] = fc;
39158
+ e.splitter = nP, t.splitter = dc, e["splitter-pane"] = oP, t["splitter-pane"] = fc;
39159
39159
  }
39160
- }, r8 = /* @__PURE__ */ new Map([
39160
+ }, rP = /* @__PURE__ */ new Map([
39161
39161
  ["appearance", ke]
39162
39162
  ]);
39163
- function s8(e, t, n) {
39163
+ function sP(e, t, n) {
39164
39164
  return t;
39165
39165
  }
39166
- 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 = {
39166
+ 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 = {
39167
39167
  id: {
39168
39168
  description: "The unique identifier for step",
39169
39169
  type: "string"
@@ -39225,18 +39225,18 @@ const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-
39225
39225
  type: "boolean",
39226
39226
  default: !0
39227
39227
  }
39228
- }, v8 = [
39228
+ }, vP = [
39229
39229
  "id",
39230
39230
  "type"
39231
- ], m8 = {
39232
- $schema: l8,
39233
- $id: c8,
39234
- title: u8,
39235
- description: d8,
39236
- type: f8,
39237
- properties: p8,
39238
- required: v8
39239
- }, h8 = "step", g8 = "A Farris Component", y8 = "object", b8 = {
39231
+ ], mP = {
39232
+ $schema: lP,
39233
+ $id: cP,
39234
+ title: uP,
39235
+ description: dP,
39236
+ type: fP,
39237
+ properties: pP,
39238
+ required: vP
39239
+ }, hP = "step", gP = "A Farris Component", yP = "object", bP = {
39240
39240
  basic: {
39241
39241
  description: "Basic Infomation",
39242
39242
  title: "基本信息",
@@ -39258,11 +39258,11 @@ const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-
39258
39258
  }
39259
39259
  }
39260
39260
  }
39261
- }, x8 = {
39262
- title: h8,
39263
- description: g8,
39264
- type: y8,
39265
- categories: b8
39261
+ }, xP = {
39262
+ title: hP,
39263
+ description: gP,
39264
+ type: yP,
39265
+ categories: bP
39266
39266
  }, $s = {
39267
39267
  /** 步骤条方向 */
39268
39268
  direction: { type: String, default: "horizontal" },
@@ -39293,7 +39293,7 @@ const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-
39293
39293
  /** 步骤条点击后事件 */
39294
39294
  onClick: { type: Function, default: () => {
39295
39295
  } }
39296
- }, pc = ye($s, m8, r8, s8, x8), qo = /* @__PURE__ */ Z({
39296
+ }, pc = ye($s, mP, rP, sP, xP), qo = /* @__PURE__ */ Z({
39297
39297
  name: "FStep",
39298
39298
  props: $s,
39299
39299
  emits: ["click"],
@@ -39396,7 +39396,7 @@ const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-
39396
39396
  style: u.value
39397
39397
  }, [S()])]);
39398
39398
  }
39399
- }), C8 = /* @__PURE__ */ Z({
39399
+ }), CP = /* @__PURE__ */ Z({
39400
39400
  name: "FStepDesign",
39401
39401
  props: $s,
39402
39402
  emits: [],
@@ -39500,7 +39500,7 @@ const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-
39500
39500
  style: h.value
39501
39501
  }, [F()])]);
39502
39502
  }
39503
- }), w8 = {
39503
+ }), wP = {
39504
39504
  install(e) {
39505
39505
  e.component(qo.name, qo);
39506
39506
  },
@@ -39508,9 +39508,9 @@ const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-
39508
39508
  e.step = qo, t.step = pc;
39509
39509
  },
39510
39510
  registerDesigner(e, t, n) {
39511
- e.step = C8, t.step = pc;
39511
+ e.step = CP, t.step = pc;
39512
39512
  }
39513
- }, S8 = /* @__PURE__ */ Z({
39513
+ }, SP = /* @__PURE__ */ Z({
39514
39514
  name: "FSwitchDesign",
39515
39515
  props: Ds,
39516
39516
  emits: ["update:modelValue"],
@@ -39571,7 +39571,7 @@ const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-
39571
39571
  style: v.value
39572
39572
  }, [t.slots.default && t.slots.default()])]);
39573
39573
  }
39574
- }), k8 = {
39574
+ }), kP = {
39575
39575
  install(e) {
39576
39576
  e.component(ya.name, ya);
39577
39577
  },
@@ -39579,10 +39579,10 @@ const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-
39579
39579
  e.switch = ya, t.switch = sc;
39580
39580
  },
39581
39581
  registerDesigner(e, t, n) {
39582
- e.switch = S8, t.switch = sc;
39582
+ e.switch = SP, t.switch = sc;
39583
39583
  }
39584
39584
  };
39585
- function B8(e, t, n, a, o) {
39585
+ function BP(e, t, n, a, o) {
39586
39586
  const {
39587
39587
  activeId: i,
39588
39588
  removeTab: s,
@@ -39664,7 +39664,7 @@ function B8(e, t, n, a, o) {
39664
39664
  onClick: C
39665
39665
  }, [g(t), x.value && b()])]);
39666
39666
  }
39667
- function D8(e, t, n, a, o, i, s) {
39667
+ function DP(e, t, n, a, o, i, s) {
39668
39668
  const {
39669
39669
  shouldShowNavigationButtons: l
39670
39670
  } = n, {
@@ -39717,7 +39717,7 @@ function D8(e, t, n, a, o, i, s) {
39717
39717
  class: f.value,
39718
39718
  style: d.value,
39719
39719
  ref: t
39720
- }, [p.value.map((v) => B8(e, v.props, v, a, o)), r("li", {
39720
+ }, [p.value.map((v) => BP(e, v.props, v, a, o)), r("li", {
39721
39721
  class: "nav-item"
39722
39722
  }, [r("a", {
39723
39723
  class: "nav-link tabs-text-truncate",
@@ -39728,7 +39728,7 @@ function D8(e, t, n, a, o, i, s) {
39728
39728
  style: "font-size: 20px;margin: 0 auto;line-height: 24px;"
39729
39729
  }, null)])])])]);
39730
39730
  }
39731
- function F8(e, t) {
39731
+ function FP(e, t) {
39732
39732
  const n = xn();
39733
39733
  let a = !1, o, i = !1;
39734
39734
  function s(f) {
@@ -39772,7 +39772,7 @@ function F8(e, t) {
39772
39772
  resolveComponentContext: u
39773
39773
  };
39774
39774
  }
39775
- function T8(e, t, n, a) {
39775
+ function TP(e, t, n, a) {
39776
39776
  const o = y([]), i = y(e.activeId || ""), s = y(!0), l = y(), p = y([]);
39777
39777
  function c(D) {
39778
39778
  const P = D.value.findIndex((M) => M.props.show !== !1 && !i.value && !M.props.disabled);
@@ -39882,7 +39882,7 @@ function T8(e, t, n, a) {
39882
39882
  toolbarSchema: l
39883
39883
  };
39884
39884
  }
39885
- function A8(e, t, n, a) {
39885
+ function AP(e, t, n, a) {
39886
39886
  const {
39887
39887
  toolbarItems: o,
39888
39888
  toolbarSchema: i
@@ -39911,12 +39911,12 @@ function A8(e, t, n, a) {
39911
39911
  }, null)]
39912
39912
  })])]);
39913
39913
  }
39914
- const I8 = /* @__PURE__ */ Z({
39914
+ const IP = /* @__PURE__ */ Z({
39915
39915
  name: "FTabsDesign",
39916
39916
  props: Sr,
39917
39917
  emits: ["tabChange", "tabRemove"],
39918
39918
  setup(e, t) {
39919
- 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), {
39919
+ 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), {
39920
39920
  activeId: u,
39921
39921
  changeTitleStyle: f,
39922
39922
  tabPages: d,
@@ -39932,7 +39932,7 @@ const I8 = /* @__PURE__ */ Z({
39932
39932
  updateNavigationLayout: B
39933
39933
  } = b, F = gd(e, c), {
39934
39934
  hideDropDown: T
39935
- } = F, A = D8(e, l, b, x, c, i, o), I = A, E = vd(e, l, b, x, c), D = /* @__PURE__ */ new Map([["default", A], ["one-page", I], ["pills", E]]);
39935
+ } = F, A = DP(e, l, b, x, c, i, o), I = A, E = vd(e, l, b, x, c), D = /* @__PURE__ */ new Map([["default", A], ["one-page", I], ["pills", E]]);
39936
39936
  $(() => {
39937
39937
  const z = d.value.find((Q) => Q.props.id === u.value);
39938
39938
  return z == null ? void 0 : z.slots;
@@ -40008,7 +40008,7 @@ const I8 = /* @__PURE__ */ Z({
40008
40008
  renderMorePagesButtton: L
40009
40009
  } = md(e, F, b, c);
40010
40010
  function Y() {
40011
- return !!g.value.length && A8(c, i, o, a);
40011
+ return !!g.value.length && AP(c, i, o, a);
40012
40012
  }
40013
40013
  const X = D.get(e.tabType) || D.get("default");
40014
40014
  function q() {
@@ -40039,7 +40039,7 @@ const I8 = /* @__PURE__ */ Z({
40039
40039
  }, [q(), G()]);
40040
40040
  }
40041
40041
  });
40042
- function E8(e, t) {
40042
+ function EP(e, t) {
40043
40043
  function n(o) {
40044
40044
  return !!Jt().basalDragulaRuleForContainer(o);
40045
40045
  }
@@ -40047,65 +40047,66 @@ function E8(e, t) {
40047
40047
  }
40048
40048
  return { canAccepts: n, onAcceptMovedChildElement: a };
40049
40049
  }
40050
- function $8(e) {
40050
+ function $P(e) {
40051
40051
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Ra(e);
40052
40052
  }
40053
- const P8 = /* @__PURE__ */ Z({
40053
+ const PP = /* @__PURE__ */ Z({
40054
40054
  name: "FTabPageDesign",
40055
40055
  props: Dr,
40056
40056
  emits: [],
40057
40057
  setup(e, t) {
40058
- const n = y(), a = he("design-item-context"), o = E8(a.schema, a.parent), i = Se(n, a, o);
40058
+ const n = y(), a = he("design-item-context"), o = EP(a.schema, a.parent), i = Se(n, a, o);
40059
40059
  i.value.canNested = !1, i.value.canDelete = !1, i.value.canMove = !1, t.expose(i.value);
40060
40060
  const s = he("tabs"), l = y(!0), p = {
40061
40061
  slots: t.slots,
40062
40062
  props: e
40063
40063
  }, c = y((s == null ? void 0 : s.tabType.value) || "default");
40064
- function u() {
40065
- e.id === s.activeId.value ? a.designerItemElementRef.value.classList.remove("d-none") : a.designerItemElementRef.value.classList.add("d-none");
40066
- }
40067
40064
  ue(() => {
40068
40065
  n.value.componentInstance = i;
40069
- const g = s.tabPages.value.findIndex((x) => x.props.id === e.id);
40070
- !g || g === -1 ? s == null || s.addTab(p) : g > -1 && (l.value = !1, console.warn(`已经存在id为${e.id}的页签啦`)), u();
40066
+ const x = s.tabPages.value.findIndex((b) => b.props.id === e.id);
40067
+ !x || x === -1 ? s == null || s.addTab(p) : x > -1 && (l.value = !1, console.warn(`已经存在id为${e.id}的页签啦`));
40071
40068
  }), Ct(() => {
40072
40069
  });
40073
- const f = $(() => ({
40074
- display: (e == null ? void 0 : e.id) === (s == null ? void 0 : s.activeId.value) ? "" : "none"
40070
+ const u = $(() => (e == null ? void 0 : e.id) === (s == null ? void 0 : s.activeId.value)), f = $(() => ({
40071
+ display: u.value ? "" : "none"
40075
40072
  }));
40076
- J(() => e, (g) => {
40073
+ J(() => e, (x) => {
40077
40074
  s == null || s.updateTab({
40078
- props: g,
40075
+ props: x,
40079
40076
  slots: t.slots
40080
40077
  });
40081
40078
  }, {
40082
40079
  immediate: !0,
40083
40080
  deep: !0
40084
- }), J(s.activeId, u);
40081
+ });
40085
40082
  function d() {
40086
- var x, b;
40087
- const g = (b = (x = t.slots).default) == null ? void 0 : b.call(x);
40083
+ var b, C;
40084
+ const x = (C = (b = t.slots).default) == null ? void 0 : C.call(b);
40088
40085
  return r(Rn, {
40089
40086
  "main-title": e.title,
40090
40087
  class: "farris-tab-page"
40091
- }, $8(g) ? g : {
40092
- default: () => [g]
40088
+ }, $P(x) ? x : {
40089
+ default: () => [x]
40093
40090
  });
40094
40091
  }
40095
- function h() {
40096
- var x, b;
40097
- const g = (b = (x = t.slots).default) == null ? void 0 : b.call(x);
40092
+ const h = $(() => ({
40093
+ "farris-tab-page": !0,
40094
+ "drag-container": !0
40095
+ }));
40096
+ function m() {
40097
+ var b, C;
40098
+ const x = (C = (b = t.slots).default) == null ? void 0 : C.call(b);
40098
40099
  return r("div", {
40099
40100
  ref: n,
40100
- class: "farris-tab-page drag-container",
40101
+ class: h.value,
40101
40102
  "data-dragref": `${a.schema.id}-container`,
40102
40103
  style: f.value
40103
- }, [g]);
40104
+ }, [x]);
40104
40105
  }
40105
- const v = (/* @__PURE__ */ new Map([["default", h], ["one-page", d]])).get(c.value) || h;
40106
- return () => l.value ? v() : null;
40106
+ const g = (/* @__PURE__ */ new Map([["default", m], ["one-page", d]])).get(c.value) || m;
40107
+ return () => l.value ? g() : null;
40107
40108
  }
40108
- }), M8 = {
40109
+ }), MP = {
40109
40110
  install(e) {
40110
40111
  e.component(la.name, la), e.component(yn.name, yn);
40111
40112
  },
@@ -40113,9 +40114,9 @@ const P8 = /* @__PURE__ */ Z({
40113
40114
  e.tabs = la, e["tab-page"] = yn, t.tabs = gl, t["tab-page"] = Cl;
40114
40115
  },
40115
40116
  registerDesigner(e, t, n) {
40116
- e.tabs = I8, e["tab-page"] = P8, t.tabs = gl, t["tab-page"] = Cl;
40117
+ e.tabs = IP, e["tab-page"] = PP, t.tabs = gl, t["tab-page"] = Cl;
40117
40118
  }
40118
- }, O8 = /* @__PURE__ */ Z({
40119
+ }, OP = /* @__PURE__ */ Z({
40119
40120
  name: "FTagsDesign",
40120
40121
  props: mr,
40121
40122
  emits: ["remove", "selectionChange", "change"],
@@ -40350,7 +40351,7 @@ const P8 = /* @__PURE__ */ Z({
40350
40351
  onWheel: (oe) => te(oe)
40351
40352
  }, [Q()])]);
40352
40353
  }
40353
- }), R8 = {
40354
+ }), RP = {
40354
40355
  install(e) {
40355
40356
  e.component(ra.name, ra);
40356
40357
  },
@@ -40358,15 +40359,15 @@ const P8 = /* @__PURE__ */ Z({
40358
40359
  e.tags = ra, t.tags = cl;
40359
40360
  },
40360
40361
  registerDesigner(e, t, n) {
40361
- e.tags = O8, t.tags = cl;
40362
+ e.tags = OP, t.tags = cl;
40362
40363
  }
40363
- }, _8 = /* @__PURE__ */ new Map([
40364
+ }, _P = /* @__PURE__ */ new Map([
40364
40365
  ["appearance", ke]
40365
40366
  ]);
40366
- function j8(e, t, n) {
40367
+ function jP(e, t, n) {
40367
40368
  return t;
40368
40369
  }
40369
- const H8 = "text", N8 = "A Farris Component", V8 = "object", L8 = {
40370
+ const HP = "text", NP = "A Farris Component", VP = "object", LP = {
40370
40371
  basic: {
40371
40372
  description: "Basic Infomation",
40372
40373
  title: "基本信息",
@@ -40388,12 +40389,12 @@ const H8 = "text", N8 = "A Farris Component", V8 = "object", L8 = {
40388
40389
  }
40389
40390
  }
40390
40391
  }
40391
- }, W8 = {
40392
- title: H8,
40393
- description: N8,
40394
- type: V8,
40395
- categories: L8
40396
- }, 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 = {
40392
+ }, WP = {
40393
+ title: HP,
40394
+ description: NP,
40395
+ type: VP,
40396
+ categories: LP
40397
+ }, 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 = {
40397
40398
  id: {
40398
40399
  description: "The unique identifier for text",
40399
40400
  type: "string"
@@ -40455,17 +40456,17 @@ const H8 = "text", N8 = "A Farris Component", V8 = "object", L8 = {
40455
40456
  type: "boolean",
40456
40457
  default: !0
40457
40458
  }
40458
- }, X8 = [
40459
+ }, XP = [
40459
40460
  "id",
40460
40461
  "type"
40461
- ], Q8 = {
40462
- $schema: z8,
40463
- $id: q8,
40464
- title: G8,
40465
- description: Y8,
40466
- type: U8,
40467
- properties: K8,
40468
- required: X8
40462
+ ], QP = {
40463
+ $schema: zP,
40464
+ $id: qP,
40465
+ title: GP,
40466
+ description: YP,
40467
+ type: UP,
40468
+ properties: KP,
40469
+ required: XP
40469
40470
  }, Ps = {
40470
40471
  // 组件值
40471
40472
  modelValue: { type: [String, Number, Boolean], default: "" },
@@ -40507,12 +40508,12 @@ const H8 = "text", N8 = "A Farris Component", V8 = "object", L8 = {
40507
40508
  dateRangeDelimiter: { type: String, default: "~" },
40508
40509
  // 枚举项的分隔符
40509
40510
  enumDelimiter: { type: String, default: "," }
40510
- }, vc = ye(Ps, Q8, _8, j8, W8);
40511
- function Z8(e) {
40511
+ }, vc = ye(Ps, QP, _P, jP, WP);
40512
+ function ZP(e) {
40512
40513
  let t;
40513
40514
  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;
40514
40515
  }
40515
- function J8(e, t, n, a, o) {
40516
+ function JP(e, t, n, a, o) {
40516
40517
  if (e == null || e === "")
40517
40518
  return "";
40518
40519
  if (t && t.length) {
@@ -40527,26 +40528,26 @@ function J8(e, t, n, a, o) {
40527
40528
  }
40528
40529
  function mc(e, t) {
40529
40530
  let n;
40530
- return t || (t = "YYYY-MM-DD"), t === "timeago" ? zm().formatTo(e) : (t === "hh:mm:ss" || t === "HH:mm:ss" ? n = e : n = ur().formatTo(e, Z8(t)), n);
40531
+ return t || (t = "YYYY-MM-DD"), t === "timeago" ? zm().formatTo(e) : (t === "hh:mm:ss" || t === "HH:mm:ss" ? n = e : n = ur().formatTo(e, ZP(t)), n);
40531
40532
  }
40532
- function eP(e, t) {
40533
+ function e8(e, t) {
40533
40534
  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;
40534
40535
  }
40535
- function tP(e) {
40536
+ function t8(e) {
40536
40537
  return e.replace(/[a-z]+/g, (t) => t.toUpperCase());
40537
40538
  }
40538
- function nP(e, t, n) {
40539
+ function n8(e, t, n) {
40539
40540
  return e.toString().indexOf(".") > -1 ? (console.warn("十进制转换仅限整型类型"), "") : (Array(t).join(n) + e).slice(-t);
40540
40541
  }
40541
- function aP(e, t) {
40542
+ function a8(e, t) {
40542
40543
  return Number(e * 100).toFixed(Number(t)) + "%";
40543
40544
  }
40544
- function oP(e, t, n, a, o, i, s) {
40545
+ function o8(e, t, n, a, o, i, s) {
40545
40546
  if (!t && !n)
40546
40547
  return e.toString();
40547
40548
  if (n && n.type && n.type === "number" && n.formatter)
40548
40549
  return n.formatter(e);
40549
- const l = tP(t.substring(0, 1)), p = Number(t.substring(1)), c = {};
40550
+ const l = t8(t.substring(0, 1)), p = Number(t.substring(1)), c = {};
40550
40551
  let u;
40551
40552
  if (!/C|D|F|N|P/g.test(l)) {
40552
40553
  console.log(`不支持format为 ${t} 类型的数字格式化`);
@@ -40559,7 +40560,7 @@ function oP(e, t, n, a, o, i, s) {
40559
40560
  Object.assign(c, { prefix: "¥", precision: p }), u = f(e, c);
40560
40561
  break;
40561
40562
  case "D":
40562
- u = nP(e, p, s);
40563
+ u = n8(e, p, s);
40563
40564
  break;
40564
40565
  case "F":
40565
40566
  Object.assign(c, { prefix: "", groupSeparator: "", precision: p }), u = f(e, c);
@@ -40568,12 +40569,12 @@ function oP(e, t, n, a, o, i, s) {
40568
40569
  Object.assign(c, { prefix: "", precision: p }), u = f(e, c);
40569
40570
  break;
40570
40571
  case "P":
40571
- u = aP(e, p);
40572
+ u = a8(e, p);
40572
40573
  break;
40573
40574
  }
40574
40575
  return u;
40575
40576
  }
40576
- function iP(e) {
40577
+ function i8(e) {
40577
40578
  return e === !0 ? "是" : e === !1 || e == null || e === "" || typeof e > "u" ? "否" : e;
40578
40579
  }
40579
40580
  const Go = /* @__PURE__ */ Z({
@@ -40625,13 +40626,13 @@ const Go = /* @__PURE__ */ Z({
40625
40626
  }
40626
40627
  break;
40627
40628
  case "number":
40628
- l.value = eP(l.value, e.numberOptions), x = oP(g, l.value, e.numberOptions, e.groupSeparator, e.decimalSeparator, e.amountExpression, e.decimalFilledSymbol);
40629
+ l.value = e8(l.value, e.numberOptions), x = o8(g, l.value, e.numberOptions, e.groupSeparator, e.decimalSeparator, e.amountExpression, e.decimalFilledSymbol);
40629
40630
  break;
40630
40631
  case "enum":
40631
- x = J8(g, e.enumConvertedDatas, e.enumDelimiter, e.textField, e.valueField);
40632
+ x = JP(g, e.enumConvertedDatas, e.enumDelimiter, e.textField, e.valueField);
40632
40633
  break;
40633
40634
  case "boolean":
40634
- x = iP(g);
40635
+ x = i8(g);
40635
40636
  break;
40636
40637
  }
40637
40638
  return x;
@@ -40650,7 +40651,7 @@ const Go = /* @__PURE__ */ Z({
40650
40651
  title: u.value
40651
40652
  }, [h.value]);
40652
40653
  }
40653
- }), rP = /* @__PURE__ */ Z({
40654
+ }), r8 = /* @__PURE__ */ Z({
40654
40655
  name: "FTextDesign",
40655
40656
  props: Ps,
40656
40657
  emits: ["update:modelValue"],
@@ -40675,7 +40676,7 @@ const Go = /* @__PURE__ */ Z({
40675
40676
  style: c.value
40676
40677
  }, [l.value]);
40677
40678
  }
40678
- }), sP = {
40679
+ }), s8 = {
40679
40680
  install(e) {
40680
40681
  e.component(Go.name, Go);
40681
40682
  },
@@ -40683,11 +40684,11 @@ const Go = /* @__PURE__ */ Z({
40683
40684
  e.text = Go, t.text = vc;
40684
40685
  },
40685
40686
  registerDesigner(e, t, n) {
40686
- e.text = rP, t.text = vc;
40687
+ e.text = r8, t.text = vc;
40687
40688
  }
40688
- }, lP = /* @__PURE__ */ new Map([
40689
+ }, l8 = /* @__PURE__ */ new Map([
40689
40690
  ["appearance", ke]
40690
- ]), 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 = {
40691
+ ]), 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 = {
40691
40692
  id: {
40692
40693
  description: "The unique identifier for a time picker",
40693
40694
  type: "string"
@@ -40749,22 +40750,22 @@ const Go = /* @__PURE__ */ Z({
40749
40750
  type: "boolean",
40750
40751
  default: !0
40751
40752
  }
40752
- }, mP = [
40753
+ }, m8 = [
40753
40754
  "id",
40754
40755
  "type"
40755
- ], hP = {
40756
- $schema: cP,
40757
- $id: uP,
40758
- title: dP,
40759
- description: fP,
40760
- type: pP,
40761
- properties: vP,
40762
- required: mP
40756
+ ], h8 = {
40757
+ $schema: c8,
40758
+ $id: u8,
40759
+ title: d8,
40760
+ description: f8,
40761
+ type: p8,
40762
+ properties: v8,
40763
+ required: m8
40763
40764
  };
40764
- function gP(e, t, n) {
40765
+ function g8(e, t, n) {
40765
40766
  return t;
40766
40767
  }
40767
- const yP = "time-picker", bP = "A Farris Component", xP = "object", CP = {
40768
+ const y8 = "time-picker", b8 = "A Farris Component", x8 = "object", C8 = {
40768
40769
  basic: {
40769
40770
  description: "Basic Infomation",
40770
40771
  title: "基本信息",
@@ -40846,11 +40847,11 @@ const yP = "time-picker", bP = "A Farris Component", xP = "object", CP = {
40846
40847
  }
40847
40848
  }
40848
40849
  }
40849
- }, wP = {
40850
- title: yP,
40851
- description: bP,
40852
- type: xP,
40853
- categories: CP
40850
+ }, w8 = {
40851
+ title: y8,
40852
+ description: b8,
40853
+ type: x8,
40854
+ categories: C8
40854
40855
  }, Ms = {
40855
40856
  /**
40856
40857
  * 组件值,这个是与指定的format格式相对应的值
@@ -40879,7 +40880,7 @@ const yP = "time-picker", bP = "A Farris Component", xP = "object", CP = {
40879
40880
  disable: { type: Boolean, default: !1 },
40880
40881
  readonly: { type: Boolean, default: !1 },
40881
40882
  editable: { type: Boolean, default: !0 }
40882
- }, hc = ye(Ms, hP, lP, gP, wP), SP = {
40883
+ }, hc = ye(Ms, h8, l8, g8, w8), S8 = {
40883
40884
  modelValue: {
40884
40885
  type: String,
40885
40886
  default: ""
@@ -40947,7 +40948,7 @@ function Lf(e, t) {
40947
40948
  let n = e || "hh:mm:ss";
40948
40949
  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;
40949
40950
  }
40950
- class kP {
40951
+ class k8 {
40951
40952
  constructor() {
40952
40953
  j(this, "hourStep", 1);
40953
40954
  j(this, "minuteStep", 1);
@@ -41113,7 +41114,7 @@ class kP {
41113
41114
  return n === "PM" && t > 12 ? t - 12 : n === "AM" && t === 0 ? 12 : t;
41114
41115
  }
41115
41116
  }
41116
- function BP(e, t, n, a, o, i) {
41117
+ function B8(e, t, n, a, o, i) {
41117
41118
  function s(u, f, d = 0, h, m) {
41118
41119
  const v = l(f, h, m), g = u.children[0].children[v] || u.children[0].children[0];
41119
41120
  p(u, g.offsetTop, d);
@@ -41160,7 +41161,7 @@ function BP(e, t, n, a, o, i) {
41160
41161
  }
41161
41162
  return { scrollToSelected: s };
41162
41163
  }
41163
- function DP(e, t) {
41164
+ function D8(e, t) {
41164
41165
  function n(l) {
41165
41166
  return l.index === e.viewHours || !Je(e.viewHours) && l.index === e.defaultViewHours;
41166
41167
  }
@@ -41183,14 +41184,14 @@ function DP(e, t) {
41183
41184
  }
41184
41185
  const Xi = /* @__PURE__ */ Z({
41185
41186
  name: "FTimePickerTimeView",
41186
- props: SP,
41187
+ props: S8,
41187
41188
  emits: ["valueChange", "formatedValueChange"],
41188
41189
  setup(e, t) {
41189
- 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(), {
41190
+ 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(), {
41190
41191
  scrollToSelected: h
41191
- } = BP(e, t, o, i, s, l), {
41192
+ } = B8(e, t, o, i, s, l), {
41192
41193
  getSelectedClass: m
41193
- } = 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);
41194
+ } = 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);
41194
41195
  J(() => e.defaultOpenValue, (q) => {
41195
41196
  Je(q) && (b.value = q);
41196
41197
  }), J(b, (q) => {
@@ -41430,7 +41431,7 @@ const Xi = /* @__PURE__ */ Z({
41430
41431
  }), null)]
41431
41432
  });
41432
41433
  }
41433
- }), FP = /* @__PURE__ */ Z({
41434
+ }), F8 = /* @__PURE__ */ Z({
41434
41435
  name: "FTimePickerDesign",
41435
41436
  props: Ms,
41436
41437
  emits: ["datePicked", "update:modelValue"],
@@ -41454,7 +41455,7 @@ const Xi = /* @__PURE__ */ Z({
41454
41455
  default: () => [r(Qe("f-time-picker-time-view"), null, null)]
41455
41456
  })]);
41456
41457
  }
41457
- }), TP = {
41458
+ }), T8 = {
41458
41459
  install(e) {
41459
41460
  e.component(Yo.name, Yo).component(Xi.name, Xi);
41460
41461
  },
@@ -41462,9 +41463,9 @@ const Xi = /* @__PURE__ */ Z({
41462
41463
  e["time-picker"] = Yo, t["time-picker"] = hc;
41463
41464
  },
41464
41465
  registerDesigner(e, t, n) {
41465
- e["time-picker"] = FP, t["time-picker"] = hc;
41466
+ e["time-picker"] = F8, t["time-picker"] = hc;
41466
41467
  }
41467
- }, AP = /* @__PURE__ */ Z({
41468
+ }, A8 = /* @__PURE__ */ Z({
41468
41469
  name: "FTransferDesign",
41469
41470
  props: wr,
41470
41471
  emits: ["change"],
@@ -41565,7 +41566,7 @@ const Xi = /* @__PURE__ */ Z({
41565
41566
  style: "height:480px"
41566
41567
  }, [x(), S()]);
41567
41568
  }
41568
- }), IP = {
41569
+ }), I8 = {
41569
41570
  install(e) {
41570
41571
  e.component(On.name, On);
41571
41572
  },
@@ -41573,15 +41574,15 @@ const Xi = /* @__PURE__ */ Z({
41573
41574
  e.transfer = On, t.transfer = hl;
41574
41575
  },
41575
41576
  registerDesigner(e, t, n) {
41576
- e.transfer = AP, t.transfer = hl;
41577
+ e.transfer = A8, t.transfer = hl;
41577
41578
  }
41578
- }, EP = /* @__PURE__ */ new Map([
41579
+ }, E8 = /* @__PURE__ */ new Map([
41579
41580
  ["appearance", ke]
41580
41581
  ]);
41581
- function $P(e, t, n) {
41582
+ function $8(e, t, n) {
41582
41583
  return t;
41583
41584
  }
41584
- const PP = "tree-view", MP = "A Farris Component", OP = "object", RP = {
41585
+ const P8 = "tree-view", M8 = "A Farris Component", O8 = "object", R8 = {
41585
41586
  basic: {
41586
41587
  description: "Basic Infomation",
41587
41588
  title: "基本信息",
@@ -41603,12 +41604,12 @@ const PP = "tree-view", MP = "A Farris Component", OP = "object", RP = {
41603
41604
  }
41604
41605
  }
41605
41606
  }
41606
- }, _P = {
41607
- title: PP,
41608
- description: MP,
41609
- type: OP,
41610
- categories: RP
41611
- }, 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 = {
41607
+ }, _8 = {
41608
+ title: P8,
41609
+ description: M8,
41610
+ type: O8,
41611
+ categories: R8
41612
+ }, 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 = {
41612
41613
  id: {
41613
41614
  description: "The unique identifier for tree-view",
41614
41615
  type: "string"
@@ -41670,17 +41671,17 @@ const PP = "tree-view", MP = "A Farris Component", OP = "object", RP = {
41670
41671
  type: "boolean",
41671
41672
  default: !0
41672
41673
  }
41673
- }, zP = [
41674
+ }, z8 = [
41674
41675
  "id",
41675
41676
  "type"
41676
- ], qP = {
41677
- $schema: jP,
41678
- $id: HP,
41679
- title: NP,
41680
- description: VP,
41681
- type: LP,
41682
- properties: WP,
41683
- required: zP
41677
+ ], q8 = {
41678
+ $schema: j8,
41679
+ $id: H8,
41680
+ title: N8,
41681
+ description: V8,
41682
+ type: L8,
41683
+ properties: W8,
41684
+ required: z8
41684
41685
  }, Os = {
41685
41686
  /** 列集合 */
41686
41687
  columns: {
@@ -41766,7 +41767,7 @@ const PP = "tree-view", MP = "A Farris Component", OP = "object", RP = {
41766
41767
  },
41767
41768
  /** 行配置 */
41768
41769
  rowOption: { type: Object }
41769
- }, gc = ye(Os, qP, EP, $P, _P);
41770
+ }, gc = ye(Os, q8, E8, $8, _8);
41770
41771
  function Wf(e, t, n, a, o, i, s, l, p, c, u, f, d) {
41771
41772
  const {
41772
41773
  calculateCellPositionInRow: h
@@ -41888,7 +41889,7 @@ const Uo = /* @__PURE__ */ Z({
41888
41889
  }
41889
41890
  }, [P(), m(), v()])]);
41890
41891
  }
41891
- }), GP = /* @__PURE__ */ Z({
41892
+ }), G8 = /* @__PURE__ */ Z({
41892
41893
  name: "FTreeViewDesign",
41893
41894
  props: Os,
41894
41895
  emits: ["outputValue", "currentEvent", "selectionChange"],
@@ -41934,7 +41935,7 @@ const Uo = /* @__PURE__ */ Z({
41934
41935
  }
41935
41936
  }, [O(), x(), b()])]);
41936
41937
  }
41937
- }), YP = {
41938
+ }), Y8 = {
41938
41939
  install(e) {
41939
41940
  e.component(Uo.name, Uo);
41940
41941
  },
@@ -41942,16 +41943,16 @@ const Uo = /* @__PURE__ */ Z({
41942
41943
  e["tree-view"] = Uo, t["tree-view"] = gc;
41943
41944
  },
41944
41945
  registerDesigner(e, t, n) {
41945
- e["tree-view"] = GP, t["tree-view"] = gc;
41946
+ e["tree-view"] = G8, t["tree-view"] = gc;
41946
41947
  }
41947
- }, UP = {
41948
+ }, U8 = {
41948
41949
  // 是否被选中
41949
41950
  checked: { type: Boolean, default: !1 },
41950
41951
  // 进度条状态 默认'normal'
41951
41952
  id: { type: String, default: "" },
41952
41953
  // 禁用
41953
41954
  disabled: { type: Boolean, default: !1 }
41954
- }, KP = {
41955
+ }, K8 = {
41955
41956
  // 是否显示进度条信息
41956
41957
  showInfo: { type: Boolean, default: !0 },
41957
41958
  // 进度条状态 默认'normal'
@@ -41959,7 +41960,7 @@ const Uo = /* @__PURE__ */ Z({
41959
41960
  // 已完成的分段百分比
41960
41961
  percent: { type: Number, default: 0 },
41961
41962
  maxWidth: { type: Number, default: 0 }
41962
- }, XP = {
41963
+ }, X8 = {
41963
41964
  /**
41964
41965
  * 按钮文本
41965
41966
  */
@@ -41992,9 +41993,9 @@ const Uo = /* @__PURE__ */ Z({
41992
41993
  * 附件服务器端服务注入的Token
41993
41994
  */
41994
41995
  uploadServerToken: { type: String, default: "" }
41995
- }, QP = /* @__PURE__ */ Z({
41996
+ }, Q8 = /* @__PURE__ */ Z({
41996
41997
  name: "FUploadProgress",
41997
- props: KP,
41998
+ props: K8,
41998
41999
  setup(e, t) {
41999
42000
  const {
42000
42001
  showInfo: n,
@@ -42024,7 +42025,7 @@ const Uo = /* @__PURE__ */ Z({
42024
42025
  }
42025
42026
  }), zf = /* @__PURE__ */ Z({
42026
42027
  name: "FPreviewCheckbox",
42027
- props: UP,
42028
+ props: U8,
42028
42029
  emits: ["checkedChange"],
42029
42030
  setup(e, t) {
42030
42031
  const {
@@ -42055,7 +42056,7 @@ const Uo = /* @__PURE__ */ Z({
42055
42056
  }
42056
42057
  });
42057
42058
  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 || {});
42058
- class ZP {
42059
+ class Z8 {
42059
42060
  constructor(t = {}, n = {}) {
42060
42061
  /**
42061
42062
  * 上传配置
@@ -42079,7 +42080,7 @@ function yc(e, t) {
42079
42080
  let n = "";
42080
42081
  return e.indexOf(".") === -1 && t.hasOwnProperty(e) ? n = t[e] : n = e.split(".").reduce((a, o) => a ? a[o] : null, t), n;
42081
42082
  }
42082
- function JP(e) {
42083
+ function J8(e) {
42083
42084
  return (t, n) => {
42084
42085
  if (!t.hasOwnProperty(e) || t[e] === void 0 || t[e] === null)
42085
42086
  return 1;
@@ -42232,7 +42233,7 @@ function rM(e) {
42232
42233
  function wc(e) {
42233
42234
  return new Date(e * 1e3).toISOString().substr(11, 8);
42234
42235
  }
42235
- class sM extends ZP {
42236
+ class sM extends Z8 {
42236
42237
  upload(t, n, a, o) {
42237
42238
  const i = t[0];
42238
42239
  return new Promise((s, l) => {
@@ -42523,7 +42524,7 @@ class uM {
42523
42524
  }
42524
42525
  const Kf = /* @__PURE__ */ Z({
42525
42526
  name: "FFileSelect",
42526
- props: XP,
42527
+ props: X8,
42527
42528
  emits: ["change", "stateChange"],
42528
42529
  setup(e, t) {
42529
42530
  const n = new uM(t, e.uploadServerToken), a = Ji(), o = y("*");
@@ -42750,7 +42751,7 @@ function Xf(e, t, n) {
42750
42751
  } = Yn(e), v = y(!1), g = y([]), x = $(() => g.value.length), b = y([]), C = y(""), w = $(() => {
42751
42752
  (!o.value.length || g.value.length !== o.value.length) && (v.value = !1);
42752
42753
  const N = o.value.map((W) => (W.hasOwnProperty("size") || (W.size = void 0), W.hasOwnProperty("createTime") || (W.createTime = void 0), W));
42753
- if (N.sort(JP(c.value)), u.value) {
42754
+ if (N.sort(J8(c.value)), u.value) {
42754
42755
  const W = N.map((L) => (L.checked = !!g.value.find((Y) => Y.id === L.id) || v.value, L));
42755
42756
  return g.value = [...W].filter((L) => L.checked), W;
42756
42757
  }
@@ -42867,7 +42868,7 @@ function Xf(e, t, n) {
42867
42868
  const Ko = /* @__PURE__ */ Z({
42868
42869
  name: "FUploader",
42869
42870
  components: {
42870
- "f-upload-progress": QP,
42871
+ "f-upload-progress": Q8,
42871
42872
  "f-preview-checkbox": zf,
42872
42873
  "f-file-select": Kf
42873
42874
  },
@@ -50341,7 +50342,7 @@ const S3 = /* @__PURE__ */ Z({
50341
50342
  }, De = {}, Fe = {}, Ae = {};
50342
50343
  let uu = !1;
50343
50344
  function B3() {
50344
- uu || (uu = !0, _h.register(De, Fe, Ae), xh.register(De, Fe, Ae), Tg.register(De, Fe, Ae), Ug.registerDesigner(De, Fe, Ae), gy.register(De, Fe, Ae), Oy.register(De, Fe, Ae), Uy.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), F3.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));
50345
+ uu || (uu = !0, _h.register(De, Fe, Ae), xh.register(De, Fe, Ae), Tg.register(De, Fe, Ae), Ug.registerDesigner(De, Fe, Ae), gy.register(De, Fe, Ae), Oy.register(De, Fe, Ae), Uy.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), F3.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));
50345
50346
  }
50346
50347
  function op() {
50347
50348
  B3();