@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.
- package/accordion/index.mjs +54 -64
- package/calendar/index.mjs +27 -28
- package/card/index.mjs +104 -145
- package/carousel/index.mjs +74 -58
- package/charts/hierarchy/index.mjs +44 -43
- package/charts/sparkline/index.mjs +25 -24
- package/charts/trend/index.mjs +25 -24
- package/checkbox/index.mjs +27 -28
- package/code-snippet/index.mjs +34 -32
- package/datatable/index.mjs +84 -70
- package/datepicker/index.mjs +27 -28
- package/datetime-picker/index.mjs +27 -28
- package/dock/index.mjs +27 -28
- package/dropdown-menu/index.mjs +69 -69
- package/file-manager/index.mjs +18 -19
- package/index.mjs +0 -1
- package/input-group/index.mjs +11 -12
- package/multi-range/index.mjs +27 -26
- package/navbar/index.mjs +77 -80
- package/otp-input/index.mjs +27 -26
- package/package.json +2 -2
- package/pagination/index.mjs +27 -26
- package/phone-input/index.mjs +35 -34
- package/query-builder/index.mjs +45 -41
- package/radio/index.mjs +27 -28
- package/radio-group/index.mjs +27 -28
- package/ribbon/index.mjs +28 -47
- package/scheduler/index.mjs +45 -42
- package/select/index.mjs +33 -34
- package/shell/index.mjs +37 -33
- package/signature-pad/index.mjs +26 -25
- package/splitter/index.mjs +12 -14
- package/tab-control/index.mjs +28 -31
- package/theming/index.mjs +37 -55
- package/tile-manager/index.mjs +18 -21
- package/timeline/index.mjs +151 -146
- package/timepicker/index.mjs +49 -53
- package/toggle-button/index.mjs +27 -28
- package/tree-select/index.mjs +105 -97
- package/treeview/index.mjs +56 -55
- package/vue-bootstrap.css +2 -1
package/dock/index.mjs
CHANGED
|
@@ -1,30 +1,29 @@
|
|
|
1
|
-
import {
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
28
|
+
//#endregion
|
|
29
|
+
export { l as BsDockManager };
|
package/dropdown-menu/index.mjs
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
import {
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
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
|
-
|
|
67
|
-
|
|
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 };
|
package/file-manager/index.mjs
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import {
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
-
|
|
20
|
-
|
|
21
|
-
};
|
|
19
|
+
//#endregion
|
|
20
|
+
export { s as BsFileManager };
|
package/index.mjs
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/input-group/index.mjs
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import {
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { o as BsInputGroup };
|
package/multi-range/index.mjs
CHANGED
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import {
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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
|
-
|
|
27
|
-
|
|
28
|
-
};
|
|
28
|
+
//#endregion
|
|
29
|
+
export { c as BsMultiRange };
|
package/navbar/index.mjs
CHANGED
|
@@ -1,82 +1,79 @@
|
|
|
1
|
-
import {
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
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
|
-
|
|
78
|
-
|
|
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 };
|
package/otp-input/index.mjs
CHANGED
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import {
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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
|
-
|
|
27
|
-
|
|
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.
|
|
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.
|
|
184
|
+
"@mintplayer/web-components": "^2.20.0"
|
|
185
185
|
},
|
|
186
186
|
"dependencies": {
|
|
187
187
|
"tslib": "^2.3.0"
|
package/pagination/index.mjs
CHANGED
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import {
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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
|
-
|
|
27
|
-
|
|
28
|
-
};
|
|
28
|
+
//#endregion
|
|
29
|
+
export { c as BsPagination };
|