@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
@@ -38997,7 +38997,7 @@ const Vo = /* @__PURE__ */ Z({
38997
38997
  }
38998
38998
  }
38999
38999
  }
39000
- }, e8 = {
39000
+ }, eP = {
39001
39001
  title: X$,
39002
39002
  description: Q$,
39003
39003
  type: Z$,
@@ -39025,7 +39025,7 @@ const Vo = /* @__PURE__ */ Z({
39025
39025
  K$,
39026
39026
  L$,
39027
39027
  void 0,
39028
- e8
39028
+ eP
39029
39029
  );
39030
39030
  function Hf(e, t) {
39031
39031
  const n = y(e.width), a = y(e.height), {
@@ -39112,19 +39112,19 @@ const Lo = /* @__PURE__ */ Z({
39112
39112
  }, null)]);
39113
39113
  }
39114
39114
  });
39115
- function t8(e, t) {
39115
+ function tP(e, t) {
39116
39116
  function n() {
39117
39117
  return !1;
39118
39118
  }
39119
39119
  return { canAccepts: n };
39120
39120
  }
39121
- const n8 = /* @__PURE__ */ Z({
39121
+ const nP = /* @__PURE__ */ Z({
39122
39122
  name: "FSplitterDesign",
39123
39123
  props: As,
39124
39124
  emits: [],
39125
39125
  setup(e, t) {
39126
39126
  var f;
39127
- 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);
39127
+ 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);
39128
39128
  i.value.canNested = !1;
39129
39129
  const s = jf(n), {
39130
39130
  horizontalResizeHandleStyle: l,
@@ -39155,7 +39155,7 @@ const n8 = /* @__PURE__ */ Z({
39155
39155
  }, null)]);
39156
39156
  }
39157
39157
  });
39158
- function a8(e, t) {
39158
+ function aP(e, t) {
39159
39159
  function n(o) {
39160
39160
  var p;
39161
39161
  if (!Jt().basalDragulaRuleForContainer(o))
@@ -39188,13 +39188,13 @@ function a8(e, t) {
39188
39188
  }
39189
39189
  return { canAccepts: n, onAcceptNewChildElement: a };
39190
39190
  }
39191
- const o8 = /* @__PURE__ */ Z({
39191
+ const oP = /* @__PURE__ */ Z({
39192
39192
  name: "FSplitterPaneDesign",
39193
39193
  props: Is,
39194
39194
  emits: [],
39195
39195
  setup(e, t) {
39196
39196
  var m;
39197
- 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);
39197
+ 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);
39198
39198
  i.value.styles = "padding:0;box-shadow:none;", i.value.canNested = !1, i.value.canMove = !1, i.value.canDelete = !1, ue(() => {
39199
39199
  n.value.componentInstance = i;
39200
39200
  }), t.expose(i.value);
@@ -39224,7 +39224,7 @@ const o8 = /* @__PURE__ */ Z({
39224
39224
  style: h.value
39225
39225
  }, [t.slots.default && t.slots.default()]);
39226
39226
  }
39227
- }), i8 = {
39227
+ }), iP = {
39228
39228
  install(e) {
39229
39229
  e.component(Vo.name, Vo), e.component(Lo.name, Lo);
39230
39230
  },
@@ -39232,15 +39232,15 @@ const o8 = /* @__PURE__ */ Z({
39232
39232
  e.splitter = Vo, t.splitter = uc, e["splitter-pane"] = Lo, t["splitter-pane"] = dc;
39233
39233
  },
39234
39234
  registerDesigner(e, t, n) {
39235
- e.splitter = n8, t.splitter = uc, e["splitter-pane"] = o8, t["splitter-pane"] = dc;
39235
+ e.splitter = nP, t.splitter = uc, e["splitter-pane"] = oP, t["splitter-pane"] = dc;
39236
39236
  }
39237
- }, r8 = /* @__PURE__ */ new Map([
39237
+ }, rP = /* @__PURE__ */ new Map([
39238
39238
  ["appearance", ke]
39239
39239
  ]);
39240
- function s8(e, t, n) {
39240
+ function sP(e, t, n) {
39241
39241
  return t;
39242
39242
  }
39243
- 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 = {
39243
+ 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 = {
39244
39244
  id: {
39245
39245
  description: "The unique identifier for step",
39246
39246
  type: "string"
@@ -39302,18 +39302,18 @@ const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-
39302
39302
  type: "boolean",
39303
39303
  default: !0
39304
39304
  }
39305
- }, v8 = [
39305
+ }, vP = [
39306
39306
  "id",
39307
39307
  "type"
39308
- ], m8 = {
39309
- $schema: l8,
39310
- $id: c8,
39311
- title: u8,
39312
- description: d8,
39313
- type: f8,
39314
- properties: p8,
39315
- required: v8
39316
- }, h8 = "step", g8 = "A Farris Component", y8 = "object", b8 = {
39308
+ ], mP = {
39309
+ $schema: lP,
39310
+ $id: cP,
39311
+ title: uP,
39312
+ description: dP,
39313
+ type: fP,
39314
+ properties: pP,
39315
+ required: vP
39316
+ }, hP = "step", gP = "A Farris Component", yP = "object", bP = {
39317
39317
  basic: {
39318
39318
  description: "Basic Infomation",
39319
39319
  title: "基本信息",
@@ -39335,11 +39335,11 @@ const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-
39335
39335
  }
39336
39336
  }
39337
39337
  }
39338
- }, x8 = {
39339
- title: h8,
39340
- description: g8,
39341
- type: y8,
39342
- categories: b8
39338
+ }, xP = {
39339
+ title: hP,
39340
+ description: gP,
39341
+ type: yP,
39342
+ categories: bP
39343
39343
  }, Es = {
39344
39344
  /** 步骤条方向 */
39345
39345
  direction: { type: String, default: "horizontal" },
@@ -39370,7 +39370,7 @@ const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-
39370
39370
  /** 步骤条点击后事件 */
39371
39371
  onClick: { type: Function, default: () => {
39372
39372
  } }
39373
- }, fc = ye(Es, m8, r8, s8, x8), Wo = /* @__PURE__ */ Z({
39373
+ }, fc = ye(Es, mP, rP, sP, xP), Wo = /* @__PURE__ */ Z({
39374
39374
  name: "FStep",
39375
39375
  props: Es,
39376
39376
  emits: ["click"],
@@ -39473,7 +39473,7 @@ const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-
39473
39473
  style: u.value
39474
39474
  }, [S()])]);
39475
39475
  }
39476
- }), C8 = /* @__PURE__ */ Z({
39476
+ }), CP = /* @__PURE__ */ Z({
39477
39477
  name: "FStepDesign",
39478
39478
  props: Es,
39479
39479
  emits: [],
@@ -39577,7 +39577,7 @@ const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-
39577
39577
  style: h.value
39578
39578
  }, [F()])]);
