@web-utils/component 2.30.1 → 2.40.0
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/address-input/index.mjs +9 -9
- package/address-input/style.css +1 -1
- package/affix/index.mjs +1 -1
- package/affix/style.css +1 -1
- package/aside-menu/index.mjs +20 -20
- package/aside-menu/style.css +1 -1
- package/avatar/index.mjs +1 -1
- package/avatar/style.css +1 -1
- package/awesome-button/index.mjs +1 -1
- package/base.css +1 -1
- package/capsule-tab/index.mjs +10 -10
- package/capsule-tab/style.css +1 -1
- package/card/index.mjs +23 -23
- package/card/style.css +1 -1
- package/carousel/index.mjs +5 -5
- package/carousel/style.css +1 -1
- package/chat/index.mjs +5 -3
- package/chat/style.css +1 -1
- package/chunk-file-uploader/index.mjs +3 -3
- package/chunk-file-uploader/style.css +1 -1
- package/chunks/{FormTemp.FX8xmbVB.mjs → FormTemp.7f91629d.mjs} +4 -4
- package/chunks/{confirmable-mixin.rTUMhoRH.mjs → confirmable-mixin.817b542f.mjs} +16 -6
- package/chunks/{dataformat.X_61lMA7.mjs → dataformat.f995e2f9.mjs} +1 -1
- package/chunks/{dic.6tk91Dmq.mjs → dic.eaac0823.mjs} +8 -10
- package/chunks/{event.NHA7rYFE.mjs → event.b5d855dd.mjs} +3 -3
- package/chunks/{form-input-mixin.IKogWBfn.mjs → form-input-mixin.4632ad36.mjs} +2 -2
- package/chunks/{form-item-mixin.BilKDUlK.mjs → form-item-mixin.ad148e7b.mjs} +1 -1
- package/chunks/{init.Ac4dKUJB.mjs → init.47f219b4.mjs} +3 -3
- package/chunks/{util.C2Bhx22L.mjs → util.ae730cde.mjs} +24 -18
- package/code-mirror-editor/index.mjs +404 -175
- package/code-mirror-editor/style.css +1 -1
- package/color-picker/index.mjs +1 -1
- package/comment/index.mjs +18 -18
- package/comment/style.css +1 -1
- package/confirm-button/index.mjs +2 -2
- package/confirmable/index.mjs +2 -2
- package/context-menu/index.mjs +9 -9
- package/context-menu/style.css +1 -1
- package/count-up/index.mjs +6 -10
- package/custom-scrollbar/index.mjs +5 -9
- package/data-box/index.mjs +8 -8
- package/data-box/style.css +1 -1
- package/data-card/index.mjs +19 -19
- package/data-card/style.css +1 -1
- package/data-cardtext/index.mjs +22 -22
- package/data-cardtext/style.css +1 -1
- package/data-display/index.mjs +24 -24
- package/data-display/style.css +1 -1
- package/data-icons/index.mjs +13 -13
- package/data-icons/style.css +1 -1
- package/data-imgtext/index.mjs +18 -18
- package/data-imgtext/style.css +1 -1
- package/data-operatext/index.mjs +28 -28
- package/data-operatext/style.css +1 -1
- package/data-panel/index.mjs +15 -15
- package/data-panel/style.css +1 -1
- package/data-pay/index.mjs +7 -7
- package/data-pay/style.css +1 -1
- package/data-price/index.mjs +5 -5
- package/data-price/style.css +1 -1
- package/data-progress/index.mjs +16 -16
- package/data-progress/style.css +1 -1
- package/data-rotate/index.mjs +7 -7
- package/data-rotate/style.css +1 -1
- package/data-table-picker/index.mjs +2 -2
- package/data-tabs/index.mjs +6 -6
- package/data-tabs/style.css +1 -1
- package/dialog-form/index.mjs +47 -47
- package/dialog-form/style.css +1 -1
- package/dynamic-table/index.mjs +15 -15
- package/dynamic-table/style.css +1 -1
- package/e-charts/index.mjs +7 -7
- package/e-charts/style.css +1 -1
- package/easy-popup/index.mjs +15 -15
- package/easy-popup/style.css +1 -1
- package/editable-progress/index.mjs +1 -1
- package/editable-progress/style.css +1 -1
- package/editable-tree/index.mjs +5 -5
- package/editable-tree/style.css +1 -1
- package/egd-collapse/index.mjs +1 -1
- package/egd-collapse-item/index.mjs +1 -1
- package/element-dialog/index.mjs +13 -9
- package/element-dialog/style.css +1 -1
- package/empty-view/index.mjs +9 -9
- package/empty-view/style.css +1 -1
- package/error-view/index.mjs +13 -13
- package/error-view/style.css +1 -1
- package/flex-column/index.mjs +2 -2
- package/flex-item/index.mjs +12 -6
- package/flex-row/index.mjs +2 -2
- package/flex-scroller/index.mjs +5 -5
- package/flex-scroller/style.css +1 -1
- package/flow/index.mjs +23 -9
- package/flow/style.css +1 -1
- package/flow-designer/index.mjs +156 -63
- package/flow-designer/style.css +1 -1
- package/flow-node/index.mjs +2 -2
- package/flow-viewer/index.mjs +20 -11
- package/flow-viewer/style.css +1 -1
- package/form-block/index.mjs +23 -20
- package/form-block/style.css +1 -1
- package/form-button/index.mjs +1 -1
- package/form-cascader/index.mjs +7 -5
- package/form-checkbox-group/index.mjs +9 -7
- package/form-checkbox-group/style.css +1 -1
- package/form-date-picker/index.mjs +41 -12
- package/form-holder/index.mjs +6 -3
- package/form-input/index.mjs +6 -4
- package/form-input-email/index.mjs +12 -8
- package/form-input-id-card/index.mjs +12 -8
- package/form-input-number/index.mjs +10 -8
- package/form-input-number/style.css +1 -1
- package/form-input-phone-number/index.mjs +12 -8
- package/form-input-tag/index.mjs +3 -3
- package/form-input-time/index.mjs +6 -4
- package/form-item/index.mjs +43 -37
- package/form-item/style.css +1 -1
- package/form-item-config-provider/index.mjs +1 -1
- package/form-item-group/index.mjs +15 -12
- package/form-item-group/style.css +1 -1
- package/form-radio-group/index.mjs +40 -38
- package/form-radio-group/style.css +1 -1
- package/form-select/index.mjs +7 -5
- package/form-switch/index.mjs +6 -4
- package/form-textarea/index.mjs +6 -4
- package/form-view/index.mjs +32 -10
- package/form-view/style.css +1 -1
- package/fy-array/index.mjs +9 -9
- package/fy-array/style.css +1 -1
- package/fy-article/index.mjs +7 -7
- package/fy-article/style.css +1 -1
- package/fy-cascader/index.mjs +2 -2
- package/fy-checkbox/index.mjs +6 -6
- package/fy-checkbox/style.css +1 -1
- package/fy-code/index.mjs +2 -2
- package/fy-curd/index.mjs +117 -99
- package/fy-curd/style.css +1 -1
- package/fy-date/index.mjs +8 -8
- package/fy-date/style.css +1 -1
- package/fy-draggable/index.mjs +3 -3
- package/fy-draggable/style.css +1 -1
- package/fy-dynamic/index.mjs +51 -43
- package/fy-dynamic/style.css +1 -1
- package/fy-empty/index.mjs +10 -10
- package/fy-empty/style.css +1 -1
- package/fy-form/index.mjs +42 -42
- package/fy-form/style.css +1 -1
- package/fy-form-design/index.mjs +539 -421
- package/fy-form-design/style.css +1 -1
- package/fy-input/index.mjs +2 -2
- package/fy-input-color/index.mjs +2 -2
- package/fy-input-icon/index.mjs +5 -5
- package/fy-input-icon/style.css +1 -1
- package/fy-input-map/index.mjs +21 -15
- package/fy-input-map/style.css +1 -1
- package/fy-input-number/index.mjs +2 -2
- package/fy-input-table/index.mjs +13 -10
- package/fy-input-table/style.css +1 -1
- package/fy-input-tree/index.mjs +6 -6
- package/fy-input-tree/style.css +1 -1
- package/fy-progress/index.mjs +1 -1
- package/fy-radio/index.mjs +6 -6
- package/fy-radio/style.css +1 -1
- package/fy-rate/index.mjs +4 -4
- package/fy-rate/style.css +1 -1
- package/fy-select/index.mjs +27 -27
- package/fy-select/style.css +1 -1
- package/fy-slider/index.mjs +3 -3
- package/fy-switch/index.mjs +2 -2
- package/fy-tabs/index.mjs +1 -1
- package/fy-time/index.mjs +2 -2
- package/fy-title/index.mjs +14 -14
- package/fy-title/style.css +1 -1
- package/fy-tree/index.mjs +6 -9
- package/fy-tree/style.css +1 -1
- package/fy-u-editor/index.mjs +34 -32
- package/fy-u-editor/style.css +1 -1
- package/fy-upload/index.mjs +27 -27
- package/fy-upload/style.css +1 -1
- package/guide-steps/index.mjs +12 -12
- package/guide-steps/style.css +1 -1
- package/highlight-j-s/index.mjs +1 -1
- package/highlight-j-s/style.css +1 -1
- package/icon-card/index.mjs +9 -9
- package/icon-card/style.css +1 -1
- package/icon-temp/index.mjs +16 -16
- package/icon-temp/style.css +1 -1
- package/iframe-window/index.mjs +5 -5
- package/iframe-window/style.css +1 -1
- package/image-cropper/index.mjs +10 -10
- package/image-cropper/style.css +1 -1
- package/image-preview/index.mjs +7 -7
- package/image-preview/style.css +1 -1
- package/image-viewer/index.mjs +5 -5
- package/image-viewer/style.css +1 -1
- package/input-number/index.mjs +2 -2
- package/input-number/style.css +1 -1
- package/input-number-range/index.mjs +7 -7
- package/input-number-range/style.css +1 -1
- package/keep-view-alive/index.mjs +6 -2
- package/keyboard/index.mjs +21 -20
- package/keyboard/style.css +1 -1
- package/license/index.mjs +2 -2
- package/loading-view/index.mjs +5 -5
- package/loading-view/style.css +1 -1
- package/login/index.mjs +4 -4
- package/login/style.css +1 -1
- package/monaco-editor/index.mjs +2 -2
- package/name-avatar/index.mjs +6 -6
- package/name-avatar/style.css +1 -1
- package/nav-bar/index.mjs +8 -8
- package/nav-bar/style.css +1 -1
- package/not-implement/index.mjs +15 -15
- package/not-implement/style.css +1 -1
- package/notice/index.mjs +5 -5
- package/notice/style.css +1 -1
- package/package.json +1 -1
- package/page/index.mjs +8 -8
- package/page/style.css +1 -1
- package/page-header/index.mjs +6 -6
- package/page-header/style.css +1 -1
- package/page-index/index.mjs +19 -19
- package/page-index/style.css +1 -1
- package/page-index-top/index.mjs +1 -1
- package/page-skeleton/index.mjs +21 -21
- package/page-skeleton/style.css +1 -1
- package/page-skeleton-new/index.mjs +3 -3
- package/page-skeleton-new/style.css +1 -1
- package/pageable-table/index.mjs +21 -26
- package/pageable-table/style.css +1 -1
- package/pageable-view/index.mjs +37 -42
- package/pageable-view/style.css +1 -1
- package/photo-swipe/index.mjs +4 -2
- package/present-view/index.mjs +31 -9
- package/present-view/style.css +1 -1
- package/queue/index.mjs +4 -4
- package/queue/style.css +1 -1
- package/record-video/index.mjs +14 -14
- package/record-video/style.css +1 -1
- package/resize-observer/index.mjs +6 -6
- package/resize-observer/style.css +1 -1
- package/search/index.mjs +7 -7
- package/search/style.css +1 -1
- package/search-popover/index.mjs +6 -6
- package/search-popover/style.css +1 -1
- package/sign/index.mjs +31 -31
- package/sign/style.css +1 -1
- package/sign-panel/index.mjs +8 -8
- package/sign-panel/style.css +1 -1
- package/skeleton/index.mjs +10 -10
- package/skeleton/style.css +1 -1
- package/split-pane/index.mjs +19 -22
- package/split-pane/style.css +1 -1
- package/stateful/index.mjs +12 -12
- package/stateful/style.css +1 -1
- package/static-pageable-table/index.mjs +9 -9
- package/static-pageable-table/style.css +1 -1
- package/swiper/index.mjs +7 -7
- package/swiper/style.css +1 -1
- package/tab/index.mjs +2 -2
- package/tab/style.css +1 -1
- package/tab-item/index.mjs +2 -2
- package/table-column/index.mjs +10 -6
- package/table-view/index.mjs +28 -8
- package/table-view/style.css +1 -1
- package/tag-render/index.mjs +29 -29
- package/tag-render/style.css +1 -1
- package/text-ellipsis/index.mjs +9 -12
- package/text-ellipsis/style.css +1 -1
- package/tinymce-editor/index.mjs +77 -77
- package/tinymce-editor/style.css +1 -1
- package/toolbar/index.mjs +1 -1
- package/toolbar/style.css +1 -1
- package/toolbar-button/index.mjs +6 -6
- package/toolbar-button/style.css +1 -1
- package/verify/index.mjs +10 -10
- package/verify/style.css +1 -1
- package/vue-cron/index.mjs +1 -1
- package/vue-cron/style.css +1 -1
- package/vue-qr-code/index.mjs +1 -1
- package/vue-quill-editor/index.mjs +3 -3
- package/vue-quill-editor/style.css +1 -1
- package/vue-tags-input/index.mjs +1 -1
- package/vue-tags-input/style.css +1 -1
- package/vue-tree-select/index.mjs +25 -22
- package/vue-tree-select/style.css +1 -1
- package/vue-video-player/index.mjs +32 -29
- package/vue-video-player/style.css +1 -1
- package/watermark/index.mjs +11 -11
- package/watermark/style.css +1 -1
- package/web-types.json +31 -31
- package/x-input-tag/index.mjs +13 -13
- package/x-input-tag/style.css +1 -1
- /package/chunks/{form-pick-mixin.y-qhZJi6.mjs → form-pick-mixin.61ad06b2.mjs} +0 -0
- /package/chunks/{index.LGsb2aDq.mjs → index.57f871af.mjs} +0 -0
- /package/chunks/{input-number-mixin.GE2zr_3s.mjs → input-number-mixin.41a066be.mjs} +0 -0
- /package/chunks/{json-beautifier.fUZFSW5j.mjs → json-beautifier.21cfffea.mjs} +0 -0
- /package/chunks/{packages.v6r2Hr7E.mjs → packages.1fc9ccba.mjs} +0 -0
- /package/chunks/{permission.E9kZbW48.mjs → permission.ce5d2121.mjs} +0 -0
- /package/chunks/{slot.j1uMmBnG.mjs → slot.4b391395.mjs} +0 -0
- /package/chunks/{tab-mixin.tM9jcRT8.mjs → tab-mixin.e2b9c6a4.mjs} +0 -0
- /package/chunks/{vueComponentNormalizer.JwmUNtgn.mjs → vueComponentNormalizer.446f5dc4.mjs} +0 -0
|
@@ -12,167 +12,381 @@ import "codemirror/addon/fold/foldgutter";
|
|
|
12
12
|
import "codemirror/addon/fold/foldgutter.css";
|
|
13
13
|
import "codemirror/addon/fold/brace-fold";
|
|
14
14
|
import "codemirror/addon/fold/comment-fold";
|
|
15
|
-
import { n as j } from "../chunks/vueComponentNormalizer.
|
|
16
|
-
var
|
|
17
|
-
var i = {},
|
|
18
|
-
var m = {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
if (_ == 3) {
|
|
93
|
-
if (l == L)
|
|
94
|
-
throw new Error(x || "Parsing halted.");
|
|
95
|
-
N = this.lexer.yyleng, v = this.lexer.yytext, d = this.lexer.yylineno, b = this.lexer.yylloc, l = n();
|
|
96
|
-
}
|
|
97
|
-
for (; !($.toString() in r[a]); ) {
|
|
98
|
-
if (a == 0)
|
|
99
|
-
throw new Error(x || "Parsing halted.");
|
|
100
|
-
t(1), a = s[s.length - 1];
|
|
101
|
-
}
|
|
102
|
-
S = l, l = $, a = s[s.length - 1], c = r[a] && r[a][$], _ = 3;
|
|
103
|
-
}
|
|
104
|
-
if (c[0] instanceof Array && c.length > 1)
|
|
105
|
-
throw new Error("Parse Error: multiple actions possible at state: " + a + ", token: " + l);
|
|
106
|
-
switch (c[0]) {
|
|
15
|
+
import { n as j } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
16
|
+
var M = function() {
|
|
17
|
+
var i = {}, l = function() {
|
|
18
|
+
var m = {
|
|
19
|
+
trace: function() {
|
|
20
|
+
},
|
|
21
|
+
yy: {},
|
|
22
|
+
symbols_: {
|
|
23
|
+
error: 2,
|
|
24
|
+
JSONString: 3,
|
|
25
|
+
STRING: 4,
|
|
26
|
+
JSONNumber: 5,
|
|
27
|
+
NUMBER: 6,
|
|
28
|
+
JSONNullLiteral: 7,
|
|
29
|
+
NULL: 8,
|
|
30
|
+
JSONBooleanLiteral: 9,
|
|
31
|
+
TRUE: 10,
|
|
32
|
+
FALSE: 11,
|
|
33
|
+
JSONText: 12,
|
|
34
|
+
JSONValue: 13,
|
|
35
|
+
EOF: 14,
|
|
36
|
+
JSONObject: 15,
|
|
37
|
+
JSONArray: 16,
|
|
38
|
+
"{": 17,
|
|
39
|
+
"}": 18,
|
|
40
|
+
JSONMemberList: 19,
|
|
41
|
+
JSONMember: 20,
|
|
42
|
+
":": 21,
|
|
43
|
+
",": 22,
|
|
44
|
+
"[": 23,
|
|
45
|
+
"]": 24,
|
|
46
|
+
JSONElementList: 25,
|
|
47
|
+
$accept: 0,
|
|
48
|
+
$end: 1
|
|
49
|
+
},
|
|
50
|
+
terminals_: {
|
|
51
|
+
2: "error",
|
|
52
|
+
4: "STRING",
|
|
53
|
+
6: "NUMBER",
|
|
54
|
+
8: "NULL",
|
|
55
|
+
10: "TRUE",
|
|
56
|
+
11: "FALSE",
|
|
57
|
+
14: "EOF",
|
|
58
|
+
17: "{",
|
|
59
|
+
18: "}",
|
|
60
|
+
21: ":",
|
|
61
|
+
22: ",",
|
|
62
|
+
23: "[",
|
|
63
|
+
24: "]"
|
|
64
|
+
},
|
|
65
|
+
productions_: [
|
|
66
|
+
0,
|
|
67
|
+
[3, 1],
|
|
68
|
+
[5, 1],
|
|
69
|
+
[7, 1],
|
|
70
|
+
[9, 1],
|
|
71
|
+
[9, 1],
|
|
72
|
+
[12, 2],
|
|
73
|
+
[13, 1],
|
|
74
|
+
[13, 1],
|
|
75
|
+
[13, 1],
|
|
76
|
+
[13, 1],
|
|
77
|
+
[13, 1],
|
|
78
|
+
[13, 1],
|
|
79
|
+
[15, 2],
|
|
80
|
+
[15, 3],
|
|
81
|
+
[20, 3],
|
|
82
|
+
[19, 1],
|
|
83
|
+
[19, 3],
|
|
84
|
+
[16, 2],
|
|
85
|
+
[16, 3],
|
|
86
|
+
[25, 1],
|
|
87
|
+
[25, 3]
|
|
88
|
+
],
|
|
89
|
+
performAction: function(u, t, n, p, s, e, o) {
|
|
90
|
+
var r = e.length - 1;
|
|
91
|
+
switch (s) {
|
|
107
92
|
case 1:
|
|
108
|
-
|
|
93
|
+
this.$ = u.replace(/\\(\\|")/g, "$1").replace(/\\n/g, `
|
|
94
|
+
`).replace(/\\r/g, "\r").replace(/\\t/g, " ").replace(/\\v/g, "\v").replace(/\\f/g, "\f").replace(/\\b/g, "\b");
|
|
109
95
|
break;
|
|
110
96
|
case 2:
|
|
111
|
-
|
|
112
|
-
return w;
|
|
113
|
-
f && (s = s.slice(0, -1 * f * 2), e = e.slice(0, -1 * f), o = o.slice(0, -1 * f)), s.push(this.productions_[c[1]][0]), e.push(g.$), o.push(g._$), A = r[s[s.length - 2]][s[s.length - 1]], s.push(A);
|
|
97
|
+
this.$ = Number(u);
|
|
114
98
|
break;
|
|
115
99
|
case 3:
|
|
116
|
-
|
|
100
|
+
this.$ = null;
|
|
101
|
+
break;
|
|
102
|
+
case 4:
|
|
103
|
+
this.$ = !0;
|
|
104
|
+
break;
|
|
105
|
+
case 5:
|
|
106
|
+
this.$ = !1;
|
|
107
|
+
break;
|
|
108
|
+
case 6:
|
|
109
|
+
return this.$ = e[r - 1];
|
|
110
|
+
case 13:
|
|
111
|
+
this.$ = {};
|
|
112
|
+
break;
|
|
113
|
+
case 14:
|
|
114
|
+
this.$ = e[r - 1];
|
|
115
|
+
break;
|
|
116
|
+
case 15:
|
|
117
|
+
this.$ = [e[r - 2], e[r]];
|
|
118
|
+
break;
|
|
119
|
+
case 16:
|
|
120
|
+
this.$ = {}, this.$[e[r][0]] = e[r][1];
|
|
121
|
+
break;
|
|
122
|
+
case 17:
|
|
123
|
+
this.$ = e[r - 2], e[r - 2][e[r][0]] = e[r][1];
|
|
124
|
+
break;
|
|
125
|
+
case 18:
|
|
126
|
+
this.$ = [];
|
|
127
|
+
break;
|
|
128
|
+
case 19:
|
|
129
|
+
this.$ = e[r - 1];
|
|
130
|
+
break;
|
|
131
|
+
case 20:
|
|
132
|
+
this.$ = [e[r]];
|
|
133
|
+
break;
|
|
134
|
+
case 21:
|
|
135
|
+
this.$ = e[r - 2], e[r - 2].push(e[r]);
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
table: [
|
|
139
|
+
{
|
|
140
|
+
3: 5,
|
|
141
|
+
4: [1, 12],
|
|
142
|
+
5: 6,
|
|
143
|
+
6: [1, 13],
|
|
144
|
+
7: 3,
|
|
145
|
+
8: [1, 9],
|
|
146
|
+
9: 4,
|
|
147
|
+
10: [1, 10],
|
|
148
|
+
11: [1, 11],
|
|
149
|
+
12: 1,
|
|
150
|
+
13: 2,
|
|
151
|
+
15: 7,
|
|
152
|
+
16: 8,
|
|
153
|
+
17: [1, 14],
|
|
154
|
+
23: [1, 15]
|
|
155
|
+
},
|
|
156
|
+
{ 1: [3] },
|
|
157
|
+
{ 14: [1, 16] },
|
|
158
|
+
{ 14: [2, 7], 18: [2, 7], 22: [2, 7], 24: [2, 7] },
|
|
159
|
+
{ 14: [2, 8], 18: [2, 8], 22: [2, 8], 24: [2, 8] },
|
|
160
|
+
{ 14: [2, 9], 18: [2, 9], 22: [2, 9], 24: [2, 9] },
|
|
161
|
+
{ 14: [2, 10], 18: [2, 10], 22: [2, 10], 24: [2, 10] },
|
|
162
|
+
{ 14: [2, 11], 18: [2, 11], 22: [2, 11], 24: [2, 11] },
|
|
163
|
+
{ 14: [2, 12], 18: [2, 12], 22: [2, 12], 24: [2, 12] },
|
|
164
|
+
{ 14: [2, 3], 18: [2, 3], 22: [2, 3], 24: [2, 3] },
|
|
165
|
+
{ 14: [2, 4], 18: [2, 4], 22: [2, 4], 24: [2, 4] },
|
|
166
|
+
{ 14: [2, 5], 18: [2, 5], 22: [2, 5], 24: [2, 5] },
|
|
167
|
+
{ 14: [2, 1], 18: [2, 1], 21: [2, 1], 22: [2, 1], 24: [2, 1] },
|
|
168
|
+
{ 14: [2, 2], 18: [2, 2], 22: [2, 2], 24: [2, 2] },
|
|
169
|
+
{ 3: 20, 4: [1, 12], 18: [1, 17], 19: 18, 20: 19 },
|
|
170
|
+
{
|
|
171
|
+
3: 5,
|
|
172
|
+
4: [1, 12],
|
|
173
|
+
5: 6,
|
|
174
|
+
6: [1, 13],
|
|
175
|
+
7: 3,
|
|
176
|
+
8: [1, 9],
|
|
177
|
+
9: 4,
|
|
178
|
+
10: [1, 10],
|
|
179
|
+
11: [1, 11],
|
|
180
|
+
13: 23,
|
|
181
|
+
15: 7,
|
|
182
|
+
16: 8,
|
|
183
|
+
17: [1, 14],
|
|
184
|
+
23: [1, 15],
|
|
185
|
+
24: [1, 21],
|
|
186
|
+
25: 22
|
|
187
|
+
},
|
|
188
|
+
{ 1: [2, 6] },
|
|
189
|
+
{ 14: [2, 13], 18: [2, 13], 22: [2, 13], 24: [2, 13] },
|
|
190
|
+
{ 18: [1, 24], 22: [1, 25] },
|
|
191
|
+
{ 18: [2, 16], 22: [2, 16] },
|
|
192
|
+
{ 21: [1, 26] },
|
|
193
|
+
{ 14: [2, 18], 18: [2, 18], 22: [2, 18], 24: [2, 18] },
|
|
194
|
+
{ 22: [1, 28], 24: [1, 27] },
|
|
195
|
+
{ 22: [2, 20], 24: [2, 20] },
|
|
196
|
+
{ 14: [2, 14], 18: [2, 14], 22: [2, 14], 24: [2, 14] },
|
|
197
|
+
{ 3: 20, 4: [1, 12], 20: 29 },
|
|
198
|
+
{
|
|
199
|
+
3: 5,
|
|
200
|
+
4: [1, 12],
|
|
201
|
+
5: 6,
|
|
202
|
+
6: [1, 13],
|
|
203
|
+
7: 3,
|
|
204
|
+
8: [1, 9],
|
|
205
|
+
9: 4,
|
|
206
|
+
10: [1, 10],
|
|
207
|
+
11: [1, 11],
|
|
208
|
+
13: 30,
|
|
209
|
+
15: 7,
|
|
210
|
+
16: 8,
|
|
211
|
+
17: [1, 14],
|
|
212
|
+
23: [1, 15]
|
|
213
|
+
},
|
|
214
|
+
{ 14: [2, 19], 18: [2, 19], 22: [2, 19], 24: [2, 19] },
|
|
215
|
+
{
|
|
216
|
+
3: 5,
|
|
217
|
+
4: [1, 12],
|
|
218
|
+
5: 6,
|
|
219
|
+
6: [1, 13],
|
|
220
|
+
7: 3,
|
|
221
|
+
8: [1, 9],
|
|
222
|
+
9: 4,
|
|
223
|
+
10: [1, 10],
|
|
224
|
+
11: [1, 11],
|
|
225
|
+
13: 31,
|
|
226
|
+
15: 7,
|
|
227
|
+
16: 8,
|
|
228
|
+
17: [1, 14],
|
|
229
|
+
23: [1, 15]
|
|
230
|
+
},
|
|
231
|
+
{ 18: [2, 17], 22: [2, 17] },
|
|
232
|
+
{ 18: [2, 15], 22: [2, 15] },
|
|
233
|
+
{ 22: [2, 21], 24: [2, 21] }
|
|
234
|
+
],
|
|
235
|
+
defaultActions: { 16: [2, 6] },
|
|
236
|
+
parseError: function(u, t) {
|
|
237
|
+
throw new Error(u);
|
|
238
|
+
},
|
|
239
|
+
parse: function(u) {
|
|
240
|
+
function t(y) {
|
|
241
|
+
s.length = s.length - 2 * y, e.length = e.length - y, o.length = o.length - y;
|
|
242
|
+
}
|
|
243
|
+
function n() {
|
|
244
|
+
var y;
|
|
245
|
+
return y = p.lexer.lex() || 1, typeof y != "number" && (y = p.symbols_[y] || y), y;
|
|
246
|
+
}
|
|
247
|
+
var p = this, s = [0], e = [null], o = [], r = this.table, k = "", d = 0, N = 0, _ = 0, $ = 2, L = 1;
|
|
248
|
+
this.lexer.setInput(u), this.lexer.yy = this.yy, this.yy.lexer = this.lexer, typeof this.lexer.yylloc == "undefined" && (this.lexer.yylloc = {});
|
|
249
|
+
var b = this.lexer.yylloc;
|
|
250
|
+
o.push(b), typeof this.yy.parseError == "function" && (this.parseError = this.yy.parseError);
|
|
251
|
+
for (var h, S, a, c, w, g = {}, v, f, A, E; ; ) {
|
|
252
|
+
if (a = s[s.length - 1], this.defaultActions[a] ? c = this.defaultActions[a] : (h == null && (h = n()), c = r[a] && r[a][h]), typeof c == "undefined" || !c.length || !c[0]) {
|
|
253
|
+
if (!_) {
|
|
254
|
+
E = [];
|
|
255
|
+
for (v in r[a])
|
|
256
|
+
this.terminals_[v] && v > 2 && E.push("'" + this.terminals_[v] + "'");
|
|
257
|
+
var x = "";
|
|
258
|
+
this.lexer.showPosition ? x = "Parse error on line " + (d + 1) + `:
|
|
259
|
+
` + this.lexer.showPosition() + `
|
|
260
|
+
Expecting ` + E.join(", ") + ", got '" + this.terminals_[h] + "'" : x = "Parse error on line " + (d + 1) + ": Unexpected " + (h == 1 ? "end of input" : "'" + (this.terminals_[h] || h) + "'"), this.parseError(x, {
|
|
261
|
+
text: this.lexer.match,
|
|
262
|
+
token: this.terminals_[h] || h,
|
|
263
|
+
line: this.lexer.yylineno,
|
|
264
|
+
loc: b,
|
|
265
|
+
expected: E
|
|
266
|
+
});
|
|
267
|
+
}
|
|
268
|
+
if (_ == 3) {
|
|
269
|
+
if (h == L)
|
|
270
|
+
throw new Error(x || "Parsing halted.");
|
|
271
|
+
N = this.lexer.yyleng, k = this.lexer.yytext, d = this.lexer.yylineno, b = this.lexer.yylloc, h = n();
|
|
272
|
+
}
|
|
273
|
+
for (; !($.toString() in r[a]); ) {
|
|
274
|
+
if (a == 0)
|
|
275
|
+
throw new Error(x || "Parsing halted.");
|
|
276
|
+
t(1), a = s[s.length - 1];
|
|
277
|
+
}
|
|
278
|
+
S = h, h = $, a = s[s.length - 1], c = r[a] && r[a][$], _ = 3;
|
|
279
|
+
}
|
|
280
|
+
if (c[0] instanceof Array && c.length > 1)
|
|
281
|
+
throw new Error("Parse Error: multiple actions possible at state: " + a + ", token: " + h);
|
|
282
|
+
switch (c[0]) {
|
|
283
|
+
case 1:
|
|
284
|
+
s.push(h), e.push(this.lexer.yytext), o.push(this.lexer.yylloc), s.push(c[1]), h = null, S ? (h = S, S = null) : (N = this.lexer.yyleng, k = this.lexer.yytext, d = this.lexer.yylineno, b = this.lexer.yylloc, _ > 0 && _--);
|
|
285
|
+
break;
|
|
286
|
+
case 2:
|
|
287
|
+
if (f = this.productions_[c[1]][1], g.$ = e[e.length - f], g._$ = {
|
|
288
|
+
first_line: o[o.length - (f || 1)].first_line,
|
|
289
|
+
last_line: o[o.length - 1].last_line,
|
|
290
|
+
first_column: o[o.length - (f || 1)].first_column,
|
|
291
|
+
last_column: o[o.length - 1].last_column
|
|
292
|
+
}, w = this.performAction.call(g, k, N, d, this.yy, c[1], e, o), typeof w != "undefined")
|
|
293
|
+
return w;
|
|
294
|
+
f && (s = s.slice(0, -1 * f * 2), e = e.slice(0, -1 * f), o = o.slice(0, -1 * f)), s.push(this.productions_[c[1]][0]), e.push(g.$), o.push(g._$), A = r[s[s.length - 2]][s[s.length - 1]], s.push(A);
|
|
295
|
+
break;
|
|
296
|
+
case 3:
|
|
297
|
+
return !0;
|
|
298
|
+
}
|
|
117
299
|
}
|
|
300
|
+
return !0;
|
|
118
301
|
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
302
|
+
}, J = function() {
|
|
303
|
+
var u = {
|
|
304
|
+
EOF: 1,
|
|
305
|
+
parseError: function(t, n) {
|
|
306
|
+
if (!this.yy.parseError)
|
|
307
|
+
throw new Error(t);
|
|
308
|
+
this.yy.parseError(t, n);
|
|
309
|
+
},
|
|
310
|
+
setInput: function(t) {
|
|
311
|
+
return this._input = t, this._more = this._less = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = { first_line: 1, first_column: 0, last_line: 1, last_column: 0 }, this;
|
|
312
|
+
},
|
|
313
|
+
input: function() {
|
|
314
|
+
var t = this._input[0];
|
|
315
|
+
this.yytext += t, this.yyleng++, this.match += t, this.matched += t;
|
|
316
|
+
var n = t.match(/\n/);
|
|
317
|
+
return n && this.yylineno++, this._input = this._input.slice(1), t;
|
|
318
|
+
},
|
|
319
|
+
unput: function(t) {
|
|
320
|
+
return this._input = t + this._input, this;
|
|
321
|
+
},
|
|
322
|
+
more: function() {
|
|
323
|
+
return this._more = !0, this;
|
|
324
|
+
},
|
|
325
|
+
less: function(t) {
|
|
326
|
+
this._input = this.match.slice(t) + this._input;
|
|
327
|
+
},
|
|
328
|
+
pastInput: function() {
|
|
329
|
+
var t = this.matched.substr(0, this.matched.length - this.match.length);
|
|
330
|
+
return (t.length > 20 ? "..." : "") + t.substr(-20).replace(/\n/g, "");
|
|
331
|
+
},
|
|
332
|
+
upcomingInput: function() {
|
|
333
|
+
var t = this.match;
|
|
334
|
+
return t.length < 20 && (t += this._input.substr(0, 20 - t.length)), (t.substr(0, 20) + (t.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
335
|
+
},
|
|
336
|
+
showPosition: function() {
|
|
337
|
+
var t = this.pastInput(), n = new Array(t.length + 1).join("-");
|
|
338
|
+
return t + this.upcomingInput() + `
|
|
147
339
|
` + n + "^";
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
;
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
340
|
+
},
|
|
341
|
+
next: function() {
|
|
342
|
+
if (this.done)
|
|
343
|
+
return this.EOF;
|
|
344
|
+
this._input || (this.done = !0);
|
|
345
|
+
var t, n, p, s, e;
|
|
346
|
+
this._more || (this.yytext = "", this.match = "");
|
|
347
|
+
for (var o = this._currentRules(), r = 0; r < o.length && (p = this._input.match(this.rules[o[r]]), !(p && (!n || p[0].length > n[0].length) && (n = p, s = r, !this.options.flex))); r++)
|
|
348
|
+
;
|
|
349
|
+
if (n)
|
|
350
|
+
return e = n[0].match(/\n.*/g), e && (this.yylineno += e.length), this.yylloc = {
|
|
351
|
+
first_line: this.yylloc.last_line,
|
|
352
|
+
last_line: this.yylineno + 1,
|
|
353
|
+
first_column: this.yylloc.last_column,
|
|
354
|
+
last_column: e ? e[e.length - 1].length - 1 : this.yylloc.last_column + n[0].length
|
|
355
|
+
}, this.yytext += n[0], this.match += n[0], this.yyleng = this.yytext.length, this._more = !1, this._input = this._input.slice(n[0].length), this.matched += n[0], t = this.performAction.call(
|
|
356
|
+
this,
|
|
357
|
+
this.yy,
|
|
358
|
+
this,
|
|
359
|
+
o[s],
|
|
360
|
+
this.conditionStack[this.conditionStack.length - 1]
|
|
361
|
+
), this.done && this._input && (this.done = !1), t || void 0;
|
|
362
|
+
if (this._input === "")
|
|
363
|
+
return this.EOF;
|
|
364
|
+
this.parseError(
|
|
365
|
+
"Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
366
|
+
` + this.showPosition(),
|
|
367
|
+
{ text: "", token: null, line: this.yylineno }
|
|
368
|
+
);
|
|
369
|
+
},
|
|
370
|
+
lex: function() {
|
|
371
|
+
var t = this.next();
|
|
372
|
+
return typeof t != "undefined" ? t : this.lex();
|
|
373
|
+
},
|
|
374
|
+
begin: function(t) {
|
|
375
|
+
this.conditionStack.push(t);
|
|
376
|
+
},
|
|
377
|
+
popState: function() {
|
|
378
|
+
return this.conditionStack.pop();
|
|
379
|
+
},
|
|
380
|
+
_currentRules: function() {
|
|
381
|
+
return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
|
|
382
|
+
},
|
|
383
|
+
topState: function() {
|
|
384
|
+
return this.conditionStack[this.conditionStack.length - 2];
|
|
385
|
+
},
|
|
386
|
+
pushState: function(t) {
|
|
387
|
+
this.begin(t);
|
|
388
|
+
}
|
|
389
|
+
};
|
|
176
390
|
return u.options = {}, u.performAction = function(t, n, p, s) {
|
|
177
391
|
switch (p) {
|
|
178
392
|
case 0:
|
|
@@ -204,37 +418,52 @@ Expecting ` + E.join(", ") + ", got '" + this.terminals_[l] + "'" : x = "Parse e
|
|
|
204
418
|
case 13:
|
|
205
419
|
return "INVALID";
|
|
206
420
|
}
|
|
207
|
-
}, u.rules = [
|
|
421
|
+
}, u.rules = [
|
|
422
|
+
/^(?:\s+)/,
|
|
423
|
+
/^(?:(-?([0-9]|[1-9][0-9]+))(\.[0-9]+)?([eE][-+]?[0-9]+)?\b)/,
|
|
424
|
+
/^(?:"(?:\\[\\"bfnrt/]|\\u[a-fA-F0-9]{4}|[^\\\0-\x09\x0a-\x1f"])*")/,
|
|
425
|
+
/^(?:\{)/,
|
|
426
|
+
/^(?:\})/,
|
|
427
|
+
/^(?:\[)/,
|
|
428
|
+
/^(?:\])/,
|
|
429
|
+
/^(?:,)/,
|
|
430
|
+
/^(?::)/,
|
|
431
|
+
/^(?:true\b)/,
|
|
432
|
+
/^(?:false\b)/,
|
|
433
|
+
/^(?:null\b)/,
|
|
434
|
+
/^(?:$)/,
|
|
435
|
+
/^(?:.)/
|
|
436
|
+
], u.conditions = { INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], inclusive: !0 } }, u;
|
|
208
437
|
}();
|
|
209
438
|
return m.lexer = J, m;
|
|
210
439
|
}();
|
|
211
|
-
return i.parser =
|
|
212
|
-
return
|
|
440
|
+
return i.parser = l, i.parse = function() {
|
|
441
|
+
return l.parse.apply(l, arguments);
|
|
213
442
|
}, i;
|
|
214
|
-
}(),
|
|
215
|
-
var i = this,
|
|
443
|
+
}(), P = function() {
|
|
444
|
+
var i = this, l = i.$createElement, m = i._self._c || l;
|
|
216
445
|
return m("div", {
|
|
217
446
|
staticClass: "code-mirror-editor"
|
|
218
447
|
}, [m("textarea", {
|
|
219
448
|
ref: "editor"
|
|
220
449
|
})]);
|
|
221
|
-
},
|
|
222
|
-
window.jsonlint =
|
|
450
|
+
}, R = [];
|
|
451
|
+
window.jsonlint = M;
|
|
223
452
|
const O = (i) => {
|
|
224
453
|
if (i)
|
|
225
454
|
try {
|
|
226
455
|
return JSON.stringify(JSON.parse(i), null, 1);
|
|
227
|
-
} catch (
|
|
456
|
+
} catch (l) {
|
|
228
457
|
}
|
|
229
458
|
return i;
|
|
230
|
-
},
|
|
459
|
+
}, T = (i) => {
|
|
231
460
|
if (i)
|
|
232
461
|
try {
|
|
233
462
|
return JSON.stringify(JSON.parse(i));
|
|
234
|
-
} catch (
|
|
463
|
+
} catch (l) {
|
|
235
464
|
}
|
|
236
465
|
return i;
|
|
237
|
-
},
|
|
466
|
+
}, U = {
|
|
238
467
|
name: "CodeMirrorEditor",
|
|
239
468
|
inject: {
|
|
240
469
|
elForm: {
|
|
@@ -252,8 +481,8 @@ const O = (i) => {
|
|
|
252
481
|
},
|
|
253
482
|
watch: {
|
|
254
483
|
value(i) {
|
|
255
|
-
var
|
|
256
|
-
(
|
|
484
|
+
var l;
|
|
485
|
+
(l = this.editor) == null || l.setValue(O(i));
|
|
257
486
|
}
|
|
258
487
|
},
|
|
259
488
|
mounted() {
|
|
@@ -277,24 +506,24 @@ const O = (i) => {
|
|
|
277
506
|
});
|
|
278
507
|
},
|
|
279
508
|
beforeDestroy() {
|
|
280
|
-
var i,
|
|
281
|
-
(i = this.editor) == null || i.off("blur", this.change), (
|
|
509
|
+
var i, l;
|
|
510
|
+
(i = this.editor) == null || i.off("blur", this.change), (l = this.editor) == null || l.toTextArea();
|
|
282
511
|
},
|
|
283
512
|
methods: {
|
|
284
513
|
focus() {
|
|
285
|
-
var i,
|
|
286
|
-
(
|
|
514
|
+
var i, l;
|
|
515
|
+
(l = (i = this.elFormItem).clearValidate) == null || l.call(i);
|
|
287
516
|
},
|
|
288
517
|
change() {
|
|
289
518
|
var i;
|
|
290
|
-
this.$emit("input",
|
|
519
|
+
this.$emit("input", T((i = this.editor) == null ? void 0 : i.getValue()));
|
|
291
520
|
}
|
|
292
521
|
}
|
|
293
522
|
}, I = {};
|
|
294
523
|
var V = /* @__PURE__ */ j(
|
|
295
|
-
|
|
524
|
+
U,
|
|
525
|
+
P,
|
|
296
526
|
R,
|
|
297
|
-
T,
|
|
298
527
|
!1,
|
|
299
528
|
C,
|
|
300
529
|
null,
|
|
@@ -302,8 +531,8 @@ var V = /* @__PURE__ */ j(
|
|
|
302
531
|
null
|
|
303
532
|
);
|
|
304
533
|
function C(i) {
|
|
305
|
-
for (let
|
|
306
|
-
this[
|
|
534
|
+
for (let l in I)
|
|
535
|
+
this[l] = I[l];
|
|
307
536
|
}
|
|
308
537
|
const rt = /* @__PURE__ */ function() {
|
|
309
538
|
return V.exports;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.code-mirror-editor{line-height:normal}.code-mirror-editor .CodeMirror{border:1px solid #dcdfe6;border-radius:4px;overflow:hidden}.code-mirror-editor .CodeMirror.CodeMirror-focused{border-color:#e34e55}
|
|
1
|
+
.code-mirror-editor{line-height:normal}.code-mirror-editor .CodeMirror{border:1px solid #dcdfe6;border-radius:4px;overflow:hidden}.code-mirror-editor .CodeMirror.CodeMirror-focused{border-color:#e34e55}
|