@farris/ui-vue 1.6.5-beta.7 → 1.6.5

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 (192) 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 +360 -361
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/button-edit/index.esm.js +524 -520
  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 +190 -181
  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 +309 -309
  24. package/components/component/index.umd.cjs +1 -1
  25. package/components/condition/index.esm.js +1125 -1124
  26. package/components/condition/index.umd.cjs +1 -1
  27. package/components/content-container/index.esm.js +472 -472
  28. package/components/content-container/index.umd.cjs +1 -1
  29. package/components/data-grid/index.esm.js +99 -99
  30. package/components/data-grid/index.umd.cjs +1 -1
  31. package/components/data-view/index.esm.js +3387 -3321
  32. package/components/data-view/index.umd.cjs +1 -1
  33. package/components/date-picker/index.esm.js +1604 -1601
  34. package/components/date-picker/index.umd.cjs +1 -1
  35. package/components/designer-canvas/index.esm.js +1082 -1079
  36. package/components/designer-canvas/index.umd.cjs +1 -1
  37. package/components/discussion-editor/index.esm.js +973 -1040
  38. package/components/discussion-editor/index.umd.cjs +6 -6
  39. package/components/dropdown/index.esm.js +335 -330
  40. package/components/dropdown/index.umd.cjs +2 -2
  41. package/components/dynamic-form/index.esm.js +177 -177
  42. package/components/dynamic-form/index.umd.cjs +1 -1
  43. package/components/dynamic-resolver/index.esm.js +6 -6
  44. package/components/dynamic-resolver/index.umd.cjs +1 -1
  45. package/components/dynamic-view/index.esm.js +344 -344
  46. package/components/dynamic-view/index.umd.cjs +1 -1
  47. package/components/events-editor/index.esm.js +644 -644
  48. package/components/events-editor/index.umd.cjs +3 -3
  49. package/components/expression-editor/index.esm.js +1773 -1760
  50. package/components/expression-editor/index.umd.cjs +4 -4
  51. package/components/fieldset/index.esm.js +55 -55
  52. package/components/fieldset/index.umd.cjs +1 -1
  53. package/components/filter-bar/index.esm.js +879 -869
  54. package/components/filter-bar/index.umd.cjs +1 -1
  55. package/components/filter-condition-editor/index.esm.js +1091 -1077
  56. package/components/filter-condition-editor/index.umd.cjs +3 -3
  57. package/components/flow-canvas/index.esm.js +215 -215
  58. package/components/flow-canvas/index.umd.cjs +1 -1
  59. package/components/html-template/index.esm.js +164 -164
  60. package/components/html-template/index.umd.cjs +1 -1
  61. package/components/image-cropper/index.esm.js +198 -198
  62. package/components/image-cropper/index.umd.cjs +1 -1
  63. package/components/json-editor/index.esm.js +64 -64
  64. package/components/json-editor/index.umd.cjs +1 -1
  65. package/components/language-textbox/index.esm.js +140 -140
  66. package/components/language-textbox/index.umd.cjs +1 -1
  67. package/components/layout/index.esm.js +111 -111
  68. package/components/layout/index.umd.cjs +1 -1
  69. package/components/list-nav/index.esm.js +90 -90
  70. package/components/list-nav/index.umd.cjs +1 -1
  71. package/components/list-view/index.esm.js +139 -141
  72. package/components/list-view/index.umd.cjs +3 -3
  73. package/components/locale/index.esm.js +833 -901
  74. package/components/locale/index.umd.cjs +6 -6
  75. package/components/lookup/index.esm.js +1352 -1351
  76. package/components/lookup/index.umd.cjs +1 -1
  77. package/components/mapping-editor/index.esm.js +1387 -1383
  78. package/components/mapping-editor/index.umd.cjs +1 -1
  79. package/components/menu-lookup/index.esm.js +1059 -1127
  80. package/components/menu-lookup/index.umd.cjs +6 -6
  81. package/components/message-box/index.esm.js +217 -217
  82. package/components/message-box/index.umd.cjs +1 -1
  83. package/components/modal/index.esm.js +283 -283
  84. package/components/modal/index.umd.cjs +1 -1
  85. package/components/nav/index.esm.js +106 -106
  86. package/components/nav/index.umd.cjs +1 -1
  87. package/components/number-range/index.esm.js +194 -194
  88. package/components/number-range/index.umd.cjs +1 -1
  89. package/components/number-spinner/index.esm.js +463 -462
  90. package/components/number-spinner/index.umd.cjs +1 -1
  91. package/components/order/index.esm.js +883 -876
  92. package/components/order/index.umd.cjs +4 -4
  93. package/components/page-footer/index.esm.js +94 -94
  94. package/components/page-footer/index.umd.cjs +1 -1
  95. package/components/page-header/index.esm.js +942 -939
  96. package/components/page-header/index.umd.cjs +1 -1
  97. package/components/pagination/index.esm.js +82 -82
  98. package/components/pagination/index.umd.cjs +1 -1
  99. package/components/popover/index.esm.js +59 -57
  100. package/components/popover/index.umd.cjs +1 -1
  101. package/components/progress/index.esm.js +113 -113
  102. package/components/progress/index.umd.cjs +2 -2
  103. package/components/property-editor/index.esm.js +151 -150
  104. package/components/property-editor/index.umd.cjs +1 -1
  105. package/components/property-panel/index.esm.js +739 -739
  106. package/components/property-panel/index.umd.cjs +2 -2
  107. package/components/query-solution/index.esm.js +4142 -4190
  108. package/components/query-solution/index.umd.cjs +6 -6
  109. package/components/radio-button/index.esm.js +182 -182
  110. package/components/radio-button/index.umd.cjs +1 -1
  111. package/components/rate/index.esm.js +106 -106
  112. package/components/rate/index.umd.cjs +1 -1
  113. package/components/response-layout/index.esm.js +535 -535
  114. package/components/response-layout/index.umd.cjs +1 -1
  115. package/components/response-layout-editor/index.esm.js +1456 -1443
  116. package/components/response-layout-editor/index.umd.cjs +1 -1
  117. package/components/response-toolbar/index.esm.js +779 -776
  118. package/components/response-toolbar/index.umd.cjs +1 -1
  119. package/components/schema-selector/index.esm.js +1875 -1866
  120. package/components/schema-selector/index.umd.cjs +7 -7
  121. package/components/search-box/index.esm.js +151 -147
  122. package/components/search-box/index.umd.cjs +1 -1
  123. package/components/section/index.esm.js +1236 -1233
  124. package/components/section/index.umd.cjs +1 -1
  125. package/components/smoke-detector/index.esm.js +163 -163
  126. package/components/smoke-detector/index.umd.cjs +1 -1
  127. package/components/sort-condition-editor/index.esm.js +1097 -1083
  128. package/components/sort-condition-editor/index.umd.cjs +3 -3
  129. package/components/splitter/index.esm.js +3 -3
  130. package/components/splitter/index.umd.cjs +1 -1
  131. package/components/step/index.esm.js +133 -133
  132. package/components/step/index.umd.cjs +1 -1
  133. package/components/switch/index.esm.js +103 -98
  134. package/components/switch/index.umd.cjs +1 -1
  135. package/components/tabs/index.esm.js +1596 -1593
  136. package/components/tabs/index.umd.cjs +2 -2
  137. package/components/tags/index.esm.js +93 -93
  138. package/components/tags/index.umd.cjs +1 -1
  139. package/components/text/index.esm.js +138 -138
  140. package/components/text/index.umd.cjs +1 -1
  141. package/components/textarea/index.esm.js +684 -684
  142. package/components/textarea/index.umd.cjs +2 -2
  143. package/components/time-picker/index.esm.js +935 -929
  144. package/components/time-picker/index.umd.cjs +1 -1
  145. package/components/tooltip/index.esm.js +173 -171
  146. package/components/tooltip/index.umd.cjs +1 -1
  147. package/components/transfer/index.esm.js +190 -192
  148. package/components/transfer/index.umd.cjs +4 -4
  149. package/components/tree-grid/index.esm.js +124 -124
  150. package/components/tree-grid/index.umd.cjs +1 -1
  151. package/components/tree-view/index.esm.js +2363 -2278
  152. package/components/tree-view/index.umd.cjs +1 -1
  153. package/components/uploader/index.esm.js +170 -170
  154. package/components/uploader/index.umd.cjs +2 -2
  155. package/components/verify-detail/index.esm.js +196 -196
  156. package/components/verify-detail/index.umd.cjs +1 -1
  157. package/components/video/index.esm.js +227 -227
  158. package/components/video/index.umd.cjs +1 -1
  159. package/components/weather/index.esm.js +9 -9
  160. package/components/weather/index.umd.cjs +2 -2
  161. package/designer/button-edit/index.esm.js +353 -353
  162. package/designer/button-edit/index.umd.cjs +1 -1
  163. package/designer/checkbox/index.esm.js +7 -3
  164. package/designer/checkbox/index.umd.cjs +1 -1
  165. package/designer/checkbox-group/index.esm.js +38 -33
  166. package/designer/checkbox-group/index.umd.cjs +1 -1
  167. package/designer/data-grid/index.esm.js +3562 -3536
  168. package/designer/data-grid/index.umd.cjs +6 -6
  169. package/designer/data-view/index.esm.js +3 -3
  170. package/designer/data-view/index.umd.cjs +3 -3
  171. package/designer/farris-designer.all.esm.js +4203 -4193
  172. package/designer/farris-designer.all.umd.cjs +9 -9
  173. package/designer/input-group/index.esm.js +97 -97
  174. package/designer/input-group/index.umd.cjs +1 -1
  175. package/designer/list-view/index.esm.js +1868 -1854
  176. package/designer/list-view/index.umd.cjs +8 -8
  177. package/designer/radio-group/index.esm.js +954 -949
  178. package/designer/radio-group/index.umd.cjs +1 -1
  179. package/farris.all.esm.js +16195 -16126
  180. package/farris.all.umd.cjs +30 -30
  181. package/locales/data-grid/ui/en.json +2 -2
  182. package/locales/designer/en.json +7 -6
  183. package/locales/designer/zh-CHS.json +2 -1
  184. package/locales/designer/zh-CHT.json +2 -1
  185. package/locales/ui/en.json +7 -6
  186. package/locales/ui/zh-CHS.json +2 -1
  187. package/locales/ui/zh-CHT.json +2 -1
  188. package/package.json +1 -1
  189. package/types/combo-list/src/property-config/combo-list.property-config.d.ts +0 -6
  190. package/types/data-view/composition/types.d.ts +10 -4
  191. package/types/lookup/src/composition/use-dialog.d.ts +2 -0
  192. package/types/lookup/src/composition/use-input-change.d.ts +1 -0
@@ -1,15 +1,15 @@
1
1
  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
