@adyen/bento-vue3 1.64.0 → 1.65.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/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-picker.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/menu.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/popover.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/chunks/{code-snippet.CcWkFdEq.js → code-snippet.Bj5SAyT-.js} +2 -2
- package/dist/chunks/{code-snippet.CcWkFdEq.js.map → code-snippet.Bj5SAyT-.js.map} +1 -1
- package/dist/chunks/{data-grid.D0De1biC.js → data-grid.DroQMKSc.js} +660 -654
- package/dist/chunks/{data-grid.D0De1biC.js.map → data-grid.DroQMKSc.js.map} +1 -1
- package/dist/chunks/{date-picker.BLYOus7e.js → date-picker.BuX2J2OW.js} +19 -19
- package/dist/chunks/date-picker.BuX2J2OW.js.map +1 -0
- package/dist/chunks/{date-range-picker._0XU4TRk.js → date-range-picker.C2x1_xoz.js} +3 -3
- package/dist/chunks/{date-range-picker._0XU4TRk.js.map → date-range-picker.C2x1_xoz.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.JTxCvtZL.js → dropdown-tag.Dm-1VD3B.js} +2 -2
- package/dist/chunks/{dropdown-tag.JTxCvtZL.js.map → dropdown-tag.Dm-1VD3B.js.map} +1 -1
- package/dist/chunks/{dropdown.Bz5hTRFH.js → dropdown.Bj6DK-2v.js} +323 -312
- package/dist/chunks/dropdown.Bj6DK-2v.js.map +1 -0
- package/dist/chunks/{filter-bar.ChPG7oJN.js → filter-bar.BvInaVGL.js} +7 -7
- package/dist/chunks/{filter-bar.ChPG7oJN.js.map → filter-bar.BvInaVGL.js.map} +1 -1
- package/dist/chunks/{header-with-views.DkoDjkyK.js → header-with-views.De0oVJXS.js} +2 -2
- package/dist/chunks/{header-with-views.DkoDjkyK.js.map → header-with-views.De0oVJXS.js.map} +1 -1
- package/dist/chunks/{input-field-password.nYZBZ1bM.js → input-field-password.CJOf1GlS.js} +3 -3
- package/dist/chunks/{input-field-password.nYZBZ1bM.js.map → input-field-password.CJOf1GlS.js.map} +1 -1
- package/dist/chunks/{input-field-phone-number.Ck_1WdgH.js → input-field-phone-number.DVliTkE3.js} +3 -3
- package/dist/chunks/{input-field-phone-number.Ck_1WdgH.js.map → input-field-phone-number.DVliTkE3.js.map} +1 -1
- package/dist/chunks/{input-field.BdDrm776.js → input-field.xUQT0LXI.js} +2 -2
- package/dist/chunks/{input-field.BdDrm776.js.map → input-field.xUQT0LXI.js.map} +1 -1
- package/dist/chunks/{pagination.DbuaT-4D.js → pagination.D6A7TX6J.js} +2 -2
- package/dist/chunks/{pagination.DbuaT-4D.js.map → pagination.D6A7TX6J.js.map} +1 -1
- package/dist/chunks/{search-bar.DzVNjmpW.js → search-bar.Cngs3uYZ.js} +3 -3
- package/dist/chunks/{search-bar.DzVNjmpW.js.map → search-bar.Cngs3uYZ.js.map} +1 -1
- package/dist/chunks/{secondary-nav.tId-4Wy2.js → secondary-nav.ByCa4wiA.js} +2 -2
- package/dist/chunks/{secondary-nav.tId-4Wy2.js.map → secondary-nav.ByCa4wiA.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.CatIU1_1.js → use-cached-selected-values.CEwKqYIe.js} +616 -607
- package/dist/chunks/{use-cached-selected-values.CatIU1_1.js.map → use-cached-selected-values.CEwKqYIe.js.map} +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +1 -1
- package/dist/date-range-picker.js +1 -1
- package/dist/dropdown.js +3 -3
- package/dist/filter-bar.js +1 -1
- package/dist/header-with-views.js +1 -1
- package/dist/index.js +15 -15
- package/dist/input-field-password.js +1 -1
- package/dist/input-field-phone-number.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/internal.js +1 -1
- package/dist/pagination.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +5 -5
- package/dist/chunks/date-picker.BLYOus7e.js.map +0 -1
- package/dist/chunks/dropdown.Bz5hTRFH.js.map +0 -1
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { ref as R, onMounted as qe, nextTick as Ce, watch as ye, onUnmounted as
|
|
2
|
-
import { C as
|
|
3
|
-
import { W as
|
|
1
|
+
import { ref as R, onMounted as qe, nextTick as Ce, watch as ye, onUnmounted as Qt, reactive as ct, toRefs as ft, computed as p, watchEffect as Qn, onBeforeUpdate as el, createElementBlock as E, openBlock as f, mergeProps as ee, createCommentVNode as z, createElementVNode as O, toDisplayString as q, defineComponent as Ne, normalizeClass as fe, Fragment as ve, renderList as be, unref as o, toHandlers as nt, createVNode as Y, createBlock as B, withCtx as H, renderSlot as Te, withModifiers as tl, normalizeStyle as De, resolveComponent as Le, withDirectives as gt, createTextVNode as ce, vShow as nl, toRef as it, resolveDirective as ll, Transition as en, createSlots as He, resolveDynamicComponent as Ze, useSlots as vt, provide as tn, inject as at, withKeys as Nt, normalizeProps as ol, guardReactiveProps as sl } from "vue";
|
|
2
|
+
import { C as il } from "./checkmark-circle-fill._6-d40ru.js";
|
|
3
|
+
import { W as al } from "./warning-filled.AiUbXzzg.js";
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { _ as se } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
6
|
-
import { C as
|
|
7
|
-
import { N as
|
|
8
|
-
import { l as
|
|
9
|
-
import { E as Re, B as
|
|
10
|
-
import { c as
|
|
11
|
-
import { B as
|
|
12
|
-
import { B as Ke, p as
|
|
6
|
+
import { C as nn } from "./cross.B92GxFTY.js";
|
|
7
|
+
import { N as It } from "./minus-small.DYIyF5XW.js";
|
|
8
|
+
import { l as $t, B as rl } from "./events.FNmSWp_P.js";
|
|
9
|
+
import { E as Re, B as dl, T as ul } from "./tooltip.VYPUHERk.js";
|
|
10
|
+
import { c as cl } from "./popper-container.types.BCZMbVFD.js";
|
|
11
|
+
import { B as fl } from "./dashed-underline.ywc0ydgS.js";
|
|
12
|
+
import { B as Ke, p as ln } from "./typography.DN5eC5ch.js";
|
|
13
13
|
import { u as Fe } from "./i18n.B6g5VX0q.js";
|
|
14
|
-
import { B as
|
|
15
|
-
import { B as
|
|
14
|
+
import { B as gl } from "./action-bar.BAfqAQjP.js";
|
|
15
|
+
import { B as vl } from "./pagination.D6A7TX6J.js";
|
|
16
16
|
import { B as mt } from "./loading-indicator.DEepb9Wl.js";
|
|
17
17
|
import { u as ht } from "./use-has-slot.B7eQSabc.js";
|
|
18
|
-
import { u as
|
|
19
|
-
import { g as
|
|
20
|
-
import { B as st } from "./filter-bar.
|
|
21
|
-
import { B as
|
|
22
|
-
import { E as
|
|
18
|
+
import { u as ml } from "./aria-label.CaUURpnB.js";
|
|
19
|
+
import { g as hl } from "./get-slot-text.DQlZEsId.js";
|
|
20
|
+
import { B as st } from "./filter-bar.BvInaVGL.js";
|
|
21
|
+
import { B as Cl } from "./empty-state.D7llINgF.js";
|
|
22
|
+
import { E as wl } from "./tabs.keys.Bc2pSKRw.js";
|
|
23
23
|
import { D as _l } from "./data-grid-template.keys.2_AkxuNT.js";
|
|
24
24
|
import { o as Ct } from "./resize.Bqks3WUm.js";
|
|
25
|
-
import { a as
|
|
26
|
-
import { B as
|
|
27
|
-
import { B as
|
|
28
|
-
import { B as
|
|
29
|
-
import { u as
|
|
25
|
+
import { a as Dt, B as bl } from "./popover.maCMPyz8.js";
|
|
26
|
+
import { B as on } from "./button.AB0SOQMn.js";
|
|
27
|
+
import { B as sn } from "./toggle.BuKXexA6.js";
|
|
28
|
+
import { B as yl } from "./search-bar.Cngs3uYZ.js";
|
|
29
|
+
import { u as pl } from "./dropdown.Bj6DK-2v.js";
|
|
30
30
|
import { B as Sl } from "./directive.Cbdox5VL.js";
|
|
31
31
|
import { g as rt } from "./generate-uid.NJ8tVoha.js";
|
|
32
|
-
import { S as
|
|
33
|
-
import { B as
|
|
34
|
-
import { B as
|
|
35
|
-
import { B as
|
|
36
|
-
import { B as dt, O as
|
|
37
|
-
import { A as
|
|
38
|
-
import { H as
|
|
39
|
-
import { b as
|
|
40
|
-
import { u as
|
|
41
|
-
import { E as
|
|
42
|
-
import { C as
|
|
43
|
-
import { C as
|
|
44
|
-
import { C as
|
|
45
|
-
import { d as
|
|
32
|
+
import { S as El } from "./search.PczW-onY.js";
|
|
33
|
+
import { B as wt } from "./toggle-button.NQwrfSr1.js";
|
|
34
|
+
import { B as an } from "./checkbox.C1y3Ad4Z.js";
|
|
35
|
+
import { B as Ll } from "./info-icon.CpGwbhZQ.js";
|
|
36
|
+
import { B as dt, O as Rl, D as Al } from "./menu.CiyYOoKd.js";
|
|
37
|
+
import { A as Ol } from "./dialog-page.C80HOigq.js";
|
|
38
|
+
import { H as Tl, S as Nl } from "./show.CT4Augxb.js";
|
|
39
|
+
import { b as rn } from "./focus-trap.CljZgv9i.js";
|
|
40
|
+
import { u as Il } from "./use-expandable-content-height.GkjjbmPy.js";
|
|
41
|
+
import { E as $l } from "./link.BBpxiclu.js";
|
|
42
|
+
import { C as Dl } from "./copy.DqckFHHS.js";
|
|
43
|
+
import { C as kl } from "./chevron-down.DCQ6ZLaq.js";
|
|
44
|
+
import { C as Ml } from "./chevron-up.kfuLRpZb.js";
|
|
45
|
+
import { d as kt, e as Mt } from "./button-actions.D1pXI1AJ.js";
|
|
46
46
|
import "../assets/data-grid.css";
|
|
47
|
-
const
|
|
47
|
+
const Ft = (e) => {
|
|
48
48
|
if (!e)
|
|
49
49
|
return 0;
|
|
50
50
|
const i = window.getComputedStyle(e);
|
|
@@ -56,58 +56,58 @@ const Mt = (e) => {
|
|
|
56
56
|
}
|
|
57
57
|
const c = parseFloat(i.top);
|
|
58
58
|
return !isNaN(c) && c < 0 && (a += c), a;
|
|
59
|
-
},
|
|
59
|
+
}, Ut = (e, i, a = R(!1), n = null) => {
|
|
60
60
|
const c = R(0);
|
|
61
61
|
let t = null, l = null;
|
|
62
|
-
const
|
|
63
|
-
const C = i.value ?
|
|
64
|
-
c.value = C +
|
|
62
|
+
const _ = () => {
|
|
63
|
+
const C = i.value ? Ft(e.value) : 0, w = a.value && n ? Ft(n.value) : 0;
|
|
64
|
+
c.value = C + w;
|
|
65
65
|
};
|
|
66
66
|
return qe(() => {
|
|
67
67
|
Ce(() => {
|
|
68
68
|
const C = ye(
|
|
69
69
|
e,
|
|
70
70
|
() => {
|
|
71
|
-
e != null && e.value && (Ce(() => C()), t = Ct(e.value,
|
|
71
|
+
e != null && e.value && (Ce(() => C()), t = Ct(e.value, _), l = new MutationObserver(_), l.observe(e.value, { attributes: !0, attributeFilter: ["class"] }));
|
|
72
72
|
},
|
|
73
73
|
{ immediate: !0 }
|
|
74
74
|
);
|
|
75
75
|
ye(
|
|
76
76
|
[i, a],
|
|
77
77
|
() => {
|
|
78
|
-
|
|
78
|
+
_();
|
|
79
79
|
},
|
|
80
80
|
{ immediate: !0 }
|
|
81
81
|
);
|
|
82
82
|
});
|
|
83
|
-
}),
|
|
83
|
+
}), Qt(() => {
|
|
84
84
|
t == null || t.disconnect(), l == null || l.disconnect();
|
|
85
85
|
}), c;
|
|
86
86
|
};
|
|
87
87
|
var ut = /* @__PURE__ */ ((e) => (e.WRAP = "wrap", e.ELLIPSIS = "ellipsis", e))(ut || {}), ke = /* @__PURE__ */ ((e) => (e.OUTLINE = "outline", e.SCROLL = "scroll", e.STICKY_FILTERS = "sticky-filters", e.OVERFLOW_SHADOW_LEFT = "overflow-shadow-left", e.OVERFLOW_SHADOW_RIGHT = "overflow-shadow-right", e.NO_SPACING_TOP = "no-spacing-top", e))(ke || {}), Me = /* @__PURE__ */ ((e) => (e.ASCENDING = "asc", e.DESCENDING = "desc", e))(Me || {}), M = /* @__PURE__ */ ((e) => (e.COLUMNS = "columns", e.COLUMN_RESIZE = "column-resize", e.ITEMS_PAGE = "items-page", e.NAVIGATE = "navigate", e.NESTED_CONTENT_TOGGLED = "nested-content-toggled", e.FILTER_SEARCH_INPUT = "filter-search-input", e.FILTER_SEARCH_CLEAR = "filter-search-clear", e.UPDATE_COLUMNS = "update:columns", e.UPDATE_CONDENSED = "update:condensed", e.UPDATE_FILTERS = "update:filters", e.UPDATE_FILTER_VALUES = "update:filter-values", e.UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term", e.UPDATE_PAGINATION = "update:pagination", e.UPDATE_SELECTION = "update:selection", e.UPDATE_SHOW_MORE = "update:show-more", e.UPDATE_SORT_BY = "update:sort-by", e.ROW_CLICK = "row-click", e.SELECT = "select", e.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", e.SORT = "sort", e))(M || {}), tt = /* @__PURE__ */ ((e) => (e.ASCENDING = "ascending", e.DESCENDING = "descending", e.NONE = "none", e))(tt || {}), le = /* @__PURE__ */ ((e) => (e.COLUMN_RESIZE = "column-resize", e.COLUMN_RESIZING = "column-resizing", e.SELECT_ALL_ROWS = "select-all-rows", e.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", e.COLUMN_MOVE = "column-move", e.COLUMN_UPDATE = "column-update", e.COLUMN_MENU_OPEN = "column-menu-open", e.COLUMN_MENU_CLOSE = "column-menu-close", e.COLUMN_HOVER = "column-hover", e.COLUMN_DRAG_START = "column-dragstart", e.COLUMN_DRAG_ENTER = "column-dragenter", e.COLUMN_DRAG_END = "column-dragend", e.COLUMN_DROP = "column-drop", e))(le || {});
|
|
88
|
-
const
|
|
89
|
-
const a = R(null), n = R(!1), c = R(void 0), t = e.value.reduce((A, d) => (A[d.field] = null, A), {}), l = ct(t),
|
|
90
|
-
let C = 0,
|
|
91
|
-
const L =
|
|
88
|
+
const Fl = (e, i) => {
|
|
89
|
+
const a = R(null), n = R(!1), c = R(void 0), t = e.value.reduce((A, d) => (A[d.field] = null, A), {}), l = ct(t), _ = ft(l);
|
|
90
|
+
let C = 0, w = "";
|
|
91
|
+
const L = p(
|
|
92
92
|
() => Object.fromEntries(e.value.map(({ field: A, width: d, minWidth: g }) => [A, { width: d, minWidth: g }]))
|
|
93
93
|
);
|
|
94
|
-
|
|
94
|
+
Qn(() => c.value = L.value);
|
|
95
95
|
let v = null, D = null;
|
|
96
96
|
const y = (A) => {
|
|
97
|
-
const d = A.clientX - C, g =
|
|
97
|
+
const d = A.clientX - C, g = w, r = c.value[g].width + d;
|
|
98
98
|
c.value[g].width = r > L.value[g].minWidth ? r : L.value[g].minWidth, i(le.COLUMN_RESIZING, c.value), C = A.clientX;
|
|
99
99
|
}, u = () => {
|
|
100
|
-
n.value = !1, v == null || v(), D == null || D(),
|
|
101
|
-
field:
|
|
102
|
-
width: c.value[
|
|
103
|
-
}), v = null, D = null,
|
|
100
|
+
n.value = !1, v == null || v(), D == null || D(), w && i(le.COLUMN_RESIZE, {
|
|
101
|
+
field: w,
|
|
102
|
+
width: c.value[w].width
|
|
103
|
+
}), v = null, D = null, w = "", C = null;
|
|
104
104
|
}, b = (A, d, g) => {
|
|
105
105
|
if (g.preventDefault(), A) {
|
|
106
106
|
if (n.value = !0, g.buttons !== 1) {
|
|
107
107
|
u();
|
|
108
108
|
return;
|
|
109
109
|
}
|
|
110
|
-
|
|
110
|
+
w = d, C = g.clientX, v = $t(window, "mousemove", y), D = $t(window, "mouseup", u);
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
113
|
return ye(
|
|
@@ -117,50 +117,50 @@ const Ml = (e, i) => {
|
|
|
117
117
|
}
|
|
118
118
|
), {
|
|
119
119
|
resizeData: c,
|
|
120
|
-
allColumnRefs:
|
|
120
|
+
allColumnRefs: _,
|
|
121
121
|
startResize: b,
|
|
122
122
|
isResizing: n,
|
|
123
123
|
columnHoverEventToEmitAfterResizing: a
|
|
124
124
|
};
|
|
125
|
-
},
|
|
126
|
-
const n = {}, c = [], t = (
|
|
127
|
-
const C = n[
|
|
128
|
-
C && C.frozen !== !0 && (n[
|
|
125
|
+
}, Ul = 100, zt = 50, _e = "b-actions-column", zl = 32, Pl = 56, Bl = 56, Wl = 80, Gl = 36, Hl = 1, dn = 16, Vl = 20, xl = (e, i, a) => {
|
|
126
|
+
const n = {}, c = [], t = (_) => {
|
|
127
|
+
const C = n[_];
|
|
128
|
+
C && C.frozen !== !0 && (n[_].frozen = !0, c.push(_));
|
|
129
129
|
};
|
|
130
130
|
function l() {
|
|
131
131
|
if (c.length === a.length)
|
|
132
132
|
return;
|
|
133
|
-
const
|
|
134
|
-
let C = e,
|
|
133
|
+
const _ = { min: {} };
|
|
134
|
+
let C = e, w = i, L = 0;
|
|
135
135
|
c.forEach((v) => {
|
|
136
|
-
C -= n[v].computedWidth,
|
|
136
|
+
C -= n[v].computedWidth, w -= n[v].flex;
|
|
137
137
|
});
|
|
138
138
|
for (let v = 0, D = a.length; v < D; v += 1) {
|
|
139
139
|
const y = a[v];
|
|
140
140
|
if (n[y.field] && n[y.field].frozen === !0)
|
|
141
141
|
continue;
|
|
142
|
-
let b = C /
|
|
143
|
-
b < y.minWidth && (L += y.minWidth - b, b = y.minWidth,
|
|
142
|
+
let b = C / w * y.flex;
|
|
143
|
+
b < y.minWidth && (L += y.minWidth - b, b = y.minWidth, _.min[y.field] = !0), n[y.field] = {
|
|
144
144
|
frozen: !1,
|
|
145
145
|
computedWidth: b,
|
|
146
146
|
flex: y.flex
|
|
147
147
|
};
|
|
148
148
|
}
|
|
149
|
-
L > 0 ? Object.keys(
|
|
149
|
+
L > 0 ? Object.keys(_.min).forEach((v) => {
|
|
150
150
|
t(v);
|
|
151
151
|
}) : a.forEach(({ field: v }) => {
|
|
152
152
|
t(v);
|
|
153
153
|
}), l();
|
|
154
154
|
}
|
|
155
155
|
return l(), n;
|
|
156
|
-
},
|
|
157
|
-
let a =
|
|
158
|
-
return i && (a +=
|
|
159
|
-
},
|
|
156
|
+
}, Pt = (e, i) => {
|
|
157
|
+
let a = Hl;
|
|
158
|
+
return i && (a += dn * 2), e != null && e.offsetWidth ? e.offsetWidth + a : 0;
|
|
159
|
+
}, Zl = (e) => {
|
|
160
160
|
var i, a, n, c, t;
|
|
161
|
-
return (i = e == null ? void 0 : e.hasNestedContent) != null && i.value || (a = e == null ? void 0 : e.hasNestedRows) != null && a.value ? (n = e == null ? void 0 : e.hasSelectableColumn) != null && n.value ? (c = e == null ? void 0 : e.hasSelectableAcrossPages) != null && c.value ?
|
|
162
|
-
},
|
|
163
|
-
const l = R(e.value),
|
|
161
|
+
return (i = e == null ? void 0 : e.hasNestedContent) != null && i.value || (a = e == null ? void 0 : e.hasNestedRows) != null && a.value ? (n = e == null ? void 0 : e.hasSelectableColumn) != null && n.value ? (c = e == null ? void 0 : e.hasSelectableAcrossPages) != null && c.value ? Wl : Bl : Gl : (t = e == null ? void 0 : e.hasSelectableAcrossPages) != null && t.value ? Pl : zl;
|
|
162
|
+
}, jl = (e, i, a, n, c, t) => {
|
|
163
|
+
const l = R(e.value), _ = R(i), C = R(a), w = R(n), L = R(c), v = R(!1), D = R(0);
|
|
164
164
|
ye(
|
|
165
165
|
() => e.value,
|
|
166
166
|
(m, k) => {
|
|
@@ -178,7 +178,7 @@ const Ml = (e, i) => {
|
|
|
178
178
|
);
|
|
179
179
|
const y = R();
|
|
180
180
|
let u = null;
|
|
181
|
-
const b =
|
|
181
|
+
const b = p(() => {
|
|
182
182
|
var he, de, ge;
|
|
183
183
|
const m = [];
|
|
184
184
|
let k = 0, V = 0;
|
|
@@ -186,10 +186,10 @@ const Ml = (e, i) => {
|
|
|
186
186
|
let re = l.value.filter((Q) => Q.visible !== !1);
|
|
187
187
|
const te = l.value.filter((Q) => Q.visible === !1);
|
|
188
188
|
if ((he = t == null ? void 0 : t.hasSelectableColumn) != null && he.value || (de = t == null ? void 0 : t.hasNestedContent) != null && de.value || (ge = t == null ? void 0 : t.hasNestedRows) != null && ge.value) {
|
|
189
|
-
const Q =
|
|
189
|
+
const Q = Zl(t);
|
|
190
190
|
re = [
|
|
191
191
|
{
|
|
192
|
-
field:
|
|
192
|
+
field: _e,
|
|
193
193
|
label: "",
|
|
194
194
|
minWidth: Q,
|
|
195
195
|
width: Q,
|
|
@@ -203,13 +203,13 @@ const Ml = (e, i) => {
|
|
|
203
203
|
const h = { ...Q };
|
|
204
204
|
let Z;
|
|
205
205
|
h.flex && h.flex > 0 ? (k += h.flex, Z = 0, m.push(h)) : Z = Math.max(
|
|
206
|
-
(h == null ? void 0 : h.width) ??
|
|
207
|
-
(h == null ? void 0 : h.minWidth) ??
|
|
208
|
-
), V += Z, h.width = Z, h.minWidth = (h == null ? void 0 : h.minWidth) ??
|
|
206
|
+
(h == null ? void 0 : h.width) ?? Ul,
|
|
207
|
+
(h == null ? void 0 : h.minWidth) ?? zt
|
|
208
|
+
), V += Z, h.width = Z, h.minWidth = (h == null ? void 0 : h.minWidth) ?? zt, X[h.field] = h;
|
|
209
209
|
}), V += D.value;
|
|
210
210
|
const me = Math.max(y.value - V, 0);
|
|
211
211
|
if (k > 0 && y.value > 0) {
|
|
212
|
-
const Q =
|
|
212
|
+
const Q = xl(me, k, m);
|
|
213
213
|
Object.keys(Q).forEach((h) => {
|
|
214
214
|
X[h].width = Q[h].computedWidth;
|
|
215
215
|
});
|
|
@@ -223,11 +223,11 @@ const Ml = (e, i) => {
|
|
|
223
223
|
}, g = async () => {
|
|
224
224
|
l.value.some((m) => m == null ? void 0 : m.autoWidth) && (v.value = !0, await Ce(), await Ce(), l == null || l.value.filter((m) => m == null ? void 0 : m.autoWidth).forEach(({ field: m, minWidth: k }) => {
|
|
225
225
|
var te, me, he, de;
|
|
226
|
-
const V =
|
|
227
|
-
(te =
|
|
226
|
+
const V = Pt(
|
|
227
|
+
(te = w.value) == null ? void 0 : te[m],
|
|
228
228
|
(me = t == null ? void 0 : t.hasColumnPanel) == null ? void 0 : me.value
|
|
229
229
|
), X = (de = (he = L.value) == null ? void 0 : he[m]) == null ? void 0 : de.reduce(
|
|
230
|
-
(ge, Q) => Math.max(ge,
|
|
230
|
+
(ge, Q) => Math.max(ge, Pt(Q)),
|
|
231
231
|
0
|
|
232
232
|
), re = Math.max(V, X ?? 0);
|
|
233
233
|
(k === void 0 || re > k) && d({
|
|
@@ -237,10 +237,10 @@ const Ml = (e, i) => {
|
|
|
237
237
|
});
|
|
238
238
|
}), v.value = !1);
|
|
239
239
|
};
|
|
240
|
-
ye([() => l.value, () =>
|
|
240
|
+
ye([() => l.value, () => _.value], async () => {
|
|
241
241
|
l.value.some((m) => m == null ? void 0 : m.autoWidth) && await g();
|
|
242
242
|
});
|
|
243
|
-
const r =
|
|
243
|
+
const r = p(
|
|
244
244
|
() => b.value.map((m) => {
|
|
245
245
|
var k, V;
|
|
246
246
|
return {
|
|
@@ -249,19 +249,19 @@ const Ml = (e, i) => {
|
|
|
249
249
|
width: ((V = (k = A.value) == null ? void 0 : k[m.field]) == null ? void 0 : V.width) ?? m.width
|
|
250
250
|
};
|
|
251
251
|
})
|
|
252
|
-
), T =
|
|
252
|
+
), T = p(
|
|
253
253
|
() => {
|
|
254
254
|
var m;
|
|
255
255
|
return ((m = r.value) == null ? void 0 : m.filter(({ visible: k }) => k !== !1).reduce((k, V) => V.width + k, 0)) + D.value;
|
|
256
256
|
}
|
|
257
|
-
), F =
|
|
257
|
+
), F = p(
|
|
258
258
|
() => y.value <= T.value
|
|
259
|
-
), P =
|
|
259
|
+
), P = p(() => ({
|
|
260
260
|
width: y.value > T.value ? "100%" : "fit-content"
|
|
261
261
|
}));
|
|
262
262
|
return qe(() => {
|
|
263
263
|
var k;
|
|
264
|
-
const m = t != null && t.isDataGridTemplate ?
|
|
264
|
+
const m = t != null && t.isDataGridTemplate ? Vl : 0;
|
|
265
265
|
Ce(() => {
|
|
266
266
|
C.value && (y.value = C.value.getBoundingClientRect().width - m);
|
|
267
267
|
const V = ye(
|
|
@@ -276,9 +276,9 @@ const Ml = (e, i) => {
|
|
|
276
276
|
}), (k = document == null ? void 0 : document.fonts) != null && k.ready ? document.fonts.ready.then(() => {
|
|
277
277
|
g();
|
|
278
278
|
}) : g();
|
|
279
|
-
}),
|
|
279
|
+
}), Qt(() => {
|
|
280
280
|
u == null || u.disconnect();
|
|
281
|
-
}),
|
|
281
|
+
}), el(() => {
|
|
282
282
|
var m;
|
|
283
283
|
L.value && ((m = Object.keys(L.value)) == null ? void 0 : m.length) > 0 && Object.keys(L.value).forEach((V) => {
|
|
284
284
|
L.value[V] = [];
|
|
@@ -293,20 +293,20 @@ const Ml = (e, i) => {
|
|
|
293
293
|
totalWidthOfAllColumns: T,
|
|
294
294
|
rowActionsMaxWidth: D
|
|
295
295
|
};
|
|
296
|
-
},
|
|
296
|
+
}, ql = (e, i, a, n, c) => {
|
|
297
297
|
const t = R(e.value ?? []), l = ct({
|
|
298
298
|
allItemsSelected: !1,
|
|
299
299
|
isIndeterminate: !1
|
|
300
|
-
}),
|
|
300
|
+
}), _ = p(
|
|
301
301
|
() => a.value.flatMap((u) => {
|
|
302
302
|
var b;
|
|
303
303
|
return [u, ((b = u == null ? void 0 : u.children) == null ? void 0 : b.length) > 0 ? u == null ? void 0 : u.children : []];
|
|
304
304
|
}).flat()
|
|
305
305
|
), C = () => {
|
|
306
306
|
i(M.SELECT, t.value), i(M.UPDATE_SELECTION, t.value);
|
|
307
|
-
},
|
|
307
|
+
}, w = (u) => {
|
|
308
308
|
var A, d, g, r, T;
|
|
309
|
-
if (t.value = u, ((A = a.value) == null ? void 0 : A.length) > 0 && ((d =
|
|
309
|
+
if (t.value = u, ((A = a.value) == null ? void 0 : A.length) > 0 && ((d = _.value) == null ? void 0 : d.filter((F) => !c(F)).every((F) => t.value.includes(n(F))))) {
|
|
310
310
|
l.allItemsSelected = !0;
|
|
311
311
|
const F = ((g = a.value) == null ? void 0 : g.length) > 0 && a.value.every((P) => t.value.includes(n(P)));
|
|
312
312
|
l.isIndeterminate = !F;
|
|
@@ -321,7 +321,7 @@ const Ml = (e, i) => {
|
|
|
321
321
|
Ce(() => {
|
|
322
322
|
var b, A, d;
|
|
323
323
|
if (l.allItemsSelected = u, u) {
|
|
324
|
-
t.value = (A = (b =
|
|
324
|
+
t.value = (A = (b = _.value) == null ? void 0 : b.filter(
|
|
325
325
|
(r) => !c(r) && ((r == null ? void 0 : r.children) === void 0 || r.children.every((T) => !c(T)))
|
|
326
326
|
)) == null ? void 0 : A.map((r) => n(r));
|
|
327
327
|
const g = ((d = a.value) == null ? void 0 : d.length) > 0 && a.value.every((r) => t.value.includes(n(r)));
|
|
@@ -333,7 +333,7 @@ const Ml = (e, i) => {
|
|
|
333
333
|
}, v = (u, b) => {
|
|
334
334
|
Ce(() => {
|
|
335
335
|
var A;
|
|
336
|
-
|
|
336
|
+
w(((A = b == null ? void 0 : b.children) == null ? void 0 : A.length) > 0 ? D(u, b) : u), C();
|
|
337
337
|
});
|
|
338
338
|
}, D = (u, b) => {
|
|
339
339
|
var g;
|
|
@@ -349,9 +349,9 @@ const Ml = (e, i) => {
|
|
|
349
349
|
Ce(() => {
|
|
350
350
|
var g, r;
|
|
351
351
|
const d = n(b);
|
|
352
|
-
u.includes(n(A)) ?
|
|
352
|
+
u.includes(n(A)) ? w(
|
|
353
353
|
!u.includes(d) && ((g = b == null ? void 0 : b.children) != null && g.every((T) => u.includes(n(T)))) ? [...u, d] : u
|
|
354
|
-
) :
|
|
354
|
+
) : w(
|
|
355
355
|
u.includes(d) && !((r = b == null ? void 0 : b.children) != null && r.every((T) => u.includes(n(T)))) ? u.filter((T) => T !== d) : u
|
|
356
356
|
), C();
|
|
357
357
|
});
|
|
@@ -359,7 +359,7 @@ const Ml = (e, i) => {
|
|
|
359
359
|
return ye(
|
|
360
360
|
() => e.value,
|
|
361
361
|
() => {
|
|
362
|
-
|
|
362
|
+
w(e.value ?? []);
|
|
363
363
|
},
|
|
364
364
|
{ immediate: !0 }
|
|
365
365
|
), ye(
|
|
@@ -371,31 +371,31 @@ const Ml = (e, i) => {
|
|
|
371
371
|
return ((A = b == null ? void 0 : b.children) == null ? void 0 : A.length) > 0 ? b.children.map((d) => n(d)).filter((d) => !t.value.includes(d)) : [];
|
|
372
372
|
}
|
|
373
373
|
);
|
|
374
|
-
(u == null ? void 0 : u.length) > 0 ? (
|
|
374
|
+
(u == null ? void 0 : u.length) > 0 ? (w([...t.value, ...u]), C()) : w(t.value);
|
|
375
375
|
}
|
|
376
376
|
), { onAllRowSelect: L, onRowSelect: v, onNestedRowSelect: y, allItemsSelectedState: l, selectedItems: t };
|
|
377
|
-
},
|
|
378
|
-
var w;
|
|
379
|
-
return (w = e.value.find((C) => C.field === l)) == null ? void 0 : w.direction;
|
|
380
|
-
}, sortByColumnField: (l) => {
|
|
377
|
+
}, Kl = (e, i, a) => ({ isSorting: (l) => e.value.some((_) => _.field === l), getSortingDirection: (l) => {
|
|
381
378
|
var _;
|
|
379
|
+
return (_ = e.value.find((C) => C.field === l)) == null ? void 0 : _.direction;
|
|
380
|
+
}, sortByColumnField: (l) => {
|
|
381
|
+
var w;
|
|
382
382
|
if (!i.value.some((L) => L.field === l && L.sortable))
|
|
383
383
|
return;
|
|
384
384
|
const C = [{
|
|
385
385
|
field: l,
|
|
386
|
-
direction: ((
|
|
386
|
+
direction: ((w = e.value.find((L) => L.field === l)) == null ? void 0 : w.direction) === Me.ASCENDING ? Me.DESCENDING : Me.ASCENDING
|
|
387
387
|
}];
|
|
388
388
|
a("sort", C);
|
|
389
389
|
} });
|
|
390
|
-
var
|
|
391
|
-
const je = "b-row-actions-column",
|
|
392
|
-
const l =
|
|
390
|
+
var we = ((e) => (e[e.ARROW_DOWN = Re.ARROW_DOWN] = "ARROW_DOWN", e[e.ARROW_UP = Re.ARROW_UP] = "ARROW_UP", e[e.ARROW_LEFT = Re.ARROW_LEFT] = "ARROW_LEFT", e[e.ARROW_RIGHT = Re.ARROW_RIGHT] = "ARROW_RIGHT", e[e.PAGE_UP = Re.PAGE_UP] = "PAGE_UP", e[e.PAGE_DOWN = Re.PAGE_DOWN] = "PAGE_DOWN", e[e.END = Re.END] = "END", e[e.HOME = Re.HOME] = "HOME", e))(we || {});
|
|
391
|
+
const je = "b-row-actions-column", Yl = (e, i, a, n, c, t) => {
|
|
392
|
+
const l = p(() => t.value || n.value ? !0 : a.value.some((g) => g.infoIconTooltip || g.sortable)), _ = p(() => {
|
|
393
393
|
let g = a.value.filter(({ visible: r }) => r !== !1);
|
|
394
394
|
return c.value && (g = [
|
|
395
395
|
...g,
|
|
396
396
|
{ field: je, label: "" }
|
|
397
397
|
]), g;
|
|
398
|
-
}), C =
|
|
398
|
+
}), C = p(() => _.value.length), w = p(() => {
|
|
399
399
|
if (!e.value)
|
|
400
400
|
return [];
|
|
401
401
|
const g = Object.keys(e.value)[0];
|
|
@@ -403,67 +403,67 @@ const je = "b-row-actions-column", Kl = (e, i, a, n, c, t) => {
|
|
|
403
403
|
return [];
|
|
404
404
|
const r = [];
|
|
405
405
|
if (l.value)
|
|
406
|
-
for (const F of
|
|
406
|
+
for (const F of _.value) {
|
|
407
407
|
const P = i.value[F.field];
|
|
408
408
|
r.push(P);
|
|
409
409
|
}
|
|
410
410
|
const T = e.value[g].length;
|
|
411
411
|
for (let F = 0; F < T; F++)
|
|
412
|
-
for (const P of
|
|
412
|
+
for (const P of _.value) {
|
|
413
413
|
const m = e.value[P.field];
|
|
414
414
|
m != null && m[F] && r.push(m[F]);
|
|
415
415
|
}
|
|
416
416
|
return r;
|
|
417
417
|
}), L = (g) => Math.floor(g / C.value), v = (g, r, T) => {
|
|
418
|
-
const F =
|
|
418
|
+
const F = w.value.length - 1, P = C.value - 1, m = L(g), k = g - C.value * m;
|
|
419
419
|
return {
|
|
420
|
-
[
|
|
421
|
-
[
|
|
422
|
-
[
|
|
423
|
-
[
|
|
420
|
+
[we.PAGE_UP]: k + (l.value ? C.value : 0),
|
|
421
|
+
[we.PAGE_DOWN]: F - P + k,
|
|
422
|
+
[we.END]: T ? F : C.value * m + P,
|
|
423
|
+
[we.HOME]: T ? l.value ? C.value : 0 : C.value * m
|
|
424
424
|
}[r];
|
|
425
425
|
}, D = (g, r) => {
|
|
426
426
|
const T = L(g), P = {
|
|
427
|
-
[
|
|
428
|
-
[
|
|
429
|
-
[
|
|
430
|
-
[
|
|
427
|
+
[we.ARROW_DOWN]: C.value,
|
|
428
|
+
[we.ARROW_UP]: T === 0 && !l.value ? 0 : -C.value,
|
|
429
|
+
[we.ARROW_LEFT]: -1,
|
|
430
|
+
[we.ARROW_RIGHT]: 1
|
|
431
431
|
}[r], m = g + P;
|
|
432
|
-
return m < 0 || m >=
|
|
432
|
+
return m < 0 || m >= w.value.length ? g : m;
|
|
433
433
|
}, y = (g) => [
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
434
|
+
we.PAGE_UP,
|
|
435
|
+
we.PAGE_DOWN,
|
|
436
|
+
we.END,
|
|
437
|
+
we.HOME
|
|
438
438
|
].includes(g), u = (g, r, T) => {
|
|
439
|
-
const F =
|
|
439
|
+
const F = w.value.indexOf(g);
|
|
440
440
|
return y(r) ? v(F, r, T) : D(F, r);
|
|
441
441
|
}, b = (g, r, T) => {
|
|
442
|
-
if (!
|
|
442
|
+
if (!w.value.includes(g))
|
|
443
443
|
return;
|
|
444
444
|
const F = u(g, r, T);
|
|
445
|
-
|
|
446
|
-
}, A = (g) => g in
|
|
445
|
+
w.value[F].focus();
|
|
446
|
+
}, A = (g) => g in we;
|
|
447
447
|
return {
|
|
448
448
|
isNavigationKeyCode: A,
|
|
449
449
|
focusOnNextGridcell: b,
|
|
450
450
|
navigationInput: (g) => {
|
|
451
451
|
const { ctrlKey: r, key: T, target: F } = g, P = T;
|
|
452
452
|
let m = F;
|
|
453
|
-
m.getAttribute("role") !== "menuitem" && (
|
|
453
|
+
m.getAttribute("role") !== "menuitem" && (w.value.includes(m) || (m = F.closest('[role="gridcell"], [role="columnheader"]')), w.value.includes(m) && A(P) && b(m, P, r));
|
|
454
454
|
}
|
|
455
455
|
};
|
|
456
|
-
},
|
|
457
|
-
const t = R(e), l = R(i),
|
|
456
|
+
}, Xl = 90, Jl = (e, i, a, n, c) => {
|
|
457
|
+
const t = R(e), l = R(i), _ = R(a), C = R(n), w = p(() => t.value !== "none"), L = p(() => t.value === "automatic"), v = () => {
|
|
458
458
|
c(M.UPDATE_SHOW_MORE);
|
|
459
459
|
};
|
|
460
460
|
return ye(
|
|
461
461
|
() => l.value,
|
|
462
462
|
() => {
|
|
463
|
-
L.value &&
|
|
463
|
+
L.value && _.value.offsetHeight / l.value * 100 > Xl && !C.value && v();
|
|
464
464
|
}
|
|
465
|
-
), { isLazyLoad:
|
|
466
|
-
},
|
|
465
|
+
), { isLazyLoad: w, isInfiniteScroll: L, verticalScrollPosition: l, emitLazyLoadEvent: v };
|
|
466
|
+
}, Ql = (e, i, a) => {
|
|
467
467
|
const n = R(e), c = R(i), t = ct({
|
|
468
468
|
dragging: null,
|
|
469
469
|
dragToLeft: null,
|
|
@@ -474,13 +474,13 @@ const je = "b-row-actions-column", Kl = (e, i, a, n, c, t) => {
|
|
|
474
474
|
return;
|
|
475
475
|
const d = [...n.value];
|
|
476
476
|
d.splice(A, 0, d.splice(b, 1)[0]), a(M.COLUMNS, d), a(M.UPDATE_COLUMNS, d);
|
|
477
|
-
},
|
|
477
|
+
}, _ = (y, u) => {
|
|
478
478
|
t.dragging = y, u.dataTransfer.setData("text", ""), u.dataTransfer.dropEffect = "move";
|
|
479
479
|
}, C = (y, u) => {
|
|
480
480
|
t.target = y;
|
|
481
481
|
const b = u.currentTarget.getBoundingClientRect(), A = b.left + b.width / 2, d = u.clientX ?? 0;
|
|
482
482
|
t.dragToLeft = d <= A;
|
|
483
|
-
},
|
|
483
|
+
}, w = (y) => {
|
|
484
484
|
var u, b;
|
|
485
485
|
if (((u = t.dragging) == null ? void 0 : u.field) !== y.field) {
|
|
486
486
|
const A = n.value.findIndex((P) => {
|
|
@@ -504,17 +504,17 @@ const je = "b-row-actions-column", Kl = (e, i, a, n, c, t) => {
|
|
|
504
504
|
t.dragging = null, t.target = null;
|
|
505
505
|
}, L = () => {
|
|
506
506
|
t.dragging = null, t.dragToLeft = null, t.target = null;
|
|
507
|
-
}, v =
|
|
508
|
-
[le.COLUMN_DRAG_START]: (y, u) =>
|
|
507
|
+
}, v = p(() => c.value ? {
|
|
508
|
+
[le.COLUMN_DRAG_START]: (y, u) => _(y, u),
|
|
509
509
|
[le.COLUMN_DRAG_ENTER]: (y, u) => C(y, u),
|
|
510
|
-
[le.COLUMN_DROP]: (y) =>
|
|
510
|
+
[le.COLUMN_DROP]: (y) => w(y),
|
|
511
511
|
[le.COLUMN_DRAG_END]: () => L()
|
|
512
|
-
} : {}), D =
|
|
512
|
+
} : {}), D = p(() => (y) => c.value ? {
|
|
513
513
|
dragenter: (u) => {
|
|
514
514
|
u.preventDefault(), C(y, u);
|
|
515
515
|
},
|
|
516
516
|
drop: () => {
|
|
517
|
-
|
|
517
|
+
w(y);
|
|
518
518
|
},
|
|
519
519
|
dragover: (u) => {
|
|
520
520
|
u.preventDefault();
|
|
@@ -528,48 +528,48 @@ const je = "b-row-actions-column", Kl = (e, i, a, n, c, t) => {
|
|
|
528
528
|
draggingEventsForRowCell: D,
|
|
529
529
|
onMoveColumnByOffset: l
|
|
530
530
|
};
|
|
531
|
-
},
|
|
532
|
-
const a = R(e), n =
|
|
531
|
+
}, eo = (e, i) => {
|
|
532
|
+
const a = R(e), n = p(
|
|
533
533
|
() => [...a.value].sort((v, D) => v.frozen === D.frozen ? 0 : v.frozen ? -1 : 1)
|
|
534
|
-
), c =
|
|
534
|
+
), c = p(
|
|
535
535
|
() => n.value.filter((v) => v.frozen && v.visible !== !1)
|
|
536
|
-
), t =
|
|
536
|
+
), t = p(
|
|
537
537
|
() => n.value.filter((v) => !v.frozen && v.visible !== !1)
|
|
538
|
-
), l =
|
|
538
|
+
), l = p(
|
|
539
539
|
() => [
|
|
540
540
|
{ columnSet: c.value, id: "frozen", isFrozenColumns: !0 },
|
|
541
541
|
{ columnSet: t.value, id: "unfrozen" }
|
|
542
542
|
].filter(({ columnSet: v }) => v.length)
|
|
543
|
-
),
|
|
544
|
-
() => a.value.filter((v) => (v == null ? void 0 : v.visible) !== !1 && (v == null ? void 0 : v.field) !==
|
|
545
|
-
), C = (v) => i(M.UPDATE_CONDENSED, v),
|
|
543
|
+
), _ = p(
|
|
544
|
+
() => a.value.filter((v) => (v == null ? void 0 : v.visible) !== !1 && (v == null ? void 0 : v.field) !== _e).length === 1
|
|
545
|
+
), C = (v) => i(M.UPDATE_CONDENSED, v), w = (v) => {
|
|
546
546
|
i(M.COLUMNS, v), i(M.UPDATE_COLUMNS, v);
|
|
547
547
|
};
|
|
548
548
|
return {
|
|
549
549
|
// Values
|
|
550
550
|
columnSets: l,
|
|
551
|
-
isOnlyOneVisibleColumn:
|
|
551
|
+
isOnlyOneVisibleColumn: _,
|
|
552
552
|
sortedColumns: n,
|
|
553
553
|
// Methods
|
|
554
554
|
onConfigSettingsUpdate: C,
|
|
555
|
-
onConfigSettingsColumnsUpdate:
|
|
555
|
+
onConfigSettingsColumnsUpdate: w,
|
|
556
556
|
onConfigSettingsColumnUpdate: (v) => {
|
|
557
557
|
const D = n.value.map(
|
|
558
558
|
(y) => (y == null ? void 0 : y.field) === v.field ? v : y
|
|
559
559
|
);
|
|
560
|
-
|
|
560
|
+
w(D);
|
|
561
561
|
}
|
|
562
562
|
};
|
|
563
|
-
},
|
|
564
|
-
const
|
|
565
|
-
ye([() =>
|
|
566
|
-
e.value.scrollLeft = u, i.value.scrollLeft = u, C.value = !!u,
|
|
563
|
+
}, to = (e, i, a, n, c, t, l) => {
|
|
564
|
+
const _ = R(0), C = R(!1), w = R(!1);
|
|
565
|
+
ye([() => _.value, () => t.value], ([u]) => {
|
|
566
|
+
e.value.scrollLeft = u, i.value.scrollLeft = u, C.value = !!u, w.value = i.value.scrollWidth - i.value.offsetWidth > u;
|
|
567
567
|
}), qe(async () => {
|
|
568
568
|
var u, b;
|
|
569
|
-
await Ce(), await Ce(), ((u = i.value) == null ? void 0 : u.offsetWidth) < ((b = i.value) == null ? void 0 : b.scrollWidth) && (
|
|
569
|
+
await Ce(), await Ce(), ((u = i.value) == null ? void 0 : u.offsetWidth) < ((b = i.value) == null ? void 0 : b.scrollWidth) && (w.value = !0);
|
|
570
570
|
});
|
|
571
571
|
const L = (u) => {
|
|
572
|
-
if (
|
|
572
|
+
if (_.value = u.target.scrollLeft, a.value = e.value.scrollHeight - u.target.scrollTop, n != null && n.value) {
|
|
573
573
|
const b = u.target.scrollLeft;
|
|
574
574
|
n.value.scrollLeft !== b && (n.value.scrollLeft = b);
|
|
575
575
|
}
|
|
@@ -580,32 +580,32 @@ const je = "b-row-actions-column", Kl = (e, i, a, n, c, t) => {
|
|
|
580
580
|
}, D = (u) => {
|
|
581
581
|
const b = u.target.scrollLeft;
|
|
582
582
|
e.value.scrollLeft !== b && (e.value.scrollLeft = b);
|
|
583
|
-
}, y =
|
|
583
|
+
}, y = p(() => {
|
|
584
584
|
var u, b, A, d;
|
|
585
585
|
return (u = l == null ? void 0 : l.pagination) != null && u.value && ((b = l == null ? void 0 : l.stickyPagination) != null && b.value || l != null && l.isDataGridTemplate) && !((A = l == null ? void 0 : l.isLazyLoad) != null && A.value) ? { bottom: `${(((d = c.value) == null ? void 0 : d.clientHeight) ?? 0) + 1}px` } : {};
|
|
586
586
|
});
|
|
587
587
|
return {
|
|
588
588
|
// Values
|
|
589
|
-
scrollLeftPosition:
|
|
589
|
+
scrollLeftPosition: _,
|
|
590
590
|
hasLeftOverflow: C,
|
|
591
|
-
hasRightOverflow:
|
|
591
|
+
hasRightOverflow: w,
|
|
592
592
|
horizontalScrollbarConditionalStyles: y,
|
|
593
593
|
// Methods
|
|
594
594
|
updateScrollPosition: L,
|
|
595
595
|
updateScrollPositionOnFrozenColumnsNavigation: v,
|
|
596
596
|
syncVirtualScrollerWithBody: D
|
|
597
597
|
};
|
|
598
|
-
},
|
|
599
|
-
const c = R(null), t =
|
|
598
|
+
}, no = (e, i, a, n) => {
|
|
599
|
+
const c = R(null), t = p(() => {
|
|
600
600
|
var b, A, d, g;
|
|
601
|
-
if (!c.value || c.value.field ===
|
|
601
|
+
if (!c.value || c.value.field === _e)
|
|
602
602
|
return {
|
|
603
603
|
hoveredOverColumnField: "",
|
|
604
604
|
isSeparatorOffset: !1,
|
|
605
605
|
noBorderLeft: !1,
|
|
606
606
|
noBorderRight: !1
|
|
607
607
|
};
|
|
608
|
-
const l = (A = (b = e.value.find((r) => r.isFrozenColumns)) == null ? void 0 : b.columnSet) == null ? void 0 : A.filter((r) => r.field !==
|
|
608
|
+
const l = (A = (b = e.value.find((r) => r.isFrozenColumns)) == null ? void 0 : b.columnSet) == null ? void 0 : A.filter((r) => r.field !== _e), _ = e.value.find((r) => !(r != null && r.isFrozenColumns)), C = c.value.frozen && (l == null ? void 0 : l[0].field) === c.value.field, w = !c.value.frozen && ((d = _ == null ? void 0 : _.columnSet) == null ? void 0 : d[0].field) === c.value.field, L = (i.value || a.value) && C, v = (i.value || a.value) && !l && w, D = l && w, y = (l == null ? void 0 : l.length) > 0 && c.value.frozen && (l == null ? void 0 : l[l.length - 1].field) === c.value.field, u = a.value && n.value && !c.value.frozen && ((g = _ == null ? void 0 : _.columnSet) == null ? void 0 : g[_.columnSet.length - 1].field) === c.value.field;
|
|
609
609
|
return {
|
|
610
610
|
hoveredOverColumnField: c.value.field,
|
|
611
611
|
isSeparatorOffset: u,
|
|
@@ -617,22 +617,22 @@ const je = "b-row-actions-column", Kl = (e, i, a, n, c, t) => {
|
|
|
617
617
|
hoveredOverColumn: c,
|
|
618
618
|
hoveredOverColumnState: t
|
|
619
619
|
};
|
|
620
|
-
},
|
|
621
|
-
const a =
|
|
620
|
+
}, _t = (e) => {
|
|
621
|
+
const a = rn(e).filter((n) => n.node !== e);
|
|
622
622
|
return (a == null ? void 0 : a.length) > 0 ? (a[0].node.focus(), !0) : !1;
|
|
623
623
|
}, We = (e) => {
|
|
624
|
-
const i =
|
|
624
|
+
const i = rn(e), a = i == null ? void 0 : i.filter((n) => n.node !== e);
|
|
625
625
|
if ((a == null ? void 0 : a.length) > 0)
|
|
626
626
|
return a.forEach((n) => n.node.setAttribute("tabindex", "-1")), a;
|
|
627
|
-
},
|
|
627
|
+
}, un = (e) => {
|
|
628
628
|
(e == null ? void 0 : e.length) > 0 && e.forEach((i) => i == null ? void 0 : i.node.setAttribute("tabindex", "0"));
|
|
629
|
-
},
|
|
629
|
+
}, Bt = () => {
|
|
630
630
|
const e = window.getSelection().getRangeAt(0).cloneContents(), i = e.querySelectorAll('[role="row"]');
|
|
631
631
|
let a = "<table>", n = "";
|
|
632
632
|
const c = (t) => {
|
|
633
633
|
t.forEach((l) => {
|
|
634
|
-
const
|
|
635
|
-
C && (a += `<${
|
|
634
|
+
const _ = l.closest("[role]").getAttribute("role") === "gridcell" ? "td" : "th", C = l.textContent.trim();
|
|
635
|
+
C && (a += `<${_}>${C}</${_}>`, n += `${C} `);
|
|
636
636
|
});
|
|
637
637
|
};
|
|
638
638
|
if (!i.length) {
|
|
@@ -653,8 +653,8 @@ const je = "b-row-actions-column", Kl = (e, i, a, n, c, t) => {
|
|
|
653
653
|
if (a += "<tr>", l.length)
|
|
654
654
|
c(l);
|
|
655
655
|
else {
|
|
656
|
-
const
|
|
657
|
-
a += `<td>${
|
|
656
|
+
const _ = t.textContent.trim();
|
|
657
|
+
a += `<td>${_}</td>`, n += `${_} `;
|
|
658
658
|
}
|
|
659
659
|
a += "</tr>", n += `
|
|
660
660
|
`;
|
|
@@ -665,13 +665,13 @@ const je = "b-row-actions-column", Kl = (e, i, a, n, c, t) => {
|
|
|
665
665
|
})
|
|
666
666
|
]);
|
|
667
667
|
};
|
|
668
|
-
let
|
|
669
|
-
const
|
|
668
|
+
let Wt = 0;
|
|
669
|
+
const lo = {
|
|
670
670
|
beforeCreate() {
|
|
671
|
-
this.uuid =
|
|
671
|
+
this.uuid = Wt.toString(), Wt += 1;
|
|
672
672
|
}
|
|
673
|
-
},
|
|
674
|
-
function
|
|
673
|
+
}, oo = { key: 0 }, so = ["clip-path"], io = ["id"];
|
|
674
|
+
function ao(e, i, a, n, c, t) {
|
|
675
675
|
return f(), E("svg", ee({ role: "img" }, e.$attrs, {
|
|
676
676
|
class: "ui-assets-icons-16",
|
|
677
677
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -679,14 +679,14 @@ function io(e, i, a, n, c, t) {
|
|
|
679
679
|
height: "16",
|
|
680
680
|
fill: "none"
|
|
681
681
|
}), [
|
|
682
|
-
e.$attrs["svg-title"] ? (f(), E("title",
|
|
682
|
+
e.$attrs["svg-title"] ? (f(), E("title", oo, q(e.$attrs["svg-title"]), 1)) : z("", !0),
|
|
683
683
|
O("g", {
|
|
684
684
|
fill: "#001222",
|
|
685
685
|
"clip-path": "url(#uia-ui-assets/icons-16-arrow_up_down_sort__a" + e.uuid + ")"
|
|
686
686
|
}, i[0] || (i[0] = [
|
|
687
687
|
O("path", { d: "M9.06077 4.00011L5.00011 -0.0605469L0.939453 4.00011L2.00011 5.06077L4.25 2.81089V10.75H5.75V2.81066L8.00011 5.06077L9.06077 4.00011Z" }, null, -1),
|
|
688
688
|
O("path", { d: "M10.25 13.1893L8.00011 10.9395L6.93945 12.0001L11.0001 16.0608L15.0608 12.0001L14.0001 10.9395L11.75 13.1896V5.25H10.25V13.1893Z" }, null, -1)
|
|
689
|
-
]), 8,
|
|
689
|
+
]), 8, so),
|
|
690
690
|
O("defs", null, [
|
|
691
691
|
O("clipPath", {
|
|
692
692
|
id: "uia-ui-assets/icons-16-arrow_up_down_sort__a" + e.uuid
|
|
@@ -696,18 +696,18 @@ function io(e, i, a, n, c, t) {
|
|
|
696
696
|
height: "16",
|
|
697
697
|
fill: "#fff"
|
|
698
698
|
}, null, -1)
|
|
699
|
-
]), 8,
|
|
699
|
+
]), 8, io)
|
|
700
700
|
])
|
|
701
701
|
], 16);
|
|
702
702
|
}
|
|
703
|
-
const
|
|
704
|
-
let
|
|
705
|
-
const
|
|
703
|
+
const ro = /* @__PURE__ */ se(lo, [["render", ao]]);
|
|
704
|
+
let Gt = 0;
|
|
705
|
+
const uo = {
|
|
706
706
|
beforeCreate() {
|
|
707
|
-
this.uuid =
|
|
707
|
+
this.uuid = Gt.toString(), Gt += 1;
|
|
708
708
|
}
|
|
709
|
-
},
|
|
710
|
-
function
|
|
709
|
+
}, co = { key: 0 };
|
|
710
|
+
function fo(e, i, a, n, c, t) {
|
|
711
711
|
return f(), E("svg", ee({ role: "img" }, e.$attrs, {
|
|
712
712
|
class: "ui-assets-icons-16",
|
|
713
713
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -715,21 +715,21 @@ function co(e, i, a, n, c, t) {
|
|
|
715
715
|
height: "16",
|
|
716
716
|
fill: "none"
|
|
717
717
|
}), [
|
|
718
|
-
e.$attrs["svg-title"] ? (f(), E("title",
|
|
718
|
+
e.$attrs["svg-title"] ? (f(), E("title", co, q(e.$attrs["svg-title"]), 1)) : z("", !0),
|
|
719
719
|
i[0] || (i[0] = O("path", {
|
|
720
720
|
fill: "#001222",
|
|
721
721
|
d: "M12.1933 8.7454L7.93903 12.9996L8.99969 14.0603L15.0604 7.99963L8.99969 1.93896L7.93903 2.99963L12.1848 7.24541L1.24902 7.25658L1.25056 8.75658L12.1933 8.7454Z"
|
|
722
722
|
}, null, -1))
|
|
723
723
|
], 16);
|
|
724
724
|
}
|
|
725
|
-
const
|
|
726
|
-
let
|
|
727
|
-
const
|
|
725
|
+
const go = /* @__PURE__ */ se(uo, [["render", fo]]);
|
|
726
|
+
let Ht = 0;
|
|
727
|
+
const vo = {
|
|
728
728
|
beforeCreate() {
|
|
729
|
-
this.uuid =
|
|
729
|
+
this.uuid = Ht.toString(), Ht += 1;
|
|
730
730
|
}
|
|
731
|
-
},
|
|
732
|
-
function
|
|
731
|
+
}, mo = { key: 0 }, ho = ["clip-path"], Co = ["id"];
|
|
732
|
+
function wo(e, i, a, n, c, t) {
|
|
733
733
|
return f(), E("svg", ee({ role: "img" }, e.$attrs, {
|
|
734
734
|
class: "ui-assets-icons-16",
|
|
735
735
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -737,7 +737,7 @@ function Co(e, i, a, n, c, t) {
|
|
|
737
737
|
height: "16",
|
|
738
738
|
fill: "none"
|
|
739
739
|
}), [
|
|
740
|
-
e.$attrs["svg-title"] ? (f(), E("title",
|
|
740
|
+
e.$attrs["svg-title"] ? (f(), E("title", mo, q(e.$attrs["svg-title"]), 1)) : z("", !0),
|
|
741
741
|
O("g", {
|
|
742
742
|
"clip-path": "url(#uia-ui-assets/icons-16-freeze__a" + e.uuid + ")"
|
|
743
743
|
}, i[0] || (i[0] = [
|
|
@@ -745,7 +745,7 @@ function Co(e, i, a, n, c, t) {
|
|
|
745
745
|
fill: "#001222",
|
|
746
746
|
d: "M7.99989 14.0605L9.49989 15.5605L10.5605 14.4999L8.75 12.6893V10.9334L10.169 10.116L11.6861 10.9939L12.3501 13.4688L13.7988 13.0801L13.2488 11.0301L15.2988 10.4801L14.9101 9.03129L12.4363 9.695L10.9199 8.81745V7.18276L12.4365 6.3051L14.9101 6.96875L15.2988 5.51999L13.2488 4.96999L13.7988 2.91999L12.3501 2.53129L11.686 5.00635L10.1693 5.88407L8.75 5.06648L8.75 3.31043L10.5605 1.49989L9.49989 0.439226L7.99989 1.93923L6.49989 0.439226L5.43923 1.49989L7.25 3.31066V5.06639L5.83078 5.88392L4.31419 5.00626L3.65018 2.53129L2.20141 2.91998L2.384 3.60052L2.38063 3.60143L2.75032 4.97028L0.701408 5.51999L1.0901 6.96875L1.7708 6.78612L1.77173 6.78955L3.56437 6.30541L5.07992 7.18246L5.07992 8.81775L3.564 9.69502L1.0901 9.03129L0.701408 10.4801L2.75141 11.0301L2.20141 13.0801L3.65018 13.4687L4.31414 10.994L5.83106 10.1161L7.25 10.9335V12.6891L5.43923 14.4999L6.49989 15.5605L7.99989 14.0605ZM9.41992 7.18345V8.81644L7.99992 9.63441L6.57992 8.81644L6.57992 7.18345L7.99992 6.36548L9.41992 7.18345Z"
|
|
747
747
|
}, null, -1)
|
|
748
|
-
]), 8,
|
|
748
|
+
]), 8, ho),
|
|
749
749
|
O("defs", null, [
|
|
750
750
|
O("clipPath", {
|
|
751
751
|
id: "uia-ui-assets/icons-16-freeze__a" + e.uuid
|
|
@@ -756,17 +756,17 @@ function Co(e, i, a, n, c, t) {
|
|
|
756
756
|
fill: "#fff",
|
|
757
757
|
transform: "matrix(1 0 0 -1 0 16)"
|
|
758
758
|
}, null, -1)
|
|
759
|
-
]), 8,
|
|
759
|
+
]), 8, Co)
|
|
760
760
|
])
|
|
761
761
|
], 16);
|
|
762
762
|
}
|
|
763
|
-
const
|
|
764
|
-
let
|
|
763
|
+
const cn = /* @__PURE__ */ se(vo, [["render", wo]]);
|
|
764
|
+
let Vt = 0;
|
|
765
765
|
const _o = {
|
|
766
766
|
beforeCreate() {
|
|
767
|
-
this.uuid =
|
|
767
|
+
this.uuid = Vt.toString(), Vt += 1;
|
|
768
768
|
}
|
|
769
|
-
},
|
|
769
|
+
}, bo = { key: 0 }, yo = ["clip-path"], po = ["id"];
|
|
770
770
|
function So(e, i, a, n, c, t) {
|
|
771
771
|
return f(), E("svg", ee({ role: "img" }, e.$attrs, {
|
|
772
772
|
class: "ui-assets-icons-16",
|
|
@@ -775,7 +775,7 @@ function So(e, i, a, n, c, t) {
|
|
|
775
775
|
height: "16",
|
|
776
776
|
fill: "none"
|
|
777
777
|
}), [
|
|
778
|
-
e.$attrs["svg-title"] ? (f(), E("title",
|
|
778
|
+
e.$attrs["svg-title"] ? (f(), E("title", bo, q(e.$attrs["svg-title"]), 1)) : z("", !0),
|
|
779
779
|
O("g", {
|
|
780
780
|
fill: "#001222",
|
|
781
781
|
"clip-path": "url(#uia-ui-assets/icons-16-sort_ascending__a" + e.uuid + ")"
|
|
@@ -784,7 +784,7 @@ function So(e, i, a, n, c, t) {
|
|
|
784
784
|
O("path", { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" }, null, -1),
|
|
785
785
|
O("path", { d: "M1.25 11.25H8.75V12.75H1.25V11.25Z" }, null, -1),
|
|
786
786
|
O("path", { d: "M6.75 3.25H1.25V4.75H6.75V3.25Z" }, null, -1)
|
|
787
|
-
]), 8,
|
|
787
|
+
]), 8, yo),
|
|
788
788
|
O("defs", null, [
|
|
789
789
|
O("clipPath", {
|
|
790
790
|
id: "uia-ui-assets/icons-16-sort_ascending__a" + e.uuid
|
|
@@ -794,18 +794,18 @@ function So(e, i, a, n, c, t) {
|
|
|
794
794
|
height: "16",
|
|
795
795
|
fill: "#fff"
|
|
796
796
|
}, null, -1)
|
|
797
|
-
]), 8,
|
|
797
|
+
]), 8, po)
|
|
798
798
|
])
|
|
799
799
|
], 16);
|
|
800
800
|
}
|
|
801
|
-
const
|
|
802
|
-
let
|
|
803
|
-
const
|
|
801
|
+
const Eo = /* @__PURE__ */ se(_o, [["render", So]]);
|
|
802
|
+
let xt = 0;
|
|
803
|
+
const Lo = {
|
|
804
804
|
beforeCreate() {
|
|
805
|
-
this.uuid =
|
|
805
|
+
this.uuid = xt.toString(), xt += 1;
|
|
806
806
|
}
|
|
807
|
-
},
|
|
808
|
-
function
|
|
807
|
+
}, Ro = { key: 0 }, Ao = ["clip-path"], Oo = ["id"];
|
|
808
|
+
function To(e, i, a, n, c, t) {
|
|
809
809
|
return f(), E("svg", ee({ role: "img" }, e.$attrs, {
|
|
810
810
|
class: "ui-assets-icons-16",
|
|
811
811
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -813,7 +813,7 @@ function Oo(e, i, a, n, c, t) {
|
|
|
813
813
|
height: "16",
|
|
814
814
|
fill: "none"
|
|
815
815
|
}), [
|
|
816
|
-
e.$attrs["svg-title"] ? (f(), E("title",
|
|
816
|
+
e.$attrs["svg-title"] ? (f(), E("title", Ro, q(e.$attrs["svg-title"]), 1)) : z("", !0),
|
|
817
817
|
O("g", {
|
|
818
818
|
fill: "#001222",
|
|
819
819
|
"clip-path": "url(#uia-ui-assets/icons-16-sort_descending__a" + e.uuid + ")"
|
|
@@ -822,7 +822,7 @@ function Oo(e, i, a, n, c, t) {
|
|
|
822
822
|
O("path", { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" }, null, -1),
|
|
823
823
|
O("path", { d: "M1.25 3.25H9.09V4.75H1.25V3.25Z" }, null, -1),
|
|
824
824
|
O("path", { d: "M6.75 11.25H1.25V12.75H6.75V11.25Z" }, null, -1)
|
|
825
|
-
]), 8,
|
|
825
|
+
]), 8, Ao),
|
|
826
826
|
O("defs", null, [
|
|
827
827
|
O("clipPath", {
|
|
828
828
|
id: "uia-ui-assets/icons-16-sort_descending__a" + e.uuid
|
|
@@ -832,18 +832,18 @@ function Oo(e, i, a, n, c, t) {
|
|
|
832
832
|
height: "16",
|
|
833
833
|
fill: "#fff"
|
|
834
834
|
}, null, -1)
|
|
835
|
-
]), 8,
|
|
835
|
+
]), 8, Oo)
|
|
836
836
|
])
|
|
837
837
|
], 16);
|
|
838
838
|
}
|
|
839
|
-
const
|
|
840
|
-
let
|
|
841
|
-
const
|
|
839
|
+
const No = /* @__PURE__ */ se(Lo, [["render", To]]);
|
|
840
|
+
let Zt = 0;
|
|
841
|
+
const Io = {
|
|
842
842
|
beforeCreate() {
|
|
843
|
-
this.uuid =
|
|
843
|
+
this.uuid = Zt.toString(), Zt += 1;
|
|
844
844
|
}
|
|
845
|
-
},
|
|
846
|
-
function
|
|
845
|
+
}, $o = { key: 0 };
|
|
846
|
+
function Do(e, i, a, n, c, t) {
|
|
847
847
|
return f(), E("svg", ee({ role: "img" }, e.$attrs, {
|
|
848
848
|
class: "ui-assets-icons-16",
|
|
849
849
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -851,14 +851,14 @@ function $o(e, i, a, n, c, t) {
|
|
|
851
851
|
height: "16",
|
|
852
852
|
fill: "none"
|
|
853
853
|
}), [
|
|
854
|
-
e.$attrs["svg-title"] ? (f(), E("title",
|
|
854
|
+
e.$attrs["svg-title"] ? (f(), E("title", $o, q(e.$attrs["svg-title"]), 1)) : z("", !0),
|
|
855
855
|
i[0] || (i[0] = O("path", {
|
|
856
856
|
fill: "#001222",
|
|
857
857
|
d: "M8 11.25L12.5 5.25H3.5L8 11.25Z"
|
|
858
858
|
}, null, -1))
|
|
859
859
|
], 16);
|
|
860
860
|
}
|
|
861
|
-
const
|
|
861
|
+
const ko = /* @__PURE__ */ se(Io, [["render", Do]]), fn = {
|
|
862
862
|
"en-US": {
|
|
863
863
|
columnActions: "{name} column actions",
|
|
864
864
|
freezeColumn: "Freeze column",
|
|
@@ -891,23 +891,23 @@ const Do = /* @__PURE__ */ se(No, [["render", $o]]), cn = {
|
|
|
891
891
|
selectAll: "Selecionar tudo",
|
|
892
892
|
unfreezeColumn: "Descongelar coluna"
|
|
893
893
|
}
|
|
894
|
-
},
|
|
894
|
+
}, Mo = ["aria-colindex", "aria-label", "aria-sort", "data-testid", "draggable", "tabindex"], Fo = {
|
|
895
895
|
key: 0,
|
|
896
896
|
class: "b-data-grid-columns__select-column"
|
|
897
|
-
},
|
|
897
|
+
}, Uo = ["aria-label"], zo = { class: "b-data-grid-columns__label" }, Po = {
|
|
898
898
|
key: 0,
|
|
899
899
|
class: "b-data-grid-columns__column-info-icon"
|
|
900
|
-
},
|
|
900
|
+
}, Bo = {
|
|
901
901
|
key: 1,
|
|
902
902
|
class: "b-data-grid-columns__column-sort"
|
|
903
|
-
},
|
|
903
|
+
}, Wo = ["data-testid", "onMousedown"], Go = {
|
|
904
904
|
key: 0,
|
|
905
905
|
class: "b-data-grid-columns__column-separator"
|
|
906
|
-
},
|
|
907
|
-
i18n: { messages:
|
|
906
|
+
}, Ho = ["aria-label", "aria-colindex"], Vo = {
|
|
907
|
+
i18n: { messages: fn },
|
|
908
908
|
name: "data-grid-columns"
|
|
909
|
-
},
|
|
910
|
-
...
|
|
909
|
+
}, xo = /* @__PURE__ */ Ne({
|
|
910
|
+
...Vo,
|
|
911
911
|
props: {
|
|
912
912
|
/**
|
|
913
913
|
* Column definitions using 'key' to relate to data object.
|
|
@@ -1040,7 +1040,7 @@ const Do = /* @__PURE__ */ se(No, [["render", $o]]), cn = {
|
|
|
1040
1040
|
},
|
|
1041
1041
|
emits: ["sort", "column-hover"],
|
|
1042
1042
|
setup(e, { expose: i, emit: a }) {
|
|
1043
|
-
const n = e, c = a, t = 100, { t: l } = Fe({ messages:
|
|
1043
|
+
const n = e, c = a, t = 100, { t: l } = Fe({ messages: fn }), { columns: _, sortBy: C } = ft(n), w = R({}), L = R({}), v = R(), D = R(), y = (s) => c(le.SELECT_ALL_ROWS, s), u = (s) => s.field === _e, b = p(() => [
|
|
1044
1044
|
{
|
|
1045
1045
|
text: l("selectPage"),
|
|
1046
1046
|
handler: () => y(!0)
|
|
@@ -1049,7 +1049,7 @@ const Do = /* @__PURE__ */ se(No, [["render", $o]]), cn = {
|
|
|
1049
1049
|
text: l("selectAll"),
|
|
1050
1050
|
handler: () => c(le.SELECT_ALL_ACROSS_PAGES)
|
|
1051
1051
|
}
|
|
1052
|
-
]), { startResize: A, isResizing: d, columnHoverEventToEmitAfterResizing: g } =
|
|
1052
|
+
]), { startResize: A, isResizing: d, columnHoverEventToEmitAfterResizing: g } = Fl(_, c), { isSorting: r, getSortingDirection: T, sortByColumnField: F } = Kl(C, _, c), P = (s) => {
|
|
1053
1053
|
var ne;
|
|
1054
1054
|
if (!s.sortable)
|
|
1055
1055
|
return null;
|
|
@@ -1058,7 +1058,7 @@ const Do = /* @__PURE__ */ se(No, [["render", $o]]), cn = {
|
|
|
1058
1058
|
[Me.ASCENDING]: tt.ASCENDING,
|
|
1059
1059
|
[Me.DESCENDING]: tt.DESCENDING
|
|
1060
1060
|
}[W] : tt.NONE;
|
|
1061
|
-
}, m =
|
|
1061
|
+
}, m = p(() => (s) => n.hasDraggableColumns ? {
|
|
1062
1062
|
dragstart: (W) => {
|
|
1063
1063
|
c(le.COLUMN_DRAG_START, s, W);
|
|
1064
1064
|
},
|
|
@@ -1074,23 +1074,23 @@ const Do = /* @__PURE__ */ se(No, [["render", $o]]), cn = {
|
|
|
1074
1074
|
dragend: () => {
|
|
1075
1075
|
c(le.COLUMN_DRAG_END);
|
|
1076
1076
|
}
|
|
1077
|
-
} : {}), k =
|
|
1077
|
+
} : {}), k = p(() => (s) => [
|
|
1078
1078
|
{
|
|
1079
1079
|
text: l("moveColumnLeft"),
|
|
1080
1080
|
handler: () => c(le.COLUMN_MOVE, s, -1),
|
|
1081
|
-
icon:
|
|
1081
|
+
icon: Ol,
|
|
1082
1082
|
disabled: n.columns[0].field === s.field
|
|
1083
1083
|
},
|
|
1084
1084
|
{
|
|
1085
1085
|
text: l("moveColumnRight"),
|
|
1086
1086
|
handler: () => c(le.COLUMN_MOVE, s, 1),
|
|
1087
|
-
icon:
|
|
1087
|
+
icon: go,
|
|
1088
1088
|
disabled: n.columns[n.columns.length - 1].field === s.field
|
|
1089
1089
|
},
|
|
1090
1090
|
{
|
|
1091
1091
|
text: s != null && s.frozen ? l("unfreezeColumn") : l("freezeColumn"),
|
|
1092
1092
|
handler: () => c(le.COLUMN_UPDATE, { ...s, frozen: !(s != null && s.frozen) }),
|
|
1093
|
-
icon:
|
|
1093
|
+
icon: cn
|
|
1094
1094
|
},
|
|
1095
1095
|
{
|
|
1096
1096
|
text: (s == null ? void 0 : s.visible) !== !1 ? l("hideColumn") : l("showColumn"),
|
|
@@ -1100,7 +1100,7 @@ const Do = /* @__PURE__ */ se(No, [["render", $o]]), cn = {
|
|
|
1100
1100
|
visible: (s == null ? void 0 : s.visible) === !1
|
|
1101
1101
|
});
|
|
1102
1102
|
},
|
|
1103
|
-
icon: (s == null ? void 0 : s.visible) !== !1 ?
|
|
1103
|
+
icon: (s == null ? void 0 : s.visible) !== !1 ? Tl : Nl,
|
|
1104
1104
|
disabled: (s == null ? void 0 : s.mandatory) || (s == null ? void 0 : s.visible) !== !1 && n.isOnlyOneVisibleColumn
|
|
1105
1105
|
}
|
|
1106
1106
|
]), V = (s) => {
|
|
@@ -1119,11 +1119,11 @@ const Do = /* @__PURE__ */ se(No, [["render", $o]]), cn = {
|
|
|
1119
1119
|
X(), d.value ? g.value = null : c("column-hover", null);
|
|
1120
1120
|
},
|
|
1121
1121
|
focus: () => {
|
|
1122
|
-
V(s), u(s) &&
|
|
1122
|
+
V(s), u(s) && _t(w.value[s.field]);
|
|
1123
1123
|
},
|
|
1124
1124
|
focusout: (N) => {
|
|
1125
1125
|
var ne, J;
|
|
1126
|
-
(J = (ne =
|
|
1126
|
+
(J = (ne = w.value) == null ? void 0 : ne[s.field]) != null && J.contains(N == null ? void 0 : N.relatedTarget) || X();
|
|
1127
1127
|
}
|
|
1128
1128
|
};
|
|
1129
1129
|
return u(s) || (W = {
|
|
@@ -1132,13 +1132,13 @@ const Do = /* @__PURE__ */ se(No, [["render", $o]]), cn = {
|
|
|
1132
1132
|
}), W;
|
|
1133
1133
|
}, te = (s) => s.infoIconTooltip || s.sortable || n.hasColumnPanel, me = (s, W) => {
|
|
1134
1134
|
var N;
|
|
1135
|
-
((N =
|
|
1136
|
-
}, he =
|
|
1135
|
+
((N = w.value) == null ? void 0 : N[W]) === void 0 && (w.value = { ...w.value, [W]: null }), s !== null && (w.value[W] = s);
|
|
1136
|
+
}, he = p(() => {
|
|
1137
1137
|
var W;
|
|
1138
1138
|
const s = {
|
|
1139
1139
|
"b-data-grid-columns--is-measuring": n.isMeasuringColumnWidths
|
|
1140
1140
|
};
|
|
1141
|
-
return (W =
|
|
1141
|
+
return (W = _.value[0]) != null && W.frozen ? {
|
|
1142
1142
|
...s,
|
|
1143
1143
|
"b-data-grid-columns--frozen": !0,
|
|
1144
1144
|
"b-data-grid-columns--frozen-separator": n.showFrozenColumnsSeparator,
|
|
@@ -1147,20 +1147,20 @@ const Do = /* @__PURE__ */ se(No, [["render", $o]]), cn = {
|
|
|
1147
1147
|
...s,
|
|
1148
1148
|
"b-data-grid-columns--unfrozen": !0
|
|
1149
1149
|
};
|
|
1150
|
-
}), de = (s, W) => s && W === 0 ?
|
|
1151
|
-
var N, ne, J, Ue, Ge, ze,
|
|
1150
|
+
}), de = (s, W) => s && W === 0 ? Dt.BOTTOM_START : Dt.BOTTOM_END, ge = (s, W) => {
|
|
1151
|
+
var N, ne, J, Ue, Ge, ze, S, I, K, G;
|
|
1152
1152
|
return {
|
|
1153
1153
|
"b-data-grid-columns__column--column-hovered": s.field === n.hoveredOverColumnState.hoveredOverColumnField,
|
|
1154
1154
|
"b-data-grid-columns__column--column-hovered-no-border-left": s.field === n.hoveredOverColumnState.hoveredOverColumnField && n.hoveredOverColumnState.noBorderLeft,
|
|
1155
1155
|
"b-data-grid-columns__column--column-hovered-no-border-right": s.field === n.hoveredOverColumnState.hoveredOverColumnField && n.hoveredOverColumnState.noBorderRight,
|
|
1156
|
-
"b-data-grid-columns__column--last-frozen-frozen-column": n.isFrozenColumns && W ===
|
|
1156
|
+
"b-data-grid-columns__column--last-frozen-frozen-column": n.isFrozenColumns && W === _.value.length - 1,
|
|
1157
1157
|
"b-data-grid-columns__column--sortable": s.sortable,
|
|
1158
1158
|
"b-data-grid-columns__column--padding-left-unset": ((N = s == null ? void 0 : s.padding) == null ? void 0 : N.left) === !1,
|
|
1159
1159
|
"b-data-grid-columns__column--padding-right-unset": ((ne = s == null ? void 0 : s.padding) == null ? void 0 : ne.right) === !1,
|
|
1160
1160
|
"b-data-grid-columns__column--numeric": s == null ? void 0 : s.numeric,
|
|
1161
1161
|
"b-data-grid-columns__column--frozen": s == null ? void 0 : s.frozen,
|
|
1162
1162
|
"b-data-grid-columns__column--is-re-ordering": (s == null ? void 0 : s.field) === ((Ue = (J = n.draggingColumns) == null ? void 0 : J.dragging) == null ? void 0 : Ue.field),
|
|
1163
|
-
"b-data-grid-columns__column--is-re-ordering-target-left": (s == null ? void 0 : s.field) === ((ze = (Ge = n.draggingColumns) == null ? void 0 : Ge.target) == null ? void 0 : ze.field) && ((
|
|
1163
|
+
"b-data-grid-columns__column--is-re-ordering-target-left": (s == null ? void 0 : s.field) === ((ze = (Ge = n.draggingColumns) == null ? void 0 : Ge.target) == null ? void 0 : ze.field) && ((S = n.draggingColumns) == null ? void 0 : S.dragToLeft),
|
|
1164
1164
|
"b-data-grid-columns__column--is-re-ordering-target-right": (s == null ? void 0 : s.field) === ((K = (I = n.draggingColumns) == null ? void 0 : I.target) == null ? void 0 : K.field) && !((G = n.draggingColumns) != null && G.dragToLeft),
|
|
1165
1165
|
"b-data-grid-columns__column--with-sorting-or-column-panel": s.sortable || s.infoIconTooltip || n.hasColumnPanel && v.value === s.field || n.selectableAcrossPages
|
|
1166
1166
|
};
|
|
@@ -1171,16 +1171,16 @@ const Do = /* @__PURE__ */ se(No, [["render", $o]]), cn = {
|
|
|
1171
1171
|
}), Z = (s) => ({
|
|
1172
1172
|
"b-data-grid-columns__column-separator-container--is-resizeable": n.hasResizableColumns,
|
|
1173
1173
|
"b-data-grid-columns__column-separator-container--is-offset": n.hoveredOverColumnState.hoveredOverColumnField === s.field && n.hoveredOverColumnState.isSeparatorOffset
|
|
1174
|
-
}), x =
|
|
1174
|
+
}), x = p(() => ({
|
|
1175
1175
|
"b-data-grid-columns__column-header--truncated": n.truncateColumnHeaders
|
|
1176
1176
|
}));
|
|
1177
1177
|
return i({
|
|
1178
|
-
columnHeaderRefs:
|
|
1178
|
+
columnHeaderRefs: w
|
|
1179
1179
|
}), (s, W) => (f(), E("div", {
|
|
1180
1180
|
class: fe(["b-data-grid-columns", he.value]),
|
|
1181
1181
|
"data-testid": "data-grid-columns"
|
|
1182
1182
|
}, [
|
|
1183
|
-
(f(!0), E(ve, null, be(o(
|
|
1183
|
+
(f(!0), E(ve, null, be(o(_), (N, ne) => (f(), E("div", ee({
|
|
1184
1184
|
key: N.field,
|
|
1185
1185
|
ref_for: !0,
|
|
1186
1186
|
ref: (J) => me(J, N.field),
|
|
@@ -1194,8 +1194,8 @@ const Do = /* @__PURE__ */ se(No, [["render", $o]]), cn = {
|
|
|
1194
1194
|
tabindex: N.sortable || e.hasColumnPanel || N.infoIconTooltip ? "0" : "-1",
|
|
1195
1195
|
style: { width: N.autoWidth && e.isMeasuringColumnWidths ? "auto" : `${N.width}px` }
|
|
1196
1196
|
}, nt(re(N), !0)), [
|
|
1197
|
-
u(N) && e.selectable ? (f(), E("div",
|
|
1198
|
-
Y(o(
|
|
1197
|
+
u(N) && e.selectable ? (f(), E("div", Fo, [
|
|
1198
|
+
Y(o(an), {
|
|
1199
1199
|
"aria-label": o(l)("selectAll"),
|
|
1200
1200
|
"model-value": e.allItemsSelectedState.allItemsSelected,
|
|
1201
1201
|
"data-testid": "checkbox-select-all",
|
|
@@ -1213,7 +1213,7 @@ const Do = /* @__PURE__ */ se(No, [["render", $o]]), cn = {
|
|
|
1213
1213
|
button: { variant: "tertiary", condensed: !0 }
|
|
1214
1214
|
}, {
|
|
1215
1215
|
iconLeft: H(() => [
|
|
1216
|
-
Y(o(
|
|
1216
|
+
Y(o(ko), {
|
|
1217
1217
|
"svg-title": o(l)("selectionMenu")
|
|
1218
1218
|
}, null, 8, ["svg-title"])
|
|
1219
1219
|
]),
|
|
@@ -1233,7 +1233,7 @@ const Do = /* @__PURE__ */ se(No, [["render", $o]]), cn = {
|
|
|
1233
1233
|
}, {
|
|
1234
1234
|
default: H(() => [
|
|
1235
1235
|
Te(s.$slots, `head-${N.field}`, { column: N }, () => [
|
|
1236
|
-
O("span",
|
|
1236
|
+
O("span", zo, q(N.label), 1)
|
|
1237
1237
|
], !0)
|
|
1238
1238
|
]),
|
|
1239
1239
|
_: 2
|
|
@@ -1242,26 +1242,26 @@ const Do = /* @__PURE__ */ se(No, [["render", $o]]), cn = {
|
|
|
1242
1242
|
key: 0,
|
|
1243
1243
|
class: fe(["b-data-grid-columns__column-actions", h(N)])
|
|
1244
1244
|
}, [
|
|
1245
|
-
N.infoIconTooltip ? (f(), E("div",
|
|
1246
|
-
Y(o(
|
|
1245
|
+
N.infoIconTooltip ? (f(), E("div", Po, [
|
|
1246
|
+
Y(o(Ll), {
|
|
1247
1247
|
"tooltip-text": N.infoIconTooltip
|
|
1248
1248
|
}, null, 8, ["tooltip-text"])
|
|
1249
1249
|
])) : z("", !0),
|
|
1250
|
-
N.sortable ? (f(), E("div",
|
|
1251
|
-
Y(o(
|
|
1250
|
+
N.sortable ? (f(), E("div", Bo, [
|
|
1251
|
+
Y(o(wt), {
|
|
1252
1252
|
condensed: "",
|
|
1253
1253
|
toggled: o(r)(N.field),
|
|
1254
1254
|
variant: "tertiary",
|
|
1255
1255
|
onClick: (J) => o(F)(N.field)
|
|
1256
1256
|
}, {
|
|
1257
1257
|
iconLeft: H(() => [
|
|
1258
|
-
o(T)(N.field) ? o(T)(N.field) === o(Me).ASCENDING ? (f(), B(o(
|
|
1258
|
+
o(T)(N.field) ? o(T)(N.field) === o(Me).ASCENDING ? (f(), B(o(Eo), {
|
|
1259
1259
|
key: 1,
|
|
1260
1260
|
"svg-title": o(l)("sortColumnInDescendingOrder", { name: N.label })
|
|
1261
|
-
}, null, 8, ["svg-title"])) : o(T)(N.field) === o(Me).DESCENDING ? (f(), B(o(
|
|
1261
|
+
}, null, 8, ["svg-title"])) : o(T)(N.field) === o(Me).DESCENDING ? (f(), B(o(No), {
|
|
1262
1262
|
key: 2,
|
|
1263
1263
|
"svg-title": o(l)("sortColumnInAscendingOrder", { name: N.label })
|
|
1264
|
-
}, null, 8, ["svg-title"])) : z("", !0) : (f(), B(o(
|
|
1264
|
+
}, null, 8, ["svg-title"])) : z("", !0) : (f(), B(o(ro), {
|
|
1265
1265
|
key: 0,
|
|
1266
1266
|
"svg-title": o(l)("sortColumn", { name: N.label })
|
|
1267
1267
|
}, null, 8, ["svg-title"]))
|
|
@@ -1283,19 +1283,19 @@ const Do = /* @__PURE__ */ se(No, [["render", $o]]), cn = {
|
|
|
1283
1283
|
onClose: W[1] || (W[1] = (J) => s.$emit(o(le).COLUMN_MENU_CLOSE))
|
|
1284
1284
|
}, null, 8, ["data", "menu-position"])) : z("", !0)
|
|
1285
1285
|
], 2)) : z("", !0)
|
|
1286
|
-
], 10,
|
|
1286
|
+
], 10, Uo),
|
|
1287
1287
|
O("div", {
|
|
1288
1288
|
"data-testid": `data-grid-column-${N.field}`,
|
|
1289
1289
|
class: fe(["b-data-grid-columns__column-separator-container", Z(N)]),
|
|
1290
1290
|
role: "presentation",
|
|
1291
1291
|
onMousedown: (J) => o(A)(e.hasResizableColumns, N.field, J),
|
|
1292
|
-
onClick: W[2] || (W[2] =
|
|
1292
|
+
onClick: W[2] || (W[2] = tl(() => {
|
|
1293
1293
|
}, ["stop"]))
|
|
1294
1294
|
}, [
|
|
1295
|
-
!e.isFrozenColumns || e.isFrozenColumns && ne !== o(
|
|
1296
|
-
], 42,
|
|
1295
|
+
!e.isFrozenColumns || e.isFrozenColumns && ne !== o(_).length - 1 ? (f(), E("div", Go)) : z("", !0)
|
|
1296
|
+
], 42, Wo)
|
|
1297
1297
|
], 64))
|
|
1298
|
-
], 16,
|
|
1298
|
+
], 16, Mo))), 128)),
|
|
1299
1299
|
e.rowActionsMaximumWidth && !e.isFrozenColumns ? (f(), E(ve, { key: 0 }, [
|
|
1300
1300
|
W[3] || (W[3] = O("div", {
|
|
1301
1301
|
role: "presentation",
|
|
@@ -1304,24 +1304,24 @@ const Do = /* @__PURE__ */ se(No, [["render", $o]]), cn = {
|
|
|
1304
1304
|
O("div", {
|
|
1305
1305
|
ref: (N) => me(N, o(je)),
|
|
1306
1306
|
"aria-label": o(l)("rowActionsColumn"),
|
|
1307
|
-
"aria-colindex": o(
|
|
1307
|
+
"aria-colindex": o(_).length + 1,
|
|
1308
1308
|
class: "b-data-grid-columns__column",
|
|
1309
1309
|
role: "columnheader",
|
|
1310
1310
|
tabindex: "0",
|
|
1311
1311
|
style: De({ minWidth: `${e.rowActionsMaximumWidth}px` })
|
|
1312
|
-
}, null, 12,
|
|
1312
|
+
}, null, 12, Ho)
|
|
1313
1313
|
], 64)) : z("", !0)
|
|
1314
1314
|
], 2));
|
|
1315
1315
|
}
|
|
1316
|
-
}),
|
|
1316
|
+
}), Zo = /* @__PURE__ */ se(xo, [["__scopeId", "data-v-732a0287"]]);
|
|
1317
1317
|
var $e = /* @__PURE__ */ ((e) => (e.CONFIG_SETTINGS = "config-settings", e.UPDATE_COLUMNS = "update:columns", e))($e || {});
|
|
1318
|
-
let
|
|
1319
|
-
const
|
|
1318
|
+
let jt = 0;
|
|
1319
|
+
const jo = {
|
|
1320
1320
|
beforeCreate() {
|
|
1321
|
-
this.uuid =
|
|
1321
|
+
this.uuid = jt.toString(), jt += 1;
|
|
1322
1322
|
}
|
|
1323
|
-
},
|
|
1324
|
-
function
|
|
1323
|
+
}, qo = { key: 0 }, Ko = ["clip-path"], Yo = ["id"];
|
|
1324
|
+
function Xo(e, i, a, n, c, t) {
|
|
1325
1325
|
return f(), E("svg", ee({ role: "img" }, e.$attrs, {
|
|
1326
1326
|
class: "ui-assets-icons-16",
|
|
1327
1327
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1329,14 +1329,14 @@ function Yo(e, i, a, n, c, t) {
|
|
|
1329
1329
|
height: "16",
|
|
1330
1330
|
fill: "none"
|
|
1331
1331
|
}), [
|
|
1332
|
-
e.$attrs["svg-title"] ? (f(), E("title",
|
|
1332
|
+
e.$attrs["svg-title"] ? (f(), E("title", qo, q(e.$attrs["svg-title"]), 1)) : z("", !0),
|
|
1333
1333
|
O("g", {
|
|
1334
1334
|
fill: "#001222",
|
|
1335
1335
|
"clip-path": "url(#uia-ui-assets/icons-16-settings__a" + e.uuid + ")"
|
|
1336
1336
|
}, i[0] || (i[0] = [
|
|
1337
1337
|
O("path", { d: "M8 5.25C6.48122 5.25 5.25 6.48122 5.25 8C5.25 9.51878 6.48122 10.75 8 10.75C9.51878 10.75 10.75 9.51878 10.75 8C10.75 6.48122 9.51878 5.25 8 5.25ZM6.75 8C6.75 7.30964 7.30964 6.75 8 6.75C8.69036 6.75 9.25 7.30964 9.25 8C9.25 8.69036 8.69036 9.25 8 9.25C7.30964 9.25 6.75 8.69036 6.75 8Z" }, null, -1),
|
|
1338
1338
|
O("path", { d: "M6.84701 0.973015L6.59985 0.35083L5.9537 0.526056C4.64534 0.880867 3.48225 1.56808 2.55285 2.48641L2.07533 2.95826L2.49158 3.48495C2.79648 3.87074 2.85279 4.419 2.58992 4.87589C2.32905 5.32931 1.82436 5.55631 1.33473 5.48726L0.677319 5.39455L0.505539 6.03586C0.33838 6.65992 0.25 7.32519 0.25 7.99991C0.25 8.67463 0.33838 9.3399 0.505539 9.96396L0.677319 10.6053L1.33473 10.5126C1.82436 10.4435 2.32905 10.6705 2.58992 11.1239C2.85279 11.5808 2.79648 12.1291 2.49158 12.5149L2.07533 13.0416L2.55285 13.5134C3.48225 14.4317 4.64534 15.119 5.9537 15.4738L6.59985 15.649L6.84701 15.0268C7.02659 14.5748 7.47549 14.2499 8 14.2499C8.52452 14.2499 8.97341 14.5748 9.15299 15.0268L9.40016 15.649L10.0463 15.4738C11.3547 15.119 12.5177 14.4317 13.4471 13.5134L13.9247 13.0416L13.5084 12.5149C13.2035 12.1291 13.1472 11.5808 13.4101 11.1239C13.671 10.6705 14.1756 10.4435 14.6653 10.5126L15.3227 10.6053L15.4945 9.96396C15.6616 9.3399 15.75 8.67463 15.75 7.99991C15.75 7.32519 15.6616 6.65992 15.4945 6.03586L15.3227 5.39455L14.6653 5.48726C14.1756 5.55631 13.671 5.32931 13.4101 4.87589C13.1472 4.419 13.2035 3.87074 13.5084 3.48495L13.9247 2.95826L13.4471 2.48641C12.5177 1.56808 11.3547 0.880867 10.0463 0.526056L9.40016 0.35083L9.15299 0.973015C8.97341 1.42506 8.52452 1.74991 8 1.74991C7.47549 1.74991 7.02659 1.42506 6.84701 0.973015ZM3.89008 5.62393C4.33946 4.84286 4.36394 3.9353 4.03405 3.16853C4.55803 2.73795 5.15349 2.39116 5.80146 2.14902C6.30062 2.81653 7.10051 3.24991 8 3.24991C8.89949 3.24991 9.69938 2.81653 10.1985 2.14902C10.8465 2.39116 11.442 2.73795 11.966 3.16853C11.6361 3.9353 11.6605 4.84287 12.1099 5.62393C12.5612 6.40839 13.3382 6.88092 14.1658 6.97982C14.221 7.31075 14.25 7.65319 14.25 7.99991C14.25 8.34663 14.221 8.68908 14.1658 9.02001C13.3382 9.11891 12.5612 9.59143 12.1099 10.3759C11.6605 11.157 11.6361 12.0645 11.9659 12.8313C11.442 13.2619 10.8465 13.6087 10.1985 13.8508C9.69938 13.1833 8.89949 12.7499 8 12.7499C7.10051 12.7499 6.30062 13.1833 5.80146 13.8508C5.15349 13.6087 4.55803 13.2619 4.03405 12.8313C4.36394 12.0645 4.33946 11.157 3.89008 10.3759C3.43875 9.59143 2.66177 9.1189 1.8342 9.02C1.77896 8.68908 1.75 8.34663 1.75 7.99991C1.75 7.65319 1.77896 7.31074 1.8342 6.97982C2.66177 6.88092 3.43875 6.40839 3.89008 5.62393Z" }, null, -1)
|
|
1339
|
-
]), 8,
|
|
1339
|
+
]), 8, Ko),
|
|
1340
1340
|
O("defs", null, [
|
|
1341
1341
|
O("clipPath", {
|
|
1342
1342
|
id: "uia-ui-assets/icons-16-settings__a" + e.uuid
|
|
@@ -1346,21 +1346,21 @@ function Yo(e, i, a, n, c, t) {
|
|
|
1346
1346
|
height: "16",
|
|
1347
1347
|
fill: "#fff"
|
|
1348
1348
|
}, null, -1)
|
|
1349
|
-
]), 8,
|
|
1349
|
+
]), 8, Yo)
|
|
1350
1350
|
])
|
|
1351
1351
|
], 16);
|
|
1352
1352
|
}
|
|
1353
|
-
const
|
|
1353
|
+
const Jo = /* @__PURE__ */ se(jo, [["render", Xo]]), qt = {
|
|
1354
1354
|
"en-US": {
|
|
1355
1355
|
toggleColumnFreeze: "Toggle {label} column freeze",
|
|
1356
1356
|
toggleColumnVisibility: "Toggle {label} column visibility"
|
|
1357
1357
|
}
|
|
1358
|
-
},
|
|
1359
|
-
i18n: { messages:
|
|
1358
|
+
}, Qo = Ne({
|
|
1359
|
+
i18n: { messages: qt },
|
|
1360
1360
|
name: "bento-data-grid",
|
|
1361
1361
|
components: {
|
|
1362
|
-
BentoFreezeIcon:
|
|
1363
|
-
BentoToggle:
|
|
1362
|
+
BentoFreezeIcon: cn,
|
|
1363
|
+
BentoToggle: sn
|
|
1364
1364
|
},
|
|
1365
1365
|
props: {
|
|
1366
1366
|
/**
|
|
@@ -1380,21 +1380,21 @@ const Xo = /* @__PURE__ */ se(Zo, [["render", Yo]]), jt = {
|
|
|
1380
1380
|
},
|
|
1381
1381
|
emits: ["visible-column", "updated-column"],
|
|
1382
1382
|
setup(e, { emit: i }) {
|
|
1383
|
-
const { t: a } = Fe({ messages:
|
|
1383
|
+
const { t: a } = Fe({ messages: qt }), n = R(!1), c = p(() => {
|
|
1384
1384
|
var v;
|
|
1385
1385
|
return (v = e.column) == null ? void 0 : v.frozen;
|
|
1386
|
-
}), t =
|
|
1386
|
+
}), t = p(() => {
|
|
1387
1387
|
var v;
|
|
1388
1388
|
return ((v = e.column) == null ? void 0 : v.visible) !== !1;
|
|
1389
1389
|
}), l = () => {
|
|
1390
1390
|
i("visible-column", { ...e.column, visible: !t.value });
|
|
1391
|
-
},
|
|
1391
|
+
}, _ = () => {
|
|
1392
1392
|
i("updated-column", { ...e.column, frozen: !c.value });
|
|
1393
1393
|
}, C = () => {
|
|
1394
1394
|
c.value || (n.value = !0);
|
|
1395
|
-
},
|
|
1395
|
+
}, w = () => {
|
|
1396
1396
|
c.value || (n.value = !1);
|
|
1397
|
-
}, L =
|
|
1397
|
+
}, L = p(() => ({
|
|
1398
1398
|
"b-data-grid-config-settings-column-row__freeze-icon--frozen": c.value
|
|
1399
1399
|
}));
|
|
1400
1400
|
return {
|
|
@@ -1406,15 +1406,15 @@ const Xo = /* @__PURE__ */ se(Zo, [["render", Yo]]), jt = {
|
|
|
1406
1406
|
// Methods
|
|
1407
1407
|
toggleColumnVisibility: l,
|
|
1408
1408
|
showFreezeIcon: C,
|
|
1409
|
-
hideFreezeIcon:
|
|
1410
|
-
toggleColumnFreeze:
|
|
1409
|
+
hideFreezeIcon: w,
|
|
1410
|
+
toggleColumnFreeze: _,
|
|
1411
1411
|
// Translations
|
|
1412
1412
|
t: a
|
|
1413
1413
|
};
|
|
1414
1414
|
}
|
|
1415
1415
|
});
|
|
1416
|
-
function
|
|
1417
|
-
const l = Le("bento-toggle"),
|
|
1416
|
+
function es(e, i, a, n, c, t) {
|
|
1417
|
+
const l = Le("bento-toggle"), _ = Le("bento-freeze-icon");
|
|
1418
1418
|
return f(), E("div", {
|
|
1419
1419
|
class: "b-data-grid-config-settings-column-row",
|
|
1420
1420
|
onMouseover: i[0] || (i[0] = (...C) => e.showFreezeIcon && e.showFreezeIcon(...C)),
|
|
@@ -1432,16 +1432,16 @@ function Qo(e, i, a, n, c, t) {
|
|
|
1432
1432
|
]),
|
|
1433
1433
|
_: 1
|
|
1434
1434
|
}, 8, ["aria-label", "disabled", "value", "onInput"]),
|
|
1435
|
-
gt(Y(
|
|
1435
|
+
gt(Y(_, {
|
|
1436
1436
|
"aria-label": e.t("toggleColumnFreeze", { label: e.column.label }),
|
|
1437
1437
|
class: fe(["b-data-grid-config-settings-column-row__freeze-icon", e.freezeIconConditionalClasses]),
|
|
1438
1438
|
onClick: e.toggleColumnFreeze
|
|
1439
1439
|
}, null, 8, ["aria-label", "class", "onClick"]), [
|
|
1440
|
-
[
|
|
1440
|
+
[nl, e.isColumnFrozen || e.isFreezeIconOptionShown]
|
|
1441
1441
|
])
|
|
1442
1442
|
], 32);
|
|
1443
1443
|
}
|
|
1444
|
-
const
|
|
1444
|
+
const ts = /* @__PURE__ */ se(Qo, [["render", es], ["__scopeId", "data-v-bb87a729"]]), Kt = {
|
|
1445
1445
|
"en-US": {
|
|
1446
1446
|
closeConfigSettingsPanel: "Close configuration settings panel",
|
|
1447
1447
|
closeSearch: "Close search",
|
|
@@ -1467,19 +1467,19 @@ const es = /* @__PURE__ */ se(Jo, [["render", Qo], ["__scopeId", "data-v-bb87a72
|
|
|
1467
1467
|
search: "Buscar",
|
|
1468
1468
|
size: "Tamanho"
|
|
1469
1469
|
}
|
|
1470
|
-
},
|
|
1471
|
-
i18n: { messages:
|
|
1470
|
+
}, ns = Ne({
|
|
1471
|
+
i18n: { messages: Kt },
|
|
1472
1472
|
name: "bento-data-grid",
|
|
1473
1473
|
components: {
|
|
1474
|
-
BentoButton:
|
|
1475
|
-
BentoCrossIcon:
|
|
1476
|
-
BentoPopover:
|
|
1477
|
-
BentoSettingsIcon:
|
|
1478
|
-
BentoToggleButton:
|
|
1479
|
-
BentoDataGridConfigSettingsConfigRow:
|
|
1480
|
-
BentoSearchBar:
|
|
1481
|
-
BentoSearchIcon:
|
|
1482
|
-
BentoToggle:
|
|
1474
|
+
BentoButton: on,
|
|
1475
|
+
BentoCrossIcon: nn,
|
|
1476
|
+
BentoPopover: bl,
|
|
1477
|
+
BentoSettingsIcon: Jo,
|
|
1478
|
+
BentoToggleButton: wt,
|
|
1479
|
+
BentoDataGridConfigSettingsConfigRow: ts,
|
|
1480
|
+
BentoSearchBar: yl,
|
|
1481
|
+
BentoSearchIcon: El,
|
|
1482
|
+
BentoToggle: sn,
|
|
1483
1483
|
BentoTypography: Ke
|
|
1484
1484
|
},
|
|
1485
1485
|
directives: { BentoClickOutsideDirective: Sl },
|
|
@@ -1501,9 +1501,9 @@ const es = /* @__PURE__ */ se(Jo, [["render", Qo], ["__scopeId", "data-v-bb87a72
|
|
|
1501
1501
|
},
|
|
1502
1502
|
emits: [$e.CONFIG_SETTINGS, $e.UPDATE_COLUMNS],
|
|
1503
1503
|
setup(e, { emit: i }) {
|
|
1504
|
-
const { t: a } = Fe({ messages:
|
|
1505
|
-
|
|
1506
|
-
}, u =
|
|
1504
|
+
const { t: a } = Fe({ messages: Kt }), n = R(null), c = rt("data-grid-config-settings-popover"), t = R(null), l = R(!1), _ = R(!0), C = R(null), w = R(""), L = it(e, "columns"), v = R(!1), D = pl(w, L), y = () => {
|
|
1505
|
+
w.value = "";
|
|
1506
|
+
}, u = p(
|
|
1507
1507
|
() => !e.columns.some((m) => m.visible === !1 && !m.mandatory)
|
|
1508
1508
|
), b = () => {
|
|
1509
1509
|
y(), v.value = !v.value, v.value ? Ce(() => {
|
|
@@ -1512,7 +1512,7 @@ const es = /* @__PURE__ */ se(Jo, [["render", Qo], ["__scopeId", "data-v-bb87a72
|
|
|
1512
1512
|
}) : Ce(() => {
|
|
1513
1513
|
var m, k;
|
|
1514
1514
|
return (k = (m = C == null ? void 0 : C.value) == null ? void 0 : m.$el) == null ? void 0 : k.focus();
|
|
1515
|
-
}),
|
|
1515
|
+
}), _.value = u.value;
|
|
1516
1516
|
}, A = (m) => m.mandatory ?? !1, d = (m) => {
|
|
1517
1517
|
const k = e.columns.map((V) => ({
|
|
1518
1518
|
...V,
|
|
@@ -1534,20 +1534,20 @@ const es = /* @__PURE__ */ se(Jo, [["render", Qo], ["__scopeId", "data-v-bb87a72
|
|
|
1534
1534
|
}));
|
|
1535
1535
|
i($e.UPDATE_COLUMNS, k);
|
|
1536
1536
|
}, T = (m) => {
|
|
1537
|
-
l.value = m,
|
|
1537
|
+
l.value = m, _.value = u.value;
|
|
1538
1538
|
};
|
|
1539
1539
|
return {
|
|
1540
1540
|
// Values
|
|
1541
1541
|
configSettingsButtonRef: n,
|
|
1542
1542
|
popoverId: c,
|
|
1543
1543
|
isConfigSettingsPanelOpen: l,
|
|
1544
|
-
allColumnsVisbilityToggleState:
|
|
1544
|
+
allColumnsVisbilityToggleState: _,
|
|
1545
1545
|
filteredColumnVisibilityColumns: D,
|
|
1546
|
-
searchTerm:
|
|
1546
|
+
searchTerm: w,
|
|
1547
1547
|
isColumnVisibilityFilterShown: v,
|
|
1548
1548
|
searchBarRef: t,
|
|
1549
1549
|
searchButtonRef: C,
|
|
1550
|
-
DATAGRID_ACTIONS_COLUMN_FIELD_NAME:
|
|
1550
|
+
DATAGRID_ACTIONS_COLUMN_FIELD_NAME: _e,
|
|
1551
1551
|
// Methods
|
|
1552
1552
|
setConfigSettingsPanelVisibility: T,
|
|
1553
1553
|
emitCondensedToggle: (m) => i($e.CONFIG_SETTINGS, m),
|
|
@@ -1562,22 +1562,22 @@ const es = /* @__PURE__ */ se(Jo, [["render", Qo], ["__scopeId", "data-v-bb87a72
|
|
|
1562
1562
|
t: a
|
|
1563
1563
|
};
|
|
1564
1564
|
}
|
|
1565
|
-
}),
|
|
1565
|
+
}), ls = { class: "b-data-grid-config-settings" }, os = { class: "b-data-grid-config-settings__button-and-separator" }, ss = {
|
|
1566
1566
|
ref: "configSettingsButtonRef",
|
|
1567
1567
|
class: "b-data-grid-config-settings__button-container"
|
|
1568
|
-
},
|
|
1568
|
+
}, is = { class: "b-data-grid-config-settings__panel-header" }, as = { class: "b-data-grid-config-settings__condensed-view-settings" }, rs = { class: "b-data-grid-config-settings__column-visibility-settings" }, ds = { class: "b-data-grid-config-settings__column-visibility-header" }, us = {
|
|
1569
1569
|
key: 0,
|
|
1570
1570
|
class: "b-data-grid-config-settings__column-visibility-search"
|
|
1571
|
-
},
|
|
1571
|
+
}, cs = {
|
|
1572
1572
|
key: 1,
|
|
1573
1573
|
class: "b-data-grid-config-settings__column-visibility-show-all"
|
|
1574
|
-
},
|
|
1575
|
-
function
|
|
1576
|
-
const l = Le("bento-settings-icon"),
|
|
1577
|
-
return gt((f(), E("div",
|
|
1578
|
-
O("div",
|
|
1579
|
-
O("div",
|
|
1580
|
-
Y(
|
|
1574
|
+
}, fs = { class: "b-data-grid-config-settings__column-visibility-toggles" };
|
|
1575
|
+
function gs(e, i, a, n, c, t) {
|
|
1576
|
+
const l = Le("bento-settings-icon"), _ = Le("bento-toggle-button"), C = Le("bento-typography"), w = Le("bento-cross-icon"), L = Le("bento-button"), v = Le("bento-toggle"), D = Le("bento-search-icon"), y = Le("bento-search-bar"), u = Le("bento-data-grid-config-settings-config-row"), b = Le("bento-popover"), A = ll("bento-click-outside-directive");
|
|
1577
|
+
return gt((f(), E("div", ls, [
|
|
1578
|
+
O("div", os, [
|
|
1579
|
+
O("div", ss, [
|
|
1580
|
+
Y(_, {
|
|
1581
1581
|
"aria-controls": e.isConfigSettingsPanelOpen ? e.popoverId : null,
|
|
1582
1582
|
variant: "tertiary",
|
|
1583
1583
|
condensed: "",
|
|
@@ -1603,7 +1603,7 @@ function fs(e, i, a, n, c, t) {
|
|
|
1603
1603
|
position: "bottom-end"
|
|
1604
1604
|
}, {
|
|
1605
1605
|
default: H(() => [
|
|
1606
|
-
O("div",
|
|
1606
|
+
O("div", is, [
|
|
1607
1607
|
Y(C, {
|
|
1608
1608
|
el: "span",
|
|
1609
1609
|
strongest: ""
|
|
@@ -1618,14 +1618,14 @@ function fs(e, i, a, n, c, t) {
|
|
|
1618
1618
|
onClick: i[1] || (i[1] = (d) => e.setConfigSettingsPanelVisibility(!1))
|
|
1619
1619
|
}, {
|
|
1620
1620
|
iconLeft: H(() => [
|
|
1621
|
-
Y(
|
|
1621
|
+
Y(w, {
|
|
1622
1622
|
"svg-title": e.t("closeConfigSettingsPanel")
|
|
1623
1623
|
}, null, 8, ["svg-title"])
|
|
1624
1624
|
]),
|
|
1625
1625
|
_: 1
|
|
1626
1626
|
})
|
|
1627
1627
|
]),
|
|
1628
|
-
O("div",
|
|
1628
|
+
O("div", as, [
|
|
1629
1629
|
Y(C, {
|
|
1630
1630
|
class: "b-data-grid-config-settings__condensed-view-title",
|
|
1631
1631
|
el: "span",
|
|
@@ -1648,8 +1648,8 @@ function fs(e, i, a, n, c, t) {
|
|
|
1648
1648
|
_: 1
|
|
1649
1649
|
}, 8, ["aria-label", "value", "onInput"])
|
|
1650
1650
|
]),
|
|
1651
|
-
O("div",
|
|
1652
|
-
O("div",
|
|
1651
|
+
O("div", rs, [
|
|
1652
|
+
O("div", ds, [
|
|
1653
1653
|
Y(C, {
|
|
1654
1654
|
class: "b-data-grid-config-settings__column-visibility-title",
|
|
1655
1655
|
el: "span",
|
|
@@ -1666,7 +1666,7 @@ function fs(e, i, a, n, c, t) {
|
|
|
1666
1666
|
onClick: e.toggleColumnFilter
|
|
1667
1667
|
}, {
|
|
1668
1668
|
iconLeft: H(() => [
|
|
1669
|
-
Y(
|
|
1669
|
+
Y(w)
|
|
1670
1670
|
]),
|
|
1671
1671
|
default: H(() => [
|
|
1672
1672
|
ce(" " + q(e.t("closeSearch")), 1)
|
|
@@ -1687,7 +1687,7 @@ function fs(e, i, a, n, c, t) {
|
|
|
1687
1687
|
_: 1
|
|
1688
1688
|
}, 8, ["onClick"]))
|
|
1689
1689
|
]),
|
|
1690
|
-
e.isColumnVisibilityFilterShown ? (f(), E("div",
|
|
1690
|
+
e.isColumnVisibilityFilterShown ? (f(), E("div", us, [
|
|
1691
1691
|
Y(y, {
|
|
1692
1692
|
ref: "searchBarRef",
|
|
1693
1693
|
value: e.searchTerm,
|
|
@@ -1696,7 +1696,7 @@ function fs(e, i, a, n, c, t) {
|
|
|
1696
1696
|
onClear: e.clearAction,
|
|
1697
1697
|
onEscapePressed: e.toggleColumnFilter
|
|
1698
1698
|
}, null, 8, ["value", "input-field-aria-label", "onClear", "onEscapePressed"])
|
|
1699
|
-
])) : (f(), E("div",
|
|
1699
|
+
])) : (f(), E("div", cs, [
|
|
1700
1700
|
Y(v, {
|
|
1701
1701
|
"label-position": "after",
|
|
1702
1702
|
value: e.allColumnsVisbilityToggleState,
|
|
@@ -1708,7 +1708,7 @@ function fs(e, i, a, n, c, t) {
|
|
|
1708
1708
|
_: 1
|
|
1709
1709
|
}, 8, ["value", "onInput"])
|
|
1710
1710
|
])),
|
|
1711
|
-
O("div",
|
|
1711
|
+
O("div", fs, [
|
|
1712
1712
|
(f(!0), E(ve, null, be(e.filteredColumnVisibilityColumns, (d) => (f(), E("div", {
|
|
1713
1713
|
key: d.field
|
|
1714
1714
|
}, [
|
|
@@ -1739,7 +1739,7 @@ function fs(e, i, a, n, c, t) {
|
|
|
1739
1739
|
[A, e.onClickOutside]
|
|
1740
1740
|
]);
|
|
1741
1741
|
}
|
|
1742
|
-
const
|
|
1742
|
+
const vs = /* @__PURE__ */ se(ns, [["render", gs], ["__scopeId", "data-v-f5950a53"]]), lt = {
|
|
1743
1743
|
"en-US": {
|
|
1744
1744
|
gettingYourData: "Getting your data",
|
|
1745
1745
|
loading: "Loading",
|
|
@@ -1757,10 +1757,10 @@ const gs = /* @__PURE__ */ se(ts, [["render", fs], ["__scopeId", "data-v-f5950a5
|
|
|
1757
1757
|
loading: "Carregando",
|
|
1758
1758
|
showMore: "Mostrar mais"
|
|
1759
1759
|
}
|
|
1760
|
-
},
|
|
1760
|
+
}, ms = { class: "b-data-grid-lazy-load" }, hs = {
|
|
1761
1761
|
i18n: { messages: lt }
|
|
1762
|
-
},
|
|
1763
|
-
...
|
|
1762
|
+
}, Cs = /* @__PURE__ */ Ne({
|
|
1763
|
+
...hs,
|
|
1764
1764
|
__name: "data-grid-lazy-load",
|
|
1765
1765
|
props: {
|
|
1766
1766
|
loading: { type: Boolean },
|
|
@@ -1768,21 +1768,21 @@ const gs = /* @__PURE__ */ se(ts, [["render", fs], ["__scopeId", "data-v-f5950a5
|
|
|
1768
1768
|
},
|
|
1769
1769
|
setup(e) {
|
|
1770
1770
|
const { t: i } = Fe({ messages: lt });
|
|
1771
|
-
return (a, n) => (f(), E("div",
|
|
1771
|
+
return (a, n) => (f(), E("div", ms, [
|
|
1772
1772
|
a.loading && a.isInfiniteScroll ? (f(), B(o(mt), { key: 0 })) : z("", !0),
|
|
1773
|
-
a.loading && !a.isInfiniteScroll ? (f(), B(o(
|
|
1773
|
+
a.loading && !a.isInfiniteScroll ? (f(), B(o(kt), {
|
|
1774
1774
|
key: 1,
|
|
1775
1775
|
variant: "secondary",
|
|
1776
|
-
state: o(
|
|
1776
|
+
state: o(Mt).LOADING
|
|
1777
1777
|
}, {
|
|
1778
1778
|
default: H(() => [
|
|
1779
1779
|
ce(q(o(i)("loading")), 1)
|
|
1780
1780
|
]),
|
|
1781
1781
|
_: 1
|
|
1782
1782
|
}, 8, ["state"])) : z("", !0),
|
|
1783
|
-
!a.loading && !a.isInfiniteScroll ? (f(), B(o(
|
|
1783
|
+
!a.loading && !a.isInfiniteScroll ? (f(), B(o(kt), {
|
|
1784
1784
|
key: 2,
|
|
1785
|
-
state: o(
|
|
1785
|
+
state: o(Mt).START,
|
|
1786
1786
|
variant: "secondary",
|
|
1787
1787
|
onClick: n[0] || (n[0] = (c) => a.$emit(o(M).UPDATE_SHOW_MORE))
|
|
1788
1788
|
}, {
|
|
@@ -1793,14 +1793,14 @@ const gs = /* @__PURE__ */ se(ts, [["render", fs], ["__scopeId", "data-v-f5950a5
|
|
|
1793
1793
|
}, 8, ["state"])) : z("", !0)
|
|
1794
1794
|
]));
|
|
1795
1795
|
}
|
|
1796
|
-
}),
|
|
1797
|
-
let
|
|
1796
|
+
}), ws = /* @__PURE__ */ se(Cs, [["__scopeId", "data-v-a4824c2d"]]);
|
|
1797
|
+
let Yt = 0;
|
|
1798
1798
|
const _s = {
|
|
1799
1799
|
beforeCreate() {
|
|
1800
|
-
this.uuid =
|
|
1800
|
+
this.uuid = Yt.toString(), Yt += 1;
|
|
1801
1801
|
}
|
|
1802
|
-
},
|
|
1803
|
-
function
|
|
1802
|
+
}, bs = { key: 0 };
|
|
1803
|
+
function ys(e, i, a, n, c, t) {
|
|
1804
1804
|
return f(), E("svg", ee({ role: "img" }, e.$attrs, {
|
|
1805
1805
|
class: "ui-assets-icons-16",
|
|
1806
1806
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1808,14 +1808,14 @@ function bs(e, i, a, n, c, t) {
|
|
|
1808
1808
|
height: "16",
|
|
1809
1809
|
fill: "none"
|
|
1810
1810
|
}), [
|
|
1811
|
-
e.$attrs["svg-title"] ? (f(), E("title",
|
|
1811
|
+
e.$attrs["svg-title"] ? (f(), E("title", bs, q(e.$attrs["svg-title"]), 1)) : z("", !0),
|
|
1812
1812
|
i[0] || (i[0] = O("path", {
|
|
1813
1813
|
fill: "#001222",
|
|
1814
1814
|
d: "M12.9243 1.86372C12.0456 0.985043 10.621 0.985041 9.74234 1.86372L1.25 10.3561V14.7501H5.64399L14.1363 6.25772C15.015 5.37904 15.015 3.95442 14.1363 3.07574L12.9243 1.86372ZM10.803 2.92438C11.0959 2.63149 11.5708 2.63149 11.8637 2.92438L13.0757 4.1364C13.3686 4.42929 13.3686 4.90416 13.0757 5.19706L12.3333 5.93947L10.0606 3.6668L10.803 2.92438ZM8.99993 4.72746L11.2726 7.00013L5.02267 13.2501H2.75V10.9774L8.99993 4.72746Z"
|
|
1815
1815
|
}, null, -1))
|
|
1816
1816
|
], 16);
|
|
1817
1817
|
}
|
|
1818
|
-
const
|
|
1818
|
+
const ps = /* @__PURE__ */ se(_s, [["render", ys]]), gn = {
|
|
1819
1819
|
"en-US": {
|
|
1820
1820
|
copy: "Copy",
|
|
1821
1821
|
edit: "Edit",
|
|
@@ -1834,11 +1834,11 @@ const ys = /* @__PURE__ */ se(_s, [["render", bs]]), fn = {
|
|
|
1834
1834
|
more: "Mais",
|
|
1835
1835
|
open: "Abrir"
|
|
1836
1836
|
}
|
|
1837
|
-
}, Ss = { class: "b-data-grid-cell-actions" },
|
|
1838
|
-
i18n: { messages:
|
|
1837
|
+
}, Ss = { class: "b-data-grid-cell-actions" }, Es = {
|
|
1838
|
+
i18n: { messages: gn },
|
|
1839
1839
|
name: "data-grid-cell-actions"
|
|
1840
|
-
},
|
|
1841
|
-
...
|
|
1840
|
+
}, Ls = /* @__PURE__ */ Ne({
|
|
1841
|
+
...Es,
|
|
1842
1842
|
props: {
|
|
1843
1843
|
/**
|
|
1844
1844
|
* Column definitions using 'key' to relate to data object.
|
|
@@ -1886,21 +1886,21 @@ const ys = /* @__PURE__ */ se(_s, [["render", bs]]), fn = {
|
|
|
1886
1886
|
},
|
|
1887
1887
|
emits: ["menu-open", "menu-close", "menu-item-click"],
|
|
1888
1888
|
setup(e, { emit: i }) {
|
|
1889
|
-
const { t: a } = Fe({ messages:
|
|
1889
|
+
const { t: a } = Fe({ messages: gn }), n = e, c = i, t = p(() => n.columnKey === void 0), l = p(() => ({
|
|
1890
1890
|
"b-data-grid-cell-actions__background-gradient--with-row-actions-and-overflow": t.value && n.hasRightOverflow
|
|
1891
|
-
})),
|
|
1891
|
+
})), _ = p(() => ({
|
|
1892
1892
|
"b-data-grid-cell-actions__actions--with-row-actions": t.value
|
|
1893
|
-
})), C =
|
|
1894
|
-
function
|
|
1893
|
+
})), C = p(() => !t.value || t.value && n.hasRightOverflow);
|
|
1894
|
+
function w(d) {
|
|
1895
1895
|
return typeof d == "function";
|
|
1896
1896
|
}
|
|
1897
|
-
const L =
|
|
1897
|
+
const L = p(() => {
|
|
1898
1898
|
var g;
|
|
1899
|
-
const d =
|
|
1900
|
-
return (d == null ? void 0 : d.length) > 2 &&
|
|
1899
|
+
const d = w(n.cellActions) ? (g = n.cellActions) == null ? void 0 : g.call(n, n.rowDataItem, n.columnKey) : n.cellActions;
|
|
1900
|
+
return (d == null ? void 0 : d.length) > 2 && ln(
|
|
1901
1901
|
"WARNING: BentoDataGrid Cell actions can only have a maximum of 2 actions, if you need more consider using the menuData property instead."
|
|
1902
1902
|
), d == null ? void 0 : d.slice(0, 2);
|
|
1903
|
-
}), v =
|
|
1903
|
+
}), v = p(() => (d, g) => {
|
|
1904
1904
|
if (!(!g && d.isShort || g && !d.isShort))
|
|
1905
1905
|
switch (d.variant) {
|
|
1906
1906
|
case "copy":
|
|
@@ -1930,7 +1930,7 @@ const ys = /* @__PURE__ */ se(_s, [["render", bs]]), fn = {
|
|
|
1930
1930
|
var g, r;
|
|
1931
1931
|
return (d == null ? void 0 : d.getCopyData) !== void 0 ? d.getCopyData(n.rowDataItem, n.columnKey) : n.columnKey ? (r = (g = n.rowDataItem) == null ? void 0 : g[n.columnKey]) == null ? void 0 : r.toString() : "";
|
|
1932
1932
|
}, A = (d) => d.iconLeft || (d == null ? void 0 : d.variant) === "more";
|
|
1933
|
-
return (d, g) => (f(), B(
|
|
1933
|
+
return (d, g) => (f(), B(en, {
|
|
1934
1934
|
name: "b-data-grid-cell-actions__animation",
|
|
1935
1935
|
appear: ""
|
|
1936
1936
|
}, {
|
|
@@ -1941,7 +1941,7 @@ const ys = /* @__PURE__ */ se(_s, [["render", bs]]), fn = {
|
|
|
1941
1941
|
class: fe(["b-data-grid-cell-actions__background-gradient", l.value])
|
|
1942
1942
|
}, null, 2)) : z("", !0),
|
|
1943
1943
|
O("div", {
|
|
1944
|
-
class: fe(["b-data-grid-cell-actions__actions",
|
|
1944
|
+
class: fe(["b-data-grid-cell-actions__actions", _.value]),
|
|
1945
1945
|
role: "group"
|
|
1946
1946
|
}, [
|
|
1947
1947
|
(f(!0), E(ve, null, be(L.value, (r, T) => (f(), E("div", {
|
|
@@ -1965,7 +1965,7 @@ const ys = /* @__PURE__ */ se(_s, [["render", bs]]), fn = {
|
|
|
1965
1965
|
A(r) ? {
|
|
1966
1966
|
name: "iconLeft",
|
|
1967
1967
|
fn: H(() => [
|
|
1968
|
-
(r == null ? void 0 : r.variant) === "more" ? (f(), B(o(
|
|
1968
|
+
(r == null ? void 0 : r.variant) === "more" ? (f(), B(o(Rl), {
|
|
1969
1969
|
key: 0,
|
|
1970
1970
|
"svg-title": v.value(r, !0)
|
|
1971
1971
|
}, null, 8, ["svg-title"])) : (f(), B(Ze(r.iconLeft), {
|
|
@@ -1982,7 +1982,7 @@ const ys = /* @__PURE__ */ se(_s, [["render", bs]]), fn = {
|
|
|
1982
1982
|
]),
|
|
1983
1983
|
key: "1"
|
|
1984
1984
|
}
|
|
1985
|
-
]), 1032, ["data", "button", "disable-arrow-down-opening-menu", "teleport"])) : r.variant === "copy" ? (f(), B(o(
|
|
1985
|
+
]), 1032, ["data", "button", "disable-arrow-down-opening-menu", "teleport"])) : r.variant === "copy" ? (f(), B(o(Dl), {
|
|
1986
1986
|
key: 1,
|
|
1987
1987
|
text: b(r),
|
|
1988
1988
|
"button-text": v.value(r),
|
|
@@ -1990,7 +1990,7 @@ const ys = /* @__PURE__ */ se(_s, [["render", bs]]), fn = {
|
|
|
1990
1990
|
condensed: !0,
|
|
1991
1991
|
variant: "secondary"
|
|
1992
1992
|
}
|
|
1993
|
-
}, null, 8, ["text", "button-text"])) : (f(), B(o(
|
|
1993
|
+
}, null, 8, ["text", "button-text"])) : (f(), B(o(on), ee({
|
|
1994
1994
|
key: 2,
|
|
1995
1995
|
condensed: "",
|
|
1996
1996
|
variant: "secondary",
|
|
@@ -2001,7 +2001,7 @@ const ys = /* @__PURE__ */ se(_s, [["render", bs]]), fn = {
|
|
|
2001
2001
|
r.iconLeft || r.variant === "edit" ? {
|
|
2002
2002
|
name: "iconLeft",
|
|
2003
2003
|
fn: H(() => [
|
|
2004
|
-
(r == null ? void 0 : r.variant) === "edit" ? (f(), B(o(
|
|
2004
|
+
(r == null ? void 0 : r.variant) === "edit" ? (f(), B(o(ps), {
|
|
2005
2005
|
key: 0,
|
|
2006
2006
|
"svg-title": v.value(r, !0)
|
|
2007
2007
|
}, null, 8, ["svg-title"])) : (f(), B(Ze(r.iconLeft), {
|
|
@@ -2021,7 +2021,7 @@ const ys = /* @__PURE__ */ se(_s, [["render", bs]]), fn = {
|
|
|
2021
2021
|
r.iconRight || r.variant === "open" ? {
|
|
2022
2022
|
name: "iconRight",
|
|
2023
2023
|
fn: H(() => [
|
|
2024
|
-
(r == null ? void 0 : r.variant) === "open" ? (f(), B(o(
|
|
2024
|
+
(r == null ? void 0 : r.variant) === "open" ? (f(), B(o($l), {
|
|
2025
2025
|
key: 0,
|
|
2026
2026
|
"svg-title": v.value(r, !0)
|
|
2027
2027
|
}, null, 8, ["svg-title"])) : (f(), B(Ze(r.iconRight), {
|
|
@@ -2039,25 +2039,25 @@ const ys = /* @__PURE__ */ se(_s, [["render", bs]]), fn = {
|
|
|
2039
2039
|
_: 1
|
|
2040
2040
|
}));
|
|
2041
2041
|
}
|
|
2042
|
-
}),
|
|
2042
|
+
}), vn = /* @__PURE__ */ se(Ls, [["__scopeId", "data-v-9c1c2f7b"]]), mn = Symbol("data-grid slashed zero key");
|
|
2043
2043
|
var ae = /* @__PURE__ */ ((e) => (e.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED = "action-col-nested-content-and-selection-enabled", e.ACTION_COL_NESTED_CONTENT_ENABLED = "action-col-nested-content-enabled", e.ACTION_COL_SELECTION_ENABLED = "action-col-selection-enabled", e.COLUMN_HOVERED = "column-hovered", e.COLUMN_HOVERED_NO_BORDER_LEFT = "column-hovered-no-border-left", e.COLUMN_HOVERED_NO_BORDER_RIGHT = "column-hovered-no-border-right", e.CONDENSED = "condensed", e.FROZEN = "frozen", e.IS_COLUMN_REORDERING = "is-column-re-ordering", e.IS_COLUMN_REORDERING_TARGET_LEFT = "is-column-re-order-target-left", e.IS_COLUMN_REORDERING_TARGET_RIGHT = "is-column-re-order-target-right", e.LAST_FROZEN_COLUMN_CELL = "last-frozen-column-cell", e.NESTED_CONTENT_ENABLED = "nested-content-toggle-enabled", e.NUMERIC = "numeric", e.OVERFLOW_ELLIPSIS = "overflow-ellipsis", e.PADDING_LEFT_UNSET = "padding-left-unset", e.PADDING_RIGHT_UNSET = "padding-right-unset", e.SLASHED_ZERO = "slashed-zero", e))(ae || {});
|
|
2044
|
-
const
|
|
2044
|
+
const Xt = () => {
|
|
2045
2045
|
const e = document.activeElement;
|
|
2046
2046
|
return e ? e.matches(":focus-visible") || e.matches(".focus-visible") : !1;
|
|
2047
|
-
},
|
|
2047
|
+
}, hn = {
|
|
2048
2048
|
"en-US": {
|
|
2049
2049
|
collapseNestedContent: "Collapse nested content",
|
|
2050
2050
|
expandNestedContent: "Expand nested content",
|
|
2051
2051
|
selectRow: "Select row"
|
|
2052
2052
|
}
|
|
2053
|
-
},
|
|
2053
|
+
}, Rs = ["aria-hidden", "data-testid", "data-cellindex", "tabindex", "aria-colindex"], As = ["title"], Os = {
|
|
2054
2054
|
key: 0,
|
|
2055
2055
|
class: "b-data-grid-cell__cell-actions"
|
|
2056
|
-
},
|
|
2057
|
-
i18n: { messages:
|
|
2056
|
+
}, Ts = {
|
|
2057
|
+
i18n: { messages: hn },
|
|
2058
2058
|
name: "data-grid-cell"
|
|
2059
|
-
},
|
|
2060
|
-
...
|
|
2059
|
+
}, Ns = /* @__PURE__ */ Ne({
|
|
2060
|
+
...Ts,
|
|
2061
2061
|
props: {
|
|
2062
2062
|
draggingEventsForRowCell: {
|
|
2063
2063
|
type: Function,
|
|
@@ -2179,17 +2179,17 @@ const Yt = () => {
|
|
|
2179
2179
|
},
|
|
2180
2180
|
emits: ["on-frozen-columns-key-press", "select-row", "register-row-cell-element", "cell-hovered", "nested-content-toggled"],
|
|
2181
2181
|
setup(e, { expose: i, emit: a }) {
|
|
2182
|
-
const n = vt(), c = ht(n), { t } = Fe({ messages:
|
|
2182
|
+
const n = vt(), c = ht(n), { t } = Fe({ messages: hn }), l = e, _ = a, C = R(null), w = R(null), L = R(!1), v = R([]), D = R(!1), y = R(), u = R(!1), b = p(() => {
|
|
2183
2183
|
var h;
|
|
2184
2184
|
return !!((h = l.rowData) != null && h[l.column.field]);
|
|
2185
|
-
}), A =
|
|
2185
|
+
}), A = p(
|
|
2186
2186
|
() => {
|
|
2187
2187
|
var h;
|
|
2188
|
-
return l.column.field ===
|
|
2188
|
+
return l.column.field === _e && ((h = l.nestedRowsElementIds) == null ? void 0 : h.length) > 0 ? l.nestedRowsElementIds.join(" ") : void 0;
|
|
2189
2189
|
}
|
|
2190
|
-
), d =
|
|
2191
|
-
() => l.column.field ===
|
|
2192
|
-
), g =
|
|
2190
|
+
), d = p(
|
|
2191
|
+
() => l.column.field === _e && !l.selectable && !l.nestedContent
|
|
2192
|
+
), g = p(() => m(l.rowIndex, l.colIndex, l.columnSetIndex) === 0 && !u.value ? "0" : l.column.field === _e ? "-1" : D.value ? "0" : "-1"), r = (h, Z) => (h == null ? void 0 : h.overflow) === ut.ELLIPSIS ? `${Z}` : void 0, T = (h) => h ?? "-", F = (h) => l.columnSets.slice(0, h).reduce((Z, { columnSet: x }) => Z + x.length, 0), P = (h, Z) => h + F(Z), m = (h, Z, x) => F() * h + P(Z, x), k = (h) => {
|
|
2193
2193
|
var Z;
|
|
2194
2194
|
(h === null || !C.value.contains(h) && !((Z = v.value) != null && Z.map((x) => x.value).some((x) => x === h || (x == null ? void 0 : x.contains(h))))) && (L.value = !1);
|
|
2195
2195
|
}, V = () => {
|
|
@@ -2199,19 +2199,19 @@ const Yt = () => {
|
|
|
2199
2199
|
...l.draggingEventsForRowCell(h),
|
|
2200
2200
|
// Focus on the first interactive child in the grid cell if one exists
|
|
2201
2201
|
focus: async () => {
|
|
2202
|
-
if (!
|
|
2202
|
+
if (!Xt())
|
|
2203
2203
|
return;
|
|
2204
|
-
D.value = !0, u.value = !0,
|
|
2204
|
+
D.value = !0, u.value = !0, un(y.value), await Ce(), _t(C.value) && (X.value = !0);
|
|
2205
2205
|
},
|
|
2206
2206
|
focusout: () => {
|
|
2207
|
-
|
|
2207
|
+
Xt() && (X.value = !1);
|
|
2208
2208
|
},
|
|
2209
2209
|
keydown: (s) => {
|
|
2210
2210
|
s.key !== Re.TAB && (X.value = !1, D.value = !1, We(C.value));
|
|
2211
2211
|
}
|
|
2212
2212
|
}, x = { ...Z };
|
|
2213
|
-
return h.frozen && (x.keyup = (s) =>
|
|
2214
|
-
Z.keydown(s),
|
|
2213
|
+
return h.frozen && (x.keyup = (s) => _("on-frozen-columns-key-press", s), x.keydown = (s) => {
|
|
2214
|
+
Z.keydown(s), _("on-frozen-columns-key-press", s);
|
|
2215
2215
|
}), h.cellActions && (x.mouseenter = () => {
|
|
2216
2216
|
L.value = !0;
|
|
2217
2217
|
}, x.mouseleave = (s) => {
|
|
@@ -2228,14 +2228,14 @@ const Yt = () => {
|
|
|
2228
2228
|
y.value = We(C.value);
|
|
2229
2229
|
});
|
|
2230
2230
|
const te = () => {
|
|
2231
|
-
|
|
2231
|
+
_("nested-content-toggled");
|
|
2232
2232
|
};
|
|
2233
2233
|
ye(
|
|
2234
2234
|
() => L.value,
|
|
2235
2235
|
() => {
|
|
2236
|
-
L.value === !0 ?
|
|
2236
|
+
L.value === !0 ? _("cell-hovered", l.rowIndex) : _("cell-hovered", -1);
|
|
2237
2237
|
}
|
|
2238
|
-
),
|
|
2238
|
+
), tn(Al, {
|
|
2239
2239
|
registerMenuContainerElement: (h) => {
|
|
2240
2240
|
v.value.push(h);
|
|
2241
2241
|
},
|
|
@@ -2243,7 +2243,7 @@ const Yt = () => {
|
|
|
2243
2243
|
C.value.contains(h == null ? void 0 : h.relatedTarget) || (L.value = !1);
|
|
2244
2244
|
}
|
|
2245
2245
|
});
|
|
2246
|
-
const de = at(
|
|
2246
|
+
const de = at(mn, R(!1)), ge = (h) => {
|
|
2247
2247
|
var Z, x, s, W, N, ne, J;
|
|
2248
2248
|
return {
|
|
2249
2249
|
[`b-data-grid-cell--${ae.COLUMN_HOVERED}`]: (h == null ? void 0 : h.field) === l.hoveredOverColumnState.hoveredOverColumnField,
|
|
@@ -2259,12 +2259,12 @@ const Yt = () => {
|
|
|
2259
2259
|
[`b-data-grid-cell--${ae.IS_COLUMN_REORDERING_TARGET_RIGHT}`]: ((ne = l.draggingColumns.target) == null ? void 0 : ne.field) === h.field && !((J = l.draggingColumns) != null && J.dragToLeft),
|
|
2260
2260
|
[`b-data-grid-cell--${ae.FROZEN}`]: h == null ? void 0 : h.frozen,
|
|
2261
2261
|
[`b-data-grid-cell--${ae.NESTED_CONTENT_ENABLED}`]: l.nestedContent,
|
|
2262
|
-
[`b-data-grid-cell--${ae.ACTION_COL_NESTED_CONTENT_ENABLED}`]: l.nestedContent && !l.selectable && h.field ===
|
|
2263
|
-
[`b-data-grid-cell--${ae.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED}`]: l.nestedContent && l.selectable && h.field ===
|
|
2264
|
-
[`b-data-grid-cell--${ae.ACTION_COL_SELECTION_ENABLED}`]: h.field ===
|
|
2262
|
+
[`b-data-grid-cell--${ae.ACTION_COL_NESTED_CONTENT_ENABLED}`]: l.nestedContent && !l.selectable && h.field === _e,
|
|
2263
|
+
[`b-data-grid-cell--${ae.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED}`]: l.nestedContent && l.selectable && h.field === _e,
|
|
2264
|
+
[`b-data-grid-cell--${ae.ACTION_COL_SELECTION_ENABLED}`]: h.field === _e && l.selectable,
|
|
2265
2265
|
[`b-data-grid-cell--${ae.SLASHED_ZERO}`]: de.value
|
|
2266
2266
|
};
|
|
2267
|
-
}, Q =
|
|
2267
|
+
}, Q = p(() => ({
|
|
2268
2268
|
"b-data-grid-cell__cell-content--is-focused-on-inside-interactive-element": X.value
|
|
2269
2269
|
}));
|
|
2270
2270
|
return i({
|
|
@@ -2286,8 +2286,8 @@ const Yt = () => {
|
|
|
2286
2286
|
width: e.column.autoWidth && e.isMeasuringColumnWidths ? "auto" : `${e.column.width}px`
|
|
2287
2287
|
}
|
|
2288
2288
|
}, nt(re(e.column), !0)), [
|
|
2289
|
-
e.column.field === o(
|
|
2290
|
-
e.selectable ? (f(), B(o(
|
|
2289
|
+
e.column.field === o(_e) ? (f(), E(ve, { key: 0 }, [
|
|
2290
|
+
e.selectable ? (f(), B(o(an), {
|
|
2291
2291
|
key: 0,
|
|
2292
2292
|
class: "b-data-grid-cell__select-cell",
|
|
2293
2293
|
"aria-label": o(t)("selectRow"),
|
|
@@ -2298,7 +2298,7 @@ const Yt = () => {
|
|
|
2298
2298
|
tabindex: D.value ? 0 : -1,
|
|
2299
2299
|
"onUpdate:modelValue": Z[0] || (Z[0] = (s) => h.$emit("select-row", s))
|
|
2300
2300
|
}, null, 8, ["aria-label", "disabled", "indeterminate", "model-value", "value", "tabindex"])) : z("", !0),
|
|
2301
|
-
e.nestedContent ? (f(), B(o(
|
|
2301
|
+
e.nestedContent ? (f(), B(o(wt), {
|
|
2302
2302
|
key: 1,
|
|
2303
2303
|
ref: "menuButtonRef",
|
|
2304
2304
|
"aria-haspopup": "true",
|
|
@@ -2309,11 +2309,11 @@ const Yt = () => {
|
|
|
2309
2309
|
onClick: te
|
|
2310
2310
|
}, {
|
|
2311
2311
|
iconLeft: H(() => [
|
|
2312
|
-
e.isNestedContentExpanded ? (f(), B(o(
|
|
2312
|
+
e.isNestedContentExpanded ? (f(), B(o(Ml), {
|
|
2313
2313
|
key: 0,
|
|
2314
2314
|
class: "b-accordion-item__icon",
|
|
2315
2315
|
"svg-title": o(t)("collapseNestedContent")
|
|
2316
|
-
}, null, 8, ["svg-title"])) : (f(), B(o(
|
|
2316
|
+
}, null, 8, ["svg-title"])) : (f(), B(o(kl), {
|
|
2317
2317
|
key: 1,
|
|
2318
2318
|
class: "b-accordion-item__icon",
|
|
2319
2319
|
"svg-title": o(t)("expandNestedContent")
|
|
@@ -2334,16 +2334,16 @@ const Yt = () => {
|
|
|
2334
2334
|
}, () => [
|
|
2335
2335
|
O("span", {
|
|
2336
2336
|
title: r(e.column, e.rowData[e.column.field])
|
|
2337
|
-
}, q(T(e.rowData[e.column.field])), 9,
|
|
2337
|
+
}, q(T(e.rowData[e.column.field])), 9, As)
|
|
2338
2338
|
], !0)
|
|
2339
2339
|
]),
|
|
2340
2340
|
_: 3
|
|
2341
2341
|
}, 8, ["class"]),
|
|
2342
|
-
((x = e.column.cellActions) == null ? void 0 : x.length) > 0 ? (f(), E("div",
|
|
2343
|
-
L.value && (b.value || o(c)(`item-${e.column.field}`)) ? (f(), B(
|
|
2342
|
+
((x = e.column.cellActions) == null ? void 0 : x.length) > 0 ? (f(), E("div", Os, [
|
|
2343
|
+
L.value && (b.value || o(c)(`item-${e.column.field}`)) ? (f(), B(vn, {
|
|
2344
2344
|
key: 0,
|
|
2345
2345
|
ref_key: "cellActionsRef",
|
|
2346
|
-
ref:
|
|
2346
|
+
ref: w,
|
|
2347
2347
|
"cell-actions": e.column.cellActions,
|
|
2348
2348
|
"column-key": e.column.field,
|
|
2349
2349
|
"row-data-item": e.rowData,
|
|
@@ -2352,16 +2352,16 @@ const Yt = () => {
|
|
|
2352
2352
|
}, null, 8, ["cell-actions", "column-key", "row-data-item"])) : z("", !0)
|
|
2353
2353
|
])) : z("", !0)
|
|
2354
2354
|
], 64))
|
|
2355
|
-
], 16,
|
|
2355
|
+
], 16, Rs);
|
|
2356
2356
|
};
|
|
2357
2357
|
}
|
|
2358
|
-
}),
|
|
2358
|
+
}), Is = /* @__PURE__ */ se(Ns, [["__scopeId", "data-v-305d8373"]]), $s = { class: "b-data-grid-row-container" }, Ds = ["id", "aria-selected"], ks = ["data-testid"], Ms = ["aria-colindex", "data-cellindex"], Fs = {
|
|
2359
2359
|
key: 0,
|
|
2360
2360
|
class: "b-data-grid-row-container__row-nested-rows-loading-container"
|
|
2361
|
-
},
|
|
2361
|
+
}, Us = { key: 2 }, zs = {
|
|
2362
2362
|
name: "data-grid-row"
|
|
2363
|
-
},
|
|
2364
|
-
...
|
|
2363
|
+
}, Ps = /* @__PURE__ */ Ne({
|
|
2364
|
+
...zs,
|
|
2365
2365
|
props: {
|
|
2366
2366
|
/**
|
|
2367
2367
|
* Row actions property that generates which button to show in row actions area
|
|
@@ -2561,34 +2561,34 @@ const Yt = () => {
|
|
|
2561
2561
|
},
|
|
2562
2562
|
emits: ["cell-hovered", "on-frozen-columns-key-press", "select-row", "select-nested-row", "row-click", "nested-content-toggled"],
|
|
2563
2563
|
setup(e, { expose: i, emit: a }) {
|
|
2564
|
-
const n = vt(), c = ht(n), t = e, l = a,
|
|
2564
|
+
const n = vt(), c = ht(n), t = e, l = a, _ = R({}), C = R(!1), w = R(), L = R(), v = rt("nested-content-slot"), D = R(!1), y = R();
|
|
2565
2565
|
qe(() => {
|
|
2566
2566
|
L.value && (y.value = We(L.value));
|
|
2567
2567
|
});
|
|
2568
|
-
const u =
|
|
2568
|
+
const u = p(() => t.shouldShowNestedRows(t.rowData)), b = p(
|
|
2569
2569
|
() => {
|
|
2570
|
-
var
|
|
2571
|
-
return !t.isNestedRow && t.hasNestedRows && u.value && ((I = (
|
|
2570
|
+
var S, I;
|
|
2571
|
+
return !t.isNestedRow && t.hasNestedRows && u.value && ((I = (S = t.rowData) == null ? void 0 : S.children) == null ? void 0 : I.length) > 0;
|
|
2572
2572
|
}
|
|
2573
|
-
), A =
|
|
2573
|
+
), A = p(
|
|
2574
2574
|
() => {
|
|
2575
|
-
var
|
|
2576
|
-
return !t.isNestedRow && t.hasNestedRows && u.value && (((
|
|
2575
|
+
var S, I;
|
|
2576
|
+
return !t.isNestedRow && t.hasNestedRows && u.value && (((S = t.rowData) == null ? void 0 : S.children) === void 0 || ((I = t == null ? void 0 : t.rowData) == null ? void 0 : I.children.length) === 0);
|
|
2577
2577
|
}
|
|
2578
|
-
), d =
|
|
2578
|
+
), d = p(
|
|
2579
2579
|
() => t.hasNestedContent && t.shouldShowNestedContent(t.rowData) || t.hasNestedRows && u.value && !t.isNestedRow
|
|
2580
|
-
), g =
|
|
2580
|
+
), g = p(() => {
|
|
2581
2581
|
if (t.hasNestedContent || t.hasNestedRows) {
|
|
2582
|
-
const
|
|
2582
|
+
const S = C.value.toString();
|
|
2583
2583
|
return {
|
|
2584
|
-
"aria-expanded": d.value ?
|
|
2584
|
+
"aria-expanded": d.value ? S : void 0,
|
|
2585
2585
|
"aria-level": t.isNestedRow ? "2" : "1",
|
|
2586
2586
|
"aria-posinset": t.rowIndex + 1,
|
|
2587
2587
|
"aria-setsize": t.rowSetSize
|
|
2588
2588
|
};
|
|
2589
2589
|
}
|
|
2590
2590
|
return { "aria-rowindex": t.rowIndex + 1 };
|
|
2591
|
-
}), r =
|
|
2591
|
+
}), r = p(() => {
|
|
2592
2592
|
if (A.value)
|
|
2593
2593
|
return {
|
|
2594
2594
|
"aria-busy": "true",
|
|
@@ -2603,83 +2603,85 @@ const Yt = () => {
|
|
|
2603
2603
|
role: "row",
|
|
2604
2604
|
tabindex: "-1"
|
|
2605
2605
|
};
|
|
2606
|
-
}), T =
|
|
2607
|
-
var
|
|
2608
|
-
return b.value ? (I = (
|
|
2609
|
-
}), F =
|
|
2610
|
-
var
|
|
2606
|
+
}), T = p(() => {
|
|
2607
|
+
var S, I;
|
|
2608
|
+
return b.value ? (I = (S = t.rowData) == null ? void 0 : S.children) == null ? void 0 : I.reduce((K, G, ie) => (K[ie] = rt("nested-row"), K), {}) : [];
|
|
2609
|
+
}), F = p(() => {
|
|
2610
|
+
var S;
|
|
2611
2611
|
if (C.value) {
|
|
2612
2612
|
if (t.hasNestedContent && t.shouldShowNestedContent(t.rowData))
|
|
2613
2613
|
return [v];
|
|
2614
|
-
if (b.value && ((
|
|
2614
|
+
if (b.value && ((S = Object.keys(T.value)) == null ? void 0 : S.length) > 0) {
|
|
2615
2615
|
const I = Object.values(T.value);
|
|
2616
2616
|
if ((I == null ? void 0 : I.length) > 0)
|
|
2617
2617
|
return I;
|
|
2618
2618
|
}
|
|
2619
2619
|
return [];
|
|
2620
2620
|
}
|
|
2621
|
-
}), P =
|
|
2621
|
+
}), P = p(() => {
|
|
2622
2622
|
var I, K;
|
|
2623
|
-
const
|
|
2624
|
-
if ((
|
|
2625
|
-
const G =
|
|
2626
|
-
var
|
|
2627
|
-
return (
|
|
2628
|
-
}), ie =
|
|
2629
|
-
var
|
|
2630
|
-
return (
|
|
2623
|
+
const S = (K = (I = t.rowData) == null ? void 0 : I.children) == null ? void 0 : K.map((G) => t.getDataItemId(G));
|
|
2624
|
+
if ((S == null ? void 0 : S.length) > 0) {
|
|
2625
|
+
const G = S.every((ue) => {
|
|
2626
|
+
var pe;
|
|
2627
|
+
return (pe = t == null ? void 0 : t.selectedItems) == null ? void 0 : pe.includes(ue);
|
|
2628
|
+
}), ie = S.some((ue) => {
|
|
2629
|
+
var pe;
|
|
2630
|
+
return (pe = t == null ? void 0 : t.selectedItems) == null ? void 0 : pe.includes(ue);
|
|
2631
2631
|
});
|
|
2632
2632
|
return !G && ie;
|
|
2633
2633
|
}
|
|
2634
2634
|
return !1;
|
|
2635
|
-
}), m = (
|
|
2636
|
-
const K =
|
|
2637
|
-
|
|
2638
|
-
}, k = (
|
|
2635
|
+
}), m = (S, I) => {
|
|
2636
|
+
const K = S;
|
|
2637
|
+
S !== null && (K != null && K.gridcellRef) && (_.value[I] = K.gridcellRef);
|
|
2638
|
+
}, k = (S) => T.value[S], V = (S) => {
|
|
2639
2639
|
if (!t.selectable)
|
|
2640
2640
|
return null;
|
|
2641
|
-
const I = t.getDataItemId(
|
|
2641
|
+
const I = t.getDataItemId(S);
|
|
2642
2642
|
return t.selectedItems.includes(I).toString();
|
|
2643
|
-
}, X = (
|
|
2643
|
+
}, X = (S) => {
|
|
2644
2644
|
var G;
|
|
2645
|
+
if (!t.allowRowClicks)
|
|
2646
|
+
return;
|
|
2645
2647
|
let I = !1;
|
|
2646
2648
|
const K = ["button", "input", "a"];
|
|
2647
2649
|
for (let ie = 0; ie < K.length; ie++)
|
|
2648
|
-
if ((G =
|
|
2650
|
+
if ((G = S == null ? void 0 : S.target) != null && G.closest(K[ie])) {
|
|
2649
2651
|
I = !0;
|
|
2650
2652
|
break;
|
|
2651
2653
|
}
|
|
2652
|
-
|
|
2653
|
-
}, re = (
|
|
2654
|
-
l("select-row",
|
|
2655
|
-
}, te = (
|
|
2656
|
-
l("select-nested-row", I, t.rowData,
|
|
2654
|
+
I || l("row-click", t.rowData, S);
|
|
2655
|
+
}, re = (S) => {
|
|
2656
|
+
l("select-row", S, t.rowData);
|
|
2657
|
+
}, te = (S, I) => {
|
|
2658
|
+
l("select-nested-row", I, t.rowData, S);
|
|
2657
2659
|
}, me = () => {
|
|
2658
2660
|
D.value = !0;
|
|
2659
2661
|
}, he = () => {
|
|
2660
2662
|
D.value = !1;
|
|
2661
2663
|
}, de = () => {
|
|
2662
|
-
var
|
|
2663
|
-
|
|
2664
|
+
var S;
|
|
2665
|
+
un([(S = y.value) == null ? void 0 : S[0]]), _t(L.value);
|
|
2664
2666
|
}, ge = () => {
|
|
2665
2667
|
We(L.value);
|
|
2666
|
-
}, Q = (
|
|
2668
|
+
}, Q = (S) => {
|
|
2667
2669
|
var I, K;
|
|
2668
|
-
|
|
2669
|
-
}, h = () => t.columnSets.reduce((
|
|
2670
|
-
var
|
|
2670
|
+
S.key !== Re.TAB && We(L.value), S.key === Re.ARROW_RIGHT && ((I = y.value) == null ? void 0 : I.length) > 1 && y.value[0].node === document.activeElement ? (We(L.value), y.value[1].node.setAttribute("tabindex", "0"), y.value[1].node.focus(), S.stopPropagation(), S.preventDefault()) : S.key === Re.ARROW_LEFT && ((K = y.value) == null ? void 0 : K.length) > 1 && y.value[1].node === document.activeElement && (We(L.value), y.value[0].node.setAttribute("tabindex", "0"), y.value[0].node.focus(), S.stopPropagation(), S.preventDefault());
|
|
2671
|
+
}, h = () => t.columnSets.reduce((S, { columnSet: I }) => S + I.length, 0), Z = () => h() * t.rowIndex + h(), { updateContentHeight: x, contentHeight: s } = Il(w, C), W = p(() => {
|
|
2672
|
+
var S;
|
|
2671
2673
|
if (t.hasNestedContent || t.hasNestedRows)
|
|
2672
2674
|
return {
|
|
2673
|
-
paddingLeft: `${b.value || A.value ? 0 :
|
|
2674
|
-
"max-height": (t.hasNestedContent || t.hasNestedRows) && s.value && !((
|
|
2675
|
+
paddingLeft: `${b.value || A.value ? 0 : _.value[_e].clientWidth + dn}px`,
|
|
2676
|
+
"max-height": (t.hasNestedContent || t.hasNestedRows) && s.value && !((S = s == null ? void 0 : s.value) != null && S.includes("null")) ? s.value : 0
|
|
2675
2677
|
};
|
|
2676
2678
|
});
|
|
2677
2679
|
ye(
|
|
2678
|
-
() =>
|
|
2680
|
+
() => w.value,
|
|
2679
2681
|
() => {
|
|
2680
|
-
let
|
|
2681
|
-
!
|
|
2682
|
-
|
|
2682
|
+
let S = null;
|
|
2683
|
+
!S && w.value && (S = Ct(w.value, () => {
|
|
2684
|
+
w.value && x();
|
|
2683
2685
|
}));
|
|
2684
2686
|
}
|
|
2685
2687
|
);
|
|
@@ -2688,62 +2690,66 @@ const Yt = () => {
|
|
|
2688
2690
|
};
|
|
2689
2691
|
ye(
|
|
2690
2692
|
() => {
|
|
2691
|
-
var
|
|
2692
|
-
return (
|
|
2693
|
+
var S;
|
|
2694
|
+
return (S = t.rowData) == null ? void 0 : S.children;
|
|
2693
2695
|
},
|
|
2694
|
-
(
|
|
2696
|
+
(S, I) => {
|
|
2695
2697
|
var K, G;
|
|
2696
2698
|
((G = (K = t == null ? void 0 : t.rowData) == null ? void 0 : K.children) == null ? void 0 : G.length) > 0 && I === void 0 && !C.value && x();
|
|
2697
2699
|
}
|
|
2698
2700
|
);
|
|
2699
|
-
const ne = (
|
|
2700
|
-
"b-data-grid-row-container__row--disabled": t.isDataItemDisabled(
|
|
2701
|
+
const ne = (S, I) => ({
|
|
2702
|
+
"b-data-grid-row-container__row--disabled": t.isDataItemDisabled(S),
|
|
2701
2703
|
"b-data-grid-row-container__row--row-clicks-enabled": t.allowRowClicks,
|
|
2702
|
-
"b-data-grid-row-container__row--highlighted": t.highlightedRows.includes(t.getDataItemId(
|
|
2704
|
+
"b-data-grid-row-container__row--highlighted": t.highlightedRows.includes(t.getDataItemId(S)) || t.selectedItems.includes(t.getDataItemId(S)),
|
|
2703
2705
|
"b-data-grid-row-container__row--hovered": t.hoveredRowIndex === I,
|
|
2704
2706
|
"b-data-grid-row-container__row--is-last-child": t.isRowLastChild && !C.value,
|
|
2705
2707
|
"b-data-grid-row-container__row--nested-row": t.isNestedRow
|
|
2706
|
-
}), J = (
|
|
2707
|
-
"b-data-grid-row-container__row-cell-set--frozen":
|
|
2708
|
-
[`b-data-grid-row-container__row-cell-set--${ke.OVERFLOW_SHADOW_LEFT}`]:
|
|
2709
|
-
"b-data-grid-row-container__row-cell-set--frozen-separator":
|
|
2710
|
-
"b-data-grid-row-container__row-cell-set--unfrozen": !
|
|
2708
|
+
}), J = (S) => ({
|
|
2709
|
+
"b-data-grid-row-container__row-cell-set--frozen": S,
|
|
2710
|
+
[`b-data-grid-row-container__row-cell-set--${ke.OVERFLOW_SHADOW_LEFT}`]: S && t.hasLeftOverflow,
|
|
2711
|
+
"b-data-grid-row-container__row-cell-set--frozen-separator": S && t.showFrozenColumnsSeparator,
|
|
2712
|
+
"b-data-grid-row-container__row-cell-set--unfrozen": !S,
|
|
2711
2713
|
"b-data-grid-row-container__row-cell-set--is-measuring": t.isMeasuringColumnWidths
|
|
2712
|
-
}), Ue =
|
|
2714
|
+
}), Ue = p(() => ({
|
|
2713
2715
|
"b-data-grid-row-container__row-nested-slot--is-last-child": t.isRowLastChild,
|
|
2714
2716
|
"b-data-grid-row-container__row-nested-slot": !b.value && t.shouldShowNestedContent(t.rowData)
|
|
2715
|
-
})), Ge =
|
|
2717
|
+
})), Ge = p(() => ({
|
|
2716
2718
|
"b-data-grid-row-container__row-actions-container--row-actions-menu-open": D.value
|
|
2717
|
-
})), ze =
|
|
2719
|
+
})), ze = p(() => ({
|
|
2718
2720
|
minWidth: `${t.rowActionsMaximumWidth}px`
|
|
2719
2721
|
}));
|
|
2720
2722
|
return i({
|
|
2721
|
-
gridcellRefs:
|
|
2723
|
+
gridcellRefs: _,
|
|
2722
2724
|
rowActionsRef: L
|
|
2723
|
-
}), (
|
|
2725
|
+
}), (S, I) => {
|
|
2724
2726
|
var K;
|
|
2725
|
-
return f(), E("div",
|
|
2727
|
+
return f(), E("div", $s, [
|
|
2726
2728
|
(f(), E("div", ee(g.value, {
|
|
2727
2729
|
id: (K = e.rowId) == null ? void 0 : K.toString(),
|
|
2728
2730
|
key: e.rowIndex,
|
|
2729
2731
|
class: ["b-data-grid-row-container__row", ne(e.rowData, e.rowIndex)],
|
|
2730
2732
|
role: "row",
|
|
2731
2733
|
"aria-selected": V(e.rowData),
|
|
2732
|
-
onClick: X
|
|
2734
|
+
onClick: X,
|
|
2735
|
+
onKeyup: [
|
|
2736
|
+
Nt(X, ["enter"]),
|
|
2737
|
+
Nt(X, ["space"])
|
|
2738
|
+
]
|
|
2733
2739
|
}), [
|
|
2734
|
-
(f(!0), E(ve, null, be(e.columnSets, ({ columnSet: G, id: ie, isFrozenColumns: ue },
|
|
2740
|
+
(f(!0), E(ve, null, be(e.columnSets, ({ columnSet: G, id: ie, isFrozenColumns: ue }, pe) => (f(), E(ve, null, [
|
|
2735
2741
|
G != null && G.length ? (f(), E("div", {
|
|
2736
2742
|
key: `data-grid-rows-${ie}`,
|
|
2737
2743
|
class: fe(["b-data-grid-row-container__cells", J(ue)]),
|
|
2738
2744
|
"data-testid": `data-grid-${ie}-rows`
|
|
2739
2745
|
}, [
|
|
2740
|
-
(f(!0), E(ve, null, be(G, (Pe, Ye) => (f(), B(o(
|
|
2746
|
+
(f(!0), E(ve, null, be(G, (Pe, Ye) => (f(), B(o(Is), {
|
|
2741
2747
|
key: `cell-${Pe.field}`,
|
|
2742
2748
|
ref_for: !0,
|
|
2743
2749
|
ref: (Ae) => m(Ae, Pe.field),
|
|
2744
2750
|
class: "b-data-grid-row-container__cell",
|
|
2745
2751
|
column: Pe,
|
|
2746
|
-
"column-set-index":
|
|
2752
|
+
"column-set-index": pe,
|
|
2747
2753
|
"col-index": Ye,
|
|
2748
2754
|
"column-sets": e.columnSets,
|
|
2749
2755
|
condensed: e.condensed,
|
|
@@ -2769,11 +2775,11 @@ const Yt = () => {
|
|
|
2769
2775
|
be(o(n), (Ae, Xe) => ({
|
|
2770
2776
|
name: Xe,
|
|
2771
2777
|
fn: H((ot) => [
|
|
2772
|
-
Te(
|
|
2778
|
+
Te(S.$slots, Xe, ee({ ref_for: !0 }, ot), void 0, !0)
|
|
2773
2779
|
])
|
|
2774
2780
|
}))
|
|
2775
2781
|
]), 1032, ["column", "column-set-index", "col-index", "column-sets", "condensed", "dragging-columns", "dragging-events-for-row-cell", "get-data-item-id", "hovered-over-column-state", "is-data-item-disabled", "is-measuring-column-widths", "is-nested-content-expanded", "nested-content", "nested-rows-element-ids", "row-data", "row-index", "selection-is-indeterminate", "selectable", "selected-items"]))), 128))
|
|
2776
|
-
], 10,
|
|
2782
|
+
], 10, ks)) : z("", !0),
|
|
2777
2783
|
!ue && e.rowActions ? (f(), E("div", {
|
|
2778
2784
|
key: `data-grid-row-actions-${ie}`,
|
|
2779
2785
|
ref_for: !0,
|
|
@@ -2789,7 +2795,7 @@ const Yt = () => {
|
|
|
2789
2795
|
"on:focusOut": ge,
|
|
2790
2796
|
onKeydown: Q
|
|
2791
2797
|
}, [
|
|
2792
|
-
Y(o(
|
|
2798
|
+
Y(o(vn), {
|
|
2793
2799
|
class: "b-data-grid-row-container__row-actions",
|
|
2794
2800
|
"disable-arrow-down-opening-menu": "",
|
|
2795
2801
|
"cell-actions": e.rowActions,
|
|
@@ -2799,10 +2805,10 @@ const Yt = () => {
|
|
|
2799
2805
|
onMenuOpen: me,
|
|
2800
2806
|
onMenuClose: he
|
|
2801
2807
|
}, null, 8, ["cell-actions", "has-right-overflow", "row-data-item"])
|
|
2802
|
-
], 46,
|
|
2808
|
+
], 46, Ms)) : z("", !0)
|
|
2803
2809
|
], 64))), 256))
|
|
2804
|
-
], 16,
|
|
2805
|
-
e.hasNestedContent && o(c)("nested-slot") && e.shouldShowNestedContent(e.rowData) || e.hasNestedRows && u.value ? (f(), B(
|
|
2810
|
+
], 16, Ds)),
|
|
2811
|
+
e.hasNestedContent && o(c)("nested-slot") && e.shouldShowNestedContent(e.rowData) || e.hasNestedRows && u.value ? (f(), B(en, {
|
|
2806
2812
|
key: `${e.rowIndex}-nest-content`,
|
|
2807
2813
|
name: "b-data-grid-row-container__animation--nested-content"
|
|
2808
2814
|
}, {
|
|
@@ -2814,11 +2820,11 @@ const Yt = () => {
|
|
|
2814
2820
|
}), [
|
|
2815
2821
|
O("div", {
|
|
2816
2822
|
ref_key: "nestedContentRef",
|
|
2817
|
-
ref:
|
|
2823
|
+
ref: w
|
|
2818
2824
|
}, [
|
|
2819
|
-
A.value ? (f(), E("div",
|
|
2825
|
+
A.value ? (f(), E("div", Fs, [
|
|
2820
2826
|
Y(o(mt))
|
|
2821
|
-
])) : b.value ? (f(!0), E(ve, { key: 1 }, be(e.rowData.children, (G, ie) => (f(), B(
|
|
2827
|
+
])) : b.value ? (f(!0), E(ve, { key: 1 }, be(e.rowData.children, (G, ie) => (f(), B(Cn, ee({ ref_for: !0 }, t, {
|
|
2822
2828
|
id: k(ie),
|
|
2823
2829
|
key: `child-${ie}`,
|
|
2824
2830
|
"row-data": G,
|
|
@@ -2830,14 +2836,14 @@ const Yt = () => {
|
|
|
2830
2836
|
onOnFrozenColumnsKeyPress: I[4] || (I[4] = (ue) => l("on-frozen-columns-key-press", ue)),
|
|
2831
2837
|
onSelectRow: (ue) => te(G, ue)
|
|
2832
2838
|
}), He({ _: 2 }, [
|
|
2833
|
-
be(o(n), (ue,
|
|
2834
|
-
name:
|
|
2839
|
+
be(o(n), (ue, pe) => ({
|
|
2840
|
+
name: pe,
|
|
2835
2841
|
fn: H((Pe) => [
|
|
2836
|
-
Te(
|
|
2842
|
+
Te(S.$slots, pe, ee({ ref_for: !0 }, Pe), void 0, !0)
|
|
2837
2843
|
])
|
|
2838
2844
|
}))
|
|
2839
|
-
]), 1040, ["id", "row-data", "row-index", "row-set-size", "onSelectRow"]))), 128)) : o(c)("nested-slot") && e.shouldShowNestedContent(e.rowData) ? (f(), E("div",
|
|
2840
|
-
Te(
|
|
2845
|
+
]), 1040, ["id", "row-data", "row-index", "row-set-size", "onSelectRow"]))), 128)) : o(c)("nested-slot") && e.shouldShowNestedContent(e.rowData) ? (f(), E("div", Us, [
|
|
2846
|
+
Te(S.$slots, "nested-slot", { item: e.rowData }, void 0, !0)
|
|
2841
2847
|
])) : z("", !0)
|
|
2842
2848
|
], 512)
|
|
2843
2849
|
], 16)) : z("", !0)
|
|
@@ -2847,14 +2853,14 @@ const Yt = () => {
|
|
|
2847
2853
|
]);
|
|
2848
2854
|
};
|
|
2849
2855
|
}
|
|
2850
|
-
}),
|
|
2851
|
-
let
|
|
2852
|
-
const
|
|
2856
|
+
}), Cn = /* @__PURE__ */ se(Ps, [["__scopeId", "data-v-d6354e28"]]);
|
|
2857
|
+
let Jt = 0;
|
|
2858
|
+
const Bs = {
|
|
2853
2859
|
beforeCreate() {
|
|
2854
|
-
this.uuid =
|
|
2860
|
+
this.uuid = Jt.toString(), Jt += 1;
|
|
2855
2861
|
}
|
|
2856
|
-
},
|
|
2857
|
-
function
|
|
2862
|
+
}, Ws = { key: 0 }, Gs = ["clip-path"], Hs = ["id"];
|
|
2863
|
+
function Vs(e, i, a, n, c, t) {
|
|
2858
2864
|
return f(), E("svg", ee({ role: "img" }, e.$attrs, {
|
|
2859
2865
|
class: "ui-assets-icons-16",
|
|
2860
2866
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2862,7 +2868,7 @@ function Hs(e, i, a, n, c, t) {
|
|
|
2862
2868
|
height: "16",
|
|
2863
2869
|
fill: "none"
|
|
2864
2870
|
}), [
|
|
2865
|
-
e.$attrs["svg-title"] ? (f(), E("title",
|
|
2871
|
+
e.$attrs["svg-title"] ? (f(), E("title", Ws, q(e.$attrs["svg-title"]), 1)) : z("", !0),
|
|
2866
2872
|
O("g", {
|
|
2867
2873
|
"clip-path": "url(#uia-ui-assets/icons-16-warning_circle_fill__a" + e.uuid + ")"
|
|
2868
2874
|
}, i[0] || (i[0] = [
|
|
@@ -2870,7 +2876,7 @@ function Hs(e, i, a, n, c, t) {
|
|
|
2870
2876
|
fill: "#001222",
|
|
2871
2877
|
d: "M0.25 8C0.25 3.71979 3.71979 0.25 8 0.25C12.2802 0.25 15.75 3.71979 15.75 8C15.75 12.2802 12.2802 15.75 8 15.75C3.71979 15.75 0.25 12.2802 0.25 8ZM8.75 8.75V4.25H7.25V8.75H8.75ZM8 11.5C8.41421 11.5 8.75 11.1642 8.75 10.75C8.75 10.3358 8.41421 10 8 10C7.58579 10 7.25 10.3358 7.25 10.75C7.25 11.1642 7.58579 11.5 8 11.5Z"
|
|
2872
2878
|
}, null, -1)
|
|
2873
|
-
]), 8,
|
|
2879
|
+
]), 8, Gs),
|
|
2874
2880
|
O("defs", null, [
|
|
2875
2881
|
O("clipPath", {
|
|
2876
2882
|
id: "uia-ui-assets/icons-16-warning_circle_fill__a" + e.uuid
|
|
@@ -2880,12 +2886,12 @@ function Hs(e, i, a, n, c, t) {
|
|
|
2880
2886
|
height: "16",
|
|
2881
2887
|
fill: "#fff"
|
|
2882
2888
|
}, null, -1)
|
|
2883
|
-
]), 8,
|
|
2889
|
+
]), 8, Hs)
|
|
2884
2890
|
])
|
|
2885
2891
|
], 16);
|
|
2886
2892
|
}
|
|
2887
|
-
const
|
|
2888
|
-
...
|
|
2893
|
+
const xs = /* @__PURE__ */ se(Bs, [["render", Vs]]), Zs = ["aria-label"], js = {}, qs = /* @__PURE__ */ Ne({
|
|
2894
|
+
...js,
|
|
2889
2895
|
__name: "data-grid-static-icon",
|
|
2890
2896
|
props: {
|
|
2891
2897
|
colored: { type: Boolean, default: !1 },
|
|
@@ -2893,25 +2899,25 @@ const Vs = /* @__PURE__ */ se(Ps, [["render", Hs]]), xs = ["aria-label"], Zs = {
|
|
|
2893
2899
|
variant: { default: "no-value" }
|
|
2894
2900
|
},
|
|
2895
2901
|
setup(e) {
|
|
2896
|
-
const i = e, a =
|
|
2902
|
+
const i = e, a = p(() => {
|
|
2897
2903
|
switch (i.variant) {
|
|
2898
2904
|
case "checkmark":
|
|
2899
|
-
return sl;
|
|
2900
|
-
case "warning":
|
|
2901
2905
|
return il;
|
|
2906
|
+
case "warning":
|
|
2907
|
+
return al;
|
|
2902
2908
|
case "error":
|
|
2903
|
-
return
|
|
2909
|
+
return xs;
|
|
2904
2910
|
case "cross":
|
|
2905
|
-
return
|
|
2911
|
+
return nn;
|
|
2906
2912
|
case "no-value":
|
|
2907
|
-
return
|
|
2913
|
+
return It;
|
|
2908
2914
|
default:
|
|
2909
|
-
return
|
|
2915
|
+
return It;
|
|
2910
2916
|
}
|
|
2911
|
-
}), n =
|
|
2917
|
+
}), n = p(() => ({
|
|
2912
2918
|
"b-data-grid-static-icon--colored": i.colored && i.variant !== "no-value"
|
|
2913
|
-
})), c =
|
|
2914
|
-
return (l,
|
|
2919
|
+
})), c = p(() => `b-data-grid-static-icon__${i.variant}`), t = p(() => cl.AUTO);
|
|
2920
|
+
return (l, _) => gt((f(), E("div", {
|
|
2915
2921
|
"aria-label": l.tooltipText,
|
|
2916
2922
|
class: fe(["b-data-grid-static-icon", n.value]),
|
|
2917
2923
|
tabindex: "0"
|
|
@@ -2920,11 +2926,11 @@ const Vs = /* @__PURE__ */ se(Ps, [["render", Hs]]), xs = ["aria-label"], Zs = {
|
|
|
2920
2926
|
class: fe(c.value),
|
|
2921
2927
|
"svg-title": l.tooltipText
|
|
2922
2928
|
}, null, 8, ["class", "svg-title"]))
|
|
2923
|
-
], 10,
|
|
2924
|
-
[o(
|
|
2929
|
+
], 10, Zs)), [
|
|
2930
|
+
[o(dl), l.tooltipText, t.value]
|
|
2925
2931
|
]);
|
|
2926
2932
|
}
|
|
2927
|
-
}),
|
|
2933
|
+
}), ta = /* @__PURE__ */ se(qs, [["__scopeId", "data-v-3ee55e9a"]]), wn = {
|
|
2928
2934
|
"de-DE": {
|
|
2929
2935
|
numberResults: "1 Ergebnis | {count} Ergebnisse"
|
|
2930
2936
|
},
|
|
@@ -2943,10 +2949,10 @@ const Vs = /* @__PURE__ */ se(Ps, [["render", Hs]]), xs = ["aria-label"], Zs = {
|
|
|
2943
2949
|
"pt-BR": {
|
|
2944
2950
|
numberResults: "1 resultado | {count} resultados"
|
|
2945
2951
|
}
|
|
2946
|
-
},
|
|
2947
|
-
i18n: { messages:
|
|
2948
|
-
},
|
|
2949
|
-
...
|
|
2952
|
+
}, Ks = { class: "b-data-grid-summary-cell" }, Ys = { class: "b-data-grid-summary-cell__list" }, Xs = {
|
|
2953
|
+
i18n: { messages: wn }
|
|
2954
|
+
}, Js = /* @__PURE__ */ Ne({
|
|
2955
|
+
...Xs,
|
|
2950
2956
|
__name: "data-grid-summary-cell",
|
|
2951
2957
|
props: {
|
|
2952
2958
|
label: {},
|
|
@@ -2956,26 +2962,26 @@ const Vs = /* @__PURE__ */ se(Ps, [["render", Hs]]), xs = ["aria-label"], Zs = {
|
|
|
2956
2962
|
tooltipText: { default: null }
|
|
2957
2963
|
},
|
|
2958
2964
|
setup(e) {
|
|
2959
|
-
const { tc: i } = Fe({ messages:
|
|
2960
|
-
var
|
|
2965
|
+
const { tc: i } = Fe({ messages: wn }), a = e, n = R(), c = p(() => {
|
|
2966
|
+
var w;
|
|
2961
2967
|
return {
|
|
2962
2968
|
popoverPosition: "right",
|
|
2963
2969
|
// Default is right but can be overriden
|
|
2964
2970
|
...a.dashedUnderline,
|
|
2965
|
-
popoverTitle: ((
|
|
2971
|
+
popoverTitle: ((w = a == null ? void 0 : a.dashedUnderline) == null ? void 0 : w.popoverTitle) ?? a.label,
|
|
2966
2972
|
// We force teleport as this is needed for the popover to appear above all the data grid elements
|
|
2967
2973
|
teleport: {
|
|
2968
2974
|
disabled: !1
|
|
2969
2975
|
}
|
|
2970
2976
|
};
|
|
2971
|
-
}), t =
|
|
2972
|
-
var
|
|
2973
|
-
return ((
|
|
2974
|
-
}), l = (
|
|
2975
|
-
() => a.tooltipText ?? (
|
|
2977
|
+
}), t = p(() => {
|
|
2978
|
+
var w;
|
|
2979
|
+
return ((w = a.searchTerm) == null ? void 0 : w.toLowerCase()) ?? "";
|
|
2980
|
+
}), l = (w) => a.searchTerm && w.toLowerCase().includes(t.value) ? "mark" : "span", _ = p(() => a.searchTerm ? a.items.filter((w) => w.toLowerCase().includes(t.value)).length : 0), C = p(
|
|
2981
|
+
() => a.tooltipText ?? (_.value > 0 ? i("numberResults", _.value) : "")
|
|
2976
2982
|
);
|
|
2977
|
-
return (
|
|
2978
|
-
|
|
2983
|
+
return (w, L) => (f(), E("div", Ks, [
|
|
2984
|
+
w.items.length > 1 ? (f(), B(o(fl), ee({
|
|
2979
2985
|
key: 0,
|
|
2980
2986
|
ref_key: "dashedUnderlineRef",
|
|
2981
2987
|
ref: n
|
|
@@ -2983,8 +2989,8 @@ const Vs = /* @__PURE__ */ se(Ps, [["render", Hs]]), xs = ["aria-label"], Zs = {
|
|
|
2983
2989
|
"popover-content": H(() => [
|
|
2984
2990
|
Y(o(Ke), { class: "b-data-grid-summary-cell__popover-content" }, {
|
|
2985
2991
|
default: H(() => [
|
|
2986
|
-
O("ul",
|
|
2987
|
-
(f(!0), E(ve, null, be(
|
|
2992
|
+
O("ul", Ys, [
|
|
2993
|
+
(f(!0), E(ve, null, be(w.items, (v) => (f(), E("li", { key: v }, [
|
|
2988
2994
|
(f(), B(Ze(l(v)), null, {
|
|
2989
2995
|
default: H(() => [
|
|
2990
2996
|
ce(q(v), 1)
|
|
@@ -2998,40 +3004,40 @@ const Vs = /* @__PURE__ */ se(Ps, [["render", Hs]]), xs = ["aria-label"], Zs = {
|
|
|
2998
3004
|
})
|
|
2999
3005
|
]),
|
|
3000
3006
|
default: H(() => [
|
|
3001
|
-
ce(q(
|
|
3007
|
+
ce(q(w.label) + " ", 1)
|
|
3002
3008
|
]),
|
|
3003
3009
|
_: 1
|
|
3004
3010
|
}, 16)) : (f(), E(ve, { key: 1 }, [
|
|
3005
|
-
ce(q(
|
|
3011
|
+
ce(q(w.items[0]), 1)
|
|
3006
3012
|
], 64)),
|
|
3007
|
-
n.value && C.value ? (f(), B(o(
|
|
3013
|
+
n.value && C.value ? (f(), B(o(ul), {
|
|
3008
3014
|
key: 2,
|
|
3009
3015
|
content: C.value,
|
|
3010
3016
|
"disabled-focus-trap": !0,
|
|
3011
|
-
position: o(
|
|
3017
|
+
position: o(rl).RIGHT,
|
|
3012
3018
|
"fallback-position": ["left", "bottom"],
|
|
3013
3019
|
"is-shown": !!C.value,
|
|
3014
3020
|
"target-element": n.value
|
|
3015
3021
|
}, null, 8, ["content", "position", "is-shown", "target-element"])) : z("", !0)
|
|
3016
3022
|
]));
|
|
3017
3023
|
}
|
|
3018
|
-
}),
|
|
3024
|
+
}), na = /* @__PURE__ */ se(Js, [["__scopeId", "data-v-c415d240"]]), Qs = ["aria-rowcount", "aria-colcount", "aria-label", "role"], ei = {
|
|
3019
3025
|
key: 1,
|
|
3020
3026
|
class: "b-data-grid__header"
|
|
3021
|
-
},
|
|
3027
|
+
}, ti = ["tabindex"], ni = ["tabindex", "aria-busy"], li = {
|
|
3022
3028
|
key: 0,
|
|
3023
3029
|
class: "b-data-grid__loading"
|
|
3024
|
-
},
|
|
3030
|
+
}, oi = {
|
|
3025
3031
|
key: 1,
|
|
3026
3032
|
class: "b-data-grid__empty-state"
|
|
3027
|
-
},
|
|
3033
|
+
}, si = {
|
|
3028
3034
|
key: 5,
|
|
3029
3035
|
class: "b-data-grid__footer"
|
|
3030
|
-
},
|
|
3036
|
+
}, ii = {
|
|
3031
3037
|
i18n: { messages: lt },
|
|
3032
3038
|
name: "bento-data-grid"
|
|
3033
|
-
},
|
|
3034
|
-
...
|
|
3039
|
+
}, ai = /* @__PURE__ */ Ne({
|
|
3040
|
+
...ii,
|
|
3035
3041
|
props: {
|
|
3036
3042
|
/**
|
|
3037
3043
|
* When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
|
|
@@ -3341,7 +3347,7 @@ const Vs = /* @__PURE__ */ se(Ps, [["render", Hs]]), xs = ["aria-label"], Zs = {
|
|
|
3341
3347
|
M.SORT
|
|
3342
3348
|
],
|
|
3343
3349
|
setup(e, { expose: i, emit: a }) {
|
|
3344
|
-
const n = e, c = vt(), t = ht(c), l = R(null),
|
|
3350
|
+
const n = e, c = vt(), t = ht(c), l = R(null), _ = R(), C = R({}), w = R(null), L = R(null), v = R(), D = R(null), y = R(null), u = R(null), {
|
|
3345
3351
|
allowColumnDragAndDrop: b,
|
|
3346
3352
|
columns: A,
|
|
3347
3353
|
columnPanel: d,
|
|
@@ -3356,7 +3362,7 @@ const Vs = /* @__PURE__ */ se(Ps, [["render", Hs]]), xs = ["aria-label"], Zs = {
|
|
|
3356
3362
|
stickyPagination: X,
|
|
3357
3363
|
outline: re,
|
|
3358
3364
|
pagination: te
|
|
3359
|
-
} = ft(n), me = R(-1), { t: he } = Fe({ messages: lt }), de =
|
|
3365
|
+
} = ft(n), me = R(-1), { t: he } = Fe({ messages: lt }), de = p(() => N.value.filter(($) => $.frozen).length), ge = at(
|
|
3360
3366
|
_l,
|
|
3361
3367
|
() => ({
|
|
3362
3368
|
additionalContentSlotRef: R(null),
|
|
@@ -3365,16 +3371,16 @@ const Vs = /* @__PURE__ */ se(Ps, [["render", Hs]]), xs = ["aria-label"], Zs = {
|
|
|
3365
3371
|
stickyTabs: R(!1),
|
|
3366
3372
|
tabsRef: R(null)
|
|
3367
3373
|
})
|
|
3368
|
-
), { additionalContentSlotRef: Q, isDataGridTemplate: h, stickyTabs: Z, tabsRef: x, stickyAdditionalContent: s } = ge(), W =
|
|
3374
|
+
), { additionalContentSlotRef: Q, isDataGridTemplate: h, stickyTabs: Z, tabsRef: x, stickyAdditionalContent: s } = ge(), W = p(() => n.fitContent || h ? 0 : null), {
|
|
3369
3375
|
columnDefs: N,
|
|
3370
3376
|
onColumnWidthOverride: ne,
|
|
3371
3377
|
gridRowWidthStyle: J,
|
|
3372
3378
|
isMeasuringColumnWidths: Ue,
|
|
3373
3379
|
isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: Ge,
|
|
3374
3380
|
columns: ze,
|
|
3375
|
-
totalWidthOfAllColumns:
|
|
3381
|
+
totalWidthOfAllColumns: S,
|
|
3376
3382
|
rowActionsMaxWidth: I
|
|
3377
|
-
} =
|
|
3383
|
+
} = jl(A, g, l, C, w, {
|
|
3378
3384
|
hasColumnPanel: d,
|
|
3379
3385
|
hasSelectableColumn: m,
|
|
3380
3386
|
hasSelectableAcrossPages: V,
|
|
@@ -3384,41 +3390,41 @@ const Vs = /* @__PURE__ */ se(Ps, [["render", Hs]]), xs = ["aria-label"], Zs = {
|
|
|
3384
3390
|
isDataGridTemplate: h
|
|
3385
3391
|
}), K = a, G = ($, ...U) => {
|
|
3386
3392
|
($ === M.COLUMNS || $ === M.UPDATE_COLUMNS) && ([ze.value] = U), K($, ...U);
|
|
3387
|
-
}, ie =
|
|
3393
|
+
}, ie = Ut(
|
|
3388
3394
|
x,
|
|
3389
3395
|
Z,
|
|
3390
3396
|
s,
|
|
3391
3397
|
Q
|
|
3392
|
-
), ue =
|
|
3398
|
+
), ue = p(
|
|
3393
3399
|
() => n.stickyFilters ? `${ie.value}px` : null
|
|
3394
|
-
),
|
|
3395
|
-
() => `${
|
|
3400
|
+
), pe = Ut(L, it(n, "stickyFilters")), Pe = p(
|
|
3401
|
+
() => `${pe.value + ie.value}px`
|
|
3396
3402
|
), {
|
|
3397
3403
|
sortedColumns: Ye,
|
|
3398
3404
|
columnSets: Ae,
|
|
3399
3405
|
isOnlyOneVisibleColumn: Xe,
|
|
3400
3406
|
onConfigSettingsUpdate: ot,
|
|
3401
3407
|
onConfigSettingsColumnsUpdate: _n,
|
|
3402
|
-
onConfigSettingsColumnUpdate:
|
|
3403
|
-
} =
|
|
3408
|
+
onConfigSettingsColumnUpdate: bn
|
|
3409
|
+
} = eo(N, G), { hoveredOverColumn: yn, hoveredOverColumnState: bt } = no(
|
|
3404
3410
|
Ae,
|
|
3405
3411
|
m,
|
|
3406
3412
|
re,
|
|
3407
3413
|
Ge
|
|
3408
|
-
), { draggingColumns: yt, draggingEventsForColumns:
|
|
3414
|
+
), { draggingColumns: yt, draggingEventsForColumns: pn, draggingEventsForRowCell: Sn, onMoveColumnByOffset: En } = Ql(Ye, b, G), { onAllRowSelect: pt, onRowSelect: Ln, onNestedRowSelect: Rn, selectedItems: St, allItemsSelectedState: An } = ql(
|
|
3409
3415
|
k,
|
|
3410
3416
|
G,
|
|
3411
3417
|
g,
|
|
3412
3418
|
n.getDataItemId,
|
|
3413
3419
|
n.isDataItemDisabled
|
|
3414
|
-
), { navigationInput: Je } =
|
|
3415
|
-
|
|
3420
|
+
), { navigationInput: Je } = Yl(
|
|
3421
|
+
w,
|
|
3416
3422
|
C,
|
|
3417
3423
|
Ye,
|
|
3418
3424
|
m,
|
|
3419
|
-
|
|
3425
|
+
p(() => n.rowActions !== void 0),
|
|
3420
3426
|
d
|
|
3421
|
-
), { isLazyLoad: Ve, isInfiniteScroll:
|
|
3427
|
+
), { isLazyLoad: Ve, isInfiniteScroll: On, verticalScrollPosition: Tn, emitLazyLoadEvent: Nn } = Jl(
|
|
3422
3428
|
r,
|
|
3423
3429
|
y,
|
|
3424
3430
|
l,
|
|
@@ -3426,111 +3432,111 @@ const Vs = /* @__PURE__ */ se(Ps, [["render", Hs]]), xs = ["aria-label"], Zs = {
|
|
|
3426
3432
|
G
|
|
3427
3433
|
), {
|
|
3428
3434
|
updateScrollPosition: Qe,
|
|
3429
|
-
updateScrollPositionOnFrozenColumnsNavigation:
|
|
3435
|
+
updateScrollPositionOnFrozenColumnsNavigation: In,
|
|
3430
3436
|
syncVirtualScrollerWithBody: Et,
|
|
3431
3437
|
hasLeftOverflow: et,
|
|
3432
3438
|
hasRightOverflow: Lt,
|
|
3433
|
-
horizontalScrollbarConditionalStyles:
|
|
3434
|
-
} =
|
|
3439
|
+
horizontalScrollbarConditionalStyles: $n
|
|
3440
|
+
} = to(
|
|
3435
3441
|
l,
|
|
3436
|
-
|
|
3437
|
-
|
|
3442
|
+
_,
|
|
3443
|
+
Tn,
|
|
3438
3444
|
u,
|
|
3439
3445
|
D,
|
|
3440
|
-
|
|
3446
|
+
S,
|
|
3441
3447
|
{
|
|
3442
3448
|
isLazyLoad: Ve,
|
|
3443
3449
|
pagination: te,
|
|
3444
3450
|
stickyPagination: X,
|
|
3445
3451
|
isDataGridTemplate: h
|
|
3446
3452
|
}
|
|
3447
|
-
),
|
|
3453
|
+
), Dn = () => {
|
|
3448
3454
|
v.value.isClearAllVisible ? v.value.clearAllFilters() : v.value.isResetAllVisible && v.value.resetAllFilters();
|
|
3449
|
-
},
|
|
3455
|
+
}, kn = p(() => {
|
|
3450
3456
|
var $, U;
|
|
3451
3457
|
return {
|
|
3452
3458
|
...n.emptyState,
|
|
3453
3459
|
variant: (($ = n.emptyState) == null ? void 0 : $.variant) === "embedded" || ((U = n.emptyState) == null ? void 0 : U.variant) === "basic" ? n.emptyState.variant : "basic"
|
|
3454
3460
|
};
|
|
3455
|
-
}),
|
|
3461
|
+
}), Mn = p(() => ({
|
|
3456
3462
|
[`b-data-grid--${ke.OUTLINE}`]: n.outline,
|
|
3457
3463
|
[`b-data-grid--${ke.SCROLL}`]: n.fitContent || Ve.value,
|
|
3458
3464
|
[`b-data-grid--${ke.STICKY_FILTERS}`]: n.filters && n.stickyFilters,
|
|
3459
3465
|
[`b-data-grid--${ke.OVERFLOW_SHADOW_LEFT}`]: et.value && !de.value,
|
|
3460
3466
|
[`b-data-grid--${ke.OVERFLOW_SHADOW_RIGHT}`]: Lt.value && n.rowActions === void 0,
|
|
3461
3467
|
[`b-data-grid--${ke.NO_SPACING_TOP}`]: n.noSpacingTop
|
|
3462
|
-
})),
|
|
3468
|
+
})), Fn = p(() => ({
|
|
3463
3469
|
"b-data-grid__body--sticky-horizontal-scrollbar": n.stickyHorizontalScrollbar
|
|
3464
|
-
})),
|
|
3470
|
+
})), Un = p(() => Ae.value.findIndex(($) => $.columnSet.length)), Rt = p(() => !((n.selectable || n.hasNestedContent || n.hasNestedRows) && de.value === 1) || et.value), zn = p(() => ({
|
|
3465
3471
|
"b-data-grid__filters--sticky": !!n.stickyFilters || h
|
|
3466
|
-
})),
|
|
3467
|
-
var $, U, oe, j,
|
|
3472
|
+
})), Pn = p(() => {
|
|
3473
|
+
var $, U, oe, j, Se, Oe;
|
|
3468
3474
|
return {
|
|
3469
3475
|
"b-data-grid__pagination--padding-left-unset": ((oe = (U = ($ = n.columns) == null ? void 0 : $[0]) == null ? void 0 : U.padding) == null ? void 0 : oe.left) === !1,
|
|
3470
|
-
"b-data-grid__pagination--padding-right-unset": ((Oe = (
|
|
3476
|
+
"b-data-grid__pagination--padding-right-unset": ((Oe = (Se = (j = n.columns) == null ? void 0 : j[n.columns.length - 1]) == null ? void 0 : Se.padding) == null ? void 0 : Oe.right) === !1,
|
|
3471
3477
|
"b-data-grid__pagination--sticky": !!n.stickyPagination || h
|
|
3472
3478
|
};
|
|
3473
|
-
}),
|
|
3479
|
+
}), Bn = ($) => {
|
|
3474
3480
|
const U = $;
|
|
3475
3481
|
$ !== null && (U != null && U.columnHeaderRefs) && Object.entries(U == null ? void 0 : U.columnHeaderRefs).forEach(([oe, j]) => {
|
|
3476
3482
|
C.value[oe] = j;
|
|
3477
3483
|
});
|
|
3478
|
-
},
|
|
3479
|
-
var j,
|
|
3484
|
+
}, Wn = ($, U) => {
|
|
3485
|
+
var j, Se, Oe, Be;
|
|
3480
3486
|
const oe = $;
|
|
3481
3487
|
if ($ !== null && oe != null && oe.gridcellRefs) {
|
|
3482
3488
|
const Ee = n.rowActions !== void 0 && (oe == null ? void 0 : oe.rowActionsRef);
|
|
3483
3489
|
Object.entries(oe == null ? void 0 : oe.gridcellRefs).map(([Ie, xe]) => {
|
|
3484
3490
|
var Tt;
|
|
3485
|
-
((Tt =
|
|
3486
|
-
}), Ee && (((j =
|
|
3491
|
+
((Tt = w.value) == null ? void 0 : Tt[Ie]) === void 0 && (w.value = { ...w.value, [Ie]: [] }), w.value[Ie][U] = xe;
|
|
3492
|
+
}), Ee && (((j = w.value) == null ? void 0 : j[je]) === void 0 && (w.value = { ...w.value, [je]: [] }), w.value[je][U] = (Se = oe.rowActionsRef) == null ? void 0 : Se[0], I.value = Math.max(
|
|
3487
3493
|
I.value,
|
|
3488
3494
|
((Be = (Oe = oe.rowActionsRef) == null ? void 0 : Oe[0]) == null ? void 0 : Be.offsetWidth) ?? 0
|
|
3489
3495
|
));
|
|
3490
3496
|
}
|
|
3491
|
-
},
|
|
3497
|
+
}, Gn = ($, U) => {
|
|
3492
3498
|
n.allowRowClicks && G(M.ROW_CLICK, $, U);
|
|
3493
|
-
},
|
|
3499
|
+
}, Hn = ($) => {
|
|
3494
3500
|
me.value = $;
|
|
3495
|
-
},
|
|
3496
|
-
label: c != null && c.header ?
|
|
3501
|
+
}, Vn = p(() => !!n.selectableAcrossPages && !!n.pagination), xn = p(() => n.hasNestedContent || n.hasNestedRows ? "treegrid" : "grid"), At = ml({
|
|
3502
|
+
label: c != null && c.header ? hl(c)("header") : null,
|
|
3497
3503
|
defaultFallback: "data grid"
|
|
3498
|
-
}), Ot =
|
|
3504
|
+
}), Ot = p(() => {
|
|
3499
3505
|
var $;
|
|
3500
|
-
return (($ =
|
|
3501
|
-
}),
|
|
3506
|
+
return (($ = St.value) == null ? void 0 : $.length) ?? 0;
|
|
3507
|
+
}), Zn = p(() => n.bulkActions && Ot.value > 0), jn = ($) => G(M.COLUMN_RESIZE, $), qn = ($) => {
|
|
3502
3508
|
G(M.UPDATE_SORT_BY, $), G(M.SORT, $);
|
|
3503
|
-
},
|
|
3509
|
+
}, Kn = ($, U) => {
|
|
3504
3510
|
G(M.NAVIGATE, $), G(M.UPDATE_PAGINATION, {
|
|
3505
3511
|
...n.pagination,
|
|
3506
3512
|
size: U,
|
|
3507
3513
|
page: $
|
|
3508
3514
|
});
|
|
3509
|
-
},
|
|
3515
|
+
}, Yn = ($) => {
|
|
3510
3516
|
G(M.ITEMS_PAGE, $);
|
|
3511
|
-
},
|
|
3517
|
+
}, Xn = () => {
|
|
3512
3518
|
G(M.FILTER_SEARCH_CLEAR);
|
|
3513
|
-
},
|
|
3519
|
+
}, Jn = ($) => {
|
|
3514
3520
|
G(M.UPDATE_FILTER_SEARCH_TERM, $), G(M.FILTER_SEARCH_INPUT, $);
|
|
3515
3521
|
};
|
|
3516
|
-
return
|
|
3522
|
+
return p(() => A.value.some(($) => $.mandatory)).value || ln(
|
|
3517
3523
|
"WARNING: At least one BentoDataGrid column should be set as mandatory to ensure data is always displayed correctly."
|
|
3518
|
-
), at(
|
|
3524
|
+
), at(wl, () => null)(n.tabTitle), tn(mn, it(n, "slashedZero")), i({ onEmptyStateClearResetButtonClick: Dn }), ($, U) => {
|
|
3519
3525
|
var oe;
|
|
3520
3526
|
return f(), E("div", {
|
|
3521
|
-
class: fe(["b-data-grid",
|
|
3527
|
+
class: fe(["b-data-grid", Mn.value]),
|
|
3522
3528
|
"aria-rowcount": o(g).length,
|
|
3523
3529
|
"aria-colcount": o(A).length,
|
|
3524
3530
|
"aria-label": o(At),
|
|
3525
|
-
role:
|
|
3531
|
+
role: xn.value,
|
|
3526
3532
|
onCopy: U[11] || (U[11] = //@ts-ignore
|
|
3527
|
-
(...j) => o(
|
|
3533
|
+
(...j) => o(Bt) && o(Bt)(...j))
|
|
3528
3534
|
}, [
|
|
3529
3535
|
e.filters ? (f(), E("div", {
|
|
3530
3536
|
key: 0,
|
|
3531
3537
|
ref_key: "filtersRef",
|
|
3532
3538
|
ref: L,
|
|
3533
|
-
class: fe(["b-data-grid__filters",
|
|
3539
|
+
class: fe(["b-data-grid__filters", zn.value]),
|
|
3534
3540
|
style: De({ top: ue.value })
|
|
3535
3541
|
}, [
|
|
3536
3542
|
e.filters ? (f(), B(o(st), {
|
|
@@ -3542,20 +3548,20 @@ const Vs = /* @__PURE__ */ se(Ps, [["render", Hs]]), xs = ["aria-label"], Zs = {
|
|
|
3542
3548
|
"filter-values": e.filterValues,
|
|
3543
3549
|
search: e.filterSearchConfig,
|
|
3544
3550
|
"search-term": e.filterSearchTerm,
|
|
3545
|
-
onSearchInput:
|
|
3546
|
-
onSearchClear:
|
|
3551
|
+
onSearchInput: Jn,
|
|
3552
|
+
onSearchClear: Xn,
|
|
3547
3553
|
onInput: U[0] || (U[0] = (j) => $.$emit(o(M).UPDATE_FILTERS, j)),
|
|
3548
3554
|
"onUpdate:filterValues": U[1] || (U[1] = (j) => $.$emit(o(M).UPDATE_FILTER_VALUES, j))
|
|
3549
3555
|
}, null, 8, ["config", "container-size-layout", "filter-values", "search", "search-term"])) : z("", !0)
|
|
3550
3556
|
], 6)) : z("", !0),
|
|
3551
|
-
$.$slots.header ? (f(), E("div",
|
|
3557
|
+
$.$slots.header ? (f(), E("div", ei, [
|
|
3552
3558
|
Te($.$slots, "header", {}, void 0, !0)
|
|
3553
3559
|
])) : z("", !0),
|
|
3554
3560
|
O("div", {
|
|
3555
3561
|
class: "b-data-grid__column-headers",
|
|
3556
3562
|
style: De({ top: Pe.value })
|
|
3557
3563
|
}, [
|
|
3558
|
-
o(d) ? (f(), B(o(
|
|
3564
|
+
o(d) ? (f(), B(o(vs), {
|
|
3559
3565
|
key: 0,
|
|
3560
3566
|
class: "b-data-grid__config-settings",
|
|
3561
3567
|
columns: o(ze),
|
|
@@ -3565,7 +3571,7 @@ const Vs = /* @__PURE__ */ se(Ps, [["render", Hs]]), xs = ["aria-label"], Zs = {
|
|
|
3565
3571
|
}, null, 8, ["columns", "condensed", "onConfigSettings", "onUpdate:columns"])) : z("", !0),
|
|
3566
3572
|
O("div", {
|
|
3567
3573
|
ref_key: "columnsRef",
|
|
3568
|
-
ref:
|
|
3574
|
+
ref: _,
|
|
3569
3575
|
role: "rowgroup",
|
|
3570
3576
|
class: "b-data-grid__columns-row",
|
|
3571
3577
|
tabindex: W.value,
|
|
@@ -3579,38 +3585,38 @@ const Vs = /* @__PURE__ */ se(Ps, [["render", Hs]]), xs = ["aria-label"], Zs = {
|
|
|
3579
3585
|
class: "b-data-grid__columns",
|
|
3580
3586
|
role: "row"
|
|
3581
3587
|
}, [
|
|
3582
|
-
(f(!0), E(ve, null, be(o(Ae), ({ columnSet: j, id:
|
|
3583
|
-
j != null && j.length ? (f(), B(o(
|
|
3584
|
-
key: `data-grid-columns-${
|
|
3588
|
+
(f(!0), E(ve, null, be(o(Ae), ({ columnSet: j, id: Se, isFrozenColumns: Oe }, Be) => (f(), E(ve, null, [
|
|
3589
|
+
j != null && j.length ? (f(), B(o(Zo), ee({
|
|
3590
|
+
key: `data-grid-columns-${Se}`,
|
|
3585
3591
|
ref_for: !0,
|
|
3586
|
-
ref: (Ee) =>
|
|
3592
|
+
ref: (Ee) => Bn(Ee),
|
|
3587
3593
|
columns: j,
|
|
3588
3594
|
"has-resizable-columns": e.hasResizableColumns,
|
|
3589
3595
|
"sort-by": e.sortBy,
|
|
3590
|
-
"all-items-selected-state": o(
|
|
3596
|
+
"all-items-selected-state": o(An),
|
|
3591
3597
|
"is-frozen-columns": Oe,
|
|
3592
3598
|
"show-frozen-columns-separator": Rt.value,
|
|
3593
3599
|
"dragging-columns": o(yt),
|
|
3594
3600
|
"has-draggable-columns": o(b),
|
|
3595
3601
|
"has-column-panel": o(d),
|
|
3596
3602
|
"has-left-overflow": o(et),
|
|
3597
|
-
"has-first-column-panel-right-aligned": Be ===
|
|
3603
|
+
"has-first-column-panel-right-aligned": Be === Un.value,
|
|
3598
3604
|
"hovered-over-column-state": o(bt),
|
|
3599
3605
|
"is-measuring-column-widths": o(Ue),
|
|
3600
3606
|
"is-only-one-visible-column": o(Xe),
|
|
3601
3607
|
selectable: o(m),
|
|
3602
|
-
"selectable-across-pages":
|
|
3608
|
+
"selectable-across-pages": Vn.value,
|
|
3603
3609
|
"truncate-column-headers": e.truncateColumnHeaders,
|
|
3604
3610
|
"row-actions-maximum-width": o(I)
|
|
3605
|
-
}, nt(o(
|
|
3606
|
-
onColumnHover: U[2] || (U[2] = (Ee) =>
|
|
3607
|
-
onColumnMove: o(
|
|
3608
|
-
onColumnUpdate: o(
|
|
3609
|
-
onColumnResize:
|
|
3611
|
+
}, nt(o(pn)), {
|
|
3612
|
+
onColumnHover: U[2] || (U[2] = (Ee) => yn.value = Ee),
|
|
3613
|
+
onColumnMove: o(En),
|
|
3614
|
+
onColumnUpdate: o(bn),
|
|
3615
|
+
onColumnResize: jn,
|
|
3610
3616
|
onColumnResizing: o(ne),
|
|
3611
|
-
onSelectAllRows: o(
|
|
3617
|
+
onSelectAllRows: o(pt),
|
|
3612
3618
|
onSelectAllAcrossPages: U[3] || (U[3] = (Ee) => G(o(M).SELECT_ALL_ACROSS_PAGES)),
|
|
3613
|
-
onSort:
|
|
3619
|
+
onSort: qn
|
|
3614
3620
|
}), He({ _: 2 }, [
|
|
3615
3621
|
be(o(c), (Ee, Ie) => ({
|
|
3616
3622
|
name: Ie,
|
|
@@ -3621,20 +3627,20 @@ const Vs = /* @__PURE__ */ se(Ps, [["render", Hs]]), xs = ["aria-label"], Zs = {
|
|
|
3621
3627
|
]), 1040, ["columns", "has-resizable-columns", "sort-by", "all-items-selected-state", "is-frozen-columns", "show-frozen-columns-separator", "dragging-columns", "has-draggable-columns", "has-column-panel", "has-left-overflow", "has-first-column-panel-right-aligned", "hovered-over-column-state", "is-measuring-column-widths", "is-only-one-visible-column", "selectable", "selectable-across-pages", "truncate-column-headers", "row-actions-maximum-width", "onColumnMove", "onColumnUpdate", "onColumnResizing", "onSelectAllRows"])) : z("", !0)
|
|
3622
3628
|
], 64))), 256))
|
|
3623
3629
|
], 4)
|
|
3624
|
-
], 40,
|
|
3630
|
+
], 40, ti)
|
|
3625
3631
|
], 4),
|
|
3626
3632
|
O("div", {
|
|
3627
3633
|
ref_key: "body",
|
|
3628
3634
|
ref: l,
|
|
3629
3635
|
"data-testid": "data-grid-body",
|
|
3630
|
-
class: fe(["b-data-grid__body",
|
|
3636
|
+
class: fe(["b-data-grid__body", Fn.value]),
|
|
3631
3637
|
tabindex: o(T) ? "0" : "-1",
|
|
3632
3638
|
"aria-busy": o(T),
|
|
3633
3639
|
"aria-live": "polite",
|
|
3634
3640
|
onScroll: U[8] || (U[8] = //@ts-ignore
|
|
3635
3641
|
(...j) => o(Qe) && o(Qe)(...j))
|
|
3636
3642
|
}, [
|
|
3637
|
-
o(T) && !o(Ve) ? (f(), E("div",
|
|
3643
|
+
o(T) && !o(Ve) ? (f(), E("div", li, [
|
|
3638
3644
|
Y(o(mt), {
|
|
3639
3645
|
class: "b-data-grid__loading-indicator",
|
|
3640
3646
|
large: ""
|
|
@@ -3648,8 +3654,8 @@ const Vs = /* @__PURE__ */ se(Ps, [["render", Hs]]), xs = ["aria-label"], Zs = {
|
|
|
3648
3654
|
]),
|
|
3649
3655
|
_: 1
|
|
3650
3656
|
})
|
|
3651
|
-
])) : ((oe = o(g)) == null ? void 0 : oe.length) === 0 && e.emptyState ? (f(), E("div",
|
|
3652
|
-
Y(o(
|
|
3657
|
+
])) : ((oe = o(g)) == null ? void 0 : oe.length) === 0 && e.emptyState ? (f(), E("div", oi, [
|
|
3658
|
+
Y(o(Cl), ol(sl(kn.value)), null, 16)
|
|
3653
3659
|
])) : (f(), E("div", {
|
|
3654
3660
|
key: 2,
|
|
3655
3661
|
class: "b-data-grid__rows",
|
|
@@ -3657,12 +3663,12 @@ const Vs = /* @__PURE__ */ se(Ps, [["render", Hs]]), xs = ["aria-label"], Zs = {
|
|
|
3657
3663
|
onKeydown: U[7] || (U[7] = //@ts-ignore
|
|
3658
3664
|
(...j) => o(Je) && o(Je)(...j))
|
|
3659
3665
|
}, [
|
|
3660
|
-
(f(!0), E(ve, null, be(o(g), (j,
|
|
3666
|
+
(f(!0), E(ve, null, be(o(g), (j, Se) => {
|
|
3661
3667
|
var Oe, Be;
|
|
3662
|
-
return f(), B(o(
|
|
3663
|
-
key:
|
|
3668
|
+
return f(), B(o(Cn), {
|
|
3669
|
+
key: Se,
|
|
3664
3670
|
ref_for: !0,
|
|
3665
|
-
ref: (Ee) =>
|
|
3671
|
+
ref: (Ee) => Wn(Ee, Se),
|
|
3666
3672
|
style: De(o(J)),
|
|
3667
3673
|
"allow-row-clicks": e.allowRowClicks,
|
|
3668
3674
|
"column-sets": o(Ae),
|
|
@@ -3678,24 +3684,24 @@ const Vs = /* @__PURE__ */ se(Ps, [["render", Hs]]), xs = ["aria-label"], Zs = {
|
|
|
3678
3684
|
"hovered-row-index": me.value,
|
|
3679
3685
|
"hovered-over-column-state": o(bt),
|
|
3680
3686
|
"is-data-item-disabled": e.isDataItemDisabled,
|
|
3681
|
-
"is-row-last-child":
|
|
3687
|
+
"is-row-last-child": Se + 1 === ((Oe = o(g)) == null ? void 0 : Oe.length),
|
|
3682
3688
|
"is-measuring-column-widths": o(Ue),
|
|
3683
3689
|
"row-actions-maximum-width": o(I),
|
|
3684
3690
|
"row-actions": e.rowActions,
|
|
3685
3691
|
"row-data": j,
|
|
3686
|
-
"row-index":
|
|
3692
|
+
"row-index": Se,
|
|
3687
3693
|
"row-set-size": (Be = o(g)) == null ? void 0 : Be.length,
|
|
3688
3694
|
"show-frozen-columns-separator": Rt.value,
|
|
3689
3695
|
"should-show-nested-content": e.shouldShowNestedContent,
|
|
3690
3696
|
"should-show-nested-rows": e.shouldShowNestedRows,
|
|
3691
3697
|
selectable: o(m),
|
|
3692
|
-
"selected-items": o(
|
|
3693
|
-
onCellHovered:
|
|
3698
|
+
"selected-items": o(St),
|
|
3699
|
+
onCellHovered: Hn,
|
|
3694
3700
|
onNestedContentToggled: U[6] || (U[6] = (Ee) => G(o(M).NESTED_CONTENT_TOGGLED, Ee)),
|
|
3695
|
-
onRowClick:
|
|
3696
|
-
onOnFrozenColumnsKeyPress: o(
|
|
3697
|
-
onSelectRow: o(
|
|
3698
|
-
onSelectNestedRow: o(
|
|
3701
|
+
onRowClick: Gn,
|
|
3702
|
+
onOnFrozenColumnsKeyPress: o(In),
|
|
3703
|
+
onSelectRow: o(Ln),
|
|
3704
|
+
onSelectNestedRow: o(Rn)
|
|
3699
3705
|
}, He({ _: 2 }, [
|
|
3700
3706
|
be(o(c), (Ee, Ie) => ({
|
|
3701
3707
|
name: Ie,
|
|
@@ -3706,12 +3712,12 @@ const Vs = /* @__PURE__ */ se(Ps, [["render", Hs]]), xs = ["aria-label"], Zs = {
|
|
|
3706
3712
|
]), 1032, ["style", "allow-row-clicks", "column-sets", "condensed", "dragging-columns", "dragging-events-for-row-cell", "get-data-item-id", "has-nested-content", "has-nested-rows", "has-left-overflow", "has-right-overflow", "highlighted-rows", "hovered-row-index", "hovered-over-column-state", "is-data-item-disabled", "is-row-last-child", "is-measuring-column-widths", "row-actions-maximum-width", "row-actions", "row-data", "row-index", "row-set-size", "show-frozen-columns-separator", "should-show-nested-content", "should-show-nested-rows", "selectable", "selected-items", "onOnFrozenColumnsKeyPress", "onSelectRow", "onSelectNestedRow"]);
|
|
3707
3713
|
}), 128))
|
|
3708
3714
|
], 32))
|
|
3709
|
-
], 42,
|
|
3710
|
-
o(Ve) ? (f(), B(o(
|
|
3715
|
+
], 42, ni),
|
|
3716
|
+
o(Ve) ? (f(), B(o(ws), {
|
|
3711
3717
|
key: 2,
|
|
3712
3718
|
loading: o(T),
|
|
3713
|
-
"is-infinite-scroll": o(
|
|
3714
|
-
"onUpdate:showMore": o(
|
|
3719
|
+
"is-infinite-scroll": o(On),
|
|
3720
|
+
"onUpdate:showMore": o(Nn)
|
|
3715
3721
|
}, null, 8, ["loading", "is-infinite-scroll", "onUpdate:showMore"])) : z("", !0),
|
|
3716
3722
|
e.stickyHorizontalScrollbar ? (f(), E("div", {
|
|
3717
3723
|
key: 3,
|
|
@@ -3720,12 +3726,12 @@ const Vs = /* @__PURE__ */ se(Ps, [["render", Hs]]), xs = ["aria-label"], Zs = {
|
|
|
3720
3726
|
class: "b-data-grid__horizontal-scrollbar",
|
|
3721
3727
|
"aria-hidden": "true",
|
|
3722
3728
|
"data-testid": "sticky-horizontal-scrollbar",
|
|
3723
|
-
style: De(o(
|
|
3729
|
+
style: De(o($n)),
|
|
3724
3730
|
onScroll: U[9] || (U[9] = //@ts-ignore
|
|
3725
3731
|
(...j) => o(Et) && o(Et)(...j))
|
|
3726
3732
|
}, [
|
|
3727
3733
|
O("div", {
|
|
3728
|
-
style: De({ width: `${o(
|
|
3734
|
+
style: De({ width: `${o(S)}px`, height: "15px" })
|
|
3729
3735
|
}, null, 4)
|
|
3730
3736
|
], 36)) : z("", !0),
|
|
3731
3737
|
o(te) && !o(Ve) ? (f(), E("div", {
|
|
@@ -3733,12 +3739,12 @@ const Vs = /* @__PURE__ */ se(Ps, [["render", Hs]]), xs = ["aria-label"], Zs = {
|
|
|
3733
3739
|
ref_key: "paginationContainerRef",
|
|
3734
3740
|
ref: D,
|
|
3735
3741
|
"data-testid": "pagination-container",
|
|
3736
|
-
class: fe(["b-data-grid__pagination",
|
|
3742
|
+
class: fe(["b-data-grid__pagination", Pn.value])
|
|
3737
3743
|
}, [
|
|
3738
|
-
Y(o(
|
|
3744
|
+
Y(o(vl), ee(o(te), {
|
|
3739
3745
|
"aria-label": `${o(At)} navigation`,
|
|
3740
|
-
onNavigate:
|
|
3741
|
-
onItemsPage:
|
|
3746
|
+
onNavigate: Kn,
|
|
3747
|
+
onItemsPage: Yn
|
|
3742
3748
|
}), {
|
|
3743
3749
|
default: H(() => [
|
|
3744
3750
|
o(t)("pagination-slot") ? Te($.$slots, "pagination-slot", { key: 0 }, void 0, !0) : z("", !0)
|
|
@@ -3746,28 +3752,28 @@ const Vs = /* @__PURE__ */ se(Ps, [["render", Hs]]), xs = ["aria-label"], Zs = {
|
|
|
3746
3752
|
_: 3
|
|
3747
3753
|
}, 16, ["aria-label"])
|
|
3748
3754
|
], 2)) : z("", !0),
|
|
3749
|
-
$.$slots.footer ? (f(), E("div",
|
|
3755
|
+
$.$slots.footer ? (f(), E("div", si, [
|
|
3750
3756
|
Te($.$slots, "footer", {}, void 0, !0)
|
|
3751
3757
|
])) : z("", !0),
|
|
3752
|
-
|
|
3758
|
+
Zn.value ? (f(), B(o(gl), {
|
|
3753
3759
|
key: 6,
|
|
3754
3760
|
actions: e.bulkActions,
|
|
3755
3761
|
"item-counter": Ot.value,
|
|
3756
3762
|
"extra-bottom-spacing": o(X),
|
|
3757
|
-
onClose: U[10] || (U[10] = (j) => o(
|
|
3763
|
+
onClose: U[10] || (U[10] = (j) => o(pt)(!1))
|
|
3758
3764
|
}, null, 8, ["actions", "item-counter", "extra-bottom-spacing"])) : z("", !0)
|
|
3759
|
-
], 42,
|
|
3765
|
+
], 42, Qs);
|
|
3760
3766
|
};
|
|
3761
3767
|
}
|
|
3762
|
-
}),
|
|
3768
|
+
}), la = /* @__PURE__ */ se(ai, [["__scopeId", "data-v-1551c664"]]);
|
|
3763
3769
|
export {
|
|
3764
3770
|
ut as B,
|
|
3765
|
-
|
|
3766
|
-
|
|
3771
|
+
ta as a,
|
|
3772
|
+
na as b,
|
|
3767
3773
|
ke as c,
|
|
3768
|
-
|
|
3774
|
+
la as d,
|
|
3769
3775
|
Me as e,
|
|
3770
3776
|
M as f,
|
|
3771
3777
|
tt as g
|
|
3772
3778
|
};
|
|
3773
|
-
//# sourceMappingURL=data-grid.
|
|
3779
|
+
//# sourceMappingURL=data-grid.DroQMKSc.js.map
|