@adyen/bento-vue2 1.84.2 → 1.85.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 +4 -0
- package/dist/@types/index.d.ts +244 -130
- package/dist/action-bar.js +1 -1
- package/dist/ai-tag.js +5 -0
- package/dist/ai-tag.js.map +1 -0
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/ai-tag.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/checkbox.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-range-picker.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/draggable-handle.css +1 -0
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/form-layout-title.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/layout-row.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/radio-group.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/button.js +2 -2
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +1 -1
- package/dist/chunks/1-generic-use.R6x8PEGA.js.map +1 -1
- package/dist/chunks/2-generic-use.CNKjB4B7.js.map +1 -1
- package/dist/chunks/2-generic-use.w0fUhovx.js.map +1 -1
- package/dist/chunks/3-generic-use.BLEzR04g.js.map +1 -1
- package/dist/chunks/3-generic-use.D3NFHgI4.js.map +1 -1
- package/dist/chunks/4-generic-use.CULEpvgj.js.map +1 -1
- package/dist/chunks/4-generic-use.D82y3n39.js.map +1 -1
- package/dist/chunks/accordion-item.DeV8s0oW.js.map +1 -1
- package/dist/chunks/action-bar.rgLdy6Bu.js +163 -0
- package/dist/chunks/action-bar.rgLdy6Bu.js.map +1 -0
- package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +1 -1
- package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +1 -1
- package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +1 -1
- package/dist/chunks/adyen-giving.LiKHj_jY.js.map +1 -1
- package/dist/chunks/ai-button.ggEcDV08.js +50 -0
- package/dist/chunks/ai-button.ggEcDV08.js.map +1 -0
- package/dist/chunks/ai-tag.DKMGiQcJ.js +74 -0
- package/dist/chunks/ai-tag.DKMGiQcJ.js.map +1 -0
- package/dist/chunks/alert.B3Pdp02a.js.map +1 -1
- package/dist/chunks/aria-label.CaUURpnB.js.map +1 -1
- package/dist/chunks/arrow-left.CRREfabP.js +24 -0
- package/dist/chunks/arrow-left.CRREfabP.js.map +1 -0
- package/dist/chunks/arrow-right.Dn3AYpUP.js +24 -0
- package/dist/chunks/arrow-right.Dn3AYpUP.js.map +1 -0
- package/dist/chunks/artificial-intelligence-ai-filled.C6TMsiHK.js +24 -0
- package/dist/chunks/artificial-intelligence-ai-filled.C6TMsiHK.js.map +1 -0
- package/dist/chunks/avatar.CUCH3CTc.js.map +1 -1
- package/dist/chunks/base-button.IN4bpcds.js.map +1 -1
- package/dist/chunks/{base-modal.KYkLKswF.js → base-modal.QsjzGei_.js} +5 -5
- package/dist/chunks/{base-modal.KYkLKswF.js.map → base-modal.QsjzGei_.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.B5mKwc-F.js → button-actions-with-menu.PL45aAcI.js} +3 -3
- package/dist/chunks/{button-actions-with-menu.B5mKwc-F.js.map → button-actions-with-menu.PL45aAcI.js.map} +1 -1
- package/dist/chunks/{button-actions.D9n7MxWe.js → button-actions.JRDi9PFT.js} +2 -2
- package/dist/chunks/{button-actions.D9n7MxWe.js.map → button-actions.JRDi9PFT.js.map} +1 -1
- package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -1
- package/dist/chunks/button.DIU6m9wD.js.map +1 -1
- package/dist/chunks/{calendar.C8DpZ4Sr.js → calendar.B0SmuooF.js} +95 -89
- package/dist/chunks/{calendar.C8DpZ4Sr.js.map → calendar.B0SmuooF.js.map} +1 -1
- package/dist/chunks/{card.CLX0RGG6.js → card.CVkEg8m1.js} +2 -2
- package/dist/chunks/{card.CLX0RGG6.js.map → card.CVkEg8m1.js.map} +1 -1
- package/dist/chunks/{checkbox-group.BCnhjQie.js → checkbox-group.DPZJjcdT.js} +4 -4
- package/dist/chunks/{checkbox-group.BCnhjQie.js.map → checkbox-group.DPZJjcdT.js.map} +1 -1
- package/dist/chunks/{checkbox.CU5ierOq.js → checkbox.D3D1I22O.js} +3 -3
- package/dist/chunks/{checkbox.CU5ierOq.js.map → checkbox.D3D1I22O.js.map} +1 -1
- package/dist/chunks/click-outside.C1Ud8AA2.js.map +1 -1
- package/dist/chunks/{code-snippet.9MwDHp50.js → code-snippet.BN5P-KQo.js} +4 -4
- package/dist/chunks/{code-snippet.9MwDHp50.js.map → code-snippet.BN5P-KQo.js.map} +1 -1
- package/dist/chunks/codemirror.Cy7iSLbd.js.map +1 -1
- package/dist/chunks/constructNow.B8T1ljs6.js +8 -0
- package/dist/chunks/{constructNow.DuaJst0D.js.map → constructNow.B8T1ljs6.js.map} +1 -1
- package/dist/chunks/{controls-group.D4eW9DtP.js → controls-group.BwXz0UYr.js} +2 -2
- package/dist/chunks/{controls-group.D4eW9DtP.js.map → controls-group.BwXz0UYr.js.map} +1 -1
- package/dist/chunks/{copy.C0q7xgXs.js → copy.BIh04KTY.js} +3 -3
- package/dist/chunks/{copy.C0q7xgXs.js.map → copy.BIh04KTY.js.map} +1 -1
- package/dist/chunks/country.types.DaVCMxk-.js.map +1 -1
- package/dist/chunks/currency.DYZr_RDk.js.map +1 -1
- package/dist/chunks/{dashboard-section.B83FdC0Z.js → dashboard-section.BvFMd9CQ.js} +3 -3
- package/dist/chunks/{dashboard-section.B83FdC0Z.js.map → dashboard-section.BvFMd9CQ.js.map} +1 -1
- package/dist/chunks/{dashed-underline.DQGVy5T2.js → dashed-underline.CXyMT-cF.js} +3 -3
- package/dist/chunks/{dashed-underline.DQGVy5T2.js.map → dashed-underline.CXyMT-cF.js.map} +1 -1
- package/dist/chunks/data-grid-template.keys.VezYtHtM.js.map +1 -1
- package/dist/chunks/{data-grid-template.BTEFoEwf.js → data-grid-template.wWWI3FE3.js} +3 -3
- package/dist/chunks/{data-grid-template.BTEFoEwf.js.map → data-grid-template.wWWI3FE3.js.map} +1 -1
- package/dist/chunks/{data-grid.Bk7_6Z0F.js → data-grid.Dcj_tU8q.js} +426 -419
- package/dist/chunks/data-grid.Dcj_tU8q.js.map +1 -0
- package/dist/chunks/date-input.BbZqj10S.js.map +1 -1
- package/dist/chunks/{date-picker.CnsC_UMG.js → date-picker.Dh3-TgPT.js} +4 -4
- package/dist/chunks/{date-picker.CnsC_UMG.js.map → date-picker.Dh3-TgPT.js.map} +1 -1
- package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -1
- package/dist/chunks/date-range-picker.BOn_Xjkr.js +897 -0
- package/dist/chunks/date-range-picker.BOn_Xjkr.js.map +1 -0
- package/dist/chunks/date-range-picker.types.Ckt7zxGy.js.map +1 -1
- package/dist/chunks/date.DBWzp0So.js.map +1 -1
- package/dist/chunks/de.DvtL0g75.js.map +1 -1
- package/dist/chunks/debounce.DUTu11PS.js.map +1 -1
- package/dist/chunks/delight.CDBAFnwC.js.map +1 -1
- package/dist/chunks/delight.xKDCvvaS.js.map +1 -1
- package/dist/chunks/dialog-page.BegXhP0L.js +118 -0
- package/dist/chunks/dialog-page.BegXhP0L.js.map +1 -0
- package/dist/chunks/{differenceInMonths.DcFDl4eH.js → differenceInMonths.BR4Z2HIa.js} +2 -2
- package/dist/chunks/{differenceInMonths.DcFDl4eH.js.map → differenceInMonths.BR4Z2HIa.js.map} +1 -1
- package/dist/chunks/directive.Cbdox5VL.js.map +1 -1
- package/dist/chunks/divider.DX5gwN7p.js.map +1 -1
- package/dist/chunks/dropdown-default-textbox.Cq68tN9F.js.map +1 -1
- package/dist/chunks/{dropdown-tag.HBM0wrEV.js → dropdown-tag.C7Buz72U.js} +3 -3
- package/dist/chunks/{dropdown-tag.HBM0wrEV.js.map → dropdown-tag.C7Buz72U.js.map} +1 -1
- package/dist/chunks/{dropdown.C2pXf8Li.js → dropdown.ByH2zHxF.js} +5 -5
- package/dist/chunks/{dropdown.C2pXf8Li.js.map → dropdown.ByH2zHxF.js.map} +1 -1
- package/dist/chunks/empty-state.DpBnqAxu.js.map +1 -1
- package/dist/chunks/en-GB.DCGuCmAv.js.map +1 -1
- package/dist/chunks/en-US.BZii9jNW.js.map +1 -1
- package/dist/chunks/es.bz0mzkMq.js.map +1 -1
- package/dist/chunks/es6.C1DXQV6f.js.map +1 -1
- package/dist/chunks/events.BQOQSSb7.js.map +1 -1
- package/dist/chunks/{field-label.CEkJnsiL.js → field-label.BKxm8ehO.js} +2 -2
- package/dist/chunks/{field-label.CEkJnsiL.js.map → field-label.BKxm8ehO.js.map} +1 -1
- package/dist/chunks/{file-uploader.CnOqfuI-.js → file-uploader.U7YUrGoM.js} +4 -4
- package/dist/chunks/file-uploader.U7YUrGoM.js.map +1 -0
- package/dist/chunks/filter-bar.BRE0djRy.js +3313 -0
- package/dist/chunks/filter-bar.BRE0djRy.js.map +1 -0
- package/dist/chunks/{focus-trap.CNIU5jOz.js → focus-trap.Ed8RY9cJ.js} +2 -2
- package/dist/chunks/{focus-trap.CNIU5jOz.js.map → focus-trap.Ed8RY9cJ.js.map} +1 -1
- package/dist/chunks/{footer-actions.BOiN47Xd.js → footer-actions.mS3IiJg7.js} +2 -2
- package/dist/chunks/{footer-actions.BOiN47Xd.js.map → footer-actions.mS3IiJg7.js.map} +1 -1
- package/dist/chunks/form-field.D_2g7vaP.js.map +1 -1
- package/dist/chunks/{form-layout-title.CdC1T4gs.js → form-layout-title.C3uKS3GA.js} +2 -2
- package/dist/chunks/{form-layout-title.CdC1T4gs.js.map → form-layout-title.C3uKS3GA.js.map} +1 -1
- package/dist/chunks/form-layout.types.bZW9iR6_.js.map +1 -1
- package/dist/chunks/fr-CA.B1aPU8fp.js.map +1 -1
- package/dist/chunks/fr.Dj7wEToe.js.map +1 -1
- package/dist/chunks/generate-uid.NJ8tVoha.js.map +1 -1
- package/dist/chunks/getRoundingMethod.C3eaeGLR.js.map +1 -1
- package/dist/chunks/{getTimezoneOffsetInMilliseconds.C-aIpRfB.js → getTimezoneOffsetInMilliseconds.Tu2wlbTR.js} +3 -3
- package/dist/chunks/{getTimezoneOffsetInMilliseconds.C-aIpRfB.js.map → getTimezoneOffsetInMilliseconds.Tu2wlbTR.js.map} +1 -1
- package/dist/chunks/grab.BxiVZ1RZ.js +24 -0
- package/dist/chunks/grab.BxiVZ1RZ.js.map +1 -0
- package/dist/chunks/grid-layout.1aIiz2N_.js.map +1 -1
- package/dist/chunks/{header-meta.D_oAu2S9.js → header-meta.CQTfyEJR.js} +8 -8
- package/dist/chunks/{header-meta.D_oAu2S9.js.map → header-meta.CQTfyEJR.js.map} +1 -1
- package/dist/chunks/{header-with-views.Dc9LUYNY.js → header-with-views.-PRI2W3p.js} +383 -400
- package/dist/chunks/header-with-views.-PRI2W3p.js.map +1 -0
- package/dist/chunks/{header.BmtlQmPs.js → header.DDwoZ8fF.js} +3 -3
- package/dist/chunks/{header.BmtlQmPs.js.map → header.DDwoZ8fF.js.map} +1 -1
- package/dist/chunks/image.C2D2hKat.js.map +1 -1
- package/dist/chunks/index.B6WW_F-J.js.map +1 -1
- package/dist/chunks/{index.BDK4hwK_.js → index.Zfd79j1_.js} +3 -3
- package/dist/chunks/{index.BDK4hwK_.js.map → index.Zfd79j1_.js.map} +1 -1
- package/dist/chunks/{info-icon.BEyxQgD6.js → info-icon.gUcRjEyG.js} +3 -3
- package/dist/chunks/{info-icon.BEyxQgD6.js.map → info-icon.gUcRjEyG.js.map} +1 -1
- package/dist/chunks/{input-field-password.D23H_RvO.js → input-field-password.BO3EMjVD.js} +6 -6
- package/dist/chunks/{input-field-password.D23H_RvO.js.map → input-field-password.BO3EMjVD.js.map} +1 -1
- package/dist/chunks/{input-field-phone-number.Bvk2Pvec.js → input-field-phone-number.DDQIkRdm.js} +3 -3
- package/dist/chunks/{input-field-phone-number.Bvk2Pvec.js.map → input-field-phone-number.DDQIkRdm.js.map} +1 -1
- package/dist/chunks/{input-field.hf0_ALq0.js → input-field.BRIDLPBn.js} +3 -3
- package/dist/chunks/{input-field.hf0_ALq0.js.map → input-field.BRIDLPBn.js.map} +1 -1
- package/dist/chunks/{inspector.C0iAxxoz.js → inspector.DCda4tku.js} +3 -3
- package/dist/chunks/{inspector.C0iAxxoz.js.map → inspector.DCda4tku.js.map} +1 -1
- package/dist/chunks/inspector.types.DyHwE18g.js.map +1 -1
- package/dist/chunks/internal-error.BLZodVBE.js.map +1 -1
- package/dist/chunks/internal-error.BmrwJFpR.js.map +1 -1
- package/dist/chunks/isSameWeek.5sjhTHiU.js +14 -0
- package/dist/chunks/{isSameWeek.CUD7czUN.js.map → isSameWeek.5sjhTHiU.js.map} +1 -1
- package/dist/chunks/{it.Oaj6BklL.js → it.DEniTaO2.js} +2 -2
- package/dist/chunks/{it.Oaj6BklL.js.map → it.DEniTaO2.js.map} +1 -1
- package/dist/chunks/ja.Cm9tJMi2.js.map +1 -1
- package/dist/chunks/keyboard-navigation.DWmhelVv.js.map +1 -1
- package/dist/chunks/ko.Ceaof6EP.js.map +1 -1
- package/dist/chunks/{layout-row.BPX00mio.js → layout-row.BtCzzLTz.js} +3 -3
- package/dist/chunks/layout-row.BtCzzLTz.js.map +1 -0
- package/dist/chunks/link.PsTSQjK3.js.map +1 -1
- package/dist/chunks/{listbox-option-tag.BlDz7oXK.js → listbox-option-tag.B63aT5Sq.js} +2 -2
- package/dist/chunks/{listbox-option-tag.BlDz7oXK.js.map → listbox-option-tag.B63aT5Sq.js.map} +1 -1
- package/dist/chunks/loading-indicator.PxbRzshH.js.map +1 -1
- package/dist/chunks/match.CMBZxEs9.js.map +1 -1
- package/dist/chunks/minus-small.DJacLGTw.js.map +1 -1
- package/dist/chunks/{modal-fullscreen.B1gltlxA.js → modal-fullscreen.CRLZX72M.js} +4 -4
- package/dist/chunks/{modal-fullscreen.B1gltlxA.js.map → modal-fullscreen.CRLZX72M.js.map} +1 -1
- package/dist/chunks/{modal.e3EQ6Kex.js → modal.BnAZ8Nj1.js} +4 -4
- package/dist/chunks/{modal.e3EQ6Kex.js.map → modal.BnAZ8Nj1.js.map} +1 -1
- package/dist/chunks/nl.B6vCf2B9.js.map +1 -1
- package/dist/chunks/no-results-found.Bg_ZcEid.js.map +1 -1
- package/dist/chunks/no-results-found.BqvYsBR6.js.map +1 -1
- package/dist/chunks/notifications-cleared.BMZk37uf.js.map +1 -1
- package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +1 -1
- package/dist/chunks/on-click-outside.D9aY9g8G.js.map +1 -1
- package/dist/chunks/page-not-found.COJLPVaU.js.map +1 -1
- package/dist/chunks/page-not-found.DWW6W-PZ.js.map +1 -1
- package/dist/chunks/{pagination.BcFt2FqK.js → pagination.spAA5CX0.js} +2 -2
- package/dist/chunks/{pagination.BcFt2FqK.js.map → pagination.spAA5CX0.js.map} +1 -1
- package/dist/chunks/payment-method.BKXLPDC9.js.map +1 -1
- package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -1
- package/dist/chunks/planned-maintenance.C61sWB9h.js.map +1 -1
- package/dist/chunks/planned-maintenance.jmWYTdet.js.map +1 -1
- package/dist/chunks/popover.types.Zm8nugBw.js +6 -0
- package/dist/chunks/{popover.types.WDh5ggr3.js.map → popover.types.Zm8nugBw.js.map} +1 -1
- package/dist/chunks/{popper-container.Cdokz_NE.js → popper-container.CXUG6v_U.js} +2 -2
- package/dist/chunks/{popper-container.Cdokz_NE.js.map → popper-container.CXUG6v_U.js.map} +1 -1
- package/dist/chunks/{promo-banner.yfBorKj7.js → promo-banner.BkLMZH66.js} +2 -2
- package/dist/chunks/{promo-banner.yfBorKj7.js.map → promo-banner.BkLMZH66.js.map} +1 -1
- package/dist/chunks/pt-BR.CiGdfP45.js.map +1 -1
- package/dist/chunks/{radio-group.CtTnfkYg.js → radio-group.B6-Fd_kH.js} +4 -4
- package/dist/chunks/{radio-group.CtTnfkYg.js.map → radio-group.B6-Fd_kH.js.map} +1 -1
- package/dist/chunks/radio-input.kzb4gxLW.js.map +1 -1
- package/dist/chunks/referrals.BvtT-kQS.js.map +1 -1
- package/dist/chunks/referrals.aX8WZigH.js.map +1 -1
- package/dist/chunks/resize.Bqks3WUm.js.map +1 -1
- package/dist/chunks/{rich-text-editor.Dq2CFGOu.js → rich-text-editor.DeywBxSb.js} +4 -4
- package/dist/chunks/{rich-text-editor.Dq2CFGOu.js.map → rich-text-editor.DeywBxSb.js.map} +1 -1
- package/dist/chunks/{search-bar.B0SdQBnY.js → search-bar.BKRppqyI.js} +3 -3
- package/dist/chunks/{search-bar.B0SdQBnY.js.map → search-bar.BKRppqyI.js.map} +1 -1
- package/dist/chunks/{secondary-nav.BPGpxd0p.js → secondary-nav.RQ5eRpPH.js} +3 -3
- package/dist/chunks/{secondary-nav.BPGpxd0p.js.map → secondary-nav.RQ5eRpPH.js.map} +1 -1
- package/dist/chunks/{segmented-control.BtWFda0P.js → segmented-control.BomURsCq.js} +2 -2
- package/dist/chunks/{segmented-control.BtWFda0P.js.map → segmented-control.BomURsCq.js.map} +1 -1
- package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -1
- package/dist/chunks/{selection-card-group.BryV14qP.js → selection-card-group.gh-fMA9T.js} +4 -4
- package/dist/chunks/{selection-card-group.BryV14qP.js.map → selection-card-group.gh-fMA9T.js.map} +1 -1
- package/dist/chunks/{sidepanel.NFyZGE57.js → sidepanel.B80Mujpk.js} +5 -5
- package/dist/chunks/{sidepanel.NFyZGE57.js.map → sidepanel.B80Mujpk.js.map} +1 -1
- package/dist/chunks/{startOfWeek.Dxw2MhGp.js → startOfWeek.CM1KIrNi.js} +2 -2
- package/dist/chunks/{startOfWeek.Dxw2MhGp.js.map → startOfWeek.CM1KIrNi.js.map} +1 -1
- package/dist/chunks/status.types.Cv5XN4zL.js.map +1 -1
- package/dist/chunks/step.BLFXvHL6.js.map +1 -1
- package/dist/chunks/{structured-list-item.CptOCpHP.js → structured-list-item.DCEKBtbT.js} +4 -4
- package/dist/chunks/{structured-list-item.CptOCpHP.js.map → structured-list-item.DCEKBtbT.js.map} +1 -1
- package/dist/chunks/success.DhioLvPD.js.map +1 -1
- package/dist/chunks/success.nNwxJRBS.js.map +1 -1
- package/dist/chunks/summary-grid.keys.Xx-W5a2w.js.map +1 -1
- package/dist/chunks/{summary-grid.types.B1T8_k1m.js → summary-grid.types.BV8FDXGv.js} +5 -5
- package/dist/chunks/{summary-grid.types.B1T8_k1m.js.map → summary-grid.types.BV8FDXGv.js.map} +1 -1
- package/dist/chunks/sv.f8EfZjMZ.js.map +1 -1
- package/dist/chunks/tab.FUMpPsBP.js.map +1 -1
- package/dist/chunks/tabs.keys.B4qGhjp2.js.map +1 -1
- package/dist/chunks/{tag.B1Ywhgvc.js → tag.CroNYKsL.js} +2 -2
- package/dist/chunks/{tag.B1Ywhgvc.js.map → tag.CroNYKsL.js.map} +1 -1
- package/dist/chunks/{textarea.riUt0BiI.js → textarea.CtTdhV_G.js} +2 -2
- package/dist/chunks/{textarea.riUt0BiI.js.map → textarea.CtTdhV_G.js.map} +1 -1
- package/dist/chunks/{timeline-item.CFfW1DoD.js → timeline-item.DCWllef8.js} +6 -6
- package/dist/chunks/{timeline-item.CFfW1DoD.js.map → timeline-item.DCWllef8.js.map} +1 -1
- package/dist/chunks/toggle.227XgEc7.js.map +1 -1
- package/dist/chunks/{tooltip.C6YCavPw.js → tooltip.DxJQHsuI.js} +2 -2
- package/dist/chunks/{tooltip.C6YCavPw.js.map → tooltip.DxJQHsuI.js.map} +1 -1
- package/dist/chunks/truncate.BfIl_-71.js.map +1 -1
- package/dist/chunks/{tutorial.D18LwXVy.js → tutorial.O_vT6Q2b.js} +7 -7
- package/dist/chunks/{tutorial.D18LwXVy.js.map → tutorial.O_vT6Q2b.js.map} +1 -1
- package/dist/chunks/typography.Bq-EGj9y.js.map +1 -1
- package/dist/chunks/upload-files.5wQwbfkp.js.map +1 -1
- package/dist/chunks/upload-files.jTQY6y2X.js.map +1 -1
- package/dist/chunks/use-bento-toast-controller.MmyZXtME.js.map +1 -1
- package/dist/chunks/{use-cached-selected-values.gDWGi5Nk.js → use-cached-selected-values.3YqO69wz.js} +14 -14
- package/dist/chunks/{use-cached-selected-values.gDWGi5Nk.js.map → use-cached-selected-values.3YqO69wz.js.map} +1 -1
- package/dist/chunks/use-country-items.ClS_So5N.js.map +1 -1
- package/dist/chunks/use-country-phon-code.Bui3zD6W.js.map +1 -1
- package/dist/chunks/use-default-slot-validator.BDn0wkYP.js.map +1 -1
- package/dist/chunks/use-expandable-content-height.GkjjbmPy.js.map +1 -1
- package/dist/chunks/use-form-layout-loading.CWbjZiwP.js.map +1 -1
- package/dist/chunks/wrong-environment.BOsyKdRI.js.map +1 -1
- package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +1 -1
- package/dist/chunks/{zh-CN.BzH0fIXr.js → zh-CN.CgIooHto.js} +2 -2
- package/dist/chunks/{zh-CN.BzH0fIXr.js.map → zh-CN.CgIooHto.js.map} +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +6 -5
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/draggable-handle.js +157 -0
- package/dist/draggable-handle.js.map +1 -0
- package/dist/dropdown.js +3 -3
- 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/index.js +325 -321
- 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 +11 -11
- package/dist/layout.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/popover.js +2 -2
- package/dist/popper-container.js +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +5 -0
- package/dist/styles/bento-light.css +5 -0
- package/dist/styles/bento.css +5 -0
- package/dist/styles/legacy.css +5 -0
- package/dist/styles/styleguide.css +5 -0
- package/dist/summary-grid.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/use-form-v4.js.map +1 -1
- package/dist/web-types.json +212 -6
- package/package.json +8 -8
- package/dist/chunks/action-bar.y4tcdk7R.js +0 -162
- package/dist/chunks/action-bar.y4tcdk7R.js.map +0 -1
- package/dist/chunks/ai-button.BEy4Gly-.js +0 -67
- package/dist/chunks/ai-button.BEy4Gly-.js.map +0 -1
- package/dist/chunks/constructNow.DuaJst0D.js +0 -8
- package/dist/chunks/data-grid.Bk7_6Z0F.js.map +0 -1
- package/dist/chunks/date-range-picker.B6GSRjjK.js +0 -1693
- package/dist/chunks/date-range-picker.B6GSRjjK.js.map +0 -1
- package/dist/chunks/dialog-page.QpRiNPyx.js +0 -137
- package/dist/chunks/dialog-page.QpRiNPyx.js.map +0 -1
- package/dist/chunks/file-uploader.CnOqfuI-.js.map +0 -1
- package/dist/chunks/filter-bar.CnJAxz9B.js +0 -2559
- package/dist/chunks/filter-bar.CnJAxz9B.js.map +0 -1
- package/dist/chunks/header-with-views.Dc9LUYNY.js.map +0 -1
- package/dist/chunks/isSameWeek.CUD7czUN.js +0 -14
- package/dist/chunks/layout-row.BPX00mio.js.map +0 -1
- package/dist/chunks/popover.types.WDh5ggr3.js +0 -6
|
@@ -1,47 +1,49 @@
|
|
|
1
|
-
import { ref as p, onMounted as
|
|
2
|
-
import { C as
|
|
3
|
-
import { W as
|
|
1
|
+
import { ref as p, onMounted as Re, nextTick as le, watch as ae, onUnmounted as Ot, reactive as ke, toRefs as We, computed as v, watchEffect as $n, onBeforeUpdate as zn, defineComponent as de, inject as me, toRef as $e, useSlots as Ge, provide as Oe } from "vue";
|
|
2
|
+
import { C as kn } from "./checkmark-circle-fill.BttTCjrM.js";
|
|
3
|
+
import { W as Wn } from "./warning-filled.CbJ1pcB2.js";
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { n as q } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
6
|
-
import { C as
|
|
6
|
+
import { C as Nt } from "./cross.CC_B-vG-.js";
|
|
7
7
|
import { N as it } from "./minus-small.DJacLGTw.js";
|
|
8
|
-
import { d as
|
|
9
|
-
import { E as ce, b as
|
|
10
|
-
import { B as
|
|
11
|
-
import { B as
|
|
8
|
+
import { d as Gn } from "./popper-container.CXUG6v_U.js";
|
|
9
|
+
import { E as ce, b as Hn, B as Vn, T as Zn } from "./tooltip.DxJQHsuI.js";
|
|
10
|
+
import { B as jn } from "./dashed-underline.CXyMT-cF.js";
|
|
11
|
+
import { B as Se, p as It } from "./typography.Bq-EGj9y.js";
|
|
12
12
|
import { u as he } from "./index.B6WW_F-J.js";
|
|
13
|
-
import { B as
|
|
14
|
-
import { B as
|
|
13
|
+
import { B as qn } from "./tag.CroNYKsL.js";
|
|
14
|
+
import { B as Yn } from "./action-bar.rgLdy6Bu.js";
|
|
15
|
+
import { B as Jn } from "./pagination.spAA5CX0.js";
|
|
15
16
|
import { B as He } from "./loading-indicator.PxbRzshH.js";
|
|
16
17
|
import { u as Ve } from "./use-has-slot.C9lQZ6nz.js";
|
|
17
18
|
import { g as Ie } from "./generate-uid.NJ8tVoha.js";
|
|
18
|
-
import { B as Pe } from "./filter-bar.
|
|
19
|
+
import { B as Pe } from "./filter-bar.BRE0djRy.js";
|
|
19
20
|
import { B as Kn } from "./empty-state.DpBnqAxu.js";
|
|
20
21
|
import { E as Xn } from "./tabs.keys.B4qGhjp2.js";
|
|
21
22
|
import { D as Qn } from "./data-grid-template.keys.VezYtHtM.js";
|
|
22
|
-
import { b as es } from "./index.
|
|
23
|
+
import { b as es } from "./index.Zfd79j1_.js";
|
|
23
24
|
import { o as Ze } from "./resize.Bqks3WUm.js";
|
|
24
25
|
import "./index.Cl4_42j5.js";
|
|
25
|
-
import {
|
|
26
|
+
import { b as Dt } from "./focus-trap.Ed8RY9cJ.js";
|
|
27
|
+
import { B as xt } from "./checkbox.D3D1I22O.js";
|
|
26
28
|
import { B as Ft } from "./button.DIU6m9wD.js";
|
|
27
|
-
import { c as je, f as Bt, h as ts, b as ns, a as ss, O as rt, D as os } from "./button-actions.
|
|
29
|
+
import { c as je, f as Bt, h as ts, b as ns, a as ss, O as rt, D as os } from "./button-actions.JRDi9PFT.js";
|
|
28
30
|
import { E as ct } from "./link.PsTSQjK3.js";
|
|
29
|
-
import { C as dt } from "./copy.
|
|
31
|
+
import { C as dt } from "./copy.BIh04KTY.js";
|
|
30
32
|
import { C as ls } from "./chevron-down.eYtgv5ly.js";
|
|
31
33
|
import { C as as } from "./chevron-up.d8cwIlA_.js";
|
|
32
|
-
import { b as Mt } from "./focus-trap.CNIU5jOz.js";
|
|
33
34
|
import { u as is } from "./use-expandable-content-height.GkjjbmPy.js";
|
|
34
|
-
import { B as rs } from "./info-icon.
|
|
35
|
-
import { D as cs } from "./use-cached-selected-values.
|
|
36
|
-
import { B as ut } from "./popover.types.
|
|
37
|
-
import { A as ds } from "./
|
|
38
|
-
import {
|
|
35
|
+
import { B as rs } from "./info-icon.gUcRjEyG.js";
|
|
36
|
+
import { D as cs } from "./use-cached-selected-values.3YqO69wz.js";
|
|
37
|
+
import { B as ut } from "./popover.types.Zm8nugBw.js";
|
|
38
|
+
import { A as ds } from "./arrow-left.CRREfabP.js";
|
|
39
|
+
import { A as us } from "./arrow-right.Dn3AYpUP.js";
|
|
40
|
+
import { H as fs, S as gs } from "./show.B_mKPF6I.js";
|
|
39
41
|
import { l as ft } from "./events.BQOQSSb7.js";
|
|
40
|
-
import { B as
|
|
41
|
-
import { B as
|
|
42
|
-
import { u as
|
|
43
|
-
import { S as
|
|
44
|
-
import { B as
|
|
42
|
+
import { B as Mt } from "./toggle.227XgEc7.js";
|
|
43
|
+
import { B as _s } from "./search-bar.BKRppqyI.js";
|
|
44
|
+
import { u as vs } from "./dropdown.ByH2zHxF.js";
|
|
45
|
+
import { S as ms } from "./search.D53Ia3rC.js";
|
|
46
|
+
import { B as Cs } from "./directive.Cbdox5VL.js";
|
|
45
47
|
import "../assets/data-grid.css";
|
|
46
48
|
const gt = (s) => {
|
|
47
49
|
if (!s)
|
|
@@ -62,7 +64,7 @@ const gt = (s) => {
|
|
|
62
64
|
const _ = t.value ? gt(s.value) : 0, g = n.value && e ? gt(e.value) : 0;
|
|
63
65
|
o.value = _ + g;
|
|
64
66
|
};
|
|
65
|
-
return
|
|
67
|
+
return Re(() => {
|
|
66
68
|
le(() => {
|
|
67
69
|
const _ = ae(
|
|
68
70
|
s,
|
|
@@ -79,18 +81,18 @@ const gt = (s) => {
|
|
|
79
81
|
{ immediate: !0 }
|
|
80
82
|
);
|
|
81
83
|
});
|
|
82
|
-
}),
|
|
84
|
+
}), Ot(() => {
|
|
83
85
|
l == null || l.disconnect(), a == null || a.disconnect();
|
|
84
86
|
}), o;
|
|
85
87
|
};
|
|
86
88
|
var ze = /* @__PURE__ */ ((s) => (s.WRAP = "wrap", s.ELLIPSIS = "ellipsis", s))(ze || {}), j = /* @__PURE__ */ ((s) => (s.COLUMN_RESIZE = "column-resize", s.COLUMN_RESIZING = "column-resizing", s.SELECT_ALL_ROWS = "select-all-rows", s.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", s.SELECT_ALL_CURRENT_RESULTS = "select-all-current-results", s.DESELECT_ALL = "deselect-all", s.DESELECT_ALL_CURRENT_RESULTS = "deselect-all-current-results", s.COLUMN_MOVE = "column-move", s.COLUMN_UPDATE = "column-update", s.COLUMN_MENU_OPEN = "column-menu-open", s.COLUMN_MENU_CLOSE = "column-menu-close", s.COLUMN_HOVER = "column-hover", s.COLUMN_DRAG_START = "column-dragstart", s.COLUMN_DRAG_ENTER = "column-dragenter", s.COLUMN_DRAG_END = "column-dragend", s.COLUMN_DROP = "column-drop", s))(j || {}), ve = /* @__PURE__ */ ((s) => (s.OUTLINE = "outline", s.SCROLL = "scroll", s.STICKY_FILTERS = "sticky-filters", s.OVERFLOW_SHADOW_LEFT = "overflow-shadow-left", s.OVERFLOW_SHADOW_RIGHT = "overflow-shadow-right", s.NO_SPACING_TOP = "no-spacing-top", s.FIT_CONTENT = "fit-content", s.ZEBRA_ROWS = "zebra-rows", s))(ve || {}), be = /* @__PURE__ */ ((s) => (s.ASCENDING = "asc", s.DESCENDING = "desc", s))(be || {}), N = /* @__PURE__ */ ((s) => (s.CELL_FOCUS = "cell-focus", s.COLUMNS = "columns", s.COLUMN_RESIZE = "column-resize", s.ITEMS_PAGE = "items-page", s.NAVIGATE = "navigate", s.NESTED_CONTENT_TOGGLED = "nested-content-toggled", s.FILTER_SEARCH_INPUT = "filter-search-input", s.FILTER_SEARCH_CLEAR = "filter-search-clear", s.UPDATE_COLUMNS = "update:columns", s.UPDATE_CONDENSED = "update:condensed", s.UPDATE_FILTERS = "update:filters", s.UPDATE_FILTER_VALUES = "update:filter-values", s.UPDATE_FILTER_VALUES_OBJECT = "update:filter-values-object", s.UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term", s.UPDATE_PAGINATION = "update:pagination", s.UPDATE_SELECTION = "update:selection", s.UPDATE_SHOW_MORE = "update:show-more", s.UPDATE_SORT_BY = "update:sort-by", s.UPDATE_ZEBRA_ROWS = "update:zebra-rows", s.ROW_CLICK = "row-click", s.SELECT = "select", s.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", s.SELECT_ALL_CURRENT_RESULTS = "select-all-current-results", s.DESELECT_ALL_CURRENT_RESULTS = "deselect-all-current-results", s.SORT = "sort", s))(N || {}), Ne = /* @__PURE__ */ ((s) => (s.ASCENDING = "ascending", s.DESCENDING = "descending", s.NONE = "none", s))(Ne || {});
|
|
87
|
-
const
|
|
89
|
+
const hs = (s, t) => {
|
|
88
90
|
const n = p(null), e = p(!1), o = p(void 0), l = s.value.reduce((L, F) => (L[F.field] = null, L), {}), a = ke(l), i = We(a);
|
|
89
91
|
let _ = 0, g = "";
|
|
90
92
|
const w = v(
|
|
91
93
|
() => Object.fromEntries(s.value.map(({ field: L, width: F, minWidth: S }) => [L, { width: F, minWidth: S }]))
|
|
92
94
|
);
|
|
93
|
-
|
|
95
|
+
$n(() => o.value = w.value);
|
|
94
96
|
let m = null, E = null;
|
|
95
97
|
const b = (L) => {
|
|
96
98
|
const F = L.clientX - _, S = g, d = o.value[S].width + F;
|
|
@@ -100,7 +102,7 @@ const Cs = (s, t) => {
|
|
|
100
102
|
field: g,
|
|
101
103
|
width: o.value[g].width
|
|
102
104
|
}), m = null, E = null, g = "", _ = null;
|
|
103
|
-
},
|
|
105
|
+
}, y = (L, F, S) => {
|
|
104
106
|
if (S.preventDefault(), L) {
|
|
105
107
|
if (e.value = !0, S.buttons !== 1) {
|
|
106
108
|
u();
|
|
@@ -117,11 +119,11 @@ const Cs = (s, t) => {
|
|
|
117
119
|
), {
|
|
118
120
|
resizeData: o,
|
|
119
121
|
allColumnRefs: i,
|
|
120
|
-
startResize:
|
|
122
|
+
startResize: y,
|
|
121
123
|
isResizing: e,
|
|
122
124
|
columnHoverEventToEmitAfterResizing: n
|
|
123
125
|
};
|
|
124
|
-
},
|
|
126
|
+
}, ps = 100, vt = 50, oe = "b-actions-column", ws = 42, bs = 56, Ss = 56, Rs = 80, Es = 36, Ls = 1, Ut = 16, ys = 20, As = (s, t, n) => {
|
|
125
127
|
const e = {}, o = [], l = (i) => {
|
|
126
128
|
const _ = e[i];
|
|
127
129
|
_ && _.frozen !== !0 && (e[i].frozen = !0, o.push(i));
|
|
@@ -138,10 +140,10 @@ const Cs = (s, t) => {
|
|
|
138
140
|
const b = n[m];
|
|
139
141
|
if (e[b.field] && e[b.field].frozen === !0)
|
|
140
142
|
continue;
|
|
141
|
-
let
|
|
142
|
-
|
|
143
|
+
let y = _ / g * b.flex;
|
|
144
|
+
y < b.minWidth && (w += b.minWidth - y, y = b.minWidth, i.min[b.field] = !0), e[b.field] = {
|
|
143
145
|
frozen: !1,
|
|
144
|
-
computedWidth:
|
|
146
|
+
computedWidth: y,
|
|
145
147
|
flex: b.flex
|
|
146
148
|
};
|
|
147
149
|
}
|
|
@@ -153,12 +155,12 @@ const Cs = (s, t) => {
|
|
|
153
155
|
}
|
|
154
156
|
return a(), e;
|
|
155
157
|
}, mt = (s, t) => {
|
|
156
|
-
let n =
|
|
157
|
-
return t && (n +=
|
|
158
|
-
},
|
|
158
|
+
let n = Ls;
|
|
159
|
+
return t && (n += Ut * 2), s != null && s.offsetWidth ? s.offsetWidth + n : 0;
|
|
160
|
+
}, Ts = (s) => {
|
|
159
161
|
var t, n, e, o, l;
|
|
160
|
-
return (t = s == null ? void 0 : s.hasNestedContent) != null && t.value || (n = s == null ? void 0 : s.hasNestedRows) != null && n.value ? (e = s == null ? void 0 : s.hasSelectableColumn) != null && e.value ? (o = s == null ? void 0 : s.hasSelectableAcrossPages) != null && o.value ?
|
|
161
|
-
},
|
|
162
|
+
return (t = s == null ? void 0 : s.hasNestedContent) != null && t.value || (n = s == null ? void 0 : s.hasNestedRows) != null && n.value ? (e = s == null ? void 0 : s.hasSelectableColumn) != null && e.value ? (o = s == null ? void 0 : s.hasSelectableAcrossPages) != null && o.value ? Rs : Ss : Es : (l = s == null ? void 0 : s.hasSelectableAcrossPages) != null && l.value ? bs : ws;
|
|
163
|
+
}, Os = (s, t, n, e, o, l) => {
|
|
162
164
|
const a = p(s.value), i = p(t), _ = p(n), g = p(e), w = p(o), m = p(!1), E = p(0);
|
|
163
165
|
ae(
|
|
164
166
|
() => s.value,
|
|
@@ -177,7 +179,7 @@ const Cs = (s, t) => {
|
|
|
177
179
|
);
|
|
178
180
|
const b = p();
|
|
179
181
|
let u = null;
|
|
180
|
-
const
|
|
182
|
+
const y = v(() => {
|
|
181
183
|
var K, Y, ee;
|
|
182
184
|
const r = [];
|
|
183
185
|
let f = 0, R = 0;
|
|
@@ -185,7 +187,7 @@ const Cs = (s, t) => {
|
|
|
185
187
|
let B = a.value.filter((G) => G.visible !== !1);
|
|
186
188
|
const M = a.value.filter((G) => G.visible === !1);
|
|
187
189
|
if ((K = l == null ? void 0 : l.hasSelectableColumn) != null && K.value || (Y = l == null ? void 0 : l.hasNestedContent) != null && Y.value || (ee = l == null ? void 0 : l.hasNestedRows) != null && ee.value) {
|
|
188
|
-
const G =
|
|
190
|
+
const G = Ts(l);
|
|
189
191
|
B = [
|
|
190
192
|
{
|
|
191
193
|
field: oe,
|
|
@@ -202,7 +204,7 @@ const Cs = (s, t) => {
|
|
|
202
204
|
const P = { ...G };
|
|
203
205
|
let C;
|
|
204
206
|
P.flex && P.flex > 0 ? (f += P.flex, C = 0, r.push(P)) : C = Math.max(
|
|
205
|
-
(P == null ? void 0 : P.width) ??
|
|
207
|
+
(P == null ? void 0 : P.width) ?? ps,
|
|
206
208
|
(P == null ? void 0 : P.minWidth) ?? vt
|
|
207
209
|
), R += C, P.width = C, P.minWidth = (P == null ? void 0 : P.minWidth) ?? vt, T[P.field] = P;
|
|
208
210
|
}), R += E.value;
|
|
@@ -240,7 +242,7 @@ const Cs = (s, t) => {
|
|
|
240
242
|
a.value.some((r) => r == null ? void 0 : r.autoWidth) && await S();
|
|
241
243
|
});
|
|
242
244
|
const d = v(
|
|
243
|
-
() =>
|
|
245
|
+
() => y.value.map((r) => {
|
|
244
246
|
var f, R;
|
|
245
247
|
return {
|
|
246
248
|
...r,
|
|
@@ -248,19 +250,19 @@ const Cs = (s, t) => {
|
|
|
248
250
|
width: ((R = (f = L.value) == null ? void 0 : f[r.field]) == null ? void 0 : R.width) ?? r.width
|
|
249
251
|
};
|
|
250
252
|
})
|
|
251
|
-
),
|
|
253
|
+
), A = v(
|
|
252
254
|
() => {
|
|
253
255
|
var r;
|
|
254
256
|
return ((r = d.value) == null ? void 0 : r.filter(({ visible: f }) => f !== !1).reduce((f, R) => R.width + f, 0)) + E.value;
|
|
255
257
|
}
|
|
256
258
|
), O = v(
|
|
257
|
-
() => b.value <=
|
|
259
|
+
() => b.value <= A.value
|
|
258
260
|
), D = v(() => ({
|
|
259
|
-
width: b.value >
|
|
261
|
+
width: b.value > A.value ? "100%" : "fit-content"
|
|
260
262
|
}));
|
|
261
|
-
return
|
|
263
|
+
return Re(() => {
|
|
262
264
|
var f;
|
|
263
|
-
const r = l != null && l.isDataGridTemplate ?
|
|
265
|
+
const r = l != null && l.isDataGridTemplate ? ys : 0;
|
|
264
266
|
le(() => {
|
|
265
267
|
_.value && (b.value = _.value.getBoundingClientRect().width - r);
|
|
266
268
|
const R = ae(
|
|
@@ -275,9 +277,9 @@ const Cs = (s, t) => {
|
|
|
275
277
|
}), (f = document == null ? void 0 : document.fonts) != null && f.ready ? document.fonts.ready.then(() => {
|
|
276
278
|
S();
|
|
277
279
|
}) : S();
|
|
278
|
-
}),
|
|
280
|
+
}), Ot(() => {
|
|
279
281
|
u == null || u.disconnect();
|
|
280
|
-
}),
|
|
282
|
+
}), zn(() => {
|
|
281
283
|
var r;
|
|
282
284
|
w.value && ((r = Object.keys(w.value)) == null ? void 0 : r.length) > 0 && Object.keys(w.value).forEach((R) => {
|
|
283
285
|
w.value[R] = [];
|
|
@@ -289,10 +291,10 @@ const Cs = (s, t) => {
|
|
|
289
291
|
isMeasuringColumnWidths: m,
|
|
290
292
|
isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: O,
|
|
291
293
|
columns: a,
|
|
292
|
-
totalWidthOfAllColumns:
|
|
294
|
+
totalWidthOfAllColumns: A,
|
|
293
295
|
rowActionsMaxWidth: E
|
|
294
296
|
};
|
|
295
|
-
},
|
|
297
|
+
}, Ns = (s, t, n, e, o, l, a) => {
|
|
296
298
|
const i = p(s.value ?? []), _ = ke({
|
|
297
299
|
allItemsSelected: !1,
|
|
298
300
|
isIndeterminate: !1
|
|
@@ -324,7 +326,7 @@ const Cs = (s, t) => {
|
|
|
324
326
|
), u = v(() => {
|
|
325
327
|
var r;
|
|
326
328
|
return !(l != null && l.value) || ((r = a == null ? void 0 : a.value) == null ? void 0 : r.totalCount) === void 0 ? !1 : i.value.length >= a.value.totalCount && m.value;
|
|
327
|
-
}),
|
|
329
|
+
}), y = () => {
|
|
328
330
|
t(N.SELECT, i.value), t(N.UPDATE_SELECTION, i.value);
|
|
329
331
|
}, L = (r) => {
|
|
330
332
|
var f, R;
|
|
@@ -341,18 +343,18 @@ const Cs = (s, t) => {
|
|
|
341
343
|
const f = ((T = (R = g.value) == null ? void 0 : R.filter(
|
|
342
344
|
(B) => !o(B) && ((B == null ? void 0 : B.children) === void 0 || B.children.every((M) => !o(M)))
|
|
343
345
|
)) == null ? void 0 : T.map((B) => e(B))) ?? [];
|
|
344
|
-
r ? (i.value = [.../* @__PURE__ */ new Set([...i.value, ...f])], _.isIndeterminate = !w.value) : (i.value = i.value.filter((B) => !f.includes(B)), _.isIndeterminate = !E.value),
|
|
346
|
+
r ? (i.value = [.../* @__PURE__ */ new Set([...i.value, ...f])], _.isIndeterminate = !w.value) : (i.value = i.value.filter((B) => !f.includes(B)), _.isIndeterminate = !E.value), y();
|
|
345
347
|
});
|
|
346
348
|
}, S = () => {
|
|
347
349
|
le(() => {
|
|
348
|
-
L([]),
|
|
350
|
+
L([]), y();
|
|
349
351
|
});
|
|
350
352
|
}, d = (r, f) => {
|
|
351
353
|
le(() => {
|
|
352
354
|
var R;
|
|
353
|
-
L(((R = f == null ? void 0 : f.children) == null ? void 0 : R.length) > 0 ?
|
|
355
|
+
L(((R = f == null ? void 0 : f.children) == null ? void 0 : R.length) > 0 ? A(r, f) : r), y();
|
|
354
356
|
});
|
|
355
|
-
},
|
|
357
|
+
}, A = (r, f) => {
|
|
356
358
|
var B;
|
|
357
359
|
const R = e(f), T = (B = f.children) == null ? void 0 : B.filter((M) => !o(M)).map((M) => e(M));
|
|
358
360
|
if (r.includes(R)) {
|
|
@@ -370,7 +372,7 @@ const Cs = (s, t) => {
|
|
|
370
372
|
!r.includes(T) && ((B = f == null ? void 0 : f.children) != null && B.every((k) => r.includes(e(k)))) ? [...r, T] : r
|
|
371
373
|
) : L(
|
|
372
374
|
r.includes(T) && !((M = f == null ? void 0 : f.children) != null && M.every((k) => r.includes(e(k)))) ? r.filter((k) => k !== T) : r
|
|
373
|
-
),
|
|
375
|
+
), y();
|
|
374
376
|
});
|
|
375
377
|
}, D = v(() => u.value ? "all" : m.value ? "page" : !i.value || i.value.length === 0 ? "none" : b.value ? "unselected-page" : "single");
|
|
376
378
|
return ae(
|
|
@@ -388,7 +390,7 @@ const Cs = (s, t) => {
|
|
|
388
390
|
return ((R = f == null ? void 0 : f.children) == null ? void 0 : R.length) > 0 ? f.children.map((T) => e(T)).filter((T) => !i.value.includes(T)) : [];
|
|
389
391
|
}
|
|
390
392
|
);
|
|
391
|
-
(r == null ? void 0 : r.length) > 0 ? (L([...i.value, ...r]),
|
|
393
|
+
(r == null ? void 0 : r.length) > 0 ? (L([...i.value, ...r]), y()) : L(i.value);
|
|
392
394
|
}
|
|
393
395
|
), {
|
|
394
396
|
onAllRowSelect: F,
|
|
@@ -399,7 +401,7 @@ const Cs = (s, t) => {
|
|
|
399
401
|
selectedItems: i,
|
|
400
402
|
selectionState: D
|
|
401
403
|
};
|
|
402
|
-
},
|
|
404
|
+
}, Is = (s, t, n) => ({ isSorting: (a) => s.value.some((i) => i.field === a), getSortingDirection: (a) => {
|
|
403
405
|
var i;
|
|
404
406
|
return (i = s.value.find((_) => _.field === a)) == null ? void 0 : i.direction;
|
|
405
407
|
}, sortByColumnField: (a) => {
|
|
@@ -413,12 +415,12 @@ const Cs = (s, t) => {
|
|
|
413
415
|
n("sort", _);
|
|
414
416
|
} });
|
|
415
417
|
var se = ((s) => (s[s.ARROW_DOWN = ce.ARROW_DOWN] = "ARROW_DOWN", s[s.ARROW_UP = ce.ARROW_UP] = "ARROW_UP", s[s.ARROW_LEFT = ce.ARROW_LEFT] = "ARROW_LEFT", s[s.ARROW_RIGHT = ce.ARROW_RIGHT] = "ARROW_RIGHT", s[s.PAGE_UP = ce.PAGE_UP] = "PAGE_UP", s[s.PAGE_DOWN = ce.PAGE_DOWN] = "PAGE_DOWN", s[s.END = ce.END] = "END", s[s.HOME = ce.HOME] = "HOME", s))(se || {});
|
|
416
|
-
const
|
|
418
|
+
const ye = "b-row-actions-column", Ds = (s, t, n, e, o, l) => {
|
|
417
419
|
const a = v(() => l.value || e.value ? !0 : n.value.some((S) => S.infoIconTooltip || S.sortable)), i = v(() => {
|
|
418
420
|
let S = n.value.filter(({ visible: d }) => d !== !1);
|
|
419
421
|
return o.value && (S = [
|
|
420
422
|
...S,
|
|
421
|
-
{ field:
|
|
423
|
+
{ field: ye, label: "" }
|
|
422
424
|
]), S;
|
|
423
425
|
}), _ = v(() => i.value.length), g = v(() => {
|
|
424
426
|
if (!s.value)
|
|
@@ -432,25 +434,25 @@ const Ae = "b-row-actions-column", Is = (s, t, n, e, o, l) => {
|
|
|
432
434
|
const D = t.value[O.field];
|
|
433
435
|
d.push(D);
|
|
434
436
|
}
|
|
435
|
-
const
|
|
436
|
-
for (let O = 0; O <
|
|
437
|
+
const A = s.value[S].length;
|
|
438
|
+
for (let O = 0; O < A; O++)
|
|
437
439
|
for (const D of i.value) {
|
|
438
440
|
const r = s.value[D.field];
|
|
439
441
|
r != null && r[O] && d.push(r[O]);
|
|
440
442
|
}
|
|
441
443
|
return d;
|
|
442
|
-
}), w = (S) => Math.floor(S / _.value), m = (S, d,
|
|
444
|
+
}), w = (S) => Math.floor(S / _.value), m = (S, d, A) => {
|
|
443
445
|
const O = g.value.length - 1, D = _.value - 1, r = w(S), f = S - _.value * r;
|
|
444
446
|
return {
|
|
445
447
|
[se.PAGE_UP]: f + (a.value ? _.value : 0),
|
|
446
448
|
[se.PAGE_DOWN]: O - D + f,
|
|
447
|
-
[se.END]:
|
|
448
|
-
[se.HOME]:
|
|
449
|
+
[se.END]: A ? O : _.value * r + D,
|
|
450
|
+
[se.HOME]: A ? a.value ? _.value : 0 : _.value * r
|
|
449
451
|
}[d];
|
|
450
452
|
}, E = (S, d) => {
|
|
451
|
-
const
|
|
453
|
+
const A = w(S), D = {
|
|
452
454
|
[se.ARROW_DOWN]: _.value,
|
|
453
|
-
[se.ARROW_UP]:
|
|
455
|
+
[se.ARROW_UP]: A === 0 && !a.value ? 0 : -_.value,
|
|
454
456
|
[se.ARROW_LEFT]: -1,
|
|
455
457
|
[se.ARROW_RIGHT]: 1
|
|
456
458
|
}[d], r = S + D;
|
|
@@ -460,71 +462,71 @@ const Ae = "b-row-actions-column", Is = (s, t, n, e, o, l) => {
|
|
|
460
462
|
se.PAGE_DOWN,
|
|
461
463
|
se.END,
|
|
462
464
|
se.HOME
|
|
463
|
-
].includes(S), u = (S, d,
|
|
465
|
+
].includes(S), u = (S, d, A) => {
|
|
464
466
|
const O = g.value.indexOf(S);
|
|
465
|
-
return b(d) ? m(O, d,
|
|
466
|
-
},
|
|
467
|
+
return b(d) ? m(O, d, A) : E(O, d);
|
|
468
|
+
}, y = (S, d, A) => {
|
|
467
469
|
if (!g.value.includes(S))
|
|
468
470
|
return;
|
|
469
|
-
const O = u(S, d,
|
|
471
|
+
const O = u(S, d, A);
|
|
470
472
|
g.value[O].focus();
|
|
471
473
|
}, L = (S) => S in se;
|
|
472
474
|
return {
|
|
473
475
|
isNavigationKeyCode: L,
|
|
474
|
-
focusOnNextGridcell:
|
|
476
|
+
focusOnNextGridcell: y,
|
|
475
477
|
navigationInput: (S) => {
|
|
476
|
-
const { ctrlKey: d, key:
|
|
478
|
+
const { ctrlKey: d, key: A, target: O } = S, D = A;
|
|
477
479
|
let r = O;
|
|
478
|
-
r.getAttribute("role") !== "menuitem" && (g.value.includes(r) || (r = O.closest('[role="gridcell"], [role="columnheader"]')), g.value.includes(r) && L(D) &&
|
|
480
|
+
r.getAttribute("role") !== "menuitem" && (g.value.includes(r) || (r = O.closest('[role="gridcell"], [role="columnheader"]')), g.value.includes(r) && L(D) && y(r, D, d));
|
|
479
481
|
}
|
|
480
482
|
};
|
|
481
|
-
},
|
|
483
|
+
}, xs = 90, Fs = (s, t, n, e, o) => {
|
|
482
484
|
const l = p(s), a = p(t), i = p(n), _ = p(e), g = v(() => l.value !== "none"), w = v(() => l.value === "automatic"), m = () => {
|
|
483
485
|
o(N.UPDATE_SHOW_MORE);
|
|
484
486
|
};
|
|
485
487
|
return ae(
|
|
486
488
|
() => a.value,
|
|
487
489
|
() => {
|
|
488
|
-
w.value && i.value.offsetHeight / a.value * 100 >
|
|
490
|
+
w.value && i.value.offsetHeight / a.value * 100 > xs && !_.value && m();
|
|
489
491
|
}
|
|
490
492
|
), { isLazyLoad: g, isInfiniteScroll: w, verticalScrollPosition: a, emitLazyLoadEvent: m };
|
|
491
|
-
},
|
|
493
|
+
}, Bs = (s, t, n) => {
|
|
492
494
|
const e = p(s), o = p(t), l = ke({
|
|
493
495
|
dragging: null,
|
|
494
496
|
dragToLeft: null,
|
|
495
497
|
target: null
|
|
496
498
|
}), a = (b, u = 0) => {
|
|
497
|
-
const
|
|
499
|
+
const y = e.value.findIndex((S) => S.field === b.field), L = y + u;
|
|
498
500
|
if (L < 0 || L > e.value.length - 1)
|
|
499
501
|
return;
|
|
500
502
|
const F = [...e.value];
|
|
501
|
-
F.splice(L, 0, F.splice(
|
|
503
|
+
F.splice(L, 0, F.splice(y, 1)[0]), n(N.COLUMNS, F), n(N.UPDATE_COLUMNS, F);
|
|
502
504
|
}, i = (b, u) => {
|
|
503
505
|
l.dragging = b, u.dataTransfer.setData("text", ""), u.dataTransfer.dropEffect = "move";
|
|
504
506
|
}, _ = (b, u) => {
|
|
505
507
|
l.target = b;
|
|
506
|
-
const
|
|
508
|
+
const y = u.currentTarget.getBoundingClientRect(), L = y.left + y.width / 2, F = u.clientX ?? 0;
|
|
507
509
|
l.dragToLeft = F <= L;
|
|
508
510
|
}, g = (b) => {
|
|
509
|
-
var u,
|
|
511
|
+
var u, y;
|
|
510
512
|
if (((u = l.dragging) == null ? void 0 : u.field) !== b.field) {
|
|
511
513
|
const L = e.value.findIndex((D) => {
|
|
512
514
|
var r;
|
|
513
515
|
return D.field === ((r = l.dragging) == null ? void 0 : r.field);
|
|
514
516
|
}), F = e.value.findIndex((D) => D.field === b.field), S = l.dragToLeft ? F : F + 1, d = S > L ? S - 1 : S;
|
|
515
|
-
let
|
|
516
|
-
|
|
517
|
+
let A = [...e.value];
|
|
518
|
+
A.splice(
|
|
517
519
|
d === -1 ? 0 : d,
|
|
518
520
|
0,
|
|
519
|
-
|
|
521
|
+
A.splice(L, 1)[0]
|
|
520
522
|
);
|
|
521
523
|
const O = e.value.findIndex((D) => !(D != null && D.frozen));
|
|
522
|
-
((
|
|
524
|
+
((y = l.dragging) == null ? void 0 : y.frozen) !== b.frozen && S !== O && (A = A.map(
|
|
523
525
|
(D) => {
|
|
524
526
|
var r;
|
|
525
527
|
return ((r = l.dragging) == null ? void 0 : r.field) === D.field ? { ...D, frozen: !!(b != null && b.frozen) } : D;
|
|
526
528
|
}
|
|
527
|
-
)), n(N.COLUMNS,
|
|
529
|
+
)), n(N.COLUMNS, A), n(N.UPDATE_COLUMNS, A);
|
|
528
530
|
}
|
|
529
531
|
l.dragging = null, l.target = null;
|
|
530
532
|
}, w = () => {
|
|
@@ -553,9 +555,9 @@ const Ae = "b-row-actions-column", Is = (s, t, n, e, o, l) => {
|
|
|
553
555
|
draggingEventsForRowCell: E,
|
|
554
556
|
onMoveColumnByOffset: a
|
|
555
557
|
};
|
|
556
|
-
},
|
|
558
|
+
}, Ms = (s, t, n) => {
|
|
557
559
|
const e = p(s), o = p(t.value), l = v(
|
|
558
|
-
() => [...e.value].sort((u,
|
|
560
|
+
() => [...e.value].sort((u, y) => u.frozen === y.frozen ? 0 : u.frozen ? -1 : 1)
|
|
559
561
|
), a = v(
|
|
560
562
|
() => l.value.filter((u) => u.frozen && u.visible !== !1)
|
|
561
563
|
), i = v(
|
|
@@ -572,10 +574,10 @@ const Ae = "b-row-actions-column", Is = (s, t, n, e, o, l) => {
|
|
|
572
574
|
}, E = (u) => {
|
|
573
575
|
n(N.COLUMNS, u), n(N.UPDATE_COLUMNS, u);
|
|
574
576
|
}, b = (u) => {
|
|
575
|
-
const
|
|
577
|
+
const y = l.value.map(
|
|
576
578
|
(L) => (L == null ? void 0 : L.field) === u.field ? u : L
|
|
577
579
|
);
|
|
578
|
-
E(
|
|
580
|
+
E(y);
|
|
579
581
|
};
|
|
580
582
|
return ae(t, (u) => {
|
|
581
583
|
o.value = u;
|
|
@@ -591,29 +593,29 @@ const Ae = "b-row-actions-column", Is = (s, t, n, e, o, l) => {
|
|
|
591
593
|
onConfigSettingsCondensedUpdate: w,
|
|
592
594
|
onConfigSettingsZebraRowsUpdate: m
|
|
593
595
|
};
|
|
594
|
-
},
|
|
596
|
+
}, Us = (s, t, n, e, o, l, a) => {
|
|
595
597
|
const i = p(0), _ = p(!1), g = p(!1);
|
|
596
598
|
ae([() => i.value, () => l.value], ([u]) => {
|
|
597
599
|
s.value.scrollLeft = u, t.value.scrollLeft = u, _.value = !!u, g.value = t.value.scrollWidth - t.value.offsetWidth > u;
|
|
598
|
-
}),
|
|
599
|
-
var u,
|
|
600
|
-
await le(), ((u = t.value) == null ? void 0 : u.offsetWidth) < ((
|
|
600
|
+
}), Re(async () => {
|
|
601
|
+
var u, y;
|
|
602
|
+
await le(), ((u = t.value) == null ? void 0 : u.offsetWidth) < ((y = t.value) == null ? void 0 : y.scrollWidth) && (g.value = !0);
|
|
601
603
|
});
|
|
602
604
|
const w = (u) => {
|
|
603
605
|
if (i.value = u.target.scrollLeft, n.value = s.value.scrollHeight - u.target.scrollTop, e != null && e.value) {
|
|
604
|
-
const
|
|
605
|
-
e.value.scrollLeft !==
|
|
606
|
+
const y = u.target.scrollLeft;
|
|
607
|
+
e.value.scrollLeft !== y && (e.value.scrollLeft = y);
|
|
606
608
|
}
|
|
607
609
|
}, m = (u) => {
|
|
608
610
|
u.key === "Tab" || u.key !== "ArrowRight" && u.key !== "ArrowLeft" || (u.preventDefault(), s.value.scrollLeft = 0, s.value.style.overflowX = "hidden", setTimeout(() => {
|
|
609
611
|
s.value && (s.value.style.overflowX = "auto");
|
|
610
612
|
}));
|
|
611
613
|
}, E = (u) => {
|
|
612
|
-
const
|
|
613
|
-
s.value.scrollLeft !==
|
|
614
|
+
const y = u.target.scrollLeft;
|
|
615
|
+
s.value.scrollLeft !== y && (s.value.scrollLeft = y);
|
|
614
616
|
}, b = v(() => {
|
|
615
|
-
var u,
|
|
616
|
-
return (u = a == null ? void 0 : a.pagination) != null && u.value && ((
|
|
617
|
+
var u, y, L, F;
|
|
618
|
+
return (u = a == null ? void 0 : a.pagination) != null && u.value && ((y = a == null ? void 0 : a.stickyPagination) != null && y.value || a != null && a.isDataGridTemplate) && !((L = a == null ? void 0 : a.isLazyLoad) != null && L.value) ? { bottom: `${(((F = o.value) == null ? void 0 : F.clientHeight) ?? 0) + 1}px` } : {};
|
|
617
619
|
});
|
|
618
620
|
return {
|
|
619
621
|
// Values
|
|
@@ -626,9 +628,9 @@ const Ae = "b-row-actions-column", Is = (s, t, n, e, o, l) => {
|
|
|
626
628
|
updateScrollPositionOnFrozenColumnsNavigation: m,
|
|
627
629
|
syncVirtualScrollerWithBody: E
|
|
628
630
|
};
|
|
629
|
-
},
|
|
631
|
+
}, Ps = (s, t, n, e) => {
|
|
630
632
|
const o = p(null), l = v(() => {
|
|
631
|
-
var
|
|
633
|
+
var y, L, F, S;
|
|
632
634
|
if (!o.value || o.value.field === oe)
|
|
633
635
|
return {
|
|
634
636
|
hoveredOverColumnField: "",
|
|
@@ -636,7 +638,7 @@ const Ae = "b-row-actions-column", Is = (s, t, n, e, o, l) => {
|
|
|
636
638
|
noBorderLeft: !1,
|
|
637
639
|
noBorderRight: !1
|
|
638
640
|
};
|
|
639
|
-
const a = (L = (
|
|
641
|
+
const a = (L = (y = s.value.find((d) => d.isFrozenColumns)) == null ? void 0 : y.columnSet) == null ? void 0 : L.filter((d) => d.field !== oe), i = s.value.find((d) => !(d != null && d.isFrozenColumns)), _ = o.value.frozen && (a == null ? void 0 : a[0].field) === o.value.field, g = !o.value.frozen && ((F = i == null ? void 0 : i.columnSet) == null ? void 0 : F[0].field) === o.value.field, w = (t.value || n.value) && _, m = (t.value || n.value) && !a && g, E = a && g, b = (a == null ? void 0 : a.length) > 0 && o.value.frozen && (a == null ? void 0 : a[a.length - 1].field) === o.value.field, u = n.value && e.value && !o.value.frozen && ((S = i == null ? void 0 : i.columnSet) == null ? void 0 : S[i.columnSet.length - 1].field) === o.value.field;
|
|
640
642
|
return {
|
|
641
643
|
hoveredOverColumnField: o.value.field,
|
|
642
644
|
isSeparatorOffset: u,
|
|
@@ -649,15 +651,15 @@ const Ae = "b-row-actions-column", Is = (s, t, n, e, o, l) => {
|
|
|
649
651
|
hoveredOverColumnState: l
|
|
650
652
|
};
|
|
651
653
|
}, qe = (s) => {
|
|
652
|
-
const n =
|
|
654
|
+
const n = Dt(s).filter((e) => e.node !== s);
|
|
653
655
|
return (n == null ? void 0 : n.length) > 0 ? (n[0].node.focus(), !0) : !1;
|
|
654
656
|
}, we = (s) => {
|
|
655
|
-
const t =
|
|
657
|
+
const t = Dt(s), n = t == null ? void 0 : t.filter((e) => e.node !== s);
|
|
656
658
|
if ((n == null ? void 0 : n.length) > 0)
|
|
657
659
|
return n.forEach((e) => e.node.setAttribute("tabindex", "-1")), n;
|
|
658
|
-
},
|
|
660
|
+
}, Pt = (s) => {
|
|
659
661
|
(s == null ? void 0 : s.length) > 0 && s.forEach((t) => t == null ? void 0 : t.node.setAttribute("tabindex", "0"));
|
|
660
|
-
},
|
|
662
|
+
}, $s = () => {
|
|
661
663
|
const s = window.getSelection().getRangeAt(0).cloneContents(), t = s.querySelectorAll('[role="row"]');
|
|
662
664
|
let n = "<table>", e = "";
|
|
663
665
|
const o = (l) => {
|
|
@@ -697,41 +699,41 @@ const Ae = "b-row-actions-column", Is = (s, t, n, e, o, l) => {
|
|
|
697
699
|
]);
|
|
698
700
|
};
|
|
699
701
|
let Ct = 0;
|
|
700
|
-
const
|
|
702
|
+
const zs = {
|
|
701
703
|
beforeCreate() {
|
|
702
704
|
this.uuid = Ct.toString(), Ct += 1;
|
|
703
705
|
}
|
|
704
706
|
};
|
|
705
|
-
var
|
|
707
|
+
var ks = function() {
|
|
706
708
|
var t = this, n = t._self._c;
|
|
707
709
|
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { fill: "#001222", "clip-path": "url(#uia-ui-assets/icons-16-arrow_up_down_sort__a" + t.uuid + ")" } }, [n("path", { attrs: { d: "M9.06077 4.00011L5.00011 -0.0605469L0.939453 4.00011L2.00011 5.06077L4.25 2.81089V10.75H5.75V2.81066L8.00011 5.06077L9.06077 4.00011Z" } }), n("path", { attrs: { d: "M10.25 13.1893L8.00011 10.9395L6.93945 12.0001L11.0001 16.0608L15.0608 12.0001L14.0001 10.9395L11.75 13.1896V5.25H10.25V13.1893Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-ui-assets/icons-16-arrow_up_down_sort__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
|
|
708
|
-
},
|
|
709
|
-
$s,
|
|
710
|
+
}, Ws = [], Gs = /* @__PURE__ */ q(
|
|
710
711
|
zs,
|
|
711
712
|
ks,
|
|
713
|
+
Ws,
|
|
712
714
|
!1,
|
|
713
715
|
null,
|
|
714
716
|
null
|
|
715
717
|
);
|
|
716
|
-
const
|
|
718
|
+
const Hs = Gs.exports;
|
|
717
719
|
let ht = 0;
|
|
718
|
-
const
|
|
720
|
+
const Vs = {
|
|
719
721
|
beforeCreate() {
|
|
720
722
|
this.uuid = ht.toString(), ht += 1;
|
|
721
723
|
}
|
|
722
724
|
};
|
|
723
|
-
var
|
|
725
|
+
var Zs = function() {
|
|
724
726
|
var t = this, n = t._self._c;
|
|
725
|
-
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("path", { attrs: { fill: "#001222", d: "
|
|
726
|
-
},
|
|
727
|
-
Hs,
|
|
727
|
+
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { "clip-path": "url(#uia-ui-assets/icons-16-freeze__a" + t.uuid + ")" } }, [n("path", { attrs: { fill: "#001222", d: "M10.5605 14.5L9.94434 13.8838C9.6002 13.5397 9.18722 13.3072 8.75 13.1836V10.9336L10.1689 10.1162L11.6865 10.9941L12.1094 12.5605C12.1146 12.5821 12.1182 12.6044 12.124 12.626L12.1553 12.7441L12.3496 13.4688L13.7988 13.0801L13.6162 12.4004L13.6201 12.3984L13.5547 12.1592C13.4254 11.5178 13.8153 10.878 14.4561 10.7061L14.5742 10.6748L15.2988 10.4805L14.9102 9.03125L14.2295 9.21387L14.2285 9.20996L13.5049 9.40625L12.4346 9.69531L10.9199 8.81836V7.18262L12.8633 6.05762C13.1889 6.37496 13.597 6.61697 14.0674 6.74316L14.1855 6.77441L14.9102 6.96875L15.2988 5.52051L14.5742 5.32617L14.4561 5.29395C13.7894 5.11503 13.3935 4.4294 13.5723 3.7627L13.6045 3.64453L13.7988 2.91992L12.3496 2.53125L12.1553 3.25586L12.124 3.37402C11.9979 3.84406 12.0018 4.31824 12.1133 4.75879L10.1689 5.88477L8.75 5.06738V2.81738C9.18731 2.69384 9.60013 2.46036 9.94434 2.11621L10.5605 1.5L9.5 0.439453L8.88379 1.05566C8.39567 1.54362 7.60433 1.54362 7.11621 1.05566L6.5 0.439453L5.43945 1.5L6.05566 2.11621C6.39987 2.46036 6.81269 2.69384 7.25 2.81738V5.06738L5.83105 5.88477L3.88574 4.75879C3.99724 4.31819 4.00207 3.84412 3.87598 3.37402L3.84473 3.25586L3.65039 2.53125L2.20117 2.91992L2.39551 3.64453L2.42773 3.7627C2.60651 4.42942 2.21066 5.11507 1.54395 5.29395L1.42578 5.32617L0.701172 5.52051L1.08984 6.96875L1.81445 6.77441L1.93262 6.74316C2.40275 6.61703 2.81018 6.37474 3.13574 6.05762L5.08008 7.18262V8.81836L3.13574 9.94336C2.81015 9.62622 2.40287 9.38399 1.93262 9.25781L1.81445 9.22559L1.08984 9.03125L0.701172 10.4805L1.42578 10.6748L1.54395 10.7061C2.2106 10.8849 2.60644 11.5706 2.42773 12.2373L2.39551 12.3555L2.20117 13.0801L3.65039 13.4688L3.84473 12.7441L3.87598 12.626C4.00207 12.1559 3.99723 11.6817 3.88574 11.2412L5.83105 10.1162L7.25 10.9336V13.1836C6.81278 13.3072 6.3998 13.5397 6.05566 13.8838L5.43945 14.5L6.5 15.5605L7.11621 14.9443C7.60433 14.4564 8.39567 14.4564 8.88379 14.9443L9.5 15.5605L10.5605 14.5ZM6.58008 8.81641V7.18262L8 6.36426L9.41992 7.18262V8.81641L8 9.63477L6.58008 8.81641Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-ui-assets/icons-16-freeze__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff", transform: "matrix(1 0 0 -1 0 16)" } })])])]);
|
|
728
|
+
}, js = [], qs = /* @__PURE__ */ q(
|
|
728
729
|
Vs,
|
|
729
730
|
Zs,
|
|
731
|
+
js,
|
|
730
732
|
!1,
|
|
731
733
|
null,
|
|
732
734
|
null
|
|
733
735
|
);
|
|
734
|
-
const
|
|
736
|
+
const $t = qs.exports;
|
|
735
737
|
let pt = 0;
|
|
736
738
|
const Ys = {
|
|
737
739
|
beforeCreate() {
|
|
@@ -740,7 +742,7 @@ const Ys = {
|
|
|
740
742
|
};
|
|
741
743
|
var Js = function() {
|
|
742
744
|
var t = this, n = t._self._c;
|
|
743
|
-
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { "clip-path": "url(#uia-ui-assets/icons-16-
|
|
745
|
+
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { fill: "#001222", "clip-path": "url(#uia-ui-assets/icons-16-sort_ascending__a" + t.uuid + ")" } }, [n("path", { attrs: { d: "M12.0001 1.93945L16.0608 6.00011L15.0001 7.06077L12.75 4.81066V12.75H11.25V4.81089L9.00011 7.06077L7.93945 6.00011L12.0001 1.93945Z" } }), n("path", { attrs: { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" } }), n("path", { attrs: { d: "M1.25 11.25H8.75V12.75H1.25V11.25Z" } }), n("path", { attrs: { d: "M6.75 3.25H1.25V4.75H6.75V3.25Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-ui-assets/icons-16-sort_ascending__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
|
|
744
746
|
}, Ks = [], Xs = /* @__PURE__ */ q(
|
|
745
747
|
Ys,
|
|
746
748
|
Js,
|
|
@@ -749,61 +751,43 @@ var Js = function() {
|
|
|
749
751
|
null,
|
|
750
752
|
null
|
|
751
753
|
);
|
|
752
|
-
const
|
|
754
|
+
const Qs = Xs.exports;
|
|
753
755
|
let wt = 0;
|
|
754
|
-
const
|
|
756
|
+
const eo = {
|
|
755
757
|
beforeCreate() {
|
|
756
758
|
this.uuid = wt.toString(), wt += 1;
|
|
757
759
|
}
|
|
758
760
|
};
|
|
759
|
-
var
|
|
761
|
+
var to = function() {
|
|
760
762
|
var t = this, n = t._self._c;
|
|
761
|
-
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { fill: "#001222", "clip-path": "url(#uia-ui-assets/icons-16-
|
|
762
|
-
},
|
|
763
|
-
Qs,
|
|
763
|
+
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { fill: "#001222", "clip-path": "url(#uia-ui-assets/icons-16-sort_descending__a" + t.uuid + ")" } }, [n("path", { attrs: { d: "M12.75 3.25V11.1896L15.0001 8.93945L16.0608 10.0001L12.0001 14.0608L7.93945 10.0001L9.00011 8.93945L11.25 11.1893V3.25H12.75Z" } }), n("path", { attrs: { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" } }), n("path", { attrs: { d: "M1.25 3.25H9.09V4.75H1.25V3.25Z" } }), n("path", { attrs: { d: "M6.75 11.25H1.25V12.75H6.75V11.25Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-ui-assets/icons-16-sort_descending__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
|
|
764
|
+
}, no = [], so = /* @__PURE__ */ q(
|
|
764
765
|
eo,
|
|
765
766
|
to,
|
|
767
|
+
no,
|
|
766
768
|
!1,
|
|
767
769
|
null,
|
|
768
770
|
null
|
|
769
771
|
);
|
|
770
|
-
const
|
|
772
|
+
const oo = so.exports;
|
|
771
773
|
let bt = 0;
|
|
772
|
-
const
|
|
774
|
+
const lo = {
|
|
773
775
|
beforeCreate() {
|
|
774
776
|
this.uuid = bt.toString(), bt += 1;
|
|
775
777
|
}
|
|
776
778
|
};
|
|
777
|
-
var
|
|
779
|
+
var ao = function() {
|
|
778
780
|
var t = this, n = t._self._c;
|
|
779
|
-
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("
|
|
780
|
-
},
|
|
781
|
-
oo,
|
|
781
|
+
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("path", { attrs: { fill: "#001222", d: "M8 11.25L12.5 5.25H3.5L8 11.25Z" } })]);
|
|
782
|
+
}, io = [], ro = /* @__PURE__ */ q(
|
|
782
783
|
lo,
|
|
783
784
|
ao,
|
|
785
|
+
io,
|
|
784
786
|
!1,
|
|
785
787
|
null,
|
|
786
788
|
null
|
|
787
789
|
);
|
|
788
|
-
const
|
|
789
|
-
let St = 0;
|
|
790
|
-
const co = {
|
|
791
|
-
beforeCreate() {
|
|
792
|
-
this.uuid = St.toString(), St += 1;
|
|
793
|
-
}
|
|
794
|
-
};
|
|
795
|
-
var uo = function() {
|
|
796
|
-
var t = this, n = t._self._c;
|
|
797
|
-
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("path", { attrs: { fill: "#001222", d: "M8 11.25L12.5 5.25H3.5L8 11.25Z" } })]);
|
|
798
|
-
}, fo = [], go = /* @__PURE__ */ q(
|
|
799
|
-
co,
|
|
800
|
-
uo,
|
|
801
|
-
fo,
|
|
802
|
-
!1,
|
|
803
|
-
null,
|
|
804
|
-
null
|
|
805
|
-
);
|
|
806
|
-
const _o = go.exports, vo = {
|
|
790
|
+
const co = ro.exports, uo = {
|
|
807
791
|
"en-US": {
|
|
808
792
|
columnActions: "{name} column actions",
|
|
809
793
|
deselectAll: "Deselect all",
|
|
@@ -867,11 +851,11 @@ const _o = go.exports, vo = {
|
|
|
867
851
|
sortColumnInDescendingOrder: "Classificar a coluna {name} em ordem decrescente",
|
|
868
852
|
unfreezeColumn: "Descongelar coluna"
|
|
869
853
|
}
|
|
870
|
-
},
|
|
871
|
-
i18n: { messages:
|
|
854
|
+
}, zt = /* @__PURE__ */ Symbol("data-grid slashed zero key"), Ae = /* @__PURE__ */ Symbol("data-grid small container key"), De = /* @__PURE__ */ Symbol("data-grid touch device key"), fo = {
|
|
855
|
+
i18n: { messages: uo },
|
|
872
856
|
name: "data-grid-columns"
|
|
873
|
-
},
|
|
874
|
-
...
|
|
857
|
+
}, go = /* @__PURE__ */ de({
|
|
858
|
+
...fo,
|
|
875
859
|
props: {
|
|
876
860
|
/**
|
|
877
861
|
* Column definitions using 'key' to relate to data object.
|
|
@@ -1018,7 +1002,7 @@ const _o = go.exports, vo = {
|
|
|
1018
1002
|
},
|
|
1019
1003
|
emits: ["sort", "column-hover"],
|
|
1020
1004
|
setup(s, { expose: t, emit: n }) {
|
|
1021
|
-
const e = s, o = 100, { t: l } = he(), { columns: a, sortBy: i } = We(e), _ = p(), g = p({}), w = p({}), m = p(), E = p(), b = (c) => n(j.SELECT_ALL_ROWS, c), u = (c) => c.field === oe,
|
|
1005
|
+
const e = s, o = 100, { t: l } = he(), { columns: a, sortBy: i } = We(e), _ = p(), g = p({}), w = p({}), m = p(), E = p(), b = (c) => n(j.SELECT_ALL_ROWS, c), u = (c) => c.field === oe, y = v(() => e.selectionState === "all"), L = v(
|
|
1022
1006
|
() => {
|
|
1023
1007
|
var c, U, X;
|
|
1024
1008
|
return [
|
|
@@ -1057,7 +1041,7 @@ const _o = go.exports, vo = {
|
|
|
1057
1041
|
}
|
|
1058
1042
|
].filter(Boolean);
|
|
1059
1043
|
}
|
|
1060
|
-
), { startResize: F, isResizing: S, columnHoverEventToEmitAfterResizing: d } =
|
|
1044
|
+
), { startResize: F, isResizing: S, columnHoverEventToEmitAfterResizing: d } = hs(a, n), { isSorting: A, getSortingDirection: O, sortByColumnField: D } = Is(i, a, n), r = (c) => {
|
|
1061
1045
|
var ne;
|
|
1062
1046
|
if (!c.sortable)
|
|
1063
1047
|
return null;
|
|
@@ -1093,13 +1077,13 @@ const _o = go.exports, vo = {
|
|
|
1093
1077
|
{
|
|
1094
1078
|
text: l("moveColumnRight"),
|
|
1095
1079
|
handler: () => n(j.COLUMN_MOVE, c, 1),
|
|
1096
|
-
icon:
|
|
1080
|
+
icon: us,
|
|
1097
1081
|
disabled: e.columns[e.columns.length - 1].field === c.field
|
|
1098
1082
|
},
|
|
1099
1083
|
!Y.value && {
|
|
1100
1084
|
text: c != null && c.frozen ? l("unfreezeColumn") : l("freezeColumn"),
|
|
1101
1085
|
handler: () => n(j.COLUMN_UPDATE, { ...c, frozen: !(c != null && c.frozen) }),
|
|
1102
|
-
icon:
|
|
1086
|
+
icon: $t
|
|
1103
1087
|
},
|
|
1104
1088
|
{
|
|
1105
1089
|
text: (c == null ? void 0 : c.visible) !== !1 ? l("hideColumn") : l("showColumn"),
|
|
@@ -1109,7 +1093,7 @@ const _o = go.exports, vo = {
|
|
|
1109
1093
|
visible: (c == null ? void 0 : c.visible) === !1
|
|
1110
1094
|
});
|
|
1111
1095
|
},
|
|
1112
|
-
icon: (c == null ? void 0 : c.visible) !== !1 ?
|
|
1096
|
+
icon: (c == null ? void 0 : c.visible) !== !1 ? fs : gs,
|
|
1113
1097
|
disabled: (c == null ? void 0 : c.mandatory) || (c == null ? void 0 : c.visible) !== !1 && e.isOnlyOneVisibleColumn
|
|
1114
1098
|
}
|
|
1115
1099
|
].filter(Boolean)
|
|
@@ -1144,7 +1128,7 @@ const _o = go.exports, vo = {
|
|
|
1144
1128
|
var X;
|
|
1145
1129
|
((X = g.value) == null ? void 0 : X[U]) === void 0 && (g.value = { ...g.value, [U]: null }), c !== null && (g.value[U] = c);
|
|
1146
1130
|
}, Y = me(
|
|
1147
|
-
|
|
1131
|
+
Ae,
|
|
1148
1132
|
v(() => !1)
|
|
1149
1133
|
), ee = me(De, p(!1)), G = v(() => {
|
|
1150
1134
|
var U;
|
|
@@ -1194,10 +1178,10 @@ const _o = go.exports, vo = {
|
|
|
1194
1178
|
});
|
|
1195
1179
|
return t({
|
|
1196
1180
|
columnHeaderRefs: g
|
|
1197
|
-
}), { __sfc: !0, props: e, emit: n, CLOSING_CONTEXTUAL_MENU_DELAY_MS: o, t: l, columns: a, sortBy: i, allColumnsRef: _, columnHeaderRefs: g, contextMenuRef: w, hoveredColumnField: m, closingTimeOutId: E, onAllRowSelect: b, isActionsColumn: u, isAllSelectionState:
|
|
1181
|
+
}), { __sfc: !0, props: e, emit: n, CLOSING_CONTEXTUAL_MENU_DELAY_MS: o, t: l, columns: a, sortBy: i, allColumnsRef: _, columnHeaderRefs: g, contextMenuRef: w, hoveredColumnField: m, closingTimeOutId: E, onAllRowSelect: b, isActionsColumn: u, isAllSelectionState: y, selectAllMenu: L, startResize: F, isResizing: S, columnHoverEventToEmitAfterResizing: d, isSorting: A, getSortingDirection: O, sortByColumnField: D, getSortingColumnDirection: r, draggingEventsForColumn: f, contextualMenuData: R, showContextualMenu: T, hideContextualMenu: B, dataGridColumnEvents: M, hasColumnActions: k, registerColumnsRefs: K, isSmallContainer: Y, isTouchDevice: ee, conditionalColumnsClasses: G, conditionalSelectColumnClasses: P, computeMenuPosition: C, conditionalColumnClasses: $, conditionalColumnHeaderAndActionsClasses: W, conditionalColumnActionsClasses: z, conditionalColumnSeparatorClasses: Ce, conditionalColumnHeaderClasses: ue, conditionalColumnMenuClasses: ie, BentoCheckbox: xt, BentoDatagridSortDirection: be, BentoTypography: Se, DATAGRID_ROW_ACTIONS_COLUMN_FIELD_NAME: ye, BentoInfoIcon: rs, DatagridColumnsEvent: j, BentoMenu: Bt, BentoToggleButton: je, DecorativeCheckbox: cs, ArrowUpAndDownSortIcon: Hs, SortAscendingIcon: Qs, SortDescendingIcon: oo, TriangleDown: co };
|
|
1198
1182
|
}
|
|
1199
1183
|
});
|
|
1200
|
-
var
|
|
1184
|
+
var _o = function() {
|
|
1201
1185
|
var t = this, n = t._self._c, e = t._self._setupProxy;
|
|
1202
1186
|
return n("div", { ref: "allColumnsRef", staticClass: "b-data-grid-columns", class: e.conditionalColumnsClasses, attrs: { "data-testid": "data-grid-columns" } }, [t._l(e.columns, function(o, l) {
|
|
1203
1187
|
return n("div", t._g({ key: o.field, ref: (a) => e.registerColumnsRefs(a, o.field), refInFor: !0, staticClass: "b-data-grid-columns__column", class: e.conditionalColumnClasses(o, l), style: { width: o.autoWidth && t.isMeasuringColumnWidths ? "auto" : `${o.width}px` }, attrs: { "aria-colindex": l + 1, "aria-label": o.label, "aria-sort": e.getSortingColumnDirection(o), "data-testid": `${o.field}-column-header`, draggable: t.hasDraggableColumns && !e.isResizing && !e.isActionsColumn(o), role: "columnheader", tabindex: o.sortable || t.hasColumnPanel || o.infoIconTooltip ? "0" : "-1" } }, e.dataGridColumnEvents(o)), [e.isActionsColumn(o) && t.selectable ? n("div", { staticClass: "b-data-grid-columns__select-column", class: e.conditionalSelectColumnClasses }, [t.selectableAcrossPages ? t._e() : n(e.BentoCheckbox, { attrs: { "aria-label": e.t("selectAll"), "model-value": t.allItemsSelectedState.allItemsSelected, "data-testid": "checkbox-select-all", indeterminate: t.allItemsSelectedState.isIndeterminate, value: "data-grid-select-all" }, on: { "update:model-value": e.onAllRowSelect } }), t.selectableAcrossPages ? [n(e.BentoMenu, { staticClass: "b-data-grid-columns__select-column-menu", attrs: { button: { variant: "tertiary", condensed: !0, "aria-label": e.t("selectAllMenu") }, data: e.selectAllMenu, "disable-arrow-down-opening-menu": "", "menu-fixed-positioning": "", "menu-position": "bottom-start" }, scopedSlots: t._u([{ key: "iconLeft", fn: function() {
|
|
@@ -1218,34 +1202,34 @@ var ho = function() {
|
|
|
1218
1202
|
a.stopPropagation();
|
|
1219
1203
|
} } }, [!t.isFrozenColumns || t.isFrozenColumns && l !== e.columns.length - 1 ? n("div", { staticClass: "b-data-grid-columns__column-separator" }) : t._e()])]], 2);
|
|
1220
1204
|
}), t.rowActionsMaximumWidth && !t.isFrozenColumns ? [n("div", { staticClass: "b-data-grid-columns__row-actions-filler", attrs: { role: "presentation" } }), n("div", { ref: (o) => e.registerColumnsRefs(o, e.DATAGRID_ROW_ACTIONS_COLUMN_FIELD_NAME), staticClass: "b-data-grid-columns__column", style: { minWidth: `${t.rowActionsMaximumWidth}px` }, attrs: { "aria-label": e.t("rowActionsColumn"), "aria-colindex": e.columns.length + 1, role: "columnheader", tabindex: "0" } })] : t._e()], 2);
|
|
1221
|
-
},
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1205
|
+
}, vo = [], mo = /* @__PURE__ */ q(
|
|
1206
|
+
go,
|
|
1207
|
+
_o,
|
|
1208
|
+
vo,
|
|
1225
1209
|
!1,
|
|
1226
1210
|
null,
|
|
1227
1211
|
"047e7ae6"
|
|
1228
1212
|
);
|
|
1229
|
-
const
|
|
1213
|
+
const Co = mo.exports;
|
|
1230
1214
|
var _e = /* @__PURE__ */ ((s) => (s.UPDATE_CONDENSED = "update:condensed", s.UPDATE_COLUMNS = "update:columns", s.UPDATE_ZEBRA_ROWS = "update:zebra-rows", s))(_e || {});
|
|
1231
|
-
let
|
|
1232
|
-
const
|
|
1215
|
+
let St = 0;
|
|
1216
|
+
const ho = {
|
|
1233
1217
|
beforeCreate() {
|
|
1234
|
-
this.uuid =
|
|
1218
|
+
this.uuid = St.toString(), St += 1;
|
|
1235
1219
|
}
|
|
1236
1220
|
};
|
|
1237
|
-
var
|
|
1221
|
+
var po = function() {
|
|
1238
1222
|
var t = this, n = t._self._c;
|
|
1239
1223
|
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { fill: "#001222", "clip-path": "url(#uia-ui-assets/icons-16-settings__a" + t.uuid + ")" } }, [n("path", { attrs: { d: "M8 5.25C6.48122 5.25 5.25 6.48122 5.25 8C5.25 9.51878 6.48122 10.75 8 10.75C9.51878 10.75 10.75 9.51878 10.75 8C10.75 6.48122 9.51878 5.25 8 5.25ZM6.75 8C6.75 7.30964 7.30964 6.75 8 6.75C8.69036 6.75 9.25 7.30964 9.25 8C9.25 8.69036 8.69036 9.25 8 9.25C7.30964 9.25 6.75 8.69036 6.75 8Z" } }), n("path", { attrs: { d: "M6.84701 0.973015L6.59985 0.35083L5.9537 0.526056C4.64534 0.880867 3.48225 1.56808 2.55285 2.48641L2.07533 2.95826L2.49158 3.48495C2.79648 3.87074 2.85279 4.419 2.58992 4.87589C2.32905 5.32931 1.82436 5.55631 1.33473 5.48726L0.677319 5.39455L0.505539 6.03586C0.33838 6.65992 0.25 7.32519 0.25 7.99991C0.25 8.67463 0.33838 9.3399 0.505539 9.96396L0.677319 10.6053L1.33473 10.5126C1.82436 10.4435 2.32905 10.6705 2.58992 11.1239C2.85279 11.5808 2.79648 12.1291 2.49158 12.5149L2.07533 13.0416L2.55285 13.5134C3.48225 14.4317 4.64534 15.119 5.9537 15.4738L6.59985 15.649L6.84701 15.0268C7.02659 14.5748 7.47549 14.2499 8 14.2499C8.52452 14.2499 8.97341 14.5748 9.15299 15.0268L9.40016 15.649L10.0463 15.4738C11.3547 15.119 12.5177 14.4317 13.4471 13.5134L13.9247 13.0416L13.5084 12.5149C13.2035 12.1291 13.1472 11.5808 13.4101 11.1239C13.671 10.6705 14.1756 10.4435 14.6653 10.5126L15.3227 10.6053L15.4945 9.96396C15.6616 9.3399 15.75 8.67463 15.75 7.99991C15.75 7.32519 15.6616 6.65992 15.4945 6.03586L15.3227 5.39455L14.6653 5.48726C14.1756 5.55631 13.671 5.32931 13.4101 4.87589C13.1472 4.419 13.2035 3.87074 13.5084 3.48495L13.9247 2.95826L13.4471 2.48641C12.5177 1.56808 11.3547 0.880867 10.0463 0.526056L9.40016 0.35083L9.15299 0.973015C8.97341 1.42506 8.52452 1.74991 8 1.74991C7.47549 1.74991 7.02659 1.42506 6.84701 0.973015ZM3.89008 5.62393C4.33946 4.84286 4.36394 3.9353 4.03405 3.16853C4.55803 2.73795 5.15349 2.39116 5.80146 2.14902C6.30062 2.81653 7.10051 3.24991 8 3.24991C8.89949 3.24991 9.69938 2.81653 10.1985 2.14902C10.8465 2.39116 11.442 2.73795 11.966 3.16853C11.6361 3.9353 11.6605 4.84287 12.1099 5.62393C12.5612 6.40839 13.3382 6.88092 14.1658 6.97982C14.221 7.31075 14.25 7.65319 14.25 7.99991C14.25 8.34663 14.221 8.68908 14.1658 9.02001C13.3382 9.11891 12.5612 9.59143 12.1099 10.3759C11.6605 11.157 11.6361 12.0645 11.9659 12.8313C11.442 13.2619 10.8465 13.6087 10.1985 13.8508C9.69938 13.1833 8.89949 12.7499 8 12.7499C7.10051 12.7499 6.30062 13.1833 5.80146 13.8508C5.15349 13.6087 4.55803 13.2619 4.03405 12.8313C4.36394 12.0645 4.33946 11.157 3.89008 10.3759C3.43875 9.59143 2.66177 9.1189 1.8342 9.02C1.77896 8.68908 1.75 8.34663 1.75 7.99991C1.75 7.65319 1.77896 7.31074 1.8342 6.97982C2.66177 6.88092 3.43875 6.40839 3.89008 5.62393Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-ui-assets/icons-16-settings__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
|
|
1240
|
-
},
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1224
|
+
}, wo = [], bo = /* @__PURE__ */ q(
|
|
1225
|
+
ho,
|
|
1226
|
+
po,
|
|
1227
|
+
wo,
|
|
1244
1228
|
!1,
|
|
1245
1229
|
null,
|
|
1246
1230
|
null
|
|
1247
1231
|
);
|
|
1248
|
-
const
|
|
1232
|
+
const So = bo.exports, Ro = {
|
|
1249
1233
|
"en-US": {
|
|
1250
1234
|
toggleColumnFreeze: "Toggle {label} column freeze",
|
|
1251
1235
|
toggleColumnVisibility: "Toggle {label} column visibility"
|
|
@@ -1258,12 +1242,12 @@ const Ao = Lo.exports, yo = {
|
|
|
1258
1242
|
toggleColumnFreeze: "Alternar congelamento da coluna {label}",
|
|
1259
1243
|
toggleColumnVisibility: "Alternar visibilidade da coluna {label}"
|
|
1260
1244
|
}
|
|
1261
|
-
},
|
|
1262
|
-
i18n: { messages:
|
|
1245
|
+
}, Eo = de({
|
|
1246
|
+
i18n: { messages: Ro },
|
|
1263
1247
|
name: "bento-data-grid",
|
|
1264
1248
|
components: {
|
|
1265
|
-
BentoFreezeIcon:
|
|
1266
|
-
BentoToggle:
|
|
1249
|
+
BentoFreezeIcon: $t,
|
|
1250
|
+
BentoToggle: Mt
|
|
1267
1251
|
},
|
|
1268
1252
|
props: {
|
|
1269
1253
|
/**
|
|
@@ -1290,7 +1274,7 @@ const Ao = Lo.exports, yo = {
|
|
|
1290
1274
|
var E;
|
|
1291
1275
|
return ((E = s.column) == null ? void 0 : E.visible) !== !1;
|
|
1292
1276
|
}), a = me(
|
|
1293
|
-
|
|
1277
|
+
Ae,
|
|
1294
1278
|
v(() => !1)
|
|
1295
1279
|
), i = () => {
|
|
1296
1280
|
t("visible-column", { ...s.column, visible: !l.value });
|
|
@@ -1320,20 +1304,20 @@ const Ao = Lo.exports, yo = {
|
|
|
1320
1304
|
};
|
|
1321
1305
|
}
|
|
1322
1306
|
});
|
|
1323
|
-
var
|
|
1307
|
+
var Lo = function() {
|
|
1324
1308
|
var t = this, n = t._self._c;
|
|
1325
1309
|
return t._self._setupProxy, n("div", { staticClass: "b-data-grid-config-settings-column-row", on: { mouseover: t.showFreezeIcon, mouseleave: t.hideFreezeIcon } }, [n("bento-toggle", { attrs: { "aria-label": t.t("toggleColumnVisibility", { label: t.column.label }), disabled: t.isColumnVisibilityToggleDisabled, "label-position": "after", value: t.isColumnVisible }, on: { input: t.toggleColumnVisibility } }, [t._v(" " + t._s(t.column.label) + " ")]), n("bento-freeze-icon", { directives: [{ name: "show", rawName: "v-show", value: (t.isColumnFrozen || t.isFreezeIconOptionShown) && !t.isSmallContainer, expression: "(isColumnFrozen || isFreezeIconOptionShown) && !isSmallContainer" }], staticClass: "b-data-grid-config-settings-column-row__freeze-icon", class: t.freezeIconConditionalClasses, attrs: { "aria-label": t.t("toggleColumnFreeze", { label: t.column.label }) }, nativeOn: { click: function(e) {
|
|
1326
1310
|
return t.toggleColumnFreeze.apply(null, arguments);
|
|
1327
1311
|
} } })], 1);
|
|
1328
|
-
},
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1312
|
+
}, yo = [], Ao = /* @__PURE__ */ q(
|
|
1313
|
+
Eo,
|
|
1314
|
+
Lo,
|
|
1315
|
+
yo,
|
|
1332
1316
|
!1,
|
|
1333
1317
|
null,
|
|
1334
1318
|
"b49cbd8d"
|
|
1335
1319
|
);
|
|
1336
|
-
const
|
|
1320
|
+
const To = Ao.exports, Oo = {
|
|
1337
1321
|
"en-US": {
|
|
1338
1322
|
appearance: "Appearance",
|
|
1339
1323
|
closeConfigSettingsPanel: "Close configuration settings panel",
|
|
@@ -1385,22 +1369,22 @@ const Do = Io.exports, xo = {
|
|
|
1385
1369
|
zebraRows: "Linhas alternadas",
|
|
1386
1370
|
zebraRowsToggle: "Alternar linhas alternadas"
|
|
1387
1371
|
}
|
|
1388
|
-
},
|
|
1389
|
-
i18n: { messages:
|
|
1372
|
+
}, No = de({
|
|
1373
|
+
i18n: { messages: Oo },
|
|
1390
1374
|
name: "bento-data-grid",
|
|
1391
1375
|
components: {
|
|
1392
1376
|
BentoButton: Ft,
|
|
1393
|
-
BentoCrossIcon:
|
|
1377
|
+
BentoCrossIcon: Nt,
|
|
1394
1378
|
BentoPopover: ts,
|
|
1395
|
-
BentoSettingsIcon:
|
|
1379
|
+
BentoSettingsIcon: So,
|
|
1396
1380
|
BentoToggleButton: je,
|
|
1397
|
-
BentoDataGridConfigSettingsConfigRow:
|
|
1398
|
-
BentoSearchBar:
|
|
1399
|
-
BentoSearchIcon:
|
|
1400
|
-
BentoToggle:
|
|
1401
|
-
BentoTypography:
|
|
1381
|
+
BentoDataGridConfigSettingsConfigRow: To,
|
|
1382
|
+
BentoSearchBar: _s,
|
|
1383
|
+
BentoSearchIcon: ms,
|
|
1384
|
+
BentoToggle: Mt,
|
|
1385
|
+
BentoTypography: Se
|
|
1402
1386
|
},
|
|
1403
|
-
directives: { BentoClickOutsideDirective:
|
|
1387
|
+
directives: { BentoClickOutsideDirective: Cs },
|
|
1404
1388
|
props: {
|
|
1405
1389
|
/**
|
|
1406
1390
|
* Column definitions
|
|
@@ -1430,11 +1414,11 @@ const Do = Io.exports, xo = {
|
|
|
1430
1414
|
_e.UPDATE_ZEBRA_ROWS
|
|
1431
1415
|
],
|
|
1432
1416
|
setup(s, { emit: t }) {
|
|
1433
|
-
const { t: n } = he(), e = p(null), o = Ie("data-grid-config-settings-popover"), l = p(null), a = p(!1), i = p(!0), _ = p(null), g = p(""), w = $e(s, "columns"), m = p(!1), E =
|
|
1417
|
+
const { t: n } = he(), e = p(null), o = Ie("data-grid-config-settings-popover"), l = p(null), a = p(!1), i = p(!0), _ = p(null), g = p(""), w = $e(s, "columns"), m = p(!1), E = vs(g, w), b = () => {
|
|
1434
1418
|
g.value = "";
|
|
1435
1419
|
}, u = v(
|
|
1436
1420
|
() => !s.columns.some((f) => f.visible === !1 && !f.mandatory)
|
|
1437
|
-
),
|
|
1421
|
+
), y = () => {
|
|
1438
1422
|
b(), m.value = !m.value, m.value ? le(() => {
|
|
1439
1423
|
var f;
|
|
1440
1424
|
return (f = l.value.$refs.bentoInputField) == null ? void 0 : f.focusInput();
|
|
@@ -1462,7 +1446,7 @@ const Do = Io.exports, xo = {
|
|
|
1462
1446
|
frozen: f.field === T.field ? !!(f != null && f.frozen) : !!(T != null && T.frozen)
|
|
1463
1447
|
}));
|
|
1464
1448
|
t(_e.UPDATE_COLUMNS, R);
|
|
1465
|
-
},
|
|
1449
|
+
}, A = (f) => {
|
|
1466
1450
|
a.value = f, i.value = u.value;
|
|
1467
1451
|
};
|
|
1468
1452
|
return {
|
|
@@ -1478,14 +1462,14 @@ const Do = Io.exports, xo = {
|
|
|
1478
1462
|
searchButtonRef: _,
|
|
1479
1463
|
DATAGRID_ACTIONS_COLUMN_FIELD_NAME: oe,
|
|
1480
1464
|
// Methods
|
|
1481
|
-
setConfigSettingsPanelVisibility:
|
|
1465
|
+
setConfigSettingsPanelVisibility: A,
|
|
1482
1466
|
emitCondensedToggle: (f) => t(_e.UPDATE_CONDENSED, f),
|
|
1483
1467
|
toggleAllColumnVisibility: S,
|
|
1484
1468
|
clearAction: b,
|
|
1485
|
-
toggleColumnFilter:
|
|
1469
|
+
toggleColumnFilter: y,
|
|
1486
1470
|
emitVisibleColumns: F,
|
|
1487
1471
|
emitFrozenColumns: d,
|
|
1488
|
-
onClickOutside: () =>
|
|
1472
|
+
onClickOutside: () => A(!1),
|
|
1489
1473
|
isColumnVisibilityToggleDisabled: L,
|
|
1490
1474
|
emitZebraRowsToggle: (f) => t(_e.UPDATE_ZEBRA_ROWS, f),
|
|
1491
1475
|
// Translations
|
|
@@ -1493,7 +1477,7 @@ const Do = Io.exports, xo = {
|
|
|
1493
1477
|
};
|
|
1494
1478
|
}
|
|
1495
1479
|
});
|
|
1496
|
-
var
|
|
1480
|
+
var Io = function() {
|
|
1497
1481
|
var t = this, n = t._self._c;
|
|
1498
1482
|
return t._self._setupProxy, n("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: t.onClickOutside, expression: "onClickOutside" }], staticClass: "b-data-grid-config-settings" }, [n("div", { staticClass: "b-data-grid-config-settings__button-and-separator" }, [n("div", { ref: "configSettingsButtonRef", staticClass: "b-data-grid-config-settings__button-container" }, [n("bento-toggle-button", { attrs: { "aria-controls": t.isConfigSettingsPanelOpen ? t.popoverId : null, variant: "tertiary", condensed: "", toggled: t.isConfigSettingsPanelOpen }, on: { click: function(e) {
|
|
1499
1483
|
return t.setConfigSettingsPanelVisibility(!t.isConfigSettingsPanelOpen);
|
|
@@ -1512,15 +1496,15 @@ var Bo = function() {
|
|
|
1512
1496
|
}, clear: t.clearAction, "escape-pressed": t.toggleColumnFilter } })], 1) : n("div", { staticClass: "b-data-grid-config-settings__column-visibility-show-all" }, [n("bento-toggle", { attrs: { "label-position": "after", value: t.allColumnsVisbilityToggleState }, on: { input: t.toggleAllColumnVisibility } }, [t._v(" " + t._s(t.t("showAllColumns", { numberOfColumns: t.columns.length })) + " ")])], 1), n("div", { staticClass: "b-data-grid-config-settings__column-visibility-toggles" }, [t._l(t.filteredColumnVisibilityColumns, function(e) {
|
|
1513
1497
|
return n("div", { key: e.field }, [e.field !== t.DATAGRID_ACTIONS_COLUMN_FIELD_NAME ? n("bento-data-grid-config-settings-config-row", { attrs: { column: e, "is-column-visibility-toggle-disabled": t.isColumnVisibilityToggleDisabled(e) }, on: { "visible-column": t.emitVisibleColumns, "updated-column": t.emitFrozenColumns } }) : t._e()], 1);
|
|
1514
1498
|
}), t.filteredColumnVisibilityColumns.length === 0 ? n("bento-typography", { staticClass: "b-data-grid-config-settings__column-visibility-empty-search-message", attrs: { el: "span" } }, [t._v(" " + t._s(t.t("noColumnsMatch")) + " ")]) : t._e()], 2)])]) : t._e()], 1);
|
|
1515
|
-
},
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1499
|
+
}, Do = [], xo = /* @__PURE__ */ q(
|
|
1500
|
+
No,
|
|
1501
|
+
Io,
|
|
1502
|
+
Do,
|
|
1519
1503
|
!1,
|
|
1520
1504
|
null,
|
|
1521
1505
|
"0e477266"
|
|
1522
1506
|
);
|
|
1523
|
-
const
|
|
1507
|
+
const Fo = xo.exports, kt = {
|
|
1524
1508
|
"en-US": {
|
|
1525
1509
|
filterBar: "Filters",
|
|
1526
1510
|
gettingYourData: "Getting your data",
|
|
@@ -1557,10 +1541,10 @@ const Po = Uo.exports, Wt = {
|
|
|
1557
1541
|
sortDescending: "{field} ordenar em ordem decrescente",
|
|
1558
1542
|
sortInactive: "{field} ordenação inativa"
|
|
1559
1543
|
}
|
|
1560
|
-
},
|
|
1561
|
-
i18n: { messages:
|
|
1562
|
-
},
|
|
1563
|
-
|
|
1544
|
+
}, Bo = {
|
|
1545
|
+
i18n: { messages: kt }
|
|
1546
|
+
}, Mo = /* @__PURE__ */ de({
|
|
1547
|
+
...Bo,
|
|
1564
1548
|
__name: "data-grid-lazy-load",
|
|
1565
1549
|
props: {
|
|
1566
1550
|
loading: { type: Boolean },
|
|
@@ -1571,38 +1555,38 @@ const Po = Uo.exports, Wt = {
|
|
|
1571
1555
|
return { __sfc: !0, t, BentoLoadingButton: ss, BentoLoadingButtonState: ns, BentoLoadingIndicator: He, BentoDatagridEvent: N };
|
|
1572
1556
|
}
|
|
1573
1557
|
});
|
|
1574
|
-
var
|
|
1558
|
+
var Uo = function() {
|
|
1575
1559
|
var t = this, n = t._self._c, e = t._self._setupProxy;
|
|
1576
1560
|
return n("div", { staticClass: "b-data-grid-lazy-load" }, [t.loading && t.isInfiniteScroll ? n(e.BentoLoadingIndicator) : t._e(), t.loading && !t.isInfiniteScroll ? n(e.BentoLoadingButton, { attrs: { variant: "secondary", state: e.BentoLoadingButtonState.LOADING } }, [t._v(t._s(e.t("loading")))]) : t._e(), !t.loading && !t.isInfiniteScroll ? n(e.BentoLoadingButton, { attrs: { state: e.BentoLoadingButtonState.START, variant: "secondary" }, on: { click: function(o) {
|
|
1577
1561
|
return t.$emit(e.BentoDatagridEvent.UPDATE_SHOW_MORE);
|
|
1578
1562
|
} } }, [t._v(t._s(e.t("showMore")))]) : t._e()], 1);
|
|
1579
|
-
},
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1563
|
+
}, Po = [], $o = /* @__PURE__ */ q(
|
|
1564
|
+
Mo,
|
|
1565
|
+
Uo,
|
|
1566
|
+
Po,
|
|
1583
1567
|
!1,
|
|
1584
1568
|
null,
|
|
1585
1569
|
"fd9b8204"
|
|
1586
1570
|
);
|
|
1587
|
-
const
|
|
1588
|
-
let
|
|
1589
|
-
const
|
|
1571
|
+
const zo = $o.exports;
|
|
1572
|
+
let Rt = 0;
|
|
1573
|
+
const ko = {
|
|
1590
1574
|
beforeCreate() {
|
|
1591
|
-
this.uuid =
|
|
1575
|
+
this.uuid = Rt.toString(), Rt += 1;
|
|
1592
1576
|
}
|
|
1593
1577
|
};
|
|
1594
|
-
var
|
|
1578
|
+
var Wo = function() {
|
|
1595
1579
|
var t = this, n = t._self._c;
|
|
1596
1580
|
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("path", { attrs: { fill: "#001222", d: "M9.38867 2.21717C10.4626 1.14323 12.2044 1.14323 13.2783 2.21717L13.7832 2.72205C14.857 3.79601 14.8571 5.53782 13.7832 6.6117L5.64355 14.7504H1.25V10.3558L9.38867 2.21717ZM2.75 10.9769V13.2504H5.02246L11.2715 6.9994L8.99902 4.72693L2.75 10.9769ZM12.2168 3.27772C11.7286 2.78987 10.9373 2.78967 10.4492 3.27772L10.0596 3.66639L12.332 5.93885L12.7217 5.55018C13.2098 5.06203 13.2098 4.27076 12.7217 3.7826L12.2168 3.27772Z" } })]);
|
|
1597
|
-
},
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1581
|
+
}, Go = [], Ho = /* @__PURE__ */ q(
|
|
1582
|
+
ko,
|
|
1583
|
+
Wo,
|
|
1584
|
+
Go,
|
|
1601
1585
|
!1,
|
|
1602
1586
|
null,
|
|
1603
1587
|
null
|
|
1604
1588
|
);
|
|
1605
|
-
const
|
|
1589
|
+
const Et = Ho.exports, Vo = {
|
|
1606
1590
|
"en-US": {
|
|
1607
1591
|
copy: "Copy",
|
|
1608
1592
|
edit: "Edit",
|
|
@@ -1621,11 +1605,11 @@ const Lt = qo.exports, Yo = {
|
|
|
1621
1605
|
more: "Mais",
|
|
1622
1606
|
open: "Aberto"
|
|
1623
1607
|
}
|
|
1624
|
-
},
|
|
1625
|
-
i18n: { messages:
|
|
1608
|
+
}, Zo = {
|
|
1609
|
+
i18n: { messages: Vo },
|
|
1626
1610
|
name: "data-grid-cell-actions"
|
|
1627
|
-
},
|
|
1628
|
-
...
|
|
1611
|
+
}, jo = /* @__PURE__ */ de({
|
|
1612
|
+
...Zo,
|
|
1629
1613
|
props: {
|
|
1630
1614
|
/**
|
|
1631
1615
|
* Column definitions using 'key' to relate to data object.
|
|
@@ -1714,7 +1698,7 @@ const Lt = qo.exports, Yo = {
|
|
|
1714
1698
|
case "copy":
|
|
1715
1699
|
return dt;
|
|
1716
1700
|
case "edit":
|
|
1717
|
-
return
|
|
1701
|
+
return Et;
|
|
1718
1702
|
case "open":
|
|
1719
1703
|
return ct;
|
|
1720
1704
|
default:
|
|
@@ -1735,8 +1719,8 @@ const Lt = qo.exports, Yo = {
|
|
|
1735
1719
|
return typeof d == "function";
|
|
1736
1720
|
}
|
|
1737
1721
|
const E = v(() => {
|
|
1738
|
-
var
|
|
1739
|
-
const d = m(n.cellActions) ? (
|
|
1722
|
+
var A;
|
|
1723
|
+
const d = m(n.cellActions) ? (A = n.cellActions) == null ? void 0 : A.call(n, n.rowDataItem, n.columnKey) : n.cellActions;
|
|
1740
1724
|
if (o.value && !i.value && d) {
|
|
1741
1725
|
const O = [];
|
|
1742
1726
|
return d.forEach((D) => {
|
|
@@ -1758,11 +1742,11 @@ const Lt = qo.exports, Yo = {
|
|
|
1758
1742
|
}
|
|
1759
1743
|
];
|
|
1760
1744
|
}
|
|
1761
|
-
return !o.value && (d == null ? void 0 : d.length) > 2 &&
|
|
1745
|
+
return !o.value && (d == null ? void 0 : d.length) > 2 && It(
|
|
1762
1746
|
"WARNING: BentoDataGrid Cell actions can only have a maximum of 2 actions, if you need more consider using the menuData property instead."
|
|
1763
1747
|
), d == null ? void 0 : d.slice(0, 2);
|
|
1764
|
-
}), b = v(() => (d,
|
|
1765
|
-
if (!(!
|
|
1748
|
+
}), b = v(() => (d, A) => {
|
|
1749
|
+
if (!(!A && d.isShort || A && !d.isShort))
|
|
1766
1750
|
switch (d.variant) {
|
|
1767
1751
|
case "copy":
|
|
1768
1752
|
return e("copy");
|
|
@@ -1776,25 +1760,25 @@ const Lt = qo.exports, Yo = {
|
|
|
1776
1760
|
return d.title;
|
|
1777
1761
|
}
|
|
1778
1762
|
}), u = (d) => (d == null ? void 0 : d.event) !== void 0 ? {
|
|
1779
|
-
click: (
|
|
1780
|
-
|
|
1763
|
+
click: (A) => {
|
|
1764
|
+
A.stopPropagation(), d.event(n.rowDataItem, n.columnKey);
|
|
1781
1765
|
}
|
|
1782
|
-
} : {},
|
|
1766
|
+
} : {}, y = (d) => ({
|
|
1783
1767
|
...d,
|
|
1784
1768
|
handler: () => {
|
|
1785
1769
|
d != null && d.handler && typeof d.handler == "function" && (d == null || d.handler()), d != null && d.event && typeof d.event == "function" && (d == null || d.event(n.rowDataItem, n.columnKey));
|
|
1786
1770
|
}
|
|
1787
|
-
}), L = (d) => d.map((
|
|
1788
|
-
const O =
|
|
1789
|
-
return O != null && O.items && (O.items = L(O.items)), { ...
|
|
1771
|
+
}), L = (d) => d.map((A) => {
|
|
1772
|
+
const O = A;
|
|
1773
|
+
return O != null && O.items && (O.items = L(O.items)), { ...y(O) };
|
|
1790
1774
|
});
|
|
1791
|
-
return { __sfc: !0, t: e, props: n, emit: t, isTouchDevice: o, getMenuItemText: l, getMenuItemIcon: a, isRowActions: i, conditionalCellActionsBackgroundGradientClasses: _, conditionalCellActionsClasses: g, showGradientElement: w, isBentoColumnCellActionsByCellValueDataFn: m, computedCellActions: E, getButtonTitle: b, generateButtonEvents: u, generateMenuEvents:
|
|
1792
|
-
var
|
|
1793
|
-
return (d == null ? void 0 : d.getCopyData) !== void 0 ? d.getCopyData(n.rowDataItem, n.columnKey) : n.columnKey ? (O = (
|
|
1794
|
-
}, shouldShowMenuIconLeft: (d) => d.iconLeft || (d == null ? void 0 : d.variant) === "more", BentoButton: Ft, BentoMenu: Bt, Copy: dt, Edit1Icon:
|
|
1775
|
+
return { __sfc: !0, t: e, props: n, emit: t, isTouchDevice: o, getMenuItemText: l, getMenuItemIcon: a, isRowActions: i, conditionalCellActionsBackgroundGradientClasses: _, conditionalCellActionsClasses: g, showGradientElement: w, isBentoColumnCellActionsByCellValueDataFn: m, computedCellActions: E, getButtonTitle: b, generateButtonEvents: u, generateMenuEvents: y, transformMenuEvents: L, getCopyText: (d) => {
|
|
1776
|
+
var A, O;
|
|
1777
|
+
return (d == null ? void 0 : d.getCopyData) !== void 0 ? d.getCopyData(n.rowDataItem, n.columnKey) : n.columnKey ? (O = (A = n.rowDataItem) == null ? void 0 : A[n.columnKey]) == null ? void 0 : O.toString() : "";
|
|
1778
|
+
}, shouldShowMenuIconLeft: (d) => d.iconLeft || (d == null ? void 0 : d.variant) === "more", BentoButton: Ft, BentoMenu: Bt, Copy: dt, Edit1Icon: Et, ExternalLinkIcon: ct, OptionsVerticalIcon: rt };
|
|
1795
1779
|
}
|
|
1796
1780
|
});
|
|
1797
|
-
var
|
|
1781
|
+
var qo = function() {
|
|
1798
1782
|
var t = this, n = t._self._c, e = t._self._setupProxy;
|
|
1799
1783
|
return n("Transition", { attrs: { name: "b-data-grid-cell-actions__animation", appear: "" } }, [n("div", { staticClass: "b-data-grid-cell-actions" }, [e.showGradientElement && !e.isTouchDevice ? n("div", { staticClass: "b-data-grid-cell-actions__background-gradient", class: e.conditionalCellActionsBackgroundGradientClasses }) : t._e(), n("div", { staticClass: "b-data-grid-cell-actions__actions", class: e.conditionalCellActionsClasses, attrs: { role: "group" } }, t._l(e.computedCellActions, function(o, l) {
|
|
1800
1784
|
return n("div", { key: l, staticClass: "b-data-grid-cell-actions__action" }, [o.menuData ? n(e.BentoMenu, { attrs: { data: e.transformMenuEvents(o.menuData), button: {
|
|
@@ -1822,20 +1806,20 @@ var Xo = function() {
|
|
|
1822
1806
|
return [(o == null ? void 0 : o.variant) === "open" ? n(e.ExternalLinkIcon, { attrs: { "svg-title": e.getButtonTitle(o, !0) } }) : n(o.iconRight, { tag: "component", attrs: { "svg-title": o.title } })];
|
|
1823
1807
|
}, proxy: !0 } : null], null, !0) }, e.generateButtonEvents(o)))], 1);
|
|
1824
1808
|
}), 0)])]);
|
|
1825
|
-
},
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1809
|
+
}, Yo = [], Jo = /* @__PURE__ */ q(
|
|
1810
|
+
jo,
|
|
1811
|
+
qo,
|
|
1812
|
+
Yo,
|
|
1829
1813
|
!1,
|
|
1830
1814
|
null,
|
|
1831
1815
|
"b4facd10"
|
|
1832
1816
|
);
|
|
1833
|
-
const
|
|
1817
|
+
const Wt = Jo.exports;
|
|
1834
1818
|
var Q = /* @__PURE__ */ ((s) => (s.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED = "action-col-nested-content-and-selection-enabled", s.ACTION_COL_NESTED_CONTENT_ENABLED = "action-col-nested-content-enabled", s.ACTION_COL_SELECTION_ENABLED = "action-col-selection-enabled", s.COLUMN_HOVERED = "column-hovered", s.COLUMN_HOVERED_NO_BORDER_LEFT = "column-hovered-no-border-left", s.COLUMN_HOVERED_NO_BORDER_RIGHT = "column-hovered-no-border-right", s.CONDENSED = "condensed", s.FROZEN = "frozen", s.IS_COLUMN_REORDERING = "is-column-re-ordering", s.IS_COLUMN_REORDERING_TARGET_LEFT = "is-column-re-order-target-left", s.IS_COLUMN_REORDERING_TARGET_RIGHT = "is-column-re-order-target-right", s.LAST_FROZEN_COLUMN_CELL = "last-frozen-column-cell", s.NESTED_CONTENT_ENABLED = "nested-content-toggle-enabled", s.NUMERIC = "numeric", s.OVERFLOW_ELLIPSIS = "overflow-ellipsis", s.PADDING_LEFT_UNSET = "padding-left-unset", s.PADDING_RIGHT_UNSET = "padding-right-unset", s.SLASHED_ZERO = "slashed-zero", s))(Q || {});
|
|
1835
|
-
const
|
|
1819
|
+
const Lt = () => {
|
|
1836
1820
|
const s = document.activeElement;
|
|
1837
1821
|
return s ? s.matches(":focus-visible") || s.matches(".focus-visible") : !1;
|
|
1838
|
-
},
|
|
1822
|
+
}, Ko = {
|
|
1839
1823
|
"en-US": {
|
|
1840
1824
|
collapseNestedContent: "Collapse nested content",
|
|
1841
1825
|
expandNestedContent: "Expand nested content",
|
|
@@ -1851,11 +1835,11 @@ const At = () => {
|
|
|
1851
1835
|
expandNestedContent: "Expandir conteúdo aninhado",
|
|
1852
1836
|
selectRow: "Selecionar linha"
|
|
1853
1837
|
}
|
|
1854
|
-
},
|
|
1855
|
-
i18n: { messages:
|
|
1838
|
+
}, Xo = {
|
|
1839
|
+
i18n: { messages: Ko },
|
|
1856
1840
|
name: "data-grid-cell"
|
|
1857
|
-
},
|
|
1858
|
-
...
|
|
1841
|
+
}, Qo = /* @__PURE__ */ de({
|
|
1842
|
+
...Xo,
|
|
1859
1843
|
props: {
|
|
1860
1844
|
draggingEventsForRowCell: {
|
|
1861
1845
|
type: Function,
|
|
@@ -2001,14 +1985,14 @@ const At = () => {
|
|
|
2001
1985
|
const e = s, o = Ge(), l = Ve(o), { t: a } = he(), i = p(null), _ = p(null), g = p(!1), w = p([]), m = p(!1), E = p(), b = p(!1), u = v(() => {
|
|
2002
1986
|
var C;
|
|
2003
1987
|
return !!((C = e.rowData) != null && C[e.column.field]);
|
|
2004
|
-
}),
|
|
1988
|
+
}), y = v(
|
|
2005
1989
|
() => {
|
|
2006
1990
|
var C;
|
|
2007
1991
|
return e.column.field === oe && ((C = e.nestedRowsElementIds) == null ? void 0 : C.length) > 0 ? e.nestedRowsElementIds.join(" ") : void 0;
|
|
2008
1992
|
}
|
|
2009
1993
|
), L = v(
|
|
2010
1994
|
() => e.column.field === oe && !e.selectable && !e.nestedContent
|
|
2011
|
-
), F = v(() => !L.value && (D(e.rowIndex, e.colIndex, e.columnSetIndex) === 0 && !b.value || m.value) ? "0" : (e.column.field === oe, "-1")), S = (C, $) => (C == null ? void 0 : C.overflow) === ze.ELLIPSIS ? `${$}` : void 0, d = (C) => C ?? "-",
|
|
1995
|
+
), F = v(() => !L.value && (D(e.rowIndex, e.colIndex, e.columnSetIndex) === 0 && !b.value || m.value) ? "0" : (e.column.field === oe, "-1")), S = (C, $) => (C == null ? void 0 : C.overflow) === ze.ELLIPSIS ? `${$}` : void 0, d = (C) => C ?? "-", A = (C) => e.columnSets.slice(0, C).reduce(($, { columnSet: W }) => $ + W.length, 0), O = (C, $) => C + A($), D = (C, $, W) => A() * C + O($, W), r = (C) => {
|
|
2012
1996
|
var $;
|
|
2013
1997
|
(C === null || !i.value.contains(C) && !(($ = w.value) != null && $.map((W) => W.value).some((W) => W === C || (W == null ? void 0 : W.contains(C))))) && (g.value = !1);
|
|
2014
1998
|
}, f = () => {
|
|
@@ -2018,17 +2002,17 @@ const At = () => {
|
|
|
2018
2002
|
...e.draggingEventsForRowCell(C),
|
|
2019
2003
|
// Focus on the first interactive child in the grid cell if one exists
|
|
2020
2004
|
focus: async () => {
|
|
2021
|
-
if (!
|
|
2005
|
+
if (!Lt())
|
|
2022
2006
|
return;
|
|
2023
2007
|
m.value = !0, b.value = !0, n("cell-focus", {
|
|
2024
2008
|
rowData: e.rowData,
|
|
2025
2009
|
column: e.column,
|
|
2026
2010
|
rowIndex: e.rowIndex,
|
|
2027
2011
|
colIndex: O(e.colIndex, e.columnSetIndex)
|
|
2028
|
-
}),
|
|
2012
|
+
}), Pt(E.value), await le(), qe(i.value) && (R.value = !0);
|
|
2029
2013
|
},
|
|
2030
2014
|
focusout: () => {
|
|
2031
|
-
|
|
2015
|
+
Lt() && (R.value = !1);
|
|
2032
2016
|
},
|
|
2033
2017
|
keydown: (z) => {
|
|
2034
2018
|
z.key !== ce.TAB && (R.value = !1, m.value = !1, we(i.value));
|
|
@@ -2046,7 +2030,7 @@ const At = () => {
|
|
|
2046
2030
|
$.focusout(z), r(z == null ? void 0 : z.relatedTarget);
|
|
2047
2031
|
}), W;
|
|
2048
2032
|
};
|
|
2049
|
-
|
|
2033
|
+
Re(() => {
|
|
2050
2034
|
E.value = we(i.value);
|
|
2051
2035
|
});
|
|
2052
2036
|
const B = () => {
|
|
@@ -2067,8 +2051,8 @@ const At = () => {
|
|
|
2067
2051
|
registerMenuContainerElement: M,
|
|
2068
2052
|
menuMouseLeave: k
|
|
2069
2053
|
});
|
|
2070
|
-
const K = me(
|
|
2071
|
-
|
|
2054
|
+
const K = me(zt, p(!1)), Y = me(
|
|
2055
|
+
Ae,
|
|
2072
2056
|
v(() => !1)
|
|
2073
2057
|
), ee = me(De, p(!1)), G = (C) => {
|
|
2074
2058
|
var $, W, z, Ce, ue, ie, c;
|
|
@@ -2097,10 +2081,10 @@ const At = () => {
|
|
|
2097
2081
|
}));
|
|
2098
2082
|
return t({
|
|
2099
2083
|
gridcellRef: i
|
|
2100
|
-
}), { __sfc: !0, slots: o, hasSlot: l, t: a, props: e, emit: n, gridcellRef: i, cellActionsRef: _, shouldShowCellActions: g, childrenMenuContainerElements: w, isFocused: m, focusableItems: E, hasEverBeenFocused: b, hasRowData: u, controlledNestedRowElementIds:
|
|
2084
|
+
}), { __sfc: !0, slots: o, hasSlot: l, t: a, props: e, emit: n, gridcellRef: i, cellActionsRef: _, shouldShowCellActions: g, childrenMenuContainerElements: w, isFocused: m, focusableItems: E, hasEverBeenFocused: b, hasRowData: u, controlledNestedRowElementIds: y, ariaHidden: L, tabIndex: F, conditionalTitleAttribute: S, getRowData: d, sumColumnAmountsInColumnSets: A, getColIndex: O, getCellIndex: D, isLeavingCellFocus: r, onMenuClose: f, hasInteractiveElFocusedInside: R, getGridcellEvents: T, toggleNestedContent: B, registerMenuContainerElement: M, menuMouseLeave: k, hasSlashedZero: K, isSmallContainer: Y, isTouchDevice: ee, conditionalRowCellClasses: G, computedCellContentClasses: P, DATAGRID_ACTIONS_COLUMN_FIELD_NAME: oe, BentoCheckbox: xt, BentoTypography: Se, BentoToggleButton: je, DataGridCellActions: Wt, ChevronDownIcon: ls, ChevronUpIcon: as };
|
|
2101
2085
|
}
|
|
2102
2086
|
});
|
|
2103
|
-
var
|
|
2087
|
+
var el = function() {
|
|
2104
2088
|
var o;
|
|
2105
2089
|
var t = this, n = t._self._c, e = t._self._setupProxy;
|
|
2106
2090
|
return n("div", t._g({ key: `cell-${t.column.field}`, ref: "gridcellRef", staticClass: "b-data-grid-cell", class: e.conditionalRowCellClasses(t.column), style: {
|
|
@@ -2112,18 +2096,18 @@ var ol = function() {
|
|
|
2112
2096
|
}, proxy: !0 }], null, !1, 1879847906) })] : t._e()] : [n(e.BentoTypography, { staticClass: "b-data-grid-cell__cell-content", class: e.computedCellContentClasses, attrs: { el: "div", "data-testid": "cell-content" } }, [t._t(`item-${t.column.field}`, function() {
|
|
2113
2097
|
return [n("span", { attrs: { title: e.conditionalTitleAttribute(t.column, t.rowData[t.column.field]) } }, [t._v(t._s(e.getRowData(t.rowData[t.column.field])))])];
|
|
2114
2098
|
}, { item: t.rowData, rowIndex: t.rowIndex })], 2), ((o = t.column.cellActions) == null ? void 0 : o.length) > 0 ? n("div", { staticClass: "b-data-grid-cell__cell-actions" }, [(e.shouldShowCellActions || e.isTouchDevice) && (e.hasRowData || e.hasSlot(`item-${t.column.field}`)) ? n(e.DataGridCellActions, { ref: "cellActionsRef", attrs: { "cell-actions": t.column.cellActions, "column-key": t.column.field, "row-data-item": t.rowData, "has-zebra-background": t.hasZebraBackground, "is-highlighted": t.isHighlighted, "is-selected": t.isSelected, "teleport-menu": "" }, on: { "menu-item-click": e.onMenuClose } }) : t._e()], 1) : t._e()]], 2);
|
|
2115
|
-
},
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2099
|
+
}, tl = [], nl = /* @__PURE__ */ q(
|
|
2100
|
+
Qo,
|
|
2101
|
+
el,
|
|
2102
|
+
tl,
|
|
2119
2103
|
!1,
|
|
2120
2104
|
null,
|
|
2121
2105
|
"43492ebb"
|
|
2122
2106
|
);
|
|
2123
|
-
const
|
|
2107
|
+
const sl = nl.exports, ol = {
|
|
2124
2108
|
name: "data-grid-row"
|
|
2125
|
-
},
|
|
2126
|
-
...
|
|
2109
|
+
}, ll = /* @__PURE__ */ de({
|
|
2110
|
+
...ol,
|
|
2127
2111
|
props: {
|
|
2128
2112
|
/**
|
|
2129
2113
|
* Row actions property that generates which button to show in row actions area
|
|
@@ -2332,7 +2316,7 @@ const il = al.exports, rl = {
|
|
|
2332
2316
|
emits: ["cell-hovered", "on-frozen-columns-key-press", "select-row", "select-nested-row", "row-click", "nested-content-toggled", "cell-focus"],
|
|
2333
2317
|
setup(s, { expose: t, emit: n }) {
|
|
2334
2318
|
const e = s, o = Ge(), l = Ve(o), a = p({}), i = p(!1), _ = p(), g = p(), w = Ie("nested-content-slot"), m = p(!1), E = p();
|
|
2335
|
-
|
|
2319
|
+
Re(() => {
|
|
2336
2320
|
g.value && (E.value = we(g.value));
|
|
2337
2321
|
});
|
|
2338
2322
|
const b = v(() => e.shouldShowNestedRows(e.rowData)), u = v(
|
|
@@ -2340,7 +2324,7 @@ const il = al.exports, rl = {
|
|
|
2340
2324
|
var h, x;
|
|
2341
2325
|
return !e.isNestedRow && e.hasNestedRows && b.value && ((x = (h = e.rowData) == null ? void 0 : h.children) == null ? void 0 : x.length) > 0;
|
|
2342
2326
|
}
|
|
2343
|
-
),
|
|
2327
|
+
), y = v(
|
|
2344
2328
|
() => {
|
|
2345
2329
|
var h, x;
|
|
2346
2330
|
return !e.isNestedRow && e.hasNestedRows && b.value && (((h = e.rowData) == null ? void 0 : h.children) === void 0 || ((x = e == null ? void 0 : e.rowData) == null ? void 0 : x.children.length) === 0);
|
|
@@ -2359,7 +2343,7 @@ const il = al.exports, rl = {
|
|
|
2359
2343
|
}
|
|
2360
2344
|
return { "aria-rowindex": e.rowIndex + 1 };
|
|
2361
2345
|
}), S = v(() => {
|
|
2362
|
-
if (
|
|
2346
|
+
if (y.value)
|
|
2363
2347
|
return {
|
|
2364
2348
|
"aria-busy": "true",
|
|
2365
2349
|
"aria-live": "polite"
|
|
@@ -2376,7 +2360,7 @@ const il = al.exports, rl = {
|
|
|
2376
2360
|
}), d = v(() => {
|
|
2377
2361
|
var h, x;
|
|
2378
2362
|
return u.value ? (x = (h = e.rowData) == null ? void 0 : h.children) == null ? void 0 : x.reduce((H, te, re) => (H[re] = Ie("nested-row"), H), {}) : [];
|
|
2379
|
-
}),
|
|
2363
|
+
}), A = v(() => {
|
|
2380
2364
|
var h;
|
|
2381
2365
|
if (i.value) {
|
|
2382
2366
|
if (e.hasNestedContent && e.shouldShowNestedContent(e.rowData))
|
|
@@ -2432,7 +2416,7 @@ const il = al.exports, rl = {
|
|
|
2432
2416
|
m.value = !1;
|
|
2433
2417
|
}, K = () => {
|
|
2434
2418
|
var h;
|
|
2435
|
-
|
|
2419
|
+
Pt([(h = E.value) == null ? void 0 : h[0]]), qe(g.value);
|
|
2436
2420
|
}, Y = () => {
|
|
2437
2421
|
we(g.value);
|
|
2438
2422
|
}, ee = (h) => {
|
|
@@ -2442,7 +2426,7 @@ const il = al.exports, rl = {
|
|
|
2442
2426
|
var h;
|
|
2443
2427
|
if (e.hasNestedContent || e.hasNestedRows)
|
|
2444
2428
|
return {
|
|
2445
|
-
paddingLeft: `${u.value ||
|
|
2429
|
+
paddingLeft: `${u.value || y.value ? 0 : a.value[oe].offsetWidth + Ut}px`,
|
|
2446
2430
|
"max-height": (e.hasNestedContent || e.hasNestedRows) && $.value && !((h = $ == null ? void 0 : $.value) != null && h.includes("null")) ? $.value : 0
|
|
2447
2431
|
};
|
|
2448
2432
|
});
|
|
@@ -2469,7 +2453,7 @@ const il = al.exports, rl = {
|
|
|
2469
2453
|
}
|
|
2470
2454
|
);
|
|
2471
2455
|
const Ce = me(
|
|
2472
|
-
|
|
2456
|
+
Ae,
|
|
2473
2457
|
v(() => !1)
|
|
2474
2458
|
), ue = (h) => e.highlightedRows.includes(e.getDataItemId(h)), ie = (h) => e.selectedItems.includes(e.getDataItemId(h)), c = (h, x) => ({
|
|
2475
2459
|
"b-data-grid-row-container__row--disabled": e.isDataItemDisabled(h),
|
|
@@ -2497,10 +2481,10 @@ const il = al.exports, rl = {
|
|
|
2497
2481
|
return t({
|
|
2498
2482
|
gridcellRefs: a,
|
|
2499
2483
|
rowActionsRef: g
|
|
2500
|
-
}), { __sfc: !0, slots: o, hasSlot: l, props: e, emit: n, gridcellRefs: a, isNestedContentShown: i, nestedContentRef: _, rowActionsRef: g, nestedContentSlotId: w, isRowActionMenuOpen: m, focusableItems: E, shouldShowNestedRowsBooleanResult: b, shouldShowRenderNestedRows: u, isLoadingNestedRows:
|
|
2484
|
+
}), { __sfc: !0, slots: o, hasSlot: l, props: e, emit: n, gridcellRefs: a, isNestedContentShown: i, nestedContentRef: _, rowActionsRef: g, nestedContentSlotId: w, isRowActionMenuOpen: m, focusableItems: E, shouldShowNestedRowsBooleanResult: b, shouldShowRenderNestedRows: u, isLoadingNestedRows: y, shouldShowNestedContentToggle: L, ariaRowAttributes: F, nestedContentContainerDivAriaAttributes: S, nestedRowIds: d, allNestedRowIds: A, hasUnSelectedNestedRows: O, registerRowCellRef: D, getRowId: r, getRowAriaSelectedValue: f, onRowClick: R, onRowSelect: T, onNestedRowSelect: B, onRowActionMenuOpen: M, onRowActionMenuClose: k, onRowActionsCellFocus: K, onRowActionsCellFocusOut: Y, onRowActionsCellOnKeyDown: ee, sumColumnAmountsInColumnSets: G, getRowActionsCellIndex: P, updateContentHeight: C, contentHeight: $, nestedContentStyles: W, nestedContentToggled: z, isSmallContainer: Ce, isHighlightedRow: ue, isSelectedRow: ie, conditionalRowClasses: c, conditionalRowSetClasses: U, conditionalNestedRowClasses: X, conditionalRowActionsContainerClasses: ne, computedRowActionsStyles: pe, BentoLoadingIndicator: He, DataGridRow: Gt, DataGridCell: sl, DataGridCellActions: Wt };
|
|
2501
2485
|
}
|
|
2502
2486
|
});
|
|
2503
|
-
var
|
|
2487
|
+
var al = function() {
|
|
2504
2488
|
var o;
|
|
2505
2489
|
var t = this, n = t._self._c, e = t._self._setupProxy;
|
|
2506
2490
|
return n("div", { staticClass: "b-data-grid-row-container", attrs: { role: "presentation" } }, [n("div", t._b({ key: t.rowIndex, staticClass: "b-data-grid-row-container__row", class: e.conditionalRowClasses(t.rowData, t.rowIndex), attrs: { id: (o = t.rowId) == null ? void 0 : o.toString(), role: "row", "aria-selected": e.getRowAriaSelectedValue(t.rowData) }, on: { click: e.onRowClick, keyup: [function(l) {
|
|
@@ -2538,34 +2522,34 @@ var dl = function() {
|
|
|
2538
2522
|
} };
|
|
2539
2523
|
})], null, !0) }, "data-grid-row", e.props, !1));
|
|
2540
2524
|
})], 2)]) : e.isNestedContentShown ? n("div", t._b({ class: e.conditionalNestedRowClasses, style: e.nestedContentStyles, attrs: { "data-testid": "nested-content-container", role: "row", tabindex: "-1" } }, "div", e.nestedContentContainerDivAriaAttributes, !1), [n("div", { ref: "nestedContentRef", attrs: { role: "gridcell" } }, [e.isLoadingNestedRows ? n("div", { staticClass: "b-data-grid-row-container__row-nested-rows-loading-container" }, [n(e.BentoLoadingIndicator)], 1) : e.hasSlot("nested-slot") && t.shouldShowNestedContent(t.rowData) ? n("div", [t._t("nested-slot", null, { item: t.rowData })], 2) : t._e()])]) : t._e()]) : t._e()], 1);
|
|
2541
|
-
},
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2525
|
+
}, il = [], rl = /* @__PURE__ */ q(
|
|
2526
|
+
ll,
|
|
2527
|
+
al,
|
|
2528
|
+
il,
|
|
2545
2529
|
!1,
|
|
2546
2530
|
null,
|
|
2547
2531
|
"b70dfec3"
|
|
2548
2532
|
);
|
|
2549
|
-
const
|
|
2533
|
+
const Gt = rl.exports;
|
|
2550
2534
|
let yt = 0;
|
|
2551
|
-
const
|
|
2535
|
+
const cl = {
|
|
2552
2536
|
beforeCreate() {
|
|
2553
2537
|
this.uuid = yt.toString(), yt += 1;
|
|
2554
2538
|
}
|
|
2555
2539
|
};
|
|
2556
|
-
var
|
|
2540
|
+
var dl = function() {
|
|
2557
2541
|
var t = this, n = t._self._c;
|
|
2558
2542
|
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { "clip-path": "url(#uia-ui-assets/icons-16-warning_circle_fill__a" + t.uuid + ")" } }, [n("path", { attrs: { fill: "#001222", d: "M8 0.25C12.2802 0.25 15.75 3.71979 15.75 8C15.75 12.2802 12.2802 15.75 8 15.75C3.71979 15.75 0.25 12.2802 0.25 8C0.25 3.71979 3.71979 0.25 8 0.25ZM8 9.75C7.44772 9.75 7 10.1977 7 10.75C7 11.3023 7.44772 11.75 8 11.75C8.55228 11.75 9 11.3023 9 10.75C9 10.1977 8.55228 9.75 8 9.75ZM7.25 4.25V8.75H8.75V4.25H7.25Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-ui-assets/icons-16-warning_circle_fill__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
|
|
2559
|
-
},
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2543
|
+
}, ul = [], fl = /* @__PURE__ */ q(
|
|
2544
|
+
cl,
|
|
2545
|
+
dl,
|
|
2546
|
+
ul,
|
|
2563
2547
|
!1,
|
|
2564
2548
|
null,
|
|
2565
2549
|
null
|
|
2566
2550
|
);
|
|
2567
|
-
const
|
|
2568
|
-
...
|
|
2551
|
+
const gl = fl.exports, _l = {}, vl = /* @__PURE__ */ de({
|
|
2552
|
+
..._l,
|
|
2569
2553
|
__name: "data-grid-static-icon",
|
|
2570
2554
|
props: {
|
|
2571
2555
|
colored: { type: Boolean, default: !1 },
|
|
@@ -2576,13 +2560,13 @@ const Cl = ml.exports, hl = {}, pl = /* @__PURE__ */ de({
|
|
|
2576
2560
|
const t = s, n = v(() => {
|
|
2577
2561
|
switch (t.variant) {
|
|
2578
2562
|
case "checkmark":
|
|
2579
|
-
return
|
|
2563
|
+
return kn;
|
|
2580
2564
|
case "warning":
|
|
2581
|
-
return
|
|
2565
|
+
return Wn;
|
|
2582
2566
|
case "error":
|
|
2583
|
-
return
|
|
2567
|
+
return gl;
|
|
2584
2568
|
case "cross":
|
|
2585
|
-
return
|
|
2569
|
+
return Nt;
|
|
2586
2570
|
case "no-value":
|
|
2587
2571
|
return it;
|
|
2588
2572
|
default:
|
|
@@ -2590,22 +2574,22 @@ const Cl = ml.exports, hl = {}, pl = /* @__PURE__ */ de({
|
|
|
2590
2574
|
}
|
|
2591
2575
|
}), e = v(() => ({
|
|
2592
2576
|
"b-data-grid-static-icon--colored": t.colored && t.variant !== "no-value"
|
|
2593
|
-
})), o = v(() => `b-data-grid-static-icon__${t.variant}`), l = v(() =>
|
|
2594
|
-
return { __sfc: !0, props: t, computedIcon: n, conditionalClasses: e, computedIconClass: o, tooltipPosition: l, vBentoTooltipDirective:
|
|
2577
|
+
})), o = v(() => `b-data-grid-static-icon__${t.variant}`), l = v(() => Gn.AUTO);
|
|
2578
|
+
return { __sfc: !0, props: t, computedIcon: n, conditionalClasses: e, computedIconClass: o, tooltipPosition: l, vBentoTooltipDirective: Hn };
|
|
2595
2579
|
}
|
|
2596
2580
|
});
|
|
2597
|
-
var
|
|
2581
|
+
var ml = function() {
|
|
2598
2582
|
var t = this, n = t._self._c, e = t._self._setupProxy;
|
|
2599
2583
|
return n("div", { directives: [{ name: "bento-tooltip-directive", rawName: "v-bento-tooltip-directive:[tooltipPosition]", value: t.tooltipText, expression: "tooltipText", arg: e.tooltipPosition }], staticClass: "b-data-grid-static-icon", class: e.conditionalClasses, attrs: { "aria-label": t.tooltipText, tabindex: "0" } }, [n(e.computedIcon, { tag: "component", class: e.computedIconClass, attrs: { "svg-title": t.tooltipText } })], 1);
|
|
2600
|
-
},
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2584
|
+
}, Cl = [], hl = /* @__PURE__ */ q(
|
|
2585
|
+
vl,
|
|
2586
|
+
ml,
|
|
2587
|
+
Cl,
|
|
2604
2588
|
!1,
|
|
2605
2589
|
null,
|
|
2606
2590
|
"dbc055cb"
|
|
2607
2591
|
);
|
|
2608
|
-
const
|
|
2592
|
+
const Ga = hl.exports, pl = {
|
|
2609
2593
|
"de-DE": {
|
|
2610
2594
|
numberResults: "1 Ergebnis | {count} Ergebnisse"
|
|
2611
2595
|
},
|
|
@@ -2624,10 +2608,10 @@ const za = Sl.exports, Rl = {
|
|
|
2624
2608
|
"pt-BR": {
|
|
2625
2609
|
numberResults: "1 resultado | {count} resultados"
|
|
2626
2610
|
}
|
|
2627
|
-
},
|
|
2628
|
-
i18n: { messages:
|
|
2629
|
-
},
|
|
2630
|
-
...
|
|
2611
|
+
}, wl = {
|
|
2612
|
+
i18n: { messages: pl }
|
|
2613
|
+
}, bl = /* @__PURE__ */ de({
|
|
2614
|
+
...wl,
|
|
2631
2615
|
__name: "data-grid-summary-cell",
|
|
2632
2616
|
props: {
|
|
2633
2617
|
label: null,
|
|
@@ -2653,61 +2637,83 @@ const za = Sl.exports, Rl = {
|
|
|
2653
2637
|
}), a = (g) => t.searchTerm && g.toLowerCase().includes(l.value) ? "mark" : "span", i = v(() => t.searchTerm ? t.items.filter((g) => g.toLowerCase().includes(l.value)).length : 0), _ = v(
|
|
2654
2638
|
() => t.tooltipText ?? (i.value > 0 ? n("numberResults", i.value) : "")
|
|
2655
2639
|
);
|
|
2656
|
-
return { __sfc: !0, tc: n, props: t, dashedUnderlineRef: e, dashedUnderlineProps: o, lowerCaseSearchTerm: l, highlightedComponent: a, highlightedItemsCount: i, computedToolTipText: _, BentoDashedUnderline:
|
|
2640
|
+
return { __sfc: !0, tc: n, props: t, dashedUnderlineRef: e, dashedUnderlineProps: o, lowerCaseSearchTerm: l, highlightedComponent: a, highlightedItemsCount: i, computedToolTipText: _, BentoDashedUnderline: jn, BentoTypography: Se, Tooltip: Zn, BentoTooltipPosition: Vn };
|
|
2657
2641
|
}
|
|
2658
2642
|
});
|
|
2659
|
-
var
|
|
2643
|
+
var Sl = function() {
|
|
2660
2644
|
var t = this, n = t._self._c, e = t._self._setupProxy;
|
|
2661
2645
|
return n("div", { staticClass: "b-data-grid-summary-cell" }, [t.items.length > 1 ? n(e.BentoDashedUnderline, t._b({ ref: "dashedUnderlineRef", scopedSlots: t._u([{ key: "popover-content", fn: function() {
|
|
2662
2646
|
return [n(e.BentoTypography, { staticClass: "b-data-grid-summary-cell__popover-content" }, [n("ul", { staticClass: "b-data-grid-summary-cell__list" }, t._l(t.items, function(o) {
|
|
2663
2647
|
return n("li", { key: o }, [n(e.highlightedComponent(o), { tag: "component" }, [t._v(t._s(o))])], 1);
|
|
2664
2648
|
}), 0)])];
|
|
2665
2649
|
}, proxy: !0 }], null, !1, 4023850623) }, "bento-dashed-underline", e.dashedUnderlineProps, !1), [t._v(" " + t._s(t.label) + " ")]) : [t._v(t._s(t.items[0]))], e.dashedUnderlineRef && e.computedToolTipText ? n(e.Tooltip, { attrs: { content: e.computedToolTipText, "disabled-focus-trap": !0, position: e.BentoTooltipPosition.RIGHT, "fallback-position": ["left", "bottom"], "is-shown": !!e.computedToolTipText, "target-element": e.dashedUnderlineRef } }) : t._e()], 2);
|
|
2666
|
-
},
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2650
|
+
}, Rl = [], El = /* @__PURE__ */ q(
|
|
2651
|
+
bl,
|
|
2652
|
+
Sl,
|
|
2653
|
+
Rl,
|
|
2670
2654
|
!1,
|
|
2671
2655
|
null,
|
|
2672
2656
|
"2cf5d218"
|
|
2673
2657
|
);
|
|
2674
|
-
const
|
|
2675
|
-
|
|
2676
|
-
|
|
2658
|
+
const Ha = El.exports, Ll = {}, yl = /* @__PURE__ */ de({
|
|
2659
|
+
...Ll,
|
|
2660
|
+
__name: "data-grid-tag-with-text-cell",
|
|
2661
|
+
props: {
|
|
2662
|
+
tag: null,
|
|
2663
|
+
value: null
|
|
2664
|
+
},
|
|
2665
|
+
setup(s) {
|
|
2666
|
+
return { __sfc: !0, BentoTag: qn, BentoTypography: Se };
|
|
2667
|
+
}
|
|
2668
|
+
});
|
|
2669
|
+
var Al = function() {
|
|
2670
|
+
var t = this, n = t._self._c, e = t._self._setupProxy;
|
|
2671
|
+
return n("div", { staticClass: "b-data-grid-tag-with-text-cell" }, [n(e.BentoTag, t._b({}, "bento-tag", t.tag, !1)), n(e.BentoTypography, { attrs: { el: "span" } }, [t._v(t._s(t.value))])], 1);
|
|
2672
|
+
}, Tl = [], Ol = /* @__PURE__ */ q(
|
|
2673
|
+
yl,
|
|
2674
|
+
Al,
|
|
2675
|
+
Tl,
|
|
2676
|
+
!1,
|
|
2677
|
+
null,
|
|
2678
|
+
"c57c8165"
|
|
2679
|
+
);
|
|
2680
|
+
const Va = Ol.exports;
|
|
2681
|
+
let At = 0;
|
|
2682
|
+
const Nl = {
|
|
2677
2683
|
beforeCreate() {
|
|
2678
|
-
this.uuid =
|
|
2684
|
+
this.uuid = At.toString(), At += 1;
|
|
2679
2685
|
}
|
|
2680
2686
|
};
|
|
2681
|
-
var
|
|
2687
|
+
var Il = function() {
|
|
2682
2688
|
var t = this, n = t._self._c;
|
|
2683
2689
|
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("path", { attrs: { fill: "#001222", d: "M12.0605 7L11 8.06055L8.75 5.81055V12.75H7.25V5.81055L5 8.06055L3.93945 7L8 2.93945L12.0605 7Z" } })]);
|
|
2684
|
-
},
|
|
2685
|
-
Ol,
|
|
2690
|
+
}, Dl = [], xl = /* @__PURE__ */ q(
|
|
2686
2691
|
Nl,
|
|
2687
2692
|
Il,
|
|
2693
|
+
Dl,
|
|
2688
2694
|
!1,
|
|
2689
2695
|
null,
|
|
2690
2696
|
null
|
|
2691
2697
|
);
|
|
2692
|
-
const
|
|
2693
|
-
let
|
|
2694
|
-
const
|
|
2698
|
+
const Fl = xl.exports;
|
|
2699
|
+
let Tt = 0;
|
|
2700
|
+
const Bl = {
|
|
2695
2701
|
beforeCreate() {
|
|
2696
|
-
this.uuid =
|
|
2702
|
+
this.uuid = Tt.toString(), Tt += 1;
|
|
2697
2703
|
}
|
|
2698
2704
|
};
|
|
2699
|
-
var
|
|
2705
|
+
var Ml = function() {
|
|
2700
2706
|
var t = this, n = t._self._c;
|
|
2701
2707
|
return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("path", { attrs: { fill: "#001222", d: "M8.75 10.1895L11 7.93945L12.0605 9L8 13.0605L3.93945 9L5 7.93945L7.25 10.1895V3.25H8.75V10.1895Z" } })]);
|
|
2702
|
-
},
|
|
2703
|
-
Fl,
|
|
2708
|
+
}, Ul = [], Pl = /* @__PURE__ */ q(
|
|
2704
2709
|
Bl,
|
|
2705
2710
|
Ml,
|
|
2711
|
+
Ul,
|
|
2706
2712
|
!1,
|
|
2707
2713
|
null,
|
|
2708
2714
|
null
|
|
2709
2715
|
);
|
|
2710
|
-
const
|
|
2716
|
+
const $l = Pl.exports, zl = {
|
|
2711
2717
|
"en-US": {
|
|
2712
2718
|
decrease: "decrease",
|
|
2713
2719
|
increase: "increase"
|
|
@@ -2720,10 +2726,10 @@ const Pl = Ul.exports, $l = {
|
|
|
2720
2726
|
decrease: "diminuir",
|
|
2721
2727
|
increase: "aumentar"
|
|
2722
2728
|
}
|
|
2723
|
-
},
|
|
2724
|
-
i18n: { messages:
|
|
2725
|
-
},
|
|
2726
|
-
...
|
|
2729
|
+
}, kl = {
|
|
2730
|
+
i18n: { messages: zl }
|
|
2731
|
+
}, Wl = /* @__PURE__ */ de({
|
|
2732
|
+
...kl,
|
|
2727
2733
|
__name: "data-grid-trend-cell",
|
|
2728
2734
|
props: {
|
|
2729
2735
|
direction: { default: "none" },
|
|
@@ -2745,9 +2751,9 @@ const Pl = Ul.exports, $l = {
|
|
|
2745
2751
|
}), a = v(() => {
|
|
2746
2752
|
switch (t.direction) {
|
|
2747
2753
|
case "up":
|
|
2748
|
-
return
|
|
2754
|
+
return Fl;
|
|
2749
2755
|
case "down":
|
|
2750
|
-
return
|
|
2756
|
+
return $l;
|
|
2751
2757
|
default:
|
|
2752
2758
|
return null;
|
|
2753
2759
|
}
|
|
@@ -2761,25 +2767,25 @@ const Pl = Ul.exports, $l = {
|
|
|
2761
2767
|
// Cap it reasonably to avoid float artifacts
|
|
2762
2768
|
}).format(_ / 100);
|
|
2763
2769
|
});
|
|
2764
|
-
return { __sfc: !0, t: n, locale: e, props: t, conditionalClasses: o, computedIconTitle: l, computedIcon: a, computedValue: i, BentoTypography:
|
|
2770
|
+
return { __sfc: !0, t: n, locale: e, props: t, conditionalClasses: o, computedIconTitle: l, computedIcon: a, computedValue: i, BentoTypography: Se };
|
|
2765
2771
|
}
|
|
2766
2772
|
});
|
|
2767
|
-
var
|
|
2773
|
+
var Gl = function() {
|
|
2768
2774
|
var t = this, n = t._self._c, e = t._self._setupProxy;
|
|
2769
2775
|
return n("div", { staticClass: "b-data-grid-trend-cell", class: e.conditionalClasses }, [e.computedIcon ? n(e.computedIcon, { tag: "component", attrs: { "svg-title": e.computedIconTitle } }) : t._e(), n(e.BentoTypography, { attrs: { el: "span" } }, [t._v(t._s(e.computedValue))])], 1);
|
|
2770
|
-
},
|
|
2771
|
-
kl,
|
|
2776
|
+
}, Hl = [], Vl = /* @__PURE__ */ q(
|
|
2772
2777
|
Wl,
|
|
2773
2778
|
Gl,
|
|
2779
|
+
Hl,
|
|
2774
2780
|
!1,
|
|
2775
2781
|
null,
|
|
2776
2782
|
"05cdd7d9"
|
|
2777
2783
|
);
|
|
2778
|
-
const
|
|
2779
|
-
i18n: { messages:
|
|
2784
|
+
const Za = Vl.exports, Zl = {
|
|
2785
|
+
i18n: { messages: kt },
|
|
2780
2786
|
name: "bento-data-grid"
|
|
2781
|
-
},
|
|
2782
|
-
...
|
|
2787
|
+
}, jl = /* @__PURE__ */ de({
|
|
2788
|
+
...Zl,
|
|
2783
2789
|
props: {
|
|
2784
2790
|
/**
|
|
2785
2791
|
* When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
|
|
@@ -3116,12 +3122,12 @@ const Wa = Hl.exports, Vl = {
|
|
|
3116
3122
|
N.CELL_FOCUS
|
|
3117
3123
|
],
|
|
3118
3124
|
setup(s, { expose: t, emit: n }) {
|
|
3119
|
-
const e = s, o = Ge(), l = Ve(o), a = p(null), i = p(), _ = p({}), g = p(Ie("data-grid")), w = p(null), m = p(null), E = p(), b = p(null), u = p(null),
|
|
3125
|
+
const e = s, o = Ge(), l = Ve(o), a = p(null), i = p(), _ = p({}), g = p(Ie("data-grid")), w = p(null), m = p(null), E = p(), b = p(null), u = p(null), y = p(null), {
|
|
3120
3126
|
allowColumnDragAndDrop: L,
|
|
3121
3127
|
columns: F,
|
|
3122
3128
|
columnPanel: S,
|
|
3123
3129
|
data: d,
|
|
3124
|
-
lazyLoadType:
|
|
3130
|
+
lazyLoadType: A,
|
|
3125
3131
|
loading: O,
|
|
3126
3132
|
hasNestedContent: D,
|
|
3127
3133
|
hasNestedRows: r,
|
|
@@ -3133,9 +3139,9 @@ const Wa = Hl.exports, Vl = {
|
|
|
3133
3139
|
pagination: k,
|
|
3134
3140
|
zebraRows: K
|
|
3135
3141
|
} = We(e), Y = p(-1), { t: ee } = he(), G = v(() => ne.value.filter((I) => I.frozen).length), P = 550, C = p(), { width: $ } = es(C), W = v(() => $.value <= P);
|
|
3136
|
-
Oe(
|
|
3142
|
+
Oe(Ae, W);
|
|
3137
3143
|
const z = p(!1);
|
|
3138
|
-
|
|
3144
|
+
Re(() => {
|
|
3139
3145
|
typeof window < "u" && (z.value = "ontouchstart" in window || (navigator == null ? void 0 : navigator.maxTouchPoints) > 0);
|
|
3140
3146
|
}), Oe(De, z);
|
|
3141
3147
|
const Ce = me(
|
|
@@ -3156,7 +3162,7 @@ const Wa = Hl.exports, Vl = {
|
|
|
3156
3162
|
columns: te,
|
|
3157
3163
|
totalWidthOfAllColumns: re,
|
|
3158
3164
|
rowActionsMaxWidth: fe
|
|
3159
|
-
} =
|
|
3165
|
+
} = Os(F, d, a, _, w, {
|
|
3160
3166
|
hasColumnPanel: S,
|
|
3161
3167
|
hasSelectableColumn: f,
|
|
3162
3168
|
hasSelectableAcrossPages: T,
|
|
@@ -3171,38 +3177,38 @@ const Wa = Hl.exports, Vl = {
|
|
|
3171
3177
|
c,
|
|
3172
3178
|
X,
|
|
3173
3179
|
ue
|
|
3174
|
-
),
|
|
3180
|
+
), Ht = v(
|
|
3175
3181
|
() => e.stickyFilters ? `${xe.value}px` : null
|
|
3176
|
-
), Ye = _t(m, $e(e, "stickyFilters")),
|
|
3182
|
+
), Ye = _t(m, $e(e, "stickyFilters")), Vt = v(
|
|
3177
3183
|
() => `${Ye.value + xe.value}px`
|
|
3178
3184
|
), {
|
|
3179
3185
|
sortedColumns: Fe,
|
|
3180
3186
|
columnSets: Be,
|
|
3181
|
-
isOnlyOneVisibleColumn:
|
|
3187
|
+
isOnlyOneVisibleColumn: Zt,
|
|
3182
3188
|
internalZebraRows: Je,
|
|
3183
|
-
onConfigSettingsColumnsUpdate:
|
|
3184
|
-
onConfigSettingsColumnUpdate:
|
|
3185
|
-
onConfigSettingsCondensedUpdate:
|
|
3186
|
-
onConfigSettingsZebraRowsUpdate:
|
|
3187
|
-
} =
|
|
3189
|
+
onConfigSettingsColumnsUpdate: jt,
|
|
3190
|
+
onConfigSettingsColumnUpdate: qt,
|
|
3191
|
+
onConfigSettingsCondensedUpdate: Yt,
|
|
3192
|
+
onConfigSettingsZebraRowsUpdate: Jt
|
|
3193
|
+
} = Ms(ne, K, Z), { hoveredOverColumn: Kt, hoveredOverColumnState: Xt } = Ps(
|
|
3188
3194
|
Be,
|
|
3189
3195
|
f,
|
|
3190
3196
|
M,
|
|
3191
3197
|
H
|
|
3192
|
-
), { draggingColumns:
|
|
3198
|
+
), { draggingColumns: Qt, draggingEventsForColumns: en, draggingEventsForRowCell: tn, onMoveColumnByOffset: nn } = Bs(Fe, L, Z), Ke = v(
|
|
3193
3199
|
() => {
|
|
3194
3200
|
var I;
|
|
3195
3201
|
return ((I = e.data) == null ? void 0 : I.length) > 0 && !!e.selectableAcrossPages && !!e.pagination && e.pagination.totalCount > 0;
|
|
3196
3202
|
}
|
|
3197
3203
|
), {
|
|
3198
|
-
onAllRowSelect:
|
|
3199
|
-
onRowSelect:
|
|
3200
|
-
onNestedRowSelect:
|
|
3201
|
-
onDeselectAll:
|
|
3202
|
-
allItemsSelectedState:
|
|
3204
|
+
onAllRowSelect: sn,
|
|
3205
|
+
onRowSelect: on,
|
|
3206
|
+
onNestedRowSelect: ln,
|
|
3207
|
+
onDeselectAll: an,
|
|
3208
|
+
allItemsSelectedState: rn,
|
|
3203
3209
|
selectedItems: Xe,
|
|
3204
|
-
selectionState:
|
|
3205
|
-
} =
|
|
3210
|
+
selectionState: cn
|
|
3211
|
+
} = Ns(
|
|
3206
3212
|
R,
|
|
3207
3213
|
Z,
|
|
3208
3214
|
d,
|
|
@@ -3210,37 +3216,37 @@ const Wa = Hl.exports, Vl = {
|
|
|
3210
3216
|
e.isDataItemDisabled,
|
|
3211
3217
|
Ke,
|
|
3212
3218
|
k
|
|
3213
|
-
),
|
|
3219
|
+
), dn = v(() => {
|
|
3214
3220
|
var I, V, J, ge;
|
|
3215
3221
|
return {
|
|
3216
3222
|
filtered: ((I = E.value) == null ? void 0 : I.isClearAllVisible) || ((V = E.value) == null ? void 0 : V.isResetAllVisible) || !!e.filterSearchTerm,
|
|
3217
3223
|
allRowsVisible: ((J = k.value) == null ? void 0 : J.size) >= ((ge = k.value) == null ? void 0 : ge.totalCount)
|
|
3218
3224
|
};
|
|
3219
|
-
}), { navigationInput:
|
|
3225
|
+
}), { navigationInput: un } = Ds(
|
|
3220
3226
|
w,
|
|
3221
3227
|
_,
|
|
3222
3228
|
Fe,
|
|
3223
3229
|
f,
|
|
3224
3230
|
v(() => e.rowActions !== void 0),
|
|
3225
3231
|
S
|
|
3226
|
-
), { isLazyLoad: Te, isInfiniteScroll:
|
|
3227
|
-
|
|
3232
|
+
), { isLazyLoad: Te, isInfiniteScroll: fn, verticalScrollPosition: Qe, emitLazyLoadEvent: gn } = Fs(
|
|
3233
|
+
A,
|
|
3228
3234
|
u,
|
|
3229
3235
|
a,
|
|
3230
3236
|
O,
|
|
3231
3237
|
Z
|
|
3232
3238
|
), {
|
|
3233
|
-
updateScrollPosition:
|
|
3234
|
-
updateScrollPositionOnFrozenColumnsNavigation:
|
|
3235
|
-
syncVirtualScrollerWithBody:
|
|
3239
|
+
updateScrollPosition: _n,
|
|
3240
|
+
updateScrollPositionOnFrozenColumnsNavigation: vn,
|
|
3241
|
+
syncVirtualScrollerWithBody: mn,
|
|
3236
3242
|
hasLeftOverflow: Me,
|
|
3237
3243
|
hasRightOverflow: et,
|
|
3238
|
-
horizontalScrollbarConditionalStyles:
|
|
3239
|
-
} =
|
|
3244
|
+
horizontalScrollbarConditionalStyles: Cn
|
|
3245
|
+
} = Us(
|
|
3240
3246
|
a,
|
|
3241
3247
|
i,
|
|
3242
3248
|
Qe,
|
|
3243
|
-
|
|
3249
|
+
y,
|
|
3244
3250
|
b,
|
|
3245
3251
|
re,
|
|
3246
3252
|
{
|
|
@@ -3251,13 +3257,13 @@ const Wa = Hl.exports, Vl = {
|
|
|
3251
3257
|
}
|
|
3252
3258
|
), tt = () => {
|
|
3253
3259
|
E.value.isClearAllVisible ? E.value.clearAllFilters() : E.value.isResetAllVisible && E.value.resetAllFilters();
|
|
3254
|
-
},
|
|
3260
|
+
}, hn = v(() => {
|
|
3255
3261
|
var I, V;
|
|
3256
3262
|
return {
|
|
3257
3263
|
...e.emptyState,
|
|
3258
3264
|
variant: ((I = e.emptyState) == null ? void 0 : I.variant) === "embedded" || ((V = e.emptyState) == null ? void 0 : V.variant) === "basic" ? e.emptyState.variant : "basic"
|
|
3259
3265
|
};
|
|
3260
|
-
}),
|
|
3266
|
+
}), pn = v(() => ({
|
|
3261
3267
|
[`b-data-grid--${ve.OUTLINE}`]: e.outline,
|
|
3262
3268
|
[`b-data-grid--${ve.SCROLL}`]: e.fitContent || Te.value,
|
|
3263
3269
|
[`b-data-grid--${ve.STICKY_FILTERS}`]: e.filters && e.stickyFilters,
|
|
@@ -3267,18 +3273,18 @@ const Wa = Hl.exports, Vl = {
|
|
|
3267
3273
|
[`b-data-grid--${ve.FIT_CONTENT}`]: e.fitContent,
|
|
3268
3274
|
[`b-data-grid--${ve.ZEBRA_ROWS}`]: Je.value,
|
|
3269
3275
|
"b-data-grid--lazy-load": Te.value
|
|
3270
|
-
})),
|
|
3276
|
+
})), wn = v(() => ({
|
|
3271
3277
|
"b-data-grid__body--sticky-horizontal-scrollbar": e.stickyHorizontalScrollbar
|
|
3272
|
-
})),
|
|
3278
|
+
})), bn = v(() => Be.value.findIndex((I) => I.columnSet.length)), Sn = v(() => !((e.selectable || e.hasNestedContent || e.hasNestedRows) && G.value === 1) || Me.value), Rn = v(() => ({
|
|
3273
3279
|
"b-data-grid__filters--sticky": !!e.stickyFilters || ie
|
|
3274
|
-
})),
|
|
3280
|
+
})), En = v(() => {
|
|
3275
3281
|
var I, V, J, ge, Ee, Le;
|
|
3276
3282
|
return {
|
|
3277
3283
|
"b-data-grid__pagination--padding-left-unset": ((J = (V = (I = e.columns) == null ? void 0 : I[0]) == null ? void 0 : V.padding) == null ? void 0 : J.left) === !1,
|
|
3278
3284
|
"b-data-grid__pagination--padding-right-unset": ((Le = (Ee = (ge = e.columns) == null ? void 0 : ge[e.columns.length - 1]) == null ? void 0 : Ee.padding) == null ? void 0 : Le.right) === !1,
|
|
3279
3285
|
"b-data-grid__pagination--sticky": !!e.stickyPagination || ie
|
|
3280
3286
|
};
|
|
3281
|
-
}),
|
|
3287
|
+
}), Ln = (I) => {
|
|
3282
3288
|
const V = I;
|
|
3283
3289
|
I !== null && (V != null && V.columnHeaderRefs) && Object.entries(V == null ? void 0 : V.columnHeaderRefs).forEach(([J, ge]) => {
|
|
3284
3290
|
_.value[J] = ge;
|
|
@@ -3287,45 +3293,45 @@ const Wa = Hl.exports, Vl = {
|
|
|
3287
3293
|
var ge, Ee, Le, lt;
|
|
3288
3294
|
const J = I;
|
|
3289
3295
|
if (I !== null && J != null && J.gridcellRefs) {
|
|
3290
|
-
const
|
|
3291
|
-
Object.entries(J == null ? void 0 : J.gridcellRefs).map(([Ue,
|
|
3296
|
+
const Un = e.rowActions !== void 0 && (J == null ? void 0 : J.rowActionsRef);
|
|
3297
|
+
Object.entries(J == null ? void 0 : J.gridcellRefs).map(([Ue, Pn]) => {
|
|
3292
3298
|
var at;
|
|
3293
|
-
((at = w.value) == null ? void 0 : at[Ue]) === void 0 && (w.value = { ...w.value, [Ue]: [] }), w.value[Ue][V] =
|
|
3294
|
-
}),
|
|
3299
|
+
((at = w.value) == null ? void 0 : at[Ue]) === void 0 && (w.value = { ...w.value, [Ue]: [] }), w.value[Ue][V] = Pn;
|
|
3300
|
+
}), Un && (((ge = w.value) == null ? void 0 : ge[ye]) === void 0 && (w.value = { ...w.value, [ye]: [] }), w.value[ye][V] = (Ee = J.rowActionsRef) == null ? void 0 : Ee[0], fe.value = Math.max(
|
|
3295
3301
|
fe.value,
|
|
3296
3302
|
((lt = (Le = J.rowActionsRef) == null ? void 0 : Le[0]) == null ? void 0 : lt.offsetWidth) ?? 0
|
|
3297
3303
|
));
|
|
3298
3304
|
}
|
|
3299
|
-
},
|
|
3305
|
+
}, An = (I, V) => {
|
|
3300
3306
|
e.allowRowClicks && Z(N.ROW_CLICK, I, V);
|
|
3301
|
-
},
|
|
3307
|
+
}, Tn = (I) => {
|
|
3302
3308
|
Y.value = I;
|
|
3303
|
-
},
|
|
3309
|
+
}, On = v(() => e.hasNestedContent || e.hasNestedRows ? "treegrid" : "grid"), nt = v(() => {
|
|
3304
3310
|
var I;
|
|
3305
3311
|
return ((I = Xe.value) == null ? void 0 : I.length) ?? 0;
|
|
3306
|
-
}),
|
|
3312
|
+
}), Nn = v(() => e.bulkActions && nt.value > 0), In = (I) => Z(N.COLUMN_RESIZE, I), Dn = (I) => {
|
|
3307
3313
|
Z(N.UPDATE_SORT_BY, I), Z(N.SORT, I);
|
|
3308
|
-
},
|
|
3314
|
+
}, xn = (I, V) => {
|
|
3309
3315
|
Z(N.NAVIGATE, I), Z(N.UPDATE_PAGINATION, {
|
|
3310
3316
|
...e.pagination,
|
|
3311
3317
|
size: V,
|
|
3312
3318
|
page: I
|
|
3313
3319
|
});
|
|
3314
|
-
},
|
|
3320
|
+
}, Fn = (I) => {
|
|
3315
3321
|
Z(N.ITEMS_PAGE, I);
|
|
3316
|
-
},
|
|
3322
|
+
}, Bn = () => {
|
|
3317
3323
|
Z(N.FILTER_SEARCH_CLEAR);
|
|
3318
|
-
},
|
|
3324
|
+
}, Mn = (I) => {
|
|
3319
3325
|
Z(N.UPDATE_FILTER_SEARCH_TERM, I), Z(N.FILTER_SEARCH_INPUT, I);
|
|
3320
3326
|
}, st = v(() => F.value.some((I) => I.mandatory));
|
|
3321
|
-
st.value ||
|
|
3327
|
+
st.value || It(
|
|
3322
3328
|
"WARNING: At least one BentoDataGrid column should be set as mandatory to ensure data is always displayed correctly."
|
|
3323
3329
|
);
|
|
3324
3330
|
const ot = me(Xn, () => null);
|
|
3325
|
-
return ot(e.tabTitle), Oe(
|
|
3331
|
+
return ot(e.tabTitle), Oe(zt, $e(e, "slashedZero")), t({ onEmptyStateClearResetButtonClick: tt }), { __sfc: !0, props: e, slots: o, hasSlot: l, body: a, columnsRef: i, columnHeaderRefs: _, dataGridUid: g, gridcellRefs: w, filtersRef: m, filterBarRef: E, paginationContainerRef: b, verticalScrollPositionRef: u, virtualHorizontalScrollbarRef: y, allowColumnDragAndDrop: L, columns: F, columnPanel: S, data: d, lazyLoadType: A, loading: O, hasNestedContent: D, hasNestedRows: r, selectable: f, selection: R, selectableAcrossPages: T, stickyPagination: B, outline: M, pagination: k, zebraRows: K, hoveredRowIndex: Y, t: ee, frozenColumnsLength: G, MOBILE_BREAKPOINT: P, dataGridRef: C, width: $, isSmallContainer: W, isTouchDevice: z, registerDatagridInDataGridTemplate: Ce, additionalContentSlotRef: ue, isDataGridTemplate: ie, stickyTabs: c, tabsRef: U, stickyAdditionalContent: X, columnDefs: ne, onColumnWidthOverride: pe, gridRowWidthStyle: h, isMeasuringColumnWidths: x, isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: H, localColumnsState: te, totalWidthOfAllColumns: re, rowActionsMaxWidth: fe, definedEmitsFunction: n, emit: Z, stickyFiltersHeight: xe, computedStickyFiltersTopPosition: Ht, columnHeadersHeight: Ye, computedColumnHeadersTopPosition: Vt, sortedColumns: Fe, columnSets: Be, isOnlyOneVisibleColumn: Zt, internalZebraRows: Je, onConfigSettingsColumnsUpdate: jt, onConfigSettingsColumnUpdate: qt, onConfigSettingsCondensedUpdate: Yt, onConfigSettingsZebraRowsUpdate: Jt, hoveredOverColumn: Kt, hoveredOverColumnState: Xt, draggingColumns: Qt, draggingEventsForColumns: en, draggingEventsForRowCell: tn, onMoveColumnByOffset: nn, selectableAcrossPagesComputed: Ke, onAllRowSelect: sn, onRowSelect: on, onNestedRowSelect: ln, onDeselectAll: an, allItemsSelectedState: rn, selectedItems: Xe, selectionState: cn, visibleRowsState: dn, navigationInput: un, isLazyLoad: Te, isInfiniteScroll: fn, verticalScrollPosition: Qe, emitLazyLoadEvent: gn, updateScrollPosition: _n, updateScrollPositionOnFrozenColumnsNavigation: vn, syncVirtualScrollerWithBody: mn, hasLeftOverflow: Me, hasRightOverflow: et, horizontalScrollbarConditionalStyles: Cn, onEmptyStateClearResetButtonClick: tt, limitedEmptyStateProps: hn, conditionalGridClasses: pn, conditionalGridBodyClasses: wn, computedColumnPanelAlignment: bn, showFrozenColumnsSeparator: Sn, conditionalFilterClasses: Rn, conditionalPaginationClasses: En, registerColumnHeaderRefs: Ln, registerRowCellRefs: yn, onRowClick: An, onCellHover: Tn, ariaGridRole: On, itemsSelectedCounter: nt, showActionBar: Nn, onColumnResized: In, onSort: Dn, onPaginationNavigate: xn, onItemsPerPageChange: Fn, onSearchTermCleared: Bn, onSearchTermInput: Mn, hasMandatoryColumn: st, setTitle: ot, BentoActionBar: Yn, BentoPagination: Jn, BentoLoadingIndicator: He, BentoTypography: Se, BentoDataGridConfigSettings: Fo, DataGridColumns: Co, DataGridLazyLoad: zo, DataGridRow: Gt, handleClipboard: $s, BentoDatagridEvent: N, BentoFilterBar: Pe, BentoEmptyState: Kn };
|
|
3326
3332
|
}
|
|
3327
3333
|
});
|
|
3328
|
-
var
|
|
3334
|
+
var ql = function() {
|
|
3329
3335
|
var o;
|
|
3330
3336
|
var t = this, n = t._self._c, e = t._self._setupProxy;
|
|
3331
3337
|
return n("div", { ref: "dataGridRef", staticClass: "b-data-grid", class: e.conditionalGridClasses, attrs: { "data-testid": "data-grid", "aria-live": "polite", "aria-busy": e.loading }, on: { copy: e.handleClipboard } }, [t.filters ? n("div", { ref: "filtersRef", staticClass: "b-data-grid__filters", class: e.conditionalFilterClasses, style: { top: e.computedStickyFiltersTopPosition }, attrs: { "aria-controls": e.dataGridUid, "aria-label": e.t("filterBar"), role: "region" } }, [t.filters ? n(e.BentoFilterBar, { ref: "filterBarRef", attrs: { config: t.filters, "container-size-layout": t.filtersContainerSizeLayout, "filter-values": t.filterValues, "filter-values-object": t.filterValuesObject, search: t.filterSearchConfig, "search-term": t.filterSearchTerm }, on: { "search-input": e.onSearchTermInput, "search-clear": e.onSearchTermCleared, input: (l) => t.$emit(e.BentoDatagridEvent.UPDATE_FILTERS, l), "update:filter-values": (l) => t.$emit(e.BentoDatagridEvent.UPDATE_FILTER_VALUES, l), "update:filter-values-object": (l) => t.$emit(e.BentoDatagridEvent.UPDATE_FILTER_VALUES_OBJECT, l) } }) : t._e()], 1) : t._e(), t.$slots.header ? n("div", { staticClass: "b-data-grid__header" }, [t._t("header")], 2) : t._e(), n("div", { staticClass: "b-data-grid__wrapper", style: { top: e.computedColumnHeadersTopPosition }, attrs: { id: e.dataGridUid, role: e.ariaGridRole, "aria-rowcount": e.data.length, "aria-colcount": e.columns.length, "aria-label": t.emptyState ? e.t("noResults") : null } }, [n("div", { staticClass: "b-data-grid__column-headers", style: { top: e.computedColumnHeadersTopPosition } }, [n("div", { ref: "columnsRef", staticClass: "b-data-grid__columns-row", attrs: { role: "rowgroup" }, on: { scroll: e.updateScrollPosition, keydown: e.navigationInput } }, [e.columnPanel ? n("div", { attrs: { role: "row" } }, [n(e.BentoDataGridConfigSettings, { staticClass: "b-data-grid__config-settings", attrs: { role: "gridcell", columns: e.localColumnsState, condensed: t.condensed, "zebra-rows": e.internalZebraRows }, on: { "update:condensed": e.onConfigSettingsCondensedUpdate, "update:zebra-rows": e.onConfigSettingsZebraRowsUpdate, "update:columns": e.onConfigSettingsColumnsUpdate } })], 1) : t._e(), n("div", { staticClass: "b-data-grid__columns", style: e.gridRowWidthStyle, attrs: { role: "row" } }, [t._l(e.columnSets, function({ columnSet: l, id: a, isFrozenColumns: i }, _) {
|
|
@@ -3355,24 +3361,25 @@ var jl = function() {
|
|
|
3355
3361
|
} };
|
|
3356
3362
|
})], null, !0) });
|
|
3357
3363
|
})], 2)])]), e.isLazyLoad ? n(e.DataGridLazyLoad, { attrs: { loading: e.loading, "is-infinite-scroll": e.isInfiniteScroll }, on: { "update:show-more": e.emitLazyLoadEvent } }) : t._e(), t.stickyHorizontalScrollbar ? n("div", { ref: "virtualHorizontalScrollbarRef", staticClass: "b-data-grid__horizontal-scrollbar", style: e.horizontalScrollbarConditionalStyles, attrs: { "aria-hidden": "true", "data-testid": "sticky-horizontal-scrollbar" }, on: { scroll: e.syncVirtualScrollerWithBody } }, [n("div", { style: { width: `${e.totalWidthOfAllColumns}px`, height: "15px" } })]) : t._e(), e.pagination && !e.isLazyLoad ? n("div", { ref: "paginationContainerRef", staticClass: "b-data-grid__pagination", class: e.conditionalPaginationClasses, attrs: { "data-testid": "pagination-container" } }, [n(e.BentoPagination, t._b({ attrs: { "aria-label": t.$t("pagination"), "aria-controls": e.dataGridUid }, on: { navigate: e.onPaginationNavigate, "items-page": e.onItemsPerPageChange } }, "bento-pagination", e.pagination, !1), [e.hasSlot("pagination-slot") ? t._t("pagination-slot") : t._e()], 2)], 1) : t._e(), t.$slots.footer ? n("div", { staticClass: "b-data-grid__footer" }, [t._t("footer")], 2) : t._e(), e.showActionBar ? n(e.BentoActionBar, { attrs: { actions: t.bulkActions, "item-counter": e.itemsSelectedCounter, "extra-bottom-spacing": e.stickyPagination }, on: { close: e.onDeselectAll } }) : t._e()], 1);
|
|
3358
|
-
},
|
|
3359
|
-
Zl,
|
|
3364
|
+
}, Yl = [], Jl = /* @__PURE__ */ q(
|
|
3360
3365
|
jl,
|
|
3361
3366
|
ql,
|
|
3367
|
+
Yl,
|
|
3362
3368
|
!1,
|
|
3363
3369
|
null,
|
|
3364
|
-
"
|
|
3370
|
+
"c4107403"
|
|
3365
3371
|
);
|
|
3366
|
-
const
|
|
3372
|
+
const ja = Jl.exports;
|
|
3367
3373
|
export {
|
|
3368
3374
|
ve as B,
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3375
|
+
Ga as a,
|
|
3376
|
+
Ha as b,
|
|
3377
|
+
Va as c,
|
|
3378
|
+
ja as d,
|
|
3379
|
+
Za as e,
|
|
3380
|
+
be as f,
|
|
3381
|
+
N as g,
|
|
3382
|
+
Ne as h,
|
|
3383
|
+
ze as i
|
|
3377
3384
|
};
|
|
3378
|
-
//# sourceMappingURL=data-grid.
|
|
3385
|
+
//# sourceMappingURL=data-grid.Dcj_tU8q.js.map
|