@farris/ui-vue 1.2.7 → 1.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. package/components/accordion/index.esm.js +79 -79
  2. package/components/avatar/index.esm.js +393 -440
  3. package/components/border-editor/index.esm.js +4 -4
  4. package/components/button/index.esm.js +1 -1
  5. package/components/button-edit/index.esm.js +353 -444
  6. package/components/button-group/index.esm.js +5 -5
  7. package/components/calendar/index.esm.js +176 -176
  8. package/components/capsule/index.esm.js +93 -93
  9. package/components/checkbox/index.esm.js +496 -542
  10. package/components/color-picker/index.esm.js +1 -1
  11. package/components/combo-list/index.esm.js +437 -483
  12. package/components/combo-tree/index.esm.js +8 -8
  13. package/components/component/index.esm.js +89 -89
  14. package/components/condition/index.esm.js +839 -726
  15. package/components/content-container/index.esm.js +61 -61
  16. package/components/data-grid/index.esm.js +4702 -4972
  17. package/components/data-view/index.esm.js +2999 -2875
  18. package/components/date-picker/index.esm.js +2626 -2672
  19. package/components/dependent-base/style.js +1 -0
  20. package/components/dependent-fluid/style.js +1 -0
  21. package/components/dependent-icon/style.js +1 -0
  22. package/components/dependent-input/style.js +1 -0
  23. package/components/dependent-table/style.js +1 -0
  24. package/components/designer-canvas/index.esm.js +478 -475
  25. package/components/designer-outline/index.esm.js +173 -131
  26. package/components/discussion-editor/index.esm.js +1 -1
  27. package/components/dropdown/index.esm.js +73 -73
  28. package/components/dynamic-form/index.esm.js +934 -976
  29. package/components/dynamic-resolver/index.esm.js +67 -35
  30. package/components/dynamic-view/index.esm.js +258 -249
  31. package/components/enum-editor/index.esm.js +3 -3
  32. package/components/events-editor/index.esm.js +178 -178
  33. package/components/expression-editor/index.esm.js +105 -105
  34. package/components/external-container/index.esm.js +1892 -1775
  35. package/components/field-selector/index.css +1 -1
  36. package/components/field-selector/index.esm.js +5245 -5514
  37. package/components/filter-bar/index.css +1 -1
  38. package/components/filter-bar/index.esm.js +1483 -1556
  39. package/components/flow-canvas/index.esm.js +678 -675
  40. package/components/image-cropper/index.esm.js +266 -266
  41. package/components/input-group/index.esm.js +668 -714
  42. package/components/layout/index.esm.js +148 -148
  43. package/components/list-nav/index.esm.js +109 -109
  44. package/components/list-view/index.esm.js +1679 -1563
  45. package/components/lookup/index.css +1 -1
  46. package/components/lookup/index.esm.js +6596 -6865
  47. package/components/mapping-editor/index.esm.js +5592 -5862
  48. package/components/message-box/index.esm.js +1 -1
  49. package/components/modal/index.esm.js +1 -1
  50. package/components/nav/index.esm.js +86 -86
  51. package/components/number-range/index.esm.js +1120 -0
  52. package/components/number-range/package.json +8 -0
  53. package/components/number-range/style.js +6 -0
  54. package/components/number-spinner/index.esm.js +1146 -0
  55. package/components/number-spinner/package.json +8 -0
  56. package/components/number-spinner/style.js +4 -0
  57. package/components/order/index.esm.js +988 -1034
  58. package/components/page-footer/index.esm.js +106 -106
  59. package/components/page-header/index.esm.js +1088 -1296
  60. package/components/pagination/index.esm.js +252 -252
  61. package/components/progress/index.esm.js +37 -37
  62. package/components/property-editor/index.esm.js +1416 -1462
  63. package/components/property-panel/index.css +1 -1
  64. package/components/property-panel/index.esm.js +757 -830
  65. package/components/query-solution/index.css +1 -0
  66. package/components/query-solution/index.esm.js +6935 -0
  67. package/components/query-solution/package.json +8 -0
  68. package/components/query-solution/style.js +2 -0
  69. package/components/radio-button/index.esm.js +64 -64
  70. package/components/radio-group/index.esm.js +452 -498
  71. package/components/rate/index.esm.js +92 -92
  72. package/components/response-layout/index.esm.js +33 -33
  73. package/components/response-layout-editor/index.esm.js +117 -117
  74. package/components/response-toolbar/index.esm.js +1021 -1238
  75. package/components/schema-selector/index.esm.js +3215 -3308
  76. package/components/search-box/index.esm.js +143 -143
  77. package/components/section/index.esm.js +209 -209
  78. package/components/smoke-detector/index.esm.js +22 -22
  79. package/components/spacing-editor/index.esm.js +2 -2
  80. package/components/splitter/index.esm.js +1097 -394
  81. package/components/step/index.esm.js +153 -153
  82. package/components/switch/index.esm.js +442 -488
  83. package/components/tabs/index.esm.js +1835 -2004
  84. package/components/tags/index.esm.js +215 -215
  85. package/components/text/index.esm.js +53 -53
  86. package/components/textarea/index.esm.js +451 -482
  87. package/components/time-picker/index.esm.js +1345 -1392
  88. package/components/transfer/index.esm.js +135 -135
  89. package/components/tree-grid/index.css +1 -1
  90. package/components/tree-grid/index.esm.js +5761 -6020
  91. package/components/tree-view/index.esm.js +2380 -2253
  92. package/components/uploader/index.esm.js +1 -1
  93. package/components/verify-detail/index.esm.js +232 -232
  94. package/components/video/index.esm.js +136 -136
  95. package/components/weather/index.esm.js +2 -2
  96. package/farris.all.esm.js +31630 -31224
  97. package/farris.all.umd.cjs +9 -9
  98. package/index.css +1 -1
  99. package/package.json +1 -1
  100. package/types/checkbox/index.d.ts +1 -0
  101. package/types/data-grid/src/designer/column-header.design.component.d.ts +1 -1
  102. package/types/data-grid/src/designer/data-grid-column.props.d.ts +1 -0
  103. package/types/data-view/composition/types.d.ts +1 -1
  104. package/types/designer-canvas/src/composition/dg-control.d.ts +16 -350
  105. package/types/designer-canvas/src/types.d.ts +1 -1
  106. package/types/dynamic-form/index.d.ts +1 -0
  107. package/types/dynamic-form/src/types.d.ts +1 -1
  108. package/types/dynamic-resolver/index.d.ts +1 -0
  109. package/types/dynamic-resolver/src/binding-resolver.d.ts +1 -0
  110. package/types/dynamic-view/src/dynamic-view.component.d.ts +1 -1
  111. package/types/lookup/src/property-config/lookup.property-config.d.ts +2 -1
  112. package/types/modal/src/modal.props.d.ts +1 -4
  113. package/types/property-panel/src/composition/entity/base-property.d.ts +0 -12
  114. package/types/property-panel/src/composition/entity/input-base-property.d.ts +11 -26
  115. package/types/property-panel/src/composition/entity/schema-dom-mapping.d.ts +10 -8
  116. package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +19 -0
  117. package/types/tabs/src/property-config/tabs.property-config.d.ts +6 -6
  118. package/types/tree-grid/src/designer/use-designer-rules.d.ts +3 -0
  119. package/types/tree-grid/src/property-config/tree-grid.property-config.d.ts +11 -0
  120. package/types/tree-grid/src/schema/column-resolver.d.ts +1 -1
  121. package/types/tree-grid/src/tree-grid.props.d.ts +8 -0
  122. package/components/accordion/index.umd.cjs +0 -1
  123. package/components/avatar/index.umd.cjs +0 -1
  124. package/components/border-editor/index.umd.cjs +0 -1
  125. package/components/button/index.umd.cjs +0 -1
  126. package/components/button-edit/index.umd.cjs +0 -1
  127. package/components/button-group/index.umd.cjs +0 -1
  128. package/components/calculator/index.umd.cjs +0 -1
  129. package/components/calendar/index.umd.cjs +0 -1
  130. package/components/capsule/index.umd.cjs +0 -1
  131. package/components/checkbox/index.umd.cjs +0 -1
  132. package/components/color-picker/index.umd.cjs +0 -3
  133. package/components/combo-list/index.umd.cjs +0 -1
  134. package/components/combo-tree/index.umd.cjs +0 -1
  135. package/components/common/index.umd.cjs +0 -1
  136. package/components/component/index.umd.cjs +0 -1
  137. package/components/condition/index.umd.cjs +0 -1
  138. package/components/content-container/index.umd.cjs +0 -1
  139. package/components/data-grid/index.umd.cjs +0 -1
  140. package/components/data-view/index.umd.cjs +0 -1
  141. package/components/date-picker/index.umd.cjs +0 -1
  142. package/components/designer-canvas/index.umd.cjs +0 -1
  143. package/components/designer-outline/index.umd.cjs +0 -1
  144. package/components/designer-toolbox/index.umd.cjs +0 -1
  145. package/components/discussion-editor/index.umd.cjs +0 -3
  146. package/components/discussion-list/index.umd.cjs +0 -1
  147. package/components/drawer/index.umd.cjs +0 -1
  148. package/components/dropdown/index.umd.cjs +0 -2
  149. package/components/dynamic-form/index.umd.cjs +0 -1
  150. package/components/dynamic-resolver/index.umd.cjs +0 -1
  151. package/components/dynamic-view/index.umd.cjs +0 -1
  152. package/components/enum-editor/index.umd.cjs +0 -1
  153. package/components/events-editor/index.umd.cjs +0 -1
  154. package/components/expression-editor/index.umd.cjs +0 -1
  155. package/components/external-container/index.umd.cjs +0 -1
  156. package/components/field-selector/index.umd.cjs +0 -1
  157. package/components/filter-bar/index.umd.cjs +0 -1
  158. package/components/flow-canvas/index.umd.cjs +0 -1
  159. package/components/image-cropper/index.umd.cjs +0 -1
  160. package/components/input-group/index.umd.cjs +0 -1
  161. package/components/layout/index.umd.cjs +0 -1
  162. package/components/list-nav/index.umd.cjs +0 -1
  163. package/components/list-view/index.umd.cjs +0 -1
  164. package/components/loading/index.umd.cjs +0 -8
  165. package/components/locale/index.umd.cjs +0 -1
  166. package/components/lookup/index.umd.cjs +0 -1
  167. package/components/mapping-editor/index.umd.cjs +0 -1
  168. package/components/message-box/index.umd.cjs +0 -1
  169. package/components/modal/index.umd.cjs +0 -1
  170. package/components/nav/index.umd.cjs +0 -3
  171. package/components/notify/index.umd.cjs +0 -1
  172. package/components/order/index.umd.cjs +0 -1
  173. package/components/page-footer/index.umd.cjs +0 -1
  174. package/components/page-header/index.umd.cjs +0 -1
  175. package/components/pagination/index.umd.cjs +0 -1
  176. package/components/popover/index.umd.cjs +0 -1
  177. package/components/progress/index.umd.cjs +0 -3
  178. package/components/property-editor/index.umd.cjs +0 -3
  179. package/components/property-panel/index.umd.cjs +0 -1
  180. package/components/radio-button/index.umd.cjs +0 -1
  181. package/components/radio-group/index.umd.cjs +0 -1
  182. package/components/rate/index.umd.cjs +0 -1
  183. package/components/response-layout/index.umd.cjs +0 -1
  184. package/components/response-layout-editor/index.umd.cjs +0 -1
  185. package/components/response-toolbar/index.umd.cjs +0 -1
  186. package/components/schema-selector/index.umd.cjs +0 -8
  187. package/components/search-box/index.umd.cjs +0 -1
  188. package/components/section/index.umd.cjs +0 -1
  189. package/components/smoke-detector/index.umd.cjs +0 -1
  190. package/components/spacing-editor/index.umd.cjs +0 -1
  191. package/components/splitter/index.umd.cjs +0 -1
  192. package/components/step/index.umd.cjs +0 -1
  193. package/components/switch/index.umd.cjs +0 -1
  194. package/components/tabs/index.umd.cjs +0 -1
  195. package/components/tags/index.umd.cjs +0 -1
  196. package/components/text/index.umd.cjs +0 -1
  197. package/components/textarea/index.umd.cjs +0 -1
  198. package/components/time-picker/index.umd.cjs +0 -1
  199. package/components/tooltip/index.umd.cjs +0 -1
  200. package/components/transfer/index.umd.cjs +0 -1
  201. package/components/tree-grid/index.umd.cjs +0 -1
  202. package/components/tree-view/index.umd.cjs +0 -1
  203. package/components/uploader/index.umd.cjs +0 -2
  204. package/components/verify-detail/index.umd.cjs +0 -1
  205. package/components/video/index.umd.cjs +0 -1
  206. package/components/weather/index.umd.cjs +0 -16
