hldesigner 0.0.1

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 (173) hide show
  1. package/FileSaver.min-b57403e6.js +103 -0
  2. package/_commonjsHelpers-e7ea1525.js +36 -0
  3. package/_plugin-vue_export-helper-dad06003.js +9 -0
  4. package/affix-widget-94198099.js +38 -0
  5. package/anchor-link-widget-919ac0ee.js +5 -0
  6. package/anchor-link-widget.vue_vue_type_script_setup_true_name_anchor-link-widget_lang-7df7e7c1.js +35 -0
  7. package/anchor-widget-77003871.js +57 -0
  8. package/auto-complete-widget-8d76ea70.js +74 -0
  9. package/avatar-widget-3cd63f01.js +38 -0
  10. package/backtop-widget-6fc3db98.js +38 -0
  11. package/badge-widget-f36a769c.js +44 -0
  12. package/baseImp-8c4be88e.js +11050 -0
  13. package/breadcrumb-widget-422a9d28.js +79 -0
  14. package/button-widget-918dde3f.js +48 -0
  15. package/cache-widget-a1637f5f.js +53 -0
  16. package/card-widget-2db8e9d4.js +112 -0
  17. package/carousel-widget-838cc8c9.js +75 -0
  18. package/cascader-widget-42482528.js +97 -0
  19. package/chart-widget-ac07a466.js +44285 -0
  20. package/checkbox-widget-ee1fcb0c.js +79 -0
  21. package/clipboard-fc4d858d.js +497 -0
  22. package/code-cf4fbc89.js +82 -0
  23. package/collapse-widget-1a93bdb5.js +89 -0
  24. package/color-picker-widget-e893711a.js +56 -0
  25. package/common-editor-76ac2e32.js +24 -0
  26. package/common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-634a504e.js +25 -0
  27. package/configItem-6bfa74e0.js +113 -0
  28. package/cont-cell-widget-42f96421.js +8 -0
  29. package/cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-d3be593a.js +59 -0
  30. package/cont-widget-9dda9135.js +42 -0
  31. package/content-wrapper-20c559ac.js +14 -0
  32. package/content-wrapper.vue_vue_type_script_setup_true_lang-4a97c453.js +37 -0
  33. package/customClass-editor-9088a8cf.js +43 -0
  34. package/date-picker-range-widget-b9287f93.js +72 -0
  35. package/date-picker-widget-21595fd5.js +78 -0
  36. package/default-slot-widget-fc87ed0a.js +24 -0
  37. package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-0fb8e1cc.js +59 -0
  38. package/descriptions-widget-33a02f1a.js +83 -0
  39. package/designer.es.js +42 -0
  40. package/designer.style.css +11 -0
  41. package/designer.umd.js +161882 -0
  42. package/dialog-5e196819.js +124 -0
  43. package/dialog-widget-22714c34.js +33 -0
  44. package/divider-widget-adf656f2.js +38 -0
  45. package/drag-wrapper-f9fb1533.js +259 -0
  46. package/drawer-widget-404cb6db.js +33 -0
  47. package/dropdown-widget-a4a1e2f7.js +92 -0
  48. package/editor-wrapper-e6b30023.js +779 -0
  49. package/emitter-2b9b9409.js +53 -0
  50. package/empty-widget-c53b07dd.js +64 -0
  51. package/enum-type-255ade69.js +543 -0
  52. package/enum-type-287a50b6.js +2054 -0
  53. package/expression-ea95606e.js +2181 -0
  54. package/feedback-widget-c041b474.js +26 -0
  55. package/feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-efe168a5.js +82 -0
  56. package/field-base-5547436d.js +7 -0
  57. package/field-editor-3e1ce4f3.js +69 -0
  58. package/file-upload-widget-941b9493.js +98 -0
  59. package/form-item-wrapper-8039c512.js +113 -0
  60. package/form-widget-98a02c28.js +184 -0
  61. package/grid-col-widget-3ea371ea.js +8 -0
  62. package/grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-f40c8e16.js +41 -0
  63. package/grid-widget-f0635d43.js +43 -0
  64. package/html-text-widget-c440e86d.js +50 -0
  65. package/icon-2bb9fa65.js +129 -0
  66. package/iframe-widget-37ef665f.js +77 -0
  67. package/image-widget-871d5987.js +64 -0
  68. package/import-config-1eb9a66b.js +13156 -0
  69. package/index-0a2f2997.js +225 -0
  70. package/index-12505eec.js +42 -0
  71. package/index-18720c06.js +138 -0
  72. package/index-188b745d.js +132 -0
  73. package/index-28f32a55.js +216 -0
  74. package/index-2936e7cf.js +3265 -0
  75. package/index-2d29f8d3.js +7233 -0
  76. package/index-3d5d5fac.js +23 -0
  77. package/index-50c3e002.js +227 -0
  78. package/index-6a276ef7.js +131 -0
  79. package/index-6d56f058.js +45 -0
  80. package/index-7b38fd82.js +330 -0
  81. package/index-7c2a8e33.js +17993 -0
  82. package/index-7fa591e3.js +4817 -0
  83. package/index-82f2c56a.js +135 -0
  84. package/index-8713c192.js +344 -0
  85. package/index-8d537d38.js +2393 -0
  86. package/index-9fd4a537.js +99 -0
  87. package/index-ad538d7e.js +832 -0
  88. package/index-c1b1f59f.js +88 -0
  89. package/index-d6fa09d6.js +39 -0
  90. package/index-db2305dc.js +117 -0
  91. package/index-ddd23411.js +4884 -0
  92. package/index-e795786b.js +119 -0
  93. package/index-f146282d.js +1356 -0
  94. package/index-f849ef29.js +216 -0
  95. package/index-ffbcbc43.js +65 -0
  96. package/input-number-widget-64f89b9d.js +66 -0
  97. package/input-widget-0fe7c3d7.js +71 -0
  98. package/install-designer-bed2e18a.js +4752 -0
  99. package/item-4be3cb5b.js +34 -0
  100. package/item-ddbdee11.js +24 -0
  101. package/itemDetail-b31192a5.js +43 -0
  102. package/label-wrapper-91b95fb0.js +12 -0
  103. package/label-wrapper.vue_vue_type_style_index_0_lang-0a7f6bdd.js +80 -0
  104. package/link-widget-0f2bb61c.js +56 -0
  105. package/ltable-col-widget-9f26b93d.js +8 -0
  106. package/ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-639ee976.js +256 -0
  107. package/ltable-widget-b78a72ee.js +69 -0
  108. package/menu-widget-15fdd710.js +96 -0
  109. package/model-widget-3f2b1368.js +122 -0
  110. package/multirow-e1e1205c.js +292 -0
  111. package/multirow-widget copy-671ebd9c.js +858 -0
  112. package/multirow-widget-d256cac6.js +694 -0
  113. package/name-editor-05685151.js +104 -0
  114. package/optionItem-0ac4a3ae.js +4667 -0
  115. package/package.json +13 -0
  116. package/pagination-widget-31a7301d.js +81 -0
  117. package/picture-upload-widget-46ea42a0.js +102 -0
  118. package/postcss-2c4d92ea.js +2285 -0
  119. package/progress-widget-fc1f9557.js +52 -0
  120. package/property-base-e63e2f28.js +78 -0
  121. package/propresult-8fdf23e2.js +22 -0
  122. package/radio-widget-fbc63c11.js +79 -0
  123. package/range-widget-b0882319.js +74 -0
  124. package/rate-widget-9719ca7d.js +56 -0
  125. package/reg-editor.vue_vue_type_script_setup_true_lang-56504fb0.js +61 -0
  126. package/result-widget-925a5426.js +67 -0
  127. package/rich-editor-widget-426f0b19.js +77 -0
  128. package/router-widget-209f0eb1.js +54 -0
  129. package/schemaData-ab87bd49.js +333 -0
  130. package/select-widget-0b560a2f.js +288 -0
  131. package/setView-de8aaf40.js +84 -0
  132. package/sfc-10e3d29c.js +2570 -0
  133. package/share-editor-27d43940.js +448 -0
  134. package/share-event-dd8ff2ba.js +26 -0
  135. package/share-field-451430de.js +690 -0
  136. package/share-file-124a4d83.js +121 -0
  137. package/size-editor-ea05760c.js +92 -0
  138. package/slider-widget-fb4efa96.js +62 -0
  139. package/slot-04a83a27.js +17 -0
  140. package/static-text-widget-2efdd909.js +51 -0
  141. package/steps-widget-6f283f21.js +91 -0
  142. package/subMenu-widget-77e295cb.js +16 -0
  143. package/subMenu-widget.vue_vue_type_script_setup_true_lang-b051a10e.js +69 -0
  144. package/switch-widget-f1120b6c.js +56 -0
  145. package/tab-pane-widget-99c21615.js +8 -0
  146. package/tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-bc962788.js +35 -0
  147. package/table-col-widget-d6d5d21f.js +23 -0
  148. package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-2efa4d60.js +80 -0
  149. package/table-widget-9b8d9798.js +163 -0
  150. package/tabs-widget-88393072.js +68 -0
  151. package/tag-widget-33c17c06.js +38 -0
  152. package/target-code-48e9d055.js +33 -0
  153. package/target-datasource-35dfcb1d.js +221 -0
  154. package/target-link-3ffd0149.js +126 -0
  155. package/target-saveForm-012b7de1.js +136 -0
  156. package/target-widget-3d7f6104.js +59 -0
  157. package/target-window-7556d301.js +54 -0
  158. package/template-c30585f4.js +251740 -0
  159. package/text-widget-8b5ece83.js +38 -0
  160. package/textarea-widget-e7c1d9ed.js +56 -0
  161. package/time-picker-range-widget-b8dfcc3b.js +58 -0
  162. package/time-picker-widget-73bde0a3.js +57 -0
  163. package/time-select-widget-08008b76.js +57 -0
  164. package/tmpl-widget-7d245d41.js +92 -0
  165. package/tooltip-wrapper-2922e49e.js +31 -0
  166. package/tree-select-widget-67231123.js +94 -0
  167. package/tree-widget-ab91165f.js +90 -0
  168. package/uuid-39f0308a.js +196 -0
  169. package/value-editor-27783d6c.js +89 -0
  170. package/vue3-sfc-loader-b70bdce4.js +34688 -0
  171. package/widget-base-4c2d6265.js +27 -0
  172. package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-bbe0cabe.js +277 -0
  173. package/wrapper-widget-5702502d.js +78 -0
