hlrender 0.0.11 → 0.0.13
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.
- package/{affix-widget-09d896ce.js → affix-widget-b700fb76.js} +16 -16
- package/{alert-widget-07d1f81e.js → alert-widget-4d7bc87c.js} +16 -16
- package/{anchor-widget-34ee6615.js → anchor-widget-c84e6713.js} +13 -13
- package/{auto-complete-widget-06e8ab97.js → auto-complete-widget-f28eded5.js} +16 -16
- package/{avatar-widget-88abc990.js → avatar-widget-f607c757.js} +16 -16
- package/{backtop-widget-136d8760.js → backtop-widget-9ccaf268.js} +16 -16
- package/{badge-widget-00c67aea.js → badge-widget-5c840400.js} +19 -19
- package/{baseImp-6de567f5.js → baseImp-1b476c77.js} +1824 -1781
- package/{breadcrumb-widget-88e8760d.js → breadcrumb-widget-1b089dce.js} +13 -13
- package/{button-widget-da254e24.js → button-widget-6043fac6.js} +16 -16
- package/{cache-widget-c3704d8b.js → cache-widget-93006b8b.js} +15 -15
- package/{card-widget-340dc200.js → card-widget-2749c50c.js} +14 -14
- package/{carousel-widget-3efe1e3f.js → carousel-widget-bd15db2e.js} +18 -18
- package/{cascader-widget-a8b2b9f3.js → cascader-widget-00c77296.js} +20 -20
- package/{chart-widget-3fa591bd.js → chart-widget-5c28c10a.js} +13 -13
- package/{checkbox-widget-1763fe87.js → checkbox-widget-9a8087d7.js} +15 -15
- package/{collapse-widget-17ea1e3a.js → collapse-widget-f082c49a.js} +18 -18
- package/{color-picker-widget-8ffc757d.js → color-picker-widget-def103e4.js} +15 -15
- package/{cont-cell-widget-627285b3.js → cont-cell-widget-be7e5f0d.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-5fd92418.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-2649dc04.js} +5 -5
- package/{cont-widget-271709f5.js → cont-widget-6d2fd7b0.js} +8 -8
- package/content-wrapper-4c86f902.js +14 -0
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-7c2b51ee.js → content-wrapper.vue_vue_type_script_setup_true_lang-ddde821e.js} +3 -3
- package/{date-picker-range-widget-1ed067ba.js → date-picker-range-widget-a87d3859.js} +15 -15
- package/{date-picker-widget-13242a45.js → date-picker-widget-57e340ef.js} +15 -15
- package/default-slot-widget-54dfb5af.js +24 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-b6422690.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-b125ec50.js} +7 -7
- package/{descriptions-widget-07aae80f.js → descriptions-widget-67dcc22a.js} +14 -14
- package/{dialog-701b8c0a.js → dialog-7d33aaed.js} +2 -2
- package/{dialog-widget-4133a39f.js → dialog-widget-959d3ec1.js} +15 -15
- package/{divider-widget-2e6ab845.js → divider-widget-6aeebc0f.js} +16 -16
- package/drag-wrapper-1c3560ef.js +258 -0
- package/{drawer-widget-dc73d1ca.js → drawer-widget-f02ff61b.js} +15 -15
- package/{dropdown-widget-4bec3b6b.js → dropdown-widget-4cd4dc31.js} +34 -32
- package/{empty-widget-b09cb9bc.js → empty-widget-2ab9ac82.js} +16 -16
- package/{enum-type-965ecb4e.js → enum-type-6c2444c7.js} +23 -23
- package/{enum-type-0083e5e5.js → enum-type-f19f3faf.js} +1 -1
- package/{expression-78a5f136.js → expression-d0d5b99e.js} +7 -7
- package/feedback-widget-52713336.js +24 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-ec6a8b0b.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-e25e9f1b.js} +5 -5
- package/{fieldobj-079cc6a1.js → fieldobj-3d0327a8.js} +3 -3
- package/{file-upload-widget-ad790e94.js → file-upload-widget-3d0b9fa7.js} +16 -16
- package/{form-item-wrapper-f428a5b3.js → form-item-wrapper-e32762ff.js} +11 -11
- package/{form-widget-aa88b04c.js → form-widget-8c8406c0.js} +42 -42
- package/{grid-col-widget-3d4def04.js → grid-col-widget-e1f99b88.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-6c8a6a99.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-335bd615.js} +5 -5
- package/{grid-widget-0d8adfb3.js → grid-widget-f9e7adf5.js} +8 -8
- package/{html-text-widget-261eaf3d.js → html-text-widget-88359d76.js} +14 -14
- package/{iframe-widget-b8434abd.js → iframe-widget-39a800c0.js} +13 -13
- package/{image-widget-931a54a9.js → image-widget-7a89343f.js} +13 -13
- package/{index-22bda53a.js → index-6f9269bf.js} +1 -1
- package/{index-94d0325b.js → index-84cb8278.js} +4 -4
- package/{index-2b7ed19f.js → index-ed6948ad.js} +725 -717
- package/{input-number-widget-627ba574.js → input-number-widget-e080415b.js} +15 -15
- package/{input-widget-1af63077.js → input-widget-dcfc8735.js} +16 -16
- package/{label-wrapper-bb67454d.js → label-wrapper-bc320280.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-406a5b48.js → label-wrapper.vue_vue_type_style_index_0_lang-a0cb6bb5.js} +3 -3
- package/{link-widget-b763c145.js → link-widget-791dda30.js} +16 -16
- package/{ltable-col-widget-ac72367a.js → ltable-col-widget-f11f5652.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-fd2759be.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-7d13d8d1.js} +10 -10
- package/{ltable-widget-fbfde49d.js → ltable-widget-84b04c8a.js} +5 -5
- package/{menu-widget-839b5597.js → menu-widget-32698736.js} +14 -14
- package/{model-widget-f95af04f.js → model-widget-1499bfc5.js} +13 -13
- package/{multirow-be69baf2.js → multirow-b14caba5.js} +15 -15
- package/{multirow-widget-2a8e565b.js → multirow-widget-f8a697ba.js} +15 -15
- package/package.json +1 -1
- package/{pagination-widget-26a33d29.js → pagination-widget-0bb40786.js} +13 -13
- package/{picture-upload-widget-8e531089.js → picture-upload-widget-1568f7ce.js} +16 -16
- package/{progress-widget-cc49f312.js → progress-widget-8bd4247a.js} +14 -14
- package/{propresult-92830dff.js → propresult-e19b76cc.js} +1 -1
- package/{radio-widget-5ef72242.js → radio-widget-771f190a.js} +15 -15
- package/{range-widget-75dd7393.js → range-widget-5d794405.js} +16 -16
- package/{rate-widget-4d727592.js → rate-widget-2be83ab2.js} +15 -15
- package/render.es.js +829 -825
- package/render.style.css +1 -1
- package/render.umd.js +306 -287
- package/{result-widget-520d5f63.js → result-widget-dd74533a.js} +14 -14
- package/{rich-editor-widget-7d97a0ac.js → rich-editor-widget-b4ac8fcc.js} +21 -21
- package/{router-widget-0a17cd89.js → router-widget-1df3f0d6.js} +13 -13
- package/{select-widget-4601c748.js → select-widget-dcf37e3a.js} +15 -15
- package/{sfc-bedcee5e.js → sfc-bd924d00.js} +708 -682
- package/{share-field-46cfb27c.js → share-field-dfc6f214.js} +194 -192
- package/{share-file-caae654c.js → share-file-39699a73.js} +14 -14
- package/{slider-widget-4258703e.js → slider-widget-a2b12daa.js} +20 -20
- package/{slot-87815022.js → slot-1235c941.js} +25 -25
- package/{static-text-widget-f7c9f75e.js → static-text-widget-0d2477d8.js} +14 -14
- package/{steps-widget-7ed4714f.js → steps-widget-9844205e.js} +13 -13
- package/subMenu-widget-0a646352.js +16 -0
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-e00474cd.js → subMenu-widget.vue_vue_type_script_setup_true_lang-0ab417be.js} +3 -3
- package/{switch-widget-a7ca9805.js → switch-widget-d969a535.js} +15 -15
- package/{tab-pane-widget-aac721c1.js → tab-pane-widget-ea3324db.js} +1 -1
- package/tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-5a83d03f.js +35 -0
- package/table-col-widget-274e159e.js +20 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-23943a07.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-f638bdfc.js} +15 -15
- package/{table-widget-04ae323f.js → table-widget-73d01cea.js} +47 -47
- package/tabs-widget-d573925c.js +76 -0
- package/{tag-widget-b2ad8430.js → tag-widget-b700c984.js} +16 -16
- package/{text-widget-f11b31ef.js → text-widget-a23e3e8c.js} +16 -16
- package/{textarea-widget-0b1aa924.js → textarea-widget-df1cbac5.js} +15 -15
- package/{time-picker-range-widget-cee1d0db.js → time-picker-range-widget-fcc8bdcd.js} +15 -15
- package/{time-picker-widget-3327346e.js → time-picker-widget-0c4c7fb8.js} +15 -15
- package/{time-select-widget-b8ef282f.js → time-select-widget-208a2c17.js} +15 -15
- package/{tmpl-widget-41fe8438.js → tmpl-widget-e97eaa43.js} +23 -23
- package/{tree-select-widget-955b88bf.js → tree-select-widget-3de564cb.js} +15 -15
- package/{tree-widget-b928fb54.js → tree-widget-58540f01.js} +26 -26
- package/{uuid-8f83f4bc.js → uuid-85303a38.js} +10 -10
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3f856074.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2d5b7847.js} +86 -84
- package/{wrapper-widget-0492ec02.js → wrapper-widget-aa2ee8f4.js} +6 -6
- package/content-wrapper-45ed31e2.js +0 -14
- package/default-slot-widget-8da28e30.js +0 -24
- package/drag-wrapper-9194080d.js +0 -258
- package/feedback-widget-339b6b9f.js +0 -24
- package/subMenu-widget-b71b263f.js +0 -16
- package/tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-507add54.js +0 -35
- package/table-col-widget-41f6fc8b.js +0 -20
- package/tabs-widget-a80add4e.js +0 -68
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var oi = Object.defineProperty;
|
|
2
2
|
var ui = (t, r, i) => r in t ? oi(t, r, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[r] = i;
|
|
3
3
|
var e = (t, r, i) => (ui(t, typeof r != "symbol" ? r + "" : r, i), i);
|
|
4
|
-
import {
|
|
4
|
+
import { p as Tt, d as ft, f as gn, x as xe, B as oe, o as Vt, w as bt, a as Ne, H as Ut } from "./enum-type-6c2444c7.js";
|
|
5
5
|
import { reactive as In, computed as je, nextTick as li, watch as ci } from "vue";
|
|
6
|
-
import { l as fi, g as Lt, c as Ee } from "./uuid-
|
|
7
|
-
import { d as I, C as u, F as pi, I as di, R as hi, g as yi, h as mi, i as Ft, D as Rt, T as Pn, j as Dt, k as vi, l as wi, m as gi, n as bi, o as Ei, p as Ye, q as Ci, r as We, s as qt, t as Ln, u as Rn, L as xi, v as Xt, B as Ai, H as Et, w as Fi, x as Di, y as Si, z as Oi, A as Nn, G as ki, J as Bi, K as _i, M as Ti, N as Ii, Q as Pi, U as bn, X as Li, Y as Ri, Z as Ni, _ as Mi, $ as ji, a0 as Mn, a1 as Ui, a2 as En, a3 as Hi, a4 as $i, a5 as zi, a6 as Wi, a7 as Ki, e as Jt, f as Gi, a8 as Vi, a9 as qi, aa as Xi, ab as Ji, ac as it, ad as Qi, P as Cn } from "./enum-type-
|
|
8
|
-
import { S as J, I as Te, P as
|
|
9
|
-
import { k as ta,
|
|
6
|
+
import { l as fi, g as Lt, c as Ee } from "./uuid-85303a38.js";
|
|
7
|
+
import { d as I, C as u, F as pi, I as di, R as hi, g as yi, h as mi, i as Ft, D as Rt, T as Pn, j as Dt, k as vi, l as wi, m as gi, n as bi, o as Ei, p as Ye, q as Ci, r as We, s as qt, t as Ln, u as Rn, L as xi, v as Xt, B as Ai, H as Et, w as Fi, x as Di, y as Si, z as Oi, A as Nn, G as ki, J as Bi, K as _i, M as Ti, N as Ii, Q as Pi, U as bn, X as Li, Y as Ri, Z as Ni, _ as Mi, $ as ji, a0 as Mn, a1 as Ui, a2 as En, a3 as Hi, a4 as $i, a5 as zi, a6 as Wi, a7 as Ki, e as Jt, f as Gi, a8 as Vi, a9 as qi, aa as Xi, ab as Ji, ac as it, ad as Qi, P as Cn } from "./enum-type-f19f3faf.js";
|
|
8
|
+
import { S as J, I as Te, P as s, f as k, h as Ke, s as ee, i as St, j as ce, k as Yi, l as jn, m as Un, n as qe, E as Zi, o as Qt, p as Yt, q as ea, B as ae, t as ze, v as Hn, w as $n, x as Ve, y as It, T as zn, z as Wn } from "./baseImp-1b476c77.js";
|
|
9
|
+
import { k as ta, g as he, p as Kn, d as xn, f as na } from "./expression-d0d5b99e.js";
|
|
10
10
|
import { c as An } from "./_commonjsHelpers-e7ea1525.js";
|
|
11
11
|
function ra(t) {
|
|
12
12
|
return t = t || /* @__PURE__ */ Object.create(null), {
|
|
@@ -17,8 +17,8 @@ function ra(t) {
|
|
|
17
17
|
* @param {Function} handler Function to call in response to given event
|
|
18
18
|
* @memberOf mitt
|
|
19
19
|
*/
|
|
20
|
-
on: function(i,
|
|
21
|
-
(t[i] || (t[i] = [])).push(
|
|
20
|
+
on: function(i, o) {
|
|
21
|
+
(t[i] || (t[i] = [])).push(o);
|
|
22
22
|
},
|
|
23
23
|
/**
|
|
24
24
|
* Remove an event handler for the given type.
|
|
@@ -27,8 +27,8 @@ function ra(t) {
|
|
|
27
27
|
* @param {Function} handler Handler function to remove
|
|
28
28
|
* @memberOf mitt
|
|
29
29
|
*/
|
|
30
|
-
off: function(i,
|
|
31
|
-
t[i] && t[i].splice(t[i].indexOf(
|
|
30
|
+
off: function(i, o) {
|
|
31
|
+
t[i] && t[i].splice(t[i].indexOf(o) >>> 0, 1);
|
|
32
32
|
},
|
|
33
33
|
/**
|
|
34
34
|
* Invoke all handlers for the given type.
|
|
@@ -38,11 +38,11 @@ function ra(t) {
|
|
|
38
38
|
* @param {Any} [evt] Any value (object is recommended and powerful), passed to each handler
|
|
39
39
|
* @memberof mitt
|
|
40
40
|
*/
|
|
41
|
-
emit: function(i,
|
|
41
|
+
emit: function(i, o) {
|
|
42
42
|
(t[i] || []).map(function(c) {
|
|
43
|
-
c(
|
|
43
|
+
c(o);
|
|
44
44
|
}), (t["*"] || []).map(function(c) {
|
|
45
|
-
c(i,
|
|
45
|
+
c(i, o);
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
};
|
|
@@ -59,7 +59,7 @@ function ia(t) {
|
|
|
59
59
|
steps: []
|
|
60
60
|
};
|
|
61
61
|
t && !(t != null && t.historyData) && (t.historyData = r);
|
|
62
|
-
const i = In((t == null ? void 0 : t.historyData) || r),
|
|
62
|
+
const i = In((t == null ? void 0 : t.historyData) || r), o = `widget__list__backup__${t == null ? void 0 : t.key}`, c = `form__config__backup__${t == null ? void 0 : t.key}`, l = je({
|
|
63
63
|
get: () => (i.index < 0 && (i.index = 0), i.steps[i.index]),
|
|
64
64
|
set: (_) => {
|
|
65
65
|
i.index < 0 && (i.index = 0), i.steps[i.index] = _;
|
|
@@ -93,9 +93,9 @@ function ia(t) {
|
|
|
93
93
|
var _;
|
|
94
94
|
return i.index < ((_ = i.steps) == null ? void 0 : _.length) - 1;
|
|
95
95
|
}, x = () => {
|
|
96
|
-
Tt.set(
|
|
96
|
+
Tt.set(o, t.widgetList), Tt.set(c, t.pageConfig);
|
|
97
97
|
}, f = () => {
|
|
98
|
-
let _ = Tt.get(
|
|
98
|
+
let _ = Tt.get(o);
|
|
99
99
|
_ && ft(t.widgetList, gn(_));
|
|
100
100
|
let T = Tt.get(c);
|
|
101
101
|
T && ft(t.pageConfig, gn(T));
|
|
@@ -118,11 +118,11 @@ class aa extends Te {
|
|
|
118
118
|
/**
|
|
119
119
|
* 标签是否隐藏
|
|
120
120
|
*/
|
|
121
|
-
e(this, "labelHidden", new
|
|
121
|
+
e(this, "labelHidden", new s(u.placer, !1));
|
|
122
122
|
/**
|
|
123
123
|
* 标签内容
|
|
124
124
|
*/
|
|
125
|
-
e(this, "label", new
|
|
125
|
+
e(this, "label", new s(u.placer, ""));
|
|
126
126
|
/**
|
|
127
127
|
* 默认值
|
|
128
128
|
*/
|
|
@@ -130,7 +130,7 @@ class aa extends Te {
|
|
|
130
130
|
/**
|
|
131
131
|
* 组件状态
|
|
132
132
|
*/
|
|
133
|
-
e(this, "state", new
|
|
133
|
+
e(this, "state", new s(u.placer, pi.custom));
|
|
134
134
|
/**
|
|
135
135
|
* 是否只读
|
|
136
136
|
*/
|
|
@@ -142,7 +142,7 @@ class aa extends Te {
|
|
|
142
142
|
/**
|
|
143
143
|
* 内容改变调用事件
|
|
144
144
|
*/
|
|
145
|
-
e(this, "change", new
|
|
145
|
+
e(this, "change", new s(u.event, void 0, new k()));
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
class sa extends Ke {
|
|
@@ -163,11 +163,11 @@ class sa extends Ke {
|
|
|
163
163
|
/**
|
|
164
164
|
* 头部Icon
|
|
165
165
|
*/
|
|
166
|
-
e(this, "prefixIcon", new
|
|
166
|
+
e(this, "prefixIcon", new s(u.icon));
|
|
167
167
|
/**
|
|
168
168
|
* 尾部Icon
|
|
169
169
|
*/
|
|
170
|
-
e(this, "suffixIcon", new
|
|
170
|
+
e(this, "suffixIcon", new s(u.icon));
|
|
171
171
|
/**
|
|
172
172
|
* 是否支持清空
|
|
173
173
|
*/
|
|
@@ -199,23 +199,23 @@ class sa extends Ke {
|
|
|
199
199
|
/**
|
|
200
200
|
* 指定输入值的格式
|
|
201
201
|
*/
|
|
202
|
-
e(this, "formatter", new
|
|
202
|
+
e(this, "formatter", new s(u.hook, void 0, new k()));
|
|
203
203
|
/**
|
|
204
204
|
* 指定从格式化器输入中提取的值
|
|
205
205
|
*/
|
|
206
|
-
e(this, "parser", new
|
|
206
|
+
e(this, "parser", new s(u.hook, void 0, new k()));
|
|
207
207
|
/**
|
|
208
208
|
* 输入内容调用事件
|
|
209
209
|
*/
|
|
210
|
-
e(this, "input", new
|
|
210
|
+
e(this, "input", new s(u.event, void 0, new k()));
|
|
211
211
|
/**
|
|
212
212
|
* 在点击由 clearable 属性生成的清空按钮时触发
|
|
213
213
|
*/
|
|
214
|
-
e(this, "clear", new
|
|
214
|
+
e(this, "clear", new s(u.event, void 0, new k()));
|
|
215
215
|
/**
|
|
216
216
|
* 是否开启插槽组件模式
|
|
217
217
|
*/
|
|
218
|
-
e(this, "slotable", new
|
|
218
|
+
e(this, "slotable", new s(u.placer, !1));
|
|
219
219
|
/**
|
|
220
220
|
* 后置按钮点击后调用事件
|
|
221
221
|
*/
|
|
@@ -223,11 +223,11 @@ class sa extends Ke {
|
|
|
223
223
|
/**
|
|
224
224
|
* 前置内容
|
|
225
225
|
*/
|
|
226
|
-
e(this, "prepend", new
|
|
226
|
+
e(this, "prepend", new s(u.slot, null, new ee({ allowDrag: !0 })));
|
|
227
227
|
/**
|
|
228
228
|
* 后置内容
|
|
229
229
|
*/
|
|
230
|
-
e(this, "append", new
|
|
230
|
+
e(this, "append", new s(u.slot, null, new ee({ allowDrag: !0 })));
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
class oa extends Ke {
|
|
@@ -264,7 +264,7 @@ class oa extends Ke {
|
|
|
264
264
|
/**
|
|
265
265
|
* 输入内容调用事件
|
|
266
266
|
*/
|
|
267
|
-
e(this, "input", new
|
|
267
|
+
e(this, "input", new s(u.event, void 0, new k()));
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
270
|
class ua extends Ke {
|
|
@@ -310,11 +310,11 @@ class ua extends Ke {
|
|
|
310
310
|
/**
|
|
311
311
|
* 单位
|
|
312
312
|
*/
|
|
313
|
-
e(this, "unitText", new
|
|
313
|
+
e(this, "unitText", new s(u.placer, ""));
|
|
314
314
|
/**
|
|
315
315
|
* 输入内容调用事件
|
|
316
316
|
*/
|
|
317
|
-
e(this, "input", new
|
|
317
|
+
e(this, "input", new s(u.event, void 0, new k()));
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
class la extends Ke {
|
|
@@ -327,15 +327,15 @@ class la extends Ke {
|
|
|
327
327
|
/**
|
|
328
328
|
* 点击选中建议项时触发
|
|
329
329
|
*/
|
|
330
|
-
e(this, "select", new
|
|
330
|
+
e(this, "select", new s(u.event, void 0, new k()));
|
|
331
331
|
/**
|
|
332
332
|
* 获取输入建议的方法
|
|
333
333
|
*/
|
|
334
|
-
e(this, "fetchSuggestions", new
|
|
334
|
+
e(this, "fetchSuggestions", new s(u.hook, void 0, new k()));
|
|
335
335
|
/**
|
|
336
336
|
* 自定义输入建议的内容
|
|
337
337
|
*/
|
|
338
|
-
e(this, "default", new
|
|
338
|
+
e(this, "default", new s(u.slot, null, new ee()));
|
|
339
339
|
/**
|
|
340
340
|
* 输入建议对象中用于显示的键名
|
|
341
341
|
*/
|
|
@@ -385,23 +385,23 @@ class la extends Ke {
|
|
|
385
385
|
/**
|
|
386
386
|
* 是否开启插槽组件模式
|
|
387
387
|
*/
|
|
388
|
-
e(this, "slotable", new
|
|
388
|
+
e(this, "slotable", new s(u.placer, !1));
|
|
389
389
|
/**
|
|
390
390
|
* 输入框头部内容
|
|
391
391
|
*/
|
|
392
|
-
e(this, "prefix", new
|
|
392
|
+
e(this, "prefix", new s(u.slot, null, new ee({ allowDrag: !0 })));
|
|
393
393
|
/**
|
|
394
394
|
* 输入框尾部内容
|
|
395
395
|
*/
|
|
396
|
-
e(this, "suffix", new
|
|
396
|
+
e(this, "suffix", new s(u.slot, null, new ee({ allowDrag: !0 })));
|
|
397
397
|
/**
|
|
398
398
|
* 下输入框前置内容,在 prefix 之前
|
|
399
399
|
*/
|
|
400
|
-
e(this, "prepend", new
|
|
400
|
+
e(this, "prepend", new s(u.slot, null, new ee({ allowDrag: !0 })));
|
|
401
401
|
/**
|
|
402
402
|
* 输入框后置内容,在 suffix 之后
|
|
403
403
|
*/
|
|
404
|
-
e(this, "append", new
|
|
404
|
+
e(this, "append", new s(u.slot, null, new ee({ allowDrag: !0 })));
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
407
|
class ca extends St {
|
|
@@ -410,7 +410,7 @@ class ca extends St {
|
|
|
410
410
|
/**
|
|
411
411
|
* 显示样式
|
|
412
412
|
*/
|
|
413
|
-
e(this, "displayStyle", new
|
|
413
|
+
e(this, "displayStyle", new s(u.placer, Rt.block));
|
|
414
414
|
/**
|
|
415
415
|
* 是否显示为按钮
|
|
416
416
|
*/
|
|
@@ -430,23 +430,23 @@ class ca extends St {
|
|
|
430
430
|
/**
|
|
431
431
|
* value键名
|
|
432
432
|
*/
|
|
433
|
-
e(this, "valueKey", new
|
|
433
|
+
e(this, "valueKey", new s(u.placer, "value"));
|
|
434
434
|
/**
|
|
435
435
|
* label键名
|
|
436
436
|
*/
|
|
437
|
-
e(this, "labelKey", new
|
|
437
|
+
e(this, "labelKey", new s(u.placer, "label"));
|
|
438
438
|
/**
|
|
439
439
|
* 选项文本属性名-值变化时同时新增对应属性
|
|
440
440
|
*/
|
|
441
|
-
e(this, "textName", new
|
|
441
|
+
e(this, "textName", new s(u.placer, ""));
|
|
442
442
|
/**
|
|
443
443
|
* 选项列表属性名-值变化时同时新增对应属性
|
|
444
444
|
*/
|
|
445
|
-
e(this, "optionName", new
|
|
445
|
+
e(this, "optionName", new s(u.placer, ""));
|
|
446
446
|
/**
|
|
447
447
|
* 选项路径文本-值变化时同时新增对应属性
|
|
448
448
|
*/
|
|
449
|
-
e(this, "labelName", new
|
|
449
|
+
e(this, "labelName", new s(u.placer, ""));
|
|
450
450
|
/**
|
|
451
451
|
* 是否禁用,弃用-已合并成“状态”属性
|
|
452
452
|
*/
|
|
@@ -454,11 +454,11 @@ class ca extends St {
|
|
|
454
454
|
/**
|
|
455
455
|
* 下属选项
|
|
456
456
|
*/
|
|
457
|
-
e(this, "optionItems", new
|
|
457
|
+
e(this, "optionItems", new s(u.singleOption, [], new ce({ type: oe.array, enable: !0 })));
|
|
458
458
|
/**
|
|
459
459
|
* 关联选项设置
|
|
460
460
|
*/
|
|
461
|
-
e(this, "relate", new
|
|
461
|
+
e(this, "relate", new s(u.placer, void 0));
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
464
|
class Gn extends ze {
|
|
@@ -492,7 +492,7 @@ class fa extends St {
|
|
|
492
492
|
/**
|
|
493
493
|
* 显示样式
|
|
494
494
|
*/
|
|
495
|
-
e(this, "displayStyle", new
|
|
495
|
+
e(this, "displayStyle", new s(u.placer, Rt.block));
|
|
496
496
|
/**
|
|
497
497
|
* 是否显示为按钮
|
|
498
498
|
*/
|
|
@@ -520,31 +520,31 @@ class fa extends St {
|
|
|
520
520
|
/**
|
|
521
521
|
* value键名
|
|
522
522
|
*/
|
|
523
|
-
e(this, "valueKey", new
|
|
523
|
+
e(this, "valueKey", new s(u.placer, "value"));
|
|
524
524
|
/**
|
|
525
525
|
* label键名
|
|
526
526
|
*/
|
|
527
|
-
e(this, "labelKey", new
|
|
527
|
+
e(this, "labelKey", new s(u.placer, "label"));
|
|
528
528
|
/**
|
|
529
529
|
* 选项文本属性名-值变化时同时新增对应属性
|
|
530
530
|
*/
|
|
531
|
-
e(this, "textName", new
|
|
531
|
+
e(this, "textName", new s(u.placer, ""));
|
|
532
532
|
/**
|
|
533
533
|
* 选项列表属性名-值变化时同时新增对应属性
|
|
534
534
|
*/
|
|
535
|
-
e(this, "optionName", new
|
|
535
|
+
e(this, "optionName", new s(u.placer, ""));
|
|
536
536
|
/**
|
|
537
537
|
* 选项路径文本-值变化时同时新增对应属性
|
|
538
538
|
*/
|
|
539
|
-
e(this, "labelName", new
|
|
539
|
+
e(this, "labelName", new s(u.placer, ""));
|
|
540
540
|
/**
|
|
541
541
|
* 下属选项
|
|
542
542
|
*/
|
|
543
|
-
e(this, "optionItems", new
|
|
543
|
+
e(this, "optionItems", new s(u.singleOption, [], new ce({ type: oe.array, enable: !0 })));
|
|
544
544
|
/**
|
|
545
545
|
* 关联选项设置
|
|
546
546
|
*/
|
|
547
|
-
e(this, "relate", new
|
|
547
|
+
e(this, "relate", new s(u.placer, []));
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
550
|
class Vn extends ze {
|
|
@@ -598,7 +598,7 @@ class Dn extends Ke {
|
|
|
598
598
|
/**
|
|
599
599
|
* 是否分组显示
|
|
600
600
|
*/
|
|
601
|
-
e(this, "showGroup", new
|
|
601
|
+
e(this, "showGroup", new s(u.placer, !1));
|
|
602
602
|
/**
|
|
603
603
|
* 是否将下拉列表插入至 body 元素
|
|
604
604
|
*/
|
|
@@ -618,7 +618,7 @@ class Dn extends Ke {
|
|
|
618
618
|
/**
|
|
619
619
|
* 自定义清除图标
|
|
620
620
|
*/
|
|
621
|
-
e(this, "clearIcon", new
|
|
621
|
+
e(this, "clearIcon", new s(u.icon, "CircleClose"));
|
|
622
622
|
/**
|
|
623
623
|
* 下拉菜单显示/消失时后缀图标的动画
|
|
624
624
|
*/
|
|
@@ -626,7 +626,7 @@ class Dn extends Ke {
|
|
|
626
626
|
/**
|
|
627
627
|
* 自定义后缀图标组件
|
|
628
628
|
*/
|
|
629
|
-
e(this, "suffixIcon", new
|
|
629
|
+
e(this, "suffixIcon", new s(u.icon, "ArrowDown"));
|
|
630
630
|
/**
|
|
631
631
|
* 标签类型
|
|
632
632
|
*/
|
|
@@ -666,7 +666,7 @@ class Dn extends Ke {
|
|
|
666
666
|
/**
|
|
667
667
|
* 自定义属性:分组+多选时,是否只允许同组选择
|
|
668
668
|
*/
|
|
669
|
-
e(this, "selectOnlyOneGroup", new
|
|
669
|
+
e(this, "selectOnlyOneGroup", new s(u.placer, !1));
|
|
670
670
|
/**
|
|
671
671
|
* 是否支持过滤
|
|
672
672
|
*/
|
|
@@ -698,11 +698,11 @@ class Dn extends Ke {
|
|
|
698
698
|
/**
|
|
699
699
|
* 自定义筛选方法
|
|
700
700
|
*/
|
|
701
|
-
e(this, "filterMethod", new
|
|
701
|
+
e(this, "filterMethod", new s(u.hook, void 0, new k()));
|
|
702
702
|
/**
|
|
703
703
|
* 远程搜索时调用的事件
|
|
704
704
|
*/
|
|
705
|
-
e(this, "remoteMethod", new
|
|
705
|
+
e(this, "remoteMethod", new s(u.hook, void 0, new k()));
|
|
706
706
|
/**
|
|
707
707
|
* 选择器下拉菜单的自定义类名
|
|
708
708
|
*/
|
|
@@ -714,55 +714,55 @@ class Dn extends Ke {
|
|
|
714
714
|
/**
|
|
715
715
|
* 是否开启插槽组件模式
|
|
716
716
|
*/
|
|
717
|
-
e(this, "slotable", new
|
|
717
|
+
e(this, "slotable", new s(u.placer, !1));
|
|
718
718
|
/**
|
|
719
719
|
* 下拉框出现/隐藏时触发
|
|
720
720
|
*/
|
|
721
|
-
e(this, "visibleChange", new
|
|
721
|
+
e(this, "visibleChange", new s(u.event, void 0, new k()));
|
|
722
722
|
/**
|
|
723
723
|
* 多选模式下移除tag时触发
|
|
724
724
|
*/
|
|
725
|
-
e(this, "removeTag", new
|
|
725
|
+
e(this, "removeTag", new s(u.event, void 0, new k()));
|
|
726
726
|
/**
|
|
727
727
|
* 可清空的单选模式下用户点击清空按钮时触发
|
|
728
728
|
*/
|
|
729
|
-
e(this, "clear", new
|
|
729
|
+
e(this, "clear", new s(u.event, void 0, new k()));
|
|
730
730
|
/**
|
|
731
731
|
* 选项插槽
|
|
732
732
|
*/
|
|
733
|
-
e(this, "optionDefault", new
|
|
733
|
+
e(this, "optionDefault", new s(u.slot, null, new ee()));
|
|
734
734
|
/**
|
|
735
735
|
* 头部插槽
|
|
736
736
|
*/
|
|
737
|
-
e(this, "prefix", new
|
|
737
|
+
e(this, "prefix", new s(u.slot, null, new ee()));
|
|
738
738
|
/**
|
|
739
739
|
* 下属选项
|
|
740
740
|
*/
|
|
741
|
-
e(this, "optionItems", new
|
|
741
|
+
e(this, "optionItems", new s(u.singleOption, [], new ce({ type: oe.array, enable: !0 })));
|
|
742
742
|
/**
|
|
743
743
|
* 关联选项设置
|
|
744
744
|
*/
|
|
745
|
-
e(this, "relate", new
|
|
745
|
+
e(this, "relate", new s(u.placer, void 0));
|
|
746
746
|
/**
|
|
747
747
|
* value键名
|
|
748
748
|
*/
|
|
749
|
-
e(this, "valueKey", new
|
|
749
|
+
e(this, "valueKey", new s(u.placer, "value"));
|
|
750
750
|
/**
|
|
751
751
|
* label键名
|
|
752
752
|
*/
|
|
753
|
-
e(this, "labelKey", new
|
|
753
|
+
e(this, "labelKey", new s(u.placer, "label"));
|
|
754
754
|
/**
|
|
755
755
|
* 选项文本属性名-值变化时同时新增对应属性
|
|
756
756
|
*/
|
|
757
|
-
e(this, "textName", new
|
|
757
|
+
e(this, "textName", new s(u.placer, ""));
|
|
758
758
|
/**
|
|
759
759
|
* 选项列表属性名-值变化时同时新增对应属性
|
|
760
760
|
*/
|
|
761
|
-
e(this, "optionName", new
|
|
761
|
+
e(this, "optionName", new s(u.placer, ""));
|
|
762
762
|
/**
|
|
763
763
|
* 选项路径文本-值变化时同时新增对应属性
|
|
764
764
|
*/
|
|
765
|
-
e(this, "labelName", new
|
|
765
|
+
e(this, "labelName", new s(u.placer, ""));
|
|
766
766
|
}
|
|
767
767
|
}
|
|
768
768
|
class qn extends Ke {
|
|
@@ -775,11 +775,11 @@ class qn extends Ke {
|
|
|
775
775
|
/**
|
|
776
776
|
* 自定义前缀图标
|
|
777
777
|
*/
|
|
778
|
-
e(this, "prefixIcon", new
|
|
778
|
+
e(this, "prefixIcon", new s(u.icon, "Clock"));
|
|
779
779
|
/**
|
|
780
780
|
* 自定义清除图标
|
|
781
781
|
*/
|
|
782
|
-
e(this, "clearIcon", new
|
|
782
|
+
e(this, "clearIcon", new s(u.icon, "CircleClose"));
|
|
783
783
|
/**
|
|
784
784
|
* 是否可清除
|
|
785
785
|
*/
|
|
@@ -813,19 +813,19 @@ class qn extends Ke {
|
|
|
813
813
|
/**
|
|
814
814
|
* 禁止选择部分小时选项
|
|
815
815
|
*/
|
|
816
|
-
e(this, "disabledHours", new
|
|
816
|
+
e(this, "disabledHours", new s(u.hook, void 0, new k()));
|
|
817
817
|
/**
|
|
818
818
|
* 禁止选择部分分钟选项
|
|
819
819
|
*/
|
|
820
|
-
e(this, "disabledMinutes", new
|
|
820
|
+
e(this, "disabledMinutes", new s(u.hook, void 0, new k()));
|
|
821
821
|
/**
|
|
822
822
|
* 禁止选择部分秒选项
|
|
823
823
|
*/
|
|
824
|
-
e(this, "disabledSeconds", new
|
|
824
|
+
e(this, "disabledSeconds", new s(u.hook, void 0, new k()));
|
|
825
825
|
/**
|
|
826
826
|
* 下拉框出现/隐藏时触发
|
|
827
827
|
*/
|
|
828
|
-
e(this, "visibleChange", new
|
|
828
|
+
e(this, "visibleChange", new s(u.event, void 0, new k()));
|
|
829
829
|
}
|
|
830
830
|
}
|
|
831
831
|
class pa extends qn {
|
|
@@ -888,23 +888,23 @@ class Xn extends Ke {
|
|
|
888
888
|
/**
|
|
889
889
|
* 自定义前缀图标
|
|
890
890
|
*/
|
|
891
|
-
e(this, "prefixIcon", new
|
|
891
|
+
e(this, "prefixIcon", new s(u.icon));
|
|
892
892
|
/**
|
|
893
893
|
* 自定义清除图标
|
|
894
894
|
*/
|
|
895
|
-
e(this, "clearIcon", new
|
|
895
|
+
e(this, "clearIcon", new s(u.icon));
|
|
896
896
|
/**
|
|
897
897
|
* 一个用来判断该日期是否被禁用的函数,接受一个 Date 对象作为参数。 应该返回一个 Boolean 值。
|
|
898
898
|
*/
|
|
899
|
-
e(this, "disabledDate", new
|
|
899
|
+
e(this, "disabledDate", new s(u.hook, void 0, new k()));
|
|
900
900
|
/**
|
|
901
901
|
* 设置快捷选项,需要传入数组对象
|
|
902
902
|
*/
|
|
903
|
-
e(this, "shortcuts", new
|
|
903
|
+
e(this, "shortcuts", new s(u.hook));
|
|
904
904
|
/**
|
|
905
905
|
* 设置自定义类名
|
|
906
906
|
*/
|
|
907
|
-
e(this, "cellClassName", new
|
|
907
|
+
e(this, "cellClassName", new s(u.hook, void 0, new k()));
|
|
908
908
|
//#region 共享下拉框属性
|
|
909
909
|
/**
|
|
910
910
|
* 是否将 date-picker 的下拉列表插入至 body 元素
|
|
@@ -922,19 +922,19 @@ class Xn extends Ke {
|
|
|
922
922
|
/**
|
|
923
923
|
* 默认插槽
|
|
924
924
|
*/
|
|
925
|
-
e(this, "default", new
|
|
925
|
+
e(this, "default", new s(u.slot, null, new ee()));
|
|
926
926
|
/**
|
|
927
927
|
* 下拉框出现/隐藏时触发
|
|
928
928
|
*/
|
|
929
|
-
e(this, "visibleChange", new
|
|
929
|
+
e(this, "visibleChange", new s(u.event, void 0, new k()));
|
|
930
930
|
/**
|
|
931
931
|
* 当日期面板改变时触发
|
|
932
932
|
*/
|
|
933
|
-
e(this, "panelChange", new
|
|
933
|
+
e(this, "panelChange", new s(u.event, void 0, new k()));
|
|
934
934
|
/**
|
|
935
935
|
* 当日历面板选择日期时触发
|
|
936
936
|
*/
|
|
937
|
-
e(this, "calendarChange", new
|
|
937
|
+
e(this, "calendarChange", new s(u.event, void 0, new k()));
|
|
938
938
|
}
|
|
939
939
|
}
|
|
940
940
|
class ha extends Xn {
|
|
@@ -980,7 +980,7 @@ class ya extends Xn {
|
|
|
980
980
|
/**
|
|
981
981
|
* 选择范围时的分隔符
|
|
982
982
|
*/
|
|
983
|
-
e(this, "rangeSeparator", new
|
|
983
|
+
e(this, "rangeSeparator", new s(u.slot, null, new ee()));
|
|
984
984
|
}
|
|
985
985
|
}
|
|
986
986
|
class ma extends Ke {
|
|
@@ -997,11 +997,11 @@ class ma extends Ke {
|
|
|
997
997
|
/**
|
|
998
998
|
* 自定义前缀图标
|
|
999
999
|
*/
|
|
1000
|
-
e(this, "prefixIcon", new
|
|
1000
|
+
e(this, "prefixIcon", new s(u.icon, "Clock"));
|
|
1001
1001
|
/**
|
|
1002
1002
|
* 自定义清除图标
|
|
1003
1003
|
*/
|
|
1004
|
-
e(this, "clearIcon", new
|
|
1004
|
+
e(this, "clearIcon", new s(u.icon, "CircleClose"));
|
|
1005
1005
|
/**
|
|
1006
1006
|
* 开始时间
|
|
1007
1007
|
*/
|
|
@@ -1029,15 +1029,15 @@ class ma extends Ke {
|
|
|
1029
1029
|
/**
|
|
1030
1030
|
* 组件的空值配置
|
|
1031
1031
|
*/
|
|
1032
|
-
e(this, "emptyValues", new
|
|
1032
|
+
e(this, "emptyValues", new s(u.dataObject, null, new ce({ type: oe.array, enable: !0 })));
|
|
1033
1033
|
/**
|
|
1034
1034
|
* 清空选项的值
|
|
1035
1035
|
*/
|
|
1036
|
-
e(this, "valueOnClear", new
|
|
1036
|
+
e(this, "valueOnClear", new s(u.hook, void 0, new k()));
|
|
1037
1037
|
/**
|
|
1038
1038
|
* 清空事件
|
|
1039
1039
|
*/
|
|
1040
|
-
e(this, "clear", new
|
|
1040
|
+
e(this, "clear", new s(u.event, void 0, new k()));
|
|
1041
1041
|
}
|
|
1042
1042
|
}
|
|
1043
1043
|
class va extends Ke {
|
|
@@ -1054,19 +1054,19 @@ class va extends Ke {
|
|
|
1054
1054
|
/**
|
|
1055
1055
|
* on时所显示图标
|
|
1056
1056
|
*/
|
|
1057
|
-
e(this, "activeIcon", new
|
|
1057
|
+
e(this, "activeIcon", new s(u.icon));
|
|
1058
1058
|
/**
|
|
1059
1059
|
* off时所显示图标
|
|
1060
1060
|
*/
|
|
1061
|
-
e(this, "inactiveIcon", new
|
|
1061
|
+
e(this, "inactiveIcon", new s(u.icon));
|
|
1062
1062
|
/**
|
|
1063
1063
|
* on状态下显示的图标组件
|
|
1064
1064
|
*/
|
|
1065
|
-
e(this, "activeActionIcon", new
|
|
1065
|
+
e(this, "activeActionIcon", new s(u.icon));
|
|
1066
1066
|
/**
|
|
1067
1067
|
* off状态下显示的图标组件
|
|
1068
1068
|
*/
|
|
1069
|
-
e(this, "inactiveActionIcon", new
|
|
1069
|
+
e(this, "inactiveActionIcon", new s(u.icon));
|
|
1070
1070
|
/**
|
|
1071
1071
|
* 打开时文字描述
|
|
1072
1072
|
*/
|
|
@@ -1093,7 +1093,7 @@ class va extends Ke {
|
|
|
1093
1093
|
/**
|
|
1094
1094
|
* 值类型
|
|
1095
1095
|
*/
|
|
1096
|
-
e(this, "valueType", new
|
|
1096
|
+
e(this, "valueType", new s(u.placer, oe.boolean));
|
|
1097
1097
|
/**
|
|
1098
1098
|
* on时的值
|
|
1099
1099
|
*/
|
|
@@ -1105,7 +1105,7 @@ class va extends Ke {
|
|
|
1105
1105
|
/**
|
|
1106
1106
|
* 状态改变前的钩子
|
|
1107
1107
|
*/
|
|
1108
|
-
e(this, "beforeChange", new
|
|
1108
|
+
e(this, "beforeChange", new s(u.hook, void 0, new k()));
|
|
1109
1109
|
}
|
|
1110
1110
|
}
|
|
1111
1111
|
class wa extends St {
|
|
@@ -1171,15 +1171,15 @@ class ga extends Yi {
|
|
|
1171
1171
|
/**
|
|
1172
1172
|
* 进度条完成状态背景色 (会覆盖 status 状态颜色)
|
|
1173
1173
|
*/
|
|
1174
|
-
e(this, "color", new
|
|
1174
|
+
e(this, "color", new s(u.hook, void 0, new k()));
|
|
1175
1175
|
/**
|
|
1176
1176
|
* 进度条基础背景色
|
|
1177
1177
|
*/
|
|
1178
|
-
e(this, "trackColor", new
|
|
1178
|
+
e(this, "trackColor", new s(u.hook, void 0, new k()));
|
|
1179
1179
|
/**
|
|
1180
1180
|
* 指定进度条文字内容
|
|
1181
1181
|
*/
|
|
1182
|
-
e(this, "format", new
|
|
1182
|
+
e(this, "format", new s(u.hook, void 0, new k()));
|
|
1183
1183
|
/**
|
|
1184
1184
|
* 进度条显示文字内置在进度条内(仅 type 为 'line' 时可用)
|
|
1185
1185
|
*/
|
|
@@ -1203,15 +1203,15 @@ class ga extends Yi {
|
|
|
1203
1203
|
/**
|
|
1204
1204
|
* 进度条方向
|
|
1205
1205
|
*/
|
|
1206
|
-
e(this, "direction", new
|
|
1206
|
+
e(this, "direction", new s(u.placer, Ye.horizontal));
|
|
1207
1207
|
/**
|
|
1208
1208
|
* 进度100到执行进度完成方法的时间间隔(秒)
|
|
1209
1209
|
*/
|
|
1210
|
-
e(this, "completeSec", new
|
|
1210
|
+
e(this, "completeSec", new s(u.placer, 0));
|
|
1211
1211
|
/**
|
|
1212
1212
|
* 进度完成后的方法
|
|
1213
1213
|
*/
|
|
1214
|
-
e(this, "completed", new
|
|
1214
|
+
e(this, "completed", new s(u.placerHook, void 0, new k()));
|
|
1215
1215
|
}
|
|
1216
1216
|
}
|
|
1217
1217
|
class ba extends St {
|
|
@@ -1232,7 +1232,7 @@ class ba extends St {
|
|
|
1232
1232
|
/**
|
|
1233
1233
|
* 预定义颜色
|
|
1234
1234
|
*/
|
|
1235
|
-
e(this, "predefine", new
|
|
1235
|
+
e(this, "predefine", new s(u.dataObject, [], new ce({ type: oe.array, enable: !0 })));
|
|
1236
1236
|
}
|
|
1237
1237
|
}
|
|
1238
1238
|
class Ea extends Ke {
|
|
@@ -1273,7 +1273,7 @@ class Ea extends Ke {
|
|
|
1273
1273
|
/**
|
|
1274
1274
|
* 标记, key 的类型必须为 number 且取值在闭区间 [min, max] 内,每个标记可以单独设置样式
|
|
1275
1275
|
*/
|
|
1276
|
-
e(this, "marks", new
|
|
1276
|
+
e(this, "marks", new s(u.dataObject, {}, new ce({ type: oe.object, enable: !0 })));
|
|
1277
1277
|
/**
|
|
1278
1278
|
* 显示输入框
|
|
1279
1279
|
*/
|
|
@@ -1309,7 +1309,7 @@ class Ea extends Ke {
|
|
|
1309
1309
|
/**
|
|
1310
1310
|
* 格式化提示信息
|
|
1311
1311
|
*/
|
|
1312
|
-
e(this, "formatTooltip", new
|
|
1312
|
+
e(this, "formatTooltip", new s(u.hook, void 0, new k()));
|
|
1313
1313
|
/**
|
|
1314
1314
|
* 格式化提示信息
|
|
1315
1315
|
* 用在屏幕阅读器模式,暂时没用
|
|
@@ -1331,7 +1331,7 @@ class Jn extends St {
|
|
|
1331
1331
|
/**
|
|
1332
1332
|
* 文件类型
|
|
1333
1333
|
*/
|
|
1334
|
-
e(this, "fileTypes", new
|
|
1334
|
+
e(this, "fileTypes", new s(u.placer, [], new ce({ type: oe.array, enable: !0 })));
|
|
1335
1335
|
/**
|
|
1336
1336
|
* 文件上传最大个数
|
|
1337
1337
|
*/
|
|
@@ -1339,7 +1339,7 @@ class Jn extends St {
|
|
|
1339
1339
|
/**
|
|
1340
1340
|
* 文件最大限制,以MB为单位
|
|
1341
1341
|
*/
|
|
1342
|
-
e(this, "fileMaxSize", new
|
|
1342
|
+
e(this, "fileMaxSize", new s(u.placer, 5));
|
|
1343
1343
|
/**
|
|
1344
1344
|
* 是否允许多选
|
|
1345
1345
|
*/
|
|
@@ -1359,11 +1359,11 @@ class Jn extends St {
|
|
|
1359
1359
|
/**
|
|
1360
1360
|
* 上传提示
|
|
1361
1361
|
*/
|
|
1362
|
-
e(this, "uploadTip", new
|
|
1362
|
+
e(this, "uploadTip", new s(u.placer, ""));
|
|
1363
1363
|
/**
|
|
1364
1364
|
* 上传时附带的额外参数
|
|
1365
1365
|
*/
|
|
1366
|
-
e(this, "dataFn", new
|
|
1366
|
+
e(this, "dataFn", new s(u.hook, ""));
|
|
1367
1367
|
/**
|
|
1368
1368
|
* 是否发送cookie凭证
|
|
1369
1369
|
*/
|
|
@@ -1371,31 +1371,31 @@ class Jn extends St {
|
|
|
1371
1371
|
/**
|
|
1372
1372
|
* 上传前调用事件
|
|
1373
1373
|
*/
|
|
1374
|
-
e(this, "beforeUpload", new
|
|
1374
|
+
e(this, "beforeUpload", new s(u.event, void 0, new k()));
|
|
1375
1375
|
/**
|
|
1376
1376
|
* 上传成功时调用事件
|
|
1377
1377
|
*/
|
|
1378
|
-
e(this, "uploadSuccess", new
|
|
1378
|
+
e(this, "uploadSuccess", new s(u.event, void 0, new k()));
|
|
1379
1379
|
/**
|
|
1380
1380
|
* 上传失败时调用事件
|
|
1381
1381
|
*/
|
|
1382
|
-
e(this, "uploadError", new
|
|
1382
|
+
e(this, "uploadError", new s(u.event, void 0, new k()));
|
|
1383
1383
|
/**
|
|
1384
1384
|
* 文件移除时调用事件
|
|
1385
1385
|
*/
|
|
1386
|
-
e(this, "fileRemove", new
|
|
1386
|
+
e(this, "fileRemove", new s(u.event, void 0, new k()));
|
|
1387
1387
|
}
|
|
1388
1388
|
}
|
|
1389
1389
|
class Ca {
|
|
1390
1390
|
constructor() {
|
|
1391
1391
|
let r = new Jn();
|
|
1392
|
-
return
|
|
1392
|
+
return s.setValue(r, "fileTypes", jn(Vi)), r;
|
|
1393
1393
|
}
|
|
1394
1394
|
}
|
|
1395
1395
|
class xa {
|
|
1396
1396
|
constructor() {
|
|
1397
1397
|
let r = new Jn();
|
|
1398
|
-
return
|
|
1398
|
+
return s.setValue(r, "fileTypes", jn(qi)), r;
|
|
1399
1399
|
}
|
|
1400
1400
|
}
|
|
1401
1401
|
class Aa extends Ke {
|
|
@@ -1422,7 +1422,7 @@ class Fa extends Ke {
|
|
|
1422
1422
|
/**
|
|
1423
1423
|
* 可选择任意一级选项,默认不开启
|
|
1424
1424
|
*/
|
|
1425
|
-
e(this, "checkStrictly", new
|
|
1425
|
+
e(this, "checkStrictly", new s(u.placer, !1));
|
|
1426
1426
|
/**
|
|
1427
1427
|
* 显示完整路径
|
|
1428
1428
|
*/
|
|
@@ -1430,7 +1430,7 @@ class Fa extends Ke {
|
|
|
1430
1430
|
/**
|
|
1431
1431
|
* 在选中节点改变时,是否返回由该节点所在的各级菜单的值所组成的数组,若设置 false,则只返回该节点的值
|
|
1432
1432
|
*/
|
|
1433
|
-
e(this, "emitPath", new
|
|
1433
|
+
e(this, "emitPath", new s(u.placer, !0));
|
|
1434
1434
|
/**
|
|
1435
1435
|
* 用于分隔选项的字符
|
|
1436
1436
|
*/
|
|
@@ -1442,11 +1442,11 @@ class Fa extends Ke {
|
|
|
1442
1442
|
/**
|
|
1443
1443
|
* hover 时展开菜单的灵敏度阈值
|
|
1444
1444
|
*/
|
|
1445
|
-
e(this, "hoverThreshold", new
|
|
1445
|
+
e(this, "hoverThreshold", new s(u.placer, 500));
|
|
1446
1446
|
/**
|
|
1447
1447
|
* 次级菜单的展开方式
|
|
1448
1448
|
*/
|
|
1449
|
-
e(this, "expandTrigger", new
|
|
1449
|
+
e(this, "expandTrigger", new s(u.placer, qt.click));
|
|
1450
1450
|
/**
|
|
1451
1451
|
* 标签类型
|
|
1452
1452
|
*/
|
|
@@ -1458,11 +1458,11 @@ class Fa extends Ke {
|
|
|
1458
1458
|
/**
|
|
1459
1459
|
* 是否动态加载子节点
|
|
1460
1460
|
*/
|
|
1461
|
-
e(this, "lazy", new
|
|
1461
|
+
e(this, "lazy", new s(u.placer, !1));
|
|
1462
1462
|
/**
|
|
1463
1463
|
* 加载动态数据的方法
|
|
1464
1464
|
*/
|
|
1465
|
-
e(this, "lazyLoad", new
|
|
1465
|
+
e(this, "lazyLoad", new s(u.placerHook, void 0, new k()));
|
|
1466
1466
|
/**
|
|
1467
1467
|
* 是否允许筛选
|
|
1468
1468
|
*/
|
|
@@ -1470,15 +1470,15 @@ class Fa extends Ke {
|
|
|
1470
1470
|
/**
|
|
1471
1471
|
* 自定义搜索逻辑,第一个参数是node,第二个参数是keyword,返回的布尔值表示是否保留该选项
|
|
1472
1472
|
*/
|
|
1473
|
-
e(this, "filterMethod", new
|
|
1473
|
+
e(this, "filterMethod", new s(u.hook, void 0, new k()));
|
|
1474
1474
|
/**
|
|
1475
1475
|
* 过滤函数调用前,所要调用的钩子函数
|
|
1476
1476
|
*/
|
|
1477
|
-
e(this, "beforeFilter", new
|
|
1477
|
+
e(this, "beforeFilter", new s(u.hook, void 0, new k()));
|
|
1478
1478
|
/**
|
|
1479
1479
|
* 是否允许多选
|
|
1480
1480
|
*/
|
|
1481
|
-
e(this, "multiple", new
|
|
1481
|
+
e(this, "multiple", new s(u.placer, !1));
|
|
1482
1482
|
/**
|
|
1483
1483
|
* 多选模式下是否折叠Tag
|
|
1484
1484
|
*/
|
|
@@ -1494,11 +1494,11 @@ class Fa extends Ke {
|
|
|
1494
1494
|
/**
|
|
1495
1495
|
* 组件的空值配置
|
|
1496
1496
|
*/
|
|
1497
|
-
e(this, "emptyValues", new
|
|
1497
|
+
e(this, "emptyValues", new s(u.dataObject, null, new ce({ type: oe.array, enable: !0 })));
|
|
1498
1498
|
/**
|
|
1499
1499
|
* 清空选项的值
|
|
1500
1500
|
*/
|
|
1501
|
-
e(this, "valueOnClear", new
|
|
1501
|
+
e(this, "valueOnClear", new s(u.hook, void 0, new k()));
|
|
1502
1502
|
//#region 共享下拉框属性
|
|
1503
1503
|
/**
|
|
1504
1504
|
* 弹出内容的自定义类名
|
|
@@ -1526,68 +1526,68 @@ class Fa extends Ke {
|
|
|
1526
1526
|
/**
|
|
1527
1527
|
* 指定选项的值为选项对象的某个属性值
|
|
1528
1528
|
*/
|
|
1529
|
-
e(this, "valueProp", new
|
|
1529
|
+
e(this, "valueProp", new s(u.placer, "value"));
|
|
1530
1530
|
/**
|
|
1531
1531
|
* 指定选项标签为选项对象的某个属性值
|
|
1532
1532
|
*/
|
|
1533
|
-
e(this, "labelProp", new
|
|
1533
|
+
e(this, "labelProp", new s(u.placer, "label"));
|
|
1534
1534
|
/**
|
|
1535
1535
|
* 指定选项的子选项为选项对象的某个属性值
|
|
1536
1536
|
*/
|
|
1537
|
-
e(this, "childrenProp", new
|
|
1537
|
+
e(this, "childrenProp", new s(u.placer, "children"));
|
|
1538
1538
|
/**
|
|
1539
1539
|
* 指定选项的禁用为选项对象的某个属性值
|
|
1540
1540
|
*/
|
|
1541
|
-
e(this, "disabledProp", new
|
|
1541
|
+
e(this, "disabledProp", new s(u.placer, "disabled"));
|
|
1542
1542
|
/**
|
|
1543
1543
|
* 指定选项的叶子节点的标志位为选项对象的某个属性值
|
|
1544
1544
|
*/
|
|
1545
|
-
e(this, "leafProp", new
|
|
1545
|
+
e(this, "leafProp", new s(u.placer, "leaf"));
|
|
1546
1546
|
//#endregion
|
|
1547
1547
|
/**
|
|
1548
1548
|
* 选项文本属性名-值变化时同时新增对应属性
|
|
1549
1549
|
*/
|
|
1550
|
-
e(this, "textName", new
|
|
1550
|
+
e(this, "textName", new s(u.placer, ""));
|
|
1551
1551
|
/**
|
|
1552
1552
|
* 选项列表属性名-值变化时同时新增对应属性
|
|
1553
1553
|
*/
|
|
1554
|
-
e(this, "optionName", new
|
|
1554
|
+
e(this, "optionName", new s(u.placer, ""));
|
|
1555
1555
|
/**
|
|
1556
1556
|
* 选项路径文本-值变化时同时新增对应属性
|
|
1557
1557
|
*/
|
|
1558
|
-
e(this, "labelName", new
|
|
1558
|
+
e(this, "labelName", new s(u.placer, ""));
|
|
1559
1559
|
/**
|
|
1560
1560
|
* 下拉框出现/隐藏时触发
|
|
1561
1561
|
*/
|
|
1562
|
-
e(this, "visibleChange", new
|
|
1562
|
+
e(this, "visibleChange", new s(u.event, void 0, new k()));
|
|
1563
1563
|
/**
|
|
1564
1564
|
* 多选模式下移除tag时触发
|
|
1565
1565
|
*/
|
|
1566
|
-
e(this, "removeTag", new
|
|
1566
|
+
e(this, "removeTag", new s(u.event, void 0, new k()));
|
|
1567
1567
|
/**
|
|
1568
1568
|
* 当展开节点发生变化时触发
|
|
1569
1569
|
*/
|
|
1570
|
-
e(this, "expandChange", new
|
|
1570
|
+
e(this, "expandChange", new s(u.event, void 0, new k()));
|
|
1571
1571
|
/**
|
|
1572
1572
|
* 可清空的单选模式下用户点击清空按钮时触发
|
|
1573
1573
|
*/
|
|
1574
|
-
e(this, "clear", new
|
|
1574
|
+
e(this, "clear", new s(u.event, void 0, new k()));
|
|
1575
1575
|
/**
|
|
1576
1576
|
* 空选项插槽
|
|
1577
1577
|
*/
|
|
1578
|
-
e(this, "empty", new
|
|
1578
|
+
e(this, "empty", new s(u.slot, null, new ee()));
|
|
1579
1579
|
/**
|
|
1580
1580
|
* 选项插槽
|
|
1581
1581
|
*/
|
|
1582
|
-
e(this, "optionDefault", new
|
|
1582
|
+
e(this, "optionDefault", new s(u.slot, null, new ee()));
|
|
1583
1583
|
/**
|
|
1584
1584
|
* 选项列表
|
|
1585
1585
|
*/
|
|
1586
|
-
e(this, "optionItems", new
|
|
1586
|
+
e(this, "optionItems", new s(u.singleOption, [], new ce({ type: oe.array, enable: !0 })));
|
|
1587
1587
|
/**
|
|
1588
1588
|
* 关联选项设置
|
|
1589
1589
|
*/
|
|
1590
|
-
e(this, "relate", new
|
|
1590
|
+
e(this, "relate", new s(u.placer, void 0));
|
|
1591
1591
|
}
|
|
1592
1592
|
}
|
|
1593
1593
|
class Qn extends Te {
|
|
@@ -1656,85 +1656,85 @@ class Qn extends Te {
|
|
|
1656
1656
|
/**
|
|
1657
1657
|
* 加载子树数据的方法,仅当 lazy 属性为true 时生效
|
|
1658
1658
|
*/
|
|
1659
|
-
e(this, "load", new
|
|
1659
|
+
e(this, "load", new s(u.hook, void 0, new k()));
|
|
1660
1660
|
// function(node, resolve, reject)
|
|
1661
1661
|
/**
|
|
1662
1662
|
* 对树节点进行筛选时执行的方法
|
|
1663
1663
|
*/
|
|
1664
|
-
e(this, "filterNodeMethod", new
|
|
1664
|
+
e(this, "filterNodeMethod", new s(u.hook, void 0, new k()));
|
|
1665
1665
|
// Function(value, data, node)
|
|
1666
1666
|
/**
|
|
1667
1667
|
* 树节点的内容区的渲染
|
|
1668
1668
|
*/
|
|
1669
|
-
e(this, "renderContent", new
|
|
1669
|
+
e(this, "renderContent", new s(u.hook, void 0, new k()));
|
|
1670
1670
|
/**
|
|
1671
1671
|
* 判断节点能否被拖拽
|
|
1672
1672
|
*/
|
|
1673
|
-
e(this, "allowDrag", new
|
|
1673
|
+
e(this, "allowDrag", new s(u.hook, void 0, new k()));
|
|
1674
1674
|
/**
|
|
1675
1675
|
* 拖拽时判定目标节点能否成为拖动目标位置
|
|
1676
1676
|
*/
|
|
1677
|
-
e(this, "allowDrop", new
|
|
1677
|
+
e(this, "allowDrop", new s(u.hook, void 0, new k()));
|
|
1678
1678
|
/**
|
|
1679
1679
|
* 空选项插槽
|
|
1680
1680
|
*/
|
|
1681
|
-
e(this, "empty", new
|
|
1681
|
+
e(this, "empty", new s(u.slot, null, new ee()));
|
|
1682
1682
|
/**
|
|
1683
1683
|
* 选项插槽
|
|
1684
1684
|
*/
|
|
1685
|
-
e(this, "optionDefault", new
|
|
1685
|
+
e(this, "optionDefault", new s(u.slot, null, new ee()));
|
|
1686
1686
|
/**
|
|
1687
1687
|
* 当节点被点击的时候触发
|
|
1688
1688
|
*/
|
|
1689
|
-
e(this, "nodeClick", new
|
|
1689
|
+
e(this, "nodeClick", new s(u.event, void 0, new k()));
|
|
1690
1690
|
/**
|
|
1691
1691
|
* 当某一节点被鼠标右键点击时会触发该事件
|
|
1692
1692
|
*/
|
|
1693
|
-
e(this, "nodeContextmenu", new
|
|
1693
|
+
e(this, "nodeContextmenu", new s(u.event, void 0, new k()));
|
|
1694
1694
|
/**
|
|
1695
1695
|
* 当复选框被点击的时候触发
|
|
1696
1696
|
*/
|
|
1697
|
-
e(this, "checkChange", new
|
|
1697
|
+
e(this, "checkChange", new s(u.event, void 0, new k()));
|
|
1698
1698
|
/**
|
|
1699
1699
|
* 点击节点复选框之后触发
|
|
1700
1700
|
* */
|
|
1701
|
-
e(this, "check", new
|
|
1701
|
+
e(this, "check", new s(u.event, void 0, new k()));
|
|
1702
1702
|
/**
|
|
1703
1703
|
* 当前选中节点变化时触发的事件
|
|
1704
1704
|
*/
|
|
1705
|
-
e(this, "currentChange", new
|
|
1705
|
+
e(this, "currentChange", new s(u.event, void 0, new k()));
|
|
1706
1706
|
/**
|
|
1707
1707
|
* 节点被展开时触发的事件
|
|
1708
1708
|
*/
|
|
1709
|
-
e(this, "nodeExpand", new
|
|
1709
|
+
e(this, "nodeExpand", new s(u.event, void 0, new k()));
|
|
1710
1710
|
/**
|
|
1711
1711
|
* 节点被关闭时触发的事件
|
|
1712
1712
|
*/
|
|
1713
|
-
e(this, "nodeCollapse", new
|
|
1713
|
+
e(this, "nodeCollapse", new s(u.event, void 0, new k()));
|
|
1714
1714
|
/**
|
|
1715
1715
|
* 节点开始拖拽时触发的事件
|
|
1716
1716
|
*/
|
|
1717
|
-
e(this, "nodeDragStart", new
|
|
1717
|
+
e(this, "nodeDragStart", new s(u.event, void 0, new k()));
|
|
1718
1718
|
/**
|
|
1719
1719
|
* 拖拽进入其他节点时触发的事件
|
|
1720
1720
|
*/
|
|
1721
|
-
e(this, "nodeDragEnter", new
|
|
1721
|
+
e(this, "nodeDragEnter", new s(u.event, void 0, new k()));
|
|
1722
1722
|
/**
|
|
1723
1723
|
* 拖拽离开某个节点时触发的事件
|
|
1724
1724
|
*/
|
|
1725
|
-
e(this, "nodeDragLeave", new
|
|
1725
|
+
e(this, "nodeDragLeave", new s(u.event, void 0, new k()));
|
|
1726
1726
|
/**
|
|
1727
1727
|
* 在拖拽节点时触发的事件
|
|
1728
1728
|
*/
|
|
1729
|
-
e(this, "nodeDragOver", new
|
|
1729
|
+
e(this, "nodeDragOver", new s(u.event, void 0, new k()));
|
|
1730
1730
|
/**
|
|
1731
1731
|
* 拖拽结束时(可能未成功)触发的事件
|
|
1732
1732
|
*/
|
|
1733
|
-
e(this, "nodeDragEnd", new
|
|
1733
|
+
e(this, "nodeDragEnd", new s(u.event, void 0, new k()));
|
|
1734
1734
|
/**
|
|
1735
1735
|
* 拖拽成功完成时触发的事件
|
|
1736
1736
|
*/
|
|
1737
|
-
e(this, "nodeDrop", new
|
|
1737
|
+
e(this, "nodeDrop", new s(u.event, void 0, new k()));
|
|
1738
1738
|
/**
|
|
1739
1739
|
* 相邻级节点间的水平缩进,单位为像素
|
|
1740
1740
|
*/
|
|
@@ -1742,7 +1742,7 @@ class Qn extends Te {
|
|
|
1742
1742
|
/**
|
|
1743
1743
|
* 自定义树节点图标组件
|
|
1744
1744
|
*/
|
|
1745
|
-
e(this, "icon", new
|
|
1745
|
+
e(this, "icon", new s(u.icon, ""));
|
|
1746
1746
|
/**
|
|
1747
1747
|
* 内容为空的时候展示的文本
|
|
1748
1748
|
*/
|
|
@@ -1751,23 +1751,23 @@ class Qn extends Te {
|
|
|
1751
1751
|
/**
|
|
1752
1752
|
* 指定节点标签为节点对象的某个属性值
|
|
1753
1753
|
*/
|
|
1754
|
-
e(this, "labelProp", new
|
|
1754
|
+
e(this, "labelProp", new s(u.placerHook, void 0, new k()));
|
|
1755
1755
|
/**
|
|
1756
1756
|
* 指定子树为节点对象的某个属性值
|
|
1757
1757
|
*/
|
|
1758
|
-
e(this, "childrenProp", new
|
|
1758
|
+
e(this, "childrenProp", new s(u.placerHook, void 0, new k()));
|
|
1759
1759
|
/**
|
|
1760
1760
|
* 指定节点选择框是否禁用为节点对象的某个属性值
|
|
1761
1761
|
*/
|
|
1762
|
-
e(this, "disabledProp", new
|
|
1762
|
+
e(this, "disabledProp", new s(u.placerHook, void 0, new k()));
|
|
1763
1763
|
/**
|
|
1764
1764
|
* 指定节点是否为叶子节点
|
|
1765
1765
|
*/
|
|
1766
|
-
e(this, "isLeafProp", new
|
|
1766
|
+
e(this, "isLeafProp", new s(u.placerHook, void 0, new k()));
|
|
1767
1767
|
/**
|
|
1768
1768
|
* 自定义节点类名
|
|
1769
1769
|
*/
|
|
1770
|
-
e(this, "classProp", new
|
|
1770
|
+
e(this, "classProp", new s(u.placer, void 0, new k()));
|
|
1771
1771
|
//#endregion
|
|
1772
1772
|
/**
|
|
1773
1773
|
* 每个树节点用来作为唯一标识的属性,整棵树应该是唯一的
|
|
@@ -1776,7 +1776,7 @@ class Qn extends Te {
|
|
|
1776
1776
|
/**
|
|
1777
1777
|
* 下属选项
|
|
1778
1778
|
*/
|
|
1779
|
-
e(this, "optionItems", new
|
|
1779
|
+
e(this, "optionItems", new s(u.singleOption, [], new ce({ type: oe.array, enable: !0 })));
|
|
1780
1780
|
}
|
|
1781
1781
|
}
|
|
1782
1782
|
class Da extends Un {
|
|
@@ -1789,7 +1789,7 @@ class Oa extends qe {
|
|
|
1789
1789
|
/**
|
|
1790
1790
|
* 标签
|
|
1791
1791
|
*/
|
|
1792
|
-
e(this, "label", new
|
|
1792
|
+
e(this, "label", new s(u.placer, ""));
|
|
1793
1793
|
/**
|
|
1794
1794
|
* 类型
|
|
1795
1795
|
*/
|
|
@@ -1834,15 +1834,15 @@ class ka extends qe {
|
|
|
1834
1834
|
/**
|
|
1835
1835
|
* 前部图标组件
|
|
1836
1836
|
*/
|
|
1837
|
-
e(this, "prefixIcon", new
|
|
1837
|
+
e(this, "prefixIcon", new s(u.placer, ""));
|
|
1838
1838
|
/**
|
|
1839
1839
|
* 后部图标组件
|
|
1840
1840
|
*/
|
|
1841
|
-
e(this, "suffixIcon", new
|
|
1841
|
+
e(this, "suffixIcon", new s(u.placer, ""));
|
|
1842
1842
|
/**
|
|
1843
1843
|
* 默认插槽
|
|
1844
1844
|
*/
|
|
1845
|
-
e(this, "default", new
|
|
1845
|
+
e(this, "default", new s(u.slot, null, new ee()));
|
|
1846
1846
|
}
|
|
1847
1847
|
}
|
|
1848
1848
|
class Ba extends qe {
|
|
@@ -1888,11 +1888,11 @@ class Ba extends qe {
|
|
|
1888
1888
|
/**
|
|
1889
1889
|
* click事件
|
|
1890
1890
|
*/
|
|
1891
|
-
e(this, "click", new
|
|
1891
|
+
e(this, "click", new s(u.event, void 0, new k()));
|
|
1892
1892
|
/**
|
|
1893
1893
|
* close事件
|
|
1894
1894
|
*/
|
|
1895
|
-
e(this, "close", new
|
|
1895
|
+
e(this, "close", new s(u.event, void 0, new k()));
|
|
1896
1896
|
}
|
|
1897
1897
|
}
|
|
1898
1898
|
class _a extends qe {
|
|
@@ -1941,7 +1941,7 @@ class _a extends qe {
|
|
|
1941
1941
|
/**
|
|
1942
1942
|
* 按钮图标
|
|
1943
1943
|
*/
|
|
1944
|
-
e(this, "icon", new
|
|
1944
|
+
e(this, "icon", new s(u.icon));
|
|
1945
1945
|
/**
|
|
1946
1946
|
* 是否显示文字按钮背景颜色
|
|
1947
1947
|
*/
|
|
@@ -1953,7 +1953,7 @@ class _a extends qe {
|
|
|
1953
1953
|
/**
|
|
1954
1954
|
* 自定义加载中状态图标组件
|
|
1955
1955
|
*/
|
|
1956
|
-
e(this, "loadingIcon", new
|
|
1956
|
+
e(this, "loadingIcon", new s(u.icon, "Loading"));
|
|
1957
1957
|
/**
|
|
1958
1958
|
* 原生 autofocus 属性
|
|
1959
1959
|
*/
|
|
@@ -1981,11 +1981,11 @@ class _a extends qe {
|
|
|
1981
1981
|
/**
|
|
1982
1982
|
* 点击后调用事件
|
|
1983
1983
|
*/
|
|
1984
|
-
e(this, "click", new
|
|
1984
|
+
e(this, "click", new s(u.event, new Zi(), new k()));
|
|
1985
1985
|
/**
|
|
1986
1986
|
* 默认插槽
|
|
1987
1987
|
*/
|
|
1988
|
-
e(this, "default", new
|
|
1988
|
+
e(this, "default", new s(u.slot, null, new ee()));
|
|
1989
1989
|
}
|
|
1990
1990
|
}
|
|
1991
1991
|
class Ta extends qe {
|
|
@@ -2011,11 +2011,11 @@ class Ia extends Te {
|
|
|
2011
2011
|
/**
|
|
2012
2012
|
* 图表配置项
|
|
2013
2013
|
*/
|
|
2014
|
-
e(this, "chartOption", new
|
|
2014
|
+
e(this, "chartOption", new s(u.hook, void 0, new k()));
|
|
2015
2015
|
/**
|
|
2016
2016
|
* 图表数据源
|
|
2017
2017
|
*/
|
|
2018
|
-
e(this, "dataSource", new
|
|
2018
|
+
e(this, "dataSource", new s(u.dataObject, null, new ce({ type: oe.array, enable: !0 })));
|
|
2019
2019
|
}
|
|
2020
2020
|
}
|
|
2021
2021
|
class Pa extends qe {
|
|
@@ -2040,11 +2040,11 @@ class Pa extends qe {
|
|
|
2040
2040
|
/**
|
|
2041
2041
|
* 状态改变事件
|
|
2042
2042
|
*/
|
|
2043
|
-
e(this, "change", new
|
|
2043
|
+
e(this, "change", new s(u.event, void 0, new k()));
|
|
2044
2044
|
/**
|
|
2045
2045
|
* 滚动时触发的事件
|
|
2046
2046
|
*/
|
|
2047
|
-
e(this, "scroll", new
|
|
2047
|
+
e(this, "scroll", new s(u.event, void 0, new k()));
|
|
2048
2048
|
}
|
|
2049
2049
|
}
|
|
2050
2050
|
class La extends qe {
|
|
@@ -2086,7 +2086,7 @@ class Ra extends qe {
|
|
|
2086
2086
|
/**
|
|
2087
2087
|
* 隐藏
|
|
2088
2088
|
*/
|
|
2089
|
-
e(this, "hidden", new
|
|
2089
|
+
e(this, "hidden", new s(u.placer, !1));
|
|
2090
2090
|
/**
|
|
2091
2091
|
* 类型
|
|
2092
2092
|
*/
|
|
@@ -2148,7 +2148,7 @@ class Na extends qe {
|
|
|
2148
2148
|
/**
|
|
2149
2149
|
* 启用插槽
|
|
2150
2150
|
*/
|
|
2151
|
-
e(this, "slotable", new
|
|
2151
|
+
e(this, "slotable", new s(u.placer, !1));
|
|
2152
2152
|
//#region 共享下拉框属性
|
|
2153
2153
|
/**
|
|
2154
2154
|
* 自定义浮层类名
|
|
@@ -2166,19 +2166,19 @@ class Na extends qe {
|
|
|
2166
2166
|
/**
|
|
2167
2167
|
* split-button 为 true 时,点击左侧按钮的回调
|
|
2168
2168
|
*/
|
|
2169
|
-
e(this, "click", new
|
|
2169
|
+
e(this, "click", new s(u.event, void 0, new k()));
|
|
2170
2170
|
/**
|
|
2171
2171
|
* 点击菜单项触发的事件回调
|
|
2172
2172
|
*/
|
|
2173
|
-
e(this, "command", new
|
|
2173
|
+
e(this, "command", new s(u.event, void 0, new k()));
|
|
2174
2174
|
/**
|
|
2175
2175
|
* 下拉框出现/隐藏时触发
|
|
2176
2176
|
*/
|
|
2177
|
-
e(this, "visibleChange", new
|
|
2177
|
+
e(this, "visibleChange", new s(u.event, void 0, new k()));
|
|
2178
2178
|
/**
|
|
2179
2179
|
* 下属选项
|
|
2180
2180
|
*/
|
|
2181
|
-
e(this, "optionItems", new
|
|
2181
|
+
e(this, "optionItems", new s(u.singleOption, [], new ce({ type: oe.array, enable: !0 })));
|
|
2182
2182
|
}
|
|
2183
2183
|
}
|
|
2184
2184
|
class Yn extends ze {
|
|
@@ -2191,7 +2191,7 @@ class Yn extends ze {
|
|
|
2191
2191
|
/**
|
|
2192
2192
|
* 自定义图标
|
|
2193
2193
|
*/
|
|
2194
|
-
e(this, "icon", new
|
|
2194
|
+
e(this, "icon", new s(u.icon));
|
|
2195
2195
|
/**
|
|
2196
2196
|
* 是否禁用
|
|
2197
2197
|
*/
|
|
@@ -2232,11 +2232,11 @@ class Ma extends qe {
|
|
|
2232
2232
|
/**
|
|
2233
2233
|
* 图标类型
|
|
2234
2234
|
*/
|
|
2235
|
-
e(this, "icon", new
|
|
2235
|
+
e(this, "icon", new s(u.icon));
|
|
2236
2236
|
/**
|
|
2237
2237
|
* 图片加载失败事件
|
|
2238
2238
|
*/
|
|
2239
|
-
e(this, "error", new
|
|
2239
|
+
e(this, "error", new s(u.event, void 0, new k()));
|
|
2240
2240
|
}
|
|
2241
2241
|
}
|
|
2242
2242
|
class ja extends Te {
|
|
@@ -2249,11 +2249,11 @@ class ja extends Te {
|
|
|
2249
2249
|
/**
|
|
2250
2250
|
* 标题
|
|
2251
2251
|
*/
|
|
2252
|
-
e(this, "title", new
|
|
2252
|
+
e(this, "title", new s(u.slot, null, new ee()));
|
|
2253
2253
|
/**
|
|
2254
2254
|
* 副标题
|
|
2255
2255
|
*/
|
|
2256
|
-
e(this, "subTitle", new
|
|
2256
|
+
e(this, "subTitle", new s(u.slot, null, new ee()));
|
|
2257
2257
|
/**
|
|
2258
2258
|
* 图标类型
|
|
2259
2259
|
* 去除插槽,容器设计混乱
|
|
@@ -2262,7 +2262,7 @@ class ja extends Te {
|
|
|
2262
2262
|
/**
|
|
2263
2263
|
* 内容额外区域的内容
|
|
2264
2264
|
*/
|
|
2265
|
-
e(this, "extra", new
|
|
2265
|
+
e(this, "extra", new s(u.slot, null, new ee()));
|
|
2266
2266
|
}
|
|
2267
2267
|
}
|
|
2268
2268
|
class Ua extends qe {
|
|
@@ -2291,7 +2291,7 @@ class Ua extends qe {
|
|
|
2291
2291
|
/**
|
|
2292
2292
|
* 点击事件
|
|
2293
2293
|
*/
|
|
2294
|
-
e(this, "click", new
|
|
2294
|
+
e(this, "click", new s(u.event, void 0, new k()));
|
|
2295
2295
|
}
|
|
2296
2296
|
}
|
|
2297
2297
|
class Ha extends Te {
|
|
@@ -2328,15 +2328,15 @@ class Ha extends Te {
|
|
|
2328
2328
|
/**
|
|
2329
2329
|
* 更新事件
|
|
2330
2330
|
*/
|
|
2331
|
-
e(this, "change", new
|
|
2331
|
+
e(this, "change", new s(u.event, void 0, new k()));
|
|
2332
2332
|
/**
|
|
2333
2333
|
* 点击事件
|
|
2334
2334
|
*/
|
|
2335
|
-
e(this, "click", new
|
|
2335
|
+
e(this, "click", new s(u.event, void 0, new k()));
|
|
2336
2336
|
/**
|
|
2337
2337
|
* 下属选项
|
|
2338
2338
|
*/
|
|
2339
|
-
e(this, "optionItems", new
|
|
2339
|
+
e(this, "optionItems", new s(u.singleOption, [], new ce({ type: oe.array, enable: !0 })));
|
|
2340
2340
|
}
|
|
2341
2341
|
}
|
|
2342
2342
|
class Zn extends Hn {
|
|
@@ -2406,11 +2406,11 @@ class $a extends Te {
|
|
|
2406
2406
|
/**
|
|
2407
2407
|
* 幻灯片切换时触发
|
|
2408
2408
|
*/
|
|
2409
|
-
e(this, "change", new
|
|
2409
|
+
e(this, "change", new s(u.event, void 0, new k()));
|
|
2410
2410
|
/**
|
|
2411
2411
|
* 下属选项
|
|
2412
2412
|
*/
|
|
2413
|
-
e(this, "optionItems", new
|
|
2413
|
+
e(this, "optionItems", new s(u.singleOption, [], new ce({ type: oe.array, enable: !0 })));
|
|
2414
2414
|
}
|
|
2415
2415
|
}
|
|
2416
2416
|
class er extends ze {
|
|
@@ -2419,7 +2419,7 @@ class er extends ze {
|
|
|
2419
2419
|
/**
|
|
2420
2420
|
* 内容插槽
|
|
2421
2421
|
*/
|
|
2422
|
-
e(this, "slotContent", new
|
|
2422
|
+
e(this, "slotContent", new s(u.slot, void 0, new ee({ slotName: "content" })));
|
|
2423
2423
|
}
|
|
2424
2424
|
}
|
|
2425
2425
|
class za extends Te {
|
|
@@ -2432,11 +2432,11 @@ class za extends Te {
|
|
|
2432
2432
|
/**
|
|
2433
2433
|
* 幻灯片切换时触发
|
|
2434
2434
|
*/
|
|
2435
|
-
e(this, "change", new
|
|
2435
|
+
e(this, "change", new s(u.event, void 0, new k()));
|
|
2436
2436
|
/**
|
|
2437
2437
|
* 下属选项
|
|
2438
2438
|
*/
|
|
2439
|
-
e(this, "optionItems", new
|
|
2439
|
+
e(this, "optionItems", new s(u.singleOption, [], new ce({ type: oe.array, enable: !0 })));
|
|
2440
2440
|
}
|
|
2441
2441
|
}
|
|
2442
2442
|
class tr extends Hn {
|
|
@@ -2453,11 +2453,11 @@ class tr extends Hn {
|
|
|
2453
2453
|
/**
|
|
2454
2454
|
* 标题插槽
|
|
2455
2455
|
*/
|
|
2456
|
-
e(this, "slotTitle", new
|
|
2456
|
+
e(this, "slotTitle", new s(u.slot, void 0, new ee({ slotName: "title" })));
|
|
2457
2457
|
/**
|
|
2458
2458
|
* 内容插槽
|
|
2459
2459
|
*/
|
|
2460
|
-
e(this, "slotContent", new
|
|
2460
|
+
e(this, "slotContent", new s(u.slot, void 0, new ee({ slotName: "content" })));
|
|
2461
2461
|
/**
|
|
2462
2462
|
* 是否禁用
|
|
2463
2463
|
*/
|
|
@@ -2494,19 +2494,19 @@ class Wa extends Te {
|
|
|
2494
2494
|
/**
|
|
2495
2495
|
* 启用插槽
|
|
2496
2496
|
*/
|
|
2497
|
-
e(this, "slotable", new
|
|
2497
|
+
e(this, "slotable", new s(u.placer, !1));
|
|
2498
2498
|
/**
|
|
2499
2499
|
* 标题
|
|
2500
2500
|
*/
|
|
2501
|
-
e(this, "slotTitle", new
|
|
2501
|
+
e(this, "slotTitle", new s(u.slot, void 0, new ee({ allowDrag: !0, slotName: "title" })));
|
|
2502
2502
|
/**
|
|
2503
2503
|
* 操作区
|
|
2504
2504
|
*/
|
|
2505
|
-
e(this, "slotExtra", new
|
|
2505
|
+
e(this, "slotExtra", new s(u.slot, void 0, new ee({ allowDrag: !0, slotName: "extra" })));
|
|
2506
2506
|
/**
|
|
2507
2507
|
* 下属选项
|
|
2508
2508
|
*/
|
|
2509
|
-
e(this, "optionItems", new
|
|
2509
|
+
e(this, "optionItems", new s(u.singleOption, [], new ce({ type: oe.array, enable: !0 })));
|
|
2510
2510
|
}
|
|
2511
2511
|
}
|
|
2512
2512
|
class nr extends ze {
|
|
@@ -2515,7 +2515,7 @@ class nr extends ze {
|
|
|
2515
2515
|
/**
|
|
2516
2516
|
* 内容
|
|
2517
2517
|
*/
|
|
2518
|
-
e(this, "content", new
|
|
2518
|
+
e(this, "content", new s(u.placer, ""));
|
|
2519
2519
|
/**
|
|
2520
2520
|
* 列数
|
|
2521
2521
|
*/
|
|
@@ -2552,11 +2552,11 @@ class Ka extends Te {
|
|
|
2552
2552
|
/**
|
|
2553
2553
|
* 宽度
|
|
2554
2554
|
*/
|
|
2555
|
-
e(this, "width", new
|
|
2555
|
+
e(this, "width", new s(u.placer, ""));
|
|
2556
2556
|
/**
|
|
2557
2557
|
* 高度
|
|
2558
2558
|
*/
|
|
2559
|
-
e(this, "height", new
|
|
2559
|
+
e(this, "height", new s(u.placer, ""));
|
|
2560
2560
|
/**
|
|
2561
2561
|
* 源地址
|
|
2562
2562
|
*/
|
|
@@ -2604,7 +2604,7 @@ class Ka extends Te {
|
|
|
2604
2604
|
/**
|
|
2605
2605
|
* 开启图片预览功能
|
|
2606
2606
|
*/
|
|
2607
|
-
e(this, "previewSrcList", new
|
|
2607
|
+
e(this, "previewSrcList", new s(u.dataObject, [], new ce({ type: oe.array, enable: !0 })));
|
|
2608
2608
|
/**
|
|
2609
2609
|
* 设置图片预览的 z-index
|
|
2610
2610
|
*/
|
|
@@ -2620,39 +2620,39 @@ class Ka extends Te {
|
|
|
2620
2620
|
/**
|
|
2621
2621
|
* 当图像尚未加载时,自定义的占位符内容
|
|
2622
2622
|
*/
|
|
2623
|
-
e(this, "placeholder", new
|
|
2623
|
+
e(this, "placeholder", new s(u.slot, void 0, new ee()));
|
|
2624
2624
|
/**
|
|
2625
2625
|
* 自定义图像加载失败的内容
|
|
2626
2626
|
*/
|
|
2627
|
-
e(this, "slotError", new
|
|
2627
|
+
e(this, "slotError", new s(u.slot, void 0, new ee({ slotName: "error" })));
|
|
2628
2628
|
/**
|
|
2629
2629
|
* 当图像预览时自定义内容
|
|
2630
2630
|
*/
|
|
2631
|
-
e(this, "viewer", new
|
|
2631
|
+
e(this, "viewer", new s(u.slot, void 0, new ee()));
|
|
2632
2632
|
/**
|
|
2633
2633
|
* 图片加载成功触发
|
|
2634
2634
|
*/
|
|
2635
|
-
e(this, "load", new
|
|
2635
|
+
e(this, "load", new s(u.event, void 0, new k()));
|
|
2636
2636
|
/**
|
|
2637
2637
|
* 图片加载失败触发
|
|
2638
2638
|
*/
|
|
2639
|
-
e(this, "error", new
|
|
2639
|
+
e(this, "error", new s(u.event, void 0, new k()));
|
|
2640
2640
|
/**
|
|
2641
2641
|
* 切换图像时触发。
|
|
2642
2642
|
*/
|
|
2643
|
-
e(this, "switch", new
|
|
2643
|
+
e(this, "switch", new s(u.event, void 0, new k()));
|
|
2644
2644
|
/**
|
|
2645
2645
|
* 当点击 X 按钮或者在hide-on-click-modal为 true 时点击遮罩层时触发
|
|
2646
2646
|
*/
|
|
2647
|
-
e(this, "close", new
|
|
2647
|
+
e(this, "close", new s(u.event, void 0, new k()));
|
|
2648
2648
|
/**
|
|
2649
2649
|
* 当 Viewer 显示时触发
|
|
2650
2650
|
*/
|
|
2651
|
-
e(this, "show", new
|
|
2651
|
+
e(this, "show", new s(u.event, void 0, new k()));
|
|
2652
2652
|
/**
|
|
2653
2653
|
* 下属选项
|
|
2654
2654
|
*/
|
|
2655
|
-
e(this, "optionItems", new
|
|
2655
|
+
e(this, "optionItems", new s(u.singleOption, [], new ce({ type: oe.array, enable: !0 })));
|
|
2656
2656
|
}
|
|
2657
2657
|
}
|
|
2658
2658
|
class Ga extends Te {
|
|
@@ -2665,11 +2665,11 @@ class Ga extends Te {
|
|
|
2665
2665
|
/**
|
|
2666
2666
|
* 图标分隔符的组件或组件名
|
|
2667
2667
|
*/
|
|
2668
|
-
e(this, "separatorIcon", new
|
|
2668
|
+
e(this, "separatorIcon", new s(u.icon));
|
|
2669
2669
|
/**
|
|
2670
2670
|
* 下属选项
|
|
2671
2671
|
*/
|
|
2672
|
-
e(this, "optionItems", new
|
|
2672
|
+
e(this, "optionItems", new s(u.singleOption, [], new ce({ type: oe.array, enable: !0 })));
|
|
2673
2673
|
}
|
|
2674
2674
|
}
|
|
2675
2675
|
class rr extends ze {
|
|
@@ -2767,7 +2767,7 @@ class Va extends Te {
|
|
|
2767
2767
|
/**
|
|
2768
2768
|
* 下属选项
|
|
2769
2769
|
*/
|
|
2770
|
-
e(this, "optionItems", new
|
|
2770
|
+
e(this, "optionItems", new s(u.singleOption, [], new ce({ type: oe.array, enable: !0 })));
|
|
2771
2771
|
}
|
|
2772
2772
|
}
|
|
2773
2773
|
class ir extends ze {
|
|
@@ -2788,7 +2788,7 @@ class ir extends ze {
|
|
|
2788
2788
|
/**
|
|
2789
2789
|
* 点击事件
|
|
2790
2790
|
*/
|
|
2791
|
-
e(this, "click", new
|
|
2791
|
+
e(this, "click", new s(u.event, void 0, new k()));
|
|
2792
2792
|
/**
|
|
2793
2793
|
* 菜单项类型,自定义
|
|
2794
2794
|
*/
|
|
@@ -2846,7 +2846,7 @@ class qa extends Te {
|
|
|
2846
2846
|
/**
|
|
2847
2847
|
* 显示样式
|
|
2848
2848
|
*/
|
|
2849
|
-
e(this, "displayLayout", new
|
|
2849
|
+
e(this, "displayLayout", new s(u.placer, Rt.inline));
|
|
2850
2850
|
}
|
|
2851
2851
|
}
|
|
2852
2852
|
class Xa extends Te {
|
|
@@ -2887,7 +2887,7 @@ class Xa extends Te {
|
|
|
2887
2887
|
/**
|
|
2888
2888
|
* 下属选项
|
|
2889
2889
|
*/
|
|
2890
|
-
e(this, "optionItems", new
|
|
2890
|
+
e(this, "optionItems", new s(u.singleOption, [], new ce({ type: oe.array, enable: !0 })));
|
|
2891
2891
|
}
|
|
2892
2892
|
}
|
|
2893
2893
|
class ar extends ze {
|
|
@@ -2913,12 +2913,12 @@ class Ja extends Te {
|
|
|
2913
2913
|
/**
|
|
2914
2914
|
* 组件宽度
|
|
2915
2915
|
*/
|
|
2916
|
-
e(this, "ctrlWidth", new
|
|
2916
|
+
e(this, "ctrlWidth", new s(u.placer, "100%"));
|
|
2917
2917
|
/**
|
|
2918
2918
|
* 数据,需做分页处理
|
|
2919
2919
|
*/
|
|
2920
2920
|
// data?: PropValue = new PropValue(ComplexType.dataObject, null, new PropValueDataObjectOptions({ type: BaseDataType.array, enable: true }));
|
|
2921
|
-
e(this, "data", new
|
|
2921
|
+
e(this, "data", new s(u.singleOption, null));
|
|
2922
2922
|
/**
|
|
2923
2923
|
* table的高度
|
|
2924
2924
|
*/
|
|
@@ -2938,7 +2938,7 @@ class Ja extends Te {
|
|
|
2938
2938
|
/**
|
|
2939
2939
|
* 默认的排序列的 prop 和顺序
|
|
2940
2940
|
*/
|
|
2941
|
-
e(this, "defaultSort", new
|
|
2941
|
+
e(this, "defaultSort", new s(u.dataObject, {}, new ce({ type: oe.array, enable: !1 })));
|
|
2942
2942
|
/**
|
|
2943
2943
|
* 设置表格单元、行和列的布局方式
|
|
2944
2944
|
*/
|
|
@@ -2978,19 +2978,19 @@ class Ja extends Te {
|
|
|
2978
2978
|
/**
|
|
2979
2979
|
* 行的className的回调方法
|
|
2980
2980
|
*/
|
|
2981
|
-
e(this, "rowClassName", new
|
|
2981
|
+
e(this, "rowClassName", new s(u.hook, void 0, new k()));
|
|
2982
2982
|
/**
|
|
2983
2983
|
* 行的style的回调方法
|
|
2984
2984
|
*/
|
|
2985
|
-
e(this, "rowStyle", new
|
|
2985
|
+
e(this, "rowStyle", new s(u.hook, void 0, new k()));
|
|
2986
2986
|
/**
|
|
2987
2987
|
* 表头行的className的回调方法
|
|
2988
2988
|
*/
|
|
2989
|
-
e(this, "headerRowClassName", new
|
|
2989
|
+
e(this, "headerRowClassName", new s(u.hook, void 0, new k()));
|
|
2990
2990
|
/**
|
|
2991
2991
|
* 表头行的style的回调方法
|
|
2992
2992
|
*/
|
|
2993
|
-
e(this, "headerRowStyle", new
|
|
2993
|
+
e(this, "headerRowStyle", new s(u.hook, void 0, new k()));
|
|
2994
2994
|
/**
|
|
2995
2995
|
* 行数据的 Key
|
|
2996
2996
|
*/
|
|
@@ -2998,23 +2998,23 @@ class Ja extends Te {
|
|
|
2998
2998
|
/**
|
|
2999
2999
|
* 可以通过该属性设置 Table 目前的展开行
|
|
3000
3000
|
*/
|
|
3001
|
-
e(this, "expandRowKeys", new
|
|
3001
|
+
e(this, "expandRowKeys", new s(u.dataObject, [], new ce({ type: oe.array, enable: !1 })));
|
|
3002
3002
|
/**
|
|
3003
3003
|
* 单元格的className的回调方法
|
|
3004
3004
|
*/
|
|
3005
|
-
e(this, "cellClassName", new
|
|
3005
|
+
e(this, "cellClassName", new s(u.hook, void 0, new k()));
|
|
3006
3006
|
/**
|
|
3007
3007
|
* 单元格的style的回调方法
|
|
3008
3008
|
*/
|
|
3009
|
-
e(this, "cellStyle", new
|
|
3009
|
+
e(this, "cellStyle", new s(u.hook, void 0, new k()));
|
|
3010
3010
|
/**
|
|
3011
3011
|
* 表头单元格的className的回调方法
|
|
3012
3012
|
*/
|
|
3013
|
-
e(this, "headerCellClassName", new
|
|
3013
|
+
e(this, "headerCellClassName", new s(u.hook, void 0, new k()));
|
|
3014
3014
|
/**
|
|
3015
3015
|
* 表头单元格的style的回调方法
|
|
3016
3016
|
*/
|
|
3017
|
-
e(this, "headerCellStyle", new
|
|
3017
|
+
e(this, "headerCellStyle", new s(u.hook, void 0, new k()));
|
|
3018
3018
|
/**
|
|
3019
3019
|
* 是否默认展开所有行
|
|
3020
3020
|
*/
|
|
@@ -3034,16 +3034,16 @@ class Ja extends Te {
|
|
|
3034
3034
|
/**
|
|
3035
3035
|
* 自定义的合计计算方法
|
|
3036
3036
|
*/
|
|
3037
|
-
e(this, "summaryMethod", new
|
|
3037
|
+
e(this, "summaryMethod", new s(u.hook, void 0, new k()));
|
|
3038
3038
|
/**
|
|
3039
3039
|
* 合并行或列的计算方法
|
|
3040
3040
|
*/
|
|
3041
|
-
e(this, "spanMethod", new
|
|
3041
|
+
e(this, "spanMethod", new s(u.hook, void 0, new k()));
|
|
3042
3042
|
/**
|
|
3043
3043
|
* 渲染嵌套数据的配置选项
|
|
3044
3044
|
* 不能为空,否则提示ns错误
|
|
3045
3045
|
*/
|
|
3046
|
-
e(this, "treeProps", new
|
|
3046
|
+
e(this, "treeProps", new s(u.dataObject, {}, new ce({ type: oe.object, enable: !1 })));
|
|
3047
3047
|
/**
|
|
3048
3048
|
* 展示树形数据时,树节点的缩进
|
|
3049
3049
|
*/
|
|
@@ -3055,7 +3055,7 @@ class Ja extends Te {
|
|
|
3055
3055
|
/**
|
|
3056
3056
|
* 加载子节点数据的函数,lazy 为 true 时生效
|
|
3057
3057
|
*/
|
|
3058
|
-
e(this, "load", new
|
|
3058
|
+
e(this, "load", new s(u.hook, void 0, new k()));
|
|
3059
3059
|
/**
|
|
3060
3060
|
* 是否隐藏额外内容并在单元格悬停时使用 Tooltip 显示它们
|
|
3061
3061
|
*/
|
|
@@ -3072,112 +3072,112 @@ class Ja extends Te {
|
|
|
3072
3072
|
/**
|
|
3073
3073
|
* 是否分页
|
|
3074
3074
|
*/
|
|
3075
|
-
e(this, "allowPage", new
|
|
3075
|
+
e(this, "allowPage", new s(u.placer, !1));
|
|
3076
3076
|
/**
|
|
3077
3077
|
* 每页几行
|
|
3078
3078
|
*/
|
|
3079
|
-
e(this, "pageSize", new
|
|
3079
|
+
e(this, "pageSize", new s(u.placer, 10));
|
|
3080
3080
|
/**
|
|
3081
3081
|
* 每页显示个数选择器的选项设置
|
|
3082
3082
|
*/
|
|
3083
|
-
e(this, "pageSizes", new
|
|
3083
|
+
e(this, "pageSizes", new s(u.placer, [10, 20, 30, 40, 50, 100]));
|
|
3084
3084
|
/**
|
|
3085
3085
|
* 每页显示个数选择器的选项设置
|
|
3086
3086
|
*/
|
|
3087
|
-
e(this, "hideOnSinglePage", new
|
|
3087
|
+
e(this, "hideOnSinglePage", new s(u.placer, !1));
|
|
3088
3088
|
/**
|
|
3089
3089
|
* 组件布局,子组件名用逗号分隔
|
|
3090
3090
|
*/
|
|
3091
|
-
e(this, "layout", new
|
|
3091
|
+
e(this, "layout", new s(u.placer, ["prev", "pager", "next", "jumper", "->", "total"]));
|
|
3092
3092
|
//#endregion
|
|
3093
3093
|
/**
|
|
3094
3094
|
* 当用户手动勾选数据行的 Checkbox 时触发的事件
|
|
3095
3095
|
*/
|
|
3096
|
-
e(this, "select", new
|
|
3096
|
+
e(this, "select", new s(u.event, void 0, new k()));
|
|
3097
3097
|
/**
|
|
3098
3098
|
* 当用户手动勾选全选 Checkbox 时触发的事件
|
|
3099
3099
|
*/
|
|
3100
|
-
e(this, "selectAll", new
|
|
3100
|
+
e(this, "selectAll", new s(u.event, void 0, new k()));
|
|
3101
3101
|
/**
|
|
3102
3102
|
* 当选择项发生变化时会触发该事件
|
|
3103
3103
|
*/
|
|
3104
|
-
e(this, "selectionChange", new
|
|
3104
|
+
e(this, "selectionChange", new s(u.event, void 0, new k()));
|
|
3105
3105
|
/**
|
|
3106
3106
|
* 当单元格 hover 进入时会触发该事件
|
|
3107
3107
|
*/
|
|
3108
|
-
e(this, "cellMouseEnter", new
|
|
3108
|
+
e(this, "cellMouseEnter", new s(u.event, void 0, new k()));
|
|
3109
3109
|
/**
|
|
3110
3110
|
* 当单元格 hover 退出时会触发该事件
|
|
3111
3111
|
*/
|
|
3112
|
-
e(this, "cellMouseLeave", new
|
|
3112
|
+
e(this, "cellMouseLeave", new s(u.event, void 0, new k()));
|
|
3113
3113
|
/**
|
|
3114
3114
|
* 当某个单元格被点击时会触发该事件
|
|
3115
3115
|
*/
|
|
3116
|
-
e(this, "cellClick", new
|
|
3116
|
+
e(this, "cellClick", new s(u.event, void 0, new k()));
|
|
3117
3117
|
/**
|
|
3118
3118
|
* 当某个单元格被双击击时会触发该事件
|
|
3119
3119
|
*/
|
|
3120
|
-
e(this, "cellDblclick", new
|
|
3120
|
+
e(this, "cellDblclick", new s(u.event, void 0, new k()));
|
|
3121
3121
|
/**
|
|
3122
3122
|
* 当某个单元格被鼠标右键点击时会触发该事件
|
|
3123
3123
|
*/
|
|
3124
|
-
e(this, "cellContextmenu", new
|
|
3124
|
+
e(this, "cellContextmenu", new s(u.event, void 0, new k()));
|
|
3125
3125
|
/**
|
|
3126
3126
|
* 当某一行被点击时会触发该事件
|
|
3127
3127
|
*/
|
|
3128
|
-
e(this, "rowClick", new
|
|
3128
|
+
e(this, "rowClick", new s(u.event, void 0, new k()));
|
|
3129
3129
|
/**
|
|
3130
3130
|
* 当某一行被鼠标右键点击时会触发该事件
|
|
3131
3131
|
*/
|
|
3132
|
-
e(this, "rowContextmenu", new
|
|
3132
|
+
e(this, "rowContextmenu", new s(u.event, void 0, new k()));
|
|
3133
3133
|
/**
|
|
3134
3134
|
* 当某一行被双击时会触发该事件
|
|
3135
3135
|
*/
|
|
3136
|
-
e(this, "rowDblclick", new
|
|
3136
|
+
e(this, "rowDblclick", new s(u.event, void 0, new k()));
|
|
3137
3137
|
/**
|
|
3138
3138
|
* 当某一列的表头被点击时会触发该事件
|
|
3139
3139
|
*/
|
|
3140
|
-
e(this, "headerClick", new
|
|
3140
|
+
e(this, "headerClick", new s(u.event, void 0, new k()));
|
|
3141
3141
|
/**
|
|
3142
3142
|
* 当某一列的表头被鼠标右键点击时触发该事件
|
|
3143
3143
|
*/
|
|
3144
|
-
e(this, "headerContextmenu", new
|
|
3144
|
+
e(this, "headerContextmenu", new s(u.event, void 0, new k()));
|
|
3145
3145
|
/**
|
|
3146
3146
|
* 当表格的排序条件发生变化的时候会触发该事件
|
|
3147
3147
|
*/
|
|
3148
|
-
e(this, "sortChange", new
|
|
3148
|
+
e(this, "sortChange", new s(u.event, void 0, new k()));
|
|
3149
3149
|
/**
|
|
3150
3150
|
* column 的 key, 如果需要使用 filter-change 事件,则需要此属性标识是哪个 column 的筛选条件
|
|
3151
3151
|
*/
|
|
3152
|
-
e(this, "filterChange", new
|
|
3152
|
+
e(this, "filterChange", new s(u.event, void 0, new k()));
|
|
3153
3153
|
/**
|
|
3154
3154
|
* 当表格的当前行发生变化的时候会触发该事件
|
|
3155
3155
|
*/
|
|
3156
|
-
e(this, "currentChange", new
|
|
3156
|
+
e(this, "currentChange", new s(u.event, void 0, new k()));
|
|
3157
3157
|
/**
|
|
3158
3158
|
* 当拖动表头改变了列的宽度的时候会触发该事件
|
|
3159
3159
|
*/
|
|
3160
|
-
e(this, "headerDragend", new
|
|
3160
|
+
e(this, "headerDragend", new s(u.event, void 0, new k()));
|
|
3161
3161
|
/**
|
|
3162
3162
|
* 当用户对某一行展开或者关闭的时候会触发该事件(展开行时,回调的第二个参数为 expandedRows;树形表格时第二参数为 expanded)
|
|
3163
3163
|
*/
|
|
3164
|
-
e(this, "expandChange", new
|
|
3164
|
+
e(this, "expandChange", new s(u.event, void 0, new k()));
|
|
3165
3165
|
/**
|
|
3166
3166
|
* default插槽
|
|
3167
3167
|
*/
|
|
3168
|
-
e(this, "default", new
|
|
3168
|
+
e(this, "default", new s(u.slot, void 0, new ee()));
|
|
3169
3169
|
/**
|
|
3170
3170
|
* append插槽
|
|
3171
3171
|
*/
|
|
3172
|
-
e(this, "append", new
|
|
3172
|
+
e(this, "append", new s(u.slot, void 0, new ee()));
|
|
3173
3173
|
/**
|
|
3174
3174
|
* empty插槽
|
|
3175
3175
|
*/
|
|
3176
|
-
e(this, "empty", new
|
|
3176
|
+
e(this, "empty", new s(u.slot, void 0, new ee()));
|
|
3177
3177
|
/**
|
|
3178
3178
|
* 下属选项
|
|
3179
3179
|
*/
|
|
3180
|
-
e(this, "optionItems", new
|
|
3180
|
+
e(this, "optionItems", new s(u.singleOption, [], new ce({ type: oe.array, enable: !0 })));
|
|
3181
3181
|
}
|
|
3182
3182
|
}
|
|
3183
3183
|
class sr extends $n {
|
|
@@ -3190,7 +3190,7 @@ class sr extends $n {
|
|
|
3190
3190
|
/**
|
|
3191
3191
|
* 如果设置了 type=index,可以通过传递 index 属性来自定义索引
|
|
3192
3192
|
*/
|
|
3193
|
-
e(this, "index", new
|
|
3193
|
+
e(this, "index", new s(u.hook, void 0, new k()));
|
|
3194
3194
|
/**
|
|
3195
3195
|
* 显示的标题
|
|
3196
3196
|
*/
|
|
@@ -3226,15 +3226,15 @@ class sr extends $n {
|
|
|
3226
3226
|
/**
|
|
3227
3227
|
* 列标题 Label 区域渲染使用的 Function
|
|
3228
3228
|
*/
|
|
3229
|
-
e(this, "renderHeader", new
|
|
3229
|
+
e(this, "renderHeader", new s(u.hook, void 0, new k()));
|
|
3230
3230
|
/**
|
|
3231
3231
|
* 用来格式化内容
|
|
3232
3232
|
*/
|
|
3233
|
-
e(this, "formatter", new
|
|
3233
|
+
e(this, "formatter", new s(u.hook, void 0, new k()));
|
|
3234
3234
|
/**
|
|
3235
3235
|
* 仅对 type = selection 的列有效,类型为 Function,Function 的返回值用来决定这一行的 CheckBox 是否可以勾选
|
|
3236
3236
|
*/
|
|
3237
|
-
e(this, "selectable", new
|
|
3237
|
+
e(this, "selectable", new s(u.hook, void 0, new k()));
|
|
3238
3238
|
/**
|
|
3239
3239
|
* 对齐方式
|
|
3240
3240
|
*/
|
|
@@ -3258,27 +3258,27 @@ class sr extends $n {
|
|
|
3258
3258
|
/**
|
|
3259
3259
|
* 数据在排序时所使用排序策略的轮转顺序
|
|
3260
3260
|
*/
|
|
3261
|
-
e(this, "sortOrders", new
|
|
3261
|
+
e(this, "sortOrders", new s(u.dataObject, ["ascending", "descending", null], new ce({ type: oe.array })));
|
|
3262
3262
|
/**
|
|
3263
3263
|
* 指定数据按照哪个属性进行排序,仅当sortable设置为true的时候有效。
|
|
3264
3264
|
*/
|
|
3265
|
-
e(this, "sortMethod", new
|
|
3265
|
+
e(this, "sortMethod", new s(u.hook, void 0, new k()));
|
|
3266
3266
|
/**
|
|
3267
3267
|
* 指定数据按照哪个属性进行排序
|
|
3268
3268
|
*/
|
|
3269
|
-
e(this, "sortBy", new
|
|
3269
|
+
e(this, "sortBy", new s(u.hook, void 0, new k()));
|
|
3270
3270
|
/**
|
|
3271
3271
|
* 数据过滤的选项
|
|
3272
3272
|
*/
|
|
3273
|
-
e(this, "filters", new
|
|
3273
|
+
e(this, "filters", new s(u.dataObject, void 0, new ce({ type: oe.object })));
|
|
3274
3274
|
/**
|
|
3275
3275
|
* 选中的数据过滤项
|
|
3276
3276
|
*/
|
|
3277
|
-
e(this, "filteredValue", new
|
|
3277
|
+
e(this, "filteredValue", new s(u.dataObject, void 0, new ce({ type: oe.array, enable: !0 })));
|
|
3278
3278
|
/**
|
|
3279
3279
|
* 数据过滤使用的方法
|
|
3280
3280
|
*/
|
|
3281
|
-
e(this, "filterMethod", new
|
|
3281
|
+
e(this, "filterMethod", new s(u.hook, void 0, new k()));
|
|
3282
3282
|
/**
|
|
3283
3283
|
* 数据过滤的选项是否多选
|
|
3284
3284
|
*/
|
|
@@ -3298,19 +3298,19 @@ class sr extends $n {
|
|
|
3298
3298
|
/**
|
|
3299
3299
|
* header插槽
|
|
3300
3300
|
*/
|
|
3301
|
-
e(this, "header", new
|
|
3301
|
+
e(this, "header", new s(u.slot, void 0, new ee()));
|
|
3302
3302
|
/**
|
|
3303
3303
|
* default插槽
|
|
3304
3304
|
*/
|
|
3305
|
-
e(this, "default", { widgetList: [], ...new
|
|
3305
|
+
e(this, "default", { widgetList: [], ...new s(u.slot, void 0, new ee({ allowDrag: !0, enable: !0 })) });
|
|
3306
3306
|
/**
|
|
3307
3307
|
* default插槽是否可拖拽
|
|
3308
3308
|
*/
|
|
3309
|
-
e(this, "slotable", new
|
|
3309
|
+
e(this, "slotable", new s(u.placer, !1));
|
|
3310
3310
|
/**
|
|
3311
3311
|
* 选项编码
|
|
3312
3312
|
*/
|
|
3313
|
-
e(this, "uuid", new
|
|
3313
|
+
e(this, "uuid", new s(u.placer, Lt()));
|
|
3314
3314
|
}
|
|
3315
3315
|
}
|
|
3316
3316
|
class Ot extends Yt {
|
|
@@ -3319,11 +3319,11 @@ class Ot extends Yt {
|
|
|
3319
3319
|
/**
|
|
3320
3320
|
* 自定义CSS样式
|
|
3321
3321
|
*/
|
|
3322
|
-
e(this, "customClass", new
|
|
3322
|
+
e(this, "customClass", new s(u.placer, []));
|
|
3323
3323
|
/**
|
|
3324
3324
|
* 显示样式
|
|
3325
3325
|
*/
|
|
3326
|
-
e(this, "displayLayout", new
|
|
3326
|
+
e(this, "displayLayout", new s(u.placer, Rt.block));
|
|
3327
3327
|
}
|
|
3328
3328
|
}
|
|
3329
3329
|
class st extends Ot {
|
|
@@ -3332,7 +3332,7 @@ class st extends Ot {
|
|
|
3332
3332
|
/**
|
|
3333
3333
|
* 组件外容器CSS样式
|
|
3334
3334
|
*/
|
|
3335
|
-
e(this, "componentWrapperClass", new
|
|
3335
|
+
e(this, "componentWrapperClass", new s(u.placer, []));
|
|
3336
3336
|
}
|
|
3337
3337
|
}
|
|
3338
3338
|
class Qa extends Ot {
|
|
@@ -3345,7 +3345,7 @@ class Qa extends Ot {
|
|
|
3345
3345
|
/**
|
|
3346
3346
|
* 栅格列统一高度
|
|
3347
3347
|
*/
|
|
3348
|
-
e(this, "colHeight", new
|
|
3348
|
+
e(this, "colHeight", new s(u.placer, ""));
|
|
3349
3349
|
//用于解决栅格列设置响应式布局浮动后被挂住的问题!!
|
|
3350
3350
|
/**
|
|
3351
3351
|
* 栅格间隔
|
|
@@ -3366,7 +3366,7 @@ class Qa extends Ot {
|
|
|
3366
3366
|
/**
|
|
3367
3367
|
* 栅格列编辑占坑
|
|
3368
3368
|
*/
|
|
3369
|
-
e(this, "cols", new
|
|
3369
|
+
e(this, "cols", new s(u.placer, []));
|
|
3370
3370
|
}
|
|
3371
3371
|
}
|
|
3372
3372
|
class or extends st {
|
|
@@ -3423,7 +3423,7 @@ class or extends st {
|
|
|
3423
3423
|
/**
|
|
3424
3424
|
* 水平对齐方式
|
|
3425
3425
|
*/
|
|
3426
|
-
e(this, "horizontalAlign", new
|
|
3426
|
+
e(this, "horizontalAlign", new s(u.placer, ""));
|
|
3427
3427
|
}
|
|
3428
3428
|
/**
|
|
3429
3429
|
* 垂直对齐方式
|
|
@@ -3547,11 +3547,11 @@ class es extends st {
|
|
|
3547
3547
|
/**
|
|
3548
3548
|
* 关闭图标
|
|
3549
3549
|
*/
|
|
3550
|
-
e(this, "closeIcon", new
|
|
3550
|
+
e(this, "closeIcon", new s(u.icon, "Close"));
|
|
3551
3551
|
/**
|
|
3552
3552
|
* 关闭前回调
|
|
3553
3553
|
*/
|
|
3554
|
-
e(this, "beforeClose", new
|
|
3554
|
+
e(this, "beforeClose", new s(u.hook, void 0, new k()));
|
|
3555
3555
|
/**
|
|
3556
3556
|
* 插入至body
|
|
3557
3557
|
*/
|
|
@@ -3576,39 +3576,39 @@ class es extends st {
|
|
|
3576
3576
|
/**
|
|
3577
3577
|
* header插槽
|
|
3578
3578
|
*/
|
|
3579
|
-
e(this, "header", new
|
|
3579
|
+
e(this, "header", new s(u.slot, void 0, new ee({ allowDrag: !0 })));
|
|
3580
3580
|
/**
|
|
3581
3581
|
* default插槽
|
|
3582
3582
|
*/
|
|
3583
|
-
e(this, "default", new
|
|
3583
|
+
e(this, "default", new s(u.slot, void 0, new ee({ allowDrag: !0 })));
|
|
3584
3584
|
/**
|
|
3585
3585
|
* footer插槽
|
|
3586
3586
|
*/
|
|
3587
|
-
e(this, "footer", new
|
|
3587
|
+
e(this, "footer", new s(u.slot, void 0, new ee({ allowDrag: !0 })));
|
|
3588
3588
|
/**
|
|
3589
3589
|
* 打开回调
|
|
3590
3590
|
*/
|
|
3591
|
-
e(this, "open", new
|
|
3591
|
+
e(this, "open", new s(u.event, void 0, new k()));
|
|
3592
3592
|
/**
|
|
3593
3593
|
* 打开结束回调
|
|
3594
3594
|
*/
|
|
3595
|
-
e(this, "opened", new
|
|
3595
|
+
e(this, "opened", new s(u.event, void 0, new k()));
|
|
3596
3596
|
/**
|
|
3597
3597
|
* 关闭回调
|
|
3598
3598
|
*/
|
|
3599
|
-
e(this, "close", new
|
|
3599
|
+
e(this, "close", new s(u.event, void 0, new k()));
|
|
3600
3600
|
/**
|
|
3601
3601
|
* 关闭结束时回调
|
|
3602
3602
|
*/
|
|
3603
|
-
e(this, "closed", new
|
|
3603
|
+
e(this, "closed", new s(u.event, void 0, new k()));
|
|
3604
3604
|
/**
|
|
3605
3605
|
* 聚焦回调
|
|
3606
3606
|
*/
|
|
3607
|
-
e(this, "openAutoFocus", new
|
|
3607
|
+
e(this, "openAutoFocus", new s(u.event, void 0, new k()));
|
|
3608
3608
|
/**
|
|
3609
3609
|
* 失焦回调
|
|
3610
3610
|
*/
|
|
3611
|
-
e(this, "closeAutoFocus", new
|
|
3611
|
+
e(this, "closeAutoFocus", new s(u.event, void 0, new k()));
|
|
3612
3612
|
}
|
|
3613
3613
|
}
|
|
3614
3614
|
class ts extends st {
|
|
@@ -3617,7 +3617,7 @@ class ts extends st {
|
|
|
3617
3617
|
/**
|
|
3618
3618
|
* 宽度
|
|
3619
3619
|
*/
|
|
3620
|
-
e(this, "ctrlWidth", new
|
|
3620
|
+
e(this, "ctrlWidth", new s(u.placer, "100%"));
|
|
3621
3621
|
/**
|
|
3622
3622
|
* Alert标题
|
|
3623
3623
|
*/
|
|
@@ -3649,7 +3649,7 @@ class ts extends st {
|
|
|
3649
3649
|
/**
|
|
3650
3650
|
* 是否开启插槽组件模式
|
|
3651
3651
|
*/
|
|
3652
|
-
e(this, "slotable", new
|
|
3652
|
+
e(this, "slotable", new s(u.placer, !1));
|
|
3653
3653
|
/**
|
|
3654
3654
|
* 内容
|
|
3655
3655
|
*/
|
|
@@ -3657,15 +3657,15 @@ class ts extends st {
|
|
|
3657
3657
|
/**
|
|
3658
3658
|
* default插槽
|
|
3659
3659
|
*/
|
|
3660
|
-
e(this, "default", new
|
|
3660
|
+
e(this, "default", new s(u.slot, void 0, new ee({ allowDrag: !0 })));
|
|
3661
3661
|
/**
|
|
3662
3662
|
* title插槽
|
|
3663
3663
|
*/
|
|
3664
|
-
e(this, "titleSlot", new
|
|
3664
|
+
e(this, "titleSlot", new s(u.slot, void 0, new ee({ allowDrag: !0, slotName: "title" })));
|
|
3665
3665
|
/**
|
|
3666
3666
|
* 关闭回调
|
|
3667
3667
|
*/
|
|
3668
|
-
e(this, "close", new
|
|
3668
|
+
e(this, "close", new s(u.event, void 0, new k()));
|
|
3669
3669
|
}
|
|
3670
3670
|
}
|
|
3671
3671
|
class ns extends st {
|
|
@@ -3726,7 +3726,7 @@ class ns extends st {
|
|
|
3726
3726
|
/**
|
|
3727
3727
|
* 关闭前回调
|
|
3728
3728
|
*/
|
|
3729
|
-
e(this, "beforeClose", new
|
|
3729
|
+
e(this, "beforeClose", new s(u.hook, void 0, new k()));
|
|
3730
3730
|
/**
|
|
3731
3731
|
* 打开方向
|
|
3732
3732
|
*/
|
|
@@ -3750,39 +3750,39 @@ class ns extends st {
|
|
|
3750
3750
|
/**
|
|
3751
3751
|
* header插槽
|
|
3752
3752
|
*/
|
|
3753
|
-
e(this, "header", new
|
|
3753
|
+
e(this, "header", new s(u.slot, void 0, new ee({ allowDrag: !0 })));
|
|
3754
3754
|
/**
|
|
3755
3755
|
* default插槽
|
|
3756
3756
|
*/
|
|
3757
|
-
e(this, "default", new
|
|
3757
|
+
e(this, "default", new s(u.slot, void 0, new ee({ allowDrag: !0 })));
|
|
3758
3758
|
/**
|
|
3759
3759
|
* footer插槽
|
|
3760
3760
|
*/
|
|
3761
|
-
e(this, "footer", new
|
|
3761
|
+
e(this, "footer", new s(u.slot, void 0, new ee({ allowDrag: !0 })));
|
|
3762
3762
|
/**
|
|
3763
3763
|
* 打开回调
|
|
3764
3764
|
*/
|
|
3765
|
-
e(this, "open", new
|
|
3765
|
+
e(this, "open", new s(u.event, void 0, new k()));
|
|
3766
3766
|
/**
|
|
3767
3767
|
* 打开结束回调
|
|
3768
3768
|
*/
|
|
3769
|
-
e(this, "opened", new
|
|
3769
|
+
e(this, "opened", new s(u.event, void 0, new k()));
|
|
3770
3770
|
/**
|
|
3771
3771
|
* 关闭回调
|
|
3772
3772
|
*/
|
|
3773
|
-
e(this, "close", new
|
|
3773
|
+
e(this, "close", new s(u.event, void 0, new k()));
|
|
3774
3774
|
/**
|
|
3775
3775
|
* 关闭结束时回调
|
|
3776
3776
|
*/
|
|
3777
|
-
e(this, "closed", new
|
|
3777
|
+
e(this, "closed", new s(u.event, void 0, new k()));
|
|
3778
3778
|
/**
|
|
3779
3779
|
* 聚焦回调
|
|
3780
3780
|
*/
|
|
3781
|
-
e(this, "openAutoFocus", new
|
|
3781
|
+
e(this, "openAutoFocus", new s(u.event, void 0, new k()));
|
|
3782
3782
|
/**
|
|
3783
3783
|
* 失焦回调
|
|
3784
3784
|
*/
|
|
3785
|
-
e(this, "closeAutoFocus", new
|
|
3785
|
+
e(this, "closeAutoFocus", new s(u.event, void 0, new k()));
|
|
3786
3786
|
}
|
|
3787
3787
|
}
|
|
3788
3788
|
class rs extends Te {
|
|
@@ -3831,11 +3831,11 @@ class rs extends Te {
|
|
|
3831
3831
|
/**
|
|
3832
3832
|
* 组件布局,子组件名用逗号分隔
|
|
3833
3833
|
*/
|
|
3834
|
-
e(this, "layout", new
|
|
3834
|
+
e(this, "layout", new s(u.dataObject, ["prev", "pager", "next", "jumper", "->", "total"]));
|
|
3835
3835
|
/**
|
|
3836
3836
|
* 每页显示个数选择器的选项设置
|
|
3837
3837
|
*/
|
|
3838
|
-
e(this, "pageSizes", new
|
|
3838
|
+
e(this, "pageSizes", new s(u.dataObject, [10, 20, 30, 40, 50, 100], new ce({ type: oe.array, enable: !0 })));
|
|
3839
3839
|
/**
|
|
3840
3840
|
* 每页显示个数选择器的下拉框类名
|
|
3841
3841
|
*/
|
|
@@ -3851,11 +3851,11 @@ class rs extends Te {
|
|
|
3851
3851
|
/**
|
|
3852
3852
|
* 上一页的图标, 比prev-text优先级更高
|
|
3853
3853
|
*/
|
|
3854
|
-
e(this, "prevIcon", new
|
|
3854
|
+
e(this, "prevIcon", new s(u.icon, "ArrowLeft"));
|
|
3855
3855
|
/**
|
|
3856
3856
|
* 下一页的图标, 比 next-text 优先级更低
|
|
3857
3857
|
*/
|
|
3858
|
-
e(this, "nextIcon", new
|
|
3858
|
+
e(this, "nextIcon", new s(u.icon, "ArrowRight"));
|
|
3859
3859
|
/**
|
|
3860
3860
|
* 是否禁用分页
|
|
3861
3861
|
*/
|
|
@@ -3867,27 +3867,27 @@ class rs extends Te {
|
|
|
3867
3867
|
/**
|
|
3868
3868
|
* default插槽
|
|
3869
3869
|
*/
|
|
3870
|
-
e(this, "default", new
|
|
3870
|
+
e(this, "default", new s(u.slot, void 0, new ee({ allowDrag: !0 })));
|
|
3871
3871
|
/**
|
|
3872
3872
|
* page-size改变时触发
|
|
3873
3873
|
*/
|
|
3874
|
-
e(this, "sizeChange", new
|
|
3874
|
+
e(this, "sizeChange", new s(u.event, void 0, new k()));
|
|
3875
3875
|
/**
|
|
3876
3876
|
* current-Change改变时触发
|
|
3877
3877
|
*/
|
|
3878
|
-
e(this, "currentChange", new
|
|
3878
|
+
e(this, "currentChange", new s(u.event, void 0, new k()));
|
|
3879
3879
|
/**
|
|
3880
3880
|
* current-page 或 page-size更改时触发
|
|
3881
3881
|
*/
|
|
3882
|
-
e(this, "change", new
|
|
3882
|
+
e(this, "change", new s(u.event, void 0, new k()));
|
|
3883
3883
|
/**
|
|
3884
3884
|
* 用户点击上一页按钮改变当前页时触发
|
|
3885
3885
|
*/
|
|
3886
|
-
e(this, "prevClick", new
|
|
3886
|
+
e(this, "prevClick", new s(u.event, void 0, new k()));
|
|
3887
3887
|
/**
|
|
3888
3888
|
* 用户点击下一页按钮改变当前页时触发
|
|
3889
3889
|
*/
|
|
3890
|
-
e(this, "nextClick", new
|
|
3890
|
+
e(this, "nextClick", new s(u.event, void 0, new k()));
|
|
3891
3891
|
}
|
|
3892
3892
|
}
|
|
3893
3893
|
class is extends st {
|
|
@@ -3896,15 +3896,15 @@ class is extends st {
|
|
|
3896
3896
|
/**
|
|
3897
3897
|
* 新增表单的数据源
|
|
3898
3898
|
*/
|
|
3899
|
-
e(this, "newDataSource", new
|
|
3899
|
+
e(this, "newDataSource", new s(u.singleOption, null, new ce({ type: oe.object, enable: !0 })));
|
|
3900
3900
|
/**
|
|
3901
3901
|
* 编辑表单的数据源
|
|
3902
3902
|
*/
|
|
3903
|
-
e(this, "editDataSource", new
|
|
3903
|
+
e(this, "editDataSource", new s(u.singleOption, null, new ce({ type: oe.object, enable: !0 })));
|
|
3904
3904
|
/**
|
|
3905
3905
|
* 组件加载时自动加载newDataSource绑定的数据源
|
|
3906
3906
|
*/
|
|
3907
|
-
e(this, "loadDataWhenInit", new
|
|
3907
|
+
e(this, "loadDataWhenInit", new s(u.placer, !1));
|
|
3908
3908
|
/**
|
|
3909
3909
|
* 行内表单模式
|
|
3910
3910
|
*/
|
|
@@ -3916,7 +3916,7 @@ class is extends st {
|
|
|
3916
3916
|
/**
|
|
3917
3917
|
* 标签水平对齐方式
|
|
3918
3918
|
*/
|
|
3919
|
-
e(this, "labelAlign", new
|
|
3919
|
+
e(this, "labelAlign", new s(u.placer, ""));
|
|
3920
3920
|
/**
|
|
3921
3921
|
* 表单域标签的位置
|
|
3922
3922
|
*/
|
|
@@ -3960,7 +3960,7 @@ class is extends st {
|
|
|
3960
3960
|
/**
|
|
3961
3961
|
* 当校验有失败结果时,滚动到第一个失败的表单项目
|
|
3962
3962
|
*/
|
|
3963
|
-
e(this, "scrollIntoViewOptions", new
|
|
3963
|
+
e(this, "scrollIntoViewOptions", new s(u.dataObject, void 0, new ce({ type: oe.object, enable: !0 })));
|
|
3964
3964
|
/**
|
|
3965
3965
|
* 用于控制该表单内组件的尺寸
|
|
3966
3966
|
*/
|
|
@@ -3968,47 +3968,47 @@ class is extends st {
|
|
|
3968
3968
|
/**
|
|
3969
3969
|
* 自定义CSS样式
|
|
3970
3970
|
*/
|
|
3971
|
-
e(this, "customClass", new
|
|
3971
|
+
e(this, "customClass", new s(u.placer, []));
|
|
3972
3972
|
/**
|
|
3973
3973
|
* 任一表单项被校验后触发
|
|
3974
3974
|
*/
|
|
3975
|
-
e(this, "validate", new
|
|
3975
|
+
e(this, "validate", new s(u.event, void 0, new k()));
|
|
3976
3976
|
/**
|
|
3977
3977
|
* 自定义默认内容
|
|
3978
3978
|
*/
|
|
3979
|
-
e(this, "default", new
|
|
3979
|
+
e(this, "default", new s(u.slot, void 0, new ee()));
|
|
3980
3980
|
/**
|
|
3981
3981
|
* 数据对象名称
|
|
3982
3982
|
*/
|
|
3983
|
-
e(this, "modelName", new
|
|
3983
|
+
e(this, "modelName", new s(u.placer, "formData"));
|
|
3984
3984
|
/**
|
|
3985
3985
|
* ref引用名称
|
|
3986
3986
|
*/
|
|
3987
|
-
e(this, "refName", new
|
|
3987
|
+
e(this, "refName", new s(u.placer, "vForm"));
|
|
3988
3988
|
/**
|
|
3989
3989
|
* 校验规则名称
|
|
3990
3990
|
*/
|
|
3991
|
-
e(this, "rulesName", new
|
|
3991
|
+
e(this, "rulesName", new s(u.placer, "rules"));
|
|
3992
3992
|
/**
|
|
3993
3993
|
* 表单创建时事件
|
|
3994
3994
|
*/
|
|
3995
|
-
e(this, "formCreated", new
|
|
3995
|
+
e(this, "formCreated", new s(u.event, void 0, new k()));
|
|
3996
3996
|
/**
|
|
3997
3997
|
* 表单挂载完成后事件
|
|
3998
3998
|
*/
|
|
3999
|
-
e(this, "formMounted", new
|
|
3999
|
+
e(this, "formMounted", new s(u.event, void 0, new k()));
|
|
4000
4000
|
/**
|
|
4001
4001
|
* 表单数据改变时事件
|
|
4002
4002
|
*/
|
|
4003
|
-
e(this, "formDataChange", new
|
|
4003
|
+
e(this, "formDataChange", new s(u.event, void 0, new k()));
|
|
4004
4004
|
/**
|
|
4005
4005
|
* 表单初始数据加载后
|
|
4006
4006
|
*/
|
|
4007
|
-
e(this, "formDataLoaded", new
|
|
4007
|
+
e(this, "formDataLoaded", new s(u.placerHook, void 0, new k()));
|
|
4008
4008
|
/**
|
|
4009
4009
|
* 是否需新增表单
|
|
4010
4010
|
*/
|
|
4011
|
-
e(this, "needFormAdd", new
|
|
4011
|
+
e(this, "needFormAdd", new s(u.placerHook, void 0, new k()));
|
|
4012
4012
|
}
|
|
4013
4013
|
}
|
|
4014
4014
|
class as extends Ot {
|
|
@@ -4021,7 +4021,7 @@ class as extends Ot {
|
|
|
4021
4021
|
/**
|
|
4022
4022
|
* 布局列编辑占坑
|
|
4023
4023
|
*/
|
|
4024
|
-
e(this, "cols", new
|
|
4024
|
+
e(this, "cols", new s(u.placer, []));
|
|
4025
4025
|
}
|
|
4026
4026
|
}
|
|
4027
4027
|
class ss extends Ot {
|
|
@@ -4062,31 +4062,39 @@ class ss extends Ot {
|
|
|
4062
4062
|
/**
|
|
4063
4063
|
* 切换标签之前的钩子函数
|
|
4064
4064
|
*/
|
|
4065
|
-
e(this, "beforeLeave", new
|
|
4065
|
+
e(this, "beforeLeave", new s(u.hook, void 0, new k()));
|
|
4066
4066
|
/**
|
|
4067
4067
|
* 为上一级tabs数据集编辑占坑
|
|
4068
4068
|
*/
|
|
4069
|
-
e(this, "tabs", new
|
|
4069
|
+
e(this, "tabs", new s(u.placer, void 0, new k()));
|
|
4070
4070
|
/**
|
|
4071
4071
|
* 改变时触发
|
|
4072
4072
|
*/
|
|
4073
|
-
e(this, "tabChange", new
|
|
4073
|
+
e(this, "tabChange", new s(u.event, void 0, new k()));
|
|
4074
4074
|
/**
|
|
4075
4075
|
* 被选中时触发
|
|
4076
4076
|
*/
|
|
4077
|
-
e(this, "tabClick", new
|
|
4077
|
+
e(this, "tabClick", new s(u.event, void 0, new k()));
|
|
4078
4078
|
/**
|
|
4079
4079
|
* 点击tab新增按钮时触发
|
|
4080
4080
|
*/
|
|
4081
|
-
e(this, "tabAdd", new
|
|
4081
|
+
e(this, "tabAdd", new s(u.event, void 0, new k()));
|
|
4082
4082
|
/**
|
|
4083
4083
|
* 点击tab的新增或移除按钮后触发
|
|
4084
4084
|
*/
|
|
4085
|
-
e(this, "edit", new
|
|
4085
|
+
e(this, "edit", new s(u.event, void 0, new k()));
|
|
4086
4086
|
/**
|
|
4087
4087
|
* 移除按钮时触发
|
|
4088
4088
|
*/
|
|
4089
|
-
e(this, "tabRemove", new
|
|
4089
|
+
e(this, "tabRemove", new s(u.event, void 0, new k()));
|
|
4090
|
+
/**
|
|
4091
|
+
* 组件创建后调用事件
|
|
4092
|
+
*/
|
|
4093
|
+
e(this, "created", new s(u.event, void 0, new k()));
|
|
4094
|
+
/**
|
|
4095
|
+
* 组件挂载完成后调用事件
|
|
4096
|
+
*/
|
|
4097
|
+
e(this, "mounted", new s(u.event, void 0, new k()));
|
|
4090
4098
|
}
|
|
4091
4099
|
}
|
|
4092
4100
|
class Zt extends st {
|
|
@@ -4124,7 +4132,7 @@ class os extends st {
|
|
|
4124
4132
|
/**
|
|
4125
4133
|
* 组件宽度
|
|
4126
4134
|
*/
|
|
4127
|
-
e(this, "ctrlWidth", new
|
|
4135
|
+
e(this, "ctrlWidth", new s(u.placer, "100%"));
|
|
4128
4136
|
/**
|
|
4129
4137
|
* 是否隐藏
|
|
4130
4138
|
*/
|
|
@@ -4132,19 +4140,19 @@ class os extends st {
|
|
|
4132
4140
|
/**
|
|
4133
4141
|
* 是否开启插槽组件模式
|
|
4134
4142
|
*/
|
|
4135
|
-
e(this, "slotable", new
|
|
4143
|
+
e(this, "slotable", new s(u.placer, !1));
|
|
4136
4144
|
/**
|
|
4137
4145
|
* 标签内容
|
|
4138
4146
|
*/
|
|
4139
|
-
e(this, "label", new
|
|
4147
|
+
e(this, "label", new s(u.placer, "card"));
|
|
4140
4148
|
/**
|
|
4141
4149
|
* 是否展开
|
|
4142
4150
|
*/
|
|
4143
|
-
e(this, "folded", new
|
|
4151
|
+
e(this, "folded", new s(u.placer, !1));
|
|
4144
4152
|
/**
|
|
4145
4153
|
* 显示展开图标
|
|
4146
4154
|
*/
|
|
4147
|
-
e(this, "showFold", new
|
|
4155
|
+
e(this, "showFold", new s(u.placer, !1));
|
|
4148
4156
|
/**
|
|
4149
4157
|
* 卡片宽度
|
|
4150
4158
|
*/
|
|
@@ -4156,15 +4164,15 @@ class os extends st {
|
|
|
4156
4164
|
/**
|
|
4157
4165
|
* body的CSS样式
|
|
4158
4166
|
*/
|
|
4159
|
-
e(this, "bodyStyle", new
|
|
4167
|
+
e(this, "bodyStyle", new s(u.placer, void 0, new k()));
|
|
4160
4168
|
/**
|
|
4161
4169
|
* header插槽
|
|
4162
4170
|
*/
|
|
4163
|
-
e(this, "header", new
|
|
4171
|
+
e(this, "header", new s(u.slot, void 0, new ee()));
|
|
4164
4172
|
/**
|
|
4165
4173
|
* default插槽
|
|
4166
4174
|
*/
|
|
4167
|
-
e(this, "default", new
|
|
4175
|
+
e(this, "default", new s(u.slot, void 0, new ee({ allowDrag: !0 })));
|
|
4168
4176
|
}
|
|
4169
4177
|
}
|
|
4170
4178
|
class us extends Qt {
|
|
@@ -4174,7 +4182,7 @@ class us extends Qt {
|
|
|
4174
4182
|
/**
|
|
4175
4183
|
* 标签内容
|
|
4176
4184
|
*/
|
|
4177
|
-
e(this, "label", new
|
|
4185
|
+
e(this, "label", new s(u.placer, ""));
|
|
4178
4186
|
// /**
|
|
4179
4187
|
// * 组件状态-样式控制过于复杂,放弃
|
|
4180
4188
|
// */
|
|
@@ -4254,37 +4262,37 @@ class us extends Qt {
|
|
|
4254
4262
|
/**
|
|
4255
4263
|
* default插槽
|
|
4256
4264
|
*/
|
|
4257
|
-
e(this, "row", new
|
|
4265
|
+
e(this, "row", new s(u.slot, void 0, new ee({ allowDrag: !0, enable: !0 })));
|
|
4258
4266
|
/**
|
|
4259
4267
|
* detail插槽
|
|
4260
4268
|
*/
|
|
4261
|
-
e(this, "detail", new
|
|
4269
|
+
e(this, "detail", new s(u.slot, void 0, new ee({ allowDrag: !0, enable: !0 })));
|
|
4262
4270
|
/**
|
|
4263
4271
|
* 新增行调用事件
|
|
4264
4272
|
*/
|
|
4265
|
-
e(this, "addRow", new
|
|
4273
|
+
e(this, "addRow", new s(u.event, void 0, new k()));
|
|
4266
4274
|
/**
|
|
4267
4275
|
* 删除行调用事件
|
|
4268
4276
|
*/
|
|
4269
|
-
e(this, "deleteRow", new
|
|
4277
|
+
e(this, "deleteRow", new s(u.event, void 0, new k()));
|
|
4270
4278
|
/**
|
|
4271
4279
|
* 内容改变调用事件
|
|
4272
4280
|
*/
|
|
4273
|
-
e(this, "change", new
|
|
4281
|
+
e(this, "change", new s(u.event, void 0, new k()));
|
|
4274
4282
|
/**
|
|
4275
4283
|
* 点击控件时调用事件
|
|
4276
4284
|
*/
|
|
4277
|
-
e(this, "click", new
|
|
4285
|
+
e(this, "click", new s(u.event, void 0, new k()));
|
|
4278
4286
|
/**
|
|
4279
4287
|
* 数据设置方法
|
|
4280
4288
|
* 对表单数据进行二次加工
|
|
4281
4289
|
*/
|
|
4282
|
-
e(this, "dataFormat", new
|
|
4290
|
+
e(this, "dataFormat", new s(u.hook, void 0, new k()));
|
|
4283
4291
|
/**
|
|
4284
4292
|
* 行数据设置方法
|
|
4285
4293
|
* 对每行数据进行二次加工
|
|
4286
4294
|
*/
|
|
4287
|
-
e(this, "rowDataFormat", new
|
|
4295
|
+
e(this, "rowDataFormat", new s(u.hook, void 0, new k()));
|
|
4288
4296
|
}
|
|
4289
4297
|
}
|
|
4290
4298
|
class ls extends Qt {
|
|
@@ -4294,11 +4302,11 @@ class ls extends Qt {
|
|
|
4294
4302
|
/**
|
|
4295
4303
|
* 标签内容
|
|
4296
4304
|
*/
|
|
4297
|
-
e(this, "label", new
|
|
4305
|
+
e(this, "label", new s(u.placer, ""));
|
|
4298
4306
|
/**
|
|
4299
4307
|
* 数据
|
|
4300
4308
|
*/
|
|
4301
|
-
e(this, "data", new
|
|
4309
|
+
e(this, "data", new s(u.singleOption, null));
|
|
4302
4310
|
/**
|
|
4303
4311
|
* 是否在空数据时渲染模版
|
|
4304
4312
|
*/
|
|
@@ -4318,15 +4326,15 @@ class ls extends Qt {
|
|
|
4318
4326
|
/**
|
|
4319
4327
|
* 数据加载完成后
|
|
4320
4328
|
*/
|
|
4321
|
-
e(this, "completed", new
|
|
4329
|
+
e(this, "completed", new s(u.event, void 0, new k()));
|
|
4322
4330
|
/**
|
|
4323
4331
|
* default插槽
|
|
4324
4332
|
*/
|
|
4325
|
-
e(this, "row", new
|
|
4333
|
+
e(this, "row", new s(u.slot, void 0, new ee({ allowDrag: !0, enable: !0 })));
|
|
4326
4334
|
/**
|
|
4327
4335
|
* 点击控件时调用事件
|
|
4328
4336
|
*/
|
|
4329
|
-
e(this, "click", new
|
|
4337
|
+
e(this, "click", new s(u.event, void 0, new k()));
|
|
4330
4338
|
}
|
|
4331
4339
|
}
|
|
4332
4340
|
class cs extends Yt {
|
|
@@ -4363,7 +4371,7 @@ class cs extends Yt {
|
|
|
4363
4371
|
/**
|
|
4364
4372
|
* 关联组件
|
|
4365
4373
|
*/
|
|
4366
|
-
e(this, "relatedIds", new
|
|
4374
|
+
e(this, "relatedIds", new s(u.dataObject, [], new ce({ type: oe.array, enable: !0 })));
|
|
4367
4375
|
/**
|
|
4368
4376
|
* 新增按钮文本
|
|
4369
4377
|
*/
|
|
@@ -4375,7 +4383,7 @@ class cs extends Yt {
|
|
|
4375
4383
|
/**
|
|
4376
4384
|
* 添加或保存的入参
|
|
4377
4385
|
*/
|
|
4378
|
-
e(this, "operateData", new
|
|
4386
|
+
e(this, "operateData", new s(u.dataObject, {}, new ce({ type: oe.object, enable: !0 })));
|
|
4379
4387
|
/**
|
|
4380
4388
|
* 是否隐藏
|
|
4381
4389
|
*/
|
|
@@ -4383,19 +4391,19 @@ class cs extends Yt {
|
|
|
4383
4391
|
/**
|
|
4384
4392
|
* 点击控件时调用事件
|
|
4385
4393
|
*/
|
|
4386
|
-
e(this, "click", new
|
|
4394
|
+
e(this, "click", new s(u.event, void 0, new k()));
|
|
4387
4395
|
/**
|
|
4388
4396
|
* 点击存模板时调用事件
|
|
4389
4397
|
*/
|
|
4390
|
-
e(this, "save", new
|
|
4398
|
+
e(this, "save", new s(u.event, void 0, new k()));
|
|
4391
4399
|
/**
|
|
4392
4400
|
* 点击添加模板时调用事件
|
|
4393
4401
|
*/
|
|
4394
|
-
e(this, "add", new
|
|
4402
|
+
e(this, "add", new s(u.event, void 0, new k()));
|
|
4395
4403
|
/**
|
|
4396
4404
|
* 下属选项
|
|
4397
4405
|
*/
|
|
4398
|
-
e(this, "optionItems", new
|
|
4406
|
+
e(this, "optionItems", new s(u.singleOption, [], new ce({ type: oe.array, enable: !0 })));
|
|
4399
4407
|
}
|
|
4400
4408
|
}
|
|
4401
4409
|
class ur extends Yt {
|
|
@@ -4421,11 +4429,11 @@ class fs extends Te {
|
|
|
4421
4429
|
/**
|
|
4422
4430
|
* url传入参数
|
|
4423
4431
|
*/
|
|
4424
|
-
e(this, "withQuery", new
|
|
4432
|
+
e(this, "withQuery", new s(u.placer, !1));
|
|
4425
4433
|
/**
|
|
4426
4434
|
* 页面加载完成时
|
|
4427
4435
|
*/
|
|
4428
|
-
e(this, "onLoaded", new
|
|
4436
|
+
e(this, "onLoaded", new s(u.event, void 0, new k()));
|
|
4429
4437
|
}
|
|
4430
4438
|
}
|
|
4431
4439
|
const Pe = { autoWidth: !0, inlineLayout: !0 }, lr = [
|
|
@@ -4463,23 +4471,23 @@ class tn extends $n {
|
|
|
4463
4471
|
/**
|
|
4464
4472
|
* 单元类型
|
|
4465
4473
|
*/
|
|
4466
|
-
e(this, "partName", new
|
|
4474
|
+
e(this, "partName", new s(u.placer, it.container));
|
|
4467
4475
|
/**
|
|
4468
4476
|
* 宽度
|
|
4469
4477
|
*/
|
|
4470
|
-
e(this, "cellWidth", new
|
|
4478
|
+
e(this, "cellWidth", new s(u.placer, ""));
|
|
4471
4479
|
/**
|
|
4472
4480
|
* 高度
|
|
4473
4481
|
*/
|
|
4474
|
-
e(this, "cellHeight", new
|
|
4482
|
+
e(this, "cellHeight", new s(u.placer, ""));
|
|
4475
4483
|
/**
|
|
4476
4484
|
* 自定义CSS样式
|
|
4477
4485
|
*/
|
|
4478
|
-
e(this, "customClass", new
|
|
4486
|
+
e(this, "customClass", new s(u.placer, []));
|
|
4479
4487
|
/**
|
|
4480
4488
|
* 组件外容器CSS样式
|
|
4481
4489
|
*/
|
|
4482
|
-
e(this, "componentWrapperClass", new
|
|
4490
|
+
e(this, "componentWrapperClass", new s(u.placer, []));
|
|
4483
4491
|
/**
|
|
4484
4492
|
* 子节点
|
|
4485
4493
|
*/
|
|
@@ -4587,11 +4595,11 @@ class xs extends Te {
|
|
|
4587
4595
|
/**
|
|
4588
4596
|
* 标签是否隐藏
|
|
4589
4597
|
*/
|
|
4590
|
-
e(this, "labelHidden", new
|
|
4598
|
+
e(this, "labelHidden", new s(u.placer, !1));
|
|
4591
4599
|
/**
|
|
4592
4600
|
* 标签水平对齐方式
|
|
4593
4601
|
*/
|
|
4594
|
-
e(this, "labelAlign", new
|
|
4602
|
+
e(this, "labelAlign", new s(u.placer, ""));
|
|
4595
4603
|
/**
|
|
4596
4604
|
* 标签水平对齐方式,继承了form的labelPosition,但设置无效
|
|
4597
4605
|
*/
|
|
@@ -4599,19 +4607,19 @@ class xs extends Te {
|
|
|
4599
4607
|
/**
|
|
4600
4608
|
* 标签宽度
|
|
4601
4609
|
*/
|
|
4602
|
-
e(this, "labelWidth", new
|
|
4610
|
+
e(this, "labelWidth", new s(u.placer, ""));
|
|
4603
4611
|
/**
|
|
4604
4612
|
* 标签图标样式
|
|
4605
4613
|
*/
|
|
4606
|
-
e(this, "labelIconClass", new
|
|
4614
|
+
e(this, "labelIconClass", new s(u.icon));
|
|
4607
4615
|
/**
|
|
4608
4616
|
* 标签图标位置
|
|
4609
4617
|
*/
|
|
4610
|
-
e(this, "labelIconPosition", new
|
|
4618
|
+
e(this, "labelIconPosition", new s(u.placer, Gi.rear));
|
|
4611
4619
|
/**
|
|
4612
4620
|
* 标签提示内容
|
|
4613
4621
|
*/
|
|
4614
|
-
e(this, "labelTooltip", new
|
|
4622
|
+
e(this, "labelTooltip", new s(u.placer, ""));
|
|
4615
4623
|
}
|
|
4616
4624
|
}
|
|
4617
4625
|
class As extends xs {
|
|
@@ -4628,11 +4636,11 @@ class As extends xs {
|
|
|
4628
4636
|
/**
|
|
4629
4637
|
* 前部插槽
|
|
4630
4638
|
*/
|
|
4631
|
-
e(this, "left", new
|
|
4639
|
+
e(this, "left", new s(u.slot, null, new ee({ allowDrag: !0 })));
|
|
4632
4640
|
/**
|
|
4633
4641
|
* 后部插槽
|
|
4634
4642
|
*/
|
|
4635
|
-
e(this, "right", new
|
|
4643
|
+
e(this, "right", new s(u.slot, null, new ee({ allowDrag: !0 })));
|
|
4636
4644
|
}
|
|
4637
4645
|
}
|
|
4638
4646
|
const cr = [
|
|
@@ -4720,11 +4728,11 @@ const cr = [
|
|
|
4720
4728
|
otherFields: vr,
|
|
4721
4729
|
allWidgets: Fs
|
|
4722
4730
|
}, Pt = (t, r) => {
|
|
4723
|
-
var
|
|
4731
|
+
var o;
|
|
4724
4732
|
if (!t || !r)
|
|
4725
4733
|
return !1;
|
|
4726
4734
|
let i = at(t == null ? void 0 : t.type);
|
|
4727
|
-
return !i || !(i != null && i.options) ? !1 : ((
|
|
4735
|
+
return !i || !(i != null && i.options) ? !1 : ((o = Vt(i == null ? void 0 : i.options)) == null ? void 0 : o.indexOf(r)) > -1;
|
|
4728
4736
|
}, at = (t) => {
|
|
4729
4737
|
var r;
|
|
4730
4738
|
return (r = Ds.allWidgets) == null ? void 0 : r.find((i) => i.type === t);
|
|
@@ -4737,8 +4745,8 @@ const cr = [
|
|
|
4737
4745
|
}, Ue = (t, r, i) => {
|
|
4738
4746
|
if (!t)
|
|
4739
4747
|
return Ee(t);
|
|
4740
|
-
var
|
|
4741
|
-
i && (l = i(
|
|
4748
|
+
var o = t == null ? void 0 : t.id, c = t.type + Lt(), l = c;
|
|
4749
|
+
i && (l = i(o, c));
|
|
4742
4750
|
const p = Ss(t);
|
|
4743
4751
|
return Os(t, l, r), p && (r != null && r.recordSource) && ft(t, { _source: p }), Ee(t);
|
|
4744
4752
|
}, Os = (t, r, i) => (bt(t, he.id) && (t.id = r), t.options = ks(t.options, r, i), t), ks = (t, r, i) => (bt(t, he.name) && (i == null ? void 0 : i.newName) != !1 && (t.name = r.replaceAll("-", "")), bt(t, he.label) && !(t != null && t.label) && (i == null ? void 0 : i.newLabel) != !1 && (t.label = r.replaceAll("-", "")), t), Co = (t) => {
|
|
@@ -4752,7 +4760,7 @@ const cr = [
|
|
|
4752
4760
|
function Bs() {
|
|
4753
4761
|
const t = (B) => ae.getOptions(B, "rowspan") || 1, r = (B) => ae.getOptions(B, "colspan") || 1, i = (B, P) => {
|
|
4754
4762
|
ae.setOptions(B, "rowspan", P);
|
|
4755
|
-
},
|
|
4763
|
+
}, o = (B, P) => {
|
|
4756
4764
|
ae.setOptions(B, "colspan", P);
|
|
4757
4765
|
}, c = (B, P, U) => {
|
|
4758
4766
|
let W = xe(B.rows[P]);
|
|
@@ -4837,10 +4845,10 @@ function Bs() {
|
|
|
4837
4845
|
for (let z = P; z < P + V; z++)
|
|
4838
4846
|
for (let H = U; H < U + W; H++) {
|
|
4839
4847
|
if (z === P && H === U) {
|
|
4840
|
-
|
|
4848
|
+
o(B[z].cols[H], W);
|
|
4841
4849
|
continue;
|
|
4842
4850
|
}
|
|
4843
|
-
B[z].cols[H].merged = !0,
|
|
4851
|
+
B[z].cols[H].merged = !0, o(B[z].cols[H], W), B[z].cols[H].widgetList = [];
|
|
4844
4852
|
}
|
|
4845
4853
|
}, h = (B, P, U, W, V) => {
|
|
4846
4854
|
for (let z = P; z < P + V; z++)
|
|
@@ -4854,11 +4862,11 @@ function Bs() {
|
|
|
4854
4862
|
}, v = (B, P, U, W, V) => {
|
|
4855
4863
|
for (let z = P; z < P + V; z++)
|
|
4856
4864
|
for (let H = U; H < U + W; H++)
|
|
4857
|
-
B[z].cols[H].merged = !1, i(B[z].cols[H], 1),
|
|
4865
|
+
B[z].cols[H].merged = !1, i(B[z].cols[H], 1), o(B[z].cols[H], 1);
|
|
4858
4866
|
}, F = (B, P, U, W, V) => {
|
|
4859
4867
|
for (let z = P; z < P + V; z++)
|
|
4860
4868
|
for (let H = U; H < U + W; H++)
|
|
4861
|
-
B[z].cols[H].merged = !1, i(B[z].cols[H], 1),
|
|
4869
|
+
B[z].cols[H].merged = !1, i(B[z].cols[H], 1), o(B[z].cols[H], 1);
|
|
4862
4870
|
}, g = (B, P, U, W) => {
|
|
4863
4871
|
let V = ae.getOptions(B[U].cols[0], "rowspan"), z = !1;
|
|
4864
4872
|
for (let X = 1; X < B[U].cols.length; X++)
|
|
@@ -4951,7 +4959,7 @@ function Bs() {
|
|
|
4951
4959
|
}) : P.cols.push(A()), P;
|
|
4952
4960
|
}, A = (B) => {
|
|
4953
4961
|
let P = B ?? xe(at(I.tableCol));
|
|
4954
|
-
return Ue(P), P.merged = !1,
|
|
4962
|
+
return Ue(P), P.merged = !1, o(P, 1), i(P, 1), P.widgetList.length = 0, P;
|
|
4955
4963
|
}, G = (B) => {
|
|
4956
4964
|
let P = B ?? xe(at(I.table));
|
|
4957
4965
|
return Ue(P), P;
|
|
@@ -4996,10 +5004,10 @@ function _s() {
|
|
|
4996
5004
|
let w = t();
|
|
4997
5005
|
return (h = Ee(b).tabs) == null || h.forEach((v) => {
|
|
4998
5006
|
var g;
|
|
4999
|
-
let F =
|
|
5007
|
+
let F = o(v);
|
|
5000
5008
|
(g = Ee(w).tabs) == null || g.push(F);
|
|
5001
5009
|
}), w;
|
|
5002
|
-
},
|
|
5010
|
+
}, o = (b) => {
|
|
5003
5011
|
var w = xe(b);
|
|
5004
5012
|
return Ue(w), ae.setOptions(w, he.isdefault, !1), w.widgetList = [], w;
|
|
5005
5013
|
};
|
|
@@ -5007,7 +5015,7 @@ function _s() {
|
|
|
5007
5015
|
initTab: t,
|
|
5008
5016
|
initCloneTab: i,
|
|
5009
5017
|
initTabPane: r,
|
|
5010
|
-
initCloneTabPane:
|
|
5018
|
+
initCloneTabPane: o,
|
|
5011
5019
|
addTabPaneOfTabs: (b, w) => {
|
|
5012
5020
|
let h = b == null ? void 0 : b.tabs;
|
|
5013
5021
|
return h || (h = []), w = w || r(), w && h.push(w), !0;
|
|
@@ -5048,10 +5056,10 @@ var Sn = {}, Ts = {
|
|
|
5048
5056
|
(function(i) {
|
|
5049
5057
|
t.exports = i();
|
|
5050
5058
|
})(function() {
|
|
5051
|
-
return function i(
|
|
5059
|
+
return function i(o, c, l) {
|
|
5052
5060
|
function p(b, w) {
|
|
5053
5061
|
if (!c[b]) {
|
|
5054
|
-
if (!
|
|
5062
|
+
if (!o[b]) {
|
|
5055
5063
|
var h = typeof It == "function" && It;
|
|
5056
5064
|
if (!w && h)
|
|
5057
5065
|
return h(b, !0);
|
|
@@ -5061,17 +5069,17 @@ var Sn = {}, Ts = {
|
|
|
5061
5069
|
throw v.code = "MODULE_NOT_FOUND", v;
|
|
5062
5070
|
}
|
|
5063
5071
|
var F = c[b] = { exports: {} };
|
|
5064
|
-
|
|
5065
|
-
var x =
|
|
5072
|
+
o[b][0].call(F.exports, function(g) {
|
|
5073
|
+
var x = o[b][1][g];
|
|
5066
5074
|
return p(x || g);
|
|
5067
|
-
}, F, F.exports, i,
|
|
5075
|
+
}, F, F.exports, i, o, c, l);
|
|
5068
5076
|
}
|
|
5069
5077
|
return c[b].exports;
|
|
5070
5078
|
}
|
|
5071
5079
|
for (var C = typeof It == "function" && It, E = 0; E < l.length; E++)
|
|
5072
5080
|
p(l[E]);
|
|
5073
5081
|
return p;
|
|
5074
|
-
}({ "./aesprim": [function(i,
|
|
5082
|
+
}({ "./aesprim": [function(i, o, c) {
|
|
5075
5083
|
(function(l, p) {
|
|
5076
5084
|
p(typeof c < "u" ? c : l.esprima = {});
|
|
5077
5085
|
})(this, function(l) {
|
|
@@ -6613,7 +6621,7 @@ var Sn = {}, Ts = {
|
|
|
6613
6621
|
return typeof Object.freeze == "function" && Object.freeze(a), a;
|
|
6614
6622
|
}();
|
|
6615
6623
|
});
|
|
6616
|
-
}, {}], 1: [function(i,
|
|
6624
|
+
}, {}], 1: [function(i, o, c) {
|
|
6617
6625
|
(function(l) {
|
|
6618
6626
|
var p = function() {
|
|
6619
6627
|
var C = {
|
|
@@ -7028,16 +7036,16 @@ Expecting ` + ue.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : se =
|
|
|
7028
7036
|
E[1] || (console.log("Usage: " + E[0] + " FILE"), l.exit(1));
|
|
7029
7037
|
var b = i("fs").readFileSync(i("path").normalize(E[1]), "utf8");
|
|
7030
7038
|
return c.parser.parse(b);
|
|
7031
|
-
}, typeof
|
|
7039
|
+
}, typeof o < "u" && i.main === o && c.main(l.argv.slice(1)));
|
|
7032
7040
|
}).call(this, i("_process"));
|
|
7033
|
-
}, { _process: 14, fs: 12, path: 13 }], 2: [function(i,
|
|
7034
|
-
|
|
7041
|
+
}, { _process: 14, fs: 12, path: 13 }], 2: [function(i, o, c) {
|
|
7042
|
+
o.exports = {
|
|
7035
7043
|
identifier: "[a-zA-Z_]+[a-zA-Z0-9_]*",
|
|
7036
7044
|
integer: "-?(?:0|[1-9][0-9]*)",
|
|
7037
7045
|
qq_string: '"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',
|
|
7038
7046
|
q_string: "'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"
|
|
7039
7047
|
};
|
|
7040
|
-
}, {}], 3: [function(i,
|
|
7048
|
+
}, {}], 3: [function(i, o, c) {
|
|
7041
7049
|
var l = i("./dict"), p = i("fs"), C = {
|
|
7042
7050
|
lex: {
|
|
7043
7051
|
macros: {
|
|
@@ -7131,8 +7139,8 @@ Expecting ` + ue.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : se =
|
|
|
7131
7139
|
]
|
|
7132
7140
|
}
|
|
7133
7141
|
};
|
|
7134
|
-
p.readFileSync && (C.moduleInclude = p.readFileSync(i.resolve("../include/module.js")), C.actionInclude = p.readFileSync(i.resolve("../include/action.js"))),
|
|
7135
|
-
}, { "./dict": 2, fs: 12 }], 4: [function(i,
|
|
7142
|
+
p.readFileSync && (C.moduleInclude = p.readFileSync(i.resolve("../include/module.js")), C.actionInclude = p.readFileSync(i.resolve("../include/action.js"))), o.exports = C;
|
|
7143
|
+
}, { "./dict": 2, fs: 12 }], 4: [function(i, o, c) {
|
|
7136
7144
|
var l = i("./aesprim"), p = i("./slice"), C = i("static-eval"), E = i("underscore").uniq, b = function() {
|
|
7137
7145
|
return this.initialize.apply(this, arguments);
|
|
7138
7146
|
};
|
|
@@ -7286,8 +7294,8 @@ Expecting ` + ue.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : se =
|
|
|
7286
7294
|
var d = String(O);
|
|
7287
7295
|
return d.match(/^-?[0-9]+$/) ? parseInt(d) : null;
|
|
7288
7296
|
}
|
|
7289
|
-
|
|
7290
|
-
}, { "..": "jsonpath", "./aesprim": "./aesprim", "./index": 5, "./slice": 7, "static-eval": 15, underscore: 12 }], 5: [function(i,
|
|
7297
|
+
o.exports = b;
|
|
7298
|
+
}, { "..": "jsonpath", "./aesprim": "./aesprim", "./index": 5, "./slice": 7, "static-eval": 15, underscore: 12 }], 5: [function(i, o, c) {
|
|
7291
7299
|
var l = i("assert"), p = i("./dict"), C = i("./parser"), E = i("./handlers"), b = function() {
|
|
7292
7300
|
this.initialize.apply(this, arguments);
|
|
7293
7301
|
};
|
|
@@ -7401,17 +7409,17 @@ Expecting ` + ue.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : se =
|
|
|
7401
7409
|
}
|
|
7402
7410
|
b.Handlers = E, b.Parser = C;
|
|
7403
7411
|
var h = new b();
|
|
7404
|
-
h.JSONPath = b,
|
|
7405
|
-
}, { "./dict": 2, "./handlers": 4, "./parser": 6, assert: 8 }], 6: [function(i,
|
|
7412
|
+
h.JSONPath = b, o.exports = h;
|
|
7413
|
+
}, { "./dict": 2, "./handlers": 4, "./parser": 6, assert: 8 }], 6: [function(i, o, c) {
|
|
7406
7414
|
var l = i("./grammar"), p = i("../generated/parser"), C = function() {
|
|
7407
7415
|
var E = new p.Parser(), b = E.parseError;
|
|
7408
7416
|
return E.yy.parseError = function() {
|
|
7409
7417
|
E.yy.ast && E.yy.ast.initialize(), b.apply(E, arguments);
|
|
7410
7418
|
}, E;
|
|
7411
7419
|
};
|
|
7412
|
-
C.grammar = l,
|
|
7413
|
-
}, { "../generated/parser": 1, "./grammar": 3 }], 7: [function(i,
|
|
7414
|
-
|
|
7420
|
+
C.grammar = l, o.exports = C;
|
|
7421
|
+
}, { "../generated/parser": 1, "./grammar": 3 }], 7: [function(i, o, c) {
|
|
7422
|
+
o.exports = function(p, C, E, b) {
|
|
7415
7423
|
if (typeof C == "string")
|
|
7416
7424
|
throw new Error("start cannot be a string");
|
|
7417
7425
|
if (typeof E == "string")
|
|
@@ -7432,8 +7440,8 @@ Expecting ` + ue.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : se =
|
|
|
7432
7440
|
function l(p) {
|
|
7433
7441
|
return String(p).match(/^[0-9]+$/) ? parseInt(p) : Number.isFinite(p) ? parseInt(p, 10) : 0;
|
|
7434
7442
|
}
|
|
7435
|
-
}, {}], 8: [function(i,
|
|
7436
|
-
var l = i("util/"), p = Array.prototype.slice, C = Object.prototype.hasOwnProperty, E =
|
|
7443
|
+
}, {}], 8: [function(i, o, c) {
|
|
7444
|
+
var l = i("util/"), p = Array.prototype.slice, C = Object.prototype.hasOwnProperty, E = o.exports = F;
|
|
7437
7445
|
E.AssertionError = function(y) {
|
|
7438
7446
|
this.name = "AssertionError", this.actual = y.actual, this.expected = y.expected, this.operator = y.operator, y.message ? (this.message = y.message, this.generatedMessage = !1) : (this.message = h(this), this.generatedMessage = !0);
|
|
7439
7447
|
var D = y.stackStartFunction || v;
|
|
@@ -7554,8 +7562,8 @@ Expecting ` + ue.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : se =
|
|
|
7554
7562
|
C.call(d, D) && y.push(D);
|
|
7555
7563
|
return y;
|
|
7556
7564
|
};
|
|
7557
|
-
}, { "util/": 11 }], 9: [function(i,
|
|
7558
|
-
typeof Object.create == "function" ?
|
|
7565
|
+
}, { "util/": 11 }], 9: [function(i, o, c) {
|
|
7566
|
+
typeof Object.create == "function" ? o.exports = function(p, C) {
|
|
7559
7567
|
p.super_ = C, p.prototype = Object.create(C.prototype, {
|
|
7560
7568
|
constructor: {
|
|
7561
7569
|
value: p,
|
|
@@ -7564,17 +7572,17 @@ Expecting ` + ue.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : se =
|
|
|
7564
7572
|
configurable: !0
|
|
7565
7573
|
}
|
|
7566
7574
|
});
|
|
7567
|
-
} :
|
|
7575
|
+
} : o.exports = function(p, C) {
|
|
7568
7576
|
p.super_ = C;
|
|
7569
7577
|
var E = function() {
|
|
7570
7578
|
};
|
|
7571
7579
|
E.prototype = C.prototype, p.prototype = new E(), p.prototype.constructor = p;
|
|
7572
7580
|
};
|
|
7573
|
-
}, {}], 10: [function(i,
|
|
7574
|
-
|
|
7581
|
+
}, {}], 10: [function(i, o, c) {
|
|
7582
|
+
o.exports = function(p) {
|
|
7575
7583
|
return p && typeof p == "object" && typeof p.copy == "function" && typeof p.fill == "function" && typeof p.readUInt8 == "function";
|
|
7576
7584
|
};
|
|
7577
|
-
}, {}], 11: [function(i,
|
|
7585
|
+
}, {}], 11: [function(i, o, c) {
|
|
7578
7586
|
(function(l, p) {
|
|
7579
7587
|
var C = /%[sdj%]/g;
|
|
7580
7588
|
c.format = function(L) {
|
|
@@ -7886,8 +7894,8 @@ Expecting ` + ue.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : se =
|
|
|
7886
7894
|
return Object.prototype.hasOwnProperty.call(L, $);
|
|
7887
7895
|
}
|
|
7888
7896
|
}).call(this, i("_process"), typeof An < "u" ? An : typeof self < "u" ? self : typeof window < "u" ? window : {});
|
|
7889
|
-
}, { "./support/isBuffer": 10, _process: 14, inherits: 9 }], 12: [function(i,
|
|
7890
|
-
}, {}], 13: [function(i,
|
|
7897
|
+
}, { "./support/isBuffer": 10, _process: 14, inherits: 9 }], 12: [function(i, o, c) {
|
|
7898
|
+
}, {}], 13: [function(i, o, c) {
|
|
7891
7899
|
(function(l) {
|
|
7892
7900
|
function p(w, h) {
|
|
7893
7901
|
for (var v = 0, F = w.length - 1; F >= 0; F--) {
|
|
@@ -8001,8 +8009,8 @@ Expecting ` + ue.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : se =
|
|
|
8001
8009
|
return h < 0 && (h = w.length + h), w.substr(h, v);
|
|
8002
8010
|
};
|
|
8003
8011
|
}).call(this, i("_process"));
|
|
8004
|
-
}, { _process: 14 }], 14: [function(i,
|
|
8005
|
-
var l =
|
|
8012
|
+
}, { _process: 14 }], 14: [function(i, o, c) {
|
|
8013
|
+
var l = o.exports = {}, p, C;
|
|
8006
8014
|
function E() {
|
|
8007
8015
|
throw new Error("setTimeout has not been defined");
|
|
8008
8016
|
}
|
|
@@ -8093,9 +8101,9 @@ Expecting ` + ue.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : se =
|
|
|
8093
8101
|
}, l.umask = function() {
|
|
8094
8102
|
return 0;
|
|
8095
8103
|
};
|
|
8096
|
-
}, {}], 15: [function(i,
|
|
8104
|
+
}, {}], 15: [function(i, o, c) {
|
|
8097
8105
|
var l = i("escodegen").generate;
|
|
8098
|
-
|
|
8106
|
+
o.exports = function(p, C) {
|
|
8099
8107
|
C || (C = {});
|
|
8100
8108
|
var E = {}, b = function w(h, v) {
|
|
8101
8109
|
if (h.type === "Literal")
|
|
@@ -8197,8 +8205,8 @@ Expecting ` + ue.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : se =
|
|
|
8197
8205
|
}(p);
|
|
8198
8206
|
return b === E ? void 0 : b;
|
|
8199
8207
|
};
|
|
8200
|
-
}, { escodegen: 12 }], jsonpath: [function(i,
|
|
8201
|
-
|
|
8208
|
+
}, { escodegen: 12 }], jsonpath: [function(i, o, c) {
|
|
8209
|
+
o.exports = i("./lib/index");
|
|
8202
8210
|
}, { "./lib/index": 5 }] }, {}, ["jsonpath"])("jsonpath");
|
|
8203
8211
|
});
|
|
8204
8212
|
})(Ts);
|
|
@@ -8208,9 +8216,9 @@ function Is(t, r, i) {
|
|
|
8208
8216
|
function wr(t, r, i) {
|
|
8209
8217
|
if (nn())
|
|
8210
8218
|
return Reflect.construct.apply(null, arguments);
|
|
8211
|
-
var
|
|
8212
|
-
|
|
8213
|
-
var c = new (t.bind.apply(t,
|
|
8219
|
+
var o = [null];
|
|
8220
|
+
o.push.apply(o, r);
|
|
8221
|
+
var c = new (t.bind.apply(t, o))();
|
|
8214
8222
|
return i && xt(c, i.prototype), c;
|
|
8215
8223
|
}
|
|
8216
8224
|
function nn() {
|
|
@@ -8226,20 +8234,20 @@ function nn() {
|
|
|
8226
8234
|
function On(t, r) {
|
|
8227
8235
|
var i = Object.keys(t);
|
|
8228
8236
|
if (Object.getOwnPropertySymbols) {
|
|
8229
|
-
var
|
|
8230
|
-
r && (
|
|
8237
|
+
var o = Object.getOwnPropertySymbols(t);
|
|
8238
|
+
r && (o = o.filter(function(c) {
|
|
8231
8239
|
return Object.getOwnPropertyDescriptor(t, c).enumerable;
|
|
8232
|
-
})), i.push.apply(i,
|
|
8240
|
+
})), i.push.apply(i, o);
|
|
8233
8241
|
}
|
|
8234
8242
|
return i;
|
|
8235
8243
|
}
|
|
8236
8244
|
function Ps(t) {
|
|
8237
8245
|
for (var r = 1; r < arguments.length; r++) {
|
|
8238
8246
|
var i = arguments[r] != null ? arguments[r] : {};
|
|
8239
|
-
r % 2 ? On(Object(i), !0).forEach(function(
|
|
8240
|
-
Rs(t,
|
|
8241
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : On(Object(i)).forEach(function(
|
|
8242
|
-
Object.defineProperty(t,
|
|
8247
|
+
r % 2 ? On(Object(i), !0).forEach(function(o) {
|
|
8248
|
+
Rs(t, o, i[o]);
|
|
8249
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : On(Object(i)).forEach(function(o) {
|
|
8250
|
+
Object.defineProperty(t, o, Object.getOwnPropertyDescriptor(i, o));
|
|
8243
8251
|
});
|
|
8244
8252
|
}
|
|
8245
8253
|
return t;
|
|
@@ -8249,9 +8257,9 @@ function Ls(t, r) {
|
|
|
8249
8257
|
return t;
|
|
8250
8258
|
var i = t[Symbol.toPrimitive];
|
|
8251
8259
|
if (i !== void 0) {
|
|
8252
|
-
var
|
|
8253
|
-
if (typeof
|
|
8254
|
-
return
|
|
8260
|
+
var o = i.call(t, r || "default");
|
|
8261
|
+
if (typeof o != "object")
|
|
8262
|
+
return o;
|
|
8255
8263
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
8256
8264
|
}
|
|
8257
8265
|
return (r === "string" ? String : Number)(t);
|
|
@@ -8273,8 +8281,8 @@ function dt(t, r) {
|
|
|
8273
8281
|
}
|
|
8274
8282
|
function kn(t, r) {
|
|
8275
8283
|
for (var i = 0; i < r.length; i++) {
|
|
8276
|
-
var
|
|
8277
|
-
|
|
8284
|
+
var o = r[i];
|
|
8285
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(t, gr(o.key), o);
|
|
8278
8286
|
}
|
|
8279
8287
|
}
|
|
8280
8288
|
function ht(t, r, i) {
|
|
@@ -8309,8 +8317,8 @@ function Ct(t) {
|
|
|
8309
8317
|
}, Ct(t);
|
|
8310
8318
|
}
|
|
8311
8319
|
function xt(t, r) {
|
|
8312
|
-
return xt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(
|
|
8313
|
-
return
|
|
8320
|
+
return xt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, c) {
|
|
8321
|
+
return o.__proto__ = c, o;
|
|
8314
8322
|
}, xt(t, r);
|
|
8315
8323
|
}
|
|
8316
8324
|
function Ms(t) {
|
|
@@ -8322,27 +8330,27 @@ function Ms(t) {
|
|
|
8322
8330
|
}
|
|
8323
8331
|
function zt(t) {
|
|
8324
8332
|
var r = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
8325
|
-
return zt = function(
|
|
8326
|
-
if (
|
|
8327
|
-
return
|
|
8328
|
-
if (typeof
|
|
8333
|
+
return zt = function(o) {
|
|
8334
|
+
if (o === null || !Ms(o))
|
|
8335
|
+
return o;
|
|
8336
|
+
if (typeof o != "function")
|
|
8329
8337
|
throw new TypeError("Super expression must either be null or a function");
|
|
8330
8338
|
if (typeof r < "u") {
|
|
8331
|
-
if (r.has(
|
|
8332
|
-
return r.get(
|
|
8333
|
-
r.set(
|
|
8339
|
+
if (r.has(o))
|
|
8340
|
+
return r.get(o);
|
|
8341
|
+
r.set(o, c);
|
|
8334
8342
|
}
|
|
8335
8343
|
function c() {
|
|
8336
|
-
return wr(
|
|
8344
|
+
return wr(o, arguments, Ct(this).constructor);
|
|
8337
8345
|
}
|
|
8338
|
-
return c.prototype = Object.create(
|
|
8346
|
+
return c.prototype = Object.create(o.prototype, {
|
|
8339
8347
|
constructor: {
|
|
8340
8348
|
value: c,
|
|
8341
8349
|
enumerable: !1,
|
|
8342
8350
|
writable: !0,
|
|
8343
8351
|
configurable: !0
|
|
8344
8352
|
}
|
|
8345
|
-
}), xt(c,
|
|
8353
|
+
}), xt(c, o);
|
|
8346
8354
|
}, zt(t);
|
|
8347
8355
|
}
|
|
8348
8356
|
function js(t) {
|
|
@@ -8381,9 +8389,9 @@ function br(t, r) {
|
|
|
8381
8389
|
}
|
|
8382
8390
|
function Wt(t, r) {
|
|
8383
8391
|
(r == null || r > t.length) && (r = t.length);
|
|
8384
|
-
for (var i = 0,
|
|
8385
|
-
|
|
8386
|
-
return
|
|
8392
|
+
for (var i = 0, o = new Array(r); i < r; i++)
|
|
8393
|
+
o[i] = t[i];
|
|
8394
|
+
return o;
|
|
8387
8395
|
}
|
|
8388
8396
|
function zs() {
|
|
8389
8397
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
@@ -8394,16 +8402,16 @@ function Ws(t, r) {
|
|
|
8394
8402
|
if (!i) {
|
|
8395
8403
|
if (Array.isArray(t) || (i = br(t)) || r && t && typeof t.length == "number") {
|
|
8396
8404
|
i && (t = i);
|
|
8397
|
-
var
|
|
8405
|
+
var o = 0, c = function() {
|
|
8398
8406
|
};
|
|
8399
8407
|
return {
|
|
8400
8408
|
s: c,
|
|
8401
8409
|
n: function() {
|
|
8402
|
-
return
|
|
8410
|
+
return o >= t.length ? {
|
|
8403
8411
|
done: !0
|
|
8404
8412
|
} : {
|
|
8405
8413
|
done: !1,
|
|
8406
|
-
value: t[
|
|
8414
|
+
value: t[o++]
|
|
8407
8415
|
};
|
|
8408
8416
|
},
|
|
8409
8417
|
e: function(E) {
|
|
@@ -8462,13 +8470,13 @@ var Ks = /* @__PURE__ */ function() {
|
|
|
8462
8470
|
* @param {?boolean} [first=false] Will add the hook to the top of the list (defaults to the bottom)
|
|
8463
8471
|
* @public
|
|
8464
8472
|
*/
|
|
8465
|
-
function(i,
|
|
8473
|
+
function(i, o, c) {
|
|
8466
8474
|
if (typeof arguments[0] != "string")
|
|
8467
8475
|
for (var l in arguments[0])
|
|
8468
8476
|
this.add(l, arguments[0][l], arguments[1]);
|
|
8469
8477
|
else
|
|
8470
8478
|
(Array.isArray(i) ? i : [i]).forEach(function(p) {
|
|
8471
|
-
this[p] = this[p] || [],
|
|
8479
|
+
this[p] = this[p] || [], o && this[p][c ? "unshift" : "push"](o);
|
|
8472
8480
|
}, this);
|
|
8473
8481
|
}
|
|
8474
8482
|
)
|
|
@@ -8483,9 +8491,9 @@ var Ks = /* @__PURE__ */ function() {
|
|
|
8483
8491
|
*/
|
|
8484
8492
|
}, {
|
|
8485
8493
|
key: "run",
|
|
8486
|
-
value: function(i,
|
|
8494
|
+
value: function(i, o) {
|
|
8487
8495
|
this[i] = this[i] || [], this[i].forEach(function(c) {
|
|
8488
|
-
c.call(
|
|
8496
|
+
c.call(o && o.context ? o.context : o, o);
|
|
8489
8497
|
});
|
|
8490
8498
|
}
|
|
8491
8499
|
}]);
|
|
@@ -8496,7 +8504,7 @@ var Ks = /* @__PURE__ */ function() {
|
|
|
8496
8504
|
return ht(t, [{
|
|
8497
8505
|
key: "register",
|
|
8498
8506
|
value: function() {
|
|
8499
|
-
for (var i = this,
|
|
8507
|
+
for (var i = this, o = arguments.length, c = new Array(o), l = 0; l < o; l++)
|
|
8500
8508
|
c[l] = arguments[l];
|
|
8501
8509
|
c.forEach(function(p) {
|
|
8502
8510
|
if (He(p) !== "object" || !p.name || !p.init)
|
|
@@ -8537,8 +8545,8 @@ var Ks = /* @__PURE__ */ function() {
|
|
|
8537
8545
|
* @throws
|
|
8538
8546
|
*/
|
|
8539
8547
|
function(i) {
|
|
8540
|
-
var
|
|
8541
|
-
throw
|
|
8548
|
+
var o = new Error(i + " at character " + this.index);
|
|
8549
|
+
throw o.index = this.index, o.description = i, o;
|
|
8542
8550
|
}
|
|
8543
8551
|
)
|
|
8544
8552
|
/**
|
|
@@ -8549,15 +8557,15 @@ var Ks = /* @__PURE__ */ function() {
|
|
|
8549
8557
|
*/
|
|
8550
8558
|
}, {
|
|
8551
8559
|
key: "runHook",
|
|
8552
|
-
value: function(i,
|
|
8560
|
+
value: function(i, o) {
|
|
8553
8561
|
if (t.hooks[i]) {
|
|
8554
8562
|
var c = {
|
|
8555
8563
|
context: this,
|
|
8556
|
-
node:
|
|
8564
|
+
node: o
|
|
8557
8565
|
};
|
|
8558
8566
|
return t.hooks.run(i, c), c.node;
|
|
8559
8567
|
}
|
|
8560
|
-
return
|
|
8568
|
+
return o;
|
|
8561
8569
|
}
|
|
8562
8570
|
/**
|
|
8563
8571
|
* Runs a given hook until one returns a node
|
|
@@ -8568,12 +8576,12 @@ var Ks = /* @__PURE__ */ function() {
|
|
|
8568
8576
|
key: "searchHook",
|
|
8569
8577
|
value: function(i) {
|
|
8570
8578
|
if (t.hooks[i]) {
|
|
8571
|
-
var
|
|
8579
|
+
var o = {
|
|
8572
8580
|
context: this
|
|
8573
8581
|
};
|
|
8574
8582
|
return t.hooks[i].find(function(c) {
|
|
8575
|
-
return c.call(
|
|
8576
|
-
}),
|
|
8583
|
+
return c.call(o.context, o), o.node;
|
|
8584
|
+
}), o.node;
|
|
8577
8585
|
}
|
|
8578
8586
|
}
|
|
8579
8587
|
/**
|
|
@@ -8594,11 +8602,11 @@ var Ks = /* @__PURE__ */ function() {
|
|
|
8594
8602
|
key: "parse",
|
|
8595
8603
|
value: function() {
|
|
8596
8604
|
this.runHook("before-all");
|
|
8597
|
-
var i = this.gobbleExpressions(),
|
|
8605
|
+
var i = this.gobbleExpressions(), o = i.length === 1 ? i[0] : {
|
|
8598
8606
|
type: t.COMPOUND,
|
|
8599
8607
|
body: i
|
|
8600
8608
|
};
|
|
8601
|
-
return this.runHook("after-all",
|
|
8609
|
+
return this.runHook("after-all", o);
|
|
8602
8610
|
}
|
|
8603
8611
|
/**
|
|
8604
8612
|
* top-level parser (but can be reused within as well)
|
|
@@ -8608,17 +8616,17 @@ var Ks = /* @__PURE__ */ function() {
|
|
|
8608
8616
|
}, {
|
|
8609
8617
|
key: "gobbleExpressions",
|
|
8610
8618
|
value: function(i) {
|
|
8611
|
-
for (var
|
|
8619
|
+
for (var o = [], c, l; this.index < this.expr.length; )
|
|
8612
8620
|
if (c = this.code, c === t.SEMCOL_CODE || c === t.COMMA_CODE)
|
|
8613
8621
|
this.index++;
|
|
8614
8622
|
else if (l = this.gobbleExpression())
|
|
8615
|
-
|
|
8623
|
+
o.push(l);
|
|
8616
8624
|
else if (this.index < this.expr.length) {
|
|
8617
8625
|
if (c === i)
|
|
8618
8626
|
break;
|
|
8619
8627
|
this.throwError('Unexpected "' + this.char + '"');
|
|
8620
8628
|
}
|
|
8621
|
-
return
|
|
8629
|
+
return o;
|
|
8622
8630
|
}
|
|
8623
8631
|
/**
|
|
8624
8632
|
* The main parsing function.
|
|
@@ -8641,10 +8649,10 @@ var Ks = /* @__PURE__ */ function() {
|
|
|
8641
8649
|
key: "gobbleBinaryOp",
|
|
8642
8650
|
value: function() {
|
|
8643
8651
|
this.gobbleSpaces();
|
|
8644
|
-
for (var i = this.expr.substr(this.index, t.max_binop_len),
|
|
8652
|
+
for (var i = this.expr.substr(this.index, t.max_binop_len), o = i.length; o > 0; ) {
|
|
8645
8653
|
if (t.binary_ops.hasOwnProperty(i) && (!t.isIdentifierStart(this.code) || this.index + i.length < this.expr.length && !t.isIdentifierPart(this.expr.charCodeAt(this.index + i.length))))
|
|
8646
|
-
return this.index +=
|
|
8647
|
-
i = i.substr(0, --
|
|
8654
|
+
return this.index += o, i;
|
|
8655
|
+
i = i.substr(0, --o);
|
|
8648
8656
|
}
|
|
8649
8657
|
return !1;
|
|
8650
8658
|
}
|
|
@@ -8656,29 +8664,29 @@ var Ks = /* @__PURE__ */ function() {
|
|
|
8656
8664
|
}, {
|
|
8657
8665
|
key: "gobbleBinaryExpression",
|
|
8658
8666
|
value: function() {
|
|
8659
|
-
var i,
|
|
8660
|
-
if (C = this.gobbleToken(), !C || (
|
|
8667
|
+
var i, o, c, l, p, C, E, b, w;
|
|
8668
|
+
if (C = this.gobbleToken(), !C || (o = this.gobbleBinaryOp(), !o))
|
|
8661
8669
|
return C;
|
|
8662
8670
|
for (p = {
|
|
8663
|
-
value:
|
|
8664
|
-
prec: t.binaryPrecedence(
|
|
8665
|
-
right_a: t.right_associative.has(
|
|
8666
|
-
}, E = this.gobbleToken(), E || this.throwError("Expected expression after " +
|
|
8667
|
-
if (c = t.binaryPrecedence(
|
|
8668
|
-
this.index -=
|
|
8671
|
+
value: o,
|
|
8672
|
+
prec: t.binaryPrecedence(o),
|
|
8673
|
+
right_a: t.right_associative.has(o)
|
|
8674
|
+
}, E = this.gobbleToken(), E || this.throwError("Expected expression after " + o), l = [C, p, E]; o = this.gobbleBinaryOp(); ) {
|
|
8675
|
+
if (c = t.binaryPrecedence(o), c === 0) {
|
|
8676
|
+
this.index -= o.length;
|
|
8669
8677
|
break;
|
|
8670
8678
|
}
|
|
8671
8679
|
p = {
|
|
8672
|
-
value:
|
|
8680
|
+
value: o,
|
|
8673
8681
|
prec: c,
|
|
8674
|
-
right_a: t.right_associative.has(
|
|
8675
|
-
}, w =
|
|
8682
|
+
right_a: t.right_associative.has(o)
|
|
8683
|
+
}, w = o;
|
|
8676
8684
|
for (var h = function(F) {
|
|
8677
8685
|
return p.right_a && F.right_a ? c > F.prec : c <= F.prec;
|
|
8678
8686
|
}; l.length > 2 && h(l[l.length - 2]); )
|
|
8679
|
-
E = l.pop(),
|
|
8687
|
+
E = l.pop(), o = l.pop().value, C = l.pop(), i = {
|
|
8680
8688
|
type: t.BINARY_EXP,
|
|
8681
|
-
operator:
|
|
8689
|
+
operator: o,
|
|
8682
8690
|
left: C,
|
|
8683
8691
|
right: E
|
|
8684
8692
|
}, l.push(i);
|
|
@@ -8701,7 +8709,7 @@ var Ks = /* @__PURE__ */ function() {
|
|
|
8701
8709
|
}, {
|
|
8702
8710
|
key: "gobbleToken",
|
|
8703
8711
|
value: function() {
|
|
8704
|
-
var i,
|
|
8712
|
+
var i, o, c, l;
|
|
8705
8713
|
if (this.gobbleSpaces(), l = this.searchHook("gobble-token"), l)
|
|
8706
8714
|
return this.runHook("after-token", l);
|
|
8707
8715
|
if (i = this.code, t.isDecimalDigit(i) || i === t.PERIOD_CODE)
|
|
@@ -8711,18 +8719,18 @@ var Ks = /* @__PURE__ */ function() {
|
|
|
8711
8719
|
else if (i === t.OBRACK_CODE)
|
|
8712
8720
|
l = this.gobbleArray();
|
|
8713
8721
|
else {
|
|
8714
|
-
for (
|
|
8715
|
-
if (t.unary_ops.hasOwnProperty(
|
|
8722
|
+
for (o = this.expr.substr(this.index, t.max_unop_len), c = o.length; c > 0; ) {
|
|
8723
|
+
if (t.unary_ops.hasOwnProperty(o) && (!t.isIdentifierStart(this.code) || this.index + o.length < this.expr.length && !t.isIdentifierPart(this.expr.charCodeAt(this.index + o.length)))) {
|
|
8716
8724
|
this.index += c;
|
|
8717
8725
|
var p = this.gobbleToken();
|
|
8718
8726
|
return p || this.throwError("missing unaryOp argument"), this.runHook("after-token", {
|
|
8719
8727
|
type: t.UNARY_EXP,
|
|
8720
|
-
operator:
|
|
8728
|
+
operator: o,
|
|
8721
8729
|
argument: p,
|
|
8722
8730
|
prefix: !0
|
|
8723
8731
|
});
|
|
8724
8732
|
}
|
|
8725
|
-
|
|
8733
|
+
o = o.substr(0, --c);
|
|
8726
8734
|
}
|
|
8727
8735
|
t.isIdentifierStart(i) ? (l = this.gobbleIdentifier(), t.literals.hasOwnProperty(l.name) ? l = {
|
|
8728
8736
|
type: t.LITERAL,
|
|
@@ -8746,28 +8754,28 @@ var Ks = /* @__PURE__ */ function() {
|
|
|
8746
8754
|
key: "gobbleTokenProperty",
|
|
8747
8755
|
value: function(i) {
|
|
8748
8756
|
this.gobbleSpaces();
|
|
8749
|
-
for (var
|
|
8757
|
+
for (var o = this.code; o === t.PERIOD_CODE || o === t.OBRACK_CODE || o === t.OPAREN_CODE || o === t.QUMARK_CODE; ) {
|
|
8750
8758
|
var c = void 0;
|
|
8751
|
-
if (
|
|
8759
|
+
if (o === t.QUMARK_CODE) {
|
|
8752
8760
|
if (this.expr.charCodeAt(this.index + 1) !== t.PERIOD_CODE)
|
|
8753
8761
|
break;
|
|
8754
|
-
c = !0, this.index += 2, this.gobbleSpaces(),
|
|
8762
|
+
c = !0, this.index += 2, this.gobbleSpaces(), o = this.code;
|
|
8755
8763
|
}
|
|
8756
|
-
this.index++,
|
|
8764
|
+
this.index++, o === t.OBRACK_CODE ? (i = {
|
|
8757
8765
|
type: t.MEMBER_EXP,
|
|
8758
8766
|
computed: !0,
|
|
8759
8767
|
object: i,
|
|
8760
8768
|
property: this.gobbleExpression()
|
|
8761
|
-
}, this.gobbleSpaces(),
|
|
8769
|
+
}, this.gobbleSpaces(), o = this.code, o !== t.CBRACK_CODE && this.throwError("Unclosed ["), this.index++) : o === t.OPAREN_CODE ? i = {
|
|
8762
8770
|
type: t.CALL_EXP,
|
|
8763
8771
|
arguments: this.gobbleArguments(t.CPAREN_CODE),
|
|
8764
8772
|
callee: i
|
|
8765
|
-
} : (
|
|
8773
|
+
} : (o === t.PERIOD_CODE || c) && (c && this.index--, this.gobbleSpaces(), i = {
|
|
8766
8774
|
type: t.MEMBER_EXP,
|
|
8767
8775
|
computed: !1,
|
|
8768
8776
|
object: i,
|
|
8769
8777
|
property: this.gobbleIdentifier()
|
|
8770
|
-
}), c && (i.optional = !0), this.gobbleSpaces(),
|
|
8778
|
+
}), c && (i.optional = !0), this.gobbleSpaces(), o = this.code;
|
|
8771
8779
|
}
|
|
8772
8780
|
return i;
|
|
8773
8781
|
}
|
|
@@ -8779,13 +8787,13 @@ var Ks = /* @__PURE__ */ function() {
|
|
|
8779
8787
|
}, {
|
|
8780
8788
|
key: "gobbleNumericLiteral",
|
|
8781
8789
|
value: function() {
|
|
8782
|
-
for (var i = "",
|
|
8790
|
+
for (var i = "", o, c; t.isDecimalDigit(this.code); )
|
|
8783
8791
|
i += this.expr.charAt(this.index++);
|
|
8784
8792
|
if (this.code === t.PERIOD_CODE)
|
|
8785
8793
|
for (i += this.expr.charAt(this.index++); t.isDecimalDigit(this.code); )
|
|
8786
8794
|
i += this.expr.charAt(this.index++);
|
|
8787
|
-
if (
|
|
8788
|
-
for (i += this.expr.charAt(this.index++),
|
|
8795
|
+
if (o = this.char, o === "e" || o === "E") {
|
|
8796
|
+
for (i += this.expr.charAt(this.index++), o = this.char, (o === "+" || o === "-") && (i += this.expr.charAt(this.index++)); t.isDecimalDigit(this.code); )
|
|
8789
8797
|
i += this.expr.charAt(this.index++);
|
|
8790
8798
|
t.isDecimalDigit(this.expr.charCodeAt(this.index - 1)) || this.throwError("Expected exponent (" + i + this.char + ")");
|
|
8791
8799
|
}
|
|
@@ -8803,7 +8811,7 @@ var Ks = /* @__PURE__ */ function() {
|
|
|
8803
8811
|
}, {
|
|
8804
8812
|
key: "gobbleStringLiteral",
|
|
8805
8813
|
value: function() {
|
|
8806
|
-
for (var i = "",
|
|
8814
|
+
for (var i = "", o = this.index, c = this.expr.charAt(this.index++), l = !1; this.index < this.expr.length; ) {
|
|
8807
8815
|
var p = this.expr.charAt(this.index++);
|
|
8808
8816
|
if (p === c) {
|
|
8809
8817
|
l = !0;
|
|
@@ -8838,7 +8846,7 @@ var Ks = /* @__PURE__ */ function() {
|
|
|
8838
8846
|
return l || this.throwError('Unclosed quote after "' + i + '"'), {
|
|
8839
8847
|
type: t.LITERAL,
|
|
8840
8848
|
value: i,
|
|
8841
|
-
raw: this.expr.substring(
|
|
8849
|
+
raw: this.expr.substring(o, this.index)
|
|
8842
8850
|
};
|
|
8843
8851
|
}
|
|
8844
8852
|
/**
|
|
@@ -8851,12 +8859,12 @@ var Ks = /* @__PURE__ */ function() {
|
|
|
8851
8859
|
}, {
|
|
8852
8860
|
key: "gobbleIdentifier",
|
|
8853
8861
|
value: function() {
|
|
8854
|
-
var i = this.code,
|
|
8862
|
+
var i = this.code, o = this.index;
|
|
8855
8863
|
for (t.isIdentifierStart(i) ? this.index++ : this.throwError("Unexpected " + this.char); this.index < this.expr.length && (i = this.code, t.isIdentifierPart(i)); )
|
|
8856
8864
|
this.index++;
|
|
8857
8865
|
return {
|
|
8858
8866
|
type: t.IDENTIFIER,
|
|
8859
|
-
name: this.expr.slice(
|
|
8867
|
+
name: this.expr.slice(o, this.index)
|
|
8860
8868
|
};
|
|
8861
8869
|
}
|
|
8862
8870
|
/**
|
|
@@ -8871,28 +8879,28 @@ var Ks = /* @__PURE__ */ function() {
|
|
|
8871
8879
|
}, {
|
|
8872
8880
|
key: "gobbleArguments",
|
|
8873
8881
|
value: function(i) {
|
|
8874
|
-
for (var
|
|
8882
|
+
for (var o = [], c = !1, l = 0; this.index < this.expr.length; ) {
|
|
8875
8883
|
this.gobbleSpaces();
|
|
8876
8884
|
var p = this.code;
|
|
8877
8885
|
if (p === i) {
|
|
8878
|
-
c = !0, this.index++, i === t.CPAREN_CODE && l && l >=
|
|
8886
|
+
c = !0, this.index++, i === t.CPAREN_CODE && l && l >= o.length && this.throwError("Unexpected token " + String.fromCharCode(i));
|
|
8879
8887
|
break;
|
|
8880
8888
|
} else if (p === t.COMMA_CODE) {
|
|
8881
|
-
if (this.index++, l++, l !==
|
|
8889
|
+
if (this.index++, l++, l !== o.length) {
|
|
8882
8890
|
if (i === t.CPAREN_CODE)
|
|
8883
8891
|
this.throwError("Unexpected token ,");
|
|
8884
8892
|
else if (i === t.CBRACK_CODE)
|
|
8885
|
-
for (var C =
|
|
8886
|
-
|
|
8893
|
+
for (var C = o.length; C < l; C++)
|
|
8894
|
+
o.push(null);
|
|
8887
8895
|
}
|
|
8888
|
-
} else if (
|
|
8896
|
+
} else if (o.length !== l && l !== 0)
|
|
8889
8897
|
this.throwError("Expected comma");
|
|
8890
8898
|
else {
|
|
8891
8899
|
var E = this.gobbleExpression();
|
|
8892
|
-
(!E || E.type === t.COMPOUND) && this.throwError("Expected comma"),
|
|
8900
|
+
(!E || E.type === t.COMPOUND) && this.throwError("Expected comma"), o.push(E);
|
|
8893
8901
|
}
|
|
8894
8902
|
}
|
|
8895
|
-
return c || this.throwError("Expected " + String.fromCharCode(i)),
|
|
8903
|
+
return c || this.throwError("Expected " + String.fromCharCode(i)), o;
|
|
8896
8904
|
}
|
|
8897
8905
|
/**
|
|
8898
8906
|
* Responsible for parsing a group of things within parentheses `()`
|
|
@@ -8969,8 +8977,8 @@ var Ks = /* @__PURE__ */ function() {
|
|
|
8969
8977
|
*/
|
|
8970
8978
|
}, {
|
|
8971
8979
|
key: "addBinaryOp",
|
|
8972
|
-
value: function(i,
|
|
8973
|
-
return t.max_binop_len = Math.max(i.length, t.max_binop_len), t.binary_ops[i] =
|
|
8980
|
+
value: function(i, o, c) {
|
|
8981
|
+
return t.max_binop_len = Math.max(i.length, t.max_binop_len), t.binary_ops[i] = o, c ? t.right_associative.add(i) : t.right_associative.delete(i), t;
|
|
8974
8982
|
}
|
|
8975
8983
|
/**
|
|
8976
8984
|
* @method addIdentifierChar
|
|
@@ -8990,8 +8998,8 @@ var Ks = /* @__PURE__ */ function() {
|
|
|
8990
8998
|
*/
|
|
8991
8999
|
}, {
|
|
8992
9000
|
key: "addLiteral",
|
|
8993
|
-
value: function(i,
|
|
8994
|
-
return t.literals[i] =
|
|
9001
|
+
value: function(i, o) {
|
|
9002
|
+
return t.literals[i] = o, t;
|
|
8995
9003
|
}
|
|
8996
9004
|
/**
|
|
8997
9005
|
* @method removeUnaryOp
|
|
@@ -9073,8 +9081,8 @@ var Ks = /* @__PURE__ */ function() {
|
|
|
9073
9081
|
}, {
|
|
9074
9082
|
key: "getMaxKeyLen",
|
|
9075
9083
|
value: function(i) {
|
|
9076
|
-
return Math.max.apply(Math, [0].concat(rn(Object.keys(i).map(function(
|
|
9077
|
-
return
|
|
9084
|
+
return Math.max.apply(Math, [0].concat(rn(Object.keys(i).map(function(o) {
|
|
9085
|
+
return o.length;
|
|
9078
9086
|
}))));
|
|
9079
9087
|
}
|
|
9080
9088
|
/**
|
|
@@ -9227,14 +9235,14 @@ pt.Jsep = $e;
|
|
|
9227
9235
|
var Xs = "ConditionalExpression", Js = {
|
|
9228
9236
|
name: "ternary",
|
|
9229
9237
|
init: function(r) {
|
|
9230
|
-
r.hooks.add("after-expression", function(
|
|
9231
|
-
if (
|
|
9238
|
+
r.hooks.add("after-expression", function(o) {
|
|
9239
|
+
if (o.node && this.code === r.QUMARK_CODE) {
|
|
9232
9240
|
this.index++;
|
|
9233
|
-
var c =
|
|
9241
|
+
var c = o.node, l = this.gobbleExpression();
|
|
9234
9242
|
if (l || this.throwError("Expected expression"), this.gobbleSpaces(), this.code === r.COLON_CODE) {
|
|
9235
9243
|
this.index++;
|
|
9236
9244
|
var p = this.gobbleExpression();
|
|
9237
|
-
if (p || this.throwError("Expected expression"),
|
|
9245
|
+
if (p || this.throwError("Expected expression"), o.node = {
|
|
9238
9246
|
type: Xs,
|
|
9239
9247
|
test: c,
|
|
9240
9248
|
consequent: l,
|
|
@@ -9242,7 +9250,7 @@ var Xs = "ConditionalExpression", Js = {
|
|
|
9242
9250
|
}, c.operator && r.binary_ops[c.operator] <= 0.9) {
|
|
9243
9251
|
for (var C = c; C.right.operator && r.binary_ops[C.right.operator] <= 0.9; )
|
|
9244
9252
|
C = C.right;
|
|
9245
|
-
|
|
9253
|
+
o.node.test = C.right, C.right = o.node, o.node = c;
|
|
9246
9254
|
}
|
|
9247
9255
|
} else
|
|
9248
9256
|
this.throwError("Expected :");
|
|
@@ -9254,7 +9262,7 @@ pt.plugins.register(Js);
|
|
|
9254
9262
|
var Bn = 47, Qs = 92, Ys = {
|
|
9255
9263
|
name: "regex",
|
|
9256
9264
|
init: function(r) {
|
|
9257
|
-
r.hooks.add("gobble-token", function(
|
|
9265
|
+
r.hooks.add("gobble-token", function(o) {
|
|
9258
9266
|
if (this.code === Bn) {
|
|
9259
9267
|
for (var c = ++this.index, l = !1; this.index < this.expr.length; ) {
|
|
9260
9268
|
if (this.code === Bn && !l) {
|
|
@@ -9271,11 +9279,11 @@ var Bn = 47, Qs = 92, Ys = {
|
|
|
9271
9279
|
} catch (w) {
|
|
9272
9280
|
this.throwError(w.message);
|
|
9273
9281
|
}
|
|
9274
|
-
return
|
|
9282
|
+
return o.node = {
|
|
9275
9283
|
type: r.LITERAL,
|
|
9276
9284
|
value: b,
|
|
9277
9285
|
raw: this.expr.slice(c - 1, this.index)
|
|
9278
|
-
},
|
|
9286
|
+
}, o.node = this.gobbleTokenProperty(o.node), o.node;
|
|
9279
9287
|
}
|
|
9280
9288
|
this.code === r.OBRACK_CODE ? l = !0 : l && this.code === r.CBRACK_CODE && (l = !1), this.index += this.code === Qs ? 2 : 1;
|
|
9281
9289
|
}
|
|
@@ -9316,11 +9324,11 @@ var Bn = 47, Qs = 92, Ys = {
|
|
|
9316
9324
|
});
|
|
9317
9325
|
}
|
|
9318
9326
|
}), r.hooks.add("after-expression", function(l) {
|
|
9319
|
-
l.node &&
|
|
9327
|
+
l.node && o(l.node);
|
|
9320
9328
|
});
|
|
9321
|
-
function
|
|
9322
|
-
ct.assignmentOperators.has(c.operator) ? (c.type = "AssignmentExpression",
|
|
9323
|
-
l && He(l) === "object" &&
|
|
9329
|
+
function o(c) {
|
|
9330
|
+
ct.assignmentOperators.has(c.operator) ? (c.type = "AssignmentExpression", o(c.left), o(c.right)) : c.operator || Object.values(c).forEach(function(l) {
|
|
9331
|
+
l && He(l) === "object" && o(l);
|
|
9324
9332
|
});
|
|
9325
9333
|
}
|
|
9326
9334
|
}
|
|
@@ -9333,23 +9341,23 @@ function Kt(t, r) {
|
|
|
9333
9341
|
}
|
|
9334
9342
|
var eo = /* @__PURE__ */ function(t) {
|
|
9335
9343
|
function r(i) {
|
|
9336
|
-
var
|
|
9337
|
-
return dt(this, r),
|
|
9344
|
+
var o;
|
|
9345
|
+
return dt(this, r), o = Is(this, r, ['JSONPath should not be called with "new" (it prevents return of (unwrapped) scalar values)']), o.avoidNew = !0, o.value = i, o.name = "NewError", o;
|
|
9338
9346
|
}
|
|
9339
9347
|
return Ns(r, t), ht(r);
|
|
9340
9348
|
}(/* @__PURE__ */ zt(Error));
|
|
9341
|
-
function ye(t, r, i,
|
|
9349
|
+
function ye(t, r, i, o, c) {
|
|
9342
9350
|
if (!(this instanceof ye))
|
|
9343
9351
|
try {
|
|
9344
|
-
return new ye(t, r, i,
|
|
9352
|
+
return new ye(t, r, i, o, c);
|
|
9345
9353
|
} catch (E) {
|
|
9346
9354
|
if (!E.avoidNew)
|
|
9347
9355
|
throw E;
|
|
9348
9356
|
return E.value;
|
|
9349
9357
|
}
|
|
9350
|
-
typeof t == "string" && (c =
|
|
9358
|
+
typeof t == "string" && (c = o, o = i, i = r, r = t, t = null);
|
|
9351
9359
|
var l = t && He(t) === "object";
|
|
9352
|
-
if (t = t || {}, this.json = t.json || i, this.path = t.path || r, this.resultType = t.resultType || "value", this.flatten = t.flatten || !1, this.wrap = Ie.call(t, "wrap") ? t.wrap : !0, this.sandbox = t.sandbox || {}, this.eval = t.eval === void 0 ? "safe" : t.eval, this.ignoreEvalErrors = typeof t.ignoreEvalErrors > "u" ? !1 : t.ignoreEvalErrors, this.parent = t.parent || null, this.parentProperty = t.parentProperty || null, this.callback = t.callback ||
|
|
9360
|
+
if (t = t || {}, this.json = t.json || i, this.path = t.path || r, this.resultType = t.resultType || "value", this.flatten = t.flatten || !1, this.wrap = Ie.call(t, "wrap") ? t.wrap : !0, this.sandbox = t.sandbox || {}, this.eval = t.eval === void 0 ? "safe" : t.eval, this.ignoreEvalErrors = typeof t.ignoreEvalErrors > "u" ? !1 : t.ignoreEvalErrors, this.parent = t.parent || null, this.parentProperty = t.parentProperty || null, this.callback = t.callback || o || null, this.otherTypeCallback = t.otherTypeCallback || c || function() {
|
|
9353
9361
|
throw new TypeError("You must supply an otherTypeCallback callback option with the @other() operator.");
|
|
9354
9362
|
}, t.autostart !== !1) {
|
|
9355
9363
|
var p = {
|
|
@@ -9362,9 +9370,9 @@ function ye(t, r, i, s, c) {
|
|
|
9362
9370
|
return C;
|
|
9363
9371
|
}
|
|
9364
9372
|
}
|
|
9365
|
-
ye.prototype.evaluate = function(t, r, i,
|
|
9373
|
+
ye.prototype.evaluate = function(t, r, i, o) {
|
|
9366
9374
|
var c = this, l = this.parent, p = this.parentProperty, C = this.flatten, E = this.wrap;
|
|
9367
|
-
if (this.currResultType = this.resultType, this.currEval = this.eval, this.currSandbox = this.sandbox, i = i || this.callback, this.currOtherTypeCallback =
|
|
9375
|
+
if (this.currResultType = this.resultType, this.currEval = this.eval, this.currSandbox = this.sandbox, i = i || this.callback, this.currOtherTypeCallback = o || this.otherTypeCallback, r = r || this.json, t = t || this.path, t && He(t) === "object" && !Array.isArray(t)) {
|
|
9368
9376
|
if (!t.path && t.path !== "")
|
|
9369
9377
|
throw new TypeError('You must supply a "path" property when providing an object argument to JSONPath.evaluate().');
|
|
9370
9378
|
if (!Ie.call(t, "json"))
|
|
@@ -9405,17 +9413,17 @@ ye.prototype._getPreferredOutput = function(t) {
|
|
|
9405
9413
|
};
|
|
9406
9414
|
ye.prototype._handleCallback = function(t, r, i) {
|
|
9407
9415
|
if (r) {
|
|
9408
|
-
var
|
|
9409
|
-
t.path = typeof t.path == "string" ? t.path : ye.toPathString(t.path), r(
|
|
9416
|
+
var o = this._getPreferredOutput(t);
|
|
9417
|
+
t.path = typeof t.path == "string" ? t.path : ye.toPathString(t.path), r(o, i, t);
|
|
9410
9418
|
}
|
|
9411
9419
|
};
|
|
9412
|
-
ye.prototype._trace = function(t, r, i,
|
|
9420
|
+
ye.prototype._trace = function(t, r, i, o, c, l, p, C) {
|
|
9413
9421
|
var E = this, b;
|
|
9414
9422
|
if (!t.length)
|
|
9415
9423
|
return b = {
|
|
9416
9424
|
path: i,
|
|
9417
9425
|
value: r,
|
|
9418
|
-
parent:
|
|
9426
|
+
parent: o,
|
|
9419
9427
|
parentProperty: c,
|
|
9420
9428
|
hasArrExpr: p
|
|
9421
9429
|
}, this._handleCallback(b, l, "value"), b;
|
|
@@ -9432,7 +9440,7 @@ ye.prototype._trace = function(t, r, i, s, c, l, p, C) {
|
|
|
9432
9440
|
F(E._trace(h, r[P], rt(i, P), r, P, l, !0, !0));
|
|
9433
9441
|
});
|
|
9434
9442
|
else if (w === "..")
|
|
9435
|
-
F(this._trace(h, r, i,
|
|
9443
|
+
F(this._trace(h, r, i, o, c, l, p)), this._walk(r, function(P) {
|
|
9436
9444
|
He(r[P]) === "object" && F(E._trace(t.slice(), r[P], rt(i, P), r, P, l, !0));
|
|
9437
9445
|
});
|
|
9438
9446
|
else {
|
|
@@ -9446,27 +9454,27 @@ ye.prototype._trace = function(t, r, i, s, c, l, p, C) {
|
|
|
9446
9454
|
return b = {
|
|
9447
9455
|
path: rt(i, w),
|
|
9448
9456
|
value: c,
|
|
9449
|
-
parent:
|
|
9457
|
+
parent: o,
|
|
9450
9458
|
parentProperty: null
|
|
9451
9459
|
}, this._handleCallback(b, l, "property"), b;
|
|
9452
9460
|
if (w === "$")
|
|
9453
9461
|
F(this._trace(h, r, i, null, null, l, p));
|
|
9454
9462
|
else if (/^(\x2D?[0-9]*):(\x2D?[0-9]*):?([0-9]*)$/.test(w))
|
|
9455
|
-
F(this._slice(w, h, r, i,
|
|
9463
|
+
F(this._slice(w, h, r, i, o, c, l));
|
|
9456
9464
|
else if (w.indexOf("?(") === 0) {
|
|
9457
9465
|
if (this.currEval === !1)
|
|
9458
9466
|
throw new Error("Eval [?(expr)] prevented in JSONPath expression.");
|
|
9459
9467
|
var g = w.replace(/^\?\(((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?)\)$/, "$1"), x = /@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])?((?:[\0->@-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)['\[](\??\((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\))(?!(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])\)\])['\]]/g.exec(g);
|
|
9460
9468
|
x ? this._walk(r, function(P) {
|
|
9461
|
-
var U = [x[2]], W = x[1] ? r[P][x[1]] : r[P], V = E._trace(U, W, i,
|
|
9469
|
+
var U = [x[2]], W = x[1] ? r[P][x[1]] : r[P], V = E._trace(U, W, i, o, c, l, !0);
|
|
9462
9470
|
V.length > 0 && F(E._trace(h, r[P], rt(i, P), r, P, l, !0));
|
|
9463
9471
|
}) : this._walk(r, function(P) {
|
|
9464
|
-
E._eval(g, r[P], P, i,
|
|
9472
|
+
E._eval(g, r[P], P, i, o, c) && F(E._trace(h, r[P], rt(i, P), r, P, l, !0));
|
|
9465
9473
|
});
|
|
9466
9474
|
} else if (w[0] === "(") {
|
|
9467
9475
|
if (this.currEval === !1)
|
|
9468
9476
|
throw new Error("Eval [(expr)] prevented in JSONPath expression.");
|
|
9469
|
-
F(this._trace(Kt(this._eval(w, r, i[i.length - 1], i.slice(0, -1),
|
|
9477
|
+
F(this._trace(Kt(this._eval(w, r, i[i.length - 1], i.slice(0, -1), o, c), h), r, i, o, c, l, p));
|
|
9470
9478
|
} else if (w[0] === "@") {
|
|
9471
9479
|
var f = !1, _ = w.slice(1, -2);
|
|
9472
9480
|
switch (_) {
|
|
@@ -9495,7 +9503,7 @@ ye.prototype._trace = function(t, r, i, s, c, l, p, C) {
|
|
|
9495
9503
|
Array.isArray(r) && (f = !0);
|
|
9496
9504
|
break;
|
|
9497
9505
|
case "other":
|
|
9498
|
-
f = this.currOtherTypeCallback(r, i,
|
|
9506
|
+
f = this.currOtherTypeCallback(r, i, o, c);
|
|
9499
9507
|
break;
|
|
9500
9508
|
case "null":
|
|
9501
9509
|
r === null && (f = !0);
|
|
@@ -9507,7 +9515,7 @@ ye.prototype._trace = function(t, r, i, s, c, l, p, C) {
|
|
|
9507
9515
|
return b = {
|
|
9508
9516
|
path: i,
|
|
9509
9517
|
value: r,
|
|
9510
|
-
parent:
|
|
9518
|
+
parent: o,
|
|
9511
9519
|
parentProperty: c
|
|
9512
9520
|
}, this._handleCallback(b, l, "value"), b;
|
|
9513
9521
|
} else if (w[0] === "`" && r && Ie.call(r, w.slice(1))) {
|
|
@@ -9518,7 +9526,7 @@ ye.prototype._trace = function(t, r, i, s, c, l, p, C) {
|
|
|
9518
9526
|
try {
|
|
9519
9527
|
for (d.s(); !(y = d.n()).done; ) {
|
|
9520
9528
|
var D = y.value;
|
|
9521
|
-
F(this._trace(Kt(D, h), r, i,
|
|
9529
|
+
F(this._trace(Kt(D, h), r, i, o, c, l, !0));
|
|
9522
9530
|
}
|
|
9523
9531
|
} catch (P) {
|
|
9524
9532
|
d.e(P);
|
|
@@ -9532,7 +9540,7 @@ ye.prototype._trace = function(t, r, i, s, c, l, p, C) {
|
|
|
9532
9540
|
for (var A = 0; A < v.length; A++) {
|
|
9533
9541
|
var G = v[A];
|
|
9534
9542
|
if (G && G.isParentSelector) {
|
|
9535
|
-
var Z = this._trace(G.expr, r, G.path,
|
|
9543
|
+
var Z = this._trace(G.expr, r, G.path, o, c, l, p);
|
|
9536
9544
|
if (Array.isArray(Z)) {
|
|
9537
9545
|
v[A] = Z[0];
|
|
9538
9546
|
for (var re = Z.length, B = 1; B < re; B++)
|
|
@@ -9545,19 +9553,19 @@ ye.prototype._trace = function(t, r, i, s, c, l, p, C) {
|
|
|
9545
9553
|
};
|
|
9546
9554
|
ye.prototype._walk = function(t, r) {
|
|
9547
9555
|
if (Array.isArray(t))
|
|
9548
|
-
for (var i = t.length,
|
|
9549
|
-
r(
|
|
9556
|
+
for (var i = t.length, o = 0; o < i; o++)
|
|
9557
|
+
r(o);
|
|
9550
9558
|
else
|
|
9551
9559
|
t && He(t) === "object" && Object.keys(t).forEach(function(c) {
|
|
9552
9560
|
r(c);
|
|
9553
9561
|
});
|
|
9554
9562
|
};
|
|
9555
|
-
ye.prototype._slice = function(t, r, i,
|
|
9563
|
+
ye.prototype._slice = function(t, r, i, o, c, l, p) {
|
|
9556
9564
|
if (Array.isArray(i)) {
|
|
9557
9565
|
var C = i.length, E = t.split(":"), b = E[2] && Number.parseInt(E[2]) || 1, w = E[0] && Number.parseInt(E[0]) || 0, h = E[1] && Number.parseInt(E[1]) || C;
|
|
9558
9566
|
w = w < 0 ? Math.max(0, w + C) : Math.min(C, w), h = h < 0 ? Math.max(0, h + C) : Math.min(C, h);
|
|
9559
9567
|
for (var v = [], F = w; F < h; F += b) {
|
|
9560
|
-
var g = this._trace(Kt(F, r), i,
|
|
9568
|
+
var g = this._trace(Kt(F, r), i, o, c, l, p, !0);
|
|
9561
9569
|
g.forEach(function(x) {
|
|
9562
9570
|
v.push(x);
|
|
9563
9571
|
});
|
|
@@ -9565,11 +9573,11 @@ ye.prototype._slice = function(t, r, i, s, c, l, p) {
|
|
|
9565
9573
|
return v;
|
|
9566
9574
|
}
|
|
9567
9575
|
};
|
|
9568
|
-
ye.prototype._eval = function(t, r, i,
|
|
9576
|
+
ye.prototype._eval = function(t, r, i, o, c, l) {
|
|
9569
9577
|
var p = this;
|
|
9570
9578
|
this.currSandbox._$_parentProperty = l, this.currSandbox._$_parent = c, this.currSandbox._$_property = i, this.currSandbox._$_root = this.json, this.currSandbox._$_v = r;
|
|
9571
9579
|
var C = t.includes("@path");
|
|
9572
|
-
C && (this.currSandbox._$_path = ye.toPathString(
|
|
9580
|
+
C && (this.currSandbox._$_path = ye.toPathString(o.concat([i])));
|
|
9573
9581
|
var E = this.currEval + "Script:" + t;
|
|
9574
9582
|
if (!ye.cache[E]) {
|
|
9575
9583
|
var b = t.replace(/@parentProperty/g, "_$_parentProperty").replace(/@parent/g, "_$_parent").replace(/@property/g, "_$_property").replace(/@root/g, "_$_root").replace(/@([\t-\r \)\.\[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF])/g, "_$_v$1");
|
|
@@ -9599,35 +9607,35 @@ ye.prototype._eval = function(t, r, i, s, c, l) {
|
|
|
9599
9607
|
};
|
|
9600
9608
|
ye.cache = {};
|
|
9601
9609
|
ye.toPathString = function(t) {
|
|
9602
|
-
for (var r = t, i = r.length,
|
|
9603
|
-
/^(~|\^|@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\(\))$/.test(r[c]) || (
|
|
9604
|
-
return
|
|
9610
|
+
for (var r = t, i = r.length, o = "$", c = 1; c < i; c++)
|
|
9611
|
+
/^(~|\^|@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\(\))$/.test(r[c]) || (o += /^[\*0-9]+$/.test(r[c]) ? "[" + r[c] + "]" : "['" + r[c] + "']");
|
|
9612
|
+
return o;
|
|
9605
9613
|
};
|
|
9606
9614
|
ye.toPointer = function(t) {
|
|
9607
|
-
for (var r = t, i = r.length,
|
|
9608
|
-
/^(~|\^|@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\(\))$/.test(r[c]) || (
|
|
9609
|
-
return
|
|
9615
|
+
for (var r = t, i = r.length, o = "", c = 1; c < i; c++)
|
|
9616
|
+
/^(~|\^|@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\(\))$/.test(r[c]) || (o += "/" + r[c].toString().replace(/~/g, "~0").replace(/\//g, "~1"));
|
|
9617
|
+
return o;
|
|
9610
9618
|
};
|
|
9611
9619
|
ye.toPathArray = function(t) {
|
|
9612
9620
|
var r = ye.cache;
|
|
9613
9621
|
if (r[t])
|
|
9614
9622
|
return r[t].concat();
|
|
9615
|
-
var i = [],
|
|
9623
|
+
var i = [], o = t.replace(/@(?:null|boolean|number|string|integer|undefined|nonFinite|scalar|array|object|function|other)\(\)/g, ";$&;").replace(/['\[](\??\((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\))['\]](?!(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])\])/g, function(l, p) {
|
|
9616
9624
|
return "[#" + (i.push(p) - 1) + "]";
|
|
9617
9625
|
}).replace(/\[["']((?:[\0-&\(-\\\^-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)["']\]/g, function(l, p) {
|
|
9618
9626
|
return "['" + p.replace(/\./g, "%@%").replace(/~/g, "%%@@%%") + "']";
|
|
9619
9627
|
}).replace(/~/g, ";~;").replace(/["']?\.["']?(?!(?:[\0-Z\\-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*\])|\[["']?/g, ";").replace(/%@%/g, ".").replace(/%%@@%%/g, "~").replace(/(?:;)?(\^+)(?:;)?/g, function(l, p) {
|
|
9620
9628
|
return ";" + p.split("").join(";") + ";";
|
|
9621
|
-
}).replace(/;;;|;;/g, ";..;").replace(/;$|'?\]|'$/g, ""), c =
|
|
9629
|
+
}).replace(/;;;|;;/g, ";..;").replace(/;$|'?\]|'$/g, ""), c = o.split(";").map(function(l) {
|
|
9622
9630
|
var p = l.match(/#([0-9]+)/);
|
|
9623
9631
|
return !p || !p[1] ? l : i[p[1]];
|
|
9624
9632
|
});
|
|
9625
9633
|
return r[t] = c, r[t].concat();
|
|
9626
9634
|
};
|
|
9627
|
-
var to = function(r, i,
|
|
9635
|
+
var to = function(r, i, o) {
|
|
9628
9636
|
for (var c = r.length, l = 0; l < c; l++) {
|
|
9629
9637
|
var p = r[l];
|
|
9630
|
-
|
|
9638
|
+
o(p) && i.push(r.splice(l--, 1)[0]);
|
|
9631
9639
|
}
|
|
9632
9640
|
};
|
|
9633
9641
|
pt.plugins.register(Ys, ct);
|
|
@@ -9664,7 +9672,7 @@ var be = {
|
|
|
9664
9672
|
}
|
|
9665
9673
|
},
|
|
9666
9674
|
evalBinaryExpression: function(r, i) {
|
|
9667
|
-
var
|
|
9675
|
+
var o = {
|
|
9668
9676
|
"||": function(l, p) {
|
|
9669
9677
|
return l || p();
|
|
9670
9678
|
},
|
|
@@ -9733,15 +9741,15 @@ var be = {
|
|
|
9733
9741
|
}[r.operator](be.evalAst(r.left, i), function() {
|
|
9734
9742
|
return be.evalAst(r.right, i);
|
|
9735
9743
|
});
|
|
9736
|
-
return
|
|
9744
|
+
return o;
|
|
9737
9745
|
},
|
|
9738
9746
|
evalCompound: function(r, i) {
|
|
9739
|
-
for (var
|
|
9747
|
+
for (var o, c = 0; c < r.body.length; c++) {
|
|
9740
9748
|
r.body[c].type === "Identifier" && ["var", "let", "const"].includes(r.body[c].name) && r.body[c + 1] && r.body[c + 1].type === "AssignmentExpression" && (c += 1);
|
|
9741
9749
|
var l = r.body[c];
|
|
9742
|
-
|
|
9750
|
+
o = be.evalAst(l, i);
|
|
9743
9751
|
}
|
|
9744
|
-
return
|
|
9752
|
+
return o;
|
|
9745
9753
|
},
|
|
9746
9754
|
evalConditionalExpression: function(r, i) {
|
|
9747
9755
|
return be.evalAst(r.test, i) ? be.evalAst(r.consequent, i) : be.evalAst(r.alternate, i);
|
|
@@ -9755,11 +9763,11 @@ var be = {
|
|
|
9755
9763
|
return r.value;
|
|
9756
9764
|
},
|
|
9757
9765
|
evalMemberExpression: function(r, i) {
|
|
9758
|
-
var
|
|
9766
|
+
var o = r.computed ? be.evalAst(r.property) : r.property.name, c = be.evalAst(r.object, i), l = c[o];
|
|
9759
9767
|
return typeof l == "function" ? l.bind(c) : l;
|
|
9760
9768
|
},
|
|
9761
9769
|
evalUnaryExpression: function(r, i) {
|
|
9762
|
-
var
|
|
9770
|
+
var o = {
|
|
9763
9771
|
"-": function(l) {
|
|
9764
9772
|
return -be.evalAst(l, i);
|
|
9765
9773
|
},
|
|
@@ -9774,24 +9782,24 @@ var be = {
|
|
|
9774
9782
|
return +be.evalAst(l, i);
|
|
9775
9783
|
}
|
|
9776
9784
|
}[r.operator](r.argument);
|
|
9777
|
-
return
|
|
9785
|
+
return o;
|
|
9778
9786
|
},
|
|
9779
9787
|
evalArrayExpression: function(r, i) {
|
|
9780
|
-
return r.elements.map(function(
|
|
9781
|
-
return be.evalAst(
|
|
9788
|
+
return r.elements.map(function(o) {
|
|
9789
|
+
return be.evalAst(o, i);
|
|
9782
9790
|
});
|
|
9783
9791
|
},
|
|
9784
9792
|
evalCallExpression: function(r, i) {
|
|
9785
|
-
var
|
|
9793
|
+
var o = r.arguments.map(function(l) {
|
|
9786
9794
|
return be.evalAst(l, i);
|
|
9787
9795
|
}), c = be.evalAst(r.callee, i);
|
|
9788
|
-
return c.apply(void 0, rn(
|
|
9796
|
+
return c.apply(void 0, rn(o));
|
|
9789
9797
|
},
|
|
9790
9798
|
evalAssignmentExpression: function(r, i) {
|
|
9791
9799
|
if (r.left.type !== "Identifier")
|
|
9792
9800
|
throw SyntaxError("Invalid left-hand side in assignment");
|
|
9793
|
-
var
|
|
9794
|
-
return i[
|
|
9801
|
+
var o = r.left.name, c = be.evalAst(r.right, i);
|
|
9802
|
+
return i[o] = c, i[o];
|
|
9795
9803
|
}
|
|
9796
9804
|
}, no = /* @__PURE__ */ function() {
|
|
9797
9805
|
function t(r) {
|
|
@@ -9800,8 +9808,8 @@ var be = {
|
|
|
9800
9808
|
return ht(t, [{
|
|
9801
9809
|
key: "runInNewContext",
|
|
9802
9810
|
value: function(i) {
|
|
9803
|
-
var
|
|
9804
|
-
return be.evalAst(this.ast,
|
|
9811
|
+
var o = Ps({}, i);
|
|
9812
|
+
return be.evalAst(this.ast, o);
|
|
9805
9813
|
}
|
|
9806
9814
|
}]);
|
|
9807
9815
|
}(), ro = /* @__PURE__ */ function() {
|
|
@@ -9811,7 +9819,7 @@ var be = {
|
|
|
9811
9819
|
return ht(t, [{
|
|
9812
9820
|
key: "runInNewContext",
|
|
9813
9821
|
value: function(i) {
|
|
9814
|
-
var
|
|
9822
|
+
var o = this.code, c = Object.keys(i), l = [];
|
|
9815
9823
|
to(c, l, function(w) {
|
|
9816
9824
|
return typeof i[w] == "function";
|
|
9817
9825
|
});
|
|
@@ -9821,8 +9829,8 @@ var be = {
|
|
|
9821
9829
|
var v = i[h].toString();
|
|
9822
9830
|
return /function/.test(v) || (v = "function " + v), "var " + h + "=" + v + ";" + w;
|
|
9823
9831
|
}, "");
|
|
9824
|
-
|
|
9825
|
-
var E =
|
|
9832
|
+
o = C + o, !/(["'])use strict\1/.test(o) && !c.includes("arguments") && (o = "var arguments = undefined;" + o), o = o.replace(/;[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*$/, "");
|
|
9833
|
+
var E = o.lastIndexOf(";"), b = E > -1 ? o.slice(0, E + 1) + " return " + o.slice(E + 1) : " return " + o;
|
|
9826
9834
|
return wr(Function, c.concat([b])).apply(void 0, rn(p));
|
|
9827
9835
|
}
|
|
9828
9836
|
}]);
|
|
@@ -9843,41 +9851,41 @@ const At = (t, r) => {
|
|
|
9843
9851
|
if (!t)
|
|
9844
9852
|
return r;
|
|
9845
9853
|
var i = At("$..widgetList[*]", t);
|
|
9846
|
-
return t.type == I.tabs ? (r = t.tabs, r = [...i, ...r]) : t.type == I.grid && (r = At("$..cols[*]", t), r = [...i, ...r]), r = [...i], r == null ? void 0 : r.filter((
|
|
9854
|
+
return t.type == I.tabs ? (r = t.tabs, r = [...i, ...r]) : t.type == I.grid && (r = At("$..cols[*]", t), r = [...i, ...r]), r = [...i], r == null ? void 0 : r.filter((o) => !!(o != null && o.type));
|
|
9847
9855
|
}, ot = (t, r, i) => {
|
|
9848
|
-
t == null || t.forEach((
|
|
9856
|
+
t == null || t.forEach((o) => {
|
|
9849
9857
|
var c, l, p, C, E, b, w;
|
|
9850
|
-
if (
|
|
9851
|
-
if (r == null || r.push(
|
|
9852
|
-
(c =
|
|
9858
|
+
if (o) {
|
|
9859
|
+
if (r == null || r.push(o), o.type === I.tabs)
|
|
9860
|
+
(c = o.tabs) == null || c.forEach((h) => {
|
|
9853
9861
|
r == null || r.push(h), ot(h.widgetList, r, i);
|
|
9854
9862
|
});
|
|
9855
|
-
else if (
|
|
9856
|
-
(l =
|
|
9863
|
+
else if (o.type === I.table)
|
|
9864
|
+
(l = o.rows) == null || l.forEach((h) => {
|
|
9857
9865
|
var v;
|
|
9858
9866
|
r == null || r.push(h), (v = h == null ? void 0 : h.cols) == null || v.forEach((F) => {
|
|
9859
9867
|
r == null || r.push(F), ot(F.widgetList, r, i);
|
|
9860
9868
|
});
|
|
9861
9869
|
});
|
|
9862
|
-
else if (
|
|
9863
|
-
(p =
|
|
9870
|
+
else if (o.type === I.grid)
|
|
9871
|
+
(p = o.cols) == null || p.forEach((h) => {
|
|
9864
9872
|
r == null || r.push(h), ot(h.widgetList, r, i);
|
|
9865
9873
|
});
|
|
9866
|
-
else if (
|
|
9874
|
+
else if (o.type === I.cont) {
|
|
9867
9875
|
const h = (v) => {
|
|
9868
9876
|
var F;
|
|
9869
9877
|
ot(v.widgetList, r, i), (F = v == null ? void 0 : v.children) == null || F.map((g) => {
|
|
9870
9878
|
h(g);
|
|
9871
9879
|
});
|
|
9872
9880
|
};
|
|
9873
|
-
(C =
|
|
9881
|
+
(C = o.cols) == null || C.forEach((v) => {
|
|
9874
9882
|
h(v);
|
|
9875
9883
|
});
|
|
9876
|
-
} else if (((E =
|
|
9877
|
-
const h = (w = (b = Vt(
|
|
9884
|
+
} else if (((E = o.widgetList) == null ? void 0 : E.length) > 0 && ot(o.widgetList, r, i), !i) {
|
|
9885
|
+
const h = (w = (b = Vt(o.options)) == null ? void 0 : b.filter((v) => {
|
|
9878
9886
|
var F;
|
|
9879
|
-
return ((F =
|
|
9880
|
-
})) == null ? void 0 : w.map((v) =>
|
|
9887
|
+
return ((F = o.options[v]) == null ? void 0 : F.type) === u.slot;
|
|
9888
|
+
})) == null ? void 0 : w.map((v) => o.options[v]);
|
|
9881
9889
|
h == null || h.forEach((v) => {
|
|
9882
9890
|
ot(v == null ? void 0 : v.widgetList, r, i);
|
|
9883
9891
|
});
|
|
@@ -9885,22 +9893,22 @@ const At = (t, r) => {
|
|
|
9885
9893
|
}
|
|
9886
9894
|
});
|
|
9887
9895
|
}, an = (t, r, i) => {
|
|
9888
|
-
let
|
|
9896
|
+
let o = [];
|
|
9889
9897
|
return Er(t, (l) => {
|
|
9890
|
-
|
|
9891
|
-
}, r, i),
|
|
9892
|
-
}, Er = (t, r, i,
|
|
9898
|
+
o.push(l);
|
|
9899
|
+
}, r, i), o;
|
|
9900
|
+
}, Er = (t, r, i, o) => {
|
|
9893
9901
|
if (!t)
|
|
9894
9902
|
return;
|
|
9895
9903
|
const c = [];
|
|
9896
|
-
ot(t, c,
|
|
9904
|
+
ot(t, c, o), c == null || c.forEach((l) => {
|
|
9897
9905
|
i ? i(l) && r(l) : r(l);
|
|
9898
9906
|
});
|
|
9899
9907
|
}, io = (t, r) => {
|
|
9900
9908
|
if (!t)
|
|
9901
9909
|
return;
|
|
9902
|
-
const i = an(t, (
|
|
9903
|
-
return i == null || i.forEach((
|
|
9910
|
+
const i = an(t, (o) => !!(o != null && o.formItemFlag), !0);
|
|
9911
|
+
return i == null || i.forEach((o) => r == null ? void 0 : r(o)), i;
|
|
9904
9912
|
}, ao = (t, r) => {
|
|
9905
9913
|
if (!r || (t == null ? void 0 : t.length) <= 0)
|
|
9906
9914
|
return;
|
|
@@ -9910,7 +9918,7 @@ const At = (t, r) => {
|
|
|
9910
9918
|
var c;
|
|
9911
9919
|
if (!t)
|
|
9912
9920
|
return [];
|
|
9913
|
-
let i = [],
|
|
9921
|
+
let i = [], o = (l) => {
|
|
9914
9922
|
l && (i.find((p) => (p == null ? void 0 : p.name) === ae.getName(l)) || i.push({
|
|
9915
9923
|
type: l.type,
|
|
9916
9924
|
name: ae.getName(l),
|
|
@@ -9918,9 +9926,9 @@ const At = (t, r) => {
|
|
|
9918
9926
|
}));
|
|
9919
9927
|
};
|
|
9920
9928
|
return r ? (c = At("$..*[?(@property === 'formItemFlag' && @ === true)]^", t)) == null || c.forEach((l) => {
|
|
9921
|
-
|
|
9922
|
-
}) : io(t,
|
|
9923
|
-
}, Qe = (t, r, i,
|
|
9929
|
+
o(l);
|
|
9930
|
+
}) : io(t, o), i;
|
|
9931
|
+
}, Qe = (t, r, i, o = !1, c) => {
|
|
9924
9932
|
var b, w, h, v, F, g, x, f, _;
|
|
9925
9933
|
if (!t)
|
|
9926
9934
|
return;
|
|
@@ -9928,7 +9936,7 @@ const At = (t, r) => {
|
|
|
9928
9936
|
id: t.id,
|
|
9929
9937
|
type: t.type,
|
|
9930
9938
|
label: ae.getOptions(t, "label") || ae.getOptions(t, "name") || t.type,
|
|
9931
|
-
widget:
|
|
9939
|
+
widget: o ? t : null,
|
|
9932
9940
|
parent: r,
|
|
9933
9941
|
children: [],
|
|
9934
9942
|
matched: !c || (c == null ? void 0 : c(t))
|
|
@@ -9944,17 +9952,17 @@ const At = (t, r) => {
|
|
|
9944
9952
|
label: ae.getOptions(T, "name", !1, !1) || T.id || T.type,
|
|
9945
9953
|
children: [],
|
|
9946
9954
|
parent: l,
|
|
9947
|
-
widget:
|
|
9955
|
+
widget: o ? T : null
|
|
9948
9956
|
};
|
|
9949
9957
|
(d = l.children) == null || d.push(O), (y = T.widgetList) == null || y.map((D) => {
|
|
9950
|
-
Qe(D, O, O.children,
|
|
9958
|
+
Qe(D, O, O.children, o, c);
|
|
9951
9959
|
});
|
|
9952
9960
|
});
|
|
9953
9961
|
else if (t.type === I.cont) {
|
|
9954
9962
|
const T = (O) => {
|
|
9955
9963
|
var d, y;
|
|
9956
9964
|
(d = O.widgetList) == null || d.map((D) => {
|
|
9957
|
-
Qe(D, l, l.children,
|
|
9965
|
+
Qe(D, l, l.children, o, c);
|
|
9958
9966
|
}), (y = O == null ? void 0 : O.children) == null || y.map((D) => T(D));
|
|
9959
9967
|
};
|
|
9960
9968
|
(w = t == null ? void 0 : t.cols) == null || w.map((O) => {
|
|
@@ -9970,7 +9978,7 @@ const At = (t, r) => {
|
|
|
9970
9978
|
selectable: !1,
|
|
9971
9979
|
children: [],
|
|
9972
9980
|
parent: l,
|
|
9973
|
-
widget:
|
|
9981
|
+
widget: o ? T : null
|
|
9974
9982
|
};
|
|
9975
9983
|
(d = T == null ? void 0 : T.cols) == null || d.map((D) => {
|
|
9976
9984
|
var Z;
|
|
@@ -9982,10 +9990,10 @@ const At = (t, r) => {
|
|
|
9982
9990
|
label: I.tableCol,
|
|
9983
9991
|
children: [],
|
|
9984
9992
|
parent: O,
|
|
9985
|
-
widget:
|
|
9993
|
+
widget: o ? D : null
|
|
9986
9994
|
};
|
|
9987
9995
|
(Z = D.widgetList) == null || Z.map((re) => {
|
|
9988
|
-
Qe(re, G, G.children,
|
|
9996
|
+
Qe(re, G, G.children, o, c);
|
|
9989
9997
|
}), A == null || A.push(G);
|
|
9990
9998
|
}), (y = l.children) == null || y.push(O);
|
|
9991
9999
|
});
|
|
@@ -9999,24 +10007,24 @@ const At = (t, r) => {
|
|
|
9999
10007
|
// selectable: true,
|
|
10000
10008
|
children: [],
|
|
10001
10009
|
parent: l,
|
|
10002
|
-
widget:
|
|
10010
|
+
widget: o ? T : null
|
|
10003
10011
|
};
|
|
10004
10012
|
(d = l.children) == null || d.push(O), (y = T == null ? void 0 : T.widgetList) == null || y.map((D) => {
|
|
10005
|
-
Qe(D, O, O.children,
|
|
10013
|
+
Qe(D, O, O.children, o, c);
|
|
10006
10014
|
});
|
|
10007
10015
|
});
|
|
10008
10016
|
else if (t.type === I.eltable) {
|
|
10009
10017
|
var p = At("$..widgetList[*]", (F = t.options) == null ? void 0 : F.optionItems.value);
|
|
10010
10018
|
(p == null ? void 0 : p.length) > 0 && (p == null || p.map((T) => {
|
|
10011
|
-
Qe(T, l, l.children,
|
|
10019
|
+
Qe(T, l, l.children, o, c);
|
|
10012
10020
|
}));
|
|
10013
10021
|
} else
|
|
10014
10022
|
t.category === Jt.container && ((g = t == null ? void 0 : t.widgetList) == null ? void 0 : g.length) > 0 && ((x = t == null ? void 0 : t.widgetList) == null || x.map((T) => {
|
|
10015
|
-
Qe(T, l, l.children,
|
|
10023
|
+
Qe(T, l, l.children, o, c);
|
|
10016
10024
|
}));
|
|
10017
10025
|
const C = ae.getOptions(t, he.widgetList);
|
|
10018
10026
|
C && (C == null || C.map((T) => {
|
|
10019
|
-
Qe(T, l, l.children,
|
|
10027
|
+
Qe(T, l, l.children, o, c);
|
|
10020
10028
|
}));
|
|
10021
10029
|
const E = (_ = (f = Vt(t.options)) == null ? void 0 : f.filter((T) => {
|
|
10022
10030
|
var O;
|
|
@@ -10031,58 +10039,58 @@ const At = (t, r) => {
|
|
|
10031
10039
|
label: T.slotName || T.type,
|
|
10032
10040
|
children: [],
|
|
10033
10041
|
parent: l,
|
|
10034
|
-
widget:
|
|
10042
|
+
widget: o ? T : null,
|
|
10035
10043
|
selectable: !1
|
|
10036
10044
|
};
|
|
10037
10045
|
(d = l.children) == null || d.push(D), (y = T == null ? void 0 : T.widgetList) == null || y.map((A) => {
|
|
10038
|
-
Qe(A, D, D.children,
|
|
10046
|
+
Qe(A, D, D.children, o, c);
|
|
10039
10047
|
});
|
|
10040
10048
|
}
|
|
10041
10049
|
});
|
|
10042
10050
|
}, Cr = (t, r = !1, i) => {
|
|
10043
|
-
const
|
|
10051
|
+
const o = [];
|
|
10044
10052
|
let c = { label: I.page, id: I.page, type: I.page };
|
|
10045
10053
|
return t == null || t.forEach((l) => {
|
|
10046
|
-
Qe(l, c,
|
|
10047
|
-
}), ft(c, { children:
|
|
10054
|
+
Qe(l, c, o, r, i);
|
|
10055
|
+
}), ft(c, { children: o }), [c];
|
|
10048
10056
|
}, xr = (t, r, i) => {
|
|
10049
|
-
!t || t.length <= 0 || t.forEach((
|
|
10050
|
-
|
|
10057
|
+
!t || t.length <= 0 || t.forEach((o) => {
|
|
10058
|
+
o.id === r ? i == null || i(o) : xr(o == null ? void 0 : o.children, r, i);
|
|
10051
10059
|
});
|
|
10052
10060
|
}, Ar = (t, r) => {
|
|
10053
10061
|
let i = null;
|
|
10054
|
-
return xr(t, r, (
|
|
10055
|
-
i =
|
|
10062
|
+
return xr(t, r, (o) => {
|
|
10063
|
+
i = o;
|
|
10056
10064
|
}), i;
|
|
10057
10065
|
}, Gt = (t, r) => {
|
|
10058
10066
|
const i = Ar(t, r);
|
|
10059
|
-
let
|
|
10067
|
+
let o = [];
|
|
10060
10068
|
const c = (l) => {
|
|
10061
|
-
l && (
|
|
10069
|
+
l && (o.push(l), l != null && l.parent && c(l == null ? void 0 : l.parent));
|
|
10062
10070
|
};
|
|
10063
|
-
return c(i),
|
|
10071
|
+
return c(i), o;
|
|
10064
10072
|
}, sn = (t, r, i) => {
|
|
10065
|
-
const
|
|
10066
|
-
return Ue(
|
|
10073
|
+
const o = xe(t);
|
|
10074
|
+
return Ue(o, r, i), Er([o], (c) => {
|
|
10067
10075
|
Ue(c, r, i);
|
|
10068
|
-
}),
|
|
10069
|
-
}, gt = (t, r, i,
|
|
10076
|
+
}), o;
|
|
10077
|
+
}, gt = (t, r, i, o = !1, c) => {
|
|
10070
10078
|
if (!r || (r == null ? void 0 : r.length) <= 0 || !i || !t)
|
|
10071
10079
|
return;
|
|
10072
10080
|
let l = null;
|
|
10073
10081
|
for (var p = 0; p < (r == null ? void 0 : r.length); p++) {
|
|
10074
10082
|
const C = r == null ? void 0 : r[p];
|
|
10075
|
-
if (C.id && (l = ae.getOptions(C.widget, i,
|
|
10083
|
+
if (C.id && (l = ae.getOptions(C.widget, i, o, !(c != null && c.designState)), l))
|
|
10076
10084
|
break;
|
|
10077
10085
|
}
|
|
10078
10086
|
return l;
|
|
10079
|
-
}, Do = (t, r, i,
|
|
10087
|
+
}, Do = (t, r, i, o) => {
|
|
10080
10088
|
var C;
|
|
10081
10089
|
const c = At("$..widgetList[?(@.id==='" + t + "')]^", xe(i)), l = (C = c == null ? void 0 : c[0]) == null ? void 0 : C.find((E) => {
|
|
10082
10090
|
var b;
|
|
10083
10091
|
return ((b = E == null ? void 0 : E._source) == null ? void 0 : b.name) === r;
|
|
10084
10092
|
}), p = l == null ? void 0 : l.id;
|
|
10085
|
-
return
|
|
10093
|
+
return o == null ? void 0 : o(p);
|
|
10086
10094
|
};
|
|
10087
10095
|
function so() {
|
|
10088
10096
|
const t = () => {
|
|
@@ -10132,7 +10140,7 @@ function oo() {
|
|
|
10132
10140
|
},
|
|
10133
10141
|
initContCell: (c = it.main, l) => {
|
|
10134
10142
|
let p = new tn();
|
|
10135
|
-
return ft(p, l), p.partName = new
|
|
10143
|
+
return ft(p, l), p.partName = new s(u.placer, c), p;
|
|
10136
10144
|
},
|
|
10137
10145
|
initCont: () => {
|
|
10138
10146
|
let c = xe(at(I.cont));
|
|
@@ -10158,47 +10166,47 @@ class uo {
|
|
|
10158
10166
|
/**
|
|
10159
10167
|
* 自定义CSS样式
|
|
10160
10168
|
*/
|
|
10161
|
-
e(this, "customClass", new
|
|
10169
|
+
e(this, "customClass", new s(u.placer, []));
|
|
10162
10170
|
/**
|
|
10163
10171
|
* 组件容器css样式
|
|
10164
10172
|
*/
|
|
10165
|
-
e(this, "componentWrapperClass", new
|
|
10173
|
+
e(this, "componentWrapperClass", new s(u.placer, []));
|
|
10166
10174
|
/**
|
|
10167
10175
|
* 页面创建时事件
|
|
10168
10176
|
*/
|
|
10169
|
-
e(this, "pageCreated", new
|
|
10177
|
+
e(this, "pageCreated", new s(u.event, void 0, new k()));
|
|
10170
10178
|
/**
|
|
10171
10179
|
* 页面挂载完成后事件
|
|
10172
10180
|
*/
|
|
10173
|
-
e(this, "pageMounted", new
|
|
10181
|
+
e(this, "pageMounted", new s(u.event, void 0, new k()));
|
|
10174
10182
|
/**
|
|
10175
10183
|
* 自定义CSS代码
|
|
10176
10184
|
*/
|
|
10177
|
-
e(this, "cssCode", new
|
|
10185
|
+
e(this, "cssCode", new s(u.placer, void 0, new k()));
|
|
10178
10186
|
/**
|
|
10179
10187
|
* 全局函数
|
|
10180
10188
|
*/
|
|
10181
|
-
e(this, "functions", new
|
|
10189
|
+
e(this, "functions", new s(u.placer, void 0, new k()));
|
|
10182
10190
|
/**
|
|
10183
10191
|
* 请求发送前的处理函数
|
|
10184
10192
|
*/
|
|
10185
|
-
e(this, "willFetch", new
|
|
10193
|
+
e(this, "willFetch", new s(u.hook, void 0, new k()));
|
|
10186
10194
|
/**
|
|
10187
10195
|
* 请求返回时的数据适配
|
|
10188
10196
|
*/
|
|
10189
|
-
e(this, "fitFetch", new
|
|
10197
|
+
e(this, "fitFetch", new s(u.hook, void 0, new k()));
|
|
10190
10198
|
/**
|
|
10191
10199
|
* 请求错误处理函数
|
|
10192
10200
|
*/
|
|
10193
|
-
e(this, "errorFetch", new
|
|
10201
|
+
e(this, "errorFetch", new s(u.hook, void 0, new k()));
|
|
10194
10202
|
/**
|
|
10195
10203
|
* 请求完成时的回调函数
|
|
10196
10204
|
*/
|
|
10197
|
-
e(this, "didFetch", new
|
|
10205
|
+
e(this, "didFetch", new s(u.hook, void 0, new k()));
|
|
10198
10206
|
/**
|
|
10199
10207
|
* 数据源
|
|
10200
10208
|
*/
|
|
10201
|
-
e(this, "schema", new
|
|
10209
|
+
e(this, "schema", new s(u.dataObject, [{
|
|
10202
10210
|
protocal: Cn.URI,
|
|
10203
10211
|
name: xn.urlParams,
|
|
10204
10212
|
description: Ne.i18nt("designer.hint.varibaleURL"),
|
|
@@ -10328,20 +10336,20 @@ const lo = (t) => {
|
|
|
10328
10336
|
var r = lo(t);
|
|
10329
10337
|
return r ? po(r, 1, t) : null;
|
|
10330
10338
|
}, po = (t, r, i) => {
|
|
10331
|
-
var
|
|
10339
|
+
var o = {};
|
|
10332
10340
|
if (!t || (t == null ? void 0 : t.length) <= 0)
|
|
10333
|
-
return
|
|
10341
|
+
return o;
|
|
10334
10342
|
if (i) {
|
|
10335
10343
|
var c = co(i);
|
|
10336
10344
|
if (c)
|
|
10337
|
-
|
|
10345
|
+
o = c;
|
|
10338
10346
|
else
|
|
10339
|
-
return
|
|
10347
|
+
return o;
|
|
10340
10348
|
} else
|
|
10341
10349
|
t == null || t.forEach((l) => {
|
|
10342
|
-
|
|
10350
|
+
o[l] || (o[l] = null);
|
|
10343
10351
|
});
|
|
10344
|
-
return t != null && t.includes(he.value) && (
|
|
10352
|
+
return t != null && t.includes(he.value) && (o[he.value] = String(r)), t != null && t.includes(he.label) && (o[he.label] = he.option + " " + r), t != null && t.includes(he.children) && (o[he.children] = []), t != null && t.includes(he.name) && (o[he.name] = he.option + r), o;
|
|
10345
10353
|
};
|
|
10346
10354
|
function _n(t, r) {
|
|
10347
10355
|
return {
|
|
@@ -10353,7 +10361,7 @@ function Tn(t, r) {
|
|
|
10353
10361
|
var C;
|
|
10354
10362
|
const p = Gt(t, r == null ? void 0 : r.id);
|
|
10355
10363
|
return (p == null ? void 0 : p.length) <= 0 && (r != null && r._source) ? Gt(t, (C = r == null ? void 0 : r._source) == null ? void 0 : C.id) : p;
|
|
10356
|
-
}),
|
|
10364
|
+
}), o = je(() => {
|
|
10357
10365
|
var p;
|
|
10358
10366
|
return (p = i.value) == null ? void 0 : p.map((C) => ({ id: C == null ? void 0 : C.id, selectable: C.selectable, label: ae.getWidgetTypeName(Ee(C.type)) })).filter((C) => C.id !== (r == null ? void 0 : r.id));
|
|
10359
10367
|
}), { parentForm: c, parentFormId: l } = Fr(i.value);
|
|
@@ -10361,17 +10369,17 @@ function Tn(t, r) {
|
|
|
10361
10369
|
widgetTree: t,
|
|
10362
10370
|
parentForm: c,
|
|
10363
10371
|
parentFormId: l,
|
|
10364
|
-
parentTree:
|
|
10372
|
+
parentTree: o,
|
|
10365
10373
|
pathNodes: i
|
|
10366
10374
|
};
|
|
10367
10375
|
}
|
|
10368
10376
|
const Fr = (t) => {
|
|
10369
10377
|
const r = je(() => {
|
|
10370
|
-
var
|
|
10371
|
-
return (
|
|
10378
|
+
var o;
|
|
10379
|
+
return (o = t == null ? void 0 : t.find((c) => c.type === I.form)) == null ? void 0 : o.widget;
|
|
10372
10380
|
}), i = je(() => {
|
|
10373
|
-
var
|
|
10374
|
-
return (
|
|
10381
|
+
var o;
|
|
10382
|
+
return (o = r == null ? void 0 : r.value) == null ? void 0 : o.id;
|
|
10375
10383
|
});
|
|
10376
10384
|
return {
|
|
10377
10385
|
parentForm: r,
|
|
@@ -10379,7 +10387,7 @@ const Fr = (t) => {
|
|
|
10379
10387
|
};
|
|
10380
10388
|
};
|
|
10381
10389
|
function So(t, r) {
|
|
10382
|
-
const { widget: i } = t, { parentFormId:
|
|
10390
|
+
const { widget: i } = t, { parentFormId: o } = Fr(r), c = je(() => {
|
|
10383
10391
|
var w, h, v;
|
|
10384
10392
|
return Ee(gt((w = t.designer) == null ? void 0 : w.widgetList, r, he.size, !1, t) || ((v = (h = t == null ? void 0 : t.designer) == null ? void 0 : h.pageConfig) == null ? void 0 : v.size));
|
|
10385
10393
|
}), l = je(() => {
|
|
@@ -10394,7 +10402,7 @@ function So(t, r) {
|
|
|
10394
10402
|
}), E = je(() => {
|
|
10395
10403
|
var w;
|
|
10396
10404
|
return Ee(gt((w = t.designer) == null ? void 0 : w.widgetList, r, he.labelSuffix, !1, t));
|
|
10397
|
-
}), b = je(() => (i == null ? void 0 : i.formItemFlag) && !!
|
|
10405
|
+
}), b = je(() => (i == null ? void 0 : i.formItemFlag) && !!o.value);
|
|
10398
10406
|
return {
|
|
10399
10407
|
displayLayout: l,
|
|
10400
10408
|
size: c,
|
|
@@ -10405,16 +10413,16 @@ function So(t, r) {
|
|
|
10405
10413
|
};
|
|
10406
10414
|
}
|
|
10407
10415
|
function Oo(t) {
|
|
10408
|
-
const r = ia(t), { initHistoryData: i, emitHistoryChange:
|
|
10416
|
+
const r = ia(t), { initHistoryData: i, emitHistoryChange: o, saveCurrentHistoryStep: c, saveFormContentToStorage: l } = r, { initGridCol: p, isGrid: C } = so(), { initContCell: E, isCont: b } = oo(), { initTabPane: w, getActiveTab: h, isTabs: v } = _s(), { initTableRow: F, isTable: g } = Bs(), x = new uo(), f = (R = !0) => {
|
|
10409
10417
|
t.widgetList = [], t.pageConfig = xe(x), R || i();
|
|
10410
10418
|
}, _ = (R) => {
|
|
10411
10419
|
var j, pe;
|
|
10412
10420
|
let M = t.widgetList.length === 0;
|
|
10413
|
-
(pe = t.widgetList) == null || pe.splice(0, (j = t.widgetList) == null ? void 0 : j.length), H(), t.pageConfig = x, R || (M ? c("clearDesigner") :
|
|
10421
|
+
(pe = t.widgetList) == null || pe.splice(0, (j = t.widgetList) == null ? void 0 : j.length), H(), t.pageConfig = x, R || (M ? c("clearDesigner") : o("clearDesigner"));
|
|
10414
10422
|
}, T = (R) => {
|
|
10415
10423
|
t.pageWidget = R;
|
|
10416
10424
|
}, O = (R) => ao(t.widgetList, R), d = (R, M) => {
|
|
10417
|
-
R &&
|
|
10425
|
+
R && o(M);
|
|
10418
10426
|
}, y = () => ({
|
|
10419
10427
|
widgetList: [],
|
|
10420
10428
|
pageConfig: Ut(x)
|
|
@@ -10427,7 +10435,7 @@ function Oo(t) {
|
|
|
10427
10435
|
}, G = (R) => {
|
|
10428
10436
|
t && (t.cssClassList = R);
|
|
10429
10437
|
}, Z = () => t == null ? void 0 : t.cssClassList, re = (R) => {
|
|
10430
|
-
|
|
10438
|
+
s.getValue(t.pageConfig.cssCode) === "" && R && s.setValue(t.pageConfig, "cssCode", R);
|
|
10431
10439
|
}, B = (R = !1, M) => Cr(t.widgetList, R, M), P = () => {
|
|
10432
10440
|
var R = B(!1, (ne) => !!(ne != null && ne.formItemFlag) && ne.type !== I.multirow);
|
|
10433
10441
|
const M = (ne, me) => {
|
|
@@ -10475,20 +10483,20 @@ function Oo(t) {
|
|
|
10475
10483
|
t.selectedWidget = void 0;
|
|
10476
10484
|
}, X = (R, M, j) => {
|
|
10477
10485
|
const pe = R == null ? void 0 : R.newIndex, ne = M == null ? void 0 : M[pe];
|
|
10478
|
-
ne && z(ne),
|
|
10486
|
+
ne && z(ne), o(`drag add ${ne == null ? void 0 : ne.id}`), j == null || j(M);
|
|
10479
10487
|
}, ue = (R, M) => {
|
|
10480
10488
|
}, se = (R, M, j) => {
|
|
10481
|
-
|
|
10489
|
+
o("drag update"), j == null || j(M);
|
|
10482
10490
|
}, Ae = (R, M, j) => {
|
|
10483
|
-
|
|
10491
|
+
o("drag remove"), j == null || j(M);
|
|
10484
10492
|
}, Oe = (R) => !0, L = (R) => {
|
|
10485
10493
|
var pe, ne;
|
|
10486
10494
|
let M = Ee(xe(R));
|
|
10487
10495
|
if (!M)
|
|
10488
10496
|
return null;
|
|
10489
10497
|
if (M.id = ae.newId(M.type), Pt(M, he.name) && ae.setOptions(M, he.name, M.id), Pt(M, he.label) && ae.setOptions(M, he.label, ae.getOptions(M, "label") || ((pe = M.type) == null ? void 0 : pe.toLowerCase())), Pt(M, he.content) && ae.setOptions(M, he.content, ae.getOptions(M, "content") || ((ne = M.type) == null ? void 0 : ne.toLowerCase())), Pt(M, he.optionItems) && (M == null ? void 0 : M.type) !== I.image) {
|
|
10490
|
-
var j =
|
|
10491
|
-
j == null || j.splice(1, 0, fo(M.type)),
|
|
10498
|
+
var j = s.getValue(ae.getOrgOption(M, he.optionItems));
|
|
10499
|
+
j == null || j.splice(1, 0, fo(M.type)), s.setValue(M == null ? void 0 : M.options, he.optionItems, j);
|
|
10492
10500
|
}
|
|
10493
10501
|
return M;
|
|
10494
10502
|
}, $ = (R) => {
|
|
@@ -10497,7 +10505,7 @@ function Oo(t) {
|
|
|
10497
10505
|
if (!M)
|
|
10498
10506
|
return;
|
|
10499
10507
|
let j = t.widgetList;
|
|
10500
|
-
t.selectedWidget && (v(t.selectedWidget) ? j = (pe = h(Ee(t.selectedWidget))) == null ? void 0 : pe.widgetList : (ne = Ee(t.selectedWidget)) != null && ne.widgetList && (j = (me = t.selectedWidget) == null ? void 0 : me.widgetList)), j == null || j.push(M), z(M),
|
|
10508
|
+
t.selectedWidget && (v(t.selectedWidget) ? j = (pe = h(Ee(t.selectedWidget))) == null ? void 0 : pe.widgetList : (ne = Ee(t.selectedWidget)) != null && ne.widgetList && (j = (me = t.selectedWidget) == null ? void 0 : me.widgetList)), j == null || j.push(M), z(M), o(`addFieldByDbClick ${R == null ? void 0 : R.id}`);
|
|
10501
10509
|
}, q = (R, M) => {
|
|
10502
10510
|
var j = Ce(R, M);
|
|
10503
10511
|
if (R) {
|
|
@@ -10508,7 +10516,7 @@ function Oo(t) {
|
|
|
10508
10516
|
let pe = R[j];
|
|
10509
10517
|
R.splice(j, 1), R.splice(j - 1, 0, pe);
|
|
10510
10518
|
}
|
|
10511
|
-
|
|
10519
|
+
o(`moveUpWidget ${M == null ? void 0 : M.id}`);
|
|
10512
10520
|
}, ve = (R, M) => {
|
|
10513
10521
|
var j = Ce(R, M);
|
|
10514
10522
|
if (R) {
|
|
@@ -10519,7 +10527,7 @@ function Oo(t) {
|
|
|
10519
10527
|
let pe = R[j];
|
|
10520
10528
|
R.splice(j, 1), R.splice(j + 1, 0, pe);
|
|
10521
10529
|
}
|
|
10522
|
-
|
|
10530
|
+
o(`moveDownWidget ${M == null ? void 0 : M.id}`);
|
|
10523
10531
|
}, Se = (R) => {
|
|
10524
10532
|
var pe, ne, me, Le, te, de, Re, Y, Fe, Q;
|
|
10525
10533
|
let M = null, j = xe(R);
|
|
@@ -10530,26 +10538,26 @@ function Oo(t) {
|
|
|
10530
10538
|
const De = E(it.container);
|
|
10531
10539
|
(me = De.children) == null || me.push(E(it.header));
|
|
10532
10540
|
let vt = E(it.container, { direction: Ye.horizontal });
|
|
10533
|
-
(Le = vt.children) == null || Le.push(E(it.aside, { cellWidth: new
|
|
10541
|
+
(Le = vt.children) == null || Le.push(E(it.aside, { cellWidth: new s(u.placer, "20%") })), (te = vt.children) == null || te.push(E(it.main, { cellWidth: new s(u.placer, "80%") })), (de = De.children) == null || de.push(vt), (Re = De.children) == null || Re.push(E(it.footer)), (Y = M.cols) == null || Y.push(De);
|
|
10534
10542
|
} else
|
|
10535
10543
|
g(R) ? (M = Ee(j), (Fe = M.rows) == null || Fe.push(F())) : v(R) ? (M = Ee(j), (Q = M.tabs) == null || Q.push(w(void 0, !0))) : M = Ee(j);
|
|
10536
10544
|
return M.id = ae.newId(M.type), ae.setName(M, M.id), M;
|
|
10537
10545
|
}, le = (R) => {
|
|
10538
10546
|
let M = Se(R);
|
|
10539
|
-
t.widgetList.push(M), z(M),
|
|
10547
|
+
t.widgetList.push(M), z(M), o(`addContainerByDbClick ${R == null ? void 0 : R.id}`);
|
|
10540
10548
|
}, fe = (R, M) => {
|
|
10541
10549
|
var j = null;
|
|
10542
10550
|
if (R) {
|
|
10543
10551
|
j = sn(R, { recordSource: !1 });
|
|
10544
10552
|
var pe = Ce(M, R);
|
|
10545
|
-
return M == null || M.splice(pe + 1, 0, j), z(j),
|
|
10553
|
+
return M == null || M.splice(pe + 1, 0, j), z(j), o(`cloneWidget ${R == null ? void 0 : R.id}`), j;
|
|
10546
10554
|
}
|
|
10547
10555
|
}, we = (R, M, j) => {
|
|
10548
10556
|
var pe = Ce(j, R);
|
|
10549
10557
|
if (j) {
|
|
10550
10558
|
let ne = null;
|
|
10551
10559
|
j.length === 1 ? M && (ne = M) : j.length === 1 + pe ? ne = j[pe - 1] : ne = j[pe + 1], li(() => {
|
|
10552
|
-
j.splice(pe, 1), z(ne),
|
|
10560
|
+
j.splice(pe, 1), z(ne), o(`removeWidget ${R == null ? void 0 : R.id}`);
|
|
10553
10561
|
});
|
|
10554
10562
|
}
|
|
10555
10563
|
}, Ce = (R, M) => !M || !R ? -1 : R == null ? void 0 : R.indexOf(M), Me = (R, M, j) => {
|