@@ -1,100 +1,99 @@
1
- var N = Object.defineProperty;
2
- var U = (e, t, n) => t in e ? N(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var C = (e, t, n) => U(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { defineComponent as I, ref as f, watch as x, computed as B, createVNode as w, inject as D, onMounted as z } from "vue";
5
- import { cloneDeep as $ } from "lodash-es";
6
- import G from "@farris/ui-vue/components/list-view";
7
- import O from "@farris/ui-vue/components/button-edit";
8
- import { useDesignerComponent as W } from "@farris/ui-vue/components/designer-canvas/src/composition/function/use-designer-component";
9
- const Q = {}, q = {};
1
+ var H = Object.defineProperty;
2
+ var q = (e, t, n) => t in e ? H(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var v = (e, t, n) => q(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import { defineComponent as O, ref as g, watch as w, computed as B, createVNode as M, inject as E, onMounted as G } from "vue";
5
+ import { cloneDeep as W } from "lodash-es";
6
+ import z from "../list-view/index.esm.js";
7
+ import A from "../button-edit/index.esm.js";
8
+ import { getSchemaByType as j } from "../dynamic-resolver/index.esm.js";
9
+ import { useDesignerComponent as J } from "../designer-canvas/index.esm.js";
10
+ const Q = {}, X = {};
10
11
  function L(e) {
11
- const { properties: t, title: n } = e, o = Object.keys(t).reduce((r, u) => (r[u] = t[u].type === "object" && t[u].properties ? L(t[u]) : $(t[u].default), r), {});
12
- return o.id = `${n}-${Date.now()}`, o;
12
+ const { properties: t, title: n } = e, i = Object.keys(t).reduce((l, u) => (l[u] = t[u].type === "object" && t[u].properties ? L(t[u]) : W(t[u].default), l), {});
13
+ return i.id = `${n}-${Date.now()}`, i;
13
14
  }
14
- function X(e, t) {
15
+ function Y(e, t) {
15
16
  const n = L(t);
16
- return Object.keys(e).reduce((o, r) => (o[r] = e[r], o), n), n;
17
+ return Object.keys(e).reduce((i, l) => (i[l] && typeof i[l] == "object" ? Object.assign(i[l], e[l]) : i[l] = e[l], i), n), n;
17
18
  }
18
- function Y(e, t) {
19
- return Object.keys(e).filter((o) => e[o] != null).reduce((o, r) => {
20
- if (t.has(r)) {
21
- const u = t.get(r);
19
+ function Z(e, t) {
20
+ return Object.keys(e).filter((i) => e[i] != null).reduce((i, l) => {
21
+ if (t.has(l)) {
22
+ const u = t.get(l);
22
23
  if (typeof u == "string")
23
- o[u] = e[r];
24
+ i[u] = e[l];
24
25
  else {
25
- const m = u(r, e[r], e);
26
- Object.assign(o, m);
26
+ const y = u(l, e[l], e);
27
+ Object.assign(i, y);
27
28
  }
28
29
  } else
29
- o[r] = e[r];
30
- return o;
30
+ i[l] = e[l];
31
+ return i;
31
32
  }, {});
32
33
  }
33
- function Z(e, t, n = /* @__PURE__ */ new Map()) {
34
- const o = X(e, t);
35
- return Y(o, n);
34
+ function _(e, t, n = /* @__PURE__ */ new Map()) {
35
+ const i = Y(e, t);
36
+ return Z(i, n);
36
37
  }
37
- function _(e = {}) {
38
- function t(c, d, i, a) {
39
- if (typeof i == "number")
40
- return a[c].length === i;
41
- if (typeof i == "object") {
42
- const s = Object.keys(i)[0], p = i[s];
43
- if (s === "not")
44
- return Number(a[c].length) !== Number(p);
45
- if (s === "moreThan")
46
- return Number(a[c].length) >= Number(p);
47
- if (s === "lessThan")
48
- return Number(a[c].length) <= Number(p);
38
+ function K(e = {}) {
39
+ function t(s, d, o, a) {
40
+ if (typeof o == "number")
41
+ return a[s].length === o;
42
+ if (typeof o == "object") {
43
+ const r = Object.keys(o)[0], f = o[r];
44
+ if (r === "not")
45
+ return Number(a[s].length) !== Number(f);
46
+ if (r === "moreThan")
47
+ return Number(a[s].length) >= Number(f);
48
+ if (r === "lessThan")
49
+ return Number(a[s].length) <= Number(f);
49
50
  }
50
51
  return !1;
51
52
  }
52
- function n(c, d, i, a) {
53
- return a[c] && a[c].propertyValue && String(a[c].propertyValue.value) === String(i);
53
+ function n(s, d, o, a) {
54
+ return a[s] && a[s].propertyValue && String(a[s].propertyValue.value) === String(o);
54
55
  }
55
- const o = /* @__PURE__ */ new Map([
56
+ const i = /* @__PURE__ */ new Map([
56
57
  ["length", t],
57
58
  ["getProperty", n]
58
59
  ]);
59
- Object.keys(e).reduce((c, d) => (c.set(d, e[d]), c), o);
60
- function r(c, d) {
61
- const i = c;
62
- return typeof d == "number" ? [{ target: i, operator: "length", param: null, value: Number(d) }] : typeof d == "boolean" ? [{ target: i, operator: "getProperty", param: c, value: !!d }] : typeof d == "object" ? Object.keys(d).map((a) => {
60
+ Object.keys(e).reduce((s, d) => (s.set(d, e[d]), s), i);
61
+ function l(s, d) {
62
+ const o = s;
63
+ return typeof d == "number" ? [{ target: o, operator: "length", param: null, value: Number(d) }] : typeof d == "boolean" ? [{ target: o, operator: "getProperty", param: s, value: !!d }] : typeof d == "object" ? Object.keys(d).map((a) => {
63
64
  if (a === "length")
64
- return { target: i, operator: "length", param: null, value: d[a] };
65
- const s = a, p = d[a];
66
- return { target: i, operator: "getProperty", param: s, value: p };
65
+ return { target: o, operator: "length", param: null, value: d[a] };
66
+ const r = a, f = d[a];
67
+ return { target: o, operator: "getProperty", param: r, value: f };
67
68
  }) : [];
68
69
  }
69
- function u(c) {
70
- return Object.keys(c).reduce((i, a) => {
71
- const s = r(a, c[a]);
72
- return i.push(...s), i;
70
+ function u(s) {
71
+ return Object.keys(s).reduce((o, a) => {
72
+ const r = l(a, s[a]);
73
+ return o.push(...r), o;
73
74
  }, []);
74
75
  }
75
- function m(c, d) {
76
- if (o.has(c.operator)) {
77
- const i = o.get(c.operator);
78
- return i && i(c.target, c.param, c.value, d) || !1;
76
+ function y(s, d) {
77
+ if (i.has(s.operator)) {
78
+ const o = i.get(s.operator);
79
+ return o && o(s.target, s.param, s.value, d) || !1;
79
80
  }
80
81
  return !1;
81
82
  }
82
- function y(c, d) {
83
- return u(c).reduce((s, p) => s && m(p, d), !0);
83
+ function p(s, d) {
84
+ return u(s).reduce((r, f) => r && y(f, d), !0);
84
85
  }
85
- function g(c, d) {
86
- const i = Object.keys(c), a = i.includes("allOf"), s = i.includes("anyOf"), p = a || s, h = (p ? c[p ? a ? "allOf" : "anyOf" : "allOf"] : [c]).map((T) => y(T, d));
86
+ function m(s, d) {
87
+ const o = Object.keys(s), a = o.includes("allOf"), r = o.includes("anyOf"), f = a || r, h = (f ? s[f ? a ? "allOf" : "anyOf" : "allOf"] : [s]).map((F) => p(F, d));
87
88
  return a ? !h.includes(!1) : h.includes(!0);
88
89
  }
89
- return { parseValueSchema: g };
90
+ return { parseValueSchema: m };
90
91
  }
91
- const l = {
92
- Button: { type: "Button", name: "按钮", icon: "Button" },
93
- ButtonGroup: { type: "ButtonGroup", name: "按钮组", icon: "ButtonGroup" },
92
+ const c = {
93
+ button: { type: "button", name: "按钮", icon: "Button" },
94
94
  "response-toolbar": { type: "response-toolbar", name: "工具栏", icon: "ButtonGroup" },
95
- "response-toolbar-item": { type: "response-toolbar-item", name: "工具栏项", icon: "Button" },
95
+ "response-toolbar-item": { type: "response-toolbar-item", name: "按钮", icon: "Button" },
96
96
  "content-container": { type: "content-container", name: "容器", icon: "ContentContainer" },
97
- DisplayField: { type: "DisplayField", name: "标签", icon: "DisplayField" },
98
97
  "input-group": { type: "input-group", name: "文本", icon: "TextBox" },
99
98
  textarea: { type: "textarea", name: "多行文本", icon: "MultiTextBox" },
100
99
  lookup: { type: "lookup", name: "帮助", icon: "LookupEdit" },
@@ -105,114 +104,43 @@ const l = {
105
104
  "check-box": { type: "check-box", name: "复选框", icon: "CheckBox" },
106
105
  "check-group": { type: "check-group", name: "复选框组", icon: "CheckGroup" },
107
106
  "combo-list": { type: "combo-list", name: "下拉列表", icon: "EnumField" },
108
- /** 暂时没用 */
109
- FlexLayout: { type: "FlexLayout", name: "弹性布局" },
110
- /** 暂时没用 */
111
- FlowLayout: { type: "FlowLayout", name: "流布局" },
112
- ResponseLayout: { type: "ResponseLayout", name: "布局容器", icon: "ResponseLayout3" },
113
- ResponseLayoutItem: { type: "ResponseLayoutItem", name: "布局", icon: "ResponseLayout1" },
107
+ "response-form": { type: "response-form", name: "卡片面板", icon: "Form" },
108
+ "response-layout": { type: "response-layout", name: "布局容器", icon: "ResponseLayout3" },
109
+ "response-layout-item": { type: "response-layout-item", name: "布局", icon: "ResponseLayout1" },
114
110
  "tree-grid": { type: "tree-grid", name: "树表格", icon: "TreeGrid" },
115
- TreeGridField: { type: "TreeGridField", name: "树表格列" },
116
- FieldSet: { type: "FieldSet", name: "分组", icon: "FieldSet" },
117
- Form: { type: "Form", name: "卡片面板", icon: "Form" },
118
- QueryForm: { type: "QueryForm", name: "查询面板", icon: "Form" },
111
+ "tree-grid-column": { type: "tree-grid-column", name: "树表格列" },
119
112
  "data-grid": { type: "data-grid", name: "表格", icon: "DataGrid" },
120
113
  "data-grid-column": { type: "data-grid-column", name: "表格列" },
121
- Panel: { type: "Panel", name: "面板", icon: "ContentContainer" },
122
- Module: { type: "Module", name: "模块", icon: "Module" },
114
+ module: { type: "Module", name: "模块", icon: "Module" },
123
115
  component: { type: "component", name: "组件", icon: "Component" },
124
- ExternalContainer: { type: "ExternalContainer", name: "外部容器", icon: "ContentContainer" },
125
- Image: { type: "Image", name: "图像", icon: "Image" },
126
- ImageUpload: { type: "ImageUpload", name: "图片上传", icon: "imageupload" },
127
- HiddenContainer: { type: "HiddenContainer", name: "隐藏区域", icon: "ContentContainer" },
128
- ModalContainer: { type: "ModalContainer", name: "弹窗容器", icon: "ContentContainer" },
129
- RouteContainer: { type: "RouteContainer", name: "路由区域", icon: "ContentContainer" },
130
116
  tabs: { type: "tabs", name: "标签页", icon: "Tab" },
131
117
  "tab-page": { type: "tab-page", name: "标签页项", dependentParentControl: "Tab" },
132
118
  "tab-toolbar-item": { type: "tab-toolbar-item", name: "标签页工具栏按钮", icon: "Button" },
133
- Tag: { type: "Tag", name: "Tag", icon: "Tag" },
134
- Sidebar: { type: "Sidebar", name: "侧边栏", icon: "Sidebar" },
135
- HtmlTemplate: { type: "HtmlTemplate", name: "模版容器", icon: "HtmlTemplate" },
136
- ListView: { type: "ListView", name: "列表", icon: "ListView" },
137
- RichTextBox: { type: "RichTextBox", name: "富文本", icon: "RichTextBox" },
138
- TimeSpinner: { type: "TimeSpinner", name: "时间调节器", icon: "TimePicker" },
139
- TimePicker: { type: "TimePicker", name: "时间选择", icon: "TimePicker" },
119
+ "time-picker": { type: "time-picker", name: "时间选择", icon: "TimePicker" },
140
120
  section: { type: "section", name: "分组面板", icon: "Section" },
141
- SectionToolbar: { type: "SectionToolbar", name: "分组面板工具栏" },
142
- SectionToolbarItem: { type: "SectionToolbarItem", name: "分组面板按钮" },
143
- QueryScheme: { type: "QueryScheme", name: "筛选方案", icon: "QueryScheme" },
144
- FormHeader: { type: "FormHeader", name: "翻页" },
145
- Splitter: { type: "Splitter", name: "分栏面板", icon: "Splitter" },
146
- SplitterPane: { type: "SplitterPane", name: "分栏面板项", dependentParentControl: "Splitter" },
147
- WizardDetail: { type: "WizardDetail", name: "向导详情页" },
148
- WizardDetailContainer: { type: "WizardDetailContainer", name: "向导详情容器" },
149
- Wizard: { type: "Wizard", name: "向导", icon: "Wizard" },
150
- MultiSelect: { type: "MultiSelect", name: "数据分配", icon: "MultiSelect" },
151
- Steps: { type: "Steps", name: "步骤条", icon: "Steps" },
152
- avatar: { type: "avatar", name: "头像", icon: "Avatar" },
153
- ListFilter: { type: "ListFilter", name: "筛选条", icon: "ListFilter" },
154
- ListNav: { type: "ListNav", name: "列表导航", icon: "ListNav" },
155
- NumberRange: { type: "NumberRange", name: "数字区间选择", icon: "NumericBox" },
156
- Scrollspy: { type: "Scrollspy", name: "滚动监听", icon: "Scrollspy" },
157
- LanguageTextBox: { type: "LanguageTextBox", name: "多语言输入框", icon: "LanguageTextBox" },
158
- ComponentRef: { type: "ComponentRef", name: "组件引用节点" },
159
- FileUpload: { type: "FileUpload", name: "附件上传", icon: "FileUpload" },
160
- FilePreview: { type: "FilePreview", name: "附件预览", icon: "FilePreview" },
161
- ViewChange: { type: "ViewChange", name: "多视图切换", icon: "Button" },
162
- MultiViewContainer: { type: "MultiViewContainer", name: "多视图", icon: "MultiViewContainer" },
163
- MultiViewItem: { type: "MultiViewItem", name: "多视图项", dependentParentControl: "MultiViewContainer" },
164
- Footer: { type: "Footer", name: "页脚" },
165
- DiscussionEditor: { type: "DiscussionEditor", name: "评论编辑区", icon: "DiscussionEditor" },
166
- DiscussionList: { type: "DiscussionList", name: "评论列表", icon: "DiscussionList" },
167
- NavTab: { type: "NavTab", name: "标签类导航", icon: "NavTab" },
168
- Tags: { type: "Tags", name: "标记组", icon: "Tags" },
169
- Portlet: { type: "Portlet", name: "小部件", icon: "dingzhi" },
121
+ "section-toolbar": { type: "section-toolbar", name: "分组面板工具栏" },
122
+ "section-toolbar-item": { type: "section-toolbar-item", name: "分组面板按钮" },
123
+ splitter: { type: "splitter", name: "分栏面板", icon: "Splitter" },
124
+ "splitter-pane": { type: "splitter-pane", name: "分栏面板项", dependentParentControl: "Splitter" },
125
+ "component-ref": { type: "component-ref", name: "组件引用节点" },
126
+ uploader: { type: "uploader", name: "附件上传", icon: "FileUpload" },
170
127
  "page-header": { type: "page-header", name: "页头", icon: "Header" },
171
- ModalFooter: { type: "ModalFooter", name: "弹窗页脚", icon: "ModalFooter" },
172
- ScrollCollapsibleArea: { type: "ScrollCollapsibleArea", name: "滚动收折区域", icon: "ScrollCollapsibleArea" },
173
- PersonnelSelector: { type: "PersonnelSelector", name: "人员选择", icon: "PersonnelSelector" },
174
- Table: { type: "Table", name: "表格", icon: "DataGrid" },
175
- LoopContainer: { type: "LoopContainer", name: "循环容器", icon: "ContentContainer" },
176
- FileUploadPreview: { type: "FileUploadPreview", name: "附件上传预览", icon: "FileUpload" },
177
- DynamicArea: { type: "DynamicArea", name: "动态区域", icon: "ContentContainer" },
178
- DynamicAreaItem: { type: "DynamicAreaItem", name: "动态区域项", icon: "ContentContainer" },
179
- TabToolbar: { type: "TabToolbar", name: "标签页工具栏", icon: "TabToolbar" },
180
- HeaderToolBar: { type: "HeaderToolBar", name: "头部组件工具栏", icon: "HeaderToolBar" },
181
- ModalFooterToolBar: { type: "ModalFooterToolBar", name: "底部组件工具栏", icon: "ModalFooterToolBar" },
182
- HeaderToolBarItem: { type: "HeaderToolBarItem", name: "头部组件工具栏按钮", icon: "HeaderToolBarItem" },
183
- ModalFooterToolBarItem: { type: "ModalFooterToolBarItem", name: "底部组件工具栏按钮", icon: "ModalFooterToolBarItem" },
184
- OrganizationSelector: { type: "OrganizationSelector", name: "组织选择", icon: "OrganizationSelector" },
185
- AdminOrganizationSelector: { type: "AdminOrganizationSelector", name: "组织选择", icon: "OrganizationSelector" },
186
- EmployeeSelector: { type: "EmployeeSelector", name: "人员选择", icon: "PersonnelSelector" },
187
- OaRelation: { type: "OaRelation", name: "关联行政审批", icon: "TextBox" },
188
- CitySelector: { type: "CitySelector", name: "城市选择", icon: "CitySelector" },
189
- ExtIntergration: { type: "ExtIntergration", name: "外部服务集成", icon: "ViewModel" },
190
- AppointmentCalendar: { type: "AppointmentCalendar", name: "预约日历", icon: "DateBox" },
191
- /** 查询类 start */
192
- Charts: { type: "Charts", name: "图表", icon: "Charts" },
193
- QdpFramework: { type: "QdpFramework", name: "查询结果工具栏", icon: "QdpFramework" },
194
- SpreadSheet: { type: "SpreadSheet", name: "查询表格控件", icon: "Charts" },
195
- QdpConditionDialog: { type: "QdpConditionDialog", name: "查询筛选对话框", icon: "ContentContainer" },
196
- QdpConditionDialogTab: { type: "QdpConditionDialogTab", name: "查询筛选标签页", icon: "Tab" },
197
- /** 查询类 end */
198
- /** 审批类 start */
199
- ApprovalLogs: { type: "ApprovalLogs", name: "审批记录", icon: "ApprovalLogs" },
200
- ApprovalComments: { type: "ApprovalComments", name: "审批意见", icon: "shenpiyijian" }
201
- /** 审批类 end */
202
- }, J = {}, K = {};
203
- _();
204
- function ee(e, t, n = /* @__PURE__ */ new Map(), o = (m, y, g) => y, r = {}, u = (m) => m) {
205
- return Q[t.title] = t, q[t.title] = o, J[t.title] = r, K[t.title] = u, (m = {}) => {
206
- const y = Z(m, t, n), g = Object.keys(e).reduce((c, d) => (c[d] = e[d].default, c), {});
207
- return Object.assign(g, y);
128
+ "page-footer": { type: "page-footer", name: "页脚", icon: "ModalFooter" },
129
+ "tab-toolbar": { type: "tab-toolbar", name: "标签页工具栏", icon: "TabToolbar" }
130
+ }, ee = {}, te = {};
131
+ K();
132
+ function ne(e, t, n = /* @__PURE__ */ new Map(), i = (y, p, m) => p, l = {}, u = (y) => y) {
133
+ return Q[t.title] = t, X[t.title] = i, ee[t.title] = l, te[t.title] = u, (y = {}) => {
134
+ const p = _(y, t, n), m = Object.keys(e).reduce((s, d) => (s[d] = e[d].default, s), {});
135
+ return Object.assign(m, p);
208
136
  };
209
137
  }
210
- function te(e, t) {
138
+ function ie(e, t) {
211
139
  return { customClass: t.class, customStyle: t.style };
212
140
  }
213
- const ne = /* @__PURE__ */ new Map([
214
- ["appearance", te]
215
- ]), oe = "https://json-schema.org/draft/2020-12/schema", ie = "https://farris-design.gitee.io/combo-list.schema.json", ae = "combo-list", le = "A Farris Input Component", re = "object", ce = {
141
+ const oe = /* @__PURE__ */ new Map([
142
+ ["appearance", ie]
143
+ ]), ae = "https://json-schema.org/draft/2020-12/schema", le = "https://farris-design.gitee.io/combo-list.schema.json", re = "combo-list", se = "A Farris Input Component", ce = "object", de = {
216
144
  id: {
217
145
  description: "The unique identifier for a combo list",
218
146
  type: "string"
@@ -323,23 +251,23 @@ const ne = /* @__PURE__ */ new Map([
323
251
  type: "sting",
324
252
  default: ""
325
253
  }
326
- }, se = [
254
+ }, ue = [
327
255
  "id",
328
256
  "type"
329
- ], de = {
330
- $schema: oe,
331
- $id: ie,
332
- title: ae,
333
- description: le,
334
- type: re,
335
- properties: ce,
336
- required: se
257
+ ], pe = {
258
+ $schema: ae,
259
+ $id: le,
260
+ title: re,
261
+ description: se,
262
+ type: ce,
263
+ properties: de,
264
+ required: ue
337
265
  };
338
- function ue(e, t, n) {
266
+ function me(e, t, n) {
339
267
  return t;
340
268
  }
341
- var pe = /* @__PURE__ */ ((e) => (e.Text = "text", e.Tag = "tag", e))(pe || {}), me = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e.auto = "auto", e))(me || {});
342
- const P = {
269
+ var ye = /* @__PURE__ */ ((e) => (e.Text = "text", e.Tag = "tag", e))(ye || {}), fe = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e.auto = "auto", e))(fe || {});
270
+ const D = {
343
271
  /**
344
272
  * 组件标识
345
273
  */
@@ -505,7 +433,7 @@ const P = {
505
433
  },
506
434
  // 搜索启用高亮
507
435
  enableHighlightSearch: { type: Boolean, default: !0 }
508
- }, A = ee(P, de, ne, ue), ye = {
436
+ }, R = ne(D, pe, oe, me), ge = {
509
437
  dataSource: { type: Array, default: [] },
510
438
  enableSearch: { type: Boolean, default: !1 },
511
439
  idField: { type: String, default: "id" },
@@ -526,40 +454,40 @@ const P = {
526
454
  },
527
455
  // 搜索启用高亮
528
456
  enableHighlightSearch: { type: Boolean, default: !0 }
529
- }, ge = /* @__PURE__ */ I({
457
+ }, he = /* @__PURE__ */ O({
530
458
  name: "FComboListContainer",
531
- props: ye,
459
+ props: ge,
532
460
  emits: ["selectionChange"],
533
461
  setup(e, t) {
534
- const n = f(), o = f(e.dataSource), r = f([]), u = f(e.separator), m = f(e.width), y = f(e.maxHeight), g = f(String(e.selectedValues).split(u.value));
535
- x(e.dataSource, () => {
536
- o.value = e.dataSource;
462
+ const n = g(), i = g(e.dataSource), l = g([]), u = g(e.separator), y = g(e.width), p = g(e.maxHeight), m = g(String(e.selectedValues).split(u.value));
463
+ w(e.dataSource, () => {
464
+ i.value = e.dataSource;
537
465
  });
538
- const c = B(() => e.enableSearch ? "SearchBar" : "ContentHeader"), d = B(() => {
539
- const s = {};
540
- return m.value !== void 0 && (s.width = `${m.value}px`), y.value !== void 0 && y.value > 0 && (s.maxHeight = `${y.value}px`), s;
466
+ const s = B(() => e.enableSearch ? "SearchBar" : "ContentHeader"), d = B(() => {
467
+ const r = {};
468
+ return y.value !== void 0 && (r.width = `${y.value}px`), p.value !== void 0 && p.value > 0 && (r.maxHeight = `${p.value}px`), r;
541
469
  });
542
- function i(s) {
543
- r.value = s.map((p) => Object.assign({}, p)), g.value = s.map((p) => p[e.idField]), t.emit("selectionChange", r.value);
470
+ function o(r) {
471
+ l.value = r.map((f) => Object.assign({}, f)), m.value = r.map((f) => f[e.idField]), t.emit("selectionChange", l.value);
544
472
  }
545
- function a(s) {
473
+ function a(r) {
546
474
  if (e.enableHighlightSearch)
547
475
  return;
548
- let p = [];
549
- typeof e.searchOption == "function" ? p = o.value.filter((v) => e.searchOption(s, v)) : p = o.value.filter((v) => v[e.valueField].indexOf(s) > -1 || v[e.textField].indexOf(s) > -1), n.value.updateDataSource(p);
476
+ let f = [];
477
+ typeof e.searchOption == "function" ? f = i.value.filter((C) => e.searchOption(r, C)) : f = i.value.filter((C) => C[e.valueField].indexOf(r) > -1 || C[e.textField].indexOf(r) > -1), n.value.updateDataSource(f);
550
478
  }
551
- return x([() => e.selectedValues], ([s]) => {
552
- g.value = s.split(u.value);
553
- }), () => w("div", {
479
+ return w([() => e.selectedValues], ([r]) => {
480
+ m.value = r.split(u.value);
481
+ }), () => M("div", {
554
482
  class: "f-combo-list-container pl-3",
555
483
  style: d.value
556
- }, [w(G, {
484
+ }, [M(z, {
557
485
  ref: n,
558
486
  size: "small",
559
487
  itemClass: "f-combo-list-item",
560
- header: c.value,
488
+ header: s.value,
561
489
  headerClass: "f-combo-list-search-box",
562
- data: o.value,
490
+ data: i.value,
563
491
  idField: e.idField,
564
492
  textField: e.textField,
565
493
  titleField: e.titleField,
@@ -573,278 +501,340 @@ const P = {
573
501
  showSelection: !0
574
502
  },
575
503
  enableHighlightSearch: e.enableHighlightSearch,
576
- selectionValues: g.value,
577
- onSelectionChange: i,
504
+ selectionValues: m.value,
505
+ onSelectionChange: o,
578
506
  onAfterSearch: a
579
507
  }, null)]);
580
508
  }
581
509
  });
582
- function fe(e) {
583
- const t = f(""), n = f(e.modelValue), o = f(e.data || []), r = f(e.editable);
584
- function u(i) {
585
- const a = String(i).split(e.separator).map((p) => [p, !0]), s = new Map(a);
586
- return o.value.filter((p) => s.has(String(p[e.valueField])));
510
+ function be(e) {
511
+ const t = g(""), n = g(e.modelValue), i = g(e.data || []), l = g(e.editable);
512
+ function u(o) {
513
+ const a = String(o).split(e.separator).map((f) => [f, !0]), r = new Map(a);
514
+ return i.value.filter((f) => r.has(String(f[e.valueField])));
587
515
  }
588
- function m(i) {
589
- const a = u(i).map((s) => s[e.textField]).join(e.separator);
590
- t.value = r.value ? a || i : a;
516
+ function y(o) {
517
+ const a = u(o).map((r) => r[e.textField]).join(e.separator);
518
+ t.value = l.value ? a || o : a;
591
519
  }
592
- function y(i) {
593
- const a = i.split(e.separator).map((p) => [p, !0]), s = new Map(a);
594
- return o.value.filter((p) => s.has(p[e.textField]));
520
+ function p(o) {
521
+ const a = o.split(e.separator).map((f) => [f, !0]), r = new Map(a);
522
+ return i.value.filter((f) => r.has(f[e.textField]));
595
523
  }
596
- function g(i) {
524
+ function m(o) {
597
525
  const a = {};
598
- return a[e.idField] = i, a[e.textField] = i, [a];
526
+ return a[e.idField] = o, a[e.textField] = o, [a];
599
527
  }
600
- function c(i) {
601
- let a = y(i);
602
- const s = a && a.length > 0;
603
- return r.value && !s && (a = g(i)), a;
528
+ function s(o) {
529
+ let a = p(o);
530
+ const r = a && a.length > 0;
531
+ return l.value && !r && (a = m(o)), a;
604
532
  }
605
533
  function d() {
606
- const { url: i, method: a = "GET", headers: s = {}, body: p = null } = e.remote, v = a.toLowerCase() == "get" ? { method: a, headers: s } : { method: a, headers: s, body: p };
607
- let F = !1;
608
- fetch(i, v).then((h) => {
609
- var T, M;
534
+ const { url: o, method: a = "GET", headers: r = {}, body: f = null } = e.remote, C = a.toLowerCase() == "get" ? { method: a, headers: r } : { method: a, headers: r, body: f };
535
+ let x = !1;
536
+ fetch(o, C).then((h) => {
537
+ var F, T;
610
538
  if (h.status === 200)
611
- return F = !!((M = (T = h.headers) == null ? void 0 : T.get("content-type")) != null && M.includes("application/json")), F ? h.text() : h.json();
539
+ return x = !!((T = (F = h.headers) == null ? void 0 : F.get("content-type")) != null && T.includes("application/json")), x ? h.text() : h.json();
612
540
  throw new Error(h.statusText);
613
541
  }).then((h) => {
614
- o.value = F ? JSON.parse(h) : h;
542
+ i.value = x ? JSON.parse(h) : h;
615
543
  }).catch((h) => {
616
544
  console.error(h);
617
545
  });
618
546
  }
619
- return e.remote && d(), x(() => e.data, () => {
620
- o.value = e.data;
621
- }), x([o], ([i]) => {
547
+ return e.remote && d(), w(() => e.data, () => {
548
+ i.value = e.data;
549
+ }), w([i], ([o]) => {
622
550
  if (e.modelValue) {
623
- const a = i.find((s) => s[e.valueField] === e.modelValue);
551
+ const a = o.find((r) => r[e.valueField] === e.modelValue);
624
552
  a && (t.value = a[e.textField]);
625
553
  }
626
- }), x(() => e.modelValue, (i) => {
627
- n.value = i, m(i);
628
- }), m(e.modelValue), { dataSource: o, displayText: t, editable: r, modelValue: n, getItemsByDisplayText: y, getItemsByValue: u, getSelectedItemsByDisplayText: c };
554
+ }), w(() => e.modelValue, (o) => {
555
+ n.value = o, y(o);
556
+ }), y(e.modelValue), { dataSource: i, displayText: t, editable: l, modelValue: n, getItemsByDisplayText: p, getItemsByValue: u, getSelectedItemsByDisplayText: s };
629
557
  }
630
- const k = /* @__PURE__ */ I({
558
+ const V = /* @__PURE__ */ O({
631
559
  name: "FComboList",
632
- props: P,
560
+ props: D,
633
561
  emits: ["clear", "update:modelValue", "change", "input"],
634
562
  setup(e, t) {
635
- const n = f(), o = f(e.disabled), r = f(e.enableClear), u = f(e.enableSearch), m = f(e.readonly), {
636
- dataSource: y,
637
- displayText: g,
638
- editable: c,
563
+ const n = g(), i = g(e.disabled), l = g(e.enableClear), u = g(e.enableSearch), y = g(e.readonly), {
564
+ dataSource: p,
565
+ displayText: m,
566
+ editable: s,
639
567
  modelValue: d,
640
- getSelectedItemsByDisplayText: i
641
- } = fe(e), a = B(() => e.multiSelect), s = B(() => n.value ? n.value.elementRef.getBoundingClientRect().width : 0);
642
- function p() {
568
+ getSelectedItemsByDisplayText: o
569
+ } = be(e), a = B(() => e.multiSelect), r = B(() => n.value ? n.value.elementRef.getBoundingClientRect().width : 0);
570
+ function f() {
643
571
  !a.value && n.value && n.value.hidePopup();
644
572
  }
645
- function v(b) {
646
- g.value = b.map((S) => S[e.textField]).join(e.separator), b.length === 1 ? d.value = b[0][e.valueField] : d.value = b.map((S) => S[e.valueField]).join(e.separator), t.emit("update:modelValue", d.value), t.emit("change", b, d.value), p();
573
+ function C(b) {
574
+ m.value = b.map((S) => S[e.textField]).join(e.separator), b.length === 1 ? d.value = b[0][e.valueField] : d.value = b.map((S) => S[e.valueField]).join(e.separator), t.emit("update:modelValue", d.value), t.emit("change", b, d.value), f();
647
575
  }
648
- function F() {
649
- m.value || n.value.togglePopup();
576
+ function x() {
577
+ y.value || n.value.togglePopup();
650
578
  }
651
579
  function h(b) {
652
580
  d.value = "", t.emit("update:modelValue", ""), t.emit("clear");
653
581
  }
654
- function V(b) {
655
- const S = i(b);
656
- v(S);
582
+ function P(b) {
583
+ const S = o(b);
584
+ C(S);
657
585
  }
658
- function T() {
659
- return g.value;
586
+ function F() {
587
+ return m.value;
660
588
  }
661
- function M(b) {
589
+ function T(b) {
662
590
  t.emit("input", b);
663
591
  }
664
592
  return t.expose({
665
- getDisplayText: T
666
- }), x([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([b, S, R, H, j]) => {
667
- o.value = b, c.value = S, r.value = R, u.value = H, m.value = j;
668
- }), () => w(O, {
593
+ getDisplayText: F
594
+ }), w([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([b, S, N, U, $]) => {
595
+ i.value = b, s.value = S, l.value = N, u.value = U, y.value = $;
596
+ }), () => M(A, {
669
597
  ref: n,
670
598
  id: e.id,
671
- disable: o.value,
672
- readonly: m.value,
599
+ disable: i.value,
600
+ readonly: y.value,
673
601
  forcePlaceholder: e.forcePlaceholder,
674
- editable: c.value,
602
+ editable: s.value,
675
603
  buttonContent: e.dropDownIcon,
676
604
  placeholder: e.placeholder,
677
- enableClear: r.value,
605
+ enableClear: l.value,
678
606
  maxLength: e.maxLength,
679
607
  tabIndex: e.tabIndex,
680
608
  enableTitle: e.enableTitle,
681
609
  multiSelect: e.multiSelect,
682
610
  inputType: e.multiSelect ? e.viewType : "text",
683
- modelValue: g.value,
684
- "onUpdate:modelValue": (b) => g.value = b,
611
+ modelValue: m.value,
612
+ "onUpdate:modelValue": (b) => m.value = b,
685
613
  focusOnCreated: e.focusOnCreated,
686
614
  selectOnCreated: e.selectOnCreated,
687
615
  onClear: h,
688
- onClick: F,
689
- onChange: V,
690
- onInput: M,
616
+ onClick: x,
617
+ onChange: P,
618
+ onInput: T,
691
619
  beforeOpen: e.beforeOpen
692
620
  }, {
693
- default: () => [w(ge, {
621
+ default: () => [M(he, {
694
622
  idField: e.idField,
695
623
  valueField: e.valueField,
696
624
  textField: e.textField,
697
625
  titleField: e.titleField,
698
- dataSource: y.value,
626
+ dataSource: p.value,
699
627
  selectedValues: d.value,
700
628
  multiSelect: e.multiSelect,
701
629
  enableSearch: u.value,
702
630
  maxHeight: e.maxHeight,
703
631
  enableHighlightSearch: e.enableHighlightSearch,
704
- width: e.fitEditor ? s.value : void 0,
705
- onSelectionChange: v
632
+ width: e.fitEditor ? r.value : void 0,
633
+ onSelectionChange: C
706
634
  }, null)]
707
635
  });
708
636
  }
709
637
  });
710
- function he(e, t) {
638
+ function ve(e, t) {
711
639
  e.schema;
712
- const n = f(!0), o = f(!0);
713
- function r(i) {
640
+ const n = g(!0), i = g(!0);
641
+ function l(o) {
714
642
  return !1;
715
643
  }
716
644
  function u() {
717
645
  return !1;
718
646
  }
719
- function m() {
647
+ function y() {
720
648
  return !1;
721
649
  }
722
- function y() {
650
+ function p() {
723
651
  return !0;
724
652
  }
725
- function g(i) {
653
+ function m(o) {
726
654
  }
727
- function c() {
655
+ function s() {
728
656
  }
729
- function d(i) {
657
+ function d(o) {
730
658
  return null;
731
659
  }
732
660
  return {
733
- canAccepts: r,
661
+ canAccepts: l,
734
662
  checkCanDeleteComponent: u,
735
- checkCanMoveComponent: m,
736
- hideNestedPaddingInDesginerView: y,
737
- onAcceptMovedChildElement: g,
738
- resolveComponentContext: c,
663
+ checkCanMoveComponent: y,
664
+ hideNestedPaddingInDesginerView: p,
665
+ onAcceptMovedChildElement: m,
666
+ resolveComponentContext: s,
739
667
  triggerBelongedComponentToMoveWhenMoved: n,
740
- triggerBelongedComponentToDeleteWhenDeleted: o,
668
+ triggerBelongedComponentToDeleteWhenDeleted: i,
741
669
  getPropsConfig: d
742
670
  };
743
671
  }
744
- class E {
672
+ class Ce {
673
+ constructor(t, n) {
674
+ v(this, "componentId");
675
+ v(this, "viewModelId");
676
+ v(this, "eventsEditorUtils");
677
+ v(this, "formSchemaUtils");
678
+ v(this, "formMetadataConverter");
679
+ v(this, "designViewModelUtils");
680
+ v(this, "designViewModelField");
681
+ v(this, "controlCreatorUtils");
682
+ v(this, "designerHostService");
683
+ v(this, "schemaService", null);
684
+ v(this, "metadataService", null);
685
+ v(this, "propertyConfig", {
686
+ type: "object",
687
+ categories: {}
688
+ });
689
+ var i;
690
+ this.componentId = t, this.designerHostService = n, this.eventsEditorUtils = n.eventsEditorUtils, this.formSchemaUtils = n.formSchemaUtils, this.formMetadataConverter = n.formMetadataConverter, this.viewModelId = ((i = this.formSchemaUtils) == null ? void 0 : i.getViewModelIdByComponentId(t)) || "", this.designViewModelUtils = n.designViewModelUtils, this.controlCreatorUtils = n.controlCreatorUtils, this.metadataService = n.metadataService, this.schemaService = n.schemaService;
691
+ }
692
+ getTableInfo() {
693
+ var t;
694
+ return (t = this.schemaService) == null ? void 0 : t.getTableInfoByViewModelId(this.viewModelId);
695
+ }
696
+ setDesignViewModelField(t) {
697
+ const n = t.binding && t.binding.type === "Form" && t.binding.field;
698
+ if (n) {
699
+ if (!this.designViewModelField) {
700
+ const i = this.designViewModelUtils.getDgViewModel(this.viewModelId);
701
+ this.designViewModelField = i.fields.find((l) => l.id === n);
702
+ }
703
+ t.updateOn = this.designViewModelField.updateOn;
704
+ }
705
+ }
706
+ changeFieldEditorType(t, n) {
707
+ }
708
+ getBasicPropConfig(t) {
709
+ return {
710
+ description: "Basic Information",
711
+ title: "基本信息",
712
+ properties: {
713
+ id: {
714
+ description: "组件标识",
715
+ title: "标识",
716
+ type: "string",
717
+ readonly: !0
718
+ },
719
+ type: {
720
+ description: "组件类型",
721
+ title: "控件类型",
722
+ type: "select",
723
+ editor: {
724
+ type: "combo-list",
725
+ textField: "name",
726
+ valueField: "value",
727
+ data: [{ value: t.type, name: c[t.type].name }]
728
+ }
729
+ }
730
+ }
731
+ };
732
+ }
733
+ getAppearanceConfig(t = null) {
734
+ return {
735
+ title: "样式",
736
+ description: "Appearance",
737
+ properties: {
738
+ class: {
739
+ title: "class样式",
740
+ type: "string",
741
+ description: "组件的CSS样式",
742
+ $converter: "/converter/appearance.converter"
743
+ },
744
+ style: {
745
+ title: "style样式",
746
+ type: "string",
747
+ description: "组件的样式",
748
+ $converter: "/converter/appearance.converter"
749
+ }
750
+ }
751
+ };
752
+ }
753
+ }
754
+ const k = class k {
755
+ /**
756
+ * 根据绑定字段类型获取可用的输入类控件
757
+ */
745
758
  static getEditorTypesByMDataType(t) {
746
- const n = this.fieldControlTypeMapping[t];
759
+ const n = k.fieldControlTypeMapping[t];
747
760
  return n || [{ key: "", value: "" }];
748
761
  }
749
- }
762
+ /**
763
+ * 获取所有输入类控件
764
+ */
765
+ static getAllInputTypes() {
766
+ const t = [];
767
+ for (let n in k.fieldControlTypeMapping)
768
+ k.fieldControlTypeMapping[n].forEach((i) => {
769
+ t.find((l) => l.key === i.key && l.value === i.value) || t.push({ key: i.key, value: i.value });
770
+ });
771
+ return t;
772
+ }
773
+ };
750
774
  /**
751
775
  * <字段类型,可配置的控件类型列表>的映射
752
776
  */
753
- C(E, "fieldControlTypeMapping", {
777
+ v(k, "fieldControlTypeMapping", {
754
778
  String: [
755
- { key: l["input-group"].type, value: l["input-group"].name },
756
- { key: l.lookup.type, value: l.lookup.name },
757
- { key: l.Image.type, value: l.Image.name },
758
- { key: l["date-picker"].type, value: l["date-picker"].name },
759
- { key: l["check-box"].type, value: l["check-box"].name },
760
- { key: l["radio-group"].type, value: l["radio-group"].name },
761
- { key: l["combo-list"].type, value: l["combo-list"].name },
762
- { key: l.textarea.type, value: l.textarea.name }
763
- // { key: DgControl.Tags.type, value: DgControl.Tags.name },
779
+ { key: c["input-group"].type, value: c["input-group"].name },
780
+ { key: c.lookup.type, value: c.lookup.name },
781
+ { key: c["date-picker"].type, value: c["date-picker"].name },
782
+ { key: c["check-box"].type, value: c["check-box"].name },
783
+ { key: c["radio-group"].type, value: c["radio-group"].name },
784
+ { key: c["combo-list"].type, value: c["combo-list"].name },
785
+ { key: c.textarea.type, value: c.textarea.name }
764
786
  ],
765
787
  Text: [
766
- { key: l.textarea.type, value: l.textarea.name },
767
- { key: l.avatar.type, value: l.avatar.name },
768
- { key: l.lookup.type, value: l.lookup.name }
788
+ { key: c.textarea.type, value: c.textarea.name },
789
+ { key: c.lookup.type, value: c.lookup.name }
769
790
  ],
770
791
  Decimal: [
771
- { key: l["number-spinner"].type, value: l["number-spinner"].name }
792
+ { key: c["number-spinner"].type, value: c["number-spinner"].name }
772
793
  ],
773
794
  Integer: [
774
- { key: l["number-spinner"].type, value: l["number-spinner"].name }
795
+ { key: c["number-spinner"].type, value: c["number-spinner"].name }
775
796
  ],
776
797
  Number: [
777
- { key: l["number-spinner"].type, value: l["number-spinner"].name }
798
+ { key: c["number-spinner"].type, value: c["number-spinner"].name }
778
799
  ],
779
800
  BigNumber: [
780
- { key: l["number-spinner"].type, value: l["number-spinner"].name }
801
+ { key: c["number-spinner"].type, value: c["number-spinner"].name }
781
802
  ],
782
803
  Date: [
783
- { key: l["date-picker"].type, value: l["date-picker"].name }
804
+ { key: c["date-picker"].type, value: c["date-picker"].name }
784
805
  ],
785
806
  DateTime: [
786
- { key: l["date-picker"].type, value: l["date-picker"].name }
807
+ { key: c["date-picker"].type, value: c["date-picker"].name }
787
808
  ],
788
809
  Boolean: [
789
- { key: l.switch.type, value: l.switch.name },
790
- { key: l["check-box"].type, value: l["check-box"].name }
810
+ { key: c.switch.type, value: c.switch.name },
811
+ { key: c["check-box"].type, value: c["check-box"].name }
791
812
  ],
792
813
  Enum: [
793
- { key: l["combo-list"].type, value: l["combo-list"].name },
794
- { key: l["radio-group"].type, value: l["radio-group"].name }
814
+ { key: c["combo-list"].type, value: c["combo-list"].name },
815
+ { key: c["radio-group"].type, value: c["radio-group"].name }
795
816
  ],
796
817
  Object: [
797
- { key: l.lookup.type, value: l.lookup.name },
798
- { key: l["combo-list"].type, value: l["combo-list"].name },
799
- { key: l["radio-group"].type, value: l["radio-group"].name }
800
- ],
801
- EmployeeSelector: [
802
- { key: l.EmployeeSelector.type, value: l.EmployeeSelector.name }
803
- ],
804
- AdminOrganizationSelector: [
805
- { key: l.AdminOrganizationSelector.type, value: l.AdminOrganizationSelector.name }
818
+ { key: c.lookup.type, value: c.lookup.name },
819
+ { key: c["combo-list"].type, value: c["combo-list"].name },
820
+ { key: c["radio-group"].type, value: c["radio-group"].name }
806
821
  ]
807
822
  });
808
- class be {
823
+ let I = k;
824
+ const Se = g(0);
825
+ class xe extends Ce {
809
826
  constructor(t, n) {
810
- C(this, "componentId");
811
- C(this, "viewModelId");
812
- C(this, "eventsEditorUtils");
813
- C(this, "formSchemaUtils");
814
- C(this, "formMetadataConverter");
815
- C(this, "designViewModelUtils");
816
- C(this, "designViewModelField");
817
- C(this, "controlCreatorUtils");
818
- C(this, "designerHostService");
819
- C(this, "schemaService", null);
820
- C(this, "metadataService", null);
821
- C(this, "propertyConfig", {
822
- type: "object",
823
- categories: {}
824
- });
825
- var o;
826
- this.componentId = t, this.designerHostService = n, this.eventsEditorUtils = n.eventsEditorUtils, this.formSchemaUtils = n.formSchemaUtils, this.formMetadataConverter = n.formMetadataConverter, this.viewModelId = ((o = this.formSchemaUtils) == null ? void 0 : o.getViewModelIdByComponentId(t)) || "", this.designViewModelUtils = n.designViewModelUtils, this.controlCreatorUtils = n.controlCreatorUtils, this.metadataService = n.metadataService, this.schemaService = n.schemaService;
827
- }
828
- getTableInfo() {
829
- var t;
830
- return (t = this.schemaService) == null ? void 0 : t.getTableInfoByViewModelId(this.viewModelId);
831
- }
832
- setDesignViewModelField(t) {
833
- const n = t.binding && t.binding.type === "Form" && t.binding.field;
834
- if (n) {
835
- if (!this.designViewModelField) {
836
- const o = this.designViewModelUtils.getDgViewModel(this.viewModelId);
837
- this.designViewModelField = o.fields.find((r) => r.id === n);
838
- }
839
- t.updateOn = this.designViewModelField.updateOn;
840
- }
827
+ super(t, n);
841
828
  }
842
- changeFieldEditorType(t, n) {
829
+ getPropertyConfig(t, n) {
830
+ return this.propertyConfig.categories.basic = this.getBasicProperties(t, n), this.propertyConfig.categories.appearance = this.getAppearanceProperties(t), this.propertyConfig.categories.editor = this.getEditorProperties(t), this.propertyConfig;
843
831
  }
844
- getBasicPropConfig(t) {
845
- var o, r;
846
- var n = this;
847
- return this.setDesignViewModelField(t), {
832
+ getBasicProperties(t, n) {
833
+ var y;
834
+ var i = this;
835
+ this.setDesignViewModelField(t);
836
+ const l = this.formSchemaUtils.getFormMetadataBasicInfo(), u = this.designViewModelUtils.getAllFields2TreeByVMId(this.viewModelId);
837
+ return {
848
838
  description: "Basic Information",
849
839
  title: "基本信息",
850
840
  properties: {
@@ -864,63 +854,48 @@ class be {
864
854
  type: "combo-list",
865
855
  textField: "value",
866
856
  valueField: "key",
867
- data: E.getEditorTypesByMDataType(((r = (o = n.designViewModelField) == null ? void 0 : o.type) == null ? void 0 : r.name) || ""),
868
- editable: !1
857
+ editable: !1,
858
+ data: i.designViewModelField ? I.getEditorTypesByMDataType((y = i.designViewModelField.type) == null ? void 0 : y.name) : I.getAllInputTypes()
869
859
  }
870
860
  },
871
861
  label: {
872
862
  title: "标签",
873
863
  type: "string",
874
864
  $converter: "/converter/form-group-label.converter"
865
+ },
866
+ binding: {
867
+ description: "绑定的表单字段",
868
+ title: "绑定",
869
+ $converter: "/converter/field-selector.converter",
870
+ editor: {
871
+ type: "field-selector",
872
+ bindingType: { enable: !1 },
873
+ editorParams: {
874
+ propertyData: t,
875
+ formBasicInfo: l
876
+ },
877
+ columns: [
878
+ { field: "name", title: "字段名称" },
879
+ { field: "bindingField", title: "绑定字段" },
880
+ { field: "fieldType", title: "字段类型" }
881
+ ],
882
+ textField: "bindingField",
883
+ data: u
884
+ }
875
885
  }
876
886
  },
877
- setPropertyRelates(u, m) {
878
- if (u)
879
- switch (u && u.propertyID) {
887
+ setPropertyRelates(p, m) {
888
+ if (p)
889
+ switch (p && p.propertyID) {
880
890
  case "type": {
881
- n.changeControlType(t, u);
891
+ i.changeControlType(t, p, n);
882
892
  break;
883
893
  }
884
894
  }
885
895
  }
886
896
  };
887
897
  }
888
- /**
889
- * 卡片控件:切换控件类型后事件
890
- * @param propertyData 控件DOM属性
891
- * @param newControlType 新控件类型
892
- */
893
- changeControlType(t, n) {
894
- var c, d, i, a, s;
895
- const o = n.propertyValue, r = this.formSchemaUtils.getComponentById(this.componentId);
896
- let u = this.getControlParentContainer(t.id, r);
897
- if (!u)
898
- return;
899
- const m = u.contents.findIndex((p) => p.id === t.id), y = u.contents[m];
900
- let g;
901
- this.designViewModelField && (this.designViewModelUtils.getDgViewModel(this.viewModelId).changeField(this.designViewModelField.id, {
902
- editor: {
903
- $type: o
904
- },
905
- name: this.designViewModelField.name,
906
- require: this.designViewModelField.require,
907
- readonly: this.designViewModelField.readonly
908
- }, !1), g = this.controlCreatorUtils.setFormFieldProperty("Form", this.designViewModelField, null, o)), Object.assign(g, {
909
- id: y.id,
910
- appearance: y.appearance,
911
- size: y.size,
912
- label: y.label
913
- }), Object.assign(g.editor, {
914
- isTextArea: g.isTextArea && y.isTextArea,
915
- type: o || "",
916
- placeHolder: (c = y.editor) == null ? void 0 : c.placeHolder,
917
- holdPlace: (d = y.editor) == null ? void 0 : d.holdPlace,
918
- readonly: (i = y.editor) == null ? void 0 : i.readonly,
919
- require: (a = y.editor) == null ? void 0 : a.require,
920
- visible: (s = y.editor) == null ? void 0 : s.visible
921
- }), u.contents.splice(m, 1, g);
922
- }
923
- getAppearanceConfig(t = null) {
898
+ getAppearanceProperties(t) {
924
899
  return {
925
900
  title: "样式",
926
901
  description: "Appearance",
@@ -950,68 +925,47 @@ class be {
950
925
  }
951
926
  };
952
927
  }
953
- /**
954
- * 获取控件:以contents为节点进行定位
955
- * @param controlId 控件ID
956
- * @param domJson 容器
957
- */
958
- getControlParentContainer(t, n) {
959
- let o;
960
- if (!n || !n.contents || n.contents.length === 0)
961
- return null;
962
- for (const r of n.contents) {
963
- if (r.id === t)
964
- return o = n, n;
965
- if (o = this.getControlParentContainer(t, r), o)
966
- return o;
967
- }
968
- }
969
- }
970
- class Ce extends be {
971
- constructor(t, n) {
972
- super(t, n);
973
- }
974
- getBasicProperties(t) {
975
- let n = this.getBasicPropConfig(t);
976
- return n.properties.binding = this.getFieldSelectorOptions(t), n;
977
- }
978
- getAppearanceProperties(t) {
979
- return this.getAppearanceConfig(t);
980
- }
981
928
  getEditorProperties(t) {
982
929
  return this.getComponentConfig(t);
983
930
  }
984
- getPropertyConfig(t) {
985
- return this.propertyConfig.categories.basic = this.getBasicProperties(t), this.propertyConfig.categories.appearance = this.getAppearanceProperties(t), this.propertyConfig.categories.editor = this.getEditorProperties(t), this.propertyConfig;
986
- }
987
- getFieldSelectorOptions(t) {
988
- const n = this.formSchemaUtils.getFormMetadataBasicInfo(), o = this.designViewModelUtils.getAllFields2TreeByVMId(this.viewModelId);
989
- return {
990
- description: "绑定的表单字段",
991
- title: "绑定",
992
- $converter: "/converter/field-selector.converter",
931
+ /**
932
+ * 卡片控件:切换控件类型后事件
933
+ * @param propertyData 控件DOM属性
934
+ * @param newControlType 新控件类型
935
+ */
936
+ changeControlType(t, n, i) {
937
+ var s, d, o, a;
938
+ const l = n.propertyValue, u = i && i.parent && i.parent.schema;
939
+ if (!u)
940
+ return;
941
+ const y = u.contents.findIndex((r) => r.id === t.id), p = u.contents[y];
942
+ let m;
943
+ this.designViewModelField && (this.designViewModelUtils.getDgViewModel(this.viewModelId).changeField(this.designViewModelField.id, {
993
944
  editor: {
994
- type: "field-selector",
995
- bindingType: { enable: !1 },
996
- editorParams: {
997
- propertyData: t,
998
- formBasicInfo: n
999
- },
1000
- columns: [
1001
- { field: "name", title: "字段名称" },
1002
- { field: "bindingField", title: "绑定字段" },
1003
- { field: "fieldType", title: "字段类型" }
1004
- ],
1005
- textField: "bindingField",
1006
- data: o
1007
- }
1008
- };
1009
- }
1010
- getBindingOtions(t) {
1011
- return this.getFieldSelectorOptions(t);
945
+ $type: l
946
+ },
947
+ name: this.designViewModelField.name,
948
+ require: this.designViewModelField.require,
949
+ readonly: this.designViewModelField.readonly
950
+ }, !1), m = this.controlCreatorUtils.setFormFieldProperty(this.designViewModelField, l)), m || (m = j("form-group") || {}, m.editor = j(l) || {}, delete m.editor.id, delete m.editor.binding, delete m.editor.appearance), Object.assign(m, {
951
+ id: p.id,
952
+ appearance: p.appearance,
953
+ size: p.size,
954
+ label: p.label,
955
+ binding: p.binding,
956
+ visible: p.visible
957
+ }), Object.assign(m.editor, {
958
+ isTextArea: m.isTextArea && p.isTextArea,
959
+ placeholder: (s = p.editor) == null ? void 0 : s.placeholder,
960
+ holdPlace: (d = p.editor) == null ? void 0 : d.holdPlace,
961
+ readonly: (o = p.editor) == null ? void 0 : o.readonly,
962
+ require: (a = p.editor) == null ? void 0 : a.require
963
+ }), u.contents.splice(y, 1), u.contents.splice(y, 0, m), i.schema = Object.assign(p, m), Array.from(document.getElementsByClassName("dgComponentSelected")).forEach(
964
+ (r) => r.classList.remove("dgComponentSelected")
965
+ ), Se.value++;
1012
966
  }
1013
- getComponentConfig(t, n = {}, o = {}) {
1014
- const r = Object.assign({
967
+ getComponentConfig(t, n = {}, i = {}) {
968
+ const l = Object.assign({
1015
969
  description: "组件信息",
1016
970
  title: "组件信息",
1017
971
  type: "input-group",
@@ -1037,11 +991,11 @@ class Ce extends be {
1037
991
  title: "提示文本",
1038
992
  type: "string"
1039
993
  }
1040
- }, o);
1041
- return { ...r, properties: { ...u } };
994
+ }, i);
995
+ return { ...l, properties: { ...u } };
1042
996
  }
1043
997
  }
1044
- class ve extends Ce {
998
+ class Fe extends xe {
1045
999
  constructor(t, n) {
1046
1000
  super(t, n);
1047
1001
  }
@@ -1065,41 +1019,41 @@ class ve extends Ce {
1065
1019
  });
1066
1020
  }
1067
1021
  }
1068
- function Se(e, t) {
1022
+ function ke(e, t) {
1069
1023
  const {
1070
1024
  canAccepts: n,
1071
- checkCanDeleteComponent: o,
1072
- checkCanMoveComponent: r,
1025
+ checkCanDeleteComponent: i,
1026
+ checkCanMoveComponent: l,
1073
1027
  hideNestedPaddingInDesginerView: u,
1074
- onAcceptMovedChildElement: m,
1075
- resolveComponentContext: y,
1076
- triggerBelongedComponentToMoveWhenMoved: g,
1077
- triggerBelongedComponentToDeleteWhenDeleted: c
1078
- } = he(e), d = e.schema;
1079
- function i(a) {
1080
- return new ve(a, t).getPropertyConfig(d);
1028
+ onAcceptMovedChildElement: y,
1029
+ resolveComponentContext: p,
1030
+ triggerBelongedComponentToMoveWhenMoved: m,
1031
+ triggerBelongedComponentToDeleteWhenDeleted: s
1032
+ } = ve(e), d = e.schema;
1033
+ function o(a, r) {
1034
+ return new Fe(a, t).getPropertyConfig(d, r);
1081
1035
  }
1082
1036
  return {
1083
1037
  canAccepts: n,
1084
- checkCanDeleteComponent: o,
1085
- checkCanMoveComponent: r,
1038
+ checkCanDeleteComponent: i,
1039
+ checkCanMoveComponent: l,
1086
1040
  hideNestedPaddingInDesginerView: u,
1087
- onAcceptMovedChildElement: m,
1088
- resolveComponentContext: y,
1089
- triggerBelongedComponentToMoveWhenMoved: g,
1090
- triggerBelongedComponentToDeleteWhenDeleted: c,
1091
- getPropsConfig: i
1041
+ onAcceptMovedChildElement: y,
1042
+ resolveComponentContext: p,
1043
+ triggerBelongedComponentToMoveWhenMoved: m,
1044
+ triggerBelongedComponentToDeleteWhenDeleted: s,
1045
+ getPropsConfig: o
1092
1046
  };
1093
1047
  }
1094
- const Fe = /* @__PURE__ */ I({
1048
+ const we = /* @__PURE__ */ O({
1095
1049
  name: "FComboListDesign",
1096
- props: P,
1050
+ props: D,
1097
1051
  emits: ["clear", "update:modelValue", "change"],
1098
1052
  setup(e, t) {
1099
- const n = f(), o = D("designer-host-service"), r = D("design-item-context"), u = Se(r, o), m = W(n, r, u);
1100
- return z(() => {
1101
- n.value.componentInstance = m;
1102
- }), t.expose(m.value), () => w(O, {
1053
+ const n = g(), i = E("designer-host-service"), l = E("design-item-context"), u = ke(l, i), y = J(n, l, u);
1054
+ return G(() => {
1055
+ n.value.componentInstance = y;
1056
+ }), t.expose(y.value), () => M(A, {
1103
1057
  ref: n,
1104
1058
  id: e.id,
1105
1059
  disable: e.disabled,
@@ -1116,24 +1070,24 @@ const Fe = /* @__PURE__ */ I({
1116
1070
  inputType: e.multiSelect ? "tag" : "text"
1117
1071
  }, null);
1118
1072
  }
1119
- }), Te = (e) => {
1073
+ }), Me = (e) => {
1120
1074
  const t = e;
1121
1075
  return t.install = function(n) {
1122
1076
  n.component(t.name, e);
1123
1077
  }, e;
1124
1078
  };
1125
- k.register = (e, t, n, o) => {
1126
- e["combo-list"] = k, t["combo-list"] = A;
1079
+ V.register = (e, t, n, i) => {
1080
+ e["combo-list"] = V, t["combo-list"] = R;
1127
1081
  };
1128
- k.registerDesigner = (e, t, n) => {
1129
- e["combo-list"] = Fe, t["combo-list"] = A;
1082
+ V.registerDesigner = (e, t, n) => {
1083
+ e["combo-list"] = we, t["combo-list"] = R;
1130
1084
  };
1131
- const Ie = Te(k);
1085
+ const Ee = Me(V);
1132
1086
  export {
1133
- k as FComboList,
1134
- me as Placement,
1135
- pe as ViewType,
1136
- P as comboListProps,
1137
- Ie as default,
1138
- A as propsResolver
1087
+ V as FComboList,
1088
+ fe as Placement,
1089
+ ye as ViewType,
1090
+ D as comboListProps,
1091
+ Ee as default,
1092
+ R as propsResolver
1139
1093
  };