@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
|
@@ -109,18 +109,18 @@ function gt(t, e, n) {
|
|
|
109
109
|
reference: o,
|
|
110
110
|
floating: i
|
|
111
111
|
} = t;
|
|
112
|
-
const s = ot(e), r = Ot(e), l = At(r),
|
|
112
|
+
const s = ot(e), r = Ot(e), l = At(r), f = V(e), c = s === "y", a = o.x + o.width / 2 - i.width / 2, u = o.y + o.height / 2 - i.height / 2, m = o[l] / 2 - i[l] / 2;
|
|
113
113
|
let d;
|
|
114
|
-
switch (
|
|
114
|
+
switch (f) {
|
|
115
115
|
case "top":
|
|
116
116
|
d = {
|
|
117
|
-
x:
|
|
117
|
+
x: a,
|
|
118
118
|
y: o.y - i.height
|
|
119
119
|
};
|
|
120
120
|
break;
|
|
121
121
|
case "bottom":
|
|
122
122
|
d = {
|
|
123
|
-
x:
|
|
123
|
+
x: a,
|
|
124
124
|
y: o.y + o.height
|
|
125
125
|
};
|
|
126
126
|
break;
|
|
@@ -158,26 +158,26 @@ const Yt = async (t, e, n) => {
|
|
|
158
158
|
strategy: i = "absolute",
|
|
159
159
|
middleware: s = [],
|
|
160
160
|
platform: r
|
|
161
|
-
} = n, l = s.filter(Boolean),
|
|
161
|
+
} = n, l = s.filter(Boolean), f = await (r.isRTL == null ? void 0 : r.isRTL(e));
|
|
162
162
|
let c = await r.getElementRects({
|
|
163
163
|
reference: t,
|
|
164
164
|
floating: e,
|
|
165
165
|
strategy: i
|
|
166
166
|
}), {
|
|
167
|
-
x:
|
|
167
|
+
x: a,
|
|
168
168
|
y: u
|
|
169
|
-
} = gt(c, o,
|
|
169
|
+
} = gt(c, o, f), m = o, d = {}, p = 0;
|
|
170
170
|
for (let g = 0; g < l.length; g++) {
|
|
171
171
|
const {
|
|
172
172
|
name: w,
|
|
173
173
|
fn: h
|
|
174
174
|
} = l[g], {
|
|
175
175
|
x,
|
|
176
|
-
y
|
|
176
|
+
y,
|
|
177
177
|
data: R,
|
|
178
178
|
reset: b
|
|
179
179
|
} = await h({
|
|
180
|
-
x:
|
|
180
|
+
x: a,
|
|
181
181
|
y: u,
|
|
182
182
|
initialPlacement: o,
|
|
183
183
|
placement: m,
|
|
@@ -190,7 +190,7 @@ const Yt = async (t, e, n) => {
|
|
|
190
190
|
floating: e
|
|
191
191
|
}
|
|
192
192
|
});
|
|
193
|
-
|
|
193
|
+
a = x ?? a, u = y ?? u, d = {
|
|
194
194
|
...d,
|
|
195
195
|
[w]: {
|
|
196
196
|
...d[w],
|
|
@@ -201,12 +201,12 @@ const Yt = async (t, e, n) => {
|
|
|
201
201
|
floating: e,
|
|
202
202
|
strategy: i
|
|
203
203
|
}) : b.rects), {
|
|
204
|
-
x:
|
|
204
|
+
x: a,
|
|
205
205
|
y: u
|
|
206
|
-
} = gt(c, m,
|
|
206
|
+
} = gt(c, m, f)), g = -1);
|
|
207
207
|
}
|
|
208
208
|
return {
|
|
209
|
-
x:
|
|
209
|
+
x: a,
|
|
210
210
|
y: u,
|
|
211
211
|
placement: m,
|
|
212
212
|
strategy: i,
|
|
@@ -222,24 +222,24 @@ async function Ct(t, e) {
|
|
|
222
222
|
platform: s,
|
|
223
223
|
rects: r,
|
|
224
224
|
elements: l,
|
|
225
|
-
strategy:
|
|
225
|
+
strategy: f
|
|
226
226
|
} = t, {
|
|
227
227
|
boundary: c = "clippingAncestors",
|
|
228
|
-
rootBoundary:
|
|
228
|
+
rootBoundary: a = "viewport",
|
|
229
229
|
elementContext: u = "floating",
|
|
230
230
|
altBoundary: m = !1,
|
|
231
231
|
padding: d = 0
|
|
232
232
|
} = et(e, t), p = jt(d), w = l[m ? u === "floating" ? "reference" : "floating" : u], h = tt(await s.getClippingRect({
|
|
233
233
|
element: (n = await (s.isElement == null ? void 0 : s.isElement(w))) == null || n ? w : w.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(l.floating)),
|
|
234
234
|
boundary: c,
|
|
235
|
-
rootBoundary:
|
|
236
|
-
strategy:
|
|
235
|
+
rootBoundary: a,
|
|
236
|
+
strategy: f
|
|
237
237
|
})), x = u === "floating" ? {
|
|
238
238
|
x: o,
|
|
239
239
|
y: i,
|
|
240
240
|
width: r.floating.width,
|
|
241
241
|
height: r.floating.height
|
|
242
|
-
} : r.reference,
|
|
242
|
+
} : r.reference, y = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(l.floating)), R = await (s.isElement == null ? void 0 : s.isElement(y)) ? await (s.getScale == null ? void 0 : s.getScale(y)) || {
|
|
243
243
|
x: 1,
|
|
244
244
|
y: 1
|
|
245
245
|
} : {
|
|
@@ -248,8 +248,8 @@ async function Ct(t, e) {
|
|
|
248
248
|
}, b = tt(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
249
249
|
elements: l,
|
|
250
250
|
rect: x,
|
|
251
|
-
offsetParent:
|
|
252
|
-
strategy:
|
|
251
|
+
offsetParent: y,
|
|
252
|
+
strategy: f
|
|
253
253
|
}) : x);
|
|
254
254
|
return {
|
|
255
255
|
top: (h.top - b.top + p.top) / R.y,
|
|
@@ -269,10 +269,10 @@ const qt = function(t) {
|
|
|
269
269
|
middlewareData: s,
|
|
270
270
|
rects: r,
|
|
271
271
|
initialPlacement: l,
|
|
272
|
-
platform:
|
|
272
|
+
platform: f,
|
|
273
273
|
elements: c
|
|
274
274
|
} = e, {
|
|
275
|
-
mainAxis:
|
|
275
|
+
mainAxis: a = !0,
|
|
276
276
|
crossAxis: u = !0,
|
|
277
277
|
fallbackPlacements: m,
|
|
278
278
|
fallbackStrategy: d = "bestFit",
|
|
@@ -282,18 +282,18 @@ const qt = function(t) {
|
|
|
282
282
|
} = et(t, e);
|
|
283
283
|
if ((n = s.arrow) != null && n.alignmentOffset)
|
|
284
284
|
return {};
|
|
285
|
-
const h = V(i), x = V(l) === l,
|
|
286
|
-
!m && p !== "none" && R.push(...It(l, g, p,
|
|
287
|
-
const b = [l, ...R], L = await Ct(e, w),
|
|
285
|
+
const h = V(i), x = V(l) === l, y = await (f.isRTL == null ? void 0 : f.isRTL(c.floating)), R = m || (x || !g ? [Z(l)] : Ht(l));
|
|
286
|
+
!m && p !== "none" && R.push(...It(l, g, p, y));
|
|
287
|
+
const b = [l, ...R], L = await Ct(e, w), v = [];
|
|
288
288
|
let S = ((o = s.flip) == null ? void 0 : o.overflows) || [];
|
|
289
|
-
if (
|
|
290
|
-
const F = $t(i, r,
|
|
291
|
-
|
|
289
|
+
if (a && v.push(L[h]), u) {
|
|
290
|
+
const F = $t(i, r, y);
|
|
291
|
+
v.push(L[F[0]], L[F[1]]);
|
|
292
292
|
}
|
|
293
293
|
if (S = [...S, {
|
|
294
294
|
placement: i,
|
|
295
|
-
overflows:
|
|
296
|
-
}], !
|
|
295
|
+
overflows: v
|
|
296
|
+
}], !v.every((F) => F <= 0)) {
|
|
297
297
|
var I, dt;
|
|
298
298
|
const F = (((I = s.flip) == null ? void 0 : I.index) || 0) + 1, ht = b[F];
|
|
299
299
|
if (ht)
|
|
@@ -335,7 +335,7 @@ async function Ut(t, e) {
|
|
|
335
335
|
placement: n,
|
|
336
336
|
platform: o,
|
|
337
337
|
elements: i
|
|
338
|
-
} = t, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r = V(n), l = nt(n),
|
|
338
|
+
} = t, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r = V(n), l = nt(n), f = ot(n) === "y", c = ["left", "top"].includes(r) ? -1 : 1, a = s && f ? -1 : 1, u = et(e, t);
|
|
339
339
|
let {
|
|
340
340
|
mainAxis: m,
|
|
341
341
|
crossAxis: d,
|
|
@@ -350,12 +350,12 @@ async function Ut(t, e) {
|
|
|
350
350
|
alignmentAxis: null,
|
|
351
351
|
...u
|
|
352
352
|
};
|
|
353
|
-
return l && typeof p == "number" && (d = l === "end" ? p * -1 : p),
|
|
354
|
-
x: d *
|
|
353
|
+
return l && typeof p == "number" && (d = l === "end" ? p * -1 : p), f ? {
|
|
354
|
+
x: d * a,
|
|
355
355
|
y: m * c
|
|
356
356
|
} : {
|
|
357
357
|
x: m * c,
|
|
358
|
-
y: d *
|
|
358
|
+
y: d * a
|
|
359
359
|
};
|
|
360
360
|
}
|
|
361
361
|
const Kt = function(t) {
|
|
@@ -369,12 +369,12 @@ const Kt = function(t) {
|
|
|
369
369
|
y: s,
|
|
370
370
|
placement: r,
|
|
371
371
|
middlewareData: l
|
|
372
|
-
} = e,
|
|
372
|
+
} = e, f = await Ut(e, t);
|
|
373
373
|
return r === ((n = l.offset) == null ? void 0 : n.placement) && (o = l.arrow) != null && o.alignmentOffset ? {} : {
|
|
374
|
-
x: i +
|
|
375
|
-
y: s +
|
|
374
|
+
x: i + f.x,
|
|
375
|
+
y: s + f.y,
|
|
376
376
|
data: {
|
|
377
|
-
...
|
|
377
|
+
...f,
|
|
378
378
|
placement: r
|
|
379
379
|
}
|
|
380
380
|
};
|
|
@@ -404,19 +404,19 @@ const Kt = function(t) {
|
|
|
404
404
|
};
|
|
405
405
|
}
|
|
406
406
|
},
|
|
407
|
-
...
|
|
407
|
+
...f
|
|
408
408
|
} = et(t, e), c = {
|
|
409
409
|
x: n,
|
|
410
410
|
y: o
|
|
411
|
-
},
|
|
411
|
+
}, a = await Ct(e, f), u = ot(V(i)), m = Rt(u);
|
|
412
412
|
let d = c[m], p = c[u];
|
|
413
413
|
if (s) {
|
|
414
|
-
const w = m === "y" ? "top" : "left", h = m === "y" ? "bottom" : "right", x = d +
|
|
415
|
-
d = pt(x, d,
|
|
414
|
+
const w = m === "y" ? "top" : "left", h = m === "y" ? "bottom" : "right", x = d + a[w], y = d - a[h];
|
|
415
|
+
d = pt(x, d, y);
|
|
416
416
|
}
|
|
417
417
|
if (r) {
|
|
418
|
-
const w = u === "y" ? "top" : "left", h = u === "y" ? "bottom" : "right", x = p +
|
|
419
|
-
p = pt(x, p,
|
|
418
|
+
const w = u === "y" ? "top" : "left", h = u === "y" ? "bottom" : "right", x = p + a[w], y = p - a[h];
|
|
419
|
+
p = pt(x, p, y);
|
|
420
420
|
}
|
|
421
421
|
const g = l.fn({
|
|
422
422
|
...e,
|
|
@@ -469,7 +469,7 @@ function Jt(t) {
|
|
|
469
469
|
return ["table", "td", "th"].includes(z(t));
|
|
470
470
|
}
|
|
471
471
|
function ct(t) {
|
|
472
|
-
const e =
|
|
472
|
+
const e = ft(), n = O(t);
|
|
473
473
|
return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((o) => (n.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (n.contain || "").includes(o));
|
|
474
474
|
}
|
|
475
475
|
function Qt(t) {
|
|
@@ -481,7 +481,7 @@ function Qt(t) {
|
|
|
481
481
|
}
|
|
482
482
|
return null;
|
|
483
483
|
}
|
|
484
|
-
function
|
|
484
|
+
function ft() {
|
|
485
485
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
486
486
|
}
|
|
487
487
|
function H(t) {
|
|
@@ -531,11 +531,11 @@ function Tt(t) {
|
|
|
531
531
|
$: l
|
|
532
532
|
};
|
|
533
533
|
}
|
|
534
|
-
function
|
|
534
|
+
function at(t) {
|
|
535
535
|
return C(t) ? t : t.contextElement;
|
|
536
536
|
}
|
|
537
537
|
function $(t) {
|
|
538
|
-
const e =
|
|
538
|
+
const e = at(t);
|
|
539
539
|
if (!E(e))
|
|
540
540
|
return P(1);
|
|
541
541
|
const n = e.getBoundingClientRect(), {
|
|
@@ -552,7 +552,7 @@ function $(t) {
|
|
|
552
552
|
const Zt = /* @__PURE__ */ P(0);
|
|
553
553
|
function St(t) {
|
|
554
554
|
const e = A(t);
|
|
555
|
-
return !
|
|
555
|
+
return !ft() || !e.visualViewport ? Zt : {
|
|
556
556
|
x: e.visualViewport.offsetLeft,
|
|
557
557
|
y: e.visualViewport.offsetTop
|
|
558
558
|
};
|
|
@@ -562,23 +562,23 @@ function te(t, e, n) {
|
|
|
562
562
|
}
|
|
563
563
|
function B(t, e, n, o) {
|
|
564
564
|
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
565
|
-
const i = t.getBoundingClientRect(), s =
|
|
565
|
+
const i = t.getBoundingClientRect(), s = at(t);
|
|
566
566
|
let r = P(1);
|
|
567
567
|
e && (o ? C(o) && (r = $(o)) : r = $(t));
|
|
568
568
|
const l = te(s, n, o) ? St(s) : P(0);
|
|
569
|
-
let
|
|
569
|
+
let f = (i.left + l.x) / r.x, c = (i.top + l.y) / r.y, a = i.width / r.x, u = i.height / r.y;
|
|
570
570
|
if (s) {
|
|
571
571
|
const m = A(s), d = o && C(o) ? A(o) : o;
|
|
572
572
|
let p = m, g = p.frameElement;
|
|
573
573
|
for (; g && o && d !== p; ) {
|
|
574
|
-
const w = $(g), h = g.getBoundingClientRect(), x = O(g),
|
|
575
|
-
|
|
574
|
+
const w = $(g), h = g.getBoundingClientRect(), x = O(g), y = h.left + (g.clientLeft + parseFloat(x.paddingLeft)) * w.x, R = h.top + (g.clientTop + parseFloat(x.paddingTop)) * w.y;
|
|
575
|
+
f *= w.x, c *= w.y, a *= w.x, u *= w.y, f += y, c += R, p = A(g), g = p.frameElement;
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
578
|
return tt({
|
|
579
|
-
width:
|
|
579
|
+
width: a,
|
|
580
580
|
height: u,
|
|
581
|
-
x:
|
|
581
|
+
x: f,
|
|
582
582
|
y: c
|
|
583
583
|
});
|
|
584
584
|
}
|
|
@@ -602,20 +602,20 @@ function ne(t) {
|
|
|
602
602
|
const s = i === "fixed", r = T(o), l = e ? ut(e.floating) : !1;
|
|
603
603
|
if (o === r || l && s)
|
|
604
604
|
return n;
|
|
605
|
-
let
|
|
605
|
+
let f = {
|
|
606
606
|
scrollLeft: 0,
|
|
607
607
|
scrollTop: 0
|
|
608
608
|
}, c = P(1);
|
|
609
|
-
const
|
|
610
|
-
if ((u || !u && !s) && ((z(o) !== "body" || K(r)) && (
|
|
609
|
+
const a = P(0), u = E(o);
|
|
610
|
+
if ((u || !u && !s) && ((z(o) !== "body" || K(r)) && (f = it(o)), E(o))) {
|
|
611
611
|
const m = B(o);
|
|
612
|
-
c = $(o),
|
|
612
|
+
c = $(o), a.x = m.x + o.clientLeft, a.y = m.y + o.clientTop;
|
|
613
613
|
}
|
|
614
614
|
return {
|
|
615
615
|
width: n.width * c.x,
|
|
616
616
|
height: n.height * c.y,
|
|
617
|
-
x: n.x * c.x -
|
|
618
|
-
y: n.y * c.y -
|
|
617
|
+
x: n.x * c.x - f.scrollLeft * c.x + a.x,
|
|
618
|
+
y: n.y * c.y - f.scrollTop * c.y + a.y
|
|
619
619
|
};
|
|
620
620
|
}
|
|
621
621
|
function oe(t) {
|
|
@@ -637,25 +637,25 @@ function ie(t) {
|
|
|
637
637
|
}
|
|
638
638
|
function re(t, e) {
|
|
639
639
|
const n = A(t), o = T(t), i = n.visualViewport;
|
|
640
|
-
let s = o.clientWidth, r = o.clientHeight, l = 0,
|
|
640
|
+
let s = o.clientWidth, r = o.clientHeight, l = 0, f = 0;
|
|
641
641
|
if (i) {
|
|
642
642
|
s = i.width, r = i.height;
|
|
643
|
-
const c =
|
|
644
|
-
(!c || c && e === "fixed") && (l = i.offsetLeft,
|
|
643
|
+
const c = ft();
|
|
644
|
+
(!c || c && e === "fixed") && (l = i.offsetLeft, f = i.offsetTop);
|
|
645
645
|
}
|
|
646
646
|
return {
|
|
647
647
|
width: s,
|
|
648
648
|
height: r,
|
|
649
649
|
x: l,
|
|
650
|
-
y:
|
|
650
|
+
y: f
|
|
651
651
|
};
|
|
652
652
|
}
|
|
653
653
|
function se(t, e) {
|
|
654
|
-
const n = B(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, s = E(t) ? $(t) : P(1), r = t.clientWidth * s.x, l = t.clientHeight * s.y,
|
|
654
|
+
const n = B(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, s = E(t) ? $(t) : P(1), r = t.clientWidth * s.x, l = t.clientHeight * s.y, f = i * s.x, c = o * s.y;
|
|
655
655
|
return {
|
|
656
656
|
width: r,
|
|
657
657
|
height: l,
|
|
658
|
-
x:
|
|
658
|
+
x: f,
|
|
659
659
|
y: c
|
|
660
660
|
};
|
|
661
661
|
}
|
|
@@ -689,8 +689,8 @@ function le(t, e) {
|
|
|
689
689
|
const s = O(t).position === "fixed";
|
|
690
690
|
let r = s ? k(t) : t;
|
|
691
691
|
for (; C(r) && !H(r); ) {
|
|
692
|
-
const l = O(r),
|
|
693
|
-
!
|
|
692
|
+
const l = O(r), f = ct(r);
|
|
693
|
+
!f && l.position === "fixed" && (i = null), (s ? !f && !i : !f && l.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || K(r) && !f && Pt(t, r)) ? o = o.filter((a) => a !== r) : i = l, r = k(r);
|
|
694
694
|
}
|
|
695
695
|
return e.set(t, o), o;
|
|
696
696
|
}
|
|
@@ -701,18 +701,18 @@ function ce(t) {
|
|
|
701
701
|
rootBoundary: o,
|
|
702
702
|
strategy: i
|
|
703
703
|
} = t;
|
|
704
|
-
const r = [...n === "clippingAncestors" ? ut(e) ? [] : le(e, this._c) : [].concat(n), o], l = r[0],
|
|
705
|
-
const u = xt(e,
|
|
704
|
+
const r = [...n === "clippingAncestors" ? ut(e) ? [] : le(e, this._c) : [].concat(n), o], l = r[0], f = r.reduce((c, a) => {
|
|
705
|
+
const u = xt(e, a, i);
|
|
706
706
|
return c.top = M(u.top, c.top), c.right = J(u.right, c.right), c.bottom = J(u.bottom, c.bottom), c.left = M(u.left, c.left), c;
|
|
707
707
|
}, xt(e, l, i));
|
|
708
708
|
return {
|
|
709
|
-
width:
|
|
710
|
-
height:
|
|
711
|
-
x:
|
|
712
|
-
y:
|
|
709
|
+
width: f.right - f.left,
|
|
710
|
+
height: f.bottom - f.top,
|
|
711
|
+
x: f.left,
|
|
712
|
+
y: f.top
|
|
713
713
|
};
|
|
714
714
|
}
|
|
715
|
-
function
|
|
715
|
+
function fe(t) {
|
|
716
716
|
const {
|
|
717
717
|
width: e,
|
|
718
718
|
height: n
|
|
@@ -722,22 +722,22 @@ function ae(t) {
|
|
|
722
722
|
height: n
|
|
723
723
|
};
|
|
724
724
|
}
|
|
725
|
-
function
|
|
725
|
+
function ae(t, e, n) {
|
|
726
726
|
const o = E(e), i = T(e), s = n === "fixed", r = B(t, !0, s, e);
|
|
727
727
|
let l = {
|
|
728
728
|
scrollLeft: 0,
|
|
729
729
|
scrollTop: 0
|
|
730
730
|
};
|
|
731
|
-
const
|
|
731
|
+
const f = P(0);
|
|
732
732
|
if (o || !o && !s)
|
|
733
733
|
if ((z(e) !== "body" || K(i)) && (l = it(e)), o) {
|
|
734
734
|
const u = B(e, !0, s, e);
|
|
735
|
-
|
|
736
|
-
} else i && (
|
|
737
|
-
const c = r.left + l.scrollLeft -
|
|
735
|
+
f.x = u.x + e.clientLeft, f.y = u.y + e.clientTop;
|
|
736
|
+
} else i && (f.x = Dt(i));
|
|
737
|
+
const c = r.left + l.scrollLeft - f.x, a = r.top + l.scrollTop - f.y;
|
|
738
738
|
return {
|
|
739
739
|
x: c,
|
|
740
|
-
y:
|
|
740
|
+
y: a,
|
|
741
741
|
width: r.width,
|
|
742
742
|
height: r.height
|
|
743
743
|
};
|
|
@@ -745,7 +745,7 @@ function fe(t, e, n) {
|
|
|
745
745
|
function st(t) {
|
|
746
746
|
return O(t).position === "static";
|
|
747
747
|
}
|
|
748
|
-
function
|
|
748
|
+
function yt(t, e) {
|
|
749
749
|
return !E(t) || O(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
|
|
750
750
|
}
|
|
751
751
|
function kt(t, e) {
|
|
@@ -761,15 +761,15 @@ function kt(t, e) {
|
|
|
761
761
|
}
|
|
762
762
|
return n;
|
|
763
763
|
}
|
|
764
|
-
let o =
|
|
764
|
+
let o = yt(t, e);
|
|
765
765
|
for (; o && Jt(o) && st(o); )
|
|
766
|
-
o =
|
|
766
|
+
o = yt(o, e);
|
|
767
767
|
return o && H(o) && st(o) && !ct(o) ? n : o || Qt(t) || n;
|
|
768
768
|
}
|
|
769
769
|
const ue = async function(t) {
|
|
770
770
|
const e = this.getOffsetParent || kt, n = this.getDimensions, o = await n(t.floating);
|
|
771
771
|
return {
|
|
772
|
-
reference:
|
|
772
|
+
reference: ae(t.reference, await e(t.floating), t.strategy),
|
|
773
773
|
floating: {
|
|
774
774
|
x: 0,
|
|
775
775
|
y: 0,
|
|
@@ -788,7 +788,7 @@ const me = {
|
|
|
788
788
|
getOffsetParent: kt,
|
|
789
789
|
getElementRects: ue,
|
|
790
790
|
getClientRects: oe,
|
|
791
|
-
getDimensions:
|
|
791
|
+
getDimensions: fe,
|
|
792
792
|
getScale: $,
|
|
793
793
|
isElement: C,
|
|
794
794
|
isRTL: de
|
|
@@ -800,31 +800,31 @@ function he(t, e) {
|
|
|
800
800
|
var l;
|
|
801
801
|
clearTimeout(o), (l = n) == null || l.disconnect(), n = null;
|
|
802
802
|
}
|
|
803
|
-
function r(l,
|
|
804
|
-
l === void 0 && (l = !1),
|
|
803
|
+
function r(l, f) {
|
|
804
|
+
l === void 0 && (l = !1), f === void 0 && (f = 1), s();
|
|
805
805
|
const {
|
|
806
806
|
left: c,
|
|
807
|
-
top:
|
|
807
|
+
top: a,
|
|
808
808
|
width: u,
|
|
809
809
|
height: m
|
|
810
810
|
} = t.getBoundingClientRect();
|
|
811
811
|
if (l || e(), !u || !m)
|
|
812
812
|
return;
|
|
813
|
-
const d = G(
|
|
813
|
+
const d = G(a), p = G(i.clientWidth - (c + u)), g = G(i.clientHeight - (a + m)), w = G(c), x = {
|
|
814
814
|
rootMargin: -d + "px " + -p + "px " + -g + "px " + -w + "px",
|
|
815
|
-
threshold: M(0, J(1,
|
|
815
|
+
threshold: M(0, J(1, f)) || 1
|
|
816
816
|
};
|
|
817
|
-
let
|
|
817
|
+
let y = !0;
|
|
818
818
|
function R(b) {
|
|
819
819
|
const L = b[0].intersectionRatio;
|
|
820
|
-
if (L !==
|
|
821
|
-
if (!
|
|
820
|
+
if (L !== f) {
|
|
821
|
+
if (!y)
|
|
822
822
|
return r();
|
|
823
823
|
L ? r(!1, L) : o = setTimeout(() => {
|
|
824
824
|
r(!1, 1e-7);
|
|
825
825
|
}, 1e3);
|
|
826
826
|
}
|
|
827
|
-
|
|
827
|
+
y = !1;
|
|
828
828
|
}
|
|
829
829
|
try {
|
|
830
830
|
n = new IntersectionObserver(R, {
|
|
@@ -846,9 +846,9 @@ function we(t, e, n, o) {
|
|
|
846
846
|
ancestorResize: s = !0,
|
|
847
847
|
elementResize: r = typeof ResizeObserver == "function",
|
|
848
848
|
layoutShift: l = typeof IntersectionObserver == "function",
|
|
849
|
-
animationFrame:
|
|
850
|
-
} = o, c =
|
|
851
|
-
|
|
849
|
+
animationFrame: f = !1
|
|
850
|
+
} = o, c = at(t), a = i || s ? [...c ? U(c) : [], ...U(e)] : [];
|
|
851
|
+
a.forEach((h) => {
|
|
852
852
|
i && h.addEventListener("scroll", n, {
|
|
853
853
|
passive: !0
|
|
854
854
|
}), s && h.addEventListener("resize", n);
|
|
@@ -858,24 +858,24 @@ function we(t, e, n, o) {
|
|
|
858
858
|
r && (d = new ResizeObserver((h) => {
|
|
859
859
|
let [x] = h;
|
|
860
860
|
x && x.target === c && d && (d.unobserve(e), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
|
|
861
|
-
var
|
|
862
|
-
(
|
|
861
|
+
var y;
|
|
862
|
+
(y = d) == null || y.observe(e);
|
|
863
863
|
})), n();
|
|
864
|
-
}), c && !
|
|
865
|
-
let p, g =
|
|
866
|
-
|
|
864
|
+
}), c && !f && d.observe(c), d.observe(e));
|
|
865
|
+
let p, g = f ? B(t) : null;
|
|
866
|
+
f && w();
|
|
867
867
|
function w() {
|
|
868
868
|
const h = B(t);
|
|
869
869
|
g && (h.x !== g.x || h.y !== g.y || h.width !== g.width || h.height !== g.height) && n(), g = h, p = requestAnimationFrame(w);
|
|
870
870
|
}
|
|
871
871
|
return n(), () => {
|
|
872
872
|
var h;
|
|
873
|
-
|
|
873
|
+
a.forEach((x) => {
|
|
874
874
|
i && x.removeEventListener("scroll", n), s && x.removeEventListener("resize", n);
|
|
875
|
-
}), u == null || u(), (h = d) == null || h.disconnect(), d = null,
|
|
875
|
+
}), u == null || u(), (h = d) == null || h.disconnect(), d = null, f && cancelAnimationFrame(p);
|
|
876
876
|
};
|
|
877
877
|
}
|
|
878
|
-
const xe = Kt,
|
|
878
|
+
const xe = Kt, ye = Gt, ve = qt, pe = (t, e, n) => {
|
|
879
879
|
const o = /* @__PURE__ */ new Map(), i = {
|
|
880
880
|
platform: me,
|
|
881
881
|
...n
|
|
@@ -888,7 +888,7 @@ const xe = Kt, ve = Gt, ye = qt, pe = (t, e, n) => {
|
|
|
888
888
|
platform: s
|
|
889
889
|
});
|
|
890
890
|
};
|
|
891
|
-
function
|
|
891
|
+
function vt(t) {
|
|
892
892
|
var e;
|
|
893
893
|
return (e = t == null ? void 0 : t.$el) != null ? e : t;
|
|
894
894
|
}
|
|
@@ -902,30 +902,30 @@ function bt(t, e) {
|
|
|
902
902
|
function be(t, e, n) {
|
|
903
903
|
n === void 0 && (n = {});
|
|
904
904
|
const o = n.whileElementsMounted, i = D(() => {
|
|
905
|
-
var
|
|
906
|
-
return (
|
|
905
|
+
var v;
|
|
906
|
+
return (v = Y(n.open)) != null ? v : !0;
|
|
907
907
|
}), s = D(() => Y(n.middleware)), r = D(() => {
|
|
908
|
-
var
|
|
909
|
-
return (
|
|
908
|
+
var v;
|
|
909
|
+
return (v = Y(n.placement)) != null ? v : "bottom";
|
|
910
910
|
}), l = D(() => {
|
|
911
|
-
var
|
|
912
|
-
return (
|
|
913
|
-
}),
|
|
914
|
-
var
|
|
915
|
-
return (
|
|
916
|
-
}), c = D(() =>
|
|
917
|
-
const
|
|
911
|
+
var v;
|
|
912
|
+
return (v = Y(n.strategy)) != null ? v : "absolute";
|
|
913
|
+
}), f = D(() => {
|
|
914
|
+
var v;
|
|
915
|
+
return (v = Y(n.transform)) != null ? v : !0;
|
|
916
|
+
}), c = D(() => vt(t.value)), a = D(() => vt(e.value)), u = q(0), m = q(0), d = q(l.value), p = q(r.value), g = Vt({}), w = q(!1), h = D(() => {
|
|
917
|
+
const v = {
|
|
918
918
|
position: d.value,
|
|
919
919
|
left: "0",
|
|
920
920
|
top: "0"
|
|
921
921
|
};
|
|
922
|
-
if (!
|
|
923
|
-
return
|
|
924
|
-
const S = bt(
|
|
925
|
-
return
|
|
926
|
-
...
|
|
922
|
+
if (!a.value)
|
|
923
|
+
return v;
|
|
924
|
+
const S = bt(a.value, u.value), I = bt(a.value, m.value);
|
|
925
|
+
return f.value ? {
|
|
926
|
+
...v,
|
|
927
927
|
transform: "translate(" + S + "px, " + I + "px)",
|
|
928
|
-
...Ft(
|
|
928
|
+
...Ft(a.value) >= 1.5 && {
|
|
929
929
|
willChange: "transform"
|
|
930
930
|
}
|
|
931
931
|
} : {
|
|
@@ -935,13 +935,13 @@ function be(t, e, n) {
|
|
|
935
935
|
};
|
|
936
936
|
});
|
|
937
937
|
let x;
|
|
938
|
-
function
|
|
939
|
-
c.value == null ||
|
|
938
|
+
function y() {
|
|
939
|
+
c.value == null || a.value == null || pe(c.value, a.value, {
|
|
940
940
|
middleware: s.value,
|
|
941
941
|
placement: r.value,
|
|
942
942
|
strategy: l.value
|
|
943
|
-
}).then((
|
|
944
|
-
u.value =
|
|
943
|
+
}).then((v) => {
|
|
944
|
+
u.value = v.x, m.value = v.y, d.value = v.strategy, p.value = v.placement, g.value = v.middlewareData, w.value = !0;
|
|
945
945
|
});
|
|
946
946
|
}
|
|
947
947
|
function R() {
|
|
@@ -949,20 +949,20 @@ function be(t, e, n) {
|
|
|
949
949
|
}
|
|
950
950
|
function b() {
|
|
951
951
|
if (R(), o === void 0) {
|
|
952
|
-
|
|
952
|
+
y();
|
|
953
953
|
return;
|
|
954
954
|
}
|
|
955
|
-
if (c.value != null &&
|
|
956
|
-
x = o(c.value,
|
|
955
|
+
if (c.value != null && a.value != null) {
|
|
956
|
+
x = o(c.value, a.value, y);
|
|
957
957
|
return;
|
|
958
958
|
}
|
|
959
959
|
}
|
|
960
960
|
function L() {
|
|
961
961
|
i.value || (w.value = !1);
|
|
962
962
|
}
|
|
963
|
-
return rt([s, r, l],
|
|
963
|
+
return rt([s, r, l], y, {
|
|
964
964
|
flush: "sync"
|
|
965
|
-
}), rt([c,
|
|
965
|
+
}), rt([c, a], b, {
|
|
966
966
|
flush: "sync"
|
|
967
967
|
}), rt(i, L, {
|
|
968
968
|
flush: "sync"
|
|
@@ -974,13 +974,13 @@ function be(t, e, n) {
|
|
|
974
974
|
middlewareData: _(g),
|
|
975
975
|
isPositioned: _(w),
|
|
976
976
|
floatingStyles: h,
|
|
977
|
-
update:
|
|
977
|
+
update: y
|
|
978
978
|
};
|
|
979
979
|
}
|
|
980
980
|
export {
|
|
981
981
|
we as a,
|
|
982
|
-
|
|
982
|
+
ve as f,
|
|
983
983
|
xe as o,
|
|
984
|
-
|
|
984
|
+
ye as s,
|
|
985
985
|
be as u
|
|
986
986
|
};
|