@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
@@ -35961,49 +35961,50 @@ const q$ = /* @__PURE__ */ Z({
35961
35961
  slots: t.slots,
35962
35962
  props: e
35963
35963
  }, c = y((s == null ? void 0 : s.tabType.value) || "default");
35964
- function u() {
35965
- e.id === s.activeId.value ? a.designerItemElementRef.value.classList.remove("d-none") : a.designerItemElementRef.value.classList.add("d-none");
35966
- }
35967
35964
  ue(() => {
35968
35965
  n.value.componentInstance = i;
35969
- const g = s.tabPages.value.findIndex((x) => x.props.id === e.id);
35970
- !g || g === -1 ? s == null || s.addTab(p) : g > -1 && (l.value = !1, console.warn(`已经存在id为${e.id}的页签啦`)), u();
35966
+ const x = s.tabPages.value.findIndex((b) => b.props.id === e.id);
35967
+ !x || x === -1 ? s == null || s.addTab(p) : x > -1 && (l.value = !1, console.warn(`已经存在id为${e.id}的页签啦`));
35971
35968
  }), Ct(() => {
35972
35969
  });
35973
- const f = $(() => ({
35974
- display: (e == null ? void 0 : e.id) === (s == null ? void 0 : s.activeId.value) ? "" : "none"
35970
+ const u = $(() => (e == null ? void 0 : e.id) === (s == null ? void 0 : s.activeId.value)), f = $(() => ({
35971
+ display: u.value ? "" : "none"
35975
35972
  }));
35976
- J(() => e, (g) => {
35973
+ J(() => e, (x) => {
35977
35974
  s == null || s.updateTab({
35978
- props: g,
35975
+ props: x,
35979
35976
  slots: t.slots
35980
35977
  });
35981
35978
  }, {
35982
35979
  immediate: !0,
35983
35980
  deep: !0
35984
- }), J(s.activeId, u);
35981
+ });
35985
35982
  function d() {
35986
- var x, b;
35987
- const g = (b = (x = t.slots).default) == null ? void 0 : b.call(x);
35983
+ var b, C;
35984
+ const x = (C = (b = t.slots).default) == null ? void 0 : C.call(b);
35988
35985
  return r(Rn, {
35989
35986
  "main-title": e.title,
35990
35987
  class: "farris-tab-page"
35991
- }, z$(g) ? g : {
35992
- default: () => [g]
35988
+ }, z$(x) ? x : {
35989
+ default: () => [x]
35993
35990
  });
35994
35991
  }
35995
- function h() {
35996
- var x, b;
35997
- const g = (b = (x = t.slots).default) == null ? void 0 : b.call(x);
35992
+ const h = $(() => ({
35993
+ "farris-tab-page": !0,
35994
+ "drag-container": !0
35995
+ }));
35996
+ function m() {
35997
+ var b, C;
35998
+ const x = (C = (b = t.slots).default) == null ? void 0 : C.call(b);
35998
35999
  return r("div", {
35999
36000
  ref: n,
36000
- class: "farris-tab-page drag-container",
36001
+ class: h.value,
36001
36002
  "data-dragref": `${a.schema.id}-container`,
36002
36003
  style: f.value
36003
- }, [g]);
36004
+ }, [x]);
36004
36005
  }
36005
- const v = (/* @__PURE__ */ new Map([["default", h], ["one-page", d]])).get(c.value) || h;
36006
- return () => l.value ? v() : null;
36006
+ const g = (/* @__PURE__ */ new Map([["default", m], ["one-page", d]])).get(c.value) || m;
36007
+ return () => l.value ? g() : null;
36007
36008
  }
36008
36009
  }), G$ = {
36009
36010
  install(e) {
@@ -36266,7 +36267,7 @@ const q$ = /* @__PURE__ */ Z({
36266
36267
  function X$(e, t, n) {
36267
36268
  return t;
36268
36269
  }
36269
- const Q$ = "text", Z$ = "A Farris Component", J$ = "object", e8 = {
36270
+ const Q$ = "text", Z$ = "A Farris Component", J$ = "object", eP = {
36270
36271
  basic: {
36271
36272
  description: "Basic Infomation",
36272
36273
  title: "基本信息",
@@ -36288,12 +36289,12 @@ const Q$ = "text", Z$ = "A Farris Component", J$ = "object", e8 = {
36288
36289
  }
36289
36290
  }
36290
36291
  }
36291
- }, t8 = {
36292
+ }, tP = {
36292
36293
  title: Q$,
36293
36294
  description: Z$,
36294
36295
  type: J$,
36295
- categories: e8
36296
- }, n8 = "https://json-schema.org/draft/2020-12/schema", a8 = "https://farris-design.gitee.io/text.schema.json", o8 = "text", i8 = "A Farris Component", r8 = "object", s8 = {
36296
+ categories: eP
36297
+ }, nP = "https://json-schema.org/draft/2020-12/schema", aP = "https://farris-design.gitee.io/text.schema.json", oP = "text", iP = "A Farris Component", rP = "object", sP = {
36297
36298
  id: {
36298
36299
  description: "The unique identifier for text",
36299
36300
  type: "string"
@@ -36355,17 +36356,17 @@ const Q$ = "text", Z$ = "A Farris Component", J$ = "object", e8 = {
36355
36356
  type: "boolean",
36356
36357
  default: !0
36357
36358
  }
36358
- }, l8 = [
36359
+ }, lP = [
36359
36360
  "id",
36360
36361
  "type"
36361
- ], c8 = {
36362
- $schema: n8,
36363
- $id: a8,
36364
- title: o8,
36365
- description: i8,
36366
- type: r8,
36367
- properties: s8,
36368
- required: l8
36362
+ ], cP = {
36363
+ $schema: nP,
36364
+ $id: aP,
36365
+ title: oP,
36366
+ description: iP,
36367
+ type: rP,
36368
+ properties: sP,
36369
+ required: lP
36369
36370
  }, gs = {
36370
36371
  // 组件值
36371
36372
  modelValue: { type: [String, Number, Boolean], default: "" },
@@ -36407,12 +36408,12 @@ const Q$ = "text", Z$ = "A Farris Component", J$ = "object", e8 = {
36407
36408
  dateRangeDelimiter: { type: String, default: "~" },
36408
36409
  // 枚举项的分隔符
36409
36410
  enumDelimiter: { type: String, default: "," }
36410
- }, pc = ye(gs, c8, K$, X$, t8);
36411
- function u8(e) {
36411
+ }, pc = ye(gs, cP, K$, X$, tP);
36412
+ function uP(e) {
36412
36413
  let t;
36413
36414
  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;
36414
36415
  }
36415
- function d8(e, t, n, a, o) {
36416
+ function dP(e, t, n, a, o) {
36416
36417
  if (e == null || e === "")
36417
36418
  return "";
36418
36419
  if (t && t.length) {
@@ -36427,26 +36428,26 @@ function d8(e, t, n, a, o) {
36427
36428
  }
36428
36429
  function vc(e, t) {
36429
36430
  let n;
36430
- return t || (t = "YYYY-MM-DD"), t === "timeago" ? Hx().formatTo(e) : (t === "hh:mm:ss" || t === "HH:mm:ss" ? n = e : n = wr().formatTo(e, u8(t)), n);
36431
+ return t || (t = "YYYY-MM-DD"), t === "timeago" ? Hx().formatTo(e) : (t === "hh:mm:ss" || t === "HH:mm:ss" ? n = e : n = wr().formatTo(e, uP(t)), n);
36431
36432
  }
36432
- function f8(e, t) {
36433
+ function fP(e, t) {
36433
36434
  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;
36434
36435
  }
36435
- function p8(e) {
36436
+ function pP(e) {
36436
36437
  return e.replace(/[a-z]+/g, (t) => t.toUpperCase());
36437
36438
  }
36438
- function v8(e, t, n) {
36439
+ function vP(e, t, n) {
36439
36440
  return e.toString().indexOf(".") > -1 ? (console.warn("十进制转换仅限整型类型"), "") : (Array(t).join(n) + e).slice(-t);
36440
36441
  }
36441
- function m8(e, t) {
36442
+ function mP(e, t) {
36442
36443
  return Number(e * 100).toFixed(Number(t)) + "%";
36443
36444
  }
36444
- function h8(e, t, n, a, o, i, s) {
36445
+ function hP(e, t, n, a, o, i, s) {
36445
36446
  if (!t && !n)
36446
36447
  return e.toString();
36447
36448
  if (n && n.type && n.type === "number" && n.formatter)
36448
36449
  return n.formatter(e);
36449
- const l = p8(t.substring(0, 1)), p = Number(t.substring(1)), c = {};
36450
+ const l = pP(t.substring(0, 1)), p = Number(t.substring(1)), c = {};
36450
36451
  let u;
36451
36452
  if (!/C|D|F|N|P/g.test(l)) {
36452
36453
  console.log(`不支持format为 ${t} 类型的数字格式化`);
@@ -36459,7 +36460,7 @@ function h8(e, t, n, a, o, i, s) {
36459
36460
  Object.assign(c, { prefix: "¥", precision: p }), u = f(e, c);
36460
36461
  break;
36461
36462
  case "D":
36462
- u = v8(e, p, s);
36463
+ u = vP(e, p, s);
36463
36464
  break;
36464
36465
  case "F":
36465
36466
  Object.assign(c, { prefix: "", groupSeparator: "", precision: p }), u = f(e, c);
@@ -36468,12 +36469,12 @@ function h8(e, t, n, a, o, i, s) {
36468
36469
  Object.assign(c, { prefix: "", precision: p }), u = f(e, c);
36469
36470
  break;
36470
36471
  case "P":
36471
- u = m8(e, p);
36472
+ u = mP(e, p);
36472
36473
  break;
36473
36474
  }
36474
36475
  return u;
36475
36476
  }
36476
- function g8(e) {
36477
+ function gP(e) {
36477
36478
  return e === !0 ? "是" : e === !1 || e == null || e === "" || typeof e > "u" ? "否" : e;
36478
36479
  }
36479
36480
  const Lo = /* @__PURE__ */ Z({
@@ -36525,13 +36526,13 @@ const Lo = /* @__PURE__ */ Z({
36525
36526
  }
36526
36527
  break;
36527
36528
  case "number":
36528
- l.value = f8(l.value, e.numberOptions), x = h8(g, l.value, e.numberOptions, e.groupSeparator, e.decimalSeparator, e.amountExpression, e.decimalFilledSymbol);
36529
+ l.value = fP(l.value, e.numberOptions), x = hP(g, l.value, e.numberOptions, e.groupSeparator, e.decimalSeparator, e.amountExpression, e.decimalFilledSymbol);
36529
36530
  break;
36530
36531
  case "enum":
36531
- x = d8(g, e.enumConvertedDatas, e.enumDelimiter, e.textField, e.valueField);
36532
+ x = dP(g, e.enumConvertedDatas, e.enumDelimiter, e.textField, e.valueField);
36532
36533
  break;
36533
36534
  case "boolean":
36534
- x = g8(g);
36535
+ x = gP(g);
36535
36536
  break;
36536
36537
  }
36537
36538
  return x;
@@ -36550,7 +36551,7 @@ const Lo = /* @__PURE__ */ Z({
36550
36551
  title: u.value
36551
36552
  }, [h.value]);
36552
36553
  }
36553
- }), y8 = /* @__PURE__ */ Z({
36554
+ }), yP = /* @__PURE__ */ Z({
36554
36555
  name: "FTextDesign",
36555
36556
  props: gs,
36556
36557
  emits: ["update:modelValue"],
@@ -36575,7 +36576,7 @@ const Lo = /* @__PURE__ */ Z({
36575
36576
  style: c.value
36576
36577
  }, [l.value]);
36577
36578
  }
36578
- }), b8 = {
36579
+ }), bP = {
36579
36580
  install(e) {
36580
36581
  e.component(Lo.name, Lo);
36581
36582
  },
@@ -36583,11 +36584,11 @@ const Lo = /* @__PURE__ */ Z({
36583
36584
  e.text = Lo, t.text = pc;
36584
36585
  },
36585
36586
  registerDesigner(e, t, n) {
36586
- e.text = y8, t.text = pc;
36587
+ e.text = yP, t.text = pc;
36587
36588
  }
36588
- }, x8 = /* @__PURE__ */ new Map([
36589
+ }, xP = /* @__PURE__ */ new Map([
36589
36590
  ["appearance", ke]
36590
- ]), C8 = "https://json-schema.org/draft/2020-12/schema", w8 = "https://farris-design.gitee.io/time-picker.schema.json", S8 = "time-picker", k8 = "A Farris Input Component", B8 = "object", D8 = {
36591
+ ]), CP = "https://json-schema.org/draft/2020-12/schema", wP = "https://farris-design.gitee.io/time-picker.schema.json", SP = "time-picker", kP = "A Farris Input Component", BP = "object", DP = {
36591
36592
  id: {
36592
36593
  description: "The unique identifier for a time picker",
36593
36594
  type: "string"
@@ -36649,22 +36650,22 @@ const Lo = /* @__PURE__ */ Z({
36649
36650
  type: "boolean",
36650
36651
  default: !0
36651
36652
  }
36652
- }, F8 = [
36653
+ }, FP = [
36653
36654
  "id",
36654
36655
  "type"
36655
- ], T8 = {
36656
- $schema: C8,
36657
- $id: w8,
36658
- title: S8,
36659
- description: k8,
36660
- type: B8,
36661
- properties: D8,
36662
- required: F8
36656
+ ], TP = {
36657
+ $schema: CP,
36658
+ $id: wP,
36659
+ title: SP,
36660
+ description: kP,
36661
+ type: BP,
36662
+ properties: DP,
36663
+ required: FP
36663
36664
  };
36664
- function A8(e, t, n) {
36665
+ function AP(e, t, n) {
36665
36666
  return t;
36666
36667
  }
36667
- const I8 = "time-picker", E8 = "A Farris Component", $8 = "object", P8 = {
36668
+ const IP = "time-picker", EP = "A Farris Component", $P = "object", PP = {
36668
36669
  basic: {
36669
36670
  description: "Basic Infomation",
36670
36671
  title: "基本信息",
@@ -36746,11 +36747,11 @@ const I8 = "time-picker", E8 = "A Farris Component", $8 = "object", P8 = {
36746
36747
  }
36747
36748
  }
36748
36749
  }
36749
- }, M8 = {
36750
- title: I8,
36751
- description: E8,
36752
- type: $8,
36753
- categories: P8
36750
+ }, MP = {
36751
+ title: IP,
36752
+ description: EP,
36753
+ type: $P,
36754
+ categories: PP
36754
36755
  }, ys = {
36755
36756
  /**
36756
36757
  * 组件值,这个是与指定的format格式相对应的值
@@ -36779,7 +36780,7 @@ const I8 = "time-picker", E8 = "A Farris Component", $8 = "object", P8 = {
36779
36780
  disable: { type: Boolean, default: !1 },
36780
36781
  readonly: { type: Boolean, default: !1 },
36781
36782
  editable: { type: Boolean, default: !0 }
36782
- }, mc = ye(ys, T8, x8, A8, M8), O8 = {
36783
+ }, mc = ye(ys, TP, xP, AP, MP), OP = {
36783
36784
  modelValue: {
36784
36785
  type: String,
36785
36786
  default: ""
@@ -36847,7 +36848,7 @@ function Ef(e, t) {
36847
36848
  let n = e || "hh:mm:ss";
36848
36849
  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;
36849
36850
  }
36850
- class R8 {
36851
+ class RP {
36851
36852
  constructor() {
36852
36853
  j(this, "hourStep", 1);
36853
36854
  j(this, "minuteStep", 1);
@@ -37013,7 +37014,7 @@ class R8 {
37013
37014
  return n === "PM" && t > 12 ? t - 12 : n === "AM" && t === 0 ? 12 : t;
37014
37015
  }
37015
37016
  }
37016
- function _8(e, t, n, a, o, i) {
37017
+ function _P(e, t, n, a, o, i) {
37017
37018
  function s(u, f, d = 0, h, m) {
37018
37019
  const v = l(f, h, m), g = u.children[0].children[v] || u.children[0].children[0];
37019
37020
  p(u, g.offsetTop, d);
@@ -37060,7 +37061,7 @@ function _8(e, t, n, a, o, i) {
37060
37061
  }
37061
37062
  return { scrollToSelected: s };
37062
37063
  }
37063
- function j8(e, t) {
37064
+ function jP(e, t) {
37064
37065
  function n(l) {
37065
37066
  return l.index === e.viewHours || !Je(e.viewHours) && l.index === e.defaultViewHours;
37066
37067
  }
@@ -37083,14 +37084,14 @@ function j8(e, t) {
37083
37084
  }
37084
37085
  const Ki = /* @__PURE__ */ Z({
37085
37086
  name: "FTimePickerTimeView",
37086
- props: O8,
37087
+ props: OP,
37087
37088
  emits: ["valueChange", "formatedValueChange"],
37088
37089
  setup(e, t) {
37089
- 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 R8(), {
37090
+ 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 RP(), {
37090
37091
  scrollToSelected: h
37091
- } = _8(e, t, o, i, s, l), {
37092
+ } = _P(e, t, o, i, s, l), {
37092
37093
  getSelectedClass: m
37093
- } = j8(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);
37094
+ } = jP(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);
37094
37095
  J(() => e.defaultOpenValue, (q) => {
37095
37096
  Je(q) && (b.value = q);
37096
37097
  }), J(b, (q) => {
@@ -37330,7 +37331,7 @@ const Ki = /* @__PURE__ */ Z({
37330
37331
  }), null)]
37331
37332
  });
37332
37333
  }
37333
- }), H8 = /* @__PURE__ */ Z({
37334
+ }), HP = /* @__PURE__ */ Z({
37334
37335
  name: "FTimePickerDesign",
37335
37336
  props: ys,
37336
37337
  emits: ["datePicked", "update:modelValue"],
@@ -37354,7 +37355,7 @@ const Ki = /* @__PURE__ */ Z({
37354
37355
  default: () => [r(Qe("f-time-picker-time-view"), null, null)]
37355
37356
  })]);
37356
37357
  }
37357
- }), N8 = {
37358
+ }), NP = {
37358
37359
  install(e) {
37359
37360
  e.component(Wo.name, Wo).component(Ki.name, Ki);
37360
37361
  },
@@ -37362,9 +37363,9 @@ const Ki = /* @__PURE__ */ Z({
37362
37363
  e["time-picker"] = Wo, t["time-picker"] = mc;
37363
37364
  },
37364
37365
  registerDesigner(e, t, n) {
37365
- e["time-picker"] = H8, t["time-picker"] = mc;
37366
+ e["time-picker"] = HP, t["time-picker"] = mc;
37366
37367
  }
37367
- }, V8 = /* @__PURE__ */ Z({
37368
+ }, VP = /* @__PURE__ */ Z({
37368
37369
  name: "FTransferDesign",
37369
37370
  props: or,
37370
37371
  emits: ["change"],
@@ -37465,7 +37466,7 @@ const Ki = /* @__PURE__ */ Z({
37465
37466
  style: "height:480px"
37466
37467
  }, [x(), S()]);
37467
37468
  }
37468
- }), L8 = {
37469
+ }), LP = {
37469
37470
  install(e) {
37470
37471
  e.component(Mn.name, Mn);
37471
37472
  },
@@ -37473,15 +37474,15 @@ const Ki = /* @__PURE__ */ Z({
37473
37474
  e.transfer = Mn, t.transfer = Js;
37474
37475
  },
37475
37476
  registerDesigner(e, t, n) {
37476
- e.transfer = V8, t.transfer = Js;
37477
+ e.transfer = VP, t.transfer = Js;
37477
37478
  }
37478
- }, W8 = /* @__PURE__ */ new Map([
37479
+ }, WP = /* @__PURE__ */ new Map([
37479
37480
  ["appearance", ke]
37480
37481
  ]);
37481
- function z8(e, t, n) {
37482
+ function zP(e, t, n) {
37482
37483
  return t;
37483
37484
  }
37484
- const q8 = "tree-view", G8 = "A Farris Component", Y8 = "object", U8 = {
37485
+ const qP = "tree-view", GP = "A Farris Component", YP = "object", UP = {
37485
37486
  basic: {
37486
37487
  description: "Basic Infomation",
37487
37488
  title: "基本信息",
@@ -37503,12 +37504,12 @@ const q8 = "tree-view", G8 = "A Farris Component", Y8 = "object", U8 = {
37503
37504
  }
37504
37505
  }
37505
37506
  }
37506
- }, K8 = {
37507
- title: q8,
37508
- description: G8,
37509
- type: Y8,
37510
- categories: U8
37511
- }, X8 = "https://json-schema.org/draft/2020-12/schema", Q8 = "https://farris-design.gitee.io/tree-view.schema.json", Z8 = "tree-view", J8 = "A Farris Component", eP = "object", tP = {
37507
+ }, KP = {
37508
+ title: qP,
37509
+ description: GP,
37510
+ type: YP,
37511
+ categories: UP
37512
+ }, XP = "https://json-schema.org/draft/2020-12/schema", QP = "https://farris-design.gitee.io/tree-view.schema.json", ZP = "tree-view", JP = "A Farris Component", e8 = "object", t8 = {
37512
37513
  id: {
37513
37514
  description: "The unique identifier for tree-view",
37514
37515
  type: "string"
@@ -37570,17 +37571,17 @@ const q8 = "tree-view", G8 = "A Farris Component", Y8 = "object", U8 = {
37570
37571
  type: "boolean",
37571
37572
  default: !0
37572
37573
  }
37573
- }, nP = [
37574
+ }, n8 = [
37574
37575
  "id",
37575
37576
  "type"
37576
- ], aP = {
37577
- $schema: X8,
37578
- $id: Q8,
37579
- title: Z8,
37580
- description: J8,
37581
- type: eP,
37582
- properties: tP,
37583
- required: nP
37577
+ ], a8 = {
37578
+ $schema: XP,
37579
+ $id: QP,
37580
+ title: ZP,
37581
+ description: JP,
37582
+ type: e8,
37583
+ properties: t8,
37584
+ required: n8
37584
37585
  }, bs = {
37585
37586
  /** 列集合 */
37586
37587
  columns: {
@@ -37666,7 +37667,7 @@ const q8 = "tree-view", G8 = "A Farris Component", Y8 = "object", U8 = {
37666
37667
  },
37667
37668
  /** 行配置 */
37668
37669
  rowOption: { type: Object }
37669
- }, hc = ye(bs, aP, W8, z8, K8);
37670
+ }, hc = ye(bs, a8, WP, zP, KP);
37670
37671
  function $f(e, t, n, a, o, i, s, l, p, c, u, f, d) {
37671
37672
  const {
37672
37673
  calculateCellPositionInRow: h
@@ -37691,7 +37692,7 @@ function $f(e, t, n, a, o, i, s, l, p, c, u, f, d) {
37691
37692
  renderTreeArea: b
37692
37693
  };
37693
37694
  }
37694
- function oP(e, t, n, a) {
37695
+ function o8(e, t, n, a) {
37695
37696
  var v, g, x, b, C, w;
37696
37697
  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");
37697
37698
  J(() => {
@@ -37735,7 +37736,7 @@ function oP(e, t, n, a) {
37735
37736
  return { autoCheckChildren: i, autoCheckParent: s, interactAfterCheckHierarchyItem: m };
37736
37737
  }
37737
37738
  function xs(e, t, n, a, o) {
37738
- const { select: i, unSelect: s, indeterminate: l, getSelectedItems: p } = a, { autoCheckChildren: c, autoCheckParent: u, interactAfterCheckHierarchyItem: f } = oP(e, t, n), { idField: d } = n;
37739
+ const { select: i, unSelect: s, indeterminate: l, getSelectedItems: p } = a, { autoCheckChildren: c, autoCheckParent: u, interactAfterCheckHierarchyItem: f } = o8(e, t, n), { idField: d } = n;
37739
37740
  function h() {
37740
37741
  return t.value.filter((k) => !!k.checked).map((k) => k.raw.__fv_index__);
37741
37742
  }
@@ -37882,7 +37883,7 @@ const zo = /* @__PURE__ */ Z({
37882
37883
  }
37883
37884
  }, [P(), m(), v()])]);
37884
37885
  }
37885
- }), iP = /* @__PURE__ */ Z({
37886
+ }), i8 = /* @__PURE__ */ Z({
37886
37887
  name: "FTreeViewDesign",
37887
37888
  props: bs,
37888
37889
  emits: ["outputValue", "currentEvent", "selectionChange"],
@@ -37928,7 +37929,7 @@ const zo = /* @__PURE__ */ Z({
37928
37929
  }
37929
37930
  }, [O(), x(), b()])]);
37930
37931
  }
37931
- }), rP = {
37932
+ }), r8 = {
37932
37933
  install(e) {
37933
37934
  e.component(zo.name, zo);
37934
37935
  },
@@ -37936,16 +37937,16 @@ const zo = /* @__PURE__ */ Z({
37936
37937
  e["tree-view"] = zo, t["tree-view"] = hc;
37937
37938
  },
37938
37939
  registerDesigner(e, t, n) {
37939
- e["tree-view"] = iP, t["tree-view"] = hc;
37940
+ e["tree-view"] = i8, t["tree-view"] = hc;
37940
37941
  }
37941
- }, sP = {
37942
+ }, s8 = {
37942
37943
  // 是否被选中
37943
37944
  checked: { type: Boolean, default: !1 },
37944
37945
  // 进度条状态 默认'normal'
37945
37946
  id: { type: String, default: "" },
37946
37947
  // 禁用
37947
37948
  disabled: { type: Boolean, default: !1 }
37948
- }, lP = {
37949
+ }, l8 = {
37949
37950
  // 是否显示进度条信息
37950
37951
  showInfo: { type: Boolean, default: !0 },
37951
37952
  // 进度条状态 默认'normal'
@@ -37953,7 +37954,7 @@ const zo = /* @__PURE__ */ Z({
37953
37954
  // 已完成的分段百分比
37954
37955
  percent: { type: Number, default: 0 },
37955
37956
  maxWidth: { type: Number, default: 0 }
37956
- }, cP = {
37957
+ }, c8 = {
37957
37958
  /**
37958
37959
  * 按钮文本
37959
37960
  */
@@ -37986,9 +37987,9 @@ const zo = /* @__PURE__ */ Z({
37986
37987
  * 附件服务器端服务注入的Token
37987
37988
  */
37988
37989
  uploadServerToken: { type: String, default: "" }
37989
- }, uP = /* @__PURE__ */ Z({
37990
+ }, u8 = /* @__PURE__ */ Z({
37990
37991
  name: "FUploadProgress",
37991
- props: lP,
37992
+ props: l8,
37992
37993
  setup(e, t) {
37993
37994
  const {
37994
37995
  showInfo: n,
@@ -38018,7 +38019,7 @@ const zo = /* @__PURE__ */ Z({
38018
38019
  }
38019
38020
  }), Pf = /* @__PURE__ */ Z({
38020
38021
  name: "FPreviewCheckbox",
38021
- props: sP,
38022
+ props: s8,
38022
38023
  emits: ["checkedChange"],
38023
38024
  setup(e, t) {
38024
38025
  const {
@@ -38049,7 +38050,7 @@ const zo = /* @__PURE__ */ Z({
38049
38050
  }
38050
38051
  });
38051
38052
  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 || {});
38052
- class dP {
38053
+ class d8 {
38053
38054
  constructor(t = {}, n = {}) {
38054
38055
  /**
38055
38056
  * 上传配置
@@ -38073,7 +38074,7 @@ function gc(e, t) {
38073
38074
  let n = "";
38074
38075
  return e.indexOf(".") === -1 && t.hasOwnProperty(e) ? n = t[e] : n = e.split(".").reduce((a, o) => a ? a[o] : null, t), n;
38075
38076
  }
38076
- function fP(e) {
38077
+ function f8(e) {
38077
38078
  return (t, n) => {
38078
38079
  if (!t.hasOwnProperty(e) || t[e] === void 0 || t[e] === null)
38079
38080
  return 1;
@@ -38162,15 +38163,15 @@ function bc(e) {
38162
38163
  }
38163
38164
  return 5;
38164
38165
  }
38165
- function pP(e) {
38166
+ function p8(e) {
38166
38167
  let t = e;
38167
38168
  return e ? (typeof e == "string" && (t = parseInt(e, 10)), Vn(t)) : "0 Byte";
38168
38169
  }
38169
- const vP = () => Math.random().toString(36).substring(7);
38170
+ const v8 = () => Math.random().toString(36).substring(7);
38170
38171
  function xc(e, t) {
38171
38172
  return {
38172
38173
  fileIndex: t,
38173
- id: vP(),
38174
+ id: v8(),
38174
38175
  name: e.name,
38175
38176
  size: e.size,
38176
38177
  type: e.type,
@@ -38191,7 +38192,7 @@ function xc(e, t) {
38191
38192
  nativeFile: e
38192
38193
  };
38193
38194
  }
38194
- function mP(e) {
38195
+ function m8(e) {
38195
38196
  const t = [];
38196
38197
  return e.forEach((n) => {
38197
38198
  const a = { id: "", name: "", size: 0, type: "", extend: null, extendHeaders: null, createTime: "" };
@@ -38202,14 +38203,14 @@ function mP(e) {
38202
38203
  t.push(a);
38203
38204
  }), t;
38204
38205
  }
38205
- function hP(e, t) {
38206
+ function h8(e, t) {
38206
38207
  return e ? t <= e * 1024 * 1024 : !0;
38207
38208
  }
38208
- function gP(e) {
38209
+ function g8(e) {
38209
38210
  return e.find((t) => t === "*") !== void 0;
38210
38211
  }
38211
- function yP(e, t) {
38212
- if (!e || e.length === 0 || gP(e))
38212
+ function y8(e, t) {
38213
+ if (!e || e.length === 0 || g8(e))
38213
38214
  return !0;
38214
38215
  if (t.lastIndexOf(".") < 0)
38215
38216
  return !1;
@@ -38218,7 +38219,7 @@ function yP(e, t) {
38218
38219
  (a) => a.toLowerCase() === n.toLowerCase()
38219
38220
  ) > -1;
38220
38221
  }
38221
- function bP(e) {
38222
+ function b8(e) {
38222
38223
  if (e)
38223
38224
  return e.split(`
38224
38225
  `).map((t) => t.split(/: */, 2)).filter((t) => t[0]).reduce((t, n) => (t[n[0]] = n[1], t), {});
@@ -38226,7 +38227,7 @@ function bP(e) {
38226
38227
  function Cc(e) {
38227
38228
  return new Date(e * 1e3).toISOString().substr(11, 8);
38228
38229
  }
38229
- class xP extends dP {
38230
+ class x8 extends d8 {
38230
38231
  upload(t, n, a, o) {
38231
38232
  const i = t[0];
38232
38233
  return new Promise((s, l) => {
@@ -38272,7 +38273,7 @@ class xP extends dP {
38272
38273
  } catch {
38273
38274
  i.response = d.response;
38274
38275
  }
38275
- i.responseHeaders = bP(d.getAllResponseHeaders()), s({ type: "done", files: [i] });
38276
+ i.responseHeaders = b8(d.getAllResponseHeaders()), s({ type: "done", files: [i] });
38276
38277
  }
38277
38278
  }, d.open(c, p, !0), d.withCredentials = !!n.withCredentials;
38278
38279
  try {
@@ -38298,7 +38299,7 @@ class xP extends dP {
38298
38299
  });
38299
38300
  }
38300
38301
  }
38301
- const CP = {
38302
+ const C8 = {
38302
38303
  showCloseButton: { type: Boolean, default: !0 },
38303
38304
  position: { type: String, default: "top-center" },
38304
38305
  timeout: { type: Number, default: 3e3 },
@@ -38310,13 +38311,13 @@ const CP = {
38310
38311
  id: { type: String },
38311
38312
  animate: { type: String, default: "fadeIn" },
38312
38313
  options: { type: Object }
38313
- }, wP = {
38314
+ }, w8 = {
38314
38315
  showCloseButton: { type: Boolean, default: !0 },
38315
38316
  animate: { type: String, default: "fadeIn" },
38316
38317
  options: { type: Object }
38317
- }, SP = /* @__PURE__ */ Z({
38318
+ }, S8 = /* @__PURE__ */ Z({
38318
38319
  name: "Toast",
38319
- props: wP,
38320
+ props: w8,
38320
38321
  emits: ["close", "click"],
38321
38322
  setup: (e, t) => {
38322
38323
  const n = y(e.animate), a = "fadeOut", o = $(() => e.options), i = y(!1), s = $(() => {
@@ -38387,9 +38388,9 @@ const CP = {
38387
38388
  innerHTML: o.value.message
38388
38389
  }, null))])])]);
38389
38390
  }
38390
- }), kP = /* @__PURE__ */ Z({
38391
+ }), k8 = /* @__PURE__ */ Z({
38391
38392
  name: "Notify",
38392
- props: CP,
38393
+ props: C8,
38393
38394
  emits: ["close", "empty"],
38394
38395
  setup(e, t) {
38395
38396
  const n = $(() => ({
@@ -38426,7 +38427,7 @@ const CP = {
38426
38427
  class: n.value,
38427
38428
  style: c.value,
38428
38429
  ref: o
38429
- }, [r(SP, {
38430
+ }, [r(S8, {
38430
38431
  options: i.value,
38431
38432
  showCloseButton: s.value,
38432
38433
  animate: e.animate,
@@ -38467,7 +38468,7 @@ class ws {
38467
38468
  document.body.removeChild(i);
38468
38469
  }), ue(() => {
38469
38470
  n.updateNotifyPositionForCreate(o, l);
38470
- }), () => r(kP, Ft({
38471
+ }), () => r(k8, Ft({
38471
38472
  ref: l
38472
38473
  }, o, {
38473
38474
  onClose: p
@@ -38539,21 +38540,21 @@ class ws {
38539
38540
  }), this.notifyRefs.length = 0;
38540
38541
  }
38541
38542
  }
38542
- const BP = (e = "") => {
38543
+ const B8 = (e = "") => {
38543
38544
  let t;
38544
38545
  return e && he(e, null) && (t = he(e)), t || (t = new ws()), t;
38545
- }, DP = (e = "") => {
38546
+ }, D8 = (e = "") => {
38546
38547
  let t;
38547
38548
  if (e && he(e, null)) {
38548
38549
  const n = he(e);
38549
38550
  n && n() && (t = n());
38550
38551
  }
38551
- return t || (t = new xP()), t;
38552
+ return t || (t = new x8()), t;
38552
38553
  }, _f = {
38553
- getNotify: BP,
38554
- getServerAPI: DP
38554
+ getNotify: B8,
38555
+ getServerAPI: D8
38555
38556
  };
38556
- class FP {
38557
+ class F8 {
38557
38558
  constructor(t, n) {
38558
38559
  // 记录在上传的附件数组
38559
38560
  j(this, "queue");
@@ -38630,7 +38631,7 @@ class FP {
38630
38631
  */
38631
38632
  rejectedReason(t, n, a) {
38632
38633
  let o = !1, i = "";
38633
- return this.queue.findIndex((l) => l.name === t) > -1 ? i = "上传失败:已存在同名文件" : this.uploadOpts.allowedContentTypes && !yP(this.uploadOpts.allowedContentTypes, t) ? i = `上传失败:只允许上传${this.uploadOpts.allowedContentTypes.join(",")}类型的文档` : this.exceedMaxUpload(n) ? i = `上传失败:文件总个数超出${this.uploadOpts.maxUploads}限制` : hP(this.uploadOpts.maxFileSize, a) ? a === 0 ? i = "上传失败:不允许文件为空" : o = !0 : i = `上传失败:单个文件大小超出${this.uploadOpts.maxFileSize}MB的限制`, {
38634
+ return this.queue.findIndex((l) => l.name === t) > -1 ? i = "上传失败:已存在同名文件" : this.uploadOpts.allowedContentTypes && !y8(this.uploadOpts.allowedContentTypes, t) ? i = `上传失败:只允许上传${this.uploadOpts.allowedContentTypes.join(",")}类型的文档` : this.exceedMaxUpload(n) ? i = `上传失败:文件总个数超出${this.uploadOpts.maxUploads}限制` : h8(this.uploadOpts.maxFileSize, a) ? a === 0 ? i = "上传失败:不允许文件为空" : o = !0 : i = `上传失败:单个文件大小超出${this.uploadOpts.maxFileSize}MB的限制`, {
38634
38635
  allowed: o,
38635
38636
  message: i
38636
38637
  };
@@ -38758,10 +38759,10 @@ class FP {
38758
38759
  }
38759
38760
  const jf = /* @__PURE__ */ Z({
38760
38761
  name: "FFileSelect",
38761
- props: cP,
38762
+ props: c8,
38762
38763
  emits: ["change", "stateChange"],
38763
38764
  setup(e, t) {
38764
- const n = new FP(t, e.uploadServerToken), a = Zi(), o = y("*");
38765
+ const n = new F8(t, e.uploadServerToken), a = Zi(), o = y("*");
38765
38766
  let i;
38766
38767
  const s = () => {
38767
38768
  i.files && (t.emit("change", i.files), n.handleFiles(i.files), i.value = null);
@@ -38809,7 +38810,7 @@ const jf = /* @__PURE__ */ Z({
38809
38810
  style: "top: 2px;position: relative;"
38810
38811
  }, null), e.selectText])]);
38811
38812
  }
38812
- }), TP = "https://json-schema.org/draft/2020-12/schema", AP = "https://farris-design.gitee.io/uploader.schema.json", IP = "uploader", EP = "A Farris Component", $P = "object", PP = {
38813
+ }), T8 = "https://json-schema.org/draft/2020-12/schema", A8 = "https://farris-design.gitee.io/uploader.schema.json", I8 = "uploader", E8 = "A Farris Component", $8 = "object", P8 = {
38813
38814
  id: {
38814
38815
  description: "The unique identifier for uploader",
38815
38816
  type: "string"
@@ -38861,24 +38862,24 @@ const jf = /* @__PURE__ */ Z({
38861
38862
  type: "boolean",
38862
38863
  default: !0
38863
38864
  }
38864
- }, MP = [
38865
+ }, M8 = [
38865
38866
  "id",
38866
38867
  "type"
38867
- ], OP = {
38868
- $schema: TP,
38869
- $id: AP,
38870
- title: IP,
38871
- description: EP,
38872
- type: $P,
38873
- properties: PP,
38874
- required: MP
38875
- }, RP = /* @__PURE__ */ new Map([
38868
+ ], O8 = {
38869
+ $schema: T8,
38870
+ $id: A8,
38871
+ title: I8,
38872
+ description: E8,
38873
+ type: $8,
38874
+ properties: P8,
38875
+ required: M8
38876
+ }, R8 = /* @__PURE__ */ new Map([
38876
38877
  ["appearance", ke]
38877
38878
  ]);
38878
- function _P(e, t, n) {
38879
+ function _8(e, t, n) {
38879
38880
  return t;
38880
38881
  }
38881
- const jP = "uploader", HP = "A Farris Component", NP = "object", VP = {
38882
+ const j8 = "uploader", H8 = "A Farris Component", N8 = "object", V8 = {
38882
38883
  basic: {
38883
38884
  description: "Basic Infomation",
38884
38885
  title: "基本信息",
@@ -38900,11 +38901,11 @@ const jP = "uploader", HP = "A Farris Component", NP = "object", VP = {
38900
38901
  }
38901
38902
  }
38902
38903
  }
38903
- }, LP = {
38904
- title: jP,
38905
- description: HP,
38906
- type: NP,
38907
- categories: VP
38904
+ }, L8 = {
38905
+ title: j8,
38906
+ description: H8,
38907
+ type: N8,
38908
+ categories: V8
38908
38909
  }, Ss = {
38909
38910
  /** 内容区域填充 */
38910
38911
  contentFill: { type: Boolean, default: !1 },
@@ -38969,7 +38970,7 @@ const jP = "uploader", HP = "A Farris Component", NP = "object", VP = {
38969
38970
  * 提示服务注入的Token
38970
38971
  */
38971
38972
  notifyServiceToken: { type: String, default: "" }
38972
- }, wc = ye(Ss, OP, RP, _P, LP);
38973
+ }, wc = ye(Ss, O8, R8, _8, L8);
38973
38974
  function Hf(e, t, n) {
38974
38975
  const a = _f.getNotify(e.notifyServiceToken), o = y(e.fileInfos), {
38975
38976
  disabled: i,
@@ -38985,7 +38986,7 @@ function Hf(e, t, n) {
38985
38986
  } = Gn(e), v = y(!1), g = y([]), x = $(() => g.value.length), b = y([]), C = y(""), w = $(() => {
38986
38987
  (!o.value.length || g.value.length !== o.value.length) && (v.value = !1);
38987
38988
  const N = o.value.map((W) => (W.hasOwnProperty("size") || (W.size = void 0), W.hasOwnProperty("createTime") || (W.createTime = void 0), W));
38988
- if (N.sort(fP(c.value)), u.value) {
38989
+ if (N.sort(f8(c.value)), u.value) {
38989
38990
  const W = N.map((L) => (L.checked = !!g.value.find((Y) => Y.id === L.id) || v.value, L));
38990
38991
  return g.value = [...W].filter((L) => L.checked), W;
38991
38992
  }
@@ -39065,7 +39066,7 @@ function Hf(e, t, n) {
39065
39066
  size: L.size,
39066
39067
  createTime: Cs(/* @__PURE__ */ new Date(), "yyyy-MM-dd HH:mm:ss")
39067
39068
  }));
39068
- o.value = [...W, ...w.value], H(N), t.emit("fUploadDoneEvent", mP(N.files || []));
39069
+ o.value = [...W, ...w.value], H(N), t.emit("fUploadDoneEvent", m8(N.files || []));
39069
39070
  } else N.type === "cancelled" || N.type === "removed" || N.type === "error" ? (b.value = b.value.filter((W) => N.files && N.files.findIndex((L) => {
39070
39071
  var Y;
39071
39072
  return ((Y = W == null ? void 0 : W.file) == null ? void 0 : Y.id) === L.id;
@@ -39102,7 +39103,7 @@ function Hf(e, t, n) {
39102
39103
  const qo = /* @__PURE__ */ Z({
39103
39104
  name: "FUploader",
39104
39105
  components: {
39105
- "f-upload-progress": uP,
39106
+ "f-upload-progress": u8,
39106
39107
  "f-preview-checkbox": Pf,
39107
39108
  "f-file-select": jf
39108
39109
  },
@@ -39208,7 +39209,7 @@ const qo = /* @__PURE__ */ Z({
39208
39209
  function U(K, te, le) {
39209
39210
  return r("div", {
39210
39211
  class: "uploadAndpreview--filesize-container"
39211
- }, [K === "preview" && le ? r("span", null, [pP(le.size)]) : null, K === "upload" && te ? r("span", null, [bc(te)]) : null]);
39212
+ }, [K === "preview" && le ? r("span", null, [p8(le.size)]) : null, K === "upload" && te ? r("span", null, [bc(te)]) : null]);
39212
39213
  }
39213
39214
  function _(K, te) {
39214
39215
  return r("div", {
@@ -39403,7 +39404,7 @@ const qo = /* @__PURE__ */ Z({
39403
39404
  class: "table table-bordered uploadAndpreview--table"
39404
39405
  }, [r("thead", null, [G()]), r("tbody", null, [z(), Q()])]) : null]) : null, D.value ? O() : null]);
39405
39406
  }
39406
- }), WP = /* @__PURE__ */ Z({
39407
+ }), W8 = /* @__PURE__ */ Z({
39407
39408
  name: "FUploaderDesign",
39408
39409
  components: {
39409
39410
  "f-preview-checkbox": Pf,
@@ -39605,7 +39606,7 @@ const qo = /* @__PURE__ */ Z({
39605
39606
  class: "table table-bordered uploadAndpreview--table"
39606
39607
  }, [r("thead", null, [I()]), r("tbody", null, [E()])])]), b()]) : null]);
39607
39608
  }
39608
- }), zP = {
39609
+ }), z8 = {
39609
39610
  install(e) {
39610
39611
  e.component(qo.name, qo);
39611
39612
  },
@@ -39613,15 +39614,15 @@ const qo = /* @__PURE__ */ Z({
39613
39614
  e.uploader = qo, t.uploader = wc;
39614
39615
  },
39615
39616
  registerDesigner(e, t, n) {
39616
- e.uploader = WP, t.uploader = wc;
39617
+ e.uploader = W8, t.uploader = wc;
39617
39618
  }
39618
- }, qP = /* @__PURE__ */ new Map([
39619
+ }, q8 = /* @__PURE__ */ new Map([
39619
39620
  ["appearance", ke]
39620
39621
  ]);
39621
- function GP(e, t, n) {
39622
+ function G8(e, t, n) {
39622
39623
  return t;
39623
39624
  }
39624
- const YP = "https://json-schema.org/draft/2020-12/schema", UP = "https://farris-design.gitee.io/verify-detail.schema.json", KP = "verify-detail", XP = "A Farris Component", QP = "object", ZP = {
39625
+ const Y8 = "https://json-schema.org/draft/2020-12/schema", U8 = "https://farris-design.gitee.io/verify-detail.schema.json", K8 = "verify-detail", X8 = "A Farris Component", Q8 = "object", Z8 = {
39625
39626
  id: {
39626
39627
  description: "The unique identifier for verify-detail",
39627
39628
  type: "string"
@@ -39683,17 +39684,17 @@ const YP = "https://json-schema.org/draft/2020-12/schema", UP = "https://farris-
39683
39684
  type: "boolean",
39684
39685
  default: !0
39685
39686
  }
39686
- }, JP = [
39687
+ }, J8 = [
39687
39688
  "id",
39688
39689
  "type"
39689
39690
  ], eM = {
39690
- $schema: YP,
39691
- $id: UP,
39692
- title: KP,
39693
- description: XP,
39694
- type: QP,
39695
- properties: ZP,
39696
- required: JP
39691
+ $schema: Y8,
39692
+ $id: U8,
39693
+ title: K8,
39694
+ description: X8,
39695
+ type: Q8,
39696
+ properties: Z8,
39697
+ required: J8
39697
39698
  }, tM = "verify-detail", nM = "A Farris Component", aM = "object", oM = {
39698
39699
  basic: {
39699
39700
  description: "Basic Infomation",
@@ -39761,7 +39762,7 @@ const YP = "https://json-schema.org/draft/2020-12/schema", UP = "https://farris-
39761
39762
  },
39762
39763
  customClass: { type: String, default: "" },
39763
39764
  maxHeight: { type: Number, default: 200 }
39764
- }, Sc = ye(ks, eM, qP, GP, iM), ya = /* @__PURE__ */ Z({
39765
+ }, Sc = ye(ks, eM, q8, G8, iM), ya = /* @__PURE__ */ Z({
39765
39766
  name: "FVerifyDetail",
39766
39767
  props: ks,
39767
39768
  emits: ["validatorClick", "listshow"],
@@ -46576,7 +46577,7 @@ const N5 = /* @__PURE__ */ Z({
46576
46577
  }, De = {}, Fe = {}, Ae = {};
46577
46578
  let cu = !1;
46578
46579
  function L5() {
46579
- cu || (cu = !0, $1.register(De, Fe, Ae), m1.register(De, Fe, Ae), jv.register(De, Fe, Ae), Z1.registerDesigner(De, Fe, Ae), CC.register(De, Fe, Ae), SC.register(De, Fe, Ae), kC.register(De, Fe, Ae), DC.register(De, Fe, Ae), WC.register(De, Fe), zw.register(De, Fe, Ae), Dw.registerDesigner(De, Fe, Ae), F2.register(De, Fe, Ae), b3.register(De, Fe, Ae), q2.register(De, Fe, Ae), q5.register(De, Fe, Ae), uk.register(De, Fe, Ae), eB.register(De, Fe, Ae), bB.register(De, Fe, Ae), CB.register(De, Fe, Ae), QB.register(De, Fe, Ae), ED.register(De, Fe, Ae), mD.registerDesigner(De, Fe, Ae), F3.register(De, Fe, Ae), tF.register(De, Fe, Ae), yF.register(De, Fe, Ae), OF.register(De, Fe, Ae), JF.register(De, Fe, Ae), tT.register(De, Fe, Ae), DT.register(De, Fe, Ae), WT.register(De, Fe, Ae), rA.register(De, Fe, Ae), IA.register(De, Fe, Ae), eI.register(De, Fe, Ae), nI.register(De, Fe, Ae), xI.register(De, Fe, Ae), qI.register(De, Fe, Ae), J4.register(De, Fe, Ae), bT.register(De, Fe, Ae), gE.register(De, Fe, Ae), xE.register(De, Fe, Ae), _E.register(De, Fe, Ae), g$.register(De, Fe, Ae), M$.register(De, Fe, Ae), R$.register(De, Fe, Ae), G$.register(De, Fe, Ae), U$.register(De, Fe, Ae), b8.register(De, Fe, Ae), N8.register(De, Fe, Ae), L8.register(De, Fe, Ae), rP.register(De, Fe, Ae), lM.register(De, Fe, Ae), zP.register(De, Fe, Ae), w5.register(De, Fe, Ae), V5.register(De, Fe, Ae));
46580
+ cu || (cu = !0, $1.register(De, Fe, Ae), m1.register(De, Fe, Ae), jv.register(De, Fe, Ae), Z1.registerDesigner(De, Fe, Ae), CC.register(De, Fe, Ae), SC.register(De, Fe, Ae), kC.register(De, Fe, Ae), DC.register(De, Fe, Ae), WC.register(De, Fe), zw.register(De, Fe, Ae), Dw.registerDesigner(De, Fe, Ae), F2.register(De, Fe, Ae), b3.register(De, Fe, Ae), q2.register(De, Fe, Ae), q5.register(De, Fe, Ae), uk.register(De, Fe, Ae), eB.register(De, Fe, Ae), bB.register(De, Fe, Ae), CB.register(De, Fe, Ae), QB.register(De, Fe, Ae), ED.register(De, Fe, Ae), mD.registerDesigner(De, Fe, Ae), F3.register(De, Fe, Ae), tF.register(De, Fe, Ae), yF.register(De, Fe, Ae), OF.register(De, Fe, Ae), JF.register(De, Fe, Ae), tT.register(De, Fe, Ae), DT.register(De, Fe, Ae), WT.register(De, Fe, Ae), rA.register(De, Fe, Ae), IA.register(De, Fe, Ae), eI.register(De, Fe, Ae), nI.register(De, Fe, Ae), xI.register(De, Fe, Ae), qI.register(De, Fe, Ae), J4.register(De, Fe, Ae), bT.register(De, Fe, Ae), gE.register(De, Fe, Ae), xE.register(De, Fe, Ae), _E.register(De, Fe, Ae), g$.register(De, Fe, Ae), M$.register(De, Fe, Ae), R$.register(De, Fe, Ae), G$.register(De, Fe, Ae), U$.register(De, Fe, Ae), bP.register(De, Fe, Ae), NP.register(De, Fe, Ae), LP.register(De, Fe, Ae), r8.register(De, Fe, Ae), lM.register(De, Fe, Ae), z8.register(De, Fe, Ae), w5.register(De, Fe, Ae), V5.register(De, Fe, Ae));
46580
46581
  }
46581
46582
  function Yf() {
46582
46583
  L5();