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/index76.js
CHANGED
@@ -1,38 +1,41 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { useFloating as
|
3
|
-
import { useFocusTrap as
|
4
|
-
import { wait as
|
5
|
-
import { useId as
|
6
|
-
import
|
1
|
+
import { defineComponent as N, ref as a, computed as C, openBlock as f, createElementBlock as $, mergeProps as T, createElementVNode as s, renderSlot as B, normalizeProps as V, guardReactiveProps as I, unref as m, createBlock as P, Teleport as R, normalizeClass as U, normalizeStyle as j, withCtx as G, createCommentVNode as D, nextTick as J } from "vue";
|
2
|
+
import { useFloating as K, arrow as Q } from "./index216.js";
|
3
|
+
import { useFocusTrap as W } from "./index196.js";
|
4
|
+
import { wait as E } from "./index119.js";
|
5
|
+
import { useId as X } from "./index120.js";
|
6
|
+
import Y from "./index6.js";
|
7
7
|
import "./index7.js";
|
8
|
-
import { autoUpdate as
|
9
|
-
import { flip as
|
10
|
-
const
|
8
|
+
import { autoUpdate as Z } from "./index206.js";
|
9
|
+
import { flip as ee, offset as oe, shift as te } from "./index211.js";
|
10
|
+
const ae = ["id"], re = { class: "bb-popover__bubble" }, ne = /* @__PURE__ */ s("span", { class: "bb-popover__close-label" }, "Chiudi", -1), se = /* @__PURE__ */ s("svg", {
|
11
11
|
viewBox: "0 0 24 24",
|
12
12
|
fill: "none",
|
13
13
|
xmlns: "http://www.w3.org/2000/svg"
|
14
14
|
}, [
|
15
|
-
/* @__PURE__ */
|
15
|
+
/* @__PURE__ */ s("path", {
|
16
16
|
d: "M23 23L1 1M23 1L1 23",
|
17
17
|
stroke: "currentColor",
|
18
18
|
"stroke-width": "2",
|
19
19
|
"stroke-linecap": "round"
|
20
20
|
})
|
21
|
-
], -1),
|
21
|
+
], -1), me = /* @__PURE__ */ N({
|
22
22
|
__name: "BbPopover",
|
23
23
|
props: {
|
24
|
+
arrowPadding: { default: 10 },
|
24
25
|
block: { type: Boolean },
|
25
26
|
disabled: { type: Boolean },
|
27
|
+
eager: { type: Boolean },
|
28
|
+
offset: { default: 3 },
|
29
|
+
padding: { default: 10 },
|
26
30
|
placement: { default: "bottom" },
|
27
|
-
theme: { default: "default" },
|
28
31
|
showClose: { type: Boolean, default: !0 },
|
32
|
+
theme: { default: "default" },
|
29
33
|
transitionDuration: { default: 150 },
|
30
|
-
focusTarget: {}
|
31
|
-
padding: { default: 10 }
|
34
|
+
focusTarget: {}
|
32
35
|
},
|
33
36
|
emits: ["shown", "hidden"],
|
34
|
-
setup(
|
35
|
-
const o =
|
37
|
+
setup(M, { emit: L }) {
|
38
|
+
const o = M, l = L, { id: S } = X(), p = `bbp_${S.value}`, u = a(), i = a(), _ = a(), { activate: O, deactivate: z } = W(i, {
|
36
39
|
/**
|
37
40
|
* This traps all clicks outside so we are pressing
|
38
41
|
* the trigger we just allow and process that in its
|
@@ -41,41 +44,63 @@ const X = ["id"], Y = /* @__PURE__ */ a("span", { class: "bb-popover__arrow" },
|
|
41
44
|
* close the popover and be done
|
42
45
|
*/
|
43
46
|
clickOutsideDeactivates: (e) => {
|
44
|
-
var
|
47
|
+
var k;
|
45
48
|
const t = e.target;
|
46
|
-
return t instanceof HTMLElement && (
|
49
|
+
return t instanceof HTMLElement && (k = u.value) != null && k.contains(t) || (b(), l("hidden")), !0;
|
47
50
|
},
|
48
|
-
escapeDeactivates: () => (
|
49
|
-
await
|
51
|
+
escapeDeactivates: () => (J(async () => {
|
52
|
+
await b(), v(), l("hidden");
|
50
53
|
}), !0),
|
51
54
|
/* We don't return focus so that when
|
52
55
|
* we press a button on tyhe page we can focus
|
53
56
|
* THAT button and not the current trigger
|
54
57
|
*/
|
55
58
|
returnFocusOnDeactivate: !1
|
56
|
-
}), { floatingStyles:
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
59
|
+
}), { floatingStyles: F, placement: g, middlewareData: w } = K(
|
60
|
+
u,
|
61
|
+
i,
|
62
|
+
{
|
63
|
+
placement: o.placement,
|
64
|
+
whileElementsMounted: Z,
|
65
|
+
middleware: [
|
66
|
+
ee(),
|
67
|
+
oe(o.offset),
|
68
|
+
te({ padding: o.padding }),
|
69
|
+
Q({
|
70
|
+
element: _,
|
71
|
+
padding: o.arrowPadding
|
72
|
+
})
|
73
|
+
]
|
74
|
+
}
|
75
|
+
), H = C(() => ({
|
61
76
|
class: {
|
62
77
|
"bb-popover--block": o.block,
|
63
78
|
[`bb-popover--theme-${o.theme}`]: o.theme
|
64
79
|
}
|
65
|
-
})),
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
80
|
+
})), r = a(!1), n = a(!1), c = a(!1), d = a(!0), q = C(() => {
|
81
|
+
if (w.value.arrow) {
|
82
|
+
const { x: e, y: t } = w.value.arrow;
|
83
|
+
return {
|
84
|
+
style: {
|
85
|
+
left: `${e}px`,
|
86
|
+
top: `${t}px`
|
87
|
+
}
|
88
|
+
};
|
89
|
+
}
|
90
|
+
}), x = async () => {
|
91
|
+
d.value = !1, c.value = !1, r.value = !0, await E(50), n.value = !0, r.value = !1;
|
92
|
+
}, b = async () => {
|
93
|
+
n.value = !1, r.value = !1, c.value = !0, await E(o.transitionDuration), c.value = !1, d.value = !0;
|
94
|
+
}, h = a(!1), A = async () => {
|
95
|
+
if (n.value) {
|
96
|
+
await b(), v(), l("hidden");
|
72
97
|
return;
|
73
98
|
}
|
74
|
-
if (
|
99
|
+
if (r.value || o.disabled)
|
75
100
|
return;
|
76
|
-
await
|
101
|
+
h.value = !0, await x();
|
77
102
|
let e = o.focusTarget ?? ".bb-popover__close";
|
78
|
-
|
103
|
+
O({
|
79
104
|
onPostActivate: () => {
|
80
105
|
if (i.value) {
|
81
106
|
const t = i.value.querySelector(e);
|
@@ -87,70 +112,75 @@ const X = ["id"], Y = /* @__PURE__ */ a("span", { class: "bb-popover__arrow" },
|
|
87
112
|
var t;
|
88
113
|
const e = (t = u.value) == null ? void 0 : t.querySelector(`[aria-controls=popover_${p}]`);
|
89
114
|
e instanceof HTMLElement && e.focus();
|
90
|
-
},
|
91
|
-
|
115
|
+
}, y = async () => {
|
116
|
+
z(), await b(), v(), l("hidden");
|
92
117
|
};
|
93
|
-
return (e, t) => (f(),
|
94
|
-
|
118
|
+
return (e, t) => (f(), $("span", T({ class: "bb-popover" }, H.value), [
|
119
|
+
s("span", {
|
95
120
|
class: "bb-popover__wrapper",
|
96
121
|
ref_key: "wrapper",
|
97
122
|
ref: u
|
98
123
|
}, [
|
99
|
-
|
124
|
+
B(e.$slots, "activator", V(I({
|
100
125
|
props: {
|
101
126
|
"aria-controls": `popover_${p}`,
|
102
|
-
"aria-expanded":
|
103
|
-
onClick:
|
127
|
+
"aria-expanded": n.value,
|
128
|
+
onClick: A,
|
104
129
|
id: p,
|
105
130
|
disabled: !!e.disabled
|
106
131
|
},
|
107
|
-
closed:
|
132
|
+
closed: d.value,
|
108
133
|
closing: c.value,
|
109
134
|
disabled: !!e.disabled,
|
110
|
-
open:
|
111
|
-
opening:
|
112
|
-
placement: m(
|
135
|
+
open: n.value,
|
136
|
+
opening: r.value,
|
137
|
+
placement: m(g)
|
113
138
|
})))
|
114
139
|
], 512),
|
115
|
-
(f(),
|
116
|
-
|
117
|
-
|
118
|
-
|
140
|
+
(f(), P(R, { to: "body" }, [
|
141
|
+
h.value || e.eager ? (f(), $("span", {
|
142
|
+
key: 0,
|
143
|
+
class: U(["bb-popover__bubble-container", {
|
144
|
+
[`bb-popover__bubble-container--${m(g)}`]: !0,
|
119
145
|
[`bb-popover__bubble-container--${e.theme}`]: e.theme,
|
120
|
-
"bb-popover__bubble-container--hidden":
|
146
|
+
"bb-popover__bubble-container--hidden": d.value,
|
121
147
|
"bb-popover__bubble-container--closing": c.value,
|
122
|
-
"bb-popover__bubble-container--opening":
|
123
|
-
"bb-popover__bubble-container--open":
|
148
|
+
"bb-popover__bubble-container--opening": r.value,
|
149
|
+
"bb-popover__bubble-container--open": n.value
|
124
150
|
}]),
|
125
151
|
ref_key: "content",
|
126
152
|
ref: i,
|
127
|
-
style:
|
128
|
-
...m(
|
153
|
+
style: j({
|
154
|
+
...m(F),
|
129
155
|
transitionDuration: `${o.transitionDuration}ms`
|
130
156
|
}),
|
131
157
|
id: `popover_${p}`
|
132
158
|
}, [
|
133
|
-
|
134
|
-
|
135
|
-
|
159
|
+
s("span", T({
|
160
|
+
class: "bb-popover__arrow",
|
161
|
+
ref_key: "bubblearrow",
|
162
|
+
ref: _
|
163
|
+
}, q.value), null, 16),
|
164
|
+
s("span", re, [
|
165
|
+
e.showClose ? (f(), P(Y, {
|
136
166
|
key: 0,
|
137
167
|
class: "bb-popover__close",
|
138
|
-
onClick:
|
168
|
+
onClick: y
|
139
169
|
}, {
|
140
|
-
default:
|
141
|
-
|
142
|
-
|
170
|
+
default: G(() => [
|
171
|
+
ne,
|
172
|
+
se
|
143
173
|
]),
|
144
174
|
_: 1
|
145
|
-
})) :
|
146
|
-
|
175
|
+
})) : D("", !0),
|
176
|
+
B(e.$slots, "default", { close: y })
|
147
177
|
])
|
148
|
-
], 14,
|
178
|
+
], 14, ae)) : D("", !0)
|
149
179
|
]))
|
150
180
|
], 16));
|
151
181
|
}
|
152
182
|
});
|
153
183
|
export {
|
154
|
-
|
184
|
+
me as default
|
155
185
|
};
|
156
186
|
//# sourceMappingURL=index76.js.map
|
package/dist/index76.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index76.js","sources":["../src/components/BbPopover/BbPopover.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, createElementVNode as _createElementVNode, openBlock as _openBlock, withCtx as _withCtx, createBlock as _createBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, Teleport as _Teleport, mergeProps as _mergeProps, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = [\"id\"]\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"bb-popover__arrow\" }, null, -1)\nconst _hoisted_3 = { class: \"bb-popover__bubble\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"bb-popover__close-label\" }, \"Chiudi\", -1)\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"svg\", {\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M23 23L1 1M23 1L1 23\",\n stroke: \"currentColor\",\n \"stroke-width\": \"2\",\n \"stroke-linecap\": \"round\"\n })\n], -1)\n\nimport { computed, nextTick, ref } from \"vue\";\nimport {\n useFloating,\n autoUpdate,\n flip,\n shift,\n Placement,\n} from \"@floating-ui/vue\";\nimport { useFocusTrap } from \"@vueuse/integrations/useFocusTrap\";\nimport { wait } from \"@/utilities/functions/wait\";\nimport { useId } from \"@/composables/useId\";\nimport BaseButton from \"../BaseButton/BaseButton.vue\";\nimport { CommonProps } from \"@/types/CommonProps\";\n\nexport type BbPopoverProps = Pick<\n CommonProps,\n | \"block\"\n | \"disabled\"\n | \"placement\"\n | \"theme\"\n | \"showClose\"\n | \"transitionDuration\"\n> & {\n /**\n * Elements that obtains focus immediately after opening the popover.\n * By default it's the first tabbable item.\n */\n focusTarget?: string;\n /**\n * Minimum empty space to keep from the edge of the page\n */\n padding?: number;\n};\n\nexport type BbPopoverEvents = {\n (e: \"shown\"): void;\n (e: \"hidden\"): void;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbPopover',\n props: {\n block: { type: Boolean },\n disabled: { type: Boolean },\n placement: { default: \"bottom\" },\n theme: { default: \"default\" },\n showClose: { type: Boolean, default: true },\n transitionDuration: { default: 150 },\n focusTarget: {},\n padding: { default: 10 }\n },\n emits: [\"shown\", \"hidden\"],\n setup(__props: any, { emit: __emit }) {\n\nconst props = __props;\n\nconst emit = __emit;\n\n\n\nconst { id: _id } = useId();\nconst id = `bbp_${_id.value}`;\n\nconst wrapper = ref<HTMLElement>();\nconst content = ref<HTMLElement>();\n\nconst { activate, deactivate } = useFocusTrap(content, {\n /**\n * This traps all clicks outside so we are pressing\n * the trigger we just allow and process that in its\n * own click handler.\n * If we are pressing anything random on the page\n * close the popover and be done\n */\n clickOutsideDeactivates: (event) => {\n const target = event.target;\n if (target instanceof HTMLElement) {\n if (wrapper.value?.contains(target)) {\n return true;\n }\n }\n closePopover();\n emit(\"hidden\");\n return true;\n },\n escapeDeactivates: () => {\n nextTick(async () => {\n await closePopover();\n focusTrigger();\n emit(\"hidden\");\n });\n return true;\n },\n /* We don't return focus so that when\n * we press a button on tyhe page we can focus\n * THAT button and not the current trigger\n */\n returnFocusOnDeactivate: false,\n});\n\nconst { floatingStyles, placement } = useFloating(wrapper, content, {\n placement: props.placement,\n whileElementsMounted: autoUpdate,\n middleware: [flip(), shift({ padding: props.padding })],\n});\n\nconst attributes = computed(() => {\n const classes = {\n \"bb-popover--block\": props.block,\n [`bb-popover--theme-${props.theme}`]: props.theme,\n };\n return {\n class: classes,\n };\n});\n\nconst opening = ref(false);\nconst open = ref(false);\nconst closing = ref(false);\nconst closed = ref(true);\n\nconst openPopover = async () => {\n closed.value = false;\n closing.value = false;\n opening.value = true;\n await wait(50);\n open.value = true;\n opening.value = false;\n};\n\nconst closePopover = async () => {\n open.value = false;\n opening.value = false;\n closing.value = true;\n await wait(props.transitionDuration);\n closing.value = false;\n closed.value = true;\n};\n\nconst onTriggerClick = async () => {\n if (open.value) {\n await closePopover();\n focusTrigger();\n emit(\"hidden\");\n return;\n }\n if (opening.value || props.disabled) return;\n await openPopover();\n let focusTarget = props.focusTarget ?? \".bb-popover__close\";\n\n activate({\n onPostActivate: () => {\n if (content.value) {\n const target = content.value.querySelector(focusTarget);\n if (target instanceof HTMLElement) {\n target.focus();\n emit(\"shown\");\n }\n }\n },\n });\n};\n\nconst focusTrigger = () => {\n const trigger = wrapper.value?.querySelector(`[aria-controls=popover_${id}]`);\n if (trigger instanceof HTMLElement) {\n trigger.focus();\n }\n};\n\nconst onClickClose = async () => {\n deactivate();\n await closePopover();\n focusTrigger();\n emit(\"hidden\");\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"span\", _mergeProps({ class: \"bb-popover\" }, attributes.value), [\n _createElementVNode(\"span\", {\n class: \"bb-popover__wrapper\",\n ref_key: \"wrapper\",\n ref: wrapper\n }, [\n _renderSlot(_ctx.$slots, \"activator\", _normalizeProps(_guardReactiveProps({\n props: {\n 'aria-controls': `popover_${id}`,\n 'aria-expanded': open.value,\n onClick: onTriggerClick,\n id: id,\n disabled: !!_ctx.disabled,\n },\n closed: closed.value,\n closing: closing.value,\n disabled: !!_ctx.disabled,\n open: open.value,\n opening: opening.value,\n placement: _unref(placement),\n })))\n ], 512),\n (_openBlock(), _createBlock(_Teleport, { to: \"body\" }, [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"bb-popover__bubble-container\", {\n [`bb-popover__bubble-container--${_unref(placement)}`]: true,\n [`bb-popover__bubble-container--${_ctx.theme}`]: _ctx.theme,\n 'bb-popover__bubble-container--hidden': closed.value,\n 'bb-popover__bubble-container--closing': closing.value,\n 'bb-popover__bubble-container--opening': opening.value,\n 'bb-popover__bubble-container--open': open.value,\n }]),\n ref_key: \"content\",\n ref: content,\n style: _normalizeStyle({\n ..._unref(floatingStyles),\n transitionDuration: `${props.transitionDuration}ms`,\n }),\n id: `popover_${id}`\n }, [\n _hoisted_2,\n _createElementVNode(\"span\", _hoisted_3, [\n (_ctx.showClose)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n class: \"bb-popover__close\",\n onClick: onClickClose\n }, {\n default: _withCtx(() => [\n _hoisted_4,\n _hoisted_5\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _renderSlot(_ctx.$slots, \"default\")\n ])\n ], 14, _hoisted_1)\n ]))\n ], 16))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_sfc_main","_defineComponent","__props","__emit","props","emit","_id","useId","id","wrapper","ref","content","activate","deactivate","useFocusTrap","event","target","_a","closePopover","nextTick","focusTrigger","floatingStyles","placement","useFloating","autoUpdate","flip","shift","attributes","computed","opening","open","closing","closed","openPopover","wait","onTriggerClick","focusTarget","trigger","onClickClose","_ctx","_cache","_openBlock","_createElementBlock","_mergeProps","_createElementVNode","_renderSlot","_normalizeProps","_guardReactiveProps","_unref","_createBlock","_Teleport","_normalizeClass","_normalizeStyle","BaseButton","_withCtx","_createCommentVNode"],"mappings":";;;;;;;;;AAGA,MAAMA,IAAa,CAAC,IAAI,GAClBC,sBAA8C,QAAQ,EAAE,OAAO,uBAAuB,MAAM,EAAE,GAC9FC,IAAa,EAAE,OAAO,wBACtBC,uBAA8C,QAAQ,EAAE,OAAO,6BAA6B,UAAU,EAAE,GACxGC,uBAA8C,OAAO;AAAA,EACzD,SAAS;AAAA,EACT,MAAM;AAAA,EACN,OAAO;AACT,GAAG;AAAA,oBACgC,QAAQ;AAAA,IACvC,GAAG;AAAA,IACH,QAAQ;AAAA,IACR,gBAAgB;AAAA,IAChB,kBAAkB;AAAA,EAAA,CACnB;AACH,GAAG,EAAE,GA0CuBC,KAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,OAAO,EAAE,MAAM,QAAQ;AAAA,IACvB,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,WAAW,EAAE,SAAS,SAAS;AAAA,IAC/B,OAAO,EAAE,SAAS,UAAU;AAAA,IAC5B,WAAW,EAAE,MAAM,SAAS,SAAS,GAAK;AAAA,IAC1C,oBAAoB,EAAE,SAAS,IAAI;AAAA,IACnC,aAAa,CAAC;AAAA,IACd,SAAS,EAAE,SAAS,GAAG;AAAA,EACzB;AAAA,EACA,OAAO,CAAC,SAAS,QAAQ;AAAA,EACzB,MAAMC,GAAc,EAAE,MAAMC,KAAU;AAExC,UAAMC,IAAQF,GAERG,IAAOF,GAIP,EAAE,IAAIG,EAAI,IAAIC,EAAM,GACpBC,IAAK,OAAOF,EAAI,KAAK,IAErBG,IAAUC,KACVC,IAAUD,KAEV,EAAE,UAAAE,GAAU,YAAAC,MAAeC,EAAaH,GAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAQrD,yBAAyB,CAACI,MAAU;;AAClC,cAAMC,IAASD,EAAM;AAC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mB,KAAcQ,EAAaC,GAAW,EAAE,IAAI,UAAU;AAAA,QACrDN,EAAoB,QAAQ;AAAA,UAC1B,OAAOO,EAAgB,CAAC,gCAAgC;AAAA,YACtD,CAAC,iCAAiCH,EAAO1B,CAAS,CAAC,EAAE,GAAG;AAAA,YACxD,CAAC,iCAAiCiB,EAAK,KAAK,EAAE,GAAGA,EAAK;AAAA,YACtD,wCAAwCP,EAAO;AAAA,YAC/C,yCAAyCD,EAAQ;AAAA,YACjD,yCAAyCF,EAAQ;AAAA,YACjD,sCAAsCC,EAAK;AAAA,UAAA,CAC5C,CAAC;AAAA,UACF,SAAS;AAAA,UACT,KAAKnB;AAAA,UACL,OAAOyC,EAAgB;AAAA,YACrB,GAAGJ,EAAO3B,CAAc;AAAA,YACxB,oBAAoB,GAAGjB,EAAM,kBAAkB;AAAA,UAAA,CAChD;AAAA,UACD,IAAI,WAAWI,CAAE;AAAA,QAAA,GAChB;AAAA,UACDZ;AAAA,UACAgD,EAAoB,QAAQ/C,GAAY;AAAA,YACrC0C,EAAK,aACDE,KAAcQ,EAAaI,GAAY;AAAA,cACtC,KAAK;AAAA,cACL,OAAO;AAAA,cACP,SAASf;AAAA,YAAA,GACR;AAAA,cACD,SAASgB,EAAS,MAAM;AAAA,gBACtBxD;AAAA,gBACAC;AAAA,cAAA,CACD;AAAA,cACD,GAAG;AAAA,YAAA,CACJ,KACDwD,EAAoB,IAAI,EAAI;AAAA,YAChCV,EAAYN,EAAK,QAAQ,SAAS;AAAA,UAAA,CACnC;AAAA,QAAA,GACA,IAAI5C,CAAU;AAAA,MAAA,CAClB;AAAA,OACA,EAAE;AAAA,EAEP;AAEA,CAAC;"}
|
1
|
+
{"version":3,"file":"index76.js","sources":["../src/components/BbPopover/BbPopover.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, createElementVNode as _createElementVNode, mergeProps as _mergeProps, openBlock as _openBlock, createElementBlock as _createElementBlock, withCtx as _withCtx, createBlock as _createBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, Teleport as _Teleport } from \"vue\"\n\nconst _hoisted_1 = [\"id\"]\nconst _hoisted_2 = { class: \"bb-popover__bubble\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"bb-popover__close-label\" }, \"Chiudi\", -1)\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"svg\", {\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M23 23L1 1M23 1L1 23\",\n stroke: \"currentColor\",\n \"stroke-width\": \"2\",\n \"stroke-linecap\": \"round\"\n })\n], -1)\n\nimport { computed, nextTick, ref } from \"vue\";\nimport {\n useFloating,\n autoUpdate,\n flip,\n shift,\n Placement,\n offset,\n arrow,\n} from \"@floating-ui/vue\";\nimport { useFocusTrap } from \"@vueuse/integrations/useFocusTrap\";\nimport { wait } from \"@/utilities/functions/wait\";\nimport { useId } from \"@/composables/useId\";\nimport BaseButton from \"../BaseButton/BaseButton.vue\";\nimport { CommonProps } from \"@/types/CommonProps\";\n\nexport type BbPopoverProps = Pick<\n CommonProps,\n | \"arrowPadding\"\n | \"block\"\n | \"disabled\"\n | \"eager\"\n | \"offset\"\n | \"padding\"\n | \"placement\"\n | \"showClose\"\n | \"theme\"\n | \"transitionDuration\"\n> & {\n /**\n * Elements that obtains focus immediately after opening the popover.\n * By default it's the first tabbable item.\n */\n focusTarget?: string;\n};\n\nexport type BbPopoverEvents = {\n (e: \"shown\"): void;\n (e: \"hidden\"): void;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbPopover',\n props: {\n arrowPadding: { default: 10 },\n block: { type: Boolean },\n disabled: { type: Boolean },\n eager: { type: Boolean },\n offset: { default: 3 },\n padding: { default: 10 },\n placement: { default: \"bottom\" },\n showClose: { type: Boolean, default: true },\n theme: { default: \"default\" },\n transitionDuration: { default: 150 },\n focusTarget: {}\n },\n emits: [\"shown\", \"hidden\"],\n setup(__props: any, { emit: __emit }) {\n\nconst props = __props;\n\nconst emit = __emit;\n\n\n\nconst { id: _id } = useId();\nconst id = `bbp_${_id.value}`;\n\nconst wrapper = ref<HTMLElement>();\nconst content = ref<HTMLElement>();\nconst bubblearrow = ref<HTMLElement>();\n\nconst { activate, deactivate } = useFocusTrap(content, {\n /**\n * This traps all clicks outside so we are pressing\n * the trigger we just allow and process that in its\n * own click handler.\n * If we are pressing anything random on the page\n * close the popover and be done\n */\n clickOutsideDeactivates: (event) => {\n const target = event.target;\n if (target instanceof HTMLElement) {\n if (wrapper.value?.contains(target)) {\n return true;\n }\n }\n closePopover();\n emit(\"hidden\");\n return true;\n },\n escapeDeactivates: () => {\n nextTick(async () => {\n await closePopover();\n focusTrigger();\n emit(\"hidden\");\n });\n return true;\n },\n /* We don't return focus so that when\n * we press a button on tyhe page we can focus\n * THAT button and not the current trigger\n */\n returnFocusOnDeactivate: false,\n});\n\nconst { floatingStyles, placement, middlewareData } = useFloating(\n wrapper,\n content,\n {\n placement: props.placement,\n whileElementsMounted: autoUpdate,\n middleware: [\n flip(),\n offset(props.offset),\n shift({ padding: props.padding }),\n arrow({\n element: bubblearrow,\n padding: props.arrowPadding,\n }),\n ],\n }\n);\n\nconst attributes = computed(() => {\n const classes = {\n \"bb-popover--block\": props.block,\n [`bb-popover--theme-${props.theme}`]: props.theme,\n };\n return {\n class: classes,\n };\n});\n\nconst opening = ref(false);\nconst open = ref(false);\nconst closing = ref(false);\nconst closed = ref(true);\n\nconst arrowAttributes = computed(() => {\n if (middlewareData.value.arrow) {\n const { x, y } = middlewareData.value.arrow;\n return {\n style: {\n left: `${x}px`,\n top: `${y}px`,\n },\n };\n }\n});\n\nconst openPopover = async () => {\n closed.value = false;\n closing.value = false;\n opening.value = true;\n await wait(50);\n open.value = true;\n opening.value = false;\n};\n\nconst closePopover = async () => {\n open.value = false;\n opening.value = false;\n closing.value = true;\n await wait(props.transitionDuration);\n closing.value = false;\n closed.value = true;\n};\nconst hasOpenedOnce = ref(false);\nconst onTriggerClick = async () => {\n if (open.value) {\n await closePopover();\n focusTrigger();\n emit(\"hidden\");\n return;\n }\n if (opening.value || props.disabled) return;\n hasOpenedOnce.value = true;\n await openPopover();\n let focusTarget = props.focusTarget ?? \".bb-popover__close\";\n\n activate({\n onPostActivate: () => {\n if (content.value) {\n const target = content.value.querySelector(focusTarget);\n if (target instanceof HTMLElement) {\n target.focus();\n emit(\"shown\");\n }\n }\n },\n });\n};\n\nconst focusTrigger = () => {\n const trigger = wrapper.value?.querySelector(`[aria-controls=popover_${id}]`);\n if (trigger instanceof HTMLElement) {\n trigger.focus();\n }\n};\n\nconst onClickClose = async () => {\n deactivate();\n await closePopover();\n focusTrigger();\n emit(\"hidden\");\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"span\", _mergeProps({ class: \"bb-popover\" }, attributes.value), [\n _createElementVNode(\"span\", {\n class: \"bb-popover__wrapper\",\n ref_key: \"wrapper\",\n ref: wrapper\n }, [\n _renderSlot(_ctx.$slots, \"activator\", _normalizeProps(_guardReactiveProps({\n props: {\n 'aria-controls': `popover_${id}`,\n 'aria-expanded': open.value,\n onClick: onTriggerClick,\n id: id,\n disabled: !!_ctx.disabled,\n },\n closed: closed.value,\n closing: closing.value,\n disabled: !!_ctx.disabled,\n open: open.value,\n opening: opening.value,\n placement: _unref(placement),\n })))\n ], 512),\n (_openBlock(), _createBlock(_Teleport, { to: \"body\" }, [\n (hasOpenedOnce.value || _ctx.eager)\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 0,\n class: _normalizeClass([\"bb-popover__bubble-container\", {\n [`bb-popover__bubble-container--${_unref(placement)}`]: true,\n [`bb-popover__bubble-container--${_ctx.theme}`]: _ctx.theme,\n 'bb-popover__bubble-container--hidden': closed.value,\n 'bb-popover__bubble-container--closing': closing.value,\n 'bb-popover__bubble-container--opening': opening.value,\n 'bb-popover__bubble-container--open': open.value,\n }]),\n ref_key: \"content\",\n ref: content,\n style: _normalizeStyle({\n ..._unref(floatingStyles),\n transitionDuration: `${props.transitionDuration}ms`,\n }),\n id: `popover_${id}`\n }, [\n _createElementVNode(\"span\", _mergeProps({\n class: \"bb-popover__arrow\",\n ref_key: \"bubblearrow\",\n ref: bubblearrow\n }, arrowAttributes.value), null, 16),\n _createElementVNode(\"span\", _hoisted_2, [\n (_ctx.showClose)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n class: \"bb-popover__close\",\n onClick: onClickClose\n }, {\n default: _withCtx(() => [\n _hoisted_3,\n _hoisted_4\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _renderSlot(_ctx.$slots, \"default\", { close: onClickClose })\n ])\n ], 14, _hoisted_1))\n : _createCommentVNode(\"\", true)\n ]))\n ], 16))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_sfc_main","_defineComponent","__props","__emit","props","emit","_id","useId","id","wrapper","ref","content","bubblearrow","activate","deactivate","useFocusTrap","event","target","_a","closePopover","nextTick","focusTrigger","floatingStyles","placement","middlewareData","useFloating","autoUpdate","flip","offset","shift","arrow","attributes","computed","opening","open","closing","closed","arrowAttributes","x","y","openPopover","wait","hasOpenedOnce","onTriggerClick","focusTarget","trigger","onClickClose","_ctx","_cache","_openBlock","_createElementBlock","_mergeProps","_createElementVNode","_renderSlot","_normalizeProps","_guardReactiveProps","_unref","_createBlock","_Teleport","_normalizeClass","_normalizeStyle","BaseButton","_withCtx","_createCommentVNode"],"mappings":";;;;;;;;;AAGA,MAAMA,KAAa,CAAC,IAAI,GAClBC,KAAa,EAAE,OAAO,wBACtBC,uBAA8C,QAAQ,EAAE,OAAO,6BAA6B,UAAU,EAAE,GACxGC,uBAA8C,OAAO;AAAA,EACzD,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AA,GACR;AAAA,cACD,SAASgB,EAAS,MAAM;AAAA,gBACtBhE;AAAA,gBACAC;AAAA,cAAA,CACD;AAAA,cACD,GAAG;AAAA,YAAA,CACJ,KACDgE,EAAoB,IAAI,EAAI;AAAA,YAChCV,EAAYN,EAAK,QAAQ,WAAW,EAAE,OAAOD,GAAc;AAAA,UAAA,CAC5D;AAAA,WACA,IAAIlD,EAAU,KACjBmE,EAAoB,IAAI,EAAI;AAAA,MAAA,CACjC;AAAA,OACA,EAAE;AAAA,EAEP;AAEA,CAAC;"}
|
package/dist/index78.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as a, computed as l, openBlock as s, createElementBlock as n, normalizeClass as m, createElementVNode as i, normalizeStyle as c } from "vue";
|
2
|
-
import { clamp as p } from "./
|
2
|
+
import { clamp as p } from "./index190.js";
|
3
3
|
import { getAsPercentageBetween as d } from "./index118.js";
|
4
4
|
const v = /* @__PURE__ */ a({
|
5
5
|
__name: "BbProgress",
|
package/dist/index8.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as B, ref as h, computed as n, watch as L, openBlock as c, createElementBlock as i, normalizeClass as E, normalizeProps as p, mergeProps as d, createCommentVNode as I, createElementVNode as l, renderSlot as F, guardReactiveProps as M } from "vue";
|
2
|
-
import { isCssColor as f } from "./
|
3
|
-
import { when as N } from "./
|
2
|
+
import { isCssColor as f } from "./index191.js";
|
3
|
+
import { when as N } from "./index194.js";
|
4
4
|
const A = {
|
5
5
|
class: "bb-base-checkbox-container",
|
6
6
|
"aria-hidden": "true"
|
package/dist/index82.js
CHANGED
@@ -28,8 +28,8 @@ const L = /* @__PURE__ */ u({
|
|
28
28
|
hideLabel: { type: Boolean },
|
29
29
|
reverse: { type: Boolean },
|
30
30
|
hideLegend: { type: Boolean },
|
31
|
-
|
32
|
-
|
31
|
+
inputDirection: {},
|
32
|
+
legend: {}
|
33
33
|
},
|
34
34
|
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue", "inactive"],
|
35
35
|
setup(T, { emit: s }) {
|
package/dist/index82.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index82.js","sources":["../src/components/BbRadioGroup/BbRadioGroup.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, mergeProps as _mergeProps, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { Simplify } from \"@/types/Simplify\";\nimport { SlotAttributes } from \"../BaseRadio/BaseRadio.vue\";\nimport BaseInputContainer, {\n type BaseInputContainerProps,\n} from \"../BaseInputContainer/BaseInputContainer.vue\";\nimport BaseRadioGroup from \"../BaseRadioGroup/BaseRadioGroup.vue\";\nimport type {\n BaseRadioGroupEvents,\n BaseRadioGroupProps,\n} from \"../BaseRadioGroup/BaseRadioGroup.vue\";\nimport type { CommonProps } from \"@/types/CommonProps\";\n\nexport type BbRadioGroupProps = Pick<\n BaseRadioGroupProps,\n | \"autofocus\"\n | \"color\"\n | \"dependencies\"\n | \"depsDebounceTime\"\n | \"disabled\"\n | \"enforceCoherence\"\n | \"hasErrors\"\n | \"id\"\n | \"items\"\n | \"itemText\"\n | \"itemValue\"\n | \"loadingText\"\n | \"modelValue\"\n | \"modelValueDebounceTime\"\n | \"name\"\n | \"noDataText\"\n | \"readonly\"\n | \"matchStrategy\"\n> &\n Pick<BaseInputContainerProps, \"errors\" | \"hideLabel\" | \"reverse\"> &\n Pick<CommonProps, \"hideLegend\" | \"legend\"> & {\n /**\n * Defines the layout of the input as horizontal or vertical\n */\n inputDirection?: \"horizontal\" | \"vertical\";\n };\n\nexport type BbRadioGroupEvents = BaseRadioGroupEvents;\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbRadioGroup',\n props: {\n autofocus: {},\n color: {},\n dependencies: {},\n depsDebounceTime: {},\n disabled: { type: Boolean },\n enforceCoherence: { type: Boolean },\n hasErrors: { type: Boolean },\n id: {},\n items: { type: [Array, Function] },\n itemText: { type: [String, Function] },\n itemValue: { type: [String, Function] },\n loadingText: {},\n modelValue: {},\n modelValueDebounceTime: {},\n name: {},\n noDataText: {},\n readonly: {},\n matchStrategy: {},\n errors: {},\n hideLabel: { type: Boolean },\n reverse: { type: Boolean },\n hideLegend: { type: Boolean },\n legend: {},\n inputDirection: {}\n },\n emits: [\"blur\", \"change\", \"click\", \"focus\", \"input\", \"keydown\", \"mousedown\", \"mouseup\", \"update:modelValue\", \"inactive\"],\n setup(__props: any, { emit: __emit }) {\n\n\n\nconst emit = __emit;\n\n\n\nconst eventListeners = {\n onBlur: (event: FocusEvent) => emit(\"blur\", event),\n onChange: (event: Event) => emit(\"change\", event),\n onClick: (event: MouseEvent) => emit(\"click\", event),\n onFocus: (event: FocusEvent) => emit(\"focus\", event),\n onInactive: () => emit(\"inactive\"),\n onInput: (event: Event) => emit(\"input\", event),\n onKeydown: (event: KeyboardEvent) => emit(\"keydown\", event),\n onMousedown: (event: MouseEvent) => emit(\"mousedown\", event),\n onMouseup: (event: MouseEvent) => emit(\"mouseup\", event),\n \"onUpdate:modelValue\": (event: any) => emit(\"update:modelValue\", event),\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseInputContainer, {\n class: \"bb-radio-group\",\n direction: 'vertical',\n errors: _ctx.errors,\n hasErrors: _ctx.hasErrors,\n hideLabel: _ctx.hideLegend,\n id: _ctx.id,\n label: _ctx.legend,\n labelTag: 'legend',\n name: _ctx.name,\n reverse: _ctx.reverse,\n tag: 'fieldset'\n }, {\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"legend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n input: _withCtx(({ id, name }) => [\n _createVNode(BaseRadioGroup, _mergeProps({\n autofocus: _ctx.autofocus,\n color: _ctx.color,\n dependencies: _ctx.dependencies,\n depsDebounceTime: _ctx.depsDebounceTime,\n direction: _ctx.inputDirection,\n disabled: _ctx.disabled,\n enforceCoherence: _ctx.enforceCoherence,\n hasErrors: _ctx.hasErrors,\n hideLabel: _ctx.hideLabel,\n id: id,\n items: _ctx.items,\n itemText: _ctx.itemText,\n itemValue: _ctx.itemValue,\n loadingText: _ctx.loadingText,\n matchStrategy: _ctx.matchStrategy,\n modelValue: _ctx.modelValue,\n modelValueDebounceTime: _ctx.modelValueDebounceTime,\n name: name,\n noDataText: _ctx.noDataText,\n readonly: _ctx.readonly\n }, eventListeners), {\n prepend: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"prepend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n loading: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"loading\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"no-data\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"no-data\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"option:prepend\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"option:prepend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n icon: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"icon\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"label\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"option:append\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"option:append\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n append: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"append\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n _: 2\n }, 1040, [\"autofocus\", \"color\", \"dependencies\", \"depsDebounceTime\", \"direction\", \"disabled\", \"enforceCoherence\", \"hasErrors\", \"hideLabel\", \"id\", \"items\", \"itemText\", \"itemValue\", \"loadingText\", \"matchStrategy\", \"modelValue\", \"modelValueDebounceTime\", \"name\", \"noDataText\", \"readonly\"])\n ]),\n _: 3\n }, 8, [\"errors\", \"hasErrors\", \"hideLabel\", \"id\", \"label\", \"name\", \"reverse\"]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","emit","eventListeners","event","_ctx","_cache","_openBlock","_createBlock","BaseInputContainer","_withCtx","data","_renderSlot","_normalizeProps","_guardReactiveProps","id","name","_createVNode","BaseRadioGroup","_mergeProps"],"mappings":";;;;;AA8CA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,WAAW,CAAC;AAAA,IACZ,OAAO,CAAC;AAAA,IACR,cAAc,CAAC;AAAA,IACf,kBAAkB,CAAC;AAAA,IACnB,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,kBAAkB,EAAE,MAAM,QAAQ;AAAA,IAClC,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,IAAI,CAAC;AAAA,IACL,OAAO,EAAE,MAAM,CAAC,OAAO,QAAQ,EAAE;AAAA,IACjC,UAAU,EAAE,MAAM,CAAC,QAAQ,QAAQ,EAAE;AAAA,IACrC,WAAW,EAAE,MAAM,CAAC,QAAQ,QAAQ,EAAE;AAAA,IACtC,aAAa,CAAC;AAAA,IACd,YAAY,CAAC;AAAA,IACb,wBAAwB,CAAC;AAAA,IACzB,MAAM,CAAC;AAAA,IACP,YAAY,CAAC;AAAA,IACb,UAAU,CAAC;AAAA,IACX,eAAe,CAAC;AAAA,IAChB,QAAQ,CAAC;AAAA,IACT,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,SAAS,EAAE,MAAM,QAAQ;AAAA,IACzB,YAAY,EAAE,MAAM,QAAQ;AAAA,IAC5B,QAAQ,CAAC;AAAA,IACT,gBAAgB,CAAC;AAAA,EACnB;AAAA,EACA,OAAO,CAAC,QAAQ,UAAU,SAAS,SAAS,SAAS,WAAW,aAAa,WAAW,qBAAqB,UAAU;AAAA,EACvH,MAAMC,GAAc,EAAE,MAAMC,KAAU;AAIxC,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AAA,YAClCC,EAAYP,EAAK,QAAQ,iBAAiBQ,EAAgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CACrF;AAAA,UACD,QAAQD,EAAS,CAACC,MAAS;AAAA,YACzBC,EAAYP,EAAK,QAAQ,UAAUQ,EAAgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CAC9E;AAAA,UACD,GAAG;AAAA,QACL,GAAG,MAAM,CAAC,aAAa,SAAS,gBAAgB,oBAAoB,aAAa,YAAY,oBAAoB,aAAa,aAAa,MAAM,SAAS,YAAY,aAAa,eAAe,iBAAiB,cAAc,0BAA0B,QAAQ,cAAc,UAAU,CAAC;AAAA,MAAA,CAC7R;AAAA,MACD,GAAG;AAAA,IAAA,GACF,GAAG,CAAC,UAAU,aAAa,aAAa,MAAM,SAAS,QAAQ,SAAS,CAAC;AAAA,EAE9E;AAEA,CAAC;"}
|
1
|
+
{"version":3,"file":"index82.js","sources":["../src/components/BbRadioGroup/BbRadioGroup.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, mergeProps as _mergeProps, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { Simplify } from \"@/types/Simplify\";\nimport { SlotAttributes } from \"../BaseRadio/BaseRadio.vue\";\nimport BaseInputContainer, {\n type BaseInputContainerProps,\n} from \"../BaseInputContainer/BaseInputContainer.vue\";\nimport BaseRadioGroup from \"../BaseRadioGroup/BaseRadioGroup.vue\";\nimport type {\n BaseRadioGroupEvents,\n BaseRadioGroupProps,\n} from \"../BaseRadioGroup/BaseRadioGroup.vue\";\nimport type { CommonProps } from \"@/types/CommonProps\";\n\nexport type BbRadioGroupProps = Pick<\n BaseRadioGroupProps,\n | \"autofocus\"\n | \"color\"\n | \"dependencies\"\n | \"depsDebounceTime\"\n | \"disabled\"\n | \"enforceCoherence\"\n | \"hasErrors\"\n | \"id\"\n | \"items\"\n | \"itemText\"\n | \"itemValue\"\n | \"loadingText\"\n | \"modelValue\"\n | \"modelValueDebounceTime\"\n | \"name\"\n | \"noDataText\"\n | \"readonly\"\n | \"matchStrategy\"\n> &\n Pick<BaseInputContainerProps, \"errors\" | \"hideLabel\" | \"reverse\"> &\n Pick<CommonProps, \"hideLegend\" | \"inputDirection\" | \"legend\">;\n\nexport type BbRadioGroupEvents = BaseRadioGroupEvents;\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbRadioGroup',\n props: {\n autofocus: {},\n color: {},\n dependencies: {},\n depsDebounceTime: {},\n disabled: { type: Boolean },\n enforceCoherence: { type: Boolean },\n hasErrors: { type: Boolean },\n id: {},\n items: { type: [Array, Function] },\n itemText: { type: [String, Function] },\n itemValue: { type: [String, Function] },\n loadingText: {},\n modelValue: {},\n modelValueDebounceTime: {},\n name: {},\n noDataText: {},\n readonly: {},\n matchStrategy: {},\n errors: {},\n hideLabel: { type: Boolean },\n reverse: { type: Boolean },\n hideLegend: { type: Boolean },\n inputDirection: {},\n legend: {}\n },\n emits: [\"blur\", \"change\", \"click\", \"focus\", \"input\", \"keydown\", \"mousedown\", \"mouseup\", \"update:modelValue\", \"inactive\"],\n setup(__props: any, { emit: __emit }) {\n\n\n\nconst emit = __emit;\n\n\n\nconst eventListeners = {\n onBlur: (event: FocusEvent) => emit(\"blur\", event),\n onChange: (event: Event) => emit(\"change\", event),\n onClick: (event: MouseEvent) => emit(\"click\", event),\n onFocus: (event: FocusEvent) => emit(\"focus\", event),\n onInactive: () => emit(\"inactive\"),\n onInput: (event: Event) => emit(\"input\", event),\n onKeydown: (event: KeyboardEvent) => emit(\"keydown\", event),\n onMousedown: (event: MouseEvent) => emit(\"mousedown\", event),\n onMouseup: (event: MouseEvent) => emit(\"mouseup\", event),\n \"onUpdate:modelValue\": (event: any) => emit(\"update:modelValue\", event),\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseInputContainer, {\n class: \"bb-radio-group\",\n direction: 'vertical',\n errors: _ctx.errors,\n hasErrors: _ctx.hasErrors,\n hideLabel: _ctx.hideLegend,\n id: _ctx.id,\n label: _ctx.legend,\n labelTag: 'legend',\n name: _ctx.name,\n reverse: _ctx.reverse,\n tag: 'fieldset'\n }, {\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"legend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n input: _withCtx(({ id, name }) => [\n _createVNode(BaseRadioGroup, _mergeProps({\n autofocus: _ctx.autofocus,\n color: _ctx.color,\n dependencies: _ctx.dependencies,\n depsDebounceTime: _ctx.depsDebounceTime,\n direction: _ctx.inputDirection,\n disabled: _ctx.disabled,\n enforceCoherence: _ctx.enforceCoherence,\n hasErrors: _ctx.hasErrors,\n hideLabel: _ctx.hideLabel,\n id: id,\n items: _ctx.items,\n itemText: _ctx.itemText,\n itemValue: _ctx.itemValue,\n loadingText: _ctx.loadingText,\n matchStrategy: _ctx.matchStrategy,\n modelValue: _ctx.modelValue,\n modelValueDebounceTime: _ctx.modelValueDebounceTime,\n name: name,\n noDataText: _ctx.noDataText,\n readonly: _ctx.readonly\n }, eventListeners), {\n prepend: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"prepend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n loading: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"loading\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"no-data\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"no-data\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"option:prepend\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"option:prepend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n icon: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"icon\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"label\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"option:append\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"option:append\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n append: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"append\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n _: 2\n }, 1040, [\"autofocus\", \"color\", \"dependencies\", \"depsDebounceTime\", \"direction\", \"disabled\", \"enforceCoherence\", \"hasErrors\", \"hideLabel\", \"id\", \"items\", \"itemText\", \"itemValue\", \"loadingText\", \"matchStrategy\", \"modelValue\", \"modelValueDebounceTime\", \"name\", \"noDataText\", \"readonly\"])\n ]),\n _: 3\n }, 8, [\"errors\", \"hasErrors\", \"hideLabel\", \"id\", \"label\", \"name\", \"reverse\"]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","emit","eventListeners","event","_ctx","_cache","_openBlock","_createBlock","BaseInputContainer","_withCtx","data","_renderSlot","_normalizeProps","_guardReactiveProps","id","name","_createVNode","BaseRadioGroup","_mergeProps"],"mappings":";;;;;AAyCA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,WAAW,CAAC;AAAA,IACZ,OAAO,CAAC;AAAA,IACR,cAAc,CAAC;AAAA,IACf,kBAAkB,CAAC;AAAA,IACnB,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,kBAAkB,EAAE,MAAM,QAAQ;AAAA,IAClC,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,IAAI,CAAC;AAAA,IACL,OAAO,EAAE,MAAM,CAAC,OAAO,QAAQ,EAAE;AAAA,IACjC,UAAU,EAAE,MAAM,CAAC,QAAQ,QAAQ,EAAE;AAAA,IACrC,WAAW,EAAE,MAAM,CAAC,QAAQ,QAAQ,EAAE;AAAA,IACtC,aAAa,CAAC;AAAA,IACd,YAAY,CAAC;AAAA,IACb,wBAAwB,CAAC;AAAA,IACzB,MAAM,CAAC;AAAA,IACP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AA,YACnCC,EAAYP,EAAK,QAAQ,kBAAkBQ,EAAgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CACtF;AAAA,UACD,MAAMD,EAAS,CAACC,MAAS;AAAA,YACvBC,EAAYP,EAAK,QAAQ,QAAQQ,EAAgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CAC5E;AAAA,UACD,OAAOD,EAAS,CAACC,MAAS;AAAA,YACxBC,EAAYP,EAAK,QAAQ,SAASQ,EAAgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CAC7E;AAAA,UACD,iBAAiBD,EAAS,CAACC,MAAS;AAAA,YAClCC,EAAYP,EAAK,QAAQ,iBAAiBQ,EAAgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CACrF;AAAA,UACD,QAAQD,EAAS,CAACC,MAAS;AAAA,YACzBC,EAAYP,EAAK,QAAQ,UAAUQ,EAAgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CAC9E;AAAA,UACD,GAAG;AAAA,QACL,GAAG,MAAM,CAAC,aAAa,SAAS,gBAAgB,oBAAoB,aAAa,YAAY,oBAAoB,aAAa,aAAa,MAAM,SAAS,YAAY,aAAa,eAAe,iBAAiB,cAAc,0BAA0B,QAAQ,cAAc,UAAU,CAAC;AAAA,MAAA,CAC7R;AAAA,MACD,GAAG;AAAA,IAAA,GACF,GAAG,CAAC,UAAU,aAAa,aAAa,MAAM,SAAS,QAAQ,SAAS,CAAC;AAAA,EAE9E;AAEA,CAAC;"}
|
package/dist/index84.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index84.js","sources":["../src/components/BbRating/BbRating.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, mergeProps as _mergeProps, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { CommonProps } from \"@/types/CommonProps\";\nimport BaseInputContainer, {\n BaseInputContainerProps,\n} from \"../BaseInputContainer/BaseInputContainer.vue\";\nimport BaseRating from \"../BaseRating/BaseRating.vue\";\nimport type {\n BaseRatingEvents,\n BaseRatingProps,\n BaseRatingSlots,\n} from \"../BaseRating/BaseRating.vue\";\
|
1
|
+
{"version":3,"file":"index84.js","sources":["../src/components/BbRating/BbRating.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, mergeProps as _mergeProps, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { CommonProps } from \"@/types/CommonProps\";\nimport BaseInputContainer, {\n BaseInputContainerProps,\n} from \"../BaseInputContainer/BaseInputContainer.vue\";\nimport BaseRating from \"../BaseRating/BaseRating.vue\";\nimport type {\n BaseRatingEvents,\n BaseRatingProps,\n BaseRatingSlots,\n} from \"../BaseRating/BaseRating.vue\";\n\nexport type BbRatingProps = Pick<\n BaseRatingProps,\n | \"autofocus\"\n | \"color\"\n | \"disabled\"\n | \"hasErrors\"\n | \"id\"\n | \"modelValue\"\n | \"name\"\n | \"readonly\"\n | \"size\"\n | \"stars\"\n> &\n Pick<BaseInputContainerProps, \"errors\" | \"inputPosition\" | \"reverse\"> &\n Pick<CommonProps, \"hideLegend\" | \"legend\" | \"legendPosition\">;\n\nexport type BbRatingEvents = BaseRatingEvents;\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbRating',\n props: {\n autofocus: {},\n color: {},\n disabled: { type: Boolean },\n hasErrors: { type: Boolean },\n id: {},\n modelValue: {},\n name: {},\n readonly: {},\n size: {},\n stars: {},\n errors: {},\n inputPosition: { default: \"left\" },\n reverse: { type: Boolean },\n hideLegend: { type: Boolean },\n legend: {},\n legendPosition: {}\n },\n emits: [\"blur\", \"change\", \"click\", \"focus\", \"inactive\", \"input\", \"keydown\", \"mousedown\", \"mouseup\", \"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\n\n\nconst emit = __emit;\n\n\n\nconst eventListeners = {\n onBlur: (event: FocusEvent) => emit(\"blur\", event),\n onChange: (event: Event) => emit(\"change\", event),\n onClick: (event: MouseEvent) => emit(\"click\", event),\n onFocus: (event: FocusEvent) => emit(\"focus\", event),\n onInactive: () => emit(\"inactive\"),\n onInput: (event: Event) => emit(\"input\", event),\n onKeydown: (event: KeyboardEvent) => emit(\"keydown\", event),\n onMousedown: (event: MouseEvent) => emit(\"mousedown\", event),\n onMouseup: (event: MouseEvent) => emit(\"mouseup\", event),\n \"onUpdate:modelValue\": (event: any) => emit(\"update:modelValue\", event),\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseInputContainer, {\n class: \"bb-rating\",\n direction: 'vertical',\n errors: _ctx.errors,\n hasErrors: _ctx.hasErrors,\n hideLabel: _ctx.hideLegend,\n id: _ctx.id,\n inputPosition: _ctx.inputPosition,\n label: _ctx.legend,\n labelPosition: _ctx.legendPosition,\n labelTag: 'legend',\n name: _ctx.name,\n reverse: _ctx.reverse,\n tag: 'fieldset'\n }, {\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"legend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n input: _withCtx(({ id, name }) => [\n _createVNode(BaseRating, _mergeProps({\n autofocus: _ctx.autofocus,\n color: _ctx.color,\n disabled: _ctx.disabled,\n hasErrors: _ctx.hasErrors,\n id: id,\n modelValue: _ctx.modelValue,\n name: name,\n readonly: _ctx.readonly,\n stars: _ctx.stars,\n size: _ctx.size\n }, eventListeners), {\n icon: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"icon\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n _: 2\n }, 1040, [\"autofocus\", \"color\", \"disabled\", \"hasErrors\", \"id\", \"modelValue\", \"name\", \"readonly\", \"stars\", \"size\"])\n ]),\n _: 3\n }, 8, [\"errors\", \"hasErrors\", \"hideLabel\", \"id\", \"inputPosition\", \"label\", \"labelPosition\", \"name\", \"reverse\"]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","emit","eventListeners","event","_ctx","_cache","_openBlock","_createBlock","BaseInputContainer","_withCtx","data","_renderSlot","_normalizeProps","_guardReactiveProps","id","name","_createVNode","BaseRating","_mergeProps"],"mappings":";;;;;AAgCA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,WAAW,CAAC;AAAA,IACZ,OAAO,CAAC;AAAA,IACR,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,IAAI,CAAC;AAAA,IACL,YAAY,CAAC;AAAA,IACb,MAAM,CAAC;AAAA,IACP,UAAU,CAAC;AAAA,IACX,MAAM,CAAC;AAAA,IACP,OAAO,CAAC;AAAA,IACR,QAAQ,CAAC;AAAA,IACT,eAAe,EAAE,SAAS,OAAO;AAAA,IACjC,SAAS,EAAE,MAAM,QAAQ;AAAA,IACzB,YAAY,EAAE,MAAM,QAAQ;AAAA,IAC5B,QAAQ,CAAC;AAAA,IACT,gBAAgB,CAAC;AAAA,EACnB;AAAA,EACA,OAAO,CAAC,QAAQ,UAAU,SAAS,SAAS,YAAY,SAAS,WAAW,aAAa,WAAW,mBAAmB;AAAA,EACvH,MAAMC,GAAc,EAAE,MAAMC,KAAU;AAIxC,UAAMC,IAAOD,GAIPE,IAAiB;AAAA,MACrB,QAAQ,CAACC,MAAsBF,EAAK,QAAQE,CAAK;AAAA,MACjD,UAAU,CAACA,MAAiBF,EAAK,UAAUE,CAAK;AAAA,MAChD,SAAS,CAACA,MAAsBF,EAAK,SAASE,CAAK;AAAA,MACnD,SAAS,CAACA,MAAsBF,EAAK,SAASE,CAAK;AAAA,MACnD,YAAY,MAAMF,EA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AgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CAC5E;AAAA,UACD,GAAG;AAAA,QACF,GAAA,MAAM,CAAC,aAAa,SAAS,YAAY,aAAa,MAAM,cAAc,QAAQ,YAAY,SAAS,MAAM,CAAC;AAAA,MAAA,CAClH;AAAA,MACD,GAAG;AAAA,IACF,GAAA,GAAG,CAAC,UAAU,aAAa,aAAa,MAAM,iBAAiB,SAAS,iBAAiB,QAAQ,SAAS,CAAC;AAAA,EAEhH;AAEA,CAAC;"}
|
package/dist/index88.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as u, openBlock as b, createBlock as y, withCtx as n, renderSlot as a, normalizeProps as l, guardReactiveProps as i, createVNode as
|
1
|
+
import { defineComponent as u, openBlock as b, createBlock as y, withCtx as n, renderSlot as a, normalizeProps as l, guardReactiveProps as i, createVNode as h, mergeProps as c } from "vue";
|
2
2
|
import f from "./index18.js";
|
3
3
|
import "./index19.js";
|
4
4
|
import T from "./index28.js";
|
@@ -17,6 +17,7 @@ const v = /* @__PURE__ */ u({
|
|
17
17
|
itemText: {},
|
18
18
|
itemValue: {},
|
19
19
|
loadingText: {},
|
20
|
+
matchStrategy: {},
|
20
21
|
modelValueDebounceTime: {},
|
21
22
|
multiple: { type: Boolean },
|
22
23
|
name: {},
|
@@ -29,12 +30,11 @@ const v = /* @__PURE__ */ u({
|
|
29
30
|
addOptions: { type: Boolean },
|
30
31
|
comma: { type: Boolean },
|
31
32
|
filterBy: { type: [String, Array, Boolean, Function, null] },
|
32
|
-
prefill: { type: [Boolean, String]
|
33
|
+
prefill: { type: [Boolean, String] },
|
33
34
|
queryDebounceTime: {},
|
34
35
|
resetQueryOnOptionSelected: { type: Boolean },
|
35
36
|
stash: { type: Boolean },
|
36
37
|
updateOnAnimationFrame: { type: Boolean },
|
37
|
-
matchStrategy: {},
|
38
38
|
direction: {},
|
39
39
|
errors: {},
|
40
40
|
hideLabel: { type: Boolean },
|
@@ -70,7 +70,7 @@ const v = /* @__PURE__ */ u({
|
|
70
70
|
a(e.$slots, "label", l(i(t)))
|
71
71
|
]),
|
72
72
|
input: n(({ id: t, name: d, hasErrors: m }) => [
|
73
|
-
|
73
|
+
h(T, c({
|
74
74
|
addOptions: e.addOptions,
|
75
75
|
allowWriting: e.allowWriting,
|
76
76
|
autofocus: e.autofocus,
|
@@ -140,6 +140,9 @@ const v = /* @__PURE__ */ u({
|
|
140
140
|
spinner: n((o) => [
|
141
141
|
a(e.$slots, "spinner", l(i(o)))
|
142
142
|
]),
|
143
|
+
chip: n((o) => [
|
144
|
+
a(e.$slots, "chip", l(i(o)))
|
145
|
+
]),
|
143
146
|
_: 2
|
144
147
|
}, 1040, ["addOptions", "allowWriting", "autofocus", "comma", "dependencies", "depsDebounceTime", "disabled", "enforceCoherence", "filterBy", "hasErrors", "id", "items", "itemText", "itemValue", "loadingText", "matchStrategy", "modelValue", "modelValueDebounceTime", "multiple", "name", "noDataText", "placeholder", "prefill", "queryDebounceTime", "readonly", "resetQueryOnOptionSelected", "stash", "transitionDuration", "updateOnAnimationFrame"])
|
145
148
|
]),
|
package/dist/index88.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index88.js","sources":["../src/components/BbSelect/BbSelect.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, mergeProps as _mergeProps, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { Simplify } from \"@/types/Simplify\";\nimport BaseInputContainer, {\nBaseInputContainerProps,\n BaseInputContainerSlots,\n} from \"../BaseInputContainer/BaseInputContainer.vue\";\nimport BaseSelect from \"../BaseSelect/BaseSelect.vue\";\nimport type {\n BaseSelectEvents,\n BaseSelectProps,\n BaseSelectSlots,\n} from \"../BaseSelect/BaseSelect.vue\";\n\nexport type BbSelectProps = BaseSelectProps & Pick<BaseInputContainerProps, \n'direction' |\n'errors' |\n'hideLabel' |\n'label' |\n'labelPosition' |\n'reverse' \n>\n\nexport type BbSelectEvents = BaseSelectEvents;\n\nexport type BbSelectSlots = Simplify<\n BaseSelectSlots & Pick<BaseInputContainerSlots, \"label\">\n>;\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbSelect',\n props: {\n allowWriting: { type: Boolean, default: true },\n autofocus: {},\n dependencies: {},\n depsDebounceTime: {},\n disabled: { type: Boolean },\n enforceCoherence: { type: Boolean },\n hasErrors: { type: Boolean },\n id: {},\n itemText: {},\n itemValue: {},\n loadingText: {},\n modelValueDebounceTime: {},\n multiple: { type: Boolean },\n name: {},\n noDataText: {},\n placeholder: {},\n readonly: {},\n transitionDuration: {},\n items: {},\n modelValue: {},\n addOptions: { type: Boolean },\n comma: { type: Boolean },\n filterBy: { type: [String, Array, Boolean, Function, null] },\n prefill: { type: [Boolean, String], default: \"focus\" },\n queryDebounceTime: {},\n resetQueryOnOptionSelected: { type: Boolean },\n stash: { type: Boolean },\n updateOnAnimationFrame: { type: Boolean },\n matchStrategy: {},\n direction: {},\n errors: {},\n hideLabel: { type: Boolean },\n label: {},\n labelPosition: {},\n reverse: { type: Boolean }\n },\n emits: [\"blur\", \"change\", \"click\", \"focus\", \"inactive\", \"input\", \"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\n\n\nconst emit = __emit;\n\n\n\nconst eventListeners = {\n onBlur: (event: FocusEvent) => emit(\"blur\", event),\n onChange: (event: Event) => emit(\"change\", event),\n onClick: (event: MouseEvent) => emit(\"click\", event),\n onFocus: (event: FocusEvent) => emit(\"focus\", event),\n onInactive: () => emit(\"inactive\"),\n onInput: (event: Event) => emit(\"input\", event),\n \"onUpdate:modelValue\": (value: any) => emit(\"update:modelValue\", value),\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseInputContainer, {\n class: \"bb-select\",\n direction: _ctx.direction,\n errors: _ctx.errors,\n \"has-errors\": _ctx.hasErrors,\n hideLabel: _ctx.hideLabel,\n id: _ctx.id,\n label: _ctx.label,\n labelPosition: _ctx.labelPosition,\n modelValue: _ctx.modelValue,\n name: _ctx.name,\n reverse: _ctx.reverse\n }, {\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"label\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n input: _withCtx(({ id, name, hasErrors }) => [\n _createVNode(BaseSelect, _mergeProps({\n addOptions: _ctx.addOptions,\n allowWriting: _ctx.allowWriting,\n autofocus: _ctx.autofocus,\n comma: _ctx.comma,\n dependencies: _ctx.dependencies,\n depsDebounceTime: _ctx.depsDebounceTime,\n disabled: _ctx.disabled,\n enforceCoherence: _ctx.enforceCoherence,\n filterBy: _ctx.filterBy,\n hasErrors: hasErrors,\n id: id,\n items: _ctx.items,\n itemText: _ctx.itemText,\n itemValue: _ctx.itemValue,\n loadingText: _ctx.loadingText,\n matchStrategy: _ctx.matchStrategy,\n modelValue: _ctx.modelValue,\n modelValueDebounceTime: _ctx.modelValueDebounceTime,\n multiple: _ctx.multiple,\n name: name,\n noDataText: _ctx.noDataText,\n placeholder: _ctx.placeholder,\n prefill: _ctx.prefill,\n queryDebounceTime: _ctx.queryDebounceTime,\n readonly: _ctx.readonly,\n resetQueryOnOptionSelected: _ctx.resetQueryOnOptionSelected,\n stash: _ctx.stash,\n transitionDuration: _ctx.transitionDuration,\n updateOnAnimationFrame: _ctx.updateOnAnimationFrame\n }, eventListeners), {\n \"append-outer\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"append-outer\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n append: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"append\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n chevron: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"chevron\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n loading: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"loading\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"no-data\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"no-data\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"option:append\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"option:append\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"option:prepend\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"option:prepend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n option: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"option\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"options:append\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"options:append\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"options:prepend\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"options:prepend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"prepend-outer\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"prepend-outer\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n prepend: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"prepend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n spinner: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"spinner\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n _: 2\n }, 1040, [\"addOptions\", \"allowWriting\", \"autofocus\", \"comma\", \"dependencies\", \"depsDebounceTime\", \"disabled\", \"enforceCoherence\", \"filterBy\", \"hasErrors\", \"id\", \"items\", \"itemText\", \"itemValue\", \"loadingText\", \"matchStrategy\", \"modelValue\", \"modelValueDebounceTime\", \"multiple\", \"name\", \"noDataText\", \"placeholder\", \"prefill\", \"queryDebounceTime\", \"readonly\", \"resetQueryOnOptionSelected\", \"stash\", \"transitionDuration\", \"updateOnAnimationFrame\"])\n ]),\n _: 3\n }, 8, [\"direction\", \"errors\", \"has-errors\", \"hideLabel\", \"id\", \"label\", \"labelPosition\", \"modelValue\", \"name\", \"reverse\"]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","emit","eventListeners","event","value","_ctx","_cache","_openBlock","_createBlock","BaseInputContainer","_withCtx","data","_renderSlot","_normalizeProps","_guardReactiveProps","id","name","hasErrors","_createVNode","BaseSelect","_mergeProps"],"mappings":";;;;;AA+BA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,cAAc,EAAE,MAAM,SAAS,SAAS,GAAK;AAAA,IAC7C,WAAW,CAAC;AAAA,IACZ,cAAc,CAAC;AAAA,IACf,kBAAkB,CAAC;AAAA,IACnB,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,kBAAkB,EAAE,MAAM,QAAQ;AAAA,IAClC,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,IAAI,CAAC;AAAA,IACL,UAAU,CAAC;AAAA,IACX,WAAW,CAAC;AAAA,IACZ,aAAa,CAAC;AAAA,IACd,wBAAwB,CAAC;AAAA,IACzB,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,MAAM,CAAC;AAAA,IACP,YAAY,CAAC;AAAA,IACb,aAAa,CAAC;AAAA,IACd,UAAU,CAAC;AAAA,IACX,oBAAoB,CAAC;AAAA,IACrB,OAAO,CAAC;AAAA,IACR,YAAY,CAAC;AAAA,IACb,YAAY,EAAE,MAAM,QAAQ;AAAA,IAC5B,OAAO,EAAE,MAAM,QAAQ;AAAA,IACvB,UAAU,EAAE,MAAM,CAAC,QAAQ,OAAO,SAAS,UAAU,IAAI,EAAE;AAAA,IAC3D,SAAS,EAAE,MAAM,CAAC,SAAS,MAAM,GAAG,SAAS,QAAQ;AAAA,IACrD,mBAAmB,CAAC;AAAA,IACpB,4BAA4B,EAAE,MAAM,QAAQ;AAAA,IAC5C,OAAO,EAAE,MAAM,QAAQ;AAAA,IACvB,wBAAwB,EAAE,MAAM,QAAQ;AAAA,IACxC,eAAe,CAAC;AAAA,IAChB,WAAW,CAAC;AAAA,IACZ,QAAQ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oBH,CAAI,CAAC,CAAC;AAAA,UAAA,CAC/E;AAAA,UACD,GAAG;AAAA,QAAA,GACF,MAAM,CAAC,cAAc,gBAAgB,aAAa,SAAS,gBAAgB,oBAAoB,YAAY,oBAAoB,YAAY,aAAa,MAAM,SAAS,YAAY,aAAa,eAAe,iBAAiB,cAAc,0BAA0B,YAAY,QAAQ,cAAc,eAAe,WAAW,qBAAqB,YAAY,8BAA8B,SAAS,sBAAsB,wBAAwB,CAAC;AAAA,MAAA,CAC/b;AAAA,MACD,GAAG;AAAA,IACF,GAAA,GAAG,CAAC,aAAa,UAAU,cAAc,aAAa,MAAM,SAAS,iBAAiB,cAAc,QAAQ,SAAS,CAAC;AAAA,EAE3H;AAEA,CAAC;"}
|
1
|
+
{"version":3,"file":"index88.js","sources":["../src/components/BbSelect/BbSelect.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, mergeProps as _mergeProps, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { Simplify } from \"@/types/Simplify\";\nimport BaseInputContainer, {\nBaseInputContainerProps,\n BaseInputContainerSlots,\n} from \"../BaseInputContainer/BaseInputContainer.vue\";\nimport BaseSelect from \"../BaseSelect/BaseSelect.vue\";\nimport type {\n BaseSelectEvents,\n BaseSelectProps,\n BaseSelectSlots,\n} from \"../BaseSelect/BaseSelect.vue\";\n\nexport type BbSelectProps = BaseSelectProps & Pick<BaseInputContainerProps, \n'direction' |\n'errors' |\n'hideLabel' |\n'label' |\n'labelPosition' |\n'reverse' \n>\n\nexport type BbSelectEvents = BaseSelectEvents;\n\nexport type BbSelectSlots = Simplify<\n BaseSelectSlots & Pick<BaseInputContainerSlots, \"label\">\n>;\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbSelect',\n props: {\n allowWriting: { type: Boolean, default: true },\n autofocus: {},\n dependencies: {},\n depsDebounceTime: {},\n disabled: { type: Boolean },\n enforceCoherence: { type: Boolean },\n hasErrors: { type: Boolean },\n id: {},\n itemText: {},\n itemValue: {},\n loadingText: {},\n matchStrategy: {},\n modelValueDebounceTime: {},\n multiple: { type: Boolean },\n name: {},\n noDataText: {},\n placeholder: {},\n readonly: {},\n transitionDuration: {},\n items: {},\n modelValue: {},\n addOptions: { type: Boolean },\n comma: { type: Boolean },\n filterBy: { type: [String, Array, Boolean, Function, null] },\n prefill: { type: [Boolean, String] },\n queryDebounceTime: {},\n resetQueryOnOptionSelected: { type: Boolean },\n stash: { type: Boolean },\n updateOnAnimationFrame: { type: Boolean },\n direction: {},\n errors: {},\n hideLabel: { type: Boolean },\n label: {},\n labelPosition: {},\n reverse: { type: Boolean }\n },\n emits: [\"blur\", \"change\", \"click\", \"focus\", \"inactive\", \"input\", \"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\n\n\nconst emit = __emit;\n\n\n\nconst eventListeners = {\n onBlur: (event: FocusEvent) => emit(\"blur\", event),\n onChange: (event: Event) => emit(\"change\", event),\n onClick: (event: MouseEvent) => emit(\"click\", event),\n onFocus: (event: FocusEvent) => emit(\"focus\", event),\n onInactive: () => emit(\"inactive\"),\n onInput: (event: Event) => emit(\"input\", event),\n \"onUpdate:modelValue\": (value: any) => emit(\"update:modelValue\", value),\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseInputContainer, {\n class: \"bb-select\",\n direction: _ctx.direction,\n errors: _ctx.errors,\n \"has-errors\": _ctx.hasErrors,\n hideLabel: _ctx.hideLabel,\n id: _ctx.id,\n label: _ctx.label,\n labelPosition: _ctx.labelPosition,\n modelValue: _ctx.modelValue,\n name: _ctx.name,\n reverse: _ctx.reverse\n }, {\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"label\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n input: _withCtx(({ id, name, hasErrors }) => [\n _createVNode(BaseSelect, _mergeProps({\n addOptions: _ctx.addOptions,\n allowWriting: _ctx.allowWriting,\n autofocus: _ctx.autofocus,\n comma: _ctx.comma,\n dependencies: _ctx.dependencies,\n depsDebounceTime: _ctx.depsDebounceTime,\n disabled: _ctx.disabled,\n enforceCoherence: _ctx.enforceCoherence,\n filterBy: _ctx.filterBy,\n hasErrors: hasErrors,\n id: id,\n items: _ctx.items,\n itemText: _ctx.itemText,\n itemValue: _ctx.itemValue,\n loadingText: _ctx.loadingText,\n matchStrategy: _ctx.matchStrategy,\n modelValue: _ctx.modelValue,\n modelValueDebounceTime: _ctx.modelValueDebounceTime,\n multiple: _ctx.multiple,\n name: name,\n noDataText: _ctx.noDataText,\n placeholder: _ctx.placeholder,\n prefill: _ctx.prefill,\n queryDebounceTime: _ctx.queryDebounceTime,\n readonly: _ctx.readonly,\n resetQueryOnOptionSelected: _ctx.resetQueryOnOptionSelected,\n stash: _ctx.stash,\n transitionDuration: _ctx.transitionDuration,\n updateOnAnimationFrame: _ctx.updateOnAnimationFrame\n }, eventListeners), {\n \"append-outer\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"append-outer\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n append: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"append\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n chevron: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"chevron\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n loading: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"loading\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"no-data\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"no-data\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"option:append\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"option:append\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"option:prepend\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"option:prepend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n option: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"option\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"options:append\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"options:append\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"options:prepend\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"options:prepend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"prepend-outer\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"prepend-outer\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n prepend: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"prepend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n spinner: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"spinner\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n chip: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"chip\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n _: 2\n }, 1040, [\"addOptions\", \"allowWriting\", \"autofocus\", \"comma\", \"dependencies\", \"depsDebounceTime\", \"disabled\", \"enforceCoherence\", \"filterBy\", \"hasErrors\", \"id\", \"items\", \"itemText\", \"itemValue\", \"loadingText\", \"matchStrategy\", \"modelValue\", \"modelValueDebounceTime\", \"multiple\", \"name\", \"noDataText\", \"placeholder\", \"prefill\", \"queryDebounceTime\", \"readonly\", \"resetQueryOnOptionSelected\", \"stash\", \"transitionDuration\", \"updateOnAnimationFrame\"])\n ]),\n _: 3\n }, 8, [\"direction\", \"errors\", \"has-errors\", \"hideLabel\", \"id\", \"label\", \"labelPosition\", \"modelValue\", \"name\", \"reverse\"]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","emit","eventListeners","event","value","_ctx","_cache","_openBlock","_createBlock","BaseInputContainer","_withCtx","data","_renderSlot","_normalizeProps","_guardReactiveProps","id","name","hasErrors","_createVNode","BaseSelect","_mergeProps"],"mappings":";;;;;AA+BA,MAA4BA,IAAiBC,gBAAAA,EA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AC,cAAc,gBAAgB,aAAa,SAAS,gBAAgB,oBAAoB,YAAY,oBAAoB,YAAY,aAAa,MAAM,SAAS,YAAY,aAAa,eAAe,iBAAiB,cAAc,0BAA0B,YAAY,QAAQ,cAAc,eAAe,WAAW,qBAAqB,YAAY,8BAA8B,SAAS,sBAAsB,wBAAwB,CAAC;AAAA,MAAA,CAC/b;AAAA,MACD,GAAG;AAAA,IACF,GAAA,GAAG,CAAC,aAAa,UAAU,cAAc,aAAa,MAAM,SAAS,iBAAiB,cAAc,QAAQ,SAAS,CAAC;AAAA,EAE3H;AAEA,CAAC;"}
|
package/dist/index96.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as L, getCurrentInstance as N, ref as x, watch as C, openBlock as r, createElementBlock as d, normalizeClass as y, unref as A, createElementVNode as m, Fragment as f, renderList as q, createVNode as P, withCtx as U, renderSlot as h, toDisplayString as D, createCommentVNode as z } from "vue";
|
2
2
|
import { useId as K } from "./index120.js";
|
3
|
-
import { useRoute as F } from "./
|
4
|
-
import { useRouter as H } from "./
|
3
|
+
import { useRoute as F } from "./index239.js";
|
4
|
+
import { useRouter as H } from "./index240.js";
|
5
5
|
import { wait as J } from "./index119.js";
|
6
6
|
import O from "./index6.js";
|
7
7
|
import "./index7.js";
|