@mintplayer/vue-bootstrap 3.2.0 → 3.3.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/card/index.mjs CHANGED
@@ -1,95 +1,146 @@
1
- import { defineComponent as t, openBlock as s, createElementBlock as e, normalizeProps as a, guardReactiveProps as n, renderSlot as _ } from "vue";
2
- import "@mintplayer/web-components/card";
3
- const i = /* @__PURE__ */ t({
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
4
  inheritAttrs: !1,
5
5
  __name: "BsCard",
6
- setup(o) {
7
- return (r, p) => (s(), e("mp-card", a(n(r.$attrs)), [
8
- _(r.$slots, "default")
6
+ setup(s) {
7
+ return (t, r) => (e(), a("mp-card", u(f(t.$attrs)), [
8
+ o(t.$slots, "default")
9
9
  ], 16));
10
10
  }
11
- }), c = /* @__PURE__ */ t({
11
+ }), w = /* @__PURE__ */ l({
12
12
  inheritAttrs: !1,
13
13
  __name: "BsCardBody",
14
- setup(o) {
15
- return (r, p) => (s(), e("mp-card-body", a(n(r.$attrs)), [
16
- _(r.$slots, "default")
14
+ setup(s) {
15
+ return (t, r) => (e(), a("div", n({ class: "card-body" }, t.$attrs), [
16
+ o(t.$slots, "default")
17
17
  ], 16));
18
18
  }
19
- }), l = /* @__PURE__ */ t({
19
+ }), F = /* @__PURE__ */ l({
20
20
  inheritAttrs: !1,
21
21
  __name: "BsCardFooter",
22
- setup(o) {
23
- return (r, p) => (s(), e("mp-card-footer", a(n(r.$attrs)), [
24
- _(r.$slots, "default")
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")
25
30
  ], 16));
26
31
  }
27
- }), m = /* @__PURE__ */ t({
32
+ }), H = /* @__PURE__ */ l({
28
33
  inheritAttrs: !1,
29
34
  __name: "BsCardGroup",
30
- setup(o) {
31
- return (r, p) => (s(), e("mp-card-group", a(n(r.$attrs)), [
32
- _(r.$slots, "default")
35
+ setup(s) {
36
+ return (t, r) => (e(), a("div", n({ class: "card-group" }, t.$attrs), [
37
+ o(t.$slots, "default")
33
38
  ], 16));
34
39
  }
35
- }), f = /* @__PURE__ */ t({
40
+ }), N = /* @__PURE__ */ l({
36
41
  inheritAttrs: !1,
37
42
  __name: "BsCardHeader",
38
- setup(o) {
39
- return (r, p) => (s(), e("mp-card-header", a(n(r.$attrs)), [
40
- _(r.$slots, "default")
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")
41
58
  ], 16));
42
59
  }
43
- }), $ = /* @__PURE__ */ t({
60
+ }), v = ["src", "alt"], y = { class: "card-img-overlay" }, g = ["src", "alt"], P = /* @__PURE__ */ l({
44
61
  inheritAttrs: !1,
45
62
  __name: "BsCardImg",
46
- setup(o) {
47
- return (r, p) => (s(), e("mp-card-img", a(n(r.$attrs)), [
48
- _(r.$slots, "default")
49
- ], 16));
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));
50
95
  }
51
- }), B = /* @__PURE__ */ t({
96
+ }), A = ["href"], E = /* @__PURE__ */ l({
52
97
  inheritAttrs: !1,
53
98
  __name: "BsCardLink",
54
- setup(o) {
55
- return (r, p) => (s(), e("mp-card-link", a(n(r.$attrs)), [
56
- _(r.$slots, "default")
57
- ], 16));
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));
58
109
  }
59
- }), h = /* @__PURE__ */ t({
110
+ }), G = /* @__PURE__ */ l({
60
111
  inheritAttrs: !1,
61
112
  __name: "BsCardSubtitle",
62
- setup(o) {
63
- return (r, p) => (s(), e("mp-card-subtitle", a(n(r.$attrs)), [
64
- _(r.$slots, "default")
113
+ setup(s) {
114
+ return (t, r) => (e(), a("div", n({ class: "card-subtitle" }, t.$attrs), [
115
+ o(t.$slots, "default")
65
116
  ], 16));
66
117
  }
67
- }), C = /* @__PURE__ */ t({
118
+ }), I = /* @__PURE__ */ l({
68
119
  inheritAttrs: !1,
69
120
  __name: "BsCardText",
70
- setup(o) {
71
- return (r, p) => (s(), e("mp-card-text", a(n(r.$attrs)), [
72
- _(r.$slots, "default")
121
+ setup(s) {
122
+ return (t, r) => (e(), a("div", n({ class: "card-text" }, t.$attrs), [
123
+ o(t.$slots, "default")
73
124
  ], 16));
74
125
  }
75
- }), A = /* @__PURE__ */ t({
126
+ }), L = /* @__PURE__ */ l({
76
127
  inheritAttrs: !1,
77
128
  __name: "BsCardTitle",
78
- setup(o) {
79
- return (r, p) => (s(), e("mp-card-title", a(n(r.$attrs)), [
80
- _(r.$slots, "default")
129
+ setup(s) {
130
+ return (t, r) => (e(), a("div", n({ class: "card-title" }, t.$attrs), [
131
+ o(t.$slots, "default")
81
132
  ], 16));
82
133
  }
83
134
  });
84
135
  export {
85
- i as BsCard,
86
- c as BsCardBody,
87
- l as BsCardFooter,
88
- m as BsCardGroup,
89
- f as BsCardHeader,
90
- $ as BsCardImg,
91
- B as BsCardLink,
92
- h as BsCardSubtitle,
93
- C as BsCardText,
94
- A as BsCardTitle
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
95
146
  };
@@ -1,3 +1,6 @@
1
+ type __VLS_Props = {
2
+ color?: string;
3
+ };
1
4
  declare function __VLS_template(): {
2
5
  attrs: Partial<{}>;
3
6
  slots: {
@@ -7,7 +10,7 @@ declare function __VLS_template(): {
7
10
  rootEl: any;
8
11
  };
9
12
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
13
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
14
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
15
  export default _default;
13
16
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,13 +1,21 @@
1
+ type __VLS_Props = {
2
+ color?: string;
3
+ navStyle?: 'tabs' | 'pills';
4
+ };
1
5
  declare function __VLS_template(): {
2
6
  attrs: Partial<{}>;
3
7
  slots: {
4
8
  default?(_: {}): any;
5
9
  };
6
- refs: {};
10
+ refs: {
11
+ el: HTMLDivElement;
12
+ };
7
13
  rootEl: any;
8
14
  };
9
15
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
16
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
17
+ el: HTMLDivElement;
18
+ }, any>;
11
19
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
20
  export default _default;
13
21
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,3 +1,8 @@
1
+ type __VLS_Props = {
2
+ position?: 'top' | 'bottom' | 'overlay';
3
+ src?: string;
4
+ alt?: string;
5
+ };
1
6
  declare function __VLS_template(): {
2
7
  attrs: Partial<{}>;
3
8
  slots: {
@@ -7,7 +12,7 @@ declare function __VLS_template(): {
7
12
  rootEl: any;
8
13
  };
9
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
16
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
17
  export default _default;
13
18
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,3 +1,6 @@
1
+ type __VLS_Props = {
2
+ href?: string;
3
+ };
1
4
  declare function __VLS_template(): {
2
5
  attrs: Partial<{}>;
3
6
  slots: {
@@ -7,7 +10,7 @@ declare function __VLS_template(): {
7
10
  rootEl: any;
8
11
  };
9
12
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
13
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
14
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
15
  export default _default;
13
16
  type __VLS_WithTemplateSlots<T, S> = T & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintplayer/vue-bootstrap",
3
- "version": "3.2.0",
3
+ "version": "3.3.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": {
@@ -0,0 +1,147 @@
1
+ import { resolveSides as x } from "@mintplayer/web-components/timeline";
2
+ import { MpTimeline as _, MpTimelineItem as ee } from "@mintplayer/web-components/timeline";
3
+ import { defineComponent as L, useSlots as M, ref as w, computed as F, onMounted as A, onBeforeUnmount as D, watch as y, onUpdated as U, openBlock as a, createElementBlock as d, mergeProps as N, Fragment as O, renderList as P, renderSlot as m, createCommentVNode as v } from "vue";
4
+ const V = ["orientation", "align", "reverse", "selectable"], j = ["item-id", "title", "description", "time", "icon", "color", "item-class", "disabled"], q = {
5
+ key: 0,
6
+ slot: "marker"
7
+ }, z = {
8
+ key: 1,
9
+ slot: "title"
10
+ }, G = {
11
+ key: 2,
12
+ slot: "opposite"
13
+ }, H = {
14
+ key: 3,
15
+ slot: "opposite"
16
+ }, J = {
17
+ key: 4,
18
+ slot: "content"
19
+ }, W = /* @__PURE__ */ L({
20
+ inheritAttrs: !1,
21
+ __name: "BsTimeline",
22
+ props: {
23
+ items: {},
24
+ orientation: { default: "vertical" },
25
+ align: { default: "start" },
26
+ reverse: { type: Boolean, default: !1 },
27
+ selectable: { default: "none" },
28
+ selection: {}
29
+ },
30
+ emits: ["item-click", "update:selection"],
31
+ setup(s, { emit: p }) {
32
+ const i = s, f = p, l = M(), S = () => !!(l.marker || l.title || l.timestamp || l.opposite || l.content), b = () => S() && !!i.items?.length, c = w(null), B = (t, o) => t.id ?? o, C = F(() => x(i.items?.length ?? 0, i.align, i.reverse)), u = (t, o) => {
33
+ const e = i.items?.length ?? 0, n = i.reverse ? e - 1 - o : o;
34
+ return {
35
+ index: o,
36
+ visualIndex: n,
37
+ isFirst: n === 0,
38
+ isLast: n === e - 1,
39
+ orientation: i.orientation,
40
+ side: C.value[o] ?? "start"
41
+ };
42
+ }, T = (t) => t.time instanceof Date ? t.time.toLocaleDateString() : t.time, I = (t) => f("item-click", t.detail), $ = (t) => {
43
+ const o = t.detail, e = i.items;
44
+ if (e && e.length) {
45
+ const n = c.value?.selectedIds ?? o.selected.map((r, g) => r.id ?? g), E = new Map(e.map((r, g) => [B(r, g), r]));
46
+ f(
47
+ "update:selection",
48
+ n.map((r) => E.get(r)).filter((r) => r !== void 0)
49
+ );
50
+ } else
51
+ f("update:selection", o.selected);
52
+ }, k = () => {
53
+ c.value && (c.value.items = !b() && i.items ? i.items : []);
54
+ }, h = () => {
55
+ !c.value || i.selectable === "none" || (c.value.selectedIds = (i.selection ?? []).map((t, o) => B(t, o)));
56
+ };
57
+ return A(() => {
58
+ c.value?.addEventListener("item-click", I), c.value?.addEventListener("selection-change", $), k(), h();
59
+ }), D(() => {
60
+ c.value?.removeEventListener("item-click", I), c.value?.removeEventListener("selection-change", $);
61
+ }), y(() => i.items, k), U(k), y(() => i.selection, h, { deep: !0 }), y(() => i.selectable, h), (t, o) => (a(), d("mp-timeline", N({
62
+ ref_key: "el",
63
+ ref: c,
64
+ orientation: s.orientation,
65
+ align: s.align,
66
+ reverse: s.reverse,
67
+ selectable: s.selectable
68
+ }, t.$attrs), [
69
+ b() ? (a(!0), d(O, { key: 0 }, P(s.items ?? [], (e, n) => (a(), d("mp-timeline-item", {
70
+ key: e.id ?? n,
71
+ "item-id": e.id ?? void 0,
72
+ title: e.title ?? void 0,
73
+ description: e.description ?? void 0,
74
+ time: T(e) ?? void 0,
75
+ icon: e.icon ?? void 0,
76
+ color: e.color ?? void 0,
77
+ "item-class": e.cssClass ?? void 0,
78
+ disabled: !!e.disabled
79
+ }, [
80
+ l.marker ? (a(), d("span", q, [
81
+ m(t.$slots, "marker", {
82
+ item: e,
83
+ ctx: u(e, n)
84
+ })
85
+ ])) : v("", !0),
86
+ l.title ? (a(), d("span", z, [
87
+ m(t.$slots, "title", {
88
+ item: e,
89
+ ctx: u(e, n)
90
+ })
91
+ ])) : v("", !0),
92
+ l.timestamp ? (a(), d("span", G, [
93
+ m(t.$slots, "timestamp", {
94
+ item: e,
95
+ ctx: u(e, n)
96
+ })
97
+ ])) : v("", !0),
98
+ l.opposite ? (a(), d("span", H, [
99
+ m(t.$slots, "opposite", {
100
+ item: e,
101
+ ctx: u(e, n)
102
+ })
103
+ ])) : v("", !0),
104
+ l.content ? (a(), d("div", J, [
105
+ m(t.$slots, "content", {
106
+ item: e,
107
+ ctx: u(e, n)
108
+ })
109
+ ])) : v("", !0)
110
+ ], 8, j))), 128)) : m(t.$slots, "default", { key: 1 })
111
+ ], 16, V));
112
+ }
113
+ }), K = ["item-id", "title", "description", "time", "icon", "color", "item-class", "disabled", "selected"], X = /* @__PURE__ */ L({
114
+ __name: "BsTimelineItem",
115
+ props: {
116
+ itemId: {},
117
+ title: {},
118
+ description: {},
119
+ time: {},
120
+ icon: {},
121
+ color: {},
122
+ cssClass: {},
123
+ disabled: { type: Boolean },
124
+ selected: { type: Boolean }
125
+ },
126
+ setup(s) {
127
+ return (p, i) => (a(), d("mp-timeline-item", {
128
+ "item-id": s.itemId ?? void 0,
129
+ title: s.title ?? void 0,
130
+ description: s.description ?? void 0,
131
+ time: s.time ?? void 0,
132
+ icon: s.icon ?? void 0,
133
+ color: s.color ?? void 0,
134
+ "item-class": s.cssClass ?? void 0,
135
+ disabled: !!s.disabled,
136
+ selected: !!s.selected
137
+ }, [
138
+ m(p.$slots, "default")
139
+ ], 8, K));
140
+ }
141
+ });
142
+ export {
143
+ W as BsTimeline,
144
+ X as BsTimelineItem,
145
+ _ as MpTimeline,
146
+ ee as MpTimelineItem
147
+ };
@@ -0,0 +1,58 @@
1
+ import { TimelineAlign, TimelineItem, TimelineItemClickDetail, TimelineItemContext, TimelineOrientation, TimelineSelectable } from '@mintplayer/web-components/timeline-core';
2
+ type __VLS_Props = {
3
+ items?: TimelineItem[];
4
+ orientation?: TimelineOrientation;
5
+ align?: TimelineAlign;
6
+ reverse?: boolean;
7
+ selectable?: TimelineSelectable;
8
+ /** v-model:selection — array of selected items (identity via id). */
9
+ selection?: TimelineItem[];
10
+ };
11
+ type SlotProps = {
12
+ item: TimelineItem;
13
+ ctx: TimelineItemContext;
14
+ };
15
+ declare function __VLS_template(): {
16
+ attrs: Partial<{}>;
17
+ slots: Readonly<{
18
+ marker?(props: SlotProps): unknown;
19
+ title?(props: SlotProps): unknown;
20
+ timestamp?(props: SlotProps): unknown;
21
+ opposite?(props: SlotProps): unknown;
22
+ content?(props: SlotProps): unknown;
23
+ default?(props: Record<string, never>): unknown;
24
+ }> & {
25
+ marker?(props: SlotProps): unknown;
26
+ title?(props: SlotProps): unknown;
27
+ timestamp?(props: SlotProps): unknown;
28
+ opposite?(props: SlotProps): unknown;
29
+ content?(props: SlotProps): unknown;
30
+ default?(props: Record<string, never>): unknown;
31
+ };
32
+ refs: {
33
+ el: unknown;
34
+ };
35
+ rootEl: any;
36
+ };
37
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
38
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
39
+ "item-click": (detail: TimelineItemClickDetail) => any;
40
+ "update:selection": (selected: TimelineItem[]) => any;
41
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
42
+ "onItem-click"?: ((detail: TimelineItemClickDetail) => any) | undefined;
43
+ "onUpdate:selection"?: ((selected: TimelineItem[]) => any) | undefined;
44
+ }>, {
45
+ reverse: boolean;
46
+ orientation: TimelineOrientation;
47
+ align: TimelineAlign;
48
+ selectable: TimelineSelectable;
49
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
50
+ el: unknown;
51
+ }, any>;
52
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
53
+ export default _default;
54
+ type __VLS_WithTemplateSlots<T, S> = T & {
55
+ new (): {
56
+ $slots: S;
57
+ };
58
+ };
@@ -0,0 +1,29 @@
1
+ type __VLS_Props = {
2
+ itemId?: string | number;
3
+ title?: string;
4
+ description?: string;
5
+ time?: string;
6
+ icon?: string;
7
+ color?: string;
8
+ cssClass?: string;
9
+ disabled?: boolean;
10
+ /** Seeds the timeline's initial selection (when selectable). */
11
+ selected?: boolean;
12
+ };
13
+ declare function __VLS_template(): {
14
+ attrs: Partial<{}>;
15
+ slots: {
16
+ default?(_: {}): any;
17
+ };
18
+ refs: {};
19
+ rootEl: any;
20
+ };
21
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
+ export default _default;
25
+ type __VLS_WithTemplateSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -0,0 +1,4 @@
1
+ export { default as BsTimeline } from './BsTimeline.vue';
2
+ export { default as BsTimelineItem } from './BsTimelineItem.vue';
3
+ export { MpTimeline, MpTimelineItem } from '@mintplayer/web-components/timeline';
4
+ export type { TimelineItem, TimelineOrientation, TimelineAlign, TimelineSide, TimelineSelectable, TimelineItemContext, TimelineConnectorContext, TimelineItemClickDetail, TimelineSelectionChangeDetail, } from '@mintplayer/web-components/timeline-core';