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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. package/components/accordion/index.esm.js +65 -65
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +360 -361
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/button-edit/index.esm.js +524 -520
  6. package/components/button-edit/index.umd.cjs +1 -1
  7. package/components/calendar/index.esm.js +134 -134
  8. package/components/calendar/index.umd.cjs +1 -1
  9. package/components/capsule/index.esm.js +192 -192
  10. package/components/capsule/index.umd.cjs +1 -1
  11. package/components/code-editor/index.esm.js +8 -8
  12. package/components/code-editor/index.umd.cjs +3 -3
  13. package/components/collection-property-editor/index.esm.js +72 -72
  14. package/components/collection-property-editor/index.umd.cjs +1 -1
  15. package/components/color-picker/index.esm.js +291 -289
  16. package/components/color-picker/index.umd.cjs +1 -1
  17. package/components/combo-list/index.esm.js +190 -181
  18. package/components/combo-list/index.umd.cjs +1 -1
  19. package/components/combo-tree/index.esm.js +113 -112
  20. package/components/combo-tree/index.umd.cjs +1 -1
  21. package/components/common/index.esm.js +3 -1
  22. package/components/common/index.umd.cjs +1 -1
  23. package/components/component/index.esm.js +309 -309
  24. package/components/component/index.umd.cjs +1 -1
  25. package/components/condition/index.esm.js +1125 -1124
  26. package/components/condition/index.umd.cjs +1 -1
  27. package/components/content-container/index.esm.js +472 -472
  28. package/components/content-container/index.umd.cjs +1 -1
  29. package/components/data-grid/index.esm.js +99 -99
  30. package/components/data-grid/index.umd.cjs +1 -1
  31. package/components/data-view/index.esm.js +3387 -3321
  32. package/components/data-view/index.umd.cjs +1 -1
  33. package/components/date-picker/index.esm.js +1604 -1601
  34. package/components/date-picker/index.umd.cjs +1 -1
  35. package/components/designer-canvas/index.esm.js +1082 -1079
  36. package/components/designer-canvas/index.umd.cjs +1 -1
  37. package/components/discussion-editor/index.esm.js +973 -1040
  38. package/components/discussion-editor/index.umd.cjs +6 -6
  39. package/components/dropdown/index.esm.js +335 -330
  40. package/components/dropdown/index.umd.cjs +2 -2
  41. package/components/dynamic-form/index.esm.js +177 -177
  42. package/components/dynamic-form/index.umd.cjs +1 -1
  43. package/components/dynamic-resolver/index.esm.js +6 -6
  44. package/components/dynamic-resolver/index.umd.cjs +1 -1
  45. package/components/dynamic-view/index.esm.js +344 -344
  46. package/components/dynamic-view/index.umd.cjs +1 -1
  47. package/components/events-editor/index.esm.js +644 -644
  48. package/components/events-editor/index.umd.cjs +3 -3
  49. package/components/expression-editor/index.esm.js +1773 -1760
  50. package/components/expression-editor/index.umd.cjs +4 -4
  51. package/components/fieldset/index.esm.js +55 -55
  52. package/components/fieldset/index.umd.cjs +1 -1
  53. package/components/filter-bar/index.esm.js +879 -869
  54. package/components/filter-bar/index.umd.cjs +1 -1
  55. package/components/filter-condition-editor/index.esm.js +1091 -1077
  56. package/components/filter-condition-editor/index.umd.cjs +3 -3
  57. package/components/flow-canvas/index.esm.js +215 -215
  58. package/components/flow-canvas/index.umd.cjs +1 -1
  59. package/components/html-template/index.esm.js +164 -164
  60. package/components/html-template/index.umd.cjs +1 -1
  61. package/components/image-cropper/index.esm.js +198 -198
  62. package/components/image-cropper/index.umd.cjs +1 -1
  63. package/components/json-editor/index.esm.js +64 -64
  64. package/components/json-editor/index.umd.cjs +1 -1
  65. package/components/language-textbox/index.esm.js +140 -140
  66. package/components/language-textbox/index.umd.cjs +1 -1
  67. package/components/layout/index.esm.js +111 -111
  68. package/components/layout/index.umd.cjs +1 -1
  69. package/components/list-nav/index.esm.js +90 -90
  70. package/components/list-nav/index.umd.cjs +1 -1
  71. package/components/list-view/index.esm.js +139 -141
  72. package/components/list-view/index.umd.cjs +3 -3
  73. package/components/locale/index.esm.js +833 -901
  74. package/components/locale/index.umd.cjs +6 -6
  75. package/components/lookup/index.esm.js +1352 -1351
  76. package/components/lookup/index.umd.cjs +1 -1
  77. package/components/mapping-editor/index.esm.js +1387 -1383
  78. package/components/mapping-editor/index.umd.cjs +1 -1
  79. package/components/menu-lookup/index.esm.js +1059 -1127
  80. package/components/menu-lookup/index.umd.cjs +6 -6
  81. package/components/message-box/index.esm.js +217 -217
  82. package/components/message-box/index.umd.cjs +1 -1
  83. package/components/modal/index.esm.js +283 -283
  84. package/components/modal/index.umd.cjs +1 -1
  85. package/components/nav/index.esm.js +106 -106
  86. package/components/nav/index.umd.cjs +1 -1
  87. package/components/number-range/index.esm.js +194 -194
  88. package/components/number-range/index.umd.cjs +1 -1
  89. package/components/number-spinner/index.esm.js +463 -462
  90. package/components/number-spinner/index.umd.cjs +1 -1
  91. package/components/order/index.esm.js +883 -876
  92. package/components/order/index.umd.cjs +4 -4
  93. package/components/page-footer/index.esm.js +94 -94
  94. package/components/page-footer/index.umd.cjs +1 -1
  95. package/components/page-header/index.esm.js +942 -939
  96. package/components/page-header/index.umd.cjs +1 -1
  97. package/components/pagination/index.esm.js +82 -82
  98. package/components/pagination/index.umd.cjs +1 -1
  99. package/components/popover/index.esm.js +59 -57
  100. package/components/popover/index.umd.cjs +1 -1
  101. package/components/progress/index.esm.js +113 -113
  102. package/components/progress/index.umd.cjs +2 -2
  103. package/components/property-editor/index.esm.js +151 -150
  104. package/components/property-editor/index.umd.cjs +1 -1
  105. package/components/property-panel/index.esm.js +739 -739
  106. package/components/property-panel/index.umd.cjs +2 -2
  107. package/components/query-solution/index.esm.js +4142 -4190
  108. package/components/query-solution/index.umd.cjs +6 -6
  109. package/components/radio-button/index.esm.js +182 -182
  110. package/components/radio-button/index.umd.cjs +1 -1
  111. package/components/rate/index.esm.js +106 -106
  112. package/components/rate/index.umd.cjs +1 -1
  113. package/components/response-layout/index.esm.js +535 -535
  114. package/components/response-layout/index.umd.cjs +1 -1
  115. package/components/response-layout-editor/index.esm.js +1456 -1443
  116. package/components/response-layout-editor/index.umd.cjs +1 -1
  117. package/components/response-toolbar/index.esm.js +779 -776
  118. package/components/response-toolbar/index.umd.cjs +1 -1
  119. package/components/schema-selector/index.esm.js +1875 -1866
  120. package/components/schema-selector/index.umd.cjs +7 -7
  121. package/components/search-box/index.esm.js +151 -147
  122. package/components/search-box/index.umd.cjs +1 -1
  123. package/components/section/index.esm.js +1236 -1233
  124. package/components/section/index.umd.cjs +1 -1
  125. package/components/smoke-detector/index.esm.js +163 -163
  126. package/components/smoke-detector/index.umd.cjs +1 -1
  127. package/components/sort-condition-editor/index.esm.js +1097 -1083
  128. package/components/sort-condition-editor/index.umd.cjs +3 -3
  129. package/components/splitter/index.esm.js +3 -3
  130. package/components/splitter/index.umd.cjs +1 -1
  131. package/components/step/index.esm.js +133 -133
  132. package/components/step/index.umd.cjs +1 -1
  133. package/components/switch/index.esm.js +103 -98
  134. package/components/switch/index.umd.cjs +1 -1
  135. package/components/tabs/index.esm.js +1596 -1593
  136. package/components/tabs/index.umd.cjs +2 -2
  137. package/components/tags/index.esm.js +93 -93
  138. package/components/tags/index.umd.cjs +1 -1
  139. package/components/text/index.esm.js +138 -138
  140. package/components/text/index.umd.cjs +1 -1
  141. package/components/textarea/index.esm.js +684 -684
  142. package/components/textarea/index.umd.cjs +2 -2
  143. package/components/time-picker/index.esm.js +935 -929
  144. package/components/time-picker/index.umd.cjs +1 -1
  145. package/components/tooltip/index.esm.js +173 -171
  146. package/components/tooltip/index.umd.cjs +1 -1
  147. package/components/transfer/index.esm.js +190 -192
  148. package/components/transfer/index.umd.cjs +4 -4
  149. package/components/tree-grid/index.esm.js +124 -124
  150. package/components/tree-grid/index.umd.cjs +1 -1
  151. package/components/tree-view/index.esm.js +2363 -2278
  152. package/components/tree-view/index.umd.cjs +1 -1
  153. package/components/uploader/index.esm.js +170 -170
  154. package/components/uploader/index.umd.cjs +2 -2
  155. package/components/verify-detail/index.esm.js +196 -196
  156. package/components/verify-detail/index.umd.cjs +1 -1
  157. package/components/video/index.esm.js +227 -227
  158. package/components/video/index.umd.cjs +1 -1
  159. package/components/weather/index.esm.js +9 -9
  160. package/components/weather/index.umd.cjs +2 -2
  161. package/designer/button-edit/index.esm.js +353 -353
  162. package/designer/button-edit/index.umd.cjs +1 -1
  163. package/designer/checkbox/index.esm.js +7 -3
  164. package/designer/checkbox/index.umd.cjs +1 -1
  165. package/designer/checkbox-group/index.esm.js +38 -33
  166. package/designer/checkbox-group/index.umd.cjs +1 -1
  167. package/designer/data-grid/index.esm.js +3562 -3536
  168. package/designer/data-grid/index.umd.cjs +6 -6
  169. package/designer/data-view/index.esm.js +3 -3
  170. package/designer/data-view/index.umd.cjs +3 -3
  171. package/designer/farris-designer.all.esm.js +4203 -4193
  172. package/designer/farris-designer.all.umd.cjs +9 -9
  173. package/designer/input-group/index.esm.js +97 -97
  174. package/designer/input-group/index.umd.cjs +1 -1
  175. package/designer/list-view/index.esm.js +1868 -1854
  176. package/designer/list-view/index.umd.cjs +8 -8
  177. package/designer/radio-group/index.esm.js +954 -949
  178. package/designer/radio-group/index.umd.cjs +1 -1
  179. package/farris.all.esm.js +16195 -16126
  180. package/farris.all.umd.cjs +30 -30
  181. package/locales/data-grid/ui/en.json +2 -2
  182. package/locales/designer/en.json +7 -6
  183. package/locales/designer/zh-CHS.json +2 -1
  184. package/locales/designer/zh-CHT.json +2 -1
  185. package/locales/ui/en.json +7 -6
  186. package/locales/ui/zh-CHS.json +2 -1
  187. package/locales/ui/zh-CHT.json +2 -1
  188. package/package.json +1 -1
  189. package/types/combo-list/src/property-config/combo-list.property-config.d.ts +0 -6
  190. package/types/data-view/composition/types.d.ts +10 -4
  191. package/types/lookup/src/composition/use-dialog.d.ts +2 -0
  192. package/types/lookup/src/composition/use-input-change.d.ts +1 -0
