@farris/ui-vue 1.6.5-beta.7 → 1.6.5-beta.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 (194) hide show
  1. package/components/accordion/index.esm.js +65 -65
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +28 -29
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/button-edit/index.esm.js +521 -517
  6. package/components/button-edit/index.umd.cjs +1 -1
  7. package/components/calendar/index.esm.js +134 -134
  8. package/components/calendar/index.umd.cjs +1 -1
  9. package/components/capsule/index.esm.js +192 -192
  10. package/components/capsule/index.umd.cjs +1 -1
  11. package/components/code-editor/index.esm.js +8 -8
  12. package/components/code-editor/index.umd.cjs +3 -3
  13. package/components/collection-property-editor/index.esm.js +72 -72
  14. package/components/collection-property-editor/index.umd.cjs +1 -1
  15. package/components/color-picker/index.esm.js +291 -289
  16. package/components/color-picker/index.umd.cjs +1 -1
  17. package/components/combo-list/index.esm.js +163 -157
  18. package/components/combo-list/index.umd.cjs +1 -1
  19. package/components/combo-tree/index.esm.js +113 -112
  20. package/components/combo-tree/index.umd.cjs +1 -1
  21. package/components/common/index.esm.js +3 -1
  22. package/components/common/index.umd.cjs +1 -1
  23. package/components/component/index.esm.js +10 -10
  24. package/components/component/index.umd.cjs +1 -1
  25. package/components/condition/index.esm.js +1122 -1121
  26. package/components/condition/index.umd.cjs +1 -1
  27. package/components/content-container/index.esm.js +190 -190
  28. package/components/content-container/index.umd.cjs +1 -1
  29. package/components/data-view/index.esm.js +2693 -2693
  30. package/components/data-view/index.umd.cjs +1 -1
  31. package/components/date-picker/index.esm.js +1604 -1601
  32. package/components/date-picker/index.umd.cjs +1 -1
  33. package/components/designer-canvas/index.esm.js +1082 -1079
  34. package/components/designer-canvas/index.umd.cjs +1 -1
  35. package/components/discussion-editor/index.esm.js +973 -1040
  36. package/components/discussion-editor/index.umd.cjs +6 -6
  37. package/components/dropdown/index.esm.js +335 -330
  38. package/components/dropdown/index.umd.cjs +2 -2
  39. package/components/dynamic-form/index.esm.js +8 -8
  40. package/components/dynamic-form/index.umd.cjs +1 -1
  41. package/components/dynamic-resolver/index.esm.js +6 -6
  42. package/components/dynamic-resolver/index.umd.cjs +1 -1
  43. package/components/dynamic-view/index.esm.js +344 -344
  44. package/components/dynamic-view/index.umd.cjs +1 -1
  45. package/components/events-editor/index.esm.js +8 -8
  46. package/components/events-editor/index.umd.cjs +3 -3
  47. package/components/expression-editor/index.esm.js +1470 -1460
  48. package/components/expression-editor/index.umd.cjs +3 -3
  49. package/components/fieldset/index.esm.js +55 -55
  50. package/components/fieldset/index.umd.cjs +1 -1
  51. package/components/filter-bar/index.esm.js +853 -843
  52. package/components/filter-bar/index.umd.cjs +1 -1
  53. package/components/filter-condition-editor/index.esm.js +922 -911
  54. package/components/filter-condition-editor/index.umd.cjs +3 -3
  55. package/components/flow-canvas/index.esm.js +12 -12
  56. package/components/flow-canvas/index.umd.cjs +1 -1
  57. package/components/html-template/index.esm.js +164 -164
  58. package/components/html-template/index.umd.cjs +1 -1
  59. package/components/image-cropper/index.esm.js +198 -198
  60. package/components/image-cropper/index.umd.cjs +1 -1
  61. package/components/json-editor/index.esm.js +64 -64
  62. package/components/json-editor/index.umd.cjs +1 -1
  63. package/components/language-textbox/index.esm.js +140 -140
  64. package/components/language-textbox/index.umd.cjs +1 -1
  65. package/components/layout/index.esm.js +111 -111
  66. package/components/layout/index.umd.cjs +1 -1
  67. package/components/list-nav/index.esm.js +90 -90
  68. package/components/list-nav/index.umd.cjs +1 -1
  69. package/components/list-view/index.esm.js +104 -108
  70. package/components/list-view/index.umd.cjs +3 -3
  71. package/components/locale/index.esm.js +833 -901
  72. package/components/locale/index.umd.cjs +6 -6
  73. package/components/lookup/index.esm.js +1352 -1351
  74. package/components/lookup/index.umd.cjs +1 -1
  75. package/components/mapping-editor/index.esm.js +1311 -1307
  76. package/components/mapping-editor/index.umd.cjs +1 -1
  77. package/components/menu-lookup/index.esm.js +1059 -1127
  78. package/components/menu-lookup/index.umd.cjs +6 -6
  79. package/components/message-box/index.esm.js +7 -7
  80. package/components/message-box/index.umd.cjs +1 -1
  81. package/components/modal/index.esm.js +9 -9
  82. package/components/modal/index.umd.cjs +1 -1
  83. package/components/nav/index.esm.js +106 -106
  84. package/components/nav/index.umd.cjs +1 -1
  85. package/components/number-range/index.esm.js +326 -326
  86. package/components/number-range/index.umd.cjs +1 -1
  87. package/components/number-spinner/index.esm.js +168 -167
  88. package/components/number-spinner/index.umd.cjs +1 -1
  89. package/components/order/index.esm.js +739 -737
  90. package/components/order/index.umd.cjs +4 -4
  91. package/components/page-footer/index.esm.js +94 -94
  92. package/components/page-footer/index.umd.cjs +1 -1
  93. package/components/page-header/index.esm.js +942 -939
  94. package/components/page-header/index.umd.cjs +1 -1
  95. package/components/pagination/index.esm.js +82 -82
  96. package/components/pagination/index.umd.cjs +1 -1
  97. package/components/popover/index.esm.js +1 -1
  98. package/components/popover/index.umd.cjs +1 -1
  99. package/components/progress/index.esm.js +113 -113
  100. package/components/progress/index.umd.cjs +2 -2
  101. package/components/property-editor/index.esm.js +151 -150
  102. package/components/property-editor/index.umd.cjs +1 -1
  103. package/components/property-panel/index.esm.js +565 -565
  104. package/components/property-panel/index.umd.cjs +2 -2
  105. package/components/query-solution/index.esm.js +4142 -4190
  106. package/components/query-solution/index.umd.cjs +6 -6
  107. package/components/radio-button/index.esm.js +182 -182
  108. package/components/radio-button/index.umd.cjs +1 -1
  109. package/components/rate/index.esm.js +106 -106
  110. package/components/rate/index.umd.cjs +1 -1
  111. package/components/response-layout/index.esm.js +409 -409
  112. package/components/response-layout/index.umd.cjs +1 -1
  113. package/components/response-layout-editor/index.esm.js +1488 -1478
  114. package/components/response-layout-editor/index.umd.cjs +1 -1
  115. package/components/response-toolbar/index.esm.js +779 -776
  116. package/components/response-toolbar/index.umd.cjs +1 -1
  117. package/components/schema-selector/index.esm.js +1765 -1762
  118. package/components/schema-selector/index.umd.cjs +5 -5
  119. package/components/search-box/index.esm.js +114 -114
  120. package/components/search-box/index.umd.cjs +1 -1
  121. package/components/section/index.esm.js +1184 -1181
  122. package/components/section/index.umd.cjs +1 -1
  123. package/components/smoke-detector/index.esm.js +163 -163
  124. package/components/smoke-detector/index.umd.cjs +1 -1
  125. package/components/sort-condition-editor/index.esm.js +927 -916
  126. package/components/sort-condition-editor/index.umd.cjs +3 -3
  127. package/components/splitter/index.esm.js +3 -3
  128. package/components/splitter/index.umd.cjs +1 -1
  129. package/components/step/index.esm.js +133 -133
  130. package/components/step/index.umd.cjs +1 -1
  131. package/components/switch/index.esm.js +76 -72
  132. package/components/switch/index.umd.cjs +1 -1
  133. package/components/tabs/index.esm.js +1527 -1524
  134. package/components/tabs/index.umd.cjs +2 -2
  135. package/components/tags/index.esm.js +93 -93
  136. package/components/tags/index.umd.cjs +1 -1
  137. package/components/text/index.esm.js +138 -138
  138. package/components/text/index.umd.cjs +1 -1
  139. package/components/textarea/index.esm.js +361 -361
  140. package/components/textarea/index.umd.cjs +2 -2
  141. package/components/tooltip/index.esm.js +173 -171
  142. package/components/tooltip/index.umd.cjs +1 -1
  143. package/components/transfer/index.esm.js +130 -134
  144. package/components/transfer/index.umd.cjs +4 -4
  145. package/components/tree-grid/index.esm.js +25 -25
  146. package/components/tree-grid/index.umd.cjs +1 -1
  147. package/components/tree-view/index.esm.js +1746 -1743
  148. package/components/tree-view/index.umd.cjs +1 -1
  149. package/components/uploader/index.esm.js +170 -170
  150. package/components/uploader/index.umd.cjs +2 -2
  151. package/components/verify-detail/index.esm.js +196 -196
  152. package/components/verify-detail/index.umd.cjs +1 -1
  153. package/components/video/index.esm.js +8 -8
  154. package/components/video/index.umd.cjs +1 -1
  155. package/components/weather/index.esm.js +9 -9
  156. package/components/weather/index.umd.cjs +2 -2
  157. package/farris.all.esm.js +16987 -17002
  158. package/farris.all.umd.cjs +27 -27
  159. package/package.json +1 -1
  160. package/types/lookup/src/composition/use-dialog.d.ts +2 -0
  161. package/types/lookup/src/composition/use-input-change.d.ts +1 -0
  162. package/components/time-picker/index.css +0 -1
  163. package/components/time-picker/index.esm.js +0 -9793
  164. package/components/time-picker/index.umd.cjs +0 -1
  165. package/components/time-picker/package.json +0 -8
  166. package/components/time-picker/style.js +0 -6
  167. package/designer/button-edit/index.css +0 -1
  168. package/designer/button-edit/index.esm.js +0 -4856
  169. package/designer/button-edit/index.umd.cjs +0 -1
  170. package/designer/checkbox/index.esm.js +0 -250
  171. package/designer/checkbox/index.umd.cjs +0 -1
  172. package/designer/checkbox-group/index.esm.js +0 -377
  173. package/designer/checkbox-group/index.umd.cjs +0 -1
  174. package/designer/data-grid/index.css +0 -1
  175. package/designer/data-grid/index.esm.js +0 -15413
  176. package/designer/data-grid/index.umd.cjs +0 -23
  177. package/designer/data-view/index.esm.js +0 -854
  178. package/designer/data-view/index.umd.cjs +0 -38
  179. package/designer/drawer/index.css +0 -1
  180. package/designer/drawer/index.esm.js +0 -525
  181. package/designer/drawer/index.umd.cjs +0 -1
  182. package/designer/farris-designer.all.esm.js +0 -22320
  183. package/designer/farris-designer.all.umd.cjs +0 -34
  184. package/designer/index.css +0 -1
  185. package/designer/input-group/index.esm.js +0 -1098
  186. package/designer/input-group/index.umd.cjs +0 -1
  187. package/designer/list-view/index.css +0 -1
  188. package/designer/list-view/index.esm.js +0 -4675
  189. package/designer/list-view/index.umd.cjs +0 -40
  190. package/designer/radio-group/index.css +0 -1
  191. package/designer/radio-group/index.esm.js +0 -6980
  192. package/designer/radio-group/index.umd.cjs +0 -1
  193. package/designer/tree-grid/index.esm.js +0 -1099
  194. package/designer/tree-grid/index.umd.cjs +0 -1
