@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
@@ -36643,7 +36643,7 @@ function Z$(e, t) {
36643
36643
  function J$(e) {
36644
36644
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !$a(e);
36645
36645
  }
36646
- const e8 = /* @__PURE__ */ Z({
36646
+ const eP = /* @__PURE__ */ Z({
36647
36647
  name: "FTabPageDesign",
36648
36648
  props: sr,
36649
36649
  emits: [],
@@ -36654,51 +36654,52 @@ const e8 = /* @__PURE__ */ Z({
36654
36654
  slots: t.slots,
36655
36655
  props: e
36656
36656
  }, c = y((s == null ? void 0 : s.tabType.value) || "default");
36657
- function u() {
36658
- e.id === s.activeId.value ? a.designerItemElementRef.value.classList.remove("d-none") : a.designerItemElementRef.value.classList.add("d-none");
36659
- }
36660
36657
  ue(() => {
36661
36658
  n.value.componentInstance = i;
36662
- const g = s.tabPages.value.findIndex((x) => x.props.id === e.id);
36663
- !g || g === -1 ? s == null || s.addTab(p) : g > -1 && (l.value = !1, console.warn(`已经存在id为${e.id}的页签啦`)), u();
36659
+ const x = s.tabPages.value.findIndex((b) => b.props.id === e.id);
36660
+ !x || x === -1 ? s == null || s.addTab(p) : x > -1 && (l.value = !1, console.warn(`已经存在id为${e.id}的页签啦`));
36664
36661
  }), Ct(() => {
36665
36662
  });
36666
- const f = $(() => ({
36667
- display: (e == null ? void 0 : e.id) === (s == null ? void 0 : s.activeId.value) ? "" : "none"
36663
+ const u = $(() => (e == null ? void 0 : e.id) === (s == null ? void 0 : s.activeId.value)), f = $(() => ({
36664
+ display: u.value ? "" : "none"
36668
36665
  }));
36669
- J(() => e, (g) => {
36666
+ J(() => e, (x) => {
36670
36667
  s == null || s.updateTab({
36671
- props: g,
36668
+ props: x,
36672
36669
  slots: t.slots
36673
36670
  });
36674
36671
  }, {
36675
36672
  immediate: !0,
36676
36673
  deep: !0
36677
- }), J(s.activeId, u);
36674
+ });
36678
36675
  function d() {
36679
- var x, b;
36680
- const g = (b = (x = t.slots).default) == null ? void 0 : b.call(x);
36676
+ var b, C;
36677
+ const x = (C = (b = t.slots).default) == null ? void 0 : C.call(b);
36681
36678
  return r(Rn, {
36682
36679
  "main-title": e.title,
36683
36680
  class: "farris-tab-page"
36684
- }, J$(g) ? g : {
36685
- default: () => [g]
36681
+ }, J$(x) ? x : {
36682
+ default: () => [x]
36686
36683
  });
36687
36684
  }
36688
- function h() {
36689
- var x, b;
36690
- const g = (b = (x = t.slots).default) == null ? void 0 : b.call(x);
36685
+ const h = $(() => ({
36686
+ "farris-tab-page": !0,
36687
+ "drag-container": !0
36688
+ }));
36689
+ function m() {
36690
+ var b, C;
36691
+ const x = (C = (b = t.slots).default) == null ? void 0 : C.call(b);
36691
36692
  return r("div", {
36692
36693
  ref: n,
36693
- class: "farris-tab-page drag-container",
36694
+ class: h.value,
36694
36695
  "data-dragref": `${a.schema.id}-container`,
36695
36696
  style: f.value
36696
- }, [g]);
36697
+ }, [x]);
36697
36698
  }
36698
- const v = (/* @__PURE__ */ new Map([["default", h], ["one-page", d]])).get(c.value) || h;
36699
- return () => l.value ? v() : null;
36699
+ const g = (/* @__PURE__ */ new Map([["default", m], ["one-page", d]])).get(c.value) || m;
36700
+ return () => l.value ? g() : null;
36700
36701
  }
36701
- }), t8 = {
36702
+ }), tP = {
36702
36703
  install(e) {
36703
36704
  e.component(oa.name, oa), e.component(yn.name, yn);
36704
36705
  },
@@ -36706,9 +36707,9 @@ const e8 = /* @__PURE__ */ Z({
36706
36707
  e.tabs = oa, e["tab-page"] = yn, t.tabs = Zs, t["tab-page"] = al;
36707
36708
  },
36708
36709
  registerDesigner(e, t, n) {
36709
- e.tabs = Q$, e["tab-page"] = e8, t.tabs = Zs, t["tab-page"] = al;
36710
+ e.tabs = Q$, e["tab-page"] = eP, t.tabs = Zs, t["tab-page"] = al;
36710
36711
  }
36711
- }, n8 = /* @__PURE__ */ Z({
36712
+ }, nP = /* @__PURE__ */ Z({
36712
36713
  name: "FTagsDesign",
36713
36714
  props: fr,
36714
36715
  emits: ["remove", "selectionChange", "change"],
@@ -36943,7 +36944,7 @@ const e8 = /* @__PURE__ */ Z({
36943
36944
  onWheel: (oe) => te(oe)
36944
36945
  }, [Q()])]);
36945
36946
  }
36946
- }), a8 = {
36947
+ }), aP = {
36947
36948
  install(e) {
36948
36949
  e.component(ia.name, ia);
36949
36950
  },
@@ -36951,15 +36952,15 @@ const e8 = /* @__PURE__ */ Z({
36951
36952
  e.tags = ia, t.tags = sl;
36952
36953
  },
36953
36954
  registerDesigner(e, t, n) {
36954
- e.tags = n8, t.tags = sl;
36955
+ e.tags = nP, t.tags = sl;
36955
36956
  }
36956
- }, o8 = /* @__PURE__ */ new Map([
36957
+ }, oP = /* @__PURE__ */ new Map([
36957
36958
  ["appearance", ke]
36958
36959
  ]);
36959
- function i8(e, t, n) {
36960
+ function iP(e, t, n) {
36960
36961
  return t;
36961
36962
  }
36962
- const r8 = "text", s8 = "A Farris Component", l8 = "object", c8 = {
36963
+ const rP = "text", sP = "A Farris Component", lP = "object", cP = {
36963
36964
  basic: {
36964
36965
  description: "Basic Infomation",
36965
36966
  title: "基本信息",
@@ -36981,12 +36982,12 @@ const r8 = "text", s8 = "A Farris Component", l8 = "object", c8 = {
36981
36982
  }
36982
36983
  }
36983
36984
  }
36984
- }, u8 = {
36985
- title: r8,
36986
- description: s8,
36987
- type: l8,
36988
- categories: c8
36989
- }, d8 = "https://json-schema.org/draft/2020-12/schema", f8 = "https://farris-design.gitee.io/text.schema.json", p8 = "text", v8 = "A Farris Component", m8 = "object", h8 = {
36985
+ }, uP = {
36986
+ title: rP,
36987
+ description: sP,
36988
+ type: lP,
36989
+ categories: cP
36990
+ }, dP = "https://json-schema.org/draft/2020-12/schema", fP = "https://farris-design.gitee.io/text.schema.json", pP = "text", vP = "A Farris Component", mP = "object", hP = {
36990
36991
  id: {
36991
36992
  description: "The unique identifier for text",
36992
36993
  type: "string"
@@ -37048,17 +37049,17 @@ const r8 = "text", s8 = "A Farris Component", l8 = "object", c8 = {
37048
37049
  type: "boolean",
37049
37050
  default: !0
37050
37051
  }
37051
- }, g8 = [
37052
+ }, gP = [
37052
37053
  "id",
37053
37054
  "type"
37054
- ], y8 = {
37055
- $schema: d8,
37056
- $id: f8,
37057
- title: p8,
37058
- description: v8,
37059
- type: m8,
37060
- properties: h8,
37061
- required: g8
37055
+ ], yP = {
37056
+ $schema: dP,
37057
+ $id: fP,
37058
+ title: pP,
37059
+ description: vP,
37060
+ type: mP,
37061
+ properties: hP,
37062
+ required: gP
37062
37063
  }, ys = {
37063
37064
  // 组件值
37064
37065
  modelValue: { type: [String, Number, Boolean], default: "" },
@@ -37100,12 +37101,12 @@ const r8 = "text", s8 = "A Farris Component", l8 = "object", c8 = {
37100
37101
  dateRangeDelimiter: { type: String, default: "~" },
37101
37102
  // 枚举项的分隔符
37102
37103
  enumDelimiter: { type: String, default: "," }
37103
- }, pc = ye(ys, y8, o8, i8, u8);
37104
- function b8(e) {
37104
+ }, pc = ye(ys, yP, oP, iP, uP);
37105
+ function bP(e) {
37105
37106
  let t;
37106
37107
  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;
37107
37108
  }
37108
- function x8(e, t, n, a, o) {
37109
+ function xP(e, t, n, a, o) {
37109
37110
  if (e == null || e === "")
37110
37111
  return "";
37111
37112
  if (t && t.length) {
@@ -37120,26 +37121,26 @@ function x8(e, t, n, a, o) {
37120
37121
  }
37121
37122
  function vc(e, t) {
37122
37123
  let n;
37123
- return t || (t = "YYYY-MM-DD"), t === "timeago" ? Mb().formatTo(e) : (t === "hh:mm:ss" || t === "HH:mm:ss" ? n = e : n = Cr().formatTo(e, b8(t)), n);
37124
+ return t || (t = "YYYY-MM-DD"), t === "timeago" ? Mb().formatTo(e) : (t === "hh:mm:ss" || t === "HH:mm:ss" ? n = e : n = Cr().formatTo(e, bP(t)), n);
37124
37125
  }
37125
- function C8(e, t) {
37126
+ function CP(e, t) {
37126
37127
  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;
37127
37128
  }
37128
- function w8(e) {
37129
+ function wP(e) {
37129
37130
  return e.replace(/[a-z]+/g, (t) => t.toUpperCase());
37130
37131
  }
37131
- function S8(e, t, n) {
37132
+ function SP(e, t, n) {
37132
37133
  return e.toString().indexOf(".") > -1 ? (console.warn("十进制转换仅限整型类型"), "") : (Array(t).join(n) + e).slice(-t);
37133
37134
  }
37134
- function k8(e, t) {
37135
+ function kP(e, t) {
37135
37136
  return Number(e * 100).toFixed(Number(t)) + "%";
37136
37137
  }
37137
- function B8(e, t, n, a, o, i, s) {
37138
+ function BP(e, t, n, a, o, i, s) {
37138
37139
  if (!t && !n)
37139
37140
  return e.toString();
37140
37141
  if (n && n.type && n.type === "number" && n.formatter)
37141
37142
  return n.formatter(e);
37142
- const l = w8(t.substring(0, 1)), p = Number(t.substring(1)), c = {};
37143
+ const l = wP(t.substring(0, 1)), p = Number(t.substring(1)), c = {};
37143
37144
  let u;
37144
37145
  if (!/C|D|F|N|P/g.test(l)) {
37145
37146
  console.log(`不支持format为 ${t} 类型的数字格式化`);
@@ -37152,7 +37153,7 @@ function B8(e, t, n, a, o, i, s) {
37152
37153
  Object.assign(c, { prefix: "¥", precision: p }), u = f(e, c);
37153
37154
  break;
37154
37155
  case "D":
37155
- u = S8(e, p, s);
37156
+ u = SP(e, p, s);
37156
37157
  break;
37157
37158
  case "F":
37158
37159
  Object.assign(c, { prefix: "", groupSeparator: "", precision: p }), u = f(e, c);
@@ -37161,12 +37162,12 @@ function B8(e, t, n, a, o, i, s) {
37161
37162
  Object.assign(c, { prefix: "", precision: p }), u = f(e, c);
37162
37163
  break;
37163
37164
  case "P":
37164
- u = k8(e, p);
37165
+ u = kP(e, p);
37165
37166
  break;
37166
37167
  }
37167
37168
  return u;
37168
37169
  }
37169
- function D8(e) {
37170
+ function DP(e) {
37170
37171
  return e === !0 ? "是" : e === !1 || e == null || e === "" || typeof e > "u" ? "否" : e;
37171
37172
  }
37172
37173
  const zo = /* @__PURE__ */ Z({
@@ -37218,13 +37219,13 @@ const zo = /* @__PURE__ */ Z({
37218
37219
  }
37219
37220
  break;
37220
37221
  case "number":
37221
- l.value = C8(l.value, e.numberOptions), x = B8(g, l.value, e.numberOptions, e.groupSeparator, e.decimalSeparator, e.amountExpression, e.decimalFilledSymbol);
37222
+ l.value = CP(l.value, e.numberOptions), x = BP(g, l.value, e.numberOptions, e.groupSeparator, e.decimalSeparator, e.amountExpression, e.decimalFilledSymbol);
37222
37223
  break;
37223
37224
  case "enum":
37224
- x = x8(g, e.enumConvertedDatas, e.enumDelimiter, e.textField, e.valueField);
37225
+ x = xP(g, e.enumConvertedDatas, e.enumDelimiter, e.textField, e.valueField);
37225
37226
  break;
37226
37227
  case "boolean":
37227
- x = D8(g);
37228
+ x = DP(g);
37228
37229
  break;
37229
37230
  }
37230
37231
  return x;
@@ -37243,7 +37244,7 @@ const zo = /* @__PURE__ */ Z({
37243
37244
  title: u.value
37244
37245
  }, [h.value]);
37245
37246
  }
37246
- }), F8 = /* @__PURE__ */ Z({
37247
+ }), FP = /* @__PURE__ */ Z({
37247
37248
  name: "FTextDesign",
37248
37249
  props: ys,
37249
37250
  emits: ["update:modelValue"],
@@ -37268,7 +37269,7 @@ const zo = /* @__PURE__ */ Z({
37268
37269
  style: c.value
37269
37270
  }, [l.value]);
37270
37271
  }
37271
- }), T8 = {
37272
+ }), TP = {
37272
37273
  install(e) {
37273
37274
  e.component(zo.name, zo);
37274
37275
  },
@@ -37276,11 +37277,11 @@ const zo = /* @__PURE__ */ Z({
37276
37277
  e.text = zo, t.text = pc;
37277
37278
  },
37278
37279
  registerDesigner(e, t, n) {
37279
- e.text = F8, t.text = pc;
37280
+ e.text = FP, t.text = pc;
37280
37281
  }
37281
- }, A8 = /* @__PURE__ */ new Map([
37282
+ }, AP = /* @__PURE__ */ new Map([
37282
37283
  ["appearance", ke]
37283
- ]), I8 = "https://json-schema.org/draft/2020-12/schema", E8 = "https://farris-design.gitee.io/time-picker.schema.json", $8 = "time-picker", P8 = "A Farris Input Component", M8 = "object", O8 = {
37284
+ ]), IP = "https://json-schema.org/draft/2020-12/schema", EP = "https://farris-design.gitee.io/time-picker.schema.json", $P = "time-picker", PP = "A Farris Input Component", MP = "object", OP = {
37284
37285
  id: {
37285
37286
  description: "The unique identifier for a time picker",
37286
37287
  type: "string"
@@ -37342,22 +37343,22 @@ const zo = /* @__PURE__ */ Z({
37342
37343
  type: "boolean",
37343
37344
  default: !0
37344
37345
  }
37345
- }, R8 = [
37346
+ }, RP = [
37346
37347
  "id",
37347
37348
  "type"
37348
- ], _8 = {
37349
- $schema: I8,
37350
- $id: E8,
37351
- title: $8,
37352
- description: P8,
37353
- type: M8,
37354
- properties: O8,
37355
- required: R8
37349
+ ], _P = {
37350
+ $schema: IP,
37351
+ $id: EP,
37352
+ title: $P,
37353
+ description: PP,
37354
+ type: MP,
37355
+ properties: OP,
37356
+ required: RP
37356
37357
  };
37357
- function j8(e, t, n) {
37358
+ function jP(e, t, n) {
37358
37359
  return t;
37359
37360
  }
37360
- const H8 = "time-picker", N8 = "A Farris Component", V8 = "object", L8 = {
37361
+ const HP = "time-picker", NP = "A Farris Component", VP = "object", LP = {
37361
37362
  basic: {
37362
37363
  description: "Basic Infomation",
37363
37364
  title: "基本信息",
@@ -37439,11 +37440,11 @@ const H8 = "time-picker", N8 = "A Farris Component", V8 = "object", L8 = {
37439
37440
  }
37440
37441
  }
37441
37442
  }
37442
- }, W8 = {
37443
- title: H8,
37444
- description: N8,
37445
- type: V8,
37446
- categories: L8
37443
+ }, WP = {
37444
+ title: HP,
37445
+ description: NP,
37446
+ type: VP,
37447
+ categories: LP
37447
37448
  }, bs = {
37448
37449
  /**
37449
37450
  * 组件值,这个是与指定的format格式相对应的值
@@ -37472,7 +37473,7 @@ const H8 = "time-picker", N8 = "A Farris Component", V8 = "object", L8 = {
37472
37473
  disable: { type: Boolean, default: !1 },
37473
37474
  readonly: { type: Boolean, default: !1 },
37474
37475
  editable: { type: Boolean, default: !0 }
37475
- }, mc = ye(bs, _8, A8, j8, W8), z8 = {
37476
+ }, mc = ye(bs, _P, AP, jP, WP), zP = {
37476
37477
  modelValue: {
37477
37478
  type: String,
37478
37479
  default: ""
@@ -37540,7 +37541,7 @@ function $f(e, t) {
37540
37541
  let n = e || "hh:mm:ss";
37541
37542
  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;
37542
37543
  }
37543
- class q8 {
37544
+ class qP {
37544
37545
  constructor() {
37545
37546
  j(this, "hourStep", 1);
37546
37547
  j(this, "minuteStep", 1);
@@ -37706,7 +37707,7 @@ class q8 {
37706
37707
  return n === "PM" && t > 12 ? t - 12 : n === "AM" && t === 0 ? 12 : t;
37707
37708
  }
37708
37709
  }
37709
- function G8(e, t, n, a, o, i) {
37710
+ function GP(e, t, n, a, o, i) {
37710
37711
  function s(u, f, d = 0, h, m) {
37711
37712
  const v = l(f, h, m), g = u.children[0].children[v] || u.children[0].children[0];
37712
37713
  p(u, g.offsetTop, d);
@@ -37753,7 +37754,7 @@ function G8(e, t, n, a, o, i) {
37753
37754
  }
37754
37755
  return { scrollToSelected: s };
37755
37756
  }
37756
- function Y8(e, t) {
37757
+ function YP(e, t) {
37757
37758
  function n(l) {
37758
37759
  return l.index === e.viewHours || !Je(e.viewHours) && l.index === e.defaultViewHours;
37759
37760
  }
@@ -37776,14 +37777,14 @@ function Y8(e, t) {
37776
37777
  }
37777
37778
  const Ki = /* @__PURE__ */ Z({
37778
37779
  name: "FTimePickerTimeView",
37779
- props: z8,
37780
+ props: zP,
37780
37781
  emits: ["valueChange", "formatedValueChange"],
37781
37782
  setup(e, t) {
37782
- 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 q8(), {
37783
+ 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 qP(), {
37783
37784
  scrollToSelected: h
37784
- } = G8(e, t, o, i, s, l), {
37785
+ } = GP(e, t, o, i, s, l), {
37785
37786
  getSelectedClass: m
37786
- } = Y8(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);
37787
+ } = YP(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);
37787
37788
  J(() => e.defaultOpenValue, (q) => {
37788
37789
  Je(q) && (b.value = q);
37789
37790
  }), J(b, (q) => {
@@ -38023,7 +38024,7 @@ const Ki = /* @__PURE__ */ Z({
38023
38024
  }), null)]
38024
38025
  });
38025
38026
  }
38026
- }), U8 = /* @__PURE__ */ Z({
38027
+ }), UP = /* @__PURE__ */ Z({
38027
38028
  name: "FTimePickerDesign",
38028
38029
  props: bs,
38029
38030
  emits: ["datePicked", "update:modelValue"],
@@ -38047,7 +38048,7 @@ const Ki = /* @__PURE__ */ Z({
38047
38048
  default: () => [r(Qe("f-time-picker-time-view"), null, null)]
38048
38049
  })]);
38049
38050
  }
38050
- }), K8 = {
38051
+ }), KP = {
38051
38052
  install(e) {
38052
38053
  e.component(qo.name, qo).component(Ki.name, Ki);
38053
38054
  },
@@ -38055,9 +38056,9 @@ const Ki = /* @__PURE__ */ Z({
38055
38056
  e["time-picker"] = qo, t["time-picker"] = mc;
38056
38057
  },
38057
38058
  registerDesigner(e, t, n) {
38058
- e["time-picker"] = U8, t["time-picker"] = mc;
38059
+ e["time-picker"] = UP, t["time-picker"] = mc;
38059
38060
  }
38060
- }, X8 = /* @__PURE__ */ Z({
38061
+ }, XP = /* @__PURE__ */ Z({
38061
38062
  name: "FTransferDesign",
38062
38063
  props: nr,
38063
38064
  emits: ["change"],
@@ -38158,7 +38159,7 @@ const Ki = /* @__PURE__ */ Z({
38158
38159
  style: "height:480px"
38159
38160
  }, [x(), S()]);
38160
38161
  }
38161
- }), Q8 = {
38162
+ }), QP = {
38162
38163
  install(e) {
38163
38164
  e.component(Mn.name, Mn);
38164
38165
  },
@@ -38166,15 +38167,15 @@ const Ki = /* @__PURE__ */ Z({
38166
38167
  e.transfer = Mn, t.transfer = Qs;
38167
38168
  },
38168
38169
  registerDesigner(e, t, n) {
38169
- e.transfer = X8, t.transfer = Qs;
38170
+ e.transfer = XP, t.transfer = Qs;
38170
38171
  }
38171
- }, Z8 = /* @__PURE__ */ new Map([
38172
+ }, ZP = /* @__PURE__ */ new Map([
38172
38173
  ["appearance", ke]
38173
38174
  ]);
38174
- function J8(e, t, n) {
38175
+ function JP(e, t, n) {
38175
38176
  return t;
38176
38177
  }
38177
- const eP = "tree-view", tP = "A Farris Component", nP = "object", aP = {
38178
+ const e8 = "tree-view", t8 = "A Farris Component", n8 = "object", a8 = {
38178
38179
  basic: {
38179
38180
  description: "Basic Infomation",
38180
38181
  title: "基本信息",
@@ -38196,12 +38197,12 @@ const eP = "tree-view", tP = "A Farris Component", nP = "object", aP = {
38196
38197
  }
38197
38198
  }
38198
38199
  }
38199
- }, oP = {
38200
- title: eP,
38201
- description: tP,
38202
- type: nP,
38203
- categories: aP
38204
- }, iP = "https://json-schema.org/draft/2020-12/schema", rP = "https://farris-design.gitee.io/tree-view.schema.json", sP = "tree-view", lP = "A Farris Component", cP = "object", uP = {
38200
+ }, o8 = {
38201
+ title: e8,
38202
+ description: t8,
38203
+ type: n8,
38204
+ categories: a8
38205
+ }, i8 = "https://json-schema.org/draft/2020-12/schema", r8 = "https://farris-design.gitee.io/tree-view.schema.json", s8 = "tree-view", l8 = "A Farris Component", c8 = "object", u8 = {
38205
38206
  id: {
38206
38207
  description: "The unique identifier for tree-view",
38207
38208
  type: "string"
@@ -38263,17 +38264,17 @@ const eP = "tree-view", tP = "A Farris Component", nP = "object", aP = {
38263
38264
  type: "boolean",
38264
38265
  default: !0
38265
38266
  }
38266
- }, dP = [
38267
+ }, d8 = [
38267
38268
  "id",
38268
38269
  "type"
38269
- ], fP = {
38270
- $schema: iP,
38271
- $id: rP,
38272
- title: sP,
38273
- description: lP,
38274
- type: cP,
38275
- properties: uP,
38276
- required: dP
38270
+ ], f8 = {
38271
+ $schema: i8,
38272
+ $id: r8,
38273
+ title: s8,
38274
+ description: l8,
38275
+ type: c8,
38276
+ properties: u8,
38277
+ required: d8
38277
38278
  }, xs = {
38278
38279
  /** 列集合 */
38279
38280
  columns: {
@@ -38359,7 +38360,7 @@ const eP = "tree-view", tP = "A Farris Component", nP = "object", aP = {
38359
38360
  },
38360
38361
  /** 行配置 */
38361
38362
  rowOption: { type: Object }
38362
- }, hc = ye(xs, fP, Z8, J8, oP);
38363
+ }, hc = ye(xs, f8, ZP, JP, o8);
38363
38364
  function Pf(e, t, n, a, o, i, s, l, p, c, u, f, d) {
38364
38365
  const {
38365
38366
  calculateCellPositionInRow: h
@@ -38384,7 +38385,7 @@ function Pf(e, t, n, a, o, i, s, l, p, c, u, f, d) {
38384
38385
  renderTreeArea: b
38385
38386
  };
38386
38387
  }
38387
- function pP(e, t, n, a) {
38388
+ function p8(e, t, n, a) {
38388
38389
  var v, g, x, b, C, w;
38389
38390
  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");
38390
38391
  J(() => {
@@ -38428,7 +38429,7 @@ function pP(e, t, n, a) {
38428
38429
  return { autoCheckChildren: i, autoCheckParent: s, interactAfterCheckHierarchyItem: m };
38429
38430
  }
38430
38431
  function Cs(e, t, n, a, o) {
38431
- const { select: i, unSelect: s, indeterminate: l, getSelectedItems: p } = a, { autoCheckChildren: c, autoCheckParent: u, interactAfterCheckHierarchyItem: f } = pP(e, t, n), { idField: d } = n;
38432
+ const { select: i, unSelect: s, indeterminate: l, getSelectedItems: p } = a, { autoCheckChildren: c, autoCheckParent: u, interactAfterCheckHierarchyItem: f } = p8(e, t, n), { idField: d } = n;
38432
38433
  function h() {
38433
38434
  return t.value.filter((k) => !!k.checked).map((k) => k.raw.__fv_index__);
38434
38435
  }
@@ -38575,7 +38576,7 @@ const Go = /* @__PURE__ */ Z({
38575
38576
  }
38576
38577
  }, [P(), m(), v()])]);
38577
38578
  }
38578
- }), vP = /* @__PURE__ */ Z({
38579
+ }), v8 = /* @__PURE__ */ Z({
38579
38580
  name: "FTreeViewDesign",
38580
38581
  props: xs,
38581
38582
  emits: ["outputValue", "currentEvent", "selectionChange"],
@@ -38621,7 +38622,7 @@ const Go = /* @__PURE__ */ Z({
38621
38622
  }
38622
38623
  }, [O(), x(), b()])]);
38623
38624
  }
38624
- }), mP = {
38625
+ }), m8 = {
38625
38626
  install(e) {
38626
38627
  e.component(Go.name, Go);
38627
38628
  },
@@ -38629,16 +38630,16 @@ const Go = /* @__PURE__ */ Z({
38629
38630
  e["tree-view"] = Go, t["tree-view"] = hc;
38630
38631
  },
38631
38632
  registerDesigner(e, t, n) {
38632
- e["tree-view"] = vP, t["tree-view"] = hc;
38633
+ e["tree-view"] = v8, t["tree-view"] = hc;
38633
38634
  }
38634
- }, hP = {
38635
+ }, h8 = {
38635
38636
  // 是否被选中
38636
38637
  checked: { type: Boolean, default: !1 },
38637
38638
  // 进度条状态 默认'normal'
38638
38639
  id: { type: String, default: "" },
38639
38640
  // 禁用
38640
38641
  disabled: { type: Boolean, default: !1 }
38641
- }, gP = {
38642
+ }, g8 = {
38642
38643
  // 是否显示进度条信息
38643
38644
  showInfo: { type: Boolean, default: !0 },
38644
38645
  // 进度条状态 默认'normal'
@@ -38646,7 +38647,7 @@ const Go = /* @__PURE__ */ Z({
38646
38647
  // 已完成的分段百分比
38647
38648
  percent: { type: Number, default: 0 },
38648
38649
  maxWidth: { type: Number, default: 0 }
38649
- }, yP = {
38650
+ }, y8 = {
38650
38651
  /**
38651
38652
  * 按钮文本
38652
38653
  */
@@ -38679,9 +38680,9 @@ const Go = /* @__PURE__ */ Z({
38679
38680
  * 附件服务器端服务注入的Token
38680
38681
  */
38681
38682
  uploadServerToken: { type: String, default: "" }
38682
- }, bP = /* @__PURE__ */ Z({
38683
+ }, b8 = /* @__PURE__ */ Z({
38683
38684
  name: "FUploadProgress",
38684
- props: gP,
38685
+ props: g8,
38685
38686
  setup(e, t) {
38686
38687
  const {
38687
38688
  showInfo: n,
@@ -38711,7 +38712,7 @@ const Go = /* @__PURE__ */ Z({
38711
38712
  }
38712
38713
  }), Mf = /* @__PURE__ */ Z({
38713
38714
  name: "FPreviewCheckbox",
38714
- props: hP,
38715
+ props: h8,
38715
38716
  emits: ["checkedChange"],
38716
38717
  setup(e, t) {
38717
38718
  const {
@@ -38742,7 +38743,7 @@ const Go = /* @__PURE__ */ Z({
38742
38743
  }
38743
38744
  });
38744
38745
  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 || {});
38745
- class xP {
38746
+ class x8 {
38746
38747
  constructor(t = {}, n = {}) {
38747
38748
  /**
38748
38749
  * 上传配置
@@ -38766,7 +38767,7 @@ function gc(e, t) {
38766
38767
  let n = "";
38767
38768
  return e.indexOf(".") === -1 && t.hasOwnProperty(e) ? n = t[e] : n = e.split(".").reduce((a, o) => a ? a[o] : null, t), n;
38768
38769
  }
38769
- function CP(e) {
38770
+ function C8(e) {
38770
38771
  return (t, n) => {
38771
38772
  if (!t.hasOwnProperty(e) || t[e] === void 0 || t[e] === null)
38772
38773
  return 1;
@@ -38855,15 +38856,15 @@ function bc(e) {
38855
38856
  }
38856
38857
  return 5;
38857
38858
  }
38858
- function wP(e) {
38859
+ function w8(e) {
38859
38860
  let t = e;
38860
38861
  return e ? (typeof e == "string" && (t = parseInt(e, 10)), Vn(t)) : "0 Byte";
38861
38862
  }
38862
- const SP = () => Math.random().toString(36).substring(7);
38863
+ const S8 = () => Math.random().toString(36).substring(7);
38863
38864
  function xc(e, t) {
38864
38865
  return {
38865
38866
  fileIndex: t,
38866
- id: SP(),
38867
+ id: S8(),
38867
38868
  name: e.name,
38868
38869
  size: e.size,
38869
38870
  type: e.type,
@@ -38884,7 +38885,7 @@ function xc(e, t) {
38884
38885
  nativeFile: e
38885
38886
  };
38886
38887
  }
38887
- function kP(e) {
38888
+ function k8(e) {
38888
38889
  const t = [];
38889
38890
  return e.forEach((n) => {
38890
38891
  const a = { id: "", name: "", size: 0, type: "", extend: null, extendHeaders: null, createTime: "" };
@@ -38895,14 +38896,14 @@ function kP(e) {
38895
38896
  t.push(a);
38896
38897
  }), t;
38897
38898
  }
38898
- function BP(e, t) {
38899
+ function B8(e, t) {
38899
38900
  return e ? t <= e * 1024 * 1024 : !0;
38900
38901
  }
38901
- function DP(e) {
38902
+ function D8(e) {
38902
38903
  return e.find((t) => t === "*") !== void 0;
38903
38904
  }
38904
- function FP(e, t) {
38905
- if (!e || e.length === 0 || DP(e))
38905
+ function F8(e, t) {
38906
+ if (!e || e.length === 0 || D8(e))
38906
38907
  return !0;
38907
38908
  if (t.lastIndexOf(".") < 0)
38908
38909
  return !1;
@@ -38911,7 +38912,7 @@ function FP(e, t) {
38911
38912
  (a) => a.toLowerCase() === n.toLowerCase()
38912
38913
  ) > -1;
38913
38914
  }
38914
- function TP(e) {
38915
+ function T8(e) {
38915
38916
  if (e)
38916
38917
  return e.split(`
38917
38918
  `).map((t) => t.split(/: */, 2)).filter((t) => t[0]).reduce((t, n) => (t[n[0]] = n[1], t), {});
@@ -38919,7 +38920,7 @@ function TP(e) {
38919
38920
  function Cc(e) {
38920
38921
  return new Date(e * 1e3).toISOString().substr(11, 8);
38921
38922
  }
38922
- class AP extends xP {
38923
+ class A8 extends x8 {
38923
38924
  upload(t, n, a, o) {
38924
38925
  const i = t[0];
38925
38926
  return new Promise((s, l) => {
@@ -38965,7 +38966,7 @@ class AP extends xP {
38965
38966
  } catch {
38966
38967
  i.response = d.response;
38967
38968
  }
38968
- i.responseHeaders = TP(d.getAllResponseHeaders()), s({ type: "done", files: [i] });
38969
+ i.responseHeaders = T8(d.getAllResponseHeaders()), s({ type: "done", files: [i] });
38969
38970
  }
38970
38971
  }, d.open(c, p, !0), d.withCredentials = !!n.withCredentials;
38971
38972
  try {
@@ -38991,21 +38992,21 @@ class AP extends xP {
38991
38992
  });
38992
38993
  }
38993
38994
  }
38994
- const IP = (e = "") => {
38995
+ const I8 = (e = "") => {
38995
38996
  let t;
38996
38997
  return e && he(e, null) && (t = he(e)), t || (t = new Ur()), t;
38997
- }, EP = (e = "") => {
38998
+ }, E8 = (e = "") => {
38998
38999
  let t;
38999
39000
  if (e && he(e, null)) {
39000
39001
  const n = he(e);
39001
39002
  n && n() && (t = n());
39002
39003
  }
39003
- return t || (t = new AP()), t;
39004
+ return t || (t = new A8()), t;
39004
39005
  }, jf = {
39005
- getNotify: IP,
39006
- getServerAPI: EP
39006
+ getNotify: I8,
39007
+ getServerAPI: E8
39007
39008
  };
39008
- class $P {
39009
+ class $8 {
39009
39010
  constructor(t, n) {
39010
39011
  // 记录在上传的附件数组
39011
39012
  j(this, "queue");
@@ -39082,7 +39083,7 @@ class $P {
39082
39083
  */
39083
39084
  rejectedReason(t, n, a) {
39084
39085
  let o = !1, i = "";
39085
- return this.queue.findIndex((l) => l.name === t) > -1 ? i = "上传失败:已存在同名文件" : this.uploadOpts.allowedContentTypes && !FP(this.uploadOpts.allowedContentTypes, t) ? i = `上传失败:只允许上传${this.uploadOpts.allowedContentTypes.join(",")}类型的文档` : this.exceedMaxUpload(n) ? i = `上传失败:文件总个数超出${this.uploadOpts.maxUploads}限制` : BP(this.uploadOpts.maxFileSize, a) ? a === 0 ? i = "上传失败:不允许文件为空" : o = !0 : i = `上传失败:单个文件大小超出${this.uploadOpts.maxFileSize}MB的限制`, {
39086
+ return this.queue.findIndex((l) => l.name === t) > -1 ? i = "上传失败:已存在同名文件" : this.uploadOpts.allowedContentTypes && !F8(this.uploadOpts.allowedContentTypes, t) ? i = `上传失败:只允许上传${this.uploadOpts.allowedContentTypes.join(",")}类型的文档` : this.exceedMaxUpload(n) ? i = `上传失败:文件总个数超出${this.uploadOpts.maxUploads}限制` : B8(this.uploadOpts.maxFileSize, a) ? a === 0 ? i = "上传失败:不允许文件为空" : o = !0 : i = `上传失败:单个文件大小超出${this.uploadOpts.maxFileSize}MB的限制`, {
39086
39087
  allowed: o,
39087
39088
  message: i
39088
39089
  };
@@ -39210,10 +39211,10 @@ class $P {
39210
39211
  }
39211
39212
  const Hf = /* @__PURE__ */ Z({
39212
39213
  name: "FFileSelect",
39213
- props: yP,
39214
+ props: y8,
39214
39215
  emits: ["change", "stateChange"],
39215
39216
  setup(e, t) {
39216
- const n = new $P(t, e.uploadServerToken), a = Zi(), o = y("*");
39217
+ const n = new $8(t, e.uploadServerToken), a = Zi(), o = y("*");
39217
39218
  let i;
39218
39219
  const s = () => {
39219
39220
  i.files && (t.emit("change", i.files), n.handleFiles(i.files), i.value = null);
@@ -39261,7 +39262,7 @@ const Hf = /* @__PURE__ */ Z({
39261
39262
  style: "top: 2px;position: relative;"
39262
39263
  }, null), e.selectText])]);
39263
39264
  }
39264
- }), PP = "https://json-schema.org/draft/2020-12/schema", MP = "https://farris-design.gitee.io/uploader.schema.json", OP = "uploader", RP = "A Farris Component", _P = "object", jP = {
39265
+ }), P8 = "https://json-schema.org/draft/2020-12/schema", M8 = "https://farris-design.gitee.io/uploader.schema.json", O8 = "uploader", R8 = "A Farris Component", _8 = "object", j8 = {
39265
39266
  id: {
39266
39267
  description: "The unique identifier for uploader",
39267
39268
  type: "string"
@@ -39313,24 +39314,24 @@ const Hf = /* @__PURE__ */ Z({
39313
39314
  type: "boolean",
39314
39315
  default: !0
39315
39316
  }
39316
- }, HP = [
39317
+ }, H8 = [
39317
39318
  "id",
39318
39319
  "type"
39319
- ], NP = {
39320
- $schema: PP,
39321
- $id: MP,
39322
- title: OP,
39323
- description: RP,
39324
- type: _P,
39325
- properties: jP,
39326
- required: HP
39327
- }, VP = /* @__PURE__ */ new Map([
39320
+ ], N8 = {
39321
+ $schema: P8,
39322
+ $id: M8,
39323
+ title: O8,
39324
+ description: R8,
39325
+ type: _8,
39326
+ properties: j8,
39327
+ required: H8
39328
+ }, V8 = /* @__PURE__ */ new Map([
39328
39329
  ["appearance", ke]
39329
39330
  ]);
39330
- function LP(e, t, n) {
39331
+ function L8(e, t, n) {
39331
39332
  return t;
39332
39333
  }
39333
- const WP = "uploader", zP = "A Farris Component", qP = "object", GP = {
39334
+ const W8 = "uploader", z8 = "A Farris Component", q8 = "object", G8 = {
39334
39335
  basic: {
39335
39336
  description: "Basic Infomation",
39336
39337
  title: "基本信息",
@@ -39352,11 +39353,11 @@ const WP = "uploader", zP = "A Farris Component", qP = "object", GP = {
39352
39353
  }
39353
39354
  }
39354
39355
  }
39355
- }, YP = {
39356
- title: WP,
39357
- description: zP,
39358
- type: qP,
39359
- categories: GP
39356
+ }, Y8 = {
39357
+ title: W8,
39358
+ description: z8,
39359
+ type: q8,
39360
+ categories: G8
39360
39361
  }, Ss = {
39361
39362
  /** 内容区域填充 */
39362
39363
  contentFill: { type: Boolean, default: !1 },
@@ -39421,7 +39422,7 @@ const WP = "uploader", zP = "A Farris Component", qP = "object", GP = {
39421
39422
  * 提示服务注入的Token
39422
39423
  */
39423
39424
  notifyServiceToken: { type: String, default: "" }
39424
- }, wc = ye(Ss, NP, VP, LP, YP);
39425
+ }, wc = ye(Ss, N8, V8, L8, Y8);
39425
39426
  function Nf(e, t, n) {
39426
39427
  const a = jf.getNotify(e.notifyServiceToken), o = y(e.fileInfos), {
39427
39428
  disabled: i,
@@ -39437,7 +39438,7 @@ function Nf(e, t, n) {
39437
39438
  } = Gn(e), v = y(!1), g = y([]), x = $(() => g.value.length), b = y([]), C = y(""), w = $(() => {
39438
39439
  (!o.value.length || g.value.length !== o.value.length) && (v.value = !1);
39439
39440
  const N = o.value.map((W) => (W.hasOwnProperty("size") || (W.size = void 0), W.hasOwnProperty("createTime") || (W.createTime = void 0), W));
39440
- if (N.sort(CP(c.value)), u.value) {
39441
+ if (N.sort(C8(c.value)), u.value) {
39441
39442
  const W = N.map((L) => (L.checked = !!g.value.find((Y) => Y.id === L.id) || v.value, L));
39442
39443
  return g.value = [...W].filter((L) => L.checked), W;
39443
39444
  }
@@ -39517,7 +39518,7 @@ function Nf(e, t, n) {
39517
39518
  size: L.size,
39518
39519
  createTime: ws(/* @__PURE__ */ new Date(), "yyyy-MM-dd HH:mm:ss")
39519
39520
  }));
39520
- o.value = [...W, ...w.value], H(N), t.emit("fUploadDoneEvent", kP(N.files || []));
39521
+ o.value = [...W, ...w.value], H(N), t.emit("fUploadDoneEvent", k8(N.files || []));
39521
39522
  } else N.type === "cancelled" || N.type === "removed" || N.type === "error" ? (b.value = b.value.filter((W) => N.files && N.files.findIndex((L) => {
39522
39523
  var Y;
39523
39524
  return ((Y = W == null ? void 0 : W.file) == null ? void 0 : Y.id) === L.id;
@@ -39554,7 +39555,7 @@ function Nf(e, t, n) {
39554
39555
  const Yo = /* @__PURE__ */ Z({
39555
39556
  name: "FUploader",
39556
39557
  components: {
39557
- "f-upload-progress": bP,
39558
+ "f-upload-progress": b8,
39558
39559
  "f-preview-checkbox": Mf,
39559
39560
  "f-file-select": Hf
39560
39561
  },
@@ -39660,7 +39661,7 @@ const Yo = /* @__PURE__ */ Z({
39660
39661
  function U(K, te, le) {
39661
39662
  return r("div", {
39662
39663
  class: "uploadAndpreview--filesize-container"
39663
- }, [K === "preview" && le ? r("span", null, [wP(le.size)]) : null, K === "upload" && te ? r("span", null, [bc(te)]) : null]);
39664
+ }, [K === "preview" && le ? r("span", null, [w8(le.size)]) : null, K === "upload" && te ? r("span", null, [bc(te)]) : null]);
39664
39665
  }
39665
39666
  function _(K, te) {
39666
39667
  return r("div", {
@@ -39855,7 +39856,7 @@ const Yo = /* @__PURE__ */ Z({
39855
39856
  class: "table table-bordered uploadAndpreview--table"
39856
39857
  }, [r("thead", null, [G()]), r("tbody", null, [z(), Q()])]) : null]) : null, D.value ? O() : null]);
39857
39858
  }
39858
- }), UP = /* @__PURE__ */ Z({
39859
+ }), U8 = /* @__PURE__ */ Z({
39859
39860
  name: "FUploaderDesign",
39860
39861
  components: {
39861
39862
  "f-preview-checkbox": Mf,
@@ -40057,7 +40058,7 @@ const Yo = /* @__PURE__ */ Z({
40057
40058
  class: "table table-bordered uploadAndpreview--table"
40058
40059
  }, [r("thead", null, [I()]), r("tbody", null, [E()])])]), b()]) : null]);
40059
40060
  }
40060
- }), KP = {
40061
+ }), K8 = {
40061
40062
  install(e) {
40062
40063
  e.component(Yo.name, Yo);
40063
40064
  },
@@ -40065,15 +40066,15 @@ const Yo = /* @__PURE__ */ Z({
40065
40066
  e.uploader = Yo, t.uploader = wc;
40066
40067
  },
40067
40068
  registerDesigner(e, t, n) {
40068
- e.uploader = UP, t.uploader = wc;
40069
+ e.uploader = U8, t.uploader = wc;
40069
40070
  }
40070
- }, XP = /* @__PURE__ */ new Map([
40071
+ }, X8 = /* @__PURE__ */ new Map([
40071
40072
  ["appearance", ke]
40072
40073
  ]);
40073
- function QP(e, t, n) {
40074
+ function Q8(e, t, n) {
40074
40075
  return t;
40075
40076
  }
40076
- const ZP = "https://json-schema.org/draft/2020-12/schema", JP = "https://farris-design.gitee.io/verify-detail.schema.json", eM = "verify-detail", tM = "A Farris Component", nM = "object", aM = {
40077
+ const Z8 = "https://json-schema.org/draft/2020-12/schema", J8 = "https://farris-design.gitee.io/verify-detail.schema.json", eM = "verify-detail", tM = "A Farris Component", nM = "object", aM = {
40077
40078
  id: {
40078
40079
  description: "The unique identifier for verify-detail",
40079
40080
  type: "string"
@@ -40139,8 +40140,8 @@ const ZP = "https://json-schema.org/draft/2020-12/schema", JP = "https://farris-
40139
40140
  "id",
40140
40141
  "type"
40141
40142
  ], iM = {
40142
- $schema: ZP,
40143
- $id: JP,
40143
+ $schema: Z8,
40144
+ $id: J8,
40144
40145
  title: eM,
40145
40146
  description: tM,
40146
40147
  type: nM,
@@ -40213,7 +40214,7 @@ const ZP = "https://json-schema.org/draft/2020-12/schema", JP = "https://farris-
40213
40214
  },
40214
40215
  customClass: { type: String, default: "" },
40215
40216
  maxHeight: { type: Number, default: 200 }
40216
- }, Sc = ye(ks, iM, XP, QP, uM), ga = /* @__PURE__ */ Z({
40217
+ }, Sc = ye(ks, iM, X8, Q8, uM), ga = /* @__PURE__ */ Z({
40217
40218
  name: "FVerifyDetail",
40218
40219
  props: ks,
40219
40220
  emits: ["validatorClick", "listshow"],
@@ -47028,7 +47029,7 @@ const q5 = /* @__PURE__ */ Z({
47028
47029
  }, De = {}, Fe = {}, Ae = {};
47029
47030
  let cu = !1;
47030
47031
  function Y5() {
47031
- cu || (cu = !0, Fx.register(De, Fe, Ae), ux.register(De, Fe, Ae), Ax.register(De, Fe, Ae), Kx.registerDesigner(De, Fe, Ae), y1.register(De, Fe, Ae), x1.register(De, Fe, Ae), P1.register(De, Fe, Ae), O1.register(De, Fe, Ae), Z1.register(De, Fe), JC.register(De, Fe, Ae), OC.registerDesigner(De, Fe, Ae), Rw.register(De, Fe, Ae), a2.register(De, Fe, Ae), C2.register(De, Fe, Ae), X5.register(De, Fe, Ae), NS.register(De, Fe, Ae), Ik.register(De, Fe, Ae), Kk.register(De, Fe, Ae), Qk.register(De, Fe, Ae), FB.register(De, Fe, Ae), vD.register(De, Fe, Ae), qB.registerDesigner(De, Fe, Ae), LD.register(De, Fe, Ae), fF.register(De, Fe, Ae), AF.register(De, Fe, Ae), GF.register(De, Fe, Ae), uT.register(De, Fe, Ae), F3.register(De, Fe, Ae), OT.register(De, Fe, Ae), ZT.register(De, Fe, Ae), mA.register(De, Fe, Ae), HA.register(De, Fe, Ae), cI.register(De, Fe, Ae), dI.register(De, Fe, Ae), AI.register(De, Fe, Ae), e4.register(De, Fe, Ae), lE.register(De, Fe, Ae), TT.register(De, Fe, Ae), DE.register(De, Fe, Ae), AE.register(De, Fe, Ae), GE.register(De, Fe, Ae), D$.register(De, Fe, Ae), W$.register(De, Fe, Ae), q$.register(De, Fe, Ae), t8.register(De, Fe, Ae), a8.register(De, Fe, Ae), T8.register(De, Fe, Ae), K8.register(De, Fe, Ae), Q8.register(De, Fe, Ae), mP.register(De, Fe, Ae), pM.register(De, Fe, Ae), KP.register(De, Fe, Ae), F5.register(De, Fe, Ae), G5.register(De, Fe, Ae));
47032
+ cu || (cu = !0, Fx.register(De, Fe, Ae), ux.register(De, Fe, Ae), Ax.register(De, Fe, Ae), Kx.registerDesigner(De, Fe, Ae), y1.register(De, Fe, Ae), x1.register(De, Fe, Ae), P1.register(De, Fe, Ae), O1.register(De, Fe, Ae), Z1.register(De, Fe), JC.register(De, Fe, Ae), OC.registerDesigner(De, Fe, Ae), Rw.register(De, Fe, Ae), a2.register(De, Fe, Ae), C2.register(De, Fe, Ae), X5.register(De, Fe, Ae), NS.register(De, Fe, Ae), Ik.register(De, Fe, Ae), Kk.register(De, Fe, Ae), Qk.register(De, Fe, Ae), FB.register(De, Fe, Ae), vD.register(De, Fe, Ae), qB.registerDesigner(De, Fe, Ae), LD.register(De, Fe, Ae), fF.register(De, Fe, Ae), AF.register(De, Fe, Ae), GF.register(De, Fe, Ae), uT.register(De, Fe, Ae), F3.register(De, Fe, Ae), OT.register(De, Fe, Ae), ZT.register(De, Fe, Ae), mA.register(De, Fe, Ae), HA.register(De, Fe, Ae), cI.register(De, Fe, Ae), dI.register(De, Fe, Ae), AI.register(De, Fe, Ae), e4.register(De, Fe, Ae), lE.register(De, Fe, Ae), TT.register(De, Fe, Ae), DE.register(De, Fe, Ae), AE.register(De, Fe, Ae), GE.register(De, Fe, Ae), D$.register(De, Fe, Ae), W$.register(De, Fe, Ae), q$.register(De, Fe, Ae), tP.register(De, Fe, Ae), aP.register(De, Fe, Ae), TP.register(De, Fe, Ae), KP.register(De, Fe, Ae), QP.register(De, Fe, Ae), m8.register(De, Fe, Ae), pM.register(De, Fe, Ae), K8.register(De, Fe, Ae), F5.register(De, Fe, Ae), G5.register(De, Fe, Ae));
47032
47033
  }
47033
47034
  function Uf() {
47034
47035
  Y5();