bitboss-ui 2.0.78 → 2.0.79
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/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +1 -1
- package/dist/components/BaseDialog/BaseDialog.vue.d.ts +1 -1
- package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +1 -1
- package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +1 -1
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +1 -1
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +1 -1
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +1 -1
- package/dist/components/BbSelect/BbSelect.vue.d.ts +1 -1
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +1 -1
- package/dist/components/OptionsContainer.vue.d.ts +1 -1
- package/dist/index110.js +5 -5
- package/dist/index118.js +25 -21
- package/dist/index120.js +5 -5
- package/dist/index122.js +1 -1
- package/dist/index126.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index130.js +1 -1
- package/dist/index132.js +2 -2
- package/dist/index133.js +2 -2
- package/dist/index15.js +4 -4
- package/dist/index17.js +3 -3
- package/dist/index19.js +2 -2
- package/dist/index204.js +2 -81
- package/dist/index205.js +5 -2
- package/dist/index206.js +16 -8
- package/dist/index207.js +16 -3
- package/dist/index208.js +18 -40
- package/dist/index209.js +19 -6
- package/dist/index21.js +14 -14
- package/dist/index210.js +27 -7
- package/dist/index211.js +3 -5
- package/dist/index212.js +2 -16
- package/dist/index213.js +8 -16
- package/dist/index214.js +249 -19
- package/dist/index215.js +51 -18
- package/dist/index216.js +44 -27
- package/dist/index217.js +5 -3
- package/dist/index218.js +60 -2
- package/dist/index219.js +47 -243
- package/dist/index221.js +13 -44
- package/dist/index222.js +20 -5
- package/dist/index223.js +4 -60
- package/dist/index224.js +124 -51
- package/dist/index225.js +127 -0
- package/dist/index226.js +2 -13
- package/dist/index227.js +39 -162
- package/dist/index228.js +5 -83
- package/dist/index229.js +7 -0
- package/dist/index23.js +188 -187
- package/dist/index230.js +12 -3
- package/dist/index231.js +353 -110
- package/dist/index232.js +81 -125
- package/dist/index233.js +3 -2
- package/dist/index234.js +2 -20
- package/dist/index235.js +4 -5
- package/dist/index236.js +2 -369
- package/dist/index237.js +164 -4
- package/dist/index238.js +84 -2
- package/dist/index240.js +3 -2
- package/dist/index241.js +7 -2
- package/dist/index242.js +2 -106
- package/dist/index244.js +53 -47
- package/dist/index246.js +100 -2
- package/dist/index248.js +2 -10
- package/dist/index249.js +9 -2
- package/dist/index25.js +109 -105
- package/dist/index250.js +2 -8
- package/dist/index251.js +6 -23
- package/dist/index252.js +14 -87
- package/dist/index253.js +11 -0
- package/dist/index254.js +23 -6
- package/dist/index255.js +87 -14
- package/dist/index257.js +8 -5
- package/dist/index258.js +3 -2
- package/dist/index260.js +7 -2
- package/dist/index261.js +176 -2
- package/dist/index262.js +281 -2
- package/dist/index263.js +6 -2
- package/dist/index264.js +2 -2
- package/dist/index265.js +2 -2
- package/dist/index266.js +2 -2
- package/dist/index267.js +2 -2
- package/dist/index268.js +2 -28
- package/dist/index269.js +2 -22
- package/dist/index27.js +1 -1
- package/dist/index270.js +4 -0
- package/dist/index271.js +2 -7
- package/dist/index272.js +2 -431
- package/dist/index273.js +2 -89
- package/dist/index274.js +27 -8
- package/dist/index275.js +22 -3
- package/dist/index277.js +2 -200
- package/dist/index278.js +126 -3
- package/dist/index279.js +430 -11
- package/dist/index280.js +21 -8
- package/dist/index282.js +2 -17
- package/dist/index283.js +223 -3
- package/dist/index284.js +200 -224
- package/dist/index285.js +436 -2
- package/dist/index286.js +121 -120
- package/dist/index287.js +3 -175
- package/dist/index288.js +3 -22
- package/dist/index289.js +14 -0
- package/dist/index29.js +3 -3
- package/dist/index290.js +9 -4
- package/dist/index291.js +9 -436
- package/dist/index292.js +16 -126
- package/dist/index293.js +4 -2
- package/dist/index294.js +89 -3
- package/dist/index296.js +3 -5
- package/dist/index297.js +204 -59
- package/dist/index298.js +2 -211
- package/dist/index299.js +5 -5
- package/dist/index300.js +66 -8
- package/dist/index304.js +1 -1
- package/dist/index305.js +4 -3
- package/dist/index306.js +7 -6
- package/dist/index307.js +6 -6
- package/dist/index308.js +6 -18
- package/dist/index309.js +18 -32
- package/dist/index31.js +2 -2
- package/dist/index310.js +32 -10
- package/dist/index311.js +3 -46
- package/dist/index312.js +47 -12
- package/dist/index313.js +10 -479
- package/dist/index314.js +1 -1
- package/dist/index315.js +482 -0
- package/dist/index317.js +1 -1
- package/dist/index318.js +47 -2
- package/dist/index319.js +2 -47
- package/dist/index33.js +2 -2
- package/dist/index35.js +3 -3
- package/dist/index37.js +99 -98
- package/dist/index39.js +4 -4
- package/dist/index41.js +2 -2
- package/dist/index43.js +2 -2
- package/dist/index45.js +8 -8
- package/dist/index47.js +2 -2
- package/dist/index49.js +2 -2
- package/dist/index55.js +1 -1
- package/dist/index57.js +1 -1
- package/dist/index61.js +2 -2
- package/dist/index75.js +3 -3
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index84.js +110 -106
- package/dist/index86.js +1 -1
- package/dist/index88.js +4 -4
- package/dist/index90.js +1 -1
- package/package.json +1 -1
- package/dist/index220.js +0 -54
- package/dist/index239.js +0 -6
- package/dist/index256.js +0 -283
- package/dist/index259.js +0 -4
- package/dist/index281.js +0 -11
- package/dist/index316.js +0 -4
- /package/dist/{index247.js → index243.js} +0 -0
package/dist/index84.js
CHANGED
@@ -1,9 +1,10 @@
|
|
1
|
-
import { defineComponent as te, ref as l, useAttrs as oe, getCurrentInstance as le, computed as p, nextTick as se, onBeforeUnmount as
|
2
|
-
import { useFocusTrap as ce } from "./
|
1
|
+
import { defineComponent as te, ref as l, useAttrs as oe, getCurrentInstance as le, computed as p, nextTick as se, onBeforeUnmount as N, onMounted as ae, watch as ne, openBlock as g, createBlock as ie, withCtx as re, createElementVNode as s, mergeProps as O, createElementBlock as V, renderSlot as n, createTextVNode as ue, toDisplayString as S, createCommentVNode as z } from "vue";
|
2
|
+
import { useFocusTrap as ce } from "./index227.js";
|
3
3
|
import { useId as A } from "./index8.js";
|
4
4
|
import { wait as E } from "./index131.js";
|
5
|
-
import { useModalsState as b } from "./
|
6
|
-
|
5
|
+
import { useModalsState as b } from "./index241.js";
|
6
|
+
import de from "./index230.js";
|
7
|
+
const fe = ["inert"], ve = { class: "bb-offcanvas-close" }, pe = ["aria-label"], ke = /* @__PURE__ */ te({
|
7
8
|
__name: "BbOffCanvas",
|
8
9
|
props: {
|
9
10
|
closeLabel: { default: "Chiudi" },
|
@@ -26,11 +27,11 @@ const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"],
|
|
26
27
|
},
|
27
28
|
emits: ["shown", "hidden", "update:modelValue"],
|
28
29
|
setup(H, { emit: I }) {
|
29
|
-
var
|
30
|
-
const e = H, u = I,
|
30
|
+
var x, L;
|
31
|
+
const e = H, u = I, _ = `title_${A().id.value}`, k = `description_${A().id.value}`, c = l(null), $ = l(null), W = l(null), F = l(null), R = l(null), K = l(null), P = oe(), T = !!((L = (x = le()) == null ? void 0 : x.proxy) != null && L.$nuxt), d = l(0), U = p(() => {
|
31
32
|
const { openedModals: t } = b();
|
32
33
|
return !t.value || t.value === d.value;
|
33
|
-
}), { activate: j, deactivate: q } = ce(
|
34
|
+
}), { activate: j, deactivate: q } = ce($, {
|
34
35
|
initialFocus: e.focusTarget ?? void 0,
|
35
36
|
clickOutsideDeactivates: (t) => t.target === c.value,
|
36
37
|
allowOutsideClick: !0,
|
@@ -38,21 +39,21 @@ const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"],
|
|
38
39
|
escapeDeactivates: () => (se(() => {
|
39
40
|
u("update:modelValue", !1);
|
40
41
|
}), !0)
|
41
|
-
}), G = p(() => e.closeLabel),
|
42
|
+
}), G = p(() => e.closeLabel), C = l(!1), f = l(!1), m = l(!0), v = l(!1), i = l(e.eager || e.modelValue), D = l(null), J = p(() => f.value || v.value), Q = () => {
|
42
43
|
if (!globalThis.document) return;
|
43
44
|
const t = window.innerWidth - document.documentElement.clientWidth;
|
44
45
|
document.body.style.overflow = "hidden", document.body.style.paddingRight = `${t}px`;
|
45
46
|
}, w = () => {
|
46
47
|
globalThis.document && (document.body.style.overflow = "auto", document.body.style.paddingRight = "0px");
|
47
48
|
};
|
48
|
-
|
49
|
+
N(() => {
|
49
50
|
if (e.modelValue) {
|
50
51
|
const { openedModals: t, modalHasClosed: o } = b();
|
51
52
|
t.value && (o(), d.value = 0, w());
|
52
53
|
}
|
53
54
|
}), ae(() => {
|
54
|
-
!e.modelValue && !i.value ||
|
55
|
-
}),
|
55
|
+
!e.modelValue && !i.value || T && !globalThis.document || M();
|
56
|
+
}), N(() => {
|
56
57
|
if (e.modelValue) {
|
57
58
|
const { openedModals: t, modalHasClosed: o } = b();
|
58
59
|
t.value && (o(), d.value = 0, w());
|
@@ -60,7 +61,7 @@ const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"],
|
|
60
61
|
}), ne(
|
61
62
|
() => e.modelValue,
|
62
63
|
() => {
|
63
|
-
!e.modelValue && !i.value ||
|
64
|
+
!e.modelValue && !i.value || T && !globalThis.document || M();
|
64
65
|
},
|
65
66
|
{ flush: "post" }
|
66
67
|
);
|
@@ -68,9 +69,9 @@ const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"],
|
|
68
69
|
if (e.modelValue) {
|
69
70
|
i.value || (i.value = !0), m.value = !1, v.value = !1, f.value = !0;
|
70
71
|
const { modalHasOpened: t, openedModals: o } = b();
|
71
|
-
t(), d.value = o.value, Q(), await E(e.transitionDuration), f.value = !1,
|
72
|
+
t(), d.value = o.value, Q(), await E(e.transitionDuration), f.value = !1, C.value = !0, u("shown"), j();
|
72
73
|
} else {
|
73
|
-
q(), f.value = !1,
|
74
|
+
q(), f.value = !1, C.value = !1, v.value = !0;
|
74
75
|
const { modalHasClosed: t, openedModals: o } = b();
|
75
76
|
t(), d.value = 0, o.value || w(), await E(e.transitionDuration), v.value = !1, m.value = !0, u("hidden"), D.value instanceof HTMLElement && D.value.focus();
|
76
77
|
}
|
@@ -86,7 +87,7 @@ const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"],
|
|
86
87
|
"bb-offcanvas bb-offcanvas__overlay": !0,
|
87
88
|
"bb-offcanvas--fullscreen": e.fullscreen,
|
88
89
|
"bb-offcanvas--faded": !U.value,
|
89
|
-
"bb-offcanvas--open":
|
90
|
+
"bb-offcanvas--open": C.value,
|
90
91
|
"bb-offcanvas--opening": f.value,
|
91
92
|
"bb-offcanvas--closed": m.value,
|
92
93
|
"bb-offcanvas--closing": v.value,
|
@@ -120,7 +121,7 @@ const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"],
|
|
120
121
|
role: "dialog",
|
121
122
|
"aria-modal": !0
|
122
123
|
};
|
123
|
-
i.value && (o["aria-labelledby"] =
|
124
|
+
i.value && (o["aria-labelledby"] = _, e.description && (o["aria-describedby"] = k));
|
124
125
|
let a, r;
|
125
126
|
const h = {
|
126
127
|
sm: 384,
|
@@ -139,101 +140,104 @@ const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"],
|
|
139
140
|
...o
|
140
141
|
};
|
141
142
|
});
|
142
|
-
return (t, o) => (g(), ie(
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
s("div", O(Z.value, {
|
149
|
-
ref_key: "panel",
|
150
|
-
ref: T
|
143
|
+
return (t, o) => (g(), ie(de, null, {
|
144
|
+
default: re(() => [
|
145
|
+
s("div", O(Y.value, {
|
146
|
+
ref_key: "overlay",
|
147
|
+
ref: c,
|
148
|
+
inert: m.value
|
151
149
|
}), [
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
}, [
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
]),
|
177
|
-
s("span", fe, [
|
178
|
-
t.showClose ? (g(), V("button", {
|
179
|
-
key: 0,
|
180
|
-
"aria-label": G.value,
|
181
|
-
type: "button",
|
182
|
-
onClick: B
|
150
|
+
s("div", O(Z.value, {
|
151
|
+
ref_key: "panel",
|
152
|
+
ref: $
|
153
|
+
}), [
|
154
|
+
i.value ? (g(), V("div", {
|
155
|
+
key: 0,
|
156
|
+
ref_key: "content",
|
157
|
+
ref: W,
|
158
|
+
class: "bb-offcanvas__content"
|
159
|
+
}, [
|
160
|
+
n(t.$slots, "content", { close: B }, () => [
|
161
|
+
s("div", {
|
162
|
+
ref_key: "header",
|
163
|
+
ref: F,
|
164
|
+
class: "bb-offcanvas__header"
|
165
|
+
}, [
|
166
|
+
n(t.$slots, "header", {
|
167
|
+
close: B,
|
168
|
+
title: t.title,
|
169
|
+
titleId: _
|
170
|
+
}, () => [
|
171
|
+
s("span", {
|
172
|
+
id: _,
|
173
|
+
class: "bb-offcanvas__title"
|
183
174
|
}, [
|
184
|
-
n(t.$slots, "
|
185
|
-
|
186
|
-
s("svg", {
|
187
|
-
"aria-hidden": "true",
|
188
|
-
fill: "none",
|
189
|
-
viewBox: "0 0 24 24",
|
190
|
-
xmlns: "http://www.w3.org/2000/svg"
|
191
|
-
}, [
|
192
|
-
s("path", {
|
193
|
-
d: "M23 23L1 1M23 1L1 23",
|
194
|
-
stroke: "currentColor",
|
195
|
-
"stroke-linecap": "round",
|
196
|
-
"stroke-width": "2"
|
197
|
-
})
|
198
|
-
])
|
199
|
-
], -1))
|
175
|
+
n(t.$slots, "title", { text: t.title }, () => [
|
176
|
+
ue(S(t.title), 1)
|
200
177
|
])
|
201
|
-
]
|
178
|
+
]),
|
179
|
+
s("span", ve, [
|
180
|
+
t.showClose ? (g(), V("button", {
|
181
|
+
key: 0,
|
182
|
+
"aria-label": G.value,
|
183
|
+
type: "button",
|
184
|
+
onClick: B
|
185
|
+
}, [
|
186
|
+
n(t.$slots, "close", {}, () => [
|
187
|
+
o[0] || (o[0] = s("span", { class: "bb-offcanvas-close__icon" }, [
|
188
|
+
s("svg", {
|
189
|
+
"aria-hidden": "true",
|
190
|
+
fill: "none",
|
191
|
+
viewBox: "0 0 24 24",
|
192
|
+
xmlns: "http://www.w3.org/2000/svg"
|
193
|
+
}, [
|
194
|
+
s("path", {
|
195
|
+
d: "M23 23L1 1M23 1L1 23",
|
196
|
+
stroke: "currentColor",
|
197
|
+
"stroke-linecap": "round",
|
198
|
+
"stroke-width": "2"
|
199
|
+
})
|
200
|
+
])
|
201
|
+
], -1))
|
202
|
+
])
|
203
|
+
], 8, pe)) : z("", !0)
|
204
|
+
])
|
202
205
|
])
|
203
|
-
])
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
]
|
230
|
-
])
|
231
|
-
],
|
232
|
-
], 16)
|
233
|
-
],
|
234
|
-
|
206
|
+
], 512),
|
207
|
+
s("div", {
|
208
|
+
ref_key: "body",
|
209
|
+
ref: R,
|
210
|
+
class: "bb-offcanvas__body scrollbar-border"
|
211
|
+
}, [
|
212
|
+
n(t.$slots, "description", {
|
213
|
+
descriptionId: k,
|
214
|
+
text: t.description
|
215
|
+
}, () => [
|
216
|
+
t.description ? (g(), V("div", {
|
217
|
+
key: 0,
|
218
|
+
id: k,
|
219
|
+
class: "bb-offcanvas__description sr-only"
|
220
|
+
}, S(t.description), 1)) : z("", !0)
|
221
|
+
]),
|
222
|
+
n(t.$slots, "default")
|
223
|
+
], 512),
|
224
|
+
o[1] || (o[1] = s("div", { style: { flex: "10000 10000 0%" } }, null, -1)),
|
225
|
+
s("div", {
|
226
|
+
ref_key: "footer",
|
227
|
+
ref: K,
|
228
|
+
class: "bb-offcanvas__footer"
|
229
|
+
}, [
|
230
|
+
n(t.$slots, "footer")
|
231
|
+
], 512)
|
232
|
+
])
|
233
|
+
], 512)) : z("", !0)
|
234
|
+
], 16)
|
235
|
+
], 16, fe)
|
236
|
+
]),
|
237
|
+
_: 3
|
238
|
+
}));
|
235
239
|
}
|
236
240
|
});
|
237
241
|
export {
|
238
|
-
|
242
|
+
ke as default
|
239
243
|
};
|
package/dist/index86.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as P, computed as _, ref as g, onMounted as A, onBeforeUnmount as E, openBlock as y, createElementBlock as k, normalizeClass as C, createElementVNode as i, createVNode as V, unref as S, withCtx as h, renderSlot as v, Fragment as W, renderList as R, toDisplayString as M, nextTick as $ } from "vue";
|
2
|
-
import { debounce as F } from "./
|
2
|
+
import { debounce as F } from "./index257.js";
|
3
3
|
/* empty css */
|
4
4
|
/* empty css */
|
5
5
|
import w from "./index13.js";
|
package/dist/index88.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import { defineComponent as M, ref as n, computed as v, openBlock as k, createElementBlock as O, mergeProps as F, createElementVNode as p, renderSlot as y, normalizeProps as S, guardReactiveProps as H, createVNode as V, withCtx as C, createBlock as q, createCommentVNode as I, nextTick as W } from "vue";
|
2
|
-
import { useFocusTrap as z } from "./
|
2
|
+
import { useFocusTrap as z } from "./index227.js";
|
3
3
|
import { useId as A } from "./index8.js";
|
4
4
|
import { useIntersectionObserver as R } from "./index132.js";
|
5
|
-
import { waitFor as j } from "./
|
5
|
+
import { waitFor as j } from "./index228.js";
|
6
6
|
import G from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import J from "./
|
8
|
+
import J from "./index255.js";
|
9
9
|
/* empty css */
|
10
|
-
import { useDebounceFn as K } from "./
|
10
|
+
import { useDebounceFn as K } from "./index232.js";
|
11
11
|
const re = /* @__PURE__ */ M({
|
12
12
|
__name: "BbPopover",
|
13
13
|
props: {
|
package/dist/index90.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as r, computed as a, openBlock as l, createElementBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
|
2
|
-
import { clamp as p } from "./
|
2
|
+
import { clamp as p } from "./index204.js";
|
3
3
|
import { getAsPercentageBetween as i } from "./index130.js";
|
4
4
|
const _ = /* @__PURE__ */ r({
|
5
5
|
__name: "BbProgress",
|
package/package.json
CHANGED
package/dist/index220.js
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
import { defineComponent as p, ref as b, watch as _, computed as m, openBlock as d, createElementBlock as c, normalizeClass as u, createElementVNode as t, createVNode as h, withCtx as f, toDisplayString as o } from "vue";
|
2
|
-
import k from "./index222.js";
|
3
|
-
const y = { class: "bb-base-date-picker__year-container" }, v = {
|
4
|
-
"aria-live": "polite",
|
5
|
-
class: "bb-base-date-picker__selected-day-label"
|
6
|
-
}, B = { class: "bb-base-date-picker__weekday" }, D = { class: "bb-base-date-picker__monthday" }, M = { class: "bb-base-date-picker__month-button" }, C = /* @__PURE__ */ p({
|
7
|
-
__name: "BaseDatePickerHeader",
|
8
|
-
props: {
|
9
|
-
cursor: {},
|
10
|
-
disabled: { type: Boolean },
|
11
|
-
hidden: { type: Boolean }
|
12
|
-
},
|
13
|
-
emits: ["mode:year", "mode:month"],
|
14
|
-
setup(n) {
|
15
|
-
const s = n, r = b("top"), l = (e, a) => {
|
16
|
-
e && a && (r.value = e.isBefore(a) ? "top" : "bottom");
|
17
|
-
};
|
18
|
-
_(
|
19
|
-
() => s.cursor,
|
20
|
-
(e, a) => {
|
21
|
-
l(e, a);
|
22
|
-
}
|
23
|
-
);
|
24
|
-
const i = m(() => s.cursor.format("YYYY"));
|
25
|
-
return (e, a) => (d(), c("div", {
|
26
|
-
class: u(["bb-base-date-picker__header", { "bb-base-date-picker__header--hidden": e.hidden }])
|
27
|
-
}, [
|
28
|
-
t("div", y, [
|
29
|
-
h(k, {
|
30
|
-
direction: r.value,
|
31
|
-
duration: 500,
|
32
|
-
gap: 30
|
33
|
-
}, {
|
34
|
-
default: f(() => [
|
35
|
-
(d(), c("span", {
|
36
|
-
key: i.value,
|
37
|
-
"aria-live": "polite",
|
38
|
-
class: "bb-base-date-picker__year-button"
|
39
|
-
}, o(i.value), 1))
|
40
|
-
]),
|
41
|
-
_: 1
|
42
|
-
}, 8, ["direction"])
|
43
|
-
]),
|
44
|
-
t("div", v, [
|
45
|
-
t("span", B, o(e.cursor.format("ddd")) + ", ", 1),
|
46
|
-
t("span", D, o(e.cursor.format("DD")), 1),
|
47
|
-
t("span", M, o(e.cursor.format("MMMM")), 1)
|
48
|
-
])
|
49
|
-
], 2));
|
50
|
-
}
|
51
|
-
});
|
52
|
-
export {
|
53
|
-
C as default
|
54
|
-
};
|