@adyen/bento-vue2 1.90.0 → 1.91.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/@types/components.d.ts +2 -0
- package/dist/@types/index.d.ts +254 -109
- package/dist/action-bar.js +1 -1
- package/dist/ai-tag.js +1 -1
- 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/button-actions.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/date-range-picker.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/draggable-handle.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/error-message.css +1 -1
- package/dist/assets/field-label.css +1 -0
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/form-layout-title.css +1 -1
- package/dist/assets/input-field.css +1 -1
- package/dist/assets/input-time.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/secondary-nav.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/button.js +1 -1
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chunks/{action-bar.B63qIiiH.js → action-bar.Dj830k6L.js} +3 -3
- package/dist/chunks/{action-bar.B63qIiiH.js.map → action-bar.Dj830k6L.js.map} +1 -1
- package/dist/chunks/{ai-tag.CCJCOdXu.js → ai-tag.AyG2UWCB.js} +2 -2
- package/dist/chunks/{ai-tag.CCJCOdXu.js.map → ai-tag.AyG2UWCB.js.map} +1 -1
- package/dist/chunks/{base-modal.DpmeDmq-.js → base-modal.C52VMtnd.js} +4 -4
- package/dist/chunks/{base-modal.DpmeDmq-.js.map → base-modal.C52VMtnd.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.ChTUOsZl.js → button-actions-with-menu.OsPQ-POD.js} +2 -2
- package/dist/chunks/{button-actions-with-menu.ChTUOsZl.js.map → button-actions-with-menu.OsPQ-POD.js.map} +1 -1
- package/dist/chunks/{button-actions.BmU1DngD.js → button-actions.Bdbu0bvt.js} +2 -2
- package/dist/chunks/{button-actions.BmU1DngD.js.map → button-actions.Bdbu0bvt.js.map} +1 -1
- package/dist/chunks/{calendar.uvIGF_jU.js → calendar.CqsfThnC.js} +271 -253
- package/dist/chunks/calendar.CqsfThnC.js.map +1 -0
- package/dist/chunks/{card.WWUfBkqf.js → card.8z7UQeVK.js} +2 -2
- package/dist/chunks/{card.WWUfBkqf.js.map → card.8z7UQeVK.js.map} +1 -1
- package/dist/chunks/{checkbox-group.CI0xDnql.js → checkbox-group.Dur2Edtw.js} +4 -4
- package/dist/chunks/{checkbox-group.CI0xDnql.js.map → checkbox-group.Dur2Edtw.js.map} +1 -1
- package/dist/chunks/{checkbox.TsWA6O3Z.js → checkbox.vNjt6QDJ.js} +18 -18
- package/dist/chunks/{checkbox.TsWA6O3Z.js.map → checkbox.vNjt6QDJ.js.map} +1 -1
- package/dist/chunks/{click-outside.CDz_x8mN.js → click-outside.BG01Sm0A.js} +2 -2
- package/dist/chunks/{click-outside.CDz_x8mN.js.map → click-outside.BG01Sm0A.js.map} +1 -1
- package/dist/chunks/{code-snippet.4DX9iUV8.js → code-snippet.BVpFBhKq.js} +3 -3
- package/dist/chunks/{code-snippet.4DX9iUV8.js.map → code-snippet.BVpFBhKq.js.map} +1 -1
- package/dist/chunks/{controls-group.D_KE99mg.js → controls-group.DSm2Ujwt.js} +2 -2
- package/dist/chunks/{controls-group.D_KE99mg.js.map → controls-group.DSm2Ujwt.js.map} +1 -1
- package/dist/chunks/{dashboard-section.TWlLdQHG.js → dashboard-section.DNxNVV44.js} +2 -2
- package/dist/chunks/{dashboard-section.TWlLdQHG.js.map → dashboard-section.DNxNVV44.js.map} +1 -1
- package/dist/chunks/{dashed-underline.CpDuQ3Fo.js → dashed-underline.DL2_sik5.js} +2 -2
- package/dist/chunks/{dashed-underline.CpDuQ3Fo.js.map → dashed-underline.DL2_sik5.js.map} +1 -1
- package/dist/chunks/{data-grid-template.DZaE-kOS.js → data-grid-template.BFv1zr6g.js} +2 -2
- package/dist/chunks/{data-grid-template.DZaE-kOS.js.map → data-grid-template.BFv1zr6g.js.map} +1 -1
- package/dist/chunks/{data-grid.x6cEW0az.js → data-grid.ZHY5EzP3.js} +318 -316
- package/dist/chunks/{data-grid.x6cEW0az.js.map → data-grid.ZHY5EzP3.js.map} +1 -1
- package/dist/chunks/date-picker.kl6aFlr1.js +237 -0
- package/dist/chunks/date-picker.kl6aFlr1.js.map +1 -0
- package/dist/chunks/{date-range-picker.DPGy2h-9.js → date-range-picker.LCWVAa5R.js} +412 -391
- package/dist/chunks/date-range-picker.LCWVAa5R.js.map +1 -0
- package/dist/chunks/{directive.rXUeDb8p.js → directive.Bfr4fuOy.js} +2 -2
- package/dist/chunks/{directive.rXUeDb8p.js.map → directive.Bfr4fuOy.js.map} +1 -1
- package/dist/{draggable-handle.js → chunks/draggable-handle.Ba28eM8o.js} +49 -40
- package/dist/chunks/draggable-handle.Ba28eM8o.js.map +1 -0
- package/dist/chunks/{dropdown-tag.t3FlJUSy.js → dropdown-tag.B61hPq5n.js} +2 -2
- package/dist/chunks/{dropdown-tag.t3FlJUSy.js.map → dropdown-tag.B61hPq5n.js.map} +1 -1
- package/dist/chunks/dropdown.Ca-f8tdX.js +1140 -0
- package/dist/chunks/dropdown.Ca-f8tdX.js.map +1 -0
- package/dist/chunks/error-message.CyERcfdt.js +72 -0
- package/dist/chunks/error-message.CyERcfdt.js.map +1 -0
- package/dist/chunks/field-label.DjjjkcO6.js +97 -0
- package/dist/chunks/field-label.DjjjkcO6.js.map +1 -0
- package/dist/chunks/{file-uploader.Cig5gDXT.js → file-uploader.DeWmLpfp.js} +5 -4
- package/dist/chunks/{file-uploader.Cig5gDXT.js.map → file-uploader.DeWmLpfp.js.map} +1 -1
- package/dist/chunks/{filter-bar.x445KK3y.js → filter-bar.Bd4ghW_B.js} +888 -871
- package/dist/chunks/filter-bar.Bd4ghW_B.js.map +1 -0
- package/dist/chunks/{footer-actions.CIkul1OD.js → footer-actions.CvUaoMzj.js} +2 -2
- package/dist/chunks/{footer-actions.CIkul1OD.js.map → footer-actions.CvUaoMzj.js.map} +1 -1
- package/dist/chunks/{form-layout-title.DR5M7GP3.js → form-layout-title.DzGajv4U.js} +70 -61
- package/dist/chunks/form-layout-title.DzGajv4U.js.map +1 -0
- package/dist/chunks/{header-meta.BC5fdpD1.js → header-meta.AXUGoqDd.js} +2 -2
- package/dist/chunks/{header-meta.BC5fdpD1.js.map → header-meta.AXUGoqDd.js.map} +1 -1
- package/dist/chunks/{header-with-views.-cvdi9-L.js → header-with-views.Ba4dswJF.js} +10 -10
- package/dist/chunks/{header-with-views.-cvdi9-L.js.map → header-with-views.Ba4dswJF.js.map} +1 -1
- package/dist/chunks/{header.DtmZjxiU.js → header.C7B7RBib.js} +3 -3
- package/dist/chunks/{header.DtmZjxiU.js.map → header.C7B7RBib.js.map} +1 -1
- package/dist/chunks/{input-field-password.Bdlw4dzr.js → input-field-password.BNAtIn_D.js} +4 -4
- package/dist/chunks/{input-field-password.Bdlw4dzr.js.map → input-field-password.BNAtIn_D.js.map} +1 -1
- package/dist/chunks/{input-field-phone-number.DPuWxBBz.js → input-field-phone-number.CEYx1s4b.js} +3 -3
- package/dist/chunks/{input-field-phone-number.DPuWxBBz.js.map → input-field-phone-number.CEYx1s4b.js.map} +1 -1
- package/dist/chunks/{input-field.DH25CU_G.js → input-field.Dh5W0Az-.js} +74 -70
- package/dist/chunks/input-field.Dh5W0Az-.js.map +1 -0
- package/dist/chunks/input-time.BLuMfakv.js +135 -0
- package/dist/chunks/input-time.BLuMfakv.js.map +1 -0
- package/dist/chunks/{modal-fullscreen.CaxuXW-H.js → modal-fullscreen.DTvg2NLk.js} +2 -2
- package/dist/chunks/{modal-fullscreen.CaxuXW-H.js.map → modal-fullscreen.DTvg2NLk.js.map} +1 -1
- package/dist/chunks/{modal.Brif0vAy.js → modal.D_TcWTkf.js} +4 -4
- package/dist/chunks/{modal.Brif0vAy.js.map → modal.D_TcWTkf.js.map} +1 -1
- package/dist/chunks/on-click-outside.Cy1eFULD.js +109 -0
- package/dist/chunks/on-click-outside.Cy1eFULD.js.map +1 -0
- package/dist/chunks/{pagination.BmrU_sn_.js → pagination.D6BxMw5L.js} +37 -37
- package/dist/chunks/{pagination.BmrU_sn_.js.map → pagination.D6BxMw5L.js.map} +1 -1
- package/dist/chunks/{radio-group.5oS-AeYN.js → radio-group.Bb-L-0io.js} +3 -3
- package/dist/chunks/{radio-group.5oS-AeYN.js.map → radio-group.Bb-L-0io.js.map} +1 -1
- package/dist/chunks/{rich-text-editor.DSGTe8Zt.js → rich-text-editor.Dtdfh-0V.js} +6 -5
- package/dist/chunks/{rich-text-editor.DSGTe8Zt.js.map → rich-text-editor.Dtdfh-0V.js.map} +1 -1
- package/dist/chunks/{search-bar.CNfoeLLt.js → search-bar.MVJS9-Mh.js} +4 -4
- package/dist/chunks/{search-bar.CNfoeLLt.js.map → search-bar.MVJS9-Mh.js.map} +1 -1
- package/dist/chunks/{secondary-nav.IF5CgeIP.js → secondary-nav.C-nPZR-2.js} +2 -2
- package/dist/chunks/{secondary-nav.IF5CgeIP.js.map → secondary-nav.C-nPZR-2.js.map} +1 -1
- package/dist/chunks/{selection-card-group.DZjFeQKR.js → selection-card-group.CLJPaknG.js} +10 -10
- package/dist/chunks/{selection-card-group.DZjFeQKR.js.map → selection-card-group.CLJPaknG.js.map} +1 -1
- package/dist/chunks/{sidepanel.DZDXuyzg.js → sidepanel.BTRfwGiS.js} +4 -4
- package/dist/chunks/{sidepanel.DZDXuyzg.js.map → sidepanel.BTRfwGiS.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.CrPNQbX0.js → summary-grid.types.DUIqCmwg.js} +2 -2
- package/dist/chunks/{summary-grid.types.CrPNQbX0.js.map → summary-grid.types.DUIqCmwg.js.map} +1 -1
- package/dist/chunks/{textarea.Bi53QF5Q.js → textarea.CJS-1I41.js} +5 -4
- package/dist/chunks/{textarea.Bi53QF5Q.js.map → textarea.CJS-1I41.js.map} +1 -1
- package/dist/chunks/{timeline-item.C6Bi0eam.js → timeline-item.BOUWkLi1.js} +4 -4
- package/dist/chunks/{timeline-item.C6Bi0eam.js.map → timeline-item.BOUWkLi1.js.map} +1 -1
- package/dist/chunks/{tutorial.BCiZMLJE.js → tutorial.CZt_mcuT.js} +2 -2
- package/dist/chunks/{tutorial.BCiZMLJE.js.map → tutorial.CZt_mcuT.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.Bn3Y8Iuq.js → use-cached-selected-values.BJbWbkEQ.js} +180 -175
- package/dist/chunks/use-cached-selected-values.BJbWbkEQ.js.map +1 -0
- package/dist/chunks/{use-date-input-formatter.DRMt9yR2.js → use-date-input-formatter.Djf8AoLr.js} +2 -2
- package/dist/chunks/{use-date-input-formatter.DRMt9yR2.js.map → use-date-input-formatter.Djf8AoLr.js.map} +1 -1
- package/dist/chunks/use-touch-device.DTqFAbXh.js +11 -0
- package/dist/chunks/use-touch-device.DTqFAbXh.js.map +1 -0
- package/dist/click-outside.js +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/draggable.js +1396 -0
- package/dist/draggable.js.map +1 -0
- package/dist/dropdown.js +11 -12
- package/dist/dropdown.js.map +1 -1
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/form-layout.js +1 -1
- package/dist/header-with-views.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +274 -271
- package/dist/index.js.map +1 -1
- 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/input-time.js +1 -1
- package/dist/internal.js +24 -23
- package/dist/internal.js.map +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/summary-grid.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/web-types.json +100 -4
- package/package.json +8 -13
- package/dist/assets/dropdown-default-textbox.css +0 -1
- package/dist/chunks/calendar.uvIGF_jU.js.map +0 -1
- package/dist/chunks/date-picker.Dln8ocL4.js +0 -222
- package/dist/chunks/date-picker.Dln8ocL4.js.map +0 -1
- package/dist/chunks/date-range-picker.DPGy2h-9.js.map +0 -1
- package/dist/chunks/debounce.DUTu11PS.js +0 -10
- package/dist/chunks/debounce.DUTu11PS.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.CjhLIxVq.js +0 -364
- package/dist/chunks/dropdown-default-textbox.CjhLIxVq.js.map +0 -1
- package/dist/chunks/dropdown.CvNI2V33.js +0 -790
- package/dist/chunks/dropdown.CvNI2V33.js.map +0 -1
- package/dist/chunks/error-message.BUNKRa_w.js +0 -160
- package/dist/chunks/error-message.BUNKRa_w.js.map +0 -1
- package/dist/chunks/filter-bar.x445KK3y.js.map +0 -1
- package/dist/chunks/form-layout-title.DR5M7GP3.js.map +0 -1
- package/dist/chunks/input-field.DH25CU_G.js.map +0 -1
- package/dist/chunks/input-time.6eJ4-QdU.js +0 -92
- package/dist/chunks/input-time.6eJ4-QdU.js.map +0 -1
- package/dist/chunks/on-click-outside.BW4rkhzG.js +0 -91
- package/dist/chunks/on-click-outside.BW4rkhzG.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.Bn3Y8Iuq.js.map +0 -1
- package/dist/draggable-handle.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as
|
|
1
|
+
import { ref as S, onMounted as Oe, nextTick as ee, watch as le, onUnmounted as It, reactive as Ge, toRefs as Ve, computed as C, watchEffect as zn, onBeforeUpdate as Bn, defineComponent as re, inject as ge, toRef as $e, useSlots as He, provide as De } from "vue";
|
|
2
2
|
import { C as Un } from "./checkmark-circle-fill.BttTCjrM.js";
|
|
3
3
|
import { W as kn } from "./warning-filled.CbJ1pcB2.js";
|
|
4
4
|
/* empty css */
|
|
@@ -7,43 +7,44 @@ import { C as Nt } from "./cross.CC_B-vG-.js";
|
|
|
7
7
|
import { N as rt } from "./minus-small.DJacLGTw.js";
|
|
8
8
|
import { b as $n } from "./popper-container.C_n9Ds1W.js";
|
|
9
9
|
import { E as j, b as Dt, B as Wn, T as Gn } from "./tooltip.BxtnF3is.js";
|
|
10
|
-
import { B as Vn } from "./dashed-underline.
|
|
10
|
+
import { B as Vn } from "./dashed-underline.DL2_sik5.js";
|
|
11
11
|
import { B as Le, p as Ft } from "./typography.C8lPlsbD.js";
|
|
12
|
-
import { u as
|
|
12
|
+
import { u as _e } from "./index.B6WW_F-J.js";
|
|
13
13
|
import { B as Hn } from "./tag.D2xagTJv.js";
|
|
14
|
-
import { B as Zn } from "./action-bar.
|
|
15
|
-
import { B as jn } from "./pagination.
|
|
14
|
+
import { B as Zn } from "./action-bar.Dj830k6L.js";
|
|
15
|
+
import { B as jn } from "./pagination.D6BxMw5L.js";
|
|
16
16
|
import { B as Ze } from "./loading-indicator.PxbRzshH.js";
|
|
17
17
|
import { u as je } from "./use-has-slot.C9lQZ6nz.js";
|
|
18
|
+
import { u as qn } from "./use-touch-device.DTqFAbXh.js";
|
|
18
19
|
import { g as Me } from "./generate-uid.NJ8tVoha.js";
|
|
19
|
-
import { a as
|
|
20
|
-
import { B as
|
|
21
|
-
import { E as
|
|
22
|
-
import { D as
|
|
23
|
-
import { b as
|
|
20
|
+
import { a as Kn } from "./filter-bar.Bd4ghW_B.js";
|
|
21
|
+
import { B as Yn } from "./empty-state.DMV23IZy.js";
|
|
22
|
+
import { E as Xn } from "./tabs.keys.B4qGhjp2.js";
|
|
23
|
+
import { D as Jn } from "./data-grid-template.keys.VezYtHtM.js";
|
|
24
|
+
import { b as Qn } from "./index.CwzYJHw2.js";
|
|
24
25
|
import { o as qe } from "./resize.Bqks3WUm.js";
|
|
25
26
|
import "./index.Cl4_42j5.js";
|
|
26
27
|
import { b as Mt } from "./focus-trap.DRqjHzt6.js";
|
|
27
|
-
import { B as xt } from "./checkbox.
|
|
28
|
+
import { B as xt } from "./checkbox.vNjt6QDJ.js";
|
|
28
29
|
import { B as Pt } from "./button.C9b2AC9w.js";
|
|
29
|
-
import { c as Ke, f as zt, h as
|
|
30
|
+
import { c as Ke, f as zt, h as es, b as ts, a as ns, O as ct, D as ss } from "./button-actions.Bdbu0bvt.js";
|
|
30
31
|
import { E as dt } from "./link.DB5g6d48.js";
|
|
31
32
|
import { C as ut } from "./copy.qqGYFbKJ.js";
|
|
32
|
-
import { C as
|
|
33
|
-
import { C as
|
|
34
|
-
import { u as
|
|
35
|
-
import { B as
|
|
36
|
-
import { D as
|
|
33
|
+
import { C as os } from "./chevron-down.eYtgv5ly.js";
|
|
34
|
+
import { C as ls } from "./chevron-up.d8cwIlA_.js";
|
|
35
|
+
import { u as as } from "./use-expandable-content-height.GkjjbmPy.js";
|
|
36
|
+
import { B as is } from "./info-icon.DCR42Kvm.js";
|
|
37
|
+
import { D as rs } from "./use-cached-selected-values.BJbWbkEQ.js";
|
|
37
38
|
import { B as ft } from "./popover.types.hA13DZPg.js";
|
|
38
|
-
import { A as
|
|
39
|
-
import { A as
|
|
40
|
-
import { H as
|
|
39
|
+
import { A as cs } from "./arrow-left.CRREfabP.js";
|
|
40
|
+
import { A as ds } from "./arrow-right.Dn3AYpUP.js";
|
|
41
|
+
import { H as us, S as fs } from "./show.B_mKPF6I.js";
|
|
41
42
|
import { l as gt } from "./events.BQOQSSb7.js";
|
|
42
43
|
import { B as Bt } from "./toggle.B1z1YPe_.js";
|
|
43
|
-
import { B as
|
|
44
|
-
import { u as
|
|
45
|
-
import { S as
|
|
46
|
-
import { B as
|
|
44
|
+
import { B as gs } from "./search-bar.MVJS9-Mh.js";
|
|
45
|
+
import { u as ms } from "./dropdown.Ca-f8tdX.js";
|
|
46
|
+
import { S as _s } from "./search.D53Ia3rC.js";
|
|
47
|
+
import { B as Cs } from "./directive.Bfr4fuOy.js";
|
|
47
48
|
import "../assets/data-grid.css";
|
|
48
49
|
const mt = (s) => {
|
|
49
50
|
if (!s)
|
|
@@ -57,8 +58,8 @@ const mt = (s) => {
|
|
|
57
58
|
}
|
|
58
59
|
const o = parseFloat(t.top);
|
|
59
60
|
return !isNaN(o) && o < 0 && (n += o), n;
|
|
60
|
-
}, _t = (s, t, n =
|
|
61
|
-
const o =
|
|
61
|
+
}, _t = (s, t, n = S(!1), e = null) => {
|
|
62
|
+
const o = S(0);
|
|
62
63
|
let l = null, a = null;
|
|
63
64
|
const r = () => {
|
|
64
65
|
const d = t.value ? mt(s.value) : 0, f = n.value && e ? mt(e.value) : 0;
|
|
@@ -86,8 +87,8 @@ const mt = (s) => {
|
|
|
86
87
|
}), o;
|
|
87
88
|
};
|
|
88
89
|
var We = /* @__PURE__ */ ((s) => (s.WRAP = "wrap", s.ELLIPSIS = "ellipsis", s))(We || {}), X = /* @__PURE__ */ ((s) => (s.COLUMN_RESIZE = "column-resize", s.COLUMN_RESIZING = "column-resizing", s.SELECT_ALL_ROWS = "select-all-rows", s.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", s.SELECT_ALL_CURRENT_RESULTS = "select-all-current-results", s.DESELECT_ALL = "deselect-all", s.DESELECT_ALL_CURRENT_RESULTS = "deselect-all-current-results", s.COLUMN_MOVE = "column-move", s.COLUMN_UPDATE = "column-update", s.COLUMN_MENU_OPEN = "column-menu-open", s.COLUMN_MENU_CLOSE = "column-menu-close", s.COLUMN_HOVER = "column-hover", s.COLUMN_DRAG_START = "column-dragstart", s.COLUMN_DRAG_ENTER = "column-dragenter", s.COLUMN_DRAG_END = "column-dragend", s.COLUMN_DROP = "column-drop", s))(X || {}), fe = /* @__PURE__ */ ((s) => (s.OUTLINE = "outline", s.SCROLL = "scroll", s.STICKY_FILTERS = "sticky-filters", s.OVERFLOW_SHADOW_LEFT = "overflow-shadow-left", s.OVERFLOW_SHADOW_RIGHT = "overflow-shadow-right", s.NO_SPACING_TOP = "no-spacing-top", s.FIT_CONTENT = "fit-content", s.ZEBRA_ROWS = "zebra-rows", s))(fe || {}), ye = /* @__PURE__ */ ((s) => (s.ASCENDING = "asc", s.DESCENDING = "desc", s))(ye || {}), D = /* @__PURE__ */ ((s) => (s.CELL_FOCUS = "cell-focus", s.COLUMNS = "columns", s.COLUMN_RESIZE = "column-resize", s.ITEMS_PAGE = "items-page", s.NAVIGATE = "navigate", s.NESTED_CONTENT_TOGGLED = "nested-content-toggled", s.FILTER_SEARCH_INPUT = "filter-search-input", s.FILTER_SEARCH_CLEAR = "filter-search-clear", s.UPDATE_COLUMNS = "update:columns", s.UPDATE_CONDENSED = "update:condensed", s.UPDATE_FILTERS = "update:filters", s.UPDATE_FILTER_VALUES = "update:filter-values", s.UPDATE_FILTER_VALUES_OBJECT = "update:filter-values-object", s.UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term", s.UPDATE_PAGINATION = "update:pagination", s.UPDATE_SELECTION = "update:selection", s.UPDATE_SHOW_MORE = "update:show-more", s.UPDATE_SORT_BY = "update:sort-by", s.UPDATE_ZEBRA_ROWS = "update:zebra-rows", s.ROW_CLICK = "row-click", s.SELECT = "select", s.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", s.SELECT_ALL_CURRENT_RESULTS = "select-all-current-results", s.DESELECT_ALL_CURRENT_RESULTS = "deselect-all-current-results", s.SORT = "sort", s))(D || {}), Fe = /* @__PURE__ */ ((s) => (s.ASCENDING = "ascending", s.DESCENDING = "descending", s.NONE = "none", s))(Fe || {});
|
|
89
|
-
const
|
|
90
|
-
const n =
|
|
90
|
+
const vs = (s, t) => {
|
|
91
|
+
const n = S(null), e = S(!1), o = S(void 0), l = s.value.reduce((E, N) => (E[N.field] = null, E), {}), a = Ge(l), r = Ve(a);
|
|
91
92
|
let d = 0, f = "";
|
|
92
93
|
const p = C(
|
|
93
94
|
() => Object.fromEntries(s.value.map(({ field: E, width: N, minWidth: b }) => [E, { width: N, minWidth: b }]))
|
|
@@ -102,7 +103,7 @@ const Cs = (s, t) => {
|
|
|
102
103
|
field: f,
|
|
103
104
|
width: o.value[f].width
|
|
104
105
|
}), h = null, y = null, f = "", d = null;
|
|
105
|
-
},
|
|
106
|
+
}, w = (E, N, b) => {
|
|
106
107
|
if (b.preventDefault(), E) {
|
|
107
108
|
if (e.value = !0, b.buttons !== 1) {
|
|
108
109
|
u();
|
|
@@ -119,11 +120,11 @@ const Cs = (s, t) => {
|
|
|
119
120
|
), {
|
|
120
121
|
resizeData: o,
|
|
121
122
|
allColumnRefs: r,
|
|
122
|
-
startResize:
|
|
123
|
+
startResize: w,
|
|
123
124
|
isResizing: e,
|
|
124
125
|
columnHoverEventToEmitAfterResizing: n
|
|
125
126
|
};
|
|
126
|
-
},
|
|
127
|
+
}, hs = 100, Ct = 50, oe = "b-actions-column", ps = 42, bs = 56, ws = 56, Ss = 80, Rs = 36, As = 1, Ut = 16, Es = 20, ys = (s, t, n) => {
|
|
127
128
|
const e = {}, o = [], l = (r) => {
|
|
128
129
|
const d = e[r];
|
|
129
130
|
d && d.frozen !== !0 && (e[r].frozen = !0, o.push(r));
|
|
@@ -140,10 +141,10 @@ const Cs = (s, t) => {
|
|
|
140
141
|
const R = n[h];
|
|
141
142
|
if (e[R.field] && e[R.field].frozen === !0)
|
|
142
143
|
continue;
|
|
143
|
-
let
|
|
144
|
-
|
|
144
|
+
let w = d / f * R.flex;
|
|
145
|
+
w < R.minWidth && (p += R.minWidth - w, w = R.minWidth, r.min[R.field] = !0), e[R.field] = {
|
|
145
146
|
frozen: !1,
|
|
146
|
-
computedWidth:
|
|
147
|
+
computedWidth: w,
|
|
147
148
|
flex: R.flex
|
|
148
149
|
};
|
|
149
150
|
}
|
|
@@ -155,13 +156,13 @@ const Cs = (s, t) => {
|
|
|
155
156
|
}
|
|
156
157
|
return a(), e;
|
|
157
158
|
}, vt = (s, t) => {
|
|
158
|
-
let n =
|
|
159
|
+
let n = As;
|
|
159
160
|
return t && (n += Ut * 2), s != null && s.offsetWidth ? s.offsetWidth + n : 0;
|
|
160
|
-
},
|
|
161
|
+
}, Ls = (s) => {
|
|
161
162
|
var t, n, e, o, l;
|
|
162
|
-
return (t = s == null ? void 0 : s.hasNestedContent) != null && t.value || (n = s == null ? void 0 : s.hasNestedRows) != null && n.value ? (e = s == null ? void 0 : s.hasSelectableColumn) != null && e.value ? (o = s == null ? void 0 : s.hasSelectableAcrossPages) != null && o.value ?
|
|
163
|
-
},
|
|
164
|
-
const a =
|
|
163
|
+
return (t = s == null ? void 0 : s.hasNestedContent) != null && t.value || (n = s == null ? void 0 : s.hasNestedRows) != null && n.value ? (e = s == null ? void 0 : s.hasSelectableColumn) != null && e.value ? (o = s == null ? void 0 : s.hasSelectableAcrossPages) != null && o.value ? Ss : ws : Rs : (l = s == null ? void 0 : s.hasSelectableAcrossPages) != null && l.value ? bs : ps;
|
|
164
|
+
}, Ts = (s, t, n, e, o, l) => {
|
|
165
|
+
const a = S(s.value), r = S(t), d = S(n), f = S(e), p = S(o), h = S(!1), y = S(0);
|
|
165
166
|
le(
|
|
166
167
|
() => s.value,
|
|
167
168
|
(i, g) => {
|
|
@@ -177,9 +178,9 @@ const Cs = (s, t) => {
|
|
|
177
178
|
});
|
|
178
179
|
}
|
|
179
180
|
);
|
|
180
|
-
const R =
|
|
181
|
+
const R = S();
|
|
181
182
|
let u = null;
|
|
182
|
-
const
|
|
183
|
+
const w = C(() => {
|
|
183
184
|
var q, G, V;
|
|
184
185
|
const i = [];
|
|
185
186
|
let g = 0, A = 0;
|
|
@@ -187,7 +188,7 @@ const Cs = (s, t) => {
|
|
|
187
188
|
let P = a.value.filter((W) => W.visible !== !1);
|
|
188
189
|
const x = a.value.filter((W) => W.visible === !1);
|
|
189
190
|
if ((q = l == null ? void 0 : l.hasSelectableColumn) != null && q.value || (G = l == null ? void 0 : l.hasNestedContent) != null && G.value || (V = l == null ? void 0 : l.hasNestedRows) != null && V.value) {
|
|
190
|
-
const W =
|
|
191
|
+
const W = Ls(l);
|
|
191
192
|
P = [
|
|
192
193
|
{
|
|
193
194
|
field: oe,
|
|
@@ -204,13 +205,13 @@ const Cs = (s, t) => {
|
|
|
204
205
|
const B = { ...W };
|
|
205
206
|
let ne;
|
|
206
207
|
B.flex && B.flex > 0 ? (g += B.flex, ne = 0, i.push(B)) : ne = Math.max(
|
|
207
|
-
(B == null ? void 0 : B.width) ??
|
|
208
|
+
(B == null ? void 0 : B.width) ?? hs,
|
|
208
209
|
(B == null ? void 0 : B.minWidth) ?? Ct
|
|
209
210
|
), A += ne, B.width = ne, B.minWidth = (B == null ? void 0 : B.minWidth) ?? Ct, I[B.field] = B;
|
|
210
211
|
}), A += y.value;
|
|
211
212
|
const U = Math.max(R.value - A, 0);
|
|
212
213
|
if (g > 0 && R.value > 0) {
|
|
213
|
-
const W =
|
|
214
|
+
const W = ys(U, g, i);
|
|
214
215
|
Object.keys(W).forEach((B) => {
|
|
215
216
|
I[B].width = W[B].computedWidth;
|
|
216
217
|
});
|
|
@@ -219,7 +220,7 @@ const Cs = (s, t) => {
|
|
|
219
220
|
const B = { ...W };
|
|
220
221
|
I[B.field] = B;
|
|
221
222
|
}), Object.values(I);
|
|
222
|
-
}), E =
|
|
223
|
+
}), E = S(void 0), N = (i) => {
|
|
223
224
|
E.value = { ...E.value, ...i };
|
|
224
225
|
}, b = async () => {
|
|
225
226
|
a.value.some((i) => i == null ? void 0 : i.autoWidth) && (h.value = !0, await ee(), a == null || a.value.filter((i) => i == null ? void 0 : i.autoWidth).forEach(({ field: i, minWidth: g }) => {
|
|
@@ -242,7 +243,7 @@ const Cs = (s, t) => {
|
|
|
242
243
|
a.value.some((i) => i == null ? void 0 : i.autoWidth) && await b();
|
|
243
244
|
});
|
|
244
245
|
const m = C(
|
|
245
|
-
() =>
|
|
246
|
+
() => w.value.map((i) => {
|
|
246
247
|
var g, A;
|
|
247
248
|
return {
|
|
248
249
|
...i,
|
|
@@ -262,7 +263,7 @@ const Cs = (s, t) => {
|
|
|
262
263
|
}));
|
|
263
264
|
return Oe(() => {
|
|
264
265
|
var g;
|
|
265
|
-
const i = l != null && l.isDataGridTemplate ?
|
|
266
|
+
const i = l != null && l.isDataGridTemplate ? Es : 0;
|
|
266
267
|
ee(() => {
|
|
267
268
|
d.value && (R.value = d.value.getBoundingClientRect().width - i);
|
|
268
269
|
const A = le(
|
|
@@ -294,8 +295,8 @@ const Cs = (s, t) => {
|
|
|
294
295
|
totalWidthOfAllColumns: O,
|
|
295
296
|
rowActionsMaxWidth: y
|
|
296
297
|
};
|
|
297
|
-
},
|
|
298
|
-
const r =
|
|
298
|
+
}, Os = (s, t, n, e, o, l, a) => {
|
|
299
|
+
const r = S(s.value ?? []), d = Ge({
|
|
299
300
|
allItemsSelected: !1,
|
|
300
301
|
isIndeterminate: !1
|
|
301
302
|
}), f = C(
|
|
@@ -326,7 +327,7 @@ const Cs = (s, t) => {
|
|
|
326
327
|
), u = C(() => {
|
|
327
328
|
var i;
|
|
328
329
|
return !(l != null && l.value) || ((i = a == null ? void 0 : a.value) == null ? void 0 : i.totalCount) === void 0 ? !1 : r.value.length >= a.value.totalCount && h.value;
|
|
329
|
-
}),
|
|
330
|
+
}), w = () => {
|
|
330
331
|
t(D.SELECT, r.value), t(D.UPDATE_SELECTION, r.value);
|
|
331
332
|
}, E = (i) => {
|
|
332
333
|
var g, A;
|
|
@@ -343,16 +344,16 @@ const Cs = (s, t) => {
|
|
|
343
344
|
const g = ((I = (A = f.value) == null ? void 0 : A.filter(
|
|
344
345
|
(P) => !o(P) && ((P == null ? void 0 : P.children) === void 0 || P.children.every((x) => !o(x)))
|
|
345
346
|
)) == null ? void 0 : I.map((P) => e(P))) ?? [];
|
|
346
|
-
i ? (r.value = [.../* @__PURE__ */ new Set([...r.value, ...g])], d.isIndeterminate = !p.value) : (r.value = r.value.filter((P) => !g.includes(P)), d.isIndeterminate = !y.value),
|
|
347
|
+
i ? (r.value = [.../* @__PURE__ */ new Set([...r.value, ...g])], d.isIndeterminate = !p.value) : (r.value = r.value.filter((P) => !g.includes(P)), d.isIndeterminate = !y.value), w();
|
|
347
348
|
});
|
|
348
349
|
}, b = () => {
|
|
349
350
|
ee(() => {
|
|
350
|
-
E([]),
|
|
351
|
+
E([]), w();
|
|
351
352
|
});
|
|
352
353
|
}, m = (i, g) => {
|
|
353
354
|
ee(() => {
|
|
354
355
|
var A;
|
|
355
|
-
E(((A = g == null ? void 0 : g.children) == null ? void 0 : A.length) > 0 ? O(i, g) : i),
|
|
356
|
+
E(((A = g == null ? void 0 : g.children) == null ? void 0 : A.length) > 0 ? O(i, g) : i), w();
|
|
356
357
|
});
|
|
357
358
|
}, O = (i, g) => {
|
|
358
359
|
var P;
|
|
@@ -372,7 +373,7 @@ const Cs = (s, t) => {
|
|
|
372
373
|
!i.includes(I) && ((P = g == null ? void 0 : g.children) != null && P.every((U) => i.includes(e(U)))) ? [...i, I] : i
|
|
373
374
|
) : E(
|
|
374
375
|
i.includes(I) && !((x = g == null ? void 0 : g.children) != null && x.every((U) => i.includes(e(U)))) ? i.filter((U) => U !== I) : i
|
|
375
|
-
),
|
|
376
|
+
), w();
|
|
376
377
|
});
|
|
377
378
|
}, _ = C(() => u.value ? "all" : h.value ? "page" : !r.value || r.value.length === 0 ? "none" : R.value ? "unselected-page" : "single");
|
|
378
379
|
return le(
|
|
@@ -390,7 +391,7 @@ const Cs = (s, t) => {
|
|
|
390
391
|
return ((A = g == null ? void 0 : g.children) == null ? void 0 : A.length) > 0 ? g.children.map((I) => e(I)).filter((I) => !r.value.includes(I)) : [];
|
|
391
392
|
}
|
|
392
393
|
);
|
|
393
|
-
(i == null ? void 0 : i.length) > 0 ? (E([...r.value, ...i]),
|
|
394
|
+
(i == null ? void 0 : i.length) > 0 ? (E([...r.value, ...i]), w()) : E(r.value);
|
|
394
395
|
}
|
|
395
396
|
), {
|
|
396
397
|
onAllRowSelect: N,
|
|
@@ -401,7 +402,7 @@ const Cs = (s, t) => {
|
|
|
401
402
|
selectedItems: r,
|
|
402
403
|
selectionState: _
|
|
403
404
|
};
|
|
404
|
-
},
|
|
405
|
+
}, Is = (s, t, n) => ({ isSorting: (a) => s.value.some((r) => r.field === a), getSortingDirection: (a) => {
|
|
405
406
|
var r;
|
|
406
407
|
return (r = s.value.find((d) => d.field === a)) == null ? void 0 : r.direction;
|
|
407
408
|
}, sortByColumnField: (a) => {
|
|
@@ -415,7 +416,7 @@ const Cs = (s, t) => {
|
|
|
415
416
|
n("sort", d);
|
|
416
417
|
} });
|
|
417
418
|
var se = ((s) => (s[s.ARROW_DOWN = j.ARROW_DOWN] = "ARROW_DOWN", s[s.ARROW_UP = j.ARROW_UP] = "ARROW_UP", s[s.ARROW_LEFT = j.ARROW_LEFT] = "ARROW_LEFT", s[s.ARROW_RIGHT = j.ARROW_RIGHT] = "ARROW_RIGHT", s[s.PAGE_UP = j.PAGE_UP] = "PAGE_UP", s[s.PAGE_DOWN = j.PAGE_DOWN] = "PAGE_DOWN", s[s.END = j.END] = "END", s[s.HOME = j.HOME] = "HOME", s))(se || {});
|
|
418
|
-
const Ye = "b-row-actions-column",
|
|
419
|
+
const Ye = "b-row-actions-column", Ns = (s, t, n, e, o, l) => {
|
|
419
420
|
const a = C(() => l.value || e.value ? !0 : n.value.some((b) => b.infoIconTooltip || b.sortable)), r = C(() => {
|
|
420
421
|
let b = n.value.filter(({ visible: m }) => m !== !1);
|
|
421
422
|
return o.value && (b = [
|
|
@@ -465,7 +466,7 @@ const Ye = "b-row-actions-column", Is = (s, t, n, e, o, l) => {
|
|
|
465
466
|
].includes(b), u = (b, m, O) => {
|
|
466
467
|
const F = f.value.indexOf(b);
|
|
467
468
|
return R(m) ? h(F, m, O) : y(F, m);
|
|
468
|
-
},
|
|
469
|
+
}, w = (b, m, O) => {
|
|
469
470
|
if (!f.value.includes(b))
|
|
470
471
|
return;
|
|
471
472
|
const F = u(b, m, O);
|
|
@@ -473,42 +474,42 @@ const Ye = "b-row-actions-column", Is = (s, t, n, e, o, l) => {
|
|
|
473
474
|
}, E = (b) => b in se;
|
|
474
475
|
return {
|
|
475
476
|
isNavigationKeyCode: E,
|
|
476
|
-
focusOnNextGridcell:
|
|
477
|
+
focusOnNextGridcell: w,
|
|
477
478
|
navigationInput: (b) => {
|
|
478
479
|
const { ctrlKey: m, key: O, target: F } = b, _ = O;
|
|
479
480
|
let i = F;
|
|
480
|
-
i.getAttribute("role") !== "menuitem" && (f.value.includes(i) || (i = F.closest('[role="gridcell"], [role="columnheader"]')), f.value.includes(i) && E(_) &&
|
|
481
|
+
i.getAttribute("role") !== "menuitem" && (f.value.includes(i) || (i = F.closest('[role="gridcell"], [role="columnheader"]')), f.value.includes(i) && E(_) && w(i, _, m));
|
|
481
482
|
}
|
|
482
483
|
};
|
|
483
|
-
},
|
|
484
|
-
const l =
|
|
484
|
+
}, Ds = 90, Fs = (s, t, n, e, o) => {
|
|
485
|
+
const l = S(s), a = S(t), r = S(n), d = S(e), f = C(() => l.value !== "none"), p = C(() => l.value === "automatic"), h = () => {
|
|
485
486
|
o(D.UPDATE_SHOW_MORE);
|
|
486
487
|
};
|
|
487
488
|
return le(
|
|
488
489
|
() => a.value,
|
|
489
490
|
() => {
|
|
490
|
-
p.value && r.value.offsetHeight / a.value * 100 >
|
|
491
|
+
p.value && r.value.offsetHeight / a.value * 100 > Ds && !d.value && h();
|
|
491
492
|
}
|
|
492
493
|
), { isLazyLoad: f, isInfiniteScroll: p, verticalScrollPosition: a, emitLazyLoadEvent: h };
|
|
493
|
-
},
|
|
494
|
-
const e =
|
|
494
|
+
}, Ms = (s, t, n) => {
|
|
495
|
+
const e = S(s), o = S(t), l = Ge({
|
|
495
496
|
dragging: null,
|
|
496
497
|
dragToLeft: null,
|
|
497
498
|
target: null
|
|
498
499
|
}), a = (R, u = 0) => {
|
|
499
|
-
const
|
|
500
|
+
const w = e.value.findIndex((b) => b.field === R.field), E = w + u;
|
|
500
501
|
if (E < 0 || E > e.value.length - 1)
|
|
501
502
|
return;
|
|
502
503
|
const N = [...e.value];
|
|
503
|
-
N.splice(E, 0, N.splice(
|
|
504
|
+
N.splice(E, 0, N.splice(w, 1)[0]), n(D.COLUMNS, N), n(D.UPDATE_COLUMNS, N);
|
|
504
505
|
}, r = (R, u) => {
|
|
505
506
|
l.dragging = R, u.dataTransfer.setData("text", ""), u.dataTransfer.dropEffect = "move";
|
|
506
507
|
}, d = (R, u) => {
|
|
507
508
|
l.target = R;
|
|
508
|
-
const
|
|
509
|
+
const w = u.currentTarget.getBoundingClientRect(), E = w.left + w.width / 2, N = u.clientX ?? 0;
|
|
509
510
|
l.dragToLeft = N <= E;
|
|
510
511
|
}, f = (R) => {
|
|
511
|
-
var u,
|
|
512
|
+
var u, w;
|
|
512
513
|
if (((u = l.dragging) == null ? void 0 : u.field) !== R.field) {
|
|
513
514
|
const E = e.value.findIndex((_) => {
|
|
514
515
|
var i;
|
|
@@ -521,7 +522,7 @@ const Ye = "b-row-actions-column", Is = (s, t, n, e, o, l) => {
|
|
|
521
522
|
O.splice(E, 1)[0]
|
|
522
523
|
);
|
|
523
524
|
const F = e.value.findIndex((_) => !(_ != null && _.frozen));
|
|
524
|
-
((
|
|
525
|
+
((w = l.dragging) == null ? void 0 : w.frozen) !== R.frozen && b !== F && (O = O.map(
|
|
525
526
|
(_) => {
|
|
526
527
|
var i;
|
|
527
528
|
return ((i = l.dragging) == null ? void 0 : i.field) === _.field ? { ..._, frozen: !!(R != null && R.frozen) } : _;
|
|
@@ -555,9 +556,9 @@ const Ye = "b-row-actions-column", Is = (s, t, n, e, o, l) => {
|
|
|
555
556
|
draggingEventsForRowCell: y,
|
|
556
557
|
onMoveColumnByOffset: a
|
|
557
558
|
};
|
|
558
|
-
},
|
|
559
|
-
const e =
|
|
560
|
-
() => [...e.value].sort((u,
|
|
559
|
+
}, xs = (s, t, n) => {
|
|
560
|
+
const e = S(s), o = S(t.value), l = C(
|
|
561
|
+
() => [...e.value].sort((u, w) => u.frozen === w.frozen ? 0 : u.frozen ? -1 : 1)
|
|
561
562
|
), a = C(
|
|
562
563
|
() => l.value.filter((u) => u.frozen && u.visible !== !1)
|
|
563
564
|
), r = C(
|
|
@@ -574,10 +575,10 @@ const Ye = "b-row-actions-column", Is = (s, t, n, e, o, l) => {
|
|
|
574
575
|
}, y = (u) => {
|
|
575
576
|
n(D.COLUMNS, u), n(D.UPDATE_COLUMNS, u);
|
|
576
577
|
}, R = (u) => {
|
|
577
|
-
const
|
|
578
|
+
const w = l.value.map(
|
|
578
579
|
(E) => (E == null ? void 0 : E.field) === u.field ? u : E
|
|
579
580
|
);
|
|
580
|
-
y(
|
|
581
|
+
y(w);
|
|
581
582
|
};
|
|
582
583
|
return le(t, (u) => {
|
|
583
584
|
o.value = u;
|
|
@@ -593,29 +594,29 @@ const Ye = "b-row-actions-column", Is = (s, t, n, e, o, l) => {
|
|
|
593
594
|
onConfigSettingsCondensedUpdate: p,
|
|
594
595
|
onConfigSettingsZebraRowsUpdate: h
|
|
595
596
|
};
|
|
596
|
-
},
|
|
597
|
-
const r =
|
|
597
|
+
}, Ps = (s, t, n, e, o, l, a) => {
|
|
598
|
+
const r = S(0), d = S(!1), f = S(!1);
|
|
598
599
|
le([() => r.value, () => l.value], ([u]) => {
|
|
599
600
|
s.value.scrollLeft = u, t.value.scrollLeft = u, d.value = !!u, f.value = t.value.scrollWidth - t.value.offsetWidth > u;
|
|
600
601
|
}), Oe(async () => {
|
|
601
|
-
var u,
|
|
602
|
-
await ee(), ((u = t.value) == null ? void 0 : u.offsetWidth) < ((
|
|
602
|
+
var u, w;
|
|
603
|
+
await ee(), ((u = t.value) == null ? void 0 : u.offsetWidth) < ((w = t.value) == null ? void 0 : w.scrollWidth) && (f.value = !0);
|
|
603
604
|
});
|
|
604
605
|
const p = (u) => {
|
|
605
606
|
if (r.value = u.target.scrollLeft, n.value = s.value.scrollHeight - u.target.scrollTop, e != null && e.value) {
|
|
606
|
-
const
|
|
607
|
-
e.value.scrollLeft !==
|
|
607
|
+
const w = u.target.scrollLeft;
|
|
608
|
+
e.value.scrollLeft !== w && (e.value.scrollLeft = w);
|
|
608
609
|
}
|
|
609
610
|
}, h = (u) => {
|
|
610
611
|
u.key === "Tab" || u.key !== "ArrowRight" && u.key !== "ArrowLeft" || (u.preventDefault(), s.value.scrollLeft = 0, s.value.style.overflowX = "hidden", setTimeout(() => {
|
|
611
612
|
s.value && (s.value.style.overflowX = "auto");
|
|
612
613
|
}));
|
|
613
614
|
}, y = (u) => {
|
|
614
|
-
const
|
|
615
|
-
s.value.scrollLeft !==
|
|
615
|
+
const w = u.target.scrollLeft;
|
|
616
|
+
s.value.scrollLeft !== w && (s.value.scrollLeft = w);
|
|
616
617
|
}, R = C(() => {
|
|
617
|
-
var u,
|
|
618
|
-
return (u = a == null ? void 0 : a.pagination) != null && u.value && ((
|
|
618
|
+
var u, w, E, N;
|
|
619
|
+
return (u = a == null ? void 0 : a.pagination) != null && u.value && ((w = a == null ? void 0 : a.stickyPagination) != null && w.value || a != null && a.isDataGridTemplate) && !((E = a == null ? void 0 : a.isLazyLoad) != null && E.value) ? { bottom: `${(((N = o.value) == null ? void 0 : N.clientHeight) ?? 0) + 1}px` } : {};
|
|
619
620
|
});
|
|
620
621
|
return {
|
|
621
622
|
// Values
|
|
@@ -628,9 +629,9 @@ const Ye = "b-row-actions-column", Is = (s, t, n, e, o, l) => {
|
|
|
628
629
|
updateScrollPositionOnFrozenColumnsNavigation: h,
|
|
629
630
|
syncVirtualScrollerWithBody: y
|
|
630
631
|
};
|
|
631
|
-
},
|
|
632
|
-
const o =
|
|
633
|
-
var
|
|
632
|
+
}, zs = (s, t, n, e) => {
|
|
633
|
+
const o = S(null), l = C(() => {
|
|
634
|
+
var w, E, N, b;
|
|
634
635
|
if (!o.value || o.value.field === oe)
|
|
635
636
|
return {
|
|
636
637
|
hoveredOverColumnField: "",
|
|
@@ -638,7 +639,7 @@ const Ye = "b-row-actions-column", Is = (s, t, n, e, o, l) => {
|
|
|
638
639
|
noBorderLeft: !1,
|
|
639
640
|
noBorderRight: !1
|
|
640
641
|
};
|
|
641
|
-
const a = (E = (
|
|
642
|
+
const a = (E = (w = s.value.find((m) => m.isFrozenColumns)) == null ? void 0 : w.columnSet) == null ? void 0 : E.filter((m) => m.field !== oe), r = s.value.find((m) => !(m != null && m.isFrozenColumns)), d = o.value.frozen && (a == null ? void 0 : a[0].field) === o.value.field, f = !o.value.frozen && ((N = r == null ? void 0 : r.columnSet) == null ? void 0 : N[0].field) === o.value.field, p = (t.value || n.value) && d, h = (t.value || n.value) && !a && f, y = a && f, R = (a == null ? void 0 : a.length) > 0 && o.value.frozen && (a == null ? void 0 : a[a.length - 1].field) === o.value.field, u = n.value && e.value && !o.value.frozen && ((b = r == null ? void 0 : r.columnSet) == null ? void 0 : b[r.columnSet.length - 1].field) === o.value.field;
|
|
642
643
|
return {
|
|
643
644
|
hoveredOverColumnField: o.value.field,
|
|
644
645
|
isSeparatorOffset: u,
|
|
@@ -663,7 +664,7 @@ const Ye = "b-row-actions-column", Is = (s, t, n, e, o, l) => {
|
|
|
663
664
|
return n.forEach((e) => e.node.setAttribute("tabindex", "-1")), n;
|
|
664
665
|
}, Pe = (s) => {
|
|
665
666
|
(s == null ? void 0 : s.length) > 0 && s.forEach((t) => t == null ? void 0 : t.node.setAttribute("tabindex", "0"));
|
|
666
|
-
},
|
|
667
|
+
}, Bs = (s) => {
|
|
667
668
|
var d;
|
|
668
669
|
const t = window.getSelection();
|
|
669
670
|
if (!t || !t.rangeCount)
|
|
@@ -710,95 +711,95 @@ const Ye = "b-row-actions-column", Is = (s, t, n, e, o, l) => {
|
|
|
710
711
|
]);
|
|
711
712
|
};
|
|
712
713
|
let ht = 0;
|
|
713
|
-
const
|
|
714
|
+
const Us = {
|
|
714
715
|
beforeCreate() {
|
|
715
716
|
this.uuid = ht.toString(), ht += 1;
|
|
716
717
|
}
|
|
717
718
|
};
|
|
718
|
-
var
|
|
719
|
+
var ks = function() {
|
|
719
720
|
var t = this, n = t._self._c;
|
|
720
721
|
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { fill: "#001222", "clip-path": "url(#uia-ui-assets/icons-16-arrow_up_down_sort__a" + t.uuid + ")" } }, [n("path", { attrs: { 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" } }), n("path", { attrs: { 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" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-ui-assets/icons-16-arrow_up_down_sort__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
|
|
721
|
-
},
|
|
722
|
-
Bs,
|
|
722
|
+
}, $s = [], Ws = /* @__PURE__ */ J(
|
|
723
723
|
Us,
|
|
724
724
|
ks,
|
|
725
|
+
$s,
|
|
725
726
|
!1,
|
|
726
727
|
null,
|
|
727
728
|
null
|
|
728
729
|
);
|
|
729
|
-
const
|
|
730
|
+
const Gs = Ws.exports;
|
|
730
731
|
let pt = 0;
|
|
731
|
-
const
|
|
732
|
+
const Vs = {
|
|
732
733
|
beforeCreate() {
|
|
733
734
|
this.uuid = pt.toString(), pt += 1;
|
|
734
735
|
}
|
|
735
736
|
};
|
|
736
|
-
var
|
|
737
|
+
var Hs = function() {
|
|
737
738
|
var t = this, n = t._self._c;
|
|
738
739
|
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { "clip-path": "url(#uia-ui-assets/icons-16-freeze__a" + t.uuid + ")" } }, [n("path", { attrs: { fill: "#001222", d: "M10.5605 14.5L9.94434 13.8838C9.6002 13.5397 9.18722 13.3072 8.75 13.1836V10.9336L10.1689 10.1162L11.6865 10.9941L12.1094 12.5605C12.1146 12.5821 12.1182 12.6044 12.124 12.626L12.1553 12.7441L12.3496 13.4688L13.7988 13.0801L13.6162 12.4004L13.6201 12.3984L13.5547 12.1592C13.4254 11.5178 13.8153 10.878 14.4561 10.7061L14.5742 10.6748L15.2988 10.4805L14.9102 9.03125L14.2295 9.21387L14.2285 9.20996L13.5049 9.40625L12.4346 9.69531L10.9199 8.81836V7.18262L12.8633 6.05762C13.1889 6.37496 13.597 6.61697 14.0674 6.74316L14.1855 6.77441L14.9102 6.96875L15.2988 5.52051L14.5742 5.32617L14.4561 5.29395C13.7894 5.11503 13.3935 4.4294 13.5723 3.7627L13.6045 3.64453L13.7988 2.91992L12.3496 2.53125L12.1553 3.25586L12.124 3.37402C11.9979 3.84406 12.0018 4.31824 12.1133 4.75879L10.1689 5.88477L8.75 5.06738V2.81738C9.18731 2.69384 9.60013 2.46036 9.94434 2.11621L10.5605 1.5L9.5 0.439453L8.88379 1.05566C8.39567 1.54362 7.60433 1.54362 7.11621 1.05566L6.5 0.439453L5.43945 1.5L6.05566 2.11621C6.39987 2.46036 6.81269 2.69384 7.25 2.81738V5.06738L5.83105 5.88477L3.88574 4.75879C3.99724 4.31819 4.00207 3.84412 3.87598 3.37402L3.84473 3.25586L3.65039 2.53125L2.20117 2.91992L2.39551 3.64453L2.42773 3.7627C2.60651 4.42942 2.21066 5.11507 1.54395 5.29395L1.42578 5.32617L0.701172 5.52051L1.08984 6.96875L1.81445 6.77441L1.93262 6.74316C2.40275 6.61703 2.81018 6.37474 3.13574 6.05762L5.08008 7.18262V8.81836L3.13574 9.94336C2.81015 9.62622 2.40287 9.38399 1.93262 9.25781L1.81445 9.22559L1.08984 9.03125L0.701172 10.4805L1.42578 10.6748L1.54395 10.7061C2.2106 10.8849 2.60644 11.5706 2.42773 12.2373L2.39551 12.3555L2.20117 13.0801L3.65039 13.4688L3.84473 12.7441L3.87598 12.626C4.00207 12.1559 3.99723 11.6817 3.88574 11.2412L5.83105 10.1162L7.25 10.9336V13.1836C6.81278 13.3072 6.3998 13.5397 6.05566 13.8838L5.43945 14.5L6.5 15.5605L7.11621 14.9443C7.60433 14.4564 8.39567 14.4564 8.88379 14.9443L9.5 15.5605L10.5605 14.5ZM6.58008 8.81641V7.18262L8 6.36426L9.41992 7.18262V8.81641L8 9.63477L6.58008 8.81641Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-ui-assets/icons-16-freeze__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff", transform: "matrix(1 0 0 -1 0 16)" } })])])]);
|
|
739
|
-
},
|
|
740
|
-
Gs,
|
|
740
|
+
}, Zs = [], js = /* @__PURE__ */ J(
|
|
741
741
|
Vs,
|
|
742
742
|
Hs,
|
|
743
|
+
Zs,
|
|
743
744
|
!1,
|
|
744
745
|
null,
|
|
745
746
|
null
|
|
746
747
|
);
|
|
747
|
-
const kt =
|
|
748
|
+
const kt = js.exports;
|
|
748
749
|
let bt = 0;
|
|
749
|
-
const
|
|
750
|
+
const qs = {
|
|
750
751
|
beforeCreate() {
|
|
751
752
|
this.uuid = bt.toString(), bt += 1;
|
|
752
753
|
}
|
|
753
754
|
};
|
|
754
|
-
var
|
|
755
|
+
var Ks = function() {
|
|
755
756
|
var t = this, n = t._self._c;
|
|
756
757
|
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { fill: "#001222", "clip-path": "url(#uia-ui-assets/icons-16-sort_ascending__a" + t.uuid + ")" } }, [n("path", { attrs: { d: "M12.0001 1.93945L16.0608 6.00011L15.0001 7.06077L12.75 4.81066V12.75H11.25V4.81089L9.00011 7.06077L7.93945 6.00011L12.0001 1.93945Z" } }), n("path", { attrs: { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" } }), n("path", { attrs: { d: "M1.25 11.25H8.75V12.75H1.25V11.25Z" } }), n("path", { attrs: { d: "M6.75 3.25H1.25V4.75H6.75V3.25Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-ui-assets/icons-16-sort_ascending__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
|
|
757
|
-
},
|
|
758
|
-
js,
|
|
758
|
+
}, Ys = [], Xs = /* @__PURE__ */ J(
|
|
759
759
|
qs,
|
|
760
760
|
Ks,
|
|
761
|
+
Ys,
|
|
761
762
|
!1,
|
|
762
763
|
null,
|
|
763
764
|
null
|
|
764
765
|
);
|
|
765
|
-
const
|
|
766
|
+
const Js = Xs.exports;
|
|
766
767
|
let wt = 0;
|
|
767
|
-
const
|
|
768
|
+
const Qs = {
|
|
768
769
|
beforeCreate() {
|
|
769
770
|
this.uuid = wt.toString(), wt += 1;
|
|
770
771
|
}
|
|
771
772
|
};
|
|
772
|
-
var
|
|
773
|
+
var eo = function() {
|
|
773
774
|
var t = this, n = t._self._c;
|
|
774
775
|
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { fill: "#001222", "clip-path": "url(#uia-ui-assets/icons-16-sort_descending__a" + t.uuid + ")" } }, [n("path", { attrs: { d: "M12.75 3.25V11.1896L15.0001 8.93945L16.0608 10.0001L12.0001 14.0608L7.93945 10.0001L9.00011 8.93945L11.25 11.1893V3.25H12.75Z" } }), n("path", { attrs: { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" } }), n("path", { attrs: { d: "M1.25 3.25H9.09V4.75H1.25V3.25Z" } }), n("path", { attrs: { d: "M6.75 11.25H1.25V12.75H6.75V11.25Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-ui-assets/icons-16-sort_descending__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
|
|
775
|
-
},
|
|
776
|
-
Js,
|
|
776
|
+
}, to = [], no = /* @__PURE__ */ J(
|
|
777
777
|
Qs,
|
|
778
778
|
eo,
|
|
779
|
+
to,
|
|
779
780
|
!1,
|
|
780
781
|
null,
|
|
781
782
|
null
|
|
782
783
|
);
|
|
783
|
-
const
|
|
784
|
+
const so = no.exports;
|
|
784
785
|
let St = 0;
|
|
785
|
-
const
|
|
786
|
+
const oo = {
|
|
786
787
|
beforeCreate() {
|
|
787
788
|
this.uuid = St.toString(), St += 1;
|
|
788
789
|
}
|
|
789
790
|
};
|
|
790
|
-
var
|
|
791
|
+
var lo = function() {
|
|
791
792
|
var t = this, n = t._self._c;
|
|
792
793
|
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("path", { attrs: { fill: "#001222", d: "M8 11.25L12.5 5.25H3.5L8 11.25Z" } })]);
|
|
793
|
-
},
|
|
794
|
-
so,
|
|
794
|
+
}, ao = [], io = /* @__PURE__ */ J(
|
|
795
795
|
oo,
|
|
796
796
|
lo,
|
|
797
|
+
ao,
|
|
797
798
|
!1,
|
|
798
799
|
null,
|
|
799
800
|
null
|
|
800
801
|
);
|
|
801
|
-
const
|
|
802
|
+
const ro = io.exports, co = {
|
|
802
803
|
"de-DE": {
|
|
803
804
|
columnActions: "{name}-Spaltenaktionen",
|
|
804
805
|
deselectAll: "Alle abwählen",
|
|
@@ -1009,11 +1010,11 @@ const io = ao.exports, ro = {
|
|
|
1009
1010
|
sortColumnInDescendingOrder: "按降序排序 {name} 列",
|
|
1010
1011
|
unfreezeColumn: "取消冻结列"
|
|
1011
1012
|
}
|
|
1012
|
-
}, $t = /* @__PURE__ */ Symbol("data-grid slashed zero key"), Ie = /* @__PURE__ */ Symbol("data-grid small container key"), ze = /* @__PURE__ */ Symbol("data-grid touch device key"),
|
|
1013
|
-
i18n: { messages:
|
|
1013
|
+
}, $t = /* @__PURE__ */ Symbol("data-grid slashed zero key"), Ie = /* @__PURE__ */ Symbol("data-grid small container key"), ze = /* @__PURE__ */ Symbol("data-grid touch device key"), uo = {
|
|
1014
|
+
i18n: { messages: co },
|
|
1014
1015
|
name: "data-grid-columns"
|
|
1015
|
-
},
|
|
1016
|
-
...
|
|
1016
|
+
}, fo = /* @__PURE__ */ re({
|
|
1017
|
+
...uo,
|
|
1017
1018
|
props: {
|
|
1018
1019
|
/**
|
|
1019
1020
|
* Column definitions using 'key' to relate to data object.
|
|
@@ -1160,9 +1161,9 @@ const io = ao.exports, ro = {
|
|
|
1160
1161
|
},
|
|
1161
1162
|
emits: ["sort", "column-hover"],
|
|
1162
1163
|
setup(s, { expose: t, emit: n }) {
|
|
1163
|
-
const e = s, o = 100, { t: l } =
|
|
1164
|
+
const e = s, o = 100, { t: l } = _e(), { columns: a, sortBy: r } = Ve(e), d = S(), f = S({}), p = S({}), h = S(), y = S(), R = C(
|
|
1164
1165
|
() => e.columns.some((c) => c.sortable || e.hasColumnPanel || c.infoIconTooltip)
|
|
1165
|
-
), u = (c) => n(X.SELECT_ALL_ROWS, c),
|
|
1166
|
+
), u = (c) => n(X.SELECT_ALL_ROWS, c), w = (c) => c.field === oe, E = C(() => e.selectionState === "all"), N = C(
|
|
1166
1167
|
() => {
|
|
1167
1168
|
var c, z, K;
|
|
1168
1169
|
return [
|
|
@@ -1201,7 +1202,7 @@ const io = ao.exports, ro = {
|
|
|
1201
1202
|
}
|
|
1202
1203
|
].filter(Boolean);
|
|
1203
1204
|
}
|
|
1204
|
-
), { startResize: b, isResizing: m, columnHoverEventToEmitAfterResizing: O } =
|
|
1205
|
+
), { startResize: b, isResizing: m, columnHoverEventToEmitAfterResizing: O } = vs(a, n), { isSorting: F, getSortingDirection: _, sortByColumnField: i } = Is(r, a, n), g = (c) => {
|
|
1205
1206
|
var te;
|
|
1206
1207
|
if (!c.sortable)
|
|
1207
1208
|
return null;
|
|
@@ -1231,13 +1232,13 @@ const io = ao.exports, ro = {
|
|
|
1231
1232
|
{
|
|
1232
1233
|
text: l("moveColumnLeft"),
|
|
1233
1234
|
handler: () => n(X.COLUMN_MOVE, c, -1),
|
|
1234
|
-
icon:
|
|
1235
|
+
icon: cs,
|
|
1235
1236
|
disabled: e.columns[0].field === c.field
|
|
1236
1237
|
},
|
|
1237
1238
|
{
|
|
1238
1239
|
text: l("moveColumnRight"),
|
|
1239
1240
|
handler: () => n(X.COLUMN_MOVE, c, 1),
|
|
1240
|
-
icon:
|
|
1241
|
+
icon: ds,
|
|
1241
1242
|
disabled: e.columns[e.columns.length - 1].field === c.field
|
|
1242
1243
|
},
|
|
1243
1244
|
!V.value && {
|
|
@@ -1253,7 +1254,7 @@ const io = ao.exports, ro = {
|
|
|
1253
1254
|
visible: (c == null ? void 0 : c.visible) === !1
|
|
1254
1255
|
});
|
|
1255
1256
|
},
|
|
1256
|
-
icon: (c == null ? void 0 : c.visible) !== !1 ?
|
|
1257
|
+
icon: (c == null ? void 0 : c.visible) !== !1 ? us : fs,
|
|
1257
1258
|
disabled: (c == null ? void 0 : c.mandatory) || (c == null ? void 0 : c.visible) !== !1 && e.isOnlyOneVisibleColumn
|
|
1258
1259
|
}
|
|
1259
1260
|
].filter(Boolean)
|
|
@@ -1273,14 +1274,14 @@ const io = ao.exports, ro = {
|
|
|
1273
1274
|
x(c), m.value ? O.value = null : n("column-hover", null);
|
|
1274
1275
|
},
|
|
1275
1276
|
focus: () => {
|
|
1276
|
-
P(c),
|
|
1277
|
+
P(c), w(c) && xe(f.value[c.field]);
|
|
1277
1278
|
},
|
|
1278
1279
|
focusout: (K) => {
|
|
1279
1280
|
var te;
|
|
1280
1281
|
(te = d.value) != null && te.contains(K == null ? void 0 : K.relatedTarget) || x(c);
|
|
1281
1282
|
}
|
|
1282
1283
|
};
|
|
1283
|
-
return
|
|
1284
|
+
return w(c) || (z = {
|
|
1284
1285
|
...z,
|
|
1285
1286
|
...A.value(c)
|
|
1286
1287
|
}), z;
|
|
@@ -1290,7 +1291,7 @@ const io = ao.exports, ro = {
|
|
|
1290
1291
|
}, V = ge(
|
|
1291
1292
|
Ie,
|
|
1292
1293
|
C(() => !1)
|
|
1293
|
-
), W = ge(ze,
|
|
1294
|
+
), W = ge(ze, S(!1)), B = C(() => {
|
|
1294
1295
|
var z;
|
|
1295
1296
|
const c = {
|
|
1296
1297
|
"b-data-grid-columns--is-measuring": e.isMeasuringColumnWidths
|
|
@@ -1306,7 +1307,7 @@ const io = ao.exports, ro = {
|
|
|
1306
1307
|
};
|
|
1307
1308
|
}), ne = C(() => ({
|
|
1308
1309
|
"b-data-grid-columns__select-column--all": e.selectableAcrossPages
|
|
1309
|
-
})), me = (c, z) => c && z === 0 ? ft.BOTTOM_START : ft.BOTTOM_END,
|
|
1310
|
+
})), me = (c, z) => c && z === 0 ? ft.BOTTOM_START : ft.BOTTOM_END, Ce = (c, z) => {
|
|
1310
1311
|
var K, te, ie, Te, be, we, Se, Re, v, T;
|
|
1311
1312
|
return {
|
|
1312
1313
|
"b-data-grid-columns__column--column-hovered": c.field === e.hoveredOverColumnState.hoveredOverColumnField,
|
|
@@ -1324,7 +1325,7 @@ const io = ao.exports, ro = {
|
|
|
1324
1325
|
"b-data-grid-columns__column--with-sorting-or-column-panel": c.sortable || c.infoIconTooltip || e.hasColumnPanel || e.selectableAcrossPages,
|
|
1325
1326
|
"b-data-grid-columns--small-container": V.value
|
|
1326
1327
|
};
|
|
1327
|
-
},
|
|
1328
|
+
}, ve = (c) => ({
|
|
1328
1329
|
"b-data-grid-columns__column-header-and-actions--numeric": c == null ? void 0 : c.numeric
|
|
1329
1330
|
}), de = (c) => ({
|
|
1330
1331
|
"b-data-grid-columns__column-actions--numeric": c == null ? void 0 : c.numeric
|
|
@@ -1338,10 +1339,10 @@ const io = ao.exports, ro = {
|
|
|
1338
1339
|
});
|
|
1339
1340
|
return t({
|
|
1340
1341
|
columnHeaderRefs: f
|
|
1341
|
-
}), { __sfc: !0, props: e, emit: n, CLOSING_CONTEXTUAL_MENU_DELAY_MS: o, t: l, columns: a, sortBy: r, allColumnsRef: d, columnHeaderRefs: f, contextMenuRef: p, hoveredColumnField: h, closingTimeOutId: y, areAnyColumnsFocusable: R, onAllRowSelect: u, isActionsColumn:
|
|
1342
|
+
}), { __sfc: !0, props: e, emit: n, CLOSING_CONTEXTUAL_MENU_DELAY_MS: o, t: l, columns: a, sortBy: r, allColumnsRef: d, columnHeaderRefs: f, contextMenuRef: p, hoveredColumnField: h, closingTimeOutId: y, areAnyColumnsFocusable: R, onAllRowSelect: u, isActionsColumn: w, isAllSelectionState: E, selectAllMenu: N, startResize: b, isResizing: m, columnHoverEventToEmitAfterResizing: O, isSorting: F, getSortingDirection: _, sortByColumnField: i, getSortingColumnDirection: g, draggingEventsForColumn: A, contextualMenuData: I, showContextualMenu: P, hideContextualMenu: x, dataGridColumnEvents: U, hasColumnActions: q, registerColumnsRefs: G, isSmallContainer: V, isTouchDevice: W, conditionalColumnsClasses: B, conditionalSelectColumnClasses: ne, computeMenuPosition: me, conditionalColumnClasses: Ce, conditionalColumnHeaderAndActionsClasses: ve, conditionalColumnActionsClasses: de, conditionalColumnSeparatorClasses: L, conditionalColumnHeaderClasses: $, conditionalColumnMenuClasses: H, BentoCheckbox: xt, BentoDatagridSortDirection: ye, BentoTypography: Le, DATAGRID_ROW_ACTIONS_COLUMN_FIELD_NAME: Ye, BentoInfoIcon: is, DatagridColumnsEvent: X, BentoMenu: zt, BentoToggleButton: Ke, DecorativeCheckbox: rs, ArrowUpAndDownSortIcon: Gs, SortAscendingIcon: Js, SortDescendingIcon: so, TriangleDown: ro };
|
|
1342
1343
|
}
|
|
1343
1344
|
});
|
|
1344
|
-
var
|
|
1345
|
+
var go = function() {
|
|
1345
1346
|
var t = this, n = t._self._c, e = t._self._setupProxy;
|
|
1346
1347
|
return n("div", { ref: "allColumnsRef", staticClass: "b-data-grid-columns", class: e.conditionalColumnsClasses, attrs: { "data-testid": "data-grid-columns" } }, [t._l(e.columns, function(o, l) {
|
|
1347
1348
|
return n("div", t._g({ key: o.field, ref: (a) => e.registerColumnsRefs(a, o.field), refInFor: !0, staticClass: "b-data-grid-columns__column", class: e.conditionalColumnClasses(o, l), style: { width: o.autoWidth && t.isMeasuringColumnWidths ? "auto" : `${o.width}px` }, attrs: { "aria-colindex": l + 1, "aria-label": o.label, "aria-sort": e.getSortingColumnDirection(o), "data-testid": `${o.field}-column-header`, draggable: t.hasDraggableColumns && !e.isResizing && !e.isActionsColumn(o), role: "columnheader", tabindex: o.sortable || t.hasColumnPanel || o.infoIconTooltip ? "0" : "-1" } }, e.dataGridColumnEvents(o)), [e.isActionsColumn(o) && t.selectable ? n("div", { staticClass: "b-data-grid-columns__select-column", class: e.conditionalSelectColumnClasses }, [t.selectableAcrossPages ? t._e() : n(e.BentoCheckbox, { attrs: { "aria-label": e.t("selectAll"), "model-value": t.allItemsSelectedState.allItemsSelected, "data-testid": "checkbox-select-all", indeterminate: t.allItemsSelectedState.isIndeterminate, value: "data-grid-select-all" }, on: { "update:model-value": e.onAllRowSelect } }), t.selectableAcrossPages ? [n(e.BentoMenu, { staticClass: "b-data-grid-columns__select-column-menu", attrs: { button: { variant: "tertiary", condensed: !0, "aria-label": e.t("selectAllMenu") }, data: e.selectAllMenu, "disable-arrow-down-opening-menu": "", "menu-fixed-positioning": "", "menu-position": "bottom-start" }, scopedSlots: t._u([{ key: "iconLeft", fn: function() {
|
|
@@ -1362,34 +1363,34 @@ var fo = function() {
|
|
|
1362
1363
|
a.stopPropagation();
|
|
1363
1364
|
} } }, [!t.isFrozenColumns || t.isFrozenColumns && l !== e.columns.length - 1 ? n("div", { staticClass: "b-data-grid-columns__column-separator" }) : t._e()])]], 2);
|
|
1364
1365
|
}), t.rowActionsMaximumWidth && !t.isFrozenColumns ? [n("div", { staticClass: "b-data-grid-columns__row-actions-filler", attrs: { role: "presentation" } }), n("div", { ref: (o) => e.registerColumnsRefs(o, e.DATAGRID_ROW_ACTIONS_COLUMN_FIELD_NAME), staticClass: "b-data-grid-columns__column", style: { minWidth: `${t.rowActionsMaximumWidth}px` }, attrs: { "aria-label": e.t("rowActionsColumn"), "aria-colindex": e.columns.length + 1, role: "columnheader", tabindex: e.areAnyColumnsFocusable ? "0" : "-1" } })] : t._e()], 2);
|
|
1365
|
-
},
|
|
1366
|
-
uo,
|
|
1366
|
+
}, mo = [], _o = /* @__PURE__ */ J(
|
|
1367
1367
|
fo,
|
|
1368
1368
|
go,
|
|
1369
|
+
mo,
|
|
1369
1370
|
!1,
|
|
1370
1371
|
null,
|
|
1371
1372
|
"6c78a96a"
|
|
1372
1373
|
);
|
|
1373
|
-
const
|
|
1374
|
+
const Co = _o.exports;
|
|
1374
1375
|
var ue = /* @__PURE__ */ ((s) => (s.UPDATE_CONDENSED = "update:condensed", s.UPDATE_COLUMNS = "update:columns", s.UPDATE_ZEBRA_ROWS = "update:zebra-rows", s))(ue || {});
|
|
1375
1376
|
let Rt = 0;
|
|
1376
|
-
const
|
|
1377
|
+
const vo = {
|
|
1377
1378
|
beforeCreate() {
|
|
1378
1379
|
this.uuid = Rt.toString(), Rt += 1;
|
|
1379
1380
|
}
|
|
1380
1381
|
};
|
|
1381
|
-
var
|
|
1382
|
+
var ho = function() {
|
|
1382
1383
|
var t = this, n = t._self._c;
|
|
1383
1384
|
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { fill: "#001222", "clip-path": "url(#uia-ui-assets/icons-16-settings__a" + t.uuid + ")" } }, [n("path", { attrs: { 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" } }), n("path", { attrs: { 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" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-ui-assets/icons-16-settings__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
|
|
1384
|
-
},
|
|
1385
|
-
Co,
|
|
1385
|
+
}, po = [], bo = /* @__PURE__ */ J(
|
|
1386
1386
|
vo,
|
|
1387
1387
|
ho,
|
|
1388
|
+
po,
|
|
1388
1389
|
!1,
|
|
1389
1390
|
null,
|
|
1390
1391
|
null
|
|
1391
1392
|
);
|
|
1392
|
-
const
|
|
1393
|
+
const wo = bo.exports, So = {
|
|
1393
1394
|
"de-DE": {
|
|
1394
1395
|
toggleColumnFreeze: "{label} Spaltenfixierung umschalten",
|
|
1395
1396
|
toggleColumnVisibility: "Sichtbarkeit der Spalte {label} umschalten"
|
|
@@ -1430,8 +1431,8 @@ const bo = po.exports, wo = {
|
|
|
1430
1431
|
toggleColumnFreeze: "切换 {label} 列冻结",
|
|
1431
1432
|
toggleColumnVisibility: "切换 {label} 列的可见性"
|
|
1432
1433
|
}
|
|
1433
|
-
},
|
|
1434
|
-
i18n: { messages:
|
|
1434
|
+
}, Ro = re({
|
|
1435
|
+
i18n: { messages: So },
|
|
1435
1436
|
name: "bento-data-grid",
|
|
1436
1437
|
components: {
|
|
1437
1438
|
BentoFreezeIcon: kt,
|
|
@@ -1455,7 +1456,7 @@ const bo = po.exports, wo = {
|
|
|
1455
1456
|
},
|
|
1456
1457
|
emits: ["visible-column", "updated-column"],
|
|
1457
1458
|
setup(s, { emit: t }) {
|
|
1458
|
-
const { t: n } =
|
|
1459
|
+
const { t: n } = _e(), e = S(!1), o = C(() => {
|
|
1459
1460
|
var y;
|
|
1460
1461
|
return (y = s.column) == null ? void 0 : y.frozen;
|
|
1461
1462
|
}), l = C(() => {
|
|
@@ -1492,20 +1493,20 @@ const bo = po.exports, wo = {
|
|
|
1492
1493
|
};
|
|
1493
1494
|
}
|
|
1494
1495
|
});
|
|
1495
|
-
var
|
|
1496
|
+
var Ao = function() {
|
|
1496
1497
|
var t = this, n = t._self._c;
|
|
1497
1498
|
return t._self._setupProxy, n("div", { staticClass: "b-data-grid-config-settings-column-row", on: { mouseover: t.showFreezeIcon, mouseleave: t.hideFreezeIcon } }, [n("bento-toggle", { attrs: { "aria-label": t.t("toggleColumnVisibility", { label: t.column.label }), disabled: t.isColumnVisibilityToggleDisabled, "label-position": "after", value: t.isColumnVisible }, on: { input: t.toggleColumnVisibility } }, [t._v(" " + t._s(t.column.label) + " ")]), n("bento-freeze-icon", { directives: [{ name: "show", rawName: "v-show", value: (t.isColumnFrozen || t.isFreezeIconOptionShown) && !t.isSmallContainer, expression: "(isColumnFrozen || isFreezeIconOptionShown) && !isSmallContainer" }], staticClass: "b-data-grid-config-settings-column-row__freeze-icon", class: t.freezeIconConditionalClasses, attrs: { "aria-label": t.t("toggleColumnFreeze", { label: t.column.label }) }, nativeOn: { click: function(e) {
|
|
1498
1499
|
return t.toggleColumnFreeze.apply(null, arguments);
|
|
1499
1500
|
} } })], 1);
|
|
1500
|
-
},
|
|
1501
|
-
So,
|
|
1501
|
+
}, Eo = [], yo = /* @__PURE__ */ J(
|
|
1502
1502
|
Ro,
|
|
1503
1503
|
Ao,
|
|
1504
|
+
Eo,
|
|
1504
1505
|
!1,
|
|
1505
1506
|
null,
|
|
1506
1507
|
"b49cbd8d"
|
|
1507
1508
|
);
|
|
1508
|
-
const
|
|
1509
|
+
const Lo = yo.exports, To = {
|
|
1509
1510
|
"de-DE": {
|
|
1510
1511
|
appearance: "Erscheinungsbild",
|
|
1511
1512
|
closeConfigSettingsPanel: "Konfigurations-Einstellungen-Panel schließen",
|
|
@@ -1676,22 +1677,22 @@ const yo = Eo.exports, Lo = {
|
|
|
1676
1677
|
zebraRows: "斑马条纹行",
|
|
1677
1678
|
zebraRowsToggle: "斑马条纹行切换"
|
|
1678
1679
|
}
|
|
1679
|
-
},
|
|
1680
|
-
i18n: { messages:
|
|
1680
|
+
}, Oo = re({
|
|
1681
|
+
i18n: { messages: To },
|
|
1681
1682
|
name: "bento-data-grid",
|
|
1682
1683
|
components: {
|
|
1683
1684
|
BentoButton: Pt,
|
|
1684
1685
|
BentoCrossIcon: Nt,
|
|
1685
|
-
BentoPopover:
|
|
1686
|
-
BentoSettingsIcon:
|
|
1686
|
+
BentoPopover: es,
|
|
1687
|
+
BentoSettingsIcon: wo,
|
|
1687
1688
|
BentoToggleButton: Ke,
|
|
1688
|
-
BentoDataGridConfigSettingsConfigRow:
|
|
1689
|
-
BentoSearchBar:
|
|
1690
|
-
BentoSearchIcon:
|
|
1689
|
+
BentoDataGridConfigSettingsConfigRow: Lo,
|
|
1690
|
+
BentoSearchBar: gs,
|
|
1691
|
+
BentoSearchIcon: _s,
|
|
1691
1692
|
BentoToggle: Bt,
|
|
1692
1693
|
BentoTypography: Le
|
|
1693
1694
|
},
|
|
1694
|
-
directives: { BentoClickOutsideDirective:
|
|
1695
|
+
directives: { BentoClickOutsideDirective: Cs },
|
|
1695
1696
|
props: {
|
|
1696
1697
|
/**
|
|
1697
1698
|
* Column definitions
|
|
@@ -1721,11 +1722,11 @@ const yo = Eo.exports, Lo = {
|
|
|
1721
1722
|
ue.UPDATE_ZEBRA_ROWS
|
|
1722
1723
|
],
|
|
1723
1724
|
setup(s, { emit: t }) {
|
|
1724
|
-
const { t: n } =
|
|
1725
|
+
const { t: n } = _e(), e = S(null), o = Me("data-grid-config-settings-popover"), l = S(null), a = S(!1), r = S(!0), d = S(null), f = S(""), p = $e(s, "columns"), h = S(!1), y = ms(f, p), R = () => {
|
|
1725
1726
|
f.value = "";
|
|
1726
1727
|
}, u = C(
|
|
1727
1728
|
() => !s.columns.some((g) => g.visible === !1 && !g.mandatory)
|
|
1728
|
-
),
|
|
1729
|
+
), w = () => {
|
|
1729
1730
|
R(), h.value = !h.value, h.value ? ee(() => {
|
|
1730
1731
|
var g;
|
|
1731
1732
|
return (g = l.value.$refs.bentoInputField) == null ? void 0 : g.focusInput();
|
|
@@ -1773,7 +1774,7 @@ const yo = Eo.exports, Lo = {
|
|
|
1773
1774
|
emitCondensedToggle: (g) => t(ue.UPDATE_CONDENSED, g),
|
|
1774
1775
|
toggleAllColumnVisibility: b,
|
|
1775
1776
|
clearAction: R,
|
|
1776
|
-
toggleColumnFilter:
|
|
1777
|
+
toggleColumnFilter: w,
|
|
1777
1778
|
emitVisibleColumns: N,
|
|
1778
1779
|
emitFrozenColumns: m,
|
|
1779
1780
|
onClickOutside: () => O(!1),
|
|
@@ -1784,7 +1785,7 @@ const yo = Eo.exports, Lo = {
|
|
|
1784
1785
|
};
|
|
1785
1786
|
}
|
|
1786
1787
|
});
|
|
1787
|
-
var
|
|
1788
|
+
var Io = function() {
|
|
1788
1789
|
var t = this, n = t._self._c;
|
|
1789
1790
|
return t._self._setupProxy, n("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: t.onClickOutside, expression: "onClickOutside" }], staticClass: "b-data-grid-config-settings" }, [n("div", { staticClass: "b-data-grid-config-settings__button-and-separator" }, [n("div", { ref: "configSettingsButtonRef", staticClass: "b-data-grid-config-settings__button-container" }, [n("bento-toggle-button", { attrs: { "aria-controls": t.isConfigSettingsPanelOpen ? t.popoverId : null, variant: "tertiary", condensed: "", toggled: t.isConfigSettingsPanelOpen }, on: { click: function(e) {
|
|
1790
1791
|
return t.setConfigSettingsPanelVisibility(!t.isConfigSettingsPanelOpen);
|
|
@@ -1803,15 +1804,15 @@ var Oo = function() {
|
|
|
1803
1804
|
}, clear: t.clearAction, "escape-pressed": t.toggleColumnFilter } })], 1) : n("div", { staticClass: "b-data-grid-config-settings__column-visibility-show-all" }, [n("bento-toggle", { attrs: { "label-position": "after", value: t.allColumnsVisbilityToggleState }, on: { input: t.toggleAllColumnVisibility } }, [t._v(" " + t._s(t.t("showAllColumns", { numberOfColumns: t.columns.length })) + " ")])], 1), n("div", { staticClass: "b-data-grid-config-settings__column-visibility-toggles" }, [t._l(t.filteredColumnVisibilityColumns, function(e) {
|
|
1804
1805
|
return n("div", { key: e.field }, [e.field !== t.DATAGRID_ACTIONS_COLUMN_FIELD_NAME ? n("bento-data-grid-config-settings-config-row", { attrs: { column: e, "is-column-visibility-toggle-disabled": t.isColumnVisibilityToggleDisabled(e) }, on: { "visible-column": t.emitVisibleColumns, "updated-column": t.emitFrozenColumns } }) : t._e()], 1);
|
|
1805
1806
|
}), t.filteredColumnVisibilityColumns.length === 0 ? n("bento-typography", { staticClass: "b-data-grid-config-settings__column-visibility-empty-search-message", attrs: { el: "span" } }, [t._v(" " + t._s(t.t("noColumnsMatch")) + " ")]) : t._e()], 2)])]) : t._e()], 1);
|
|
1806
|
-
},
|
|
1807
|
-
To,
|
|
1807
|
+
}, No = [], Do = /* @__PURE__ */ J(
|
|
1808
1808
|
Oo,
|
|
1809
1809
|
Io,
|
|
1810
|
+
No,
|
|
1810
1811
|
!1,
|
|
1811
1812
|
null,
|
|
1812
1813
|
"0e477266"
|
|
1813
1814
|
);
|
|
1814
|
-
const
|
|
1815
|
+
const Fo = Do.exports, Wt = {
|
|
1815
1816
|
"de-DE": {
|
|
1816
1817
|
filterBar: "Filter",
|
|
1817
1818
|
gettingYourData: "Ihre Daten werden abgerufen",
|
|
@@ -1932,38 +1933,38 @@ const Do = No.exports, Wt = {
|
|
|
1932
1933
|
sortDescending: "{field} 降序排序",
|
|
1933
1934
|
sortInactive: "{field} 排序未激活"
|
|
1934
1935
|
}
|
|
1935
|
-
},
|
|
1936
|
+
}, Mo = {
|
|
1936
1937
|
i18n: { messages: Wt }
|
|
1937
|
-
},
|
|
1938
|
-
...
|
|
1938
|
+
}, xo = /* @__PURE__ */ re({
|
|
1939
|
+
...Mo,
|
|
1939
1940
|
__name: "data-grid-lazy-load",
|
|
1940
1941
|
props: {
|
|
1941
1942
|
loading: { type: Boolean },
|
|
1942
1943
|
isInfiniteScroll: { type: Boolean }
|
|
1943
1944
|
},
|
|
1944
1945
|
setup(s) {
|
|
1945
|
-
const { t } =
|
|
1946
|
-
return { __sfc: !0, t, BentoLoadingButton:
|
|
1946
|
+
const { t } = _e();
|
|
1947
|
+
return { __sfc: !0, t, BentoLoadingButton: ns, BentoLoadingButtonState: ts, BentoLoadingIndicator: Ze, BentoDatagridEvent: D };
|
|
1947
1948
|
}
|
|
1948
1949
|
});
|
|
1949
|
-
var
|
|
1950
|
+
var Po = function() {
|
|
1950
1951
|
var t = this, n = t._self._c, e = t._self._setupProxy;
|
|
1951
1952
|
return n("div", { staticClass: "b-data-grid-lazy-load" }, [t.loading && t.isInfiniteScroll ? n(e.BentoLoadingIndicator) : t._e(), t.loading && !t.isInfiniteScroll ? n(e.BentoLoadingButton, { attrs: { variant: "secondary", state: e.BentoLoadingButtonState.LOADING } }, [t._v(t._s(e.t("loading")))]) : t._e(), !t.loading && !t.isInfiniteScroll ? n(e.BentoLoadingButton, { attrs: { state: e.BentoLoadingButtonState.START, variant: "secondary" }, on: { click: function(o) {
|
|
1952
1953
|
return t.$emit(e.BentoDatagridEvent.UPDATE_SHOW_MORE);
|
|
1953
1954
|
} } }, [t._v(t._s(e.t("showMore")))]) : t._e()], 1);
|
|
1954
|
-
},
|
|
1955
|
-
Mo,
|
|
1955
|
+
}, zo = [], Bo = /* @__PURE__ */ J(
|
|
1956
1956
|
xo,
|
|
1957
1957
|
Po,
|
|
1958
|
+
zo,
|
|
1958
1959
|
!1,
|
|
1959
1960
|
null,
|
|
1960
1961
|
"fd9b8204"
|
|
1961
1962
|
);
|
|
1962
|
-
const
|
|
1963
|
+
const Uo = Bo.exports, At = () => {
|
|
1963
1964
|
const s = document.activeElement;
|
|
1964
1965
|
return s ? s.matches(":focus-visible") || s.matches(".focus-visible") : !1;
|
|
1965
|
-
},
|
|
1966
|
-
const t =
|
|
1966
|
+
}, ko = ({ gridcellRef: s }) => {
|
|
1967
|
+
const t = S(!1), n = S(!1), e = S(), o = S([]), l = S(!1), a = S(!1), r = S(!1), d = S(!1), f = S(!1), p = C(() => {
|
|
1967
1968
|
var _;
|
|
1968
1969
|
return (((_ = e.value) == null ? void 0 : _.length) ?? 0) > 1;
|
|
1969
1970
|
}), h = (_) => {
|
|
@@ -1979,7 +1980,7 @@ const Bo = zo.exports, At = () => {
|
|
|
1979
1980
|
}, u = () => {
|
|
1980
1981
|
var _;
|
|
1981
1982
|
a.value = !1, l.value = !1, f.value = !0, ce(s.value), (_ = s.value) == null || _.focus();
|
|
1982
|
-
},
|
|
1983
|
+
}, w = () => {
|
|
1983
1984
|
var g;
|
|
1984
1985
|
const _ = (g = s.value) == null ? void 0 : g.closest('[role="grid"]');
|
|
1985
1986
|
if (!_)
|
|
@@ -2011,7 +2012,7 @@ const Bo = zo.exports, At = () => {
|
|
|
2011
2012
|
hideCellActionsIfLeft: y,
|
|
2012
2013
|
onMenuClose: R,
|
|
2013
2014
|
exitInteractionMode: u,
|
|
2014
|
-
findNextFocusableAfterGrid:
|
|
2015
|
+
findNextFocusableAfterGrid: w,
|
|
2015
2016
|
hasChildFocusedInside: E,
|
|
2016
2017
|
handleFocus: async (_) => {
|
|
2017
2018
|
if (!At())
|
|
@@ -2051,7 +2052,7 @@ const Bo = zo.exports, At = () => {
|
|
|
2051
2052
|
}
|
|
2052
2053
|
if (_.key === j.TAB && I) {
|
|
2053
2054
|
_.preventDefault(), _.stopPropagation(), r.value = !0;
|
|
2054
|
-
const G =
|
|
2055
|
+
const G = w();
|
|
2055
2056
|
setTimeout(() => {
|
|
2056
2057
|
l.value = !1, t.value = !1, ee(() => G == null ? void 0 : G.focus());
|
|
2057
2058
|
}, 0);
|
|
@@ -2073,23 +2074,23 @@ const Bo = zo.exports, At = () => {
|
|
|
2073
2074
|
};
|
|
2074
2075
|
};
|
|
2075
2076
|
let Et = 0;
|
|
2076
|
-
const
|
|
2077
|
+
const $o = {
|
|
2077
2078
|
beforeCreate() {
|
|
2078
2079
|
this.uuid = Et.toString(), Et += 1;
|
|
2079
2080
|
}
|
|
2080
2081
|
};
|
|
2081
|
-
var
|
|
2082
|
+
var Wo = function() {
|
|
2082
2083
|
var t = this, n = t._self._c;
|
|
2083
2084
|
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("path", { attrs: { fill: "#001222", d: "M9.38867 2.21717C10.4626 1.14323 12.2044 1.14323 13.2783 2.21717L13.7832 2.72205C14.857 3.79601 14.8571 5.53782 13.7832 6.6117L5.64355 14.7504H1.25V10.3558L9.38867 2.21717ZM2.75 10.9769V13.2504H5.02246L11.2715 6.9994L8.99902 4.72693L2.75 10.9769ZM12.2168 3.27772C11.7286 2.78987 10.9373 2.78967 10.4492 3.27772L10.0596 3.66639L12.332 5.93885L12.7217 5.55018C13.2098 5.06203 13.2098 4.27076 12.7217 3.7826L12.2168 3.27772Z" } })]);
|
|
2084
|
-
},
|
|
2085
|
-
ko,
|
|
2085
|
+
}, Go = [], Vo = /* @__PURE__ */ J(
|
|
2086
2086
|
$o,
|
|
2087
2087
|
Wo,
|
|
2088
|
+
Go,
|
|
2088
2089
|
!1,
|
|
2089
2090
|
null,
|
|
2090
2091
|
null
|
|
2091
2092
|
);
|
|
2092
|
-
const yt =
|
|
2093
|
+
const yt = Vo.exports, Ho = {
|
|
2093
2094
|
"de-DE": {
|
|
2094
2095
|
copy: "Kopieren",
|
|
2095
2096
|
edit: "Bearbeiten",
|
|
@@ -2150,11 +2151,11 @@ const yt = Go.exports, Vo = {
|
|
|
2150
2151
|
more: "更多",
|
|
2151
2152
|
open: "打开"
|
|
2152
2153
|
}
|
|
2153
|
-
},
|
|
2154
|
-
i18n: { messages:
|
|
2154
|
+
}, Zo = {
|
|
2155
|
+
i18n: { messages: Ho },
|
|
2155
2156
|
name: "data-grid-cell-actions"
|
|
2156
|
-
},
|
|
2157
|
-
...
|
|
2157
|
+
}, jo = /* @__PURE__ */ re({
|
|
2158
|
+
...Zo,
|
|
2158
2159
|
props: {
|
|
2159
2160
|
/**
|
|
2160
2161
|
* Column definitions using 'key' to relate to data object.
|
|
@@ -2223,7 +2224,7 @@ const yt = Go.exports, Vo = {
|
|
|
2223
2224
|
},
|
|
2224
2225
|
emits: ["menu-open", "menu-close", "menu-item-click"],
|
|
2225
2226
|
setup(s, { emit: t }) {
|
|
2226
|
-
const n = s, { t: e } =
|
|
2227
|
+
const n = s, { t: e } = _e(), o = ge(ze, S(!1)), l = (m) => {
|
|
2227
2228
|
if ("text" in m && m.text !== void 0)
|
|
2228
2229
|
return m.text;
|
|
2229
2230
|
switch (m.variant) {
|
|
@@ -2258,7 +2259,10 @@ const yt = Go.exports, Vo = {
|
|
|
2258
2259
|
"b-data-grid-cell-actions__actions--with-row-actions": r.value,
|
|
2259
2260
|
"b-data-grid-cell-actions__actions--zebra": n.hasZebraBackground,
|
|
2260
2261
|
"b-data-grid-cell-actions__actions--highlighted": n.isHighlighted,
|
|
2261
|
-
"b-data-grid-cell-actions__actions--selected": n.isSelected
|
|
2262
|
+
"b-data-grid-cell-actions__actions--selected": n.isSelected,
|
|
2263
|
+
"b-data-grid-cell-actions__actions--zebra-hover": !r.value && n.hasZebraBackground,
|
|
2264
|
+
"b-data-grid-cell-actions__actions--highlighted-hover": !r.value && n.isHighlighted,
|
|
2265
|
+
"b-data-grid-cell-actions__actions--selected-hover": !r.value && n.isSelected
|
|
2262
2266
|
})), p = C(() => !r.value || r.value && n.hasRightOverflow);
|
|
2263
2267
|
function h(m) {
|
|
2264
2268
|
return typeof m == "function";
|
|
@@ -2308,22 +2312,22 @@ const yt = Go.exports, Vo = {
|
|
|
2308
2312
|
click: (O) => {
|
|
2309
2313
|
O.stopPropagation(), m.event(n.rowDataItem, n.columnKey);
|
|
2310
2314
|
}
|
|
2311
|
-
} : {},
|
|
2315
|
+
} : {}, w = (m) => ({
|
|
2312
2316
|
...m,
|
|
2313
2317
|
handler: () => {
|
|
2314
2318
|
m != null && m.handler && typeof m.handler == "function" && (m == null || m.handler()), m != null && m.event && typeof m.event == "function" && (m == null || m.event(n.rowDataItem, n.columnKey));
|
|
2315
2319
|
}
|
|
2316
2320
|
}), E = (m) => m.map((O) => {
|
|
2317
2321
|
const F = O;
|
|
2318
|
-
return F != null && F.items && (F.items = E(F.items)), { ...
|
|
2322
|
+
return F != null && F.items && (F.items = E(F.items)), { ...w(F) };
|
|
2319
2323
|
});
|
|
2320
|
-
return { __sfc: !0, t: e, props: n, emit: t, isTouchDevice: o, getMenuItemText: l, getMenuItemIcon: a, isRowActions: r, conditionalCellActionsBackgroundGradientClasses: d, conditionalCellActionsClasses: f, showGradientElement: p, isBentoColumnCellActionsByCellValueDataFn: h, computedCellActions: y, getButtonTitle: R, generateButtonEvents: u, generateMenuEvents:
|
|
2324
|
+
return { __sfc: !0, t: e, props: n, emit: t, isTouchDevice: o, getMenuItemText: l, getMenuItemIcon: a, isRowActions: r, conditionalCellActionsBackgroundGradientClasses: d, conditionalCellActionsClasses: f, showGradientElement: p, isBentoColumnCellActionsByCellValueDataFn: h, computedCellActions: y, getButtonTitle: R, generateButtonEvents: u, generateMenuEvents: w, transformMenuEvents: E, getCopyText: (m) => {
|
|
2321
2325
|
var O, F;
|
|
2322
2326
|
return (m == null ? void 0 : m.getCopyData) !== void 0 ? m.getCopyData(n.rowDataItem, n.columnKey) : n.columnKey ? (F = (O = n.rowDataItem) == null ? void 0 : O[n.columnKey]) == null ? void 0 : F.toString() : "";
|
|
2323
2327
|
}, shouldShowMenuIconLeft: (m) => m.iconLeft || (m == null ? void 0 : m.variant) === "more", BentoButton: Pt, BentoMenu: zt, Copy: ut, vBentoTooltipDirective: Dt, Edit1Icon: yt, ExternalLinkIcon: dt, OptionsVerticalIcon: ct };
|
|
2324
2328
|
}
|
|
2325
2329
|
});
|
|
2326
|
-
var
|
|
2330
|
+
var qo = function() {
|
|
2327
2331
|
var t = this, n = t._self._c, e = t._self._setupProxy;
|
|
2328
2332
|
return n("Transition", { attrs: { name: "b-data-grid-cell-actions__animation", appear: "" } }, [n("div", { staticClass: "b-data-grid-cell-actions" }, [e.showGradientElement && !e.isTouchDevice ? n("div", { staticClass: "b-data-grid-cell-actions__background-gradient", class: e.conditionalCellActionsBackgroundGradientClasses }) : t._e(), n("div", { staticClass: "b-data-grid-cell-actions__actions", class: e.conditionalCellActionsClasses, attrs: { role: "group" } }, t._l(e.computedCellActions, function(o, l) {
|
|
2329
2333
|
return n("div", { key: l, staticClass: "b-data-grid-cell-actions__action" }, [o.menuData ? n(e.BentoMenu, { directives: [{ name: "bento-tooltip-directive", rawName: "v-bento-tooltip-directive:[button.tooltipPosition]", value: o.tooltipText, expression: "button.tooltipText", arg: o.tooltipPosition }], attrs: { data: e.transformMenuEvents(o.menuData), button: {
|
|
@@ -2351,17 +2355,17 @@ var jo = function() {
|
|
|
2351
2355
|
return [(o == null ? void 0 : o.variant) === "open" ? n(e.ExternalLinkIcon, { attrs: { "svg-title": e.getButtonTitle(o, !0) } }) : n(o.iconRight, { tag: "component", attrs: { "svg-title": o.title } })];
|
|
2352
2356
|
}, proxy: !0 } : null], null, !0) }, e.generateButtonEvents(o)))], 1);
|
|
2353
2357
|
}), 0)])]);
|
|
2354
|
-
},
|
|
2355
|
-
Zo,
|
|
2358
|
+
}, Ko = [], Yo = /* @__PURE__ */ J(
|
|
2356
2359
|
jo,
|
|
2357
2360
|
qo,
|
|
2361
|
+
Ko,
|
|
2358
2362
|
!1,
|
|
2359
2363
|
null,
|
|
2360
|
-
"
|
|
2364
|
+
"2fdee11b"
|
|
2361
2365
|
);
|
|
2362
|
-
const Gt =
|
|
2366
|
+
const Gt = Yo.exports;
|
|
2363
2367
|
var Q = /* @__PURE__ */ ((s) => (s.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED = "action-col-nested-content-and-selection-enabled", s.ACTION_COL_NESTED_CONTENT_ENABLED = "action-col-nested-content-enabled", s.ACTION_COL_SELECTION_ENABLED = "action-col-selection-enabled", s.COLUMN_HOVERED = "column-hovered", s.COLUMN_HOVERED_NO_BORDER_LEFT = "column-hovered-no-border-left", s.COLUMN_HOVERED_NO_BORDER_RIGHT = "column-hovered-no-border-right", s.CONDENSED = "condensed", s.FROZEN = "frozen", s.IS_COLUMN_REORDERING = "is-column-re-ordering", s.IS_COLUMN_REORDERING_TARGET_LEFT = "is-column-re-order-target-left", s.IS_COLUMN_REORDERING_TARGET_RIGHT = "is-column-re-order-target-right", s.LAST_FROZEN_COLUMN_CELL = "last-frozen-column-cell", s.NESTED_CONTENT_ENABLED = "nested-content-toggle-enabled", s.NUMERIC = "numeric", s.OVERFLOW_ELLIPSIS = "overflow-ellipsis", s.PADDING_LEFT_UNSET = "padding-left-unset", s.PADDING_RIGHT_UNSET = "padding-right-unset", s.SLASHED_ZERO = "slashed-zero", s))(Q || {});
|
|
2364
|
-
const
|
|
2368
|
+
const Xo = {
|
|
2365
2369
|
"de-DE": {
|
|
2366
2370
|
collapseNestedContent: "Verschachtelte Inhalte ausblenden",
|
|
2367
2371
|
expandNestedContent: "Verschachtelten Inhalt anzeigen",
|
|
@@ -2412,11 +2416,11 @@ const Yo = {
|
|
|
2412
2416
|
expandNestedContent: "展开嵌套内容",
|
|
2413
2417
|
selectRow: "选择行"
|
|
2414
2418
|
}
|
|
2415
|
-
},
|
|
2416
|
-
i18n: { messages:
|
|
2419
|
+
}, Jo = {
|
|
2420
|
+
i18n: { messages: Xo },
|
|
2417
2421
|
name: "data-grid-cell"
|
|
2418
|
-
},
|
|
2419
|
-
...
|
|
2422
|
+
}, Qo = /* @__PURE__ */ re({
|
|
2423
|
+
...Jo,
|
|
2420
2424
|
props: {
|
|
2421
2425
|
draggingEventsForRowCell: {
|
|
2422
2426
|
type: Function,
|
|
@@ -2559,20 +2563,20 @@ const Yo = {
|
|
|
2559
2563
|
},
|
|
2560
2564
|
emits: ["on-frozen-columns-key-press", "select-row", "register-row-cell-element", "cell-hovered", "nested-content-toggled", "cell-focus"],
|
|
2561
2565
|
setup(s, { expose: t, emit: n }) {
|
|
2562
|
-
const e = s, o = He(), l = je(o), { t: a } =
|
|
2566
|
+
const e = s, o = He(), l = je(o), { t: a } = _e(), r = S(null), d = S(null), f = S(!1), {
|
|
2563
2567
|
shouldShowCellActions: p,
|
|
2564
2568
|
isFocused: h,
|
|
2565
2569
|
focusableItems: y,
|
|
2566
2570
|
childrenMenuContainerElements: R,
|
|
2567
2571
|
hasInteractiveElFocusedInside: u,
|
|
2568
|
-
onMenuClose:
|
|
2572
|
+
onMenuClose: w,
|
|
2569
2573
|
hideCellActionsIfLeft: E,
|
|
2570
2574
|
handleFocus: N,
|
|
2571
2575
|
handleFocusout: b,
|
|
2572
2576
|
handleKeydown: m,
|
|
2573
2577
|
handleCellActionsFocus: O,
|
|
2574
2578
|
handleCellActionsFocusout: F
|
|
2575
|
-
} =
|
|
2579
|
+
} = ko({ gridcellRef: r }), _ = C(() => {
|
|
2576
2580
|
var L;
|
|
2577
2581
|
return !!((L = e.rowData) != null && L[e.column.field]);
|
|
2578
2582
|
}), i = C(
|
|
@@ -2627,14 +2631,14 @@ const Yo = {
|
|
|
2627
2631
|
}, B = (L) => {
|
|
2628
2632
|
r.value.contains(L == null ? void 0 : L.relatedTarget) || (p.value = !1);
|
|
2629
2633
|
};
|
|
2630
|
-
De(
|
|
2634
|
+
De(ss, {
|
|
2631
2635
|
registerMenuContainerElement: W,
|
|
2632
2636
|
menuMouseLeave: B
|
|
2633
2637
|
});
|
|
2634
|
-
const ne = ge($t,
|
|
2638
|
+
const ne = ge($t, S(!1)), me = ge(
|
|
2635
2639
|
Ie,
|
|
2636
2640
|
C(() => !1)
|
|
2637
|
-
),
|
|
2641
|
+
), Ce = ge(ze, S(!1)), ve = (L) => {
|
|
2638
2642
|
var $, H, c, z, K, te, ie;
|
|
2639
2643
|
return {
|
|
2640
2644
|
[`b-data-grid-cell--${Q.COLUMN_HOVERED}`]: (L == null ? void 0 : L.field) === e.hoveredOverColumnState.hoveredOverColumnField,
|
|
@@ -2661,10 +2665,10 @@ const Yo = {
|
|
|
2661
2665
|
}));
|
|
2662
2666
|
return t({
|
|
2663
2667
|
gridcellRef: r
|
|
2664
|
-
}), { __sfc: !0, slots: o, hasSlot: l, t: a, props: e, emit: n, gridcellRef: r, cellActionsRef: d, hasEverBeenFocused: f, shouldShowCellActions: p, isFocused: h, focusableItems: y, childrenMenuContainerElements: R, hasInteractiveElFocusedInside: u, onMenuClose:
|
|
2668
|
+
}), { __sfc: !0, slots: o, hasSlot: l, t: a, props: e, emit: n, gridcellRef: r, cellActionsRef: d, hasEverBeenFocused: f, shouldShowCellActions: p, isFocused: h, focusableItems: y, childrenMenuContainerElements: R, hasInteractiveElFocusedInside: u, onMenuClose: w, hideCellActionsIfLeft: E, handleFocus: N, handleFocusout: b, handleKeydown: m, handleCellActionsFocus: O, handleCellActionsFocusout: F, hasRowData: _, controlledNestedRowElementIds: i, ariaHidden: g, tabIndex: A, conditionalTitleAttribute: I, getRowData: P, sumColumnAmountsInColumnSets: x, getColIndex: U, getCellIndex: q, getGridcellEvents: G, toggleNestedContent: V, registerMenuContainerElement: W, menuMouseLeave: B, hasSlashedZero: ne, isSmallContainer: me, isTouchDevice: Ce, conditionalRowCellClasses: ve, computedCellContentClasses: de, DATAGRID_ACTIONS_COLUMN_FIELD_NAME: oe, BentoCheckbox: xt, BentoTypography: Le, BentoToggleButton: Ke, DataGridCellActions: Gt, ChevronDownIcon: os, ChevronUpIcon: ls };
|
|
2665
2669
|
}
|
|
2666
2670
|
});
|
|
2667
|
-
var
|
|
2671
|
+
var el = function() {
|
|
2668
2672
|
var o;
|
|
2669
2673
|
var t = this, n = t._self._c, e = t._self._setupProxy;
|
|
2670
2674
|
return n("div", t._g({ key: `cell-${t.column.field}`, ref: "gridcellRef", staticClass: "b-data-grid-cell", class: e.conditionalRowCellClasses(t.column), style: {
|
|
@@ -2676,18 +2680,18 @@ var Qo = function() {
|
|
|
2676
2680
|
}, proxy: !0 }], null, !1, 1879847906) })] : t._e()] : [n(e.BentoTypography, { staticClass: "b-data-grid-cell__cell-content", class: e.computedCellContentClasses, attrs: { el: "div", "data-testid": "cell-content" } }, [t._t(`item-${t.column.field}`, function() {
|
|
2677
2681
|
return [n("span", { attrs: { title: e.conditionalTitleAttribute(t.column, t.rowData[t.column.field]) } }, [t._v(t._s(e.getRowData(t.rowData[t.column.field])))])];
|
|
2678
2682
|
}, { item: t.rowData, rowIndex: t.rowIndex })], 2), ((o = t.column.cellActions) == null ? void 0 : o.length) > 0 ? n("div", { staticClass: "b-data-grid-cell__cell-actions" }, [(e.shouldShowCellActions || e.isTouchDevice) && (e.hasRowData || e.hasSlot(`item-${t.column.field}`)) ? n(e.DataGridCellActions, { ref: "cellActionsRef", attrs: { "cell-actions": t.column.cellActions, "column-key": t.column.field, "row-data-item": t.rowData, "has-zebra-background": t.hasZebraBackground, "is-highlighted": t.isHighlighted, "is-selected": t.isSelected, "teleport-menu": "" }, on: { "menu-item-click": e.onMenuClose } }) : t._e()], 1) : t._e()]], 2);
|
|
2679
|
-
},
|
|
2680
|
-
Jo,
|
|
2683
|
+
}, tl = [], nl = /* @__PURE__ */ J(
|
|
2681
2684
|
Qo,
|
|
2682
2685
|
el,
|
|
2686
|
+
tl,
|
|
2683
2687
|
!1,
|
|
2684
2688
|
null,
|
|
2685
2689
|
"ba645d13"
|
|
2686
2690
|
);
|
|
2687
|
-
const
|
|
2691
|
+
const sl = nl.exports, ol = {
|
|
2688
2692
|
name: "data-grid-row"
|
|
2689
|
-
},
|
|
2690
|
-
...
|
|
2693
|
+
}, ll = /* @__PURE__ */ re({
|
|
2694
|
+
...ol,
|
|
2691
2695
|
props: {
|
|
2692
2696
|
/**
|
|
2693
2697
|
* Row actions property that generates which button to show in row actions area
|
|
@@ -2895,13 +2899,13 @@ const nl = tl.exports, sl = {
|
|
|
2895
2899
|
},
|
|
2896
2900
|
emits: ["cell-hovered", "on-frozen-columns-key-press", "select-row", "select-nested-row", "row-click", "nested-content-toggled", "cell-focus"],
|
|
2897
2901
|
setup(s, { expose: t, emit: n }) {
|
|
2898
|
-
const e = s, o = He(), l = je(o), a = (v, T) => !v || !T ? !1 : !!(T.compareDocumentPosition(v) & Node.DOCUMENT_POSITION_FOLLOWING), r =
|
|
2902
|
+
const e = s, o = He(), l = je(o), a = (v, T) => !v || !T ? !1 : !!(T.compareDocumentPosition(v) & Node.DOCUMENT_POSITION_FOLLOWING), r = S({}), d = S(!1), f = S(), p = S(), h = S([]), y = Me("nested-content-slot"), R = S(!1), u = S(!1), w = S(), E = () => {
|
|
2899
2903
|
const v = p.value;
|
|
2900
2904
|
return Array.isArray(v) ? v[0] : v;
|
|
2901
2905
|
};
|
|
2902
2906
|
Oe(() => {
|
|
2903
2907
|
const v = E();
|
|
2904
|
-
v && (
|
|
2908
|
+
v && (w.value = ce(v));
|
|
2905
2909
|
});
|
|
2906
2910
|
const N = C(() => e.shouldShowNestedRows(e.rowData)), b = C(
|
|
2907
2911
|
() => {
|
|
@@ -3009,22 +3013,22 @@ const nl = tl.exports, sl = {
|
|
|
3009
3013
|
return;
|
|
3010
3014
|
}
|
|
3011
3015
|
const T = E();
|
|
3012
|
-
if (!T || !((he =
|
|
3016
|
+
if (!T || !((he = w.value) != null && he.length))
|
|
3013
3017
|
return;
|
|
3014
|
-
const Z = a(v.relatedTarget, T), k =
|
|
3018
|
+
const Z = a(v.relatedTarget, T), k = w.value.length - 1, ae = Z ? w.value[k] : w.value[0];
|
|
3015
3019
|
Pe([ae]), xe(T, { last: Z });
|
|
3016
|
-
},
|
|
3020
|
+
}, Ce = () => {
|
|
3017
3021
|
const v = E();
|
|
3018
3022
|
v && ce(v);
|
|
3019
|
-
},
|
|
3023
|
+
}, ve = (v) => {
|
|
3020
3024
|
var Z, k;
|
|
3021
3025
|
const T = E();
|
|
3022
3026
|
if (v.key === j.ESCAPE) {
|
|
3023
3027
|
T && ce(T), u.value = !0, T == null || T.focus(), v.stopPropagation(), v.preventDefault();
|
|
3024
3028
|
return;
|
|
3025
3029
|
}
|
|
3026
|
-
v.key !== j.TAB && T && ce(T), v.key === j.ARROW_RIGHT && ((Z =
|
|
3027
|
-
}, de = () => e.columnSets.reduce((v, { columnSet: T }) => v + T.length, 0), L = () => de() * e.rowIndex + de(), { updateContentHeight: $, contentHeight: H } =
|
|
3030
|
+
v.key !== j.TAB && T && ce(T), v.key === j.ARROW_RIGHT && ((Z = w.value) == null ? void 0 : Z.length) > 1 && w.value[0].node === document.activeElement ? (T && ce(T), w.value[1].node.setAttribute("tabindex", "0"), w.value[1].node.focus(), v.stopPropagation(), v.preventDefault()) : v.key === j.ARROW_LEFT && ((k = w.value) == null ? void 0 : k.length) > 1 && w.value[1].node === document.activeElement && (T && ce(T), w.value[0].node.setAttribute("tabindex", "0"), w.value[0].node.focus(), v.stopPropagation(), v.preventDefault());
|
|
3031
|
+
}, de = () => e.columnSets.reduce((v, { columnSet: T }) => v + T.length, 0), L = () => de() * e.rowIndex + de(), { updateContentHeight: $, contentHeight: H } = as(f, d), c = C(() => {
|
|
3028
3032
|
var v;
|
|
3029
3033
|
if (e.hasNestedContent || e.hasNestedRows)
|
|
3030
3034
|
return {
|
|
@@ -3085,10 +3089,10 @@ const nl = tl.exports, sl = {
|
|
|
3085
3089
|
isNestedContentShown: d,
|
|
3086
3090
|
nestedRowRefs: h,
|
|
3087
3091
|
rowActionsRef: p
|
|
3088
|
-
}), { __sfc: !0, slots: o, hasSlot: l, props: e, emit: n, isRelatedTargetAfterInDOM: a, gridcellRefs: r, isNestedContentShown: d, nestedContentRef: f, rowActionsRef: p, nestedRowRefs: h, nestedContentSlotId: y, isRowActionMenuOpen: R, isExitingRowActionInteraction: u, focusableItems:
|
|
3092
|
+
}), { __sfc: !0, slots: o, hasSlot: l, props: e, emit: n, isRelatedTargetAfterInDOM: a, gridcellRefs: r, isNestedContentShown: d, nestedContentRef: f, rowActionsRef: p, nestedRowRefs: h, nestedContentSlotId: y, isRowActionMenuOpen: R, isExitingRowActionInteraction: u, focusableItems: w, getRowActionsElement: E, shouldShowNestedRowsBooleanResult: N, shouldShowRenderNestedRows: b, isLoadingNestedRows: m, shouldShowNestedContentToggle: O, ariaRowAttributes: F, nestedContentContainerDivAriaAttributes: _, nestedRowIds: i, allNestedRowIds: g, hasUnSelectedNestedRows: A, registerRowCellRef: I, registerNestedRowRef: P, getRowId: x, getRowAriaSelectedValue: U, emitRowClick: q, onRowClick: G, onRowSelect: V, onNestedRowSelect: W, onRowActionMenuOpen: B, onRowActionMenuClose: ne, onRowActionsCellFocus: me, onRowActionsCellFocusOut: Ce, onRowActionsCellOnKeyDown: ve, sumColumnAmountsInColumnSets: de, getRowActionsCellIndex: L, updateContentHeight: $, contentHeight: H, nestedContentStyles: c, nestedContentToggled: z, isSmallContainer: K, isHighlightedRow: te, isSelectedRow: ie, conditionalRowClasses: Te, conditionalRowSetClasses: be, conditionalNestedRowClasses: we, conditionalRowActionsContainerClasses: Se, computedRowActionsStyles: Re, BentoLoadingIndicator: Ze, DataGridRow: Vt, DataGridCell: sl, DataGridCellActions: Gt };
|
|
3089
3093
|
}
|
|
3090
3094
|
});
|
|
3091
|
-
var
|
|
3095
|
+
var al = function() {
|
|
3092
3096
|
var o;
|
|
3093
3097
|
var t = this, n = t._self._c, e = t._self._setupProxy;
|
|
3094
3098
|
return n("div", { staticClass: "b-data-grid-row-container", attrs: { role: "presentation" } }, [n("div", t._b({ key: t.rowIndex, staticClass: "b-data-grid-row-container__row", class: e.conditionalRowClasses(t.rowData, t.rowIndex), attrs: { id: (o = t.rowId) == null ? void 0 : o.toString(), role: "row", "aria-selected": e.getRowAriaSelectedValue(t.rowData) }, on: { click: e.onRowClick, keyup: [function(l) {
|
|
@@ -3108,7 +3112,7 @@ var ll = function() {
|
|
|
3108
3112
|
return [t._t(y, null, null, R)];
|
|
3109
3113
|
} };
|
|
3110
3114
|
})], null, !0) });
|
|
3111
|
-
}), 1) : t._e(), !r && t.rowActions ? n("div", { key: `data-grid-row-actions-${a}`, ref: "rowActionsRef", refInFor: !0, staticClass: "b-data-grid-row-container__row-actions-container", class: e.conditionalRowActionsContainerClasses, style: e.computedRowActionsStyles, attrs: { "aria-colindex": e.sumColumnAmountsInColumnSets().toString(), "data-cellindex": e.getRowActionsCellIndex(), tabindex: "-1", role: "gridcell" }, on: { focus: e.onRowActionsCellFocus, focusOut: e.onRowActionsCellFocusOut, keydown: e.onRowActionsCellOnKeyDown } }, [n(e.DataGridCellActions, { staticClass: "b-data-grid-row-container__row-actions", attrs: { "disable-arrow-down-opening-menu": "", "cell-actions": t.rowActions, "has-right-overflow": t.hasRightOverflow, "row-data-item": t.rowData, "teleport-menu": "" }, on: { "menu-open": e.onRowActionMenuOpen, "menu-close": e.onRowActionMenuClose } })], 1) : t._e()];
|
|
3115
|
+
}), 1) : t._e(), !r && t.rowActions ? n("div", { key: `data-grid-row-actions-${a}`, ref: "rowActionsRef", refInFor: !0, staticClass: "b-data-grid-row-container__row-actions-container", class: e.conditionalRowActionsContainerClasses, style: e.computedRowActionsStyles, attrs: { "aria-colindex": e.sumColumnAmountsInColumnSets().toString(), "data-cellindex": e.getRowActionsCellIndex(), tabindex: "-1", role: "gridcell" }, on: { focus: e.onRowActionsCellFocus, focusOut: e.onRowActionsCellFocusOut, keydown: e.onRowActionsCellOnKeyDown } }, [n(e.DataGridCellActions, { staticClass: "b-data-grid-row-container__row-actions", attrs: { "disable-arrow-down-opening-menu": "", "cell-actions": t.rowActions, "has-right-overflow": t.hasRightOverflow, "row-data-item": t.rowData, "has-zebra-background": t.isRowEven, "is-highlighted": e.isHighlightedRow(t.rowData), "is-selected": e.isSelectedRow(t.rowData), "teleport-menu": "" }, on: { "menu-open": e.onRowActionMenuOpen, "menu-close": e.onRowActionMenuClose } })], 1) : t._e()];
|
|
3112
3116
|
})], 2), t.hasNestedContent && e.hasSlot("nested-slot") && t.shouldShowNestedContent(t.rowData) || t.hasNestedRows && e.shouldShowNestedRowsBooleanResult ? n("Transition", { key: `${t.rowIndex}-nest-content`, attrs: { name: "b-data-grid-row-container__animation--nested-content" } }, [e.isNestedContentShown && e.shouldShowRenderNestedRows ? n("div", { class: e.conditionalNestedRowClasses, style: e.nestedContentStyles, attrs: { "data-testid": "nested-content-container", role: "presentation" } }, [n("div", { ref: "nestedContentRef" }, [e.isLoadingNestedRows ? n("div", { staticClass: "b-data-grid-row-container__row-nested-rows-loading-container" }, [n(e.BentoLoadingIndicator)], 1) : t._e(), t._l(t.rowData.children, function(l, a) {
|
|
3113
3117
|
return n(e.DataGridRow, t._b({ key: `child-${a}`, ref: (r) => e.registerNestedRowRef(r, a), refInFor: !0, attrs: { id: e.getRowId(a), "row-data": l, "row-index": a, "row-set-size": t.rowData.children.length, "is-nested-row": "" }, on: { "cell-hovered": function(r) {
|
|
3114
3118
|
return e.emit("cell-hovered", r);
|
|
@@ -3124,34 +3128,34 @@ var ll = function() {
|
|
|
3124
3128
|
} };
|
|
3125
3129
|
})], null, !0) }, "data-grid-row", e.props, !1));
|
|
3126
3130
|
})], 2)]) : e.isNestedContentShown ? n("div", t._b({ class: e.conditionalNestedRowClasses, style: e.nestedContentStyles, attrs: { "data-testid": "nested-content-container", role: "row", tabindex: "-1" } }, "div", e.nestedContentContainerDivAriaAttributes, !1), [n("div", { ref: "nestedContentRef", attrs: { role: "gridcell" } }, [e.isLoadingNestedRows ? n("div", { staticClass: "b-data-grid-row-container__row-nested-rows-loading-container" }, [n(e.BentoLoadingIndicator)], 1) : e.hasSlot("nested-slot") && t.shouldShowNestedContent(t.rowData) ? n("div", [t._t("nested-slot", null, { item: t.rowData })], 2) : t._e()])]) : t._e()]) : t._e()], 1);
|
|
3127
|
-
},
|
|
3128
|
-
ol,
|
|
3131
|
+
}, il = [], rl = /* @__PURE__ */ J(
|
|
3129
3132
|
ll,
|
|
3130
3133
|
al,
|
|
3134
|
+
il,
|
|
3131
3135
|
!1,
|
|
3132
3136
|
null,
|
|
3133
|
-
"
|
|
3137
|
+
"124be27f"
|
|
3134
3138
|
);
|
|
3135
|
-
const Vt =
|
|
3139
|
+
const Vt = rl.exports;
|
|
3136
3140
|
let Lt = 0;
|
|
3137
|
-
const
|
|
3141
|
+
const cl = {
|
|
3138
3142
|
beforeCreate() {
|
|
3139
3143
|
this.uuid = Lt.toString(), Lt += 1;
|
|
3140
3144
|
}
|
|
3141
3145
|
};
|
|
3142
|
-
var
|
|
3146
|
+
var dl = function() {
|
|
3143
3147
|
var t = this, n = t._self._c;
|
|
3144
3148
|
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { "clip-path": "url(#uia-ui-assets/icons-16-warning_circle_fill__a" + t.uuid + ")" } }, [n("path", { attrs: { fill: "#001222", d: "M8 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 8C0.25 3.71979 3.71979 0.25 8 0.25ZM8 9.75C7.44772 9.75 7 10.1977 7 10.75C7 11.3023 7.44772 11.75 8 11.75C8.55228 11.75 9 11.3023 9 10.75C9 10.1977 8.55228 9.75 8 9.75ZM7.25 4.25V8.75H8.75V4.25H7.25Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-ui-assets/icons-16-warning_circle_fill__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
|
|
3145
|
-
},
|
|
3146
|
-
rl,
|
|
3149
|
+
}, ul = [], fl = /* @__PURE__ */ J(
|
|
3147
3150
|
cl,
|
|
3148
3151
|
dl,
|
|
3152
|
+
ul,
|
|
3149
3153
|
!1,
|
|
3150
3154
|
null,
|
|
3151
3155
|
null
|
|
3152
3156
|
);
|
|
3153
|
-
const
|
|
3154
|
-
...
|
|
3157
|
+
const gl = fl.exports, ml = {}, _l = /* @__PURE__ */ re({
|
|
3158
|
+
...ml,
|
|
3155
3159
|
__name: "data-grid-static-icon",
|
|
3156
3160
|
props: {
|
|
3157
3161
|
colored: { type: Boolean, default: !1 },
|
|
@@ -3166,7 +3170,7 @@ const fl = ul.exports, gl = {}, ml = /* @__PURE__ */ re({
|
|
|
3166
3170
|
case "warning":
|
|
3167
3171
|
return kn;
|
|
3168
3172
|
case "error":
|
|
3169
|
-
return
|
|
3173
|
+
return gl;
|
|
3170
3174
|
case "cross":
|
|
3171
3175
|
return Nt;
|
|
3172
3176
|
case "no-value":
|
|
@@ -3180,18 +3184,18 @@ const fl = ul.exports, gl = {}, ml = /* @__PURE__ */ re({
|
|
|
3180
3184
|
return { __sfc: !0, props: t, computedIcon: n, conditionalClasses: e, computedIconClass: o, tooltipPosition: l, vBentoTooltipDirective: Dt };
|
|
3181
3185
|
}
|
|
3182
3186
|
});
|
|
3183
|
-
var
|
|
3187
|
+
var Cl = function() {
|
|
3184
3188
|
var t = this, n = t._self._c, e = t._self._setupProxy;
|
|
3185
3189
|
return n("div", { directives: [{ name: "bento-tooltip-directive", rawName: "v-bento-tooltip-directive:[tooltipPosition]", value: t.tooltipText, expression: "tooltipText", arg: e.tooltipPosition }], staticClass: "b-data-grid-static-icon", class: e.conditionalClasses, attrs: { "aria-label": t.tooltipText, tabindex: "0" } }, [n(e.computedIcon, { tag: "component", class: e.computedIconClass, attrs: { "svg-title": t.tooltipText } })], 1);
|
|
3186
|
-
},
|
|
3187
|
-
ml,
|
|
3190
|
+
}, vl = [], hl = /* @__PURE__ */ J(
|
|
3188
3191
|
_l,
|
|
3189
3192
|
Cl,
|
|
3193
|
+
vl,
|
|
3190
3194
|
!1,
|
|
3191
3195
|
null,
|
|
3192
3196
|
"dbc055cb"
|
|
3193
3197
|
);
|
|
3194
|
-
const
|
|
3198
|
+
const Ha = hl.exports, pl = {
|
|
3195
3199
|
"de-DE": {
|
|
3196
3200
|
numberResults: "1 Ergebnis | {count} Ergebnisse"
|
|
3197
3201
|
},
|
|
@@ -3222,10 +3226,10 @@ const Ga = vl.exports, hl = {
|
|
|
3222
3226
|
"zh-CN": {
|
|
3223
3227
|
numberResults: "1 个结果 | {count} 个结果"
|
|
3224
3228
|
}
|
|
3225
|
-
},
|
|
3226
|
-
i18n: { messages:
|
|
3227
|
-
},
|
|
3228
|
-
...
|
|
3229
|
+
}, bl = {
|
|
3230
|
+
i18n: { messages: pl }
|
|
3231
|
+
}, wl = /* @__PURE__ */ re({
|
|
3232
|
+
...bl,
|
|
3229
3233
|
__name: "data-grid-summary-cell",
|
|
3230
3234
|
props: {
|
|
3231
3235
|
label: null,
|
|
@@ -3235,7 +3239,7 @@ const Ga = vl.exports, hl = {
|
|
|
3235
3239
|
tooltipText: { default: null }
|
|
3236
3240
|
},
|
|
3237
3241
|
setup(s) {
|
|
3238
|
-
const t = s, { tc: n } =
|
|
3242
|
+
const t = s, { tc: n } = _e(), e = S(), o = C(() => ({
|
|
3239
3243
|
popoverPosition: "right",
|
|
3240
3244
|
// Setting popover defaults, but they are overriden if used passes dashedUnderline prop
|
|
3241
3245
|
popoverTitle: t.label,
|
|
@@ -3254,23 +3258,23 @@ const Ga = vl.exports, hl = {
|
|
|
3254
3258
|
return { __sfc: !0, tc: n, props: t, dashedUnderlineRef: e, dashedUnderlineProps: o, lowerCaseSearchTerm: l, highlightedComponent: a, highlightedItemsCount: r, computedToolTipText: d, BentoDashedUnderline: Vn, BentoTypography: Le, Tooltip: Gn, BentoTooltipPosition: Wn };
|
|
3255
3259
|
}
|
|
3256
3260
|
});
|
|
3257
|
-
var
|
|
3261
|
+
var Sl = function() {
|
|
3258
3262
|
var t = this, n = t._self._c, e = t._self._setupProxy;
|
|
3259
3263
|
return n("div", { staticClass: "b-data-grid-summary-cell" }, [t.items.length > 1 ? n(e.BentoDashedUnderline, t._b({ ref: "dashedUnderlineRef", scopedSlots: t._u([{ key: "popover-content", fn: function() {
|
|
3260
3264
|
return [n(e.BentoTypography, { staticClass: "b-data-grid-summary-cell__popover-content" }, [n("ul", { staticClass: "b-data-grid-summary-cell__list" }, t._l(t.items, function(o) {
|
|
3261
3265
|
return n("li", { key: o }, [n(e.highlightedComponent(o), { tag: "component" }, [t._v(t._s(o))])], 1);
|
|
3262
3266
|
}), 0)])];
|
|
3263
3267
|
}, proxy: !0 }], null, !1, 4023850623) }, "bento-dashed-underline", e.dashedUnderlineProps, !1), [t._v(" " + t._s(t.label) + " ")]) : [t._v(t._s(t.items[0]))], e.dashedUnderlineRef && e.computedToolTipText ? n(e.Tooltip, { attrs: { content: e.computedToolTipText, "disabled-focus-trap": !0, position: e.BentoTooltipPosition.RIGHT, "fallback-position": ["left", "bottom"], "is-shown": !!e.computedToolTipText, "target-element": e.dashedUnderlineRef } }) : t._e()], 2);
|
|
3264
|
-
},
|
|
3265
|
-
bl,
|
|
3268
|
+
}, Rl = [], Al = /* @__PURE__ */ J(
|
|
3266
3269
|
wl,
|
|
3267
3270
|
Sl,
|
|
3271
|
+
Rl,
|
|
3268
3272
|
!1,
|
|
3269
3273
|
null,
|
|
3270
3274
|
"2cf5d218"
|
|
3271
3275
|
);
|
|
3272
|
-
const
|
|
3273
|
-
...
|
|
3276
|
+
const Za = Al.exports, El = {}, yl = /* @__PURE__ */ re({
|
|
3277
|
+
...El,
|
|
3274
3278
|
__name: "data-grid-tag-with-text-cell",
|
|
3275
3279
|
props: {
|
|
3276
3280
|
tag: null,
|
|
@@ -3280,54 +3284,54 @@ const Va = Rl.exports, Al = {}, El = /* @__PURE__ */ re({
|
|
|
3280
3284
|
return { __sfc: !0, props: s, BentoTag: Hn, BentoTypography: Le };
|
|
3281
3285
|
}
|
|
3282
3286
|
});
|
|
3283
|
-
var
|
|
3287
|
+
var Ll = function() {
|
|
3284
3288
|
var t = this, n = t._self._c, e = t._self._setupProxy;
|
|
3285
3289
|
return n("div", { staticClass: "b-data-grid-tag-with-text-cell" }, [n(e.BentoTag, t._b({}, "bento-tag", e.props.tag, !1)), n(e.BentoTypography, { attrs: { el: "span" } }, [t._v(t._s(t.value))])], 1);
|
|
3286
|
-
},
|
|
3287
|
-
El,
|
|
3290
|
+
}, Tl = [], Ol = /* @__PURE__ */ J(
|
|
3288
3291
|
yl,
|
|
3289
3292
|
Ll,
|
|
3293
|
+
Tl,
|
|
3290
3294
|
!1,
|
|
3291
3295
|
null,
|
|
3292
3296
|
"ed0cc252"
|
|
3293
3297
|
);
|
|
3294
|
-
const
|
|
3298
|
+
const ja = Ol.exports;
|
|
3295
3299
|
let Tt = 0;
|
|
3296
|
-
const
|
|
3300
|
+
const Il = {
|
|
3297
3301
|
beforeCreate() {
|
|
3298
3302
|
this.uuid = Tt.toString(), Tt += 1;
|
|
3299
3303
|
}
|
|
3300
3304
|
};
|
|
3301
|
-
var
|
|
3305
|
+
var Nl = function() {
|
|
3302
3306
|
var t = this, n = t._self._c;
|
|
3303
3307
|
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("path", { attrs: { fill: "#001222", d: "M12.0605 7L11 8.06055L8.75 5.81055V12.75H7.25V5.81055L5 8.06055L3.93945 7L8 2.93945L12.0605 7Z" } })]);
|
|
3304
|
-
},
|
|
3305
|
-
Ol,
|
|
3308
|
+
}, Dl = [], Fl = /* @__PURE__ */ J(
|
|
3306
3309
|
Il,
|
|
3307
3310
|
Nl,
|
|
3311
|
+
Dl,
|
|
3308
3312
|
!1,
|
|
3309
3313
|
null,
|
|
3310
3314
|
null
|
|
3311
3315
|
);
|
|
3312
|
-
const
|
|
3316
|
+
const Ml = Fl.exports;
|
|
3313
3317
|
let Ot = 0;
|
|
3314
|
-
const
|
|
3318
|
+
const xl = {
|
|
3315
3319
|
beforeCreate() {
|
|
3316
3320
|
this.uuid = Ot.toString(), Ot += 1;
|
|
3317
3321
|
}
|
|
3318
3322
|
};
|
|
3319
|
-
var
|
|
3323
|
+
var Pl = function() {
|
|
3320
3324
|
var t = this, n = t._self._c;
|
|
3321
3325
|
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("path", { attrs: { fill: "#001222", d: "M8.75 10.1895L11 7.93945L12.0605 9L8 13.0605L3.93945 9L5 7.93945L7.25 10.1895V3.25H8.75V10.1895Z" } })]);
|
|
3322
|
-
},
|
|
3323
|
-
Ml,
|
|
3326
|
+
}, zl = [], Bl = /* @__PURE__ */ J(
|
|
3324
3327
|
xl,
|
|
3325
3328
|
Pl,
|
|
3329
|
+
zl,
|
|
3326
3330
|
!1,
|
|
3327
3331
|
null,
|
|
3328
3332
|
null
|
|
3329
3333
|
);
|
|
3330
|
-
const
|
|
3334
|
+
const Ul = Bl.exports, kl = {
|
|
3331
3335
|
"de-DE": {
|
|
3332
3336
|
decrease: "verringern",
|
|
3333
3337
|
increase: "erhöhen"
|
|
@@ -3368,10 +3372,10 @@ const Bl = zl.exports, Ul = {
|
|
|
3368
3372
|
decrease: "减少",
|
|
3369
3373
|
increase: "增加"
|
|
3370
3374
|
}
|
|
3371
|
-
},
|
|
3372
|
-
i18n: { messages:
|
|
3373
|
-
},
|
|
3374
|
-
|
|
3375
|
+
}, $l = {
|
|
3376
|
+
i18n: { messages: kl }
|
|
3377
|
+
}, Wl = /* @__PURE__ */ re({
|
|
3378
|
+
...$l,
|
|
3375
3379
|
__name: "data-grid-trend-cell",
|
|
3376
3380
|
props: {
|
|
3377
3381
|
direction: { default: "none" },
|
|
@@ -3379,7 +3383,7 @@ const Bl = zl.exports, Ul = {
|
|
|
3379
3383
|
value: null
|
|
3380
3384
|
},
|
|
3381
3385
|
setup(s) {
|
|
3382
|
-
const t = s, { t: n, locale: e } =
|
|
3386
|
+
const t = s, { t: n, locale: e } = _e(), o = C(() => ({
|
|
3383
3387
|
[`b-data-grid-trend-cell--${t.variant}`]: t.variant !== "black"
|
|
3384
3388
|
})), l = C(() => {
|
|
3385
3389
|
switch (t.direction) {
|
|
@@ -3393,9 +3397,9 @@ const Bl = zl.exports, Ul = {
|
|
|
3393
3397
|
}), a = C(() => {
|
|
3394
3398
|
switch (t.direction) {
|
|
3395
3399
|
case "up":
|
|
3396
|
-
return
|
|
3400
|
+
return Ml;
|
|
3397
3401
|
case "down":
|
|
3398
|
-
return
|
|
3402
|
+
return Ul;
|
|
3399
3403
|
default:
|
|
3400
3404
|
return null;
|
|
3401
3405
|
}
|
|
@@ -3412,20 +3416,20 @@ const Bl = zl.exports, Ul = {
|
|
|
3412
3416
|
return { __sfc: !0, t: n, locale: e, props: t, conditionalClasses: o, computedIconTitle: l, computedIcon: a, computedValue: r, BentoTypography: Le };
|
|
3413
3417
|
}
|
|
3414
3418
|
});
|
|
3415
|
-
var
|
|
3419
|
+
var Gl = function() {
|
|
3416
3420
|
var t = this, n = t._self._c, e = t._self._setupProxy;
|
|
3417
3421
|
return n("div", { staticClass: "b-data-grid-trend-cell", class: e.conditionalClasses }, [e.computedIcon ? n(e.computedIcon, { tag: "component", attrs: { "svg-title": e.computedIconTitle } }) : t._e(), n(e.BentoTypography, { attrs: { el: "span" } }, [t._v(t._s(e.computedValue))])], 1);
|
|
3418
|
-
},
|
|
3419
|
-
$l,
|
|
3422
|
+
}, Vl = [], Hl = /* @__PURE__ */ J(
|
|
3420
3423
|
Wl,
|
|
3421
3424
|
Gl,
|
|
3425
|
+
Vl,
|
|
3422
3426
|
!1,
|
|
3423
3427
|
null,
|
|
3424
3428
|
"05cdd7d9"
|
|
3425
3429
|
);
|
|
3426
|
-
const
|
|
3427
|
-
const e =
|
|
3428
|
-
var u,
|
|
3430
|
+
const qa = Hl.exports, Zl = (s, t, n) => {
|
|
3431
|
+
const e = S([]), o = (d, f) => {
|
|
3432
|
+
var u, w, E, N;
|
|
3429
3433
|
if (!(d != null && d.gridcellRefs))
|
|
3430
3434
|
return { count: 0, entries: [], maxWidth: 0 };
|
|
3431
3435
|
const p = [];
|
|
@@ -3437,7 +3441,7 @@ const Za = Vl.exports, Hl = (s, t, n) => {
|
|
|
3437
3441
|
field: Ye,
|
|
3438
3442
|
index: f,
|
|
3439
3443
|
el: (u = d.rowActionsRef) == null ? void 0 : u[0]
|
|
3440
|
-
}), h = Math.max(h, ((E = (
|
|
3444
|
+
}), h = Math.max(h, ((E = (w = d.rowActionsRef) == null ? void 0 : w[0]) == null ? void 0 : E.offsetWidth) ?? 0));
|
|
3441
3445
|
let R = 1;
|
|
3442
3446
|
if (d.isNestedContentShown && ((N = d.nestedRowRefs) == null ? void 0 : N.length) > 0)
|
|
3443
3447
|
for (let b = 0; b < d.nestedRowRefs.length; b++) {
|
|
@@ -3460,8 +3464,8 @@ const Za = Vl.exports, Hl = (s, t, n) => {
|
|
|
3460
3464
|
const y = e.value[h];
|
|
3461
3465
|
if (y) {
|
|
3462
3466
|
const R = o(y, p);
|
|
3463
|
-
R.entries.forEach(({ field: u, index:
|
|
3464
|
-
d[u] === void 0 && (d[u] = []), d[u][
|
|
3467
|
+
R.entries.forEach(({ field: u, index: w, el: E }) => {
|
|
3468
|
+
d[u] === void 0 && (d[u] = []), d[u][w] = E;
|
|
3465
3469
|
}), f = Math.max(f, R.maxWidth), p += R.count;
|
|
3466
3470
|
}
|
|
3467
3471
|
}
|
|
@@ -3472,11 +3476,11 @@ const Za = Vl.exports, Hl = (s, t, n) => {
|
|
|
3472
3476
|
registerRowCellRefs: a,
|
|
3473
3477
|
rebuildGridcellRefs: r
|
|
3474
3478
|
};
|
|
3475
|
-
},
|
|
3479
|
+
}, jl = {
|
|
3476
3480
|
i18n: { messages: Wt },
|
|
3477
3481
|
name: "bento-data-grid"
|
|
3478
|
-
},
|
|
3479
|
-
...
|
|
3482
|
+
}, ql = /* @__PURE__ */ re({
|
|
3483
|
+
...jl,
|
|
3480
3484
|
props: {
|
|
3481
3485
|
/**
|
|
3482
3486
|
* When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
|
|
@@ -3813,7 +3817,7 @@ const Za = Vl.exports, Hl = (s, t, n) => {
|
|
|
3813
3817
|
D.CELL_FOCUS
|
|
3814
3818
|
],
|
|
3815
3819
|
setup(s, { expose: t, emit: n }) {
|
|
3816
|
-
const e = s, o = He(), l = je(o), a =
|
|
3820
|
+
const e = s, o = He(), l = je(o), a = S(null), r = S(), d = S({}), f = S(Me("data-grid")), p = S(null), h = S(null), y = S(null), R = S(null), u = S(null), w = S(null), {
|
|
3817
3821
|
allowColumnDragAndDrop: E,
|
|
3818
3822
|
columns: N,
|
|
3819
3823
|
columnPanel: b,
|
|
@@ -3829,20 +3833,18 @@ const Za = Vl.exports, Hl = (s, t, n) => {
|
|
|
3829
3833
|
outline: x,
|
|
3830
3834
|
pagination: U,
|
|
3831
3835
|
zebraRows: q
|
|
3832
|
-
} = Ve(e), G =
|
|
3833
|
-
De(Ie,
|
|
3834
|
-
const
|
|
3835
|
-
|
|
3836
|
-
typeof window < "u" && (_e.value = "ontouchstart" in window || (navigator == null ? void 0 : navigator.maxTouchPoints) > 0);
|
|
3837
|
-
}), De(ze, _e);
|
|
3836
|
+
} = Ve(e), G = S(-1), { t: V } = _e(), W = C(() => K.value.filter((M) => M.frozen).length), B = 550, ne = S(), { width: me } = Qn(ne), Ce = C(() => me.value <= B);
|
|
3837
|
+
De(Ie, Ce);
|
|
3838
|
+
const { isTouchDevice: ve } = qn();
|
|
3839
|
+
De(ze, ve);
|
|
3838
3840
|
const de = ge(
|
|
3839
|
-
|
|
3841
|
+
Jn,
|
|
3840
3842
|
() => ({
|
|
3841
|
-
additionalContentSlotRef:
|
|
3843
|
+
additionalContentSlotRef: S(null),
|
|
3842
3844
|
isDataGridTemplate: !1,
|
|
3843
|
-
stickyAditionalContent:
|
|
3844
|
-
stickyTabs:
|
|
3845
|
-
tabsRef:
|
|
3845
|
+
stickyAditionalContent: S(!1),
|
|
3846
|
+
stickyTabs: S(!1),
|
|
3847
|
+
tabsRef: S(null)
|
|
3846
3848
|
})
|
|
3847
3849
|
), { additionalContentSlotRef: L, isDataGridTemplate: $, stickyTabs: H, tabsRef: c, stickyAdditionalContent: z } = de(), {
|
|
3848
3850
|
columnDefs: K,
|
|
@@ -3853,7 +3855,7 @@ const Za = Vl.exports, Hl = (s, t, n) => {
|
|
|
3853
3855
|
columns: we,
|
|
3854
3856
|
totalWidthOfAllColumns: Se,
|
|
3855
3857
|
rowActionsMaxWidth: Re
|
|
3856
|
-
} =
|
|
3858
|
+
} = Ts(N, m, a, d, p, {
|
|
3857
3859
|
hasColumnPanel: b,
|
|
3858
3860
|
hasSelectableColumn: g,
|
|
3859
3861
|
hasSelectableAcrossPages: I,
|
|
@@ -3861,7 +3863,7 @@ const Za = Vl.exports, Hl = (s, t, n) => {
|
|
|
3861
3863
|
hasNestedRows: i,
|
|
3862
3864
|
allowColumnDragAndDrop: E,
|
|
3863
3865
|
isDataGridTemplate: $
|
|
3864
|
-
}), v = C(() => e.rowActions !== void 0), { registerRowCellRefs: T, rebuildGridcellRefs: Z } =
|
|
3866
|
+
}), v = C(() => e.rowActions !== void 0), { registerRowCellRefs: T, rebuildGridcellRefs: Z } = Zl(
|
|
3865
3867
|
p,
|
|
3866
3868
|
Re,
|
|
3867
3869
|
v
|
|
@@ -3885,12 +3887,12 @@ const Za = Vl.exports, Hl = (s, t, n) => {
|
|
|
3885
3887
|
onConfigSettingsColumnUpdate: qt,
|
|
3886
3888
|
onConfigSettingsCondensedUpdate: Kt,
|
|
3887
3889
|
onConfigSettingsZebraRowsUpdate: Yt
|
|
3888
|
-
} =
|
|
3890
|
+
} = xs(K, q, k), { hoveredOverColumn: Xt, hoveredOverColumnState: Jt } = zs(
|
|
3889
3891
|
Ue,
|
|
3890
3892
|
g,
|
|
3891
3893
|
x,
|
|
3892
3894
|
be
|
|
3893
|
-
), { draggingColumns: Qt, draggingEventsForColumns: en, draggingEventsForRowCell: tn, onMoveColumnByOffset: nn } =
|
|
3895
|
+
), { draggingColumns: Qt, draggingEventsForColumns: en, draggingEventsForRowCell: tn, onMoveColumnByOffset: nn } = Ms(Be, E, k), Je = C(
|
|
3894
3896
|
() => {
|
|
3895
3897
|
var M;
|
|
3896
3898
|
return ((M = e.data) == null ? void 0 : M.length) > 0 && !!e.selectableAcrossPages && !!e.pagination && e.pagination.totalCount > 0;
|
|
@@ -3903,7 +3905,7 @@ const Za = Vl.exports, Hl = (s, t, n) => {
|
|
|
3903
3905
|
allItemsSelectedState: rn,
|
|
3904
3906
|
selectedItems: Qe,
|
|
3905
3907
|
selectionState: cn
|
|
3906
|
-
} =
|
|
3908
|
+
} = Os(
|
|
3907
3909
|
A,
|
|
3908
3910
|
k,
|
|
3909
3911
|
m,
|
|
@@ -3917,14 +3919,14 @@ const Za = Vl.exports, Hl = (s, t, n) => {
|
|
|
3917
3919
|
filtered: ((M = y.value) == null ? void 0 : M.isClearAllVisible) || ((Y = y.value) == null ? void 0 : Y.isResetAllVisible) || !!e.filterSearchTerm,
|
|
3918
3920
|
allRowsVisible: ((Ae = U.value) == null ? void 0 : Ae.size) >= ((Ee = U.value) == null ? void 0 : Ee.totalCount)
|
|
3919
3921
|
};
|
|
3920
|
-
}), { navigationInput: un } =
|
|
3922
|
+
}), { navigationInput: un } = Ns(
|
|
3921
3923
|
p,
|
|
3922
3924
|
d,
|
|
3923
3925
|
Be,
|
|
3924
3926
|
g,
|
|
3925
3927
|
v,
|
|
3926
3928
|
b
|
|
3927
|
-
), { isLazyLoad: Ne, isInfiniteScroll: fn, verticalScrollPosition: et, emitLazyLoadEvent: gn } =
|
|
3929
|
+
), { isLazyLoad: Ne, isInfiniteScroll: fn, verticalScrollPosition: et, emitLazyLoadEvent: gn } = Fs(
|
|
3928
3930
|
O,
|
|
3929
3931
|
u,
|
|
3930
3932
|
a,
|
|
@@ -3937,11 +3939,11 @@ const Za = Vl.exports, Hl = (s, t, n) => {
|
|
|
3937
3939
|
hasLeftOverflow: ke,
|
|
3938
3940
|
hasRightOverflow: tt,
|
|
3939
3941
|
horizontalScrollbarConditionalStyles: vn
|
|
3940
|
-
} =
|
|
3942
|
+
} = Ps(
|
|
3941
3943
|
a,
|
|
3942
3944
|
r,
|
|
3943
3945
|
et,
|
|
3944
|
-
|
|
3946
|
+
w,
|
|
3945
3947
|
R,
|
|
3946
3948
|
Se,
|
|
3947
3949
|
{
|
|
@@ -4011,11 +4013,11 @@ const Za = Vl.exports, Hl = (s, t, n) => {
|
|
|
4011
4013
|
ot.value || Ft(
|
|
4012
4014
|
"WARNING: At least one BentoDataGrid column should be set as mandatory to ensure data is always displayed correctly."
|
|
4013
4015
|
);
|
|
4014
|
-
const lt = ge(
|
|
4015
|
-
return lt(e.tabTitle), De($t, $e(e, "slashedZero")), t({ onEmptyStateClearResetButtonClick: nt }), { __sfc: !0, props: e, slots: o, hasSlot: l, body: a, columnsRef: r, columnHeaderRefs: d, dataGridUid: f, gridcellRefs: p, filtersRef: h, filterBarRef: y, paginationContainerRef: R, verticalScrollPositionRef: u, virtualHorizontalScrollbarRef:
|
|
4016
|
+
const lt = ge(Xn, () => null);
|
|
4017
|
+
return lt(e.tabTitle), De($t, $e(e, "slashedZero")), t({ onEmptyStateClearResetButtonClick: nt }), { __sfc: !0, props: e, slots: o, hasSlot: l, body: a, columnsRef: r, columnHeaderRefs: d, dataGridUid: f, gridcellRefs: p, filtersRef: h, filterBarRef: y, paginationContainerRef: R, verticalScrollPositionRef: u, virtualHorizontalScrollbarRef: w, allowColumnDragAndDrop: E, columns: N, columnPanel: b, data: m, lazyLoadType: O, loading: F, hasNestedContent: _, hasNestedRows: i, selectable: g, selection: A, selectableAcrossPages: I, stickyPagination: P, outline: x, pagination: U, zebraRows: q, hoveredRowIndex: G, t: V, frozenColumnsLength: W, MOBILE_BREAKPOINT: B, dataGridRef: ne, width: me, isSmallContainer: Ce, isTouchDevice: ve, registerDatagridInDataGridTemplate: de, additionalContentSlotRef: L, isDataGridTemplate: $, stickyTabs: H, tabsRef: c, stickyAdditionalContent: z, columnDefs: K, onColumnWidthOverride: te, gridRowWidthStyle: ie, isMeasuringColumnWidths: Te, isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: be, localColumnsState: we, totalWidthOfAllColumns: Se, rowActionsMaxWidth: Re, hasRowActions: v, registerRowCellRefs: T, rebuildGridcellRefs: Z, definedEmitsFunction: n, emit: k, stickyFiltersHeight: ae, computedStickyFiltersTopPosition: he, columnHeadersHeight: pe, computedColumnHeadersTopPosition: Ht, sortedColumns: Be, columnSets: Ue, isOnlyOneVisibleColumn: Zt, internalZebraRows: Xe, onConfigSettingsColumnsUpdate: jt, onConfigSettingsColumnUpdate: qt, onConfigSettingsCondensedUpdate: Kt, onConfigSettingsZebraRowsUpdate: Yt, hoveredOverColumn: Xt, hoveredOverColumnState: Jt, draggingColumns: Qt, draggingEventsForColumns: en, draggingEventsForRowCell: tn, onMoveColumnByOffset: nn, selectableAcrossPagesComputed: Je, onAllRowSelect: sn, onRowSelect: on, onNestedRowSelect: ln, onDeselectAll: an, allItemsSelectedState: rn, selectedItems: Qe, selectionState: cn, visibleRowsState: dn, navigationInput: un, isLazyLoad: Ne, isInfiniteScroll: fn, verticalScrollPosition: et, emitLazyLoadEvent: gn, updateScrollPosition: mn, updateScrollPositionOnFrozenColumnsNavigation: _n, syncVirtualScrollerWithBody: Cn, hasLeftOverflow: ke, hasRightOverflow: tt, horizontalScrollbarConditionalStyles: vn, onEmptyStateClearResetButtonClick: nt, limitedEmptyStateProps: hn, conditionalGridClasses: pn, conditionalGridBodyClasses: bn, computedColumnPanelAlignment: wn, showFrozenColumnsSeparator: Sn, conditionalFilterClasses: Rn, conditionalPaginationClasses: An, registerColumnHeaderRefs: En, onRowClick: yn, onNestedContentToggled: Ln, onCellHover: Tn, ariaGridRole: On, itemsSelectedCounter: st, showActionBar: In, onColumnResized: Nn, onSort: Dn, onPaginationNavigate: Fn, onItemsPerPageChange: Mn, onSearchTermCleared: xn, onSearchTermInput: Pn, hasMandatoryColumn: ot, setTitle: lt, BentoActionBar: Zn, BentoPagination: jn, BentoLoadingIndicator: Ze, BentoTypography: Le, BentoDataGridConfigSettings: Fo, DataGridColumns: Co, DataGridLazyLoad: Uo, DataGridRow: Vt, handleClipboard: Bs, BentoDatagridEvent: D, BentoFilterBar: Kn, BentoEmptyState: Yn };
|
|
4016
4018
|
}
|
|
4017
4019
|
});
|
|
4018
|
-
var
|
|
4020
|
+
var Kl = function() {
|
|
4019
4021
|
var o;
|
|
4020
4022
|
var t = this, n = t._self._c, e = t._self._setupProxy;
|
|
4021
4023
|
return n("div", { ref: "dataGridRef", staticClass: "b-data-grid", class: e.conditionalGridClasses, attrs: { "data-testid": "data-grid", "aria-live": "polite", "aria-busy": e.loading }, on: { copy: e.handleClipboard } }, [t.filters ? n("div", { ref: "filtersRef", staticClass: "b-data-grid__filters", class: e.conditionalFilterClasses, style: { top: e.computedStickyFiltersTopPosition }, attrs: { "aria-controls": e.dataGridUid, "aria-label": e.t("filterBar"), role: "region" } }, [t.filters ? n(e.BentoFilterBar, { ref: "filterBarRef", attrs: { config: t.filters, "container-size-layout": t.filtersContainerSizeLayout, "filter-values": t.filterValues, "filter-values-object": t.filterValuesObject, search: t.filterSearchConfig, "search-term": t.filterSearchTerm }, on: { "search-input": e.onSearchTermInput, "search-clear": e.onSearchTermCleared, input: (l) => t.$emit(e.BentoDatagridEvent.UPDATE_FILTERS, l), "update:filter-values": (l) => t.$emit(e.BentoDatagridEvent.UPDATE_FILTER_VALUES, l), "update:filter-values-object": (l) => t.$emit(e.BentoDatagridEvent.UPDATE_FILTER_VALUES_OBJECT, l) } }) : t._e()], 1) : t._e(), t.$slots.header ? n("div", { staticClass: "b-data-grid__header" }, [t._t("header")], 2) : t._e(), n("div", { staticClass: "b-data-grid__wrapper", style: { top: e.computedColumnHeadersTopPosition }, attrs: { id: e.dataGridUid, role: e.ariaGridRole, "aria-rowcount": e.data.length, "aria-colcount": e.columns.length, "aria-label": t.emptyState ? e.t("noResults") : null } }, [n("div", { staticClass: "b-data-grid__column-headers", style: { top: e.computedColumnHeadersTopPosition } }, [n("div", { ref: "columnsRef", staticClass: "b-data-grid__columns-row", attrs: { role: "rowgroup" }, on: { scroll: e.updateScrollPosition, keydown: e.navigationInput } }, [e.columnPanel ? n("div", { attrs: { role: "row" } }, [n(e.BentoDataGridConfigSettings, { staticClass: "b-data-grid__config-settings", attrs: { role: "gridcell", columns: e.localColumnsState, condensed: t.condensed, "zebra-rows": e.internalZebraRows }, on: { "update:condensed": e.onConfigSettingsCondensedUpdate, "update:zebra-rows": e.onConfigSettingsZebraRowsUpdate, "update:columns": e.onConfigSettingsColumnsUpdate } })], 1) : t._e(), n("div", { staticClass: "b-data-grid__columns", style: e.gridRowWidthStyle, attrs: { role: "row" } }, [t._l(e.columnSets, function({ columnSet: l, id: a, isFrozenColumns: r }, d) {
|
|
@@ -4045,25 +4047,25 @@ var ql = function() {
|
|
|
4045
4047
|
} };
|
|
4046
4048
|
})], null, !0) });
|
|
4047
4049
|
})], 2)])]), e.isLazyLoad ? n(e.DataGridLazyLoad, { attrs: { loading: e.loading, "is-infinite-scroll": e.isInfiniteScroll }, on: { "update:show-more": e.emitLazyLoadEvent } }) : t._e(), t.stickyHorizontalScrollbar ? n("div", { ref: "virtualHorizontalScrollbarRef", staticClass: "b-data-grid__horizontal-scrollbar", style: e.horizontalScrollbarConditionalStyles, attrs: { "aria-hidden": "true", "data-testid": "sticky-horizontal-scrollbar" }, on: { scroll: e.syncVirtualScrollerWithBody } }, [n("div", { style: { width: `${e.totalWidthOfAllColumns}px`, height: "15px" } })]) : t._e(), e.pagination && !e.isLazyLoad ? n("div", { ref: "paginationContainerRef", staticClass: "b-data-grid__pagination", class: e.conditionalPaginationClasses, attrs: { "data-testid": "pagination-container" } }, [n(e.BentoPagination, t._b({ attrs: { "aria-label": t.$t("pagination"), "aria-controls": e.dataGridUid }, on: { navigate: e.onPaginationNavigate, "items-page": e.onItemsPerPageChange } }, "bento-pagination", e.pagination, !1), [e.hasSlot("pagination-slot") ? t._t("pagination-slot") : t._e()], 2)], 1) : t._e(), t.$slots.footer ? n("div", { staticClass: "b-data-grid__footer" }, [t._t("footer")], 2) : t._e(), e.showActionBar ? n(e.BentoActionBar, { attrs: { actions: t.bulkActions, "item-counter": e.itemsSelectedCounter, "extra-bottom-spacing": e.stickyPagination }, on: { close: e.onDeselectAll } }) : t._e()], 1);
|
|
4048
|
-
},
|
|
4049
|
-
jl,
|
|
4050
|
+
}, Yl = [], Xl = /* @__PURE__ */ J(
|
|
4050
4051
|
ql,
|
|
4051
4052
|
Kl,
|
|
4053
|
+
Yl,
|
|
4052
4054
|
!1,
|
|
4053
4055
|
null,
|
|
4054
|
-
"
|
|
4056
|
+
"08f94a17"
|
|
4055
4057
|
);
|
|
4056
|
-
const
|
|
4058
|
+
const Ka = Xl.exports;
|
|
4057
4059
|
export {
|
|
4058
4060
|
We as B,
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4061
|
+
Ha as a,
|
|
4062
|
+
Za as b,
|
|
4063
|
+
ja as c,
|
|
4064
|
+
Ka as d,
|
|
4065
|
+
qa as e,
|
|
4064
4066
|
Fe as f,
|
|
4065
4067
|
D as g,
|
|
4066
4068
|
ye as h,
|
|
4067
4069
|
fe as i
|
|
4068
4070
|
};
|
|
4069
|
-
//# sourceMappingURL=data-grid.
|
|
4071
|
+
//# sourceMappingURL=data-grid.ZHY5EzP3.js.map
|