@farris/ui-vue 1.6.5-beta.8 → 1.6.6

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 (137) hide show
  1. package/components/avatar/index.esm.js +335 -335
  2. package/components/avatar/index.umd.cjs +1 -1
  3. package/components/button-edit/index.esm.js +6 -6
  4. package/components/button-edit/index.umd.cjs +1 -1
  5. package/components/combo-list/index.esm.js +139 -134
  6. package/components/combo-list/index.umd.cjs +1 -1
  7. package/components/common/index.esm.js +1 -1
  8. package/components/common/index.umd.cjs +1 -1
  9. package/components/component/index.esm.js +300 -300
  10. package/components/component/index.umd.cjs +1 -1
  11. package/components/condition/index.esm.js +7 -6
  12. package/components/condition/index.umd.cjs +1 -1
  13. package/components/content-container/index.esm.js +295 -295
  14. package/components/content-container/index.umd.cjs +1 -1
  15. package/components/data-grid/index.esm.js +99 -99
  16. package/components/data-grid/index.umd.cjs +1 -1
  17. package/components/data-view/index.esm.js +3407 -3338
  18. package/components/data-view/index.umd.cjs +1 -1
  19. package/components/date-picker/index.esm.js +833 -832
  20. package/components/date-picker/index.umd.cjs +1 -1
  21. package/components/designer-canvas/index.esm.js +5 -5
  22. package/components/designer-canvas/index.umd.cjs +1 -1
  23. package/components/dynamic-form/index.esm.js +173 -172
  24. package/components/dynamic-form/index.umd.cjs +1 -1
  25. package/components/events-editor/index.esm.js +637 -637
  26. package/components/events-editor/index.umd.cjs +3 -3
  27. package/components/expression-editor/index.esm.js +737 -732
  28. package/components/expression-editor/index.umd.cjs +4 -4
  29. package/components/filter-bar/index.esm.js +728 -706
  30. package/components/filter-bar/index.umd.cjs +1 -1
  31. package/components/filter-condition-editor/index.esm.js +670 -665
  32. package/components/filter-condition-editor/index.umd.cjs +2 -2
  33. package/components/flow-canvas/index.esm.js +205 -205
  34. package/components/flow-canvas/index.umd.cjs +1 -1
  35. package/components/language-textbox/index.esm.js +77 -76
  36. package/components/language-textbox/index.umd.cjs +1 -1
  37. package/components/list-nav/index.esm.js +4 -2
  38. package/components/list-nav/index.umd.cjs +1 -1
  39. package/components/list-view/index.esm.js +42 -40
  40. package/components/list-view/index.umd.cjs +2 -2
  41. package/components/lookup/index.esm.js +118 -118
  42. package/components/lookup/index.umd.cjs +1 -1
  43. package/components/mapping-editor/index.esm.js +482 -483
  44. package/components/mapping-editor/index.umd.cjs +1 -1
  45. package/components/message-box/index.esm.js +424 -424
  46. package/components/message-box/index.umd.cjs +1 -1
  47. package/components/modal/index.esm.js +276 -276
  48. package/components/modal/index.umd.cjs +1 -1
  49. package/components/number-range/index.esm.js +161 -161
  50. package/components/number-range/index.umd.cjs +1 -1
  51. package/components/number-spinner/index.esm.js +322 -316
  52. package/components/number-spinner/index.umd.cjs +1 -1
  53. package/components/order/index.esm.js +541 -534
  54. package/components/order/index.umd.cjs +2 -2
  55. package/components/page-header/index.esm.js +1 -1
  56. package/components/page-header/index.umd.cjs +1 -1
  57. package/components/popover/index.esm.js +58 -56
  58. package/components/popover/index.umd.cjs +1 -1
  59. package/components/property-panel/index.esm.js +216 -216
  60. package/components/property-panel/index.umd.cjs +2 -2
  61. package/components/query-solution/index.esm.js +489 -467
  62. package/components/query-solution/index.umd.cjs +3 -3
  63. package/components/radio-group/index.esm.js +30 -30
  64. package/components/radio-group/index.umd.cjs +1 -1
  65. package/components/response-layout/index.esm.js +282 -282
  66. package/components/response-layout/index.umd.cjs +1 -1
  67. package/components/response-layout-editor/index.esm.js +875 -873
  68. package/components/response-layout-editor/index.umd.cjs +1 -1
  69. package/components/response-toolbar/index.esm.js +1 -1
  70. package/components/response-toolbar/index.umd.cjs +1 -1
  71. package/components/schema-selector/index.esm.js +504 -496
  72. package/components/schema-selector/index.umd.cjs +6 -6
  73. package/components/search-box/index.esm.js +76 -72
  74. package/components/search-box/index.umd.cjs +1 -1
  75. package/components/section/index.esm.js +212 -212
  76. package/components/section/index.umd.cjs +1 -1
  77. package/components/sort-condition-editor/index.esm.js +382 -377
  78. package/components/sort-condition-editor/index.umd.cjs +2 -2
  79. package/components/tabs/index.esm.js +584 -582
  80. package/components/tabs/index.umd.cjs +2 -2
  81. package/components/textarea/index.esm.js +362 -362
  82. package/components/textarea/index.umd.cjs +2 -2
  83. package/components/time-picker/index.css +1 -0
  84. package/components/time-picker/index.esm.js +9799 -0
  85. package/components/time-picker/index.umd.cjs +1 -0
  86. package/components/time-picker/package.json +8 -0
  87. package/components/time-picker/style.js +6 -0
  88. package/components/transfer/index.esm.js +81 -79
  89. package/components/transfer/index.umd.cjs +2 -2
  90. package/components/tree-grid/index.esm.js +100 -100
  91. package/components/tree-grid/index.umd.cjs +1 -1
  92. package/components/tree-view/index.esm.js +2361 -2279
  93. package/components/tree-view/index.umd.cjs +1 -1
  94. package/components/video/index.esm.js +220 -220
  95. package/components/video/index.umd.cjs +1 -1
  96. package/designer/button-edit/index.css +1 -0
  97. package/designer/button-edit/index.esm.js +4856 -0
  98. package/designer/button-edit/index.umd.cjs +1 -0
  99. package/designer/checkbox/index.esm.js +254 -0
  100. package/designer/checkbox/index.umd.cjs +1 -0
  101. package/designer/checkbox-group/index.esm.js +381 -0
  102. package/designer/checkbox-group/index.umd.cjs +1 -0
  103. package/designer/data-grid/index.css +1 -0
  104. package/designer/data-grid/index.esm.js +15445 -0
  105. package/designer/data-grid/index.umd.cjs +23 -0
  106. package/designer/data-view/index.esm.js +854 -0
  107. package/designer/data-view/index.umd.cjs +38 -0
  108. package/designer/drawer/index.css +1 -0
  109. package/designer/drawer/index.esm.js +525 -0
  110. package/designer/drawer/index.umd.cjs +1 -0
  111. package/designer/farris-designer.all.esm.js +22331 -0
  112. package/designer/farris-designer.all.umd.cjs +34 -0
  113. package/designer/index.css +1 -0
  114. package/designer/input-group/index.esm.js +1099 -0
  115. package/designer/input-group/index.umd.cjs +1 -0
  116. package/designer/list-view/index.css +1 -0
  117. package/designer/list-view/index.esm.js +4685 -0
  118. package/designer/list-view/index.umd.cjs +40 -0
  119. package/designer/radio-group/index.css +1 -0
  120. package/designer/radio-group/index.esm.js +6989 -0
  121. package/designer/radio-group/index.umd.cjs +1 -0
  122. package/designer/tree-grid/index.esm.js +1099 -0
  123. package/designer/tree-grid/index.umd.cjs +1 -0
  124. package/farris.all.esm.js +13299 -13177
  125. package/farris.all.umd.cjs +25 -25
  126. package/locales/data-grid/ui/en.json +4 -3
  127. package/locales/data-grid/ui/zh-CHS.json +2 -1
  128. package/locales/data-grid/ui/zh-CHT.json +2 -1
  129. package/locales/designer/en.json +9 -7
  130. package/locales/designer/zh-CHS.json +4 -2
  131. package/locales/designer/zh-CHT.json +4 -2
  132. package/locales/ui/en.json +9 -7
  133. package/locales/ui/zh-CHS.json +4 -2
  134. package/locales/ui/zh-CHT.json +4 -2
  135. package/package.json +1 -1
  136. package/types/combo-list/src/property-config/combo-list.property-config.d.ts +0 -6
  137. package/types/data-view/composition/types.d.ts +10 -4
@@ -523,14 +523,14 @@ function gn(t, e, n) {
523
523
  }