39579
39579
  }
39580
- }), w8 = {
39580
+ }), wP = {
39581
39581
  install(e) {
39582
39582
  e.component(Wo.name, Wo);
39583
39583
  },
@@ -39585,9 +39585,9 @@ const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-
39585
39585
  e.step = Wo, t.step = fc;
39586
39586
  },
39587
39587
  registerDesigner(e, t, n) {
39588
- e.step = C8, t.step = fc;
39588
+ e.step = CP, t.step = fc;
39589
39589
  }
39590
- }, S8 = /* @__PURE__ */ Z({
39590
+ }, SP = /* @__PURE__ */ Z({
39591
39591
  name: "FSwitchDesign",
39592
39592
  props: Bs,
39593
39593
  emits: ["update:modelValue"],
@@ -39648,7 +39648,7 @@ const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-
39648
39648
  style: v.value
39649
39649
  }, [t.slots.default && t.slots.default()])]);
39650
39650
  }
39651
- }), k8 = {
39651
+ }), kP = {
39652
39652
  install(e) {
39653
39653
  e.component(ga.name, ga);
39654
39654
  },
@@ -39656,10 +39656,10 @@ const l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-
39656
39656
  e.switch = ga, t.switch = rc;
39657
39657
  },
39658
39658
  registerDesigner(e, t, n) {
39659
- e.switch = S8, t.switch = rc;
39659
+ e.switch = SP, t.switch = rc;
39660
39660
  }
39661
39661
  };
39662
- function B8(e, t, n, a, o) {
39662
+ function BP(e, t, n, a, o) {
39663
39663
  const {
39664
39664
  activeId: i,
39665
39665
  removeTab: s,
@@ -39741,7 +39741,7 @@ function B8(e, t, n, a, o) {
39741
39741
  onClick: C
39742
39742
  }, [g(t), x.value && b()])]);
39743
39743
  }
39744
- function D8(e, t, n, a, o, i, s) {
39744
+ function DP(e, t, n, a, o, i, s) {
39745
39745
  const {
39746
39746
  shouldShowNavigationButtons: l
39747
39747
  } = n, {
@@ -39794,7 +39794,7 @@ function D8(e, t, n, a, o, i, s) {
39794
39794
  class: f.value,
39795
39795
  style: d.value,
39796
39796
  ref: t
39797
- }, [p.value.map((v) => B8(e, v.props, v, a, o)), r("li", {
39797
+ }, [p.value.map((v) => BP(e, v.props, v, a, o)), r("li", {
39798
39798
  class: "nav-item"
39799
39799
  }, [r("a", {
39800
39800
  class: "nav-link tabs-text-truncate",
@@ -39805,7 +39805,7 @@ function D8(e, t, n, a, o, i, s) {
39805
39805
  style: "font-size: 20px;margin: 0 auto;line-height: 24px;"
39806
39806
  }, null)])])])]);
39807
39807
  }
39808
- function F8(e, t) {
39808
+ function FP(e, t) {
39809
39809
  const n = xn();
39810
39810
  let a = !1, o, i = !1;
39811
39811
  function s(f) {
@@ -39849,7 +39849,7 @@ function F8(e, t) {
39849
39849
  resolveComponentContext: u
39850
39850
  };
39851
39851
  }
39852
- function T8(e, t, n, a) {
39852
+ function TP(e, t, n, a) {
39853
39853
  const o = y([]), i = y(e.activeId || ""), s = y(!0), l = y(), p = y([]);
39854
39854
  function c(D) {
39855
39855
  const P = D.value.findIndex((M) => M.props.show !== !1 && !i.value && !M.props.disabled);
@@ -39959,7 +39959,7 @@ function T8(e, t, n, a) {
39959
39959
  toolbarSchema: l
39960
39960
  };
39961
39961
  }
39962
- function A8(e, t, n, a) {
39962
+ function AP(e, t, n, a) {
39963
39963
  const {
39964
39964
  toolbarItems: o,
39965
39965
  toolbarSchema: i
@@ -39988,12 +39988,12 @@ function A8(e, t, n, a) {
39988
39988
  }, null)]
39989
39989
  })])]);
39990
39990
  }
