@mintplayer/vue-bootstrap 3.0.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/README.md +7 -0
- package/calendar/index.mjs +30 -0
- package/calendar/src/BsCalendar.vue.d.ts +28 -0
- package/calendar/src/index.d.ts +1 -0
- package/card/index.mjs +95 -0
- package/card/src/BsCard.vue.d.ts +17 -0
- package/card/src/BsCardBody.vue.d.ts +17 -0
- package/card/src/BsCardFooter.vue.d.ts +17 -0
- package/card/src/BsCardGroup.vue.d.ts +17 -0
- package/card/src/BsCardHeader.vue.d.ts +17 -0
- package/card/src/BsCardImg.vue.d.ts +17 -0
- package/card/src/BsCardLink.vue.d.ts +17 -0
- package/card/src/BsCardSubtitle.vue.d.ts +17 -0
- package/card/src/BsCardText.vue.d.ts +17 -0
- package/card/src/BsCardTitle.vue.d.ts +17 -0
- package/card/src/index.d.ts +10 -0
- package/code-snippet/index.mjs +14 -0
- package/code-snippet/src/BsCodeSnippet.vue.d.ts +17 -0
- package/code-snippet/src/index.d.ts +1 -0
- package/index.mjs +1 -0
- package/package.json +34 -0
- package/src/index.d.ts +17 -0
package/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
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";
|
|
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
|
+
}
|
|
27
|
+
});
|
|
28
|
+
export {
|
|
29
|
+
B as BsCalendar
|
|
30
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
type __VLS_PublicProps = {
|
|
2
|
+
modelValue?: Date | null;
|
|
3
|
+
};
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {
|
|
10
|
+
el: unknown;
|
|
11
|
+
};
|
|
12
|
+
rootEl: any;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (value: Date | null) => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
20
|
+
el: unknown;
|
|
21
|
+
}, any>;
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BsCalendar } from './BsCalendar.vue';
|
package/card/index.mjs
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
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({
|
|
4
|
+
inheritAttrs: !1,
|
|
5
|
+
__name: "BsCard",
|
|
6
|
+
setup(o) {
|
|
7
|
+
return (r, p) => (s(), e("mp-card", a(n(r.$attrs)), [
|
|
8
|
+
_(r.$slots, "default")
|
|
9
|
+
], 16));
|
|
10
|
+
}
|
|
11
|
+
}), c = /* @__PURE__ */ t({
|
|
12
|
+
inheritAttrs: !1,
|
|
13
|
+
__name: "BsCardBody",
|
|
14
|
+
setup(o) {
|
|
15
|
+
return (r, p) => (s(), e("mp-card-body", a(n(r.$attrs)), [
|
|
16
|
+
_(r.$slots, "default")
|
|
17
|
+
], 16));
|
|
18
|
+
}
|
|
19
|
+
}), l = /* @__PURE__ */ t({
|
|
20
|
+
inheritAttrs: !1,
|
|
21
|
+
__name: "BsCardFooter",
|
|
22
|
+
setup(o) {
|
|
23
|
+
return (r, p) => (s(), e("mp-card-footer", a(n(r.$attrs)), [
|
|
24
|
+
_(r.$slots, "default")
|
|
25
|
+
], 16));
|
|
26
|
+
}
|
|
27
|
+
}), m = /* @__PURE__ */ t({
|
|
28
|
+
inheritAttrs: !1,
|
|
29
|
+
__name: "BsCardGroup",
|
|
30
|
+
setup(o) {
|
|
31
|
+
return (r, p) => (s(), e("mp-card-group", a(n(r.$attrs)), [
|
|
32
|
+
_(r.$slots, "default")
|
|
33
|
+
], 16));
|
|
34
|
+
}
|
|
35
|
+
}), f = /* @__PURE__ */ t({
|
|
36
|
+
inheritAttrs: !1,
|
|
37
|
+
__name: "BsCardHeader",
|
|
38
|
+
setup(o) {
|
|
39
|
+
return (r, p) => (s(), e("mp-card-header", a(n(r.$attrs)), [
|
|
40
|
+
_(r.$slots, "default")
|
|
41
|
+
], 16));
|
|
42
|
+
}
|
|
43
|
+
}), $ = /* @__PURE__ */ t({
|
|
44
|
+
inheritAttrs: !1,
|
|
45
|
+
__name: "BsCardImg",
|
|
46
|
+
setup(o) {
|
|
47
|
+
return (r, p) => (s(), e("mp-card-img", a(n(r.$attrs)), [
|
|
48
|
+
_(r.$slots, "default")
|
|
49
|
+
], 16));
|
|
50
|
+
}
|
|
51
|
+
}), B = /* @__PURE__ */ t({
|
|
52
|
+
inheritAttrs: !1,
|
|
53
|
+
__name: "BsCardLink",
|
|
54
|
+
setup(o) {
|
|
55
|
+
return (r, p) => (s(), e("mp-card-link", a(n(r.$attrs)), [
|
|
56
|
+
_(r.$slots, "default")
|
|
57
|
+
], 16));
|
|
58
|
+
}
|
|
59
|
+
}), h = /* @__PURE__ */ t({
|
|
60
|
+
inheritAttrs: !1,
|
|
61
|
+
__name: "BsCardSubtitle",
|
|
62
|
+
setup(o) {
|
|
63
|
+
return (r, p) => (s(), e("mp-card-subtitle", a(n(r.$attrs)), [
|
|
64
|
+
_(r.$slots, "default")
|
|
65
|
+
], 16));
|
|
66
|
+
}
|
|
67
|
+
}), C = /* @__PURE__ */ t({
|
|
68
|
+
inheritAttrs: !1,
|
|
69
|
+
__name: "BsCardText",
|
|
70
|
+
setup(o) {
|
|
71
|
+
return (r, p) => (s(), e("mp-card-text", a(n(r.$attrs)), [
|
|
72
|
+
_(r.$slots, "default")
|
|
73
|
+
], 16));
|
|
74
|
+
}
|
|
75
|
+
}), A = /* @__PURE__ */ t({
|
|
76
|
+
inheritAttrs: !1,
|
|
77
|
+
__name: "BsCardTitle",
|
|
78
|
+
setup(o) {
|
|
79
|
+
return (r, p) => (s(), e("mp-card-title", a(n(r.$attrs)), [
|
|
80
|
+
_(r.$slots, "default")
|
|
81
|
+
], 16));
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
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
|
|
95
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: any;
|
|
8
|
+
};
|
|
9
|
+
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>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: any;
|
|
8
|
+
};
|
|
9
|
+
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>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: any;
|
|
8
|
+
};
|
|
9
|
+
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>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: any;
|
|
8
|
+
};
|
|
9
|
+
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>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: any;
|
|
8
|
+
};
|
|
9
|
+
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>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: any;
|
|
8
|
+
};
|
|
9
|
+
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>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: any;
|
|
8
|
+
};
|
|
9
|
+
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>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: any;
|
|
8
|
+
};
|
|
9
|
+
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>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: any;
|
|
8
|
+
};
|
|
9
|
+
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>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: any;
|
|
8
|
+
};
|
|
9
|
+
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>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { default as BsCard } from './BsCard.vue';
|
|
2
|
+
export { default as BsCardBody } from './BsCardBody.vue';
|
|
3
|
+
export { default as BsCardFooter } from './BsCardFooter.vue';
|
|
4
|
+
export { default as BsCardGroup } from './BsCardGroup.vue';
|
|
5
|
+
export { default as BsCardHeader } from './BsCardHeader.vue';
|
|
6
|
+
export { default as BsCardImg } from './BsCardImg.vue';
|
|
7
|
+
export { default as BsCardLink } from './BsCardLink.vue';
|
|
8
|
+
export { default as BsCardSubtitle } from './BsCardSubtitle.vue';
|
|
9
|
+
export { default as BsCardText } from './BsCardText.vue';
|
|
10
|
+
export { default as BsCardTitle } from './BsCardTitle.vue';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { defineComponent as t, openBlock as o, createElementBlock as r, normalizeProps as p, guardReactiveProps as n, renderSlot as s } from "vue";
|
|
2
|
+
import "@mintplayer/web-components/code-snippet";
|
|
3
|
+
const l = /* @__PURE__ */ t({
|
|
4
|
+
inheritAttrs: !1,
|
|
5
|
+
__name: "BsCodeSnippet",
|
|
6
|
+
setup(a) {
|
|
7
|
+
return (e, i) => (o(), r("mp-code-snippet", p(n(e.$attrs)), [
|
|
8
|
+
s(e.$slots, "default")
|
|
9
|
+
], 16));
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
export {
|
|
13
|
+
l as BsCodeSnippet
|
|
14
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: any;
|
|
8
|
+
};
|
|
9
|
+
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>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BsCodeSnippet } from './BsCodeSnippet.vue';
|
package/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/package.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mintplayer/vue-bootstrap",
|
|
3
|
+
"version": "3.0.0",
|
|
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
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/MintPlayer/mintplayer-ng-bootstrap",
|
|
9
|
+
"directory": "libs/mintplayer-vue-bootstrap"
|
|
10
|
+
},
|
|
11
|
+
"author": {
|
|
12
|
+
"name": "Pieterjan De Clippel",
|
|
13
|
+
"url": "https://github.com/MintPlayer",
|
|
14
|
+
"email": "info@mintplayer.com"
|
|
15
|
+
},
|
|
16
|
+
"type": "module",
|
|
17
|
+
"sideEffects": ["**/src/index.{ts,js,mjs}", "**/Bs*.vue"],
|
|
18
|
+
"main": "./index.mjs",
|
|
19
|
+
"types": "./src/index.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./src/index.d.ts",
|
|
23
|
+
"import": "./index.mjs"
|
|
24
|
+
},
|
|
25
|
+
"./package.json": "./package.json"
|
|
26
|
+
},
|
|
27
|
+
"peerDependencies": {
|
|
28
|
+
"vue": "^3.5.0",
|
|
29
|
+
"@mintplayer/web-components": "^1.0.0"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"tslib": "^2.3.0"
|
|
33
|
+
}
|
|
34
|
+
}
|
package/src/index.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @mintplayer/vue-bootstrap — Vue 3.5 SFC adapters around
|
|
3
|
+
* @mintplayer/web-components.
|
|
4
|
+
*
|
|
5
|
+
* Import the specific sub-entry you need:
|
|
6
|
+
*
|
|
7
|
+
* import { BsCard, BsCardBody } from '@mintplayer/vue-bootstrap/card';
|
|
8
|
+
* import { BsScheduler } from '@mintplayer/vue-bootstrap/scheduler';
|
|
9
|
+
* import { BsDatepicker } from '@mintplayer/vue-bootstrap/datepicker'; // v-model
|
|
10
|
+
*
|
|
11
|
+
* Consumer Vite config must mark the WC tags as custom elements so the
|
|
12
|
+
* compiler doesn't warn about unknown components:
|
|
13
|
+
*
|
|
14
|
+
* vue({ template: { compilerOptions: { isCustomElement: t =>
|
|
15
|
+
* t.startsWith('mp-') || t.startsWith('mint-') } } })
|
|
16
|
+
*/
|
|
17
|
+
export {};
|