@@ -1,13 +1,13 @@
1
- import { ref as O, computed as U, defineComponent as W, watch as _, createVNode as $, Fragment as pe, inject as de, onMounted as me, resolveComponent as ve } from "vue";
1
+ import { ref as P, computed as x, defineComponent as U, watch as _, createVNode as C, Fragment as pe, inject as de, onMounted as me, resolveComponent as ve } from "vue";
2
2
  import be from "../button-edit/index.esm.js";
3
- import { isPlainObject as x, cloneDeep as J } from "lodash-es";
3
+ import { cloneDeep as X, isPlainObject as J } from "lodash-es";
4
4
  import ge from "../list-view/index.esm.js";
5
5
  import ye from "../loading/index.esm.js";
6
6
  import { getSchemaByTypeForDesigner as he } from "../dynamic-resolver/index.esm.js";
7
7
  function Q(e, t) {
8
8
  let n;
9
9
  function a(o) {
10
- const { properties: u, title: c, ignore: r } = o, i = r && Array.isArray(r), f = Object.keys(u).reduce((v, S) => ((!i || !r.find((E) => E === S)) && (v[S] = u[S].type === "object" && u[S].properties ? a(u[S]) : J(u[S].default)), v), {});
10
+ const { properties: u, title: c, ignore: r } = o, i = r && Array.isArray(r), f = Object.keys(u).reduce((v, F) => ((!i || !r.find((E) => E === F)) && (v[F] = u[F].type === "object" && u[F].properties ? a(u[F]) : X(u[F].default)), v), {});
11
11
  if (c && (!i || !r.find((v) => v === "id"))) {
12
12
  const v = c.toLowerCase().replace(/-/g, "_");
13
13
  f.id = `${v}_${Math.random().toString().slice(2, 6)}`;
@@ -17,7 +17,7 @@ function Q(e, t) {
17
17
  function g(o) {
18
18
  const { properties: u, title: c, required: r } = o;
19
19
  if (r && Array.isArray(r)) {
20
- const i = r.reduce((f, v) => (f[v] = u[v].type === "object" && u[v].properties ? a(u[v]) : J(u[v].default), f), {});
20
+ const i = r.reduce((f, v) => (f[v] = u[v].type === "object" && u[v].properties ? a(u[v]) : X(u[v].default), f), {});
21
21
  if (c && r.find((f) => f === "id")) {
22
22
  const f = c.toLowerCase().replace(/-/g, "_");
23
23
  i.id = `${f}_${Math.random().toString().slice(2, 6)}`;
@@ -28,20 +28,20 @@ function Q(e, t) {
28
28
  type: c
29
29
  };
30
30
  }
31
- function B(o, u = {}, c) {
31
+ function O(o, u = {}, c) {
32
32
  const r = e[o];
33
33
  if (r) {
34
34
  let i = g(r);
35
35
  const f = t[o];
36
- return i = f ? f({ getSchemaByType: B }, i, u, c) : i, n != null && n.appendIdentifyForNewControl && n.appendIdentifyForNewControl(i), i;
36
+ return i = f ? f({ getSchemaByType: O }, i, u, c) : i, n != null && n.appendIdentifyForNewControl && n.appendIdentifyForNewControl(i), i;
37
37
  }
38
38
  return null;
39
39
  }
40
40
  function y(o, u) {
41
41
  const c = a(u);
42
- return Object.keys(c).reduce((r, i) => (Object.prototype.hasOwnProperty.call(o, i) && (r[i] && x(r[i]) && x(o[i] || !o[i]) ? Object.assign(r[i], o[i] || {}) : r[i] = o[i]), r), c), c;
42
+ return Object.keys(c).reduce((r, i) => (Object.prototype.hasOwnProperty.call(o, i) && (r[i] && J(r[i]) && J(o[i] || !o[i]) ? Object.assign(r[i], o[i] || {}) : r[i] = o[i]), r), c), c;
43
43
  }
44
- function F(o, u) {
44
+ function S(o, u) {
45
45
  return Object.keys(o).filter((r) => o[r] != null).reduce((r, i) => {
46
46
  if (u.has(i)) {
47
47
  const f = u.get(i);
@@ -56,9 +56,9 @@ function Q(e, t) {
56
56
  return r;
57
57
  }, {});
58
58
  }
59
- function P(o, u, c = /* @__PURE__ */ new Map()) {
59
+ function w(o, u, c = /* @__PURE__ */ new Map()) {
60
60
  const r = y(o, u);
61
- return F(r, c);
61
+ return S(r, c);
62
62
  }
63
63
  function d(o) {
64
64
  var c;
@@ -69,8 +69,8 @@ function Q(e, t) {
69
69
  return o;
70
70
  const i = y(o, r), f = ((c = o.editor) == null ? void 0 : c.type) || "";
71
71
  if (f) {
72
- const v = e[f], S = y(o.editor, v);
73
- i.editor = S;
72
+ const v = e[f], F = y(o.editor, v);
73
+ i.editor = F;
74
74
  }
75
75
  return i;
76
76
  }
@@ -79,10 +79,10 @@ function Q(e, t) {
79
79
  function l(o) {
80
80
  n = o;
81
81
  }
82
- return { getSchemaByType: B, resolveSchemaWithDefaultValue: d, resolveSchemaToProps: P, mappingSchemaToProps: F, setDesignerContext: l };
82
+ return { getSchemaByType: O, resolveSchemaWithDefaultValue: d, resolveSchemaToProps: w, mappingSchemaToProps: S, setDesignerContext: l };
83
83
  }
84
- const Y = {}, Z = {}, { resolveSchemaWithDefaultValue: Se, resolveSchemaToProps: Fe, mappingSchemaToProps: Te } = Q(Y, Z);
85
- function we(e = {}) {
84
+ const Y = {}, Z = {}, { getSchemaByType: yt, resolveSchemaWithDefaultValue: Se, resolveSchemaToProps: Fe, mappingSchemaToProps: Te, setDesignerContext: ht } = Q(Y, Z);
85
+ function Be(e = {}) {
86
86
  function t(d, l, o, u) {
87
87
  if (typeof o == "number")
88
88
  return u[d].length === o;
@@ -114,7 +114,7 @@ function we(e = {}) {
114
114
  return { target: o, operator: "getProperty", param: c, value: r };
115
115
  }) : [];
116
116
  }
117
- function B(d) {
117
+ function O(d) {
118
118
  return Object.keys(d).reduce((o, u) => {
119
119
  const c = g(u, d[u]);
120
120
  return o.push(...c), o;
@@ -127,23 +127,23 @@ function we(e = {}) {
127
127
  }
128
128
  return !1;
129
129
  }
130
- function F(d, l) {
131
- return B(d).reduce((c, r) => c && y(r, l), !0);
130
+ function S(d, l) {
131
+ return O(d).reduce((c, r) => c && y(r, l), !0);
132
132
  }
133
- function P(d, l) {
134
- const o = Object.keys(d), u = o.includes("allOf"), c = o.includes("anyOf"), r = u || c, v = (r ? d[r ? u ? "allOf" : "anyOf" : "allOf"] : [d]).map((E) => F(E, l));
133
+ function w(d, l) {
134
+ const o = Object.keys(d), u = o.includes("allOf"), c = o.includes("anyOf"), r = u || c, v = (r ? d[r ? u ? "allOf" : "anyOf" : "allOf"] : [d]).map((E) => S(E, l));
135
135
  return u ? !v.includes(!1) : v.includes(!0);
136
136
  }
137
- return { parseValueSchema: P };
137
+ return { parseValueSchema: w };
138
138
  }
139
- const Oe = {
139
+ const Pe = {
140
140
  convertTo: (e, t, n, a) => {
141
141
  e.appearance || (e.appearance = {}), e.appearance[t] = n;
142
142
  },
143
143
  convertFrom: (e, t, n) => e.appearance ? e.appearance[t] : e[t]
144
- }, Be = {
144
+ }, Oe = {
145
145
  convertFrom: (e, t, n) => e.buttons && e.buttons.length ? `共 ${e.buttons.length} 项` : "无"
146
- }, Pe = {
146
+ }, we = {
147
147
  convertTo: (e, t, n, a) => {
148
148
  e.editor && (e.editor[t] = n);
149
149
  },
@@ -298,7 +298,7 @@ const Oe = {
298
298
  return e.group.showSummary;
299
299
  }
300
300
  }
301
- }, Ve = {
301
+ }, $e = {
302
302
  convertFrom: (e, t) => e.binding ? e.binding.path : "",
303
303
  convertTo: (e, t, n) => {
304
304
  if (n && n.length > 0) {
@@ -306,12 +306,12 @@ const Oe = {
306
306
  e.binding || (e.binding = {}), e.binding.type = "Form", e.binding.path = a.bindingField, e.binding.field = a.id, e.binding.fullPath = a.path, e.path = a.bindingPath;
307
307
  }
308
308
  }
309
- }, $e = {
309
+ }, Ce = {
310
310
  convertTo: (e, t, n, a) => {
311
311
  e.pagination || (e.pagination = {}), e.pagination[t] = n;
312
312
  },
313
313
  convertFrom: (e, t, n) => e.pagination ? e.pagination[t] : e[t]
314
- }, Ce = {
314
+ }, Ve = {
315
315
  convertTo: (e, t, n, a) => {
316
316
  e.rowNumber || (e.rowNumber = {}), e.rowNumber[t] = n;
317
317
  },
@@ -352,7 +352,7 @@ const Oe = {
352
352
  if (t === "multiSort")
353
353
  return !!((g = e.sort) != null && g.multiSort);
354
354
  }
355
- }, Ue = {
355
+ }, xe = {
356
356
  convertTo: (e, t, n, a) => {
357
357
  e.filter || (e.filter = {}), e.filter[t] = n;
358
358
  },
@@ -361,7 +361,7 @@ const Oe = {
361
361
  if (t === "mode")
362
362
  return ((a = e.filter) == null ? void 0 : a.mode) || "client";
363
363
  }
364
- }, We = {
364
+ }, Ue = {
365
365
  convertTo: (e, t, n, a) => {
366
366
  e.rowOption ? e.rowOption[t] = n : e.rowOption = {
367
367
  [t]: n
@@ -379,9 +379,9 @@ const Oe = {
379
379
  };
380
380
  function I(e, t, n) {
381
381
  const a = /* @__PURE__ */ new Map([
382
- ["/converter/appearance.converter", Oe],
383
- ["/converter/buttons.converter", Be],
384
- ["/converter/property-editor.converter", Pe],
382
+ ["/converter/appearance.converter", Pe],
383
+ ["/converter/buttons.converter", Oe],
384
+ ["/converter/property-editor.converter", we],
385
385
  ["/converter/items-count.converter", qe],
386
386
  ["/converter/type.converter", De],
387
387
  ["/converter/change-editor.converter", Ee],
@@ -391,15 +391,15 @@ function I(e, t, n) {
391
391
  ["/converter/summary.converter", ke],
392
392
  ["/converter/group.converter", Ne],
393
393
  ["/converter/form-group-label.converter", Le],
394
- ["/converter/field-selector.converter", Ve],
395
- ["/converter/pagination.converter", $e],
396
- ["/converter/row-number.converter", Ce],
394
+ ["/converter/field-selector.converter", $e],
395
+ ["/converter/pagination.converter", Ce],
396
+ ["/converter/row-number.converter", Ve],
397
397
  ["/converter/grid-selection.converter", Ae],
398
398
  ["/converter/size.converter", He],
399
399
  ["/converter/change-formatter-enum.converter", ze],
400
400
  ["/converter/grid-sort.converter", _e],
401
- ["/converter/grid-filter.converter", Ue],
402
- ["/converter/row-option.converter", We]
401
+ ["/converter/grid-filter.converter", xe],
402
+ ["/converter/row-option.converter", Ue]
403
403
  ]), g = /* @__PURE__ */ new Map([
404
404
  ["string", { type: "input-group", enableClear: !1 }],
405
405
  ["boolean", {
@@ -424,75 +424,75 @@ function I(e, t, n) {
424
424
  ["array", { type: "button-edit" }],
425
425
  ["number", { type: "number-spinner", placeholder: "" }],
426
426
  ["events-editor", { type: "events-editor", hide: !0 }]
427
- ]), B = we();
427
+ ]), O = Be();
428
428
  function y(r, i) {
429
- return () => B.parseValueSchema(r, i);
429
+ return () => O.parseValueSchema(r, i);
430
430
  }
431
- function F(r, i, f) {
431
+ function S(r, i, f) {
432
432
  return r.includes("visible") && i.visible !== void 0 ? typeof i.visible == "boolean" ? () => !!i.visible : i.visible === void 0 ? !0 : y(i.visible, f) : () => !0;
433
433
  }
434
- function P(r, i, f) {
434
+ function w(r, i, f) {
435
435
  return r.includes("readonly") && i.readonly !== void 0 ? typeof i.readonly == "boolean" ? () => !!i.readonly : y(i.readonly, f) : () => !1;
436
436
  }
437
437
  function d(r, i) {
438
438
  const f = r.$converter || i;
439
439
  return typeof f == "string" && f && a.has(f) ? a.get(f) || null : f || null;
440
440
  }
441
- function l(r, i, f, v, S, E = "", k = "") {
441
+ function l(r, i, f, v, F, E = "", k = "") {
442
442
  return Object.keys(r).map((T) => {
443
- const N = O(1), V = T, p = r[T], R = Object.keys(p), q = p.title, s = p.type, b = g.get(s) || { type: "input-group", enableClear: !1 }, m = p.editor ? Object.assign({}, b, p.editor) : Object.assign({}, b), h = F(R, p, i), w = P(R, p, i);
444
- m.readonly = m.readonly === void 0 ? w() : m.readonly;
445
- const M = p.type === "cascade" ? l(p.properties, i, f, v, S, E, k) : [], L = !0;
443
+ const N = P(1), $ = T, p = r[T], R = Object.keys(p), q = p.title, s = p.type, b = g.get(s) || { type: "input-group", enableClear: !1 }, m = p.editor ? Object.assign({}, b, p.editor) : Object.assign({}, b), h = S(R, p, i), B = w(R, p, i);
444
+ m.readonly = m.readonly === void 0 ? B() : m.readonly;
445
+ const M = p.type === "cascade" ? l(p.properties, i, f, v, F, E, k) : [], L = !0;
446
446
  let D = d(p, k);
447
- const C = U({
447
+ const V = x({
448
448
  get() {
449
449
  if (N.value) {
450
- if (["class", "style"].find((fe) => fe === V) && !D && (D = a.get("/converter/appearance.converter") || null), D && D.convertFrom)
451
- return D.convertFrom(f, T, S, E);
450
+ if (["class", "style"].find((fe) => fe === $) && !D && (D = a.get("/converter/appearance.converter") || null), D && D.convertFrom)
451
+ return D.convertFrom(f, T, F, E);
452
452
  const A = f[T];
453
453
  return Object.prototype.hasOwnProperty.call(p, "defaultValue") && (A === void 0 || typeof A == "string" && A === "") ? p.type === "boolean" ? p.defaultValue : p.defaultValue || "" : A;
454
454
  }
455
455
  return null;
456
456
  },
457
457
  set(A) {
458
- N.value += 1, D && D.convertTo ? (D.convertTo(v, T, A, S, E), D.convertTo(f, T, A, S, E)) : (v[T] = A, f[T] = A);
458
+ N.value += 1, D && D.convertTo ? (D.convertTo(v, T, A, F, E), D.convertTo(f, T, A, F, E)) : (v[T] = A, f[T] = A);
459
459
  }
460
- }), { refreshPanelAfterChanged: H, description: le, isExpand: ue, parentPropertyID: se } = p, X = { propertyID: V, propertyName: q, propertyType: s, propertyValue: C, editor: m, visible: h, readonly: w, cascadeConfig: M, hideCascadeTitle: L, refreshPanelAfterChanged: H, description: le, isExpand: ue, parentPropertyID: se };
461
- return i[V] = X, X;
460
+ }), { refreshPanelAfterChanged: H, description: le, isExpand: ue, parentPropertyID: se } = p, G = { propertyID: $, propertyName: q, propertyType: s, propertyValue: V, editor: m, visible: h, readonly: B, cascadeConfig: M, hideCascadeTitle: L, refreshPanelAfterChanged: H, description: le, isExpand: ue, parentPropertyID: se };
461
+ return i[$] = G, G;
462
462
  });
463
463
  }
464
464
  function o(r, i, f = {}) {
465
- const v = {}, S = e[r];
466
- return S && S.categories ? Object.keys(S.categories).map((k) => {
467
- const j = S.categories[k], T = j == null ? void 0 : j.title, N = l(j.properties || {}, v, {}, f, i);
465
+ const v = {}, F = e[r];
466
+ return F && F.categories ? Object.keys(F.categories).map((k) => {
467
+ const j = F.categories[k], T = j == null ? void 0 : j.title, N = l(j.properties || {}, v, {}, f, i);
468
468
  return { categoryId: k, categoryName: T, properties: N };
469
469
  }) : [];
470
470
  }
471
- function u(r, i, f, v, S = "") {
472
- const E = i.$ref.schema, k = i.$ref.converter, j = f[E], T = j.type, N = n(j), V = {}, p = e[T];
471
+ function u(r, i, f, v, F = "") {
472
+ const E = i.$ref.schema, k = i.$ref.converter, j = f[E], T = j.type, N = n(j), $ = {}, p = e[T];
473
473
  if (p && p.categories) {
474
474
  const R = p.categories[r], q = R == null ? void 0 : R.title;
475
475
  k && Object.keys(R.properties).forEach((m) => {
476
476
  R.properties[m].$converter = k;
477
477
  });
478
- const s = (R == null ? void 0 : R.properties) || {}, b = l(s, V, N, j, v, S);
478
+ const s = (R == null ? void 0 : R.properties) || {}, b = l(s, $, N, j, v, F);
479
479
  return { categoryId: r, categoryName: q, properties: b };
480
480
  }
481
481
  return { categoryId: r, categoryName: "", properties: [] };
482
482
  }
483
- function c(r, i, f, v, S) {
483
+ function c(r, i, f, v, F) {
484
484
  const E = r.type, k = n(r), j = {};
485
- let T = S || e[E];
485
+ let T = F || e[E];
486
486
  if (T && Object.keys(T).length === 0 && f && f.getPropConfig && (T = f.getPropConfig(v)), T && T.categories) {
487
487
  const N = [];
488
- return Object.keys(T.categories).map((V) => {
489
- const p = T.categories[V];
488
+ return Object.keys(T.categories).map(($) => {
489
+ const p = T.categories[$];
490
490
  if (p.$ref) {
491
- N.push(u(V, p, r, i, v));
491
+ N.push(u($, p, r, i, v));
492
492
  return;
493
493
  }
494
- const R = p == null ? void 0 : p.title, q = p == null ? void 0 : p.tabId, s = p == null ? void 0 : p.tabName, b = p == null ? void 0 : p.hide, m = p == null ? void 0 : p.hideTitle, h = l(p.properties || {}, j, k, r, i, v, p.$converter), { setPropertyRelates: w } = p, M = p == null ? void 0 : p.parentPropertyID;
495
- N.push({ categoryId: V, categoryName: R, tabId: q, tabName: s, hide: b, properties: h, hideTitle: m, setPropertyRelates: w, parentPropertyID: M });
494
+ const R = p == null ? void 0 : p.title, q = p == null ? void 0 : p.tabId, s = p == null ? void 0 : p.tabName, b = p == null ? void 0 : p.hide, m = p == null ? void 0 : p.hideTitle, h = l(p.properties || {}, j, k, r, i, v, p.$converter), { setPropertyRelates: B } = p, M = p == null ? void 0 : p.parentPropertyID;
495
+ N.push({ categoryId: $, categoryName: R, tabId: q, tabName: s, hide: b, properties: h, hideTitle: m, setPropertyRelates: B, parentPropertyID: M });
496
496
  }), N;
497
497
  }
498
498
  return [];
@@ -505,21 +505,21 @@ function I(e, t, n) {
505
505
  }
506
506
  const ee = {}, te = {};
507
507
  I(ee, te, Se);
508
- const ne = {}, re = {}, { resolveSchemaWithDefaultValue: Ge } = Q(ne, re), oe = {}, ie = {};
509
- I(oe, ie, Ge);
510
- function Xe(e, t, n = /* @__PURE__ */ new Map(), a = (y, F, P, d) => F, g = {}, B = (y) => y) {
511
- return Y[t.title] = t, Z[t.title] = a, ee[t.title] = g, te[t.title] = B, ne[t.title] = t, re[t.title] = a, oe[t.title] = g, ie[t.title] = B, (y = {}, F = !0) => {
512
- if (!F)
508
+ const ne = {}, re = {}, { getSchemaByType: St, resolveSchemaWithDefaultValue: We, resolveSchemaToProps: Ft, mappingSchemaToProps: Tt, setDesignerContext: Bt } = Q(ne, re), oe = {}, ie = {};
509
+ I(oe, ie, We);
510
+ function Ge(e, t, n = /* @__PURE__ */ new Map(), a = (y, S, w, d) => S, g = {}, O = (y) => y) {
511
+ return Y[t.title] = t, Z[t.title] = a, ee[t.title] = g, te[t.title] = O, ne[t.title] = t, re[t.title] = a, oe[t.title] = g, ie[t.title] = O, (y = {}, S = !0) => {
512
+ if (!S)
513
513
  return Te(y, n);
514
- const P = Fe(y, t, n), d = Object.keys(e).reduce((l, o) => (l[o] = e[o].default, l), {});
515
- return Object.assign(d, P);
514
+ const w = Fe(y, t, n), d = Object.keys(e).reduce((l, o) => (l[o] = e[o].default, l), {});
515
+ return Object.assign(d, w);
516
516
  };
517
517
  }
518
- function xe(e, t) {
518
+ function Xe(e, t) {
519
519
  return { customClass: t.class, customStyle: t.style };
520
520
  }
521
521
  const Je = /* @__PURE__ */ new Map([
522
- ["appearance", xe]
522
+ ["appearance", Xe]
523
523
  ]), Qe = "https://json-schema.org/draft/2020-12/schema", Ye = "https://farris-design.gitee.io/search-box.schema.json", Ze = "search-box", Ke = "A Farris Component", Ie = "object", et = {
524
524
  id: {
525
525
  description: "The unique identifier for a search-box",
@@ -624,7 +624,7 @@ const ot = "search-box", it = "A Farris Component", at = "object", ct = {
624
624
  description: it,
625
625
  type: at,
626
626
  categories: ct
627
- }, G = {
627
+ }, W = {
628
628
  /**
629
629
  * 自定义图标
630
630
  */
@@ -674,7 +674,7 @@ const ot = "search-box", it = "A Farris Component", at = "object", ct = {
674
674
  * 值变化事件触发时机
675
675
  */
676
676
  updateOn: { default: "blur", type: String }
677
- }, ae = Xe(G, nt, Je, rt, lt), ut = {
677
+ }, ae = Ge(W, nt, Je, rt, lt), ut = {
678
678
  data: { type: Array, default: [] },
679
679
  /** 确认结果事件 */
680
680
  onConfirmResult: { type: Function, default: () => {
@@ -698,14 +698,14 @@ const ot = "search-box", it = "A Farris Component", at = "object", ct = {
698
698
  */
699
699
  maxHeight: { default: 350, type: Number },
700
700
  loading: { default: !1, type: Boolean }
701
- }, ce = /* @__PURE__ */ W({
701
+ }, ce = /* @__PURE__ */ U({
702
702
  name: "FSearchBoxContainer",
703
703
  props: ut,
704
704
  emits: ["confirmResult", "searchedValue"],
705
705
  setup(e, t) {
706
- const n = O(e.data), a = O(), {
706
+ const n = P(e.data), a = P(), {
707
707
  slots: g
708
- } = t, B = U(() => ({
708
+ } = t, O = x(() => ({
709
709
  "search-box-container": !0,
710
710
  "f-utils-overflow-xhya": !0,
711
711
  "position-relative": !0
@@ -714,13 +714,13 @@ const ot = "search-box", it = "A Farris Component", at = "object", ct = {
714
714
  var o;
715
715
  (o = a.value) == null || o.search(l);
716
716
  }
717
- function F(l) {
717
+ function S(l) {
718
718
  l.length && (t.emit("confirmResult", l[0].name), t.emit("searchedValue", l));
719
719
  }
720
- function P(l) {
721
- return g.default ? $(pe, null, [g.default(l)]) : $("span", null, [l.item[e.textField]]);
720
+ function w(l) {
721
+ return g.default ? C(pe, null, [g.default(l)]) : C("span", null, [l.item[e.textField]]);
722
722
  }
723
- const d = U(() => {
723
+ const d = x(() => {
724
724
  const l = {};
725
725
  return l.padding = "8px", e.maxHeight !== void 0 && e.maxHeight > 0 && (l.maxHeight = `${e.maxHeight}px`), l;
726
726
  });
@@ -731,20 +731,20 @@ const ot = "search-box", it = "A Farris Component", at = "object", ct = {
731
731
  search: y
732
732
  }), () => {
733
733
  const l = {
734
- content: P
734
+ content: w
735
735
  };
736
- return $("div", {
737
- class: B.value,
736
+ return C("div", {
737
+ class: O.value,
738
738
  style: d.value
739
- }, [$(ye, {
739
+ }, [C(ye, {
740
740
  ref: "loadingInstance",
741
741
  isActive: e.loading
742
- }, null), $(ge, {
742
+ }, null), C(ge, {
743
743
  ref: a,
744
744
  itemClass: "dropdown-item",
745
745
  data: n.value,
746
746
  view: "ContentView",
747
- onClickItem: (o) => F(o.data),
747
+ onClickItem: (o) => S(o.data),
748
748
  idField: e.idField,
749
749
  textField: e.textField,
750
750
  titleField: e.textField,
@@ -752,26 +752,30 @@ const ot = "search-box", it = "A Farris Component", at = "object", ct = {
752
752
  }, l)]);
753
753
  };
754
754
  }
755
- }), z = /* @__PURE__ */ W({
755
+ }), z = /* @__PURE__ */ U({
756
756
  name: "FSearchBox",
757
- props: G,
757
+ props: W,
758
758
  emits: ["update:modelValue", "change", "selectedValue", "clickButton"],
759
759
  setup(e, t) {
760
- O(e.data);
761
- const n = O(), a = O(), g = O(e.placeholder), B = '<i class="f-icon f-icon-clockwise f-icon-spin"></i>', y = U(() => e.loading ? B : e.buttonContent);
762
- O(e.editable);
763
- const F = O(e.modelValue);
764
- _(F, (c) => {
760
+ P(e.data);
761
+ const n = P(), a = P(), g = P(e.placeholder), O = '<i class="f-icon f-icon-clockwise f-icon-spin"></i>', y = x(() => e.loading ? O : e.buttonContent);
762
+ P(e.editable);
763
+ const S = P(e.modelValue);
764
+ _(S, (c) => {
765
765
  var r;
766
766
  (r = a.value) == null || r.search(c), t.emit("update:modelValue", c);
767
767
  }), _(() => e.modelValue, (c) => {
768
- F.value = c;
768
+ S.value = c;
769
769
  });
770
- function P(c) {
770
+ function w(c) {
771
771
  n.value.commitValue(c);
772
772
  }
773
773
  function d(c) {
774
- t.emit("change", c);
774
+ const r = S.value;
775
+ t.emit("change", c, {
776
+ oldValue: r,
777
+ newValue: c
778
+ });
775
779
  }
776
780
  function l(c) {
777
781
  t.emit("selectedValue", c);
@@ -788,7 +792,7 @@ const ot = "search-box", it = "A Farris Component", at = "object", ct = {
788
792
  const c = {
789
793
  default: t.slots.default
790
794
  };
791
- return $(be, {
795
+ return C(be, {
792
796
  ref: n,
793
797
  "button-content": y.value,
794
798
  "custom-class": e.customClass,
@@ -799,8 +803,8 @@ const ot = "search-box", it = "A Farris Component", at = "object", ct = {
799
803
  disable: e.disable,
800
804
  "enable-clear": !0,
801
805
  "button-behavior": "Execute",
802
- modelValue: F.value,
803
- "onUpdate:modelValue": (r) => F.value = r,
806
+ modelValue: S.value,
807
+ "onUpdate:modelValue": (r) => S.value = r,
804
808
  "popup-host": e.popupHost,
805
809
  "popup-right-boundary": e.popupRightBoundary,
806
810
  "popup-offset-x": e.popupOffsetX,
@@ -809,12 +813,12 @@ const ot = "search-box", it = "A Farris Component", at = "object", ct = {
809
813
  limitContentBySpace: !0,
810
814
  placement: "auto"
811
815
  }, {
812
- default: () => [e.showDropdown && $(ce, {
816
+ default: () => [e.showDropdown && C(ce, {
813
817
  ref: a,
814
818
  data: e.data,
815
819
  idField: e.idField,
816
820
  textField: e.textField,
817
- onConfirmResult: P,
821
+ onConfirmResult: w,
818
822
  onSearchedValue: (r) => l(r),
819
823
  loading: e.loading,
820
824
  maxHeight: e.maxHeight
@@ -826,12 +830,12 @@ const ot = "search-box", it = "A Farris Component", at = "object", ct = {
826
830
  });
827
831
  function st(e, t, n) {
828
832
  var q;
829
- const a = "", g = "", B = O();
833
+ const a = "", g = "", O = P();
830
834
  let y;
831
- function F() {
835
+ function S() {
832
836
  return (t == null ? void 0 : t.schema.componentType) !== "frame";
833
837
  }
834
- function P() {
838
+ function w() {
835
839
  return !1;
836
840
  }
837
841
  function d() {
@@ -845,19 +849,19 @@ function st(e, t, n) {
845
849
  return null;
846
850
  if (s.value.schema && s.value.schema.type === "component")
847
851
  return s.value;
848
- const b = O(s == null ? void 0 : s.value.parent), m = o(b);
852
+ const b = P(s == null ? void 0 : s.value.parent), m = o(b);
849
853
  return m || null;
850
854
  }
851
855
  function u(s = t) {
852
- var w;
856
+ var B;
853
857
  const { componentInstance: b, designerItemElementRef: m } = s;
854
858
  if (!b || !b.value)
855
859
  return null;
856
860
  const { getCustomButtons: h } = b.value;
857
- return b.value.canMove || h && ((w = h()) != null && w.length) ? m : u(s.parent);
861
+ return b.value.canMove || h && ((B = h()) != null && B.length) ? m : u(s.parent);
858
862
  }
859
863
  function c(s) {
860
- return !1;
864
+ return !!n;
861
865
  }
862
866
  function r() {
863
867
  return (t == null ? void 0 : t.schema.label) || (t == null ? void 0 : t.schema.title) || (t == null ? void 0 : t.schema.name);
@@ -871,10 +875,10 @@ function st(e, t, n) {
871
875
  function v(s, b) {
872
876
  const { componentType: m } = s;
873
877
  let h = he(m, s, b);
874
- const w = m.toLowerCase().replace(/-/g, "_");
875
- return h && !h.id && h.type === m && (h.id = `${w}_${Math.random().toString().slice(2, 6)}`), h;
878
+ const B = m.toLowerCase().replace(/-/g, "_");
879
+ return h && !h.id && h.type === m && (h.id = `${B}_${Math.random().toString().slice(2, 6)}`), h;
876
880
  }
877
- function S(s) {
881
+ function F(s) {
878
882
  }
879
883
  function E(...s) {
880
884
  }
@@ -883,7 +887,7 @@ function st(e, t, n) {
883
887
  return;
884
888
  const b = t == null ? void 0 : t.schema, { formSchemaUtils: m } = s;
885
889
  if (b && m.getExpressions().length) {
886
- const h = m.getExpressions().findIndex((w) => w.target === b.id);
890
+ const h = m.getExpressions().findIndex((B) => B.target === b.id);
887
891
  h > -1 && m.getExpressions().splice(h, 1);
888
892
  }
889
893
  }
@@ -898,23 +902,23 @@ function st(e, t, n) {
898
902
  let m = b.id;
899
903
  b.type === "component-ref" && (m = b.component);
900
904
  const h = e.value.querySelectorAll(`#${m}-design-item`);
901
- h != null && h.length && Array.from(h).map((w) => {
905
+ h != null && h.length && Array.from(h).map((B) => {
902
906
  var M;
903
- (M = w == null ? void 0 : w.componentInstance) != null && M.value.onRemoveComponent && w.componentInstance.value.onRemoveComponent(s);
907
+ (M = B == null ? void 0 : B.componentInstance) != null && M.value.onRemoveComponent && B.componentInstance.value.onRemoveComponent(s);
904
908
  });
905
909
  });
906
910
  }
907
911
  function N() {
908
912
  }
909
- function V(s) {
913
+ function $(s) {
910
914
  var m, h;
911
915
  if (!((m = t == null ? void 0 : t.schema) != null && m.id))
912
916
  return;
913
917
  !y && s && (y = s.formSchemaUtils);
914
918
  let b = "";
915
919
  {
916
- const { text: w, title: M, label: L, mainTitle: D, name: C, type: H } = t.schema;
917
- b = w || M || L || D || C || ((h = K[H]) == null ? void 0 : h.name);
920
+ const { text: B, title: M, label: L, mainTitle: D, name: V, type: H } = t.schema;
921
+ b = B || M || L || D || V || ((h = K[H]) == null ? void 0 : h.name);
918
922
  }
919
923
  b && y.getControlBasicInfoMap().set(t.schema.id, {
920
924
  componentTitle: b,
@@ -922,25 +926,25 @@ function st(e, t, n) {
922
926
  });
923
927
  }
924
928
  function p(s) {
925
- var w;
929
+ var B;
926
930
  const { changeObject: b } = s, { propertyID: m, propertyValue: h } = b;
927
- if (["text", "title", "label", "name", "mainTitle"].includes((w = s == null ? void 0 : s.changeObject) == null ? void 0 : w.propertyID) && m && h && (V(), y)) {
931
+ if (["text", "title", "label", "name", "mainTitle"].includes((B = s == null ? void 0 : s.changeObject) == null ? void 0 : B.propertyID) && m && h && ($(), y)) {
928
932
  const M = y.getControlBasicInfoMap(), L = M.keys().toArray().filter((D) => {
929
- var C, H;
930
- return ((C = M.get(D)) == null ? void 0 : C.reliedComponentId) === ((H = t == null ? void 0 : t.schema) == null ? void 0 : H.id);
933
+ var V, H;
934
+ return ((V = M.get(D)) == null ? void 0 : V.reliedComponentId) === ((H = t == null ? void 0 : t.schema) == null ? void 0 : H.id);
931
935
  });
932
936
  L != null && L.length && L.forEach((D) => {
933
- const C = M.get(D).parentPathName.split(" > ");
934
- C[0] = h, M.get(D).parentPathName = C.join(" > ");
937
+ const V = M.get(D).parentPathName.split(" > ");
938
+ V[0] = h, M.get(D).parentPathName = V.join(" > ");
935
939
  });
936
940
  }
937
941
  }
938
942
  function R(s) {
939
943
  p(s);
940
944
  }
941
- return B.value = {
942
- canMove: F(),
943
- canSelectParent: P(),
945
+ return O.value = {
946
+ canMove: S(),
947
+ canSelectParent: w(),
944
948
  canDelete: d(),
945
949
  canNested: !l(),
946
950
  contents: t == null ? void 0 : t.schema.contents,
@@ -956,30 +960,30 @@ function st(e, t, n) {
956
960
  getPropConfig: E,
957
961
  getDragScopeElement: i,
958
962
  onAcceptMovedChildElement: f,
959
- onChildElementMovedOut: S,
963
+ onChildElementMovedOut: F,
960
964
  addNewChildComponentSchema: v,
961
- triggerBelongedComponentToMoveWhenMoved: O(!1),
962
- triggerBelongedComponentToDeleteWhenDeleted: O(!1),
965
+ triggerBelongedComponentToMoveWhenMoved: P(!1),
966
+ triggerBelongedComponentToDeleteWhenDeleted: P(!1),
963
967
  onRemoveComponent: T,
964
968
  getCustomButtons: N,
965
969
  onPropertyChanged: R,
966
- setComponentBasicInfoMap: V,
970
+ setComponentBasicInfoMap: $,
967
971
  updateContextSchema: t == null ? void 0 : t.updateContextSchema
968
- }, B;
972
+ }, O;
969
973
  }
970
- const ft = /* @__PURE__ */ W({
974
+ const ft = /* @__PURE__ */ U({
971
975
  name: "FSearchBoxDesign",
972
- props: G,
976
+ props: W,
973
977
  emits: ["update:modelValue", "change"],
974
978
  setup(e, t) {
975
- const n = O(e.data), a = O(), g = O(), B = O("请输入关键词"), y = O('<i class="f-icon f-icon-search"></i>'), F = O(e.modelValue), P = O(), d = de("design-item-context"), l = st(P, d);
979
+ const n = P(e.data), a = P(), g = P(), O = P("请输入关键词"), y = P('<i class="f-icon f-icon-search"></i>'), S = P(e.modelValue), w = P(), d = de("design-item-context"), l = st(w, d);
976
980
  me(() => {
977
- P.value.componentInstance = l;
978
- }), t.expose(l.value), _(F, (c) => {
981
+ w.value.componentInstance = l;
982
+ }), t.expose(l.value), _(S, (c) => {
979
983
  var r;
980
984
  (r = g.value) == null || r.search(c), t.emit("update:modelValue", c);
981
985
  }), _(() => e.modelValue, (c) => {
982
- F.value = c;
986
+ S.value = c;
983
987
  });
984
988
  function o(c) {
985
989
  a.value.commitValue(c);
@@ -987,24 +991,24 @@ const ft = /* @__PURE__ */ W({
987
991
  function u(c) {
988
992
  t.emit("change", c);
989
993
  }
990
- return () => $("div", {
991
- ref: P
992
- }, [$(ve("f-button-edit"), {
994
+ return () => C("div", {
995
+ ref: w
996
+ }, [C(ve("f-button-edit"), {
993
997
  ref: a,
994
998
  "button-content": y.value,
995
- placeholder: B.value,
999
+ placeholder: O.value,
996
1000
  onChange: u,
997
1001
  "enable-clear": !0,
998
1002
  "button-behavior": "Execute",
999
- modelValue: F.value,
1000
- "onUpdate:modelValue": (c) => F.value = c,
1003
+ modelValue: S.value,
1004
+ "onUpdate:modelValue": (c) => S.value = c,
1001
1005
  "popup-host": e.popupHost,
1002
1006
  "popup-right-boundary": e.popupRightBoundary,
1003
1007
  "popup-offset-x": e.popupOffsetX,
1004
1008
  "popup-on-input": !0,
1005
1009
  "popup-on-focus": !0
1006
1010
  }, {
1007
- default: () => [$(ce, {
1011
+ default: () => [C(ce, {
1008
1012
  ref: g,
1009
1013
  data: n.value,
1010
1014
  onConfirmResult: o
@@ -1025,5 +1029,5 @@ export {
1025
1029
  z as FSearchBox,
1026
1030
  z as default,
1027
1031
  ae as propsResolver,
1028
- G as searchBoxProps
1032
+ W as searchBoxProps
1029
1033
  };