hlrender 0.0.210 → 0.0.211
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-7b31f745.js → _pdf-950315c8.js} +6 -6
- package/{_txt-761bd6b8.js → _txt-286f46b9.js} +6 -6
- package/{_unsupport-be896e74.js → _unsupport-746c0af7.js} +1 -1
- package/{affix-widget-a27d381f.js → affix-widget-fcbcc191.js} +16 -16
- package/{alert-widget-608a4c9b.js → alert-widget-bec0b7ad.js} +16 -16
- package/{anchor-widget-ce1d4169.js → anchor-widget-a8a6a548.js} +13 -13
- package/{auto-complete-widget-75413fc6.js → auto-complete-widget-29502ed4.js} +16 -16
- package/{avatar-widget-dc3a6b58.js → avatar-widget-9a0c930d.js} +16 -16
- package/{backtop-widget-ac9b4594.js → backtop-widget-3699e512.js} +16 -16
- package/{badge-widget-13db4e74.js → badge-widget-df5d1c8f.js} +16 -16
- package/{barcode-widget-554da648.js → barcode-widget-a86f7b66.js} +13 -13
- package/{baseImp-6af978c3.js → baseImp-052ca3fa.js} +7 -8
- package/{breadcrumb-widget-f3fa81bd.js → breadcrumb-widget-c4ce91d9.js} +13 -13
- package/{button-widget-71e6efb8.js → button-widget-bb317885.js} +16 -16
- package/{cache-widget-950801c4.js → cache-widget-4b4e7ba7.js} +15 -15
- package/{card-widget-c1a75b28.js → card-widget-a6262a85.js} +14 -14
- package/carousel-widget-419120ff.js +73 -0
- package/{cascader-widget-713c3252.js → cascader-widget-cf37c7fc.js} +15 -15
- package/chart-widget-1fd2a719.js +87 -0
- package/{checkbox-widget-c5addadc.js → checkbox-widget-7fa1e175.js} +15 -15
- package/collapse-widget-891eba0d.js +91 -0
- package/{color-picker-widget-b62007c1.js → color-picker-widget-ba1c06ef.js} +15 -15
- package/{cont-cell-widget-f2bc9dee.js → cont-cell-widget-d7d8773a.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-d670e895.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-4b86dd97.js} +5 -5
- package/{cont-widget-2dd7b49a.js → cont-widget-068f3bee.js} +5 -5
- package/{content-wrapper-df13af9e.js → content-wrapper-85d33270.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-b34bf827.js → content-wrapper.vue_vue_type_script_setup_true_lang-bc3a21dd.js} +3 -3
- package/{date-picker-range-widget-fd96b715.js → date-picker-range-widget-3cb108d3.js} +15 -15
- package/{date-picker-widget-71bcafbd.js → date-picker-widget-2be721eb.js} +15 -15
- package/default-slot-widget-af6f4acc.js +26 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-c59bd84e.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-32b9457b.js} +7 -7
- package/{descriptions-widget-9d7522e6.js → descriptions-widget-141ad132.js} +14 -14
- package/{dialog-48147b3c.js → dialog-1518e61e.js} +2 -2
- package/{dialog-widget-79d78ce2.js → dialog-widget-40258e62.js} +15 -15
- package/{divider-widget-9703cc2f.js → divider-widget-fe54488a.js} +16 -16
- package/{drag-wrapper-1006bc1a.js → drag-wrapper-524118f0.js} +7 -7
- package/{drawer-widget-cb78aa71.js → drawer-widget-f1300e07.js} +15 -15
- package/{dropdown-widget-545a36db.js → dropdown-widget-8e4b8c90.js} +14 -14
- package/{empty-widget-ed321b1d.js → empty-widget-6013a4b5.js} +16 -16
- package/{enum-type-5fc48be3.js → enum-type-ab0bcdca.js} +1 -1
- package/{enum-type-9b7b06fd.js → enum-type-cbb32b79.js} +125 -119
- package/{expression-0953e6ca.js → expression-c75e887a.js} +3 -3
- package/feedback-widget-4c700fd9.js +26 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-13bbe8e9.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-9ca69dfd.js} +5 -5
- package/{fieldobj-39e632fe.js → fieldobj-5b1575ea.js} +1 -1
- package/{file-upload-widget-2839c52d.js → file-upload-widget-fa50c91d.js} +20 -20
- package/{form-item-wrapper-1e795c53.js → form-item-wrapper-c7b3d474.js} +11 -11
- package/{form-widget-887dec4a.js → form-widget-a691a694.js} +10 -10
- package/{grid-col-widget-76fd65b3.js → grid-col-widget-82889b19.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-306391f3.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-219973ab.js} +5 -5
- package/{grid-widget-5b779b68.js → grid-widget-781cb805.js} +5 -5
- package/{html-text-widget-6bcc7935.js → html-text-widget-230433cd.js} +14 -14
- package/{icon-widget-f8bd6550.js → icon-widget-ca269bd0.js} +13 -13
- package/{iframe-widget-d59c098d.js → iframe-widget-42bd4a40.js} +13 -13
- package/{image-widget-7552b345.js → image-widget-5d3e3745.js} +13 -13
- package/{index-afa118cb.js → index-30dc9e2f.js} +1 -1
- package/{index-dc41b25c.js → index-608942ad.js} +583 -563
- package/{index-eda67d42.js → index-779896bb.js} +4 -4
- package/{input-number-widget-e1152415.js → input-number-widget-af7b6e71.js} +15 -15
- package/{input-widget-703b2503.js → input-widget-e64ea76a.js} +16 -16
- package/{label-wrapper-9fa217cc.js → label-wrapper-c86fd517.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-212a221d.js → label-wrapper.vue_vue_type_style_index_0_lang-142ee83d.js} +3 -3
- package/{link-widget-af1946d6.js → link-widget-0cb0adf5.js} +16 -16
- package/{ltable-col-widget-cd57522e.js → ltable-col-widget-6902f3d1.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-d8a24757.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-c74477fb.js} +9 -9
- package/{ltable-widget-225e34f4.js → ltable-widget-4e908228.js} +5 -5
- package/{menu-widget-105cdb95.js → menu-widget-7ed8a1d8.js} +14 -14
- package/{model-widget-d1b2a1cf.js → model-widget-42fd0df7.js} +13 -13
- package/{multirow-f060a97e.js → multirow-a6eb38d2.js} +6 -6
- package/{multirow-widget-23a65dca.js → multirow-widget-106c39d0.js} +15 -15
- package/package.json +1 -1
- package/{pagination-widget-26e81d24.js → pagination-widget-7f8c7030.js} +13 -13
- package/{picture-upload-widget-e5a376ca.js → picture-upload-widget-e3baa826.js} +16 -16
- package/{progress-widget-461fa093.js → progress-widget-b3e08291.js} +14 -14
- package/{qrcode-widget-62bc94b1.js → qrcode-widget-ab1e712c.js} +13 -13
- package/{radio-widget-35a4cf28.js → radio-widget-09060fda.js} +15 -15
- package/{range-widget-5ec90044.js → range-widget-599a89dc.js} +16 -16
- package/{rate-widget-39dd1702.js → rate-widget-5c0a71ba.js} +15 -15
- package/render.es.js +32 -32
- package/render.style.css +1 -1
- package/render.umd.js +239 -239
- package/{result-widget-c0e27c4a.js → result-widget-4836d7f5.js} +14 -14
- package/{rich-editor-widget-1bbc2c7d.js → rich-editor-widget-db67ed50.js} +15 -15
- package/{router-widget-cb64ad20.js → router-widget-5ca47172.js} +13 -13
- package/{select-widget-700ecefb.js → select-widget-7f010c5a.js} +15 -15
- package/{sfc-6146205d.js → sfc-91ea43b3.js} +8 -8
- package/{sfcview-8a13cf9e.js → sfcview-e6bf75d1.js} +7 -7
- package/{share-field-970c4072.js → share-field-2c91c11b.js} +8 -8
- package/{share-file-c44cc52c.js → share-file-c1a3abc1.js} +6 -6
- package/{slider-widget-e96cced2.js → slider-widget-54f31d97.js} +15 -15
- package/{slot-c57ca8dc.js → slot-931a9a39.js} +3 -3
- package/{static-text-widget-eacdb5b5.js → static-text-widget-4672e986.js} +14 -14
- package/{steps-widget-b90dbc1e.js → steps-widget-7ccae5ad.js} +13 -13
- package/{subMenu-widget-eb41af47.js → subMenu-widget-77844297.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-1c7e98f8.js → subMenu-widget.vue_vue_type_script_setup_true_lang-8d6aded8.js} +3 -3
- package/{switch-widget-d4deff5e.js → switch-widget-5e998abb.js} +15 -15
- package/{tab-pane-widget-3bbcd442.js → tab-pane-widget-dd0470be.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-985fe319.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-afef383e.js} +5 -5
- package/table-col-widget-4a312c86.js +22 -0
- package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-4ebe9ebd.js +107 -0
- package/table-widget-e9178b8d.js +312 -0
- package/{tabs-widget-06fcc885.js → tabs-widget-151a70d8.js} +7 -7
- package/{tag-widget-3fc4bbca.js → tag-widget-2b1fcd07.js} +16 -16
- package/{text-widget-49574f2a.js → text-widget-58c789aa.js} +16 -16
- package/{textarea-widget-94da75fb.js → textarea-widget-da29adcf.js} +15 -15
- package/{time-picker-range-widget-55007e8b.js → time-picker-range-widget-54b63498.js} +15 -15
- package/{time-picker-widget-4741898b.js → time-picker-widget-6b095b40.js} +15 -15
- package/{time-select-widget-8d9013ed.js → time-select-widget-2cc97b54.js} +15 -15
- package/{tmpl-widget-57c02ff4.js → tmpl-widget-79fdfbdd.js} +14 -14
- package/{tree-select-widget-63c01f05.js → tree-select-widget-09122cf9.js} +15 -15
- package/{tree-widget-3d0c40d8.js → tree-widget-84300c29.js} +13 -13
- package/{uuid-f48611de.js → uuid-6875626e.js} +1 -1
- package/{verifycode-widget-6b66824e.js → verifycode-widget-4cfebcad.js} +13 -13
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c6d8d6a5.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d172ac58.js} +7 -7
- package/wrapper-widget-4cbbd100.js +84 -0
- package/carousel-widget-c6532beb.js +0 -75
- package/chart-widget-5c6ab1eb.js +0 -80
- package/collapse-widget-1c080c3e.js +0 -89
- package/default-slot-widget-19085177.js +0 -26
- package/feedback-widget-70e09abc.js +0 -26
- package/propresult-b950a881.js +0 -22
- package/table-col-widget-01e2e62d.js +0 -22
- package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-5c097dc4.js +0 -91
- package/table-widget-2f0d771d.js +0 -305
- package/wrapper-widget-fc088664.js +0 -84
|
@@ -1,12 +1,12 @@
|
|
|
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
|
|
4
|
+
import { r as Rt, d as ht, f as En, E as Fe, B as fe, o as Jt, c as Ce, z as Et, e as Re, K as Wt } from "./enum-type-cbb32b79.js";
|
|
5
5
|
import { reactive as Nn, computed as He, nextTick as pi, watch as di } from "vue";
|
|
6
|
-
import { m as hi, g as
|
|
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
|
|
9
|
-
import { b as
|
|
6
|
+
import { m as hi, g as St } from "./uuid-6875626e.js";
|
|
7
|
+
import { c as T, C as s, F as mi, I as yi, R as wi, g as vi, h as gi, i as Ot, D as yt, T as Rn, j as kt, k as bi, l as Ei, m as Ci, n as xi, o as Ai, p as Ye, q as Fi, r as Ge, s as Di, L as Mn, t as Si, u as Qt, v as jn, w as Un, x as Oi, y as Yt, B as ki, H as Ct, z as Bi, A as _i, G as Ti, J as Ii, K as Pi, M as Hn, N as Li, Q as Ni, U as Ri, X as Mi, Y as ji, Z as Ui, _ as Hi, $ as Cn, a0 as $i, a1 as Wi, a2 as zi, a3 as Ki, a4 as Gi, a5 as Vi, a6 as rt, a7 as $n, a8 as qi, a9 as xn, aa as Xi, ab as Ji, ac as Qi, ad as Yi, ae as Zi, d as Zt, e as ea, af as ta, ag as na, P as An } from "./enum-type-ab0bcdca.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 Bt, m as de, n as Ke, o as ra, p as Wn, q as _t, r as Xe, E as ia, t as zn, v as Kn, w as en, x as tn, B as ue, y as Mt, f as Ue, T as Gn, z as Vn } from "./baseImp-052ca3fa.js";
|
|
9
|
+
import { b as me, r as Fn, p as qn, d as Dn, f as aa } from "./expression-c75e887a.js";
|
|
10
10
|
import { c as Sn } from "./_commonjsHelpers-e7ea1525.js";
|
|
11
11
|
function sa(t) {
|
|
12
12
|
return t = t || /* @__PURE__ */ Object.create(null), {
|
|
@@ -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
|
+
Rt.set(u, t.widgetList), Rt.set(c, t.pageConfig);
|
|
99
99
|
}, P = () => {
|
|
100
|
-
let B =
|
|
100
|
+
let B = Rt.get(u);
|
|
101
101
|
B && ht(t.widgetList, En(B));
|
|
102
|
-
let O =
|
|
102
|
+
let O = Rt.get(c);
|
|
103
103
|
O && ht(t.pageConfig, En(O));
|
|
104
104
|
};
|
|
105
105
|
return {
|
|
@@ -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
|
*/
|
|
@@ -154,7 +154,7 @@ class la extends Ve {
|
|
|
154
154
|
/**
|
|
155
155
|
* 组件类型
|
|
156
156
|
*/
|
|
157
|
-
e(this, "type",
|
|
157
|
+
e(this, "type", yi.text);
|
|
158
158
|
/**
|
|
159
159
|
* 最小长度
|
|
160
160
|
*/
|
|
@@ -358,7 +358,7 @@ class pa extends Ve {
|
|
|
358
358
|
/**
|
|
359
359
|
* 菜单弹出位置
|
|
360
360
|
*/
|
|
361
|
-
e(this, "placement",
|
|
361
|
+
e(this, "placement", Ot.bottomStart);
|
|
362
362
|
/**
|
|
363
363
|
* 是否在输入时显示建议选项
|
|
364
364
|
*/
|
|
@@ -415,13 +415,13 @@ 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 da extends
|
|
418
|
+
class da extends Bt {
|
|
419
419
|
constructor() {
|
|
420
420
|
super(...arguments);
|
|
421
421
|
/**
|
|
422
422
|
* 显示样式
|
|
423
423
|
*/
|
|
424
|
-
e(this, "displayStyle", new a(s.placer,
|
|
424
|
+
e(this, "displayStyle", new a(s.placer, yt.inline));
|
|
425
425
|
/**
|
|
426
426
|
* 是否显示为按钮
|
|
427
427
|
*/
|
|
@@ -473,7 +473,7 @@ class da extends kt {
|
|
|
473
473
|
/**
|
|
474
474
|
* 下属选项
|
|
475
475
|
*/
|
|
476
|
-
e(this, "optionItems", new a(s.singleOption, [], new
|
|
476
|
+
e(this, "optionItems", new a(s.singleOption, [], new de({ type: fe.array, enable: !0 })));
|
|
477
477
|
/**
|
|
478
478
|
* 关联选项设置
|
|
479
479
|
*/
|
|
@@ -493,7 +493,7 @@ class Xn extends Ke {
|
|
|
493
493
|
e(this, "disabled", !1);
|
|
494
494
|
}
|
|
495
495
|
}
|
|
496
|
-
class ha extends
|
|
496
|
+
class ha extends Bt {
|
|
497
497
|
constructor() {
|
|
498
498
|
super(...arguments);
|
|
499
499
|
/**
|
|
@@ -511,7 +511,7 @@ class ha extends kt {
|
|
|
511
511
|
/**
|
|
512
512
|
* 显示样式
|
|
513
513
|
*/
|
|
514
|
-
e(this, "displayStyle", new a(s.placer,
|
|
514
|
+
e(this, "displayStyle", new a(s.placer, yt.inline));
|
|
515
515
|
/**
|
|
516
516
|
* 是否显示为按钮
|
|
517
517
|
*/
|
|
@@ -567,7 +567,7 @@ class ha extends kt {
|
|
|
567
567
|
/**
|
|
568
568
|
* 下属选项
|
|
569
569
|
*/
|
|
570
|
-
e(this, "optionItems", new a(s.singleOption, [], new
|
|
570
|
+
e(this, "optionItems", new a(s.singleOption, [], new de({ type: fe.array, enable: !0 })));
|
|
571
571
|
/**
|
|
572
572
|
* 关联选项设置
|
|
573
573
|
*/
|
|
@@ -665,11 +665,11 @@ class kn extends Ve {
|
|
|
665
665
|
/**
|
|
666
666
|
* 下拉框出现的位置
|
|
667
667
|
*/
|
|
668
|
-
e(this, "placement",
|
|
668
|
+
e(this, "placement", Ot.bottomStart);
|
|
669
669
|
/**
|
|
670
670
|
* tooltip 主题,内置了 dark / light 两种
|
|
671
671
|
*/
|
|
672
|
-
e(this, "effect",
|
|
672
|
+
e(this, "effect", kt.light);
|
|
673
673
|
/**
|
|
674
674
|
* 是否多选
|
|
675
675
|
*/
|
|
@@ -765,7 +765,7 @@ class kn extends Ve {
|
|
|
765
765
|
/**
|
|
766
766
|
* 下属选项
|
|
767
767
|
*/
|
|
768
|
-
e(this, "optionItems", new a(s.singleOption, [], new
|
|
768
|
+
e(this, "optionItems", new a(s.singleOption, [], new de({ type: fe.array, enable: !0 })));
|
|
769
769
|
/**
|
|
770
770
|
* 关联选项设置
|
|
771
771
|
*/
|
|
@@ -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 ya extends Qn {
|
|
884
884
|
constructor() {
|
|
885
885
|
super(...arguments);
|
|
886
886
|
/**
|
|
@@ -1037,7 +1037,7 @@ class ga extends Ve {
|
|
|
1037
1037
|
/**
|
|
1038
1038
|
* 主题
|
|
1039
1039
|
*/
|
|
1040
|
-
e(this, "effect",
|
|
1040
|
+
e(this, "effect", kt.light);
|
|
1041
1041
|
/**
|
|
1042
1042
|
* 自定义前缀图标
|
|
1043
1043
|
*/
|
|
@@ -1073,7 +1073,7 @@ class ga extends Ve {
|
|
|
1073
1073
|
/**
|
|
1074
1074
|
* 组件的空值配置
|
|
1075
1075
|
*/
|
|
1076
|
-
e(this, "emptyValues", new a(s.dataObject, null, new
|
|
1076
|
+
e(this, "emptyValues", new a(s.dataObject, null, new de({ type: fe.array, enable: !0 })));
|
|
1077
1077
|
/**
|
|
1078
1078
|
* 清空选项的值
|
|
1079
1079
|
*/
|
|
@@ -1137,7 +1137,7 @@ class ba extends Ve {
|
|
|
1137
1137
|
/**
|
|
1138
1138
|
* 值类型
|
|
1139
1139
|
*/
|
|
1140
|
-
e(this, "valueType", new a(s.placer,
|
|
1140
|
+
e(this, "valueType", new a(s.placer, fe.boolean));
|
|
1141
1141
|
/**
|
|
1142
1142
|
* on时的值
|
|
1143
1143
|
*/
|
|
@@ -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 Ea extends
|
|
1155
|
+
class Ea extends Bt {
|
|
1156
1156
|
constructor() {
|
|
1157
1157
|
super(...arguments);
|
|
1158
1158
|
/**
|
|
@@ -1258,7 +1258,7 @@ class Ca extends ra {
|
|
|
1258
1258
|
e(this, "completed", new a(s.placerHook, void 0, new C()));
|
|
1259
1259
|
}
|
|
1260
1260
|
}
|
|
1261
|
-
class xa extends
|
|
1261
|
+
class xa extends Bt {
|
|
1262
1262
|
constructor() {
|
|
1263
1263
|
super(...arguments);
|
|
1264
1264
|
/**
|
|
@@ -1276,7 +1276,7 @@ class xa extends kt {
|
|
|
1276
1276
|
/**
|
|
1277
1277
|
* 预定义颜色
|
|
1278
1278
|
*/
|
|
1279
|
-
e(this, "predefine", new a(s.dataObject, [], new
|
|
1279
|
+
e(this, "predefine", new a(s.dataObject, [], new de({ type: fe.array, enable: !0 })));
|
|
1280
1280
|
}
|
|
1281
1281
|
}
|
|
1282
1282
|
class Aa extends Ve {
|
|
@@ -1317,7 +1317,7 @@ class Aa extends Ve {
|
|
|
1317
1317
|
/**
|
|
1318
1318
|
* 标记, key 的类型必须为 number 且取值在闭区间 [min, max] 内,每个标记可以单独设置样式
|
|
1319
1319
|
*/
|
|
1320
|
-
e(this, "marks", new a(s.dataObject, {}, new
|
|
1320
|
+
e(this, "marks", new a(s.dataObject, {}, new de({ type: fe.object, enable: !0 })));
|
|
1321
1321
|
/**
|
|
1322
1322
|
* 显示输入框
|
|
1323
1323
|
*/
|
|
@@ -1349,7 +1349,7 @@ class Aa extends Ve {
|
|
|
1349
1349
|
/**
|
|
1350
1350
|
* Tooltip 出现的位置
|
|
1351
1351
|
*/
|
|
1352
|
-
e(this, "placement",
|
|
1352
|
+
e(this, "placement", Ot.top);
|
|
1353
1353
|
/**
|
|
1354
1354
|
* 格式化提示信息
|
|
1355
1355
|
*/
|
|
@@ -1369,17 +1369,17 @@ class Aa extends Ve {
|
|
|
1369
1369
|
*/
|
|
1370
1370
|
// validateEvent?: boolean = false;
|
|
1371
1371
|
}
|
|
1372
|
-
class Zn extends
|
|
1372
|
+
class Zn extends Bt {
|
|
1373
1373
|
constructor() {
|
|
1374
1374
|
super(...arguments);
|
|
1375
1375
|
/**
|
|
1376
1376
|
* 文件列表
|
|
1377
1377
|
*/
|
|
1378
|
-
e(this, "fileList", new a(s.singleOption, [], new
|
|
1378
|
+
e(this, "fileList", new a(s.singleOption, [], new de({ type: fe.array, enable: !0 })));
|
|
1379
1379
|
/**
|
|
1380
1380
|
* 文件类型
|
|
1381
1381
|
*/
|
|
1382
|
-
e(this, "accept", new a(s.placer, [], new
|
|
1382
|
+
e(this, "accept", new a(s.placer, [], new de({ type: fe.array, enable: !0 })));
|
|
1383
1383
|
/**
|
|
1384
1384
|
* 列表类型
|
|
1385
1385
|
*/
|
|
@@ -1647,7 +1647,7 @@ class Oa extends Ve {
|
|
|
1647
1647
|
/**
|
|
1648
1648
|
* 组件的空值配置
|
|
1649
1649
|
*/
|
|
1650
|
-
e(this, "emptyValues", new a(s.dataObject, null, new
|
|
1650
|
+
e(this, "emptyValues", new a(s.dataObject, null, new de({ type: fe.array, enable: !0 })));
|
|
1651
1651
|
/**
|
|
1652
1652
|
* 清空选项的值
|
|
1653
1653
|
*/
|
|
@@ -1740,7 +1740,7 @@ class Oa extends Ve {
|
|
|
1740
1740
|
/**
|
|
1741
1741
|
* 选项列表
|
|
1742
1742
|
*/
|
|
1743
|
-
e(this, "optionItems", new a(s.singleOption, [], new
|
|
1743
|
+
e(this, "optionItems", new a(s.singleOption, [], new de({ type: fe.array, enable: !0 })));
|
|
1744
1744
|
/**
|
|
1745
1745
|
* 关联选项设置
|
|
1746
1746
|
*/
|
|
@@ -1933,12 +1933,12 @@ class er extends Te {
|
|
|
1933
1933
|
/**
|
|
1934
1934
|
* 下属选项
|
|
1935
1935
|
*/
|
|
1936
|
-
e(this, "optionItems", new a(s.singleOption, [], new
|
|
1936
|
+
e(this, "optionItems", new a(s.singleOption, [], new de({ type: fe.array, enable: !0 })));
|
|
1937
1937
|
}
|
|
1938
1938
|
}
|
|
1939
|
-
class ka extends
|
|
1939
|
+
class ka extends _t {
|
|
1940
1940
|
}
|
|
1941
|
-
class Ba extends
|
|
1941
|
+
class Ba extends _t {
|
|
1942
1942
|
}
|
|
1943
1943
|
class _a extends Xe {
|
|
1944
1944
|
constructor() {
|
|
@@ -2172,7 +2172,15 @@ class Na extends Te {
|
|
|
2172
2172
|
/**
|
|
2173
2173
|
* 图表数据源
|
|
2174
2174
|
*/
|
|
2175
|
-
e(this, "dataSource", new a(s.dataObject, null, new
|
|
2175
|
+
e(this, "dataSource", new a(s.dataObject, null, new de({ type: fe.array, enable: !0 })));
|
|
2176
|
+
/**
|
|
2177
|
+
* click事件
|
|
2178
|
+
*/
|
|
2179
|
+
e(this, "click", new a(s.event, void 0, new C()));
|
|
2180
|
+
/**
|
|
2181
|
+
* ItemClick事件
|
|
2182
|
+
*/
|
|
2183
|
+
e(this, "itemClick", new a(s.event, void 0, new C()));
|
|
2176
2184
|
}
|
|
2177
2185
|
}
|
|
2178
2186
|
class Ra extends Xe {
|
|
@@ -2204,7 +2212,7 @@ class Ra extends Xe {
|
|
|
2204
2212
|
e(this, "scroll", new a(s.event, void 0, new C()));
|
|
2205
2213
|
}
|
|
2206
2214
|
}
|
|
2207
|
-
class Ma extends
|
|
2215
|
+
class Ma extends _t {
|
|
2208
2216
|
constructor() {
|
|
2209
2217
|
super(...arguments);
|
|
2210
2218
|
/**
|
|
@@ -2214,7 +2222,7 @@ class Ma extends Bt {
|
|
|
2214
2222
|
/**
|
|
2215
2223
|
* 显示样式
|
|
2216
2224
|
*/
|
|
2217
|
-
e(this, "displayLayout", new a(s.placer,
|
|
2225
|
+
e(this, "displayLayout", new a(s.placer, yt.inline));
|
|
2218
2226
|
/**
|
|
2219
2227
|
* 条码类型
|
|
2220
2228
|
*/
|
|
@@ -2237,7 +2245,7 @@ class Ma extends Bt {
|
|
|
2237
2245
|
e(this, "displayValue", new a(s.placer, !0));
|
|
2238
2246
|
}
|
|
2239
2247
|
}
|
|
2240
|
-
class ja extends
|
|
2248
|
+
class ja extends _t {
|
|
2241
2249
|
constructor() {
|
|
2242
2250
|
super(...arguments);
|
|
2243
2251
|
/**
|
|
@@ -2250,10 +2258,10 @@ class ja extends Bt {
|
|
|
2250
2258
|
e(this, "ctrlHeight", new a(s.placer, "200px"));
|
|
2251
2259
|
}
|
|
2252
2260
|
}
|
|
2253
|
-
class Ua extends
|
|
2261
|
+
class Ua extends _t {
|
|
2254
2262
|
constructor() {
|
|
2255
2263
|
super(...arguments);
|
|
2256
|
-
e(this, "displayLayout", new a(s.placer,
|
|
2264
|
+
e(this, "displayLayout", new a(s.placer, yt.inline));
|
|
2257
2265
|
/**
|
|
2258
2266
|
* 目标长度
|
|
2259
2267
|
*/
|
|
@@ -2406,7 +2414,7 @@ class za extends Xe {
|
|
|
2406
2414
|
/**
|
|
2407
2415
|
* 菜单弹出位置
|
|
2408
2416
|
*/
|
|
2409
|
-
e(this, "placement",
|
|
2417
|
+
e(this, "placement", Ot.bottom);
|
|
2410
2418
|
/**
|
|
2411
2419
|
* 触发下拉的行为
|
|
2412
2420
|
*/
|
|
@@ -2464,7 +2472,7 @@ class za extends Xe {
|
|
|
2464
2472
|
/**
|
|
2465
2473
|
* 下属选项
|
|
2466
2474
|
*/
|
|
2467
|
-
e(this, "optionItems", new a(s.singleOption, [], new
|
|
2475
|
+
e(this, "optionItems", new a(s.singleOption, [], new de({ type: fe.array, enable: !0 })));
|
|
2468
2476
|
}
|
|
2469
2477
|
}
|
|
2470
2478
|
class tr extends Ke {
|
|
@@ -2622,7 +2630,7 @@ class qa extends Te {
|
|
|
2622
2630
|
/**
|
|
2623
2631
|
* 下属选项
|
|
2624
2632
|
*/
|
|
2625
|
-
e(this, "optionItems", new a(s.singleOption, [], new
|
|
2633
|
+
e(this, "optionItems", new a(s.singleOption, [], new de({ type: fe.array, enable: !0 })));
|
|
2626
2634
|
}
|
|
2627
2635
|
}
|
|
2628
2636
|
class nr extends zn {
|
|
@@ -2696,7 +2704,7 @@ class Xa extends Te {
|
|
|
2696
2704
|
/**
|
|
2697
2705
|
* 下属选项
|
|
2698
2706
|
*/
|
|
2699
|
-
e(this, "optionItems", new a(s.singleOption, [], new
|
|
2707
|
+
e(this, "optionItems", new a(s.singleOption, [], new de({ type: fe.array, enable: !0 })));
|
|
2700
2708
|
}
|
|
2701
2709
|
}
|
|
2702
2710
|
class rr extends Ke {
|
|
@@ -2705,7 +2713,7 @@ class rr extends Ke {
|
|
|
2705
2713
|
/**
|
|
2706
2714
|
* 内容插槽
|
|
2707
2715
|
*/
|
|
2708
|
-
e(this, "slotContent", new a(s.slot, void 0, new te({ slotName: "content" }), void 0, new ne()));
|
|
2716
|
+
e(this, "slotContent", new a(s.slot, void 0, new te({ allowDrag: !0, slotName: "content" }), void 0, new ne()));
|
|
2709
2717
|
}
|
|
2710
2718
|
}
|
|
2711
2719
|
class Ja extends Te {
|
|
@@ -2722,32 +2730,44 @@ class Ja extends Te {
|
|
|
2722
2730
|
/**
|
|
2723
2731
|
* 下属选项
|
|
2724
2732
|
*/
|
|
2725
|
-
e(this, "optionItems", new a(s.singleOption, [], new
|
|
2733
|
+
e(this, "optionItems", new a(s.singleOption, [], new de({ type: fe.array, enable: !0 })));
|
|
2726
2734
|
}
|
|
2727
2735
|
}
|
|
2728
2736
|
class ir extends zn {
|
|
2729
2737
|
constructor() {
|
|
2730
2738
|
super(...arguments);
|
|
2739
|
+
/**
|
|
2740
|
+
* 唯一标识
|
|
2741
|
+
*/
|
|
2742
|
+
e(this, "name", St() + "");
|
|
2731
2743
|
/**
|
|
2732
2744
|
* 标题
|
|
2733
2745
|
*/
|
|
2734
|
-
e(this, "title",
|
|
2746
|
+
e(this, "title", T.collapse);
|
|
2735
2747
|
/**
|
|
2736
2748
|
* 内容
|
|
2737
2749
|
*/
|
|
2738
|
-
|
|
2750
|
+
// content?: string = '';
|
|
2751
|
+
/**
|
|
2752
|
+
* 启用标题插槽
|
|
2753
|
+
*/
|
|
2754
|
+
e(this, "slotableTitle", !1);
|
|
2739
2755
|
/**
|
|
2740
2756
|
* 标题插槽
|
|
2741
2757
|
*/
|
|
2742
|
-
e(this, "slotTitle", new a(s.slot, void 0, new te({ slotName: "title" }), void 0, new ne()));
|
|
2758
|
+
e(this, "slotTitle", new a(s.slot, void 0, new te({ allowDrag: !0, slotName: "title" }), void 0, new ne()));
|
|
2743
2759
|
/**
|
|
2744
2760
|
* 内容插槽
|
|
2745
2761
|
*/
|
|
2746
|
-
e(this, "slotContent", new a(s.slot, void 0, new te({ slotName: "content" }), void 0, new ne()));
|
|
2762
|
+
e(this, "slotContent", new a(s.slot, void 0, new te({ allowDrag: !0, slotName: "content" }), void 0, new ne()));
|
|
2747
2763
|
/**
|
|
2748
2764
|
* 是否禁用
|
|
2749
2765
|
*/
|
|
2750
2766
|
e(this, "disabled", !1);
|
|
2767
|
+
/**
|
|
2768
|
+
* 是否默认
|
|
2769
|
+
*/
|
|
2770
|
+
e(this, "isdefault", !1);
|
|
2751
2771
|
}
|
|
2752
2772
|
}
|
|
2753
2773
|
class Qa extends Te {
|
|
@@ -2792,7 +2812,7 @@ class Qa extends Te {
|
|
|
2792
2812
|
/**
|
|
2793
2813
|
* 下属选项
|
|
2794
2814
|
*/
|
|
2795
|
-
e(this, "optionItems", new a(s.singleOption, [], new
|
|
2815
|
+
e(this, "optionItems", new a(s.singleOption, [], new de({ type: fe.array, enable: !0 })));
|
|
2796
2816
|
}
|
|
2797
2817
|
}
|
|
2798
2818
|
class ar extends Ke {
|
|
@@ -2890,7 +2910,7 @@ class Ya extends Te {
|
|
|
2890
2910
|
/**
|
|
2891
2911
|
* 开启图片预览功能
|
|
2892
2912
|
*/
|
|
2893
|
-
e(this, "previewSrcList", new a(s.dataObject, [], new
|
|
2913
|
+
e(this, "previewSrcList", new a(s.dataObject, [], new de({ type: fe.array, enable: !0 })));
|
|
2894
2914
|
/**
|
|
2895
2915
|
* 设置图片预览的 z-index
|
|
2896
2916
|
*/
|
|
@@ -2938,7 +2958,7 @@ class Ya extends Te {
|
|
|
2938
2958
|
/**
|
|
2939
2959
|
* 下属选项
|
|
2940
2960
|
*/
|
|
2941
|
-
e(this, "optionItems", new a(s.singleOption, [], new
|
|
2961
|
+
e(this, "optionItems", new a(s.singleOption, [], new de({ type: fe.array, enable: !0 })));
|
|
2942
2962
|
}
|
|
2943
2963
|
}
|
|
2944
2964
|
class Za extends Te {
|
|
@@ -2955,7 +2975,7 @@ class Za extends Te {
|
|
|
2955
2975
|
/**
|
|
2956
2976
|
* 下属选项
|
|
2957
2977
|
*/
|
|
2958
|
-
e(this, "optionItems", new a(s.singleOption, [], new
|
|
2978
|
+
e(this, "optionItems", new a(s.singleOption, [], new de({ type: fe.array, enable: !0 })));
|
|
2959
2979
|
}
|
|
2960
2980
|
}
|
|
2961
2981
|
class sr extends Ke {
|
|
@@ -3033,7 +3053,7 @@ class es extends Te {
|
|
|
3033
3053
|
/**
|
|
3034
3054
|
* Tooltip 主题,内置了 dark / light 两种主题
|
|
3035
3055
|
*/
|
|
3036
|
-
e(this, "popperEffect",
|
|
3056
|
+
e(this, "popperEffect", kt.dark);
|
|
3037
3057
|
/**
|
|
3038
3058
|
* 单击外部时是否折叠菜单
|
|
3039
3059
|
*/
|
|
@@ -3061,7 +3081,7 @@ class es extends Te {
|
|
|
3061
3081
|
/**
|
|
3062
3082
|
* 下属选项
|
|
3063
3083
|
*/
|
|
3064
|
-
e(this, "optionItems", new a(s.singleOption, [], new
|
|
3084
|
+
e(this, "optionItems", new a(s.singleOption, [], new de({ type: fe.array, enable: !0 })));
|
|
3065
3085
|
}
|
|
3066
3086
|
}
|
|
3067
3087
|
class or extends Ke {
|
|
@@ -3152,7 +3172,7 @@ class ts extends Te {
|
|
|
3152
3172
|
/**
|
|
3153
3173
|
* 显示样式
|
|
3154
3174
|
*/
|
|
3155
|
-
e(this, "displayLayout", new a(s.placer,
|
|
3175
|
+
e(this, "displayLayout", new a(s.placer, yt.inline));
|
|
3156
3176
|
}
|
|
3157
3177
|
}
|
|
3158
3178
|
class ns extends Te {
|
|
@@ -3193,7 +3213,7 @@ class ns extends Te {
|
|
|
3193
3213
|
/**
|
|
3194
3214
|
* 下属选项
|
|
3195
3215
|
*/
|
|
3196
|
-
e(this, "optionItems", new a(s.singleOption, [], new
|
|
3216
|
+
e(this, "optionItems", new a(s.singleOption, [], new de({ type: fe.array, enable: !0 })));
|
|
3197
3217
|
}
|
|
3198
3218
|
}
|
|
3199
3219
|
class ur extends Ke {
|
|
@@ -3244,7 +3264,7 @@ class rs extends Te {
|
|
|
3244
3264
|
/**
|
|
3245
3265
|
* 默认的排序列的 prop 和顺序
|
|
3246
3266
|
*/
|
|
3247
|
-
e(this, "defaultSort", new a(s.dataObject, {}, new
|
|
3267
|
+
e(this, "defaultSort", new a(s.dataObject, {}, new de({ type: fe.array, enable: !1 })));
|
|
3248
3268
|
/**
|
|
3249
3269
|
* 设置表格单元、行和列的布局方式
|
|
3250
3270
|
*/
|
|
@@ -3308,7 +3328,7 @@ class rs extends Te {
|
|
|
3308
3328
|
/**
|
|
3309
3329
|
* 可以通过该属性设置 Table 目前的展开行
|
|
3310
3330
|
*/
|
|
3311
|
-
e(this, "expandRowKeys", new a(s.dataObject, [], new
|
|
3331
|
+
e(this, "expandRowKeys", new a(s.dataObject, [], new de({ type: fe.array, enable: !1 })));
|
|
3312
3332
|
/**
|
|
3313
3333
|
* 单元格的className的回调方法
|
|
3314
3334
|
*/
|
|
@@ -3353,7 +3373,7 @@ class rs extends Te {
|
|
|
3353
3373
|
* 渲染嵌套数据的配置选项
|
|
3354
3374
|
* 不能为空,否则提示ns错误
|
|
3355
3375
|
*/
|
|
3356
|
-
e(this, "treeProps", new a(s.dataObject, {}, new
|
|
3376
|
+
e(this, "treeProps", new a(s.dataObject, {}, new de({ type: fe.object, enable: !1 })));
|
|
3357
3377
|
/**
|
|
3358
3378
|
* 展示树形数据时,树节点的缩进
|
|
3359
3379
|
*/
|
|
@@ -3373,7 +3393,7 @@ class rs extends Te {
|
|
|
3373
3393
|
/**
|
|
3374
3394
|
* 溢出的tooltip的effect
|
|
3375
3395
|
*/
|
|
3376
|
-
e(this, "tooltipEffect",
|
|
3396
|
+
e(this, "tooltipEffect", kt.dark);
|
|
3377
3397
|
/**
|
|
3378
3398
|
* 溢出tooltip的选项
|
|
3379
3399
|
*/
|
|
@@ -3502,7 +3522,7 @@ class rs extends Te {
|
|
|
3502
3522
|
/**
|
|
3503
3523
|
* 下属选项
|
|
3504
3524
|
*/
|
|
3505
|
-
e(this, "optionItems", new a(s.singleOption, [], new
|
|
3525
|
+
e(this, "optionItems", new a(s.singleOption, [], new de({ type: fe.array, enable: !0 })));
|
|
3506
3526
|
}
|
|
3507
3527
|
}
|
|
3508
3528
|
class lr extends Kn {
|
|
@@ -3587,7 +3607,7 @@ class lr extends Kn {
|
|
|
3587
3607
|
/**
|
|
3588
3608
|
* 数据在排序时所使用排序策略的轮转顺序
|
|
3589
3609
|
*/
|
|
3590
|
-
e(this, "sortOrders", new a(s.dataObject, ["ascending", "descending", null], new
|
|
3610
|
+
e(this, "sortOrders", new a(s.dataObject, ["ascending", "descending", null], new de({ type: fe.array })));
|
|
3591
3611
|
/**
|
|
3592
3612
|
* 指定数据按照哪个属性进行排序,仅当sortable设置为true的时候有效。
|
|
3593
3613
|
*/
|
|
@@ -3603,7 +3623,7 @@ class lr extends Kn {
|
|
|
3603
3623
|
/**
|
|
3604
3624
|
* 数据过滤的选项
|
|
3605
3625
|
*/
|
|
3606
|
-
|
|
3626
|
+
// filters?: PropValue = new PropValue(ComplexType.dataObject, undefined, new PropValueDataObjectOptions({ type: BaseDataType.object }));
|
|
3607
3627
|
/**
|
|
3608
3628
|
* 数据过滤列数据源
|
|
3609
3629
|
*/
|
|
@@ -3611,7 +3631,7 @@ class lr extends Kn {
|
|
|
3611
3631
|
/**
|
|
3612
3632
|
* 选中的数据过滤项
|
|
3613
3633
|
*/
|
|
3614
|
-
e(this, "filteredValue", new a(s.dataObject, void 0, new
|
|
3634
|
+
e(this, "filteredValue", new a(s.dataObject, void 0, new de({ type: fe.array, enable: !0 })));
|
|
3615
3635
|
/**
|
|
3616
3636
|
* 数据过滤使用的方法
|
|
3617
3637
|
*/
|
|
@@ -3623,7 +3643,7 @@ class lr extends Kn {
|
|
|
3623
3643
|
/**
|
|
3624
3644
|
* 过滤弹出框的定位
|
|
3625
3645
|
*/
|
|
3626
|
-
e(this, "filterPlacement",
|
|
3646
|
+
e(this, "filterPlacement", Ot.top);
|
|
3627
3647
|
/**
|
|
3628
3648
|
* 过滤弹出框的 className
|
|
3629
3649
|
*/
|
|
@@ -3647,10 +3667,10 @@ class lr extends Kn {
|
|
|
3647
3667
|
/**
|
|
3648
3668
|
* 选项编码
|
|
3649
3669
|
*/
|
|
3650
|
-
e(this, "uuid", new a(s.placer,
|
|
3670
|
+
e(this, "uuid", new a(s.placer, St()));
|
|
3651
3671
|
}
|
|
3652
3672
|
}
|
|
3653
|
-
class
|
|
3673
|
+
class Tt extends tn {
|
|
3654
3674
|
constructor() {
|
|
3655
3675
|
super(...arguments);
|
|
3656
3676
|
/**
|
|
@@ -3665,10 +3685,10 @@ class _t extends tn {
|
|
|
3665
3685
|
/**
|
|
3666
3686
|
* 显示样式
|
|
3667
3687
|
*/
|
|
3668
|
-
e(this, "displayLayout", new a(s.placer,
|
|
3688
|
+
e(this, "displayLayout", new a(s.placer, yt.block));
|
|
3669
3689
|
}
|
|
3670
3690
|
}
|
|
3671
|
-
class at extends
|
|
3691
|
+
class at extends Tt {
|
|
3672
3692
|
constructor() {
|
|
3673
3693
|
super(...arguments);
|
|
3674
3694
|
/**
|
|
@@ -3677,7 +3697,7 @@ class at extends _t {
|
|
|
3677
3697
|
e(this, "componentWrapperClass", new a(s.placer, []));
|
|
3678
3698
|
}
|
|
3679
3699
|
}
|
|
3680
|
-
class is extends
|
|
3700
|
+
class is extends Tt {
|
|
3681
3701
|
constructor() {
|
|
3682
3702
|
super(...arguments);
|
|
3683
3703
|
/**
|
|
@@ -3773,7 +3793,7 @@ class cr extends at {
|
|
|
3773
3793
|
*/
|
|
3774
3794
|
// verticalAlign?: PropValue = new PropValue(ComplexType.placer, '');
|
|
3775
3795
|
}
|
|
3776
|
-
class as extends
|
|
3796
|
+
class as extends Tt {
|
|
3777
3797
|
constructor() {
|
|
3778
3798
|
super(...arguments);
|
|
3779
3799
|
/**
|
|
@@ -3995,7 +4015,7 @@ class us extends at {
|
|
|
3995
4015
|
/**
|
|
3996
4016
|
* 内容
|
|
3997
4017
|
*/
|
|
3998
|
-
e(this, "effect",
|
|
4018
|
+
e(this, "effect", kt.light);
|
|
3999
4019
|
/**
|
|
4000
4020
|
* default插槽
|
|
4001
4021
|
*/
|
|
@@ -4177,7 +4197,7 @@ class cs extends Te {
|
|
|
4177
4197
|
/**
|
|
4178
4198
|
* 每页显示个数选择器的选项设置
|
|
4179
4199
|
*/
|
|
4180
|
-
e(this, "pageSizes", new a(s.dataObject, [10, 20, 30, 40, 50, 100], new
|
|
4200
|
+
e(this, "pageSizes", new a(s.dataObject, [10, 20, 30, 40, 50, 100], new de({ type: fe.array, enable: !0 })));
|
|
4181
4201
|
/**
|
|
4182
4202
|
* 每页显示个数选择器的下拉框类名
|
|
4183
4203
|
*/
|
|
@@ -4238,11 +4258,11 @@ class fs extends at {
|
|
|
4238
4258
|
/**
|
|
4239
4259
|
* 新增表单的数据源
|
|
4240
4260
|
*/
|
|
4241
|
-
e(this, "newDataSource", new a(s.singleOption, null, new
|
|
4261
|
+
e(this, "newDataSource", new a(s.singleOption, null, new de({ type: fe.object, enable: !0 })));
|
|
4242
4262
|
/**
|
|
4243
4263
|
* 编辑表单的数据源
|
|
4244
4264
|
*/
|
|
4245
|
-
e(this, "editDataSource", new a(s.singleOption, null, new
|
|
4265
|
+
e(this, "editDataSource", new a(s.singleOption, null, new de({ type: fe.object, enable: !0 })));
|
|
4246
4266
|
/**
|
|
4247
4267
|
* 组件加载时自动加载newDataSource绑定的数据源
|
|
4248
4268
|
*/
|
|
@@ -4310,7 +4330,7 @@ class fs extends at {
|
|
|
4310
4330
|
/**
|
|
4311
4331
|
* 当校验有失败结果时,滚动到第一个失败的表单项目
|
|
4312
4332
|
*/
|
|
4313
|
-
e(this, "scrollIntoViewOptions", new a(s.dataObject, void 0, new
|
|
4333
|
+
e(this, "scrollIntoViewOptions", new a(s.dataObject, void 0, new de({ type: fe.object, enable: !0 })));
|
|
4314
4334
|
/**
|
|
4315
4335
|
* 用于控制该表单内组件的尺寸
|
|
4316
4336
|
*/
|
|
@@ -4361,7 +4381,7 @@ class fs extends at {
|
|
|
4361
4381
|
e(this, "needFormAdd", new a(s.placerHook, void 0, new C()));
|
|
4362
4382
|
}
|
|
4363
4383
|
}
|
|
4364
|
-
class ps extends
|
|
4384
|
+
class ps extends Tt {
|
|
4365
4385
|
constructor() {
|
|
4366
4386
|
super(...arguments);
|
|
4367
4387
|
/**
|
|
@@ -4374,7 +4394,7 @@ class ps extends _t {
|
|
|
4374
4394
|
e(this, "cols", new a(s.placer, []));
|
|
4375
4395
|
}
|
|
4376
4396
|
}
|
|
4377
|
-
class ds extends
|
|
4397
|
+
class ds extends Tt {
|
|
4378
4398
|
constructor() {
|
|
4379
4399
|
super(...arguments);
|
|
4380
4400
|
/**
|
|
@@ -4533,7 +4553,7 @@ class hs extends at {
|
|
|
4533
4553
|
e(this, "default", new a(s.slot, void 0, new te({ allowDrag: !0 }), void 0, new ne()));
|
|
4534
4554
|
}
|
|
4535
4555
|
}
|
|
4536
|
-
class
|
|
4556
|
+
class ms extends en {
|
|
4537
4557
|
constructor() {
|
|
4538
4558
|
super(...arguments);
|
|
4539
4559
|
//IBaseContainerOptions
|
|
@@ -4661,7 +4681,7 @@ class ys extends en {
|
|
|
4661
4681
|
e(this, "rowDataFormat", new a(s.hook, void 0, new C()));
|
|
4662
4682
|
}
|
|
4663
4683
|
}
|
|
4664
|
-
class
|
|
4684
|
+
class ys extends en {
|
|
4665
4685
|
constructor() {
|
|
4666
4686
|
super(...arguments);
|
|
4667
4687
|
//IBaseContainerOptions
|
|
@@ -4745,7 +4765,7 @@ class ws extends tn {
|
|
|
4745
4765
|
/**
|
|
4746
4766
|
* 关联组件
|
|
4747
4767
|
*/
|
|
4748
|
-
e(this, "relatedIds", new a(s.dataObject, [], new
|
|
4768
|
+
e(this, "relatedIds", new a(s.dataObject, [], new de({ type: fe.array, enable: !0 })));
|
|
4749
4769
|
/**
|
|
4750
4770
|
* 新增按钮文本
|
|
4751
4771
|
*/
|
|
@@ -4757,7 +4777,7 @@ class ws extends tn {
|
|
|
4757
4777
|
/**
|
|
4758
4778
|
* 添加或保存的入参
|
|
4759
4779
|
*/
|
|
4760
|
-
e(this, "operateData", new a(s.dataObject, {}, new
|
|
4780
|
+
e(this, "operateData", new a(s.dataObject, {}, new de({ type: fe.object, enable: !0 })));
|
|
4761
4781
|
/**
|
|
4762
4782
|
* 是否隐藏
|
|
4763
4783
|
*/
|
|
@@ -4777,7 +4797,7 @@ class ws extends tn {
|
|
|
4777
4797
|
/**
|
|
4778
4798
|
* 下属选项
|
|
4779
4799
|
*/
|
|
4780
|
-
e(this, "optionItems", new a(s.singleOption, [], new
|
|
4800
|
+
e(this, "optionItems", new a(s.singleOption, [], new de({ type: fe.array, enable: !0 })));
|
|
4781
4801
|
}
|
|
4782
4802
|
}
|
|
4783
4803
|
class fr extends tn {
|
|
@@ -5058,8 +5078,8 @@ const dr = [
|
|
|
5058
5078
|
new X(T.treeSelect, { treeDivider: "", ...new er(), selectDivider: "", ...new kn() }, !0),
|
|
5059
5079
|
new X(T.switch, new ba(), !0),
|
|
5060
5080
|
new X(T.timeSelect, new ga(), !0),
|
|
5061
|
-
new X(T.timePicker, new
|
|
5062
|
-
new X(T.timePickerRange, new
|
|
5081
|
+
new X(T.timePicker, new ma(), !0),
|
|
5082
|
+
new X(T.timePickerRange, new ya(), !0),
|
|
5063
5083
|
new X(T.datePicker, new wa(), !0),
|
|
5064
5084
|
new X(T.datePickerRange, new va(), !0),
|
|
5065
5085
|
new X(T.pictureUpload, new Fa(), !0),
|
|
@@ -5069,12 +5089,12 @@ const dr = [
|
|
|
5069
5089
|
new X(T.slider, new Aa(), !0),
|
|
5070
5090
|
new X(T.richEditor, new Sa(), !0),
|
|
5071
5091
|
new X(T.cache, new ua(), !0)
|
|
5072
|
-
],
|
|
5073
|
-
new X(T.multirow, new
|
|
5074
|
-
new X(T.tmpl, new
|
|
5092
|
+
], mr = [
|
|
5093
|
+
new X(T.multirow, new ms(), !0, { dynamicItemFlag: !0 }),
|
|
5094
|
+
new X(T.tmpl, new ys(), !1, { dynamicItemFlag: !0 }),
|
|
5075
5095
|
new X(T.model, new ws(), !1),
|
|
5076
5096
|
new X(T.range, new _s(), !1)
|
|
5077
|
-
],
|
|
5097
|
+
], yr = [], wr = [
|
|
5078
5098
|
new X(T.avatar, new Ka(), !1, Pe),
|
|
5079
5099
|
new X(T.badge, new Wa(), !1, Pe),
|
|
5080
5100
|
new X(T.empty, new $a(), !1),
|
|
@@ -5112,18 +5132,18 @@ const dr = [
|
|
|
5112
5132
|
new X(T.divider, new La(), !1),
|
|
5113
5133
|
new X(T.chart, new Na(), !1),
|
|
5114
5134
|
new X(T.iframe, new vs(), !1)
|
|
5115
|
-
], Ts = [...dr, ...pr, ...hr, ...
|
|
5135
|
+
], Ts = [...dr, ...pr, ...hr, ...yr, ...mr, ...wr, ...gr, ...vr, ...br], Is = {
|
|
5116
5136
|
containers: dr,
|
|
5117
5137
|
basicFields: pr,
|
|
5118
5138
|
formFields: hr,
|
|
5119
|
-
systemFields:
|
|
5120
|
-
advancedFields:
|
|
5139
|
+
systemFields: yr,
|
|
5140
|
+
advancedFields: mr,
|
|
5121
5141
|
dataFields: wr,
|
|
5122
5142
|
navFields: vr,
|
|
5123
5143
|
feedBackFields: gr,
|
|
5124
5144
|
otherFields: br,
|
|
5125
5145
|
allWidgets: Ts
|
|
5126
|
-
},
|
|
5146
|
+
}, jt = (t, r) => {
|
|
5127
5147
|
var u;
|
|
5128
5148
|
if (!t || !r)
|
|
5129
5149
|
return !1;
|
|
@@ -5141,11 +5161,11 @@ const dr = [
|
|
|
5141
5161
|
}, $e = (t, r, i) => {
|
|
5142
5162
|
if (!t)
|
|
5143
5163
|
return Ce(t);
|
|
5144
|
-
var u = t == null ? void 0 : t.id, c = t.type +
|
|
5164
|
+
var u = t == null ? void 0 : t.id, c = t.type + St(), l = c;
|
|
5145
5165
|
i && (l = i(u, c));
|
|
5146
5166
|
const p = Ps(t);
|
|
5147
5167
|
return Ls(t, l, r), p && (r != null && r.recordSource) && ht(t, { _source: p }), Ce(t);
|
|
5148
|
-
}, Ls = (t, r, i) => (Et(t,
|
|
5168
|
+
}, Ls = (t, r, i) => (Et(t, me.id) && (t.id = r), t.options = Ns(t.options, r, i), t), Ns = (t, r, i) => (Et(t, me.name) && (i == null ? void 0 : i.newName) != !1 && (t.name = Fn(r, "-", "")), Et(t, me.label) && !(t != null && t.label) && (i == null ? void 0 : i.newLabel) != !1 && (t.label = Fn(r, "-", "")), t), Bo = (t) => {
|
|
5149
5169
|
const r = "id@";
|
|
5150
5170
|
return {
|
|
5151
5171
|
idClass: `${r}${t == null ? void 0 : t.id}`,
|
|
@@ -5170,7 +5190,7 @@ var Bn = {}, Rs = {
|
|
|
5170
5190
|
function p(b, v) {
|
|
5171
5191
|
if (!c[b]) {
|
|
5172
5192
|
if (!u[b]) {
|
|
5173
|
-
var d = typeof
|
|
5193
|
+
var d = typeof Mt == "function" && Mt;
|
|
5174
5194
|
if (!v && d)
|
|
5175
5195
|
return d(b, !0);
|
|
5176
5196
|
if (x)
|
|
@@ -5186,14 +5206,14 @@ var Bn = {}, Rs = {
|
|
|
5186
5206
|
}
|
|
5187
5207
|
return c[b].exports;
|
|
5188
5208
|
}
|
|
5189
|
-
for (var x = typeof
|
|
5209
|
+
for (var x = typeof Mt == "function" && Mt, E = 0; E < l.length; E++)
|
|
5190
5210
|
p(l[E]);
|
|
5191
5211
|
return p;
|
|
5192
5212
|
}({ "./aesprim": [function(i, u, c) {
|
|
5193
5213
|
(function(l, p) {
|
|
5194
5214
|
p(typeof c < "u" ? c : l.esprima = {});
|
|
5195
5215
|
})(this, function(l) {
|
|
5196
|
-
var p, x, E, b, v, d, w, A, g, D, f, P, B, O, h,
|
|
5216
|
+
var p, x, E, b, v, d, w, A, g, D, f, P, B, O, h, m, S, F;
|
|
5197
5217
|
p = {
|
|
5198
5218
|
BooleanLiteral: 1,
|
|
5199
5219
|
EOF: 2,
|
|
@@ -5423,44 +5443,44 @@ var Bn = {}, Rs = {
|
|
|
5423
5443
|
return !1;
|
|
5424
5444
|
}
|
|
5425
5445
|
}
|
|
5426
|
-
function Y(n, o,
|
|
5446
|
+
function Y(n, o, y, k, M) {
|
|
5427
5447
|
var G;
|
|
5428
|
-
V(typeof
|
|
5448
|
+
V(typeof y == "number", "Comment must have valid position"), !(S.lastCommentStart >= y) && (S.lastCommentStart = y, G = {
|
|
5429
5449
|
type: n,
|
|
5430
5450
|
value: o
|
|
5431
|
-
}, F.range && (G.range = [
|
|
5451
|
+
}, F.range && (G.range = [y, k]), F.loc && (G.loc = M), F.comments.push(G), F.attachComment && (F.leadingComments.push(G), F.trailingComments.push(G)));
|
|
5432
5452
|
}
|
|
5433
|
-
function
|
|
5434
|
-
var o,
|
|
5435
|
-
for (o = f - n,
|
|
5453
|
+
function pe(n) {
|
|
5454
|
+
var o, y, k, M;
|
|
5455
|
+
for (o = f - n, y = {
|
|
5436
5456
|
start: {
|
|
5437
5457
|
line: P,
|
|
5438
5458
|
column: f - B - n
|
|
5439
5459
|
}
|
|
5440
5460
|
}; f < O; )
|
|
5441
5461
|
if (k = g.charCodeAt(f), ++f, _(k)) {
|
|
5442
|
-
F.comments && (M = g.slice(o + n, f - 1),
|
|
5462
|
+
F.comments && (M = g.slice(o + n, f - 1), y.end = {
|
|
5443
5463
|
line: P,
|
|
5444
5464
|
column: f - B - 1
|
|
5445
|
-
}, Y("Line", M, o, f - 1,
|
|
5465
|
+
}, Y("Line", M, o, f - 1, y)), k === 13 && g.charCodeAt(f) === 10 && ++f, ++P, B = f;
|
|
5446
5466
|
return;
|
|
5447
5467
|
}
|
|
5448
|
-
F.comments && (M = g.slice(o + n, f),
|
|
5468
|
+
F.comments && (M = g.slice(o + n, f), y.end = {
|
|
5449
5469
|
line: P,
|
|
5450
5470
|
column: f - B
|
|
5451
|
-
}, Y("Line", M, o, f,
|
|
5471
|
+
}, Y("Line", M, o, f, y));
|
|
5452
5472
|
}
|
|
5453
5473
|
function Ae() {
|
|
5454
|
-
var n, o,
|
|
5474
|
+
var n, o, y, k;
|
|
5455
5475
|
for (F.comments && (n = f - 2, o = {
|
|
5456
5476
|
start: {
|
|
5457
5477
|
line: P,
|
|
5458
5478
|
column: f - B - 2
|
|
5459
5479
|
}
|
|
5460
5480
|
}); f < O; )
|
|
5461
|
-
if (
|
|
5462
|
-
|
|
5463
|
-
else if (
|
|
5481
|
+
if (y = g.charCodeAt(f), _(y))
|
|
5482
|
+
y === 13 && g.charCodeAt(f + 1) === 10 && ++f, ++P, ++f, B = f, f >= O && ie({}, d.UnexpectedToken, "ILLEGAL");
|
|
5483
|
+
else if (y === 42) {
|
|
5464
5484
|
if (g.charCodeAt(f + 1) === 47) {
|
|
5465
5485
|
++f, ++f, F.comments && (k = g.slice(n + 2, f - 2), o.end = {
|
|
5466
5486
|
line: P,
|
|
@@ -5482,27 +5502,27 @@ var Bn = {}, Rs = {
|
|
|
5482
5502
|
++f, n === 13 && g.charCodeAt(f) === 10 && ++f, ++P, B = f, o = !0;
|
|
5483
5503
|
else if (n === 47)
|
|
5484
5504
|
if (n = g.charCodeAt(f + 1), n === 47)
|
|
5485
|
-
++f, ++f,
|
|
5505
|
+
++f, ++f, pe(2), o = !0;
|
|
5486
5506
|
else if (n === 42)
|
|
5487
5507
|
++f, ++f, Ae();
|
|
5488
5508
|
else
|
|
5489
5509
|
break;
|
|
5490
5510
|
else if (o && n === 45)
|
|
5491
5511
|
if (g.charCodeAt(f + 1) === 45 && g.charCodeAt(f + 2) === 62)
|
|
5492
|
-
f += 3,
|
|
5512
|
+
f += 3, pe(3);
|
|
5493
5513
|
else
|
|
5494
5514
|
break;
|
|
5495
5515
|
else if (n === 60)
|
|
5496
5516
|
if (g.slice(f + 1, f + 4) === "!--")
|
|
5497
|
-
++f, ++f, ++f, ++f,
|
|
5517
|
+
++f, ++f, ++f, ++f, pe(4);
|
|
5498
5518
|
else
|
|
5499
5519
|
break;
|
|
5500
5520
|
else
|
|
5501
5521
|
break;
|
|
5502
5522
|
}
|
|
5503
5523
|
function j(n) {
|
|
5504
|
-
var o,
|
|
5505
|
-
for (
|
|
5524
|
+
var o, y, k, M = 0;
|
|
5525
|
+
for (y = n === "u" ? 4 : 2, o = 0; o < y; ++o)
|
|
5506
5526
|
if (f < O && ae(g[f]))
|
|
5507
5527
|
k = g[f++], M = M * 16 + "0123456789abcdef".indexOf(k.toLowerCase());
|
|
5508
5528
|
else
|
|
@@ -5528,9 +5548,9 @@ var Bn = {}, Rs = {
|
|
|
5528
5548
|
return g.slice(n, f);
|
|
5529
5549
|
}
|
|
5530
5550
|
function Oe() {
|
|
5531
|
-
var n, o,
|
|
5532
|
-
return n = f, o = g.charCodeAt(f) === 92 ? K() : ge(), o.length === 1 ?
|
|
5533
|
-
type:
|
|
5551
|
+
var n, o, y;
|
|
5552
|
+
return n = f, o = g.charCodeAt(f) === 92 ? K() : ge(), o.length === 1 ? y = p.Identifier : W(o) ? y = p.Keyword : o === "null" ? y = p.NullLiteral : o === "true" || o === "false" ? y = p.BooleanLiteral : y = p.Identifier, {
|
|
5553
|
+
type: y,
|
|
5534
5554
|
value: o,
|
|
5535
5555
|
lineNumber: P,
|
|
5536
5556
|
lineStart: B,
|
|
@@ -5538,8 +5558,8 @@ var Bn = {}, Rs = {
|
|
|
5538
5558
|
end: f
|
|
5539
5559
|
};
|
|
5540
5560
|
}
|
|
5541
|
-
function
|
|
5542
|
-
var n = f, o = g.charCodeAt(f),
|
|
5561
|
+
function le() {
|
|
5562
|
+
var n = f, o = g.charCodeAt(f), y, k = g[f], M, G, oe;
|
|
5543
5563
|
switch (o) {
|
|
5544
5564
|
case 46:
|
|
5545
5565
|
case 40:
|
|
@@ -5562,7 +5582,7 @@ var Bn = {}, Rs = {
|
|
|
5562
5582
|
end: f
|
|
5563
5583
|
};
|
|
5564
5584
|
default:
|
|
5565
|
-
if (
|
|
5585
|
+
if (y = g.charCodeAt(f + 1), y === 61)
|
|
5566
5586
|
switch (o) {
|
|
5567
5587
|
case 43:
|
|
5568
5588
|
case 45:
|
|
@@ -5576,7 +5596,7 @@ var Bn = {}, Rs = {
|
|
|
5576
5596
|
case 42:
|
|
5577
5597
|
return f += 2, {
|
|
5578
5598
|
type: p.Punctuator,
|
|
5579
|
-
value: String.fromCharCode(o) + String.fromCharCode(
|
|
5599
|
+
value: String.fromCharCode(o) + String.fromCharCode(y),
|
|
5580
5600
|
lineNumber: P,
|
|
5581
5601
|
lineStart: B,
|
|
5582
5602
|
start: n,
|
|
@@ -5632,7 +5652,7 @@ var Bn = {}, Rs = {
|
|
|
5632
5652
|
};
|
|
5633
5653
|
ie({}, d.UnexpectedToken, "ILLEGAL");
|
|
5634
5654
|
}
|
|
5635
|
-
function
|
|
5655
|
+
function ye(n) {
|
|
5636
5656
|
for (var o = ""; f < O && ae(g[f]); )
|
|
5637
5657
|
o += g[f++];
|
|
5638
5658
|
return o.length === 0 && ie({}, d.UnexpectedToken, "ILLEGAL"), N(g.charCodeAt(f)) && ie({}, d.UnexpectedToken, "ILLEGAL"), {
|
|
@@ -5658,29 +5678,29 @@ var Bn = {}, Rs = {
|
|
|
5658
5678
|
};
|
|
5659
5679
|
}
|
|
5660
5680
|
function De() {
|
|
5661
|
-
var n, o,
|
|
5662
|
-
if (
|
|
5663
|
-
ee(
|
|
5681
|
+
var n, o, y;
|
|
5682
|
+
if (y = g[f], V(
|
|
5683
|
+
ee(y.charCodeAt(0)) || y === ".",
|
|
5664
5684
|
"Numeric literal must start with a decimal digit or a decimal point"
|
|
5665
|
-
), o = f, n = "",
|
|
5666
|
-
if (n = g[f++],
|
|
5667
|
-
if (
|
|
5668
|
-
return ++f,
|
|
5669
|
-
if (J(
|
|
5685
|
+
), o = f, n = "", y !== ".") {
|
|
5686
|
+
if (n = g[f++], y = g[f], n === "0") {
|
|
5687
|
+
if (y === "x" || y === "X")
|
|
5688
|
+
return ++f, ye(o);
|
|
5689
|
+
if (J(y))
|
|
5670
5690
|
return be(o);
|
|
5671
|
-
|
|
5691
|
+
y && ee(y.charCodeAt(0)) && ie({}, d.UnexpectedToken, "ILLEGAL");
|
|
5672
5692
|
}
|
|
5673
5693
|
for (; ee(g.charCodeAt(f)); )
|
|
5674
5694
|
n += g[f++];
|
|
5675
|
-
|
|
5695
|
+
y = g[f];
|
|
5676
5696
|
}
|
|
5677
|
-
if (
|
|
5697
|
+
if (y === ".") {
|
|
5678
5698
|
for (n += g[f++]; ee(g.charCodeAt(f)); )
|
|
5679
5699
|
n += g[f++];
|
|
5680
|
-
|
|
5700
|
+
y = g[f];
|
|
5681
5701
|
}
|
|
5682
|
-
if (
|
|
5683
|
-
if (n += g[f++],
|
|
5702
|
+
if (y === "e" || y === "E")
|
|
5703
|
+
if (n += g[f++], y = g[f], (y === "+" || y === "-") && (n += g[f++]), ee(g.charCodeAt(f)))
|
|
5684
5704
|
for (; ee(g.charCodeAt(f)); )
|
|
5685
5705
|
n += g[f++];
|
|
5686
5706
|
else
|
|
@@ -5695,11 +5715,11 @@ var Bn = {}, Rs = {
|
|
|
5695
5715
|
};
|
|
5696
5716
|
}
|
|
5697
5717
|
function Le() {
|
|
5698
|
-
var n = "", o,
|
|
5718
|
+
var n = "", o, y, k, M, G, oe, Ee = !1, Ie, _e;
|
|
5699
5719
|
for (Ie = P, _e = B, o = g[f], V(
|
|
5700
5720
|
o === "'" || o === '"',
|
|
5701
5721
|
"String literal must starts with a quote"
|
|
5702
|
-
),
|
|
5722
|
+
), y = f, ++f; f < O; )
|
|
5703
5723
|
if (k = g[f++], k === o) {
|
|
5704
5724
|
o = "";
|
|
5705
5725
|
break;
|
|
@@ -5749,61 +5769,61 @@ var Bn = {}, Rs = {
|
|
|
5749
5769
|
startLineStart: _e,
|
|
5750
5770
|
lineNumber: P,
|
|
5751
5771
|
lineStart: B,
|
|
5752
|
-
start:
|
|
5772
|
+
start: y,
|
|
5753
5773
|
end: f
|
|
5754
5774
|
};
|
|
5755
5775
|
}
|
|
5756
5776
|
function Ze(n, o) {
|
|
5757
|
-
var
|
|
5777
|
+
var y;
|
|
5758
5778
|
try {
|
|
5759
|
-
|
|
5779
|
+
y = new RegExp(n, o);
|
|
5760
5780
|
} catch {
|
|
5761
5781
|
ie({}, d.InvalidRegExp);
|
|
5762
5782
|
}
|
|
5763
|
-
return
|
|
5783
|
+
return y;
|
|
5764
5784
|
}
|
|
5765
5785
|
function gt() {
|
|
5766
|
-
var n, o,
|
|
5767
|
-
for (n = g[f], V(n === "/", "Regular expression literal must start with a slash"), o = g[f++],
|
|
5786
|
+
var n, o, y, k, M;
|
|
5787
|
+
for (n = g[f], V(n === "/", "Regular expression literal must start with a slash"), o = g[f++], y = !1, k = !1; f < O; )
|
|
5768
5788
|
if (n = g[f++], o += n, n === "\\")
|
|
5769
5789
|
n = g[f++], _(n.charCodeAt(0)) && ie({}, d.UnterminatedRegExp), o += n;
|
|
5770
5790
|
else if (_(n.charCodeAt(0)))
|
|
5771
5791
|
ie({}, d.UnterminatedRegExp);
|
|
5772
|
-
else if (
|
|
5773
|
-
n === "]" && (
|
|
5792
|
+
else if (y)
|
|
5793
|
+
n === "]" && (y = !1);
|
|
5774
5794
|
else if (n === "/") {
|
|
5775
5795
|
k = !0;
|
|
5776
5796
|
break;
|
|
5777
5797
|
} else
|
|
5778
|
-
n === "[" && (
|
|
5798
|
+
n === "[" && (y = !0);
|
|
5779
5799
|
return k || ie({}, d.UnterminatedRegExp), M = o.substr(1, o.length - 2), {
|
|
5780
5800
|
value: M,
|
|
5781
5801
|
literal: o
|
|
5782
5802
|
};
|
|
5783
5803
|
}
|
|
5784
5804
|
function st() {
|
|
5785
|
-
var n, o,
|
|
5786
|
-
for (o = "",
|
|
5805
|
+
var n, o, y, k;
|
|
5806
|
+
for (o = "", y = ""; f < O && (n = g[f], !!H(n.charCodeAt(0))); )
|
|
5787
5807
|
if (++f, n === "\\" && f < O)
|
|
5788
5808
|
if (n = g[f], n === "u") {
|
|
5789
5809
|
if (++f, k = f, n = j("u"), n)
|
|
5790
|
-
for (
|
|
5810
|
+
for (y += n, o += "\\u"; k < f; ++k)
|
|
5791
5811
|
o += g[k];
|
|
5792
5812
|
else
|
|
5793
|
-
f = k,
|
|
5794
|
-
|
|
5813
|
+
f = k, y += "u", o += "\\u";
|
|
5814
|
+
ce({}, d.UnexpectedToken, "ILLEGAL");
|
|
5795
5815
|
} else
|
|
5796
|
-
o += "\\",
|
|
5816
|
+
o += "\\", ce({}, d.UnexpectedToken, "ILLEGAL");
|
|
5797
5817
|
else
|
|
5798
|
-
|
|
5818
|
+
y += n, o += n;
|
|
5799
5819
|
return {
|
|
5800
|
-
value:
|
|
5820
|
+
value: y,
|
|
5801
5821
|
literal: o
|
|
5802
5822
|
};
|
|
5803
5823
|
}
|
|
5804
5824
|
function ot() {
|
|
5805
|
-
var n, o,
|
|
5806
|
-
return
|
|
5825
|
+
var n, o, y, k;
|
|
5826
|
+
return m = null, L(), n = f, o = gt(), y = st(), k = Ze(o.value, y.value), F.tokenize ? {
|
|
5807
5827
|
type: p.RegularExpression,
|
|
5808
5828
|
value: k,
|
|
5809
5829
|
lineNumber: P,
|
|
@@ -5811,28 +5831,28 @@ var Bn = {}, Rs = {
|
|
|
5811
5831
|
start: n,
|
|
5812
5832
|
end: f
|
|
5813
5833
|
} : {
|
|
5814
|
-
literal: o.literal +
|
|
5834
|
+
literal: o.literal + y.literal,
|
|
5815
5835
|
value: k,
|
|
5816
5836
|
start: n,
|
|
5817
5837
|
end: f
|
|
5818
5838
|
};
|
|
5819
5839
|
}
|
|
5820
5840
|
function et() {
|
|
5821
|
-
var n, o,
|
|
5841
|
+
var n, o, y, k;
|
|
5822
5842
|
return L(), n = f, o = {
|
|
5823
5843
|
start: {
|
|
5824
5844
|
line: P,
|
|
5825
5845
|
column: f - B
|
|
5826
5846
|
}
|
|
5827
|
-
},
|
|
5847
|
+
}, y = ot(), o.end = {
|
|
5828
5848
|
line: P,
|
|
5829
5849
|
column: f - B
|
|
5830
5850
|
}, F.tokenize || (F.tokens.length > 0 && (k = F.tokens[F.tokens.length - 1], k.range[0] === n && k.type === "Punctuator" && (k.value === "/" || k.value === "/=") && F.tokens.pop()), F.tokens.push({
|
|
5831
5851
|
type: "RegularExpression",
|
|
5832
|
-
value:
|
|
5852
|
+
value: y.literal,
|
|
5833
5853
|
range: [n, f],
|
|
5834
5854
|
loc: o
|
|
5835
|
-
})),
|
|
5855
|
+
})), y;
|
|
5836
5856
|
}
|
|
5837
5857
|
function ln(n) {
|
|
5838
5858
|
return n.type === p.Identifier || n.type === p.Keyword || n.type === p.BooleanLiteral || n.type === p.NullLiteral;
|
|
@@ -5843,25 +5863,25 @@ var Bn = {}, Rs = {
|
|
|
5843
5863
|
return et();
|
|
5844
5864
|
if (n.type === "Punctuator") {
|
|
5845
5865
|
if (n.value === "]")
|
|
5846
|
-
return
|
|
5866
|
+
return le();
|
|
5847
5867
|
if (n.value === ")")
|
|
5848
|
-
return o = F.tokens[F.openParenToken - 1], o && o.type === "Keyword" && (o.value === "if" || o.value === "while" || o.value === "for" || o.value === "with") ? et() :
|
|
5868
|
+
return o = F.tokens[F.openParenToken - 1], o && o.type === "Keyword" && (o.value === "if" || o.value === "while" || o.value === "for" || o.value === "with") ? et() : le();
|
|
5849
5869
|
if (n.value === "}") {
|
|
5850
5870
|
if (F.tokens[F.openCurlyToken - 3] && F.tokens[F.openCurlyToken - 3].type === "Keyword") {
|
|
5851
5871
|
if (o = F.tokens[F.openCurlyToken - 4], !o)
|
|
5852
|
-
return
|
|
5872
|
+
return le();
|
|
5853
5873
|
} else if (F.tokens[F.openCurlyToken - 4] && F.tokens[F.openCurlyToken - 4].type === "Keyword") {
|
|
5854
5874
|
if (o = F.tokens[F.openCurlyToken - 5], !o)
|
|
5855
5875
|
return et();
|
|
5856
5876
|
} else
|
|
5857
|
-
return
|
|
5858
|
-
return E.indexOf(o.value) >= 0 ?
|
|
5877
|
+
return le();
|
|
5878
|
+
return E.indexOf(o.value) >= 0 ? le() : et();
|
|
5859
5879
|
}
|
|
5860
5880
|
return et();
|
|
5861
5881
|
}
|
|
5862
|
-
return n.type === "Keyword" ? et() :
|
|
5882
|
+
return n.type === "Keyword" ? et() : le();
|
|
5863
5883
|
}
|
|
5864
|
-
function
|
|
5884
|
+
function It() {
|
|
5865
5885
|
var n;
|
|
5866
5886
|
return L(), f >= O ? {
|
|
5867
5887
|
type: p.EOF,
|
|
@@ -5869,47 +5889,47 @@ var Bn = {}, Rs = {
|
|
|
5869
5889
|
lineStart: B,
|
|
5870
5890
|
start: f,
|
|
5871
5891
|
end: f
|
|
5872
|
-
} : (n = g.charCodeAt(f), N(n) ? Oe() : n === 40 || n === 41 || n === 59 ?
|
|
5892
|
+
} : (n = g.charCodeAt(f), N(n) ? Oe() : n === 40 || n === 41 || n === 59 ? le() : n === 39 || n === 34 ? Le() : n === 46 ? ee(g.charCodeAt(f + 1)) ? De() : le() : ee(n) ? De() : F.tokenize && n === 47 ? cn() : le());
|
|
5873
5893
|
}
|
|
5874
5894
|
function R() {
|
|
5875
|
-
var n, o,
|
|
5895
|
+
var n, o, y;
|
|
5876
5896
|
return L(), n = {
|
|
5877
5897
|
start: {
|
|
5878
5898
|
line: P,
|
|
5879
5899
|
column: f - B
|
|
5880
5900
|
}
|
|
5881
|
-
}, o =
|
|
5901
|
+
}, o = It(), n.end = {
|
|
5882
5902
|
line: P,
|
|
5883
5903
|
column: f - B
|
|
5884
|
-
}, o.type !== p.EOF && (
|
|
5904
|
+
}, o.type !== p.EOF && (y = g.slice(o.start, o.end), F.tokens.push({
|
|
5885
5905
|
type: x[o.type],
|
|
5886
|
-
value:
|
|
5906
|
+
value: y,
|
|
5887
5907
|
range: [o.start, o.end],
|
|
5888
5908
|
loc: n
|
|
5889
5909
|
})), o;
|
|
5890
5910
|
}
|
|
5891
5911
|
function I() {
|
|
5892
5912
|
var n;
|
|
5893
|
-
return n =
|
|
5913
|
+
return n = m, f = n.end, P = n.lineNumber, B = n.lineStart, m = typeof F.tokens < "u" ? R() : It(), f = n.end, P = n.lineNumber, B = n.lineStart, n;
|
|
5894
5914
|
}
|
|
5895
5915
|
function z() {
|
|
5896
|
-
var n, o,
|
|
5897
|
-
n = f, o = P,
|
|
5916
|
+
var n, o, y;
|
|
5917
|
+
n = f, o = P, y = B, m = typeof F.tokens < "u" ? R() : It(), f = n, P = o, B = y;
|
|
5898
5918
|
}
|
|
5899
5919
|
function we(n, o) {
|
|
5900
5920
|
this.line = n, this.column = o;
|
|
5901
5921
|
}
|
|
5902
|
-
function se(n, o,
|
|
5903
|
-
this.start = new we(n, o), this.end = new we(
|
|
5922
|
+
function se(n, o, y, k) {
|
|
5923
|
+
this.start = new we(n, o), this.end = new we(y, k);
|
|
5904
5924
|
}
|
|
5905
5925
|
A = {
|
|
5906
5926
|
name: "SyntaxTree",
|
|
5907
5927
|
processComment: function(n) {
|
|
5908
|
-
var o,
|
|
5928
|
+
var o, y;
|
|
5909
5929
|
if (!(n.type === b.Program && n.body.length > 0)) {
|
|
5910
|
-
for (F.trailingComments.length > 0 ? F.trailingComments[0].range[0] >= n.range[1] ? (
|
|
5930
|
+
for (F.trailingComments.length > 0 ? F.trailingComments[0].range[0] >= n.range[1] ? (y = F.trailingComments, F.trailingComments = []) : F.trailingComments.length = 0 : F.bottomRightStack.length > 0 && F.bottomRightStack[F.bottomRightStack.length - 1].trailingComments && F.bottomRightStack[F.bottomRightStack.length - 1].trailingComments[0].range[0] >= n.range[1] && (y = F.bottomRightStack[F.bottomRightStack.length - 1].trailingComments, delete F.bottomRightStack[F.bottomRightStack.length - 1].trailingComments); F.bottomRightStack.length > 0 && F.bottomRightStack[F.bottomRightStack.length - 1].range[0] >= n.range[0]; )
|
|
5911
5931
|
o = F.bottomRightStack.pop();
|
|
5912
|
-
o ? o.leadingComments && o.leadingComments[o.leadingComments.length - 1].range[1] <= n.range[0] && (n.leadingComments = o.leadingComments, delete o.leadingComments) : F.leadingComments.length > 0 && F.leadingComments[F.leadingComments.length - 1].range[1] <= n.range[0] && (n.leadingComments = F.leadingComments, F.leadingComments = []),
|
|
5932
|
+
o ? o.leadingComments && o.leadingComments[o.leadingComments.length - 1].range[1] <= n.range[0] && (n.leadingComments = o.leadingComments, delete o.leadingComments) : F.leadingComments.length > 0 && F.leadingComments[F.leadingComments.length - 1].range[1] <= n.range[0] && (n.leadingComments = F.leadingComments, F.leadingComments = []), y && (n.trailingComments = y), F.bottomRightStack.push(n);
|
|
5913
5933
|
}
|
|
5914
5934
|
},
|
|
5915
5935
|
markEnd: function(n, o) {
|
|
@@ -5929,21 +5949,21 @@ var Bn = {}, Rs = {
|
|
|
5929
5949
|
elements: n
|
|
5930
5950
|
};
|
|
5931
5951
|
},
|
|
5932
|
-
createAssignmentExpression: function(n, o,
|
|
5952
|
+
createAssignmentExpression: function(n, o, y) {
|
|
5933
5953
|
return {
|
|
5934
5954
|
type: b.AssignmentExpression,
|
|
5935
5955
|
operator: n,
|
|
5936
5956
|
left: o,
|
|
5937
|
-
right:
|
|
5957
|
+
right: y
|
|
5938
5958
|
};
|
|
5939
5959
|
},
|
|
5940
|
-
createBinaryExpression: function(n, o,
|
|
5960
|
+
createBinaryExpression: function(n, o, y) {
|
|
5941
5961
|
var k = n === "||" || n === "&&" ? b.LogicalExpression : b.BinaryExpression;
|
|
5942
5962
|
return {
|
|
5943
5963
|
type: k,
|
|
5944
5964
|
operator: n,
|
|
5945
5965
|
left: o,
|
|
5946
|
-
right:
|
|
5966
|
+
right: y
|
|
5947
5967
|
};
|
|
5948
5968
|
},
|
|
5949
5969
|
createBlockStatement: function(n) {
|
|
@@ -5972,12 +5992,12 @@ var Bn = {}, Rs = {
|
|
|
5972
5992
|
body: o
|
|
5973
5993
|
};
|
|
5974
5994
|
},
|
|
5975
|
-
createConditionalExpression: function(n, o,
|
|
5995
|
+
createConditionalExpression: function(n, o, y) {
|
|
5976
5996
|
return {
|
|
5977
5997
|
type: b.ConditionalExpression,
|
|
5978
5998
|
test: n,
|
|
5979
5999
|
consequent: o,
|
|
5980
|
-
alternate:
|
|
6000
|
+
alternate: y
|
|
5981
6001
|
};
|
|
5982
6002
|
},
|
|
5983
6003
|
createContinueStatement: function(n) {
|
|
@@ -6009,42 +6029,42 @@ var Bn = {}, Rs = {
|
|
|
6009
6029
|
expression: n
|
|
6010
6030
|
};
|
|
6011
6031
|
},
|
|
6012
|
-
createForStatement: function(n, o,
|
|
6032
|
+
createForStatement: function(n, o, y, k) {
|
|
6013
6033
|
return {
|
|
6014
6034
|
type: b.ForStatement,
|
|
6015
6035
|
init: n,
|
|
6016
6036
|
test: o,
|
|
6017
|
-
update:
|
|
6037
|
+
update: y,
|
|
6018
6038
|
body: k
|
|
6019
6039
|
};
|
|
6020
6040
|
},
|
|
6021
|
-
createForInStatement: function(n, o,
|
|
6041
|
+
createForInStatement: function(n, o, y) {
|
|
6022
6042
|
return {
|
|
6023
6043
|
type: b.ForInStatement,
|
|
6024
6044
|
left: n,
|
|
6025
6045
|
right: o,
|
|
6026
|
-
body:
|
|
6046
|
+
body: y,
|
|
6027
6047
|
each: !1
|
|
6028
6048
|
};
|
|
6029
6049
|
},
|
|
6030
|
-
createFunctionDeclaration: function(n, o,
|
|
6050
|
+
createFunctionDeclaration: function(n, o, y, k) {
|
|
6031
6051
|
return {
|
|
6032
6052
|
type: b.FunctionDeclaration,
|
|
6033
6053
|
id: n,
|
|
6034
6054
|
params: o,
|
|
6035
|
-
defaults:
|
|
6055
|
+
defaults: y,
|
|
6036
6056
|
body: k,
|
|
6037
6057
|
rest: null,
|
|
6038
6058
|
generator: !1,
|
|
6039
6059
|
expression: !1
|
|
6040
6060
|
};
|
|
6041
6061
|
},
|
|
6042
|
-
createFunctionExpression: function(n, o,
|
|
6062
|
+
createFunctionExpression: function(n, o, y, k) {
|
|
6043
6063
|
return {
|
|
6044
6064
|
type: b.FunctionExpression,
|
|
6045
6065
|
id: n,
|
|
6046
6066
|
params: o,
|
|
6047
|
-
defaults:
|
|
6067
|
+
defaults: y,
|
|
6048
6068
|
body: k,
|
|
6049
6069
|
rest: null,
|
|
6050
6070
|
generator: !1,
|
|
@@ -6057,12 +6077,12 @@ var Bn = {}, Rs = {
|
|
|
6057
6077
|
name: n
|
|
6058
6078
|
};
|
|
6059
6079
|
},
|
|
6060
|
-
createIfStatement: function(n, o,
|
|
6080
|
+
createIfStatement: function(n, o, y) {
|
|
6061
6081
|
return {
|
|
6062
6082
|
type: b.IfStatement,
|
|
6063
6083
|
test: n,
|
|
6064
6084
|
consequent: o,
|
|
6065
|
-
alternate:
|
|
6085
|
+
alternate: y
|
|
6066
6086
|
};
|
|
6067
6087
|
},
|
|
6068
6088
|
createLabeledStatement: function(n, o) {
|
|
@@ -6079,12 +6099,12 @@ var Bn = {}, Rs = {
|
|
|
6079
6099
|
raw: g.slice(n.start, n.end)
|
|
6080
6100
|
};
|
|
6081
6101
|
},
|
|
6082
|
-
createMemberExpression: function(n, o,
|
|
6102
|
+
createMemberExpression: function(n, o, y) {
|
|
6083
6103
|
return {
|
|
6084
6104
|
type: b.MemberExpression,
|
|
6085
6105
|
computed: n === "[",
|
|
6086
6106
|
object: o,
|
|
6087
|
-
property:
|
|
6107
|
+
property: y
|
|
6088
6108
|
};
|
|
6089
6109
|
},
|
|
6090
6110
|
createNewExpression: function(n, o) {
|
|
@@ -6114,11 +6134,11 @@ var Bn = {}, Rs = {
|
|
|
6114
6134
|
body: n
|
|
6115
6135
|
};
|
|
6116
6136
|
},
|
|
6117
|
-
createProperty: function(n, o,
|
|
6137
|
+
createProperty: function(n, o, y) {
|
|
6118
6138
|
return {
|
|
6119
6139
|
type: b.Property,
|
|
6120
6140
|
key: o,
|
|
6121
|
-
value:
|
|
6141
|
+
value: y,
|
|
6122
6142
|
kind: n
|
|
6123
6143
|
};
|
|
6124
6144
|
},
|
|
@@ -6159,12 +6179,12 @@ var Bn = {}, Rs = {
|
|
|
6159
6179
|
argument: n
|
|
6160
6180
|
};
|
|
6161
6181
|
},
|
|
6162
|
-
createTryStatement: function(n, o,
|
|
6182
|
+
createTryStatement: function(n, o, y, k) {
|
|
6163
6183
|
return {
|
|
6164
6184
|
type: b.TryStatement,
|
|
6165
6185
|
block: n,
|
|
6166
6186
|
guardedHandlers: o,
|
|
6167
|
-
handlers:
|
|
6187
|
+
handlers: y,
|
|
6168
6188
|
finalizer: k
|
|
6169
6189
|
};
|
|
6170
6190
|
},
|
|
@@ -6211,19 +6231,19 @@ var Bn = {}, Rs = {
|
|
|
6211
6231
|
}
|
|
6212
6232
|
};
|
|
6213
6233
|
function he() {
|
|
6214
|
-
var n, o,
|
|
6215
|
-
return n = f, o = P,
|
|
6234
|
+
var n, o, y, k;
|
|
6235
|
+
return n = f, o = P, y = B, L(), k = P !== o, f = n, P = o, B = y, k;
|
|
6216
6236
|
}
|
|
6217
6237
|
function ie(n, o) {
|
|
6218
|
-
var
|
|
6238
|
+
var y, k = Array.prototype.slice.call(arguments, 2), M = o.replace(
|
|
6219
6239
|
/%(\d)/g,
|
|
6220
6240
|
function(G, oe) {
|
|
6221
6241
|
return V(oe < k.length, "Message reference must be in range"), k[oe];
|
|
6222
6242
|
}
|
|
6223
6243
|
);
|
|
6224
|
-
throw typeof n.lineNumber == "number" ? (
|
|
6244
|
+
throw typeof n.lineNumber == "number" ? (y = new Error("Line " + n.lineNumber + ": " + M), y.index = n.start, y.lineNumber = n.lineNumber, y.column = n.start - B + 1) : (y = new Error("Line " + P + ": " + M), y.index = f, y.lineNumber = P, y.column = f - B + 1), y.description = M, y;
|
|
6225
6245
|
}
|
|
6226
|
-
function
|
|
6246
|
+
function ce() {
|
|
6227
6247
|
try {
|
|
6228
6248
|
ie.apply(null, arguments);
|
|
6229
6249
|
} catch (n) {
|
|
@@ -6238,7 +6258,7 @@ var Bn = {}, Rs = {
|
|
|
6238
6258
|
if (q(n.value))
|
|
6239
6259
|
ie(n, d.UnexpectedReserved);
|
|
6240
6260
|
else if (D && $(n.value)) {
|
|
6241
|
-
|
|
6261
|
+
ce(n, d.StrictReservedWord);
|
|
6242
6262
|
return;
|
|
6243
6263
|
}
|
|
6244
6264
|
ie(n, d.UnexpectedToken, n.value);
|
|
@@ -6254,14 +6274,14 @@ var Bn = {}, Rs = {
|
|
|
6254
6274
|
(o.type !== p.Keyword || o.value !== n) && je(o);
|
|
6255
6275
|
}
|
|
6256
6276
|
function Z(n) {
|
|
6257
|
-
return
|
|
6277
|
+
return m.type === p.Punctuator && m.value === n;
|
|
6258
6278
|
}
|
|
6259
6279
|
function ke(n) {
|
|
6260
|
-
return
|
|
6280
|
+
return m.type === p.Keyword && m.value === n;
|
|
6261
6281
|
}
|
|
6262
6282
|
function ct() {
|
|
6263
6283
|
var n;
|
|
6264
|
-
return
|
|
6284
|
+
return m.type !== p.Punctuator ? !1 : (n = m.value, n === "=" || n === "*=" || n === "/=" || n === "%=" || n === "+=" || n === "-=" || n === "<<=" || n === ">>=" || n === ">>>=" || n === "&=" || n === "^=" || n === "|=");
|
|
6265
6285
|
}
|
|
6266
6286
|
function Me() {
|
|
6267
6287
|
var n;
|
|
@@ -6269,38 +6289,38 @@ var Bn = {}, Rs = {
|
|
|
6269
6289
|
I();
|
|
6270
6290
|
return;
|
|
6271
6291
|
}
|
|
6272
|
-
n = P, L(), P === n &&
|
|
6292
|
+
n = P, L(), P === n && m.type !== p.EOF && !Z("}") && je(m);
|
|
6273
6293
|
}
|
|
6274
|
-
function
|
|
6294
|
+
function Pt(n) {
|
|
6275
6295
|
return n.type === b.Identifier || n.type === b.MemberExpression;
|
|
6276
6296
|
}
|
|
6277
6297
|
function kr() {
|
|
6278
6298
|
var n = [], o;
|
|
6279
|
-
for (o =
|
|
6299
|
+
for (o = m, re("["); !Z("]"); )
|
|
6280
6300
|
Z(",") ? (I(), n.push(null)) : (n.push(qe()), Z("]") || re(","));
|
|
6281
6301
|
return I(), h.markEnd(h.createArrayExpression(n), o);
|
|
6282
6302
|
}
|
|
6283
6303
|
function Ut(n, o) {
|
|
6284
|
-
var
|
|
6285
|
-
return
|
|
6304
|
+
var y, k, M;
|
|
6305
|
+
return y = D, M = m, k = $t(), o && D && U(n[0].name) && ce(o, d.StrictParamName), D = y, h.markEnd(h.createFunctionExpression(null, n, [], k), M);
|
|
6286
6306
|
}
|
|
6287
|
-
function
|
|
6307
|
+
function Lt() {
|
|
6288
6308
|
var n, o;
|
|
6289
|
-
return o =
|
|
6309
|
+
return o = m, n = I(), n.type === p.StringLiteral || n.type === p.NumericLiteral ? (D && n.octal && ce(n, d.StrictOctalLiteral), h.markEnd(h.createLiteral(n), o)) : h.markEnd(h.createIdentifier(n.value), o);
|
|
6290
6310
|
}
|
|
6291
6311
|
function Br() {
|
|
6292
|
-
var n, o,
|
|
6293
|
-
if (n =
|
|
6294
|
-
return
|
|
6312
|
+
var n, o, y, k, M, G;
|
|
6313
|
+
if (n = m, G = m, n.type === p.Identifier)
|
|
6314
|
+
return y = Lt(), n.value === "get" && !Z(":") ? (o = Lt(), re("("), re(")"), k = Ut([]), h.markEnd(h.createProperty("get", o, k), G)) : n.value === "set" && !Z(":") ? (o = Lt(), re("("), n = m, n.type !== p.Identifier ? (re(")"), ce(n, d.UnexpectedToken, n.value), k = Ut([])) : (M = [tt()], re(")"), k = Ut(M, n)), h.markEnd(h.createProperty("set", o, k), G)) : (re(":"), k = qe(), h.markEnd(h.createProperty("init", y, k), G));
|
|
6295
6315
|
if (n.type === p.EOF || n.type === p.Punctuator)
|
|
6296
6316
|
je(n);
|
|
6297
6317
|
else
|
|
6298
|
-
return o =
|
|
6318
|
+
return o = Lt(), re(":"), k = qe(), h.markEnd(h.createProperty("init", o, k), G);
|
|
6299
6319
|
}
|
|
6300
6320
|
function _r() {
|
|
6301
|
-
var n = [], o,
|
|
6302
|
-
for (Ee =
|
|
6303
|
-
o = Br(), o.key.type === b.Identifier ?
|
|
6321
|
+
var n = [], o, y, k, M, G = {}, oe = String, Ee;
|
|
6322
|
+
for (Ee = m, re("{"); !Z("}"); )
|
|
6323
|
+
o = Br(), o.key.type === b.Identifier ? y = o.key.name : y = oe(o.key.value), M = o.kind === "init" ? v.Data : o.kind === "get" ? v.Get : v.Set, k = "$" + y, Object.prototype.hasOwnProperty.call(G, k) ? (G[k] === v.Data ? D && M === v.Data ? ce({}, d.StrictDuplicateProperty) : M !== v.Data && ce({}, d.AccessorDataProperty) : M === v.Data ? ce({}, d.AccessorDataProperty) : G[k] & M && ce({}, d.AccessorGetSet), G[k] |= M) : G[k] = M, n.push(o), Z("}") || re(",");
|
|
6304
6324
|
return re("}"), h.markEnd(h.createObjectExpression(n), Ee);
|
|
6305
6325
|
}
|
|
6306
6326
|
function Tr() {
|
|
@@ -6308,24 +6328,24 @@ var Bn = {}, Rs = {
|
|
|
6308
6328
|
return re("("), n = Be(), re(")"), n;
|
|
6309
6329
|
}
|
|
6310
6330
|
function fn() {
|
|
6311
|
-
var n, o,
|
|
6331
|
+
var n, o, y, k;
|
|
6312
6332
|
if (Z("("))
|
|
6313
6333
|
return Tr();
|
|
6314
6334
|
if (Z("["))
|
|
6315
6335
|
return kr();
|
|
6316
6336
|
if (Z("{"))
|
|
6317
6337
|
return _r();
|
|
6318
|
-
if (n =
|
|
6319
|
-
|
|
6338
|
+
if (n = m.type, k = m, n === p.Identifier)
|
|
6339
|
+
y = h.createIdentifier(I().value);
|
|
6320
6340
|
else if (n === p.StringLiteral || n === p.NumericLiteral)
|
|
6321
|
-
D &&
|
|
6341
|
+
D && m.octal && ce(m, d.StrictOctalLiteral), y = h.createLiteral(I());
|
|
6322
6342
|
else if (n === p.Keyword) {
|
|
6323
6343
|
if (ke("function"))
|
|
6324
6344
|
return ai();
|
|
6325
|
-
ke("this") ? (I(),
|
|
6345
|
+
ke("this") ? (I(), y = h.createThisExpression()) : je(I());
|
|
6326
6346
|
} else
|
|
6327
|
-
n === p.BooleanLiteral ? (o = I(), o.value = o.value === "true",
|
|
6328
|
-
return h.markEnd(
|
|
6347
|
+
n === p.BooleanLiteral ? (o = I(), o.value = o.value === "true", y = h.createLiteral(o)) : n === p.NullLiteral ? (o = I(), o.value = null, y = h.createLiteral(o)) : Z("/") || Z("/=") ? (typeof F.tokens < "u" ? y = h.createLiteral(et()) : y = h.createLiteral(ot()), z()) : je(I());
|
|
6348
|
+
return h.markEnd(y, k);
|
|
6329
6349
|
}
|
|
6330
6350
|
function pn() {
|
|
6331
6351
|
var n = [];
|
|
@@ -6336,7 +6356,7 @@ var Bn = {}, Rs = {
|
|
|
6336
6356
|
}
|
|
6337
6357
|
function Ir() {
|
|
6338
6358
|
var n, o;
|
|
6339
|
-
return o =
|
|
6359
|
+
return o = m, n = I(), ln(n) || je(n), h.markEnd(h.createIdentifier(n.value), o);
|
|
6340
6360
|
}
|
|
6341
6361
|
function dn() {
|
|
6342
6362
|
return re("."), Ir();
|
|
@@ -6345,17 +6365,17 @@ var Bn = {}, Rs = {
|
|
|
6345
6365
|
var n;
|
|
6346
6366
|
return re("["), n = Be(), re("]"), n;
|
|
6347
6367
|
}
|
|
6348
|
-
function
|
|
6349
|
-
var n, o,
|
|
6350
|
-
return
|
|
6368
|
+
function mn() {
|
|
6369
|
+
var n, o, y;
|
|
6370
|
+
return y = m, Se("new"), n = Lr(), o = Z("(") ? pn() : [], h.markEnd(h.createNewExpression(n, o), y);
|
|
6351
6371
|
}
|
|
6352
6372
|
function Pr() {
|
|
6353
|
-
var n, o,
|
|
6354
|
-
for (M =
|
|
6373
|
+
var n, o, y, k, M;
|
|
6374
|
+
for (M = m, n = S.allowIn, S.allowIn = !0, o = ke("new") ? mn() : fn(), S.allowIn = n; ; ) {
|
|
6355
6375
|
if (Z("."))
|
|
6356
6376
|
k = dn(), o = h.createMemberExpression(".", o, k);
|
|
6357
6377
|
else if (Z("("))
|
|
6358
|
-
|
|
6378
|
+
y = pn(), o = h.createCallExpression(o, y);
|
|
6359
6379
|
else if (Z("["))
|
|
6360
6380
|
k = hn(), o = h.createMemberExpression("[", o, k);
|
|
6361
6381
|
else
|
|
@@ -6365,95 +6385,95 @@ var Bn = {}, Rs = {
|
|
|
6365
6385
|
return o;
|
|
6366
6386
|
}
|
|
6367
6387
|
function Lr() {
|
|
6368
|
-
var n, o,
|
|
6369
|
-
for (k =
|
|
6370
|
-
Z("[") ? (
|
|
6388
|
+
var n, o, y, k;
|
|
6389
|
+
for (k = m, n = S.allowIn, o = ke("new") ? mn() : fn(), S.allowIn = n; Z(".") || Z("["); )
|
|
6390
|
+
Z("[") ? (y = hn(), o = h.createMemberExpression("[", o, y)) : (y = dn(), o = h.createMemberExpression(".", o, y)), h.markEnd(o, k);
|
|
6371
6391
|
return o;
|
|
6372
6392
|
}
|
|
6373
|
-
function
|
|
6374
|
-
var n, o,
|
|
6375
|
-
return n = Pr(),
|
|
6393
|
+
function yn() {
|
|
6394
|
+
var n, o, y = m;
|
|
6395
|
+
return n = Pr(), m.type === p.Punctuator && (Z("++") || Z("--")) && !he() && (D && n.type === b.Identifier && U(n.name) && ce({}, d.StrictLHSPostfix), Pt(n) || ce({}, d.InvalidLHSInAssignment), o = I(), n = h.markEnd(h.createPostfixExpression(o.value, n), y)), n;
|
|
6376
6396
|
}
|
|
6377
6397
|
function ft() {
|
|
6378
|
-
var n, o,
|
|
6379
|
-
return
|
|
6398
|
+
var n, o, y;
|
|
6399
|
+
return m.type !== p.Punctuator && m.type !== p.Keyword ? o = yn() : Z("++") || Z("--") ? (y = m, n = I(), o = ft(), D && o.type === b.Identifier && U(o.name) && ce({}, d.StrictLHSPrefix), Pt(o) || ce({}, d.InvalidLHSInAssignment), o = h.createUnaryExpression(n.value, o), o = h.markEnd(o, y)) : Z("+") || Z("-") || Z("~") || Z("!") ? (y = m, n = I(), o = ft(), o = h.createUnaryExpression(n.value, o), o = h.markEnd(o, y)) : ke("delete") || ke("void") || ke("typeof") ? (y = m, n = I(), o = ft(), o = h.createUnaryExpression(n.value, o), o = h.markEnd(o, y), D && o.operator === "delete" && o.argument.type === b.Identifier && ce({}, d.StrictDelete)) : o = yn(), o;
|
|
6380
6400
|
}
|
|
6381
6401
|
function wn(n, o) {
|
|
6382
|
-
var
|
|
6402
|
+
var y = 0;
|
|
6383
6403
|
if (n.type !== p.Punctuator && n.type !== p.Keyword)
|
|
6384
6404
|
return 0;
|
|
6385
6405
|
switch (n.value) {
|
|
6386
6406
|
case "||":
|
|
6387
|
-
|
|
6407
|
+
y = 1;
|
|
6388
6408
|
break;
|
|
6389
6409
|
case "&&":
|
|
6390
|
-
|
|
6410
|
+
y = 2;
|
|
6391
6411
|
break;
|
|
6392
6412
|
case "|":
|
|
6393
|
-
|
|
6413
|
+
y = 3;
|
|
6394
6414
|
break;
|
|
6395
6415
|
case "^":
|
|
6396
|
-
|
|
6416
|
+
y = 4;
|
|
6397
6417
|
break;
|
|
6398
6418
|
case "&":
|
|
6399
|
-
|
|
6419
|
+
y = 5;
|
|
6400
6420
|
break;
|
|
6401
6421
|
case "==":
|
|
6402
6422
|
case "!=":
|
|
6403
6423
|
case "===":
|
|
6404
6424
|
case "!==":
|
|
6405
|
-
|
|
6425
|
+
y = 6;
|
|
6406
6426
|
break;
|
|
6407
6427
|
case "<":
|
|
6408
6428
|
case ">":
|
|
6409
6429
|
case "<=":
|
|
6410
6430
|
case ">=":
|
|
6411
6431
|
case "instanceof":
|
|
6412
|
-
|
|
6432
|
+
y = 7;
|
|
6413
6433
|
break;
|
|
6414
6434
|
case "in":
|
|
6415
|
-
|
|
6435
|
+
y = o ? 7 : 0;
|
|
6416
6436
|
break;
|
|
6417
6437
|
case "<<":
|
|
6418
6438
|
case ">>":
|
|
6419
6439
|
case ">>>":
|
|
6420
|
-
|
|
6440
|
+
y = 8;
|
|
6421
6441
|
break;
|
|
6422
6442
|
case "+":
|
|
6423
6443
|
case "-":
|
|
6424
|
-
|
|
6444
|
+
y = 9;
|
|
6425
6445
|
break;
|
|
6426
6446
|
case "*":
|
|
6427
6447
|
case "/":
|
|
6428
6448
|
case "%":
|
|
6429
|
-
|
|
6449
|
+
y = 11;
|
|
6430
6450
|
break;
|
|
6431
6451
|
}
|
|
6432
|
-
return
|
|
6452
|
+
return y;
|
|
6433
6453
|
}
|
|
6434
6454
|
function Nr() {
|
|
6435
|
-
var n, o,
|
|
6436
|
-
if (n =
|
|
6455
|
+
var n, o, y, k, M, G, oe, Ee, Ie, _e;
|
|
6456
|
+
if (n = m, Ie = ft(), k = m, M = wn(k, S.allowIn), M === 0)
|
|
6437
6457
|
return Ie;
|
|
6438
|
-
for (k.prec = M, I(), o = [n,
|
|
6458
|
+
for (k.prec = M, I(), o = [n, m], oe = ft(), G = [Ie, k, oe]; (M = wn(m, S.allowIn)) > 0; ) {
|
|
6439
6459
|
for (; G.length > 2 && M <= G[G.length - 2].prec; )
|
|
6440
|
-
oe = G.pop(), Ee = G.pop().value, Ie = G.pop(),
|
|
6441
|
-
k = I(), k.prec = M, G.push(k), o.push(
|
|
6460
|
+
oe = G.pop(), Ee = G.pop().value, Ie = G.pop(), y = h.createBinaryExpression(Ee, Ie, oe), o.pop(), n = o[o.length - 1], h.markEnd(y, n), G.push(y);
|
|
6461
|
+
k = I(), k.prec = M, G.push(k), o.push(m), y = ft(), G.push(y);
|
|
6442
6462
|
}
|
|
6443
|
-
for (_e = G.length - 1,
|
|
6444
|
-
|
|
6445
|
-
return
|
|
6463
|
+
for (_e = G.length - 1, y = G[_e], o.pop(); _e > 1; )
|
|
6464
|
+
y = h.createBinaryExpression(G[_e - 1].value, G[_e - 2], y), _e -= 2, n = o.pop(), h.markEnd(y, n);
|
|
6465
|
+
return y;
|
|
6446
6466
|
}
|
|
6447
6467
|
function Rr() {
|
|
6448
|
-
var n, o,
|
|
6449
|
-
return M =
|
|
6468
|
+
var n, o, y, k, M;
|
|
6469
|
+
return M = m, n = Nr(), Z("?") && (I(), o = S.allowIn, S.allowIn = !0, y = qe(), S.allowIn = o, re(":"), k = qe(), n = h.createConditionalExpression(n, y, k), h.markEnd(n, M)), n;
|
|
6450
6470
|
}
|
|
6451
6471
|
function qe() {
|
|
6452
|
-
var n, o,
|
|
6453
|
-
return n =
|
|
6472
|
+
var n, o, y, k, M;
|
|
6473
|
+
return n = m, M = m, k = o = Rr(), ct() && (Pt(o) || ce({}, d.InvalidLHSInAssignment), D && o.type === b.Identifier && U(o.name) && ce(n, d.StrictLHSAssignment), n = I(), y = qe(), k = h.markEnd(h.createAssignmentExpression(n.value, o, y), M)), k;
|
|
6454
6474
|
}
|
|
6455
6475
|
function Be() {
|
|
6456
|
-
var n, o =
|
|
6476
|
+
var n, o = m;
|
|
6457
6477
|
if (n = qe(), Z(",")) {
|
|
6458
6478
|
for (n = h.createSequenceExpression([n]); f < O && Z(","); )
|
|
6459
6479
|
I(), n.expressions.push(qe());
|
|
@@ -6466,17 +6486,17 @@ var Bn = {}, Rs = {
|
|
|
6466
6486
|
n.push(o);
|
|
6467
6487
|
return n;
|
|
6468
6488
|
}
|
|
6469
|
-
function
|
|
6489
|
+
function Nt() {
|
|
6470
6490
|
var n, o;
|
|
6471
|
-
return o =
|
|
6491
|
+
return o = m, re("{"), n = Mr(), re("}"), h.markEnd(h.createBlockStatement(n), o);
|
|
6472
6492
|
}
|
|
6473
6493
|
function tt() {
|
|
6474
6494
|
var n, o;
|
|
6475
|
-
return o =
|
|
6495
|
+
return o = m, n = I(), n.type !== p.Identifier && je(n), h.markEnd(h.createIdentifier(n.value), o);
|
|
6476
6496
|
}
|
|
6477
6497
|
function jr(n) {
|
|
6478
|
-
var o = null,
|
|
6479
|
-
return k =
|
|
6498
|
+
var o = null, y, k;
|
|
6499
|
+
return k = m, y = tt(), D && U(y.name) && ce({}, d.StrictVarName), n === "const" ? (re("="), o = qe()) : Z("=") && (I(), o = qe()), h.markEnd(h.createVariableDeclarator(y, o), k);
|
|
6480
6500
|
}
|
|
6481
6501
|
function Ht(n) {
|
|
6482
6502
|
var o = [];
|
|
@@ -6492,8 +6512,8 @@ var Bn = {}, Rs = {
|
|
|
6492
6512
|
return Se("var"), n = Ht(), Me(), h.createVariableDeclaration(n, "var");
|
|
6493
6513
|
}
|
|
6494
6514
|
function Hr(n) {
|
|
6495
|
-
var o,
|
|
6496
|
-
return
|
|
6515
|
+
var o, y;
|
|
6516
|
+
return y = m, Se(n), o = Ht(n), Me(), h.markEnd(h.createVariableDeclaration(o, n), y);
|
|
6497
6517
|
}
|
|
6498
6518
|
function $r() {
|
|
6499
6519
|
return re(";"), h.createEmptyStatement();
|
|
@@ -6503,53 +6523,53 @@ var Bn = {}, Rs = {
|
|
|
6503
6523
|
return Me(), h.createExpressionStatement(n);
|
|
6504
6524
|
}
|
|
6505
6525
|
function zr() {
|
|
6506
|
-
var n, o,
|
|
6507
|
-
return Se("if"), re("("), n = Be(), re(")"), o = Je(), ke("else") ? (I(),
|
|
6526
|
+
var n, o, y;
|
|
6527
|
+
return Se("if"), re("("), n = Be(), re(")"), o = Je(), ke("else") ? (I(), y = Je()) : y = null, h.createIfStatement(n, o, y);
|
|
6508
6528
|
}
|
|
6509
6529
|
function Kr() {
|
|
6510
|
-
var n, o,
|
|
6511
|
-
return Se("do"),
|
|
6530
|
+
var n, o, y;
|
|
6531
|
+
return Se("do"), y = S.inIteration, S.inIteration = !0, n = Je(), S.inIteration = y, Se("while"), re("("), o = Be(), re(")"), Z(";") && I(), h.createDoWhileStatement(n, o);
|
|
6512
6532
|
}
|
|
6513
6533
|
function Gr() {
|
|
6514
|
-
var n, o,
|
|
6515
|
-
return Se("while"), re("("), n = Be(), re(")"),
|
|
6534
|
+
var n, o, y;
|
|
6535
|
+
return Se("while"), re("("), n = Be(), re(")"), y = S.inIteration, S.inIteration = !0, o = Je(), S.inIteration = y, h.createWhileStatement(n, o);
|
|
6516
6536
|
}
|
|
6517
6537
|
function Vr() {
|
|
6518
|
-
var n, o,
|
|
6519
|
-
return
|
|
6538
|
+
var n, o, y;
|
|
6539
|
+
return y = m, n = I(), o = Ht(), h.markEnd(h.createVariableDeclaration(o, n.value), y);
|
|
6520
6540
|
}
|
|
6521
6541
|
function qr() {
|
|
6522
|
-
var n, o,
|
|
6523
|
-
return n = o =
|
|
6542
|
+
var n, o, y, k, M, G, oe;
|
|
6543
|
+
return n = o = y = null, Se("for"), re("("), Z(";") ? I() : (ke("var") || ke("let") ? (S.allowIn = !1, n = Vr(), S.allowIn = !0, n.declarations.length === 1 && ke("in") && (I(), k = n, M = Be(), n = null)) : (S.allowIn = !1, n = Be(), S.allowIn = !0, ke("in") && (Pt(n) || ce({}, d.InvalidLHSInForIn), I(), k = n, M = Be(), n = null)), typeof k > "u" && re(";")), typeof k > "u" && (Z(";") || (o = Be()), re(";"), Z(")") || (y = Be())), re(")"), oe = S.inIteration, S.inIteration = !0, G = Je(), S.inIteration = oe, typeof k > "u" ? h.createForStatement(n, o, y, G) : h.createForInStatement(k, M, G);
|
|
6524
6544
|
}
|
|
6525
6545
|
function Xr() {
|
|
6526
6546
|
var n = null, o;
|
|
6527
|
-
return Se("continue"), g.charCodeAt(f) === 59 ? (I(), S.inIteration || ie({}, d.IllegalContinue), h.createContinueStatement(null)) : he() ? (S.inIteration || ie({}, d.IllegalContinue), h.createContinueStatement(null)) : (
|
|
6547
|
+
return Se("continue"), g.charCodeAt(f) === 59 ? (I(), S.inIteration || ie({}, d.IllegalContinue), h.createContinueStatement(null)) : he() ? (S.inIteration || ie({}, d.IllegalContinue), h.createContinueStatement(null)) : (m.type === p.Identifier && (n = tt(), o = "$" + n.name, Object.prototype.hasOwnProperty.call(S.labelSet, o) || ie({}, d.UnknownLabel, n.name)), Me(), n === null && !S.inIteration && ie({}, d.IllegalContinue), h.createContinueStatement(n));
|
|
6528
6548
|
}
|
|
6529
6549
|
function Jr() {
|
|
6530
6550
|
var n = null, o;
|
|
6531
|
-
return Se("break"), g.charCodeAt(f) === 59 ? (I(), S.inIteration || S.inSwitch || ie({}, d.IllegalBreak), h.createBreakStatement(null)) : he() ? (S.inIteration || S.inSwitch || ie({}, d.IllegalBreak), h.createBreakStatement(null)) : (
|
|
6551
|
+
return Se("break"), g.charCodeAt(f) === 59 ? (I(), S.inIteration || S.inSwitch || ie({}, d.IllegalBreak), h.createBreakStatement(null)) : he() ? (S.inIteration || S.inSwitch || ie({}, d.IllegalBreak), h.createBreakStatement(null)) : (m.type === p.Identifier && (n = tt(), o = "$" + n.name, Object.prototype.hasOwnProperty.call(S.labelSet, o) || ie({}, d.UnknownLabel, n.name)), Me(), n === null && !(S.inIteration || S.inSwitch) && ie({}, d.IllegalBreak), h.createBreakStatement(n));
|
|
6532
6552
|
}
|
|
6533
6553
|
function Qr() {
|
|
6534
6554
|
var n = null;
|
|
6535
|
-
return Se("return"), S.inFunctionBody ||
|
|
6555
|
+
return Se("return"), S.inFunctionBody || ce({}, d.IllegalReturn), g.charCodeAt(f) === 32 && N(g.charCodeAt(f + 1)) ? (n = Be(), Me(), h.createReturnStatement(n)) : he() ? h.createReturnStatement(null) : (Z(";") || !Z("}") && m.type !== p.EOF && (n = Be()), Me(), h.createReturnStatement(n));
|
|
6536
6556
|
}
|
|
6537
6557
|
function Yr() {
|
|
6538
6558
|
var n, o;
|
|
6539
|
-
return D && (L(),
|
|
6559
|
+
return D && (L(), ce({}, d.StrictModeWith)), Se("with"), re("("), n = Be(), re(")"), o = Je(), h.createWithStatement(n, o);
|
|
6540
6560
|
}
|
|
6541
6561
|
function Zr() {
|
|
6542
|
-
var n, o = [],
|
|
6543
|
-
for (k =
|
|
6544
|
-
|
|
6562
|
+
var n, o = [], y, k;
|
|
6563
|
+
for (k = m, ke("default") ? (I(), n = null) : (Se("case"), n = Be()), re(":"); f < O && !(Z("}") || ke("default") || ke("case")); )
|
|
6564
|
+
y = Je(), o.push(y);
|
|
6545
6565
|
return h.markEnd(h.createSwitchCase(n, o), k);
|
|
6546
6566
|
}
|
|
6547
6567
|
function ei() {
|
|
6548
|
-
var n, o,
|
|
6568
|
+
var n, o, y, k, M;
|
|
6549
6569
|
if (Se("switch"), re("("), n = Be(), re(")"), re("{"), o = [], Z("}"))
|
|
6550
6570
|
return I(), h.createSwitchStatement(n, o);
|
|
6551
6571
|
for (k = S.inSwitch, S.inSwitch = !0, M = !1; f < O && !Z("}"); )
|
|
6552
|
-
|
|
6572
|
+
y = Zr(), y.test === null && (M && ie({}, d.MultipleDefaultsInSwitch), M = !0), o.push(y);
|
|
6553
6573
|
return S.inSwitch = k, re("}"), h.createSwitchStatement(n, o);
|
|
6554
6574
|
}
|
|
6555
6575
|
function ti() {
|
|
@@ -6557,29 +6577,29 @@ var Bn = {}, Rs = {
|
|
|
6557
6577
|
return Se("throw"), he() && ie({}, d.NewlineAfterThrow), n = Be(), Me(), h.createThrowStatement(n);
|
|
6558
6578
|
}
|
|
6559
6579
|
function ni() {
|
|
6560
|
-
var n, o,
|
|
6561
|
-
return
|
|
6580
|
+
var n, o, y;
|
|
6581
|
+
return y = m, Se("catch"), re("("), Z(")") && je(m), n = tt(), D && U(n.name) && ce({}, d.StrictCatchVariable), re(")"), o = Nt(), h.markEnd(h.createCatchClause(n, o), y);
|
|
6562
6582
|
}
|
|
6563
6583
|
function ri() {
|
|
6564
|
-
var n, o = [],
|
|
6565
|
-
return Se("try"), n =
|
|
6584
|
+
var n, o = [], y = null;
|
|
6585
|
+
return Se("try"), n = Nt(), ke("catch") && o.push(ni()), ke("finally") && (I(), y = Nt()), o.length === 0 && !y && ie({}, d.NoCatchOrFinally), h.createTryStatement(n, [], o, y);
|
|
6566
6586
|
}
|
|
6567
6587
|
function ii() {
|
|
6568
6588
|
return Se("debugger"), Me(), h.createDebuggerStatement();
|
|
6569
6589
|
}
|
|
6570
6590
|
function Je() {
|
|
6571
|
-
var n =
|
|
6572
|
-
if (n === p.EOF && je(
|
|
6573
|
-
return
|
|
6574
|
-
if (M =
|
|
6575
|
-
switch (
|
|
6591
|
+
var n = m.type, o, y, k, M;
|
|
6592
|
+
if (n === p.EOF && je(m), n === p.Punctuator && m.value === "{")
|
|
6593
|
+
return Nt();
|
|
6594
|
+
if (M = m, n === p.Punctuator)
|
|
6595
|
+
switch (m.value) {
|
|
6576
6596
|
case ";":
|
|
6577
6597
|
return h.markEnd($r(), M);
|
|
6578
6598
|
case "(":
|
|
6579
6599
|
return h.markEnd(Wr(), M);
|
|
6580
6600
|
}
|
|
6581
6601
|
if (n === p.Keyword)
|
|
6582
|
-
switch (
|
|
6602
|
+
switch (m.value) {
|
|
6583
6603
|
case "break":
|
|
6584
6604
|
return h.markEnd(Jr(), M);
|
|
6585
6605
|
case "continue":
|
|
@@ -6609,73 +6629,73 @@ var Bn = {}, Rs = {
|
|
|
6609
6629
|
case "with":
|
|
6610
6630
|
return h.markEnd(Yr(), M);
|
|
6611
6631
|
}
|
|
6612
|
-
return o = Be(), o.type === b.Identifier && Z(":") ? (I(), k = "$" + o.name, Object.prototype.hasOwnProperty.call(S.labelSet, k) && ie({}, d.Redeclaration, "Label", o.name), S.labelSet[k] = !0,
|
|
6632
|
+
return o = Be(), o.type === b.Identifier && Z(":") ? (I(), k = "$" + o.name, Object.prototype.hasOwnProperty.call(S.labelSet, k) && ie({}, d.Redeclaration, "Label", o.name), S.labelSet[k] = !0, y = Je(), delete S.labelSet[k], h.markEnd(h.createLabeledStatement(o, y), M)) : (Me(), h.markEnd(h.createExpressionStatement(o), M));
|
|
6613
6633
|
}
|
|
6614
6634
|
function $t() {
|
|
6615
|
-
var n, o = [],
|
|
6616
|
-
for (_e =
|
|
6617
|
-
k = g.slice(
|
|
6635
|
+
var n, o = [], y, k, M, G, oe, Ee, Ie, _e;
|
|
6636
|
+
for (_e = m, re("{"); f < O && !(m.type !== p.StringLiteral || (y = m, n = bt(), o.push(n), n.expression.type !== b.Literal)); )
|
|
6637
|
+
k = g.slice(y.start + 1, y.end - 1), k === "use strict" ? (D = !0, M && ce(M, d.StrictOctalLiteral)) : !M && y.octal && (M = y);
|
|
6618
6638
|
for (G = S.labelSet, oe = S.inIteration, Ee = S.inSwitch, Ie = S.inFunctionBody, S.labelSet = {}, S.inIteration = !1, S.inSwitch = !1, S.inFunctionBody = !0; f < O && !(Z("}") || (n = bt(), typeof n > "u")); )
|
|
6619
6639
|
o.push(n);
|
|
6620
6640
|
return re("}"), S.labelSet = G, S.inIteration = oe, S.inSwitch = Ee, S.inFunctionBody = Ie, h.markEnd(h.createBlockStatement(o), _e);
|
|
6621
6641
|
}
|
|
6622
6642
|
function vn(n) {
|
|
6623
|
-
var o,
|
|
6643
|
+
var o, y = [], k, M, G, oe, Ee;
|
|
6624
6644
|
if (re("("), !Z(")"))
|
|
6625
|
-
for (G = {}; f < O && (k =
|
|
6645
|
+
for (G = {}; f < O && (k = m, o = tt(), oe = "$" + k.value, D ? (U(k.value) && (M = k, Ee = d.StrictParamName), Object.prototype.hasOwnProperty.call(G, oe) && (M = k, Ee = d.StrictParamDupe)) : n || (U(k.value) ? (n = k, Ee = d.StrictParamName) : $(k.value) ? (n = k, Ee = d.StrictReservedWord) : Object.prototype.hasOwnProperty.call(G, oe) && (n = k, Ee = d.StrictParamDupe)), y.push(o), G[oe] = !0, !Z(")")); )
|
|
6626
6646
|
re(",");
|
|
6627
6647
|
return re(")"), {
|
|
6628
|
-
params:
|
|
6648
|
+
params: y,
|
|
6629
6649
|
stricted: M,
|
|
6630
6650
|
firstRestricted: n,
|
|
6631
6651
|
message: Ee
|
|
6632
6652
|
};
|
|
6633
6653
|
}
|
|
6634
6654
|
function gn() {
|
|
6635
|
-
var n, o = [],
|
|
6636
|
-
return _e =
|
|
6655
|
+
var n, o = [], y, k, M, G, oe, Ee, Ie, _e;
|
|
6656
|
+
return _e = m, Se("function"), k = m, n = tt(), D ? U(k.value) && ce(k, d.StrictFunctionName) : U(k.value) ? (oe = k, Ee = d.StrictFunctionName) : $(k.value) && (oe = k, Ee = d.StrictReservedWord), G = vn(oe), o = G.params, M = G.stricted, oe = G.firstRestricted, G.message && (Ee = G.message), Ie = D, y = $t(), D && oe && ie(oe, Ee), D && M && ce(M, Ee), D = Ie, h.markEnd(h.createFunctionDeclaration(n, o, [], y), _e);
|
|
6637
6657
|
}
|
|
6638
6658
|
function ai() {
|
|
6639
|
-
var n, o = null,
|
|
6640
|
-
return _e =
|
|
6659
|
+
var n, o = null, y, k, M, G, oe = [], Ee, Ie, _e;
|
|
6660
|
+
return _e = m, Se("function"), Z("(") || (n = m, o = tt(), D ? U(n.value) && ce(n, d.StrictFunctionName) : U(n.value) ? (k = n, M = d.StrictFunctionName) : $(n.value) && (k = n, M = d.StrictReservedWord)), G = vn(k), oe = G.params, y = G.stricted, k = G.firstRestricted, G.message && (M = G.message), Ie = D, Ee = $t(), D && k && ie(k, M), D && y && ce(y, M), D = Ie, h.markEnd(h.createFunctionExpression(o, oe, [], Ee), _e);
|
|
6641
6661
|
}
|
|
6642
6662
|
function bt() {
|
|
6643
|
-
if (
|
|
6644
|
-
switch (
|
|
6663
|
+
if (m.type === p.Keyword)
|
|
6664
|
+
switch (m.value) {
|
|
6645
6665
|
case "const":
|
|
6646
6666
|
case "let":
|
|
6647
|
-
return Hr(
|
|
6667
|
+
return Hr(m.value);
|
|
6648
6668
|
case "function":
|
|
6649
6669
|
return gn();
|
|
6650
6670
|
default:
|
|
6651
6671
|
return Je();
|
|
6652
6672
|
}
|
|
6653
|
-
if (
|
|
6673
|
+
if (m.type !== p.EOF)
|
|
6654
6674
|
return Je();
|
|
6655
6675
|
}
|
|
6656
6676
|
function si() {
|
|
6657
|
-
for (var n, o = [],
|
|
6658
|
-
k = g.slice(
|
|
6677
|
+
for (var n, o = [], y, k, M; f < O && (y = m, !(y.type !== p.StringLiteral || (n = bt(), o.push(n), n.expression.type !== b.Literal))); )
|
|
6678
|
+
k = g.slice(y.start + 1, y.end - 1), k === "use strict" ? (D = !0, M && ce(M, d.StrictOctalLiteral)) : !M && y.octal && (M = y);
|
|
6659
6679
|
for (; f < O && (n = bt(), !(typeof n > "u")); )
|
|
6660
6680
|
o.push(n);
|
|
6661
6681
|
return o;
|
|
6662
6682
|
}
|
|
6663
6683
|
function oi() {
|
|
6664
6684
|
var n, o;
|
|
6665
|
-
return L(), z(), o =
|
|
6685
|
+
return L(), z(), o = m, D = !1, n = si(), h.markEnd(h.createProgram(n), o);
|
|
6666
6686
|
}
|
|
6667
6687
|
function bn() {
|
|
6668
|
-
var n, o,
|
|
6688
|
+
var n, o, y, k = [];
|
|
6669
6689
|
for (n = 0; n < F.tokens.length; ++n)
|
|
6670
|
-
o = F.tokens[n],
|
|
6690
|
+
o = F.tokens[n], y = {
|
|
6671
6691
|
type: o.type,
|
|
6672
6692
|
value: o.value
|
|
6673
|
-
}, F.range && (
|
|
6693
|
+
}, F.range && (y.range = o.range), F.loc && (y.loc = o.loc), k.push(y);
|
|
6674
6694
|
F.tokens = k;
|
|
6675
6695
|
}
|
|
6676
6696
|
function ui(n, o) {
|
|
6677
|
-
var
|
|
6678
|
-
|
|
6697
|
+
var y, k, M;
|
|
6698
|
+
y = String, typeof n != "string" && !(n instanceof String) && (n = y(n)), h = A, g = n, f = 0, P = g.length > 0 ? 1 : 0, B = 0, O = g.length, m = null, S = {
|
|
6679
6699
|
allowIn: !0,
|
|
6680
6700
|
labelSet: {},
|
|
6681
6701
|
inFunctionBody: !1,
|
|
@@ -6684,13 +6704,13 @@ var Bn = {}, Rs = {
|
|
|
6684
6704
|
lastCommentStart: -1
|
|
6685
6705
|
}, 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 = []);
|
|
6686
6706
|
try {
|
|
6687
|
-
if (z(),
|
|
6707
|
+
if (z(), m.type === p.EOF)
|
|
6688
6708
|
return F.tokens;
|
|
6689
|
-
for (k = I();
|
|
6709
|
+
for (k = I(); m.type !== p.EOF; )
|
|
6690
6710
|
try {
|
|
6691
6711
|
k = I();
|
|
6692
6712
|
} catch (G) {
|
|
6693
|
-
if (k =
|
|
6713
|
+
if (k = m, F.errors) {
|
|
6694
6714
|
F.errors.push(G);
|
|
6695
6715
|
break;
|
|
6696
6716
|
} else
|
|
@@ -6705,8 +6725,8 @@ var Bn = {}, Rs = {
|
|
|
6705
6725
|
return M;
|
|
6706
6726
|
}
|
|
6707
6727
|
function li(n, o) {
|
|
6708
|
-
var
|
|
6709
|
-
k = String, typeof n != "string" && !(n instanceof String) && (n = k(n)), h = A, g = n, f = 0, P = g.length > 0 ? 1 : 0, B = 0, O = g.length,
|
|
6728
|
+
var y, k;
|
|
6729
|
+
k = String, typeof n != "string" && !(n instanceof String) && (n = k(n)), h = A, g = n, f = 0, P = g.length > 0 ? 1 : 0, B = 0, O = g.length, m = null, S = {
|
|
6710
6730
|
allowIn: !0,
|
|
6711
6731
|
labelSet: {},
|
|
6712
6732
|
inFunctionBody: !1,
|
|
@@ -6715,13 +6735,13 @@ var Bn = {}, Rs = {
|
|
|
6715
6735
|
lastCommentStart: -1
|
|
6716
6736
|
}, F = {}, typeof o < "u" && (F.range = typeof o.range == "boolean" && o.range, F.loc = typeof o.loc == "boolean" && o.loc, F.attachComment = typeof o.attachComment == "boolean" && o.attachComment, F.loc && o.source !== null && o.source !== void 0 && (F.source = k(o.source)), typeof o.tokens == "boolean" && o.tokens && (F.tokens = []), typeof o.comment == "boolean" && o.comment && (F.comments = []), typeof o.tolerant == "boolean" && o.tolerant && (F.errors = []), F.attachComment && (F.range = !0, F.comments = [], F.bottomRightStack = [], F.trailingComments = [], F.leadingComments = []));
|
|
6717
6737
|
try {
|
|
6718
|
-
|
|
6738
|
+
y = oi(), typeof F.comments < "u" && (y.comments = F.comments), typeof F.tokens < "u" && (bn(), y.tokens = F.tokens), typeof F.errors < "u" && (y.errors = F.errors);
|
|
6719
6739
|
} catch (M) {
|
|
6720
6740
|
throw M;
|
|
6721
6741
|
} finally {
|
|
6722
6742
|
F = {};
|
|
6723
6743
|
}
|
|
6724
|
-
return
|
|
6744
|
+
return y;
|
|
6725
6745
|
}
|
|
6726
6746
|
l.version = "1.2.2", l.tokenize = ui, l.parse = li, l.Syntax = function() {
|
|
6727
6747
|
var n, o = {};
|
|
@@ -6846,22 +6866,22 @@ var Bn = {}, Rs = {
|
|
|
6846
6866
|
throw new Error(w);
|
|
6847
6867
|
},
|
|
6848
6868
|
parse: function(w) {
|
|
6849
|
-
var A = this, g = [0], D = [null], f = [], P = this.table, B = "", O = 0, h = 0,
|
|
6869
|
+
var A = this, g = [0], D = [null], f = [], P = this.table, B = "", O = 0, h = 0, m = 2, S = 1, F = f.slice.call(arguments, 1);
|
|
6850
6870
|
this.lexer.setInput(w), this.lexer.yy = this.yy, this.yy.lexer = this.lexer, this.yy.parser = this, typeof this.lexer.yylloc > "u" && (this.lexer.yylloc = {});
|
|
6851
6871
|
var V = this.lexer.yylloc;
|
|
6852
6872
|
f.push(V);
|
|
6853
6873
|
var ee = this.lexer.options && this.lexer.options.ranges;
|
|
6854
6874
|
typeof this.yy.parseError == "function" ? this.parseError = this.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
6855
6875
|
function ae() {
|
|
6856
|
-
var
|
|
6857
|
-
return
|
|
6876
|
+
var pe;
|
|
6877
|
+
return pe = A.lexer.lex() || S, typeof pe != "number" && (pe = A.symbols_[pe] || pe), pe;
|
|
6858
6878
|
}
|
|
6859
6879
|
for (var J, Q, _, N, H = {}, q, $, U, W; ; ) {
|
|
6860
6880
|
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]) {
|
|
6861
6881
|
var Y = "";
|
|
6862
6882
|
W = [];
|
|
6863
6883
|
for (q in P[Q])
|
|
6864
|
-
this.terminals_[q] && q >
|
|
6884
|
+
this.terminals_[q] && q > m && W.push("'" + this.terminals_[q] + "'");
|
|
6865
6885
|
this.lexer.showPosition ? Y = "Parse error on line " + (O + 1) + `:
|
|
6866
6886
|
` + this.lexer.showPosition() + `
|
|
6867
6887
|
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, {
|
|
@@ -7257,31 +7277,31 @@ Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7257
7277
|
b.prototype.initialize = function() {
|
|
7258
7278
|
this.traverse = A(!0), this.descend = A();
|
|
7259
7279
|
}, b.prototype.keys = Object.keys, b.prototype.resolve = function(O) {
|
|
7260
|
-
var h = [O.operation, O.scope, O.expression.type].join("-"),
|
|
7261
|
-
if (!
|
|
7280
|
+
var h = [O.operation, O.scope, O.expression.type].join("-"), m = this._fns[h];
|
|
7281
|
+
if (!m)
|
|
7262
7282
|
throw new Error("couldn't resolve key: " + h);
|
|
7263
|
-
return
|
|
7283
|
+
return m.bind(this);
|
|
7264
7284
|
}, b.prototype.register = function(O, h) {
|
|
7265
7285
|
if (!h instanceof Function)
|
|
7266
7286
|
throw new Error("handler must be a function");
|
|
7267
7287
|
this._fns[O] = h;
|
|
7268
7288
|
}, b.prototype._fns = {
|
|
7269
7289
|
"member-child-identifier": function(O, h) {
|
|
7270
|
-
var
|
|
7271
|
-
if (S instanceof Object &&
|
|
7272
|
-
return [{ value: S[
|
|
7290
|
+
var m = O.expression.value, S = h.value;
|
|
7291
|
+
if (S instanceof Object && m in S)
|
|
7292
|
+
return [{ value: S[m], path: h.path.concat(m) }];
|
|
7273
7293
|
},
|
|
7274
|
-
"member-descendant-identifier": D(function(O, h,
|
|
7275
|
-
return O ==
|
|
7294
|
+
"member-descendant-identifier": D(function(O, h, m) {
|
|
7295
|
+
return O == m;
|
|
7276
7296
|
}),
|
|
7277
|
-
"subscript-child-numeric_literal": g(function(O, h,
|
|
7278
|
-
return O ===
|
|
7297
|
+
"subscript-child-numeric_literal": g(function(O, h, m) {
|
|
7298
|
+
return O === m;
|
|
7279
7299
|
}),
|
|
7280
|
-
"member-child-numeric_literal": g(function(O, h,
|
|
7281
|
-
return String(O) === String(
|
|
7300
|
+
"member-child-numeric_literal": g(function(O, h, m) {
|
|
7301
|
+
return String(O) === String(m);
|
|
7282
7302
|
}),
|
|
7283
|
-
"subscript-descendant-numeric_literal": D(function(O, h,
|
|
7284
|
-
return O ===
|
|
7303
|
+
"subscript-descendant-numeric_literal": D(function(O, h, m) {
|
|
7304
|
+
return O === m;
|
|
7285
7305
|
}),
|
|
7286
7306
|
"member-child-wildcard": g(function() {
|
|
7287
7307
|
return !0;
|
|
@@ -7297,55 +7317,55 @@ Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7297
7317
|
}),
|
|
7298
7318
|
"subscript-child-slice": function(O, h) {
|
|
7299
7319
|
if (d(h.value)) {
|
|
7300
|
-
var
|
|
7320
|
+
var m = O.expression.value.split(":").map(B), S = h.value.map(function(F, V) {
|
|
7301
7321
|
return { value: F, path: h.path.concat(V) };
|
|
7302
7322
|
});
|
|
7303
|
-
return p.apply(null, [S].concat(
|
|
7323
|
+
return p.apply(null, [S].concat(m));
|
|
7304
7324
|
}
|
|
7305
7325
|
},
|
|
7306
7326
|
"subscript-child-union": function(O, h) {
|
|
7307
|
-
var
|
|
7327
|
+
var m = [];
|
|
7308
7328
|
return O.expression.value.forEach(function(S) {
|
|
7309
7329
|
var F = { operation: "subscript", scope: "child", expression: S.expression }, V = this.resolve(F), ee = V(F, h);
|
|
7310
|
-
ee && (
|
|
7311
|
-
}, this), P(
|
|
7330
|
+
ee && (m = m.concat(ee));
|
|
7331
|
+
}, this), P(m);
|
|
7312
7332
|
},
|
|
7313
|
-
"subscript-descendant-union": function(O, h,
|
|
7333
|
+
"subscript-descendant-union": function(O, h, m) {
|
|
7314
7334
|
var S = i(".."), F = this, V = [], ee = S.nodes(h, "$..*").slice(1);
|
|
7315
7335
|
return ee.forEach(function(ae) {
|
|
7316
|
-
V.length >=
|
|
7336
|
+
V.length >= m || O.expression.value.forEach(function(J) {
|
|
7317
7337
|
var Q = { operation: "subscript", scope: "child", expression: J.expression }, _ = F.resolve(Q), N = _(Q, ae);
|
|
7318
7338
|
V = V.concat(N);
|
|
7319
7339
|
});
|
|
7320
7340
|
}), P(V);
|
|
7321
7341
|
},
|
|
7322
|
-
"subscript-child-filter_expression": function(O, h,
|
|
7342
|
+
"subscript-child-filter_expression": function(O, h, m) {
|
|
7323
7343
|
var S = O.expression.value.slice(2, -1), F = l.parse(S).body[0].expression, V = function(ee, ae) {
|
|
7324
7344
|
return f(F, { "@": ae });
|
|
7325
7345
|
};
|
|
7326
|
-
return this.descend(h, null, V,
|
|
7346
|
+
return this.descend(h, null, V, m);
|
|
7327
7347
|
},
|
|
7328
|
-
"subscript-descendant-filter_expression": function(O, h,
|
|
7348
|
+
"subscript-descendant-filter_expression": function(O, h, m) {
|
|
7329
7349
|
var S = O.expression.value.slice(2, -1), F = l.parse(S).body[0].expression, V = function(ee, ae) {
|
|
7330
7350
|
return f(F, { "@": ae });
|
|
7331
7351
|
};
|
|
7332
|
-
return this.traverse(h, null, V,
|
|
7352
|
+
return this.traverse(h, null, V, m);
|
|
7333
7353
|
},
|
|
7334
7354
|
"subscript-child-script_expression": function(O, h) {
|
|
7335
|
-
var
|
|
7336
|
-
return v(h,
|
|
7355
|
+
var m = O.expression.value.slice(1, -1);
|
|
7356
|
+
return v(h, m, "$[{{value}}]");
|
|
7337
7357
|
},
|
|
7338
7358
|
"member-child-script_expression": function(O, h) {
|
|
7339
|
-
var
|
|
7340
|
-
return v(h,
|
|
7359
|
+
var m = O.expression.value.slice(1, -1);
|
|
7360
|
+
return v(h, m, "$.{{value}}");
|
|
7341
7361
|
},
|
|
7342
7362
|
"member-descendant-script_expression": function(O, h) {
|
|
7343
|
-
var
|
|
7344
|
-
return v(h,
|
|
7363
|
+
var m = O.expression.value.slice(1, -1);
|
|
7364
|
+
return v(h, m, "$..value");
|
|
7345
7365
|
}
|
|
7346
7366
|
}, b.prototype._fns["subscript-child-string_literal"] = b.prototype._fns["member-child-identifier"], b.prototype._fns["member-descendant-numeric_literal"] = b.prototype._fns["subscript-descendant-string_literal"] = b.prototype._fns["member-descendant-identifier"];
|
|
7347
|
-
function v(O, h,
|
|
7348
|
-
var S = i("./index"), F = l.parse(h).body[0].expression, V = f(F, { "@": O.value }), ee =
|
|
7367
|
+
function v(O, h, m) {
|
|
7368
|
+
var S = i("./index"), F = l.parse(h).body[0].expression, V = f(F, { "@": O.value }), ee = m.replace(/\{\{\s*value\s*\}\}/g, V), ae = S.nodes(O.value, ee);
|
|
7349
7369
|
return ae.forEach(function(J) {
|
|
7350
7370
|
J.path = O.path.concat(J.path.slice(1));
|
|
7351
7371
|
}), ae;
|
|
@@ -7357,14 +7377,14 @@ Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7357
7377
|
return O && !(O instanceof Array) && O instanceof Object;
|
|
7358
7378
|
}
|
|
7359
7379
|
function A(O) {
|
|
7360
|
-
return function(h,
|
|
7380
|
+
return function(h, m, S, F) {
|
|
7361
7381
|
var V = h.value, ee = h.path, ae = [], J = function(Q, _) {
|
|
7362
7382
|
d(Q) ? (Q.forEach(function(N, H) {
|
|
7363
|
-
ae.length >= F || S(H, N,
|
|
7383
|
+
ae.length >= F || S(H, N, m) && ae.push({ path: _.concat(H), value: N });
|
|
7364
7384
|
}), Q.forEach(function(N, H) {
|
|
7365
7385
|
ae.length >= F || O && J(N, _.concat(H));
|
|
7366
7386
|
})) : w(Q) && (this.keys(Q).forEach(function(N) {
|
|
7367
|
-
ae.length >= F || S(N, Q[N],
|
|
7387
|
+
ae.length >= F || S(N, Q[N], m) && ae.push({ path: _.concat(N), value: Q[N] });
|
|
7368
7388
|
}), this.keys(Q).forEach(function(N) {
|
|
7369
7389
|
ae.length >= F || O && J(Q[N], _.concat(N));
|
|
7370
7390
|
}));
|
|
@@ -7373,13 +7393,13 @@ Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7373
7393
|
};
|
|
7374
7394
|
}
|
|
7375
7395
|
function g(O) {
|
|
7376
|
-
return function(h,
|
|
7377
|
-
return this.descend(
|
|
7396
|
+
return function(h, m, S) {
|
|
7397
|
+
return this.descend(m, h.expression.value, O, S);
|
|
7378
7398
|
};
|
|
7379
7399
|
}
|
|
7380
7400
|
function D(O) {
|
|
7381
|
-
return function(h,
|
|
7382
|
-
return this.traverse(
|
|
7401
|
+
return function(h, m, S) {
|
|
7402
|
+
return this.traverse(m, h.expression.value, O, S);
|
|
7383
7403
|
};
|
|
7384
7404
|
}
|
|
7385
7405
|
function f() {
|
|
@@ -7394,8 +7414,8 @@ Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7394
7414
|
}), E(
|
|
7395
7415
|
O,
|
|
7396
7416
|
function(h) {
|
|
7397
|
-
return h.path.map(function(
|
|
7398
|
-
return String(
|
|
7417
|
+
return h.path.map(function(m) {
|
|
7418
|
+
return String(m).replace("-", "--");
|
|
7399
7419
|
}).join("-");
|
|
7400
7420
|
}
|
|
7401
7421
|
);
|
|
@@ -7441,8 +7461,8 @@ Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7441
7461
|
var f = this.parser.parse(A).map(function(B) {
|
|
7442
7462
|
return B.expression.value;
|
|
7443
7463
|
}), P = function(B, O) {
|
|
7444
|
-
var h = B.pop(),
|
|
7445
|
-
|
|
7464
|
+
var h = B.pop(), m = D.value(w, B);
|
|
7465
|
+
m || (P(B.concat(), typeof h == "string" ? {} : []), m = D.value(w, B)), m[h] = O;
|
|
7446
7466
|
};
|
|
7447
7467
|
return P(f, g), this.query(w, A)[0];
|
|
7448
7468
|
}, b.prototype.query = function(w, A, g) {
|
|
@@ -7463,10 +7483,10 @@ Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7463
7483
|
var D = this.parser.parse(A), f = this.handlers, P = [{ path: ["$"], value: w }], B = [];
|
|
7464
7484
|
return D.length && D[0].expression.type == "root" && D.shift(), D.length ? (D.forEach(function(O, h) {
|
|
7465
7485
|
if (!(B.length >= g)) {
|
|
7466
|
-
var
|
|
7486
|
+
var m = f.resolve(O), S = [];
|
|
7467
7487
|
P.forEach(function(F) {
|
|
7468
7488
|
if (!(B.length >= g)) {
|
|
7469
|
-
var V =
|
|
7489
|
+
var V = m(O, F, g);
|
|
7470
7490
|
h == D.length - 1 ? B = B.concat(V || []) : S = S.concat(V || []);
|
|
7471
7491
|
}
|
|
7472
7492
|
}), P = S;
|
|
@@ -7552,9 +7572,9 @@ Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7552
7572
|
}
|
|
7553
7573
|
}, {}], 8: [function(i, u, c) {
|
|
7554
7574
|
var l = i("util/"), p = Array.prototype.slice, x = Object.prototype.hasOwnProperty, E = u.exports = A;
|
|
7555
|
-
E.AssertionError = function(
|
|
7556
|
-
this.name = "AssertionError", this.actual =
|
|
7557
|
-
var S =
|
|
7575
|
+
E.AssertionError = function(m) {
|
|
7576
|
+
this.name = "AssertionError", this.actual = m.actual, this.expected = m.expected, this.operator = m.operator, m.message ? (this.message = m.message, this.generatedMessage = !1) : (this.message = d(this), this.generatedMessage = !0);
|
|
7577
|
+
var S = m.stackStartFunction || w;
|
|
7558
7578
|
if (Error.captureStackTrace)
|
|
7559
7579
|
Error.captureStackTrace(this, S);
|
|
7560
7580
|
else {
|
|
@@ -7571,106 +7591,106 @@ Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7571
7591
|
}
|
|
7572
7592
|
}
|
|
7573
7593
|
}, l.inherits(E.AssertionError, Error);
|
|
7574
|
-
function b(h,
|
|
7575
|
-
return l.isUndefined(
|
|
7594
|
+
function b(h, m) {
|
|
7595
|
+
return l.isUndefined(m) ? "" + m : l.isNumber(m) && !isFinite(m) || l.isFunction(m) || l.isRegExp(m) ? m.toString() : m;
|
|
7576
7596
|
}
|
|
7577
|
-
function v(h,
|
|
7578
|
-
return l.isString(h) ? h.length <
|
|
7597
|
+
function v(h, m) {
|
|
7598
|
+
return l.isString(h) ? h.length < m ? h : h.slice(0, m) : h;
|
|
7579
7599
|
}
|
|
7580
7600
|
function d(h) {
|
|
7581
7601
|
return v(JSON.stringify(h.actual, b), 128) + " " + h.operator + " " + v(JSON.stringify(h.expected, b), 128);
|
|
7582
7602
|
}
|
|
7583
|
-
function w(h,
|
|
7603
|
+
function w(h, m, S, F, V) {
|
|
7584
7604
|
throw new E.AssertionError({
|
|
7585
7605
|
message: S,
|
|
7586
7606
|
actual: h,
|
|
7587
|
-
expected:
|
|
7607
|
+
expected: m,
|
|
7588
7608
|
operator: F,
|
|
7589
7609
|
stackStartFunction: V
|
|
7590
7610
|
});
|
|
7591
7611
|
}
|
|
7592
7612
|
E.fail = w;
|
|
7593
|
-
function A(h,
|
|
7594
|
-
h || w(h, !0,
|
|
7613
|
+
function A(h, m) {
|
|
7614
|
+
h || w(h, !0, m, "==", E.ok);
|
|
7595
7615
|
}
|
|
7596
|
-
E.ok = A, E.equal = function(
|
|
7597
|
-
|
|
7598
|
-
}, E.notEqual = function(
|
|
7599
|
-
|
|
7600
|
-
}, E.deepEqual = function(
|
|
7601
|
-
g(
|
|
7616
|
+
E.ok = A, E.equal = function(m, S, F) {
|
|
7617
|
+
m != S && w(m, S, F, "==", E.equal);
|
|
7618
|
+
}, E.notEqual = function(m, S, F) {
|
|
7619
|
+
m == S && w(m, S, F, "!=", E.notEqual);
|
|
7620
|
+
}, E.deepEqual = function(m, S, F) {
|
|
7621
|
+
g(m, S) || w(m, S, F, "deepEqual", E.deepEqual);
|
|
7602
7622
|
};
|
|
7603
|
-
function g(h,
|
|
7604
|
-
if (h ===
|
|
7623
|
+
function g(h, m) {
|
|
7624
|
+
if (h === m)
|
|
7605
7625
|
return !0;
|
|
7606
|
-
if (l.isBuffer(h) && l.isBuffer(
|
|
7607
|
-
if (h.length !=
|
|
7626
|
+
if (l.isBuffer(h) && l.isBuffer(m)) {
|
|
7627
|
+
if (h.length != m.length)
|
|
7608
7628
|
return !1;
|
|
7609
7629
|
for (var S = 0; S < h.length; S++)
|
|
7610
|
-
if (h[S] !==
|
|
7630
|
+
if (h[S] !== m[S])
|
|
7611
7631
|
return !1;
|
|
7612
7632
|
return !0;
|
|
7613
7633
|
} else
|
|
7614
|
-
return l.isDate(h) && l.isDate(
|
|
7634
|
+
return l.isDate(h) && l.isDate(m) ? h.getTime() === m.getTime() : l.isRegExp(h) && l.isRegExp(m) ? h.source === m.source && h.global === m.global && h.multiline === m.multiline && h.lastIndex === m.lastIndex && h.ignoreCase === m.ignoreCase : !l.isObject(h) && !l.isObject(m) ? h == m : f(h, m);
|
|
7615
7635
|
}
|
|
7616
7636
|
function D(h) {
|
|
7617
7637
|
return Object.prototype.toString.call(h) == "[object Arguments]";
|
|
7618
7638
|
}
|
|
7619
|
-
function f(h,
|
|
7620
|
-
if (l.isNullOrUndefined(h) || l.isNullOrUndefined(
|
|
7639
|
+
function f(h, m) {
|
|
7640
|
+
if (l.isNullOrUndefined(h) || l.isNullOrUndefined(m) || h.prototype !== m.prototype)
|
|
7621
7641
|
return !1;
|
|
7622
|
-
if (l.isPrimitive(h) || l.isPrimitive(
|
|
7623
|
-
return h ===
|
|
7624
|
-
var S = D(h), F = D(
|
|
7642
|
+
if (l.isPrimitive(h) || l.isPrimitive(m))
|
|
7643
|
+
return h === m;
|
|
7644
|
+
var S = D(h), F = D(m);
|
|
7625
7645
|
if (S && !F || !S && F)
|
|
7626
7646
|
return !1;
|
|
7627
7647
|
if (S)
|
|
7628
|
-
return h = p.call(h),
|
|
7629
|
-
var V = O(h), ee = O(
|
|
7648
|
+
return h = p.call(h), m = p.call(m), g(h, m);
|
|
7649
|
+
var V = O(h), ee = O(m), ae, J;
|
|
7630
7650
|
if (V.length != ee.length)
|
|
7631
7651
|
return !1;
|
|
7632
7652
|
for (V.sort(), ee.sort(), J = V.length - 1; J >= 0; J--)
|
|
7633
7653
|
if (V[J] != ee[J])
|
|
7634
7654
|
return !1;
|
|
7635
7655
|
for (J = V.length - 1; J >= 0; J--)
|
|
7636
|
-
if (ae = V[J], !g(h[ae],
|
|
7656
|
+
if (ae = V[J], !g(h[ae], m[ae]))
|
|
7637
7657
|
return !1;
|
|
7638
7658
|
return !0;
|
|
7639
7659
|
}
|
|
7640
|
-
E.notDeepEqual = function(
|
|
7641
|
-
g(
|
|
7642
|
-
}, E.strictEqual = function(
|
|
7643
|
-
|
|
7644
|
-
}, E.notStrictEqual = function(
|
|
7645
|
-
|
|
7660
|
+
E.notDeepEqual = function(m, S, F) {
|
|
7661
|
+
g(m, S) && w(m, S, F, "notDeepEqual", E.notDeepEqual);
|
|
7662
|
+
}, E.strictEqual = function(m, S, F) {
|
|
7663
|
+
m !== S && w(m, S, F, "===", E.strictEqual);
|
|
7664
|
+
}, E.notStrictEqual = function(m, S, F) {
|
|
7665
|
+
m === S && w(m, S, F, "!==", E.notStrictEqual);
|
|
7646
7666
|
};
|
|
7647
|
-
function P(h,
|
|
7648
|
-
return !h || !
|
|
7667
|
+
function P(h, m) {
|
|
7668
|
+
return !h || !m ? !1 : Object.prototype.toString.call(m) == "[object RegExp]" ? m.test(h) : h instanceof m ? !0 : m.call({}, h) === !0;
|
|
7649
7669
|
}
|
|
7650
|
-
function B(h,
|
|
7670
|
+
function B(h, m, S, F) {
|
|
7651
7671
|
var V;
|
|
7652
7672
|
l.isString(S) && (F = S, S = null);
|
|
7653
7673
|
try {
|
|
7654
|
-
|
|
7674
|
+
m();
|
|
7655
7675
|
} catch (ee) {
|
|
7656
7676
|
V = ee;
|
|
7657
7677
|
}
|
|
7658
7678
|
if (F = (S && S.name ? " (" + S.name + ")." : ".") + (F ? " " + F : "."), h && !V && w(V, S, "Missing expected exception" + F), !h && P(V, S) && w(V, S, "Got unwanted exception" + F), h && V && S && !P(V, S) || !h && V)
|
|
7659
7679
|
throw V;
|
|
7660
7680
|
}
|
|
7661
|
-
E.throws = function(h,
|
|
7681
|
+
E.throws = function(h, m, S) {
|
|
7662
7682
|
B.apply(this, [!0].concat(p.call(arguments)));
|
|
7663
|
-
}, E.doesNotThrow = function(h,
|
|
7683
|
+
}, E.doesNotThrow = function(h, m) {
|
|
7664
7684
|
B.apply(this, [!1].concat(p.call(arguments)));
|
|
7665
7685
|
}, E.ifError = function(h) {
|
|
7666
7686
|
if (h)
|
|
7667
7687
|
throw h;
|
|
7668
7688
|
};
|
|
7669
7689
|
var O = Object.keys || function(h) {
|
|
7670
|
-
var
|
|
7690
|
+
var m = [];
|
|
7671
7691
|
for (var S in h)
|
|
7672
|
-
x.call(h, S) &&
|
|
7673
|
-
return
|
|
7692
|
+
x.call(h, S) && m.push(S);
|
|
7693
|
+
return m;
|
|
7674
7694
|
};
|
|
7675
7695
|
}, { "util/": 11 }], 9: [function(i, u, c) {
|
|
7676
7696
|
typeof Object.create == "function" ? u.exports = function(p, x) {
|
|
@@ -7701,7 +7721,7 @@ Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7701
7721
|
j.push(v(arguments[K]));
|
|
7702
7722
|
return j.join(" ");
|
|
7703
7723
|
}
|
|
7704
|
-
for (var K = 1, ge = arguments, Oe = ge.length,
|
|
7724
|
+
for (var K = 1, ge = arguments, Oe = ge.length, le = String(L).replace(x, function(be) {
|
|
7705
7725
|
if (be === "%%")
|
|
7706
7726
|
return "%";
|
|
7707
7727
|
if (K >= Oe)
|
|
@@ -7720,9 +7740,9 @@ Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7720
7740
|
default:
|
|
7721
7741
|
return be;
|
|
7722
7742
|
}
|
|
7723
|
-
}),
|
|
7724
|
-
S(
|
|
7725
|
-
return
|
|
7743
|
+
}), ye = ge[K]; K < Oe; ye = ge[++K])
|
|
7744
|
+
S(ye) || !_(ye) ? le += " " + ye : le += " " + v(ye);
|
|
7745
|
+
return le;
|
|
7726
7746
|
}, c.deprecate = function(L, j) {
|
|
7727
7747
|
if (J(p.process))
|
|
7728
7748
|
return function() {
|
|
@@ -7760,7 +7780,7 @@ Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7760
7780
|
seen: [],
|
|
7761
7781
|
stylize: w
|
|
7762
7782
|
};
|
|
7763
|
-
return arguments.length >= 3 && (K.depth = arguments[2]), arguments.length >= 4 && (K.colors = arguments[3]),
|
|
7783
|
+
return arguments.length >= 3 && (K.depth = arguments[2]), arguments.length >= 4 && (K.colors = arguments[3]), m(j) ? K.showHidden = j : j && c._extend(K, j), J(K.showHidden) && (K.showHidden = !1), J(K.depth) && (K.depth = 2), J(K.colors) && (K.colors = !1), J(K.customInspect) && (K.customInspect = !0), K.colors && (K.stylize = d), g(K, L, K.depth);
|
|
7764
7784
|
}
|
|
7765
7785
|
c.inspect = v, v.colors = {
|
|
7766
7786
|
bold: [1, 22],
|
|
@@ -7810,10 +7830,10 @@ Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7810
7830
|
var Oe = D(L, j);
|
|
7811
7831
|
if (Oe)
|
|
7812
7832
|
return Oe;
|
|
7813
|
-
var
|
|
7814
|
-
if (L.showHidden && (
|
|
7833
|
+
var le = Object.keys(j), ye = A(le);
|
|
7834
|
+
if (L.showHidden && (le = Object.getOwnPropertyNames(j)), H(j) && (le.indexOf("message") >= 0 || le.indexOf("description") >= 0))
|
|
7815
7835
|
return f(j);
|
|
7816
|
-
if (
|
|
7836
|
+
if (le.length === 0) {
|
|
7817
7837
|
if (q(j)) {
|
|
7818
7838
|
var be = j.name ? ": " + j.name : "";
|
|
7819
7839
|
return L.stylize("[Function" + be + "]", "special");
|
|
@@ -7830,14 +7850,14 @@ Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7830
7850
|
var gt = j.name ? ": " + j.name : "";
|
|
7831
7851
|
De = " [Function" + gt + "]";
|
|
7832
7852
|
}
|
|
7833
|
-
if (Q(j) && (De = " " + RegExp.prototype.toString.call(j)), N(j) && (De = " " + Date.prototype.toUTCString.call(j)), H(j) && (De = " " + f(j)),
|
|
7853
|
+
if (Q(j) && (De = " " + RegExp.prototype.toString.call(j)), N(j) && (De = " " + Date.prototype.toUTCString.call(j)), H(j) && (De = " " + f(j)), le.length === 0 && (!Le || j.length == 0))
|
|
7834
7854
|
return Ze[0] + De + Ze[1];
|
|
7835
7855
|
if (K < 0)
|
|
7836
7856
|
return Q(j) ? L.stylize(RegExp.prototype.toString.call(j), "regexp") : L.stylize("[Object]", "special");
|
|
7837
7857
|
L.seen.push(j);
|
|
7838
7858
|
var st;
|
|
7839
|
-
return Le ? st = P(L, j, K,
|
|
7840
|
-
return B(L, j, K,
|
|
7859
|
+
return Le ? st = P(L, j, K, ye, le) : st = le.map(function(ot) {
|
|
7860
|
+
return B(L, j, K, ye, ot, Le);
|
|
7841
7861
|
}), L.seen.pop(), O(st, De, Ze);
|
|
7842
7862
|
}
|
|
7843
7863
|
function D(L, j) {
|
|
@@ -7849,7 +7869,7 @@ Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7849
7869
|
}
|
|
7850
7870
|
if (V(j))
|
|
7851
7871
|
return L.stylize("" + j, "number");
|
|
7852
|
-
if (
|
|
7872
|
+
if (m(j))
|
|
7853
7873
|
return L.stylize("" + j, "boolean");
|
|
7854
7874
|
if (S(j))
|
|
7855
7875
|
return L.stylize("null", "null");
|
|
@@ -7858,17 +7878,17 @@ Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7858
7878
|
return "[" + Error.prototype.toString.call(L) + "]";
|
|
7859
7879
|
}
|
|
7860
7880
|
function P(L, j, K, ge, Oe) {
|
|
7861
|
-
for (var
|
|
7862
|
-
Ae(j, String(
|
|
7881
|
+
for (var le = [], ye = 0, be = j.length; ye < be; ++ye)
|
|
7882
|
+
Ae(j, String(ye)) ? le.push(B(
|
|
7863
7883
|
L,
|
|
7864
7884
|
j,
|
|
7865
7885
|
K,
|
|
7866
7886
|
ge,
|
|
7867
|
-
String(
|
|
7887
|
+
String(ye),
|
|
7868
7888
|
!0
|
|
7869
|
-
)) :
|
|
7889
|
+
)) : le.push("");
|
|
7870
7890
|
return Oe.forEach(function(De) {
|
|
7871
|
-
De.match(/^\d+$/) ||
|
|
7891
|
+
De.match(/^\d+$/) || le.push(B(
|
|
7872
7892
|
L,
|
|
7873
7893
|
j,
|
|
7874
7894
|
K,
|
|
@@ -7876,12 +7896,12 @@ Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7876
7896
|
De,
|
|
7877
7897
|
!0
|
|
7878
7898
|
));
|
|
7879
|
-
}),
|
|
7899
|
+
}), le;
|
|
7880
7900
|
}
|
|
7881
|
-
function B(L, j, K, ge, Oe,
|
|
7882
|
-
var
|
|
7883
|
-
if (De = Object.getOwnPropertyDescriptor(j, Oe) || { value: j[Oe] }, De.get ? De.set ? be = L.stylize("[Getter/Setter]", "special") : be = L.stylize("[Getter]", "special") : De.set && (be = L.stylize("[Setter]", "special")), Ae(ge, Oe) || (
|
|
7884
|
-
`) > -1 && (
|
|
7901
|
+
function B(L, j, K, ge, Oe, le) {
|
|
7902
|
+
var ye, be, De;
|
|
7903
|
+
if (De = Object.getOwnPropertyDescriptor(j, Oe) || { value: j[Oe] }, De.get ? De.set ? be = L.stylize("[Getter/Setter]", "special") : be = L.stylize("[Getter]", "special") : De.set && (be = L.stylize("[Setter]", "special")), Ae(ge, Oe) || (ye = "[" + Oe + "]"), be || (L.seen.indexOf(De.value) < 0 ? (S(K) ? be = g(L, De.value, null) : be = g(L, De.value, K - 1), be.indexOf(`
|
|
7904
|
+
`) > -1 && (le ? be = be.split(`
|
|
7885
7905
|
`).map(function(Le) {
|
|
7886
7906
|
return " " + Le;
|
|
7887
7907
|
}).join(`
|
|
@@ -7890,17 +7910,17 @@ Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7890
7910
|
`).map(function(Le) {
|
|
7891
7911
|
return " " + Le;
|
|
7892
7912
|
}).join(`
|
|
7893
|
-
`))) : be = L.stylize("[Circular]", "special")), J(
|
|
7894
|
-
if (
|
|
7913
|
+
`))) : be = L.stylize("[Circular]", "special")), J(ye)) {
|
|
7914
|
+
if (le && Oe.match(/^\d+$/))
|
|
7895
7915
|
return be;
|
|
7896
|
-
|
|
7916
|
+
ye = JSON.stringify("" + Oe), ye.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (ye = ye.substr(1, ye.length - 2), ye = L.stylize(ye, "name")) : (ye = ye.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"), ye = L.stylize(ye, "string"));
|
|
7897
7917
|
}
|
|
7898
|
-
return
|
|
7918
|
+
return ye + ": " + be;
|
|
7899
7919
|
}
|
|
7900
7920
|
function O(L, j, K) {
|
|
7901
|
-
var ge = L.reduce(function(Oe,
|
|
7902
|
-
return
|
|
7903
|
-
`) >= 0, Oe +
|
|
7921
|
+
var ge = L.reduce(function(Oe, le) {
|
|
7922
|
+
return le.indexOf(`
|
|
7923
|
+
`) >= 0, Oe + le.replace(/\u001b\[\d\d?m/g, "").length + 1;
|
|
7904
7924
|
}, 0);
|
|
7905
7925
|
return ge > 60 ? K[0] + (j === "" ? "" : j + `
|
|
7906
7926
|
`) + " " + L.join(`,
|
|
@@ -7910,10 +7930,10 @@ Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7910
7930
|
return Array.isArray(L);
|
|
7911
7931
|
}
|
|
7912
7932
|
c.isArray = h;
|
|
7913
|
-
function
|
|
7933
|
+
function m(L) {
|
|
7914
7934
|
return typeof L == "boolean";
|
|
7915
7935
|
}
|
|
7916
|
-
c.isBoolean =
|
|
7936
|
+
c.isBoolean = m;
|
|
7917
7937
|
function S(L) {
|
|
7918
7938
|
return L === null;
|
|
7919
7939
|
}
|
|
@@ -7983,7 +8003,7 @@ Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7983
8003
|
"Nov",
|
|
7984
8004
|
"Dec"
|
|
7985
8005
|
];
|
|
7986
|
-
function
|
|
8006
|
+
function pe() {
|
|
7987
8007
|
var L = new Date(), j = [
|
|
7988
8008
|
W(L.getHours()),
|
|
7989
8009
|
W(L.getMinutes()),
|
|
@@ -7992,7 +8012,7 @@ Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
7992
8012
|
return [L.getDate(), Y[L.getMonth()], j].join(" ");
|
|
7993
8013
|
}
|
|
7994
8014
|
c.log = function() {
|
|
7995
|
-
console.log("%s - %s",
|
|
8015
|
+
console.log("%s - %s", pe(), c.format.apply(c, arguments));
|
|
7996
8016
|
}, c.inherits = i("inherits"), c._extend = function(L, j) {
|
|
7997
8017
|
if (!j || !_(j))
|
|
7998
8018
|
return L;
|
|
@@ -8048,9 +8068,9 @@ Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
8048
8068
|
function w(O) {
|
|
8049
8069
|
for (var h = 0; h < O.length && O[h] === ""; h++)
|
|
8050
8070
|
;
|
|
8051
|
-
for (var
|
|
8071
|
+
for (var m = O.length - 1; m >= 0 && O[m] === ""; m--)
|
|
8052
8072
|
;
|
|
8053
|
-
return h >
|
|
8073
|
+
return h > m ? [] : O.slice(h, m - h + 1);
|
|
8054
8074
|
}
|
|
8055
8075
|
for (var A = w(v.split("/")), g = w(d.split("/")), D = Math.min(A.length, g.length), f = D, P = 0; P < D; P++)
|
|
8056
8076
|
if (A[P] !== g[P]) {
|
|
@@ -8177,23 +8197,23 @@ Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
8177
8197
|
if (!A) {
|
|
8178
8198
|
var h = v(f);
|
|
8179
8199
|
A = !0;
|
|
8180
|
-
for (var
|
|
8181
|
-
for (g = w, w = []; ++D <
|
|
8200
|
+
for (var m = w.length; m; ) {
|
|
8201
|
+
for (g = w, w = []; ++D < m; )
|
|
8182
8202
|
g && g[D].run();
|
|
8183
|
-
D = -1,
|
|
8203
|
+
D = -1, m = w.length;
|
|
8184
8204
|
}
|
|
8185
8205
|
g = null, A = !1, d(h);
|
|
8186
8206
|
}
|
|
8187
8207
|
}
|
|
8188
8208
|
l.nextTick = function(h) {
|
|
8189
|
-
var
|
|
8209
|
+
var m = new Array(arguments.length - 1);
|
|
8190
8210
|
if (arguments.length > 1)
|
|
8191
8211
|
for (var S = 1; S < arguments.length; S++)
|
|
8192
|
-
|
|
8193
|
-
w.push(new B(h,
|
|
8212
|
+
m[S - 1] = arguments[S];
|
|
8213
|
+
w.push(new B(h, m)), w.length === 1 && !A && v(P);
|
|
8194
8214
|
};
|
|
8195
|
-
function B(h,
|
|
8196
|
-
this.fun = h, this.array =
|
|
8215
|
+
function B(h, m) {
|
|
8216
|
+
this.fun = h, this.array = m;
|
|
8197
8217
|
}
|
|
8198
8218
|
B.prototype.run = function() {
|
|
8199
8219
|
this.fun.apply(null, this.array);
|
|
@@ -8241,11 +8261,11 @@ Expecting ` + W.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : Y = "
|
|
|
8241
8261
|
var f = v(d.left);
|
|
8242
8262
|
if (f === E)
|
|
8243
8263
|
return E;
|
|
8244
|
-
var
|
|
8245
|
-
if (
|
|
8264
|
+
var m = v(d.right);
|
|
8265
|
+
if (m === E)
|
|
8246
8266
|
return E;
|
|
8247
8267
|
var S = d.operator;
|
|
8248
|
-
return S === "==" ? f ==
|
|
8268
|
+
return S === "==" ? f == m : S === "===" ? f === m : S === "!=" ? f != m : S === "!==" ? f !== m : S === "+" ? f + m : S === "-" ? f - m : S === "*" ? f * m : S === "/" ? f / m : S === "%" ? f % m : S === "<" ? f < m : S === "<=" ? f <= m : S === ">" ? f > m : S === ">=" ? f >= m : S === "|" ? f | m : S === "&" ? f & m : S === "^" ? f ^ m : S === "&&" ? f && m : S === "||" ? f || m : E;
|
|
8249
8269
|
} else {
|
|
8250
8270
|
if (d.type === "Identifier")
|
|
8251
8271
|
return {}.hasOwnProperty.call(x, d.name) ? x[d.name] : E;
|
|
@@ -9335,13 +9355,13 @@ Object.assign(ze, {
|
|
|
9335
9355
|
});
|
|
9336
9356
|
ze.max_unop_len = ze.getMaxKeyLen(ze.unary_ops);
|
|
9337
9357
|
ze.max_binop_len = ze.getMaxKeyLen(ze.binary_ops);
|
|
9338
|
-
var
|
|
9358
|
+
var mt = function(r) {
|
|
9339
9359
|
return new ze(r).parse();
|
|
9340
9360
|
}, Zs = Object.getOwnPropertyNames(ze);
|
|
9341
9361
|
Zs.forEach(function(t) {
|
|
9342
|
-
|
|
9362
|
+
mt[t] === void 0 && t !== "prototype" && (mt[t] = ze[t]);
|
|
9343
9363
|
});
|
|
9344
|
-
|
|
9364
|
+
mt.Jsep = ze;
|
|
9345
9365
|
var eo = "ConditionalExpression", to = {
|
|
9346
9366
|
name: "ternary",
|
|
9347
9367
|
init: function(r) {
|
|
@@ -9368,7 +9388,7 @@ var eo = "ConditionalExpression", to = {
|
|
|
9368
9388
|
});
|
|
9369
9389
|
}
|
|
9370
9390
|
};
|
|
9371
|
-
|
|
9391
|
+
mt.plugins.register(to);
|
|
9372
9392
|
var In = 47, no = 92, ro = {
|
|
9373
9393
|
name: "regex",
|
|
9374
9394
|
init: function(r) {
|
|
@@ -9632,10 +9652,10 @@ ve.prototype._trace = function(t, r, i, u, c, l, p, x) {
|
|
|
9632
9652
|
var B = v.slice(1);
|
|
9633
9653
|
A(this._trace(d, r[B], nt(i, B), r, B, l, p, !0));
|
|
9634
9654
|
} else if (v.includes(",")) {
|
|
9635
|
-
var O = v.split(","), h = Xs(O),
|
|
9655
|
+
var O = v.split(","), h = Xs(O), m;
|
|
9636
9656
|
try {
|
|
9637
|
-
for (h.s(); !(
|
|
9638
|
-
var S =
|
|
9657
|
+
for (h.s(); !(m = h.n()).done; ) {
|
|
9658
|
+
var S = m.value;
|
|
9639
9659
|
A(this._trace(qt(S, d), r, i, u, c, l, !0));
|
|
9640
9660
|
}
|
|
9641
9661
|
} catch (Q) {
|
|
@@ -9748,7 +9768,7 @@ var so = function(r, i, u) {
|
|
|
9748
9768
|
u(p) && i.push(r.splice(l--, 1)[0]);
|
|
9749
9769
|
}
|
|
9750
9770
|
};
|
|
9751
|
-
|
|
9771
|
+
mt.plugins.register(ro, dt);
|
|
9752
9772
|
var xe = {
|
|
9753
9773
|
/**
|
|
9754
9774
|
* @param {jsep.Expression} ast
|
|
@@ -9913,7 +9933,7 @@ var xe = {
|
|
|
9913
9933
|
}
|
|
9914
9934
|
}, oo = /* @__PURE__ */ function() {
|
|
9915
9935
|
function t(r) {
|
|
9916
|
-
wt(this, t), this.code = r, this.ast =
|
|
9936
|
+
wt(this, t), this.code = r, this.ast = mt(this.code);
|
|
9917
9937
|
}
|
|
9918
9938
|
return vt(t, [{
|
|
9919
9939
|
key: "runInNewContext",
|
|
@@ -10055,7 +10075,7 @@ const Ft = (t, r) => {
|
|
|
10055
10075
|
return;
|
|
10056
10076
|
if (l.children = [], t.type === T.grid)
|
|
10057
10077
|
(b = t == null ? void 0 : t.cols) == null || b.map((B) => {
|
|
10058
|
-
var h,
|
|
10078
|
+
var h, m;
|
|
10059
10079
|
let O = {
|
|
10060
10080
|
id: B.id,
|
|
10061
10081
|
type: B.type,
|
|
@@ -10064,23 +10084,23 @@ const Ft = (t, r) => {
|
|
|
10064
10084
|
parent: l,
|
|
10065
10085
|
widget: u ? B : null
|
|
10066
10086
|
};
|
|
10067
|
-
(h = l.children) == null || h.push(O), (
|
|
10087
|
+
(h = l.children) == null || h.push(O), (m = B.widgetList) == null || m.map((S) => {
|
|
10068
10088
|
Qe(S, O, O.children, u, c);
|
|
10069
10089
|
});
|
|
10070
10090
|
});
|
|
10071
10091
|
else if (t.type === T.cont) {
|
|
10072
10092
|
const B = (O) => {
|
|
10073
|
-
var h,
|
|
10093
|
+
var h, m;
|
|
10074
10094
|
(h = O.widgetList) == null || h.map((S) => {
|
|
10075
10095
|
Qe(S, l, l.children, u, c);
|
|
10076
|
-
}), (
|
|
10096
|
+
}), (m = O == null ? void 0 : O.children) == null || m.map((S) => B(S));
|
|
10077
10097
|
};
|
|
10078
10098
|
(v = t == null ? void 0 : t.cols) == null || v.map((O) => {
|
|
10079
10099
|
B(O);
|
|
10080
10100
|
});
|
|
10081
10101
|
} else if (t.type === T.table)
|
|
10082
10102
|
(d = t == null ? void 0 : t.rows) == null || d.map((B) => {
|
|
10083
|
-
var h,
|
|
10103
|
+
var h, m;
|
|
10084
10104
|
let O = {
|
|
10085
10105
|
id: B.id,
|
|
10086
10106
|
type: T.tableRow,
|
|
@@ -10105,11 +10125,11 @@ const Ft = (t, r) => {
|
|
|
10105
10125
|
(ee = S.widgetList) == null || ee.map((ae) => {
|
|
10106
10126
|
Qe(ae, V, V.children, u, c);
|
|
10107
10127
|
}), F == null || F.push(V);
|
|
10108
|
-
}), (
|
|
10128
|
+
}), (m = l.children) == null || m.push(O);
|
|
10109
10129
|
});
|
|
10110
10130
|
else if (t.type === T.tabs)
|
|
10111
10131
|
(w = t == null ? void 0 : t.tabs) == null || w.map((B) => {
|
|
10112
|
-
var h,
|
|
10132
|
+
var h, m;
|
|
10113
10133
|
let O = {
|
|
10114
10134
|
id: B.id,
|
|
10115
10135
|
type: B.type,
|
|
@@ -10119,7 +10139,7 @@ const Ft = (t, r) => {
|
|
|
10119
10139
|
parent: l,
|
|
10120
10140
|
widget: u ? B : null
|
|
10121
10141
|
};
|
|
10122
|
-
(h = l.children) == null || h.push(O), (
|
|
10142
|
+
(h = l.children) == null || h.push(O), (m = B == null ? void 0 : B.widgetList) == null || m.map((S) => {
|
|
10123
10143
|
Qe(S, O, O.children, u, c);
|
|
10124
10144
|
});
|
|
10125
10145
|
});
|
|
@@ -10132,7 +10152,7 @@ const Ft = (t, r) => {
|
|
|
10132
10152
|
t.category === Zt.container && ((g = t == null ? void 0 : t.widgetList) == null ? void 0 : g.length) > 0 && ((D = t == null ? void 0 : t.widgetList) == null || D.map((B) => {
|
|
10133
10153
|
Qe(B, l, l.children, u, c);
|
|
10134
10154
|
}));
|
|
10135
|
-
const x = ue.getOptions(t,
|
|
10155
|
+
const x = ue.getOptions(t, me.widgetList);
|
|
10136
10156
|
x && (x == null || x.map((B) => {
|
|
10137
10157
|
Qe(B, l, l.children, u, c);
|
|
10138
10158
|
}));
|
|
@@ -10141,10 +10161,10 @@ const Ft = (t, r) => {
|
|
|
10141
10161
|
return ((O = t.options[B]) == null ? void 0 : O.type) === s.slot;
|
|
10142
10162
|
})) == null ? void 0 : P.map((B) => t.options[B]);
|
|
10143
10163
|
E == null || E.forEach((B) => {
|
|
10144
|
-
var O, h,
|
|
10164
|
+
var O, h, m;
|
|
10145
10165
|
if (((O = B == null ? void 0 : B.widgetList) == null ? void 0 : O.length) > 0) {
|
|
10146
10166
|
let S = {
|
|
10147
|
-
id: B.slotName +
|
|
10167
|
+
id: B.slotName + St(),
|
|
10148
10168
|
type: B.type,
|
|
10149
10169
|
label: B.slotName || B.type,
|
|
10150
10170
|
children: [],
|
|
@@ -10152,7 +10172,7 @@ const Ft = (t, r) => {
|
|
|
10152
10172
|
widget: u ? B : null,
|
|
10153
10173
|
selectable: !1
|
|
10154
10174
|
};
|
|
10155
|
-
(h = l.children) == null || h.push(S), (
|
|
10175
|
+
(h = l.children) == null || h.push(S), (m = B == null ? void 0 : B.widgetList) == null || m.map((F) => {
|
|
10156
10176
|
Qe(F, S, S.children, u, c);
|
|
10157
10177
|
});
|
|
10158
10178
|
}
|
|
@@ -10222,15 +10242,15 @@ function po() {
|
|
|
10222
10242
|
}, E = (_, N, H, q, $) => {
|
|
10223
10243
|
let U = $ ? N : N + 1;
|
|
10224
10244
|
if (!$) {
|
|
10225
|
-
let Y = U,
|
|
10245
|
+
let Y = U, pe = !1;
|
|
10226
10246
|
for (; Y < _.rows.length; )
|
|
10227
10247
|
if (_.rows[Y].cols[q].merged)
|
|
10228
10248
|
Y++;
|
|
10229
10249
|
else {
|
|
10230
|
-
U = Y,
|
|
10250
|
+
U = Y, pe = !0;
|
|
10231
10251
|
break;
|
|
10232
10252
|
}
|
|
10233
|
-
|
|
10253
|
+
pe && (U = _.rows.length);
|
|
10234
10254
|
}
|
|
10235
10255
|
c(_, H, U);
|
|
10236
10256
|
let W = 0;
|
|
@@ -10271,10 +10291,10 @@ function po() {
|
|
|
10271
10291
|
for (; $ < _.rows[0].cols.length - 1 && U < _.rows.length; ) {
|
|
10272
10292
|
const W = _.rows[U].cols[$ + 1];
|
|
10273
10293
|
if (W.merged) {
|
|
10274
|
-
let
|
|
10294
|
+
let pe = _.rows[U].cols, Ae = {}, L = null;
|
|
10275
10295
|
for (let j = $; j >= 0; j--)
|
|
10276
|
-
if (!
|
|
10277
|
-
L = j, Ae =
|
|
10296
|
+
if (!pe[j].merged && r(pe[j]) > 1) {
|
|
10297
|
+
L = j, Ae = pe[j];
|
|
10278
10298
|
break;
|
|
10279
10299
|
}
|
|
10280
10300
|
if (Ae.options) {
|
|
@@ -10326,12 +10346,12 @@ function po() {
|
|
|
10326
10346
|
}, D = (_, N, H, q, $) => {
|
|
10327
10347
|
let U = q ? N : N + t($), W = q ? N - 1 : N;
|
|
10328
10348
|
if (q) {
|
|
10329
|
-
let
|
|
10330
|
-
for (;
|
|
10331
|
-
if (_[
|
|
10332
|
-
|
|
10349
|
+
let pe = W;
|
|
10350
|
+
for (; pe >= 0; )
|
|
10351
|
+
if (_[pe].cols[H].merged)
|
|
10352
|
+
pe--;
|
|
10333
10353
|
else {
|
|
10334
|
-
W =
|
|
10354
|
+
W = pe;
|
|
10335
10355
|
break;
|
|
10336
10356
|
}
|
|
10337
10357
|
}
|
|
@@ -10340,16 +10360,16 @@ function po() {
|
|
|
10340
10360
|
return d(_, W, H, r($), Y), !0;
|
|
10341
10361
|
}, f = (_, N, H, q) => {
|
|
10342
10362
|
let $ = ue.getOptions(_[0].cols[q], "colspan"), U = !1;
|
|
10343
|
-
for (let
|
|
10344
|
-
if (r(_[
|
|
10363
|
+
for (let pe = 1; pe < _.length; pe++)
|
|
10364
|
+
if (r(_[pe].cols[q]) !== $) {
|
|
10345
10365
|
U = !0;
|
|
10346
10366
|
break;
|
|
10347
10367
|
}
|
|
10348
10368
|
if (U)
|
|
10349
10369
|
return Ue.info(Re.i18nt("designer.hint.colspanNotConsistentForMergeEntireColumn")), !1;
|
|
10350
10370
|
let W = [];
|
|
10351
|
-
_.forEach((
|
|
10352
|
-
let Ae =
|
|
10371
|
+
_.forEach((pe) => {
|
|
10372
|
+
let Ae = pe.cols[q];
|
|
10353
10373
|
!Ae.merged && Ae.widgetList && Ae.widgetList.length > 0 && W.push(Ae);
|
|
10354
10374
|
});
|
|
10355
10375
|
let Y = _[0].cols[q];
|
|
@@ -10367,8 +10387,8 @@ function po() {
|
|
|
10367
10387
|
}
|
|
10368
10388
|
}
|
|
10369
10389
|
N[W].widgetList && N[W].widgetList.length > 0 && (!N[Y].widgetList || N[Y].widgetList.length === 0) && (N[Y].widgetList = Fe(N[W].widgetList));
|
|
10370
|
-
let
|
|
10371
|
-
return v(_, H, Y,
|
|
10390
|
+
let pe = r(N[W]) * 1 + r(N[Y]) * 1;
|
|
10391
|
+
return v(_, H, Y, pe, t(U)), !0;
|
|
10372
10392
|
}, B = (_, N, H, q, $) => (w(_, N, H, q, $), !0), O = (_, N, H, q, $) => (A(_, N, H, q, $), !0), h = (_, N) => {
|
|
10373
10393
|
let H = !0;
|
|
10374
10394
|
if (_.forEach((U) => {
|
|
@@ -10384,7 +10404,7 @@ function po() {
|
|
|
10384
10404
|
return $ ? (Ue.info(Re.i18nt("designer.hint.colspanNotConsistentForDeleteEntireColumn")), !1) : (_.forEach((U) => {
|
|
10385
10405
|
U.cols.splice(N, q);
|
|
10386
10406
|
}), !0);
|
|
10387
|
-
},
|
|
10407
|
+
}, m = (_, N) => {
|
|
10388
10408
|
let H = !0;
|
|
10389
10409
|
if (_[0].cols.forEach((U) => {
|
|
10390
10410
|
t(U) !== _.length && (H = !1);
|
|
@@ -10445,7 +10465,7 @@ function po() {
|
|
|
10445
10465
|
undoMergeTableCol: B,
|
|
10446
10466
|
undoMergeTableRow: O,
|
|
10447
10467
|
deleteTableWholeCol: h,
|
|
10448
|
-
deleteTableWholeRow:
|
|
10468
|
+
deleteTableWholeRow: m,
|
|
10449
10469
|
copyTableWholeRow: S,
|
|
10450
10470
|
copyTableWholeCol: F,
|
|
10451
10471
|
initTableRow: V,
|
|
@@ -10469,7 +10489,7 @@ function ho() {
|
|
|
10469
10489
|
}, r = (b, v) => {
|
|
10470
10490
|
let d = Ce(Fe(it(T.tabPane)));
|
|
10471
10491
|
var w = $e(d);
|
|
10472
|
-
return b && ue.setOptions(w,
|
|
10492
|
+
return b && ue.setOptions(w, me.label, b), v !== void 0 && ue.setOptions(w, me.isdefault, v), w;
|
|
10473
10493
|
}, i = (b) => {
|
|
10474
10494
|
var d;
|
|
10475
10495
|
let v = t();
|
|
@@ -10480,7 +10500,7 @@ function ho() {
|
|
|
10480
10500
|
}), v;
|
|
10481
10501
|
}, u = (b) => {
|
|
10482
10502
|
var v = Fe(b);
|
|
10483
|
-
return $e(v), ue.setOptions(v,
|
|
10503
|
+
return $e(v), ue.setOptions(v, me.isdefault, !1), v.widgetList = [], v;
|
|
10484
10504
|
};
|
|
10485
10505
|
return {
|
|
10486
10506
|
initTab: t,
|
|
@@ -10508,13 +10528,13 @@ function ho() {
|
|
|
10508
10528
|
var d, w;
|
|
10509
10529
|
let v = (d = b == null ? void 0 : b.tabs) == null ? void 0 : d[0];
|
|
10510
10530
|
return (w = b == null ? void 0 : b.tabs) == null || w.forEach((A) => {
|
|
10511
|
-
ue.getOptions(A,
|
|
10531
|
+
ue.getOptions(A, me.isdefault) && (v = A);
|
|
10512
10532
|
}), v;
|
|
10513
10533
|
},
|
|
10514
10534
|
isTabs: (b) => (b == null ? void 0 : b.type) === T.tabs
|
|
10515
10535
|
};
|
|
10516
10536
|
}
|
|
10517
|
-
function
|
|
10537
|
+
function mo() {
|
|
10518
10538
|
const t = () => {
|
|
10519
10539
|
let x = Ce(Fe(it(T.grid)));
|
|
10520
10540
|
return x = $e(x), x;
|
|
@@ -10554,7 +10574,7 @@ function yo() {
|
|
|
10554
10574
|
isGrid: (x) => (x == null ? void 0 : x.type) === T.grid
|
|
10555
10575
|
};
|
|
10556
10576
|
}
|
|
10557
|
-
function
|
|
10577
|
+
function yo() {
|
|
10558
10578
|
return {
|
|
10559
10579
|
initCloneContCell: (c) => {
|
|
10560
10580
|
let l = Fe(c);
|
|
@@ -10566,7 +10586,7 @@ function mo() {
|
|
|
10566
10586
|
},
|
|
10567
10587
|
initCont: () => {
|
|
10568
10588
|
let c = Fe(it(T.cont));
|
|
10569
|
-
return c.id = c.type +
|
|
10589
|
+
return c.id = c.type + St(), ue.setName(c, c.id), c;
|
|
10570
10590
|
},
|
|
10571
10591
|
isCont: (c) => (c == null ? void 0 : c.type) === T.cont
|
|
10572
10592
|
};
|
|
@@ -10771,7 +10791,7 @@ const vo = (t) => {
|
|
|
10771
10791
|
t == null || t.forEach((l) => {
|
|
10772
10792
|
u[l] || (u[l] = null);
|
|
10773
10793
|
});
|
|
10774
|
-
return t != null && t.includes(
|
|
10794
|
+
return t != null && t.includes(me.value) && (u[me.value] = String(r)), t != null && t.includes(me.label) && (u[me.label] = me.option + " " + r), t != null && t.includes(me.children) && (u[me.children] = []), t != null && t.includes(me.name) && (u[me.name] = me.option + r), u;
|
|
10775
10795
|
};
|
|
10776
10796
|
function Pn(t, r) {
|
|
10777
10797
|
return {
|
|
@@ -10811,22 +10831,22 @@ const Or = (t) => {
|
|
|
10811
10831
|
function Lo(t, r) {
|
|
10812
10832
|
const { widget: i } = t, { parentFormId: u } = Or(r), c = He(() => {
|
|
10813
10833
|
var d, w, A;
|
|
10814
|
-
return Ce(pt((d = t.designer) == null ? void 0 : d.widgetList, r,
|
|
10834
|
+
return Ce(pt((d = t.designer) == null ? void 0 : d.widgetList, r, me.size, !1, t) || ((A = (w = t == null ? void 0 : t.designer) == null ? void 0 : w.pageConfig) == null ? void 0 : A.size));
|
|
10815
10835
|
}), l = He(() => {
|
|
10816
10836
|
var d;
|
|
10817
|
-
return Ce(pt((d = t.designer) == null ? void 0 : d.widgetList, r,
|
|
10837
|
+
return Ce(pt((d = t.designer) == null ? void 0 : d.widgetList, r, me.displayLayout, !1, t));
|
|
10818
10838
|
}), p = He(() => {
|
|
10819
10839
|
var d;
|
|
10820
|
-
return Ce(pt((d = t.designer) == null ? void 0 : d.widgetList, r,
|
|
10840
|
+
return Ce(pt((d = t.designer) == null ? void 0 : d.widgetList, r, me.labelAlign, !1, t));
|
|
10821
10841
|
}), x = He(() => {
|
|
10822
10842
|
var d;
|
|
10823
|
-
return Ce(pt((d = t.designer) == null ? void 0 : d.widgetList, r,
|
|
10843
|
+
return Ce(pt((d = t.designer) == null ? void 0 : d.widgetList, r, me.labelWidth, !1, t));
|
|
10824
10844
|
}), E = He(() => {
|
|
10825
10845
|
var d;
|
|
10826
|
-
return Ce(pt((d = t.designer) == null ? void 0 : d.widgetList, r,
|
|
10846
|
+
return Ce(pt((d = t.designer) == null ? void 0 : d.widgetList, r, me.labelHidden, !1, t));
|
|
10827
10847
|
}), b = He(() => {
|
|
10828
10848
|
var d;
|
|
10829
|
-
return Ce(pt((d = t.designer) == null ? void 0 : d.widgetList, r,
|
|
10849
|
+
return Ce(pt((d = t.designer) == null ? void 0 : d.widgetList, r, me.labelSuffix, !1, t));
|
|
10830
10850
|
}), v = He(() => (i == null ? void 0 : i.formItemFlag) && !!u.value);
|
|
10831
10851
|
return {
|
|
10832
10852
|
displayLayout: l,
|
|
@@ -10839,7 +10859,7 @@ function Lo(t, r) {
|
|
|
10839
10859
|
};
|
|
10840
10860
|
}
|
|
10841
10861
|
function No(t) {
|
|
10842
|
-
const r = oa(t), { initHistoryData: i, clearHistoryData: u, emitHistoryChange: c, saveCurrentHistoryStep: l, saveFormContentToStorage: p } = r, { initGridCol: x, isGrid: E } =
|
|
10862
|
+
const r = oa(t), { initHistoryData: i, clearHistoryData: u, emitHistoryChange: c, saveCurrentHistoryStep: l, saveFormContentToStorage: p } = r, { initGridCol: x, isGrid: E } = mo(), { initContCell: b, isCont: v } = yo(), { initTabPane: d, getActiveTab: w, isTabs: A } = ho(), { initTableRow: g, isTable: D } = po(), f = new wo(), P = (R = !0) => {
|
|
10843
10863
|
t.widgetList = [], t.pageConfig = Fe(f), R || i();
|
|
10844
10864
|
}, B = (R) => {
|
|
10845
10865
|
var z, we;
|
|
@@ -10847,7 +10867,7 @@ function No(t) {
|
|
|
10847
10867
|
(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"));
|
|
10848
10868
|
}, O = (R) => {
|
|
10849
10869
|
t.pageWidget = R;
|
|
10850
|
-
}, h = (R) => fo(t.widgetList, R),
|
|
10870
|
+
}, h = (R) => fo(t.widgetList, R), m = (R, I) => {
|
|
10851
10871
|
R && c(I);
|
|
10852
10872
|
}, S = () => ({
|
|
10853
10873
|
widgetList: [],
|
|
@@ -10886,8 +10906,8 @@ function No(t) {
|
|
|
10886
10906
|
if (he.matched) {
|
|
10887
10907
|
const ie = [];
|
|
10888
10908
|
I(ie, he), he.label = ie.reverse().join(".");
|
|
10889
|
-
const
|
|
10890
|
-
delete
|
|
10909
|
+
const ce = Object.assign({}, he);
|
|
10910
|
+
delete ce.children, delete ce.parent, z.push(ce);
|
|
10891
10911
|
}
|
|
10892
10912
|
we(he.children);
|
|
10893
10913
|
});
|
|
@@ -10911,7 +10931,7 @@ function No(t) {
|
|
|
10911
10931
|
const we = R == null ? void 0 : R.newIndex, se = I == null ? void 0 : I[we];
|
|
10912
10932
|
se && $(se), c(`drag add ${se == null ? void 0 : se.id}`), z == null || z(I);
|
|
10913
10933
|
}, Y = (R, I) => {
|
|
10914
|
-
},
|
|
10934
|
+
}, pe = (R, I, z) => {
|
|
10915
10935
|
c("drag update"), z == null || z(I);
|
|
10916
10936
|
}, Ae = (R, I, z) => {
|
|
10917
10937
|
c("drag remove"), z == null || z(I);
|
|
@@ -10920,9 +10940,9 @@ function No(t) {
|
|
|
10920
10940
|
let I = Ce(Fe(R));
|
|
10921
10941
|
if (!I)
|
|
10922
10942
|
return null;
|
|
10923
|
-
if (I.id = ue.newId(I.type),
|
|
10924
|
-
var z = a.getValue(ue.getOrgOption(I,
|
|
10925
|
-
z == null || z.splice(1, 0, bo(I.type)), a.setValue(I == null ? void 0 : I.options,
|
|
10943
|
+
if (I.id = ue.newId(I.type), jt(I, me.name) && ue.setOptions(I, me.name, I.id), jt(I, me.label) && ue.setOptions(I, me.label, ue.getOptions(I, "label") || ((we = I.type) == null ? void 0 : we.toLowerCase())), jt(I, me.content) && ue.setOptions(I, me.content, ue.getOptions(I, "content") || ((se = I.type) == null ? void 0 : se.toLowerCase())), jt(I, me.optionItems) && (I == null ? void 0 : I.type) !== T.image) {
|
|
10944
|
+
var z = a.getValue(ue.getOrgOption(I, me.optionItems));
|
|
10945
|
+
z == null || z.splice(1, 0, bo(I.type)), a.setValue(I == null ? void 0 : I.options, me.optionItems, z);
|
|
10926
10946
|
}
|
|
10927
10947
|
return I;
|
|
10928
10948
|
}, K = (R) => {
|
|
@@ -10954,8 +10974,8 @@ function No(t) {
|
|
|
10954
10974
|
R.splice(z, 1), R.splice(z + 1, 0, we);
|
|
10955
10975
|
}
|
|
10956
10976
|
c(`moveDownWidget ${I == null ? void 0 : I.id}`);
|
|
10957
|
-
},
|
|
10958
|
-
var we, se, he, ie,
|
|
10977
|
+
}, le = (R) => {
|
|
10978
|
+
var we, se, he, ie, ce, je, re, Se, Z, ke;
|
|
10959
10979
|
let I = null, z = Fe(R);
|
|
10960
10980
|
if (E(R))
|
|
10961
10981
|
I = Ce(z), (we = I.cols) == null || we.push(x()), (se = I.cols) == null || se.push(x());
|
|
@@ -10964,12 +10984,12 @@ function No(t) {
|
|
|
10964
10984
|
const ct = b(rt.container);
|
|
10965
10985
|
(he = ct.children) == null || he.push(b(rt.header));
|
|
10966
10986
|
let Me = b(rt.container, { direction: Ye.horizontal });
|
|
10967
|
-
(ie = Me.children) == null || ie.push(b(rt.aside, { cellWidth: new a(s.placer, "20%") })), (
|
|
10987
|
+
(ie = Me.children) == null || ie.push(b(rt.aside, { cellWidth: new a(s.placer, "20%") })), (ce = Me.children) == null || ce.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);
|
|
10968
10988
|
} else
|
|
10969
10989
|
D(R) ? (I = Ce(z), (Z = I.rows) == null || Z.push(g())) : A(R) ? (I = Ce(z), (ke = I.tabs) == null || ke.push(d(void 0, !0))) : I = Ce(z);
|
|
10970
10990
|
return I.id = ue.newId(I.type), ue.setName(I, I.id), I;
|
|
10971
|
-
},
|
|
10972
|
-
let I =
|
|
10991
|
+
}, ye = (R) => {
|
|
10992
|
+
let I = le(R);
|
|
10973
10993
|
t.widgetList.push(I), $(I), c(`addContainerByDbClick ${R == null ? void 0 : R.id}`);
|
|
10974
10994
|
}, be = (R, I) => {
|
|
10975
10995
|
var z = null;
|
|
@@ -11008,8 +11028,8 @@ function No(t) {
|
|
|
11008
11028
|
clearSelected: U,
|
|
11009
11029
|
updateSelectedWidgetLabel: q,
|
|
11010
11030
|
copyNewFieldWidget: j,
|
|
11011
|
-
copyNewContainerWidget:
|
|
11012
|
-
addContainerByDbClick:
|
|
11031
|
+
copyNewContainerWidget: le,
|
|
11032
|
+
addContainerByDbClick: ye,
|
|
11013
11033
|
addFieldByDbClick: K,
|
|
11014
11034
|
selectWidget: Ze,
|
|
11015
11035
|
removeSelectedWidget: () => {
|
|
@@ -11041,7 +11061,7 @@ function No(t) {
|
|
|
11041
11061
|
checkWidgetMove: L,
|
|
11042
11062
|
onWidgetDragAdd: W,
|
|
11043
11063
|
onWidgetDragEnd: Y,
|
|
11044
|
-
onWidgetDragUpdate:
|
|
11064
|
+
onWidgetDragUpdate: pe,
|
|
11045
11065
|
onWidgetDragRemove: Ae,
|
|
11046
11066
|
setCssClassList: ee,
|
|
11047
11067
|
getCssClassList: ae,
|
|
@@ -11056,7 +11076,7 @@ function No(t) {
|
|
|
11056
11076
|
findWidgetById: h,
|
|
11057
11077
|
findToRootFromNode: Xt,
|
|
11058
11078
|
buildFormItemList: _,
|
|
11059
|
-
emitHistoryChangeAfter:
|
|
11079
|
+
emitHistoryChangeAfter: m,
|
|
11060
11080
|
watchPropAndSaveHistory: (R) => {
|
|
11061
11081
|
R && di(() => {
|
|
11062
11082
|
var I;
|
|
@@ -11075,7 +11095,7 @@ export {
|
|
|
11075
11095
|
oa as e,
|
|
11076
11096
|
un as f,
|
|
11077
11097
|
Io as g,
|
|
11078
|
-
|
|
11098
|
+
jt as h,
|
|
11079
11099
|
Pn as i,
|
|
11080
11100
|
Ln as j,
|
|
11081
11101
|
Lo as k,
|