@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
@@ -36520,7 +36520,7 @@ function J$(e, t, n, a) {
36520
36520
  }, null)]
36521
36521
  })])]);
36522
36522
  }
36523
- const e8 = /* @__PURE__ */ Z({
36523
+ const eP = /* @__PURE__ */ Z({
36524
36524
  name: "FTabsDesign",
36525
36525
  props: ir,
36526
36526
  emits: ["tabChange", "tabRemove"],
@@ -36648,7 +36648,7 @@ const e8 = /* @__PURE__ */ Z({
36648
36648
  }, [q(), G()]);
36649
36649
  }
36650
36650
  });
36651
- function t8(e, t) {
36651
+ function tP(e, t) {
36652
36652
  function n(o) {
36653
36653
  return !!Jt().basalDragulaRuleForContainer(o);
36654
36654
  }
@@ -36656,65 +36656,66 @@ function t8(e, t) {
36656
36656
  }
36657
36657
  return { canAccepts: n, onAcceptMovedChildElement: a };
36658
36658
  }
36659
- function n8(e) {
36659
+ function nP(e) {
36660
36660
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Ma(e);
36661
36661
  }
36662
- const a8 = /* @__PURE__ */ Z({
36662
+ const aP = /* @__PURE__ */ Z({
36663
36663
  name: "FTabPageDesign",
36664
36664
  props: cr,
36665
36665
  emits: [],
36666
36666
  setup(e, t) {
36667
- const n = y(), a = he("design-item-context"), o = t8(a.schema, a.parent), i = Se(n, a, o);
36667
+ const n = y(), a = he("design-item-context"), o = tP(a.schema, a.parent), i = Se(n, a, o);
36668
36668
  i.value.canNested = !1, i.value.canDelete = !1, i.value.canMove = !1, t.expose(i.value);
36669
36669
  const s = he("tabs"), l = y(!0), p = {
36670
36670
  slots: t.slots,
36671
36671
  props: e
36672
36672
  }, c = y((s == null ? void 0 : s.tabType.value) || "default");
36673
- function u() {
36674
- e.id === s.activeId.value ? a.designerItemElementRef.value.classList.remove("d-none") : a.designerItemElementRef.value.classList.add("d-none");
36675
- }
36676
36673
  ue(() => {
36677
36674
  n.value.componentInstance = i;
36678
- const g = s.tabPages.value.findIndex((x) => x.props.id === e.id);
36679
- !g || g === -1 ? s == null || s.addTab(p) : g > -1 && (l.value = !1, console.warn(`已经存在id为${e.id}的页签啦`)), u();
36675
+ const x = s.tabPages.value.findIndex((b) => b.props.id === e.id);
36676
+ !x || x === -1 ? s == null || s.addTab(p) : x > -1 && (l.value = !1, console.warn(`已经存在id为${e.id}的页签啦`));
36680
36677
  }), Ct(() => {
36681
36678
  });
36682
- const f = $(() => ({
36683
- display: (e == null ? void 0 : e.id) === (s == null ? void 0 : s.activeId.value) ? "" : "none"
36679
+ const u = $(() => (e == null ? void 0 : e.id) === (s == null ? void 0 : s.activeId.value)), f = $(() => ({
36680
+ display: u.value ? "" : "none"
36684
36681
  }));
36685
- J(() => e, (g) => {
36682
+ J(() => e, (x) => {
36686
36683
  s == null || s.updateTab({
36687
- props: g,
36684
+ props: x,
36688
36685
  slots: t.slots
36689
36686
  });
36690
36687
  }, {
36691
36688
  immediate: !0,
36692
36689
  deep: !0
36693
- }), J(s.activeId, u);
36690
+ });
36694
36691
  function d() {
36695
- var x, b;
36696
- const g = (b = (x = t.slots).default) == null ? void 0 : b.call(x);
36692
+ var b, C;
36693
+ const x = (C = (b = t.slots).default) == null ? void 0 : C.call(b);
36697
36694
  return r(Rn, {
36698
36695
  "main-title": e.title,
36699
36696
  class: "farris-tab-page"
36700
- }, n8(g) ? g : {
36701
- default: () => [g]
36697
+ }, nP(x) ? x : {
36698
+ default: () => [x]
36702
36699
  });
36703
36700
  }
36704
- function h() {
36705
- var x, b;
36706
- const g = (b = (x = t.slots).default) == null ? void 0 : b.call(x);
36701
+ const h = $(() => ({
36702
+ "farris-tab-page": !0,
36703
+ "drag-container": !0
36704
+ }));
36705
+ function m() {
36706
+ var b, C;
36707
+ const x = (C = (b = t.slots).default) == null ? void 0 : C.call(b);
36707
36708
  return r("div", {
36708
36709
  ref: n,
36709
- class: "farris-tab-page drag-container",
36710
+ class: h.value,
36710
36711
  "data-dragref": `${a.schema.id}-container`,
36711
36712
  style: f.value
36712
- }, [g]);
36713
+ }, [x]);
36713
36714
  }
36714
- const v = (/* @__PURE__ */ new Map([["default", h], ["one-page", d]])).get(c.value) || h;
36715
- return () => l.value ? v() : null;
36715
+ const g = (/* @__PURE__ */ new Map([["default", m], ["one-page", d]])).get(c.value) || m;
36716
+ return () => l.value ? g() : null;
36716
36717
  }
36717
- }), o8 = {
36718
+ }), oP = {
36718
36719
  install(e) {
36719
36720
  e.component(ia.name, ia), e.component(yn.name, yn);
36720
36721
  },
@@ -36722,9 +36723,9 @@ const a8 = /* @__PURE__ */ Z({
36722
36723
  e.tabs = ia, e["tab-page"] = yn, t.tabs = el, t["tab-page"] = il;
36723
36724
  },
36724
36725
  registerDesigner(e, t, n) {
36725
- e.tabs = e8, e["tab-page"] = a8, t.tabs = el, t["tab-page"] = il;
36726
+ e.tabs = eP, e["tab-page"] = aP, t.tabs = el, t["tab-page"] = il;
36726
36727
  }
36727
- }, i8 = /* @__PURE__ */ Z({
36728
+ }, iP = /* @__PURE__ */ Z({
36728
36729
  name: "FTagsDesign",
36729
36730
  props: nr,
36730
36731
  emits: ["remove", "selectionChange", "change"],
@@ -36959,7 +36960,7 @@ const a8 = /* @__PURE__ */ Z({
36959
36960
  onWheel: (oe) => te(oe)
36960
36961
  }, [Q()])]);
36961
36962
  }
36962
- }), r8 = {
36963
+ }), rP = {
36963
36964
  install(e) {
36964
36965
  e.component(oa.name, oa);
36965
36966
  },
@@ -36967,15 +36968,15 @@ const a8 = /* @__PURE__ */ Z({
36967
36968
  e.tags = oa, t.tags = Xs;
36968
36969
  },
36969
36970
  registerDesigner(e, t, n) {
36970
- e.tags = i8, t.tags = Xs;
36971
+ e.tags = iP, t.tags = Xs;
36971
36972
  }
36972
- }, s8 = /* @__PURE__ */ new Map([
36973
+ }, sP = /* @__PURE__ */ new Map([
36973
36974
  ["appearance", ke]
36974
36975
  ]);
36975
- function l8(e, t, n) {
36976
+ function lP(e, t, n) {
36976
36977
  return t;
36977
36978
  }
36978
- const c8 = "text", u8 = "A Farris Component", d8 = "object", f8 = {
36979
+ const cP = "text", uP = "A Farris Component", dP = "object", fP = {
36979
36980
  basic: {
36980
36981
  description: "Basic Infomation",
36981
36982
  title: "基本信息",
@@ -36997,12 +36998,12 @@ const c8 = "text", u8 = "A Farris Component", d8 = "object", f8 = {
36997
36998
  }
36998
36999
  }
36999
37000
  }
37000
- }, p8 = {
37001
- title: c8,
37002
- description: u8,
37003
- type: d8,
37004
- categories: f8
37005
- }, v8 = "https://json-schema.org/draft/2020-12/schema", m8 = "https://farris-design.gitee.io/text.schema.json", h8 = "text", g8 = "A Farris Component", y8 = "object", b8 = {
37001
+ }, pP = {
37002
+ title: cP,
37003
+ description: uP,
37004
+ type: dP,
37005
+ categories: fP
37006
+ }, vP = "https://json-schema.org/draft/2020-12/schema", mP = "https://farris-design.gitee.io/text.schema.json", hP = "text", gP = "A Farris Component", yP = "object", bP = {
37006
37007
  id: {
37007
37008
  description: "The unique identifier for text",
37008
37009
  type: "string"
@@ -37064,17 +37065,17 @@ const c8 = "text", u8 = "A Farris Component", d8 = "object", f8 = {
37064
37065
  type: "boolean",
37065
37066
  default: !0
37066
37067
  }
37067
- }, x8 = [
37068
+ }, xP = [
37068
37069
  "id",
37069
37070
  "type"
37070
- ], C8 = {
37071
- $schema: v8,
37072
- $id: m8,
37073
- title: h8,
37074
- description: g8,
37075
- type: y8,
37076
- properties: b8,
37077
- required: x8
37071
+ ], CP = {
37072
+ $schema: vP,
37073
+ $id: mP,
37074
+ title: hP,
37075
+ description: gP,
37076
+ type: yP,
37077
+ properties: bP,
37078
+ required: xP
37078
37079
  }, ys = {
37079
37080
  // 组件值
37080
37081
  modelValue: { type: [String, Number, Boolean], default: "" },
@@ -37116,12 +37117,12 @@ const c8 = "text", u8 = "A Farris Component", d8 = "object", f8 = {
37116
37117
  dateRangeDelimiter: { type: String, default: "~" },
37117
37118
  // 枚举项的分隔符
37118
37119
  enumDelimiter: { type: String, default: "," }
37119
- }, pc = ye(ys, C8, s8, l8, p8);
37120
- function w8(e) {
37120
+ }, pc = ye(ys, CP, sP, lP, pP);
37121
+ function wP(e) {
37121
37122
  let t;
37122
37123
  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;
37123
37124
  }
37124
- function S8(e, t, n, a, o) {
37125
+ function SP(e, t, n, a, o) {
37125
37126
  if (e == null || e === "")
37126
37127
  return "";
37127
37128
  if (t && t.length) {
@@ -37136,26 +37137,26 @@ function S8(e, t, n, a, o) {
37136
37137
  }
37137
37138
  function vc(e, t) {
37138
37139
  let n;
37139
- return t || (t = "YYYY-MM-DD"), t === "timeago" ? Ax().formatTo(e) : (t === "hh:mm:ss" || t === "HH:mm:ss" ? n = e : n = wr().formatTo(e, w8(t)), n);
37140
+ return t || (t = "YYYY-MM-DD"), t === "timeago" ? Ax().formatTo(e) : (t === "hh:mm:ss" || t === "HH:mm:ss" ? n = e : n = wr().formatTo(e, wP(t)), n);
37140
37141
  }
37141
- function k8(e, t) {
37142
+ function kP(e, t) {
37142
37143
  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;
37143
37144
  }
37144
- function B8(e) {
37145
+ function BP(e) {
37145
37146
  return e.replace(/[a-z]+/g, (t) => t.toUpperCase());
37146
37147
  }
37147
- function D8(e, t, n) {
37148
+ function DP(e, t, n) {
37148
37149
  return e.toString().indexOf(".") > -1 ? (console.warn("十进制转换仅限整型类型"), "") : (Array(t).join(n) + e).slice(-t);
37149
37150
  }
37150
- function F8(e, t) {
37151
+ function FP(e, t) {
37151
37152
  return Number(e * 100).toFixed(Number(t)) + "%";
37152
37153
  }
37153
- function T8(e, t, n, a, o, i, s) {
37154
+ function TP(e, t, n, a, o, i, s) {
37154
37155
  if (!t && !n)
37155
37156
  return e.toString();
37156
37157
  if (n && n.type && n.type === "number" && n.formatter)
37157
37158
  return n.formatter(e);
37158
- const l = B8(t.substring(0, 1)), p = Number(t.substring(1)), c = {};
37159
+ const l = BP(t.substring(0, 1)), p = Number(t.substring(1)), c = {};
37159
37160
  let u;
37160
37161
  if (!/C|D|F|N|P/g.test(l)) {
37161
37162
  console.log(`不支持format为 ${t} 类型的数字格式化`);
@@ -37168,7 +37169,7 @@ function T8(e, t, n, a, o, i, s) {
37168
37169
  Object.assign(c, { prefix: "¥", precision: p }), u = f(e, c);
37169
37170
  break;
37170
37171
  case "D":
37171
- u = D8(e, p, s);
37172
+ u = DP(e, p, s);
37172
37173
  break;
37173
37174
  case "F":
37174
37175
  Object.assign(c, { prefix: "", groupSeparator: "", precision: p }), u = f(e, c);
@@ -37177,12 +37178,12 @@ function T8(e, t, n, a, o, i, s) {
37177
37178
  Object.assign(c, { prefix: "", precision: p }), u = f(e, c);
37178
37179
  break;
37179
37180
  case "P":
37180
- u = F8(e, p);
37181
+ u = FP(e, p);
37181
37182
  break;
37182
37183
  }
37183
37184
  return u;
37184
37185
  }
37185
- function A8(e) {
37186
+ function AP(e) {
37186
37187
  return e === !0 ? "是" : e === !1 || e == null || e === "" || typeof e > "u" ? "否" : e;
37187
37188
  }
37188
37189
  const Wo = /* @__PURE__ */ Z({
@@ -37234,13 +37235,13 @@ const Wo = /* @__PURE__ */ Z({
37234
37235
  }
37235
37236
  break;
37236
37237
  case "number":
37237
- l.value = k8(l.value, e.numberOptions), x = T8(g, l.value, e.numberOptions, e.groupSeparator, e.decimalSeparator, e.amountExpression, e.decimalFilledSymbol);
37238
+ l.value = kP(l.value, e.numberOptions), x = TP(g, l.value, e.numberOptions, e.groupSeparator, e.decimalSeparator, e.amountExpression, e.decimalFilledSymbol);
37238
37239
  break;
37239
37240
  case "enum":
37240
- x = S8(g, e.enumConvertedDatas, e.enumDelimiter, e.textField, e.valueField);
37241
+ x = SP(g, e.enumConvertedDatas, e.enumDelimiter, e.textField, e.valueField);
37241
37242
  break;
37242
37243
  case "boolean":
37243
- x = A8(g);
37244
+ x = AP(g);
37244
37245
  break;
37245
37246
  }
37246
37247
  return x;
@@ -37259,7 +37260,7 @@ const Wo = /* @__PURE__ */ Z({
37259
37260
  title: u.value
37260
37261
  }, [h.value]);
37261
37262
  }
37262
- }), I8 = /* @__PURE__ */ Z({
37263
+ }), IP = /* @__PURE__ */ Z({
37263
37264
  name: "FTextDesign",
37264
37265
  props: ys,
37265
37266
  emits: ["update:modelValue"],
@@ -37284,7 +37285,7 @@ const Wo = /* @__PURE__ */ Z({
37284
37285
  style: c.value
37285
37286
  }, [l.value]);
37286
37287
  }
37287
- }), E8 = {
37288
+ }), EP = {
37288
37289
  install(e) {
37289
37290
  e.component(Wo.name, Wo);
37290
37291
  },
@@ -37292,11 +37293,11 @@ const Wo = /* @__PURE__ */ Z({
37292
37293
  e.text = Wo, t.text = pc;
37293
37294
  },
37294
37295
  registerDesigner(e, t, n) {
37295
- e.text = I8, t.text = pc;
37296
+ e.text = IP, t.text = pc;
37296
37297
  }
37297
- }, $8 = /* @__PURE__ */ new Map([
37298
+ }, $P = /* @__PURE__ */ new Map([
37298
37299
  ["appearance", ke]
37299
- ]), P8 = "https://json-schema.org/draft/2020-12/schema", M8 = "https://farris-design.gitee.io/time-picker.schema.json", O8 = "time-picker", R8 = "A Farris Input Component", _8 = "object", j8 = {
37300
+ ]), PP = "https://json-schema.org/draft/2020-12/schema", MP = "https://farris-design.gitee.io/time-picker.schema.json", OP = "time-picker", RP = "A Farris Input Component", _P = "object", jP = {
37300
37301
  id: {
37301
37302
  description: "The unique identifier for a time picker",
37302
37303
  type: "string"
@@ -37358,22 +37359,22 @@ const Wo = /* @__PURE__ */ Z({
37358
37359
  type: "boolean",
37359
37360
  default: !0
37360
37361
  }
37361
- }, H8 = [
37362
+ }, HP = [
37362
37363
  "id",
37363
37364
  "type"
37364
- ], N8 = {
37365
- $schema: P8,
37366
- $id: M8,
37367
- title: O8,
37368
- description: R8,
37369
- type: _8,
37370
- properties: j8,
37371
- required: H8
37365
+ ], NP = {
37366
+ $schema: PP,
37367
+ $id: MP,
37368
+ title: OP,
37369
+ description: RP,
37370
+ type: _P,
37371
+ properties: jP,
37372
+ required: HP
37372
37373
  };
37373
- function V8(e, t, n) {
37374
+ function VP(e, t, n) {
37374
37375
  return t;
37375
37376
  }
37376
- const L8 = "time-picker", W8 = "A Farris Component", z8 = "object", q8 = {
37377
+ const LP = "time-picker", WP = "A Farris Component", zP = "object", qP = {
37377
37378
  basic: {
37378
37379
  description: "Basic Infomation",
37379
37380
  title: "基本信息",
@@ -37455,11 +37456,11 @@ const L8 = "time-picker", W8 = "A Farris Component", z8 = "object", q8 = {
37455
37456
  }
37456
37457
  }
37457
37458
  }
37458
- }, G8 = {
37459
- title: L8,
37460
- description: W8,
37461
- type: z8,
37462
- categories: q8
37459
+ }, GP = {
37460
+ title: LP,
37461
+ description: WP,
37462
+ type: zP,
37463
+ categories: qP
37463
37464
  }, bs = {
37464
37465
  /**
37465
37466
  * 组件值,这个是与指定的format格式相对应的值
@@ -37488,7 +37489,7 @@ const L8 = "time-picker", W8 = "A Farris Component", z8 = "object", q8 = {
37488
37489
  disable: { type: Boolean, default: !1 },
37489
37490
  readonly: { type: Boolean, default: !1 },
37490
37491
  editable: { type: Boolean, default: !0 }
37491
- }, mc = ye(bs, N8, $8, V8, G8), Y8 = {
37492
+ }, mc = ye(bs, NP, $P, VP, GP), YP = {
37492
37493
  modelValue: {
37493
37494
  type: String,
37494
37495
  default: ""
@@ -37556,7 +37557,7 @@ function $f(e, t) {
37556
37557
  let n = e || "hh:mm:ss";
37557
37558
  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;
37558
37559
  }
37559
- class U8 {
37560
+ class UP {
37560
37561
  constructor() {
37561
37562
  j(this, "hourStep", 1);
37562
37563
  j(this, "minuteStep", 1);
@@ -37722,7 +37723,7 @@ class U8 {
37722
37723
  return n === "PM" && t > 12 ? t - 12 : n === "AM" && t === 0 ? 12 : t;
37723
37724
  }
37724
37725
  }
37725
- function K8(e, t, n, a, o, i) {
37726
+ function KP(e, t, n, a, o, i) {
37726
37727
  function s(u, f, d = 0, h, m) {
37727
37728
  const v = l(f, h, m), g = u.children[0].children[v] || u.children[0].children[0];
37728
37729
  p(u, g.offsetTop, d);
@@ -37769,7 +37770,7 @@ function K8(e, t, n, a, o, i) {
37769
37770
  }
37770
37771
  return { scrollToSelected: s };
37771
37772
  }
37772
- function X8(e, t) {
37773
+ function XP(e, t) {
37773
37774
  function n(l) {
37774
37775
  return l.index === e.viewHours || !Je(e.viewHours) && l.index === e.defaultViewHours;
37775
37776
  }
@@ -37792,14 +37793,14 @@ function X8(e, t) {
37792
37793
  }
37793
37794
  const Ui = /* @__PURE__ */ Z({
37794
37795
  name: "FTimePickerTimeView",
37795
- props: Y8,
37796
+ props: YP,
37796
37797
  emits: ["valueChange", "formatedValueChange"],
37797
37798
  setup(e, t) {
37798
- 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 U8(), {
37799
+ 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 UP(), {
37799
37800
  scrollToSelected: h
37800
- } = K8(e, t, o, i, s, l), {
37801
+ } = KP(e, t, o, i, s, l), {
37801
37802
  getSelectedClass: m
37802
- } = X8(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);
37803
+ } = XP(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);
37803
37804
  J(() => e.defaultOpenValue, (q) => {
37804
37805
  Je(q) && (b.value = q);
37805
37806
  }), J(b, (q) => {
@@ -38039,7 +38040,7 @@ const Ui = /* @__PURE__ */ Z({
38039
38040
  }), null)]
38040
38041
  });
38041
38042
  }
38042
- }), Q8 = /* @__PURE__ */ Z({
38043
+ }), QP = /* @__PURE__ */ Z({
38043
38044
  name: "FTimePickerDesign",
38044
38045
  props: bs,
38045
38046
  emits: ["datePicked", "update:modelValue"],
@@ -38063,7 +38064,7 @@ const Ui = /* @__PURE__ */ Z({
38063
38064
  default: () => [r(Qe("f-time-picker-time-view"), null, null)]
38064
38065
  })]);
38065
38066
  }
38066
- }), Z8 = {
38067
+ }), ZP = {
38067
38068
  install(e) {
38068
38069
  e.component(zo.name, zo).component(Ui.name, Ui);
38069
38070
  },
@@ -38071,9 +38072,9 @@ const Ui = /* @__PURE__ */ Z({
38071
38072
  e["time-picker"] = zo, t["time-picker"] = mc;
38072
38073
  },
38073
38074
  registerDesigner(e, t, n) {
38074
- e["time-picker"] = Q8, t["time-picker"] = mc;
38075
+ e["time-picker"] = QP, t["time-picker"] = mc;
38075
38076
  }
38076
- }, J8 = /* @__PURE__ */ Z({
38077
+ }, JP = /* @__PURE__ */ Z({
38077
38078
  name: "FTransferDesign",
38078
38079
  props: or,
38079
38080
  emits: ["change"],
@@ -38174,7 +38175,7 @@ const Ui = /* @__PURE__ */ Z({
38174
38175
  style: "height:480px"
38175
38176
  }, [x(), S()]);
38176
38177
  }
38177
- }), eP = {
38178
+ }), e8 = {
38178
38179
  install(e) {
38179
38180
  e.component(Mn.name, Mn);
38180
38181
  },
@@ -38182,15 +38183,15 @@ const Ui = /* @__PURE__ */ Z({
38182
38183
  e.transfer = Mn, t.transfer = Qs;
38183
38184
  },
38184
38185
  registerDesigner(e, t, n) {
38185
- e.transfer = J8, t.transfer = Qs;
38186
+ e.transfer = JP, t.transfer = Qs;
38186
38187
  }
38187
- }, tP = /* @__PURE__ */ new Map([
38188
+ }, t8 = /* @__PURE__ */ new Map([
38188
38189
  ["appearance", ke]
38189
38190
  ]);
38190
- function nP(e, t, n) {
38191
+ function n8(e, t, n) {
38191
38192
  return t;
38192
38193
  }
38193
- const aP = "tree-view", oP = "A Farris Component", iP = "object", rP = {
38194
+ const a8 = "tree-view", o8 = "A Farris Component", i8 = "object", r8 = {
38194
38195
  basic: {
38195
38196
  description: "Basic Infomation",
38196
38197
  title: "基本信息",
@@ -38212,12 +38213,12 @@ const aP = "tree-view", oP = "A Farris Component", iP = "object", rP = {
38212
38213
  }
38213
38214
  }
38214
38215
  }
38215
- }, sP = {
38216
- title: aP,
38217
- description: oP,
38218
- type: iP,
38219
- categories: rP
38220
- }, lP = "https://json-schema.org/draft/2020-12/schema", cP = "https://farris-design.gitee.io/tree-view.schema.json", uP = "tree-view", dP = "A Farris Component", fP = "object", pP = {
38216
+ }, s8 = {
38217
+ title: a8,
38218
+ description: o8,
38219
+ type: i8,
38220
+ categories: r8
38221
+ }, l8 = "https://json-schema.org/draft/2020-12/schema", c8 = "https://farris-design.gitee.io/tree-view.schema.json", u8 = "tree-view", d8 = "A Farris Component", f8 = "object", p8 = {
38221
38222
  id: {
38222
38223
  description: "The unique identifier for tree-view",
38223
38224
  type: "string"
@@ -38279,17 +38280,17 @@ const aP = "tree-view", oP = "A Farris Component", iP = "object", rP = {
38279
38280
  type: "boolean",
38280
38281
  default: !0
38281
38282
  }
38282
- }, vP = [
38283
+ }, v8 = [
38283
38284
  "id",
38284
38285
  "type"
38285
- ], mP = {
38286
- $schema: lP,
38287
- $id: cP,
38288
- title: uP,
38289
- description: dP,
38290
- type: fP,
38291
- properties: pP,
38292
- required: vP
38286
+ ], m8 = {
38287
+ $schema: l8,
38288
+ $id: c8,
38289
+ title: u8,
38290
+ description: d8,
38291
+ type: f8,
38292
+ properties: p8,
38293
+ required: v8
38293
38294
  }, xs = {
38294
38295
  /** 列集合 */
38295
38296
  columns: {
@@ -38375,7 +38376,7 @@ const aP = "tree-view", oP = "A Farris Component", iP = "object", rP = {
38375
38376
  },
38376
38377
  /** 行配置 */
38377
38378
  rowOption: { type: Object }
38378
- }, hc = ye(xs, mP, tP, nP, sP);
38379
+ }, hc = ye(xs, m8, t8, n8, s8);
38379
38380
  function Pf(e, t, n, a, o, i, s, l, p, c, u, f, d) {
38380
38381
  const {
38381
38382
  calculateCellPositionInRow: h
@@ -38400,7 +38401,7 @@ function Pf(e, t, n, a, o, i, s, l, p, c, u, f, d) {
38400
38401
  renderTreeArea: b
38401
38402
  };
38402
38403
  }
38403
- function hP(e, t, n, a) {
38404
+ function h8(e, t, n, a) {
38404
38405
  var v, g, x, b, C, w;
38405
38406
  const { idField: o } = n, i = y(((g = (v = e.hierarchy) == null ? void 0 : v.cascadeOption) == null ? void 0 : g.autoCheckChildren) || !1), s = y(((b = (x = e.hierarchy) == null ? void 0 : x.cascadeOption) == null ? void 0 : b.autoCheckParent) || !1), l = y(((w = (C = e.hierarchy) == null ? void 0 : C.cascadeOption) == null ? void 0 : w.selectionRange) || "All");
38406
38407
  J(() => {
@@ -38444,7 +38445,7 @@ function hP(e, t, n, a) {
38444
38445
  return { autoCheckChildren: i, autoCheckParent: s, interactAfterCheckHierarchyItem: m };
38445
38446
  }
38446
38447
  function Cs(e, t, n, a, o) {
38447
- const { select: i, unSelect: s, indeterminate: l, getSelectedItems: p } = a, { autoCheckChildren: c, autoCheckParent: u, interactAfterCheckHierarchyItem: f } = hP(e, t, n), { idField: d } = n;
38448
+ const { select: i, unSelect: s, indeterminate: l, getSelectedItems: p } = a, { autoCheckChildren: c, autoCheckParent: u, interactAfterCheckHierarchyItem: f } = h8(e, t, n), { idField: d } = n;
38448
38449
  function h() {
38449
38450
  return t.value.filter((k) => !!k.checked).map((k) => k.raw.__fv_index__);
38450
38451
  }
@@ -38591,7 +38592,7 @@ const qo = /* @__PURE__ */ Z({
38591
38592
  }
38592
38593
  }, [P(), m(), v()])]);
38593
38594
  }
38594
- }), gP = /* @__PURE__ */ Z({
38595
+ }), g8 = /* @__PURE__ */ Z({
38595
38596
  name: "FTreeViewDesign",
38596
38597
  props: xs,
38597
38598
  emits: ["outputValue", "currentEvent", "selectionChange"],
@@ -38637,7 +38638,7 @@ const qo = /* @__PURE__ */ Z({
38637
38638
  }
38638
38639
  }, [O(), x(), b()])]);
38639
38640
  }
38640
- }), yP = {
38641
+ }), y8 = {
38641
38642
  install(e) {
38642
38643
  e.component(qo.name, qo);
38643
38644
  },
@@ -38645,16 +38646,16 @@ const qo = /* @__PURE__ */ Z({
38645
38646
  e["tree-view"] = qo, t["tree-view"] = hc;
38646
38647
  },
38647
38648
  registerDesigner(e, t, n) {
38648
- e["tree-view"] = gP, t["tree-view"] = hc;
38649
+ e["tree-view"] = g8, t["tree-view"] = hc;
38649
38650
  }
38650
- }, bP = {
38651
+ }, b8 = {
38651
38652
  // 是否被选中
38652
38653
  checked: { type: Boolean, default: !1 },
38653
38654
  // 进度条状态 默认'normal'
38654
38655
  id: { type: String, default: "" },
38655
38656
  // 禁用
38656
38657
  disabled: { type: Boolean, default: !1 }
38657
- }, xP = {
38658
+ }, x8 = {
38658
38659
  // 是否显示进度条信息
38659
38660
  showInfo: { type: Boolean, default: !0 },
38660
38661
  // 进度条状态 默认'normal'
@@ -38662,7 +38663,7 @@ const qo = /* @__PURE__ */ Z({
38662
38663
  // 已完成的分段百分比
38663
38664
  percent: { type: Number, default: 0 },
38664
38665
  maxWidth: { type: Number, default: 0 }
38665
- }, CP = {
38666
+ }, C8 = {
38666
38667
  /**
38667
38668
  * 按钮文本
38668
38669
  */
@@ -38695,9 +38696,9 @@ const qo = /* @__PURE__ */ Z({
38695
38696
  * 附件服务器端服务注入的Token
38696
38697
  */
38697
38698
  uploadServerToken: { type: String, default: "" }
38698
- }, wP = /* @__PURE__ */ Z({
38699
+ }, w8 = /* @__PURE__ */ Z({
38699
38700
  name: "FUploadProgress",
38700
- props: xP,
38701
+ props: x8,
38701
38702
  setup(e, t) {
38702
38703
  const {
38703
38704
  showInfo: n,
@@ -38727,7 +38728,7 @@ const qo = /* @__PURE__ */ Z({
38727
38728
  }
38728
38729
  }), Mf = /* @__PURE__ */ Z({
38729
38730
  name: "FPreviewCheckbox",
38730
- props: bP,
38731
+ props: b8,
38731
38732
  emits: ["checkedChange"],
38732
38733
  setup(e, t) {
38733
38734
  const {
@@ -38758,7 +38759,7 @@ const qo = /* @__PURE__ */ Z({
38758
38759
  }
38759
38760
  });
38760
38761
  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 || {});
38761
- class SP {
38762
+ class S8 {
38762
38763
  constructor(t = {}, n = {}) {
38763
38764
  /**
38764
38765
  * 上传配置
@@ -38782,7 +38783,7 @@ function gc(e, t) {
38782
38783
  let n = "";
38783
38784
  return e.indexOf(".") === -1 && t.hasOwnProperty(e) ? n = t[e] : n = e.split(".").reduce((a, o) => a ? a[o] : null, t), n;
38784
38785
  }
38785
- function kP(e) {
38786
+ function k8(e) {
38786
38787
  return (t, n) => {
38787
38788
  if (!t.hasOwnProperty(e) || t[e] === void 0 || t[e] === null)
38788
38789
  return 1;
@@ -38871,15 +38872,15 @@ function bc(e) {
38871
38872
  }
38872
38873
  return 5;
38873
38874
  }
38874
- function BP(e) {
38875
+ function B8(e) {
38875
38876
  let t = e;
38876
38877
  return e ? (typeof e == "string" && (t = parseInt(e, 10)), Vn(t)) : "0 Byte";
38877
38878
  }
38878
- const DP = () => Math.random().toString(36).substring(7);
38879
+ const D8 = () => Math.random().toString(36).substring(7);
38879
38880
  function xc(e, t) {
38880
38881
  return {
38881
38882
  fileIndex: t,
38882
- id: DP(),
38883
+ id: D8(),
38883
38884
  name: e.name,
38884
38885
  size: e.size,
38885
38886
  type: e.type,
@@ -38900,7 +38901,7 @@ function xc(e, t) {
38900
38901
  nativeFile: e
38901
38902
  };
38902
38903
  }
38903
- function FP(e) {
38904
+ function F8(e) {
38904
38905
  const t = [];
38905
38906
  return e.forEach((n) => {
38906
38907
  const a = { id: "", name: "", size: 0, type: "", extend: null, extendHeaders: null, createTime: "" };
@@ -38911,14 +38912,14 @@ function FP(e) {
38911
38912
  t.push(a);
38912
38913
  }), t;
38913
38914
  }
38914
- function TP(e, t) {
38915
+ function T8(e, t) {
38915
38916
  return e ? t <= e * 1024 * 1024 : !0;
38916
38917
  }
38917
- function AP(e) {
38918
+ function A8(e) {
38918
38919
  return e.find((t) => t === "*") !== void 0;
38919
38920
  }
38920
- function IP(e, t) {
38921
- if (!e || e.length === 0 || AP(e))
38921
+ function I8(e, t) {
38922
+ if (!e || e.length === 0 || A8(e))
38922
38923
  return !0;
38923
38924
  if (t.lastIndexOf(".") < 0)
38924
38925
  return !1;
@@ -38927,7 +38928,7 @@ function IP(e, t) {
38927
38928
  (a) => a.toLowerCase() === n.toLowerCase()
38928
38929
  ) > -1;
38929
38930
  }
38930
- function EP(e) {
38931
+ function E8(e) {
38931
38932
  if (e)
38932
38933
  return e.split(`
38933
38934
  `).map((t) => t.split(/: */, 2)).filter((t) => t[0]).reduce((t, n) => (t[n[0]] = n[1], t), {});
@@ -38935,7 +38936,7 @@ function EP(e) {
38935
38936
  function Cc(e) {
38936
38937
  return new Date(e * 1e3).toISOString().substr(11, 8);
38937
38938
  }
38938
- class $P extends SP {
38939
+ class $8 extends S8 {
38939
38940
  upload(t, n, a, o) {
38940
38941
  const i = t[0];
38941
38942
  return new Promise((s, l) => {
@@ -38981,7 +38982,7 @@ class $P extends SP {
38981
38982
  } catch {
38982
38983
  i.response = d.response;
38983
38984
  }
38984
- i.responseHeaders = EP(d.getAllResponseHeaders()), s({ type: "done", files: [i] });
38985
+ i.responseHeaders = E8(d.getAllResponseHeaders()), s({ type: "done", files: [i] });
38985
38986
  }
38986
38987
  }, d.open(c, p, !0), d.withCredentials = !!n.withCredentials;
38987
38988
  try {
@@ -39007,21 +39008,21 @@ class $P extends SP {
39007
39008
  });
39008
39009
  }
39009
39010
  }
39010
- const PP = (e = "") => {
39011
+ const P8 = (e = "") => {
39011
39012
  let t;
39012
39013
  return e && he(e, null) && (t = he(e)), t || (t = new Yr()), t;
39013
- }, MP = (e = "") => {
39014
+ }, M8 = (e = "") => {
39014
39015
  let t;
39015
39016
  if (e && he(e, null)) {
39016
39017
  const n = he(e);
39017
39018
  n && n() && (t = n());
39018
39019
  }
39019
- return t || (t = new $P()), t;
39020
+ return t || (t = new $8()), t;
39020
39021
  }, jf = {
39021
- getNotify: PP,
39022
- getServerAPI: MP
39022
+ getNotify: P8,
39023
+ getServerAPI: M8
39023
39024
  };
39024
- class OP {
39025
+ class O8 {
39025
39026
  constructor(t, n) {
39026
39027
  // 记录在上传的附件数组
39027
39028
  j(this, "queue");
@@ -39098,7 +39099,7 @@ class OP {
39098
39099
  */
39099
39100
  rejectedReason(t, n, a) {
39100
39101
  let o = !1, i = "";
39101
- return this.queue.findIndex((l) => l.name === t) > -1 ? i = "上传失败:已存在同名文件" : this.uploadOpts.allowedContentTypes && !IP(this.uploadOpts.allowedContentTypes, t) ? i = `上传失败:只允许上传${this.uploadOpts.allowedContentTypes.join(",")}类型的文档` : this.exceedMaxUpload(n) ? i = `上传失败:文件总个数超出${this.uploadOpts.maxUploads}限制` : TP(this.uploadOpts.maxFileSize, a) ? a === 0 ? i = "上传失败:不允许文件为空" : o = !0 : i = `上传失败:单个文件大小超出${this.uploadOpts.maxFileSize}MB的限制`, {
39102
+ return this.queue.findIndex((l) => l.name === t) > -1 ? i = "上传失败:已存在同名文件" : this.uploadOpts.allowedContentTypes && !I8(this.uploadOpts.allowedContentTypes, t) ? i = `上传失败:只允许上传${this.uploadOpts.allowedContentTypes.join(",")}类型的文档` : this.exceedMaxUpload(n) ? i = `上传失败:文件总个数超出${this.uploadOpts.maxUploads}限制` : T8(this.uploadOpts.maxFileSize, a) ? a === 0 ? i = "上传失败:不允许文件为空" : o = !0 : i = `上传失败:单个文件大小超出${this.uploadOpts.maxFileSize}MB的限制`, {
39102
39103
  allowed: o,
39103
39104
  message: i
39104
39105
  };
@@ -39226,10 +39227,10 @@ class OP {
39226
39227
  }
39227
39228
  const Hf = /* @__PURE__ */ Z({
39228
39229
  name: "FFileSelect",
39229
- props: CP,
39230
+ props: C8,
39230
39231
  emits: ["change", "stateChange"],
39231
39232
  setup(e, t) {
39232
- const n = new OP(t, e.uploadServerToken), a = Zi(), o = y("*");
39233
+ const n = new O8(t, e.uploadServerToken), a = Zi(), o = y("*");
39233
39234
  let i;
39234
39235
  const s = () => {
39235
39236
  i.files && (t.emit("change", i.files), n.handleFiles(i.files), i.value = null);
@@ -39277,7 +39278,7 @@ const Hf = /* @__PURE__ */ Z({
39277
39278
  style: "top: 2px;position: relative;"
39278
39279
  }, null), e.selectText])]);
39279
39280
  }
39280
- }), RP = "https://json-schema.org/draft/2020-12/schema", _P = "https://farris-design.gitee.io/uploader.schema.json", jP = "uploader", HP = "A Farris Component", NP = "object", VP = {
39281
+ }), R8 = "https://json-schema.org/draft/2020-12/schema", _8 = "https://farris-design.gitee.io/uploader.schema.json", j8 = "uploader", H8 = "A Farris Component", N8 = "object", V8 = {
39281
39282
  id: {
39282
39283
  description: "The unique identifier for uploader",
39283
39284
  type: "string"
@@ -39329,24 +39330,24 @@ const Hf = /* @__PURE__ */ Z({
39329
39330
  type: "boolean",
39330
39331
  default: !0
39331
39332
  }
39332
- }, LP = [
39333
+ }, L8 = [
39333
39334
  "id",
39334
39335
  "type"
39335
- ], WP = {
39336
- $schema: RP,
39337
- $id: _P,
39338
- title: jP,
39339
- description: HP,
39340
- type: NP,
39341
- properties: VP,
39342
- required: LP
39343
- }, zP = /* @__PURE__ */ new Map([
39336
+ ], W8 = {
39337
+ $schema: R8,
39338
+ $id: _8,
39339
+ title: j8,
39340
+ description: H8,
39341
+ type: N8,
39342
+ properties: V8,
39343
+ required: L8
39344
+ }, z8 = /* @__PURE__ */ new Map([
39344
39345
  ["appearance", ke]
39345
39346
  ]);
39346
- function qP(e, t, n) {
39347
+ function q8(e, t, n) {
39347
39348
  return t;
39348
39349
  }
39349
- const GP = "uploader", YP = "A Farris Component", UP = "object", KP = {
39350
+ const G8 = "uploader", Y8 = "A Farris Component", U8 = "object", K8 = {
39350
39351
  basic: {
39351
39352
  description: "Basic Infomation",
39352
39353
  title: "基本信息",
@@ -39368,11 +39369,11 @@ const GP = "uploader", YP = "A Farris Component", UP = "object", KP = {
39368
39369
  }
39369
39370
  }
39370
39371
  }
39371
- }, XP = {
39372
- title: GP,
39373
- description: YP,
39374
- type: UP,
39375
- categories: KP
39372
+ }, X8 = {
39373
+ title: G8,
39374
+ description: Y8,
39375
+ type: U8,
39376
+ categories: K8
39376
39377
  }, Ss = {
39377
39378
  /** 内容区域填充 */
39378
39379
  contentFill: { type: Boolean, default: !1 },
@@ -39437,7 +39438,7 @@ const GP = "uploader", YP = "A Farris Component", UP = "object", KP = {
39437
39438
  * 提示服务注入的Token
39438
39439
  */
39439
39440
  notifyServiceToken: { type: String, default: "" }
39440
- }, wc = ye(Ss, WP, zP, qP, XP);
39441
+ }, wc = ye(Ss, W8, z8, q8, X8);
39441
39442
  function Nf(e, t, n) {
39442
39443
  const a = jf.getNotify(e.notifyServiceToken), o = y(e.fileInfos), {
39443
39444
  disabled: i,
@@ -39453,7 +39454,7 @@ function Nf(e, t, n) {
39453
39454
  } = Gn(e), v = y(!1), g = y([]), x = $(() => g.value.length), b = y([]), C = y(""), w = $(() => {
39454
39455
  (!o.value.length || g.value.length !== o.value.length) && (v.value = !1);
39455
39456
  const N = o.value.map((W) => (W.hasOwnProperty("size") || (W.size = void 0), W.hasOwnProperty("createTime") || (W.createTime = void 0), W));
39456
- if (N.sort(kP(c.value)), u.value) {
39457
+ if (N.sort(k8(c.value)), u.value) {
39457
39458
  const W = N.map((L) => (L.checked = !!g.value.find((Y) => Y.id === L.id) || v.value, L));
39458
39459
  return g.value = [...W].filter((L) => L.checked), W;
39459
39460
  }
@@ -39533,7 +39534,7 @@ function Nf(e, t, n) {
39533
39534
  size: L.size,
39534
39535
  createTime: ws(/* @__PURE__ */ new Date(), "yyyy-MM-dd HH:mm:ss")
39535
39536
  }));
39536
- o.value = [...W, ...w.value], H(N), t.emit("fUploadDoneEvent", FP(N.files || []));
39537
+ o.value = [...W, ...w.value], H(N), t.emit("fUploadDoneEvent", F8(N.files || []));
39537
39538
  } else N.type === "cancelled" || N.type === "removed" || N.type === "error" ? (b.value = b.value.filter((W) => N.files && N.files.findIndex((L) => {
39538
39539
  var Y;
39539
39540
  return ((Y = W == null ? void 0 : W.file) == null ? void 0 : Y.id) === L.id;
@@ -39570,7 +39571,7 @@ function Nf(e, t, n) {
39570
39571
  const Go = /* @__PURE__ */ Z({
39571
39572
  name: "FUploader",
39572
39573
  components: {
39573
- "f-upload-progress": wP,
39574
+ "f-upload-progress": w8,
39574
39575
  "f-preview-checkbox": Mf,
39575
39576
  "f-file-select": Hf
39576
39577
  },
@@ -39676,7 +39677,7 @@ const Go = /* @__PURE__ */ Z({
39676
39677
  function U(K, te, le) {
39677
39678
  return r("div", {
39678
39679
  class: "uploadAndpreview--filesize-container"
39679
- }, [K === "preview" && le ? r("span", null, [BP(le.size)]) : null, K === "upload" && te ? r("span", null, [bc(te)]) : null]);
39680
+ }, [K === "preview" && le ? r("span", null, [B8(le.size)]) : null, K === "upload" && te ? r("span", null, [bc(te)]) : null]);
39680
39681
  }
39681
39682
  function _(K, te) {
39682
39683
  return r("div", {
@@ -39871,7 +39872,7 @@ const Go = /* @__PURE__ */ Z({
39871
39872
  class: "table table-bordered uploadAndpreview--table"
39872
39873
  }, [r("thead", null, [G()]), r("tbody", null, [z(), Q()])]) : null]) : null, D.value ? O() : null]);
39873
39874
  }
39874
- }), QP = /* @__PURE__ */ Z({
39875
+ }), Q8 = /* @__PURE__ */ Z({
39875
39876
  name: "FUploaderDesign",
39876
39877
  components: {
39877
39878
  "f-preview-checkbox": Mf,
@@ -40073,7 +40074,7 @@ const Go = /* @__PURE__ */ Z({
40073
40074
  class: "table table-bordered uploadAndpreview--table"
40074
40075
  }, [r("thead", null, [I()]), r("tbody", null, [E()])])]), b()]) : null]);
40075
40076
  }
40076
- }), ZP = {
40077
+ }), Z8 = {
40077
40078
  install(e) {
40078
40079
  e.component(Go.name, Go);
40079
40080
  },
@@ -40081,9 +40082,9 @@ const Go = /* @__PURE__ */ Z({
40081
40082
  e.uploader = Go, t.uploader = wc;
40082
40083
  },
40083
40084
  registerDesigner(e, t, n) {
40084
- e.uploader = QP, t.uploader = wc;
40085
+ e.uploader = Q8, t.uploader = wc;
40085
40086
  }
40086
- }, JP = /* @__PURE__ */ new Map([
40087
+ }, J8 = /* @__PURE__ */ new Map([
40087
40088
  ["appearance", ke]
40088
40089
  ]);
40089
40090
  function eM(e, t, n) {
@@ -40229,7 +40230,7 @@ const tM = "https://json-schema.org/draft/2020-12/schema", nM = "https://farris-
40229
40230
  },
40230
40231
  customClass: { type: String, default: "" },
40231
40232
  maxHeight: { type: Number, default: 200 }
40232
- }, Sc = ye(ks, lM, JP, eM, pM), ya = /* @__PURE__ */ Z({
40233
+ }, Sc = ye(ks, lM, J8, eM, pM), ya = /* @__PURE__ */ Z({
40233
40234
  name: "FVerifyDetail",
40234
40235
  props: ks,
40235
40236
  emits: ["validatorClick", "listshow"],
@@ -47044,7 +47045,7 @@ const U5 = /* @__PURE__ */ Z({
47044
47045
  }, De = {}, Fe = {}, Ae = {};
47045
47046
  let cu = !1;
47046
47047
  function X5() {
47047
- cu || (cu = !0, w1.register(De, Fe, Ae), i1.register(De, Fe, Ae), k1.register(De, Fe, Ae), z1.registerDesigner(De, Fe, Ae), pC.register(De, Fe, Ae), mC.register(De, Fe, Ae), hC.register(De, Fe, Ae), yC.register(De, Fe, Ae), OC.register(De, Fe), Rw.register(De, Fe, Ae), yw.registerDesigner(De, Fe, Ae), b2.register(De, Fe, Ae), N2.register(De, Fe, Ae), oS.register(De, Fe, Ae), J5.register(De, Fe, Ae), Sk.register(De, Fe, Ae), F3.register(De, Fe, Ae), Lk.register(De, Fe, Ae), zk.register(De, Fe, Ae), xB.register(De, Fe, Ae), eD.register(De, Fe, Ae), jB.registerDesigner(De, Fe, Ae), TD.register(De, Fe, Ae), ZD.register(De, Fe, Ae), mF.register(De, Fe, Ae), $F.register(De, Fe, Ae), XF.register(De, Fe, Ae), ZF.register(De, Fe, Ae), ST.register(De, Fe, Ae), NT.register(De, Fe, Ae), aA.register(De, Fe, Ae), FA.register(De, Fe, Ae), QA.register(De, Fe, Ae), vI.register(De, Fe, Ae), $I.register(De, Fe, Ae), a4.register(De, Fe, Ae), dE.register(De, Fe, Ae), hT.register(De, Fe, Ae), AE.register(De, Fe, Ae), $E.register(De, Fe, Ae), KE.register(De, Fe, Ae), A$.register(De, Fe, Ae), G$.register(De, Fe, Ae), U$.register(De, Fe, Ae), o8.register(De, Fe, Ae), r8.register(De, Fe, Ae), E8.register(De, Fe, Ae), Z8.register(De, Fe, Ae), eP.register(De, Fe, Ae), yP.register(De, Fe, Ae), hM.register(De, Fe, Ae), ZP.register(De, Fe, Ae), I5.register(De, Fe, Ae), K5.register(De, Fe, Ae));
47048
+ cu || (cu = !0, w1.register(De, Fe, Ae), i1.register(De, Fe, Ae), k1.register(De, Fe, Ae), z1.registerDesigner(De, Fe, Ae), pC.register(De, Fe, Ae), mC.register(De, Fe, Ae), hC.register(De, Fe, Ae), yC.register(De, Fe, Ae), OC.register(De, Fe), Rw.register(De, Fe, Ae), yw.registerDesigner(De, Fe, Ae), b2.register(De, Fe, Ae), N2.register(De, Fe, Ae), oS.register(De, Fe, Ae), J5.register(De, Fe, Ae), Sk.register(De, Fe, Ae), F3.register(De, Fe, Ae), Lk.register(De, Fe, Ae), zk.register(De, Fe, Ae), xB.register(De, Fe, Ae), eD.register(De, Fe, Ae), jB.registerDesigner(De, Fe, Ae), TD.register(De, Fe, Ae), ZD.register(De, Fe, Ae), mF.register(De, Fe, Ae), $F.register(De, Fe, Ae), XF.register(De, Fe, Ae), ZF.register(De, Fe, Ae), ST.register(De, Fe, Ae), NT.register(De, Fe, Ae), aA.register(De, Fe, Ae), FA.register(De, Fe, Ae), QA.register(De, Fe, Ae), vI.register(De, Fe, Ae), $I.register(De, Fe, Ae), a4.register(De, Fe, Ae), dE.register(De, Fe, Ae), hT.register(De, Fe, Ae), AE.register(De, Fe, Ae), $E.register(De, Fe, Ae), KE.register(De, Fe, Ae), A$.register(De, Fe, Ae), G$.register(De, Fe, Ae), U$.register(De, Fe, Ae), oP.register(De, Fe, Ae), rP.register(De, Fe, Ae), EP.register(De, Fe, Ae), ZP.register(De, Fe, Ae), e8.register(De, Fe, Ae), y8.register(De, Fe, Ae), hM.register(De, Fe, Ae), Z8.register(De, Fe, Ae), I5.register(De, Fe, Ae), K5.register(De, Fe, Ae));
47048
47049
  }
47049
47050
  function Uf() {
47050
47051
  X5();