bitboss-ui 0.1.80 → 0.1.82
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/BaseButton/BaseButton.vue.d.ts +5 -2
- package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +3 -0
- package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +10 -2
- package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +3 -0
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +3 -0
- package/dist/components/BaseDialog/BaseDialog.vue.d.ts +3 -0
- package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +3 -0
- package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +4 -1
- package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +4 -1
- package/dist/components/BaseRating/BaseRating.vue.d.ts +4 -1
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +16 -2
- package/dist/components/BaseSlider/BaseSlider.vue.d.ts +3 -0
- package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +3 -0
- package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +3 -0
- package/dist/components/BaseTag/BaseTag.vue.d.ts +4 -1
- package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +4 -1
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +2 -2
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +5 -2
- package/dist/components/BbAlert/BbAlert.vue.d.ts +3 -0
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +7 -58
- package/dist/components/BbBadge/BbBadge.vue.d.ts +4 -1
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +3 -0
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +3 -0
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +3 -0
- package/dist/components/BbChip/BbChip.vue.d.ts +7 -1
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +4 -1
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +3 -0
- package/dist/components/BbDialog/BbDialog.vue.d.ts +3 -0
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +15 -3
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +4 -1
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +6 -7
- package/dist/components/BbIcon/BbIcon.vue.d.ts +3 -0
- package/dist/components/BbIntersection/BbIntersection.vue.d.ts +4 -1
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +3 -0
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +3 -0
- package/dist/components/BbPagination/BbPagination.vue.d.ts +4 -1
- package/dist/components/BbPopover/BbPopover.vue.d.ts +14 -7
- package/dist/components/BbProgress/BbProgress.vue.d.ts +3 -0
- package/dist/components/BbRadio/BbRadio.vue.d.ts +3 -0
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +1 -6
- package/dist/components/BbRating/BbRating.vue.d.ts +3 -0
- package/dist/components/BbRatio/BbRatio.vue.d.ts +4 -1
- package/dist/components/BbSelect/BbSelect.vue.d.ts +14 -3
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +5 -2
- package/dist/components/BbSpinner/BbSpinner.vue.d.ts +3 -0
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +3 -0
- package/dist/components/BbTab/BbTab.vue.d.ts +4 -1
- package/dist/components/BbTable/BbTable.vue.d.ts +258 -295
- package/dist/components/BbTable/types.d.ts +214 -0
- package/dist/components/BbTag/BbTag.vue.d.ts +3 -0
- package/dist/components/BbToast/BbToast.vue.d.ts +3 -0
- package/dist/components/BbToast/BbToastMessage.vue.d.ts +3 -0
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +8 -7
- package/dist/components/BbTree/BbTree.vue.d.ts +9 -1
- package/dist/composables/useItemText.d.ts +6 -1
- package/dist/index.d.ts +1 -1
- package/dist/index10.js +2 -2
- package/dist/index10.js.map +1 -1
- package/dist/index100.js +2 -2
- package/dist/index102.js +4 -3
- package/dist/index102.js.map +1 -1
- package/dist/index106.js +1 -1
- package/dist/index108.js +85 -57
- package/dist/index108.js.map +1 -1
- package/dist/index110.js +77 -55
- package/dist/index110.js.map +1 -1
- package/dist/index112.js +5 -5
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +1 -1
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +1 -1
- package/dist/index115.js +1 -1
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +1 -1
- package/dist/index118.js +1 -1
- package/dist/index12.js +8 -8
- package/dist/index120.js +1 -1
- package/dist/index121.js +11 -11
- package/dist/index121.js.map +1 -1
- package/dist/index14.js +9 -9
- package/dist/index16.js +3 -3
- package/dist/index18.js +2 -2
- package/dist/index189.js +2 -2
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +2 -4
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +2 -2
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +3 -2
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +3 -2
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +4 -3
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +3 -35
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +35 -6
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +6 -350
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +5 -134
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +16 -5
- package/dist/index199.js.map +1 -1
- package/dist/index20.js +1 -1
- package/dist/index20.js.map +1 -1
- package/dist/index200.js +15 -18
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +19 -2
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +18 -184
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +29 -23
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +8 -331
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +2 -2
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +351 -2
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +131 -13
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +2 -16
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +184 -18
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +23 -29
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +369 -8
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +2 -3
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +2 -3
- package/dist/index213.js.map +1 -1
- package/dist/index216.js +73 -53
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +3 -3
- package/dist/index22.js +2 -2
- package/dist/index221.js +223 -10
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +252 -429
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +10 -8
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +428 -82
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +9 -8
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +88 -5
- package/dist/index226.js.map +1 -1
- package/dist/index235.js +2 -69
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +2 -162
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +2 -2
- package/dist/index238.js +2 -2
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +9 -2
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +1 -1
- package/dist/index24.js.map +1 -1
- package/dist/index240.js +6 -2
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +162 -2
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +2 -2
- package/dist/index243.js +2 -224
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +68 -257
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +2 -38
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +38 -2
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +2 -2
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +2 -2
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +2 -2
- package/dist/index250.js +2 -2
- package/dist/index251.js +2 -2
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +5 -0
- package/dist/index252.js.map +1 -0
- package/dist/index26.js +3 -3
- package/dist/index26.js.map +1 -1
- package/dist/index28.js +172 -155
- package/dist/index28.js.map +1 -1
- package/dist/index30.js +2 -2
- package/dist/index32.js +2 -2
- package/dist/index34.js +2 -2
- package/dist/index34.js.map +1 -1
- package/dist/index36.js +21 -19
- package/dist/index36.js.map +1 -1
- package/dist/index38.js.map +1 -1
- package/dist/index44.js +1 -1
- package/dist/index44.js.map +1 -1
- package/dist/index46.js +1 -1
- package/dist/index46.js.map +1 -1
- package/dist/index6.js.map +1 -1
- package/dist/index62.js +168 -137
- package/dist/index62.js.map +1 -1
- package/dist/index64.js +38 -30
- package/dist/index64.js.map +1 -1
- package/dist/index66.js.map +1 -1
- package/dist/index69.js +1 -1
- package/dist/index72.js +1 -1
- package/dist/index74.js.map +1 -1
- package/dist/index76.js +96 -66
- package/dist/index76.js.map +1 -1
- package/dist/index78.js +1 -1
- package/dist/index8.js +2 -2
- package/dist/index82.js +2 -2
- package/dist/index82.js.map +1 -1
- package/dist/index84.js.map +1 -1
- package/dist/index88.js +7 -4
- package/dist/index88.js.map +1 -1
- package/dist/index96.js +2 -2
- package/dist/index96.js.map +1 -1
- package/dist/index98.js +35 -30
- package/dist/index98.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/CommonProps.d.ts +15 -8
- package/package.json +1 -1
package/dist/index216.js
CHANGED
@@ -1,99 +1,119 @@
|
|
1
|
-
import { computePosition as F } from "./
|
2
|
-
import { autoUpdate as
|
3
|
-
import {
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
import { computePosition as F } from "./index206.js";
|
2
|
+
import { autoUpdate as L, platform as N } from "./index206.js";
|
3
|
+
import { unref as o, computed as u, ref as i, shallowRef as U, watch as g, getCurrentScope as j, onScopeDispose as k, shallowReadonly as a } from "vue";
|
4
|
+
import { arrow as q } from "./index211.js";
|
5
|
+
import { detectOverflow as T, flip as W, offset as X, shift as Y } from "./index211.js";
|
6
|
+
function h(t) {
|
7
|
+
var l;
|
8
|
+
return (l = t == null ? void 0 : t.$el) != null ? l : t;
|
7
9
|
}
|
8
|
-
function
|
9
|
-
return
|
10
|
+
function H(t) {
|
11
|
+
return {
|
12
|
+
name: "arrow",
|
13
|
+
options: t,
|
14
|
+
fn(l) {
|
15
|
+
const n = h(o(t.element));
|
16
|
+
return n == null ? {} : q({
|
17
|
+
element: n,
|
18
|
+
padding: t.padding
|
19
|
+
}).fn(l);
|
20
|
+
}
|
21
|
+
};
|
22
|
+
}
|
23
|
+
function C(t) {
|
24
|
+
return typeof window > "u" ? 1 : (t.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
10
25
|
}
|
11
|
-
function S(
|
12
|
-
const
|
13
|
-
return Math.round(
|
26
|
+
function S(t, l) {
|
27
|
+
const n = C(t);
|
28
|
+
return Math.round(l * n) / n;
|
14
29
|
}
|
15
|
-
function
|
16
|
-
|
17
|
-
const
|
30
|
+
function I(t, l, n) {
|
31
|
+
n === void 0 && (n = {});
|
32
|
+
const x = n.whileElementsMounted, D = u(() => {
|
18
33
|
var e;
|
19
|
-
return (e =
|
20
|
-
}),
|
34
|
+
return (e = o(n.open)) != null ? e : !0;
|
35
|
+
}), O = u(() => o(n.middleware)), v = u(() => {
|
21
36
|
var e;
|
22
|
-
return (e =
|
37
|
+
return (e = o(n.placement)) != null ? e : "bottom";
|
23
38
|
}), m = u(() => {
|
24
39
|
var e;
|
25
|
-
return (e =
|
40
|
+
return (e = o(n.strategy)) != null ? e : "absolute";
|
26
41
|
}), V = u(() => {
|
27
42
|
var e;
|
28
|
-
return (e =
|
29
|
-
}),
|
43
|
+
return (e = o(n.transform)) != null ? e : !0;
|
44
|
+
}), f = u(() => h(t.value)), r = u(() => h(l.value)), p = i(0), w = i(0), c = i(m.value), E = i(v.value), P = U({}), y = i(!1), $ = u(() => {
|
30
45
|
const e = {
|
31
46
|
position: c.value,
|
32
47
|
left: "0",
|
33
48
|
top: "0"
|
34
49
|
};
|
35
|
-
if (!
|
50
|
+
if (!r.value)
|
36
51
|
return e;
|
37
|
-
const
|
52
|
+
const _ = S(r.value, p.value), M = S(r.value, w.value);
|
38
53
|
return V.value ? {
|
39
54
|
...e,
|
40
|
-
transform: "translate(" +
|
41
|
-
...C(
|
55
|
+
transform: "translate(" + _ + "px, " + M + "px)",
|
56
|
+
...C(r.value) >= 1.5 && {
|
42
57
|
willChange: "transform"
|
43
58
|
}
|
44
59
|
} : {
|
45
60
|
position: c.value,
|
46
|
-
left:
|
47
|
-
top:
|
61
|
+
left: _ + "px",
|
62
|
+
top: M + "px"
|
48
63
|
};
|
49
64
|
});
|
50
65
|
let s;
|
51
|
-
function
|
52
|
-
|
53
|
-
middleware:
|
54
|
-
placement:
|
66
|
+
function d() {
|
67
|
+
f.value == null || r.value == null || F(f.value, r.value, {
|
68
|
+
middleware: O.value,
|
69
|
+
placement: v.value,
|
55
70
|
strategy: m.value
|
56
71
|
}).then((e) => {
|
57
|
-
p.value = e.x, w.value = e.y, c.value = e.strategy, E.value = e.placement,
|
72
|
+
p.value = e.x, w.value = e.y, c.value = e.strategy, E.value = e.placement, P.value = e.middlewareData, y.value = !0;
|
58
73
|
});
|
59
74
|
}
|
60
|
-
function
|
75
|
+
function R() {
|
61
76
|
typeof s == "function" && (s(), s = void 0);
|
62
77
|
}
|
63
|
-
function
|
64
|
-
if (
|
65
|
-
|
78
|
+
function b() {
|
79
|
+
if (R(), x === void 0) {
|
80
|
+
d();
|
66
81
|
return;
|
67
82
|
}
|
68
|
-
if (
|
69
|
-
s =
|
83
|
+
if (f.value != null && r.value != null) {
|
84
|
+
s = x(f.value, r.value, d);
|
70
85
|
return;
|
71
86
|
}
|
72
87
|
}
|
73
88
|
function B() {
|
74
|
-
|
89
|
+
D.value || (y.value = !1);
|
75
90
|
}
|
76
|
-
return
|
91
|
+
return g([O, v, m], d, {
|
77
92
|
flush: "sync"
|
78
|
-
}),
|
93
|
+
}), g([f, r], b, {
|
79
94
|
flush: "sync"
|
80
|
-
}),
|
95
|
+
}), g(D, B, {
|
81
96
|
flush: "sync"
|
82
|
-
}), j() && k(
|
83
|
-
x:
|
84
|
-
y:
|
85
|
-
strategy:
|
86
|
-
placement:
|
87
|
-
middlewareData:
|
88
|
-
isPositioned:
|
89
|
-
floatingStyles:
|
90
|
-
update:
|
97
|
+
}), j() && k(R), {
|
98
|
+
x: a(p),
|
99
|
+
y: a(w),
|
100
|
+
strategy: a(c),
|
101
|
+
placement: a(E),
|
102
|
+
middlewareData: a(P),
|
103
|
+
isPositioned: a(y),
|
104
|
+
floatingStyles: $,
|
105
|
+
update: d
|
91
106
|
};
|
92
107
|
}
|
93
108
|
export {
|
94
|
-
|
109
|
+
H as arrow,
|
110
|
+
L as autoUpdate,
|
95
111
|
F as computePosition,
|
96
|
-
|
97
|
-
|
112
|
+
T as detectOverflow,
|
113
|
+
W as flip,
|
114
|
+
X as offset,
|
115
|
+
N as platform,
|
116
|
+
Y as shift,
|
117
|
+
I as useFloating
|
98
118
|
};
|
99
119
|
//# sourceMappingURL=index216.js.map
|
package/dist/index216.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index216.js","sources":["../node_modules/@floating-ui/vue/dist/floating-ui.vue.esm.js"],"sourcesContent":["import { arrow as arrow$1, computePosition } from '@floating-ui/dom';\nexport { autoPlacement, autoUpdate, computePosition, detectOverflow, flip, getOverflowAncestors, hide, inline, limitShift, offset, platform, shift, size } from '@floating-ui/dom';\nimport { unref, computed, ref, shallowRef, watch, getCurrentScope, onScopeDispose, shallowReadonly } from 'vue-demi';\n\nfunction unwrapElement(element) {\n var _$el;\n return (_$el = element == null ? void 0 : element.$el) != null ? _$el : element;\n}\n\n/**\n * Positions an inner element of the floating element such that it is centered to the reference element.\n * @param options The arrow options.\n * @see https://floating-ui.com/docs/arrow\n */\nfunction arrow(options) {\n return {\n name: 'arrow',\n options,\n fn(args) {\n const element = unwrapElement(unref(options.element));\n if (element == null) {\n return {};\n }\n return arrow$1({\n element,\n padding: options.padding\n }).fn(args);\n }\n };\n}\n\nfunction getDPR(element) {\n if (typeof window === 'undefined') {\n return 1;\n }\n const win = element.ownerDocument.defaultView || window;\n return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n const dpr = getDPR(element);\n return Math.round(value * dpr) / dpr;\n}\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element next to a reference element when it is given a certain CSS positioning strategy.\n * @param reference The reference template ref.\n * @param floating The floating template ref.\n * @param options The floating options.\n * @see https://floating-ui.com/docs/vue\n */\nfunction useFloating(reference, floating, options) {\n if (options === void 0) {\n options = {};\n }\n const whileElementsMountedOption = options.whileElementsMounted;\n const openOption = computed(() => {\n var _unref;\n return (_unref = unref(options.open)) != null ? _unref : true;\n });\n const middlewareOption = computed(() => unref(options.middleware));\n const placementOption = computed(() => {\n var _unref2;\n return (_unref2 = unref(options.placement)) != null ? _unref2 : 'bottom';\n });\n const strategyOption = computed(() => {\n var _unref3;\n return (_unref3 = unref(options.strategy)) != null ? _unref3 : 'absolute';\n });\n const transformOption = computed(() => {\n var _unref4;\n return (_unref4 = unref(options.transform)) != null ? _unref4 : true;\n });\n const referenceElement = computed(() => unwrapElement(reference.value));\n const floatingElement = computed(() => unwrapElement(floating.value));\n const x = ref(0);\n const y = ref(0);\n const strategy = ref(strategyOption.value);\n const placement = ref(placementOption.value);\n const middlewareData = shallowRef({});\n const isPositioned = ref(false);\n const floatingStyles = computed(() => {\n const initialStyles = {\n position: strategy.value,\n left: '0',\n top: '0'\n };\n if (!floatingElement.value) {\n return initialStyles;\n }\n const xVal = roundByDPR(floatingElement.value, x.value);\n const yVal = roundByDPR(floatingElement.value, y.value);\n if (transformOption.value) {\n return {\n ...initialStyles,\n transform: \"translate(\" + xVal + \"px, \" + yVal + \"px)\",\n ...(getDPR(floatingElement.value) >= 1.5 && {\n willChange: 'transform'\n })\n };\n }\n return {\n position: strategy.value,\n left: xVal + \"px\",\n top: yVal + \"px\"\n };\n });\n let whileElementsMountedCleanup;\n function update() {\n if (referenceElement.value == null || floatingElement.value == null) {\n return;\n }\n computePosition(referenceElement.value, floatingElement.value, {\n middleware: middlewareOption.value,\n placement: placementOption.value,\n strategy: strategyOption.value\n }).then(position => {\n x.value = position.x;\n y.value = position.y;\n strategy.value = position.strategy;\n placement.value = position.placement;\n middlewareData.value = position.middlewareData;\n isPositioned.value = true;\n });\n }\n function cleanup() {\n if (typeof whileElementsMountedCleanup === 'function') {\n whileElementsMountedCleanup();\n whileElementsMountedCleanup = undefined;\n }\n }\n function attach() {\n cleanup();\n if (whileElementsMountedOption === undefined) {\n update();\n return;\n }\n if (referenceElement.value != null && floatingElement.value != null) {\n whileElementsMountedCleanup = whileElementsMountedOption(referenceElement.value, floatingElement.value, update);\n return;\n }\n }\n function reset() {\n if (!openOption.value) {\n isPositioned.value = false;\n }\n }\n watch([middlewareOption, placementOption, strategyOption], update, {\n flush: 'sync'\n });\n watch([referenceElement, floatingElement], attach, {\n flush: 'sync'\n });\n watch(openOption, reset, {\n flush: 'sync'\n });\n if (getCurrentScope()) {\n onScopeDispose(cleanup);\n }\n return {\n x: shallowReadonly(x),\n y: shallowReadonly(y),\n strategy: shallowReadonly(strategy),\n placement: shallowReadonly(placement),\n middlewareData: shallowReadonly(middlewareData),\n isPositioned: shallowReadonly(isPositioned),\n floatingStyles,\n update\n };\n}\n\nexport { arrow, useFloating };\n"],"names":["unwrapElement","element","_$el","getDPR","roundByDPR","value","dpr","useFloating","reference","floating","
|
1
|
+
{"version":3,"file":"index216.js","sources":["../node_modules/@floating-ui/vue/dist/floating-ui.vue.esm.js"],"sourcesContent":["import { arrow as arrow$1, computePosition } from '@floating-ui/dom';\nexport { autoPlacement, autoUpdate, computePosition, detectOverflow, flip, getOverflowAncestors, hide, inline, limitShift, offset, platform, shift, size } from '@floating-ui/dom';\nimport { unref, computed, ref, shallowRef, watch, getCurrentScope, onScopeDispose, shallowReadonly } from 'vue-demi';\n\nfunction unwrapElement(element) {\n var _$el;\n return (_$el = element == null ? void 0 : element.$el) != null ? _$el : element;\n}\n\n/**\n * Positions an inner element of the floating element such that it is centered to the reference element.\n * @param options The arrow options.\n * @see https://floating-ui.com/docs/arrow\n */\nfunction arrow(options) {\n return {\n name: 'arrow',\n options,\n fn(args) {\n const element = unwrapElement(unref(options.element));\n if (element == null) {\n return {};\n }\n return arrow$1({\n element,\n padding: options.padding\n }).fn(args);\n }\n };\n}\n\nfunction getDPR(element) {\n if (typeof window === 'undefined') {\n return 1;\n }\n const win = element.ownerDocument.defaultView || window;\n return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n const dpr = getDPR(element);\n return Math.round(value * dpr) / dpr;\n}\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element next to a reference element when it is given a certain CSS positioning strategy.\n * @param reference The reference template ref.\n * @param floating The floating template ref.\n * @param options The floating options.\n * @see https://floating-ui.com/docs/vue\n */\nfunction useFloating(reference, floating, options) {\n if (options === void 0) {\n options = {};\n }\n const whileElementsMountedOption = options.whileElementsMounted;\n const openOption = computed(() => {\n var _unref;\n return (_unref = unref(options.open)) != null ? _unref : true;\n });\n const middlewareOption = computed(() => unref(options.middleware));\n const placementOption = computed(() => {\n var _unref2;\n return (_unref2 = unref(options.placement)) != null ? _unref2 : 'bottom';\n });\n const strategyOption = computed(() => {\n var _unref3;\n return (_unref3 = unref(options.strategy)) != null ? _unref3 : 'absolute';\n });\n const transformOption = computed(() => {\n var _unref4;\n return (_unref4 = unref(options.transform)) != null ? _unref4 : true;\n });\n const referenceElement = computed(() => unwrapElement(reference.value));\n const floatingElement = computed(() => unwrapElement(floating.value));\n const x = ref(0);\n const y = ref(0);\n const strategy = ref(strategyOption.value);\n const placement = ref(placementOption.value);\n const middlewareData = shallowRef({});\n const isPositioned = ref(false);\n const floatingStyles = computed(() => {\n const initialStyles = {\n position: strategy.value,\n left: '0',\n top: '0'\n };\n if (!floatingElement.value) {\n return initialStyles;\n }\n const xVal = roundByDPR(floatingElement.value, x.value);\n const yVal = roundByDPR(floatingElement.value, y.value);\n if (transformOption.value) {\n return {\n ...initialStyles,\n transform: \"translate(\" + xVal + \"px, \" + yVal + \"px)\",\n ...(getDPR(floatingElement.value) >= 1.5 && {\n willChange: 'transform'\n })\n };\n }\n return {\n position: strategy.value,\n left: xVal + \"px\",\n top: yVal + \"px\"\n };\n });\n let whileElementsMountedCleanup;\n function update() {\n if (referenceElement.value == null || floatingElement.value == null) {\n return;\n }\n computePosition(referenceElement.value, floatingElement.value, {\n middleware: middlewareOption.value,\n placement: placementOption.value,\n strategy: strategyOption.value\n }).then(position => {\n x.value = position.x;\n y.value = position.y;\n strategy.value = position.strategy;\n placement.value = position.placement;\n middlewareData.value = position.middlewareData;\n isPositioned.value = true;\n });\n }\n function cleanup() {\n if (typeof whileElementsMountedCleanup === 'function') {\n whileElementsMountedCleanup();\n whileElementsMountedCleanup = undefined;\n }\n }\n function attach() {\n cleanup();\n if (whileElementsMountedOption === undefined) {\n update();\n return;\n }\n if (referenceElement.value != null && floatingElement.value != null) {\n whileElementsMountedCleanup = whileElementsMountedOption(referenceElement.value, floatingElement.value, update);\n return;\n }\n }\n function reset() {\n if (!openOption.value) {\n isPositioned.value = false;\n }\n }\n watch([middlewareOption, placementOption, strategyOption], update, {\n flush: 'sync'\n });\n watch([referenceElement, floatingElement], attach, {\n flush: 'sync'\n });\n watch(openOption, reset, {\n flush: 'sync'\n });\n if (getCurrentScope()) {\n onScopeDispose(cleanup);\n }\n return {\n x: shallowReadonly(x),\n y: shallowReadonly(y),\n strategy: shallowReadonly(strategy),\n placement: shallowReadonly(placement),\n middlewareData: shallowReadonly(middlewareData),\n isPositioned: shallowReadonly(isPositioned),\n floatingStyles,\n update\n };\n}\n\nexport { arrow, useFloating };\n"],"names":["unwrapElement","element","_$el","arrow","options","args","unref","arrow$1","getDPR","roundByDPR","value","dpr","useFloating","reference","floating","whileElementsMountedOption","openOption","computed","_unref","middlewareOption","placementOption","_unref2","strategyOption","_unref3","transformOption","_unref4","referenceElement","floatingElement","x","ref","y","strategy","placement","middlewareData","shallowRef","isPositioned","floatingStyles","initialStyles","xVal","yVal","whileElementsMountedCleanup","update","computePosition","position","cleanup","attach","reset","watch","getCurrentScope","onScopeDispose","shallowReadonly"],"mappings":";;;;;AAIA,SAASA,EAAcC,GAAS;AAC9B,MAAIC;AACJ,UAAQA,IAAOD,KAAW,OAAO,SAASA,EAAQ,QAAQ,OAAOC,IAAOD;AAC1E;AAOA,SAASE,EAAMC,GAAS;AACtB,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAAA;AAAA,IACA,GAAGC,GAAM;AACP,YAAMJ,IAAUD,EAAcM,EAAMF,EAAQ,OAAO,CAAC;AACpD,aAAIH,KAAW,OACN,KAEFM,EAAQ;AAAA,QACb,SAAAN;AAAA,QACA,SAASG,EAAQ;AAAA,MACzB,CAAO,EAAE,GAAGC,CAAI;AAAA,IACX;AAAA,EACL;AACA;AAEA,SAASG,EAAOP,GAAS;AACvB,SAAI,OAAO,SAAW,MACb,KAEGA,EAAQ,cAAc,eAAe,QACtC,oBAAoB;AACjC;AAEA,SAASQ,EAAWR,GAASS,GAAO;AAClC,QAAMC,IAAMH,EAAOP,CAAO;AAC1B,SAAO,KAAK,MAAMS,IAAQC,CAAG,IAAIA;AACnC;AASA,SAASC,EAAYC,GAAWC,GAAUV,GAAS;AACjD,EAAIA,MAAY,WACdA,IAAU,CAAA;AAEZ,QAAMW,IAA6BX,EAAQ,sBACrCY,IAAaC,EAAS,MAAM;AAChC,QAAIC;AACJ,YAAQA,IAASZ,EAAMF,EAAQ,IAAI,MAAM,OAAOc,IAAS;AAAA,EAC7D,CAAG,GACKC,IAAmBF,EAAS,MAAMX,EAAMF,EAAQ,UAAU,CAAC,GAC3DgB,IAAkBH,EAAS,MAAM;AACrC,QAAII;AACJ,YAAQA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,EAAgBf,CAAY;AAAA,IAC1C,gBAAAC;AAAA,IACA,QAAAK;AAAA,EACJ;AACA;","x_google_ignoreList":[0]}
|
package/dist/index217.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { getDefaultExportFromCjs as f } from "./index227.js";
|
2
|
-
import { M as s } from "./
|
3
|
-
import { s as m } from "./
|
4
|
-
import { o as p } from "./
|
2
|
+
import { M as s } from "./index246.js";
|
3
|
+
import { s as m } from "./index247.js";
|
4
|
+
import { o as p } from "./index248.js";
|
5
5
|
function c(r, i) {
|
6
6
|
for (var o = 0; o < i.length; o++) {
|
7
7
|
const e = i[o];
|
package/dist/index22.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as g, computed as n, ref as _, openBlock as w, createElementBlock as B, normalizeClass as C, createElementVNode as l, normalizeProps as t, guardReactiveProps as u, renderSlot as V } from "vue";
|
2
|
-
import { isCssColor as i } from "./
|
3
|
-
import { when as E } from "./
|
2
|
+
import { isCssColor as i } from "./index191.js";
|
3
|
+
import { when as E } from "./index194.js";
|
4
4
|
const N = {
|
5
5
|
class: "bb-base-radio-container",
|
6
6
|
"aria-hidden": "true"
|
package/dist/index221.js
CHANGED
@@ -1,14 +1,227 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
import { commonjsGlobal as r, getDefaultExportFromCjs as f } from "./index227.js";
|
2
|
+
var c = 1 / 0, n = "[object Symbol]", a = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, d = "\\u0300-\\u036f\\ufe20-\\ufe23", b = "\\u20d0-\\u20f0", i = "[" + d + b + "]", s = RegExp(i, "g"), l = {
|
3
|
+
// Latin-1 Supplement block.
|
4
|
+
À: "A",
|
5
|
+
Á: "A",
|
6
|
+
Â: "A",
|
7
|
+
Ã: "A",
|
8
|
+
Ä: "A",
|
9
|
+
Å: "A",
|
10
|
+
à: "a",
|
11
|
+
á: "a",
|
12
|
+
â: "a",
|
13
|
+
ã: "a",
|
14
|
+
ä: "a",
|
15
|
+
å: "a",
|
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
|
+
};
|
8
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);
|
9
224
|
export {
|
10
|
-
|
11
|
-
m as tryOnScopeDispose,
|
12
|
-
p as unrefElement
|
225
|
+
v as default
|
13
226
|
};
|
14
227
|
//# sourceMappingURL=index221.js.map
|