@mintplayer/vue-bootstrap 3.23.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.
Files changed (41) hide show
  1. package/accordion/index.mjs +54 -64
  2. package/calendar/index.mjs +27 -28
  3. package/card/index.mjs +104 -145
  4. package/carousel/index.mjs +74 -58
  5. package/charts/hierarchy/index.mjs +44 -43
  6. package/charts/sparkline/index.mjs +25 -24
  7. package/charts/trend/index.mjs +25 -24
  8. package/checkbox/index.mjs +27 -28
  9. package/code-snippet/index.mjs +34 -32
  10. package/datatable/index.mjs +84 -70
  11. package/datepicker/index.mjs +27 -28
  12. package/datetime-picker/index.mjs +27 -28
  13. package/dock/index.mjs +27 -28
  14. package/dropdown-menu/index.mjs +69 -69
  15. package/file-manager/index.mjs +18 -19
  16. package/index.mjs +0 -1
  17. package/input-group/index.mjs +11 -12
  18. package/multi-range/index.mjs +27 -26
  19. package/navbar/index.mjs +77 -80
  20. package/otp-input/index.mjs +27 -26
  21. package/package.json +2 -2
  22. package/pagination/index.mjs +27 -26
  23. package/phone-input/index.mjs +35 -34
  24. package/query-builder/index.mjs +45 -41
  25. package/radio/index.mjs +27 -28
  26. package/radio-group/index.mjs +27 -28
  27. package/ribbon/index.mjs +28 -47
  28. package/scheduler/index.mjs +45 -42
  29. package/select/index.mjs +33 -34
  30. package/shell/index.mjs +37 -33
  31. package/signature-pad/index.mjs +26 -25
  32. package/splitter/index.mjs +12 -14
  33. package/tab-control/index.mjs +28 -31
  34. package/theming/index.mjs +37 -55
  35. package/tile-manager/index.mjs +18 -21
  36. package/timeline/index.mjs +151 -146
  37. package/timepicker/index.mjs +49 -53
  38. package/toggle-button/index.mjs +27 -28
  39. package/tree-select/index.mjs +105 -97
  40. package/treeview/index.mjs +56 -55
  41. package/vue-bootstrap.css +2 -1