@@ -2,14 +2,14 @@ var Mn = Object.defineProperty;
2
2
  var Fn = (n, e, t) => e in n ? Mn(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var X = (n, e, t) => Fn(n, typeof e != "symbol" ? e + "" : e, t);
4
4
  import { ref as b, computed as A, defineComponent as _e, watch as xe, onMounted as Ze, createVNode as M, withDirectives as Bn, vModelText as kn, nextTick as at, Fragment as rt, reactive as Le, createApp as Yt, onUnmounted as wt, Transition as Jt, mergeProps as Dt, createTextVNode as In, onBeforeMount as Pn, Teleport as Vn, shallowRef as On, render as Nt, h as Nn, cloneVNode as $n, inject as Wt } from "vue";
5
- import { isPlainObject as _t, cloneDeep as vt, isUndefined as $e } from "lodash-es";
5
+ import { cloneDeep as vt, isPlainObject as _t, isUndefined as $e } from "lodash-es";
6
6
  import { useCommonUtils as Dn, useTextBox as Ln, useClear as jn, getCustomClass as Rn, withInstall as Qt, FormSchemaEntityField$Type as ht, FormSchemaEntityFieldTypeName as Gt, getMaxZIndex as Hn, FormSchemaEntityFieldType$Type as An } from "../common/index.esm.js";
7
7
  import { getSchemaByTypeForDesigner as zn, createPropsResolver as Zt, resolveAppearance as Un } from "../dynamic-resolver/index.esm.js";
8
8
  import { DgControl as Xt } from "../designer-canvas/index.esm.js";
9
9
  import { useI18n as Lt } from "vue-i18n";
10
10
  import { LocaleService as Ct } from "../locale/index.esm.js";
11
11
  import { useResizeObserver as qn } from "@vueuse/core";
12
- import { getHierarchyRow as Wn, useIdentify as _n, useGroupData as Gn, useFilter as Xn, useHierarchy as Yn, useLoading as Jn, useDataView as Qn, useSelection as Zn, useSelectHierarchyItem as Kn, usePagination as eo, useDataViewContainerStyle as to, useCommandColumn as no, useSettingColumn as oo, useColumn as io, useSort as ro, useGroupColumn as ao, useRow as lo, useEdit as so, useVisualDataBound as uo, useVisualDataCell as co, useVisualDataRow as fo, useVisualData as po, useCellPosition as mo, useSidebar as vo, useVirtualScroll as ho, useFitColumn as go, useFilterHistory as yo, useColumnFilter as bo, useDragColumn as wo, getColumnHeader as Co, getSidebar as xo, getDisableMask as So, getHorizontalScrollbar as To, getVerticalScrollbar as Eo, getEmpty as Mo, getPagination as Fo, getSummary as Bo } from "../data-view/index.esm.js";
12
+ import { getHierarchyRow as Wn, useIdentify as _n, useGroupData as Gn, useFilter as Xn, useHierarchy as Yn, useLoading as Jn, useDataView as Qn, useSelection as Zn, useSelectHierarchyItem as Kn, usePagination as eo, useDataViewContainerStyle as to, useCommandColumn as no, useSettingColumn as oo, useColumn as io, useSort as ro, useGroupColumn as ao, useRow as lo, useEdit as so, useVisualDataBound as co, useVisualDataCell as uo, useVisualDataRow as fo, useVisualData as po, useCellPosition as mo, useSidebar as vo, useVirtualScroll as ho, useFitColumn as go, useFilterHistory as yo, useColumnFilter as bo, useDragColumn as wo, getColumnHeader as Co, getSidebar as xo, getDisableMask as So, getHorizontalScrollbar as To, getVerticalScrollbar as Eo, getEmpty as Mo, getPagination as Fo, getSummary as Bo } from "../data-view/index.esm.js";
13
13
  import "../property-panel/index.esm.js";
14
14
  import "../accordion/index.esm.js";
15
15
  import "../avatar/index.esm.js";
@@ -124,7 +124,7 @@ function Kt(n, e) {
124
124
  const d = o(m);
125
125
  return Object.keys(d).reduce((f, v) => (Object.prototype.hasOwnProperty.call(s, v) && (f[v] && _t(f[v]) && _t(s[v] || !s[v]) ? Object.assign(f[v], s[v] || {}) : f[v] = s[v]), f), d), d;
126
126
  }
127
- function c(s, m) {
127
+ function u(s, m) {
128
128
  return Object.keys(s).filter((f) => s[f] != null).reduce((f, v) => {
129
129
  if (m.has(v)) {
130
130
  const y = m.get(v);
@@ -141,9 +141,9 @@ function Kt(n, e) {
141
141
  }
142
142
  function l(s, m, d = /* @__PURE__ */ new Map()) {
143
143
  const f = a(s, m);
144
- return c(f, d);
144
+ return u(f, d);
145
145
  }
146
- function u(s) {
146
+ function c(s) {
147
147
  var d;
148
148
  const m = s.type;
149
149
  if (m) {
@@ -162,59 +162,59 @@ function Kt(n, e) {
162
162
  function p(s) {
163
163
  t = s;
164
164
  }
165
- return { getSchemaByType: r, resolveSchemaWithDefaultValue: u, resolveSchemaToProps: l, mappingSchemaToProps: c, setDesignerContext: p };
165
+ return { getSchemaByType: r, resolveSchemaWithDefaultValue: c, resolveSchemaToProps: l, mappingSchemaToProps: u, setDesignerContext: p };
166
166
  }
167
- const en = {}, tn = {}, { resolveSchemaWithDefaultValue: ko, resolveSchemaToProps: Io, mappingSchemaToProps: Po } = Kt(en, tn);
167
+ const en = {}, tn = {}, { getSchemaByType: Hl, resolveSchemaWithDefaultValue: ko, resolveSchemaToProps: Io, mappingSchemaToProps: Po, setDesignerContext: Al } = Kt(en, tn);
168
168
  function Vo(n = {}) {
169
- function e(u, p, s, m) {
169
+ function e(c, p, s, m) {
170
170
  if (typeof s == "number")
171
- return m[u].length === s;
171
+ return m[c].length === s;
172
172
  if (typeof s == "object") {
173
173
  const d = Object.keys(s)[0], f = s[d];
174
174
  if (d === "not")
175
- return Number(m[u].length) !== Number(f);
175
+ return Number(m[c].length) !== Number(f);
176
176
  if (d === "moreThan")
177
- return Number(m[u].length) >= Number(f);
177
+ return Number(m[c].length) >= Number(f);
178
178
  if (d === "lessThan")
179
- return Number(m[u].length) <= Number(f);
179
+ return Number(m[c].length) <= Number(f);
180
180
  }
181
181
  return !1;
182
182
  }
183
- function t(u, p, s, m) {
184
- return m[u] && m[u].propertyValue && String(m[u].propertyValue.value) === String(s);
183
+ function t(c, p, s, m) {
184
+ return m[c] && m[c].propertyValue && String(m[c].propertyValue.value) === String(s);
185
185
  }
186
186
  const o = /* @__PURE__ */ new Map([
187
187
  ["length", e],
188
188
  ["getProperty", t]
189
189
  ]);
190
- Object.keys(n).reduce((u, p) => (u.set(p, n[p]), u), o);
191
- function i(u, p) {
192
- const s = u;
193
- return typeof p == "number" ? [{ target: s, operator: "length", param: null, value: Number(p) }] : typeof p == "boolean" ? [{ target: s, operator: "getProperty", param: u, value: !!p }] : typeof p == "object" ? Object.keys(p).map((m) => {
190
+ Object.keys(n).reduce((c, p) => (c.set(p, n[p]), c), o);
191
+ function i(c, p) {
192
+ const s = c;
193
+ return typeof p == "number" ? [{ target: s, operator: "length", param: null, value: Number(p) }] : typeof p == "boolean" ? [{ target: s, operator: "getProperty", param: c, value: !!p }] : typeof p == "object" ? Object.keys(p).map((m) => {
194
194
  if (m === "length")
195
195
  return { target: s, operator: "length", param: null, value: p[m] };
196
196
  const d = m, f = p[m];
197
197
  return { target: s, operator: "getProperty", param: d, value: f };
198
198
  }) : [];
199
199
  }
200
- function r(u) {
201
- return Object.keys(u).reduce((s, m) => {
202
- const d = i(m, u[m]);
200
+ function r(c) {
201
+ return Object.keys(c).reduce((s, m) => {
202
+ const d = i(m, c[m]);
203
203
  return s.push(...d), s;
204
204
  }, []);
205
205
  }
206
- function a(u, p) {
207
- if (o.has(u.operator)) {
208
- const s = o.get(u.operator);
209
- return s && s(u.target, u.param, u.value, p) || !1;
206
+ function a(c, p) {
207
+ if (o.has(c.operator)) {
208
+ const s = o.get(c.operator);
209
+ return s && s(c.target, c.param, c.value, p) || !1;
210
210
  }
211
211
  return !1;
212
212
  }
213
- function c(u, p) {
214
- return r(u).reduce((d, f) => d && a(f, p), !0);
213
+ function u(c, p) {
214
+ return r(c).reduce((d, f) => d && a(f, p), !0);
215
215
  }
216
- function l(u, p) {
217
- const s = Object.keys(u), m = s.includes("allOf"), d = s.includes("anyOf"), f = m || d, T = (f ? u[f ? m ? "allOf" : "anyOf" : "allOf"] : [u]).map((z) => c(z, p));
216
+ function l(c, p) {
217
+ const s = Object.keys(c), m = s.includes("allOf"), d = s.includes("anyOf"), f = m || d, T = (f ? c[f ? m ? "allOf" : "anyOf" : "allOf"] : [c]).map((z) => u(z, p));
218
218
  return m ? !T.includes(!1) : T.includes(!0);
219
219
  }
220
220
  return { parseValueSchema: l };
@@ -511,22 +511,22 @@ function nn(n, e, t) {
511
511
  function a(f, v) {
512
512
  return () => r.parseValueSchema(f, v);
513
513
  }
514
- function c(f, v, y) {
514
+ function u(f, v, y) {
515
515
  return f.includes("visible") && v.visible !== void 0 ? typeof v.visible == "boolean" ? () => !!v.visible : v.visible === void 0 ? !0 : a(v.visible, y) : () => !0;
516
516
  }
517
517
  function l(f, v, y) {
518
518
  return f.includes("readonly") && v.readonly !== void 0 ? typeof v.readonly == "boolean" ? () => !!v.readonly : a(v.readonly, y) : () => !1;
519
519
  }
520
- function u(f, v) {
520
+ function c(f, v) {
521
521
  const y = f.$converter || v;
522
522
  return typeof y == "string" && y && o.has(y) ? o.get(y) || null : y || null;
523
523
  }
524
524
  function p(f, v, y, T, B, z = "", L = "") {
525
525
  return Object.keys(f).map((g) => {
526
- const F = b(1), x = g, P = f[g], q = Object.keys(P), C = P.title, E = P.type, N = i.get(E) || { type: "input-group", enableClear: !1 }, V = P.editor ? Object.assign({}, N, P.editor) : Object.assign({}, N), S = c(q, P, v), U = l(q, P, v);
526
+ const F = b(1), x = g, P = f[g], q = Object.keys(P), C = P.title, E = P.type, N = i.get(E) || { type: "input-group", enableClear: !1 }, V = P.editor ? Object.assign({}, N, P.editor) : Object.assign({}, N), S = u(q, P, v), U = l(q, P, v);
527
527
  V.readonly = V.readonly === void 0 ? U() : V.readonly;
528
528
  const Z = P.type === "cascade" ? p(P.properties, v, y, T, B, z, L) : [], O = !0;
529
- let I = u(P, L);
529
+ let I = c(P, L);
530
530
  const G = A({
531
531
  get() {
532
532
  if (F.value) {
@@ -588,14 +588,14 @@ function nn(n, e, t) {
588
588
  }
589
589
  const on = {}, rn = {};
590
590
  nn(on, rn, ko);
591
- const an = {}, ln = {}, { resolveSchemaWithDefaultValue: ei } = Kt(an, ln), sn = {}, un = {};
592
- nn(sn, un, ei);
593
- function lt(n, e, t = /* @__PURE__ */ new Map(), o = (a, c, l, u) => c, i = {}, r = (a) => a) {
594
- return en[e.title] = e, tn[e.title] = o, on[e.title] = i, rn[e.title] = r, an[e.title] = e, ln[e.title] = o, sn[e.title] = i, un[e.title] = r, (a = {}, c = !0) => {
595
- if (!c)
591
+ const an = {}, ln = {}, { getSchemaByType: zl, resolveSchemaWithDefaultValue: ei, resolveSchemaToProps: Ul, mappingSchemaToProps: ql, setDesignerContext: Wl } = Kt(an, ln), sn = {}, cn = {};
592
+ nn(sn, cn, ei);
593
+ function lt(n, e, t = /* @__PURE__ */ new Map(), o = (a, u, l, c) => u, i = {}, r = (a) => a) {
594
+ return en[e.title] = e, tn[e.title] = o, on[e.title] = i, rn[e.title] = r, an[e.title] = e, ln[e.title] = o, sn[e.title] = i, cn[e.title] = r, (a = {}, u = !0) => {
595
+ if (!u)
596
596
  return Po(a, t);
597
- const l = Io(a, e, t), u = Object.keys(n).reduce((p, s) => (p[s] = n[s].default, p), {});
598
- return Object.assign(u, l);
597
+ const l = Io(a, e, t), c = Object.keys(n).reduce((p, s) => (p[s] = n[s].default, p), {});
598
+ return Object.assign(c, l);
599
599
  };
600
600
  }
601
601
  function jt(n, e) {
@@ -706,12 +706,12 @@ const ti = /* @__PURE__ */ new Map([
706
706
  }
707
707
  }, si = [
708
708
  "type"
709
- ], ui = [
709
+ ], ci = [
710
710
  "id",
711
711
  "appearance",
712
712
  "binding",
713
713
  "visible"
714
- ], ci = {
714
+ ], ui = {
715
715
  $schema: ni,
716
716
  $id: oi,
717
717
  title: ii,
@@ -719,7 +719,7 @@ const ti = /* @__PURE__ */ new Map([
719
719
  type: ai,
720
720
  properties: li,
721
721
  required: si,
722
- ignore: ui
722
+ ignore: ci
723
723
  };
724
724
  function di(n, e, t) {
725
725
  return e;
@@ -777,7 +777,7 @@ const Rt = {
777
777
  lineBreak: { type: Boolean, default: "enter" }
778
778
  }, fi = Object.assign({}, Rt, {
779
779
  readonly: {}
780
- }), cn = lt(Rt, ci, ti, di), gt = /* @__PURE__ */ _e({
780
+ }), un = lt(Rt, ui, ti, di), gt = /* @__PURE__ */ _e({
781
781
  name: "FTextarea",
782
782
  props: Rt,
783
783
  emits: ["update:modelValue", "valueChange", "change", "mousedownEvent", "mouseupEvent"],
@@ -788,8 +788,8 @@ const Rt = {
788
788
  } = Dn(), o = b(), i = b(null), r = A(() => n.modelValue), a = A(() => {
789
789
  if (!(n.allowUnlimtedWhenEmpty && n.maxLength === 0 || t(n.maxLength)))
790
790
  return typeof n.maxLength == "number" && !isNaN(n.maxLength) ? n.maxLength : n.modelValue ? n.modelValue.length : 0;
791
- }), c = b(((V = n.modelValue) == null ? void 0 : V.slice(0, a.value)) || ""), l = Ln(n, e, c, r, o), {
792
- inputGroupClass: u,
791
+ }), u = b(((V = n.modelValue) == null ? void 0 : V.slice(0, a.value)) || ""), l = Ln(n, e, u, r, o), {
792
+ inputGroupClass: c,
793
793
  onBlur: p,
794
794
  onFocus: s,
795
795
  onMousedown: m,
@@ -824,11 +824,11 @@ const Rt = {
824
824
  selectionStart: O,
825
825
  selectionEnd: I
826
826
  } = i.value;
827
- c.value = c.value.slice(0, O) + `
828
- ` + c.value.slice(I), at(() => {
827
+ u.value = u.value.slice(0, O) + `
828
+ ` + u.value.slice(I), at(() => {
829
829
  var G;
830
830
  i.value.selectionStart = O + 1, i.value.selectionEnd = O + 1, (G = i.value) == null || G.focus();
831
- }), e.emit("update:modelValue", c.value), e.emit("valueChange", c.value), e.emit("change", c.value);
831
+ }), e.emit("update:modelValue", u.value), e.emit("valueChange", u.value), e.emit("change", u.value);
832
832
  return;
833
833
  }
834
834
  }, P = A(() => ({
@@ -842,7 +842,7 @@ const Rt = {
842
842
  } : S;
843
843
  }), C = A(() => n.disabled || n.readonly ? "" : n.placeholder);
844
844
  xe(() => n.modelValue, (S, U) => {
845
- S !== U && (c.value = S);
845
+ S !== U && (u.value = S);
846
846
  });
847
847
  const E = () => i.value;
848
848
  e.expose({
@@ -859,7 +859,7 @@ const Rt = {
859
859
  N();
860
860
  }), () => M("div", {
861
861
  ref: o,
862
- class: u.value,
862
+ class: c.value,
863
863
  onMouseenter: T,
864
864
  onMouseleave: B,
865
865
  style: "position:relative"
@@ -867,7 +867,7 @@ const Rt = {
867
867
  ref: i,
868
868
  class: P.value,
869
869
  id: n.id,
870
- "onUpdate:modelValue": (S) => c.value = S,
870
+ "onUpdate:modelValue": (S) => u.value = S,
871
871
  minlength: n.minLength,
872
872
  maxlength: a.value,
873
873
  tabindex: n.tabIndex,
@@ -885,7 +885,7 @@ const Rt = {
885
885
  onMousedown: m,
886
886
  onMouseup: d,
887
887
  style: q.value
888
- }, null), [[kn, c.value]]), L.value && M("span", {
888
+ }, null), [[kn, u.value]]), L.value && M("span", {
889
889
  id: "clearIcon",
890
890
  class: z.value,
891
891
  style: w.value,
@@ -899,13 +899,13 @@ function pi(n, e, t) {
899
899
  var C;
900
900
  const o = t && t.getStyles && t.getStyles() || "", i = t && t.getDesignerClass && t.getDesignerClass() || "", r = b();
901
901
  let a;
902
- function c() {
902
+ function u() {
903
903
  return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 : t && t.checkCanMoveComponent ? t.checkCanMoveComponent() : !0;
904
904
  }
905
905
  function l() {
906
906
  return !1;
907
907
  }
908
- function u() {
908
+ function c() {
909
909
  return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 : t && t.checkCanDeleteComponent ? t.checkCanDeleteComponent() : !0;
910
910
  }
911
911
  function p() {
@@ -1024,9 +1024,9 @@ function pi(n, e, t) {
1024
1024
  return t.onPropertyChanged(E);
1025
1025
  }
1026
1026
  return r.value = {
1027
- canMove: c(),
1027
+ canMove: u(),
1028
1028
  canSelectParent: l(),
1029
- canDelete: u(),
1029
+ canDelete: c(),
1030
1030
  canNested: !p(),
1031
1031
  contents: e == null ? void 0 : e.schema.contents,
1032
1032
  elementRef: n,
@@ -1059,30 +1059,30 @@ function vi() {
1059
1059
  const dt = b(0);
1060
1060
  function hi(n) {
1061
1061
  const { formSchemaUtils: e, formStateMachineUtils: t } = n;
1062
- function o(l, u = "") {
1062
+ function o(l, c = "") {
1063
1063
  return {
1064
- path: u + l.code,
1064
+ path: c + l.code,
1065
1065
  field: l.id,
1066
1066
  fullPath: l.code
1067
1067
  };
1068
1068
  }
1069
- function i(l, u = "") {
1070
- return e.getViewModelById(l).states.map((s) => o(s, u));
1069
+ function i(l, c = "") {
1070
+ return e.getViewModelById(l).states.map((s) => o(s, c));
1071
1071
  }
1072
1072
  function r(l) {
1073
- const u = e.getRootViewModelId(), p = i(l);
1074
- if (l === u)
1073
+ const c = e.getRootViewModelId(), p = i(l);
1074
+ if (l === c)
1075
1075
  return p;
1076
- const s = i(u, "root-component.");
1076
+ const s = i(c, "root-component.");
1077
1077
  return [...p, ...s];
1078
1078
  }
1079
1079
  function a(l) {
1080
1080
  return l.binding && l.binding.path || l.id || "";
1081
1081
  }
1082
- function c() {
1082
+ function u() {
1083
1083
  return t && t.getRenderStates() || [];
1084
1084
  }
1085
- return { getVariables: r, getControlName: a, getStateMachines: c };
1085
+ return { getVariables: r, getControlName: a, getStateMachines: u };
1086
1086
  }
1087
1087
  class dn {
1088
1088
  constructor(e) {
@@ -1134,16 +1134,16 @@ class dn {
1134
1134
  });
1135
1135
  X(this, "getExpressionConverter", (e, t) => ({
1136
1136
  convertFrom: (o, i, r, a) => {
1137
- const c = r.getExpressionRuleValue(e, t || i);
1138
- return c && c.value || "";
1137
+ const u = r.getExpressionRuleValue(e, t || i);
1138
+ return u && u.value || "";
1139
1139
  },
1140
- convertTo: (o, i, r, a, c) => {
1140
+ convertTo: (o, i, r, a, u) => {
1141
1141
  var l;
1142
1142
  if (i === "dataPicking" && (r != null && r.target)) {
1143
- const u = `${r.target}_dataPicking`;
1143
+ const c = `${r.target}_dataPicking`;
1144
1144
  ((l = r.rules) == null ? void 0 : l.some(
1145
- (s) => s.id === u && s.value
1146
- )) ? o.dictPickingExpressionId = u : delete o.dictPickingExpressionId;
1145
+ (s) => s.id === c && s.value
1146
+ )) ? o.dictPickingExpressionId = c : delete o.dictPickingExpressionId;
1147
1147
  }
1148
1148
  a.updateExpression(r);
1149
1149
  }
@@ -1190,10 +1190,10 @@ class dn {
1190
1190
  buildEntityFieldsTreeData(e = null, t) {
1191
1191
  const o = [];
1192
1192
  return e == null || e.forEach((i) => {
1193
- var c;
1193
+ var u;
1194
1194
  const r = this.createTreeNode(i, t);
1195
1195
  let a = [];
1196
- (c = i.type) != null && c.fields && (a = this.buildEntityFieldsTreeData(i.type.fields, [...t, i.label])), o.push({
1196
+ (u = i.type) != null && u.fields && (a = this.buildEntityFieldsTreeData(i.type.fields, [...t, i.label])), o.push({
1197
1197
  data: r,
1198
1198
  children: a,
1199
1199
  expanded: !0
@@ -1203,11 +1203,11 @@ class dn {
1203
1203
  buildChildEntityTreeData(e = null, t) {
1204
1204
  const o = [];
1205
1205
  return e == null || e.forEach((i) => {
1206
- var l, u;
1206
+ var l, c;
1207
1207
  const r = this.createTreeNode(i, t);
1208
1208
  r.type = "entity";
1209
- const a = this.buildEntityFieldsTreeData((l = i.type) == null ? void 0 : l.fields, [...t, i.label]), c = this.buildChildEntityTreeData((u = i.type) == null ? void 0 : u.entities, [...t, i.label]);
1210
- c != null && c.length && (a == null || a.push(...c)), o.push({
1209
+ const a = this.buildEntityFieldsTreeData((l = i.type) == null ? void 0 : l.fields, [...t, i.label]), u = this.buildChildEntityTreeData((c = i.type) == null ? void 0 : c.entities, [...t, i.label]);
1210
+ u != null && u.length && (a == null || a.push(...u)), o.push({
1211
1211
  data: r,
1212
1212
  children: a || [],
1213
1213
  // 空值回退
@@ -1249,19 +1249,19 @@ class dn {
1249
1249
  };
1250
1250
  }
1251
1251
  onBeforeOpenExpression(e, t, o) {
1252
- const i = o === "Field" ? e.binding.field : e.id, r = this.getExpressionRule(i, t), a = this.getEntitiesAndVariables(), c = {
1252
+ const i = o === "Field" ? e.binding.field : e.id, r = this.getExpressionRule(i, t), a = this.getEntitiesAndVariables(), u = {
1253
1253
  message: ["validate", "required", "dataPicking"].includes(t) && r ? r.message : "",
1254
1254
  ...a
1255
1255
  };
1256
- return r.messageType != null && (c.messageType = r.messageType), c;
1256
+ return r.messageType != null && (u.messageType = r.messageType), u;
1257
1257
  }
1258
1258
  buildRule(e, t, o, i) {
1259
- const { expression: r, message: a, messageType: c } = t, l = {
1259
+ const { expression: r, message: a, messageType: u } = t, l = {
1260
1260
  id: `${e}_${o}`,
1261
1261
  type: o,
1262
1262
  value: r
1263
1263
  };
1264
- return (o === "validate" || o === "dataPicking" || o === "required") && (l.message = a), o === "dataPicking" && (l.messageType = c), o === "validate" && i && (l.elementId = i), l;
1264
+ return (o === "validate" || o === "dataPicking" || o === "required") && (l.message = a), o === "dataPicking" && (l.messageType = u), o === "validate" && i && (l.elementId = i), l;
1265
1265
  }
1266
1266
  getExpressionData() {
1267
1267
  const { expressions: e } = this.formSchemaService.getFormSchema().module;
@@ -1270,18 +1270,18 @@ class dn {
1270
1270
  updateExpression(e, t, o, i) {
1271
1271
  const r = t === "Field" ? e.binding.field : e.id, a = this.buildRule(r, o, i, e.type === "form-group" ? e.id : "");
1272
1272
  let l = this.getExpressionData().find((p) => p.targetType === t && p.target === r);
1273
- const u = (p) => p.value.trim() === "";
1273
+ const c = (p) => p.value.trim() === "";
1274
1274
  if (l) {
1275
1275
  const p = l.rules.find((s) => s.id === a.id);
1276
1276
  if (p)
1277
- u(a) ? l.rules = l.rules.filter((s) => s.id !== a.id) : (Object.assign(p, a), i === "validate" && e.type === "form-group" && (p.elementId = e.id));
1277
+ c(a) ? l.rules = l.rules.filter((s) => s.id !== a.id) : (Object.assign(p, a), i === "validate" && e.type === "form-group" && (p.elementId = e.id));
1278
1278
  else {
1279
- if (u(a))
1279
+ if (c(a))
1280
1280
  return null;
1281
1281
  l.rules = l.rules || [], l.rules.push(a);
1282
1282
  }
1283
1283
  } else {
1284
- if (u(a))
1284
+ if (c(a))
1285
1285
  return null;
1286
1286
  l = {
1287
1287
  target: `${r}`,
@@ -1293,14 +1293,14 @@ class dn {
1293
1293
  }
1294
1294
  getExpressionEditorOptions(e, t, o, i) {
1295
1295
  return o.reduce((r, a) => {
1296
- var l, u;
1297
- const c = t === "Field" ? (l = e == null ? void 0 : e.binding) == null ? void 0 : l.field : e.id;
1296
+ var l, c;
1297
+ const u = t === "Field" ? (l = e == null ? void 0 : e.binding) == null ? void 0 : l.field : e.id;
1298
1298
  return r[a] = {
1299
- hide: t === "Field" ? !!((u = e == null ? void 0 : e.binding) != null && u.field) : !1,
1299
+ hide: t === "Field" ? !!((c = e == null ? void 0 : e.binding) != null && c.field) : !1,
1300
1300
  description: "",
1301
1301
  title: this.expressionNames[a],
1302
1302
  type: "string",
1303
- $converter: this.getExpressionConverter(c),
1303
+ $converter: this.getExpressionConverter(u),
1304
1304
  refreshPanelAfterChanged: !0,
1305
1305
  editor: {
1306
1306
  type: "expression-editor",
@@ -1312,7 +1312,7 @@ class dn {
1312
1312
  onSubmitModal: (p) => {
1313
1313
  const s = this.updateExpression(e, t, p, a);
1314
1314
  if (i) {
1315
- const m = this.buildRule(c, p, a);
1315
+ const m = this.buildRule(u, p, a);
1316
1316
  i(m);
1317
1317
  }
1318
1318
  return s;
@@ -1443,7 +1443,7 @@ class gi {
1443
1443
  return {
1444
1444
  ...i,
1445
1445
  properties: { ...r },
1446
- setPropertyRelates(a, c) {
1446
+ setPropertyRelates(a, u) {
1447
1447
  if (a) {
1448
1448
  switch (a && a.propertyID) {
1449
1449
  case "class":
@@ -1452,7 +1452,7 @@ class gi {
1452
1452
  break;
1453
1453
  }
1454
1454
  }
1455
- o && o(a, e, c);
1455
+ o && o(a, e, u);
1456
1456
  }
1457
1457
  }
1458
1458
  };
@@ -1468,7 +1468,7 @@ class gi {
1468
1468
  * @returns
1469
1469
  */
1470
1470
  getPropertyEditorParams(e, t = [], o = "visible", i = {}, r = {}, a = "") {
1471
- const { getVariables: c, getControlName: l, getStateMachines: u } = hi(this.designerHostService), p = this.getRealTargetType(e), s = t && t.length > 0 ? t : ["Const", "Variable", "StateMachine", "Expression"], m = {
1471
+ const { getVariables: u, getControlName: l, getStateMachines: c } = hi(this.designerHostService), p = this.getRealTargetType(e), s = t && t.length > 0 ? t : ["Const", "Variable", "StateMachine", "Expression"], m = {
1472
1472
  type: "property-editor",
1473
1473
  propertyTypes: s
1474
1474
  };
@@ -1484,16 +1484,16 @@ class gi {
1484
1484
  m.expressionConfig = this.getExpressionOptions(e, p, a || o);
1485
1485
  break;
1486
1486
  case "StateMachine":
1487
- m.stateMachines = u();
1487
+ m.stateMachines = c();
1488
1488
  break;
1489
1489
  case "Variable":
1490
1490
  Object.assign(m, {
1491
1491
  controlName: l(e),
1492
1492
  newVariablePrefix: "is",
1493
1493
  newVariableType: "Boolean",
1494
- variables: c(this.viewModelId),
1494
+ variables: u(this.viewModelId),
1495
1495
  onBeforeOpenVariables: (f) => {
1496
- f.value = c(this.viewModelId);
1496
+ f.value = u(this.viewModelId);
1497
1497
  }
1498
1498
  }, r);
1499
1499
  break;
@@ -1525,20 +1525,20 @@ class gi {
1525
1525
  }, a = this.getVisibleProperty(e, t);
1526
1526
  for (const l in o)
1527
1527
  a[l] = Object.assign(a[l] || {}, o[l]);
1528
- const c = this;
1528
+ const u = this;
1529
1529
  return {
1530
1530
  ...r,
1531
1531
  properties: { ...a },
1532
- setPropertyRelates(l, u) {
1532
+ setPropertyRelates(l, c) {
1533
1533
  if (l) {
1534
1534
  switch (l.propertyID) {
1535
1535
  case "disabled":
1536
1536
  case "readonly":
1537
1537
  case "visible":
1538
- c.afterMutilEditorChanged(e, l);
1538
+ u.afterMutilEditorChanged(e, l);
1539
1539
  break;
1540
1540
  }
1541
- i && i(l, u);
1541
+ i && i(l, c);
1542
1542
  }
1543
1543
  }
1544
1544
  };
@@ -1591,16 +1591,16 @@ class gi {
1591
1591
  const t = e.propertyValue;
1592
1592
  if (!((t && t.type) === "Expression" && t.expressionInfo))
1593
1593
  return;
1594
- const { expressionId: r, expressionInfo: a } = t, { targetId: c, targetType: l, expressionType: u, value: p, message: s } = a, m = this.formSchemaUtils.getModule();
1594
+ const { expressionId: r, expressionInfo: a } = t, { targetId: u, targetType: l, expressionType: c, value: p, message: s } = a, m = this.formSchemaUtils.getModule();
1595
1595
  m.expressions = m.expressions || [];
1596
1596
  const { expressions: d } = m;
1597
- let f = d.find((y) => y.target === c);
1598
- f || (f = { target: c, rules: [], targetType: l }, d.push(f));
1599
- const v = f.rules.find((y) => y.type === u);
1597
+ let f = d.find((y) => y.target === u);
1598
+ f || (f = { target: u, rules: [], targetType: l }, d.push(f));
1599
+ const v = f.rules.find((y) => y.type === c);
1600
1600
  if (v)
1601
1601
  v.value = p, v.message = s;
1602
1602
  else {
1603
- const y = { id: r, type: u, value: p, message: s };
1603
+ const y = { id: r, type: c, value: p, message: s };
1604
1604
  f.rules.push(y);
1605
1605
  }
1606
1606
  delete t.expressionInfo;
@@ -1615,8 +1615,8 @@ class gi {
1615
1615
  const o = e.propertyValue;
1616
1616
  if (o && o.type === "Expression")
1617
1617
  return;
1618
- const r = e.propertyID, a = this.formSchemaUtils.getExpressions(), c = t.binding ? t.binding.field : t.id, l = a.find((u) => u.target === c);
1619
- !l || !l.rules || (l.rules = l.rules.filter((u) => u.type !== r));
1618
+ const r = e.propertyID, a = this.formSchemaUtils.getExpressions(), u = t.binding ? t.binding.field : t.id, l = a.find((c) => c.target === u);
1619
+ !l || !l.rules || (l.rules = l.rules.filter((c) => c.type !== r));
1620
1620
  }
1621
1621
  getExpressionOptions(e, t, o) {
1622
1622
  return new dn(this.formSchemaUtils).getExpressionOptions(e, t, o);
@@ -1784,7 +1784,7 @@ function bi(n) {
1784
1784
  y ? r(y, T) : T.isSupportedClass = !1, T.label = v.label || v.id, T.id = v.id, T.group = m, d && (T.fieldSetId = p.id), t === v.id && (e = m), o.set(v.id, v), s.push(T);
1785
1785
  });
1786
1786
  }
1787
- function c(p) {
1787
+ function u(p) {
1788
1788
  const s = n.getComponentById(p);
1789
1789
  if (!s || !s.componentType || !s.componentType.startsWith("form"))
1790
1790
  return { result: !1, message: "只可以在响应式表单组件中调整响应式布局配置" };
@@ -1793,7 +1793,7 @@ function bi(n) {
1793
1793
  }
1794
1794
  function l(p, s) {
1795
1795
  s = s || p.id;
1796
- const { result: m, message: d, formNode: f } = c(s);
1796
+ const { result: m, message: d, formNode: f } = u(s);
1797
1797
  if (!m)
1798
1798
  return { result: m, message: d };
1799
1799
  t = p.id, i = [], o.clear();
@@ -1808,9 +1808,9 @@ function bi(n) {
1808
1808
  importData: i
1809
1809
  };
1810
1810
  }
1811
- function u(p, s) {
1811
+ function c(p, s) {
1812
1812
  s = s;
1813
- const { result: m, formNode: d } = c(s);
1813
+ const { result: m, formNode: d } = u(s);
1814
1814
  if (!m)
1815
1815
  return "";
1816
1816
  const f = [];
@@ -1829,14 +1829,14 @@ function bi(n) {
1829
1829
  }), d.contents = f, d.id;
1830
1830
  }
1831
1831
  return {
1832
- checkCanFindFormNode: c,
1832
+ checkCanFindFormNode: u,
1833
1833
  checkCanOpenLayoutEditor: l,
1834
- changeFormControlsByResponseLayoutConfig: u,
1834
+ changeFormControlsByResponseLayoutConfig: c,
1835
1835
  getResonseFormLayoutConfig: a
1836
1836
  };
1837
1837
  }
1838
1838
  var De = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1839
- function ct(n) {
1839
+ function ut(n) {
1840
1840
  throw new Error('Could not dynamically require "' + n + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
1841
1841
  }
1842
1842
  var wi = { exports: {} };
@@ -1846,35 +1846,35 @@ var wi = { exports: {} };
1846
1846
  })(function() {
1847
1847
  return (/* @__PURE__ */ function() {
1848
1848
  function t(o, i, r) {
1849
- function a(u, p) {
1850
- if (!i[u]) {
1851
- if (!o[u]) {
1852
- var s = typeof ct == "function" && ct;
1853
- if (!p && s) return s(u, !0);
1854
- if (c) return c(u, !0);
1855
- var m = new Error("Cannot find module '" + u + "'");
1849
+ function a(c, p) {
1850
+ if (!i[c]) {
1851
+ if (!o[c]) {
1852
+ var s = typeof ut == "function" && ut;
1853
+ if (!p && s) return s(c, !0);
1854
+ if (u) return u(c, !0);
1855
+ var m = new Error("Cannot find module '" + c + "'");
1856
1856
  throw m.code = "MODULE_NOT_FOUND", m;
1857
1857
  }
1858
- var d = i[u] = { exports: {} };
1859
- o[u][0].call(d.exports, function(f) {
1860
- var v = o[u][1][f];
1858
+ var d = i[c] = { exports: {} };
1859
+ o[c][0].call(d.exports, function(f) {
1860
+ var v = o[c][1][f];
1861
1861
  return a(v || f);
1862
1862
  }, d, d.exports, t, o, i, r);
1863
1863
  }
1864
- return i[u].exports;
1864
+ return i[c].exports;
1865
1865
  }
1866
- for (var c = typeof ct == "function" && ct, l = 0; l < r.length; l++) a(r[l]);
1866
+ for (var u = typeof ut == "function" && ut, l = 0; l < r.length; l++) a(r[l]);
1867
1867
  return a;
1868
1868
  }
1869
1869
  return t;
1870
1870
  }())({
1871
1871
  1: [function(t, o, i) {
1872
- var r = {}, a = "(?:^|\\s)", c = "(?:\\s|$)";
1872
+ var r = {}, a = "(?:^|\\s)", u = "(?:\\s|$)";
1873
1873
  function l(s) {
1874
1874
  var m = r[s];
1875
- return m ? m.lastIndex = 0 : r[s] = m = new RegExp(a + s + c, "g"), m;
1875
+ return m ? m.lastIndex = 0 : r[s] = m = new RegExp(a + s + u, "g"), m;
1876
1876
  }
1877
- function u(s, m) {
1877
+ function c(s, m) {
1878
1878
  var d = s.className;
1879
1879
  d.length ? l(m).test(d) || (s.className += " " + m) : s.className = m;
1880
1880
  }
@@ -1882,18 +1882,18 @@ var wi = { exports: {} };
1882
1882
  s.className = s.className.replace(l(m), " ").trim();
1883
1883
  }
1884
1884
  o.exports = {
1885
- add: u,
1885
+ add: c,
1886
1886
  rm: p
1887
1887
  };
1888
1888
  }, {}],
1889
1889
  2: [function(t, o, i) {
1890
1890
  (function(r) {
1891
- var a = t("contra/emitter"), c = t("crossvent"), l = t("./classes"), u = document, p = u.documentElement;
1891
+ var a = t("contra/emitter"), u = t("crossvent"), l = t("./classes"), c = document, p = c.documentElement;
1892
1892
  function s(C, E) {
1893
1893
  var N = arguments.length;
1894
1894
  N === 1 && Array.isArray(C) === !1 && (E = C, C = []);
1895
1895
  var V, S, U, Z, O, I, G, R, te, ve = null, he, J, ie = !1, se = 0, ne, W = E || {};
1896
- W.moves === void 0 && (W.moves = B), W.accepts === void 0 && (W.accepts = B), W.invalid === void 0 && (W.invalid = et), W.containers === void 0 && (W.containers = C || []), W.isContainer === void 0 && (W.isContainer = T), W.copy === void 0 && (W.copy = !1), W.copySortSource === void 0 && (W.copySortSource = !1), W.revertOnSpill === void 0 && (W.revertOnSpill = !1), W.removeOnSpill === void 0 && (W.removeOnSpill = !1), W.direction === void 0 && (W.direction = "vertical"), W.ignoreInputTextSelection === void 0 && (W.ignoreInputTextSelection = !0), W.mirrorContainer === void 0 && (W.mirrorContainer = u.body);
1896
+ W.moves === void 0 && (W.moves = B), W.accepts === void 0 && (W.accepts = B), W.invalid === void 0 && (W.invalid = et), W.containers === void 0 && (W.containers = C || []), W.isContainer === void 0 && (W.isContainer = T), W.copy === void 0 && (W.copy = !1), W.copySortSource === void 0 && (W.copySortSource = !1), W.revertOnSpill === void 0 && (W.revertOnSpill = !1), W.removeOnSpill === void 0 && (W.removeOnSpill = !1), W.direction === void 0 && (W.direction = "vertical"), W.ignoreInputTextSelection === void 0 && (W.ignoreInputTextSelection = !0), W.mirrorContainer === void 0 && (W.mirrorContainer = c.body);
1897
1897
  var oe = a({
1898
1898
  containers: W.containers,
1899
1899
  start: Te,
@@ -1918,7 +1918,7 @@ var wi = { exports: {} };
1918
1918
  }
1919
1919
  function Ge(h) {
1920
1920
  var $ = h ? "remove" : "add";
1921
- c[$](p, "selectstart", Xe), c[$](p, "click", Xe);
1921
+ u[$](p, "selectstart", Xe), u[$](p, "click", Xe);
1922
1922
  }
1923
1923
  function Re() {
1924
1924
  Ie(!0), Ne({});
@@ -1942,7 +1942,7 @@ var wi = { exports: {} };
1942
1942
  }
1943
1943
  if (!(h.clientX !== void 0 && Math.abs(h.clientX - Z) <= (W.slideFactorX || 0) && h.clientY !== void 0 && Math.abs(h.clientY - O) <= (W.slideFactorY || 0))) {
1944
1944
  if (W.ignoreInputTextSelection) {
1945
- var $ = q("clientX", h) || 0, j = q("clientY", h) || 0, _ = u.elementFromPoint($, j);
1945
+ var $ = q("clientX", h) || 0, j = q("clientY", h) || 0, _ = c.elementFromPoint($, j);
1946
1946
  if (g(_))
1947
1947
  return;
1948
1948
  }
@@ -1991,7 +1991,7 @@ var wi = { exports: {} };
1991
1991
  }
1992
1992
  function Ne(h) {
1993
1993
  if (Be(), !!oe.dragging) {
1994
- var $ = R || U, j = q("clientX", h) || 0, _ = q("clientY", h) || 0, K = y(V, j, _), ee = ue(K, j, _);
1994
+ var $ = R || U, j = q("clientX", h) || 0, _ = q("clientY", h) || 0, K = y(V, j, _), ee = ce(K, j, _);
1995
1995
  ee && (R && W.copySortSource || !R || ee !== S) ? Ye($, ee) : W.removeOnSpill ? Je() : k();
1996
1996
  }
1997
1997
  }
@@ -2019,7 +2019,7 @@ var wi = { exports: {} };
2019
2019
  var j;
2020
2020
  return $ !== void 0 ? j = $ : V ? j = G : j = x(R || U), h === S && j === I;
2021
2021
  }
2022
- function ue(h, $, j) {
2022
+ function ce(h, $, j) {
2023
2023
  for (var _ = h; _ && !K(); )
2024
2024
  _ = w(_);
2025
2025
  return _;
@@ -2027,7 +2027,7 @@ var wi = { exports: {} };
2027
2027
  var ee = je(_);
2028
2028
  if (ee === !1)
2029
2029
  return !1;
2030
- var Ce = st(_, h), ge = ut(_, Ce, $, j), ye = le(_, ge);
2030
+ var Ce = st(_, h), ge = ct(_, Ce, $, j), ye = le(_, ge);
2031
2031
  return ye ? !0 : W.accepts(U, _, S, ge);
2032
2032
  }
2033
2033
  }
@@ -2037,7 +2037,7 @@ var wi = { exports: {} };
2037
2037
  h.preventDefault();
2038
2038
  var $ = q("clientX", h) || 0, j = q("clientY", h) || 0;
2039
2039
  V.style.left = $ - 2 + "px", V.style.top = j - 2 + "px";
2040
- var _ = R || U, K = y(V, $, j), ee = ue(K, $, j), Ce = ee !== null && ee !== ve;
2040
+ var _ = R || U, K = y(V, $, j), ee = ce(K, $, j), Ce = ee !== null && ee !== ve;
2041
2041
  (Ce || ee === null) && (be(), ve = ee, Me()), Vt(K, j);
2042
2042
  var ge = w(_);
2043
2043
  if (ee === S && R && !W.copySortSource) {
@@ -2046,7 +2046,7 @@ var wi = { exports: {} };
2046
2046
  }
2047
2047
  var ye, Ee = st(ee, K);
2048
2048
  if (ie = tt(Ee, ee), Ee !== null)
2049
- ye = ut(ee, Ee, $, j);
2049
+ ye = ct(ee, Ee, $, j);
2050
2050
  else if (W.revertOnSpill === !0 && !R)
2051
2051
  ye = I, ee = S;
2052
2052
  else {
@@ -2054,14 +2054,14 @@ var wi = { exports: {} };
2054
2054
  return;
2055
2055
  }
2056
2056
  J.style.display = "block", xt(ye, _, Ce), ye ? It(Ee, ye) : Pt(ee);
2057
- function ce(pe) {
2057
+ function ue(pe) {
2058
2058
  oe.emit(pe, _, ve, S);
2059
2059
  }
2060
2060
  function Me() {
2061
- Ce && ce("over");
2061
+ Ce && ue("over");
2062
2062
  }
2063
2063
  function be() {
2064
- ve && ce("out");
2064
+ ve && ue("out");
2065
2065
  }
2066
2066
  }
2067
2067
  function xt(h, $, j) {
@@ -2165,26 +2165,26 @@ var wi = { exports: {} };
2165
2165
  ne.scrollBy(0, ee), j && ne.contains(j) && (se = se + ee);
2166
2166
  }
2167
2167
  }
2168
- function ut(h, $, j, _) {
2168
+ function ct(h, $, j, _) {
2169
2169
  var K = W.direction === "horizontal", ee = W.direction === "mixed", Ce = $ !== h ? ye() : ge();
2170
2170
  return Ce;
2171
2171
  function ge() {
2172
- var ce = h.children.length, Me, be, pe;
2173
- for (Me = 0; Me < ce; Me++)
2172
+ var ue = h.children.length, Me, be, pe;
2173
+ for (Me = 0; Me < ue; Me++)
2174
2174
  if (be = h.children[Me], pe = be.getBoundingClientRect(), K && pe.left + pe.width / 2 > j || !ee && !K && pe.top + pe.height / 2 > _ || ee && pe.left + pe.width > j && pe.top + pe.height > _)
2175
2175
  return be;
2176
2176
  return null;
2177
2177
  }
2178
2178
  function ye() {
2179
- var ce = $.getBoundingClientRect();
2179
+ var ue = $.getBoundingClientRect();
2180
2180
  if (ee) {
2181
- var Me = _ - ce.top, be = j - ce.left, pe = ce.bottom - _, nt = ce.right - j, ot = Math.min(be, nt, Me, pe), it;
2181
+ var Me = _ - ue.top, be = j - ue.left, pe = ue.bottom - _, nt = ue.right - j, ot = Math.min(be, nt, Me, pe), it;
2182
2182
  return ie ? it = nt < be : it = pe === ot || nt === ot || be === ot, Ee(it);
2183
2183
  }
2184
- return Ee(K ? j > ce.left + z(ce) / 2 : _ > ce.top + L(ce) / 2);
2184
+ return Ee(K ? j > ue.left + z(ue) / 2 : _ > ue.top + L(ue) / 2);
2185
2185
  }
2186
- function Ee(ce) {
2187
- return ce ? x($) : $;
2186
+ function Ee(ue) {
2187
+ return ue ? x($) : $;
2188
2188
  }
2189
2189
  }
2190
2190
  function Ot(h, $) {
@@ -2224,7 +2224,7 @@ var wi = { exports: {} };
2224
2224
  mousedown: "MSPointerDown",
2225
2225
  mousemove: "MSPointerMove"
2226
2226
  };
2227
- r.navigator.pointerEnabled ? c[E](C, U[N], V) : r.navigator.msPointerEnabled ? c[E](C, Z[N], V) : (c[E](C, S[N], V), c[E](C, N, V));
2227
+ r.navigator.pointerEnabled ? u[E](C, U[N], V) : r.navigator.msPointerEnabled ? u[E](C, Z[N], V) : (u[E](C, S[N], V), u[E](C, N, V));
2228
2228
  }
2229
2229
  function v(C) {
2230
2230
  if (C.touches !== void 0)
@@ -2240,7 +2240,7 @@ var wi = { exports: {} };
2240
2240
  function y(C, E, N) {
2241
2241
  C = C || {};
2242
2242
  var V = C.className || "", S;
2243
- return C.className += " gu-hide", S = u.elementFromPoint(E, N), C.className = V, S;
2243
+ return C.className += " gu-hide", S = c.elementFromPoint(E, N), C.className = V, S;
2244
2244
  }
2245
2245
  function T() {
2246
2246
  return !1;
@@ -2255,7 +2255,7 @@ var wi = { exports: {} };
2255
2255
  return C.height || C.bottom - C.top;
2256
2256
  }
2257
2257
  function w(C) {
2258
- return C.parentNode === u ? null : C.parentNode;
2258
+ return C.parentNode === c ? null : C.parentNode;
2259
2259
  }
2260
2260
  function g(C) {
2261
2261
  return C.tagName === "INPUT" || C.tagName === "TEXTAREA" || C.tagName === "SELECT" || F(C);
@@ -2289,22 +2289,22 @@ var wi = { exports: {} };
2289
2289
  }).call(this, typeof De < "u" ? De : typeof self < "u" ? self : typeof window < "u" ? window : {});
2290
2290
  }, { "./classes": 1, "contra/emitter": 5, crossvent: 6 }],
2291
2291
  3: [function(t, o, i) {
2292
- o.exports = function(a, c) {
2293
- return Array.prototype.slice.call(a, c);
2292
+ o.exports = function(a, u) {
2293
+ return Array.prototype.slice.call(a, u);
2294
2294
  };
2295
2295
  }, {}],
2296
2296
  4: [function(t, o, i) {
2297
2297
  var r = t("ticky");
2298
- o.exports = function(c, l, u) {
2299
- c && r(function() {
2300
- c.apply(u || null, l || []);
2298
+ o.exports = function(u, l, c) {
2299
+ u && r(function() {
2300
+ u.apply(c || null, l || []);
2301
2301
  });
2302
2302
  };
2303
2303
  }, { ticky: 10 }],
2304
2304
  5: [function(t, o, i) {
2305
2305
  var r = t("atoa"), a = t("./debounce");
2306
- o.exports = function(l, u) {
2307
- var p = u || {}, s = {};
2306
+ o.exports = function(l, c) {
2307
+ var p = c || {}, s = {};
2308
2308
  return l === void 0 && (l = {}), l.on = function(m, d) {
2309
2309
  return s[m] ? s[m].push(d) : s[m] = [d], l;
2310
2310
  }, l.once = function(m, d) {
@@ -2340,9 +2340,9 @@ var wi = { exports: {} };
2340
2340
  }, { "./debounce": 4, atoa: 3 }],
2341
2341
  6: [function(t, o, i) {
2342
2342
  (function(r) {
2343
- var a = t("custom-event"), c = t("./eventmap"), l = r.document, u = m, p = f, s = [];
2344
- r.addEventListener || (u = d, p = v), o.exports = {
2345
- add: u,
2343
+ var a = t("custom-event"), u = t("./eventmap"), l = r.document, c = m, p = f, s = [];
2344
+ r.addEventListener || (c = d, p = v), o.exports = {
2345
+ add: c,
2346
2346
  remove: p,
2347
2347
  fabricate: y
2348
2348
  };
@@ -2361,7 +2361,7 @@ var wi = { exports: {} };
2361
2361
  return w.detachEvent("on" + g, x);
2362
2362
  }
2363
2363
  function y(w, g, F) {
2364
- var x = c.indexOf(g) === -1 ? q() : P();
2364
+ var x = u.indexOf(g) === -1 ? q() : P();
2365
2365
  w.dispatchEvent ? w.dispatchEvent(x) : w.fireEvent("on" + g, x);
2366
2366
  function P() {
2367
2367
  var C;
@@ -2407,16 +2407,16 @@ var wi = { exports: {} };
2407
2407
  }, { "./eventmap": 7, "custom-event": 8 }],
2408
2408
  7: [function(t, o, i) {
2409
2409
  (function(r) {
2410
- var a = [], c = "", l = /^on/;
2411
- for (c in r)
2412
- l.test(c) && a.push(c.slice(2));
2410
+ var a = [], u = "", l = /^on/;
2411
+ for (u in r)
2412
+ l.test(u) && a.push(u.slice(2));
2413
2413
  o.exports = a;
2414
2414
  }).call(this, typeof De < "u" ? De : typeof self < "u" ? self : typeof window < "u" ? window : {});
2415
2415
  }, {}],
2416
2416
  8: [function(t, o, i) {
2417
2417
  (function(r) {
2418
2418
  var a = r.CustomEvent;
2419
- function c() {
2419
+ function u() {
2420
2420
  try {
2421
2421
  var l = new a("cat", { detail: { foo: "bar" } });
2422
2422
  return l.type === "cat" && l.detail.foo === "bar";
@@ -2424,27 +2424,27 @@ var wi = { exports: {} };
2424
2424
  }
2425
2425
  return !1;
2426
2426
  }
2427
- o.exports = c() ? a : (
2427
+ o.exports = u() ? a : (
2428
2428
  // IE >= 9
2429
- typeof document < "u" && typeof document.createEvent == "function" ? function(u, p) {
2429
+ typeof document < "u" && typeof document.createEvent == "function" ? function(c, p) {
2430
2430
  var s = document.createEvent("CustomEvent");
2431
- return p ? s.initCustomEvent(u, p.bubbles, p.cancelable, p.detail) : s.initCustomEvent(u, !1, !1, void 0), s;
2431
+ return p ? s.initCustomEvent(c, p.bubbles, p.cancelable, p.detail) : s.initCustomEvent(c, !1, !1, void 0), s;
2432
2432
  } : (
2433
2433
  // IE <= 8
2434
- function(u, p) {
2434
+ function(c, p) {
2435
2435
  var s = document.createEventObject();
2436
- return s.type = u, p ? (s.bubbles = !!p.bubbles, s.cancelable = !!p.cancelable, s.detail = p.detail) : (s.bubbles = !1, s.cancelable = !1, s.detail = void 0), s;
2436
+ return s.type = c, p ? (s.bubbles = !!p.bubbles, s.cancelable = !!p.cancelable, s.detail = p.detail) : (s.bubbles = !1, s.cancelable = !1, s.detail = void 0), s;
2437
2437
  }
2438
2438
  )
2439
2439
  );
2440
2440
  }).call(this, typeof De < "u" ? De : typeof self < "u" ? self : typeof window < "u" ? window : {});
2441
2441
  }, {}],
2442
2442
  9: [function(t, o, i) {
2443
- var r = o.exports = {}, a, c;
2443
+ var r = o.exports = {}, a, u;
2444
2444
  function l() {
2445
2445
  throw new Error("setTimeout has not been defined");
2446
2446
  }
2447
- function u() {
2447
+ function c() {
2448
2448
  throw new Error("clearTimeout has not been defined");
2449
2449
  }
2450
2450
  (function() {
@@ -2454,9 +2454,9 @@ var wi = { exports: {} };
2454
2454
  a = l;
2455
2455
  }
2456
2456
  try {
2457
- typeof clearTimeout == "function" ? c = clearTimeout : c = u;
2457
+ typeof clearTimeout == "function" ? u = clearTimeout : u = c;
2458
2458
  } catch {
2459
- c = u;
2459
+ u = c;
2460
2460
  }
2461
2461
  })();
2462
2462
  function p(L) {
@@ -2475,17 +2475,17 @@ var wi = { exports: {} };
2475
2475
  }
2476
2476
  }
2477
2477
  function s(L) {
2478
- if (c === clearTimeout)
2478
+ if (u === clearTimeout)
2479
2479
  return clearTimeout(L);
2480
- if ((c === u || !c) && clearTimeout)
2481
- return c = clearTimeout, clearTimeout(L);
2480
+ if ((u === c || !u) && clearTimeout)
2481
+ return u = clearTimeout, clearTimeout(L);
2482
2482
  try {
2483
- return c(L);
2483
+ return u(L);
2484
2484
  } catch {
2485
2485
  try {
2486
- return c.call(null, L);
2486
+ return u.call(null, L);
2487
2487
  } catch {
2488
- return c.call(this, L);
2488
+ return u.call(this, L);
2489
2489
  }
2490
2490
  }
2491
2491
  }
@@ -2534,17 +2534,17 @@ var wi = { exports: {} };
2534
2534
  }, {}],
2535
2535
  10: [function(t, o, i) {
2536
2536
  (function(r) {
2537
- var a = typeof r == "function", c;
2538
- a ? c = function(l) {
2537
+ var a = typeof r == "function", u;
2538
+ a ? u = function(l) {
2539
2539
  r(l);
2540
- } : c = function(l) {
2540
+ } : u = function(l) {
2541
2541
  setTimeout(l, 0);
2542
- }, o.exports = c;
2542
+ }, o.exports = u;
2543
2543
  }).call(this, t("timers").setImmediate);
2544
2544
  }, { timers: 11 }],
2545
2545
  11: [function(t, o, i) {
2546
2546
  (function(r, a) {
2547
- var c = t("process/browser.js").nextTick, l = Function.prototype.apply, u = Array.prototype.slice, p = {}, s = 0;
2547
+ var u = t("process/browser.js").nextTick, l = Function.prototype.apply, c = Array.prototype.slice, p = {}, s = 0;
2548
2548
  i.setTimeout = function() {
2549
2549
  return new m(l.call(setTimeout, window, arguments), clearTimeout);
2550
2550
  }, i.setInterval = function() {
@@ -2569,8 +2569,8 @@ var wi = { exports: {} };
2569
2569
  d._onTimeout && d._onTimeout();
2570
2570
  }, f));
2571
2571
  }, i.setImmediate = typeof r == "function" ? r : function(d) {
2572
- var f = s++, v = arguments.length < 2 ? !1 : u.call(arguments, 1);
2573
- return p[f] = !0, c(function() {
2572
+ var f = s++, v = arguments.length < 2 ? !1 : c.call(arguments, 1);
2573
+ return p[f] = !0, u(function() {
2574
2574
  p[f] && (v ? d.apply(null, v) : d.call(null), i.clearImmediate(f));
2575
2575
  }), f;
2576
2576
  }, i.clearImmediate = typeof a == "function" ? a : function(d) {
@@ -2606,13 +2606,13 @@ const Ci = {
2606
2606
  const {
2607
2607
  locale: t,
2608
2608
  t: o
2609
- } = Lt(), i = b(n.animate), r = "fadeOut", a = A(() => n.options), c = b(!1), l = A(() => a.value.title && a.value.message), u = A(() => !a.value.title && a.value.message), p = A(() => {
2609
+ } = Lt(), i = b(n.animate), r = "fadeOut", a = A(() => n.options), u = b(!1), l = A(() => a.value.title && a.value.message), c = A(() => !a.value.title && a.value.message), p = A(() => {
2610
2610
  const L = {
2611
- animated: c.value,
2611
+ animated: u.value,
2612
2612
  toast: !0,
2613
2613
  "toast--only-content": !l.value
2614
2614
  };
2615
- return L[n.animate] = !1, L[r] = c.value, L["toasty-type-" + a.value.type] = !0, a.value.theme && (L[a.value.theme] = !0), L;
2615
+ return L[n.animate] = !1, L[r] = u.value, L["toasty-type-" + a.value.type] = !0, a.value.theme && (L[a.value.theme] = !0), L;
2616
2616
  }), s = A(() => {
2617
2617
  const g = `f-icon-${a.value && a.value.type ? a.value.type.replace("toasty-type-", "") : "default"}`, F = {
2618
2618
  "f-icon": !0
@@ -2623,7 +2623,7 @@ const Ci = {
2623
2623
  overflowWrap: "break-word"
2624
2624
  } : {});
2625
2625
  function y(L) {
2626
- L.stopPropagation(), L.preventDefault(), c.value = !1, setTimeout(() => {
2626
+ L.stopPropagation(), L.preventDefault(), u.value = !1, setTimeout(() => {
2627
2627
  e.emit("close", a.value);
2628
2628
  }, 200);
2629
2629
  }
@@ -2668,7 +2668,7 @@ const Ci = {
2668
2668
  class: "toast-msg",
2669
2669
  innerHTML: a.value.message,
2670
2670
  style: v.value
2671
- }, null), f.value && z()]), u.value && (a.value.buttons ? M("div", {
2671
+ }, null), f.value && z()]), c.value && (a.value.buttons ? M("div", {
2672
2672
  class: "toast-title-btns-wrapper d-flex"
2673
2673
  }, [M("h5", {
2674
2674
  class: "toast-title modal-tips-title only-toast-msg",
@@ -2694,15 +2694,15 @@ const Ci = {
2694
2694
  right: 12,
2695
2695
  top: 20,
2696
2696
  bottom: 12
2697
- }, i = b(), r = b(n.options), a = b(n.showCloseButton), c = A(() => n.position || "bottom-right"), l = A(() => n.timeout != null ? n.timeout : 3e3), u = A(() => {
2697
+ }, i = b(), r = b(n.options), a = b(n.showCloseButton), u = A(() => n.position || "bottom-right"), l = A(() => n.timeout != null ? n.timeout : 3e3), c = A(() => {
2698
2698
  const m = n.bottom ? n.bottom : o.bottom, d = n.top ? n.top : o.top, f = {
2699
2699
  transition: "all 0.2s ease",
2700
- left: c.value.indexOf("left") > -1 ? `${n.left ? n.left : o.left}px` : "",
2701
- right: c.value.indexOf("right") > -1 ? `${n.right ? n.right : o.right}px` : "",
2702
- top: c.value.indexOf("top") > -1 ? `${d}px` : "",
2703
- bottom: c.value.indexOf("bottom") > -1 ? `${m}px` : ""
2700
+ left: u.value.indexOf("left") > -1 ? `${n.left ? n.left : o.left}px` : "",
2701
+ right: u.value.indexOf("right") > -1 ? `${n.right ? n.right : o.right}px` : "",
2702
+ top: u.value.indexOf("top") > -1 ? `${d}px` : "",
2703
+ bottom: u.value.indexOf("bottom") > -1 ? `${m}px` : ""
2704
2704
  };
2705
- return c.value.indexOf("center") > -1 && (f.left = "50%", f.marginLeft = "calc(-24rem / 2)", c.value === "center-center" && (f.top = "50%", f.transform = "translate(-50%, -50%)")), f;
2705
+ return u.value.indexOf("center") > -1 && (f.left = "50%", f.marginLeft = "calc(-24rem / 2)", u.value === "center-center" && (f.top = "50%", f.transform = "translate(-50%, -50%)")), f;
2706
2706
  });
2707
2707
  function p(m) {
2708
2708
  e.emit("close");
@@ -2712,14 +2712,14 @@ const Ci = {
2712
2712
  }, l.value), e.expose({
2713
2713
  closeToast: p,
2714
2714
  container: i,
2715
- notifyPosition: c
2715
+ notifyPosition: u
2716
2716
  });
2717
2717
  function s(m, d) {
2718
2718
  p();
2719
2719
  }
2720
2720
  return () => M("div", {
2721
2721
  class: t.value,
2722
- style: u.value,
2722
+ style: c.value,
2723
2723
  ref: i
2724
2724
  }, [M($t, {
2725
2725
  options: r.value,
@@ -2752,11 +2752,11 @@ class Si {
2752
2752
  r.style.display = "contents";
2753
2753
  const a = Yt({
2754
2754
  setup() {
2755
- var u;
2756
- const c = b();
2755
+ var c;
2756
+ const u = b();
2757
2757
  function l() {
2758
- c.value.container.style.transform = "scale(0)", setTimeout(() => {
2759
- t.updateNotifyPositionForClose(i, c), a.unmount();
2758
+ u.value.container.style.transform = "scale(0)", setTimeout(() => {
2759
+ t.updateNotifyPositionForClose(i, u), a.unmount();
2760
2760
  }, 220);
2761
2761
  }
2762
2762
  if (i.position.indexOf("top") > -1) {
@@ -2766,17 +2766,17 @@ class Si {
2766
2766
  i.top = m.bottom;
2767
2767
  }
2768
2768
  }
2769
- return i.safeHtml && ((u = i.options) != null && u.message) && (i.options.message = t.escapeAllHtml(i.options.message)), wt(() => {
2769
+ return i.safeHtml && ((c = i.options) != null && c.message) && (i.options.message = t.escapeAllHtml(i.options.message)), wt(() => {
2770
2770
  document.body.removeChild(r);
2771
2771
  }), Ze(() => {
2772
- t.updateNotifyPositionForCreate(i, c);
2772
+ t.updateNotifyPositionForCreate(i, u);
2773
2773
  }), () => M(Jt, {
2774
2774
  mode: "out-in",
2775
2775
  name: "fade",
2776
2776
  appear: !0
2777
2777
  }, {
2778
2778
  default: () => [M(pt, Dt({
2779
- ref: c
2779
+ ref: u
2780
2780
  }, i, {
2781
2781
  onClose: l
2782
2782
  }), null)]
@@ -2812,16 +2812,16 @@ class Si {
2812
2812
  return this.createNotifyInstance(e);
2813
2813
  }
2814
2814
  buildNotifyProps(e, t) {
2815
- let o = "", i = "", r, a, c;
2816
- typeof t == "string" ? o = t : t && (o = t.message || "", i = t.title || "", a = t.position || null, c = t.showCloseButton != null ? t.showCloseButton : null, r = t.timeout != null ? t.timeout : null);
2817
- const u = {
2815
+ let o = "", i = "", r, a, u;
2816
+ typeof t == "string" ? o = t : t && (o = t.message || "", i = t.title || "", a = t.position || null, u = t.showCloseButton != null ? t.showCloseButton : null, r = t.timeout != null ? t.timeout : null);
2817
+ const c = {
2818
2818
  options: {
2819
2819
  type: e,
2820
2820
  message: o,
2821
2821
  title: i
2822
2822
  }
2823
2823
  };
2824
- return a != null && (u.position = a), c != null && (u.showCloseButton = c), r != null && (u.timeout = r), u;
2824
+ return a != null && (c.position = a), u != null && (c.showCloseButton = u), r != null && (c.timeout = r), c;
2825
2825
  }
2826
2826
  info(e) {
2827
2827
  const t = this.buildNotifyProps("info", e);
@@ -3004,7 +3004,7 @@ const Ei = {
3004
3004
  }
3005
3005
  }
3006
3006
  };
3007
- function Mi(n, e, t, o, i, r, a, c, l, u, p, s, m, d, f, v, y) {
3007
+ function Mi(n, e, t, o, i, r, a, u, l, c, p, s, m, d, f, v, y) {
3008
3008
  const {
3009
3009
  calculateCellPositionInRow: T
3010
3010
  } = r, {
@@ -3017,7 +3017,7 @@ function Mi(n, e, t, o, i, r, a, c, l, u, p, s, m, d, f, v, y) {
3017
3017
  rightFixedGridDataStyle: F
3018
3018
  } = d, {
3019
3019
  renderDataRow: x
3020
- } = Wn(n, e, B, y, c, l, u, p, s, m, d, f, v), P = [x];
3020
+ } = Wn(n, e, B, y, u, l, c, p, s, m, d, f, v), P = [x];
3021
3021
  function q(S, U) {
3022
3022
  const Z = T(S);
3023
3023
  return y.value.filter((O) => O.visible !== !1).map((O, I) => P[O.type](O, Z, U, I));
@@ -3064,8 +3064,8 @@ const Fi = /* @__PURE__ */ _e({
3064
3064
  setup(n, e) {
3065
3065
  var zt, Ut;
3066
3066
  const o = ((zt = n.rowOption) == null ? void 0 : zt.height) || 28, i = b(20), r = b(n.columns), a = _n(n), {
3067
- idField: c
3068
- } = a, l = b(), u = b(), p = b(), s = b(), m = b(), d = b([]), f = b(!1), v = b(((Ut = n.rowOption) == null ? void 0 : Ut.wrapContent) || !1), y = Gn(n, a), T = Xn(n, e), B = Yn(n), {
3067
+ idField: u
3068
+ } = a, l = b(), c = b(), p = b(), s = b(), m = b(), d = b([]), f = b(!1), v = b(((Ut = n.rowOption) == null ? void 0 : Ut.wrapContent) || !1), y = Gn(n, a), T = Xn(n, e), B = Yn(n), {
3069
3069
  collapseField: z
3070
3070
  } = B, {
3071
3071
  showLoading: L,
@@ -3094,7 +3094,7 @@ const Fi = /* @__PURE__ */ _e({
3094
3094
  updateColumnRenderContext: J
3095
3095
  } = R;
3096
3096
  ve(g, te);
3097
- const ie = ao(n, he), se = lo(n, e, x, a), ne = so(n, e, a, se, d), W = uo(n), oe = co(n, ne, W), je = fo(n, g, ne, B, a, W, oe), Ie = po(n, r, g, N, 0, je), {
3097
+ const ie = ao(n, he), se = lo(n, e, x, a), ne = so(n, e, a, se, d), W = co(n), oe = uo(n, ne, W), je = fo(n, g, ne, B, a, W, oe), Ie = po(n, r, g, N, 0, je), {
3098
3098
  getVisualData: Se
3099
3099
  } = Ie, Ge = mo(n, he), Re = vo(n, x), {
3100
3100
  sidebarWidth: Xe
@@ -3105,9 +3105,9 @@ const Fi = /* @__PURE__ */ _e({
3105
3105
  viewPortWidth: Te,
3106
3106
  resetScroll: Oe,
3107
3107
  updateVisibleRowsOnLatestVisibleScope: et
3108
- } = ae, He = go(n, he, u, Te, ie), {
3108
+ } = ae, He = go(n, he, c, Te, ie), {
3109
3109
  calculateColumnsSize: Be
3110
- } = He, Ne = yo(), Ye = bo(u, m, g, Ne, ae), Je = wo(n, e, R, g, ie, y, ae), k = A(() => {
3110
+ } = He, Ne = yo(), Ye = bo(c, m, g, Ne, ae), Je = wo(n, e, R, g, ie, y, ae), k = A(() => {
3111
3111
  const H = {
3112
3112
  "fv-grid": !0,
3113
3113
  "fv-grid-bordered": n.showBorder,
@@ -3122,32 +3122,32 @@ const Fi = /* @__PURE__ */ _e({
3122
3122
  })), {
3123
3123
  renderDataArea: le
3124
3124
  } = Mi(n, e, p, s, m, Ge, R, g, ne, B, se, x, C, ae, Ie, W, d), {
3125
- renderGridHeader: ue,
3125
+ renderGridHeader: ce,
3126
3126
  renderGridColumnResizeOverlay: ke,
3127
3127
  shouldShowHeader: xt
3128
- } = Co(n, e, u, s, m, R, g, Je, Ye, T, Ne, He, ie, x, Re, te, ae, Te, d), {
3128
+ } = Co(n, e, c, s, m, R, g, Je, Ye, T, Ne, He, ie, x, Re, te, ae, Te, d), {
3129
3129
  renderDataGridSidebar: St
3130
3130
  } = xo(n, se, x, Re, ae), {
3131
3131
  renderDisableMask: Tt
3132
3132
  } = So(), {
3133
3133
  renderHorizontalScrollbar: Et
3134
- } = To(n, u, ae), {
3134
+ } = To(n, c, ae), {
3135
3135
  renderVerticalScrollbar: Mt
3136
- } = Eo(n, u, ae);
3136
+ } = Eo(n, c, ae);
3137
3137
  function Ft() {
3138
3138
  var H, Y, de;
3139
- if (u.value && u.value.clientHeight > 0 && ((H = u.value) == null ? void 0 : H.clientWidth) > 0) {
3140
- const me = Math.ceil(u.value.clientHeight / o);
3141
- me > i.value && (i.value = me, et()), Ve.value = ((Y = p.value) == null ? void 0 : Y.clientHeight) || 0, Pe.value = ((de = u.value) == null ? void 0 : de.clientWidth) || 0, Be();
3139
+ if (c.value && c.value.clientHeight > 0 && ((H = c.value) == null ? void 0 : H.clientWidth) > 0) {
3140
+ const me = Math.ceil(c.value.clientHeight / o);
3141
+ me > i.value && (i.value = me, et()), Ve.value = ((Y = p.value) == null ? void 0 : Y.clientHeight) || 0, Pe.value = ((de = c.value) == null ? void 0 : de.clientWidth) || 0, Be();
3142
3142
  }
3143
3143
  }
3144
3144
  Ze(() => {
3145
- u.value && (i.value = Math.max(Math.ceil(u.value.clientHeight / o), i.value), d.value = Se(0, N.value + 0 - 1), qn(u.value, Ft), Be(), at(() => {
3146
- u.value && (Pe.value = u.value.clientWidth), p.value && (Te.value = p.value.clientWidth, Ve.value = p.value.clientHeight);
3145
+ c.value && (i.value = Math.max(Math.ceil(c.value.clientHeight / o), i.value), d.value = Se(0, N.value + 0 - 1), qn(c.value, Ft), Be(), at(() => {
3146
+ c.value && (Pe.value = c.value.clientWidth), p.value && (Te.value = p.value.clientWidth, Ve.value = p.value.clientHeight);
3147
3147
  })), L.value && w();
3148
3148
  }), wt(() => {
3149
3149
  }), xe(Te, () => {
3150
- u.value && Be();
3150
+ c.value && Be();
3151
3151
  });
3152
3152
  function Bt(H) {
3153
3153
  g.collapseTo(H), g.reOrderVisibleIndex(), Oe();
@@ -3168,14 +3168,14 @@ const Fi = /* @__PURE__ */ _e({
3168
3168
  g.insertNewChildDataItem(H), d.value = Se(0, N.value + 0 - 1);
3169
3169
  }
3170
3170
  function Pt(H, Y) {
3171
- const de = d.value.find((we) => we.raw[c.value] === Y), me = de ? de.dataIndex - 1 : -1;
3171
+ const de = d.value.find((we) => we.raw[u.value] === Y), me = de ? de.dataIndex - 1 : -1;
3172
3172
  g.insertNewChildDataItems(H, me);
3173
3173
  }
3174
3174
  function Vt() {
3175
3175
  const H = tt(), Y = C.getNextSelectableHierarchyItemId(H);
3176
3176
  g.removeHierarchyDataItem(H), d.value = Se(0, N.value + 0 - 1), Y && x.selectItemById(Y);
3177
3177
  }
3178
- function ut(H) {
3178
+ function ct(H) {
3179
3179
  ne.onEditingRow(H);
3180
3180
  }
3181
3181
  function Ot(H) {
@@ -3213,7 +3213,7 @@ const Fi = /* @__PURE__ */ _e({
3213
3213
  x.clearSelection();
3214
3214
  }
3215
3215
  const Ee = A(() => !d.value || !d.value.length), {
3216
- renderEmpty: ce
3216
+ renderEmpty: ue
3217
3217
  } = Mo(n, e);
3218
3218
  function Me() {
3219
3219
  return x.getSelectionRow();
@@ -3225,7 +3225,7 @@ const Fi = /* @__PURE__ */ _e({
3225
3225
  return x.currentSelectedDataId.value;
3226
3226
  }
3227
3227
  function nt(H, Y, de) {
3228
- const me = F.value.find((we) => we[c.value] === H);
3228
+ const me = F.value.find((we) => we[u.value] === H);
3229
3229
  if (me) {
3230
3230
  if (Object.keys(me).forEach((fe) => {
3231
3231
  Object.prototype.hasOwnProperty.call(Y, fe) && (me[fe] = Y[fe]);
@@ -3238,7 +3238,7 @@ const Fi = /* @__PURE__ */ _e({
3238
3238
  } = de;
3239
3239
  fe && !$e(Y[fe]) && (me.__fv_collapse__ = Y[fe]), ze && !$e(Y[ze]) && (me.__fv_checked__ = Y[ze]), Ae && !$e(Y[Ae]) && (me.__fv_disabled__ = Y[Ae]), Ue && !$e(Y[Ue]) && (me.__fv_visible__ = Y[Ue]);
3240
3240
  }
3241
- const we = d.value.find((fe) => fe.raw[c.value] === H), qt = d.value.findIndex((fe) => fe.raw[c.value] === H);
3241
+ const we = d.value.find((fe) => fe.raw[u.value] === H), qt = d.value.findIndex((fe) => fe.raw[u.value] === H);
3242
3242
  if (we) {
3243
3243
  if (we.raw = me, Object.keys(we.data).forEach((fe) => {
3244
3244
  we.data[fe].updateData(me);
@@ -3259,7 +3259,7 @@ const Fi = /* @__PURE__ */ _e({
3259
3259
  return Object.prototype.hasOwnProperty.call(H, "raw") ? g.hasRealChildren(H.raw) : g.hasRealChildren(H);
3260
3260
  }
3261
3261
  function it(H) {
3262
- const Y = g.dataView.value.find((de) => de[c.value] === H);
3262
+ const Y = g.dataView.value.find((de) => de[u.value] === H);
3263
3263
  return Y ? Y[z.value] : "";
3264
3264
  }
3265
3265
  function gn() {
@@ -3286,7 +3286,7 @@ const Fi = /* @__PURE__ */ _e({
3286
3286
  collapseTo: Bt,
3287
3287
  expandTo: st,
3288
3288
  removeDataItem: Vt,
3289
- editDataItem: ut,
3289
+ editDataItem: ct,
3290
3290
  acceptDataItem: Ot,
3291
3291
  cancelDataItem: h,
3292
3292
  updateColumns: $,
@@ -3313,9 +3313,9 @@ const Fi = /* @__PURE__ */ _e({
3313
3313
  }), xn = A(() => ({
3314
3314
  ...U.value,
3315
3315
  borderRadius: "5px"
3316
- })), {
3317
- renderDataGridPagination: la
3318
- } = Fo(n, e, g, ae, V, x), Sn = A(() => ({
3316
+ }));
3317
+ Fo(n, e, g, ae, V, x);
3318
+ const Sn = A(() => ({
3319
3319
  "d-flex": !0,
3320
3320
  "justify-content-between": S.value && P.value,
3321
3321
  "justify-content-end": S.value && !P.value,
@@ -3331,13 +3331,13 @@ const Fi = /* @__PURE__ */ _e({
3331
3331
  class: k.value,
3332
3332
  style: xn.value,
3333
3333
  onWheel: Ke
3334
- }, [u.value && xt.value && ue(), M("div", {
3335
- ref: u,
3334
+ }, [c.value && xt.value && ce(), M("div", {
3335
+ ref: c,
3336
3336
  class: Q.value,
3337
3337
  onMouseover: () => f.value = !0,
3338
3338
  onMouseleave: () => f.value = !1,
3339
3339
  style: Cn.value
3340
- }, [u.value && St(d), u.value && le(), u.value && Ee.value && ce(), u.value && Et(), u.value && Mt()]), u.value && En(), P.value && M("div", {
3340
+ }, [c.value && St(d), c.value && le(), c.value && Ee.value && ue(), c.value && Et(), c.value && Mt()]), c.value && En(), P.value && M("div", {
3341
3341
  class: Sn.value
3342
3342
  }, [P.value && M("div", {
3343
3343
  class: Tn.value
@@ -3542,9 +3542,9 @@ class _i {
3542
3542
  contents: i
3543
3543
  }), t.contents = [o];
3544
3544
  const { selectedFields: r } = e;
3545
- r == null || r.forEach((c) => {
3546
- if (c.$type === ht.SimpleField) {
3547
- const l = vt(c), u = this.resolveControlClassByFormColumns(e), p = this.controlCreatorUtils.setFormFieldProperty(l, "", u);
3545
+ r == null || r.forEach((u) => {
3546
+ if (u.$type === ht.SimpleField) {
3547
+ const l = vt(u), c = this.resolveControlClassByFormColumns(e), p = this.controlCreatorUtils.setFormFieldProperty(l, "", c);
3548
3548
  p && i.push(p);
3549
3549
  }
3550
3550
  });
@@ -3612,16 +3612,16 @@ class _i {
3612
3612
  }
3613
3613
  }
3614
3614
  function Gi(n, e, t, o) {
3615
- var r, a, c, l, u, p;
3615
+ var r, a, u, l, c, p;
3616
3616
  const i = t.parentComponentInstance;
3617
3617
  if (i && o) {
3618
3618
  const s = (r = i.schema) == null ? void 0 : r.type, d = {
3619
3619
  componentId: `form-${Math.random().toString(36).slice(2, 6)}`,
3620
- componentName: ((a = t.bindingSourceContext) == null ? void 0 : a.entityTitle) || ((l = (c = t.bindingSourceContext) == null ? void 0 : c.bindingEntity) == null ? void 0 : l.name) || "标题",
3620
+ componentName: ((a = t.bindingSourceContext) == null ? void 0 : a.entityTitle) || ((l = (u = t.bindingSourceContext) == null ? void 0 : u.bindingEntity) == null ? void 0 : l.name) || "标题",
3621
3621
  componentType: "form",
3622
3622
  formColumns: s === "splitter-pane" ? 1 : 4,
3623
3623
  parentContainerId: i.schema.id,
3624
- bindTo: ((u = t.bindingSourceContext) == null ? void 0 : u.bindTo) || "/",
3624
+ bindTo: ((c = t.bindingSourceContext) == null ? void 0 : c.bindTo) || "/",
3625
3625
  selectedFields: (p = t.bindingSourceContext) == null ? void 0 : p.bindingEntityFields
3626
3626
  };
3627
3627
  return new _i(n, o).createComponent(d);
@@ -3695,7 +3695,7 @@ const Yi = "https://json-schema.org/draft/2020-12/schema", Ji = "https://farris-
3695
3695
  adaptForLanguage: { type: Boolean, default: !0 }
3696
3696
  };
3697
3697
  lt(or, nr, Ht, Gi);
3698
- const ir = "https://json-schema.org/draft/2020-12/schema", rr = "https://farris-design.gitee.io/form-group.schema.json", ar = "form-group", lr = "A Farris Input Component", sr = "object", ur = {
3698
+ const ir = "https://json-schema.org/draft/2020-12/schema", rr = "https://farris-design.gitee.io/form-group.schema.json", ar = "form-group", lr = "A Farris Input Component", sr = "object", cr = {
3699
3699
  id: {
3700
3700
  description: "The unique identifier for a form group",
3701
3701
  type: "string"
@@ -3767,7 +3767,7 @@ const ir = "https://json-schema.org/draft/2020-12/schema", rr = "https://farris-
3767
3767
  type: "string",
3768
3768
  default: "visible"
3769
3769
  }
3770
- }, cr = [
3770
+ }, ur = [
3771
3771
  "id",
3772
3772
  "type",
3773
3773
  "editor"
@@ -3777,8 +3777,8 @@ const ir = "https://json-schema.org/draft/2020-12/schema", rr = "https://farris-
3777
3777
  title: ar,
3778
3778
  description: lr,
3779
3779
  type: sr,
3780
- properties: ur,
3781
- required: cr
3780
+ properties: cr,
3781
+ required: ur
3782
3782
  }, dr = {
3783
3783
  id: { type: String, default: "" },
3784
3784
  customClass: { type: String, default: "" },
@@ -3917,21 +3917,21 @@ function Mr() {
3917
3917
  return { onCopy: n };
3918
3918
  }
3919
3919
  function Fr(n, e, t, o) {
3920
- const i = b(14), r = b(140), a = b(""), c = b(o.value.length), l = A(() => o.value), u = A(() => ({
3920
+ const i = b(14), r = b(140), a = b(""), u = b(o.value.length), l = A(() => o.value), c = A(() => ({
3921
3921
  "font-size": `${i.value}px`,
3922
3922
  height: "100%"
3923
3923
  }));
3924
3924
  function p(s) {
3925
3925
  if (s.currentTarget) {
3926
3926
  const m = s.currentTarget.value || "";
3927
- c.value = m.length;
3927
+ u.value = m.length;
3928
3928
  }
3929
3929
  }
3930
3930
  return () => M(rt, null, [M("textarea", {
3931
3931
  title: "promptMessage",
3932
3932
  name: "promptMessage",
3933
3933
  class: "form-control",
3934
- style: u.value,
3934
+ style: c.value,
3935
3935
  rows: "4",
3936
3936
  maxlength: r.value,
3937
3937
  onInput: (s) => p(s)
@@ -3939,12 +3939,12 @@ function Fr(n, e, t, o) {
3939
3939
  class: "textarea-wordcount",
3940
3940
  title: a.value,
3941
3941
  style: "position: absolute; bottom: 76px; right: 32px; cursor: pointer; text-align: right;"
3942
- }, [c.value + " / " + r.value])]);
3942
+ }, [u.value + " / " + r.value])]);
3943
3943
  }
3944
3944
  function Br(n, e, t, o) {
3945
3945
  const i = Fr(n, e, t, o), r = /* @__PURE__ */ new Map([["text-area", i]]);
3946
- function a(c) {
3947
- return r.get(c) || null;
3946
+ function a(u) {
3947
+ return r.get(u) || null;
3948
3948
  }
3949
3949
  return { getEditorRender: a };
3950
3950
  }
@@ -4008,7 +4008,7 @@ function Pr(n, e) {
4008
4008
  const i = A(() => !!n.value && !!n.value.date), r = A(() => {
4009
4009
  const d = n.value && n.value.date || "";
4010
4010
  return `${e.exception.happend} : ${d}`;
4011
- }), a = A(() => !!n.value && !!n.value.detail), c = A(() => n.value ? t(n.value.detail) > 160 : !1), l = b(!1), u = A(() => l.value ? e.exception.collapse : e.exception.expand), p = A(() => {
4011
+ }), a = A(() => !!n.value && !!n.value.detail), u = A(() => n.value ? t(n.value.detail) > 160 : !1), l = b(!1), c = A(() => l.value ? e.exception.collapse : e.exception.expand), p = A(() => {
4012
4012
  const d = e.exception.detail + " : " + (n.value && n.value.detail) || "";
4013
4013
  return l.value ? d : o(d, 160);
4014
4014
  }), s = A(() => ({
@@ -4029,10 +4029,10 @@ function Pr(n, e) {
4029
4029
  class: "exception_error_msg"
4030
4030
  }, [M("div", {
4031
4031
  innerHTML: p.value
4032
- }, null), c.value && M("span", {
4032
+ }, null), u.value && M("span", {
4033
4033
  style: s.value,
4034
4034
  onClick: m
4035
- }, [u.value])])])]);
4035
+ }, [c.value])])])]);
4036
4036
  }
4037
4037
  function Vr(n) {
4038
4038
  return () => M("p", {
@@ -4046,9 +4046,9 @@ function Or(n, e, t, o, i) {
4046
4046
  "f-icon": !0
4047
4047
  }, y = `f-icon-${f}`;
4048
4048
  return v[y] = !0, v;
4049
- }), c = A(() => t.value || r.value && r.value.message), l = A(() => o.value), u = A(() => !!o.value), p = A(() => !!r.value);
4049
+ }), u = A(() => t.value || r.value && r.value.message), l = A(() => o.value), c = A(() => !!o.value), p = A(() => !!r.value);
4050
4050
  function s() {
4051
- return p.value ? Pr(r, i) : u.value ? Vr(l) : () => null;
4051
+ return p.value ? Pr(r, i) : c.value ? Vr(l) : () => null;
4052
4052
  }
4053
4053
  const m = s(), d = A(() => i.locale === "en" ? {
4054
4054
  wordBreak: "keep-all",
@@ -4062,7 +4062,7 @@ function Or(n, e, t, o, i) {
4062
4062
  class: "modal-tips-content"
4063
4063
  }, [M("p", {
4064
4064
  class: "toast-msg-title",
4065
- innerHTML: c.value,
4065
+ innerHTML: u.value,
4066
4066
  style: d.value
4067
4067
  }, null), m()])]);
4068
4068
  }
@@ -4071,13 +4071,13 @@ function Nr(n, e, t, o) {
4071
4071
  onCopy: i
4072
4072
  } = e, {
4073
4073
  toShowFeedback: r
4074
- } = t, a = b(o.exception.copySuccess || "复制成功"), c = b(o.exception.copy || "复制详细信息"), l = b(n.exceptionInfo || {
4074
+ } = t, a = b(o.exception.copySuccess || "复制成功"), u = b(o.exception.copy || "复制详细信息"), l = b(n.exceptionInfo || {
4075
4075
  date: "",
4076
4076
  message: "",
4077
4077
  detail: ""
4078
- }), u = A(() => l.value && l.value.detail || "");
4078
+ }), c = A(() => l.value && l.value.detail || "");
4079
4079
  function p(s) {
4080
- i(u.value).catch((m) => {
4080
+ i(c.value).catch((m) => {
4081
4081
  a.value = o.exception.copyFailed || "复制失败";
4082
4082
  }).finally(() => {
4083
4083
  r.value = !0, setTimeout(() => {
@@ -4090,10 +4090,10 @@ function Nr(n, e, t, o) {
4090
4090
  }, [M("span", {
4091
4091
  onClick: p,
4092
4092
  style: "cursor: pointer;"
4093
- }, [c.value])]);
4093
+ }, [u.value])]);
4094
4094
  }
4095
4095
  function $r(n, e, t, o, i) {
4096
- const r = b(n.type), a = b(n.buttons), c = b(n.exceptionInfo), l = b(i.ok || n.okButtonText), u = b(i.cancel || n.cancelButtonText), p = b(n.showCancelButton), s = b(n.showOkButton), m = A(() => !!(a.value && a.value.length)), d = A(() => c.value && c.value.message && c.value.detail), f = A(() => !(a.value && a.value.length) && (s.value || p.value)), v = Nr(n, t, o, i);
4096
+ const r = b(n.type), a = b(n.buttons), u = b(n.exceptionInfo), l = b(i.ok || n.okButtonText), c = b(i.cancel || n.cancelButtonText), p = b(n.showCancelButton), s = b(n.showOkButton), m = A(() => !!(a.value && a.value.length)), d = A(() => u.value && u.value.message && u.value.detail), f = A(() => !(a.value && a.value.length) && (s.value || p.value)), v = Nr(n, t, o, i);
4097
4097
  l.value === "关闭" ? l.value = i.close : l.value === "知道了" && (l.value = i.exception.roger);
4098
4098
  function y(B) {
4099
4099
  r.value === "question" && e.emit("reject"), e.emit("close");
@@ -4107,7 +4107,7 @@ function $r(n, e, t, o, i) {
4107
4107
  type: "button",
4108
4108
  class: "btn btn-secondary btn-lg",
4109
4109
  onClick: y
4110
- }, [u.value]), f.value && s.value && M("button", {
4110
+ }, [c.value]), f.value && s.value && M("button", {
4111
4111
  type: "button",
4112
4112
  class: "btn btn-primary btn-lg",
4113
4113
  onClick: T
@@ -4157,12 +4157,12 @@ const mt = /* @__PURE__ */ _e({
4157
4157
  "flex-row": !0
4158
4158
  }, B = `messager-type-${o.value}`;
4159
4159
  return T[B] = !0, T;
4160
- }), c = A(() => {
4160
+ }), u = A(() => {
4161
4161
  const T = {
4162
4162
  cursor: "default"
4163
4163
  };
4164
4164
  return o.value === "prompt" ? T.padding = "0.5rem 0.5rem 1rem 1.5rem" : o.value === "error" && (T.padding = "0.5rem 1.5rem 1rem 1.5rem"), T;
4165
- }), l = Mr(), u = Br(n, o, i, r), p = kr(), {
4165
+ }), l = Mr(), c = Br(n, o, i, r), p = kr(), {
4166
4166
  feedbackStyle: s,
4167
4167
  feedbackMessage: m
4168
4168
  } = p;
@@ -4175,7 +4175,7 @@ const mt = /* @__PURE__ */ _e({
4175
4175
  function f() {
4176
4176
  switch (o.value) {
4177
4177
  case "prompt":
4178
- return Ir(n, u);
4178
+ return Ir(n, c);
4179
4179
  default:
4180
4180
  return Or(n, o, i, r, t);
4181
4181
  }
@@ -4188,7 +4188,7 @@ const mt = /* @__PURE__ */ _e({
4188
4188
  class: "messager-draggable"
4189
4189
  }, null), M("section", {
4190
4190
  class: a.value,
4191
- style: c.value
4191
+ style: u.value
4192
4192
  }, [v()]), y(), d()]);
4193
4193
  }
4194
4194
  }), Lr = "https://json-schema.org/draft/2020-12/schema", jr = "https://farris-design.gitee.io/modal.schema.json", Rr = "modal", Hr = "弹窗组件", Ar = "object", zr = {
@@ -4494,7 +4494,7 @@ class qe {
4494
4494
  }
4495
4495
  }
4496
4496
  function Qr(n, e) {
4497
- const t = b(), o = b(), i = b(), r = b(), a = b(), c = b(), l = b(), u = b(), p = b(), s = b(), m = b(), d = b(n.resizeable), f = b(), v = b(n.draggable), y = b(!1);
4497
+ const t = b(), o = b(), i = b(), r = b(), a = b(), u = b(), l = b(), c = b(), p = b(), s = b(), m = b(), d = b(n.resizeable), f = b(), v = b(n.draggable), y = b(!1);
4498
4498
  function T() {
4499
4499
  const O = o.value || document.body, I = window.getComputedStyle(O);
4500
4500
  if (!I || !t.value)
@@ -4506,9 +4506,9 @@ function Qr(n, e) {
4506
4506
  }
4507
4507
  function B(O) {
4508
4508
  if (t.value) {
4509
- r.value = qe.getCurrent(t.value), a.value = re.getCurrent(t.value), c.value = r.value ? qe.copy(r.value) : null, l.value = a.value ? re.copy(a.value) : null, T();
4509
+ r.value = qe.getCurrent(t.value), a.value = re.getCurrent(t.value), u.value = r.value ? qe.copy(r.value) : null, l.value = a.value ? re.copy(a.value) : null, T();
4510
4510
  const I = O.target.getAttribute("type") || "";
4511
- u.value = {
4511
+ c.value = {
4512
4512
  n: !!I.match(/n/),
4513
4513
  s: !!I.match(/s/),
4514
4514
  w: !!I.match(/w/),
@@ -4520,28 +4520,28 @@ function Qr(n, e) {
4520
4520
  var O, I, G, R;
4521
4521
  if (t.value) {
4522
4522
  const te = t.value;
4523
- u.value && ((u.value.n || u.value.s) && ((O = c.value) != null && O.height) && (te.style.height = c.value.height + "px"), (u.value.w || u.value.e) && ((I = c.value) != null && I.width) && (te.style.width = c.value.width + "px"), l.value && ((G = l.value) != null && G.x && (te.style.left = l.value.x + "px"), (R = l.value) != null && R.y && (te.style.top = l.value.y + "px")));
4523
+ c.value && ((c.value.n || c.value.s) && ((O = u.value) != null && O.height) && (te.style.height = u.value.height + "px"), (c.value.w || c.value.e) && ((I = u.value) != null && I.width) && (te.style.width = u.value.width + "px"), l.value && ((G = l.value) != null && G.x && (te.style.left = l.value.x + "px"), (R = l.value) != null && R.y && (te.style.top = l.value.y + "px")));
4524
4524
  }
4525
4525
  }
4526
4526
  function L() {
4527
4527
  const O = n.minHeight ? n.minHeight : 1, I = n.minWidth ? n.minWidth : 1;
4528
- c.value && l.value && u.value && r.value && (c.value.height < O && (c.value.height = O, u.value.n && a.value && (l.value.y = a.value.y + (r.value.height - O))), c.value.width < I && (c.value.width = I, u.value.w && a.value && (l.value.x = a.value.x + (r.value.width - I))), n.maxHeight && c.value.height > n.maxHeight && (c.value.height = n.maxHeight, a.value && u.value.n && (l.value.y = a.value.y + (r.value.height - n.maxHeight))), n.maxWidth && c.value.width > n.maxWidth && (c.value.width = n.maxWidth, u.value.w && a.value && (l.value.x = a.value.x + (r.value.width - n.maxWidth))));
4528
+ u.value && l.value && c.value && r.value && (u.value.height < O && (u.value.height = O, c.value.n && a.value && (l.value.y = a.value.y + (r.value.height - O))), u.value.width < I && (u.value.width = I, c.value.w && a.value && (l.value.x = a.value.x + (r.value.width - I))), n.maxHeight && u.value.height > n.maxHeight && (u.value.height = n.maxHeight, a.value && c.value.n && (l.value.y = a.value.y + (r.value.height - n.maxHeight))), n.maxWidth && u.value.width > n.maxWidth && (u.value.width = n.maxWidth, c.value.w && a.value && (l.value.x = a.value.x + (r.value.width - n.maxWidth))));
4529
4529
  }
4530
4530
  function w() {
4531
4531
  if (o.value) {
4532
4532
  const O = s.value;
4533
- if (l.value && c.value && u.value && r.value) {
4533
+ if (l.value && u.value && c.value && r.value) {
4534
4534
  const I = O.width - O.pr - O.deltaL - O.translateX - l.value.x, G = O.height - O.pb - O.deltaT - O.translateY - l.value.y;
4535
- u.value.n && l.value.y + O.translateY < 0 && a.value && (l.value.y = -O.translateY, c.value.height = r.value.height + a.value.y + O.translateY), u.value.w && l.value.x + O.translateX < 0 && a.value && (l.value.x = -O.translateX, c.value.width = r.value.width + a.value.x + O.translateX), c.value.width > I && (c.value.width = I), c.value.height > G && (c.value.height = G);
4535
+ c.value.n && l.value.y + O.translateY < 0 && a.value && (l.value.y = -O.translateY, u.value.height = r.value.height + a.value.y + O.translateY), c.value.w && l.value.x + O.translateX < 0 && a.value && (l.value.x = -O.translateX, u.value.width = r.value.width + a.value.x + O.translateX), u.value.width > I && (u.value.width = I), u.value.height > G && (u.value.height = G);
4536
4536
  }
4537
4537
  }
4538
4538
  }
4539
4539
  function g(O) {
4540
- if (!i.value || !r.value || !a.value || !u.value)
4540
+ if (!i.value || !r.value || !a.value || !c.value)
4541
4541
  return;
4542
4542
  O.subtract(i.value);
4543
4543
  const I = O.x, G = O.y;
4544
- u.value.n ? (l.value.y = a.value.y + G, c.value.height = r.value.height - G) : u.value.s && (c.value.height = r.value.height + G), u.value.e ? c.value.width = r.value.width + I : u.value.w && (c.value.width = r.value.width - I, l.value.x = a.value.x + I), w(), L(), z();
4544
+ c.value.n ? (l.value.y = a.value.y + G, u.value.height = r.value.height - G) : c.value.s && (u.value.height = r.value.height + G), c.value.e ? u.value.width = r.value.width + I : c.value.w && (u.value.width = r.value.width - I, l.value.x = a.value.x + I), w(), L(), z();
4545
4545
  }
4546
4546
  function F(O) {
4547
4547
  if (!p.value)
@@ -4575,7 +4575,7 @@ function Qr(n, e) {
4575
4575
  const I = x();
4576
4576
  m.value = I;
4577
4577
  }
4578
- i.value = void 0, r.value = null, a.value = null, c.value = null, l.value = null, u.value = null, p.value = null, document.removeEventListener("mousemove", F), document.removeEventListener("mouseup", P);
4578
+ i.value = void 0, r.value = null, a.value = null, u.value = null, l.value = null, c.value = null, p.value = null, document.removeEventListener("mousemove", F), document.removeEventListener("mouseup", P);
4579
4579
  }
4580
4580
  function q() {
4581
4581
  document.addEventListener("mousemove", F), document.addEventListener("mouseup", P);
@@ -4621,8 +4621,8 @@ function Qr(n, e) {
4621
4621
  function N(O = !0) {
4622
4622
  document.body.click();
4623
4623
  const I = o.value || document.body, G = qe.getCurrent(I), R = t.value;
4624
- O && R && (f.value = x(), f.value.transform = R.style.transform), G && R && (c.value = G, c.value.height -= 14, c.value.width -= 14, R.style.height = c.value.height + "px", R.style.width = c.value.width + "px", R.style.left = "7px", R.style.top = "7px", R.style.transform = "", m.value = {
4625
- size: c.value,
4624
+ O && R && (f.value = x(), f.value.transform = R.style.transform), G && R && (u.value = G, u.value.height -= 14, u.value.width -= 14, R.style.height = u.value.height + "px", R.style.width = u.value.width + "px", R.style.left = "7px", R.style.top = "7px", R.style.transform = "", m.value = {
4625
+ size: u.value,
4626
4626
  position: {
4627
4627
  x: 0,
4628
4628
  y: 0
@@ -4639,7 +4639,7 @@ function Qr(n, e) {
4639
4639
  x: (window.innerWidth - G.width) / 2,
4640
4640
  y: (window.innerHeight - G.height) / 2
4641
4641
  };
4642
- (O = c.value) == null || O.set(G), (I = l.value) == null || I.set(R);
4642
+ (O = u.value) == null || O.set(G), (I = l.value) == null || I.set(R);
4643
4643
  const te = t.value;
4644
4644
  te.style.height = G.height + "px", te.style.width = G.width + "px", te.style.left = `${R.x}px`, te.style.top = `${R.y}px`, te.style.transform = "", m.value = {
4645
4645
  size: G,
@@ -4681,7 +4681,7 @@ function Qr(n, e) {
4681
4681
  };
4682
4682
  }
4683
4683
  function Zr(n, e, t) {
4684
- const o = b(), i = b(n.draggable), r = b(n.lockAxis), a = b(), c = b(), l = b(!1), u = b(new re(0, 0)), p = b(new re(0, 0)), s = b(new re(0, 0)), m = b(new re(0, 0));
4684
+ const o = b(), i = b(n.draggable), r = b(n.lockAxis), a = b(), u = b(), l = b(!1), c = b(new re(0, 0)), p = b(new re(0, 0)), s = b(new re(0, 0)), m = b(new re(0, 0));
4685
4685
  xe(() => t.value, (F) => {
4686
4686
  a.value.style.cursor = F ? "move" : "default";
4687
4687
  });
@@ -4698,14 +4698,14 @@ function Zr(n, e, t) {
4698
4698
  function f() {
4699
4699
  var q, C;
4700
4700
  let F = s.value.x + p.value.x, x = s.value.y + p.value.y;
4701
- r.value === "x" ? (F = ((q = u.value) == null ? void 0 : q.x) || 0, s.value.x = 0) : r.value === "y" && (x = ((C = u.value) == null ? void 0 : C.y) || 0, s.value.y = 0);
4701
+ r.value === "x" ? (F = ((q = c.value) == null ? void 0 : q.x) || 0, s.value.x = 0) : r.value === "y" && (x = ((C = c.value) == null ? void 0 : C.y) || 0, s.value.y = 0);
4702
4702
  const P = `translate3d(${Math.round(F)}px, ${Math.round(x)}px, 0px)`;
4703
4703
  o.value && (o.value.style.transform = P), m.value.x = F, m.value.y = x;
4704
4704
  }
4705
4705
  function v() {
4706
- if (!c.value || !o.value)
4706
+ if (!u.value || !o.value)
4707
4707
  return null;
4708
- const F = c.value.getBoundingClientRect(), x = o.value.getBoundingClientRect(), P = {
4708
+ const F = u.value.getBoundingClientRect(), x = o.value.getBoundingClientRect(), P = {
4709
4709
  top: F.top < x.top,
4710
4710
  right: F.right > x.right,
4711
4711
  bottom: F.bottom > x.bottom,
@@ -4714,7 +4714,7 @@ function Zr(n, e, t) {
4714
4714
  return P.top || (s.value.y -= x.top - F.top), P.bottom || (s.value.y -= x.bottom - F.bottom), P.right || (s.value.x -= x.right - F.right), P.left || (s.value.x -= x.left - F.left), f(), P;
4715
4715
  }
4716
4716
  function y(F) {
4717
- F && (u.value && F.subtract(u.value), s.value.set(F), f(), v());
4717
+ F && (c.value && F.subtract(c.value), s.value.set(F), f(), v());
4718
4718
  }
4719
4719
  function T(F) {
4720
4720
  l.value && i.value && (F.stopPropagation(), F.preventDefault(), y(re.fromEvent(F, a.value)));
@@ -4738,7 +4738,7 @@ function Zr(n, e, t) {
4738
4738
  if (!t.value || F instanceof MouseEvent && F.button === 2)
4739
4739
  return;
4740
4740
  const x = F.target || F.srcElement;
4741
- a.value !== void 0 && x && !d(x, a.value) || i.value !== !1 && (document.body.click(), F.stopPropagation(), F.preventDefault(), u.value = re.fromEvent(F, o.value), L(), z());
4741
+ a.value !== void 0 && x && !d(x, a.value) || i.value !== !1 && (document.body.click(), F.stopPropagation(), F.preventDefault(), c.value = re.fromEvent(F, o.value), L(), z());
4742
4742
  }
4743
4743
  function g(F, x, P) {
4744
4744
  if (i.value && x) {
@@ -4752,7 +4752,7 @@ function Zr(n, e, t) {
4752
4752
  q && (a.value = q);
4753
4753
  }
4754
4754
  }
4755
- o.value = x, c.value = P, a.value ? (a.value.classList.add("ng-draggable"), a.value.addEventListener("mousedown", w)) : i.value = !1;
4755
+ o.value = x, u.value = P, a.value ? (a.value.classList.add("ng-draggable"), a.value.addEventListener("mousedown", w)) : i.value = !1;
4756
4756
  }
4757
4757
  }
4758
4758
  return {
@@ -4793,7 +4793,7 @@ const We = /* @__PURE__ */ _e({
4793
4793
  props: pn,
4794
4794
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove"],
4795
4795
  setup(n, e) {
4796
- const t = b(n.width || 300), o = b(n.height || 200), i = b(n.modelValue), r = b(""), a = b(n.class), c = b(n.fitContent), l = b(n.showHeader), u = b(""), p = b(n.showCloseButton), s = b(n.showMaxButton), m = b(!1), d = b(n.dialogType), f = b(n.src), v = b(""), y = b(n.showButtons), T = b(n.title), B = b(n.containment || null), z = b(), {
4796
+ const t = b(n.width || 300), o = b(n.height || 200), i = b(n.modelValue), r = b(""), a = b(n.class), u = b(n.fitContent), l = b(n.showHeader), c = b(""), p = b(n.showCloseButton), s = b(n.showMaxButton), m = b(!1), d = b(n.dialogType), f = b(n.src), v = b(""), y = b(n.showButtons), T = b(n.title), B = b(n.containment || null), z = b(), {
4797
4797
  t: L
4798
4798
  } = Lt();
4799
4799
  T.value === "错误提示" && (T.value = L("messageBox.errorTitle"));
@@ -4801,12 +4801,12 @@ const We = /* @__PURE__ */ _e({
4801
4801
  function g(k, Q) {
4802
4802
  const le = Q ? "accept" : "cancel";
4803
4803
  Promise.resolve().then(() => {
4804
- var ue;
4805
- return (ue = n.beforeClose) == null ? void 0 : ue.call(n, {
4804
+ var ce;
4805
+ return (ce = n.beforeClose) == null ? void 0 : ce.call(n, {
4806
4806
  closeType: le
4807
4807
  });
4808
- }).then((ue) => {
4809
- ue && (i.value = !1, e.emit("update:modelValue", !1), Q != null && e.emit(Q ? "accept" : "cancel"), e.emit("closed", k));
4808
+ }).then((ce) => {
4809
+ ce && (i.value = !1, e.emit("update:modelValue", !1), Q != null && e.emit(Q ? "accept" : "cancel"), e.emit("closed", k));
4810
4810
  });
4811
4811
  }
4812
4812
  const F = [{
@@ -4823,7 +4823,7 @@ const We = /* @__PURE__ */ _e({
4823
4823
  handle: (k) => {
4824
4824
  g(k, !0);
4825
4825
  }
4826
- }], x = b(n.buttons && n.buttons.length ? n.buttons : F), P = A(() => !!u.value), q = A(() => !!y.value && !!x.value), C = b(), E = b(), N = b(!1), {
4826
+ }], x = b(n.buttons && n.buttons.length ? n.buttons : F), P = A(() => !!c.value), q = A(() => !!y.value && !!x.value), C = b(), E = b(), N = b(!1), {
4827
4827
  renderResizeBar: V,
4828
4828
  maximize: S,
4829
4829
  restore: U,
@@ -4853,8 +4853,8 @@ const We = /* @__PURE__ */ _e({
4853
4853
  }), xe(() => n.showButtons, (k, Q) => {
4854
4854
  k !== Q && (y.value = k);
4855
4855
  }), xe(() => O.value, (k, Q) => {
4856
- const le = k || {}, ue = Q || {};
4857
- JSON.stringify(le) !== JSON.stringify(ue) && e.emit("resize", {
4856
+ const le = k || {}, ce = Q || {};
4857
+ JSON.stringify(le) !== JSON.stringify(ce) && e.emit("resize", {
4858
4858
  newSize: k,
4859
4859
  oldSize: Q,
4860
4860
  isMaximized: N.value
@@ -4867,22 +4867,22 @@ const We = /* @__PURE__ */ _e({
4867
4867
  "farris-modal": !0,
4868
4868
  fade: !0
4869
4869
  };
4870
- k["f-modal-fitContent"] = !!c.value, k.show = !!J.value;
4870
+ k["f-modal-fitContent"] = !!u.value, k.show = !!J.value;
4871
4871
  const Q = (le = n.maskClass) == null ? void 0 : le.split(" ");
4872
- return Q == null || Q.reduce((ue, ke) => (ue[ke] = !0, ue), k), k;
4872
+ return Q == null || Q.reduce((ce, ke) => (ce[ke] = !0, ce), k), k;
4873
4873
  }), se = A(() => {
4874
4874
  var le;
4875
4875
  const k = {
4876
4876
  "modal-dialog": !0
4877
4877
  }, Q = (le = a.value) == null ? void 0 : le.split(" ");
4878
- return Q == null || Q.reduce((ue, ke) => (ue[ke] = !0, ue), k), k;
4878
+ return Q == null || Q.reduce((ce, ke) => (ce[ke] = !0, ce), k), k;
4879
4879
  }), ne = A(() => {
4880
4880
  const k = {
4881
4881
  position: "absolute",
4882
4882
  top: `${(window.innerHeight - o.value) / 2}px`,
4883
4883
  left: `${(window.innerWidth - t.value) / 2}px`,
4884
4884
  width: `${t.value}px`,
4885
- height: c.value ? "auto" : `${o.value}px`
4885
+ height: u.value ? "auto" : `${o.value}px`
4886
4886
  };
4887
4887
  return n.mask || (k.pointerEvents = "auto"), k;
4888
4888
  }), W = () => Hn() || 1040, oe = A(() => {
@@ -4992,7 +4992,7 @@ const We = /* @__PURE__ */ _e({
4992
4992
  }, [e.slots.headerTemplate ? e.slots.headerTemplate() : M("div", {
4993
4993
  class: "modal-title"
4994
4994
  }, [P.value && M("span", {
4995
- class: u.value,
4995
+ class: c.value,
4996
4996
  style: "margin-right: 8px"
4997
4997
  }, null), M("span", {
4998
4998
  class: "modal-title-label"
@@ -5027,7 +5027,7 @@ const We = /* @__PURE__ */ _e({
5027
5027
  width: "100%",
5028
5028
  frameborder: "0",
5029
5029
  src: f.value
5030
- }, null)]), Be()]), !c.value && E.value && !N.value && V(E.value)]);
5030
+ }, null)]), Be()]), !u.value && E.value && !N.value && V(E.value)]);
5031
5031
  }
5032
5032
  function Je(k) {
5033
5033
  return k || "body";
@@ -5063,7 +5063,7 @@ function ta(n) {
5063
5063
  wt(() => {
5064
5064
  document.body.removeChild(e);
5065
5065
  });
5066
- const r = b(), a = b(n.class || ""), c = b(!!n.showButtons), l = b(!!n.showHeader), u = b(n.showCloseButton == null ? !0 : n.showCloseButton), p = b(!0), s = b(n.title || ""), m = n.acceptCallback || (() => {
5066
+ const r = b(), a = b(n.class || ""), u = b(!!n.showButtons), l = b(!!n.showHeader), c = b(n.showCloseButton == null ? !0 : n.showCloseButton), p = b(!0), s = b(n.title || ""), m = n.acceptCallback || (() => {
5067
5067
  }), d = n.rejectCallback || (() => {
5068
5068
  }), f = n.closedCallback || ((z) => {
5069
5069
  }), v = n.resizeHandle || ((z) => {
@@ -5084,8 +5084,8 @@ function ta(n) {
5084
5084
  height: n.height,
5085
5085
  buttons: n.buttons,
5086
5086
  "show-header": l.value,
5087
- "show-buttons": c.value,
5088
- "show-close-button": u.value,
5087
+ "show-buttons": u.value,
5088
+ "show-close-button": c.value,
5089
5089
  "show-max-button": !1,
5090
5090
  onAccept: m,
5091
5091
  onCancel: d,
@@ -5147,16 +5147,16 @@ class hn {
5147
5147
  showHeader: !0
5148
5148
  }, e)), i = b(!0), r = o.value.acceptCallback || (() => {
5149
5149
  }), a = o.value.rejectCallback || (() => {
5150
- }), c = o.value.closedCallback || ((w, g) => {
5150
+ }), u = o.value.closedCallback || ((w, g) => {
5151
5151
  }), l = o.value.resizeHandle || ((w) => {
5152
- }), u = e.stopMoveHandle || ((w) => {
5152
+ }), c = e.stopMoveHandle || ((w) => {
5153
5153
  });
5154
5154
  let p;
5155
5155
  const s = vn(o.value), m = (w) => {
5156
5156
  var F;
5157
5157
  i.value = !1;
5158
5158
  const g = (F = w == null ? void 0 : w.target) == null ? void 0 : F.classList.contains("modal_close");
5159
- c(w, this.isUseEscCloseModal.value ? "esc" : g ? "icon" : "button");
5159
+ u(w, this.isUseEscCloseModal.value ? "esc" : g ? "icon" : "button");
5160
5160
  }, d = (w) => {
5161
5161
  m(w), p && at(() => {
5162
5162
  if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], Nt(null, t), p = null, this.modalRef.value = null, this.modalRefs) {
@@ -5183,7 +5183,7 @@ class hn {
5183
5183
  onClosed: d,
5184
5184
  onResize: l,
5185
5185
  onEsc: f,
5186
- onStopMove: u
5186
+ onStopMove: c
5187
5187
  }), {
5188
5188
  default: () => [s && s(this.app)]
5189
5189
  });
@@ -5222,13 +5222,13 @@ const Fe = class Fe {
5222
5222
  const t = Le({
5223
5223
  ...e
5224
5224
  }), o = !1, i = t.type === "error" || t.type === "prompt", r = t.type === "error" ? "错误提示" : t.type === "prompt" && t.title || "", a = t.acceptCallback || (() => {
5225
- }), c = t.rejectCallback || (() => {
5225
+ }), u = t.rejectCallback || (() => {
5226
5226
  });
5227
- let l = null, u = new hn(Fe.app);
5227
+ let l = null, c = new hn(Fe.app);
5228
5228
  const p = () => {
5229
- l && (l == null || l.destroy(), u = null);
5229
+ l && (l == null || l.destroy(), c = null);
5230
5230
  };
5231
- return l = u == null ? void 0 : u.open({
5231
+ return l = c == null ? void 0 : c.open({
5232
5232
  class: "modal-message modal-message-type-info",
5233
5233
  title: r,
5234
5234
  showButtons: o,
@@ -5240,10 +5240,10 @@ const Fe = class Fe {
5240
5240
  dragHandle: ".messager-draggable",
5241
5241
  render: () => M(mt, Dt(t, {
5242
5242
  onAccept: a,
5243
- onReject: c,
5243
+ onReject: u,
5244
5244
  onClose: p
5245
5245
  }), null)
5246
- }), u == null ? void 0 : u.getCurrentModal();
5246
+ }), c == null ? void 0 : c.getCurrentModal();
5247
5247
  }
5248
5248
  static info(e, t) {
5249
5249
  const o = Le({
@@ -5343,7 +5343,7 @@ class oa extends gi {
5343
5343
  getBasicProperties(t, o, i = "Card") {
5344
5344
  const r = this;
5345
5345
  this.setDesignViewModelField(t);
5346
- const { canChangeControlType: a, editorTypeList: c } = this.getAvailableEditorType(t), l = {
5346
+ const { canChangeControlType: a, editorTypeList: u } = this.getAvailableEditorType(t), l = {
5347
5347
  description: "Basic Information",
5348
5348
  title: "基本信息",
5349
5349
  properties: {
@@ -5365,7 +5365,7 @@ class oa extends gi {
5365
5365
  valueField: "key",
5366
5366
  idField: "key",
5367
5367
  editable: !1,
5368
- data: c,
5368
+ data: u,
5369
5369
  readonly: !a
5370
5370
  }
5371
5371
  },
@@ -5401,19 +5401,19 @@ class oa extends gi {
5401
5401
  readonly: this.formSchemaUtils.designerMode === "PC_RTC" && !t.isRtcControl
5402
5402
  }
5403
5403
  },
5404
- setPropertyRelates(u, p, s) {
5405
- if (u)
5406
- switch (u && u.propertyID) {
5404
+ setPropertyRelates(c, p, s) {
5405
+ if (c)
5406
+ switch (c && c.propertyID) {
5407
5407
  case "type": {
5408
- r.changeControlType(t, u, o);
5408
+ r.changeControlType(t, c, o);
5409
5409
  break;
5410
5410
  }
5411
5411
  case "label": {
5412
- u.needRefreshControlTree = !0;
5412
+ c.needRefreshControlTree = !0;
5413
5413
  break;
5414
5414
  }
5415
5415
  case "binding": {
5416
- r.changeBindingField(t, u, s);
5416
+ r.changeBindingField(t, c, s);
5417
5417
  break;
5418
5418
  }
5419
5419
  }
@@ -5517,24 +5517,24 @@ class oa extends gi {
5517
5517
  const r = o.propertyValue, a = i && i.parent && i.parent.schema;
5518
5518
  if (!a)
5519
5519
  return;
5520
- const c = a.contents.findIndex((p) => p.id === t.id);
5521
- if (c === -1)
5520
+ const u = a.contents.findIndex((p) => p.id === t.id);
5521
+ if (u === -1)
5522
5522
  return;
5523
- const l = a.contents[c];
5524
- let u;
5523
+ const l = a.contents[u];
5524
+ let c;
5525
5525
  if (this.designViewModelField) {
5526
5526
  const m = this.formSchemaUtils.getViewModelById(this.viewModelId).fields.find((f) => f.id === this.designViewModelField.id).fieldSchema || {};
5527
- m.editor || (m.editor = {}), m.editor.$type = r, this.designViewModelUtils.getDgViewModel(this.viewModelId).changeField(this.designViewModelField.id, m, !1), u = this.controlCreatorUtils.setFormFieldProperty(this.designViewModelField, r);
5527
+ m.editor || (m.editor = {}), m.editor.$type = r, this.designViewModelUtils.getDgViewModel(this.viewModelId).changeField(this.designViewModelField.id, m, !1), c = this.controlCreatorUtils.setFormFieldProperty(this.designViewModelField, r);
5528
5528
  }
5529
- u || (u = this.controlCreatorUtils.createFormGroupWithoutField(r)), Object.assign(u, {
5529
+ c || (c = this.controlCreatorUtils.createFormGroupWithoutField(r)), Object.assign(c, {
5530
5530
  id: l.id,
5531
5531
  appearance: l.appearance,
5532
5532
  size: l.size,
5533
5533
  label: l.label,
5534
5534
  binding: l.binding
5535
- }), Object.prototype.hasOwnProperty.call(l, "visible") && Object.assign(u, { visible: l.visible }), l.editor && ["readonly", "required", "placeholder"].map((p) => {
5536
- Object.prototype.hasOwnProperty.call(l.editor, p) && (u.editor[p] = l.editor[p]);
5537
- }), i != null && i.updateContextSchema ? i.updateContextSchema(u) : (i.schema = Object.assign(l, u), Object.assign(t, u)), Array.from(document.getElementsByClassName("dgComponentSelected")).forEach(
5535
+ }), Object.prototype.hasOwnProperty.call(l, "visible") && Object.assign(c, { visible: l.visible }), l.editor && ["readonly", "required", "placeholder"].map((p) => {
5536
+ Object.prototype.hasOwnProperty.call(l.editor, p) && (c.editor[p] = l.editor[p]);
5537
+ }), i != null && i.updateContextSchema ? i.updateContextSchema(c) : (i.schema = Object.assign(l, c), Object.assign(t, c)), Array.from(document.getElementsByClassName("dgComponentSelected")).forEach(
5538
5538
  (p) => p.classList.remove("dgComponentSelected")
5539
5539
  ), Array.from(document.getElementsByClassName("dgComponentFocused")).forEach(
5540
5540
  (p) => p.classList.remove("dgComponentFocused")
@@ -5550,7 +5550,7 @@ class oa extends gi {
5550
5550
  type: "input-group",
5551
5551
  $converter: "/converter/property-editor.converter",
5552
5552
  parentPropertyID: "editor"
5553
- }, o), c = (m = t.binding) != null && m.field ? [] : ["Const", "Variable", "StateMachine"], l = this.getPropertyEditorParams(t, c, "readonly"), u = this.getPropertyEditorParams(t, c, "required"), p = {
5553
+ }, o), u = (m = t.binding) != null && m.field ? [] : ["Const", "Variable", "StateMachine"], l = this.getPropertyEditorParams(t, u, "readonly"), c = this.getPropertyEditorParams(t, u, "required"), p = {
5554
5554
  readonly: {
5555
5555
  description: "",
5556
5556
  title: "只读",
@@ -5560,7 +5560,7 @@ class oa extends gi {
5560
5560
  description: "",
5561
5561
  title: "必填",
5562
5562
  type: "boolean",
5563
- editor: u
5563
+ editor: c
5564
5564
  },
5565
5565
  placeholder: {
5566
5566
  description: "当控件没有值时在输入框中显示的文本",
@@ -5595,14 +5595,14 @@ class oa extends gi {
5595
5595
  */
5596
5596
  updateUnifiedLayoutAfterControlChanged(t, o, i) {
5597
5597
  const r = t.split(" ");
5598
- let a = r.find((s) => /^col-([1-9]|10|11|12)$/.test(s)), c = r.find((s) => /^col-md-([1-9]|10|11|12)$/.test(s)), l = r.find((s) => /^col-xl-([1-9]|10|11|12)$/.test(s)), u = r.find((s) => /^col-el-([1-9]|10|11|12)$/.test(s));
5599
- a = a || "col-12", c = c || "col-md-" + a.replace("col-", ""), l = l || "col-xl-" + c.replace("col-md-", ""), u = u || "col-el-" + l.replace("col-xl-", "");
5598
+ let a = r.find((s) => /^col-([1-9]|10|11|12)$/.test(s)), u = r.find((s) => /^col-md-([1-9]|10|11|12)$/.test(s)), l = r.find((s) => /^col-xl-([1-9]|10|11|12)$/.test(s)), c = r.find((s) => /^col-el-([1-9]|10|11|12)$/.test(s));
5599
+ a = a || "col-12", u = u || "col-md-" + a.replace("col-", ""), l = l || "col-xl-" + u.replace("col-md-", ""), c = c || "col-el-" + l.replace("col-xl-", "");
5600
5600
  const p = {
5601
5601
  id: o,
5602
5602
  columnInSM: parseInt(a.replace("col-", ""), 10),
5603
- columnInMD: parseInt(c.replace("col-md-", ""), 10),
5603
+ columnInMD: parseInt(u.replace("col-md-", ""), 10),
5604
5604
  columnInLG: parseInt(l.replace("col-xl-", ""), 10),
5605
- columnInEL: parseInt(u.replace("col-el-", ""), 10)
5605
+ columnInEL: parseInt(c.replace("col-el-", ""), 10)
5606
5606
  };
5607
5607
  this.updateUnifiedLayoutAfterResponseLayoutChanged(i, p);
5608
5608
  }
@@ -5620,7 +5620,7 @@ class oa extends gi {
5620
5620
  const f = r.find((v) => v.id === o.id);
5621
5621
  Object.assign(f || {}, o);
5622
5622
  }
5623
- const a = r.map((f) => f.columnInSM), c = r.map((f) => f.columnInMD), l = r.map((f) => f.columnInLG), u = r.map((f) => f.columnInEL), p = this.checkIsUniqueColumn(a) ? a[0] : null, s = this.checkIsUniqueColumn(c) ? c[0] : null, m = this.checkIsUniqueColumn(l) ? l[0] : null, d = this.checkIsUniqueColumn(u) ? u[0] : null;
5623
+ const a = r.map((f) => f.columnInSM), u = r.map((f) => f.columnInMD), l = r.map((f) => f.columnInLG), c = r.map((f) => f.columnInEL), p = this.checkIsUniqueColumn(a) ? a[0] : null, s = this.checkIsUniqueColumn(u) ? u[0] : null, m = this.checkIsUniqueColumn(l) ? l[0] : null, d = this.checkIsUniqueColumn(c) ? c[0] : null;
5624
5624
  Object.assign(i.unifiedLayout, {
5625
5625
  uniqueColClassInSM: p,
5626
5626
  uniqueColClassInMD: s,
@@ -5705,9 +5705,9 @@ class oa extends gi {
5705
5705
  */
5706
5706
  getEventPropertyConfig(t, o = "card", i, r) {
5707
5707
  const a = this;
5708
- let c = [];
5709
- i && (c = c.concat(i)), this.appendFieldValueChangeEvents(t, c);
5710
- const l = a.eventsEditorUtils.formProperties(t, a.viewModelId, c);
5708
+ let u = [];
5709
+ i && (u = u.concat(i)), this.appendFieldValueChangeEvents(t, u);
5710
+ const l = a.eventsEditorUtils.formProperties(t, a.viewModelId, u);
5711
5711
  return {
5712
5712
  title: "事件",
5713
5713
  hideTitle: !0,
@@ -5743,8 +5743,8 @@ class oa extends gi {
5743
5743
  setBooleanValue(t, o, i) {
5744
5744
  let r = i;
5745
5745
  this.getBindingDataType() === "string" && (r = (r || "").trim() || (o === "trueValue" ? "true" : "false"));
5746
- const c = o === "trueValue" ? "falseValue" : "trueValue";
5747
- t.editor[c] === r && (r = r + 1), this.updatePropertyValue(t, o, r);
5746
+ const u = o === "trueValue" ? "falseValue" : "trueValue";
5747
+ t.editor[u] === r && (r = r + 1), this.updatePropertyValue(t, o, r);
5748
5748
  }
5749
5749
  getBooleanValueConverter() {
5750
5750
  return {
@@ -5831,9 +5831,9 @@ const aa = /* @__PURE__ */ _e({
5831
5831
  props: fi,
5832
5832
  emits: [""],
5833
5833
  setup(n, e) {
5834
- const t = b(), o = Wt("designer-host-service"), i = Wt("design-item-context"), r = ra(i, o), a = pi(t, i, r), c = A(() => n.maxLength ? n.maxLength : n.modelValue.length), l = A(() => ({
5834
+ const t = b(), o = Wt("designer-host-service"), i = Wt("design-item-context"), r = ra(i, o), a = pi(t, i, r), u = A(() => n.maxLength ? n.maxLength : n.modelValue.length), l = A(() => ({
5835
5835
  position: "relative"
5836
- })), u = A(() => ({
5836
+ })), c = A(() => ({
5837
5837
  "box-shadow": "0 0 0 1px #dcdfe6 inset",
5838
5838
  border: "none",
5839
5839
  padding: "5px 10px",
@@ -5853,25 +5853,25 @@ const aa = /* @__PURE__ */ _e({
5853
5853
  tabindex: n.tabIndex,
5854
5854
  disabled: !1,
5855
5855
  readonly: !0,
5856
- style: u.value,
5856
+ style: c.value,
5857
5857
  placeholder: n.placeholder,
5858
5858
  rows: n.rows
5859
5859
  }, null), n.showCount && M("span", {
5860
5860
  style: p
5861
- }, [`${n.modelValue.length}/${c.value}`])]);
5861
+ }, [`${n.modelValue.length}/${u.value}`])]);
5862
5862
  }
5863
5863
  });
5864
5864
  gt.register = (n, e, t, o) => {
5865
- n.textarea = gt, e.textarea = cn;
5865
+ n.textarea = gt, e.textarea = un;
5866
5866
  };
5867
5867
  gt.registerDesigner = (n, e, t) => {
5868
- n.textarea = aa, e.textarea = cn;
5868
+ n.textarea = aa, e.textarea = un;
5869
5869
  };
5870
- const Al = Qt(gt);
5870
+ const _l = Qt(gt);
5871
5871
  export {
5872
5872
  gt as FTextarea,
5873
- Al as default,
5874
- cn as propsResolver,
5873
+ _l as default,
5874
+ un as propsResolver,
5875
5875
  fi as textAreaDesignProps,
5876
5876
  Rt as textAreaProps
5877
5877
  };