524
524
  function d(m, v, y, T, F, j = "", D = "") {
525
525
  return Object.keys(m).map((w) => {
526
- const S = g(1), I = w, O = m[w], q = Object.keys(O), k = O.title, N = O.type, $ = a.get(N) || { type: "input-group", enableClear: !1 }, h = O.editor ? Object.assign({}, $, O.editor) : Object.assign({}, $), b = c(q, O, v), V = s(q, O, v);
526
+ const S = g(1), B = w, O = m[w], q = Object.keys(O), k = O.title, N = O.type, $ = a.get(N) || { type: "input-group", enableClear: !1 }, h = O.editor ? Object.assign({}, $, O.editor) : Object.assign({}, $), b = c(q, O, v), V = s(q, O, v);
527
527
  h.readonly = h.readonly === void 0 ? V() : h.readonly;
528
- const J = O.type === "cascade" ? d(O.properties, v, y, T, F, j, D) : [], B = !0;
528
+ const J = O.type === "cascade" ? d(O.properties, v, y, T, F, j, D) : [], I = !0;
529
529
  let M = u(O, D);
530
530
  const A = G({
531
531
  get() {
532
532
  if (S.value) {
533
- if (["class", "style"].find((ce) => ce === I) && !M && (M = o.get("/converter/appearance.converter") || null), M && M.convertFrom)
533
+ if (["class", "style"].find((ce) => ce === B) && !M && (M = o.get("/converter/appearance.converter") || null), M && M.convertFrom)
534
534
  return M.convertFrom(y, w, F, j);
535
535
  const se = y[w];
536
536
  return Object.prototype.hasOwnProperty.call(O, "defaultValue") && (se === void 0 || typeof se == "string" && se === "") ? O.type === "boolean" ? O.defaultValue : O.defaultValue || "" : se;
@@ -540,8 +540,8 @@ function gn(t, e, n) {
540
540
  set(se) {
541
541
  S.value += 1, M && M.convertTo ? (M.convertTo(T, w, se, F, j), M.convertTo(y, w, se, F, j)) : (T[w] = se, y[w] = se);
542
542
  }
543
- }), { refreshPanelAfterChanged: P, description: U, isExpand: oe, parentPropertyID: re } = O, ee = { propertyID: I, propertyName: k, propertyType: N, propertyValue: A, editor: h, visible: b, readonly: V, cascadeConfig: J, hideCascadeTitle: B, refreshPanelAfterChanged: P, description: U, isExpand: oe, parentPropertyID: re };
544
- return v[I] = ee, ee;
543
+ }), { refreshPanelAfterChanged: P, description: U, isExpand: oe, parentPropertyID: re } = O, ee = { propertyID: B, propertyName: k, propertyType: N, propertyValue: A, editor: h, visible: b, readonly: V, cascadeConfig: J, hideCascadeTitle: I, refreshPanelAfterChanged: P, description: U, isExpand: oe, parentPropertyID: re };
544
+ return v[B] = ee, ee;
545
545
  });
546
546
  }
547
547
  function l(m, v, y = {}) {
@@ -552,13 +552,13 @@ function gn(t, e, n) {
552
552
  }) : [];
553
553
  }
