bitboss-ui 2.0.73 → 2.0.74
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/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +5 -0
- package/dist/index108.js +52 -57
- package/dist/index110.js +3 -3
- package/dist/index118.js +1 -1
- package/dist/index120.js +5 -5
- package/dist/index122.js +1 -1
- package/dist/index126.js +21 -19
- package/dist/index127.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index132.js +2 -2
- package/dist/index133.js +2 -2
- package/dist/index15.js +4 -4
- package/dist/index17.js +3 -3
- package/dist/index19.js +2 -2
- package/dist/index205.js +53 -2
- package/dist/index207.js +13 -2
- package/dist/index208.js +20 -3
- package/dist/index209.js +4 -8
- package/dist/index21.js +9 -9
- package/dist/index210.js +3 -53
- package/dist/index212.js +5 -13
- package/dist/index213.js +16 -5
- package/dist/index214.js +10 -10
- package/dist/index215.js +18 -15
- package/dist/index216.js +18 -18
- package/dist/index217.js +22 -14
- package/dist/index218.js +3 -27
- package/dist/index219.js +2 -3
- package/dist/index220.js +8 -2
- package/dist/index221.js +5 -5
- package/dist/index224.js +2 -2
- package/dist/index225.js +1 -1
- package/dist/index226.js +2 -126
- package/dist/index227.js +4 -125
- package/dist/index228.js +2 -2
- package/dist/index229.js +123 -38
- package/dist/index23.js +15 -15
- package/dist/index230.js +124 -19
- package/dist/index231.js +2 -6
- package/dist/index232.js +41 -5
- package/dist/index233.js +6 -369
- package/dist/index234.js +5 -3
- package/dist/index235.js +369 -7
- package/dist/index236.js +3 -164
- package/dist/index237.js +7 -84
- package/dist/index238.js +166 -0
- package/dist/index239.js +84 -4
- package/dist/index243.js +1 -1
- package/dist/index245.js +1 -1
- package/dist/index25.js +5 -5
- package/dist/index250.js +6 -4
- package/dist/index251.js +16 -224
- package/dist/index252.js +1 -1
- package/dist/index253.js +11 -0
- package/dist/index254.js +23 -7
- package/dist/index255.js +3 -281
- package/dist/index257.js +7 -2
- package/dist/index258.js +176 -2
- package/dist/index259.js +224 -2
- package/dist/index260.js +9 -2
- package/dist/index261.js +281 -2
- package/dist/index262.js +6 -2
- package/dist/index263.js +2 -2
- package/dist/index264.js +2 -2
- package/dist/index265.js +2 -2
- package/dist/index266.js +2 -2
- package/dist/index267.js +2 -28
- package/dist/index268.js +2 -22
- package/dist/index269.js +4 -0
- package/dist/index27.js +1 -1
- package/dist/index270.js +2 -2
- package/dist/index271.js +2 -126
- package/dist/index272.js +2 -431
- package/dist/index273.js +23 -171
- package/dist/index274.js +6 -6
- package/dist/index276.js +4 -3
- package/dist/index277.js +2 -12
- package/dist/index278.js +124 -7
- package/dist/index279.js +431 -9
- package/dist/index280.js +20 -15
- package/dist/index282.js +86 -197
- package/dist/index283.js +3 -436
- package/dist/index284.js +11 -126
- package/dist/index285.js +9 -3
- package/dist/index286.js +8 -8
- package/dist/index287.js +17 -23
- package/dist/index288.js +3 -88
- package/dist/index289.js +200 -6
- package/dist/index29.js +2 -2
- package/dist/index290.js +435 -15
- package/dist/index291.js +125 -7
- package/dist/index294.js +2 -2
- package/dist/index295.js +66 -5
- package/dist/index296.js +5 -66
- package/dist/index298.js +4 -5
- package/dist/index299.js +4 -8
- package/dist/index300.js +58 -32
- package/dist/index301.js +4 -6
- package/dist/index302.js +7 -18
- package/dist/index303.js +32 -6
- package/dist/index304.js +84 -4
- package/dist/index306.js +4 -84
- package/dist/index307.js +9 -0
- package/dist/index308.js +7 -4
- package/dist/index309.js +19 -4
- package/dist/index31.js +2 -2
- package/dist/index310.js +45 -57
- package/dist/index311.js +2 -47
- package/dist/index312.js +11 -2
- package/dist/index314.js +1 -1
- package/dist/index33.js +2 -2
- package/dist/index35.js +3 -3
- package/dist/index37.js +9 -9
- package/dist/index39.js +2 -2
- package/dist/index41.js +2 -2
- package/dist/index43.js +2 -2
- package/dist/index45.js +4 -4
- package/dist/index47.js +2 -2
- package/dist/index49.js +2 -2
- package/dist/index55.js +1 -1
- package/dist/index57.js +1 -1
- package/dist/index59.js +21 -20
- package/dist/index75.js +3 -3
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index84.js +2 -2
- package/dist/index86.js +1 -1
- package/dist/index88.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index206.js +0 -6
- package/dist/index256.js +0 -8
- package/dist/index281.js +0 -6
- package/dist/index305.js +0 -13
- /package/dist/{index240.js → index211.js} +0 -0
package/dist/index238.js
ADDED
@@ -0,0 +1,166 @@
|
|
1
|
+
import { ref as s, computed as a, onServerPrefetch as $, onBeforeMount as ee, onBeforeUnmount as te, watch as b, nextTick as Q } from "vue";
|
2
|
+
import { last as le } from "./index219.js";
|
3
|
+
import { useArray as E } from "./index284.js";
|
4
|
+
import { uniqBy as ne } from "./index285.js";
|
5
|
+
import { useItemValue as ue } from "./index286.js";
|
6
|
+
import { useItemText as oe } from "./index287.js";
|
7
|
+
import { hash as f } from "./index218.js";
|
8
|
+
import { isNotNil as F } from "./index134.js";
|
9
|
+
import { waitFor as ie } from "./index233.js";
|
10
|
+
import { isNil as se } from "./index129.js";
|
11
|
+
import { pipe as H } from "./index288.js";
|
12
|
+
const xe = (t) => {
|
13
|
+
const r = s(""), P = s(), o = (e) => {
|
14
|
+
P.value = e, t.emit("update:modelValue", e);
|
15
|
+
}, m = s([]), {
|
16
|
+
array: k,
|
17
|
+
add: j,
|
18
|
+
remove: J,
|
19
|
+
set: h
|
20
|
+
} = E(), {
|
21
|
+
array: O,
|
22
|
+
add: L,
|
23
|
+
remove: U
|
24
|
+
} = E(), { getItemText: z } = oe(), { getItemValue: G } = ue();
|
25
|
+
if (t.max && t.max < 1)
|
26
|
+
throw new Error("Invalid value for `max` property");
|
27
|
+
const B = (e) => {
|
28
|
+
const l = !!(t.disabled.value || e.disabled), n = z(e, t.itemText), u = G(e, t.itemValue);
|
29
|
+
if (u === void 0)
|
30
|
+
throw new Error(
|
31
|
+
'The result of extracting "value" from option was undefined. Affected item is ' + JSON.stringify(e) + " please check itemValue property is correct."
|
32
|
+
);
|
33
|
+
const _ = f(u);
|
34
|
+
return {
|
35
|
+
item: e,
|
36
|
+
text: n,
|
37
|
+
value: u,
|
38
|
+
valueHash: _,
|
39
|
+
disabled: l,
|
40
|
+
selected: !1
|
41
|
+
};
|
42
|
+
}, V = (e) => (e.selected = F(q.value[e.valueHash]), e), K = t.max || 1 / 0, g = (e) => (e.disabled = e.disabled || t.multiple && t.modelValue.value.length >= K && !e.selected, e), x = a(() => {
|
43
|
+
const e = [].concat(
|
44
|
+
m.value.map(H(B, V, g)),
|
45
|
+
O.value.map(H(V, g)),
|
46
|
+
k.value.map(H(V, g))
|
47
|
+
);
|
48
|
+
return ne(e, (n) => n.valueHash);
|
49
|
+
}), R = (e) => {
|
50
|
+
t.multiple ? (o(t.modelValue.value.concat(e.value)), t.stash && j(e), t.resetQueryOnOptionSelected && i()) : (t.stash && h(e), o(e.value), Q(() => i()));
|
51
|
+
}, W = async (e) => {
|
52
|
+
if (U((l) => l.valueHash !== e.valueHash), J((l) => l.valueHash !== e.valueHash), t.multiple) {
|
53
|
+
const l = { ...q.value };
|
54
|
+
delete l[e.valueHash], o(Object.values(l));
|
55
|
+
} else
|
56
|
+
o(null), await Q(), i();
|
57
|
+
}, q = a(() => {
|
58
|
+
const e = {}, l = [].concat(t.modelValue.value);
|
59
|
+
for (let n = 0; n < l.length; n++) {
|
60
|
+
const u = l[n];
|
61
|
+
e[f(u)] = u;
|
62
|
+
}
|
63
|
+
return e;
|
64
|
+
}), I = async ({ prefill: e = !1 }) => {
|
65
|
+
let l = [];
|
66
|
+
if (Array.isArray(t.items.value))
|
67
|
+
l = t.items.value;
|
68
|
+
else if (typeof t.items.value == "function") {
|
69
|
+
const n = ++d.value;
|
70
|
+
try {
|
71
|
+
l = await t.items.value(
|
72
|
+
r.value,
|
73
|
+
e,
|
74
|
+
t.modelValue.value
|
75
|
+
), n < d.value && (await ie(() => n === d.value), l = m.value);
|
76
|
+
} catch (u) {
|
77
|
+
console.error(u);
|
78
|
+
}
|
79
|
+
d.value--;
|
80
|
+
}
|
81
|
+
m.value = l;
|
82
|
+
}, C = a(() => {
|
83
|
+
const e = {};
|
84
|
+
for (let l = 0; l < x.value.length; l++) {
|
85
|
+
const n = x.value[l], { valueHash: u } = n;
|
86
|
+
e[u] = n;
|
87
|
+
}
|
88
|
+
return {
|
89
|
+
get: (l) => e[f(l)]
|
90
|
+
};
|
91
|
+
}), c = a(() => [].concat(t.modelValue.value).reduce((e, l) => {
|
92
|
+
const n = C.value.get(l);
|
93
|
+
return n && e.push(n), e;
|
94
|
+
}, [])), M = (e) => F(C.value.get(e)), i = () => {
|
95
|
+
if (t.multiple) {
|
96
|
+
r.value = "";
|
97
|
+
return;
|
98
|
+
}
|
99
|
+
let e;
|
100
|
+
c.value && (e = le(c.value)), r.value = (e == null ? void 0 : e.text) || "";
|
101
|
+
}, X = () => {
|
102
|
+
const e = r.value.trim(), l = B(e);
|
103
|
+
L(l), i();
|
104
|
+
}, d = s(0), A = a(() => [].concat(t.modelValue.value).reduce(
|
105
|
+
(e, l) => (M(l) ? e.coherent.push(l) : e.incoherent.push(l), e),
|
106
|
+
{ coherent: [], incoherent: [] }
|
107
|
+
)), D = a(() => t.multiple && !t.modelValue.value.length || !t.multiple && se(t.modelValue.value) ? !0 : !A.value.incoherent.length), Y = () => {
|
108
|
+
t.enforceCoherence && !D.value && (t.multiple ? o(A.value.coherent) : o(null));
|
109
|
+
}, y = s(!1), w = s(!1), v = async () => {
|
110
|
+
w.value = !0, await I({ prefill: !0 }), Y(), i(), y.value = !0, w.value = !1;
|
111
|
+
};
|
112
|
+
$(async () => {
|
113
|
+
t.prefill && (await v(), t.stash && h(...c.value));
|
114
|
+
}), ee(async () => {
|
115
|
+
t.prefill && !y.value && (await v(), t.stash && h(...c.value));
|
116
|
+
});
|
117
|
+
let T;
|
118
|
+
const Z = () => {
|
119
|
+
T && clearTimeout(T), T = setTimeout(async () => {
|
120
|
+
try {
|
121
|
+
await I({ prefill: !1 });
|
122
|
+
} catch (e) {
|
123
|
+
console.error(e);
|
124
|
+
}
|
125
|
+
}, t.queryDebounceTime);
|
126
|
+
};
|
127
|
+
te(() => clearTimeout(T));
|
128
|
+
let p;
|
129
|
+
b(
|
130
|
+
() => t.modelValue.value,
|
131
|
+
() => {
|
132
|
+
D.value || (p && clearTimeout(p), p = setTimeout(async () => {
|
133
|
+
v();
|
134
|
+
}, t.modelValueDebounceTime));
|
135
|
+
}
|
136
|
+
);
|
137
|
+
let S;
|
138
|
+
const N = async (e, l) => {
|
139
|
+
f(l) !== f(e) && y.value && (S && clearTimeout(S), S = setTimeout(async () => {
|
140
|
+
await v();
|
141
|
+
}, t.depsDebounceTime));
|
142
|
+
};
|
143
|
+
return b(() => t.items.value, N), b(() => t.dependencies.value, N), {
|
144
|
+
addCurrentQueryToManualItems: X,
|
145
|
+
alignQueryToState: i,
|
146
|
+
getOptions: I,
|
147
|
+
hasPrefilled: y,
|
148
|
+
innerLoading: d,
|
149
|
+
isPrefilling: w,
|
150
|
+
manualItems: O,
|
151
|
+
options: x,
|
152
|
+
prefillItems: v,
|
153
|
+
query: r,
|
154
|
+
searchByQuery: Z,
|
155
|
+
selectedOptions: c,
|
156
|
+
selectOption: R,
|
157
|
+
setStash: h,
|
158
|
+
unselectOption: W,
|
159
|
+
updateModelValue: o,
|
160
|
+
valueIsSelected: M,
|
161
|
+
internalItems: m
|
162
|
+
};
|
163
|
+
};
|
164
|
+
export {
|
165
|
+
xe as useOptions
|
166
|
+
};
|
package/dist/index239.js
CHANGED
@@ -1,6 +1,86 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
import { defineComponent as b, openBlock as t, createElementBlock as n, normalizeClass as r, createElementVNode as l, renderSlot as s, createTextVNode as o, toDisplayString as d, createCommentVNode as h, Fragment as c, renderList as m } from "vue";
|
2
|
+
const p = { class: "bb-cr-container__container" }, u = {
|
3
|
+
key: 0,
|
4
|
+
class: "bb-cr-container__loading-container"
|
5
|
+
}, g = {
|
6
|
+
key: 1,
|
7
|
+
class: "bb-cr-container__no-data-container"
|
8
|
+
}, f = /* @__PURE__ */ b({
|
9
|
+
__name: "OptionsContainer",
|
10
|
+
props: {
|
11
|
+
direction: {},
|
12
|
+
hasErrors: { type: Boolean },
|
13
|
+
hideLabel: { type: Boolean },
|
14
|
+
loadingText: {},
|
15
|
+
loading: { type: Boolean },
|
16
|
+
noDataText: {},
|
17
|
+
options: {}
|
18
|
+
},
|
19
|
+
setup(k) {
|
20
|
+
return (a, y) => (t(), n("span", {
|
21
|
+
ref: "container",
|
22
|
+
class: r(["bb-cr-container", {
|
23
|
+
"bb-cr-container--errors": a.hasErrors,
|
24
|
+
"bb-cr-container--horizontal": a.direction === "horizontal",
|
25
|
+
"bb-cr-container--vertical": a.direction === "vertical"
|
26
|
+
}])
|
27
|
+
}, [
|
28
|
+
l("span", p, [
|
29
|
+
s(a.$slots, "prepend"),
|
30
|
+
!a.options.length && a.loading ? (t(), n("span", u, [
|
31
|
+
s(a.$slots, "loading", {}, () => [
|
32
|
+
o(d(a.loadingText), 1)
|
33
|
+
])
|
34
|
+
])) : a.options.length ? h("", !0) : (t(), n("span", g, [
|
35
|
+
s(a.$slots, "no-data", {}, () => [
|
36
|
+
o(d(a.noDataText), 1)
|
37
|
+
])
|
38
|
+
])),
|
39
|
+
(t(!0), n(c, null, m(a.options, (e, i) => (t(), n(c, {
|
40
|
+
key: (e == null ? void 0 : e.valueHash) || i
|
41
|
+
}, [
|
42
|
+
s(a.$slots, "option:prepend", {
|
43
|
+
id: e.valueHash,
|
44
|
+
checked: !!e.selected,
|
45
|
+
disabled: !!e.disabled,
|
46
|
+
item: e.item,
|
47
|
+
text: e.text
|
48
|
+
}),
|
49
|
+
l("label", {
|
50
|
+
class: r(["bb-cr-container-option", { "bb-base-radio-selected": e.selected }])
|
51
|
+
}, [
|
52
|
+
s(a.$slots, "input", {
|
53
|
+
index: i,
|
54
|
+
option: e
|
55
|
+
}),
|
56
|
+
l("span", {
|
57
|
+
class: r({
|
58
|
+
"bb-cr-container-option__text": !0,
|
59
|
+
"sr-only": a.hideLabel
|
60
|
+
})
|
61
|
+
}, [
|
62
|
+
s(a.$slots, "label", {
|
63
|
+
checked: !!e.selected,
|
64
|
+
item: e.item,
|
65
|
+
text: e.text
|
66
|
+
}, () => [
|
67
|
+
o(d(e.text), 1)
|
68
|
+
])
|
69
|
+
], 2)
|
70
|
+
], 2),
|
71
|
+
s(a.$slots, "option:append", {
|
72
|
+
id: e.valueHash,
|
73
|
+
checked: !!e.selected,
|
74
|
+
disabled: !!e.disabled,
|
75
|
+
item: e.item,
|
76
|
+
text: e.text
|
77
|
+
})
|
78
|
+
], 64))), 128)),
|
79
|
+
s(a.$slots, "append")
|
80
|
+
])
|
81
|
+
], 2));
|
82
|
+
}
|
83
|
+
});
|
4
84
|
export {
|
5
|
-
|
85
|
+
f as default
|
6
86
|
};
|
package/dist/index243.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as y, ref as F, computed as H, watch as N, openBlock as p, createElementBlock as L, Fragment as S, renderList as V, createBlock as A, normalizeClass as O, withModifiers as P, withCtx as $, createTextVNode as z, toDisplayString as D } from "vue";
|
2
|
-
import { hash as d } from "./
|
2
|
+
import { hash as d } from "./index218.js";
|
3
3
|
import { isNil as l } from "./index129.js";
|
4
4
|
import E from "./index124.js";
|
5
5
|
/* empty css */
|
package/dist/index245.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as F, ref as H, computed as L, watch as N, openBlock as d, createElementBlock as v, Fragment as S, renderList as A, normalizeClass as O, withModifiers as P, toDisplayString as V } from "vue";
|
2
|
-
import { hash as f } from "./
|
2
|
+
import { hash as f } from "./index218.js";
|
3
3
|
import { isNil as i } from "./index129.js";
|
4
4
|
const z = ["text", "onClick:clear"], j = /* @__PURE__ */ F({
|
5
5
|
__name: "CommaBox",
|
package/dist/index25.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as ae, ref as o, getCurrentInstance as se, computed as m, nextTick as N, useAttrs as ne, onMounted as ie, onBeforeUnmount as F, watch as re, openBlock as k, createBlock as ue, Teleport as de, createElementVNode as a, mergeProps as G, createElementBlock as T, renderSlot as u, createTextVNode as ce, toDisplayString as P, createCommentVNode as z } from "vue";
|
2
|
-
import { throttle as ve } from "./
|
3
|
-
import { useFocusTrap as fe } from "./
|
2
|
+
import { throttle as ve } from "./index236.js";
|
3
|
+
import { useFocusTrap as fe } from "./index232.js";
|
4
4
|
import { useId as K } from "./index8.js";
|
5
5
|
import { wait as H } from "./index131.js";
|
6
|
-
import { waitFor as be } from "./
|
7
|
-
import { useModalsState as C } from "./
|
8
|
-
import { useLogger as pe } from "./
|
6
|
+
import { waitFor as be } from "./index233.js";
|
7
|
+
import { useModalsState as C } from "./index237.js";
|
8
|
+
import { useLogger as pe } from "./index220.js";
|
9
9
|
const me = { class: "bb-base-dialog-close" }, ge = ["aria-label"], De = /* @__PURE__ */ ae({
|
10
10
|
__name: "BaseDialog",
|
11
11
|
props: {
|
package/dist/index250.js
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
import e from "./index298.js";
|
2
|
+
import r from "./index299.js";
|
3
|
+
import o from "./index300.js";
|
4
|
+
const f = new o(r, e)._freeze();
|
4
5
|
export {
|
5
|
-
|
6
|
+
o as Mime,
|
7
|
+
f as default
|
6
8
|
};
|
package/dist/index251.js
CHANGED
@@ -1,226 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
Ç: "C",
|
17
|
-
ç: "c",
|
18
|
-
Ð: "D",
|
19
|
-
ð: "d",
|
20
|
-
È: "E",
|
21
|
-
É: "E",
|
22
|
-
Ê: "E",
|
23
|
-
Ë: "E",
|
24
|
-
è: "e",
|
25
|
-
é: "e",
|
26
|
-
ê: "e",
|
27
|
-
ë: "e",
|
28
|
-
Ì: "I",
|
29
|
-
Í: "I",
|
30
|
-
Î: "I",
|
31
|
-
Ï: "I",
|
32
|
-
ì: "i",
|
33
|
-
í: "i",
|
34
|
-
î: "i",
|
35
|
-
ï: "i",
|
36
|
-
Ñ: "N",
|
37
|
-
ñ: "n",
|
38
|
-
Ò: "O",
|
39
|
-
Ó: "O",
|
40
|
-
Ô: "O",
|
41
|
-
Õ: "O",
|
42
|
-
Ö: "O",
|
43
|
-
Ø: "O",
|
44
|
-
ò: "o",
|
45
|
-
ó: "o",
|
46
|
-
ô: "o",
|
47
|
-
õ: "o",
|
48
|
-
ö: "o",
|
49
|
-
ø: "o",
|
50
|
-
Ù: "U",
|
51
|
-
Ú: "U",
|
52
|
-
Û: "U",
|
53
|
-
Ü: "U",
|
54
|
-
ù: "u",
|
55
|
-
ú: "u",
|
56
|
-
û: "u",
|
57
|
-
ü: "u",
|
58
|
-
Ý: "Y",
|
59
|
-
ý: "y",
|
60
|
-
ÿ: "y",
|
61
|
-
Æ: "Ae",
|
62
|
-
æ: "ae",
|
63
|
-
Þ: "Th",
|
64
|
-
þ: "th",
|
65
|
-
ß: "ss",
|
66
|
-
// Latin Extended-A block.
|
67
|
-
Ā: "A",
|
68
|
-
Ă: "A",
|
69
|
-
Ą: "A",
|
70
|
-
ā: "a",
|
71
|
-
ă: "a",
|
72
|
-
ą: "a",
|
73
|
-
Ć: "C",
|
74
|
-
Ĉ: "C",
|
75
|
-
Ċ: "C",
|
76
|
-
Č: "C",
|
77
|
-
ć: "c",
|
78
|
-
ĉ: "c",
|
79
|
-
ċ: "c",
|
80
|
-
č: "c",
|
81
|
-
Ď: "D",
|
82
|
-
Đ: "D",
|
83
|
-
ď: "d",
|
84
|
-
đ: "d",
|
85
|
-
Ē: "E",
|
86
|
-
Ĕ: "E",
|
87
|
-
Ė: "E",
|
88
|
-
Ę: "E",
|
89
|
-
Ě: "E",
|
90
|
-
ē: "e",
|
91
|
-
ĕ: "e",
|
92
|
-
ė: "e",
|
93
|
-
ę: "e",
|
94
|
-
ě: "e",
|
95
|
-
Ĝ: "G",
|
96
|
-
Ğ: "G",
|
97
|
-
Ġ: "G",
|
98
|
-
Ģ: "G",
|
99
|
-
ĝ: "g",
|
100
|
-
ğ: "g",
|
101
|
-
ġ: "g",
|
102
|
-
ģ: "g",
|
103
|
-
Ĥ: "H",
|
104
|
-
Ħ: "H",
|
105
|
-
ĥ: "h",
|
106
|
-
ħ: "h",
|
107
|
-
Ĩ: "I",
|
108
|
-
Ī: "I",
|
109
|
-
Ĭ: "I",
|
110
|
-
Į: "I",
|
111
|
-
İ: "I",
|
112
|
-
ĩ: "i",
|
113
|
-
ī: "i",
|
114
|
-
ĭ: "i",
|
115
|
-
į: "i",
|
116
|
-
ı: "i",
|
117
|
-
Ĵ: "J",
|
118
|
-
ĵ: "j",
|
119
|
-
Ķ: "K",
|
120
|
-
ķ: "k",
|
121
|
-
ĸ: "k",
|
122
|
-
Ĺ: "L",
|
123
|
-
Ļ: "L",
|
124
|
-
Ľ: "L",
|
125
|
-
Ŀ: "L",
|
126
|
-
Ł: "L",
|
127
|
-
ĺ: "l",
|
128
|
-
ļ: "l",
|
129
|
-
ľ: "l",
|
130
|
-
ŀ: "l",
|
131
|
-
ł: "l",
|
132
|
-
Ń: "N",
|
133
|
-
Ņ: "N",
|
134
|
-
Ň: "N",
|
135
|
-
Ŋ: "N",
|
136
|
-
ń: "n",
|
137
|
-
ņ: "n",
|
138
|
-
ň: "n",
|
139
|
-
ŋ: "n",
|
140
|
-
Ō: "O",
|
141
|
-
Ŏ: "O",
|
142
|
-
Ő: "O",
|
143
|
-
ō: "o",
|
144
|
-
ŏ: "o",
|
145
|
-
ő: "o",
|
146
|
-
Ŕ: "R",
|
147
|
-
Ŗ: "R",
|
148
|
-
Ř: "R",
|
149
|
-
ŕ: "r",
|
150
|
-
ŗ: "r",
|
151
|
-
ř: "r",
|
152
|
-
Ś: "S",
|
153
|
-
Ŝ: "S",
|
154
|
-
Ş: "S",
|
155
|
-
Š: "S",
|
156
|
-
ś: "s",
|
157
|
-
ŝ: "s",
|
158
|
-
ş: "s",
|
159
|
-
š: "s",
|
160
|
-
Ţ: "T",
|
161
|
-
Ť: "T",
|
162
|
-
Ŧ: "T",
|
163
|
-
ţ: "t",
|
164
|
-
ť: "t",
|
165
|
-
ŧ: "t",
|
166
|
-
Ũ: "U",
|
167
|
-
Ū: "U",
|
168
|
-
Ŭ: "U",
|
169
|
-
Ů: "U",
|
170
|
-
Ű: "U",
|
171
|
-
Ų: "U",
|
172
|
-
ũ: "u",
|
173
|
-
ū: "u",
|
174
|
-
ŭ: "u",
|
175
|
-
ů: "u",
|
176
|
-
ű: "u",
|
177
|
-
ų: "u",
|
178
|
-
Ŵ: "W",
|
179
|
-
ŵ: "w",
|
180
|
-
Ŷ: "Y",
|
181
|
-
ŷ: "y",
|
182
|
-
Ÿ: "Y",
|
183
|
-
Ź: "Z",
|
184
|
-
Ż: "Z",
|
185
|
-
Ž: "Z",
|
186
|
-
ź: "z",
|
187
|
-
ż: "z",
|
188
|
-
ž: "z",
|
189
|
-
IJ: "IJ",
|
190
|
-
ij: "ij",
|
191
|
-
Œ: "Oe",
|
192
|
-
œ: "oe",
|
193
|
-
ʼn: "'n",
|
194
|
-
ſ: "ss"
|
195
|
-
}, y = typeof r == "object" && r && r.Object === Object && r, m = typeof self == "object" && self && self.Object === Object && self, O = y || m || Function("return this")();
|
196
|
-
function p(u) {
|
197
|
-
return function(e) {
|
198
|
-
return u == null ? void 0 : u[e];
|
199
|
-
};
|
200
|
-
}
|
201
|
-
var S = p(l), g = Object.prototype, j = g.toString, o = O.Symbol, x = o ? o.prototype : void 0, t = x ? x.toString : void 0;
|
202
|
-
function I(u) {
|
203
|
-
if (typeof u == "string")
|
204
|
-
return u;
|
205
|
-
if (A(u))
|
206
|
-
return t ? t.call(u) : "";
|
207
|
-
var e = u + "";
|
208
|
-
return e == "0" && 1 / u == -c ? "-0" : e;
|
209
|
-
}
|
210
|
-
function E(u) {
|
211
|
-
return !!u && typeof u == "object";
|
212
|
-
}
|
213
|
-
function A(u) {
|
214
|
-
return typeof u == "symbol" || E(u) && j.call(u) == n;
|
215
|
-
}
|
216
|
-
function C(u) {
|
217
|
-
return u == null ? "" : I(u);
|
218
|
-
}
|
219
|
-
function U(u) {
|
220
|
-
return u = C(u), u && u.replace(a, S).replace(s, "");
|
221
|
-
}
|
222
|
-
var L = U;
|
223
|
-
const v = /* @__PURE__ */ f(L);
|
1
|
+
const e = (o, r, f) => o.reduce((t, n) => {
|
2
|
+
if (t) return t;
|
3
|
+
if (f(n))
|
4
|
+
return n;
|
5
|
+
if (r in n) {
|
6
|
+
const i = e(
|
7
|
+
[].concat(n[r]),
|
8
|
+
r,
|
9
|
+
f
|
10
|
+
);
|
11
|
+
if (i)
|
12
|
+
return i;
|
13
|
+
}
|
14
|
+
return t;
|
15
|
+
}, null);
|
224
16
|
export {
|
225
|
-
|
17
|
+
e as findInTree
|
226
18
|
};
|
package/dist/index252.js
CHANGED
package/dist/index253.js
ADDED
package/dist/index254.js
CHANGED
@@ -1,9 +1,25 @@
|
|
1
|
-
const
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
}
|
1
|
+
const e = {
|
2
|
+
inert: ":not([inert]):not([inert] *)",
|
3
|
+
negTabIndex: ':not([tabindex^="-"])',
|
4
|
+
disabled: ":not(:disabled)"
|
5
|
+
}, n = [
|
6
|
+
`a[href]${e.inert}${e.negTabIndex}`,
|
7
|
+
`area[href]${e.inert}${e.negTabIndex}`,
|
8
|
+
`input:not([type="hidden"]):not([type="radio"])${e.inert}${e.negTabIndex}${e.disabled}`,
|
9
|
+
`input[type="radio"]${e.inert}${e.negTabIndex}${e.disabled}`,
|
10
|
+
`select${e.inert}${e.negTabIndex}${e.disabled}`,
|
11
|
+
`textarea${e.inert}${e.negTabIndex}${e.disabled}`,
|
12
|
+
`button${e.inert}${e.negTabIndex}${e.disabled}`,
|
13
|
+
`details${e.inert} > summary:first-of-type${e.negTabIndex}`,
|
14
|
+
// Discard until Firefox supports `:has()`
|
15
|
+
// See: https://github.com/KittyGiraudel/focusable-selectors/issues/12
|
16
|
+
// `details:not(:has(> summary))${not.inert}${not.negTabIndex}`,
|
17
|
+
`iframe${e.inert}${e.negTabIndex}`,
|
18
|
+
`audio[controls]${e.inert}${e.negTabIndex}`,
|
19
|
+
`video[controls]${e.inert}${e.negTabIndex}`,
|
20
|
+
`[contenteditable]${e.inert}${e.negTabIndex}`,
|
21
|
+
`[tabindex]${e.inert}${e.negTabIndex}`
|
22
|
+
];
|
7
23
|
export {
|
8
|
-
|
24
|
+
n as default
|
9
25
|
};
|