@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/signature-pad/index.mjs
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
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/signature-pad";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region libs/mintplayer-vue-bootstrap/signature-pad/src/BsSignaturePad.vue
|
|
5
|
+
var c = /* @__PURE__ */ t({
|
|
6
|
+
inheritAttrs: !1,
|
|
7
|
+
__name: "BsSignaturePad",
|
|
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.signature = e ?? { strokes: [] });
|
|
16
|
+
};
|
|
17
|
+
r(() => u(c.value)), s(c, u);
|
|
18
|
+
function d(e) {
|
|
19
|
+
c.value = e.detail;
|
|
20
|
+
}
|
|
21
|
+
return (t, r) => (i(), e("mp-signature-pad", n({
|
|
22
|
+
ref_key: "el",
|
|
23
|
+
ref: l
|
|
24
|
+
}, t.$attrs, { onSignatureChange: d }), null, 16));
|
|
25
|
+
}
|
|
24
26
|
});
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
};
|
|
27
|
+
//#endregion
|
|
28
|
+
export { c as BsSignaturePad };
|
package/splitter/index.mjs
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { createElementBlock as e, defineComponent as t, guardReactiveProps as n, normalizeProps as r, openBlock as i, renderSlot as a } from "vue";
|
|
2
|
+
import { MpSplitter as o } from "@mintplayer/web-components/splitter";
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region libs/mintplayer-vue-bootstrap/splitter/src/BsSplitter.vue
|
|
5
|
+
var s = /* @__PURE__ */ t({
|
|
6
|
+
inheritAttrs: !1,
|
|
7
|
+
__name: "BsSplitter",
|
|
8
|
+
setup(t) {
|
|
9
|
+
return (t, o) => (i(), e("mp-splitter", r(n(t.$attrs)), [a(t.$slots, "default")], 16));
|
|
10
|
+
}
|
|
11
11
|
});
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
_ as MpSplitter
|
|
15
|
-
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { s as BsSplitter, o as MpSplitter };
|
package/tab-control/index.mjs
CHANGED
|
@@ -1,32 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
+
import { MpTabControl as l, MpTabPage as u } from "@mintplayer/web-components/tab-control";
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region libs/mintplayer-vue-bootstrap/tab-control/src/BsTabControl.vue
|
|
5
|
+
var d = /* @__PURE__ */ t({
|
|
6
|
+
inheritAttrs: !1,
|
|
7
|
+
__name: "BsTabControl",
|
|
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 && e !== void 0 && u.value.setAttribute("active-tab", e);
|
|
16
|
+
};
|
|
17
|
+
r(() => d(l.value)), c(l, d);
|
|
18
|
+
function f(e) {
|
|
19
|
+
let t = e.detail;
|
|
20
|
+
t && (l.value = t.tabId);
|
|
21
|
+
}
|
|
22
|
+
return (t, r) => (i(), e("mp-tab-control", n({
|
|
23
|
+
ref_key: "el",
|
|
24
|
+
ref: u
|
|
25
|
+
}, t.$attrs, { onTabActivate: f }), [o(t.$slots, "default")], 16));
|
|
26
|
+
}
|
|
27
27
|
});
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
B as MpTabControl,
|
|
31
|
-
C as MpTabPage
|
|
32
|
-
};
|
|
28
|
+
//#endregion
|
|
29
|
+
export { d as BsTabControl, l as MpTabControl, u as MpTabPage };
|
package/theming/index.mjs
CHANGED
|
@@ -1,57 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BS_THEME_DEFAULT_MODES as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
d() && m().setMode(o);
|
|
1
|
+
import { createElementBlock as e, defineComponent as t, getCurrentInstance as n, getCurrentScope as r, mergeProps as i, onMounted as a, onScopeDispose as o, openBlock as s, readonly as c, ref as l, shallowRef as u, watch as d } from "vue";
|
|
2
|
+
import { BS_THEME_COOKIE_NAME as f, BS_THEME_DEFAULT_MODES as p, BS_THEME_DEFAULT_MODES as m, BS_THEME_DEFAULT_MODE_META as h, configureBsTheme as g, getBsThemeStore as _, getBsThemeStore as v, injectThemeAttribute as y, isValidThemeMode as b, readDefaultModeMeta as x, readThemeCookie as S, resolveMode as C, resolveMode as w, resolveServerTheme as T, writeThemeCookie as E } from "@mintplayer/web-components/theming";
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region libs/mintplayer-vue-bootstrap/theming/src/BsThemeToggle.vue
|
|
5
|
+
var D = /* @__PURE__ */ t({
|
|
6
|
+
inheritAttrs: !1,
|
|
7
|
+
__name: "BsThemeToggle",
|
|
8
|
+
props: { modes: {} },
|
|
9
|
+
setup(t) {
|
|
10
|
+
let n = t, r = l(null), o = () => {
|
|
11
|
+
r.value && (r.value.modes = n.modes ?? m);
|
|
12
|
+
};
|
|
13
|
+
return a(o), d(() => n.modes, o), (t, n) => (s(), e("mp-theme-toggle", i({
|
|
14
|
+
ref_key: "el",
|
|
15
|
+
ref: r
|
|
16
|
+
}, t.$attrs), null, 16));
|
|
17
|
+
}
|
|
18
|
+
}), O = () => typeof window < "u", k = (e) => {
|
|
19
|
+
O() && v().setMode(e);
|
|
21
20
|
};
|
|
22
|
-
function
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
setMode: S,
|
|
39
|
-
stop: e
|
|
40
|
-
};
|
|
21
|
+
function A() {
|
|
22
|
+
let e = u("auto"), t = u(w("auto", !1)), i = () => void 0;
|
|
23
|
+
if (O()) {
|
|
24
|
+
let s = v(), c = () => {
|
|
25
|
+
e.value = s.getMode(), t.value = s.effectiveMode();
|
|
26
|
+
}, l = s.subscribe(c), u = !1;
|
|
27
|
+
i = () => {
|
|
28
|
+
u || (u = !0, l());
|
|
29
|
+
}, r() && o(i), n() ? a(c) : c();
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
mode: c(e),
|
|
33
|
+
effectiveMode: c(t),
|
|
34
|
+
setMode: k,
|
|
35
|
+
stop: i
|
|
36
|
+
};
|
|
41
37
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
O as BS_THEME_DEFAULT_MODES,
|
|
45
|
-
H as BS_THEME_DEFAULT_MODE_META,
|
|
46
|
-
w as BsThemeToggle,
|
|
47
|
-
F as configureBsTheme,
|
|
48
|
-
L as getBsThemeStore,
|
|
49
|
-
U as injectThemeAttribute,
|
|
50
|
-
x as isValidThemeMode,
|
|
51
|
-
I as readDefaultModeMeta,
|
|
52
|
-
j as readThemeCookie,
|
|
53
|
-
K as resolveMode,
|
|
54
|
-
N as resolveServerTheme,
|
|
55
|
-
C as useBsTheme,
|
|
56
|
-
P as writeThemeCookie
|
|
57
|
-
};
|
|
38
|
+
//#endregion
|
|
39
|
+
export { f as BS_THEME_COOKIE_NAME, p as BS_THEME_DEFAULT_MODES, h as BS_THEME_DEFAULT_MODE_META, D as BsThemeToggle, g as configureBsTheme, _ as getBsThemeStore, y as injectThemeAttribute, b as isValidThemeMode, x as readDefaultModeMeta, S as readThemeCookie, C as resolveMode, T as resolveServerTheme, A as useBsTheme, E as writeThemeCookie };
|
package/tile-manager/index.mjs
CHANGED
|
@@ -1,23 +1,20 @@
|
|
|
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, watch as s } from "vue";
|
|
2
2
|
import "@mintplayer/web-components/tile-manager";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
], 16));
|
|
19
|
-
}
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region libs/mintplayer-vue-bootstrap/tile-manager/src/BsTileManager.vue
|
|
5
|
+
var c = /* @__PURE__ */ t({
|
|
6
|
+
inheritAttrs: !1,
|
|
7
|
+
__name: "BsTileManager",
|
|
8
|
+
props: { tiles: {} },
|
|
9
|
+
setup(t) {
|
|
10
|
+
let c = t, l = a(null), u = () => {
|
|
11
|
+
l.value && (l.value.tiles = c.tiles ?? []);
|
|
12
|
+
};
|
|
13
|
+
return r(u), s(() => c.tiles, u), (t, r) => (i(), e("mp-tile-manager", n({
|
|
14
|
+
ref_key: "el",
|
|
15
|
+
ref: l
|
|
16
|
+
}, t.$attrs), [o(t.$slots, "default")], 16));
|
|
17
|
+
}
|
|
20
18
|
});
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
};
|
|
19
|
+
//#endregion
|
|
20
|
+
export { c as BsTileManager };
|
package/timeline/index.mjs
CHANGED
|
@@ -1,147 +1,152 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { MpTimeline as
|
|
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
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
1
|
+
import { Fragment as e, computed as t, createCommentVNode as n, createElementBlock as r, defineComponent as i, mergeProps as a, onBeforeUnmount as o, onMounted as s, onUpdated as c, openBlock as l, ref as u, renderList as d, renderSlot as f, useSlots as p, watch as m } from "vue";
|
|
2
|
+
import { MpTimeline as h, MpTimelineItem as g, resolveSides as _ } from "@mintplayer/web-components/timeline";
|
|
3
|
+
//#region libs/mintplayer-vue-bootstrap/timeline/src/BsTimeline.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var v = [
|
|
5
|
+
"orientation",
|
|
6
|
+
"align",
|
|
7
|
+
"reverse",
|
|
8
|
+
"selectable"
|
|
9
|
+
], y = [
|
|
10
|
+
"item-id",
|
|
11
|
+
"title",
|
|
12
|
+
"description",
|
|
13
|
+
"time",
|
|
14
|
+
"icon",
|
|
15
|
+
"color",
|
|
16
|
+
"item-class",
|
|
17
|
+
"disabled"
|
|
18
|
+
], b = {
|
|
19
|
+
key: 0,
|
|
20
|
+
slot: "marker"
|
|
21
|
+
}, x = {
|
|
22
|
+
key: 1,
|
|
23
|
+
slot: "title"
|
|
24
|
+
}, S = {
|
|
25
|
+
key: 2,
|
|
26
|
+
slot: "opposite"
|
|
27
|
+
}, C = {
|
|
28
|
+
key: 3,
|
|
29
|
+
slot: "opposite"
|
|
30
|
+
}, w = {
|
|
31
|
+
key: 4,
|
|
32
|
+
slot: "content"
|
|
33
|
+
}, T = /* @__PURE__ */ i({
|
|
34
|
+
inheritAttrs: !1,
|
|
35
|
+
__name: "BsTimeline",
|
|
36
|
+
props: {
|
|
37
|
+
items: {},
|
|
38
|
+
orientation: { default: "vertical" },
|
|
39
|
+
align: { default: "start" },
|
|
40
|
+
reverse: {
|
|
41
|
+
type: Boolean,
|
|
42
|
+
default: !1
|
|
43
|
+
},
|
|
44
|
+
selectable: { default: "none" },
|
|
45
|
+
selection: {}
|
|
46
|
+
},
|
|
47
|
+
emits: ["item-click", "update:selection"],
|
|
48
|
+
setup(i, { emit: h }) {
|
|
49
|
+
let g = i, T = h, E = p(), D = () => !!(E.marker || E.title || E.timestamp || E.opposite || E.content), O = () => D() && !!g.items?.length, k = u(null), A = (e, t) => e.id ?? t, j = t(() => _(g.items?.length ?? 0, g.align, g.reverse)), M = (e, t) => {
|
|
50
|
+
let n = g.items?.length ?? 0, r = g.reverse ? n - 1 - t : t;
|
|
51
|
+
return {
|
|
52
|
+
index: t,
|
|
53
|
+
visualIndex: r,
|
|
54
|
+
isFirst: r === 0,
|
|
55
|
+
isLast: r === n - 1,
|
|
56
|
+
orientation: g.orientation,
|
|
57
|
+
side: j.value[t] ?? "start"
|
|
58
|
+
};
|
|
59
|
+
}, N = (e) => e.time instanceof Date ? e.time.toLocaleDateString() : e.time, P = (e) => T("item-click", e.detail), F = (e) => {
|
|
60
|
+
let t = e.detail, n = g.items;
|
|
61
|
+
if (n && n.length) {
|
|
62
|
+
let e = k.value?.selectedIds ?? t.selected.map((e, t) => e.id ?? t), r = new Map(n.map((e, t) => [A(e, t), e]));
|
|
63
|
+
T("update:selection", e.map((e) => r.get(e)).filter((e) => e !== void 0));
|
|
64
|
+
} else T("update:selection", t.selected);
|
|
65
|
+
}, I = () => {
|
|
66
|
+
k.value && (k.value.items = !O() && g.items ? g.items : []);
|
|
67
|
+
}, L = () => {
|
|
68
|
+
k.value && g.selectable !== "none" && (k.value.selectedIds = (g.selection ?? []).map((e, t) => A(e, t)));
|
|
69
|
+
};
|
|
70
|
+
return s(() => {
|
|
71
|
+
k.value?.addEventListener("item-click", P), k.value?.addEventListener("selection-change", F), I(), L();
|
|
72
|
+
}), o(() => {
|
|
73
|
+
k.value?.removeEventListener("item-click", P), k.value?.removeEventListener("selection-change", F);
|
|
74
|
+
}), m(() => g.items, I), c(I), m(() => g.selection, L, { deep: !0 }), m(() => g.selectable, L), (t, o) => (l(), r("mp-timeline", a({
|
|
75
|
+
ref_key: "el",
|
|
76
|
+
ref: k,
|
|
77
|
+
orientation: i.orientation,
|
|
78
|
+
align: i.align,
|
|
79
|
+
reverse: i.reverse,
|
|
80
|
+
selectable: i.selectable
|
|
81
|
+
}, t.$attrs), [O() ? (l(!0), r(e, { key: 0 }, d(i.items ?? [], (e, i) => (l(), r("mp-timeline-item", {
|
|
82
|
+
key: e.id ?? i,
|
|
83
|
+
"item-id": e.id ?? void 0,
|
|
84
|
+
title: e.title ?? void 0,
|
|
85
|
+
description: e.description ?? void 0,
|
|
86
|
+
time: N(e) ?? void 0,
|
|
87
|
+
icon: e.icon ?? void 0,
|
|
88
|
+
color: e.color ?? void 0,
|
|
89
|
+
"item-class": e.cssClass ?? void 0,
|
|
90
|
+
disabled: !!e.disabled
|
|
91
|
+
}, [
|
|
92
|
+
E.marker ? (l(), r("span", b, [f(t.$slots, "marker", {
|
|
93
|
+
item: e,
|
|
94
|
+
ctx: M(e, i)
|
|
95
|
+
})])) : n("", !0),
|
|
96
|
+
E.title ? (l(), r("span", x, [f(t.$slots, "title", {
|
|
97
|
+
item: e,
|
|
98
|
+
ctx: M(e, i)
|
|
99
|
+
})])) : n("", !0),
|
|
100
|
+
E.timestamp ? (l(), r("span", S, [f(t.$slots, "timestamp", {
|
|
101
|
+
item: e,
|
|
102
|
+
ctx: M(e, i)
|
|
103
|
+
})])) : n("", !0),
|
|
104
|
+
E.opposite ? (l(), r("span", C, [f(t.$slots, "opposite", {
|
|
105
|
+
item: e,
|
|
106
|
+
ctx: M(e, i)
|
|
107
|
+
})])) : n("", !0),
|
|
108
|
+
E.content ? (l(), r("div", w, [f(t.$slots, "content", {
|
|
109
|
+
item: e,
|
|
110
|
+
ctx: M(e, i)
|
|
111
|
+
})])) : n("", !0)
|
|
112
|
+
], 8, y))), 128)) : f(t.$slots, "default", {}, void 0, void 0, 1)], 16, v));
|
|
113
|
+
}
|
|
114
|
+
}), E = [
|
|
115
|
+
"item-id",
|
|
116
|
+
"title",
|
|
117
|
+
"description",
|
|
118
|
+
"time",
|
|
119
|
+
"icon",
|
|
120
|
+
"color",
|
|
121
|
+
"item-class",
|
|
122
|
+
"disabled",
|
|
123
|
+
"selected"
|
|
124
|
+
], D = /* @__PURE__ */ i({
|
|
125
|
+
__name: "BsTimelineItem",
|
|
126
|
+
props: {
|
|
127
|
+
itemId: {},
|
|
128
|
+
title: {},
|
|
129
|
+
description: {},
|
|
130
|
+
time: {},
|
|
131
|
+
icon: {},
|
|
132
|
+
color: {},
|
|
133
|
+
cssClass: {},
|
|
134
|
+
disabled: { type: Boolean },
|
|
135
|
+
selected: { type: Boolean }
|
|
136
|
+
},
|
|
137
|
+
setup(e) {
|
|
138
|
+
return (t, n) => (l(), r("mp-timeline-item", {
|
|
139
|
+
"item-id": e.itemId ?? void 0,
|
|
140
|
+
title: e.title ?? void 0,
|
|
141
|
+
description: e.description ?? void 0,
|
|
142
|
+
time: e.time ?? void 0,
|
|
143
|
+
icon: e.icon ?? void 0,
|
|
144
|
+
color: e.color ?? void 0,
|
|
145
|
+
"item-class": e.cssClass ?? void 0,
|
|
146
|
+
disabled: !!e.disabled,
|
|
147
|
+
selected: !!e.selected
|
|
148
|
+
}, [f(t.$slots, "default")], 8, E));
|
|
149
|
+
}
|
|
141
150
|
});
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
X as BsTimelineItem,
|
|
145
|
-
_ as MpTimeline,
|
|
146
|
-
ee as MpTimelineItem
|
|
147
|
-
};
|
|
151
|
+
//#endregion
|
|
152
|
+
export { T as BsTimeline, D as BsTimelineItem, h as MpTimeline, g as MpTimelineItem };
|