@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.
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,45 +1,46 @@
1
- import { defineComponent as y, useModel as p, ref as f, onMounted as h, watch as e, openBlock as v, createElementBlock as F, mergeProps as C, mergeModels as I } 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/charts/hierarchy";
3
- const _ = /* @__PURE__ */ y({
4
- inheritAttrs: !1,
5
- __name: "BsHierarchyChart",
6
- props: /* @__PURE__ */ I({
7
- data: {},
8
- layout: {},
9
- loadChildren: { type: Function },
10
- tooltipFormatter: { type: Function },
11
- labelFormatter: { type: Function }
12
- }, {
13
- rootId: { default: void 0 },
14
- rootIdModifiers: {}
15
- }),
16
- emits: ["update:rootId"],
17
- setup(l) {
18
- const o = l, a = p(l, "rootId"), t = f(null), n = () => {
19
- t.value && (t.value.data = o.data);
20
- }, i = () => {
21
- t.value && o.layout && (t.value.layout = o.layout);
22
- }, u = () => {
23
- t.value && (t.value.rootId = a.value);
24
- }, c = () => {
25
- t.value && (t.value.loadChildren = o.loadChildren);
26
- }, d = () => {
27
- t.value && (t.value.tooltipFormatter = o.tooltipFormatter);
28
- }, s = () => {
29
- t.value && (t.value.labelFormatter = o.labelFormatter);
30
- };
31
- h(() => {
32
- n(), i(), u(), c(), d(), s();
33
- }), e(() => o.data, n), e(() => o.layout, i), e(a, u), e(() => o.loadChildren, c), e(() => o.tooltipFormatter, d), e(() => o.labelFormatter, s);
34
- function m(r) {
35
- a.value = r.target.rootId;
36
- }
37
- return (r, b) => (v(), F("mp-hierarchy-chart", C({
38
- ref_key: "el",
39
- ref: t
40
- }, r.$attrs, { onHierarchyZoom: m }), null, 16));
41
- }
3
+ //#endregion
4
+ //#region libs/mintplayer-vue-bootstrap/charts/hierarchy/src/BsHierarchyChart.vue
5
+ var l = /* @__PURE__ */ t({
6
+ inheritAttrs: !1,
7
+ __name: "BsHierarchyChart",
8
+ props: /*@__PURE__*/ n({
9
+ data: {},
10
+ layout: {},
11
+ loadChildren: { type: Function },
12
+ tooltipFormatter: { type: Function },
13
+ labelFormatter: { type: Function }
14
+ }, {
15
+ rootId: { default: void 0 },
16
+ rootIdModifiers: {}
17
+ }),
18
+ emits: ["update:rootId"],
19
+ setup(t) {
20
+ let n = t, l = s(t, "rootId"), u = o(null), d = () => {
21
+ u.value && (u.value.data = n.data);
22
+ }, f = () => {
23
+ u.value && n.layout && (u.value.layout = n.layout);
24
+ }, p = () => {
25
+ u.value && (u.value.rootId = l.value);
26
+ }, m = () => {
27
+ u.value && (u.value.loadChildren = n.loadChildren);
28
+ }, h = () => {
29
+ u.value && (u.value.tooltipFormatter = n.tooltipFormatter);
30
+ }, g = () => {
31
+ u.value && (u.value.labelFormatter = n.labelFormatter);
32
+ };
33
+ i(() => {
34
+ d(), f(), p(), m(), h(), g();
35
+ }), c(() => n.data, d), c(() => n.layout, f), c(l, p), c(() => n.loadChildren, m), c(() => n.tooltipFormatter, h), c(() => n.labelFormatter, g);
36
+ function _(e) {
37
+ l.value = e.target.rootId;
38
+ }
39
+ return (t, n) => (a(), e("mp-hierarchy-chart", r({
40
+ ref_key: "el",
41
+ ref: u
42
+ }, t.$attrs, { onHierarchyZoom: _ }), null, 16));
43
+ }
42
44
  });
43
- export {
44
- _ as BsHierarchyChart
45
- };
45
+ //#endregion
46
+ export { l as BsHierarchyChart };
@@ -1,26 +1,27 @@
1
- import { defineComponent as m, ref as p, onMounted as i, watch as o, openBlock as l, createElementBlock as u, mergeProps as c } from "vue";
1
+ import { createElementBlock as e, defineComponent as t, mergeProps as n, onMounted as r, openBlock as i, ref as a, watch as o } from "vue";
2
2
  import "@mintplayer/web-components/charts/sparkline";
3
- const F = /* @__PURE__ */ m({
4
- inheritAttrs: !1,
5
- __name: "BsSparkline",
6
- props: {
7
- points: {},
8
- summaryFormatter: { type: Function }
9
- },
10
- setup(s) {
11
- const t = s, e = p(null), r = () => {
12
- e.value && (e.value.points = t.points ?? []);
13
- }, n = () => {
14
- e.value && (e.value.summaryFormatter = t.summaryFormatter);
15
- };
16
- return i(() => {
17
- r(), n();
18
- }), o(() => t.points, r), o(() => t.summaryFormatter, n), (a, f) => (l(), u("mp-sparkline", c({
19
- ref_key: "el",
20
- ref: e
21
- }, a.$attrs), null, 16));
22
- }
3
+ //#endregion
4
+ //#region libs/mintplayer-vue-bootstrap/charts/sparkline/src/BsSparkline.vue
5
+ var s = /* @__PURE__ */ t({
6
+ inheritAttrs: !1,
7
+ __name: "BsSparkline",
8
+ props: {
9
+ points: {},
10
+ summaryFormatter: { type: Function }
11
+ },
12
+ setup(t) {
13
+ let s = t, c = a(null), l = () => {
14
+ c.value && (c.value.points = s.points ?? []);
15
+ }, u = () => {
16
+ c.value && (c.value.summaryFormatter = s.summaryFormatter);
17
+ };
18
+ return r(() => {
19
+ l(), u();
20
+ }), o(() => s.points, l), o(() => s.summaryFormatter, u), (t, r) => (i(), e("mp-sparkline", n({
21
+ ref_key: "el",
22
+ ref: c
23
+ }, t.$attrs), null, 16));
24
+ }
23
25
  });
24
- export {
25
- F as BsSparkline
26
- };
26
+ //#endregion
27
+ export { s as BsSparkline };
@@ -1,26 +1,27 @@
1
- import { defineComponent as m, ref as c, onMounted as u, watch as n, openBlock as i, createElementBlock as l, mergeProps as p } from "vue";
1
+ import { createElementBlock as e, defineComponent as t, mergeProps as n, onMounted as r, openBlock as i, ref as a, watch as o } from "vue";
2
2
  import "@mintplayer/web-components/charts/trend";
3
- const F = /* @__PURE__ */ m({
4
- inheritAttrs: !1,
5
- __name: "BsTrendChart",
6
- props: {
7
- series: {},
8
- summaryFormatter: { type: Function }
9
- },
10
- setup(a) {
11
- const r = a, e = c(null), t = () => {
12
- e.value && (e.value.series = r.series ?? []);
13
- }, s = () => {
14
- e.value && (e.value.summaryFormatter = r.summaryFormatter);
15
- };
16
- return u(() => {
17
- t(), s();
18
- }), n(() => r.series, t), n(() => r.summaryFormatter, s), (o, f) => (i(), l("mp-trend-chart", p({
19
- ref_key: "el",
20
- ref: e
21
- }, o.$attrs), null, 16));
22
- }
3
+ //#endregion
4
+ //#region libs/mintplayer-vue-bootstrap/charts/trend/src/BsTrendChart.vue
5
+ var s = /* @__PURE__ */ t({
6
+ inheritAttrs: !1,
7
+ __name: "BsTrendChart",
8
+ props: {
9
+ series: {},
10
+ summaryFormatter: { type: Function }
11
+ },
12
+ setup(t) {
13
+ let s = t, c = a(null), l = () => {
14
+ c.value && (c.value.series = s.series ?? []);
15
+ }, u = () => {
16
+ c.value && (c.value.summaryFormatter = s.summaryFormatter);
17
+ };
18
+ return r(() => {
19
+ l(), u();
20
+ }), o(() => s.series, l), o(() => s.summaryFormatter, u), (t, r) => (i(), e("mp-trend-chart", n({
21
+ ref_key: "el",
22
+ ref: c
23
+ }, t.$attrs), null, 16));
24
+ }
23
25
  });
24
- export {
25
- F as BsTrendChart
26
- };
26
+ //#endregion
27
+ export { s as BsTrendChart };
@@ -1,30 +1,29 @@
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";
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/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
- }
3
+ //#endregion
4
+ //#region libs/mintplayer-vue-bootstrap/checkbox/src/BsCheckbox.vue
5
+ var l = /* @__PURE__ */ t({
6
+ inheritAttrs: !1,
7
+ __name: "BsCheckbox",
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-checkbox", 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 BsCheckbox
30
- };
28
+ //#endregion
29
+ export { l as BsCheckbox };
@@ -1,34 +1,36 @@
1
- import { defineComponent as c, ref as f, onMounted as d, watch as m, openBlock as g, createElementBlock as v, mergeProps as B, 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, watch as s } from "vue";
2
2
  import "@mintplayer/web-components/code-snippet";
3
- const y = /* @__PURE__ */ c({
4
- inheritAttrs: !1,
5
- __name: "BsCodeSnippet",
6
- props: {
7
- annotations: {},
8
- lineHref: { type: [Function, null] }
9
- },
10
- emits: ["language-detected", "line-activate"],
11
- setup(a, { expose: s, emit: p }) {
12
- const n = a, l = p, t = f(null);
13
- function r() {
14
- const e = t.value;
15
- e && (e.annotations = n.annotations ?? [], e.lineHref = n.lineHref ?? null);
16
- }
17
- d(r), m(() => [n.annotations, n.lineHref], r, { deep: !0 });
18
- function u(e) {
19
- t.value?.scrollToLine(e);
20
- }
21
- return s({ scrollToLine: u, element: t }), (e, o) => (g(), v("mp-code-snippet", B({
22
- ref_key: "element",
23
- ref: t
24
- }, e.$attrs, {
25
- onLanguageDetected: o[0] || (o[0] = (i) => l("language-detected", i.detail.language)),
26
- onLineActivate: o[1] || (o[1] = (i) => l("line-activate", i))
27
- }), [
28
- H(e.$slots, "default")
29
- ], 16));
30
- }
3
+ //#endregion
4
+ //#region libs/mintplayer-vue-bootstrap/code-snippet/src/BsCodeSnippet.vue
5
+ var c = /* @__PURE__ */ t({
6
+ inheritAttrs: !1,
7
+ __name: "BsCodeSnippet",
8
+ props: {
9
+ annotations: {},
10
+ lineHref: { type: [Function, null] }
11
+ },
12
+ emits: ["language-detected", "line-activate"],
13
+ setup(t, { expose: c, emit: l }) {
14
+ let u = t, d = l, f = a(null);
15
+ function p() {
16
+ let e = f.value;
17
+ e && (e.annotations = u.annotations ?? [], e.lineHref = u.lineHref ?? null);
18
+ }
19
+ r(p), s(() => [u.annotations, u.lineHref], p, { deep: !0 });
20
+ function m(e) {
21
+ f.value?.scrollToLine(e);
22
+ }
23
+ return c({
24
+ scrollToLine: m,
25
+ element: f
26
+ }), (t, r) => (i(), e("mp-code-snippet", n({
27
+ ref_key: "element",
28
+ ref: f
29
+ }, t.$attrs, {
30
+ onLanguageDetected: r[0] ||= (e) => d("language-detected", e.detail.language),
31
+ onLineActivate: r[1] ||= (e) => d("line-activate", e)
32
+ }), [o(t.$slots, "default")], 16));
33
+ }
31
34
  });
32
- export {
33
- y as BsCodeSnippet
34
- };
35
+ //#endregion
36
+ export { c as BsCodeSnippet };
@@ -1,72 +1,86 @@
1
- import { defineComponent as w, ref as y, onMounted as m, onBeforeUnmount as b, watch as l, openBlock as g, createElementBlock as C, mergeProps as I } 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, watch as s } from "vue";
2
2
  import "@mintplayer/web-components/datatable";
3
- const k = /* @__PURE__ */ w({
4
- inheritAttrs: !1,
5
- __name: "BsDatatable",
6
- props: {
7
- columns: {},
8
- data: {},
9
- fetch: { type: [Function, null] },
10
- rowKey: { type: Function },
11
- rowRenderer: { type: Function },
12
- tree: { type: Boolean },
13
- idKey: {},
14
- childCountKey: {},
15
- treeIndent: {},
16
- expandedIds: {},
17
- selectionMode: {},
18
- selectionStrategy: {},
19
- selectedIds: {},
20
- selectedRows: {},
21
- rowLabel: { type: [Function, null] },
22
- distincts: { type: [Function, null] },
23
- labels: {}
24
- },
25
- emits: ["update:expandedIds", "update:selectedIds", "rowExpand", "rowCollapse", "sortChange", "selectionChange", "rowClick", "rowDblClick", "rowContextMenu", "pageChange", "perPageChange", "filterChange"],
26
- setup(p, { expose: u, emit: v }) {
27
- const e = p, n = v, a = y(null), d = () => {
28
- a.value && (a.value.columns = e.columns ?? [], e.fetch != null ? a.value.fetch = e.fetch : (a.value.fetch = null, a.value.data = e.data ?? []), e.rowKey !== void 0 && (a.value.rowKey = e.rowKey), e.rowRenderer !== void 0 && (a.value.rowRenderer = e.rowRenderer), e.tree !== void 0 && (a.value.tree = e.tree), e.idKey !== void 0 && (a.value.idKey = e.idKey), e.childCountKey !== void 0 && (a.value.childCountKey = e.childCountKey), e.treeIndent !== void 0 && (a.value.treeIndent = e.treeIndent), e.selectionMode !== void 0 && (a.value.selectionMode = e.selectionMode), e.selectionStrategy !== void 0 && (a.value.selectionStrategy = e.selectionStrategy), e.distincts !== void 0 && (a.value.distincts = e.distincts), e.labels !== void 0 && (a.value.labels = e.labels ?? void 0), e.rowLabel !== void 0 && (a.value.rowLabel = e.rowLabel));
29
- }, s = () => {
30
- !a.value || e.expandedIds === void 0 || (a.value.expandedIds = new Set(e.expandedIds));
31
- }, i = () => {
32
- !a.value || e.selectedIds === void 0 || (a.value.selectedIds = [...e.selectedIds]);
33
- }, r = () => {
34
- !a.value || e.selectedRows === void 0 || (a.value.selectedRows = [...e.selectedRows]);
35
- }, c = {
36
- "mp-datatable-row-expand": (t) => n("rowExpand", t.detail),
37
- "mp-datatable-row-collapse": (t) => n("rowCollapse", t.detail),
38
- "mp-datatable-expanded-ids-change": (t) => {
39
- const o = t.detail;
40
- n("update:expandedIds", new Set(o.expandedIds));
41
- },
42
- "mp-datatable-sort-change": (t) => n("sortChange", t.detail),
43
- "mp-datatable-selection-change": (t) => {
44
- const o = t.detail;
45
- n("selectionChange", o), n("update:selectedIds", [...o.selectedIds]);
46
- },
47
- "mp-datatable-row-click": (t) => n("rowClick", t.detail),
48
- "mp-datatable-row-dblclick": (t) => n("rowDblClick", t.detail),
49
- "mp-datatable-row-contextmenu": (t) => n("rowContextMenu", t.detail),
50
- "mp-datatable-page-change": (t) => n("pageChange", t.detail),
51
- "mp-datatable-per-page-change": (t) => n("perPageChange", t.detail),
52
- "mp-datatable-filter-change": (t) => n("filterChange", t.detail)
53
- }, f = () => {
54
- if (a.value)
55
- for (const [t, o] of Object.entries(c))
56
- a.value.addEventListener(t, o);
57
- }, h = () => {
58
- if (a.value)
59
- for (const [t, o] of Object.entries(c))
60
- a.value.removeEventListener(t, o);
61
- };
62
- return m(() => {
63
- d(), s(), i(), r(), f();
64
- }), b(h), l(() => e.columns, d, { deep: !1 }), l(() => e.data, d, { deep: !1 }), l(() => e.fetch, d), l(() => e.rowKey, d), l(() => e.tree, d), l(() => e.idKey, d), l(() => e.childCountKey, d), l(() => e.treeIndent, d), l(() => e.selectionMode, d), l(() => e.selectionStrategy, d), l(() => e.distincts, d), l(() => e.labels, d, { deep: !1 }), l(() => e.rowLabel, d), l(() => e.expandedIds, s, { deep: !1 }), l(() => e.selectedIds, i, { deep: !1 }), l(() => e.selectedRows, r, { deep: !1 }), u({ el: a, reload: (t) => a.value?.reload(t), applyFetchState: (t) => a.value?.applyFetchState(t) }), (t, o) => (g(), C("mp-datatable", I({
65
- ref_key: "el",
66
- ref: a
67
- }, t.$attrs), null, 16));
68
- }
3
+ //#endregion
4
+ //#region libs/mintplayer-vue-bootstrap/datatable/src/BsDatatable.vue
5
+ var c = /* @__PURE__ */ t({
6
+ inheritAttrs: !1,
7
+ __name: "BsDatatable",
8
+ props: {
9
+ columns: {},
10
+ data: {},
11
+ fetch: { type: [Function, null] },
12
+ rowKey: { type: Function },
13
+ rowRenderer: { type: Function },
14
+ tree: { type: Boolean },
15
+ idKey: {},
16
+ childCountKey: {},
17
+ treeIndent: {},
18
+ expandedIds: {},
19
+ selectionMode: {},
20
+ selectionStrategy: {},
21
+ selectedIds: {},
22
+ selectedRows: {},
23
+ rowLabel: { type: [Function, null] },
24
+ distincts: { type: [Function, null] },
25
+ labels: {}
26
+ },
27
+ emits: [
28
+ "update:expandedIds",
29
+ "update:selectedIds",
30
+ "rowExpand",
31
+ "rowCollapse",
32
+ "sortChange",
33
+ "selectionChange",
34
+ "rowClick",
35
+ "rowDblClick",
36
+ "rowContextMenu",
37
+ "pageChange",
38
+ "perPageChange",
39
+ "filterChange"
40
+ ],
41
+ setup(t, { expose: c, emit: l }) {
42
+ let u = t, d = l, f = o(null), p = () => {
43
+ f.value && (f.value.columns = u.columns ?? [], u.fetch == null ? (f.value.fetch = null, f.value.data = u.data ?? []) : f.value.fetch = u.fetch, u.rowKey !== void 0 && (f.value.rowKey = u.rowKey), u.rowRenderer !== void 0 && (f.value.rowRenderer = u.rowRenderer), u.tree !== void 0 && (f.value.tree = u.tree), u.idKey !== void 0 && (f.value.idKey = u.idKey), u.childCountKey !== void 0 && (f.value.childCountKey = u.childCountKey), u.treeIndent !== void 0 && (f.value.treeIndent = u.treeIndent), u.selectionMode !== void 0 && (f.value.selectionMode = u.selectionMode), u.selectionStrategy !== void 0 && (f.value.selectionStrategy = u.selectionStrategy), u.distincts !== void 0 && (f.value.distincts = u.distincts), u.labels !== void 0 && (f.value.labels = u.labels ?? void 0), u.rowLabel !== void 0 && (f.value.rowLabel = u.rowLabel));
44
+ }, m = () => {
45
+ f.value && u.expandedIds !== void 0 && (f.value.expandedIds = new Set(u.expandedIds));
46
+ }, h = () => {
47
+ f.value && u.selectedIds !== void 0 && (f.value.selectedIds = [...u.selectedIds]);
48
+ }, g = () => {
49
+ f.value && u.selectedRows !== void 0 && (f.value.selectedRows = [...u.selectedRows]);
50
+ }, _ = {
51
+ "mp-datatable-row-expand": (e) => d("rowExpand", e.detail),
52
+ "mp-datatable-row-collapse": (e) => d("rowCollapse", e.detail),
53
+ "mp-datatable-expanded-ids-change": (e) => {
54
+ let t = e.detail;
55
+ d("update:expandedIds", new Set(t.expandedIds));
56
+ },
57
+ "mp-datatable-sort-change": (e) => d("sortChange", e.detail),
58
+ "mp-datatable-selection-change": (e) => {
59
+ let t = e.detail;
60
+ d("selectionChange", t), d("update:selectedIds", [...t.selectedIds]);
61
+ },
62
+ "mp-datatable-row-click": (e) => d("rowClick", e.detail),
63
+ "mp-datatable-row-dblclick": (e) => d("rowDblClick", e.detail),
64
+ "mp-datatable-row-contextmenu": (e) => d("rowContextMenu", e.detail),
65
+ "mp-datatable-page-change": (e) => d("pageChange", e.detail),
66
+ "mp-datatable-per-page-change": (e) => d("perPageChange", e.detail),
67
+ "mp-datatable-filter-change": (e) => d("filterChange", e.detail)
68
+ }, v = () => {
69
+ if (f.value) for (let [e, t] of Object.entries(_)) f.value.addEventListener(e, t);
70
+ };
71
+ return i(() => {
72
+ p(), m(), h(), g(), v();
73
+ }), r(() => {
74
+ if (f.value) for (let [e, t] of Object.entries(_)) f.value.removeEventListener(e, t);
75
+ }), s(() => u.columns, p, { deep: !1 }), s(() => u.data, p, { deep: !1 }), s(() => u.fetch, p), s(() => u.rowKey, p), s(() => u.tree, p), s(() => u.idKey, p), s(() => u.childCountKey, p), s(() => u.treeIndent, p), s(() => u.selectionMode, p), s(() => u.selectionStrategy, p), s(() => u.distincts, p), s(() => u.labels, p, { deep: !1 }), s(() => u.rowLabel, p), s(() => u.expandedIds, m, { deep: !1 }), s(() => u.selectedIds, h, { deep: !1 }), s(() => u.selectedRows, g, { deep: !1 }), c({
76
+ el: f,
77
+ reload: (e) => f.value?.reload(e),
78
+ applyFetchState: (e) => f.value?.applyFetchState(e)
79
+ }), (t, r) => (a(), e("mp-datatable", n({
80
+ ref_key: "el",
81
+ ref: f
82
+ }, t.$attrs), null, 16));
83
+ }
69
84
  });
70
- export {
71
- k as BsDatatable
72
- };
85
+ //#endregion
86
+ export { c as BsDatatable };
@@ -1,30 +1,29 @@
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";
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/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
- }
3
+ //#endregion
4
+ //#region libs/mintplayer-vue-bootstrap/datepicker/src/BsDatepicker.vue
5
+ var l = /* @__PURE__ */ t({
6
+ inheritAttrs: !1,
7
+ __name: "BsDatepicker",
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.selectedDate = e ?? null);
16
+ };
17
+ r(() => d(l.value)), c(l, d);
18
+ function f(e) {
19
+ let t = e.detail;
20
+ l.value = t instanceof Date ? t : null;
21
+ }
22
+ return (t, r) => (i(), e("mp-datepicker", n({
23
+ ref_key: "el",
24
+ ref: u
25
+ }, t.$attrs, { onSelectedDateChange: f }), [o(t.$slots, "default")], 16));
26
+ }
27
27
  });
28
- export {
29
- h as BsDatepicker
30
- };
28
+ //#endregion
29
+ export { l as BsDatepicker };
@@ -1,30 +1,29 @@
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";
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/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
- }
3
+ //#endregion
4
+ //#region libs/mintplayer-vue-bootstrap/datetime-picker/src/BsDatetimePicker.vue
5
+ var l = /* @__PURE__ */ t({
6
+ inheritAttrs: !1,
7
+ __name: "BsDatetimePicker",
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
+ l.value = t instanceof Date ? t : null;
21
+ }
22
+ return (t, r) => (i(), e("mp-datetime-picker", n({
23
+ ref_key: "el",
24
+ ref: u
25
+ }, t.$attrs, { onValueChange: f }), [o(t.$slots, "default")], 16));
26
+ }
27
27
  });
28
- export {
29
- _ as BsDatetimePicker
30
- };
28
+ //#endregion
29
+ export { l as BsDatetimePicker };