@mintplayer/vue-bootstrap 3.24.0 → 3.25.0

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.
Files changed (41) hide show
  1. package/accordion/index.mjs +54 -64
  2. package/calendar/index.mjs +27 -28
  3. package/card/index.mjs +104 -145
  4. package/carousel/index.mjs +74 -58
  5. package/charts/hierarchy/index.mjs +44 -43
  6. package/charts/sparkline/index.mjs +25 -24
  7. package/charts/trend/index.mjs +25 -24
  8. package/checkbox/index.mjs +27 -28
  9. package/code-snippet/index.mjs +34 -32
  10. package/datatable/index.mjs +84 -70
  11. package/datepicker/index.mjs +27 -28
  12. package/datetime-picker/index.mjs +27 -28
  13. package/dock/index.mjs +27 -28
  14. package/dropdown-menu/index.mjs +69 -69
  15. package/file-manager/index.mjs +18 -19
  16. package/index.mjs +0 -1
  17. package/input-group/index.mjs +11 -12
  18. package/multi-range/index.mjs +27 -26
  19. package/navbar/index.mjs +77 -80
  20. package/otp-input/index.mjs +27 -26
  21. package/package.json +2 -2
  22. package/pagination/index.mjs +27 -26
  23. package/phone-input/index.mjs +35 -34
  24. package/query-builder/index.mjs +45 -41
  25. package/radio/index.mjs +27 -28
  26. package/radio-group/index.mjs +27 -28
  27. package/ribbon/index.mjs +28 -47
  28. package/scheduler/index.mjs +45 -42
  29. package/select/index.mjs +33 -34
  30. package/shell/index.mjs +37 -33
  31. package/signature-pad/index.mjs +26 -25
  32. package/splitter/index.mjs +12 -14
  33. package/tab-control/index.mjs +28 -31
  34. package/theming/index.mjs +37 -55
  35. package/tile-manager/index.mjs +18 -21
  36. package/timeline/index.mjs +151 -146
  37. package/timepicker/index.mjs +49 -53
  38. package/toggle-button/index.mjs +27 -28
  39. package/tree-select/index.mjs +105 -97
  40. package/treeview/index.mjs +56 -55
  41. package/vue-bootstrap.css +2 -1
@@ -1,66 +1,56 @@
1
- import { defineComponent as u, computed as i, openBlock as m, createElementBlock as h, Fragment as g, createElementVNode as d, renderSlot as p, mergeProps as v, useSlots as B, cloneVNode as T, createVNode as y } from "vue";
1
+ import { Fragment as e, cloneVNode as t, computed as n, createElementBlock as r, createElementVNode as i, createVNode as a, defineComponent as o, mergeProps as s, openBlock as c, renderSlot as l, useSlots as u } from "vue";
2
2
  import "@mintplayer/web-components/accordion";
