@quoreadmin/ui 1.11.0 → 1.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index142.js +1 -1
- package/dist/index189.js +4 -4
- package/dist/index196.js +8 -8
- package/dist/index198.js +8 -8
- package/dist/index201.js +17 -17
- package/dist/index204.js +26 -26
- package/dist/index205.js +1 -1
- package/dist/index206.js +1 -1
- package/dist/index209.js +2 -2
- package/dist/index211.js +14 -14
- package/dist/index212.js +1 -1
- package/dist/index213.js +1 -1
- package/dist/index214.js +3 -3
- package/dist/index215.js +6 -6
- package/dist/index219.js +2 -2
- package/dist/index220.js +1 -1
- package/dist/index222.js +4 -4
- package/dist/index224.js +1 -1
- package/dist/index225.js +1 -1
- package/dist/index226.js +1 -1
- package/dist/index227.js +4 -4
- package/dist/index229.js +1 -1
- package/dist/index230.js +2 -2
- package/dist/index231.js +2 -2
- package/dist/index232.js +1 -1
- package/dist/index233.js +156 -122
- package/dist/index234.js +225 -35
- package/dist/index235.js +37 -80
- package/dist/index236.js +10 -20
- package/dist/index237.js +126 -19
- package/dist/index238.js +34 -16
- package/dist/index239.js +80 -20
- package/dist/index240.js +9 -9
- package/dist/index241.js +19 -160
- package/dist/index242.js +11 -11
- package/dist/index243.js +13 -15
- package/dist/index244.js +19 -198
- package/dist/index245.js +140 -49
- package/dist/index246.js +20 -34
- package/dist/index247.js +21 -39
- package/dist/index248.js +184 -238
- package/dist/index249.js +70 -8
- package/dist/index250.js +32 -136
- package/dist/index251.js +39 -82
- package/dist/index252.js +247 -155
- package/dist/index253.js +7 -227
- package/dist/index254.js +137 -36
- package/dist/index255.js +83 -10
- package/dist/index256.js +2 -22
- package/dist/index257.js +78 -21
- package/dist/index258.js +15 -13
- package/dist/index259.js +22 -836
- package/dist/index260.js +19 -701
- package/dist/index261.js +835 -175
- package/dist/index262.js +701 -21
- package/dist/index263.js +176 -20
- package/dist/index264.js +13 -11
- package/dist/index265.js +20 -3
- package/dist/index266.js +19 -186
- package/dist/index267.js +3 -133
- package/dist/index268.js +107 -1143
- package/dist/index269.js +132 -19
- package/dist/index270.js +1223 -22
- package/dist/index271.js +13 -15
- package/dist/index272.js +13 -20
- package/dist/index273.js +15 -13
- package/dist/index274.js +21 -12
- package/dist/index275.js +20 -2
- package/dist/index276.js +20 -2
- package/dist/index277.js +2 -3709
- package/dist/index278.js +2 -60
- package/dist/index279.js +3686 -60
- package/dist/index280.js +37 -29
- package/dist/index281.js +51 -183
- package/dist/index282.js +51 -9
- package/dist/index283.js +197 -39
- package/dist/index284.js +9 -60
- package/dist/index285.js +43 -40
- package/dist/index286.js +44 -64
- package/dist/index287.js +33 -707
- package/dist/index288.js +63 -29
- package/dist/index289.js +696 -32
- package/dist/index290.js +46 -10
- package/dist/index291.js +55 -696
- package/dist/index292.js +10 -819
- package/dist/index293.js +705 -2
- package/dist/index294.js +814 -73
- package/dist/index295.js +1 -1
- package/dist/index296.js +1 -1
- package/dist/index297.js +1 -1
- package/dist/index298.js +1 -1
- package/dist/index299.js +1 -1
- package/dist/index300.js +1 -1
- package/dist/index301.js +1 -1
- package/dist/index302.js +3 -79
- package/dist/index303.js +26 -21
- package/dist/index304.js +52 -929
- package/dist/index305.js +36 -21
- package/dist/index306.js +234 -19
- package/dist/index307.js +5 -19
- package/dist/index308.js +128 -63
- package/dist/index309.js +68 -19
- package/dist/index310.js +85 -17
- package/dist/index311.js +28 -21
- package/dist/index312.js +7 -20
- package/dist/index313.js +75 -63
- package/dist/index314.js +3 -83
- package/dist/index315.js +2 -3
- package/dist/index316.js +81 -25
- package/dist/index317.js +49 -1529
- package/dist/index318.js +4 -384
- package/dist/index319.js +4 -2730
- package/dist/index320.js +170 -77
- package/dist/index321.js +55 -3790
- package/dist/index322.js +75 -60
- package/dist/index323.js +1533 -14
- package/dist/index324.js +371 -69
- package/dist/index325.js +2687 -158
- package/dist/index326.js +73 -233
- package/dist/index327.js +3789 -28
- package/dist/index328.js +51 -121
- package/dist/index329.js +14 -399
- package/dist/index330.js +75 -226
- package/dist/index331.js +200 -4
- package/dist/index332.js +236 -124
- package/dist/index333.js +77 -66
- package/dist/index334.js +21 -86
- package/dist/index335.js +932 -26
- package/dist/index336.js +21 -8
- package/dist/index337.js +19 -74
- package/dist/index338.js +19 -3
- package/dist/index339.js +69 -2
- package/dist/index340.js +18 -82
- package/dist/index341.js +17 -52
- package/dist/index342.js +21 -5
- package/dist/index343.js +21 -4
- package/dist/index344.js +62 -178
- package/dist/index345.js +123 -57
- package/dist/index346.js +398 -74
- package/dist/index347.js +8 -19
- package/dist/index348.js +12 -19
- package/dist/index349.js +51 -60
- package/dist/index350.js +12 -37
- package/dist/index351.js +13 -8
- package/dist/index352.js +57 -12
- package/dist/index353.js +48 -51
- package/dist/index354.js +28 -9
- package/dist/index355.js +2 -14
- package/dist/index356.js +5 -58
- package/dist/index357.js +2 -52
- package/dist/index358.js +22 -30
- package/dist/index359.js +41 -2
- package/dist/index360.js +2 -5
- package/dist/index361.js +11 -2
- package/dist/index362.js +19 -22
- package/dist/index363.js +9 -40
- package/dist/index364.js +10 -2
- package/dist/index365.js +16 -10
- package/dist/index366.js +2 -20
- package/dist/index367.js +8 -9
- package/dist/index368.js +10 -10
- package/dist/index369.js +12 -15
- package/dist/index370.js +21 -2
- package/dist/index371.js +56 -9
- package/dist/index372.js +28 -9
- package/dist/index373.js +7 -14
- package/dist/index374.js +49 -18
- package/dist/index375.js +6 -56
- package/dist/index376.js +10 -27
- package/dist/index377.js +7 -7
- package/dist/index378.js +27 -51
- package/dist/index379.js +2 -6
- package/dist/index380.js +69 -11
- package/dist/index381.js +166 -6
- package/dist/index382.js +20 -28
- package/dist/index383.js +20 -2
- package/dist/index384.js +61 -67
- package/dist/index385.js +36 -166
- package/dist/index387.js +31 -17
- package/dist/index388.js +10 -100
- package/dist/index389.js +3 -90
- package/dist/index390.js +4 -98
- package/dist/index391.js +12 -30
- package/dist/index392.js +7 -11
- package/dist/index393.js +11 -3
- package/dist/index394.js +4 -3
- package/dist/index395.js +33 -13
- package/dist/index396.js +31 -7
- package/dist/index397.js +28 -12
- package/dist/index398.js +61 -5
- package/dist/index399.js +101 -33
- package/dist/index400.js +91 -31
- package/dist/index401.js +97 -27
- package/dist/index402.js +16 -60
- package/dist/index403.js +240 -281
- package/dist/index405.js +1 -1
- package/dist/index410.js +1 -1
- package/dist/index411.js +2 -2
- package/dist/index42.js +2 -2
- package/package.json +1 -1
package/dist/index344.js
CHANGED
|
@@ -1,181 +1,65 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
for (const u of t) {
|
|
63
|
-
if (!i.isArray(u))
|
|
64
|
-
throw TypeError("Object iterator must return a key-value pair");
|
|
65
|
-
c[a = u[0]] = (l = c[a]) ? i.isArray(l) ? [...l, u[1]] : [l, u[1]] : u[1];
|
|
66
|
-
}
|
|
67
|
-
f(c, e);
|
|
68
|
-
} else
|
|
69
|
-
t != null && o(e, t, s);
|
|
70
|
-
return this;
|
|
71
|
-
}
|
|
72
|
-
get(t, e) {
|
|
73
|
-
if (t = y(t), t) {
|
|
74
|
-
const s = i.findKey(this, t);
|
|
75
|
-
if (s) {
|
|
76
|
-
const n = this[s];
|
|
77
|
-
if (!e)
|
|
78
|
-
return n;
|
|
79
|
-
if (e === !0)
|
|
80
|
-
return A(n);
|
|
81
|
-
if (i.isFunction(e))
|
|
82
|
-
return e.call(this, n, s);
|
|
83
|
-
if (i.isRegExp(e))
|
|
84
|
-
return e.exec(n);
|
|
85
|
-
throw new TypeError("parser must be boolean|regexp|function");
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
has(t, e) {
|
|
90
|
-
if (t = y(t), t) {
|
|
91
|
-
const s = i.findKey(this, t);
|
|
92
|
-
return !!(s && this[s] !== void 0 && (!e || g(this, this[s], s, e)));
|
|
93
|
-
}
|
|
94
|
-
return !1;
|
|
95
|
-
}
|
|
96
|
-
delete(t, e) {
|
|
97
|
-
const s = this;
|
|
98
|
-
let n = !1;
|
|
99
|
-
function o(f) {
|
|
100
|
-
if (f = y(f), f) {
|
|
101
|
-
const c = i.findKey(s, f);
|
|
102
|
-
c && (!e || g(s, s[c], c, e)) && (delete s[c], n = !0);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
return i.isArray(t) ? t.forEach(o) : o(t), n;
|
|
106
|
-
}
|
|
107
|
-
clear(t) {
|
|
108
|
-
const e = Object.keys(this);
|
|
109
|
-
let s = e.length, n = !1;
|
|
110
|
-
for (; s--; ) {
|
|
111
|
-
const o = e[s];
|
|
112
|
-
(!t || g(this, this[o], o, t, !0)) && (delete this[o], n = !0);
|
|
113
|
-
}
|
|
114
|
-
return n;
|
|
115
|
-
}
|
|
116
|
-
normalize(t) {
|
|
117
|
-
const e = this, s = {};
|
|
118
|
-
return i.forEach(this, (n, o) => {
|
|
119
|
-
const f = i.findKey(s, o);
|
|
120
|
-
if (f) {
|
|
121
|
-
e[f] = m(n), delete e[o];
|
|
122
|
-
return;
|
|
123
|
-
}
|
|
124
|
-
const c = t ? E(o) : String(o).trim();
|
|
125
|
-
c !== o && delete e[o], e[c] = m(n), s[c] = !0;
|
|
126
|
-
}), this;
|
|
127
|
-
}
|
|
128
|
-
concat(...t) {
|
|
129
|
-
return this.constructor.concat(this, ...t);
|
|
130
|
-
}
|
|
131
|
-
toJSON(t) {
|
|
132
|
-
const e = /* @__PURE__ */ Object.create(null);
|
|
133
|
-
return i.forEach(this, (s, n) => {
|
|
134
|
-
s != null && s !== !1 && (e[n] = t && i.isArray(s) ? s.join(", ") : s);
|
|
135
|
-
}), e;
|
|
136
|
-
}
|
|
137
|
-
[Symbol.iterator]() {
|
|
138
|
-
return Object.entries(this.toJSON())[Symbol.iterator]();
|
|
139
|
-
}
|
|
140
|
-
toString() {
|
|
141
|
-
return Object.entries(this.toJSON()).map(([t, e]) => t + ": " + e).join(`
|
|
142
|
-
`);
|
|
143
|
-
}
|
|
144
|
-
getSetCookie() {
|
|
145
|
-
return this.get("set-cookie") || [];
|
|
146
|
-
}
|
|
147
|
-
get [Symbol.toStringTag]() {
|
|
148
|
-
return "AxiosHeaders";
|
|
149
|
-
}
|
|
150
|
-
static from(t) {
|
|
151
|
-
return t instanceof this ? t : new this(t);
|
|
152
|
-
}
|
|
153
|
-
static concat(t, ...e) {
|
|
154
|
-
const s = new this(t);
|
|
155
|
-
return e.forEach((n) => s.set(n)), s;
|
|
156
|
-
}
|
|
157
|
-
static accessor(t) {
|
|
158
|
-
const s = (this[h] = this[h] = {
|
|
159
|
-
accessors: {}
|
|
160
|
-
}).accessors, n = this.prototype;
|
|
161
|
-
function o(f) {
|
|
162
|
-
const c = y(f);
|
|
163
|
-
s[c] || (j(n, f), s[c] = !0);
|
|
164
|
-
}
|
|
165
|
-
return i.isArray(t) ? t.forEach(o) : o(t), this;
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
b.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
|
169
|
-
i.reduceDescriptors(b.prototype, ({ value: r }, t) => {
|
|
170
|
-
let e = t[0].toUpperCase() + t.slice(1);
|
|
171
|
-
return {
|
|
172
|
-
get: () => r,
|
|
173
|
-
set(s) {
|
|
174
|
-
this[e] = s;
|
|
175
|
-
}
|
|
176
|
-
};
|
|
1
|
+
import a from "./index254.js";
|
|
2
|
+
var l = {
|
|
3
|
+
root: function(e) {
|
|
4
|
+
var p = e.instance, n = e.props, o = e.state;
|
|
5
|
+
return ["p-dropdown p-component p-inputwrapper", {
|
|
6
|
+
"p-disabled": n.disabled,
|
|
7
|
+
"p-invalid": n.invalid,
|
|
8
|
+
"p-variant-filled": n.variant ? n.variant === "filled" : p.$primevue.config.inputStyle === "filled",
|
|
9
|
+
"p-dropdown-clearable": n.showClear,
|
|
10
|
+
"p-focus": o.focused,
|
|
11
|
+
"p-inputwrapper-filled": p.hasSelectedOption,
|
|
12
|
+
"p-inputwrapper-focus": o.focused || o.overlayVisible,
|
|
13
|
+
"p-overlay-open": o.overlayVisible
|
|
14
|
+
}];
|
|
15
|
+
},
|
|
16
|
+
input: function(e) {
|
|
17
|
+
var p, n = e.instance, o = e.props;
|
|
18
|
+
return ["p-dropdown-label p-inputtext", {
|
|
19
|
+
"p-placeholder": !o.editable && n.label === o.placeholder,
|
|
20
|
+
"p-dropdown-label-empty": !o.editable && !n.$slots.value && (n.label === "p-emptylabel" || ((p = n.label) === null || p === void 0 ? void 0 : p.length) === 0)
|
|
21
|
+
}];
|
|
22
|
+
},
|
|
23
|
+
clearIcon: "p-dropdown-clear-icon",
|
|
24
|
+
trigger: "p-dropdown-trigger",
|
|
25
|
+
loadingicon: "p-dropdown-trigger-icon",
|
|
26
|
+
dropdownIcon: "p-dropdown-trigger-icon",
|
|
27
|
+
panel: function(e) {
|
|
28
|
+
e.props;
|
|
29
|
+
var p = e.instance;
|
|
30
|
+
return ["p-dropdown-panel p-component", {
|
|
31
|
+
"p-ripple-disabled": p.$primevue.config.ripple === !1
|
|
32
|
+
}];
|
|
33
|
+
},
|
|
34
|
+
header: "p-dropdown-header",
|
|
35
|
+
filterContainer: "p-dropdown-filter-container",
|
|
36
|
+
filterInput: function(e) {
|
|
37
|
+
var p = e.props, n = e.instance;
|
|
38
|
+
return ["p-dropdown-filter p-inputtext p-component", {
|
|
39
|
+
"p-variant-filled": p.variant ? p.variant === "filled" : n.$primevue.config.inputStyle === "filled"
|
|
40
|
+
}];
|
|
41
|
+
},
|
|
42
|
+
filterIcon: "p-dropdown-filter-icon",
|
|
43
|
+
wrapper: "p-dropdown-items-wrapper",
|
|
44
|
+
list: "p-dropdown-items",
|
|
45
|
+
itemGroup: "p-dropdown-item-group",
|
|
46
|
+
itemGroupLabel: "p-dropdown-item-group-label",
|
|
47
|
+
item: function(e) {
|
|
48
|
+
var p = e.instance, n = e.props, o = e.state, t = e.option, r = e.focusedOption;
|
|
49
|
+
return ["p-dropdown-item", {
|
|
50
|
+
"p-highlight": p.isSelected(t) && n.highlightOnSelect,
|
|
51
|
+
"p-focus": o.focusedOptionIndex === r,
|
|
52
|
+
"p-disabled": p.isOptionDisabled(t)
|
|
53
|
+
}];
|
|
54
|
+
},
|
|
55
|
+
itemLabel: "p-dropdown-item-label",
|
|
56
|
+
checkIcon: "p-dropdown-check-icon",
|
|
57
|
+
blankIcon: "p-dropdown-blank-icon",
|
|
58
|
+
emptyMessage: "p-dropdown-empty-message"
|
|
59
|
+
}, s = a.extend({
|
|
60
|
+
name: "dropdown",
|
|
61
|
+
classes: l
|
|
177
62
|
});
|
|
178
|
-
i.freezeMethods(b);
|
|
179
63
|
export {
|
|
180
|
-
|
|
64
|
+
s as default
|
|
181
65
|
};
|
package/dist/index345.js
CHANGED
|
@@ -1,65 +1,131 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { arrow as j, computePosition as A } from "./index346.js";
|
|
2
|
+
import { autoUpdate as W, flip as X, hide as Y, offset as Z, platform as ee, shift as ne } from "./index346.js";
|
|
3
|
+
import { isNode as B, getNodeName as F } from "./index386.js";
|
|
4
|
+
import { getOverflowAncestors as le } from "./index386.js";
|
|
5
|
+
import { computed as r, ref as c, shallowRef as I, watch as x, getCurrentScope as U, onScopeDispose as k, shallowReadonly as o, unref as q } from "vue";
|
|
6
|
+
function z(e) {
|
|
7
|
+
return e != null && typeof e == "object" && "$el" in e;
|
|
8
|
+
}
|
|
9
|
+
function V(e) {
|
|
10
|
+
if (z(e)) {
|
|
11
|
+
const l = e.$el;
|
|
12
|
+
return B(l) && F(l) === "#comment" ? null : l;
|
|
11
13
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
return e;
|
|
15
|
+
}
|
|
16
|
+
function i(e) {
|
|
17
|
+
return typeof e == "function" ? e() : q(e);
|
|
18
|
+
}
|
|
19
|
+
function K(e) {
|
|
20
|
+
return {
|
|
21
|
+
name: "arrow",
|
|
22
|
+
options: e,
|
|
23
|
+
fn(l) {
|
|
24
|
+
const t = V(i(e.element));
|
|
25
|
+
return t == null ? {} : j({
|
|
26
|
+
element: t,
|
|
27
|
+
padding: e.padding
|
|
28
|
+
}).fn(l);
|
|
18
29
|
}
|
|
19
|
-
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
function M(e) {
|
|
33
|
+
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
34
|
+
}
|
|
35
|
+
function C(e, l) {
|
|
36
|
+
const t = M(e);
|
|
37
|
+
return Math.round(l * t) / t;
|
|
38
|
+
}
|
|
39
|
+
function L(e, l, t) {
|
|
40
|
+
t === void 0 && (t = {});
|
|
41
|
+
const D = t.whileElementsMounted, s = r(() => {
|
|
42
|
+
var n;
|
|
43
|
+
return (n = i(t.open)) != null ? n : !0;
|
|
44
|
+
}), O = r(() => i(t.middleware)), p = r(() => {
|
|
45
|
+
var n;
|
|
46
|
+
return (n = i(t.placement)) != null ? n : "bottom";
|
|
47
|
+
}), w = r(() => {
|
|
48
|
+
var n;
|
|
49
|
+
return (n = i(t.strategy)) != null ? n : "absolute";
|
|
50
|
+
}), S = r(() => {
|
|
51
|
+
var n;
|
|
52
|
+
return (n = i(t.transform)) != null ? n : !0;
|
|
53
|
+
}), f = r(() => V(e.value)), u = r(() => V(l.value)), y = c(0), h = c(0), m = c(w.value), P = c(p.value), E = I({}), g = c(!1), _ = r(() => {
|
|
54
|
+
const n = {
|
|
55
|
+
position: m.value,
|
|
56
|
+
left: "0",
|
|
57
|
+
top: "0"
|
|
58
|
+
};
|
|
59
|
+
if (!u.value)
|
|
60
|
+
return n;
|
|
61
|
+
const a = C(u.value, y.value), b = C(u.value, h.value);
|
|
62
|
+
return S.value ? {
|
|
63
|
+
...n,
|
|
64
|
+
transform: "translate(" + a + "px, " + b + "px)",
|
|
65
|
+
...M(u.value) >= 1.5 && {
|
|
66
|
+
willChange: "transform"
|
|
67
|
+
}
|
|
68
|
+
} : {
|
|
69
|
+
position: m.value,
|
|
70
|
+
left: a + "px",
|
|
71
|
+
top: b + "px"
|
|
72
|
+
};
|
|
73
|
+
});
|
|
74
|
+
let d;
|
|
75
|
+
function v() {
|
|
76
|
+
if (f.value == null || u.value == null)
|
|
77
|
+
return;
|
|
78
|
+
const n = s.value;
|
|
79
|
+
A(f.value, u.value, {
|
|
80
|
+
middleware: O.value,
|
|
81
|
+
placement: p.value,
|
|
82
|
+
strategy: w.value
|
|
83
|
+
}).then((a) => {
|
|
84
|
+
y.value = a.x, h.value = a.y, m.value = a.strategy, P.value = a.placement, E.value = a.middlewareData, g.value = n !== !1;
|
|
85
|
+
});
|
|
20
86
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
function w(e, o) {
|
|
24
|
-
e = s.isArray(e) ? e : [e];
|
|
25
|
-
const { length: a } = e;
|
|
26
|
-
let i, t;
|
|
27
|
-
const p = {};
|
|
28
|
-
for (let r = 0; r < a; r++) {
|
|
29
|
-
i = e[r];
|
|
30
|
-
let n;
|
|
31
|
-
if (t = i, !g(i) && (t = c[(n = String(i)).toLowerCase()], t === void 0))
|
|
32
|
-
throw new d(`Unknown adapter '${n}'`);
|
|
33
|
-
if (t && (s.isFunction(t) || (t = t.get(o))))
|
|
34
|
-
break;
|
|
35
|
-
p[n || "#" + r] = t;
|
|
87
|
+
function R() {
|
|
88
|
+
typeof d == "function" && (d(), d = void 0);
|
|
36
89
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
(
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"ERR_NOT_SUPPORT"
|
|
47
|
-
);
|
|
90
|
+
function N() {
|
|
91
|
+
if (R(), D === void 0) {
|
|
92
|
+
v();
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
if (f.value != null && u.value != null) {
|
|
96
|
+
d = D(f.value, u.value, v);
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
48
99
|
}
|
|
49
|
-
|
|
100
|
+
function $() {
|
|
101
|
+
s.value || (g.value = !1);
|
|
102
|
+
}
|
|
103
|
+
return x([O, p, w, s], v, {
|
|
104
|
+
flush: "sync"
|
|
105
|
+
}), x([f, u], N, {
|
|
106
|
+
flush: "sync"
|
|
107
|
+
}), x(s, $, {
|
|
108
|
+
flush: "sync"
|
|
109
|
+
}), U() && k(R), {
|
|
110
|
+
x: o(y),
|
|
111
|
+
y: o(h),
|
|
112
|
+
strategy: o(m),
|
|
113
|
+
placement: o(P),
|
|
114
|
+
middlewareData: o(E),
|
|
115
|
+
isPositioned: o(g),
|
|
116
|
+
floatingStyles: _,
|
|
117
|
+
update: v
|
|
118
|
+
};
|
|
50
119
|
}
|
|
51
|
-
const x = {
|
|
52
|
-
/**
|
|
53
|
-
* Resolve an adapter from a list of adapter names or functions.
|
|
54
|
-
* @type {Function}
|
|
55
|
-
*/
|
|
56
|
-
getAdapter: w,
|
|
57
|
-
/**
|
|
58
|
-
* Exposes all known adapters
|
|
59
|
-
* @type {Object<string, Function|Object>}
|
|
60
|
-
*/
|
|
61
|
-
adapters: c
|
|
62
|
-
};
|
|
63
120
|
export {
|
|
64
|
-
|
|
121
|
+
K as arrow,
|
|
122
|
+
W as autoUpdate,
|
|
123
|
+
A as computePosition,
|
|
124
|
+
X as flip,
|
|
125
|
+
le as getOverflowAncestors,
|
|
126
|
+
Y as hide,
|
|
127
|
+
Z as offset,
|
|
128
|
+
ee as platform,
|
|
129
|
+
ne as shift,
|
|
130
|
+
L as useFloating
|
|
65
131
|
};
|