@@ -0,0 +1,4667 @@
1
+ var ke = Object.defineProperty;
2
+ var Ie = (o, l, y) => l in o ? ke(o, l, { enumerable: !0, configurable: !0, writable: !0, value: y }) : o[l] = y;
3
+ var e = (o, l, y) => (Ie(o, typeof l != "symbol" ? l + "" : l, y), y);
4
+ import { d as s, C as t, F as De, I as Se, l as Fe, m as Pe, n as We, o as C, D as I, T as E, p as D, q as ze, r as Ne, s as Ae, t as Le, u as Re, v as Ke, h, w as S, x as M, y as H, z as Be, A as F, B as Ee, k as x, H as T, G as Me, J as He, K as je, M as Ve, N as j, Q as Ue, U as Ge, X as qe, Y as Je, Z as Qe, _ as Xe, $ as R, a0 as Ye, a1 as Ze, a2 as _e, a3 as $e, a4 as V, a5 as en, a6 as K, a7 as nn, a8 as tn, a9 as an, aa as ln, ab as on, e as U, f as sn, ac as rn, ad as wn, ae as dn, af as cn, g as pn } from "./enum-type-255ade69.js";
5
+ import { S as i, k as c, P as n, i as a, l as f, s as r, m as k, n as d, o as v, p as G, q, E as un, t as P, v as W, w as fn, B as J, x as u, y as Q, I as X, T as Y, z as Z } from "./baseImp-8c4be88e.js";
6
+ import { g as vn } from "./uuid-39f0308a.js";
7
+ import { B as w } from "./enum-type-287a50b6.js";
8
+ import { s as hn, c as b } from "./template-c30585f4.js";
9
+ class gn extends c {
10
+ constructor() {
11
+ super(...arguments);
12
+ /**
13
+ * 标签是否隐藏
14
+ */
15
+ e(this, "labelHidden", new n(t.placer, !1));
16
+ /**
17
+ * 标签内容
18
+ */
19
+ e(this, "label", new n(t.placer, ""));
20
+ /**
21
+ * 默认值
22
+ */
23
+ e(this, "defaultValue", null);
24
+ /**
25
+ * 组件状态
26
+ */
27
+ e(this, "state", new n(t.placer, De.custom));
28
+ /**
29
+ * 是否只读
30
+ */
31
+ e(this, "readonly", !1);
32
+ /**
33
+ * 是否禁用
34
+ */
35
+ e(this, "disabled", !1);
36
+ /**
37
+ * 内容改变调用事件
38
+ */
39
+ e(this, "change", new n(t.event, void 0, new a()));
40
+ }
41
+ }
42
+ class mn extends f {
43
+ constructor() {
44
+ super(...arguments);
45
+ /**
46
+ * 组件类型
47
+ */
48
+ e(this, "type", Se.text);
49
+ /**
50
+ * 最小长度
51
+ */
52
+ e(this, "minlength", 0);
53
+ /**
54
+ * 最大长度
55
+ */
56
+ e(this, "maxlength", 1e4);
57
+ /**
58
+ * 头部Icon
59
+ */
60
+ e(this, "prefixIcon", new n(t.icon));
61
+ /**
62
+ * 尾部Icon
63
+ */
64
+ e(this, "suffixIcon", new n(t.icon));
65
+ /**
66
+ * 是否支持清空
67
+ */
68
+ e(this, "clearable", !0);
69
+ /**
70
+ * 是否显示加密样式
71
+ */
72
+ e(this, "showPassword", !1);
73
+ /**
74
+ * 显示字数统计
75
+ */
76
+ e(this, "showWordLimit", !1);
77
+ /**
78
+ * 是否添加后置按钮
79
+ */
80
+ // appendButton?: boolean = false;
81
+ /**
82
+ * 后置按钮禁用
83
+ */
84
+ // appendButtonDisabled?: boolean = false;
85
+ /**
86
+ * 按钮Icon
87
+ */
88
+ // buttonIcon?: string = 'Search';
89
+ /**
90
+ * 自动获取焦点,属性无效,先作废
91
+ */
92
+ // autofocus?: boolean = false;
93
+ /**
94
+ * 指定输入值的格式
95
+ */
96
+ e(this, "formatter", new n(t.hook, void 0, new a()));
97
+ /**
98
+ * 指定从格式化器输入中提取的值
99
+ */
100
+ e(this, "parser", new n(t.hook, void 0, new a()));
101
+ /**
102
+ * 输入内容调用事件
103
+ */
104
+ e(this, "input", new n(t.event, void 0, new a()));
105
+ /**
106
+ * 在点击由 clearable 属性生成的清空按钮时触发
107
+ */
108
+ e(this, "clear", new n(t.event, void 0, new a()));
109
+ /**
110
+ * 是否开启插槽组件模式
111
+ */
112
+ e(this, "slotable", new n(t.placer, !1));
113
+ /**
114
+ * 后置按钮点击后调用事件
115
+ */
116
+ // onAppendButtonClick?: string = '';
117
+ /**
118
+ * 前置内容
119
+ */
120
+ e(this, "prepend", new n(t.slot, null, new r({ allowDrag: !0 })));
121
+ /**
122
+ * 后置内容
123
+ */
124
+ e(this, "append", new n(t.slot, null, new r({ allowDrag: !0 })));
125
+ }
126
+ }
127
+ class bn extends f {
128
+ constructor() {
129
+ super(...arguments);
130
+ /**
131
+ * 缩放类型
132
+ */
133
+ e(this, "resize", Fe.none);
134
+ /**
135
+ * 初始化行数
136
+ */
137
+ e(this, "rows", 3);
138
+ /**
139
+ * 最小长度
140
+ */
141
+ e(this, "minlength", 0);
142
+ /**
143
+ * 最大长度
144
+ */
145
+ e(this, "maxlength", 1e4);
146
+ /**
147
+ * 显示字数统计
148
+ */
149
+ e(this, "showWordLimit", !1);
150
+ /**
151
+ * 自动获取焦点
152
+ */
153
+ // autofocus?: boolean = false;
154
+ /**
155
+ * 高度自适应
156
+ */
157
+ e(this, "autosize", !1);
158
+ /**
159
+ * 输入内容调用事件
160
+ */
161
+ e(this, "input", new n(t.event, void 0, new a()));
162
+ }
163
+ }
164
+ class yn extends f {
165
+ constructor() {
166
+ super(...arguments);
167
+ /**
168
+ * 默认值
169
+ * 必需为null
170
+ */
171
+ e(this, "defaultValue", null);
172
+ /**
173
+ * 最小值
174
+ */
175
+ e(this, "min", 0);
176
+ /**
177
+ * 最大值
178
+ */
179
+ e(this, "max", 1e4);
180
+ /**
181
+ * 小数点精确度
182
+ */
183
+ e(this, "precision", 0);
184
+ /**
185
+ * 增减步长
186
+ */
187
+ e(this, "step", 1);
188
+ /**
189
+ * 只允许step倍数
190
+ */
191
+ e(this, "stepStrictly", !1);
192
+ /**
193
+ * 使用控制按钮
194
+ */
195
+ e(this, "controls", !0);
196
+ /**
197
+ * 控制按钮位置
198
+ */
199
+ e(this, "controlsPosition", Pe.none);
200
+ /**
201
+ * 当输入框被清空时显示的值
202
+ */
203
+ e(this, "valueOnClear", We.min);
204
+ /**
205
+ * 单位
206
+ */
207
+ e(this, "unitText", new n(t.placer, ""));
208
+ /**
209
+ * 输入内容调用事件
210
+ */
211
+ e(this, "input", new n(t.event, void 0, new a()));
212
+ }
213
+ }
214
+ class xn extends f {
215
+ constructor() {
216
+ super(...arguments);
217
+ /**
218
+ * 是否支持清空
219
+ */
220
+ e(this, "clearable", !0);
221
+ /**
222
+ * 点击选中建议项时触发
223
+ */
224
+ e(this, "select", new n(t.event, void 0, new a()));
225
+ /**
226
+ * 获取输入建议的方法
227
+ */
228
+ e(this, "fetchSuggestions", new n(t.hook, void 0, new a()));
229
+ /**
230
+ * 自定义输入建议的内容
231
+ */
232
+ e(this, "default", new n(t.slot, null, new r()));
233
+ /**
234
+ * 输入建议对象中用于显示的键名
235
+ */
236
+ e(this, "valueKey", "value");
237
+ /**
238
+ * 获取输入建议的防抖延时,单位为毫秒
239
+ */
240
+ e(this, "debounce", 300);
241
+ /**
242
+ * 菜单弹出位置
243
+ */
244
+ e(this, "placement", C.bottomStart);
245
+ /**
246
+ * 是否在输入时显示建议选项
247
+ */
248
+ e(this, "triggerOnFocus", !1);
249
+ /**
250
+ * 在输入没有任何匹配建议的情况下,按下回车是否触发 select 事件
251
+ */
252
+ e(this, "selectWhenUnmatched", !1);
253
+ /**
254
+ * 是否隐藏远程加载时的加载图标
255
+ */
256
+ e(this, "hideLoading", !1);
257
+ //#region 共享下拉框属性
258
+ /**
259
+ * 下拉列表的类名
260
+ */
261
+ e(this, "popperClass", "");
262
+ /**
263
+ * 是否将下拉列表插入至 body 元素。 在下拉列表的定位出现问题时,可将该属性设置为 false
264
+ */
265
+ e(this, "popperAppendToBody", !1);
266
+ /**
267
+ * 是否将下拉列表元素插入 append-to 指向的元素下
268
+ */
269
+ e(this, "teleported", !1);
270
+ //#endregion
271
+ /**
272
+ * 是否默认高亮远程搜索结果的第一项
273
+ */
274
+ e(this, "highlightFirstItem", !1);
275
+ /**
276
+ * 下拉框的宽度是否与输入框相同
277
+ */
278
+ e(this, "fitInputWidth", !1);
279
+ /**
280
+ * 是否开启插槽组件模式
281
+ */
282
+ e(this, "slotable", new n(t.placer, !1));
283
+ /**
284
+ * 输入框头部内容
285
+ */
286
+ e(this, "prefix", new n(t.slot, null, new r({ allowDrag: !0 })));
287
+ /**
288
+ * 输入框尾部内容
289
+ */
290
+ e(this, "suffix", new n(t.slot, null, new r({ allowDrag: !0 })));
291
+ /**
292
+ * 下输入框前置内容,在 prefix 之前
293
+ */
294
+ e(this, "prepend", new n(t.slot, null, new r({ allowDrag: !0 })));
295
+ /**
296
+ * 输入框后置内容,在 suffix 之后
297
+ */
298
+ e(this, "append", new n(t.slot, null, new r({ allowDrag: !0 })));
299
+ }
300
+ }
301
+ class On extends k {
302
+ constructor() {
303
+ super(...arguments);
304
+ /**
305
+ * 显示样式
306
+ */
307
+ e(this, "displayStyle", new n(t.placer, I.block));
308
+ /**
309
+ * 是否显示为按钮
310
+ */
311
+ e(this, "buttonStyle", !1);
312
+ /**
313
+ * 激活时文本色
314
+ */
315
+ e(this, "textColor", "");
316
+ /**
317
+ * 激活时填充色和边框色
318
+ */
319
+ e(this, "fill", "");
320
+ /**
321
+ * 是否带有边框
322
+ */
323
+ e(this, "border", !1);
324
+ /**
325
+ * value键名
326
+ */
327
+ e(this, "valueKey", new n(t.placer, "value"));
328
+ /**
329
+ * label键名
330
+ */
331
+ e(this, "labelKey", new n(t.placer, "label"));
332
+ /**
333
+ * 选项文本属性名-值变化时同时新增对应属性
334
+ */
335
+ e(this, "textName", new n(t.placer, ""));
336
+ /**
337
+ * 选项列表属性名-值变化时同时新增对应属性
338
+ */
339
+ e(this, "optionName", new n(t.placer, ""));
340
+ /**
341
+ * 是否禁用,弃用-已合并成“状态”属性
342
+ */
343
+ // disabled?: boolean = false;
344
+ /**
345
+ * 下属选项
346
+ */
347
+ e(this, "optionItems", new n(t.singleOption, [], new d({ type: w.array, enable: !0 })));
348
+ /**
349
+ * 关联选项设置
350
+ */
351
+ e(this, "relate", new n(t.placer, void 0));
352
+ }
353
+ }
354
+ class _ extends u {
355
+ constructor() {
356
+ super(...arguments);
357
+ /**
358
+ * 是否带有边框
359
+ */
360
+ e(this, "border", !1);
361
+ /**
362
+ * 是否禁用
363
+ */
364
+ e(this, "disabled", !1);
365
+ }
366
+ }
367
+ class Tn extends k {
368
+ constructor() {
369
+ super(...arguments);
370
+ /**
371
+ * 默认值
372
+ */
373
+ e(this, "defaultValue", []);
374
+ /**
375
+ * 勾选最小数量
376
+ */
377
+ e(this, "min", 0);
378
+ /**
379
+ * 勾选最大数量
380
+ */
381
+ e(this, "max", 1e3);
382
+ /**
383
+ * 显示样式
384
+ */
385
+ e(this, "displayStyle", new n(t.placer, I.block));
386
+ /**
387
+ * 是否显示为按钮
388
+ */
389
+ e(this, "buttonStyle", !1);
390
+ /**
391
+ * 是否带有边框
392
+ */
393
+ e(this, "border", !1);
394
+ /**
395
+ * 是否禁用 ,弃用-已合并成“状态”属性
396
+ */
397
+ // disabled?: boolean = false;
398
+ /**
399
+ * 激活时文本色
400
+ */
401
+ e(this, "textColor", "#ffffff");
402
+ /**
403
+ * 激活时填充色和边框色
404
+ */
405
+ e(this, "fill", "#409EFF");
406
+ /**
407
+ * 组元素标签
408
+ */
409
+ e(this, "tag", "div");
410
+ /**
411
+ * value键名
412
+ */
413
+ e(this, "valueKey", new n(t.placer, "value"));
414
+ /**
415
+ * label键名
416
+ */
417
+ e(this, "labelKey", new n(t.placer, "label"));
418
+ /**
419
+ * 选项文本属性名-值变化时同时新增对应属性
420
+ */
421
+ e(this, "textName", new n(t.placer, "textName"));
422
+ /**
423
+ * 选项列表属性名-值变化时同时新增对应属性
424
+ */
425
+ e(this, "optionName", new n(t.placer, "optionName"));
426
+ /**
427
+ * 下属选项
428
+ */
429
+ e(this, "optionItems", new n(t.singleOption, [], new d({ type: w.array, enable: !0 })));
430
+ /**
431
+ * 关联选项设置
432
+ */
433
+ e(this, "relate", new n(t.placer, []));
434
+ }
435
+ }
436
+ class $ extends u {
437
+ constructor() {
438
+ super(...arguments);
439
+ /**
440
+ * 是否带有边框
441
+ */
442
+ e(this, "border", !1);
443
+ /**
444
+ * 是否禁用
445
+ */
446
+ e(this, "disabled", !1);
447
+ }
448
+ /**
449
+ * 是否触发表单验证
450
+ */
451
+ // validateEvent?: boolean = false;
452
+ /**
453
+ * 选中时的值
454
+ */
455
+ // trueLabel?: string | number = '';
456
+ /**
457
+ * 没有选中时的值
458
+ */
459
+ // falseLabel?: string | number = '';
460
+ /**
461
+ * 仅负责样式控制
462
+ */
463
+ // indeterminate?: boolean = false;
464
+ }
465
+ class B extends f {
466
+ constructor() {
467
+ super(...arguments);
468
+ /**
469
+ * 是否在输入框按下回车时,选择第一个匹配项。
470
+ */
471
+ e(this, "defaultFirstOption", !1);
472
+ /**
473
+ * 无选项时显示的文字,也可以使用 empty 插槽设置自定义内容,默认是 “No data”
474
+ */
475
+ e(this, "noDataText", "");
476
+ /**
477
+ * 是否允许创建选项
478
+ */
479
+ e(this, "allowCreate", !1);
480
+ /**
481
+ * 是否自动下拉
482
+ */
483
+ e(this, "automaticDropdown", !1);
484
+ /**
485
+ * 是否分组显示
486
+ */
487
+ e(this, "showGroup", new n(t.placer, !1));
488
+ /**
489
+ * 是否将下拉列表插入至 body 元素
490
+ */
491
+ e(this, "teleported", !0);
492
+ /**
493
+ * 当下拉选择器未被激活并且persistent设置为false,选择器会被删除。
494
+ */
495
+ e(this, "persistent", !0);
496
+ /**
497
+ * 下拉框的宽度是否与输入框相同
498
+ */
499
+ e(this, "fitInputWidth", !1);
500
+ /**
501
+ * 是否支持清除
502
+ */
503
+ e(this, "clearable", !0);
504
+ /**
505
+ * 自定义清除图标
506
+ */
507
+ e(this, "clearIcon", new n(t.icon, "CircleClose"));
508
+ /**
509
+ * 下拉菜单显示/消失时后缀图标的动画
510
+ */
511
+ e(this, "suffixTransition", !0);
512
+ /**
513
+ * 自定义后缀图标组件
514
+ */
515
+ e(this, "suffixIcon", new n(t.icon, "ArrowDown"));
516
+ /**
517
+ * 标签类型
518
+ */
519
+ e(this, "tagType", E.info);
520
+ /**
521
+ * 是否触发表单验证
522
+ */
523
+ // validateEvent?: boolean = true;
524
+ /**
525
+ * 下拉框出现的位置
526
+ */
527
+ e(this, "placement", C.bottomStart);
528
+ /**
529
+ * tooltip 主题,内置了 dark / light 两种
530
+ */
531
+ e(this, "effect", D.light);
532
+ /**
533
+ * 是否多选
534
+ */
535
+ e(this, "multiple", !1);
536
+ /**
537
+ * 多选数量限制
538
+ */
539
+ e(this, "multipleLimit", 0);
540
+ /**
541
+ * 多选时是否将选中值按文字的形式展示
542
+ */
543
+ e(this, "collapseTags", !1);
544
+ /**
545
+ * 悬停显示折叠文本
546
+ */
547
+ e(this, "collapseTagsTooltip", !1);
548
+ /**
549
+ * 需要显示的Tag的最大数量
550
+ */
551
+ e(this, "maxCollapseTags", 1);
552
+ /**
553
+ * 自定义属性:分组+多选时,是否只允许同组选择
554
+ */
555
+ e(this, "selectOnlyOneGroup", new n(t.placer, !1));
556
+ /**
557
+ * 是否支持过滤
558
+ */
559
+ e(this, "filterable", !1);
560
+ /**
561
+ * 是否在选中一个选项后保留当前的搜索关键词
562
+ */
563
+ e(this, "reserveKeyword", !0);
564
+ /**
565
+ * 是否支持远程搜索
566
+ */
567
+ e(this, "remote", !1);
568
+ /**
569
+ * 远程搜索方法显示后缀图标
570
+ */
571
+ e(this, "remoteShowSuffix", !1);
572
+ /**
573
+ * 是否正在从远程获取数据
574
+ */
575
+ // loading?:boolean = false;
576
+ /**
577
+ * 从服务器加载数据时显示的文本,默认为“Loading”
578
+ */
579
+ e(this, "loadingText", "");
580
+ /**
581
+ * 搜索条件无匹配时显示的文字,也可以使用 empty 插槽设置,默认是 “No matching data'”
582
+ */
583
+ e(this, "noMatchText", "");
584
+ /**
585
+ * 自定义筛选方法
586
+ */
587
+ e(this, "filterMethod", new n(t.hook, void 0, new a()));
588
+ /**
589
+ * 远程搜索时调用的事件
590
+ */
591
+ e(this, "remoteMethod", new n(t.hook, void 0, new a()));
592
+ /**
593
+ * 选择器下拉菜单的自定义类名
594
+ */
595
+ e(this, "popperClass", "");
596
+ /**
597
+ * popper.js 参数
598
+ */
599
+ e(this, "popperOptions", {});
600
+ /**
601
+ * 是否开启插槽组件模式
602
+ */
603
+ e(this, "slotable", new n(t.placer, !1));
604
+ /**
605
+ * 下拉框出现/隐藏时触发
606
+ */
607
+ e(this, "visibleChange", new n(t.event, void 0, new a()));
608
+ /**
609
+ * 多选模式下移除tag时触发
610
+ */
611
+ e(this, "removeTag", new n(t.event, void 0, new a()));
612
+ /**
613
+ * 可清空的单选模式下用户点击清空按钮时触发
614
+ */
615
+ e(this, "clear", new n(t.event, void 0, new a()));
616
+ /**
617
+ * 选项插槽
618
+ */
619
+ e(this, "optionDefault", new n(t.slot, null, new r()));
620
+ /**
621
+ * 头部插槽
622
+ */
623
+ e(this, "prefix", new n(t.slot, null, new r()));
624
+ /**
625
+ * 下属选项
626
+ */
627
+ e(this, "optionItems", new n(t.singleOption, [], new d({ type: w.array, enable: !0 })));
628
+ /**
629
+ * 关联选项设置
630
+ */
631
+ e(this, "relate", new n(t.placer, void 0));
632
+ /**
633
+ * value键名
634
+ */
635
+ e(this, "valueKey", new n(t.placer, "value"));
636
+ /**
637
+ * label键名
638
+ */
639
+ e(this, "labelKey", new n(t.placer, "label"));
640
+ /**
641
+ * 选项文本属性名-值变化时同时新增对应属性
642
+ */
643
+ e(this, "textName", new n(t.placer, "textName"));
644
+ /**
645
+ * 选项列表属性名-值变化时同时新增对应属性
646
+ */
647
+ e(this, "optionName", new n(t.placer, "optionName"));
648
+ }
649
+ }
650
+ class ee extends f {
651
+ constructor() {
652
+ super(...arguments);
653
+ /**
654
+ * 时间格式
655
+ */
656
+ e(this, "valueFormat", en.time1);
657
+ /**
658
+ * 自定义前缀图标
659
+ */
660
+ e(this, "prefixIcon", new n(t.icon, "Clock"));
661
+ /**
662
+ * 自定义清除图标
663
+ */
664
+ e(this, "clearIcon", new n(t.icon, "CircleClose"));
665
+ /**
666
+ * 是否可清除
667
+ */
668
+ e(this, "clearable", !0);
669
+ /**
670
+ * 是否可编辑
671
+ */
672
+ e(this, "editable", !1);
673
+ /**
674
+ * 是否为时间范围选择
675
+ */
676
+ e(this, "isRange", !1);
677
+ /**
678
+ * 是否使用箭头进行时间选择
679
+ */
680
+ e(this, "arrowControl", !1);
681
+ //#region 共享下拉框属性
682
+ /**
683
+ * 下拉框的类名
684
+ */
685
+ e(this, "popperClass", "");
686
+ /**
687
+ * 是否将 popover 的下拉列表镜像至 body 元素
688
+ */
689
+ e(this, "teleported", !0);
690
+ //#endregion
691
+ /**
692
+ * 可选,选择器打开时默认显示的时间
693
+ */
694
+ // defaultValue?: Date | Array<Date> |string = '';
695
+ /**
696
+ * 禁止选择部分小时选项
697
+ */
698
+ e(this, "disabledHours", new n(t.hook, void 0, new a()));
699
+ /**
700
+ * 禁止选择部分分钟选项
701
+ */
702
+ e(this, "disabledMinutes", new n(t.hook, void 0, new a()));
703
+ /**
704
+ * 禁止选择部分秒选项
705
+ */
706
+ e(this, "disabledSeconds", new n(t.hook, void 0, new a()));
707
+ /**
708
+ * 下拉框出现/隐藏时触发
709
+ */
710
+ e(this, "visibleChange", new n(t.event, void 0, new a()));
711
+ }
712
+ }
713
+ class Cn extends ee {
714
+ constructor() {
715
+ super(...arguments);
716
+ /**
717
+ * 非范围选择时的占位内容
718
+ */
719
+ e(this, "placeholder", "");
720
+ }
721
+ }
722
+ class kn extends ee {
723
+ constructor() {
724
+ super(...arguments);
725
+ /**
726
+ * 选择范围时的分隔符
727
+ */
728
+ e(this, "rangeSeparator", "-");
729
+ /**
730
+ * 开始时间占位符
731
+ */
732
+ e(this, "startPlaceholder", "");
733
+ /**
734
+ * 结束时间占位符
735
+ */
736
+ e(this, "endPlaceholder", "");
737
+ /**
738
+ * 是否为时间范围选择
739
+ */
740
+ e(this, "isRange", !0);
741
+ }
742
+ }
743
+ class ne extends f {
744
+ constructor() {
745
+ super(...arguments);
746
+ /**
747
+ * 文本框可输入
748
+ */
749
+ e(this, "editable", !0);
750
+ /**
751
+ * 是否显示清除按钮
752
+ */
753
+ e(this, "clearable", !0);
754
+ /**
755
+ * 可选,选择器打开时默认显示的时间
756
+ */
757
+ e(this, "defaultValue", null);
758
+ /**
759
+ * 范围选择时选中日期所使用的当日内具体时刻
760
+ */
761
+ e(this, "defaultTime", null);
762
+ /**
763
+ * 日期显示格式
764
+ */
765
+ e(this, "format", K.date1);
766
+ /**
767
+ * 日期对象格式
768
+ */
769
+ e(this, "valueFormat", K.date1);
770
+ /**
771
+ * 自定义前缀图标
772
+ */
773
+ e(this, "prefixIcon", new n(t.icon));
774
+ /**
775
+ * 自定义清除图标
776
+ */
777
+ e(this, "clearIcon", new n(t.icon));
778
+ /**
779
+ * 一个用来判断该日期是否被禁用的函数,接受一个 Date 对象作为参数。 应该返回一个 Boolean 值。
780
+ */
781
+ e(this, "disabledDate", new n(t.hook, void 0, new a()));
782
+ /**
783
+ * 设置快捷选项,需要传入数组对象
784
+ */
785
+ e(this, "shortcuts", new n(t.hook));
786
+ /**
787
+ * 设置自定义类名
788
+ */
789
+ e(this, "cellClassName", new n(t.hook, void 0, new a()));
790
+ //#region 共享下拉框属性
791
+ /**
792
+ * 是否将 date-picker 的下拉列表插入至 body 元素
793
+ */
794
+ e(this, "teleported", !0);
795
+ /**
796
+ * DatePicker 下拉框的类名
797
+ */
798
+ e(this, "popperClass", "");
799
+ /**
800
+ * 自定义 popper 选项,更多请参考 popper.js
801
+ */
802
+ e(this, "popperOptions", {});
803
+ //#endregion
804
+ /**
805
+ * 默认插槽
806
+ */
807
+ e(this, "default", new n(t.slot, null, new r()));
808
+ /**
809
+ * 下拉框出现/隐藏时触发
810
+ */
811
+ e(this, "visibleChange", new n(t.event, void 0, new a()));
812
+ /**
813
+ * 当日期面板改变时触发
814
+ */
815
+ e(this, "panelChange", new n(t.event, void 0, new a()));
816
+ /**
817
+ * 当日历面板选择日期时触发
818
+ */
819
+ e(this, "calendarChange", new n(t.event, void 0, new a()));
820
+ }
821
+ }
822
+ class In extends ne {
823
+ constructor() {
824
+ super(...arguments);
825
+ /**
826
+ * 非范围选择时的占位内容
827
+ */
828
+ e(this, "placeholder", "");
829
+ /**
830
+ * 日期类型
831
+ */
832
+ e(this, "type", ze.date);
833
+ }
834
+ }
835
+ class Dn extends ne {
836
+ constructor() {
837
+ super(...arguments);
838
+ /**
839
+ * 日期类型
840
+ */
841
+ e(this, "type", Ne.daterange);
842
+ /**
843
+ * 可选,选择器打开时默认显示的时间
844
+ */
845
+ e(this, "defaultValue", null);
846
+ /**
847
+ * 范围选择时选中日期所使用的当日内具体时刻
848
+ */
849
+ e(this, "defaultTime", null);
850
+ /**
851
+ * 在范围选择器里取消两个日期面板之间的联动
852
+ */
853
+ e(this, "unlinkPanels", !1);
854
+ /**
855
+ * 范围选择时开始日期的占位内容
856
+ */
857
+ e(this, "startPlaceholder", "");
858
+ /**
859
+ * 范围选择时结束日期的占位内容
860
+ */
861
+ e(this, "endPlaceholder", "");
862
+ /**
863
+ * 选择范围时的分隔符
864
+ */
865
+ e(this, "rangeSeparator", new n(t.slot, null, new r()));
866
+ }
867
+ }
868
+ class Sn extends f {
869
+ constructor() {
870
+ super(...arguments);
871
+ /**
872
+ * 是否显示清除按钮
873
+ */
874
+ e(this, "clearable", !0);
875
+ /**
876
+ * 主题
877
+ */
878
+ e(this, "effect", D.light);
879
+ /**
880
+ * 自定义前缀图标
881
+ */
882
+ e(this, "prefixIcon", new n(t.icon, "Clock"));
883
+ /**
884
+ * 自定义清除图标
885
+ */
886
+ e(this, "clearIcon", new n(t.icon, "CircleClose"));
887
+ /**
888
+ * 开始时间
889
+ */
890
+ e(this, "start", "09:00");
891
+ /**
892
+ * 结束时间
893
+ */
894
+ e(this, "end", "18:00");
895
+ /**
896
+ * 间隔时间
897
+ */
898
+ e(this, "step", "00:30");
899
+ /**
900
+ * 最早时间点,早于该时间的时间段将被禁用
901
+ */
902
+ e(this, "minTime", "");
903
+ /**
904
+ * 最晚时间点,晚于该时间的时间段将被禁用
905
+ */
906
+ e(this, "maxTime", "");
907
+ /**
908
+ * 设置时间格式
909
+ */
910
+ e(this, "format", "HH:mm");
911
+ /**
912
+ * 组件的空值配置
913
+ */
914
+ e(this, "emptyValues", new n(t.dataObject, null, new d({ type: w.array, enable: !0 })));
915
+ /**
916
+ * 清空选项的值
917
+ */
918
+ e(this, "valueOnClear", new n(t.hook, void 0, new a()));
919
+ /**
920
+ * 清空事件
921
+ */
922
+ e(this, "clear", new n(t.event, void 0, new a()));
923
+ }
924
+ }
925
+ class Fn extends f {
926
+ constructor() {
927
+ super(...arguments);
928
+ /**
929
+ * 开关宽度(像素)
930
+ */
931
+ e(this, "width", "40px");
932
+ /**
933
+ * 呈现文本首字符
934
+ */
935
+ e(this, "inlinePrompt", !1);
936
+ /**
937
+ * on时所显示图标
938
+ */
939
+ e(this, "activeIcon", new n(t.icon));
940
+ /**
941
+ * off时所显示图标
942
+ */
943
+ e(this, "inactiveIcon", new n(t.icon));
944
+ /**
945
+ * on状态下显示的图标组件
946
+ */
947
+ e(this, "activeActionIcon", new n(t.icon));
948
+ /**
949
+ * off状态下显示的图标组件
950
+ */
951
+ e(this, "inactiveActionIcon", new n(t.icon));
952
+ /**
953
+ * 打开时文字描述
954
+ */
955
+ e(this, "activeText", "");
956
+ /**
957
+ * off时的文字描述
958
+ * 作废
959
+ */
960
+ e(this, "inactiveText", "");
961
+ /**
962
+ * on状态时的背景颜色
963
+ * 作废
964
+ */
965
+ // activeColor?: string = '';
966
+ /**
967
+ * off状态时的背景颜色
968
+ * 作废
969
+ */
970
+ // inactiveColor?: string = '';
971
+ /**
972
+ * 开关的边框颜色
973
+ */
974
+ // borderColor?: string = '';
975
+ /**
976
+ * 值类型
977
+ */
978
+ e(this, "valueType", new n(t.placer, w.boolean));
979
+ /**
980
+ * on时的值
981
+ */
982
+ e(this, "activeValue", !0);
983
+ /**
984
+ * off时的值
985
+ */
986
+ e(this, "inactiveValue", !1);
987
+ /**
988
+ * 状态改变前的钩子
989
+ */
990
+ e(this, "beforeChange", new n(t.hook, void 0, new a()));
991
+ }
992
+ }
993
+ class Pn extends k {
994
+ constructor() {
995
+ super(...arguments);
996
+ /**
997
+ * 最大评分值
998
+ */
999
+ e(this, "max", 5);
1000
+ /**
1001
+ * 低分界限值
1002
+ */
1003
+ e(this, "lowThreshold", 2);
1004
+ /**
1005
+ * 高分界限值
1006
+ */
1007
+ e(this, "highThreshold", 4);
1008
+ /**
1009
+ * 是否允许半选
1010
+ */
1011
+ e(this, "allowHalf", !0);
1012
+ /**
1013
+ * 是否显示辅助文字
1014
+ */
1015
+ e(this, "showText", !0);
1016
+ /**
1017
+ * 是否显示当前分数
1018
+ */
1019
+ e(this, "showScore", !0);
1020
+ }
1021
+ }
1022
+ class Wn extends v {
1023
+ constructor() {
1024
+ super(...arguments);
1025
+ /**
1026
+ * 百分比
1027
+ */
1028
+ e(this, "percentage", 0);
1029
+ /**
1030
+ * 控制动画进度条速度和条纹进度条流动速度
1031
+ */
1032
+ e(this, "duration", 3);
1033
+ /**
1034
+ * 环形进度条画布宽度(只在 type 为 circle 或 dashboard 时可用)
1035
+ */
1036
+ e(this, "width", 126);
1037
+ /**
1038
+ * 进度条的宽度
1039
+ */
1040
+ e(this, "strokeWidth", 6);
1041
+ /**
1042
+ * 进度条类型
1043
+ */
1044
+ e(this, "type", Ae.line);
1045
+ /**
1046
+ * 进度条当前状态
1047
+ */
1048
+ e(this, "status", Le.none);
1049
+ /**
1050
+ * circle / dashboard 类型路径两端的形状
1051
+ */
1052
+ e(this, "strokeLinecap", Re.round);
1053
+ /**
1054
+ * 进度条背景色 (会覆盖 status 状态颜色)
1055
+ */
1056
+ e(this, "color", new n(t.hook, void 0, new a()));
1057
+ /**
1058
+ * 指定进度条文字内容
1059
+ */
1060
+ e(this, "format", new n(t.hook, void 0, new a()));
1061
+ /**
1062
+ * 进度条显示文字内置在进度条内(仅 type 为 'line' 时可用)
1063
+ */
1064
+ e(this, "textInside", !1);
1065
+ /**
1066
+ * 是否为动画进度条
1067
+ */
1068
+ e(this, "indeterminate", !1);
1069
+ /**
1070
+ * 是否显示进度条文字内容
1071
+ */
1072
+ e(this, "showText", !0);
1073
+ /**
1074
+ * 在进度条上增加条纹
1075
+ */
1076
+ e(this, "striped", !1);
1077
+ /**
1078
+ * 让进度条上的条纹流动起来
1079
+ */
1080
+ e(this, "stripedFlow", !1);
1081
+ /**
1082
+ * 进度100到执行进度完成方法的时间间隔(秒)
1083
+ */
1084
+ e(this, "completeSec", new n(t.placer, 0));
1085
+ /**
1086
+ * 进度完成后的方法
1087
+ */
1088
+ e(this, "completed", new n(t.placerHook, void 0, new a()));
1089
+ }
1090
+ }
1091
+ class zn extends k {
1092
+ constructor() {
1093
+ super(...arguments);
1094
+ /**
1095
+ * 写入 v-model 的颜色的格式
1096
+ */
1097
+ e(this, "colorFormat", Ke.rgb);
1098
+ /**
1099
+ * 是否支持透明度选择
1100
+ */
1101
+ e(this, "showAlpha", !1);
1102
+ /**
1103
+ * 下拉框的类名
1104
+ */
1105
+ e(this, "popperClass", "");
1106
+ /**
1107
+ * 预定义颜色
1108
+ */
1109
+ e(this, "predefine", new n(t.dataObject, [], new d({ type: w.array, enable: !0 })));
1110
+ }
1111
+ }
1112
+ class Nn extends f {
1113
+ constructor() {
1114
+ super(...arguments);
1115
+ /**
1116
+ * 最小值
1117
+ */
1118
+ e(this, "min", 0);
1119
+ /**
1120
+ * 最大值
1121
+ */
1122
+ e(this, "max", 100);
1123
+ /**
1124
+ * 增减步长
1125
+ */
1126
+ e(this, "step", 10);
1127
+ /**
1128
+ * 输入时的去抖延迟,毫秒,仅在 show-input 等于 true 时有效
1129
+ */
1130
+ e(this, "debounce", 0);
1131
+ /**
1132
+ * 显示间断点
1133
+ */
1134
+ e(this, "showStops", !0);
1135
+ /**
1136
+ * 垂直模式
1137
+ */
1138
+ e(this, "vertical", !1);
1139
+ /**
1140
+ * 滑块高度,垂直模式必填
1141
+ */
1142
+ e(this, "height", "");
1143
+ /**
1144
+ * 是否为范围选择
1145
+ */
1146
+ e(this, "range", !1);
1147
+ /**
1148
+ * 标记, key 的类型必须为 number 且取值在闭区间 [min, max] 内,每个标记可以单独设置样式
1149
+ */
1150
+ e(this, "marks", new n(t.dataObject, {}, new d({ type: w.object, enable: !0 })));
1151
+ /**
1152
+ * 显示输入框
1153
+ */
1154
+ e(this, "showInput", !1);
1155
+ /**
1156
+ * 屏幕阅读器标签开始的标记
1157
+ */
1158
+ // rangeStartLabel?: string = '';
1159
+ /**
1160
+ * 屏幕阅读器标签结尾的标记
1161
+ */
1162
+ // rangeEndLabel?: string = '';
1163
+ /**
1164
+ * 屏幕阅读器标签
1165
+ */
1166
+ // rangeLabel?: string = '';
1167
+ /**
1168
+ * 输入框控制按钮
1169
+ */
1170
+ e(this, "showInputControls", !0);
1171
+ /**
1172
+ * 输入框的大小,如果设置了 size 属性,默认值自动取 size
1173
+ */
1174
+ e(this, "inputSize", h.default);
1175
+ /**
1176
+ * 是否显示提示信息
1177
+ */
1178
+ e(this, "showTooltip", !0);
1179
+ /**
1180
+ * Tooltip 出现的位置
1181
+ */
1182
+ e(this, "placement", C.top);
1183
+ /**
1184
+ * 格式化提示信息
1185
+ */
1186
+ e(this, "formatTooltip", new n(t.hook, void 0, new a()));
1187
+ /**
1188
+ * 格式化提示信息
1189
+ * 用在屏幕阅读器模式,暂时没用
1190
+ */
1191
+ // formatValueText?: PropValue = new PropValue(ComplexType.hook, undefined, new PropValueOptions());
1192
+ /**
1193
+ * tooltip 的自定义类名
1194
+ */
1195
+ e(this, "tooltipClass", "");
1196
+ }
1197
+ /**
1198
+ * 输入时是否触发表单的校验
1199
+ */
1200
+ // validateEvent?: boolean = false;
1201
+ }
1202
+ class te extends k {
1203
+ constructor() {
1204
+ super(...arguments);
1205
+ /**
1206
+ * 文件类型
1207
+ */
1208
+ e(this, "fileTypes", new n(t.placer, [], new d({ type: w.array, enable: !0 })));
1209
+ /**
1210
+ * 文件上传最大个数
1211
+ */
1212
+ e(this, "limit", 3);
1213
+ /**
1214
+ * 文件最大限制,以MB为单位
1215
+ */
1216
+ e(this, "fileMaxSize", new n(t.placer, 5));
1217
+ /**
1218
+ * 是否允许多选
1219
+ */
1220
+ e(this, "multiple", !1);
1221
+ /**
1222
+ * 是否显示文件列表
1223
+ */
1224
+ e(this, "showFileList", !0);
1225
+ /**
1226
+ * 是否启用拖拽上传
1227
+ */
1228
+ e(this, "drag", !1);
1229
+ /**
1230
+ * 上传地址
1231
+ */
1232
+ e(this, "action", "");
1233
+ /**
1234
+ * 上传提示
1235
+ */
1236
+ e(this, "uploadTip", new n(t.placer, ""));
1237
+ /**
1238
+ * 上传时附带的额外参数
1239
+ */
1240
+ e(this, "dataFn", new n(t.hook, ""));
1241
+ /**
1242
+ * 是否发送cookie凭证
1243
+ */
1244
+ e(this, "withCredentials", !1);
1245
+ /**
1246
+ * 上传前调用事件
1247
+ */
1248
+ e(this, "beforeUpload", new n(t.event, void 0, new a()));
1249
+ /**
1250
+ * 上传成功时调用事件
1251
+ */
1252
+ e(this, "uploadSuccess", new n(t.event, void 0, new a()));
1253
+ /**
1254
+ * 上传失败时调用事件
1255
+ */
1256
+ e(this, "uploadError", new n(t.event, void 0, new a()));
1257
+ /**
1258
+ * 文件移除时调用事件
1259
+ */
1260
+ e(this, "fileRemove", new n(t.event, void 0, new a()));
1261
+ }
1262
+ }
1263
+ class An {
1264
+ constructor() {
1265
+ let l = new te();
1266
+ return n.setValue(l, "fileTypes", G(rn)), l;
1267
+ }
1268
+ }
1269
+ class Ln {
1270
+ constructor() {
1271
+ let l = new te();
1272
+ return n.setValue(l, "fileTypes", G(wn)), l;
1273
+ }
1274
+ }
1275
+ class Rn extends f {
1276
+ /**
1277
+ * 最少数字个数
1278
+ */
1279
+ // minlength?: number | null = null;
1280
+ /**
1281
+ * 最长数字个数
1282
+ */
1283
+ // maxlength?: number = 10000;
1284
+ /**
1285
+ * 是否显示字数统计
1286
+ */
1287
+ // showWordLimit?: boolean = false;
1288
+ }
1289
+ class Kn extends f {
1290
+ constructor() {
1291
+ super(...arguments);
1292
+ /**
1293
+ * 是否允许清除
1294
+ */
1295
+ e(this, "clearable", !0);
1296
+ /**
1297
+ * 可选择任意一级选项,默认不开启
1298
+ */
1299
+ e(this, "checkStrictly", new n(t.placer, !1));
1300
+ /**
1301
+ * 显示完整路径
1302
+ */
1303
+ e(this, "showAllLevels", !0);
1304
+ /**
1305
+ * 在选中节点改变时,是否返回由该节点所在的各级菜单的值所组成的数组,若设置 false,则只返回该节点的值
1306
+ */
1307
+ e(this, "emitPath", new n(t.placer, !0));
1308
+ /**
1309
+ * 用于分隔选项的字符
1310
+ */
1311
+ e(this, "separator", " / ");
1312
+ /**
1313
+ * 搜索关键词正在输入时的去抖延迟,单位为毫秒
1314
+ */
1315
+ e(this, "debounce", 300);
1316
+ /**
1317
+ * hover 时展开菜单的灵敏度阈值
1318
+ */
1319
+ e(this, "hoverThreshold", new n(t.placer, 500));
1320
+ /**
1321
+ * 次级菜单的展开方式
1322
+ */
1323
+ e(this, "expandTrigger", new n(t.placer, S.click));
1324
+ /**
1325
+ * 标签类型
1326
+ */
1327
+ e(this, "tagType", E.info);
1328
+ /**
1329
+ * 标签效果
1330
+ */
1331
+ e(this, "tagEffect", M.light);
1332
+ /**
1333
+ * 是否动态加载子节点
1334
+ */
1335
+ e(this, "lazy", new n(t.placer, !1));
1336
+ /**
1337
+ * 加载动态数据的方法
1338
+ */
1339
+ e(this, "lazyLoad", new n(t.placerHook, void 0, new a()));
1340
+ /**
1341
+ * 是否允许筛选
1342
+ */
1343
+ e(this, "filterable", !1);
1344
+ /**
1345
+ * 自定义搜索逻辑,第一个参数是node,第二个参数是keyword,返回的布尔值表示是否保留该选项
1346
+ */
1347
+ e(this, "filterMethod", new n(t.hook, void 0, new a()));
1348
+ /**
1349
+ * 过滤函数调用前,所要调用的钩子函数
1350
+ */
1351
+ e(this, "beforeFilter", new n(t.hook, void 0, new a()));
1352
+ /**
1353
+ * 是否允许多选
1354
+ */
1355
+ e(this, "multiple", new n(t.placer, !1));
1356
+ /**
1357
+ * 多选模式下是否折叠Tag
1358
+ */
1359
+ e(this, "collapseTags", !1);
1360
+ /**
1361
+ * 悬停显示选中
1362
+ */
1363
+ e(this, "collapseTagsTooltip", !1);
1364
+ /**
1365
+ * 需要显示的Tag的最大数量
1366
+ */
1367
+ e(this, "maxCollapseTags", 1);
1368
+ /**
1369
+ * 组件的空值配置
1370
+ */
1371
+ e(this, "emptyValues", new n(t.dataObject, null, new d({ type: w.array, enable: !0 })));
1372
+ /**
1373
+ * 清空选项的值
1374
+ */
1375
+ e(this, "valueOnClear", new n(t.hook, void 0, new a()));
1376
+ //#region 共享下拉框属性
1377
+ /**
1378
+ * 弹出内容的自定义类名
1379
+ */
1380
+ e(this, "popperClass", "");
1381
+ /**
1382
+ * 是否将弹出的内容直接插入到 body 元素
1383
+ * 废弃
1384
+ */
1385
+ // popperAppendToBody?: boolean = true;
1386
+ /**
1387
+ * 弹层是否使用 teleport
1388
+ */
1389
+ e(this, "teleported", !0);
1390
+ /**
1391
+ * 当下拉框未被激活并且persistent设置为false,下拉框容器会被删除。
1392
+ */
1393
+ e(this, "persistent", !0);
1394
+ //#endregion
1395
+ /**
1396
+ * 输入时是否触发表单的校验
1397
+ */
1398
+ // validateEvent?: boolean = true;
1399
+ //#region option选项关键词
1400
+ /**
1401
+ * 指定选项的值为选项对象的某个属性值
1402
+ */
1403
+ e(this, "valueProp", new n(t.placer, "value"));
1404
+ /**
1405
+ * 指定选项标签为选项对象的某个属性值
1406
+ */
1407
+ e(this, "labelProp", new n(t.placer, "label"));
1408
+ /**
1409
+ * 指定选项的子选项为选项对象的某个属性值
1410
+ */
1411
+ e(this, "childrenProp", new n(t.placer, "children"));
1412
+ /**
1413
+ * 指定选项的禁用为选项对象的某个属性值
1414
+ */
1415
+ e(this, "disabledProp", new n(t.placer, "disabled"));
1416
+ /**
1417
+ * 指定选项的叶子节点的标志位为选项对象的某个属性值
1418
+ */
1419
+ e(this, "leafProp", new n(t.placer, "leaf"));
1420
+ //#endregion
1421
+ /**
1422
+ * 选项文本属性名-值变化时同时新增对应属性
1423
+ */
1424
+ e(this, "textName", new n(t.placer, "textName"));
1425
+ /**
1426
+ * 选项列表属性名-值变化时同时新增对应属性
1427
+ */
1428
+ e(this, "optionName", new n(t.placer, "optionName"));
1429
+ /**
1430
+ * 下拉框出现/隐藏时触发
1431
+ */
1432
+ e(this, "visibleChange", new n(t.event, void 0, new a()));
1433
+ /**
1434
+ * 多选模式下移除tag时触发
1435
+ */
1436
+ e(this, "removeTag", new n(t.event, void 0, new a()));
1437
+ /**
1438
+ * 当展开节点发生变化时触发
1439
+ */
1440
+ e(this, "expandChange", new n(t.event, void 0, new a()));
1441
+ /**
1442
+ * 可清空的单选模式下用户点击清空按钮时触发
1443
+ */
1444
+ e(this, "clear", new n(t.event, void 0, new a()));
1445
+ /**
1446
+ * 空选项插槽
1447
+ */
1448
+ e(this, "empty", new n(t.slot, null, new r()));
1449
+ /**
1450
+ * 选项插槽
1451
+ */
1452
+ e(this, "optionDefault", new n(t.slot, null, new r()));
1453
+ /**
1454
+ * 选项列表
1455
+ */
1456
+ e(this, "optionItems", new n(t.singleOption, [], new d({ type: w.array, enable: !0 })));
1457
+ /**
1458
+ * 关联选项设置
1459
+ */
1460
+ e(this, "relate", new n(t.placer, void 0));
1461
+ }
1462
+ }
1463
+ class ae extends c {
1464
+ constructor() {
1465
+ super(...arguments);
1466
+ /**
1467
+ * 配置选项
1468
+ */
1469
+ // props?: PropValue = new PropValue(ComplexType.dataObject, {}, new PropValueDataObjectOptions({ type: BaseDataType.object, enable: false }));
1470
+ /**
1471
+ * 是否在第一次展开某个树节点后才渲染其子节点
1472
+ */
1473
+ e(this, "renderAfterExpand", !0);
1474
+ /**
1475
+ * 是否高亮当前选中节点
1476
+ */
1477
+ e(this, "highlightCurrent", !1);
1478
+ /**
1479
+ * 是否默认展开所有节点
1480
+ */
1481
+ e(this, "defaultExpandAll", !1);
1482
+ /**
1483
+ * 是否在点击节点的时候展开或者收缩节点
1484
+ */
1485
+ e(this, "expandOnClickNode", !0);
1486
+ /**
1487
+ * 是否在点击节点的时候选中节点
1488
+ */
1489
+ e(this, "checkOnClickNode", !1);
1490
+ /**
1491
+ * 展开子节点的时候是否自动展开父节点
1492
+ */
1493
+ e(this, "autoExpandParent", !0);
1494
+ /**
1495
+ * 默认展开的节点的 key 的数组
1496
+ */
1497
+ //defaultExpandedKeys?: PropValue = new PropValue(ComplexType.dataObject, undefined, new PropValueDataObjectOptions({ type: BaseDataType.array, enable: false }));
1498
+ /**
1499
+ * 节点是否可被选择
1500
+ */
1501
+ e(this, "showCheckbox", !1);
1502
+ /**
1503
+ * 在显示复选框的情况下,是否严格的遵循父子不互相关联的做法
1504
+ */
1505
+ e(this, "checkStrictly", !1);
1506
+ /**
1507
+ * 默认勾选的节点的 key 的数组
1508
+ */
1509
+ //defaultCheckedKeys?: PropValue = new PropValue(ComplexType.dataObject, undefined, new PropValueDataObjectOptions({ type: BaseDataType.array, enable: false }));
1510
+ /**
1511
+ * 当前选中的节点
1512
+ */
1513
+ //currentNodeKey?: string = "";
1514
+ /**
1515
+ * 是否每次只打开一个同级树节点展开
1516
+ */
1517
+ e(this, "accordion", !1);
1518
+ /**
1519
+ * 是否开启拖拽节点功能
1520
+ */
1521
+ e(this, "draggable", !1);
1522
+ /**
1523
+ * 是否懒加载子节点
1524
+ */
1525
+ e(this, "lazy", !1);
1526
+ /**
1527
+ * 加载子树数据的方法,仅当 lazy 属性为true 时生效
1528
+ */
1529
+ e(this, "load", new n(t.hook, void 0, new a()));
1530
+ // function(node, resolve, reject)
1531
+ /**
1532
+ * 对树节点进行筛选时执行的方法
1533
+ */
1534
+ e(this, "filterNodeMethod", new n(t.hook, void 0, new a()));
1535
+ // Function(value, data, node)
1536
+ /**
1537
+ * 树节点的内容区的渲染
1538
+ */
1539
+ e(this, "renderContent", new n(t.hook, void 0, new a()));
1540
+ /**
1541
+ * 判断节点能否被拖拽
1542
+ */
1543
+ e(this, "allowDrag", new n(t.hook, void 0, new a()));
1544
+ /**
1545
+ * 拖拽时判定目标节点能否成为拖动目标位置
1546
+ */
1547
+ e(this, "allowDrop", new n(t.hook, void 0, new a()));
1548
+ /**
1549
+ * 空选项插槽
1550
+ */
1551
+ e(this, "empty", new n(t.slot, null, new r()));
1552
+ /**
1553
+ * 选项插槽
1554
+ */
1555
+ e(this, "optionDefault", new n(t.slot, null, new r()));
1556
+ /**
1557
+ * 当节点被点击的时候触发
1558
+ */
1559
+ e(this, "nodeClick", new n(t.event, void 0, new a()));
1560
+ /**
1561
+ * 当某一节点被鼠标右键点击时会触发该事件
1562
+ */
1563
+ e(this, "nodeContextmenu", new n(t.event, void 0, new a()));
1564
+ /**
1565
+ * 当复选框被点击的时候触发
1566
+ */
1567
+ e(this, "checkChange", new n(t.event, void 0, new a()));
1568
+ /**
1569
+ * 点击节点复选框之后触发
1570
+ * */
1571
+ e(this, "check", new n(t.event, void 0, new a()));
1572
+ /**
1573
+ * 当前选中节点变化时触发的事件
1574
+ */
1575
+ e(this, "currentChange", new n(t.event, void 0, new a()));
1576
+ /**
1577
+ * 节点被展开时触发的事件
1578
+ */
1579
+ e(this, "nodeExpand", new n(t.event, void 0, new a()));
1580
+ /**
1581
+ * 节点被关闭时触发的事件
1582
+ */
1583
+ e(this, "nodeCollapse", new n(t.event, void 0, new a()));
1584
+ /**
1585
+ * 节点开始拖拽时触发的事件
1586
+ */
1587
+ e(this, "nodeDragStart", new n(t.event, void 0, new a()));
1588
+ /**
1589
+ * 拖拽进入其他节点时触发的事件
1590
+ */
1591
+ e(this, "nodeDragEnter", new n(t.event, void 0, new a()));
1592
+ /**
1593
+ * 拖拽离开某个节点时触发的事件
1594
+ */
1595
+ e(this, "nodeDragLeave", new n(t.event, void 0, new a()));
1596
+ /**
1597
+ * 在拖拽节点时触发的事件
1598
+ */
1599
+ e(this, "nodeDragOver", new n(t.event, void 0, new a()));
1600
+ /**
1601
+ * 拖拽结束时(可能未成功)触发的事件
1602
+ */
1603
+ e(this, "nodeDragEnd", new n(t.event, void 0, new a()));
1604
+ /**
1605
+ * 拖拽成功完成时触发的事件
1606
+ */
1607
+ e(this, "nodeDrop", new n(t.event, void 0, new a()));
1608
+ /**
1609
+ * 相邻级节点间的水平缩进,单位为像素
1610
+ */
1611
+ e(this, "indent", 18);
1612
+ /**
1613
+ * 自定义树节点图标组件
1614
+ */
1615
+ e(this, "icon", new n(t.icon, ""));
1616
+ /**
1617
+ * 内容为空的时候展示的文本
1618
+ */
1619
+ e(this, "emptyText", "");
1620
+ //#region 树附加配置props
1621
+ /**
1622
+ * 指定节点标签为节点对象的某个属性值
1623
+ */
1624
+ e(this, "labelProp", new n(t.placerHook, void 0, new a()));
1625
+ /**
1626
+ * 指定子树为节点对象的某个属性值
1627
+ */
1628
+ e(this, "childrenProp", new n(t.placerHook, void 0, new a()));
1629
+ /**
1630
+ * 指定节点选择框是否禁用为节点对象的某个属性值
1631
+ */
1632
+ e(this, "disabledProp", new n(t.placerHook, void 0, new a()));
1633
+ /**
1634
+ * 指定节点是否为叶子节点
1635
+ */
1636
+ e(this, "isLeafProp", new n(t.placerHook, void 0, new a()));
1637
+ /**
1638
+ * 自定义节点类名
1639
+ */
1640
+ e(this, "classProp", new n(t.placer, void 0, new a()));
1641
+ //#endregion
1642
+ /**
1643
+ * 每个树节点用来作为唯一标识的属性,整棵树应该是唯一的
1644
+ */
1645
+ e(this, "nodeKey", "value");
1646
+ /**
1647
+ * 下属选项
1648
+ */
1649
+ e(this, "optionItems", new n(t.singleOption, [], new d({ type: w.array, enable: !0 })));
1650
+ }
1651
+ }
1652
+ class Bn extends q {
1653
+ }
1654
+ class En extends q {
1655
+ }
1656
+ class Mn extends v {
1657
+ constructor() {
1658
+ super(...arguments);
1659
+ /**
1660
+ * 标签
1661
+ */
1662
+ e(this, "label", new n(t.placer, ""));
1663
+ /**
1664
+ * 类型
1665
+ */
1666
+ e(this, "type", H.default);
1667
+ /**
1668
+ * 尺寸
1669
+ */
1670
+ e(this, "size", h.default);
1671
+ /**
1672
+ * 自定义元素标签
1673
+ */
1674
+ e(this, "tag", "span");
1675
+ /**
1676
+ * 显示省略号
1677
+ */
1678
+ e(this, "truncated", !1);
1679
+ }
1680
+ }
1681
+ class Hn extends v {
1682
+ constructor() {
1683
+ super(...arguments);
1684
+ /**
1685
+ * 类型
1686
+ */
1687
+ e(this, "type", h.default);
1688
+ /**
1689
+ * 是否下划线
1690
+ */
1691
+ e(this, "underline", !0);
1692
+ /**
1693
+ * 是否禁用状态
1694
+ */
1695
+ e(this, "disabled", !1);
1696
+ /**
1697
+ * 原生href属性
1698
+ */
1699
+ e(this, "href", "");
1700
+ /**
1701
+ * 原生target
1702
+ */
1703
+ e(this, "target", Be.blank);
1704
+ /**
1705
+ * 前部图标组件
1706
+ */
1707
+ e(this, "prefixIcon", new n(t.placer, ""));
1708
+ /**
1709
+ * 后部图标组件
1710
+ */
1711
+ e(this, "suffixIcon", new n(t.placer, ""));
1712
+ /**
1713
+ * 默认插槽
1714
+ */
1715
+ e(this, "default", new n(t.slot, null, new r()));
1716
+ }
1717
+ }
1718
+ class jn extends v {
1719
+ constructor() {
1720
+ super(...arguments);
1721
+ /**
1722
+ * 类型
1723
+ */
1724
+ e(this, "type", F.primary);
1725
+ /**
1726
+ * 类型
1727
+ */
1728
+ e(this, "size", h.default);
1729
+ /**
1730
+ * Tag 的主题
1731
+ */
1732
+ e(this, "effect", M.light);
1733
+ /**
1734
+ * 背景色
1735
+ */
1736
+ e(this, "color", "");
1737
+ /**
1738
+ * Tag 是否为圆形
1739
+ */
1740
+ e(this, "round", !1);
1741
+ /**
1742
+ * 是否可关闭
1743
+ */
1744
+ e(this, "closable", !1);
1745
+ /**
1746
+ * 是否禁用渐变动画
1747
+ */
1748
+ e(this, "disableTransitions", !1);
1749
+ /**
1750
+ * 是否有边框描边
1751
+ */
1752
+ e(this, "hit", !1);
1753
+ /**
1754
+ * 组件宽度
1755
+ */
1756
+ // ctrlWidth?: PropValue = new PropValue(ComplexType.placer, '100%');
1757
+ // displayLayout?: PropValue = new PropValue(ComplexType.placer, DisplayLayoutType.inline);
1758
+ /**
1759
+ * click事件
1760
+ */
1761
+ e(this, "click", new n(t.event, void 0, new a()));
1762
+ /**
1763
+ * close事件
1764
+ */
1765
+ e(this, "close", new n(t.event, void 0, new a()));
1766
+ }
1767
+ }
1768
+ class Vn extends v {
1769
+ constructor() {
1770
+ super(...arguments);
1771
+ /**
1772
+ * 组件大小
1773
+ */
1774
+ e(this, "size", h.default);
1775
+ /**
1776
+ * 显示样式
1777
+ */
1778
+ // displayStyle?: DisplayLayoutType = DisplayLayoutType.block;
1779
+ /**
1780
+ * 是否禁用
1781
+ */
1782
+ e(this, "disabled", !1);
1783
+ /**
1784
+ * 显示类型
1785
+ */
1786
+ e(this, "type", H.default);
1787
+ /**
1788
+ * 按钮类型
1789
+ */
1790
+ e(this, "buttonType", Ee.plain);
1791
+ /**
1792
+ * 是否显示为文字按钮
1793
+ */
1794
+ e(this, "text", !1);
1795
+ /**
1796
+ * 是否朴素按钮
1797
+ */
1798
+ e(this, "plain", !1);
1799
+ /**
1800
+ * 是否圆角按钮
1801
+ */
1802
+ e(this, "round", !1);
1803
+ /**
1804
+ * 是否圆形按钮
1805
+ */
1806
+ e(this, "circle", !1);
1807
+ /**
1808
+ * 是否为链接按钮
1809
+ */
1810
+ e(this, "link", !1);
1811
+ /**
1812
+ * 按钮图标
1813
+ */
1814
+ e(this, "icon", new n(t.icon));
1815
+ /**
1816
+ * 是否显示文字按钮背景颜色
1817
+ */
1818
+ e(this, "bg", !1);
1819
+ /**
1820
+ * 是否为加载中状态
1821
+ */
1822
+ e(this, "loading", !1);
1823
+ /**
1824
+ * 自定义加载中状态图标组件
1825
+ */
1826
+ e(this, "loadingIcon", new n(t.icon, "Loading"));
1827
+ /**
1828
+ * 原生 autofocus 属性
1829
+ */
1830
+ e(this, "autofocus", !1);
1831
+ /**
1832
+ * 原生 type 属性
1833
+ */
1834
+ // nativeType?: NativeType = NativeType.Button;
1835
+ /**
1836
+ * 自动在两个中文字符之间插入空格
1837
+ */
1838
+ e(this, "autoInsertSpace", !1);
1839
+ /**
1840
+ * 自定义按钮颜色, 并自动计算 hover 和 active 触发后的颜色
1841
+ */
1842
+ e(this, "color", "");
1843
+ /**
1844
+ * dark 模式, 意味着自动设置 color 为 dark 模式的颜色
1845
+ */
1846
+ e(this, "dark", !1);
1847
+ /**
1848
+ * 自定义元素标签
1849
+ */
1850
+ e(this, "tag", "button");
1851
+ /**
1852
+ * 点击后调用事件
1853
+ */
1854
+ e(this, "click", new n(t.event, new un(), new a()));
1855
+ /**
1856
+ * 默认插槽
1857
+ */
1858
+ e(this, "default", new n(t.slot, null, new r()));
1859
+ }
1860
+ }
1861
+ class Un extends v {
1862
+ constructor() {
1863
+ super(...arguments);
1864
+ /**
1865
+ * 文字方向,默认水平方向
1866
+ */
1867
+ e(this, "direction", x.horizontal);
1868
+ /**
1869
+ * 文字位置
1870
+ */
1871
+ e(this, "contentPosition", T.center);
1872
+ /**
1873
+ * 文字位置
1874
+ */
1875
+ e(this, "borderStyle", Me.solid);
1876
+ }
1877
+ }
1878
+ class Gn extends c {
1879
+ constructor() {
1880
+ super(...arguments);
1881
+ /**
1882
+ * 图表配置项
1883
+ */
1884
+ e(this, "chartOption", new n(t.hook, void 0, new a()));
1885
+ /**
1886
+ * 图表数据源
1887
+ */
1888
+ e(this, "dataSource", new n(t.dataObject, null, new d({ type: w.array, enable: !0 })));
1889
+ }
1890
+ }
1891
+ class qn extends v {
1892
+ constructor() {
1893
+ super(...arguments);
1894
+ /**
1895
+ * 指定容器 (CSS 选择器)
1896
+ */
1897
+ e(this, "target", "");
1898
+ /**
1899
+ * 偏移距离
1900
+ */
1901
+ e(this, "offset", 0);
1902
+ /**
1903
+ * 位置
1904
+ */
1905
+ e(this, "position", He.top);
1906
+ /**
1907
+ * z-index
1908
+ */
1909
+ e(this, "zIndex", 100);
1910
+ /**
1911
+ * 状态改变事件
1912
+ */
1913
+ e(this, "change", new n(t.event, void 0, new a()));
1914
+ /**
1915
+ * 滚动时触发的事件
1916
+ */
1917
+ e(this, "scroll", new n(t.event, void 0, new a()));
1918
+ }
1919
+ }
1920
+ class Jn extends v {
1921
+ constructor() {
1922
+ super(...arguments);
1923
+ /**
1924
+ * 图像地址
1925
+ */
1926
+ e(this, "image", "");
1927
+ /**
1928
+ * 图像尺寸
1929
+ */
1930
+ e(this, "imageSize");
1931
+ /**
1932
+ * 描述信息
1933
+ */
1934
+ e(this, "description", "");
1935
+ }
1936
+ /**
1937
+ * 图像内容
1938
+ */
1939
+ // imageContent?: string = '';
1940
+ }
1941
+ class Qn extends v {
1942
+ constructor() {
1943
+ super(...arguments);
1944
+ /**
1945
+ * 显示值
1946
+ */
1947
+ e(this, "value", "");
1948
+ /**
1949
+ * 最大值
1950
+ */
1951
+ e(this, "max", 99);
1952
+ /**
1953
+ * 显示小圆点
1954
+ */
1955
+ e(this, "isDot", !1);
1956
+ /**
1957
+ * 隐藏
1958
+ */
1959
+ e(this, "hidden", new n(t.placer, !1));
1960
+ /**
1961
+ * 类型
1962
+ */
1963
+ e(this, "type", F.danger);
1964
+ }
1965
+ }
1966
+ class Xn extends v {
1967
+ constructor() {
1968
+ super(...arguments);
1969
+ //IContentWidgetOptions
1970
+ /**
1971
+ * 菜单按钮类型,同 Button 组件一样,仅在 split-button 为 true 的情况下有效。
1972
+ */
1973
+ e(this, "type", F.primary);
1974
+ /**
1975
+ * 菜单尺寸,在 split-button 为 true 的情况下也对触发按钮生效。
1976
+ */
1977
+ e(this, "size", h.default);
1978
+ /**
1979
+ * 菜单最大高度
1980
+ */
1981
+ e(this, "maxHeight");
1982
+ /**
1983
+ * 展开下拉菜单的延时,仅在 trigger 为 hover 时有效
1984
+ */
1985
+ e(this, "showTimeout", 250);
1986
+ /**
1987
+ * 收起下拉菜单的延时(仅在 trigger 为 hover 时有效)
1988
+ */
1989
+ e(this, "hideTimeout", 150);
1990
+ /**
1991
+ * 菜单弹出位置
1992
+ */
1993
+ e(this, "placement", C.bottom);
1994
+ /**
1995
+ * 触发下拉的行为
1996
+ */
1997
+ e(this, "trigger", je.hover);
1998
+ /**
1999
+ * 下拉触发元素呈现为按钮组
2000
+ */
2001
+ e(this, "splitButton", !1);
2002
+ /**
2003
+ * 是否禁用
2004
+ */
2005
+ e(this, "disabled", !1);
2006
+ /**
2007
+ * 是否在点击菜单项后隐藏菜单
2008
+ */
2009
+ e(this, "hideOnClick", !0);
2010
+ /**
2011
+ * 下拉菜单的 ARIA 属性。 根据具体场景,您可能想要将此更改为“navigation”
2012
+ */
2013
+ //role?: string = 'menu';
2014
+ /**
2015
+ * tabindex
2016
+ */
2017
+ e(this, "tabindex", 0);
2018
+ /**
2019
+ * 启用插槽
2020
+ */
2021
+ e(this, "slotable", new n(t.placer, !1));
2022
+ //#region 共享下拉框属性
2023
+ /**
2024
+ * 自定义浮层类名
2025
+ */
2026
+ e(this, "popperClass", "menu");
2027
+ /**
2028
+ * 浮层配置 较复杂,暂时无用,未配置编辑器
2029
+ */
2030
+ e(this, "popperOptions", {});
2031
+ /**
2032
+ * 是否将下拉列表插入至 body 元素
2033
+ */
2034
+ e(this, "teleported", !0);
2035
+ //#endregion
2036
+ /**
2037
+ * split-button 为 true 时,点击左侧按钮的回调
2038
+ */
2039
+ e(this, "click", new n(t.event, void 0, new a()));
2040
+ /**
2041
+ * 点击菜单项触发的事件回调
2042
+ */
2043
+ e(this, "command", new n(t.event, void 0, new a()));
2044
+ /**
2045
+ * 下拉框出现/隐藏时触发
2046
+ */
2047
+ e(this, "visibleChange", new n(t.event, void 0, new a()));
2048
+ /**
2049
+ * 下属选项
2050
+ */
2051
+ e(this, "optionItems", new n(t.singleOption, [], new d({ type: w.array, enable: !0 })));
2052
+ }
2053
+ }
2054
+ class le extends u {
2055
+ constructor() {
2056
+ super(...arguments);
2057
+ /**
2058
+ * 派发到command回调函数的指令参数
2059
+ */
2060
+ e(this, "command", "");
2061
+ /**
2062
+ * 自定义图标
2063
+ */
2064
+ e(this, "icon", new n(t.icon));
2065
+ /**
2066
+ * 是否禁用
2067
+ */
2068
+ e(this, "disabled", !1);
2069
+ /**
2070
+ * 是否显示分隔符
2071
+ */
2072
+ e(this, "divided", !1);
2073
+ }
2074
+ }
2075
+ class Yn extends v {
2076
+ constructor() {
2077
+ super(...arguments);
2078
+ /**
2079
+ * 尺寸
2080
+ */
2081
+ e(this, "size", h.default);
2082
+ /**
2083
+ * 形状
2084
+ */
2085
+ e(this, "shape", Ve.circle);
2086
+ /**
2087
+ * 图片源地址
2088
+ */
2089
+ e(this, "src", "");
2090
+ /**
2091
+ * 原生srcset属性,未启用
2092
+ */
2093
+ // srcSet?: string = '';
2094
+ /**
2095
+ * 原生alt属性,未启用
2096
+ */
2097
+ // alt?: string = '';
2098
+ /**
2099
+ * 图片适应方式
2100
+ */
2101
+ e(this, "fit", j.cover);
2102
+ /**
2103
+ * 图标类型
2104
+ */
2105
+ e(this, "icon", new n(t.icon));
2106
+ /**
2107
+ * 图片加载失败事件
2108
+ */
2109
+ e(this, "error", new n(t.event, void 0, new a()));
2110
+ }
2111
+ }
2112
+ class Zn extends c {
2113
+ constructor() {
2114
+ super(...arguments);
2115
+ /**
2116
+ * 图标类型
2117
+ */
2118
+ e(this, "icon", Ue.info);
2119
+ /**
2120
+ * 标题
2121
+ */
2122
+ e(this, "title", new n(t.slot, null, new r()));
2123
+ /**
2124
+ * 副标题
2125
+ */
2126
+ e(this, "subTitle", new n(t.slot, null, new r()));
2127
+ /**
2128
+ * 图标类型
2129
+ * 去除插槽,容器设计混乱
2130
+ */
2131
+ // icon?: PropValue = new PropValue(ComplexType.slot, null, new slotOptions({ slotName: 'icon' }));
2132
+ /**
2133
+ * 内容额外区域的内容
2134
+ */
2135
+ e(this, "extra", new n(t.slot, null, new r()));
2136
+ }
2137
+ }
2138
+ class _n extends v {
2139
+ constructor() {
2140
+ super(...arguments);
2141
+ /**
2142
+ * 标签内容
2143
+ */
2144
+ // label?: string = '';
2145
+ /**
2146
+ * 触发滚动的对象
2147
+ */
2148
+ e(this, "target", "");
2149
+ /**
2150
+ * 可视滚动高度
2151
+ */
2152
+ e(this, "visibilityHeight", 200);
2153
+ /**
2154
+ * 右边距
2155
+ */
2156
+ e(this, "right", 40);
2157
+ /**
2158
+ * 底部距离
2159
+ */
2160
+ e(this, "bottom", 40);
2161
+ /**
2162
+ * 点击事件
2163
+ */
2164
+ e(this, "click", new n(t.event, void 0, new a()));
2165
+ }
2166
+ }
2167
+ class $n extends c {
2168
+ constructor() {
2169
+ super(...arguments);
2170
+ /**
2171
+ * 滚动的容器
2172
+ */
2173
+ e(this, "container", "");
2174
+ /**
2175
+ * 设置锚点滚动的偏移量
2176
+ */
2177
+ e(this, "offset", 0);
2178
+ /**
2179
+ * 触发锚点的元素的位置偏移量
2180
+ */
2181
+ e(this, "bound", 15);
2182
+ /**
2183
+ * 设置容器滚动持续时间,单位为毫秒。
2184
+ */
2185
+ e(this, "duration", 300);
2186
+ /**
2187
+ * 设置锚点类型
2188
+ */
2189
+ e(this, "type", Ge.default);
2190
+ /**
2191
+ * 设置锚点方向
2192
+ */
2193
+ e(this, "direction", x.vertical);
2194
+ /**
2195
+ * 是否显示标记
2196
+ */
2197
+ e(this, "marker", !0);
2198
+ /**
2199
+ * 更新事件
2200
+ */
2201
+ e(this, "change", new n(t.event, void 0, new a()));
2202
+ /**
2203
+ * 点击事件
2204
+ */
2205
+ e(this, "click", new n(t.event, void 0, new a()));
2206
+ /**
2207
+ * 下属选项
2208
+ */
2209
+ e(this, "optionItems", new n(t.singleOption, [], new d({ type: w.array, enable: !0 })));
2210
+ }
2211
+ }
2212
+ class oe extends Q {
2213
+ constructor() {
2214
+ super(...arguments);
2215
+ /**
2216
+ * 标题
2217
+ */
2218
+ e(this, "title", "");
2219
+ /**
2220
+ * 链接地址
2221
+ */
2222
+ e(this, "href", "");
2223
+ /**
2224
+ * 子节点
2225
+ */
2226
+ e(this, "children");
2227
+ }
2228
+ }
2229
+ class et extends c {
2230
+ constructor() {
2231
+ super(...arguments);
2232
+ /**
2233
+ * 高度
2234
+ */
2235
+ e(this, "height", "");
2236
+ /**
2237
+ * 初始状态激活的幻灯片的索引,从 0 开始
2238
+ */
2239
+ e(this, "initialIndex", 0);
2240
+ /**
2241
+ * 指示器的位置
2242
+ */
2243
+ e(this, "indicatorPosition", qe.none);
2244
+ /**
2245
+ * 指示器的触发方式
2246
+ */
2247
+ e(this, "trigger", S.hover);
2248
+ /**
2249
+ * 切换箭头的显示时机
2250
+ */
2251
+ e(this, "arrow", Je.hover);
2252
+ /**
2253
+ * 类型
2254
+ */
2255
+ e(this, "type", Qe.none);
2256
+ /**
2257
+ * 展示的方向
2258
+ */
2259
+ e(this, "direction", x.horizontal);
2260
+ /**
2261
+ * 循环播放
2262
+ */
2263
+ e(this, "loop", !0);
2264
+ /**
2265
+ * 是否自动切换
2266
+ */
2267
+ e(this, "autoplay", !0);
2268
+ /**
2269
+ * 鼠标悬浮时暂停自动切换
2270
+ */
2271
+ e(this, "pauseOnHover", !0);
2272
+ /**
2273
+ * 自动切换的时间间隔,单位为毫秒
2274
+ */
2275
+ e(this, "interval", 3e3);
2276
+ /**
2277
+ * 幻灯片切换时触发
2278
+ */
2279
+ e(this, "change", new n(t.event, void 0, new a()));
2280
+ /**
2281
+ * 下属选项
2282
+ */
2283
+ e(this, "optionItems", new n(t.singleOption, [], new d({ type: w.array, enable: !0 })));
2284
+ }
2285
+ }
2286
+ class se extends u {
2287
+ constructor() {
2288
+ super(...arguments);
2289
+ /**
2290
+ * 内容插槽
2291
+ */
2292
+ e(this, "slotContent", new n(t.slot, void 0, new r({ slotName: "content" })));
2293
+ }
2294
+ }
2295
+ class nt extends c {
2296
+ constructor() {
2297
+ super(...arguments);
2298
+ /**
2299
+ * 手风琴模式
2300
+ */
2301
+ e(this, "accordion", !1);
2302
+ /**
2303
+ * 幻灯片切换时触发
2304
+ */
2305
+ e(this, "change", new n(t.event, void 0, new a()));
2306
+ /**
2307
+ * 下属选项
2308
+ */
2309
+ e(this, "optionItems", new n(t.singleOption, [], new d({ type: w.array, enable: !0 })));
2310
+ }
2311
+ }
2312
+ class ie extends Q {
2313
+ constructor() {
2314
+ super(...arguments);
2315
+ /**
2316
+ * 标题
2317
+ */
2318
+ e(this, "title", "");
2319
+ /**
2320
+ * 内容
2321
+ */
2322
+ e(this, "content", "");
2323
+ /**
2324
+ * 标题插槽
2325
+ */
2326
+ e(this, "slotTitle", new n(t.slot, void 0, new r({ slotName: "title" })));
2327
+ /**
2328
+ * 内容插槽
2329
+ */
2330
+ e(this, "slotContent", new n(t.slot, void 0, new r({ slotName: "content" })));
2331
+ /**
2332
+ * 是否禁用
2333
+ */
2334
+ e(this, "disabled", !1);
2335
+ }
2336
+ }
2337
+ class tt extends c {
2338
+ constructor() {
2339
+ super(...arguments);
2340
+ /**
2341
+ * 是否带有边框
2342
+ */
2343
+ e(this, "border", !1);
2344
+ /**
2345
+ * 每行描述数量
2346
+ */
2347
+ e(this, "column", 3);
2348
+ /**
2349
+ * 排列的方向
2350
+ */
2351
+ e(this, "direction", x.horizontal);
2352
+ /**
2353
+ * 列表的尺寸
2354
+ */
2355
+ e(this, "size", h.default);
2356
+ /**
2357
+ * 标题
2358
+ */
2359
+ e(this, "title", "");
2360
+ /**
2361
+ * 操作区
2362
+ */
2363
+ e(this, "extra", "");
2364
+ /**
2365
+ * 启用插槽
2366
+ */
2367
+ e(this, "slotable", new n(t.placer, !1));
2368
+ /**
2369
+ * 标题
2370
+ */
2371
+ e(this, "slotTitle", new n(t.slot, void 0, new r({ allowDrag: !0, slotName: "title" })));
2372
+ /**
2373
+ * 操作区
2374
+ */
2375
+ e(this, "slotExtra", new n(t.slot, void 0, new r({ allowDrag: !0, slotName: "extra" })));
2376
+ /**
2377
+ * 下属选项
2378
+ */
2379
+ e(this, "optionItems", new n(t.singleOption, [], new d({ type: w.array, enable: !0 })));
2380
+ }
2381
+ }
2382
+ class re extends u {
2383
+ constructor() {
2384
+ super(...arguments);
2385
+ /**
2386
+ * 内容
2387
+ */
2388
+ e(this, "content", new n(t.placer, ""));
2389
+ /**
2390
+ * 列数
2391
+ */
2392
+ e(this, "span", 1);
2393
+ /**
2394
+ * 列宽
2395
+ */
2396
+ e(this, "width", "");
2397
+ /**
2398
+ * 最小列宽
2399
+ */
2400
+ e(this, "minWidth", "");
2401
+ /**
2402
+ * 列对齐方式
2403
+ */
2404
+ e(this, "align", T.left);
2405
+ /**
2406
+ * 列标签对齐方式
2407
+ */
2408
+ e(this, "labelAlign", T.left);
2409
+ /**
2410
+ * 列内容自定义类名
2411
+ */
2412
+ e(this, "className", "");
2413
+ /**
2414
+ * 列标签自定义类名
2415
+ */
2416
+ e(this, "labelClassName", "");
2417
+ }
2418
+ }
2419
+ class at extends c {
2420
+ constructor() {
2421
+ super(...arguments);
2422
+ /**
2423
+ * 宽度
2424
+ */
2425
+ e(this, "width", new n(t.placer, ""));
2426
+ /**
2427
+ * 高度
2428
+ */
2429
+ e(this, "height", new n(t.placer, ""));
2430
+ /**
2431
+ * 源地址
2432
+ */
2433
+ e(this, "src", "");
2434
+ /**
2435
+ * 适应容器框
2436
+ */
2437
+ e(this, "fit", j.empty);
2438
+ /**
2439
+ * 加载方式
2440
+ */
2441
+ e(this, "loading", Xe.eager);
2442
+ /**
2443
+ * 当开启 preview 功能时,是否可以通过点击遮罩层关闭 preview
2444
+ */
2445
+ e(this, "hideOnClickModal", !1);
2446
+ /**
2447
+ * 是否使用懒加载
2448
+ */
2449
+ e(this, "lazy", !1);
2450
+ /**
2451
+ * 是否可以通过按下 ESC 关闭 Image Viewer
2452
+ */
2453
+ e(this, "closeOnPressEscape", !0);
2454
+ /**
2455
+ * image-viewer 是否插入至 body 元素上。
2456
+ */
2457
+ e(this, "previewTeleported", !1);
2458
+ /**
2459
+ * 是否可以无限循环预览
2460
+ */
2461
+ e(this, "infinite", !0);
2462
+ /**
2463
+ * 开启懒加载功能后,监听 scroll 事件的容器 默认情况下,开启懒加载功能后,监听 scroll 事件的容器
2464
+ */
2465
+ e(this, "scrollContainer", "");
2466
+ /**
2467
+ * 原生属性 alt 暂未启用
2468
+ */
2469
+ // alt?: string = '';
2470
+ /**
2471
+ * 原生属性 referrerPolicy
2472
+ */
2473
+ e(this, "referrerpolicy", "");
2474
+ /**
2475
+ * 开启图片预览功能
2476
+ */
2477
+ e(this, "previewSrcList", new n(t.dataObject, [], new d({ type: w.array, enable: !0 })));
2478
+ /**
2479
+ * 设置图片预览的 z-index
2480
+ */
2481
+ e(this, "zIndex", 999999);
2482
+ /**
2483
+ * 初始预览图像索引,小于 url-list 的长度
2484
+ */
2485
+ e(this, "initialIndex", 0);
2486
+ /**
2487
+ * 图像查看器缩放事件的缩放速率。
2488
+ */
2489
+ e(this, "zoomRate", 1.2);
2490
+ /**
2491
+ * 当图像尚未加载时,自定义的占位符内容
2492
+ */
2493
+ e(this, "placeholder", new n(t.slot, void 0, new r()));
2494
+ /**
2495
+ * 自定义图像加载失败的内容
2496
+ */
2497
+ e(this, "slotError", new n(t.slot, void 0, new r({ slotName: "error" })));
2498
+ /**
2499
+ * 当图像预览时自定义内容
2500
+ */
2501
+ e(this, "viewer", new n(t.slot, void 0, new r()));
2502
+ /**
2503
+ * 图片加载成功触发
2504
+ */
2505
+ e(this, "load", new n(t.event, void 0, new a()));
2506
+ /**
2507
+ * 图片加载失败触发
2508
+ */
2509
+ e(this, "error", new n(t.event, void 0, new a()));
2510
+ /**
2511
+ * 切换图像时触发。
2512
+ */
2513
+ e(this, "switch", new n(t.event, void 0, new a()));
2514
+ /**
2515
+ * 当点击 X 按钮或者在hide-on-click-modal为 true 时点击遮罩层时触发
2516
+ */
2517
+ e(this, "close", new n(t.event, void 0, new a()));
2518
+ /**
2519
+ * 当 Viewer 显示时触发
2520
+ */
2521
+ e(this, "show", new n(t.event, void 0, new a()));
2522
+ /**
2523
+ * 下属选项
2524
+ */
2525
+ e(this, "optionItems", new n(t.singleOption, [], new d({ type: w.array, enable: !0 })));
2526
+ }
2527
+ }
2528
+ class lt extends c {
2529
+ constructor() {
2530
+ super(...arguments);
2531
+ /**
2532
+ * 分隔符
2533
+ */
2534
+ e(this, "separator", "");
2535
+ /**
2536
+ * 图标分隔符的组件或组件名
2537
+ */
2538
+ e(this, "separatorIcon", new n(t.icon));
2539
+ /**
2540
+ * 下属选项
2541
+ */
2542
+ e(this, "optionItems", new n(t.singleOption, [], new d({ type: w.array, enable: !0 })));
2543
+ }
2544
+ }
2545
+ class we extends u {
2546
+ constructor() {
2547
+ super(...arguments);
2548
+ /**
2549
+ * 路由跳转目标
2550
+ */
2551
+ e(this, "to", "");
2552
+ /**
2553
+ * 如果设置该属性为 true, 导航将不会留下历史记录
2554
+ */
2555
+ e(this, "replace", !1);
2556
+ /**
2557
+ * 启用router,自定义
2558
+ */
2559
+ e(this, "useRouter", !1);
2560
+ }
2561
+ }
2562
+ class ot extends c {
2563
+ constructor() {
2564
+ super(...arguments);
2565
+ /**
2566
+ * 是否只保持一个子菜单的展开
2567
+ */
2568
+ e(this, "uniqueOpened", !1);
2569
+ /**
2570
+ * 是否启用 vue-router 模式。
2571
+ */
2572
+ e(this, "router", !1);
2573
+ /**
2574
+ * 是否开启折叠动画
2575
+ */
2576
+ e(this, "collapseTransition", !0);
2577
+ /**
2578
+ * 是否水平折叠收起菜单(仅在 mode 为 vertical 时可用)
2579
+ */
2580
+ e(this, "collapse", !1);
2581
+ /**
2582
+ * 是否省略多余的子项(仅在横向模式生效)
2583
+ */
2584
+ e(this, "ellipsis", !1);
2585
+ /**
2586
+ * 自定义省略图标
2587
+ */
2588
+ e(this, "ellipsisIcon", "");
2589
+ /**
2590
+ * 菜单的背景颜色
2591
+ */
2592
+ e(this, "backgroundColor", "#ffffff");
2593
+ /**
2594
+ * 文字颜色
2595
+ */
2596
+ e(this, "textColor", "#303133");
2597
+ /**
2598
+ * 活动菜单项的文本颜色
2599
+ */
2600
+ e(this, "activeTextColor", "#409EFF");
2601
+ /**
2602
+ * 页面加载时默认激活菜单的 index
2603
+ */
2604
+ // defaultActive?: string = '';
2605
+ /**
2606
+ * 默认值
2607
+ */
2608
+ // defaultValue?: string = '';
2609
+ /**
2610
+ * 菜单展示模式
2611
+ */
2612
+ e(this, "mode", x.vertical);
2613
+ /**
2614
+ * 子菜单打开的触发方式,只在 mode 为 horizontal 时有效。
2615
+ */
2616
+ e(this, "menuTrigger", S.hover);
2617
+ /**
2618
+ * Tooltip 主题,内置了 dark / light 两种主题
2619
+ */
2620
+ e(this, "popperEffect", D.dark);
2621
+ /**
2622
+ * 单击外部时是否折叠菜单
2623
+ */
2624
+ e(this, "closeOnClickOutside", !1);
2625
+ /**
2626
+ * popper类
2627
+ */
2628
+ e(this, "popperClass", "");
2629
+ /**
2630
+ * 子菜单出现之前的延迟
2631
+ */
2632
+ e(this, "showTimeout", 0);
2633
+ /**
2634
+ * 子菜单消失之前的延迟
2635
+ */
2636
+ e(this, "hideTimeout", 0);
2637
+ /**
2638
+ * 下属选项
2639
+ */
2640
+ e(this, "optionItems", new n(t.singleOption, [], new d({ type: w.array, enable: !0 })));
2641
+ }
2642
+ }
2643
+ class de extends u {
2644
+ constructor() {
2645
+ super(...arguments);
2646
+ /**
2647
+ * 是否禁用
2648
+ */
2649
+ e(this, "disabled", !1);
2650
+ /**
2651
+ * icon图标
2652
+ */
2653
+ e(this, "icon", "");
2654
+ /**
2655
+ * Vue Router 路径对象
2656
+ */
2657
+ e(this, "route", "");
2658
+ /**
2659
+ * 点击事件
2660
+ */
2661
+ e(this, "click", new n(t.event, void 0, new a()));
2662
+ /**
2663
+ * 菜单项类型,自定义
2664
+ */
2665
+ e(this, "menuItemType", dn.None);
2666
+ /**
2667
+ * 子菜单出现之前的延迟
2668
+ */
2669
+ e(this, "showTimeout", 0);
2670
+ /**
2671
+ * 子菜单消失之前的延迟
2672
+ */
2673
+ e(this, "hideTimeout", 0);
2674
+ /**
2675
+ * 弹出窗口的偏移量(覆盖 popper的菜单)
2676
+ */
2677
+ e(this, "popperOffset", 0);
2678
+ /**
2679
+ * 父菜单展开且子菜单关闭时的图标
2680
+ */
2681
+ e(this, "expandCloseIcon", "");
2682
+ /**
2683
+ * 父菜单展开且子菜单打开时的图标
2684
+ */
2685
+ e(this, "expandOpenIcon", "");
2686
+ /**
2687
+ * 父菜单收起且子菜单关闭时的图标
2688
+ */
2689
+ e(this, "collapseCloseIcon", "");
2690
+ /**
2691
+ * 父菜单收起且子菜单打开时的图标
2692
+ */
2693
+ e(this, "collapseOpenIcon", "");
2694
+ /**
2695
+ * popper类
2696
+ */
2697
+ e(this, "popperClass", "");
2698
+ /**
2699
+ * 是否将 popup 的下拉列表插入至 body 元素
2700
+ */
2701
+ e(this, "teleported", !0);
2702
+ /**
2703
+ * 子菜单
2704
+ */
2705
+ e(this, "children");
2706
+ }
2707
+ }
2708
+ class st extends c {
2709
+ constructor() {
2710
+ super(...arguments);
2711
+ //IBaseCommonWidgetOptions
2712
+ /**
2713
+ * 路由名称
2714
+ */
2715
+ e(this, "label");
2716
+ /**
2717
+ * 显示样式
2718
+ */
2719
+ e(this, "displayLayout", new n(t.placer, I.inline));
2720
+ }
2721
+ }
2722
+ class it extends c {
2723
+ constructor() {
2724
+ super(...arguments);
2725
+ /**
2726
+ * 当前激活步骤
2727
+ */
2728
+ // active?: number = 0;
2729
+ /**
2730
+ * 当前激活步骤,取消,由optionsitems的isdefault删选得出
2731
+ */
2732
+ // defaultValue?: string | number = 0;
2733
+ /**
2734
+ * 显示方向
2735
+ */
2736
+ e(this, "direction", x.horizontal);
2737
+ /**
2738
+ * 间距
2739
+ */
2740
+ e(this, "space", "");
2741
+ /**
2742
+ * 当前步骤状态
2743
+ */
2744
+ e(this, "processStatus", R.process);
2745
+ /**
2746
+ * 结束步骤状态
2747
+ */
2748
+ e(this, "finishStatus", R.finish);
2749
+ /**
2750
+ * 居中对齐
2751
+ */
2752
+ e(this, "alignCenter", !1);
2753
+ /**
2754
+ * 应用简洁风格
2755
+ */
2756
+ e(this, "simple", !1);
2757
+ /**
2758
+ * 下属选项
2759
+ */
2760
+ e(this, "optionItems", new n(t.singleOption, [], new d({ type: w.array, enable: !0 })));
2761
+ }
2762
+ }
2763
+ class ce extends u {
2764
+ constructor() {
2765
+ super(...arguments);
2766
+ /**
2767
+ * 描述文案
2768
+ */
2769
+ e(this, "description", "");
2770
+ /**
2771
+ * 自定义图标
2772
+ */
2773
+ e(this, "icon", "");
2774
+ /**
2775
+ * 当前步骤的状态
2776
+ */
2777
+ e(this, "status", "");
2778
+ }
2779
+ }
2780
+ class rt extends c {
2781
+ constructor() {
2782
+ super(...arguments);
2783
+ /**
2784
+ * 组件宽度
2785
+ */
2786
+ e(this, "ctrlWidth", new n(t.placer, "100%"));
2787
+ /**
2788
+ * 数据,需做分页处理
2789
+ */
2790
+ // data?: PropValue = new PropValue(ComplexType.dataObject, null, new PropValueDataObjectOptions({ type: BaseDataType.array, enable: true }));
2791
+ e(this, "data", new n(t.singleOption, null));
2792
+ /**
2793
+ * table的高度
2794
+ */
2795
+ e(this, "height", "200px");
2796
+ /**
2797
+ * table的最大高度
2798
+ */
2799
+ e(this, "maxHeight", "200px");
2800
+ /**
2801
+ * 空数据时显示的文本内容
2802
+ */
2803
+ e(this, "emptyText", "");
2804
+ /**
2805
+ * Table的尺寸
2806
+ */
2807
+ e(this, "size", h.default);
2808
+ /**
2809
+ * 默认的排序列的 prop 和顺序
2810
+ */
2811
+ e(this, "defaultSort", new n(t.dataObject, {}, new d({ type: w.array, enable: !1 })));
2812
+ /**
2813
+ * 设置表格单元、行和列的布局方式
2814
+ */
2815
+ e(this, "tableLayout", Ye.fixed);
2816
+ /**
2817
+ * 是否为斑马纹table
2818
+ */
2819
+ e(this, "stripe", !1);
2820
+ /**
2821
+ * 是否带有纵向边框
2822
+ */
2823
+ e(this, "border", !1);
2824
+ /**
2825
+ * 列的宽度是否自撑开
2826
+ */
2827
+ e(this, "fit", !0);
2828
+ /**
2829
+ * 是否显示表头
2830
+ */
2831
+ e(this, "showHeader", !0);
2832
+ /**
2833
+ * 总是显示滚动条
2834
+ */
2835
+ e(this, "scrollbarAlwaysOn", !1);
2836
+ /**
2837
+ * 确保主轴的最小尺寸,以便不超过内容
2838
+ */
2839
+ e(this, "flexible", !1);
2840
+ /**
2841
+ * 是否要高亮当前行
2842
+ */
2843
+ e(this, "highlightCurrentRow", !1);
2844
+ /**
2845
+ * 当前行的 key,只写属性
2846
+ */
2847
+ e(this, "currentRowKey", "");
2848
+ /**
2849
+ * 行的className的回调方法
2850
+ */
2851
+ e(this, "rowClassName", new n(t.hook, void 0, new a()));
2852
+ /**
2853
+ * 行的style的回调方法
2854
+ */
2855
+ e(this, "rowStyle", new n(t.hook, void 0, new a()));
2856
+ /**
2857
+ * 表头行的className的回调方法
2858
+ */
2859
+ e(this, "headerRowClassName", new n(t.hook, void 0, new a()));
2860
+ /**
2861
+ * 表头行的style的回调方法
2862
+ */
2863
+ e(this, "headerRowStyle", new n(t.hook, void 0, new a()));
2864
+ /**
2865
+ * 行数据的 Key
2866
+ */
2867
+ e(this, "rowKey", "");
2868
+ /**
2869
+ * 可以通过该属性设置 Table 目前的展开行
2870
+ */
2871
+ e(this, "expandRowKeys", new n(t.dataObject, [], new d({ type: w.array, enable: !1 })));
2872
+ /**
2873
+ * 单元格的className的回调方法
2874
+ */
2875
+ e(this, "cellClassName", new n(t.hook, void 0, new a()));
2876
+ /**
2877
+ * 单元格的style的回调方法
2878
+ */
2879
+ e(this, "cellStyle", new n(t.hook, void 0, new a()));
2880
+ /**
2881
+ * 表头单元格的className的回调方法
2882
+ */
2883
+ e(this, "headerCellClassName", new n(t.hook, void 0, new a()));
2884
+ /**
2885
+ * 表头单元格的style的回调方法
2886
+ */
2887
+ e(this, "headerCellStyle", new n(t.hook, void 0, new a()));
2888
+ /**
2889
+ * 是否默认展开所有行
2890
+ */
2891
+ e(this, "defaultExpandAll", !1);
2892
+ /**
2893
+ * 是否在表尾显示合计行
2894
+ */
2895
+ e(this, "showSummary", !1);
2896
+ /**
2897
+ * 在多选表格中,当仅有部分行被选中时,点击表头的多选框时的行为。
2898
+ */
2899
+ e(this, "selectOnIndeterminate", !0);
2900
+ /**
2901
+ * 显示摘要行第一列的文本
2902
+ */
2903
+ e(this, "sumText", "Sum");
2904
+ /**
2905
+ * 自定义的合计计算方法
2906
+ */
2907
+ e(this, "summaryMethod", new n(t.hook, void 0, new a()));
2908
+ /**
2909
+ * 合并行或列的计算方法
2910
+ */
2911
+ e(this, "spanMethod", new n(t.hook, void 0, new a()));
2912
+ /**
2913
+ * 渲染嵌套数据的配置选项
2914
+ * 不能为空,否则提示ns错误
2915
+ */
2916
+ e(this, "treeProps", new n(t.dataObject, {}, new d({ type: w.object, enable: !1 })));
2917
+ /**
2918
+ * 展示树形数据时,树节点的缩进
2919
+ */
2920
+ e(this, "indent", 16);
2921
+ /**
2922
+ * 是否懒加载子节点数据
2923
+ */
2924
+ e(this, "lazy", !1);
2925
+ /**
2926
+ * 加载子节点数据的函数,lazy 为 true 时生效
2927
+ */
2928
+ e(this, "load", new n(t.hook, void 0, new a()));
2929
+ /**
2930
+ * 是否隐藏额外内容并在单元格悬停时使用 Tooltip 显示它们
2931
+ */
2932
+ e(this, "showOverflowTooltip", !1);
2933
+ /**
2934
+ * 溢出的tooltip的effect
2935
+ */
2936
+ e(this, "tooltipEffect", D.dark);
2937
+ /**
2938
+ * 溢出tooltip的选项
2939
+ */
2940
+ e(this, "tooltipOptions", null);
2941
+ //#region 分页功能
2942
+ /**
2943
+ * 是否分页
2944
+ */
2945
+ e(this, "allowPage", new n(t.placer, !1));
2946
+ /**
2947
+ * 每页几行
2948
+ */
2949
+ e(this, "pageSize", new n(t.placer, 10));
2950
+ /**
2951
+ * 每页显示个数选择器的选项设置
2952
+ */
2953
+ e(this, "pageSizes", new n(t.placer, [10, 20, 30, 40, 50, 100]));
2954
+ /**
2955
+ * 每页显示个数选择器的选项设置
2956
+ */
2957
+ e(this, "hideOnSinglePage", new n(t.placer, !1));
2958
+ /**
2959
+ * 组件布局,子组件名用逗号分隔
2960
+ */
2961
+ e(this, "layout", new n(t.placer, ["prev", "pager", "next", "jumper", "->", "total"]));
2962
+ //#endregion
2963
+ /**
2964
+ * 当用户手动勾选数据行的 Checkbox 时触发的事件
2965
+ */
2966
+ e(this, "select", new n(t.event, void 0, new a()));
2967
+ /**
2968
+ * 当用户手动勾选全选 Checkbox 时触发的事件
2969
+ */
2970
+ e(this, "selectAll", new n(t.event, void 0, new a()));
2971
+ /**
2972
+ * 当选择项发生变化时会触发该事件
2973
+ */
2974
+ e(this, "selectionChange", new n(t.event, void 0, new a()));
2975
+ /**
2976
+ * 当单元格 hover 进入时会触发该事件
2977
+ */
2978
+ e(this, "cellMouseEnter", new n(t.event, void 0, new a()));
2979
+ /**
2980
+ * 当单元格 hover 退出时会触发该事件
2981
+ */
2982
+ e(this, "cellMouseLeave", new n(t.event, void 0, new a()));
2983
+ /**
2984
+ * 当某个单元格被点击时会触发该事件
2985
+ */
2986
+ e(this, "cellClick", new n(t.event, void 0, new a()));
2987
+ /**
2988
+ * 当某个单元格被双击击时会触发该事件
2989
+ */
2990
+ e(this, "cellDblclick", new n(t.event, void 0, new a()));
2991
+ /**
2992
+ * 当某个单元格被鼠标右键点击时会触发该事件
2993
+ */
2994
+ e(this, "cellContextmenu", new n(t.event, void 0, new a()));
2995
+ /**
2996
+ * 当某一行被点击时会触发该事件
2997
+ */
2998
+ e(this, "rowClick", new n(t.event, void 0, new a()));
2999
+ /**
3000
+ * 当某一行被鼠标右键点击时会触发该事件
3001
+ */
3002
+ e(this, "rowContextmenu", new n(t.event, void 0, new a()));
3003
+ /**
3004
+ * 当某一行被双击时会触发该事件
3005
+ */
3006
+ e(this, "rowDblclick", new n(t.event, void 0, new a()));
3007
+ /**
3008
+ * 当某一列的表头被点击时会触发该事件
3009
+ */
3010
+ e(this, "headerClick", new n(t.event, void 0, new a()));
3011
+ /**
3012
+ * 当某一列的表头被鼠标右键点击时触发该事件
3013
+ */
3014
+ e(this, "headerContextmenu", new n(t.event, void 0, new a()));
3015
+ /**
3016
+ * 当表格的排序条件发生变化的时候会触发该事件
3017
+ */
3018
+ e(this, "sortChange", new n(t.event, void 0, new a()));
3019
+ /**
3020
+ * column 的 key, 如果需要使用 filter-change 事件,则需要此属性标识是哪个 column 的筛选条件
3021
+ */
3022
+ e(this, "filterChange", new n(t.event, void 0, new a()));
3023
+ /**
3024
+ * 当表格的当前行发生变化的时候会触发该事件
3025
+ */
3026
+ e(this, "currentChange", new n(t.event, void 0, new a()));
3027
+ /**
3028
+ * 当拖动表头改变了列的宽度的时候会触发该事件
3029
+ */
3030
+ e(this, "headerDragend", new n(t.event, void 0, new a()));
3031
+ /**
3032
+ * 当用户对某一行展开或者关闭的时候会触发该事件(展开行时,回调的第二个参数为 expandedRows;树形表格时第二参数为 expanded)
3033
+ */
3034
+ e(this, "expandChange", new n(t.event, void 0, new a()));
3035
+ /**
3036
+ * default插槽
3037
+ */
3038
+ e(this, "default", new n(t.slot, void 0, new r()));
3039
+ /**
3040
+ * append插槽
3041
+ */
3042
+ e(this, "append", new n(t.slot, void 0, new r()));
3043
+ /**
3044
+ * empty插槽
3045
+ */
3046
+ e(this, "empty", new n(t.slot, void 0, new r()));
3047
+ /**
3048
+ * 下属选项
3049
+ */
3050
+ e(this, "optionItems", new n(t.singleOption, [], new d({ type: w.array, enable: !0 })));
3051
+ }
3052
+ }
3053
+ class pe extends X {
3054
+ constructor() {
3055
+ super(...arguments);
3056
+ /**
3057
+ * 对应列的类型
3058
+ */
3059
+ e(this, "type", cn.default);
3060
+ /**
3061
+ * 如果设置了 type=index,可以通过传递 index 属性来自定义索引
3062
+ */
3063
+ e(this, "index", new n(t.hook, void 0, new a()));
3064
+ /**
3065
+ * 显示的标题
3066
+ */
3067
+ e(this, "label", "");
3068
+ /**
3069
+ * 字段名称 对应列内容的字段名, 也可以使用 property属性
3070
+ */
3071
+ e(this, "prop", "");
3072
+ /**
3073
+ * 对应列的宽度
3074
+ */
3075
+ e(this, "width", "");
3076
+ /**
3077
+ * 对应列的最小宽度, 对应列的最小宽度, 与 width 的区别是 width 是固定的,min-width 会把剩余宽度按比例分配给设置了 min-width 的列
3078
+ */
3079
+ e(this, "minWidth", "");
3080
+ /**
3081
+ * 列是否固定在左侧或者右侧。 true 表示固定在左侧
3082
+ */
3083
+ e(this, "fixed", !1);
3084
+ /**
3085
+ * 对应列是否可以通过拖动改变宽度
3086
+ */
3087
+ e(this, "resizable", !0);
3088
+ /**
3089
+ * 当内容过长被隐藏时显示 tooltip
3090
+ */
3091
+ e(this, "showOverflowTooltip", !1);
3092
+ /**
3093
+ * 数据刷新后是否保留选项
3094
+ */
3095
+ e(this, "reserveSelection", !1);
3096
+ /**
3097
+ * 列标题 Label 区域渲染使用的 Function
3098
+ */
3099
+ e(this, "renderHeader", new n(t.hook, void 0, new a()));
3100
+ /**
3101
+ * 用来格式化内容
3102
+ */
3103
+ e(this, "formatter", new n(t.hook, void 0, new a()));
3104
+ /**
3105
+ * 仅对 type = selection 的列有效,类型为 Function,Function 的返回值用来决定这一行的 CheckBox 是否可以勾选
3106
+ */
3107
+ e(this, "selectable", new n(t.hook, void 0, new a()));
3108
+ /**
3109
+ * 对齐方式
3110
+ */
3111
+ e(this, "align", T.left);
3112
+ /**
3113
+ * 表头对齐方式,
3114
+ */
3115
+ e(this, "headerAlign", T.left);
3116
+ /**
3117
+ * 列的 className
3118
+ */
3119
+ e(this, "className", "");
3120
+ /**
3121
+ * 当前列标题的自定义类名
3122
+ */
3123
+ e(this, "labelClassName", "");
3124
+ /**
3125
+ * 对应列是否可以排序,
3126
+ */
3127
+ e(this, "sortable", !1);
3128
+ /**
3129
+ * 数据在排序时所使用排序策略的轮转顺序
3130
+ */
3131
+ e(this, "sortOrders", new n(t.dataObject, ["ascending", "descending", null], new d({ type: w.array })));
3132
+ /**
3133
+ * 指定数据按照哪个属性进行排序,仅当sortable设置为true的时候有效。
3134
+ */
3135
+ e(this, "sortMethod", new n(t.hook, void 0, new a()));
3136
+ /**
3137
+ * 指定数据按照哪个属性进行排序
3138
+ */
3139
+ e(this, "sortBy", new n(t.hook, void 0, new a()));
3140
+ /**
3141
+ * 数据过滤的选项
3142
+ */
3143
+ e(this, "filters", new n(t.dataObject, void 0, new d({ type: w.object })));
3144
+ /**
3145
+ * 选中的数据过滤项
3146
+ */
3147
+ e(this, "filteredValue", new n(t.dataObject, void 0, new d({ type: w.array, enable: !0 })));
3148
+ /**
3149
+ * 数据过滤使用的方法
3150
+ */
3151
+ e(this, "filterMethod", new n(t.hook, void 0, new a()));
3152
+ /**
3153
+ * 数据过滤的选项是否多选
3154
+ */
3155
+ e(this, "filterMultiple", !0);
3156
+ /**
3157
+ * 过滤弹出框的定位
3158
+ */
3159
+ e(this, "filterPlacement", C.top);
3160
+ /**
3161
+ * 过滤弹出框的 className
3162
+ */
3163
+ e(this, "filterClassName", "");
3164
+ /**
3165
+ * column 的 key
3166
+ */
3167
+ e(this, "columnKey", "");
3168
+ /**
3169
+ * header插槽
3170
+ */
3171
+ e(this, "header", new n(t.slot, void 0, new r()));
3172
+ /**
3173
+ * default插槽
3174
+ */
3175
+ e(this, "default", { widgetList: [], ...new n(t.slot, void 0, new r({ allowDrag: !0, enable: !0 })) });
3176
+ /**
3177
+ * default插槽是否可拖拽
3178
+ */
3179
+ e(this, "slotable", new n(t.placer, !1));
3180
+ /**
3181
+ * 选项编码
3182
+ */
3183
+ e(this, "uuid", new n(t.placer, vn()));
3184
+ }
3185
+ }
3186
+ class g extends W {
3187
+ constructor() {
3188
+ super(...arguments);
3189
+ /**
3190
+ * 自定义CSS样式
3191
+ */
3192
+ e(this, "customClass", new n(t.placer, []));
3193
+ /**
3194
+ * 组件外容器CSS样式
3195
+ */
3196
+ e(this, "componentWrapperClass", new n(t.placer, []));
3197
+ /**
3198
+ * 显示样式
3199
+ */
3200
+ e(this, "displayLayout", new n(t.placer, I.block));
3201
+ }
3202
+ }
3203
+ class wt extends g {
3204
+ constructor() {
3205
+ super(...arguments);
3206
+ /**
3207
+ * 是否隐藏
3208
+ */
3209
+ e(this, "hidden", !1);
3210
+ /**
3211
+ * 栅格列统一高度
3212
+ */
3213
+ e(this, "colHeight", new n(t.placer, ""));
3214
+ //用于解决栅格列设置响应式布局浮动后被挂住的问题!!
3215
+ /**
3216
+ * 栅格间隔
3217
+ */
3218
+ e(this, "gutter", 0);
3219
+ /**
3220
+ * flex 布局下的水平排列方式
3221
+ */
3222
+ e(this, "justify", nn.start);
3223
+ /**
3224
+ * flex 布局下的垂直排列方式
3225
+ */
3226
+ e(this, "align", tn.middle);
3227
+ /**
3228
+ * 自定义元素标签
3229
+ */
3230
+ e(this, "tag", "div");
3231
+ /**
3232
+ * 栅格列编辑占坑
3233
+ */
3234
+ e(this, "cols", new n(t.placer, []));
3235
+ }
3236
+ }
3237
+ class ue extends g {
3238
+ constructor() {
3239
+ super(...arguments);
3240
+ /**
3241
+ * 是否隐藏
3242
+ */
3243
+ e(this, "hidden", !1);
3244
+ /**
3245
+ * 是否开启响应式布局
3246
+ */
3247
+ e(this, "responsive", !1);
3248
+ /**
3249
+ * 栅格宽度
3250
+ */
3251
+ e(this, "span", 12);
3252
+ /**
3253
+ * 栅格宽度(<768px)
3254
+ */
3255
+ e(this, "xs", 12);
3256
+ /**
3257
+ * 栅格宽度(≥768px)
3258
+ */
3259
+ e(this, "sm", 12);
3260
+ /**
3261
+ * 栅格宽度(≥992px)
3262
+ */
3263
+ e(this, "md", 12);
3264
+ /**
3265
+ * 栅格宽度(≥1200px)
3266
+ */
3267
+ e(this, "lg", 12);
3268
+ /**
3269
+ * 栅格宽度(≥1920px)
3270
+ */
3271
+ e(this, "xl", 12);
3272
+ /**
3273
+ * 左侧间隔格数
3274
+ */
3275
+ e(this, "offset", 0);
3276
+ /**
3277
+ * 右移栅格数
3278
+ */
3279
+ e(this, "push", 0);
3280
+ /**
3281
+ * 左移栅格数
3282
+ */
3283
+ e(this, "pull", 0);
3284
+ /**
3285
+ * 自定义元素标签
3286
+ */
3287
+ e(this, "tag", "div");
3288
+ /**
3289
+ * 水平对齐方式
3290
+ */
3291
+ e(this, "horizontalAlign", new n(t.placer, ""));
3292
+ }
3293
+ /**
3294
+ * 垂直对齐方式
3295
+ * el-row已有垂直对齐方式
3296
+ */
3297
+ // verticalAlign?: PropValue = new PropValue(ComplexType.placer, '');
3298
+ }
3299
+ class dt extends g {
3300
+ constructor() {
3301
+ super(...arguments);
3302
+ /**
3303
+ * 是否隐藏
3304
+ */
3305
+ e(this, "hidden", !1);
3306
+ }
3307
+ }
3308
+ class ct extends g {
3309
+ constructor() {
3310
+ super(...arguments);
3311
+ /**
3312
+ * 宽度
3313
+ */
3314
+ e(this, "cellWidth", "");
3315
+ /**
3316
+ * 高度
3317
+ */
3318
+ e(this, "cellHeight", "");
3319
+ /**
3320
+ * 合并列
3321
+ */
3322
+ e(this, "colspan", 0);
3323
+ /**
3324
+ * 合并行
3325
+ */
3326
+ e(this, "rowspan", 0);
3327
+ }
3328
+ }
3329
+ class pt extends g {
3330
+ constructor() {
3331
+ super(...arguments);
3332
+ /**
3333
+ * 内容
3334
+ */
3335
+ e(this, "label", "");
3336
+ /**
3337
+ * 标题
3338
+ */
3339
+ e(this, "title", "");
3340
+ /**
3341
+ * 默认值
3342
+ */
3343
+ e(this, "defaultValue", !1);
3344
+ /**
3345
+ * 宽度
3346
+ */
3347
+ e(this, "width", "50%");
3348
+ /**
3349
+ * 全屏
3350
+ */
3351
+ e(this, "fullscreen", !1);
3352
+ /**
3353
+ * 上边距
3354
+ */
3355
+ e(this, "top", "");
3356
+ /**
3357
+ * 遮罩层
3358
+ */
3359
+ e(this, "modal", !0);
3360
+ /**
3361
+ * 遮罩类名
3362
+ */
3363
+ e(this, "modalClass", "");
3364
+ /**
3365
+ * 滚动锁定
3366
+ */
3367
+ e(this, "lockScroll", !0);
3368
+ /**
3369
+ * 启用拖拽
3370
+ */
3371
+ e(this, "draggable", !1);
3372
+ /**
3373
+ * 可拖出可视
3374
+ */
3375
+ e(this, "overflow", !1);
3376
+ /**
3377
+ * 头尾居中
3378
+ */
3379
+ e(this, "center", !1);
3380
+ /**
3381
+ * 水平垂直对齐
3382
+ */
3383
+ e(this, "alignCenter", !1);
3384
+ /**
3385
+ * 自定义类名
3386
+ */
3387
+ // customClass?:string='';
3388
+ /**
3389
+ * 点击modal关闭
3390
+ */
3391
+ e(this, "closeOnClickModal", !0);
3392
+ /**
3393
+ * 按下ESC关闭
3394
+ */
3395
+ e(this, "closeOnPressEscape", !0);
3396
+ /**
3397
+ * 显示关闭
3398
+ */
3399
+ e(this, "showClose", !0);
3400
+ /**
3401
+ * 关闭销毁
3402
+ */
3403
+ e(this, "destroyOnClose", !1);
3404
+ /**
3405
+ * 打开延时
3406
+ */
3407
+ e(this, "openDelay", 0);
3408
+ /**
3409
+ * 关闭延时
3410
+ */
3411
+ e(this, "closeDelay", 0);
3412
+ /**
3413
+ * 关闭图标
3414
+ */
3415
+ e(this, "closeIcon", new n(t.icon, "Close"));
3416
+ /**
3417
+ * 关闭前回调
3418
+ */
3419
+ e(this, "beforeClose", new n(t.hook, void 0, new a()));
3420
+ /**
3421
+ * 插入至body
3422
+ */
3423
+ e(this, "appendToBody", !1);
3424
+ /**
3425
+ * 挂载元素
3426
+ */
3427
+ e(this, "appendTo", "body");
3428
+ /**
3429
+ * z-index
3430
+ */
3431
+ e(this, "zIndex", 1e4);
3432
+ /**
3433
+ * ariaLevel属性
3434
+ * 无障碍,暂时不用
3435
+ */
3436
+ //headerAriaLevel?: string = '2';
3437
+ /**
3438
+ * title插槽
3439
+ */
3440
+ // title?: PropValue = new PropValue(ComplexType.slot, undefined, new slotOptions({ allowDrag: true }));
3441
+ /**
3442
+ * header插槽
3443
+ */
3444
+ e(this, "header", new n(t.slot, void 0, new r({ allowDrag: !0 })));
3445
+ /**
3446
+ * default插槽
3447
+ */
3448
+ e(this, "default", new n(t.slot, void 0, new r({ allowDrag: !0 })));
3449
+ /**
3450
+ * footer插槽
3451
+ */
3452
+ e(this, "footer", new n(t.slot, void 0, new r({ allowDrag: !0 })));
3453
+ /**
3454
+ * 打开回调
3455
+ */
3456
+ e(this, "open", new n(t.event, void 0, new a()));
3457
+ /**
3458
+ * 打开结束回调
3459
+ */
3460
+ e(this, "opened", new n(t.event, void 0, new a()));
3461
+ /**
3462
+ * 关闭回调
3463
+ */
3464
+ e(this, "close", new n(t.event, void 0, new a()));
3465
+ /**
3466
+ * 关闭结束时回调
3467
+ */
3468
+ e(this, "closed", new n(t.event, void 0, new a()));
3469
+ /**
3470
+ * 聚焦回调
3471
+ */
3472
+ e(this, "openAutoFocus", new n(t.event, void 0, new a()));
3473
+ /**
3474
+ * 失焦回调
3475
+ */
3476
+ e(this, "closeAutoFocus", new n(t.event, void 0, new a()));
3477
+ }
3478
+ }
3479
+ class ut extends g {
3480
+ constructor() {
3481
+ super(...arguments);
3482
+ /**
3483
+ * 内容
3484
+ */
3485
+ e(this, "label", "");
3486
+ /**
3487
+ * 标题
3488
+ */
3489
+ e(this, "title", "");
3490
+ /**
3491
+ * 默认值
3492
+ */
3493
+ e(this, "defaultValue", !1);
3494
+ /**
3495
+ * 宽度
3496
+ */
3497
+ e(this, "size", "30%");
3498
+ /**
3499
+ * 遮罩层
3500
+ */
3501
+ e(this, "modal", !0);
3502
+ /**
3503
+ * 遮罩类名
3504
+ */
3505
+ e(this, "modalClass", "");
3506
+ /**
3507
+ * 插入至body
3508
+ */
3509
+ e(this, "appendToBody", !1);
3510
+ /**
3511
+ * 滚动锁定
3512
+ */
3513
+ e(this, "lockScroll", !0);
3514
+ /**
3515
+ * 显示顶栏
3516
+ */
3517
+ e(this, "withHeader", !0);
3518
+ /**
3519
+ * 显示关闭
3520
+ */
3521
+ e(this, "showClose", !0);
3522
+ /**
3523
+ * 点击modal关闭
3524
+ */
3525
+ e(this, "closeOnClickModal", !0);
3526
+ /**
3527
+ * 按下ESC关闭
3528
+ */
3529
+ e(this, "closeOnPressEscape", !0);
3530
+ /**
3531
+ * 关闭销毁
3532
+ */
3533
+ e(this, "destroyOnClose", !1);
3534
+ /**
3535
+ * 关闭前回调
3536
+ */
3537
+ e(this, "beforeClose", new n(t.hook, void 0, new a()));
3538
+ /**
3539
+ * 打开方向
3540
+ */
3541
+ e(this, "direction", Ze.rtl);
3542
+ /**
3543
+ * 打开延时
3544
+ */
3545
+ e(this, "openDelay", 0);
3546
+ /**
3547
+ * 关闭延时
3548
+ */
3549
+ e(this, "closeDelay", 0);
3550
+ /**
3551
+ * z-index
3552
+ */
3553
+ e(this, "zIndex", 1e4);
3554
+ /**
3555
+ * ariaLevel属性
3556
+ */
3557
+ //headerAriaLevel?: string = '2';
3558
+ /**
3559
+ * header插槽
3560
+ */
3561
+ e(this, "header", new n(t.slot, void 0, new r({ allowDrag: !0 })));
3562
+ /**
3563
+ * default插槽
3564
+ */
3565
+ e(this, "default", new n(t.slot, void 0, new r({ allowDrag: !0 })));
3566
+ /**
3567
+ * footer插槽
3568
+ */
3569
+ e(this, "footer", new n(t.slot, void 0, new r({ allowDrag: !0 })));
3570
+ /**
3571
+ * 打开回调
3572
+ */
3573
+ e(this, "open", new n(t.event, void 0, new a()));
3574
+ /**
3575
+ * 打开结束回调
3576
+ */
3577
+ e(this, "opened", new n(t.event, void 0, new a()));
3578
+ /**
3579
+ * 关闭回调
3580
+ */
3581
+ e(this, "close", new n(t.event, void 0, new a()));
3582
+ /**
3583
+ * 关闭结束时回调
3584
+ */
3585
+ e(this, "closed", new n(t.event, void 0, new a()));
3586
+ /**
3587
+ * 聚焦回调
3588
+ */
3589
+ e(this, "openAutoFocus", new n(t.event, void 0, new a()));
3590
+ /**
3591
+ * 失焦回调
3592
+ */
3593
+ e(this, "closeAutoFocus", new n(t.event, void 0, new a()));
3594
+ }
3595
+ }
3596
+ class ft extends c {
3597
+ constructor() {
3598
+ super(...arguments);
3599
+ /**
3600
+ * 是否为分页按钮添加背景色
3601
+ */
3602
+ e(this, "background", !1);
3603
+ /**
3604
+ * 只有一页时是否隐藏
3605
+ */
3606
+ e(this, "hideOnSinglePage", !1);
3607
+ /**
3608
+ * 分页大小
3609
+ */
3610
+ e(this, "size", h.default);
3611
+ /**
3612
+ * 每页显示条目个数
3613
+ */
3614
+ //pageSize?: number = 0;
3615
+ /**
3616
+ * 每页默认的条目个数,不设置时默认为10
3617
+ */
3618
+ e(this, "defaultPageSize", 10);
3619
+ /**
3620
+ * 总条目数
3621
+ */
3622
+ //total?: number = 0;
3623
+ /**
3624
+ * 总页数
3625
+ */
3626
+ //pageCount?: number = 0;
3627
+ /**
3628
+ * 设置最大页码按钮数。 页码按钮的数量,当总页数超过该值时会折叠
3629
+ */
3630
+ e(this, "pagerCount", 7);
3631
+ /**
3632
+ * 当前页数
3633
+ */
3634
+ // currentPage?: number = 1;
3635
+ /**
3636
+ * 当前页数的默认初始值
3637
+ */
3638
+ e(this, "defaultCurrentPage", 1);
3639
+ /**
3640
+ * 组件布局,子组件名用逗号分隔
3641
+ */
3642
+ e(this, "layout", new n(t.dataObject, ["prev", "pager", "next", "jumper", "->", "total"]));
3643
+ /**
3644
+ * 每页显示个数选择器的选项设置
3645
+ */
3646
+ e(this, "pageSizes", new n(t.dataObject, [10, 20, 30, 40, 50, 100], new d({ type: w.array, enable: !0 })));
3647
+ /**
3648
+ * 每页显示个数选择器的下拉框类名
3649
+ */
3650
+ e(this, "popperClass", "");
3651
+ /**
3652
+ * 替代图标显示的上一页文字
3653
+ */
3654
+ e(this, "prevText", "");
3655
+ /**
3656
+ * 替代图标显示的下一页文字
3657
+ */
3658
+ e(this, "nextText", "");
3659
+ /**
3660
+ * 上一页的图标, 比prev-text优先级更高
3661
+ */
3662
+ e(this, "prevIcon", new n(t.icon, "ArrowLeft"));
3663
+ /**
3664
+ * 下一页的图标, 比 next-text 优先级更低
3665
+ */
3666
+ e(this, "nextIcon", new n(t.icon, "ArrowRight"));
3667
+ /**
3668
+ * 是否禁用分页
3669
+ */
3670
+ e(this, "disabled", !1);
3671
+ /**
3672
+ * 是否将下拉菜单teleport至 body
3673
+ */
3674
+ e(this, "teleported", !0);
3675
+ /**
3676
+ * default插槽
3677
+ */
3678
+ e(this, "default", new n(t.slot, void 0, new r({ allowDrag: !0 })));
3679
+ /**
3680
+ * page-size改变时触发
3681
+ */
3682
+ e(this, "sizeChange", new n(t.event, void 0, new a()));
3683
+ /**
3684
+ * current-Change改变时触发
3685
+ */
3686
+ e(this, "currentChange", new n(t.event, void 0, new a()));
3687
+ /**
3688
+ * current-page 或 page-size更改时触发
3689
+ */
3690
+ e(this, "change", new n(t.event, void 0, new a()));
3691
+ /**
3692
+ * 用户点击上一页按钮改变当前页时触发
3693
+ */
3694
+ e(this, "prevClick", new n(t.event, void 0, new a()));
3695
+ /**
3696
+ * 用户点击下一页按钮改变当前页时触发
3697
+ */
3698
+ e(this, "nextClick", new n(t.event, void 0, new a()));
3699
+ }
3700
+ }
3701
+ class vt extends g {
3702
+ constructor() {
3703
+ super(...arguments);
3704
+ /**
3705
+ * 新增表单的数据源
3706
+ */
3707
+ e(this, "newDataSource", new n(t.singleOption, null, new d({ type: w.object, enable: !0 })));
3708
+ /**
3709
+ * 编辑表单的数据源
3710
+ */
3711
+ e(this, "editDataSource", new n(t.singleOption, null, new d({ type: w.object, enable: !0 })));
3712
+ /**
3713
+ * 组件加载时自动加载newDataSource绑定的数据源
3714
+ */
3715
+ e(this, "loadDataWhenInit", new n(t.placer, !1));
3716
+ /**
3717
+ * 行内表单模式
3718
+ */
3719
+ e(this, "inline", !1);
3720
+ /**
3721
+ * 是否禁用该表单内的所有组件
3722
+ */
3723
+ e(this, "disabled", !1);
3724
+ /**
3725
+ * 标签水平对齐方式
3726
+ */
3727
+ e(this, "labelAlign", new n(t.placer, ""));
3728
+ /**
3729
+ * 表单域标签的位置
3730
+ */
3731
+ e(this, "labelPosition", an.right);
3732
+ /**
3733
+ * 标签的长度
3734
+ */
3735
+ e(this, "labelWidth", "");
3736
+ /**
3737
+ * 表单域标签的后缀
3738
+ */
3739
+ e(this, "labelSuffix", "");
3740
+ /**
3741
+ * 是否在输入框中显示校验结果反馈图标
3742
+ */
3743
+ e(this, "statusIcon", !1);
3744
+ /**
3745
+ * 是否隐藏必填字段标签旁边的红色星号
3746
+ */
3747
+ e(this, "hideRequiredAsterisk", !1);
3748
+ /**
3749
+ * 星号的位置
3750
+ */
3751
+ e(this, "requireAsteriskPosition", ln.left);
3752
+ /**
3753
+ * 是否显示校验错误信息
3754
+ */
3755
+ e(this, "showMessage", !0);
3756
+ /**
3757
+ * 是否以行内形式展示校验信息
3758
+ */
3759
+ e(this, "inlineMessage", !1);
3760
+ /**
3761
+ * 是否在 rules 属性改变后立即触发一次验证
3762
+ */
3763
+ e(this, "validateOnRuleChange", !0);
3764
+ /**
3765
+ * 当校验失败时,滚动到第一个错误表单项
3766
+ */
3767
+ e(this, "scrollToError", !1);
3768
+ /**
3769
+ * 当校验有失败结果时,滚动到第一个失败的表单项目
3770
+ */
3771
+ e(this, "scrollIntoViewOptions", new n(t.dataObject, void 0, new d({ type: w.object, enable: !0 })));
3772
+ /**
3773
+ * 用于控制该表单内组件的尺寸
3774
+ */
3775
+ e(this, "size", h.default);
3776
+ /**
3777
+ * 自定义CSS样式
3778
+ */
3779
+ e(this, "customClass", new n(t.placer, []));
3780
+ /**
3781
+ * 任一表单项被校验后触发
3782
+ */
3783
+ e(this, "validate", new n(t.event, void 0, new a()));
3784
+ /**
3785
+ * 自定义默认内容
3786
+ */
3787
+ e(this, "default", new n(t.slot, void 0, new r()));
3788
+ /**
3789
+ * 数据对象名称
3790
+ */
3791
+ e(this, "modelName", new n(t.placer, "formData"));
3792
+ /**
3793
+ * ref引用名称
3794
+ */
3795
+ e(this, "refName", new n(t.placer, "vForm"));
3796
+ /**
3797
+ * 校验规则名称
3798
+ */
3799
+ e(this, "rulesName", new n(t.placer, "rules"));
3800
+ /**
3801
+ * 表单创建时事件
3802
+ */
3803
+ e(this, "formCreated", new n(t.event, void 0, new a()));
3804
+ /**
3805
+ * 表单挂载完成后事件
3806
+ */
3807
+ e(this, "formMounted", new n(t.event, void 0, new a()));
3808
+ /**
3809
+ * 表单数据改变时事件
3810
+ */
3811
+ e(this, "formDataChange", new n(t.event, void 0, new a()));
3812
+ /**
3813
+ * 表单初始数据加载后
3814
+ */
3815
+ e(this, "formDataLoaded", new n(t.placerHook, void 0, new a()));
3816
+ /**
3817
+ * 是否需新增表单
3818
+ */
3819
+ e(this, "needFormAdd", new n(t.placerHook, void 0, new a()));
3820
+ }
3821
+ }
3822
+ class ht extends g {
3823
+ constructor() {
3824
+ super(...arguments);
3825
+ /**
3826
+ * 子元素的排列方向
3827
+ */
3828
+ // direction?: DirectionType = DirectionType.vertical;
3829
+ /**
3830
+ * 布局列编辑占坑
3831
+ */
3832
+ e(this, "cols", new n(t.placer, []));
3833
+ }
3834
+ }
3835
+ class gt extends g {
3836
+ constructor() {
3837
+ super(...arguments);
3838
+ /**
3839
+ * 是否隐藏
3840
+ */
3841
+ e(this, "hidden", !1);
3842
+ /**
3843
+ * 标签是否可关闭
3844
+ */
3845
+ e(this, "closable", !1);
3846
+ /**
3847
+ * 标签是否可增加
3848
+ */
3849
+ e(this, "addable", !1);
3850
+ /**
3851
+ * 标签是否同时可增加和关闭
3852
+ */
3853
+ e(this, "editable", !1);
3854
+ /**
3855
+ * 标签的宽度是否自撑开
3856
+ */
3857
+ e(this, "stretch", !1);
3858
+ /**
3859
+ * 默认选中选项卡name
3860
+ */
3861
+ // defaultValue?: string | number = '';
3862
+ /**
3863
+ * 风格类型
3864
+ */
3865
+ e(this, "type", V.borderCard);
3866
+ /**
3867
+ * 选项卡所在位置
3868
+ */
3869
+ e(this, "tabPosition", on.top);
3870
+ /**
3871
+ * 切换标签之前的钩子函数
3872
+ */
3873
+ e(this, "beforeLeave", new n(t.hook, void 0, new a()));
3874
+ /**
3875
+ * 为上一级tabs数据集编辑占坑
3876
+ */
3877
+ e(this, "tabs", new n(t.placer, void 0, new a()));
3878
+ /**
3879
+ * 改变时触发
3880
+ */
3881
+ e(this, "tabChange", new n(t.event, void 0, new a()));
3882
+ /**
3883
+ * 被选中时触发
3884
+ */
3885
+ e(this, "tabClick", new n(t.event, void 0, new a()));
3886
+ /**
3887
+ * 点击tab新增按钮时触发
3888
+ */
3889
+ e(this, "tabAdd", new n(t.event, void 0, new a()));
3890
+ /**
3891
+ * 点击tab的新增或移除按钮后触发
3892
+ */
3893
+ e(this, "edit", new n(t.event, void 0, new a()));
3894
+ /**
3895
+ * 移除按钮时触发
3896
+ */
3897
+ e(this, "tabRemove", new n(t.event, void 0, new a()));
3898
+ }
3899
+ }
3900
+ class z extends g {
3901
+ constructor() {
3902
+ super(...arguments);
3903
+ /**
3904
+ * 是否隐藏
3905
+ */
3906
+ e(this, "hidden", !1);
3907
+ /**
3908
+ * 标签内容
3909
+ */
3910
+ e(this, "label", "");
3911
+ // /**
3912
+ // * 是否激活
3913
+ // */
3914
+ // active?: boolean = false;
3915
+ /**
3916
+ * 是否禁用
3917
+ */
3918
+ e(this, "disabled", !1);
3919
+ /**
3920
+ * 标签是否延迟渲染
3921
+ */
3922
+ e(this, "lazy", !1);
3923
+ /**
3924
+ * 是否默认
3925
+ */
3926
+ e(this, "isdefault", !1);
3927
+ }
3928
+ }
3929
+ class mt extends g {
3930
+ constructor() {
3931
+ super(...arguments);
3932
+ /**
3933
+ * 组件宽度
3934
+ */
3935
+ e(this, "ctrlWidth", new n(t.placer, "100%"));
3936
+ /**
3937
+ * 是否隐藏
3938
+ */
3939
+ e(this, "hidden", !1);
3940
+ /**
3941
+ * 是否开启插槽组件模式
3942
+ */
3943
+ e(this, "slotable", new n(t.placer, !1));
3944
+ /**
3945
+ * 标签内容
3946
+ */
3947
+ e(this, "label", new n(t.placer, "card"));
3948
+ /**
3949
+ * 是否展开
3950
+ */
3951
+ e(this, "folded", new n(t.placer, !1));
3952
+ /**
3953
+ * 显示展开图标
3954
+ */
3955
+ e(this, "showFold", new n(t.placer, !1));
3956
+ /**
3957
+ * 卡片宽度
3958
+ */
3959
+ // cardWidth?: string = "100%";
3960
+ /**
3961
+ * 卡片阴影
3962
+ */
3963
+ e(this, "shadow", _e.always);
3964
+ /**
3965
+ * body的CSS样式
3966
+ */
3967
+ e(this, "bodyStyle", new n(t.placer, void 0, new a()));
3968
+ /**
3969
+ * header插槽
3970
+ */
3971
+ e(this, "header", new n(t.slot, void 0, new r()));
3972
+ /**
3973
+ * default插槽
3974
+ */
3975
+ e(this, "default", new n(t.slot, void 0, new r({ allowDrag: !0 })));
3976
+ }
3977
+ }
3978
+ class bt extends P {
3979
+ constructor() {
3980
+ super(...arguments);
3981
+ //IBaseContainerOptions
3982
+ /**
3983
+ * 标签内容
3984
+ */
3985
+ e(this, "label", new n(t.placer, ""));
3986
+ // /**
3987
+ // * 组件状态-样式控制过于复杂,放弃
3988
+ // */
3989
+ // state?: PropValue = new PropValue(ComplexType.placer, FormItemStateType.custom);
3990
+ // /**
3991
+ // * 是否只读
3992
+ // */
3993
+ // readonly?: boolean = false;
3994
+ // /**
3995
+ // * 是否禁用
3996
+ // */
3997
+ // disabled?: boolean = false;
3998
+ /**
3999
+ * 是否隐藏
4000
+ */
4001
+ e(this, "hidden", !1);
4002
+ /**
4003
+ * 最少行数
4004
+ */
4005
+ e(this, "minRowNum", 1);
4006
+ /**
4007
+ * 最多行数
4008
+ */
4009
+ e(this, "maxRowNum", 50);
4010
+ /**
4011
+ * 显示模式
4012
+ */
4013
+ e(this, "showMode", $e.line);
4014
+ /**
4015
+ * 新增记录
4016
+ */
4017
+ e(this, "addRecordText", "");
4018
+ /**
4019
+ * 删除记录
4020
+ */
4021
+ e(this, "deleteRecordText", "");
4022
+ /**
4023
+ * 向上排序
4024
+ */
4025
+ e(this, "sortUpText", "");
4026
+ /**
4027
+ * 向下排序
4028
+ */
4029
+ e(this, "sortDownText", "");
4030
+ /**
4031
+ * 显示表头(表格模式下)
4032
+ */
4033
+ e(this, "showHeader", !0);
4034
+ /**
4035
+ * 显示明细面板
4036
+ */
4037
+ e(this, "showDetail", !1);
4038
+ /**
4039
+ * 单添加按钮
4040
+ */
4041
+ e(this, "onlyOneAddButton", !1);
4042
+ /**
4043
+ * 显示表格线
4044
+ */
4045
+ e(this, "showBorder", !0);
4046
+ /**
4047
+ * 显示限制条数
4048
+ */
4049
+ e(this, "showLimit", !1);
4050
+ /**
4051
+ * 排序
4052
+ */
4053
+ e(this, "sortable", !1);
4054
+ /**
4055
+ * 支持添加
4056
+ */
4057
+ e(this, "allowAdd", !0);
4058
+ /**
4059
+ * 支持删除
4060
+ */
4061
+ e(this, "allowDelete", !0);
4062
+ /**
4063
+ * default插槽
4064
+ */
4065
+ e(this, "row", new n(t.slot, void 0, new r({ allowDrag: !0, enable: !0 })));
4066
+ /**
4067
+ * detail插槽
4068
+ */
4069
+ e(this, "detail", new n(t.slot, void 0, new r({ allowDrag: !0, enable: !0 })));
4070
+ /**
4071
+ * 新增行调用事件
4072
+ */
4073
+ e(this, "addRow", new n(t.event, void 0, new a()));
4074
+ /**
4075
+ * 删除行调用事件
4076
+ */
4077
+ e(this, "deleteRow", new n(t.event, void 0, new a()));
4078
+ /**
4079
+ * 内容改变调用事件
4080
+ */
4081
+ e(this, "change", new n(t.event, void 0, new a()));
4082
+ /**
4083
+ * 点击控件时调用事件
4084
+ */
4085
+ e(this, "click", new n(t.event, void 0, new a()));
4086
+ /**
4087
+ * 数据设置方法
4088
+ * 对表单数据进行二次加工
4089
+ */
4090
+ e(this, "dataFormat", new n(t.hook, void 0, new a()));
4091
+ /**
4092
+ * 行数据设置方法
4093
+ * 对每行数据进行二次加工
4094
+ */
4095
+ e(this, "rowDataFormat", new n(t.hook, void 0, new a()));
4096
+ }
4097
+ }
4098
+ class yt extends P {
4099
+ constructor() {
4100
+ super(...arguments);
4101
+ //IBaseContainerOptions
4102
+ /**
4103
+ * 标签内容
4104
+ */
4105
+ e(this, "label", new n(t.placer, ""));
4106
+ /**
4107
+ * 数据
4108
+ */
4109
+ e(this, "data", new n(t.singleOption, null));
4110
+ /**
4111
+ * 是否在空数据时渲染模版
4112
+ */
4113
+ e(this, "alwaysShow", !1);
4114
+ /**
4115
+ * 是否隐藏
4116
+ */
4117
+ e(this, "hidden", !1);
4118
+ /**
4119
+ * 显示加载状态
4120
+ */
4121
+ e(this, "showLoading", !1);
4122
+ /**
4123
+ * 空数据提示
4124
+ */
4125
+ e(this, "noData", "");
4126
+ /**
4127
+ * 数据加载完成后
4128
+ */
4129
+ e(this, "completed", new n(t.event, void 0, new a()));
4130
+ /**
4131
+ * default插槽
4132
+ */
4133
+ e(this, "row", new n(t.slot, void 0, new r({ allowDrag: !0, enable: !0 })));
4134
+ /**
4135
+ * 点击控件时调用事件
4136
+ */
4137
+ e(this, "click", new n(t.event, void 0, new a()));
4138
+ }
4139
+ }
4140
+ class xt extends W {
4141
+ constructor() {
4142
+ super(...arguments);
4143
+ /**
4144
+ * 标签内容
4145
+ */
4146
+ e(this, "label", "");
4147
+ /**
4148
+ * 组件类别
4149
+ */
4150
+ e(this, "compName", s.tag);
4151
+ /**
4152
+ * 点击时将内容附加到指定组件
4153
+ */
4154
+ e(this, "appendOnClick", !0);
4155
+ /**
4156
+ * 显示存模板按钮
4157
+ */
4158
+ e(this, "showSaveButton", !0);
4159
+ /**
4160
+ * 显示添加模版按钮
4161
+ */
4162
+ e(this, "showAddButton", !0);
4163
+ /**
4164
+ * 标签key
4165
+ */
4166
+ e(this, "labelKey", "label");
4167
+ /**
4168
+ * 内容key
4169
+ */
4170
+ e(this, "contentKey", "value");
4171
+ /**
4172
+ * 关联组件
4173
+ */
4174
+ e(this, "relatedIds", new n(t.dataObject, [], new d({ type: w.array, enable: !0 })));
4175
+ /**
4176
+ * 新增按钮文本
4177
+ */
4178
+ e(this, "addButtonText", "");
4179
+ /**
4180
+ * 存模板按钮文本
4181
+ */
4182
+ e(this, "saveButtonText", "");
4183
+ /**
4184
+ * 添加或保存的入参
4185
+ */
4186
+ e(this, "operateData", new n(t.dataObject, {}, new d({ type: w.object, enable: !0 })));
4187
+ /**
4188
+ * 是否隐藏
4189
+ */
4190
+ e(this, "hidden", !1);
4191
+ /**
4192
+ * 点击控件时调用事件
4193
+ */
4194
+ e(this, "click", new n(t.event, void 0, new a()));
4195
+ /**
4196
+ * 点击存模板时调用事件
4197
+ */
4198
+ e(this, "save", new n(t.event, void 0, new a()));
4199
+ /**
4200
+ * 点击添加模板时调用事件
4201
+ */
4202
+ e(this, "add", new n(t.event, void 0, new a()));
4203
+ /**
4204
+ * 下属选项
4205
+ */
4206
+ e(this, "optionItems", new n(t.singleOption, [], new d({ type: w.array, enable: !0 })));
4207
+ }
4208
+ }
4209
+ class fe extends W {
4210
+ constructor() {
4211
+ super(...arguments);
4212
+ /**
4213
+ * 标签
4214
+ */
4215
+ e(this, "label");
4216
+ /**
4217
+ * 值
4218
+ */
4219
+ e(this, "value");
4220
+ }
4221
+ }
4222
+ class Ot extends c {
4223
+ constructor() {
4224
+ super(...arguments);
4225
+ /**
4226
+ * url地址
4227
+ */
4228
+ e(this, "src", "");
4229
+ /**
4230
+ * url传入参数
4231
+ */
4232
+ e(this, "withQuery", new n(t.placer, !1));
4233
+ /**
4234
+ * 页面加载完成时
4235
+ */
4236
+ e(this, "onLoaded", new n(t.event, void 0, new a()));
4237
+ }
4238
+ }
4239
+ const p = { autoWidth: !0, inlineLayout: !0 }, ve = [
4240
+ new i(s.text, new Mn(), !1, p),
4241
+ new i(s.link, new Hn(), !1, p),
4242
+ new i(s.button, new Vn(), !1, p),
4243
+ new i(s.tag, new jn(), !1, p)
4244
+ ];
4245
+ class O extends J {
4246
+ constructor() {
4247
+ super(), this.category = U.container;
4248
+ }
4249
+ }
4250
+ class N extends J {
4251
+ constructor() {
4252
+ super();
4253
+ e(this, "widgetList", []);
4254
+ this.category = U.container;
4255
+ }
4256
+ }
4257
+ class Tt extends O {
4258
+ constructor() {
4259
+ super();
4260
+ e(this, "cols", []);
4261
+ this.type = s.cont, this.options = new ht(), this.init(!1);
4262
+ }
4263
+ }
4264
+ class he extends X {
4265
+ constructor() {
4266
+ super(...arguments);
4267
+ /**
4268
+ * 子元素的排列方向
4269
+ */
4270
+ e(this, "direction", x.vertical);
4271
+ /**
4272
+ * 单元类型
4273
+ */
4274
+ e(this, "partName", new n(t.placer, pn.container));
4275
+ /**
4276
+ * 宽度
4277
+ */
4278
+ e(this, "cellWidth", new n(t.placer, ""));
4279
+ /**
4280
+ * 高度
4281
+ */
4282
+ e(this, "cellHeight", new n(t.placer, ""));
4283
+ /**
4284
+ * 自定义CSS样式
4285
+ */
4286
+ e(this, "customClass", new n(t.placer, []));
4287
+ /**
4288
+ * 组件外容器CSS样式
4289
+ */
4290
+ e(this, "componentWrapperClass", new n(t.placer, []));
4291
+ /**
4292
+ * 子节点
4293
+ */
4294
+ e(this, "children", []);
4295
+ /**
4296
+ * 组件列表
4297
+ */
4298
+ e(this, "widgetList", []);
4299
+ }
4300
+ }
4301
+ class Ct extends O {
4302
+ constructor() {
4303
+ super();
4304
+ e(this, "cols", []);
4305
+ this.type = s.grid, this.options = new wt(), this.init(!1);
4306
+ }
4307
+ }
4308
+ class kt extends N {
4309
+ constructor() {
4310
+ super();
4311
+ e(this, "internal", !0);
4312
+ this.type = s.gridCol, this.options = new ue(), this.init(!1);
4313
+ }
4314
+ }
4315
+ class It extends O {
4316
+ constructor() {
4317
+ super();
4318
+ e(this, "rows", []);
4319
+ this.type = s.table, this.options = new dt(), this.init(!1);
4320
+ }
4321
+ }
4322
+ class Dt extends O {
4323
+ constructor() {
4324
+ super();
4325
+ e(this, "internal", !0);
4326
+ e(this, "cols", []);
4327
+ this.type = s.tableRow, this.init(!1);
4328
+ }
4329
+ }
4330
+ class St extends N {
4331
+ constructor() {
4332
+ super();
4333
+ e(this, "internal", !0);
4334
+ e(this, "merged", !1);
4335
+ this.type = s.tableCol, this.options = new ct(), this.init(!1);
4336
+ }
4337
+ }
4338
+ class Ft extends O {
4339
+ constructor() {
4340
+ super();
4341
+ e(this, "displayType", V.borderCard);
4342
+ e(this, "tabs", []);
4343
+ this.type = s.tabs, this.options = new gt(), this.init(!1);
4344
+ }
4345
+ }
4346
+ class Pt extends N {
4347
+ constructor() {
4348
+ super();
4349
+ e(this, "internal", !0);
4350
+ this.type = s.tabPane, this.options = new z(), this.init(!1);
4351
+ }
4352
+ }
4353
+ class Wt extends O {
4354
+ constructor() {
4355
+ super();
4356
+ e(this, "slots", []);
4357
+ e(this, "widgetList", []);
4358
+ this.type = s.form, this.options = new vt(), this.slots = [
4359
+ new fn(hn.default)
4360
+ ], this.init(!1);
4361
+ }
4362
+ }
4363
+ class zt extends O {
4364
+ constructor() {
4365
+ super();
4366
+ e(this, "widgetList", []);
4367
+ this.type = s.wrapper, this.options = new Nt(), this.init(!1);
4368
+ }
4369
+ }
4370
+ class Nt extends P {
4371
+ constructor() {
4372
+ super(...arguments);
4373
+ //IBaseContainerOptions
4374
+ /**
4375
+ * 隐藏
4376
+ */
4377
+ e(this, "hidden", !1);
4378
+ /**
4379
+ * 禁用
4380
+ */
4381
+ e(this, "disabled", !1);
4382
+ /**
4383
+ * 必填
4384
+ */
4385
+ e(this, "required", !1);
4386
+ }
4387
+ }
4388
+ class At extends c {
4389
+ constructor() {
4390
+ super(...arguments);
4391
+ /**
4392
+ * 标签
4393
+ */
4394
+ e(this, "label", "");
4395
+ /**
4396
+ * 标签是否隐藏
4397
+ */
4398
+ e(this, "labelHidden", new n(t.placer, !1));
4399
+ /**
4400
+ * 标签水平对齐方式
4401
+ */
4402
+ e(this, "labelAlign", new n(t.placer, ""));
4403
+ /**
4404
+ * 标签水平对齐方式,继承了form的labelPosition,但设置无效
4405
+ */
4406
+ // labelPosition?: PropValue = new PropValue(ComplexType.placer, '');
4407
+ /**
4408
+ * 标签宽度
4409
+ */
4410
+ e(this, "labelWidth", new n(t.placer, ""));
4411
+ /**
4412
+ * 标签图标样式
4413
+ */
4414
+ e(this, "labelIconClass", new n(t.icon));
4415
+ /**
4416
+ * 标签图标位置
4417
+ */
4418
+ e(this, "labelIconPosition", new n(t.placer, sn.rear));
4419
+ /**
4420
+ * 标签提示内容
4421
+ */
4422
+ e(this, "labelTooltip", new n(t.placer, ""));
4423
+ }
4424
+ }
4425
+ class Lt extends At {
4426
+ constructor() {
4427
+ super(...arguments);
4428
+ /**
4429
+ * 分隔符
4430
+ */
4431
+ e(this, "splitText", "-");
4432
+ /**
4433
+ * 单位
4434
+ */
4435
+ e(this, "unitText", "");
4436
+ /**
4437
+ * 前部插槽
4438
+ */
4439
+ e(this, "left", new n(t.slot, null, new r({ allowDrag: !0 })));
4440
+ /**
4441
+ * 后部插槽
4442
+ */
4443
+ e(this, "right", new n(t.slot, null, new r({ allowDrag: !0 })));
4444
+ }
4445
+ }
4446
+ const ge = [
4447
+ new Ct(),
4448
+ new kt(),
4449
+ new It(),
4450
+ new Dt(),
4451
+ new St(),
4452
+ new Tt(),
4453
+ // new ContCellField()
4454
+ new zt()
4455
+ ], me = [
4456
+ new Wt(),
4457
+ new i(s.input, new mn(), !0),
4458
+ new i(s.textarea, new bn(), !0),
4459
+ new i(s.number, new yn(), !0),
4460
+ new i(s.radio, new On(), !0),
4461
+ new i(s.checkbox, new Tn(), !0),
4462
+ new i(s.autoComplete, new xn(), !0),
4463
+ new i(s.select, new B(), !0),
4464
+ new i(s.cascader, new Kn(), !0),
4465
+ new i(s.treeSelect, { treeDivider: "", ...new ae(), selectDivider: "", ...new B() }, !0),
4466
+ new i(s.switch, new Fn(), !0),
4467
+ new i(s.timeSelect, new Sn(), !0),
4468
+ new i(s.timePicker, new Cn(), !0),
4469
+ new i(s.timePickerRange, new kn(), !0),
4470
+ new i(s.datePicker, new In(), !0),
4471
+ new i(s.datePickerRange, new Dn(), !0),
4472
+ new i(s.pictureUpload, new An(), !0),
4473
+ new i(s.fileUpload, new Ln(), !0),
4474
+ new i(s.rate, new Pn(), !0),
4475
+ new i(s.colorPicker, new zn(), !0),
4476
+ new i(s.slider, new Nn(), !0),
4477
+ new i(s.richEditor, new Rn(), !0),
4478
+ new i(s.cache, new gn(), !0)
4479
+ ], be = [
4480
+ new i(s.multirow, new bt(), !0, { dynamicItemFlag: !0 }),
4481
+ new i(s.tmpl, new yt(), !1, { dynamicItemFlag: !0 }),
4482
+ new i(s.model, new xt(), !1),
4483
+ new i(s.range, new Lt(), !1)
4484
+ ], ye = [], xe = [
4485
+ new i(s.avatar, new Yn(), !1, p),
4486
+ new i(s.badge, new Qn(), !1, p),
4487
+ new i(s.empty, new Jn(), !1),
4488
+ new i(s.result, new Zn(), !1),
4489
+ new i(s.card, new mt(), !1),
4490
+ new i(s.collapse, new nt(), !1),
4491
+ new i(s.descriptions, new tt(), !1),
4492
+ new i(s.carousel, new et(), !1),
4493
+ new i(s.image, new at(), !1, p),
4494
+ new i(s.eltable, new rt(), !1),
4495
+ new i(s.pagination, new ft(), !1),
4496
+ new i(s.progress, new Wn(), !1, p),
4497
+ new i(s.tree, new ae(), !1)
4498
+ ], Oe = [
4499
+ new i(s.router, new st(), !1, p),
4500
+ new Ft(),
4501
+ new Pt(),
4502
+ new i(s.steps, new it(), !1),
4503
+ new i(s.dropdown, new Xn(), !1, p),
4504
+ new i(s.menu, new ot(), !1),
4505
+ new i(s.breadcrumb, new lt(), !1),
4506
+ new i(s.affix, new qn(), !1, p),
4507
+ new i(s.backtop, new _n(), !1, p),
4508
+ new i(s.anchor, new $n(), !1, p)
4509
+ ], Te = [
4510
+ new i(s.dialog, new pt(), !1),
4511
+ new i(s.drawer, new ut(), !1)
4512
+ ], Ce = [
4513
+ new i(s.staticText, new Bn(), !1, p),
4514
+ new i(s.htmlText, new En(), !1, p),
4515
+ new i(s.divider, new Un(), !1),
4516
+ new i(s.chart, new Gn(), !1),
4517
+ new i(s.iframe, new Ot(), !1)
4518
+ ], Rt = [...ge, ...ve, ...me, ...ye, ...be, ...xe, ...Te, ...Oe, ...Ce], qt = {
4519
+ containers: ge,
4520
+ basicFields: ve,
4521
+ formFields: me,
4522
+ systemFields: ye,
4523
+ advancedFields: be,
4524
+ dataFields: xe,
4525
+ navFields: Oe,
4526
+ feedBackFields: Te,
4527
+ otherFields: Ce,
4528
+ allWidgets: Rt
4529
+ }, Kt = (o) => {
4530
+ if (!o)
4531
+ return null;
4532
+ switch (o) {
4533
+ case s.anchor:
4534
+ return oe.getKeys();
4535
+ case s.breadcrumb:
4536
+ return we.getKeys();
4537
+ case s.radio:
4538
+ return _.getKeys();
4539
+ case s.select:
4540
+ return u.getKeys();
4541
+ case s.checkbox:
4542
+ return $.getKeys();
4543
+ case s.image:
4544
+ return u.getKeys();
4545
+ case s.steps:
4546
+ return ce.getKeys();
4547
+ case s.carousel:
4548
+ return se.getKeys();
4549
+ case s.collapse:
4550
+ return ie.getKeys();
4551
+ case s.descriptions:
4552
+ return re.getKeys();
4553
+ case s.dropdown:
4554
+ return le.getKeys();
4555
+ case s.cascader:
4556
+ return Z.getKeys();
4557
+ case s.tree:
4558
+ case s.treeSelect:
4559
+ return Y.getKeys();
4560
+ case s.menu:
4561
+ return de.getKeys();
4562
+ case s.tabs:
4563
+ return z.getKeys();
4564
+ case s.grid:
4565
+ return ue.getKeys();
4566
+ case s.cont:
4567
+ return he.getKeys();
4568
+ case s.eltable:
4569
+ return pe.getKeys();
4570
+ case s.model:
4571
+ return fe.getKeys();
4572
+ default:
4573
+ return null;
4574
+ }
4575
+ }, Bt = (o) => {
4576
+ if (!o)
4577
+ return null;
4578
+ var l = null;
4579
+ switch (o) {
4580
+ case s.anchor:
4581
+ l = new oe(), l.title = "title";
4582
+ break;
4583
+ case s.breadcrumb:
4584
+ l = new we();
4585
+ break;
4586
+ case s.radio:
4587
+ l = new _();
4588
+ break;
4589
+ case s.select:
4590
+ l = new u();
4591
+ break;
4592
+ case s.checkbox:
4593
+ l = new $();
4594
+ break;
4595
+ case s.image:
4596
+ l = new u();
4597
+ break;
4598
+ case s.steps:
4599
+ l = new ce();
4600
+ break;
4601
+ case s.carousel:
4602
+ l = new se();
4603
+ break;
4604
+ case s.collapse:
4605
+ l = new ie();
4606
+ break;
4607
+ case s.descriptions:
4608
+ l = new re();
4609
+ break;
4610
+ case s.dropdown:
4611
+ l = new le();
4612
+ break;
4613
+ case s.tree:
4614
+ case s.treeSelect:
4615
+ l = new Y();
4616
+ break;
4617
+ case s.cascader:
4618
+ l = new Z();
4619
+ break;
4620
+ case s.menu:
4621
+ l = new de();
4622
+ break;
4623
+ case s.cont:
4624
+ l = new he();
4625
+ break;
4626
+ case s.tabs:
4627
+ l = new z();
4628
+ break;
4629
+ case s.eltable:
4630
+ l = new pe();
4631
+ break;
4632
+ case s.model:
4633
+ l = new fe();
4634
+ break;
4635
+ default:
4636
+ l = null;
4637
+ }
4638
+ return l;
4639
+ }, Jt = (o) => {
4640
+ if (!o)
4641
+ return null;
4642
+ var l = Kt(o);
4643
+ return l ? Et(l, 1, o) : null;
4644
+ }, Et = (o, l, y) => {
4645
+ var m = {};
4646
+ if (!o || (o == null ? void 0 : o.length) <= 0)
4647
+ return m;
4648
+ if (y) {
4649
+ var A = Bt(y);
4650
+ if (A)
4651
+ m = A;
4652
+ else
4653
+ return m;
4654
+ } else
4655
+ o == null || o.forEach((L) => {
4656
+ m[L] || (m[L] = null);
4657
+ });
4658
+ return o != null && o.includes(b.value) && (m[b.value] = String(l)), o != null && o.includes(b.label) && (m[b.label] = b.option + " " + l), o != null && o.includes(b.children) && (m[b.children] = []), o != null && o.includes(b.name) && (m[b.name] = b.option + l), m;
4659
+ };
4660
+ export {
4661
+ he as C,
4662
+ Wt as F,
4663
+ Kt as a,
4664
+ Et as b,
4665
+ Jt as g,
4666
+ qt as w
4667
+ };