@knime/jsonforms 1.5.10 → 1.5.12
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/CHANGELOG.md +17 -0
- package/dist/{AnyOfTwinlist-DMizLIwn.js → AnyOfTwinlist-DTggNnXP.js} +1 -1
- package/dist/{BaseButton-ew6uEaHi.js → BaseButton-I5M4pn6f.js} +1 -1
- package/dist/{Button-DI7EKUmu.js → Button-rLCsKJpO.js} +2 -2
- package/dist/{Checkbox-DPq-j4rC.js → Checkbox-DrJQzBqF.js} +1 -1
- package/dist/{CheckboxControl-Tnv1xVel.js → CheckboxControl-BGwhQMs-.js} +2 -2
- package/dist/{Checkboxes-CtN15klz.js → Checkboxes-Br3FkfqS.js} +2 -2
- package/dist/{CheckboxesControl-DcVkxf7W.js → CheckboxesControl-C5BkhWew.js} +2 -2
- package/dist/{ColumnFilter-Cw2PtnrT.js → ColumnFilter-DfAP8buV.js} +1 -1
- package/dist/{ColumnSelect-Df-m3Md2.js → ColumnSelect-vXE_85cR.js} +2 -2
- package/dist/{ComboBoxControl-DC3W4kPq.js → ComboBoxControl-CTMdhcN-.js} +4 -4
- package/dist/{DateControl-D70zb_g8.js → DateControl-B40Ar3uG.js} +1 -1
- package/dist/{DateTimeControl-C-ef6bOV.js → DateTimeControl-CUy0OZUE.js} +2 -2
- package/dist/{DateTimeFormatInput-t-O7ZqrA.js → DateTimeFormatInput-U6oDnsJW.js} +5 -5
- package/dist/{DateTimeFormatPickerControl-BbOu24lA.js → DateTimeFormatPickerControl-ARLARGoo.js} +2 -2
- package/dist/{DateTimeFormatPickerWithTypeControl-9e1ef9Hf.js → DateTimeFormatPickerWithTypeControl-Bu3NEwvJ.js} +3 -3
- package/dist/{DateTimeInput-C32yoECp.js → DateTimeInput-C7e1Z-XE.js} +3524 -3603
- package/dist/Dropdown-CPOTGnA1.js +605 -0
- package/dist/{DropdownControl-YplxM6ck.js → DropdownControl-CzD81Ycz.js} +1 -1
- package/dist/{DropdownControl.vue_vue_type_script_setup_true_lang-ByoiTkIU.js → DropdownControl.vue_vue_type_script_setup_true_lang-L2a_FDVR.js} +4 -4
- package/dist/{FunctionButton-Cee1Q-EN.js → FunctionButton-dHu7h3Y1.js} +2 -2
- package/dist/{HorizontalLayout-BtuP4oCU.js → HorizontalLayout-DpJ-y9Ro.js} +1 -1
- package/dist/{InputField-DHXXBWSv.js → InputField-BKnMLu77.js} +1 -1
- package/dist/{IntegerControl-B64xghdA.js → IntegerControl-Cly4hd8V.js} +1 -1
- package/dist/{IntervalControl-NldC56aj.js → IntervalControl-Bm-31Ea-.js} +6 -6
- package/dist/{MultiselectListBox-BUWB5ZWr.js → MultiselectListBox-OkLLUNac.js} +2 -2
- package/dist/{NameFilter-BQhzv9F3.js → NameFilter-DvtQFRJE.js} +1 -1
- package/dist/{NumberControl-EVY_3Hwl.js → NumberControl-C7SHCfb3.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-CA0OxGuU.js → NumberControlBase.vue_vue_type_script_setup_true_lang-QqzXKwDy.js} +2 -2
- package/dist/{NumberInput-CI1ee8it.js → NumberInput-AOsXRph2.js} +1 -1
- package/dist/{OneOfDropdown-BPZeE-Bn.js → OneOfDropdown-DwbMw791.js} +1 -1
- package/dist/{RadioControl-DbX_Wfuv.js → RadioControl-DeFDT7X0.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-BJdqHTLu.js → RadioControlBase.vue_vue_type_script_setup_true_lang-DO2v2uzO.js} +2 -2
- package/dist/{RichTextControl-Dl4V0nno.js → RichTextControl-BNvBtINB.js} +7 -7
- package/dist/{SectionLayout-CF6zovCM.js → SectionLayout-BUlQGeSC.js} +2 -2
- package/dist/{SimpleButtonControl-BwlE_a5H.js → SimpleButtonControl-BKhxWUOQ.js} +2 -2
- package/dist/{SimpleTwinlistControl-Cbwa6xtL.js → SimpleTwinlistControl-C1U5ZsHa.js} +12 -13
- package/dist/{SortListControl-BzbPvx8-.js → SortListControl-CXDHaj82.js} +4 -4
- package/dist/{TextAreaControl-BdTbCiQe.js → TextAreaControl-BFu0t-I2.js} +1 -1
- package/dist/{TextControl-PPpaK3OZ.js → TextControl-Bn47wzh9.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-DndraaDL.js → TextControl.vue_vue_type_script_setup_true_lang-xxo3RxnK.js} +3 -3
- package/dist/{TimeControl-CHQYhf6G.js → TimeControl-C_QqGr_G.js} +2 -2
- package/dist/{TwinlistControl-CqDn6X1h.js → TwinlistControl-BJthx4lq.js} +70 -71
- package/dist/{TwinlistLoadingInfo-PbU9BJjv.js → TwinlistLoadingInfo-a_ymAtQP.js} +69 -89
- package/dist/{ValueSwitch-CA4_rkUU.js → ValueSwitch-DeFP0rns.js} +1 -1
- package/dist/{ValueSwitchControl-5uuRkxf2.js → ValueSwitchControl-BzNmmWQq.js} +1 -1
- package/dist/{VerticalLayout-C4FOz-7p.js → VerticalLayout-56JEav8u.js} +2 -2
- package/dist/{VerticalLayoutBase-DQCRpzUA.js → VerticalLayoutBase-DOyKtPzP.js} +1 -1
- package/dist/VerticalLayoutBase.vue_vue_type_style_index_0_scoped_99aa13c1_lang-BagkGlzo.js +13312 -0
- package/dist/{ZonedDateTimeControl-BcZrk010.js → ZonedDateTimeControl-CC-rPJr7.js} +4 -4
- package/dist/{floating-ui.vue.esm-B1dY_Hbh.js → floating-ui.vue-B-MrqKCT.js} +375 -342
- package/dist/index-Bf0xDq3g.js +373 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +5 -5
- package/dist/{localTimeUtils-ClDpVqfn.js → localTimeUtils-D3Z9JesA.js} +1 -1
- package/dist/{magic-string.es-D4UQQyt0.js → magic-string.es-DDd2I1su.js} +264 -265
- package/dist/{svgWithTitle-C6ghivXy.js → svgWithTitle-B7gWnKbY.js} +1 -1
- package/dist/testing.js +2 -2
- package/package.json +6 -11
- package/dist/Dropdown-B6CD0Mt_.js +0 -692
- package/dist/VerticalLayoutBase.vue_vue_type_style_index_0_scoped_99aa13c1_lang-Bke7i9o8.js +0 -14934
- package/dist/index-CkuSIXs2.js +0 -331
|
@@ -1,258 +1,257 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
import { r as ht } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_99aa13c1_lang-BagkGlzo.js";
|
|
2
|
+
var q = { exports: {} };
|
|
3
|
+
(function(E, t) {
|
|
4
|
+
(function(e, n) {
|
|
5
|
+
n(t);
|
|
6
|
+
})(ht, function(e) {
|
|
7
|
+
const r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", u = new Uint8Array(64), f = new Uint8Array(128);
|
|
8
|
+
for (let a = 0; a < r.length; a++) {
|
|
9
|
+
const h = r.charCodeAt(a);
|
|
10
|
+
u[a] = h, f[h] = a;
|
|
11
|
+
}
|
|
12
|
+
function o(a, h) {
|
|
13
|
+
let i = 0, l = 0, d = 0;
|
|
14
|
+
do {
|
|
15
|
+
const b = a.next();
|
|
16
|
+
d = f[b], i |= (d & 31) << l, l += 5;
|
|
17
|
+
} while (d & 32);
|
|
18
|
+
const g = i & 1;
|
|
19
|
+
return i >>>= 1, g && (i = -2147483648 | -i), h + i;
|
|
20
|
+
}
|
|
21
|
+
function c(a, h, i) {
|
|
22
|
+
let l = h - i;
|
|
23
|
+
l = l < 0 ? -l << 1 | 1 : l << 1;
|
|
24
|
+
do {
|
|
25
|
+
let d = l & 31;
|
|
26
|
+
l >>>= 5, l > 0 && (d |= 32), a.write(u[d]);
|
|
27
|
+
} while (l > 0);
|
|
28
|
+
return h;
|
|
29
|
+
}
|
|
30
|
+
function k(a, h) {
|
|
31
|
+
return a.pos >= h ? !1 : a.peek() !== 44;
|
|
32
|
+
}
|
|
33
|
+
const O = 1024 * 16, z = typeof TextDecoder < "u" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer < "u" ? {
|
|
34
|
+
decode(a) {
|
|
35
|
+
return Buffer.from(a.buffer, a.byteOffset, a.byteLength).toString();
|
|
20
36
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
l >>>= 5, l > 0 && (d |= 32), a.write(u[d]);
|
|
27
|
-
} while (l > 0);
|
|
37
|
+
} : {
|
|
38
|
+
decode(a) {
|
|
39
|
+
let h = "";
|
|
40
|
+
for (let i = 0; i < a.length; i++)
|
|
41
|
+
h += String.fromCharCode(a[i]);
|
|
28
42
|
return h;
|
|
29
43
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
decode(a) {
|
|
35
|
-
return Buffer.from(a.buffer, a.byteOffset, a.byteLength).toString();
|
|
36
|
-
}
|
|
37
|
-
} : {
|
|
38
|
-
decode(a) {
|
|
39
|
-
let h = "";
|
|
40
|
-
for (let i = 0; i < a.length; i++)
|
|
41
|
-
h += String.fromCharCode(a[i]);
|
|
42
|
-
return h;
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
class D {
|
|
46
|
-
constructor() {
|
|
47
|
-
this.pos = 0, this.out = "", this.buffer = new Uint8Array(O);
|
|
48
|
-
}
|
|
49
|
-
write(h) {
|
|
50
|
-
const { buffer: i } = this;
|
|
51
|
-
i[this.pos++] = h, this.pos === O && (this.out += z.decode(i), this.pos = 0);
|
|
52
|
-
}
|
|
53
|
-
flush() {
|
|
54
|
-
const { buffer: h, out: i, pos: l } = this;
|
|
55
|
-
return l > 0 ? i + z.decode(h.subarray(0, l)) : i;
|
|
56
|
-
}
|
|
44
|
+
};
|
|
45
|
+
class P {
|
|
46
|
+
constructor() {
|
|
47
|
+
this.pos = 0, this.out = "", this.buffer = new Uint8Array(O);
|
|
57
48
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
next() {
|
|
63
|
-
return this.buffer.charCodeAt(this.pos++);
|
|
64
|
-
}
|
|
65
|
-
peek() {
|
|
66
|
-
return this.buffer.charCodeAt(this.pos);
|
|
67
|
-
}
|
|
68
|
-
indexOf(h) {
|
|
69
|
-
const { buffer: i, pos: l } = this, d = i.indexOf(h, l);
|
|
70
|
-
return d === -1 ? i.length : d;
|
|
71
|
-
}
|
|
49
|
+
write(h) {
|
|
50
|
+
const { buffer: i } = this;
|
|
51
|
+
i[this.pos++] = h, this.pos === O && (this.out += z.decode(i), this.pos = 0);
|
|
72
52
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
let g = 0;
|
|
77
|
-
for (; i.pos < h; i.pos++) {
|
|
78
|
-
g = o(i, g);
|
|
79
|
-
const b = o(i, 0);
|
|
80
|
-
if (!k(i, h)) {
|
|
81
|
-
const v = d.pop();
|
|
82
|
-
v[2] = g, v[3] = b;
|
|
83
|
-
continue;
|
|
84
|
-
}
|
|
85
|
-
const m = o(i, 0), w = o(i, 0) & 1 ? [g, b, 0, 0, m, o(i, 0)] : [g, b, 0, 0, m];
|
|
86
|
-
let y = F;
|
|
87
|
-
if (k(i, h)) {
|
|
88
|
-
y = [];
|
|
89
|
-
do {
|
|
90
|
-
const v = o(i, 0);
|
|
91
|
-
y.push(v);
|
|
92
|
-
} while (k(i, h));
|
|
93
|
-
}
|
|
94
|
-
w.vars = y, l.push(w), d.push(w);
|
|
95
|
-
}
|
|
96
|
-
return l;
|
|
53
|
+
flush() {
|
|
54
|
+
const { buffer: h, out: i, pos: l } = this;
|
|
55
|
+
return l > 0 ? i + z.decode(h.subarray(0, l)) : i;
|
|
97
56
|
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
return h.flush();
|
|
57
|
+
}
|
|
58
|
+
class G {
|
|
59
|
+
constructor(h) {
|
|
60
|
+
this.pos = 0, this.buffer = h;
|
|
103
61
|
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
h > 0 && i.write(44), l[0] = c(i, g, l[0]), c(i, b, 0), c(i, C, 0);
|
|
107
|
-
const y = d.length === 6 ? 1 : 0;
|
|
108
|
-
c(i, y, 0), d.length === 6 && c(i, d[5], 0);
|
|
109
|
-
for (const v of w)
|
|
110
|
-
c(i, v, 0);
|
|
111
|
-
for (h++; h < a.length; ) {
|
|
112
|
-
const v = a[h], { 0: p, 1: x } = v;
|
|
113
|
-
if (p > m || p === m && x >= S)
|
|
114
|
-
break;
|
|
115
|
-
h = H(a, h, i, l);
|
|
116
|
-
}
|
|
117
|
-
return i.write(44), l[0] = c(i, m, l[0]), c(i, S, 0), h;
|
|
62
|
+
next() {
|
|
63
|
+
return this.buffer.charCodeAt(this.pos++);
|
|
118
64
|
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
let g = 0, b = 0, m = 0, S = 0, C = 0, w = 0, y = 0, v = 0;
|
|
122
|
-
do {
|
|
123
|
-
const p = i.indexOf(";");
|
|
124
|
-
let x = 0;
|
|
125
|
-
for (; i.pos < p; i.pos++) {
|
|
126
|
-
if (x = o(i, x), !k(i, p)) {
|
|
127
|
-
const L = d.pop();
|
|
128
|
-
L[2] = g, L[3] = x;
|
|
129
|
-
continue;
|
|
130
|
-
}
|
|
131
|
-
const R = o(i, 0), B = R & 1, A = R & 2, T = R & 4;
|
|
132
|
-
let Y = null, q = F, _;
|
|
133
|
-
if (B) {
|
|
134
|
-
const L = o(i, b);
|
|
135
|
-
m = o(i, b === L ? m : 0), b = L, _ = [g, x, 0, 0, L, m];
|
|
136
|
-
} else
|
|
137
|
-
_ = [g, x, 0, 0];
|
|
138
|
-
if (_.isScope = !!T, A) {
|
|
139
|
-
const L = S, I = C;
|
|
140
|
-
S = o(i, S);
|
|
141
|
-
const j = L === S;
|
|
142
|
-
C = o(i, j ? C : 0), w = o(i, j && I === C ? w : 0), Y = [S, C, w];
|
|
143
|
-
}
|
|
144
|
-
if (_.callsite = Y, k(i, p)) {
|
|
145
|
-
q = [];
|
|
146
|
-
do {
|
|
147
|
-
y = g, v = x;
|
|
148
|
-
const L = o(i, 0);
|
|
149
|
-
let I;
|
|
150
|
-
if (L < -1) {
|
|
151
|
-
I = [[o(i, 0)]];
|
|
152
|
-
for (let j = -1; j > L; j--) {
|
|
153
|
-
const ot = y;
|
|
154
|
-
y = o(i, y), v = o(i, y === ot ? v : 0);
|
|
155
|
-
const ht = o(i, 0);
|
|
156
|
-
I.push([ht, y, v]);
|
|
157
|
-
}
|
|
158
|
-
} else
|
|
159
|
-
I = [[L]];
|
|
160
|
-
q.push(I);
|
|
161
|
-
} while (k(i, p));
|
|
162
|
-
}
|
|
163
|
-
_.bindings = q, l.push(_), d.push(_);
|
|
164
|
-
}
|
|
165
|
-
g++, i.pos = p + 1;
|
|
166
|
-
} while (i.pos < h);
|
|
167
|
-
return l;
|
|
65
|
+
peek() {
|
|
66
|
+
return this.buffer.charCodeAt(this.pos);
|
|
168
67
|
}
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
const h = new D();
|
|
173
|
-
for (let i = 0; i < a.length; )
|
|
174
|
-
i = J(a, i, h, [0, 0, 0, 0, 0, 0, 0]);
|
|
175
|
-
return h.flush();
|
|
68
|
+
indexOf(h) {
|
|
69
|
+
const { buffer: i, pos: l } = this, d = i.indexOf(h, l);
|
|
70
|
+
return d === -1 ? i.length : d;
|
|
176
71
|
}
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
if (
|
|
186
|
-
const
|
|
187
|
-
|
|
72
|
+
}
|
|
73
|
+
const F = [];
|
|
74
|
+
function X(a) {
|
|
75
|
+
const { length: h } = a, i = new G(a), l = [], d = [];
|
|
76
|
+
let g = 0;
|
|
77
|
+
for (; i.pos < h; i.pos++) {
|
|
78
|
+
g = o(i, g);
|
|
79
|
+
const b = o(i, 0);
|
|
80
|
+
if (!k(i, h)) {
|
|
81
|
+
const v = d.pop();
|
|
82
|
+
v[2] = g, v[3] = b;
|
|
83
|
+
continue;
|
|
188
84
|
}
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
R = c(i, T[1], R), B = c(i, T[2], B), c(i, T[0], 0);
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
for (h++; h < a.length; ) {
|
|
201
|
-
const p = a[h], { 0: x, 1: R } = p;
|
|
202
|
-
if (x > m || x === m && R >= S)
|
|
203
|
-
break;
|
|
204
|
-
h = J(a, h, i, l);
|
|
85
|
+
const m = o(i, 0), w = o(i, 0) & 1 ? [g, b, 0, 0, m, o(i, 0)] : [g, b, 0, 0, m];
|
|
86
|
+
let y = F;
|
|
87
|
+
if (k(i, h)) {
|
|
88
|
+
y = [];
|
|
89
|
+
do {
|
|
90
|
+
const v = o(i, 0);
|
|
91
|
+
y.push(v);
|
|
92
|
+
} while (k(i, h));
|
|
205
93
|
}
|
|
206
|
-
|
|
94
|
+
w.vars = y, l.push(w), d.push(w);
|
|
207
95
|
}
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
96
|
+
return l;
|
|
97
|
+
}
|
|
98
|
+
function Z(a) {
|
|
99
|
+
const h = new P();
|
|
100
|
+
for (let i = 0; i < a.length; )
|
|
101
|
+
i = H(a, i, h, [0]);
|
|
102
|
+
return h.flush();
|
|
103
|
+
}
|
|
104
|
+
function H(a, h, i, l) {
|
|
105
|
+
const d = a[h], { 0: g, 1: b, 2: m, 3: S, 4: C, vars: w } = d;
|
|
106
|
+
h > 0 && i.write(44), l[0] = c(i, g, l[0]), c(i, b, 0), c(i, C, 0);
|
|
107
|
+
const y = d.length === 6 ? 1 : 0;
|
|
108
|
+
c(i, y, 0), d.length === 6 && c(i, d[5], 0);
|
|
109
|
+
for (const v of w)
|
|
110
|
+
c(i, v, 0);
|
|
111
|
+
for (h++; h < a.length; ) {
|
|
112
|
+
const v = a[h], { 0: p, 1: x } = v;
|
|
113
|
+
if (p > m || p === m && x >= S)
|
|
114
|
+
break;
|
|
115
|
+
h = H(a, h, i, l);
|
|
212
116
|
}
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
117
|
+
return i.write(44), l[0] = c(i, m, l[0]), c(i, S, 0), h;
|
|
118
|
+
}
|
|
119
|
+
function V(a) {
|
|
120
|
+
const { length: h } = a, i = new G(a), l = [], d = [];
|
|
121
|
+
let g = 0, b = 0, m = 0, S = 0, C = 0, w = 0, y = 0, v = 0;
|
|
122
|
+
do {
|
|
123
|
+
const p = i.indexOf(";");
|
|
124
|
+
let x = 0;
|
|
125
|
+
for (; i.pos < p; i.pos++) {
|
|
126
|
+
if (x = o(i, x), !k(i, p)) {
|
|
127
|
+
const L = d.pop();
|
|
128
|
+
L[2] = g, L[3] = x;
|
|
129
|
+
continue;
|
|
222
130
|
}
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
131
|
+
const R = o(i, 0), U = R & 1, A = R & 2, T = R & 4;
|
|
132
|
+
let Y = null, D = F, _;
|
|
133
|
+
if (U) {
|
|
134
|
+
const L = o(i, b);
|
|
135
|
+
m = o(i, b === L ? m : 0), b = L, _ = [g, x, 0, 0, L, m];
|
|
136
|
+
} else
|
|
137
|
+
_ = [g, x, 0, 0];
|
|
138
|
+
if (_.isScope = !!T, A) {
|
|
139
|
+
const L = S, I = C;
|
|
140
|
+
S = o(i, S);
|
|
141
|
+
const j = L === S;
|
|
142
|
+
C = o(i, j ? C : 0), w = o(i, j && I === C ? w : 0), Y = [S, C, w];
|
|
143
|
+
}
|
|
144
|
+
if (_.callsite = Y, k(i, p)) {
|
|
145
|
+
D = [];
|
|
146
|
+
do {
|
|
147
|
+
y = g, v = x;
|
|
148
|
+
const L = o(i, 0);
|
|
149
|
+
let I;
|
|
150
|
+
if (L < -1) {
|
|
151
|
+
I = [[o(i, 0)]];
|
|
152
|
+
for (let j = -1; j > L; j--) {
|
|
153
|
+
const rt = y;
|
|
154
|
+
y = o(i, y), v = o(i, y === rt ? v : 0);
|
|
155
|
+
const ot = o(i, 0);
|
|
156
|
+
I.push([ot, y, v]);
|
|
157
|
+
}
|
|
158
|
+
} else
|
|
159
|
+
I = [[L]];
|
|
160
|
+
D.push(I);
|
|
161
|
+
} while (k(i, p));
|
|
162
|
+
}
|
|
163
|
+
_.bindings = D, l.push(_), d.push(_);
|
|
164
|
+
}
|
|
165
|
+
g++, i.pos = p + 1;
|
|
166
|
+
} while (i.pos < h);
|
|
167
|
+
return l;
|
|
168
|
+
}
|
|
169
|
+
function tt(a) {
|
|
170
|
+
if (a.length === 0)
|
|
171
|
+
return "";
|
|
172
|
+
const h = new P();
|
|
173
|
+
for (let i = 0; i < a.length; )
|
|
174
|
+
i = J(a, i, h, [0, 0, 0, 0, 0, 0, 0]);
|
|
175
|
+
return h.flush();
|
|
176
|
+
}
|
|
177
|
+
function J(a, h, i, l) {
|
|
178
|
+
const d = a[h], { 0: g, 1: b, 2: m, 3: S, isScope: C, callsite: w, bindings: y } = d;
|
|
179
|
+
l[0] < g ? (W(i, l[0], g), l[0] = g, l[1] = 0) : h > 0 && i.write(44), l[1] = c(i, d[1], l[1]);
|
|
180
|
+
const v = (d.length === 6 ? 1 : 0) | (w ? 2 : 0) | (C ? 4 : 0);
|
|
181
|
+
if (c(i, v, 0), d.length === 6) {
|
|
182
|
+
const { 4: p, 5: x } = d;
|
|
183
|
+
p !== l[2] && (l[3] = 0), l[2] = c(i, p, l[2]), l[3] = c(i, x, l[3]);
|
|
229
184
|
}
|
|
230
|
-
|
|
231
|
-
|
|
185
|
+
if (w) {
|
|
186
|
+
const { 0: p, 1: x, 2: R } = d.callsite;
|
|
187
|
+
p !== l[4] ? (l[5] = 0, l[6] = 0) : x !== l[5] && (l[6] = 0), l[4] = c(i, p, l[4]), l[5] = c(i, x, l[5]), l[6] = c(i, R, l[6]);
|
|
232
188
|
}
|
|
233
|
-
|
|
234
|
-
const
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
const w = m[C];
|
|
243
|
-
C > 0 && h.write(44), S = c(h, w[0], S), w.length !== 1 && (i = c(h, w[1], i), l = c(h, w[2], l), d = c(h, w[3], d), w.length !== 4 && (g = c(h, w[4], g)));
|
|
189
|
+
if (y)
|
|
190
|
+
for (const p of y) {
|
|
191
|
+
p.length > 1 && c(i, -p.length, 0);
|
|
192
|
+
const x = p[0][0];
|
|
193
|
+
c(i, x, 0);
|
|
194
|
+
let R = g, U = b;
|
|
195
|
+
for (let A = 1; A < p.length; A++) {
|
|
196
|
+
const T = p[A];
|
|
197
|
+
R = c(i, T[1], R), U = c(i, T[2], U), c(i, T[0], 0);
|
|
244
198
|
}
|
|
245
199
|
}
|
|
246
|
-
|
|
200
|
+
for (h++; h < a.length; ) {
|
|
201
|
+
const p = a[h], { 0: x, 1: R } = p;
|
|
202
|
+
if (x > m || x === m && R >= S)
|
|
203
|
+
break;
|
|
204
|
+
h = J(a, h, i, l);
|
|
247
205
|
}
|
|
248
|
-
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
206
|
+
return l[0] < m ? (W(i, l[0], m), l[0] = m, l[1] = 0) : i.write(44), l[1] = c(i, S, l[1]), h;
|
|
207
|
+
}
|
|
208
|
+
function W(a, h, i) {
|
|
209
|
+
do
|
|
210
|
+
a.write(59);
|
|
211
|
+
while (++h < i);
|
|
212
|
+
}
|
|
213
|
+
function et(a) {
|
|
214
|
+
const { length: h } = a, i = new G(a), l = [];
|
|
215
|
+
let d = 0, g = 0, b = 0, m = 0, S = 0;
|
|
216
|
+
do {
|
|
217
|
+
const C = i.indexOf(";"), w = [];
|
|
218
|
+
let y = !0, v = 0;
|
|
219
|
+
for (d = 0; i.pos < C; ) {
|
|
220
|
+
let p;
|
|
221
|
+
d = o(i, d), d < v && (y = !1), v = d, k(i, C) ? (g = o(i, g), b = o(i, b), m = o(i, m), k(i, C) ? (S = o(i, S), p = [d, g, b, m, S]) : p = [d, g, b, m]) : p = [d], w.push(p), i.pos++;
|
|
222
|
+
}
|
|
223
|
+
y || nt(w), l.push(w), i.pos = C + 1;
|
|
224
|
+
} while (i.pos <= h);
|
|
225
|
+
return l;
|
|
226
|
+
}
|
|
227
|
+
function nt(a) {
|
|
228
|
+
a.sort(it);
|
|
229
|
+
}
|
|
230
|
+
function it(a, h) {
|
|
231
|
+
return a[0] - h[0];
|
|
232
|
+
}
|
|
233
|
+
function st(a) {
|
|
234
|
+
const h = new P();
|
|
235
|
+
let i = 0, l = 0, d = 0, g = 0;
|
|
236
|
+
for (let b = 0; b < a.length; b++) {
|
|
237
|
+
const m = a[b];
|
|
238
|
+
if (b > 0 && h.write(59), m.length === 0)
|
|
239
|
+
continue;
|
|
240
|
+
let S = 0;
|
|
241
|
+
for (let C = 0; C < m.length; C++) {
|
|
242
|
+
const w = m[C];
|
|
243
|
+
C > 0 && h.write(44), S = c(h, w[0], S), w.length !== 1 && (i = c(h, w[1], i), l = c(h, w[2], l), d = c(h, w[3], d), w.length !== 4 && (g = c(h, w[4], g)));
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
return h.flush();
|
|
247
|
+
}
|
|
248
|
+
e.decode = et, e.decodeGeneratedRanges = V, e.decodeOriginalScopes = X, e.encode = st, e.encodeGeneratedRanges = tt, e.encodeOriginalScopes = Z, Object.defineProperty(e, "__esModule", { value: !0 });
|
|
249
|
+
});
|
|
250
|
+
})(q, q.exports);
|
|
251
|
+
var lt = q.exports;
|
|
252
|
+
class B {
|
|
254
253
|
constructor(t) {
|
|
255
|
-
this.bits = t instanceof
|
|
254
|
+
this.bits = t instanceof B ? t.bits.slice() : [];
|
|
256
255
|
}
|
|
257
256
|
add(t) {
|
|
258
257
|
this.bits[t >> 5] |= 1 << (t & 31);
|
|
@@ -261,7 +260,7 @@ class P {
|
|
|
261
260
|
return !!(this.bits[t >> 5] & 1 << (t & 31));
|
|
262
261
|
}
|
|
263
262
|
}
|
|
264
|
-
class
|
|
263
|
+
class M {
|
|
265
264
|
constructor(t, e, n) {
|
|
266
265
|
this.start = t, this.end = e, this.original = n, this.intro = "", this.outro = "", this.content = n, this.storeName = !1, this.edited = !1, this.previous = null, this.next = null;
|
|
267
266
|
}
|
|
@@ -272,7 +271,7 @@ class U {
|
|
|
272
271
|
this.intro = this.intro + t;
|
|
273
272
|
}
|
|
274
273
|
clone() {
|
|
275
|
-
const t = new
|
|
274
|
+
const t = new M(this.start, this.end, this.original);
|
|
276
275
|
return t.intro = this.intro, t.outro = this.outro, t.content = this.content, t.storeName = this.storeName, t.edited = this.edited, t;
|
|
277
276
|
}
|
|
278
277
|
contains(t) {
|
|
@@ -303,7 +302,7 @@ class U {
|
|
|
303
302
|
split(t) {
|
|
304
303
|
const e = t - this.start, n = this.original.slice(0, e), s = this.original.slice(e);
|
|
305
304
|
this.original = n;
|
|
306
|
-
const r = new
|
|
305
|
+
const r = new M(t, this.end, s);
|
|
307
306
|
return r.outro = this.outro, this.outro = "", this.end = t, this.edited ? (r.edit("", !1), this.content = "") : this.content = n, r.next = this.next, r.next && (r.next.previous = r), r.previous = this, this.next = r, r;
|
|
308
307
|
}
|
|
309
308
|
toString() {
|
|
@@ -328,24 +327,24 @@ class U {
|
|
|
328
327
|
} else if (this.edit("", void 0, !0), this.outro = this.outro.replace(t, ""), this.outro.length) return !0;
|
|
329
328
|
}
|
|
330
329
|
}
|
|
331
|
-
function
|
|
330
|
+
function ut() {
|
|
332
331
|
return typeof globalThis < "u" && typeof globalThis.btoa == "function" ? (E) => globalThis.btoa(unescape(encodeURIComponent(E))) : typeof Buffer == "function" ? (E) => Buffer.from(E, "utf-8").toString("base64") : () => {
|
|
333
332
|
throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.");
|
|
334
333
|
};
|
|
335
334
|
}
|
|
336
|
-
const
|
|
337
|
-
class
|
|
335
|
+
const ct = /* @__PURE__ */ ut();
|
|
336
|
+
class at {
|
|
338
337
|
constructor(t) {
|
|
339
|
-
this.version = 3, this.file = t.file, this.sources = t.sources, this.sourcesContent = t.sourcesContent, this.names = t.names, this.mappings =
|
|
338
|
+
this.version = 3, this.file = t.file, this.sources = t.sources, this.sourcesContent = t.sourcesContent, this.names = t.names, this.mappings = lt.encode(t.mappings), typeof t.x_google_ignoreList < "u" && (this.x_google_ignoreList = t.x_google_ignoreList), typeof t.debugId < "u" && (this.debugId = t.debugId);
|
|
340
339
|
}
|
|
341
340
|
toString() {
|
|
342
341
|
return JSON.stringify(this);
|
|
343
342
|
}
|
|
344
343
|
toUrl() {
|
|
345
|
-
return "data:application/json;charset=utf-8;base64," +
|
|
344
|
+
return "data:application/json;charset=utf-8;base64," + ct(this.toString());
|
|
346
345
|
}
|
|
347
346
|
}
|
|
348
|
-
function
|
|
347
|
+
function ft(E) {
|
|
349
348
|
const t = E.split(`
|
|
350
349
|
`), e = t.filter((r) => /^\t+/.test(r)), n = t.filter((r) => /^ {2,}/.test(r));
|
|
351
350
|
if (e.length === 0 && n.length === 0)
|
|
@@ -358,7 +357,7 @@ function gt(E) {
|
|
|
358
357
|
}, 1 / 0);
|
|
359
358
|
return new Array(s + 1).join(" ");
|
|
360
359
|
}
|
|
361
|
-
function
|
|
360
|
+
function dt(E, t) {
|
|
362
361
|
const e = E.split(/[/\\]/), n = t.split(/[/\\]/);
|
|
363
362
|
for (e.pop(); e[0] === n[0]; )
|
|
364
363
|
e.shift(), n.shift();
|
|
@@ -368,11 +367,11 @@ function pt(E, t) {
|
|
|
368
367
|
}
|
|
369
368
|
return e.concat(n).join("/");
|
|
370
369
|
}
|
|
371
|
-
const
|
|
372
|
-
function
|
|
373
|
-
return
|
|
370
|
+
const gt = Object.prototype.toString;
|
|
371
|
+
function pt(E) {
|
|
372
|
+
return gt.call(E) === "[object Object]";
|
|
374
373
|
}
|
|
375
|
-
function
|
|
374
|
+
function K(E) {
|
|
376
375
|
const t = E.split(`
|
|
377
376
|
`), e = [];
|
|
378
377
|
for (let n = 0, s = 0; n < t.length; n++)
|
|
@@ -387,8 +386,8 @@ function Q(E) {
|
|
|
387
386
|
return { line: f, column: o };
|
|
388
387
|
};
|
|
389
388
|
}
|
|
390
|
-
const
|
|
391
|
-
class
|
|
389
|
+
const mt = /\w/;
|
|
390
|
+
class wt {
|
|
392
391
|
constructor(t) {
|
|
393
392
|
this.hires = t, this.generatedCodeLine = 0, this.generatedCodeColumn = 0, this.raw = [], this.rawSegments = this.raw[this.generatedCodeLine] = [], this.pending = null;
|
|
394
393
|
}
|
|
@@ -416,7 +415,7 @@ class Ct {
|
|
|
416
415
|
else {
|
|
417
416
|
if (this.hires || f || r.has(u)) {
|
|
418
417
|
const c = [this.generatedCodeColumn, t, s.line, s.column];
|
|
419
|
-
this.hires === "boundary" ?
|
|
418
|
+
this.hires === "boundary" ? mt.test(n[u]) ? o || (this.rawSegments.push(c), o = !0) : (this.rawSegments.push(c), o = !1) : this.rawSegments.push(c);
|
|
420
419
|
}
|
|
421
420
|
s.column += 1, this.generatedCodeColumn += 1, f = !1;
|
|
422
421
|
}
|
|
@@ -442,9 +441,9 @@ const $ = `
|
|
|
442
441
|
insertRight: !1,
|
|
443
442
|
storeName: !1
|
|
444
443
|
};
|
|
445
|
-
class
|
|
444
|
+
class Q {
|
|
446
445
|
constructor(t, e = {}) {
|
|
447
|
-
const n = new
|
|
446
|
+
const n = new M(0, t.length, t);
|
|
448
447
|
Object.defineProperties(this, {
|
|
449
448
|
original: { writable: !0, value: t },
|
|
450
449
|
outro: { writable: !0, value: "" },
|
|
@@ -456,7 +455,7 @@ class X {
|
|
|
456
455
|
byEnd: { writable: !0, value: {} },
|
|
457
456
|
filename: { writable: !0, value: e.filename },
|
|
458
457
|
indentExclusionRanges: { writable: !0, value: e.indentExclusionRanges },
|
|
459
|
-
sourcemapLocations: { writable: !0, value: new
|
|
458
|
+
sourcemapLocations: { writable: !0, value: new B() },
|
|
460
459
|
storedNames: { writable: !0, value: {} },
|
|
461
460
|
indentStr: { writable: !0, value: void 0 },
|
|
462
461
|
ignoreList: { writable: !0, value: e.ignoreList },
|
|
@@ -483,18 +482,18 @@ class X {
|
|
|
483
482
|
return n ? n.appendRight(e) : this.outro += e, this;
|
|
484
483
|
}
|
|
485
484
|
clone() {
|
|
486
|
-
const t = new
|
|
485
|
+
const t = new Q(this.original, { filename: this.filename, offset: this.offset });
|
|
487
486
|
let e = this.firstChunk, n = t.firstChunk = t.lastSearchedChunk = e.clone();
|
|
488
487
|
for (; e; ) {
|
|
489
488
|
t.byStart[n.start] = n, t.byEnd[n.end] = n;
|
|
490
489
|
const s = e.next, r = s && s.clone();
|
|
491
490
|
r && (n.next = r, r.previous = n, n = r), e = s;
|
|
492
491
|
}
|
|
493
|
-
return t.lastChunk = n, this.indentExclusionRanges && (t.indentExclusionRanges = this.indentExclusionRanges.slice()), t.sourcemapLocations = new
|
|
492
|
+
return t.lastChunk = n, this.indentExclusionRanges && (t.indentExclusionRanges = this.indentExclusionRanges.slice()), t.sourcemapLocations = new B(this.sourcemapLocations), t.intro = this.intro, t.outro = this.outro, t;
|
|
494
493
|
}
|
|
495
494
|
generateDecodedMap(t) {
|
|
496
495
|
t = t || {};
|
|
497
|
-
const e = 0, n = Object.keys(this.storedNames), s = new
|
|
496
|
+
const e = 0, n = Object.keys(this.storedNames), s = new wt(t.hires), r = K(this.original);
|
|
498
497
|
return this.intro && s.advance(this.intro), this.firstChunk.eachNext((u) => {
|
|
499
498
|
const f = r(u.start);
|
|
500
499
|
u.intro.length && s.advance(u.intro), u.edited ? s.addEdit(
|
|
@@ -506,7 +505,7 @@ class X {
|
|
|
506
505
|
}), {
|
|
507
506
|
file: t.file ? t.file.split(/[/\\]/).pop() : void 0,
|
|
508
507
|
sources: [
|
|
509
|
-
t.source ?
|
|
508
|
+
t.source ? dt(t.file || "", t.source) : t.file || ""
|
|
510
509
|
],
|
|
511
510
|
sourcesContent: t.includeContent ? [this.original] : void 0,
|
|
512
511
|
names: n,
|
|
@@ -515,10 +514,10 @@ class X {
|
|
|
515
514
|
};
|
|
516
515
|
}
|
|
517
516
|
generateMap(t) {
|
|
518
|
-
return new
|
|
517
|
+
return new at(this.generateDecodedMap(t));
|
|
519
518
|
}
|
|
520
519
|
_ensureindentStr() {
|
|
521
|
-
this.indentStr === void 0 && (this.indentStr =
|
|
520
|
+
this.indentStr === void 0 && (this.indentStr = ft(this.original));
|
|
522
521
|
}
|
|
523
522
|
_getRawIndentString() {
|
|
524
523
|
return this._ensureindentStr(), this.indentStr;
|
|
@@ -528,7 +527,7 @@ class X {
|
|
|
528
527
|
}
|
|
529
528
|
indent(t, e) {
|
|
530
529
|
const n = /^[^\r\n]/gm;
|
|
531
|
-
if (
|
|
530
|
+
if (pt(t) && (e = t, t = void 0), t === void 0 && (this._ensureindentStr(), t = this.indentStr || " "), t === "") return this;
|
|
532
531
|
e = e || {};
|
|
533
532
|
const s = {};
|
|
534
533
|
e.exclude && (typeof e.exclude[0] == "number" ? [e.exclude] : e.exclude).forEach((k) => {
|
|
@@ -616,7 +615,7 @@ class X {
|
|
|
616
615
|
}
|
|
617
616
|
f.edit(n, r, !u);
|
|
618
617
|
} else {
|
|
619
|
-
const c = new
|
|
618
|
+
const c = new M(t, e, "").edit(n, r);
|
|
620
619
|
o.next = c, c.previous = o;
|
|
621
620
|
}
|
|
622
621
|
return this;
|
|
@@ -737,7 +736,7 @@ class X {
|
|
|
737
736
|
}
|
|
738
737
|
_splitChunk(t, e) {
|
|
739
738
|
if (t.edited && t.content.length) {
|
|
740
|
-
const s =
|
|
739
|
+
const s = K(this.original)(e);
|
|
741
740
|
throw new Error(
|
|
742
741
|
`Cannot split a chunk that has already been edited (${s.line}:${s.column} – "${t.original}")`
|
|
743
742
|
);
|
|
@@ -854,6 +853,6 @@ class X {
|
|
|
854
853
|
}
|
|
855
854
|
}
|
|
856
855
|
export {
|
|
857
|
-
|
|
858
|
-
|
|
856
|
+
at as SourceMap,
|
|
857
|
+
Q as default
|
|
859
858
|
};
|