@knime/jsonforms 1.2.5 → 1.3.1
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 +12 -0
- package/dist/{AnyOfTwinlist-D2md52XA.js → AnyOfTwinlist-FvAzGYM6.js} +1 -1
- package/dist/{BaseButton-pWix8Ir_.js → BaseButton-C7BbYnsL.js} +1 -1
- package/dist/{Button-DA_T1F4x.js → Button-ClYf9a_l.js} +2 -2
- package/dist/{Checkbox-Cyt1-L7B.js → Checkbox-CwxZHuxB.js} +1 -1
- package/dist/{CheckboxControl-D23veewy.js → CheckboxControl-C4uVrVFT.js} +11 -11
- package/dist/{Checkboxes-B4WDd5Tc.js → Checkboxes-PGSsi8KQ.js} +2 -2
- package/dist/{CheckboxesControl-BXKipOZT.js → CheckboxesControl-Kk1Lo2o5.js} +2 -2
- package/dist/{ColumnFilter-D2TqGxR1.js → ColumnFilter-CRBUi5K1.js} +1 -1
- package/dist/{ColumnSelect-DJZCLRyC.js → ColumnSelect-djGxI_O9.js} +3 -3
- package/dist/{ComboBoxControl-DA_6FStZ.js → ComboBoxControl-B7TMk2Mk.js} +4 -4
- package/dist/{DateControl-DhZtDPo9.js → DateControl-CTz0x9wG.js} +1 -1
- package/dist/{DateTimeControl-C2BB0S3X.js → DateTimeControl-Cn0jcTiy.js} +1 -1
- package/dist/{DateTimeFormatPickerControl-B5dZ9AJp.js → DateTimeFormatPickerControl-DS0DZdhb.js} +7 -7
- package/dist/DateTimeInput-Vx2wO_Ln.js +11290 -0
- package/dist/{Dropdown-CDssQzS9.js → Dropdown-EbU5GZWo.js} +28 -28
- package/dist/{DropdownControl-CvU_ReBF.js → DropdownControl-gHo6T8bq.js} +1 -1
- package/dist/{DropdownControl.vue_vue_type_script_setup_true_lang-CPvU9j1S.js → DropdownControl.vue_vue_type_script_setup_true_lang-DcOvyBCP.js} +7 -7
- package/dist/{ErrorMessage-M87up0yb.js → ErrorMessage-kLDFTznB.js} +1 -1
- package/dist/{FunctionButton-DWMQy0Uy.js → FunctionButton-Beq-KFER.js} +2 -2
- package/dist/{HorizontalLayout-B0gqS3Ke.js → HorizontalLayout-CJjeRm-3.js} +1 -1
- package/dist/{InputField-m0rtCRko.js → InputField-B-0XgnFy.js} +1 -1
- package/dist/{IntegerControl-RDY1aqn0.js → IntegerControl-DLXJyyOs.js} +1 -1
- package/dist/{IntervalControl-i1d7wJwn.js → IntervalControl-CL-dXWem.js} +21 -19
- package/dist/{MultiselectListBox-CAidB0S9.js → MultiselectListBox-DEyKxgz9.js} +2 -2
- package/dist/{NameFilter-Bw26YwTe.js → NameFilter-DNmJcqY-.js} +1 -1
- package/dist/{NumberControl-SJtYmeQo.js → NumberControl-CeiBy1zc.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-C0eo7BcI.js → NumberControlBase.vue_vue_type_script_setup_true_lang-CKe4QLfL.js} +2 -2
- package/dist/{NumberInput-Be20_1Pc.js → NumberInput-Br7XOkwH.js} +1 -1
- package/dist/{OneOfDropdown-DlNcB8XW.js → OneOfDropdown-QQuD88pb.js} +1 -1
- package/dist/{RadioControl-BKujnSCB.js → RadioControl-HSOb6aKE.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-D2FQgv9l.js → RadioControlBase.vue_vue_type_script_setup_true_lang-DknSJduh.js} +2 -2
- package/dist/{RichTextControl-D3h6uoj5.js → RichTextControl-ecwSubyQ.js} +1294 -1294
- package/dist/{SectionLayout-Do95CtUw.js → SectionLayout-BZ3FHiGz.js} +10 -10
- package/dist/{SimpleButtonControl-D6BgabRB.js → SimpleButtonControl-DuzvsXf_.js} +9 -9
- package/dist/{SimpleTwinlistControl-9USploY0.js → SimpleTwinlistControl-DwGJBeoN.js} +2 -2
- package/dist/{SortListControl-DN8ypCA1.js → SortListControl-BLRSjMlt.js} +44 -44
- package/dist/{TextAreaControl-9E45K9LP.js → TextAreaControl-BtKvK7m5.js} +1 -1
- package/dist/{TextControl-BBADDUxC.js → TextControl-DQHeLfUf.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-HmUXivAD.js → TextControl.vue_vue_type_script_setup_true_lang-BVniTWZc.js} +3 -3
- package/dist/{TimeControl-C6RXVH_D.js → TimeControl-DNVZ8MwG.js} +254 -186
- package/dist/{Tooltip-Tn59teyD.js → Tooltip-05C2P0LZ.js} +1 -1
- package/dist/{TwinlistControl-Bw-3pqRo.js → TwinlistControl-CLb3ScbX.js} +4 -4
- package/dist/{TwinlistLoadingInfo-BSF18Xm1.js → TwinlistLoadingInfo-CORKwJtq.js} +6 -6
- package/dist/{ValueSwitch-8AuK3jrJ.js → ValueSwitch-DDZmCzJ2.js} +15 -15
- package/dist/{ValueSwitchControl-CXQQyGpN.js → ValueSwitchControl-f-Erg95s.js} +1 -1
- package/dist/{VerticalLayout-B2bNmVgn.js → VerticalLayout-BuHTshgA.js} +2 -2
- package/dist/VerticalLayoutBase-DvAVJXQ0.js +20 -0
- package/dist/VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-CgxoHJl6.js +14873 -0
- package/dist/ZonedDateTimeControl-CITJCUL9.js +62 -0
- package/dist/{_baseAssignValue-DGlJFWWl.js → _baseAssignValue-BsEGtC7U.js} +1 -1
- package/dist/{_baseEach-CyAziyoj.js → _baseEach-D3wikPtr.js} +2 -2
- package/dist/{_baseIsEqual-CeM08H2c.js → _baseIsEqual-Ba5emb2n.js} +25 -25
- package/dist/{_baseIteratee-D5uAz1ci.js → _baseIteratee-CR_k_vvc.js} +3 -3
- package/dist/{_getTag-DSF9m6Mj.js → _getTag-B6BdOFrI.js} +52 -53
- package/dist/{floating-ui.vue.esm-CDpUY3-t.js → floating-ui.vue.esm-B1dY_Hbh.js} +137 -137
- package/dist/{index-Cp7Xre_V.js → index-CkuSIXs2.js} +99 -99
- package/dist/{isSymbol-DYfQwMQW.js → isSymbol-Cb4cQ_Hx.js} +1 -1
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +6 -6
- package/dist/{magic-string.es-B5oZaT6C.js → magic-string.es-BDTetD65.js} +265 -264
- package/dist/popper-CRR--9mA.js +907 -0
- package/dist/src/constants/inputFormats.d.ts +1 -0
- package/dist/src/renderers/defaultRenderers.d.ts +6 -0
- package/dist/src/renderers/zonedDateTimeRenderer.d.ts +8 -0
- package/dist/src/uiComponents/ZonedDateTimeControl.vue.d.ts +16 -0
- package/dist/{svgWithTitle-Dt_sR5y0.js → svgWithTitle-CuG0P-p_.js} +1 -1
- package/dist/testing.js +977 -972
- package/dist/toString-77UqbKdP.js +26 -0
- package/package.json +1 -1
- package/dist/DateTimeInput-CMuN30CN.js +0 -11076
- package/dist/VerticalLayoutBase-CvToTLP0.js +0 -20
- package/dist/VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-vGXKVcuV.js +0 -13240
- package/dist/popper-1JCni0RT.js +0 -907
- package/dist/toString-Ccd5uXff.js +0 -26
|
@@ -1,257 +1,258 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
(function(E, t) {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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();
|
|
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 P {
|
|
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
|
-
}
|
|
57
|
-
}
|
|
58
|
-
class G {
|
|
59
|
-
constructor(h) {
|
|
60
|
-
this.pos = 0, this.buffer = h;
|
|
1
|
+
var M = { exports: {} }, lt = M.exports, K;
|
|
2
|
+
function ut() {
|
|
3
|
+
return K || (K = 1, function(E, t) {
|
|
4
|
+
(function(e, n) {
|
|
5
|
+
n(t);
|
|
6
|
+
})(lt, function(e) {
|
|
7
|
+
const s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", u = new Uint8Array(64), f = new Uint8Array(128);
|
|
8
|
+
for (let a = 0; a < s.length; a++) {
|
|
9
|
+
const h = s.charCodeAt(a);
|
|
10
|
+
u[a] = h, f[h] = a;
|
|
61
11
|
}
|
|
62
|
-
|
|
63
|
-
|
|
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;
|
|
64
20
|
}
|
|
65
|
-
|
|
66
|
-
|
|
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;
|
|
67
29
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
return d === -1 ? i.length : d;
|
|
30
|
+
function k(a, h) {
|
|
31
|
+
return a.pos >= h ? !1 : a.peek() !== 44;
|
|
71
32
|
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
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();
|
|
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);
|
|
84
48
|
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
} while (k(i, h));
|
|
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;
|
|
93
56
|
}
|
|
94
|
-
w.vars = x, l.push(w), d.push(w);
|
|
95
57
|
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
c(i, y, 0);
|
|
111
|
-
for (h++; h < a.length; ) {
|
|
112
|
-
const y = a[h], { 0: p, 1: v } = y;
|
|
113
|
-
if (p > m || p === m && v >= S)
|
|
114
|
-
break;
|
|
115
|
-
h = H(a, h, i, l);
|
|
58
|
+
class G {
|
|
59
|
+
constructor(h) {
|
|
60
|
+
this.pos = 0, this.buffer = h;
|
|
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
|
+
}
|
|
116
72
|
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
const L = d.pop();
|
|
128
|
-
L[2] = g, L[3] = v;
|
|
73
|
+
const F = [];
|
|
74
|
+
function Z(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 y = d.pop();
|
|
82
|
+
y[2] = g, y[3] = b;
|
|
129
83
|
continue;
|
|
130
84
|
}
|
|
131
|
-
const
|
|
132
|
-
let
|
|
133
|
-
if (
|
|
134
|
-
|
|
135
|
-
m = o(i, b === L ? m : 0), b = L, _ = [g, v, 0, 0, L, m];
|
|
136
|
-
} else
|
|
137
|
-
_ = [g, v, 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 = [];
|
|
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 x = F;
|
|
87
|
+
if (k(i, h)) {
|
|
88
|
+
x = [];
|
|
146
89
|
do {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
if (L < -1) {
|
|
151
|
-
I = [[o(i, 0)]];
|
|
152
|
-
for (let j = -1; j > L; j--) {
|
|
153
|
-
const st = x;
|
|
154
|
-
x = o(i, x), y = o(i, x === st ? y : 0);
|
|
155
|
-
const ot = o(i, 0);
|
|
156
|
-
I.push([ot, x, y]);
|
|
157
|
-
}
|
|
158
|
-
} else
|
|
159
|
-
I = [[L]];
|
|
160
|
-
D.push(I);
|
|
161
|
-
} while (k(i, p));
|
|
90
|
+
const y = o(i, 0);
|
|
91
|
+
x.push(y);
|
|
92
|
+
} while (k(i, h));
|
|
162
93
|
}
|
|
163
|
-
|
|
94
|
+
w.vars = x, l.push(w), d.push(w);
|
|
164
95
|
}
|
|
165
|
-
|
|
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: x } = 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 y = (d.length === 6 ? 1 : 0) | (w ? 2 : 0) | (C ? 4 : 0);
|
|
181
|
-
if (c(i, y, 0), d.length === 6) {
|
|
182
|
-
const { 4: p, 5: v } = d;
|
|
183
|
-
p !== l[2] && (l[3] = 0), l[2] = c(i, p, l[2]), l[3] = c(i, v, l[3]);
|
|
96
|
+
return l;
|
|
184
97
|
}
|
|
185
|
-
|
|
186
|
-
const
|
|
187
|
-
|
|
98
|
+
function V(a) {
|
|
99
|
+
const h = new D();
|
|
100
|
+
for (let i = 0; i < a.length; )
|
|
101
|
+
i = H(a, i, h, [0]);
|
|
102
|
+
return h.flush();
|
|
188
103
|
}
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
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 x = d.length === 6 ? 1 : 0;
|
|
108
|
+
c(i, x, 0), d.length === 6 && c(i, d[5], 0);
|
|
109
|
+
for (const y of w)
|
|
110
|
+
c(i, y, 0);
|
|
111
|
+
for (h++; h < a.length; ) {
|
|
112
|
+
const y = a[h], { 0: p, 1: v } = y;
|
|
113
|
+
if (p > m || p === m && v >= S)
|
|
114
|
+
break;
|
|
115
|
+
h = H(a, h, i, l);
|
|
199
116
|
}
|
|
200
|
-
|
|
201
|
-
const p = a[h], { 0: v, 1: R } = p;
|
|
202
|
-
if (v > m || v === m && R >= S)
|
|
203
|
-
break;
|
|
204
|
-
h = J(a, h, i, l);
|
|
117
|
+
return i.write(44), l[0] = c(i, m, l[0]), c(i, S, 0), h;
|
|
205
118
|
}
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
119
|
+
function tt(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, x = 0, y = 0;
|
|
122
|
+
do {
|
|
123
|
+
const p = i.indexOf(";");
|
|
124
|
+
let v = 0;
|
|
125
|
+
for (; i.pos < p; i.pos++) {
|
|
126
|
+
if (v = o(i, v), !k(i, p)) {
|
|
127
|
+
const L = d.pop();
|
|
128
|
+
L[2] = g, L[3] = v;
|
|
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, v, 0, 0, L, m];
|
|
136
|
+
} else
|
|
137
|
+
_ = [g, v, 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
|
+
x = g, y = v;
|
|
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 = x;
|
|
154
|
+
x = o(i, x), y = o(i, x === ot ? y : 0);
|
|
155
|
+
const ht = o(i, 0);
|
|
156
|
+
I.push([ht, x, y]);
|
|
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;
|
|
168
|
+
}
|
|
169
|
+
function et(a) {
|
|
170
|
+
if (a.length === 0)
|
|
171
|
+
return "";
|
|
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();
|
|
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: x } = 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 y = (d.length === 6 ? 1 : 0) | (w ? 2 : 0) | (C ? 4 : 0);
|
|
181
|
+
if (c(i, y, 0), d.length === 6) {
|
|
182
|
+
const { 4: p, 5: v } = d;
|
|
183
|
+
p !== l[2] && (l[3] = 0), l[2] = c(i, p, l[2]), l[3] = c(i, v, l[3]);
|
|
222
184
|
}
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
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)));
|
|
185
|
+
if (w) {
|
|
186
|
+
const { 0: p, 1: v, 2: R } = d.callsite;
|
|
187
|
+
p !== l[4] ? (l[5] = 0, l[6] = 0) : v !== l[5] && (l[6] = 0), l[4] = c(i, p, l[4]), l[5] = c(i, v, l[5]), l[6] = c(i, R, l[6]);
|
|
188
|
+
}
|
|
189
|
+
if (x)
|
|
190
|
+
for (const p of x) {
|
|
191
|
+
p.length > 1 && c(i, -p.length, 0);
|
|
192
|
+
const v = p[0][0];
|
|
193
|
+
c(i, v, 0);
|
|
194
|
+
let R = g, B = b;
|
|
195
|
+
for (let A = 1; A < p.length; A++) {
|
|
196
|
+
const T = p[A];
|
|
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: v, 1: R } = p;
|
|
202
|
+
if (v > m || v === m && R >= S)
|
|
203
|
+
break;
|
|
204
|
+
h = J(a, h, i, l);
|
|
244
205
|
}
|
|
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;
|
|
245
207
|
}
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
|
|
208
|
+
function W(a, h, i) {
|
|
209
|
+
do
|
|
210
|
+
a.write(59);
|
|
211
|
+
while (++h < i);
|
|
212
|
+
}
|
|
213
|
+
function nt(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 x = !0, y = 0;
|
|
219
|
+
for (d = 0; i.pos < C; ) {
|
|
220
|
+
let p;
|
|
221
|
+
d = o(i, d), d < y && (x = !1), y = 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
|
+
x || it(w), l.push(w), i.pos = C + 1;
|
|
224
|
+
} while (i.pos <= h);
|
|
225
|
+
return l;
|
|
226
|
+
}
|
|
227
|
+
function it(a) {
|
|
228
|
+
a.sort(rt);
|
|
229
|
+
}
|
|
230
|
+
function rt(a, h) {
|
|
231
|
+
return a[0] - h[0];
|
|
232
|
+
}
|
|
233
|
+
function st(a) {
|
|
234
|
+
const h = new D();
|
|
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 = nt, e.decodeGeneratedRanges = tt, e.decodeOriginalScopes = Z, e.encode = st, e.encodeGeneratedRanges = et, e.encodeOriginalScopes = V, Object.defineProperty(e, "__esModule", { value: !0 });
|
|
249
|
+
});
|
|
250
|
+
}(M, M.exports)), M.exports;
|
|
251
|
+
}
|
|
252
|
+
var ct = ut();
|
|
253
|
+
class P {
|
|
253
254
|
constructor(t) {
|
|
254
|
-
this.bits = t instanceof
|
|
255
|
+
this.bits = t instanceof P ? t.bits.slice() : [];
|
|
255
256
|
}
|
|
256
257
|
add(t) {
|
|
257
258
|
this.bits[t >> 5] |= 1 << (t & 31);
|
|
@@ -260,7 +261,7 @@ class B {
|
|
|
260
261
|
return !!(this.bits[t >> 5] & 1 << (t & 31));
|
|
261
262
|
}
|
|
262
263
|
}
|
|
263
|
-
class
|
|
264
|
+
class U {
|
|
264
265
|
constructor(t, e, n) {
|
|
265
266
|
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;
|
|
266
267
|
}
|
|
@@ -271,7 +272,7 @@ class M {
|
|
|
271
272
|
this.intro = this.intro + t;
|
|
272
273
|
}
|
|
273
274
|
clone() {
|
|
274
|
-
const t = new
|
|
275
|
+
const t = new U(this.start, this.end, this.original);
|
|
275
276
|
return t.intro = this.intro, t.outro = this.outro, t.content = this.content, t.storeName = this.storeName, t.edited = this.edited, t;
|
|
276
277
|
}
|
|
277
278
|
contains(t) {
|
|
@@ -302,7 +303,7 @@ class M {
|
|
|
302
303
|
split(t) {
|
|
303
304
|
const e = t - this.start, n = this.original.slice(0, e), r = this.original.slice(e);
|
|
304
305
|
this.original = n;
|
|
305
|
-
const s = new
|
|
306
|
+
const s = new U(t, this.end, r);
|
|
306
307
|
return s.outro = this.outro, this.outro = "", this.end = t, this.edited ? (s.edit("", !1), this.content = "") : this.content = n, s.next = this.next, s.next && (s.next.previous = s), s.previous = this, this.next = s, s;
|
|
307
308
|
}
|
|
308
309
|
toString() {
|
|
@@ -327,24 +328,24 @@ class M {
|
|
|
327
328
|
} else if (this.edit("", void 0, !0), this.outro = this.outro.replace(t, ""), this.outro.length) return !0;
|
|
328
329
|
}
|
|
329
330
|
}
|
|
330
|
-
function
|
|
331
|
+
function at() {
|
|
331
332
|
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") : () => {
|
|
332
333
|
throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.");
|
|
333
334
|
};
|
|
334
335
|
}
|
|
335
|
-
const
|
|
336
|
-
class
|
|
336
|
+
const ft = /* @__PURE__ */ at();
|
|
337
|
+
class dt {
|
|
337
338
|
constructor(t) {
|
|
338
|
-
this.version = 3, this.file = t.file, this.sources = t.sources, this.sourcesContent = t.sourcesContent, this.names = t.names, this.mappings =
|
|
339
|
+
this.version = 3, this.file = t.file, this.sources = t.sources, this.sourcesContent = t.sourcesContent, this.names = t.names, this.mappings = ct.encode(t.mappings), typeof t.x_google_ignoreList < "u" && (this.x_google_ignoreList = t.x_google_ignoreList);
|
|
339
340
|
}
|
|
340
341
|
toString() {
|
|
341
342
|
return JSON.stringify(this);
|
|
342
343
|
}
|
|
343
344
|
toUrl() {
|
|
344
|
-
return "data:application/json;charset=utf-8;base64," +
|
|
345
|
+
return "data:application/json;charset=utf-8;base64," + ft(this.toString());
|
|
345
346
|
}
|
|
346
347
|
}
|
|
347
|
-
function
|
|
348
|
+
function gt(E) {
|
|
348
349
|
const t = E.split(`
|
|
349
350
|
`), e = t.filter((s) => /^\t+/.test(s)), n = t.filter((s) => /^ {2,}/.test(s));
|
|
350
351
|
if (e.length === 0 && n.length === 0)
|
|
@@ -357,7 +358,7 @@ function ft(E) {
|
|
|
357
358
|
}, 1 / 0);
|
|
358
359
|
return new Array(r + 1).join(" ");
|
|
359
360
|
}
|
|
360
|
-
function
|
|
361
|
+
function pt(E, t) {
|
|
361
362
|
const e = E.split(/[/\\]/), n = t.split(/[/\\]/);
|
|
362
363
|
for (e.pop(); e[0] === n[0]; )
|
|
363
364
|
e.shift(), n.shift();
|
|
@@ -367,11 +368,11 @@ function dt(E, t) {
|
|
|
367
368
|
}
|
|
368
369
|
return e.concat(n).join("/");
|
|
369
370
|
}
|
|
370
|
-
const
|
|
371
|
-
function
|
|
372
|
-
return
|
|
371
|
+
const mt = Object.prototype.toString;
|
|
372
|
+
function wt(E) {
|
|
373
|
+
return mt.call(E) === "[object Object]";
|
|
373
374
|
}
|
|
374
|
-
function
|
|
375
|
+
function Q(E) {
|
|
375
376
|
const t = E.split(`
|
|
376
377
|
`), e = [];
|
|
377
378
|
for (let n = 0, r = 0; n < t.length; n++)
|
|
@@ -386,8 +387,8 @@ function K(E) {
|
|
|
386
387
|
return { line: f, column: o };
|
|
387
388
|
};
|
|
388
389
|
}
|
|
389
|
-
const
|
|
390
|
-
class
|
|
390
|
+
const bt = /\w/;
|
|
391
|
+
class Ct {
|
|
391
392
|
constructor(t) {
|
|
392
393
|
this.hires = t, this.generatedCodeLine = 0, this.generatedCodeColumn = 0, this.raw = [], this.rawSegments = this.raw[this.generatedCodeLine] = [], this.pending = null;
|
|
393
394
|
}
|
|
@@ -411,7 +412,7 @@ class wt {
|
|
|
411
412
|
for (; u < e.end; ) {
|
|
412
413
|
if (this.hires || f || s.has(u)) {
|
|
413
414
|
const c = [this.generatedCodeColumn, t, r.line, r.column];
|
|
414
|
-
this.hires === "boundary" ?
|
|
415
|
+
this.hires === "boundary" ? bt.test(n[u]) ? o || (this.rawSegments.push(c), o = !0) : (this.rawSegments.push(c), o = !1) : this.rawSegments.push(c);
|
|
415
416
|
}
|
|
416
417
|
n[u] === `
|
|
417
418
|
` ? (r.line += 1, r.column = 0, this.generatedCodeLine += 1, this.raw[this.generatedCodeLine] = this.rawSegments = [], this.generatedCodeColumn = 0, f = !0) : (r.column += 1, this.generatedCodeColumn += 1, f = !1), u += 1;
|
|
@@ -436,9 +437,9 @@ const $ = `
|
|
|
436
437
|
insertRight: !1,
|
|
437
438
|
storeName: !1
|
|
438
439
|
};
|
|
439
|
-
class
|
|
440
|
+
class X {
|
|
440
441
|
constructor(t, e = {}) {
|
|
441
|
-
const n = new
|
|
442
|
+
const n = new U(0, t.length, t);
|
|
442
443
|
Object.defineProperties(this, {
|
|
443
444
|
original: { writable: !0, value: t },
|
|
444
445
|
outro: { writable: !0, value: "" },
|
|
@@ -450,7 +451,7 @@ class Q {
|
|
|
450
451
|
byEnd: { writable: !0, value: {} },
|
|
451
452
|
filename: { writable: !0, value: e.filename },
|
|
452
453
|
indentExclusionRanges: { writable: !0, value: e.indentExclusionRanges },
|
|
453
|
-
sourcemapLocations: { writable: !0, value: new
|
|
454
|
+
sourcemapLocations: { writable: !0, value: new P() },
|
|
454
455
|
storedNames: { writable: !0, value: {} },
|
|
455
456
|
indentStr: { writable: !0, value: void 0 },
|
|
456
457
|
ignoreList: { writable: !0, value: e.ignoreList }
|
|
@@ -476,18 +477,18 @@ class Q {
|
|
|
476
477
|
return n ? n.appendRight(e) : this.outro += e, this;
|
|
477
478
|
}
|
|
478
479
|
clone() {
|
|
479
|
-
const t = new
|
|
480
|
+
const t = new X(this.original, { filename: this.filename });
|
|
480
481
|
let e = this.firstChunk, n = t.firstChunk = t.lastSearchedChunk = e.clone();
|
|
481
482
|
for (; e; ) {
|
|
482
483
|
t.byStart[n.start] = n, t.byEnd[n.end] = n;
|
|
483
484
|
const r = e.next, s = r && r.clone();
|
|
484
485
|
s && (n.next = s, s.previous = n, n = s), e = r;
|
|
485
486
|
}
|
|
486
|
-
return t.lastChunk = n, this.indentExclusionRanges && (t.indentExclusionRanges = this.indentExclusionRanges.slice()), t.sourcemapLocations = new
|
|
487
|
+
return t.lastChunk = n, this.indentExclusionRanges && (t.indentExclusionRanges = this.indentExclusionRanges.slice()), t.sourcemapLocations = new P(this.sourcemapLocations), t.intro = this.intro, t.outro = this.outro, t;
|
|
487
488
|
}
|
|
488
489
|
generateDecodedMap(t) {
|
|
489
490
|
t = t || {};
|
|
490
|
-
const e = 0, n = Object.keys(this.storedNames), r = new
|
|
491
|
+
const e = 0, n = Object.keys(this.storedNames), r = new Ct(t.hires), s = Q(this.original);
|
|
491
492
|
return this.intro && r.advance(this.intro), this.firstChunk.eachNext((u) => {
|
|
492
493
|
const f = s(u.start);
|
|
493
494
|
u.intro.length && r.advance(u.intro), u.edited ? r.addEdit(
|
|
@@ -499,7 +500,7 @@ class Q {
|
|
|
499
500
|
}), {
|
|
500
501
|
file: t.file ? t.file.split(/[/\\]/).pop() : void 0,
|
|
501
502
|
sources: [
|
|
502
|
-
t.source ?
|
|
503
|
+
t.source ? pt(t.file || "", t.source) : t.file || ""
|
|
503
504
|
],
|
|
504
505
|
sourcesContent: t.includeContent ? [this.original] : void 0,
|
|
505
506
|
names: n,
|
|
@@ -508,10 +509,10 @@ class Q {
|
|
|
508
509
|
};
|
|
509
510
|
}
|
|
510
511
|
generateMap(t) {
|
|
511
|
-
return new
|
|
512
|
+
return new dt(this.generateDecodedMap(t));
|
|
512
513
|
}
|
|
513
514
|
_ensureindentStr() {
|
|
514
|
-
this.indentStr === void 0 && (this.indentStr =
|
|
515
|
+
this.indentStr === void 0 && (this.indentStr = gt(this.original));
|
|
515
516
|
}
|
|
516
517
|
_getRawIndentString() {
|
|
517
518
|
return this._ensureindentStr(), this.indentStr;
|
|
@@ -521,7 +522,7 @@ class Q {
|
|
|
521
522
|
}
|
|
522
523
|
indent(t, e) {
|
|
523
524
|
const n = /^[^\r\n]/gm;
|
|
524
|
-
if (
|
|
525
|
+
if (wt(t) && (e = t, t = void 0), t === void 0 && (this._ensureindentStr(), t = this.indentStr || " "), t === "") return this;
|
|
525
526
|
e = e || {};
|
|
526
527
|
const r = {};
|
|
527
528
|
e.exclude && (typeof e.exclude[0] == "number" ? [e.exclude] : e.exclude).forEach((k) => {
|
|
@@ -609,7 +610,7 @@ class Q {
|
|
|
609
610
|
}
|
|
610
611
|
f.edit(n, s, !u);
|
|
611
612
|
} else {
|
|
612
|
-
const c = new
|
|
613
|
+
const c = new U(t, e, "").edit(n, s);
|
|
613
614
|
o.next = c, c.previous = o;
|
|
614
615
|
}
|
|
615
616
|
return this;
|
|
@@ -730,7 +731,7 @@ class Q {
|
|
|
730
731
|
}
|
|
731
732
|
_splitChunk(t, e) {
|
|
732
733
|
if (t.edited && t.content.length) {
|
|
733
|
-
const r =
|
|
734
|
+
const r = Q(this.original)(e);
|
|
734
735
|
throw new Error(
|
|
735
736
|
`Cannot split a chunk that has already been edited (${r.line}:${r.column} – "${t.original}")`
|
|
736
737
|
);
|
|
@@ -855,6 +856,6 @@ class Q {
|
|
|
855
856
|
}
|
|
856
857
|
}
|
|
857
858
|
export {
|
|
858
|
-
|
|
859
|
-
|
|
859
|
+
dt as SourceMap,
|
|
860
|
+
X as default
|
|
860
861
|
};
|