@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
@@ -36046,49 +36046,50 @@ const b$ = /* @__PURE__ */ Z({
36046
36046
  slots: t.slots,
36047
36047
  props: e
36048
36048
  }, c = y((s == null ? void 0 : s.tabType.value) || "default");
36049
- function u() {
36050
- e.id === s.activeId.value ? a.designerItemElementRef.value.classList.remove("d-none") : a.designerItemElementRef.value.classList.add("d-none");
36051
- }
36052
36049
  ue(() => {
36053
36050
  n.value.componentInstance = i;
36054
- const g = s.tabPages.value.findIndex((x) => x.props.id === e.id);
36055
- !g || g === -1 ? s == null || s.addTab(p) : g > -1 && (l.value = !1, console.warn(`已经存在id为${e.id}的页签啦`)), u();
36051
+ const x = s.tabPages.value.findIndex((b) => b.props.id === e.id);
36052
+ !x || x === -1 ? s == null || s.addTab(p) : x > -1 && (l.value = !1, console.warn(`已经存在id为${e.id}的页签啦`));
36056
36053
  }), Ct(() => {
36057
36054
  });
36058
- const f = $(() => ({
36059
- display: (e == null ? void 0 : e.id) === (s == null ? void 0 : s.activeId.value) ? "" : "none"
36055
+ const u = $(() => (e == null ? void 0 : e.id) === (s == null ? void 0 : s.activeId.value)), f = $(() => ({
36056
+ display: u.value ? "" : "none"
36060
36057
  }));
36061
- J(() => e, (g) => {
36058
+ J(() => e, (x) => {
36062
36059
  s == null || s.updateTab({
36063
- props: g,
36060
+ props: x,
36064
36061
  slots: t.slots
36065
36062
  });
36066
36063
  }, {
36067
36064
  immediate: !0,
36068
36065
  deep: !0
36069
- }), J(s.activeId, u);
36066
+ });
36070
36067
  function d() {
36071
- var x, b;
36072
- const g = (b = (x = t.slots).default) == null ? void 0 : b.call(x);
36068
+ var b, C;
36069
+ const x = (C = (b = t.slots).default) == null ? void 0 : C.call(b);
36073
36070
  return r(Rn, {
36074
36071
  "main-title": e.title,
36075
36072
  class: "farris-tab-page"
36076
- }, y$(g) ? g : {
36077
- default: () => [g]
36073
+ }, y$(x) ? x : {
36074
+ default: () => [x]
36078
36075
  });
36079
36076
  }
36080
- function h() {
36081
- var x, b;
36082
- const g = (b = (x = t.slots).default) == null ? void 0 : b.call(x);
36077
+ const h = $(() => ({
36078
+ "farris-tab-page": !0,
36079
+ "drag-container": !0
36080
+ }));
36081
+ function m() {
36082
+ var b, C;
36083
+ const x = (C = (b = t.slots).default) == null ? void 0 : C.call(b);
36083
36084
  return r("div", {
36084
36085
  ref: n,
36085
- class: "farris-tab-page drag-container",
36086
+ class: h.value,
36086
36087
  "data-dragref": `${a.schema.id}-container`,
36087
36088
  style: f.value
36088
- }, [g]);
36089
+ }, [x]);
36089
36090
  }
36090
- const v = (/* @__PURE__ */ new Map([["default", h], ["one-page", d]])).get(c.value) || h;
36091
- return () => l.value ? v() : null;
36091
+ const g = (/* @__PURE__ */ new Map([["default", m], ["one-page", d]])).get(c.value) || m;
36092
+ return () => l.value ? g() : null;
36092
36093
  }
36093
36094
  }), x$ = {
36094
36095
  install(e) {
@@ -36672,7 +36673,7 @@ const Wo = /* @__PURE__ */ Z({
36672
36673
  }
36673
36674
  }, U$ = /* @__PURE__ */ new Map([
36674
36675
  ["appearance", ke]
36675
- ]), K$ = "https://json-schema.org/draft/2020-12/schema", X$ = "https://farris-design.gitee.io/time-picker.schema.json", Q$ = "time-picker", Z$ = "A Farris Input Component", J$ = "object", e8 = {
36676
+ ]), K$ = "https://json-schema.org/draft/2020-12/schema", X$ = "https://farris-design.gitee.io/time-picker.schema.json", Q$ = "time-picker", Z$ = "A Farris Input Component", J$ = "object", eP = {
36676
36677
  id: {
36677
36678
  description: "The unique identifier for a time picker",
36678
36679
  type: "string"
@@ -36734,22 +36735,22 @@ const Wo = /* @__PURE__ */ Z({
36734
36735
  type: "boolean",
36735
36736
  default: !0
36736
36737
  }
36737
- }, t8 = [
36738
+ }, tP = [
36738
36739
  "id",
36739
36740
  "type"
36740
- ], n8 = {
36741
+ ], nP = {
36741
36742
  $schema: K$,
36742
36743
  $id: X$,
36743
36744
  title: Q$,
36744
36745
  description: Z$,
36745
36746
  type: J$,
36746
- properties: e8,
36747
- required: t8
36747
+ properties: eP,
36748
+ required: tP
36748
36749
  };
36749
- function a8(e, t, n) {
36750
+ function aP(e, t, n) {
36750
36751
  return t;
36751
36752
  }
36752
- const o8 = "time-picker", i8 = "A Farris Component", r8 = "object", s8 = {
36753
+ const oP = "time-picker", iP = "A Farris Component", rP = "object", sP = {
36753
36754
  basic: {
36754
36755
  description: "Basic Infomation",
36755
36756
  title: "基本信息",
@@ -36831,11 +36832,11 @@ const o8 = "time-picker", i8 = "A Farris Component", r8 = "object", s8 = {
36831
36832
  }
36832
36833
  }
36833
36834
  }
36834
- }, l8 = {
36835
- title: o8,
36836
- description: i8,
36837
- type: r8,
36838
- categories: s8
36835
+ }, lP = {
36836
+ title: oP,
36837
+ description: iP,
36838
+ type: rP,
36839
+ categories: sP
36839
36840
  }, ys = {
36840
36841
  /**
36841
36842
  * 组件值,这个是与指定的format格式相对应的值
@@ -36864,7 +36865,7 @@ const o8 = "time-picker", i8 = "A Farris Component", r8 = "object", s8 = {
36864
36865
  disable: { type: Boolean, default: !1 },
36865
36866
  readonly: { type: Boolean, default: !1 },
36866
36867
  editable: { type: Boolean, default: !0 }
36867
- }, vc = ye(ys, n8, U$, a8, l8), c8 = {
36868
+ }, vc = ye(ys, nP, U$, aP, lP), cP = {
36868
36869
  modelValue: {
36869
36870
  type: String,
36870
36871
  default: ""
@@ -36932,7 +36933,7 @@ function $f(e, t) {
36932
36933
  let n = e || "hh:mm:ss";
36933
36934
  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;
36934
36935
  }
36935
- class u8 {
36936
+ class uP {
36936
36937
  constructor() {
36937
36938
  j(this, "hourStep", 1);
36938
36939
  j(this, "minuteStep", 1);
@@ -37098,7 +37099,7 @@ class u8 {
37098
37099
  return n === "PM" && t > 12 ? t - 12 : n === "AM" && t === 0 ? 12 : t;
37099
37100
  }
37100
37101
  }
37101
- function d8(e, t, n, a, o, i) {
37102
+ function dP(e, t, n, a, o, i) {
37102
37103
  function s(u, f, d = 0, h, m) {
37103
37104
  const v = l(f, h, m), g = u.children[0].children[v] || u.children[0].children[0];
37104
37105
  p(u, g.offsetTop, d);
@@ -37145,7 +37146,7 @@ function d8(e, t, n, a, o, i) {
37145
37146
  }
37146
37147
  return { scrollToSelected: s };
37147
37148
  }
37148
- function f8(e, t) {
37149
+ function fP(e, t) {
37149
37150
  function n(l) {
37150
37151
  return l.index === e.viewHours || !Je(e.viewHours) && l.index === e.defaultViewHours;
37151
37152
  }
@@ -37168,14 +37169,14 @@ function f8(e, t) {
37168
37169
  }
37169
37170
  const Ki = /* @__PURE__ */ Z({
37170
37171
  name: "FTimePickerTimeView",
37171
- props: c8,
37172
+ props: cP,
37172
37173
  emits: ["valueChange", "formatedValueChange"],
37173
37174
  setup(e, t) {
37174
- const n = "time-picker-panel", a = y(0), o = y([]), i = y([]), s = y([]), l = y([]), p = y(), c = y(), u = y(), f = y(), d = new u8(), {
37175
+ const n = "time-picker-panel", a = y(0), o = y([]), i = y([]), s = y([]), l = y([]), p = y(), c = y(), u = y(), f = y(), d = new uP(), {
37175
37176
  scrollToSelected: h
37176
- } = d8(e, t, o, i, s, l), {
37177
+ } = dP(e, t, o, i, s, l), {
37177
37178
  getSelectedClass: m
37178
- } = f8(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);
37179
+ } = fP(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);
37179
37180
  J(() => e.defaultOpenValue, (q) => {
37180
37181
  Je(q) && (b.value = q);
37181
37182
  }), J(b, (q) => {
@@ -37415,7 +37416,7 @@ const Ki = /* @__PURE__ */ Z({
37415
37416
  }), null)]
37416
37417
  });
37417
37418
  }
37418
- }), p8 = /* @__PURE__ */ Z({
37419
+ }), pP = /* @__PURE__ */ Z({
37419
37420
  name: "FTimePickerDesign",
37420
37421
  props: ys,
37421
37422
  emits: ["datePicked", "update:modelValue"],
@@ -37439,7 +37440,7 @@ const Ki = /* @__PURE__ */ Z({
37439
37440
  default: () => [r(Qe("f-time-picker-time-view"), null, null)]
37440
37441
  })]);
37441
37442
  }
37442
- }), v8 = {
37443
+ }), vP = {
37443
37444
  install(e) {
37444
37445
  e.component(zo.name, zo).component(Ki.name, Ki);
37445
37446
  },
@@ -37447,9 +37448,9 @@ const Ki = /* @__PURE__ */ Z({
37447
37448
  e["time-picker"] = zo, t["time-picker"] = vc;
37448
37449
  },
37449
37450
  registerDesigner(e, t, n) {
37450
- e["time-picker"] = p8, t["time-picker"] = vc;
37451
+ e["time-picker"] = pP, t["time-picker"] = vc;
37451
37452
  }
37452
- }, m8 = /* @__PURE__ */ Z({
37453
+ }, mP = /* @__PURE__ */ Z({
37453
37454
  name: "FTransferDesign",
37454
37455
  props: or,
37455
37456
  emits: ["change"],
@@ -37550,7 +37551,7 @@ const Ki = /* @__PURE__ */ Z({
37550
37551
  style: "height:480px"
37551
37552
  }, [x(), S()]);
37552
37553
  }
37553
- }), h8 = {
37554
+ }), hP = {
37554
37555
  install(e) {
37555
37556
  e.component(On.name, On);
37556
37557
  },
@@ -37558,15 +37559,15 @@ const Ki = /* @__PURE__ */ Z({
37558
37559
  e.transfer = On, t.transfer = Js;
37559
37560
  },
37560
37561
  registerDesigner(e, t, n) {
37561
- e.transfer = m8, t.transfer = Js;
37562
+ e.transfer = mP, t.transfer = Js;
37562
37563
  }
37563
- }, g8 = /* @__PURE__ */ new Map([
37564
+ }, gP = /* @__PURE__ */ new Map([
37564
37565
  ["appearance", ke]
37565
37566
  ]);
37566
- function y8(e, t, n) {
37567
+ function yP(e, t, n) {
37567
37568
  return t;
37568
37569
  }
37569
- const b8 = "tree-view", x8 = "A Farris Component", C8 = "object", w8 = {
37570
+ const bP = "tree-view", xP = "A Farris Component", CP = "object", wP = {
37570
37571
  basic: {
37571
37572
  description: "Basic Infomation",
37572
37573
  title: "基本信息",
@@ -37588,12 +37589,12 @@ const b8 = "tree-view", x8 = "A Farris Component", C8 = "object", w8 = {
37588
37589
  }
37589
37590
  }
37590
37591
  }
37591
- }, S8 = {
37592
- title: b8,
37593
- description: x8,
37594
- type: C8,
37595
- categories: w8
37596
- }, k8 = "https://json-schema.org/draft/2020-12/schema", B8 = "https://farris-design.gitee.io/tree-view.schema.json", D8 = "tree-view", F8 = "A Farris Component", T8 = "object", A8 = {
37592
+ }, SP = {
37593
+ title: bP,
37594
+ description: xP,
37595
+ type: CP,
37596
+ categories: wP
37597
+ }, kP = "https://json-schema.org/draft/2020-12/schema", BP = "https://farris-design.gitee.io/tree-view.schema.json", DP = "tree-view", FP = "A Farris Component", TP = "object", AP = {
37597
37598
  id: {
37598
37599
  description: "The unique identifier for tree-view",
37599
37600
  type: "string"
@@ -37655,17 +37656,17 @@ const b8 = "tree-view", x8 = "A Farris Component", C8 = "object", w8 = {
37655
37656
  type: "boolean",
37656
37657
  default: !0
37657
37658
  }
37658
- }, I8 = [
37659
+ }, IP = [
37659
37660
  "id",
37660
37661
  "type"
37661
- ], E8 = {
37662
- $schema: k8,
37663
- $id: B8,
37664
- title: D8,
37665
- description: F8,
37666
- type: T8,
37667
- properties: A8,
37668
- required: I8
37662
+ ], EP = {
37663
+ $schema: kP,
37664
+ $id: BP,
37665
+ title: DP,
37666
+ description: FP,
37667
+ type: TP,
37668
+ properties: AP,
37669
+ required: IP
37669
37670
  }, bs = {
37670
37671
  /** 列集合 */
37671
37672
  columns: {
@@ -37751,7 +37752,7 @@ const b8 = "tree-view", x8 = "A Farris Component", C8 = "object", w8 = {
37751
37752
  },
37752
37753
  /** 行配置 */
37753
37754
  rowOption: { type: Object }
37754
- }, mc = ye(bs, E8, g8, y8, S8);
37755
+ }, mc = ye(bs, EP, gP, yP, SP);
37755
37756
  function Pf(e, t, n, a, o, i, s, l, p, c, u, f, d) {
37756
37757
  const {
37757
37758
  calculateCellPositionInRow: h
@@ -37776,7 +37777,7 @@ function Pf(e, t, n, a, o, i, s, l, p, c, u, f, d) {
37776
37777
  renderTreeArea: b
37777
37778
  };
37778
37779
  }
37779
- function $8(e, t, n, a) {
37780
+ function $P(e, t, n, a) {
37780
37781
  var v, g, x, b, C, w;
37781
37782
  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");
37782
37783
  J(() => {
@@ -37820,7 +37821,7 @@ function $8(e, t, n, a) {
37820
37821
  return { autoCheckChildren: i, autoCheckParent: s, interactAfterCheckHierarchyItem: m };
37821
37822
  }
37822
37823
  function xs(e, t, n, a, o) {
37823
- const { select: i, unSelect: s, indeterminate: l, getSelectedItems: p } = a, { autoCheckChildren: c, autoCheckParent: u, interactAfterCheckHierarchyItem: f } = $8(e, t, n), { idField: d } = n;
37824
+ const { select: i, unSelect: s, indeterminate: l, getSelectedItems: p } = a, { autoCheckChildren: c, autoCheckParent: u, interactAfterCheckHierarchyItem: f } = $P(e, t, n), { idField: d } = n;
37824
37825
  function h() {
37825
37826
  return t.value.filter((k) => !!k.checked).map((k) => k.raw.__fv_index__);
37826
37827
  }
@@ -37967,7 +37968,7 @@ const qo = /* @__PURE__ */ Z({
37967
37968
  }
37968
37969
  }, [P(), m(), v()])]);
37969
37970
  }
37970
- }), P8 = /* @__PURE__ */ Z({
37971
+ }), PP = /* @__PURE__ */ Z({
37971
37972
  name: "FTreeViewDesign",
37972
37973
  props: bs,
37973
37974
  emits: ["outputValue", "currentEvent", "selectionChange"],
@@ -38013,7 +38014,7 @@ const qo = /* @__PURE__ */ Z({
38013
38014
  }
38014
38015
  }, [O(), x(), b()])]);
38015
38016
  }
38016
- }), M8 = {
38017
+ }), MP = {
38017
38018
  install(e) {
38018
38019
  e.component(qo.name, qo);
38019
38020
  },
@@ -38021,16 +38022,16 @@ const qo = /* @__PURE__ */ Z({
38021
38022
  e["tree-view"] = qo, t["tree-view"] = mc;
38022
38023
  },
38023
38024
  registerDesigner(e, t, n) {
38024
- e["tree-view"] = P8, t["tree-view"] = mc;
38025
+ e["tree-view"] = PP, t["tree-view"] = mc;
38025
38026
  }
38026
- }, O8 = {
38027
+ }, OP = {
38027
38028
  // 是否被选中
38028
38029
  checked: { type: Boolean, default: !1 },
38029
38030
  // 进度条状态 默认'normal'
38030
38031
  id: { type: String, default: "" },
38031
38032
  // 禁用
38032
38033
  disabled: { type: Boolean, default: !1 }
38033
- }, R8 = {
38034
+ }, RP = {
38034
38035
  // 是否显示进度条信息
38035
38036
  showInfo: { type: Boolean, default: !0 },
38036
38037
  // 进度条状态 默认'normal'
@@ -38038,7 +38039,7 @@ const qo = /* @__PURE__ */ Z({
38038
38039
  // 已完成的分段百分比
38039
38040
  percent: { type: Number, default: 0 },
38040
38041
  maxWidth: { type: Number, default: 0 }
38041
- }, _8 = {
38042
+ }, _P = {
38042
38043
  /**
38043
38044
  * 按钮文本
38044
38045
  */
@@ -38071,9 +38072,9 @@ const qo = /* @__PURE__ */ Z({
38071
38072
  * 附件服务器端服务注入的Token
38072
38073
  */
38073
38074
  uploadServerToken: { type: String, default: "" }
38074
- }, j8 = /* @__PURE__ */ Z({
38075
+ }, jP = /* @__PURE__ */ Z({
38075
38076
  name: "FUploadProgress",
38076
- props: R8,
38077
+ props: RP,
38077
38078
  setup(e, t) {
38078
38079
  const {
38079
38080
  showInfo: n,
@@ -38103,7 +38104,7 @@ const qo = /* @__PURE__ */ Z({
38103
38104
  }
38104
38105
  }), Mf = /* @__PURE__ */ Z({
38105
38106
  name: "FPreviewCheckbox",
38106
- props: O8,
38107
+ props: OP,
38107
38108
  emits: ["checkedChange"],
38108
38109
  setup(e, t) {
38109
38110
  const {
@@ -38134,7 +38135,7 @@ const qo = /* @__PURE__ */ Z({
38134
38135
  }
38135
38136
  });
38136
38137
  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 || {});
38137
- class H8 {
38138
+ class HP {
38138
38139
  constructor(t = {}, n = {}) {
38139
38140
  /**
38140
38141
  * 上传配置
@@ -38158,7 +38159,7 @@ function hc(e, t) {
38158
38159
  let n = "";
38159
38160
  return e.indexOf(".") === -1 && t.hasOwnProperty(e) ? n = t[e] : n = e.split(".").reduce((a, o) => a ? a[o] : null, t), n;
38160
38161
  }
38161
- function N8(e) {
38162
+ function NP(e) {
38162
38163
  return (t, n) => {
38163
38164
  if (!t.hasOwnProperty(e) || t[e] === void 0 || t[e] === null)
38164
38165
  return 1;
@@ -38247,15 +38248,15 @@ function yc(e) {
38247
38248
  }
38248
38249
  return 5;
38249
38250
  }
38250
- function V8(e) {
38251
+ function VP(e) {
38251
38252
  let t = e;
38252
38253
  return e ? (typeof e == "string" && (t = parseInt(e, 10)), Vn(t)) : "0 Byte";
38253
38254
  }
38254
- const L8 = () => Math.random().toString(36).substring(7);
38255
+ const LP = () => Math.random().toString(36).substring(7);
38255
38256
  function bc(e, t) {
38256
38257
  return {
38257
38258
  fileIndex: t,
38258
- id: L8(),
38259
+ id: LP(),
38259
38260
  name: e.name,
38260
38261
  size: e.size,
38261
38262
  type: e.type,
@@ -38276,7 +38277,7 @@ function bc(e, t) {
38276
38277
  nativeFile: e
38277
38278
  };
38278
38279
  }
38279
- function W8(e) {
38280
+ function WP(e) {
38280
38281
  const t = [];
38281
38282
  return e.forEach((n) => {
38282
38283
  const a = { id: "", name: "", size: 0, type: "", extend: null, extendHeaders: null, createTime: "" };
@@ -38287,14 +38288,14 @@ function W8(e) {
38287
38288
  t.push(a);
38288
38289
  }), t;
38289
38290
  }
38290
- function z8(e, t) {
38291
+ function zP(e, t) {
38291
38292
  return e ? t <= e * 1024 * 1024 : !0;
38292
38293
  }
38293
- function q8(e) {
38294
+ function qP(e) {
38294
38295
  return e.find((t) => t === "*") !== void 0;
38295
38296
  }
38296
- function G8(e, t) {
38297
- if (!e || e.length === 0 || q8(e))
38297
+ function GP(e, t) {
38298
+ if (!e || e.length === 0 || qP(e))
38298
38299
  return !0;
38299
38300
  if (t.lastIndexOf(".") < 0)
38300
38301
  return !1;
@@ -38303,7 +38304,7 @@ function G8(e, t) {
38303
38304
  (a) => a.toLowerCase() === n.toLowerCase()
38304
38305
  ) > -1;
38305
38306
  }
38306
- function Y8(e) {
38307
+ function YP(e) {
38307
38308
  if (e)
38308
38309
  return e.split(`
38309
38310
  `).map((t) => t.split(/: */, 2)).filter((t) => t[0]).reduce((t, n) => (t[n[0]] = n[1], t), {});
@@ -38311,7 +38312,7 @@ function Y8(e) {
38311
38312
  function xc(e) {
38312
38313
  return new Date(e * 1e3).toISOString().substr(11, 8);
38313
38314
  }
38314
- class U8 extends H8 {
38315
+ class UP extends HP {
38315
38316
  upload(t, n, a, o) {
38316
38317
  const i = t[0];
38317
38318
  return new Promise((s, l) => {
@@ -38357,7 +38358,7 @@ class U8 extends H8 {
38357
38358
  } catch {
38358
38359
  i.response = d.response;
38359
38360
  }
38360
- i.responseHeaders = Y8(d.getAllResponseHeaders()), s({ type: "done", files: [i] });
38361
+ i.responseHeaders = YP(d.getAllResponseHeaders()), s({ type: "done", files: [i] });
38361
38362
  }
38362
38363
  }, d.open(c, p, !0), d.withCredentials = !!n.withCredentials;
38363
38364
  try {
@@ -38383,21 +38384,21 @@ class U8 extends H8 {
38383
38384
  });
38384
38385
  }
38385
38386
  }
38386
- const K8 = (e = "") => {
38387
+ const KP = (e = "") => {
38387
38388
  let t;
38388
38389
  return e && he(e, null) && (t = he(e)), t || (t = new Kr()), t;
38389
- }, X8 = (e = "") => {
38390
+ }, XP = (e = "") => {
38390
38391
  let t;
38391
38392
  if (e && he(e, null)) {
38392
38393
  const n = he(e);
38393
38394
  n && n() && (t = n());
38394
38395
  }
38395
- return t || (t = new U8()), t;
38396
+ return t || (t = new UP()), t;
38396
38397
  }, jf = {
38397
- getNotify: K8,
38398
- getServerAPI: X8
38398
+ getNotify: KP,
38399
+ getServerAPI: XP
38399
38400
  };
38400
- class Q8 {
38401
+ class QP {
38401
38402
  constructor(t, n) {
38402
38403
  // 记录在上传的附件数组
38403
38404
  j(this, "queue");
@@ -38474,7 +38475,7 @@ class Q8 {
38474
38475
  */
38475
38476
  rejectedReason(t, n, a) {
38476
38477
  let o = !1, i = "";
38477
- return this.queue.findIndex((l) => l.name === t) > -1 ? i = "上传失败:已存在同名文件" : this.uploadOpts.allowedContentTypes && !G8(this.uploadOpts.allowedContentTypes, t) ? i = `上传失败:只允许上传${this.uploadOpts.allowedContentTypes.join(",")}类型的文档` : this.exceedMaxUpload(n) ? i = `上传失败:文件总个数超出${this.uploadOpts.maxUploads}限制` : z8(this.uploadOpts.maxFileSize, a) ? a === 0 ? i = "上传失败:不允许文件为空" : o = !0 : i = `上传失败:单个文件大小超出${this.uploadOpts.maxFileSize}MB的限制`, {
38478
+ return this.queue.findIndex((l) => l.name === t) > -1 ? i = "上传失败:已存在同名文件" : this.uploadOpts.allowedContentTypes && !GP(this.uploadOpts.allowedContentTypes, t) ? i = `上传失败:只允许上传${this.uploadOpts.allowedContentTypes.join(",")}类型的文档` : this.exceedMaxUpload(n) ? i = `上传失败:文件总个数超出${this.uploadOpts.maxUploads}限制` : zP(this.uploadOpts.maxFileSize, a) ? a === 0 ? i = "上传失败:不允许文件为空" : o = !0 : i = `上传失败:单个文件大小超出${this.uploadOpts.maxFileSize}MB的限制`, {
38478
38479
  allowed: o,
38479
38480
  message: i
38480
38481
  };
@@ -38602,10 +38603,10 @@ class Q8 {
38602
38603
  }
38603
38604
  const Hf = /* @__PURE__ */ Z({
38604
38605
  name: "FFileSelect",
38605
- props: _8,
38606
+ props: _P,
38606
38607
  emits: ["change", "stateChange"],
38607
38608
  setup(e, t) {
38608
- const n = new Q8(t, e.uploadServerToken), a = Zi(), o = y("*");
38609
+ const n = new QP(t, e.uploadServerToken), a = Zi(), o = y("*");
38609
38610
  let i;
38610
38611
  const s = () => {
38611
38612
  i.files && (t.emit("change", i.files), n.handleFiles(i.files), i.value = null);
@@ -38653,7 +38654,7 @@ const Hf = /* @__PURE__ */ Z({
38653
38654
  style: "top: 2px;position: relative;"
38654
38655
  }, null), e.selectText])]);
38655
38656
  }
38656
- }), Z8 = "https://json-schema.org/draft/2020-12/schema", J8 = "https://farris-design.gitee.io/uploader.schema.json", eP = "uploader", tP = "A Farris Component", nP = "object", aP = {
38657
+ }), ZP = "https://json-schema.org/draft/2020-12/schema", JP = "https://farris-design.gitee.io/uploader.schema.json", e8 = "uploader", t8 = "A Farris Component", n8 = "object", a8 = {
38657
38658
  id: {
38658
38659
  description: "The unique identifier for uploader",
38659
38660
  type: "string"
@@ -38705,24 +38706,24 @@ const Hf = /* @__PURE__ */ Z({
38705
38706
  type: "boolean",
38706
38707
  default: !0
38707
38708
  }
38708
- }, oP = [
38709
+ }, o8 = [
38709
38710
  "id",
38710
38711
  "type"
38711
- ], iP = {
38712
- $schema: Z8,
38713
- $id: J8,
38714
- title: eP,
38715
- description: tP,
38716
- type: nP,
38717
- properties: aP,
38718
- required: oP
38719
- }, rP = /* @__PURE__ */ new Map([
38712
+ ], i8 = {
38713
+ $schema: ZP,
38714
+ $id: JP,
38715
+ title: e8,
38716
+ description: t8,
38717
+ type: n8,
38718
+ properties: a8,
38719
+ required: o8
38720
+ }, r8 = /* @__PURE__ */ new Map([
38720
38721
  ["appearance", ke]
38721
38722
  ]);
38722
- function sP(e, t, n) {
38723
+ function s8(e, t, n) {
38723
38724
  return t;
38724
38725
  }
38725
- const lP = "uploader", cP = "A Farris Component", uP = "object", dP = {
38726
+ const l8 = "uploader", c8 = "A Farris Component", u8 = "object", d8 = {
38726
38727
  basic: {
38727
38728
  description: "Basic Infomation",
38728
38729
  title: "基本信息",
@@ -38744,11 +38745,11 @@ const lP = "uploader", cP = "A Farris Component", uP = "object", dP = {
38744
38745
  }
38745
38746
  }
38746
38747
  }
38747
- }, fP = {
38748
- title: lP,
38749
- description: cP,
38750
- type: uP,
38751
- categories: dP
38748
+ }, f8 = {
38749
+ title: l8,
38750
+ description: c8,
38751
+ type: u8,
38752
+ categories: d8
38752
38753
  }, ws = {
38753
38754
  /** 内容区域填充 */
38754
38755
  contentFill: { type: Boolean, default: !1 },
@@ -38813,7 +38814,7 @@ const lP = "uploader", cP = "A Farris Component", uP = "object", dP = {
38813
38814
  * 提示服务注入的Token
38814
38815
  */
38815
38816
  notifyServiceToken: { type: String, default: "" }
38816
- }, Cc = ye(ws, iP, rP, sP, fP);
38817
+ }, Cc = ye(ws, i8, r8, s8, f8);
38817
38818
  function Nf(e, t, n) {
38818
38819
  const a = jf.getNotify(e.notifyServiceToken), o = y(e.fileInfos), {
38819
38820
  disabled: i,
@@ -38829,7 +38830,7 @@ function Nf(e, t, n) {
38829
38830
  } = Gn(e), v = y(!1), g = y([]), x = $(() => g.value.length), b = y([]), C = y(""), w = $(() => {
38830
38831
  (!o.value.length || g.value.length !== o.value.length) && (v.value = !1);
38831
38832
  const N = o.value.map((W) => (W.hasOwnProperty("size") || (W.size = void 0), W.hasOwnProperty("createTime") || (W.createTime = void 0), W));
38832
- if (N.sort(N8(c.value)), u.value) {
38833
+ if (N.sort(NP(c.value)), u.value) {
38833
38834
  const W = N.map((L) => (L.checked = !!g.value.find((Y) => Y.id === L.id) || v.value, L));
38834
38835
  return g.value = [...W].filter((L) => L.checked), W;
38835
38836
  }
@@ -38909,7 +38910,7 @@ function Nf(e, t, n) {
38909
38910
  size: L.size,
38910
38911
  createTime: Cs(/* @__PURE__ */ new Date(), "yyyy-MM-dd HH:mm:ss")
38911
38912
  }));
38912
- o.value = [...W, ...w.value], H(N), t.emit("fUploadDoneEvent", W8(N.files || []));
38913
+ o.value = [...W, ...w.value], H(N), t.emit("fUploadDoneEvent", WP(N.files || []));
38913
38914
  } else N.type === "cancelled" || N.type === "removed" || N.type === "error" ? (b.value = b.value.filter((W) => N.files && N.files.findIndex((L) => {
38914
38915
  var Y;
38915
38916
  return ((Y = W == null ? void 0 : W.file) == null ? void 0 : Y.id) === L.id;
@@ -38946,7 +38947,7 @@ function Nf(e, t, n) {
38946
38947
  const Go = /* @__PURE__ */ Z({
38947
38948
  name: "FUploader",
38948
38949
  components: {
38949
- "f-upload-progress": j8,
38950
+ "f-upload-progress": jP,
38950
38951
  "f-preview-checkbox": Mf,
38951
38952
  "f-file-select": Hf
38952
38953
  },
@@ -39052,7 +39053,7 @@ const Go = /* @__PURE__ */ Z({
39052
39053
  function U(K, te, le) {
39053
39054
  return r("div", {
39054
39055
  class: "uploadAndpreview--filesize-container"
39055
- }, [K === "preview" && le ? r("span", null, [V8(le.size)]) : null, K === "upload" && te ? r("span", null, [yc(te)]) : null]);
39056
+ }, [K === "preview" && le ? r("span", null, [VP(le.size)]) : null, K === "upload" && te ? r("span", null, [yc(te)]) : null]);
39056
39057
  }
39057
39058
  function _(K, te) {
39058
39059
  return r("div", {
@@ -39247,7 +39248,7 @@ const Go = /* @__PURE__ */ Z({
39247
39248
  class: "table table-bordered uploadAndpreview--table"
39248
39249
  }, [r("thead", null, [G()]), r("tbody", null, [z(), Q()])]) : null]) : null, D.value ? O() : null]);
39249
39250
  }
39250
- }), pP = /* @__PURE__ */ Z({
39251
+ }), p8 = /* @__PURE__ */ Z({
39251
39252
  name: "FUploaderDesign",
39252
39253
  components: {
39253
39254
  "f-preview-checkbox": Mf,
@@ -39449,7 +39450,7 @@ const Go = /* @__PURE__ */ Z({
39449
39450
  class: "table table-bordered uploadAndpreview--table"
39450
39451
  }, [r("thead", null, [I()]), r("tbody", null, [E()])])]), b()]) : null]);
39451
39452
  }
39452
- }), vP = {
39453
+ }), v8 = {
39453
39454
  install(e) {
39454
39455
  e.component(Go.name, Go);
39455
39456
  },
@@ -39457,15 +39458,15 @@ const Go = /* @__PURE__ */ Z({
39457
39458
  e.uploader = Go, t.uploader = Cc;
39458
39459
  },
39459
39460
  registerDesigner(e, t, n) {
39460
- e.uploader = pP, t.uploader = Cc;
39461
+ e.uploader = p8, t.uploader = Cc;
39461
39462
  }
39462
- }, mP = /* @__PURE__ */ new Map([
39463
+ }, m8 = /* @__PURE__ */ new Map([
39463
39464
  ["appearance", ke]
39464
39465
  ]);
39465
- function hP(e, t, n) {
39466
+ function h8(e, t, n) {
39466
39467
  return t;
39467
39468
  }
39468
- const gP = "https://json-schema.org/draft/2020-12/schema", yP = "https://farris-design.gitee.io/verify-detail.schema.json", bP = "verify-detail", xP = "A Farris Component", CP = "object", wP = {
39469
+ const g8 = "https://json-schema.org/draft/2020-12/schema", y8 = "https://farris-design.gitee.io/verify-detail.schema.json", b8 = "verify-detail", x8 = "A Farris Component", C8 = "object", w8 = {
39469
39470
  id: {
39470
39471
  description: "The unique identifier for verify-detail",
39471
39472
  type: "string"
@@ -39527,18 +39528,18 @@ const gP = "https://json-schema.org/draft/2020-12/schema", yP = "https://farris-
39527
39528
  type: "boolean",
39528
39529
  default: !0
39529
39530
  }
39530
- }, SP = [
39531
+ }, S8 = [
39531
39532
  "id",
39532
39533
  "type"
39533
- ], kP = {
39534
- $schema: gP,
39535
- $id: yP,
39536
- title: bP,
39537
- description: xP,
39538
- type: CP,
39539
- properties: wP,
39540
- required: SP
39541
- }, BP = "verify-detail", DP = "A Farris Component", FP = "object", TP = {
39534
+ ], k8 = {
39535
+ $schema: g8,
39536
+ $id: y8,
39537
+ title: b8,
39538
+ description: x8,
39539
+ type: C8,
39540
+ properties: w8,
39541
+ required: S8
39542
+ }, B8 = "verify-detail", D8 = "A Farris Component", F8 = "object", T8 = {
39542
39543
  basic: {
39543
39544
  description: "Basic Infomation",
39544
39545
  title: "基本信息",
@@ -39560,11 +39561,11 @@ const gP = "https://json-schema.org/draft/2020-12/schema", yP = "https://farris-
39560
39561
  }
39561
39562
  }
39562
39563
  }
39563
- }, AP = {
39564
- title: BP,
39565
- description: DP,
39566
- type: FP,
39567
- categories: TP
39564
+ }, A8 = {
39565
+ title: B8,
39566
+ description: D8,
39567
+ type: F8,
39568
+ categories: T8
39568
39569
  }, Ss = {
39569
39570
  /** 表单验证默认显示的分组信息 */
39570
39571
  showType: { type: String, default: "" },
@@ -39605,7 +39606,7 @@ const gP = "https://json-schema.org/draft/2020-12/schema", yP = "https://farris-
39605
39606
  },
39606
39607
  customClass: { type: String, default: "" },
39607
39608
  maxHeight: { type: Number, default: 200 }
39608
- }, wc = ye(Ss, kP, mP, hP, AP), ya = /* @__PURE__ */ Z({
39609
+ }, wc = ye(Ss, k8, m8, h8, A8), ya = /* @__PURE__ */ Z({
39609
39610
  name: "FVerifyDetail",
39610
39611
  props: Ss,
39611
39612
  emits: ["validatorClick", "listshow"],
@@ -39738,7 +39739,7 @@ const gP = "https://json-schema.org/draft/2020-12/schema", yP = "https://farris-
39738
39739
  }, [g()])])])])]) : null]);
39739
39740
  }
39740
39741
  });
39741
- function IP(e, t, n) {
39742
+ function I8(e, t, n) {
39742
39743
  Ma({
39743
39744
  setup() {
39744
39745
  return Ct(() => {
@@ -39751,7 +39752,7 @@ class Vf {
39751
39752
  static show(t, n) {
39752
39753
  this.clear();
39753
39754
  let a = 0;
39754
- 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, IP(t, this.clear, this.verifyContainer);
39755
+ 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, I8(t, this.clear, this.verifyContainer);
39755
39756
  }
39756
39757
  static clear() {
39757
39758
  let t = this.verifyContainer;
@@ -39759,7 +39760,7 @@ class Vf {
39759
39760
  }
39760
39761
  }
39761
39762
  j(Vf, "verifyContainer", null);
39762
- const EP = /* @__PURE__ */ Z({
39763
+ const E8 = /* @__PURE__ */ Z({
39763
39764
  name: "FVerifyDetailDesign",
39764
39765
  props: Ss,
39765
39766
  emits: ["validatorClick", "listshow"],
@@ -39895,7 +39896,7 @@ const EP = /* @__PURE__ */ Z({
39895
39896
  }
39896
39897
  }, [b()])])])])])]) : null]);
39897
39898
  }
39898
- }), $P = {
39899
+ }), $8 = {
39899
39900
  install(e) {
39900
39901
  e.component(ya.name, ya), e.provide("FVerifyDetailService", Vf);
39901
39902
  },
@@ -39903,15 +39904,15 @@ const EP = /* @__PURE__ */ Z({
39903
39904
  e["verify-detail"] = ya, t["verify-detail"] = wc;
39904
39905
  },
39905
39906
  registerDesigner(e, t, n) {
39906
- e["verify-detail"] = EP, t["verify-detail"] = wc;
39907
+ e["verify-detail"] = E8, t["verify-detail"] = wc;
39907
39908
  }
39908
- }, PP = /* @__PURE__ */ new Map([
39909
+ }, P8 = /* @__PURE__ */ new Map([
39909
39910
  ["appearance", ke]
39910
39911
  ]);
39911
- function MP(e, t, n) {
39912
+ function M8(e, t, n) {
39912
39913
  return t;
39913
39914
  }
39914
- const OP = "https://json-schema.org/draft/2020-12/schema", RP = "https://farris-design.gitee.io/weather.schema.json", _P = "weather", jP = "A Farris Input Component", HP = "object", NP = {
39915
+ const O8 = "https://json-schema.org/draft/2020-12/schema", R8 = "https://farris-design.gitee.io/weather.schema.json", _8 = "weather", j8 = "A Farris Input Component", H8 = "object", N8 = {
39915
39916
  id: {
39916
39917
  description: "The unique identifier for a weather",
39917
39918
  type: "string"
@@ -39934,18 +39935,18 @@ const OP = "https://json-schema.org/draft/2020-12/schema", RP = "https://farris-
39934
39935
  },
39935
39936
  default: {}
39936
39937
  }
39937
- }, VP = [
39938
+ }, V8 = [
39938
39939
  "id",
39939
39940
  "type"
39940
- ], LP = {
39941
- $schema: OP,
39942
- $id: RP,
39943
- title: _P,
39944
- description: jP,
39945
- type: HP,
39946
- properties: NP,
39947
- required: VP
39948
- }, WP = "weather", zP = "A Farris Component", qP = "object", GP = {
39941
+ ], L8 = {
39942
+ $schema: O8,
39943
+ $id: R8,
39944
+ title: _8,
39945
+ description: j8,
39946
+ type: H8,
39947
+ properties: N8,
39948
+ required: V8
39949
+ }, W8 = "weather", z8 = "A Farris Component", q8 = "object", G8 = {
39949
39950
  basic: {
39950
39951
  description: "Basic Infomation",
39951
39952
  title: "基本信息",
@@ -39967,12 +39968,12 @@ const OP = "https://json-schema.org/draft/2020-12/schema", RP = "https://farris-
39967
39968
  }
39968
39969
  }
39969
39970
  }
39970
- }, YP = {
39971
- title: WP,
39972
- description: zP,
39973
- type: qP,
39974
- categories: GP
39975
- }, UP = {
39971
+ }, Y8 = {
39972
+ title: W8,
39973
+ description: z8,
39974
+ type: q8,
39975
+ categories: G8
39976
+ }, U8 = {
39976
39977
  /** 城市列表 */
39977
39978
  cityItems: {
39978
39979
  type: Array,
@@ -40227,10 +40228,10 @@ const OP = "https://json-schema.org/draft/2020-12/schema", RP = "https://farris-
40227
40228
  }
40228
40229
  }, ks = {
40229
40230
  /** 默认数据 */
40230
- data: { type: Object, default: UP },
40231
+ data: { type: Object, default: U8 },
40231
40232
  /** 主题参数 */
40232
40233
  theme: { type: Number, default: 1 }
40233
- }, Sc = ye(ks, LP, PP, MP, YP);
40234
+ }, Sc = ye(ks, L8, P8, M8, Y8);
40234
40235
  function Lf(e, t) {
40235
40236
  function n(a) {
40236
40237
  return a < 10 ? "0" + a : a;
@@ -40399,7 +40400,7 @@ function Bs(e, t) {
40399
40400
  renderCharts: p
40400
40401
  };
40401
40402
  }
40402
- function KP(e, t) {
40403
+ function K8(e, t) {
40403
40404
  const n = y(), a = y(e.data.data), o = y(0), i = Lf(), s = Bs(e);
40404
40405
  function l(g) {
40405
40406
  o.value = g;
@@ -40524,7 +40525,7 @@ function KP(e, t) {
40524
40525
  renderWeatherReport: v
40525
40526
  };
40526
40527
  }
40527
- function XP(e, t) {
40528
+ function X8(e, t) {
40528
40529
  const n = y(e.data.data);
40529
40530
  function a() {
40530
40531
  return r("div", null, [n.value.default.proindexItemsSet.map((o) => r("tr", {
@@ -40554,12 +40555,12 @@ function XP(e, t) {
40554
40555
  renderWeatherProindex: a
40555
40556
  };
40556
40557
  }
40557
- function QP(e, t) {
40558
+ function Q8(e, t) {
40558
40559
  const n = y(!0), a = Ya(e), {
40559
40560
  renderWeatherReport: o
40560
- } = KP(e), {
40561
+ } = K8(e), {
40561
40562
  renderWeatherProindex: i
40562
- } = XP(e), s = $(() => ({
40563
+ } = X8(e), s = $(() => ({
40563
40564
  "background-color": n.value ? a.colorTheme.value[2] : "",
40564
40565
  color: n.value ? "white" : ""
40565
40566
  })), l = $(() => ({
@@ -40603,7 +40604,7 @@ var _e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
40603
40604
  function Wf(e) {
40604
40605
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
40605
40606
  }
40606
- function ZP(e) {
40607
+ function Z8(e) {
40607
40608
  if (e.__esModule) return e;
40608
40609
  var t = e.default;
40609
40610
  if (typeof t == "function") {
@@ -40622,7 +40623,7 @@ function ZP(e) {
40622
40623
  });
40623
40624
  }), n;
40624
40625
  }
40625
- var Xi = { exports: {} }, Qi = { exports: {} }, Ln = 1e3, Wn = Ln * 60, zn = Wn * 60, qn = zn * 24, JP = qn * 365.25, eM = function(e, t) {
40626
+ var Xi = { exports: {} }, Qi = { exports: {} }, Ln = 1e3, Wn = Ln * 60, zn = Wn * 60, qn = zn * 24, J8 = qn * 365.25, eM = function(e, t) {
40626
40627
  t = t || {};
40627
40628
  var n = typeof e;
40628
40629
  if (n === "string" && e.length > 0)
@@ -40646,7 +40647,7 @@ function tM(e) {
40646
40647
  case "yrs":
40647
40648
  case "yr":
40648
40649
  case "y":
40649
- return n * JP;
40650
+ return n * J8;
40650
40651
  case "days":
40651
40652
  case "day":
40652
40653
  case "d":
@@ -40835,7 +40836,7 @@ var Yo = { exports: {} };
40835
40836
  const fM = {}, pM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
40836
40837
  __proto__: null,
40837
40838
  default: fM
40838
- }, Symbol.toStringTag, { value: "Module" })), vM = /* @__PURE__ */ ZP(pM);
40839
+ }, Symbol.toStringTag, { value: "Module" })), vM = /* @__PURE__ */ Z8(pM);
40839
40840
  var Bc;
40840
40841
  function Ne() {
40841
40842
  return Bc || (Bc = 1, function(e, t) {
@@ -46048,7 +46049,7 @@ function WM(e, t) {
46048
46049
  function zM(e, t) {
46049
46050
  const n = y(!1), {
46050
46051
  renderWeatherDetail: a
46051
- } = QP(e), {
46052
+ } = Q8(e), {
46052
46053
  renderWeatherCity: o
46053
46054
  } = VM(e), {
46054
46055
  renderWeatherSunset: i
@@ -46420,7 +46421,7 @@ const u5 = /* @__PURE__ */ Z({
46420
46421
  }, De = {}, Fe = {}, Ae = {};
46421
46422
  let lu = !1;
46422
46423
  function f5() {
46423
- lu || (lu = !0, dx.register(De, Fe, Ae), Ub.register(De, Fe, Ae), e1.register(De, Fe, Ae), x1.registerDesigner(De, Fe, Ae), W1.register(De, Fe, Ae), q1.register(De, Fe, Ae), oC.register(De, Fe, Ae), rC.register(De, Fe, Ae), SC.register(De, Fe), kw.register(De, Fe, Ae), rw.registerDesigner(De, Fe, Ae), s2.register(De, Fe, Ae), T2.register(De, Fe, Ae), G2.register(De, Fe, Ae), m5.register(De, Fe, Ae), dk.register(De, Fe, Ae), tB.register(De, Fe, Ae), xB.register(De, Fe, Ae), wB.register(De, Fe, Ae), ZB.register(De, Fe, Ae), HD.register(De, Fe, Ae), hD.registerDesigner(De, Fe, Ae), pF.register(De, Fe, Ae), _F.register(De, Fe, Ae), eT.register(De, Fe, Ae), gT.register(De, Fe, Ae), OT.register(De, Fe, Ae), _T.register(De, Fe, Ae), lA.register(De, Fe, Ae), BA.register(De, Fe, Ae), LA.register(De, Fe, Ae), fI.register(De, Fe, Ae), RI.register(De, Fe, Ae), jI.register(De, Fe, Ae), n4.register(De, Fe, Ae), F4.register(De, Fe, Ae), F3.register(De, Fe, Ae), tA.register(De, Fe, Ae), q4.register(De, Fe, Ae), U4.register(De, Fe, Ae), dE.register(De, Fe, Ae), qE.register(De, Fe, Ae), l$.register(De, Fe, Ae), u$.register(De, Fe, Ae), x$.register(De, Fe, Ae), w$.register(De, Fe, Ae), Y$.register(De, Fe, Ae), v8.register(De, Fe, Ae), h8.register(De, Fe, Ae), M8.register(De, Fe, Ae), $P.register(De, Fe, Ae), vP.register(De, Fe, Ae), GM.register(De, Fe, Ae), d5.register(De, Fe, Ae));
46424
+ lu || (lu = !0, dx.register(De, Fe, Ae), Ub.register(De, Fe, Ae), e1.register(De, Fe, Ae), x1.registerDesigner(De, Fe, Ae), W1.register(De, Fe, Ae), q1.register(De, Fe, Ae), oC.register(De, Fe, Ae), rC.register(De, Fe, Ae), SC.register(De, Fe), kw.register(De, Fe, Ae), rw.registerDesigner(De, Fe, Ae), s2.register(De, Fe, Ae), T2.register(De, Fe, Ae), G2.register(De, Fe, Ae), m5.register(De, Fe, Ae), dk.register(De, Fe, Ae), tB.register(De, Fe, Ae), xB.register(De, Fe, Ae), wB.register(De, Fe, Ae), ZB.register(De, Fe, Ae), HD.register(De, Fe, Ae), hD.registerDesigner(De, Fe, Ae), pF.register(De, Fe, Ae), _F.register(De, Fe, Ae), eT.register(De, Fe, Ae), gT.register(De, Fe, Ae), OT.register(De, Fe, Ae), _T.register(De, Fe, Ae), lA.register(De, Fe, Ae), BA.register(De, Fe, Ae), LA.register(De, Fe, Ae), fI.register(De, Fe, Ae), RI.register(De, Fe, Ae), jI.register(De, Fe, Ae), n4.register(De, Fe, Ae), F4.register(De, Fe, Ae), F3.register(De, Fe, Ae), tA.register(De, Fe, Ae), q4.register(De, Fe, Ae), U4.register(De, Fe, Ae), dE.register(De, Fe, Ae), qE.register(De, Fe, Ae), l$.register(De, Fe, Ae), u$.register(De, Fe, Ae), x$.register(De, Fe, Ae), w$.register(De, Fe, Ae), Y$.register(De, Fe, Ae), vP.register(De, Fe, Ae), hP.register(De, Fe, Ae), MP.register(De, Fe, Ae), $8.register(De, Fe, Ae), v8.register(De, Fe, Ae), GM.register(De, Fe, Ae), d5.register(De, Fe, Ae));
46424
46425
  }
46425
46426
  function Uf() {
46426
46427
  f5();