3
- const $ = ["slot"], x = ["slot", "is-active", "disabled"], I = /* @__PURE__ */ u({
4
- inheritAttrs: !1,
5
- __name: "BsAccordionItem",
6
- props: {
7
- index: {},
8
- isActive: { type: Boolean },
9
- disabled: { type: Boolean }
10
- },
11
- setup(r) {
12
- const s = r, a = i(() => s.index ?? 0), n = i(() => s.isActive ? "" : void 0), c = i(() => s.disabled ? "" : void 0);
13
- return (o, l) => (m(), h(g, null, [
14
- d("span", {
15
- "accordion-header": "",
16
- slot: `h${a.value}`
17
- }, [
18
- p(o.$slots, "header")
19
- ], 8, $),
20
- d("mp-accordion-tab", v({
21
- "accordion-tab": "",
22
- slot: `c${a.value}`,
23
- "is-active": n.value,
24
- disabled: c.value
25
- }, o.$attrs), [
26
- p(o.$slots, "default")
27
- ], 16, x)
28
- ], 64));
29
- }
30
- }), N = ["multi", "highlight-active-tab"], E = /* @__PURE__ */ u({
31
- inheritAttrs: !1,
32
- __name: "BsAccordion",
33
- props: {
34
- multi: { type: Boolean },
35
- highlightActiveTab: { type: Boolean }
36
- },
37
- emits: ["tabToggle"],
38
- setup(r, { emit: s }) {
39
- const a = r, n = s, c = B();
40
- function o(t) {
41
- return t.flatMap(
42
- (e) => e.type === g && Array.isArray(e.children) ? o(e.children) : [e]
43
- );
44
- }
45
- const l = i(() => {
46
- let t = 0;
47
- return o(c.default?.() ?? []).map(
48
- (e) => e.type === I ? T(e, { index: t++ }) : e
49
- );
50
- }), A = () => l.value, b = i(() => a.multi ? "" : void 0), _ = i(() => a.highlightActiveTab ? "" : void 0);
51
- function f(t) {
52
- t.target === t.currentTarget && (t.stopPropagation(), n("tabToggle", t.detail));
53
- }
54
- return (t, e) => (m(), h("mp-accordion", v(t.$attrs, {
55
- multi: b.value,
56
- "highlight-active-tab": _.value,
57
- onMpAccordionTabToggle: f
58
- }), [
59
- y(A)
60
- ], 16, N));
61
- }
3
+ //#region libs/mintplayer-vue-bootstrap/accordion/src/BsAccordionItem.vue?vue&type=script&setup=true&lang.ts
4
+ var d = ["slot"], f = [
5
+ "slot",
6
+ "is-active",
7
+ "disabled"
8
+ ], p = /* @__PURE__ */ o({
9
+ inheritAttrs: !1,
10
+ __name: "BsAccordionItem",
11
+ props: {
12
+ index: {},
13
+ isActive: { type: Boolean },
14
+ disabled: { type: Boolean }
15
+ },
16
+ setup(t) {
17
+ let a = t, o = n(() => a.index ?? 0), u = n(() => a.isActive ? "" : void 0), p = n(() => a.disabled ? "" : void 0);
18
+ return (t, n) => (c(), r(e, null, [i("span", {
19
+ "accordion-header": "",
20
+ slot: `h${o.value}`
21
+ }, [l(t.$slots, "header")], 8, d), i("mp-accordion-tab", s({
22
+ "accordion-tab": "",
23
+ slot: `c${o.value}`,
24
+ "is-active": u.value,
25
+ disabled: p.value
26
+ }, t.$attrs), [l(t.$slots, "default")], 16, f)], 64));
27
+ }
28
+ }), m = ["multi", "highlight-active-tab"], h = /* @__PURE__ */ o({
29
+ inheritAttrs: !1,
30
+ __name: "BsAccordion",
31
+ props: {
32
+ multi: { type: Boolean },
33
+ highlightActiveTab: { type: Boolean }
34
+ },
35
+ emits: ["tabToggle"],
36
+ setup(i, { emit: o }) {
37
+ let l = i, d = o, f = u();
38
+ function h(t) {
39
+ return t.flatMap((t) => t.type === e && Array.isArray(t.children) ? h(t.children) : [t]);
40
+ }
41
+ let g = n(() => {
42
+ let e = 0;
43
+ return h(f.default?.() ?? []).map((n) => n.type === p ? t(n, { index: e++ }) : n);
44
+ }), _ = () => g.value, v = n(() => l.multi ? "" : void 0), y = n(() => l.highlightActiveTab ? "" : void 0);
45
+ function b(e) {
46
+ e.target === e.currentTarget && (e.stopPropagation(), d("tabToggle", e.detail));
47
+ }
48
+ return (e, t) => (c(), r("mp-accordion", s(e.$attrs, {
49
+ multi: v.value,
50
+ "highlight-active-tab": y.value,
51
+ onMpAccordionTabToggle: b
52
+ }), [a(_)], 16, m));
53
+ }
62
54
  });
63
- export {
64
- E as BsAccordion,
65
- I as BsAccordionItem
66
- };
55
+ //#endregion
56
+ export { h as BsAccordion, p as BsAccordionItem };
@@ -1,30 +1,29 @@
1
- import { defineComponent as s, useModel as d, ref as u, onMounted as c, watch as m, openBlock as i, createElementBlock as f, mergeProps as p, renderSlot as _ } from "vue";
1
+ import { createElementBlock as e, defineComponent as t, mergeProps as n, onMounted as r, openBlock as i, ref as a, renderSlot as o, useModel as s, watch as c } from "vue";
2
2
  import "@mintplayer/web-components/calendar";
3
- const B = /* @__PURE__ */ s({
4
- inheritAttrs: !1,
5
- __name: "BsCalendar",
6
- props: {
7
- modelValue: {},
8
- modelModifiers: {}
9
- },
10
- emits: ["update:modelValue"],
11
- setup(o) {
12
- const l = d(o, "modelValue"), t = u(null), n = (e) => {
13
- t.value && (t.value.selectedDate = e ?? null);
14
- };
15
- c(() => n(l.value)), m(l, n);
16
- function r(e) {
17
- const a = e.detail;
18
- l.value = a instanceof Date ? a : null;
19
- }
20
- return (e, a) => (i(), f("mp-calendar", p({
21
- ref_key: "el",
22
- ref: t
23
- }, e.$attrs, { onSelectedDateChange: r }), [
24
- _(e.$slots, "default")
25
- ], 16));
26
- }
3
+ //#endregion
4
+ //#region libs/mintplayer-vue-bootstrap/calendar/src/BsCalendar.vue
5
+ var l = /* @__PURE__ */ t({
6
+ inheritAttrs: !1,
7
+ __name: "BsCalendar",
8
+ props: {
9
+ modelValue: {},
10
+ modelModifiers: {}
11
+ },
12
+ emits: ["update:modelValue"],
13
+ setup(t) {
14
+ let l = s(t, "modelValue"), u = a(null), d = (e) => {
15
+ u.value && (u.value.selectedDate = e ?? null);
16
+ };
17
+ r(() => d(l.value)), c(l, d);
18
+ function f(e) {
19
+ let t = e.detail;
20
+ l.value = t instanceof Date ? t : null;
21
+ }
22
+ return (t, r) => (i(), e("mp-calendar", n({
23
+ ref_key: "el",
24
+ ref: u
25
+ }, t.$attrs, { onSelectedDateChange: f }), [o(t.$slots, "default")], 16));
26
+ }
27
27
  });
28
- export {
29
- B as BsCalendar
30
- };
28
+ //#endregion
29
+ export { l as BsCalendar };
package/card/index.mjs CHANGED
@@ -1,146 +1,105 @@
1
- import { defineComponent as l, openBlock as e, createElementBlock as a, normalizeProps as u, guardReactiveProps as f, renderSlot as o, mergeProps as n, ref as m, onMounted as _, watch as p, nextTick as h, computed as $, Fragment as B, createElementVNode as d } from "vue";
2
- import { applyHeaderNavStyle as C } from "@mintplayer/web-components/card";
3
- const T = /* @__PURE__ */ l({
4
- inheritAttrs: !1,
5
- __name: "BsCard",
6
- setup(s) {
7
- return (t, r) => (e(), a("mp-card", u(f(t.$attrs)), [
8
- o(t.$slots, "default")
9
- ], 16));
10
- }
11
- }), w = /* @__PURE__ */ l({
12
- inheritAttrs: !1,
13
- __name: "BsCardBody",
14
- setup(s) {
15
- return (t, r) => (e(), a("div", n({ class: "card-body" }, t.$attrs), [
16
- o(t.$slots, "default")
17
- ], 16));
18
- }
19
- }), F = /* @__PURE__ */ l({
20
- inheritAttrs: !1,
21
- __name: "BsCardFooter",
22
- props: {
23
- color: {}
24
- },
25
- setup(s) {
26
- return (t, r) => (e(), a("div", n({
27
- class: ["card-footer", s.color ? "text-bg-" + s.color : null]
28
- }, t.$attrs), [
29
- o(t.$slots, "default")
30
- ], 16));
31
- }
32
- }), H = /* @__PURE__ */ l({
33
- inheritAttrs: !1,
34
- __name: "BsCardGroup",
35
- setup(s) {
36
- return (t, r) => (e(), a("div", n({ class: "card-group" }, t.$attrs), [
37
- o(t.$slots, "default")
38
- ], 16));
39
- }
40
- }), N = /* @__PURE__ */ l({
41
- inheritAttrs: !1,
42
- __name: "BsCardHeader",
43
- props: {
44
- color: {},
45
- navStyle: {}
46
- },
47
- setup(s) {
48
- const t = s, r = m(null);
49
- async function c() {
50
- await h(), r.value && C(r.value, t.navStyle ?? null);
51
- }
52
- return _(c), p(() => t.navStyle, c), (i, k) => (e(), a("div", n({
53
- ref_key: "el",
54
- ref: r,
55
- class: ["card-header", s.color ? "text-bg-" + s.color : null]
56
- }, i.$attrs), [
57
- o(i.$slots, "default")
58
- ], 16));
59
- }
60
- }), v = ["src", "alt"], y = { class: "card-img-overlay" }, g = ["src", "alt"], P = /* @__PURE__ */ l({
61
- inheritAttrs: !1,
62
- __name: "BsCardImg",
63
- props: {
64
- position: {},
65
- src: {},
66
- alt: {}
67
- },
68
- setup(s) {
69
- const t = s, r = $(() => {
70
- switch (t.position) {
71
- case "bottom":
72
- return "card-img-bottom";
73
- case "overlay":
74
- return "card-img";
75
- case "top":
76
- default:
77
- return "card-img-top";
78
- }
79
- });
80
- return (c, i) => s.position === "overlay" ? (e(), a(B, { key: 0 }, [
81
- d("img", n({
82
- class: "card-img",
83
- src: s.src,
84
- alt: s.alt ?? ""
85
- }, c.$attrs), null, 16, v),
86
- d("div", y, [
87
- o(c.$slots, "default")
88
- ])
89
- ], 64)) : (e(), a("img", n({
90
- key: 1,
91
- class: r.value,
92
- src: s.src,
93
- alt: s.alt ?? ""
94
- }, c.$attrs), null, 16, g));
95
- }
96
- }), A = ["href"], E = /* @__PURE__ */ l({
97
- inheritAttrs: !1,
98
- __name: "BsCardLink",
99
- props: {
100
- href: {}
101
- },
102
- setup(s) {
103
- return (t, r) => (e(), a("a", n({
104
- class: "card-link",
105
- href: s.href
106
- }, t.$attrs), [
107
- o(t.$slots, "default")
108
- ], 16, A));
109
- }
110
- }), G = /* @__PURE__ */ l({
111
- inheritAttrs: !1,
112
- __name: "BsCardSubtitle",
113
- setup(s) {
114
- return (t, r) => (e(), a("div", n({ class: "card-subtitle" }, t.$attrs), [
115
- o(t.$slots, "default")
116
- ], 16));
117
- }
118
- }), I = /* @__PURE__ */ l({
119
- inheritAttrs: !1,
120
- __name: "BsCardText",
121
- setup(s) {
122
- return (t, r) => (e(), a("div", n({ class: "card-text" }, t.$attrs), [
123
- o(t.$slots, "default")
124
- ], 16));
125
- }
126
- }), L = /* @__PURE__ */ l({
127
- inheritAttrs: !1,
128
- __name: "BsCardTitle",
129
- setup(s) {
130
- return (t, r) => (e(), a("div", n({ class: "card-title" }, t.$attrs), [
131
- o(t.$slots, "default")
132
- ], 16));
133
- }
1
+ import { Fragment as e, computed as t, createElementBlock as n, createElementVNode as r, defineComponent as i, guardReactiveProps as a, mergeProps as o, nextTick as s, normalizeProps as c, onMounted as l, openBlock as u, ref as d, renderSlot as f, watch as p } from "vue";
2
+ import { applyHeaderNavStyle as m } from "@mintplayer/web-components/card";
3
+ //#endregion
4
+ //#region libs/mintplayer-vue-bootstrap/card/src/BsCard.vue
5
+ var h = /* @__PURE__ */ i({
6
+ inheritAttrs: !1,
7
+ __name: "BsCard",
8
+ setup(e) {
9
+ return (e, t) => (u(), n("mp-card", c(a(e.$attrs)), [f(e.$slots, "default")], 16));
10
+ }
11
+ }), g = /* @__PURE__ */ i({
12
+ inheritAttrs: !1,
13
+ __name: "BsCardBody",
14
+ setup(e) {
15
+ return (e, t) => (u(), n("div", o({ class: "card-body" }, e.$attrs), [f(e.$slots, "default")], 16));
16
+ }
17
+ }), _ = /* @__PURE__ */ i({
18
+ inheritAttrs: !1,
19
+ __name: "BsCardFooter",
20
+ props: { color: {} },
21
+ setup(e) {
22
+ return (t, r) => (u(), n("div", o({ class: ["card-footer", e.color ? "text-bg-" + e.color : null] }, t.$attrs), [f(t.$slots, "default")], 16));
23
+ }
24
+ }), v = /* @__PURE__ */ i({
25
+ inheritAttrs: !1,
26
+ __name: "BsCardGroup",
27
+ setup(e) {
28
+ return (e, t) => (u(), n("div", o({ class: "card-group" }, e.$attrs), [f(e.$slots, "default")], 16));
29
+ }
30
+ }), y = /* @__PURE__ */ i({
31
+ inheritAttrs: !1,
32
+ __name: "BsCardHeader",
33
+ props: {
34
+ color: {},
35
+ navStyle: {}
36
+ },
37
+ setup(e) {
38
+ let t = e, r = d(null);
39
+ async function i() {
40
+ await s(), r.value && m(r.value, t.navStyle ?? null);
41
+ }
42
+ return l(i), p(() => t.navStyle, i), (t, i) => (u(), n("div", o({
43
+ ref_key: "el",
44
+ ref: r,
45
+ class: ["card-header", e.color ? "text-bg-" + e.color : null]
46
+ }, t.$attrs), [f(t.$slots, "default")], 16));
47
+ }
48
+ }), b = ["src", "alt"], x = { class: "card-img-overlay" }, S = ["src", "alt"], C = /* @__PURE__ */ i({
49
+ inheritAttrs: !1,
50
+ __name: "BsCardImg",
51
+ props: {
52
+ position: {},
53
+ src: {},
54
+ alt: {}
55
+ },
56
+ setup(i) {
57
+ let a = i, s = t(() => {
58
+ switch (a.position) {
59
+ case "bottom": return "card-img-bottom";
60
+ case "overlay": return "card-img";
61
+ default: return "card-img-top";
62
+ }
63
+ });
64
+ return (t, a) => i.position === "overlay" ? (u(), n(e, { key: 0 }, [r("img", o({
65
+ class: "card-img",
66
+ src: i.src,
67
+ alt: i.alt ?? ""
68
+ }, t.$attrs), null, 16, b), r("div", x, [f(t.$slots, "default")])], 64)) : (u(), n("img", o({
69
+ key: 1,
70
+ class: s.value,
71
+ src: i.src,
72
+ alt: i.alt ?? ""
73
+ }, t.$attrs), null, 16, S));
74
+ }
75
+ }), w = ["href"], T = /* @__PURE__ */ i({
76
+ inheritAttrs: !1,
77
+ __name: "BsCardLink",
78
+ props: { href: {} },
79
+ setup(e) {
80
+ return (t, r) => (u(), n("a", o({
81
+ class: "card-link",
82
+ href: e.href
83
+ }, t.$attrs), [f(t.$slots, "default")], 16, w));
84
+ }
85
+ }), E = /* @__PURE__ */ i({
86
+ inheritAttrs: !1,
87
+ __name: "BsCardSubtitle",
88
+ setup(e) {
89
+ return (e, t) => (u(), n("div", o({ class: "card-subtitle" }, e.$attrs), [f(e.$slots, "default")], 16));
90
+ }
91
+ }), D = /* @__PURE__ */ i({
92
+ inheritAttrs: !1,
93
+ __name: "BsCardText",
94
+ setup(e) {
95
+ return (e, t) => (u(), n("div", o({ class: "card-text" }, e.$attrs), [f(e.$slots, "default")], 16));
96
+ }
97
+ }), O = /* @__PURE__ */ i({
98
+ inheritAttrs: !1,
99
+ __name: "BsCardTitle",
100
+ setup(e) {
101
+ return (e, t) => (u(), n("div", o({ class: "card-title" }, e.$attrs), [f(e.$slots, "default")], 16));
102
+ }
134
103
  });
135
- export {
136
- T as BsCard,
137
- w as BsCardBody,
138
- F as BsCardFooter,
139
- H as BsCardGroup,
140
- N as BsCardHeader,
141
- P as BsCardImg,
142
- E as BsCardLink,
143
- G as BsCardSubtitle,
144
- I as BsCardText,
145
- L as BsCardTitle
146
- };
104
+ //#endregion
105
+ export { h as BsCard, g as BsCardBody, _ as BsCardFooter, v as BsCardGroup, y as BsCardHeader, C as BsCardImg, T as BsCardLink, E as BsCardSubtitle, D as BsCardText, O as BsCardTitle };
@@ -1,60 +1,76 @@
1
- import { defineComponent as c, useModel as p, ref as E, onMounted as h, onBeforeUnmount as y, openBlock as l, createElementBlock as u, mergeProps as g, renderSlot as v, createCommentVNode as B, mergeModels as m } from "vue";
1
+ import { createCommentVNode as e, createElementBlock as t, defineComponent as n, mergeModels as r, mergeProps as i, onBeforeUnmount as a, onMounted as o, openBlock as s, ref as c, renderSlot as l, useModel as u } from "vue";
2
2
  import "@mintplayer/web-components/carousel";
3
- const k = ["animation", "orientation", "indicators", "interval", "wrap", "keyboard-events", "paused"], C = {
4
- key: 0,
5
- slot: "play-pause"
6
- }, w = /* @__PURE__ */ c({
7
- inheritAttrs: !1,
8
- __name: "BsCarousel",
9
- props: /* @__PURE__ */ m({
10
- animation: { default: "slide" },
11
- orientation: { default: "horizontal" },
12
- indicators: { type: Boolean },
13
- interval: {},
14
- wrap: { type: Boolean, default: !0 },
15
- keyboardEvents: { type: Boolean, default: !0 }
16
- }, {
17
- paused: { type: Boolean, default: !1 },
18
- pausedModifiers: {}
19
- }),
20
- emits: /* @__PURE__ */ m(["slideChange", "animationStart", "animationEnd"], ["update:paused"]),
21
- setup(e, { emit: f }) {
22
- const i = p(e, "paused"), t = f, a = E(null);
23
- function o(n) {
24
- t("slideChange", n.detail);
25
- }
26
- function s(n) {
27
- i.value = n.detail.paused;
28
- }
29
- function r() {
30
- t("animationStart");
31
- }
32
- function d() {
33
- t("animationEnd");
34
- }
35
- return h(() => {
36
- a.value?.addEventListener("slide-change", o), a.value?.addEventListener("paused-change", s), a.value?.addEventListener("animation-start", r), a.value?.addEventListener("animation-end", d);
37
- }), y(() => {
38
- a.value?.removeEventListener("slide-change", o), a.value?.removeEventListener("paused-change", s), a.value?.removeEventListener("animation-start", r), a.value?.removeEventListener("animation-end", d);
39
- }), (n, L) => (l(), u("mp-carousel", g({
40
- ref_key: "el",
41
- ref: a
42
- }, n.$attrs, {
43
- animation: e.animation,
44
- orientation: e.orientation,
45
- indicators: e.indicators ? "" : void 0,
46
- interval: e.interval && e.interval > 0 ? e.interval : void 0,
47
- wrap: e.wrap === !1 ? "false" : void 0,
48
- "keyboard-events": e.keyboardEvents === !1 ? "false" : void 0,
49
- paused: i.value ? "" : void 0
50
- }), [
51
- v(n.$slots, "default"),
52
- n.$slots["play-pause"] ? (l(), u("span", C, [
53
- v(n.$slots, "play-pause")
54
- ])) : B("", !0)
55
- ], 16, k));
56
- }
3
+ //#region libs/mintplayer-vue-bootstrap/carousel/src/BsCarousel.vue?vue&type=script&setup=true&lang.ts
4
+ var d = [
5
+ "animation",
6
+ "orientation",
7
+ "indicators",
8
+ "interval",
9
+ "wrap",
10
+ "keyboard-events",
11
+ "paused"
12
+ ], f = {
13
+ key: 0,
14
+ slot: "play-pause"
15
+ }, p = /* @__PURE__ */ n({
16
+ inheritAttrs: !1,
17
+ __name: "BsCarousel",
18
+ props: /*@__PURE__*/ r({
19
+ animation: { default: "slide" },
20
+ orientation: { default: "horizontal" },
21
+ indicators: { type: Boolean },
22
+ interval: {},
23
+ wrap: {
24
+ type: Boolean,
25
+ default: !0
26
+ },
27
+ keyboardEvents: {
28
+ type: Boolean,
29
+ default: !0
30
+ }
31
+ }, {
32
+ paused: {
33
+ type: Boolean,
34
+ default: !1
35
+ },
36
+ pausedModifiers: {}
37
+ }),
38
+ emits: /*@__PURE__*/ r([
39
+ "slideChange",
40
+ "animationStart",
41
+ "animationEnd"
42
+ ], ["update:paused"]),
43
+ setup(n, { emit: r }) {
44
+ let p = u(n, "paused"), m = r, h = c(null);
45
+ function g(e) {
46
+ m("slideChange", e.detail);
47
+ }
48
+ function _(e) {
49
+ p.value = e.detail.paused;
50
+ }
51
+ function v() {
52
+ m("animationStart");
53
+ }
54
+ function y() {
55
+ m("animationEnd");
56
+ }
57
+ return o(() => {
58
+ h.value?.addEventListener("slide-change", g), h.value?.addEventListener("paused-change", _), h.value?.addEventListener("animation-start", v), h.value?.addEventListener("animation-end", y);
59
+ }), a(() => {
60
+ h.value?.removeEventListener("slide-change", g), h.value?.removeEventListener("paused-change", _), h.value?.removeEventListener("animation-start", v), h.value?.removeEventListener("animation-end", y);
61
+ }), (r, a) => (s(), t("mp-carousel", i({
62
+ ref_key: "el",
63
+ ref: h
64
+ }, r.$attrs, {
65
+ animation: n.animation,
66
+ orientation: n.orientation,
67
+ indicators: n.indicators ? "" : void 0,
68
+ interval: n.interval && n.interval > 0 ? n.interval : void 0,
69
+ wrap: n.wrap === !1 ? "false" : void 0,
70
+ "keyboard-events": n.keyboardEvents === !1 ? "false" : void 0,
71
+ paused: p.value ? "" : void 0
72
+ }), [l(r.$slots, "default"), r.$slots["play-pause"] ? (s(), t("span", f, [l(r.$slots, "play-pause")])) : e("", !0)], 16, d));
73
+ }
57
74
  });
58
- export {
59
- w as BsCarousel
60
- };
75
+ //#endregion
76
+ export { p as BsCarousel };