@mintplayer/vue-bootstrap 3.24.0 → 3.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/index.mjs +54 -64
- package/calendar/index.mjs +27 -28
- package/card/index.mjs +104 -145
- package/carousel/index.mjs +74 -58
- package/charts/hierarchy/index.mjs +44 -43
- package/charts/sparkline/index.mjs +25 -24
- package/charts/trend/index.mjs +25 -24
- package/checkbox/index.mjs +27 -28
- package/code-snippet/index.mjs +34 -32
- package/datatable/index.mjs +84 -70
- package/datepicker/index.mjs +27 -28
- package/datetime-picker/index.mjs +27 -28
- package/dock/index.mjs +27 -28
- package/dropdown-menu/index.mjs +69 -69
- package/file-manager/index.mjs +18 -19
- package/index.mjs +0 -1
- package/input-group/index.mjs +11 -12
- package/multi-range/index.mjs +27 -26
- package/navbar/index.mjs +77 -80
- package/otp-input/index.mjs +27 -26
- package/package.json +2 -2
- package/pagination/index.mjs +27 -26
- package/phone-input/index.mjs +35 -34
- package/query-builder/index.mjs +45 -41
- package/radio/index.mjs +27 -28
- package/radio-group/index.mjs +27 -28
- package/ribbon/index.mjs +28 -47
- package/scheduler/index.mjs +45 -42
- package/select/index.mjs +33 -34
- package/shell/index.mjs +37 -33
- package/signature-pad/index.mjs +26 -25
- package/splitter/index.mjs +12 -14
- package/tab-control/index.mjs +28 -31
- package/theming/index.mjs +37 -55
- package/tile-manager/index.mjs +18 -21
- package/timeline/index.mjs +151 -146
- package/timepicker/index.mjs +49 -53
- package/toggle-button/index.mjs +27 -28
- package/tree-select/index.mjs +105 -97
- package/treeview/index.mjs +56 -55
- package/vue-bootstrap.css +2 -1
package/phone-input/index.mjs
CHANGED
|
@@ -1,36 +1,37 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementBlock as e, defineComponent as t, mergeModels as n, mergeProps as r, onMounted as i, openBlock as a, ref as o, useModel as s, watch as c } from "vue";
|
|
2
2
|
import "@mintplayer/web-components/phone-input";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region libs/mintplayer-vue-bootstrap/phone-input/src/BsPhoneInput.vue
|
|
5
|
+
var l = /* @__PURE__ */ t({
|
|
6
|
+
inheritAttrs: !1,
|
|
7
|
+
__name: "BsPhoneInput",
|
|
8
|
+
props: {
|
|
9
|
+
modelValue: {},
|
|
10
|
+
modelModifiers: {}
|
|
11
|
+
},
|
|
12
|
+
emits: /*@__PURE__*/ n(["phoneChange", "countryChange"], ["update:modelValue"]),
|
|
13
|
+
setup(t, { emit: n }) {
|
|
14
|
+
let l = s(t, "modelValue"), u = n, d = o(null);
|
|
15
|
+
function f() {
|
|
16
|
+
d.value && (d.value.value = l.value ?? null);
|
|
17
|
+
}
|
|
18
|
+
i(f), c(l, f);
|
|
19
|
+
function p(e) {
|
|
20
|
+
let t = e.detail;
|
|
21
|
+
t && (l.value = t.value, u("phoneChange", t));
|
|
22
|
+
}
|
|
23
|
+
function m(e) {
|
|
24
|
+
let t = e.detail;
|
|
25
|
+
t && u("countryChange", t.country);
|
|
26
|
+
}
|
|
27
|
+
return (t, n) => (a(), e("mp-phone-input", r({
|
|
28
|
+
ref_key: "el",
|
|
29
|
+
ref: d
|
|
30
|
+
}, t.$attrs, {
|
|
31
|
+
onValueChange: p,
|
|
32
|
+
onCountryChange: m
|
|
33
|
+
}), null, 16));
|
|
34
|
+
}
|
|
33
35
|
});
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
};
|
|
36
|
+
//#endregion
|
|
37
|
+
export { l as BsPhoneInput };
|
package/query-builder/index.mjs
CHANGED
|
@@ -1,43 +1,47 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementBlock as e, defineComponent as t, mergeModels as n, mergeProps as r, onMounted as i, openBlock as a, ref as o, useModel as s, watch as c } from "vue";
|
|
2
2
|
import "@mintplayer/web-components/query-builder";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region libs/mintplayer-vue-bootstrap/query-builder/src/BsQueryBuilder.vue
|
|
5
|
+
var l = /* @__PURE__ */ t({
|
|
6
|
+
inheritAttrs: !1,
|
|
7
|
+
__name: "BsQueryBuilder",
|
|
8
|
+
props: /*@__PURE__*/ n({
|
|
9
|
+
schema: {},
|
|
10
|
+
selectedFields: {},
|
|
11
|
+
sortBy: {},
|
|
12
|
+
savedQueries: {},
|
|
13
|
+
editorRegistry: {},
|
|
14
|
+
messages: {}
|
|
15
|
+
}, {
|
|
16
|
+
modelValue: {},
|
|
17
|
+
modelModifiers: {}
|
|
18
|
+
}),
|
|
19
|
+
emits: ["update:modelValue"],
|
|
20
|
+
setup(t) {
|
|
21
|
+
let n = s(t, "modelValue"), l = t, u = o(null), d = (e) => {
|
|
22
|
+
u.value && e !== void 0 && (u.value.query = e);
|
|
23
|
+
}, f = () => {
|
|
24
|
+
u.value && (l.schema && (u.value.schema = l.schema), l.selectedFields && (u.value.selectedFields = l.selectedFields), l.sortBy && (u.value.sortBy = l.sortBy), l.savedQueries && (u.value.savedQueries = l.savedQueries), l.editorRegistry && (u.value.editorRegistry = l.editorRegistry), l.messages && (u.value.messages = l.messages));
|
|
25
|
+
};
|
|
26
|
+
i(() => {
|
|
27
|
+
f(), d(n.value);
|
|
28
|
+
}), c(n, d, { deep: !0 }), c(() => [
|
|
29
|
+
l.schema,
|
|
30
|
+
l.selectedFields,
|
|
31
|
+
l.sortBy,
|
|
32
|
+
l.savedQueries,
|
|
33
|
+
l.editorRegistry,
|
|
34
|
+
l.messages
|
|
35
|
+
], f, { deep: !0 });
|
|
36
|
+
function p(e) {
|
|
37
|
+
let t = e.detail;
|
|
38
|
+
t && (n.value = t.tree);
|
|
39
|
+
}
|
|
40
|
+
return (t, n) => (a(), e("mp-query-builder", r({
|
|
41
|
+
ref_key: "el",
|
|
42
|
+
ref: u
|
|
43
|
+
}, t.$attrs, { onQueryChange: p }), null, 16));
|
|
44
|
+
}
|
|
40
45
|
});
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
};
|
|
46
|
+
//#endregion
|
|
47
|
+
export { l as BsQueryBuilder };
|
package/radio/index.mjs
CHANGED
|
@@ -1,30 +1,29 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementBlock as e, defineComponent as t, mergeProps as n, onMounted as r, openBlock as i, ref as a, renderSlot as o, useModel as s, watch as c } from "vue";
|
|
2
2
|
import "@mintplayer/web-components/radio";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region libs/mintplayer-vue-bootstrap/radio/src/BsRadio.vue
|
|
5
|
+
var l = /* @__PURE__ */ t({
|
|
6
|
+
inheritAttrs: !1,
|
|
7
|
+
__name: "BsRadio",
|
|
8
|
+
props: {
|
|
9
|
+
modelValue: { type: Boolean },
|
|
10
|
+
modelModifiers: {}
|
|
11
|
+
},
|
|
12
|
+
emits: ["update:modelValue"],
|
|
13
|
+
setup(t) {
|
|
14
|
+
let l = s(t, "modelValue"), u = a(null), d = (e) => {
|
|
15
|
+
u.value && (u.value.checked = !!e);
|
|
16
|
+
};
|
|
17
|
+
r(() => d(l.value)), c(l, d);
|
|
18
|
+
function f(e) {
|
|
19
|
+
let t = e.detail;
|
|
20
|
+
t && (l.value = !!t.checked);
|
|
21
|
+
}
|
|
22
|
+
return (t, r) => (i(), e("mp-radio", n({
|
|
23
|
+
ref_key: "el",
|
|
24
|
+
ref: u
|
|
25
|
+
}, t.$attrs, { onChange: f }), [o(t.$slots, "default")], 16));
|
|
26
|
+
}
|
|
27
27
|
});
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
28
|
+
//#endregion
|
|
29
|
+
export { l as BsRadio };
|
package/radio-group/index.mjs
CHANGED
|
@@ -1,30 +1,29 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementBlock as e, defineComponent as t, mergeProps as n, onMounted as r, openBlock as i, ref as a, renderSlot as o, useModel as s, watch as c } from "vue";
|
|
2
2
|
import "@mintplayer/web-components/radio-group";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region libs/mintplayer-vue-bootstrap/radio-group/src/BsRadioGroup.vue
|
|
5
|
+
var l = /* @__PURE__ */ t({
|
|
6
|
+
inheritAttrs: !1,
|
|
7
|
+
__name: "BsRadioGroup",
|
|
8
|
+
props: {
|
|
9
|
+
modelValue: {},
|
|
10
|
+
modelModifiers: {}
|
|
11
|
+
},
|
|
12
|
+
emits: ["update:modelValue"],
|
|
13
|
+
setup(t) {
|
|
14
|
+
let l = s(t, "modelValue"), u = a(null), d = (e) => {
|
|
15
|
+
u.value && (u.value.value = e ?? null);
|
|
16
|
+
};
|
|
17
|
+
r(() => d(l.value)), c(l, d);
|
|
18
|
+
function f(e) {
|
|
19
|
+
let t = e.detail;
|
|
20
|
+
t && (l.value = t.value);
|
|
21
|
+
}
|
|
22
|
+
return (t, r) => (i(), e("mp-radio-group", n({
|
|
23
|
+
ref_key: "el",
|
|
24
|
+
ref: u
|
|
25
|
+
}, t.$attrs, { onGroupChange: f }), [o(t.$slots, "default")], 16));
|
|
26
|
+
}
|
|
27
27
|
});
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
28
|
+
//#endregion
|
|
29
|
+
export { l as BsRadioGroup };
|
package/ribbon/index.mjs
CHANGED
|
@@ -1,48 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
import { createElementBlock as e, defineComponent as t, mergeProps as n, onMounted as r, openBlock as i, ref as a, renderSlot as o, useModel as s, watch as c } from "vue";
|
|
2
|
+
import { MpQuickAccessToolbar as l, MpRibbon as u, MpRibbonButton as d, MpRibbonCheckBox as f, MpRibbonColorPicker as p, MpRibbonComboBox as m, MpRibbonContextualTabSet as h, MpRibbonDropdownButton as g, MpRibbonGallery as _, MpRibbonGalleryItem as v, MpRibbonGroup as y, MpRibbonGroupButton as b, MpRibbonMenuItem as x, MpRibbonMenuSeparator as S, MpRibbonSplitButton as C, MpRibbonTab as w, MpRibbonTemplateItem as T, MpRibbonToggleButton as E } from "@mintplayer/web-components/ribbon";
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region libs/mintplayer-vue-bootstrap/ribbon/src/BsRibbon.vue
|
|
5
|
+
var D = /* @__PURE__ */ t({
|
|
6
|
+
inheritAttrs: !1,
|
|
7
|
+
__name: "BsRibbon",
|
|
8
|
+
props: {
|
|
9
|
+
modelValue: {},
|
|
10
|
+
modelModifiers: {}
|
|
11
|
+
},
|
|
12
|
+
emits: ["update:modelValue"],
|
|
13
|
+
setup(t) {
|
|
14
|
+
let l = s(t, "modelValue"), u = a(null), d = (e) => {
|
|
15
|
+
u.value && (u.value.activeTabId = e ?? "");
|
|
16
|
+
};
|
|
17
|
+
r(() => d(l.value)), c(l, d);
|
|
18
|
+
function f(e) {
|
|
19
|
+
let t = e.detail;
|
|
20
|
+
t && (l.value = t.activeTabId);
|
|
21
|
+
}
|
|
22
|
+
return (t, r) => (i(), e("mp-ribbon", n({
|
|
23
|
+
ref_key: "el",
|
|
24
|
+
ref: u
|
|
25
|
+
}, t.$attrs, { onTabChange: f }), [o(t.$slots, "default")], 16));
|
|
26
|
+
}
|
|
27
27
|
});
|
|
28
|
-
|
|
29
|
-
|
|
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
|
-
};
|
|
28
|
+
//#endregion
|
|
29
|
+
export { D as BsRibbon, l as MpQuickAccessToolbar, u as MpRibbon, d as MpRibbonButton, f as MpRibbonCheckBox, p as MpRibbonColorPicker, m as MpRibbonComboBox, h as MpRibbonContextualTabSet, g as MpRibbonDropdownButton, _ as MpRibbonGallery, v as MpRibbonGalleryItem, y as MpRibbonGroup, b as MpRibbonGroupButton, x as MpRibbonMenuItem, S as MpRibbonMenuSeparator, C as MpRibbonSplitButton, w as MpRibbonTab, T as MpRibbonTemplateItem, E as MpRibbonToggleButton };
|
package/scheduler/index.mjs
CHANGED
|
@@ -1,43 +1,46 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
1
|
+
import { createElementBlock as e, defineComponent as t, mergeModels as n, mergeProps as r, onMounted as i, openBlock as a, ref as o, useModel as s, watch as c } from "vue";
|
|
2
|
+
import { MpScheduler as l } from "@mintplayer/web-components/scheduler";
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region libs/mintplayer-vue-bootstrap/scheduler/src/BsScheduler.vue
|
|
5
|
+
var u = /* @__PURE__ */ t({
|
|
6
|
+
inheritAttrs: !1,
|
|
7
|
+
__name: "BsScheduler",
|
|
8
|
+
props: /*@__PURE__*/ n({
|
|
9
|
+
events: {},
|
|
10
|
+
resources: {},
|
|
11
|
+
options: {},
|
|
12
|
+
readonly: { type: Boolean },
|
|
13
|
+
eventEditor: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
default: void 0
|
|
16
|
+
}
|
|
17
|
+
}, {
|
|
18
|
+
view: {},
|
|
19
|
+
viewModifiers: {},
|
|
20
|
+
date: {},
|
|
21
|
+
dateModifiers: {}
|
|
22
|
+
}),
|
|
23
|
+
emits: ["update:view", "update:date"],
|
|
24
|
+
setup(t) {
|
|
25
|
+
let n = t, l = s(t, "view"), u = s(t, "date"), d = o(null), f = () => {
|
|
26
|
+
d.value && (n.events && (d.value.events = n.events), n.resources && (d.value.resources = n.resources), n.options && (d.value.options = n.options), d.value.readonly = n.readonly === !0, n.eventEditor !== void 0 && (d.value.eventEditor = n.eventEditor));
|
|
27
|
+
}, p = () => {
|
|
28
|
+
d.value && l.value && (d.value.view = l.value);
|
|
29
|
+
}, m = () => {
|
|
30
|
+
d.value && u.value && (d.value.date = u.value);
|
|
31
|
+
};
|
|
32
|
+
i(() => {
|
|
33
|
+
f(), p(), m();
|
|
34
|
+
}), c(() => n.events, f), c(() => n.resources, f), c(() => n.options, f), c(() => n.readonly, f), c(() => n.eventEditor, f), c(l, p), c(u, m);
|
|
35
|
+
function h(e) {
|
|
36
|
+
let t = e.detail;
|
|
37
|
+
t && (l.value = t.view, u.value = t.date);
|
|
38
|
+
}
|
|
39
|
+
return (t, n) => (a(), e("mp-scheduler", r({
|
|
40
|
+
ref_key: "el",
|
|
41
|
+
ref: d
|
|
42
|
+
}, t.$attrs, { onViewChange: h }), null, 16));
|
|
43
|
+
}
|
|
39
44
|
});
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
S as MpScheduler
|
|
43
|
-
};
|
|
45
|
+
//#endregion
|
|
46
|
+
export { u as BsScheduler, l as MpScheduler };
|
package/select/index.mjs
CHANGED
|
@@ -1,36 +1,35 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementBlock as e, defineComponent as t, mergeModels as n, mergeProps as r, onMounted as i, openBlock as a, ref as o, renderSlot as s, useModel as c, watch as l } from "vue";
|
|
2
2
|
import "@mintplayer/web-components/select";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region libs/mintplayer-vue-bootstrap/select/src/BsSelect.vue
|
|
5
|
+
var u = /* @__PURE__ */ t({
|
|
6
|
+
inheritAttrs: !1,
|
|
7
|
+
__name: "BsSelect",
|
|
8
|
+
props: /*@__PURE__*/ n({
|
|
9
|
+
options: {},
|
|
10
|
+
values: {}
|
|
11
|
+
}, {
|
|
12
|
+
modelValue: {},
|
|
13
|
+
modelModifiers: {}
|
|
14
|
+
}),
|
|
15
|
+
emits: ["update:modelValue"],
|
|
16
|
+
setup(t) {
|
|
17
|
+
let n = c(t, "modelValue"), u = t, d = o(null);
|
|
18
|
+
function f() {
|
|
19
|
+
d.value && (u.options !== void 0 && (d.value.options = u.options), u.values !== void 0 && (d.value.values = u.values), d.value.value = n.value ?? null);
|
|
20
|
+
}
|
|
21
|
+
i(f), l(() => u.options, f), l(() => u.values, f), l(n, (e) => {
|
|
22
|
+
d.value && (d.value.value = e ?? null);
|
|
23
|
+
});
|
|
24
|
+
function p(e) {
|
|
25
|
+
let t = e.detail;
|
|
26
|
+
t && (n.value = t.value);
|
|
27
|
+
}
|
|
28
|
+
return (t, n) => (a(), e("mp-select", r({
|
|
29
|
+
ref_key: "el",
|
|
30
|
+
ref: d
|
|
31
|
+
}, t.$attrs, { onValueChange: p }), [s(t.$slots, "default")], 16));
|
|
32
|
+
}
|
|
33
33
|
});
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
};
|
|
34
|
+
//#endregion
|
|
35
|
+
export { u as BsSelect };
|
package/shell/index.mjs
CHANGED
|
@@ -1,35 +1,39 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementBlock as e, defineComponent as t, mergeProps as n, onBeforeUnmount as r, onMounted as i, openBlock as a, ref as o, renderSlot as s } from "vue";
|
|
2
2
|
import "@mintplayer/web-components/shell";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
3
|
+
//#region libs/mintplayer-vue-bootstrap/shell/src/BsShell.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var c = [
|
|
5
|
+
"state",
|
|
6
|
+
"breakpoint",
|
|
7
|
+
"size",
|
|
8
|
+
"external-toggle",
|
|
9
|
+
"dismiss-on-navigate"
|
|
10
|
+
], l = /* @__PURE__ */ t({
|
|
11
|
+
inheritAttrs: !1,
|
|
12
|
+
__name: "BsShell",
|
|
13
|
+
props: {
|
|
14
|
+
state: { default: "auto" },
|
|
15
|
+
breakpoint: { default: "md" },
|
|
16
|
+
size: {},
|
|
17
|
+
externalToggle: { type: Boolean },
|
|
18
|
+
dismissOnNavigate: { type: Boolean }
|
|
19
|
+
},
|
|
20
|
+
emits: ["statechange"],
|
|
21
|
+
setup(t, { emit: l }) {
|
|
22
|
+
let u = l, d = o(null);
|
|
23
|
+
function f(e) {
|
|
24
|
+
u("statechange", e.detail);
|
|
25
|
+
}
|
|
26
|
+
return i(() => d.value?.addEventListener("statechange", f)), r(() => d.value?.removeEventListener("statechange", f)), (r, i) => (a(), e("mp-shell", n({
|
|
27
|
+
ref_key: "el",
|
|
28
|
+
ref: d
|
|
29
|
+
}, r.$attrs, {
|
|
30
|
+
state: t.state,
|
|
31
|
+
breakpoint: t.breakpoint,
|
|
32
|
+
size: t.size,
|
|
33
|
+
"external-toggle": t.externalToggle ? "" : void 0,
|
|
34
|
+
"dismiss-on-navigate": t.dismissOnNavigate ? "" : void 0
|
|
35
|
+
}), [s(r.$slots, "default")], 16, c));
|
|
36
|
+
}
|
|
32
37
|
});
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
38
|
+
//#endregion
|
|
39
|
+
export { l as BsShell };
|