hlrender 0.0.167 → 0.0.169
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/{_pdf-9ea8339c.js → _pdf-390b46e5.js} +10 -10
- package/{_txt-bc86b0a5.js → _txt-c35599bb.js} +10 -10
- package/{_unsupport-b526be92.js → _unsupport-f93b0616.js} +1 -1
- package/{affix-widget-969ae45a.js → affix-widget-85c291bd.js} +15 -15
- package/{alert-widget-fb5091ac.js → alert-widget-7c1b4f9f.js} +15 -15
- package/{anchor-widget-f6da1b55.js → anchor-widget-b8b58806.js} +12 -12
- package/{auto-complete-widget-b92f677d.js → auto-complete-widget-ba2c8ff2.js} +15 -15
- package/{avatar-widget-26f4a694.js → avatar-widget-bac433a6.js} +15 -15
- package/{backtop-widget-a5411161.js → backtop-widget-c0352cd8.js} +15 -15
- package/{badge-widget-73f8f246.js → badge-widget-71d7a5f0.js} +15 -15
- package/{barcode-widget-1b24eeb9.js → barcode-widget-de868823.js} +12 -12
- package/baseImp-466f044e.js +27738 -0
- package/{breadcrumb-widget-66eff4de.js → breadcrumb-widget-0adb110c.js} +12 -12
- package/{button-widget-ce6a053a.js → button-widget-6ed59e5f.js} +15 -15
- package/{cache-widget-96d3fa36.js → cache-widget-0cda9b65.js} +14 -14
- package/{card-widget-52166dd6.js → card-widget-c25c6189.js} +13 -13
- package/{carousel-widget-118d0d1d.js → carousel-widget-1b851bc8.js} +13 -13
- package/{cascader-widget-4af4caa0.js → cascader-widget-c021c305.js} +14 -14
- package/{chart-widget-321e858d.js → chart-widget-7ecbdb54.js} +12 -12
- package/{checkbox-widget-bb3e230c.js → checkbox-widget-308e7ddc.js} +14 -14
- package/{collapse-widget-ea5a220a.js → collapse-widget-f3d64384.js} +13 -13
- package/{color-picker-widget-7a3bd412.js → color-picker-widget-b3140711.js} +14 -14
- package/{cont-cell-widget-aabfcc20.js → cont-cell-widget-a0862224.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-11475a23.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-01c85403.js} +5 -5
- package/{cont-widget-ca487f98.js → cont-widget-b5c913ee.js} +5 -5
- package/{content-wrapper-b80d77ed.js → content-wrapper-9c34fd63.js} +6 -6
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-f425491a.js → content-wrapper.vue_vue_type_script_setup_true_lang-88b7ccd9.js} +3 -3
- package/{date-picker-range-widget-3b0266e5.js → date-picker-range-widget-bf622eeb.js} +14 -14
- package/{date-picker-widget-7478d7ed.js → date-picker-widget-f1ea836f.js} +14 -14
- package/default-slot-widget-fdf9d79d.js +26 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-3faf2bb7.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-72581ebd.js} +7 -7
- package/{descriptions-widget-3b69c918.js → descriptions-widget-2fe9000a.js} +13 -13
- package/{dialog-edac4003.js → dialog-7ca048d4.js} +2 -2
- package/{dialog-widget-e2eaaeeb.js → dialog-widget-5831ac28.js} +14 -14
- package/{divider-widget-b1570d82.js → divider-widget-c3686a8e.js} +15 -15
- package/{drag-wrapper-0592b608.js → drag-wrapper-8160d249.js} +6 -6
- package/{drawer-widget-6b7e05e2.js → drawer-widget-a364e122.js} +14 -14
- package/{dropdown-widget-d9d5247f.js → dropdown-widget-40eff1f9.js} +13 -13
- package/{empty-widget-e37c7a2e.js → empty-widget-97023e18.js} +15 -15
- package/{enum-type-d852f5f2.js → enum-type-8f579881.js} +19 -11
- package/{enum-type-75d54e07.js → enum-type-d8df98a0.js} +1 -1
- package/{expression-55004e7d.js → expression-497e1d43.js} +177 -161
- package/feedback-widget-c7f414fa.js +26 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-a29cfb30.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-18e13ae1.js} +5 -5
- package/{fieldobj-a43dc7ab.js → fieldobj-29aa53d6.js} +1 -1
- package/{file-upload-widget-776dd0f1.js → file-upload-widget-43bde826.js} +19 -19
- package/{form-item-wrapper-5798a2f2.js → form-item-wrapper-56721cff.js} +10 -10
- package/{form-widget-04451e7a.js → form-widget-e298047d.js} +10 -10
- package/{grid-col-widget-6f9f26e2.js → grid-col-widget-d6adbc77.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-dd12568e.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-8efcd6a8.js} +5 -5
- package/{grid-widget-3068acf1.js → grid-widget-2d1ae98e.js} +5 -5
- package/{html-text-widget-6b822c94.js → html-text-widget-4789dacd.js} +13 -13
- package/{icon-widget-81043acc.js → icon-widget-396bf1cf.js} +12 -12
- package/{iframe-widget-e3c9751f.js → iframe-widget-d4949e5b.js} +12 -12
- package/{image-widget-ca4f9805.js → image-widget-483c7a93.js} +12 -12
- package/{index-b354f498.js → index-33378705.js} +1 -1
- package/{index-d29f8d07.js → index-c1af36a9.js} +613 -598
- package/{index-981e51e1.js → index-fe5601ce.js} +3 -3
- package/{input-number-widget-e15600fa.js → input-number-widget-95687703.js} +14 -14
- package/{input-widget-c77db88b.js → input-widget-1ea32027.js} +15 -15
- package/{label-wrapper-4beda6f8.js → label-wrapper-0c5f7c2b.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-ed32b100.js → label-wrapper.vue_vue_type_style_index_0_lang-bca7d543.js} +3 -3
- package/{link-widget-5943139e.js → link-widget-4c1ed699.js} +15 -15
- package/{ltable-col-widget-e1ddc5a6.js → ltable-col-widget-5e187954.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-4ad12c00.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-b8794088.js} +9 -9
- package/{ltable-widget-089a8f7d.js → ltable-widget-380b3288.js} +5 -5
- package/{menu-widget-765e5e9f.js → menu-widget-a46ba782.js} +13 -13
- package/{model-widget-1e886b80.js → model-widget-69d25690.js} +12 -12
- package/{multirow-5c62bfcd.js → multirow-ed4c7fcf.js} +5 -5
- package/{multirow-widget-8179fe3f.js → multirow-widget-513ad966.js} +14 -14
- package/package.json +1 -1
- package/{pagination-widget-187e39e6.js → pagination-widget-bac2cdbf.js} +12 -12
- package/{picture-upload-widget-078e63f4.js → picture-upload-widget-0f8360be.js} +15 -15
- package/{progress-widget-5cb6ff8c.js → progress-widget-78fee26e.js} +13 -13
- package/{propresult-8672bbef.js → propresult-f21a7f7f.js} +1 -1
- package/{qrcode-widget-be321bf0.js → qrcode-widget-8cab9e61.js} +12 -12
- package/{radio-widget-169320ad.js → radio-widget-78412620.js} +14 -14
- package/{range-widget-a67c05a8.js → range-widget-1f22cb20.js} +15 -15
- package/{rate-widget-3f193a97.js → rate-widget-b6efb81e.js} +14 -14
- package/render.es.js +31 -31
- package/render.umd.js +551 -457
- package/{result-widget-2b558453.js → result-widget-b6fe28cc.js} +13 -13
- package/{rich-editor-widget-7c949bbe.js → rich-editor-widget-2af3b5c8.js} +14 -14
- package/{router-widget-54ec8378.js → router-widget-82363477.js} +12 -12
- package/{select-widget-33b544b1.js → select-widget-5f4f6672.js} +14 -14
- package/{sfc-770bc994.js → sfc-b300f7bf.js} +7 -7
- package/{sfcview-de8133c6.js → sfcview-96adcff9.js} +6 -6
- package/{share-field-f9c329ab.js → share-field-7b815bb1.js} +7 -7
- package/{share-file-99616c95.js → share-file-170214b8.js} +5 -5
- package/{slider-widget-b651ad7c.js → slider-widget-e0836ac9.js} +14 -14
- package/{slot-c00f60c3.js → slot-c8fb1bf9.js} +3 -3
- package/{static-text-widget-fe170e3a.js → static-text-widget-db9590ae.js} +13 -13
- package/{steps-widget-337b2578.js → steps-widget-80a0aa3a.js} +12 -12
- package/{subMenu-widget-d3188060.js → subMenu-widget-c1d4c0c0.js} +7 -7
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-c9e41420.js → subMenu-widget.vue_vue_type_script_setup_true_lang-8eb1288c.js} +3 -3
- package/{switch-widget-bda8267f.js → switch-widget-1da7b750.js} +14 -14
- package/{tab-pane-widget-a2e368e0.js → tab-pane-widget-2f2daeeb.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-eabfc235.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7118490d.js} +5 -5
- package/{table-col-widget-c2006fc5.js → table-col-widget-d86a3867.js} +10 -10
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-f2c808b3.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-578a1659.js} +5 -5
- package/table-widget-954765c6.js +207 -0
- package/{tabs-widget-ab343e18.js → tabs-widget-42d49fd0.js} +7 -7
- package/{tag-widget-67a84a7f.js → tag-widget-0dcc4fca.js} +15 -15
- package/{text-widget-7faa3bf2.js → text-widget-57a7630a.js} +15 -15
- package/{textarea-widget-6701be51.js → textarea-widget-a1ddc5eb.js} +14 -14
- package/{time-picker-range-widget-e629c4f8.js → time-picker-range-widget-36d938f8.js} +14 -14
- package/{time-picker-widget-080967aa.js → time-picker-widget-7b56a808.js} +14 -14
- package/{time-select-widget-e21b1f95.js → time-select-widget-8bd8e0e4.js} +14 -14
- package/{tmpl-widget-eb88ac49.js → tmpl-widget-11b63068.js} +13 -13
- package/{tree-select-widget-bb83d828.js → tree-select-widget-0b962a25.js} +14 -14
- package/{tree-widget-a45a3e19.js → tree-widget-0f3f2862.js} +12 -12
- package/{verifycode-widget-18caa4a0.js → verifycode-widget-29b40889.js} +12 -12
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d32ec85d.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c87aee50.js} +7 -7
- package/{wrapper-widget-c69ce9a2.js → wrapper-widget-e13dcf34.js} +6 -6
- package/baseImp-21f8c6bb.js +0 -11437
- package/default-slot-widget-d965f7a5.js +0 -26
- package/feedback-widget-5cada116.js +0 -26
- package/table-widget-b8fa9c51.js +0 -170
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
var ci = Object.defineProperty;
|
|
2
2
|
var fi = (t, r, i) => r in t ? ci(t, r, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[r] = i;
|
|
3
3
|
var e = (t, r, i) => (fi(t, typeof r != "symbol" ? r + "" : r, i), i);
|
|
4
|
-
import { r as
|
|
5
|
-
import { reactive as
|
|
6
|
-
import { m as hi, g as jt } from "./uuid-4999945f.js";
|
|
7
|
-
import { c as T, C as s, F as
|
|
8
|
-
import { S as X, I as Te, P as a, h as C, i as Ve, s as te, j as ne, k as kt, m as pe, n as Ke, o as
|
|
9
|
-
import { g as ye, r as Fn, p as qn, d as Dn, f as
|
|
4
|
+
import { r as Nt, d as ht, f as En, E as Fe, B as le, o as Jt, c as Ce, z as Et, e as Re, K as Wt } from "./enum-type-8f579881.js";
|
|
5
|
+
import { reactive as Nn, computed as He, nextTick as pi, watch as di } from "vue";
|
|
6
|
+
import { m as hi, u as yi, g as jt } from "./uuid-4999945f.js";
|
|
7
|
+
import { c as T, C as s, F as mi, I as wi, R as vi, g as gi, h as bi, i as St, D as mt, T as Rn, j as Ot, k as Ei, l as Ci, m as xi, n as Ai, o as Fi, p as Ye, q as Di, r as Ge, s as Si, L as Mn, t as Oi, u as Qt, v as jn, w as Un, x as ki, y as Yt, B as Bi, H as Ct, z as _i, A as Ti, G as Ii, J as Pi, K as Li, M as Hn, N as Ni, Q as Ri, U as Mi, X as ji, Y as Ui, Z as Hi, _ as $i, $ as Cn, a0 as Wi, a1 as zi, a2 as Ki, a3 as Gi, a4 as Vi, a5 as qi, a6 as rt, a7 as $n, a8 as Xi, a9 as xn, aa as Ji, ab as Qi, ac as Yi, ad as Zi, ae as ea, d as Zt, e as ta, af as na, ag as ra, P as An } from "./enum-type-d8df98a0.js";
|
|
8
|
+
import { S as X, I as Te, P as a, h as C, i as Ve, s as te, j as ne, k as kt, m as pe, n as Ke, o as ia, p as Wn, q as Bt, r as Xe, E as aa, t as zn, v as Kn, w as en, x as tn, B as ue, y as Rt, f as Ue, T as Gn, z as Vn } from "./baseImp-466f044e.js";
|
|
9
|
+
import { g as ye, r as Fn, p as qn, d as Dn, f as sa } from "./expression-497e1d43.js";
|
|
10
10
|
import { c as Sn } from "./_commonjsHelpers-e7ea1525.js";
|
|
11
|
-
function
|
|
11
|
+
function oa(t) {
|
|
12
12
|
return t = t || /* @__PURE__ */ Object.create(null), {
|
|
13
13
|
/**
|
|
14
14
|
* Register an event handler for the given type.
|
|
@@ -47,19 +47,19 @@ function sa(t) {
|
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
|
-
const
|
|
51
|
-
$on:
|
|
52
|
-
$off:
|
|
53
|
-
$emit:
|
|
50
|
+
const zt = new oa(), On = {
|
|
51
|
+
$on: zt.on,
|
|
52
|
+
$off: zt.off,
|
|
53
|
+
$emit: zt.emit
|
|
54
54
|
};
|
|
55
|
-
function
|
|
55
|
+
function ua(t) {
|
|
56
56
|
var r = {
|
|
57
57
|
index: -1,
|
|
58
58
|
maxStep: 20,
|
|
59
59
|
steps: []
|
|
60
60
|
};
|
|
61
61
|
t && !(t != null && t.historyData) && (t.historyData = r);
|
|
62
|
-
const i =
|
|
62
|
+
const i = Nn((t == null ? void 0 : t.historyData) || r), u = `widget__list__backup__${t == null ? void 0 : t.key}`, c = `form__config__backup__${t == null ? void 0 : t.key}`, l = He({
|
|
63
63
|
get: () => (i.index < 0 && (i.index = 0), i.steps[i.index]),
|
|
64
64
|
set: (B) => {
|
|
65
65
|
i.index < 0 && (i.index = 0), i.steps[i.index] = B;
|
|
@@ -95,11 +95,11 @@ function oa(t) {
|
|
|
95
95
|
var B;
|
|
96
96
|
return i.index < ((B = i.steps) == null ? void 0 : B.length) - 1;
|
|
97
97
|
}, f = () => {
|
|
98
|
-
|
|
98
|
+
Nt.set(u, t.widgetList), Nt.set(c, t.pageConfig);
|
|
99
99
|
}, P = () => {
|
|
100
|
-
let B =
|
|
100
|
+
let B = Nt.get(u);
|
|
101
101
|
B && ht(t.widgetList, En(B));
|
|
102
|
-
let O =
|
|
102
|
+
let O = Nt.get(c);
|
|
103
103
|
O && ht(t.pageConfig, En(O));
|
|
104
104
|
};
|
|
105
105
|
return {
|
|
@@ -115,7 +115,7 @@ function oa(t) {
|
|
|
115
115
|
loadFormContentFromStorage: P
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
|
-
class
|
|
118
|
+
class la extends Te {
|
|
119
119
|
constructor() {
|
|
120
120
|
super(...arguments);
|
|
121
121
|
/**
|
|
@@ -133,7 +133,7 @@ class ua extends Te {
|
|
|
133
133
|
/**
|
|
134
134
|
* 组件状态
|
|
135
135
|
*/
|
|
136
|
-
e(this, "state", new a(s.placer,
|
|
136
|
+
e(this, "state", new a(s.placer, mi.custom));
|
|
137
137
|
/**
|
|
138
138
|
* 是否只读
|
|
139
139
|
*/
|
|
@@ -148,13 +148,13 @@ class ua extends Te {
|
|
|
148
148
|
e(this, "change", new a(s.event, void 0, new C()));
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
|
-
class
|
|
151
|
+
class ca extends Ve {
|
|
152
152
|
constructor() {
|
|
153
153
|
super(...arguments);
|
|
154
154
|
/**
|
|
155
155
|
* 组件类型
|
|
156
156
|
*/
|
|
157
|
-
e(this, "type",
|
|
157
|
+
e(this, "type", wi.text);
|
|
158
158
|
/**
|
|
159
159
|
* 最小长度
|
|
160
160
|
*/
|
|
@@ -241,13 +241,13 @@ class la extends Ve {
|
|
|
241
241
|
e(this, "append", new a(s.slot, void 0, new te({ allowDrag: !0 }), void 0, new ne()));
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
|
-
class
|
|
244
|
+
class fa extends Ve {
|
|
245
245
|
constructor() {
|
|
246
246
|
super(...arguments);
|
|
247
247
|
/**
|
|
248
248
|
* 缩放类型
|
|
249
249
|
*/
|
|
250
|
-
e(this, "resize",
|
|
250
|
+
e(this, "resize", vi.none);
|
|
251
251
|
/**
|
|
252
252
|
* 初始化行数
|
|
253
253
|
*/
|
|
@@ -278,7 +278,7 @@ class ca extends Ve {
|
|
|
278
278
|
e(this, "input", new a(s.event, void 0, new C()));
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
|
-
class
|
|
281
|
+
class pa extends Ve {
|
|
282
282
|
constructor() {
|
|
283
283
|
super(...arguments);
|
|
284
284
|
/**
|
|
@@ -313,11 +313,11 @@ class fa extends Ve {
|
|
|
313
313
|
/**
|
|
314
314
|
* 控制按钮位置
|
|
315
315
|
*/
|
|
316
|
-
e(this, "controlsPosition",
|
|
316
|
+
e(this, "controlsPosition", gi.none);
|
|
317
317
|
/**
|
|
318
318
|
* 当输入框被清空时显示的值
|
|
319
319
|
*/
|
|
320
|
-
e(this, "valueOnClear",
|
|
320
|
+
e(this, "valueOnClear", bi.min);
|
|
321
321
|
/**
|
|
322
322
|
* 单位
|
|
323
323
|
*/
|
|
@@ -328,7 +328,7 @@ class fa extends Ve {
|
|
|
328
328
|
e(this, "input", new a(s.event, void 0, new C()));
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
|
-
class
|
|
331
|
+
class da extends Ve {
|
|
332
332
|
constructor() {
|
|
333
333
|
super(...arguments);
|
|
334
334
|
/**
|
|
@@ -415,7 +415,7 @@ class pa extends Ve {
|
|
|
415
415
|
e(this, "append", new a(s.slot, void 0, new te({ allowDrag: !0 }), void 0, new ne()));
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
class
|
|
418
|
+
class ha extends kt {
|
|
419
419
|
constructor() {
|
|
420
420
|
super(...arguments);
|
|
421
421
|
/**
|
|
@@ -493,7 +493,7 @@ class Xn extends Ke {
|
|
|
493
493
|
e(this, "disabled", !1);
|
|
494
494
|
}
|
|
495
495
|
}
|
|
496
|
-
class
|
|
496
|
+
class ya extends kt {
|
|
497
497
|
constructor() {
|
|
498
498
|
super(...arguments);
|
|
499
499
|
/**
|
|
@@ -657,7 +657,7 @@ class kn extends Ve {
|
|
|
657
657
|
/**
|
|
658
658
|
* 标签类型
|
|
659
659
|
*/
|
|
660
|
-
e(this, "tagType",
|
|
660
|
+
e(this, "tagType", Rn.info);
|
|
661
661
|
/**
|
|
662
662
|
* 是否触发表单验证
|
|
663
663
|
*/
|
|
@@ -810,7 +810,7 @@ class Qn extends Ve {
|
|
|
810
810
|
/**
|
|
811
811
|
* 时间格式
|
|
812
812
|
*/
|
|
813
|
-
e(this, "format",
|
|
813
|
+
e(this, "format", Xi.time1);
|
|
814
814
|
/**
|
|
815
815
|
* 时间格式
|
|
816
816
|
*/
|
|
@@ -871,7 +871,7 @@ class Qn extends Ve {
|
|
|
871
871
|
e(this, "visibleChange", new a(s.event, void 0, new C()));
|
|
872
872
|
}
|
|
873
873
|
}
|
|
874
|
-
class
|
|
874
|
+
class ma extends Qn {
|
|
875
875
|
constructor() {
|
|
876
876
|
super(...arguments);
|
|
877
877
|
/**
|
|
@@ -880,7 +880,7 @@ class ya extends Qn {
|
|
|
880
880
|
e(this, "placeholder", "");
|
|
881
881
|
}
|
|
882
882
|
}
|
|
883
|
-
class
|
|
883
|
+
class wa extends Qn {
|
|
884
884
|
constructor() {
|
|
885
885
|
super(...arguments);
|
|
886
886
|
/**
|
|
@@ -980,7 +980,7 @@ class Yn extends Ve {
|
|
|
980
980
|
e(this, "calendarChange", new a(s.event, void 0, new C()));
|
|
981
981
|
}
|
|
982
982
|
}
|
|
983
|
-
class
|
|
983
|
+
class va extends Yn {
|
|
984
984
|
constructor() {
|
|
985
985
|
super(...arguments);
|
|
986
986
|
/**
|
|
@@ -990,16 +990,16 @@ class wa extends Yn {
|
|
|
990
990
|
/**
|
|
991
991
|
* 日期类型
|
|
992
992
|
*/
|
|
993
|
-
e(this, "type",
|
|
993
|
+
e(this, "type", Ei.date);
|
|
994
994
|
}
|
|
995
995
|
}
|
|
996
|
-
class
|
|
996
|
+
class ga extends Yn {
|
|
997
997
|
constructor() {
|
|
998
998
|
super(...arguments);
|
|
999
999
|
/**
|
|
1000
1000
|
* 日期类型
|
|
1001
1001
|
*/
|
|
1002
|
-
e(this, "type",
|
|
1002
|
+
e(this, "type", Ci.daterange);
|
|
1003
1003
|
/**
|
|
1004
1004
|
* 可选,选择器打开时默认显示的时间
|
|
1005
1005
|
*/
|
|
@@ -1027,7 +1027,7 @@ class va extends Yn {
|
|
|
1027
1027
|
}
|
|
1028
1028
|
// rangeSeparator?: PropValue = new PropValue(ComplexType.slot, undefined, new slotOptions(), undefined, new slotAttachOptions());
|
|
1029
1029
|
}
|
|
1030
|
-
class
|
|
1030
|
+
class ba extends Ve {
|
|
1031
1031
|
constructor() {
|
|
1032
1032
|
super(...arguments);
|
|
1033
1033
|
/**
|
|
@@ -1084,7 +1084,7 @@ class ga extends Ve {
|
|
|
1084
1084
|
e(this, "clear", new a(s.event, void 0, new C()));
|
|
1085
1085
|
}
|
|
1086
1086
|
}
|
|
1087
|
-
class
|
|
1087
|
+
class Ea extends Ve {
|
|
1088
1088
|
constructor() {
|
|
1089
1089
|
super(...arguments);
|
|
1090
1090
|
/**
|
|
@@ -1152,7 +1152,7 @@ class ba extends Ve {
|
|
|
1152
1152
|
e(this, "beforeChange", new a(s.hook, void 0, new C()));
|
|
1153
1153
|
}
|
|
1154
1154
|
}
|
|
1155
|
-
class
|
|
1155
|
+
class Ca extends kt {
|
|
1156
1156
|
constructor() {
|
|
1157
1157
|
super(...arguments);
|
|
1158
1158
|
/**
|
|
@@ -1181,7 +1181,7 @@ class Ea extends kt {
|
|
|
1181
1181
|
e(this, "showScore", !0);
|
|
1182
1182
|
}
|
|
1183
1183
|
}
|
|
1184
|
-
class
|
|
1184
|
+
class xa extends ia {
|
|
1185
1185
|
constructor() {
|
|
1186
1186
|
super(...arguments);
|
|
1187
1187
|
/**
|
|
@@ -1203,15 +1203,15 @@ class Ca extends ra {
|
|
|
1203
1203
|
/**
|
|
1204
1204
|
* 进度条类型
|
|
1205
1205
|
*/
|
|
1206
|
-
e(this, "type",
|
|
1206
|
+
e(this, "type", xi.line);
|
|
1207
1207
|
/**
|
|
1208
1208
|
* 进度条当前状态
|
|
1209
1209
|
*/
|
|
1210
|
-
e(this, "status",
|
|
1210
|
+
e(this, "status", Ai.none);
|
|
1211
1211
|
/**
|
|
1212
1212
|
* circle / dashboard 类型路径两端的形状
|
|
1213
1213
|
*/
|
|
1214
|
-
e(this, "strokeLinecap",
|
|
1214
|
+
e(this, "strokeLinecap", Fi.round);
|
|
1215
1215
|
/**
|
|
1216
1216
|
* 进度条完成状态背景色 (会覆盖 status 状态颜色)
|
|
1217
1217
|
*/
|
|
@@ -1258,13 +1258,13 @@ class Ca extends ra {
|
|
|
1258
1258
|
e(this, "completed", new a(s.placerHook, void 0, new C()));
|
|
1259
1259
|
}
|
|
1260
1260
|
}
|
|
1261
|
-
class
|
|
1261
|
+
class Aa extends kt {
|
|
1262
1262
|
constructor() {
|
|
1263
1263
|
super(...arguments);
|
|
1264
1264
|
/**
|
|
1265
1265
|
* 写入 v-model 的颜色的格式
|
|
1266
1266
|
*/
|
|
1267
|
-
e(this, "colorFormat",
|
|
1267
|
+
e(this, "colorFormat", Di.rgb);
|
|
1268
1268
|
/**
|
|
1269
1269
|
* 是否支持透明度选择
|
|
1270
1270
|
*/
|
|
@@ -1279,7 +1279,7 @@ class xa extends kt {
|
|
|
1279
1279
|
e(this, "predefine", new a(s.dataObject, [], new pe({ type: le.array, enable: !0 })));
|
|
1280
1280
|
}
|
|
1281
1281
|
}
|
|
1282
|
-
class
|
|
1282
|
+
class Fa extends Ve {
|
|
1283
1283
|
constructor() {
|
|
1284
1284
|
super(...arguments);
|
|
1285
1285
|
/**
|
|
@@ -1419,7 +1419,7 @@ class Zn extends kt {
|
|
|
1419
1419
|
/**
|
|
1420
1420
|
* 设置上传请求方法
|
|
1421
1421
|
*/
|
|
1422
|
-
e(this, "method",
|
|
1422
|
+
e(this, "method", na.post);
|
|
1423
1423
|
/**
|
|
1424
1424
|
* 上传提示
|
|
1425
1425
|
*/
|
|
@@ -1530,21 +1530,21 @@ class Zn extends kt {
|
|
|
1530
1530
|
e(this, "file", new a(s.slot, void 0, new te({ allowDrag: !0, enable: !1 }), void 0, new ne()));
|
|
1531
1531
|
}
|
|
1532
1532
|
}
|
|
1533
|
-
class
|
|
1533
|
+
class Da {
|
|
1534
1534
|
constructor() {
|
|
1535
1535
|
let r = new Zn();
|
|
1536
|
-
a.setValue(r, "accept",
|
|
1536
|
+
a.setValue(r, "accept", Wn(Si)), a.setValue(r, "listType", Mn.pictureCard);
|
|
1537
1537
|
const i = ["file", "drag"];
|
|
1538
1538
|
return i == null || i.forEach((u) => delete r[u]), r;
|
|
1539
1539
|
}
|
|
1540
1540
|
}
|
|
1541
|
-
class
|
|
1541
|
+
class Sa {
|
|
1542
1542
|
constructor() {
|
|
1543
1543
|
let r = new Zn();
|
|
1544
|
-
return a.setValue(r, "accept",
|
|
1544
|
+
return a.setValue(r, "accept", Wn(Oi)), r;
|
|
1545
1545
|
}
|
|
1546
1546
|
}
|
|
1547
|
-
class
|
|
1547
|
+
class Oa extends Ve {
|
|
1548
1548
|
/**
|
|
1549
1549
|
* 最少数字个数
|
|
1550
1550
|
*/
|
|
@@ -1558,7 +1558,7 @@ class Sa extends Ve {
|
|
|
1558
1558
|
*/
|
|
1559
1559
|
// showWordLimit?: boolean = false;
|
|
1560
1560
|
}
|
|
1561
|
-
class
|
|
1561
|
+
class ka extends Ve {
|
|
1562
1562
|
constructor() {
|
|
1563
1563
|
super(...arguments);
|
|
1564
1564
|
/**
|
|
@@ -1596,7 +1596,7 @@ class Oa extends Ve {
|
|
|
1596
1596
|
/**
|
|
1597
1597
|
* 标签类型
|
|
1598
1598
|
*/
|
|
1599
|
-
e(this, "tagType",
|
|
1599
|
+
e(this, "tagType", Rn.info);
|
|
1600
1600
|
/**
|
|
1601
1601
|
* 标签效果
|
|
1602
1602
|
*/
|
|
@@ -1929,11 +1929,11 @@ class er extends Te {
|
|
|
1929
1929
|
e(this, "optionItems", new a(s.singleOption, [], new pe({ type: le.array, enable: !0 })));
|
|
1930
1930
|
}
|
|
1931
1931
|
}
|
|
1932
|
-
class ka extends Bt {
|
|
1933
|
-
}
|
|
1934
1932
|
class Ba extends Bt {
|
|
1935
1933
|
}
|
|
1936
|
-
class _a extends
|
|
1934
|
+
class _a extends Bt {
|
|
1935
|
+
}
|
|
1936
|
+
class Ta extends Xe {
|
|
1937
1937
|
constructor() {
|
|
1938
1938
|
super(...arguments);
|
|
1939
1939
|
/**
|
|
@@ -1958,7 +1958,7 @@ class _a extends Xe {
|
|
|
1958
1958
|
e(this, "truncated", !1);
|
|
1959
1959
|
}
|
|
1960
1960
|
}
|
|
1961
|
-
class
|
|
1961
|
+
class Ia extends Xe {
|
|
1962
1962
|
constructor() {
|
|
1963
1963
|
super(...arguments);
|
|
1964
1964
|
/**
|
|
@@ -1980,7 +1980,7 @@ class Ta extends Xe {
|
|
|
1980
1980
|
/**
|
|
1981
1981
|
* 原生target
|
|
1982
1982
|
*/
|
|
1983
|
-
e(this, "target",
|
|
1983
|
+
e(this, "target", ki.blank);
|
|
1984
1984
|
/**
|
|
1985
1985
|
* 前部图标组件
|
|
1986
1986
|
*/
|
|
@@ -1995,7 +1995,7 @@ class Ta extends Xe {
|
|
|
1995
1995
|
e(this, "default", new a(s.slot, void 0, new te(), void 0, new ne()));
|
|
1996
1996
|
}
|
|
1997
1997
|
}
|
|
1998
|
-
class
|
|
1998
|
+
class Pa extends Xe {
|
|
1999
1999
|
constructor() {
|
|
2000
2000
|
super(...arguments);
|
|
2001
2001
|
/**
|
|
@@ -2045,7 +2045,7 @@ class Ia extends Xe {
|
|
|
2045
2045
|
e(this, "close", new a(s.event, void 0, new C()));
|
|
2046
2046
|
}
|
|
2047
2047
|
}
|
|
2048
|
-
class
|
|
2048
|
+
class La extends Xe {
|
|
2049
2049
|
constructor() {
|
|
2050
2050
|
super(...arguments);
|
|
2051
2051
|
/**
|
|
@@ -2067,7 +2067,7 @@ class Pa extends Xe {
|
|
|
2067
2067
|
/**
|
|
2068
2068
|
* 按钮类型
|
|
2069
2069
|
*/
|
|
2070
|
-
e(this, "buttonType",
|
|
2070
|
+
e(this, "buttonType", Bi.default);
|
|
2071
2071
|
/**
|
|
2072
2072
|
* 是否显示为文字按钮
|
|
2073
2073
|
*/
|
|
@@ -2131,14 +2131,14 @@ class Pa extends Xe {
|
|
|
2131
2131
|
/**
|
|
2132
2132
|
* 点击后调用事件
|
|
2133
2133
|
*/
|
|
2134
|
-
e(this, "click", new a(s.event, new
|
|
2134
|
+
e(this, "click", new a(s.event, new aa(), new C()));
|
|
2135
2135
|
/**
|
|
2136
2136
|
* 默认插槽
|
|
2137
2137
|
*/
|
|
2138
2138
|
e(this, "default", new a(s.slot, void 0, new te(), void 0, new ne()));
|
|
2139
2139
|
}
|
|
2140
2140
|
}
|
|
2141
|
-
class
|
|
2141
|
+
class Na extends Xe {
|
|
2142
2142
|
constructor() {
|
|
2143
2143
|
super(...arguments);
|
|
2144
2144
|
/**
|
|
@@ -2152,7 +2152,7 @@ class La extends Xe {
|
|
|
2152
2152
|
/**
|
|
2153
2153
|
* 文字位置
|
|
2154
2154
|
*/
|
|
2155
|
-
e(this, "borderStyle",
|
|
2155
|
+
e(this, "borderStyle", _i.solid);
|
|
2156
2156
|
}
|
|
2157
2157
|
}
|
|
2158
2158
|
class Ra extends Te {
|
|
@@ -2168,7 +2168,7 @@ class Ra extends Te {
|
|
|
2168
2168
|
e(this, "dataSource", new a(s.dataObject, null, new pe({ type: le.array, enable: !0 })));
|
|
2169
2169
|
}
|
|
2170
2170
|
}
|
|
2171
|
-
class
|
|
2171
|
+
class Ma extends Xe {
|
|
2172
2172
|
constructor() {
|
|
2173
2173
|
super(...arguments);
|
|
2174
2174
|
/**
|
|
@@ -2182,7 +2182,7 @@ class Na extends Xe {
|
|
|
2182
2182
|
/**
|
|
2183
2183
|
* 位置
|
|
2184
2184
|
*/
|
|
2185
|
-
e(this, "position",
|
|
2185
|
+
e(this, "position", Ti.top);
|
|
2186
2186
|
/**
|
|
2187
2187
|
* z-index
|
|
2188
2188
|
*/
|
|
@@ -2197,7 +2197,7 @@ class Na extends Xe {
|
|
|
2197
2197
|
e(this, "scroll", new a(s.event, void 0, new C()));
|
|
2198
2198
|
}
|
|
2199
2199
|
}
|
|
2200
|
-
class
|
|
2200
|
+
class ja extends Bt {
|
|
2201
2201
|
constructor() {
|
|
2202
2202
|
super(...arguments);
|
|
2203
2203
|
/**
|
|
@@ -2211,7 +2211,7 @@ class Ma extends Bt {
|
|
|
2211
2211
|
/**
|
|
2212
2212
|
* 条码类型
|
|
2213
2213
|
*/
|
|
2214
|
-
e(this, "format", new a(s.placer,
|
|
2214
|
+
e(this, "format", new a(s.placer, Ii.CODE128));
|
|
2215
2215
|
/**
|
|
2216
2216
|
* 线条宽度
|
|
2217
2217
|
*/
|
|
@@ -2230,7 +2230,7 @@ class Ma extends Bt {
|
|
|
2230
2230
|
e(this, "displayValue", new a(s.placer, !0));
|
|
2231
2231
|
}
|
|
2232
2232
|
}
|
|
2233
|
-
class
|
|
2233
|
+
class Ua extends Bt {
|
|
2234
2234
|
constructor() {
|
|
2235
2235
|
super(...arguments);
|
|
2236
2236
|
/**
|
|
@@ -2239,7 +2239,7 @@ class ja extends Bt {
|
|
|
2239
2239
|
e(this, "ctrlWidth", new a(s.placer, "200px"));
|
|
2240
2240
|
}
|
|
2241
2241
|
}
|
|
2242
|
-
class
|
|
2242
|
+
class Ha extends Bt {
|
|
2243
2243
|
constructor() {
|
|
2244
2244
|
super(...arguments);
|
|
2245
2245
|
e(this, "displayLayout", new a(s.placer, mt.inline));
|
|
@@ -2301,7 +2301,7 @@ class Ua extends Bt {
|
|
|
2301
2301
|
e(this, "contentHeight", 40);
|
|
2302
2302
|
}
|
|
2303
2303
|
}
|
|
2304
|
-
class
|
|
2304
|
+
class $a extends Te {
|
|
2305
2305
|
constructor() {
|
|
2306
2306
|
super(...arguments);
|
|
2307
2307
|
/**
|
|
@@ -2322,7 +2322,7 @@ class Ha extends Te {
|
|
|
2322
2322
|
e(this, "icon", new a(s.icon, "Apple"));
|
|
2323
2323
|
}
|
|
2324
2324
|
}
|
|
2325
|
-
class
|
|
2325
|
+
class Wa extends Xe {
|
|
2326
2326
|
constructor() {
|
|
2327
2327
|
super(...arguments);
|
|
2328
2328
|
/**
|
|
@@ -2368,7 +2368,7 @@ class za extends Xe {
|
|
|
2368
2368
|
e(this, "type", Yt.danger);
|
|
2369
2369
|
}
|
|
2370
2370
|
}
|
|
2371
|
-
class
|
|
2371
|
+
class Ka extends Xe {
|
|
2372
2372
|
constructor() {
|
|
2373
2373
|
super(...arguments);
|
|
2374
2374
|
//IContentWidgetOptions
|
|
@@ -2399,7 +2399,7 @@ class Wa extends Xe {
|
|
|
2399
2399
|
/**
|
|
2400
2400
|
* 触发下拉的行为
|
|
2401
2401
|
*/
|
|
2402
|
-
e(this, "trigger",
|
|
2402
|
+
e(this, "trigger", Pi.hover);
|
|
2403
2403
|
/**
|
|
2404
2404
|
* 下拉触发元素呈现为按钮组
|
|
2405
2405
|
*/
|
|
@@ -2477,7 +2477,7 @@ class tr extends Ke {
|
|
|
2477
2477
|
e(this, "divided", !1);
|
|
2478
2478
|
}
|
|
2479
2479
|
}
|
|
2480
|
-
class
|
|
2480
|
+
class Ga extends Xe {
|
|
2481
2481
|
constructor() {
|
|
2482
2482
|
super(...arguments);
|
|
2483
2483
|
/**
|
|
@@ -2487,7 +2487,7 @@ class Ka extends Xe {
|
|
|
2487
2487
|
/**
|
|
2488
2488
|
* 形状
|
|
2489
2489
|
*/
|
|
2490
|
-
e(this, "shape",
|
|
2490
|
+
e(this, "shape", Li.circle);
|
|
2491
2491
|
/**
|
|
2492
2492
|
* 图片源地址
|
|
2493
2493
|
*/
|
|
@@ -2514,13 +2514,13 @@ class Ka extends Xe {
|
|
|
2514
2514
|
e(this, "error", new a(s.event, void 0, new C()));
|
|
2515
2515
|
}
|
|
2516
2516
|
}
|
|
2517
|
-
class
|
|
2517
|
+
class Va extends Te {
|
|
2518
2518
|
constructor() {
|
|
2519
2519
|
super(...arguments);
|
|
2520
2520
|
/**
|
|
2521
2521
|
* 图标类型
|
|
2522
2522
|
*/
|
|
2523
|
-
e(this, "icon",
|
|
2523
|
+
e(this, "icon", Ni.info);
|
|
2524
2524
|
/**
|
|
2525
2525
|
* 标题
|
|
2526
2526
|
*/
|
|
@@ -2540,7 +2540,7 @@ class Ga extends Te {
|
|
|
2540
2540
|
e(this, "extra", new a(s.slot, void 0, new te(), void 0, new ne()));
|
|
2541
2541
|
}
|
|
2542
2542
|
}
|
|
2543
|
-
class
|
|
2543
|
+
class qa extends Xe {
|
|
2544
2544
|
constructor() {
|
|
2545
2545
|
super(...arguments);
|
|
2546
2546
|
/**
|
|
@@ -2569,7 +2569,7 @@ class Va extends Xe {
|
|
|
2569
2569
|
e(this, "click", new a(s.event, void 0, new C()));
|
|
2570
2570
|
}
|
|
2571
2571
|
}
|
|
2572
|
-
class
|
|
2572
|
+
class Xa extends Te {
|
|
2573
2573
|
constructor() {
|
|
2574
2574
|
super(...arguments);
|
|
2575
2575
|
/**
|
|
@@ -2614,7 +2614,7 @@ class qa extends Te {
|
|
|
2614
2614
|
e(this, "optionItems", new a(s.singleOption, [], new pe({ type: le.array, enable: !0 })));
|
|
2615
2615
|
}
|
|
2616
2616
|
}
|
|
2617
|
-
class nr extends
|
|
2617
|
+
class nr extends zn {
|
|
2618
2618
|
constructor() {
|
|
2619
2619
|
super(...arguments);
|
|
2620
2620
|
/**
|
|
@@ -2631,7 +2631,7 @@ class nr extends Wn {
|
|
|
2631
2631
|
e(this, "children");
|
|
2632
2632
|
}
|
|
2633
2633
|
}
|
|
2634
|
-
class
|
|
2634
|
+
class Ja extends Te {
|
|
2635
2635
|
constructor() {
|
|
2636
2636
|
super(...arguments);
|
|
2637
2637
|
/**
|
|
@@ -2645,7 +2645,7 @@ class Xa extends Te {
|
|
|
2645
2645
|
/**
|
|
2646
2646
|
* 指示器的位置
|
|
2647
2647
|
*/
|
|
2648
|
-
e(this, "indicatorPosition",
|
|
2648
|
+
e(this, "indicatorPosition", Mi.none);
|
|
2649
2649
|
/**
|
|
2650
2650
|
* 指示器的触发方式
|
|
2651
2651
|
*/
|
|
@@ -2653,11 +2653,11 @@ class Xa extends Te {
|
|
|
2653
2653
|
/**
|
|
2654
2654
|
* 切换箭头的显示时机
|
|
2655
2655
|
*/
|
|
2656
|
-
e(this, "arrow",
|
|
2656
|
+
e(this, "arrow", ji.hover);
|
|
2657
2657
|
/**
|
|
2658
2658
|
* 类型
|
|
2659
2659
|
*/
|
|
2660
|
-
e(this, "type",
|
|
2660
|
+
e(this, "type", Ui.none);
|
|
2661
2661
|
/**
|
|
2662
2662
|
* 展示的方向
|
|
2663
2663
|
*/
|
|
@@ -2697,7 +2697,7 @@ class rr extends Ke {
|
|
|
2697
2697
|
e(this, "slotContent", new a(s.slot, void 0, new te({ slotName: "content" }), void 0, new ne()));
|
|
2698
2698
|
}
|
|
2699
2699
|
}
|
|
2700
|
-
class
|
|
2700
|
+
class Qa extends Te {
|
|
2701
2701
|
constructor() {
|
|
2702
2702
|
super(...arguments);
|
|
2703
2703
|
/**
|
|
@@ -2714,7 +2714,7 @@ class Ja extends Te {
|
|
|
2714
2714
|
e(this, "optionItems", new a(s.singleOption, [], new pe({ type: le.array, enable: !0 })));
|
|
2715
2715
|
}
|
|
2716
2716
|
}
|
|
2717
|
-
class ir extends
|
|
2717
|
+
class ir extends zn {
|
|
2718
2718
|
constructor() {
|
|
2719
2719
|
super(...arguments);
|
|
2720
2720
|
/**
|
|
@@ -2739,7 +2739,7 @@ class ir extends Wn {
|
|
|
2739
2739
|
e(this, "disabled", !1);
|
|
2740
2740
|
}
|
|
2741
2741
|
}
|
|
2742
|
-
class
|
|
2742
|
+
class Ya extends Te {
|
|
2743
2743
|
constructor() {
|
|
2744
2744
|
super(...arguments);
|
|
2745
2745
|
/**
|
|
@@ -2821,7 +2821,7 @@ class ar extends Ke {
|
|
|
2821
2821
|
e(this, "labelClassName", "");
|
|
2822
2822
|
}
|
|
2823
2823
|
}
|
|
2824
|
-
class
|
|
2824
|
+
class Za extends Te {
|
|
2825
2825
|
constructor() {
|
|
2826
2826
|
super(...arguments);
|
|
2827
2827
|
/**
|
|
@@ -2843,7 +2843,7 @@ class Ya extends Te {
|
|
|
2843
2843
|
/**
|
|
2844
2844
|
* 加载方式
|
|
2845
2845
|
*/
|
|
2846
|
-
e(this, "loading",
|
|
2846
|
+
e(this, "loading", Hi.eager);
|
|
2847
2847
|
/**
|
|
2848
2848
|
* 当开启 preview 功能时,是否可以通过点击遮罩层关闭 preview
|
|
2849
2849
|
*/
|
|
@@ -2930,7 +2930,7 @@ class Ya extends Te {
|
|
|
2930
2930
|
e(this, "optionItems", new a(s.singleOption, [], new pe({ type: le.array, enable: !0 })));
|
|
2931
2931
|
}
|
|
2932
2932
|
}
|
|
2933
|
-
class
|
|
2933
|
+
class es extends Te {
|
|
2934
2934
|
constructor() {
|
|
2935
2935
|
super(...arguments);
|
|
2936
2936
|
/**
|
|
@@ -2964,7 +2964,7 @@ class sr extends Ke {
|
|
|
2964
2964
|
e(this, "useRouter", !1);
|
|
2965
2965
|
}
|
|
2966
2966
|
}
|
|
2967
|
-
class
|
|
2967
|
+
class ts extends Te {
|
|
2968
2968
|
constructor() {
|
|
2969
2969
|
super(...arguments);
|
|
2970
2970
|
/**
|
|
@@ -3083,7 +3083,7 @@ class or extends Ke {
|
|
|
3083
3083
|
/**
|
|
3084
3084
|
* 菜单项类型,自定义
|
|
3085
3085
|
*/
|
|
3086
|
-
e(this, "menuItemType",
|
|
3086
|
+
e(this, "menuItemType", $i.None);
|
|
3087
3087
|
/**
|
|
3088
3088
|
* 子菜单出现之前的延迟
|
|
3089
3089
|
*/
|
|
@@ -3126,7 +3126,7 @@ class or extends Ke {
|
|
|
3126
3126
|
e(this, "children");
|
|
3127
3127
|
}
|
|
3128
3128
|
}
|
|
3129
|
-
class
|
|
3129
|
+
class ns extends Te {
|
|
3130
3130
|
constructor() {
|
|
3131
3131
|
super(...arguments);
|
|
3132
3132
|
//IBaseCommonWidgetOptions
|
|
@@ -3140,7 +3140,7 @@ class ts extends Te {
|
|
|
3140
3140
|
e(this, "displayLayout", new a(s.placer, mt.inline));
|
|
3141
3141
|
}
|
|
3142
3142
|
}
|
|
3143
|
-
class
|
|
3143
|
+
class rs extends Te {
|
|
3144
3144
|
constructor() {
|
|
3145
3145
|
super(...arguments);
|
|
3146
3146
|
/**
|
|
@@ -3198,7 +3198,7 @@ class ur extends Ke {
|
|
|
3198
3198
|
e(this, "status", "");
|
|
3199
3199
|
}
|
|
3200
3200
|
}
|
|
3201
|
-
class
|
|
3201
|
+
class is extends Te {
|
|
3202
3202
|
constructor() {
|
|
3203
3203
|
super(...arguments);
|
|
3204
3204
|
/**
|
|
@@ -3233,7 +3233,7 @@ class rs extends Te {
|
|
|
3233
3233
|
/**
|
|
3234
3234
|
* 设置表格单元、行和列的布局方式
|
|
3235
3235
|
*/
|
|
3236
|
-
e(this, "tableLayout",
|
|
3236
|
+
e(this, "tableLayout", Wi.fixed);
|
|
3237
3237
|
/**
|
|
3238
3238
|
* 是否为斑马纹table
|
|
3239
3239
|
*/
|
|
@@ -3385,6 +3385,21 @@ class rs extends Te {
|
|
|
3385
3385
|
*/
|
|
3386
3386
|
e(this, "layout", new a(s.placer, ["prev", "pager", "next", "jumper", "->", "total"]));
|
|
3387
3387
|
//#endregion
|
|
3388
|
+
//#region 导出功能
|
|
3389
|
+
e(this, "enableExport", new a(s.placer, !1));
|
|
3390
|
+
/**
|
|
3391
|
+
* 导出的文件名称
|
|
3392
|
+
*/
|
|
3393
|
+
e(this, "exportFileName", new a(s.placer, yi()));
|
|
3394
|
+
/**
|
|
3395
|
+
* 导出的表格名称
|
|
3396
|
+
*/
|
|
3397
|
+
e(this, "exportSheetName", new a(s.placer, "Sheet1"));
|
|
3398
|
+
/**
|
|
3399
|
+
* 自动调节宽度
|
|
3400
|
+
*/
|
|
3401
|
+
e(this, "exportAutoWidth", new a(s.placer, !1));
|
|
3402
|
+
//#endregion
|
|
3388
3403
|
/**
|
|
3389
3404
|
* 当用户手动勾选数据行的 Checkbox 时触发的事件
|
|
3390
3405
|
*/
|
|
@@ -3635,7 +3650,7 @@ class at extends _t {
|
|
|
3635
3650
|
e(this, "componentWrapperClass", new a(s.placer, []));
|
|
3636
3651
|
}
|
|
3637
3652
|
}
|
|
3638
|
-
class
|
|
3653
|
+
class as extends _t {
|
|
3639
3654
|
constructor() {
|
|
3640
3655
|
super(...arguments);
|
|
3641
3656
|
/**
|
|
@@ -3654,11 +3669,11 @@ class is extends _t {
|
|
|
3654
3669
|
/**
|
|
3655
3670
|
* flex 布局下的水平排列方式
|
|
3656
3671
|
*/
|
|
3657
|
-
e(this, "justify",
|
|
3672
|
+
e(this, "justify", Ji.start);
|
|
3658
3673
|
/**
|
|
3659
3674
|
* flex 布局下的垂直排列方式
|
|
3660
3675
|
*/
|
|
3661
|
-
e(this, "align",
|
|
3676
|
+
e(this, "align", Qi.middle);
|
|
3662
3677
|
/**
|
|
3663
3678
|
* 自定义元素标签
|
|
3664
3679
|
*/
|
|
@@ -3731,7 +3746,7 @@ class cr extends at {
|
|
|
3731
3746
|
*/
|
|
3732
3747
|
// verticalAlign?: PropValue = new PropValue(ComplexType.placer, '');
|
|
3733
3748
|
}
|
|
3734
|
-
class
|
|
3749
|
+
class ss extends _t {
|
|
3735
3750
|
constructor() {
|
|
3736
3751
|
super(...arguments);
|
|
3737
3752
|
/**
|
|
@@ -3740,7 +3755,7 @@ class as extends _t {
|
|
|
3740
3755
|
e(this, "hidden", !1);
|
|
3741
3756
|
}
|
|
3742
3757
|
}
|
|
3743
|
-
class
|
|
3758
|
+
class os extends at {
|
|
3744
3759
|
constructor() {
|
|
3745
3760
|
super(...arguments);
|
|
3746
3761
|
/**
|
|
@@ -3761,7 +3776,7 @@ class ss extends at {
|
|
|
3761
3776
|
e(this, "rowspan", 0);
|
|
3762
3777
|
}
|
|
3763
3778
|
}
|
|
3764
|
-
class
|
|
3779
|
+
class us extends at {
|
|
3765
3780
|
constructor() {
|
|
3766
3781
|
super(...arguments);
|
|
3767
3782
|
/**
|
|
@@ -3911,7 +3926,7 @@ class os extends at {
|
|
|
3911
3926
|
e(this, "closeAutoFocus", new a(s.event, void 0, new C()));
|
|
3912
3927
|
}
|
|
3913
3928
|
}
|
|
3914
|
-
class
|
|
3929
|
+
class ls extends at {
|
|
3915
3930
|
constructor() {
|
|
3916
3931
|
super(...arguments);
|
|
3917
3932
|
/**
|
|
@@ -3925,7 +3940,7 @@ class us extends at {
|
|
|
3925
3940
|
/**
|
|
3926
3941
|
* Alert类型
|
|
3927
3942
|
*/
|
|
3928
|
-
e(this, "type",
|
|
3943
|
+
e(this, "type", Ki.info);
|
|
3929
3944
|
/**
|
|
3930
3945
|
* 描述性文本
|
|
3931
3946
|
*/
|
|
@@ -3968,7 +3983,7 @@ class us extends at {
|
|
|
3968
3983
|
e(this, "close", new a(s.event, void 0, new C()));
|
|
3969
3984
|
}
|
|
3970
3985
|
}
|
|
3971
|
-
class
|
|
3986
|
+
class cs extends at {
|
|
3972
3987
|
constructor() {
|
|
3973
3988
|
super(...arguments);
|
|
3974
3989
|
/**
|
|
@@ -4030,7 +4045,7 @@ class ls extends at {
|
|
|
4030
4045
|
/**
|
|
4031
4046
|
* 打开方向
|
|
4032
4047
|
*/
|
|
4033
|
-
e(this, "direction",
|
|
4048
|
+
e(this, "direction", Gi.rtl);
|
|
4034
4049
|
/**
|
|
4035
4050
|
* 打开延时
|
|
4036
4051
|
*/
|
|
@@ -4085,7 +4100,7 @@ class ls extends at {
|
|
|
4085
4100
|
e(this, "closeAutoFocus", new a(s.event, void 0, new C()));
|
|
4086
4101
|
}
|
|
4087
4102
|
}
|
|
4088
|
-
class
|
|
4103
|
+
class fs extends Te {
|
|
4089
4104
|
constructor() {
|
|
4090
4105
|
super(...arguments);
|
|
4091
4106
|
/**
|
|
@@ -4190,7 +4205,7 @@ class cs extends Te {
|
|
|
4190
4205
|
e(this, "nextClick", new a(s.event, void 0, new C()));
|
|
4191
4206
|
}
|
|
4192
4207
|
}
|
|
4193
|
-
class
|
|
4208
|
+
class ps extends at {
|
|
4194
4209
|
constructor() {
|
|
4195
4210
|
super(...arguments);
|
|
4196
4211
|
/**
|
|
@@ -4228,7 +4243,7 @@ class fs extends at {
|
|
|
4228
4243
|
/**
|
|
4229
4244
|
* 表单域标签的位置
|
|
4230
4245
|
*/
|
|
4231
|
-
e(this, "labelPosition",
|
|
4246
|
+
e(this, "labelPosition", Yi.right);
|
|
4232
4247
|
/**
|
|
4233
4248
|
* 标签的长度
|
|
4234
4249
|
*/
|
|
@@ -4248,7 +4263,7 @@ class fs extends at {
|
|
|
4248
4263
|
/**
|
|
4249
4264
|
* 星号的位置
|
|
4250
4265
|
*/
|
|
4251
|
-
e(this, "requireAsteriskPosition",
|
|
4266
|
+
e(this, "requireAsteriskPosition", Zi.left);
|
|
4252
4267
|
/**
|
|
4253
4268
|
* 是否显示校验错误信息
|
|
4254
4269
|
*/
|
|
@@ -4319,7 +4334,7 @@ class fs extends at {
|
|
|
4319
4334
|
e(this, "needFormAdd", new a(s.placerHook, void 0, new C()));
|
|
4320
4335
|
}
|
|
4321
4336
|
}
|
|
4322
|
-
class
|
|
4337
|
+
class ds extends _t {
|
|
4323
4338
|
constructor() {
|
|
4324
4339
|
super(...arguments);
|
|
4325
4340
|
/**
|
|
@@ -4332,7 +4347,7 @@ class ps extends _t {
|
|
|
4332
4347
|
e(this, "cols", new a(s.placer, []));
|
|
4333
4348
|
}
|
|
4334
4349
|
}
|
|
4335
|
-
class
|
|
4350
|
+
class hs extends _t {
|
|
4336
4351
|
constructor() {
|
|
4337
4352
|
super(...arguments);
|
|
4338
4353
|
/**
|
|
@@ -4374,7 +4389,7 @@ class ds extends _t {
|
|
|
4374
4389
|
/**
|
|
4375
4390
|
* 选项卡所在位置
|
|
4376
4391
|
*/
|
|
4377
|
-
e(this, "tabPosition",
|
|
4392
|
+
e(this, "tabPosition", ea.top);
|
|
4378
4393
|
/**
|
|
4379
4394
|
* 切换标签之前的钩子函数
|
|
4380
4395
|
*/
|
|
@@ -4442,7 +4457,7 @@ class nn extends at {
|
|
|
4442
4457
|
e(this, "isdefault", !1);
|
|
4443
4458
|
}
|
|
4444
4459
|
}
|
|
4445
|
-
class
|
|
4460
|
+
class ys extends at {
|
|
4446
4461
|
constructor() {
|
|
4447
4462
|
super(...arguments);
|
|
4448
4463
|
/**
|
|
@@ -4476,7 +4491,7 @@ class hs extends at {
|
|
|
4476
4491
|
/**
|
|
4477
4492
|
* 卡片阴影
|
|
4478
4493
|
*/
|
|
4479
|
-
e(this, "shadow",
|
|
4494
|
+
e(this, "shadow", Vi.always);
|
|
4480
4495
|
/**
|
|
4481
4496
|
* body的CSS样式
|
|
4482
4497
|
*/
|
|
@@ -4491,7 +4506,7 @@ class hs extends at {
|
|
|
4491
4506
|
e(this, "default", new a(s.slot, void 0, new te({ allowDrag: !0 }), void 0, new ne()));
|
|
4492
4507
|
}
|
|
4493
4508
|
}
|
|
4494
|
-
class
|
|
4509
|
+
class ms extends en {
|
|
4495
4510
|
constructor() {
|
|
4496
4511
|
super(...arguments);
|
|
4497
4512
|
//IBaseContainerOptions
|
|
@@ -4526,7 +4541,7 @@ class ys extends en {
|
|
|
4526
4541
|
/**
|
|
4527
4542
|
* 显示模式
|
|
4528
4543
|
*/
|
|
4529
|
-
e(this, "showMode",
|
|
4544
|
+
e(this, "showMode", qi.line);
|
|
4530
4545
|
/**
|
|
4531
4546
|
* 新增记录
|
|
4532
4547
|
*/
|
|
@@ -4615,7 +4630,7 @@ class ys extends en {
|
|
|
4615
4630
|
e(this, "rowDataFormat", new a(s.hook, void 0, new C()));
|
|
4616
4631
|
}
|
|
4617
4632
|
}
|
|
4618
|
-
class
|
|
4633
|
+
class ws extends en {
|
|
4619
4634
|
constructor() {
|
|
4620
4635
|
super(...arguments);
|
|
4621
4636
|
//IBaseContainerOptions
|
|
@@ -4665,7 +4680,7 @@ class ms extends en {
|
|
|
4665
4680
|
e(this, "click", new a(s.event, void 0, new C()));
|
|
4666
4681
|
}
|
|
4667
4682
|
}
|
|
4668
|
-
class
|
|
4683
|
+
class vs extends tn {
|
|
4669
4684
|
constructor() {
|
|
4670
4685
|
super(...arguments);
|
|
4671
4686
|
/**
|
|
@@ -4747,7 +4762,7 @@ class fr extends tn {
|
|
|
4747
4762
|
e(this, "value");
|
|
4748
4763
|
}
|
|
4749
4764
|
}
|
|
4750
|
-
class
|
|
4765
|
+
class gs extends Te {
|
|
4751
4766
|
constructor() {
|
|
4752
4767
|
super(...arguments);
|
|
4753
4768
|
/**
|
|
@@ -4769,11 +4784,11 @@ class vs extends Te {
|
|
|
4769
4784
|
}
|
|
4770
4785
|
}
|
|
4771
4786
|
const Pe = { autoWidth: !0, inlineLayout: !0 }, pr = [
|
|
4772
|
-
new X(T.text, new
|
|
4773
|
-
new X(T.link, new
|
|
4774
|
-
new X(T.button, new
|
|
4775
|
-
new X(T.tag, new
|
|
4776
|
-
new X(T.icon, new
|
|
4787
|
+
new X(T.text, new Ta(), !1, Pe),
|
|
4788
|
+
new X(T.link, new Ia(), !1, Pe),
|
|
4789
|
+
new X(T.button, new La(), !1, Pe),
|
|
4790
|
+
new X(T.tag, new Pa(), !1, Pe),
|
|
4791
|
+
new X(T.icon, new $a(), !1, Pe)
|
|
4777
4792
|
];
|
|
4778
4793
|
class lt extends ue {
|
|
4779
4794
|
constructor() {
|
|
@@ -4787,11 +4802,11 @@ class rn extends ue {
|
|
|
4787
4802
|
this.category = Zt.container;
|
|
4788
4803
|
}
|
|
4789
4804
|
}
|
|
4790
|
-
class
|
|
4805
|
+
class bs extends lt {
|
|
4791
4806
|
constructor() {
|
|
4792
4807
|
super();
|
|
4793
4808
|
e(this, "cols", []);
|
|
4794
|
-
this.type = T.cont, this.options = new
|
|
4809
|
+
this.type = T.cont, this.options = new ds(), this.init(!1);
|
|
4795
4810
|
}
|
|
4796
4811
|
}
|
|
4797
4812
|
class an extends Kn {
|
|
@@ -4831,28 +4846,28 @@ class an extends Kn {
|
|
|
4831
4846
|
e(this, "widgetList", []);
|
|
4832
4847
|
}
|
|
4833
4848
|
}
|
|
4834
|
-
class
|
|
4849
|
+
class Es extends lt {
|
|
4835
4850
|
constructor() {
|
|
4836
4851
|
super();
|
|
4837
4852
|
e(this, "cols", []);
|
|
4838
|
-
this.type = T.grid, this.options = new
|
|
4853
|
+
this.type = T.grid, this.options = new as(), this.init(!1);
|
|
4839
4854
|
}
|
|
4840
4855
|
}
|
|
4841
|
-
class
|
|
4856
|
+
class Cs extends rn {
|
|
4842
4857
|
constructor() {
|
|
4843
4858
|
super();
|
|
4844
4859
|
e(this, "internal", !0);
|
|
4845
4860
|
this.type = T.gridCol, this.options = new cr(), this.init(!1);
|
|
4846
4861
|
}
|
|
4847
4862
|
}
|
|
4848
|
-
class
|
|
4863
|
+
class xs extends lt {
|
|
4849
4864
|
constructor() {
|
|
4850
4865
|
super();
|
|
4851
4866
|
e(this, "rows", []);
|
|
4852
|
-
this.type = T.table, this.options = new
|
|
4867
|
+
this.type = T.table, this.options = new ss(), this.init(!1);
|
|
4853
4868
|
}
|
|
4854
4869
|
}
|
|
4855
|
-
class
|
|
4870
|
+
class As extends lt {
|
|
4856
4871
|
constructor() {
|
|
4857
4872
|
super();
|
|
4858
4873
|
e(this, "internal", !0);
|
|
@@ -4860,45 +4875,45 @@ class xs extends lt {
|
|
|
4860
4875
|
this.type = T.tableRow, this.init(!1);
|
|
4861
4876
|
}
|
|
4862
4877
|
}
|
|
4863
|
-
class
|
|
4878
|
+
class Fs extends rn {
|
|
4864
4879
|
constructor() {
|
|
4865
4880
|
super();
|
|
4866
4881
|
e(this, "internal", !0);
|
|
4867
4882
|
e(this, "merged", !1);
|
|
4868
|
-
this.type = T.tableCol, this.options = new
|
|
4883
|
+
this.type = T.tableCol, this.options = new os(), this.init(!1);
|
|
4869
4884
|
}
|
|
4870
4885
|
}
|
|
4871
|
-
class
|
|
4886
|
+
class Ds extends lt {
|
|
4872
4887
|
constructor() {
|
|
4873
4888
|
super();
|
|
4874
4889
|
e(this, "displayType", $n.borderCard);
|
|
4875
4890
|
e(this, "tabs", []);
|
|
4876
|
-
this.type = T.tabs, this.options = new
|
|
4891
|
+
this.type = T.tabs, this.options = new hs(), this.init(!1);
|
|
4877
4892
|
}
|
|
4878
4893
|
}
|
|
4879
|
-
class
|
|
4894
|
+
class Ss extends rn {
|
|
4880
4895
|
constructor() {
|
|
4881
4896
|
super();
|
|
4882
4897
|
e(this, "internal", !0);
|
|
4883
4898
|
this.type = T.tabPane, this.options = new nn(), this.init(!1);
|
|
4884
4899
|
}
|
|
4885
4900
|
}
|
|
4886
|
-
class
|
|
4901
|
+
class Os extends lt {
|
|
4887
4902
|
constructor() {
|
|
4888
4903
|
super();
|
|
4889
4904
|
e(this, "slots", []);
|
|
4890
4905
|
e(this, "widgetList", []);
|
|
4891
|
-
this.type = T.form, this.options = new
|
|
4906
|
+
this.type = T.form, this.options = new ps(), this.init(!1);
|
|
4892
4907
|
}
|
|
4893
4908
|
}
|
|
4894
|
-
class
|
|
4909
|
+
class ks extends lt {
|
|
4895
4910
|
constructor() {
|
|
4896
4911
|
super();
|
|
4897
4912
|
e(this, "widgetList", []);
|
|
4898
|
-
this.type = T.wrapper, this.options = new
|
|
4913
|
+
this.type = T.wrapper, this.options = new Bs(), this.init(!1);
|
|
4899
4914
|
}
|
|
4900
4915
|
}
|
|
4901
|
-
class
|
|
4916
|
+
class Bs extends en {
|
|
4902
4917
|
constructor() {
|
|
4903
4918
|
super(...arguments);
|
|
4904
4919
|
//IBaseContainerOptions
|
|
@@ -4932,7 +4947,7 @@ class ks extends en {
|
|
|
4932
4947
|
*/
|
|
4933
4948
|
// required?: PropValue = new PropValue(ComplexType.placer, false, new PropValueOptions());
|
|
4934
4949
|
}
|
|
4935
|
-
class
|
|
4950
|
+
class _s extends Te {
|
|
4936
4951
|
constructor() {
|
|
4937
4952
|
super(...arguments);
|
|
4938
4953
|
/**
|
|
@@ -4962,14 +4977,14 @@ class Bs extends Te {
|
|
|
4962
4977
|
/**
|
|
4963
4978
|
* 标签图标位置
|
|
4964
4979
|
*/
|
|
4965
|
-
e(this, "labelIconPosition", new a(s.placer,
|
|
4980
|
+
e(this, "labelIconPosition", new a(s.placer, ta.rear));
|
|
4966
4981
|
/**
|
|
4967
4982
|
* 标签提示内容
|
|
4968
4983
|
*/
|
|
4969
4984
|
e(this, "labelTooltip", new a(s.placer, ""));
|
|
4970
4985
|
}
|
|
4971
4986
|
}
|
|
4972
|
-
class
|
|
4987
|
+
class Ts extends _s {
|
|
4973
4988
|
constructor() {
|
|
4974
4989
|
super(...arguments);
|
|
4975
4990
|
/**
|
|
@@ -4991,82 +5006,82 @@ class _s extends Bs {
|
|
|
4991
5006
|
}
|
|
4992
5007
|
}
|
|
4993
5008
|
const dr = [
|
|
4994
|
-
new bs(),
|
|
4995
5009
|
new Es(),
|
|
4996
5010
|
new Cs(),
|
|
4997
5011
|
new xs(),
|
|
4998
5012
|
new As(),
|
|
4999
|
-
new
|
|
5013
|
+
new Fs(),
|
|
5014
|
+
new bs(),
|
|
5000
5015
|
// new ContCellField()
|
|
5001
|
-
new
|
|
5016
|
+
new ks()
|
|
5002
5017
|
], hr = [
|
|
5003
|
-
new
|
|
5004
|
-
new X(T.input, new
|
|
5005
|
-
new X(T.textarea, new
|
|
5006
|
-
new X(T.number, new
|
|
5007
|
-
new X(T.radio, new
|
|
5008
|
-
new X(T.checkbox, new
|
|
5009
|
-
new X(T.autoComplete, new
|
|
5018
|
+
new Os(),
|
|
5019
|
+
new X(T.input, new ca(), !0),
|
|
5020
|
+
new X(T.textarea, new fa(), !0),
|
|
5021
|
+
new X(T.number, new pa(), !0),
|
|
5022
|
+
new X(T.radio, new ha(), !0),
|
|
5023
|
+
new X(T.checkbox, new ya(), !0),
|
|
5024
|
+
new X(T.autoComplete, new da(), !0),
|
|
5010
5025
|
new X(T.select, new kn(), !0),
|
|
5011
|
-
new X(T.cascader, new
|
|
5026
|
+
new X(T.cascader, new ka(), !0),
|
|
5012
5027
|
new X(T.treeSelect, { treeDivider: "", ...new er(), selectDivider: "", ...new kn() }, !0),
|
|
5013
|
-
new X(T.switch, new
|
|
5014
|
-
new X(T.timeSelect, new
|
|
5015
|
-
new X(T.timePicker, new
|
|
5016
|
-
new X(T.timePickerRange, new
|
|
5017
|
-
new X(T.datePicker, new
|
|
5018
|
-
new X(T.datePickerRange, new
|
|
5019
|
-
new X(T.pictureUpload, new
|
|
5020
|
-
new X(T.fileUpload, new
|
|
5021
|
-
new X(T.rate, new
|
|
5022
|
-
new X(T.colorPicker, new
|
|
5023
|
-
new X(T.slider, new
|
|
5024
|
-
new X(T.richEditor, new
|
|
5025
|
-
new X(T.cache, new
|
|
5028
|
+
new X(T.switch, new Ea(), !0),
|
|
5029
|
+
new X(T.timeSelect, new ba(), !0),
|
|
5030
|
+
new X(T.timePicker, new ma(), !0),
|
|
5031
|
+
new X(T.timePickerRange, new wa(), !0),
|
|
5032
|
+
new X(T.datePicker, new va(), !0),
|
|
5033
|
+
new X(T.datePickerRange, new ga(), !0),
|
|
5034
|
+
new X(T.pictureUpload, new Da(), !0),
|
|
5035
|
+
new X(T.fileUpload, new Sa(), !0),
|
|
5036
|
+
new X(T.rate, new Ca(), !0),
|
|
5037
|
+
new X(T.colorPicker, new Aa(), !0),
|
|
5038
|
+
new X(T.slider, new Fa(), !0),
|
|
5039
|
+
new X(T.richEditor, new Oa(), !0),
|
|
5040
|
+
new X(T.cache, new la(), !0)
|
|
5026
5041
|
], yr = [
|
|
5027
|
-
new X(T.multirow, new
|
|
5028
|
-
new X(T.tmpl, new
|
|
5029
|
-
new X(T.model, new
|
|
5030
|
-
new X(T.range, new
|
|
5042
|
+
new X(T.multirow, new ms(), !0, { dynamicItemFlag: !0 }),
|
|
5043
|
+
new X(T.tmpl, new ws(), !1, { dynamicItemFlag: !0 }),
|
|
5044
|
+
new X(T.model, new vs(), !1),
|
|
5045
|
+
new X(T.range, new Ts(), !1)
|
|
5031
5046
|
], mr = [], wr = [
|
|
5032
|
-
new X(T.avatar, new
|
|
5047
|
+
new X(T.avatar, new Ga(), !1, Pe),
|
|
5033
5048
|
new X(T.badge, new za(), !1, Pe),
|
|
5034
|
-
new X(T.empty, new
|
|
5035
|
-
new X(T.result, new
|
|
5036
|
-
new X(T.card, new
|
|
5037
|
-
new X(T.collapse, new
|
|
5038
|
-
new X(T.descriptions, new
|
|
5039
|
-
new X(T.carousel, new
|
|
5040
|
-
new X(T.image, new
|
|
5041
|
-
new X(T.eltable, new
|
|
5042
|
-
new X(T.pagination, new
|
|
5043
|
-
new X(T.progress, new
|
|
5049
|
+
new X(T.empty, new Wa(), !1),
|
|
5050
|
+
new X(T.result, new Va(), !1),
|
|
5051
|
+
new X(T.card, new ys(), !1),
|
|
5052
|
+
new X(T.collapse, new Qa(), !1),
|
|
5053
|
+
new X(T.descriptions, new Ya(), !1),
|
|
5054
|
+
new X(T.carousel, new Ja(), !1),
|
|
5055
|
+
new X(T.image, new Za(), !1, Pe),
|
|
5056
|
+
new X(T.eltable, new is(), !1),
|
|
5057
|
+
new X(T.pagination, new fs(), !1),
|
|
5058
|
+
new X(T.progress, new xa(), !1, Pe),
|
|
5044
5059
|
new X(T.tree, new er(), !1),
|
|
5045
|
-
new X(T.barcode, new
|
|
5046
|
-
new X(T.qrcode, new
|
|
5047
|
-
new X(T.verifycode, new
|
|
5060
|
+
new X(T.barcode, new ja(), !1),
|
|
5061
|
+
new X(T.qrcode, new Ua(), !1),
|
|
5062
|
+
new X(T.verifycode, new Ha(), !1)
|
|
5048
5063
|
], vr = [
|
|
5049
|
-
new X(T.router, new
|
|
5050
|
-
new Fs(),
|
|
5064
|
+
new X(T.router, new ns(), !1, Pe),
|
|
5051
5065
|
new Ds(),
|
|
5052
|
-
new
|
|
5053
|
-
new X(T.
|
|
5054
|
-
new X(T.
|
|
5055
|
-
new X(T.
|
|
5056
|
-
new X(T.
|
|
5057
|
-
new X(T.
|
|
5058
|
-
new X(T.
|
|
5066
|
+
new Ss(),
|
|
5067
|
+
new X(T.steps, new rs(), !1),
|
|
5068
|
+
new X(T.dropdown, new Ka(), !1, Pe),
|
|
5069
|
+
new X(T.menu, new ts(), !1),
|
|
5070
|
+
new X(T.breadcrumb, new es(), !1),
|
|
5071
|
+
new X(T.affix, new Ma(), !1, Pe),
|
|
5072
|
+
new X(T.backtop, new qa(), !1, Pe),
|
|
5073
|
+
new X(T.anchor, new Xa(), !1, Pe)
|
|
5059
5074
|
], gr = [
|
|
5060
|
-
new X(T.dialog, new
|
|
5061
|
-
new X(T.drawer, new
|
|
5062
|
-
new X(T.alert, new
|
|
5075
|
+
new X(T.dialog, new us(), !1),
|
|
5076
|
+
new X(T.drawer, new cs(), !1),
|
|
5077
|
+
new X(T.alert, new ls(), !1)
|
|
5063
5078
|
], br = [
|
|
5064
|
-
new X(T.staticText, new
|
|
5065
|
-
new X(T.htmlText, new
|
|
5066
|
-
new X(T.divider, new
|
|
5079
|
+
new X(T.staticText, new Ba(), !1, Pe),
|
|
5080
|
+
new X(T.htmlText, new _a(), !1, Pe),
|
|
5081
|
+
new X(T.divider, new Na(), !1),
|
|
5067
5082
|
new X(T.chart, new Ra(), !1),
|
|
5068
|
-
new X(T.iframe, new
|
|
5069
|
-
],
|
|
5083
|
+
new X(T.iframe, new gs(), !1)
|
|
5084
|
+
], Is = [...dr, ...pr, ...hr, ...mr, ...yr, ...wr, ...gr, ...vr, ...br], Ps = {
|
|
5070
5085
|
containers: dr,
|
|
5071
5086
|
basicFields: pr,
|
|
5072
5087
|
formFields: hr,
|
|
@@ -5076,7 +5091,7 @@ const dr = [
|
|
|
5076
5091
|
navFields: vr,
|
|
5077
5092
|
feedBackFields: gr,
|
|
5078
5093
|
otherFields: br,
|
|
5079
|
-
allWidgets:
|
|
5094
|
+
allWidgets: Is
|
|
5080
5095
|
}, Mt = (t, r) => {
|
|
5081
5096
|
var u;
|
|
5082
5097
|
if (!t || !r)
|
|
@@ -5085,8 +5100,8 @@ const dr = [
|
|
|
5085
5100
|
return !i || !(i != null && i.options) ? !1 : ((u = Jt(i == null ? void 0 : i.options)) == null ? void 0 : u.indexOf(r)) > -1;
|
|
5086
5101
|
}, it = (t) => {
|
|
5087
5102
|
var r;
|
|
5088
|
-
return (r =
|
|
5089
|
-
},
|
|
5103
|
+
return (r = Ps.allWidgets) == null ? void 0 : r.find((i) => i.type === t);
|
|
5104
|
+
}, Ls = (t) => {
|
|
5090
5105
|
const r = t.id;
|
|
5091
5106
|
if (!r)
|
|
5092
5107
|
return null;
|
|
@@ -5097,9 +5112,9 @@ const dr = [
|
|
|
5097
5112
|
return Ce(t);
|
|
5098
5113
|
var u = t == null ? void 0 : t.id, c = t.type + jt(), l = c;
|
|
5099
5114
|
i && (l = i(u, c));
|
|
5100
|
-
const d =
|
|
5101
|
-
return
|
|
5102
|
-
},
|
|
5115
|
+
const d = Ls(t);
|
|
5116
|
+
return Ns(t, l, r), d && (r != null && r.recordSource) && ht(t, { _source: d }), Ce(t);
|
|
5117
|
+
}, Ns = (t, r, i) => (Et(t, ye.id) && (t.id = r), t.options = Rs(t.options, r, i), t), Rs = (t, r, i) => (Et(t, ye.name) && (i == null ? void 0 : i.newName) != !1 && (t.name = Fn(r, "-", "")), Et(t, ye.label) && !(t != null && t.label) && (i == null ? void 0 : i.newLabel) != !1 && (t.label = Fn(r, "-", "")), t), _o = (t) => {
|
|
5103
5118
|
const r = "id@";
|
|
5104
5119
|
return {
|
|
5105
5120
|
idClass: `${r}${t == null ? void 0 : t.id}`,
|
|
@@ -5107,7 +5122,7 @@ const dr = [
|
|
|
5107
5122
|
isIdClass: (l) => l == null ? void 0 : l.startsWith(r)
|
|
5108
5123
|
};
|
|
5109
5124
|
};
|
|
5110
|
-
var Bn = {},
|
|
5125
|
+
var Bn = {}, Ms = {
|
|
5111
5126
|
get exports() {
|
|
5112
5127
|
return Bn;
|
|
5113
5128
|
},
|
|
@@ -5124,7 +5139,7 @@ var Bn = {}, Ns = {
|
|
|
5124
5139
|
function d(b, v) {
|
|
5125
5140
|
if (!c[b]) {
|
|
5126
5141
|
if (!u[b]) {
|
|
5127
|
-
var p = typeof
|
|
5142
|
+
var p = typeof Rt == "function" && Rt;
|
|
5128
5143
|
if (!v && p)
|
|
5129
5144
|
return p(b, !0);
|
|
5130
5145
|
if (x)
|
|
@@ -5140,7 +5155,7 @@ var Bn = {}, Ns = {
|
|
|
5140
5155
|
}
|
|
5141
5156
|
return c[b].exports;
|
|
5142
5157
|
}
|
|
5143
|
-
for (var x = typeof
|
|
5158
|
+
for (var x = typeof Rt == "function" && Rt, E = 0; E < l.length; E++)
|
|
5144
5159
|
d(l[E]);
|
|
5145
5160
|
return d;
|
|
5146
5161
|
}({ "./aesprim": [function(i, u, c) {
|
|
@@ -5315,7 +5330,7 @@ var Bn = {}, Ns = {
|
|
|
5315
5330
|
function _(n) {
|
|
5316
5331
|
return n === 10 || n === 13 || n === 8232 || n === 8233;
|
|
5317
5332
|
}
|
|
5318
|
-
function
|
|
5333
|
+
function N(n) {
|
|
5319
5334
|
return n == 64 || n === 36 || n === 95 || n >= 65 && n <= 90 || n >= 97 && n <= 122 || n === 92 || n >= 128 && w.NonAsciiIdentifierStart.test(String.fromCharCode(n));
|
|
5320
5335
|
}
|
|
5321
5336
|
function H(n) {
|
|
@@ -5353,7 +5368,7 @@ var Bn = {}, Ns = {
|
|
|
5353
5368
|
function U(n) {
|
|
5354
5369
|
return n === "eval" || n === "arguments";
|
|
5355
5370
|
}
|
|
5356
|
-
function
|
|
5371
|
+
function W(n) {
|
|
5357
5372
|
if (D && $(n))
|
|
5358
5373
|
return !0;
|
|
5359
5374
|
switch (n.length) {
|
|
@@ -5465,7 +5480,7 @@ var Bn = {}, Ns = {
|
|
|
5465
5480
|
}
|
|
5466
5481
|
function K() {
|
|
5467
5482
|
var n, o;
|
|
5468
|
-
for (n = g.charCodeAt(f++), o = String.fromCharCode(n), n === 92 && (g.charCodeAt(f) !== 117 && ie({}, p.UnexpectedToken, "ILLEGAL"), ++f, n = j("u"), (!n || n === "\\" || !
|
|
5483
|
+
for (n = g.charCodeAt(f++), o = String.fromCharCode(n), n === 92 && (g.charCodeAt(f) !== 117 && ie({}, p.UnexpectedToken, "ILLEGAL"), ++f, n = j("u"), (!n || n === "\\" || !N(n.charCodeAt(0))) && ie({}, p.UnexpectedToken, "ILLEGAL"), o = n); f < O && (n = g.charCodeAt(f), !!H(n)); )
|
|
5469
5484
|
++f, o += String.fromCharCode(n), n === 92 && (o = o.substr(0, o.length - 1), g.charCodeAt(f) !== 117 && ie({}, p.UnexpectedToken, "ILLEGAL"), ++f, n = j("u"), (!n || n === "\\" || !H(n.charCodeAt(0))) && ie({}, p.UnexpectedToken, "ILLEGAL"), o += n);
|
|
5470
5485
|
return o;
|
|
5471
5486
|
}
|
|
@@ -5483,7 +5498,7 @@ var Bn = {}, Ns = {
|
|
|
5483
5498
|
}
|
|
5484
5499
|
function Oe() {
|
|
5485
5500
|
var n, o, m;
|
|
5486
|
-
return n = f, o = g.charCodeAt(f) === 92 ? K() : ge(), o.length === 1 ? m = d.Identifier :
|
|
5501
|
+
return n = f, o = g.charCodeAt(f) === 92 ? K() : ge(), o.length === 1 ? m = d.Identifier : W(o) ? m = d.Keyword : o === "null" ? m = d.NullLiteral : o === "true" || o === "false" ? m = d.BooleanLiteral : m = d.Identifier, {
|
|
5487
5502
|
type: m,
|
|
5488
5503
|
value: o,
|
|
5489
5504
|
lineNumber: P,
|
|
@@ -5589,7 +5604,7 @@ var Bn = {}, Ns = {
|
|
|
5589
5604
|
function me(n) {
|
|
5590
5605
|
for (var o = ""; f < O && ae(g[f]); )
|
|
5591
5606
|
o += g[f++];
|
|
5592
|
-
return o.length === 0 && ie({}, p.UnexpectedToken, "ILLEGAL"),
|
|
5607
|
+
return o.length === 0 && ie({}, p.UnexpectedToken, "ILLEGAL"), N(g.charCodeAt(f)) && ie({}, p.UnexpectedToken, "ILLEGAL"), {
|
|
5593
5608
|
type: d.NumericLiteral,
|
|
5594
5609
|
value: parseInt("0x" + o, 16),
|
|
5595
5610
|
lineNumber: P,
|
|
@@ -5601,7 +5616,7 @@ var Bn = {}, Ns = {
|
|
|
5601
5616
|
function be(n) {
|
|
5602
5617
|
for (var o = "0" + g[f++]; f < O && J(g[f]); )
|
|
5603
5618
|
o += g[f++];
|
|
5604
|
-
return (
|
|
5619
|
+
return (N(g.charCodeAt(f)) || ee(g.charCodeAt(f))) && ie({}, p.UnexpectedToken, "ILLEGAL"), {
|
|
5605
5620
|
type: d.NumericLiteral,
|
|
5606
5621
|
value: parseInt(o, 8),
|
|
5607
5622
|
octal: !0,
|
|
@@ -5639,7 +5654,7 @@ var Bn = {}, Ns = {
|
|
|
5639
5654
|
n += g[f++];
|
|
5640
5655
|
else
|
|
5641
5656
|
ie({}, p.UnexpectedToken, "ILLEGAL");
|
|
5642
|
-
return
|
|
5657
|
+
return N(g.charCodeAt(f)) && ie({}, p.UnexpectedToken, "ILLEGAL"), {
|
|
5643
5658
|
type: d.NumericLiteral,
|
|
5644
5659
|
value: parseFloat(n),
|
|
5645
5660
|
lineNumber: P,
|
|
@@ -5823,9 +5838,9 @@ var Bn = {}, Ns = {
|
|
|
5823
5838
|
lineStart: B,
|
|
5824
5839
|
start: f,
|
|
5825
5840
|
end: f
|
|
5826
|
-
} : (n = g.charCodeAt(f),
|
|
5841
|
+
} : (n = g.charCodeAt(f), N(n) ? Oe() : n === 40 || n === 41 || n === 59 ? ce() : n === 39 || n === 34 ? Le() : n === 46 ? ee(g.charCodeAt(f + 1)) ? De() : ce() : ee(n) ? De() : F.tokenize && n === 47 ? cn() : ce());
|
|
5827
5842
|
}
|
|
5828
|
-
function
|
|
5843
|
+
function R() {
|
|
5829
5844
|
var n, o, m;
|
|
5830
5845
|
return L(), n = {
|
|
5831
5846
|
start: {
|
|
@@ -5844,11 +5859,11 @@ var Bn = {}, Ns = {
|
|
|
5844
5859
|
}
|
|
5845
5860
|
function I() {
|
|
5846
5861
|
var n;
|
|
5847
|
-
return n = y, f = n.end, P = n.lineNumber, B = n.lineStart, y = typeof F.tokens < "u" ?
|
|
5862
|
+
return n = y, f = n.end, P = n.lineNumber, B = n.lineStart, y = typeof F.tokens < "u" ? R() : Tt(), f = n.end, P = n.lineNumber, B = n.lineStart, n;
|
|
5848
5863
|
}
|
|
5849
|
-
function
|
|
5864
|
+
function z() {
|
|
5850
5865
|
var n, o, m;
|
|
5851
|
-
n = f, o = P, m = B, y = typeof F.tokens < "u" ?
|
|
5866
|
+
n = f, o = P, m = B, y = typeof F.tokens < "u" ? R() : Tt(), f = n, P = o, B = m;
|
|
5852
5867
|
}
|
|
5853
5868
|
function we(n, o) {
|
|
5854
5869
|
this.line = n, this.column = o;
|
|
@@ -6278,7 +6293,7 @@ var Bn = {}, Ns = {
|
|
|
6278
6293
|
return ai();
|
|
6279
6294
|
ke("this") ? (I(), m = h.createThisExpression()) : je(I());
|
|
6280
6295
|
} else
|
|
6281
|
-
n === d.BooleanLiteral ? (o = I(), o.value = o.value === "true", m = h.createLiteral(o)) : n === d.NullLiteral ? (o = I(), o.value = null, m = h.createLiteral(o)) : Z("/") || Z("/=") ? (typeof F.tokens < "u" ? m = h.createLiteral(et()) : m = h.createLiteral(ot()),
|
|
6296
|
+
n === d.BooleanLiteral ? (o = I(), o.value = o.value === "true", m = h.createLiteral(o)) : n === d.NullLiteral ? (o = I(), o.value = null, m = h.createLiteral(o)) : Z("/") || Z("/=") ? (typeof F.tokens < "u" ? m = h.createLiteral(et()) : m = h.createLiteral(ot()), z()) : je(I());
|
|
6282
6297
|
return h.markEnd(m, k);
|
|
6283
6298
|
}
|
|
6284
6299
|
function pn() {
|
|
@@ -6385,7 +6400,7 @@ var Bn = {}, Ns = {
|
|
|
6385
6400
|
}
|
|
6386
6401
|
return m;
|
|
6387
6402
|
}
|
|
6388
|
-
function
|
|
6403
|
+
function Nr() {
|
|
6389
6404
|
var n, o, m, k, M, G, oe, Ee, Ie, _e;
|
|
6390
6405
|
if (n = y, Ie = ft(), k = y, M = wn(k, S.allowIn), M === 0)
|
|
6391
6406
|
return Ie;
|
|
@@ -6398,13 +6413,13 @@ var Bn = {}, Ns = {
|
|
|
6398
6413
|
m = h.createBinaryExpression(G[_e - 1].value, G[_e - 2], m), _e -= 2, n = o.pop(), h.markEnd(m, n);
|
|
6399
6414
|
return m;
|
|
6400
6415
|
}
|
|
6401
|
-
function
|
|
6416
|
+
function Rr() {
|
|
6402
6417
|
var n, o, m, k, M;
|
|
6403
|
-
return M = y, n =
|
|
6418
|
+
return M = y, n = Nr(), Z("?") && (I(), o = S.allowIn, S.allowIn = !0, m = qe(), S.allowIn = o, re(":"), k = qe(), n = h.createConditionalExpression(n, m, k), h.markEnd(n, M)), n;
|
|
6404
6419
|
}
|
|
6405
6420
|
function qe() {
|
|
6406
6421
|
var n, o, m, k, M;
|
|
6407
|
-
return n = y, M = y, k = o =
|
|
6422
|
+
return n = y, M = y, k = o = Rr(), ct() && (It(o) || fe({}, p.InvalidLHSInAssignment), D && o.type === b.Identifier && U(o.name) && fe(n, p.StrictLHSAssignment), n = I(), m = qe(), k = h.markEnd(h.createAssignmentExpression(n.value, o, m), M)), k;
|
|
6408
6423
|
}
|
|
6409
6424
|
function Be() {
|
|
6410
6425
|
var n, o = y;
|
|
@@ -6452,11 +6467,11 @@ var Bn = {}, Ns = {
|
|
|
6452
6467
|
function $r() {
|
|
6453
6468
|
return re(";"), h.createEmptyStatement();
|
|
6454
6469
|
}
|
|
6455
|
-
function
|
|
6470
|
+
function Wr() {
|
|
6456
6471
|
var n = Be();
|
|
6457
6472
|
return Me(), h.createExpressionStatement(n);
|
|
6458
6473
|
}
|
|
6459
|
-
function
|
|
6474
|
+
function zr() {
|
|
6460
6475
|
var n, o, m;
|
|
6461
6476
|
return Se("if"), re("("), n = Be(), re(")"), o = Je(), ke("else") ? (I(), m = Je()) : m = null, h.createIfStatement(n, o, m);
|
|
6462
6477
|
}
|
|
@@ -6486,7 +6501,7 @@ var Bn = {}, Ns = {
|
|
|
6486
6501
|
}
|
|
6487
6502
|
function Qr() {
|
|
6488
6503
|
var n = null;
|
|
6489
|
-
return Se("return"), S.inFunctionBody || fe({}, p.IllegalReturn), g.charCodeAt(f) === 32 &&
|
|
6504
|
+
return Se("return"), S.inFunctionBody || fe({}, p.IllegalReturn), g.charCodeAt(f) === 32 && N(g.charCodeAt(f + 1)) ? (n = Be(), Me(), h.createReturnStatement(n)) : he() ? h.createReturnStatement(null) : (Z(";") || !Z("}") && y.type !== d.EOF && (n = Be()), Me(), h.createReturnStatement(n));
|
|
6490
6505
|
}
|
|
6491
6506
|
function Yr() {
|
|
6492
6507
|
var n, o;
|
|
@@ -6530,7 +6545,7 @@ var Bn = {}, Ns = {
|
|
|
6530
6545
|
case ";":
|
|
6531
6546
|
return h.markEnd($r(), M);
|
|
6532
6547
|
case "(":
|
|
6533
|
-
return h.markEnd(
|
|
6548
|
+
return h.markEnd(Wr(), M);
|
|
6534
6549
|
}
|
|
6535
6550
|
if (n === d.Keyword)
|
|
6536
6551
|
switch (y.value) {
|
|
@@ -6547,7 +6562,7 @@ var Bn = {}, Ns = {
|
|
|
6547
6562
|
case "function":
|
|
6548
6563
|
return h.markEnd(gn(), M);
|
|
6549
6564
|
case "if":
|
|
6550
|
-
return h.markEnd(
|
|
6565
|
+
return h.markEnd(zr(), M);
|
|
6551
6566
|
case "return":
|
|
6552
6567
|
return h.markEnd(Qr(), M);
|
|
6553
6568
|
case "switch":
|
|
@@ -6616,7 +6631,7 @@ var Bn = {}, Ns = {
|
|
|
6616
6631
|
}
|
|
6617
6632
|
function oi() {
|
|
6618
6633
|
var n, o;
|
|
6619
|
-
return L(),
|
|
6634
|
+
return L(), z(), o = y, D = !1, n = si(), h.markEnd(h.createProgram(n), o);
|
|
6620
6635
|
}
|
|
6621
6636
|
function bn() {
|
|
6622
6637
|
var n, o, m, k = [];
|
|
@@ -6638,7 +6653,7 @@ var Bn = {}, Ns = {
|
|
|
6638
6653
|
lastCommentStart: -1
|
|
6639
6654
|
}, F = {}, o = o || {}, o.tokens = !0, F.tokens = [], F.tokenize = !0, F.openParenToken = -1, F.openCurlyToken = -1, F.range = typeof o.range == "boolean" && o.range, F.loc = typeof o.loc == "boolean" && o.loc, typeof o.comment == "boolean" && o.comment && (F.comments = []), typeof o.tolerant == "boolean" && o.tolerant && (F.errors = []);
|
|
6640
6655
|
try {
|
|
6641
|
-
if (
|
|
6656
|
+
if (z(), y.type === d.EOF)
|
|
6642
6657
|
return F.tokens;
|
|
6643
6658
|
for (k = I(); y.type !== d.EOF; )
|
|
6644
6659
|
try {
|
|
@@ -6810,20 +6825,20 @@ var Bn = {}, Ns = {
|
|
|
6810
6825
|
var de;
|
|
6811
6826
|
return de = A.lexer.lex() || S, typeof de != "number" && (de = A.symbols_[de] || de), de;
|
|
6812
6827
|
}
|
|
6813
|
-
for (var J, Q, _,
|
|
6828
|
+
for (var J, Q, _, N, H = {}, q, $, U, W; ; ) {
|
|
6814
6829
|
if (Q = g[g.length - 1], this.defaultActions[Q] ? _ = this.defaultActions[Q] : ((J === null || typeof J > "u") && (J = ae()), _ = P[Q] && P[Q][J]), typeof _ > "u" || !_.length || !_[0]) {
|
|
6815
6830
|
var Y = "";
|
|
6816
|
-
|
|
6831
|
+
W = [];
|
|
6817
6832
|
for (q in P[Q])
|
|
6818
|
-
this.terminals_[q] && q > y &&
|
|
6833
|
+
this.terminals_[q] && q > y && W.push("'" + this.terminals_[q] + "'");
|
|
6819
6834
|
this.lexer.showPosition ? Y = "Parse error on line " + (O + 1) + `:
|
|
6820
6835
|
` + this.lexer.showPosition() + `
|
|
6821
|
-
Expecting ` +
|
|
6836
|
+
Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "Parse error on line " + (O + 1) + ": Unexpected " + (J == S ? "end of input" : "'" + (this.terminals_[J] || J) + "'"), this.parseError(Y, {
|
|
6822
6837
|
text: this.lexer.match,
|
|
6823
6838
|
token: this.terminals_[J] || J,
|
|
6824
6839
|
line: this.lexer.yylineno,
|
|
6825
6840
|
loc: V,
|
|
6826
|
-
expected:
|
|
6841
|
+
expected: W
|
|
6827
6842
|
});
|
|
6828
6843
|
}
|
|
6829
6844
|
if (_[0] instanceof Array && _.length > 1)
|
|
@@ -6841,7 +6856,7 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
6841
6856
|
}, ee && (H._$.range = [
|
|
6842
6857
|
f[f.length - ($ || 1)].range[0],
|
|
6843
6858
|
f[f.length - 1].range[1]
|
|
6844
|
-
]),
|
|
6859
|
+
]), N = this.performAction.apply(H, [
|
|
6845
6860
|
B,
|
|
6846
6861
|
h,
|
|
6847
6862
|
O,
|
|
@@ -6849,8 +6864,8 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
6849
6864
|
_[1],
|
|
6850
6865
|
D,
|
|
6851
6866
|
f
|
|
6852
|
-
].concat(F)), typeof
|
|
6853
|
-
return
|
|
6867
|
+
].concat(F)), typeof N < "u")
|
|
6868
|
+
return N;
|
|
6854
6869
|
$ && (g = g.slice(0, -1 * $ * 2), D = D.slice(0, -1 * $), f = f.slice(0, -1 * $)), g.push(this.productions_[_[1]][0]), D.push(H.$), f.push(H._$), U = P[g[g.length - 2]][g[g.length - 1]], g.push(U);
|
|
6855
6870
|
break;
|
|
6856
6871
|
case 3:
|
|
@@ -7268,8 +7283,8 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7268
7283
|
var S = i(".."), F = this, V = [], ee = S.nodes(h, "$..*").slice(1);
|
|
7269
7284
|
return ee.forEach(function(ae) {
|
|
7270
7285
|
V.length >= y || O.expression.value.forEach(function(J) {
|
|
7271
|
-
var Q = { operation: "subscript", scope: "child", expression: J.expression }, _ = F.resolve(Q),
|
|
7272
|
-
V = V.concat(
|
|
7286
|
+
var Q = { operation: "subscript", scope: "child", expression: J.expression }, _ = F.resolve(Q), N = _(Q, ae);
|
|
7287
|
+
V = V.concat(N);
|
|
7273
7288
|
});
|
|
7274
7289
|
}), P(V);
|
|
7275
7290
|
},
|
|
@@ -7313,14 +7328,14 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7313
7328
|
function A(O) {
|
|
7314
7329
|
return function(h, y, S, F) {
|
|
7315
7330
|
var V = h.value, ee = h.path, ae = [], J = function(Q, _) {
|
|
7316
|
-
p(Q) ? (Q.forEach(function(
|
|
7317
|
-
ae.length >= F || S(H,
|
|
7318
|
-
}), Q.forEach(function(
|
|
7319
|
-
ae.length >= F || O && J(
|
|
7320
|
-
})) : w(Q) && (this.keys(Q).forEach(function(
|
|
7321
|
-
ae.length >= F || S(
|
|
7322
|
-
}), this.keys(Q).forEach(function(
|
|
7323
|
-
ae.length >= F || O && J(Q[
|
|
7331
|
+
p(Q) ? (Q.forEach(function(N, H) {
|
|
7332
|
+
ae.length >= F || S(H, N, y) && ae.push({ path: _.concat(H), value: N });
|
|
7333
|
+
}), Q.forEach(function(N, H) {
|
|
7334
|
+
ae.length >= F || O && J(N, _.concat(H));
|
|
7335
|
+
})) : w(Q) && (this.keys(Q).forEach(function(N) {
|
|
7336
|
+
ae.length >= F || S(N, Q[N], y) && ae.push({ path: _.concat(N), value: Q[N] });
|
|
7337
|
+
}), this.keys(Q).forEach(function(N) {
|
|
7338
|
+
ae.length >= F || O && J(Q[N], _.concat(N));
|
|
7324
7339
|
}));
|
|
7325
7340
|
}.bind(this);
|
|
7326
7341
|
return J(V, ee), ae;
|
|
@@ -7774,7 +7789,7 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7774
7789
|
}
|
|
7775
7790
|
if (Q(j))
|
|
7776
7791
|
return L.stylize(RegExp.prototype.toString.call(j), "regexp");
|
|
7777
|
-
if (
|
|
7792
|
+
if (N(j))
|
|
7778
7793
|
return L.stylize(Date.prototype.toString.call(j), "date");
|
|
7779
7794
|
if (H(j))
|
|
7780
7795
|
return f(j);
|
|
@@ -7784,7 +7799,7 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7784
7799
|
var gt = j.name ? ": " + j.name : "";
|
|
7785
7800
|
De = " [Function" + gt + "]";
|
|
7786
7801
|
}
|
|
7787
|
-
if (Q(j) && (De = " " + RegExp.prototype.toString.call(j)),
|
|
7802
|
+
if (Q(j) && (De = " " + RegExp.prototype.toString.call(j)), N(j) && (De = " " + Date.prototype.toUTCString.call(j)), H(j) && (De = " " + f(j)), ce.length === 0 && (!Le || j.length == 0))
|
|
7788
7803
|
return Ze[0] + De + Ze[1];
|
|
7789
7804
|
if (K < 0)
|
|
7790
7805
|
return Q(j) ? L.stylize(RegExp.prototype.toString.call(j), "regexp") : L.stylize("[Object]", "special");
|
|
@@ -7900,10 +7915,10 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7900
7915
|
return typeof L == "object" && L !== null;
|
|
7901
7916
|
}
|
|
7902
7917
|
c.isObject = _;
|
|
7903
|
-
function
|
|
7918
|
+
function N(L) {
|
|
7904
7919
|
return _(L) && U(L) === "[object Date]";
|
|
7905
7920
|
}
|
|
7906
|
-
c.isDate =
|
|
7921
|
+
c.isDate = N;
|
|
7907
7922
|
function H(L) {
|
|
7908
7923
|
return _(L) && (U(L) === "[object Error]" || L instanceof Error);
|
|
7909
7924
|
}
|
|
@@ -7920,7 +7935,7 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7920
7935
|
function U(L) {
|
|
7921
7936
|
return Object.prototype.toString.call(L);
|
|
7922
7937
|
}
|
|
7923
|
-
function
|
|
7938
|
+
function W(L) {
|
|
7924
7939
|
return L < 10 ? "0" + L.toString(10) : L.toString(10);
|
|
7925
7940
|
}
|
|
7926
7941
|
var Y = [
|
|
@@ -7939,9 +7954,9 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7939
7954
|
];
|
|
7940
7955
|
function de() {
|
|
7941
7956
|
var L = new Date(), j = [
|
|
7942
|
-
|
|
7943
|
-
|
|
7944
|
-
|
|
7957
|
+
W(L.getHours()),
|
|
7958
|
+
W(L.getMinutes()),
|
|
7959
|
+
W(L.getSeconds())
|
|
7945
7960
|
].join(":");
|
|
7946
7961
|
return [L.getDate(), Y[L.getMonth()], j].join(" ");
|
|
7947
7962
|
}
|
|
@@ -8251,17 +8266,17 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
8251
8266
|
if (v(ae[D]) === E)
|
|
8252
8267
|
return E;
|
|
8253
8268
|
x = J;
|
|
8254
|
-
var _ = Object.keys(x),
|
|
8269
|
+
var _ = Object.keys(x), N = _.map(function(Y) {
|
|
8255
8270
|
return x[Y];
|
|
8256
8271
|
});
|
|
8257
|
-
return Function(_.join(", "), "return " + l(p)).apply(null,
|
|
8272
|
+
return Function(_.join(", "), "return " + l(p)).apply(null, N);
|
|
8258
8273
|
} else if (p.type === "TemplateLiteral") {
|
|
8259
8274
|
for (var H = "", D = 0; D < p.expressions.length; D++)
|
|
8260
8275
|
H += v(p.quasis[D]), H += v(p.expressions[D]);
|
|
8261
8276
|
return H += v(p.quasis[D]), H;
|
|
8262
8277
|
} else if (p.type === "TaggedTemplateExpression") {
|
|
8263
|
-
var q = v(p.tag), $ = p.quasi, U = $.quasis.map(v),
|
|
8264
|
-
return q.apply(null, [U].concat(
|
|
8278
|
+
var q = v(p.tag), $ = p.quasi, U = $.quasis.map(v), W = $.expressions.map(v);
|
|
8279
|
+
return q.apply(null, [U].concat(W));
|
|
8265
8280
|
} else
|
|
8266
8281
|
return p.type === "TemplateElement" ? p.value.cooked : E;
|
|
8267
8282
|
}
|
|
@@ -8273,9 +8288,9 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
8273
8288
|
u.exports = i("./lib/index");
|
|
8274
8289
|
}, { "./lib/index": 5 }] }, {}, ["jsonpath"])("jsonpath");
|
|
8275
8290
|
});
|
|
8276
|
-
})(
|
|
8277
|
-
function
|
|
8278
|
-
return r = xt(r),
|
|
8291
|
+
})(Ms);
|
|
8292
|
+
function js(t, r, i) {
|
|
8293
|
+
return r = xt(r), Gs(t, sn() ? Reflect.construct(r, i || [], xt(t).constructor) : r.apply(t, i));
|
|
8279
8294
|
}
|
|
8280
8295
|
function Er(t, r, i) {
|
|
8281
8296
|
if (sn())
|
|
@@ -8305,18 +8320,18 @@ function _n(t, r) {
|
|
|
8305
8320
|
}
|
|
8306
8321
|
return i;
|
|
8307
8322
|
}
|
|
8308
|
-
function
|
|
8323
|
+
function Us(t) {
|
|
8309
8324
|
for (var r = 1; r < arguments.length; r++) {
|
|
8310
8325
|
var i = arguments[r] != null ? arguments[r] : {};
|
|
8311
8326
|
r % 2 ? _n(Object(i), !0).forEach(function(u) {
|
|
8312
|
-
|
|
8327
|
+
$s(t, u, i[u]);
|
|
8313
8328
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : _n(Object(i)).forEach(function(u) {
|
|
8314
8329
|
Object.defineProperty(t, u, Object.getOwnPropertyDescriptor(i, u));
|
|
8315
8330
|
});
|
|
8316
8331
|
}
|
|
8317
8332
|
return t;
|
|
8318
8333
|
}
|
|
8319
|
-
function
|
|
8334
|
+
function Hs(t, r) {
|
|
8320
8335
|
if (typeof t != "object" || !t)
|
|
8321
8336
|
return t;
|
|
8322
8337
|
var i = t[Symbol.toPrimitive];
|
|
@@ -8329,15 +8344,15 @@ function Us(t, r) {
|
|
|
8329
8344
|
return (r === "string" ? String : Number)(t);
|
|
8330
8345
|
}
|
|
8331
8346
|
function Cr(t) {
|
|
8332
|
-
var r =
|
|
8347
|
+
var r = Hs(t, "string");
|
|
8333
8348
|
return typeof r == "symbol" ? r : r + "";
|
|
8334
8349
|
}
|
|
8335
|
-
function
|
|
8336
|
-
return
|
|
8350
|
+
function We(t) {
|
|
8351
|
+
return We = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(r) {
|
|
8337
8352
|
return typeof r;
|
|
8338
8353
|
} : function(r) {
|
|
8339
8354
|
return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
|
|
8340
|
-
},
|
|
8355
|
+
}, We(t);
|
|
8341
8356
|
}
|
|
8342
8357
|
function wt(t, r) {
|
|
8343
8358
|
if (!(t instanceof r))
|
|
@@ -8354,7 +8369,7 @@ function vt(t, r, i) {
|
|
|
8354
8369
|
writable: !1
|
|
8355
8370
|
}), t;
|
|
8356
8371
|
}
|
|
8357
|
-
function
|
|
8372
|
+
function $s(t, r, i) {
|
|
8358
8373
|
return r = Cr(r), r in t ? Object.defineProperty(t, r, {
|
|
8359
8374
|
value: i,
|
|
8360
8375
|
enumerable: !0,
|
|
@@ -8362,7 +8377,7 @@ function Hs(t, r, i) {
|
|
|
8362
8377
|
writable: !0
|
|
8363
8378
|
}) : t[r] = i, t;
|
|
8364
8379
|
}
|
|
8365
|
-
function
|
|
8380
|
+
function Ws(t, r) {
|
|
8366
8381
|
if (typeof r != "function" && r !== null)
|
|
8367
8382
|
throw new TypeError("Super expression must either be null or a function");
|
|
8368
8383
|
t.prototype = Object.create(r && r.prototype, {
|
|
@@ -8417,26 +8432,26 @@ function Gt(t) {
|
|
|
8417
8432
|
}), At(c, u);
|
|
8418
8433
|
}, Gt(t);
|
|
8419
8434
|
}
|
|
8420
|
-
function
|
|
8435
|
+
function Ks(t) {
|
|
8421
8436
|
if (t === void 0)
|
|
8422
8437
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
8423
8438
|
return t;
|
|
8424
8439
|
}
|
|
8425
|
-
function
|
|
8440
|
+
function Gs(t, r) {
|
|
8426
8441
|
if (r && (typeof r == "object" || typeof r == "function"))
|
|
8427
8442
|
return r;
|
|
8428
8443
|
if (r !== void 0)
|
|
8429
8444
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
8430
|
-
return
|
|
8445
|
+
return Ks(t);
|
|
8431
8446
|
}
|
|
8432
8447
|
function on(t) {
|
|
8433
|
-
return
|
|
8448
|
+
return Vs(t) || qs(t) || xr(t) || Xs();
|
|
8434
8449
|
}
|
|
8435
|
-
function
|
|
8450
|
+
function Vs(t) {
|
|
8436
8451
|
if (Array.isArray(t))
|
|
8437
8452
|
return Vt(t);
|
|
8438
8453
|
}
|
|
8439
|
-
function
|
|
8454
|
+
function qs(t) {
|
|
8440
8455
|
if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null)
|
|
8441
8456
|
return Array.from(t);
|
|
8442
8457
|
}
|
|
@@ -8457,11 +8472,11 @@ function Vt(t, r) {
|
|
|
8457
8472
|
u[i] = t[i];
|
|
8458
8473
|
return u;
|
|
8459
8474
|
}
|
|
8460
|
-
function
|
|
8475
|
+
function Xs() {
|
|
8461
8476
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
8462
8477
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
8463
8478
|
}
|
|
8464
|
-
function
|
|
8479
|
+
function Js(t, r) {
|
|
8465
8480
|
var i = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
8466
8481
|
if (!i) {
|
|
8467
8482
|
if (Array.isArray(t) || (i = xr(t)) || r && t && typeof t.length == "number") {
|
|
@@ -8509,7 +8524,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8509
8524
|
}
|
|
8510
8525
|
};
|
|
8511
8526
|
}
|
|
8512
|
-
var
|
|
8527
|
+
var Qs = /* @__PURE__ */ function() {
|
|
8513
8528
|
function t() {
|
|
8514
8529
|
wt(this, t);
|
|
8515
8530
|
}
|
|
@@ -8561,7 +8576,7 @@ var Js = /* @__PURE__ */ function() {
|
|
|
8561
8576
|
});
|
|
8562
8577
|
}
|
|
8563
8578
|
}]);
|
|
8564
|
-
}(),
|
|
8579
|
+
}(), Ys = /* @__PURE__ */ function() {
|
|
8565
8580
|
function t(r) {
|
|
8566
8581
|
wt(this, t), this.jsep = r, this.registered = {};
|
|
8567
8582
|
}
|
|
@@ -8571,13 +8586,13 @@ var Js = /* @__PURE__ */ function() {
|
|
|
8571
8586
|
for (var i = this, u = arguments.length, c = new Array(u), l = 0; l < u; l++)
|
|
8572
8587
|
c[l] = arguments[l];
|
|
8573
8588
|
c.forEach(function(d) {
|
|
8574
|
-
if (
|
|
8589
|
+
if (We(d) !== "object" || !d.name || !d.init)
|
|
8575
8590
|
throw new Error("Invalid JSEP plugin format");
|
|
8576
8591
|
i.registered[d.name] || (d.init(i.jsep), i.registered[d.name] = d);
|
|
8577
8592
|
});
|
|
8578
8593
|
}
|
|
8579
8594
|
}]);
|
|
8580
|
-
}(),
|
|
8595
|
+
}(), ze = /* @__PURE__ */ function() {
|
|
8581
8596
|
function t(r) {
|
|
8582
8597
|
wt(this, t), this.expr = r, this.index = 0;
|
|
8583
8598
|
}
|
|
@@ -9192,10 +9207,10 @@ var Js = /* @__PURE__ */ function() {
|
|
|
9192
9207
|
return t.isIdentifierStart(i) || t.isDecimalDigit(i);
|
|
9193
9208
|
}
|
|
9194
9209
|
}]);
|
|
9195
|
-
}(),
|
|
9196
|
-
Object.assign(
|
|
9197
|
-
hooks:
|
|
9198
|
-
plugins: new
|
|
9210
|
+
}(), Zs = new Qs();
|
|
9211
|
+
Object.assign(ze, {
|
|
9212
|
+
hooks: Zs,
|
|
9213
|
+
plugins: new Ys(ze),
|
|
9199
9214
|
// Node Types
|
|
9200
9215
|
// ----------
|
|
9201
9216
|
// This is the full set of types that any JSEP node can be.
|
|
@@ -9287,16 +9302,16 @@ Object.assign(We, {
|
|
|
9287
9302
|
// Except for `this`, which is special. This could be changed to something like `'self'` as well
|
|
9288
9303
|
this_str: "this"
|
|
9289
9304
|
});
|
|
9290
|
-
|
|
9291
|
-
|
|
9305
|
+
ze.max_unop_len = ze.getMaxKeyLen(ze.unary_ops);
|
|
9306
|
+
ze.max_binop_len = ze.getMaxKeyLen(ze.binary_ops);
|
|
9292
9307
|
var yt = function(r) {
|
|
9293
|
-
return new
|
|
9294
|
-
},
|
|
9295
|
-
|
|
9296
|
-
yt[t] === void 0 && t !== "prototype" && (yt[t] =
|
|
9308
|
+
return new ze(r).parse();
|
|
9309
|
+
}, eo = Object.getOwnPropertyNames(ze);
|
|
9310
|
+
eo.forEach(function(t) {
|
|
9311
|
+
yt[t] === void 0 && t !== "prototype" && (yt[t] = ze[t]);
|
|
9297
9312
|
});
|
|
9298
|
-
yt.Jsep =
|
|
9299
|
-
var
|
|
9313
|
+
yt.Jsep = ze;
|
|
9314
|
+
var to = "ConditionalExpression", no = {
|
|
9300
9315
|
name: "ternary",
|
|
9301
9316
|
init: function(r) {
|
|
9302
9317
|
r.hooks.add("after-expression", function(u) {
|
|
@@ -9307,7 +9322,7 @@ var eo = "ConditionalExpression", to = {
|
|
|
9307
9322
|
this.index++;
|
|
9308
9323
|
var d = this.gobbleExpression();
|
|
9309
9324
|
if (d || this.throwError("Expected expression"), u.node = {
|
|
9310
|
-
type:
|
|
9325
|
+
type: to,
|
|
9311
9326
|
test: c,
|
|
9312
9327
|
consequent: l,
|
|
9313
9328
|
alternate: d
|
|
@@ -9322,8 +9337,8 @@ var eo = "ConditionalExpression", to = {
|
|
|
9322
9337
|
});
|
|
9323
9338
|
}
|
|
9324
9339
|
};
|
|
9325
|
-
yt.plugins.register(
|
|
9326
|
-
var In = 47,
|
|
9340
|
+
yt.plugins.register(no);
|
|
9341
|
+
var In = 47, ro = 92, io = {
|
|
9327
9342
|
name: "regex",
|
|
9328
9343
|
init: function(r) {
|
|
9329
9344
|
r.hooks.add("gobble-token", function(u) {
|
|
@@ -9349,16 +9364,16 @@ var In = 47, no = 92, ro = {
|
|
|
9349
9364
|
raw: this.expr.slice(c - 1, this.index)
|
|
9350
9365
|
}, u.node = this.gobbleTokenProperty(u.node), u.node;
|
|
9351
9366
|
}
|
|
9352
|
-
this.code === r.OBRACK_CODE ? l = !0 : l && this.code === r.CBRACK_CODE && (l = !1), this.index += this.code ===
|
|
9367
|
+
this.code === r.OBRACK_CODE ? l = !0 : l && this.code === r.CBRACK_CODE && (l = !1), this.index += this.code === ro ? 2 : 1;
|
|
9353
9368
|
}
|
|
9354
9369
|
this.throwError("Unclosed Regex");
|
|
9355
9370
|
}
|
|
9356
9371
|
});
|
|
9357
9372
|
}
|
|
9358
|
-
}, Kt = 43,
|
|
9373
|
+
}, Kt = 43, ao = 45, dt = {
|
|
9359
9374
|
name: "assignment",
|
|
9360
9375
|
assignmentOperators: /* @__PURE__ */ new Set(["=", "*=", "**=", "/=", "%=", "+=", "-=", "<<=", ">>=", ">>>=", "&=", "^=", "|="]),
|
|
9361
|
-
updateOperators: [Kt,
|
|
9376
|
+
updateOperators: [Kt, ao],
|
|
9362
9377
|
assignmentPrecedence: 0.9,
|
|
9363
9378
|
init: function(r) {
|
|
9364
9379
|
var i = [r.IDENTIFIER, r.MEMBER_EXP];
|
|
@@ -9392,23 +9407,23 @@ var In = 47, no = 92, ro = {
|
|
|
9392
9407
|
});
|
|
9393
9408
|
function u(c) {
|
|
9394
9409
|
dt.assignmentOperators.has(c.operator) ? (c.type = "AssignmentExpression", u(c.left), u(c.right)) : c.operator || Object.values(c).forEach(function(l) {
|
|
9395
|
-
l &&
|
|
9410
|
+
l && We(l) === "object" && u(l);
|
|
9396
9411
|
});
|
|
9397
9412
|
}
|
|
9398
9413
|
}
|
|
9399
|
-
},
|
|
9414
|
+
}, Ne = Object.prototype.hasOwnProperty;
|
|
9400
9415
|
function nt(t, r) {
|
|
9401
9416
|
return t = t.slice(), t.push(r), t;
|
|
9402
9417
|
}
|
|
9403
9418
|
function qt(t, r) {
|
|
9404
9419
|
return r = r.slice(), r.unshift(t), r;
|
|
9405
9420
|
}
|
|
9406
|
-
var
|
|
9421
|
+
var so = /* @__PURE__ */ function(t) {
|
|
9407
9422
|
function r(i) {
|
|
9408
9423
|
var u;
|
|
9409
|
-
return wt(this, r), u =
|
|
9424
|
+
return wt(this, r), u = js(this, r, ['JSONPath should not be called with "new" (it prevents return of (unwrapped) scalar values)']), u.avoidNew = !0, u.value = i, u.name = "NewError", u;
|
|
9410
9425
|
}
|
|
9411
|
-
return
|
|
9426
|
+
return Ws(r, t), vt(r);
|
|
9412
9427
|
}(/* @__PURE__ */ Gt(Error));
|
|
9413
9428
|
function ve(t, r, i, u, c) {
|
|
9414
9429
|
if (!(this instanceof ve))
|
|
@@ -9420,8 +9435,8 @@ function ve(t, r, i, u, c) {
|
|
|
9420
9435
|
return E.value;
|
|
9421
9436
|
}
|
|
9422
9437
|
typeof t == "string" && (c = u, u = i, i = r, r = t, t = null);
|
|
9423
|
-
var l = t &&
|
|
9424
|
-
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 =
|
|
9438
|
+
var l = t && We(t) === "object";
|
|
9439
|
+
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 = Ne.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 || u || null, this.otherTypeCallback = t.otherTypeCallback || c || function() {
|
|
9425
9440
|
throw new TypeError("You must supply an otherTypeCallback callback option with the @other() operator.");
|
|
9426
9441
|
}, t.autostart !== !1) {
|
|
9427
9442
|
var d = {
|
|
@@ -9429,20 +9444,20 @@ function ve(t, r, i, u, c) {
|
|
|
9429
9444
|
};
|
|
9430
9445
|
l ? "json" in t && (d.json = t.json) : d.json = i;
|
|
9431
9446
|
var x = this.evaluate(d);
|
|
9432
|
-
if (!x ||
|
|
9433
|
-
throw new
|
|
9447
|
+
if (!x || We(x) !== "object")
|
|
9448
|
+
throw new so(x);
|
|
9434
9449
|
return x;
|
|
9435
9450
|
}
|
|
9436
9451
|
}
|
|
9437
9452
|
ve.prototype.evaluate = function(t, r, i, u) {
|
|
9438
9453
|
var c = this, l = this.parent, d = this.parentProperty, x = this.flatten, E = this.wrap;
|
|
9439
|
-
if (this.currResultType = this.resultType, this.currEval = this.eval, this.currSandbox = this.sandbox, i = i || this.callback, this.currOtherTypeCallback = u || this.otherTypeCallback, r = r || this.json, t = t || this.path, t &&
|
|
9454
|
+
if (this.currResultType = this.resultType, this.currEval = this.eval, this.currSandbox = this.sandbox, i = i || this.callback, this.currOtherTypeCallback = u || this.otherTypeCallback, r = r || this.json, t = t || this.path, t && We(t) === "object" && !Array.isArray(t)) {
|
|
9440
9455
|
if (!t.path && t.path !== "")
|
|
9441
9456
|
throw new TypeError('You must supply a "path" property when providing an object argument to JSONPath.evaluate().');
|
|
9442
|
-
if (!
|
|
9457
|
+
if (!Ne.call(t, "json"))
|
|
9443
9458
|
throw new TypeError('You must supply a "json" property when providing an object argument to JSONPath.evaluate().');
|
|
9444
9459
|
var b = t;
|
|
9445
|
-
r = b.json, x =
|
|
9460
|
+
r = b.json, x = Ne.call(t, "flatten") ? t.flatten : x, this.currResultType = Ne.call(t, "resultType") ? t.resultType : this.currResultType, this.currSandbox = Ne.call(t, "sandbox") ? t.sandbox : this.currSandbox, E = Ne.call(t, "wrap") ? t.wrap : E, this.currEval = Ne.call(t, "eval") ? t.eval : this.currEval, i = Ne.call(t, "callback") ? t.callback : i, this.currOtherTypeCallback = Ne.call(t, "otherTypeCallback") ? t.otherTypeCallback : this.currOtherTypeCallback, l = Ne.call(t, "parent") ? t.parent : l, d = Ne.call(t, "parentProperty") ? t.parentProperty : d, t = t.path;
|
|
9446
9461
|
}
|
|
9447
9462
|
if (l = l || null, d = d || null, Array.isArray(t) && (t = ve.toPathString(t)), !(!t && t !== "" || !r)) {
|
|
9448
9463
|
var v = ve.toPathArray(t);
|
|
@@ -9497,7 +9512,7 @@ ve.prototype._trace = function(t, r, i, u, c, l, d, x) {
|
|
|
9497
9512
|
w.push(_);
|
|
9498
9513
|
}) : w.push(Q);
|
|
9499
9514
|
}
|
|
9500
|
-
if ((typeof v != "string" || x) && r &&
|
|
9515
|
+
if ((typeof v != "string" || x) && r && Ne.call(r, v))
|
|
9501
9516
|
A(this._trace(p, r[v], nt(i, v), r, v, l, d));
|
|
9502
9517
|
else if (v === "*")
|
|
9503
9518
|
this._walk(r, function(Q) {
|
|
@@ -9505,7 +9520,7 @@ ve.prototype._trace = function(t, r, i, u, c, l, d, x) {
|
|
|
9505
9520
|
});
|
|
9506
9521
|
else if (v === "..")
|
|
9507
9522
|
A(this._trace(p, r, i, u, c, l, d)), this._walk(r, function(Q) {
|
|
9508
|
-
|
|
9523
|
+
We(r[Q]) === "object" && A(E._trace(t.slice(), r[Q], nt(i, Q), r, Q, l, !0));
|
|
9509
9524
|
});
|
|
9510
9525
|
else {
|
|
9511
9526
|
if (v === "^")
|
|
@@ -9530,7 +9545,7 @@ ve.prototype._trace = function(t, r, i, u, c, l, d, x) {
|
|
|
9530
9545
|
throw new Error("Eval [?(expr)] prevented in JSONPath expression.");
|
|
9531
9546
|
var g = v.replace(/^\?\(((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?)\)$/, "$1"), D = /@(?:[\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);
|
|
9532
9547
|
D ? this._walk(r, function(Q) {
|
|
9533
|
-
var _ = [D[2]],
|
|
9548
|
+
var _ = [D[2]], N = D[1] ? r[Q][D[1]] : r[Q], H = E._trace(_, N, i, u, c, l, !0);
|
|
9534
9549
|
H.length > 0 && A(E._trace(p, r[Q], nt(i, Q), r, Q, l, !0));
|
|
9535
9550
|
}) : this._walk(r, function(Q) {
|
|
9536
9551
|
E._eval(g, r[Q], Q, i, u, c) && A(E._trace(p, r[Q], nt(i, Q), r, Q, l, !0));
|
|
@@ -9543,13 +9558,13 @@ ve.prototype._trace = function(t, r, i, u, c, l, d, x) {
|
|
|
9543
9558
|
var f = !1, P = v.slice(1, -2);
|
|
9544
9559
|
switch (P) {
|
|
9545
9560
|
case "scalar":
|
|
9546
|
-
(!r || !["object", "function"].includes(
|
|
9561
|
+
(!r || !["object", "function"].includes(We(r))) && (f = !0);
|
|
9547
9562
|
break;
|
|
9548
9563
|
case "boolean":
|
|
9549
9564
|
case "string":
|
|
9550
9565
|
case "undefined":
|
|
9551
9566
|
case "function":
|
|
9552
|
-
|
|
9567
|
+
We(r) === P && (f = !0);
|
|
9553
9568
|
break;
|
|
9554
9569
|
case "integer":
|
|
9555
9570
|
Number.isFinite(r) && !(r % 1) && (f = !0);
|
|
@@ -9561,7 +9576,7 @@ ve.prototype._trace = function(t, r, i, u, c, l, d, x) {
|
|
|
9561
9576
|
typeof r == "number" && !Number.isFinite(r) && (f = !0);
|
|
9562
9577
|
break;
|
|
9563
9578
|
case "object":
|
|
9564
|
-
r &&
|
|
9579
|
+
r && We(r) === P && (f = !0);
|
|
9565
9580
|
break;
|
|
9566
9581
|
case "array":
|
|
9567
9582
|
Array.isArray(r) && (f = !0);
|
|
@@ -9582,11 +9597,11 @@ ve.prototype._trace = function(t, r, i, u, c, l, d, x) {
|
|
|
9582
9597
|
parent: u,
|
|
9583
9598
|
parentProperty: c
|
|
9584
9599
|
}, this._handleCallback(b, l, "value"), b;
|
|
9585
|
-
} else if (v[0] === "`" && r &&
|
|
9600
|
+
} else if (v[0] === "`" && r && Ne.call(r, v.slice(1))) {
|
|
9586
9601
|
var B = v.slice(1);
|
|
9587
9602
|
A(this._trace(p, r[B], nt(i, B), r, B, l, d, !0));
|
|
9588
9603
|
} else if (v.includes(",")) {
|
|
9589
|
-
var O = v.split(","), h =
|
|
9604
|
+
var O = v.split(","), h = Js(O), y;
|
|
9590
9605
|
try {
|
|
9591
9606
|
for (h.s(); !(y = h.n()).done; ) {
|
|
9592
9607
|
var S = y.value;
|
|
@@ -9598,7 +9613,7 @@ ve.prototype._trace = function(t, r, i, u, c, l, d, x) {
|
|
|
9598
9613
|
h.f();
|
|
9599
9614
|
}
|
|
9600
9615
|
} else
|
|
9601
|
-
!x && r &&
|
|
9616
|
+
!x && r && Ne.call(r, v) && A(this._trace(p, r[v], nt(i, v), r, v, l, d, !0));
|
|
9602
9617
|
}
|
|
9603
9618
|
if (this._hasParentSelector)
|
|
9604
9619
|
for (var F = 0; F < w.length; F++) {
|
|
@@ -9620,7 +9635,7 @@ ve.prototype._walk = function(t, r) {
|
|
|
9620
9635
|
for (var i = t.length, u = 0; u < i; u++)
|
|
9621
9636
|
r(u);
|
|
9622
9637
|
else
|
|
9623
|
-
t &&
|
|
9638
|
+
t && We(t) === "object" && Object.keys(t).forEach(function(c) {
|
|
9624
9639
|
r(c);
|
|
9625
9640
|
});
|
|
9626
9641
|
};
|
|
@@ -9649,7 +9664,7 @@ ve.prototype._eval = function(t, r, i, u, c, l) {
|
|
|
9649
9664
|
ve.cache[E] = new this.safeVm.Script(b);
|
|
9650
9665
|
else if (this.currEval === "native")
|
|
9651
9666
|
ve.cache[E] = new this.vm.Script(b);
|
|
9652
|
-
else if (typeof this.currEval == "function" && this.currEval.prototype &&
|
|
9667
|
+
else if (typeof this.currEval == "function" && this.currEval.prototype && Ne.call(this.currEval.prototype, "runInNewContext")) {
|
|
9653
9668
|
var v = this.currEval;
|
|
9654
9669
|
ve.cache[E] = new v(b);
|
|
9655
9670
|
} else if (typeof this.currEval == "function")
|
|
@@ -9696,13 +9711,13 @@ ve.toPathArray = function(t) {
|
|
|
9696
9711
|
});
|
|
9697
9712
|
return r[t] = c, r[t].concat();
|
|
9698
9713
|
};
|
|
9699
|
-
var
|
|
9714
|
+
var oo = function(r, i, u) {
|
|
9700
9715
|
for (var c = r.length, l = 0; l < c; l++) {
|
|
9701
9716
|
var d = r[l];
|
|
9702
9717
|
u(d) && i.push(r.splice(l--, 1)[0]);
|
|
9703
9718
|
}
|
|
9704
9719
|
};
|
|
9705
|
-
yt.plugins.register(
|
|
9720
|
+
yt.plugins.register(io, dt);
|
|
9706
9721
|
var xe = {
|
|
9707
9722
|
/**
|
|
9708
9723
|
* @param {jsep.Expression} ast
|
|
@@ -9865,18 +9880,18 @@ var xe = {
|
|
|
9865
9880
|
var u = r.left.name, c = xe.evalAst(r.right, i);
|
|
9866
9881
|
return i[u] = c, i[u];
|
|
9867
9882
|
}
|
|
9868
|
-
},
|
|
9883
|
+
}, uo = /* @__PURE__ */ function() {
|
|
9869
9884
|
function t(r) {
|
|
9870
9885
|
wt(this, t), this.code = r, this.ast = yt(this.code);
|
|
9871
9886
|
}
|
|
9872
9887
|
return vt(t, [{
|
|
9873
9888
|
key: "runInNewContext",
|
|
9874
9889
|
value: function(i) {
|
|
9875
|
-
var u =
|
|
9890
|
+
var u = Us({}, i);
|
|
9876
9891
|
return xe.evalAst(this.ast, u);
|
|
9877
9892
|
}
|
|
9878
9893
|
}]);
|
|
9879
|
-
}(),
|
|
9894
|
+
}(), lo = /* @__PURE__ */ function() {
|
|
9880
9895
|
function t(r) {
|
|
9881
9896
|
wt(this, t), this.code = r;
|
|
9882
9897
|
}
|
|
@@ -9884,7 +9899,7 @@ var xe = {
|
|
|
9884
9899
|
key: "runInNewContext",
|
|
9885
9900
|
value: function(i) {
|
|
9886
9901
|
var u = this.code, c = Object.keys(i), l = [];
|
|
9887
|
-
|
|
9902
|
+
oo(c, l, function(v) {
|
|
9888
9903
|
return typeof i[v] == "function";
|
|
9889
9904
|
});
|
|
9890
9905
|
var d = c.map(function(v) {
|
|
@@ -9900,17 +9915,17 @@ var xe = {
|
|
|
9900
9915
|
}]);
|
|
9901
9916
|
}();
|
|
9902
9917
|
ve.prototype.vm = {
|
|
9903
|
-
Script:
|
|
9918
|
+
Script: lo
|
|
9904
9919
|
};
|
|
9905
9920
|
ve.prototype.safeVm = {
|
|
9906
|
-
Script:
|
|
9921
|
+
Script: uo
|
|
9907
9922
|
};
|
|
9908
9923
|
const Ft = (t, r) => {
|
|
9909
9924
|
if (!r || !t)
|
|
9910
9925
|
return null;
|
|
9911
9926
|
var i = ve({ json: r, path: t });
|
|
9912
9927
|
return i;
|
|
9913
|
-
},
|
|
9928
|
+
}, To = (t) => {
|
|
9914
9929
|
var r = [];
|
|
9915
9930
|
if (!t)
|
|
9916
9931
|
return r;
|
|
@@ -9918,9 +9933,9 @@ const Ft = (t, r) => {
|
|
|
9918
9933
|
return t.type == T.tabs ? (r = t.tabs, r = [...i, ...r]) : t.type == T.grid && (r = Ft("$..cols[*]", t), r = [...i, ...r]), r = [...i], r == null ? void 0 : r.filter((u) => !!(u != null && u.type));
|
|
9919
9934
|
}, ut = (t, r, i, u) => {
|
|
9920
9935
|
t == null || t.forEach((c) => {
|
|
9921
|
-
c && (r == null || r.push(c), !(u != null && u(c)) &&
|
|
9936
|
+
c && (r == null || r.push(c), !(u != null && u(c)) && co(c, r, i, u));
|
|
9922
9937
|
});
|
|
9923
|
-
},
|
|
9938
|
+
}, co = (t, r, i, u) => {
|
|
9924
9939
|
var c, l, d, x, E, b, v;
|
|
9925
9940
|
if (t.type === T.tabs)
|
|
9926
9941
|
(c = t.tabs) == null || c.forEach((p) => {
|
|
@@ -9968,17 +9983,17 @@ const Ft = (t, r) => {
|
|
|
9968
9983
|
ut(t, c, u), c == null || c.forEach((l) => {
|
|
9969
9984
|
i ? i(l) && r(l) : r(l);
|
|
9970
9985
|
});
|
|
9971
|
-
},
|
|
9986
|
+
}, fo = (t, r) => {
|
|
9972
9987
|
if (!t)
|
|
9973
9988
|
return;
|
|
9974
9989
|
const i = un(t, (u) => !!(u != null && u.formItemFlag), !0);
|
|
9975
9990
|
return i == null || i.forEach((u) => r == null ? void 0 : r(u)), i;
|
|
9976
|
-
},
|
|
9991
|
+
}, po = (t, r) => {
|
|
9977
9992
|
if (!r || (t == null ? void 0 : t.length) <= 0)
|
|
9978
9993
|
return;
|
|
9979
9994
|
const i = un(t, (c) => (c == null ? void 0 : c.id) === r);
|
|
9980
9995
|
return i == null ? void 0 : i[0];
|
|
9981
|
-
},
|
|
9996
|
+
}, Io = (t, r) => un(t, (i) => (i == null ? void 0 : i.type) === r), Po = (t, r) => {
|
|
9982
9997
|
var c;
|
|
9983
9998
|
if (!t)
|
|
9984
9999
|
return [];
|
|
@@ -9991,7 +10006,7 @@ const Ft = (t, r) => {
|
|
|
9991
10006
|
};
|
|
9992
10007
|
return r ? (c = Ft("$..*[?(@property === 'formItemFlag' && @ === true)]^", t)) == null || c.forEach((l) => {
|
|
9993
10008
|
u(l);
|
|
9994
|
-
}) :
|
|
10009
|
+
}) : fo(t, u), i;
|
|
9995
10010
|
}, Qe = (t, r, i, u = !1, c) => {
|
|
9996
10011
|
var b, v, p, w, A, g, D, f, P;
|
|
9997
10012
|
if (!t)
|
|
@@ -10148,7 +10163,7 @@ const Ft = (t, r) => {
|
|
|
10148
10163
|
break;
|
|
10149
10164
|
}
|
|
10150
10165
|
return l;
|
|
10151
|
-
},
|
|
10166
|
+
}, Lo = (t, r, i, u) => {
|
|
10152
10167
|
var x;
|
|
10153
10168
|
const c = Ft("$..widgetList[?(@.id==='" + t + "')]^", Fe(i)), l = (x = c == null ? void 0 : c[0]) == null ? void 0 : x.find((E) => {
|
|
10154
10169
|
var b;
|
|
@@ -10156,25 +10171,25 @@ const Ft = (t, r) => {
|
|
|
10156
10171
|
}), d = l == null ? void 0 : l.id;
|
|
10157
10172
|
return u == null ? void 0 : u(d);
|
|
10158
10173
|
};
|
|
10159
|
-
function
|
|
10160
|
-
const t = (_) => ue.getOptions(_, "rowspan") || 1, r = (_) => ue.getOptions(_, "colspan") || 1, i = (_,
|
|
10161
|
-
ue.setOptions(_, "rowspan",
|
|
10162
|
-
}, u = (_,
|
|
10163
|
-
ue.setOptions(_, "colspan",
|
|
10164
|
-
}, c = (_,
|
|
10165
|
-
let q = Fe(_.rows[
|
|
10174
|
+
function ho() {
|
|
10175
|
+
const t = (_) => ue.getOptions(_, "rowspan") || 1, r = (_) => ue.getOptions(_, "colspan") || 1, i = (_, N) => {
|
|
10176
|
+
ue.setOptions(_, "rowspan", N);
|
|
10177
|
+
}, u = (_, N) => {
|
|
10178
|
+
ue.setOptions(_, "colspan", N);
|
|
10179
|
+
}, c = (_, N, H) => {
|
|
10180
|
+
let q = Fe(_.rows[N]);
|
|
10166
10181
|
return V(q), _.rows.splice(H, 0, q), !0;
|
|
10167
|
-
}, l = (_,
|
|
10182
|
+
}, l = (_, N) => (_.rows.forEach((H) => {
|
|
10168
10183
|
let q = ee();
|
|
10169
|
-
H.cols.splice(
|
|
10184
|
+
H.cols.splice(N, 0, q);
|
|
10170
10185
|
}), !0), d = (_) => {
|
|
10171
|
-
let
|
|
10172
|
-
return c(_,
|
|
10186
|
+
let N = _.rows.length;
|
|
10187
|
+
return c(_, N - 1, N), !0;
|
|
10173
10188
|
}, x = (_) => {
|
|
10174
|
-
let
|
|
10175
|
-
return l(_,
|
|
10176
|
-
}, E = (_,
|
|
10177
|
-
let U = $ ?
|
|
10189
|
+
let N = _.rows[0].cols.length;
|
|
10190
|
+
return l(_, N), !0;
|
|
10191
|
+
}, E = (_, N, H, q, $) => {
|
|
10192
|
+
let U = $ ? N : N + 1;
|
|
10178
10193
|
if (!$) {
|
|
10179
10194
|
let Y = U, de = !1;
|
|
10180
10195
|
for (; Y < _.rows.length; )
|
|
@@ -10187,34 +10202,34 @@ function po() {
|
|
|
10187
10202
|
de && (U = _.rows.length);
|
|
10188
10203
|
}
|
|
10189
10204
|
c(_, H, U);
|
|
10190
|
-
let
|
|
10191
|
-
for (; U < _.rows.length - 1 &&
|
|
10192
|
-
const Y = _.rows[U + 1].cols[
|
|
10205
|
+
let W = 0;
|
|
10206
|
+
for (; U < _.rows.length - 1 && W < _.rows[0].cols.length; ) {
|
|
10207
|
+
const Y = _.rows[U + 1].cols[W];
|
|
10193
10208
|
if (Y.merged) {
|
|
10194
10209
|
let Ae = _.rows, L = {}, j = 0;
|
|
10195
10210
|
for (let K = U; K >= 0; K--)
|
|
10196
|
-
if (!Ae[K].cols[
|
|
10197
|
-
j = K, L = Ae[K].cols[
|
|
10211
|
+
if (!Ae[K].cols[W].merged && t(Ae[K].cols[W]) > 1) {
|
|
10212
|
+
j = K, L = Ae[K].cols[W];
|
|
10198
10213
|
break;
|
|
10199
10214
|
}
|
|
10200
10215
|
if (L.options) {
|
|
10201
10216
|
let K = t(L) + 1;
|
|
10202
|
-
p(_.rows, j,
|
|
10217
|
+
p(_.rows, j, W, r(L), K), W += r(L);
|
|
10203
10218
|
} else
|
|
10204
|
-
|
|
10219
|
+
W += 1;
|
|
10205
10220
|
} else
|
|
10206
|
-
|
|
10221
|
+
W += r(Y);
|
|
10207
10222
|
}
|
|
10208
10223
|
return !0;
|
|
10209
|
-
}, b = (_,
|
|
10210
|
-
let $ = q ?
|
|
10224
|
+
}, b = (_, N, H, q) => {
|
|
10225
|
+
let $ = q ? N : N + 1;
|
|
10211
10226
|
if (!q) {
|
|
10212
|
-
let
|
|
10213
|
-
for (;
|
|
10214
|
-
if (_.rows[H].cols[
|
|
10215
|
-
|
|
10227
|
+
let W = $, Y = !1;
|
|
10228
|
+
for (; W < _.rows[H].cols.length; ) {
|
|
10229
|
+
if (_.rows[H].cols[W].merged)
|
|
10230
|
+
W++;
|
|
10216
10231
|
else {
|
|
10217
|
-
$ =
|
|
10232
|
+
$ = W, Y = !0;
|
|
10218
10233
|
break;
|
|
10219
10234
|
}
|
|
10220
10235
|
Y || ($ = _.rows[H].cols.length);
|
|
@@ -10223,8 +10238,8 @@ function po() {
|
|
|
10223
10238
|
l(_, $);
|
|
10224
10239
|
let U = 0;
|
|
10225
10240
|
for (; $ < _.rows[0].cols.length - 1 && U < _.rows.length; ) {
|
|
10226
|
-
const
|
|
10227
|
-
if (
|
|
10241
|
+
const W = _.rows[U].cols[$ + 1];
|
|
10242
|
+
if (W.merged) {
|
|
10228
10243
|
let de = _.rows[U].cols, Ae = {}, L = null;
|
|
10229
10244
|
for (let j = $; j >= 0; j--)
|
|
10230
10245
|
if (!de[j].merged && r(de[j]) > 1) {
|
|
@@ -10237,36 +10252,36 @@ function po() {
|
|
|
10237
10252
|
} else
|
|
10238
10253
|
U += 1;
|
|
10239
10254
|
} else
|
|
10240
|
-
U += t(
|
|
10255
|
+
U += t(W);
|
|
10241
10256
|
}
|
|
10242
10257
|
return !0;
|
|
10243
|
-
}, v = (_,
|
|
10244
|
-
for (let U =
|
|
10245
|
-
for (let
|
|
10246
|
-
if (U ===
|
|
10247
|
-
u(_[U].cols[
|
|
10258
|
+
}, v = (_, N, H, q, $) => {
|
|
10259
|
+
for (let U = N; U < N + $; U++)
|
|
10260
|
+
for (let W = H; W < H + q; W++) {
|
|
10261
|
+
if (U === N && W === H) {
|
|
10262
|
+
u(_[U].cols[W], q);
|
|
10248
10263
|
continue;
|
|
10249
10264
|
}
|
|
10250
|
-
_[U].cols[
|
|
10265
|
+
_[U].cols[W].merged = !0, u(_[U].cols[W], q), _[U].cols[W].widgetList = [];
|
|
10251
10266
|
}
|
|
10252
|
-
}, p = (_,
|
|
10253
|
-
for (let U =
|
|
10254
|
-
for (let
|
|
10255
|
-
if (U ===
|
|
10256
|
-
i(_[U].cols[
|
|
10267
|
+
}, p = (_, N, H, q, $) => {
|
|
10268
|
+
for (let U = N; U < N + $; U++)
|
|
10269
|
+
for (let W = H; W < H + q; W++) {
|
|
10270
|
+
if (U === N && W === H) {
|
|
10271
|
+
i(_[U].cols[W], $);
|
|
10257
10272
|
continue;
|
|
10258
10273
|
}
|
|
10259
|
-
_[U].cols[
|
|
10274
|
+
_[U].cols[W].merged = !0, i(_[U].cols[W], $), _[U].cols[W].widgetList = [];
|
|
10260
10275
|
}
|
|
10261
|
-
}, w = (_,
|
|
10262
|
-
for (let U =
|
|
10263
|
-
for (let
|
|
10264
|
-
_[U].cols[
|
|
10265
|
-
}, A = (_,
|
|
10266
|
-
for (let U =
|
|
10267
|
-
for (let
|
|
10268
|
-
_[U].cols[
|
|
10269
|
-
}, g = (_,
|
|
10276
|
+
}, w = (_, N, H, q, $) => {
|
|
10277
|
+
for (let U = N; U < N + $; U++)
|
|
10278
|
+
for (let W = H; W < H + q; W++)
|
|
10279
|
+
_[U].cols[W].merged = !1, i(_[U].cols[W], 1), u(_[U].cols[W], 1);
|
|
10280
|
+
}, A = (_, N, H, q, $) => {
|
|
10281
|
+
for (let U = N; U < N + $; U++)
|
|
10282
|
+
for (let W = H; W < H + q; W++)
|
|
10283
|
+
_[U].cols[W].merged = !1, i(_[U].cols[W], 1), u(_[U].cols[W], 1);
|
|
10284
|
+
}, g = (_, N, H, q) => {
|
|
10270
10285
|
let $ = ue.getOptions(_[H].cols[0], "rowspan"), U = !1;
|
|
10271
10286
|
for (let Y = 1; Y < _[H].cols.length; Y++)
|
|
10272
10287
|
if (t(_[H].cols[Y]) !== $) {
|
|
@@ -10274,25 +10289,25 @@ function po() {
|
|
|
10274
10289
|
break;
|
|
10275
10290
|
}
|
|
10276
10291
|
if (U)
|
|
10277
|
-
return Ue.info(
|
|
10278
|
-
let
|
|
10279
|
-
return
|
|
10280
|
-
}, D = (_,
|
|
10281
|
-
let U = q ?
|
|
10292
|
+
return Ue.info(Re.i18nt("designer.hint.rowspanNotConsistentForMergeEntireRow")), !1;
|
|
10293
|
+
let W = N.filter((Y) => !Y.merged && !!Y.widgetList && Y.widgetList.length > 0);
|
|
10294
|
+
return W && W.length > 0 && W[0].id !== N[0].id && (!N[0].widgetList || N[0].widgetList.length <= 0) && (N[0].widgetList = Fe(W[0].widgetList)), v(_, H, 0, N.length, t(N[q])), !0;
|
|
10295
|
+
}, D = (_, N, H, q, $) => {
|
|
10296
|
+
let U = q ? N : N + t($), W = q ? N - 1 : N;
|
|
10282
10297
|
if (q) {
|
|
10283
|
-
let de =
|
|
10298
|
+
let de = W;
|
|
10284
10299
|
for (; de >= 0; )
|
|
10285
10300
|
if (_[de].cols[H].merged)
|
|
10286
10301
|
de--;
|
|
10287
10302
|
else {
|
|
10288
|
-
|
|
10303
|
+
W = de;
|
|
10289
10304
|
break;
|
|
10290
10305
|
}
|
|
10291
10306
|
}
|
|
10292
|
-
_[U].cols[H].widgetList && _[U].cols[H].widgetList.length > 0 && (!_[
|
|
10293
|
-
let Y = t(_[U].cols[H]) * 1 + t(_[
|
|
10294
|
-
return p(_,
|
|
10295
|
-
}, f = (_,
|
|
10307
|
+
_[U].cols[H].widgetList && _[U].cols[H].widgetList.length > 0 && (!_[W].cols[H].widgetList || _[W].cols[H].widgetList.length === 0) && (_[W].cols[H].widgetList = Fe(_[U].cols[H].widgetList));
|
|
10308
|
+
let Y = t(_[U].cols[H]) * 1 + t(_[W].cols[H]) * 1;
|
|
10309
|
+
return p(_, W, H, r($), Y), !0;
|
|
10310
|
+
}, f = (_, N, H, q) => {
|
|
10296
10311
|
let $ = ue.getOptions(_[0].cols[q], "colspan"), U = !1;
|
|
10297
10312
|
for (let de = 1; de < _.length; de++)
|
|
10298
10313
|
if (r(_[de].cols[q]) !== $) {
|
|
@@ -10300,16 +10315,16 @@ function po() {
|
|
|
10300
10315
|
break;
|
|
10301
10316
|
}
|
|
10302
10317
|
if (U)
|
|
10303
|
-
return Ue.info(
|
|
10304
|
-
let
|
|
10318
|
+
return Ue.info(Re.i18nt("designer.hint.colspanNotConsistentForMergeEntireColumn")), !1;
|
|
10319
|
+
let W = [];
|
|
10305
10320
|
_.forEach((de) => {
|
|
10306
10321
|
let Ae = de.cols[q];
|
|
10307
|
-
!Ae.merged && Ae.widgetList && Ae.widgetList.length > 0 &&
|
|
10322
|
+
!Ae.merged && Ae.widgetList && Ae.widgetList.length > 0 && W.push(Ae);
|
|
10308
10323
|
});
|
|
10309
10324
|
let Y = _[0].cols[q];
|
|
10310
|
-
return
|
|
10311
|
-
}, P = (_,
|
|
10312
|
-
let
|
|
10325
|
+
return W && W.length > 0 && W[0].id !== Y.id && (!Y.widgetList || Y.widgetList.length <= 0) && (Y.widgetList = Fe(W[0].widgetList)), p(_, 0, q, r(Y), _.length), !0;
|
|
10326
|
+
}, P = (_, N, H, q, $, U) => {
|
|
10327
|
+
let W = $ ? q : q + (ue.getOptions(N[q], "colspan") || 1), Y = $ ? q - 1 : q;
|
|
10313
10328
|
if ($) {
|
|
10314
10329
|
let Ae = Y;
|
|
10315
10330
|
for (; Ae >= 0; )
|
|
@@ -10320,72 +10335,72 @@ function po() {
|
|
|
10320
10335
|
break;
|
|
10321
10336
|
}
|
|
10322
10337
|
}
|
|
10323
|
-
|
|
10324
|
-
let de = r(
|
|
10338
|
+
N[W].widgetList && N[W].widgetList.length > 0 && (!N[Y].widgetList || N[Y].widgetList.length === 0) && (N[Y].widgetList = Fe(N[W].widgetList));
|
|
10339
|
+
let de = r(N[W]) * 1 + r(N[Y]) * 1;
|
|
10325
10340
|
return v(_, H, Y, de, t(U)), !0;
|
|
10326
|
-
}, B = (_,
|
|
10341
|
+
}, B = (_, N, H, q, $) => (w(_, N, H, q, $), !0), O = (_, N, H, q, $) => (A(_, N, H, q, $), !0), h = (_, N) => {
|
|
10327
10342
|
let H = !0;
|
|
10328
10343
|
if (_.forEach((U) => {
|
|
10329
10344
|
r(U.cols[0]) !== _[0].cols.length && (H = !1);
|
|
10330
10345
|
}), H)
|
|
10331
|
-
return Ue.info(
|
|
10332
|
-
let q = r(_[0].cols[
|
|
10346
|
+
return Ue.info(Re.i18nt("designer.hint.lastColCannotBeDeleted")), !1;
|
|
10347
|
+
let q = r(_[0].cols[N]), $ = !1;
|
|
10333
10348
|
for (let U = 1; U < _.length; U++)
|
|
10334
|
-
if (r(_[U].cols[
|
|
10349
|
+
if (r(_[U].cols[N]) !== q) {
|
|
10335
10350
|
$ = !0;
|
|
10336
10351
|
break;
|
|
10337
10352
|
}
|
|
10338
|
-
return $ ? (Ue.info(
|
|
10339
|
-
U.cols.splice(
|
|
10353
|
+
return $ ? (Ue.info(Re.i18nt("designer.hint.colspanNotConsistentForDeleteEntireColumn")), !1) : (_.forEach((U) => {
|
|
10354
|
+
U.cols.splice(N, q);
|
|
10340
10355
|
}), !0);
|
|
10341
|
-
}, y = (_,
|
|
10356
|
+
}, y = (_, N) => {
|
|
10342
10357
|
let H = !0;
|
|
10343
10358
|
if (_[0].cols.forEach((U) => {
|
|
10344
10359
|
t(U) !== _.length && (H = !1);
|
|
10345
10360
|
}), H)
|
|
10346
|
-
return Ue.info(
|
|
10347
|
-
let q = t(_[
|
|
10348
|
-
for (let U = 1; U < _[
|
|
10349
|
-
if (t(_[
|
|
10361
|
+
return Ue.info(Re.i18nt("designer.hint.lastRowCannotBeDeleted")), !1;
|
|
10362
|
+
let q = t(_[N].cols[0]), $ = !1;
|
|
10363
|
+
for (let U = 1; U < _[N].cols.length; U++)
|
|
10364
|
+
if (t(_[N].cols[U]) !== q) {
|
|
10350
10365
|
$ = !0;
|
|
10351
10366
|
break;
|
|
10352
10367
|
}
|
|
10353
|
-
return $ ? (Ue.info(
|
|
10354
|
-
}, S = (_,
|
|
10355
|
-
var
|
|
10356
|
-
let H = t(_[
|
|
10357
|
-
for (let Y = 1; Y < _[
|
|
10358
|
-
if (t(_[
|
|
10368
|
+
return $ ? (Ue.info(Re.i18nt("designer.hint.rowspanNotConsistentForDeleteEntireRow")), !1) : (_.splice(N, q), !0);
|
|
10369
|
+
}, S = (_, N) => {
|
|
10370
|
+
var W;
|
|
10371
|
+
let H = t(_[N].cols[0]), q = !1;
|
|
10372
|
+
for (let Y = 1; Y < _[N].cols.length; Y++)
|
|
10373
|
+
if (t(_[N].cols[Y]) !== H) {
|
|
10359
10374
|
q = !0;
|
|
10360
10375
|
break;
|
|
10361
10376
|
}
|
|
10362
10377
|
if (q)
|
|
10363
|
-
return Ue.info(
|
|
10364
|
-
let $ = Fe(_[
|
|
10365
|
-
var U = (
|
|
10366
|
-
return $.cols = U, _.splice(
|
|
10367
|
-
}, F = (_,
|
|
10368
|
-
let H = r(_[0].cols[
|
|
10378
|
+
return Ue.info(Re.i18nt("designer.hint.rowspanNotConsistentForDeleteEntireRow")), !1;
|
|
10379
|
+
let $ = Fe(_[N]);
|
|
10380
|
+
var U = (W = $ == null ? void 0 : $.cols) == null ? void 0 : W.map((Y) => Dt(Y, { recordSource: !1 }));
|
|
10381
|
+
return $.cols = U, _.splice(N + 1, 0, $), !0;
|
|
10382
|
+
}, F = (_, N) => {
|
|
10383
|
+
let H = r(_[0].cols[N]), q = !1;
|
|
10369
10384
|
for (let $ = 1; $ < _.length; $++)
|
|
10370
|
-
if (r(_[$].cols[
|
|
10385
|
+
if (r(_[$].cols[N]) !== H) {
|
|
10371
10386
|
q = !0;
|
|
10372
10387
|
break;
|
|
10373
10388
|
}
|
|
10374
|
-
return q ? (Ue.info(
|
|
10375
|
-
let U = Fe($.cols[
|
|
10376
|
-
U = Dt(U, { recordSource: !1 }), $.cols.splice(
|
|
10389
|
+
return q ? (Ue.info(Re.i18nt("designer.hint.colspanNotConsistentForDeleteEntireColumn")), !1) : (_.forEach(($) => {
|
|
10390
|
+
let U = Fe($.cols[N]);
|
|
10391
|
+
U = Dt(U, { recordSource: !1 }), $.cols.splice(N + 1, 0, U);
|
|
10377
10392
|
}), !0);
|
|
10378
10393
|
}, V = (_) => {
|
|
10379
|
-
let
|
|
10380
|
-
return
|
|
10394
|
+
let N = _ || { cols: [] };
|
|
10395
|
+
return N = $e({ ...N, type: T.tableRow, id: "" }), N.merged = !1, _ ? N.cols.forEach((H) => {
|
|
10381
10396
|
ee(H);
|
|
10382
|
-
}) :
|
|
10397
|
+
}) : N.cols.push(ee()), N;
|
|
10383
10398
|
}, ee = (_) => {
|
|
10384
|
-
let
|
|
10385
|
-
return $e(
|
|
10399
|
+
let N = _ || Fe(it(T.tableCol));
|
|
10400
|
+
return $e(N), N.merged = !1, u(N, 1), i(N, 1), N.widgetList.length = 0, N;
|
|
10386
10401
|
}, ae = (_) => {
|
|
10387
|
-
let
|
|
10388
|
-
return $e(
|
|
10402
|
+
let N = _ || Fe(it(T.table));
|
|
10403
|
+
return $e(N), N;
|
|
10389
10404
|
};
|
|
10390
10405
|
return {
|
|
10391
10406
|
appendTableRow: d,
|
|
@@ -10405,18 +10420,18 @@ function po() {
|
|
|
10405
10420
|
initTableRow: V,
|
|
10406
10421
|
initTable: ae,
|
|
10407
10422
|
initCloneTable: (_) => {
|
|
10408
|
-
let
|
|
10423
|
+
let N = ae();
|
|
10409
10424
|
return Ce(_).rows.forEach((H) => {
|
|
10410
10425
|
let q = Ce(Fe(H));
|
|
10411
10426
|
$e(q), q.cols.forEach(($) => {
|
|
10412
10427
|
$e($), $.widgetList = [];
|
|
10413
|
-
}), Ce(
|
|
10414
|
-
}),
|
|
10428
|
+
}), Ce(N).rows.push(q);
|
|
10429
|
+
}), N;
|
|
10415
10430
|
},
|
|
10416
10431
|
isTable: (_) => (_ == null ? void 0 : _.type) === T.table
|
|
10417
10432
|
};
|
|
10418
10433
|
}
|
|
10419
|
-
function
|
|
10434
|
+
function yo() {
|
|
10420
10435
|
const t = () => {
|
|
10421
10436
|
let b = Ce(Fe(it(T.tabs)));
|
|
10422
10437
|
return b = $e(b), b;
|
|
@@ -10448,7 +10463,7 @@ function ho() {
|
|
|
10448
10463
|
deleteTabPaneOfTabs: (b, v) => {
|
|
10449
10464
|
var p;
|
|
10450
10465
|
if (((p = b.tabs) == null ? void 0 : p.length) === 1) {
|
|
10451
|
-
Ue.info(
|
|
10466
|
+
Ue.info(Re.i18nt("designer.hint.lastPaneCannotBeDeleted"));
|
|
10452
10467
|
return;
|
|
10453
10468
|
}
|
|
10454
10469
|
return b.tabs.splice(v, 1), !0;
|
|
@@ -10468,7 +10483,7 @@ function ho() {
|
|
|
10468
10483
|
isTabs: (b) => (b == null ? void 0 : b.type) === T.tabs
|
|
10469
10484
|
};
|
|
10470
10485
|
}
|
|
10471
|
-
function
|
|
10486
|
+
function mo() {
|
|
10472
10487
|
const t = () => {
|
|
10473
10488
|
let x = Ce(Fe(it(T.grid)));
|
|
10474
10489
|
return x = $e(x), x;
|
|
@@ -10508,7 +10523,7 @@ function yo() {
|
|
|
10508
10523
|
isGrid: (x) => (x == null ? void 0 : x.type) === T.grid
|
|
10509
10524
|
};
|
|
10510
10525
|
}
|
|
10511
|
-
function
|
|
10526
|
+
function wo() {
|
|
10512
10527
|
return {
|
|
10513
10528
|
initCloneContCell: (c) => {
|
|
10514
10529
|
let l = Fe(c);
|
|
@@ -10525,7 +10540,7 @@ function mo() {
|
|
|
10525
10540
|
isCont: (c) => (c == null ? void 0 : c.type) === T.cont
|
|
10526
10541
|
};
|
|
10527
10542
|
}
|
|
10528
|
-
class
|
|
10543
|
+
class vo {
|
|
10529
10544
|
constructor() {
|
|
10530
10545
|
/**
|
|
10531
10546
|
* 全局组件大小
|
|
@@ -10534,7 +10549,7 @@ class wo {
|
|
|
10534
10549
|
/**
|
|
10535
10550
|
* 布局类型
|
|
10536
10551
|
*/
|
|
10537
|
-
e(this, "layoutType",
|
|
10552
|
+
e(this, "layoutType", ra.PC);
|
|
10538
10553
|
/**
|
|
10539
10554
|
* JSON版本号
|
|
10540
10555
|
*/
|
|
@@ -10585,18 +10600,18 @@ class wo {
|
|
|
10585
10600
|
e(this, "schema", new a(s.dataObject, [{
|
|
10586
10601
|
protocal: An.URI,
|
|
10587
10602
|
name: Dn.urlParams,
|
|
10588
|
-
description:
|
|
10603
|
+
description: Re.i18nt("designer.hint.varibaleURL"),
|
|
10589
10604
|
isReadonly: !0
|
|
10590
10605
|
}, {
|
|
10591
10606
|
protocal: An.CONFIG,
|
|
10592
10607
|
name: Dn.compParams,
|
|
10593
|
-
description:
|
|
10608
|
+
description: Re.i18nt("designer.hint.varibaleConfig"),
|
|
10594
10609
|
isReadonly: !0
|
|
10595
10610
|
}]));
|
|
10596
10611
|
}
|
|
10597
10612
|
//字段扩展声明
|
|
10598
10613
|
}
|
|
10599
|
-
const
|
|
10614
|
+
const go = (t) => {
|
|
10600
10615
|
if (!t)
|
|
10601
10616
|
return null;
|
|
10602
10617
|
switch (t) {
|
|
@@ -10642,7 +10657,7 @@ const vo = (t) => {
|
|
|
10642
10657
|
default:
|
|
10643
10658
|
return null;
|
|
10644
10659
|
}
|
|
10645
|
-
},
|
|
10660
|
+
}, bo = (t) => {
|
|
10646
10661
|
if (!t)
|
|
10647
10662
|
return null;
|
|
10648
10663
|
var r = null;
|
|
@@ -10706,17 +10721,17 @@ const vo = (t) => {
|
|
|
10706
10721
|
r = null;
|
|
10707
10722
|
}
|
|
10708
10723
|
return r;
|
|
10709
|
-
},
|
|
10724
|
+
}, Eo = (t) => {
|
|
10710
10725
|
if (!t)
|
|
10711
10726
|
return null;
|
|
10712
|
-
var r =
|
|
10713
|
-
return r ?
|
|
10714
|
-
},
|
|
10727
|
+
var r = go(t);
|
|
10728
|
+
return r ? Co(r, 1, t) : null;
|
|
10729
|
+
}, Co = (t, r, i) => {
|
|
10715
10730
|
var u = {};
|
|
10716
10731
|
if (!t || (t == null ? void 0 : t.length) <= 0)
|
|
10717
10732
|
return u;
|
|
10718
10733
|
if (i) {
|
|
10719
|
-
var c =
|
|
10734
|
+
var c = bo(i);
|
|
10720
10735
|
if (c)
|
|
10721
10736
|
u = c;
|
|
10722
10737
|
else
|
|
@@ -10729,7 +10744,7 @@ const vo = (t) => {
|
|
|
10729
10744
|
};
|
|
10730
10745
|
function Pn(t, r) {
|
|
10731
10746
|
return {
|
|
10732
|
-
widgetTree: He(() =>
|
|
10747
|
+
widgetTree: He(() => Nn(Fr(t, r)))
|
|
10733
10748
|
};
|
|
10734
10749
|
}
|
|
10735
10750
|
function Ln(t, r) {
|
|
@@ -10762,7 +10777,7 @@ const Or = (t) => {
|
|
|
10762
10777
|
parentFormId: i
|
|
10763
10778
|
};
|
|
10764
10779
|
};
|
|
10765
|
-
function
|
|
10780
|
+
function No(t, r) {
|
|
10766
10781
|
const { widget: i } = t, { parentFormId: u } = Or(r), c = He(() => {
|
|
10767
10782
|
var p, w, A;
|
|
10768
10783
|
return Ce(pt((p = t.designer) == null ? void 0 : p.widgetList, r, ye.size, !1, t) || ((A = (w = t == null ? void 0 : t.designer) == null ? void 0 : w.pageConfig) == null ? void 0 : A.size));
|
|
@@ -10793,31 +10808,31 @@ function Lo(t, r) {
|
|
|
10793
10808
|
};
|
|
10794
10809
|
}
|
|
10795
10810
|
function Ro(t) {
|
|
10796
|
-
const r =
|
|
10797
|
-
t.widgetList = [], t.pageConfig = Fe(f),
|
|
10798
|
-
}, B = (
|
|
10799
|
-
var
|
|
10811
|
+
const r = ua(t), { initHistoryData: i, clearHistoryData: u, emitHistoryChange: c, saveCurrentHistoryStep: l, saveFormContentToStorage: d } = r, { initGridCol: x, isGrid: E } = mo(), { initContCell: b, isCont: v } = wo(), { initTabPane: p, getActiveTab: w, isTabs: A } = yo(), { initTableRow: g, isTable: D } = ho(), f = new vo(), P = (R = !0) => {
|
|
10812
|
+
t.widgetList = [], t.pageConfig = Fe(f), R || i();
|
|
10813
|
+
}, B = (R) => {
|
|
10814
|
+
var z, we;
|
|
10800
10815
|
let I = t.widgetList.length === 0;
|
|
10801
|
-
(we = t.widgetList) == null || we.splice(0, (
|
|
10802
|
-
}, O = (
|
|
10803
|
-
t.pageWidget =
|
|
10804
|
-
}, h = (
|
|
10805
|
-
|
|
10816
|
+
(we = t.widgetList) == null || we.splice(0, (z = t.widgetList) == null ? void 0 : z.length), t.pageConfig = f, U(), u(), R || (I ? l("clearDesigner") : c("clearDesigner"));
|
|
10817
|
+
}, O = (R) => {
|
|
10818
|
+
t.pageWidget = R;
|
|
10819
|
+
}, h = (R) => po(t.widgetList, R), y = (R, I) => {
|
|
10820
|
+
R && c(I);
|
|
10806
10821
|
}, S = () => ({
|
|
10807
10822
|
widgetList: [],
|
|
10808
|
-
pageConfig:
|
|
10823
|
+
pageConfig: Wt(f)
|
|
10809
10824
|
}), F = () => ({
|
|
10810
|
-
widgetList:
|
|
10811
|
-
pageConfig:
|
|
10812
|
-
}), V = (
|
|
10825
|
+
widgetList: Wt(t.widgetList),
|
|
10826
|
+
pageConfig: Wt(t.pageConfig)
|
|
10827
|
+
}), V = (R) => {
|
|
10813
10828
|
let I = !1;
|
|
10814
|
-
return B(),
|
|
10815
|
-
}, ee = (
|
|
10816
|
-
t && (t.cssClassList =
|
|
10817
|
-
}, ae = () => t == null ? void 0 : t.cssClassList, J = (
|
|
10818
|
-
a.getValue(t.pageConfig.cssCode) === "" &&
|
|
10819
|
-
}, Q = (
|
|
10820
|
-
var
|
|
10829
|
+
return B(), R && R.widgetList && (t.widgetList = R.widgetList, I = !0), R && R.pageConfig && (ht(t.pageConfig, R.pageConfig), I = !0), I && N(qn.pageJsonImported, []), I;
|
|
10830
|
+
}, ee = (R) => {
|
|
10831
|
+
t && (t.cssClassList = R);
|
|
10832
|
+
}, ae = () => t == null ? void 0 : t.cssClassList, J = (R) => {
|
|
10833
|
+
a.getValue(t.pageConfig.cssCode) === "" && R && a.setValue(t.pageConfig, "cssCode", R);
|
|
10834
|
+
}, Q = (R = !1, I) => Fr(t.widgetList, R, I), _ = () => {
|
|
10835
|
+
var R = Q(!1, (se) => !!(se != null && se.formItemFlag));
|
|
10821
10836
|
const I = (se, he) => {
|
|
10822
10837
|
[
|
|
10823
10838
|
T.page,
|
|
@@ -10834,124 +10849,124 @@ function Ro(t) {
|
|
|
10834
10849
|
T.contCell
|
|
10835
10850
|
].includes(he == null ? void 0 : he.type) || he != null && he.label && (se == null || se.push((he == null ? void 0 : he.label) || "")), he != null && he.parent && I(se, he.parent);
|
|
10836
10851
|
};
|
|
10837
|
-
let
|
|
10852
|
+
let z = [];
|
|
10838
10853
|
const we = (se) => {
|
|
10839
10854
|
se == null || se.forEach((he) => {
|
|
10840
10855
|
if (he.matched) {
|
|
10841
10856
|
const ie = [];
|
|
10842
10857
|
I(ie, he), he.label = ie.reverse().join(".");
|
|
10843
10858
|
const fe = Object.assign({}, he);
|
|
10844
|
-
delete fe.children, delete fe.parent,
|
|
10859
|
+
delete fe.children, delete fe.parent, z.push(fe);
|
|
10845
10860
|
}
|
|
10846
10861
|
we(he.children);
|
|
10847
10862
|
});
|
|
10848
10863
|
};
|
|
10849
|
-
return we(
|
|
10850
|
-
},
|
|
10851
|
-
On.$emit(
|
|
10852
|
-
}, H = (
|
|
10853
|
-
On.$on(
|
|
10854
|
-
}, q = (
|
|
10855
|
-
|
|
10856
|
-
}, $ = (
|
|
10857
|
-
if (!
|
|
10864
|
+
return we(R), z;
|
|
10865
|
+
}, N = (R, I) => {
|
|
10866
|
+
On.$emit(R, I);
|
|
10867
|
+
}, H = (R, I) => {
|
|
10868
|
+
On.$on(R, (z) => I(z));
|
|
10869
|
+
}, q = (R, I, z) => {
|
|
10870
|
+
R && (z && Et(R.options, "label") ? ue.setOptions(R, "label", z) : z && Et(R.options, "content") && ue.setOptions(R, "content", z));
|
|
10871
|
+
}, $ = (R) => {
|
|
10872
|
+
if (!R) {
|
|
10858
10873
|
U();
|
|
10859
10874
|
return;
|
|
10860
10875
|
}
|
|
10861
|
-
t.selectedWidget =
|
|
10876
|
+
t.selectedWidget = R;
|
|
10862
10877
|
}, U = () => {
|
|
10863
10878
|
t.selectedWidget = void 0;
|
|
10864
|
-
},
|
|
10865
|
-
const we =
|
|
10866
|
-
se && $(se), c(`drag add ${se == null ? void 0 : se.id}`),
|
|
10867
|
-
}, Y = (
|
|
10868
|
-
}, de = (
|
|
10869
|
-
c("drag update"),
|
|
10870
|
-
}, Ae = (
|
|
10871
|
-
c("drag remove"),
|
|
10872
|
-
}, L = (
|
|
10879
|
+
}, W = (R, I, z) => {
|
|
10880
|
+
const we = R == null ? void 0 : R.newIndex, se = I == null ? void 0 : I[we];
|
|
10881
|
+
se && $(se), c(`drag add ${se == null ? void 0 : se.id}`), z == null || z(I);
|
|
10882
|
+
}, Y = (R, I) => {
|
|
10883
|
+
}, de = (R, I, z) => {
|
|
10884
|
+
c("drag update"), z == null || z(I);
|
|
10885
|
+
}, Ae = (R, I, z) => {
|
|
10886
|
+
c("drag remove"), z == null || z(I);
|
|
10887
|
+
}, L = (R) => !0, j = (R) => {
|
|
10873
10888
|
var we, se;
|
|
10874
|
-
let I = Ce(Fe(
|
|
10889
|
+
let I = Ce(Fe(R));
|
|
10875
10890
|
if (!I)
|
|
10876
10891
|
return null;
|
|
10877
10892
|
if (I.id = ue.newId(I.type), Mt(I, ye.name) && ue.setOptions(I, ye.name, I.id), Mt(I, ye.label) && ue.setOptions(I, ye.label, ue.getOptions(I, "label") || ((we = I.type) == null ? void 0 : we.toLowerCase())), Mt(I, ye.content) && ue.setOptions(I, ye.content, ue.getOptions(I, "content") || ((se = I.type) == null ? void 0 : se.toLowerCase())), Mt(I, ye.optionItems) && (I == null ? void 0 : I.type) !== T.image) {
|
|
10878
|
-
var
|
|
10879
|
-
|
|
10893
|
+
var z = a.getValue(ue.getOrgOption(I, ye.optionItems));
|
|
10894
|
+
z == null || z.splice(1, 0, Eo(I.type)), a.setValue(I == null ? void 0 : I.options, ye.optionItems, z);
|
|
10880
10895
|
}
|
|
10881
10896
|
return I;
|
|
10882
|
-
}, K = (
|
|
10897
|
+
}, K = (R) => {
|
|
10883
10898
|
var we, se, he;
|
|
10884
|
-
let I = j(
|
|
10899
|
+
let I = j(R);
|
|
10885
10900
|
if (!I)
|
|
10886
10901
|
return;
|
|
10887
|
-
let
|
|
10888
|
-
t.selectedWidget && (A(t.selectedWidget) ?
|
|
10889
|
-
}, ge = (
|
|
10890
|
-
var
|
|
10891
|
-
if (
|
|
10892
|
-
if (
|
|
10893
|
-
Ue.info(
|
|
10902
|
+
let z = t.widgetList;
|
|
10903
|
+
t.selectedWidget && (A(t.selectedWidget) ? z = (we = w(Ce(t.selectedWidget))) == null ? void 0 : we.widgetList : (se = Ce(t.selectedWidget)) != null && se.widgetList && (z = (he = t.selectedWidget) == null ? void 0 : he.widgetList)), z == null || z.push(I), $(I), c(`addFieldByDbClick ${R == null ? void 0 : R.id}`);
|
|
10904
|
+
}, ge = (R, I) => {
|
|
10905
|
+
var z = Le(R, I);
|
|
10906
|
+
if (R) {
|
|
10907
|
+
if (z === 0) {
|
|
10908
|
+
Ue.info(Re.i18nt("designer.hint.moveUpFirstChildHint"));
|
|
10894
10909
|
return;
|
|
10895
10910
|
}
|
|
10896
|
-
let we =
|
|
10897
|
-
|
|
10911
|
+
let we = R[z];
|
|
10912
|
+
R.splice(z, 1), R.splice(z - 1, 0, we);
|
|
10898
10913
|
}
|
|
10899
10914
|
c(`moveUpWidget ${I == null ? void 0 : I.id}`);
|
|
10900
|
-
}, Oe = (
|
|
10901
|
-
var
|
|
10902
|
-
if (
|
|
10903
|
-
if (
|
|
10904
|
-
Ue.info(
|
|
10915
|
+
}, Oe = (R, I) => {
|
|
10916
|
+
var z = Le(R, I);
|
|
10917
|
+
if (R) {
|
|
10918
|
+
if (z === R.length - 1) {
|
|
10919
|
+
Ue.info(Re.i18nt("designer.hint.moveDownLastChildHint"));
|
|
10905
10920
|
return;
|
|
10906
10921
|
}
|
|
10907
|
-
let we =
|
|
10908
|
-
|
|
10922
|
+
let we = R[z];
|
|
10923
|
+
R.splice(z, 1), R.splice(z + 1, 0, we);
|
|
10909
10924
|
}
|
|
10910
10925
|
c(`moveDownWidget ${I == null ? void 0 : I.id}`);
|
|
10911
|
-
}, ce = (
|
|
10926
|
+
}, ce = (R) => {
|
|
10912
10927
|
var we, se, he, ie, fe, je, re, Se, Z, ke;
|
|
10913
|
-
let I = null,
|
|
10914
|
-
if (E(
|
|
10915
|
-
I = Ce(
|
|
10916
|
-
else if (v(
|
|
10917
|
-
I = Ce(
|
|
10928
|
+
let I = null, z = Fe(R);
|
|
10929
|
+
if (E(R))
|
|
10930
|
+
I = Ce(z), (we = I.cols) == null || we.push(x()), (se = I.cols) == null || se.push(x());
|
|
10931
|
+
else if (v(R)) {
|
|
10932
|
+
I = Ce(z);
|
|
10918
10933
|
const ct = b(rt.container);
|
|
10919
10934
|
(he = ct.children) == null || he.push(b(rt.header));
|
|
10920
10935
|
let Me = b(rt.container, { direction: Ye.horizontal });
|
|
10921
10936
|
(ie = Me.children) == null || ie.push(b(rt.aside, { cellWidth: new a(s.placer, "20%") })), (fe = Me.children) == null || fe.push(b(rt.main, { cellWidth: new a(s.placer, "80%") })), (je = ct.children) == null || je.push(Me), (re = ct.children) == null || re.push(b(rt.footer)), (Se = I.cols) == null || Se.push(ct);
|
|
10922
10937
|
} else
|
|
10923
|
-
D(
|
|
10938
|
+
D(R) ? (I = Ce(z), (Z = I.rows) == null || Z.push(g())) : A(R) ? (I = Ce(z), (ke = I.tabs) == null || ke.push(p(void 0, !0))) : I = Ce(z);
|
|
10924
10939
|
return I.id = ue.newId(I.type), ue.setName(I, I.id), I;
|
|
10925
|
-
}, me = (
|
|
10926
|
-
let I = ce(
|
|
10927
|
-
t.widgetList.push(I), $(I), c(`addContainerByDbClick ${
|
|
10928
|
-
}, be = (
|
|
10929
|
-
var
|
|
10930
|
-
if (
|
|
10931
|
-
|
|
10932
|
-
var we = Le(I,
|
|
10933
|
-
return I == null || I.splice(we + 1, 0,
|
|
10940
|
+
}, me = (R) => {
|
|
10941
|
+
let I = ce(R);
|
|
10942
|
+
t.widgetList.push(I), $(I), c(`addContainerByDbClick ${R == null ? void 0 : R.id}`);
|
|
10943
|
+
}, be = (R, I) => {
|
|
10944
|
+
var z = null;
|
|
10945
|
+
if (R) {
|
|
10946
|
+
z = Dt(R, { recordSource: !1 });
|
|
10947
|
+
var we = Le(I, R);
|
|
10948
|
+
return I == null || I.splice(we + 1, 0, z), $(z), c(`cloneWidget ${R == null ? void 0 : R.id}`), z;
|
|
10934
10949
|
}
|
|
10935
|
-
}, De = (
|
|
10936
|
-
var we = Le(
|
|
10937
|
-
if (
|
|
10950
|
+
}, De = (R, I, z) => {
|
|
10951
|
+
var we = Le(z, R);
|
|
10952
|
+
if (z) {
|
|
10938
10953
|
let se = null;
|
|
10939
|
-
|
|
10940
|
-
|
|
10954
|
+
z.length === 1 ? I && (se = I) : z.length === 1 + we ? se = z[we - 1] : se = z[we + 1], pi(() => {
|
|
10955
|
+
z.splice(we, 1), $(se), c(`removeWidget ${R == null ? void 0 : R.id}`);
|
|
10941
10956
|
});
|
|
10942
10957
|
}
|
|
10943
|
-
}, Le = (
|
|
10944
|
-
t && ($(
|
|
10945
|
-
}, gt = (
|
|
10946
|
-
|
|
10947
|
-
}, st = (
|
|
10958
|
+
}, Le = (R, I) => !I || !R ? -1 : R == null ? void 0 : R.indexOf(I), Ze = (R, I, z) => {
|
|
10959
|
+
t && ($(R), N(sa.fieldSelected, I));
|
|
10960
|
+
}, gt = (R) => {
|
|
10961
|
+
R ? $(R) : U();
|
|
10962
|
+
}, st = (R) => {
|
|
10948
10963
|
var se;
|
|
10949
|
-
const { widgetTree: I } = Pn(t.widgetList, !0), { pathNodes:
|
|
10950
|
-
return (se =
|
|
10951
|
-
}, ot = (
|
|
10964
|
+
const { widgetTree: I } = Pn(t.widgetList, !0), { pathNodes: z } = Ln(I.value, R);
|
|
10965
|
+
return (se = z.value) == null ? void 0 : se[1].widget;
|
|
10966
|
+
}, ot = (R) => {
|
|
10952
10967
|
var se, he, ie;
|
|
10953
|
-
const { widgetTree: I } = Pn(t.widgetList, !0), { pathNodes:
|
|
10954
|
-
return ((ie = (he = (se =
|
|
10968
|
+
const { widgetTree: I } = Pn(t.widgetList, !0), { pathNodes: z } = Ln(I.value, R);
|
|
10969
|
+
return ((ie = (he = (se = z.value) == null ? void 0 : se[1]) == null ? void 0 : he.widget) == null ? void 0 : ie.widgetList) || t.widgetList;
|
|
10955
10970
|
};
|
|
10956
10971
|
return {
|
|
10957
10972
|
...r,
|
|
@@ -10967,25 +10982,25 @@ function Ro(t) {
|
|
|
10967
10982
|
addFieldByDbClick: K,
|
|
10968
10983
|
selectWidget: Ze,
|
|
10969
10984
|
removeSelectedWidget: () => {
|
|
10970
|
-
const
|
|
10971
|
-
if (!
|
|
10985
|
+
const R = t.selectedWidget;
|
|
10986
|
+
if (!R)
|
|
10972
10987
|
return !1;
|
|
10973
|
-
if (
|
|
10974
|
-
return Ue.info(
|
|
10975
|
-
const I = st(
|
|
10976
|
-
return De(
|
|
10988
|
+
if (R != null && R.internal)
|
|
10989
|
+
return Ue.info(Re.i18nt("designer.hint.currentNodeCannotBeSelected")), !1;
|
|
10990
|
+
const I = st(R), z = ot(R);
|
|
10991
|
+
return De(R, I, z), !0;
|
|
10977
10992
|
},
|
|
10978
10993
|
cloneSelectedWidget: () => {
|
|
10979
|
-
var
|
|
10980
|
-
if ((
|
|
10981
|
-
Ue.info(
|
|
10994
|
+
var R;
|
|
10995
|
+
if ((R = t.selectedWidget) != null && R.internal) {
|
|
10996
|
+
Ue.info(Re.i18nt("designer.hint.currentNodeCannotBeSelected"));
|
|
10982
10997
|
return;
|
|
10983
10998
|
}
|
|
10984
10999
|
return t.selectedWidget;
|
|
10985
11000
|
},
|
|
10986
|
-
pasteSelectedWidget: (
|
|
10987
|
-
const I = t.selectedWidget,
|
|
10988
|
-
return be(
|
|
11001
|
+
pasteSelectedWidget: (R) => {
|
|
11002
|
+
const I = t.selectedWidget, z = ot(I);
|
|
11003
|
+
return be(R, z), !0;
|
|
10989
11004
|
},
|
|
10990
11005
|
selectParentWidget: gt,
|
|
10991
11006
|
moveUpWidget: ge,
|
|
@@ -10993,14 +11008,14 @@ function Ro(t) {
|
|
|
10993
11008
|
cloneWidget: be,
|
|
10994
11009
|
removeWidget: De,
|
|
10995
11010
|
checkWidgetMove: L,
|
|
10996
|
-
onWidgetDragAdd:
|
|
11011
|
+
onWidgetDragAdd: W,
|
|
10997
11012
|
onWidgetDragEnd: Y,
|
|
10998
11013
|
onWidgetDragUpdate: de,
|
|
10999
11014
|
onWidgetDragRemove: Ae,
|
|
11000
11015
|
setCssClassList: ee,
|
|
11001
11016
|
getCssClassList: ae,
|
|
11002
11017
|
getImportTemplate: S,
|
|
11003
|
-
emitEvent:
|
|
11018
|
+
emitEvent: N,
|
|
11004
11019
|
handleEvent: H,
|
|
11005
11020
|
loadPageJson: V,
|
|
11006
11021
|
getPageJson: F,
|
|
@@ -11011,10 +11026,10 @@ function Ro(t) {
|
|
|
11011
11026
|
findToRootFromNode: Xt,
|
|
11012
11027
|
buildFormItemList: _,
|
|
11013
11028
|
emitHistoryChangeAfter: y,
|
|
11014
|
-
watchPropAndSaveHistory: (
|
|
11015
|
-
|
|
11029
|
+
watchPropAndSaveHistory: (R) => {
|
|
11030
|
+
R && di(() => {
|
|
11016
11031
|
var I;
|
|
11017
|
-
return (I = t == null ? void 0 : t.selectedWidget) == null ? void 0 : I[
|
|
11032
|
+
return (I = t == null ? void 0 : t.selectedWidget) == null ? void 0 : I[R];
|
|
11018
11033
|
}, (I) => {
|
|
11019
11034
|
d();
|
|
11020
11035
|
}, { deep: !0 });
|
|
@@ -11023,21 +11038,21 @@ function Ro(t) {
|
|
|
11023
11038
|
}
|
|
11024
11039
|
export {
|
|
11025
11040
|
Ro as a,
|
|
11026
|
-
|
|
11027
|
-
|
|
11028
|
-
|
|
11029
|
-
|
|
11041
|
+
ho as b,
|
|
11042
|
+
Lo as c,
|
|
11043
|
+
_o as d,
|
|
11044
|
+
ua as e,
|
|
11030
11045
|
un as f,
|
|
11031
|
-
|
|
11046
|
+
Po as g,
|
|
11032
11047
|
Mt as h,
|
|
11033
11048
|
Pn as i,
|
|
11034
11049
|
Ln as j,
|
|
11035
|
-
|
|
11036
|
-
|
|
11037
|
-
|
|
11050
|
+
No as k,
|
|
11051
|
+
Io as l,
|
|
11052
|
+
To as m,
|
|
11038
11053
|
ut as n,
|
|
11039
|
-
|
|
11054
|
+
co as o,
|
|
11040
11055
|
Dt as r,
|
|
11041
11056
|
Ar as t,
|
|
11042
|
-
|
|
11057
|
+
yo as u
|
|
11043
11058
|
};
|