@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
@@ -2,11 +2,11 @@ var Rn = Object.defineProperty;
2
2
  var Ln = (e, n, t) => n in e ? Rn(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
3
  var K = (e, n, t) => Ln(e, typeof n != "symbol" ? n + "" : n, t);
4
4
  import { ref as h, computed as H, defineComponent as Re, watch as ye, createVNode as g, createTextVNode as At, mergeProps as xt, reactive as _e, withDirectives as nn, resolveDirective as $n, Fragment as ot, inject as Xt, onMounted as rt, onBeforeMount as on, vModelText as Dn, nextTick as ct, createApp as rn, onUnmounted as St, Transition as an, Teleport as jn, shallowRef as Hn, render as Dt, h as An, cloneVNode as zn } from "vue";
5
- import { isPlainObject as Yt, cloneDeep as yt, debounce as Un, isUndefined as Ye } from "lodash-es";
5
+ import { cloneDeep as yt, isPlainObject as Yt, debounce as Un, isUndefined as Ye } from "lodash-es";
6
6
  import qn from "../accordion/index.esm.js";
7
7
  import _n from "../avatar/index.esm.js";
8
- import Gn from "../../designer/button-edit/index.esm.js";
9
- import Wn from "../button-group/index.esm.js";
8
+ import Wn from "../../designer/button-edit/index.esm.js";
9
+ import Gn from "../button-group/index.esm.js";
10
10
  import Xn from "../calendar/index.esm.js";
11
11
  import Yn from "../capsule/index.esm.js";
12
12
  import Jt from "../../designer/checkbox/index.esm.js";
@@ -22,8 +22,8 @@ import oo from "../dropdown/index.esm.js";
22
22
  import io from "../dynamic-form/index.esm.js";
23
23
  import ro from "../events-editor/index.esm.js";
24
24
  import ao from "../filter-bar/index.esm.js";
25
- import lo from "../field-selector/index.esm.js";
26
- import so from "../binding-selector/index.esm.js";
25
+ import so from "../field-selector/index.esm.js";
26
+ import lo from "../binding-selector/index.esm.js";
27
27
  import uo from "../image-cropper/index.esm.js";
28
28
  import co from "../../designer/input-group/index.esm.js";
29
29
  import fo from "../layout/index.esm.js";
@@ -60,8 +60,8 @@ import zo from "../tree-view/index.esm.js";
60
60
  import Uo from "../uploader/index.esm.js";
61
61
  import qo from "../verify-detail/index.esm.js";
62
62
  import _o from "../video/index.esm.js";
63
- import Go from "../textarea/index.esm.js";
64
- import Wo from "../schema-selector/index.esm.js";
63
+ import Wo from "../textarea/index.esm.js";
64
+ import Go from "../schema-selector/index.esm.js";
65
65
  import Xo from "../../designer/tree-grid/index.esm.js";
66
66
  import Yo from "../event-parameter/index.esm.js";
67
67
  import Jo from "../filter-condition-editor/index.esm.js";
@@ -75,16 +75,16 @@ import oi from "../expression-editor/index.esm.js";
75
75
  import ii from "../code-editor/index.esm.js";
76
76
  import ri from "../html-template/index.esm.js";
77
77
  import ai from "../collection-property-editor/index.esm.js";
78
- import li from "../modal/index.esm.js";
79
- import si from "../external-container/index.esm.js";
78
+ import si from "../modal/index.esm.js";
79
+ import li from "../external-container/index.esm.js";
80
80
  import ui from "../language-textbox/index.esm.js";
81
81
  import { DgControl as Zt } from "../designer-canvas/index.esm.js";
82
82
  import { getCustomClass as ci, withInstall as di, FormSchemaEntityField$Type as bt, FormSchemaEntityFieldTypeName as Kt, getMaxZIndex as fi, FormSchemaEntityFieldType$Type as pi } from "../common/index.esm.js";
83
83
  import { useI18n as zt } from "vue-i18n";
84
84
  import { LocaleService as Ft } from "../locale/index.esm.js";
85
85
  import { useResizeObserver as mi } from "@vueuse/core";
86
- import { getHierarchyRow as vi, useIdentify as gi, useGroupData as hi, useFilter as yi, useHierarchy as bi, useLoading as Ci, useDataView as wi, useSelection as xi, useSelectHierarchyItem as Si, usePagination as Fi, useDataViewContainerStyle as Ti, useCommandColumn as Ei, useSettingColumn as Ii, useColumn as Mi, useSort as ki, useGroupColumn as Bi, useRow as Pi, useEdit as Vi, useVisualDataBound as Oi, useVisualDataCell as Ni, useVisualDataRow as Ri, useVisualData as Li, useCellPosition as $i, useSidebar as Di, useVirtualScroll as ji, useFitColumn as Hi, useFilterHistory as Ai, useColumnFilter as zi, useDragColumn as Ui, getColumnHeader as qi, getSidebar as _i, getDisableMask as Gi, getHorizontalScrollbar as Wi, getVerticalScrollbar as Xi, getEmpty as Yi, getPagination as Ji, getSummary as Qi } from "../data-view/index.esm.js";
87
- import { createPropsResolver as ln, resolveAppearance as Zi } from "../dynamic-resolver/index.esm.js";
86
+ import { getHierarchyRow as vi, useIdentify as gi, useGroupData as hi, useFilter as yi, useHierarchy as bi, useLoading as Ci, useDataView as wi, useSelection as xi, useSelectHierarchyItem as Si, usePagination as Fi, useDataViewContainerStyle as Ti, useCommandColumn as Ei, useSettingColumn as Ii, useColumn as Mi, useSort as ki, useGroupColumn as Bi, useRow as Pi, useEdit as Vi, useVisualDataBound as Oi, useVisualDataCell as Ni, useVisualDataRow as Ri, useVisualData as Li, useCellPosition as $i, useSidebar as Di, useVirtualScroll as ji, useFitColumn as Hi, useFilterHistory as Ai, useColumnFilter as zi, useDragColumn as Ui, getColumnHeader as qi, getSidebar as _i, getDisableMask as Wi, getHorizontalScrollbar as Gi, getVerticalScrollbar as Xi, getEmpty as Yi, getPagination as Ji, getSummary as Qi } from "../data-view/index.esm.js";
87
+ import { createPropsResolver as sn, resolveAppearance as Zi } from "../dynamic-resolver/index.esm.js";
88
88
  import "../property-panel/index.esm.js";
89
89
  import "../notify/index.esm.js";
90
90
  const Ki = {
@@ -117,11 +117,11 @@ const Ki = {
117
117
  propertyChanged: { type: Function }
118
118
  };
119
119
  function er(e = {}) {
120
- function n(u, m, s, p) {
121
- if (typeof s == "number")
122
- return p[u].length === s;
123
- if (typeof s == "object") {
124
- const c = Object.keys(s)[0], f = s[c];
120
+ function n(u, m, l, p) {
121
+ if (typeof l == "number")
122
+ return p[u].length === l;
123
+ if (typeof l == "object") {
124
+ const c = Object.keys(l)[0], f = l[c];
125
125
  if (c === "not")
126
126
  return Number(p[u].length) !== Number(f);
127
127
  if (c === "moreThan")
@@ -131,8 +131,8 @@ function er(e = {}) {
131
131
  }
132
132
  return !1;
133
133
  }
134
- function t(u, m, s, p) {
135
- return p[u] && p[u].propertyValue && String(p[u].propertyValue.value) === String(s);
134
+ function t(u, m, l, p) {
135
+ return p[u] && p[u].propertyValue && String(p[u].propertyValue.value) === String(l);
136
136
  }
137
137
  const o = /* @__PURE__ */ new Map([
138
138
  ["length", n],
@@ -140,35 +140,35 @@ function er(e = {}) {
140
140
  ]);
141
141
  Object.keys(e).reduce((u, m) => (u.set(m, e[m]), u), o);
142
142
  function i(u, m) {
143
- const s = u;
144
- return typeof m == "number" ? [{ target: s, operator: "length", param: null, value: Number(m) }] : typeof m == "boolean" ? [{ target: s, operator: "getProperty", param: u, value: !!m }] : typeof m == "object" ? Object.keys(m).map((p) => {
143
+ const l = u;
144
+ return typeof m == "number" ? [{ target: l, operator: "length", param: null, value: Number(m) }] : typeof m == "boolean" ? [{ target: l, operator: "getProperty", param: u, value: !!m }] : typeof m == "object" ? Object.keys(m).map((p) => {
145
145
  if (p === "length")
146
- return { target: s, operator: "length", param: null, value: m[p] };
146
+ return { target: l, operator: "length", param: null, value: m[p] };
147
147
  const c = p, f = m[p];
148
- return { target: s, operator: "getProperty", param: c, value: f };
148
+ return { target: l, operator: "getProperty", param: c, value: f };
149
149
  }) : [];
150
150
  }
151
151
  function r(u) {
152
- return Object.keys(u).reduce((s, p) => {
152
+ return Object.keys(u).reduce((l, p) => {
153
153
  const c = i(p, u[p]);
154
- return s.push(...c), s;
154
+ return l.push(...c), l;
155
155
  }, []);
156
156
  }
157
157
  function a(u, m) {
158
158
  if (o.has(u.operator)) {
159
- const s = o.get(u.operator);
160
- return s && s(u.target, u.param, u.value, m) || !1;
159
+ const l = o.get(u.operator);
160
+ return l && l(u.target, u.param, u.value, m) || !1;
161
161
  }
162
162
  return !1;
163
163
  }
164
164
  function d(u, m) {
165
165
  return r(u).reduce((c, f) => c && a(f, m), !0);
166
166
  }
167
- function l(u, m) {
168
- const s = Object.keys(u), p = s.includes("allOf"), c = s.includes("anyOf"), f = p || c, T = (f ? u[f ? p ? "allOf" : "anyOf" : "allOf"] : [u]).map((A) => d(A, m));
167
+ function s(u, m) {
168
+ const l = Object.keys(u), p = l.includes("allOf"), c = l.includes("anyOf"), f = p || c, T = (f ? u[f ? p ? "allOf" : "anyOf" : "allOf"] : [u]).map((A) => d(A, m));
169
169
  return p ? !T.includes(!1) : T.includes(!0);
170
170
  }
171
- return { parseValueSchema: l };
171
+ return { parseValueSchema: s };
172
172
  }
173
173
  const tr = {
174
174
  convertTo: (e, n, t, o) => {
@@ -271,7 +271,7 @@ const tr = {
271
271
  }
272
272
  return "none";
273
273
  }
274
- }, lr = {
274
+ }, sr = {
275
275
  convertTo: (e, n, t, o) => {
276
276
  e.command ? e.command[n] = t : e.command = {
277
277
  [n]: t
@@ -289,7 +289,7 @@ const tr = {
289
289
  ]));
290
290
  },
291
291
  convertFrom: (e, n, t) => e.command && n === "enable" ? e.command.enable : ""
292
- }, sr = {
292
+ }, lr = {
293
293
  convertTo: (e, n, t, o) => {
294
294
  e.column ? e.column[n] = t : e.column = {
295
295
  [n]: t
@@ -411,7 +411,7 @@ const tr = {
411
411
  return "";
412
412
  }
413
413
  };
414
- function sn(e, n, t) {
414
+ function ln(e, n, t) {
415
415
  const o = /* @__PURE__ */ new Map([
416
416
  ["/converter/appearance.converter", tr],
417
417
  ["/converter/buttons.converter", nr],
@@ -420,8 +420,8 @@ function sn(e, n, t) {
420
420
  ["/converter/type.converter", ir],
421
421
  ["/converter/change-editor.converter", rr],
422
422
  ["/converter/change-formatter.converter", ar],
423
- ["/converter/column-command.converter", lr],
424
- ["/converter/column-option.converter", sr],
423
+ ["/converter/column-command.converter", sr],
424
+ ["/converter/column-option.converter", lr],
425
425
  ["/converter/summary.converter", ur],
426
426
  ["/converter/group.converter", cr],
427
427
  ["/converter/form-group-label.converter", gr],
@@ -465,7 +465,7 @@ function sn(e, n, t) {
465
465
  function d(f, v, y) {
466
466
  return f.includes("visible") && v.visible !== void 0 ? typeof v.visible == "boolean" ? () => !!v.visible : v.visible === void 0 ? !0 : a(v.visible, y) : () => !0;
467
467
  }
468
- function l(f, v, y) {
468
+ function s(f, v, y) {
469
469
  return f.includes("readonly") && v.readonly !== void 0 ? typeof v.readonly == "boolean" ? () => !!v.readonly : a(v.readonly, y) : () => !1;
470
470
  }
471
471
  function u(f, v) {
@@ -474,14 +474,14 @@ function sn(e, n, t) {
474
474
  }
475
475
  function m(f, v, y, T, E, A = "", k = "") {
476
476
  return Object.keys(f).map((C) => {
477
- const x = h(1), w = C, M = f[C], O = Object.keys(M), F = M.title, J = M.type, W = i.get(J) || { type: "input-group", enableClear: !1 }, q = M.editor ? Object.assign({}, W, M.editor) : Object.assign({}, W), Q = d(O, M, v), ie = l(O, M, v);
477
+ const w = h(1), S = C, M = f[C], O = Object.keys(M), F = M.title, J = M.type, G = i.get(J) || { type: "input-group", enableClear: !1 }, q = M.editor ? Object.assign({}, G, M.editor) : Object.assign({}, G), Q = d(O, M, v), ie = s(O, M, v);
478
478
  q.readonly = q.readonly === void 0 ? ie() : q.readonly;
479
479
  const fe = M.type === "cascade" ? m(M.properties, v, y, T, E, A, k) : [], N = !0;
480
480
  let B = u(M, k);
481
481
  const ee = H({
482
482
  get() {
483
- if (x.value) {
484
- if (["class", "style"].find((ve) => ve === w) && !B && (B = o.get("/converter/appearance.converter") || null), B && B.convertFrom)
483
+ if (w.value) {
484
+ if (["class", "style"].find((ve) => ve === S) && !B && (B = o.get("/converter/appearance.converter") || null), B && B.convertFrom)
485
485
  return B.convertFrom(y, C, E, A);
486
486
  const pe = y[C];
487
487
  return Object.prototype.hasOwnProperty.call(M, "defaultValue") && (pe === void 0 || typeof pe == "string" && pe === "") ? M.type === "boolean" ? M.defaultValue : M.defaultValue || "" : pe;
@@ -489,66 +489,66 @@ function sn(e, n, t) {
489
489
  return null;
490
490
  },
491
491
  set(pe) {
492
- x.value += 1, B && B.convertTo ? (B.convertTo(T, C, pe, E, A), B.convertTo(y, C, pe, E, A)) : (T[C] = pe, y[C] = pe);
492
+ w.value += 1, B && B.convertTo ? (B.convertTo(T, C, pe, E, A), B.convertTo(y, C, pe, E, A)) : (T[C] = pe, y[C] = pe);
493
493
  }
494
- }), { refreshPanelAfterChanged: U, description: ae, isExpand: Ce, parentPropertyID: me } = M, te = { propertyID: w, propertyName: F, propertyType: J, propertyValue: ee, editor: q, visible: Q, readonly: ie, cascadeConfig: fe, hideCascadeTitle: N, refreshPanelAfterChanged: U, description: ae, isExpand: Ce, parentPropertyID: me };
495
- return v[w] = te, te;
494
+ }), { refreshPanelAfterChanged: U, description: ae, isExpand: Ce, parentPropertyID: me } = M, te = { propertyID: S, propertyName: F, propertyType: J, propertyValue: ee, editor: q, visible: Q, readonly: ie, cascadeConfig: fe, hideCascadeTitle: N, refreshPanelAfterChanged: U, description: ae, isExpand: Ce, parentPropertyID: me };
495
+ return v[S] = te, te;
496
496
  });
497
497
  }
498
- function s(f, v, y = {}) {
498
+ function l(f, v, y = {}) {
499
499
  const T = {}, E = e[f];
500
500
  return E && E.categories ? Object.keys(E.categories).map((k) => {
501
- const S = E.categories[k], C = S == null ? void 0 : S.title, x = m(S.properties || {}, T, {}, y, v);
502
- return { categoryId: k, categoryName: C, properties: x };
501
+ const x = E.categories[k], C = x == null ? void 0 : x.title, w = m(x.properties || {}, T, {}, y, v);
502
+ return { categoryId: k, categoryName: C, properties: w };
503
503
  }) : [];
504
504
  }
505
505
  function p(f, v, y, T, E = "") {
506
- const A = v.$ref.schema, k = v.$ref.converter, S = y[A], C = S.type, x = t(S), w = {}, M = e[C];
506
+ const A = v.$ref.schema, k = v.$ref.converter, x = y[A], C = x.type, w = t(x), S = {}, M = e[C];
507
507
  if (M && M.categories) {
508
508
  const O = M.categories[f], F = O == null ? void 0 : O.title;
509
509
  k && Object.keys(O.properties).forEach((q) => {
510
510
  O.properties[q].$converter = k;
511
511
  });
512
- const J = (O == null ? void 0 : O.properties) || {}, W = m(J, w, x, S, T, E);
513
- return { categoryId: f, categoryName: F, properties: W };
512
+ const J = (O == null ? void 0 : O.properties) || {}, G = m(J, S, w, x, T, E);
513
+ return { categoryId: f, categoryName: F, properties: G };
514
514
  }
515
515
  return { categoryId: f, categoryName: "", properties: [] };
516
516
  }
517
517
  function c(f, v, y, T, E) {
518
- const A = f.type, k = t(f), S = {};
518
+ const A = f.type, k = t(f), x = {};
519
519
  let C = E || e[A];
520
520
  if (C && Object.keys(C).length === 0 && y && y.getPropConfig && (C = y.getPropConfig(T)), C && C.categories) {
521
- const x = [];
522
- return Object.keys(C.categories).map((w) => {
523
- const M = C.categories[w];
521
+ const w = [];
522
+ return Object.keys(C.categories).map((S) => {
523
+ const M = C.categories[S];
524
524
  if (M.$ref) {
525
- x.push(p(w, M, f, v, T));
525
+ w.push(p(S, M, f, v, T));
526
526
  return;
527
527
  }
528
- const O = M == null ? void 0 : M.title, F = M == null ? void 0 : M.tabId, J = M == null ? void 0 : M.tabName, W = M == null ? void 0 : M.hide, q = M == null ? void 0 : M.hideTitle, Q = m(M.properties || {}, S, k, f, v, T, M.$converter), { setPropertyRelates: ie } = M, fe = M == null ? void 0 : M.parentPropertyID;
529
- x.push({ categoryId: w, categoryName: O, tabId: F, tabName: J, hide: W, properties: Q, hideTitle: q, setPropertyRelates: ie, parentPropertyID: fe });
530
- }), x;
528
+ const O = M == null ? void 0 : M.title, F = M == null ? void 0 : M.tabId, J = M == null ? void 0 : M.tabName, G = M == null ? void 0 : M.hide, q = M == null ? void 0 : M.hideTitle, Q = m(M.properties || {}, x, k, f, v, T, M.$converter), { setPropertyRelates: ie } = M, fe = M == null ? void 0 : M.parentPropertyID;
529
+ w.push({ categoryId: S, categoryName: O, tabId: F, tabName: J, hide: G, properties: Q, hideTitle: q, setPropertyRelates: ie, parentPropertyID: fe });
530
+ }), w;
531
531
  }
532
532
  return [];
533
533
  }
534
534
  return {
535
535
  getPropertyConfigBySchema: c,
536
- getPropertyConfigByType: s,
536
+ getPropertyConfigByType: l,
537
537
  propertyConverterMap: o
538
538
  };
539
539
  }
540
540
  function un(e, n) {
541
541
  let t;
542
- function o(s) {
543
- const { properties: p, title: c, ignore: f } = s, v = f && Array.isArray(f), y = Object.keys(p).reduce((T, E) => ((!v || !f.find((A) => A === E)) && (T[E] = p[E].type === "object" && p[E].properties ? o(p[E]) : yt(p[E].default)), T), {});
542
+ function o(l) {
543
+ const { properties: p, title: c, ignore: f } = l, v = f && Array.isArray(f), y = Object.keys(p).reduce((T, E) => ((!v || !f.find((A) => A === E)) && (T[E] = p[E].type === "object" && p[E].properties ? o(p[E]) : yt(p[E].default)), T), {});
544
544
  if (c && (!v || !f.find((T) => T === "id"))) {
545
545
  const T = c.toLowerCase().replace(/-/g, "_");
546
546
  y.id = `${T}_${Math.random().toString().slice(2, 6)}`;
547
547
  }
548
548
  return y;
549
549
  }
550
- function i(s) {
551
- const { properties: p, title: c, required: f } = s;
550
+ function i(l) {
551
+ const { properties: p, title: c, required: f } = l;
552
552
  if (f && Array.isArray(f)) {
553
553
  const v = f.reduce((y, T) => (y[T] = p[T].type === "object" && p[T].properties ? o(p[T]) : yt(p[T].default), y), {});
554
554
  if (c && f.find((y) => y === "id")) {
@@ -561,60 +561,60 @@ function un(e, n) {
561
561
  type: c
562
562
  };
563
563
  }
564
- function r(s, p = {}, c) {
565
- const f = e[s];
564
+ function r(l, p = {}, c) {
565
+ const f = e[l];
566
566
  if (f) {
567
567
  let v = i(f);
568
- const y = n[s];
568
+ const y = n[l];
569
569
  return v = y ? y({ getSchemaByType: r }, v, p, c) : v, t != null && t.appendIdentifyForNewControl && t.appendIdentifyForNewControl(v), v;
570
570
  }
571
571
  return null;
572
572
  }
573
- function a(s, p) {
573
+ function a(l, p) {
574
574
  const c = o(p);
575
- return Object.keys(c).reduce((f, v) => (Object.prototype.hasOwnProperty.call(s, v) && (f[v] && Yt(f[v]) && Yt(s[v] || !s[v]) ? Object.assign(f[v], s[v] || {}) : f[v] = s[v]), f), c), c;
575
+ return Object.keys(c).reduce((f, v) => (Object.prototype.hasOwnProperty.call(l, v) && (f[v] && Yt(f[v]) && Yt(l[v] || !l[v]) ? Object.assign(f[v], l[v] || {}) : f[v] = l[v]), f), c), c;
576
576
  }
577
- function d(s, p) {
578
- return Object.keys(s).filter((f) => s[f] != null).reduce((f, v) => {
577
+ function d(l, p) {
578
+ return Object.keys(l).filter((f) => l[f] != null).reduce((f, v) => {
579
579
  if (p.has(v)) {
580
580
  const y = p.get(v);
581
581
  if (typeof y == "string")
582
- f[y] = s[v];
582
+ f[y] = l[v];
583
583
  else {
584
- const T = y(v, s[v], s);
584
+ const T = y(v, l[v], l);
585
585
  Object.assign(f, T);
586
586
  }
587
587
  } else
588
- f[v] = s[v];
588
+ f[v] = l[v];
589
589
  return f;
590
590
  }, {});
591
591
  }
592
- function l(s, p, c = /* @__PURE__ */ new Map()) {
593
- const f = a(s, p);
592
+ function s(l, p, c = /* @__PURE__ */ new Map()) {
593
+ const f = a(l, p);
594
594
  return d(f, c);
595
595
  }
596
- function u(s) {
596
+ function u(l) {
597
597
  var c;
598
- const p = s.type;
598
+ const p = l.type;
599
599
  if (p) {
600
600
  const f = e[p];
601
601
  if (!f)
602
- return s;
603
- const v = a(s, f), y = ((c = s.editor) == null ? void 0 : c.type) || "";
602
+ return l;
603
+ const v = a(l, f), y = ((c = l.editor) == null ? void 0 : c.type) || "";
604
604
  if (y) {
605
- const T = e[y], E = a(s.editor, T);
605
+ const T = e[y], E = a(l.editor, T);
606
606
  v.editor = E;
607
607
  }
608
608
  return v;
609
609
  }
610
- return s;
610
+ return l;
611
611
  }
612
- function m(s) {
613
- t = s;
612
+ function m(l) {
613
+ t = l;
614
614
  }
615
- return { getSchemaByType: r, resolveSchemaWithDefaultValue: u, resolveSchemaToProps: l, mappingSchemaToProps: d, setDesignerContext: m };
615
+ return { getSchemaByType: r, resolveSchemaWithDefaultValue: u, resolveSchemaToProps: s, mappingSchemaToProps: d, setDesignerContext: m };
616
616
  }
617
- const cn = {}, dn = {}, { resolveSchemaWithDefaultValue: xr } = un(cn, dn), fn = {}, pn = {}, { getPropertyConfigBySchema: jt } = sn(fn, pn, xr), Sr = {
617
+ const cn = {}, dn = {}, { getSchemaByType: ru, resolveSchemaWithDefaultValue: xr, resolveSchemaToProps: au, mappingSchemaToProps: su, setDesignerContext: lu } = un(cn, dn), fn = {}, pn = {}, { getPropertyConfigBySchema: jt, getPropertyConfigByType: uu, propertyConverterMap: cu } = ln(fn, pn, xr), Sr = {
618
618
  /** 某一分类下的属性配置 */
619
619
  // as PropType<ElementPropertyConfig>
620
620
  category: { type: Object, default: {} },
@@ -626,14 +626,14 @@ const cn = {}, dn = {}, { resolveSchemaWithDefaultValue: xr } = un(cn, dn), fn =
626
626
  }, Fr = {
627
627
  elementConfig: { type: Object, default: {} },
628
628
  category: { type: Object, default: {} }
629
- }, mn = {}, vn = {}, { resolveSchemaWithDefaultValue: Tr, resolveSchemaToProps: Er, mappingSchemaToProps: Ir } = un(mn, vn), gn = {}, hn = {};
630
- sn(gn, hn, Tr);
631
- function Tt(e, n, t = /* @__PURE__ */ new Map(), o = (a, d, l, u) => d, i = {}, r = (a) => a) {
629
+ }, mn = {}, vn = {}, { getSchemaByType: du, resolveSchemaWithDefaultValue: Tr, resolveSchemaToProps: Er, mappingSchemaToProps: Ir, setDesignerContext: fu } = un(mn, vn), gn = {}, hn = {};
630
+ ln(gn, hn, Tr);
631
+ function Tt(e, n, t = /* @__PURE__ */ new Map(), o = (a, d, s, u) => d, i = {}, r = (a) => a) {
632
632
  return mn[n.title] = n, vn[n.title] = o, gn[n.title] = i, hn[n.title] = r, cn[n.title] = n, dn[n.title] = o, fn[n.title] = i, pn[n.title] = r, (a = {}, d = !0) => {
633
633
  if (!d)
634
634
  return Ir(a, t);
635
- const l = Er(a, n, t), u = Object.keys(e).reduce((m, s) => (m[s] = e[s].default, m), {});
636
- return Object.assign(u, l);
635
+ const s = Er(a, n, t), u = Object.keys(e).reduce((m, l) => (m[l] = e[l].default, m), {});
636
+ return Object.assign(u, s);
637
637
  };
638
638
  }
639
639
  function yn(e, n) {
@@ -772,18 +772,18 @@ const Lr = {
772
772
  const t = h(e.required), o = h(e.text), i = h(e.valid), r = h(e.inValidTip);
773
773
  ye(() => e.text, () => {
774
774
  o.value = e.text;
775
- }), ye(() => e.required, (m, s) => {
776
- m !== s && (t.value = m);
777
- }), ye([() => e.valid, () => e.inValidTip], ([m, s]) => {
778
- i.value = m, r.value = s;
775
+ }), ye(() => e.required, (m, l) => {
776
+ m !== l && (t.value = m);
777
+ }), ye([() => e.valid, () => e.inValidTip], ([m, l]) => {
778
+ i.value = m, r.value = l;
779
779
  });
780
- const a = H(() => i.value ? o.value : r.value), d = H(() => i.value ? "" : "color:red"), l = H(() => ({
780
+ const a = H(() => i.value ? o.value : r.value), d = H(() => i.value ? "" : "color:red"), s = H(() => ({
781
781
  "col-form-label": !0,
782
782
  // 指定必填,当显示模式是隐藏或者没有指定标签名时,宽度不限定
783
783
  "f-width-auto": t.value && (e.showType === "none" || !o.value)
784
784
  })), u = H(() => e.showType === "reserve-space" || t.value || o.value && e.showType !== "none");
785
785
  return () => u.value && g("label", {
786
- class: l.value,
786
+ class: s.value,
787
787
  title: a.value,
788
788
  style: d.value
789
789
  }, [!i.value && g("span", {
@@ -799,7 +799,7 @@ const Lr = {
799
799
  }), R = {}, L = {}, $ = {}, D = {};
800
800
  let en = !1;
801
801
  function Dr() {
802
- en || (en = !0, _n.register(R, L, $, D), qn.register(R, L, $, D), Gn.register(R, L, $, D), Wn.register(R, L, $, D), Xn.register(R, L, $, D), Yn.register(R, L, $, D), Jt.register(R, L, $, D), Qt.register(R, L, $, D), Jt.register(R, L, $, D), Qt.register(R, L, $, D), Jn.register(R, L, $, D), Qn.register(R, L, $, D), Zn.register(R, L, $, D), eo.register(R, L, $, D), Kn.register(R, L, $, D), to.register(R, L, $, D), no.register(R, L, $, D), oo.register(R, L, $, D), io.register(R, L, $, D), ro.register(R, L, $, D), oi.register(R, L, $, D), ao.register(R, L, $, D), lo.register(R, L, $, D), Jo.register(R, L, $, D), uo.register(R, L, $, D), co.register(R, L, $, D), fo.register(R, L, $, D), mo.register(R, L, $, D), po.register(R, L, $, D), vo.register(R, L, $, D), go.register(R, L, $, D), ho.register(R, L, $, D), yo.register(R, L, $, D), bo.register(R, L, $, D), Co.register(R, L, $, D), wo.register(R, L, $, D), xo.register(R, L, $, D), So.register(R, L, $, D), Fo.register(R, L, $, D), To.register(R, L, $, D), Eo.register(R, L, $, D), Io.register(R, L, $, D), ko.register(R, L, $, D), Bo.register(R, L, $, D), Mo.register(R, L, $, D), Wo.register(R, L, $), Po.register(R, L, $, D), Vo.register(R, L, $, D), Oo.register(R, L, $, D), No.register(R, L, $, D), Ro.register(R, L, $, D), Lo.register(R, L, $, D), Zo.register(R, L, $, D), $o.register(R, L, $, D), Do.register(R, L, $, D), jo.register(R, L, $, D), Ho.register(R, L, $, D), Ao.register(R, L, $, D), zo.register(R, L, $, D), qo.register(R, L, $, D), Uo.register(R, L, $, D), _o.register(R, L, $, D), Go.register(R, L, $, D), Xo.register(R, L, $, D), so.register(R, L, $, D), Yo.register(R, L, $, D), Qo.register(R, L, $, D), Ko.register(R, L, $, D), ei.register(R, L, $, D), ti.register(R, L, $, D), ni.register(R, L, $, D), ii.register(R, L, $, D), ri.register(R, L, $, D), ai.register(R, L, $, D), li.register(R, L, $, D), si.register(R, L, $, D), ui.register(R, L, $, D));
802
+ en || (en = !0, _n.register(R, L, $, D), qn.register(R, L, $, D), Wn.register(R, L, $, D), Gn.register(R, L, $, D), Xn.register(R, L, $, D), Yn.register(R, L, $, D), Jt.register(R, L, $, D), Qt.register(R, L, $, D), Jt.register(R, L, $, D), Qt.register(R, L, $, D), Jn.register(R, L, $, D), Qn.register(R, L, $, D), Zn.register(R, L, $, D), eo.register(R, L, $, D), Kn.register(R, L, $, D), to.register(R, L, $, D), no.register(R, L, $, D), oo.register(R, L, $, D), io.register(R, L, $, D), ro.register(R, L, $, D), oi.register(R, L, $, D), ao.register(R, L, $, D), so.register(R, L, $, D), Jo.register(R, L, $, D), uo.register(R, L, $, D), co.register(R, L, $, D), fo.register(R, L, $, D), mo.register(R, L, $, D), po.register(R, L, $, D), vo.register(R, L, $, D), go.register(R, L, $, D), ho.register(R, L, $, D), yo.register(R, L, $, D), bo.register(R, L, $, D), Co.register(R, L, $, D), wo.register(R, L, $, D), xo.register(R, L, $, D), So.register(R, L, $, D), Fo.register(R, L, $, D), To.register(R, L, $, D), Eo.register(R, L, $, D), Io.register(R, L, $, D), ko.register(R, L, $, D), Bo.register(R, L, $, D), Mo.register(R, L, $, D), Go.register(R, L, $), Po.register(R, L, $, D), Vo.register(R, L, $, D), Oo.register(R, L, $, D), No.register(R, L, $, D), Ro.register(R, L, $, D), Lo.register(R, L, $, D), Zo.register(R, L, $, D), $o.register(R, L, $, D), Do.register(R, L, $, D), jo.register(R, L, $, D), Ho.register(R, L, $, D), Ao.register(R, L, $, D), zo.register(R, L, $, D), qo.register(R, L, $, D), Uo.register(R, L, $, D), _o.register(R, L, $, D), Wo.register(R, L, $, D), Xo.register(R, L, $, D), lo.register(R, L, $, D), Yo.register(R, L, $, D), Qo.register(R, L, $, D), Ko.register(R, L, $, D), ei.register(R, L, $, D), ti.register(R, L, $, D), ni.register(R, L, $, D), ii.register(R, L, $, D), ri.register(R, L, $, D), ai.register(R, L, $, D), si.register(R, L, $, D), li.register(R, L, $, D), ui.register(R, L, $, D));
803
803
  }
804
804
  function jr() {
805
805
  Dr();
@@ -810,8 +810,8 @@ function jr() {
810
810
  return d;
811
811
  }
812
812
  function n(a, d) {
813
- const l = L[a];
814
- return l ? l(d) : {};
813
+ const s = L[a];
814
+ return s ? s(d) : {};
815
815
  }
816
816
  function t(a) {
817
817
  switch (a) {
@@ -950,10 +950,10 @@ const Hr = {
950
950
  props: Cn,
951
951
  emits: ["change", "update:modelValue"],
952
952
  setup(e, n) {
953
- var x;
954
- const t = h(e.id), o = h(e.customClass), i = h(e.editor), r = h(e.label), a = h(e.modelValue), d = h(e.readonly), l = h(((x = e.editor) == null ? void 0 : x.required) || e.required), u = h(e.showLabel), m = h(e.visible);
953
+ var w;
954
+ const t = h(e.id), o = h(e.customClass), i = h(e.editor), r = h(e.label), a = h(e.modelValue), d = h(e.readonly), s = h(((w = e.editor) == null ? void 0 : w.required) || e.required), u = h(e.showLabel), m = h(e.visible);
955
955
  h(e.type);
956
- const s = h(), p = h(e.errors), c = H(() => u.value ? e.showLabelType : "none"), {
956
+ const l = h(), p = h(e.errors), c = H(() => u.value ? e.showLabelType : "none"), {
957
957
  resolveEditorProps: f,
958
958
  resolveEditorType: v,
959
959
  getChangeFunctionName: y,
@@ -964,9 +964,9 @@ const Hr = {
964
964
  "common-group": !0,
965
965
  "q-state-readonly": d.value
966
966
  }));
967
- function A(w, M, O) {
968
- a.value = M !== void 0 ? M : w, n.emit("update:modelValue", a.value), n.emit("change", a.value, {
969
- newValue: w,
967
+ function A(S, M, O) {
968
+ a.value = M !== void 0 ? M : S, n.emit("update:modelValue", a.value), n.emit("change", a.value, {
969
+ newValue: S,
970
970
  newModelValue: M,
971
971
  parameters: O
972
972
  });
@@ -974,13 +974,13 @@ const Hr = {
974
974
  function k() {
975
975
  n.emit("update:modelValue", "");
976
976
  }
977
- const S = H(() => {
978
- const w = i.value.type || "input-group", M = v(w), O = f(w, i.value), F = y(w), J = T(i.value.type);
979
- return J && (O[J] = k), O[F] = A, (O.id == null || O.id === "") && (O.id = t.value), w === "number-range" && i.value.onBeginValueChange && typeof i.value.onBeginValueChange == "function" ? (i.value.onBeginValueChange && typeof i.value.onBeginValueChange == "function" && (O.onBeginValueChange = i.value.onBeginValueChange), i.value.onEndValueChange && typeof i.value.onEndValueChange == "function" && (O.onEndValueChange = i.value.onEndValueChange)) : w === "lookup" && i.value["onUpdate:idValue"] && typeof i.value["onUpdate:idValue"] == "function" ? (O["onUpdate:idValue"] = i.value["onUpdate:idValue"], O.id = t.value) : w === "collection-property-editor" && i.value.onSelectionChange && typeof i.value.onSelectionChange == "function" ? O.onSelectionChange = i.value.onSelectionChange : w === "property-editor" && (O.onBeforeOpenVariables = i.value.onBeforeOpenVariables), () => g(M, xt({
980
- ref: s
977
+ const x = H(() => {
978
+ const S = i.value.type || "input-group", M = v(S), O = f(S, i.value), F = y(S), J = T(i.value.type);
979
+ return J && (O[J] = k), O[F] = A, (O.id == null || O.id === "") && (O.id = t.value), S === "number-range" && i.value.onBeginValueChange && typeof i.value.onBeginValueChange == "function" ? (i.value.onBeginValueChange && typeof i.value.onBeginValueChange == "function" && (O.onBeginValueChange = i.value.onBeginValueChange), i.value.onEndValueChange && typeof i.value.onEndValueChange == "function" && (O.onEndValueChange = i.value.onEndValueChange)) : S === "lookup" && i.value["onUpdate:idValue"] && typeof i.value["onUpdate:idValue"] == "function" ? (O["onUpdate:idValue"] = i.value["onUpdate:idValue"], O.id = t.value) : S === "collection-property-editor" && i.value.onSelectionChange && typeof i.value.onSelectionChange == "function" ? O.onSelectionChange = i.value.onSelectionChange : S === "property-editor" && (O.onBeforeOpenVariables = i.value.onBeforeOpenVariables), () => g(M, xt({
980
+ ref: l
981
981
  }, O, {
982
982
  modelValue: a.value,
983
- "onUpdate:modelValue": (W) => a.value = W
983
+ "onUpdate:modelValue": (G) => a.value = G
984
984
  }), n.slots);
985
985
  });
986
986
  function C() {
@@ -989,11 +989,11 @@ const Hr = {
989
989
  errors: p.value
990
990
  }, null);
991
991
  }
992
- return ye([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible, () => e.errors], ([w, M, O, F, J, W, q, Q, ie, fe]) => {
992
+ return ye([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible, () => e.errors], ([S, M, O, F, J, G, q, Q, ie, fe]) => {
993
993
  var N;
994
- t.value = w, o.value = M, i.value = O, r.value = F, a.value = J, d.value = W, l.value = ((N = i.value) == null ? void 0 : N.required) || q, u.value = Q, m.value = ie, p.value = fe;
994
+ t.value = S, o.value = M, i.value = O, r.value = F, a.value = J, d.value = G, s.value = ((N = i.value) == null ? void 0 : N.required) || q, u.value = Q, m.value = ie, p.value = fe;
995
995
  }), n.expose({
996
- editorRef: s
996
+ editorRef: l
997
997
  }), () => m.value && g("div", {
998
998
  id: `${t.value}-form-group`,
999
999
  class: o.value,
@@ -1005,20 +1005,20 @@ const Hr = {
1005
1005
  }, [g($r, {
1006
1006
  id: `${t.value}-lable`,
1007
1007
  showType: c.value,
1008
- required: l.value,
1008
+ required: s.value,
1009
1009
  text: r.value,
1010
1010
  title: r.value
1011
1011
  }, null), g("div", {
1012
1012
  class: "farris-input-wrap"
1013
- }, [S.value(), C()])])])]);
1013
+ }, [x.value(), C()])])])]);
1014
1014
  }
1015
1015
  }), Ur = /* @__PURE__ */ Re({
1016
1016
  name: "FPropertyPanelItem",
1017
1017
  props: Fr,
1018
1018
  emits: ["propertyChange", "triggerRefreshPanel"],
1019
1019
  setup(e, n) {
1020
- var s;
1021
- const t = h((s = e.category) == null ? void 0 : s.categoryId), o = h(e.elementConfig.propertyID), i = h(e.elementConfig.propertyName);
1020
+ var l;
1021
+ const t = h((l = e.category) == null ? void 0 : l.categoryId), o = h(e.elementConfig.propertyID), i = h(e.elementConfig.propertyName);
1022
1022
  h(e.elementConfig.editor);
1023
1023
  const r = h(e.elementConfig.propertyValue), a = H(() => {
1024
1024
  const p = e.elementConfig.visible;
@@ -1050,12 +1050,12 @@ const Hr = {
1050
1050
  };
1051
1051
  n.emit("propertyChange", v, f), e.elementConfig.refreshPanelAfterChanged && n.emit("triggerRefreshPanel");
1052
1052
  }
1053
- const l = e.elementConfig.description ? `<div style="color: gray; "> 描述 :${e.elementConfig.description}</div>` : "", u = _e({
1053
+ const s = e.elementConfig.description ? `<div style="color: gray; "> 描述 :${e.elementConfig.description}</div>` : "", u = _e({
1054
1054
  content: `
1055
1055
  <div>
1056
1056
  <div style="color: black; ">${e.elementConfig.propertyName}</div>
1057
1057
  <div style="color: gray; ">ID:${e.elementConfig.propertyID}</div>
1058
- ${l}
1058
+ ${s}
1059
1059
  </div>`,
1060
1060
  placement: "left"
1061
1061
  }), m = h("");
@@ -1126,7 +1126,7 @@ const Hr = {
1126
1126
  function d(c) {
1127
1127
  return `${e.categoryKey}_${c.propertyID}`;
1128
1128
  }
1129
- function l(c, f) {
1129
+ function s(c, f) {
1130
1130
  c.categoryId = t.value.categoryId, t.value.enableCascade && (c.propertyPath = t.value.parentPropertyID), t.value.setPropertyRelates && t.value.setPropertyRelates(c, e.propertyData, f), n.emit("valueChanged", {
1131
1131
  changeObject: c
1132
1132
  });
@@ -1141,11 +1141,11 @@ const Hr = {
1141
1141
  key: d(c),
1142
1142
  elementConfig: c,
1143
1143
  category: t.value,
1144
- onPropertyChange: l,
1144
+ onPropertyChange: s,
1145
1145
  onTriggerRefreshPanel: u
1146
1146
  }, null)]);
1147
1147
  }
1148
- function s(c) {
1148
+ function l(c) {
1149
1149
  var f;
1150
1150
  return g("div", {
1151
1151
  class: "propertyCascadeItem farris-panel px-2 mb-2"
@@ -1170,7 +1170,7 @@ const Hr = {
1170
1170
  t.value = e.category;
1171
1171
  });
1172
1172
  function p(c) {
1173
- return c.propertyType === "cascade" ? s : m;
1173
+ return c.propertyType === "cascade" ? l : m;
1174
1174
  }
1175
1175
  return () => g(ot, null, [t.value.properties.map((c) => p(c)(c))]);
1176
1176
  }
@@ -1179,45 +1179,45 @@ const Hr = {
1179
1179
  props: Ki,
1180
1180
  emits: ["propertyChanged"],
1181
1181
  setup(e, n) {
1182
- const t = h(e.width), o = h(e.isWidePanel), i = h(e.enableSearch), r = h(e.mode), a = h(e.isPersitOpenState), d = h(e.isShowPanel), l = h(), u = h(), m = h(e.showCloseBtn), s = h(e.selectedTabId), p = h(!0), c = h(e.isWhiteTheme);
1182
+ const t = h(e.width), o = h(e.isWidePanel), i = h(e.enableSearch), r = h(e.mode), a = h(e.isPersitOpenState), d = h(e.isShowPanel), s = h(), u = h(), m = h(e.showCloseBtn), l = h(e.selectedTabId), p = h(!0), c = h(e.isWhiteTheme);
1183
1183
  let f = [], v = [];
1184
1184
  const y = h(""), T = h(), E = h(), A = Xt("SchemaService");
1185
- let k = [], S = null, C = "";
1186
- const x = h(), w = h(0), M = H(() => f.map((X) => !X.hide).length === 1), O = Xt("designerContext");
1185
+ let k = [], x = null, C = "";
1186
+ const w = h(), S = h(0), M = H(() => f.map((X) => !X.hide).length === 1), O = Xt("designerContext");
1187
1187
  function F() {
1188
- v = [], x.value && x.value.categoryList && Array.isArray(x.value.categoryList) && x.value.categoryList.length > 0 && x.value.categoryList.forEach((Y) => {
1188
+ v = [], w.value && w.value.categoryList && Array.isArray(w.value.categoryList) && w.value.categoryList.length > 0 && w.value.categoryList.forEach((Y) => {
1189
1189
  if (Y.properties && Array.isArray(Y.properties) && Y.properties.length > 0) {
1190
- const G = Y.properties.map((re) => (re.category = Y, re.propertyType === "cascade" && re.cascadeConfig && re.cascadeConfig.map((de) => {
1190
+ const W = Y.properties.map((re) => (re.category = Y, re.propertyType === "cascade" && re.cascadeConfig && re.cascadeConfig.map((de) => {
1191
1191
  de.category = Y, de.cascadeParent = re, v = v.concat(de);
1192
1192
  }), re));
1193
- v = v.concat(G);
1193
+ v = v.concat(W);
1194
1194
  }
1195
1195
  });
1196
1196
  }
1197
1197
  function J(X) {
1198
- let Y = X.offsetTop, G = X.offsetParent;
1199
- for (; G !== null; )
1200
- Y += G.offsetTop, G = G.offsetParent;
1198
+ let Y = X.offsetTop, W = X.offsetParent;
1199
+ for (; W !== null; )
1200
+ Y += W.offsetTop, W = W.offsetParent;
1201
1201
  return Y;
1202
1202
  }
1203
- function W(X, Y) {
1204
- X && Y && Object.keys(Y).length > 0 && Object.keys(Y).forEach((G) => {
1203
+ function G(X, Y) {
1204
+ X && Y && Object.keys(Y).length > 0 && Object.keys(Y).forEach((W) => {
1205
1205
  var de;
1206
- const re = Y[G];
1207
- (de = X.style) == null || de.setProperty(G, re);
1206
+ const re = Y[W];
1207
+ (de = X.style) == null || de.setProperty(W, re);
1208
1208
  });
1209
1209
  }
1210
1210
  function q() {
1211
1211
  return v.filter((Y) => {
1212
1212
  if (typeof Y.visible == "function" && !Y.visible() || typeof Y.visible == "boolean" && !Y.visible)
1213
1213
  return !1;
1214
- const G = Y.propertyID.toLowerCase(), re = Y.propertyName.toLowerCase();
1215
- return !!(G && G.includes(y.value.toLowerCase()) || re && re.includes(y.value.toLowerCase()));
1214
+ const W = Y.propertyID.toLowerCase(), re = Y.propertyName.toLowerCase();
1215
+ return !!(W && W.includes(y.value.toLowerCase()) || re && re.includes(y.value.toLowerCase()));
1216
1216
  });
1217
1217
  }
1218
- function Q(X, Y, G) {
1218
+ function Q(X, Y, W) {
1219
1219
  if (X === 0) {
1220
- const re = J(Y), ke = J(G) - re - 5;
1220
+ const re = J(Y), ke = J(W) - re - 5;
1221
1221
  Y == null || Y.scroll({
1222
1222
  top: ke,
1223
1223
  behavior: "smooth"
@@ -1225,19 +1225,19 @@ const Hr = {
1225
1225
  }
1226
1226
  }
1227
1227
  function ie(X) {
1228
- k && k.length > 0 && (k.forEach((G) => {
1229
- G.style.cssText = "";
1228
+ k && k.length > 0 && (k.forEach((W) => {
1229
+ W.style.cssText = "";
1230
1230
  }), k = []);
1231
1231
  const Y = E.value;
1232
1232
  if (!y.value)
1233
1233
  T.value && Y && (Y.scrollTop = 0);
1234
1234
  else if (F(), v && v.length > 0) {
1235
- const G = q();
1236
- G && G.length > 0 && setTimeout(() => {
1235
+ const W = q();
1236
+ W && W.length > 0 && setTimeout(() => {
1237
1237
  let re = null, de = -1, ke = !1;
1238
- G.forEach((Te, Xe) => {
1238
+ W.forEach((Te, Xe) => {
1239
1239
  const I = Te.propertyType === "cascade" ? `.${Te.category.categoryId}-${Te.propertyID} .farris-label-text` : `.property-item .${Te.category.categoryId}-${Te.propertyID}.col-form-label`, ne = document.querySelector(I);
1240
- ne && (Te.category.status !== "open" && (Te.category.status = "open", ke = de < 0), Te.cascadeParent && (Te.cascadeParent.isExpand = !0), de < 0 && (re = ne, de = Xe), W(ne, {
1240
+ ne && (Te.category.status !== "open" && (Te.category.status = "open", ke = de < 0), Te.cascadeParent && (Te.cascadeParent.isExpand = !0), de < 0 && (re = ne, de = Xe), G(ne, {
1241
1241
  color: "#5B89FE"
1242
1242
  }), k.push(ne));
1243
1243
  }), de > -1 && (ke ? ct(() => {
@@ -1270,55 +1270,55 @@ const Hr = {
1270
1270
  }
1271
1271
  function me() {
1272
1272
  var X, Y;
1273
- if (f = [], !l.value || l.value.length === 0) {
1273
+ if (f = [], !s.value || s.value.length === 0) {
1274
1274
  f = [{
1275
1275
  tabId: "default",
1276
1276
  tabName: "属性",
1277
1277
  categoryList: []
1278
- }], x.value = null;
1278
+ }], w.value = null;
1279
1279
  return;
1280
1280
  }
1281
- if ((X = l == null ? void 0 : l.value) == null || X.forEach((G) => {
1282
- if (G.tabId) {
1283
- const re = f.find((de) => de.tabId === G.tabId);
1284
- re ? (re.categoryList.push(G), re.hide && (re.hide = G.hide || G.properties.length === 0)) : f.push({
1285
- tabId: G.tabId,
1286
- tabName: G.tabName,
1287
- categoryList: [G],
1288
- hide: G.hide || G.properties.length === 0
1281
+ if ((X = s == null ? void 0 : s.value) == null || X.forEach((W) => {
1282
+ if (W.tabId) {
1283
+ const re = f.find((de) => de.tabId === W.tabId);
1284
+ re ? (re.categoryList.push(W), re.hide && (re.hide = W.hide || W.properties.length === 0)) : f.push({
1285
+ tabId: W.tabId,
1286
+ tabName: W.tabName,
1287
+ categoryList: [W],
1288
+ hide: W.hide || W.properties.length === 0
1289
1289
  });
1290
1290
  } else {
1291
1291
  const re = f.find((de) => de.tabId === "default");
1292
- re ? re.categoryList.push(G) : f.push({
1292
+ re ? re.categoryList.push(W) : f.push({
1293
1293
  tabId: "default",
1294
1294
  tabName: "属性",
1295
- categoryList: [G]
1295
+ categoryList: [W]
1296
1296
  });
1297
1297
  }
1298
- }), s.value) {
1299
- const G = f == null ? void 0 : f.find((re) => re.tabId === s.value && !re.hide);
1300
- x.value = G || f[0];
1298
+ }), l.value) {
1299
+ const W = f == null ? void 0 : f.find((re) => re.tabId === l.value && !re.hide);
1300
+ w.value = W || f[0];
1301
1301
  } else
1302
- x.value = f[0];
1303
- s.value = (Y = x.value) == null ? void 0 : Y.tabId;
1302
+ w.value = f[0];
1303
+ l.value = (Y = w.value) == null ? void 0 : Y.tabId;
1304
1304
  }
1305
1305
  ye(() => [e.schema, e.isShowPanel], () => {
1306
- u.value = e.schema, !e.schema || !e.schema.type ? l.value = [] : (l.value = jt(u.value, A, S, C), O.filterPropertyEntity && (l.value = O.filterPropertyEntity(l.value, u.value))), me(), ae(y.value), w.value++;
1306
+ u.value = e.schema, !e.schema || !e.schema.type ? s.value = [] : (s.value = jt(u.value, A, x, C), O.filterPropertyEntity && (s.value = O.filterPropertyEntity(s.value, u.value))), me(), ae(y.value), S.value++;
1307
1307
  }), rt(() => {
1308
1308
  me();
1309
1309
  });
1310
- function te(X, Y, G = !0) {
1311
- (!u.value || Y) && (u.value = Y || e.schema), l.value = jt(u.value, A, S, C, X), O.filterPropertyEntity && (l.value = O.filterPropertyEntity(l.value, u.value)), me(), i.value && ae(y.value), G && w.value++;
1310
+ function te(X, Y, W = !0) {
1311
+ (!u.value || Y) && (u.value = Y || e.schema), s.value = jt(u.value, A, x, C, X), O.filterPropertyEntity && (s.value = O.filterPropertyEntity(s.value, u.value)), me(), i.value && ae(y.value), W && S.value++;
1312
1312
  }
1313
1313
  function pe(X, Y) {
1314
- S = X, C = Y;
1314
+ x = X, C = Y;
1315
1315
  }
1316
1316
  function ve() {
1317
1317
  r.value = r.value === "panel" ? "sidebar" : "panel", r.value === "panel" ? (setTimeout(() => {
1318
1318
  fe();
1319
1319
  }, 100), t.value = "300px") : t.value = "41px";
1320
1320
  }
1321
- function se() {
1321
+ function le() {
1322
1322
  if (m.value)
1323
1323
  return g("div", {
1324
1324
  class: "title-actions"
@@ -1337,11 +1337,11 @@ const Hr = {
1337
1337
  }, null)])])])])]);
1338
1338
  }
1339
1339
  function _() {
1340
- l.value = jt(u.value, A, S, C), O.filterPropertyEntity && (l.value = O.filterPropertyEntity(l.value, u.value)), me();
1340
+ s.value = jt(u.value, A, x, C), O.filterPropertyEntity && (s.value = O.filterPropertyEntity(s.value, u.value)), me();
1341
1341
  }
1342
1342
  function ce() {
1343
1343
  var X;
1344
- if (i.value && ((X = x.value) == null ? void 0 : X.tabId) !== "commands")
1344
+ if (i.value && ((X = w.value) == null ? void 0 : X.tabId) !== "commands")
1345
1345
  return g("div", {
1346
1346
  class: "search"
1347
1347
  }, [g("div", {
@@ -1377,12 +1377,12 @@ const Hr = {
1377
1377
  function Le(X) {
1378
1378
  n.emit("propertyChanged", {
1379
1379
  ...X,
1380
- designerItem: S
1380
+ designerItem: x
1381
1381
  });
1382
1382
  }
1383
1383
  function Oe() {
1384
1384
  var X, Y;
1385
- if (x.value)
1385
+ if (w.value)
1386
1386
  return g("div", {
1387
1387
  class: "panel-body",
1388
1388
  ref: E
@@ -1390,29 +1390,29 @@ const Hr = {
1390
1390
  class: ["property-grid", {
1391
1391
  "wide-panel": o.value
1392
1392
  }]
1393
- }, [(Y = (X = x.value) == null ? void 0 : X.categoryList) == null ? void 0 : Y.map((G) => !G.hide && g("li", {
1394
- key: ze(G),
1395
- "data-category-id": G == null ? void 0 : G.categoryId
1396
- }, [!G.hideTitle && g("span", {
1393
+ }, [(Y = (X = w.value) == null ? void 0 : X.categoryList) == null ? void 0 : Y.map((W) => !W.hide && g("li", {
1394
+ key: ze(W),
1395
+ "data-category-id": W == null ? void 0 : W.categoryId
1396
+ }, [!W.hideTitle && g("span", {
1397
1397
  class: "group-label",
1398
- onClick: () => Ce(G)
1398
+ onClick: () => Ce(W)
1399
1399
  }, [g("span", {
1400
1400
  class: ["f-icon mr-2", {
1401
- "f-legend-show": G.status === "closed"
1401
+ "f-legend-show": W.status === "closed"
1402
1402
  }, {
1403
- "f-legend-collapse": G.status === "open" || G.status === void 0
1403
+ "f-legend-collapse": W.status === "open" || W.status === void 0
1404
1404
  }]
1405
- }, null), G.categoryName]), g("div", {
1406
- hidden: G.status === "closed"
1405
+ }, null), W.categoryName]), g("div", {
1406
+ hidden: W.status === "closed"
1407
1407
  }, [g(qr, {
1408
- key: `${G == null ? void 0 : G.categoryId}-${w.value}`,
1409
- category: G,
1408
+ key: `${W == null ? void 0 : W.categoryId}-${S.value}`,
1409
+ category: W,
1410
1410
  propertyData: u.value,
1411
1411
  onTriggerRefreshPanel: _,
1412
1412
  onValueChanged: Le
1413
1413
  }, null)])]))])]);
1414
1414
  }
1415
- function Ge() {
1415
+ function We() {
1416
1416
  if (r.value === "sidebar")
1417
1417
  return g("div", {
1418
1418
  class: "side-panel h-100",
@@ -1427,7 +1427,7 @@ const Hr = {
1427
1427
  width: t.value
1428
1428
  };
1429
1429
  }
1430
- function We() {
1430
+ function Ge() {
1431
1431
  return g("div", {
1432
1432
  class: "switcher"
1433
1433
  }, [g("i", {
@@ -1439,12 +1439,12 @@ const Hr = {
1439
1439
  }, null)]);
1440
1440
  }
1441
1441
  function ge(X) {
1442
- x.value && x.value.tabId === X.tabId || (x.value = X, s.value = x.value.tabId, y.value = "");
1442
+ w.value && w.value.tabId === X.tabId || (w.value = X, l.value = w.value.tabId, y.value = "");
1443
1443
  }
1444
1444
  function Qe() {
1445
1445
  return f.map((X) => g("div", {
1446
1446
  class: ["title-label", {
1447
- active: x.value && x.value.tabId === X.tabId
1447
+ active: w.value && w.value.tabId === X.tabId
1448
1448
  }, {
1449
1449
  "d-none": X.hide
1450
1450
  }],
@@ -1457,7 +1457,7 @@ const Hr = {
1457
1457
  a.value && (p.value = d.value), me(), fe(y.value);
1458
1458
  });
1459
1459
  function $e() {
1460
- w.value++;
1460
+ S.value++;
1461
1461
  }
1462
1462
  function De() {
1463
1463
  _();
@@ -1482,34 +1482,34 @@ const Hr = {
1482
1482
  }, {
1483
1483
  only: M.value
1484
1484
  }]
1485
- }, [Qe(), se()]), ce(), Oe()]), We(), Ge()])]);
1485
+ }, [Qe(), le()]), ce(), Oe()]), Ge(), We()])]);
1486
1486
  }
1487
1487
  }), _r = h(0);
1488
- function Gr() {
1488
+ function Wr() {
1489
1489
  _r.value++;
1490
1490
  }
1491
1491
  const mt = h(0);
1492
- function Wr(e) {
1492
+ function Gr(e) {
1493
1493
  const { formSchemaUtils: n, formStateMachineUtils: t } = e;
1494
- function o(l, u = "") {
1494
+ function o(s, u = "") {
1495
1495
  return {
1496
- path: u + l.code,
1497
- field: l.id,
1498
- fullPath: l.code
1496
+ path: u + s.code,
1497
+ field: s.id,
1498
+ fullPath: s.code
1499
1499
  };
1500
1500
  }
1501
- function i(l, u = "") {
1502
- return n.getViewModelById(l).states.map((s) => o(s, u));
1501
+ function i(s, u = "") {
1502
+ return n.getViewModelById(s).states.map((l) => o(l, u));
1503
1503
  }
1504
- function r(l) {
1505
- const u = n.getRootViewModelId(), m = i(l);
1506
- if (l === u)
1504
+ function r(s) {
1505
+ const u = n.getRootViewModelId(), m = i(s);
1506
+ if (s === u)
1507
1507
  return m;
1508
- const s = i(u, "root-component.");
1509
- return [...m, ...s];
1508
+ const l = i(u, "root-component.");
1509
+ return [...m, ...l];
1510
1510
  }
1511
- function a(l) {
1512
- return l.binding && l.binding.path || l.id || "";
1511
+ function a(s) {
1512
+ return s.binding && s.binding.path || s.id || "";
1513
1513
  }
1514
1514
  function d() {
1515
1515
  return t && t.getRenderStates() || [];
@@ -1570,11 +1570,11 @@ class wn {
1570
1570
  return d && d.value || "";
1571
1571
  },
1572
1572
  convertTo: (o, i, r, a, d) => {
1573
- var l;
1573
+ var s;
1574
1574
  if (i === "dataPicking" && (r != null && r.target)) {
1575
1575
  const u = `${r.target}_dataPicking`;
1576
- ((l = r.rules) == null ? void 0 : l.some(
1577
- (s) => s.id === u && s.value
1576
+ ((s = r.rules) == null ? void 0 : s.some(
1577
+ (l) => l.id === u && l.value
1578
1578
  )) ? o.dictPickingExpressionId = u : delete o.dictPickingExpressionId;
1579
1579
  }
1580
1580
  a.updateExpression(r);
@@ -1635,10 +1635,10 @@ class wn {
1635
1635
  buildChildEntityTreeData(n = null, t) {
1636
1636
  const o = [];
1637
1637
  return n == null || n.forEach((i) => {
1638
- var l, u;
1638
+ var s, u;
1639
1639
  const r = this.createTreeNode(i, t);
1640
1640
  r.type = "entity";
1641
- const a = this.buildEntityFieldsTreeData((l = i.type) == null ? void 0 : l.fields, [...t, i.label]), d = this.buildChildEntityTreeData((u = i.type) == null ? void 0 : u.entities, [...t, i.label]);
1641
+ const a = this.buildEntityFieldsTreeData((s = i.type) == null ? void 0 : s.fields, [...t, i.label]), d = this.buildChildEntityTreeData((u = i.type) == null ? void 0 : u.entities, [...t, i.label]);
1642
1642
  d != null && d.length && (a == null || a.push(...d)), o.push({
1643
1643
  data: r,
1644
1644
  children: a || [],
@@ -1688,12 +1688,12 @@ class wn {
1688
1688
  return r.messageType != null && (d.messageType = r.messageType), d;
1689
1689
  }
1690
1690
  buildRule(n, t, o, i) {
1691
- const { expression: r, message: a, messageType: d } = t, l = {
1691
+ const { expression: r, message: a, messageType: d } = t, s = {
1692
1692
  id: `${n}_${o}`,
1693
1693
  type: o,
1694
1694
  value: r
1695
1695
  };
1696
- return (o === "validate" || o === "dataPicking" || o === "required") && (l.message = a), o === "dataPicking" && (l.messageType = d), o === "validate" && i && (l.elementId = i), l;
1696
+ return (o === "validate" || o === "dataPicking" || o === "required") && (s.message = a), o === "dataPicking" && (s.messageType = d), o === "validate" && i && (s.elementId = i), s;
1697
1697
  }
1698
1698
  getExpressionData() {
1699
1699
  const { expressions: n } = this.formSchemaService.getFormSchema().module;
@@ -1701,32 +1701,32 @@ class wn {
1701
1701
  }
1702
1702
  updateExpression(n, t, o, i) {
1703
1703
  const r = t === "Field" ? n.binding.field : n.id, a = this.buildRule(r, o, i, n.type === "form-group" ? n.id : "");
1704
- let l = this.getExpressionData().find((m) => m.targetType === t && m.target === r);
1704
+ let s = this.getExpressionData().find((m) => m.targetType === t && m.target === r);
1705
1705
  const u = (m) => m.value.trim() === "";
1706
- if (l) {
1707
- const m = l.rules.find((s) => s.id === a.id);
1706
+ if (s) {
1707
+ const m = s.rules.find((l) => l.id === a.id);
1708
1708
  if (m)
1709
- u(a) ? l.rules = l.rules.filter((s) => s.id !== a.id) : (Object.assign(m, a), i === "validate" && n.type === "form-group" && (m.elementId = n.id));
1709
+ u(a) ? s.rules = s.rules.filter((l) => l.id !== a.id) : (Object.assign(m, a), i === "validate" && n.type === "form-group" && (m.elementId = n.id));
1710
1710
  else {
1711
1711
  if (u(a))
1712
1712
  return null;
1713
- l.rules = l.rules || [], l.rules.push(a);
1713
+ s.rules = s.rules || [], s.rules.push(a);
1714
1714
  }
1715
1715
  } else {
1716
1716
  if (u(a))
1717
1717
  return null;
1718
- l = {
1718
+ s = {
1719
1719
  target: `${r}`,
1720
1720
  rules: [a],
1721
1721
  targetType: t
1722
1722
  };
1723
1723
  }
1724
- return l;
1724
+ return s;
1725
1725
  }
1726
1726
  getExpressionEditorOptions(n, t, o, i) {
1727
1727
  return o.reduce((r, a) => {
1728
- var l, u;
1729
- const d = t === "Field" ? (l = n == null ? void 0 : n.binding) == null ? void 0 : l.field : n.id;
1728
+ var s, u;
1729
+ const d = t === "Field" ? (s = n == null ? void 0 : n.binding) == null ? void 0 : s.field : n.id;
1730
1730
  return r[a] = {
1731
1731
  hide: t === "Field" ? !!((u = n == null ? void 0 : n.binding) != null && u.field) : !1,
1732
1732
  description: "",
@@ -1742,12 +1742,12 @@ class wn {
1742
1742
  showMessageType: a === "dataPicking",
1743
1743
  beforeOpen: () => this.onBeforeOpenExpression(n, a, t),
1744
1744
  onSubmitModal: (m) => {
1745
- const s = this.updateExpression(n, t, m, a);
1745
+ const l = this.updateExpression(n, t, m, a);
1746
1746
  if (i) {
1747
1747
  const p = this.buildRule(d, m, a);
1748
1748
  i(p);
1749
1749
  }
1750
- return s;
1750
+ return l;
1751
1751
  }
1752
1752
  }
1753
1753
  }, r;
@@ -1900,11 +1900,11 @@ class Xr {
1900
1900
  * @returns
1901
1901
  */
1902
1902
  getPropertyEditorParams(n, t = [], o = "visible", i = {}, r = {}, a = "") {
1903
- const { getVariables: d, getControlName: l, getStateMachines: u } = Wr(this.designerHostService), m = this.getRealTargetType(n), s = t && t.length > 0 ? t : ["Const", "Variable", "StateMachine", "Expression"], p = {
1903
+ const { getVariables: d, getControlName: s, getStateMachines: u } = Gr(this.designerHostService), m = this.getRealTargetType(n), l = t && t.length > 0 ? t : ["Const", "Variable", "StateMachine", "Expression"], p = {
1904
1904
  type: "property-editor",
1905
- propertyTypes: s
1905
+ propertyTypes: l
1906
1906
  };
1907
- return s.map((c) => {
1907
+ return l.map((c) => {
1908
1908
  switch (c) {
1909
1909
  case "Const":
1910
1910
  Object.assign(p, {
@@ -1920,7 +1920,7 @@ class Xr {
1920
1920
  break;
1921
1921
  case "Variable":
1922
1922
  Object.assign(p, {
1923
- controlName: l(n),
1923
+ controlName: s(n),
1924
1924
  newVariablePrefix: "is",
1925
1925
  newVariableType: "Boolean",
1926
1926
  variables: d(this.viewModelId),
@@ -1955,22 +1955,22 @@ class Xr {
1955
1955
  title: "行为",
1956
1956
  description: ""
1957
1957
  }, a = this.getVisibleProperty(n, t);
1958
- for (const l in o)
1959
- a[l] = Object.assign(a[l] || {}, o[l]);
1958
+ for (const s in o)
1959
+ a[s] = Object.assign(a[s] || {}, o[s]);
1960
1960
  const d = this;
1961
1961
  return {
1962
1962
  ...r,
1963
1963
  properties: { ...a },
1964
- setPropertyRelates(l, u) {
1965
- if (l) {
1966
- switch (l.propertyID) {
1964
+ setPropertyRelates(s, u) {
1965
+ if (s) {
1966
+ switch (s.propertyID) {
1967
1967
  case "disabled":
1968
1968
  case "readonly":
1969
1969
  case "visible":
1970
- d.afterMutilEditorChanged(n, l);
1970
+ d.afterMutilEditorChanged(n, s);
1971
1971
  break;
1972
1972
  }
1973
- i && i(l, u);
1973
+ i && i(s, u);
1974
1974
  }
1975
1975
  }
1976
1976
  };
@@ -1994,7 +1994,7 @@ class Xr {
1994
1994
  if (!o)
1995
1995
  return;
1996
1996
  const i = o.contents.findIndex((a) => a.id === n), r = yt(o.contents[i]);
1997
- o.contents.splice(i, 1), o.contents.splice(i, 0, r), Gr();
1997
+ o.contents.splice(i, 1), o.contents.splice(i, 0, r), Wr();
1998
1998
  }
1999
1999
  /**
2000
2000
  * 属性编辑器,在编辑过程中会新增变量,此处需要将新增的变量追加到ViewModel中
@@ -2023,16 +2023,16 @@ class Xr {
2023
2023
  const t = n.propertyValue;
2024
2024
  if (!((t && t.type) === "Expression" && t.expressionInfo))
2025
2025
  return;
2026
- const { expressionId: r, expressionInfo: a } = t, { targetId: d, targetType: l, expressionType: u, value: m, message: s } = a, p = this.formSchemaUtils.getModule();
2026
+ const { expressionId: r, expressionInfo: a } = t, { targetId: d, targetType: s, expressionType: u, value: m, message: l } = a, p = this.formSchemaUtils.getModule();
2027
2027
  p.expressions = p.expressions || [];
2028
2028
  const { expressions: c } = p;
2029
2029
  let f = c.find((y) => y.target === d);
2030
- f || (f = { target: d, rules: [], targetType: l }, c.push(f));
2030
+ f || (f = { target: d, rules: [], targetType: s }, c.push(f));
2031
2031
  const v = f.rules.find((y) => y.type === u);
2032
2032
  if (v)
2033
- v.value = m, v.message = s;
2033
+ v.value = m, v.message = l;
2034
2034
  else {
2035
- const y = { id: r, type: u, value: m, message: s };
2035
+ const y = { id: r, type: u, value: m, message: l };
2036
2036
  f.rules.push(y);
2037
2037
  }
2038
2038
  delete t.expressionInfo;
@@ -2047,8 +2047,8 @@ class Xr {
2047
2047
  const o = n.propertyValue;
2048
2048
  if (o && o.type === "Expression")
2049
2049
  return;
2050
- const r = n.propertyID, a = this.formSchemaUtils.getExpressions(), d = t.binding ? t.binding.field : t.id, l = a.find((u) => u.target === d);
2051
- !l || !l.rules || (l.rules = l.rules.filter((u) => u.type !== r));
2050
+ const r = n.propertyID, a = this.formSchemaUtils.getExpressions(), d = t.binding ? t.binding.field : t.id, s = a.find((u) => u.target === d);
2051
+ !s || !s.rules || (s.rules = s.rules.filter((u) => u.type !== r));
2052
2052
  }
2053
2053
  getExpressionOptions(n, t, o) {
2054
2054
  return new wn(this.formSchemaUtils).getExpressionOptions(n, t, o);
@@ -2195,37 +2195,37 @@ function Qr(e) {
2195
2195
  let n, t;
2196
2196
  const o = /* @__PURE__ */ new Map();
2197
2197
  let i = [];
2198
- function r(m, s) {
2198
+ function r(m, l) {
2199
2199
  const c = m.split(" ").filter((E) => E.startsWith("col-"));
2200
2200
  if (c.length === 0) {
2201
- s.isSupportedClass = !1;
2201
+ l.isSupportedClass = !1;
2202
2202
  return;
2203
2203
  }
2204
2204
  let f = c.find((E) => /^col-([1-9]|10|11|12)$/.test(E)), v = c.find((E) => /^col-md-([1-9]|10|11|12)$/.test(E)), y = c.find((E) => /^col-xl-([1-9]|10|11|12)$/.test(E)), T = c.find((E) => /^col-el-([1-9]|10|11|12)$/.test(E));
2205
- 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);
2205
+ f = f || "col-12", l.columnInSM = parseInt(f.replace("col-", ""), 10), l.displayWidthInSM = l.columnInSM / 12, l.displayWidthInSM !== 1 && (l.isSupportedClass = !1), v = v || "col-md-" + l.columnInSM, l.columnInMD = parseInt(v.replace("col-md-", ""), 10), l.displayWidthInMD = l.columnInMD / 6, [1, 2].includes(l.displayWidthInMD) || (l.isSupportedClass = !1), y = y || "col-xl-" + l.columnInMD, l.columnInLG = parseInt(y.replace("col-xl-", ""), 10), l.displayWidthInLG = l.columnInLG / 3, [1, 2, 3, 4].includes(l.displayWidthInLG) || (l.isSupportedClass = !1), T = T || "col-el-" + l.columnInLG, l.columnInEL = parseInt(T.replace("col-el-", ""), 10), l.displayWidthInEL = l.columnInEL / 2, [1, 2, 3, 4, 5, 6].includes(l.displayWidthInEL) || (l.isSupportedClass = !1);
2206
2206
  }
2207
- function a(m, s, p, c = !1) {
2207
+ function a(m, l, p, c = !1) {
2208
2208
  let f = !1;
2209
2209
  m.contents.forEach((v) => {
2210
2210
  if (v.type === "fieldset") {
2211
- p += 1, a(v, s, p, !0), f = !0;
2211
+ p += 1, a(v, l, p, !0), f = !0;
2212
2212
  return;
2213
2213
  }
2214
2214
  f && (p += 1, f = !1);
2215
2215
  const y = v.appearance && v.appearance.class, T = new Jr();
2216
- y ? r(y, T) : T.isSupportedClass = !1, T.label = v.label || v.id, T.id = v.id, T.group = p, c && (T.fieldSetId = m.id), t === v.id && (n = p), o.set(v.id, v), s.push(T);
2216
+ y ? r(y, T) : T.isSupportedClass = !1, T.label = v.label || v.id, T.id = v.id, T.group = p, c && (T.fieldSetId = m.id), t === v.id && (n = p), o.set(v.id, v), l.push(T);
2217
2217
  });
2218
2218
  }
2219
2219
  function d(m) {
2220
- const s = e.getComponentById(m);
2221
- if (!s || !s.componentType || !s.componentType.startsWith("form"))
2220
+ const l = e.getComponentById(m);
2221
+ if (!l || !l.componentType || !l.componentType.startsWith("form"))
2222
2222
  return { result: !1, message: "只可以在响应式表单组件中调整响应式布局配置" };
2223
- const p = e.selectNode(s, (c) => c.type === Zt["response-form"].type);
2223
+ const p = e.selectNode(l, (c) => c.type === Zt["response-form"].type);
2224
2224
  return !p || !p.contents || p.contents.length === 0 ? { result: !1, message: "Form区域内没有控件,请先添加控件" } : { result: !0, message: "", formNode: p };
2225
2225
  }
2226
- function l(m, s) {
2227
- s = s || m.id;
2228
- const { result: p, message: c, formNode: f } = d(s);
2226
+ function s(m, l) {
2227
+ l = l || m.id;
2228
+ const { result: p, message: c, formNode: f } = d(l);
2229
2229
  if (!p)
2230
2230
  return { result: p, message: c };
2231
2231
  t = m.id, i = [], o.clear();
@@ -2240,9 +2240,9 @@ function Qr(e) {
2240
2240
  importData: i
2241
2241
  };
2242
2242
  }
2243
- function u(m, s) {
2244
- s = s;
2245
- const { result: p, formNode: c } = d(s);
2243
+ function u(m, l) {
2244
+ l = l;
2245
+ const { result: p, formNode: c } = d(l);
2246
2246
  if (!p)
2247
2247
  return "";
2248
2248
  const f = [];
@@ -2250,11 +2250,11 @@ function Qr(e) {
2250
2250
  var E;
2251
2251
  const y = o.get(v.id), T = y.appearance && y.appearance.class;
2252
2252
  if (T) {
2253
- const k = T.split(" ").filter((O) => !O.startsWith("col-")), S = "col-" + v.columnInSM, C = "col-md-" + v.columnInMD, x = "col-xl-" + v.columnInLG, w = "col-el-" + v.columnInEL, M = [S, C, x, w].concat(k);
2253
+ const k = T.split(" ").filter((O) => !O.startsWith("col-")), x = "col-" + v.columnInSM, C = "col-md-" + v.columnInMD, w = "col-xl-" + v.columnInLG, S = "col-el-" + v.columnInEL, M = [x, C, w, S].concat(k);
2254
2254
  y.appearance.class = M.join(" ");
2255
2255
  }
2256
2256
  if (v.fieldSetId) {
2257
- const A = c.contents.find((S) => S.id === v.fieldSetId), k = f.find((S) => S.id === v.fieldSetId);
2257
+ const A = c.contents.find((x) => x.id === v.fieldSetId), k = f.find((x) => x.id === v.fieldSetId);
2258
2258
  k ? (E = k.contents) == null || E.push(y) : (f.push(A), A.contents = [y]);
2259
2259
  } else
2260
2260
  f.push(y);
@@ -2262,7 +2262,7 @@ function Qr(e) {
2262
2262
  }
2263
2263
  return {
2264
2264
  checkCanFindFormNode: d,
2265
- checkCanOpenLayoutEditor: l,
2265
+ checkCanOpenLayoutEditor: s,
2266
2266
  changeFormControlsByResponseLayoutConfig: u,
2267
2267
  getResonseFormLayoutConfig: a
2268
2268
  };
@@ -2281,8 +2281,8 @@ var Zr = { exports: {} };
2281
2281
  function a(u, m) {
2282
2282
  if (!i[u]) {
2283
2283
  if (!o[u]) {
2284
- var s = typeof pt == "function" && pt;
2285
- if (!m && s) return s(u, !0);
2284
+ var l = typeof pt == "function" && pt;
2285
+ if (!m && l) return l(u, !0);
2286
2286
  if (d) return d(u, !0);
2287
2287
  var p = new Error("Cannot find module '" + u + "'");
2288
2288
  throw p.code = "MODULE_NOT_FOUND", p;
@@ -2295,23 +2295,23 @@ var Zr = { exports: {} };
2295
2295
  }
2296
2296
  return i[u].exports;
2297
2297
  }
2298
- for (var d = typeof pt == "function" && pt, l = 0; l < r.length; l++) a(r[l]);
2298
+ for (var d = typeof pt == "function" && pt, s = 0; s < r.length; s++) a(r[s]);
2299
2299
  return a;
2300
2300
  }
2301
2301
  return t;
2302
2302
  }())({
2303
2303
  1: [function(t, o, i) {
2304
2304
  var r = {}, a = "(?:^|\\s)", d = "(?:\\s|$)";
2305
- function l(s) {
2306
- var p = r[s];
2307
- return p ? p.lastIndex = 0 : r[s] = p = new RegExp(a + s + d, "g"), p;
2305
+ function s(l) {
2306
+ var p = r[l];
2307
+ return p ? p.lastIndex = 0 : r[l] = p = new RegExp(a + l + d, "g"), p;
2308
2308
  }
2309
- function u(s, p) {
2310
- var c = s.className;
2311
- c.length ? l(p).test(c) || (s.className += " " + p) : s.className = p;
2309
+ function u(l, p) {
2310
+ var c = l.className;
2311
+ c.length ? s(p).test(c) || (l.className += " " + p) : l.className = p;
2312
2312
  }
2313
- function m(s, p) {
2314
- s.className = s.className.replace(l(p), " ").trim();
2313
+ function m(l, p) {
2314
+ l.className = l.className.replace(s(p), " ").trim();
2315
2315
  }
2316
2316
  o.exports = {
2317
2317
  add: u,
@@ -2320,12 +2320,12 @@ var Zr = { exports: {} };
2320
2320
  }, {}],
2321
2321
  2: [function(t, o, i) {
2322
2322
  (function(r) {
2323
- var a = t("contra/emitter"), d = t("crossvent"), l = t("./classes"), u = document, m = u.documentElement;
2324
- function s(F, J) {
2325
- var W = arguments.length;
2326
- W === 1 && Array.isArray(F) === !1 && (J = F, F = []);
2327
- var q, Q, ie, fe, N, B, ee, U, ae, Ce = null, me, te, pe = !1, ve = 0, se, _ = J || {};
2328
- _.moves === void 0 && (_.moves = E), _.accepts === void 0 && (_.accepts = E), _.invalid === void 0 && (_.invalid = G), _.containers === void 0 && (_.containers = F || []), _.isContainer === void 0 && (_.isContainer = T), _.copy === void 0 && (_.copy = !1), _.copySortSource === void 0 && (_.copySortSource = !1), _.revertOnSpill === void 0 && (_.revertOnSpill = !1), _.removeOnSpill === void 0 && (_.removeOnSpill = !1), _.direction === void 0 && (_.direction = "vertical"), _.ignoreInputTextSelection === void 0 && (_.ignoreInputTextSelection = !0), _.mirrorContainer === void 0 && (_.mirrorContainer = u.body);
2323
+ var a = t("contra/emitter"), d = t("crossvent"), s = t("./classes"), u = document, m = u.documentElement;
2324
+ function l(F, J) {
2325
+ var G = arguments.length;
2326
+ G === 1 && Array.isArray(F) === !1 && (J = F, F = []);
2327
+ var q, Q, ie, fe, N, B, ee, U, ae, Ce = null, me, te, pe = !1, ve = 0, le, _ = J || {};
2328
+ _.moves === void 0 && (_.moves = E), _.accepts === void 0 && (_.accepts = E), _.invalid === void 0 && (_.invalid = W), _.containers === void 0 && (_.containers = F || []), _.isContainer === void 0 && (_.isContainer = T), _.copy === void 0 && (_.copy = !1), _.copySortSource === void 0 && (_.copySortSource = !1), _.revertOnSpill === void 0 && (_.revertOnSpill = !1), _.removeOnSpill === void 0 && (_.removeOnSpill = !1), _.direction === void 0 && (_.direction = "vertical"), _.ignoreInputTextSelection === void 0 && (_.ignoreInputTextSelection = !0), _.mirrorContainer === void 0 && (_.mirrorContainer = u.body);
2329
2329
  var ce = a({
2330
2330
  containers: _.containers,
2331
2331
  start: X,
@@ -2348,14 +2348,14 @@ var Zr = { exports: {} };
2348
2348
  var P = b ? "remove" : "add";
2349
2349
  f(m, P, "mousemove", Qe);
2350
2350
  }
2351
- function Ge(b) {
2351
+ function We(b) {
2352
2352
  var P = b ? "remove" : "add";
2353
- d[P](m, "selectstart", We), d[P](m, "click", We);
2353
+ d[P](m, "selectstart", Ge), d[P](m, "click", Ge);
2354
2354
  }
2355
2355
  function Ue() {
2356
2356
  Le(!0), ke({});
2357
2357
  }
2358
- function We(b) {
2358
+ function Ge(b) {
2359
2359
  me && b.preventDefault();
2360
2360
  }
2361
2361
  function ge(b) {
@@ -2378,19 +2378,19 @@ var Zr = { exports: {} };
2378
2378
  if (C(Z))
2379
2379
  return;
2380
2380
  }
2381
- var le = me;
2382
- Oe(!0), Ge(), re(), Y(le), l.add(U || ie, "gu-transit"), Bt(), kt(), ve = 0, qe(b);
2381
+ var se = me;
2382
+ Oe(!0), We(), re(), Y(se), s.add(U || ie, "gu-transit"), Bt(), kt(), ve = 0, qe(b);
2383
2383
  }
2384
2384
  }
2385
2385
  }
2386
2386
  function $e(b) {
2387
2387
  if (!(ce.dragging && q) && !ze(b)) {
2388
- for (var P = b; S(b) && ze(S(b)) === !1; )
2389
- if (_.invalid(b, P) || (b = S(b), !b))
2388
+ for (var P = b; x(b) && ze(x(b)) === !1; )
2389
+ if (_.invalid(b, P) || (b = x(b), !b))
2390
2390
  return;
2391
- var j = S(b);
2391
+ var j = x(b);
2392
2392
  if (j && !_.invalid(b, P)) {
2393
- var Z = _.moves(b, j, P, w(b));
2393
+ var Z = _.moves(b, j, P, S(b));
2394
2394
  if (Z)
2395
2395
  return {
2396
2396
  item: b,
@@ -2407,55 +2407,55 @@ var Zr = { exports: {} };
2407
2407
  P && Y(P);
2408
2408
  }
2409
2409
  function Y(b) {
2410
- $t(b.item, b.source) && (U = b.item.cloneNode(!0), ce.emit("cloned", U, b.item, "copy")), Q = b.source, ie = b.item, B = ee = w(b.item), ce.dragging = !0, ce.emit("drag", ie, Q);
2410
+ $t(b.item, b.source) && (U = b.item.cloneNode(!0), ce.emit("cloned", U, b.item, "copy")), Q = b.source, ie = b.item, B = ee = S(b.item), ce.dragging = !0, ce.emit("drag", ie, Q);
2411
2411
  }
2412
- function G() {
2412
+ function W() {
2413
2413
  return !1;
2414
2414
  }
2415
2415
  function re() {
2416
2416
  if (ce.dragging) {
2417
2417
  var b = U || ie;
2418
- Te(b, S(b));
2418
+ Te(b, x(b));
2419
2419
  }
2420
2420
  }
2421
2421
  function de() {
2422
- me = !1, Oe(!0), Ge(!0);
2422
+ me = !1, Oe(!0), We(!0);
2423
2423
  }
2424
2424
  function ke(b) {
2425
2425
  if (de(), !!ce.dragging) {
2426
- var P = U || ie, j = O("clientX", b) || 0, Z = O("clientY", b) || 0, le = y(q, j, Z), ue = we(le, j, Z);
2426
+ var P = U || ie, j = O("clientX", b) || 0, Z = O("clientY", b) || 0, se = y(q, j, Z), ue = we(se, j, Z);
2427
2427
  ue && (U && _.copySortSource || !U || ue !== Q) ? Te(P, ue) : _.removeOnSpill ? Xe() : I();
2428
2428
  }
2429
2429
  }
2430
2430
  function Te(b, P) {
2431
- var j = S(b);
2431
+ var j = x(b);
2432
2432
  U && _.copySortSource && P === Q && j.removeChild(ie), be(P) ? ce.emit("cancel", b, Q) : ce.emit("drop", b, P, Q, ee), ne();
2433
2433
  }
2434
2434
  function Xe() {
2435
2435
  if (ce.dragging) {
2436
- var b = U || ie, P = S(b);
2436
+ var b = U || ie, P = x(b);
2437
2437
  P && P.removeChild(b), ce.emit(U ? "cancel" : "remove", b, P, Q), ne();
2438
2438
  }
2439
2439
  }
2440
2440
  function I(b) {
2441
2441
  if (ce.dragging) {
2442
- var P = arguments.length > 0 ? b : _.revertOnSpill, j = U || ie, Z = S(j), le = be(Z);
2443
- le === !1 && P && (U ? Z && Z.removeChild(U) : Q.insertBefore(j, B)), le || P ? ce.emit("cancel", j, Q, Q) : ce.emit("drop", j, Z, Q, ee), ne();
2442
+ var P = arguments.length > 0 ? b : _.revertOnSpill, j = U || ie, Z = x(j), se = be(Z);
2443
+ se === !1 && P && (U ? Z && Z.removeChild(U) : Q.insertBefore(j, B)), se || P ? ce.emit("cancel", j, Q, Q) : ce.emit("drop", j, Z, Q, ee), ne();
2444
2444
  }
2445
2445
  }
2446
2446
  function ne() {
2447
2447
  var b = U || ie;
2448
- de(), Pt(), Vt(), b && l.rm(b, "gu-transit"), ae && clearTimeout(ae), ce.dragging = !1, Ce && ce.emit("out", b, Ce, Q), ce.emit("dragend", b, ve), Q = ie = U = B = ee = ae = Ce = null;
2448
+ de(), Pt(), Vt(), b && s.rm(b, "gu-transit"), ae && clearTimeout(ae), ce.dragging = !1, Ce && ce.emit("out", b, Ce, Q), ce.emit("dragend", b, ve), Q = ie = U = B = ee = ae = Ce = null;
2449
2449
  }
2450
2450
  function be(b, P) {
2451
2451
  var j;
2452
- return P !== void 0 ? j = P : q ? j = ee : j = w(U || ie), b === Q && j === B;
2452
+ return P !== void 0 ? j = P : q ? j = ee : j = S(U || ie), b === Q && j === B;
2453
2453
  }
2454
2454
  function we(b, P, j) {
2455
- for (var Z = b; Z && !le(); )
2456
- Z = S(Z);
2455
+ for (var Z = b; Z && !se(); )
2456
+ Z = x(Z);
2457
2457
  return Z;
2458
- function le() {
2458
+ function se() {
2459
2459
  var ue = ze(Z);
2460
2460
  if (ue === !1)
2461
2461
  return !1;
@@ -2469,14 +2469,14 @@ var Zr = { exports: {} };
2469
2469
  b.preventDefault();
2470
2470
  var P = O("clientX", b) || 0, j = O("clientY", b) || 0;
2471
2471
  q.style.left = P - 2 + "px", q.style.top = j - 2 + "px";
2472
- var Z = U || ie, le = y(q, P, j), ue = we(le, P, j), Ne = ue !== null && ue !== Ce;
2473
- (Ne || ue === null) && (Pe(), Ce = ue, He()), Lt(le, j);
2474
- var Me = S(Z);
2472
+ var Z = U || ie, se = y(q, P, j), ue = we(se, P, j), Ne = ue !== null && ue !== Ce;
2473
+ (Ne || ue === null) && (Pe(), Ce = ue, He()), Lt(se, j);
2474
+ var Me = x(Z);
2475
2475
  if (ue === Q && U && !_.copySortSource) {
2476
2476
  Me && Me.removeChild(Z);
2477
2477
  return;
2478
2478
  }
2479
- var Be, je = dt(ue, le);
2479
+ var Be, je = dt(ue, se);
2480
2480
  if (pe = at(je, ue), je !== null)
2481
2481
  Be = ft(ue, je, P, j);
2482
2482
  else if (_.revertOnSpill === !0 && !U)
@@ -2497,33 +2497,33 @@ var Zr = { exports: {} };
2497
2497
  }
2498
2498
  }
2499
2499
  function Et(b, P, j) {
2500
- (b === P || b === w(P)) && (ee = w(P)), (b === null && j || b !== P && b !== w(P)) && (ee = b);
2500
+ (b === P || b === S(P)) && (ee = S(P)), (b === null && j || b !== P && b !== S(P)) && (ee = b);
2501
2501
  }
2502
2502
  function It(b) {
2503
- l.rm(b, "gu-hide");
2503
+ s.rm(b, "gu-hide");
2504
2504
  }
2505
2505
  function Mt(b) {
2506
- ce.dragging && l.add(b, "gu-hide");
2506
+ ce.dragging && s.add(b, "gu-hide");
2507
2507
  }
2508
2508
  function kt() {
2509
- q || (q = document.createElement("div"), q.style = "background: grey; color: white; height: 24px; text-align: center; padding: 3px 10px; min-width: 100px;border-radius: 4px; box-shadow: 0 0 6px grey;", q.innerHTML = _.getMirrorText && _.getMirrorText(ie) || "控件", l.add(q, "gu-mirror"), _.mirrorContainer.appendChild(q), f(m, "add", "mousemove", qe), l.add(_.mirrorContainer, "gu-unselectable"), ce.emit("cloned", q, ie, "mirror"));
2509
+ q || (q = document.createElement("div"), q.style = "background: grey; color: white; height: 24px; text-align: center; padding: 3px 10px; min-width: 100px;border-radius: 4px; box-shadow: 0 0 6px grey;", q.innerHTML = _.getMirrorText && _.getMirrorText(ie) || "控件", s.add(q, "gu-mirror"), _.mirrorContainer.appendChild(q), f(m, "add", "mousemove", qe), s.add(_.mirrorContainer, "gu-unselectable"), ce.emit("cloned", q, ie, "mirror"));
2510
2510
  }
2511
2511
  function Bt() {
2512
- if (te = document.createElement("div"), l.add(te, "gu-insertion"), ie) {
2512
+ if (te = document.createElement("div"), s.add(te, "gu-insertion"), ie) {
2513
2513
  var b = ie.getBoundingClientRect();
2514
2514
  te.style.left = b.left + "px", te.style.top = b.top + "px";
2515
2515
  }
2516
2516
  pe = !1, _.mirrorContainer.appendChild(te);
2517
2517
  }
2518
2518
  function Pt() {
2519
- q && (l.rm(_.mirrorContainer, "gu-unselectable"), f(m, "remove", "mousemove", qe), S(q).removeChild(q), q = null);
2519
+ q && (s.rm(_.mirrorContainer, "gu-unselectable"), f(m, "remove", "mousemove", qe), x(q).removeChild(q), q = null);
2520
2520
  }
2521
2521
  function Vt() {
2522
- te && (S(te).removeChild(te), te = null);
2522
+ te && (x(te).removeChild(te), te = null);
2523
2523
  }
2524
2524
  function dt(b, P) {
2525
- for (var j = P; j !== b && S(j) !== b; )
2526
- j = S(j);
2525
+ for (var j = P; j !== b && x(j) !== b; )
2526
+ j = x(j);
2527
2527
  return j === m ? null : j;
2528
2528
  }
2529
2529
  function at(b, P) {
@@ -2532,8 +2532,8 @@ var Zr = { exports: {} };
2532
2532
  var j = b || P && P.lastElementChild;
2533
2533
  if (!j)
2534
2534
  return !0;
2535
- var Z = getComputedStyle(b), le = /^inline/.test(Z.getPropertyValue("display")) || /^(left|right)$/.test(Z.getPropertyValue("float"));
2536
- if (le)
2535
+ var Z = getComputedStyle(b), se = /^inline/.test(Z.getPropertyValue("display")) || /^(left|right)$/.test(Z.getPropertyValue("float"));
2536
+ if (se)
2537
2537
  return !0;
2538
2538
  if (P) {
2539
2539
  var ue = getComputedStyle(P), Ne = ue.getPropertyValue("display");
@@ -2550,11 +2550,11 @@ var Zr = { exports: {} };
2550
2550
  if (!b.children || !b.children.length)
2551
2551
  return !1;
2552
2552
  for (const P of Array.from(b.children)) {
2553
- const Z = (P.className && P.className.split(" ") || []).filter((le) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(le));
2553
+ const Z = (P.className && P.className.split(" ") || []).filter((se) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(se));
2554
2554
  if (!Z.length)
2555
2555
  return !1;
2556
- for (const le of Z) {
2557
- const ue = le.slice(le.lastIndexOf("-") + 1);
2556
+ for (const se of Z) {
2557
+ const ue = se.slice(se.lastIndexOf("-") + 1);
2558
2558
  if (parseInt(ue, 10) !== 12)
2559
2559
  return !1;
2560
2560
  }
@@ -2568,8 +2568,8 @@ var Zr = { exports: {} };
2568
2568
  const Z = b.getBoundingClientRect();
2569
2569
  Z.top !== j.top && (te.style.left = Z.right + "px", te.style.top = Z.top + "px", te.style.height = Z.height + "px");
2570
2570
  }
2571
- } else if (te.style.height = "4px", te.style.width = j.width + "px", se) {
2572
- const Z = se.getBoundingClientRect();
2571
+ } else if (te.style.height = "4px", te.style.width = j.width + "px", le) {
2572
+ const Z = le.getBoundingClientRect();
2573
2573
  j.top < Z.top && (te.style.display = "none");
2574
2574
  }
2575
2575
  P === ie && ie && (te.style.display = "none");
@@ -2584,39 +2584,39 @@ var Zr = { exports: {} };
2584
2584
  te.style.display = "none";
2585
2585
  }
2586
2586
  function Lt(b, P) {
2587
- if (!_.mirrorContainer.contains(b) || !window.scrollContainerList || !Array.from(window.scrollContainerList).length || (se = p(b), !se || !se.contains(b)))
2587
+ if (!_.mirrorContainer.contains(b) || !window.scrollContainerList || !Array.from(window.scrollContainerList).length || (le = p(b), !le || !le.contains(b)))
2588
2588
  return;
2589
- const j = document.querySelector(".dgComponentSelected"), Z = se.getBoundingClientRect();
2590
- if (P - 30 < Z.top && se.scrollTop > 0) {
2591
- let le = se.scrollTop < 10 ? se.scrollTop : 10;
2592
- se.scrollBy(0, -1 * le), j && se.contains(j) && (ve = ve + -1 * le);
2589
+ const j = document.querySelector(".dgComponentSelected"), Z = le.getBoundingClientRect();
2590
+ if (P - 30 < Z.top && le.scrollTop > 0) {
2591
+ let se = le.scrollTop < 10 ? le.scrollTop : 10;
2592
+ le.scrollBy(0, -1 * se), j && le.contains(j) && (ve = ve + -1 * se);
2593
2593
  }
2594
- if (P + 30 > Z.bottom && se.scrollTop < se.scrollHeight - se.clientHeight) {
2595
- const le = se.scrollHeight - se.clientHeight - se.scrollTop;
2596
- let ue = le < 10 ? le : 10;
2597
- se.scrollBy(0, ue), j && se.contains(j) && (ve = ve + ue);
2594
+ if (P + 30 > Z.bottom && le.scrollTop < le.scrollHeight - le.clientHeight) {
2595
+ const se = le.scrollHeight - le.clientHeight - le.scrollTop;
2596
+ let ue = se < 10 ? se : 10;
2597
+ le.scrollBy(0, ue), j && le.contains(j) && (ve = ve + ue);
2598
2598
  }
2599
2599
  }
2600
2600
  function ft(b, P, j, Z) {
2601
- var le = _.direction === "horizontal", ue = _.direction === "mixed", Ne = P !== b ? Be() : Me();
2601
+ var se = _.direction === "horizontal", ue = _.direction === "mixed", Ne = P !== b ? Be() : Me();
2602
2602
  return Ne;
2603
2603
  function Me() {
2604
2604
  var xe = b.children.length, He, Pe, Ee;
2605
2605
  for (He = 0; He < xe; He++)
2606
- if (Pe = b.children[He], Ee = Pe.getBoundingClientRect(), le && Ee.left + Ee.width / 2 > j || !ue && !le && Ee.top + Ee.height / 2 > Z || ue && Ee.left + Ee.width > j && Ee.top + Ee.height > Z)
2606
+ if (Pe = b.children[He], Ee = Pe.getBoundingClientRect(), se && Ee.left + Ee.width / 2 > j || !ue && !se && Ee.top + Ee.height / 2 > Z || ue && Ee.left + Ee.width > j && Ee.top + Ee.height > Z)
2607
2607
  return Pe;
2608
2608
  return null;
2609
2609
  }
2610
2610
  function Be() {
2611
2611
  var xe = P.getBoundingClientRect();
2612
2612
  if (ue) {
2613
- var He = Z - xe.top, Pe = j - xe.left, Ee = xe.bottom - Z, lt = xe.right - j, st = Math.min(Pe, lt, He, Ee), ut;
2614
- return pe ? ut = lt < Pe : ut = Ee === st || lt === st || Pe === st, je(ut);
2613
+ var He = Z - xe.top, Pe = j - xe.left, Ee = xe.bottom - Z, st = xe.right - j, lt = Math.min(Pe, st, He, Ee), ut;
2614
+ return pe ? ut = st < Pe : ut = Ee === lt || st === lt || Pe === lt, je(ut);
2615
2615
  }
2616
- return je(le ? j > xe.left + A(xe) / 2 : Z > xe.top + k(xe) / 2);
2616
+ return je(se ? j > xe.left + A(xe) / 2 : Z > xe.top + k(xe) / 2);
2617
2617
  }
2618
2618
  function je(xe) {
2619
- return xe ? w(P) : P;
2619
+ return xe ? S(P) : P;
2620
2620
  }
2621
2621
  }
2622
2622
  function $t(b, P) {
@@ -2629,20 +2629,20 @@ var Zr = { exports: {} };
2629
2629
  const q = Array.from(window.scrollContainerList)[0];
2630
2630
  return document.getElementById(q);
2631
2631
  }
2632
- const W = c(J);
2633
- for (const q of W)
2632
+ const G = c(J);
2633
+ for (const q of G)
2634
2634
  if (q.contains(F))
2635
2635
  return q;
2636
2636
  return null;
2637
2637
  }
2638
2638
  function c(F) {
2639
2639
  const J = [];
2640
- return F.forEach((W) => {
2641
- const q = document.getElementById(W);
2640
+ return F.forEach((G) => {
2641
+ const q = document.getElementById(G);
2642
2642
  q && J.push(q);
2643
- }), J.sort((W, q) => W.contains(q) ? 1 : q.contains(W) ? -1 : 0), J;
2643
+ }), J.sort((G, q) => G.contains(q) ? 1 : q.contains(G) ? -1 : 0), J;
2644
2644
  }
2645
- function f(F, J, W, q) {
2645
+ function f(F, J, G, q) {
2646
2646
  var Q = {
2647
2647
  mouseup: "touchend",
2648
2648
  mousedown: "touchstart",
@@ -2656,7 +2656,7 @@ var Zr = { exports: {} };
2656
2656
  mousedown: "MSPointerDown",
2657
2657
  mousemove: "MSPointerMove"
2658
2658
  };
2659
- r.navigator.pointerEnabled ? d[J](F, ie[W], q) : r.navigator.msPointerEnabled ? d[J](F, fe[W], q) : (d[J](F, Q[W], q), d[J](F, W, q));
2659
+ r.navigator.pointerEnabled ? d[J](F, ie[G], q) : r.navigator.msPointerEnabled ? d[J](F, fe[G], q) : (d[J](F, Q[G], q), d[J](F, G, q));
2660
2660
  }
2661
2661
  function v(F) {
2662
2662
  if (F.touches !== void 0)
@@ -2669,10 +2669,10 @@ var Zr = { exports: {} };
2669
2669
  if (J !== void 0)
2670
2670
  return J & 1 ? 1 : J & 2 ? 3 : J & 4 ? 2 : 0;
2671
2671
  }
2672
- function y(F, J, W) {
2672
+ function y(F, J, G) {
2673
2673
  F = F || {};
2674
2674
  var q = F.className || "", Q;
2675
- return F.className += " gu-hide", Q = u.elementFromPoint(J, W), F.className = q, Q;
2675
+ return F.className += " gu-hide", Q = u.elementFromPoint(J, G), F.className = q, Q;
2676
2676
  }
2677
2677
  function T() {
2678
2678
  return !1;
@@ -2686,38 +2686,38 @@ var Zr = { exports: {} };
2686
2686
  function k(F) {
2687
2687
  return F.height || F.bottom - F.top;
2688
2688
  }
2689
- function S(F) {
2689
+ function x(F) {
2690
2690
  return F.parentNode === u ? null : F.parentNode;
2691
2691
  }
2692
2692
  function C(F) {
2693
- return F.tagName === "INPUT" || F.tagName === "TEXTAREA" || F.tagName === "SELECT" || x(F);
2694
- }
2695
- function x(F) {
2696
- return !F || F.contentEditable === "false" ? !1 : F.contentEditable === "true" ? !0 : x(S(F));
2693
+ return F.tagName === "INPUT" || F.tagName === "TEXTAREA" || F.tagName === "SELECT" || w(F);
2697
2694
  }
2698
2695
  function w(F) {
2696
+ return !F || F.contentEditable === "false" ? !1 : F.contentEditable === "true" ? !0 : w(x(F));
2697
+ }
2698
+ function S(F) {
2699
2699
  return F.nextElementSibling || J();
2700
2700
  function J() {
2701
- var W = F;
2701
+ var G = F;
2702
2702
  do
2703
- W = W.nextSibling;
2704
- while (W && W.nodeType !== 1);
2705
- return W;
2703
+ G = G.nextSibling;
2704
+ while (G && G.nodeType !== 1);
2705
+ return G;
2706
2706
  }
2707
2707
  }
2708
2708
  function M(F) {
2709
2709
  return F.targetTouches && F.targetTouches.length ? F.targetTouches[0] : F.changedTouches && F.changedTouches.length ? F.changedTouches[0] : F;
2710
2710
  }
2711
2711
  function O(F, J) {
2712
- var W = M(J), q = {
2712
+ var G = M(J), q = {
2713
2713
  pageX: "clientX",
2714
2714
  // IE8
2715
2715
  pageY: "clientY"
2716
2716
  // IE8
2717
2717
  };
2718
- return F in q && !(F in W) && q[F] in W && (F = q[F]), W[F];
2718
+ return F in q && !(F in G) && q[F] in G && (F = q[F]), G[F];
2719
2719
  }
2720
- o.exports = s;
2720
+ o.exports = l;
2721
2721
  }).call(this, typeof Je < "u" ? Je : typeof self < "u" ? self : typeof window < "u" ? window : {});
2722
2722
  }, { "./classes": 1, "contra/emitter": 5, crossvent: 6 }],
2723
2723
  3: [function(t, o, i) {
@@ -2727,121 +2727,121 @@ var Zr = { exports: {} };
2727
2727
  }, {}],
2728
2728
  4: [function(t, o, i) {
2729
2729
  var r = t("ticky");
2730
- o.exports = function(d, l, u) {
2730
+ o.exports = function(d, s, u) {
2731
2731
  d && r(function() {
2732
- d.apply(u || null, l || []);
2732
+ d.apply(u || null, s || []);
2733
2733
  });
2734
2734
  };
2735
2735
  }, { ticky: 10 }],
2736
2736
  5: [function(t, o, i) {
2737
2737
  var r = t("atoa"), a = t("./debounce");
2738
- o.exports = function(l, u) {
2739
- var m = u || {}, s = {};
2740
- return l === void 0 && (l = {}), l.on = function(p, c) {
2741
- return s[p] ? s[p].push(c) : s[p] = [c], l;
2742
- }, l.once = function(p, c) {
2743
- return c._once = !0, l.on(p, c), l;
2744
- }, l.off = function(p, c) {
2738
+ o.exports = function(s, u) {
2739
+ var m = u || {}, l = {};
2740
+ return s === void 0 && (s = {}), s.on = function(p, c) {
2741
+ return l[p] ? l[p].push(c) : l[p] = [c], s;
2742
+ }, s.once = function(p, c) {
2743
+ return c._once = !0, s.on(p, c), s;
2744
+ }, s.off = function(p, c) {
2745
2745
  var f = arguments.length;
2746
2746
  if (f === 1)
2747
- delete s[p];
2747
+ delete l[p];
2748
2748
  else if (f === 0)
2749
- s = {};
2749
+ l = {};
2750
2750
  else {
2751
- var v = s[p];
2751
+ var v = l[p];
2752
2752
  if (!v)
2753
- return l;
2753
+ return s;
2754
2754
  v.splice(v.indexOf(c), 1);
2755
2755
  }
2756
- return l;
2757
- }, l.emit = function() {
2756
+ return s;
2757
+ }, s.emit = function() {
2758
2758
  var p = r(arguments);
2759
- return l.emitterSnapshot(p.shift()).apply(this, p);
2760
- }, l.emitterSnapshot = function(p) {
2761
- var c = (s[p] || []).slice(0);
2759
+ return s.emitterSnapshot(p.shift()).apply(this, p);
2760
+ }, s.emitterSnapshot = function(p) {
2761
+ var c = (l[p] || []).slice(0);
2762
2762
  return function() {
2763
- var f = r(arguments), v = this || l;
2763
+ var f = r(arguments), v = this || s;
2764
2764
  if (p === "error" && m.throws !== !1 && !c.length)
2765
2765
  throw f.length === 1 ? f[0] : f;
2766
2766
  return c.forEach(function(T) {
2767
- m.async ? a(T, f, v) : T.apply(v, f), T._once && l.off(p, T);
2768
- }), l;
2767
+ m.async ? a(T, f, v) : T.apply(v, f), T._once && s.off(p, T);
2768
+ }), s;
2769
2769
  };
2770
- }, l;
2770
+ }, s;
2771
2771
  };
2772
2772
  }, { "./debounce": 4, atoa: 3 }],
2773
2773
  6: [function(t, o, i) {
2774
2774
  (function(r) {
2775
- var a = t("custom-event"), d = t("./eventmap"), l = r.document, u = p, m = f, s = [];
2775
+ var a = t("custom-event"), d = t("./eventmap"), s = r.document, u = p, m = f, l = [];
2776
2776
  r.addEventListener || (u = c, m = v), o.exports = {
2777
2777
  add: u,
2778
2778
  remove: m,
2779
2779
  fabricate: y
2780
2780
  };
2781
- function p(S, C, x, w) {
2782
- return S.addEventListener(C, x, w);
2781
+ function p(x, C, w, S) {
2782
+ return x.addEventListener(C, w, S);
2783
2783
  }
2784
- function c(S, C, x) {
2785
- return S.attachEvent("on" + C, E(S, C, x));
2784
+ function c(x, C, w) {
2785
+ return x.attachEvent("on" + C, E(x, C, w));
2786
2786
  }
2787
- function f(S, C, x, w) {
2788
- return S.removeEventListener(C, x, w);
2787
+ function f(x, C, w, S) {
2788
+ return x.removeEventListener(C, w, S);
2789
2789
  }
2790
- function v(S, C, x) {
2791
- var w = A(S, C, x);
2792
- if (w)
2793
- return S.detachEvent("on" + C, w);
2790
+ function v(x, C, w) {
2791
+ var S = A(x, C, w);
2792
+ if (S)
2793
+ return x.detachEvent("on" + C, S);
2794
2794
  }
2795
- function y(S, C, x) {
2796
- var w = d.indexOf(C) === -1 ? O() : M();
2797
- S.dispatchEvent ? S.dispatchEvent(w) : S.fireEvent("on" + C, w);
2795
+ function y(x, C, w) {
2796
+ var S = d.indexOf(C) === -1 ? O() : M();
2797
+ x.dispatchEvent ? x.dispatchEvent(S) : x.fireEvent("on" + C, S);
2798
2798
  function M() {
2799
2799
  var F;
2800
- return l.createEvent ? (F = l.createEvent("Event"), F.initEvent(C, !0, !0)) : l.createEventObject && (F = l.createEventObject()), F;
2800
+ return s.createEvent ? (F = s.createEvent("Event"), F.initEvent(C, !0, !0)) : s.createEventObject && (F = s.createEventObject()), F;
2801
2801
  }
2802
2802
  function O() {
2803
- return new a(C, { detail: x });
2803
+ return new a(C, { detail: w });
2804
2804
  }
2805
2805
  }
2806
- function T(S, C, x) {
2806
+ function T(x, C, w) {
2807
2807
  return function(M) {
2808
2808
  var O = M || r.event;
2809
2809
  O.target = O.target || O.srcElement, O.preventDefault = O.preventDefault || function() {
2810
2810
  O.returnValue = !1;
2811
2811
  }, O.stopPropagation = O.stopPropagation || function() {
2812
2812
  O.cancelBubble = !0;
2813
- }, O.which = O.which || O.keyCode, x.call(S, O);
2813
+ }, O.which = O.which || O.keyCode, w.call(x, O);
2814
2814
  };
2815
2815
  }
2816
- function E(S, C, x) {
2817
- var w = A(S, C, x) || T(S, C, x);
2818
- return s.push({
2819
- wrapper: w,
2820
- element: S,
2816
+ function E(x, C, w) {
2817
+ var S = A(x, C, w) || T(x, C, w);
2818
+ return l.push({
2819
+ wrapper: S,
2820
+ element: x,
2821
2821
  type: C,
2822
- fn: x
2823
- }), w;
2822
+ fn: w
2823
+ }), S;
2824
2824
  }
2825
- function A(S, C, x) {
2826
- var w = k(S, C, x);
2827
- if (w) {
2828
- var M = s[w].wrapper;
2829
- return s.splice(w, 1), M;
2825
+ function A(x, C, w) {
2826
+ var S = k(x, C, w);
2827
+ if (S) {
2828
+ var M = l[S].wrapper;
2829
+ return l.splice(S, 1), M;
2830
2830
  }
2831
2831
  }
2832
- function k(S, C, x) {
2833
- var w, M;
2834
- for (w = 0; w < s.length; w++)
2835
- if (M = s[w], M.element === S && M.type === C && M.fn === x)
2836
- return w;
2832
+ function k(x, C, w) {
2833
+ var S, M;
2834
+ for (S = 0; S < l.length; S++)
2835
+ if (M = l[S], M.element === x && M.type === C && M.fn === w)
2836
+ return S;
2837
2837
  }
2838
2838
  }).call(this, typeof Je < "u" ? Je : typeof self < "u" ? self : typeof window < "u" ? window : {});
2839
2839
  }, { "./eventmap": 7, "custom-event": 8 }],
2840
2840
  7: [function(t, o, i) {
2841
2841
  (function(r) {
2842
- var a = [], d = "", l = /^on/;
2842
+ var a = [], d = "", s = /^on/;
2843
2843
  for (d in r)
2844
- l.test(d) && a.push(d.slice(2));
2844
+ s.test(d) && a.push(d.slice(2));
2845
2845
  o.exports = a;
2846
2846
  }).call(this, typeof Je < "u" ? Je : typeof self < "u" ? self : typeof window < "u" ? window : {});
2847
2847
  }, {}],
@@ -2850,8 +2850,8 @@ var Zr = { exports: {} };
2850
2850
  var a = r.CustomEvent;
2851
2851
  function d() {
2852
2852
  try {
2853
- var l = new a("cat", { detail: { foo: "bar" } });
2854
- return l.type === "cat" && l.detail.foo === "bar";
2853
+ var s = new a("cat", { detail: { foo: "bar" } });
2854
+ return s.type === "cat" && s.detail.foo === "bar";
2855
2855
  } catch {
2856
2856
  }
2857
2857
  return !1;
@@ -2859,13 +2859,13 @@ var Zr = { exports: {} };
2859
2859
  o.exports = d() ? a : (
2860
2860
  // IE >= 9
2861
2861
  typeof document < "u" && typeof document.createEvent == "function" ? function(u, m) {
2862
- var s = document.createEvent("CustomEvent");
2863
- return m ? s.initCustomEvent(u, m.bubbles, m.cancelable, m.detail) : s.initCustomEvent(u, !1, !1, void 0), s;
2862
+ var l = document.createEvent("CustomEvent");
2863
+ return m ? l.initCustomEvent(u, m.bubbles, m.cancelable, m.detail) : l.initCustomEvent(u, !1, !1, void 0), l;
2864
2864
  } : (
2865
2865
  // IE <= 8
2866
2866
  function(u, m) {
2867
- var s = document.createEventObject();
2868
- return s.type = u, m ? (s.bubbles = !!m.bubbles, s.cancelable = !!m.cancelable, s.detail = m.detail) : (s.bubbles = !1, s.cancelable = !1, s.detail = void 0), s;
2867
+ var l = document.createEventObject();
2868
+ return l.type = u, m ? (l.bubbles = !!m.bubbles, l.cancelable = !!m.cancelable, l.detail = m.detail) : (l.bubbles = !1, l.cancelable = !1, l.detail = void 0), l;
2869
2869
  }
2870
2870
  )
2871
2871
  );
@@ -2873,7 +2873,7 @@ var Zr = { exports: {} };
2873
2873
  }, {}],
2874
2874
  9: [function(t, o, i) {
2875
2875
  var r = o.exports = {}, a, d;
2876
- function l() {
2876
+ function s() {
2877
2877
  throw new Error("setTimeout has not been defined");
2878
2878
  }
2879
2879
  function u() {
@@ -2881,9 +2881,9 @@ var Zr = { exports: {} };
2881
2881
  }
2882
2882
  (function() {
2883
2883
  try {
2884
- typeof setTimeout == "function" ? a = setTimeout : a = l;
2884
+ typeof setTimeout == "function" ? a = setTimeout : a = s;
2885
2885
  } catch {
2886
- a = l;
2886
+ a = s;
2887
2887
  }
2888
2888
  try {
2889
2889
  typeof clearTimeout == "function" ? d = clearTimeout : d = u;
@@ -2894,7 +2894,7 @@ var Zr = { exports: {} };
2894
2894
  function m(k) {
2895
2895
  if (a === setTimeout)
2896
2896
  return setTimeout(k, 0);
2897
- if ((a === l || !a) && setTimeout)
2897
+ if ((a === s || !a) && setTimeout)
2898
2898
  return a = setTimeout, setTimeout(k, 0);
2899
2899
  try {
2900
2900
  return a(k, 0);
@@ -2906,7 +2906,7 @@ var Zr = { exports: {} };
2906
2906
  }
2907
2907
  }
2908
2908
  }
2909
- function s(k) {
2909
+ function l(k) {
2910
2910
  if (d === clearTimeout)
2911
2911
  return clearTimeout(k);
2912
2912
  if ((d === u || !d) && clearTimeout)
@@ -2929,23 +2929,23 @@ var Zr = { exports: {} };
2929
2929
  if (!c) {
2930
2930
  var k = m(y);
2931
2931
  c = !0;
2932
- for (var S = p.length; S; ) {
2933
- for (f = p, p = []; ++v < S; )
2932
+ for (var x = p.length; x; ) {
2933
+ for (f = p, p = []; ++v < x; )
2934
2934
  f && f[v].run();
2935
- v = -1, S = p.length;
2935
+ v = -1, x = p.length;
2936
2936
  }
2937
- f = null, c = !1, s(k);
2937
+ f = null, c = !1, l(k);
2938
2938
  }
2939
2939
  }
2940
2940
  r.nextTick = function(k) {
2941
- var S = new Array(arguments.length - 1);
2941
+ var x = new Array(arguments.length - 1);
2942
2942
  if (arguments.length > 1)
2943
2943
  for (var C = 1; C < arguments.length; C++)
2944
- S[C - 1] = arguments[C];
2945
- p.push(new E(k, S)), p.length === 1 && !c && m(T);
2944
+ x[C - 1] = arguments[C];
2945
+ p.push(new E(k, x)), p.length === 1 && !c && m(T);
2946
2946
  };
2947
- function E(k, S) {
2948
- this.fun = k, this.array = S;
2947
+ function E(k, x) {
2948
+ this.fun = k, this.array = x;
2949
2949
  }
2950
2950
  E.prototype.run = function() {
2951
2951
  this.fun.apply(null, this.array);
@@ -2967,20 +2967,20 @@ var Zr = { exports: {} };
2967
2967
  10: [function(t, o, i) {
2968
2968
  (function(r) {
2969
2969
  var a = typeof r == "function", d;
2970
- a ? d = function(l) {
2971
- r(l);
2972
- } : d = function(l) {
2973
- setTimeout(l, 0);
2970
+ a ? d = function(s) {
2971
+ r(s);
2972
+ } : d = function(s) {
2973
+ setTimeout(s, 0);
2974
2974
  }, o.exports = d;
2975
2975
  }).call(this, t("timers").setImmediate);
2976
2976
  }, { timers: 11 }],
2977
2977
  11: [function(t, o, i) {
2978
2978
  (function(r, a) {
2979
- var d = t("process/browser.js").nextTick, l = Function.prototype.apply, u = Array.prototype.slice, m = {}, s = 0;
2979
+ var d = t("process/browser.js").nextTick, s = Function.prototype.apply, u = Array.prototype.slice, m = {}, l = 0;
2980
2980
  i.setTimeout = function() {
2981
- return new p(l.call(setTimeout, window, arguments), clearTimeout);
2981
+ return new p(s.call(setTimeout, window, arguments), clearTimeout);
2982
2982
  }, i.setInterval = function() {
2983
- return new p(l.call(setInterval, window, arguments), clearInterval);
2983
+ return new p(s.call(setInterval, window, arguments), clearInterval);
2984
2984
  }, i.clearTimeout = i.clearInterval = function(c) {
2985
2985
  c.close();
2986
2986
  };
@@ -3001,7 +3001,7 @@ var Zr = { exports: {} };
3001
3001
  c._onTimeout && c._onTimeout();
3002
3002
  }, f));
3003
3003
  }, i.setImmediate = typeof r == "function" ? r : function(c) {
3004
- var f = s++, v = arguments.length < 2 ? !1 : u.call(arguments, 1);
3004
+ var f = l++, v = arguments.length < 2 ? !1 : u.call(arguments, 1);
3005
3005
  return m[f] = !0, d(function() {
3006
3006
  m[f] && (v ? c.apply(null, v) : c.call(null), i.clearImmediate(f));
3007
3007
  }), f;
@@ -3038,18 +3038,18 @@ const Kr = {
3038
3038
  const {
3039
3039
  locale: t,
3040
3040
  t: o
3041
- } = zt(), i = h(e.animate), r = "fadeOut", a = H(() => e.options), d = h(!1), l = H(() => a.value.title && a.value.message), u = H(() => !a.value.title && a.value.message), m = H(() => {
3041
+ } = zt(), i = h(e.animate), r = "fadeOut", a = H(() => e.options), d = h(!1), s = H(() => a.value.title && a.value.message), u = H(() => !a.value.title && a.value.message), m = H(() => {
3042
3042
  const k = {
3043
3043
  animated: d.value,
3044
3044
  toast: !0,
3045
- "toast--only-content": !l.value
3045
+ "toast--only-content": !s.value
3046
3046
  };
3047
3047
  return k[e.animate] = !1, k[r] = d.value, k["toasty-type-" + a.value.type] = !0, a.value.theme && (k[a.value.theme] = !0), k;
3048
- }), s = H(() => {
3049
- const C = `f-icon-${a.value && a.value.type ? a.value.type.replace("toasty-type-", "") : "default"}`, x = {
3048
+ }), l = H(() => {
3049
+ const C = `f-icon-${a.value && a.value.type ? a.value.type.replace("toasty-type-", "") : "default"}`, w = {
3050
3050
  "f-icon": !0
3051
3051
  };
3052
- return x[C] = !0, x;
3052
+ return w[C] = !0, w;
3053
3053
  }), p = H(() => a.value.title || a.value.message), c = H(() => e.showCloseButton), f = H(() => !!a.value.buttons || !!n.slots.default), v = H(() => t.value === "en" ? {
3054
3054
  wordBreak: "keep-all",
3055
3055
  overflowWrap: "break-word"
@@ -3059,7 +3059,7 @@ const Kr = {
3059
3059
  n.emit("close", a.value);
3060
3060
  }, 200);
3061
3061
  }
3062
- function T(k, S) {
3062
+ function T(k, x) {
3063
3063
  }
3064
3064
  function E(k) {
3065
3065
  return `f-preten-link ${k.customClass ? k.customClass : ""}`;
@@ -3071,10 +3071,10 @@ const Kr = {
3071
3071
  var k;
3072
3072
  return g(ot, null, [g("div", {
3073
3073
  class: "after-toast-msg text-right"
3074
- }, [!n.slots.default && ((k = a.value.buttons) == null ? void 0 : k.map((S) => g("span", {
3075
- class: E(S),
3074
+ }, [!n.slots.default && ((k = a.value.buttons) == null ? void 0 : k.map((x) => g("span", {
3075
+ class: E(x),
3076
3076
  onClick: (C) => void 0
3077
- }, [S.text]))), n.slots.default && n.slots.default()])]);
3077
+ }, [x.text]))), n.slots.default && n.slots.default()])]);
3078
3078
  };
3079
3079
  return () => g("div", {
3080
3080
  class: m.value,
@@ -3087,13 +3087,13 @@ const Kr = {
3087
3087
  class: "f-icon modal_close"
3088
3088
  }, null)]), p.value && g("section", {
3089
3089
  class: "modal-tips"
3090
- }, [!l.value && g("div", {
3090
+ }, [!s.value && g("div", {
3091
3091
  class: "float-left modal-tips-iconwrap"
3092
3092
  }, [g("span", {
3093
- class: s.value
3093
+ class: l.value
3094
3094
  }, null)]), g("div", {
3095
3095
  class: "modal-tips-content"
3096
- }, [l.value && g(ot, null, [g("h5", {
3096
+ }, [s.value && g(ot, null, [g("h5", {
3097
3097
  class: "toast-title modal-tips-title",
3098
3098
  innerHTML: a.value.title
3099
3099
  }, null), g("p", {
@@ -3126,7 +3126,7 @@ const Kr = {
3126
3126
  right: 12,
3127
3127
  top: 20,
3128
3128
  bottom: 12
3129
- }, i = h(), r = h(e.options), a = h(e.showCloseButton), d = H(() => e.position || "bottom-right"), l = H(() => e.timeout != null ? e.timeout : 3e3), u = H(() => {
3129
+ }, i = h(), r = h(e.options), a = h(e.showCloseButton), d = H(() => e.position || "bottom-right"), s = H(() => e.timeout != null ? e.timeout : 3e3), u = H(() => {
3130
3130
  const p = e.bottom ? e.bottom : o.bottom, c = e.top ? e.top : o.top, f = {
3131
3131
  transition: "all 0.2s ease",
3132
3132
  left: d.value.indexOf("left") > -1 ? `${e.left ? e.left : o.left}px` : "",
@@ -3139,14 +3139,14 @@ const Kr = {
3139
3139
  function m(p) {
3140
3140
  n.emit("close");
3141
3141
  }
3142
- l.value && setTimeout(() => {
3142
+ s.value && setTimeout(() => {
3143
3143
  m();
3144
- }, l.value), n.expose({
3144
+ }, s.value), n.expose({
3145
3145
  closeToast: m,
3146
3146
  container: i,
3147
3147
  notifyPosition: d
3148
3148
  });
3149
- function s(p, c) {
3149
+ function l(p, c) {
3150
3150
  m();
3151
3151
  }
3152
3152
  return () => g("div", {
@@ -3157,7 +3157,7 @@ const Kr = {
3157
3157
  options: r.value,
3158
3158
  showCloseButton: a.value,
3159
3159
  animate: e.animate,
3160
- onClose: (p) => s(p, r.value)
3160
+ onClose: (p) => l(p, r.value)
3161
3161
  }, null)]);
3162
3162
  }
3163
3163
  });
@@ -3186,15 +3186,15 @@ class ta {
3186
3186
  setup() {
3187
3187
  var u;
3188
3188
  const d = h();
3189
- function l() {
3189
+ function s() {
3190
3190
  d.value.container.style.transform = "scale(0)", setTimeout(() => {
3191
3191
  t.updateNotifyPositionForClose(i, d), a.unmount();
3192
3192
  }, 220);
3193
3193
  }
3194
3194
  if (i.position.indexOf("top") > -1) {
3195
- const m = t.getNotifyInstances(i.position), s = m[m.length - 1];
3196
- if (s) {
3197
- const p = s.value.container.getBoundingClientRect();
3195
+ const m = t.getNotifyInstances(i.position), l = m[m.length - 1];
3196
+ if (l) {
3197
+ const p = l.value.container.getBoundingClientRect();
3198
3198
  i.top = p.bottom;
3199
3199
  }
3200
3200
  }
@@ -3210,7 +3210,7 @@ class ta {
3210
3210
  default: () => [g(gt, xt({
3211
3211
  ref: d
3212
3212
  }, i, {
3213
- onClose: l
3213
+ onClose: s
3214
3214
  }), null)]
3215
3215
  });
3216
3216
  }
@@ -3436,7 +3436,7 @@ const oa = {
3436
3436
  }
3437
3437
  }
3438
3438
  };
3439
- function ia(e, n, t, o, i, r, a, d, l, u, m, s, p, c, f, v, y) {
3439
+ function ia(e, n, t, o, i, r, a, d, s, u, m, l, p, c, f, v, y) {
3440
3440
  const {
3441
3441
  calculateCellPositionInRow: T
3442
3442
  } = r, {
@@ -3444,12 +3444,12 @@ function ia(e, n, t, o, i, r, a, d, l, u, m, s, p, c, f, v, y) {
3444
3444
  hasLeftFixedColumn: A,
3445
3445
  hasRightFixedColumn: k
3446
3446
  } = a, {
3447
- gridDataStyle: S,
3447
+ gridDataStyle: x,
3448
3448
  leftFixedGridDataStyle: C,
3449
- rightFixedGridDataStyle: x
3449
+ rightFixedGridDataStyle: w
3450
3450
  } = c, {
3451
- renderDataRow: w
3452
- } = vi(e, n, E, y, d, l, u, m, s, p, c, f, v), M = [w];
3451
+ renderDataRow: S
3452
+ } = vi(e, n, E, y, d, s, u, m, l, p, c, f, v), M = [S];
3453
3453
  function O(Q, ie) {
3454
3454
  const fe = T(Q);
3455
3455
  return y.value.filter((N) => N.visible !== !1).map((N, B) => M[N.type](N, fe, ie, B));
@@ -3469,21 +3469,21 @@ function ia(e, n, t, o, i, r, a, d, l, u, m, s, p, c, f, v, y) {
3469
3469
  class: "fv-grid-content-primary"
3470
3470
  }, [g("div", {
3471
3471
  class: "fv-grid-data",
3472
- style: S.value
3472
+ style: x.value
3473
3473
  }, [O(E.value.primaryColumns.filter((Q) => Q.visible), "primary")])]);
3474
3474
  }
3475
- function W() {
3475
+ function G() {
3476
3476
  return g("div", {
3477
3477
  ref: i,
3478
3478
  class: "fv-grid-content-right-fixed"
3479
3479
  }, [g("div", {
3480
3480
  class: "fv-grid-data",
3481
- style: x.value
3481
+ style: w.value
3482
3482
  }, [O(E.value.rightColumns.filter((Q) => Q.visible), "right")])]);
3483
3483
  }
3484
3484
  function q() {
3485
3485
  const Q = [];
3486
- return A.value && Q.push(F()), Q.push(J()), k.value && Q.push(W()), Q;
3486
+ return A.value && Q.push(F()), Q.push(J()), k.value && Q.push(G()), Q;
3487
3487
  }
3488
3488
  return {
3489
3489
  renderDataArea: q
@@ -3494,20 +3494,20 @@ const ra = /* @__PURE__ */ Re({
3494
3494
  props: oa,
3495
3495
  emits: ["selectionChange", "clickRow", "expandNode", "unSelectItem", "dblclickNode", "doubleClickRow", "unSelectItem", "selectItem", "filterChanged", "sortChanged", "selectionUpdate"],
3496
3496
  setup(e, n) {
3497
- var _t, Gt;
3497
+ var _t, Wt;
3498
3498
  const o = ((_t = e.rowOption) == null ? void 0 : _t.height) || 28, i = h(20), r = h(e.columns), a = gi(e), {
3499
3499
  idField: d
3500
- } = a, l = h(), u = h(), m = h(), s = h(), p = h(), c = h([]), f = h(!1), v = h(((Gt = e.rowOption) == null ? void 0 : Gt.wrapContent) || !1), y = hi(e, a), T = yi(e, n), E = bi(e), {
3500
+ } = a, s = h(), u = h(), m = h(), l = h(), p = h(), c = h([]), f = h(!1), v = h(((Wt = e.rowOption) == null ? void 0 : Wt.wrapContent) || !1), y = hi(e, a), T = yi(e, n), E = bi(e), {
3501
3501
  collapseField: A
3502
3502
  } = E, {
3503
3503
  showLoading: k,
3504
- renderLoading: S
3505
- } = Ci(e, l), C = wi(e, /* @__PURE__ */ new Map(), T, E, a), {
3506
- dataView: x
3507
- } = C, w = xi(e, C, a, c, n), {
3504
+ renderLoading: x
3505
+ } = Ci(e, s), C = wi(e, /* @__PURE__ */ new Map(), T, E, a), {
3506
+ dataView: w
3507
+ } = C, S = xi(e, C, a, c, n), {
3508
3508
  showSelection: M,
3509
3509
  selectedValues: O
3510
- } = w, F = Si(e, c, C, a, w, n), J = H(() => e.disabled), W = H(() => e.virtualized ? Math.min(C.dataView.value.length, i.value) : C.dataView.value.length), q = Fi(e, C), {
3510
+ } = S, F = Si(e, c, C, a, S, n), J = H(() => e.disabled), G = H(() => e.virtualized ? Math.min(C.dataView.value.length, i.value) : C.dataView.value.length), q = Fi(e, C), {
3511
3511
  shouldRenderPagination: Q
3512
3512
  } = q, {
3513
3513
  containerStyleObject: ie
@@ -3526,17 +3526,17 @@ const ra = /* @__PURE__ */ Re({
3526
3526
  updateColumnRenderContext: te
3527
3527
  } = U;
3528
3528
  Ce(C, ae);
3529
- const pe = Bi(e, me), ve = Pi(e, n, w, a), se = Vi(e, n, a, ve, c), _ = Oi(e), ce = Ni(e, se, _), ze = Ri(e, C, se, E, a, _, ce), Le = Li(e, r, C, W, 0, ze), {
3529
+ const pe = Bi(e, me), ve = Pi(e, n, S, a), le = Vi(e, n, a, ve, c), _ = Oi(e), ce = Ni(e, le, _), ze = Ri(e, C, le, E, a, _, ce), Le = Li(e, r, C, G, 0, ze), {
3530
3530
  getVisualData: Oe
3531
- } = Le, Ge = $i(e, me), Ue = Di(e, w), {
3532
- sidebarWidth: We
3533
- } = Ue, ge = ji(e, C, c, me, Le, W, 0, We), {
3531
+ } = Le, We = $i(e, me), Ue = Di(e, S), {
3532
+ sidebarWidth: Ge
3533
+ } = Ue, ge = ji(e, C, c, me, Le, G, 0, Ge), {
3534
3534
  onWheel: Qe,
3535
3535
  dataGridWidth: $e,
3536
3536
  viewPortHeight: De,
3537
3537
  viewPortWidth: X,
3538
3538
  resetScroll: Y,
3539
- updateVisibleRowsOnLatestVisibleScope: G
3539
+ updateVisibleRowsOnLatestVisibleScope: W
3540
3540
  } = ge, re = Hi(e, me, u, X, pe), {
3541
3541
  calculateColumnsSize: de
3542
3542
  } = re, ke = Ai(), Te = zi(u, p, C, ke, ge), Xe = Ui(e, n, U, C, pe, y, ge), I = H(() => {
@@ -3553,30 +3553,30 @@ const ra = /* @__PURE__ */ Re({
3553
3553
  "fv-grid-wrap-content": v.value
3554
3554
  })), {
3555
3555
  renderDataArea: be
3556
- } = ia(e, n, m, s, p, Ge, U, C, se, E, ve, w, F, ge, Le, _, c), {
3556
+ } = ia(e, n, m, l, p, We, U, C, le, E, ve, S, F, ge, Le, _, c), {
3557
3557
  renderGridHeader: we,
3558
3558
  renderGridColumnResizeOverlay: qe,
3559
3559
  shouldShowHeader: Et
3560
- } = qi(e, n, u, s, p, U, C, Xe, Te, T, ke, re, pe, w, Ue, ae, ge, X, c), {
3560
+ } = qi(e, n, u, l, p, U, C, Xe, Te, T, ke, re, pe, S, Ue, ae, ge, X, c), {
3561
3561
  renderDataGridSidebar: It
3562
- } = _i(e, ve, w, Ue, ge), {
3562
+ } = _i(e, ve, S, Ue, ge), {
3563
3563
  renderDisableMask: Mt
3564
- } = Gi(), {
3564
+ } = Wi(), {
3565
3565
  renderHorizontalScrollbar: kt
3566
- } = Wi(e, u, ge), {
3566
+ } = Gi(e, u, ge), {
3567
3567
  renderVerticalScrollbar: Bt
3568
3568
  } = Xi(e, u, ge);
3569
3569
  function Pt() {
3570
3570
  var z, oe, Se;
3571
3571
  if (u.value && u.value.clientHeight > 0 && ((z = u.value) == null ? void 0 : z.clientWidth) > 0) {
3572
3572
  const Ie = Math.ceil(u.value.clientHeight / o);
3573
- Ie > i.value && (i.value = Ie, G()), De.value = ((oe = m.value) == null ? void 0 : oe.clientHeight) || 0, $e.value = ((Se = u.value) == null ? void 0 : Se.clientWidth) || 0, de();
3573
+ Ie > i.value && (i.value = Ie, W()), De.value = ((oe = m.value) == null ? void 0 : oe.clientHeight) || 0, $e.value = ((Se = u.value) == null ? void 0 : Se.clientWidth) || 0, de();
3574
3574
  }
3575
3575
  }
3576
3576
  rt(() => {
3577
- u.value && (i.value = Math.max(Math.ceil(u.value.clientHeight / o), i.value), c.value = Oe(0, W.value + 0 - 1), mi(u.value, Pt), de(), ct(() => {
3577
+ u.value && (i.value = Math.max(Math.ceil(u.value.clientHeight / o), i.value), c.value = Oe(0, G.value + 0 - 1), mi(u.value, Pt), de(), ct(() => {
3578
3578
  u.value && ($e.value = u.value.clientWidth), m.value && (X.value = m.value.clientWidth, De.value = m.value.clientHeight);
3579
- })), k.value && S();
3579
+ })), k.value && x();
3580
3580
  }), St(() => {
3581
3581
  }), ye(X, () => {
3582
3582
  u.value && de();
@@ -3588,16 +3588,16 @@ const ra = /* @__PURE__ */ Re({
3588
3588
  C.expandTo(z), C.reOrderVisibleIndex(), Y();
3589
3589
  }
3590
3590
  function at() {
3591
- const z = w.getSelectionRow();
3591
+ const z = S.getSelectionRow();
3592
3592
  return z ? z.dataIndex - 1 : -1;
3593
3593
  }
3594
3594
  function Ot() {
3595
3595
  const z = at();
3596
- C.insertNewDataItem(z), c.value = Oe(0, W.value + 0 - 1);
3596
+ C.insertNewDataItem(z), c.value = Oe(0, G.value + 0 - 1);
3597
3597
  }
3598
3598
  function Nt() {
3599
3599
  const z = at();
3600
- C.insertNewChildDataItem(z), c.value = Oe(0, W.value + 0 - 1);
3600
+ C.insertNewChildDataItem(z), c.value = Oe(0, G.value + 0 - 1);
3601
3601
  }
3602
3602
  function Rt(z, oe) {
3603
3603
  const Se = c.value.find((Ve) => Ve.raw[d.value] === oe), Ie = Se ? Se.dataIndex - 1 : -1;
@@ -3605,16 +3605,16 @@ const ra = /* @__PURE__ */ Re({
3605
3605
  }
3606
3606
  function Lt() {
3607
3607
  const z = at(), oe = F.getNextSelectableHierarchyItemId(z);
3608
- C.removeHierarchyDataItem(z), c.value = Oe(0, W.value + 0 - 1), oe && w.selectItemById(oe);
3608
+ C.removeHierarchyDataItem(z), c.value = Oe(0, G.value + 0 - 1), oe && F.selectItemById(oe);
3609
3609
  }
3610
3610
  function ft(z) {
3611
- se.onEditingRow(z);
3611
+ le.onEditingRow(z);
3612
3612
  }
3613
3613
  function $t(z) {
3614
- se.acceptEditingRow(z);
3614
+ le.acceptEditingRow(z);
3615
3615
  }
3616
3616
  function b(z) {
3617
- se.cancelEditingRow(z);
3617
+ le.cancelEditingRow(z);
3618
3618
  }
3619
3619
  function P(z) {
3620
3620
  z && (r.value = z, N(r), te(r.value), Ce(C, ae), de());
@@ -3626,9 +3626,9 @@ const ra = /* @__PURE__ */ Re({
3626
3626
  z && (C.load(z), C.reOrderVisibleIndex(), oe != null && oe.keepScrollPosition ? ge.scrollTo(ge.offsetY.value) : Y());
3627
3627
  }
3628
3628
  function Z(z) {
3629
- w.selectItemById(z);
3629
+ F.selectItemById(z);
3630
3630
  }
3631
- function le(z) {
3631
+ function se(z) {
3632
3632
  const oe = c.value.find((Se) => Se.raw[a.idField.value] === z);
3633
3633
  oe && ve.clickRowItem(oe);
3634
3634
  }
@@ -3636,28 +3636,28 @@ const ra = /* @__PURE__ */ Re({
3636
3636
  ve.activeRowById(z);
3637
3637
  }
3638
3638
  function Ne(z) {
3639
- w.selectItemByIds(z);
3639
+ F.selectItemByIds(z);
3640
3640
  }
3641
3641
  function Me() {
3642
- return w.getSelectedItems();
3642
+ return S.getSelectedItems();
3643
3643
  }
3644
3644
  function Be() {
3645
- w.clearSelection();
3645
+ S.clearSelection();
3646
3646
  }
3647
3647
  const je = H(() => !c.value || !c.value.length), {
3648
3648
  renderEmpty: xe
3649
3649
  } = Yi(e, n);
3650
3650
  function He() {
3651
- return w.getSelectionRow();
3651
+ return S.getSelectionRow();
3652
3652
  }
3653
3653
  function Pe(z) {
3654
- w.unSelectItemByIds(z);
3654
+ F.unSelectItemByIds(z);
3655
3655
  }
3656
3656
  function Ee() {
3657
- return w.currentSelectedDataId.value;
3657
+ return S.currentSelectedDataId.value;
3658
3658
  }
3659
- function lt(z, oe, Se) {
3660
- const Ie = x.value.find((Ve) => Ve[d.value] === z);
3659
+ function st(z, oe, Se) {
3660
+ const Ie = w.value.find((Ve) => Ve[d.value] === z);
3661
3661
  if (Ie) {
3662
3662
  if (Object.keys(Ie).forEach((Fe) => {
3663
3663
  Object.prototype.hasOwnProperty.call(oe, Fe) && (Ie[Fe] = oe[Fe]);
@@ -3670,7 +3670,7 @@ const ra = /* @__PURE__ */ Re({
3670
3670
  } = Se;
3671
3671
  Fe && !Ye(oe[Fe]) && (Ie.__fv_collapse__ = oe[Fe]), Ke && !Ye(oe[Ke]) && (Ie.__fv_checked__ = oe[Ke]), Ze && !Ye(oe[Ze]) && (Ie.__fv_disabled__ = oe[Ze]), et && !Ye(oe[et]) && (Ie.__fv_visible__ = oe[et]);
3672
3672
  }
3673
- const Ve = c.value.find((Fe) => Fe.raw[d.value] === z), Wt = c.value.findIndex((Fe) => Fe.raw[d.value] === z);
3673
+ const Ve = c.value.find((Fe) => Fe.raw[d.value] === z), Gt = c.value.findIndex((Fe) => Fe.raw[d.value] === z);
3674
3674
  if (Ve) {
3675
3675
  if (Ve.raw = Ie, Object.keys(Ve.data).forEach((Fe) => {
3676
3676
  Ve.data[Fe].updateData(Ie);
@@ -3683,11 +3683,11 @@ const ra = /* @__PURE__ */ Re({
3683
3683
  } = Se;
3684
3684
  Fe && !Ye(oe[Fe]) && (Ve.collapse = oe[Fe]), Ke && !Ye(oe[Ke]) && (Ve.checked = oe[Ke]), Ze && !Ye(oe[Ze]) && (Ve.disabled = oe[Ze]), et && !Ye(oe[et]) && (Ve.visible = oe[et]);
3685
3685
  }
3686
- c.value = [...c.value.slice(0, Wt), Ve, ...c.value.slice(Wt + 1)], C.updateSummary();
3686
+ c.value = [...c.value.slice(0, Gt), Ve, ...c.value.slice(Gt + 1)], C.updateSummary();
3687
3687
  }
3688
3688
  }
3689
3689
  }
3690
- function st(z) {
3690
+ function lt(z) {
3691
3691
  return Object.prototype.hasOwnProperty.call(z, "raw") ? C.hasRealChildren(z.raw) : C.hasRealChildren(z);
3692
3692
  }
3693
3693
  function ut(z) {
@@ -3708,7 +3708,7 @@ const ra = /* @__PURE__ */ Re({
3708
3708
  Se && ve.changeRow(Se);
3709
3709
  }
3710
3710
  function kn() {
3711
- w.keepSelectingOnPaging.value || Be(), C.updateVisibleDataSummary(c.value);
3711
+ S.keepSelectingOnPaging.value || Be(), C.updateVisibleDataSummary(c.value);
3712
3712
  }
3713
3713
  n.expose({
3714
3714
  activeRowById: ue,
@@ -3728,11 +3728,11 @@ const ra = /* @__PURE__ */ Re({
3728
3728
  getSelectedItems: Me,
3729
3729
  clearSelection: Be,
3730
3730
  getSelectionRow: He,
3731
- clickRowItemById: le,
3731
+ clickRowItemById: se,
3732
3732
  unSelectItemByIds: Pe,
3733
3733
  getCurrentRowId: Ee,
3734
- reassignRowData: lt,
3735
- hasChildren: st,
3734
+ reassignRowData: st,
3735
+ hasChildren: lt,
3736
3736
  getCollapseField: En,
3737
3737
  getCollapseStatusById: ut,
3738
3738
  getVisibleDataByIds: In,
@@ -3745,9 +3745,9 @@ const ra = /* @__PURE__ */ Re({
3745
3745
  }), Pn = H(() => ({
3746
3746
  ...ie.value,
3747
3747
  borderRadius: "5px"
3748
- })), {
3749
- renderDataGridPagination: El
3750
- } = Ji(e, n, C, ge, q, w), Vn = H(() => ({
3748
+ }));
3749
+ Ji(e, n, C, ge, q, S);
3750
+ const Vn = H(() => ({
3751
3751
  "d-flex": !0,
3752
3752
  "justify-content-between": Q.value && M.value,
3753
3753
  "justify-content-end": Q.value && !M.value,
@@ -3759,7 +3759,7 @@ const ra = /* @__PURE__ */ Re({
3759
3759
  renderDataGridSummary: Nn
3760
3760
  } = Qi(e, C, U);
3761
3761
  return () => g("div", {
3762
- ref: l,
3762
+ ref: s,
3763
3763
  class: I.value,
3764
3764
  style: Pn.value,
3765
3765
  onWheel: Qe
@@ -3780,10 +3780,10 @@ di(ra);
3780
3780
  const aa = /* @__PURE__ */ new Map([
3781
3781
  ["appearance", yn]
3782
3782
  ]);
3783
- function la(e, n, t) {
3783
+ function sa(e, n, t) {
3784
3784
  return n;
3785
3785
  }
3786
- const sa = "https://json-schema.org/draft/2020-12/schema", ua = "https://farris-design.gitee.io/step.schema.json", ca = "step", da = "A Farris Component", fa = "object", pa = {
3786
+ const la = "https://json-schema.org/draft/2020-12/schema", ua = "https://farris-design.gitee.io/step.schema.json", ca = "step", da = "A Farris Component", fa = "object", pa = {
3787
3787
  id: {
3788
3788
  description: "The unique identifier for step",
3789
3789
  type: "string"
@@ -3849,7 +3849,7 @@ const sa = "https://json-schema.org/draft/2020-12/schema", ua = "https://farris-
3849
3849
  "id",
3850
3850
  "type"
3851
3851
  ], va = {
3852
- $schema: sa,
3852
+ $schema: la,
3853
3853
  $id: ua,
3854
3854
  title: ca,
3855
3855
  description: da,
@@ -3914,7 +3914,7 @@ const sa = "https://json-schema.org/draft/2020-12/schema", ua = "https://farris-
3914
3914
  onClick: { type: Function, default: () => {
3915
3915
  } }
3916
3916
  };
3917
- Tt(wa, va, aa, la, Ca);
3917
+ Tt(wa, va, aa, sa, Ca);
3918
3918
  const xa = "root-viewmodel";
3919
3919
  class Sa {
3920
3920
  constructor(n, t) {
@@ -3974,7 +3974,7 @@ class Sa {
3974
3974
  const { selectedFields: r } = n;
3975
3975
  r == null || r.forEach((d) => {
3976
3976
  if (d.$type === bt.SimpleField) {
3977
- const l = yt(d), u = this.resolveControlClassByFormColumns(n), m = this.controlCreatorUtils.setFormFieldProperty(l, "", u);
3977
+ const s = yt(d), u = this.resolveControlClassByFormColumns(n), m = this.controlCreatorUtils.setFormFieldProperty(s, "", u);
3978
3978
  m && i.push(m);
3979
3979
  }
3980
3980
  });
@@ -4042,14 +4042,14 @@ class Sa {
4042
4042
  }
4043
4043
  }
4044
4044
  function Fa(e, n, t, o) {
4045
- var r, a, d, l, u, m;
4045
+ var r, a, d, s, u, m;
4046
4046
  const i = t.parentComponentInstance;
4047
4047
  if (i && o) {
4048
- const s = (r = i.schema) == null ? void 0 : r.type, c = {
4048
+ const l = (r = i.schema) == null ? void 0 : r.type, c = {
4049
4049
  componentId: `form-${Math.random().toString(36).slice(2, 6)}`,
4050
- componentName: ((a = t.bindingSourceContext) == null ? void 0 : a.entityTitle) || ((l = (d = t.bindingSourceContext) == null ? void 0 : d.bindingEntity) == null ? void 0 : l.name) || "标题",
4050
+ componentName: ((a = t.bindingSourceContext) == null ? void 0 : a.entityTitle) || ((s = (d = t.bindingSourceContext) == null ? void 0 : d.bindingEntity) == null ? void 0 : s.name) || "标题",
4051
4051
  componentType: "form",
4052
- formColumns: s === "splitter-pane" ? 1 : 4,
4052
+ formColumns: l === "splitter-pane" ? 1 : 4,
4053
4053
  parentContainerId: i.schema.id,
4054
4054
  bindTo: ((u = t.bindingSourceContext) == null ? void 0 : u.bindTo) || "/",
4055
4055
  selectedFields: (m = t.bindingSourceContext) == null ? void 0 : m.bindingEntityFields
@@ -4182,7 +4182,7 @@ const La = "https://json-schema.org/draft/2020-12/schema", $a = "https://farris-
4182
4182
  }
4183
4183
  }
4184
4184
  };
4185
- ln(qa, Ua, Mr, Ta);
4185
+ sn(qa, Ua, Mr, Ta);
4186
4186
  const _a = {
4187
4187
  width: { Type: Number, default: 400 },
4188
4188
  type: { Type: String, default: "info" },
@@ -4199,12 +4199,12 @@ const _a = {
4199
4199
  function qt() {
4200
4200
  return new DOMException("The request is not allowed", "NotAllowedError");
4201
4201
  }
4202
- async function Ga(e) {
4202
+ async function Wa(e) {
4203
4203
  if (!navigator.clipboard)
4204
4204
  throw qt();
4205
4205
  return navigator.clipboard.writeText(e);
4206
4206
  }
4207
- async function Wa(e) {
4207
+ async function Ga(e) {
4208
4208
  const n = document.createElement("span");
4209
4209
  n.textContent = e, n.style.whiteSpace = "pre", n.style.webkitUserSelect = "auto", n.style.userSelect = "all", document.body.appendChild(n);
4210
4210
  const t = window.getSelection(), o = window.document.createRange();
@@ -4220,10 +4220,10 @@ async function Wa(e) {
4220
4220
  }
4221
4221
  async function Xa(e) {
4222
4222
  try {
4223
- await Ga(e);
4223
+ await Wa(e);
4224
4224
  } catch (n) {
4225
4225
  try {
4226
- await Wa(e);
4226
+ await Ga(e);
4227
4227
  } catch (t) {
4228
4228
  throw t || n || qt();
4229
4229
  }
@@ -4236,13 +4236,13 @@ function Ya() {
4236
4236
  return { onCopy: e };
4237
4237
  }
4238
4238
  function Ja(e, n, t, o) {
4239
- const i = h(14), r = h(140), a = h(""), d = h(o.value.length), l = H(() => o.value), u = H(() => ({
4239
+ const i = h(14), r = h(140), a = h(""), d = h(o.value.length), s = H(() => o.value), u = H(() => ({
4240
4240
  "font-size": `${i.value}px`,
4241
4241
  height: "100%"
4242
4242
  }));
4243
- function m(s) {
4244
- if (s.currentTarget) {
4245
- const p = s.currentTarget.value || "";
4243
+ function m(l) {
4244
+ if (l.currentTarget) {
4245
+ const p = l.currentTarget.value || "";
4246
4246
  d.value = p.length;
4247
4247
  }
4248
4248
  }
@@ -4253,8 +4253,8 @@ function Ja(e, n, t, o) {
4253
4253
  style: u.value,
4254
4254
  rows: "4",
4255
4255
  maxlength: r.value,
4256
- onInput: (s) => m(s)
4257
- }, [l.value]), g("span", {
4256
+ onInput: (l) => m(l)
4257
+ }, [s.value]), g("span", {
4258
4258
  class: "textarea-wordcount",
4259
4259
  title: a.value,
4260
4260
  style: "position: absolute; bottom: 76px; right: 32px; cursor: pointer; text-align: right;"
@@ -4298,7 +4298,7 @@ function Ka(e, n) {
4298
4298
  const t = n.getEditorRender(e.promptEditorType);
4299
4299
  return () => t && t();
4300
4300
  }
4301
- function el(e, n) {
4301
+ function es(e, n) {
4302
4302
  function t(c) {
4303
4303
  if (c == null)
4304
4304
  return 0;
@@ -4327,18 +4327,18 @@ function el(e, n) {
4327
4327
  const i = H(() => !!e.value && !!e.value.date), r = H(() => {
4328
4328
  const c = e.value && e.value.date || "";
4329
4329
  return `${n.exception.happend} : ${c}`;
4330
- }), a = H(() => !!e.value && !!e.value.detail), d = H(() => e.value ? t(e.value.detail) > 160 : !1), l = h(!1), u = H(() => l.value ? n.exception.collapse : n.exception.expand), m = H(() => {
4330
+ }), a = H(() => !!e.value && !!e.value.detail), d = H(() => e.value ? t(e.value.detail) > 160 : !1), s = h(!1), u = H(() => s.value ? n.exception.collapse : n.exception.expand), m = H(() => {
4331
4331
  const c = n.exception.detail + " : " + (e.value && e.value.detail) || "";
4332
- return l.value ? c : o(c, 160);
4333
- }), s = H(() => ({
4332
+ return s.value ? c : o(c, 160);
4333
+ }), l = H(() => ({
4334
4334
  position: "absolute",
4335
4335
  right: 0,
4336
- bottom: l.value ? 0 : "2px",
4336
+ bottom: s.value ? 0 : "2px",
4337
4337
  color: "#2A87FF",
4338
4338
  cursor: "pointer"
4339
4339
  }));
4340
4340
  function p() {
4341
- l.value = !l.value;
4341
+ s.value = !s.value;
4342
4342
  }
4343
4343
  return () => g("div", {
4344
4344
  class: "toast-msg-detail"
@@ -4349,27 +4349,27 @@ function el(e, n) {
4349
4349
  }, [g("div", {
4350
4350
  innerHTML: m.value
4351
4351
  }, null), d.value && g("span", {
4352
- style: s.value,
4352
+ style: l.value,
4353
4353
  onClick: p
4354
4354
  }, [u.value])])])]);
4355
4355
  }
4356
- function tl(e) {
4356
+ function ts(e) {
4357
4357
  return () => g("p", {
4358
4358
  class: "toast-msg-detail",
4359
4359
  innerHTML: e.value
4360
4360
  }, null);
4361
4361
  }
4362
- function nl(e, n, t, o, i) {
4362
+ function ns(e, n, t, o, i) {
4363
4363
  const r = h(e.exceptionInfo), a = H(() => {
4364
4364
  const f = n.value === "question" ? "warning" : n.value, v = {
4365
4365
  "f-icon": !0
4366
4366
  }, y = `f-icon-${f}`;
4367
4367
  return v[y] = !0, v;
4368
- }), d = H(() => t.value || r.value && r.value.message), l = H(() => o.value), u = H(() => !!o.value), m = H(() => !!r.value);
4369
- function s() {
4370
- return m.value ? el(r, i) : u.value ? tl(l) : () => null;
4368
+ }), d = H(() => t.value || r.value && r.value.message), s = H(() => o.value), u = H(() => !!o.value), m = H(() => !!r.value);
4369
+ function l() {
4370
+ return m.value ? es(r, i) : u.value ? ts(s) : () => null;
4371
4371
  }
4372
- const p = s(), c = H(() => i.locale === "en" ? {
4372
+ const p = l(), c = H(() => i.locale === "en" ? {
4373
4373
  wordBreak: "keep-all",
4374
4374
  overflowWrap: "break-word"
4375
4375
  } : {});
@@ -4385,17 +4385,17 @@ function nl(e, n, t, o, i) {
4385
4385
  style: c.value
4386
4386
  }, null), p()])]);
4387
4387
  }
4388
- function ol(e, n, t, o) {
4388
+ function os(e, n, t, o) {
4389
4389
  const {
4390
4390
  onCopy: i
4391
4391
  } = n, {
4392
4392
  toShowFeedback: r
4393
- } = t, a = h(o.exception.copySuccess || "复制成功"), d = h(o.exception.copy || "复制详细信息"), l = h(e.exceptionInfo || {
4393
+ } = t, a = h(o.exception.copySuccess || "复制成功"), d = h(o.exception.copy || "复制详细信息"), s = h(e.exceptionInfo || {
4394
4394
  date: "",
4395
4395
  message: "",
4396
4396
  detail: ""
4397
- }), u = H(() => l.value && l.value.detail || "");
4398
- function m(s) {
4397
+ }), u = H(() => s.value && s.value.detail || "");
4398
+ function m(l) {
4399
4399
  i(u.value).catch((p) => {
4400
4400
  a.value = o.exception.copyFailed || "复制失败";
4401
4401
  }).finally(() => {
@@ -4411,9 +4411,9 @@ function ol(e, n, t, o) {
4411
4411
  style: "cursor: pointer;"
4412
4412
  }, [d.value])]);
4413
4413
  }
4414
- function il(e, n, t, o, i) {
4415
- const r = h(e.type), a = h(e.buttons), d = h(e.exceptionInfo), l = h(i.ok || e.okButtonText), u = h(i.cancel || e.cancelButtonText), m = h(e.showCancelButton), s = h(e.showOkButton), p = H(() => !!(a.value && a.value.length)), c = H(() => d.value && d.value.message && d.value.detail), f = H(() => !(a.value && a.value.length) && (s.value || m.value)), v = ol(e, t, o, i);
4416
- l.value === "关闭" ? l.value = i.close : l.value === "知道了" && (l.value = i.exception.roger);
4414
+ function is(e, n, t, o, i) {
4415
+ const r = h(e.type), a = h(e.buttons), d = h(e.exceptionInfo), s = h(i.ok || e.okButtonText), u = h(i.cancel || e.cancelButtonText), m = h(e.showCancelButton), l = h(e.showOkButton), p = H(() => !!(a.value && a.value.length)), c = H(() => d.value && d.value.message && d.value.detail), f = H(() => !(a.value && a.value.length) && (l.value || m.value)), v = os(e, t, o, i);
4416
+ s.value === "关闭" ? s.value = i.close : s.value === "知道了" && (s.value = i.exception.roger);
4417
4417
  function y(E) {
4418
4418
  r.value === "question" && n.emit("reject"), n.emit("close");
4419
4419
  }
@@ -4426,11 +4426,11 @@ function il(e, n, t, o, i) {
4426
4426
  type: "button",
4427
4427
  class: "btn btn-secondary btn-lg",
4428
4428
  onClick: y
4429
- }, [u.value]), f.value && s.value && g("button", {
4429
+ }, [u.value]), f.value && l.value && g("button", {
4430
4430
  type: "button",
4431
4431
  class: "btn btn-primary btn-lg",
4432
4432
  onClick: T
4433
- }, [l.value]), p.value && a.value.length && a.value.map((E) => g("button", {
4433
+ }, [s.value]), p.value && a.value.length && a.value.map((E) => g("button", {
4434
4434
  type: "button",
4435
4435
  onClick: E.handle,
4436
4436
  class: E.class
@@ -4438,7 +4438,7 @@ function il(e, n, t, o, i) {
4438
4438
  class: E.iconClass
4439
4439
  }, null), E.text]))]);
4440
4440
  }
4441
- function rl(e) {
4441
+ function rs(e) {
4442
4442
  const { t: n, locale: t } = zt();
4443
4443
  function o(i, r, a) {
4444
4444
  return r === a ? n(i) : r;
@@ -4469,7 +4469,7 @@ const ht = /* @__PURE__ */ Re({
4469
4469
  props: _a,
4470
4470
  emits: ["accept", "reject", "close"],
4471
4471
  setup(e, n) {
4472
- const t = rl(e), o = h(e.type), i = h(e.title), r = h(e.detail), a = H(() => {
4472
+ const t = rs(e), o = h(e.type), i = h(e.title), r = h(e.detail), a = H(() => {
4473
4473
  const T = {
4474
4474
  "modal-tips": !0,
4475
4475
  "d-flex": !0,
@@ -4481,14 +4481,14 @@ const ht = /* @__PURE__ */ Re({
4481
4481
  cursor: "default"
4482
4482
  };
4483
4483
  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;
4484
- }), l = Ya(), u = Qa(e, o, i, r), m = Za(), {
4485
- feedbackStyle: s,
4484
+ }), s = Ya(), u = Qa(e, o, i, r), m = Za(), {
4485
+ feedbackStyle: l,
4486
4486
  feedbackMessage: p
4487
4487
  } = m;
4488
4488
  p.value = t.exception.copySuccess;
4489
4489
  function c() {
4490
4490
  return g("div", {
4491
- style: s.value
4491
+ style: l.value
4492
4492
  }, [p.value]);
4493
4493
  }
4494
4494
  function f() {
@@ -4496,10 +4496,10 @@ const ht = /* @__PURE__ */ Re({
4496
4496
  case "prompt":
4497
4497
  return Ka(e, u);
4498
4498
  default:
4499
- return nl(e, o, i, r, t);
4499
+ return ns(e, o, i, r, t);
4500
4500
  }
4501
4501
  }
4502
- const v = f(), y = il(e, n, l, m, t);
4502
+ const v = f(), y = is(e, n, s, m, t);
4503
4503
  return () => g("div", {
4504
4504
  class: "farris-messager"
4505
4505
  }, [!e.exceptionInfo && g("div", {
@@ -4510,7 +4510,7 @@ const ht = /* @__PURE__ */ Re({
4510
4510
  style: d.value
4511
4511
  }, [v()]), y(), c()]);
4512
4512
  }
4513
- }), al = "https://json-schema.org/draft/2020-12/schema", ll = "https://farris-design.gitee.io/modal.schema.json", sl = "modal", ul = "弹窗组件", cl = "object", dl = {
4513
+ }), as = "https://json-schema.org/draft/2020-12/schema", ss = "https://farris-design.gitee.io/modal.schema.json", ls = "modal", us = "弹窗组件", cs = "object", ds = {
4514
4514
  id: {
4515
4515
  description: "组件唯一标识",
4516
4516
  type: "string"
@@ -4617,29 +4617,29 @@ const ht = /* @__PURE__ */ Re({
4617
4617
  type: "object",
4618
4618
  default: null
4619
4619
  }
4620
- }, fl = [
4620
+ }, fs = [
4621
4621
  "id",
4622
4622
  "type"
4623
- ], pl = {
4623
+ ], ps = {
4624
4624
  onAccept: "确定事件",
4625
4625
  onCancel: "取消事件",
4626
4626
  beforeClose: "关闭前回调"
4627
- }, ml = {
4628
- $schema: al,
4629
- $id: ll,
4630
- title: sl,
4631
- description: ul,
4632
- type: cl,
4633
- properties: dl,
4634
- required: fl,
4635
- events: pl
4636
- }, vl = /* @__PURE__ */ new Map([
4627
+ }, ms = {
4628
+ $schema: as,
4629
+ $id: ss,
4630
+ title: ls,
4631
+ description: us,
4632
+ type: cs,
4633
+ properties: ds,
4634
+ required: fs,
4635
+ events: ps
4636
+ }, vs = /* @__PURE__ */ new Map([
4637
4637
  ["appearance", Zi]
4638
4638
  ]);
4639
- function gl(e, n, t) {
4639
+ function gs(e, n, t) {
4640
4640
  return n;
4641
4641
  }
4642
- function hl() {
4642
+ function hs() {
4643
4643
  function e(n, t) {
4644
4644
  const o = {};
4645
4645
  return o.beforeClose = (i) => t.call("beforeClose", [i, n]), o;
@@ -4728,7 +4728,7 @@ const xn = {
4728
4728
  src: { type: String, default: "" },
4729
4729
  footerHeight: { type: Number, default: 60 },
4730
4730
  host: { type: Object, default: "body" }
4731
- }, yl = ln(xn, ml, vl, gl), bl = hl();
4731
+ }, ys = sn(xn, ms, vs, gs), bs = hs();
4732
4732
  class he {
4733
4733
  constructor(n, t) {
4734
4734
  this.x = n, this.y = t;
@@ -4812,20 +4812,20 @@ class tt {
4812
4812
  return this.width = n.width, this.height = n.height, this;
4813
4813
  }
4814
4814
  }
4815
- function Cl(e, n) {
4816
- const t = h(), o = h(), i = h(), r = h(), a = h(), d = h(), l = h(), u = h(), m = h(), s = h(), p = h(), c = h(e.resizeable), f = h(), v = h(e.draggable), y = h(!1);
4815
+ function Cs(e, n) {
4816
+ const t = h(), o = h(), i = h(), r = h(), a = h(), d = h(), s = h(), u = h(), m = h(), l = h(), p = h(), c = h(e.resizeable), f = h(), v = h(e.draggable), y = h(!1);
4817
4817
  function T() {
4818
4818
  const N = o.value || document.body, B = window.getComputedStyle(N);
4819
4819
  if (!B || !t.value)
4820
4820
  return;
4821
4821
  const ee = he.getTransformInfo(t.value), U = {};
4822
- l.value && (U.deltaL = t.value.offsetLeft - l.value.x, U.deltaT = t.value.offsetTop - l.value.y);
4822
+ s.value && (U.deltaL = t.value.offsetLeft - s.value.x, U.deltaT = t.value.offsetTop - s.value.y);
4823
4823
  const ae = B.getPropertyValue("position");
4824
- U.width = N.clientWidth, U.height = N.clientHeight, U.pr = parseInt(B.getPropertyValue("padding-right"), 10), U.pb = parseInt(B.getPropertyValue("padding-bottom"), 10), U.position = B.getPropertyValue("position"), ae === "static" && (N.style.position = "relative"), U.translateX = ee.x, U.translateY = ee.y, s.value = U;
4824
+ U.width = N.clientWidth, U.height = N.clientHeight, U.pr = parseInt(B.getPropertyValue("padding-right"), 10), U.pb = parseInt(B.getPropertyValue("padding-bottom"), 10), U.position = B.getPropertyValue("position"), ae === "static" && (N.style.position = "relative"), U.translateX = ee.x, U.translateY = ee.y, l.value = U;
4825
4825
  }
4826
4826
  function E(N) {
4827
4827
  if (t.value) {
4828
- r.value = tt.getCurrent(t.value), a.value = he.getCurrent(t.value), d.value = r.value ? tt.copy(r.value) : null, l.value = a.value ? he.copy(a.value) : null, T();
4828
+ r.value = tt.getCurrent(t.value), a.value = he.getCurrent(t.value), d.value = r.value ? tt.copy(r.value) : null, s.value = a.value ? he.copy(a.value) : null, T();
4829
4829
  const B = N.target.getAttribute("type") || "";
4830
4830
  u.value = {
4831
4831
  n: !!B.match(/n/),
@@ -4839,19 +4839,19 @@ function Cl(e, n) {
4839
4839
  var N, B, ee, U;
4840
4840
  if (t.value) {
4841
4841
  const ae = t.value;
4842
- u.value && ((u.value.n || u.value.s) && ((N = d.value) != null && N.height) && (ae.style.height = d.value.height + "px"), (u.value.w || u.value.e) && ((B = d.value) != null && B.width) && (ae.style.width = d.value.width + "px"), l.value && ((ee = l.value) != null && ee.x && (ae.style.left = l.value.x + "px"), (U = l.value) != null && U.y && (ae.style.top = l.value.y + "px")));
4842
+ u.value && ((u.value.n || u.value.s) && ((N = d.value) != null && N.height) && (ae.style.height = d.value.height + "px"), (u.value.w || u.value.e) && ((B = d.value) != null && B.width) && (ae.style.width = d.value.width + "px"), s.value && ((ee = s.value) != null && ee.x && (ae.style.left = s.value.x + "px"), (U = s.value) != null && U.y && (ae.style.top = s.value.y + "px")));
4843
4843
  }
4844
4844
  }
4845
4845
  function k() {
4846
4846
  const N = e.minHeight ? e.minHeight : 1, B = e.minWidth ? e.minWidth : 1;
4847
- d.value && l.value && u.value && r.value && (d.value.height < N && (d.value.height = N, u.value.n && a.value && (l.value.y = a.value.y + (r.value.height - N))), d.value.width < B && (d.value.width = B, u.value.w && a.value && (l.value.x = a.value.x + (r.value.width - B))), e.maxHeight && d.value.height > e.maxHeight && (d.value.height = e.maxHeight, a.value && u.value.n && (l.value.y = a.value.y + (r.value.height - e.maxHeight))), e.maxWidth && d.value.width > e.maxWidth && (d.value.width = e.maxWidth, u.value.w && a.value && (l.value.x = a.value.x + (r.value.width - e.maxWidth))));
4847
+ d.value && s.value && u.value && r.value && (d.value.height < N && (d.value.height = N, u.value.n && a.value && (s.value.y = a.value.y + (r.value.height - N))), d.value.width < B && (d.value.width = B, u.value.w && a.value && (s.value.x = a.value.x + (r.value.width - B))), e.maxHeight && d.value.height > e.maxHeight && (d.value.height = e.maxHeight, a.value && u.value.n && (s.value.y = a.value.y + (r.value.height - e.maxHeight))), e.maxWidth && d.value.width > e.maxWidth && (d.value.width = e.maxWidth, u.value.w && a.value && (s.value.x = a.value.x + (r.value.width - e.maxWidth))));
4848
4848
  }
4849
- function S() {
4849
+ function x() {
4850
4850
  if (o.value) {
4851
- const N = s.value;
4852
- if (l.value && d.value && u.value && r.value) {
4853
- const B = N.width - N.pr - N.deltaL - N.translateX - l.value.x, ee = N.height - N.pb - N.deltaT - N.translateY - l.value.y;
4854
- u.value.n && l.value.y + N.translateY < 0 && a.value && (l.value.y = -N.translateY, d.value.height = r.value.height + a.value.y + N.translateY), u.value.w && l.value.x + N.translateX < 0 && a.value && (l.value.x = -N.translateX, d.value.width = r.value.width + a.value.x + N.translateX), d.value.width > B && (d.value.width = B), d.value.height > ee && (d.value.height = ee);
4851
+ const N = l.value;
4852
+ if (s.value && d.value && u.value && r.value) {
4853
+ const B = N.width - N.pr - N.deltaL - N.translateX - s.value.x, ee = N.height - N.pb - N.deltaT - N.translateY - s.value.y;
4854
+ u.value.n && s.value.y + N.translateY < 0 && a.value && (s.value.y = -N.translateY, d.value.height = r.value.height + a.value.y + N.translateY), u.value.w && s.value.x + N.translateX < 0 && a.value && (s.value.x = -N.translateX, d.value.width = r.value.width + a.value.x + N.translateX), d.value.width > B && (d.value.width = B), d.value.height > ee && (d.value.height = ee);
4855
4855
  }
4856
4856
  }
4857
4857
  }
@@ -4860,15 +4860,15 @@ function Cl(e, n) {
4860
4860
  return;
4861
4861
  N.subtract(i.value);
4862
4862
  const B = N.x, ee = N.y;
4863
- u.value.n ? (l.value.y = a.value.y + ee, d.value.height = r.value.height - ee) : u.value.s && (d.value.height = r.value.height + ee), u.value.e ? d.value.width = r.value.width + B : u.value.w && (d.value.width = r.value.width - B, l.value.x = a.value.x + B), S(), k(), A();
4863
+ u.value.n ? (s.value.y = a.value.y + ee, d.value.height = r.value.height - ee) : u.value.s && (d.value.height = r.value.height + ee), u.value.e ? d.value.width = r.value.width + B : u.value.w && (d.value.width = r.value.width - B, s.value.x = a.value.x + B), x(), k(), A();
4864
4864
  }
4865
- function x(N) {
4865
+ function w(N) {
4866
4866
  if (!m.value)
4867
4867
  return;
4868
4868
  const B = he.fromEvent(N);
4869
4869
  B && C(B);
4870
4870
  }
4871
- function w() {
4871
+ function S() {
4872
4872
  if (t.value) {
4873
4873
  const {
4874
4874
  width: N,
@@ -4891,13 +4891,13 @@ function Cl(e, n) {
4891
4891
  }
4892
4892
  function M(N) {
4893
4893
  if (t.value) {
4894
- const B = w();
4894
+ const B = S();
4895
4895
  p.value = B;
4896
4896
  }
4897
- i.value = void 0, r.value = null, a.value = null, d.value = null, l.value = null, u.value = null, m.value = null, document.removeEventListener("mousemove", x), document.removeEventListener("mouseup", M);
4897
+ i.value = void 0, r.value = null, a.value = null, d.value = null, s.value = null, u.value = null, m.value = null, document.removeEventListener("mousemove", w), document.removeEventListener("mouseup", M);
4898
4898
  }
4899
4899
  function O() {
4900
- document.addEventListener("mousemove", x), document.addEventListener("mouseup", M);
4900
+ document.addEventListener("mousemove", w), document.addEventListener("mouseup", M);
4901
4901
  }
4902
4902
  function F(N) {
4903
4903
  N instanceof MouseEvent && N.button === 2 || v.value && (document.body.click(), N.stopPropagation(), N.preventDefault(), i.value = he.fromEvent(N), m.value = N.target, E(N), O());
@@ -4937,10 +4937,10 @@ function Cl(e, n) {
4937
4937
  onMousedown: (B) => F(B)
4938
4938
  }, null)]);
4939
4939
  }
4940
- function W(N = !0) {
4940
+ function G(N = !0) {
4941
4941
  document.body.click();
4942
4942
  const B = o.value || document.body, ee = tt.getCurrent(B), U = t.value;
4943
- N && U && (f.value = w(), f.value.transform = U.style.transform), ee && U && (d.value = ee, d.value.height -= 14, d.value.width -= 14, U.style.height = d.value.height + "px", U.style.width = d.value.width + "px", U.style.left = "7px", U.style.top = "7px", U.style.transform = "", p.value = {
4943
+ N && U && (f.value = S(), f.value.transform = U.style.transform), ee && U && (d.value = ee, d.value.height -= 14, d.value.width -= 14, U.style.height = d.value.height + "px", U.style.width = d.value.width + "px", U.style.left = "7px", U.style.top = "7px", U.style.transform = "", p.value = {
4944
4944
  size: d.value,
4945
4945
  position: {
4946
4946
  x: 0,
@@ -4958,7 +4958,7 @@ function Cl(e, n) {
4958
4958
  x: (window.innerWidth - ee.width) / 2,
4959
4959
  y: (window.innerHeight - ee.height) / 2
4960
4960
  };
4961
- (N = d.value) == null || N.set(ee), (B = l.value) == null || B.set(U);
4961
+ (N = d.value) == null || N.set(ee), (B = s.value) == null || B.set(U);
4962
4962
  const ae = t.value;
4963
4963
  ae.style.height = ee.height + "px", ae.style.width = ee.width + "px", ae.style.left = `${U.x}px`, ae.style.top = `${U.y}px`, ae.style.transform = "", p.value = {
4964
4964
  size: ee,
@@ -4980,7 +4980,7 @@ function Cl(e, n) {
4980
4980
  }
4981
4981
  function ie() {
4982
4982
  const N = () => {
4983
- y.value ? W(!1) : Q(), document.body.click();
4983
+ y.value ? G(!1) : Q(), document.body.click();
4984
4984
  };
4985
4985
  return window.addEventListener("resize", N), () => {
4986
4986
  window.removeEventListener("resize", N);
@@ -4991,7 +4991,7 @@ function Cl(e, n) {
4991
4991
  renderResizeBar: J,
4992
4992
  boundingElement: o,
4993
4993
  resizedEventParam: p,
4994
- maximize: W,
4994
+ maximize: G,
4995
4995
  restore: q,
4996
4996
  allowDrag: v,
4997
4997
  isMaximized: y,
@@ -4999,79 +4999,79 @@ function Cl(e, n) {
4999
4999
  moveToCenter: Q
5000
5000
  };
5001
5001
  }
5002
- function wl(e, n, t) {
5003
- const o = h(), i = h(e.draggable), r = h(e.lockAxis), a = h(), d = h(), l = h(!1), u = h(new he(0, 0)), m = h(new he(0, 0)), s = h(new he(0, 0)), p = h(new he(0, 0));
5004
- ye(() => t.value, (x) => {
5005
- a.value.style.cursor = x ? "move" : "default";
5002
+ function ws(e, n, t) {
5003
+ const o = h(), i = h(e.draggable), r = h(e.lockAxis), a = h(), d = h(), s = h(!1), u = h(new he(0, 0)), m = h(new he(0, 0)), l = h(new he(0, 0)), p = h(new he(0, 0));
5004
+ ye(() => t.value, (w) => {
5005
+ a.value.style.cursor = w ? "move" : "default";
5006
5006
  });
5007
- function c(x, w) {
5008
- if (w.tagName === "BUTTON")
5007
+ function c(w, S) {
5008
+ if (S.tagName === "BUTTON")
5009
5009
  return !1;
5010
- if (w === x)
5010
+ if (S === w)
5011
5011
  return !0;
5012
- for (const M in w.children)
5013
- if (Object.prototype.hasOwnProperty.call(w.children, M) && c(x, w.children[M]))
5012
+ for (const M in S.children)
5013
+ if (Object.prototype.hasOwnProperty.call(S.children, M) && c(w, S.children[M]))
5014
5014
  return !0;
5015
5015
  return !1;
5016
5016
  }
5017
5017
  function f() {
5018
5018
  var O, F;
5019
- let x = s.value.x + m.value.x, w = s.value.y + m.value.y;
5020
- r.value === "x" ? (x = ((O = u.value) == null ? void 0 : O.x) || 0, s.value.x = 0) : r.value === "y" && (w = ((F = u.value) == null ? void 0 : F.y) || 0, s.value.y = 0);
5021
- const M = `translate3d(${Math.round(x)}px, ${Math.round(w)}px, 0px)`;
5022
- o.value && (o.value.style.transform = M), p.value.x = x, p.value.y = w;
5019
+ let w = l.value.x + m.value.x, S = l.value.y + m.value.y;
5020
+ r.value === "x" ? (w = ((O = u.value) == null ? void 0 : O.x) || 0, l.value.x = 0) : r.value === "y" && (S = ((F = u.value) == null ? void 0 : F.y) || 0, l.value.y = 0);
5021
+ const M = `translate3d(${Math.round(w)}px, ${Math.round(S)}px, 0px)`;
5022
+ o.value && (o.value.style.transform = M), p.value.x = w, p.value.y = S;
5023
5023
  }
5024
5024
  function v() {
5025
5025
  if (!d.value || !o.value)
5026
5026
  return null;
5027
- const x = d.value.getBoundingClientRect(), w = o.value.getBoundingClientRect(), M = {
5028
- top: x.top < w.top,
5029
- right: x.right > w.right,
5030
- bottom: x.bottom > w.bottom,
5031
- left: x.left < w.left
5027
+ const w = d.value.getBoundingClientRect(), S = o.value.getBoundingClientRect(), M = {
5028
+ top: w.top < S.top,
5029
+ right: w.right > S.right,
5030
+ bottom: w.bottom > S.bottom,
5031
+ left: w.left < S.left
5032
5032
  };
5033
- return M.top || (s.value.y -= w.top - x.top), M.bottom || (s.value.y -= w.bottom - x.bottom), M.right || (s.value.x -= w.right - x.right), M.left || (s.value.x -= w.left - x.left), f(), M;
5033
+ return M.top || (l.value.y -= S.top - w.top), M.bottom || (l.value.y -= S.bottom - w.bottom), M.right || (l.value.x -= S.right - w.right), M.left || (l.value.x -= S.left - w.left), f(), M;
5034
5034
  }
5035
- function y(x) {
5036
- x && (u.value && x.subtract(u.value), s.value.set(x), f(), v());
5035
+ function y(w) {
5036
+ w && (u.value && w.subtract(u.value), l.value.set(w), f(), v());
5037
5037
  }
5038
- function T(x) {
5039
- l.value && i.value && (x.stopPropagation(), x.preventDefault(), y(he.fromEvent(x, a.value)));
5038
+ function T(w) {
5039
+ s.value && i.value && (w.stopPropagation(), w.preventDefault(), y(he.fromEvent(w, a.value)));
5040
5040
  }
5041
5041
  function E() {
5042
- var x;
5043
- l.value && (l.value = !1, m.value.add(s.value), s.value.reset(), (x = o.value) == null || x.classList.remove("ng-dragging"), n.emit("stopMove"), document.removeEventListener("mousemove", T), document.removeEventListener("mouseup", E));
5042
+ var w;
5043
+ s.value && (s.value = !1, m.value.add(l.value), l.value.reset(), (w = o.value) == null || w.classList.remove("ng-dragging"), n.emit("stopMove"), document.removeEventListener("mousemove", T), document.removeEventListener("mouseup", E));
5044
5044
  }
5045
5045
  function A() {
5046
- !l.value && a.value && (l.value = !0, a.value.classList.add("ng-dragging"), document.addEventListener("mousemove", T), document.addEventListener("mouseup", E));
5046
+ !s.value && a.value && (s.value = !0, a.value.classList.add("ng-dragging"), document.addEventListener("mousemove", T), document.addEventListener("mouseup", E));
5047
5047
  }
5048
5048
  function k() {
5049
5049
  if (o.value) {
5050
- const x = he.getTransformInfo(o.value);
5051
- m.value.set(x);
5050
+ const w = he.getTransformInfo(o.value);
5051
+ m.value.set(w);
5052
5052
  return;
5053
5053
  }
5054
5054
  m.value.reset();
5055
5055
  }
5056
- function S(x) {
5057
- if (!t.value || x instanceof MouseEvent && x.button === 2)
5056
+ function x(w) {
5057
+ if (!t.value || w instanceof MouseEvent && w.button === 2)
5058
5058
  return;
5059
- const w = x.target || x.srcElement;
5060
- a.value !== void 0 && w && !c(w, a.value) || i.value !== !1 && (document.body.click(), x.stopPropagation(), x.preventDefault(), u.value = he.fromEvent(x, o.value), k(), A());
5059
+ const S = w.target || w.srcElement;
5060
+ a.value !== void 0 && S && !c(S, a.value) || i.value !== !1 && (document.body.click(), w.stopPropagation(), w.preventDefault(), u.value = he.fromEvent(w, o.value), k(), A());
5061
5061
  }
5062
- function C(x, w, M) {
5063
- if (i.value && w) {
5064
- if (x)
5065
- a.value = x;
5062
+ function C(w, S, M) {
5063
+ if (i.value && S) {
5064
+ if (w)
5065
+ a.value = w;
5066
5066
  else if (e.dragHandle) {
5067
5067
  if (e.dragHandle instanceof HTMLElement)
5068
5068
  a.value = e.dragHandle;
5069
5069
  else if (typeof e.dragHandle == "string") {
5070
- const O = w.querySelector(e.dragHandle);
5070
+ const O = S.querySelector(e.dragHandle);
5071
5071
  O && (a.value = O);
5072
5072
  }
5073
5073
  }
5074
- o.value = w, d.value = M, a.value ? (a.value.classList.add("ng-draggable"), a.value.addEventListener("mousedown", S)) : i.value = !1;
5074
+ o.value = S, d.value = M, a.value ? (a.value.classList.add("ng-draggable"), a.value.addEventListener("mousedown", x)) : i.value = !1;
5075
5075
  }
5076
5076
  }
5077
5077
  return {
@@ -5089,7 +5089,7 @@ function Sn(e, n) {
5089
5089
  };
5090
5090
  }
5091
5091
  }
5092
- function xl(e, n) {
5092
+ function xs(e, n) {
5093
5093
  const t = h(e.enableEsc);
5094
5094
  let o = null;
5095
5095
  return t.value ? (o = Sn("Escape", (i) => {
@@ -5098,7 +5098,7 @@ function xl(e, n) {
5098
5098
  remove: o
5099
5099
  }) : null;
5100
5100
  }
5101
- function Sl(e, n) {
5101
+ function Ss(e, n) {
5102
5102
  const t = h(e.enableEnter);
5103
5103
  let o = null;
5104
5104
  return t.value ? (o = Sn("Enter", (i) => {
@@ -5112,11 +5112,11 @@ const nt = /* @__PURE__ */ Re({
5112
5112
  props: xn,
5113
5113
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove"],
5114
5114
  setup(e, n) {
5115
- const t = h(e.width || 300), o = h(e.height || 200), i = h(e.modelValue), r = h(""), a = h(e.class), d = h(e.fitContent), l = h(e.showHeader), u = h(""), m = h(e.showCloseButton), s = h(e.showMaxButton), p = h(!1), c = h(e.dialogType), f = h(e.src), v = h(""), y = h(e.showButtons), T = h(e.title), E = h(e.containment || null), A = h(), {
5115
+ const t = h(e.width || 300), o = h(e.height || 200), i = h(e.modelValue), r = h(""), a = h(e.class), d = h(e.fitContent), s = h(e.showHeader), u = h(""), m = h(e.showCloseButton), l = h(e.showMaxButton), p = h(!1), c = h(e.dialogType), f = h(e.src), v = h(""), y = h(e.showButtons), T = h(e.title), E = h(e.containment || null), A = h(), {
5116
5116
  t: k
5117
5117
  } = zt();
5118
5118
  T.value === "错误提示" && (T.value = k("messageBox.errorTitle"));
5119
- const S = h(!1);
5119
+ const x = h(!1);
5120
5120
  function C(I, ne) {
5121
5121
  const be = ne ? "accept" : "cancel";
5122
5122
  Promise.resolve().then(() => {
@@ -5128,7 +5128,7 @@ const nt = /* @__PURE__ */ Re({
5128
5128
  we && (i.value = !1, n.emit("update:modelValue", !1), ne != null && n.emit(ne ? "accept" : "cancel"), n.emit("closed", I));
5129
5129
  });
5130
5130
  }
5131
- const x = [{
5131
+ const w = [{
5132
5132
  name: "cancel",
5133
5133
  text: k("messageBox.cancel") || "取消",
5134
5134
  class: "btn btn-secondary",
@@ -5142,7 +5142,7 @@ const nt = /* @__PURE__ */ Re({
5142
5142
  handle: (I) => {
5143
5143
  C(I, !0);
5144
5144
  }
5145
- }], w = h(e.buttons && e.buttons.length ? e.buttons : x), M = H(() => !!u.value), O = H(() => !!y.value && !!w.value), F = h(), J = h(), W = h(!1), {
5145
+ }], S = h(e.buttons && e.buttons.length ? e.buttons : w), M = H(() => !!u.value), O = H(() => !!y.value && !!S.value), F = h(), J = h(), G = h(!1), {
5146
5146
  renderResizeBar: q,
5147
5147
  maximize: Q,
5148
5148
  restore: ie,
@@ -5151,9 +5151,9 @@ const nt = /* @__PURE__ */ Re({
5151
5151
  allowDrag: B,
5152
5152
  unWindowResizeHandle: ee,
5153
5153
  moveToCenter: U
5154
- } = Cl(e), {
5154
+ } = Cs(e), {
5155
5155
  registerDraggle: ae
5156
- } = wl(e, n, B);
5156
+ } = ws(e, n, B);
5157
5157
  function Ce() {
5158
5158
  return !!document.querySelectorAll(".farris-modal").length && document.body.classList.contains("modal-open");
5159
5159
  }
@@ -5166,9 +5166,9 @@ const nt = /* @__PURE__ */ Re({
5166
5166
  }), ye(() => e.modelValue, (I, ne) => {
5167
5167
  I !== ne && (i.value = I, i.value && e.draggable && ct(() => {
5168
5168
  J.value && !E.value && (E.value = J.value.parentElement, fe.value = E.value, ae(F.value, J.value, fe.value), U());
5169
- }), I || (E.value && (E.value = null), me())), i.value ? S.value = Ce() : (W.value = !1, B.value = e.draggable);
5169
+ }), I || (E.value && (E.value = null), me())), i.value ? x.value = Ce() : (G.value = !1, B.value = e.draggable);
5170
5170
  }), ye(() => e.showHeader, (I, ne) => {
5171
- I !== ne && (l.value = I);
5171
+ I !== ne && (s.value = I);
5172
5172
  }), ye(() => e.showButtons, (I, ne) => {
5173
5173
  I !== ne && (y.value = I);
5174
5174
  }), ye(() => N.value, (I, ne) => {
@@ -5176,7 +5176,7 @@ const nt = /* @__PURE__ */ Re({
5176
5176
  JSON.stringify(be) !== JSON.stringify(we) && n.emit("resize", {
5177
5177
  newSize: I,
5178
5178
  oldSize: ne,
5179
- isMaximized: W.value
5179
+ isMaximized: G.value
5180
5180
  });
5181
5181
  });
5182
5182
  const te = H(() => (i.value && document.body.classList.add("modal-open"), i.value)), pe = H(() => {
@@ -5195,7 +5195,7 @@ const nt = /* @__PURE__ */ Re({
5195
5195
  "modal-dialog": !0
5196
5196
  }, ne = (be = a.value) == null ? void 0 : be.split(" ");
5197
5197
  return ne == null || ne.reduce((we, qe) => (we[qe] = !0, we), I), I;
5198
- }), se = H(() => {
5198
+ }), le = H(() => {
5199
5199
  const I = {
5200
5200
  position: "absolute",
5201
5201
  top: `${(window.innerHeight - o.value) / 2}px`,
@@ -5209,20 +5209,20 @@ const nt = /* @__PURE__ */ Re({
5209
5209
  display: "block",
5210
5210
  zIndex: _()
5211
5211
  };
5212
- return e.mask || (I.pointerEvents = "none", I.backgroundColor = "transparent"), S.value && (I.backgroundColor = "transparent"), I;
5212
+ return e.mask || (I.pointerEvents = "none", I.backgroundColor = "transparent"), x.value && (I.backgroundColor = "transparent"), I;
5213
5213
  }), ze = H(() => ({
5214
5214
  "modal-content": !0,
5215
- "modal-content-has-header": l.value
5215
+ "modal-content-has-header": s.value
5216
5216
  })), Le = H(() => {
5217
5217
  const I = {
5218
- display: l.value ? "" : "none"
5218
+ display: s.value ? "" : "none"
5219
5219
  };
5220
5220
  return I["pointer-events"] = B.value ? "auto" : "none", I;
5221
5221
  }), Oe = H(() => ({
5222
5222
  "f-icon": !0,
5223
5223
  modal_maximize: !0,
5224
- modalrevert: W.value
5225
- })), Ge = H(() => ({
5224
+ modalrevert: G.value
5225
+ })), We = H(() => ({
5226
5226
  "modal-body": !0,
5227
5227
  "f-utils-flex-column": c.value === "iframe",
5228
5228
  "f-utils-fill": !0
@@ -5232,30 +5232,30 @@ const nt = /* @__PURE__ */ Re({
5232
5232
  height: `${e.footerHeight || 60}px`
5233
5233
  };
5234
5234
  }
5235
- const We = H(() => {
5235
+ const Ge = H(() => {
5236
5236
  const I = {
5237
5237
  textAlgin: v.value
5238
5238
  }, ne = Ue();
5239
5239
  return Object.assign(I, ne);
5240
5240
  });
5241
5241
  function ge(I) {
5242
- if (I == null || I.stopPropagation(), W.value) {
5243
- W.value = !1, ie();
5242
+ if (I == null || I.stopPropagation(), G.value) {
5243
+ G.value = !1, ie();
5244
5244
  return;
5245
5245
  }
5246
- Q(), W.value = !0;
5246
+ Q(), G.value = !0;
5247
5247
  }
5248
5248
  async function Qe(I, ne) {
5249
5249
  I.handle && await I.handle(ne, I) && n.emit("closed", ne);
5250
5250
  }
5251
5251
  function $e(I) {
5252
- I.width && (t.value = I.width), I.height && (o.value = I.height), I.buttons && (w.value = I.buttons), I.title && (T.value = I.title);
5252
+ I.width && (t.value = I.width), I.height && (o.value = I.height), I.buttons && (S.value = I.buttons), I.title && (T.value = I.title);
5253
5253
  }
5254
5254
  let De = null, X = null;
5255
5255
  on(() => {
5256
- S.value = Ce();
5256
+ x.value = Ce();
5257
5257
  }), rt(() => {
5258
- J.value && !E.value && (E.value = J.value.parentElement, fe.value = E.value, ae(F.value, J.value, fe.value)), te.value && document.body.classList.add("modal-open"), De = xl(e, n), X = Sl(e, n);
5258
+ J.value && !E.value && (E.value = J.value.parentElement, fe.value = E.value, ae(F.value, J.value, fe.value)), te.value && document.body.classList.add("modal-open"), De = xs(e, n), X = Ss(e, n);
5259
5259
  }), St(() => {
5260
5260
  ee && ee(), De && De.remove(), X && X.remove();
5261
5261
  }), n.expose({
@@ -5263,14 +5263,14 @@ const nt = /* @__PURE__ */ Re({
5263
5263
  updateModalOptions: $e,
5264
5264
  close: C,
5265
5265
  maxDialog: ge,
5266
- isMaximized: W
5266
+ isMaximized: G
5267
5267
  });
5268
5268
  function Y() {
5269
5269
  return g("ul", null, [p.value && g("li", {
5270
5270
  class: "f-btn-icon f-bare"
5271
5271
  }, [g("span", {
5272
5272
  class: "f-icon modal_minimize"
5273
- }, null)]), s.value && g("li", {
5273
+ }, null)]), l.value && g("li", {
5274
5274
  onClick: ge,
5275
5275
  class: "f-btn-icon f-bare",
5276
5276
  style: "pointer-events: auto;"
@@ -5284,11 +5284,11 @@ const nt = /* @__PURE__ */ Re({
5284
5284
  class: "f-icon modal_close"
5285
5285
  }, null)])]);
5286
5286
  }
5287
- function G() {
5287
+ function W() {
5288
5288
  return g("div", {
5289
5289
  class: "modal-footer",
5290
- style: We.value
5291
- }, [w.value && w.value.map((I) => {
5290
+ style: Ge.value
5291
+ }, [S.value && S.value.map((I) => {
5292
5292
  const ne = h(I.disabled);
5293
5293
  return g("button", {
5294
5294
  name: I.name,
@@ -5320,7 +5320,7 @@ const nt = /* @__PURE__ */ Re({
5320
5320
  }, [Y()])]);
5321
5321
  }
5322
5322
  function de() {
5323
- return n.slots.footerTemplate ? n.slots.footerTemplate() : O.value && G();
5323
+ return n.slots.footerTemplate ? n.slots.footerTemplate() : O.value && W();
5324
5324
  }
5325
5325
  function ke(I) {
5326
5326
  if (I.stopPropagation(), e.allowClickMaskToClose) {
@@ -5334,19 +5334,19 @@ const nt = /* @__PURE__ */ Re({
5334
5334
  return g("div", {
5335
5335
  id: r.value,
5336
5336
  class: ve.value,
5337
- style: se.value,
5337
+ style: le.value,
5338
5338
  ref: J
5339
5339
  }, [g("div", {
5340
5340
  class: ze.value
5341
- }, [l.value && re(), g("div", {
5342
- class: Ge.value
5341
+ }, [s.value && re(), g("div", {
5342
+ class: We.value
5343
5343
  }, [(ne = (I = n.slots).default) == null ? void 0 : ne.call(I), c.value === "iframe" && g("iframe", {
5344
5344
  title: r.value,
5345
5345
  class: "f-utils-fill",
5346
5346
  width: "100%",
5347
5347
  frameborder: "0",
5348
5348
  src: f.value
5349
- }, null)]), de()]), !d.value && J.value && !W.value && q(J.value)]);
5349
+ }, null)]), de()]), !d.value && J.value && !G.value && q(J.value)]);
5350
5350
  }
5351
5351
  function Xe(I) {
5352
5352
  return I || "body";
@@ -5374,7 +5374,7 @@ function Fn(e) {
5374
5374
  if (e.render && typeof e.render == "function")
5375
5375
  return e.render;
5376
5376
  }
5377
- function Fl(e) {
5377
+ function Fs(e) {
5378
5378
  const n = document.createElement("div");
5379
5379
  n.style.display = "contents";
5380
5380
  const t = rn({
@@ -5382,7 +5382,7 @@ function Fl(e) {
5382
5382
  St(() => {
5383
5383
  document.body.removeChild(n);
5384
5384
  });
5385
- const r = h(), a = h(e.class || ""), d = h(!!e.showButtons), l = h(!!e.showHeader), u = h(e.showCloseButton == null ? !0 : e.showCloseButton), m = h(!0), s = h(e.title || ""), p = e.acceptCallback || (() => {
5385
+ const r = h(), a = h(e.class || ""), d = h(!!e.showButtons), s = h(!!e.showHeader), u = h(e.showCloseButton == null ? !0 : e.showCloseButton), m = h(!0), l = h(e.title || ""), p = e.acceptCallback || (() => {
5386
5386
  }), c = e.rejectCallback || (() => {
5387
5387
  }), f = e.closedCallback || ((A) => {
5388
5388
  }), v = e.resizeHandle || ((A) => {
@@ -5398,11 +5398,11 @@ function Fl(e) {
5398
5398
  class: a.value,
5399
5399
  modelValue: m.value,
5400
5400
  "onUpdate:modelValue": (A) => m.value = A,
5401
- title: s.value,
5401
+ title: l.value,
5402
5402
  width: e.width,
5403
5403
  height: e.height,
5404
5404
  buttons: e.buttons,
5405
- "show-header": l.value,
5405
+ "show-header": s.value,
5406
5406
  "show-buttons": d.value,
5407
5407
  "show-close-button": u.value,
5408
5408
  "show-max-button": !1,
@@ -5451,7 +5451,7 @@ class Tn {
5451
5451
  showButtons: !0,
5452
5452
  showHeader: !0
5453
5453
  }, n);
5454
- return Fl(t);
5454
+ return Fs(t);
5455
5455
  }
5456
5456
  close(n) {
5457
5457
  var t, o;
@@ -5466,27 +5466,27 @@ class Tn {
5466
5466
  showHeader: !0
5467
5467
  }, n)), i = h(!0), r = o.value.acceptCallback || (() => {
5468
5468
  }), a = o.value.rejectCallback || (() => {
5469
- }), d = o.value.closedCallback || ((S, C) => {
5470
- }), l = o.value.resizeHandle || ((S) => {
5471
- }), u = n.stopMoveHandle || ((S) => {
5469
+ }), d = o.value.closedCallback || ((x, C) => {
5470
+ }), s = o.value.resizeHandle || ((x) => {
5471
+ }), u = n.stopMoveHandle || ((x) => {
5472
5472
  });
5473
5473
  let m;
5474
- const s = Fn(o.value), p = (S) => {
5475
- var x;
5474
+ const l = Fn(o.value), p = (x) => {
5475
+ var w;
5476
5476
  i.value = !1;
5477
- const C = (x = S == null ? void 0 : S.target) == null ? void 0 : x.classList.contains("modal_close");
5478
- d(S, this.isUseEscCloseModal.value ? "esc" : C ? "icon" : "button");
5479
- }, c = (S) => {
5480
- p(S), m && ct(() => {
5477
+ const C = (w = x == null ? void 0 : x.target) == null ? void 0 : w.classList.contains("modal_close");
5478
+ d(x, this.isUseEscCloseModal.value ? "esc" : C ? "icon" : "button");
5479
+ }, c = (x) => {
5480
+ p(x), m && ct(() => {
5481
5481
  if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], Dt(null, t), m = null, this.modalRef.value = null, this.modalRefs) {
5482
- const C = Object.keys(this.modalRefs).map((x) => Number(x));
5482
+ const C = Object.keys(this.modalRefs).map((w) => Number(w));
5483
5483
  C.length > 0 ? this.activeModalIndex.value = Math.max(...C) : this.activeModalIndex.value = 0;
5484
5484
  }
5485
5485
  this.isUseEscCloseModal.value = !1;
5486
5486
  });
5487
- }, f = (S) => {
5487
+ }, f = (x) => {
5488
5488
  var C;
5489
- this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((C = this.activeModalInstance.value) == null || C.close(S == null ? void 0 : S.event));
5489
+ this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((C = this.activeModalInstance.value) == null || C.close(x == null ? void 0 : x.event));
5490
5490
  }, {
5491
5491
  width: v,
5492
5492
  height: y
@@ -5495,28 +5495,28 @@ class Tn {
5495
5495
  const E = () => g(nt, xt({
5496
5496
  ref: this.modalRef,
5497
5497
  modelValue: i.value,
5498
- "onUpdate:modelValue": (S) => i.value = S
5498
+ "onUpdate:modelValue": (x) => i.value = x
5499
5499
  }, o.value, {
5500
5500
  onAccept: r,
5501
5501
  onCancel: a,
5502
5502
  onClosed: c,
5503
- onResize: l,
5503
+ onResize: s,
5504
5504
  onEsc: f,
5505
5505
  onStopMove: u
5506
5506
  }), {
5507
- default: () => [s && s(this.app)]
5507
+ default: () => [l && l(this.app)]
5508
5508
  });
5509
- return m = ((S) => {
5510
- const C = An(E, S);
5509
+ return m = ((x) => {
5510
+ const C = An(E, x);
5511
5511
  return C.appContext = this.appContext, Dt(C, t), C;
5512
5512
  })({
5513
5513
  ...o.value
5514
5514
  // 'onUpdate:modelValue': onUpdateModelValue,
5515
5515
  }), this.activeModalIndex.value++, this.modalRefs[this.activeModalIndex.value] = this.modalRef.value, {
5516
- update: (S) => {
5516
+ update: (x) => {
5517
5517
  o.value = {
5518
5518
  ...o.value,
5519
- ...S
5519
+ ...x
5520
5520
  }, m && Dt(zn(m, {
5521
5521
  ...o
5522
5522
  }), t);
@@ -5527,14 +5527,14 @@ class Tn {
5527
5527
  };
5528
5528
  }
5529
5529
  }
5530
- const Tl = Symbol("FModalService");
5530
+ const Ts = Symbol("FModalService");
5531
5531
  nt.install = (e) => {
5532
5532
  e.component(nt.name, nt);
5533
5533
  const n = new Tn(e);
5534
- e.provide(Tl, n), e.provide("FModalService", n);
5534
+ e.provide(Ts, n), e.provide("FModalService", n);
5535
5535
  };
5536
5536
  nt.register = (e, n, t, o) => {
5537
- e.modal = nt, n.modal = yl, o.modal = { callbackResolver: bl };
5537
+ e.modal = nt, n.modal = ys, o.modal = { callbackResolver: bs };
5538
5538
  };
5539
5539
  const Ae = class Ae {
5540
5540
  static show(n) {
@@ -5543,11 +5543,11 @@ const Ae = class Ae {
5543
5543
  }), o = !1, i = t.type === "error" || t.type === "prompt", r = t.type === "error" ? "错误提示" : t.type === "prompt" && t.title || "", a = t.acceptCallback || (() => {
5544
5544
  }), d = t.rejectCallback || (() => {
5545
5545
  });
5546
- let l = null, u = new Tn(Ae.app);
5546
+ let s = null, u = new Tn(Ae.app);
5547
5547
  const m = () => {
5548
- l && (l == null || l.destroy(), u = null);
5548
+ s && (s == null || s.destroy(), u = null);
5549
5549
  };
5550
- return l = u == null ? void 0 : u.open({
5550
+ return s = u == null ? void 0 : u.open({
5551
5551
  class: "modal-message modal-message-type-info",
5552
5552
  title: r,
5553
5553
  showButtons: o,
@@ -5636,7 +5636,7 @@ let wt = Ae;
5636
5636
  ht.install = (e) => {
5637
5637
  e.component(ht.name, ht), wt.app = e, e.provide("FMessageBoxService", wt);
5638
5638
  };
5639
- class au extends Xr {
5639
+ class pu extends Xr {
5640
5640
  constructor(t, o) {
5641
5641
  super(t, o);
5642
5642
  K(this, "responseLayoutEditorFunction");
@@ -5662,7 +5662,7 @@ class au extends Xr {
5662
5662
  getBasicProperties(t, o, i = "Card") {
5663
5663
  const r = this;
5664
5664
  this.setDesignViewModelField(t);
5665
- const { canChangeControlType: a, editorTypeList: d } = this.getAvailableEditorType(t), l = {
5665
+ const { canChangeControlType: a, editorTypeList: d } = this.getAvailableEditorType(t), s = {
5666
5666
  description: "Basic Information",
5667
5667
  title: "基本信息",
5668
5668
  properties: {
@@ -5720,7 +5720,7 @@ class au extends Xr {
5720
5720
  readonly: this.formSchemaUtils.designerMode === "PC_RTC" && !t.isRtcControl
5721
5721
  }
5722
5722
  },
5723
- setPropertyRelates(u, m, s) {
5723
+ setPropertyRelates(u, m, l) {
5724
5724
  if (u)
5725
5725
  switch (u && u.propertyID) {
5726
5726
  case "type": {
@@ -5732,13 +5732,13 @@ class au extends Xr {
5732
5732
  break;
5733
5733
  }
5734
5734
  case "binding": {
5735
- r.changeBindingField(t, u, s);
5735
+ r.changeBindingField(t, u, l);
5736
5736
  break;
5737
5737
  }
5738
5738
  }
5739
5739
  }
5740
5740
  };
5741
- return i.toLocaleLowerCase() !== "card" && delete l.properties.showLabelType, l;
5741
+ return i.toLocaleLowerCase() !== "card" && delete s.properties.showLabelType, s;
5742
5742
  }
5743
5743
  /**
5744
5744
  * 校验控件是否支持切换类型
@@ -5839,21 +5839,21 @@ class au extends Xr {
5839
5839
  const d = a.contents.findIndex((m) => m.id === t.id);
5840
5840
  if (d === -1)
5841
5841
  return;
5842
- const l = a.contents[d];
5842
+ const s = a.contents[d];
5843
5843
  let u;
5844
5844
  if (this.designViewModelField) {
5845
5845
  const p = this.formSchemaUtils.getViewModelById(this.viewModelId).fields.find((f) => f.id === this.designViewModelField.id).fieldSchema || {};
5846
5846
  p.editor || (p.editor = {}), p.editor.$type = r, this.designViewModelUtils.getDgViewModel(this.viewModelId).changeField(this.designViewModelField.id, p, !1), u = this.controlCreatorUtils.setFormFieldProperty(this.designViewModelField, r);
5847
5847
  }
5848
5848
  u || (u = this.controlCreatorUtils.createFormGroupWithoutField(r)), Object.assign(u, {
5849
- id: l.id,
5850
- appearance: l.appearance,
5851
- size: l.size,
5852
- label: l.label,
5853
- binding: l.binding
5854
- }), Object.prototype.hasOwnProperty.call(l, "visible") && Object.assign(u, { visible: l.visible }), l.editor && ["readonly", "required", "placeholder"].map((m) => {
5855
- Object.prototype.hasOwnProperty.call(l.editor, m) && (u.editor[m] = l.editor[m]);
5856
- }), i != null && i.updateContextSchema ? i.updateContextSchema(u) : (i.schema = Object.assign(l, u), Object.assign(t, u)), Array.from(document.getElementsByClassName("dgComponentSelected")).forEach(
5849
+ id: s.id,
5850
+ appearance: s.appearance,
5851
+ size: s.size,
5852
+ label: s.label,
5853
+ binding: s.binding
5854
+ }), Object.prototype.hasOwnProperty.call(s, "visible") && Object.assign(u, { visible: s.visible }), s.editor && ["readonly", "required", "placeholder"].map((m) => {
5855
+ Object.prototype.hasOwnProperty.call(s.editor, m) && (u.editor[m] = s.editor[m]);
5856
+ }), i != null && i.updateContextSchema ? i.updateContextSchema(u) : (i.schema = Object.assign(s, u), Object.assign(t, u)), Array.from(document.getElementsByClassName("dgComponentSelected")).forEach(
5857
5857
  (m) => m.classList.remove("dgComponentSelected")
5858
5858
  ), Array.from(document.getElementsByClassName("dgComponentFocused")).forEach(
5859
5859
  (m) => m.classList.remove("dgComponentFocused")
@@ -5869,11 +5869,11 @@ class au extends Xr {
5869
5869
  type: "input-group",
5870
5870
  $converter: "/converter/property-editor.converter",
5871
5871
  parentPropertyID: "editor"
5872
- }, o), d = (p = t.binding) != null && p.field ? [] : ["Const", "Variable", "StateMachine"], l = this.getPropertyEditorParams(t, d, "readonly"), u = this.getPropertyEditorParams(t, d, "required"), m = {
5872
+ }, o), d = (p = t.binding) != null && p.field ? [] : ["Const", "Variable", "StateMachine"], s = this.getPropertyEditorParams(t, d, "readonly"), u = this.getPropertyEditorParams(t, d, "required"), m = {
5873
5873
  readonly: {
5874
5874
  description: "",
5875
5875
  title: "只读",
5876
- editor: l
5876
+ editor: s
5877
5877
  },
5878
5878
  required: {
5879
5879
  description: "",
@@ -5889,7 +5889,7 @@ class au extends Xr {
5889
5889
  };
5890
5890
  for (const c in i)
5891
5891
  m[c] = Object.assign(m[c] || {}, i[c]);
5892
- const s = this;
5892
+ const l = this;
5893
5893
  return {
5894
5894
  ...a,
5895
5895
  properties: { ...m },
@@ -5898,10 +5898,10 @@ class au extends Xr {
5898
5898
  switch (c.propertyID) {
5899
5899
  case "readonly":
5900
5900
  case "required":
5901
- s.afterMutilEditorChanged(t, c);
5901
+ l.afterMutilEditorChanged(t, c);
5902
5902
  break;
5903
5903
  }
5904
- r && r.bind(s)(c, t, f);
5904
+ r && r.bind(l)(c, t, f);
5905
5905
  }
5906
5906
  }
5907
5907
  };
@@ -5914,13 +5914,13 @@ class au extends Xr {
5914
5914
  */
5915
5915
  updateUnifiedLayoutAfterControlChanged(t, o, i) {
5916
5916
  const r = t.split(" ");
5917
- let a = r.find((s) => /^col-([1-9]|10|11|12)$/.test(s)), d = 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));
5918
- a = a || "col-12", d = d || "col-md-" + a.replace("col-", ""), l = l || "col-xl-" + d.replace("col-md-", ""), u = u || "col-el-" + l.replace("col-xl-", "");
5917
+ let a = r.find((l) => /^col-([1-9]|10|11|12)$/.test(l)), d = r.find((l) => /^col-md-([1-9]|10|11|12)$/.test(l)), s = r.find((l) => /^col-xl-([1-9]|10|11|12)$/.test(l)), u = r.find((l) => /^col-el-([1-9]|10|11|12)$/.test(l));
5918
+ a = a || "col-12", d = d || "col-md-" + a.replace("col-", ""), s = s || "col-xl-" + d.replace("col-md-", ""), u = u || "col-el-" + s.replace("col-xl-", "");
5919
5919
  const m = {
5920
5920
  id: o,
5921
5921
  columnInSM: parseInt(a.replace("col-", ""), 10),
5922
5922
  columnInMD: parseInt(d.replace("col-md-", ""), 10),
5923
- columnInLG: parseInt(l.replace("col-xl-", ""), 10),
5923
+ columnInLG: parseInt(s.replace("col-xl-", ""), 10),
5924
5924
  columnInEL: parseInt(u.replace("col-el-", ""), 10)
5925
5925
  };
5926
5926
  this.updateUnifiedLayoutAfterResponseLayoutChanged(i, m);
@@ -5939,10 +5939,10 @@ class au extends Xr {
5939
5939
  const f = r.find((v) => v.id === o.id);
5940
5940
  Object.assign(f || {}, o);
5941
5941
  }
5942
- const a = r.map((f) => f.columnInSM), d = r.map((f) => f.columnInMD), l = r.map((f) => f.columnInLG), u = r.map((f) => f.columnInEL), m = this.checkIsUniqueColumn(a) ? a[0] : null, s = this.checkIsUniqueColumn(d) ? d[0] : null, p = this.checkIsUniqueColumn(l) ? l[0] : null, c = this.checkIsUniqueColumn(u) ? u[0] : null;
5942
+ const a = r.map((f) => f.columnInSM), d = r.map((f) => f.columnInMD), s = r.map((f) => f.columnInLG), u = r.map((f) => f.columnInEL), m = this.checkIsUniqueColumn(a) ? a[0] : null, l = this.checkIsUniqueColumn(d) ? d[0] : null, p = this.checkIsUniqueColumn(s) ? s[0] : null, c = this.checkIsUniqueColumn(u) ? u[0] : null;
5943
5943
  Object.assign(i.unifiedLayout, {
5944
5944
  uniqueColClassInSM: m,
5945
- uniqueColClassInMD: s,
5945
+ uniqueColClassInMD: l,
5946
5946
  uniqueColClassInLG: p,
5947
5947
  uniqueColClassInEL: c
5948
5948
  });
@@ -6026,16 +6026,16 @@ class au extends Xr {
6026
6026
  const a = this;
6027
6027
  let d = [];
6028
6028
  i && (d = d.concat(i)), this.appendFieldValueChangeEvents(t, d);
6029
- const l = a.eventsEditorUtils.formProperties(t, a.viewModelId, d);
6029
+ const s = a.eventsEditorUtils.formProperties(t, a.viewModelId, d);
6030
6030
  return {
6031
6031
  title: "事件",
6032
6032
  hideTitle: !0,
6033
- properties: a.createBaseEventProperty(l),
6033
+ properties: a.createBaseEventProperty(s),
6034
6034
  tabId: "commands",
6035
6035
  tabName: "交互",
6036
- setPropertyRelates(s, p) {
6037
- const c = s.propertyValue;
6038
- delete t[a.viewModelId], c && (c.setPropertyRelates = this.setPropertyRelates, c.controlInfo = { type: a.getControlMethodType(t), name: t.title }, a.eventsEditorUtils.saveRelatedParameters(t, a.viewModelId, c.events, c)), r && r(s, p, c);
6036
+ setPropertyRelates(l, p) {
6037
+ const c = l.propertyValue;
6038
+ delete t[a.viewModelId], c && (c.setPropertyRelates = this.setPropertyRelates, c.controlInfo = { type: a.getControlMethodType(t), name: t.title }, a.eventsEditorUtils.saveRelatedParameters(t, a.viewModelId, c.events, c)), r && r(l, p, c);
6039
6039
  const f = a.designViewModelUtils.getDgViewModel(a.viewModelId);
6040
6040
  f && a.designViewModelField && f.changeField(a.designViewModelField.id, { valueChanging: t.fieldValueChanging, valueChanged: t.fieldValueChanged });
6041
6041
  }
@@ -6074,7 +6074,7 @@ class au extends Xr {
6074
6074
  };
6075
6075
  }
6076
6076
  }
6077
- const lu = {
6077
+ const mu = {
6078
6078
  install(e) {
6079
6079
  e.component(tn.name, tn);
6080
6080
  }
@@ -6084,10 +6084,10 @@ export {
6084
6084
  wn as ExpressionProperty,
6085
6085
  tn as FPropertyPanel,
6086
6086
  vt as FormBindingType,
6087
- au as InputBaseProperty,
6087
+ pu as InputBaseProperty,
6088
6088
  Yr as PropertyType,
6089
6089
  Ct as SchemaDOMMapping,
6090
- lu as default,
6090
+ mu as default,
6091
6091
  Fr as propertyPanelItemProps,
6092
6092
  Ki as propertyPanelProps
6093
6093
  };