@adyen/bento-vue3 1.85.0 → 1.86.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 +358 -260
- package/dist/accordion.js +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/ai-tag.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/anchor-scroller.js +5 -0
- package/dist/anchor-scroller.js.map +1 -0
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/anchor-scroller.css +1 -0
- 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/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/error-message.css +1 -0
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/fixed-scroller.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/avatar.js +1 -1
- package/dist/button.js +3 -3
- package/dist/card.js +1 -1
- package/dist/checkbox.js +6 -6
- package/dist/chip.js +1 -1
- package/dist/chunks/{accordion-item.yRlQj4VF.js → accordion-item.QQ06tTjt.js} +8 -8
- package/dist/chunks/{accordion-item.yRlQj4VF.js.map → accordion-item.QQ06tTjt.js.map} +1 -1
- package/dist/chunks/{action-bar.BlhZoFfL.js → action-bar.g7rM3wUc.js} +15 -15
- package/dist/chunks/{action-bar.BlhZoFfL.js.map → action-bar.g7rM3wUc.js.map} +1 -1
- package/dist/chunks/{ai-button.PAbhTT01.js → ai-button.XfeGC4-Q.js} +6 -6
- package/dist/chunks/{ai-button.PAbhTT01.js.map → ai-button.XfeGC4-Q.js.map} +1 -1
- package/dist/chunks/{ai-tag.CqMBHSfn.js → ai-tag.UlRkq54l.js} +34 -26
- package/dist/chunks/{ai-tag.CqMBHSfn.js.map → ai-tag.UlRkq54l.js.map} +1 -1
- package/dist/chunks/{alert.BYcw-u3b.js → alert.CDWtu0Hu.js} +11 -11
- package/dist/chunks/{alert.BYcw-u3b.js.map → alert.CDWtu0Hu.js.map} +1 -1
- package/dist/chunks/anchor-scroller.CKIQu3NK.js +215 -0
- package/dist/chunks/anchor-scroller.CKIQu3NK.js.map +1 -0
- package/dist/chunks/{arrow-left.DoP6zFsY.js → arrow-left.C6UiqO-c.js} +5 -5
- package/dist/chunks/{arrow-left.DoP6zFsY.js.map → arrow-left.C6UiqO-c.js.map} +1 -1
- package/dist/chunks/{arrow-right.BVd1Dgd8.js → arrow-right.fSdLV_ho.js} +5 -5
- package/dist/chunks/{arrow-right.BVd1Dgd8.js.map → arrow-right.fSdLV_ho.js.map} +1 -1
- package/dist/chunks/{artificial-intelligence-ai-filled.G_Yr_37U.js → artificial-intelligence-ai-filled.AhDHffzT.js} +4 -4
- package/dist/chunks/{artificial-intelligence-ai-filled.G_Yr_37U.js.map → artificial-intelligence-ai-filled.AhDHffzT.js.map} +1 -1
- package/dist/chunks/{avatar.CNGMjwg3.js → avatar.Caeba-pw.js} +3 -3
- package/dist/chunks/{avatar.CNGMjwg3.js.map → avatar.Caeba-pw.js.map} +1 -1
- package/dist/chunks/{base-button.CUd03aA2.js → base-button.CRYAiuzn.js} +9 -9
- package/dist/chunks/{base-button.CUd03aA2.js.map → base-button.CRYAiuzn.js.map} +1 -1
- package/dist/chunks/{base-modal.CNETR72d.js → base-modal.D5HrjwL1.js} +23 -23
- package/dist/chunks/{base-modal.CNETR72d.js.map → base-modal.D5HrjwL1.js.map} +1 -1
- package/dist/chunks/{bin.DuHlEQBO.js → bin.Cude0fiB.js} +4 -4
- package/dist/chunks/{bin.DuHlEQBO.js.map → bin.Cude0fiB.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.DY0pTtk-.js → button-actions-with-menu.DBqA3Ws5.js} +7 -7
- package/dist/chunks/{button-actions-with-menu.DY0pTtk-.js.map → button-actions-with-menu.DBqA3Ws5.js.map} +1 -1
- package/dist/chunks/{button-actions.Dk8xU2cz.js → button-actions.BH-J7dux.js} +17 -17
- package/dist/chunks/{button-actions.Dk8xU2cz.js.map → button-actions.BH-J7dux.js.map} +1 -1
- package/dist/chunks/{button.CSp48LJt.js → button.C6t9_lzm.js} +12 -12
- package/dist/chunks/{button.CSp48LJt.js.map → button.C6t9_lzm.js.map} +1 -1
- package/dist/chunks/{calendar.Dbc0yjyg.js → calendar.DzeJoNc2.js} +11 -11
- package/dist/chunks/{calendar.Dbc0yjyg.js.map → calendar.DzeJoNc2.js.map} +1 -1
- package/dist/chunks/{card.C7LbwK7Q.js → card.DcXXdxWL.js} +7 -7
- package/dist/chunks/{card.C7LbwK7Q.js.map → card.DcXXdxWL.js.map} +1 -1
- package/dist/chunks/{checkbox-group.CCpe-S-E.js → checkbox-group.Bh_aqKoA.js} +11 -11
- package/dist/chunks/{checkbox-group.CCpe-S-E.js.map → checkbox-group.Bh_aqKoA.js.map} +1 -1
- package/dist/chunks/{checkbox-input.Dk9iFQQe.js → checkbox-input.BZjSoCQW.js} +4 -4
- package/dist/chunks/{checkbox-input.Dk9iFQQe.js.map → checkbox-input.BZjSoCQW.js.map} +1 -1
- package/dist/chunks/{checkbox.A35e7MsN.js → checkbox.7kpOXm-b.js} +22 -22
- package/dist/chunks/{checkbox.A35e7MsN.js.map → checkbox.7kpOXm-b.js.map} +1 -1
- package/dist/chunks/{checkmark-circle-fill._6-d40ru.js → checkmark-circle-fill.DugX5fbG.js} +4 -4
- package/dist/chunks/{checkmark-circle-fill._6-d40ru.js.map → checkmark-circle-fill.DugX5fbG.js.map} +1 -1
- package/dist/chunks/{checkmark-small.x-gmK2Dt.js → checkmark-small.CRuZauJc.js} +5 -5
- package/dist/chunks/{checkmark-small.x-gmK2Dt.js.map → checkmark-small.CRuZauJc.js.map} +1 -1
- package/dist/chunks/{chevron-down.DCQ6ZLaq.js → chevron-down.XeE-LBV_.js} +5 -5
- package/dist/chunks/{chevron-down.DCQ6ZLaq.js.map → chevron-down.XeE-LBV_.js.map} +1 -1
- package/dist/chunks/{chevron-left.Cfn1uGLH.js → chevron-left.C_vPW7OR.js} +8 -8
- package/dist/chunks/{chevron-left.Cfn1uGLH.js.map → chevron-left.C_vPW7OR.js.map} +1 -1
- package/dist/chunks/{chevron-up.kfuLRpZb.js → chevron-up.Cmgl2a3x.js} +5 -5
- package/dist/chunks/{chevron-up.kfuLRpZb.js.map → chevron-up.Cmgl2a3x.js.map} +1 -1
- package/dist/chunks/{chip.eefnwpgE.js → chip.CyW1V8RU.js} +7 -7
- package/dist/chunks/{chip.eefnwpgE.js.map → chip.CyW1V8RU.js.map} +1 -1
- package/dist/chunks/{click-outside.C1Ud8AA2.js → click-outside.CDz_x8mN.js} +2 -2
- package/dist/chunks/{click-outside.C1Ud8AA2.js.map → click-outside.CDz_x8mN.js.map} +1 -1
- package/dist/chunks/{code-snippet.DKkTjYdC.js → code-snippet.UIqVTv4U.js} +15 -15
- package/dist/chunks/{code-snippet.DKkTjYdC.js.map → code-snippet.UIqVTv4U.js.map} +1 -1
- package/dist/chunks/{codemirror.Cy7iSLbd.js → codemirror.D2BAltnu.js} +3688 -3673
- package/dist/chunks/codemirror.D2BAltnu.js.map +1 -0
- package/dist/chunks/{controls-group.BHOKajou.js → controls-group.Dip3WAKV.js} +10 -10
- package/dist/chunks/{controls-group.BHOKajou.js.map → controls-group.Dip3WAKV.js.map} +1 -1
- package/dist/chunks/{copy.CgITv6wr.js → copy.ByyQlckP.js} +6 -6
- package/dist/chunks/{copy.CgITv6wr.js.map → copy.ByyQlckP.js.map} +1 -1
- package/dist/chunks/{country.vSfTQW51.js → country.DJts6kCv.js} +5 -5
- package/dist/chunks/{country.vSfTQW51.js.map → country.DJts6kCv.js.map} +1 -1
- package/dist/chunks/{country.types.DaVCMxk-.js → country.types.BBQbWkTY.js} +3 -3
- package/dist/chunks/{country.types.DaVCMxk-.js.map → country.types.BBQbWkTY.js.map} +1 -1
- package/dist/chunks/{cross-circle-fill-small.Dv5-PxwF.js → cross-circle-fill-small.H1wH-vcZ.js} +5 -5
- package/dist/chunks/{cross-circle-fill-small.Dv5-PxwF.js.map → cross-circle-fill-small.H1wH-vcZ.js.map} +1 -1
- package/dist/chunks/{cross-circle-fill.CYLL7jfC.js → cross-circle-fill.BWCKKn0E.js} +4 -4
- package/dist/chunks/{cross-circle-fill.CYLL7jfC.js.map → cross-circle-fill.BWCKKn0E.js.map} +1 -1
- package/dist/chunks/{cross-small.n1UO5wNB.js → cross-small.Bjq2Gqvh.js} +5 -5
- package/dist/chunks/{cross-small.n1UO5wNB.js.map → cross-small.Bjq2Gqvh.js.map} +1 -1
- package/dist/chunks/{cross.B92GxFTY.js → cross.CCHdi6v3.js} +5 -5
- package/dist/chunks/{cross.B92GxFTY.js.map → cross.CCHdi6v3.js.map} +1 -1
- package/dist/chunks/{currency.DijmAkAB.js → currency.Afx8MVdY.js} +4 -4
- package/dist/chunks/{currency.DijmAkAB.js.map → currency.Afx8MVdY.js.map} +1 -1
- package/dist/chunks/{dashboard-section.CrXdP_MQ.js → dashboard-section.CIHtXoeW.js} +8 -8
- package/dist/chunks/{dashboard-section.CrXdP_MQ.js.map → dashboard-section.CIHtXoeW.js.map} +1 -1
- package/dist/chunks/{dashed-underline.BzppJBtk.js → dashed-underline.CLwPU-C2.js} +14 -14
- package/dist/chunks/{dashed-underline.BzppJBtk.js.map → dashed-underline.CLwPU-C2.js.map} +1 -1
- package/dist/chunks/{data-grid-template.DFjdgxwb.js → data-grid-template.BTpSfkQt.js} +8 -8
- package/dist/chunks/{data-grid-template.DFjdgxwb.js.map → data-grid-template.BTpSfkQt.js.map} +1 -1
- package/dist/chunks/{data-grid.KkCt0Bgm.js → data-grid.CXDdiHz8.js} +457 -453
- package/dist/chunks/data-grid.CXDdiHz8.js.map +1 -0
- package/dist/chunks/date-input.XSJuuCHe.js +20 -0
- package/dist/chunks/date-input.XSJuuCHe.js.map +1 -0
- package/dist/chunks/{date-picker.dQuj_OF_.js → date-picker.CvTSZhMI.js} +82 -81
- package/dist/chunks/date-picker.CvTSZhMI.js.map +1 -0
- package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -1
- package/dist/chunks/date-range-picker.BPCt7cwj.js +1100 -0
- package/dist/chunks/{date-range-picker.BAKR_gDf.js.map → date-range-picker.BPCt7cwj.js.map} +1 -1
- package/dist/chunks/date-range-picker.types.Ckt7zxGy.js.map +1 -1
- package/dist/chunks/{date.CL55prL0.js → date.BtB1HyWQ.js} +4 -4
- package/dist/chunks/{date.CL55prL0.js.map → date.BtB1HyWQ.js.map} +1 -1
- package/dist/chunks/dialog-page.B3ptLXXP.js +162 -0
- package/dist/chunks/dialog-page.B3ptLXXP.js.map +1 -0
- package/dist/chunks/{directive.Cbdox5VL.js → directive.rXUeDb8p.js} +2 -2
- package/dist/chunks/{directive.Cbdox5VL.js.map → directive.rXUeDb8p.js.map} +1 -1
- package/dist/chunks/{divider.Dho4_hQ7.js → divider.BIY84UH7.js} +5 -5
- package/dist/chunks/{divider.Dho4_hQ7.js.map → divider.BIY84UH7.js.map} +1 -1
- package/dist/chunks/{dot.ob6N-5Um.js → dot.DBmwmOUN.js} +5 -5
- package/dist/chunks/{dot.ob6N-5Um.js.map → dot.DBmwmOUN.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.DFtFMu5G.js → dropdown-default-textbox.B-_dTUVX.js} +107 -117
- package/dist/chunks/dropdown-default-textbox.B-_dTUVX.js.map +1 -0
- package/dist/chunks/{dropdown-tag.CBgns9Y3.js → dropdown-tag.DDNOZhEG.js} +20 -20
- package/dist/chunks/{dropdown-tag.CBgns9Y3.js.map → dropdown-tag.DDNOZhEG.js.map} +1 -1
- package/dist/chunks/dropdown.CU6nfq3V.js +836 -0
- package/dist/chunks/dropdown.CU6nfq3V.js.map +1 -0
- package/dist/chunks/{empty-state.D_ifpeU-.js → empty-state.DqdPzU-g.js} +15 -15
- package/dist/chunks/{empty-state.D_ifpeU-.js.map → empty-state.DqdPzU-g.js.map} +1 -1
- package/dist/chunks/{field-label.OurHuGZS.js → error-message.BYA2_fPV.js} +67 -67
- package/dist/chunks/error-message.BYA2_fPV.js.map +1 -0
- package/dist/chunks/{expand.C9IAqYYL.js → expand.BrywY9jl.js} +4 -4
- package/dist/chunks/{expand.C9IAqYYL.js.map → expand.BrywY9jl.js.map} +1 -1
- package/dist/chunks/{file-uploader.CQgu9YIY.js → file-uploader.Q2ufNRTY.js} +79 -79
- package/dist/chunks/{file-uploader.CQgu9YIY.js.map → file-uploader.Q2ufNRTY.js.map} +1 -1
- package/dist/chunks/{filter-bar.BJmaoSr2.js → filter-bar.BVj9YVv-.js} +213 -205
- package/dist/chunks/{filter-bar.BJmaoSr2.js.map → filter-bar.BVj9YVv-.js.map} +1 -1
- package/dist/chunks/fixed-scroller.i1tmEmst.js +161 -0
- package/dist/chunks/{fixed-scroller.e56yJp7Q.js.map → fixed-scroller.i1tmEmst.js.map} +1 -1
- package/dist/chunks/{focus-trap.DH57j-Ov.js → focus-trap.CBvh2H_m.js} +294 -277
- package/dist/chunks/focus-trap.CBvh2H_m.js.map +1 -0
- package/dist/chunks/{footer-actions.BMggOsip.js → footer-actions.DLzMOB7j.js} +8 -8
- package/dist/chunks/{footer-actions.BMggOsip.js.map → footer-actions.DLzMOB7j.js.map} +1 -1
- package/dist/chunks/{form-layout-title.wnvpIbOe.js → form-layout-title.DYmTc6M7.js} +6 -6
- package/dist/chunks/{form-layout-title.wnvpIbOe.js.map → form-layout-title.DYmTc6M7.js.map} +1 -1
- package/dist/chunks/{grab.B63hmf-_.js → grab.DJYL4kBq.js} +5 -5
- package/dist/chunks/{grab.B63hmf-_.js.map → grab.DJYL4kBq.js.map} +1 -1
- package/dist/chunks/{grid-layout.DDaRNz4-.js → grid-layout.Vhv1_zFs.js} +21 -21
- package/dist/chunks/{grid-layout.DDaRNz4-.js.map → grid-layout.Vhv1_zFs.js.map} +1 -1
- package/dist/chunks/{header-meta.CkLmuprc.js → header-meta.Bw8ZGwJW.js} +13 -13
- package/dist/chunks/{header-meta.CkLmuprc.js.map → header-meta.Bw8ZGwJW.js.map} +1 -1
- package/dist/chunks/{header-with-views.BXZmqtnz.js → header-with-views.CJDoE4hw.js} +20 -20
- package/dist/chunks/{header-with-views.BXZmqtnz.js.map → header-with-views.CJDoE4hw.js.map} +1 -1
- package/dist/chunks/{header.RiaBKasj.js → header.BeH8KH_l.js} +14 -14
- package/dist/chunks/{header.RiaBKasj.js.map → header.BeH8KH_l.js.map} +1 -1
- package/dist/chunks/{image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js → image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js} +3 -3
- package/dist/chunks/{image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js.map → image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js.map} +1 -1
- package/dist/chunks/{index.pdBj0KQU.js → index.B875RXHM.js} +3 -3
- package/dist/chunks/{index.pdBj0KQU.js.map → index.B875RXHM.js.map} +1 -1
- package/dist/chunks/index.CbxHJr39.js +691 -0
- package/dist/chunks/{index.CL07S4Wa.js.map → index.CbxHJr39.js.map} +1 -1
- package/dist/chunks/{info-icon.B6wfo65e.js → info-icon.BLtyJvY4.js} +9 -9
- package/dist/chunks/{info-icon.B6wfo65e.js.map → info-icon.BLtyJvY4.js.map} +1 -1
- package/dist/chunks/{info.BKwey1HA.js → info.6Z6NxUst.js} +4 -4
- package/dist/chunks/{info.BKwey1HA.js.map → info.6Z6NxUst.js.map} +1 -1
- package/dist/chunks/{input-field-password.ClyJRN6h.js → input-field-password.KeKQPIZv.js} +21 -21
- package/dist/chunks/{input-field-password.ClyJRN6h.js.map → input-field-password.KeKQPIZv.js.map} +1 -1
- package/dist/chunks/{input-field-phone-number.CUdzwXz0.js → input-field-phone-number.eaU9p15A.js} +10 -10
- package/dist/chunks/{input-field-phone-number.CUdzwXz0.js.map → input-field-phone-number.eaU9p15A.js.map} +1 -1
- package/dist/chunks/{input-field.CFNofr-W.js → input-field.CNdqlGw6.js} +9 -9
- package/dist/chunks/{input-field.CFNofr-W.js.map → input-field.CNdqlGw6.js.map} +1 -1
- package/dist/chunks/{inspector.I4-8J_fd.js → inspector.Bnf0g7QE.js} +16 -16
- package/dist/chunks/{inspector.I4-8J_fd.js.map → inspector.Bnf0g7QE.js.map} +1 -1
- package/dist/chunks/{isSameWeek.5sjhTHiU.js → isSameWeek.DjeUtLwI.js} +2 -2
- package/dist/chunks/{isSameWeek.5sjhTHiU.js.map → isSameWeek.DjeUtLwI.js.map} +1 -1
- package/dist/chunks/{it.DEniTaO2.js → it.DIafuXtH.js} +2 -2
- package/dist/chunks/{it.DEniTaO2.js.map → it.DIafuXtH.js.map} +1 -1
- package/dist/chunks/{layout-row.Ccw24NzW.js → layout-row.Bz-mRqAq.js} +4 -4
- package/dist/chunks/{layout-row.Ccw24NzW.js.map → layout-row.Bz-mRqAq.js.map} +1 -1
- package/dist/chunks/{link.BLCQlEZU.js → link.DTCn2EtX.js} +11 -11
- package/dist/chunks/{link.BLCQlEZU.js.map → link.DTCn2EtX.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.BHQiD5oC.js → listbox-option-tag.C3ihNg6_.js} +9 -9
- package/dist/chunks/{listbox-option-tag.BHQiD5oC.js.map → listbox-option-tag.C3ihNg6_.js.map} +1 -1
- package/dist/chunks/{loading-indicator.Db794TT5.js → loading-indicator.BPol9I84.js} +3 -3
- package/dist/chunks/{loading-indicator.Db794TT5.js.map → loading-indicator.BPol9I84.js.map} +1 -1
- package/dist/chunks/{minus-small.DYIyF5XW.js → minus-small.CnYLTuSv.js} +5 -5
- package/dist/chunks/{minus-small.DYIyF5XW.js.map → minus-small.CnYLTuSv.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.f445bZ94.js → modal-fullscreen.B3AGUJgl.js} +100 -96
- package/dist/chunks/modal-fullscreen.B3AGUJgl.js.map +1 -0
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.KSBXRR2X.js → modal.vue_vue_type_script_setup_true_lang.BAwez0nB.js} +13 -13
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.KSBXRR2X.js.map → modal.vue_vue_type_script_setup_true_lang.BAwez0nB.js.map} +1 -1
- package/dist/chunks/on-click-outside.BW4rkhzG.js +91 -0
- package/dist/chunks/on-click-outside.BW4rkhzG.js.map +1 -0
- package/dist/chunks/{pagination.DuRU9Xg_.js → pagination.lu9nx8j8.js} +10 -10
- package/dist/chunks/{pagination.DuRU9Xg_.js.map → pagination.lu9nx8j8.js.map} +1 -1
- package/dist/chunks/{payment-method.BGEBaa4w.js → payment-method.AeKHZlAO.js} +3 -3
- package/dist/chunks/{payment-method.BGEBaa4w.js.map → payment-method.AeKHZlAO.js.map} +1 -1
- package/dist/chunks/popover.types.C_Z2JeVK.js +6 -0
- package/dist/chunks/{popover.types.BbYumG-N.js.map → popover.types.C_Z2JeVK.js.map} +1 -1
- package/dist/chunks/popper-container.BefZxTzP.js +1432 -0
- package/dist/chunks/popper-container.BefZxTzP.js.map +1 -0
- package/dist/chunks/{promo-banner.DzIYjBfG.js → promo-banner.BLie64oS.js} +11 -11
- package/dist/chunks/{promo-banner.DzIYjBfG.js.map → promo-banner.BLie64oS.js.map} +1 -1
- package/dist/chunks/{radio-group.EqsvAKt2.js → radio-group.C6nQRQDB.js} +20 -20
- package/dist/chunks/{radio-group.EqsvAKt2.js.map → radio-group.C6nQRQDB.js.map} +1 -1
- package/dist/chunks/{radio-input.CBNE-AkM.js → radio-input.DektLjN4.js} +3 -3
- package/dist/chunks/{radio-input.CBNE-AkM.js.map → radio-input.DektLjN4.js.map} +1 -1
- package/dist/chunks/{refresh.BB4ouvz_.js → refresh.C31KClfx.js} +5 -5
- package/dist/chunks/{refresh.BB4ouvz_.js.map → refresh.C31KClfx.js.map} +1 -1
- package/dist/chunks/{rich-text-editor.-JS_rIjs.js → rich-text-editor.C39NKgl0.js} +11 -15
- package/dist/chunks/rich-text-editor.C39NKgl0.js.map +1 -0
- package/dist/chunks/{search-bar.DPc0omnd.js → search-bar.CbTrg2Sk.js} +10 -10
- package/dist/chunks/{search-bar.DPc0omnd.js.map → search-bar.CbTrg2Sk.js.map} +1 -1
- package/dist/chunks/{search.PczW-onY.js → search.ClLmZAgC.js} +4 -4
- package/dist/chunks/{search.PczW-onY.js.map → search.ClLmZAgC.js.map} +1 -1
- package/dist/chunks/{secondary-nav.BGKR8l0u.js → secondary-nav.DTOZQewf.js} +25 -25
- package/dist/chunks/secondary-nav.DTOZQewf.js.map +1 -0
- package/dist/chunks/{segmented-control.CFPAl4HD.js → segmented-control.D9rHBysM.js} +9 -9
- package/dist/chunks/{segmented-control.CFPAl4HD.js.map → segmented-control.D9rHBysM.js.map} +1 -1
- package/dist/chunks/{selection-card-group.BL0LTYhI.js → selection-card-group.KEsG0D5V.js} +9 -9
- package/dist/chunks/{selection-card-group.BL0LTYhI.js.map → selection-card-group.KEsG0D5V.js.map} +1 -1
- package/dist/chunks/{show.CT4Augxb.js → show.BreRPkgL.js} +6 -6
- package/dist/chunks/{show.CT4Augxb.js.map → show.BreRPkgL.js.map} +1 -1
- package/dist/chunks/{sidepanel.sWMdYcUC.js → sidepanel.DJCagqzl.js} +73 -69
- package/dist/chunks/sidepanel.DJCagqzl.js.map +1 -0
- package/dist/chunks/{startOfWeek.CM1KIrNi.js → startOfWeek.D8Yh4c0G.js} +3 -3
- package/dist/chunks/{startOfWeek.CM1KIrNi.js.map → startOfWeek.D8Yh4c0G.js.map} +1 -1
- package/dist/chunks/{status.types.ChOI6XGU.js → status.types.D3v3k-Q8.js} +6 -6
- package/dist/chunks/{status.types.ChOI6XGU.js.map → status.types.D3v3k-Q8.js.map} +1 -1
- package/dist/chunks/{step.DpgnDx29.js → step.BV7MsrRF.js} +9 -9
- package/dist/chunks/{step.DpgnDx29.js.map → step.BV7MsrRF.js.map} +1 -1
- package/dist/chunks/{structured-list-item.Uky_MJPp.js → structured-list-item.f1tmHSEN.js} +9 -9
- package/dist/chunks/{structured-list-item.Uky_MJPp.js.map → structured-list-item.f1tmHSEN.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.R-TEtkgx.js → summary-grid.types.COcV-sOB.js} +13 -13
- package/dist/chunks/{summary-grid.types.R-TEtkgx.js.map → summary-grid.types.COcV-sOB.js.map} +1 -1
- package/dist/chunks/{tab.JPngc9oS.js → tab.DRrnMCxe.js} +6 -6
- package/dist/chunks/{tab.JPngc9oS.js.map → tab.DRrnMCxe.js.map} +1 -1
- package/dist/chunks/{tag.CNN_D55j.js → tag.Dr7MKe9q.js} +9 -9
- package/dist/chunks/{tag.CNN_D55j.js.map → tag.Dr7MKe9q.js.map} +1 -1
- package/dist/chunks/{textarea.BGcYYD8C.js → textarea.CtgbUCjH.js} +7 -7
- package/dist/chunks/{textarea.BGcYYD8C.js.map → textarea.CtgbUCjH.js.map} +1 -1
- package/dist/chunks/{timeline-item.Cbd_rb9J.js → timeline-item.D9nmCe6u.js} +41 -41
- package/dist/chunks/{timeline-item.Cbd_rb9J.js.map → timeline-item.D9nmCe6u.js.map} +1 -1
- package/dist/chunks/{toast.DiIIrX7h.js → toast.Bbtq3Icj.js} +22 -22
- package/dist/chunks/{toast.DiIIrX7h.js.map → toast.Bbtq3Icj.js.map} +1 -1
- package/dist/chunks/{toggle.vl0ZwLhN.js → toggle.BupEBkIG.js} +6 -6
- package/dist/chunks/{toggle.vl0ZwLhN.js.map → toggle.BupEBkIG.js.map} +1 -1
- package/dist/chunks/{tooltip.CqV3Okcs.js → tooltip.DYpJZ-99.js} +60 -60
- package/dist/chunks/tooltip.DYpJZ-99.js.map +1 -0
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.DkTE0rmi.js → tutorial.vue_vue_type_script_setup_true_lang.B5hWgNSd.js} +9 -9
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.DkTE0rmi.js.map → tutorial.vue_vue_type_script_setup_true_lang.B5hWgNSd.js.map} +1 -1
- package/dist/chunks/{typography.6Oo5TOMP.js → typography.B3J6_tYk.js} +5 -5
- package/dist/chunks/{typography.6Oo5TOMP.js.map → typography.B3J6_tYk.js.map} +1 -1
- package/dist/chunks/{use-bento-toast-controller.V61h7XzI.js → use-bento-toast-controller.BFctDoMg.js} +2 -2
- package/dist/chunks/{use-bento-toast-controller.V61h7XzI.js.map → use-bento-toast-controller.BFctDoMg.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.iGHt7ROs.js → use-cached-selected-values.BiSuG1eX.js} +20 -20
- package/dist/chunks/use-cached-selected-values.BiSuG1eX.js.map +1 -0
- package/dist/chunks/{use-country-items.JZCYNoW7.js → use-country-items.BTzByPdQ.js} +9 -9
- package/dist/chunks/{use-country-items.JZCYNoW7.js.map → use-country-items.BTzByPdQ.js.map} +1 -1
- package/dist/chunks/utils.BzUwtTXc.js +21 -0
- package/dist/chunks/utils.BzUwtTXc.js.map +1 -0
- package/dist/chunks/{warning-filled.BMGD0G-_.js → warning-filled.BzyK_mMj.js} +5 -5
- package/dist/chunks/{warning-filled.BMGD0G-_.js.map → warning-filled.BzyK_mMj.js.map} +1 -1
- package/dist/chunks/{zh-CN.CgIooHto.js → zh-CN.Bw_6j9Cd.js} +2 -2
- package/dist/chunks/{zh-CN.CgIooHto.js.map → zh-CN.Bw_6j9Cd.js.map} +1 -1
- package/dist/click-outside.js +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/country.js +2 -2
- package/dist/currency.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/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/draggable-handle.js +73 -57
- package/dist/draggable-handle.js.map +1 -1
- package/dist/dropdown.js +4 -4
- package/dist/empty-state.js +1 -1
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/focus-trap.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/image.js +1 -1
- package/dist/index.js +278 -276
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +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/inspector.js +1 -1
- package/dist/internal.js +42 -42
- package/dist/layout.js +1 -1
- package/dist/link.js +1 -1
- package/dist/loading-indicator.js +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/payment-method.js +1 -1
- package/dist/popover.js +2 -2
- package/dist/popper-container.js +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/radio-group.js +2 -2
- package/dist/rich-text-editor.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/status.js +1 -1
- package/dist/stepper.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/typography.js +1 -1
- package/dist/use-form-v4.js +756 -7787
- package/dist/use-form-v4.js.map +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +6 -6
- package/dist/assets/field-label.css +0 -1
- package/dist/chunks/codemirror.Cy7iSLbd.js.map +0 -1
- package/dist/chunks/data-grid.KkCt0Bgm.js.map +0 -1
- package/dist/chunks/date-input.BbZqj10S.js +0 -15
- package/dist/chunks/date-input.BbZqj10S.js.map +0 -1
- package/dist/chunks/date-picker.dQuj_OF_.js.map +0 -1
- package/dist/chunks/date-range-picker.BAKR_gDf.js +0 -1100
- package/dist/chunks/dialog-page.CF10AQQ3.js +0 -158
- package/dist/chunks/dialog-page.CF10AQQ3.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.DFtFMu5G.js.map +0 -1
- package/dist/chunks/dropdown.DmzMGz30.js +0 -837
- package/dist/chunks/dropdown.DmzMGz30.js.map +0 -1
- package/dist/chunks/field-label.OurHuGZS.js.map +0 -1
- package/dist/chunks/fixed-scroller.e56yJp7Q.js +0 -155
- package/dist/chunks/focus-trap.DH57j-Ov.js.map +0 -1
- package/dist/chunks/index.CL07S4Wa.js +0 -592
- package/dist/chunks/modal-fullscreen.f445bZ94.js.map +0 -1
- package/dist/chunks/on-click-outside.D9aY9g8G.js +0 -101
- package/dist/chunks/on-click-outside.D9aY9g8G.js.map +0 -1
- package/dist/chunks/popover.types.BbYumG-N.js +0 -6
- package/dist/chunks/popper-container.DdG_YvVF.js +0 -1413
- package/dist/chunks/popper-container.DdG_YvVF.js.map +0 -1
- package/dist/chunks/rich-text-editor.-JS_rIjs.js.map +0 -1
- package/dist/chunks/secondary-nav.BGKR8l0u.js.map +0 -1
- package/dist/chunks/sidepanel.sWMdYcUC.js.map +0 -1
- package/dist/chunks/tooltip.CqV3Okcs.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.iGHt7ROs.js.map +0 -1
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { ref as E, onMounted as Xe, nextTick as _e, watch as ye, onUnmounted as
|
|
2
|
-
import { C as
|
|
3
|
-
import { W as
|
|
1
|
+
import { ref as E, onMounted as Xe, nextTick as _e, watch as ye, onUnmounted as gl, reactive as yt, toRefs as Rt, computed as C, watchEffect as _n, onBeforeUpdate as bn, openBlock as r, createElementBlock as p, mergeProps as se, toDisplayString as X, createCommentVNode as W, createElementVNode as L, defineComponent as Ie, inject as Pe, normalizeClass as ce, Fragment as be, renderList as Ae, unref as o, toHandlers as gt, createBlock as H, withCtx as G, createVNode as Y, renderSlot as ze, withModifiers as wn, normalizeStyle as Fe, resolveComponent as Oe, createTextVNode as ge, withDirectives as tt, vShow as Sn, toRef as wt, resolveDirective as pn, Transition as vl, createSlots as Je, resolveDynamicComponent as Ye, useSlots as Lt, provide as dt, withKeys as Pt, normalizeProps as En, guardReactiveProps as yn } from "vue";
|
|
2
|
+
import { C as Rn } from "./checkmark-circle-fill.DugX5fbG.js";
|
|
3
|
+
import { W as Ln } from "./warning-filled.BzyK_mMj.js";
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { _ as ue } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
6
|
-
import { C as
|
|
7
|
-
import { N as
|
|
8
|
-
import { E as Ne, b as
|
|
9
|
-
import {
|
|
10
|
-
import { B as Nn } from "./dashed-underline.
|
|
11
|
-
import { B as je, p as
|
|
12
|
-
import { u as We } from "./index.
|
|
13
|
-
import { B as In } from "./tag.
|
|
14
|
-
import { B as $n } from "./action-bar.
|
|
15
|
-
import { B as Dn } from "./pagination.
|
|
16
|
-
import { B as
|
|
17
|
-
import { u as
|
|
18
|
-
import { g as
|
|
19
|
-
import {
|
|
20
|
-
import { B as kn } from "./empty-state.
|
|
6
|
+
import { C as ml } from "./cross.CCHdi6v3.js";
|
|
7
|
+
import { N as Bt } from "./minus-small.CnYLTuSv.js";
|
|
8
|
+
import { E as Ne, b as St, T as An, B as Tn } from "./tooltip.DYpJZ-99.js";
|
|
9
|
+
import { b as On } from "./popper-container.BefZxTzP.js";
|
|
10
|
+
import { B as Nn } from "./dashed-underline.CLwPU-C2.js";
|
|
11
|
+
import { B as je, p as hl } from "./typography.B3J6_tYk.js";
|
|
12
|
+
import { u as We } from "./index.B875RXHM.js";
|
|
13
|
+
import { B as In } from "./tag.Dr7MKe9q.js";
|
|
14
|
+
import { B as $n } from "./action-bar.g7rM3wUc.js";
|
|
15
|
+
import { B as Dn } from "./pagination.lu9nx8j8.js";
|
|
16
|
+
import { B as ct } from "./loading-indicator.BPol9I84.js";
|
|
17
|
+
import { u as At } from "./use-has-slot.B7eQSabc.js";
|
|
18
|
+
import { g as ft } from "./generate-uid.NJ8tVoha.js";
|
|
19
|
+
import { a as bt } from "./filter-bar.BVj9YVv-.js";
|
|
20
|
+
import { B as kn } from "./empty-state.DqdPzU-g.js";
|
|
21
21
|
import { E as Un } from "./tabs.keys.B4qGhjp2.js";
|
|
22
22
|
import { D as Mn } from "./data-grid-template.keys.VezYtHtM.js";
|
|
23
|
-
import { b as Fn } from "./index.
|
|
24
|
-
import { o as
|
|
25
|
-
import { f as
|
|
26
|
-
import { B as
|
|
27
|
-
import { B as
|
|
28
|
-
import { B as Bn } from "./search-bar.
|
|
29
|
-
import { B as Wn } from "./directive.
|
|
30
|
-
import { u as Vn } from "./dropdown.
|
|
31
|
-
import { S as Hn } from "./search.
|
|
32
|
-
import { B as
|
|
33
|
-
import { B as Gn } from "./info-icon.
|
|
34
|
-
import { D as xn } from "./use-cached-selected-values.
|
|
35
|
-
import { B as
|
|
36
|
-
import { A as Zn } from "./arrow-left.
|
|
37
|
-
import { A as jn } from "./arrow-right.
|
|
38
|
-
import { H as qn, S as Kn } from "./show.
|
|
39
|
-
import { l as
|
|
40
|
-
import { b as
|
|
41
|
-
import { E as
|
|
42
|
-
import { C as
|
|
43
|
-
import { C as Yn } from "./chevron-down.
|
|
44
|
-
import { C as Jn } from "./chevron-up.
|
|
23
|
+
import { b as Fn } from "./index.CbxHJr39.js";
|
|
24
|
+
import { o as Tt } from "./resize.Bqks3WUm.js";
|
|
25
|
+
import { f as pt, c as Ot, h as zn, a as Wt, b as Vt, O as Ht, D as Pn } from "./button-actions.BH-J7dux.js";
|
|
26
|
+
import { B as Cl } from "./button.C6t9_lzm.js";
|
|
27
|
+
import { B as _l } from "./toggle.BupEBkIG.js";
|
|
28
|
+
import { B as Bn } from "./search-bar.CbTrg2Sk.js";
|
|
29
|
+
import { B as Wn } from "./directive.rXUeDb8p.js";
|
|
30
|
+
import { u as Vn } from "./dropdown.CU6nfq3V.js";
|
|
31
|
+
import { S as Hn } from "./search.ClLmZAgC.js";
|
|
32
|
+
import { B as bl } from "./checkbox.7kpOXm-b.js";
|
|
33
|
+
import { B as Gn } from "./info-icon.BLtyJvY4.js";
|
|
34
|
+
import { D as xn } from "./use-cached-selected-values.BiSuG1eX.js";
|
|
35
|
+
import { B as Gt } from "./popover.types.C_Z2JeVK.js";
|
|
36
|
+
import { A as Zn } from "./arrow-left.C6UiqO-c.js";
|
|
37
|
+
import { A as jn } from "./arrow-right.fSdLV_ho.js";
|
|
38
|
+
import { H as qn, S as Kn } from "./show.BreRPkgL.js";
|
|
39
|
+
import { l as xt } from "./events.BQOQSSb7.js";
|
|
40
|
+
import { b as wl } from "./focus-trap.CBvh2H_m.js";
|
|
41
|
+
import { E as Zt } from "./link.DTCn2EtX.js";
|
|
42
|
+
import { C as jt } from "./copy.ByyQlckP.js";
|
|
43
|
+
import { C as Yn } from "./chevron-down.XeE-LBV_.js";
|
|
44
|
+
import { C as Jn } from "./chevron-up.Cmgl2a3x.js";
|
|
45
45
|
import { u as Xn } from "./use-expandable-content-height.GkjjbmPy.js";
|
|
46
46
|
import "../assets/data-grid.css";
|
|
47
|
-
const
|
|
47
|
+
const qt = (e) => {
|
|
48
48
|
if (!e)
|
|
49
49
|
return 0;
|
|
50
50
|
const s = window.getComputedStyle(e);
|
|
@@ -56,11 +56,11 @@ const jt = (e) => {
|
|
|
56
56
|
}
|
|
57
57
|
const u = parseFloat(s.top);
|
|
58
58
|
return !isNaN(u) && u < 0 && (i += u), i;
|
|
59
|
-
},
|
|
59
|
+
}, Kt = (e, s, i = E(!1), t = null) => {
|
|
60
60
|
const u = E(0);
|
|
61
61
|
let l = null, n = null;
|
|
62
62
|
const v = () => {
|
|
63
|
-
const f = s.value ?
|
|
63
|
+
const f = s.value ? qt(e.value) : 0, _ = i.value && t ? qt(t.value) : 0;
|
|
64
64
|
u.value = f + _;
|
|
65
65
|
};
|
|
66
66
|
return Xe(() => {
|
|
@@ -68,7 +68,7 @@ const jt = (e) => {
|
|
|
68
68
|
const f = ye(
|
|
69
69
|
e,
|
|
70
70
|
() => {
|
|
71
|
-
e != null && e.value && (_e(() => f()), l =
|
|
71
|
+
e != null && e.value && (_e(() => f()), l = Tt(e.value, v), n = new MutationObserver(v), n.observe(e.value, { attributes: !0, attributeFilter: ["class"] }));
|
|
72
72
|
},
|
|
73
73
|
{ immediate: !0 }
|
|
74
74
|
);
|
|
@@ -80,18 +80,18 @@ const jt = (e) => {
|
|
|
80
80
|
{ immediate: !0 }
|
|
81
81
|
);
|
|
82
82
|
});
|
|
83
|
-
}),
|
|
83
|
+
}), gl(() => {
|
|
84
84
|
l == null || l.disconnect(), n == null || n.disconnect();
|
|
85
85
|
}), u;
|
|
86
86
|
};
|
|
87
|
-
var
|
|
87
|
+
var Et = /* @__PURE__ */ ((e) => (e.WRAP = "wrap", e.ELLIPSIS = "ellipsis", e))(Et || {}), ie = /* @__PURE__ */ ((e) => (e.COLUMN_RESIZE = "column-resize", e.COLUMN_RESIZING = "column-resizing", e.SELECT_ALL_ROWS = "select-all-rows", e.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", e.SELECT_ALL_CURRENT_RESULTS = "select-all-current-results", e.DESELECT_ALL = "deselect-all", e.DESELECT_ALL_CURRENT_RESULTS = "deselect-all-current-results", e.COLUMN_MOVE = "column-move", e.COLUMN_UPDATE = "column-update", e.COLUMN_MENU_OPEN = "column-menu-open", e.COLUMN_MENU_CLOSE = "column-menu-close", e.COLUMN_HOVER = "column-hover", e.COLUMN_DRAG_START = "column-dragstart", e.COLUMN_DRAG_ENTER = "column-dragenter", e.COLUMN_DRAG_END = "column-dragend", e.COLUMN_DROP = "column-drop", e))(ie || {}), Me = /* @__PURE__ */ ((e) => (e.OUTLINE = "outline", e.SCROLL = "scroll", e.STICKY_FILTERS = "sticky-filters", e.OVERFLOW_SHADOW_LEFT = "overflow-shadow-left", e.OVERFLOW_SHADOW_RIGHT = "overflow-shadow-right", e.NO_SPACING_TOP = "no-spacing-top", e.FIT_CONTENT = "fit-content", e.ZEBRA_ROWS = "zebra-rows", e))(Me || {}), Ge = /* @__PURE__ */ ((e) => (e.ASCENDING = "asc", e.DESCENDING = "desc", e))(Ge || {}), z = /* @__PURE__ */ ((e) => (e.CELL_FOCUS = "cell-focus", e.COLUMNS = "columns", e.COLUMN_RESIZE = "column-resize", e.ITEMS_PAGE = "items-page", e.NAVIGATE = "navigate", e.NESTED_CONTENT_TOGGLED = "nested-content-toggled", e.FILTER_SEARCH_INPUT = "filter-search-input", e.FILTER_SEARCH_CLEAR = "filter-search-clear", e.UPDATE_COLUMNS = "update:columns", e.UPDATE_CONDENSED = "update:condensed", e.UPDATE_FILTERS = "update:filters", e.UPDATE_FILTER_VALUES = "update:filter-values", e.UPDATE_FILTER_VALUES_OBJECT = "update:filter-values-object", e.UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term", e.UPDATE_PAGINATION = "update:pagination", e.UPDATE_SELECTION = "update:selection", e.UPDATE_SHOW_MORE = "update:show-more", e.UPDATE_SORT_BY = "update:sort-by", e.UPDATE_ZEBRA_ROWS = "update:zebra-rows", e.ROW_CLICK = "row-click", e.SELECT = "select", e.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", e.SELECT_ALL_CURRENT_RESULTS = "select-all-current-results", e.DESELECT_ALL_CURRENT_RESULTS = "deselect-all-current-results", e.SORT = "sort", e))(z || {}), ut = /* @__PURE__ */ ((e) => (e.ASCENDING = "ascending", e.DESCENDING = "descending", e.NONE = "none", e))(ut || {});
|
|
88
88
|
const Qn = (e, s) => {
|
|
89
|
-
const i = E(null), t = E(!1), u = E(void 0), l = e.value.reduce((O, k) => (O[k.field] = null, O), {}), n =
|
|
89
|
+
const i = E(null), t = E(!1), u = E(void 0), l = e.value.reduce((O, k) => (O[k.field] = null, O), {}), n = yt(l), v = Rt(n);
|
|
90
90
|
let f = 0, _ = "";
|
|
91
91
|
const b = C(
|
|
92
92
|
() => Object.fromEntries(e.value.map(({ field: O, width: k, minWidth: R }) => [O, { width: k, minWidth: R }]))
|
|
93
93
|
);
|
|
94
|
-
|
|
94
|
+
_n(() => u.value = b.value);
|
|
95
95
|
let N = null, D = null;
|
|
96
96
|
const S = (O) => {
|
|
97
97
|
const k = O.clientX - f, R = _, M = u.value[R].width + k;
|
|
@@ -107,7 +107,7 @@ const Qn = (e, s) => {
|
|
|
107
107
|
c();
|
|
108
108
|
return;
|
|
109
109
|
}
|
|
110
|
-
_ = k, f = R.clientX, N =
|
|
110
|
+
_ = k, f = R.clientX, N = xt(window, "mousemove", S), D = xt(window, "mouseup", c);
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
113
|
return ye(
|
|
@@ -122,7 +122,7 @@ const Qn = (e, s) => {
|
|
|
122
122
|
isResizing: t,
|
|
123
123
|
columnHoverEventToEmitAfterResizing: i
|
|
124
124
|
};
|
|
125
|
-
}, eo = 100,
|
|
125
|
+
}, eo = 100, Yt = 50, Ee = "b-actions-column", to = 42, lo = 56, no = 56, oo = 80, so = 36, ao = 1, Sl = 16, io = 20, ro = (e, s, i) => {
|
|
126
126
|
const t = {}, u = [], l = (v) => {
|
|
127
127
|
const f = t[v];
|
|
128
128
|
f && f.frozen !== !0 && (t[v].frozen = !0, u.push(v));
|
|
@@ -153,9 +153,9 @@ const Qn = (e, s) => {
|
|
|
153
153
|
}), n();
|
|
154
154
|
}
|
|
155
155
|
return n(), t;
|
|
156
|
-
},
|
|
156
|
+
}, Jt = (e, s) => {
|
|
157
157
|
let i = ao;
|
|
158
|
-
return s && (i +=
|
|
158
|
+
return s && (i += Sl * 2), e != null && e.offsetWidth ? e.offsetWidth + i : 0;
|
|
159
159
|
}, uo = (e) => {
|
|
160
160
|
var s, i, t, u, l;
|
|
161
161
|
return (s = e == null ? void 0 : e.hasNestedContent) != null && s.value || (i = e == null ? void 0 : e.hasNestedRows) != null && i.value ? (t = e == null ? void 0 : e.hasSelectableColumn) != null && t.value ? (u = e == null ? void 0 : e.hasSelectableAcrossPages) != null && u.value ? oo : no : so : (l = e == null ? void 0 : e.hasSelectableAcrossPages) != null && l.value ? lo : to;
|
|
@@ -204,8 +204,8 @@ const Qn = (e, s) => {
|
|
|
204
204
|
let Re;
|
|
205
205
|
q.flex && q.flex > 0 ? (g += q.flex, Re = 0, a.push(q)) : Re = Math.max(
|
|
206
206
|
(q == null ? void 0 : q.width) ?? eo,
|
|
207
|
-
(q == null ? void 0 : q.minWidth) ??
|
|
208
|
-
), T += Re, q.width = Re, q.minWidth = (q == null ? void 0 : q.minWidth) ??
|
|
207
|
+
(q == null ? void 0 : q.minWidth) ?? Yt
|
|
208
|
+
), T += Re, q.width = Re, q.minWidth = (q == null ? void 0 : q.minWidth) ?? Yt, B[q.field] = q;
|
|
209
209
|
}), T += D.value;
|
|
210
210
|
const le = Math.max(S.value - T, 0);
|
|
211
211
|
if (g > 0 && S.value > 0) {
|
|
@@ -223,11 +223,11 @@ const Qn = (e, s) => {
|
|
|
223
223
|
}, R = async () => {
|
|
224
224
|
n.value.some((a) => a == null ? void 0 : a.autoWidth) && (N.value = !0, await _e(), await _e(), n == null || n.value.filter((a) => a == null ? void 0 : a.autoWidth).forEach(({ field: a, minWidth: g }) => {
|
|
225
225
|
var Z, le, we, ve;
|
|
226
|
-
const T =
|
|
226
|
+
const T = Jt(
|
|
227
227
|
(Z = _.value) == null ? void 0 : Z[a],
|
|
228
228
|
(le = l == null ? void 0 : l.hasColumnPanel) == null ? void 0 : le.value
|
|
229
229
|
), B = (ve = (we = b.value) == null ? void 0 : we[a]) == null ? void 0 : ve.reduce(
|
|
230
|
-
(fe, ne) => Math.max(fe,
|
|
230
|
+
(fe, ne) => Math.max(fe, Jt(ne)),
|
|
231
231
|
0
|
|
232
232
|
), x = Math.max(T, B ?? 0);
|
|
233
233
|
(g === void 0 || x > g) && k({
|
|
@@ -249,15 +249,15 @@ const Qn = (e, s) => {
|
|
|
249
249
|
width: ((T = (g = O.value) == null ? void 0 : g[a.field]) == null ? void 0 : T.width) ?? a.width
|
|
250
250
|
};
|
|
251
251
|
})
|
|
252
|
-
),
|
|
252
|
+
), h = C(
|
|
253
253
|
() => {
|
|
254
254
|
var a;
|
|
255
255
|
return ((a = M.value) == null ? void 0 : a.filter(({ visible: g }) => g !== !1).reduce((g, T) => T.width + g, 0)) + D.value;
|
|
256
256
|
}
|
|
257
257
|
), F = C(
|
|
258
|
-
() => S.value <=
|
|
259
|
-
),
|
|
260
|
-
width: S.value >
|
|
258
|
+
() => S.value <= h.value
|
|
259
|
+
), m = C(() => ({
|
|
260
|
+
width: S.value > h.value ? "100%" : "fit-content"
|
|
261
261
|
}));
|
|
262
262
|
return Xe(() => {
|
|
263
263
|
var g;
|
|
@@ -267,7 +267,7 @@ const Qn = (e, s) => {
|
|
|
267
267
|
const T = ye(
|
|
268
268
|
f,
|
|
269
269
|
() => {
|
|
270
|
-
f.value && (_e(() => T()), c =
|
|
270
|
+
f.value && (_e(() => T()), c = Tt(f.value, ({ width: B }) => {
|
|
271
271
|
S.value = B - a;
|
|
272
272
|
}));
|
|
273
273
|
},
|
|
@@ -276,25 +276,25 @@ const Qn = (e, s) => {
|
|
|
276
276
|
}), (g = document == null ? void 0 : document.fonts) != null && g.ready ? document.fonts.ready.then(() => {
|
|
277
277
|
R();
|
|
278
278
|
}) : R();
|
|
279
|
-
}),
|
|
279
|
+
}), gl(() => {
|
|
280
280
|
c == null || c.disconnect();
|
|
281
|
-
}),
|
|
281
|
+
}), bn(() => {
|
|
282
282
|
var a;
|
|
283
283
|
b.value && ((a = Object.keys(b.value)) == null ? void 0 : a.length) > 0 && Object.keys(b.value).forEach((T) => {
|
|
284
284
|
b.value[T] = [];
|
|
285
285
|
});
|
|
286
286
|
}), {
|
|
287
287
|
columnDefs: M,
|
|
288
|
-
gridRowWidthStyle:
|
|
288
|
+
gridRowWidthStyle: m,
|
|
289
289
|
onColumnWidthOverride: k,
|
|
290
290
|
isMeasuringColumnWidths: N,
|
|
291
291
|
isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: F,
|
|
292
292
|
columns: n,
|
|
293
|
-
totalWidthOfAllColumns:
|
|
293
|
+
totalWidthOfAllColumns: h,
|
|
294
294
|
rowActionsMaxWidth: D
|
|
295
295
|
};
|
|
296
296
|
}, fo = (e, s, i, t, u, l, n) => {
|
|
297
|
-
const v = E(e.value ?? []), f =
|
|
297
|
+
const v = E(e.value ?? []), f = yt({
|
|
298
298
|
allItemsSelected: !1,
|
|
299
299
|
isIndeterminate: !1
|
|
300
300
|
}), _ = C(
|
|
@@ -351,9 +351,9 @@ const Qn = (e, s) => {
|
|
|
351
351
|
}, M = (a, g) => {
|
|
352
352
|
_e(() => {
|
|
353
353
|
var T;
|
|
354
|
-
O(((T = g == null ? void 0 : g.children) == null ? void 0 : T.length) > 0 ?
|
|
354
|
+
O(((T = g == null ? void 0 : g.children) == null ? void 0 : T.length) > 0 ? h(a, g) : a), A();
|
|
355
355
|
});
|
|
356
|
-
},
|
|
356
|
+
}, h = (a, g) => {
|
|
357
357
|
var x;
|
|
358
358
|
const T = t(g), B = (x = g.children) == null ? void 0 : x.filter((Z) => !u(Z)).map((Z) => t(Z));
|
|
359
359
|
if (a.includes(T)) {
|
|
@@ -373,7 +373,7 @@ const Qn = (e, s) => {
|
|
|
373
373
|
a.includes(B) && !((Z = g == null ? void 0 : g.children) != null && Z.every((le) => a.includes(t(le)))) ? a.filter((le) => le !== B) : a
|
|
374
374
|
), A();
|
|
375
375
|
});
|
|
376
|
-
},
|
|
376
|
+
}, m = C(() => c.value ? "all" : N.value ? "page" : !v.value || v.value.length === 0 ? "none" : S.value ? "unselected-page" : "single");
|
|
377
377
|
return ye(
|
|
378
378
|
() => e.value,
|
|
379
379
|
() => {
|
|
@@ -398,7 +398,7 @@ const Qn = (e, s) => {
|
|
|
398
398
|
onDeselectAll: R,
|
|
399
399
|
allItemsSelectedState: f,
|
|
400
400
|
selectedItems: v,
|
|
401
|
-
selectionState:
|
|
401
|
+
selectionState: m
|
|
402
402
|
};
|
|
403
403
|
}, go = (e, s, i) => ({ isSorting: (n) => e.value.some((v) => v.field === n), getSortingDirection: (n) => {
|
|
404
404
|
var v;
|
|
@@ -430,53 +430,53 @@ const et = "b-row-actions-column", vo = (e, s, i, t, u, l) => {
|
|
|
430
430
|
const M = [];
|
|
431
431
|
if (n.value)
|
|
432
432
|
for (const F of v.value) {
|
|
433
|
-
const
|
|
434
|
-
M.push(
|
|
433
|
+
const m = s.value[F.field];
|
|
434
|
+
M.push(m);
|
|
435
435
|
}
|
|
436
|
-
const
|
|
437
|
-
for (let F = 0; F <
|
|
438
|
-
for (const
|
|
439
|
-
const a = e.value[
|
|
436
|
+
const h = e.value[R].length;
|
|
437
|
+
for (let F = 0; F < h; F++)
|
|
438
|
+
for (const m of v.value) {
|
|
439
|
+
const a = e.value[m.field];
|
|
440
440
|
a != null && a[F] && M.push(a[F]);
|
|
441
441
|
}
|
|
442
442
|
return M;
|
|
443
|
-
}), b = (R) => Math.floor(R / f.value), N = (R, M,
|
|
444
|
-
const F = _.value.length - 1,
|
|
443
|
+
}), b = (R) => Math.floor(R / f.value), N = (R, M, h) => {
|
|
444
|
+
const F = _.value.length - 1, m = f.value - 1, a = b(R), g = R - f.value * a;
|
|
445
445
|
return {
|
|
446
446
|
[pe.PAGE_UP]: g + (n.value ? f.value : 0),
|
|
447
|
-
[pe.PAGE_DOWN]: F -
|
|
448
|
-
[pe.END]:
|
|
449
|
-
[pe.HOME]:
|
|
447
|
+
[pe.PAGE_DOWN]: F - m + g,
|
|
448
|
+
[pe.END]: h ? F : f.value * a + m,
|
|
449
|
+
[pe.HOME]: h ? n.value ? f.value : 0 : f.value * a
|
|
450
450
|
}[M];
|
|
451
451
|
}, D = (R, M) => {
|
|
452
|
-
const
|
|
452
|
+
const h = b(R), m = {
|
|
453
453
|
[pe.ARROW_DOWN]: f.value,
|
|
454
|
-
[pe.ARROW_UP]:
|
|
454
|
+
[pe.ARROW_UP]: h === 0 && !n.value ? 0 : -f.value,
|
|
455
455
|
[pe.ARROW_LEFT]: -1,
|
|
456
456
|
[pe.ARROW_RIGHT]: 1
|
|
457
|
-
}[M], a = R +
|
|
457
|
+
}[M], a = R + m;
|
|
458
458
|
return a < 0 || a >= _.value.length ? R : a;
|
|
459
459
|
}, S = (R) => [
|
|
460
460
|
pe.PAGE_UP,
|
|
461
461
|
pe.PAGE_DOWN,
|
|
462
462
|
pe.END,
|
|
463
463
|
pe.HOME
|
|
464
|
-
].includes(R), c = (R, M,
|
|
464
|
+
].includes(R), c = (R, M, h) => {
|
|
465
465
|
const F = _.value.indexOf(R);
|
|
466
|
-
return S(M) ? N(F, M,
|
|
467
|
-
}, A = (R, M,
|
|
466
|
+
return S(M) ? N(F, M, h) : D(F, M);
|
|
467
|
+
}, A = (R, M, h) => {
|
|
468
468
|
if (!_.value.includes(R))
|
|
469
469
|
return;
|
|
470
|
-
const F = c(R, M,
|
|
470
|
+
const F = c(R, M, h);
|
|
471
471
|
_.value[F].focus();
|
|
472
472
|
}, O = (R) => R in pe;
|
|
473
473
|
return {
|
|
474
474
|
isNavigationKeyCode: O,
|
|
475
475
|
focusOnNextGridcell: A,
|
|
476
476
|
navigationInput: (R) => {
|
|
477
|
-
const { ctrlKey: M, key:
|
|
477
|
+
const { ctrlKey: M, key: h, target: F } = R, m = h;
|
|
478
478
|
let a = F;
|
|
479
|
-
a.getAttribute("role") !== "menuitem" && (_.value.includes(a) || (a = F.closest('[role="gridcell"], [role="columnheader"]')), _.value.includes(a) && O(
|
|
479
|
+
a.getAttribute("role") !== "menuitem" && (_.value.includes(a) || (a = F.closest('[role="gridcell"], [role="columnheader"]')), _.value.includes(a) && O(m) && A(a, m, M));
|
|
480
480
|
}
|
|
481
481
|
};
|
|
482
482
|
}, mo = 90, ho = (e, s, i, t, u) => {
|
|
@@ -490,7 +490,7 @@ const et = "b-row-actions-column", vo = (e, s, i, t, u, l) => {
|
|
|
490
490
|
}
|
|
491
491
|
), { isLazyLoad: _, isInfiniteScroll: b, verticalScrollPosition: n, emitLazyLoadEvent: N };
|
|
492
492
|
}, Co = (e, s, i) => {
|
|
493
|
-
const t = E(e), u = E(s), l =
|
|
493
|
+
const t = E(e), u = E(s), l = yt({
|
|
494
494
|
dragging: null,
|
|
495
495
|
dragToLeft: null,
|
|
496
496
|
target: null
|
|
@@ -509,23 +509,23 @@ const et = "b-row-actions-column", vo = (e, s, i, t, u, l) => {
|
|
|
509
509
|
}, _ = (S) => {
|
|
510
510
|
var c, A;
|
|
511
511
|
if (((c = l.dragging) == null ? void 0 : c.field) !== S.field) {
|
|
512
|
-
const O = t.value.findIndex((
|
|
512
|
+
const O = t.value.findIndex((m) => {
|
|
513
513
|
var a;
|
|
514
|
-
return
|
|
515
|
-
}), k = t.value.findIndex((
|
|
516
|
-
let
|
|
517
|
-
|
|
514
|
+
return m.field === ((a = l.dragging) == null ? void 0 : a.field);
|
|
515
|
+
}), k = t.value.findIndex((m) => m.field === S.field), R = l.dragToLeft ? k : k + 1, M = R > O ? R - 1 : R;
|
|
516
|
+
let h = [...t.value];
|
|
517
|
+
h.splice(
|
|
518
518
|
M === -1 ? 0 : M,
|
|
519
519
|
0,
|
|
520
|
-
|
|
520
|
+
h.splice(O, 1)[0]
|
|
521
521
|
);
|
|
522
|
-
const F = t.value.findIndex((
|
|
523
|
-
((A = l.dragging) == null ? void 0 : A.frozen) !== S.frozen && R !== F && (
|
|
524
|
-
(
|
|
522
|
+
const F = t.value.findIndex((m) => !(m != null && m.frozen));
|
|
523
|
+
((A = l.dragging) == null ? void 0 : A.frozen) !== S.frozen && R !== F && (h = h.map(
|
|
524
|
+
(m) => {
|
|
525
525
|
var a;
|
|
526
|
-
return ((a = l.dragging) == null ? void 0 : a.field) ===
|
|
526
|
+
return ((a = l.dragging) == null ? void 0 : a.field) === m.field ? { ...m, frozen: !!(S != null && S.frozen) } : m;
|
|
527
527
|
}
|
|
528
|
-
)), i(z.COLUMNS,
|
|
528
|
+
)), i(z.COLUMNS, h), i(z.UPDATE_COLUMNS, h);
|
|
529
529
|
}
|
|
530
530
|
l.dragging = null, l.target = null;
|
|
531
531
|
}, b = () => {
|
|
@@ -649,16 +649,16 @@ const et = "b-row-actions-column", vo = (e, s, i, t, u, l) => {
|
|
|
649
649
|
hoveredOverColumn: u,
|
|
650
650
|
hoveredOverColumnState: l
|
|
651
651
|
};
|
|
652
|
-
},
|
|
653
|
-
const i =
|
|
652
|
+
}, Nt = (e) => {
|
|
653
|
+
const i = wl(e).filter((t) => t.node !== e);
|
|
654
654
|
return (i == null ? void 0 : i.length) > 0 ? (i[0].node.focus(), !0) : !1;
|
|
655
655
|
}, Ze = (e) => {
|
|
656
|
-
const s =
|
|
656
|
+
const s = wl(e), i = s == null ? void 0 : s.filter((t) => t.node !== e);
|
|
657
657
|
if ((i == null ? void 0 : i.length) > 0)
|
|
658
658
|
return i.forEach((t) => t.node.setAttribute("tabindex", "-1")), i;
|
|
659
|
-
},
|
|
659
|
+
}, pl = (e) => {
|
|
660
660
|
(e == null ? void 0 : e.length) > 0 && e.forEach((s) => s == null ? void 0 : s.node.setAttribute("tabindex", "0"));
|
|
661
|
-
},
|
|
661
|
+
}, Xt = () => {
|
|
662
662
|
const e = window.getSelection().getRangeAt(0).cloneContents(), s = e.querySelectorAll('[role="row"]');
|
|
663
663
|
let i = "<table>", t = "";
|
|
664
664
|
const u = (l) => {
|
|
@@ -697,10 +697,10 @@ const et = "b-row-actions-column", vo = (e, s, i, t, u, l) => {
|
|
|
697
697
|
})
|
|
698
698
|
]);
|
|
699
699
|
};
|
|
700
|
-
let
|
|
700
|
+
let Qt = 0;
|
|
701
701
|
const So = {
|
|
702
702
|
beforeCreate() {
|
|
703
|
-
this.uuid =
|
|
703
|
+
this.uuid = Qt.toString(), Qt += 1;
|
|
704
704
|
}
|
|
705
705
|
}, po = { key: 0 }, Eo = ["clip-path"], yo = ["id"];
|
|
706
706
|
function Ro(e, s, i, t, u, l) {
|
|
@@ -733,10 +733,10 @@ function Ro(e, s, i, t, u, l) {
|
|
|
733
733
|
], 16);
|
|
734
734
|
}
|
|
735
735
|
const Lo = /* @__PURE__ */ ue(So, [["render", Ro]]);
|
|
736
|
-
let
|
|
736
|
+
let el = 0;
|
|
737
737
|
const Ao = {
|
|
738
738
|
beforeCreate() {
|
|
739
|
-
this.uuid =
|
|
739
|
+
this.uuid = el.toString(), el += 1;
|
|
740
740
|
}
|
|
741
741
|
}, To = { key: 0 }, Oo = ["clip-path"], No = ["id"];
|
|
742
742
|
function Io(e, s, i, t, u, l) {
|
|
@@ -770,11 +770,11 @@ function Io(e, s, i, t, u, l) {
|
|
|
770
770
|
])
|
|
771
771
|
], 16);
|
|
772
772
|
}
|
|
773
|
-
const
|
|
774
|
-
let
|
|
773
|
+
const El = /* @__PURE__ */ ue(Ao, [["render", Io]]);
|
|
774
|
+
let tl = 0;
|
|
775
775
|
const $o = {
|
|
776
776
|
beforeCreate() {
|
|
777
|
-
this.uuid =
|
|
777
|
+
this.uuid = tl.toString(), tl += 1;
|
|
778
778
|
}
|
|
779
779
|
}, Do = { key: 0 }, ko = ["clip-path"], Uo = ["id"];
|
|
780
780
|
function Mo(e, s, i, t, u, l) {
|
|
@@ -809,10 +809,10 @@ function Mo(e, s, i, t, u, l) {
|
|
|
809
809
|
], 16);
|
|
810
810
|
}
|
|
811
811
|
const Fo = /* @__PURE__ */ ue($o, [["render", Mo]]);
|
|
812
|
-
let
|
|
812
|
+
let ll = 0;
|
|
813
813
|
const zo = {
|
|
814
814
|
beforeCreate() {
|
|
815
|
-
this.uuid =
|
|
815
|
+
this.uuid = ll.toString(), ll += 1;
|
|
816
816
|
}
|
|
817
817
|
}, Po = { key: 0 }, Bo = ["clip-path"], Wo = ["id"];
|
|
818
818
|
function Vo(e, s, i, t, u, l) {
|
|
@@ -847,10 +847,10 @@ function Vo(e, s, i, t, u, l) {
|
|
|
847
847
|
], 16);
|
|
848
848
|
}
|
|
849
849
|
const Ho = /* @__PURE__ */ ue(zo, [["render", Vo]]);
|
|
850
|
-
let
|
|
850
|
+
let nl = 0;
|
|
851
851
|
const Go = {
|
|
852
852
|
beforeCreate() {
|
|
853
|
-
this.uuid =
|
|
853
|
+
this.uuid = nl.toString(), nl += 1;
|
|
854
854
|
}
|
|
855
855
|
}, xo = { key: 0 };
|
|
856
856
|
function Zo(e, s, i, t, u, l) {
|
|
@@ -868,7 +868,7 @@ function Zo(e, s, i, t, u, l) {
|
|
|
868
868
|
}, null, -1))
|
|
869
869
|
], 16);
|
|
870
870
|
}
|
|
871
|
-
const jo = /* @__PURE__ */ ue(Go, [["render", Zo]]),
|
|
871
|
+
const jo = /* @__PURE__ */ ue(Go, [["render", Zo]]), yl = {
|
|
872
872
|
"en-US": {
|
|
873
873
|
columnActions: "{name} column actions",
|
|
874
874
|
deselectAll: "Deselect all",
|
|
@@ -932,7 +932,7 @@ const jo = /* @__PURE__ */ ue(Go, [["render", Zo]]), El = {
|
|
|
932
932
|
sortColumnInDescendingOrder: "Classificar a coluna {name} em ordem decrescente",
|
|
933
933
|
unfreezeColumn: "Descongelar coluna"
|
|
934
934
|
}
|
|
935
|
-
},
|
|
935
|
+
}, Rl = /* @__PURE__ */ Symbol("data-grid slashed zero key"), lt = /* @__PURE__ */ Symbol("data-grid small container key"), vt = /* @__PURE__ */ Symbol("data-grid touch device key"), qo = ["aria-colindex", "aria-label", "aria-sort", "data-testid", "draggable", "tabindex"], Ko = { class: "b-data-grid-columns__select-column-menu-button" }, Yo = ["aria-label"], Jo = { class: "b-data-grid-columns__label" }, Xo = {
|
|
936
936
|
key: 0,
|
|
937
937
|
class: "b-data-grid-columns__column-info-icon"
|
|
938
938
|
}, Qo = {
|
|
@@ -942,7 +942,7 @@ const jo = /* @__PURE__ */ ue(Go, [["render", Zo]]), El = {
|
|
|
942
942
|
key: 0,
|
|
943
943
|
class: "b-data-grid-columns__column-separator"
|
|
944
944
|
}, ls = ["aria-label", "aria-colindex"], ns = {
|
|
945
|
-
i18n: { messages:
|
|
945
|
+
i18n: { messages: yl },
|
|
946
946
|
name: "data-grid-columns"
|
|
947
947
|
}, os = /* @__PURE__ */ Ie({
|
|
948
948
|
...ns,
|
|
@@ -1092,7 +1092,7 @@ const jo = /* @__PURE__ */ ue(Go, [["render", Zo]]), El = {
|
|
|
1092
1092
|
},
|
|
1093
1093
|
emits: ["sort", "column-hover"],
|
|
1094
1094
|
setup(e, { expose: s, emit: i }) {
|
|
1095
|
-
const t = e, u = i, l = 100, { t: n } = We({ messages:
|
|
1095
|
+
const t = e, u = i, l = 100, { t: n } = We({ messages: yl }), { columns: v, sortBy: f } = Rt(t), _ = E(), b = E({}), N = E({}), D = E(), S = E(), c = (d) => u(ie.SELECT_ALL_ROWS, d), A = (d) => d.field === Ee, O = C(() => t.selectionState === "all"), k = C(
|
|
1096
1096
|
() => {
|
|
1097
1097
|
var d, V, U;
|
|
1098
1098
|
return [
|
|
@@ -1131,15 +1131,15 @@ const jo = /* @__PURE__ */ ue(Go, [["render", Zo]]), El = {
|
|
|
1131
1131
|
}
|
|
1132
1132
|
].filter(Boolean);
|
|
1133
1133
|
}
|
|
1134
|
-
), { startResize: R, isResizing: M, columnHoverEventToEmitAfterResizing:
|
|
1134
|
+
), { startResize: R, isResizing: M, columnHoverEventToEmitAfterResizing: h } = Qn(v, u), { isSorting: F, getSortingDirection: m, sortByColumnField: a } = go(f, v, u), g = (d) => {
|
|
1135
1135
|
var Ce;
|
|
1136
1136
|
if (!d.sortable)
|
|
1137
1137
|
return null;
|
|
1138
1138
|
const V = (Ce = t.sortBy.find(({ field: me }) => me === d.field)) == null ? void 0 : Ce.direction;
|
|
1139
1139
|
return V ? {
|
|
1140
|
-
[Ge.ASCENDING]:
|
|
1141
|
-
[Ge.DESCENDING]:
|
|
1142
|
-
}[V] :
|
|
1140
|
+
[Ge.ASCENDING]: ut.ASCENDING,
|
|
1141
|
+
[Ge.DESCENDING]: ut.DESCENDING
|
|
1142
|
+
}[V] : ut.NONE;
|
|
1143
1143
|
}, T = C(() => (d) => t.hasDraggableColumns ? {
|
|
1144
1144
|
dragstart: (V) => {
|
|
1145
1145
|
u(ie.COLUMN_DRAG_START, d, V);
|
|
@@ -1173,7 +1173,7 @@ const jo = /* @__PURE__ */ ue(Go, [["render", Zo]]), El = {
|
|
|
1173
1173
|
!fe.value && {
|
|
1174
1174
|
text: d != null && d.frozen ? n("unfreezeColumn") : n("freezeColumn"),
|
|
1175
1175
|
handler: () => u(ie.COLUMN_UPDATE, { ...d, frozen: !(d != null && d.frozen) }),
|
|
1176
|
-
icon:
|
|
1176
|
+
icon: El
|
|
1177
1177
|
},
|
|
1178
1178
|
{
|
|
1179
1179
|
text: (d == null ? void 0 : d.visible) !== !1 ? n("hideColumn") : n("showColumn"),
|
|
@@ -1197,13 +1197,13 @@ const jo = /* @__PURE__ */ ue(Go, [["render", Zo]]), El = {
|
|
|
1197
1197
|
}, le = (d) => {
|
|
1198
1198
|
let V = {
|
|
1199
1199
|
mouseenter: () => {
|
|
1200
|
-
x(d), M.value ?
|
|
1200
|
+
x(d), M.value ? h.value = d : u("column-hover", d);
|
|
1201
1201
|
},
|
|
1202
1202
|
mouseleave: () => {
|
|
1203
|
-
Z(d), M.value ?
|
|
1203
|
+
Z(d), M.value ? h.value = null : u("column-hover", null);
|
|
1204
1204
|
},
|
|
1205
1205
|
focus: () => {
|
|
1206
|
-
x(d), A(d) &&
|
|
1206
|
+
x(d), A(d) && Nt(b.value[d.field]);
|
|
1207
1207
|
},
|
|
1208
1208
|
focusout: (U) => {
|
|
1209
1209
|
var Ce;
|
|
@@ -1218,9 +1218,9 @@ const jo = /* @__PURE__ */ ue(Go, [["render", Zo]]), El = {
|
|
|
1218
1218
|
var U;
|
|
1219
1219
|
((U = b.value) == null ? void 0 : U[V]) === void 0 && (b.value = { ...b.value, [V]: null }), d !== null && (b.value[V] = d);
|
|
1220
1220
|
}, fe = Pe(
|
|
1221
|
-
|
|
1221
|
+
lt,
|
|
1222
1222
|
C(() => !1)
|
|
1223
|
-
), ne = Pe(
|
|
1223
|
+
), ne = Pe(vt, E(!1)), q = C(() => {
|
|
1224
1224
|
var V;
|
|
1225
1225
|
const d = {
|
|
1226
1226
|
"b-data-grid-columns--is-measuring": t.isMeasuringColumnWidths
|
|
@@ -1236,7 +1236,7 @@ const jo = /* @__PURE__ */ ue(Go, [["render", Zo]]), El = {
|
|
|
1236
1236
|
};
|
|
1237
1237
|
}), Re = C(() => ({
|
|
1238
1238
|
"b-data-grid-columns__select-column--all": t.selectableAcrossPages
|
|
1239
|
-
})), y = (d, V) => d && V === 0 ?
|
|
1239
|
+
})), y = (d, V) => d && V === 0 ? Gt.BOTTOM_START : Gt.BOTTOM_END, Q = (d, V) => {
|
|
1240
1240
|
var U, Ce, me, w, I, te, oe, ae, re, K;
|
|
1241
1241
|
return {
|
|
1242
1242
|
"b-data-grid-columns__column--column-hovered": d.field === t.hoveredOverColumnState.hoveredOverColumnField,
|
|
@@ -1287,12 +1287,12 @@ const jo = /* @__PURE__ */ ue(Go, [["render", Zo]]), El = {
|
|
|
1287
1287
|
role: "columnheader",
|
|
1288
1288
|
tabindex: U.sortable || e.hasColumnPanel || U.infoIconTooltip ? "0" : "-1",
|
|
1289
1289
|
style: { width: U.autoWidth && e.isMeasuringColumnWidths ? "auto" : `${U.width}px` }
|
|
1290
|
-
},
|
|
1290
|
+
}, gt(le(U), !0)), [
|
|
1291
1291
|
A(U) && e.selectable ? (r(), p("div", {
|
|
1292
1292
|
key: 0,
|
|
1293
1293
|
class: ce(["b-data-grid-columns__select-column", Re.value])
|
|
1294
1294
|
}, [
|
|
1295
|
-
e.selectableAcrossPages ? W("", !0) : (r(), H(o(
|
|
1295
|
+
e.selectableAcrossPages ? W("", !0) : (r(), H(o(bl), {
|
|
1296
1296
|
key: 0,
|
|
1297
1297
|
"aria-label": o(n)("selectAll"),
|
|
1298
1298
|
"model-value": e.allItemsSelectedState.allItemsSelected,
|
|
@@ -1301,7 +1301,7 @@ const jo = /* @__PURE__ */ ue(Go, [["render", Zo]]), El = {
|
|
|
1301
1301
|
value: "data-grid-select-all",
|
|
1302
1302
|
"onUpdate:modelValue": c
|
|
1303
1303
|
}, null, 8, ["aria-label", "model-value", "indeterminate"])),
|
|
1304
|
-
e.selectableAcrossPages ? (r(), H(o(
|
|
1304
|
+
e.selectableAcrossPages ? (r(), H(o(pt), {
|
|
1305
1305
|
key: 1,
|
|
1306
1306
|
button: { variant: "tertiary", condensed: !0, "aria-label": o(n)("selectAllMenu") },
|
|
1307
1307
|
data: k.value,
|
|
@@ -1356,17 +1356,17 @@ const jo = /* @__PURE__ */ ue(Go, [["render", Zo]]), El = {
|
|
|
1356
1356
|
}, null, 8, ["tooltip-text"])
|
|
1357
1357
|
])) : W("", !0),
|
|
1358
1358
|
U.sortable ? (r(), p("div", Qo, [
|
|
1359
|
-
Y(o(
|
|
1359
|
+
Y(o(Ot), {
|
|
1360
1360
|
condensed: "",
|
|
1361
1361
|
toggled: o(F)(U.field),
|
|
1362
1362
|
variant: "tertiary",
|
|
1363
1363
|
onClick: (me) => o(a)(U.field)
|
|
1364
1364
|
}, {
|
|
1365
1365
|
iconLeft: G(() => [
|
|
1366
|
-
o(
|
|
1366
|
+
o(m)(U.field) ? o(m)(U.field) === o(Ge).ASCENDING ? (r(), H(o(Fo), {
|
|
1367
1367
|
key: 1,
|
|
1368
1368
|
"svg-title": o(n)("sortColumnInDescendingOrder", { name: U.label })
|
|
1369
|
-
}, null, 8, ["svg-title"])) : o(
|
|
1369
|
+
}, null, 8, ["svg-title"])) : o(m)(U.field) === o(Ge).DESCENDING ? (r(), H(o(Ho), {
|
|
1370
1370
|
key: 2,
|
|
1371
1371
|
"svg-title": o(n)("sortColumnInAscendingOrder", { name: U.label })
|
|
1372
1372
|
}, null, 8, ["svg-title"])) : W("", !0) : (r(), H(o(Lo), {
|
|
@@ -1377,7 +1377,7 @@ const jo = /* @__PURE__ */ ue(Go, [["render", Zo]]), El = {
|
|
|
1377
1377
|
_: 2
|
|
1378
1378
|
}, 1032, ["toggled", "onClick"])
|
|
1379
1379
|
])) : W("", !0),
|
|
1380
|
-
e.hasColumnPanel ? (r(), H(o(
|
|
1380
|
+
e.hasColumnPanel ? (r(), H(o(pt), {
|
|
1381
1381
|
key: 2,
|
|
1382
1382
|
ref_for: !0,
|
|
1383
1383
|
ref: (me) => N.value[U.field] = me,
|
|
@@ -1397,7 +1397,7 @@ const jo = /* @__PURE__ */ ue(Go, [["render", Zo]]), El = {
|
|
|
1397
1397
|
class: ce(["b-data-grid-columns__column-separator-container", Ve(U)]),
|
|
1398
1398
|
role: "presentation",
|
|
1399
1399
|
onMousedown: (me) => o(R)(e.hasResizableColumns, U.field, me),
|
|
1400
|
-
onClick: V[2] || (V[2] =
|
|
1400
|
+
onClick: V[2] || (V[2] = wn(() => {
|
|
1401
1401
|
}, ["stop"]))
|
|
1402
1402
|
}, [
|
|
1403
1403
|
!e.isFrozenColumns || e.isFrozenColumns && Ce !== o(v).length - 1 ? (r(), p("div", ts)) : W("", !0)
|
|
@@ -1423,10 +1423,10 @@ const jo = /* @__PURE__ */ ue(Go, [["render", Zo]]), El = {
|
|
|
1423
1423
|
}
|
|
1424
1424
|
}), ss = /* @__PURE__ */ ue(os, [["__scopeId", "data-v-ee88da0d"]]);
|
|
1425
1425
|
var Ue = /* @__PURE__ */ ((e) => (e.UPDATE_CONDENSED = "update:condensed", e.UPDATE_COLUMNS = "update:columns", e.UPDATE_ZEBRA_ROWS = "update:zebra-rows", e))(Ue || {});
|
|
1426
|
-
let
|
|
1426
|
+
let ol = 0;
|
|
1427
1427
|
const as = {
|
|
1428
1428
|
beforeCreate() {
|
|
1429
|
-
this.uuid =
|
|
1429
|
+
this.uuid = ol.toString(), ol += 1;
|
|
1430
1430
|
}
|
|
1431
1431
|
}, is = { key: 0 }, rs = ["clip-path"], ds = ["id"];
|
|
1432
1432
|
function us(e, s, i, t, u, l) {
|
|
@@ -1458,7 +1458,7 @@ function us(e, s, i, t, u, l) {
|
|
|
1458
1458
|
])
|
|
1459
1459
|
], 16);
|
|
1460
1460
|
}
|
|
1461
|
-
const cs = /* @__PURE__ */ ue(as, [["render", us]]),
|
|
1461
|
+
const cs = /* @__PURE__ */ ue(as, [["render", us]]), sl = {
|
|
1462
1462
|
"en-US": {
|
|
1463
1463
|
toggleColumnFreeze: "Toggle {label} column freeze",
|
|
1464
1464
|
toggleColumnVisibility: "Toggle {label} column visibility"
|
|
@@ -1472,11 +1472,11 @@ const cs = /* @__PURE__ */ ue(as, [["render", us]]), ol = {
|
|
|
1472
1472
|
toggleColumnVisibility: "Alternar visibilidade da coluna {label}"
|
|
1473
1473
|
}
|
|
1474
1474
|
}, fs = Ie({
|
|
1475
|
-
i18n: { messages:
|
|
1475
|
+
i18n: { messages: sl },
|
|
1476
1476
|
name: "bento-data-grid",
|
|
1477
1477
|
components: {
|
|
1478
|
-
BentoFreezeIcon:
|
|
1479
|
-
BentoToggle:
|
|
1478
|
+
BentoFreezeIcon: El,
|
|
1479
|
+
BentoToggle: _l
|
|
1480
1480
|
},
|
|
1481
1481
|
props: {
|
|
1482
1482
|
/**
|
|
@@ -1496,14 +1496,14 @@ const cs = /* @__PURE__ */ ue(as, [["render", us]]), ol = {
|
|
|
1496
1496
|
},
|
|
1497
1497
|
emits: ["visible-column", "updated-column"],
|
|
1498
1498
|
setup(e, { emit: s }) {
|
|
1499
|
-
const { t: i } = We({ messages:
|
|
1499
|
+
const { t: i } = We({ messages: sl }), t = E(!1), u = C(() => {
|
|
1500
1500
|
var D;
|
|
1501
1501
|
return (D = e.column) == null ? void 0 : D.frozen;
|
|
1502
1502
|
}), l = C(() => {
|
|
1503
1503
|
var D;
|
|
1504
1504
|
return ((D = e.column) == null ? void 0 : D.visible) !== !1;
|
|
1505
1505
|
}), n = Pe(
|
|
1506
|
-
|
|
1506
|
+
lt,
|
|
1507
1507
|
C(() => !1)
|
|
1508
1508
|
), v = () => {
|
|
1509
1509
|
s("visible-column", { ...e.column, visible: !l.value });
|
|
@@ -1552,16 +1552,16 @@ function gs(e, s, i, t, u, l) {
|
|
|
1552
1552
|
]),
|
|
1553
1553
|
_: 1
|
|
1554
1554
|
}, 8, ["aria-label", "disabled", "value", "onInput"]),
|
|
1555
|
-
|
|
1555
|
+
tt(Y(v, {
|
|
1556
1556
|
"aria-label": e.t("toggleColumnFreeze", { label: e.column.label }),
|
|
1557
1557
|
class: ce(["b-data-grid-config-settings-column-row__freeze-icon", e.freezeIconConditionalClasses]),
|
|
1558
1558
|
onClick: e.toggleColumnFreeze
|
|
1559
1559
|
}, null, 8, ["aria-label", "class", "onClick"]), [
|
|
1560
|
-
[
|
|
1560
|
+
[Sn, (e.isColumnFrozen || e.isFreezeIconOptionShown) && !e.isSmallContainer]
|
|
1561
1561
|
])
|
|
1562
1562
|
], 32);
|
|
1563
1563
|
}
|
|
1564
|
-
const vs = /* @__PURE__ */ ue(fs, [["render", gs], ["__scopeId", "data-v-0769d049"]]),
|
|
1564
|
+
const vs = /* @__PURE__ */ ue(fs, [["render", gs], ["__scopeId", "data-v-0769d049"]]), al = {
|
|
1565
1565
|
"en-US": {
|
|
1566
1566
|
appearance: "Appearance",
|
|
1567
1567
|
closeConfigSettingsPanel: "Close configuration settings panel",
|
|
@@ -1614,18 +1614,18 @@ const vs = /* @__PURE__ */ ue(fs, [["render", gs], ["__scopeId", "data-v-0769d04
|
|
|
1614
1614
|
zebraRowsToggle: "Alternar linhas alternadas"
|
|
1615
1615
|
}
|
|
1616
1616
|
}, ms = Ie({
|
|
1617
|
-
i18n: { messages:
|
|
1617
|
+
i18n: { messages: al },
|
|
1618
1618
|
name: "bento-data-grid",
|
|
1619
1619
|
components: {
|
|
1620
|
-
BentoButton:
|
|
1621
|
-
BentoCrossIcon:
|
|
1620
|
+
BentoButton: Cl,
|
|
1621
|
+
BentoCrossIcon: ml,
|
|
1622
1622
|
BentoPopover: zn,
|
|
1623
1623
|
BentoSettingsIcon: cs,
|
|
1624
|
-
BentoToggleButton:
|
|
1624
|
+
BentoToggleButton: Ot,
|
|
1625
1625
|
BentoDataGridConfigSettingsConfigRow: vs,
|
|
1626
1626
|
BentoSearchBar: Bn,
|
|
1627
1627
|
BentoSearchIcon: Hn,
|
|
1628
|
-
BentoToggle:
|
|
1628
|
+
BentoToggle: _l,
|
|
1629
1629
|
BentoTypography: je
|
|
1630
1630
|
},
|
|
1631
1631
|
directives: { BentoClickOutsideDirective: Wn },
|
|
@@ -1658,7 +1658,7 @@ const vs = /* @__PURE__ */ ue(fs, [["render", gs], ["__scopeId", "data-v-0769d04
|
|
|
1658
1658
|
Ue.UPDATE_ZEBRA_ROWS
|
|
1659
1659
|
],
|
|
1660
1660
|
setup(e, { emit: s }) {
|
|
1661
|
-
const { t: i } = We({ messages:
|
|
1661
|
+
const { t: i } = We({ messages: al }), t = E(null), u = ft("data-grid-config-settings-popover"), l = E(null), n = E(!1), v = E(!0), f = E(null), _ = E(""), b = wt(e, "columns"), N = E(!1), D = Vn(_, b), S = () => {
|
|
1662
1662
|
_.value = "";
|
|
1663
1663
|
}, c = C(
|
|
1664
1664
|
() => !e.columns.some((g) => g.visible === !1 && !g.mandatory)
|
|
@@ -1690,7 +1690,7 @@ const vs = /* @__PURE__ */ ue(fs, [["render", gs], ["__scopeId", "data-v-0769d04
|
|
|
1690
1690
|
frozen: g.field === B.field ? !!(g != null && g.frozen) : !!(B != null && B.frozen)
|
|
1691
1691
|
}));
|
|
1692
1692
|
s(Ue.UPDATE_COLUMNS, T);
|
|
1693
|
-
},
|
|
1693
|
+
}, h = (g) => {
|
|
1694
1694
|
n.value = g, v.value = c.value;
|
|
1695
1695
|
};
|
|
1696
1696
|
return {
|
|
@@ -1706,14 +1706,14 @@ const vs = /* @__PURE__ */ ue(fs, [["render", gs], ["__scopeId", "data-v-0769d04
|
|
|
1706
1706
|
searchButtonRef: f,
|
|
1707
1707
|
DATAGRID_ACTIONS_COLUMN_FIELD_NAME: Ee,
|
|
1708
1708
|
// Methods
|
|
1709
|
-
setConfigSettingsPanelVisibility:
|
|
1709
|
+
setConfigSettingsPanelVisibility: h,
|
|
1710
1710
|
emitCondensedToggle: (g) => s(Ue.UPDATE_CONDENSED, g),
|
|
1711
1711
|
toggleAllColumnVisibility: R,
|
|
1712
1712
|
clearAction: S,
|
|
1713
1713
|
toggleColumnFilter: A,
|
|
1714
1714
|
emitVisibleColumns: k,
|
|
1715
1715
|
emitFrozenColumns: M,
|
|
1716
|
-
onClickOutside: () =>
|
|
1716
|
+
onClickOutside: () => h(!1),
|
|
1717
1717
|
isColumnVisibilityToggleDisabled: O,
|
|
1718
1718
|
emitZebraRowsToggle: (g) => s(Ue.UPDATE_ZEBRA_ROWS, g),
|
|
1719
1719
|
// Translations
|
|
@@ -1731,8 +1731,8 @@ const vs = /* @__PURE__ */ ue(fs, [["render", gs], ["__scopeId", "data-v-0769d04
|
|
|
1731
1731
|
class: "b-data-grid-config-settings__column-visibility-show-all"
|
|
1732
1732
|
}, As = { class: "b-data-grid-config-settings__column-visibility-toggles" };
|
|
1733
1733
|
function Ts(e, s, i, t, u, l) {
|
|
1734
|
-
const n = Oe("bento-settings-icon"), v = Oe("bento-toggle-button"), f = Oe("bento-typography"), _ = Oe("bento-cross-icon"), b = Oe("bento-button"), N = Oe("bento-toggle"), D = Oe("bento-search-icon"), S = Oe("bento-search-bar"), c = Oe("bento-data-grid-config-settings-config-row"), A = Oe("bento-popover"), O =
|
|
1735
|
-
return
|
|
1734
|
+
const n = Oe("bento-settings-icon"), v = Oe("bento-toggle-button"), f = Oe("bento-typography"), _ = Oe("bento-cross-icon"), b = Oe("bento-button"), N = Oe("bento-toggle"), D = Oe("bento-search-icon"), S = Oe("bento-search-bar"), c = Oe("bento-data-grid-config-settings-config-row"), A = Oe("bento-popover"), O = pn("bento-click-outside-directive");
|
|
1735
|
+
return tt((r(), p("div", hs, [
|
|
1736
1736
|
L("div", Cs, [
|
|
1737
1737
|
L("div", _s, [
|
|
1738
1738
|
Y(v, {
|
|
@@ -1912,7 +1912,7 @@ function Ts(e, s, i, t, u, l) {
|
|
|
1912
1912
|
[O, e.onClickOutside]
|
|
1913
1913
|
]);
|
|
1914
1914
|
}
|
|
1915
|
-
const Os = /* @__PURE__ */ ue(ms, [["render", Ts], ["__scopeId", "data-v-01dda331"]]),
|
|
1915
|
+
const Os = /* @__PURE__ */ ue(ms, [["render", Ts], ["__scopeId", "data-v-01dda331"]]), mt = {
|
|
1916
1916
|
"en-US": {
|
|
1917
1917
|
filterBar: "Filters",
|
|
1918
1918
|
gettingYourData: "Getting your data",
|
|
@@ -1950,7 +1950,7 @@ const Os = /* @__PURE__ */ ue(ms, [["render", Ts], ["__scopeId", "data-v-01dda33
|
|
|
1950
1950
|
sortInactive: "{field} ordenação inativa"
|
|
1951
1951
|
}
|
|
1952
1952
|
}, Ns = { class: "b-data-grid-lazy-load" }, Is = {
|
|
1953
|
-
i18n: { messages:
|
|
1953
|
+
i18n: { messages: mt }
|
|
1954
1954
|
}, $s = /* @__PURE__ */ Ie({
|
|
1955
1955
|
...Is,
|
|
1956
1956
|
__name: "data-grid-lazy-load",
|
|
@@ -1959,22 +1959,22 @@ const Os = /* @__PURE__ */ ue(ms, [["render", Ts], ["__scopeId", "data-v-01dda33
|
|
|
1959
1959
|
isInfiniteScroll: { type: Boolean }
|
|
1960
1960
|
},
|
|
1961
1961
|
setup(e) {
|
|
1962
|
-
const { t: s } = We({ messages:
|
|
1962
|
+
const { t: s } = We({ messages: mt });
|
|
1963
1963
|
return (i, t) => (r(), p("div", Ns, [
|
|
1964
|
-
i.loading && i.isInfiniteScroll ? (r(), H(o(
|
|
1965
|
-
i.loading && !i.isInfiniteScroll ? (r(), H(o(
|
|
1964
|
+
i.loading && i.isInfiniteScroll ? (r(), H(o(ct), { key: 0 })) : W("", !0),
|
|
1965
|
+
i.loading && !i.isInfiniteScroll ? (r(), H(o(Wt), {
|
|
1966
1966
|
key: 1,
|
|
1967
1967
|
variant: "secondary",
|
|
1968
|
-
state: o(
|
|
1968
|
+
state: o(Vt).LOADING
|
|
1969
1969
|
}, {
|
|
1970
1970
|
default: G(() => [
|
|
1971
1971
|
ge(X(o(s)("loading")), 1)
|
|
1972
1972
|
]),
|
|
1973
1973
|
_: 1
|
|
1974
1974
|
}, 8, ["state"])) : W("", !0),
|
|
1975
|
-
!i.loading && !i.isInfiniteScroll ? (r(), H(o(
|
|
1975
|
+
!i.loading && !i.isInfiniteScroll ? (r(), H(o(Wt), {
|
|
1976
1976
|
key: 2,
|
|
1977
|
-
state: o(
|
|
1977
|
+
state: o(Vt).START,
|
|
1978
1978
|
variant: "secondary",
|
|
1979
1979
|
onClick: t[0] || (t[0] = (u) => i.$emit(o(z).UPDATE_SHOW_MORE))
|
|
1980
1980
|
}, {
|
|
@@ -1986,10 +1986,10 @@ const Os = /* @__PURE__ */ ue(ms, [["render", Ts], ["__scopeId", "data-v-01dda33
|
|
|
1986
1986
|
]));
|
|
1987
1987
|
}
|
|
1988
1988
|
}), Ds = /* @__PURE__ */ ue($s, [["__scopeId", "data-v-a4824c2d"]]);
|
|
1989
|
-
let
|
|
1989
|
+
let il = 0;
|
|
1990
1990
|
const ks = {
|
|
1991
1991
|
beforeCreate() {
|
|
1992
|
-
this.uuid =
|
|
1992
|
+
this.uuid = il.toString(), il += 1;
|
|
1993
1993
|
}
|
|
1994
1994
|
}, Us = { key: 0 };
|
|
1995
1995
|
function Ms(e, s, i, t, u, l) {
|
|
@@ -2007,7 +2007,7 @@ function Ms(e, s, i, t, u, l) {
|
|
|
2007
2007
|
}, null, -1))
|
|
2008
2008
|
], 16);
|
|
2009
2009
|
}
|
|
2010
|
-
const
|
|
2010
|
+
const rl = /* @__PURE__ */ ue(ks, [["render", Ms]]), Ll = {
|
|
2011
2011
|
"en-US": {
|
|
2012
2012
|
copy: "Copy",
|
|
2013
2013
|
edit: "Edit",
|
|
@@ -2027,7 +2027,7 @@ const il = /* @__PURE__ */ ue(ks, [["render", Ms]]), Rl = {
|
|
|
2027
2027
|
open: "Aberto"
|
|
2028
2028
|
}
|
|
2029
2029
|
}, Fs = { class: "b-data-grid-cell-actions" }, zs = {
|
|
2030
|
-
i18n: { messages:
|
|
2030
|
+
i18n: { messages: Ll },
|
|
2031
2031
|
name: "data-grid-cell-actions"
|
|
2032
2032
|
}, Ps = /* @__PURE__ */ Ie({
|
|
2033
2033
|
...zs,
|
|
@@ -2099,10 +2099,10 @@ const il = /* @__PURE__ */ ue(ks, [["render", Ms]]), Rl = {
|
|
|
2099
2099
|
},
|
|
2100
2100
|
emits: ["menu-open", "menu-close", "menu-item-click"],
|
|
2101
2101
|
setup(e, { emit: s }) {
|
|
2102
|
-
const { t: i } = We({ messages:
|
|
2103
|
-
if ("text" in
|
|
2104
|
-
return
|
|
2105
|
-
switch (
|
|
2102
|
+
const { t: i } = We({ messages: Ll }), t = e, u = s, l = Pe(vt, E(!1)), n = (h) => {
|
|
2103
|
+
if ("text" in h && h.text !== void 0)
|
|
2104
|
+
return h.text;
|
|
2105
|
+
switch (h.variant) {
|
|
2106
2106
|
case "copy":
|
|
2107
2107
|
return i("copy");
|
|
2108
2108
|
case "edit":
|
|
@@ -2112,16 +2112,16 @@ const il = /* @__PURE__ */ ue(ks, [["render", Ms]]), Rl = {
|
|
|
2112
2112
|
case "more":
|
|
2113
2113
|
return i("more");
|
|
2114
2114
|
default:
|
|
2115
|
-
return
|
|
2115
|
+
return h.title;
|
|
2116
2116
|
}
|
|
2117
|
-
}, v = (
|
|
2118
|
-
switch (
|
|
2117
|
+
}, v = (h) => {
|
|
2118
|
+
switch (h.variant) {
|
|
2119
2119
|
case "copy":
|
|
2120
|
-
return
|
|
2120
|
+
return jt;
|
|
2121
2121
|
case "edit":
|
|
2122
|
-
return
|
|
2122
|
+
return rl;
|
|
2123
2123
|
case "open":
|
|
2124
|
-
return
|
|
2124
|
+
return Zt;
|
|
2125
2125
|
default:
|
|
2126
2126
|
return;
|
|
2127
2127
|
}
|
|
@@ -2136,18 +2136,18 @@ const il = /* @__PURE__ */ ue(ks, [["render", Ms]]), Rl = {
|
|
|
2136
2136
|
"b-data-grid-cell-actions__actions--highlighted": t.isHighlighted,
|
|
2137
2137
|
"b-data-grid-cell-actions__actions--selected": t.isSelected
|
|
2138
2138
|
})), N = C(() => !f.value || f.value && t.hasRightOverflow);
|
|
2139
|
-
function D(
|
|
2140
|
-
return typeof
|
|
2139
|
+
function D(h) {
|
|
2140
|
+
return typeof h == "function";
|
|
2141
2141
|
}
|
|
2142
2142
|
const S = C(() => {
|
|
2143
2143
|
var F;
|
|
2144
|
-
const
|
|
2145
|
-
if (l.value && !f.value &&
|
|
2146
|
-
const
|
|
2147
|
-
return
|
|
2144
|
+
const h = D(t.cellActions) ? (F = t.cellActions) == null ? void 0 : F.call(t, t.rowDataItem, t.columnKey) : t.cellActions;
|
|
2145
|
+
if (l.value && !f.value && h) {
|
|
2146
|
+
const m = [];
|
|
2147
|
+
return h.forEach((a) => {
|
|
2148
2148
|
a.menuData ? a.menuData.forEach((g) => {
|
|
2149
|
-
|
|
2150
|
-
}) :
|
|
2149
|
+
m.push(g);
|
|
2150
|
+
}) : m.push({
|
|
2151
2151
|
text: n(a),
|
|
2152
2152
|
event: a.event,
|
|
2153
2153
|
critical: a.critical,
|
|
@@ -2158,17 +2158,17 @@ const il = /* @__PURE__ */ ue(ks, [["render", Ms]]), Rl = {
|
|
|
2158
2158
|
{
|
|
2159
2159
|
variant: "more",
|
|
2160
2160
|
isShort: !0,
|
|
2161
|
-
iconLeft:
|
|
2162
|
-
menuData: k(
|
|
2161
|
+
iconLeft: Ht,
|
|
2162
|
+
menuData: k(m)
|
|
2163
2163
|
}
|
|
2164
2164
|
];
|
|
2165
2165
|
}
|
|
2166
|
-
return !l.value && (
|
|
2166
|
+
return !l.value && (h == null ? void 0 : h.length) > 2 && hl(
|
|
2167
2167
|
"WARNING: BentoDataGrid Cell actions can only have a maximum of 2 actions, if you need more consider using the menuData property instead."
|
|
2168
|
-
),
|
|
2169
|
-
}), c = C(() => (
|
|
2170
|
-
if (!(!F &&
|
|
2171
|
-
switch (
|
|
2168
|
+
), h == null ? void 0 : h.slice(0, 2);
|
|
2169
|
+
}), c = C(() => (h, F) => {
|
|
2170
|
+
if (!(!F && h.isShort || F && !h.isShort))
|
|
2171
|
+
switch (h.variant) {
|
|
2172
2172
|
case "copy":
|
|
2173
2173
|
return i("copy");
|
|
2174
2174
|
case "edit":
|
|
@@ -2178,25 +2178,25 @@ const il = /* @__PURE__ */ ue(ks, [["render", Ms]]), Rl = {
|
|
|
2178
2178
|
case "more":
|
|
2179
2179
|
return i("more");
|
|
2180
2180
|
default:
|
|
2181
|
-
return
|
|
2181
|
+
return h.title;
|
|
2182
2182
|
}
|
|
2183
|
-
}), A = (
|
|
2183
|
+
}), A = (h) => (h == null ? void 0 : h.event) !== void 0 ? {
|
|
2184
2184
|
click: (F) => {
|
|
2185
|
-
F.stopPropagation(),
|
|
2185
|
+
F.stopPropagation(), h.event(t.rowDataItem, t.columnKey);
|
|
2186
2186
|
}
|
|
2187
|
-
} : {}, O = (
|
|
2188
|
-
...
|
|
2187
|
+
} : {}, O = (h) => ({
|
|
2188
|
+
...h,
|
|
2189
2189
|
handler: () => {
|
|
2190
|
-
|
|
2190
|
+
h != null && h.handler && typeof h.handler == "function" && (h == null || h.handler()), h != null && h.event && typeof h.event == "function" && (h == null || h.event(t.rowDataItem, t.columnKey));
|
|
2191
2191
|
}
|
|
2192
|
-
}), k = (
|
|
2193
|
-
const
|
|
2194
|
-
return
|
|
2195
|
-
}), R = (
|
|
2196
|
-
var F,
|
|
2197
|
-
return (
|
|
2198
|
-
}, M = (
|
|
2199
|
-
return (
|
|
2192
|
+
}), k = (h) => h.map((F) => {
|
|
2193
|
+
const m = F;
|
|
2194
|
+
return m != null && m.items && (m.items = k(m.items)), { ...O(m) };
|
|
2195
|
+
}), R = (h) => {
|
|
2196
|
+
var F, m;
|
|
2197
|
+
return (h == null ? void 0 : h.getCopyData) !== void 0 ? h.getCopyData(t.rowDataItem, t.columnKey) : t.columnKey ? (m = (F = t.rowDataItem) == null ? void 0 : F[t.columnKey]) == null ? void 0 : m.toString() : "";
|
|
2198
|
+
}, M = (h) => h.iconLeft || (h == null ? void 0 : h.variant) === "more";
|
|
2199
|
+
return (h, F) => (r(), H(vl, {
|
|
2200
2200
|
name: "b-data-grid-cell-actions__animation",
|
|
2201
2201
|
appear: ""
|
|
2202
2202
|
}, {
|
|
@@ -2210,17 +2210,17 @@ const il = /* @__PURE__ */ ue(ks, [["render", Ms]]), Rl = {
|
|
|
2210
2210
|
class: ce(["b-data-grid-cell-actions__actions", b.value]),
|
|
2211
2211
|
role: "group"
|
|
2212
2212
|
}, [
|
|
2213
|
-
(r(!0), p(be, null, Ae(S.value, (
|
|
2213
|
+
(r(!0), p(be, null, Ae(S.value, (m, a) => (r(), p("div", {
|
|
2214
2214
|
key: a,
|
|
2215
2215
|
class: "b-data-grid-cell-actions__action"
|
|
2216
2216
|
}, [
|
|
2217
|
-
|
|
2217
|
+
m.menuData ? tt((r(), H(o(pt), {
|
|
2218
2218
|
key: 0,
|
|
2219
|
-
data: k(
|
|
2219
|
+
data: k(m.menuData),
|
|
2220
2220
|
button: {
|
|
2221
2221
|
condensed: !0,
|
|
2222
2222
|
variant: "secondary",
|
|
2223
|
-
disabled:
|
|
2223
|
+
disabled: m.disabled
|
|
2224
2224
|
},
|
|
2225
2225
|
"disable-arrow-down-opening-menu": e.disableArrowDownOpeningMenu,
|
|
2226
2226
|
teleport: e.teleportMenu,
|
|
@@ -2228,76 +2228,80 @@ const il = /* @__PURE__ */ ue(ks, [["render", Ms]]), Rl = {
|
|
|
2228
2228
|
onClose: F[1] || (F[1] = (g) => u("menu-close")),
|
|
2229
2229
|
onMenuItemClick: F[2] || (F[2] = (g) => u("menu-item-click"))
|
|
2230
2230
|
}, Je({ _: 2 }, [
|
|
2231
|
-
M(
|
|
2231
|
+
M(m) ? {
|
|
2232
2232
|
name: "iconLeft",
|
|
2233
2233
|
fn: G(() => [
|
|
2234
|
-
(
|
|
2234
|
+
(m == null ? void 0 : m.variant) === "more" ? (r(), H(o(Ht), {
|
|
2235
2235
|
key: 0,
|
|
2236
|
-
"svg-title": c.value(
|
|
2237
|
-
}, null, 8, ["svg-title"])) : (r(), H(Ye(
|
|
2236
|
+
"svg-title": c.value(m, !0)
|
|
2237
|
+
}, null, 8, ["svg-title"])) : (r(), H(Ye(m.iconLeft), {
|
|
2238
2238
|
key: 1,
|
|
2239
|
-
"svg-title": c.value(
|
|
2239
|
+
"svg-title": c.value(m, !0)
|
|
2240
2240
|
}, null, 8, ["svg-title"]))
|
|
2241
2241
|
]),
|
|
2242
2242
|
key: "0"
|
|
2243
2243
|
} : void 0,
|
|
2244
|
-
|
|
2244
|
+
m != null && m.isShort ? void 0 : {
|
|
2245
2245
|
name: "default",
|
|
2246
2246
|
fn: G(() => [
|
|
2247
|
-
ge(X(c.value(
|
|
2247
|
+
ge(X(c.value(m)), 1)
|
|
2248
2248
|
]),
|
|
2249
2249
|
key: "1"
|
|
2250
2250
|
}
|
|
2251
|
-
]), 1032, ["data", "button", "disable-arrow-down-opening-menu", "teleport"]))
|
|
2251
|
+
]), 1032, ["data", "button", "disable-arrow-down-opening-menu", "teleport"])), [
|
|
2252
|
+
[o(St), m.tooltipText, m.tooltipPosition]
|
|
2253
|
+
]) : m.variant === "copy" ? (r(), H(o(jt), {
|
|
2252
2254
|
key: 1,
|
|
2253
|
-
text: R(
|
|
2254
|
-
"button-text": c.value(
|
|
2255
|
+
text: R(m),
|
|
2256
|
+
"button-text": c.value(m),
|
|
2255
2257
|
button: {
|
|
2256
2258
|
condensed: !0,
|
|
2257
2259
|
variant: "secondary"
|
|
2258
2260
|
}
|
|
2259
|
-
}, null, 8, ["text", "button-text"])) : (r(), H(o(
|
|
2261
|
+
}, null, 8, ["text", "button-text"])) : tt((r(), H(o(Cl), se({
|
|
2260
2262
|
key: 2,
|
|
2261
2263
|
condensed: "",
|
|
2262
2264
|
variant: "secondary",
|
|
2263
|
-
critical:
|
|
2264
|
-
disabled:
|
|
2265
|
-
link:
|
|
2266
|
-
},
|
|
2267
|
-
|
|
2265
|
+
critical: m.critical,
|
|
2266
|
+
disabled: m.disabled,
|
|
2267
|
+
link: m.link
|
|
2268
|
+
}, gt(A(m))), Je({ _: 2 }, [
|
|
2269
|
+
m.iconLeft || m.variant === "edit" ? {
|
|
2268
2270
|
name: "iconLeft",
|
|
2269
2271
|
fn: G(() => [
|
|
2270
|
-
(
|
|
2272
|
+
(m == null ? void 0 : m.variant) === "edit" ? (r(), H(o(rl), {
|
|
2271
2273
|
key: 0,
|
|
2272
|
-
"svg-title": c.value(
|
|
2273
|
-
}, null, 8, ["svg-title"])) : (r(), H(Ye(
|
|
2274
|
+
"svg-title": c.value(m, !0)
|
|
2275
|
+
}, null, 8, ["svg-title"])) : (r(), H(Ye(m.iconLeft), {
|
|
2274
2276
|
key: 1,
|
|
2275
|
-
"svg-title":
|
|
2277
|
+
"svg-title": m.title
|
|
2276
2278
|
}, null, 8, ["svg-title"]))
|
|
2277
2279
|
]),
|
|
2278
2280
|
key: "0"
|
|
2279
2281
|
} : void 0,
|
|
2280
|
-
|
|
2282
|
+
m != null && m.isShort ? void 0 : {
|
|
2281
2283
|
name: "default",
|
|
2282
2284
|
fn: G(() => [
|
|
2283
|
-
ge(X(c.value(
|
|
2285
|
+
ge(X(c.value(m)), 1)
|
|
2284
2286
|
]),
|
|
2285
2287
|
key: "1"
|
|
2286
2288
|
},
|
|
2287
|
-
|
|
2289
|
+
m.iconRight || m.variant === "open" ? {
|
|
2288
2290
|
name: "iconRight",
|
|
2289
2291
|
fn: G(() => [
|
|
2290
|
-
(
|
|
2292
|
+
(m == null ? void 0 : m.variant) === "open" ? (r(), H(o(Zt), {
|
|
2291
2293
|
key: 0,
|
|
2292
|
-
"svg-title": c.value(
|
|
2293
|
-
}, null, 8, ["svg-title"])) : (r(), H(Ye(
|
|
2294
|
+
"svg-title": c.value(m, !0)
|
|
2295
|
+
}, null, 8, ["svg-title"])) : (r(), H(Ye(m.iconRight), {
|
|
2294
2296
|
key: 1,
|
|
2295
|
-
"svg-title":
|
|
2297
|
+
"svg-title": m.title
|
|
2296
2298
|
}, null, 8, ["svg-title"]))
|
|
2297
2299
|
]),
|
|
2298
2300
|
key: "2"
|
|
2299
2301
|
} : void 0
|
|
2300
|
-
]), 1040, ["critical", "disabled", "link"]))
|
|
2302
|
+
]), 1040, ["critical", "disabled", "link"])), [
|
|
2303
|
+
[o(St), m.tooltipText, m.tooltipPosition]
|
|
2304
|
+
])
|
|
2301
2305
|
]))), 128))
|
|
2302
2306
|
], 2)
|
|
2303
2307
|
])
|
|
@@ -2305,12 +2309,12 @@ const il = /* @__PURE__ */ ue(ks, [["render", Ms]]), Rl = {
|
|
|
2305
2309
|
_: 1
|
|
2306
2310
|
}));
|
|
2307
2311
|
}
|
|
2308
|
-
}),
|
|
2312
|
+
}), Al = /* @__PURE__ */ ue(Ps, [["__scopeId", "data-v-98d959e5"]]);
|
|
2309
2313
|
var he = /* @__PURE__ */ ((e) => (e.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED = "action-col-nested-content-and-selection-enabled", e.ACTION_COL_NESTED_CONTENT_ENABLED = "action-col-nested-content-enabled", e.ACTION_COL_SELECTION_ENABLED = "action-col-selection-enabled", e.COLUMN_HOVERED = "column-hovered", e.COLUMN_HOVERED_NO_BORDER_LEFT = "column-hovered-no-border-left", e.COLUMN_HOVERED_NO_BORDER_RIGHT = "column-hovered-no-border-right", e.CONDENSED = "condensed", e.FROZEN = "frozen", e.IS_COLUMN_REORDERING = "is-column-re-ordering", e.IS_COLUMN_REORDERING_TARGET_LEFT = "is-column-re-order-target-left", e.IS_COLUMN_REORDERING_TARGET_RIGHT = "is-column-re-order-target-right", e.LAST_FROZEN_COLUMN_CELL = "last-frozen-column-cell", e.NESTED_CONTENT_ENABLED = "nested-content-toggle-enabled", e.NUMERIC = "numeric", e.OVERFLOW_ELLIPSIS = "overflow-ellipsis", e.PADDING_LEFT_UNSET = "padding-left-unset", e.PADDING_RIGHT_UNSET = "padding-right-unset", e.SLASHED_ZERO = "slashed-zero", e))(he || {});
|
|
2310
|
-
const
|
|
2314
|
+
const dl = () => {
|
|
2311
2315
|
const e = document.activeElement;
|
|
2312
2316
|
return e ? e.matches(":focus-visible") || e.matches(".focus-visible") : !1;
|
|
2313
|
-
},
|
|
2317
|
+
}, Tl = {
|
|
2314
2318
|
"en-US": {
|
|
2315
2319
|
collapseNestedContent: "Collapse nested content",
|
|
2316
2320
|
expandNestedContent: "Expand nested content",
|
|
@@ -2330,7 +2334,7 @@ const rl = () => {
|
|
|
2330
2334
|
key: 0,
|
|
2331
2335
|
class: "b-data-grid-cell__cell-actions"
|
|
2332
2336
|
}, Hs = {
|
|
2333
|
-
i18n: { messages:
|
|
2337
|
+
i18n: { messages: Tl },
|
|
2334
2338
|
name: "data-grid-cell"
|
|
2335
2339
|
}, Gs = /* @__PURE__ */ Ie({
|
|
2336
2340
|
...Hs,
|
|
@@ -2476,7 +2480,7 @@ const rl = () => {
|
|
|
2476
2480
|
},
|
|
2477
2481
|
emits: ["on-frozen-columns-key-press", "select-row", "register-row-cell-element", "cell-hovered", "nested-content-toggled", "cell-focus"],
|
|
2478
2482
|
setup(e, { expose: s, emit: i }) {
|
|
2479
|
-
const t =
|
|
2483
|
+
const t = Lt(), u = At(t), { t: l } = We({ messages: Tl }), n = e, v = i, f = E(null), _ = E(null), b = E(!1), N = E([]), D = E(!1), S = E(), c = E(!1), A = C(() => {
|
|
2480
2484
|
var y;
|
|
2481
2485
|
return !!((y = n.rowData) != null && y[n.column.field]);
|
|
2482
2486
|
}), O = C(
|
|
@@ -2486,7 +2490,7 @@ const rl = () => {
|
|
|
2486
2490
|
}
|
|
2487
2491
|
), k = C(
|
|
2488
2492
|
() => n.column.field === Ee && !n.selectable && !n.nestedContent
|
|
2489
|
-
), R = C(() => !k.value && (a(n.rowIndex, n.colIndex, n.columnSetIndex) === 0 && !c.value || D.value) ? "0" : (n.column.field === Ee, "-1")), M = (y, Q) => (y == null ? void 0 : y.overflow) ===
|
|
2493
|
+
), R = C(() => !k.value && (a(n.rowIndex, n.colIndex, n.columnSetIndex) === 0 && !c.value || D.value) ? "0" : (n.column.field === Ee, "-1")), M = (y, Q) => (y == null ? void 0 : y.overflow) === Et.ELLIPSIS ? `${Q}` : void 0, h = (y) => y ?? "-", F = (y) => n.columnSets.slice(0, y).reduce((Q, { columnSet: J }) => Q + J.length, 0), m = (y, Q) => y + F(Q), a = (y, Q, J) => F() * y + m(Q, J), g = (y) => {
|
|
2490
2494
|
var Q;
|
|
2491
2495
|
(y === null || !f.value.contains(y) && !((Q = N.value) != null && Q.map((J) => J.value).some((J) => J === y || (J == null ? void 0 : J.contains(y))))) && (b.value = !1);
|
|
2492
2496
|
}, T = () => {
|
|
@@ -2496,17 +2500,17 @@ const rl = () => {
|
|
|
2496
2500
|
...n.draggingEventsForRowCell(y),
|
|
2497
2501
|
// Focus on the first interactive child in the grid cell if one exists
|
|
2498
2502
|
focus: async () => {
|
|
2499
|
-
if (!
|
|
2503
|
+
if (!dl())
|
|
2500
2504
|
return;
|
|
2501
2505
|
D.value = !0, c.value = !0, v("cell-focus", {
|
|
2502
2506
|
rowData: n.rowData,
|
|
2503
2507
|
column: n.column,
|
|
2504
2508
|
rowIndex: n.rowIndex,
|
|
2505
|
-
colIndex:
|
|
2506
|
-
}),
|
|
2509
|
+
colIndex: m(n.colIndex, n.columnSetIndex)
|
|
2510
|
+
}), pl(S.value), await _e(), Nt(f.value) && (B.value = !0);
|
|
2507
2511
|
},
|
|
2508
2512
|
focusout: () => {
|
|
2509
|
-
|
|
2513
|
+
dl() && (B.value = !1);
|
|
2510
2514
|
},
|
|
2511
2515
|
keydown: (ee) => {
|
|
2512
2516
|
ee.key !== Ne.TAB && (B.value = !1, D.value = !1, Ze(f.value));
|
|
@@ -2535,7 +2539,7 @@ const rl = () => {
|
|
|
2535
2539
|
() => {
|
|
2536
2540
|
b.value === !0 ? v("cell-hovered", n.rowIndex) : v("cell-hovered", -1);
|
|
2537
2541
|
}
|
|
2538
|
-
),
|
|
2542
|
+
), dt(Pn, {
|
|
2539
2543
|
registerMenuContainerElement: (y) => {
|
|
2540
2544
|
N.value.push(y);
|
|
2541
2545
|
},
|
|
@@ -2543,10 +2547,10 @@ const rl = () => {
|
|
|
2543
2547
|
f.value.contains(y == null ? void 0 : y.relatedTarget) || (b.value = !1);
|
|
2544
2548
|
}
|
|
2545
2549
|
});
|
|
2546
|
-
const ve = Pe(
|
|
2547
|
-
|
|
2550
|
+
const ve = Pe(Rl, E(!1)), fe = Pe(
|
|
2551
|
+
lt,
|
|
2548
2552
|
C(() => !1)
|
|
2549
|
-
), ne = Pe(
|
|
2553
|
+
), ne = Pe(vt, E(!1)), q = (y) => {
|
|
2550
2554
|
var Q, J, ee, Ve, Te, Be, d;
|
|
2551
2555
|
return {
|
|
2552
2556
|
[`b-data-grid-cell--${he.COLUMN_HOVERED}`]: (y == null ? void 0 : y.field) === n.hoveredOverColumnState.hoveredOverColumnField,
|
|
@@ -2556,7 +2560,7 @@ const rl = () => {
|
|
|
2556
2560
|
[`b-data-grid-cell--${he.PADDING_RIGHT_UNSET}`]: ((J = y == null ? void 0 : y.padding) == null ? void 0 : J.right) === !1,
|
|
2557
2561
|
[`b-data-grid-cell--${he.NUMERIC}`]: y == null ? void 0 : y.numeric,
|
|
2558
2562
|
[`b-data-grid-cell--${he.CONDENSED}`]: n.condensed,
|
|
2559
|
-
[`b-data-grid-cell--${he.OVERFLOW_ELLIPSIS}`]: (y == null ? void 0 : y.overflow) ===
|
|
2563
|
+
[`b-data-grid-cell--${he.OVERFLOW_ELLIPSIS}`]: (y == null ? void 0 : y.overflow) === Et.ELLIPSIS,
|
|
2560
2564
|
[`b-data-grid-cell--${he.IS_COLUMN_REORDERING}`]: ((ee = n.draggingColumns.dragging) == null ? void 0 : ee.field) === y.field,
|
|
2561
2565
|
[`b-data-grid-cell--${he.IS_COLUMN_REORDERING_TARGET_LEFT}`]: ((Ve = n.draggingColumns.target) == null ? void 0 : Ve.field) === y.field && ((Te = n.draggingColumns) == null ? void 0 : Te.dragToLeft),
|
|
2562
2566
|
[`b-data-grid-cell--${he.IS_COLUMN_REORDERING_TARGET_RIGHT}`]: ((Be = n.draggingColumns.target) == null ? void 0 : Be.field) === y.field && !((d = n.draggingColumns) != null && d.dragToLeft),
|
|
@@ -2585,13 +2589,13 @@ const rl = () => {
|
|
|
2585
2589
|
class: ["b-data-grid-cell", q(e.column)],
|
|
2586
2590
|
role: "gridcell",
|
|
2587
2591
|
tabindex: R.value,
|
|
2588
|
-
"aria-colindex":
|
|
2592
|
+
"aria-colindex": m(e.colIndex, e.columnSetIndex) + 1,
|
|
2589
2593
|
style: {
|
|
2590
2594
|
width: e.column.autoWidth && e.isMeasuringColumnWidths ? "auto" : `${e.column.width}px`
|
|
2591
2595
|
}
|
|
2592
|
-
},
|
|
2596
|
+
}, gt(x(e.column), !0)), [
|
|
2593
2597
|
e.column.field === o(Ee) ? (r(), p(be, { key: 0 }, [
|
|
2594
|
-
e.selectable ? (r(), H(o(
|
|
2598
|
+
e.selectable ? (r(), H(o(bl), {
|
|
2595
2599
|
key: 0,
|
|
2596
2600
|
class: "b-data-grid-cell__select-cell",
|
|
2597
2601
|
"aria-label": o(l)("selectRow"),
|
|
@@ -2602,7 +2606,7 @@ const rl = () => {
|
|
|
2602
2606
|
tabindex: D.value ? 0 : -1,
|
|
2603
2607
|
"onUpdate:modelValue": Q[0] || (Q[0] = (ee) => y.$emit("select-row", ee))
|
|
2604
2608
|
}, null, 8, ["aria-label", "disabled", "indeterminate", "model-value", "value", "tabindex"])) : W("", !0),
|
|
2605
|
-
e.nestedContent ? (r(), H(o(
|
|
2609
|
+
e.nestedContent ? (r(), H(o(Ot), {
|
|
2606
2610
|
key: 1,
|
|
2607
2611
|
ref: "menuButtonRef",
|
|
2608
2612
|
"aria-haspopup": "true",
|
|
@@ -2638,13 +2642,13 @@ const rl = () => {
|
|
|
2638
2642
|
}, () => [
|
|
2639
2643
|
L("span", {
|
|
2640
2644
|
title: M(e.column, e.rowData[e.column.field])
|
|
2641
|
-
}, X(
|
|
2645
|
+
}, X(h(e.rowData[e.column.field])), 9, Ws)
|
|
2642
2646
|
], !0)
|
|
2643
2647
|
]),
|
|
2644
2648
|
_: 3
|
|
2645
2649
|
}, 8, ["class"]),
|
|
2646
2650
|
((J = e.column.cellActions) == null ? void 0 : J.length) > 0 ? (r(), p("div", Vs, [
|
|
2647
|
-
(b.value || o(ne)) && (A.value || o(u)(`item-${e.column.field}`)) ? (r(), H(
|
|
2651
|
+
(b.value || o(ne)) && (A.value || o(u)(`item-${e.column.field}`)) ? (r(), H(Al, {
|
|
2648
2652
|
key: 0,
|
|
2649
2653
|
ref_key: "cellActionsRef",
|
|
2650
2654
|
ref: _,
|
|
@@ -2882,7 +2886,7 @@ const rl = () => {
|
|
|
2882
2886
|
},
|
|
2883
2887
|
emits: ["cell-hovered", "on-frozen-columns-key-press", "select-row", "select-nested-row", "row-click", "nested-content-toggled", "cell-focus"],
|
|
2884
2888
|
setup(e, { expose: s, emit: i }) {
|
|
2885
|
-
const t =
|
|
2889
|
+
const t = Lt(), u = At(t), l = e, n = i, v = E({}), f = E(!1), _ = E(), b = E(), N = ft("nested-content-slot"), D = E(!1), S = E();
|
|
2886
2890
|
Xe(() => {
|
|
2887
2891
|
b.value && (S.value = Ze(b.value));
|
|
2888
2892
|
});
|
|
@@ -2924,22 +2928,22 @@ const rl = () => {
|
|
|
2924
2928
|
role: "row",
|
|
2925
2929
|
tabindex: "-1"
|
|
2926
2930
|
};
|
|
2927
|
-
}),
|
|
2931
|
+
}), h = C(() => {
|
|
2928
2932
|
var w, I;
|
|
2929
|
-
return A.value ? (I = (w = l.rowData) == null ? void 0 : w.children) == null ? void 0 : I.reduce((te, oe, ae) => (te[ae] =
|
|
2933
|
+
return A.value ? (I = (w = l.rowData) == null ? void 0 : w.children) == null ? void 0 : I.reduce((te, oe, ae) => (te[ae] = ft("nested-row"), te), {}) : [];
|
|
2930
2934
|
}), F = C(() => {
|
|
2931
2935
|
var w;
|
|
2932
2936
|
if (f.value) {
|
|
2933
2937
|
if (l.hasNestedContent && l.shouldShowNestedContent(l.rowData))
|
|
2934
2938
|
return [N];
|
|
2935
|
-
if (A.value && ((w = Object.keys(
|
|
2936
|
-
const I = Object.values(
|
|
2939
|
+
if (A.value && ((w = Object.keys(h.value)) == null ? void 0 : w.length) > 0) {
|
|
2940
|
+
const I = Object.values(h.value);
|
|
2937
2941
|
if ((I == null ? void 0 : I.length) > 0)
|
|
2938
2942
|
return I;
|
|
2939
2943
|
}
|
|
2940
2944
|
return [];
|
|
2941
2945
|
}
|
|
2942
|
-
}),
|
|
2946
|
+
}), m = C(() => {
|
|
2943
2947
|
var I, te;
|
|
2944
2948
|
const w = (te = (I = l.rowData) == null ? void 0 : I.children) == null ? void 0 : te.map((oe) => l.getDataItemId(oe));
|
|
2945
2949
|
if ((w == null ? void 0 : w.length) > 0) {
|
|
@@ -2956,7 +2960,7 @@ const rl = () => {
|
|
|
2956
2960
|
}), a = (w, I) => {
|
|
2957
2961
|
const te = w;
|
|
2958
2962
|
w !== null && (te != null && te.gridcellRef) && (v.value[I] = te.gridcellRef);
|
|
2959
|
-
}, g = (w) =>
|
|
2963
|
+
}, g = (w) => h.value[w], T = (w) => {
|
|
2960
2964
|
if (!l.selectable)
|
|
2961
2965
|
return null;
|
|
2962
2966
|
const I = l.getDataItemId(w);
|
|
@@ -2983,7 +2987,7 @@ const rl = () => {
|
|
|
2983
2987
|
D.value = !1;
|
|
2984
2988
|
}, ve = () => {
|
|
2985
2989
|
var w;
|
|
2986
|
-
|
|
2990
|
+
pl([(w = S.value) == null ? void 0 : w[0]]), Nt(b.value);
|
|
2987
2991
|
}, fe = () => {
|
|
2988
2992
|
Ze(b.value);
|
|
2989
2993
|
}, ne = (w) => {
|
|
@@ -2993,7 +2997,7 @@ const rl = () => {
|
|
|
2993
2997
|
var w;
|
|
2994
2998
|
if (l.hasNestedContent || l.hasNestedRows)
|
|
2995
2999
|
return {
|
|
2996
|
-
paddingLeft: `${A.value || O.value ? 0 : v.value[Ee].offsetWidth +
|
|
3000
|
+
paddingLeft: `${A.value || O.value ? 0 : v.value[Ee].offsetWidth + Sl}px`,
|
|
2997
3001
|
"max-height": (l.hasNestedContent || l.hasNestedRows) && Q.value && !((w = Q == null ? void 0 : Q.value) != null && w.includes("null")) ? Q.value : 0
|
|
2998
3002
|
};
|
|
2999
3003
|
});
|
|
@@ -3001,7 +3005,7 @@ const rl = () => {
|
|
|
3001
3005
|
() => _.value,
|
|
3002
3006
|
() => {
|
|
3003
3007
|
let w = null;
|
|
3004
|
-
!w && _.value && (w =
|
|
3008
|
+
!w && _.value && (w = Tt(_.value, () => {
|
|
3005
3009
|
_.value && y();
|
|
3006
3010
|
}));
|
|
3007
3011
|
}
|
|
@@ -3020,7 +3024,7 @@ const rl = () => {
|
|
|
3020
3024
|
}
|
|
3021
3025
|
);
|
|
3022
3026
|
const Ve = Pe(
|
|
3023
|
-
|
|
3027
|
+
lt,
|
|
3024
3028
|
C(() => !1)
|
|
3025
3029
|
), Te = (w) => l.highlightedRows.includes(l.getDataItemId(w)), Be = (w) => l.selectedItems.includes(l.getDataItemId(w)), d = (w, I) => ({
|
|
3026
3030
|
"b-data-grid-row-container__row--disabled": l.isDataItemDisabled(w),
|
|
@@ -3059,8 +3063,8 @@ const rl = () => {
|
|
|
3059
3063
|
"aria-selected": T(e.rowData),
|
|
3060
3064
|
onClick: B,
|
|
3061
3065
|
onKeyup: [
|
|
3062
|
-
|
|
3063
|
-
|
|
3066
|
+
Pt(B, ["enter"]),
|
|
3067
|
+
Pt(B, ["space"])
|
|
3064
3068
|
]
|
|
3065
3069
|
}), [
|
|
3066
3070
|
(r(!0), p(be, null, Ae(e.columnSets, ({ columnSet: oe, id: ae, isFrozenColumns: re }, K) => (r(), p(be, null, [
|
|
@@ -3069,14 +3073,14 @@ const rl = () => {
|
|
|
3069
3073
|
class: ce(["b-data-grid-row-container__cells", V(re, o(Ve))]),
|
|
3070
3074
|
"data-testid": `data-grid-${ae}-rows`
|
|
3071
3075
|
}, [
|
|
3072
|
-
(r(!0), p(be, null, Ae(oe, (He,
|
|
3076
|
+
(r(!0), p(be, null, Ae(oe, (He, ht) => (r(), H(xs, {
|
|
3073
3077
|
key: `cell-${He.field}`,
|
|
3074
3078
|
ref_for: !0,
|
|
3075
3079
|
ref: (De) => a(De, He.field),
|
|
3076
3080
|
class: "b-data-grid-row-container__cell",
|
|
3077
3081
|
column: He,
|
|
3078
3082
|
"column-set-index": K,
|
|
3079
|
-
"col-index":
|
|
3083
|
+
"col-index": ht,
|
|
3080
3084
|
"column-sets": e.columnSets,
|
|
3081
3085
|
condensed: e.condensed,
|
|
3082
3086
|
"dragging-columns": e.draggingColumns,
|
|
@@ -3093,7 +3097,7 @@ const rl = () => {
|
|
|
3093
3097
|
"nested-rows-element-ids": F.value,
|
|
3094
3098
|
"row-data": e.rowData,
|
|
3095
3099
|
"row-index": e.rowIndex,
|
|
3096
|
-
"selection-is-indeterminate":
|
|
3100
|
+
"selection-is-indeterminate": m.value,
|
|
3097
3101
|
selectable: e.selectable,
|
|
3098
3102
|
"selected-items": e.selectedItems,
|
|
3099
3103
|
onCellHovered: I[0] || (I[0] = (De) => n("cell-hovered", De)),
|
|
@@ -3104,8 +3108,8 @@ const rl = () => {
|
|
|
3104
3108
|
}, Je({ _: 2 }, [
|
|
3105
3109
|
Ae(o(t), (De, Qe) => ({
|
|
3106
3110
|
name: Qe,
|
|
3107
|
-
fn: G((
|
|
3108
|
-
ze(w.$slots, Qe, se({ ref_for: !0 },
|
|
3111
|
+
fn: G((nt) => [
|
|
3112
|
+
ze(w.$slots, Qe, se({ ref_for: !0 }, nt), void 0, !0)
|
|
3109
3113
|
])
|
|
3110
3114
|
}))
|
|
3111
3115
|
]), 1032, ["column", "column-set-index", "col-index", "column-sets", "condensed", "dragging-columns", "dragging-events-for-row-cell", "get-data-item-id", "has-zebra-background", "is-highlighted", "is-selected", "hovered-over-column-state", "is-data-item-disabled", "is-measuring-column-widths", "is-nested-content-expanded", "nested-content", "nested-rows-element-ids", "row-data", "row-index", "selection-is-indeterminate", "selectable", "selected-items"]))), 128))
|
|
@@ -3125,7 +3129,7 @@ const rl = () => {
|
|
|
3125
3129
|
"on:focusOut": fe,
|
|
3126
3130
|
onKeydown: ne
|
|
3127
3131
|
}, [
|
|
3128
|
-
Y(
|
|
3132
|
+
Y(Al, {
|
|
3129
3133
|
class: "b-data-grid-row-container__row-actions",
|
|
3130
3134
|
"disable-arrow-down-opening-menu": "",
|
|
3131
3135
|
"cell-actions": e.rowActions,
|
|
@@ -3138,7 +3142,7 @@ const rl = () => {
|
|
|
3138
3142
|
], 46, Ks)) : W("", !0)
|
|
3139
3143
|
], 64))), 256))
|
|
3140
3144
|
], 16, js)),
|
|
3141
|
-
e.hasNestedContent && o(u)("nested-slot") && e.shouldShowNestedContent(e.rowData) || e.hasNestedRows && c.value ? (r(), H(
|
|
3145
|
+
e.hasNestedContent && o(u)("nested-slot") && e.shouldShowNestedContent(e.rowData) || e.hasNestedRows && c.value ? (r(), H(vl, {
|
|
3142
3146
|
key: `${e.rowIndex}-nest-content`,
|
|
3143
3147
|
name: "b-data-grid-row-container__animation--nested-content"
|
|
3144
3148
|
}, {
|
|
@@ -3155,9 +3159,9 @@ const rl = () => {
|
|
|
3155
3159
|
ref: _
|
|
3156
3160
|
}, [
|
|
3157
3161
|
O.value ? (r(), p("div", Ys, [
|
|
3158
|
-
Y(o(
|
|
3162
|
+
Y(o(ct))
|
|
3159
3163
|
])) : W("", !0),
|
|
3160
|
-
(r(!0), p(be, null, Ae(e.rowData.children, (oe, ae) => (r(), H(
|
|
3164
|
+
(r(!0), p(be, null, Ae(e.rowData.children, (oe, ae) => (r(), H(Ol, se({ ref_for: !0 }, l, {
|
|
3161
3165
|
id: g(ae),
|
|
3162
3166
|
key: `child-${ae}`,
|
|
3163
3167
|
"row-data": oe,
|
|
@@ -3191,7 +3195,7 @@ const rl = () => {
|
|
|
3191
3195
|
role: "gridcell"
|
|
3192
3196
|
}, [
|
|
3193
3197
|
O.value ? (r(), p("div", Js, [
|
|
3194
|
-
Y(o(
|
|
3198
|
+
Y(o(ct))
|
|
3195
3199
|
])) : o(u)("nested-slot") && e.shouldShowNestedContent(e.rowData) ? (r(), p("div", Xs, [
|
|
3196
3200
|
ze(w.$slots, "nested-slot", { item: e.rowData }, void 0, !0)
|
|
3197
3201
|
])) : W("", !0)
|
|
@@ -3203,11 +3207,11 @@ const rl = () => {
|
|
|
3203
3207
|
]);
|
|
3204
3208
|
};
|
|
3205
3209
|
}
|
|
3206
|
-
}),
|
|
3207
|
-
let
|
|
3210
|
+
}), Ol = /* @__PURE__ */ ue(ea, [["__scopeId", "data-v-df666f73"]]);
|
|
3211
|
+
let ul = 0;
|
|
3208
3212
|
const ta = {
|
|
3209
3213
|
beforeCreate() {
|
|
3210
|
-
this.uuid =
|
|
3214
|
+
this.uuid = ul.toString(), ul += 1;
|
|
3211
3215
|
}
|
|
3212
3216
|
}, la = { key: 0 }, na = ["clip-path"], oa = ["id"];
|
|
3213
3217
|
function sa(e, s, i, t, u, l) {
|
|
@@ -3252,22 +3256,22 @@ const aa = /* @__PURE__ */ ue(ta, [["render", sa]]), ia = ["aria-label"], ra = {
|
|
|
3252
3256
|
const s = e, i = C(() => {
|
|
3253
3257
|
switch (s.variant) {
|
|
3254
3258
|
case "checkmark":
|
|
3255
|
-
return yn;
|
|
3256
|
-
case "warning":
|
|
3257
3259
|
return Rn;
|
|
3260
|
+
case "warning":
|
|
3261
|
+
return Ln;
|
|
3258
3262
|
case "error":
|
|
3259
3263
|
return aa;
|
|
3260
3264
|
case "cross":
|
|
3261
|
-
return
|
|
3265
|
+
return ml;
|
|
3262
3266
|
case "no-value":
|
|
3263
|
-
return
|
|
3267
|
+
return Bt;
|
|
3264
3268
|
default:
|
|
3265
|
-
return
|
|
3269
|
+
return Bt;
|
|
3266
3270
|
}
|
|
3267
3271
|
}), t = C(() => ({
|
|
3268
3272
|
"b-data-grid-static-icon--colored": s.colored && s.variant !== "no-value"
|
|
3269
3273
|
})), u = C(() => `b-data-grid-static-icon__${s.variant}`), l = C(() => On.AUTO);
|
|
3270
|
-
return (n, v) =>
|
|
3274
|
+
return (n, v) => tt((r(), p("div", {
|
|
3271
3275
|
"aria-label": n.tooltipText,
|
|
3272
3276
|
class: ce(["b-data-grid-static-icon", t.value]),
|
|
3273
3277
|
tabindex: "0"
|
|
@@ -3277,10 +3281,10 @@ const aa = /* @__PURE__ */ ue(ta, [["render", sa]]), ia = ["aria-label"], ra = {
|
|
|
3277
3281
|
"svg-title": n.tooltipText
|
|
3278
3282
|
}, null, 8, ["class", "svg-title"]))
|
|
3279
3283
|
], 10, ia)), [
|
|
3280
|
-
[o(
|
|
3284
|
+
[o(St), n.tooltipText, l.value]
|
|
3281
3285
|
]);
|
|
3282
3286
|
}
|
|
3283
|
-
}), Ii = /* @__PURE__ */ ue(da, [["__scopeId", "data-v-b8c9e150"]]),
|
|
3287
|
+
}), Ii = /* @__PURE__ */ ue(da, [["__scopeId", "data-v-b8c9e150"]]), Nl = {
|
|
3284
3288
|
"de-DE": {
|
|
3285
3289
|
numberResults: "1 Ergebnis | {count} Ergebnisse"
|
|
3286
3290
|
},
|
|
@@ -3300,7 +3304,7 @@ const aa = /* @__PURE__ */ ue(ta, [["render", sa]]), ia = ["aria-label"], ra = {
|
|
|
3300
3304
|
numberResults: "1 resultado | {count} resultados"
|
|
3301
3305
|
}
|
|
3302
3306
|
}, ua = { class: "b-data-grid-summary-cell" }, ca = { class: "b-data-grid-summary-cell__list" }, fa = {
|
|
3303
|
-
i18n: { messages:
|
|
3307
|
+
i18n: { messages: Nl }
|
|
3304
3308
|
}, ga = /* @__PURE__ */ Ie({
|
|
3305
3309
|
...fa,
|
|
3306
3310
|
__name: "data-grid-summary-cell",
|
|
@@ -3312,7 +3316,7 @@ const aa = /* @__PURE__ */ ue(ta, [["render", sa]]), ia = ["aria-label"], ra = {
|
|
|
3312
3316
|
tooltipText: { default: null }
|
|
3313
3317
|
},
|
|
3314
3318
|
setup(e) {
|
|
3315
|
-
const { tc: s } = We({ messages:
|
|
3319
|
+
const { tc: s } = We({ messages: Nl }), i = e, t = E(), u = C(() => ({
|
|
3316
3320
|
popoverPosition: "right",
|
|
3317
3321
|
// Setting popover defaults, but they are overriden if used passes dashedUnderline prop
|
|
3318
3322
|
popoverTitle: i.label,
|
|
@@ -3378,7 +3382,7 @@ const aa = /* @__PURE__ */ ue(ta, [["render", sa]]), ia = ["aria-label"], ra = {
|
|
|
3378
3382
|
},
|
|
3379
3383
|
setup(e) {
|
|
3380
3384
|
return (s, i) => (r(), p("div", va, [
|
|
3381
|
-
Y(In,
|
|
3385
|
+
Y(In, En(yn(s.tag)), null, 16),
|
|
3382
3386
|
Y(je, { el: "span" }, {
|
|
3383
3387
|
default: G(() => [
|
|
3384
3388
|
ge(X(s.value), 1)
|
|
@@ -3388,10 +3392,10 @@ const aa = /* @__PURE__ */ ue(ta, [["render", sa]]), ia = ["aria-label"], ra = {
|
|
|
3388
3392
|
]));
|
|
3389
3393
|
}
|
|
3390
3394
|
}), Di = /* @__PURE__ */ ue(ha, [["__scopeId", "data-v-2763675a"]]);
|
|
3391
|
-
let
|
|
3395
|
+
let cl = 0;
|
|
3392
3396
|
const Ca = {
|
|
3393
3397
|
beforeCreate() {
|
|
3394
|
-
this.uuid =
|
|
3398
|
+
this.uuid = cl.toString(), cl += 1;
|
|
3395
3399
|
}
|
|
3396
3400
|
}, _a = { key: 0 };
|
|
3397
3401
|
function ba(e, s, i, t, u, l) {
|
|
@@ -3410,10 +3414,10 @@ function ba(e, s, i, t, u, l) {
|
|
|
3410
3414
|
], 16);
|
|
3411
3415
|
}
|
|
3412
3416
|
const wa = /* @__PURE__ */ ue(Ca, [["render", ba]]);
|
|
3413
|
-
let
|
|
3417
|
+
let fl = 0;
|
|
3414
3418
|
const Sa = {
|
|
3415
3419
|
beforeCreate() {
|
|
3416
|
-
this.uuid =
|
|
3420
|
+
this.uuid = fl.toString(), fl += 1;
|
|
3417
3421
|
}
|
|
3418
3422
|
}, pa = { key: 0 };
|
|
3419
3423
|
function Ea(e, s, i, t, u, l) {
|
|
@@ -3431,7 +3435,7 @@ function Ea(e, s, i, t, u, l) {
|
|
|
3431
3435
|
}, null, -1))
|
|
3432
3436
|
], 16);
|
|
3433
3437
|
}
|
|
3434
|
-
const ya = /* @__PURE__ */ ue(Sa, [["render", Ea]]),
|
|
3438
|
+
const ya = /* @__PURE__ */ ue(Sa, [["render", Ea]]), Il = {
|
|
3435
3439
|
"en-US": {
|
|
3436
3440
|
decrease: "decrease",
|
|
3437
3441
|
increase: "increase"
|
|
@@ -3445,7 +3449,7 @@ const ya = /* @__PURE__ */ ue(Sa, [["render", Ea]]), Nl = {
|
|
|
3445
3449
|
increase: "aumentar"
|
|
3446
3450
|
}
|
|
3447
3451
|
}, Ra = {
|
|
3448
|
-
i18n: { messages:
|
|
3452
|
+
i18n: { messages: Il }
|
|
3449
3453
|
}, La = /* @__PURE__ */ Ie({
|
|
3450
3454
|
...Ra,
|
|
3451
3455
|
__name: "data-grid-trend-cell",
|
|
@@ -3455,7 +3459,7 @@ const ya = /* @__PURE__ */ ue(Sa, [["render", Ea]]), Nl = {
|
|
|
3455
3459
|
value: {}
|
|
3456
3460
|
},
|
|
3457
3461
|
setup(e) {
|
|
3458
|
-
const { t: s, locale: i } = We({ messages:
|
|
3462
|
+
const { t: s, locale: i } = We({ messages: Il }), t = e, u = C(() => ({
|
|
3459
3463
|
[`b-data-grid-trend-cell--${t.variant}`]: t.variant !== "black"
|
|
3460
3464
|
})), l = C(() => {
|
|
3461
3465
|
switch (t.direction) {
|
|
@@ -3517,7 +3521,7 @@ const ya = /* @__PURE__ */ ue(Sa, [["render", Ea]]), Nl = {
|
|
|
3517
3521
|
key: 5,
|
|
3518
3522
|
class: "b-data-grid__footer"
|
|
3519
3523
|
}, Ma = {
|
|
3520
|
-
i18n: { messages:
|
|
3524
|
+
i18n: { messages: mt },
|
|
3521
3525
|
name: "bento-data-grid"
|
|
3522
3526
|
}, Fa = /* @__PURE__ */ Ie({
|
|
3523
3527
|
...Ma,
|
|
@@ -3607,7 +3611,7 @@ const ya = /* @__PURE__ */ ue(Sa, [["render", Ea]]), Nl = {
|
|
|
3607
3611
|
* {@see BentoFilterValues}
|
|
3608
3612
|
*/
|
|
3609
3613
|
filterValues: {
|
|
3610
|
-
type:
|
|
3614
|
+
type: bt.props.filterValues.type,
|
|
3611
3615
|
default: () => []
|
|
3612
3616
|
},
|
|
3613
3617
|
/**
|
|
@@ -3638,7 +3642,7 @@ const ya = /* @__PURE__ */ ue(Sa, [["render", Ea]]), Nl = {
|
|
|
3638
3642
|
* Filter bar search term useful to filter all the data by text
|
|
3639
3643
|
*/
|
|
3640
3644
|
filterSearchTerm: {
|
|
3641
|
-
type:
|
|
3645
|
+
type: bt.props.searchTerm.type,
|
|
3642
3646
|
default: void 0
|
|
3643
3647
|
},
|
|
3644
3648
|
/**
|
|
@@ -3857,14 +3861,14 @@ const ya = /* @__PURE__ */ ue(Sa, [["render", Ea]]), Nl = {
|
|
|
3857
3861
|
z.CELL_FOCUS
|
|
3858
3862
|
],
|
|
3859
3863
|
setup(e, { expose: s, emit: i }) {
|
|
3860
|
-
const t = e, u =
|
|
3864
|
+
const t = e, u = Lt(), l = At(u), n = E(null), v = E(), f = E({}), _ = E(ft("data-grid")), b = E(null), N = E(null), D = E(), S = E(null), c = E(null), A = E(null), {
|
|
3861
3865
|
allowColumnDragAndDrop: O,
|
|
3862
3866
|
columns: k,
|
|
3863
3867
|
columnPanel: R,
|
|
3864
3868
|
data: M,
|
|
3865
|
-
lazyLoadType:
|
|
3869
|
+
lazyLoadType: h,
|
|
3866
3870
|
loading: F,
|
|
3867
|
-
hasNestedContent:
|
|
3871
|
+
hasNestedContent: m,
|
|
3868
3872
|
hasNestedRows: a,
|
|
3869
3873
|
selectable: g,
|
|
3870
3874
|
selection: T,
|
|
@@ -3873,12 +3877,12 @@ const ya = /* @__PURE__ */ ue(Sa, [["render", Ea]]), Nl = {
|
|
|
3873
3877
|
outline: Z,
|
|
3874
3878
|
pagination: le,
|
|
3875
3879
|
zebraRows: we
|
|
3876
|
-
} =
|
|
3877
|
-
|
|
3880
|
+
} = Rt(t), ve = E(-1), { t: fe } = We({ messages: mt }), ne = C(() => U.value.filter(($) => $.frozen).length), q = 550, Re = E(), { width: y } = Fn(Re), Q = C(() => y.value <= q);
|
|
3881
|
+
dt(lt, Q);
|
|
3878
3882
|
const J = E(!1);
|
|
3879
3883
|
Xe(() => {
|
|
3880
3884
|
typeof window < "u" && (J.value = "ontouchstart" in window || (navigator == null ? void 0 : navigator.maxTouchPoints) > 0);
|
|
3881
|
-
}),
|
|
3885
|
+
}), dt(vt, J);
|
|
3882
3886
|
const ee = Pe(
|
|
3883
3887
|
Mn,
|
|
3884
3888
|
() => ({
|
|
@@ -3901,86 +3905,86 @@ const ya = /* @__PURE__ */ ue(Sa, [["render", Ea]]), Nl = {
|
|
|
3901
3905
|
hasColumnPanel: R,
|
|
3902
3906
|
hasSelectableColumn: g,
|
|
3903
3907
|
hasSelectableAcrossPages: B,
|
|
3904
|
-
hasNestedContent:
|
|
3908
|
+
hasNestedContent: m,
|
|
3905
3909
|
hasNestedRows: a,
|
|
3906
3910
|
allowColumnDragAndDrop: O,
|
|
3907
3911
|
isDataGridTemplate: Te
|
|
3908
3912
|
}), re = i, K = ($, ...P) => {
|
|
3909
3913
|
($ === z.COLUMNS || $ === z.UPDATE_COLUMNS) && ([te.value] = P), re($, ...P);
|
|
3910
|
-
}, He =
|
|
3914
|
+
}, He = Kt(
|
|
3911
3915
|
d,
|
|
3912
3916
|
Be,
|
|
3913
3917
|
V,
|
|
3914
3918
|
Ve
|
|
3915
|
-
),
|
|
3919
|
+
), ht = C(
|
|
3916
3920
|
() => t.stickyFilters ? `${He.value}px` : null
|
|
3917
|
-
), De =
|
|
3921
|
+
), De = Kt(N, wt(t, "stickyFilters")), Qe = C(
|
|
3918
3922
|
() => `${De.value + He.value}px`
|
|
3919
3923
|
), {
|
|
3920
|
-
sortedColumns:
|
|
3921
|
-
columnSets:
|
|
3922
|
-
isOnlyOneVisibleColumn:
|
|
3923
|
-
internalZebraRows:
|
|
3924
|
-
onConfigSettingsColumnsUpdate:
|
|
3925
|
-
onConfigSettingsColumnUpdate:
|
|
3926
|
-
onConfigSettingsCondensedUpdate:
|
|
3927
|
-
onConfigSettingsZebraRowsUpdate:
|
|
3928
|
-
} = _o(U, we, K), { hoveredOverColumn:
|
|
3929
|
-
|
|
3924
|
+
sortedColumns: nt,
|
|
3925
|
+
columnSets: ot,
|
|
3926
|
+
isOnlyOneVisibleColumn: $l,
|
|
3927
|
+
internalZebraRows: Ct,
|
|
3928
|
+
onConfigSettingsColumnsUpdate: Dl,
|
|
3929
|
+
onConfigSettingsColumnUpdate: kl,
|
|
3930
|
+
onConfigSettingsCondensedUpdate: Ul,
|
|
3931
|
+
onConfigSettingsZebraRowsUpdate: Ml
|
|
3932
|
+
} = _o(U, we, K), { hoveredOverColumn: Fl, hoveredOverColumnState: It } = wo(
|
|
3933
|
+
ot,
|
|
3930
3934
|
g,
|
|
3931
3935
|
Z,
|
|
3932
3936
|
I
|
|
3933
|
-
), { draggingColumns:
|
|
3937
|
+
), { draggingColumns: $t, draggingEventsForColumns: zl, draggingEventsForRowCell: Pl, onMoveColumnByOffset: Bl } = Co(nt, O, K), Dt = C(
|
|
3934
3938
|
() => {
|
|
3935
3939
|
var $;
|
|
3936
3940
|
return (($ = t.data) == null ? void 0 : $.length) > 0 && !!t.selectableAcrossPages && !!t.pagination && t.pagination.totalCount > 0;
|
|
3937
3941
|
}
|
|
3938
3942
|
), {
|
|
3939
|
-
onAllRowSelect:
|
|
3940
|
-
onRowSelect:
|
|
3941
|
-
onNestedRowSelect:
|
|
3942
|
-
onDeselectAll:
|
|
3943
|
-
allItemsSelectedState:
|
|
3944
|
-
selectedItems:
|
|
3945
|
-
selectionState:
|
|
3943
|
+
onAllRowSelect: Wl,
|
|
3944
|
+
onRowSelect: Vl,
|
|
3945
|
+
onNestedRowSelect: Hl,
|
|
3946
|
+
onDeselectAll: kt,
|
|
3947
|
+
allItemsSelectedState: Gl,
|
|
3948
|
+
selectedItems: _t,
|
|
3949
|
+
selectionState: xl
|
|
3946
3950
|
} = fo(
|
|
3947
3951
|
T,
|
|
3948
3952
|
K,
|
|
3949
3953
|
M,
|
|
3950
3954
|
t.getDataItemId,
|
|
3951
3955
|
t.isDataItemDisabled,
|
|
3952
|
-
|
|
3956
|
+
Dt,
|
|
3953
3957
|
le
|
|
3954
|
-
),
|
|
3958
|
+
), Zl = C(() => {
|
|
3955
3959
|
var $, P, de, j;
|
|
3956
3960
|
return {
|
|
3957
3961
|
filtered: (($ = D.value) == null ? void 0 : $.isClearAllVisible) || ((P = D.value) == null ? void 0 : P.isResetAllVisible) || !!t.filterSearchTerm,
|
|
3958
3962
|
allRowsVisible: ((de = le.value) == null ? void 0 : de.size) >= ((j = le.value) == null ? void 0 : j.totalCount)
|
|
3959
3963
|
};
|
|
3960
|
-
}), { navigationInput:
|
|
3964
|
+
}), { navigationInput: st } = vo(
|
|
3961
3965
|
b,
|
|
3962
3966
|
f,
|
|
3963
|
-
|
|
3967
|
+
nt,
|
|
3964
3968
|
g,
|
|
3965
3969
|
C(() => t.rowActions !== void 0),
|
|
3966
3970
|
R
|
|
3967
|
-
), { isLazyLoad: qe, isInfiniteScroll:
|
|
3968
|
-
|
|
3971
|
+
), { isLazyLoad: qe, isInfiniteScroll: jl, verticalScrollPosition: ql, emitLazyLoadEvent: Kl } = ho(
|
|
3972
|
+
h,
|
|
3969
3973
|
c,
|
|
3970
3974
|
n,
|
|
3971
3975
|
F,
|
|
3972
3976
|
K
|
|
3973
3977
|
), {
|
|
3974
|
-
updateScrollPosition:
|
|
3975
|
-
updateScrollPositionOnFrozenColumnsNavigation:
|
|
3976
|
-
syncVirtualScrollerWithBody:
|
|
3977
|
-
hasLeftOverflow:
|
|
3978
|
-
hasRightOverflow:
|
|
3979
|
-
horizontalScrollbarConditionalStyles:
|
|
3978
|
+
updateScrollPosition: at,
|
|
3979
|
+
updateScrollPositionOnFrozenColumnsNavigation: Yl,
|
|
3980
|
+
syncVirtualScrollerWithBody: Ut,
|
|
3981
|
+
hasLeftOverflow: it,
|
|
3982
|
+
hasRightOverflow: Mt,
|
|
3983
|
+
horizontalScrollbarConditionalStyles: Jl
|
|
3980
3984
|
} = bo(
|
|
3981
3985
|
n,
|
|
3982
3986
|
v,
|
|
3983
|
-
|
|
3987
|
+
ql,
|
|
3984
3988
|
A,
|
|
3985
3989
|
S,
|
|
3986
3990
|
oe,
|
|
@@ -3990,100 +3994,100 @@ const ya = /* @__PURE__ */ ue(Sa, [["render", Ea]]), Nl = {
|
|
|
3990
3994
|
stickyPagination: x,
|
|
3991
3995
|
isDataGridTemplate: Te
|
|
3992
3996
|
}
|
|
3993
|
-
),
|
|
3997
|
+
), Xl = () => {
|
|
3994
3998
|
D.value.isClearAllVisible ? D.value.clearAllFilters() : D.value.isResetAllVisible && D.value.resetAllFilters();
|
|
3995
|
-
},
|
|
3999
|
+
}, Ql = C(() => {
|
|
3996
4000
|
var $, P;
|
|
3997
4001
|
return {
|
|
3998
4002
|
...t.emptyState,
|
|
3999
4003
|
variant: (($ = t.emptyState) == null ? void 0 : $.variant) === "embedded" || ((P = t.emptyState) == null ? void 0 : P.variant) === "basic" ? t.emptyState.variant : "basic"
|
|
4000
4004
|
};
|
|
4001
|
-
}),
|
|
4005
|
+
}), en = C(() => ({
|
|
4002
4006
|
[`b-data-grid--${Me.OUTLINE}`]: t.outline,
|
|
4003
4007
|
[`b-data-grid--${Me.SCROLL}`]: t.fitContent || qe.value,
|
|
4004
4008
|
[`b-data-grid--${Me.STICKY_FILTERS}`]: t.filters && t.stickyFilters,
|
|
4005
|
-
[`b-data-grid--${Me.OVERFLOW_SHADOW_LEFT}`]:
|
|
4006
|
-
[`b-data-grid--${Me.OVERFLOW_SHADOW_RIGHT}`]:
|
|
4009
|
+
[`b-data-grid--${Me.OVERFLOW_SHADOW_LEFT}`]: it.value && !ne.value,
|
|
4010
|
+
[`b-data-grid--${Me.OVERFLOW_SHADOW_RIGHT}`]: Mt.value && t.rowActions === void 0,
|
|
4007
4011
|
[`b-data-grid--${Me.NO_SPACING_TOP}`]: t.noSpacingTop,
|
|
4008
4012
|
[`b-data-grid--${Me.FIT_CONTENT}`]: t.fitContent,
|
|
4009
|
-
[`b-data-grid--${Me.ZEBRA_ROWS}`]:
|
|
4013
|
+
[`b-data-grid--${Me.ZEBRA_ROWS}`]: Ct.value,
|
|
4010
4014
|
"b-data-grid--lazy-load": qe.value
|
|
4011
|
-
})),
|
|
4015
|
+
})), tn = C(() => ({
|
|
4012
4016
|
"b-data-grid__body--sticky-horizontal-scrollbar": t.stickyHorizontalScrollbar
|
|
4013
|
-
})),
|
|
4017
|
+
})), ln = C(() => ot.value.findIndex(($) => $.columnSet.length)), Ft = C(() => !((t.selectable || t.hasNestedContent || t.hasNestedRows) && ne.value === 1) || it.value), nn = C(() => ({
|
|
4014
4018
|
"b-data-grid__filters--sticky": !!t.stickyFilters || Te
|
|
4015
|
-
})),
|
|
4019
|
+
})), on = C(() => {
|
|
4016
4020
|
var $, P, de, j, Le, ke;
|
|
4017
4021
|
return {
|
|
4018
4022
|
"b-data-grid__pagination--padding-left-unset": ((de = (P = ($ = t.columns) == null ? void 0 : $[0]) == null ? void 0 : P.padding) == null ? void 0 : de.left) === !1,
|
|
4019
4023
|
"b-data-grid__pagination--padding-right-unset": ((ke = (Le = (j = t.columns) == null ? void 0 : j[t.columns.length - 1]) == null ? void 0 : Le.padding) == null ? void 0 : ke.right) === !1,
|
|
4020
4024
|
"b-data-grid__pagination--sticky": !!t.stickyPagination || Te
|
|
4021
4025
|
};
|
|
4022
|
-
}),
|
|
4026
|
+
}), sn = ($) => {
|
|
4023
4027
|
const P = $;
|
|
4024
4028
|
$ !== null && (P != null && P.columnHeaderRefs) && Object.entries(P == null ? void 0 : P.columnHeaderRefs).forEach(([de, j]) => {
|
|
4025
4029
|
f.value[de] = j;
|
|
4026
4030
|
});
|
|
4027
|
-
},
|
|
4031
|
+
}, an = ($, P) => {
|
|
4028
4032
|
var j, Le, ke, xe;
|
|
4029
4033
|
const de = $;
|
|
4030
4034
|
if ($ !== null && de != null && de.gridcellRefs) {
|
|
4031
4035
|
const $e = t.rowActions !== void 0 && (de == null ? void 0 : de.rowActionsRef);
|
|
4032
4036
|
Object.entries(de == null ? void 0 : de.gridcellRefs).map(([Se, Ke]) => {
|
|
4033
|
-
var
|
|
4034
|
-
((
|
|
4037
|
+
var rt;
|
|
4038
|
+
((rt = b.value) == null ? void 0 : rt[Se]) === void 0 && (b.value = { ...b.value, [Se]: [] }), b.value[Se][P] = Ke;
|
|
4035
4039
|
}), $e && (((j = b.value) == null ? void 0 : j[et]) === void 0 && (b.value = { ...b.value, [et]: [] }), b.value[et][P] = (Le = de.rowActionsRef) == null ? void 0 : Le[0], ae.value = Math.max(
|
|
4036
4040
|
ae.value,
|
|
4037
4041
|
((xe = (ke = de.rowActionsRef) == null ? void 0 : ke[0]) == null ? void 0 : xe.offsetWidth) ?? 0
|
|
4038
4042
|
));
|
|
4039
4043
|
}
|
|
4040
|
-
},
|
|
4044
|
+
}, rn = ($, P) => {
|
|
4041
4045
|
t.allowRowClicks && K(z.ROW_CLICK, $, P);
|
|
4042
|
-
},
|
|
4046
|
+
}, dn = ($) => {
|
|
4043
4047
|
ve.value = $;
|
|
4044
|
-
},
|
|
4048
|
+
}, un = C(() => t.hasNestedContent || t.hasNestedRows ? "treegrid" : "grid"), zt = C(() => {
|
|
4045
4049
|
var $;
|
|
4046
|
-
return (($ =
|
|
4047
|
-
}),
|
|
4050
|
+
return (($ = _t.value) == null ? void 0 : $.length) ?? 0;
|
|
4051
|
+
}), cn = C(() => t.bulkActions && zt.value > 0), fn = ($) => K(z.COLUMN_RESIZE, $), gn = ($) => {
|
|
4048
4052
|
K(z.UPDATE_SORT_BY, $), K(z.SORT, $);
|
|
4049
|
-
},
|
|
4053
|
+
}, vn = ($, P) => {
|
|
4050
4054
|
K(z.NAVIGATE, $), K(z.UPDATE_PAGINATION, {
|
|
4051
4055
|
...t.pagination,
|
|
4052
4056
|
size: P,
|
|
4053
4057
|
page: $
|
|
4054
4058
|
});
|
|
4055
|
-
},
|
|
4059
|
+
}, mn = ($) => {
|
|
4056
4060
|
K(z.ITEMS_PAGE, $);
|
|
4057
|
-
},
|
|
4061
|
+
}, hn = () => {
|
|
4058
4062
|
K(z.FILTER_SEARCH_CLEAR);
|
|
4059
|
-
},
|
|
4063
|
+
}, Cn = ($) => {
|
|
4060
4064
|
K(z.UPDATE_FILTER_SEARCH_TERM, $), K(z.FILTER_SEARCH_INPUT, $);
|
|
4061
4065
|
};
|
|
4062
|
-
return C(() => k.value.some(($) => $.mandatory)).value ||
|
|
4066
|
+
return C(() => k.value.some(($) => $.mandatory)).value || hl(
|
|
4063
4067
|
"WARNING: At least one BentoDataGrid column should be set as mandatory to ensure data is always displayed correctly."
|
|
4064
|
-
), Pe(Un, () => null)(t.tabTitle),
|
|
4068
|
+
), Pe(Un, () => null)(t.tabTitle), dt(Rl, wt(t, "slashedZero")), s({ onEmptyStateClearResetButtonClick: Xl }), ($, P) => {
|
|
4065
4069
|
var de;
|
|
4066
4070
|
return r(), p("div", {
|
|
4067
4071
|
ref_key: "dataGridRef",
|
|
4068
4072
|
ref: Re,
|
|
4069
|
-
class: ce(["b-data-grid",
|
|
4073
|
+
class: ce(["b-data-grid", en.value]),
|
|
4070
4074
|
"data-testid": "data-grid",
|
|
4071
4075
|
"aria-live": "polite",
|
|
4072
4076
|
"aria-busy": o(F),
|
|
4073
4077
|
onCopy: P[14] || (P[14] = //@ts-ignore
|
|
4074
|
-
(...j) => o(
|
|
4078
|
+
(...j) => o(Xt) && o(Xt)(...j))
|
|
4075
4079
|
}, [
|
|
4076
4080
|
e.filters ? (r(), p("div", {
|
|
4077
4081
|
key: 0,
|
|
4078
4082
|
ref_key: "filtersRef",
|
|
4079
4083
|
ref: N,
|
|
4080
|
-
class: ce(["b-data-grid__filters",
|
|
4081
|
-
style: Fe({ top:
|
|
4084
|
+
class: ce(["b-data-grid__filters", nn.value]),
|
|
4085
|
+
style: Fe({ top: ht.value }),
|
|
4082
4086
|
"aria-controls": _.value,
|
|
4083
4087
|
"aria-label": o(fe)("filterBar"),
|
|
4084
4088
|
role: "region"
|
|
4085
4089
|
}, [
|
|
4086
|
-
e.filters ? (r(), H(o(
|
|
4090
|
+
e.filters ? (r(), H(o(bt), {
|
|
4087
4091
|
key: 0,
|
|
4088
4092
|
ref_key: "filterBarRef",
|
|
4089
4093
|
ref: D,
|
|
@@ -4093,8 +4097,8 @@ const ya = /* @__PURE__ */ ue(Sa, [["render", Ea]]), Nl = {
|
|
|
4093
4097
|
"filter-values-object": e.filterValuesObject,
|
|
4094
4098
|
search: e.filterSearchConfig,
|
|
4095
4099
|
"search-term": e.filterSearchTerm,
|
|
4096
|
-
onSearchInput:
|
|
4097
|
-
onSearchClear:
|
|
4100
|
+
onSearchInput: Cn,
|
|
4101
|
+
onSearchClear: hn,
|
|
4098
4102
|
onInput: P[0] || (P[0] = (j) => $.$emit(o(z).UPDATE_FILTERS, j)),
|
|
4099
4103
|
"onUpdate:filterValues": P[1] || (P[1] = (j) => $.$emit(o(z).UPDATE_FILTER_VALUES, j)),
|
|
4100
4104
|
"onUpdate:filterValuesObject": P[2] || (P[2] = (j) => $.$emit(o(z).UPDATE_FILTER_VALUES_OBJECT, j))
|
|
@@ -4105,7 +4109,7 @@ const ya = /* @__PURE__ */ ue(Sa, [["render", Ea]]), Nl = {
|
|
|
4105
4109
|
])) : W("", !0),
|
|
4106
4110
|
L("div", {
|
|
4107
4111
|
id: _.value,
|
|
4108
|
-
role:
|
|
4112
|
+
role: un.value,
|
|
4109
4113
|
"aria-rowcount": o(M).length,
|
|
4110
4114
|
"aria-colcount": o(k).length,
|
|
4111
4115
|
"aria-label": e.emptyState ? o(fe)("noResults") : null,
|
|
@@ -4122,9 +4126,9 @@ const ya = /* @__PURE__ */ ue(Sa, [["render", Ea]]), Nl = {
|
|
|
4122
4126
|
role: "rowgroup",
|
|
4123
4127
|
class: "b-data-grid__columns-row",
|
|
4124
4128
|
onScroll: P[7] || (P[7] = //@ts-ignore
|
|
4125
|
-
(...j) => o(
|
|
4129
|
+
(...j) => o(at) && o(at)(...j)),
|
|
4126
4130
|
onKeydown: P[8] || (P[8] = //@ts-ignore
|
|
4127
|
-
(...j) => o(
|
|
4131
|
+
(...j) => o(st) && o(st)(...j))
|
|
4128
4132
|
}, [
|
|
4129
4133
|
o(R) ? (r(), p("div", Ia, [
|
|
4130
4134
|
Y(o(Os), {
|
|
@@ -4132,10 +4136,10 @@ const ya = /* @__PURE__ */ ue(Sa, [["render", Ea]]), Nl = {
|
|
|
4132
4136
|
role: "gridcell",
|
|
4133
4137
|
columns: o(te),
|
|
4134
4138
|
condensed: e.condensed,
|
|
4135
|
-
"zebra-rows": o(
|
|
4136
|
-
"onUpdate:condensed": o(
|
|
4137
|
-
"onUpdate:zebraRows": o(
|
|
4138
|
-
"onUpdate:columns": o(
|
|
4139
|
+
"zebra-rows": o(Ct),
|
|
4140
|
+
"onUpdate:condensed": o(Ul),
|
|
4141
|
+
"onUpdate:zebraRows": o(Ml),
|
|
4142
|
+
"onUpdate:columns": o(Dl)
|
|
4139
4143
|
}, null, 8, ["columns", "condensed", "zebra-rows", "onUpdate:condensed", "onUpdate:zebraRows", "onUpdate:columns"])
|
|
4140
4144
|
])) : W("", !0),
|
|
4141
4145
|
L("div", {
|
|
@@ -4143,51 +4147,51 @@ const ya = /* @__PURE__ */ ue(Sa, [["render", Ea]]), Nl = {
|
|
|
4143
4147
|
class: "b-data-grid__columns",
|
|
4144
4148
|
role: "row"
|
|
4145
4149
|
}, [
|
|
4146
|
-
(r(!0), p(be, null, Ae(o(
|
|
4150
|
+
(r(!0), p(be, null, Ae(o(ot), ({ columnSet: j, id: Le, isFrozenColumns: ke }, xe) => {
|
|
4147
4151
|
var $e;
|
|
4148
4152
|
return r(), p(be, null, [
|
|
4149
4153
|
j != null && j.length ? (r(), H(o(ss), se({
|
|
4150
4154
|
key: `data-grid-columns-${Le}`,
|
|
4151
4155
|
ref_for: !0,
|
|
4152
|
-
ref: (Se) =>
|
|
4156
|
+
ref: (Se) => sn(Se),
|
|
4153
4157
|
columns: j,
|
|
4154
4158
|
"has-resizable-columns": e.hasResizableColumns,
|
|
4155
4159
|
"sort-by": e.sortBy,
|
|
4156
|
-
"all-items-selected-state": o(
|
|
4160
|
+
"all-items-selected-state": o(Gl),
|
|
4157
4161
|
"is-frozen-columns": ke,
|
|
4158
|
-
"show-frozen-columns-separator":
|
|
4159
|
-
"dragging-columns": o(
|
|
4162
|
+
"show-frozen-columns-separator": Ft.value,
|
|
4163
|
+
"dragging-columns": o($t),
|
|
4160
4164
|
"has-draggable-columns": o(O),
|
|
4161
4165
|
"has-column-panel": o(R),
|
|
4162
|
-
"has-left-overflow": o(
|
|
4163
|
-
"has-first-column-panel-right-aligned": xe ===
|
|
4164
|
-
"hovered-over-column-state": o(
|
|
4166
|
+
"has-left-overflow": o(it),
|
|
4167
|
+
"has-first-column-panel-right-aligned": xe === ln.value,
|
|
4168
|
+
"hovered-over-column-state": o(It),
|
|
4165
4169
|
"is-measuring-column-widths": o(w),
|
|
4166
|
-
"is-only-one-visible-column": o(
|
|
4170
|
+
"is-only-one-visible-column": o($l),
|
|
4167
4171
|
selectable: (($e = o(M)) == null ? void 0 : $e.length) > 0 && o(g),
|
|
4168
|
-
"selectable-across-pages":
|
|
4169
|
-
"selected-items": o(
|
|
4170
|
-
"visible-rows-state":
|
|
4171
|
-
"selection-state": o(
|
|
4172
|
+
"selectable-across-pages": Dt.value,
|
|
4173
|
+
"selected-items": o(_t),
|
|
4174
|
+
"visible-rows-state": Zl.value,
|
|
4175
|
+
"selection-state": o(xl),
|
|
4172
4176
|
"truncate-column-headers": e.truncateColumnHeaders,
|
|
4173
4177
|
"row-actions-maximum-width": o(ae)
|
|
4174
|
-
},
|
|
4175
|
-
onColumnHover: P[3] || (P[3] = (Se) =>
|
|
4176
|
-
onColumnMove: o(
|
|
4177
|
-
onColumnUpdate: o(
|
|
4178
|
-
onColumnResize:
|
|
4178
|
+
}, gt(o(zl)), {
|
|
4179
|
+
onColumnHover: P[3] || (P[3] = (Se) => Fl.value = Se),
|
|
4180
|
+
onColumnMove: o(Bl),
|
|
4181
|
+
onColumnUpdate: o(kl),
|
|
4182
|
+
onColumnResize: fn,
|
|
4179
4183
|
onColumnResizing: o(Ce),
|
|
4180
|
-
onSelectAllRows: o(
|
|
4184
|
+
onSelectAllRows: o(Wl),
|
|
4181
4185
|
onSelectAllAcrossPages: P[4] || (P[4] = (Se) => K(o(z).SELECT_ALL_ACROSS_PAGES)),
|
|
4182
4186
|
onSelectAllCurrentResults: P[5] || (P[5] = (Se) => K(o(z).SELECT_ALL_CURRENT_RESULTS)),
|
|
4183
4187
|
onDeselectAllCurrentResults: P[6] || (P[6] = (Se) => K(o(z).DESELECT_ALL_CURRENT_RESULTS)),
|
|
4184
|
-
onDeselectAll: o(
|
|
4185
|
-
onSort:
|
|
4188
|
+
onDeselectAll: o(kt),
|
|
4189
|
+
onSort: gn
|
|
4186
4190
|
}), Je({ _: 2 }, [
|
|
4187
4191
|
Ae(o(u), (Se, Ke) => ({
|
|
4188
4192
|
name: Ke,
|
|
4189
|
-
fn: G((
|
|
4190
|
-
ze($.$slots, Ke, se({ ref_for: !0 },
|
|
4193
|
+
fn: G((rt) => [
|
|
4194
|
+
ze($.$slots, Ke, se({ ref_for: !0 }, rt), void 0, !0)
|
|
4191
4195
|
])
|
|
4192
4196
|
}))
|
|
4193
4197
|
]), 1040, ["columns", "has-resizable-columns", "sort-by", "all-items-selected-state", "is-frozen-columns", "show-frozen-columns-separator", "dragging-columns", "has-draggable-columns", "has-column-panel", "has-left-overflow", "has-first-column-panel-right-aligned", "hovered-over-column-state", "is-measuring-column-widths", "is-only-one-visible-column", "selectable", "selectable-across-pages", "selected-items", "visible-rows-state", "selection-state", "truncate-column-headers", "row-actions-maximum-width", "onColumnMove", "onColumnUpdate", "onColumnResizing", "onSelectAllRows", "onDeselectAll"])) : W("", !0)
|
|
@@ -4200,12 +4204,12 @@ const ya = /* @__PURE__ */ ue(Sa, [["render", Ea]]), Nl = {
|
|
|
4200
4204
|
ref_key: "body",
|
|
4201
4205
|
ref: n,
|
|
4202
4206
|
"data-testid": "data-grid-body",
|
|
4203
|
-
class: ce(["b-data-grid__body",
|
|
4207
|
+
class: ce(["b-data-grid__body", tn.value]),
|
|
4204
4208
|
onScroll: P[12] || (P[12] = //@ts-ignore
|
|
4205
|
-
(...j) => o(
|
|
4209
|
+
(...j) => o(at) && o(at)(...j))
|
|
4206
4210
|
}, [
|
|
4207
4211
|
o(F) && !o(qe) ? (r(), p("div", $a, [
|
|
4208
|
-
Y(o(
|
|
4212
|
+
Y(o(ct), {
|
|
4209
4213
|
class: "b-data-grid__loading-indicator",
|
|
4210
4214
|
large: ""
|
|
4211
4215
|
}),
|
|
@@ -4222,7 +4226,7 @@ const ya = /* @__PURE__ */ ue(Sa, [["render", Ea]]), Nl = {
|
|
|
4222
4226
|
key: 1,
|
|
4223
4227
|
role: "rowgroup",
|
|
4224
4228
|
onKeydown: P[11] || (P[11] = //@ts-ignore
|
|
4225
|
-
(...j) => o(
|
|
4229
|
+
(...j) => o(st) && o(st)(...j))
|
|
4226
4230
|
}, [
|
|
4227
4231
|
((de = o(M)) == null ? void 0 : de.length) === 0 && e.emptyState ? (r(), p("div", Da, [
|
|
4228
4232
|
L("div", {
|
|
@@ -4230,30 +4234,30 @@ const ya = /* @__PURE__ */ ue(Sa, [["render", Ea]]), Nl = {
|
|
|
4230
4234
|
"aria-colspan": o(k).length,
|
|
4231
4235
|
tabindex: "-1"
|
|
4232
4236
|
}, [
|
|
4233
|
-
Y(o(kn), se({ class: "b-data-grid__empty-state" },
|
|
4237
|
+
Y(o(kn), se({ class: "b-data-grid__empty-state" }, Ql.value), null, 16)
|
|
4234
4238
|
], 8, ka)
|
|
4235
4239
|
])) : (r(!0), p(be, { key: 1 }, Ae(o(M), (j, Le) => {
|
|
4236
4240
|
var ke, xe;
|
|
4237
|
-
return r(), H(o(
|
|
4241
|
+
return r(), H(o(Ol), {
|
|
4238
4242
|
key: Le,
|
|
4239
4243
|
ref_for: !0,
|
|
4240
|
-
ref: ($e) =>
|
|
4244
|
+
ref: ($e) => an($e, Le),
|
|
4241
4245
|
style: Fe(o(me)),
|
|
4242
4246
|
"allow-row-clicks": e.allowRowClicks,
|
|
4243
|
-
"column-sets": o(
|
|
4247
|
+
"column-sets": o(ot),
|
|
4244
4248
|
condensed: e.condensed,
|
|
4245
|
-
"dragging-columns": o(
|
|
4246
|
-
"dragging-events-for-row-cell": o(
|
|
4249
|
+
"dragging-columns": o($t),
|
|
4250
|
+
"dragging-events-for-row-cell": o(Pl),
|
|
4247
4251
|
"get-data-item-id": e.getDataItemId,
|
|
4248
|
-
"has-nested-content": o(
|
|
4252
|
+
"has-nested-content": o(m),
|
|
4249
4253
|
"has-nested-rows": o(a),
|
|
4250
|
-
"has-left-overflow": o(
|
|
4251
|
-
"has-right-overflow": o(
|
|
4254
|
+
"has-left-overflow": o(it),
|
|
4255
|
+
"has-right-overflow": o(Mt),
|
|
4252
4256
|
"highlighted-rows": e.highlightedRows,
|
|
4253
4257
|
"hovered-row-index": ve.value,
|
|
4254
|
-
"hovered-over-column-state": o(
|
|
4258
|
+
"hovered-over-column-state": o(It),
|
|
4255
4259
|
"is-data-item-disabled": e.isDataItemDisabled,
|
|
4256
|
-
"is-row-even": o(
|
|
4260
|
+
"is-row-even": o(Ct) ? Le % 2 !== 0 : !1,
|
|
4257
4261
|
"is-row-last-child": Le + 1 === ((ke = o(M)) == null ? void 0 : ke.length),
|
|
4258
4262
|
"is-measuring-column-widths": o(w),
|
|
4259
4263
|
"row-actions-maximum-width": o(ae),
|
|
@@ -4261,18 +4265,18 @@ const ya = /* @__PURE__ */ ue(Sa, [["render", Ea]]), Nl = {
|
|
|
4261
4265
|
"row-data": j,
|
|
4262
4266
|
"row-index": Le,
|
|
4263
4267
|
"row-set-size": (xe = o(M)) == null ? void 0 : xe.length,
|
|
4264
|
-
"show-frozen-columns-separator":
|
|
4268
|
+
"show-frozen-columns-separator": Ft.value,
|
|
4265
4269
|
"should-show-nested-content": e.shouldShowNestedContent,
|
|
4266
4270
|
"should-show-nested-rows": e.shouldShowNestedRows,
|
|
4267
4271
|
selectable: o(g),
|
|
4268
|
-
"selected-items": o(
|
|
4269
|
-
onCellHovered:
|
|
4272
|
+
"selected-items": o(_t),
|
|
4273
|
+
onCellHovered: dn,
|
|
4270
4274
|
onCellFocus: P[9] || (P[9] = ($e) => K(o(z).CELL_FOCUS, $e)),
|
|
4271
4275
|
onNestedContentToggled: P[10] || (P[10] = ($e) => K(o(z).NESTED_CONTENT_TOGGLED, $e)),
|
|
4272
|
-
onRowClick:
|
|
4273
|
-
onOnFrozenColumnsKeyPress: o(
|
|
4274
|
-
onSelectRow: o(
|
|
4275
|
-
onSelectNestedRow: o(
|
|
4276
|
+
onRowClick: rn,
|
|
4277
|
+
onOnFrozenColumnsKeyPress: o(Yl),
|
|
4278
|
+
onSelectRow: o(Vl),
|
|
4279
|
+
onSelectNestedRow: o(Hl)
|
|
4276
4280
|
}, Je({ _: 2 }, [
|
|
4277
4281
|
Ae(o(u), ($e, Se) => ({
|
|
4278
4282
|
name: Se,
|
|
@@ -4288,8 +4292,8 @@ const ya = /* @__PURE__ */ ue(Sa, [["render", Ea]]), Nl = {
|
|
|
4288
4292
|
o(qe) ? (r(), H(o(Ds), {
|
|
4289
4293
|
key: 2,
|
|
4290
4294
|
loading: o(F),
|
|
4291
|
-
"is-infinite-scroll": o(
|
|
4292
|
-
"onUpdate:showMore": o(
|
|
4295
|
+
"is-infinite-scroll": o(jl),
|
|
4296
|
+
"onUpdate:showMore": o(Kl)
|
|
4293
4297
|
}, null, 8, ["loading", "is-infinite-scroll", "onUpdate:showMore"])) : W("", !0),
|
|
4294
4298
|
e.stickyHorizontalScrollbar ? (r(), p("div", {
|
|
4295
4299
|
key: 3,
|
|
@@ -4298,9 +4302,9 @@ const ya = /* @__PURE__ */ ue(Sa, [["render", Ea]]), Nl = {
|
|
|
4298
4302
|
class: "b-data-grid__horizontal-scrollbar",
|
|
4299
4303
|
"aria-hidden": "true",
|
|
4300
4304
|
"data-testid": "sticky-horizontal-scrollbar",
|
|
4301
|
-
style: Fe(o(
|
|
4305
|
+
style: Fe(o(Jl)),
|
|
4302
4306
|
onScroll: P[13] || (P[13] = //@ts-ignore
|
|
4303
|
-
(...j) => o(
|
|
4307
|
+
(...j) => o(Ut) && o(Ut)(...j))
|
|
4304
4308
|
}, [
|
|
4305
4309
|
L("div", {
|
|
4306
4310
|
style: Fe({ width: `${o(oe)}px`, height: "15px" })
|
|
@@ -4311,13 +4315,13 @@ const ya = /* @__PURE__ */ ue(Sa, [["render", Ea]]), Nl = {
|
|
|
4311
4315
|
ref_key: "paginationContainerRef",
|
|
4312
4316
|
ref: S,
|
|
4313
4317
|
"data-testid": "pagination-container",
|
|
4314
|
-
class: ce(["b-data-grid__pagination",
|
|
4318
|
+
class: ce(["b-data-grid__pagination", on.value])
|
|
4315
4319
|
}, [
|
|
4316
4320
|
Y(o(Dn), se(o(le), {
|
|
4317
4321
|
"aria-label": $.$t("pagination"),
|
|
4318
4322
|
"aria-controls": _.value,
|
|
4319
|
-
onNavigate:
|
|
4320
|
-
onItemsPage:
|
|
4323
|
+
onNavigate: vn,
|
|
4324
|
+
onItemsPage: mn
|
|
4321
4325
|
}), {
|
|
4322
4326
|
default: G(() => [
|
|
4323
4327
|
o(l)("pagination-slot") ? ze($.$slots, "pagination-slot", { key: 0 }, void 0, !0) : W("", !0)
|
|
@@ -4328,27 +4332,27 @@ const ya = /* @__PURE__ */ ue(Sa, [["render", Ea]]), Nl = {
|
|
|
4328
4332
|
$.$slots.footer ? (r(), p("div", Ua, [
|
|
4329
4333
|
ze($.$slots, "footer", {}, void 0, !0)
|
|
4330
4334
|
])) : W("", !0),
|
|
4331
|
-
|
|
4335
|
+
cn.value ? (r(), H(o($n), {
|
|
4332
4336
|
key: 6,
|
|
4333
4337
|
actions: e.bulkActions,
|
|
4334
|
-
"item-counter":
|
|
4338
|
+
"item-counter": zt.value,
|
|
4335
4339
|
"extra-bottom-spacing": o(x),
|
|
4336
|
-
onClose: o(
|
|
4340
|
+
onClose: o(kt)
|
|
4337
4341
|
}, null, 8, ["actions", "item-counter", "extra-bottom-spacing", "onClose"])) : W("", !0)
|
|
4338
4342
|
], 42, Aa);
|
|
4339
4343
|
};
|
|
4340
4344
|
}
|
|
4341
4345
|
}), Ui = /* @__PURE__ */ ue(Fa, [["__scopeId", "data-v-930b9600"]]);
|
|
4342
4346
|
export {
|
|
4343
|
-
|
|
4347
|
+
Et as B,
|
|
4344
4348
|
Ii as a,
|
|
4345
4349
|
$i as b,
|
|
4346
4350
|
Di as c,
|
|
4347
4351
|
Ui as d,
|
|
4348
4352
|
ki as e,
|
|
4349
|
-
|
|
4353
|
+
ut as f,
|
|
4350
4354
|
z as g,
|
|
4351
|
-
|
|
4352
|
-
|
|
4355
|
+
Ge as h,
|
|
4356
|
+
Me as i
|
|
4353
4357
|
};
|
|
4354
|
-
//# sourceMappingURL=data-grid.
|
|
4358
|
+
//# sourceMappingURL=data-grid.CXDdiHz8.js.map
|