@mintplayer/vue-bootstrap 3.0.0 → 3.1.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/checkbox/index.mjs +30 -0
- package/checkbox/src/BsCheckbox.vue.d.ts +29 -0
- package/checkbox/src/index.d.ts +1 -0
- package/datatable/index.mjs +22 -0
- package/datatable/src/BsDatatable.vue.d.ts +9 -0
- package/datatable/src/index.d.ts +1 -0
- package/datepicker/index.mjs +30 -0
- package/datepicker/src/BsDatepicker.vue.d.ts +28 -0
- package/datepicker/src/index.d.ts +1 -0
- package/datetime-picker/index.mjs +30 -0
- package/datetime-picker/src/BsDatetimePicker.vue.d.ts +28 -0
- package/datetime-picker/src/index.d.ts +1 -0
- package/dock/index.mjs +30 -0
- package/dock/src/BsDockManager.vue.d.ts +29 -0
- package/dock/src/index.d.ts +1 -0
- package/file-manager/index.mjs +21 -0
- package/file-manager/src/BsFileManager.vue.d.ts +8 -0
- package/file-manager/src/index.d.ts +1 -0
- package/multi-range/index.mjs +28 -0
- package/multi-range/src/BsMultiRange.vue.d.ts +11 -0
- package/multi-range/src/index.d.ts +1 -0
- package/otp-input/index.mjs +28 -0
- package/otp-input/src/BsOtpInput.vue.d.ts +11 -0
- package/otp-input/src/index.d.ts +1 -0
- package/package.json +1 -1
- package/pagination/index.mjs +28 -0
- package/pagination/src/BsPagination.vue.d.ts +11 -0
- package/pagination/src/index.d.ts +1 -0
- package/query-builder/index.mjs +43 -0
- package/query-builder/src/BsQueryBuilder.vue.d.ts +20 -0
- package/query-builder/src/index.d.ts +1 -0
- package/radio/index.mjs +30 -0
- package/radio/src/BsRadio.vue.d.ts +29 -0
- package/radio/src/index.d.ts +1 -0
- package/ribbon/index.mjs +48 -0
- package/ribbon/src/BsRibbon.vue.d.ts +29 -0
- package/ribbon/src/index.d.ts +2 -0
- package/scheduler/index.mjs +23 -0
- package/scheduler/src/BsScheduler.vue.d.ts +10 -0
- package/scheduler/src/index.d.ts +2 -0
- package/select/index.mjs +36 -0
- package/select/src/BsSelect.vue.d.ts +33 -0
- package/select/src/index.d.ts +1 -0
- package/splitter/index.mjs +15 -0
- package/splitter/src/BsSplitter.vue.d.ts +17 -0
- package/splitter/src/index.d.ts +2 -0
- package/tab-control/index.mjs +32 -0
- package/tab-control/src/BsTabControl.vue.d.ts +29 -0
- package/tab-control/src/index.d.ts +2 -0
- package/tile-manager/index.mjs +23 -0
- package/tile-manager/src/BsTileManager.vue.d.ts +25 -0
- package/tile-manager/src/index.d.ts +1 -0
- package/timepicker/index.mjs +55 -0
- package/timepicker/src/BsTimeList.vue.d.ts +28 -0
- package/timepicker/src/BsTimepicker.vue.d.ts +28 -0
- package/timepicker/src/index.d.ts +2 -0
- package/toggle-button/index.mjs +30 -0
- package/toggle-button/src/BsToggleButton.vue.d.ts +28 -0
- package/toggle-button/src/index.d.ts +1 -0
- package/treeview/index.mjs +53 -0
- package/treeview/src/BsTreeview.vue.d.ts +19 -0
- package/treeview/src/index.d.ts +1 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { defineComponent as r, useModel as s, ref as u, onMounted as d, watch as m, openBlock as i, createElementBlock as f, mergeProps as p, renderSlot as h } from "vue";
|
|
2
|
+
import "@mintplayer/web-components/checkbox";
|
|
3
|
+
const _ = /* @__PURE__ */ r({
|
|
4
|
+
inheritAttrs: !1,
|
|
5
|
+
__name: "BsCheckbox",
|
|
6
|
+
props: {
|
|
7
|
+
modelValue: { type: Boolean },
|
|
8
|
+
modelModifiers: {}
|
|
9
|
+
},
|
|
10
|
+
emits: ["update:modelValue"],
|
|
11
|
+
setup(a) {
|
|
12
|
+
const o = s(a, "modelValue"), l = u(null), n = (e) => {
|
|
13
|
+
l.value && (l.value.checked = !!e);
|
|
14
|
+
};
|
|
15
|
+
d(() => n(o.value)), m(o, n);
|
|
16
|
+
function c(e) {
|
|
17
|
+
const t = e.detail;
|
|
18
|
+
t && (o.value = !!t.checked);
|
|
19
|
+
}
|
|
20
|
+
return (e, t) => (i(), f("mp-checkbox", p({
|
|
21
|
+
ref_key: "el",
|
|
22
|
+
ref: l
|
|
23
|
+
}, e.$attrs, { onChange: c }), [
|
|
24
|
+
h(e.$slots, "default")
|
|
25
|
+
], 16));
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
export {
|
|
29
|
+
_ as BsCheckbox
|
|
30
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { MpCheckbox } from '@mintplayer/web-components/checkbox';
|
|
2
|
+
type __VLS_PublicProps = {
|
|
3
|
+
modelValue?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {
|
|
11
|
+
el: MpCheckbox | null;
|
|
12
|
+
};
|
|
13
|
+
rootEl: any;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
"update:modelValue": (value: boolean) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
21
|
+
el: MpCheckbox | null;
|
|
22
|
+
}, 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 @@
|
|
|
1
|
+
export { default as BsCheckbox } from './BsCheckbox.vue';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { defineComponent as s, ref as l, onMounted as c, watch as n, openBlock as u, createElementBlock as m, mergeProps as p } from "vue";
|
|
2
|
+
import "@mintplayer/web-components/datatable";
|
|
3
|
+
const _ = /* @__PURE__ */ s({
|
|
4
|
+
inheritAttrs: !1,
|
|
5
|
+
__name: "BsDatatable",
|
|
6
|
+
props: {
|
|
7
|
+
columns: {},
|
|
8
|
+
data: {}
|
|
9
|
+
},
|
|
10
|
+
setup(o) {
|
|
11
|
+
const e = o, t = l(null), a = () => {
|
|
12
|
+
t.value && (t.value.columns = e.columns ?? [], t.value.data = e.data ?? []);
|
|
13
|
+
};
|
|
14
|
+
return c(a), n(() => e.columns, a), n(() => e.data, a), (r, f) => (u(), m("mp-datatable", p({
|
|
15
|
+
ref_key: "el",
|
|
16
|
+
ref: t
|
|
17
|
+
}, r.$attrs), null, 16));
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
export {
|
|
21
|
+
_ as BsDatatable
|
|
22
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { MpDatatable, DatatableColumnDef } from '@mintplayer/web-components/datatable';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
columns?: DatatableColumnDef[];
|
|
4
|
+
data?: unknown[];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
7
|
+
el: MpDatatable | null;
|
|
8
|
+
}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BsDatatable } from './BsDatatable.vue';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { defineComponent as s, useModel as c, ref as u, onMounted as d, watch as i, openBlock as m, createElementBlock as p, mergeProps as f, renderSlot as k } from "vue";
|
|
2
|
+
import "@mintplayer/web-components/datepicker";
|
|
3
|
+
const h = /* @__PURE__ */ s({
|
|
4
|
+
inheritAttrs: !1,
|
|
5
|
+
__name: "BsDatepicker",
|
|
6
|
+
props: {
|
|
7
|
+
modelValue: {},
|
|
8
|
+
modelModifiers: {}
|
|
9
|
+
},
|
|
10
|
+
emits: ["update:modelValue"],
|
|
11
|
+
setup(n) {
|
|
12
|
+
const t = c(n, "modelValue"), l = u(null), a = (e) => {
|
|
13
|
+
l.value && (l.value.selectedDate = e ?? null);
|
|
14
|
+
};
|
|
15
|
+
d(() => a(t.value)), i(t, a);
|
|
16
|
+
function r(e) {
|
|
17
|
+
const o = e.detail;
|
|
18
|
+
t.value = o instanceof Date ? o : null;
|
|
19
|
+
}
|
|
20
|
+
return (e, o) => (m(), p("mp-datepicker", f({
|
|
21
|
+
ref_key: "el",
|
|
22
|
+
ref: l
|
|
23
|
+
}, e.$attrs, { onSelectedDateChange: r }), [
|
|
24
|
+
k(e.$slots, "default")
|
|
25
|
+
], 16));
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
export {
|
|
29
|
+
h as BsDatepicker
|
|
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 BsDatepicker } from './BsDatepicker.vue';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { defineComponent as s, useModel as u, ref as i, onMounted as m, watch as c, openBlock as d, createElementBlock as f, mergeProps as p, renderSlot as k } from "vue";
|
|
2
|
+
import "@mintplayer/web-components/datetime-picker";
|
|
3
|
+
const _ = /* @__PURE__ */ s({
|
|
4
|
+
inheritAttrs: !1,
|
|
5
|
+
__name: "BsDatetimePicker",
|
|
6
|
+
props: {
|
|
7
|
+
modelValue: {},
|
|
8
|
+
modelModifiers: {}
|
|
9
|
+
},
|
|
10
|
+
emits: ["update:modelValue"],
|
|
11
|
+
setup(n) {
|
|
12
|
+
const t = u(n, "modelValue"), l = i(null), a = (e) => {
|
|
13
|
+
l.value && (l.value.value = e ?? null);
|
|
14
|
+
};
|
|
15
|
+
m(() => a(t.value)), c(t, a);
|
|
16
|
+
function r(e) {
|
|
17
|
+
const o = e.detail;
|
|
18
|
+
t.value = o instanceof Date ? o : null;
|
|
19
|
+
}
|
|
20
|
+
return (e, o) => (d(), f("mp-datetime-picker", p({
|
|
21
|
+
ref_key: "el",
|
|
22
|
+
ref: l
|
|
23
|
+
}, e.$attrs, { onValueChange: r }), [
|
|
24
|
+
k(e.$slots, "default")
|
|
25
|
+
], 16));
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
export {
|
|
29
|
+
_ as BsDatetimePicker
|
|
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 BsDatetimePicker } from './BsDatetimePicker.vue';
|
package/dock/index.mjs
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
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";
|
|
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
|
+
}
|
|
27
|
+
});
|
|
28
|
+
export {
|
|
29
|
+
h as BsDockManager
|
|
30
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { DockLayoutSnapshot } from '@mintplayer/web-components/dock';
|
|
2
|
+
type __VLS_PublicProps = {
|
|
3
|
+
'layout'?: DockLayoutSnapshot | null;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {
|
|
11
|
+
el: unknown;
|
|
12
|
+
};
|
|
13
|
+
rootEl: any;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
"update:layout": (value: DockLayoutSnapshot | null) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
|
+
"onUpdate:layout"?: ((value: DockLayoutSnapshot | null) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
21
|
+
el: unknown;
|
|
22
|
+
}, 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 @@
|
|
|
1
|
+
export { default as BsDockManager } from './BsDockManager.vue';
|
|
@@ -0,0 +1,21 @@
|
|
|
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";
|
|
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
|
+
}
|
|
18
|
+
});
|
|
19
|
+
export {
|
|
20
|
+
_ as BsFileManager
|
|
21
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MpFileManager, FileSystemNode } from '@mintplayer/web-components/file-manager';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
nodes?: FileSystemNode[];
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
6
|
+
el: MpFileManager | null;
|
|
7
|
+
}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BsFileManager } from './BsFileManager.vue';
|
|
@@ -0,0 +1,28 @@
|
|
|
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";
|
|
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
|
+
}
|
|
25
|
+
});
|
|
26
|
+
export {
|
|
27
|
+
v as BsMultiRange
|
|
28
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type __VLS_PublicProps = {
|
|
2
|
+
modelValue?: number[];
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
"update:modelValue": (value: number[]) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: number[]) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
9
|
+
el: unknown;
|
|
10
|
+
}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BsMultiRange } from './BsMultiRange.vue';
|
|
@@ -0,0 +1,28 @@
|
|
|
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";
|
|
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
|
+
}
|
|
25
|
+
});
|
|
26
|
+
export {
|
|
27
|
+
V as BsOtpInput
|
|
28
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type __VLS_PublicProps = {
|
|
2
|
+
modelValue?: string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
"update:modelValue": (value: string) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
9
|
+
el: unknown;
|
|
10
|
+
}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BsOtpInput } from './BsOtpInput.vue';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintplayer/vue-bootstrap",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.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,28 @@
|
|
|
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";
|
|
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
|
+
}
|
|
25
|
+
});
|
|
26
|
+
export {
|
|
27
|
+
_ as BsPagination
|
|
28
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type __VLS_PublicProps = {
|
|
2
|
+
modelValue?: number | null;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
"update:modelValue": (value: number | null) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
9
|
+
el: unknown;
|
|
10
|
+
}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BsPagination } from './BsPagination.vue';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { defineComponent as c, useModel as n, ref as m, onMounted as f, watch as u, openBlock as y, createElementBlock as v, mergeProps as p, mergeModels as g } from "vue";
|
|
2
|
+
import "@mintplayer/web-components/query-builder";
|
|
3
|
+
const Q = /* @__PURE__ */ c({
|
|
4
|
+
inheritAttrs: !1,
|
|
5
|
+
__name: "BsQueryBuilder",
|
|
6
|
+
props: /* @__PURE__ */ g({
|
|
7
|
+
schema: {},
|
|
8
|
+
selectedFields: {},
|
|
9
|
+
sortBy: {},
|
|
10
|
+
savedQueries: {},
|
|
11
|
+
editorRegistry: {},
|
|
12
|
+
messages: {}
|
|
13
|
+
}, {
|
|
14
|
+
modelValue: {},
|
|
15
|
+
modelModifiers: {}
|
|
16
|
+
}),
|
|
17
|
+
emits: ["update:modelValue"],
|
|
18
|
+
setup(i) {
|
|
19
|
+
const t = n(i, "modelValue"), e = i, s = m(null), a = (r) => {
|
|
20
|
+
s.value && r !== void 0 && (s.value.query = r);
|
|
21
|
+
}, o = () => {
|
|
22
|
+
s.value && (e.schema && (s.value.schema = e.schema), e.selectedFields && (s.value.selectedFields = e.selectedFields), e.sortBy && (s.value.sortBy = e.sortBy), e.savedQueries && (s.value.savedQueries = e.savedQueries), e.editorRegistry && (s.value.editorRegistry = e.editorRegistry), e.messages && (s.value.messages = e.messages));
|
|
23
|
+
};
|
|
24
|
+
f(() => {
|
|
25
|
+
o(), a(t.value);
|
|
26
|
+
}), u(t, a, { deep: !0 }), u(
|
|
27
|
+
() => [e.schema, e.selectedFields, e.sortBy, e.savedQueries, e.editorRegistry, e.messages],
|
|
28
|
+
o,
|
|
29
|
+
{ deep: !0 }
|
|
30
|
+
);
|
|
31
|
+
function d(r) {
|
|
32
|
+
const l = r.detail;
|
|
33
|
+
l && (t.value = l.tree);
|
|
34
|
+
}
|
|
35
|
+
return (r, l) => (y(), v("mp-query-builder", p({
|
|
36
|
+
ref_key: "el",
|
|
37
|
+
ref: s
|
|
38
|
+
}, r.$attrs, { onQueryChange: d }), null, 16));
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
export {
|
|
42
|
+
Q as BsQueryBuilder
|
|
43
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EntitySchema, Expression, SavedQuery, SortDescriptor, EditorRegistry, QueryBuilderMessages } from '@mintplayer/web-components/query-builder';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
schema?: EntitySchema[];
|
|
4
|
+
selectedFields?: string[];
|
|
5
|
+
sortBy?: SortDescriptor[];
|
|
6
|
+
savedQueries?: SavedQuery[];
|
|
7
|
+
editorRegistry?: EditorRegistry;
|
|
8
|
+
messages?: Partial<QueryBuilderMessages>;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_PublicProps = {
|
|
11
|
+
modelValue?: Expression;
|
|
12
|
+
} & __VLS_Props;
|
|
13
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (value: Expression) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: ((value: Expression) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
18
|
+
el: unknown;
|
|
19
|
+
}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BsQueryBuilder } from './BsQueryBuilder.vue';
|
package/radio/index.mjs
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { defineComponent as s, useModel as d, ref as c, onMounted as i, watch as u, openBlock as m, createElementBlock as f, mergeProps as p, renderSlot as h } from "vue";
|
|
2
|
+
import "@mintplayer/web-components/radio";
|
|
3
|
+
const _ = /* @__PURE__ */ s({
|
|
4
|
+
inheritAttrs: !1,
|
|
5
|
+
__name: "BsRadio",
|
|
6
|
+
props: {
|
|
7
|
+
modelValue: { type: Boolean },
|
|
8
|
+
modelModifiers: {}
|
|
9
|
+
},
|
|
10
|
+
emits: ["update:modelValue"],
|
|
11
|
+
setup(n) {
|
|
12
|
+
const o = d(n, "modelValue"), l = c(null), a = (e) => {
|
|
13
|
+
l.value && (l.value.checked = !!e);
|
|
14
|
+
};
|
|
15
|
+
i(() => a(o.value)), u(o, a);
|
|
16
|
+
function r(e) {
|
|
17
|
+
const t = e.detail;
|
|
18
|
+
t && (o.value = !!t.checked);
|
|
19
|
+
}
|
|
20
|
+
return (e, t) => (m(), f("mp-radio", p({
|
|
21
|
+
ref_key: "el",
|
|
22
|
+
ref: l
|
|
23
|
+
}, e.$attrs, { onChange: r }), [
|
|
24
|
+
h(e.$slots, "default")
|
|
25
|
+
], 16));
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
export {
|
|
29
|
+
_ as BsRadio
|
|
30
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { MpRadio } from '@mintplayer/web-components/radio';
|
|
2
|
+
type __VLS_PublicProps = {
|
|
3
|
+
modelValue?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {
|
|
11
|
+
el: MpRadio | null;
|
|
12
|
+
};
|
|
13
|
+
rootEl: any;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
"update:modelValue": (value: boolean) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
21
|
+
el: MpRadio | null;
|
|
22
|
+
}, 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 @@
|
|
|
1
|
+
export { default as BsRadio } from './BsRadio.vue';
|
package/ribbon/index.mjs
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { MpQuickAccessToolbar as k, MpRibbon as v, MpRibbonButton as C, MpRibbonCheckBox as h, MpRibbonColorPicker as I, MpRibbonComboBox as _, MpRibbonContextualTabSet as g, MpRibbonDropdownButton as x, MpRibbonGallery as y, MpRibbonGalleryItem as G, MpRibbonGroup as S, MpRibbonGroupButton as V, MpRibbonMenuItem as w, MpRibbonMenuSeparator as A, MpRibbonSplitButton as E, MpRibbonTab as P, MpRibbonTemplateItem as $, MpRibbonToggleButton as D } from "@mintplayer/web-components/ribbon";
|
|
2
|
+
import { defineComponent as a, useModel as p, ref as r, onMounted as u, watch as s, openBlock as M, createElementBlock as c, mergeProps as m, renderSlot as R } from "vue";
|
|
3
|
+
const f = /* @__PURE__ */ a({
|
|
4
|
+
inheritAttrs: !1,
|
|
5
|
+
__name: "BsRibbon",
|
|
6
|
+
props: {
|
|
7
|
+
modelValue: {},
|
|
8
|
+
modelModifiers: {}
|
|
9
|
+
},
|
|
10
|
+
emits: ["update:modelValue"],
|
|
11
|
+
setup(i) {
|
|
12
|
+
const e = p(i, "modelValue"), n = r(null), b = (o) => {
|
|
13
|
+
n.value && (n.value.activeTabId = o ?? "");
|
|
14
|
+
};
|
|
15
|
+
u(() => b(e.value)), s(e, b);
|
|
16
|
+
function l(o) {
|
|
17
|
+
const t = o.detail;
|
|
18
|
+
t && (e.value = t.activeTabId);
|
|
19
|
+
}
|
|
20
|
+
return (o, t) => (M(), c("mp-ribbon", m({
|
|
21
|
+
ref_key: "el",
|
|
22
|
+
ref: n
|
|
23
|
+
}, o.$attrs, { onTabChange: l }), [
|
|
24
|
+
R(o.$slots, "default")
|
|
25
|
+
], 16));
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
export {
|
|
29
|
+
f as BsRibbon,
|
|
30
|
+
k as MpQuickAccessToolbar,
|
|
31
|
+
v as MpRibbon,
|
|
32
|
+
C as MpRibbonButton,
|
|
33
|
+
h as MpRibbonCheckBox,
|
|
34
|
+
I as MpRibbonColorPicker,
|
|
35
|
+
_ as MpRibbonComboBox,
|
|
36
|
+
g as MpRibbonContextualTabSet,
|
|
37
|
+
x as MpRibbonDropdownButton,
|
|
38
|
+
y as MpRibbonGallery,
|
|
39
|
+
G as MpRibbonGalleryItem,
|
|
40
|
+
S as MpRibbonGroup,
|
|
41
|
+
V as MpRibbonGroupButton,
|
|
42
|
+
w as MpRibbonMenuItem,
|
|
43
|
+
A as MpRibbonMenuSeparator,
|
|
44
|
+
E as MpRibbonSplitButton,
|
|
45
|
+
P as MpRibbonTab,
|
|
46
|
+
$ as MpRibbonTemplateItem,
|
|
47
|
+
D as MpRibbonToggleButton
|
|
48
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { MpRibbon } from '@mintplayer/web-components/ribbon';
|
|
2
|
+
type __VLS_PublicProps = {
|
|
3
|
+
modelValue?: string;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {
|
|
11
|
+
el: MpRibbon | null;
|
|
12
|
+
};
|
|
13
|
+
rootEl: any;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
"update:modelValue": (value: string) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
21
|
+
el: MpRibbon | null;
|
|
22
|
+
}, 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,2 @@
|
|
|
1
|
+
export { default as BsRibbon } from './BsRibbon.vue';
|
|
2
|
+
export { MpRibbon, MpQuickAccessToolbar, MpRibbonTab, MpRibbonContextualTabSet, MpRibbonGroup, MpRibbonButton, MpRibbonSplitButton, MpRibbonDropdownButton, MpRibbonMenuItem, MpRibbonMenuSeparator, MpRibbonToggleButton, MpRibbonCheckBox, MpRibbonComboBox, MpRibbonColorPicker, MpRibbonGroupButton, MpRibbonGallery, MpRibbonGalleryItem, MpRibbonTemplateItem, type RibbonTabChangeEvent, } from '@mintplayer/web-components/ribbon';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { MpScheduler as _ } from "@mintplayer/web-components/scheduler";
|
|
2
|
+
import { defineComponent as c, ref as u, onMounted as l, watch as t, openBlock as p, createElementBlock as a, mergeProps as f } from "vue";
|
|
3
|
+
const v = /* @__PURE__ */ c({
|
|
4
|
+
inheritAttrs: !1,
|
|
5
|
+
__name: "BsScheduler",
|
|
6
|
+
props: {
|
|
7
|
+
events: {},
|
|
8
|
+
resources: {}
|
|
9
|
+
},
|
|
10
|
+
setup(n) {
|
|
11
|
+
const e = n, r = u(null), s = () => {
|
|
12
|
+
r.value && (e.events && (r.value.events = e.events), e.resources && (r.value.resources = e.resources));
|
|
13
|
+
};
|
|
14
|
+
return l(s), t(() => e.events, s), t(() => e.resources, s), (o, m) => (p(), a("mp-scheduler", f({
|
|
15
|
+
ref_key: "el",
|
|
16
|
+
ref: r
|
|
17
|
+
}, o.$attrs), null, 16));
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
export {
|
|
21
|
+
v as BsScheduler,
|
|
22
|
+
_ as MpScheduler
|
|
23
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { MpScheduler } from '@mintplayer/web-components/scheduler';
|
|
2
|
+
import { SchedulerEvent, Resource } from '@mintplayer/web-components/scheduler-core';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
events?: SchedulerEvent[];
|
|
5
|
+
resources?: Resource[];
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
8
|
+
el: MpScheduler | null;
|
|
9
|
+
}, any>;
|
|
10
|
+
export default _default;
|
package/select/index.mjs
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { defineComponent as i, useModel as c, ref as v, onMounted as d, watch as a, openBlock as p, createElementBlock as f, mergeProps as m, renderSlot as V, mergeModels as h } from "vue";
|
|
2
|
+
import "@mintplayer/web-components/select";
|
|
3
|
+
const g = /* @__PURE__ */ i({
|
|
4
|
+
inheritAttrs: !1,
|
|
5
|
+
__name: "BsSelect",
|
|
6
|
+
props: /* @__PURE__ */ h({
|
|
7
|
+
options: {},
|
|
8
|
+
values: {}
|
|
9
|
+
}, {
|
|
10
|
+
modelValue: {},
|
|
11
|
+
modelModifiers: {}
|
|
12
|
+
}),
|
|
13
|
+
emits: ["update:modelValue"],
|
|
14
|
+
setup(s) {
|
|
15
|
+
const t = c(s, "modelValue"), l = s, e = v(null);
|
|
16
|
+
function n() {
|
|
17
|
+
e.value && (l.options !== void 0 && (e.value.options = l.options), l.values !== void 0 && (e.value.values = l.values), e.value.value = t.value ?? null);
|
|
18
|
+
}
|
|
19
|
+
d(n), a(() => l.options, n), a(() => l.values, n), a(t, (o) => {
|
|
20
|
+
e.value && (e.value.value = o ?? null);
|
|
21
|
+
});
|
|
22
|
+
function r(o) {
|
|
23
|
+
const u = o.detail;
|
|
24
|
+
u && (t.value = u.value);
|
|
25
|
+
}
|
|
26
|
+
return (o, u) => (p(), f("mp-select", m({
|
|
27
|
+
ref_key: "el",
|
|
28
|
+
ref: e
|
|
29
|
+
}, o.$attrs, { onValueChange: r }), [
|
|
30
|
+
V(o.$slots, "default")
|
|
31
|
+
], 16));
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
export {
|
|
35
|
+
g as BsSelect
|
|
36
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { MpSelect, MpSelectOption } from '@mintplayer/web-components/select';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
options?: MpSelectOption[] | null;
|
|
4
|
+
values?: string[];
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = {
|
|
7
|
+
modelValue?: string | null;
|
|
8
|
+
} & __VLS_Props;
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {
|
|
15
|
+
el: MpSelect | null;
|
|
16
|
+
};
|
|
17
|
+
rootEl: any;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
"update:modelValue": (value: string | null) => any;
|
|
22
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
23
|
+
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
24
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
25
|
+
el: MpSelect | null;
|
|
26
|
+
}, any>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BsSelect } from './BsSelect.vue';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MpSplitter as _ } from "@mintplayer/web-components/splitter";
|
|
2
|
+
import { defineComponent as t, openBlock as r, createElementBlock as o, normalizeProps as p, guardReactiveProps as s, renderSlot as n } from "vue";
|
|
3
|
+
const m = /* @__PURE__ */ t({
|
|
4
|
+
inheritAttrs: !1,
|
|
5
|
+
__name: "BsSplitter",
|
|
6
|
+
setup(l) {
|
|
7
|
+
return (e, a) => (r(), o("mp-splitter", p(s(e.$attrs)), [
|
|
8
|
+
n(e.$slots, "default")
|
|
9
|
+
], 16));
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
export {
|
|
13
|
+
m as BsSplitter,
|
|
14
|
+
_ as MpSplitter
|
|
15
|
+
};
|
|
@@ -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,32 @@
|
|
|
1
|
+
import { MpTabControl as B, MpTabPage as C } from "@mintplayer/web-components/tab-control";
|
|
2
|
+
import { defineComponent as s, useModel as u, ref as i, onMounted as c, watch as d, openBlock as m, createElementBlock as f, mergeProps as p, renderSlot as b } from "vue";
|
|
3
|
+
const T = /* @__PURE__ */ s({
|
|
4
|
+
inheritAttrs: !1,
|
|
5
|
+
__name: "BsTabControl",
|
|
6
|
+
props: {
|
|
7
|
+
modelValue: {},
|
|
8
|
+
modelModifiers: {}
|
|
9
|
+
},
|
|
10
|
+
emits: ["update:modelValue"],
|
|
11
|
+
setup(n) {
|
|
12
|
+
const t = u(n, "modelValue"), o = i(null), a = (e) => {
|
|
13
|
+
o.value && e !== void 0 && o.value.setAttribute("active-tab", e);
|
|
14
|
+
};
|
|
15
|
+
c(() => a(t.value)), d(t, a);
|
|
16
|
+
function r(e) {
|
|
17
|
+
const l = e.detail;
|
|
18
|
+
l && (t.value = l.tabId);
|
|
19
|
+
}
|
|
20
|
+
return (e, l) => (m(), f("mp-tab-control", p({
|
|
21
|
+
ref_key: "el",
|
|
22
|
+
ref: o
|
|
23
|
+
}, e.$attrs, { onTabActivate: r }), [
|
|
24
|
+
b(e.$slots, "default")
|
|
25
|
+
], 16));
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
export {
|
|
29
|
+
T as BsTabControl,
|
|
30
|
+
B as MpTabControl,
|
|
31
|
+
C as MpTabPage
|
|
32
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { MpTabControl } from '@mintplayer/web-components/tab-control';
|
|
2
|
+
type __VLS_PublicProps = {
|
|
3
|
+
modelValue?: string;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {
|
|
11
|
+
el: MpTabControl | null;
|
|
12
|
+
};
|
|
13
|
+
rootEl: any;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
"update:modelValue": (value: string) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
21
|
+
el: MpTabControl | null;
|
|
22
|
+
}, 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,23 @@
|
|
|
1
|
+
import { defineComponent as l, ref as o, onMounted as a, watch as i, openBlock as p, createElementBlock as c, mergeProps as m, renderSlot as f } from "vue";
|
|
2
|
+
import "@mintplayer/web-components/tile-manager";
|
|
3
|
+
const g = /* @__PURE__ */ l({
|
|
4
|
+
inheritAttrs: !1,
|
|
5
|
+
__name: "BsTileManager",
|
|
6
|
+
props: {
|
|
7
|
+
tiles: {}
|
|
8
|
+
},
|
|
9
|
+
setup(n) {
|
|
10
|
+
const t = n, e = o(null), r = () => {
|
|
11
|
+
e.value && (e.value.tiles = t.tiles ?? []);
|
|
12
|
+
};
|
|
13
|
+
return a(r), i(() => t.tiles, r), (s, u) => (p(), c("mp-tile-manager", m({
|
|
14
|
+
ref_key: "el",
|
|
15
|
+
ref: e
|
|
16
|
+
}, s.$attrs), [
|
|
17
|
+
f(s.$slots, "default")
|
|
18
|
+
], 16));
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
export {
|
|
22
|
+
g as BsTileManager
|
|
23
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { MintTile } from '@mintplayer/web-components/tile-manager';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
tiles?: MintTile[];
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {
|
|
11
|
+
el: unknown;
|
|
12
|
+
};
|
|
13
|
+
rootEl: any;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
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: unknown;
|
|
18
|
+
}, any>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BsTileManager } from './BsTileManager.vue';
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { defineComponent as i, useModel as u, ref as r, onMounted as m, watch as c, openBlock as d, createElementBlock as f, mergeProps as p, renderSlot as T } from "vue";
|
|
2
|
+
import "@mintplayer/web-components/timepicker";
|
|
3
|
+
const V = /* @__PURE__ */ i({
|
|
4
|
+
inheritAttrs: !1,
|
|
5
|
+
__name: "BsTimepicker",
|
|
6
|
+
props: {
|
|
7
|
+
modelValue: {},
|
|
8
|
+
modelModifiers: {}
|
|
9
|
+
},
|
|
10
|
+
emits: ["update:modelValue"],
|
|
11
|
+
setup(s) {
|
|
12
|
+
const l = u(s, "modelValue"), t = r(null), o = (e) => {
|
|
13
|
+
t.value && (t.value.selectedTime = e ?? null);
|
|
14
|
+
};
|
|
15
|
+
m(() => o(l.value)), c(l, o);
|
|
16
|
+
function a(e) {
|
|
17
|
+
const n = e.detail;
|
|
18
|
+
l.value = n instanceof Date ? n : null;
|
|
19
|
+
}
|
|
20
|
+
return (e, n) => (d(), f("mp-timepicker", p({
|
|
21
|
+
ref_key: "el",
|
|
22
|
+
ref: t
|
|
23
|
+
}, e.$attrs, { onSelectedTimeChange: a }), [
|
|
24
|
+
T(e.$slots, "default")
|
|
25
|
+
], 16));
|
|
26
|
+
}
|
|
27
|
+
}), h = /* @__PURE__ */ i({
|
|
28
|
+
inheritAttrs: !1,
|
|
29
|
+
__name: "BsTimeList",
|
|
30
|
+
props: {
|
|
31
|
+
modelValue: {},
|
|
32
|
+
modelModifiers: {}
|
|
33
|
+
},
|
|
34
|
+
emits: ["update:modelValue"],
|
|
35
|
+
setup(s) {
|
|
36
|
+
const l = u(s, "modelValue"), t = r(null), o = (e) => {
|
|
37
|
+
t.value && (t.value.selectedTime = e ?? null);
|
|
38
|
+
};
|
|
39
|
+
m(() => o(l.value)), c(l, o);
|
|
40
|
+
function a(e) {
|
|
41
|
+
const n = e.detail;
|
|
42
|
+
l.value = n instanceof Date ? n : null;
|
|
43
|
+
}
|
|
44
|
+
return (e, n) => (d(), f("mp-time-list", p({
|
|
45
|
+
ref_key: "el",
|
|
46
|
+
ref: t
|
|
47
|
+
}, e.$attrs, { onSelectedTimeChange: a }), [
|
|
48
|
+
T(e.$slots, "default")
|
|
49
|
+
], 16));
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
export {
|
|
53
|
+
h as BsTimeList,
|
|
54
|
+
V as BsTimepicker
|
|
55
|
+
};
|
|
@@ -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,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,30 @@
|
|
|
1
|
+
import { defineComponent as s, useModel as u, ref as c, onMounted as d, watch as m, openBlock as i, createElementBlock as p, mergeProps as f, renderSlot as g } from "vue";
|
|
2
|
+
import "@mintplayer/web-components/toggle-button";
|
|
3
|
+
const k = /* @__PURE__ */ s({
|
|
4
|
+
inheritAttrs: !1,
|
|
5
|
+
__name: "BsToggleButton",
|
|
6
|
+
props: {
|
|
7
|
+
modelValue: { type: Boolean },
|
|
8
|
+
modelModifiers: {}
|
|
9
|
+
},
|
|
10
|
+
emits: ["update:modelValue"],
|
|
11
|
+
setup(a) {
|
|
12
|
+
const o = u(a, "modelValue"), t = c(null), l = (e) => {
|
|
13
|
+
t.value && (t.value.checked = !!e);
|
|
14
|
+
};
|
|
15
|
+
d(() => l(o.value)), m(o, l);
|
|
16
|
+
function r(e) {
|
|
17
|
+
const n = e.detail;
|
|
18
|
+
o.value = n.checked;
|
|
19
|
+
}
|
|
20
|
+
return (e, n) => (i(), p("mp-toggle-button", f({
|
|
21
|
+
ref_key: "el",
|
|
22
|
+
ref: t
|
|
23
|
+
}, e.$attrs, { onChange: r }), [
|
|
24
|
+
g(e.$slots, "default")
|
|
25
|
+
], 16));
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
export {
|
|
29
|
+
k as BsToggleButton
|
|
30
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
type __VLS_PublicProps = {
|
|
2
|
+
modelValue?: boolean;
|
|
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: boolean) => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: ((value: boolean) => 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 BsToggleButton } from './BsToggleButton.vue';
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { defineComponent as v, useModel as f, ref as x, onMounted as M, watch as o, openBlock as y, createElementBlock as T, mergeProps as w, mergeModels as B } from "vue";
|
|
2
|
+
import "@mintplayer/web-components/treeview";
|
|
3
|
+
const k = /* @__PURE__ */ v({
|
|
4
|
+
inheritAttrs: !1,
|
|
5
|
+
__name: "BsTreeview",
|
|
6
|
+
props: /* @__PURE__ */ B({
|
|
7
|
+
items: {},
|
|
8
|
+
selectionMode: {}
|
|
9
|
+
}, {
|
|
10
|
+
expandedIds: { default: () => [] },
|
|
11
|
+
expandedIdsModifiers: {},
|
|
12
|
+
selectedIds: { default: () => [] },
|
|
13
|
+
selectedIdsModifiers: {}
|
|
14
|
+
}),
|
|
15
|
+
emits: ["update:expandedIds", "update:selectedIds"],
|
|
16
|
+
setup(l) {
|
|
17
|
+
const t = l, n = f(l, "expandedIds"), c = f(l, "selectedIds"), e = x(null), a = () => {
|
|
18
|
+
e.value && (e.value.items = t.items ?? []);
|
|
19
|
+
}, i = () => {
|
|
20
|
+
e.value && (e.value.expandedIds = n.value);
|
|
21
|
+
}, u = () => {
|
|
22
|
+
e.value && (e.value.selectedIds = c.value);
|
|
23
|
+
}, r = () => {
|
|
24
|
+
e.value && (e.value.selectionMode = t.selectionMode ?? "single");
|
|
25
|
+
};
|
|
26
|
+
M(() => {
|
|
27
|
+
a(), i(), u(), r();
|
|
28
|
+
}), o(() => t.items, a), o(n, i), o(c, u), o(() => t.selectionMode, r);
|
|
29
|
+
function p(s) {
|
|
30
|
+
const d = s.detail;
|
|
31
|
+
d && (n.value = [...d.expandedIds]);
|
|
32
|
+
}
|
|
33
|
+
function I(s) {
|
|
34
|
+
const d = s.detail;
|
|
35
|
+
d && (n.value = [...d.expandedIds]);
|
|
36
|
+
}
|
|
37
|
+
function m(s) {
|
|
38
|
+
const d = s.detail;
|
|
39
|
+
d && (c.value = [...d.selectedIds]);
|
|
40
|
+
}
|
|
41
|
+
return (s, d) => (y(), T("mp-treeview", w({
|
|
42
|
+
ref_key: "el",
|
|
43
|
+
ref: e
|
|
44
|
+
}, s.$attrs, {
|
|
45
|
+
onTreeNodeExpand: p,
|
|
46
|
+
onTreeNodeCollapse: I,
|
|
47
|
+
onTreeNodeSelect: m
|
|
48
|
+
}), null, 16));
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
export {
|
|
52
|
+
k as BsTreeview
|
|
53
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { TreeNode, TreeviewSelectionMode } from '@mintplayer/web-components/treeview';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
items?: TreeNode[];
|
|
4
|
+
selectionMode?: TreeviewSelectionMode;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = {
|
|
7
|
+
'expandedIds'?: string[];
|
|
8
|
+
'selectedIds'?: string[];
|
|
9
|
+
} & __VLS_Props;
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
"update:expandedIds": (value: string[]) => any;
|
|
12
|
+
"update:selectedIds": (value: string[]) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
+
"onUpdate:expandedIds"?: ((value: string[]) => any) | undefined;
|
|
15
|
+
"onUpdate:selectedIds"?: ((value: string[]) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
17
|
+
el: unknown;
|
|
18
|
+
}, any>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BsTreeview } from './BsTreeview.vue';
|