@farris/ui-vue 1.1.6 → 1.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/components/accordion/package.json +1 -1
  2. package/components/avatar/package.json +1 -1
  3. package/components/border-editor/index.esm.js +1362 -1361
  4. package/components/border-editor/index.umd.cjs +6 -6
  5. package/components/border-editor/package.json +1 -1
  6. package/components/button/package.json +1 -1
  7. package/components/button-edit/package.json +1 -1
  8. package/components/button-group/package.json +1 -1
  9. package/components/calculator/package.json +1 -1
  10. package/components/calendar/package.json +1 -1
  11. package/components/capsule/package.json +1 -1
  12. package/components/checkbox/package.json +1 -1
  13. package/components/color-picker/package.json +1 -1
  14. package/components/combo-list/index.esm.js +22 -21
  15. package/components/combo-list/index.umd.cjs +1 -1
  16. package/components/combo-list/package.json +1 -1
  17. package/components/combo-tree/index.esm.js +1370 -1369
  18. package/components/combo-tree/index.umd.cjs +1 -1
  19. package/components/combo-tree/package.json +1 -1
  20. package/components/common/package.json +1 -1
  21. package/components/component/package.json +1 -1
  22. package/components/condition/index.esm.js +180 -179
  23. package/components/condition/index.umd.cjs +1 -1
  24. package/components/condition/package.json +1 -1
  25. package/components/content-container/package.json +1 -1
  26. package/components/data-grid/index.esm.js +22 -21
  27. package/components/data-grid/index.umd.cjs +1 -1
  28. package/components/data-grid/package.json +1 -1
  29. package/components/data-view/index.esm.js +22 -21
  30. package/components/data-view/index.umd.cjs +1 -1
  31. package/components/data-view/package.json +1 -1
  32. package/components/date-picker/package.json +1 -1
  33. package/components/designer-canvas/index.esm.js +52071 -0
  34. package/components/designer-canvas/index.umd.cjs +20 -0
  35. package/components/designer-canvas/package.json +8 -0
  36. package/components/designer-canvas/style.css +1 -0
  37. package/components/designer-outline/index.esm.js +22 -21
  38. package/components/designer-outline/index.umd.cjs +1 -1
  39. package/components/designer-outline/package.json +1 -1
  40. package/components/designer-toolbox/package.json +1 -1
  41. package/components/discussion-editor/package.json +1 -1
  42. package/components/discussion-list/package.json +1 -1
  43. package/components/dropdown/package.json +1 -1
  44. package/components/dynamic-form/index.esm.js +180 -179
  45. package/components/dynamic-form/index.umd.cjs +1 -1
  46. package/components/dynamic-form/package.json +1 -1
  47. package/components/dynamic-resolver/package.json +1 -1
  48. package/components/dynamic-view/index.esm.js +3661 -3660
  49. package/components/dynamic-view/index.umd.cjs +1 -1
  50. package/components/dynamic-view/package.json +1 -1
  51. package/components/enum-editor/package.json +1 -1
  52. package/components/events-editor/package.json +1 -1
  53. package/components/expression-editor/package.json +1 -1
  54. package/components/external-container/index.esm.js +1365 -1364
  55. package/components/external-container/index.umd.cjs +7 -7
  56. package/components/external-container/package.json +1 -1
  57. package/components/field-selector/index.esm.js +182 -181
  58. package/components/field-selector/index.umd.cjs +1 -1
  59. package/components/field-selector/package.json +1 -1
  60. package/components/filter-bar/index.esm.js +182 -181
  61. package/components/filter-bar/index.umd.cjs +1 -1
  62. package/components/filter-bar/package.json +1 -1
  63. package/components/flow-canvas/index.esm.js +22 -21
  64. package/components/flow-canvas/index.umd.cjs +7 -7
  65. package/components/flow-canvas/package.json +1 -1
  66. package/components/image-cropper/package.json +1 -1
  67. package/components/input-group/package.json +1 -1
  68. package/components/layout/package.json +1 -1
  69. package/components/list-nav/package.json +1 -1
  70. package/components/list-view/index.esm.js +183 -182
  71. package/components/list-view/index.umd.cjs +1 -1
  72. package/components/list-view/package.json +1 -1
  73. package/components/loading/package.json +1 -1
  74. package/components/locale/package.json +1 -1
  75. package/components/lookup/index.esm.js +185 -184
  76. package/components/lookup/index.umd.cjs +1 -1
  77. package/components/lookup/package.json +1 -1
  78. package/components/mapping-editor/index.esm.js +181 -180
  79. package/components/mapping-editor/index.umd.cjs +1 -1
  80. package/components/mapping-editor/package.json +1 -1
  81. package/components/message-box/package.json +1 -1
  82. package/components/modal/package.json +1 -1
  83. package/components/nav/package.json +1 -1
  84. package/components/notify/package.json +1 -1
  85. package/components/order/index.esm.js +182 -181
  86. package/components/order/index.umd.cjs +1 -1
  87. package/components/order/package.json +1 -1
  88. package/components/page-footer/package.json +1 -1
  89. package/components/page-header/package.json +1 -1
  90. package/components/pagination/package.json +1 -1
  91. package/components/plugin/package.json +1 -1
  92. package/components/popover/package.json +1 -1
  93. package/components/progress/package.json +1 -1
  94. package/components/property-editor/index.esm.js +2810 -2810
  95. package/components/property-editor/index.umd.cjs +7 -7
  96. package/components/property-editor/package.json +1 -1
  97. package/components/property-panel/index.esm.js +180 -179
  98. package/components/property-panel/index.umd.cjs +1 -1
  99. package/components/property-panel/package.json +1 -1
  100. package/components/radio-button/package.json +1 -1
  101. package/components/radio-group/package.json +1 -1
  102. package/components/rate/package.json +1 -1
  103. package/components/response-layout/package.json +1 -1
  104. package/components/response-layout-editor/index.esm.js +182 -181
  105. package/components/response-layout-editor/index.umd.cjs +1 -1
  106. package/components/response-layout-editor/package.json +1 -1
  107. package/components/response-toolbar/package.json +1 -1
  108. package/components/schema-selector/index.esm.js +22 -21
  109. package/components/schema-selector/index.umd.cjs +1 -1
  110. package/components/schema-selector/package.json +1 -1
  111. package/components/search-box/package.json +1 -1
  112. package/components/section/package.json +1 -1
  113. package/components/smoke-detector/package.json +1 -1
  114. package/components/spacing-editor/index.esm.js +22 -21
  115. package/components/spacing-editor/index.umd.cjs +1 -1
  116. package/components/spacing-editor/package.json +1 -1
  117. package/components/splitter/package.json +1 -1
  118. package/components/step/package.json +1 -1
  119. package/components/switch/package.json +1 -1
  120. package/components/tabs/index.esm.js +939 -938
  121. package/components/tabs/index.umd.cjs +1 -1
  122. package/components/tabs/package.json +1 -1
  123. package/components/tags/package.json +1 -1
  124. package/components/text/package.json +1 -1
  125. package/components/time-picker/package.json +1 -1
  126. package/components/tooltip/package.json +1 -1
  127. package/components/transfer/index.esm.js +183 -182
  128. package/components/transfer/index.umd.cjs +1 -1
  129. package/components/transfer/package.json +1 -1
  130. package/components/tree-grid/index.esm.js +22 -21
  131. package/components/tree-grid/index.umd.cjs +7 -7
  132. package/components/tree-grid/package.json +1 -1
  133. package/components/tree-view/index.esm.js +186 -185
  134. package/components/tree-view/index.umd.cjs +1 -1
  135. package/components/tree-view/package.json +1 -1
  136. package/components/uploader/package.json +1 -1
  137. package/components/verify-detail/package.json +1 -1
  138. package/components/video/package.json +1 -1
  139. package/components/weather/package.json +1 -1
  140. package/farris.all.esm.js +26 -26
  141. package/farris.all.umd.cjs +2 -2
  142. package/package.json +1 -1
  143. package/types/property-editor/src/composition/use-initialized-value.d.ts +1 -1
