@knime/jsonforms 1.21.2 → 1.21.3
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 +6 -0
- package/dist/{AnyOfTwinlist-BaKgX8A7.js → AnyOfTwinlist-By12blUM.js} +1 -1
- package/dist/{CheckboxControl-5w7zlrdd.js → CheckboxControl--qMC4yqR.js} +1 -1
- package/dist/{CheckboxesControl-0al-vEKC.js → CheckboxesControl-BsOG-QR8.js} +2 -2
- package/dist/{ColorControl-Dzp0Qztx.js → ColorControl-BX93RNbV.js} +1 -1
- package/dist/{ColorPreviewControl-DD9oq2kB.js → ColorPreviewControl-CFVeFXBp.js} +1 -1
- package/dist/ComboBoxControl-M5HOJcy2.js +37 -0
- package/dist/{DateControl-BqYwfkTb.js → DateControl-PYVPxPvC.js} +1 -1
- package/dist/{DateTimeControl-CNkPjqie.js → DateTimeControl-_8d8iizh.js} +1 -1
- package/dist/{DateTimeFormatPickerControl-BawKiO92.js → DateTimeFormatPickerControl-xRNNTLIl.js} +1 -1
- package/dist/{DateTimeFormatPickerWithTypeControl-BZhGNGGy.js → DateTimeFormatPickerWithTypeControl-CZZBe3PC.js} +4 -4
- package/dist/{DropdownControl-C5dZUtMO.js → DropdownControl-sGxFWX33.js} +2 -2
- package/dist/{ExecutorCoresControl-D_f2Ii7P.js → ExecutorCoresControl-6DB4hS8_.js} +2 -2
- package/dist/{ExecutorMemoryControl-Bi5ddlwR.js → ExecutorMemoryControl-xKHl7IXW.js} +2 -2
- package/dist/{FileUploadControl-Bpc7-Tjx.js → FileUploadControl-Bjgh9vSl.js} +2 -2
- package/dist/{GridSelectionControl-DS8kT_Nx.js → GridSelectionControl-DslOwaNV.js} +1 -1
- package/dist/{HorizontalLayout-CIcEcUaB.js → HorizontalLayout-Dl9cC50s.js} +1 -1
- package/dist/{IntegerControl-CNd2Zml6.js → IntegerControl-DSzPJs4Z.js} +1 -1
- package/dist/{IntervalControl-BPiRezHq.js → IntervalControl-DoWDLPMP.js} +4 -4
- package/dist/{LinkControl-Bp2h1jSd.js → LinkControl-BuYI03b_.js} +1 -1
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-BRmvlIKr.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-DZ90-rk8.js} +1 -1
- package/dist/{ManualTwinlistControl-Dtx1Qiz7.js → ManualTwinlistControl-mN3zJTMK.js} +3 -3
- package/dist/{MultiSelectListBoxControl-DXLGhCNi.js → MultiSelectListBoxControl-CnSublPM.js} +3 -3
- package/dist/{MultimodeTwinlistControl-CKRsC015.js → MultimodeTwinlistControl-CyZQ54SO.js} +1 -1
- package/dist/{MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-CV2htSnA.js → MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-C9JUTbz1.js} +3 -3
- package/dist/{NameFilter-BGJOxdjr.js → NameFilter-C1u8qsYQ.js} +1 -1
- package/dist/{NumberControl-B05C6ECd.js → NumberControl-qiTgXs6x.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-B64ImWmo.js → NumberControlBase.vue_vue_type_script_setup_true_lang-Bs-H6e08.js} +2 -2
- package/dist/{OneOfDropdown-DFr8wkfK.js → OneOfDropdown-Dn6QM81-.js} +1 -1
- package/dist/{RadioButtonsWithDescriptionControl-FxnrFURa.js → RadioButtonsWithDescriptionControl-1X9F9obn.js} +6 -6
- package/dist/{RadioControl-B3Wse8Ra.js → RadioControl-BdHtNPFC.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-B6fvhFpH.js → RadioControlBase.vue_vue_type_script_setup_true_lang-Cp22r9KZ.js} +2 -2
- package/dist/{ResourceControlBase-CS-UW4Kt.js → ResourceControlBase-CDpi3J6s.js} +2 -2
- package/dist/{RichTextControl-BYuWpXlC.js → RichTextControl-5o904Fvx.js} +2185 -2186
- package/dist/{SectionHeading-DH9g1jBv.js → SectionHeading-CrGc61FB.js} +1 -1
- package/dist/{SectionLayout-DrSBiXd-.js → SectionLayout-B9X7fzQ9.js} +3 -3
- package/dist/{SettingsSubPanel-CZu70rLw.js → SettingsSubPanel-WzFrc-mQ.js} +1 -1
- package/dist/{SettingsSubPanelLayout-CR7zIFEo.js → SettingsSubPanelLayout-D8j0-HKD.js} +4 -4
- package/dist/{SimpleButtonControl-B2fHLn6i.js → SimpleButtonControl-BS6opqJW.js} +1 -1
- package/dist/{SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-CwE6CdU-.js → SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BuKsDBUW.js} +78 -77
- package/dist/{SimpleTwinlistControl-BeebhKhJ.js → SimpleTwinlistControl-RlnzOp0j.js} +2 -2
- package/dist/{SingleSelectControl-W6KYjtSP.js → SingleSelectControl-DPPwJUq3.js} +2 -2
- package/dist/{SingleSelectListBoxControl-Cp_vbfKc.js → SingleSelectListBoxControl-EMc8u2ik.js} +3 -3
- package/dist/{SortListControl-b3lDXyoN.js → SortListControl-Bw3K37ru.js} +1 -1
- package/dist/{StyledListItem-B97G9CDY.js → StyledListItem-Bli2itH-.js} +1 -1
- package/dist/{TeamAndSpacesControl-BaOQSDum.js → TeamAndSpacesControl-BlvUuAAA.js} +1 -1
- package/dist/{TeamResourceControl-DdB1fE3C.js → TeamResourceControl-DuLmQ7gc.js} +2 -2
- package/dist/{TextAreaControl-CVRPcJt8.js → TextAreaControl-DtfB44mR.js} +1 -1
- package/dist/{TextControl-BqJncTor.js → TextControl-BlUQLMGo.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-C-5QWuaO.js → TextControl.vue_vue_type_script_setup_true_lang-CBke-957.js} +2 -2
- package/dist/{TimeControl-DvCOb5wo.js → TimeControl-DWzlpLX-.js} +1 -1
- package/dist/{TimePartInput-DGfV6WeZ.js → TimePartInput-CRP2YYM0.js} +1 -1
- package/dist/{TimeframesControl-7oW8Nb-d.js → TimeframesControl-O_hzJcX5.js} +2 -2
- package/dist/{Tooltip-ZO6iIct2.js → Tooltip-C9vAa0Wb.js} +1 -1
- package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-Ck66siqL.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-DtphbKhB.js} +2 -2
- package/dist/{TypedStringFilter-cQS5GH50.js → TypedStringFilter-ByeMPxR6.js} +1 -1
- package/dist/{ValueSwitch-BXc_PE8P.js → ValueSwitch-BV9qUd5x.js} +1 -1
- package/dist/{ValueSwitchControl-CZStDbmJ.js → ValueSwitchControl-nW7WtSSM.js} +1 -1
- package/dist/{VerticalLayout-BsGmnjxN.js → VerticalLayout-C7_-yu_D.js} +2 -2
- package/dist/{VerticalLayoutBase-CEM6gzmm.js → VerticalLayoutBase-eODyPAoq.js} +1 -1
- package/dist/{ZonedDateTimeControl-BrhYGJwr.js → ZonedDateTimeControl-DlrvZKe4.js} +2 -2
- package/dist/{_Uint8Array-DDNG27um.js → _Uint8Array-BESS0YjU.js} +1 -1
- package/dist/{_baseIteratee-CpLcQZ3B.js → _baseIteratee-BLvJX4uT.js} +3 -3
- package/dist/floating-ui.vue-Fx4CxKut.js +1057 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +7 -7
- package/dist/{localTimeUtils-DA3ktTUE.js → localTimeUtils-Bl9xa5Jk.js} +26 -27
- package/dist/{popper-70nckCW_.js → popper-iehk3xNV.js} +225 -211
- package/dist/src/uiComponents/ComboBoxControl.vue.d.ts +2 -2
- package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +3 -1
- package/dist/testing.js +2589 -2602
- package/dist/{toString-N4qKgUAY.js → toString-DXFebvWA.js} +1 -1
- package/dist/{useBuiltinValidations-C3nXdk7R.js → useBuiltinValidations-ChnQzGRe.js} +1 -1
- package/dist/useDropdownNavigation-2Yhk7zes.js +821 -0
- package/dist/{usePossibleValues-CdZtv_zD.js → usePossibleValues-B8es3DCW.js} +1 -1
- package/dist/{useUnknownValuesInTwinlist-BANpCttu.js → useUnknownValuesInTwinlist-qv0kKHaD.js} +1 -1
- package/package.json +3 -3
- package/dist/Checkbox-BnKpZFTE.js +0 -75
- package/dist/ComboBoxControl-BOoPDajP.js +0 -615
- package/dist/close-CwP2mh9x.js +0 -17
- package/dist/floating-ui.vue-Bk6u3tWN.js +0 -1060
- package/dist/useDropdownNavigation-EOwf_fL0.js +0 -946
|
@@ -1,9 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { openBlock as ue, createElementBlock as le, createElementVNode as ve } from "vue";
|
|
2
|
+
const de = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
stroke: "#000",
|
|
6
|
+
"stroke-linejoin": "round",
|
|
7
|
+
viewBox: "0 0 32 32"
|
|
8
|
+
};
|
|
9
|
+
function he(t, e) {
|
|
10
|
+
return ue(), le("svg", de, [...e[0] || (e[0] = [
|
|
11
|
+
ve("path", { d: "M5 27 27 5M5 5l22 22" }, null, -1)
|
|
12
|
+
])]);
|
|
13
|
+
}
|
|
14
|
+
const Er = { render: he }, me = () => navigator?.userAgent?.toLowerCase()?.includes("mac"), ge = (t) => t.ctrlKey || t.metaKey || t.altKey || t.shiftKey, Pr = (t, e) => (Array.isArray(e) ? e : [e]).includes(t.key) && !ge(t), Dr = () => me() ? "metaKey" : "ctrlKey";
|
|
15
|
+
var C = "top", L = "bottom", T = "right", R = "left", Pt = "auto", ft = [C, L, T, R], Q = "start", it = "end", ye = "clippingParents", Jt = "viewport", nt = "popper", be = "reference", Ft = /* @__PURE__ */ ft.reduce(function(t, e) {
|
|
16
|
+
return t.concat([e + "-" + Q, e + "-" + it]);
|
|
4
17
|
}, []), Qt = /* @__PURE__ */ [].concat(ft, [Pt]).reduce(function(t, e) {
|
|
5
|
-
return t.concat([e, e + "-" + Q, e + "-" +
|
|
6
|
-
}, []),
|
|
18
|
+
return t.concat([e, e + "-" + Q, e + "-" + it]);
|
|
19
|
+
}, []), we = "beforeRead", xe = "read", Oe = "afterRead", Ae = "beforeMain", Ee = "main", Pe = "afterMain", De = "beforeWrite", je = "write", Be = "afterWrite", Ce = [we, xe, Oe, Ae, Ee, Pe, De, je, Be];
|
|
7
20
|
function V(t) {
|
|
8
21
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
9
22
|
}
|
|
@@ -20,7 +33,7 @@ function G(t) {
|
|
|
20
33
|
var e = k(t).Element;
|
|
21
34
|
return t instanceof e || t instanceof Element;
|
|
22
35
|
}
|
|
23
|
-
function
|
|
36
|
+
function M(t) {
|
|
24
37
|
var e = k(t).HTMLElement;
|
|
25
38
|
return t instanceof e || t instanceof HTMLElement;
|
|
26
39
|
}
|
|
@@ -30,17 +43,17 @@ function Dt(t) {
|
|
|
30
43
|
var e = k(t).ShadowRoot;
|
|
31
44
|
return t instanceof e || t instanceof ShadowRoot;
|
|
32
45
|
}
|
|
33
|
-
function
|
|
46
|
+
function Re(t) {
|
|
34
47
|
var e = t.state;
|
|
35
48
|
Object.keys(e.elements).forEach(function(r) {
|
|
36
|
-
var n = e.styles[r] || {}, a = e.attributes[r] || {},
|
|
37
|
-
!
|
|
49
|
+
var n = e.styles[r] || {}, a = e.attributes[r] || {}, o = e.elements[r];
|
|
50
|
+
!M(o) || !V(o) || (Object.assign(o.style, n), Object.keys(a).forEach(function(c) {
|
|
38
51
|
var s = a[c];
|
|
39
|
-
s === !1 ?
|
|
52
|
+
s === !1 ? o.removeAttribute(c) : o.setAttribute(c, s === !0 ? "" : s);
|
|
40
53
|
}));
|
|
41
54
|
});
|
|
42
55
|
}
|
|
43
|
-
function
|
|
56
|
+
function $e(t) {
|
|
44
57
|
var e = t.state, r = {
|
|
45
58
|
popper: {
|
|
46
59
|
position: e.options.strategy,
|
|
@@ -55,21 +68,21 @@ function De(t) {
|
|
|
55
68
|
};
|
|
56
69
|
return Object.assign(e.elements.popper.style, r.popper), e.styles = r, e.elements.arrow && Object.assign(e.elements.arrow.style, r.arrow), function() {
|
|
57
70
|
Object.keys(e.elements).forEach(function(n) {
|
|
58
|
-
var a = e.elements[n],
|
|
59
|
-
return
|
|
71
|
+
var a = e.elements[n], o = e.attributes[n] || {}, c = Object.keys(e.styles.hasOwnProperty(n) ? e.styles[n] : r[n]), s = c.reduce(function(i, p) {
|
|
72
|
+
return i[p] = "", i;
|
|
60
73
|
}, {});
|
|
61
|
-
!
|
|
62
|
-
a.removeAttribute(
|
|
74
|
+
!M(a) || !V(a) || (Object.assign(a.style, s), Object.keys(o).forEach(function(i) {
|
|
75
|
+
a.removeAttribute(i);
|
|
63
76
|
}));
|
|
64
77
|
});
|
|
65
78
|
};
|
|
66
79
|
}
|
|
67
|
-
const
|
|
80
|
+
const ke = {
|
|
68
81
|
name: "applyStyles",
|
|
69
82
|
enabled: !0,
|
|
70
83
|
phase: "write",
|
|
71
|
-
fn:
|
|
72
|
-
effect:
|
|
84
|
+
fn: Re,
|
|
85
|
+
effect: $e,
|
|
73
86
|
requires: ["computeStyles"]
|
|
74
87
|
};
|
|
75
88
|
function H(t) {
|
|
@@ -87,9 +100,9 @@ function Zt() {
|
|
|
87
100
|
}
|
|
88
101
|
function _(t, e, r) {
|
|
89
102
|
e === void 0 && (e = !1), r === void 0 && (r = !1);
|
|
90
|
-
var n = t.getBoundingClientRect(), a = 1,
|
|
91
|
-
e &&
|
|
92
|
-
var c = G(t) ? k(t) : window, s = c.visualViewport,
|
|
103
|
+
var n = t.getBoundingClientRect(), a = 1, o = 1;
|
|
104
|
+
e && M(t) && (a = t.offsetWidth > 0 && Z(n.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && Z(n.height) / t.offsetHeight || 1);
|
|
105
|
+
var c = G(t) ? k(t) : window, s = c.visualViewport, i = !Zt() && r, p = (n.left + (i && s ? s.offsetLeft : 0)) / a, f = (n.top + (i && s ? s.offsetTop : 0)) / o, h = n.width / a, y = n.height / o;
|
|
93
106
|
return {
|
|
94
107
|
width: h,
|
|
95
108
|
height: y,
|
|
@@ -127,7 +140,7 @@ function _t(t, e) {
|
|
|
127
140
|
function N(t) {
|
|
128
141
|
return k(t).getComputedStyle(t);
|
|
129
142
|
}
|
|
130
|
-
function
|
|
143
|
+
function Me(t) {
|
|
131
144
|
return ["table", "td", "th"].indexOf(V(t)) >= 0;
|
|
132
145
|
}
|
|
133
146
|
function q(t) {
|
|
@@ -149,37 +162,37 @@ function yt(t) {
|
|
|
149
162
|
);
|
|
150
163
|
}
|
|
151
164
|
function qt(t) {
|
|
152
|
-
return !
|
|
165
|
+
return !M(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
153
166
|
N(t).position === "fixed" ? null : t.offsetParent;
|
|
154
167
|
}
|
|
155
|
-
function
|
|
168
|
+
function Le(t) {
|
|
156
169
|
var e = /firefox/i.test(At()), r = /Trident/i.test(At());
|
|
157
|
-
if (r &&
|
|
170
|
+
if (r && M(t)) {
|
|
158
171
|
var n = N(t);
|
|
159
172
|
if (n.position === "fixed")
|
|
160
173
|
return null;
|
|
161
174
|
}
|
|
162
175
|
var a = yt(t);
|
|
163
|
-
for (Dt(a) && (a = a.host);
|
|
164
|
-
var
|
|
165
|
-
if (
|
|
176
|
+
for (Dt(a) && (a = a.host); M(a) && ["html", "body"].indexOf(V(a)) < 0; ) {
|
|
177
|
+
var o = N(a);
|
|
178
|
+
if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || e && o.willChange === "filter" || e && o.filter && o.filter !== "none")
|
|
166
179
|
return a;
|
|
167
180
|
a = a.parentNode;
|
|
168
181
|
}
|
|
169
182
|
return null;
|
|
170
183
|
}
|
|
171
184
|
function ct(t) {
|
|
172
|
-
for (var e = k(t), r = qt(t); r &&
|
|
185
|
+
for (var e = k(t), r = qt(t); r && Me(r) && N(r).position === "static"; )
|
|
173
186
|
r = qt(r);
|
|
174
|
-
return r && (V(r) === "html" || V(r) === "body" && N(r).position === "static") ? e : r ||
|
|
187
|
+
return r && (V(r) === "html" || V(r) === "body" && N(r).position === "static") ? e : r || Le(t) || e;
|
|
175
188
|
}
|
|
176
|
-
function
|
|
189
|
+
function Bt(t) {
|
|
177
190
|
return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
|
|
178
191
|
}
|
|
179
192
|
function at(t, e, r) {
|
|
180
193
|
return U(t, gt(e, r));
|
|
181
194
|
}
|
|
182
|
-
function
|
|
195
|
+
function Te(t, e, r) {
|
|
183
196
|
var n = at(t, e, r);
|
|
184
197
|
return n > r ? r : n;
|
|
185
198
|
}
|
|
@@ -199,49 +212,49 @@ function re(t, e) {
|
|
|
199
212
|
return r[n] = t, r;
|
|
200
213
|
}, {});
|
|
201
214
|
}
|
|
202
|
-
var
|
|
215
|
+
var Se = function(e, r) {
|
|
203
216
|
return e = typeof e == "function" ? e(Object.assign({}, r.rects, {
|
|
204
217
|
placement: r.placement
|
|
205
218
|
})) : e, ee(typeof e != "number" ? e : re(e, ft));
|
|
206
219
|
};
|
|
207
|
-
function
|
|
208
|
-
var e, r = t.state, n = t.name, a = t.options,
|
|
209
|
-
if (!(!
|
|
210
|
-
var h =
|
|
220
|
+
function We(t) {
|
|
221
|
+
var e, r = t.state, n = t.name, a = t.options, o = r.elements.arrow, c = r.modifiersData.popperOffsets, s = H(r.placement), i = Bt(s), p = [R, T].indexOf(s) >= 0, f = p ? "height" : "width";
|
|
222
|
+
if (!(!o || !c)) {
|
|
223
|
+
var h = Se(a.padding, r), y = jt(o), u = i === "y" ? C : R, w = i === "y" ? L : T, d = r.rects.reference[f] + r.rects.reference[i] - c[i] - r.rects.popper[f], v = c[i] - r.rects.reference[i], b = ct(o), O = b ? i === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0, A = d / 2 - v / 2, l = h[u], m = O - y[f] - h[w], g = O / 2 - y[f] / 2 + A, x = at(l, g, m), D = i;
|
|
211
224
|
r.modifiersData[n] = (e = {}, e[D] = x, e.centerOffset = x - g, e);
|
|
212
225
|
}
|
|
213
226
|
}
|
|
214
|
-
function
|
|
227
|
+
function He(t) {
|
|
215
228
|
var e = t.state, r = t.options, n = r.element, a = n === void 0 ? "[data-popper-arrow]" : n;
|
|
216
229
|
a != null && (typeof a == "string" && (a = e.elements.popper.querySelector(a), !a) || _t(e.elements.popper, a) && (e.elements.arrow = a));
|
|
217
230
|
}
|
|
218
|
-
const
|
|
231
|
+
const Ve = {
|
|
219
232
|
name: "arrow",
|
|
220
233
|
enabled: !0,
|
|
221
234
|
phase: "main",
|
|
222
|
-
fn:
|
|
223
|
-
effect:
|
|
235
|
+
fn: We,
|
|
236
|
+
effect: He,
|
|
224
237
|
requires: ["popperOffsets"],
|
|
225
238
|
requiresIfExists: ["preventOverflow"]
|
|
226
239
|
};
|
|
227
240
|
function tt(t) {
|
|
228
241
|
return t.split("-")[1];
|
|
229
242
|
}
|
|
230
|
-
var
|
|
243
|
+
var Ne = {
|
|
231
244
|
top: "auto",
|
|
232
245
|
right: "auto",
|
|
233
246
|
bottom: "auto",
|
|
234
247
|
left: "auto"
|
|
235
248
|
};
|
|
236
|
-
function
|
|
249
|
+
function Fe(t, e) {
|
|
237
250
|
var r = t.x, n = t.y, a = e.devicePixelRatio || 1;
|
|
238
251
|
return {
|
|
239
252
|
x: Z(r * a) / a || 0,
|
|
240
253
|
y: Z(n * a) / a || 0
|
|
241
254
|
};
|
|
242
255
|
}
|
|
243
|
-
function
|
|
244
|
-
var e, r = t.popper, n = t.popperRect, a = t.placement,
|
|
256
|
+
function It(t) {
|
|
257
|
+
var e, r = t.popper, n = t.popperRect, a = t.placement, o = t.variation, c = t.offsets, s = t.position, i = t.gpuAcceleration, p = t.adaptive, f = t.roundOffsets, h = t.isFixed, y = c.x, u = y === void 0 ? 0 : y, w = c.y, d = w === void 0 ? 0 : w, v = typeof f == "function" ? f({
|
|
245
258
|
x: u,
|
|
246
259
|
y: d
|
|
247
260
|
}) : {
|
|
@@ -249,43 +262,43 @@ function Xt(t) {
|
|
|
249
262
|
y: d
|
|
250
263
|
};
|
|
251
264
|
u = v.x, d = v.y;
|
|
252
|
-
var b = c.hasOwnProperty("x"), O = c.hasOwnProperty("y"), A =
|
|
265
|
+
var b = c.hasOwnProperty("x"), O = c.hasOwnProperty("y"), A = R, l = C, m = window;
|
|
253
266
|
if (p) {
|
|
254
267
|
var g = ct(r), x = "clientHeight", D = "clientWidth";
|
|
255
|
-
if (g === k(r) && (g = q(r), N(g).position !== "static" && s === "absolute" && (x = "scrollHeight", D = "scrollWidth")), g = g, a === C || (a ===
|
|
256
|
-
l =
|
|
268
|
+
if (g === k(r) && (g = q(r), N(g).position !== "static" && s === "absolute" && (x = "scrollHeight", D = "scrollWidth")), g = g, a === C || (a === R || a === T) && o === it) {
|
|
269
|
+
l = L;
|
|
257
270
|
var P = h && g === m && m.visualViewport ? m.visualViewport.height : (
|
|
258
271
|
// $FlowFixMe[prop-missing]
|
|
259
272
|
g[x]
|
|
260
273
|
);
|
|
261
|
-
d -= P - n.height, d *=
|
|
274
|
+
d -= P - n.height, d *= i ? 1 : -1;
|
|
262
275
|
}
|
|
263
|
-
if (a ===
|
|
276
|
+
if (a === R || (a === C || a === L) && o === it) {
|
|
264
277
|
A = T;
|
|
265
278
|
var E = h && g === m && m.visualViewport ? m.visualViewport.width : (
|
|
266
279
|
// $FlowFixMe[prop-missing]
|
|
267
280
|
g[D]
|
|
268
281
|
);
|
|
269
|
-
u -= E - n.width, u *=
|
|
282
|
+
u -= E - n.width, u *= i ? 1 : -1;
|
|
270
283
|
}
|
|
271
284
|
}
|
|
272
285
|
var j = Object.assign({
|
|
273
286
|
position: s
|
|
274
|
-
}, p &&
|
|
287
|
+
}, p && Ne), S = f === !0 ? Fe({
|
|
275
288
|
x: u,
|
|
276
289
|
y: d
|
|
277
290
|
}, k(r)) : {
|
|
278
291
|
x: u,
|
|
279
292
|
y: d
|
|
280
293
|
};
|
|
281
|
-
if (u = S.x, d = S.y,
|
|
282
|
-
var
|
|
283
|
-
return Object.assign({}, j, (
|
|
294
|
+
if (u = S.x, d = S.y, i) {
|
|
295
|
+
var B;
|
|
296
|
+
return Object.assign({}, j, (B = {}, B[l] = O ? "0" : "", B[A] = b ? "0" : "", B.transform = (m.devicePixelRatio || 1) <= 1 ? "translate(" + u + "px, " + d + "px)" : "translate3d(" + u + "px, " + d + "px, 0)", B));
|
|
284
297
|
}
|
|
285
298
|
return Object.assign({}, j, (e = {}, e[l] = O ? d + "px" : "", e[A] = b ? u + "px" : "", e.transform = "", e));
|
|
286
299
|
}
|
|
287
|
-
function
|
|
288
|
-
var e = t.state, r = t.options, n = r.gpuAcceleration, a = n === void 0 ? !0 : n,
|
|
300
|
+
function qe(t) {
|
|
301
|
+
var e = t.state, r = t.options, n = r.gpuAcceleration, a = n === void 0 ? !0 : n, o = r.adaptive, c = o === void 0 ? !0 : o, s = r.roundOffsets, i = s === void 0 ? !0 : s, p = {
|
|
289
302
|
placement: H(e.placement),
|
|
290
303
|
variation: tt(e.placement),
|
|
291
304
|
popper: e.elements.popper,
|
|
@@ -293,50 +306,50 @@ function We(t) {
|
|
|
293
306
|
gpuAcceleration: a,
|
|
294
307
|
isFixed: e.options.strategy === "fixed"
|
|
295
308
|
};
|
|
296
|
-
e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper,
|
|
309
|
+
e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, It(Object.assign({}, p, {
|
|
297
310
|
offsets: e.modifiersData.popperOffsets,
|
|
298
311
|
position: e.options.strategy,
|
|
299
312
|
adaptive: c,
|
|
300
|
-
roundOffsets:
|
|
301
|
-
})))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow,
|
|
313
|
+
roundOffsets: i
|
|
314
|
+
})))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, It(Object.assign({}, p, {
|
|
302
315
|
offsets: e.modifiersData.arrow,
|
|
303
316
|
position: "absolute",
|
|
304
317
|
adaptive: !1,
|
|
305
|
-
roundOffsets:
|
|
318
|
+
roundOffsets: i
|
|
306
319
|
})))), e.attributes.popper = Object.assign({}, e.attributes.popper, {
|
|
307
320
|
"data-popper-placement": e.placement
|
|
308
321
|
});
|
|
309
322
|
}
|
|
310
|
-
const
|
|
323
|
+
const Ie = {
|
|
311
324
|
name: "computeStyles",
|
|
312
325
|
enabled: !0,
|
|
313
326
|
phase: "beforeWrite",
|
|
314
|
-
fn:
|
|
327
|
+
fn: qe,
|
|
315
328
|
data: {}
|
|
316
329
|
};
|
|
317
330
|
var ht = {
|
|
318
331
|
passive: !0
|
|
319
332
|
};
|
|
320
|
-
function
|
|
321
|
-
var e = t.state, r = t.instance, n = t.options, a = n.scroll,
|
|
322
|
-
return
|
|
333
|
+
function Xe(t) {
|
|
334
|
+
var e = t.state, r = t.instance, n = t.options, a = n.scroll, o = a === void 0 ? !0 : a, c = n.resize, s = c === void 0 ? !0 : c, i = k(e.elements.popper), p = [].concat(e.scrollParents.reference, e.scrollParents.popper);
|
|
335
|
+
return o && p.forEach(function(f) {
|
|
323
336
|
f.addEventListener("scroll", r.update, ht);
|
|
324
|
-
}), s &&
|
|
325
|
-
|
|
337
|
+
}), s && i.addEventListener("resize", r.update, ht), function() {
|
|
338
|
+
o && p.forEach(function(f) {
|
|
326
339
|
f.removeEventListener("scroll", r.update, ht);
|
|
327
|
-
}), s &&
|
|
340
|
+
}), s && i.removeEventListener("resize", r.update, ht);
|
|
328
341
|
};
|
|
329
342
|
}
|
|
330
|
-
const
|
|
343
|
+
const Ke = {
|
|
331
344
|
name: "eventListeners",
|
|
332
345
|
enabled: !0,
|
|
333
346
|
phase: "write",
|
|
334
347
|
fn: function() {
|
|
335
348
|
},
|
|
336
|
-
effect:
|
|
349
|
+
effect: Xe,
|
|
337
350
|
data: {}
|
|
338
351
|
};
|
|
339
|
-
var
|
|
352
|
+
var Ye = {
|
|
340
353
|
left: "right",
|
|
341
354
|
right: "left",
|
|
342
355
|
bottom: "top",
|
|
@@ -344,16 +357,16 @@ var Fe = {
|
|
|
344
357
|
};
|
|
345
358
|
function mt(t) {
|
|
346
359
|
return t.replace(/left|right|bottom|top/g, function(e) {
|
|
347
|
-
return
|
|
360
|
+
return Ye[e];
|
|
348
361
|
});
|
|
349
362
|
}
|
|
350
|
-
var
|
|
363
|
+
var ze = {
|
|
351
364
|
start: "end",
|
|
352
365
|
end: "start"
|
|
353
366
|
};
|
|
354
|
-
function
|
|
367
|
+
function Xt(t) {
|
|
355
368
|
return t.replace(/start|end/g, function(e) {
|
|
356
|
-
return
|
|
369
|
+
return ze[e];
|
|
357
370
|
});
|
|
358
371
|
}
|
|
359
372
|
function Ct(t) {
|
|
@@ -363,30 +376,30 @@ function Ct(t) {
|
|
|
363
376
|
scrollTop: n
|
|
364
377
|
};
|
|
365
378
|
}
|
|
366
|
-
function
|
|
379
|
+
function Rt(t) {
|
|
367
380
|
return _(q(t)).left + Ct(t).scrollLeft;
|
|
368
381
|
}
|
|
369
|
-
function
|
|
370
|
-
var r = k(t), n = q(t), a = r.visualViewport,
|
|
382
|
+
function Ue(t, e) {
|
|
383
|
+
var r = k(t), n = q(t), a = r.visualViewport, o = n.clientWidth, c = n.clientHeight, s = 0, i = 0;
|
|
371
384
|
if (a) {
|
|
372
|
-
|
|
385
|
+
o = a.width, c = a.height;
|
|
373
386
|
var p = Zt();
|
|
374
|
-
(p || !p && e === "fixed") && (s = a.offsetLeft,
|
|
387
|
+
(p || !p && e === "fixed") && (s = a.offsetLeft, i = a.offsetTop);
|
|
375
388
|
}
|
|
376
389
|
return {
|
|
377
|
-
width:
|
|
390
|
+
width: o,
|
|
378
391
|
height: c,
|
|
379
|
-
x: s +
|
|
380
|
-
y:
|
|
392
|
+
x: s + Rt(t),
|
|
393
|
+
y: i
|
|
381
394
|
};
|
|
382
395
|
}
|
|
383
|
-
function
|
|
384
|
-
var e, r = q(t), n = Ct(t), a = (e = t.ownerDocument) == null ? void 0 : e.body,
|
|
385
|
-
return N(a || r).direction === "rtl" && (s += U(r.clientWidth, a ? a.clientWidth : 0) -
|
|
386
|
-
width:
|
|
396
|
+
function Ge(t) {
|
|
397
|
+
var e, r = q(t), n = Ct(t), a = (e = t.ownerDocument) == null ? void 0 : e.body, o = U(r.scrollWidth, r.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), c = U(r.scrollHeight, r.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), s = -n.scrollLeft + Rt(t), i = -n.scrollTop;
|
|
398
|
+
return N(a || r).direction === "rtl" && (s += U(r.clientWidth, a ? a.clientWidth : 0) - o), {
|
|
399
|
+
width: o,
|
|
387
400
|
height: c,
|
|
388
401
|
x: s,
|
|
389
|
-
y:
|
|
402
|
+
y: i
|
|
390
403
|
};
|
|
391
404
|
}
|
|
392
405
|
function $t(t) {
|
|
@@ -394,15 +407,15 @@ function $t(t) {
|
|
|
394
407
|
return /auto|scroll|overlay|hidden/.test(r + a + n);
|
|
395
408
|
}
|
|
396
409
|
function ne(t) {
|
|
397
|
-
return ["html", "body", "#document"].indexOf(V(t)) >= 0 ? t.ownerDocument.body :
|
|
410
|
+
return ["html", "body", "#document"].indexOf(V(t)) >= 0 ? t.ownerDocument.body : M(t) && $t(t) ? t : ne(yt(t));
|
|
398
411
|
}
|
|
399
|
-
function
|
|
412
|
+
function ot(t, e) {
|
|
400
413
|
var r;
|
|
401
414
|
e === void 0 && (e = []);
|
|
402
|
-
var n = ne(t), a = n === ((r = t.ownerDocument) == null ? void 0 : r.body),
|
|
415
|
+
var n = ne(t), a = n === ((r = t.ownerDocument) == null ? void 0 : r.body), o = k(n), c = a ? [o].concat(o.visualViewport || [], $t(n) ? n : []) : n, s = e.concat(c);
|
|
403
416
|
return a ? s : (
|
|
404
417
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
405
|
-
s.concat(
|
|
418
|
+
s.concat(ot(yt(c)))
|
|
406
419
|
);
|
|
407
420
|
}
|
|
408
421
|
function Et(t) {
|
|
@@ -413,76 +426,76 @@ function Et(t) {
|
|
|
413
426
|
bottom: t.y + t.height
|
|
414
427
|
});
|
|
415
428
|
}
|
|
416
|
-
function
|
|
429
|
+
function Je(t, e) {
|
|
417
430
|
var r = _(t, !1, e === "fixed");
|
|
418
431
|
return r.top = r.top + t.clientTop, r.left = r.left + t.clientLeft, r.bottom = r.top + t.clientHeight, r.right = r.left + t.clientWidth, r.width = t.clientWidth, r.height = t.clientHeight, r.x = r.left, r.y = r.top, r;
|
|
419
432
|
}
|
|
420
433
|
function Kt(t, e, r) {
|
|
421
|
-
return e === Jt ? Et(
|
|
434
|
+
return e === Jt ? Et(Ue(t, r)) : G(e) ? Je(e, r) : Et(Ge(q(t)));
|
|
422
435
|
}
|
|
423
|
-
function
|
|
424
|
-
var e =
|
|
436
|
+
function Qe(t) {
|
|
437
|
+
var e = ot(yt(t)), r = ["absolute", "fixed"].indexOf(N(t).position) >= 0, n = r && M(t) ? ct(t) : t;
|
|
425
438
|
return G(n) ? e.filter(function(a) {
|
|
426
439
|
return G(a) && _t(a, n) && V(a) !== "body";
|
|
427
440
|
}) : [];
|
|
428
441
|
}
|
|
429
|
-
function
|
|
430
|
-
var a = e === "clippingParents" ?
|
|
442
|
+
function Ze(t, e, r, n) {
|
|
443
|
+
var a = e === "clippingParents" ? Qe(t) : [].concat(e), o = [].concat(a, [r]), c = o[0], s = o.reduce(function(i, p) {
|
|
431
444
|
var f = Kt(t, p, n);
|
|
432
|
-
return
|
|
445
|
+
return i.top = U(f.top, i.top), i.right = gt(f.right, i.right), i.bottom = gt(f.bottom, i.bottom), i.left = U(f.left, i.left), i;
|
|
433
446
|
}, Kt(t, c, n));
|
|
434
447
|
return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
|
|
435
448
|
}
|
|
436
449
|
function ae(t) {
|
|
437
|
-
var e = t.reference, r = t.element, n = t.placement, a = n ? H(n) : null,
|
|
450
|
+
var e = t.reference, r = t.element, n = t.placement, a = n ? H(n) : null, o = n ? tt(n) : null, c = e.x + e.width / 2 - r.width / 2, s = e.y + e.height / 2 - r.height / 2, i;
|
|
438
451
|
switch (a) {
|
|
439
452
|
case C:
|
|
440
|
-
|
|
453
|
+
i = {
|
|
441
454
|
x: c,
|
|
442
455
|
y: e.y - r.height
|
|
443
456
|
};
|
|
444
457
|
break;
|
|
445
|
-
case
|
|
446
|
-
|
|
458
|
+
case L:
|
|
459
|
+
i = {
|
|
447
460
|
x: c,
|
|
448
461
|
y: e.y + e.height
|
|
449
462
|
};
|
|
450
463
|
break;
|
|
451
464
|
case T:
|
|
452
|
-
|
|
465
|
+
i = {
|
|
453
466
|
x: e.x + e.width,
|
|
454
467
|
y: s
|
|
455
468
|
};
|
|
456
469
|
break;
|
|
457
|
-
case
|
|
458
|
-
|
|
470
|
+
case R:
|
|
471
|
+
i = {
|
|
459
472
|
x: e.x - r.width,
|
|
460
473
|
y: s
|
|
461
474
|
};
|
|
462
475
|
break;
|
|
463
476
|
default:
|
|
464
|
-
|
|
477
|
+
i = {
|
|
465
478
|
x: e.x,
|
|
466
479
|
y: e.y
|
|
467
480
|
};
|
|
468
481
|
}
|
|
469
|
-
var p = a ?
|
|
482
|
+
var p = a ? Bt(a) : null;
|
|
470
483
|
if (p != null) {
|
|
471
484
|
var f = p === "y" ? "height" : "width";
|
|
472
|
-
switch (
|
|
485
|
+
switch (o) {
|
|
473
486
|
case Q:
|
|
474
|
-
|
|
487
|
+
i[p] = i[p] - (e[f] / 2 - r[f] / 2);
|
|
475
488
|
break;
|
|
476
|
-
case
|
|
477
|
-
|
|
489
|
+
case it:
|
|
490
|
+
i[p] = i[p] + (e[f] / 2 - r[f] / 2);
|
|
478
491
|
break;
|
|
479
492
|
}
|
|
480
493
|
}
|
|
481
|
-
return
|
|
494
|
+
return i;
|
|
482
495
|
}
|
|
483
496
|
function st(t, e) {
|
|
484
497
|
e === void 0 && (e = {});
|
|
485
|
-
var r = e, n = r.placement, a = n === void 0 ? t.placement : n,
|
|
498
|
+
var r = e, n = r.placement, a = n === void 0 ? t.placement : n, o = r.strategy, c = o === void 0 ? t.strategy : o, s = r.boundary, i = s === void 0 ? ye : s, p = r.rootBoundary, f = p === void 0 ? Jt : p, h = r.elementContext, y = h === void 0 ? nt : h, u = r.altBoundary, w = u === void 0 ? !1 : u, d = r.padding, v = d === void 0 ? 0 : d, b = ee(typeof v != "number" ? v : re(v, ft)), O = y === nt ? be : nt, A = t.rects.popper, l = t.elements[w ? O : y], m = Ze(G(l) ? l : l.contextElement || q(t.elements.popper), i, f, c), g = _(t.elements.reference), x = ae({
|
|
486
499
|
reference: g,
|
|
487
500
|
element: A,
|
|
488
501
|
placement: a
|
|
@@ -494,16 +507,16 @@ function st(t, e) {
|
|
|
494
507
|
}, j = t.modifiersData.offset;
|
|
495
508
|
if (y === nt && j) {
|
|
496
509
|
var S = j[a];
|
|
497
|
-
Object.keys(E).forEach(function(
|
|
498
|
-
var
|
|
499
|
-
E[
|
|
510
|
+
Object.keys(E).forEach(function(B) {
|
|
511
|
+
var I = [T, L].indexOf(B) >= 0 ? 1 : -1, X = [C, L].indexOf(B) >= 0 ? "y" : "x";
|
|
512
|
+
E[B] += S[X] * I;
|
|
500
513
|
});
|
|
501
514
|
}
|
|
502
515
|
return E;
|
|
503
516
|
}
|
|
504
|
-
function
|
|
517
|
+
function _e(t, e) {
|
|
505
518
|
e === void 0 && (e = {});
|
|
506
|
-
var r = e, n = r.placement, a = r.boundary,
|
|
519
|
+
var r = e, n = r.placement, a = r.boundary, o = r.rootBoundary, c = r.padding, s = r.flipVariations, i = r.allowedAutoPlacements, p = i === void 0 ? Qt : i, f = tt(n), h = f ? s ? Ft : Ft.filter(function(w) {
|
|
507
520
|
return tt(w) === f;
|
|
508
521
|
}) : ft, y = h.filter(function(w) {
|
|
509
522
|
return p.indexOf(w) >= 0;
|
|
@@ -513,7 +526,7 @@ function Ue(t, e) {
|
|
|
513
526
|
return w[d] = st(t, {
|
|
514
527
|
placement: d,
|
|
515
528
|
boundary: a,
|
|
516
|
-
rootBoundary:
|
|
529
|
+
rootBoundary: o,
|
|
517
530
|
padding: c
|
|
518
531
|
})[H(d)], w;
|
|
519
532
|
}, {});
|
|
@@ -521,17 +534,17 @@ function Ue(t, e) {
|
|
|
521
534
|
return u[w] - u[d];
|
|
522
535
|
});
|
|
523
536
|
}
|
|
524
|
-
function
|
|
537
|
+
function tr(t) {
|
|
525
538
|
if (H(t) === Pt)
|
|
526
539
|
return [];
|
|
527
540
|
var e = mt(t);
|
|
528
|
-
return [
|
|
541
|
+
return [Xt(t), e, Xt(e)];
|
|
529
542
|
}
|
|
530
|
-
function
|
|
543
|
+
function er(t) {
|
|
531
544
|
var e = t.state, r = t.options, n = t.name;
|
|
532
545
|
if (!e.modifiersData[n]._skip) {
|
|
533
|
-
for (var a = r.mainAxis,
|
|
534
|
-
return J.concat(H(F) === Pt ?
|
|
546
|
+
for (var a = r.mainAxis, o = a === void 0 ? !0 : a, c = r.altAxis, s = c === void 0 ? !0 : c, i = r.fallbackPlacements, p = r.padding, f = r.boundary, h = r.rootBoundary, y = r.altBoundary, u = r.flipVariations, w = u === void 0 ? !0 : u, d = r.allowedAutoPlacements, v = e.options.placement, b = H(v), O = b === v, A = i || (O || !w ? [mt(v)] : tr(v)), l = [v].concat(A).reduce(function(J, F) {
|
|
547
|
+
return J.concat(H(F) === Pt ? _e(e, {
|
|
535
548
|
placement: F,
|
|
536
549
|
boundary: f,
|
|
537
550
|
rootBoundary: h,
|
|
@@ -540,16 +553,16 @@ function Je(t) {
|
|
|
540
553
|
allowedAutoPlacements: d
|
|
541
554
|
}) : F);
|
|
542
555
|
}, []), m = e.rects.reference, g = e.rects.popper, x = /* @__PURE__ */ new Map(), D = !0, P = l[0], E = 0; E < l.length; E++) {
|
|
543
|
-
var j = l[E], S = H(j),
|
|
556
|
+
var j = l[E], S = H(j), B = tt(j) === Q, I = [C, L].indexOf(S) >= 0, X = I ? "width" : "height", $ = st(e, {
|
|
544
557
|
placement: j,
|
|
545
558
|
boundary: f,
|
|
546
559
|
rootBoundary: h,
|
|
547
560
|
altBoundary: y,
|
|
548
561
|
padding: p
|
|
549
|
-
}), W =
|
|
550
|
-
m[
|
|
562
|
+
}), W = I ? B ? T : R : B ? L : C;
|
|
563
|
+
m[X] > g[X] && (W = mt(W));
|
|
551
564
|
var pt = mt(W), K = [];
|
|
552
|
-
if (
|
|
565
|
+
if (o && K.push($[S] <= 0), s && K.push($[W] <= 0, $[pt] <= 0), K.every(function(J) {
|
|
553
566
|
return J;
|
|
554
567
|
})) {
|
|
555
568
|
P = j, D = !1;
|
|
@@ -575,11 +588,11 @@ function Je(t) {
|
|
|
575
588
|
e.placement !== P && (e.modifiersData[n]._skip = !0, e.placement = P, e.reset = !0);
|
|
576
589
|
}
|
|
577
590
|
}
|
|
578
|
-
const
|
|
591
|
+
const rr = {
|
|
579
592
|
name: "flip",
|
|
580
593
|
enabled: !0,
|
|
581
594
|
phase: "main",
|
|
582
|
-
fn:
|
|
595
|
+
fn: er,
|
|
583
596
|
requiresIfExists: ["offset"],
|
|
584
597
|
data: {
|
|
585
598
|
_skip: !1
|
|
@@ -597,18 +610,18 @@ function Yt(t, e, r) {
|
|
|
597
610
|
};
|
|
598
611
|
}
|
|
599
612
|
function zt(t) {
|
|
600
|
-
return [C, T,
|
|
613
|
+
return [C, T, L, R].some(function(e) {
|
|
601
614
|
return t[e] >= 0;
|
|
602
615
|
});
|
|
603
616
|
}
|
|
604
|
-
function
|
|
605
|
-
var e = t.state, r = t.name, n = e.rects.reference, a = e.rects.popper,
|
|
617
|
+
function nr(t) {
|
|
618
|
+
var e = t.state, r = t.name, n = e.rects.reference, a = e.rects.popper, o = e.modifiersData.preventOverflow, c = st(e, {
|
|
606
619
|
elementContext: "reference"
|
|
607
620
|
}), s = st(e, {
|
|
608
621
|
altBoundary: !0
|
|
609
|
-
}),
|
|
622
|
+
}), i = Yt(c, n), p = Yt(s, a, o), f = zt(i), h = zt(p);
|
|
610
623
|
e.modifiersData[r] = {
|
|
611
|
-
referenceClippingOffsets:
|
|
624
|
+
referenceClippingOffsets: i,
|
|
612
625
|
popperEscapeOffsets: p,
|
|
613
626
|
isReferenceHidden: f,
|
|
614
627
|
hasPopperEscaped: h
|
|
@@ -617,18 +630,18 @@ function Ze(t) {
|
|
|
617
630
|
"data-popper-escaped": h
|
|
618
631
|
});
|
|
619
632
|
}
|
|
620
|
-
const
|
|
633
|
+
const ar = {
|
|
621
634
|
name: "hide",
|
|
622
635
|
enabled: !0,
|
|
623
636
|
phase: "main",
|
|
624
637
|
requiresIfExists: ["preventOverflow"],
|
|
625
|
-
fn:
|
|
638
|
+
fn: nr
|
|
626
639
|
};
|
|
627
|
-
function
|
|
628
|
-
var n = H(t), a = [
|
|
640
|
+
function or(t, e, r) {
|
|
641
|
+
var n = H(t), a = [R, C].indexOf(n) >= 0 ? -1 : 1, o = typeof r == "function" ? r(Object.assign({}, e, {
|
|
629
642
|
placement: t
|
|
630
|
-
})) : r, c =
|
|
631
|
-
return c = c || 0, s = (s || 0) * a, [
|
|
643
|
+
})) : r, c = o[0], s = o[1];
|
|
644
|
+
return c = c || 0, s = (s || 0) * a, [R, T].indexOf(n) >= 0 ? {
|
|
632
645
|
x: s,
|
|
633
646
|
y: c
|
|
634
647
|
} : {
|
|
@@ -636,20 +649,20 @@ function tr(t, e, r) {
|
|
|
636
649
|
y: s
|
|
637
650
|
};
|
|
638
651
|
}
|
|
639
|
-
function
|
|
640
|
-
var e = t.state, r = t.options, n = t.name, a = r.offset,
|
|
641
|
-
return f[h] =
|
|
642
|
-
}, {}), s = c[e.placement],
|
|
643
|
-
e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x +=
|
|
652
|
+
function ir(t) {
|
|
653
|
+
var e = t.state, r = t.options, n = t.name, a = r.offset, o = a === void 0 ? [0, 0] : a, c = Qt.reduce(function(f, h) {
|
|
654
|
+
return f[h] = or(h, e.rects, o), f;
|
|
655
|
+
}, {}), s = c[e.placement], i = s.x, p = s.y;
|
|
656
|
+
e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += i, e.modifiersData.popperOffsets.y += p), e.modifiersData[n] = c;
|
|
644
657
|
}
|
|
645
|
-
const
|
|
658
|
+
const sr = {
|
|
646
659
|
name: "offset",
|
|
647
660
|
enabled: !0,
|
|
648
661
|
phase: "main",
|
|
649
662
|
requires: ["popperOffsets"],
|
|
650
|
-
fn:
|
|
663
|
+
fn: ir
|
|
651
664
|
};
|
|
652
|
-
function
|
|
665
|
+
function fr(t) {
|
|
653
666
|
var e = t.state, r = t.name;
|
|
654
667
|
e.modifiersData[r] = ae({
|
|
655
668
|
reference: e.rects.reference,
|
|
@@ -657,23 +670,23 @@ function nr(t) {
|
|
|
657
670
|
placement: e.placement
|
|
658
671
|
});
|
|
659
672
|
}
|
|
660
|
-
const
|
|
673
|
+
const cr = {
|
|
661
674
|
name: "popperOffsets",
|
|
662
675
|
enabled: !0,
|
|
663
676
|
phase: "read",
|
|
664
|
-
fn:
|
|
677
|
+
fn: fr,
|
|
665
678
|
data: {}
|
|
666
679
|
};
|
|
667
|
-
function
|
|
680
|
+
function pr(t) {
|
|
668
681
|
return t === "x" ? "y" : "x";
|
|
669
682
|
}
|
|
670
|
-
function
|
|
671
|
-
var e = t.state, r = t.options, n = t.name, a = r.mainAxis,
|
|
672
|
-
boundary:
|
|
683
|
+
function ur(t) {
|
|
684
|
+
var e = t.state, r = t.options, n = t.name, a = r.mainAxis, o = a === void 0 ? !0 : a, c = r.altAxis, s = c === void 0 ? !1 : c, i = r.boundary, p = r.rootBoundary, f = r.altBoundary, h = r.padding, y = r.tether, u = y === void 0 ? !0 : y, w = r.tetherOffset, d = w === void 0 ? 0 : w, v = st(e, {
|
|
685
|
+
boundary: i,
|
|
673
686
|
rootBoundary: p,
|
|
674
687
|
padding: h,
|
|
675
688
|
altBoundary: f
|
|
676
|
-
}), b = H(e.placement), O = tt(e.placement), A = !O, l =
|
|
689
|
+
}), b = H(e.placement), O = tt(e.placement), A = !O, l = Bt(b), m = pr(l), g = e.modifiersData.popperOffsets, x = e.rects.reference, D = e.rects.popper, P = typeof d == "function" ? d(Object.assign({}, e.rects, {
|
|
677
690
|
placement: e.placement
|
|
678
691
|
})) : d, E = typeof P == "number" ? {
|
|
679
692
|
mainAxis: P,
|
|
@@ -686,85 +699,85 @@ function or(t) {
|
|
|
686
699
|
y: 0
|
|
687
700
|
};
|
|
688
701
|
if (g) {
|
|
689
|
-
if (
|
|
690
|
-
var
|
|
702
|
+
if (o) {
|
|
703
|
+
var B, I = l === "y" ? C : R, X = l === "y" ? L : T, $ = l === "y" ? "height" : "width", W = g[l], pt = W + v[I], K = W - v[X], ut = u ? -D[$] / 2 : 0, bt = O === Q ? x[$] : D[$], et = O === Q ? -D[$] : -x[$], lt = e.elements.arrow, J = u && lt ? jt(lt) : {
|
|
691
704
|
width: 0,
|
|
692
705
|
height: 0
|
|
693
|
-
}, F = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : te(), rt = F[
|
|
694
|
-
g[l] =
|
|
706
|
+
}, F = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : te(), rt = F[I], vt = F[X], Y = at(0, x[$], J[$]), wt = A ? x[$] / 2 - ut - Y - rt - E.mainAxis : bt - Y - rt - E.mainAxis, oe = A ? -x[$] / 2 + ut + Y + vt + E.mainAxis : et + Y + vt + E.mainAxis, xt = e.elements.arrow && ct(e.elements.arrow), ie = xt ? l === "y" ? xt.clientTop || 0 : xt.clientLeft || 0 : 0, kt = (B = j?.[l]) != null ? B : 0, se = W + wt - kt - ie, fe = W + oe - kt, Mt = at(u ? gt(pt, se) : pt, W, u ? U(K, fe) : K);
|
|
707
|
+
g[l] = Mt, S[l] = Mt - W;
|
|
695
708
|
}
|
|
696
709
|
if (s) {
|
|
697
|
-
var
|
|
710
|
+
var Lt, ce = l === "x" ? C : R, pe = l === "x" ? L : T, z = g[m], dt = m === "y" ? "height" : "width", Tt = z + v[ce], St = z - v[pe], Ot = [C, R].indexOf(b) !== -1, Wt = (Lt = j?.[m]) != null ? Lt : 0, Ht = Ot ? Tt : z - x[dt] - D[dt] - Wt + E.altAxis, Vt = Ot ? z + x[dt] + D[dt] - Wt - E.altAxis : St, Nt = u && Ot ? Te(Ht, z, Vt) : at(u ? Ht : Tt, z, u ? Vt : St);
|
|
698
711
|
g[m] = Nt, S[m] = Nt - z;
|
|
699
712
|
}
|
|
700
713
|
e.modifiersData[n] = S;
|
|
701
714
|
}
|
|
702
715
|
}
|
|
703
|
-
const
|
|
716
|
+
const lr = {
|
|
704
717
|
name: "preventOverflow",
|
|
705
718
|
enabled: !0,
|
|
706
719
|
phase: "main",
|
|
707
|
-
fn:
|
|
720
|
+
fn: ur,
|
|
708
721
|
requiresIfExists: ["offset"]
|
|
709
722
|
};
|
|
710
|
-
function
|
|
723
|
+
function vr(t) {
|
|
711
724
|
return {
|
|
712
725
|
scrollLeft: t.scrollLeft,
|
|
713
726
|
scrollTop: t.scrollTop
|
|
714
727
|
};
|
|
715
728
|
}
|
|
716
|
-
function
|
|
717
|
-
return t === k(t) || !
|
|
729
|
+
function dr(t) {
|
|
730
|
+
return t === k(t) || !M(t) ? Ct(t) : vr(t);
|
|
718
731
|
}
|
|
719
|
-
function
|
|
732
|
+
function hr(t) {
|
|
720
733
|
var e = t.getBoundingClientRect(), r = Z(e.width) / t.offsetWidth || 1, n = Z(e.height) / t.offsetHeight || 1;
|
|
721
734
|
return r !== 1 || n !== 1;
|
|
722
735
|
}
|
|
723
|
-
function
|
|
736
|
+
function mr(t, e, r) {
|
|
724
737
|
r === void 0 && (r = !1);
|
|
725
|
-
var n =
|
|
738
|
+
var n = M(e), a = M(e) && hr(e), o = q(e), c = _(t, a, r), s = {
|
|
726
739
|
scrollLeft: 0,
|
|
727
740
|
scrollTop: 0
|
|
728
|
-
},
|
|
741
|
+
}, i = {
|
|
729
742
|
x: 0,
|
|
730
743
|
y: 0
|
|
731
744
|
};
|
|
732
745
|
return (n || !n && !r) && ((V(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
733
|
-
$t(
|
|
734
|
-
x: c.left + s.scrollLeft -
|
|
735
|
-
y: c.top + s.scrollTop -
|
|
746
|
+
$t(o)) && (s = dr(e)), M(e) ? (i = _(e, !0), i.x += e.clientLeft, i.y += e.clientTop) : o && (i.x = Rt(o))), {
|
|
747
|
+
x: c.left + s.scrollLeft - i.x,
|
|
748
|
+
y: c.top + s.scrollTop - i.y,
|
|
736
749
|
width: c.width,
|
|
737
750
|
height: c.height
|
|
738
751
|
};
|
|
739
752
|
}
|
|
740
|
-
function
|
|
753
|
+
function gr(t) {
|
|
741
754
|
var e = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), n = [];
|
|
742
|
-
t.forEach(function(
|
|
743
|
-
e.set(
|
|
755
|
+
t.forEach(function(o) {
|
|
756
|
+
e.set(o.name, o);
|
|
744
757
|
});
|
|
745
|
-
function a(
|
|
746
|
-
r.add(
|
|
747
|
-
var c = [].concat(
|
|
758
|
+
function a(o) {
|
|
759
|
+
r.add(o.name);
|
|
760
|
+
var c = [].concat(o.requires || [], o.requiresIfExists || []);
|
|
748
761
|
c.forEach(function(s) {
|
|
749
762
|
if (!r.has(s)) {
|
|
750
|
-
var
|
|
751
|
-
|
|
763
|
+
var i = e.get(s);
|
|
764
|
+
i && a(i);
|
|
752
765
|
}
|
|
753
|
-
}), n.push(
|
|
766
|
+
}), n.push(o);
|
|
754
767
|
}
|
|
755
|
-
return t.forEach(function(
|
|
756
|
-
r.has(
|
|
768
|
+
return t.forEach(function(o) {
|
|
769
|
+
r.has(o.name) || a(o);
|
|
757
770
|
}), n;
|
|
758
771
|
}
|
|
759
|
-
function
|
|
760
|
-
var e =
|
|
761
|
-
return
|
|
772
|
+
function yr(t) {
|
|
773
|
+
var e = gr(t);
|
|
774
|
+
return Ce.reduce(function(r, n) {
|
|
762
775
|
return r.concat(e.filter(function(a) {
|
|
763
776
|
return a.phase === n;
|
|
764
777
|
}));
|
|
765
778
|
}, []);
|
|
766
779
|
}
|
|
767
|
-
function
|
|
780
|
+
function br(t) {
|
|
768
781
|
var e;
|
|
769
782
|
return function() {
|
|
770
783
|
return e || (e = new Promise(function(r) {
|
|
@@ -774,7 +787,7 @@ function dr(t) {
|
|
|
774
787
|
})), e;
|
|
775
788
|
};
|
|
776
789
|
}
|
|
777
|
-
function
|
|
790
|
+
function wr(t) {
|
|
778
791
|
var e = t.reduce(function(r, n) {
|
|
779
792
|
var a = r[n.name];
|
|
780
793
|
return r[n.name] = a ? Object.assign({}, a, n, {
|
|
@@ -798,19 +811,19 @@ function Gt() {
|
|
|
798
811
|
return !(n && typeof n.getBoundingClientRect == "function");
|
|
799
812
|
});
|
|
800
813
|
}
|
|
801
|
-
function
|
|
814
|
+
function xr(t) {
|
|
802
815
|
t === void 0 && (t = {});
|
|
803
|
-
var e = t, r = e.defaultModifiers, n = r === void 0 ? [] : r, a = e.defaultOptions,
|
|
804
|
-
return function(s,
|
|
805
|
-
p === void 0 && (p =
|
|
816
|
+
var e = t, r = e.defaultModifiers, n = r === void 0 ? [] : r, a = e.defaultOptions, o = a === void 0 ? Ut : a;
|
|
817
|
+
return function(s, i, p) {
|
|
818
|
+
p === void 0 && (p = o);
|
|
806
819
|
var f = {
|
|
807
820
|
placement: "bottom",
|
|
808
821
|
orderedModifiers: [],
|
|
809
|
-
options: Object.assign({}, Ut,
|
|
822
|
+
options: Object.assign({}, Ut, o),
|
|
810
823
|
modifiersData: {},
|
|
811
824
|
elements: {
|
|
812
825
|
reference: s,
|
|
813
|
-
popper:
|
|
826
|
+
popper: i
|
|
814
827
|
},
|
|
815
828
|
attributes: {},
|
|
816
829
|
styles: {}
|
|
@@ -818,11 +831,11 @@ function mr(t) {
|
|
|
818
831
|
state: f,
|
|
819
832
|
setOptions: function(b) {
|
|
820
833
|
var O = typeof b == "function" ? b(f.options) : b;
|
|
821
|
-
d(), f.options = Object.assign({},
|
|
822
|
-
reference: G(s) ?
|
|
823
|
-
popper:
|
|
834
|
+
d(), f.options = Object.assign({}, o, f.options, O), f.scrollParents = {
|
|
835
|
+
reference: G(s) ? ot(s) : s.contextElement ? ot(s.contextElement) : [],
|
|
836
|
+
popper: ot(i)
|
|
824
837
|
};
|
|
825
|
-
var A =
|
|
838
|
+
var A = yr(wr([].concat(n, f.options.modifiers)));
|
|
826
839
|
return f.orderedModifiers = A.filter(function(l) {
|
|
827
840
|
return l.enabled;
|
|
828
841
|
}), w(), u.update();
|
|
@@ -837,7 +850,7 @@ function mr(t) {
|
|
|
837
850
|
var b = f.elements, O = b.reference, A = b.popper;
|
|
838
851
|
if (Gt(O, A)) {
|
|
839
852
|
f.rects = {
|
|
840
|
-
reference:
|
|
853
|
+
reference: mr(O, ct(A), f.options.strategy === "fixed"),
|
|
841
854
|
popper: jt(A)
|
|
842
855
|
}, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(E) {
|
|
843
856
|
return f.modifiersData[E.name] = Object.assign({}, E.data);
|
|
@@ -860,7 +873,7 @@ function mr(t) {
|
|
|
860
873
|
},
|
|
861
874
|
// Async and optimistically optimized update – it will not be executed if
|
|
862
875
|
// not necessary (debounced to run at most once-per-tick)
|
|
863
|
-
update:
|
|
876
|
+
update: br(function() {
|
|
864
877
|
return new Promise(function(v) {
|
|
865
878
|
u.forceUpdate(), v(f);
|
|
866
879
|
});
|
|
@@ -869,7 +882,7 @@ function mr(t) {
|
|
|
869
882
|
d(), y = !0;
|
|
870
883
|
}
|
|
871
884
|
};
|
|
872
|
-
if (!Gt(s,
|
|
885
|
+
if (!Gt(s, i))
|
|
873
886
|
return u;
|
|
874
887
|
u.setOptions(p).then(function(v) {
|
|
875
888
|
!y && p.onFirstUpdate && p.onFirstUpdate(v);
|
|
@@ -897,13 +910,14 @@ function mr(t) {
|
|
|
897
910
|
return u;
|
|
898
911
|
};
|
|
899
912
|
}
|
|
900
|
-
var
|
|
901
|
-
defaultModifiers:
|
|
913
|
+
var Or = [Ke, cr, Ie, ke, sr, rr, lr, Ve, ar], jr = /* @__PURE__ */ xr({
|
|
914
|
+
defaultModifiers: Or
|
|
902
915
|
});
|
|
903
916
|
export {
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
917
|
+
Er as C,
|
|
918
|
+
ke as a,
|
|
919
|
+
me as b,
|
|
920
|
+
jr as c,
|
|
921
|
+
Dr as g,
|
|
922
|
+
Pr as i
|
|
909
923
|
};
|