@knime/jsonforms 1.14.2 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/dist/{AnyOfTwinlist-Cwxtyt0Q.js → AnyOfTwinlist-Co_sJAsc.js} +3 -3
- package/dist/{Button-BxuGKyL5.js → Button-Cqwayw73.js} +4 -4
- package/dist/CheckboxControl-C10_DX1N.js +40 -0
- package/dist/{Checkboxes-DIPjJhPO.js → Checkboxes-DWOxHiUX.js} +2 -2
- package/dist/{CheckboxesControl-5QlPmjwv.js → CheckboxesControl-BMRFgmO_.js} +7 -10
- package/dist/{ComboBoxControl-Dk02x7sN.js → ComboBoxControl-R0DlbAdT.js} +26 -29
- package/dist/{DateControl-CddCObVg.js → DateControl-DAGAM92B.js} +3 -3
- package/dist/DateTimeControl-DJhIb_U4.js +45 -0
- package/dist/{DateTimeFormatInput-bO1zHUyp.js → DateTimeFormatInput-BhLQzC-P.js} +74 -82
- package/dist/{DateTimeFormatPickerControl-Dq25_JV2.js → DateTimeFormatPickerControl-V7pxRYaW.js} +5 -8
- package/dist/{DateTimeFormatPickerWithTypeControl-DZib_x-B.js → DateTimeFormatPickerWithTypeControl-3fa75rGw.js} +6 -9
- package/dist/{DateTimeInput-CEYEV8dt.js → DateTimeInput-Cs0KqlOS.js} +4629 -4556
- package/dist/Dropdown-BEx-cvXH.js +608 -0
- package/dist/{DropdownControl-BNQKWzTT.js → DropdownControl-DEIA5VD4.js} +4 -4
- package/dist/{HorizontalLayout-6GwurgkR.js → HorizontalLayout-DCfhMNq4.js} +2 -2
- package/dist/{InputField-BYxW_-G3.js → InputField-OkFB9VHZ.js} +11 -11
- package/dist/{IntegerControl-DZIY-wb_.js → IntegerControl-Om8J7hch.js} +3 -3
- package/dist/{IntervalControl-Yts36_MI.js → IntervalControl-B7UbyyD-.js} +99 -100
- package/dist/{LoadingDropdown-Dw-0WQ8x.js → LoadingDropdown-CINkq_Sw.js} +6 -6
- package/dist/{ManualTwinlistControl-C3NnAug1.js → ManualTwinlistControl-BLTfr2gT.js} +24 -30
- package/dist/MultiSelectListBoxControl-j1TaFtQj.js +31 -0
- package/dist/{MultimodeTwinlistControl-B2Jven29.js → MultimodeTwinlistControl-BsFqHRFM.js} +97 -108
- package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_37fe7036_lang-DGKMWtLi.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_37fe7036_lang-2fVBipAl.js} +1 -1
- package/dist/{MultiselectListBox-CHvGxAhY.js → MultiselectListBox-CMTJnAWr.js} +18 -23
- package/dist/{NameFilter-D0hKO5Fr.js → NameFilter-d5k6rDVY.js} +3 -3
- package/dist/{NumberControl-DkeQT1iR.js → NumberControl-Kc3hvVef.js} +3 -3
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-BOCR1qXG.js +50 -0
- package/dist/{NumberInput-DJ38AGiR.js → NumberInput-BepS3tAK.js} +5 -5
- package/dist/{OneOfDropdown-NAgE-mPP.js → OneOfDropdown-CLwVXrbC.js} +10 -11
- package/dist/{RadioControl-DjrysNQ_.js → RadioControl-DpziR8nA.js} +4 -4
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-DVIeg5W1.js +104 -0
- package/dist/{RichTextControl-CXY1ULxR.js → RichTextControl-CE6whfV5.js} +4524 -4079
- package/dist/SectionHeading-D7znCZXu.js +19 -0
- package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DR31vaIu.js +15431 -0
- package/dist/{SectionLayout-CJP4sYyB.js → SectionLayout-BhXDOzqB.js} +4 -4
- package/dist/SettingsSubPanel-x9uWGoiu.js +5 -0
- package/dist/{SettingsSubPanelLayout-YBNVPQOD.js → SettingsSubPanelLayout-BPHBM5n5.js} +12 -11
- package/dist/{SimpleButtonControl-ejyUwJdL.js → SimpleButtonControl-DfCSlgZS.js} +9 -9
- package/dist/SimpleTwinlistControl-CBalniCf.js +25 -0
- package/dist/{SingleSelectControl-B0JgDv7j.js → SingleSelectControl-DC4w0ata.js} +4 -4
- package/dist/{SingleSelectListBoxControl-ClQOxnxW.js → SingleSelectListBoxControl-CKj-p8jZ.js} +33 -36
- package/dist/{SortListControl-mvJofiWn.js → SortListControl-BIUyPjCi.js} +122 -120
- package/dist/{StyledListItem-BXz08pEQ.js → StyledListItem-D-HJWfo5.js} +3 -3
- package/dist/{TextAreaControl-S4aoqAv1.js → TextAreaControl-D28TQZEY.js} +23 -26
- package/dist/{TextControl-rJrjrBw8.js → TextControl-DUDBWcHy.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-Bf6GB1zX.js → TextControl.vue_vue_type_script_setup_true_lang-DpAd3yOu.js} +16 -19
- package/dist/TimeControl-HRooO_z3.js +36 -0
- package/dist/{TwinlistControlBase-D1l9t7Up.js → TwinlistControlBase-Brfh5pqZ.js} +5 -5
- package/dist/{TwinlistLoadingInfo-CQRx9cEu.js → TwinlistLoadingInfo-C4Tta00d.js} +150 -167
- package/dist/TypedStringFilter-CdvgPKhD.js +26 -0
- package/dist/{ValueSwitch-CUYV7v67.js → ValueSwitch-W4y1YvNM.js} +8 -8
- package/dist/{ValueSwitchControl-IP9SxrUs.js → ValueSwitchControl-BaXH8Cjx.js} +3 -3
- package/dist/{VerticalLayout-D2eQSYgv.js → VerticalLayout-ChAmRKNj.js} +5 -5
- package/dist/VerticalLayoutBase-DAk4vfH5.js +20 -0
- package/dist/ZonedDateTimeControl-Qb57KmMT.js +69 -0
- package/dist/{_baseEach-cjHvi5iT.js → _baseEach-DdH9cM67.js} +4 -4
- package/dist/{_baseIteratee-CIxt0KWU.js → _baseIteratee-BGt-t7Os.js} +27 -27
- package/dist/{_getTag-sLUyzSDj.js → _getTag-DAFySze4.js} +10 -10
- package/dist/{arrow-dropdown-DdgjzLAO.js → arrow-dropdown-BAFsD8Su.js} +2 -2
- package/dist/{arrow-next-CIOU5o42.js → arrow-next-BQVCxGb8.js} +2 -2
- package/dist/{close-BuY4mhXV.js → close-DGt8x-x_.js} +2 -2
- package/dist/floating-ui.vue-CDo9Kas1.js +1055 -0
- package/dist/{hotkeys-kwHHtFKz.js → hotkeys-rxnt4egK.js} +1 -1
- package/dist/index-CpKfM262.js +376 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +64 -67
- package/dist/{localTimeUtils-Dv-1R88J.js → localTimeUtils-NIKgHnIr.js} +179 -181
- package/dist/magic-string.es-BQ9KnLz-.js +659 -0
- package/dist/navigator-e30QQMkl.js +4 -0
- package/dist/popper-LGjf7Wza.js +905 -0
- package/dist/{reload-BVbCGubF.js → reload-DCdbNLa2.js} +2 -2
- package/dist/src/higherOrderComponents/control/LabeledControl.vue.d.ts +26 -22
- package/dist/src/higherOrderComponents/control/errorMessage/ErrorLine.vue.d.ts +3 -4
- package/dist/src/higherOrderComponents/control/errorMessage/ErrorMessages.vue.d.ts +16 -10
- package/dist/src/higherOrderComponents/control/errorMessage/withErrorMessage.d.ts +1 -1
- package/dist/src/higherOrderComponents/control/util.d.ts +7 -33
- package/dist/src/higherOrderComponents/layout/util.d.ts +1 -17
- package/dist/src/layoutComponents/Form.vue.d.ts +12 -4
- package/dist/src/layoutComponents/HorizontalLayout.vue.d.ts +1 -1
- package/dist/src/layoutComponents/SectionLayout.vue.d.ts +13 -5
- package/dist/src/layoutComponents/VerticalLayout.vue.d.ts +1 -1
- package/dist/src/layoutComponents/VerticalLayoutBase.vue.d.ts +16 -9
- package/dist/src/layoutComponents/section/SectionHeading.vue.d.ts +13 -6
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanel.vue.d.ts +2 -2
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanelBackArrow.vue.d.ts +1 -1
- package/dist/src/renderers/dateTimeFormatPickerRenderer.d.ts +2 -2
- package/dist/src/renderers/defaultRenderers.d.ts +966 -151
- package/dist/src/renderers/dropdownRenderer.d.ts +1 -1
- package/dist/src/renderers/fallbackRenderers.d.ts +8 -8
- package/dist/src/renderers/horizontalLayoutRenderer.d.ts +1 -1
- package/dist/src/renderers/sectionLayoutRenderer.d.ts +4 -4
- package/dist/src/renderers/simpleButtonRenderer.d.ts +7 -89
- package/dist/src/renderers/sortListRenderer.d.ts +853 -20
- package/dist/src/renderers/textMessageRenderer.d.ts +65 -1
- package/dist/src/renderers/textRenderer.d.ts +1 -1
- package/dist/src/renderers/verticalLayoutRenderer.d.ts +2 -2
- package/dist/src/renderers/zonedDateTimeRenderer.d.ts +1 -1
- package/dist/src/uiComponents/CheckboxControl.vue.d.ts +15 -6
- package/dist/src/uiComponents/CheckboxesControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/ComboBoxControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/DateControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/DateTimeControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/DateTimeFormatPickerControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/DateTimeFormatPickerWithTypeControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/DropdownControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/IntegerControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/IntervalControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/MultiSelectListBoxControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/NumberControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/NumberControlBase.vue.d.ts +5 -9
- package/dist/src/uiComponents/OneOfDropdown.vue.d.ts +2 -1
- package/dist/src/uiComponents/RadioControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/RadioControlBase.vue.d.ts +4 -8
- package/dist/src/uiComponents/SimpleButtonControl.vue.d.ts +5 -129
- package/dist/src/uiComponents/SingleSelectControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/SingleSelectListBoxControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/SortListControl.vue.d.ts +845 -12
- package/dist/src/uiComponents/TextAreaControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/TextControl.vue.d.ts +203 -3
- package/dist/src/uiComponents/TextMessageControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/TimeControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/ValueSwitchControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/ZonedDateTimeControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/composables/useProvidedState.d.ts +1 -1
- package/dist/src/uiComponents/loading/TwinlistLoadingInfo.vue.d.ts +1 -1
- package/dist/src/uiComponents/richTextControl/DialogLinkModal.vue.d.ts +3 -1
- package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +230 -1
- package/dist/src/uiComponents/twinlist/AnyOfTwinlist.vue.d.ts +2 -1
- package/dist/src/uiComponents/twinlist/ManualTwinlistControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/twinlist/MultimodeTwinlistControl.vue.d.ts +8 -15
- package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +2 -1
- package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/twinlist/TwinlistControlBase.vue.d.ts +5 -10
- package/dist/src/uiComponents/twinlist/TypedStringFilter.vue.d.ts +2 -1
- package/dist/{svgWithTitle-Cr3Pu3wr.js → svgWithTitle-CnTmPYAB.js} +4 -4
- package/dist/testUtils/component.d.ts +18 -18
- package/dist/testing.js +8688 -8655
- package/dist/{toString-C_MqBj3_.js → toString-BhubvA3m.js} +1 -1
- package/dist/{useBuiltinValidations-DP7OS71z.js → useBuiltinValidations-Boxrm71q.js} +1 -1
- package/dist/useDropdownNavigation-BfCXUheD.js +817 -0
- package/dist/usePossibleValues-DXuWWBh_.js +16 -0
- package/package.json +14 -14
- package/dist/CheckboxControl-Oe97HhY3.js +0 -40
- package/dist/DateTimeControl-DyXUJBHE.js +0 -54
- package/dist/Dropdown-CJj0CUA8.js +0 -604
- package/dist/MultiSelectListBoxControl-3Q41S4aA.js +0 -34
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-B9K5qEs3.js +0 -53
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-WaVJMdQq.js +0 -114
- package/dist/SectionHeading-BU1W5lDr.js +0 -19
- package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CsYyUtDa.js +0 -14015
- package/dist/SettingsSubPanel-KxEyzlB6.js +0 -5
- package/dist/SimpleTwinlistControl-qXQxRI7h.js +0 -28
- package/dist/TimeControl-DfhE8yu9.js +0 -42
- package/dist/TypedStringFilter-C6JhWCCC.js +0 -29
- package/dist/VerticalLayoutBase-DRfHwc4t.js +0 -20
- package/dist/ZonedDateTimeControl-Bi8cV34A.js +0 -75
- package/dist/floating-ui.vue-B-MrqKCT.js +0 -1019
- package/dist/index-CoRworrE.js +0 -322
- package/dist/magic-string.es-D-aKzDFf.js +0 -858
- package/dist/navigator-D_R-txCf.js +0 -7
- package/dist/popper-CRR--9mA.js +0 -907
- package/dist/src/JsonFormsDialog.vue.d.ts +0 -46
- package/dist/useDropdownNavigation-7o7SRJSo.js +0 -781
- package/dist/usePossibleValues-lz0Rcu_N.js +0 -20
package/dist/popper-CRR--9mA.js
DELETED
|
@@ -1,907 +0,0 @@
|
|
|
1
|
-
var B = "top", S = "bottom", L = "right", $ = "left", Pe = "auto", fe = [B, S, L, $], Q = "start", oe = "end", ct = "clippingParents", Ke = "viewport", ne = "popper", lt = "reference", Fe = /* @__PURE__ */ fe.reduce(function(e, t) {
|
|
2
|
-
return e.concat([t + "-" + Q, t + "-" + oe]);
|
|
3
|
-
}, []), Qe = /* @__PURE__ */ [].concat(fe, [Pe]).reduce(function(e, t) {
|
|
4
|
-
return e.concat([t, t + "-" + Q, t + "-" + oe]);
|
|
5
|
-
}, []), dt = "beforeRead", vt = "read", ht = "afterRead", mt = "beforeMain", gt = "main", yt = "afterMain", bt = "beforeWrite", wt = "write", xt = "afterWrite", Ot = [dt, vt, ht, mt, gt, yt, bt, wt, xt];
|
|
6
|
-
function V(e) {
|
|
7
|
-
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
8
|
-
}
|
|
9
|
-
function k(e) {
|
|
10
|
-
if (e == null)
|
|
11
|
-
return window;
|
|
12
|
-
if (e.toString() !== "[object Window]") {
|
|
13
|
-
var t = e.ownerDocument;
|
|
14
|
-
return t && t.defaultView || window;
|
|
15
|
-
}
|
|
16
|
-
return e;
|
|
17
|
-
}
|
|
18
|
-
function J(e) {
|
|
19
|
-
var t = k(e).Element;
|
|
20
|
-
return e instanceof t || e instanceof Element;
|
|
21
|
-
}
|
|
22
|
-
function T(e) {
|
|
23
|
-
var t = k(e).HTMLElement;
|
|
24
|
-
return e instanceof t || e instanceof HTMLElement;
|
|
25
|
-
}
|
|
26
|
-
function De(e) {
|
|
27
|
-
if (typeof ShadowRoot > "u")
|
|
28
|
-
return !1;
|
|
29
|
-
var t = k(e).ShadowRoot;
|
|
30
|
-
return e instanceof t || e instanceof ShadowRoot;
|
|
31
|
-
}
|
|
32
|
-
function At(e) {
|
|
33
|
-
var t = e.state;
|
|
34
|
-
Object.keys(t.elements).forEach(function(r) {
|
|
35
|
-
var n = t.styles[r] || {}, a = t.attributes[r] || {}, i = t.elements[r];
|
|
36
|
-
!T(i) || !V(i) || (Object.assign(i.style, n), Object.keys(a).forEach(function(u) {
|
|
37
|
-
var s = a[u];
|
|
38
|
-
s === !1 ? i.removeAttribute(u) : i.setAttribute(u, s === !0 ? "" : s);
|
|
39
|
-
}));
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
function Et(e) {
|
|
43
|
-
var t = e.state, r = {
|
|
44
|
-
popper: {
|
|
45
|
-
position: t.options.strategy,
|
|
46
|
-
left: "0",
|
|
47
|
-
top: "0",
|
|
48
|
-
margin: "0"
|
|
49
|
-
},
|
|
50
|
-
arrow: {
|
|
51
|
-
position: "absolute"
|
|
52
|
-
},
|
|
53
|
-
reference: {}
|
|
54
|
-
};
|
|
55
|
-
return Object.assign(t.elements.popper.style, r.popper), t.styles = r, t.elements.arrow && Object.assign(t.elements.arrow.style, r.arrow), function() {
|
|
56
|
-
Object.keys(t.elements).forEach(function(n) {
|
|
57
|
-
var a = t.elements[n], i = t.attributes[n] || {}, u = Object.keys(t.styles.hasOwnProperty(n) ? t.styles[n] : r[n]), s = u.reduce(function(o, p) {
|
|
58
|
-
return o[p] = "", o;
|
|
59
|
-
}, {});
|
|
60
|
-
!T(a) || !V(a) || (Object.assign(a.style, s), Object.keys(i).forEach(function(o) {
|
|
61
|
-
a.removeAttribute(o);
|
|
62
|
-
}));
|
|
63
|
-
});
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
const Pt = {
|
|
67
|
-
name: "applyStyles",
|
|
68
|
-
enabled: !0,
|
|
69
|
-
phase: "write",
|
|
70
|
-
fn: At,
|
|
71
|
-
effect: Et,
|
|
72
|
-
requires: ["computeStyles"]
|
|
73
|
-
};
|
|
74
|
-
function H(e) {
|
|
75
|
-
return e.split("-")[0];
|
|
76
|
-
}
|
|
77
|
-
var G = Math.max, ge = Math.min, Z = Math.round;
|
|
78
|
-
function Ae() {
|
|
79
|
-
var e = navigator.userAgentData;
|
|
80
|
-
return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
|
|
81
|
-
return t.brand + "/" + t.version;
|
|
82
|
-
}).join(" ") : navigator.userAgent;
|
|
83
|
-
}
|
|
84
|
-
function Ze() {
|
|
85
|
-
return !/^((?!chrome|android).)*safari/i.test(Ae());
|
|
86
|
-
}
|
|
87
|
-
function _(e, t, r) {
|
|
88
|
-
t === void 0 && (t = !1), r === void 0 && (r = !1);
|
|
89
|
-
var n = e.getBoundingClientRect(), a = 1, i = 1;
|
|
90
|
-
t && T(e) && (a = e.offsetWidth > 0 && Z(n.width) / e.offsetWidth || 1, i = e.offsetHeight > 0 && Z(n.height) / e.offsetHeight || 1);
|
|
91
|
-
var u = J(e) ? k(e) : window, s = u.visualViewport, o = !Ze() && r, p = (n.left + (o && s ? s.offsetLeft : 0)) / a, f = (n.top + (o && s ? s.offsetTop : 0)) / i, h = n.width / a, y = n.height / i;
|
|
92
|
-
return {
|
|
93
|
-
width: h,
|
|
94
|
-
height: y,
|
|
95
|
-
top: f,
|
|
96
|
-
right: p + h,
|
|
97
|
-
bottom: f + y,
|
|
98
|
-
left: p,
|
|
99
|
-
x: p,
|
|
100
|
-
y: f
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
|
-
function je(e) {
|
|
104
|
-
var t = _(e), r = e.offsetWidth, n = e.offsetHeight;
|
|
105
|
-
return Math.abs(t.width - r) <= 1 && (r = t.width), Math.abs(t.height - n) <= 1 && (n = t.height), {
|
|
106
|
-
x: e.offsetLeft,
|
|
107
|
-
y: e.offsetTop,
|
|
108
|
-
width: r,
|
|
109
|
-
height: n
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
|
-
function _e(e, t) {
|
|
113
|
-
var r = t.getRootNode && t.getRootNode();
|
|
114
|
-
if (e.contains(t))
|
|
115
|
-
return !0;
|
|
116
|
-
if (r && De(r)) {
|
|
117
|
-
var n = t;
|
|
118
|
-
do {
|
|
119
|
-
if (n && e.isSameNode(n))
|
|
120
|
-
return !0;
|
|
121
|
-
n = n.parentNode || n.host;
|
|
122
|
-
} while (n);
|
|
123
|
-
}
|
|
124
|
-
return !1;
|
|
125
|
-
}
|
|
126
|
-
function N(e) {
|
|
127
|
-
return k(e).getComputedStyle(e);
|
|
128
|
-
}
|
|
129
|
-
function Dt(e) {
|
|
130
|
-
return ["table", "td", "th"].indexOf(V(e)) >= 0;
|
|
131
|
-
}
|
|
132
|
-
function q(e) {
|
|
133
|
-
return ((J(e) ? e.ownerDocument : (
|
|
134
|
-
// $FlowFixMe[prop-missing]
|
|
135
|
-
e.document
|
|
136
|
-
)) || window.document).documentElement;
|
|
137
|
-
}
|
|
138
|
-
function ye(e) {
|
|
139
|
-
return V(e) === "html" ? e : (
|
|
140
|
-
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
141
|
-
// $FlowFixMe[incompatible-return]
|
|
142
|
-
// $FlowFixMe[prop-missing]
|
|
143
|
-
e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
|
144
|
-
e.parentNode || // DOM Element detected
|
|
145
|
-
(De(e) ? e.host : null) || // ShadowRoot detected
|
|
146
|
-
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
147
|
-
q(e)
|
|
148
|
-
);
|
|
149
|
-
}
|
|
150
|
-
function qe(e) {
|
|
151
|
-
return !T(e) || // https://github.com/popperjs/popper-core/issues/837
|
|
152
|
-
N(e).position === "fixed" ? null : e.offsetParent;
|
|
153
|
-
}
|
|
154
|
-
function jt(e) {
|
|
155
|
-
var t = /firefox/i.test(Ae()), r = /Trident/i.test(Ae());
|
|
156
|
-
if (r && T(e)) {
|
|
157
|
-
var n = N(e);
|
|
158
|
-
if (n.position === "fixed")
|
|
159
|
-
return null;
|
|
160
|
-
}
|
|
161
|
-
var a = ye(e);
|
|
162
|
-
for (De(a) && (a = a.host); T(a) && ["html", "body"].indexOf(V(a)) < 0; ) {
|
|
163
|
-
var i = N(a);
|
|
164
|
-
if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !== -1 || t && i.willChange === "filter" || t && i.filter && i.filter !== "none")
|
|
165
|
-
return a;
|
|
166
|
-
a = a.parentNode;
|
|
167
|
-
}
|
|
168
|
-
return null;
|
|
169
|
-
}
|
|
170
|
-
function ue(e) {
|
|
171
|
-
for (var t = k(e), r = qe(e); r && Dt(r) && N(r).position === "static"; )
|
|
172
|
-
r = qe(r);
|
|
173
|
-
return r && (V(r) === "html" || V(r) === "body" && N(r).position === "static") ? t : r || jt(e) || t;
|
|
174
|
-
}
|
|
175
|
-
function Re(e) {
|
|
176
|
-
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
177
|
-
}
|
|
178
|
-
function ae(e, t, r) {
|
|
179
|
-
return G(e, ge(t, r));
|
|
180
|
-
}
|
|
181
|
-
function Rt(e, t, r) {
|
|
182
|
-
var n = ae(e, t, r);
|
|
183
|
-
return n > r ? r : n;
|
|
184
|
-
}
|
|
185
|
-
function et() {
|
|
186
|
-
return {
|
|
187
|
-
top: 0,
|
|
188
|
-
right: 0,
|
|
189
|
-
bottom: 0,
|
|
190
|
-
left: 0
|
|
191
|
-
};
|
|
192
|
-
}
|
|
193
|
-
function tt(e) {
|
|
194
|
-
return Object.assign({}, et(), e);
|
|
195
|
-
}
|
|
196
|
-
function rt(e, t) {
|
|
197
|
-
return t.reduce(function(r, n) {
|
|
198
|
-
return r[n] = e, r;
|
|
199
|
-
}, {});
|
|
200
|
-
}
|
|
201
|
-
var Bt = function(t, r) {
|
|
202
|
-
return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
|
|
203
|
-
placement: r.placement
|
|
204
|
-
})) : t, tt(typeof t != "number" ? t : rt(t, fe));
|
|
205
|
-
};
|
|
206
|
-
function $t(e) {
|
|
207
|
-
var t, r = e.state, n = e.name, a = e.options, i = r.elements.arrow, u = r.modifiersData.popperOffsets, s = H(r.placement), o = Re(s), p = [$, L].indexOf(s) >= 0, f = p ? "height" : "width";
|
|
208
|
-
if (!(!i || !u)) {
|
|
209
|
-
var h = Bt(a.padding, r), y = je(i), c = o === "y" ? B : $, w = o === "y" ? S : L, v = r.rects.reference[f] + r.rects.reference[o] - u[o] - r.rects.popper[f], d = u[o] - r.rects.reference[o], b = ue(i), O = b ? o === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0, A = v / 2 - d / 2, l = h[c], m = O - y[f] - h[w], g = O / 2 - y[f] / 2 + A, x = ae(l, g, m), D = o;
|
|
210
|
-
r.modifiersData[n] = (t = {}, t[D] = x, t.centerOffset = x - g, t);
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
function Ct(e) {
|
|
214
|
-
var t = e.state, r = e.options, n = r.element, a = n === void 0 ? "[data-popper-arrow]" : n;
|
|
215
|
-
a != null && (typeof a == "string" && (a = t.elements.popper.querySelector(a), !a) || _e(t.elements.popper, a) && (t.elements.arrow = a));
|
|
216
|
-
}
|
|
217
|
-
const kt = {
|
|
218
|
-
name: "arrow",
|
|
219
|
-
enabled: !0,
|
|
220
|
-
phase: "main",
|
|
221
|
-
fn: $t,
|
|
222
|
-
effect: Ct,
|
|
223
|
-
requires: ["popperOffsets"],
|
|
224
|
-
requiresIfExists: ["preventOverflow"]
|
|
225
|
-
};
|
|
226
|
-
function ee(e) {
|
|
227
|
-
return e.split("-")[1];
|
|
228
|
-
}
|
|
229
|
-
var Tt = {
|
|
230
|
-
top: "auto",
|
|
231
|
-
right: "auto",
|
|
232
|
-
bottom: "auto",
|
|
233
|
-
left: "auto"
|
|
234
|
-
};
|
|
235
|
-
function St(e, t) {
|
|
236
|
-
var r = e.x, n = e.y, a = t.devicePixelRatio || 1;
|
|
237
|
-
return {
|
|
238
|
-
x: Z(r * a) / a || 0,
|
|
239
|
-
y: Z(n * a) / a || 0
|
|
240
|
-
};
|
|
241
|
-
}
|
|
242
|
-
function Xe(e) {
|
|
243
|
-
var t, r = e.popper, n = e.popperRect, a = e.placement, i = e.variation, u = e.offsets, s = e.position, o = e.gpuAcceleration, p = e.adaptive, f = e.roundOffsets, h = e.isFixed, y = u.x, c = y === void 0 ? 0 : y, w = u.y, v = w === void 0 ? 0 : w, d = typeof f == "function" ? f({
|
|
244
|
-
x: c,
|
|
245
|
-
y: v
|
|
246
|
-
}) : {
|
|
247
|
-
x: c,
|
|
248
|
-
y: v
|
|
249
|
-
};
|
|
250
|
-
c = d.x, v = d.y;
|
|
251
|
-
var b = u.hasOwnProperty("x"), O = u.hasOwnProperty("y"), A = $, l = B, m = window;
|
|
252
|
-
if (p) {
|
|
253
|
-
var g = ue(r), x = "clientHeight", D = "clientWidth";
|
|
254
|
-
if (g === k(r) && (g = q(r), N(g).position !== "static" && s === "absolute" && (x = "scrollHeight", D = "scrollWidth")), g = g, a === B || (a === $ || a === L) && i === oe) {
|
|
255
|
-
l = S;
|
|
256
|
-
var P = h && g === m && m.visualViewport ? m.visualViewport.height : (
|
|
257
|
-
// $FlowFixMe[prop-missing]
|
|
258
|
-
g[x]
|
|
259
|
-
);
|
|
260
|
-
v -= P - n.height, v *= o ? 1 : -1;
|
|
261
|
-
}
|
|
262
|
-
if (a === $ || (a === B || a === S) && i === oe) {
|
|
263
|
-
A = L;
|
|
264
|
-
var E = h && g === m && m.visualViewport ? m.visualViewport.width : (
|
|
265
|
-
// $FlowFixMe[prop-missing]
|
|
266
|
-
g[D]
|
|
267
|
-
);
|
|
268
|
-
c -= E - n.width, c *= o ? 1 : -1;
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
var j = Object.assign({
|
|
272
|
-
position: s
|
|
273
|
-
}, p && Tt), M = f === !0 ? St({
|
|
274
|
-
x: c,
|
|
275
|
-
y: v
|
|
276
|
-
}, k(r)) : {
|
|
277
|
-
x: c,
|
|
278
|
-
y: v
|
|
279
|
-
};
|
|
280
|
-
if (c = M.x, v = M.y, o) {
|
|
281
|
-
var R;
|
|
282
|
-
return Object.assign({}, j, (R = {}, R[l] = O ? "0" : "", R[A] = b ? "0" : "", R.transform = (m.devicePixelRatio || 1) <= 1 ? "translate(" + c + "px, " + v + "px)" : "translate3d(" + c + "px, " + v + "px, 0)", R));
|
|
283
|
-
}
|
|
284
|
-
return Object.assign({}, j, (t = {}, t[l] = O ? v + "px" : "", t[A] = b ? c + "px" : "", t.transform = "", t));
|
|
285
|
-
}
|
|
286
|
-
function Lt(e) {
|
|
287
|
-
var t = e.state, r = e.options, n = r.gpuAcceleration, a = n === void 0 ? !0 : n, i = r.adaptive, u = i === void 0 ? !0 : i, s = r.roundOffsets, o = s === void 0 ? !0 : s, p = {
|
|
288
|
-
placement: H(t.placement),
|
|
289
|
-
variation: ee(t.placement),
|
|
290
|
-
popper: t.elements.popper,
|
|
291
|
-
popperRect: t.rects.popper,
|
|
292
|
-
gpuAcceleration: a,
|
|
293
|
-
isFixed: t.options.strategy === "fixed"
|
|
294
|
-
};
|
|
295
|
-
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Xe(Object.assign({}, p, {
|
|
296
|
-
offsets: t.modifiersData.popperOffsets,
|
|
297
|
-
position: t.options.strategy,
|
|
298
|
-
adaptive: u,
|
|
299
|
-
roundOffsets: o
|
|
300
|
-
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Xe(Object.assign({}, p, {
|
|
301
|
-
offsets: t.modifiersData.arrow,
|
|
302
|
-
position: "absolute",
|
|
303
|
-
adaptive: !1,
|
|
304
|
-
roundOffsets: o
|
|
305
|
-
})))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
|
306
|
-
"data-popper-placement": t.placement
|
|
307
|
-
});
|
|
308
|
-
}
|
|
309
|
-
const Mt = {
|
|
310
|
-
name: "computeStyles",
|
|
311
|
-
enabled: !0,
|
|
312
|
-
phase: "beforeWrite",
|
|
313
|
-
fn: Lt,
|
|
314
|
-
data: {}
|
|
315
|
-
};
|
|
316
|
-
var he = {
|
|
317
|
-
passive: !0
|
|
318
|
-
};
|
|
319
|
-
function Wt(e) {
|
|
320
|
-
var t = e.state, r = e.instance, n = e.options, a = n.scroll, i = a === void 0 ? !0 : a, u = n.resize, s = u === void 0 ? !0 : u, o = k(t.elements.popper), p = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
|
321
|
-
return i && p.forEach(function(f) {
|
|
322
|
-
f.addEventListener("scroll", r.update, he);
|
|
323
|
-
}), s && o.addEventListener("resize", r.update, he), function() {
|
|
324
|
-
i && p.forEach(function(f) {
|
|
325
|
-
f.removeEventListener("scroll", r.update, he);
|
|
326
|
-
}), s && o.removeEventListener("resize", r.update, he);
|
|
327
|
-
};
|
|
328
|
-
}
|
|
329
|
-
const Ht = {
|
|
330
|
-
name: "eventListeners",
|
|
331
|
-
enabled: !0,
|
|
332
|
-
phase: "write",
|
|
333
|
-
fn: function() {
|
|
334
|
-
},
|
|
335
|
-
effect: Wt,
|
|
336
|
-
data: {}
|
|
337
|
-
};
|
|
338
|
-
var Vt = {
|
|
339
|
-
left: "right",
|
|
340
|
-
right: "left",
|
|
341
|
-
bottom: "top",
|
|
342
|
-
top: "bottom"
|
|
343
|
-
};
|
|
344
|
-
function me(e) {
|
|
345
|
-
return e.replace(/left|right|bottom|top/g, function(t) {
|
|
346
|
-
return Vt[t];
|
|
347
|
-
});
|
|
348
|
-
}
|
|
349
|
-
var Nt = {
|
|
350
|
-
start: "end",
|
|
351
|
-
end: "start"
|
|
352
|
-
};
|
|
353
|
-
function Ie(e) {
|
|
354
|
-
return e.replace(/start|end/g, function(t) {
|
|
355
|
-
return Nt[t];
|
|
356
|
-
});
|
|
357
|
-
}
|
|
358
|
-
function Be(e) {
|
|
359
|
-
var t = k(e), r = t.pageXOffset, n = t.pageYOffset;
|
|
360
|
-
return {
|
|
361
|
-
scrollLeft: r,
|
|
362
|
-
scrollTop: n
|
|
363
|
-
};
|
|
364
|
-
}
|
|
365
|
-
function $e(e) {
|
|
366
|
-
return _(q(e)).left + Be(e).scrollLeft;
|
|
367
|
-
}
|
|
368
|
-
function Ft(e, t) {
|
|
369
|
-
var r = k(e), n = q(e), a = r.visualViewport, i = n.clientWidth, u = n.clientHeight, s = 0, o = 0;
|
|
370
|
-
if (a) {
|
|
371
|
-
i = a.width, u = a.height;
|
|
372
|
-
var p = Ze();
|
|
373
|
-
(p || !p && t === "fixed") && (s = a.offsetLeft, o = a.offsetTop);
|
|
374
|
-
}
|
|
375
|
-
return {
|
|
376
|
-
width: i,
|
|
377
|
-
height: u,
|
|
378
|
-
x: s + $e(e),
|
|
379
|
-
y: o
|
|
380
|
-
};
|
|
381
|
-
}
|
|
382
|
-
function qt(e) {
|
|
383
|
-
var t, r = q(e), n = Be(e), a = (t = e.ownerDocument) == null ? void 0 : t.body, i = G(r.scrollWidth, r.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), u = G(r.scrollHeight, r.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), s = -n.scrollLeft + $e(e), o = -n.scrollTop;
|
|
384
|
-
return N(a || r).direction === "rtl" && (s += G(r.clientWidth, a ? a.clientWidth : 0) - i), {
|
|
385
|
-
width: i,
|
|
386
|
-
height: u,
|
|
387
|
-
x: s,
|
|
388
|
-
y: o
|
|
389
|
-
};
|
|
390
|
-
}
|
|
391
|
-
function Ce(e) {
|
|
392
|
-
var t = N(e), r = t.overflow, n = t.overflowX, a = t.overflowY;
|
|
393
|
-
return /auto|scroll|overlay|hidden/.test(r + a + n);
|
|
394
|
-
}
|
|
395
|
-
function nt(e) {
|
|
396
|
-
return ["html", "body", "#document"].indexOf(V(e)) >= 0 ? e.ownerDocument.body : T(e) && Ce(e) ? e : nt(ye(e));
|
|
397
|
-
}
|
|
398
|
-
function ie(e, t) {
|
|
399
|
-
var r;
|
|
400
|
-
t === void 0 && (t = []);
|
|
401
|
-
var n = nt(e), a = n === ((r = e.ownerDocument) == null ? void 0 : r.body), i = k(n), u = a ? [i].concat(i.visualViewport || [], Ce(n) ? n : []) : n, s = t.concat(u);
|
|
402
|
-
return a ? s : (
|
|
403
|
-
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
404
|
-
s.concat(ie(ye(u)))
|
|
405
|
-
);
|
|
406
|
-
}
|
|
407
|
-
function Ee(e) {
|
|
408
|
-
return Object.assign({}, e, {
|
|
409
|
-
left: e.x,
|
|
410
|
-
top: e.y,
|
|
411
|
-
right: e.x + e.width,
|
|
412
|
-
bottom: e.y + e.height
|
|
413
|
-
});
|
|
414
|
-
}
|
|
415
|
-
function Xt(e, t) {
|
|
416
|
-
var r = _(e, !1, t === "fixed");
|
|
417
|
-
return r.top = r.top + e.clientTop, r.left = r.left + e.clientLeft, r.bottom = r.top + e.clientHeight, r.right = r.left + e.clientWidth, r.width = e.clientWidth, r.height = e.clientHeight, r.x = r.left, r.y = r.top, r;
|
|
418
|
-
}
|
|
419
|
-
function Ye(e, t, r) {
|
|
420
|
-
return t === Ke ? Ee(Ft(e, r)) : J(t) ? Xt(t, r) : Ee(qt(q(e)));
|
|
421
|
-
}
|
|
422
|
-
function It(e) {
|
|
423
|
-
var t = ie(ye(e)), r = ["absolute", "fixed"].indexOf(N(e).position) >= 0, n = r && T(e) ? ue(e) : e;
|
|
424
|
-
return J(n) ? t.filter(function(a) {
|
|
425
|
-
return J(a) && _e(a, n) && V(a) !== "body";
|
|
426
|
-
}) : [];
|
|
427
|
-
}
|
|
428
|
-
function Yt(e, t, r, n) {
|
|
429
|
-
var a = t === "clippingParents" ? It(e) : [].concat(t), i = [].concat(a, [r]), u = i[0], s = i.reduce(function(o, p) {
|
|
430
|
-
var f = Ye(e, p, n);
|
|
431
|
-
return o.top = G(f.top, o.top), o.right = ge(f.right, o.right), o.bottom = ge(f.bottom, o.bottom), o.left = G(f.left, o.left), o;
|
|
432
|
-
}, Ye(e, u, n));
|
|
433
|
-
return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
|
|
434
|
-
}
|
|
435
|
-
function at(e) {
|
|
436
|
-
var t = e.reference, r = e.element, n = e.placement, a = n ? H(n) : null, i = n ? ee(n) : null, u = t.x + t.width / 2 - r.width / 2, s = t.y + t.height / 2 - r.height / 2, o;
|
|
437
|
-
switch (a) {
|
|
438
|
-
case B:
|
|
439
|
-
o = {
|
|
440
|
-
x: u,
|
|
441
|
-
y: t.y - r.height
|
|
442
|
-
};
|
|
443
|
-
break;
|
|
444
|
-
case S:
|
|
445
|
-
o = {
|
|
446
|
-
x: u,
|
|
447
|
-
y: t.y + t.height
|
|
448
|
-
};
|
|
449
|
-
break;
|
|
450
|
-
case L:
|
|
451
|
-
o = {
|
|
452
|
-
x: t.x + t.width,
|
|
453
|
-
y: s
|
|
454
|
-
};
|
|
455
|
-
break;
|
|
456
|
-
case $:
|
|
457
|
-
o = {
|
|
458
|
-
x: t.x - r.width,
|
|
459
|
-
y: s
|
|
460
|
-
};
|
|
461
|
-
break;
|
|
462
|
-
default:
|
|
463
|
-
o = {
|
|
464
|
-
x: t.x,
|
|
465
|
-
y: t.y
|
|
466
|
-
};
|
|
467
|
-
}
|
|
468
|
-
var p = a ? Re(a) : null;
|
|
469
|
-
if (p != null) {
|
|
470
|
-
var f = p === "y" ? "height" : "width";
|
|
471
|
-
switch (i) {
|
|
472
|
-
case Q:
|
|
473
|
-
o[p] = o[p] - (t[f] / 2 - r[f] / 2);
|
|
474
|
-
break;
|
|
475
|
-
case oe:
|
|
476
|
-
o[p] = o[p] + (t[f] / 2 - r[f] / 2);
|
|
477
|
-
break;
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
return o;
|
|
481
|
-
}
|
|
482
|
-
function se(e, t) {
|
|
483
|
-
t === void 0 && (t = {});
|
|
484
|
-
var r = t, n = r.placement, a = n === void 0 ? e.placement : n, i = r.strategy, u = i === void 0 ? e.strategy : i, s = r.boundary, o = s === void 0 ? ct : s, p = r.rootBoundary, f = p === void 0 ? Ke : p, h = r.elementContext, y = h === void 0 ? ne : h, c = r.altBoundary, w = c === void 0 ? !1 : c, v = r.padding, d = v === void 0 ? 0 : v, b = tt(typeof d != "number" ? d : rt(d, fe)), O = y === ne ? lt : ne, A = e.rects.popper, l = e.elements[w ? O : y], m = Yt(J(l) ? l : l.contextElement || q(e.elements.popper), o, f, u), g = _(e.elements.reference), x = at({
|
|
485
|
-
reference: g,
|
|
486
|
-
element: A,
|
|
487
|
-
strategy: "absolute",
|
|
488
|
-
placement: a
|
|
489
|
-
}), D = Ee(Object.assign({}, A, x)), P = y === ne ? D : g, E = {
|
|
490
|
-
top: m.top - P.top + b.top,
|
|
491
|
-
bottom: P.bottom - m.bottom + b.bottom,
|
|
492
|
-
left: m.left - P.left + b.left,
|
|
493
|
-
right: P.right - m.right + b.right
|
|
494
|
-
}, j = e.modifiersData.offset;
|
|
495
|
-
if (y === ne && j) {
|
|
496
|
-
var M = j[a];
|
|
497
|
-
Object.keys(E).forEach(function(R) {
|
|
498
|
-
var X = [L, S].indexOf(R) >= 0 ? 1 : -1, I = [B, S].indexOf(R) >= 0 ? "y" : "x";
|
|
499
|
-
E[R] += M[I] * X;
|
|
500
|
-
});
|
|
501
|
-
}
|
|
502
|
-
return E;
|
|
503
|
-
}
|
|
504
|
-
function zt(e, t) {
|
|
505
|
-
t === void 0 && (t = {});
|
|
506
|
-
var r = t, n = r.placement, a = r.boundary, i = r.rootBoundary, u = r.padding, s = r.flipVariations, o = r.allowedAutoPlacements, p = o === void 0 ? Qe : o, f = ee(n), h = f ? s ? Fe : Fe.filter(function(w) {
|
|
507
|
-
return ee(w) === f;
|
|
508
|
-
}) : fe, y = h.filter(function(w) {
|
|
509
|
-
return p.indexOf(w) >= 0;
|
|
510
|
-
});
|
|
511
|
-
y.length === 0 && (y = h);
|
|
512
|
-
var c = y.reduce(function(w, v) {
|
|
513
|
-
return w[v] = se(e, {
|
|
514
|
-
placement: v,
|
|
515
|
-
boundary: a,
|
|
516
|
-
rootBoundary: i,
|
|
517
|
-
padding: u
|
|
518
|
-
})[H(v)], w;
|
|
519
|
-
}, {});
|
|
520
|
-
return Object.keys(c).sort(function(w, v) {
|
|
521
|
-
return c[w] - c[v];
|
|
522
|
-
});
|
|
523
|
-
}
|
|
524
|
-
function Ut(e) {
|
|
525
|
-
if (H(e) === Pe)
|
|
526
|
-
return [];
|
|
527
|
-
var t = me(e);
|
|
528
|
-
return [Ie(e), t, Ie(t)];
|
|
529
|
-
}
|
|
530
|
-
function Gt(e) {
|
|
531
|
-
var t = e.state, r = e.options, n = e.name;
|
|
532
|
-
if (!t.modifiersData[n]._skip) {
|
|
533
|
-
for (var a = r.mainAxis, i = a === void 0 ? !0 : a, u = r.altAxis, s = u === void 0 ? !0 : u, o = r.fallbackPlacements, p = r.padding, f = r.boundary, h = r.rootBoundary, y = r.altBoundary, c = r.flipVariations, w = c === void 0 ? !0 : c, v = r.allowedAutoPlacements, d = t.options.placement, b = H(d), O = b === d, A = o || (O || !w ? [me(d)] : Ut(d)), l = [d].concat(A).reduce(function(K, F) {
|
|
534
|
-
return K.concat(H(F) === Pe ? zt(t, {
|
|
535
|
-
placement: F,
|
|
536
|
-
boundary: f,
|
|
537
|
-
rootBoundary: h,
|
|
538
|
-
padding: p,
|
|
539
|
-
flipVariations: w,
|
|
540
|
-
allowedAutoPlacements: v
|
|
541
|
-
}) : F);
|
|
542
|
-
}, []), m = t.rects.reference, g = t.rects.popper, x = /* @__PURE__ */ new Map(), D = !0, P = l[0], E = 0; E < l.length; E++) {
|
|
543
|
-
var j = l[E], M = H(j), R = ee(j) === Q, X = [B, S].indexOf(M) >= 0, I = X ? "width" : "height", C = se(t, {
|
|
544
|
-
placement: j,
|
|
545
|
-
boundary: f,
|
|
546
|
-
rootBoundary: h,
|
|
547
|
-
altBoundary: y,
|
|
548
|
-
padding: p
|
|
549
|
-
}), W = X ? R ? L : $ : R ? S : B;
|
|
550
|
-
m[I] > g[I] && (W = me(W));
|
|
551
|
-
var pe = me(W), Y = [];
|
|
552
|
-
if (i && Y.push(C[M] <= 0), s && Y.push(C[W] <= 0, C[pe] <= 0), Y.every(function(K) {
|
|
553
|
-
return K;
|
|
554
|
-
})) {
|
|
555
|
-
P = j, D = !1;
|
|
556
|
-
break;
|
|
557
|
-
}
|
|
558
|
-
x.set(j, Y);
|
|
559
|
-
}
|
|
560
|
-
if (D)
|
|
561
|
-
for (var ce = w ? 3 : 1, be = function(F) {
|
|
562
|
-
var re = l.find(function(de) {
|
|
563
|
-
var z = x.get(de);
|
|
564
|
-
if (z)
|
|
565
|
-
return z.slice(0, F).every(function(we) {
|
|
566
|
-
return we;
|
|
567
|
-
});
|
|
568
|
-
});
|
|
569
|
-
if (re)
|
|
570
|
-
return P = re, "break";
|
|
571
|
-
}, te = ce; te > 0; te--) {
|
|
572
|
-
var le = be(te);
|
|
573
|
-
if (le === "break") break;
|
|
574
|
-
}
|
|
575
|
-
t.placement !== P && (t.modifiersData[n]._skip = !0, t.placement = P, t.reset = !0);
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
const Jt = {
|
|
579
|
-
name: "flip",
|
|
580
|
-
enabled: !0,
|
|
581
|
-
phase: "main",
|
|
582
|
-
fn: Gt,
|
|
583
|
-
requiresIfExists: ["offset"],
|
|
584
|
-
data: {
|
|
585
|
-
_skip: !1
|
|
586
|
-
}
|
|
587
|
-
};
|
|
588
|
-
function ze(e, t, r) {
|
|
589
|
-
return r === void 0 && (r = {
|
|
590
|
-
x: 0,
|
|
591
|
-
y: 0
|
|
592
|
-
}), {
|
|
593
|
-
top: e.top - t.height - r.y,
|
|
594
|
-
right: e.right - t.width + r.x,
|
|
595
|
-
bottom: e.bottom - t.height + r.y,
|
|
596
|
-
left: e.left - t.width - r.x
|
|
597
|
-
};
|
|
598
|
-
}
|
|
599
|
-
function Ue(e) {
|
|
600
|
-
return [B, L, S, $].some(function(t) {
|
|
601
|
-
return e[t] >= 0;
|
|
602
|
-
});
|
|
603
|
-
}
|
|
604
|
-
function Kt(e) {
|
|
605
|
-
var t = e.state, r = e.name, n = t.rects.reference, a = t.rects.popper, i = t.modifiersData.preventOverflow, u = se(t, {
|
|
606
|
-
elementContext: "reference"
|
|
607
|
-
}), s = se(t, {
|
|
608
|
-
altBoundary: !0
|
|
609
|
-
}), o = ze(u, n), p = ze(s, a, i), f = Ue(o), h = Ue(p);
|
|
610
|
-
t.modifiersData[r] = {
|
|
611
|
-
referenceClippingOffsets: o,
|
|
612
|
-
popperEscapeOffsets: p,
|
|
613
|
-
isReferenceHidden: f,
|
|
614
|
-
hasPopperEscaped: h
|
|
615
|
-
}, t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
|
616
|
-
"data-popper-reference-hidden": f,
|
|
617
|
-
"data-popper-escaped": h
|
|
618
|
-
});
|
|
619
|
-
}
|
|
620
|
-
const Qt = {
|
|
621
|
-
name: "hide",
|
|
622
|
-
enabled: !0,
|
|
623
|
-
phase: "main",
|
|
624
|
-
requiresIfExists: ["preventOverflow"],
|
|
625
|
-
fn: Kt
|
|
626
|
-
};
|
|
627
|
-
function Zt(e, t, r) {
|
|
628
|
-
var n = H(e), a = [$, B].indexOf(n) >= 0 ? -1 : 1, i = typeof r == "function" ? r(Object.assign({}, t, {
|
|
629
|
-
placement: e
|
|
630
|
-
})) : r, u = i[0], s = i[1];
|
|
631
|
-
return u = u || 0, s = (s || 0) * a, [$, L].indexOf(n) >= 0 ? {
|
|
632
|
-
x: s,
|
|
633
|
-
y: u
|
|
634
|
-
} : {
|
|
635
|
-
x: u,
|
|
636
|
-
y: s
|
|
637
|
-
};
|
|
638
|
-
}
|
|
639
|
-
function _t(e) {
|
|
640
|
-
var t = e.state, r = e.options, n = e.name, a = r.offset, i = a === void 0 ? [0, 0] : a, u = Qe.reduce(function(f, h) {
|
|
641
|
-
return f[h] = Zt(h, t.rects, i), f;
|
|
642
|
-
}, {}), s = u[t.placement], o = s.x, p = s.y;
|
|
643
|
-
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += o, t.modifiersData.popperOffsets.y += p), t.modifiersData[n] = u;
|
|
644
|
-
}
|
|
645
|
-
const er = {
|
|
646
|
-
name: "offset",
|
|
647
|
-
enabled: !0,
|
|
648
|
-
phase: "main",
|
|
649
|
-
requires: ["popperOffsets"],
|
|
650
|
-
fn: _t
|
|
651
|
-
};
|
|
652
|
-
function tr(e) {
|
|
653
|
-
var t = e.state, r = e.name;
|
|
654
|
-
t.modifiersData[r] = at({
|
|
655
|
-
reference: t.rects.reference,
|
|
656
|
-
element: t.rects.popper,
|
|
657
|
-
strategy: "absolute",
|
|
658
|
-
placement: t.placement
|
|
659
|
-
});
|
|
660
|
-
}
|
|
661
|
-
const rr = {
|
|
662
|
-
name: "popperOffsets",
|
|
663
|
-
enabled: !0,
|
|
664
|
-
phase: "read",
|
|
665
|
-
fn: tr,
|
|
666
|
-
data: {}
|
|
667
|
-
};
|
|
668
|
-
function nr(e) {
|
|
669
|
-
return e === "x" ? "y" : "x";
|
|
670
|
-
}
|
|
671
|
-
function ar(e) {
|
|
672
|
-
var t = e.state, r = e.options, n = e.name, a = r.mainAxis, i = a === void 0 ? !0 : a, u = r.altAxis, s = u === void 0 ? !1 : u, o = r.boundary, p = r.rootBoundary, f = r.altBoundary, h = r.padding, y = r.tether, c = y === void 0 ? !0 : y, w = r.tetherOffset, v = w === void 0 ? 0 : w, d = se(t, {
|
|
673
|
-
boundary: o,
|
|
674
|
-
rootBoundary: p,
|
|
675
|
-
padding: h,
|
|
676
|
-
altBoundary: f
|
|
677
|
-
}), b = H(t.placement), O = ee(t.placement), A = !O, l = Re(b), m = nr(l), g = t.modifiersData.popperOffsets, x = t.rects.reference, D = t.rects.popper, P = typeof v == "function" ? v(Object.assign({}, t.rects, {
|
|
678
|
-
placement: t.placement
|
|
679
|
-
})) : v, E = typeof P == "number" ? {
|
|
680
|
-
mainAxis: P,
|
|
681
|
-
altAxis: P
|
|
682
|
-
} : Object.assign({
|
|
683
|
-
mainAxis: 0,
|
|
684
|
-
altAxis: 0
|
|
685
|
-
}, P), j = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, M = {
|
|
686
|
-
x: 0,
|
|
687
|
-
y: 0
|
|
688
|
-
};
|
|
689
|
-
if (g) {
|
|
690
|
-
if (i) {
|
|
691
|
-
var R, X = l === "y" ? B : $, I = l === "y" ? S : L, C = l === "y" ? "height" : "width", W = g[l], pe = W + d[X], Y = W - d[I], ce = c ? -D[C] / 2 : 0, be = O === Q ? x[C] : D[C], te = O === Q ? -D[C] : -x[C], le = t.elements.arrow, K = c && le ? je(le) : {
|
|
692
|
-
width: 0,
|
|
693
|
-
height: 0
|
|
694
|
-
}, F = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : et(), re = F[X], de = F[I], z = ae(0, x[C], K[C]), we = A ? x[C] / 2 - ce - z - re - E.mainAxis : be - z - re - E.mainAxis, it = A ? -x[C] / 2 + ce + z + de + E.mainAxis : te + z + de + E.mainAxis, xe = t.elements.arrow && ue(t.elements.arrow), ot = xe ? l === "y" ? xe.clientTop || 0 : xe.clientLeft || 0 : 0, ke = (R = j == null ? void 0 : j[l]) != null ? R : 0, st = W + we - ke - ot, ft = W + it - ke, Te = ae(c ? ge(pe, st) : pe, W, c ? G(Y, ft) : Y);
|
|
695
|
-
g[l] = Te, M[l] = Te - W;
|
|
696
|
-
}
|
|
697
|
-
if (s) {
|
|
698
|
-
var Se, ut = l === "x" ? B : $, pt = l === "x" ? S : L, U = g[m], ve = m === "y" ? "height" : "width", Le = U + d[ut], Me = U - d[pt], Oe = [B, $].indexOf(b) !== -1, We = (Se = j == null ? void 0 : j[m]) != null ? Se : 0, He = Oe ? Le : U - x[ve] - D[ve] - We + E.altAxis, Ve = Oe ? U + x[ve] + D[ve] - We - E.altAxis : Me, Ne = c && Oe ? Rt(He, U, Ve) : ae(c ? He : Le, U, c ? Ve : Me);
|
|
699
|
-
g[m] = Ne, M[m] = Ne - U;
|
|
700
|
-
}
|
|
701
|
-
t.modifiersData[n] = M;
|
|
702
|
-
}
|
|
703
|
-
}
|
|
704
|
-
const ir = {
|
|
705
|
-
name: "preventOverflow",
|
|
706
|
-
enabled: !0,
|
|
707
|
-
phase: "main",
|
|
708
|
-
fn: ar,
|
|
709
|
-
requiresIfExists: ["offset"]
|
|
710
|
-
};
|
|
711
|
-
function or(e) {
|
|
712
|
-
return {
|
|
713
|
-
scrollLeft: e.scrollLeft,
|
|
714
|
-
scrollTop: e.scrollTop
|
|
715
|
-
};
|
|
716
|
-
}
|
|
717
|
-
function sr(e) {
|
|
718
|
-
return e === k(e) || !T(e) ? Be(e) : or(e);
|
|
719
|
-
}
|
|
720
|
-
function fr(e) {
|
|
721
|
-
var t = e.getBoundingClientRect(), r = Z(t.width) / e.offsetWidth || 1, n = Z(t.height) / e.offsetHeight || 1;
|
|
722
|
-
return r !== 1 || n !== 1;
|
|
723
|
-
}
|
|
724
|
-
function ur(e, t, r) {
|
|
725
|
-
r === void 0 && (r = !1);
|
|
726
|
-
var n = T(t), a = T(t) && fr(t), i = q(t), u = _(e, a, r), s = {
|
|
727
|
-
scrollLeft: 0,
|
|
728
|
-
scrollTop: 0
|
|
729
|
-
}, o = {
|
|
730
|
-
x: 0,
|
|
731
|
-
y: 0
|
|
732
|
-
};
|
|
733
|
-
return (n || !n && !r) && ((V(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
734
|
-
Ce(i)) && (s = sr(t)), T(t) ? (o = _(t, !0), o.x += t.clientLeft, o.y += t.clientTop) : i && (o.x = $e(i))), {
|
|
735
|
-
x: u.left + s.scrollLeft - o.x,
|
|
736
|
-
y: u.top + s.scrollTop - o.y,
|
|
737
|
-
width: u.width,
|
|
738
|
-
height: u.height
|
|
739
|
-
};
|
|
740
|
-
}
|
|
741
|
-
function pr(e) {
|
|
742
|
-
var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), n = [];
|
|
743
|
-
e.forEach(function(i) {
|
|
744
|
-
t.set(i.name, i);
|
|
745
|
-
});
|
|
746
|
-
function a(i) {
|
|
747
|
-
r.add(i.name);
|
|
748
|
-
var u = [].concat(i.requires || [], i.requiresIfExists || []);
|
|
749
|
-
u.forEach(function(s) {
|
|
750
|
-
if (!r.has(s)) {
|
|
751
|
-
var o = t.get(s);
|
|
752
|
-
o && a(o);
|
|
753
|
-
}
|
|
754
|
-
}), n.push(i);
|
|
755
|
-
}
|
|
756
|
-
return e.forEach(function(i) {
|
|
757
|
-
r.has(i.name) || a(i);
|
|
758
|
-
}), n;
|
|
759
|
-
}
|
|
760
|
-
function cr(e) {
|
|
761
|
-
var t = pr(e);
|
|
762
|
-
return Ot.reduce(function(r, n) {
|
|
763
|
-
return r.concat(t.filter(function(a) {
|
|
764
|
-
return a.phase === n;
|
|
765
|
-
}));
|
|
766
|
-
}, []);
|
|
767
|
-
}
|
|
768
|
-
function lr(e) {
|
|
769
|
-
var t;
|
|
770
|
-
return function() {
|
|
771
|
-
return t || (t = new Promise(function(r) {
|
|
772
|
-
Promise.resolve().then(function() {
|
|
773
|
-
t = void 0, r(e());
|
|
774
|
-
});
|
|
775
|
-
})), t;
|
|
776
|
-
};
|
|
777
|
-
}
|
|
778
|
-
function dr(e) {
|
|
779
|
-
var t = e.reduce(function(r, n) {
|
|
780
|
-
var a = r[n.name];
|
|
781
|
-
return r[n.name] = a ? Object.assign({}, a, n, {
|
|
782
|
-
options: Object.assign({}, a.options, n.options),
|
|
783
|
-
data: Object.assign({}, a.data, n.data)
|
|
784
|
-
}) : n, r;
|
|
785
|
-
}, {});
|
|
786
|
-
return Object.keys(t).map(function(r) {
|
|
787
|
-
return t[r];
|
|
788
|
-
});
|
|
789
|
-
}
|
|
790
|
-
var Ge = {
|
|
791
|
-
placement: "bottom",
|
|
792
|
-
modifiers: [],
|
|
793
|
-
strategy: "absolute"
|
|
794
|
-
};
|
|
795
|
-
function Je() {
|
|
796
|
-
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
797
|
-
t[r] = arguments[r];
|
|
798
|
-
return !t.some(function(n) {
|
|
799
|
-
return !(n && typeof n.getBoundingClientRect == "function");
|
|
800
|
-
});
|
|
801
|
-
}
|
|
802
|
-
function vr(e) {
|
|
803
|
-
e === void 0 && (e = {});
|
|
804
|
-
var t = e, r = t.defaultModifiers, n = r === void 0 ? [] : r, a = t.defaultOptions, i = a === void 0 ? Ge : a;
|
|
805
|
-
return function(s, o, p) {
|
|
806
|
-
p === void 0 && (p = i);
|
|
807
|
-
var f = {
|
|
808
|
-
placement: "bottom",
|
|
809
|
-
orderedModifiers: [],
|
|
810
|
-
options: Object.assign({}, Ge, i),
|
|
811
|
-
modifiersData: {},
|
|
812
|
-
elements: {
|
|
813
|
-
reference: s,
|
|
814
|
-
popper: o
|
|
815
|
-
},
|
|
816
|
-
attributes: {},
|
|
817
|
-
styles: {}
|
|
818
|
-
}, h = [], y = !1, c = {
|
|
819
|
-
state: f,
|
|
820
|
-
setOptions: function(b) {
|
|
821
|
-
var O = typeof b == "function" ? b(f.options) : b;
|
|
822
|
-
v(), f.options = Object.assign({}, i, f.options, O), f.scrollParents = {
|
|
823
|
-
reference: J(s) ? ie(s) : s.contextElement ? ie(s.contextElement) : [],
|
|
824
|
-
popper: ie(o)
|
|
825
|
-
};
|
|
826
|
-
var A = cr(dr([].concat(n, f.options.modifiers)));
|
|
827
|
-
return f.orderedModifiers = A.filter(function(l) {
|
|
828
|
-
return l.enabled;
|
|
829
|
-
}), w(), c.update();
|
|
830
|
-
},
|
|
831
|
-
// Sync update – it will always be executed, even if not necessary. This
|
|
832
|
-
// is useful for low frequency updates where sync behavior simplifies the
|
|
833
|
-
// logic.
|
|
834
|
-
// For high frequency updates (e.g. `resize` and `scroll` events), always
|
|
835
|
-
// prefer the async Popper#update method
|
|
836
|
-
forceUpdate: function() {
|
|
837
|
-
if (!y) {
|
|
838
|
-
var b = f.elements, O = b.reference, A = b.popper;
|
|
839
|
-
if (Je(O, A)) {
|
|
840
|
-
f.rects = {
|
|
841
|
-
reference: ur(O, ue(A), f.options.strategy === "fixed"),
|
|
842
|
-
popper: je(A)
|
|
843
|
-
}, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(E) {
|
|
844
|
-
return f.modifiersData[E.name] = Object.assign({}, E.data);
|
|
845
|
-
});
|
|
846
|
-
for (var l = 0; l < f.orderedModifiers.length; l++) {
|
|
847
|
-
if (f.reset === !0) {
|
|
848
|
-
f.reset = !1, l = -1;
|
|
849
|
-
continue;
|
|
850
|
-
}
|
|
851
|
-
var m = f.orderedModifiers[l], g = m.fn, x = m.options, D = x === void 0 ? {} : x, P = m.name;
|
|
852
|
-
typeof g == "function" && (f = g({
|
|
853
|
-
state: f,
|
|
854
|
-
options: D,
|
|
855
|
-
name: P,
|
|
856
|
-
instance: c
|
|
857
|
-
}) || f);
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
}
|
|
861
|
-
},
|
|
862
|
-
// Async and optimistically optimized update – it will not be executed if
|
|
863
|
-
// not necessary (debounced to run at most once-per-tick)
|
|
864
|
-
update: lr(function() {
|
|
865
|
-
return new Promise(function(d) {
|
|
866
|
-
c.forceUpdate(), d(f);
|
|
867
|
-
});
|
|
868
|
-
}),
|
|
869
|
-
destroy: function() {
|
|
870
|
-
v(), y = !0;
|
|
871
|
-
}
|
|
872
|
-
};
|
|
873
|
-
if (!Je(s, o))
|
|
874
|
-
return c;
|
|
875
|
-
c.setOptions(p).then(function(d) {
|
|
876
|
-
!y && p.onFirstUpdate && p.onFirstUpdate(d);
|
|
877
|
-
});
|
|
878
|
-
function w() {
|
|
879
|
-
f.orderedModifiers.forEach(function(d) {
|
|
880
|
-
var b = d.name, O = d.options, A = O === void 0 ? {} : O, l = d.effect;
|
|
881
|
-
if (typeof l == "function") {
|
|
882
|
-
var m = l({
|
|
883
|
-
state: f,
|
|
884
|
-
name: b,
|
|
885
|
-
instance: c,
|
|
886
|
-
options: A
|
|
887
|
-
}), g = function() {
|
|
888
|
-
};
|
|
889
|
-
h.push(m || g);
|
|
890
|
-
}
|
|
891
|
-
});
|
|
892
|
-
}
|
|
893
|
-
function v() {
|
|
894
|
-
h.forEach(function(d) {
|
|
895
|
-
return d();
|
|
896
|
-
}), h = [];
|
|
897
|
-
}
|
|
898
|
-
return c;
|
|
899
|
-
};
|
|
900
|
-
}
|
|
901
|
-
var hr = [Ht, rr, Mt, Pt, er, Jt, ir, kt, Qt], mr = /* @__PURE__ */ vr({
|
|
902
|
-
defaultModifiers: hr
|
|
903
|
-
});
|
|
904
|
-
export {
|
|
905
|
-
Pt as a,
|
|
906
|
-
mr as c
|
|
907
|
-
};
|