@@ -36222,49 +36222,50 @@ const R$ = /* @__PURE__ */ Z({
36222
36222
  slots: t.slots,
36223
36223
  props: e
36224
36224
  }, c = y((s == null ? void 0 : s.tabType.value) || "default");
36225
- function u() {
36226
- e.id === s.activeId.value ? a.designerItemElementRef.value.classList.remove("d-none") : a.designerItemElementRef.value.classList.add("d-none");
36227
- }
36228
36225
  ue(() => {
36229
36226
  n.value.componentInstance = i;
36230
- const g = s.tabPages.value.findIndex((x) => x.props.id === e.id);
36231
- !g || g === -1 ? s == null || s.addTab(p) : g > -1 && (l.value = !1, console.warn(`已经存在id为${e.id}的页签啦`)), u();
36227
+ const x = s.tabPages.value.findIndex((b) => b.props.id === e.id);
36228
+ !x || x === -1 ? s == null || s.addTab(p) : x > -1 && (l.value = !1, console.warn(`已经存在id为${e.id}的页签啦`));
36232
36229
  }), Ct(() => {
36233
36230
  });
36234
- const f = $(() => ({
36235
- display: (e == null ? void 0 : e.id) === (s == null ? void 0 : s.activeId.value) ? "" : "none"
36231
+ const u = $(() => (e == null ? void 0 : e.id) === (s == null ? void 0 : s.activeId.value)), f = $(() => ({
36232
+ display: u.value ? "" : "none"
36236
36233
  }));
36237
- J(() => e, (g) => {
36234
+ J(() => e, (x) => {
36238
36235
  s == null || s.updateTab({
36239
- props: g,
36236
+ props: x,
36240
36237
  slots: t.slots
36241
36238
  });
36242
36239
  }, {
36243
36240
  immediate: !0,
36244
36241
  deep: !0
36245
- }), J(s.activeId, u);
36242
+ });
36246
36243
  function d() {
36247
- var x, b;
36248
- const g = (b = (x = t.slots).default) == null ? void 0 : b.call(x);
36244
+ var b, C;
36245
+ const x = (C = (b = t.slots).default) == null ? void 0 : C.call(b);
36249
36246
  return r(Rn, {
36250
36247
  "main-title": e.title,
36251
36248
  class: "farris-tab-page"
36252
- }, O$(g) ? g : {
36253
- default: () => [g]
36249
+ }, O$(x) ? x : {
36250
+ default: () => [x]
36254
36251
  });
36255
36252
  }
36256
- function h() {
36257
- var x, b;
36258
- const g = (b = (x = t.slots).default) == null ? void 0 : b.call(x);
36253
+ const h = $(() => ({
36254
+ "farris-tab-page": !0,
36255
+ "drag-container": !0
36256
+ }));
36257
+ function m() {
36258
+ var b, C;
36259
+ const x = (C = (b = t.slots).default) == null ? void 0 : C.call(b);
36259
36260
  return r("div", {
36260
36261
  ref: n,
36261
- class: "farris-tab-page drag-container",
36262
+ class: h.value,
36262
36263
  "data-dragref": `${a.schema.id}-container`,
36263
36264
  style: f.value
36264
- }, [g]);
36265
+ }, [x]);
36265
36266
  }
36266
- const v = (/* @__PURE__ */ new Map([["default", h], ["one-page", d]])).get(c.value) || h;
36267
- return () => l.value ? v() : null;
36267
+ const g = (/* @__PURE__ */ new Map([["default", m], ["one-page", d]])).get(c.value) || m;
36268
+ return () => l.value ? g() : null;
36268
36269
  }
36269
36270
  }), _$ = {
36270
36271
  install(e) {
@@ -36619,7 +36620,7 @@ const L$ = "text", W$ = "A Farris Component", z$ = "object", q$ = {
36619
36620
  }, J$ = [
36620
36621
  "id",
36621
36622
  "type"
36622
- ], e8 = {
36623
+ ], eP = {
36623
36624
  $schema: Y$,
36624
36625
  $id: U$,
36625
36626
  title: K$,
@@ -36668,12 +36669,12 @@ const L$ = "text", W$ = "A Farris Component", z$ = "object", q$ = {
36668
36669
  dateRangeDelimiter: { type: String, default: "~" },
36669
36670
  // 枚举项的分隔符
36670
36671
  enumDelimiter: { type: String, default: "," }
36671
- }, dc = ye(ys, e8, N$, V$, G$);
36672
- function t8(e) {
36672
+ }, dc = ye(ys, eP, N$, V$, G$);
36673
+ function tP(e) {
36673
36674
  let t;
36674
36675
  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;
36675
36676
  }
36676
- function n8(e, t, n, a, o) {
36677
+ function nP(e, t, n, a, o) {
36677
36678
  if (e == null || e === "")
36678
36679
  return "";
36679
36680
  if (t && t.length) {
@@ -36688,26 +36689,26 @@ function n8(e, t, n, a, o) {
36688
36689
  }
36689
36690
  function fc(e, t) {
36690
36691
  let n;
36691
- return t || (t = "YYYY-MM-DD"), t === "timeago" ? _b().formatTo(e) : (t === "hh:mm:ss" || t === "HH:mm:ss" ? n = e : n = Cr().formatTo(e, t8(t)), n);
36692
+ return t || (t = "YYYY-MM-DD"), t === "timeago" ? _b().formatTo(e) : (t === "hh:mm:ss" || t === "HH:mm:ss" ? n = e : n = Cr().formatTo(e, tP(t)), n);
36692
36693
  }
36693
- function a8(e, t) {
36694
+ function aP(e, t) {
36694
36695
  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;
36695
36696
  }
36696
- function o8(e) {
36697
+ function oP(e) {
36697
36698
  return e.replace(/[a-z]+/g, (t) => t.toUpperCase());
36698
36699
  }
36699
- function i8(e, t, n) {
36700
+ function iP(e, t, n) {
36700
36701
  return e.toString().indexOf(".") > -1 ? (console.warn("十进制转换仅限整型类型"), "") : (Array(t).join(n) + e).slice(-t);
36701
36702
  }
36702
- function r8(e, t) {
36703
+ function rP(e, t) {
36703
36704
  return Number(e * 100).toFixed(Number(t)) + "%";
36704
36705
  }
36705
- function s8(e, t, n, a, o, i, s) {
36706
+ function sP(e, t, n, a, o, i, s) {
36706
36707
  if (!t && !n)
36707
36708
  return e.toString();
36708
36709
  if (n && n.type && n.type === "number" && n.formatter)
36709
36710
  return n.formatter(e);
36710
- const l = o8(t.substring(0, 1)), p = Number(t.substring(1)), c = {};
36711
+ const l = oP(t.substring(0, 1)), p = Number(t.substring(1)), c = {};
36711
36712
  let u;
36712
36713
  if (!/C|D|F|N|P/g.test(l)) {
36713
36714
  console.log(`不支持format为 ${t} 类型的数字格式化`);
@@ -36720,7 +36721,7 @@ function s8(e, t, n, a, o, i, s) {
36720
36721
  Object.assign(c, { prefix: "¥", precision: p }), u = f(e, c);
36721
36722
  break;
36722
36723
  case "D":
36723
- u = i8(e, p, s);
36724
+ u = iP(e, p, s);
36724
36725
  break;
36725
36726
  case "F":
36726
36727
  Object.assign(c, { prefix: "", groupSeparator: "", precision: p }), u = f(e, c);
@@ -36729,12 +36730,12 @@ function s8(e, t, n, a, o, i, s) {
36729
36730
  Object.assign(c, { prefix: "", precision: p }), u = f(e, c);
36730
36731
  break;
36731
36732
  case "P":
36732
- u = r8(e, p);
36733
+ u = rP(e, p);
36733
36734
  break;
36734
36735
  }
36735
36736
  return u;
36736
36737
  }
36737
- function l8(e) {
36738
+ function lP(e) {
36738
36739
  return e === !0 ? "是" : e === !1 || e == null || e === "" || typeof e > "u" ? "否" : e;
36739
36740
  }
36740
36741
  const Wo = /* @__PURE__ */ Z({
@@ -36786,13 +36787,13 @@ const Wo = /* @__PURE__ */ Z({
36786
36787
  }
36787
36788
  break;
36788
36789
  case "number":
36789
- l.value = a8(l.value, e.numberOptions), x = s8(g, l.value, e.numberOptions, e.groupSeparator, e.decimalSeparator, e.amountExpression, e.decimalFilledSymbol);
36790
+ l.value = aP(l.value, e.numberOptions), x = sP(g, l.value, e.numberOptions, e.groupSeparator, e.decimalSeparator, e.amountExpression, e.decimalFilledSymbol);
36790
36791
  break;
36791
36792
  case "enum":
36792
- x = n8(g, e.enumConvertedDatas, e.enumDelimiter, e.textField, e.valueField);
36793
+ x = nP(g, e.enumConvertedDatas, e.enumDelimiter, e.textField, e.valueField);
36793
36794
  break;
36794
36795
  case "boolean":
36795
- x = l8(g);
36796
+ x = lP(g);
36796
36797
  break;
36797
36798
  }
36798
36799
  return x;
@@ -36811,7 +36812,7 @@ const Wo = /* @__PURE__ */ Z({
36811
36812
  title: u.value
36812
36813
  }, [h.value]);
36813
36814
  }
36814
- }), c8 = /* @__PURE__ */ Z({
36815
+ }), cP = /* @__PURE__ */ Z({
36815
36816
  name: "FTextDesign",
36816
36817
  props: ys,
36817
36818
  emits: ["update:modelValue"],
@@ -36836,7 +36837,7 @@ const Wo = /* @__PURE__ */ Z({
36836
36837
  style: c.value
36837
36838
  }, [l.value]);
36838
36839
  }
36839
- }), u8 = {
36840
+ }), uP = {
36840
36841
  install(e) {
36841
36842
  e.component(Wo.name, Wo);
36842
36843
  },
@@ -36844,11 +36845,11 @@ const Wo = /* @__PURE__ */ Z({
36844
36845
  e.text = Wo, t.text = dc;
36845
36846
  },
36846
36847
  registerDesigner(e, t, n) {
36847
- e.text = c8, t.text = dc;
36848
+ e.text = cP, t.text = dc;
36848
36849
  }
36849
- }, d8 = /* @__PURE__ */ new Map([
36850
+ }, dP = /* @__PURE__ */ new Map([
36850
36851
  ["appearance", ke]
36851
- ]), f8 = "https://json-schema.org/draft/2020-12/schema", p8 = "https://farris-design.gitee.io/time-picker.schema.json", v8 = "time-picker", m8 = "A Farris Input Component", h8 = "object", g8 = {
36852
+ ]), fP = "https://json-schema.org/draft/2020-12/schema", pP = "https://farris-design.gitee.io/time-picker.schema.json", vP = "time-picker", mP = "A Farris Input Component", hP = "object", gP = {
36852
36853
  id: {
36853
36854
  description: "The unique identifier for a time picker",
36854
36855
  type: "string"
@@ -36910,22 +36911,22 @@ const Wo = /* @__PURE__ */ Z({
36910
36911
  type: "boolean",
36911
36912
  default: !0
36912
36913
  }
36913
- }, y8 = [
36914
+ }, yP = [
36914
36915
  "id",
36915
36916
  "type"
36916
- ], b8 = {
36917
- $schema: f8,
36918
- $id: p8,
36919
- title: v8,
36920
- description: m8,
36921
- type: h8,
36922
- properties: g8,
36923
- required: y8
36917
+ ], bP = {
36918
+ $schema: fP,
36919
+ $id: pP,
36920
+ title: vP,
36921
+ description: mP,
36922
+ type: hP,
36923
+ properties: gP,
36924
+ required: yP
36924
36925
  };
36925
- function x8(e, t, n) {
36926
+ function xP(e, t, n) {
36926
36927
  return t;
36927
36928
  }
36928
- const C8 = "time-picker", w8 = "A Farris Component", S8 = "object", k8 = {
36929
+ const CP = "time-picker", wP = "A Farris Component", SP = "object", kP = {
36929
36930
  basic: {
36930
36931
  description: "Basic Infomation",
36931
36932
  title: "基本信息",
@@ -37007,11 +37008,11 @@ const C8 = "time-picker", w8 = "A Farris Component", S8 = "object", k8 = {
37007
37008
  }
37008
37009
  }
37009
37010
  }
37010
- }, B8 = {
37011
- title: C8,
37012
- description: w8,
37013
- type: S8,
37014
- categories: k8
37011
+ }, BP = {
37012
+ title: CP,
37013
+ description: wP,
37014
+ type: SP,
37015
+ categories: kP
37015
37016
  }, bs = {
37016
37017
  /**
37017
37018
  * 组件值,这个是与指定的format格式相对应的值
@@ -37040,7 +37041,7 @@ const C8 = "time-picker", w8 = "A Farris Component", S8 = "object", k8 = {
37040
37041
  disable: { type: Boolean, default: !1 },
37041
37042
  readonly: { type: Boolean, default: !1 },
37042
37043
  editable: { type: Boolean, default: !0 }
37043
- }, pc = ye(bs, b8, d8, x8, B8), D8 = {
37044
+ }, pc = ye(bs, bP, dP, xP, BP), DP = {
37044
37045
  modelValue: {
37045
37046
  type: String,
37046
37047
  default: ""
@@ -37108,7 +37109,7 @@ function If(e, t) {
37108
37109
  let n = e || "hh:mm:ss";
37109
37110
  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;
37110
37111
  }
37111
- class F8 {
37112
+ class FP {
37112
37113
  constructor() {
37113
37114
  j(this, "hourStep", 1);
37114
37115
  j(this, "minuteStep", 1);
@@ -37274,7 +37275,7 @@ class F8 {
37274
37275
  return n === "PM" && t > 12 ? t - 12 : n === "AM" && t === 0 ? 12 : t;
37275
37276
  }
37276
37277
  }
37277
- function T8(e, t, n, a, o, i) {
37278
+ function TP(e, t, n, a, o, i) {
37278
37279
  function s(u, f, d = 0, h, m) {
37279
37280
  const v = l(f, h, m), g = u.children[0].children[v] || u.children[0].children[0];
37280
37281
  p(u, g.offsetTop, d);
@@ -37321,7 +37322,7 @@ function T8(e, t, n, a, o, i) {
37321
37322
  }
37322
37323
  return { scrollToSelected: s };
37323
37324
  }
37324
- function A8(e, t) {
37325
+ function AP(e, t) {
37325
37326
  function n(l) {
37326
37327
  return l.index === e.viewHours || !Je(e.viewHours) && l.index === e.defaultViewHours;
37327
37328
  }
@@ -37344,14 +37345,14 @@ function A8(e, t) {
37344
37345
  }
37345
37346
  const Ki = /* @__PURE__ */ Z({
37346
37347
  name: "FTimePickerTimeView",
37347
- props: D8,
37348
+ props: DP,
37348
37349
  emits: ["valueChange", "formatedValueChange"],
37349
37350
  setup(e, t) {
37350
- 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 F8(), {
37351
+ 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 FP(), {
37351
37352
  scrollToSelected: h
37352
- } = T8(e, t, o, i, s, l), {
37353
+ } = TP(e, t, o, i, s, l), {
37353
37354
  getSelectedClass: m
37354
- } = A8(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);
37355
+ } = AP(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);
37355
37356
  J(() => e.defaultOpenValue, (q) => {
37356
37357
  Je(q) && (b.value = q);
37357
37358
  }), J(b, (q) => {
@@ -37591,7 +37592,7 @@ const Ki = /* @__PURE__ */ Z({
37591
37592
  }), null)]
37592
37593
  });
37593
37594
  }
37594
- }), I8 = /* @__PURE__ */ Z({
37595
+ }), IP = /* @__PURE__ */ Z({
37595
37596
  name: "FTimePickerDesign",
37596
37597
  props: bs,
37597
37598
  emits: ["datePicked", "update:modelValue"],
@@ -37615,7 +37616,7 @@ const Ki = /* @__PURE__ */ Z({
37615
37616
  default: () => [r(Qe("f-time-picker-time-view"), null, null)]
37616
37617
  })]);
37617
37618
  }
37618
- }), E8 = {
37619
+ }), EP = {
37619
37620
  install(e) {
37620
37621
  e.component(zo.name, zo).component(Ki.name, Ki);
37621
37622
  },
@@ -37623,9 +37624,9 @@ const Ki = /* @__PURE__ */ Z({
37623
37624
  e["time-picker"] = zo, t["time-picker"] = pc;
37624
37625
  },
37625
37626
  registerDesigner(e, t, n) {
37626
- e["time-picker"] = I8, t["time-picker"] = pc;
37627
+ e["time-picker"] = IP, t["time-picker"] = pc;
37627
37628
  }
37628
- }, $8 = /* @__PURE__ */ Z({
37629
+ }, $P = /* @__PURE__ */ Z({
37629
37630
  name: "FTransferDesign",
37630
37631
  props: tr,
37631
37632
  emits: ["change"],
@@ -37726,7 +37727,7 @@ const Ki = /* @__PURE__ */ Z({
37726
37727
  style: "height:480px"
37727
37728
  }, [x(), S()]);
37728
37729
  }
37729
- }), P8 = {
37730
+ }), PP = {
37730
37731
  install(e) {
37731
37732
  e.component(Mn.name, Mn);
37732
37733
  },
@@ -37734,15 +37735,15 @@ const Ki = /* @__PURE__ */ Z({
37734
37735
  e.transfer = Mn, t.transfer = Xs;
37735
37736
  },
37736
37737
  registerDesigner(e, t, n) {
37737
- e.transfer = $8, t.transfer = Xs;
37738
+ e.transfer = $P, t.transfer = Xs;
37738
37739
  }
37739
- }, M8 = /* @__PURE__ */ new Map([
37740
+ }, MP = /* @__PURE__ */ new Map([
37740
37741
  ["appearance", ke]
37741
37742
  ]);
37742
- function O8(e, t, n) {
37743
+ function OP(e, t, n) {
37743
37744
  return t;
37744
37745
  }
37745
- const R8 = "tree-view", _8 = "A Farris Component", j8 = "object", H8 = {
37746
+ const RP = "tree-view", _P = "A Farris Component", jP = "object", HP = {
37746
37747
  basic: {
37747
37748
  description: "Basic Infomation",
37748
37749
  title: "基本信息",
@@ -37764,12 +37765,12 @@ const R8 = "tree-view", _8 = "A Farris Component", j8 = "object", H8 = {
37764
37765
  }
37765
37766
  }
37766
37767
  }
37767
- }, N8 = {
37768
- title: R8,
37769
- description: _8,
37770
- type: j8,
37771
- categories: H8
37772
- }, V8 = "https://json-schema.org/draft/2020-12/schema", L8 = "https://farris-design.gitee.io/tree-view.schema.json", W8 = "tree-view", z8 = "A Farris Component", q8 = "object", G8 = {
37768
+ }, NP = {
37769
+ title: RP,
37770
+ description: _P,
37771
+ type: jP,
37772
+ categories: HP
37773
+ }, VP = "https://json-schema.org/draft/2020-12/schema", LP = "https://farris-design.gitee.io/tree-view.schema.json", WP = "tree-view", zP = "A Farris Component", qP = "object", GP = {
37773
37774
  id: {
37774
37775
  description: "The unique identifier for tree-view",
37775
37776
  type: "string"
@@ -37831,17 +37832,17 @@ const R8 = "tree-view", _8 = "A Farris Component", j8 = "object", H8 = {
37831
37832
  type: "boolean",
37832
37833
  default: !0
37833
37834
  }
37834
- }, Y8 = [
37835
+ }, YP = [
37835
37836
  "id",
37836
37837
  "type"
37837
- ], U8 = {
37838
- $schema: V8,
37839
- $id: L8,
37840
- title: W8,
37841
- description: z8,
37842
- type: q8,
37843
- properties: G8,
37844
- required: Y8
37838
+ ], UP = {
37839
+ $schema: VP,
37840
+ $id: LP,
37841
+ title: WP,
37842
+ description: zP,
37843
+ type: qP,
37844
+ properties: GP,
37845
+ required: YP
37845
37846
  }, xs = {
37846
37847
  /** 列集合 */
37847
37848
  columns: {
@@ -37927,7 +37928,7 @@ const R8 = "tree-view", _8 = "A Farris Component", j8 = "object", H8 = {
37927
37928
  },
37928
37929
  /** 行配置 */
37929
37930
  rowOption: { type: Object }
37930
- }, vc = ye(xs, U8, M8, O8, N8);
37931
+ }, vc = ye(xs, UP, MP, OP, NP);
37931
37932
  function Ef(e, t, n, a, o, i, s, l, p, c, u, f, d) {
37932
37933
  const {
37933
37934
  calculateCellPositionInRow: h
@@ -37952,7 +37953,7 @@ function Ef(e, t, n, a, o, i, s, l, p, c, u, f, d) {
37952
37953
  renderTreeArea: b
37953
37954
  };
37954
37955
  }
37955
- function K8(e, t, n, a) {
37956
+ function KP(e, t, n, a) {
37956
37957
  var v, g, x, b, C, w;
37957
37958
  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");
37958
37959
  J(() => {
@@ -37996,7 +37997,7 @@ function K8(e, t, n, a) {
37996
37997
  return { autoCheckChildren: i, autoCheckParent: s, interactAfterCheckHierarchyItem: m };
37997
37998
  }
37998
37999
  function Cs(e, t, n, a, o) {
37999
- const { select: i, unSelect: s, indeterminate: l, getSelectedItems: p } = a, { autoCheckChildren: c, autoCheckParent: u, interactAfterCheckHierarchyItem: f } = K8(e, t, n), { idField: d } = n;
38000
+ const { select: i, unSelect: s, indeterminate: l, getSelectedItems: p } = a, { autoCheckChildren: c, autoCheckParent: u, interactAfterCheckHierarchyItem: f } = KP(e, t, n), { idField: d } = n;
38000
38001
  function h() {
38001
38002
  return t.value.filter((k) => !!k.checked).map((k) => k.raw.__fv_index__);
38002
38003
  }
@@ -38143,7 +38144,7 @@ const qo = /* @__PURE__ */ Z({
38143
38144
  }
38144
38145
  }, [P(), m(), v()])]);
38145
38146
  }
38146
- }), X8 = /* @__PURE__ */ Z({
38147
+ }), XP = /* @__PURE__ */ Z({
38147
38148
  name: "FTreeViewDesign",
38148
38149
  props: xs,
38149
38150
  emits: ["outputValue", "currentEvent", "selectionChange"],
@@ -38189,7 +38190,7 @@ const qo = /* @__PURE__ */ Z({
38189
38190
  }
38190
38191
  }, [O(), x(), b()])]);
38191
38192
  }
38192
- }), Q8 = {
38193
+ }), QP = {
38193
38194
  install(e) {
38194
38195
  e.component(qo.name, qo);
38195
38196
  },
@@ -38197,16 +38198,16 @@ const qo = /* @__PURE__ */ Z({
38197
38198
  e["tree-view"] = qo, t["tree-view"] = vc;
38198
38199
  },
38199
38200
  registerDesigner(e, t, n) {
38200
- e["tree-view"] = X8, t["tree-view"] = vc;
38201
+ e["tree-view"] = XP, t["tree-view"] = vc;
38201
38202
  }
38202
- }, Z8 = {
38203
+ }, ZP = {
38203
38204
  // 是否被选中
38204
38205
  checked: { type: Boolean, default: !1 },
38205
38206
  // 进度条状态 默认'normal'
38206
38207
  id: { type: String, default: "" },
38207
38208
  // 禁用
38208
38209
  disabled: { type: Boolean, default: !1 }
38209
- }, J8 = {
38210
+ }, JP = {
38210
38211
  // 是否显示进度条信息
38211
38212
  showInfo: { type: Boolean, default: !0 },
38212
38213
  // 进度条状态 默认'normal'
@@ -38214,7 +38215,7 @@ const qo = /* @__PURE__ */ Z({
38214
38215
  // 已完成的分段百分比
38215
38216
  percent: { type: Number, default: 0 },
38216
38217
  maxWidth: { type: Number, default: 0 }
38217
- }, eP = {
38218
+ }, e8 = {
38218
38219
  /**
38219
38220
  * 按钮文本
38220
38221
  */
@@ -38247,9 +38248,9 @@ const qo = /* @__PURE__ */ Z({
38247
38248
  * 附件服务器端服务注入的Token
38248
38249
  */
38249
38250
  uploadServerToken: { type: String, default: "" }
38250
- }, tP = /* @__PURE__ */ Z({
38251
+ }, t8 = /* @__PURE__ */ Z({
38251
38252
  name: "FUploadProgress",
38252
- props: J8,
38253
+ props: JP,
38253
38254
  setup(e, t) {
38254
38255
  const {
38255
38256
  showInfo: n,
@@ -38279,7 +38280,7 @@ const qo = /* @__PURE__ */ Z({
38279
38280
  }
38280
38281
  }), $f = /* @__PURE__ */ Z({
38281
38282
  name: "FPreviewCheckbox",
38282
- props: Z8,
38283
+ props: ZP,
38283
38284
  emits: ["checkedChange"],
38284
38285
  setup(e, t) {
38285
38286
  const {
@@ -38310,7 +38311,7 @@ const qo = /* @__PURE__ */ Z({
38310
38311
  }
38311
38312
  });
38312
38313
  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 || {});
38313
- class nP {
38314
+ class n8 {
38314
38315
  constructor(t = {}, n = {}) {
38315
38316
  /**
38316
38317
  * 上传配置
@@ -38334,7 +38335,7 @@ function mc(e, t) {
38334
38335
  let n = "";
38335
38336
  return e.indexOf(".") === -1 && t.hasOwnProperty(e) ? n = t[e] : n = e.split(".").reduce((a, o) => a ? a[o] : null, t), n;
38336
38337
  }
38337
- function aP(e) {
38338
+ function a8(e) {
38338
38339
  return (t, n) => {
38339
38340
  if (!t.hasOwnProperty(e) || t[e] === void 0 || t[e] === null)
38340
38341
  return 1;
@@ -38423,15 +38424,15 @@ function gc(e) {
38423
38424
  }
38424
38425
  return 5;
38425
38426
  }
38426
- function oP(e) {
38427
+ function o8(e) {
38427
38428
  let t = e;
38428
38429
  return e ? (typeof e == "string" && (t = parseInt(e, 10)), Vn(t)) : "0 Byte";
38429
38430
  }
38430
- const iP = () => Math.random().toString(36).substring(7);
38431
+ const i8 = () => Math.random().toString(36).substring(7);
38431
38432
  function yc(e, t) {
38432
38433
  return {
38433
38434
  fileIndex: t,
38434
- id: iP(),
38435
+ id: i8(),
38435
38436
  name: e.name,
38436
38437
  size: e.size,
38437
38438
  type: e.type,
@@ -38452,7 +38453,7 @@ function yc(e, t) {
38452
38453
  nativeFile: e
38453
38454
  };
38454
38455
  }
38455
- function rP(e) {
38456
+ function r8(e) {
38456
38457
  const t = [];
38457
38458
  return e.forEach((n) => {
38458
38459
  const a = { id: "", name: "", size: 0, type: "", extend: null, extendHeaders: null, createTime: "" };
@@ -38463,14 +38464,14 @@ function rP(e) {
38463
38464
  t.push(a);
38464
38465
  }), t;
38465
38466
  }
38466
- function sP(e, t) {
38467
+ function s8(e, t) {
38467
38468
  return e ? t <= e * 1024 * 1024 : !0;
38468
38469
  }
38469
- function lP(e) {
38470
+ function l8(e) {
38470
38471
  return e.find((t) => t === "*") !== void 0;
38471
38472
  }
38472
- function cP(e, t) {
38473
- if (!e || e.length === 0 || lP(e))
38473
+ function c8(e, t) {
38474
+ if (!e || e.length === 0 || l8(e))
38474
38475
  return !0;
38475
38476
  if (t.lastIndexOf(".") < 0)
38476
38477
  return !1;
@@ -38479,7 +38480,7 @@ function cP(e, t) {
38479
38480
  (a) => a.toLowerCase() === n.toLowerCase()
38480
38481
  ) > -1;
38481
38482
  }
38482
- function uP(e) {
38483
+ function u8(e) {
38483
38484
  if (e)
38484
38485
  return e.split(`
38485
38486
  `).map((t) => t.split(/: */, 2)).filter((t) => t[0]).reduce((t, n) => (t[n[0]] = n[1], t), {});
@@ -38487,7 +38488,7 @@ function uP(e) {
38487
38488
  function bc(e) {
38488
38489
  return new Date(e * 1e3).toISOString().substr(11, 8);
38489
38490
  }
38490
- class dP extends nP {
38491
+ class d8 extends n8 {
38491
38492
  upload(t, n, a, o) {
38492
38493
  const i = t[0];
38493
38494
  return new Promise((s, l) => {
@@ -38533,7 +38534,7 @@ class dP extends nP {
38533
38534
  } catch {
38534
38535
  i.response = d.response;
38535
38536
  }
38536
- i.responseHeaders = uP(d.getAllResponseHeaders()), s({ type: "done", files: [i] });
38537
+ i.responseHeaders = u8(d.getAllResponseHeaders()), s({ type: "done", files: [i] });
38537
38538
  }
38538
38539
  }, d.open(c, p, !0), d.withCredentials = !!n.withCredentials;
38539
38540
  try {
@@ -38559,21 +38560,21 @@ class dP extends nP {
38559
38560
  });
38560
38561
  }
38561
38562
  }
38562
- const fP = (e = "") => {
38563
+ const f8 = (e = "") => {
38563
38564
  let t;
38564
38565
  return e && he(e, null) && (t = he(e)), t || (t = new Ur()), t;
38565
- }, pP = (e = "") => {
38566
+ }, p8 = (e = "") => {
38566
38567
  let t;
38567
38568
  if (e && he(e, null)) {
38568
38569
  const n = he(e);
38569
38570
  n && n() && (t = n());
38570
38571
  }
38571
- return t || (t = new dP()), t;
38572
+ return t || (t = new d8()), t;
38572
38573
  }, Rf = {
38573
- getNotify: fP,
38574
- getServerAPI: pP
38574
+ getNotify: f8,
38575
+ getServerAPI: p8
38575
38576
  };
38576
- class vP {
38577
+ class v8 {
38577
38578
  constructor(t, n) {
38578
38579
  // 记录在上传的附件数组
38579
38580
  j(this, "queue");
@@ -38650,7 +38651,7 @@ class vP {
38650
38651
  */
38651
38652
  rejectedReason(t, n, a) {
38652
38653
  let o = !1, i = "";
38653
- return this.queue.findIndex((l) => l.name === t) > -1 ? i = "上传失败:已存在同名文件" : this.uploadOpts.allowedContentTypes && !cP(this.uploadOpts.allowedContentTypes, t) ? i = `上传失败:只允许上传${this.uploadOpts.allowedContentTypes.join(",")}类型的文档` : this.exceedMaxUpload(n) ? i = `上传失败:文件总个数超出${this.uploadOpts.maxUploads}限制` : sP(this.uploadOpts.maxFileSize, a) ? a === 0 ? i = "上传失败:不允许文件为空" : o = !0 : i = `上传失败:单个文件大小超出${this.uploadOpts.maxFileSize}MB的限制`, {
38654
+ return this.queue.findIndex((l) => l.name === t) > -1 ? i = "上传失败:已存在同名文件" : this.uploadOpts.allowedContentTypes && !c8(this.uploadOpts.allowedContentTypes, t) ? i = `上传失败:只允许上传${this.uploadOpts.allowedContentTypes.join(",")}类型的文档` : this.exceedMaxUpload(n) ? i = `上传失败:文件总个数超出${this.uploadOpts.maxUploads}限制` : s8(this.uploadOpts.maxFileSize, a) ? a === 0 ? i = "上传失败:不允许文件为空" : o = !0 : i = `上传失败:单个文件大小超出${this.uploadOpts.maxFileSize}MB的限制`, {
38654
38655
  allowed: o,
38655
38656
  message: i
38656
38657
  };
@@ -38778,10 +38779,10 @@ class vP {
38778
38779
  }
38779
38780
  const _f = /* @__PURE__ */ Z({
38780
38781
  name: "FFileSelect",
38781
- props: eP,
38782
+ props: e8,
38782
38783
  emits: ["change", "stateChange"],
38783
38784
  setup(e, t) {
38784
- const n = new vP(t, e.uploadServerToken), a = Zi(), o = y("*");
38785
+ const n = new v8(t, e.uploadServerToken), a = Zi(), o = y("*");
38785
38786
  let i;
38786
38787
  const s = () => {
38787
38788
  i.files && (t.emit("change", i.files), n.handleFiles(i.files), i.value = null);
@@ -38829,7 +38830,7 @@ const _f = /* @__PURE__ */ Z({
38829
38830
  style: "top: 2px;position: relative;"
38830
38831
  }, null), e.selectText])]);
38831
38832
  }
38832
- }), mP = "https://json-schema.org/draft/2020-12/schema", hP = "https://farris-design.gitee.io/uploader.schema.json", gP = "uploader", yP = "A Farris Component", bP = "object", xP = {
38833
+ }), m8 = "https://json-schema.org/draft/2020-12/schema", h8 = "https://farris-design.gitee.io/uploader.schema.json", g8 = "uploader", y8 = "A Farris Component", b8 = "object", x8 = {
38833
38834
  id: {
38834
38835
  description: "The unique identifier for uploader",
38835
38836
  type: "string"
@@ -38881,24 +38882,24 @@ const _f = /* @__PURE__ */ Z({
38881
38882
  type: "boolean",
38882
38883
  default: !0
38883
38884
  }
38884
- }, CP = [
38885
+ }, C8 = [
38885
38886
  "id",
38886
38887
  "type"
38887
- ], wP = {
38888
- $schema: mP,
38889
- $id: hP,
38890
- title: gP,
38891
- description: yP,
38892
- type: bP,
38893
- properties: xP,
38894
- required: CP
38895
- }, SP = /* @__PURE__ */ new Map([
38888
+ ], w8 = {
38889
+ $schema: m8,
38890
+ $id: h8,
38891
+ title: g8,
38892
+ description: y8,
38893
+ type: b8,
38894
+ properties: x8,
38895
+ required: C8
38896
+ }, S8 = /* @__PURE__ */ new Map([
38896
38897
  ["appearance", ke]
38897
38898
  ]);
38898
- function kP(e, t, n) {
38899
+ function k8(e, t, n) {
38899
38900
  return t;
38900
38901
  }
38901
- const BP = "uploader", DP = "A Farris Component", FP = "object", TP = {
38902
+ const B8 = "uploader", D8 = "A Farris Component", F8 = "object", T8 = {
38902
38903
  basic: {
38903
38904
  description: "Basic Infomation",
38904
38905
  title: "基本信息",
@@ -38920,11 +38921,11 @@ const BP = "uploader", DP = "A Farris Component", FP = "object", TP = {
38920
38921
  }
38921
38922
  }
38922
38923
  }
38923
- }, AP = {
38924
- title: BP,
38925
- description: DP,
38926
- type: FP,
38927
- categories: TP
38924
+ }, A8 = {
38925
+ title: B8,
38926
+ description: D8,
38927
+ type: F8,
38928
+ categories: T8
38928
38929
  }, Ss = {
38929
38930
  /** 内容区域填充 */
38930
38931
  contentFill: { type: Boolean, default: !1 },
@@ -38989,7 +38990,7 @@ const BP = "uploader", DP = "A Farris Component", FP = "object", TP = {
38989
38990
  * 提示服务注入的Token
38990
38991
  */
38991
38992
  notifyServiceToken: { type: String, default: "" }
38992
- }, xc = ye(Ss, wP, SP, kP, AP);
38993
+ }, xc = ye(Ss, w8, S8, k8, A8);
38993
38994
  function jf(e, t, n) {
38994
38995
  const a = Rf.getNotify(e.notifyServiceToken), o = y(e.fileInfos), {
38995
38996
  disabled: i,
@@ -39005,7 +39006,7 @@ function jf(e, t, n) {
39005
39006
  } = Gn(e), v = y(!1), g = y([]), x = $(() => g.value.length), b = y([]), C = y(""), w = $(() => {
39006
39007
  (!o.value.length || g.value.length !== o.value.length) && (v.value = !1);
39007
39008
  const N = o.value.map((W) => (W.hasOwnProperty("size") || (W.size = void 0), W.hasOwnProperty("createTime") || (W.createTime = void 0), W));
39008
- if (N.sort(aP(c.value)), u.value) {
39009
+ if (N.sort(a8(c.value)), u.value) {
39009
39010
  const W = N.map((L) => (L.checked = !!g.value.find((Y) => Y.id === L.id) || v.value, L));
39010
39011
  return g.value = [...W].filter((L) => L.checked), W;
39011
39012
  }
@@ -39085,7 +39086,7 @@ function jf(e, t, n) {
39085
39086
  size: L.size,
39086
39087
  createTime: ws(/* @__PURE__ */ new Date(), "yyyy-MM-dd HH:mm:ss")
39087
39088
  }));
39088
- o.value = [...W, ...w.value], H(N), t.emit("fUploadDoneEvent", rP(N.files || []));
39089
+ o.value = [...W, ...w.value], H(N), t.emit("fUploadDoneEvent", r8(N.files || []));
39089
39090
  } else N.type === "cancelled" || N.type === "removed" || N.type === "error" ? (b.value = b.value.filter((W) => N.files && N.files.findIndex((L) => {
39090
39091
  var Y;
39091
39092
  return ((Y = W == null ? void 0 : W.file) == null ? void 0 : Y.id) === L.id;
@@ -39122,7 +39123,7 @@ function jf(e, t, n) {
39122
39123
  const Go = /* @__PURE__ */ Z({
39123
39124
  name: "FUploader",
39124
39125
  components: {
39125
- "f-upload-progress": tP,
39126
+ "f-upload-progress": t8,
39126
39127
  "f-preview-checkbox": $f,
39127
39128
  "f-file-select": _f
39128
39129
  },
@@ -39228,7 +39229,7 @@ const Go = /* @__PURE__ */ Z({
39228
39229
  function U(K, te, le) {
39229
39230
  return r("div", {
39230
39231
  class: "uploadAndpreview--filesize-container"
39231
- }, [K === "preview" && le ? r("span", null, [oP(le.size)]) : null, K === "upload" && te ? r("span", null, [gc(te)]) : null]);
39232
+ }, [K === "preview" && le ? r("span", null, [o8(le.size)]) : null, K === "upload" && te ? r("span", null, [gc(te)]) : null]);
39232
39233
  }
39233
39234
  function _(K, te) {
39234
39235
  return r("div", {
@@ -39423,7 +39424,7 @@ const Go = /* @__PURE__ */ Z({
39423
39424
  class: "table table-bordered uploadAndpreview--table"
39424
39425
  }, [r("thead", null, [G()]), r("tbody", null, [z(), Q()])]) : null]) : null, D.value ? O() : null]);
39425
39426
  }
39426
- }), IP = /* @__PURE__ */ Z({
39427
+ }), I8 = /* @__PURE__ */ Z({
39427
39428
  name: "FUploaderDesign",
39428
39429
  components: {
39429
39430
  "f-preview-checkbox": $f,
@@ -39625,7 +39626,7 @@ const Go = /* @__PURE__ */ Z({
39625
39626
  class: "table table-bordered uploadAndpreview--table"
39626
39627
  }, [r("thead", null, [I()]), r("tbody", null, [E()])])]), b()]) : null]);
39627
39628
  }
39628
- }), EP = {
39629
+ }), E8 = {
39629
39630
  install(e) {
39630
39631
  e.component(Go.name, Go);
39631
39632
  },
@@ -39633,15 +39634,15 @@ const Go = /* @__PURE__ */ Z({
39633
39634
  e.uploader = Go, t.uploader = xc;
39634
39635
  },
39635
39636
  registerDesigner(e, t, n) {
39636
- e.uploader = IP, t.uploader = xc;
39637
+ e.uploader = I8, t.uploader = xc;
39637
39638
  }
39638
- }, $P = /* @__PURE__ */ new Map([
39639
+ }, $8 = /* @__PURE__ */ new Map([
39639
39640
  ["appearance", ke]
39640
39641
  ]);
39641
- function PP(e, t, n) {
39642
+ function P8(e, t, n) {
39642
39643
  return t;
39643
39644
  }
39644
- const MP = "https://json-schema.org/draft/2020-12/schema", OP = "https://farris-design.gitee.io/verify-detail.schema.json", RP = "verify-detail", _P = "A Farris Component", jP = "object", HP = {
39645
+ const M8 = "https://json-schema.org/draft/2020-12/schema", O8 = "https://farris-design.gitee.io/verify-detail.schema.json", R8 = "verify-detail", _8 = "A Farris Component", j8 = "object", H8 = {
39645
39646
  id: {
39646
39647
  description: "The unique identifier for verify-detail",
39647
39648
  type: "string"
@@ -39703,18 +39704,18 @@ const MP = "https://json-schema.org/draft/2020-12/schema", OP = "https://farris-
39703
39704
  type: "boolean",
39704
39705
  default: !0
39705
39706
  }
39706
- }, NP = [
39707
+ }, N8 = [
39707
39708
  "id",
39708
39709
  "type"
39709
- ], VP = {
39710
- $schema: MP,
39711
- $id: OP,
39712
- title: RP,
39713
- description: _P,
39714
- type: jP,
39715
- properties: HP,
39716
- required: NP
39717
- }, LP = "verify-detail", WP = "A Farris Component", zP = "object", qP = {
39710
+ ], V8 = {
39711
+ $schema: M8,
39712
+ $id: O8,
39713
+ title: R8,
39714
+ description: _8,
39715
+ type: j8,
39716
+ properties: H8,
39717
+ required: N8
39718
+ }, L8 = "verify-detail", W8 = "A Farris Component", z8 = "object", q8 = {
39718
39719
  basic: {
39719
39720
  description: "Basic Infomation",
39720
39721
  title: "基本信息",
@@ -39736,11 +39737,11 @@ const MP = "https://json-schema.org/draft/2020-12/schema", OP = "https://farris-
39736
39737
  }
39737
39738
  }
39738
39739
  }
39739
- }, GP = {
39740
- title: LP,
39741
- description: WP,
39742
- type: zP,
39743
- categories: qP
39740
+ }, G8 = {
39741
+ title: L8,
39742
+ description: W8,
39743
+ type: z8,
39744
+ categories: q8
39744
39745
  }, ks = {
39745
39746
  /** 表单验证默认显示的分组信息 */
39746
39747
  showType: { type: String, default: "" },
@@ -39781,7 +39782,7 @@ const MP = "https://json-schema.org/draft/2020-12/schema", OP = "https://farris-
39781
39782
  },
39782
39783
  customClass: { type: String, default: "" },
39783
39784
  maxHeight: { type: Number, default: 200 }
39784
- }, Cc = ye(ks, VP, $P, PP, GP), ya = /* @__PURE__ */ Z({
39785
+ }, Cc = ye(ks, V8, $8, P8, G8), ya = /* @__PURE__ */ Z({
39785
39786
  name: "FVerifyDetail",
39786
39787
  props: ks,
39787
39788
  emits: ["validatorClick", "listshow"],
@@ -39914,7 +39915,7 @@ const MP = "https://json-schema.org/draft/2020-12/schema", OP = "https://farris-
39914
39915
  }, [g()])])])])]) : null]);
39915
39916
  }
39916
39917
  });
39917
- function YP(e, t, n) {
39918
+ function Y8(e, t, n) {
39918
39919
  Ma({
39919
39920
  setup() {
39920
39921
  return Ct(() => {
@@ -39927,7 +39928,7 @@ class Hf {
39927
39928
  static show(t, n) {
39928
39929
  this.clear();
39929
39930
  let a = 0;
39930
- this.verifyContainer = document.createElement("div"), n ? (a = n.offsetHeight - 110, n.appendChild(this.verifyContainer)) : (a = document.documentElement.clientHeight - 110, document.body.appendChild(this.verifyContainer)), t.maxHeight = t.maxHeight ? t.maxHeight : a, YP(t, this.clear, this.verifyContainer);
39931
+ this.verifyContainer = document.createElement("div"), n ? (a = n.offsetHeight - 110, n.appendChild(this.verifyContainer)) : (a = document.documentElement.clientHeight - 110, document.body.appendChild(this.verifyContainer)), t.maxHeight = t.maxHeight ? t.maxHeight : a, Y8(t, this.clear, this.verifyContainer);
39931
39932
  }
39932
39933
  static clear() {
39933
39934
  let t = this.verifyContainer;
@@ -39935,7 +39936,7 @@ class Hf {
39935
39936
  }
39936
39937
  }
39937
39938
  j(Hf, "verifyContainer", null);
39938
- const UP = /* @__PURE__ */ Z({
39939
+ const U8 = /* @__PURE__ */ Z({
39939
39940
  name: "FVerifyDetailDesign",
39940
39941
  props: ks,
39941
39942
  emits: ["validatorClick", "listshow"],
@@ -40071,7 +40072,7 @@ const UP = /* @__PURE__ */ Z({
40071
40072
  }
40072
40073
  }, [b()])])])])])]) : null]);
40073
40074
  }
40074
- }), KP = {
40075
+ }), K8 = {
40075
40076
  install(e) {
40076
40077
  e.component(ya.name, ya), e.provide("FVerifyDetailService", Hf);
40077
40078
  },
@@ -40079,15 +40080,15 @@ const UP = /* @__PURE__ */ Z({
40079
40080
  e["verify-detail"] = ya, t["verify-detail"] = Cc;
40080
40081
  },
40081
40082
  registerDesigner(e, t, n) {
40082
- e["verify-detail"] = UP, t["verify-detail"] = Cc;
40083
+ e["verify-detail"] = U8, t["verify-detail"] = Cc;
40083
40084
  }
40084
- }, XP = /* @__PURE__ */ new Map([
40085
+ }, X8 = /* @__PURE__ */ new Map([
40085
40086
  ["appearance", ke]
40086
40087
  ]);
40087
- function QP(e, t, n) {
40088
+ function Q8(e, t, n) {
40088
40089
  return t;
40089
40090
  }
40090
- const ZP = "https://json-schema.org/draft/2020-12/schema", JP = "https://farris-design.gitee.io/weather.schema.json", eM = "weather", tM = "A Farris Input Component", nM = "object", aM = {
40091
+ const Z8 = "https://json-schema.org/draft/2020-12/schema", J8 = "https://farris-design.gitee.io/weather.schema.json", eM = "weather", tM = "A Farris Input Component", nM = "object", aM = {
40091
40092
  id: {
40092
40093
  description: "The unique identifier for a weather",
40093
40094
  type: "string"
@@ -40114,8 +40115,8 @@ const ZP = "https://json-schema.org/draft/2020-12/schema", JP = "https://farris-
40114
40115
  "id",
40115
40116
  "type"
40116
40117
  ], iM = {
40117
- $schema: ZP,
40118
- $id: JP,
40118
+ $schema: Z8,
40119
+ $id: J8,
40119
40120
  title: eM,
40120
40121
  description: tM,
40121
40122
  type: nM,
@@ -40406,7 +40407,7 @@ const ZP = "https://json-schema.org/draft/2020-12/schema", JP = "https://farris-
40406
40407
  data: { type: Object, default: dM },
40407
40408
  /** 主题参数 */
40408
40409
  theme: { type: Number, default: 1 }
40409
- }, wc = ye(Bs, iM, XP, QP, uM);
40410
+ }, wc = ye(Bs, iM, X8, Q8, uM);
40410
40411
  function Nf(e, t) {
40411
40412
  function n(a) {
40412
40413
  return a < 10 ? "0" + a : a;
@@ -46596,7 +46597,7 @@ const F5 = /* @__PURE__ */ Z({
46596
46597
  }, De = {}, Fe = {}, Ae = {};
46597
46598
  let su = !1;
46598
46599
  function A5() {
46599
- su || (su = !0, Ix.register(De, Fe, Ae), px.register(De, Fe, Ae), $x.register(De, Fe, Ae), Zx.registerDesigner(De, Fe, Ae), C1.register(De, Fe, Ae), S1.register(De, Fe, Ae), R1.register(De, Fe, Ae), j1.register(De, Fe, Ae), tC.register(De, Fe), nw.register(De, Fe, Ae), jC.registerDesigner(De, Fe, Ae), Hw.register(De, Fe, Ae), r2.register(De, Fe, Ae), k2.register(De, Fe, Ae), $5.register(De, Fe, Ae), WS.register(De, Fe, Ae), Pk.register(De, Fe, Ae), Zk.register(De, Fe, Ae), eB.register(De, Fe, Ae), IB.register(De, Fe, Ae), F3.register(De, Fe, Ae), UB.registerDesigner(De, Fe, Ae), wD.register(De, Fe, Ae), GD.register(De, Fe, Ae), cF.register(De, Fe, Ae), DF.register(De, Fe, Ae), zF.register(De, Fe, Ae), GF.register(De, Fe, Ae), gT.register(De, Fe, Ae), MT.register(De, Fe, Ae), QT.register(De, Fe, Ae), CA.register(De, Fe, Ae), qA.register(De, Fe, Ae), YA.register(De, Fe, Ae), dI.register(De, Fe, Ae), RI.register(De, Fe, Ae), z4.register(De, Fe, Ae), uT.register(De, Fe, Ae), lE.register(De, Fe, Ae), dE.register(De, Fe, Ae), TE.register(De, Fe, Ae), l$.register(De, Fe, Ae), B$.register(De, Fe, Ae), F$.register(De, Fe, Ae), _$.register(De, Fe, Ae), H$.register(De, Fe, Ae), u8.register(De, Fe, Ae), E8.register(De, Fe, Ae), P8.register(De, Fe, Ae), Q8.register(De, Fe, Ae), KP.register(De, Fe, Ae), EP.register(De, Fe, Ae), c5.register(De, Fe, Ae), T5.register(De, Fe, Ae));
46600
+ su || (su = !0, Ix.register(De, Fe, Ae), px.register(De, Fe, Ae), $x.register(De, Fe, Ae), Zx.registerDesigner(De, Fe, Ae), C1.register(De, Fe, Ae), S1.register(De, Fe, Ae), R1.register(De, Fe, Ae), j1.register(De, Fe, Ae), tC.register(De, Fe), nw.register(De, Fe, Ae), jC.registerDesigner(De, Fe, Ae), Hw.register(De, Fe, Ae), r2.register(De, Fe, Ae), k2.register(De, Fe, Ae), $5.register(De, Fe, Ae), WS.register(De, Fe, Ae), Pk.register(De, Fe, Ae), Zk.register(De, Fe, Ae), eB.register(De, Fe, Ae), IB.register(De, Fe, Ae), F3.register(De, Fe, Ae), UB.registerDesigner(De, Fe, Ae), wD.register(De, Fe, Ae), GD.register(De, Fe, Ae), cF.register(De, Fe, Ae), DF.register(De, Fe, Ae), zF.register(De, Fe, Ae), GF.register(De, Fe, Ae), gT.register(De, Fe, Ae), MT.register(De, Fe, Ae), QT.register(De, Fe, Ae), CA.register(De, Fe, Ae), qA.register(De, Fe, Ae), YA.register(De, Fe, Ae), dI.register(De, Fe, Ae), RI.register(De, Fe, Ae), z4.register(De, Fe, Ae), uT.register(De, Fe, Ae), lE.register(De, Fe, Ae), dE.register(De, Fe, Ae), TE.register(De, Fe, Ae), l$.register(De, Fe, Ae), B$.register(De, Fe, Ae), F$.register(De, Fe, Ae), _$.register(De, Fe, Ae), H$.register(De, Fe, Ae), uP.register(De, Fe, Ae), EP.register(De, Fe, Ae), PP.register(De, Fe, Ae), QP.register(De, Fe, Ae), K8.register(De, Fe, Ae), E8.register(De, Fe, Ae), c5.register(De, Fe, Ae), T5.register(De, Fe, Ae));
46600
46601
  }
46601
46602
  function Gf() {
46602
46603
  A5();