@@ -1,36 +1,37 @@
1
- import { defineComponent as c, useModel as m, ref as p, onMounted as d, watch as f, openBlock as h, createElementBlock as g, mergeProps as C, mergeModels as v } from "vue";
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
- const _ = /* @__PURE__ */ c({
4
- inheritAttrs: !1,
5
- __name: "BsPhoneInput",
6
- props: {
7
- modelValue: {},
8
- modelModifiers: {}
9
- },
10
- emits: /* @__PURE__ */ v(["phoneChange", "countryChange"], ["update:modelValue"]),
11
- setup(a, { emit: r }) {
12
- const o = m(a, "modelValue"), l = r, t = p(null);
13
- function u() {
14
- t.value && (t.value.value = o.value ?? null);
15
- }
16
- d(u), f(o, u);
17
- function i(n) {
18
- const e = n.detail;
19
- e && (o.value = e.value, l("phoneChange", e));
20
- }
21
- function s(n) {
22
- const e = n.detail;
23
- e && l("countryChange", e.country);
24
- }
25
- return (n, e) => (h(), g("mp-phone-input", C({
26
- ref_key: "el",
27
- ref: t
28
- }, n.$attrs, {
29
- onValueChange: i,
30
- onCountryChange: s
31
- }), null, 16));
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
- export {
35
- _ as BsPhoneInput
36
- };
36
+ //#endregion
37
+ export { l as BsPhoneInput };
@@ -1,43 +1,47 @@
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";
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
- 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
- }
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
- export {
42
- Q as BsQueryBuilder
43
- };
46
+ //#endregion
47
+ export { l as BsQueryBuilder };
package/radio/index.mjs CHANGED
@@ -1,30 +1,29 @@
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";
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
- 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
- }
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
- export {
29
- _ as BsRadio
30
- };
28
+ //#endregion
29
+ export { l as BsRadio };
@@ -1,30 +1,29 @@
1
- import { defineComponent as u, useModel as s, ref as d, onMounted as i, watch as m, openBlock as p, createElementBlock as c, mergeProps as f, renderSlot as v } from "vue";
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
- const B = /* @__PURE__ */ u({
4
- inheritAttrs: !1,
5
- __name: "BsRadioGroup",
6
- props: {
7
- modelValue: {},
8
- modelModifiers: {}
9
- },
10
- emits: ["update:modelValue"],
11
- setup(r) {
12
- const o = s(r, "modelValue"), l = d(null), a = (e) => {
13
- l.value && (l.value.value = e ?? null);
14
- };
15
- i(() => a(o.value)), m(o, a);
16
- function n(e) {
17
- const t = e.detail;
18
- t && (o.value = t.value);
19
- }
20
- return (e, t) => (p(), c("mp-radio-group", f({
21
- ref_key: "el",
22
- ref: l
23
- }, e.$attrs, { onGroupChange: n }), [
24
- v(e.$slots, "default")
25
- ], 16));
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
- export {
29
- B as BsRadioGroup
30
- };
28
+ //#endregion
29
+ export { l as BsRadioGroup };
package/ribbon/index.mjs CHANGED
@@ -1,48 +1,29 @@
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
- }
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
- 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
- };
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 };
@@ -1,43 +1,46 @@
1
- import { MpScheduler as S } from "@mintplayer/web-components/scheduler";
2
- import { defineComponent as f, useModel as d, ref as p, onMounted as m, watch as o, openBlock as w, createElementBlock as y, mergeProps as h, mergeModels as B } from "vue";
3
- const M = /* @__PURE__ */ f({
4
- inheritAttrs: !1,
5
- __name: "BsScheduler",
6
- props: /* @__PURE__ */ B({
7
- events: {},
8
- resources: {},
9
- options: {},
10
- readonly: { type: Boolean },
11
- eventEditor: { type: Boolean, default: void 0 }
12
- }, {
13
- view: {},
14
- viewModifiers: {},
15
- date: {},
16
- dateModifiers: {}
17
- }),
18
- emits: ["update:view", "update:date"],
19
- setup(i) {
20
- const e = i, r = d(i, "view"), s = d(i, "date"), t = p(null), n = () => {
21
- t.value && (e.events && (t.value.events = e.events), e.resources && (t.value.resources = e.resources), e.options && (t.value.options = e.options), t.value.readonly = e.readonly === !0, e.eventEditor !== void 0 && (t.value.eventEditor = e.eventEditor));
22
- }, u = () => {
23
- t.value && r.value && (t.value.view = r.value);
24
- }, v = () => {
25
- t.value && s.value && (t.value.date = s.value);
26
- };
27
- m(() => {
28
- n(), u(), v();
29
- }), o(() => e.events, n), o(() => e.resources, n), o(() => e.options, n), o(() => e.readonly, n), o(() => e.eventEditor, n), o(r, u), o(s, v);
30
- function c(l) {
31
- const a = l.detail;
32
- a && (r.value = a.view, s.value = a.date);
33
- }
34
- return (l, a) => (w(), y("mp-scheduler", h({
35
- ref_key: "el",
36
- ref: t
37
- }, l.$attrs, { onViewChange: c }), null, 16));
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
- export {
41
- M as BsScheduler,
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 { 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";
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
- 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
- }
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
- export {
35
- g as BsSelect
36
- };
34
+ //#endregion
35
+ export { u as BsSelect };
package/shell/index.mjs CHANGED
@@ -1,35 +1,39 @@
1
- import { defineComponent as i, ref as l, onMounted as r, onBeforeUnmount as m, openBlock as g, createElementBlock as d, mergeProps as c, renderSlot as u } from "vue";
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
- const f = ["state", "breakpoint", "size", "external-toggle", "dismiss-on-navigate"], k = /* @__PURE__ */ i({
4
- inheritAttrs: !1,
5
- __name: "BsShell",
6
- props: {
7
- state: { default: "auto" },
8
- breakpoint: { default: "md" },
9
- size: {},
10
- externalToggle: { type: Boolean },
11
- dismissOnNavigate: { type: Boolean }
12
- },
13
- emits: ["statechange"],
14
- setup(e, { emit: s }) {
15
- const o = s, n = l(null);
16
- function a(t) {
17
- o("statechange", t.detail);
18
- }
19
- return r(() => n.value?.addEventListener("statechange", a)), m(() => n.value?.removeEventListener("statechange", a)), (t, h) => (g(), d("mp-shell", c({
20
- ref_key: "el",
21
- ref: n
22
- }, t.$attrs, {
23
- state: e.state,
24
- breakpoint: e.breakpoint,
25
- size: e.size,
26
- "external-toggle": e.externalToggle ? "" : void 0,
27
- "dismiss-on-navigate": e.dismissOnNavigate ? "" : void 0
28
- }), [
29
- u(t.$slots, "default")
30
- ], 16, f));
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
- export {
34
- k as BsShell
35
- };
38
+ //#endregion
39
+ export { l as BsShell };