39991
- const I8 = /* @__PURE__ */ Z({
39991
+ const IP = /* @__PURE__ */ Z({
39992
39992
  name: "FTabsDesign",
39993
39993
  props: wr,
39994
39994
  emits: ["tabChange", "tabRemove"],
39995
39995
  setup(e, t) {
39996
- 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), {
39996
+ 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), {
39997
39997
  activeId: u,
39998
39998
  changeTitleStyle: f,
39999
39999
  tabPages: d,
@@ -40009,7 +40009,7 @@ const I8 = /* @__PURE__ */ Z({
40009
40009
  updateNavigationLayout: B
40010
40010
  } = b, F = md(e, c), {
40011
40011
  hideDropDown: T
40012
- } = 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]]);
40012
+ } = 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]]);
40013
40013
  $(() => {
40014
40014
  const z = d.value.find((Q) => Q.props.id === u.value);
40015
40015
  return z == null ? void 0 : z.slots;
@@ -40085,7 +40085,7 @@ const I8 = /* @__PURE__ */ Z({
40085
40085
  renderMorePagesButtton: L
40086
40086
  } = pd(e, F, b, c);
40087
40087
  function Y() {
40088
- return !!g.value.length && A8(c, i, o, a);
40088
+ return !!g.value.length && AP(c, i, o, a);
40089
40089
  }
40090
40090
  const X = D.get(e.tabType) || D.get("default");
40091
40091
  function q() {
@@ -40116,7 +40116,7 @@ const I8 = /* @__PURE__ */ Z({
40116
40116
  }, [q(), G()]);
40117
40117
  }
40118
40118
  });
40119
- function E8(e, t) {
40119
+ function EP(e, t) {
40120
40120
  function n(o) {
40121
40121
  return !!Jt().basalDragulaRuleForContainer(o);
40122
40122
  }
@@ -40124,65 +40124,66 @@ function E8(e, t) {
40124
40124
  }
40125
40125
  return { canAccepts: n, onAcceptMovedChildElement: a };
40126
40126
  }
40127
- function $8(e) {
40127
+ function $P(e) {
40128
40128
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Ma(e);
40129
40129
  }
40130
- const P8 = /* @__PURE__ */ Z({
40130
+ const PP = /* @__PURE__ */ Z({
40131
40131
  name: "FTabPageDesign",
40132
40132
  props: Br,
40133
40133
  emits: [],
40134
40134
  setup(e, t) {
40135
- const n = y(), a = he("design-item-context"), o = E8(a.schema, a.parent), i = Se(n, a, o);
40135
+ const n = y(), a = he("design-item-context"), o = EP(a.schema, a.parent), i = Se(n, a, o);
40136
40136
  i.value.canNested = !1, i.value.canDelete = !1, i.value.canMove = !1, t.expose(i.value);
40137
40137
  const s = he("tabs"), l = y(!0), p = {
40138
40138
  slots: t.slots,
40139
40139
  props: e
40140
40140
  }, c = y((s == null ? void 0 : s.tabType.value) || "default");
40141
- function u() {
40142
- e.id === s.activeId.value ? a.designerItemElementRef.value.classList.remove("d-none") : a.designerItemElementRef.value.classList.add("d-none");
40143
- }
40144
40141
  ue(() => {
40145
40142
  n.value.componentInstance = i;
40146
- const g = s.tabPages.value.findIndex((x) => x.props.id === e.id);
40147
- !g || g === -1 ? s == null || s.addTab(p) : g > -1 && (l.value = !1, console.warn(`已经存在id为${e.id}的页签啦`)), u();
40143
+ const x = s.tabPages.value.findIndex((b) => b.props.id === e.id);
40144
+ !x || x === -1 ? s == null || s.addTab(p) : x > -1 && (l.value = !1, console.warn(`已经存在id为${e.id}的页签啦`));
40148
40145
  }), Ct(() => {
40149
40146
  });
40150
- const f = $(() => ({
40151
- display: (e == null ? void 0 : e.id) === (s == null ? void 0 : s.activeId.value) ? "" : "none"
40147
+ const u = $(() => (e == null ? void 0 : e.id) === (s == null ? void 0 : s.activeId.value)), f = $(() => ({
40148
+ display: u.value ? "" : "none"
40152
40149
  }));
40153
- J(() => e, (g) => {
40150
+ J(() => e, (x) => {
40154
40151
  s == null || s.updateTab({
40155
- props: g,
40152
+ props: x,
40156
40153
  slots: t.slots
40157
40154
  });
40158
40155
  }, {
40159
40156
  immediate: !0,
40160
40157
  deep: !0
40161
- }), J(s.activeId, u);
40158
+ });
40162
40159
  function d() {
40163
- var x, b;
40164
- const g = (b = (x = t.slots).default) == null ? void 0 : b.call(x);
40160
+ var b, C;
40161
+ const x = (C = (b = t.slots).default) == null ? void 0 : C.call(b);
40165
40162
  return r(Rn, {
40166
40163
  "main-title": e.title,
40167
40164
  class: "farris-tab-page"
40168
- }, $8(g) ? g : {
40169
- default: () => [g]
40165
+ }, $P(x) ? x : {
40166
+ default: () => [x]
40170
40167
  });
40171
40168
  }
40172
- function h() {
40173
- var x, b;
40174
- const g = (b = (x = t.slots).default) == null ? void 0 : b.call(x);
40169
+ const h = $(() => ({
40170
+ "farris-tab-page": !0,
40171
+ "drag-container": !0
40172
+ }));
40173
+ function m() {
40174
+ var b, C;
40175
+ const x = (C = (b = t.slots).default) == null ? void 0 : C.call(b);
40175
40176
  return r("div", {
40176
40177
  ref: n,
40177
- class: "farris-tab-page drag-container",
40178
+ class: h.value,
40178
40179
  "data-dragref": `${a.schema.id}-container`,
40179
40180
  style: f.value
40180
- }, [g]);
40181
+ }, [x]);
40181
40182
  }
40182
- const v = (/* @__PURE__ */ new Map([["default", h], ["one-page", d]])).get(c.value) || h;
40183
- return () => l.value ? v() : null;
40183
+ const g = (/* @__PURE__ */ new Map([["default", m], ["one-page", d]])).get(c.value) || m;
40184
+ return () => l.value ? g() : null;
40184
40185
  }
40185
- }), M8 = {
40186
+ }), MP = {
40186
40187
  install(e) {
40187
40188
  e.component(sa.name, sa), e.component(yn.name, yn);
40188
40189
  },
@@ -40190,9 +40191,9 @@ const P8 = /* @__PURE__ */ Z({
40190
40191
  e.tabs = sa, e["tab-page"] = yn, t.tabs = hl, t["tab-page"] = xl;
40191
40192
  },
40192
40193
  registerDesigner(e, t, n) {
40193
- e.tabs = I8, e["tab-page"] = P8, t.tabs = hl, t["tab-page"] = xl;
40194
+ e.tabs = IP, e["tab-page"] = PP, t.tabs = hl, t["tab-page"] = xl;
40194
40195
  }
40195
- }, O8 = /* @__PURE__ */ Z({
40196
+ }, OP = /* @__PURE__ */ Z({
40196
40197
  name: "FTagsDesign",
40197
40198
  props: vr,
40198
40199
  emits: ["remove", "selectionChange", "change"],
@@ -40427,7 +40428,7 @@ const P8 = /* @__PURE__ */ Z({
40427
40428
  onWheel: (oe) => te(oe)
40428
40429
  }, [Q()])]);
40429
40430
  }
40430
- }), R8 = {
40431
+ }), RP = {
40431
40432
  install(e) {
40432
40433
  e.component(ia.name, ia);
40433
40434
  },
@@ -40435,15 +40436,15 @@ const P8 = /* @__PURE__ */ Z({
40435
40436
  e.tags = ia, t.tags = ll;
40436
40437
  },
40437
40438
  registerDesigner(e, t, n) {
40438
- e.tags = O8, t.tags = ll;
40439
+ e.tags = OP, t.tags = ll;
40439
40440
  }
40440
- }, _8 = /* @__PURE__ */ new Map([
40441
+ }, _P = /* @__PURE__ */ new Map([
40441
40442
  ["appearance", ke]
40442
40443
  ]);
40443
- function j8(e, t, n) {
40444
+ function jP(e, t, n) {
40444
40445
  return t;
40445
40446
  }
40446
- const H8 = "text", N8 = "A Farris Component", V8 = "object", L8 = {
40447
+ const HP = "text", NP = "A Farris Component", VP = "object", LP = {
40447
40448
  basic: {
40448
40449
  description: "Basic Infomation",
40449
40450
  title: "基本信息",
@@ -40465,12 +40466,12 @@ const H8 = "text", N8 = "A Farris Component", V8 = "object", L8 = {
40465
40466
  }
40466
40467
  }
40467
40468
  }
40468
- }, W8 = {
40469
- title: H8,
40470
- description: N8,
40471
- type: V8,
40472
- categories: L8
40473
- }, 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 = {
40469
+ }, WP = {
40470
+ title: HP,
40471
+ description: NP,
40472
+ type: VP,
40473
+ categories: LP
40474
+ }, 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 = {
40474
40475
  id: {
40475
40476
  description: "The unique identifier for text",
40476
40477
  type: "string"
@@ -40532,17 +40533,17 @@ const H8 = "text", N8 = "A Farris Component", V8 = "object", L8 = {
40532
40533
  type: "boolean",
40533
40534
  default: !0
40534
40535
  }
40535
- }, X8 = [
40536
+ }, XP = [
40536
40537
  "id",
40537
40538
  "type"
40538
- ], Q8 = {
40539
- $schema: z8,
40540
- $id: q8,
40541
- title: G8,
40542
- description: Y8,
40543
- type: U8,
40544
- properties: K8,
40545
- required: X8
40539
+ ], QP = {
40540
+ $schema: zP,
40541
+ $id: qP,
40542
+ title: GP,
40543
+ description: YP,
40544
+ type: UP,
40545
+ properties: KP,
40546
+ required: XP
40546
40547
  }, $s = {
40547
40548
  // 组件值
40548
40549
  modelValue: { type: [String, Number, Boolean], default: "" },
@@ -40584,12 +40585,12 @@ const H8 = "text", N8 = "A Farris Component", V8 = "object", L8 = {
40584
40585
  dateRangeDelimiter: { type: String, default: "~" },
40585
40586
  // 枚举项的分隔符
40586
40587
  enumDelimiter: { type: String, default: "," }
40587
- }, pc = ye($s, Q8, _8, j8, W8);
40588
- function Z8(e) {
40588
+ }, pc = ye($s, QP, _P, jP, WP);
40589
+ function ZP(e) {
40589
40590
  let t;
40590
40591
  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;
40591
40592
  }
40592
- function J8(e, t, n, a, o) {
40593
+ function JP(e, t, n, a, o) {
40593
40594
  if (e == null || e === "")
40594
40595
  return "";
40595
40596
  if (t && t.length) {
@@ -40604,26 +40605,26 @@ function J8(e, t, n, a, o) {
40604
40605
  }
40605
40606
  function vc(e, t) {
40606
40607
  let n;
40607
- return t || (t = "YYYY-MM-DD"), t === "timeago" ? zm().formatTo(e) : (t === "hh:mm:ss" || t === "HH:mm:ss" ? n = e : n = cr().formatTo(e, Z8(t)), n);
40608
+ return t || (t = "YYYY-MM-DD"), t === "timeago" ? zm().formatTo(e) : (t === "hh:mm:ss" || t === "HH:mm:ss" ? n = e : n = cr().formatTo(e, ZP(t)), n);
40608
40609
  }
40609
- function eP(e, t) {
40610
+ function e8(e, t) {
40610
40611
  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;
40611
40612
  }
40612
- function tP(e) {
40613
+ function t8(e) {
40613
40614
  return e.replace(/[a-z]+/g, (t) => t.toUpperCase());
40614
40615
  }
40615
- function nP(e, t, n) {
40616
+ function n8(e, t, n) {
40616
40617
  return e.toString().indexOf(".") > -1 ? (console.warn("十进制转换仅限整型类型"), "") : (Array(t).join(n) + e).slice(-t);
40617
40618
  }
40618
- function aP(e, t) {
40619
+ function a8(e, t) {
40619
40620
  return Number(e * 100).toFixed(Number(t)) + "%";
40620
40621
  }
40621
- function oP(e, t, n, a, o, i, s) {
40622
+ function o8(e, t, n, a, o, i, s) {
40622
40623
  if (!t && !n)
40623
40624
  return e.toString();
40624
40625
  if (n && n.type && n.type === "number" && n.formatter)
40625
40626
  return n.formatter(e);
40626
- const l = tP(t.substring(0, 1)), p = Number(t.substring(1)), c = {};
40627
+ const l = t8(t.substring(0, 1)), p = Number(t.substring(1)), c = {};
40627
40628
  let u;
40628
40629
  if (!/C|D|F|N|P/g.test(l)) {
40629
40630
  console.log(`不支持format为 ${t} 类型的数字格式化`);
@@ -40636,7 +40637,7 @@ function oP(e, t, n, a, o, i, s) {
40636
40637
  Object.assign(c, { prefix: "¥", precision: p }), u = f(e, c);
40637
40638
  break;
40638
40639
  case "D":
40639
- u = nP(e, p, s);
40640
+ u = n8(e, p, s);
40640
40641
  break;
40641
40642
  case "F":
40642
40643
  Object.assign(c, { prefix: "", groupSeparator: "", precision: p }), u = f(e, c);
@@ -40645,12 +40646,12 @@ function oP(e, t, n, a, o, i, s) {
40645
40646
  Object.assign(c, { prefix: "", precision: p }), u = f(e, c);
40646
40647
  break;
40647
40648
  case "P":
40648
- u = aP(e, p);
40649
+ u = a8(e, p);
40649
40650
  break;
40650
40651
  }
40651
40652
  return u;
40652
40653
  }
40653
- function iP(e) {
40654
+ function i8(e) {
40654
40655
  return e === !0 ? "是" : e === !1 || e == null || e === "" || typeof e > "u" ? "否" : e;
40655
40656
  }
40656
40657
  const zo = /* @__PURE__ */ Z({
@@ -40702,13 +40703,13 @@ const zo = /* @__PURE__ */ Z({
40702
40703
  }
40703
40704
  break;
40704
40705
  case "number":
40705
- l.value = eP(l.value, e.numberOptions), x = oP(g, l.value, e.numberOptions, e.groupSeparator, e.decimalSeparator, e.amountExpression, e.decimalFilledSymbol);
40706
+ l.value = e8(l.value, e.numberOptions), x = o8(g, l.value, e.numberOptions, e.groupSeparator, e.decimalSeparator, e.amountExpression, e.decimalFilledSymbol);
40706
40707
  break;
40707
40708
  case "enum":
40708
- x = J8(g, e.enumConvertedDatas, e.enumDelimiter, e.textField, e.valueField);
40709
+ x = JP(g, e.enumConvertedDatas, e.enumDelimiter, e.textField, e.valueField);
40709
40710
  break;
40710
40711
  case "boolean":
40711
- x = iP(g);
40712
+ x = i8(g);
40712
40713
  break;
40713
40714
  }
40714
40715
  return x;
@@ -40727,7 +40728,7 @@ const zo = /* @__PURE__ */ Z({
40727
40728
  title: u.value
40728
40729
  }, [h.value]);
40729
40730
  }
40730
- }), rP = /* @__PURE__ */ Z({
40731
+ }), r8 = /* @__PURE__ */ Z({
40731
40732
  name: "FTextDesign",
40732
40733
  props: $s,
40733
40734
  emits: ["update:modelValue"],
@@ -40752,7 +40753,7 @@ const zo = /* @__PURE__ */ Z({
40752
40753
  style: c.value
40753
40754
  }, [l.value]);
40754
40755
  }
40755
- }), sP = {
40756
+ }), s8 = {
40756
40757
  install(e) {
40757
40758
  e.component(zo.name, zo);
40758
40759
  },
@@ -40760,11 +40761,11 @@ const zo = /* @__PURE__ */ Z({
40760
40761
  e.text = zo, t.text = pc;
40761
40762
  },
40762
40763
  registerDesigner(e, t, n) {
40763
- e.text = rP, t.text = pc;
40764
+ e.text = r8, t.text = pc;
40764
40765
  }
40765
- }, lP = /* @__PURE__ */ new Map([
40766
+ }, l8 = /* @__PURE__ */ new Map([
40766
40767
  ["appearance", ke]
40767
- ]), 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 = {
40768
+ ]), 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 = {
40768
40769
  id: {
40769
40770
  description: "The unique identifier for a time picker",
40770
40771
  type: "string"
@@ -40826,22 +40827,22 @@ const zo = /* @__PURE__ */ Z({
40826
40827
  type: "boolean",
40827
40828
  default: !0
40828
40829
  }
40829
- }, mP = [
40830
+ }, m8 = [
40830
40831
  "id",
40831
40832
  "type"
40832
- ], hP = {
40833
- $schema: cP,
40834
- $id: uP,
40835
- title: dP,
40836
- description: fP,
40837
- type: pP,
40838
- properties: vP,
40839
- required: mP
40833
+ ], h8 = {
40834
+ $schema: c8,
40835
+ $id: u8,
40836
+ title: d8,
40837
+ description: f8,
40838
+ type: p8,
40839
+ properties: v8,
40840
+ required: m8
40840
40841
  };
40841
- function gP(e, t, n) {
40842
+ function g8(e, t, n) {
40842
40843
  return t;
40843
40844
  }
40844
- const yP = "time-picker", bP = "A Farris Component", xP = "object", CP = {
40845
+ const y8 = "time-picker", b8 = "A Farris Component", x8 = "object", C8 = {
40845
40846
  basic: {
40846
40847
  description: "Basic Infomation",
40847
40848
  title: "基本信息",
@@ -40923,11 +40924,11 @@ const yP = "time-picker", bP = "A Farris Component", xP = "object", CP = {
40923
40924
  }
40924
40925
  }
40925
40926
  }
40926
- }, wP = {
40927
- title: yP,
40928
- description: bP,
40929
- type: xP,
40930
- categories: CP
40927
+ }, w8 = {
40928
+ title: y8,
40929
+ description: b8,
40930
+ type: x8,
40931
+ categories: C8
40931
40932
  }, Ps = {
40932
40933
  /**
40933
40934
  * 组件值,这个是与指定的format格式相对应的值
@@ -40956,7 +40957,7 @@ const yP = "time-picker", bP = "A Farris Component", xP = "object", CP = {
40956
40957
  disable: { type: Boolean, default: !1 },
40957
40958
  readonly: { type: Boolean, default: !1 },
40958
40959
  editable: { type: Boolean, default: !0 }
40959
- }, mc = ye(Ps, hP, lP, gP, wP), SP = {
40960
+ }, mc = ye(Ps, h8, l8, g8, w8), S8 = {
40960
40961
  modelValue: {
40961
40962
  type: String,
40962
40963
  default: ""
@@ -41024,7 +41025,7 @@ function Lf(e, t) {
41024
41025
  let n = e || "hh:mm:ss";
41025
41026
  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;
41026
41027
  }
41027
- class kP {
41028
+ class k8 {
41028
41029
  constructor() {
41029
41030
  j(this, "hourStep", 1);
41030
41031
  j(this, "minuteStep", 1);
@@ -41190,7 +41191,7 @@ class kP {
41190
41191
  return n === "PM" && t > 12 ? t - 12 : n === "AM" && t === 0 ? 12 : t;
41191
41192
  }
41192
41193
  }
41193
- function BP(e, t, n, a, o, i) {
41194
+ function B8(e, t, n, a, o, i) {
41194
41195
  function s(u, f, d = 0, h, m) {
41195
41196
  const v = l(f, h, m), g = u.children[0].children[v] || u.children[0].children[0];
41196
41197
  p(u, g.offsetTop, d);
@@ -41237,7 +41238,7 @@ function BP(e, t, n, a, o, i) {
41237
41238
  }
41238
41239
  return { scrollToSelected: s };
41239
41240
  }
41240
- function DP(e, t) {
41241
+ function D8(e, t) {
41241
41242
  function n(l) {
41242
41243
  return l.index === e.viewHours || !Je(e.viewHours) && l.index === e.defaultViewHours;
41243
41244
  }
@@ -41260,14 +41261,14 @@ function DP(e, t) {
41260
41261
  }
41261
41262
  const Ki = /* @__PURE__ */ Z({
41262
41263
  name: "FTimePickerTimeView",
41263
- props: SP,
41264
+ props: S8,
41264
41265
  emits: ["valueChange", "formatedValueChange"],
41265
41266
  setup(e, t) {
41266
- 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(), {
41267
+ 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(), {
41267
41268
  scrollToSelected: h
41268
- } = BP(e, t, o, i, s, l), {
41269
+ } = B8(e, t, o, i, s, l), {
41269
41270
  getSelectedClass: m
41270
- } = 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);
41271
+ } = 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);
41271
41272
  J(() => e.defaultOpenValue, (q) => {
41272
41273
  Je(q) && (b.value = q);
41273
41274
  }), J(b, (q) => {
@@ -41507,7 +41508,7 @@ const Ki = /* @__PURE__ */ Z({
41507
41508
  }), null)]
41508
41509
  });
41509
41510
  }
41510
- }), FP = /* @__PURE__ */ Z({
41511
+ }), F8 = /* @__PURE__ */ Z({
41511
41512
  name: "FTimePickerDesign",
41512
41513
  props: Ps,
41513
41514
  emits: ["datePicked", "update:modelValue"],
@@ -41531,7 +41532,7 @@ const Ki = /* @__PURE__ */ Z({
41531
41532
  default: () => [r(Qe("f-time-picker-time-view"), null, null)]
41532
41533
  })]);
41533
41534
  }
41534
- }), TP = {
41535
+ }), T8 = {
41535
41536
  install(e) {
41536
41537
  e.component(qo.name, qo).component(Ki.name, Ki);
41537
41538
  },
@@ -41539,9 +41540,9 @@ const Ki = /* @__PURE__ */ Z({
41539
41540
  e["time-picker"] = qo, t["time-picker"] = mc;
41540
41541
  },
41541
41542
  registerDesigner(e, t, n) {
41542
- e["time-picker"] = FP, t["time-picker"] = mc;
41543
+ e["time-picker"] = F8, t["time-picker"] = mc;
41543
41544
  }
41544
- }, AP = /* @__PURE__ */ Z({
41545
+ }, A8 = /* @__PURE__ */ Z({
41545
41546
  name: "FTransferDesign",
41546
41547
  props: Cr,
41547
41548
  emits: ["change"],
@@ -41642,7 +41643,7 @@ const Ki = /* @__PURE__ */ Z({
41642
41643
  style: "height:480px"
41643
41644
  }, [x(), S()]);
41644
41645
  }
41645
- }), IP = {
41646
+ }), I8 = {
41646
41647
  install(e) {
41647
41648
  e.component(On.name, On);
41648
41649
  },
@@ -41650,15 +41651,15 @@ const Ki = /* @__PURE__ */ Z({
41650
41651
  e.transfer = On, t.transfer = ml;
41651
41652
  },
41652
41653
  registerDesigner(e, t, n) {
41653
- e.transfer = AP, t.transfer = ml;
41654
+ e.transfer = A8, t.transfer = ml;
41654
41655
  }
41655
- }, EP = /* @__PURE__ */ new Map([
41656
+ }, E8 = /* @__PURE__ */ new Map([
41656
41657
  ["appearance", ke]
41657
41658
  ]);
41658
- function $P(e, t, n) {
41659
+ function $8(e, t, n) {
41659
41660
  return t;
41660
41661
  }
41661
- const PP = "tree-view", MP = "A Farris Component", OP = "object", RP = {
41662
+ const P8 = "tree-view", M8 = "A Farris Component", O8 = "object", R8 = {
41662
41663
  basic: {
41663
41664
  description: "Basic Infomation",
41664
41665
  title: "基本信息",
@@ -41680,12 +41681,12 @@ const PP = "tree-view", MP = "A Farris Component", OP = "object", RP = {
41680
41681
  }
41681
41682
  }
41682
41683
  }
41683
- }, _P = {
41684
- title: PP,
41685
- description: MP,
41686
- type: OP,
41687
- categories: RP
41688
- }, 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 = {
41684
+ }, _8 = {
41685
+ title: P8,
41686
+ description: M8,
41687
+ type: O8,
41688
+ categories: R8
41689
+ }, 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 = {
41689
41690
  id: {
41690
41691
  description: "The unique identifier for tree-view",
41691
41692
  type: "string"
@@ -41747,17 +41748,17 @@ const PP = "tree-view", MP = "A Farris Component", OP = "object", RP = {
41747
41748
  type: "boolean",
41748
41749
  default: !0
41749
41750
  }
41750
- }, zP = [
41751
+ }, z8 = [
41751
41752
  "id",
41752
41753
  "type"
41753
- ], qP = {
41754
- $schema: jP,
41755
- $id: HP,
41756
- title: NP,
41757
- description: VP,
41758
- type: LP,
41759
- properties: WP,
41760
- required: zP
41754
+ ], q8 = {
41755
+ $schema: j8,
41756
+ $id: H8,
41757
+ title: N8,
41758
+ description: V8,
41759
+ type: L8,
41760
+ properties: W8,
41761
+ required: z8
41761
41762
  }, Ms = {
41762
41763
  /** 列集合 */
41763
41764
  columns: {
@@ -41843,7 +41844,7 @@ const PP = "tree-view", MP = "A Farris Component", OP = "object", RP = {
41843
41844
  },
41844
41845
  /** 行配置 */
41845
41846
  rowOption: { type: Object }
41846
- }, hc = ye(Ms, qP, EP, $P, _P);
41847
+ }, hc = ye(Ms, q8, E8, $8, _8);
41847
41848
  function Wf(e, t, n, a, o, i, s, l, p, c, u, f, d) {
41848
41849
  const {
41849
41850
  calculateCellPositionInRow: h
@@ -41965,7 +41966,7 @@ const Go = /* @__PURE__ */ Z({
41965
41966
  }
41966
41967
  }, [P(), m(), v()])]);
41967
41968
  }
41968
- }), GP = /* @__PURE__ */ Z({
41969
+ }), G8 = /* @__PURE__ */ Z({
41969
41970
  name: "FTreeViewDesign",
41970
41971
  props: Ms,
41971
41972
  emits: ["outputValue", "currentEvent", "selectionChange"],
@@ -42011,7 +42012,7 @@ const Go = /* @__PURE__ */ Z({
42011
42012
  }
42012
42013
  }, [O(), x(), b()])]);
42013
42014
  }
42014
- }), YP = {
42015
+ }), Y8 = {
42015
42016
  install(e) {
42016
42017
  e.component(Go.name, Go);
42017
42018
  },
@@ -42019,16 +42020,16 @@ const Go = /* @__PURE__ */ Z({
42019
42020
  e["tree-view"] = Go, t["tree-view"] = hc;
42020
42021
  },
42021
42022
  registerDesigner(e, t, n) {
42022
- e["tree-view"] = GP, t["tree-view"] = hc;
42023
+ e["tree-view"] = G8, t["tree-view"] = hc;
42023
42024
  }
42024
- }, UP = {
42025
+ }, U8 = {
42025
42026
  // 是否被选中
42026
42027
  checked: { type: Boolean, default: !1 },
42027
42028
  // 进度条状态 默认'normal'
42028
42029
  id: { type: String, default: "" },
42029
42030
  // 禁用
42030
42031
  disabled: { type: Boolean, default: !1 }
42031
- }, KP = {
42032
+ }, K8 = {
42032
42033
  // 是否显示进度条信息
42033
42034
  showInfo: { type: Boolean, default: !0 },
42034
42035
  // 进度条状态 默认'normal'
@@ -42036,7 +42037,7 @@ const Go = /* @__PURE__ */ Z({
42036
42037
  // 已完成的分段百分比
42037
42038
  percent: { type: Number, default: 0 },
42038
42039
  maxWidth: { type: Number, default: 0 }
42039
- }, XP = {
42040
+ }, X8 = {
42040
42041
  /**
42041
42042
  * 按钮文本
42042
42043
  */
@@ -42069,9 +42070,9 @@ const Go = /* @__PURE__ */ Z({
42069
42070
  * 附件服务器端服务注入的Token
42070
42071
  */
42071
42072
  uploadServerToken: { type: String, default: "" }
42072
- }, QP = /* @__PURE__ */ Z({
42073
+ }, Q8 = /* @__PURE__ */ Z({
42073
42074
  name: "FUploadProgress",
42074
- props: KP,
42075
+ props: K8,
42075
42076
  setup(e, t) {
42076
42077
  const {
42077
42078
  showInfo: n,
@@ -42101,7 +42102,7 @@ const Go = /* @__PURE__ */ Z({
42101
42102
  }
42102
42103
  }), zf = /* @__PURE__ */ Z({
42103
42104
  name: "FPreviewCheckbox",
42104
- props: UP,
42105
+ props: U8,
42105
42106
  emits: ["checkedChange"],
42106
42107
  setup(e, t) {
42107
42108
  const {
@@ -42132,7 +42133,7 @@ const Go = /* @__PURE__ */ Z({
42132
42133
  }
42133
42134
  });
42134
42135
  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 || {});
42135
- class ZP {
42136
+ class Z8 {
42136
42137
  constructor(t = {}, n = {}) {
42137
42138
  /**
42138
42139
  * 上传配置
@@ -42156,7 +42157,7 @@ function gc(e, t) {
42156
42157
  let n = "";
42157
42158
  return e.indexOf(".") === -1 && t.hasOwnProperty(e) ? n = t[e] : n = e.split(".").reduce((a, o) => a ? a[o] : null, t), n;
42158
42159
  }
42159
- function JP(e) {
42160
+ function J8(e) {
42160
42161
  return (t, n) => {
42161
42162
  if (!t.hasOwnProperty(e) || t[e] === void 0 || t[e] === null)
42162
42163
  return 1;
@@ -42309,7 +42310,7 @@ function rM(e) {
42309
42310
  function Cc(e) {
42310
42311
  return new Date(e * 1e3).toISOString().substr(11, 8);
42311
42312
  }
42312
- class sM extends ZP {
42313
+ class sM extends Z8 {
42313
42314
  upload(t, n, a, o) {
42314
42315
  const i = t[0];
42315
42316
  return new Promise((s, l) => {
@@ -42600,7 +42601,7 @@ class uM {
42600
42601
  }
42601
42602
  const Kf = /* @__PURE__ */ Z({
42602
42603
  name: "FFileSelect",
42603
- props: XP,
42604
+ props: X8,
42604
42605
  emits: ["change", "stateChange"],
42605
42606
  setup(e, t) {
42606
42607
  const n = new uM(t, e.uploadServerToken), a = Zi(), o = y("*");
@@ -42827,7 +42828,7 @@ function Xf(e, t, n) {
42827
42828
  } = Gn(e), v = y(!1), g = y([]), x = $(() => g.value.length), b = y([]), C = y(""), w = $(() => {
42828
42829
  (!o.value.length || g.value.length !== o.value.length) && (v.value = !1);
42829
42830
  const N = o.value.map((W) => (W.hasOwnProperty("size") || (W.size = void 0), W.hasOwnProperty("createTime") || (W.createTime = void 0), W));
42830
- if (N.sort(JP(c.value)), u.value) {
42831
+ if (N.sort(J8(c.value)), u.value) {
42831
42832
  const W = N.map((L) => (L.checked = !!g.value.find((Y) => Y.id === L.id) || v.value, L));
42832
42833
  return g.value = [...W].filter((L) => L.checked), W;
42833
42834
  }
@@ -42944,7 +42945,7 @@ function Xf(e, t, n) {
42944
42945
  const Yo = /* @__PURE__ */ Z({
42945
42946
  name: "FUploader",
42946
42947
  components: {
42947
- "f-upload-progress": QP,
42948
+ "f-upload-progress": Q8,
42948
42949
  "f-preview-checkbox": zf,
42949
42950
  "f-file-select": Kf
42950
42951
  },
@@ -50418,7 +50419,7 @@ const S3 = /* @__PURE__ */ Z({
50418
50419
  }, De = {}, Fe = {}, Ae = {};
50419
50420
  let cu = !1;
50420
50421
  function B3() {
50421
- cu || (cu = !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), rw.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), Dw.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));
50422
+ cu || (cu = !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), rw.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), Dw.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));
50422
50423
  }
50423
50424
  function op() {
50424
50425
  B3();