554
554
  function f(m, v, y, T, F = "") {
555
- const j = v.$ref.schema, D = v.$ref.converter, E = y[j], w = E.type, S = n(E), I = {}, O = t[w];
555
+ const j = v.$ref.schema, D = v.$ref.converter, E = y[j], w = E.type, S = n(E), B = {}, O = t[w];
556
556
  if (O && O.categories) {
557
557
  const q = O.categories[m], k = q == null ? void 0 : q.title;
558
558
  D && Object.keys(q.properties).forEach((h) => {
559
559
  q.properties[h].$converter = D;
560
560
  });
561
- const N = (q == null ? void 0 : q.properties) || {}, $ = d(N, I, S, E, T, F);
561
+ const N = (q == null ? void 0 : q.properties) || {}, $ = d(N, B, S, E, T, F);
562
562
  return { categoryId: m, categoryName: k, properties: $ };
563
563
  }
564
564
  return { categoryId: m, categoryName: "", properties: [] };
@@ -568,14 +568,14 @@ function gn(t, e, n) {
568
568
  let w = F || t[j];
569
569
  if (w && Object.keys(w).length === 0 && y && y.getPropConfig && (w = y.getPropConfig(T)), w && w.categories) {
570
570
  const S = [];
571
- return Object.keys(w.categories).map((I) => {
572
- const O = w.categories[I];
571
+ return Object.keys(w.categories).map((B) => {
572
+ const O = w.categories[B];
573
573
  if (O.$ref) {
574
- S.push(f(I, O, m, v, T));
574
+ S.push(f(B, O, m, v, T));
575
575
  return;
576
576
  }
577
577
  const q = O == null ? void 0 : O.title, k = O == null ? void 0 : O.tabId, N = O == null ? void 0 : O.tabName, $ = O == null ? void 0 : O.hide, h = O == null ? void 0 : O.hideTitle, b = d(O.properties || {}, E, D, m, v, T, O.$converter), { setPropertyRelates: V } = O, J = O == null ? void 0 : O.parentPropertyID;
578
- S.push({ categoryId: I, categoryName: q, tabId: k, tabName: N, hide: $, properties: b, hideTitle: h, setPropertyRelates: V, parentPropertyID: J });
578
+ S.push({ categoryId: B, categoryName: q, tabId: k, tabName: N, hide: $, properties: b, hideTitle: h, setPropertyRelates: V, parentPropertyID: J });
579
579
  }), S;
580
580
  }
581
581
  return [];
@@ -1038,7 +1038,7 @@ function En(t, e, n) {
1038
1038
  if (n && n.getCustomButtons)
1039
1039
  return n.getCustomButtons();
1040
1040
  }
1041
- function I(N) {
1041
+ function B(N) {
1042
1042
  var h, b;
1043
1043
  if (!((h = e == null ? void 0 : e.schema) != null && h.id))
1044
1044
  return;
@@ -1050,8 +1050,8 @@ function En(t, e, n) {
1050
1050
  if (n != null && n.getComponentTitle)
1051
1051
  $ = n.getComponentTitle();
1052
1052
  else {
1053
- const { text: V, title: J, label: B, mainTitle: M, name: A, type: P } = e.schema;
1054
- $ = V || J || B || M || A || ((b = R[P]) == null ? void 0 : b.name);
1053
+ const { text: V, title: J, label: I, mainTitle: M, name: A, type: P } = e.schema;
1054
+ $ = V || J || I || M || A || ((b = R[P]) == null ? void 0 : b.name);
1055
1055
  }
1056
1056
  $ && r.getControlBasicInfoMap().set(e.schema.id, {
1057
1057
  componentTitle: $,
@@ -1061,12 +1061,12 @@ function En(t, e, n) {
1061
1061
  function O(N) {
1062
1062
  var V;
1063
1063
  const { changeObject: $ } = N, { propertyID: h, propertyValue: b } = $;
1064
- if (["text", "title", "label", "name", "mainTitle"].includes((V = N == null ? void 0 : N.changeObject) == null ? void 0 : V.propertyID) && h && b && (I(), r)) {
1065
- const J = r.getControlBasicInfoMap(), B = J.keys().toArray().filter((M) => {
1064
+ if (["text", "title", "label", "name", "mainTitle"].includes((V = N == null ? void 0 : N.changeObject) == null ? void 0 : V.propertyID) && h && b && (B(), r)) {
1065
+ const J = r.getControlBasicInfoMap(), I = J.keys().toArray().filter((M) => {
1066
1066
  var A, P;
1067
1067
  return ((A = J.get(M)) == null ? void 0 : A.reliedComponentId) === ((P = e == null ? void 0 : e.schema) == null ? void 0 : P.id);
1068
1068
  });
1069
- B != null && B.length && B.forEach((M) => {
1069
+ I != null && I.length && I.forEach((M) => {
1070
1070
  const A = J.get(M).parentPathName.split(" > ");
1071
1071
  A[0] = b, J.get(M).parentPathName = A.join(" > ");
1072
1072
  });
@@ -1101,7 +1101,7 @@ function En(t, e, n) {
1101
1101
  onRemoveComponent: w,
1102
1102
  getCustomButtons: S,
1103
1103
  onPropertyChanged: q,
1104
- setComponentBasicInfoMap: I,
1104
+ setComponentBasicInfoMap: B,
1105
1105
  updateContextSchema: e == null ? void 0 : e.updateContextSchema
1106
1106
  }, i;
1107
1107
  }
@@ -1901,7 +1901,7 @@ function yi(t) {
1901
1901
  var F;
1902
1902
  const y = o.get(v.id), T = y.appearance && y.appearance.class;
1903
1903
  if (T) {
1904
- const D = T.split(" ").filter((q) => !q.startsWith("col-")), E = "col-" + v.columnInSM, w = "col-md-" + v.columnInMD, S = "col-xl-" + v.columnInLG, I = "col-el-" + v.columnInEL, O = [E, w, S, I].concat(D);
1904
+ const D = T.split(" ").filter((q) => !q.startsWith("col-")), E = "col-" + v.columnInSM, w = "col-md-" + v.columnInMD, S = "col-xl-" + v.columnInLG, B = "col-el-" + v.columnInEL, O = [E, w, S, B].concat(D);
1905
1905
  y.appearance.class = O.join(" ");
1906
1906
  }
1907
1907
  if (v.fieldSetId) {
@@ -2019,17 +2019,17 @@ class Ci extends hi {
2019
2019
  function wi(t, e) {
2020
2020
  const n = t.schema, o = new di(), { canMove: a, canAccept: i, canDelete: r } = o.getTemplateRule(t, e);
2021
2021
  function c(h, b) {
2022
- const { sourceElement: V } = h, { componentInstance: J } = V, B = e == null ? void 0 : e.formSchemaUtils;
2023
- if (!B)
2022
+ const { sourceElement: V } = h, { componentInstance: J } = V, I = e == null ? void 0 : e.formSchemaUtils;
2023
+ if (!I)
2024
2024
  return !0;
2025
- const M = B.getComponentById(J.value.belongedComponentId), A = B.getViewModelById(M.viewModel), P = B.getComponentById(t.componentInstance.value.belongedComponentId), U = B.getViewModelById(P.viewModel);
2025
+ const M = I.getComponentById(J.value.belongedComponentId), A = I.getViewModelById(M.viewModel), P = I.getComponentById(t.componentInstance.value.belongedComponentId), U = I.getViewModelById(P.viewModel);
2026
2026
  return b ? A != null && A.id && (U != null && U.id) && A.id !== U.id ? A.bindTo === U.bindTo : !0 : (A == null ? void 0 : A.id) === (U == null ? void 0 : U.id);
2027
2027
  }
2028
2028
  function s(h) {
2029
2029
  const { bindingTargetId: b } = h;
2030
2030
  if (!e)
2031
2031
  return;
2032
- const { formSchemaUtils: V, schemaService: J } = e, B = V.getComponentById(t.componentInstance.value.belongedComponentId), M = J.getFieldByIDAndVMID(b, B.viewModel);
2032
+ const { formSchemaUtils: V, schemaService: J } = e, I = V.getComponentById(t.componentInstance.value.belongedComponentId), M = J.getFieldByIDAndVMID(b, I.viewModel);
2033
2033
  return !!(M != null && M.schemaField);
2034
2034
  }
2035
2035
  function u(h) {
@@ -2052,7 +2052,7 @@ function wi(t, e) {
2052
2052
  }
2053
2053
  function l(h) {
2054
2054
  var U;
2055
- const b = h.componentInstance, V = b.value.schema, J = e == null ? void 0 : e.formSchemaUtils, B = e == null ? void 0 : e.designViewModelUtils, M = J.getViewModelIdByComponentId(b.value.belongedComponentId), A = B.getDgViewModel(M), P = b.value.parent;
2055
+ const b = h.componentInstance, V = b.value.schema, J = e == null ? void 0 : e.formSchemaUtils, I = e == null ? void 0 : e.designViewModelUtils, M = J.getViewModelIdByComponentId(b.value.belongedComponentId), A = I.getDgViewModel(M), P = b.value.parent;
2056
2056
  if (P && lt.fieldset && ((U = P.schema) == null ? void 0 : U.type) === lt.fieldset.type && A) {
2057
2057
  const oe = { groupId: null, groupName: null };
2058
2058
  switch (V.binding.type) {
@@ -2068,18 +2068,18 @@ function wi(t, e) {
2068
2068
  }
2069
2069
  }
2070
2070
  function f(h, b, V) {
2071
- const J = b.fields.find((U) => U.id === h), B = e == null ? void 0 : e.designViewModelUtils, M = B.getDgViewModel(b.id), A = M.fields.find((U) => U.id === h);
2071
+ const J = b.fields.find((U) => U.id === h), I = e == null ? void 0 : e.designViewModelUtils, M = I.getDgViewModel(b.id), A = M.fields.find((U) => U.id === h);
2072
2072
  M.removeField([h]);
2073
- const P = B.getDgViewModel(V);
2073
+ const P = I.getDgViewModel(V);
2074
2074
  P.addField(A), J.fieldSchema && P.changeField(A.id, J.fieldSchema);
2075
2075
  }
2076
2076
  function p(h, b, V, J = []) {
2077
- const B = b.id, M = h.binding.field, A = b.fields.findIndex((U) => U.id === M);
2078
- if (A > -1 && (V.fields.push(b.fields[A]), b.fields.splice(A, 1)), B === "root-viewmodel" && V.id !== "root-viewmodel") {
2077
+ const I = b.id, M = h.binding.field, A = b.fields.findIndex((U) => U.id === M);
2078
+ if (A > -1 && (V.fields.push(b.fields[A]), b.fields.splice(A, 1)), I === "root-viewmodel" && V.id !== "root-viewmodel") {
2079
2079
  h.binding.path && !h.binding.path.includes("root-component.") && (h.binding.path = "root-component." + h.binding.path);
2080
2080
  return;
2081
2081
  }
2082
- if (V.id === "root-viewmodel" && B !== "root-viewmodel" && h.binding.path && h.binding.path.includes("root-component.")) {
2082
+ if (V.id === "root-viewmodel" && I !== "root-viewmodel" && h.binding.path && h.binding.path.includes("root-component.")) {
2083
2083
  h.binding.path = h.binding.path.replace("root-component.", "");
2084
2084
  return;
2085
2085
  }
@@ -2090,13 +2090,13 @@ function wi(t, e) {
2090
2090
  var A;
2091
2091
  if (!h)
2092
2092
  return;
2093
- const B = b.id === "root-viewmodel" && V.id !== "root-viewmodel", M = V.id === "root-viewmodel" && b.id !== "root-viewmodel";
2093
+ const I = b.id === "root-viewmodel" && V.id !== "root-viewmodel", M = V.id === "root-viewmodel" && b.id !== "root-viewmodel";
2094
2094
  Object.keys(h).forEach((P) => {
2095
2095
  if (P === "binding")
2096
2096
  return;
2097
2097
  const U = h[P];
2098
2098
  if (U && typeof U == "object" && U.type === Qe.Variable && U.field) {
2099
- if (B) {
2099
+ if (I) {
2100
2100
  U.path && !U.path.includes("root-component.") && (U.path = "root-component." + U.path);
2101
2101
  return;
2102
2102
  }
@@ -2128,16 +2128,16 @@ function wi(t, e) {
2128
2128
  function y(h = [], b) {
2129
2129
  if (!h.length)
2130
2130
  return;
2131
- const V = e == null ? void 0 : e.formSchemaUtils, J = V.getComponentByViewModelId(b), B = [], M = (P, U) => {
2131
+ const V = e == null ? void 0 : e.formSchemaUtils, J = V.getComponentByViewModelId(b), I = [], M = (P, U) => {
2132
2132
  P && (Object.keys(P).forEach((oe) => {
2133
2133
  const re = P[oe];
2134
2134
  re && typeof re == "object" && re.type === Qe.Variable && h.includes(re.field) && !U.includes(re.field) && U.push(re.field);
2135
2135
  }), P.editor && M(P.editor, U));
2136
2136
  };
2137
- v(J, M, B);
2137
+ v(J, M, I);
2138
2138
  const A = V.getViewModelById(b);
2139
2139
  h.forEach((P) => {
2140
- B.includes(P) || (A.states = A.states.filter((U) => U.id !== P));
2140
+ I.includes(P) || (A.states = A.states.filter((U) => U.id !== P));
2141
2141
  });
2142
2142
  }
2143
2143
  function T(h) {
@@ -2153,7 +2153,7 @@ function wi(t, e) {
2153
2153
  }
2154
2154
  function F(h, b, V) {
2155
2155
  var oe, re, ee;
2156
- const J = {}, B = h.type === "form-group" && h.editor ? h.editor.type : h.type, M = (oe = so[B]) == null ? void 0 : oe.events;
2156
+ const J = {}, I = h.type === "form-group" && h.editor ? h.editor.type : h.type, M = (oe = so[I]) == null ? void 0 : oe.events;
2157
2157
  if (!M)
2158
2158
  return;
2159
2159
  Object.keys(h).forEach((se) => {
@@ -2185,8 +2185,8 @@ function wi(t, e) {
2185
2185
  }
2186
2186
  }
2187
2187
  function j(h) {
2188
- const b = e == null ? void 0 : e.formSchemaUtils, V = h.componentInstance, J = V.value.schema, B = b.getViewModelIdByComponentId(V.value.belongedComponentId), M = b.getViewModelById(B), A = b.getComponentById(t.componentInstance.value.belongedComponentId), P = b.getViewModelById(A.viewModel);
2189
- if (B !== P.id) {
2188
+ const b = e == null ? void 0 : e.formSchemaUtils, V = h.componentInstance, J = V.value.schema, I = b.getViewModelIdByComponentId(V.value.belongedComponentId), M = b.getViewModelById(I), A = b.getComponentById(t.componentInstance.value.belongedComponentId), P = b.getViewModelById(A.viewModel);
2189
+ if (I !== P.id) {
2190
2190
  const U = J.binding.type, oe = J.binding.field, re = [];
2191
2191
  switch (U) {
2192
2192
  case Qe.Form: {
@@ -2198,7 +2198,7 @@ function wi(t, e) {
2198
2198
  break;
2199
2199
  }
2200
2200
  }
2201
- m(J, M, P, re), m(J.editor, M, P, re), F(J, M, P), B !== "root-viewmodel" && y(re, B);
2201
+ m(J, M, P, re), m(J.editor, M, P, re), F(J, M, P), I !== "root-viewmodel" && y(re, I);
2202
2202
  }
2203
2203
  }
2204
2204
  function D(h) {
@@ -2240,11 +2240,11 @@ function wi(t, e) {
2240
2240
  J = e == null ? void 0 : e.formSchemaUtils.getControlClassByFormUnifiedLayout(J, b.schema.id, t.schema), h.appearance || (h.appearance = {}), h.appearance.class = J;
2241
2241
  }
2242
2242
  }
2243
- function I(h, b, V, J) {
2244
- const { bindingSourceContext: B, parentComponentInstance: M } = h;
2245
- if (B != null && B.entityFieldNode && M) {
2243
+ function B(h, b, V, J) {
2244
+ const { bindingSourceContext: I, parentComponentInstance: M } = h;
2245
+ if (I != null && I.entityFieldNode && M) {
2246
2246
  const A = e == null ? void 0 : e.designViewModelUtils, U = (e == null ? void 0 : e.formSchemaUtils).getViewModelIdByComponentId(M.belongedComponentId), oe = A.getDgViewModel(U);
2247
- oe.removeField([B.entityFieldNode.id]), oe.addField(B.designViewModelField), b && oe.changeField(B.entityFieldNode.id, { editor: { $type: b }, groupId: V, groupName: J });
2247
+ oe.removeField([I.entityFieldNode.id]), oe.addField(I.designViewModelField), b && oe.changeField(I.entityFieldNode.id, { editor: { $type: b }, groupId: V, groupName: J });
2248
2248
  }
2249
2249
  }
2250
2250
  function O(h, b) {
@@ -2254,7 +2254,7 @@ function wi(t, e) {
2254
2254
  const { label: U } = h;
2255
2255
  let oe;
2256
2256
  const re = e == null ? void 0 : e.controlCreatorUtils;
2257
- return (M = h.bindingSourceContext) != null && M.entityFieldNode ? oe = re.setFormFieldProperty((A = h.bindingSourceContext) == null ? void 0 : A.entityFieldNode, b == null ? void 0 : b.type) : (oe = re.createFormGroupWithoutField(b == null ? void 0 : b.type), oe.label = U), S(oe), I(h, (P = oe.editor) == null ? void 0 : P.type), oe;
2257
+ return (M = h.bindingSourceContext) != null && M.entityFieldNode ? oe = re.setFormFieldProperty((A = h.bindingSourceContext) == null ? void 0 : A.entityFieldNode, b == null ? void 0 : b.type) : (oe = re.createFormGroupWithoutField(b == null ? void 0 : b.type), oe.label = U), S(oe), B(h, (P = oe.editor) == null ? void 0 : P.type), oe;
2258
2258
  }
2259
2259
  return b;
2260
2260
  }
@@ -2281,7 +2281,7 @@ function wi(t, e) {
2281
2281
  onResolveNewComponentSchema: O,
2282
2282
  moveInputBetweenComponent: j,
2283
2283
  resolveFormGroupAppearance: S,
2284
- syncFieldToViewModel: I
2284
+ syncFieldToViewModel: B
2285
2285
  };
2286
2286
  }
2287
2287
  const Fi = /* @__PURE__ */ Fe({
@@ -2522,9 +2522,9 @@ const Si = {
2522
2522
  "common-group": !0,
2523
2523
  "q-state-readonly": c.value
2524
2524
  }));
2525
- function j(I, O, q) {
2526
- r.value = O !== void 0 ? O : I, e.emit("update:modelValue", r.value), e.emit("change", r.value, {
2527
- newValue: I,
2525
+ function j(B, O, q) {
2526
+ r.value = O !== void 0 ? O : B, e.emit("update:modelValue", r.value), e.emit("change", r.value, {
2527
+ newValue: B,
2528
2528
  newModelValue: O,
2529
2529
  parameters: q
2530
2530
  });
@@ -2533,8 +2533,8 @@ const Si = {
2533
2533
  e.emit("update:modelValue", "");
2534
2534
  }
2535
2535
  const E = G(() => {
2536
- const I = a.value.type || "input-group", O = v(I), q = m(I, a.value), k = y(I), N = T(a.value.type);
2537
- return N && (q[N] = D), q[k] = j, (q.id == null || q.id === "") && (q.id = n.value), I === "number-range" && a.value.onBeginValueChange && typeof a.value.onBeginValueChange == "function" ? (a.value.onBeginValueChange && typeof a.value.onBeginValueChange == "function" && (q.onBeginValueChange = a.value.onBeginValueChange), a.value.onEndValueChange && typeof a.value.onEndValueChange == "function" && (q.onEndValueChange = a.value.onEndValueChange)) : I === "lookup" && a.value["onUpdate:idValue"] && typeof a.value["onUpdate:idValue"] == "function" ? (q["onUpdate:idValue"] = a.value["onUpdate:idValue"], q.id = n.value) : I === "collection-property-editor" && a.value.onSelectionChange && typeof a.value.onSelectionChange == "function" ? q.onSelectionChange = a.value.onSelectionChange : I === "property-editor" && (q.onBeforeOpenVariables = a.value.onBeforeOpenVariables), () => C(O, tt({
2536
+ const B = a.value.type || "input-group", O = v(B), q = m(B, a.value), k = y(B), N = T(a.value.type);
2537
+ return N && (q[N] = D), q[k] = j, (q.id == null || q.id === "") && (q.id = n.value), B === "number-range" && a.value.onBeginValueChange && typeof a.value.onBeginValueChange == "function" ? (a.value.onBeginValueChange && typeof a.value.onBeginValueChange == "function" && (q.onBeginValueChange = a.value.onBeginValueChange), a.value.onEndValueChange && typeof a.value.onEndValueChange == "function" && (q.onEndValueChange = a.value.onEndValueChange)) : B === "lookup" && a.value["onUpdate:idValue"] && typeof a.value["onUpdate:idValue"] == "function" ? (q["onUpdate:idValue"] = a.value["onUpdate:idValue"], q.id = n.value) : B === "collection-property-editor" && a.value.onSelectionChange && typeof a.value.onSelectionChange == "function" ? q.onSelectionChange = a.value.onSelectionChange : B === "property-editor" && (q.onBeforeOpenVariables = a.value.onBeforeOpenVariables), () => C(O, tt({
2538
2538
  ref: l
2539
2539
  }, q, {
2540
2540
  modelValue: r.value,
@@ -2547,9 +2547,9 @@ const Si = {
2547
2547
  errors: f.value
2548
2548
  }, null);
2549
2549
  }
2550
- return ve([() => t.id, () => t.customClass, () => t.editor, () => t.label, () => t.modelValue, () => t.readonly, () => t.required, () => t.showLabel, () => t.visible, () => t.errors], ([I, O, q, k, N, $, h, b, V, J]) => {
2551
- var B;
2552
- n.value = I, o.value = O, a.value = q, i.value = k, r.value = N, c.value = $, s.value = ((B = a.value) == null ? void 0 : B.required) || h, u.value = b, d.value = V, f.value = J;
2550
+ return ve([() => t.id, () => t.customClass, () => t.editor, () => t.label, () => t.modelValue, () => t.readonly, () => t.required, () => t.showLabel, () => t.visible, () => t.errors], ([B, O, q, k, N, $, h, b, V, J]) => {
2551
+ var I;
2552
+ n.value = B, o.value = O, a.value = q, i.value = k, r.value = N, c.value = $, s.value = ((I = a.value) == null ? void 0 : I.required) || h, u.value = b, d.value = V, f.value = J;
2553
2553
  }), e.expose({
2554
2554
  editorRef: l
2555
2555
  }), () => d.value && C("div", {
@@ -2801,7 +2801,8 @@ class Li extends po {
2801
2801
  nullable: !0,
2802
2802
  min: 0,
2803
2803
  useThousands: !1,
2804
- max: n
2804
+ max: n,
2805
+ needValid: !0
2805
2806
  }
2806
2807
  },
2807
2808
  enableViewPassword: {
@@ -3058,7 +3059,7 @@ var Ai = { exports: {} };
3058
3059
  function l(k, N) {
3059
3060
  var $ = arguments.length;
3060
3061
  $ === 1 && Array.isArray(k) === !1 && (N = k, k = []);
3061
- var h, b, V, J, B, M, A, P, U, oe = null, re, ee, se = !1, ce = 0, ae, Y = N || {};
3062
+ var h, b, V, J, I, M, A, P, U, oe = null, re, ee, se = !1, ce = 0, ae, Y = N || {};
3062
3063
  Y.moves === void 0 && (Y.moves = F), Y.accepts === void 0 && (Y.accepts = F), Y.invalid === void 0 && (Y.invalid = ut), Y.containers === void 0 && (Y.containers = k || []), Y.isContainer === void 0 && (Y.isContainer = T), Y.copy === void 0 && (Y.copy = !1), Y.copySortSource === void 0 && (Y.copySortSource = !1), Y.revertOnSpill === void 0 && (Y.revertOnSpill = !1), Y.removeOnSpill === void 0 && (Y.removeOnSpill = !1), Y.direction === void 0 && (Y.direction = "vertical"), Y.ignoreInputTextSelection === void 0 && (Y.ignoreInputTextSelection = !0), Y.mirrorContainer === void 0 && (Y.mirrorContainer = u.body);
3063
3064
  var de = r({
3064
3065
  containers: Y.containers,
@@ -3093,7 +3094,7 @@ var Ai = { exports: {} };
3093
3094
  re && x.preventDefault();
3094
3095
  }
3095
3096
  function pe(x) {
3096
- J = x.clientX, B = x.clientY;
3097
+ J = x.clientX, I = x.clientY;
3097
3098
  var z = v(x) !== 1 || x.metaKey || x.ctrlKey;
3098
3099
  if (!z) {
3099
3100
  var Z = x.target, K = $e(Z);
@@ -3106,7 +3107,7 @@ var Ai = { exports: {} };
3106
3107
  Ue({});
3107
3108
  return;
3108
3109
  }
3109
- if (!(x.clientX !== void 0 && Math.abs(x.clientX - J) <= (Y.slideFactorX || 0) && x.clientY !== void 0 && Math.abs(x.clientY - B) <= (Y.slideFactorY || 0))) {
3110
+ if (!(x.clientX !== void 0 && Math.abs(x.clientX - J) <= (Y.slideFactorX || 0) && x.clientY !== void 0 && Math.abs(x.clientY - I) <= (Y.slideFactorY || 0))) {
3110
3111
  if (Y.ignoreInputTextSelection) {
3111
3112
  var z = q("clientX", x) || 0, Z = q("clientY", x) || 0, K = u.elementFromPoint(z, Z);
3112
3113
  if (w(K))
@@ -3124,7 +3125,7 @@ var Ai = { exports: {} };
3124
3125
  return;
3125
3126
  var Z = E(x);
3126
3127
  if (Z && !Y.invalid(x, z)) {
3127
- var K = Y.moves(x, Z, z, I(x));
3128
+ var K = Y.moves(x, Z, z, B(x));
3128
3129
  if (K)
3129
3130
  return {
3130
3131
  item: x,
@@ -3141,7 +3142,7 @@ var Ai = { exports: {} };
3141
3142
  z && Ae(z);
3142
3143
  }
3143
3144
  function Ae(x) {
3144
- jt(x.item, x.source) && (P = x.item.cloneNode(!0), de.emit("cloned", P, x.item, "copy")), b = x.source, V = x.item, M = A = I(x.item), de.dragging = !0, de.emit("drag", V, b);
3145
+ jt(x.item, x.source) && (P = x.item.cloneNode(!0), de.emit("cloned", P, x.item, "copy")), b = x.source, V = x.item, M = A = B(x.item), de.dragging = !0, de.emit("drag", V, b);
3145
3146
  }
3146
3147
  function ut() {
3147
3148
  return !1;
@@ -3183,7 +3184,7 @@ var Ai = { exports: {} };
3183
3184
  }
3184
3185
  function me(x, z) {
3185
3186
  var Z;
3186
- return z !== void 0 ? Z = z : h ? Z = A : Z = I(P || V), x === b && Z === M;
3187
+ return z !== void 0 ? Z = z : h ? Z = A : Z = B(P || V), x === b && Z === M;
3187
3188
  }
3188
3189
  function he(x, z, Z) {
3189
3190
  for (var K = x; K && !le(); )
@@ -3231,7 +3232,7 @@ var Ai = { exports: {} };
3231
3232
  }
3232
3233
  }
3233
3234
  function It(x, z, Z) {
3234
- (x === z || x === I(z)) && (A = I(z)), (x === null && Z || x !== z && x !== I(z)) && (A = x);
3235
+ (x === z || x === B(z)) && (A = B(z)), (x === null && Z || x !== z && x !== B(z)) && (A = x);
3235
3236
  }
3236
3237
  function Bt(x) {
3237
3238
  s.rm(x, "gu-hide");
@@ -3350,7 +3351,7 @@ var Ai = { exports: {} };
3350
3351
  return Ve(le ? Z > ge.left + j(ge) / 2 : K > ge.top + D(ge) / 2);
3351
3352
  }
3352
3353
  function Ve(ge) {
3353
- return ge ? I(z) : z;
3354
+ return ge ? B(z) : z;
3354
3355
  }
3355
3356
  }
3356
3357
  function jt(x, z) {
@@ -3429,7 +3430,7 @@ var Ai = { exports: {} };
3429
3430
  function S(k) {
3430
3431
  return !k || k.contentEditable === "false" ? !1 : k.contentEditable === "true" ? !0 : S(E(k));
3431
3432
  }
3432
- function I(k) {
3433
+ function B(k) {
3433
3434
  return k.nextElementSibling || N();
3434
3435
  function N() {
3435
3436
  var $ = k;
@@ -3512,23 +3513,23 @@ var Ai = { exports: {} };
3512
3513
  remove: d,
3513
3514
  fabricate: y
3514
3515
  };
3515
- function f(E, w, S, I) {
3516
- return E.addEventListener(w, S, I);
3516
+ function f(E, w, S, B) {
3517
+ return E.addEventListener(w, S, B);
3517
3518
  }
3518
3519
  function p(E, w, S) {
3519
3520
  return E.attachEvent("on" + w, F(E, w, S));
3520
3521
  }
3521
- function m(E, w, S, I) {
3522
- return E.removeEventListener(w, S, I);
3522
+ function m(E, w, S, B) {
3523
+ return E.removeEventListener(w, S, B);
3523
3524
  }
3524
3525
  function v(E, w, S) {
3525
- var I = j(E, w, S);
3526
- if (I)
3527
- return E.detachEvent("on" + w, I);
3526
+ var B = j(E, w, S);
3527
+ if (B)
3528
+ return E.detachEvent("on" + w, B);
3528
3529
  }
3529
3530
  function y(E, w, S) {
3530
- var I = c.indexOf(w) === -1 ? q() : O();
3531
- E.dispatchEvent ? E.dispatchEvent(I) : E.fireEvent("on" + w, I);
3531
+ var B = c.indexOf(w) === -1 ? q() : O();
3532
+ E.dispatchEvent ? E.dispatchEvent(B) : E.fireEvent("on" + w, B);
3532
3533
  function O() {
3533
3534
  var k;
3534
3535
  return s.createEvent ? (k = s.createEvent("Event"), k.initEvent(w, !0, !0)) : s.createEventObject && (k = s.createEventObject()), k;
@@ -3548,26 +3549,26 @@ var Ai = { exports: {} };
3548
3549
  };
3549
3550
  }
3550
3551
  function F(E, w, S) {
3551
- var I = j(E, w, S) || T(E, w, S);
3552
+ var B = j(E, w, S) || T(E, w, S);
3552
3553
  return l.push({
3553
- wrapper: I,
3554
+ wrapper: B,
3554
3555
  element: E,
3555
3556
  type: w,
3556
3557
  fn: S
3557
- }), I;
3558
+ }), B;
3558
3559
  }
3559
3560
  function j(E, w, S) {
3560
- var I = D(E, w, S);
3561
- if (I) {
3562
- var O = l[I].wrapper;
3563
- return l.splice(I, 1), O;
3561
+ var B = D(E, w, S);
3562
+ if (B) {
3563
+ var O = l[B].wrapper;
3564
+ return l.splice(B, 1), O;
3564
3565
  }
3565
3566
  }
3566
3567
  function D(E, w, S) {
3567
- var I, O;
3568
- for (I = 0; I < l.length; I++)
3569
- if (O = l[I], O.element === E && O.type === w && O.fn === S)
3570
- return I;
3568
+ var B, O;
3569
+ for (B = 0; B < l.length; B++)
3570
+ if (O = l[B], O.element === E && O.type === w && O.fn === S)
3571
+ return B;
3571
3572
  }
3572
3573
  }).call(this, typeof qe < "u" ? qe : typeof self < "u" ? self : typeof window < "u" ? window : {});
3573
3574
  }, { "./eventmap": 7, "custom-event": 8 }],
@@ -4182,11 +4183,11 @@ function _i(t, e, n, o, a, i, r, c, s, u, d, l, f, p, m, v, y) {
4182
4183
  leftFixedGridDataStyle: w,
4183
4184
  rightFixedGridDataStyle: S
4184
4185
  } = p, {
4185
- renderDataRow: I
4186
- } = Na(t, e, F, y, c, s, u, d, l, f, p, m, v), O = [I];
4186
+ renderDataRow: B
4187
+ } = Na(t, e, F, y, c, s, u, d, l, f, p, m, v), O = [B];
4187
4188
  function q(b, V) {
4188
4189
  const J = T(b);
4189
- return y.value.filter((B) => B.visible !== !1).map((B, M) => O[B.type](B, J, V, M));
4190
+ return y.value.filter((I) => I.visible !== !1).map((I, M) => O[I.type](I, J, V, M));
4190
4191
  }
4191
4192
  function k() {
4192
4193
  return C("div", {
@@ -4238,17 +4239,17 @@ const Hi = /* @__PURE__ */ Fe({
4238
4239
  renderLoading: E
4239
4240
  } = $a(t, s), w = ja(t, /* @__PURE__ */ new Map(), T, F, r), {
4240
4241
  dataView: S
4241
- } = w, I = Aa(t, w, r, p, e), {
4242
+ } = w, B = Aa(t, w, r, p, e), {
4242
4243
  showSelection: O,
4243
4244
  selectedValues: q
4244
- } = I, k = Ua(t, p, w, r, I, e), N = G(() => t.disabled), $ = G(() => t.virtualized ? Math.min(w.dataView.value.length, a.value) : w.dataView.value.length), h = za(t, w), {
4245
+ } = B, k = Ua(t, p, w, r, B, e), N = G(() => t.disabled), $ = G(() => t.virtualized ? Math.min(w.dataView.value.length, a.value) : w.dataView.value.length), h = za(t, w), {
4245
4246
  shouldRenderPagination: b
4246
4247
  } = h, {
4247
4248
  containerStyleObject: V
4248
4249
  } = qa(t), J = Ga(t), {
4249
- applyCommands: B
4250
+ applyCommands: I
4250
4251
  } = J;
4251
- B(i);
4252
+ I(i);
4252
4253
  const {
4253
4254
  applyColumnSetting: M,
4254
4255
  removeColumnSetting: A
@@ -4260,9 +4261,9 @@ const Hi = /* @__PURE__ */ Fe({
4260
4261
  updateColumnRenderContext: ee
4261
4262
  } = P;
4262
4263
  oe(w, U);
4263
- const se = Xa(t, re), ce = Ya(t, e, I, r), ae = Za(t, e, r, ce, p), Y = Ja(t), de = Qa(t, ae, Y), _e = Ka(t, w, ae, F, r, Y, de), Re = er(t, i, w, $, 0, _e), {
4264
+ const se = Xa(t, re), ce = Ya(t, e, B, r), ae = Za(t, e, r, ce, p), Y = Ja(t), de = Qa(t, ae, Y), _e = Ka(t, w, ae, F, r, Y, de), Re = er(t, i, w, $, 0, _e), {
4264
4265
  getVisualData: Be
4265
- } = Re, nt = tr(t, re), He = nr(t, I), {
4266
+ } = Re, nt = tr(t, re), He = nr(t, B), {
4266
4267
  sidebarWidth: ot
4267
4268
  } = He, pe = or(t, w, p, re, Re, $, 0, ot), {
4268
4269
  onWheel: st,
@@ -4287,13 +4288,13 @@ const Hi = /* @__PURE__ */ Fe({
4287
4288
  "fv-grid-wrap-content": v.value
4288
4289
  })), {
4289
4290
  renderDataArea: me
4290
- } = _i(t, e, d, l, f, nt, P, w, ae, F, ce, I, k, pe, Re, Y, p), {
4291
+ } = _i(t, e, d, l, f, nt, P, w, ae, F, ce, B, k, pe, Re, Y, p), {
4291
4292
  renderGridHeader: he,
4292
4293
  renderGridColumnResizeOverlay: Oe,
4293
4294
  shouldShowHeader: It
4294
- } = sr(t, e, u, l, f, P, w, rt, at, T, Ue, Xe, se, I, He, U, pe, ke, p), {
4295
+ } = sr(t, e, u, l, f, P, w, rt, at, T, Ue, Xe, se, B, He, U, pe, ke, p), {
4295
4296
  renderDataGridSidebar: Bt
4296
- } = ur(t, ce, I, He, pe), {
4297
+ } = ur(t, ce, B, He, pe), {
4297
4298
  renderDisableMask: kt
4298
4299
  } = cr(), {
4299
4300
  renderHorizontalScrollbar: Vt
@@ -4322,7 +4323,7 @@ const Hi = /* @__PURE__ */ Fe({
4322
4323
  w.expandTo(Q), w.reOrderVisibleIndex(), Ae();
4323
4324
  }
4324
4325
  function ct() {
4325
- const Q = I.getSelectionRow();
4326
+ const Q = B.getSelectionRow();
4326
4327
  return Q ? Q.dataIndex - 1 : -1;
4327
4328
  }
4328
4329
  function Ot() {
@@ -4339,7 +4340,7 @@ const Hi = /* @__PURE__ */ Fe({
4339
4340
  }
4340
4341
  function $t() {
4341
4342
  const Q = ct(), ne = k.getNextSelectableHierarchyItemId(Q);
4342
- w.removeHierarchyDataItem(Q), p.value = Be(0, $.value + 0 - 1), ne && I.selectItemById(ne);
4343
+ w.removeHierarchyDataItem(Q), p.value = Be(0, $.value + 0 - 1), ne && k.selectItemById(ne);
4343
4344
  }
4344
4345
  function bt(Q) {
4345
4346
  ae.onEditingRow(Q);
@@ -4351,7 +4352,7 @@ const Hi = /* @__PURE__ */ Fe({
4351
4352
  ae.cancelEditingRow(Q);
4352
4353
  }
4353
4354
  function z(Q) {
4354
- Q && (i.value = Q, B(i), ee(i.value), oe(w, U), De());
4355
+ Q && (i.value = Q, I(i), ee(i.value), oe(w, U), De());
4355
4356
  }
4356
4357
  ve(() => t.columns, (Q) => {
4357
4358
  z(Q);
@@ -4360,7 +4361,7 @@ const Hi = /* @__PURE__ */ Fe({
4360
4361
  Q && (w.load(Q), w.reOrderVisibleIndex(), ne != null && ne.keepScrollPosition ? pe.scrollTo(pe.offsetY.value) : Ae());
4361
4362
  }
4362
4363
  function K(Q) {
4363
- I.selectItemById(Q);
4364
+ k.selectItemById(Q);
4364
4365
  }
4365
4366
  function le(Q) {
4366
4367
  const ne = p.value.find((ye) => ye.raw[r.idField.value] === Q);
@@ -4370,25 +4371,25 @@ const Hi = /* @__PURE__ */ Fe({
4370
4371
  ce.activeRowById(Q);
4371
4372
  }
4372
4373
  function Ee(Q) {
4373
- I.selectItemByIds(Q);
4374
+ k.selectItemByIds(Q);
4374
4375
  }
4375
4376
  function Te() {
4376
- return I.getSelectedItems();
4377
+ return B.getSelectedItems();
4377
4378
  }
4378
4379
  function xe() {
4379
- I.clearSelection();
4380
+ B.clearSelection();
4380
4381
  }
4381
4382
  const Ve = G(() => !p.value || !p.value.length), {
4382
4383
  renderEmpty: ge
4383
4384
  } = pr(t, e);
4384
4385
  function Pe() {
4385
- return I.getSelectionRow();
4386
+ return B.getSelectionRow();
4386
4387
  }
4387
4388
  function Se(Q) {
4388
- I.unSelectItemByIds(Q);
4389
+ k.unSelectItemByIds(Q);
4389
4390
  }
4390
4391
  function Ce() {
4391
- return I.currentSelectedDataId.value;
4392
+ return B.currentSelectedDataId.value;
4392
4393
  }
4393
4394
  function dt(Q, ne, ye) {
4394
4395
  const we = S.value.find((Me) => Me[c.value] === Q);
@@ -4442,7 +4443,7 @@ const Hi = /* @__PURE__ */ Fe({
4442
4443
  ye && ce.changeRow(ye);
4443
4444
  }
4444
4445
  function zn() {
4445
- I.keepSelectingOnPaging.value || xe(), w.updateVisibleDataSummary(p.value);
4446
+ B.keepSelectingOnPaging.value || xe(), w.updateVisibleDataSummary(p.value);
4446
4447
  }
4447
4448
  e.expose({
4448
4449
  activeRowById: ue,
@@ -4480,7 +4481,7 @@ const Hi = /* @__PURE__ */ Fe({
4480
4481
  ...V.value,
4481
4482
  borderRadius: "5px"
4482
4483
  }));
4483
- mr(t, e, w, pe, h, I);
4484
+ mr(t, e, w, pe, h, B);
4484
4485
  const Wn = G(() => ({
4485
4486
  "d-flex": !0,
4486
4487
  "justify-content-between": b.value && O.value,
@@ -4954,18 +4955,18 @@ class Ke {
4954
4955
  function xl(t, e) {
4955
4956
  const n = g(), o = g(), a = g(), i = g(), r = g(), c = g(), s = g(), u = g(), d = g(), l = g(), f = g(), p = g(t.resizeable), m = g(), v = g(t.draggable), y = g(!1);
4956
4957
  function T() {
4957
- const B = o.value || document.body, M = window.getComputedStyle(B);
4958
+ const I = o.value || document.body, M = window.getComputedStyle(I);
4958
4959
  if (!M || !n.value)
4959
4960
  return;
4960
4961
  const A = fe.getTransformInfo(n.value), P = {};
4961
4962
  s.value && (P.deltaL = n.value.offsetLeft - s.value.x, P.deltaT = n.value.offsetTop - s.value.y);
4962
4963
  const U = M.getPropertyValue("position");
4963
- P.width = B.clientWidth, P.height = B.clientHeight, P.pr = parseInt(M.getPropertyValue("padding-right"), 10), P.pb = parseInt(M.getPropertyValue("padding-bottom"), 10), P.position = M.getPropertyValue("position"), U === "static" && (B.style.position = "relative"), P.translateX = A.x, P.translateY = A.y, l.value = P;
4964
+ P.width = I.clientWidth, P.height = I.clientHeight, P.pr = parseInt(M.getPropertyValue("padding-right"), 10), P.pb = parseInt(M.getPropertyValue("padding-bottom"), 10), P.position = M.getPropertyValue("position"), U === "static" && (I.style.position = "relative"), P.translateX = A.x, P.translateY = A.y, l.value = P;
4964
4965
  }
4965
- function F(B) {
4966
+ function F(I) {
4966
4967
  if (n.value) {
4967
4968
  i.value = Ke.getCurrent(n.value), r.value = fe.getCurrent(n.value), c.value = i.value ? Ke.copy(i.value) : null, s.value = r.value ? fe.copy(r.value) : null, T();
4968
- const M = B.target.getAttribute("type") || "";
4969
+ const M = I.target.getAttribute("type") || "";
4969
4970
  u.value = {
4970
4971
  n: !!M.match(/n/),
4971
4972
  s: !!M.match(/s/),
@@ -4975,49 +4976,49 @@ function xl(t, e) {
4975
4976
  }
4976
4977
  }
4977
4978
  function j() {
4978
- var B, M, A, P;
4979
+ var I, M, A, P;
4979
4980
  if (n.value) {
4980
4981
  const U = n.value;
4981
- u.value && ((u.value.n || u.value.s) && ((B = c.value) != null && B.height) && (U.style.height = c.value.height + "px"), (u.value.w || u.value.e) && ((M = c.value) != null && M.width) && (U.style.width = c.value.width + "px"), s.value && ((A = s.value) != null && A.x && (U.style.left = s.value.x + "px"), (P = s.value) != null && P.y && (U.style.top = s.value.y + "px")));
4982
+ u.value && ((u.value.n || u.value.s) && ((I = c.value) != null && I.height) && (U.style.height = c.value.height + "px"), (u.value.w || u.value.e) && ((M = c.value) != null && M.width) && (U.style.width = c.value.width + "px"), s.value && ((A = s.value) != null && A.x && (U.style.left = s.value.x + "px"), (P = s.value) != null && P.y && (U.style.top = s.value.y + "px")));
4982
4983
  }
4983
4984
  }
4984
4985
  function D() {
4985
- const B = t.minHeight ? t.minHeight : 1, M = t.minWidth ? t.minWidth : 1;
4986
- c.value && s.value && u.value && i.value && (c.value.height < B && (c.value.height = B, u.value.n && r.value && (s.value.y = r.value.y + (i.value.height - B))), c.value.width < M && (c.value.width = M, u.value.w && r.value && (s.value.x = r.value.x + (i.value.width - M))), t.maxHeight && c.value.height > t.maxHeight && (c.value.height = t.maxHeight, r.value && u.value.n && (s.value.y = r.value.y + (i.value.height - t.maxHeight))), t.maxWidth && c.value.width > t.maxWidth && (c.value.width = t.maxWidth, u.value.w && r.value && (s.value.x = r.value.x + (i.value.width - t.maxWidth))));
4986
+ const I = t.minHeight ? t.minHeight : 1, M = t.minWidth ? t.minWidth : 1;
4987
+ c.value && s.value && u.value && i.value && (c.value.height < I && (c.value.height = I, u.value.n && r.value && (s.value.y = r.value.y + (i.value.height - I))), c.value.width < M && (c.value.width = M, u.value.w && r.value && (s.value.x = r.value.x + (i.value.width - M))), t.maxHeight && c.value.height > t.maxHeight && (c.value.height = t.maxHeight, r.value && u.value.n && (s.value.y = r.value.y + (i.value.height - t.maxHeight))), t.maxWidth && c.value.width > t.maxWidth && (c.value.width = t.maxWidth, u.value.w && r.value && (s.value.x = r.value.x + (i.value.width - t.maxWidth))));
4987
4988
  }
4988
4989
  function E() {
4989
4990
  if (o.value) {
4990
- const B = l.value;
4991
+ const I = l.value;
4991
4992
  if (s.value && c.value && u.value && i.value) {
4992
- const M = B.width - B.pr - B.deltaL - B.translateX - s.value.x, A = B.height - B.pb - B.deltaT - B.translateY - s.value.y;
4993
- u.value.n && s.value.y + B.translateY < 0 && r.value && (s.value.y = -B.translateY, c.value.height = i.value.height + r.value.y + B.translateY), u.value.w && s.value.x + B.translateX < 0 && r.value && (s.value.x = -B.translateX, c.value.width = i.value.width + r.value.x + B.translateX), c.value.width > M && (c.value.width = M), c.value.height > A && (c.value.height = A);
4993
+ const M = I.width - I.pr - I.deltaL - I.translateX - s.value.x, A = I.height - I.pb - I.deltaT - I.translateY - s.value.y;
4994
+ u.value.n && s.value.y + I.translateY < 0 && r.value && (s.value.y = -I.translateY, c.value.height = i.value.height + r.value.y + I.translateY), u.value.w && s.value.x + I.translateX < 0 && r.value && (s.value.x = -I.translateX, c.value.width = i.value.width + r.value.x + I.translateX), c.value.width > M && (c.value.width = M), c.value.height > A && (c.value.height = A);
4994
4995
  }
4995
4996
  }
4996
4997
  }
4997
- function w(B) {
4998
+ function w(I) {
4998
4999
  if (!a.value || !i.value || !r.value || !u.value)
4999
5000
  return;
5000
- B.subtract(a.value);
5001
- const M = B.x, A = B.y;
5001
+ I.subtract(a.value);
5002
+ const M = I.x, A = I.y;
5002
5003
  u.value.n ? (s.value.y = r.value.y + A, c.value.height = i.value.height - A) : u.value.s && (c.value.height = i.value.height + A), u.value.e ? c.value.width = i.value.width + M : u.value.w && (c.value.width = i.value.width - M, s.value.x = r.value.x + M), E(), D(), j();
5003
5004
  }
5004
- function S(B) {
5005
+ function S(I) {
5005
5006
  if (!d.value)
5006
5007
  return;
5007
- const M = fe.fromEvent(B);
5008
+ const M = fe.fromEvent(I);
5008
5009
  M && w(M);
5009
5010
  }
5010
- function I() {
5011
+ function B() {
5011
5012
  if (n.value) {
5012
5013
  const {
5013
- width: B,
5014
+ width: I,
5014
5015
  height: M,
5015
5016
  x: A,
5016
5017
  y: P
5017
5018
  } = n.value.getBoundingClientRect(), U = fe.getTransformInfo(n.value);
5018
5019
  return {
5019
5020
  size: {
5020
- width: B,
5021
+ width: I,
5021
5022
  height: M
5022
5023
  },
5023
5024
  position: {
@@ -5028,9 +5029,9 @@ function xl(t, e) {
5028
5029
  }
5029
5030
  return null;
5030
5031
  }
5031
- function O(B) {
5032
+ function O(I) {
5032
5033
  if (n.value) {
5033
- const M = I();
5034
+ const M = B();
5034
5035
  f.value = M;
5035
5036
  }
5036
5037
  a.value = void 0, i.value = null, r.value = null, c.value = null, s.value = null, u.value = null, d.value = null, document.removeEventListener("mousemove", S), document.removeEventListener("mouseup", O);
@@ -5038,11 +5039,11 @@ function xl(t, e) {
5038
5039
  function q() {
5039
5040
  document.addEventListener("mousemove", S), document.addEventListener("mouseup", O);
5040
5041
  }
5041
- function k(B) {
5042
- B instanceof MouseEvent && B.button === 2 || v.value && (document.body.click(), B.stopPropagation(), B.preventDefault(), a.value = fe.fromEvent(B), d.value = B.target, F(B), q());
5042
+ function k(I) {
5043
+ I instanceof MouseEvent && I.button === 2 || v.value && (document.body.click(), I.stopPropagation(), I.preventDefault(), a.value = fe.fromEvent(I), d.value = I.target, F(I), q());
5043
5044
  }
5044
- function N(B) {
5045
- return n.value = B, p.value && C(vt, null, [C("div", {
5045
+ function N(I) {
5046
+ return n.value = I, p.value && C(vt, null, [C("div", {
5046
5047
  class: "fv-resizable-handle fv-resizable-n",
5047
5048
  type: "n",
5048
5049
  onMousedown: (M) => k(M)
@@ -5076,10 +5077,10 @@ function xl(t, e) {
5076
5077
  onMousedown: (M) => k(M)
5077
5078
  }, null)]);
5078
5079
  }
5079
- function $(B = !0) {
5080
+ function $(I = !0) {
5080
5081
  document.body.click();
5081
5082
  const M = o.value || document.body, A = Ke.getCurrent(M), P = n.value;
5082
- B && P && (m.value = I(), m.value.transform = P.style.transform), A && P && (c.value = A, c.value.height -= 14, c.value.width -= 14, P.style.height = c.value.height + "px", P.style.width = c.value.width + "px", P.style.left = "7px", P.style.top = "7px", P.style.transform = "", f.value = {
5083
+ I && P && (m.value = B(), m.value.transform = P.style.transform), A && P && (c.value = A, c.value.height -= 14, c.value.width -= 14, P.style.height = c.value.height + "px", P.style.width = c.value.width + "px", P.style.left = "7px", P.style.top = "7px", P.style.transform = "", f.value = {
5083
5084
  size: c.value,
5084
5085
  position: {
5085
5086
  x: 0,
@@ -5088,7 +5089,7 @@ function xl(t, e) {
5088
5089
  }, v.value = !1, y.value = !0);
5089
5090
  }
5090
5091
  function h() {
5091
- var B, M;
5092
+ var I, M;
5092
5093
  if (document.body.click(), m.value) {
5093
5094
  const A = {
5094
5095
  width: m.value.size.width || 0,
@@ -5097,7 +5098,7 @@ function xl(t, e) {
5097
5098
  x: (window.innerWidth - A.width) / 2,
5098
5099
  y: (window.innerHeight - A.height) / 2
5099
5100
  };
5100
- (B = c.value) == null || B.set(A), (M = s.value) == null || M.set(P);
5101
+ (I = c.value) == null || I.set(A), (M = s.value) == null || M.set(P);
5101
5102
  const U = n.value;
5102
5103
  U.style.height = A.height + "px", U.style.width = A.width + "px", U.style.left = `${P.x}px`, U.style.top = `${P.y}px`, U.style.transform = "", f.value = {
5103
5104
  size: A,
@@ -5107,22 +5108,22 @@ function xl(t, e) {
5107
5108
  }
5108
5109
  function b() {
5109
5110
  if (n.value) {
5110
- const B = Ke.getCurrent(n.value);
5111
- if (B) {
5111
+ const I = Ke.getCurrent(n.value);
5112
+ if (I) {
5112
5113
  const {
5113
5114
  width: M,
5114
5115
  height: A
5115
- } = B;
5116
+ } = I;
5116
5117
  n.value.style.left = `${(window.innerWidth - M) / 2}px`, n.value.style.top = `${(window.innerHeight - A) / 2}px`, n.value.style.transform = "";
5117
5118
  }
5118
5119
  }
5119
5120
  }
5120
5121
  function V() {
5121
- const B = () => {
5122
+ const I = () => {
5122
5123
  y.value ? $(!1) : b(), document.body.click();
5123
5124
  };
5124
- return window.addEventListener("resize", B), () => {
5125
- window.removeEventListener("resize", B);
5125
+ return window.addEventListener("resize", I), () => {
5126
+ window.removeEventListener("resize", I);
5126
5127
  };
5127
5128
  }
5128
5129
  const J = V();
@@ -5143,33 +5144,33 @@ function Sl(t, e, n) {
5143
5144
  ve(() => n.value, (S) => {
5144
5145
  r.value.style.cursor = S ? "move" : "default";
5145
5146
  });
5146
- function p(S, I) {
5147
- if (I.tagName === "BUTTON")
5147
+ function p(S, B) {
5148
+ if (B.tagName === "BUTTON")
5148
5149
  return !1;
5149
- if (I === S)
5150
+ if (B === S)
5150
5151
  return !0;
5151
- for (const O in I.children)
5152
- if (Object.prototype.hasOwnProperty.call(I.children, O) && p(S, I.children[O]))
5152
+ for (const O in B.children)
5153
+ if (Object.prototype.hasOwnProperty.call(B.children, O) && p(S, B.children[O]))
5153
5154
  return !0;
5154
5155
  return !1;
5155
5156
  }
5156
5157
  function m() {
5157
5158
  var q, k;
5158
- let S = l.value.x + d.value.x, I = l.value.y + d.value.y;
5159
- i.value === "x" ? (S = ((q = u.value) == null ? void 0 : q.x) || 0, l.value.x = 0) : i.value === "y" && (I = ((k = u.value) == null ? void 0 : k.y) || 0, l.value.y = 0);
5160
- const O = `translate3d(${Math.round(S)}px, ${Math.round(I)}px, 0px)`;
5161
- o.value && (o.value.style.transform = O), f.value.x = S, f.value.y = I;
5159
+ let S = l.value.x + d.value.x, B = l.value.y + d.value.y;
5160
+ i.value === "x" ? (S = ((q = u.value) == null ? void 0 : q.x) || 0, l.value.x = 0) : i.value === "y" && (B = ((k = u.value) == null ? void 0 : k.y) || 0, l.value.y = 0);
5161
+ const O = `translate3d(${Math.round(S)}px, ${Math.round(B)}px, 0px)`;
5162
+ o.value && (o.value.style.transform = O), f.value.x = S, f.value.y = B;
5162
5163
  }
5163
5164
  function v() {
5164
5165
  if (!c.value || !o.value)
5165
5166
  return null;
5166
- const S = c.value.getBoundingClientRect(), I = o.value.getBoundingClientRect(), O = {
5167
- top: S.top < I.top,
5168
- right: S.right > I.right,
5169
- bottom: S.bottom > I.bottom,
5170
- left: S.left < I.left
5167
+ const S = c.value.getBoundingClientRect(), B = o.value.getBoundingClientRect(), O = {
5168
+ top: S.top < B.top,
5169
+ right: S.right > B.right,
5170
+ bottom: S.bottom > B.bottom,
5171
+ left: S.left < B.left
5171
5172
  };
5172
- return O.top || (l.value.y -= I.top - S.top), O.bottom || (l.value.y -= I.bottom - S.bottom), O.right || (l.value.x -= I.right - S.right), O.left || (l.value.x -= I.left - S.left), m(), O;
5173
+ return O.top || (l.value.y -= B.top - S.top), O.bottom || (l.value.y -= B.bottom - S.bottom), O.right || (l.value.x -= B.right - S.right), O.left || (l.value.x -= B.left - S.left), m(), O;
5173
5174
  }
5174
5175
  function y(S) {
5175
5176
  S && (u.value && S.subtract(u.value), l.value.set(S), m(), v());
@@ -5195,22 +5196,22 @@ function Sl(t, e, n) {
5195
5196
  function E(S) {
5196
5197
  if (!n.value || S instanceof MouseEvent && S.button === 2)
5197
5198
  return;
5198
- const I = S.target || S.srcElement;
5199
- r.value !== void 0 && I && !p(I, r.value) || a.value !== !1 && (document.body.click(), S.stopPropagation(), S.preventDefault(), u.value = fe.fromEvent(S, o.value), D(), j());
5199
+ const B = S.target || S.srcElement;
5200
+ r.value !== void 0 && B && !p(B, r.value) || a.value !== !1 && (document.body.click(), S.stopPropagation(), S.preventDefault(), u.value = fe.fromEvent(S, o.value), D(), j());
5200
5201
  }
5201
- function w(S, I, O) {
5202
- if (a.value && I) {
5202
+ function w(S, B, O) {
5203
+ if (a.value && B) {
5203
5204
  if (S)
5204
5205
  r.value = S;
5205
5206
  else if (t.dragHandle) {
5206
5207
  if (t.dragHandle instanceof HTMLElement)
5207
5208
  r.value = t.dragHandle;
5208
5209
  else if (typeof t.dragHandle == "string") {
5209
- const q = I.querySelector(t.dragHandle);
5210
+ const q = B.querySelector(t.dragHandle);
5210
5211
  q && (r.value = q);
5211
5212
  }
5212
5213
  }
5213
- o.value = I, c.value = O, r.value ? (r.value.classList.add("ng-draggable"), r.value.addEventListener("mousedown", E)) : a.value = !1;
5214
+ o.value = B, c.value = O, r.value ? (r.value.classList.add("ng-draggable"), r.value.addEventListener("mousedown", E)) : a.value = !1;
5214
5215
  }
5215
5216
  }
5216
5217
  return {
@@ -5281,12 +5282,12 @@ const et = /* @__PURE__ */ Fe({
5281
5282
  handle: (L) => {
5282
5283
  w(L, !0);
5283
5284
  }
5284
- }], I = g(t.buttons && t.buttons.length ? t.buttons : S), O = G(() => !!u.value), q = G(() => !!y.value && !!I.value), k = g(), N = g(), $ = g(!1), {
5285
+ }], B = g(t.buttons && t.buttons.length ? t.buttons : S), O = G(() => !!u.value), q = G(() => !!y.value && !!B.value), k = g(), N = g(), $ = g(!1), {
5285
5286
  renderResizeBar: h,
5286
5287
  maximize: b,
5287
5288
  restore: V,
5288
5289
  boundingElement: J,
5289
- resizedEventParam: B,
5290
+ resizedEventParam: I,
5290
5291
  allowDrag: M,
5291
5292
  unWindowResizeHandle: A,
5292
5293
  moveToCenter: P
@@ -5310,7 +5311,7 @@ const et = /* @__PURE__ */ Fe({
5310
5311
  L !== ie && (s.value = L);
5311
5312
  }), ve(() => t.showButtons, (L, ie) => {
5312
5313
  L !== ie && (y.value = L);
5313
- }), ve(() => B.value, (L, ie) => {
5314
+ }), ve(() => I.value, (L, ie) => {
5314
5315
  const me = L || {}, he = ie || {};
5315
5316
  JSON.stringify(me) !== JSON.stringify(he) && e.emit("resize", {
5316
5317
  newSize: L,
@@ -5388,7 +5389,7 @@ const et = /* @__PURE__ */ Fe({
5388
5389
  L.handle && await L.handle(ie, L) && e.emit("closed", ie);
5389
5390
  }
5390
5391
  function $e(L) {
5391
- L.width && (n.value = L.width), L.height && (o.value = L.height), L.buttons && (I.value = L.buttons), L.title && (T.value = L.title);
5392
+ L.width && (n.value = L.width), L.height && (o.value = L.height), L.buttons && (B.value = L.buttons), L.title && (T.value = L.title);
5392
5393
  }
5393
5394
  let je = null, ke = null;
5394
5395
  Zn(() => {
@@ -5427,7 +5428,7 @@ const et = /* @__PURE__ */ Fe({
5427
5428
  return C("div", {
5428
5429
  class: "modal-footer",
5429
5430
  style: ot.value
5430
- }, [I.value && I.value.map((L) => {
5431
+ }, [B.value && B.value.map((L) => {
5431
5432
  const ie = g(L.disabled);
5432
5433
  return C("button", {
5433
5434
  name: L.name,
@@ -5727,17 +5728,17 @@ const Vl = /* @__PURE__ */ Fe({
5727
5728
  "q-state-readonly": c.value,
5728
5729
  "form-group-in-canvas": !0
5729
5730
  })), T = G(() => {
5730
- const S = a.value.type || "input-group", I = v(S), O = m(S, a.value);
5731
- return () => C(I, tt({
5731
+ const S = a.value.type || "input-group", B = v(S), O = m(S, a.value);
5732
+ return () => C(B, tt({
5732
5733
  ref: d
5733
5734
  }, O, {
5734
5735
  modelValue: r.value,
5735
5736
  "onUpdate:modelValue": (q) => r.value = q
5736
5737
  }), null);
5737
5738
  });
5738
- ve([() => t.id, () => t.customClass, () => t.editor, () => t.label, () => t.modelValue, () => t.readonly, () => t.showLabel], ([S, I, O, q, k, N, $]) => {
5739
+ ve([() => t.id, () => t.customClass, () => t.editor, () => t.label, () => t.modelValue, () => t.readonly, () => t.showLabel], ([S, B, O, q, k, N, $]) => {
5739
5740
  var h;
5740
- n.value = S, o.value = I, a.value = {
5741
+ n.value = S, o.value = B, a.value = {
5741
5742
  ...O
5742
5743
  }, i.value = q, r.value = k, c.value = N, s.value = ((h = a.value) == null ? void 0 : h.required) === !0, u.value = $;
5743
5744
  }, {
@@ -6184,7 +6185,7 @@ function os(t, e, n, o) {
6184
6185
  }, [c.value])]);
6185
6186
  }
6186
6187
  function as(t, e, n, o, a) {
6187
- const i = g(t.type), r = g(t.buttons), c = g(t.exceptionInfo), s = g(a.ok || t.okButtonText), u = g(a.cancel || t.cancelButtonText), d = g(t.showCancelButton), l = g(t.showOkButton), f = G(() => !!(r.value && r.value.length)), p = G(() => c.value && c.value.message && c.value.detail), m = G(() => !(r.value && r.value.length) && (l.value || d.value)), v = os(t, n, o, a);
6188
+ const i = g(t.type), r = g(t.buttons), c = g(t.exceptionInfo), s = g(a.ok || t.okButtonText), u = g(a.cancel || t.cancelButtonText), d = g(t.showCancelButton), l = g(t.showOkButton), f = G(() => !!(r.value && r.value.length)), p = G(() => !!(c.value && c.value.detail)), m = G(() => !(r.value && r.value.length) && (l.value || d.value)), v = os(t, n, o, a);
6188
6189
  s.value === "关闭" ? s.value = a.close : s.value === "知道了" && (s.value = a.exception.roger);
6189
6190
  function y(F) {
6190
6191
  i.value === "question" && e.emit("reject"), e.emit("close");