@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
package/dock/index.mjs CHANGED
@@ -1,30 +1,29 @@
1
- import { defineComponent as u, useModel as s, ref as c, onMounted as i, watch as d, openBlock as f, createElementBlock as m, mergeProps as p, renderSlot as y } 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/dock";
3
- const h = /* @__PURE__ */ u({
4
- inheritAttrs: !1,
5
- __name: "BsDockManager",
6
- props: {
7
- layout: {},
8
- layoutModifiers: {}
9
- },
10
- emits: ["update:layout"],
11
- setup(l) {
12
- const o = s(l, "layout"), t = c(null), n = (e) => {
13
- t.value && (t.value.layout = e ?? null);
14
- };
15
- i(() => n(o.value)), d(o, n);
16
- function r(e) {
17
- const a = e.detail;
18
- a && (o.value = a);
19
- }
20
- return (e, a) => (f(), m("mint-dock-manager", p({
21
- ref_key: "el",
22
- ref: t
23
- }, e.$attrs, { onDockLayoutChanged: r }), [
24
- y(e.$slots, "default")
25
- ], 16));
26
- }
3
+ //#endregion
4
+ //#region libs/mintplayer-vue-bootstrap/dock/src/BsDockManager.vue
5
+ var l = /* @__PURE__ */ t({
6
+ inheritAttrs: !1,
7
+ __name: "BsDockManager",
8
+ props: {
9
+ layout: {},
10
+ layoutModifiers: {}
11
+ },
12
+ emits: ["update:layout"],
13
+ setup(t) {
14
+ let l = s(t, "layout"), u = a(null), d = (e) => {
15
+ u.value && (u.value.layout = e ?? null);
16
+ };
17
+ r(() => d(l.value)), c(l, d);
18
+ function f(e) {
19
+ let t = e.detail;
20
+ t && (l.value = t);
21
+ }
22
+ return (t, r) => (i(), e("mint-dock-manager", n({
23
+ ref_key: "el",
24
+ ref: u
25
+ }, t.$attrs, { onDockLayoutChanged: f }), [o(t.$slots, "default")], 16));
26
+ }
27
27
  });
28
- export {
29
- h as BsDockManager
30
- };
28
+ //#endregion
29
+ export { l as BsDockManager };
@@ -1,71 +1,71 @@
1
- import { defineComponent as r, ref as c, onMounted as m, onBeforeUnmount as p, openBlock as l, createElementBlock as d, mergeProps as i, renderSlot as u, watch as f } from "vue";
1
+ import { createElementBlock as e, defineComponent as t, mergeProps as n, onBeforeUnmount as r, onMounted as i, openBlock as a, ref as o, renderSlot as s, watch as c } from "vue";
2
2
  import "@mintplayer/web-components/dropdown-menu";
3
- const _ = ["mode", "max-height"], $ = /* @__PURE__ */ r({
4
- inheritAttrs: !1,
5
- __name: "BsDropdownMenu",
6
- props: {
7
- mode: { default: "menu" },
8
- maxHeight: {}
9
- },
10
- emits: ["select"],
11
- setup(e, { emit: t }) {
12
- const s = t, o = c(null);
13
- function a(n) {
14
- s("select", n.detail);
15
- }
16
- return m(() => o.value?.addEventListener("select", a)), p(() => o.value?.removeEventListener("select", a)), (n, v) => (l(), d("mp-dropdown-menu", i({
17
- ref_key: "el",
18
- ref: o
19
- }, n.$attrs, {
20
- mode: e.mode,
21
- "max-height": e.maxHeight
22
- }), [
23
- u(n.$slots, "default")
24
- ], 16, _));
25
- }
26
- }), h = ["aria-disabled"], D = /* @__PURE__ */ r({
27
- inheritAttrs: !1,
28
- __name: "BsDropdownItem",
29
- props: {
30
- active: { type: Boolean, default: !1 },
31
- disabled: { type: Boolean, default: !1 },
32
- value: {}
33
- },
34
- setup(e) {
35
- const t = e, s = c(null), o = () => {
36
- s.value && (s.value.dropdownValue = t.value);
37
- };
38
- return m(o), f(() => t.value, o), (a, n) => (l(), d("li", i({
39
- ref_key: "el",
40
- ref: s
41
- }, a.$attrs, {
42
- class: ["dropdown-item", { active: e.active, disabled: e.disabled }],
43
- "aria-disabled": e.disabled ? "true" : void 0
44
- }), [
45
- u(a.$slots, "default")
46
- ], 16, h));
47
- }
48
- }), b = /* @__PURE__ */ r({
49
- inheritAttrs: !1,
50
- __name: "BsDropdownDivider",
51
- setup(e) {
52
- return (t, s) => (l(), d("li", i(t.$attrs, {
53
- role: "separator",
54
- class: "dropdown-divider"
55
- }), null, 16));
56
- }
57
- }), g = /* @__PURE__ */ r({
58
- inheritAttrs: !1,
59
- __name: "BsDropdownHeader",
60
- setup(e) {
61
- return (t, s) => (l(), d("li", i(t.$attrs, { class: "dropdown-header" }), [
62
- u(t.$slots, "default")
63
- ], 16));
64
- }
3
+ //#region libs/mintplayer-vue-bootstrap/dropdown-menu/src/BsDropdownMenu.vue?vue&type=script&setup=true&lang.ts
4
+ var l = ["mode", "max-height"], u = /* @__PURE__ */ t({
5
+ inheritAttrs: !1,
6
+ __name: "BsDropdownMenu",
7
+ props: {
8
+ mode: { default: "menu" },
9
+ maxHeight: {}
10
+ },
11
+ emits: ["select"],
12
+ setup(t, { emit: c }) {
13
+ let u = c, d = o(null);
14
+ function f(e) {
15
+ u("select", e.detail);
16
+ }
17
+ return i(() => d.value?.addEventListener("select", f)), r(() => d.value?.removeEventListener("select", f)), (r, i) => (a(), e("mp-dropdown-menu", n({
18
+ ref_key: "el",
19
+ ref: d
20
+ }, r.$attrs, {
21
+ mode: t.mode,
22
+ "max-height": t.maxHeight
23
+ }), [s(r.$slots, "default")], 16, l));
24
+ }
25
+ }), d = ["aria-disabled"], f = /* @__PURE__ */ t({
26
+ inheritAttrs: !1,
27
+ __name: "BsDropdownItem",
28
+ props: {
29
+ active: {
30
+ type: Boolean,
31
+ default: !1
32
+ },
33
+ disabled: {
34
+ type: Boolean,
35
+ default: !1
36
+ },
37
+ value: {}
38
+ },
39
+ setup(t) {
40
+ let r = t, l = o(null), u = () => {
41
+ l.value && (l.value.dropdownValue = r.value);
42
+ };
43
+ return i(u), c(() => r.value, u), (r, i) => (a(), e("li", n({
44
+ ref_key: "el",
45
+ ref: l
46
+ }, r.$attrs, {
47
+ class: ["dropdown-item", {
48
+ active: t.active,
49
+ disabled: t.disabled
50
+ }],
51
+ "aria-disabled": t.disabled ? "true" : void 0
52
+ }), [s(r.$slots, "default")], 16, d));
53
+ }
54
+ }), p = /* @__PURE__ */ t({
55
+ inheritAttrs: !1,
56
+ __name: "BsDropdownDivider",
57
+ setup(t) {
58
+ return (t, r) => (a(), e("li", n(t.$attrs, {
59
+ role: "separator",
60
+ class: "dropdown-divider"
61
+ }), null, 16));
62
+ }
63
+ }), m = /* @__PURE__ */ t({
64
+ inheritAttrs: !1,
65
+ __name: "BsDropdownHeader",
66
+ setup(t) {
67
+ return (t, r) => (a(), e("li", n(t.$attrs, { class: "dropdown-header" }), [s(t.$slots, "default")], 16));
68
+ }
65
69
  });
66
- export {
67
- b as BsDropdownDivider,
68
- g as BsDropdownHeader,
69
- D as BsDropdownItem,
70
- $ as BsDropdownMenu
71
- };
70
+ //#endregion
71
+ export { p as BsDropdownDivider, m as BsDropdownHeader, f as BsDropdownItem, u as BsDropdownMenu };
@@ -1,21 +1,20 @@
1
- import { defineComponent as t, ref as a, onMounted as l, watch as p, openBlock as c, createElementBlock as i, mergeProps as m } from "vue";
1
+ import { createElementBlock as e, defineComponent as t, mergeProps as n, onMounted as r, openBlock as i, ref as a, watch as o } from "vue";
2
2
  import "@mintplayer/web-components/file-manager";
3
- const _ = /* @__PURE__ */ t({
4
- inheritAttrs: !1,
5
- __name: "BsFileManager",
6
- props: {
7
- nodes: {}
8
- },
9
- setup(o) {
10
- const n = o, e = a(null), r = () => {
11
- e.value && (e.value.nodes = n.nodes ?? []);
12
- };
13
- return l(r), p(() => n.nodes, r, { deep: !0 }), (s, f) => (c(), i("mp-file-manager", m({
14
- ref_key: "el",
15
- ref: e
16
- }, s.$attrs), null, 16));
17
- }
3
+ //#endregion
4
+ //#region libs/mintplayer-vue-bootstrap/file-manager/src/BsFileManager.vue
5
+ var s = /* @__PURE__ */ t({
6
+ inheritAttrs: !1,
7
+ __name: "BsFileManager",
8
+ props: { nodes: {} },
9
+ setup(t) {
10
+ let s = t, c = a(null), l = () => {
11
+ c.value && (c.value.nodes = s.nodes ?? []);
12
+ };
13
+ return r(l), o(() => s.nodes, l, { deep: !0 }), (t, r) => (i(), e("mp-file-manager", n({
14
+ ref_key: "el",
15
+ ref: c
16
+ }, t.$attrs), null, 16));
17
+ }
18
18
  });
19
- export {
20
- _ as BsFileManager
21
- };
19
+ //#endregion
20
+ export { s as BsFileManager };
package/index.mjs CHANGED
@@ -1 +0,0 @@
1
-
@@ -1,14 +1,13 @@
1
- import { defineComponent as r, openBlock as t, createElementBlock as o, normalizeProps as p, guardReactiveProps as n, renderSlot as s } from "vue";
1
+ import { createElementBlock as e, defineComponent as t, guardReactiveProps as n, normalizeProps as r, openBlock as i, renderSlot as a } from "vue";
2
2
  import "@mintplayer/web-components/input-group";
3
- const l = /* @__PURE__ */ r({
4
- inheritAttrs: !1,
5
- __name: "BsInputGroup",
6
- setup(a) {
7
- return (e, u) => (t(), o("mp-input-group", p(n(e.$attrs)), [
8
- s(e.$slots, "default")
9
- ], 16));
10
- }
3
+ //#endregion
4
+ //#region libs/mintplayer-vue-bootstrap/input-group/src/BsInputGroup.vue
5
+ var o = /* @__PURE__ */ t({
6
+ inheritAttrs: !1,
7
+ __name: "BsInputGroup",
8
+ setup(t) {
9
+ return (t, o) => (i(), e("mp-input-group", r(n(t.$attrs)), [a(t.$slots, "default")], 16));
10
+ }
11
11
  });
12
- export {
13
- l as BsInputGroup
14
- };
12
+ //#endregion
13
+ export { o as BsInputGroup };
@@ -1,28 +1,29 @@
1
- import { defineComponent as u, useModel as s, ref as i, onMounted as m, watch as c, openBlock as d, createElementBlock as p, mergeProps as f } from "vue";
1
+ import { createElementBlock as e, defineComponent as t, mergeProps as n, onMounted as r, openBlock as i, ref as a, useModel as o, watch as s } from "vue";
2
2
  import "@mintplayer/web-components/multi-range";
3
- const v = /* @__PURE__ */ u({
4
- inheritAttrs: !1,
5
- __name: "BsMultiRange",
6
- props: {
7
- modelValue: {},
8
- modelModifiers: {}
9
- },
10
- emits: ["update:modelValue"],
11
- setup(n) {
12
- const l = s(n, "modelValue"), t = i(null), a = (e) => {
13
- t.value && (t.value.value = e ?? []);
14
- };
15
- m(() => a(l.value)), c(l, a, { deep: !0 });
16
- function r(e) {
17
- const o = e.detail;
18
- Array.isArray(o) && (l.value = [...o]);
19
- }
20
- return (e, o) => (d(), p("mp-multi-range", f({
21
- ref_key: "el",
22
- ref: t
23
- }, e.$attrs, { onValueChange: r }), null, 16));
24
- }
3
+ //#endregion
4
+ //#region libs/mintplayer-vue-bootstrap/multi-range/src/BsMultiRange.vue
5
+ var c = /* @__PURE__ */ t({
6
+ inheritAttrs: !1,
7
+ __name: "BsMultiRange",
8
+ props: {
9
+ modelValue: {},
10
+ modelModifiers: {}
11
+ },
12
+ emits: ["update:modelValue"],
13
+ setup(t) {
14
+ let c = o(t, "modelValue"), l = a(null), u = (e) => {
15
+ l.value && (l.value.value = e ?? []);
16
+ };
17
+ r(() => u(c.value)), s(c, u, { deep: !0 });
18
+ function d(e) {
19
+ let t = e.detail;
20
+ Array.isArray(t) && (c.value = [...t]);
21
+ }
22
+ return (t, r) => (i(), e("mp-multi-range", n({
23
+ ref_key: "el",
24
+ ref: l
25
+ }, t.$attrs, { onValueChange: d }), null, 16));
26
+ }
25
27
  });
26
- export {
27
- v as BsMultiRange
28
- };
28
+ //#endregion
29
+ export { c as BsMultiRange };
package/navbar/index.mjs CHANGED
@@ -1,82 +1,79 @@
1
- import { defineComponent as s, ref as l, onMounted as f, onBeforeUnmount as m, openBlock as d, createElementBlock as i, mergeProps as p, renderSlot as r, createElementVNode as u } from "vue";
1
+ import { createElementBlock as e, createElementVNode as t, defineComponent as n, mergeProps as r, onBeforeUnmount as i, onMounted as a, openBlock as o, ref as s, renderSlot as c } from "vue";
2
2
  import "@mintplayer/web-components/navbar";
3
- const v = ["breakpoint", "color", "expanded", "positioning"], g = /* @__PURE__ */ s({
4
- inheritAttrs: !1,
5
- __name: "BsNavbar",
6
- props: {
7
- breakpoint: { default: "md" },
8
- color: {},
9
- expanded: { type: Boolean },
10
- positioning: {}
11
- },
12
- emits: ["expandedchange"],
13
- setup(a, { emit: n }) {
14
- const e = n, t = l(null);
15
- function c(o) {
16
- e("expandedchange", o.detail);
17
- }
18
- return f(() => t.value?.addEventListener("expandedchange", c)), m(() => t.value?.removeEventListener("expandedchange", c)), (o, h) => (d(), i("mp-navbar", p({
19
- ref_key: "el",
20
- ref: t
21
- }, o.$attrs, {
22
- breakpoint: a.breakpoint,
23
- color: a.color,
24
- expanded: a.expanded ? "" : void 0,
25
- positioning: a.positioning
26
- }), [
27
- r(o.$slots, "default")
28
- ], 16, v));
29
- }
30
- }), b = ["active", "disabled"], k = /* @__PURE__ */ s({
31
- inheritAttrs: !1,
32
- __name: "BsNavbarItem",
33
- props: {
34
- active: { type: Boolean, default: !1 },
35
- disabled: { type: Boolean, default: !1 }
36
- },
37
- setup(a) {
38
- const n = l(null);
39
- return (e, t) => (d(), i("mp-navbar-item", p({
40
- ref_key: "el",
41
- ref: n
42
- }, e.$attrs, {
43
- active: a.active ? "" : void 0,
44
- disabled: a.disabled ? "" : void 0
45
- }), [
46
- r(e.$slots, "default")
47
- ], 16, b));
48
- }
49
- }), N = /* @__PURE__ */ s({
50
- inheritAttrs: !1,
51
- __name: "BsNavbarBrand",
52
- setup(a) {
53
- const n = l(null);
54
- return (e, t) => (d(), i("mp-navbar-brand", p({
55
- ref_key: "el",
56
- ref: n
57
- }, e.$attrs), [
58
- r(e.$slots, "default")
59
- ], 16));
60
- }
61
- }), _ = { slot: "label" }, y = /* @__PURE__ */ s({
62
- inheritAttrs: !1,
63
- __name: "BsNavbarDropdown",
64
- setup(a) {
65
- const n = l(null);
66
- return (e, t) => (d(), i("mp-navbar-dropdown", p({
67
- ref_key: "el",
68
- ref: n
69
- }, e.$attrs), [
70
- u("span", _, [
71
- r(e.$slots, "label")
72
- ]),
73
- r(e.$slots, "default")
74
- ], 16));
75
- }
3
+ //#region libs/mintplayer-vue-bootstrap/navbar/src/BsNavbar.vue?vue&type=script&setup=true&lang.ts
4
+ var l = [
5
+ "breakpoint",
6
+ "color",
7
+ "expanded",
8
+ "positioning"
9
+ ], u = /* @__PURE__ */ n({
10
+ inheritAttrs: !1,
11
+ __name: "BsNavbar",
12
+ props: {
13
+ breakpoint: { default: "md" },
14
+ color: {},
15
+ expanded: { type: Boolean },
16
+ positioning: {}
17
+ },
18
+ emits: ["expandedchange"],
19
+ setup(t, { emit: n }) {
20
+ let u = n, d = s(null);
21
+ function f(e) {
22
+ u("expandedchange", e.detail);
23
+ }
24
+ return a(() => d.value?.addEventListener("expandedchange", f)), i(() => d.value?.removeEventListener("expandedchange", f)), (n, i) => (o(), e("mp-navbar", r({
25
+ ref_key: "el",
26
+ ref: d
27
+ }, n.$attrs, {
28
+ breakpoint: t.breakpoint,
29
+ color: t.color,
30
+ expanded: t.expanded ? "" : void 0,
31
+ positioning: t.positioning
32
+ }), [c(n.$slots, "default")], 16, l));
33
+ }
34
+ }), d = ["active", "disabled"], f = /* @__PURE__ */ n({
35
+ inheritAttrs: !1,
36
+ __name: "BsNavbarItem",
37
+ props: {
38
+ active: {
39
+ type: Boolean,
40
+ default: !1
41
+ },
42
+ disabled: {
43
+ type: Boolean,
44
+ default: !1
45
+ }
46
+ },
47
+ setup(t) {
48
+ let n = s(null);
49
+ return (i, a) => (o(), e("mp-navbar-item", r({
50
+ ref_key: "el",
51
+ ref: n
52
+ }, i.$attrs, {
53
+ active: t.active ? "" : void 0,
54
+ disabled: t.disabled ? "" : void 0
55
+ }), [c(i.$slots, "default")], 16, d));
56
+ }
57
+ }), p = /* @__PURE__ */ n({
58
+ inheritAttrs: !1,
59
+ __name: "BsNavbarBrand",
60
+ setup(t) {
61
+ let n = s(null);
62
+ return (t, i) => (o(), e("mp-navbar-brand", r({
63
+ ref_key: "el",
64
+ ref: n
65
+ }, t.$attrs), [c(t.$slots, "default")], 16));
66
+ }
67
+ }), m = { slot: "label" }, h = /* @__PURE__ */ n({
68
+ inheritAttrs: !1,
69
+ __name: "BsNavbarDropdown",
70
+ setup(n) {
71
+ let i = s(null);
72
+ return (n, a) => (o(), e("mp-navbar-dropdown", r({
73
+ ref_key: "el",
74
+ ref: i
75
+ }, n.$attrs), [t("span", m, [c(n.$slots, "label")]), c(n.$slots, "default")], 16));
76
+ }
76
77
  });
77
- export {
78
- g as BsNavbar,
79
- N as BsNavbarBrand,
80
- y as BsNavbarDropdown,
81
- k as BsNavbarItem
82
- };
78
+ //#endregion
79
+ export { u as BsNavbar, p as BsNavbarBrand, h as BsNavbarDropdown, f as BsNavbarItem };
@@ -1,28 +1,29 @@
1
- import { defineComponent as r, useModel as s, ref as p, onMounted as i, watch as m, openBlock as c, createElementBlock as d, mergeProps as f } from "vue";
1
+ import { createElementBlock as e, defineComponent as t, mergeProps as n, onMounted as r, openBlock as i, ref as a, useModel as o, watch as s } from "vue";
2
2
  import "@mintplayer/web-components/otp-input";
3
- const V = /* @__PURE__ */ r({
4
- inheritAttrs: !1,
5
- __name: "BsOtpInput",
6
- props: {
7
- modelValue: {},
8
- modelModifiers: {}
9
- },
10
- emits: ["update:modelValue"],
11
- setup(a) {
12
- const t = s(a, "modelValue"), o = p(null), n = (e) => {
13
- o.value && (o.value.value = e ?? "");
14
- };
15
- i(() => n(t.value)), m(t, n);
16
- function u(e) {
17
- const l = e.detail;
18
- t.value = typeof l == "string" ? l : "";
19
- }
20
- return (e, l) => (c(), d("mp-otp-input", f({
21
- ref_key: "el",
22
- ref: o
23
- }, e.$attrs, { onValueChange: u }), null, 16));
24
- }
3
+ //#endregion
4
+ //#region libs/mintplayer-vue-bootstrap/otp-input/src/BsOtpInput.vue
5
+ var c = /* @__PURE__ */ t({
6
+ inheritAttrs: !1,
7
+ __name: "BsOtpInput",
8
+ props: {
9
+ modelValue: {},
10
+ modelModifiers: {}
11
+ },
12
+ emits: ["update:modelValue"],
13
+ setup(t) {
14
+ let c = o(t, "modelValue"), l = a(null), u = (e) => {
15
+ l.value && (l.value.value = e ?? "");
16
+ };
17
+ r(() => u(c.value)), s(c, u);
18
+ function d(e) {
19
+ let t = e.detail;
20
+ c.value = typeof t == "string" ? t : "";
21
+ }
22
+ return (t, r) => (i(), e("mp-otp-input", n({
23
+ ref_key: "el",
24
+ ref: l
25
+ }, t.$attrs, { onValueChange: d }), null, 16));
26
+ }
25
27
  });
26
- export {
27
- V as BsOtpInput
28
- };
28
+ //#endregion
29
+ export { c as BsOtpInput };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintplayer/vue-bootstrap",
3
- "version": "3.24.0",
3
+ "version": "3.25.0",
4
4
  "description": "Vue 3.5 SFC adapters around @mintplayer/web-components. Each sub-entry maps one-to-one with a WC sub-entry and exposes typed Vue components with v-model support for input WCs.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -181,7 +181,7 @@
181
181
  },
182
182
  "peerDependencies": {
183
183
  "vue": "^3.5.0",
184
- "@mintplayer/web-components": "^2.19.0"
184
+ "@mintplayer/web-components": "^2.20.0"
185
185
  },
186
186
  "dependencies": {
187
187
  "tslib": "^2.3.0"
@@ -1,28 +1,29 @@
1
- import { defineComponent as r, useModel as s, ref as u, onMounted as m, watch as c, openBlock as p, createElementBlock as d, mergeProps as f } from "vue";
1
+ import { createElementBlock as e, defineComponent as t, mergeProps as n, onMounted as r, openBlock as i, ref as a, useModel as o, watch as s } from "vue";
2
2
  import "@mintplayer/web-components/pagination";
3
- const _ = /* @__PURE__ */ r({
4
- inheritAttrs: !1,
5
- __name: "BsPagination",
6
- props: {
7
- modelValue: {},
8
- modelModifiers: {}
9
- },
10
- emits: ["update:modelValue"],
11
- setup(l) {
12
- const n = s(l, "modelValue"), o = u(null), a = (e) => {
13
- o.value && (o.value.selectedPageNumber = typeof e == "number" ? e : 1);
14
- };
15
- m(() => a(n.value)), c(n, a);
16
- function i(e) {
17
- const t = e.detail;
18
- n.value = t.page;
19
- }
20
- return (e, t) => (p(), d("mp-pagination", f({
21
- ref_key: "el",
22
- ref: o
23
- }, e.$attrs, { onMpPaginationPageChange: i }), null, 16));
24
- }
3
+ //#endregion
4
+ //#region libs/mintplayer-vue-bootstrap/pagination/src/BsPagination.vue
5
+ var c = /* @__PURE__ */ t({
6
+ inheritAttrs: !1,
7
+ __name: "BsPagination",
8
+ props: {
9
+ modelValue: {},
10
+ modelModifiers: {}
11
+ },
12
+ emits: ["update:modelValue"],
13
+ setup(t) {
14
+ let c = o(t, "modelValue"), l = a(null), u = (e) => {
15
+ l.value && (l.value.selectedPageNumber = typeof e == "number" ? e : 1);
16
+ };
17
+ r(() => u(c.value)), s(c, u);
18
+ function d(e) {
19
+ let t = e.detail;
20
+ c.value = t.page;
21
+ }
22
+ return (t, r) => (i(), e("mp-pagination", n({
23
+ ref_key: "el",
24
+ ref: l
25
+ }, t.$attrs, { onMpPaginationPageChange: d }), null, 16));
26
+ }
25
27
  });
26
- export {
27
- _ as BsPagination
28
- };
28
+ //#endregion
29
+ export { c as BsPagination };