- 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";
4
+ import { ref as w, 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 { 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";
@@ -90,17 +90,17 @@ import "../notify/index.esm.js";
90
90
  function Kt(n, e) {
91
91
  let t;
92
92
  function o(s) {
93
- const { properties: m, title: d, ignore: f } = s, v = f && Array.isArray(f), y = Object.keys(m).reduce((T, B) => ((!v || !f.find((z) => z === B)) && (T[B] = m[B].type === "object" && m[B].properties ? o(m[B]) : vt(m[B].default)), T), {});
94
- if (d && (!v || !f.find((T) => T === "id"))) {
95
- const T = d.toLowerCase().replace(/-/g, "_");
96
- y.id = `${T}_${Math.random().toString().slice(2, 6)}`;
93
+ const { properties: m, title: d, ignore: f } = s, v = f && Array.isArray(f), y = Object.keys(m).reduce((S, B) => ((!v || !f.find((z) => z === B)) && (S[B] = m[B].type === "object" && m[B].properties ? o(m[B]) : vt(m[B].default)), S), {});
94
+ if (d && (!v || !f.find((S) => S === "id"))) {
95
+ const S = d.toLowerCase().replace(/-/g, "_");
96
+ y.id = `${S}_${Math.random().toString().slice(2, 6)}`;
97
97
  }
98
98
  return y;
99
99
  }
100
100
  function i(s) {
101
101
  const { properties: m, title: d, required: f } = s;
102
102
  if (f && Array.isArray(f)) {
103
- const v = f.reduce((y, T) => (y[T] = m[T].type === "object" && m[T].properties ? o(m[T]) : vt(m[T].default), y), {});
103
+ const v = f.reduce((y, S) => (y[S] = m[S].type === "object" && m[S].properties ? o(m[S]) : vt(m[S].default), y), {});
104
104
  if (d && f.find((y) => y === "id")) {
105
105
  const y = d.toLowerCase().replace(/-/g, "_");
106
106
  v.id = `${y}_${Math.random().toString().slice(2, 6)}`;
@@ -124,15 +124,15 @@ 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);
131
131
  if (typeof y == "string")
132
132
  f[y] = s[v];
133
133
  else {
134
- const T = y(v, s[v], s);
135
- Object.assign(f, T);
134
+ const S = y(v, s[v], s);
135
+ Object.assign(f, S);
136
136
  }
137
137
  } else
138
138
  f[v] = s[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) {
@@ -152,7 +152,7 @@ function Kt(n, e) {
152
152
  return s;
153
153
  const v = a(s, f), y = ((d = s.editor) == null ? void 0 : d.type) || "";
154
154
  if (y) {
155
- const T = n[y], B = a(s.editor, T);
155
+ const S = n[y], B = a(s.editor, S);
156
156
  v.editor = B;
157
157
  }
158
158
  return v;
@@ -162,60 +162,60 @@ 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));
218
- return m ? !T.includes(!1) : T.includes(!0);
216
+ function l(c, p) {
217
+ const s = Object.keys(c), m = s.includes("allOf"), d = s.includes("anyOf"), f = m || d, S = (f ? c[f ? m ? "allOf" : "anyOf" : "allOf"] : [c]).map((z) => u(z, p));
218
+ return m ? !S.includes(!1) : S.includes(!0);
219
219
  }
220
220
  return { parseValueSchema: l };
221
221
  }
@@ -511,26 +511,26 @@ 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
- function p(f, v, y, T, B, z = "", L = "") {
524
+ function p(f, v, y, S, 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 = w(1), T = g, P = f[g], q = Object.keys(P), b = 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), x = u(q, P, v), U = l(q, P, v);
527
527
  V.readonly = V.readonly === void 0 ? U() : V.readonly;
528
- const Z = P.type === "cascade" ? p(P.properties, v, y, T, B, z, L) : [], O = !0;
529
- let I = u(P, L);
528
+ const Z = P.type === "cascade" ? p(P.properties, v, y, S, B, z, L) : [], O = !0;
529
+ let I = c(P, L);
530
530
  const G = A({
531
531
  get() {
532
532
  if (F.value) {
533
- if (["class", "style"].find((se) => se === x) && !I && (I = o.get("/converter/appearance.converter") || null), I && I.convertFrom)
533
+ if (["class", "style"].find((se) => se === T) && !I && (I = o.get("/converter/appearance.converter") || null), I && I.convertFrom)
534
534
  return I.convertFrom(y, g, B, z);
535
535
  const ie = y[g];
536
536
  return Object.prototype.hasOwnProperty.call(P, "defaultValue") && (ie === void 0 || typeof ie == "string" && ie === "") ? P.type === "boolean" ? P.defaultValue : P.defaultValue || "" : ie;
@@ -538,44 +538,44 @@ function nn(n, e, t) {
538
538
  return null;
539
539
  },
540
540
  set(ie) {
541
- F.value += 1, I && I.convertTo ? (I.convertTo(T, g, ie, B, z), I.convertTo(y, g, ie, B, z)) : (T[g] = ie, y[g] = ie);
541
+ F.value += 1, I && I.convertTo ? (I.convertTo(S, g, ie, B, z), I.convertTo(y, g, ie, B, z)) : (S[g] = ie, y[g] = ie);
542
542
  }
543
- }), { refreshPanelAfterChanged: R, description: te, isExpand: ve, parentPropertyID: he } = P, J = { propertyID: x, propertyName: C, propertyType: E, propertyValue: G, editor: V, visible: S, readonly: U, cascadeConfig: Z, hideCascadeTitle: O, refreshPanelAfterChanged: R, description: te, isExpand: ve, parentPropertyID: he };
544
- return v[x] = J, J;
543
+ }), { refreshPanelAfterChanged: R, description: te, isExpand: ve, parentPropertyID: he } = P, J = { propertyID: T, propertyName: b, propertyType: E, propertyValue: G, editor: V, visible: x, readonly: U, cascadeConfig: Z, hideCascadeTitle: O, refreshPanelAfterChanged: R, description: te, isExpand: ve, parentPropertyID: he };
544
+ return v[T] = J, J;
545
545
  });
546
546
  }
547
547
  function s(f, v, y = {}) {
548
- const T = {}, B = n[f];
548
+ const S = {}, B = n[f];
549
549
  return B && B.categories ? Object.keys(B.categories).map((L) => {
550
- const w = B.categories[L], g = w == null ? void 0 : w.title, F = p(w.properties || {}, T, {}, y, v);
550
+ const C = B.categories[L], g = C == null ? void 0 : C.title, F = p(C.properties || {}, S, {}, y, v);
551
551
  return { categoryId: L, categoryName: g, properties: F };
552
552
  }) : [];
553
553
  }
554
- function m(f, v, y, T, B = "") {
555
- const z = v.$ref.schema, L = v.$ref.converter, w = y[z], g = w.type, F = t(w), x = {}, P = n[g];
554
+ function m(f, v, y, S, B = "") {
555
+ const z = v.$ref.schema, L = v.$ref.converter, C = y[z], g = C.type, F = t(C), T = {}, P = n[g];
556
556
  if (P && P.categories) {
557
- const q = P.categories[f], C = q == null ? void 0 : q.title;
557
+ const q = P.categories[f], b = q == null ? void 0 : q.title;
558
558
  L && Object.keys(q.properties).forEach((V) => {
559
559
  q.properties[V].$converter = L;
560
560
  });
561
- const E = (q == null ? void 0 : q.properties) || {}, N = p(E, x, F, w, T, B);
562
- return { categoryId: f, categoryName: C, properties: N };
561
+ const E = (q == null ? void 0 : q.properties) || {}, N = p(E, T, F, C, S, B);
562
+ return { categoryId: f, categoryName: b, properties: N };
563
563
  }
564
564
  return { categoryId: f, categoryName: "", properties: [] };
565
565
  }
566
- function d(f, v, y, T, B) {
567
- const z = f.type, L = t(f), w = {};
566
+ function d(f, v, y, S, B) {
567
+ const z = f.type, L = t(f), C = {};
568
568
  let g = B || n[z];
569
- if (g && Object.keys(g).length === 0 && y && y.getPropConfig && (g = y.getPropConfig(T)), g && g.categories) {
569
+ if (g && Object.keys(g).length === 0 && y && y.getPropConfig && (g = y.getPropConfig(S)), g && g.categories) {
570
570
  const F = [];
571
- return Object.keys(g.categories).map((x) => {
572
- const P = g.categories[x];
571
+ return Object.keys(g.categories).map((T) => {
572
+ const P = g.categories[T];
573
573
  if (P.$ref) {
574
- F.push(m(x, P, f, v, T));
574
+ F.push(m(T, P, f, v, S));
575
575
  return;
576
576
  }
577
- const q = P == null ? void 0 : P.title, C = P == null ? void 0 : P.tabId, E = P == null ? void 0 : P.tabName, N = P == null ? void 0 : P.hide, V = P == null ? void 0 : P.hideTitle, S = p(P.properties || {}, w, L, f, v, T, P.$converter), { setPropertyRelates: U } = P, Z = P == null ? void 0 : P.parentPropertyID;
578
- F.push({ categoryId: x, categoryName: q, tabId: C, tabName: E, hide: N, properties: S, hideTitle: V, setPropertyRelates: U, parentPropertyID: Z });
577
+ const q = P == null ? void 0 : P.title, b = P == null ? void 0 : P.tabId, E = P == null ? void 0 : P.tabName, N = P == null ? void 0 : P.hide, V = P == null ? void 0 : P.hideTitle, x = p(P.properties || {}, C, L, f, v, S, P.$converter), { setPropertyRelates: U } = P, Z = P == null ? void 0 : P.parentPropertyID;
578
+ F.push({ categoryId: T, categoryName: q, tabId: b, tabName: E, hide: N, properties: x, hideTitle: V, setPropertyRelates: U, parentPropertyID: Z });
579
579
  }), F;
580
580
  }
581
581
  return [];
@@ -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"],
@@ -785,11 +785,11 @@ const Rt = {
785
785
  var V;
786
786
  const {
787
787
  isUndefined: t
788
- } = Dn(), o = b(), i = b(null), r = A(() => n.modelValue), a = A(() => {
788
+ } = Dn(), o = w(), i = w(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 = w(((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,
@@ -797,52 +797,52 @@ const Rt = {
797
797
  onTextBoxValueChange: f,
798
798
  hasFocused: v
799
799
  } = l, y = jn(n, e, l), {
800
- onMouseEnter: T,
800
+ onMouseEnter: S,
801
801
  onMouseLeave: B,
802
802
  clearButtonClass: z,
803
803
  shouldShowClearButton: L,
804
- clearButtonStyle: w
805
- } = y, g = (S) => {
804
+ clearButtonStyle: C
805
+ } = y, g = (x) => {
806
806
  var U, Z, O;
807
- S.stopPropagation(), e.emit("update:modelValue", (U = S.target) == null ? void 0 : U.value), e.emit("valueChange", (Z = S.target) == null ? void 0 : Z.value), e.emit("change", (O = S.target) == null ? void 0 : O.value);
808
- }, F = (S) => {
809
- S.stopPropagation(), i.value.value = "", e.emit("update:modelValue", ""), e.emit("valueChange", ""), e.emit("change", "");
810
- }, x = (S) => {
807
+ x.stopPropagation(), e.emit("update:modelValue", (U = x.target) == null ? void 0 : U.value), e.emit("valueChange", (Z = x.target) == null ? void 0 : Z.value), e.emit("change", (O = x.target) == null ? void 0 : O.value);
808
+ }, F = (x) => {
809
+ x.stopPropagation(), i.value.value = "", e.emit("update:modelValue", ""), e.emit("valueChange", ""), e.emit("change", "");
810
+ }, T = (x) => {
811
811
  if (n.readonly || !v)
812
812
  return;
813
813
  const {
814
814
  altKey: U,
815
815
  key: Z
816
- } = S;
816
+ } = x;
817
817
  if (Z === "Enter" && !U && n.lineBreak === "alt enter") {
818
- S.preventDefault();
818
+ x.preventDefault();
819
819
  return;
820
820
  }
821
821
  if (U && Z === "Enter" && n.lineBreak === "alt enter") {
822
- S.stopPropagation(), S.preventDefault();
822
+ x.stopPropagation(), x.preventDefault();
823
823
  const {
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(() => ({
835
835
  "form-control": !0,
836
836
  "h-100": n.autoHeight
837
837
  })), q = A(() => {
838
- const S = {};
839
- return n.resizable || (S.resize = "none"), n.rows > 2 ? {
838
+ const x = {};
839
+ return n.resizable || (x.resize = "none"), n.rows > 2 ? {
840
840
  height: "auto",
841
- ...S
842
- } : S;
843
- }), C = A(() => n.disabled || n.readonly ? "" : n.placeholder);
844
- xe(() => n.modelValue, (S, U) => {
845
- S !== U && (c.value = S);
841
+ ...x
842
+ } : x;
843
+ }), b = A(() => n.disabled || n.readonly ? "" : n.placeholder);
844
+ xe(() => n.modelValue, (x, U) => {
845
+ x !== U && (u.value = x);
846
846
  });
847
847
  const E = () => i.value;
848
848
  e.expose({
@@ -850,8 +850,8 @@ const Rt = {
850
850
  getTextareaElement: E
851
851
  });
852
852
  function N() {
853
- var S, U;
854
- n.selectOnCreated && ((S = i.value) == null || S.select()), n.focusOnCreated && ((U = i.value) == null || U.focus({
853
+ var x, U;
854
+ n.selectOnCreated && ((x = i.value) == null || x.select()), n.focusOnCreated && ((U = i.value) == null || U.focus({
855
855
  preventScroll: !0
856
856
  }));
857
857
  }
@@ -859,53 +859,53 @@ const Rt = {
859
859
  N();
860
860
  }), () => M("div", {
861
861
  ref: o,
862
- class: u.value,
863
- onMouseenter: T,
862
+ class: c.value,
863
+ onMouseenter: S,
864
864
  onMouseleave: B,
865
865
  style: "position:relative"
866
866
  }, [Bn(M("textarea", {
867
867
  ref: i,
868
868
  class: P.value,
869
869
  id: n.id,
870
- "onUpdate:modelValue": (S) => c.value = S,
870
+ "onUpdate:modelValue": (x) => u.value = x,
871
871
  minlength: n.minLength,
872
872
  maxlength: a.value,
873
873
  tabindex: n.tabIndex,
874
874
  disabled: n.disabled,
875
875
  readonly: n.readonly,
876
876
  autocomplete: n.autocomplete,
877
- placeholder: C.value,
877
+ placeholder: b.value,
878
878
  autofocus: n.autofocus,
879
879
  rows: n.rows,
880
880
  onInput: g,
881
881
  onFocus: s,
882
882
  onChange: f,
883
- onKeydown: x,
883
+ onKeydown: T,
884
884
  onBlur: p,
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
- style: w.value,
892
- onClick: (S) => F(S)
891
+ style: C.value,
892
+ onClick: (x) => F(x)
893
893
  }, [M("i", {
894
894
  class: "f-icon modal_close"
895
895
  }, null)])]);
896
896
  }
897
897
  });
898
898
  function pi(n, e, t) {
899
- var C;
900
- const o = t && t.getStyles && t.getStyles() || "", i = t && t.getDesignerClass && t.getDesignerClass() || "", r = b();
899
+ var b;
900
+ const o = t && t.getStyles && t.getStyles() || "", i = t && t.getDesignerClass && t.getDesignerClass() || "", r = w();
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() {
@@ -916,7 +916,7 @@ function pi(n, e, t) {
916
916
  return null;
917
917
  if (E.value.schema && E.value.schema.type === "component")
918
918
  return E.value;
919
- const N = b(E == null ? void 0 : E.value.parent), V = s(N);
919
+ const N = w(E == null ? void 0 : E.value.parent), V = s(N);
920
920
  return V || null;
921
921
  }
922
922
  function m(E = e) {
@@ -926,8 +926,8 @@ function pi(n, e, t) {
926
926
  const { componentInstance: N, designerItemElementRef: V } = E;
927
927
  if (!N || !N.value)
928
928
  return null;
929
- const { getCustomButtons: S } = N.value;
930
- return N.value.canMove || S && ((U = S()) != null && U.length) ? V : m(E.parent);
929
+ const { getCustomButtons: x } = N.value;
930
+ return N.value.canMove || x && ((U = x()) != null && U.length) ? V : m(E.parent);
931
931
  }
932
932
  function d(E) {
933
933
  return !!t && t.canAccepts(E);
@@ -941,12 +941,12 @@ function pi(n, e, t) {
941
941
  var V;
942
942
  !E || !N || (t != null && t.onAcceptMovedChildElement && t.onAcceptMovedChildElement(E, N), (V = e == null ? void 0 : e.setupContext) == null || V.emit("dragEnd"));
943
943
  }
944
- function T(E, N) {
944
+ function S(E, N) {
945
945
  const { componentType: V } = E;
946
- let S = zn(V, E, N);
947
- t && t.onResolveNewComponentSchema && (S = t.onResolveNewComponentSchema(E, S));
946
+ let x = zn(V, E, N);
947
+ t && t.onResolveNewComponentSchema && (x = t.onResolveNewComponentSchema(E, x));
948
948
  const U = V.toLowerCase().replace(/-/g, "_");
949
- return S && !S.id && S.type === V && (S.id = `${U}_${Math.random().toString().slice(2, 6)}`), S;
949
+ return x && !x.id && x.type === V && (x.id = `${U}_${Math.random().toString().slice(2, 6)}`), x;
950
950
  }
951
951
  function B(E) {
952
952
  E && t != null && t.onChildElementMovedOut && t.onChildElementMovedOut(E);
@@ -960,22 +960,22 @@ function pi(n, e, t) {
960
960
  return;
961
961
  const N = e == null ? void 0 : e.schema, { formSchemaUtils: V } = E;
962
962
  if (N && V.getExpressions().length) {
963
- const S = V.getExpressions().findIndex((U) => U.target === N.id);
964
- S > -1 && V.getExpressions().splice(S, 1);
963
+ const x = V.getExpressions().findIndex((U) => U.target === N.id);
964
+ x > -1 && V.getExpressions().splice(x, 1);
965
965
  }
966
966
  }
967
- function w(E) {
967
+ function C(E) {
968
968
  if (!E || !(e != null && e.schema))
969
969
  return;
970
970
  const N = e.schema, { formSchemaUtils: V } = E;
971
971
  V.removeCommunicationInComponent(N);
972
972
  }
973
973
  function g(E) {
974
- t && t.onRemoveComponent && t.onRemoveComponent(), L(E), w(E), e != null && e.schema.contents && e.schema.contents.map((N) => {
974
+ t && t.onRemoveComponent && t.onRemoveComponent(), L(E), C(E), e != null && e.schema.contents && e.schema.contents.map((N) => {
975
975
  let V = N.id;
976
976
  N.type === "component-ref" && (V = N.component);
977
- const S = n.value.querySelectorAll(`#${V}-design-item`);
978
- S != null && S.length && Array.from(S).map((U) => {
977
+ const x = n.value.querySelectorAll(`#${V}-design-item`);
978
+ x != null && x.length && Array.from(x).map((U) => {
979
979
  var Z;
980
980
  (Z = U == null ? void 0 : U.componentInstance) != null && Z.value.onRemoveComponent && U.componentInstance.value.onRemoveComponent(E);
981
981
  });
@@ -985,8 +985,8 @@ function pi(n, e, t) {
985
985
  if (t && t.getCustomButtons)
986
986
  return t.getCustomButtons();
987
987
  }
988
- function x(E) {
989
- var V, S;
988
+ function T(E) {
989
+ var V, x;
990
990
  if (!((V = e == null ? void 0 : e.schema) != null && V.id))
991
991
  return;
992
992
  if (!a && E && (a = E.formSchemaUtils), t != null && t.setComponentBasicInfoMap) {
@@ -998,7 +998,7 @@ function pi(n, e, t) {
998
998
  N = t.getComponentTitle();
999
999
  else {
1000
1000
  const { text: U, title: Z, label: O, mainTitle: I, name: G, type: R } = e.schema;
1001
- N = U || Z || O || I || G || ((S = D[R]) == null ? void 0 : S.name);
1001
+ N = U || Z || O || I || G || ((x = D[R]) == null ? void 0 : x.name);
1002
1002
  }
1003
1003
  N && a.getControlBasicInfoMap().set(e.schema.id, {
1004
1004
  componentTitle: N,
@@ -1007,15 +1007,15 @@ function pi(n, e, t) {
1007
1007
  }
1008
1008
  function P(E) {
1009
1009
  var U;
1010
- const { changeObject: N } = E, { propertyID: V, propertyValue: S } = N;
1011
- if (["text", "title", "label", "name", "mainTitle"].includes((U = E == null ? void 0 : E.changeObject) == null ? void 0 : U.propertyID) && V && S && (x(), a)) {
1010
+ const { changeObject: N } = E, { propertyID: V, propertyValue: x } = N;
1011
+ if (["text", "title", "label", "name", "mainTitle"].includes((U = E == null ? void 0 : E.changeObject) == null ? void 0 : U.propertyID) && V && x && (T(), a)) {
1012
1012
  const Z = a.getControlBasicInfoMap(), O = Z.keys().toArray().filter((I) => {
1013
1013
  var G, R;
1014
1014
  return ((G = Z.get(I)) == null ? void 0 : G.reliedComponentId) === ((R = e == null ? void 0 : e.schema) == null ? void 0 : R.id);
1015
1015
  });
1016
1016
  O != null && O.length && O.forEach((I) => {
1017
1017
  const G = Z.get(I).parentPathName.split(" > ");
1018
- G[0] = S, Z.get(I).parentPathName = G.join(" > ");
1018
+ G[0] = x, Z.get(I).parentPathName = G.join(" > ");
1019
1019
  });
1020
1020
  }
1021
1021
  }
@@ -1024,13 +1024,13 @@ 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,
1033
- parent: (C = e == null ? void 0 : e.parent) == null ? void 0 : C.componentInstance,
1033
+ parent: (b = e == null ? void 0 : e.parent) == null ? void 0 : b.componentInstance,
1034
1034
  schema: e == null ? void 0 : e.schema,
1035
1035
  styles: o,
1036
1036
  designerClass: i,
@@ -1042,47 +1042,47 @@ function pi(n, e, t) {
1042
1042
  getDragScopeElement: v,
1043
1043
  onAcceptMovedChildElement: y,
1044
1044
  onChildElementMovedOut: B,
1045
- addNewChildComponentSchema: T,
1046
- triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || b(!1),
1047
- triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || b(!1),
1045
+ addNewChildComponentSchema: S,
1046
+ triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || w(!1),
1047
+ triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || w(!1),
1048
1048
  onRemoveComponent: g,
1049
1049
  getCustomButtons: F,
1050
1050
  onPropertyChanged: q,
1051
- setComponentBasicInfoMap: x,
1051
+ setComponentBasicInfoMap: T,
1052
1052
  updateContextSchema: e == null ? void 0 : e.updateContextSchema
1053
1053
  }, r;
1054
1054
  }
1055
- const mi = b(0);
1055
+ const mi = w(0);
1056
1056
  function vi() {
1057
1057
  mi.value++;
1058
1058
  }
1059
- const dt = b(0);
1059
+ const dt = w(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);
@@ -1769,8 +1769,8 @@ function bi(n) {
1769
1769
  s.isSupportedClass = !1;
1770
1770
  return;
1771
1771
  }
1772
- let f = d.find((B) => /^col-([1-9]|10|11|12)$/.test(B)), v = d.find((B) => /^col-md-([1-9]|10|11|12)$/.test(B)), y = d.find((B) => /^col-xl-([1-9]|10|11|12)$/.test(B)), T = d.find((B) => /^col-el-([1-9]|10|11|12)$/.test(B));
1773
- f = f || "col-12", s.columnInSM = parseInt(f.replace("col-", ""), 10), s.displayWidthInSM = s.columnInSM / 12, s.displayWidthInSM !== 1 && (s.isSupportedClass = !1), v = v || "col-md-" + s.columnInSM, s.columnInMD = parseInt(v.replace("col-md-", ""), 10), s.displayWidthInMD = s.columnInMD / 6, [1, 2].includes(s.displayWidthInMD) || (s.isSupportedClass = !1), y = y || "col-xl-" + s.columnInMD, s.columnInLG = parseInt(y.replace("col-xl-", ""), 10), s.displayWidthInLG = s.columnInLG / 3, [1, 2, 3, 4].includes(s.displayWidthInLG) || (s.isSupportedClass = !1), T = T || "col-el-" + s.columnInLG, s.columnInEL = parseInt(T.replace("col-el-", ""), 10), s.displayWidthInEL = s.columnInEL / 2, [1, 2, 3, 4, 5, 6].includes(s.displayWidthInEL) || (s.isSupportedClass = !1);
1772
+ let f = d.find((B) => /^col-([1-9]|10|11|12)$/.test(B)), v = d.find((B) => /^col-md-([1-9]|10|11|12)$/.test(B)), y = d.find((B) => /^col-xl-([1-9]|10|11|12)$/.test(B)), S = d.find((B) => /^col-el-([1-9]|10|11|12)$/.test(B));
1773
+ f = f || "col-12", s.columnInSM = parseInt(f.replace("col-", ""), 10), s.displayWidthInSM = s.columnInSM / 12, s.displayWidthInSM !== 1 && (s.isSupportedClass = !1), v = v || "col-md-" + s.columnInSM, s.columnInMD = parseInt(v.replace("col-md-", ""), 10), s.displayWidthInMD = s.columnInMD / 6, [1, 2].includes(s.displayWidthInMD) || (s.isSupportedClass = !1), y = y || "col-xl-" + s.columnInMD, s.columnInLG = parseInt(y.replace("col-xl-", ""), 10), s.displayWidthInLG = s.columnInLG / 3, [1, 2, 3, 4].includes(s.displayWidthInLG) || (s.isSupportedClass = !1), S = S || "col-el-" + s.columnInLG, s.columnInEL = parseInt(S.replace("col-el-", ""), 10), s.displayWidthInEL = s.columnInEL / 2, [1, 2, 3, 4, 5, 6].includes(s.displayWidthInEL) || (s.isSupportedClass = !1);
1774
1774
  }
1775
1775
  function a(p, s, m, d = !1) {
1776
1776
  let f = !1;
@@ -1780,11 +1780,11 @@ function bi(n) {
1780
1780
  return;
1781
1781
  }
1782
1782
  f && (m += 1, f = !1);
1783
- const y = v.appearance && v.appearance.class, T = new yi();
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);
1783
+ const y = v.appearance && v.appearance.class, S = new yi();
1784
+ y ? r(y, S) : S.isSupportedClass = !1, S.label = v.label || v.id, S.id = v.id, S.group = m, d && (S.fieldSetId = p.id), t === v.id && (e = m), o.set(v.id, v), s.push(S);
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,35 +1808,35 @@ 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 = [];
1817
1817
  return p.forEach((v) => {
1818
1818
  var B;
1819
- const y = o.get(v.id), T = y.appearance && y.appearance.class;
1820
- if (T) {
1821
- const L = T.split(" ").filter((q) => !q.startsWith("col-")), w = "col-" + v.columnInSM, g = "col-md-" + v.columnInMD, F = "col-xl-" + v.columnInLG, x = "col-el-" + v.columnInEL, P = [w, g, F, x].concat(L);
1819
+ const y = o.get(v.id), S = y.appearance && y.appearance.class;
1820
+ if (S) {
1821
+ const L = S.split(" ").filter((q) => !q.startsWith("col-")), C = "col-" + v.columnInSM, g = "col-md-" + v.columnInMD, F = "col-xl-" + v.columnInLG, T = "col-el-" + v.columnInEL, P = [C, g, F, T].concat(L);
1822
1822
  y.appearance.class = P.join(" ");
1823
1823
  }
1824
1824
  if (v.fieldSetId) {
1825
- const z = d.contents.find((w) => w.id === v.fieldSetId), L = f.find((w) => w.id === v.fieldSetId);
1825
+ const z = d.contents.find((C) => C.id === v.fieldSetId), L = f.find((C) => C.id === v.fieldSetId);
1826
1826
  L ? (B = L.contents) == null || B.push(y) : (f.push(z), z.contents = [y]);
1827
1827
  } else
1828
1828
  f.push(y);
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;
1892
- function s(C, E) {
1891
+ var a = t("contra/emitter"), u = t("crossvent"), l = t("./classes"), c = document, p = c.documentElement;
1892
+ function s(b, E) {
1893
1893
  var N = arguments.length;
1894
- N === 1 && Array.isArray(C) === !1 && (E = C, C = []);
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);
1894
+ N === 1 && Array.isArray(b) === !1 && (E = b, b = []);
1895
+ var V, x, 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 = b || []), W.isContainer === void 0 && (W.isContainer = S), 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
  }
@@ -1953,12 +1953,12 @@ var wi = { exports: {} };
1953
1953
  }
1954
1954
  function Pe(h) {
1955
1955
  if (!(oe.dragging && V) && !je(h)) {
1956
- for (var $ = h; w(h) && je(w(h)) === !1; )
1957
- if (W.invalid(h, $) || (h = w(h), !h))
1956
+ for (var $ = h; C(h) && je(C(h)) === !1; )
1957
+ if (W.invalid(h, $) || (h = C(h), !h))
1958
1958
  return;
1959
- var j = w(h);
1959
+ var j = C(h);
1960
1960
  if (j && !W.invalid(h, $)) {
1961
- var _ = W.moves(h, j, $, x(h));
1961
+ var _ = W.moves(h, j, $, T(h));
1962
1962
  if (_)
1963
1963
  return {
1964
1964
  item: h,
@@ -1975,7 +1975,7 @@ var wi = { exports: {} };
1975
1975
  $ && Oe($);
1976
1976
  }
1977
1977
  function Oe(h) {
1978
- Ot(h.item, h.source) && (R = h.item.cloneNode(!0), oe.emit("cloned", R, h.item, "copy")), S = h.source, U = h.item, I = G = x(h.item), oe.dragging = !0, oe.emit("drag", U, S);
1978
+ Ot(h.item, h.source) && (R = h.item.cloneNode(!0), oe.emit("cloned", R, h.item, "copy")), x = h.source, U = h.item, I = G = T(h.item), oe.dragging = !0, oe.emit("drag", U, x);
1979
1979
  }
1980
1980
  function et() {
1981
1981
  return !1;
@@ -1983,7 +1983,7 @@ var wi = { exports: {} };
1983
1983
  function He() {
1984
1984
  if (oe.dragging) {
1985
1985
  var h = R || U;
1986
- Ye(h, w(h));
1986
+ Ye(h, C(h));
1987
1987
  }
1988
1988
  }
1989
1989
  function Be() {
@@ -1991,44 +1991,44 @@ 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, _);
1995
- ee && (R && W.copySortSource || !R || ee !== S) ? Ye($, ee) : W.removeOnSpill ? Je() : k();
1994
+ var $ = R || U, j = q("clientX", h) || 0, _ = q("clientY", h) || 0, K = y(V, j, _), ee = ce(K, j, _);
1995
+ ee && (R && W.copySortSource || !R || ee !== x) ? Ye($, ee) : W.removeOnSpill ? Je() : k();
1996
1996
  }
1997
1997
  }
1998
1998
  function Ye(h, $) {
1999
- var j = w(h);
2000
- R && W.copySortSource && $ === S && j.removeChild(U), le($) ? oe.emit("cancel", h, S) : oe.emit("drop", h, $, S, G), Q();
1999
+ var j = C(h);
2000
+ R && W.copySortSource && $ === x && j.removeChild(U), le($) ? oe.emit("cancel", h, x) : oe.emit("drop", h, $, x, G), Q();
2001
2001
  }
2002
2002
  function Je() {
2003
2003
  if (oe.dragging) {
2004
- var h = R || U, $ = w(h);
2005
- $ && $.removeChild(h), oe.emit(R ? "cancel" : "remove", h, $, S), Q();
2004
+ var h = R || U, $ = C(h);
2005
+ $ && $.removeChild(h), oe.emit(R ? "cancel" : "remove", h, $, x), Q();
2006
2006
  }
2007
2007
  }
2008
2008
  function k(h) {
2009
2009
  if (oe.dragging) {
2010
- var $ = arguments.length > 0 ? h : W.revertOnSpill, j = R || U, _ = w(j), K = le(_);
2011
- K === !1 && $ && (R ? _ && _.removeChild(R) : S.insertBefore(j, I)), K || $ ? oe.emit("cancel", j, S, S) : oe.emit("drop", j, _, S, G), Q();
2010
+ var $ = arguments.length > 0 ? h : W.revertOnSpill, j = R || U, _ = C(j), K = le(_);
2011
+ K === !1 && $ && (R ? _ && _.removeChild(R) : x.insertBefore(j, I)), K || $ ? oe.emit("cancel", j, x, x) : oe.emit("drop", j, _, x, G), Q();
2012
2012
  }
2013
2013
  }
2014
2014
  function Q() {
2015
2015
  var h = R || U;
2016
- Be(), Ft(), Bt(), h && l.rm(h, "gu-transit"), te && clearTimeout(te), oe.dragging = !1, ve && oe.emit("out", h, ve, S), oe.emit("dragend", h, se), S = U = R = I = G = te = ve = null;
2016
+ Be(), Ft(), Bt(), h && l.rm(h, "gu-transit"), te && clearTimeout(te), oe.dragging = !1, ve && oe.emit("out", h, ve, x), oe.emit("dragend", h, se), x = U = R = I = G = te = ve = null;
2017
2017
  }
2018
2018
  function le(h, $) {
2019
2019
  var j;
2020
- return $ !== void 0 ? j = $ : V ? j = G : j = x(R || U), h === S && j === I;
2020
+ return $ !== void 0 ? j = $ : V ? j = G : j = T(R || U), h === x && j === I;
2021
2021
  }
2022
- function ue(h, $, j) {
2022
+ function ce(h, $, j) {
2023
2023
  for (var _ = h; _ && !K(); )
2024
- _ = w(_);
2024
+ _ = C(_);
2025
2025
  return _;
2026
2026
  function K() {
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);
2031
- return ye ? !0 : W.accepts(U, _, S, ge);
2030
+ var Ce = st(_, h), ge = ct(_, Ce, $, j), ye = le(_, ge);
2031
+ return ye ? !0 : W.accepts(U, _, x, ge);
2032
2032
  }
2033
2033
  }
2034
2034
  function ke(h) {
@@ -2037,35 +2037,35 @@ 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
- var ge = w(_);
2043
- if (ee === S && R && !W.copySortSource) {
2042
+ var ge = C(_);
2043
+ if (ee === x && R && !W.copySortSource) {
2044
2044
  ge && ge.removeChild(_);
2045
2045
  return;
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
- ye = I, ee = S;
2051
+ ye = I, ee = x;
2052
2052
  else {
2053
2053
  R && ge && ge.removeChild(_), R && J && (J.style.display = "none");
2054
2054
  return;
2055
2055
  }
2056
2056
  J.style.display = "block", xt(ye, _, Ce), ye ? It(Ee, ye) : Pt(ee);
2057
- function ce(pe) {
2058
- oe.emit(pe, _, ve, S);
2057
+ function ue(pe) {
2058
+ oe.emit(pe, _, ve, x);
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) {
2068
- (h === $ || h === x($)) && (G = x($)), (h === null && j || h !== $ && h !== x($)) && (G = h);
2068
+ (h === $ || h === T($)) && (G = T($)), (h === null && j || h !== $ && h !== T($)) && (G = h);
2069
2069
  }
2070
2070
  function St(h) {
2071
2071
  l.rm(h, "gu-hide");
@@ -2084,14 +2084,14 @@ var wi = { exports: {} };
2084
2084
  ie = !1, W.mirrorContainer.appendChild(J);
2085
2085
  }
2086
2086
  function Ft() {
2087
- V && (l.rm(W.mirrorContainer, "gu-unselectable"), f(p, "remove", "mousemove", ke), w(V).removeChild(V), V = null);
2087
+ V && (l.rm(W.mirrorContainer, "gu-unselectable"), f(p, "remove", "mousemove", ke), C(V).removeChild(V), V = null);
2088
2088
  }
2089
2089
  function Bt() {
2090
- J && (w(J).removeChild(J), J = null);
2090
+ J && (C(J).removeChild(J), J = null);
2091
2091
  }
2092
2092
  function st(h, $) {
2093
- for (var j = $; j !== h && w(j) !== h; )
2094
- j = w(j);
2093
+ for (var j = $; j !== h && C(j) !== h; )
2094
+ j = C(j);
2095
2095
  return j === p ? null : j;
2096
2096
  }
2097
2097
  function tt(h, $) {
@@ -2165,33 +2165,33 @@ 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 ? T($) : $;
2188
2188
  }
2189
2189
  }
2190
2190
  function Ot(h, $) {
2191
2191
  return typeof W.copy == "boolean" ? W.copy : W.copy(h, $);
2192
2192
  }
2193
2193
  }
2194
- function m(C) {
2194
+ function m(b) {
2195
2195
  const E = Array.from(window.scrollContainerList);
2196
2196
  if (E.length === 1) {
2197
2197
  const V = Array.from(window.scrollContainerList)[0];
@@ -2199,19 +2199,19 @@ var wi = { exports: {} };
2199
2199
  }
2200
2200
  const N = d(E);
2201
2201
  for (const V of N)
2202
- if (V.contains(C))
2202
+ if (V.contains(b))
2203
2203
  return V;
2204
2204
  return null;
2205
2205
  }
2206
- function d(C) {
2206
+ function d(b) {
2207
2207
  const E = [];
2208
- return C.forEach((N) => {
2208
+ return b.forEach((N) => {
2209
2209
  const V = document.getElementById(N);
2210
2210
  V && E.push(V);
2211
2211
  }), E.sort((N, V) => N.contains(V) ? 1 : V.contains(N) ? -1 : 0), E;
2212
2212
  }
2213
- function f(C, E, N, V) {
2214
- var S = {
2213
+ function f(b, E, N, V) {
2214
+ var x = {
2215
2215
  mouseup: "touchend",
2216
2216
  mousedown: "touchstart",
2217
2217
  mousemove: "touchmove"
@@ -2224,87 +2224,87 @@ 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](b, U[N], V) : r.navigator.msPointerEnabled ? u[E](b, Z[N], V) : (u[E](b, x[N], V), u[E](b, N, V));
2228
2228
  }
2229
- function v(C) {
2230
- if (C.touches !== void 0)
2231
- return C.touches.length;
2232
- if (C.which !== void 0 && C.which !== 0)
2233
- return C.which;
2234
- if (C.buttons !== void 0)
2235
- return C.buttons;
2236
- var E = C.button;
2229
+ function v(b) {
2230
+ if (b.touches !== void 0)
2231
+ return b.touches.length;
2232
+ if (b.which !== void 0 && b.which !== 0)
2233
+ return b.which;
2234
+ if (b.buttons !== void 0)
2235
+ return b.buttons;
2236
+ var E = b.button;
2237
2237
  if (E !== void 0)
2238
2238
  return E & 1 ? 1 : E & 2 ? 3 : E & 4 ? 2 : 0;
2239
2239
  }
2240
- function y(C, E, N) {
2241
- C = C || {};
2242
- var V = C.className || "", S;
2243
- return C.className += " gu-hide", S = u.elementFromPoint(E, N), C.className = V, S;
2240
+ function y(b, E, N) {
2241
+ b = b || {};
2242
+ var V = b.className || "", x;
2243
+ return b.className += " gu-hide", x = c.elementFromPoint(E, N), b.className = V, x;
2244
2244
  }
2245
- function T() {
2245
+ function S() {
2246
2246
  return !1;
2247
2247
  }
2248
2248
  function B() {
2249
2249
  return !0;
2250
2250
  }
2251
- function z(C) {
2252
- return C.width || C.right - C.left;
2251
+ function z(b) {
2252
+ return b.width || b.right - b.left;
2253
2253
  }
2254
- function L(C) {
2255
- return C.height || C.bottom - C.top;
2254
+ function L(b) {
2255
+ return b.height || b.bottom - b.top;
2256
2256
  }
2257
- function w(C) {
2258
- return C.parentNode === u ? null : C.parentNode;
2257
+ function C(b) {
2258
+ return b.parentNode === c ? null : b.parentNode;
2259
2259
  }
2260
- function g(C) {
2261
- return C.tagName === "INPUT" || C.tagName === "TEXTAREA" || C.tagName === "SELECT" || F(C);
2260
+ function g(b) {
2261
+ return b.tagName === "INPUT" || b.tagName === "TEXTAREA" || b.tagName === "SELECT" || F(b);
2262
2262
  }
2263
- function F(C) {
2264
- return !C || C.contentEditable === "false" ? !1 : C.contentEditable === "true" ? !0 : F(w(C));
2263
+ function F(b) {
2264
+ return !b || b.contentEditable === "false" ? !1 : b.contentEditable === "true" ? !0 : F(C(b));
2265
2265
  }
2266
- function x(C) {
2267
- return C.nextElementSibling || E();
2266
+ function T(b) {
2267
+ return b.nextElementSibling || E();
2268
2268
  function E() {
2269
- var N = C;
2269
+ var N = b;
2270
2270
  do
2271
2271
  N = N.nextSibling;
2272
2272
  while (N && N.nodeType !== 1);
2273
2273
  return N;
2274
2274
  }
2275
2275
  }
2276
- function P(C) {
2277
- return C.targetTouches && C.targetTouches.length ? C.targetTouches[0] : C.changedTouches && C.changedTouches.length ? C.changedTouches[0] : C;
2276
+ function P(b) {
2277
+ return b.targetTouches && b.targetTouches.length ? b.targetTouches[0] : b.changedTouches && b.changedTouches.length ? b.changedTouches[0] : b;
2278
2278
  }
2279
- function q(C, E) {
2279
+ function q(b, E) {
2280
2280
  var N = P(E), V = {
2281
2281
  pageX: "clientX",
2282
2282
  // IE8
2283
2283
  pageY: "clientY"
2284
2284
  // IE8
2285
2285
  };
2286
- return C in V && !(C in N) && V[C] in N && (C = V[C]), N[C];
2286
+ return b in V && !(b in N) && V[b] in N && (b = V[b]), N[b];
2287
2287
  }
2288
2288
  o.exports = s;
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) {
@@ -2331,8 +2331,8 @@ var wi = { exports: {} };
2331
2331
  var f = r(arguments), v = this || l;
2332
2332
  if (m === "error" && p.throws !== !1 && !d.length)
2333
2333
  throw f.length === 1 ? f[0] : f;
2334
- return d.forEach(function(T) {
2335
- p.async ? a(T, f, v) : T.apply(v, f), T._once && l.off(m, T);
2334
+ return d.forEach(function(S) {
2335
+ p.async ? a(S, f, v) : S.apply(v, f), S._once && l.off(m, S);
2336
2336
  }), l;
2337
2337
  };
2338
2338
  }, l;
@@ -2340,83 +2340,83 @@ 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
  };
2349
- function m(w, g, F, x) {
2350
- return w.addEventListener(g, F, x);
2349
+ function m(C, g, F, T) {
2350
+ return C.addEventListener(g, F, T);
2351
2351
  }
2352
- function d(w, g, F) {
2353
- return w.attachEvent("on" + g, B(w, g, F));
2352
+ function d(C, g, F) {
2353
+ return C.attachEvent("on" + g, B(C, g, F));
2354
2354
  }
2355
- function f(w, g, F, x) {
2356
- return w.removeEventListener(g, F, x);
2355
+ function f(C, g, F, T) {
2356
+ return C.removeEventListener(g, F, T);
2357
2357
  }
2358
- function v(w, g, F) {
2359
- var x = z(w, g, F);
2360
- if (x)
2361
- return w.detachEvent("on" + g, x);
2358
+ function v(C, g, F) {
2359
+ var T = z(C, g, F);
2360
+ if (T)
2361
+ return C.detachEvent("on" + g, T);
2362
2362
  }
2363
- function y(w, g, F) {
2364
- var x = c.indexOf(g) === -1 ? q() : P();
2365
- w.dispatchEvent ? w.dispatchEvent(x) : w.fireEvent("on" + g, x);
2363
+ function y(C, g, F) {
2364
+ var T = u.indexOf(g) === -1 ? q() : P();
2365
+ C.dispatchEvent ? C.dispatchEvent(T) : C.fireEvent("on" + g, T);
2366
2366
  function P() {
2367
- var C;
2368
- return l.createEvent ? (C = l.createEvent("Event"), C.initEvent(g, !0, !0)) : l.createEventObject && (C = l.createEventObject()), C;
2367
+ var b;
2368
+ return l.createEvent ? (b = l.createEvent("Event"), b.initEvent(g, !0, !0)) : l.createEventObject && (b = l.createEventObject()), b;
2369
2369
  }
2370
2370
  function q() {
2371
2371
  return new a(g, { detail: F });
2372
2372
  }
2373
2373
  }
2374
- function T(w, g, F) {
2374
+ function S(C, g, F) {
2375
2375
  return function(P) {
2376
2376
  var q = P || r.event;
2377
2377
  q.target = q.target || q.srcElement, q.preventDefault = q.preventDefault || function() {
2378
2378
  q.returnValue = !1;
2379
2379
  }, q.stopPropagation = q.stopPropagation || function() {
2380
2380
  q.cancelBubble = !0;
2381
- }, q.which = q.which || q.keyCode, F.call(w, q);
2381
+ }, q.which = q.which || q.keyCode, F.call(C, q);
2382
2382
  };
2383
2383
  }
2384
- function B(w, g, F) {
2385
- var x = z(w, g, F) || T(w, g, F);
2384
+ function B(C, g, F) {
2385
+ var T = z(C, g, F) || S(C, g, F);
2386
2386
  return s.push({
2387
- wrapper: x,
2388
- element: w,
2387
+ wrapper: T,
2388
+ element: C,
2389
2389
  type: g,
2390
2390
  fn: F
2391
- }), x;
2391
+ }), T;
2392
2392
  }
2393
- function z(w, g, F) {
2394
- var x = L(w, g, F);
2395
- if (x) {
2396
- var P = s[x].wrapper;
2397
- return s.splice(x, 1), P;
2393
+ function z(C, g, F) {
2394
+ var T = L(C, g, F);
2395
+ if (T) {
2396
+ var P = s[T].wrapper;
2397
+ return s.splice(T, 1), P;
2398
2398
  }
2399
2399
  }
2400
- function L(w, g, F) {
2401
- var x, P;
2402
- for (x = 0; x < s.length; x++)
2403
- if (P = s[x], P.element === w && P.type === g && P.fn === F)
2404
- return x;
2400
+ function L(C, g, F) {
2401
+ var T, P;
2402
+ for (T = 0; T < s.length; T++)
2403
+ if (P = s[T], P.element === C && P.type === g && P.fn === F)
2404
+ return T;
2405
2405
  }
2406
2406
  }).call(this, typeof De < "u" ? De : typeof self < "u" ? self : typeof window < "u" ? window : {});
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,45 +2475,45 @@ 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
  }
2492
2492
  var m = [], d = !1, f, v = -1;
2493
2493
  function y() {
2494
- !d || !f || (d = !1, f.length ? m = f.concat(m) : v = -1, m.length && T());
2494
+ !d || !f || (d = !1, f.length ? m = f.concat(m) : v = -1, m.length && S());
2495
2495
  }
2496
- function T() {
2496
+ function S() {
2497
2497
  if (!d) {
2498
2498
  var L = p(y);
2499
2499
  d = !0;
2500
- for (var w = m.length; w; ) {
2501
- for (f = m, m = []; ++v < w; )
2500
+ for (var C = m.length; C; ) {
2501
+ for (f = m, m = []; ++v < C; )
2502
2502
  f && f[v].run();
2503
- v = -1, w = m.length;
2503
+ v = -1, C = m.length;
2504
2504
  }
2505
2505
  f = null, d = !1, s(L);
2506
2506
  }
2507
2507
  }
2508
2508
  r.nextTick = function(L) {
2509
- var w = new Array(arguments.length - 1);
2509
+ var C = new Array(arguments.length - 1);
2510
2510
  if (arguments.length > 1)
2511
2511
  for (var g = 1; g < arguments.length; g++)
2512
- w[g - 1] = arguments[g];
2513
- m.push(new B(L, w)), m.length === 1 && !d && p(T);
2512
+ C[g - 1] = arguments[g];
2513
+ m.push(new B(L, C)), m.length === 1 && !d && p(S);
2514
2514
  };
2515
- function B(L, w) {
2516
- this.fun = L, this.array = w;
2515
+ function B(L, C) {
2516
+ this.fun = L, this.array = C;
2517
2517
  }
2518
2518
  B.prototype.run = function() {
2519
2519
  this.fun.apply(null, this.array);
@@ -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 = w(n.animate), r = "fadeOut", a = A(() => n.options), u = w(!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,11 +2623,11 @@ 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
  }
2630
- function T(L, w) {
2630
+ function S(L, C) {
2631
2631
  }
2632
2632
  function B(L) {
2633
2633
  return `f-preten-link ${L.customClass ? L.customClass : ""}`;
@@ -2639,10 +2639,10 @@ const Ci = {
2639
2639
  var L;
2640
2640
  return M(rt, null, [M("div", {
2641
2641
  class: "after-toast-msg text-right"
2642
- }, [!e.slots.default && ((L = a.value.buttons) == null ? void 0 : L.map((w) => M("span", {
2643
- class: B(w),
2642
+ }, [!e.slots.default && ((L = a.value.buttons) == null ? void 0 : L.map((C) => M("span", {
2643
+ class: B(C),
2644
2644
  onClick: (g) => void 0
2645
- }, [w.text]))), e.slots.default && e.slots.default()])]);
2645
+ }, [C.text]))), e.slots.default && e.slots.default()])]);
2646
2646
  };
2647
2647
  return () => M("div", {
2648
2648
  class: p.value,
@@ -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 = w(), r = w(n.options), a = w(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 = w();
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,32 +3004,32 @@ 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
- calculateCellPositionInRow: T
3009
+ calculateCellPositionInRow: S
3010
3010
  } = r, {
3011
3011
  columnContext: B,
3012
3012
  hasLeftFixedColumn: z,
3013
3013
  hasRightFixedColumn: L
3014
3014
  } = a, {
3015
- gridDataStyle: w,
3015
+ gridDataStyle: C,
3016
3016
  leftFixedGridDataStyle: g,
3017
3017
  rightFixedGridDataStyle: F
3018
3018
  } = d, {
3019
- renderDataRow: x
3020
- } = Wn(n, e, B, y, c, l, u, p, s, m, d, f, v), P = [x];
3021
- function q(S, U) {
3022
- const Z = T(S);
3019
+ renderDataRow: T
3020
+ } = Wn(n, e, B, y, u, l, c, p, s, m, d, f, v), P = [T];
3021
+ function q(x, U) {
3022
+ const Z = S(x);
3023
3023
  return y.value.filter((O) => O.visible !== !1).map((O, I) => P[O.type](O, Z, U, I));
3024
3024
  }
3025
- function C() {
3025
+ function b() {
3026
3026
  return M("div", {
3027
3027
  ref: o,
3028
3028
  class: "fv-grid-content-left-fixed"
3029
3029
  }, [M("div", {
3030
3030
  class: "fv-grid-data",
3031
3031
  style: g.value
3032
- }, [q(B.value.leftColumns.filter((S) => S.visible), "left")])]);
3032
+ }, [q(B.value.leftColumns.filter((x) => x.visible), "left")])]);
3033
3033
  }
3034
3034
  function E() {
3035
3035
  return M("div", {
@@ -3037,8 +3037,8 @@ function Mi(n, e, t, o, i, r, a, c, l, u, p, s, m, d, f, v, y) {
3037
3037
  class: "fv-grid-content-primary"
3038
3038
  }, [M("div", {
3039
3039
  class: "fv-grid-data",
3040
- style: w.value
3041
- }, [q(B.value.primaryColumns.filter((S) => S.visible), "primary")])]);
3040
+ style: C.value
3041
+ }, [q(B.value.primaryColumns.filter((x) => x.visible), "primary")])]);
3042
3042
  }
3043
3043
  function N() {
3044
3044
  return M("div", {
@@ -3047,11 +3047,11 @@ function Mi(n, e, t, o, i, r, a, c, l, u, p, s, m, d, f, v, y) {
3047
3047
  }, [M("div", {
3048
3048
  class: "fv-grid-data",
3049
3049
  style: F.value
3050
- }, [q(B.value.rightColumns.filter((S) => S.visible), "right")])]);
3050
+ }, [q(B.value.rightColumns.filter((x) => x.visible), "right")])]);
3051
3051
  }
3052
3052
  function V() {
3053
- const S = [];
3054
- return z.value && S.push(C()), S.push(E()), L.value && S.push(N()), S;
3053
+ const x = [];
3054
+ return z.value && x.push(b()), x.push(E()), L.value && x.push(N()), x;
3055
3055
  }
3056
3056
  return {
3057
3057
  renderDataArea: V
@@ -3063,20 +3063,20 @@ const Fi = /* @__PURE__ */ _e({
3063
3063
  emits: ["selectionChange", "clickRow", "expandNode", "unSelectItem", "dblclickNode", "doubleClickRow", "unSelectItem", "selectItem", "filterChanged", "sortChanged", "selectionUpdate"],
3064
3064
  setup(n, e) {
3065
3065
  var zt, Ut;
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), {
3066
+ const o = ((zt = n.rowOption) == null ? void 0 : zt.height) || 28, i = w(20), r = w(n.columns), a = _n(n), {
3067
+ idField: u
3068
+ } = a, l = w(), c = w(), p = w(), s = w(), m = w(), d = w([]), f = w(!1), v = w(((Ut = n.rowOption) == null ? void 0 : Ut.wrapContent) || !1), y = Gn(n, a), S = Xn(n, e), B = Yn(n), {
3069
3069
  collapseField: z
3070
3070
  } = B, {
3071
3071
  showLoading: L,
3072
- renderLoading: w
3073
- } = Jn(n, l), g = Qn(n, /* @__PURE__ */ new Map(), T, B, a), {
3072
+ renderLoading: C
3073
+ } = Jn(n, l), g = Qn(n, /* @__PURE__ */ new Map(), S, B, a), {
3074
3074
  dataView: F
3075
- } = g, x = Zn(n, g, a, d, e), {
3075
+ } = g, T = Zn(n, g, a, d, e), {
3076
3076
  showSelection: P,
3077
3077
  selectedValues: q
3078
- } = x, C = Kn(n, d, g, a, x, e), E = A(() => n.disabled), N = A(() => n.virtualized ? Math.min(g.dataView.value.length, i.value) : g.dataView.value.length), V = eo(n, g), {
3079
- shouldRenderPagination: S
3078
+ } = T, b = Kn(n, d, g, a, T, e), E = A(() => n.disabled), N = A(() => n.virtualized ? Math.min(g.dataView.value.length, i.value) : g.dataView.value.length), V = eo(n, g), {
3079
+ shouldRenderPagination: x
3080
3080
  } = V, {
3081
3081
  containerStyleObject: U
3082
3082
  } = to(n), Z = no(n), {
@@ -3094,9 +3094,9 @@ 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, T, 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
- } = Ie, Ge = mo(n, he), Re = vo(n, x), {
3099
+ } = Ie, Ge = mo(n, he), Re = vo(n, T), {
3100
3100
  sidebarWidth: Xe
3101
3101
  } = Re, ae = ho(n, g, d, he, Ie, N, 0, Xe), {
3102
3102
  onWheel: Ke,
@@ -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,
@@ -3121,33 +3121,33 @@ const Fi = /* @__PURE__ */ _e({
3121
3121
  "fv-grid-wrap-content": v.value
3122
3122
  })), {
3123
3123
  renderDataArea: le
3124
- } = Mi(n, e, p, s, m, Ge, R, g, ne, B, se, x, C, ae, Ie, W, d), {
3125
- renderGridHeader: ue,
3124
+ } = Mi(n, e, p, s, m, Ge, R, g, ne, B, se, T, b, ae, Ie, W, d), {
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, S, Ne, He, ie, T, Re, te, ae, Te, d), {
3129
3129
  renderDataGridSidebar: St
3130
- } = xo(n, se, x, Re, ae), {
3130
+ } = xo(n, se, T, 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);
3147
- })), L.value && w();
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
+ })), L.value && C();
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();
@@ -3156,7 +3156,7 @@ const Fi = /* @__PURE__ */ _e({
3156
3156
  g.expandTo(H), g.reOrderVisibleIndex(), Oe();
3157
3157
  }
3158
3158
  function tt() {
3159
- const H = x.getSelectionRow();
3159
+ const H = T.getSelectionRow();
3160
3160
  return H ? H.dataIndex - 1 : -1;
3161
3161
  }
3162
3162
  function kt() {
@@ -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
- const H = tt(), Y = C.getNextSelectableHierarchyItemId(H);
3176
- g.removeHierarchyDataItem(H), d.value = Se(0, N.value + 0 - 1), Y && x.selectItemById(Y);
3175
+ const H = tt(), Y = b.getNextSelectableHierarchyItemId(H);
3176
+ g.removeHierarchyDataItem(H), d.value = Se(0, N.value + 0 - 1), Y && b.selectItemById(Y);
3177
3177
  }
3178
- function ut(H) {
3178
+ function ct(H) {
3179
3179
  ne.onEditingRow(H);
3180
3180
  }
3181
3181
  function Ot(H) {
@@ -3194,7 +3194,7 @@ const Fi = /* @__PURE__ */ _e({
3194
3194
  H && (g.load(H), g.reOrderVisibleIndex(), Y != null && Y.keepScrollPosition ? ae.scrollTo(ae.offsetY.value) : Oe());
3195
3195
  }
3196
3196
  function _(H) {
3197
- x.selectItemById(H);
3197
+ b.selectItemById(H);
3198
3198
  }
3199
3199
  function K(H) {
3200
3200
  const Y = d.value.find((de) => de.raw[a.idField.value] === H);
@@ -3204,28 +3204,28 @@ const Fi = /* @__PURE__ */ _e({
3204
3204
  se.activeRowById(H);
3205
3205
  }
3206
3206
  function Ce(H) {
3207
- x.selectItemByIds(H);
3207
+ b.selectItemByIds(H);
3208
3208
  }
3209
3209
  function ge() {
3210
- return x.getSelectedItems();
3210
+ return T.getSelectedItems();
3211
3211
  }
3212
3212
  function ye() {
3213
- x.clearSelection();
3213
+ T.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
- return x.getSelectionRow();
3219
+ return T.getSelectionRow();
3220
3220
  }
3221
3221
  function be(H) {
3222
- x.unSelectItemByIds(H);
3222
+ b.unSelectItemByIds(H);
3223
3223
  }
3224
3224
  function pe() {
3225
- return x.currentSelectedDataId.value;
3225
+ return T.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() {
@@ -3276,7 +3276,7 @@ const Fi = /* @__PURE__ */ _e({
3276
3276
  de && se.changeRow(de);
3277
3277
  }
3278
3278
  function wn() {
3279
- x.keepSelectingOnPaging.value || ye(), g.updateVisibleDataSummary(d.value);
3279
+ T.keepSelectingOnPaging.value || ye(), g.updateVisibleDataSummary(d.value);
3280
3280
  }
3281
3281
  e.expose({
3282
3282
  activeRowById: ee,
@@ -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,12 +3313,12 @@ 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, T);
3318
+ const Sn = A(() => ({
3319
3319
  "d-flex": !0,
3320
- "justify-content-between": S.value && P.value,
3321
- "justify-content-end": S.value && !P.value,
3320
+ "justify-content-between": x.value && P.value,
3321
+ "justify-content-end": x.value && !P.value,
3322
3322
  "position-relative": !0
3323
3323
  })), Tn = A(() => ({
3324
3324
  "d-flex": !0,
@@ -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 = w(14), r = w(140), a = w(""), u = w(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,17 +3939,17 @@ 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
  }
3951
3951
  function kr() {
3952
- const n = b(!1), e = b("复制成功");
3952
+ const n = w(!1), e = w("复制成功");
3953
3953
  return {
3954
3954
  feedbackStyle: A(() => {
3955
3955
  const o = {
@@ -3994,13 +3994,13 @@ function Pr(n, e) {
3994
3994
  if (d !== "" && d !== void 0 && d !== null) {
3995
3995
  d = "" + d;
3996
3996
  const v = d.length;
3997
- let y = "", T = 0;
3997
+ let y = "", S = 0;
3998
3998
  for (let B = 0; B < v; B++) {
3999
3999
  const z = d.charAt(B);
4000
- if (T++, encodeURI(z).length > 4 && T++, y = y.concat(z), T >= f)
4000
+ if (S++, encodeURI(z).length > 4 && S++, y = y.concat(z), S >= f)
4001
4001
  return y = y.concat("..."), y;
4002
4002
  }
4003
- if (T < f)
4003
+ if (S < f)
4004
4004
  return d;
4005
4005
  }
4006
4006
  return "";
@@ -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 = w(!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", {
@@ -4041,14 +4041,14 @@ function Vr(n) {
4041
4041
  }, null);
4042
4042
  }
4043
4043
  function Or(n, e, t, o, i) {
4044
- const r = b(n.exceptionInfo), a = A(() => {
4044
+ const r = w(n.exceptionInfo), a = A(() => {
4045
4045
  const f = e.value === "question" ? "warning" : e.value, v = {
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 = w(o.exception.copySuccess || "复制成功"), u = w(o.exception.copy || "复制详细信息"), l = w(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,15 +4090,15 @@ 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 = w(n.type), a = w(n.buttons), u = w(n.exceptionInfo), l = w(i.ok || n.okButtonText), c = w(i.cancel || n.cancelButtonText), p = w(n.showCancelButton), s = w(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");
4100
4100
  }
4101
- function T(B) {
4101
+ function S(B) {
4102
4102
  r.value === "question" && e.emit("accept"), e.emit("close");
4103
4103
  }
4104
4104
  return () => M("div", {
@@ -4107,10 +4107,10 @@ 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
- onClick: T
4113
+ onClick: S
4114
4114
  }, [l.value]), m.value && a.value.length && a.value.map((B) => M("button", {
4115
4115
  type: "button",
4116
4116
  onClick: B.handle,
@@ -4150,19 +4150,19 @@ const mt = /* @__PURE__ */ _e({
4150
4150
  props: xr,
4151
4151
  emits: ["accept", "reject", "close"],
4152
4152
  setup(n, e) {
4153
- const t = Dr(n), o = b(n.type), i = b(n.title), r = b(n.detail), a = A(() => {
4154
- const T = {
4153
+ const t = Dr(n), o = w(n.type), i = w(n.title), r = w(n.detail), a = A(() => {
4154
+ const S = {
4155
4155
  "modal-tips": !0,
4156
4156
  "d-flex": !0,
4157
4157
  "flex-row": !0
4158
4158
  }, B = `messager-type-${o.value}`;
4159
- return T[B] = !0, T;
4160
- }), c = A(() => {
4161
- const T = {
4159
+ return S[B] = !0, S;
4160
+ }), u = A(() => {
4161
+ const S = {
4162
4162
  cursor: "default"
4163
4163
  };
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(), {
4164
+ return o.value === "prompt" ? S.padding = "0.5rem 0.5rem 1rem 1.5rem" : o.value === "error" && (S.padding = "0.5rem 1.5rem 1rem 1.5rem"), S;
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,8 +4494,8 @@ 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);
4498
- function T() {
4497
+ const t = w(), o = w(), i = w(), r = w(), a = w(), u = w(), l = w(), c = w(), p = w(), s = w(), m = w(), d = w(n.resizeable), f = w(), v = w(n.draggable), y = w(!1);
4498
+ function S() {
4499
4499
  const O = o.value || document.body, I = window.getComputedStyle(O);
4500
4500
  if (!I || !t.value)
4501
4501
  return;
@@ -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, S();
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
- function w() {
4530
+ function C() {
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), C(), L(), z();
4545
4545
  }
4546
4546
  function F(O) {
4547
4547
  if (!p.value)
@@ -4549,7 +4549,7 @@ function Qr(n, e) {
4549
4549
  const I = re.fromEvent(O);
4550
4550
  I && g(I);
4551
4551
  }
4552
- function x() {
4552
+ function T() {
4553
4553
  if (t.value) {
4554
4554
  const {
4555
4555
  width: O,
@@ -4572,57 +4572,57 @@ function Qr(n, e) {
4572
4572
  }
4573
4573
  function P(O) {
4574
4574
  if (t.value) {
4575
- const I = x();
4575
+ const I = T();
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);
4582
4582
  }
4583
- function C(O) {
4583
+ function b(O) {
4584
4584
  O instanceof MouseEvent && O.button === 2 || v.value && (document.body.click(), O.stopPropagation(), O.preventDefault(), i.value = re.fromEvent(O), p.value = O.target, B(O), q());
4585
4585
  }
4586
4586
  function E(O) {
4587
4587
  return t.value = O, d.value && M(rt, null, [M("div", {
4588
4588
  class: "fv-resizable-handle fv-resizable-n",
4589
4589
  type: "n",
4590
- onMousedown: (I) => C(I)
4590
+ onMousedown: (I) => b(I)
4591
4591
  }, null), M("div", {
4592
4592
  class: "fv-resizable-handle fv-resizable-e",
4593
4593
  type: "e",
4594
- onMousedown: (I) => C(I)
4594
+ onMousedown: (I) => b(I)
4595
4595
  }, null), M("div", {
4596
4596
  class: "fv-resizable-handle fv-resizable-s",
4597
4597
  type: "s",
4598
- onMousedown: (I) => C(I)
4598
+ onMousedown: (I) => b(I)
4599
4599
  }, null), M("div", {
4600
4600
  class: "fv-resizable-handle fv-resizable-w",
4601
4601
  type: "w",
4602
- onMousedown: (I) => C(I)
4602
+ onMousedown: (I) => b(I)
4603
4603
  }, null), M("div", {
4604
4604
  class: "fv-resizable-handle fv-resizable-ne",
4605
4605
  type: "ne",
4606
- onMousedown: (I) => C(I)
4606
+ onMousedown: (I) => b(I)
4607
4607
  }, null), M("div", {
4608
4608
  class: "fv-resizable-handle fv-resizable-se fv-resizable-diagonal",
4609
4609
  type: "se",
4610
- onMousedown: (I) => C(I)
4610
+ onMousedown: (I) => b(I)
4611
4611
  }, null), M("div", {
4612
4612
  class: "fv-resizable-handle fv-resizable-sw",
4613
4613
  type: "sw",
4614
- onMousedown: (I) => C(I)
4614
+ onMousedown: (I) => b(I)
4615
4615
  }, null), M("div", {
4616
4616
  class: "fv-resizable-handle fv-resizable-nw",
4617
4617
  type: "nw",
4618
- onMousedown: (I) => C(I)
4618
+ onMousedown: (I) => b(I)
4619
4619
  }, null)]);
4620
4620
  }
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 = T(), 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,
@@ -4647,7 +4647,7 @@ function Qr(n, e) {
4647
4647
  }, v.value = n.draggable, y.value = !1;
4648
4648
  }
4649
4649
  }
4650
- function S() {
4650
+ function x() {
4651
4651
  if (t.value) {
4652
4652
  const O = qe.getCurrent(t.value);
4653
4653
  if (O) {
@@ -4661,7 +4661,7 @@ function Qr(n, e) {
4661
4661
  }
4662
4662
  function U() {
4663
4663
  const O = () => {
4664
- y.value ? N(!1) : S(), document.body.click();
4664
+ y.value ? N(!1) : x(), document.body.click();
4665
4665
  };
4666
4666
  return window.addEventListener("resize", O), () => {
4667
4667
  window.removeEventListener("resize", O);
@@ -4677,54 +4677,54 @@ function Qr(n, e) {
4677
4677
  allowDrag: v,
4678
4678
  isMaximized: y,
4679
4679
  unWindowResizeHandle: Z,
4680
- moveToCenter: S
4680
+ moveToCenter: x
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 = w(), i = w(n.draggable), r = w(n.lockAxis), a = w(), u = w(), l = w(!1), c = w(new re(0, 0)), p = w(new re(0, 0)), s = w(new re(0, 0)), m = w(new re(0, 0));
4685
4685
  xe(() => t.value, (F) => {
4686
4686
  a.value.style.cursor = F ? "move" : "default";
4687
4687
  });
4688
- function d(F, x) {
4689
- if (x.tagName === "BUTTON")
4688
+ function d(F, T) {
4689
+ if (T.tagName === "BUTTON")
4690
4690
  return !1;
4691
- if (x === F)
4691
+ if (T === F)
4692
4692
  return !0;
4693
- for (const P in x.children)
4694
- if (Object.prototype.hasOwnProperty.call(x.children, P) && d(F, x.children[P]))
4693
+ for (const P in T.children)
4694
+ if (Object.prototype.hasOwnProperty.call(T.children, P) && d(F, T.children[P]))
4695
4695
  return !0;
4696
4696
  return !1;
4697
4697
  }
4698
4698
  function f() {
4699
- var q, C;
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);
4702
- const P = `translate3d(${Math.round(F)}px, ${Math.round(x)}px, 0px)`;
4703
- o.value && (o.value.style.transform = P), m.value.x = F, m.value.y = x;
4699
+ var q, b;
4700
+ let F = s.value.x + p.value.x, T = s.value.y + p.value.y;
4701
+ r.value === "x" ? (F = ((q = c.value) == null ? void 0 : q.x) || 0, s.value.x = 0) : r.value === "y" && (T = ((b = c.value) == null ? void 0 : b.y) || 0, s.value.y = 0);
4702
+ const P = `translate3d(${Math.round(F)}px, ${Math.round(T)}px, 0px)`;
4703
+ o.value && (o.value.style.transform = P), m.value.x = F, m.value.y = T;
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 = {
4709
- top: F.top < x.top,
4710
- right: F.right > x.right,
4711
- bottom: F.bottom > x.bottom,
4712
- left: F.left < x.left
4708
+ const F = u.value.getBoundingClientRect(), T = o.value.getBoundingClientRect(), P = {
4709
+ top: F.top < T.top,
4710
+ right: F.right > T.right,
4711
+ bottom: F.bottom > T.bottom,
4712
+ left: F.left < T.left
4713
4713
  };
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;
4714
+ return P.top || (s.value.y -= T.top - F.top), P.bottom || (s.value.y -= T.bottom - F.bottom), P.right || (s.value.x -= T.right - F.right), P.left || (s.value.x -= T.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
- function T(F) {
4719
+ function S(F) {
4720
4720
  l.value && i.value && (F.stopPropagation(), F.preventDefault(), y(re.fromEvent(F, a.value)));
4721
4721
  }
4722
4722
  function B() {
4723
4723
  var F;
4724
- l.value && (l.value = !1, p.value.add(s.value), s.value.reset(), (F = o.value) == null || F.classList.remove("ng-dragging"), e.emit("stopMove"), document.removeEventListener("mousemove", T), document.removeEventListener("mouseup", B));
4724
+ l.value && (l.value = !1, p.value.add(s.value), s.value.reset(), (F = o.value) == null || F.classList.remove("ng-dragging"), e.emit("stopMove"), document.removeEventListener("mousemove", S), document.removeEventListener("mouseup", B));
4725
4725
  }
4726
4726
  function z() {
4727
- !l.value && a.value && (l.value = !0, a.value.classList.add("ng-dragging"), document.addEventListener("mousemove", T), document.addEventListener("mouseup", B));
4727
+ !l.value && a.value && (l.value = !0, a.value.classList.add("ng-dragging"), document.addEventListener("mousemove", S), document.addEventListener("mouseup", B));
4728
4728
  }
4729
4729
  function L() {
4730
4730
  if (o.value) {
@@ -4734,25 +4734,25 @@ function Zr(n, e, t) {
4734
4734
  }
4735
4735
  p.value.reset();
4736
4736
  }
4737
- function w(F) {
4737
+ function C(F) {
4738
4738
  if (!t.value || F instanceof MouseEvent && F.button === 2)
4739
4739
  return;
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());
4740
+ const T = F.target || F.srcElement;
4741
+ a.value !== void 0 && T && !d(T, a.value) || i.value !== !1 && (document.body.click(), F.stopPropagation(), F.preventDefault(), c.value = re.fromEvent(F, o.value), L(), z());
4742
4742
  }
4743
- function g(F, x, P) {
4744
- if (i.value && x) {
4743
+ function g(F, T, P) {
4744
+ if (i.value && T) {
4745
4745
  if (F)
4746
4746
  a.value = F;
4747
4747
  else if (n.dragHandle) {
4748
4748
  if (n.dragHandle instanceof HTMLElement)
4749
4749
  a.value = n.dragHandle;
4750
4750
  else if (typeof n.dragHandle == "string") {
4751
- const q = x.querySelector(n.dragHandle);
4751
+ const q = T.querySelector(n.dragHandle);
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 = T, u.value = P, a.value ? (a.value.classList.add("ng-draggable"), a.value.addEventListener("mousedown", C)) : i.value = !1;
4756
4756
  }
4757
4757
  }
4758
4758
  return {
@@ -4771,7 +4771,7 @@ function mn(n, e) {
4771
4771
  }
4772
4772
  }
4773
4773
  function Kr(n, e) {
4774
- const t = b(n.enableEsc);
4774
+ const t = w(n.enableEsc);
4775
4775
  let o = null;
4776
4776
  return t.value ? (o = mn("Escape", (i) => {
4777
4777
  e.emit("esc", { event: i.event, type: "esc" });
@@ -4780,7 +4780,7 @@ function Kr(n, e) {
4780
4780
  }) : null;
4781
4781
  }
4782
4782
  function ea(n, e) {
4783
- const t = b(n.enableEnter);
4783
+ const t = w(n.enableEnter);
4784
4784
  let o = null;
4785
4785
  return t.value ? (o = mn("Enter", (i) => {
4786
4786
  e.emit("enter", { event: i.event, type: "enter" });
@@ -4793,20 +4793,20 @@ 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 = w(n.width || 300), o = w(n.height || 200), i = w(n.modelValue), r = w(""), a = w(n.class), u = w(n.fitContent), l = w(n.showHeader), c = w(""), p = w(n.showCloseButton), s = w(n.showMaxButton), m = w(!1), d = w(n.dialogType), f = w(n.src), v = w(""), y = w(n.showButtons), S = w(n.title), B = w(n.containment || null), z = w(), {
4797
4797
  t: L
4798
4798
  } = Lt();
4799
- T.value === "错误提示" && (T.value = L("messageBox.errorTitle"));
4800
- const w = b(!1);
4799
+ S.value === "错误提示" && (S.value = L("messageBox.errorTitle"));
4800
+ const C = w(!1);
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,9 +4823,9 @@ 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
+ }], T = w(n.buttons && n.buttons.length ? n.buttons : F), P = A(() => !!c.value), q = A(() => !!y.value && !!T.value), b = w(), E = w(), N = w(!1), {
4827
4827
  renderResizeBar: V,
4828
- maximize: S,
4828
+ maximize: x,
4829
4829
  restore: U,
4830
4830
  boundingElement: Z,
4831
4831
  resizedEventParam: O,
@@ -4843,18 +4843,18 @@ const We = /* @__PURE__ */ _e({
4843
4843
  (!k || k - 1 <= 0) && document.body.classList.remove("modal-open"), z.value && z.value.classList.remove("show");
4844
4844
  }
4845
4845
  xe(() => n.title, (k, Q) => {
4846
- k !== Q && (T.value = k);
4846
+ k !== Q && (S.value = k);
4847
4847
  }), xe(() => n.modelValue, (k, Q) => {
4848
4848
  k !== Q && (i.value = k, i.value && n.draggable && at(() => {
4849
- E.value && !B.value && (B.value = E.value.parentElement, Z.value = B.value, te(C.value, E.value, Z.value), R());
4850
- }), k || (B.value && (B.value = null), he())), i.value ? w.value = ve() : (N.value = !1, I.value = n.draggable);
4849
+ E.value && !B.value && (B.value = E.value.parentElement, Z.value = B.value, te(b.value, E.value, Z.value), R());
4850
+ }), k || (B.value && (B.value = null), he())), i.value ? C.value = ve() : (N.value = !1, I.value = n.draggable);
4851
4851
  }), xe(() => n.showHeader, (k, Q) => {
4852
4852
  k !== Q && (l.value = k);
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(() => {
@@ -4890,7 +4890,7 @@ const We = /* @__PURE__ */ _e({
4890
4890
  display: "block",
4891
4891
  zIndex: W()
4892
4892
  };
4893
- return n.mask || (k.pointerEvents = "none", k.backgroundColor = "transparent"), w.value && (k.backgroundColor = "transparent"), k;
4893
+ return n.mask || (k.pointerEvents = "none", k.backgroundColor = "transparent"), C.value && (k.backgroundColor = "transparent"), k;
4894
4894
  }), je = A(() => ({
4895
4895
  "modal-content": !0,
4896
4896
  "modal-content-has-header": l.value
@@ -4924,19 +4924,19 @@ const We = /* @__PURE__ */ _e({
4924
4924
  N.value = !1, U();
4925
4925
  return;
4926
4926
  }
4927
- S(), N.value = !0;
4927
+ x(), N.value = !0;
4928
4928
  }
4929
4929
  async function Ke(k, Q) {
4930
4930
  k.handle && await k.handle(Q, k) && e.emit("closed", Q);
4931
4931
  }
4932
4932
  function Pe(k) {
4933
- k.width && (t.value = k.width), k.height && (o.value = k.height), k.buttons && (x.value = k.buttons), k.title && (T.value = k.title);
4933
+ k.width && (t.value = k.width), k.height && (o.value = k.height), k.buttons && (T.value = k.buttons), k.title && (S.value = k.title);
4934
4934
  }
4935
4935
  let Ve = null, Te = null;
4936
4936
  Pn(() => {
4937
- w.value = ve();
4937
+ C.value = ve();
4938
4938
  }), Ze(() => {
4939
- E.value && !B.value && (B.value = E.value.parentElement, Z.value = B.value, te(C.value, E.value, Z.value)), J.value && document.body.classList.add("modal-open"), Ve = Kr(n, e), Te = ea(n, e);
4939
+ E.value && !B.value && (B.value = E.value.parentElement, Z.value = B.value, te(b.value, E.value, Z.value)), J.value && document.body.classList.add("modal-open"), Ve = Kr(n, e), Te = ea(n, e);
4940
4940
  }), wt(() => {
4941
4941
  G && G(), Ve && Ve.remove(), Te && Te.remove();
4942
4942
  }), e.expose({
@@ -4969,8 +4969,8 @@ const We = /* @__PURE__ */ _e({
4969
4969
  return M("div", {
4970
4970
  class: "modal-footer",
4971
4971
  style: Xe.value
4972
- }, [x.value && x.value.map((k) => {
4973
- const Q = b(k.disabled);
4972
+ }, [T.value && T.value.map((k) => {
4973
+ const Q = w(k.disabled);
4974
4974
  return M("button", {
4975
4975
  name: k.name,
4976
4976
  type: "button",
@@ -4986,17 +4986,17 @@ const We = /* @__PURE__ */ _e({
4986
4986
  }
4987
4987
  function He() {
4988
4988
  return M("div", {
4989
- ref: C,
4989
+ ref: b,
4990
4990
  class: "modal-header",
4991
4991
  style: Ie.value
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"
4999
- }, [T.value])]), M("div", {
4999
+ }, [S.value])]), M("div", {
5000
5000
  class: "actions"
5001
5001
  }, [Oe()])]);
5002
5002
  }
@@ -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,12 +5063,12 @@ 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 = w(), a = w(n.class || ""), u = w(!!n.showButtons), l = w(!!n.showHeader), c = w(n.showCloseButton == null ? !0 : n.showCloseButton), p = w(!0), s = w(n.title || ""), m = n.acceptCallback || (() => {
5067
5067
  }), d = n.rejectCallback || (() => {
5068
5068
  }), f = n.closedCallback || ((z) => {
5069
5069
  }), v = n.resizeHandle || ((z) => {
5070
5070
  }), y = n.stopMoveHandle || ((z) => {
5071
- }), T = vn(n), B = (z) => {
5071
+ }), S = vn(n), B = (z) => {
5072
5072
  p.value = !1, t.unmount(), f(z);
5073
5073
  };
5074
5074
  return Ze(() => {
@@ -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,
@@ -5094,7 +5094,7 @@ function ta(n) {
5094
5094
  onResize: v,
5095
5095
  onStopMove: y
5096
5096
  }, {
5097
- default: () => [T && T(t)]
5097
+ default: () => [S && S(t)]
5098
5098
  });
5099
5099
  }
5100
5100
  });
@@ -5103,10 +5103,10 @@ function ta(n) {
5103
5103
  class hn {
5104
5104
  constructor(e) {
5105
5105
  X(this, "appContext", null);
5106
- X(this, "modalRef", b());
5107
- X(this, "activeModalIndex", b(0));
5106
+ X(this, "modalRef", w());
5107
+ X(this, "activeModalIndex", w(0));
5108
5108
  X(this, "modalRefs", {});
5109
- X(this, "isUseEscCloseModal", b(!1));
5109
+ X(this, "isUseEscCloseModal", w(!1));
5110
5110
  X(this, "activeModalInstance", A(() => this.modalRefs[this.activeModalIndex.value]));
5111
5111
  this.app = e, this.appContext = e ? e._context : null;
5112
5112
  }
@@ -5145,59 +5145,59 @@ class hn {
5145
5145
  title: "",
5146
5146
  showButtons: !0,
5147
5147
  showHeader: !0
5148
- }, e)), i = b(!0), r = o.value.acceptCallback || (() => {
5148
+ }, e)), i = w(!0), r = o.value.acceptCallback || (() => {
5149
5149
  }), a = o.value.rejectCallback || (() => {
5150
- }), c = o.value.closedCallback || ((w, g) => {
5151
- }), l = o.value.resizeHandle || ((w) => {
5152
- }), u = e.stopMoveHandle || ((w) => {
5150
+ }), u = o.value.closedCallback || ((C, g) => {
5151
+ }), l = o.value.resizeHandle || ((C) => {
5152
+ }), c = e.stopMoveHandle || ((C) => {
5153
5153
  });
5154
5154
  let p;
5155
- const s = vn(o.value), m = (w) => {
5155
+ const s = vn(o.value), m = (C) => {
5156
5156
  var F;
5157
5157
  i.value = !1;
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");
5160
- }, d = (w) => {
5161
- m(w), p && at(() => {
5158
+ const g = (F = C == null ? void 0 : C.target) == null ? void 0 : F.classList.contains("modal_close");
5159
+ u(C, this.isUseEscCloseModal.value ? "esc" : g ? "icon" : "button");
5160
+ }, d = (C) => {
5161
+ m(C), 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) {
5163
5163
  const g = Object.keys(this.modalRefs).map((F) => Number(F));
5164
5164
  g.length > 0 ? this.activeModalIndex.value = Math.max(...g) : this.activeModalIndex.value = 0;
5165
5165
  }
5166
5166
  this.isUseEscCloseModal.value = !1;
5167
5167
  });
5168
- }, f = (w) => {
5168
+ }, f = (C) => {
5169
5169
  var g;
5170
- this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((g = this.activeModalInstance.value) == null || g.close(w == null ? void 0 : w.event));
5170
+ this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((g = this.activeModalInstance.value) == null || g.close(C == null ? void 0 : C.event));
5171
5171
  }, {
5172
5172
  width: v,
5173
5173
  height: y
5174
- } = o.value, T = this.adaptToWindow(v || 500, y || 320);
5175
- Object.assign(o.value, T);
5174
+ } = o.value, S = this.adaptToWindow(v || 500, y || 320);
5175
+ Object.assign(o.value, S);
5176
5176
  const B = () => M(We, Dt({
5177
5177
  ref: this.modalRef,
5178
5178
  modelValue: i.value,
5179
- "onUpdate:modelValue": (w) => i.value = w
5179
+ "onUpdate:modelValue": (C) => i.value = C
5180
5180
  }, o.value, {
5181
5181
  onAccept: r,
5182
5182
  onCancel: a,
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
  });
5190
- return p = ((w) => {
5191
- const g = Nn(B, w);
5190
+ return p = ((C) => {
5191
+ const g = Nn(B, C);
5192
5192
  return g.appContext = this.appContext, Nt(g, t), g;
5193
5193
  })({
5194
5194
  ...o.value
5195
5195
  // 'onUpdate:modelValue': onUpdateModelValue,
5196
5196
  }), this.activeModalIndex.value++, this.modalRefs[this.activeModalIndex.value] = this.modalRef.value, {
5197
- update: (w) => {
5197
+ update: (C) => {
5198
5198
  o.value = {
5199
5199
  ...o.value,
5200
- ...w
5200
+ ...C
5201
5201
  }, p && Nt($n(p, {
5202
5202
  ...o
5203
5203
  }), t);
@@ -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 = w(), 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
  };