@farris/ui-vue 1.2.8 → 1.2.9

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 (215) hide show
  1. package/components/accordion/index.esm.js +129 -129
  2. package/components/accordion/index.umd.cjs +1 -0
  3. package/components/avatar/index.esm.js +166 -157
  4. package/components/avatar/index.umd.cjs +1 -0
  5. package/components/border-editor/index.umd.cjs +1 -0
  6. package/components/button/index.umd.cjs +1 -0
  7. package/components/button-edit/index.esm.js +343 -325
  8. package/components/button-edit/index.umd.cjs +1 -0
  9. package/components/button-group/index.umd.cjs +1 -0
  10. package/components/calculator/index.umd.cjs +1 -0
  11. package/components/calendar/index.esm.js +338 -338
  12. package/components/calendar/index.umd.cjs +1 -0
  13. package/components/capsule/index.esm.js +182 -182
  14. package/components/capsule/index.umd.cjs +1 -0
  15. package/components/checkbox/index.esm.js +326 -317
  16. package/components/checkbox/index.umd.cjs +1 -0
  17. package/components/color-picker/index.esm.js +118 -118
  18. package/components/color-picker/index.umd.cjs +3 -0
  19. package/components/combo-list/index.esm.js +338 -325
  20. package/components/combo-list/index.umd.cjs +1 -0
  21. package/components/combo-tree/index.esm.js +62 -62
  22. package/components/combo-tree/index.umd.cjs +1 -0
  23. package/components/common/index.umd.cjs +1 -0
  24. package/components/component/index.esm.js +382 -270
  25. package/components/component/index.umd.cjs +1 -0
  26. package/components/condition/index.esm.js +1018 -895
  27. package/components/condition/index.umd.cjs +1 -0
  28. package/components/content-container/index.esm.js +285 -212
  29. package/components/content-container/index.umd.cjs +1 -0
  30. package/components/data-grid/index.css +1 -1
  31. package/components/data-grid/index.esm.js +4761 -4319
  32. package/components/data-grid/index.umd.cjs +1 -0
  33. package/components/data-view/index.esm.js +2901 -2664
  34. package/components/data-view/index.umd.cjs +1 -0
  35. package/components/date-picker/index.esm.js +1502 -1488
  36. package/components/date-picker/index.umd.cjs +1 -0
  37. package/components/designer-canvas/index.css +1 -1
  38. package/components/designer-canvas/index.esm.js +938 -928
  39. package/components/designer-canvas/index.umd.cjs +1 -0
  40. package/components/designer-outline/index.css +1 -1
  41. package/components/designer-outline/index.esm.js +27 -27
  42. package/components/designer-outline/index.umd.cjs +1 -0
  43. package/components/designer-toolbox/index.esm.js +36 -12
  44. package/components/designer-toolbox/index.umd.cjs +1 -0
  45. package/components/discussion-editor/index.umd.cjs +3 -0
  46. package/components/discussion-list/index.umd.cjs +1 -0
  47. package/components/drawer/index.umd.cjs +1 -0
  48. package/components/dropdown/index.esm.js +241 -241
  49. package/components/dropdown/index.umd.cjs +2 -0
  50. package/components/dynamic-form/index.esm.js +1074 -885
  51. package/components/dynamic-form/index.umd.cjs +1 -0
  52. package/components/dynamic-resolver/index.esm.js +99 -94
  53. package/components/dynamic-resolver/index.umd.cjs +1 -0
  54. package/components/dynamic-view/index.umd.cjs +1 -0
  55. package/components/enum-editor/index.umd.cjs +1 -0
  56. package/components/events-editor/index.esm.js +577 -522
  57. package/components/events-editor/index.umd.cjs +1 -0
  58. package/components/expression-editor/index.esm.js +70 -70
  59. package/components/expression-editor/index.umd.cjs +1 -0
  60. package/components/external-container/index.css +1 -1
  61. package/components/external-container/index.esm.js +2938 -2619
  62. package/components/external-container/index.umd.cjs +1 -0
  63. package/components/field-selector/index.css +1 -1
  64. package/components/field-selector/index.esm.js +4766 -4325
  65. package/components/field-selector/index.umd.cjs +1 -0
  66. package/components/filter-bar/index.css +1 -1
  67. package/components/filter-bar/index.esm.js +1231 -1215
  68. package/components/filter-bar/index.umd.cjs +1 -0
  69. package/components/flow-canvas/index.css +1 -1
  70. package/components/flow-canvas/index.esm.js +1062 -1052
  71. package/components/flow-canvas/index.umd.cjs +1 -0
  72. package/components/image-cropper/index.esm.js +373 -373
  73. package/components/image-cropper/index.umd.cjs +1 -0
  74. package/components/input-group/index.esm.js +398 -394
  75. package/components/input-group/index.umd.cjs +1 -0
  76. package/components/layout/index.esm.js +268 -268
  77. package/components/layout/index.umd.cjs +1 -0
  78. package/components/list-nav/index.esm.js +234 -161
  79. package/components/list-nav/index.umd.cjs +1 -0
  80. package/components/list-view/index.css +1 -1
  81. package/components/list-view/index.esm.js +2288 -2048
  82. package/components/list-view/index.umd.cjs +1 -0
  83. package/components/loading/index.umd.cjs +8 -0
  84. package/components/locale/index.umd.cjs +1 -0
  85. package/components/lookup/index.css +1 -1
  86. package/components/lookup/index.esm.js +5776 -5305
  87. package/components/lookup/index.umd.cjs +1 -0
  88. package/components/mapping-editor/index.css +1 -1
  89. package/components/mapping-editor/index.esm.js +5496 -5036
  90. package/components/mapping-editor/index.umd.cjs +1 -0
  91. package/components/message-box/index.umd.cjs +1 -0
  92. package/components/modal/index.umd.cjs +1 -0
  93. package/components/nav/index.esm.js +383 -322
  94. package/components/nav/index.umd.cjs +3 -0
  95. package/components/notify/index.umd.cjs +1 -0
  96. package/components/number-range/index.esm.js +273 -269
  97. package/components/number-range/index.umd.cjs +1 -0
  98. package/components/number-spinner/index.esm.js +292 -283
  99. package/components/number-spinner/index.umd.cjs +1 -0
  100. package/components/order/index.css +1 -1
  101. package/components/order/index.esm.js +1008 -925
  102. package/components/order/index.umd.cjs +1 -0
  103. package/components/page-footer/index.esm.js +98 -98
  104. package/components/page-footer/index.umd.cjs +1 -0
  105. package/components/page-header/index.esm.js +949 -847
  106. package/components/page-header/index.umd.cjs +1 -0
  107. package/components/pagination/index.esm.js +464 -403
  108. package/components/pagination/index.umd.cjs +1 -0
  109. package/components/popover/index.umd.cjs +1 -0
  110. package/components/progress/index.esm.js +226 -226
  111. package/components/progress/index.umd.cjs +3 -0
  112. package/components/property-editor/index.esm.js +1110 -1092
  113. package/components/property-editor/index.umd.cjs +3 -0
  114. package/components/property-panel/index.esm.js +520 -513
  115. package/components/property-panel/index.umd.cjs +1 -0
  116. package/components/query-solution/index.css +1 -1
  117. package/components/query-solution/index.esm.js +1714 -1575
  118. package/components/query-solution/index.umd.cjs +1 -0
  119. package/components/radio-button/index.esm.js +67 -67
  120. package/components/radio-button/index.umd.cjs +1 -0
  121. package/components/radio-group/index.esm.js +298 -289
  122. package/components/radio-group/index.umd.cjs +1 -0
  123. package/components/rate/index.esm.js +195 -190
  124. package/components/rate/index.umd.cjs +1 -0
  125. package/components/response-layout/index.esm.js +112 -112
  126. package/components/response-layout/index.umd.cjs +1 -0
  127. package/components/response-layout-editor/index.esm.js +902 -877
  128. package/components/response-layout-editor/index.umd.cjs +1 -0
  129. package/components/response-toolbar/index.esm.js +874 -778
  130. package/components/response-toolbar/index.umd.cjs +1 -0
  131. package/components/schema-selector/index.css +1 -1
  132. package/components/schema-selector/index.esm.js +4594 -4289
  133. package/components/schema-selector/index.umd.cjs +8 -0
  134. package/components/search-box/index.esm.js +126 -126
  135. package/components/search-box/index.umd.cjs +1 -0
  136. package/components/section/index.esm.js +645 -503
  137. package/components/section/index.umd.cjs +1 -0
  138. package/components/smoke-detector/index.esm.js +120 -120
  139. package/components/smoke-detector/index.umd.cjs +1 -0
  140. package/components/spacing-editor/index.umd.cjs +1 -0
  141. package/components/splitter/index.esm.js +421 -348
  142. package/components/splitter/index.umd.cjs +1 -0
  143. package/components/step/index.esm.js +219 -219
  144. package/components/step/index.umd.cjs +1 -0
  145. package/components/switch/index.esm.js +232 -222
  146. package/components/switch/index.umd.cjs +1 -0
  147. package/components/tabs/index.esm.js +1823 -1744
  148. package/components/tabs/index.umd.cjs +1 -0
  149. package/components/tags/index.esm.js +399 -401
  150. package/components/tags/index.umd.cjs +1 -0
  151. package/components/text/index.esm.js +164 -164
  152. package/components/text/index.umd.cjs +1 -0
  153. package/components/textarea/index.esm.js +220 -215
  154. package/components/textarea/index.umd.cjs +1 -0
  155. package/components/time-picker/index.esm.js +693 -666
  156. package/components/time-picker/index.umd.cjs +1 -0
  157. package/components/tooltip/index.umd.cjs +1 -0
  158. package/components/transfer/index.css +1 -1
  159. package/components/transfer/index.esm.js +422 -413
  160. package/components/transfer/index.umd.cjs +1 -0
  161. package/components/tree-grid/index.css +1 -1
  162. package/components/tree-grid/index.esm.js +4799 -4358
  163. package/components/tree-grid/index.umd.cjs +1 -0
  164. package/components/tree-view/index.esm.js +2448 -2215
  165. package/components/tree-view/index.umd.cjs +1 -0
  166. package/components/uploader/index.esm.js +164 -164
  167. package/components/uploader/index.umd.cjs +2 -0
  168. package/components/verify-detail/index.esm.js +143 -143
  169. package/components/verify-detail/index.umd.cjs +1 -0
  170. package/components/video/index.esm.js +410 -331
  171. package/components/video/index.umd.cjs +1 -0
  172. package/components/weather/index.esm.js +901 -901
  173. package/components/weather/index.umd.cjs +16 -0
  174. package/farris.all.esm.js +12305 -11403
  175. package/farris.all.umd.cjs +8 -8
  176. package/index.css +1 -1
  177. package/package.json +1 -1
  178. package/types/button-edit/src/designer/button-group.design.component.d.ts +7 -0
  179. package/types/combo-list/src/components/list-container.component.d.ts +3 -0
  180. package/types/combo-list/src/components/list-container.props.d.ts +5 -1
  181. package/types/common/entity/entity-schema.d.ts +258 -0
  182. package/types/component/src/component-ref.props.d.ts +4 -0
  183. package/types/component/src/composition/inner-component-build-info.d.ts +27 -0
  184. package/types/component/src/designer/use-designer-rules.d.ts +2 -2
  185. package/types/data-grid/index.d.ts +5 -2
  186. package/types/data-grid/src/composition/data-grid-component-creator.service.d.ts +33 -0
  187. package/types/data-grid/src/data-grid.component.d.ts +2 -1
  188. package/types/data-grid/src/data-grid.props.d.ts +2 -2
  189. package/types/data-grid/src/designer/use-group-column.d.ts +20 -0
  190. package/types/data-grid/src/property-config/data-grid.property-config.d.ts +4 -0
  191. package/types/data-grid/src/schema/schema-resolver.d.ts +2 -1
  192. package/types/data-view/components/column-format/boolean.component.d.ts +4 -0
  193. package/types/data-view/components/column-format/column-format.component.d.ts +4 -0
  194. package/types/data-view/components/column-format/date.component.d.ts +4 -0
  195. package/types/data-view/components/column-format/enum.component.d.ts +4 -0
  196. package/types/data-view/components/column-format/number.component.d.ts +4 -0
  197. package/types/data-view/composition/pagination/use-pagination.d.ts +1 -0
  198. package/types/data-view/composition/types.d.ts +18 -6
  199. package/types/data-view/composition/use-edit.d.ts +2 -1
  200. package/types/designer-canvas/src/composition/function/use-dragula.d.ts +2 -2
  201. package/types/designer-canvas/src/types.d.ts +2 -2
  202. package/types/dynamic-form/index.d.ts +2 -1
  203. package/types/dynamic-form/src/composition/response-form-component-creator.service.d.ts +31 -0
  204. package/types/dynamic-form/src/schema/schema-resolver.d.ts +2 -1
  205. package/types/dynamic-resolver/src/schema-resolver.d.ts +2 -1
  206. package/types/dynamic-resolver/src/types.d.ts +3 -2
  207. package/types/response-toolbar/src/response-toolbar.props.d.ts +2 -2
  208. package/types/response-toolbar/src/schema/schema-mapper.d.ts +4 -0
  209. package/types/section/src/property-config/section.property-config.d.ts +93 -0
  210. package/types/section/src/schema/schema-resolver.d.ts +2 -1
  211. package/types/tabs/src/composition/types.d.ts +2 -2
  212. package/types/tabs/src/designer/tab-header-item.design.component.d.ts +3 -1
  213. package/types/tabs/src/property-config/tab-page.property-config.d.ts +60 -0
  214. package/types/tabs/src/schema/schema-resolver.d.ts +2 -1
  215. package/types/tags/index.d.ts +36 -5
@@ -1,7 +1,7 @@
1
- var Le = Object.defineProperty;
2
- var je = (e, t, n) => t in e ? Le(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
1
+ var De = Object.defineProperty;
2
+ var je = (e, t, n) => t in e ? De(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var A = (e, t, n) => je(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { ref as C, computed as E, defineComponent as U, watch as V, createVNode as c, createTextVNode as ue, onMounted as H, nextTick as ae, reactive as Ae, withDirectives as $e, resolveDirective as Ve, Fragment as Z, mergeProps as Ge, inject as Re, onBeforeMount as We } from "vue";
4
+ import { ref as F, computed as E, defineComponent as U, watch as V, createVNode as c, createTextVNode as de, onMounted as H, nextTick as ie, reactive as Ae, withDirectives as $e, resolveDirective as Ve, Fragment as Z, mergeProps as Ge, inject as Re, onBeforeMount as We } from "vue";
5
5
  import { cloneDeep as qe } from "lodash-es";
6
6
  import "bignumber.js";
7
7
  import He, { useNumber as Ue, useFormat as _e, useSpinner as ze, useTextBox as Xe } from "../number-spinner/index.esm.js";
@@ -33,8 +33,8 @@ import ht from "../lookup/index.esm.js";
33
33
  import Ct from "../mapping-editor/index.esm.js";
34
34
  import Ft from "../nav/index.esm.js";
35
35
  import St from "../number-range/index.esm.js";
36
- import wt from "../order/index.esm.js";
37
- import Tt from "../page-header/index.esm.js";
36
+ import Tt from "../order/index.esm.js";
37
+ import wt from "../page-header/index.esm.js";
38
38
  import Pt from "../page-footer/index.esm.js";
39
39
  import Bt from "../pagination/index.esm.js";
40
40
  import xt from "../progress/index.esm.js";
@@ -44,8 +44,8 @@ import kt from "../rate/index.esm.js";
44
44
  import Ot from "../response-toolbar/index.esm.js";
45
45
  import Mt from "../response-layout/index.esm.js";
46
46
  import Nt from "../response-layout-editor/index.esm.js";
47
- import Dt from "../search-box/index.esm.js";
48
- import Lt from "../section/index.esm.js";
47
+ import Lt from "../search-box/index.esm.js";
48
+ import Dt from "../section/index.esm.js";
49
49
  import jt from "../smoke-detector/index.esm.js";
50
50
  import At from "../splitter/index.esm.js";
51
51
  import $t from "../step/index.esm.js";
@@ -93,104 +93,109 @@ const Kt = {
93
93
  propertyChanged: { type: Function }
94
94
  };
95
95
  function en(e = {}) {
96
- function t(o, s, r, u) {
97
- if (typeof r == "number")
98
- return u[o].length === r;
99
- if (typeof r == "object") {
100
- const i = Object.keys(r)[0], p = r[i];
96
+ function t(o, p, a, s) {
97
+ if (typeof a == "number")
98
+ return s[o].length === a;
99
+ if (typeof a == "object") {
100
+ const i = Object.keys(a)[0], d = a[i];
101
101
  if (i === "not")
102
- return Number(u[o].length) !== Number(p);
102
+ return Number(s[o].length) !== Number(d);
103
103
  if (i === "moreThan")
104
- return Number(u[o].length) >= Number(p);
104
+ return Number(s[o].length) >= Number(d);
105
105
  if (i === "lessThan")
106
- return Number(u[o].length) <= Number(p);
106
+ return Number(s[o].length) <= Number(d);
107
107
  }
108
108
  return !1;
109
109
  }
110
- function n(o, s, r, u) {
111
- return u[o] && u[o].propertyValue && String(u[o].propertyValue.value) === String(r);
110
+ function n(o, p, a, s) {
111
+ return s[o] && s[o].propertyValue && String(s[o].propertyValue.value) === String(a);
112
112
  }
113
- const a = /* @__PURE__ */ new Map([
113
+ const r = /* @__PURE__ */ new Map([
114
114
  ["length", t],
115
115
  ["getProperty", n]
116
116
  ]);
117
- Object.keys(e).reduce((o, s) => (o.set(s, e[s]), o), a);
118
- function l(o, s) {
119
- const r = o;
120
- return typeof s == "number" ? [{ target: r, operator: "length", param: null, value: Number(s) }] : typeof s == "boolean" ? [{ target: r, operator: "getProperty", param: o, value: !!s }] : typeof s == "object" ? Object.keys(s).map((u) => {
121
- if (u === "length")
122
- return { target: r, operator: "length", param: null, value: s[u] };
123
- const i = u, p = s[u];
124
- return { target: r, operator: "getProperty", param: i, value: p };
117
+ Object.keys(e).reduce((o, p) => (o.set(p, e[p]), o), r);
118
+ function l(o, p) {
119
+ const a = o;
120
+ return typeof p == "number" ? [{ target: a, operator: "length", param: null, value: Number(p) }] : typeof p == "boolean" ? [{ target: a, operator: "getProperty", param: o, value: !!p }] : typeof p == "object" ? Object.keys(p).map((s) => {
121
+ if (s === "length")
122
+ return { target: a, operator: "length", param: null, value: p[s] };
123
+ const i = s, d = p[s];
124
+ return { target: a, operator: "getProperty", param: i, value: d };
125
125
  }) : [];
126
126
  }
127
- function f(o) {
128
- return Object.keys(o).reduce((r, u) => {
129
- const i = l(u, o[u]);
130
- return r.push(...i), r;
127
+ function m(o) {
128
+ return Object.keys(o).reduce((a, s) => {
129
+ const i = l(s, o[s]);
130
+ return a.push(...i), a;
131
131
  }, []);
132
132
  }
133
- function v(o, s) {
134
- if (a.has(o.operator)) {
135
- const r = a.get(o.operator);
136
- return r && r(o.target, o.param, o.value, s) || !1;
133
+ function f(o, p) {
134
+ if (r.has(o.operator)) {
135
+ const a = r.get(o.operator);
136
+ return a && a(o.target, o.param, o.value, p) || !1;
137
137
  }
138
138
  return !1;
139
139
  }
140
- function P(o, s) {
141
- return f(o).reduce((i, p) => i && v(p, s), !0);
140
+ function C(o, p) {
141
+ return m(o).reduce((i, d) => i && f(d, p), !0);
142
142
  }
143
- function d(o, s) {
144
- const r = Object.keys(o), u = r.includes("allOf"), i = r.includes("anyOf"), p = u || i, N = (p ? o[p ? u ? "allOf" : "anyOf" : "allOf"] : [o]).map((D) => P(D, s));
145
- return u ? !N.includes(!1) : N.includes(!0);
143
+ function u(o, p) {
144
+ const a = Object.keys(o), s = a.includes("allOf"), i = a.includes("anyOf"), d = s || i, N = (d ? o[d ? s ? "allOf" : "anyOf" : "allOf"] : [o]).map((L) => C(L, p));
145
+ return s ? !N.includes(!1) : N.includes(!0);
146
146
  }
147
- return { parseValueSchema: d };
147
+ return { parseValueSchema: u };
148
148
  }
149
- const ce = {}, tn = {};
150
- function de(e) {
151
- const { properties: t, title: n } = e, a = Object.keys(t).reduce((l, f) => (l[f] = t[f].type === "object" && t[f].properties ? de(t[f]) : qe(t[f].default), l), {});
152
- return a.id = `${n}-${Date.now()}`, a;
149
+ const te = {}, tn = {};
150
+ function pe(e) {
151
+ const { properties: t, title: n, ignore: r } = e, l = r && Array.isArray(r), m = Object.keys(t).reduce((f, C) => ((!l || !r.find((u) => u == C)) && (f[C] = t[C].type === "object" && t[C].properties ? pe(t[C]) : qe(t[C].default)), f), {});
152
+ return (!l || !r.find((f) => f == "id")) && (m.id = `${n}-${Date.now()}`), m;
153
153
  }
154
- function pe(e, t) {
155
- const n = de(t);
156
- return Object.keys(e).reduce((a, l) => (a[l] && typeof a[l] == "object" ? Object.assign(a[l], e[l]) : a[l] = e[l], a), n), n;
154
+ function ne(e, t) {
155
+ const n = pe(t);
156
+ return Object.keys(e).reduce((r, l) => (r[l] && typeof r[l] == "object" ? Object.assign(r[l], e[l]) : r[l] = e[l], r), n), n;
157
157
  }
158
158
  function nn(e, t) {
159
- return Object.keys(e).filter((a) => e[a] != null).reduce((a, l) => {
159
+ return Object.keys(e).filter((r) => e[r] != null).reduce((r, l) => {
160
160
  if (t.has(l)) {
161
- const f = t.get(l);
162
- if (typeof f == "string")
163
- a[f] = e[l];
161
+ const m = t.get(l);
162
+ if (typeof m == "string")
163
+ r[m] = e[l];
164
164
  else {
165
- const v = f(l, e[l], e);
166
- Object.assign(a, v);
165
+ const f = m(l, e[l], e);
166
+ Object.assign(r, f);
167
167
  }
168
168
  } else
169
- a[l] = e[l];
170
- return a;
169
+ r[l] = e[l];
170
+ return r;
171
171
  }, {});
172
172
  }
173
173
  function on(e, t, n = /* @__PURE__ */ new Map()) {
174
- const a = pe(e, t);
175
- return nn(a, n);
174
+ const r = ne(e, t);
175
+ return nn(r, n);
176
176
  }
177
177
  function fe(e) {
178
+ var n;
178
179
  const t = e.type;
179
180
  if (t) {
180
- const n = ce[t];
181
- return pe(e, n);
181
+ const r = te[t], l = ne(e, r), m = ((n = e.editor) == null ? void 0 : n.type) || "";
182
+ if (m) {
183
+ const f = te[m], C = ne(e.editor, f);
184
+ l.editor = C;
185
+ }
186
+ return l;
182
187
  }
183
188
  return e;
184
189
  }
185
190
  const rn = {
186
- convertTo: (e, t, n, a) => {
191
+ convertTo: (e, t, n, r) => {
187
192
  e.appearance && (e.appearance[t] = n);
188
193
  },
189
194
  convertFrom: (e, t, n) => e.appearance ? e.appearance[t] : e[t]
190
195
  }, an = {
191
196
  convertFrom: (e, t, n) => e.buttons && e.buttons.length ? `共 ${e.buttons.length} 项` : "无"
192
197
  }, ln = {
193
- convertTo: (e, t, n, a) => {
198
+ convertTo: (e, t, n, r) => {
194
199
  e.editor && (e.editor[t] = n);
195
200
  },
196
201
  convertFrom: (e, t, n) => e.editor && e.editor.hasOwnProperty(t) ? e.editor[t] : e[t]
@@ -235,11 +240,11 @@ const rn = {
235
240
  }, un = {
236
241
  convertFrom: (e, t, n) => {
237
242
  var l;
238
- const a = e.editor && e.editor[t] ? e.editor[t] : e[t];
239
- return ((l = sn[a]) == null ? void 0 : l.name) || a;
243
+ const r = e.editor && e.editor[t] ? e.editor[t] : e[t];
244
+ return ((l = sn[r]) == null ? void 0 : l.name) || r;
240
245
  }
241
246
  }, cn = {
242
- convertTo: (e, t, n, a) => {
247
+ convertTo: (e, t, n, r) => {
243
248
  e[t] = e[t];
244
249
  },
245
250
  convertFrom: (e, t, n) => e.editor ? n.getRealEditorType(e.editor.type) : ""
@@ -247,12 +252,12 @@ const rn = {
247
252
  convertFrom: (e, t) => e.binding ? e.binding.path : "",
248
253
  convertTo: (e, t, n) => {
249
254
  if (n && n.length > 0) {
250
- const a = n[0];
251
- e.binding || (e.binding = {}), e.binding.type = "Form", e.binding.path = a.bindingField, e.binding.field = a.id, e.binding.fullPath = a.path, e.path = a.bindingPath;
255
+ const r = n[0];
256
+ e.binding || (e.binding = {}), e.binding.type = "Form", e.binding.path = r.bindingField, e.binding.field = r.id, e.binding.fullPath = r.path, e.path = r.bindingPath;
252
257
  }
253
258
  }
254
259
  }, pn = {
255
- convertTo: (e, t, n, a) => {
260
+ convertTo: (e, t, n, r) => {
256
261
  e.pagination || (e.pagination = {}), e.pagination[t] = n;
257
262
  },
258
263
  convertFrom: (e, t, n) => e.pagination ? e.pagination[t] : e[t]
@@ -290,75 +295,75 @@ class fn {
290
295
  function mn() {
291
296
  let e, t;
292
297
  const n = /* @__PURE__ */ new Map();
293
- let a = [];
294
- function l(d, o) {
295
- const r = d.split(" ").filter((S) => S.startsWith("col-"));
296
- if (r.length === 0) {
298
+ let r = [];
299
+ function l(u, o) {
300
+ const a = u.split(" ").filter((T) => T.startsWith("col-"));
301
+ if (a.length === 0) {
297
302
  o.isSupportedClass = !1;
298
303
  return;
299
304
  }
300
- let u = r.find((S) => /^col-([1-9]|10|11|12)$/.test(S)), i = r.find((S) => /^col-md-([1-9]|10|11|12)$/.test(S)), p = r.find((S) => /^col-xl-([1-9]|10|11|12)$/.test(S)), m = r.find((S) => /^col-el-([1-9]|10|11|12)$/.test(S));
301
- u = u || "col-12", o.columnInSM = parseInt(u.replace("col-", ""), 10), o.displayWidthInSM = o.columnInSM / 12, o.displayWidthInSM !== 1 && (o.isSupportedClass = !1), i = i || "col-md-" + o.columnInSM, o.columnInMD = parseInt(i.replace("col-md-", ""), 10), o.displayWidthInMD = o.columnInMD / 6, [1, 2].includes(o.displayWidthInMD) || (o.isSupportedClass = !1), p = p || "col-xl-" + o.columnInMD, o.columnInLG = parseInt(p.replace("col-xl-", ""), 10), o.displayWidthInLG = o.columnInLG / 3, [1, 2, 3, 4].includes(o.displayWidthInLG) || (o.isSupportedClass = !1), m = m || "col-el-" + o.columnInLG, o.columnInEL = parseInt(m.replace("col-el-", ""), 10), o.displayWidthInEL = o.columnInEL / 2, [1, 2, 3, 4, 5, 6].includes(o.displayWidthInEL) || (o.isSupportedClass = !1);
305
+ let s = a.find((T) => /^col-([1-9]|10|11|12)$/.test(T)), i = a.find((T) => /^col-md-([1-9]|10|11|12)$/.test(T)), d = a.find((T) => /^col-xl-([1-9]|10|11|12)$/.test(T)), v = a.find((T) => /^col-el-([1-9]|10|11|12)$/.test(T));
306
+ s = s || "col-12", o.columnInSM = parseInt(s.replace("col-", ""), 10), o.displayWidthInSM = o.columnInSM / 12, o.displayWidthInSM !== 1 && (o.isSupportedClass = !1), i = i || "col-md-" + o.columnInSM, o.columnInMD = parseInt(i.replace("col-md-", ""), 10), o.displayWidthInMD = o.columnInMD / 6, [1, 2].includes(o.displayWidthInMD) || (o.isSupportedClass = !1), d = d || "col-xl-" + o.columnInMD, o.columnInLG = parseInt(d.replace("col-xl-", ""), 10), o.displayWidthInLG = o.columnInLG / 3, [1, 2, 3, 4].includes(o.displayWidthInLG) || (o.isSupportedClass = !1), v = v || "col-el-" + o.columnInLG, o.columnInEL = parseInt(v.replace("col-el-", ""), 10), o.displayWidthInEL = o.columnInEL / 2, [1, 2, 3, 4, 5, 6].includes(o.displayWidthInEL) || (o.isSupportedClass = !1);
302
307
  }
303
- function f(d, o, s, r = !1) {
304
- let u = !1;
305
- d.contents.forEach((i) => {
308
+ function m(u, o, p, a = !1) {
309
+ let s = !1;
310
+ u.contents.forEach((i) => {
306
311
  if (i.type === "FieldSet") {
307
- s += 1, f(i, o, s, !0), u = !0;
312
+ p += 1, m(i, o, p, !0), s = !0;
308
313
  return;
309
314
  }
310
- u && (s += 1, u = !1);
311
- const p = i.appearance && i.appearance.class, m = new fn();
312
- p ? l(p, m) : m.isSupportedClass = !1, m.label = i.label || i.id, m.id = i.id, m.group = s, r && (m.fieldSetId = d.id), t === i.id && (e = s), n.set(i.id, i), o.push(m);
315
+ s && (p += 1, s = !1);
316
+ const d = i.appearance && i.appearance.class, v = new fn();
317
+ d ? l(d, v) : v.isSupportedClass = !1, v.label = i.label || i.id, v.id = i.id, v.group = p, a && (v.fieldSetId = u.id), t === i.id && (e = p), n.set(i.id, i), o.push(v);
313
318
  });
314
319
  }
315
- function v(d, o, s, r) {
316
- r = r || d.id;
317
- const u = s.closest(r, "content-container");
318
- if (!u)
320
+ function f(u, o, p, a) {
321
+ a = a || u.id;
322
+ const s = p.closest(a, "content-container");
323
+ if (!s)
319
324
  return { result: !1, message: "只可以在响应式表单组件中调整响应式布局配置" };
320
- if (!u || !u.contents || u.contents.length === 0)
325
+ if (!s || !s.contents || s.contents.length === 0)
321
326
  return { result: !1, message: "Form区域内没有控件,请先添加控件" };
322
- t = d.id, a = [], n.clear();
323
- const i = u.contents[0].type === "FieldSet" ? 0 : 1;
324
- f(u, a, i);
325
- const p = a.find((S) => !S.isSupportedClass);
327
+ t = u.id, r = [], n.clear();
328
+ const i = s.contents[0].type === "FieldSet" ? 0 : 1;
329
+ m(s, r, i);
330
+ const d = r.find((T) => !T.isSupportedClass);
326
331
  return {
327
332
  defaultState: {
328
333
  defaultGroupNumber: e || 1,
329
- model: p ? "customize" : "standard"
334
+ model: d ? "customize" : "standard"
330
335
  },
331
- importData: a
336
+ importData: r
332
337
  };
333
338
  }
334
- function P(d, o, s, r, u) {
335
- u = u || d.id;
336
- const i = r.closest(u, "response-form");
339
+ function C(u, o, p, a, s) {
340
+ s = s || u.id;
341
+ const i = a.closest(s, "response-form");
337
342
  if (!i)
338
343
  return;
339
- const p = [];
340
- return s.forEach((m) => {
344
+ const d = [];
345
+ return p.forEach((v) => {
341
346
  var j;
342
- const S = n.get(m.id), N = S.appearance && S.appearance.class;
347
+ const T = n.get(v.id), N = T.appearance && T.appearance.class;
343
348
  if (N) {
344
- const I = N.split(" ").filter((R) => !R.startsWith("col-")), k = "col-" + m.columnInSM, O = "col-md-" + m.columnInMD, B = "col-xl-" + m.columnInLG, G = "col-el-" + m.columnInEL, L = [k, O, B, G].concat(I);
345
- S.appearance.class = L.join(" ");
349
+ const I = N.split(" ").filter((R) => !R.startsWith("col-")), k = "col-" + v.columnInSM, O = "col-md-" + v.columnInMD, B = "col-xl-" + v.columnInLG, G = "col-el-" + v.columnInEL, D = [k, O, B, G].concat(I);
350
+ T.appearance.class = D.join(" ");
346
351
  }
347
- if (m.fieldSetId) {
348
- const D = i.contents.find((k) => k.id === m.fieldSetId), I = p.find((k) => k.id === m.fieldSetId);
349
- I ? (j = I.contents) == null || j.push(S) : (p.push(D), D.contents = [S]);
352
+ if (v.fieldSetId) {
353
+ const L = i.contents.find((k) => k.id === v.fieldSetId), I = d.find((k) => k.id === v.fieldSetId);
354
+ I ? (j = I.contents) == null || j.push(T) : (d.push(L), L.contents = [T]);
350
355
  } else
351
- p.push(S);
352
- }), i.contents = p, i.id;
356
+ d.push(T);
357
+ }), i.contents = d, i.id;
353
358
  }
354
359
  return {
355
- convertFrom: v,
356
- convertTo: P
360
+ convertFrom: f,
361
+ convertTo: C
357
362
  };
358
363
  }
359
- const le = mn(), vn = {
360
- convertTo: (e, t, n, a, l) => le.convertTo(e, t, n, a, l),
361
- convertFrom: (e, t, n, a) => le.convertFrom(e, t, n, a)
364
+ const se = mn(), vn = {
365
+ convertTo: (e, t, n, r, l) => se.convertTo(e, t, n, r, l),
366
+ convertFrom: (e, t, n, r) => se.convertFrom(e, t, n, r)
362
367
  }, gn = {
363
368
  convertFrom: (e, t, n) => e[t] && e[t].length ? `共 ${e[t].length} 项` : ""
364
369
  }, yn = {
@@ -366,7 +371,7 @@ const le = mn(), vn = {
366
371
  convertTo: (e, t, n) => {
367
372
  e[t] = n;
368
373
  }
369
- }, ne = {}, te = /* @__PURE__ */ new Map([
374
+ }, re = {}, oe = /* @__PURE__ */ new Map([
370
375
  ["/converter/appearance.converter", rn],
371
376
  ["/converter/buttons.converter", an],
372
377
  ["/converter/property-editor.converter", ln],
@@ -409,57 +414,57 @@ function Fn(e, t, n) {
409
414
  function Sn(e, t, n) {
410
415
  return e.includes("readonly") && t.readonly !== void 0 ? typeof t.visible == "boolean" ? () => !!t.visible : me(t.readonly, n) : () => !1;
411
416
  }
412
- function wn(e, t) {
417
+ function Tn(e, t) {
413
418
  const n = e.$converter || t;
414
- return typeof n == "string" && n && te.has(n) ? te.get(n) || null : n || null;
419
+ return typeof n == "string" && n && oe.has(n) ? oe.get(n) || null : n || null;
415
420
  }
416
- function oe(e, t, n, a, l, f = "", v = "") {
417
- return Object.keys(e).map((d) => {
418
- const o = C(1), s = d, r = e[d], u = Object.keys(r), i = r.title, p = r.type, m = hn.get(p) || { type: "input-group", enableClear: !1 }, S = r.editor ? Object.assign({}, m, r.editor) : m, N = Fn(u, r, t), j = Sn(u, r, t), D = r.type === "cascade" ? oe(r.properties, t, n, a, l, f, v) : [], I = !0;
419
- let k = wn(r, v);
421
+ function ae(e, t, n, r, l, m = "", f = "") {
422
+ return Object.keys(e).map((u) => {
423
+ const o = F(1), p = u, a = e[u], s = Object.keys(a), i = a.title, d = a.type, v = hn.get(d) || { type: "input-group", enableClear: !1 }, T = a.editor ? Object.assign({}, v, a.editor) : v, N = Fn(s, a, t), j = Sn(s, a, t), L = a.type === "cascade" ? ae(a.properties, t, n, r, l, m, f) : [], I = !0;
424
+ let k = Tn(a, f);
420
425
  const O = E({
421
426
  get() {
422
427
  if (o.value) {
423
- if (["class", "style"].find((R) => R == s) && !k && (k = te.get("/converter/appearance.converter") || null), k && k.convertFrom)
424
- return k.convertFrom(n, d, l, f);
425
- const L = n[d];
426
- return typeof L == "string" && L == "" ? r.defaultValue || "" : L;
428
+ if (["class", "style"].find((R) => R == p) && !k && (k = oe.get("/converter/appearance.converter") || null), k && k.convertFrom)
429
+ return k.convertFrom(n, u, l, m);
430
+ const D = n[u];
431
+ return typeof D == "string" && D == "" ? a.defaultValue || "" : D;
427
432
  }
428
433
  return null;
429
434
  },
430
- set(L) {
431
- o.value += 1, k && k.convertTo ? (k.convertTo(a, d, L, l, f), k.convertTo(n, d, L, l, f)) : (a[d] = L, n[d] = L);
435
+ set(D) {
436
+ o.value += 1, k && k.convertTo ? (k.convertTo(r, u, D, l, m), k.convertTo(n, u, D, l, m)) : (r[u] = D, n[u] = D);
432
437
  }
433
- }), B = r.refreshPanelAfterChanged, G = { propertyID: s, propertyName: i, propertyType: p, propertyValue: O, editor: S, visible: N, readonly: j, cascadeConfig: D, hideCascadeTitle: I, refreshPanelAfterChanged: B };
434
- return t[s] = G, G;
438
+ }), B = a.refreshPanelAfterChanged, G = { propertyID: p, propertyName: i, propertyType: d, propertyValue: O, editor: T, visible: N, readonly: j, cascadeConfig: L, hideCascadeTitle: I, refreshPanelAfterChanged: B };
439
+ return t[p] = G, G;
435
440
  });
436
441
  }
437
- function Tn(e, t, n, a, l = "") {
438
- const f = t.$ref.schema, v = t.$ref.converter, P = n[f], d = P.type, o = fe(P), s = {}, r = ne[d];
439
- if (r && r.categories) {
440
- const u = r.categories[e], i = u == null ? void 0 : u.title;
441
- v && Object.keys(u.properties).forEach((S) => {
442
- u.properties[S].$converter = v;
442
+ function wn(e, t, n, r, l = "") {
443
+ const m = t.$ref.schema, f = t.$ref.converter, C = n[m], u = C.type, o = fe(C), p = {}, a = re[u];
444
+ if (a && a.categories) {
445
+ const s = a.categories[e], i = s == null ? void 0 : s.title;
446
+ f && Object.keys(s.properties).forEach((T) => {
447
+ s.properties[T].$converter = f;
443
448
  });
444
- const p = (u == null ? void 0 : u.properties) || {}, m = oe(p, s, o, P, a, l);
445
- return { categoryId: e, categoryName: i, properties: m };
449
+ const d = (s == null ? void 0 : s.properties) || {}, v = ae(d, p, o, C, r, l);
450
+ return { categoryId: e, categoryName: i, properties: v };
446
451
  }
447
452
  return { categoryId: e, categoryName: "", properties: [] };
448
453
  }
449
- function ee(e, t, n, a, l) {
450
- let f = e.type;
451
- const v = fe(e), P = {};
452
- let d = l || ne[f];
453
- if (Object.keys(d).length === 0 && n && n.getPropConfig && (d = n.getPropConfig(a)), d && d.categories) {
454
+ function ee(e, t, n, r, l) {
455
+ let m = e.type;
456
+ const f = fe(e), C = {};
457
+ let u = l || re[m];
458
+ if (Object.keys(u).length === 0 && n && n.getPropConfig && (u = n.getPropConfig(r)), u && u.categories) {
454
459
  const o = [];
455
- return Object.keys(d.categories).map((s) => {
456
- const r = d.categories[s];
457
- if (r.$ref) {
458
- o.push(Tn(s, r, e, t, a));
460
+ return Object.keys(u.categories).map((p) => {
461
+ const a = u.categories[p];
462
+ if (a.$ref) {
463
+ o.push(wn(p, a, e, t, r));
459
464
  return;
460
465
  }
461
- const u = r == null ? void 0 : r.title, i = r == null ? void 0 : r.tabId, p = r == null ? void 0 : r.tabName, m = r == null ? void 0 : r.hide, S = r == null ? void 0 : r.hideTitle, N = oe(r.properties || {}, P, v, e, t, a, r.$converter), j = r.setPropertyRelates;
462
- o.push({ categoryId: s, categoryName: u, tabId: i, tabName: p, hide: m, properties: N, hideTitle: S, setPropertyRelates: j });
466
+ const s = a == null ? void 0 : a.title, i = a == null ? void 0 : a.tabId, d = a == null ? void 0 : a.tabName, v = a == null ? void 0 : a.hide, T = a == null ? void 0 : a.hideTitle, N = ae(a.properties || {}, C, f, e, t, r, a.$converter), j = a.setPropertyRelates;
467
+ o.push({ categoryId: p, categoryName: s, tabId: i, tabName: d, hide: v, properties: N, hideTitle: T, setPropertyRelates: j });
463
468
  }), o;
464
469
  }
465
470
  return [];
@@ -477,10 +482,10 @@ const Pn = {
477
482
  elementConfig: { type: Object, default: {} },
478
483
  category: { type: Object, default: {} }
479
484
  };
480
- function ve(e, t, n = /* @__PURE__ */ new Map(), a = (v, P, d) => P, l = {}, f = (v) => v) {
481
- return ce[t.title] = t, tn[t.title] = a, ne[t.title] = l, bn[t.title] = f, (v = {}) => {
482
- const P = on(v, t, n), d = Object.keys(e).reduce((o, s) => (o[s] = e[s].default, o), {});
483
- return Object.assign(d, P);
485
+ function ve(e, t, n = /* @__PURE__ */ new Map(), r = (f, C, u) => C, l = {}, m = (f) => f) {
486
+ return te[t.title] = t, tn[t.title] = r, re[t.title] = l, bn[t.title] = m, (f = {}) => {
487
+ const C = on(f, t, n), u = Object.keys(e).reduce((o, p) => (o[p] = e[p].default, o), {});
488
+ return Object.assign(u, C);
484
489
  };
485
490
  }
486
491
  function ge(e, t) {
@@ -529,17 +534,17 @@ const xn = /* @__PURE__ */ new Map([
529
534
  description: "",
530
535
  type: "number"
531
536
  }
532
- }, Dn = [
537
+ }, Ln = [
533
538
  "id",
534
539
  "type"
535
- ], Ln = {
540
+ ], Dn = {
536
541
  $schema: In,
537
542
  $id: En,
538
543
  title: kn,
539
544
  description: On,
540
545
  type: Mn,
541
546
  properties: Nn,
542
- required: Dn
547
+ required: Ln
543
548
  }, ye = {
544
549
  id: { type: String, default: "" },
545
550
  customClass: { type: String, default: "" },
@@ -556,7 +561,7 @@ const xn = /* @__PURE__ */ new Map([
556
561
  };
557
562
  ve(
558
563
  ye,
559
- Ln,
564
+ Dn,
560
565
  xn,
561
566
  void 0
562
567
  );
@@ -570,17 +575,17 @@ const jn = {
570
575
  props: jn,
571
576
  emits: [],
572
577
  setup(e, t) {
573
- const n = C(e.title || e.text), a = C(e.required), l = C(e.text);
578
+ const n = F(e.title || e.text), r = F(e.required), l = F(e.text);
574
579
  return V(() => e.text, () => {
575
580
  l.value = e.text;
576
- }), V(() => e.required, (f, v) => {
577
- f !== v && (a.value = f);
581
+ }), V(() => e.required, (m, f) => {
582
+ m !== f && (r.value = m);
578
583
  }), () => c("label", {
579
584
  class: "col-form-label",
580
585
  title: n.value
581
- }, [a.value && c("span", {
586
+ }, [r.value && c("span", {
582
587
  class: "farris-label-info text-danger"
583
- }, [ue("*")]), c("span", {
588
+ }, [de("*")]), c("span", {
584
589
  class: "farris-label-text"
585
590
  }, [l.value])]);
586
591
  }
@@ -871,50 +876,50 @@ const Gn = "https://json-schema.org/draft/2020-12/schema", Rn = "https://farris-
871
876
  updateOn: { type: String, default: "blur" }
872
877
  };
873
878
  ve(be, zn, $n, Vn);
874
- function Xn(e, t, n, a) {
875
- const l = C(e.disabled), f = C(!1), v = C("text"), P = C(e.showBorder), d = C(e.textAlign), o = C(e.updateOn), s = E(() => e.editable || !e.readonly), r = E(() => e.editable && !e.disabled && !e.readonly), u = E(() => !e.disabled && f.value), i = E(() => n.value === "" || n.value === null || n.value === void 0), p = E(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), m = E(() => e.readonly || !e.editable), S = E(() => e.enableTitle ? n.value : ""), N = E(() => ({
879
+ function Xn(e, t, n, r) {
880
+ const l = F(e.disabled), m = F(!1), f = F("text"), C = F(e.showBorder), u = F(e.textAlign), o = F(e.updateOn), p = E(() => e.editable || !e.readonly), a = E(() => e.editable && !e.disabled && !e.readonly), s = E(() => !e.disabled && m.value), i = E(() => n.value === "" || n.value === null || n.value === void 0), d = E(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), v = E(() => e.readonly || !e.editable), T = E(() => e.enableTitle ? n.value : ""), N = E(() => ({
876
881
  "form-control": !0,
877
882
  "f-utils-fill": !0,
878
- "text-left": d.value === "left",
879
- "text-center": d.value === "center",
880
- "text-right": d.value === "right"
883
+ "text-left": u.value === "left",
884
+ "text-center": u.value === "center",
885
+ "text-right": u.value === "right"
881
886
  })), j = E(() => {
882
887
  const x = {
883
888
  "f-cmp-inputgroup": !0,
884
889
  "input-group": !0,
885
890
  "f-state-disable": l.value,
886
- "f-state-editable": r.value,
887
- "f-state-readonly": m.value,
888
- "f-state-focus": u.value
891
+ "f-state-editable": a.value,
892
+ "f-state-readonly": v.value,
893
+ "f-state-focus": s.value
889
894
  };
890
895
  return (e.customClass || "").split(" ").reduce((q, J) => (q[J] = !0, q), x), x;
891
- }), D = E(() => P.value ? "" : "border-width : 0 ");
896
+ }), L = E(() => C.value ? "" : "border-width : 0 ");
892
897
  function I(x, $ = !0) {
893
- n.value = x, a.value !== x && (a.value = x), $ && t.emit("change", x), t.emit("update:modelValue", x), t.emit("update:value", x);
898
+ n.value = x, r.value !== x && (r.value = x), $ && t.emit("change", x), t.emit("update:modelValue", x), t.emit("update:value", x);
894
899
  }
895
900
  V(
896
901
  () => e.modelValue,
897
902
  (x, $) => {
898
- x !== $ && (n.value = x, a.value = x);
903
+ x !== $ && (n.value = x, r.value = x);
899
904
  }
900
905
  ), V(() => e.disabled, (x, $) => {
901
906
  x !== $ && (l.value = x);
902
907
  });
903
908
  function k(x) {
904
- return f.value = !1, t.emit("blur", x), x.stopPropagation(), !1;
909
+ return m.value = !1, t.emit("blur", x), x.stopPropagation(), !1;
905
910
  }
906
911
  function O(x) {
907
912
  t.emit("click", x);
908
913
  }
909
914
  function B(x) {
910
- e.disabled || (P.value && (f.value = !0), s.value && t.emit("focus", x));
915
+ e.disabled || (C.value && (m.value = !0), p.value && t.emit("focus", x));
911
916
  }
912
917
  function G(x) {
913
918
  t.emit("input", x.target.value);
914
919
  const $ = x.target.value;
915
- a.value = $, o.value === "input" && (t.emit("update:modelValue", $), t.emit("update:value", $));
920
+ r.value = $, o.value === "input" && (t.emit("update:modelValue", $), t.emit("update:value", $));
916
921
  }
917
- function L(x) {
922
+ function D(x) {
918
923
  t.emit("keydown", x);
919
924
  }
920
925
  function R(x) {
@@ -932,62 +937,62 @@ function Xn(e, t, n, a) {
932
937
  return {
933
938
  changeTextBoxValue: I,
934
939
  disabled: l,
935
- displayText: a,
936
- editable: r,
937
- hasFocused: u,
940
+ displayText: r,
941
+ editable: a,
942
+ hasFocused: s,
938
943
  inputGroupClass: j,
939
- inputType: v,
944
+ inputType: f,
940
945
  isEmpty: i,
941
946
  modelValue: n,
942
- readonly: m,
947
+ readonly: v,
943
948
  onBlur: k,
944
949
  onClick: O,
945
950
  onFocus: B,
946
951
  onInput: G,
947
- onKeydown: L,
952
+ onKeydown: D,
948
953
  onKeyup: R,
949
954
  onMousedown: _,
950
955
  onTextBoxValueChange: z,
951
- placeholder: p,
956
+ placeholder: d,
952
957
  textBoxClass: N,
953
- textBoxTitle: S,
954
- inputGroupStyle: D
958
+ textBoxTitle: T,
959
+ inputGroupStyle: L
955
960
  };
956
961
  }
957
962
  function Qn(e, t, n) {
958
- const a = C(!1), l = E(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: f, displayText: v, hasFocused: P, isEmpty: d } = n;
959
- function o(m) {
960
- a.value = m;
963
+ const r = F(!1), l = E(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: m, displayText: f, hasFocused: C, isEmpty: u } = n;
964
+ function o(v) {
965
+ r.value = v;
961
966
  }
962
- V(v, () => {
963
- P != null && P.value ? o(!!(v != null && v.value)) : o(!1);
967
+ V(f, () => {
968
+ C != null && C.value ? o(!!(f != null && f.value)) : o(!1);
964
969
  });
965
- const s = E(() => ({
970
+ const p = E(() => ({
966
971
  "input-group-text": !0,
967
972
  "input-group-clear": !0
968
- })), r = E(() => ({
973
+ })), a = E(() => ({
969
974
  width: "24px",
970
- display: a.value ? "flex" : "none"
975
+ display: r.value ? "flex" : "none"
971
976
  }));
972
- function u(m) {
973
- m.stopPropagation(), l.value && (f("", !0), o(!a.value), t.emit("clear"));
977
+ function s(v) {
978
+ v.stopPropagation(), l.value && (m("", !0), o(!r.value), t.emit("clear"));
974
979
  }
975
- function i(m) {
976
- l.value && !d.value && o(!0);
980
+ function i(v) {
981
+ l.value && !u.value && o(!0);
977
982
  }
978
- function p(m) {
983
+ function d(v) {
979
984
  l.value && o(!1);
980
985
  }
981
- return { clearButtonClass: s, clearButtonStyle: r, hasShownClearButton: a, onClearValue: u, onMouseEnter: i, onMouseLeave: p, shouldShowClearButton: l };
986
+ return { clearButtonClass: p, clearButtonStyle: a, hasShownClearButton: r, onClearValue: s, onMouseEnter: i, onMouseLeave: d, shouldShowClearButton: l };
982
987
  }
983
988
  const Zn = ["moz", "ms", "webkit"];
984
989
  function Jn() {
985
990
  let e = 0;
986
991
  return (t) => {
987
- const n = (/* @__PURE__ */ new Date()).getTime(), a = Math.max(0, 16 - (n - e)), l = setTimeout(() => {
988
- t(n + a);
989
- }, a);
990
- return e = n + a, l;
992
+ const n = (/* @__PURE__ */ new Date()).getTime(), r = Math.max(0, 16 - (n - e)), l = setTimeout(() => {
993
+ t(n + r);
994
+ }, r);
995
+ return e = n + r, l;
991
996
  };
992
997
  }
993
998
  function Yn() {
@@ -1000,178 +1005,178 @@ function Yn() {
1000
1005
  }
1001
1006
  Yn();
1002
1007
  function Kn(e, t) {
1003
- const n = C(e.groupText), a = E(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), l = E(() => e.enableClear || !!e.groupText);
1008
+ const n = F(e.groupText), r = E(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), l = E(() => e.enableClear || !!e.groupText);
1004
1009
  return { appendedButtonClass: E(() => ({
1005
1010
  "input-group-append": !0,
1006
- "append-force-show": a.value
1011
+ "append-force-show": r.value
1007
1012
  })), appendedContent: n, shouldShowAppendedButton: l };
1008
1013
  }
1009
- function eo(e, t, n, a) {
1010
- const { appendedContent: l } = a, f = C(e.enableViewPassword), v = E(() => e.type === "password"), P = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', d = '<span class="f-icon f-icon-eye"></span>', o = C(!1);
1011
- V(() => [e.readonly, e.disabled], ([u, i]) => {
1012
- v.value && (n.value = u || i ? "password" : n.value, l.value = u || i ? d : l.value);
1014
+ function eo(e, t, n, r) {
1015
+ const { appendedContent: l } = r, m = F(e.enableViewPassword), f = E(() => e.type === "password"), C = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', u = '<span class="f-icon f-icon-eye"></span>', o = F(!1);
1016
+ V(() => [e.readonly, e.disabled], ([s, i]) => {
1017
+ f.value && (n.value = s || i ? "password" : n.value, l.value = s || i ? u : l.value);
1013
1018
  });
1014
- function s() {
1015
- return o.value = !o.value, n.value = o.value ? "text" : "password", l.value = o.value ? P : d, !1;
1019
+ function p() {
1020
+ return o.value = !o.value, n.value = o.value ? "text" : "password", l.value = o.value ? C : u, !1;
1016
1021
  }
1017
- function r() {
1018
- n.value = v.value ? "password" : "text", l.value = v.value ? f.value ? d : "" : l.value;
1022
+ function a() {
1023
+ n.value = f.value ? "password" : "text", l.value = f.value ? m.value ? u : "" : l.value;
1019
1024
  }
1020
- return r(), { isPassword: v, onClickAppendedButton: s };
1025
+ return a(), { isPassword: f, onClickAppendedButton: p };
1021
1026
  }
1022
1027
  function to(e, t, n) {
1023
- const a = C(), {
1028
+ const r = F(), {
1024
1029
  onBlurTextBox: l,
1025
- onFocusTextBox: f,
1026
- onInput: v,
1027
- onKeyDown: P,
1028
- textBoxValue: d
1029
- } = n, o = E(() => e.disabled || e.readonly || !e.editable ? "" : e.placeholder), s = E(() => ({
1030
+ onFocusTextBox: m,
1031
+ onInput: f,
1032
+ onKeyDown: C,
1033
+ textBoxValue: u
1034
+ } = n, o = E(() => e.disabled || e.readonly || !e.editable ? "" : e.placeholder), p = E(() => ({
1030
1035
  "form-control": !0,
1031
1036
  "f-utils-fill": !0
1032
- })), r = E(() => ({
1037
+ })), a = E(() => ({
1033
1038
  "text-align": e.textAlign
1034
1039
  }));
1035
- function u(m) {
1036
- m.stopPropagation();
1040
+ function s(v) {
1041
+ v.stopPropagation();
1037
1042
  }
1038
1043
  function i() {
1039
1044
  e.selectOnCreated, e.focusOnCreated;
1040
1045
  }
1041
- async function p(m) {
1042
- f(m), await ae, i();
1046
+ async function d(v) {
1047
+ m(v), await ie, i();
1043
1048
  }
1044
1049
  return H(async () => {
1045
- await ae, i();
1050
+ await ie, i();
1046
1051
  }), () => c("input", {
1047
- ref: a,
1048
- class: s.value,
1049
- style: r.value,
1052
+ ref: r,
1053
+ class: p.value,
1054
+ style: a.value,
1050
1055
  type: "text",
1051
- value: d.value,
1056
+ value: u.value,
1052
1057
  disabled: e.disabled,
1053
1058
  readonly: e.readonly || !e.editable,
1054
1059
  placeholder: o.value,
1055
1060
  onBlur: l,
1056
- onChange: u,
1057
- onFocus: p,
1058
- onInput: v,
1059
- onKeydown: P
1061
+ onChange: s,
1062
+ onFocus: d,
1063
+ onInput: f,
1064
+ onKeydown: C
1060
1065
  }, null);
1061
1066
  }
1062
1067
  function no(e, t, n) {
1063
1068
  const {
1064
- canDownward: a,
1069
+ canDownward: r,
1065
1070
  canUpward: l,
1066
- onClickDownButton: f,
1067
- onClickUpButton: v
1068
- } = n, P = E(() => ({
1071
+ onClickDownButton: m,
1072
+ onClickUpButton: f
1073
+ } = n, C = E(() => ({
1069
1074
  "input-group-append": !0,
1070
1075
  "btn-group": !0,
1071
1076
  "btn-group-number": !0
1072
- })), d = E(() => ({
1077
+ })), u = E(() => ({
1073
1078
  btn: !0,
1074
1079
  "btn-secondary": !0,
1075
1080
  "btn-number-flag": !0
1076
1081
  })), o = E(() => ({
1077
1082
  cursor: l() ? "pointer" : "not-allowed",
1078
1083
  "margin-left": 0
1079
- })), s = E(() => ({
1080
- cursor: a() ? "pointer" : "not-allowed",
1084
+ })), p = E(() => ({
1085
+ cursor: r() ? "pointer" : "not-allowed",
1081
1086
  "margin-left": 0
1082
1087
  }));
1083
1088
  return () => c("div", {
1084
- class: P.value
1089
+ class: C.value
1085
1090
  }, [c("button", {
1086
1091
  title: "upButton",
1087
- class: d.value,
1092
+ class: u.value,
1088
1093
  style: o.value,
1089
- onClick: v,
1094
+ onClick: f,
1090
1095
  disabled: !l()
1091
1096
  }, [c("span", {
1092
1097
  class: "f-icon f-icon-arrow-chevron-up number-arrow-chevron"
1093
1098
  }, null)]), c("button", {
1094
1099
  title: "downButton",
1095
- class: d.value,
1096
- style: s.value,
1097
- onClick: f,
1098
- disabled: !a()
1100
+ class: u.value,
1101
+ style: p.value,
1102
+ onClick: m,
1103
+ disabled: !r()
1099
1104
  }, [c("span", {
1100
1105
  class: "f-icon f-icon-arrow-chevron-down number-arrow-chevron"
1101
1106
  }, null)])]);
1102
1107
  }
1103
1108
  function oo(e, t) {
1104
- const n = Ue(e, t), a = _e(e, t, n), l = ze(e, t, a, n), f = Xe(e, t, a, n, l), v = no(e, t, l), {
1105
- displayValue: P,
1106
- modelValue: d,
1109
+ const n = Ue(e, t), r = _e(e, t, n), l = ze(e, t, r, n), m = Xe(e, t, r, n, l), f = no(e, t, l), {
1110
+ displayValue: C,
1111
+ modelValue: u,
1107
1112
  getRealValue: o
1108
- } = n, s = to(e, t, f), {
1109
- format: r
1110
- } = a, {
1111
- isFocus: u
1112
- } = f, i = E(() => !e.disabled && !e.readonly);
1113
+ } = n, p = to(e, t, m), {
1114
+ format: a
1115
+ } = r, {
1116
+ isFocus: s
1117
+ } = m, i = E(() => !e.disabled && !e.readonly);
1113
1118
  return H(() => {
1114
- const p = o(e.modelValue);
1115
- P.value = r(p);
1116
- }), V(() => [e.value], ([p]) => {
1117
- const m = o(p);
1118
- d.value = m, P.value = r(m);
1119
- }), V(() => [e.modelValue], ([p]) => {
1120
- p !== d.value && (d.value = p, !u.value && (P.value = r(o(p))));
1119
+ const d = o(e.modelValue);
1120
+ C.value = a(d);
1121
+ }), V(() => [e.value], ([d]) => {
1122
+ const v = o(d);
1123
+ u.value = v, C.value = a(v);
1124
+ }), V(() => [e.modelValue], ([d]) => {
1125
+ d !== u.value && (u.value = d, !s.value && (C.value = a(o(d))));
1121
1126
  }), V(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
1122
- P.value = r(d.value);
1127
+ C.value = a(u.value);
1123
1128
  }), () => c("div", {
1124
1129
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
1125
- }, [s(), i.value && v()]);
1130
+ }, [p(), i.value && f()]);
1126
1131
  }
1127
- function ro(e, t, n, a) {
1128
- const l = C(), f = C(e.autocomplete), v = C(e.enableTitle), {
1129
- isPassword: P
1130
- } = n, d = C(e.minLength), o = C(e.maxLength), s = C(e.tabIndex), {
1131
- disabled: r,
1132
- displayText: u,
1132
+ function ro(e, t, n, r) {
1133
+ const l = F(), m = F(e.autocomplete), f = F(e.enableTitle), {
1134
+ isPassword: C
1135
+ } = n, u = F(e.minLength), o = F(e.maxLength), p = F(e.tabIndex), {
1136
+ disabled: a,
1137
+ displayText: s,
1133
1138
  inputType: i,
1134
- onBlur: p,
1135
- onFocus: m,
1136
- onInput: S,
1139
+ onBlur: d,
1140
+ onFocus: v,
1141
+ onInput: T,
1137
1142
  onClick: N,
1138
1143
  onKeydown: j,
1139
- onKeyup: D,
1144
+ onKeyup: L,
1140
1145
  onMousedown: I,
1141
1146
  onTextBoxValueChange: k,
1142
1147
  readonly: O,
1143
1148
  placeholder: B,
1144
1149
  textBoxClass: G,
1145
- textBoxTitle: L
1146
- } = a;
1150
+ textBoxTitle: D
1151
+ } = r;
1147
1152
  return H(() => {
1148
1153
  e.selectOnCreated, e.focusOnCreated;
1149
1154
  }), () => c("input", {
1150
1155
  ref: l,
1151
1156
  name: "input-group-value",
1152
- autocomplete: f.value,
1157
+ autocomplete: m.value,
1153
1158
  class: G.value,
1154
- disabled: r == null ? void 0 : r.value,
1159
+ disabled: a == null ? void 0 : a.value,
1155
1160
  maxlength: o.value,
1156
- minlength: d.value,
1161
+ minlength: u.value,
1157
1162
  placeholder: B.value,
1158
1163
  readonly: O == null ? void 0 : O.value,
1159
- tabindex: s.value,
1160
- title: v.value && !P.value ? L.value : "",
1164
+ tabindex: p.value,
1165
+ title: f.value && !C.value ? D.value : "",
1161
1166
  type: i.value,
1162
- value: u == null ? void 0 : u.value,
1163
- onBlur: p,
1167
+ value: s == null ? void 0 : s.value,
1168
+ onBlur: d,
1164
1169
  onClick: N,
1165
1170
  onChange: k,
1166
- onFocus: m,
1167
- onInput: S,
1171
+ onFocus: v,
1172
+ onInput: T,
1168
1173
  onKeydown: j,
1169
- onKeyup: D,
1174
+ onKeyup: L,
1170
1175
  onMousedown: I
1171
1176
  }, null);
1172
1177
  }
1173
1178
  function ao(e, t) {
1174
- const n = E(() => e.useExtendInfo && !!e.extendInfo), a = Ae({
1179
+ const n = E(() => e.useExtendInfo && !!e.extendInfo), r = Ae({
1175
1180
  content: e.extendInfo
1176
1181
  });
1177
1182
  function l() {
@@ -1184,46 +1189,46 @@ function ao(e, t) {
1184
1189
  class: "f-icon f-icon-info-circle"
1185
1190
  }, null), c("b", {
1186
1191
  class: "tips-arrow"
1187
- }, null)]), [[Ve("tooltip"), a]]);
1192
+ }, null)]), [[Ve("tooltip"), r]]);
1188
1193
  }
1189
- function lo(e, t, n, a, l) {
1194
+ function lo(e, t, n, r, l) {
1190
1195
  const {
1191
- appendedButtonClass: f,
1192
- appendedContent: v
1193
- } = n, P = E(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), d = E(() => v.value && !t.slots.groupTextTemplate), o = E(() => !!t.slots.groupTextTemplate), {
1194
- clearButtonClass: s,
1195
- clearButtonStyle: r,
1196
- onClearValue: u,
1196
+ appendedButtonClass: m,
1197
+ appendedContent: f
1198
+ } = n, C = E(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), u = E(() => f.value && !t.slots.groupTextTemplate), o = E(() => !!t.slots.groupTextTemplate), {
1199
+ clearButtonClass: p,
1200
+ clearButtonStyle: a,
1201
+ onClearValue: s,
1197
1202
  shouldShowClearButton: i
1198
- } = a;
1199
- function p() {
1203
+ } = r;
1204
+ function d() {
1200
1205
  return c("span", {
1201
1206
  id: "clearIcon",
1202
- class: s.value,
1203
- style: r.value,
1204
- onClick: (B) => u(B)
1207
+ class: p.value,
1208
+ style: a.value,
1209
+ onClick: (B) => s(B)
1205
1210
  }, [c("i", {
1206
1211
  class: "f-icon modal_close"
1207
1212
  }, null)]);
1208
1213
  }
1209
- function m(B) {
1214
+ function v(B) {
1210
1215
  t.emit("iconMouseEnter", B);
1211
1216
  }
1212
- function S(B) {
1217
+ function T(B) {
1213
1218
  t.emit("iconMouseLeave", B);
1214
1219
  }
1215
1220
  function N(B) {
1216
- P.value && t.emit("clickHandle", {
1221
+ C.value && t.emit("clickHandle", {
1217
1222
  originalEvent: B
1218
1223
  }), B.stopPropagation();
1219
1224
  }
1220
1225
  const j = e.type === "password" ? l.onClickAppendedButton : N;
1221
- function D() {
1226
+ function L() {
1222
1227
  return c("span", {
1223
1228
  class: "input-group-text",
1224
- onMouseenter: (B) => m(B),
1225
- onMouseleave: (B) => S(B),
1226
- innerHTML: v.value,
1229
+ onMouseenter: (B) => v(B),
1230
+ onMouseleave: (B) => T(B),
1231
+ innerHTML: f.value,
1227
1232
  onClick: (B) => j(B)
1228
1233
  }, null);
1229
1234
  }
@@ -1231,54 +1236,54 @@ function lo(e, t, n, a, l) {
1231
1236
  return t.slots.groupTextTemplate && t.slots.groupTextTemplate();
1232
1237
  }
1233
1238
  function k() {
1234
- return d.value ? D : o.value ? I : "";
1239
+ return u.value ? L : o.value ? I : "";
1235
1240
  }
1236
1241
  const O = k();
1237
1242
  return () => c("div", {
1238
- class: f.value
1239
- }, [i.value && p(), O && O()]);
1243
+ class: m.value
1244
+ }, [i.value && d(), O && O()]);
1240
1245
  }
1241
1246
  const io = /* @__PURE__ */ U({
1242
1247
  name: "FInputGroup",
1243
1248
  props: be,
1244
1249
  emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo", "valueChange"],
1245
1250
  setup(e, t) {
1246
- const n = C(e.modelValue), a = C(e.modelValue), l = Xn(e, t, n, a), {
1247
- inputGroupClass: f,
1248
- inputType: v,
1249
- inputGroupStyle: P
1250
- } = l, d = Kn(e), {
1251
+ const n = F(e.modelValue), r = F(e.modelValue), l = Xn(e, t, n, r), {
1252
+ inputGroupClass: m,
1253
+ inputType: f,
1254
+ inputGroupStyle: C
1255
+ } = l, u = Kn(e), {
1251
1256
  shouldShowAppendedButton: o
1252
- } = d, s = Qn(e, t, l), {
1253
- onMouseEnter: r,
1254
- onMouseLeave: u
1255
- } = s, i = eo(e, t, v, d), p = oo(e, t), m = ro(e, t, i, l), S = lo(e, t, d, s, i), N = ao(e, t), j = E(() => e.type === "number");
1257
+ } = u, p = Qn(e, t, l), {
1258
+ onMouseEnter: a,
1259
+ onMouseLeave: s
1260
+ } = p, i = eo(e, t, f, u), d = oo(e, t), v = ro(e, t, i, l), T = lo(e, t, u, p, i), N = ao(e, t), j = E(() => e.type === "number");
1256
1261
  V(() => [e.value], ([I]) => {
1257
- n.value = I, a.value = I;
1262
+ n.value = I, r.value = I;
1258
1263
  }), V(() => [e.modelValue], ([I]) => {
1259
- n.value = I, a.value = I;
1264
+ n.value = I, r.value = I;
1260
1265
  }), H(() => {
1261
- e.value && (n.value = e.value, a.value = e.value);
1266
+ e.value && (n.value = e.value, r.value = e.value);
1262
1267
  });
1263
- const D = () => c(Z, null, [c("div", {
1268
+ const L = () => c(Z, null, [c("div", {
1264
1269
  id: "inputGroup",
1265
- class: f.value,
1266
- style: P.value,
1267
- onMouseenter: r,
1268
- onMouseleave: u
1269
- }, [j.value ? p() : c(Z, null, [N(), m(), o.value && S()])])]);
1270
- return () => D();
1270
+ class: m.value,
1271
+ style: C.value,
1272
+ onMouseenter: a,
1273
+ onMouseleave: s
1274
+ }, [j.value ? d() : c(Z, null, [N(), v(), o.value && T()])])]);
1275
+ return () => L();
1271
1276
  }
1272
1277
  }), g = {}, y = {}, b = {}, h = {};
1273
- let ie = !1;
1278
+ let ue = !1;
1274
1279
  function so() {
1275
- ie || (ie = !0, Ze.register(g, y, b, h), Qe.register(g, y, b, h), Je.register(g, y, b, h), Ye.register(g, y, b, h), Ke.register(g, y, b, h), et.register(g, y, b, h), tt.register(g, y, b, h), nt.register(g, y, b, h), ot.register(g, y, b, h), rt.register(g, y, b, h), lt.register(g, y, b, h), at.register(g, y, b, h), it.register(g, y, b, h), st.register(g, y, b, h), ut.register(g, y, b, h), ct.register(g, y, b, h), dt.register(g, y, b, h), pt.register(g, y, b, h), ft.register(g, y, b, h), mt.register(g, y, b, h), vt.register(g, y, b, h), gt.register(g, y, b, h), bt.register(g, y, b, h), yt.register(g, y, b, h), ht.register(g, y, b, h), Ct.register(g, y, b, h), Ft.register(g, y, b, h), St.register(g, y, b, h), He.register(g, y, b, h), wt.register(g, y, b, h), Tt.register(g, y, b, h), Pt.register(g, y, b, h), Bt.register(g, y, b, h), xt.register(g, y, b, h), It.register(g, y, b, h), Et.register(g, y, b, h), kt.register(g, y, b, h), Mt.register(g, y, b, h), Nt.register(g, y, b, h), Ot.register(g, y, b, h), Jt.register(g, y, b), Dt.register(g, y, b, h), Lt.register(g, y, b, h), jt.register(g, y, b, h), At.register(g, y, b, h), $t.register(g, y, b, h), Vt.register(g, y, b, h), Gt.register(g, y, b, h), Rt.register(g, y, b, h), Wt.register(g, y, b, h), qt.register(g, y, b, h), Ht.register(g, y, b, h), Ut.register(g, y, b, h), zt.register(g, y, b, h), _t.register(g, y, b, h), Xt.register(g, y, b, h), Qt.register(g, y, b, h), Zt.register(g, y, b, h), Yt.register(g, y, b, h));
1280
+ ue || (ue = !0, Ze.register(g, y, b, h), Qe.register(g, y, b, h), Je.register(g, y, b, h), Ye.register(g, y, b, h), Ke.register(g, y, b, h), et.register(g, y, b, h), tt.register(g, y, b, h), nt.register(g, y, b, h), ot.register(g, y, b, h), rt.register(g, y, b, h), lt.register(g, y, b, h), at.register(g, y, b, h), it.register(g, y, b, h), st.register(g, y, b, h), ut.register(g, y, b, h), ct.register(g, y, b, h), dt.register(g, y, b, h), pt.register(g, y, b, h), ft.register(g, y, b, h), mt.register(g, y, b, h), vt.register(g, y, b, h), gt.register(g, y, b, h), bt.register(g, y, b, h), yt.register(g, y, b, h), ht.register(g, y, b, h), Ct.register(g, y, b, h), Ft.register(g, y, b, h), St.register(g, y, b, h), He.register(g, y, b, h), Tt.register(g, y, b, h), wt.register(g, y, b, h), Pt.register(g, y, b, h), Bt.register(g, y, b, h), xt.register(g, y, b, h), It.register(g, y, b, h), Et.register(g, y, b, h), kt.register(g, y, b, h), Mt.register(g, y, b, h), Nt.register(g, y, b, h), Ot.register(g, y, b, h), Jt.register(g, y, b), Lt.register(g, y, b, h), Dt.register(g, y, b, h), jt.register(g, y, b, h), At.register(g, y, b, h), $t.register(g, y, b, h), Vt.register(g, y, b, h), Gt.register(g, y, b, h), Rt.register(g, y, b, h), Wt.register(g, y, b, h), qt.register(g, y, b, h), Ht.register(g, y, b, h), Ut.register(g, y, b, h), zt.register(g, y, b, h), _t.register(g, y, b, h), Xt.register(g, y, b, h), Qt.register(g, y, b, h), Zt.register(g, y, b, h), Yt.register(g, y, b, h));
1276
1281
  }
1277
1282
  function uo() {
1278
1283
  so();
1279
- function e(l, f) {
1280
- const v = y[l];
1281
- return v ? v(f) : {};
1284
+ function e(l, m) {
1285
+ const f = y[l];
1286
+ return f ? f(m) : {};
1282
1287
  }
1283
1288
  function t(l) {
1284
1289
  return g[l] || io;
@@ -1340,7 +1345,7 @@ function uo() {
1340
1345
  return "onValueChange";
1341
1346
  }
1342
1347
  }
1343
- function a(l) {
1348
+ function r(l) {
1344
1349
  switch (l) {
1345
1350
  case "combo-list":
1346
1351
  case "input-group":
@@ -1348,98 +1353,100 @@ function uo() {
1348
1353
  return "onClear";
1349
1354
  }
1350
1355
  }
1351
- return { resolveEditorProps: e, resolveEditorType: t, getChangeFunctionName: n, getClearFunctionName: a };
1356
+ return { resolveEditorProps: e, resolveEditorType: t, getChangeFunctionName: n, getClearFunctionName: r };
1352
1357
  }
1353
1358
  const co = /* @__PURE__ */ U({
1354
1359
  name: "FDynamicFormGroup",
1355
1360
  props: ye,
1356
1361
  emits: ["change", "update:modelValue"],
1357
1362
  setup(e, t) {
1358
- const n = C(e.id), a = C(e.customClass), l = C(e.editor), f = C(e.label), v = C(e.modelValue), P = C(e.readonly), d = C(e.required), o = C(e.showLabel), s = C(e.visible);
1359
- C(e.type);
1360
- const r = C(), {
1361
- resolveEditorProps: u,
1363
+ const n = F(e.id), r = F(e.customClass), l = F(e.editor), m = F(e.label), f = F(e.modelValue), C = F(e.readonly), u = F(e.required), o = F(e.showLabel), p = F(e.visible);
1364
+ F(e.type);
1365
+ const a = F(), {
1366
+ resolveEditorProps: s,
1362
1367
  resolveEditorType: i,
1363
- getChangeFunctionName: p,
1364
- getClearFunctionName: m
1365
- } = uo(), S = E(() => ({
1368
+ getChangeFunctionName: d,
1369
+ getClearFunctionName: v
1370
+ } = uo(), T = E(() => ({
1366
1371
  "form-group": !0,
1367
1372
  "farris-form-group": !0,
1368
1373
  "common-group": !0,
1369
- "q-state-readonly": P.value
1374
+ "q-state-readonly": C.value
1370
1375
  }));
1371
1376
  function N(I, k) {
1372
- v.value = k !== void 0 ? k : I, t.emit("update:modelValue", v.value), t.emit("change", v.value);
1377
+ f.value = k !== void 0 ? k : I, t.emit("update:modelValue", f.value), t.emit("change", f.value);
1373
1378
  }
1374
1379
  function j() {
1375
1380
  t.emit("update:modelValue", "");
1376
1381
  }
1377
- const D = E(() => {
1378
- const I = l.value.type || "input-group", k = i(I), O = u(I, l.value), B = p(I), G = m(l.value.type);
1382
+ const L = E(() => {
1383
+ const I = l.value.type || "input-group", k = i(I), O = s(I, l.value), B = d(I), G = v(l.value.type);
1379
1384
  return O[B] = N, O[G] = j, () => c(k, Ge({
1380
- ref: r
1385
+ ref: a
1381
1386
  }, O, {
1382
- modelValue: v.value,
1383
- "onUpdate:modelValue": (L) => v.value = L
1387
+ modelValue: f.value,
1388
+ "onUpdate:modelValue": (D) => f.value = D
1384
1389
  }), null);
1385
1390
  });
1386
- return V([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible], ([I, k, O, B, G, L, R, _, z]) => {
1387
- n.value = I, a.value = k, l.value = O, f.value = B, v.value = G, P.value = L, d.value = R, o.value = _, s.value = z;
1391
+ return V([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible], ([I, k, O, B, G, D, R, _, z]) => {
1392
+ n.value = I, r.value = k, l.value = O, m.value = B, f.value = G, C.value = D, u.value = R, o.value = _, p.value = z;
1388
1393
  }), t.expose({
1389
- editorRef: r
1390
- }), () => s.value && c("div", {
1394
+ editorRef: a
1395
+ }), () => p.value && c("div", {
1391
1396
  id: `${n.value}-input-group`,
1392
- class: a.value
1397
+ class: r.value
1393
1398
  }, [c("div", {
1394
1399
  class: "farris-group-wrap"
1395
1400
  }, [c("div", {
1396
- class: S.value
1401
+ class: T.value
1397
1402
  }, [o.value && c(An, {
1398
1403
  id: `${n.value}-lable`,
1399
- required: d.value,
1400
- text: f.value,
1401
- title: f.value
1404
+ required: u.value,
1405
+ text: m.value,
1406
+ title: m.value
1402
1407
  }, null), c("div", {
1403
1408
  class: "farris-input-wrap"
1404
- }, [D.value()])])])]);
1409
+ }, [L.value()])])])]);
1405
1410
  }
1406
1411
  }), po = /* @__PURE__ */ U({
1407
1412
  name: "FPropertyPanelItem",
1408
1413
  props: Bn,
1409
1414
  emits: ["propertyChange", "triggerRefreshPanel"],
1410
1415
  setup(e, t) {
1411
- var o;
1412
- const n = C((o = e.category) == null ? void 0 : o.categoryId), a = C(e.elementConfig.propertyID), l = C(e.elementConfig.propertyName), f = C(e.elementConfig.editor), v = C(e.elementConfig.propertyValue), P = E(() => {
1413
- const s = e.elementConfig.visible;
1416
+ var u;
1417
+ const n = F((u = e.category) == null ? void 0 : u.categoryId), r = F(e.elementConfig.propertyID), l = F(e.elementConfig.propertyName);
1418
+ F(e.elementConfig.editor);
1419
+ const m = F(e.elementConfig.propertyValue), f = E(() => {
1420
+ const o = e.elementConfig.visible;
1414
1421
  return {
1415
1422
  "farris-group-wrap": !0,
1416
1423
  "property-item": !0,
1417
- "d-none": !(typeof s == "boolean" ? s : s == null ? !0 : s())
1424
+ "d-none": !(typeof o == "boolean" ? o : o == null ? !0 : o())
1418
1425
  };
1419
1426
  });
1420
1427
  V(() => {
1421
- var s;
1422
- return (s = e.elementConfig) == null ? void 0 : s.propertyValue;
1423
- }, (s) => {
1424
- v.value = s;
1428
+ var o;
1429
+ return (o = e.elementConfig) == null ? void 0 : o.propertyValue;
1430
+ }, (o) => {
1431
+ m.value = o;
1425
1432
  });
1426
- function d(s) {
1427
- e.elementConfig.propertyValue = s;
1428
- const r = {
1433
+ function C(o) {
1434
+ e.elementConfig.propertyValue = o;
1435
+ const p = {
1429
1436
  propertyID: e.elementConfig.propertyID,
1430
- propertyValue: s
1437
+ propertyValue: o
1431
1438
  };
1432
- t.emit("propertyChange", r), e.elementConfig.refreshPanelAfterChanged && t.emit("triggerRefreshPanel");
1439
+ t.emit("propertyChange", p), e.elementConfig.refreshPanelAfterChanged && t.emit("triggerRefreshPanel");
1433
1440
  }
1434
1441
  return () => c("div", {
1435
- class: P.value
1442
+ class: f.value
1436
1443
  }, [c(co, {
1437
- id: a.value,
1438
- customClass: `${n.value}-${a.value}`,
1444
+ id: r.value,
1445
+ customClass: `${n.value}-${r.value}`,
1439
1446
  label: l.value,
1440
- editor: f.value,
1441
- modelValue: v.value,
1442
- onChange: d,
1447
+ editor: e.elementConfig.editor,
1448
+ modelValue: m.value,
1449
+ onChange: C,
1443
1450
  editorParams: e.elementConfig.editorParams
1444
1451
  }, null)]);
1445
1452
  }
@@ -1448,8 +1455,8 @@ const co = /* @__PURE__ */ U({
1448
1455
  props: Pn,
1449
1456
  emits: ["valueChanged", "submitModal", "triggerRefreshPanel"],
1450
1457
  setup(e, t) {
1451
- const n = C(e.category);
1452
- function a(i) {
1458
+ const n = F(e.category);
1459
+ function r(i) {
1453
1460
  if (!i.hideCascadeTitle)
1454
1461
  return c("div", {
1455
1462
  class: "farris-input-wrap"
@@ -1461,10 +1468,10 @@ const co = /* @__PURE__ */ U({
1461
1468
  readonly: !0
1462
1469
  }, null)]);
1463
1470
  }
1464
- function l(i, p) {
1465
- p.isExpand = !p.isExpand;
1471
+ function l(i, d) {
1472
+ d.isExpand = !d.isExpand;
1466
1473
  }
1467
- function f(i) {
1474
+ function m(i) {
1468
1475
  return c("div", {
1469
1476
  class: "landscape"
1470
1477
  }, [c("button", {
@@ -1472,10 +1479,10 @@ const co = /* @__PURE__ */ U({
1472
1479
  class: ["btn f-btn-collapse-expand f-btn-mx px-1", {
1473
1480
  "f-state-expand": i.isExpand
1474
1481
  }],
1475
- onClick: (p) => l(p, i)
1482
+ onClick: (d) => l(d, i)
1476
1483
  }, [c("span", null, null)])]);
1477
1484
  }
1478
- function v(i) {
1485
+ function f(i) {
1479
1486
  return c("div", {
1480
1487
  class: "f-section-formgroup-legend"
1481
1488
  }, [c("div", {
@@ -1492,10 +1499,10 @@ const co = /* @__PURE__ */ U({
1492
1499
  class: "farris-label-text"
1493
1500
  }, [i.propertyName])])])]);
1494
1501
  }
1495
- function P(i) {
1502
+ function C(i) {
1496
1503
  return `${e.categoryKey}_${i.propertyID}`;
1497
1504
  }
1498
- function d(i) {
1505
+ function u(i) {
1499
1506
  i.categoryId = n.value.categoryId, n.value.enableCascade && (i.propertyPath = n.value.parentPropertyID), n.value.setPropertyRelates && n.value.setPropertyRelates(i, e.propertyData), t.emit("valueChanged", {
1500
1507
  changeObject: i
1501
1508
  });
@@ -1503,19 +1510,19 @@ const co = /* @__PURE__ */ U({
1503
1510
  function o() {
1504
1511
  t.emit("triggerRefreshPanel");
1505
1512
  }
1506
- function s(i) {
1513
+ function p(i) {
1507
1514
  return c("div", {
1508
1515
  class: "px-2 mb-2"
1509
1516
  }, [c(po, {
1510
- key: P(i),
1517
+ key: C(i),
1511
1518
  elementConfig: i,
1512
1519
  category: n.value,
1513
- onPropertyChange: d,
1520
+ onPropertyChange: u,
1514
1521
  onTriggerRefreshPanel: o
1515
1522
  }, null)]);
1516
1523
  }
1517
- function r(i) {
1518
- var p;
1524
+ function a(i) {
1525
+ var d;
1519
1526
  return c("div", {
1520
1527
  class: "propertyCascadeItem farris-panel px-2 mb-2"
1521
1528
  }, [c("div", {
@@ -1524,79 +1531,79 @@ const co = /* @__PURE__ */ U({
1524
1531
  }]
1525
1532
  }, [c("div", {
1526
1533
  class: "card-header",
1527
- onClick: (m) => l(m, i)
1534
+ onClick: (v) => l(v, i)
1528
1535
  }, [c("div", {
1529
1536
  class: "panel-item-title"
1530
1537
  }, [c("div", {
1531
1538
  class: "form-group farris-form-group line-item"
1532
- }, [v(i), a(i), f(i)])])]), c("div", {
1539
+ }, [f(i), r(i), m(i)])])]), c("div", {
1533
1540
  class: ["card-body", {
1534
1541
  hidden: !i.isExpand
1535
1542
  }]
1536
- }, [(p = i.cascadeConfig) == null ? void 0 : p.map((m) => s(m))])])]);
1543
+ }, [(d = i.cascadeConfig) == null ? void 0 : d.map((v) => p(v))])])]);
1537
1544
  }
1538
1545
  V(() => e.category, () => {
1539
1546
  n.value = e.category;
1540
1547
  });
1541
- function u(i) {
1542
- return i.propertyType === "cascade" ? r : s;
1548
+ function s(i) {
1549
+ return i.propertyType === "cascade" ? a : p;
1543
1550
  }
1544
- return () => c(Z, null, [n.value.properties.map((i) => u(i)(i))]);
1551
+ return () => c(Z, null, [n.value.properties.map((i) => s(i)(i))]);
1545
1552
  }
1546
- }), se = /* @__PURE__ */ U({
1553
+ }), ce = /* @__PURE__ */ U({
1547
1554
  name: "FPropertyPanel",
1548
1555
  props: Kt,
1549
1556
  emits: ["propertyChanged"],
1550
1557
  setup(e, t) {
1551
- const n = C(e.width), a = C(e.isWidePanel), l = C(e.enableSearch), f = C(e.mode), v = C(e.isPersitOpenState), P = C(e.isShowPanel), d = C(), o = C(), s = C(e.showCloseBtn), r = C(e.selectedTabId), u = C(!0), i = C(e.isWhiteTheme);
1552
- let p = [], m = [];
1553
- const S = C(""), N = C(), j = C(), D = Re("SchemaService");
1558
+ const n = F(e.width), r = F(e.isWidePanel), l = F(e.enableSearch), m = F(e.mode), f = F(e.isPersitOpenState), C = F(e.isShowPanel), u = F(), o = F(), p = F(e.showCloseBtn), a = F(e.selectedTabId), s = F(!0), i = F(e.isWhiteTheme);
1559
+ let d = [], v = [];
1560
+ const T = F(""), N = F(), j = F(), L = Re("SchemaService");
1554
1561
  let I = [], k = null, O = "";
1555
- const B = C(), G = C(0);
1556
- function L() {
1557
- m = [], B.value && B.value.categoryList && Array.isArray(B.value.categoryList) && B.value.categoryList.length > 0 && B.value.categoryList.forEach((w) => {
1558
- if (w.properties.forEach((F) => F.categoryId = w.categoryId), w.properties && Array.isArray(w.properties) && w.properties.length > 0) {
1559
- const F = w.properties.map((M) => (M.category = w, M));
1560
- m = m.concat(F);
1562
+ const B = F(), G = F(0);
1563
+ function D() {
1564
+ v = [], B.value && B.value.categoryList && Array.isArray(B.value.categoryList) && B.value.categoryList.length > 0 && B.value.categoryList.forEach((w) => {
1565
+ if (w.properties.forEach((S) => S.categoryId = w.categoryId), w.properties && Array.isArray(w.properties) && w.properties.length > 0) {
1566
+ const S = w.properties.map((M) => (M.category = w, M));
1567
+ v = v.concat(S);
1561
1568
  }
1562
1569
  });
1563
1570
  }
1564
- function R(T) {
1565
- let w = T.offsetTop, F = T.offsetParent;
1566
- for (; F !== null; )
1567
- w += F.offsetTop, F = F.offsetParent;
1571
+ function R(P) {
1572
+ let w = P.offsetTop, S = P.offsetParent;
1573
+ for (; S !== null; )
1574
+ w += S.offsetTop, S = S.offsetParent;
1568
1575
  return w;
1569
1576
  }
1570
- function _(T, w) {
1571
- T && w && Object.keys(w).length > 0 && Object.keys(w).forEach((F) => {
1577
+ function _(P, w) {
1578
+ P && w && Object.keys(w).length > 0 && Object.keys(w).forEach((S) => {
1572
1579
  var W;
1573
- const M = w[F];
1574
- (W = T.style) == null || W.setProperty(F, M);
1580
+ const M = w[S];
1581
+ (W = P.style) == null || W.setProperty(S, M);
1575
1582
  });
1576
1583
  }
1577
1584
  function z() {
1578
- return m.filter((w) => w.visible ? !!(w.propertyID && w.propertyID.startsWith(S.value) || w.propertyName && (w.propertyName.startsWith(S.value) || w.propertyName.includes(S.value))) : !1);
1585
+ return v.filter((w) => w.visible ? !!(w.propertyID && w.propertyID.startsWith(T.value) || w.propertyName && (w.propertyName.startsWith(T.value) || w.propertyName.includes(T.value))) : !1);
1579
1586
  }
1580
- function x(T, w, F) {
1581
- if (T === 0) {
1582
- const M = R(w), K = R(F) - M - 5;
1587
+ function x(P, w, S) {
1588
+ if (P === 0) {
1589
+ const M = R(w), K = R(S) - M - 5;
1583
1590
  w == null || w.scroll({
1584
1591
  top: K,
1585
1592
  behavior: "smooth"
1586
1593
  });
1587
1594
  }
1588
1595
  }
1589
- function $(T) {
1590
- I && I.length > 0 && (I.forEach((F) => {
1591
- F.style.cssText = "";
1592
- }), I = []), S.value = T || S.value;
1596
+ function $(P) {
1597
+ I && I.length > 0 && (I.forEach((S) => {
1598
+ S.style.cssText = "";
1599
+ }), I = []), T.value = P || T.value;
1593
1600
  const w = document.querySelector(".panel-body");
1594
- if (!S.value)
1601
+ if (!T.value)
1595
1602
  N.value && w && (w.scrollTop = 0);
1596
- else if (L(), m && m.length > 0) {
1597
- const F = z();
1598
- F && F.length > 0 && (F[0].category.status === "closed" && (F[0].category.status = "open"), setTimeout(() => {
1599
- F.forEach((M, W) => {
1603
+ else if (D(), v && v.length > 0) {
1604
+ const S = z();
1605
+ S && S.length > 0 && (S[0].category.status === "closed" && (S[0].category.status = "open"), setTimeout(() => {
1606
+ S.forEach((M, W) => {
1600
1607
  const K = M.propertyType === "cascade" ? `.${M.categoryId}-${M.propertyID} div.col-form-label` : `.property-item .${M.categoryId}-${M.propertyID} label.col-form-label`, Q = document.querySelector(K);
1601
1608
  Q && (x(W, w, Q), _(Q, {
1602
1609
  color: "#5B89FE"
@@ -1605,82 +1612,82 @@ const co = /* @__PURE__ */ U({
1605
1612
  }, 50));
1606
1613
  }
1607
1614
  }
1608
- function q(T) {
1609
- $(T);
1615
+ function q(P) {
1616
+ $(P);
1610
1617
  }
1611
- function J(T) {
1618
+ function J(P) {
1612
1619
  const {
1613
1620
  value: w
1614
- } = T.target;
1615
- T.key === "Enter" && q(w);
1621
+ } = P.target;
1622
+ P.key === "Enter" && q(w);
1616
1623
  }
1617
- function he(T) {
1624
+ function he(P) {
1618
1625
  const {
1619
1626
  value: w
1620
- } = T.target;
1627
+ } = P.target;
1621
1628
  q(w);
1622
1629
  }
1623
1630
  function Ce() {
1624
- v.value || (u.value = !1), t.emit("closePropertyPanel");
1631
+ f.value || (s.value = !1), t.emit("closePropertyPanel");
1625
1632
  }
1626
- function Y(T) {
1627
- S.value = "", $();
1633
+ function Y(P) {
1634
+ T.value = "", $();
1628
1635
  }
1629
- function Fe(T) {
1630
- !T.status || T.status === "open" ? T.status = "closed" : T.status = "open";
1636
+ function Fe(P) {
1637
+ !P.status || P.status === "open" ? P.status = "closed" : P.status = "open";
1631
1638
  }
1632
1639
  function X() {
1633
- var T, w;
1634
- if (p = [], !d.value || d.value.length === 0) {
1635
- p = [{
1640
+ var P, w;
1641
+ if (d = [], !u.value || u.value.length === 0) {
1642
+ d = [{
1636
1643
  tabId: "default",
1637
1644
  tabName: "属性",
1638
1645
  categoryList: []
1639
1646
  }], B.value = null;
1640
1647
  return;
1641
1648
  }
1642
- if ((T = d == null ? void 0 : d.value) == null || T.forEach((F) => {
1643
- if (F.tabId) {
1644
- const M = p.find((W) => W.tabId === F.tabId);
1645
- M ? (M.categoryList.push(F), M.hide && (M.hide = F.hide || F.properties.length === 0)) : p.push({
1646
- tabId: F.tabId,
1647
- tabName: F.tabName,
1648
- categoryList: [F],
1649
- hide: F.hide || F.properties.length === 0
1649
+ if ((P = u == null ? void 0 : u.value) == null || P.forEach((S) => {
1650
+ if (S.tabId) {
1651
+ const M = d.find((W) => W.tabId === S.tabId);
1652
+ M ? (M.categoryList.push(S), M.hide && (M.hide = S.hide || S.properties.length === 0)) : d.push({
1653
+ tabId: S.tabId,
1654
+ tabName: S.tabName,
1655
+ categoryList: [S],
1656
+ hide: S.hide || S.properties.length === 0
1650
1657
  });
1651
1658
  } else {
1652
- const M = p.find((W) => W.tabId === "default");
1653
- M ? M.categoryList.push(F) : p.push({
1659
+ const M = d.find((W) => W.tabId === "default");
1660
+ M ? M.categoryList.push(S) : d.push({
1654
1661
  tabId: "default",
1655
1662
  tabName: "属性",
1656
- categoryList: [F]
1663
+ categoryList: [S]
1657
1664
  });
1658
1665
  }
1659
- }), r.value) {
1660
- let F = p == null ? void 0 : p.find((M) => M.tabId === r.value && !M.hide);
1661
- B.value = F || p[0];
1666
+ }), a.value) {
1667
+ let S = d == null ? void 0 : d.find((M) => M.tabId === a.value && !M.hide);
1668
+ B.value = S || d[0];
1662
1669
  } else
1663
- B.value = p[0];
1664
- r.value = (w = B.value) == null ? void 0 : w.tabId;
1670
+ B.value = d[0];
1671
+ a.value = (w = B.value) == null ? void 0 : w.tabId;
1665
1672
  }
1666
1673
  V(() => [e.schema, e.isShowPanel], () => {
1667
- o.value = e.schema, !e.schema || !e.schema.type ? d.value = [] : d.value = ee(o.value, D, k, O), X(), Y(S.value), G.value++;
1674
+ o.value = e.schema, !e.schema || !e.schema.type ? u.value = [] : u.value = ee(o.value, L, k, O), X(), Y(T.value), G.value++;
1668
1675
  }), H(() => {
1669
1676
  X();
1670
1677
  });
1671
- function Se(T, w) {
1672
- (!o.value || w) && (o.value = w || e.schema), d.value = ee(o.value, D, k, O, T), X(), Y(S.value);
1678
+ function Se(P, w) {
1679
+ (!o.value || w) && (o.value = w || e.schema), u.value = ee(o.value, L, k, O, P), X(), Y(T.value);
1673
1680
  }
1674
- function we(T, w) {
1675
- k = T, O = w;
1681
+ function Te(P, w) {
1682
+ k = P, O = w;
1676
1683
  }
1677
- function re() {
1678
- f.value = f.value === "panel" ? "sidebar" : "panel", f.value === "panel" ? (setTimeout(() => {
1684
+ function le() {
1685
+ m.value = m.value === "panel" ? "sidebar" : "panel", m.value === "panel" ? (setTimeout(() => {
1679
1686
  q();
1680
1687
  }, 100), n.value = "300px") : n.value = "41px";
1681
1688
  }
1682
- function Te() {
1683
- if (s.value)
1689
+ function we() {
1690
+ if (p.value)
1684
1691
  return c("div", {
1685
1692
  class: "title-actions"
1686
1693
  }, [c("div", {
@@ -1698,11 +1705,11 @@ const co = /* @__PURE__ */ U({
1698
1705
  }, null)])])])])]);
1699
1706
  }
1700
1707
  function Pe() {
1701
- d.value = ee(o.value, D, k, O), X();
1708
+ u.value = ee(o.value, L, k, O), X();
1702
1709
  }
1703
1710
  function Be() {
1704
- var T;
1705
- if (l.value && ((T = B.value) == null ? void 0 : T.tabId) !== "commands")
1711
+ var P;
1712
+ if (l.value && ((P = B.value) == null ? void 0 : P.tabId) !== "commands")
1706
1713
  return c("div", {
1707
1714
  class: "search"
1708
1715
  }, [c("div", {
@@ -1713,14 +1720,14 @@ const co = /* @__PURE__ */ U({
1713
1720
  placeholder: "输入属性名称或编号快速定位",
1714
1721
  autocomplete: "off",
1715
1722
  onKeyup: (w) => J(w),
1716
- value: S.value
1723
+ value: T.value
1717
1724
  }, null), c("div", {
1718
1725
  class: "input-group-append",
1719
1726
  style: "margin-left: 0px;"
1720
1727
  }, [c("span", {
1721
1728
  class: "input-group-text input-group-clear",
1722
1729
  style: [{
1723
- display: S.value && S.value.length > 0 ? "" : "none"
1730
+ display: T.value && T.value.length > 0 ? "" : "none"
1724
1731
  }],
1725
1732
  onClick: (w) => Y()
1726
1733
  }, [c("i", {
@@ -1732,56 +1739,56 @@ const co = /* @__PURE__ */ U({
1732
1739
  class: "f-icon f-icon-search"
1733
1740
  }, null)])])])]);
1734
1741
  }
1735
- function xe(T) {
1736
- return `${e.propertyName}_${T.categoryId}`;
1742
+ function xe(P) {
1743
+ return `${e.propertyName}_${P.categoryId}`;
1737
1744
  }
1738
- function Ie(T) {
1739
- t.emit("propertyChanged", T);
1745
+ function Ie(P) {
1746
+ t.emit("propertyChanged", P);
1740
1747
  }
1741
1748
  function Ee() {
1742
- var T, w;
1749
+ var P, w;
1743
1750
  if (B.value)
1744
1751
  return c("div", {
1745
1752
  class: "panel-body",
1746
1753
  ref: j
1747
1754
  }, [c("ul", {
1748
1755
  class: ["property-grid", {
1749
- "wide-panel": a.value
1756
+ "wide-panel": r.value
1750
1757
  }]
1751
- }, [(w = (T = B.value) == null ? void 0 : T.categoryList) == null ? void 0 : w.map((F) => c("li", {
1752
- key: xe(F),
1753
- "data-category-id": F == null ? void 0 : F.categoryId
1754
- }, [!F.hide && !F.hideTitle && c("span", {
1758
+ }, [(w = (P = B.value) == null ? void 0 : P.categoryList) == null ? void 0 : w.map((S) => c("li", {
1759
+ key: xe(S),
1760
+ "data-category-id": S == null ? void 0 : S.categoryId
1761
+ }, [!S.hide && !S.hideTitle && c("span", {
1755
1762
  class: "group-label",
1756
- onClick: () => Fe(F)
1763
+ onClick: () => Fe(S)
1757
1764
  }, [c("span", {
1758
1765
  class: ["f-icon mr-2", {
1759
- "f-legend-show": F.status === "closed"
1766
+ "f-legend-show": S.status === "closed"
1760
1767
  }, {
1761
- "f-legend-collapse": F.status === "open" || F.status === void 0
1768
+ "f-legend-collapse": S.status === "open" || S.status === void 0
1762
1769
  }]
1763
- }, null), F.categoryName]), c("div", {
1764
- hidden: F.status === "closed"
1770
+ }, null), S.categoryName]), c("div", {
1771
+ hidden: S.status === "closed"
1765
1772
  }, [c(fo, {
1766
- key: `${F == null ? void 0 : F.categoryId}-${G.value}`,
1767
- category: F,
1773
+ key: `${S == null ? void 0 : S.categoryId}-${G.value}`,
1774
+ category: S,
1768
1775
  propertyData: o.value,
1769
1776
  onTriggerRefreshPanel: Pe,
1770
1777
  onValueChanged: Ie
1771
1778
  }, null)])]))])]);
1772
1779
  }
1773
1780
  function ke() {
1774
- if (f.value === "sidebar")
1781
+ if (m.value === "sidebar")
1775
1782
  return c("div", {
1776
1783
  class: "side-panel h-100",
1777
- onClick: re
1784
+ onClick: le
1778
1785
  }, [c("i", {
1779
1786
  class: "f-icon f-icon-engineering w-100 icon"
1780
- }, null), c("span", null, [ue("属性")])]);
1787
+ }, null), c("span", null, [de("属性")])]);
1781
1788
  }
1782
1789
  function Oe() {
1783
1790
  return {
1784
- display: u.value ? "block" : "none",
1791
+ display: s.value ? "block" : "none",
1785
1792
  width: n.value
1786
1793
  };
1787
1794
  }
@@ -1791,32 +1798,32 @@ const co = /* @__PURE__ */ U({
1791
1798
  }, [c("i", {
1792
1799
  class: "f-icon f-icon-exhale-discount",
1793
1800
  style: [{
1794
- transform: f.value === "sidebar" ? "none" : "rotate(180deg)"
1801
+ transform: m.value === "sidebar" ? "none" : "rotate(180deg)"
1795
1802
  }],
1796
- onClick: re
1803
+ onClick: le
1797
1804
  }, null)]);
1798
1805
  }
1799
- function Ne(T) {
1800
- B.value = T, r.value = B.value.tabId, S.value = "";
1806
+ function Ne(P) {
1807
+ B.value = P, a.value = B.value.tabId, T.value = "";
1801
1808
  }
1802
- function De() {
1803
- return p.map((T) => c("div", {
1809
+ function Le() {
1810
+ return d.map((P) => c("div", {
1804
1811
  class: ["title-label", {
1805
- active: B.value && B.value.tabId === T.tabId
1812
+ active: B.value && B.value.tabId === P.tabId
1806
1813
  }, {
1807
- hidden: T.hide
1814
+ hidden: P.hide
1808
1815
  }],
1809
- onClick: () => Ne(T)
1810
- }, [c("span", null, [T.tabName])]));
1816
+ onClick: () => Ne(P)
1817
+ }, [c("span", null, [P.tabName])]));
1811
1818
  }
1812
1819
  return H(() => {
1813
- q(S.value);
1820
+ q(T.value);
1814
1821
  }), We(() => {
1815
- v.value && (u.value = P.value), X(), q(S.value);
1822
+ f.value && (s.value = C.value), X(), q(T.value);
1816
1823
  }), V(B, () => {
1817
1824
  }), t.expose({
1818
1825
  updatePropertyConfig: Se,
1819
- updateDesignerItem: we
1826
+ updateDesignerItem: Te
1820
1827
  }), () => c(Z, null, [c("div", {
1821
1828
  ref: N,
1822
1829
  class: ["property-panel", {
@@ -1825,26 +1832,26 @@ const co = /* @__PURE__ */ U({
1825
1832
  style: Oe()
1826
1833
  }, [c("div", {
1827
1834
  class: "propertyPanel panel flex-column",
1828
- hidden: f.value !== "panel"
1835
+ hidden: m.value !== "panel"
1829
1836
  }, [c("div", {
1830
1837
  class: ["title d-flex", {
1831
- "p-right": s.value
1838
+ "p-right": p.value
1832
1839
  }, {
1833
- only: p.length === 1
1840
+ only: d.length === 1
1834
1841
  }]
1835
- }, [De(), Te()]), Be(), Ee()]), Me(), ke()])]);
1842
+ }, [Le(), we()]), Be(), Ee()]), Me(), ke()])]);
1836
1843
  }
1837
1844
  });
1838
1845
  var mo = /* @__PURE__ */ ((e) => (e.string = "string", e.boolean = "boolean", e.number = "number", e.select = "select", e.boolOrExp = "boolOrExp", e.editableSelect = "editableSelect", e.multiSelect = "multiSelect", e.date = "date", e.datetime = "datetime", e.modal = "modal", e.cascade = "cascade", e.custom = "custom", e.unity = "unity", e.events = "events", e.switch = "switch", e.multiLanguage = "multiLanguage", e))(mo || {});
1839
- const Tr = {
1846
+ const wr = {
1840
1847
  install(e) {
1841
- e.component(se.name, se);
1848
+ e.component(ce.name, ce);
1842
1849
  }
1843
1850
  };
1844
1851
  export {
1845
- se as FPropertyPanel,
1852
+ ce as FPropertyPanel,
1846
1853
  mo as PropertyType,
1847
- Tr as default,
1854
+ wr as default,
1848
1855
  Bn as propertyPanelItemProps,
1849
1856
  Kt as propertyPanelProps
1850
1857
  };