@adyen/bento-vue2 1.83.1 → 1.84.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/README.md +5 -5
- package/dist/@types/index.d.ts +56 -5
- package/dist/action-bar.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/ai-button.css +1 -1
- package/dist/assets/alert.css +1 -1
- package/dist/assets/avatar.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions-with-menu.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/checkbox-group.css +1 -1
- package/dist/assets/checkbox-input.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/chip.css +1 -1
- package/dist/assets/code-snippet.css +1 -1
- package/dist/assets/controls-group.css +1 -1
- package/dist/assets/country.css +1 -1
- package/dist/assets/currency.css +1 -1
- package/dist/assets/dashboard-section.css +1 -1
- package/dist/assets/dashed-underline.css +1 -1
- package/dist/assets/data-grid-template.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-picker.css +1 -1
- package/dist/assets/date-range-picker.css +1 -1
- package/dist/assets/date.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/divider.css +1 -1
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown-tag.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/empty-state.css +1 -1
- package/dist/assets/field-label.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/fixed-scroller.css +1 -1
- package/dist/assets/footer-actions.css +1 -1
- package/dist/assets/form-layout-title.css +1 -1
- package/dist/assets/grid-layout.css +1 -1
- package/dist/assets/header-meta.css +1 -1
- package/dist/assets/header-with-views.css +1 -1
- package/dist/assets/header.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/info-icon.css +1 -1
- package/dist/assets/input-field-password.css +1 -1
- package/dist/assets/input-field.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/layout-row.css +1 -1
- package/dist/assets/link.css +1 -1
- package/dist/assets/listbox-option-tag.css +1 -1
- package/dist/assets/loading-indicator.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/pagination.css +1 -1
- package/dist/assets/payment-method.css +1 -1
- package/dist/assets/popper-container.css +1 -1
- package/dist/assets/promo-banner.css +1 -1
- package/dist/assets/radio-group.css +1 -1
- package/dist/assets/radio-input.css +1 -1
- package/dist/assets/rich-text-editor.css +1 -1
- package/dist/assets/secondary-nav.css +1 -1
- package/dist/assets/segmented-control.css +1 -1
- package/dist/assets/selection-card-group.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/status.css +1 -1
- package/dist/assets/step.css +1 -1
- package/dist/assets/structured-list-item.css +1 -1
- package/dist/assets/summary-grid.css +1 -1
- package/dist/assets/tab.css +1 -1
- package/dist/assets/tag.css +1 -1
- package/dist/assets/textarea.css +1 -1
- package/dist/assets/timeline-item.css +1 -1
- package/dist/assets/toast.css +1 -1
- package/dist/assets/toggle.css +1 -1
- package/dist/assets/tooltip.css +1 -1
- package/dist/assets/tutorial.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/button.js +3 -3
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chunks/{action-bar.C2GnRugW.js → action-bar.y4tcdk7R.js} +8 -6
- package/dist/chunks/{action-bar.C2GnRugW.js.map → action-bar.y4tcdk7R.js.map} +1 -1
- package/dist/chunks/{ai-button.C9Uc6vBY.js → ai-button.BEy4Gly-.js} +2 -2
- package/dist/chunks/{ai-button.C9Uc6vBY.js.map → ai-button.BEy4Gly-.js.map} +1 -1
- package/dist/chunks/{alert.BlJBrD8c.js → alert.B3Pdp02a.js} +29 -21
- package/dist/chunks/{alert.BlJBrD8c.js.map → alert.B3Pdp02a.js.map} +1 -1
- package/dist/chunks/{base-modal.L39wmqVD.js → base-modal.KYkLKswF.js} +20 -18
- package/dist/chunks/{base-modal.L39wmqVD.js.map → base-modal.KYkLKswF.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.CQlsQa_f.js → button-actions-with-menu.B5mKwc-F.js} +2 -2
- package/dist/chunks/{button-actions-with-menu.CQlsQa_f.js.map → button-actions-with-menu.B5mKwc-F.js.map} +1 -1
- package/dist/chunks/{button-actions.BWVq6OZQ.js → button-actions.D9n7MxWe.js} +270 -239
- package/dist/chunks/{button-actions.BWVq6OZQ.js.map → button-actions.D9n7MxWe.js.map} +1 -1
- package/dist/chunks/{button.C5GvPqe5.js → button.DIU6m9wD.js} +2 -2
- package/dist/chunks/{button.C5GvPqe5.js.map → button.DIU6m9wD.js.map} +1 -1
- package/dist/chunks/calendar.C8DpZ4Sr.js +1101 -0
- package/dist/chunks/calendar.C8DpZ4Sr.js.map +1 -0
- package/dist/chunks/{card.CktheSva.js → card.CLX0RGG6.js} +2 -2
- package/dist/chunks/{card.CktheSva.js.map → card.CLX0RGG6.js.map} +1 -1
- package/dist/chunks/{checkbox-group.BUXnMhO8.js → checkbox-group.BCnhjQie.js} +4 -4
- package/dist/chunks/{checkbox-group.BUXnMhO8.js.map → checkbox-group.BCnhjQie.js.map} +1 -1
- package/dist/chunks/{checkbox-input.B0NsfSNR.js → checkbox-input.08E9BNeF.js} +45 -40
- package/dist/chunks/checkbox-input.08E9BNeF.js.map +1 -0
- package/dist/chunks/{checkbox.DgPVHJnT.js → checkbox.CU5ierOq.js} +9 -9
- package/dist/chunks/{checkbox.DgPVHJnT.js.map → checkbox.CU5ierOq.js.map} +1 -1
- package/dist/chunks/{code-snippet.1_edHDaZ.js → code-snippet.9MwDHp50.js} +62 -60
- package/dist/chunks/code-snippet.9MwDHp50.js.map +1 -0
- package/dist/chunks/constructNow.DuaJst0D.js +8 -0
- package/dist/chunks/{constructNow.BhymNmy5.js.map → constructNow.DuaJst0D.js.map} +1 -1
- package/dist/chunks/{controls-group.BqPxnEl3.js → controls-group.D4eW9DtP.js} +2 -2
- package/dist/chunks/{controls-group.BqPxnEl3.js.map → controls-group.D4eW9DtP.js.map} +1 -1
- package/dist/chunks/{copy.I2GvwCvt.js → copy.C0q7xgXs.js} +19 -17
- package/dist/chunks/{copy.I2GvwCvt.js.map → copy.C0q7xgXs.js.map} +1 -1
- package/dist/chunks/{country.BPrh4fXO.js → country.DyrDj95W.js} +2 -2
- package/dist/chunks/{country.BPrh4fXO.js.map → country.DyrDj95W.js.map} +1 -1
- package/dist/chunks/country.types.DaVCMxk-.js +773 -0
- package/dist/chunks/{country.types.C0Q_hhgJ.js.map → country.types.DaVCMxk-.js.map} +1 -1
- package/dist/chunks/{dashboard-section.B4bHrFIl.js → dashboard-section.B83FdC0Z.js} +3 -3
- package/dist/chunks/{dashboard-section.B4bHrFIl.js.map → dashboard-section.B83FdC0Z.js.map} +1 -1
- package/dist/chunks/{dashed-underline.ByK3QxFJ.js → dashed-underline.DQGVy5T2.js} +2 -2
- package/dist/chunks/{dashed-underline.ByK3QxFJ.js.map → dashed-underline.DQGVy5T2.js.map} +1 -1
- package/dist/chunks/{data-grid-template.CvZbOkih.js → data-grid-template.BTEFoEwf.js} +4 -4
- package/dist/chunks/{data-grid-template.CvZbOkih.js.map → data-grid-template.BTEFoEwf.js.map} +1 -1
- package/dist/chunks/{data-grid.CsVqTwy0.js → data-grid.BPG1GPIl.js} +482 -398
- package/dist/chunks/{data-grid.CsVqTwy0.js.map → data-grid.BPG1GPIl.js.map} +1 -1
- package/dist/chunks/date-input.BbZqj10S.js +15 -0
- package/dist/chunks/date-input.BbZqj10S.js.map +1 -0
- package/dist/chunks/{date-picker.-a_TXwjx.js → date-picker.CnsC_UMG.js} +78 -74
- package/dist/chunks/date-picker.CnsC_UMG.js.map +1 -0
- package/dist/chunks/date-range-picker.B6GSRjjK.js +1693 -0
- package/dist/chunks/date-range-picker.B6GSRjjK.js.map +1 -0
- package/dist/chunks/de.DvtL0g75.js +478 -0
- package/dist/chunks/de.DvtL0g75.js.map +1 -0
- package/dist/chunks/{dialog-page.Dn-WbcxU.js → dialog-page.QpRiNPyx.js} +29 -23
- package/dist/chunks/{dialog-page.Dn-WbcxU.js.map → dialog-page.QpRiNPyx.js.map} +1 -1
- package/dist/chunks/differenceInMonths.DcFDl4eH.js +43 -0
- package/dist/chunks/differenceInMonths.DcFDl4eH.js.map +1 -0
- package/dist/chunks/{dropdown-tag.AYIB0ec5.js → dropdown-tag.HBM0wrEV.js} +4 -4
- package/dist/chunks/{dropdown-tag.AYIB0ec5.js.map → dropdown-tag.HBM0wrEV.js.map} +1 -1
- package/dist/chunks/{dropdown.Dt0_ZUBn.js → dropdown.C2pXf8Li.js} +85 -81
- package/dist/chunks/{dropdown.Dt0_ZUBn.js.map → dropdown.C2pXf8Li.js.map} +1 -1
- package/dist/chunks/{empty-state.jVTWhJW7.js → empty-state.DpBnqAxu.js} +2 -2
- package/dist/chunks/{empty-state.jVTWhJW7.js.map → empty-state.DpBnqAxu.js.map} +1 -1
- package/dist/chunks/en-GB.DCGuCmAv.js +46 -0
- package/dist/chunks/en-GB.DCGuCmAv.js.map +1 -0
- package/dist/chunks/{getTimezoneOffsetInMilliseconds.B7sxiukN.js → en-US.BZii9jNW.js} +160 -196
- package/dist/chunks/en-US.BZii9jNW.js.map +1 -0
- package/dist/chunks/es.bz0mzkMq.js +374 -0
- package/dist/chunks/es.bz0mzkMq.js.map +1 -0
- package/dist/chunks/es6.C1DXQV6f.js +12 -0
- package/dist/chunks/es6.C1DXQV6f.js.map +1 -0
- package/dist/chunks/{field-label.BpeaR4Qc.js → field-label.CEkJnsiL.js} +5 -5
- package/dist/chunks/{field-label.BpeaR4Qc.js.map → field-label.CEkJnsiL.js.map} +1 -1
- package/dist/chunks/{file-uploader.G6mr6RuA.js → file-uploader.CnOqfuI-.js} +299 -253
- package/dist/chunks/{file-uploader.G6mr6RuA.js.map → file-uploader.CnOqfuI-.js.map} +1 -1
- package/dist/chunks/filter-bar.CnJAxz9B.js +2559 -0
- package/dist/chunks/filter-bar.CnJAxz9B.js.map +1 -0
- package/dist/chunks/fixed-scroller.Bp4-iO80.js +114 -0
- package/dist/chunks/{fixed-scroller.Ca1ujamx.js.map → fixed-scroller.Bp4-iO80.js.map} +1 -1
- package/dist/chunks/{footer-actions.3JdT8b0p.js → footer-actions.BOiN47Xd.js} +3 -3
- package/dist/chunks/{footer-actions.3JdT8b0p.js.map → footer-actions.BOiN47Xd.js.map} +1 -1
- package/dist/chunks/{form-layout-title.D9GJQfF9.js → form-layout-title.CdC1T4gs.js} +2 -2
- package/dist/chunks/{form-layout-title.D9GJQfF9.js.map → form-layout-title.CdC1T4gs.js.map} +1 -1
- package/dist/chunks/fr-CA.B1aPU8fp.js +48 -0
- package/dist/chunks/fr-CA.B1aPU8fp.js.map +1 -0
- package/dist/chunks/fr.Dj7wEToe.js +47 -0
- package/dist/chunks/fr.Dj7wEToe.js.map +1 -0
- package/dist/chunks/getTimezoneOffsetInMilliseconds.C-aIpRfB.js +51 -0
- package/dist/chunks/getTimezoneOffsetInMilliseconds.C-aIpRfB.js.map +1 -0
- package/dist/chunks/header-meta.D_oAu2S9.js +212 -0
- package/dist/chunks/header-meta.D_oAu2S9.js.map +1 -0
- package/dist/chunks/{header-with-views.lzT3kGpo.js → header-with-views.Dc9LUYNY.js} +379 -315
- package/dist/chunks/{header-with-views.lzT3kGpo.js.map → header-with-views.Dc9LUYNY.js.map} +1 -1
- package/dist/chunks/{header.D76MKCdS.js → header.BmtlQmPs.js} +3 -3
- package/dist/chunks/{header.D76MKCdS.js.map → header.BmtlQmPs.js.map} +1 -1
- package/dist/chunks/{input-field-password.C7zjyp7f.js → input-field-password.D23H_RvO.js} +48 -42
- package/dist/chunks/{input-field-password.C7zjyp7f.js.map → input-field-password.D23H_RvO.js.map} +1 -1
- package/dist/chunks/{input-field-phone-number.DwuTziSU.js → input-field-phone-number.Bvk2Pvec.js} +9 -3
- package/dist/chunks/{input-field-phone-number.DwuTziSU.js.map → input-field-phone-number.Bvk2Pvec.js.map} +1 -1
- package/dist/chunks/{input-field.DsT4AWXC.js → input-field.hf0_ALq0.js} +37 -29
- package/dist/chunks/{input-field.DsT4AWXC.js.map → input-field.hf0_ALq0.js.map} +1 -1
- package/dist/chunks/{inspector.2A5vWUou.js → inspector.C0iAxxoz.js} +40 -34
- package/dist/chunks/{inspector.2A5vWUou.js.map → inspector.C0iAxxoz.js.map} +1 -1
- package/dist/chunks/isSameWeek.CUD7czUN.js +14 -0
- package/dist/chunks/isSameWeek.CUD7czUN.js.map +1 -0
- package/dist/chunks/it.Oaj6BklL.js +392 -0
- package/dist/chunks/it.Oaj6BklL.js.map +1 -0
- package/dist/chunks/ja.Cm9tJMi2.js +367 -0
- package/dist/chunks/ja.Cm9tJMi2.js.map +1 -0
- package/dist/chunks/ko.Ceaof6EP.js +348 -0
- package/dist/chunks/ko.Ceaof6EP.js.map +1 -0
- package/dist/chunks/{link.BoDUCYmM.js → link.PsTSQjK3.js} +27 -21
- package/dist/chunks/{link.BoDUCYmM.js.map → link.PsTSQjK3.js.map} +1 -1
- package/dist/chunks/match.CMBZxEs9.js +302 -0
- package/dist/chunks/match.CMBZxEs9.js.map +1 -0
- package/dist/chunks/{modal-fullscreen.CcvZBUoF.js → modal-fullscreen.B1gltlxA.js} +5 -5
- package/dist/chunks/{modal-fullscreen.CcvZBUoF.js.map → modal-fullscreen.B1gltlxA.js.map} +1 -1
- package/dist/chunks/{modal.6hFEbnZM.js → modal.e3EQ6Kex.js} +5 -5
- package/dist/chunks/{modal.6hFEbnZM.js.map → modal.e3EQ6Kex.js.map} +1 -1
- package/dist/chunks/nl.B6vCf2B9.js +327 -0
- package/dist/chunks/nl.B6vCf2B9.js.map +1 -0
- package/dist/chunks/{pagination.BSyshRGH.js → pagination.BcFt2FqK.js} +6 -6
- package/dist/chunks/{pagination.BSyshRGH.js.map → pagination.BcFt2FqK.js.map} +1 -1
- package/dist/chunks/{promo-banner.D3aG5wnp.js → promo-banner.yfBorKj7.js} +2 -2
- package/dist/chunks/{promo-banner.D3aG5wnp.js.map → promo-banner.yfBorKj7.js.map} +1 -1
- package/dist/chunks/pt-BR.CiGdfP45.js +380 -0
- package/dist/chunks/pt-BR.CiGdfP45.js.map +1 -0
- package/dist/chunks/{radio-group.DTZwsfwW.js → radio-group.CtTnfkYg.js} +3 -3
- package/dist/chunks/{radio-group.DTZwsfwW.js.map → radio-group.CtTnfkYg.js.map} +1 -1
- package/dist/chunks/{rich-text-editor.B0ivi3UG.js → rich-text-editor.Dq2CFGOu.js} +5 -5
- package/dist/chunks/{rich-text-editor.B0ivi3UG.js.map → rich-text-editor.Dq2CFGOu.js.map} +1 -1
- package/dist/chunks/{search-bar.Bpk-PuYT.js → search-bar.B0SdQBnY.js} +3 -3
- package/dist/chunks/{search-bar.Bpk-PuYT.js.map → search-bar.B0SdQBnY.js.map} +1 -1
- package/dist/chunks/{secondary-nav.BGOYJrsB.js → secondary-nav.BPGpxd0p.js} +35 -29
- package/dist/chunks/{secondary-nav.BGOYJrsB.js.map → secondary-nav.BPGpxd0p.js.map} +1 -1
- package/dist/chunks/{selection-card-group.CLqWoLSN.js → selection-card-group.BryV14qP.js} +5 -5
- package/dist/chunks/{selection-card-group.CLqWoLSN.js.map → selection-card-group.BryV14qP.js.map} +1 -1
- package/dist/chunks/{sidepanel.C5SvJNMR.js → sidepanel.NFyZGE57.js} +5 -5
- package/dist/chunks/{sidepanel.C5SvJNMR.js.map → sidepanel.NFyZGE57.js.map} +1 -1
- package/dist/chunks/startOfWeek.Dxw2MhGp.js +10 -0
- package/dist/chunks/startOfWeek.Dxw2MhGp.js.map +1 -0
- package/dist/chunks/step.BLFXvHL6.js +223 -0
- package/dist/chunks/step.BLFXvHL6.js.map +1 -0
- package/dist/chunks/{structured-list-item.CbXDKwsF.js → structured-list-item.CptOCpHP.js} +3 -3
- package/dist/chunks/{structured-list-item.CbXDKwsF.js.map → structured-list-item.CptOCpHP.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.haWi7oaf.js → summary-grid.types.B1T8_k1m.js} +3 -3
- package/dist/chunks/{summary-grid.types.haWi7oaf.js.map → summary-grid.types.B1T8_k1m.js.map} +1 -1
- package/dist/chunks/sv.f8EfZjMZ.js +377 -0
- package/dist/chunks/sv.f8EfZjMZ.js.map +1 -0
- package/dist/chunks/{tab.ZQfGp_FP.js → tab.FUMpPsBP.js} +2 -2
- package/dist/chunks/{tab.ZQfGp_FP.js.map → tab.FUMpPsBP.js.map} +1 -1
- package/dist/chunks/{textarea.DfR2o1lz.js → textarea.riUt0BiI.js} +31 -31
- package/dist/chunks/textarea.riUt0BiI.js.map +1 -0
- package/dist/chunks/{timeline-item.rLqeBsyz.js → timeline-item.CFfW1DoD.js} +16 -15
- package/dist/chunks/{timeline-item.rLqeBsyz.js.map → timeline-item.CFfW1DoD.js.map} +1 -1
- package/dist/chunks/{toast.C7lu_NsX.js → toast.Csv6tMyT.js} +2 -2
- package/dist/chunks/{toast.C7lu_NsX.js.map → toast.Csv6tMyT.js.map} +1 -1
- package/dist/chunks/{tutorial.DA775wec.js → tutorial.D18LwXVy.js} +2 -2
- package/dist/chunks/{tutorial.DA775wec.js.map → tutorial.D18LwXVy.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.DIKJ8yNE.js → use-cached-selected-values.gDWGi5Nk.js} +240 -231
- package/dist/chunks/{use-cached-selected-values.DIKJ8yNE.js.map → use-cached-selected-values.gDWGi5Nk.js.map} +1 -1
- package/dist/chunks/{use-country-items.B3Cd3Tdo.js → use-country-items.ClS_So5N.js} +2 -2
- package/dist/chunks/{use-country-items.B3Cd3Tdo.js.map → use-country-items.ClS_So5N.js.map} +1 -1
- package/dist/chunks/zh-CN.BzH0fIXr.js +389 -0
- package/dist/chunks/zh-CN.BzH0fIXr.js.map +1 -0
- package/dist/code-snippet.js +1 -1
- package/dist/country.js +2 -2
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/dropdown.js +3 -3
- package/dist/empty-state.js +1 -1
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/form-layout.js +1 -1
- package/dist/header-with-views.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +250 -251
- package/dist/index.js.map +1 -1
- package/dist/input-field-password.js +1 -1
- package/dist/input-field-phone-number.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/inspector.js +1 -1
- package/dist/internal.js +10 -10
- package/dist/link.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 +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/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/stepper.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +0 -1829
- package/dist/styles/bento-light.css +0 -1829
- package/dist/styles/bento.css +0 -1829
- package/dist/styles/legacy.css +0 -1829
- package/dist/styles/styleguide.css +0 -1829
- package/dist/summary-grid.js +1 -1
- package/dist/tabs.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/tutorial.js +1 -1
- package/package.json +14 -25
- package/dist/@types/components.d.ts +0 -196
- package/dist/@types/use-form-v4.d.ts +0 -86
- package/dist/chunks/calendar.DCLyThOl.js +0 -1832
- package/dist/chunks/calendar.DCLyThOl.js.map +0 -1
- package/dist/chunks/checkbox-input.B0NsfSNR.js.map +0 -1
- package/dist/chunks/code-snippet.1_edHDaZ.js.map +0 -1
- package/dist/chunks/constructNow.BhymNmy5.js +0 -8
- package/dist/chunks/country.types.C0Q_hhgJ.js +0 -269
- package/dist/chunks/date-format.B8RU7D42.js +0 -17
- package/dist/chunks/date-format.B8RU7D42.js.map +0 -1
- package/dist/chunks/date-picker.-a_TXwjx.js.map +0 -1
- package/dist/chunks/date-range-picker.Bw1yPTu-.js +0 -906
- package/dist/chunks/date-range-picker.Bw1yPTu-.js.map +0 -1
- package/dist/chunks/differenceInMonths.Cab3nOsb.js +0 -1590
- package/dist/chunks/differenceInMonths.Cab3nOsb.js.map +0 -1
- package/dist/chunks/es6.MoTTyETW.js +0 -12
- package/dist/chunks/es6.MoTTyETW.js.map +0 -1
- package/dist/chunks/filter-bar.DNA9QblV.js +0 -2472
- package/dist/chunks/filter-bar.DNA9QblV.js.map +0 -1
- package/dist/chunks/fixed-scroller.Ca1ujamx.js +0 -106
- package/dist/chunks/getTimezoneOffsetInMilliseconds.B7sxiukN.js.map +0 -1
- package/dist/chunks/header-meta.C8_W0j_p.js +0 -170
- package/dist/chunks/header-meta.C8_W0j_p.js.map +0 -1
- package/dist/chunks/step.mqn8E6dm.js +0 -217
- package/dist/chunks/step.mqn8E6dm.js.map +0 -1
- package/dist/chunks/textarea.DfR2o1lz.js.map +0 -1
- package/dist/web-types.json +0 -17280
package/dist/assets/tutorial.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.b-tutorial-indicator[data-v-ea45578e]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.b-tutorial-indicator[data-v-ea45578e],.b-tutorial-indicator[data-v-ea45578e]:before,.b-tutorial-indicator[data-v-ea45578e]:after{box-sizing:border-box}.b-tutorial-indicator *[data-v-ea45578e],.b-tutorial-indicator *[data-v-ea45578e]:before,.b-tutorial-indicator *[data-v-ea45578e]:after{box-sizing:border-box}.b-tutorial-indicator[data-v-ea45578e] ::-webkit-scrollbar{height:14px;width:14px}.b-tutorial-indicator[data-v-ea45578e] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-tutorial-indicator__highlight[data-v-ea45578e]{border:var(--b-
|
|
1
|
+
.b-tutorial-indicator[data-v-ea45578e]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.b-tutorial-indicator[data-v-ea45578e],.b-tutorial-indicator[data-v-ea45578e]:before,.b-tutorial-indicator[data-v-ea45578e]:after{box-sizing:border-box}.b-tutorial-indicator *[data-v-ea45578e],.b-tutorial-indicator *[data-v-ea45578e]:before,.b-tutorial-indicator *[data-v-ea45578e]:after{box-sizing:border-box}.b-tutorial-indicator[data-v-ea45578e] ::-webkit-scrollbar{height:14px;width:14px}.b-tutorial-indicator[data-v-ea45578e] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-tutorial-indicator__highlight[data-v-ea45578e]{border:var(--b-border-width-m) solid var(--b-color-decorative-green);left:-2px;pointer-events:none;position:absolute;top:-2px}.b-tutorial-indicator[data-popper-reference-hidden] .b-tutorial-indicator__highlight[data-v-ea45578e]{visibility:hidden}.b-tutorial-popover[data-v-2dd6eac0]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--b-color-background-success-weak);outline:var(--b-border-width-m) solid var(--b-color-decorative-green);position:relative}.b-tutorial-popover[data-v-2dd6eac0],.b-tutorial-popover[data-v-2dd6eac0]:before,.b-tutorial-popover[data-v-2dd6eac0]:after{box-sizing:border-box}.b-tutorial-popover *[data-v-2dd6eac0],.b-tutorial-popover *[data-v-2dd6eac0]:before,.b-tutorial-popover *[data-v-2dd6eac0]:after{box-sizing:border-box}.b-tutorial-popover[data-v-2dd6eac0] ::-webkit-scrollbar{height:14px;width:14px}.b-tutorial-popover[data-v-2dd6eac0] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-tutorial-popover__image[data-v-2dd6eac0]{width:100%}.b-tutorial-popover__header[data-v-2dd6eac0]{display:flex;flex-grow:1;gap:var(--b-spacer-060);justify-content:space-between;padding-bottom:var(--b-spacer-060)}.b-tutorial-popover__steps[data-v-2dd6eac0]{flex-shrink:0;line-height:var(--b-text-title-line-height)}.b-tutorial-popover__footer[data-v-2dd6eac0]{column-gap:var(--b-spacer-040);container-type:inline-size;display:grid;grid-template-areas:"menu actions";grid-template-columns:auto 1fr;padding-top:var(--b-spacer-060)}.b-tutorial-popover__menu[data-v-2dd6eac0]{grid-area:menu}.b-tutorial-popover__actions[data-v-2dd6eac0]{grid-area:actions}.b-tutorial-popover[data-v-2dd6eac0] .b-button:focus-visible{box-shadow:0 0 0 var(--b-focus-ring-spacer) var(--b-color-background-success-weak),0 0 0 var(--b-focus-ring-outline) var(--b-focus-ring-color)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.b-listbox-single-select-category[data-v-bfbc1649]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin-bottom:var(--b-listbox-single-select-category-margin-bottom)}.b-listbox-single-select-category[data-v-bfbc1649],.b-listbox-single-select-category[data-v-bfbc1649]:before,.b-listbox-single-select-category[data-v-bfbc1649]:after{box-sizing:border-box}.b-listbox-single-select-category *[data-v-bfbc1649],.b-listbox-single-select-category *[data-v-bfbc1649]:before,.b-listbox-single-select-category *[data-v-bfbc1649]:after{box-sizing:border-box}.b-listbox-single-select-category[data-v-bfbc1649] ::-webkit-scrollbar{height:14px;width:14px}.b-listbox-single-select-category[data-v-bfbc1649] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-listbox-single-select-category[data-v-bfbc1649]:last-child{margin-bottom:0}.b-listbox-single-select-category__label-text[data-v-bfbc1649]{color:var(--b-listbox-single-select-category-label-text-color);padding:var(--b-listbox-single-select-category-label-text-padding)}.b-checkbox-input[data-v-c345b6c0]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer;display:flex;padding:var(--b-checkbox-input-container-padding);position:relative}.b-checkbox-input[data-v-c345b6c0],.b-checkbox-input[data-v-c345b6c0]:before,.b-checkbox-input[data-v-c345b6c0]:after{box-sizing:border-box}.b-checkbox-input *[data-v-c345b6c0],.b-checkbox-input *[data-v-c345b6c0]:before,.b-checkbox-input *[data-v-c345b6c0]:after{box-sizing:border-box}.b-checkbox-input[data-v-c345b6c0] ::-webkit-scrollbar{height:14px;width:14px}.b-checkbox-input[data-v-c345b6c0] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-checkbox-input--disabled[data-v-c345b6c0],.b-checkbox-input--disabled *[data-v-c345b6c0]{cursor:not-allowed}.b-checkbox-input--readonly[data-v-c345b6c0],.b-checkbox-input--readonly *[data-v-c345b6c0]{pointer-events:none}.b-checkbox-input__outline[data-v-c345b6c0]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--b-checkbox-input-outline-border-radius);border-style:solid;border-width:var(--b-checkbox-input-outline-border-width);cursor:pointer;display:inline-block;flex-basis:16px;height:16px;margin:0;min-width:16px;outline:none;position:relative;text-align:center;width:16px}.b-checkbox-input__outline--unchecked[data-v-c345b6c0]{background-color:var(--b-checkbox-input-outline-unchecked-background-color);border-color:var(--b-checkbox-input-outline-unchecked-border-color)}.b-checkbox-input__outline--unchecked[data-v-c345b6c0]:hover{background-color:var(--b-checkbox-input-outline-unchecked-hover-background-color);border-color:var(--b-checkbox-input-outline-unchecked-hover-border-color)}.b-checkbox-input__outline--unchecked[data-v-c345b6c0]:active{background-color:var(--b-checkbox-input-outline-unchecked-active-background-color);border-color:var(--b-checkbox-input-outline-unchecked-active-border-color)}.b-checkbox-input--disabled .b-checkbox-input__outline--unchecked[data-v-c345b6c0]{background-color:var(--b-checkbox-input-outline-unchecked-disabled-background-color);border-color:var(--b-checkbox-input-outline-unchecked-disabled-border-color);cursor:not-allowed}.b-checkbox-input__outline--checked[data-v-c345b6c0],.b-checkbox-input__outline[data-v-c345b6c0]:checked{background-color:var(--b-checkbox-input-outline-checked-background-color);border-color:var(--b-checkbox-input-outline-checked-border-color)}.b-checkbox-input__outline--checked[data-v-c345b6c0]:hover,.b-checkbox-input__icon:hover+.b-checkbox-input__outline--checked[data-v-c345b6c0]:not(:disabled),.b-checkbox-input__outline[data-v-c345b6c0]:checked:hover,.b-checkbox-input__icon:hover+.b-checkbox-input__outline[data-v-c345b6c0]:checked:not(:disabled){background-color:var(--b-checkbox-input-outline-checked-hover-background-color);border-color:var(--b-checkbox-input-outline-checked-hover-border-color)}.b-checkbox-input__outline--checked[data-v-c345b6c0]:active,.b-checkbox-input__outline[data-v-c345b6c0]:checked:active{background-color:var(--b-checkbox-input-outline-checked-active-background-color);border-color:var(--b-checkbox-input-outline-checked-active-border-color)}.b-checkbox-input--disabled .b-checkbox-input__outline--checked[data-v-c345b6c0],.b-checkbox-input--disabled .b-checkbox-input__outline[data-v-c345b6c0]:checked{background-color:var(--b-checkbox-input-outline-checked-disabled-background-color);border-color:var(--b-checkbox-input-outline-checked-disabled-background-color);cursor:not-allowed}.b-checkbox-input__outline--indeterminate[data-v-c345b6c0],.b-checkbox-input__outline[data-v-c345b6c0]:indeterminate{background-color:var(--b-checkbox-input-outline-indeterminate-background-color);border-color:var(--b-checkbox-input-outline-indeterminate-border-color)}.b-checkbox-input__outline--indeterminate[data-v-c345b6c0]:hover,.b-checkbox-input__outline[data-v-c345b6c0]:indeterminate:hover{background-color:var(--b-checkbox-input-outline-indeterminate-hover-background-color);border-color:var(--b-checkbox-input-outline-indeterminate-hover-border-color)}.b-checkbox-input__outline--indeterminate[data-v-c345b6c0]:active,.b-checkbox-input__outline[data-v-c345b6c0]:indeterminate:active{background-color:var(--b-checkbox-input-outline-indeterminate-active-background-color);border-color:var(--b-checkbox-input-outline-indeterminate-active-border-color)}.b-checkbox-input--disabled .b-checkbox-input__outline--indeterminate[data-v-c345b6c0],.b-checkbox-input--disabled .b-checkbox-input__outline[data-v-c345b6c0]:indeterminate{background-color:var(--b-checkbox-input-outline-indeterminate-disabled-background-color);border-color:var(--b-checkbox-input-outline-indeterminate-disabled-background-color);cursor:not-allowed}.b-checkbox-input__outline[data-v-c345b6c0]:focus-visible{animation:outer-ring-default-c345b6c0 var(--b-animation-duration-fast) var(--b-animation-easing-standard);box-shadow:0 0 0 var(--b-focus-ring-spacer) var(--b-color-background-primary),0 0 0 var(--b-focus-ring-outline) var(--b-focus-ring-color)}@keyframes outer-ring-default-c345b6c0{0%{box-shadow:0 0 0 var(--b-border-width-s) var(--b-color-background-primary),0 0 0 0 var(--b-focus-ring-color)}to{box-shadow:0 0 0 var(--b-border-width-s) var(--b-color-background-primary),0 0 0 var(--b-border-width-l) var(--b-focus-ring-color)}}.b-checkbox-input__outline--error[data-v-c345b6c0]{border:var(--b-checkbox-input-outline-unchecked-error-border)}.b-checkbox-input__outline--error[data-v-c345b6c0]:checked{background-color:var(--b-checkbox-input-outline-checked-error-background-color);border-color:var(--b-checkbox-input-outline-checked-error-border-color)}.b-checkbox-input__outline--error[data-v-c345b6c0]:indeterminate{background-color:var(--b-checkbox-input-outline-indeterminate-error-background-color);border-color:var(--b-checkbox-input-outline-indeterminate-error-border-color)}.b-checkbox-input__outline--readonly[data-v-c345b6c0],.b-checkbox-input__outline--readonly[data-v-c345b6c0]:checked,.b-checkbox-input__outline--readonly[data-v-c345b6c0]:indeterminate{background-color:var(--b-checkbox-input-outline-readonly-background-color);border-color:var(--b-checkbox-input-outline-readonly-border-color)}.b-checkbox-input__icon[data-v-c345b6c0]{color:var(--b-checkbox-input-icon-color);left:0;pointer-events:none;position:absolute;z-index:1}.b-checkbox-input--disabled .b-checkbox-input__icon[data-v-c345b6c0]{color:var(--b-checkbox-input-icon-disabled-color)}.b-checkbox-input--readonly .b-checkbox-input__icon[data-v-c345b6c0]{color:var(--b-checkbox-input-icon-readonly-color)}.b-listbox-option[data-v-c345b6c0]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer;overflow-wrap:anywhere;padding:var(--b-listbox-option-padding)}.b-listbox-option[data-v-c345b6c0],.b-listbox-option[data-v-c345b6c0]:before,.b-listbox-option[data-v-c345b6c0]:after{box-sizing:border-box}.b-listbox-option[data-v-c345b6c0] ::-webkit-scrollbar{height:14px;width:14px}.b-listbox-option[data-v-c345b6c0] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}@media(hover:hover){.b-listbox-option[data-v-c345b6c0]:hover:not(.b-listbox-option--disabled){background-color:var(--b-listbox-option-hover-background-color)}.b-listbox-option[data-v-c345b6c0]:hover:not(.b-listbox-option--disabled) .b-checkbox-input__outline--unchecked{background-color:var(--b-checkbox-input-outline-unchecked-hover-background-color);border-color:var(--b-checkbox-input-outline-unchecked-hover-border-color)}.b-listbox-option[data-v-c345b6c0]:hover:not(.b-listbox-option--disabled) .b-checkbox-input__outline--checked{background-color:var(--b-checkbox-input-outline-checked-hover-background-color);border-color:var(--b-checkbox-input-outline-checked-hover-border-color)}.b-listbox-option[data-v-c345b6c0]:hover:not(.b-listbox-option--disabled) .b-checkbox-input__outline--indeterminate{background-color:var(--b-checkbox-input-outline-indeterminate-hover-background-color);border-color:var(--b-checkbox-input-outline-indeterminate-hover-border-color)}.b-listbox-option[data-v-c345b6c0]:hover:not(.b-listbox-option--disabled),.b-listbox-option[data-v-c345b6c0]:hover:not(.b-listbox-option--disabled) .b-avatar__label,.b-listbox-option[data-v-c345b6c0]:hover:not(.b-listbox-option--disabled) .b-country__label,.b-listbox-option[data-v-c345b6c0]:hover:not(.b-listbox-option--disabled) .b-payment-method__label{color:var(--b-listbox-option-hover-font-color)}}.b-listbox-option[data-v-c345b6c0]:focus-visible{outline:none;box-shadow:var(--b-listbox-option-focus-box-shadow)}.b-listbox-option[data-v-c345b6c0]:active:not(.b-listbox-option--disabled){background-color:var(--b-listbox-option-active-background-color)}.b-listbox-option[data-v-c345b6c0]:active:not(.b-listbox-option--disabled),.b-listbox-option[data-v-c345b6c0]:active:not(.b-listbox-option--disabled) .b-avatar__label,.b-listbox-option[data-v-c345b6c0]:active:not(.b-listbox-option--disabled) .b-country__label,.b-listbox-option[data-v-c345b6c0]:active:not(.b-listbox-option--disabled) .b-payment-method__label{color:var(--b-listbox-option-active-font-color)}.b-listbox-option[data-v-c345b6c0] .b-listbox-single-select-option__text,.b-listbox-option[data-v-c345b6c0] .b-listbox-multi-select__option-text{display:flex;flex-direction:column}.b-listbox-option[data-v-c345b6c0] .b-listbox-single-select-option__description,.b-listbox-option[data-v-c345b6c0] .b-listbox-multi-select__option-description{margin-top:var(--b-listbox-option-description-margin-top)}.b-listbox-option[data-v-c345b6c0]:not(.b-listbox-option--disabled) .b-listbox-single-select-option__description,.b-listbox-option[data-v-c345b6c0]:not(.b-listbox-option--disabled) .b-listbox-multi-select__option-description{color:var(--b-listbox-option-description-color)}.b-listbox-option--disabled[data-v-c345b6c0]{cursor:not-allowed}.b-listbox-option--disabled[data-v-c345b6c0],.b-listbox-option--disabled[data-v-c345b6c0] .b-avatar__label,.b-listbox-option--disabled[data-v-c345b6c0] .b-country__label,.b-listbox-option--disabled[data-v-c345b6c0] .b-payment-method__label{color:var(--b-listbox-option-disabled-font-color)}.b-listbox-option--selected[data-v-c345b6c0]:not(.b-listbox-option--disabled){background-color:var(--b-listbox-option-selected-background-color)}.b-listbox-option--selected[data-v-c345b6c0]:not(.b-listbox-option--disabled),.b-listbox-option--selected[data-v-c345b6c0]:not(.b-listbox-option--disabled) .b-avatar__label,.b-listbox-option--selected[data-v-c345b6c0]:not(.b-listbox-option--disabled) .b-country__label,.b-listbox-option--selected[data-v-c345b6c0]:not(.b-listbox-option--disabled) .b-payment-method__label{color:var(--b-listbox-option-selected-font-color)}.b-listbox-option--selected[data-v-c345b6c0]:not(.b-listbox-option--disabled) .b-listbox-single-select-option__description:not(.b-listbox-option--disabled),.b-listbox-option--selected[data-v-c345b6c0]:not(.b-listbox-option--disabled) .b-listbox-multi-select__option-description:not(.b-listbox-option--disabled){color:var(--b-listbox-option-selected-description-color)}.b-listbox-single-select-option[data-v-bb14d75a]{display:flex;justify-content:space-between}.b-listbox-single-select-option__check-icon[data-v-bb14d75a]{align-items:center;display:flex;margin-left:var(--b-listbox-single-select-check-icon-margin)}.b-checkbox-input[data-v-b87bbaf9]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer;display:flex;padding:var(--b-checkbox-input-container-padding);position:relative}.b-checkbox-input[data-v-b87bbaf9],.b-checkbox-input[data-v-b87bbaf9]:before,.b-checkbox-input[data-v-b87bbaf9]:after{box-sizing:border-box}.b-checkbox-input *[data-v-b87bbaf9],.b-checkbox-input *[data-v-b87bbaf9]:before,.b-checkbox-input *[data-v-b87bbaf9]:after{box-sizing:border-box}.b-checkbox-input[data-v-b87bbaf9] ::-webkit-scrollbar{height:14px;width:14px}.b-checkbox-input[data-v-b87bbaf9] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-checkbox-input--disabled[data-v-b87bbaf9],.b-checkbox-input--disabled *[data-v-b87bbaf9]{cursor:not-allowed}.b-checkbox-input--readonly[data-v-b87bbaf9],.b-checkbox-input--readonly *[data-v-b87bbaf9]{pointer-events:none}.b-checkbox-input__outline[data-v-b87bbaf9]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--b-checkbox-input-outline-border-radius);border-style:solid;border-width:var(--b-checkbox-input-outline-border-width);cursor:pointer;display:inline-block;flex-basis:16px;height:16px;margin:0;min-width:16px;outline:none;position:relative;text-align:center;width:16px}.b-checkbox-input__outline--unchecked[data-v-b87bbaf9]{background-color:var(--b-checkbox-input-outline-unchecked-background-color);border-color:var(--b-checkbox-input-outline-unchecked-border-color)}.b-checkbox-input__outline--unchecked[data-v-b87bbaf9]:hover{background-color:var(--b-checkbox-input-outline-unchecked-hover-background-color);border-color:var(--b-checkbox-input-outline-unchecked-hover-border-color)}.b-checkbox-input__outline--unchecked[data-v-b87bbaf9]:active{background-color:var(--b-checkbox-input-outline-unchecked-active-background-color);border-color:var(--b-checkbox-input-outline-unchecked-active-border-color)}.b-checkbox-input--disabled .b-checkbox-input__outline--unchecked[data-v-b87bbaf9]{background-color:var(--b-checkbox-input-outline-unchecked-disabled-background-color);border-color:var(--b-checkbox-input-outline-unchecked-disabled-border-color);cursor:not-allowed}.b-checkbox-input__outline--checked[data-v-b87bbaf9],.b-checkbox-input__outline[data-v-b87bbaf9]:checked{background-color:var(--b-checkbox-input-outline-checked-background-color);border-color:var(--b-checkbox-input-outline-checked-border-color)}.b-checkbox-input__outline--checked[data-v-b87bbaf9]:hover,.b-checkbox-input__icon:hover+.b-checkbox-input__outline--checked[data-v-b87bbaf9]:not(:disabled),.b-checkbox-input__outline[data-v-b87bbaf9]:checked:hover,.b-checkbox-input__icon:hover+.b-checkbox-input__outline[data-v-b87bbaf9]:checked:not(:disabled){background-color:var(--b-checkbox-input-outline-checked-hover-background-color);border-color:var(--b-checkbox-input-outline-checked-hover-border-color)}.b-checkbox-input__outline--checked[data-v-b87bbaf9]:active,.b-checkbox-input__outline[data-v-b87bbaf9]:checked:active{background-color:var(--b-checkbox-input-outline-checked-active-background-color);border-color:var(--b-checkbox-input-outline-checked-active-border-color)}.b-checkbox-input--disabled .b-checkbox-input__outline--checked[data-v-b87bbaf9],.b-checkbox-input--disabled .b-checkbox-input__outline[data-v-b87bbaf9]:checked{background-color:var(--b-checkbox-input-outline-checked-disabled-background-color);border-color:var(--b-checkbox-input-outline-checked-disabled-background-color);cursor:not-allowed}.b-checkbox-input__outline--indeterminate[data-v-b87bbaf9],.b-checkbox-input__outline[data-v-b87bbaf9]:indeterminate{background-color:var(--b-checkbox-input-outline-indeterminate-background-color);border-color:var(--b-checkbox-input-outline-indeterminate-border-color)}.b-checkbox-input__outline--indeterminate[data-v-b87bbaf9]:hover,.b-checkbox-input__outline[data-v-b87bbaf9]:indeterminate:hover{background-color:var(--b-checkbox-input-outline-indeterminate-hover-background-color);border-color:var(--b-checkbox-input-outline-indeterminate-hover-border-color)}.b-checkbox-input__outline--indeterminate[data-v-b87bbaf9]:active,.b-checkbox-input__outline[data-v-b87bbaf9]:indeterminate:active{background-color:var(--b-checkbox-input-outline-indeterminate-active-background-color);border-color:var(--b-checkbox-input-outline-indeterminate-active-border-color)}.b-checkbox-input--disabled .b-checkbox-input__outline--indeterminate[data-v-b87bbaf9],.b-checkbox-input--disabled .b-checkbox-input__outline[data-v-b87bbaf9]:indeterminate{background-color:var(--b-checkbox-input-outline-indeterminate-disabled-background-color);border-color:var(--b-checkbox-input-outline-indeterminate-disabled-background-color);cursor:not-allowed}.b-checkbox-input__outline[data-v-b87bbaf9]:focus-visible{animation:outer-ring-default-b87bbaf9 var(--b-animation-duration-fast) var(--b-animation-easing-standard);box-shadow:0 0 0 var(--b-focus-ring-spacer) var(--b-color-background-primary),0 0 0 var(--b-focus-ring-outline) var(--b-focus-ring-color)}@keyframes outer-ring-default-b87bbaf9{0%{box-shadow:0 0 0 var(--b-border-width-s) var(--b-color-background-primary),0 0 0 0 var(--b-focus-ring-color)}to{box-shadow:0 0 0 var(--b-border-width-s) var(--b-color-background-primary),0 0 0 var(--b-border-width-l) var(--b-focus-ring-color)}}.b-checkbox-input__outline--error[data-v-b87bbaf9]{border:var(--b-checkbox-input-outline-unchecked-error-border)}.b-checkbox-input__outline--error[data-v-b87bbaf9]:checked{background-color:var(--b-checkbox-input-outline-checked-error-background-color);border-color:var(--b-checkbox-input-outline-checked-error-border-color)}.b-checkbox-input__outline--error[data-v-b87bbaf9]:indeterminate{background-color:var(--b-checkbox-input-outline-indeterminate-error-background-color);border-color:var(--b-checkbox-input-outline-indeterminate-error-border-color)}.b-checkbox-input__outline--readonly[data-v-b87bbaf9],.b-checkbox-input__outline--readonly[data-v-b87bbaf9]:checked,.b-checkbox-input__outline--readonly[data-v-b87bbaf9]:indeterminate{background-color:var(--b-checkbox-input-outline-readonly-background-color);border-color:var(--b-checkbox-input-outline-readonly-border-color)}.b-checkbox-input__icon[data-v-b87bbaf9]{color:var(--b-checkbox-input-icon-color);left:0;pointer-events:none;position:absolute;z-index:1}.b-checkbox-input--disabled .b-checkbox-input__icon[data-v-b87bbaf9]{color:var(--b-checkbox-input-icon-disabled-color)}.b-checkbox-input--readonly .b-checkbox-input__icon[data-v-b87bbaf9]{color:var(--b-checkbox-input-icon-readonly-color)}.b-listbox-multi-select-category[data-v-00ccd708]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.b-listbox-multi-select-category[data-v-00ccd708],.b-listbox-multi-select-category[data-v-00ccd708]:before,.b-listbox-multi-select-category[data-v-00ccd708]:after{box-sizing:border-box}.b-listbox-multi-select-category *[data-v-00ccd708],.b-listbox-multi-select-category *[data-v-00ccd708]:before,.b-listbox-multi-select-category *[data-v-00ccd708]:after{box-sizing:border-box}.b-listbox-multi-select-category[data-v-00ccd708] ::-webkit-scrollbar{height:14px;width:14px}.b-listbox-multi-select-category[data-v-00ccd708] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-listbox-multi-select-category--disabled[data-v-00ccd708]{cursor:not-allowed}.b-listbox-multi-select-category--disabled .b-listbox-multi-select-category__label-text[data-v-00ccd708]{color:var(--b-listbox-multi-select-category-disabled-label-text-color)}.b-listbox-multi-select-category--disabled .b-listbox-multi-select-category__label-chevron[data-v-00ccd708]{cursor:pointer}.b-listbox-multi-select-category--static-category[data-v-00ccd708]{gap:var(--b-listbox-multi-select-category-static-category-gap);pointer-events:none}.b-listbox-multi-select-category--static-category .b-listbox-multi-select-category__label-text[data-v-00ccd708]{color:var(--b-listbox-multi-select-category-static-category-label-text-color);padding:var(--b-listbox-option-padding)}.b-listbox-multi-select-category__label[data-v-00ccd708]{align-items:center;display:flex;justify-content:space-between;width:100%}.b-listbox-multi-select-category__label-chevron[data-v-00ccd708]{display:flex;position:relative}.b-listbox-multi-select-category__label-chevron[data-v-00ccd708]:before{content:"";height:36px;left:-10px;position:absolute;top:-9px;width:36px}.b-listbox-multi-select-category__option[data-v-00ccd708]{display:flex;gap:var(--b-listbox-multi-select-category-option-gap)}.b-listbox-multi-select-options[data-v-68986632]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:flex;gap:var(--b-listbox-multi-select-options-gap)}.b-listbox-multi-select-options[data-v-68986632],.b-listbox-multi-select-options[data-v-68986632]:before,.b-listbox-multi-select-options[data-v-68986632]:after{box-sizing:border-box}.b-listbox-multi-select-options[data-v-68986632] ::-webkit-scrollbar{height:14px;width:14px}.b-listbox-multi-select-options[data-v-68986632] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-listbox-multi-select-options__category-option[data-v-68986632]{padding-left:var(--b-listbox-multi-select-options-category-option-padding-left)}.b-listbox-multi-select-options__static-category-option[data-v-68986632]{padding-left:var(--b-listbox-multi-select-options-static-category-option-padding-left)}.b-listbox-multi-select[data-v-efcc8ad5]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.b-listbox-multi-select[data-v-efcc8ad5],.b-listbox-multi-select[data-v-efcc8ad5]:before,.b-listbox-multi-select[data-v-efcc8ad5]:after{box-sizing:border-box}.b-listbox-multi-select[data-v-efcc8ad5] ::-webkit-scrollbar{height:14px;width:14px}.b-listbox-multi-select[data-v-efcc8ad5] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-listbox-multi-select__divider[data-v-efcc8ad5]{background-color:var(--b-listbox-multi-select-divider-background-color);border:0;height:1px;margin:var(--b-listbox-multi-select-divider-margin)}.b-listbox-multi-select__option[data-v-efcc8ad5]{display:flex;gap:var(--b-listbox-multi-select-options-gap)}.b-listbox-multi-select__chips[data-v-efcc8ad5]{container-type:inline-size;display:flex;flex-wrap:wrap;gap:var(--b-listbox-multi-select-chips-gap);list-style-type:none;margin:0;padding:var(--b-listbox-multi-select-chips-padding)}.b-listbox[data-v-35cb3605]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--b-listbox-background-color);color:var(--b-listbox-color);overflow-y:auto;padding:var(--b-listbox-padding)}.b-listbox[data-v-35cb3605],.b-listbox[data-v-35cb3605]:before,.b-listbox[data-v-35cb3605]:after{box-sizing:border-box}.b-listbox *[data-v-35cb3605],.b-listbox *[data-v-35cb3605]:before,.b-listbox *[data-v-35cb3605]:after{box-sizing:border-box}.b-listbox[data-v-35cb3605] ::-webkit-scrollbar{height:14px;width:14px}.b-listbox[data-v-35cb3605] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-listbox__empty-search-message[data-v-35cb3605]{color:var(--b-listbox-empty-search-message-color);padding:var(--b-listbox-empty-search-message-padding);text-align:center}.b-listbox__empty-search-message[data-v-35cb3605] .b-empty-state__title{color:var(--b-listbox-empty-search-message-color)}.b-listbox__loading-filtered-items[data-v-35cb3605]{display:flex;justify-content:center}.b-listbox__lazy-load[data-v-35cb3605]{display:flex;justify-content:center;margin:var(--b-listbox-lazy-load-margin)}
|
|
1
|
+
.b-listbox-single-select-category[data-v-bfbc1649]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin-bottom:var(--b-spacer-070)}.b-listbox-single-select-category[data-v-bfbc1649],.b-listbox-single-select-category[data-v-bfbc1649]:before,.b-listbox-single-select-category[data-v-bfbc1649]:after{box-sizing:border-box}.b-listbox-single-select-category *[data-v-bfbc1649],.b-listbox-single-select-category *[data-v-bfbc1649]:before,.b-listbox-single-select-category *[data-v-bfbc1649]:after{box-sizing:border-box}.b-listbox-single-select-category[data-v-bfbc1649] ::-webkit-scrollbar{height:14px;width:14px}.b-listbox-single-select-category[data-v-bfbc1649] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-listbox-single-select-category[data-v-bfbc1649]:last-child{margin-bottom:0}.b-listbox-single-select-category__label-text[data-v-bfbc1649]{color:var(--b-color-label-secondary);padding:var(--b-spacer-040) var(--b-spacer-070)}.b-checkbox-input[data-v-c345b6c0]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer;display:flex;padding:var(--b-spacer-010) 0;position:relative}.b-checkbox-input[data-v-c345b6c0],.b-checkbox-input[data-v-c345b6c0]:before,.b-checkbox-input[data-v-c345b6c0]:after{box-sizing:border-box}.b-checkbox-input *[data-v-c345b6c0],.b-checkbox-input *[data-v-c345b6c0]:before,.b-checkbox-input *[data-v-c345b6c0]:after{box-sizing:border-box}.b-checkbox-input[data-v-c345b6c0] ::-webkit-scrollbar{height:14px;width:14px}.b-checkbox-input[data-v-c345b6c0] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-checkbox-input--disabled[data-v-c345b6c0],.b-checkbox-input--disabled *[data-v-c345b6c0]{cursor:not-allowed}.b-checkbox-input--readonly[data-v-c345b6c0],.b-checkbox-input--readonly *[data-v-c345b6c0]{pointer-events:none}.b-checkbox-input__outline[data-v-c345b6c0]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--b-border-radius-s);border-style:solid;border-width:var(--b-border-width-s);cursor:pointer;display:inline-block;flex-basis:16px;height:16px;margin:0;min-width:16px;outline:none;position:relative;text-align:center;width:16px}.b-checkbox-input__outline--unchecked[data-v-c345b6c0]{background-color:var(--b-color-background-primary);border-color:var(--b-color-outline-tertiary)}.b-checkbox-input__outline--unchecked[data-v-c345b6c0]:hover{background-color:var(--b-color-background-primary-hover);border-color:var(--b-color-outline-tertiary)}.b-checkbox-input__outline--unchecked[data-v-c345b6c0]:active{background-color:var(--b-color-background-primary-active);border-color:var(--b-color-outline-tertiary)}.b-checkbox-input--disabled .b-checkbox-input__outline--unchecked[data-v-c345b6c0]{background-color:var(--b-color-background-disabled);border-color:var(--b-color-outline-disabled);cursor:not-allowed}.b-checkbox-input__outline--checked[data-v-c345b6c0],.b-checkbox-input__outline[data-v-c345b6c0]:checked{background-color:var(--b-color-background-inverse-primary);border-color:var(--b-color-background-inverse-primary)}.b-checkbox-input__outline--checked[data-v-c345b6c0]:hover,.b-checkbox-input__icon:hover+.b-checkbox-input__outline--checked[data-v-c345b6c0]:not(:disabled),.b-checkbox-input__outline[data-v-c345b6c0]:checked:hover,.b-checkbox-input__icon:hover+.b-checkbox-input__outline[data-v-c345b6c0]:checked:not(:disabled){background-color:var(--b-color-background-inverse-primary-hover);border-color:var(--b-color-background-inverse-primary-hover)}.b-checkbox-input__outline--checked[data-v-c345b6c0]:active,.b-checkbox-input__outline[data-v-c345b6c0]:checked:active{background-color:var(--b-color-background-inverse-primary-active);border-color:var(--b-color-background-inverse-primary-active)}.b-checkbox-input--disabled .b-checkbox-input__outline--checked[data-v-c345b6c0],.b-checkbox-input--disabled .b-checkbox-input__outline[data-v-c345b6c0]:checked{background-color:var(--b-color-background-disabled);border-color:var(--b-color-background-disabled);cursor:not-allowed}.b-checkbox-input__outline--indeterminate[data-v-c345b6c0],.b-checkbox-input__outline[data-v-c345b6c0]:indeterminate{background-color:var(--b-color-background-inverse-primary);border-color:var(--b-color-background-inverse-primary)}.b-checkbox-input__outline--indeterminate[data-v-c345b6c0]:hover,.b-checkbox-input__outline[data-v-c345b6c0]:indeterminate:hover{background-color:var(--b-color-background-inverse-primary-hover);border-color:var(--b-color-background-inverse-primary-hover)}.b-checkbox-input__outline--indeterminate[data-v-c345b6c0]:active,.b-checkbox-input__outline[data-v-c345b6c0]:indeterminate:active{background-color:var(--b-color-background-inverse-primary-active);border-color:var(--b-color-background-inverse-primary-active)}.b-checkbox-input--disabled .b-checkbox-input__outline--indeterminate[data-v-c345b6c0],.b-checkbox-input--disabled .b-checkbox-input__outline[data-v-c345b6c0]:indeterminate{background-color:var(--b-color-background-disabled);border-color:var(--b-color-background-disabled);cursor:not-allowed}.b-checkbox-input__outline[data-v-c345b6c0]:focus-visible{animation:outer-ring-default-c345b6c0 var(--b-animation-duration-fast) var(--b-animation-easing-standard);box-shadow:0 0 0 var(--b-focus-ring-spacer) var(--b-color-background-primary),0 0 0 var(--b-focus-ring-outline) var(--b-focus-ring-color)}@keyframes outer-ring-default-c345b6c0{0%{box-shadow:0 0 0 var(--b-border-width-s) var(--b-color-background-primary),0 0 0 0 var(--b-focus-ring-color)}to{box-shadow:0 0 0 var(--b-border-width-s) var(--b-color-background-primary),0 0 0 var(--b-border-width-l) var(--b-focus-ring-color)}}.b-checkbox-input__outline--error[data-v-c345b6c0]{border:1.5px solid var(--b-color-outline-critical)}.b-checkbox-input__outline--error[data-v-c345b6c0]:checked{background-color:var(--b-color-background-critical-strong);border-color:var(--b-color-outline-critical)}.b-checkbox-input__outline--error[data-v-c345b6c0]:indeterminate{background-color:var(--b-color-background-critical-strong);border-color:var(--b-color-outline-critical)}.b-checkbox-input__outline--readonly[data-v-c345b6c0],.b-checkbox-input__outline--readonly[data-v-c345b6c0]:checked,.b-checkbox-input__outline--readonly[data-v-c345b6c0]:indeterminate{background-color:var(--b-color-background-disabled);border-color:var(--b-color-outline-disabled)}.b-checkbox-input__icon[data-v-c345b6c0]{color:var(--b-color-label-inverse-primary);left:0;pointer-events:none;position:absolute;z-index:1}.b-checkbox-input--disabled .b-checkbox-input__icon[data-v-c345b6c0]{color:var(--b-color-label-disabled)}.b-checkbox-input--readonly .b-checkbox-input__icon[data-v-c345b6c0]{color:var(--b-color-label-primary)}.b-listbox-option[data-v-c345b6c0]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer;overflow-wrap:anywhere;padding:var(--b-spacer-040) var(--b-spacer-070)}.b-listbox-option[data-v-c345b6c0],.b-listbox-option[data-v-c345b6c0]:before,.b-listbox-option[data-v-c345b6c0]:after{box-sizing:border-box}.b-listbox-option[data-v-c345b6c0] ::-webkit-scrollbar{height:14px;width:14px}.b-listbox-option[data-v-c345b6c0] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}@media(hover:hover){.b-listbox-option[data-v-c345b6c0]:hover:not(.b-listbox-option--disabled){background-color:var(--b-color-background-modal-hover)}.b-listbox-option[data-v-c345b6c0]:hover:not(.b-listbox-option--disabled) .b-checkbox-input__outline--unchecked{background-color:var(--b-color-background-primary-hover);border-color:var(--b-color-outline-tertiary)}.b-listbox-option[data-v-c345b6c0]:hover:not(.b-listbox-option--disabled) .b-checkbox-input__outline--checked{background-color:var(--b-color-background-inverse-primary-hover);border-color:var(--b-color-background-inverse-primary-hover)}.b-listbox-option[data-v-c345b6c0]:hover:not(.b-listbox-option--disabled) .b-checkbox-input__outline--indeterminate{background-color:var(--b-color-background-inverse-primary-hover);border-color:var(--b-color-background-inverse-primary-hover)}.b-listbox-option[data-v-c345b6c0]:hover:not(.b-listbox-option--disabled),.b-listbox-option[data-v-c345b6c0]:hover:not(.b-listbox-option--disabled) .b-avatar__label,.b-listbox-option[data-v-c345b6c0]:hover:not(.b-listbox-option--disabled) .b-country__label,.b-listbox-option[data-v-c345b6c0]:hover:not(.b-listbox-option--disabled) .b-payment-method__label{color:var(--b-color-label-primary)}}.b-listbox-option[data-v-c345b6c0]:focus-visible{outline:none;box-shadow:inset 0 0 0 var(--b-border-width-m) var(--b-focus-ring-color),inset 0 0 0 var(--b-border-width-l) var(--b-color-background-primary)}.b-listbox-option[data-v-c345b6c0]:active:not(.b-listbox-option--disabled){background-color:var(--b-color-background-modal-active)}.b-listbox-option[data-v-c345b6c0]:active:not(.b-listbox-option--disabled),.b-listbox-option[data-v-c345b6c0]:active:not(.b-listbox-option--disabled) .b-avatar__label,.b-listbox-option[data-v-c345b6c0]:active:not(.b-listbox-option--disabled) .b-country__label,.b-listbox-option[data-v-c345b6c0]:active:not(.b-listbox-option--disabled) .b-payment-method__label{color:var(--b-color-label-primary)}.b-listbox-option[data-v-c345b6c0] .b-listbox-single-select-option__text,.b-listbox-option[data-v-c345b6c0] .b-listbox-multi-select__option-text{display:flex;flex-direction:column}.b-listbox-option[data-v-c345b6c0] .b-listbox-single-select-option__description,.b-listbox-option[data-v-c345b6c0] .b-listbox-multi-select__option-description{margin-top:var(--b-spacer-020)}.b-listbox-option[data-v-c345b6c0]:not(.b-listbox-option--disabled) .b-listbox-single-select-option__description,.b-listbox-option[data-v-c345b6c0]:not(.b-listbox-option--disabled) .b-listbox-multi-select__option-description{color:var(--b-color-label-secondary)}.b-listbox-option--disabled[data-v-c345b6c0]{cursor:not-allowed}.b-listbox-option--disabled[data-v-c345b6c0],.b-listbox-option--disabled[data-v-c345b6c0] .b-avatar__label,.b-listbox-option--disabled[data-v-c345b6c0] .b-country__label,.b-listbox-option--disabled[data-v-c345b6c0] .b-payment-method__label{color:var(--b-color-label-disabled)}.b-listbox-option--selected[data-v-c345b6c0]:not(.b-listbox-option--disabled){background-color:var(--b-color-background-modal-active)}.b-listbox-option--selected[data-v-c345b6c0]:not(.b-listbox-option--disabled),.b-listbox-option--selected[data-v-c345b6c0]:not(.b-listbox-option--disabled) .b-avatar__label,.b-listbox-option--selected[data-v-c345b6c0]:not(.b-listbox-option--disabled) .b-country__label,.b-listbox-option--selected[data-v-c345b6c0]:not(.b-listbox-option--disabled) .b-payment-method__label{color:var(--b-color-label-primary)}.b-listbox-option--selected[data-v-c345b6c0]:not(.b-listbox-option--disabled) .b-listbox-single-select-option__description:not(.b-listbox-option--disabled),.b-listbox-option--selected[data-v-c345b6c0]:not(.b-listbox-option--disabled) .b-listbox-multi-select__option-description:not(.b-listbox-option--disabled){color:var(--b-color-label-secondary)}.b-listbox-single-select-option[data-v-bb14d75a]{display:flex;justify-content:space-between}.b-listbox-single-select-option__check-icon[data-v-bb14d75a]{align-items:center;display:flex;margin-left:var(--b-spacer-070)}.b-checkbox-input[data-v-b87bbaf9]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer;display:flex;padding:var(--b-spacer-010) 0;position:relative}.b-checkbox-input[data-v-b87bbaf9],.b-checkbox-input[data-v-b87bbaf9]:before,.b-checkbox-input[data-v-b87bbaf9]:after{box-sizing:border-box}.b-checkbox-input *[data-v-b87bbaf9],.b-checkbox-input *[data-v-b87bbaf9]:before,.b-checkbox-input *[data-v-b87bbaf9]:after{box-sizing:border-box}.b-checkbox-input[data-v-b87bbaf9] ::-webkit-scrollbar{height:14px;width:14px}.b-checkbox-input[data-v-b87bbaf9] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-checkbox-input--disabled[data-v-b87bbaf9],.b-checkbox-input--disabled *[data-v-b87bbaf9]{cursor:not-allowed}.b-checkbox-input--readonly[data-v-b87bbaf9],.b-checkbox-input--readonly *[data-v-b87bbaf9]{pointer-events:none}.b-checkbox-input__outline[data-v-b87bbaf9]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--b-border-radius-s);border-style:solid;border-width:var(--b-border-width-s);cursor:pointer;display:inline-block;flex-basis:16px;height:16px;margin:0;min-width:16px;outline:none;position:relative;text-align:center;width:16px}.b-checkbox-input__outline--unchecked[data-v-b87bbaf9]{background-color:var(--b-color-background-primary);border-color:var(--b-color-outline-tertiary)}.b-checkbox-input__outline--unchecked[data-v-b87bbaf9]:hover{background-color:var(--b-color-background-primary-hover);border-color:var(--b-color-outline-tertiary)}.b-checkbox-input__outline--unchecked[data-v-b87bbaf9]:active{background-color:var(--b-color-background-primary-active);border-color:var(--b-color-outline-tertiary)}.b-checkbox-input--disabled .b-checkbox-input__outline--unchecked[data-v-b87bbaf9]{background-color:var(--b-color-background-disabled);border-color:var(--b-color-outline-disabled);cursor:not-allowed}.b-checkbox-input__outline--checked[data-v-b87bbaf9],.b-checkbox-input__outline[data-v-b87bbaf9]:checked{background-color:var(--b-color-background-inverse-primary);border-color:var(--b-color-background-inverse-primary)}.b-checkbox-input__outline--checked[data-v-b87bbaf9]:hover,.b-checkbox-input__icon:hover+.b-checkbox-input__outline--checked[data-v-b87bbaf9]:not(:disabled),.b-checkbox-input__outline[data-v-b87bbaf9]:checked:hover,.b-checkbox-input__icon:hover+.b-checkbox-input__outline[data-v-b87bbaf9]:checked:not(:disabled){background-color:var(--b-color-background-inverse-primary-hover);border-color:var(--b-color-background-inverse-primary-hover)}.b-checkbox-input__outline--checked[data-v-b87bbaf9]:active,.b-checkbox-input__outline[data-v-b87bbaf9]:checked:active{background-color:var(--b-color-background-inverse-primary-active);border-color:var(--b-color-background-inverse-primary-active)}.b-checkbox-input--disabled .b-checkbox-input__outline--checked[data-v-b87bbaf9],.b-checkbox-input--disabled .b-checkbox-input__outline[data-v-b87bbaf9]:checked{background-color:var(--b-color-background-disabled);border-color:var(--b-color-background-disabled);cursor:not-allowed}.b-checkbox-input__outline--indeterminate[data-v-b87bbaf9],.b-checkbox-input__outline[data-v-b87bbaf9]:indeterminate{background-color:var(--b-color-background-inverse-primary);border-color:var(--b-color-background-inverse-primary)}.b-checkbox-input__outline--indeterminate[data-v-b87bbaf9]:hover,.b-checkbox-input__outline[data-v-b87bbaf9]:indeterminate:hover{background-color:var(--b-color-background-inverse-primary-hover);border-color:var(--b-color-background-inverse-primary-hover)}.b-checkbox-input__outline--indeterminate[data-v-b87bbaf9]:active,.b-checkbox-input__outline[data-v-b87bbaf9]:indeterminate:active{background-color:var(--b-color-background-inverse-primary-active);border-color:var(--b-color-background-inverse-primary-active)}.b-checkbox-input--disabled .b-checkbox-input__outline--indeterminate[data-v-b87bbaf9],.b-checkbox-input--disabled .b-checkbox-input__outline[data-v-b87bbaf9]:indeterminate{background-color:var(--b-color-background-disabled);border-color:var(--b-color-background-disabled);cursor:not-allowed}.b-checkbox-input__outline[data-v-b87bbaf9]:focus-visible{animation:outer-ring-default-b87bbaf9 var(--b-animation-duration-fast) var(--b-animation-easing-standard);box-shadow:0 0 0 var(--b-focus-ring-spacer) var(--b-color-background-primary),0 0 0 var(--b-focus-ring-outline) var(--b-focus-ring-color)}@keyframes outer-ring-default-b87bbaf9{0%{box-shadow:0 0 0 var(--b-border-width-s) var(--b-color-background-primary),0 0 0 0 var(--b-focus-ring-color)}to{box-shadow:0 0 0 var(--b-border-width-s) var(--b-color-background-primary),0 0 0 var(--b-border-width-l) var(--b-focus-ring-color)}}.b-checkbox-input__outline--error[data-v-b87bbaf9]{border:1.5px solid var(--b-color-outline-critical)}.b-checkbox-input__outline--error[data-v-b87bbaf9]:checked{background-color:var(--b-color-background-critical-strong);border-color:var(--b-color-outline-critical)}.b-checkbox-input__outline--error[data-v-b87bbaf9]:indeterminate{background-color:var(--b-color-background-critical-strong);border-color:var(--b-color-outline-critical)}.b-checkbox-input__outline--readonly[data-v-b87bbaf9],.b-checkbox-input__outline--readonly[data-v-b87bbaf9]:checked,.b-checkbox-input__outline--readonly[data-v-b87bbaf9]:indeterminate{background-color:var(--b-color-background-disabled);border-color:var(--b-color-outline-disabled)}.b-checkbox-input__icon[data-v-b87bbaf9]{color:var(--b-color-label-inverse-primary);left:0;pointer-events:none;position:absolute;z-index:1}.b-checkbox-input--disabled .b-checkbox-input__icon[data-v-b87bbaf9]{color:var(--b-color-label-disabled)}.b-checkbox-input--readonly .b-checkbox-input__icon[data-v-b87bbaf9]{color:var(--b-color-label-primary)}.b-listbox-multi-select-category[data-v-00ccd708]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.b-listbox-multi-select-category[data-v-00ccd708],.b-listbox-multi-select-category[data-v-00ccd708]:before,.b-listbox-multi-select-category[data-v-00ccd708]:after{box-sizing:border-box}.b-listbox-multi-select-category *[data-v-00ccd708],.b-listbox-multi-select-category *[data-v-00ccd708]:before,.b-listbox-multi-select-category *[data-v-00ccd708]:after{box-sizing:border-box}.b-listbox-multi-select-category[data-v-00ccd708] ::-webkit-scrollbar{height:14px;width:14px}.b-listbox-multi-select-category[data-v-00ccd708] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-listbox-multi-select-category--disabled[data-v-00ccd708]{cursor:not-allowed}.b-listbox-multi-select-category--disabled .b-listbox-multi-select-category__label-text[data-v-00ccd708]{color:var(--b-color-label-disabled)}.b-listbox-multi-select-category--disabled .b-listbox-multi-select-category__label-chevron[data-v-00ccd708]{cursor:pointer}.b-listbox-multi-select-category--static-category[data-v-00ccd708]{gap:var(--b-spacer-070);pointer-events:none}.b-listbox-multi-select-category--static-category .b-listbox-multi-select-category__label-text[data-v-00ccd708]{color:var(--b-color-label-secondary);padding:var(--b-spacer-040) var(--b-spacer-070)}.b-listbox-multi-select-category__label[data-v-00ccd708]{align-items:center;display:flex;justify-content:space-between;width:100%}.b-listbox-multi-select-category__label-chevron[data-v-00ccd708]{display:flex;position:relative}.b-listbox-multi-select-category__label-chevron[data-v-00ccd708]:before{content:"";height:36px;left:-10px;position:absolute;top:-9px;width:36px}.b-listbox-multi-select-category__option[data-v-00ccd708]{display:flex;gap:var(--b-spacer-070)}.b-listbox-multi-select-options[data-v-68986632]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:flex;gap:var(--b-spacer-070)}.b-listbox-multi-select-options[data-v-68986632],.b-listbox-multi-select-options[data-v-68986632]:before,.b-listbox-multi-select-options[data-v-68986632]:after{box-sizing:border-box}.b-listbox-multi-select-options[data-v-68986632] ::-webkit-scrollbar{height:14px;width:14px}.b-listbox-multi-select-options[data-v-68986632] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-listbox-multi-select-options__category-option[data-v-68986632]{padding-left:var(--b-spacer-100)}.b-listbox-multi-select-options__static-category-option[data-v-68986632]{padding-left:var(--b-spacer-070)}.b-listbox-multi-select[data-v-efcc8ad5]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.b-listbox-multi-select[data-v-efcc8ad5],.b-listbox-multi-select[data-v-efcc8ad5]:before,.b-listbox-multi-select[data-v-efcc8ad5]:after{box-sizing:border-box}.b-listbox-multi-select[data-v-efcc8ad5] ::-webkit-scrollbar{height:14px;width:14px}.b-listbox-multi-select[data-v-efcc8ad5] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-listbox-multi-select__divider[data-v-efcc8ad5]{background-color:var(--b-color-separator-primary);border:0;height:1px;margin:var(--b-spacer-040) var(--b-spacer-000)}.b-listbox-multi-select__option[data-v-efcc8ad5]{display:flex;gap:var(--b-spacer-070)}.b-listbox-multi-select__chips[data-v-efcc8ad5]{container-type:inline-size;display:flex;flex-wrap:wrap;gap:var(--b-spacer-030);list-style-type:none;margin:0;padding:0 var(--b-spacer-070)}.b-listbox[data-v-35cb3605]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--b-color-background-modal);color:var(--b-color-label-primary);overflow-y:auto;padding:var(--b-spacer-040) 0}.b-listbox[data-v-35cb3605],.b-listbox[data-v-35cb3605]:before,.b-listbox[data-v-35cb3605]:after{box-sizing:border-box}.b-listbox *[data-v-35cb3605],.b-listbox *[data-v-35cb3605]:before,.b-listbox *[data-v-35cb3605]:after{box-sizing:border-box}.b-listbox[data-v-35cb3605] ::-webkit-scrollbar{height:14px;width:14px}.b-listbox[data-v-35cb3605] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-listbox__empty-search-message[data-v-35cb3605]{color:var(--b-color-label-secondary);padding:var(--b-spacer-040) var(--b-spacer-070);text-align:center}.b-listbox__empty-search-message[data-v-35cb3605] .b-empty-state__title{color:var(--b-color-label-secondary)}.b-listbox__loading-filtered-items[data-v-35cb3605]{display:flex;justify-content:center}.b-listbox__lazy-load[data-v-35cb3605]{display:flex;justify-content:center;margin:var(--b-spacer-040) 0}
|
package/dist/button.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as n, b as B, a } from "./chunks/button.
|
|
2
|
-
import { a as s } from "./chunks/ai-button.
|
|
3
|
-
import { B as r, a as i, b as c, c as p } from "./chunks/button-actions.
|
|
1
|
+
import { B as n, b as B, a } from "./chunks/button.DIU6m9wD.js";
|
|
2
|
+
import { a as s } from "./chunks/ai-button.BEy4Gly-.js";
|
|
3
|
+
import { B as r, a as i, b as c, c as p } from "./chunks/button-actions.D9n7MxWe.js";
|
|
4
4
|
import { B as A, a as L, b as d } from "./chunks/button-actions.types.BptAXjD8.js";
|
|
5
5
|
export {
|
|
6
6
|
s as BentoAiButton,
|
package/dist/card.js
CHANGED
package/dist/checkbox.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as t, a } from "./chunks/checkbox.
|
|
1
|
+
import { B as t, a } from "./chunks/checkbox.CU5ierOq.js";
|
|
2
2
|
import { C as x } from "./chunks/minus-small.DJacLGTw.js";
|
|
3
|
-
import { B, a as C } from "./chunks/checkbox-group.
|
|
3
|
+
import { B, a as C } from "./chunks/checkbox-group.BCnhjQie.js";
|
|
4
4
|
export {
|
|
5
5
|
t as BentoCheckbox,
|
|
6
6
|
a as BentoCheckboxEvent,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as O, computed as c, ref as b, toRefs as P, watch as g, provide as V, nextTick as B } from "vue";
|
|
2
|
-
import { B as R } from "./button.
|
|
2
|
+
import { B as R } from "./button.DIU6m9wD.js";
|
|
3
3
|
import { B as F } from "./typography.Bq-EGj9y.js";
|
|
4
|
-
import { B as W } from "./button-actions-with-menu.
|
|
4
|
+
import { B as W } from "./button-actions-with-menu.B5mKwc-F.js";
|
|
5
5
|
import { C as L } from "./cross.CC_B-vG-.js";
|
|
6
6
|
import { u as k } from "./index.B6WW_F-J.js";
|
|
7
7
|
import { u as M } from "./index.BDK4hwK_.js";
|
|
8
|
-
import { P as U, B as z } from "./button-actions.
|
|
8
|
+
import { P as U, B as z } from "./button-actions.D9n7MxWe.js";
|
|
9
9
|
import { n as D } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
10
10
|
import "../assets/action-bar.css";
|
|
11
11
|
const G = {
|
|
@@ -18,17 +18,19 @@ const G = {
|
|
|
18
18
|
unsavedChanges: "unsaved change | unsaved changes"
|
|
19
19
|
},
|
|
20
20
|
"ja-JP": {
|
|
21
|
+
actionBar: "アクションバー",
|
|
21
22
|
cancel: "キャンセル",
|
|
22
23
|
close: "閉じる",
|
|
23
24
|
save: "保存",
|
|
24
25
|
selected: "選択済み",
|
|
25
|
-
unsavedChanges: "未保存の変更"
|
|
26
|
+
unsavedChanges: "未保存の変更 | 未保存の変更"
|
|
26
27
|
},
|
|
27
28
|
"pt-BR": {
|
|
29
|
+
actionBar: "Barra de ação",
|
|
28
30
|
cancel: "Cancelar",
|
|
29
31
|
close: "Fechar",
|
|
30
32
|
save: "Salvar",
|
|
31
|
-
selected: "
|
|
33
|
+
selected: "Selecionado",
|
|
32
34
|
unsavedChanges: "alteração não salva | alterações não salvas"
|
|
33
35
|
}
|
|
34
36
|
}, J = {
|
|
@@ -157,4 +159,4 @@ const st = Y.exports;
|
|
|
157
159
|
export {
|
|
158
160
|
st as B
|
|
159
161
|
};
|
|
160
|
-
//# sourceMappingURL=action-bar.
|
|
162
|
+
//# sourceMappingURL=action-bar.y4tcdk7R.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-bar.C2GnRugW.js","sources":["../../src/components/action-bar/action-bar.vue"],"sourcesContent":["<template>\n <Transition name=\"b-action-bar__animation\" appear>\n <section class=\"b-action-bar\" :class=\"conditionalClasses\" :aria-label=\"t('actionBar')\">\n <div ref=\"actionBar\" class=\"b-action-bar__container\">\n <div v-if=\"!isConfirmationVariant\" class=\"b-action-bar__close-button\">\n <bento-button variant=\"tertiary\" inverse :aria-label=\"t('close')\" @click=\"emit('close')\">\n <template #iconLeft><cross-icon :aria-hidden=\"true\" /></template>\n </bento-button>\n </div>\n <bento-typography el=\"span\" stronger class=\"b-action-bar__selection\">\n {{ n(itemCounter) }}\n {{ isConfirmationVariant ? tc('unsavedChanges', itemCounter) : label }}\n </bento-typography>\n <bento-button-actions\n v-if=\"isConfirmationVariant\"\n :actions=\"confirmationActions\"\n class=\"b-action-bar__actions\"\n inverse\n />\n <button-actions-with-menu\n v-else\n :actions=\"actionsInternal\"\n class=\"b-action-bar__actions\"\n :displayed-actions=\"internalDisplayedActions\"\n menu-position=\"top-end\"\n disable-responsive-behavior\n inverse\n />\n </div>\n </section>\n </Transition>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, nextTick, type PropType, provide, ref, toRefs, watch } from 'vue';\n import { BentoButton, BentoButtonActions, type BentoButtonActionsList } from '@/components/button';\n import { BentoTypography } from '@/components/typography';\n\n import { type BentoActionBarVariant } from '@/components/action-bar/action-bar.types';\n import ButtonActionsWithMenu from '@/components/internal/button-actions-with-menu/button-actions-with-menu.vue';\n import CrossIcon from '@adyen/ui-assets-icons-16/vue/cross';\n\n import { useI18n } from '@/utils/ts/i18n';\n import { useWindowSize } from '@vueuse/core';\n\n import messages from './messages.json';\n import { POPOVER_OFFSET_INJECTION_KEY } from '@/components/popover/popover.keys';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n // Constants\n const AVERAGE_BUTTON_SIZE = 100;\n const MENU_OFFSET = 7;\n const RESPONSIVE_BREAKPOINT = 500;\n const SPACING = 32;\n\n const props = defineProps({\n /**\n * List of actions that will be used to render the buttons.\n * Required and used for the `default` variant.\n *\n * Each object in the list should have a `title`, an `event` and,\n * optionally, an `icon`.\n *\n * The component will display 4 actions and the hide the rest inside a menu.\n *\n * @see BentoButton for a list of all the other props supported by each button action.\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: () => [],\n },\n /**\n * How many actions should be visible outside the menu, cannot be more than 4\n */\n visibleActions: {\n type: Number,\n default: 4,\n validator: (value: number) => value > 0 && value <= 4,\n },\n /**\n * Use when there are sticky elements at the bottom, like sticky pagination\n */\n extraBottomSpacing: {\n type: Boolean,\n default: false,\n },\n /**\n * Show how many items are selected\n */\n itemCounter: {\n type: Number,\n required: true,\n },\n /**\n * Label for the selection, e.g. 'selected'/'changed'\n */\n selectionLabel: {\n type: String,\n default: null,\n },\n /**\n * Variant for the action bar\n * @values default, confirmation\n */\n variant: {\n type: String as PropType<BentoActionBarVariant>,\n default: 'default',\n },\n });\n\n const emit = defineEmits([\"close\", \"cancel\", \"save\"]);\n\n const { t, tc, n } = useI18n<{ message: MessageSchema }>({ messages });\n const label = computed(() => (props.selectionLabel ? props.selectionLabel : t('selected')));\n\n // Refs\n const actionBar = ref<HTMLDivElement>(null);\n const { extraBottomSpacing, visibleActions } = toRefs(props);\n const { width } = useWindowSize();\n const internalDisplayedActions = ref(null);\n const internalVisibleActions = ref(null);\n\n const isConfirmationVariant = computed(() => props.variant === 'confirmation');\n\n watch(\n () => visibleActions.value,\n value => {\n internalVisibleActions.value = value <= 4 ? value : 4;\n internalDisplayedActions.value = internalVisibleActions.value;\n },\n { immediate: true }\n );\n\n // Styling\n const conditionalClasses = computed(() => ({\n 'b-action-bar--extra-spacing': extraBottomSpacing.value,\n 'b-action-bar--confirmation': isConfirmationVariant.value,\n }));\n\n // Provide POPOVER_OFFSET_INJECTION_KEY to change the value of the popover offset\n provide(POPOVER_OFFSET_INJECTION_KEY, MENU_OFFSET);\n\n // Manipulate actions array to display as intended\n const actionsInternal = computed(() => {\n // All buttons should be of type secondary in the action bar\n const actions = props.actions.map(action => ({\n ...action,\n variant: 'secondary',\n })) as BentoButtonActionsList;\n // Shown actions should display from left to right in action bar, instead of right to left which is the button actions default\n const shownActions = actions.slice(0, internalDisplayedActions.value).reverse();\n const hiddenActions = actions.slice(internalDisplayedActions.value);\n\n return [...shownActions, ...hiddenActions];\n });\n\n const confirmationActions = computed<BentoButtonActionsList>(() => [\n {\n title: t('save'),\n event: () => emit('save'),\n },\n {\n title: t('cancel'),\n variant: 'secondary',\n event: () => emit('cancel'),\n },\n ]);\n\n // Recursive functions to determine how many actions should be visible/hidden based on the screens width\n const showActions = async () => {\n await nextTick();\n if (\n width.value > actionBar.value.clientWidth + SPACING + AVERAGE_BUTTON_SIZE &&\n internalDisplayedActions.value < internalVisibleActions.value\n ) {\n internalDisplayedActions.value += 1;\n showActions();\n }\n };\n\n const hideActions = async () => {\n await nextTick();\n if (width.value < actionBar.value.clientWidth + SPACING && internalDisplayedActions.value > 0) {\n internalDisplayedActions.value -= 1;\n hideActions();\n }\n };\n\n // Screen width watcher to toggle hidden/visible actions\n watch(\n () => width.value,\n async (newValue, oldValue) => {\n await nextTick();\n if (!actionBar.value) {\n return;\n }\n const isIncreasing = newValue > oldValue;\n if (width.value < RESPONSIVE_BREAKPOINT) {\n internalDisplayedActions.value = 0;\n } else if (isIncreasing) {\n showActions();\n } else {\n hideActions();\n }\n },\n { immediate: true }\n );\n</script>\n\n<script lang=\"ts\">\n /**\n * Action bar is a floating bar that provides users with quick access to key actions that can be applied to one or multiple items.\n *\n * @example\n * import { BentoActionBar } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoActionBar },\n * template: `\n * <bento-action-bar\n * :actions='[\n * {\n * title: 'Delete',\n * critical: true,\n * icon: BinIcon,\n * event: () => true,\n * },\n * {\n * title: 'Edit',\n * icon: EditIcon,\n * event: () => true,\n * }\n * ]'\n * @close=\"closeAction\"\n * :item-counter=\"5\"\n * />\n * `\n * }\n */\n export default {\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./action-bar.scss\" />\n"],"names":["__default__","messages","AVERAGE_BUTTON_SIZE","MENU_OFFSET","RESPONSIVE_BREAKPOINT","SPACING","t","tc","n","useI18n","label","computed","props","actionBar","ref","extraBottomSpacing","visibleActions","toRefs","width","useWindowSize","internalDisplayedActions","internalVisibleActions","isConfirmationVariant","watch","value","conditionalClasses","provide","POPOVER_OFFSET_INJECTION_KEY","actionsInternal","actions","action","shownActions","hiddenActions","confirmationActions","emit","showActions","nextTick","hideActions","newValue","oldValue","isIncreasing"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgPIA,IAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAEf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA/LAC,IAAA,KACAC,IAAA,GACAC,IAAA,KACAC,IAAA,IA2DA,EAAA,GAAAC,GAAA,IAAAC,GAAA,GAAAC,EAAA,IAAAC,EAAA,GACAC,IAAAC,EAAA,MAAAC,EAAA,iBAAAA,EAAA,iBAAAN,EAAA,UAAA,CAAA,GAGAO,IAAAC,EAAA,IAAA,GACA,EAAA,oBAAAC,GAAA,gBAAAC,EAAA,IAAAC,EAAAL,CAAA,GACA,EAAA,OAAAM,EAAA,IAAAC,EAAA,GACAC,IAAAN,EAAA,IAAA,GACAO,IAAAP,EAAA,IAAA,GAEAQ,IAAAX,EAAA,MAAAC,EAAA,YAAA,cAAA;AAEA,IAAAW;AAAA,MAAA,MAAAP,EAAA;AAAA,MACyB,CAAAQ,MAAA;AAEjB,QAAAH,EAAA,QAAAG,KAAA,IAAAA,IAAA,GACAJ,EAAA,QAAAC,EAAA;AAAA,MAAwD;AAAA,MAC5D,EAAA,WAAA,GAAA;AAAA,IACkB;AAItB,UAAAI,IAAAd,EAAA,OAAA;AAAA,MAA2C,+BAAAI,EAAA;AAAA,MACW,8BAAAO,EAAA;AAAA,IACE,EAAA;AAIxD,IAAAI,EAAAC,GAAAxB,CAAA;AAGA,UAAAyB,IAAAjB,EAAA,MAAA;AAEI,YAAAkB,IAAAjB,EAAA,QAAA,IAAA,CAAAkB,OAAA;AAAA,QAA6C,GAAAA;AAAA,QACtC,SAAA;AAAA,MACM,EAAA,GAGbC,IAAAF,EAAA,MAAA,GAAAT,EAAA,KAAA,EAAA,QAAA,GACAY,IAAAH,EAAA,MAAAT,EAAA,KAAA;AAEA,aAAA,CAAA,GAAAW,GAAA,GAAAC,CAAA;AAAA,IAAyC,CAAA,GAG7CC,IAAAtB,EAAA,MAAA;AAAA,MAAmE;AAAA,QAC/D,OAAAL,EAAA,MAAA;AAAA,QACmB,OAAA,MAAA4B,EAAA,MAAA;AAAA,MACS;AAAA,MAC5B;AAAA,QACA,OAAA5B,EAAA,QAAA;AAAA,QACqB,SAAA;AAAA,QACR,OAAA,MAAA4B,EAAA,QAAA;AAAA,MACiB;AAAA,IAC9B,CAAA,GAIJC,IAAA,YAAA;AACI,YAAAC,EAAA,GACAlB,EAAA,QAAAL,EAAA,MAAA,cAAAR,IAAAH,KAAAkB,EAAA,QAAAC,EAAA,UAIID,EAAA,SAAA,GACAe,EAAA;AAAA,IACJ,GAGJE,IAAA,YAAA;AACI,YAAAD,EAAA,GACAlB,EAAA,QAAAL,EAAA,MAAA,cAAAR,KAAAe,EAAA,QAAA,MACIA,EAAA,SAAA,GACAiB,EAAA;AAAA,IACJ;AAIJ,WAAAd;AAAA,MAAA,MAAAL,EAAA;AAAA,MACgB,OAAAoB,GAAAC,MAAA;AAGR,YADA,MAAAH,EAAA,GACA,CAAAvB,EAAA;AACI;AAEJ,cAAA2B,IAAAF,IAAAC;AACA,QAAArB,EAAA,QAAAd,IACIgB,EAAA,QAAA,IAAiCoB,IAEjCL,EAAA,IAEAE,EAAA;AAAA,MACJ;AAAA,MACJ,EAAA,WAAA,GAAA;AAAA,IACkB;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"action-bar.y4tcdk7R.js","sources":["../../src/components/action-bar/action-bar.vue"],"sourcesContent":["<template>\n <Transition name=\"b-action-bar__animation\" appear>\n <section class=\"b-action-bar\" :class=\"conditionalClasses\" :aria-label=\"t('actionBar')\">\n <div ref=\"actionBar\" class=\"b-action-bar__container\">\n <div v-if=\"!isConfirmationVariant\" class=\"b-action-bar__close-button\">\n <bento-button variant=\"tertiary\" inverse :aria-label=\"t('close')\" @click=\"emit('close')\">\n <template #iconLeft><cross-icon :aria-hidden=\"true\" /></template>\n </bento-button>\n </div>\n <bento-typography el=\"span\" stronger class=\"b-action-bar__selection\">\n {{ n(itemCounter) }}\n {{ isConfirmationVariant ? tc('unsavedChanges', itemCounter) : label }}\n </bento-typography>\n <bento-button-actions\n v-if=\"isConfirmationVariant\"\n :actions=\"confirmationActions\"\n class=\"b-action-bar__actions\"\n inverse\n />\n <button-actions-with-menu\n v-else\n :actions=\"actionsInternal\"\n class=\"b-action-bar__actions\"\n :displayed-actions=\"internalDisplayedActions\"\n menu-position=\"top-end\"\n disable-responsive-behavior\n inverse\n />\n </div>\n </section>\n </Transition>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, nextTick, type PropType, provide, ref, toRefs, watch } from 'vue';\n import { BentoButton, BentoButtonActions, type BentoButtonActionsList } from '@/components/button';\n import { BentoTypography } from '@/components/typography';\n\n import { type BentoActionBarVariant } from '@/components/action-bar/action-bar.types';\n import ButtonActionsWithMenu from '@/components/internal/button-actions-with-menu/button-actions-with-menu.vue';\n import CrossIcon from '@adyen/ui-assets-icons-16/vue/cross';\n\n import { useI18n } from '@/utils/ts/i18n';\n import { useWindowSize } from '@vueuse/core';\n\n import messages from './messages.json';\n import { POPOVER_OFFSET_INJECTION_KEY } from '@/components/popover/popover.keys';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n // Constants\n const AVERAGE_BUTTON_SIZE = 100;\n const MENU_OFFSET = 7;\n const RESPONSIVE_BREAKPOINT = 500;\n const SPACING = 32;\n\n const props = defineProps({\n /**\n * List of actions that will be used to render the buttons.\n * Required and used for the `default` variant.\n *\n * Each object in the list should have a `title`, an `event` and,\n * optionally, an `icon`.\n *\n * The component will display 4 actions and the hide the rest inside a menu.\n *\n * @see BentoButton for a list of all the other props supported by each button action.\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: () => [],\n },\n /**\n * How many actions should be visible outside the menu, cannot be more than 4\n */\n visibleActions: {\n type: Number,\n default: 4,\n validator: (value: number) => value > 0 && value <= 4,\n },\n /**\n * Use when there are sticky elements at the bottom, like sticky pagination\n */\n extraBottomSpacing: {\n type: Boolean,\n default: false,\n },\n /**\n * Show how many items are selected\n */\n itemCounter: {\n type: Number,\n required: true,\n },\n /**\n * Label for the selection, e.g. 'selected'/'changed'\n */\n selectionLabel: {\n type: String,\n default: null,\n },\n /**\n * Variant for the action bar\n * @values default, confirmation\n */\n variant: {\n type: String as PropType<BentoActionBarVariant>,\n default: 'default',\n },\n });\n\n const emit = defineEmits([\"close\", \"cancel\", \"save\"]);\n\n const { t, tc, n } = useI18n<{ message: MessageSchema }>({ messages });\n const label = computed(() => (props.selectionLabel ? props.selectionLabel : t('selected')));\n\n // Refs\n const actionBar = ref<HTMLDivElement>(null);\n const { extraBottomSpacing, visibleActions } = toRefs(props);\n const { width } = useWindowSize();\n const internalDisplayedActions = ref(null);\n const internalVisibleActions = ref(null);\n\n const isConfirmationVariant = computed(() => props.variant === 'confirmation');\n\n watch(\n () => visibleActions.value,\n value => {\n internalVisibleActions.value = value <= 4 ? value : 4;\n internalDisplayedActions.value = internalVisibleActions.value;\n },\n { immediate: true }\n );\n\n // Styling\n const conditionalClasses = computed(() => ({\n 'b-action-bar--extra-spacing': extraBottomSpacing.value,\n 'b-action-bar--confirmation': isConfirmationVariant.value,\n }));\n\n // Provide POPOVER_OFFSET_INJECTION_KEY to change the value of the popover offset\n provide(POPOVER_OFFSET_INJECTION_KEY, MENU_OFFSET);\n\n // Manipulate actions array to display as intended\n const actionsInternal = computed(() => {\n // All buttons should be of type secondary in the action bar\n const actions = props.actions.map(action => ({\n ...action,\n variant: 'secondary',\n })) as BentoButtonActionsList;\n // Shown actions should display from left to right in action bar, instead of right to left which is the button actions default\n const shownActions = actions.slice(0, internalDisplayedActions.value).reverse();\n const hiddenActions = actions.slice(internalDisplayedActions.value);\n\n return [...shownActions, ...hiddenActions];\n });\n\n const confirmationActions = computed<BentoButtonActionsList>(() => [\n {\n title: t('save'),\n event: () => emit('save'),\n },\n {\n title: t('cancel'),\n variant: 'secondary',\n event: () => emit('cancel'),\n },\n ]);\n\n // Recursive functions to determine how many actions should be visible/hidden based on the screens width\n const showActions = async () => {\n await nextTick();\n if (\n width.value > actionBar.value.clientWidth + SPACING + AVERAGE_BUTTON_SIZE &&\n internalDisplayedActions.value < internalVisibleActions.value\n ) {\n internalDisplayedActions.value += 1;\n showActions();\n }\n };\n\n const hideActions = async () => {\n await nextTick();\n if (width.value < actionBar.value.clientWidth + SPACING && internalDisplayedActions.value > 0) {\n internalDisplayedActions.value -= 1;\n hideActions();\n }\n };\n\n // Screen width watcher to toggle hidden/visible actions\n watch(\n () => width.value,\n async (newValue, oldValue) => {\n await nextTick();\n if (!actionBar.value) {\n return;\n }\n const isIncreasing = newValue > oldValue;\n if (width.value < RESPONSIVE_BREAKPOINT) {\n internalDisplayedActions.value = 0;\n } else if (isIncreasing) {\n showActions();\n } else {\n hideActions();\n }\n },\n { immediate: true }\n );\n</script>\n\n<script lang=\"ts\">\n /**\n * Action bar is a floating bar that provides users with quick access to key actions that can be applied to one or multiple items.\n *\n * @example\n * import { BentoActionBar } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoActionBar },\n * template: `\n * <bento-action-bar\n * :actions='[\n * {\n * title: 'Delete',\n * critical: true,\n * icon: BinIcon,\n * event: () => true,\n * },\n * {\n * title: 'Edit',\n * icon: EditIcon,\n * event: () => true,\n * }\n * ]'\n * @close=\"closeAction\"\n * :item-counter=\"5\"\n * />\n * `\n * }\n */\n export default {\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./action-bar.scss\" />\n"],"names":["__default__","messages","AVERAGE_BUTTON_SIZE","MENU_OFFSET","RESPONSIVE_BREAKPOINT","SPACING","t","tc","n","useI18n","label","computed","props","actionBar","ref","extraBottomSpacing","visibleActions","toRefs","width","useWindowSize","internalDisplayedActions","internalVisibleActions","isConfirmationVariant","watch","value","conditionalClasses","provide","POPOVER_OFFSET_INJECTION_KEY","actionsInternal","actions","action","shownActions","hiddenActions","confirmationActions","emit","showActions","nextTick","hideActions","newValue","oldValue","isIncreasing"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgPIA,IAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAEf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA/LAC,IAAA,KACAC,IAAA,GACAC,IAAA,KACAC,IAAA,IA2DA,EAAA,GAAAC,GAAA,IAAAC,GAAA,GAAAC,EAAA,IAAAC,EAAA,GACAC,IAAAC,EAAA,MAAAC,EAAA,iBAAAA,EAAA,iBAAAN,EAAA,UAAA,CAAA,GAGAO,IAAAC,EAAA,IAAA,GACA,EAAA,oBAAAC,GAAA,gBAAAC,EAAA,IAAAC,EAAAL,CAAA,GACA,EAAA,OAAAM,EAAA,IAAAC,EAAA,GACAC,IAAAN,EAAA,IAAA,GACAO,IAAAP,EAAA,IAAA,GAEAQ,IAAAX,EAAA,MAAAC,EAAA,YAAA,cAAA;AAEA,IAAAW;AAAA,MAAA,MAAAP,EAAA;AAAA,MACyB,CAAAQ,MAAA;AAEjB,QAAAH,EAAA,QAAAG,KAAA,IAAAA,IAAA,GACAJ,EAAA,QAAAC,EAAA;AAAA,MAAwD;AAAA,MAC5D,EAAA,WAAA,GAAA;AAAA,IACkB;AAItB,UAAAI,IAAAd,EAAA,OAAA;AAAA,MAA2C,+BAAAI,EAAA;AAAA,MACW,8BAAAO,EAAA;AAAA,IACE,EAAA;AAIxD,IAAAI,EAAAC,GAAAxB,CAAA;AAGA,UAAAyB,IAAAjB,EAAA,MAAA;AAEI,YAAAkB,IAAAjB,EAAA,QAAA,IAAA,CAAAkB,OAAA;AAAA,QAA6C,GAAAA;AAAA,QACtC,SAAA;AAAA,MACM,EAAA,GAGbC,IAAAF,EAAA,MAAA,GAAAT,EAAA,KAAA,EAAA,QAAA,GACAY,IAAAH,EAAA,MAAAT,EAAA,KAAA;AAEA,aAAA,CAAA,GAAAW,GAAA,GAAAC,CAAA;AAAA,IAAyC,CAAA,GAG7CC,IAAAtB,EAAA,MAAA;AAAA,MAAmE;AAAA,QAC/D,OAAAL,EAAA,MAAA;AAAA,QACmB,OAAA,MAAA4B,EAAA,MAAA;AAAA,MACS;AAAA,MAC5B;AAAA,QACA,OAAA5B,EAAA,QAAA;AAAA,QACqB,SAAA;AAAA,QACR,OAAA,MAAA4B,EAAA,QAAA;AAAA,MACiB;AAAA,IAC9B,CAAA,GAIJC,IAAA,YAAA;AACI,YAAAC,EAAA,GACAlB,EAAA,QAAAL,EAAA,MAAA,cAAAR,IAAAH,KAAAkB,EAAA,QAAAC,EAAA,UAIID,EAAA,SAAA,GACAe,EAAA;AAAA,IACJ,GAGJE,IAAA,YAAA;AACI,YAAAD,EAAA,GACAlB,EAAA,QAAAL,EAAA,MAAA,cAAAR,KAAAe,EAAA,QAAA,MACIA,EAAA,SAAA,GACAiB,EAAA;AAAA,IACJ;AAIJ,WAAAd;AAAA,MAAA,MAAAL,EAAA;AAAA,MACgB,OAAAoB,GAAAC,MAAA;AAGR,YADA,MAAAH,EAAA,GACA,CAAAvB,EAAA;AACI;AAEJ,cAAA2B,IAAAF,IAAAC;AACA,QAAArB,EAAA,QAAAd,IACIgB,EAAA,QAAA,IAAiCoB,IAEjCL,EAAA,IAEAE,EAAA;AAAA,MACJ;AAAA,MACJ,EAAA,WAAA,GAAA;AAAA,IACkB;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, useSlots as _, computed as d, onMounted as f } from "vue";
|
|
2
|
-
import { B as p } from "./button.
|
|
2
|
+
import { B as p } from "./button.DIU6m9wD.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { n as l } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
5
5
|
import { u as m } from "./use-has-slot.C9lQZ6nz.js";
|
|
@@ -64,4 +64,4 @@ const I = w.exports;
|
|
|
64
64
|
export {
|
|
65
65
|
I as a
|
|
66
66
|
};
|
|
67
|
-
//# sourceMappingURL=ai-button.
|
|
67
|
+
//# sourceMappingURL=ai-button.BEy4Gly-.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-button.
|
|
1
|
+
{"version":3,"file":"ai-button.BEy4Gly-.js","sources":["../../../ui-assets/icons-16/dist/vue/artificial-intelligence-ai-filled.vue","../../src/components/button/components/ai-button/ai-button.vue"],"sourcesContent":["\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><g :clip-path=\"'url(#uia-ui-assets/icons-16-artificial_intelligence_ai_filled__a' + uuid + ')'\"><path fill=\"#001222\" d=\"M8.75 2.75C8.75 5.23579 10.7642 7.25 13.25 7.25H15.5V8.75H13.25C10.7642 8.75 8.75 10.7642 8.75 13.25V15.5H7.25V13.25C7.25 10.7642 5.23579 8.75 2.75 8.75H0.5V7.25H2.75C5.23579 7.25 7.25 5.23579 7.25 2.75V0.5H8.75V2.75Z\"/></g><defs><clipPath :id=\"'uia-ui-assets/icons-16-artificial_intelligence_ai_filled__a' + uuid\"><rect width=\"16\" height=\"16\" fill=\"#fff\"/></clipPath></defs></svg>\n</template>\n<script>\n import '../css/main.css';\n\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n","<template>\n <div class=\"b-ai-button\" :class=\"conditionalClass\">\n <div class=\"b-ai-button__animation\" />\n\n <bento-button\n class=\"b-ai-button__button\"\n :condensed=\"condensed\"\n :disabled=\"disabled\"\n :inverse=\"inverse\"\n variant=\"secondary\"\n @click.capture.stop=\"onClick\"\n >\n <template #iconLeft>\n <ai-filled-icon aria-hidden=\"true\" class=\"b-ai-button__icon\" />\n </template>\n\n <slot></slot>\n </bento-button>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, onMounted, useSlots } from 'vue';\n import BentoButton from '../../button.vue';\n import AiFilledIcon from '@adyen/ui-assets-icons-16/vue/artificial-intelligence-ai-filled';\n import { useHasSlot } from '@/composables/use-has-slot/use-has-slot';\n import { printDevelopmentWarning } from '@/utils/ts/print-development-warning';\n import { type BentoAiButtonProps } from './ai-button.types';\n\n const props = defineProps({\n condensed: { type: Boolean, default: false },\n disabled: { type: Boolean, default: false },\n inverse: { type: Boolean, default: false },\n link: { default: undefined },\n type: { default: 'button' }\n});\n\n const emit = defineEmits([\"click\"]);\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const conditionalClass = computed(() => ({\n 'b-ai-button--disabled': props.disabled,\n }));\n\n const onClick = (e: MouseEvent) => {\n // Prevent Vue3 from triggering event twice\n e.stopPropagation();\n\n emit('click', e);\n };\n\n onMounted(() => {\n if (!hasSlot('default')) {\n printDevelopmentWarning('An icon-only button cannot be a AI button');\n }\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * AI Button component is used for cases where pressing a button starts an AI-related action.\n *\n * @example\n * import { BentoAiButton } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoAiButton },\n * template: `\n * <bento-ai-button @click=\"onClick\">Generate with AI</bento-ai-button>\n * `\n * }\n */\n export default {\n name: 'bento-ai-button',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./ai-button.scss\" />\n"],"names":["uuid","_sfc_main$1","__default__","slots","useSlots","hasSlot","useHasSlot","conditionalClass","computed","props","onClick","e","emit","onMounted","printDevelopmentWarning"],"mappings":";;;;;;;AAOA,IAAAA,IAAA;AAEA,MAAAC,IAAA;AAAA,EACA,eAAA;AACA,SAAA,OAAAD,EAAA,SAAA,GACAA,KAAA;AAAA,EACA;AACA;;;;;;;;;;;;qBC4DIE,IAAA;AAAA,EAAe,MAAA;AAEf;;;;;;;;;;;iBArCAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAEAI,IAAAC,EAAA,OAAA;AAAA,MAAyC,yBAAAC,EAAA;AAAA,IACN,EAAA,GAGnCC,IAAA,CAAAC,MAAA;AAEI,MAAAA,EAAA,gBAAA,GAEAC,EAAA,SAAAD,CAAA;AAAA,IAAe;AAGnB,WAAAE,EAAA,MAAA;AACI,MAAAR,EAAA,SAAA,KACIS,EAAA,2CAAA;AAAA,IACJ,CAAA;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as I, useSlots as y, computed as
|
|
2
|
-
import { a as
|
|
3
|
-
import { B as H } from "./button.
|
|
1
|
+
import { defineComponent as I, useSlots as y, computed as i, onMounted as T } from "vue";
|
|
2
|
+
import { a as l, c as S, B as b } from "./typography.Bq-EGj9y.js";
|
|
3
|
+
import { B as H } from "./button.DIU6m9wD.js";
|
|
4
4
|
import { C as L } from "./cross-small.CoQUe8SS.js";
|
|
5
5
|
import { W as B } from "./warning-filled.CbJ1pcB2.js";
|
|
6
6
|
import { C as w } from "./cross-circle-fill.DTDtgLMf.js";
|
|
7
7
|
import { C as R } from "./checkmark-circle-fill.BttTCjrM.js";
|
|
8
8
|
/* empty css */
|
|
9
|
-
import { n as
|
|
9
|
+
import { n as u } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
10
10
|
import { u as E } from "./use-has-slot.C9lQZ6nz.js";
|
|
11
11
|
import { u as G } from "./index.B6WW_F-J.js";
|
|
12
12
|
import "../assets/alert.css";
|
|
13
|
-
var
|
|
13
|
+
var n = /* @__PURE__ */ ((a) => (a.DEFAULT = "default", a.TIP = "tip", a))(n || {}), o = /* @__PURE__ */ ((a) => (a.WARNING = "warning", a.CRITICAL = "critical", a.HIGHLIGHT = "highlight", a.SUCCESS = "success", a))(o || {}), p = /* @__PURE__ */ ((a) => (a.CLOSE_ALERT = "close-alert", a))(p || {});
|
|
14
14
|
let C = 0;
|
|
15
15
|
const V = {
|
|
16
16
|
beforeCreate() {
|
|
@@ -20,7 +20,7 @@ const V = {
|
|
|
20
20
|
var $ = function() {
|
|
21
21
|
var s = this, t = s._self._c;
|
|
22
22
|
return t("svg", s._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", s.$attrs, !1), [s.$attrs["svg-title"] ? t("title", [s._v(s._s(s.$attrs["svg-title"]))]) : s._e(), t("g", { attrs: { "clip-path": "url(#uia-ui-assets/icons-16-info_filled__a" + s.uuid + ")" } }, [t("path", { attrs: { fill: "#001222", "fill-rule": "evenodd", d: "M5.03418 0.839544C6.45015 0.253058 8.00853 0.0992122 9.51172 0.398138C11.015 0.697159 12.3966 1.43547 13.4805 2.51923C14.5642 3.60301 15.3025 4.98476 15.6016 6.48798C15.9005 7.99113 15.7466 9.54958 15.1602 10.9655C14.5736 12.3816 13.5801 13.5925 12.3057 14.444C11.1109 15.2423 9.71924 15.6917 8.28711 15.7448L8 15.7497C5.94458 15.7497 3.97294 14.9336 2.51953 13.4802C1.06623 12.0268 0.250005 10.055 0.25 7.9997C0.250066 6.4671 0.70424 4.96838 1.55566 3.69404C2.40724 2.41967 3.61814 1.42609 5.03418 0.839544ZM6.25 6.2497V7.7497H7.25V10.2497H6.25V11.7497H9.75V10.2497H8.75V6.2497H6.25ZM7.75 3.4997C7.58674 3.4997 7.42763 3.54211 7.28418 3.61786C7.25386 3.63389 7.22303 3.64949 7.19434 3.66865L7.07812 3.75947C7.04744 3.78732 7.01817 3.817 6.99121 3.84833C6.97917 3.86236 6.96827 3.8776 6.95703 3.89228C6.93942 3.91522 6.9228 3.93915 6.90723 3.96357C6.90005 3.97485 6.89248 3.98618 6.88574 3.99775C6.86351 4.03594 6.84324 4.07574 6.82617 4.11689L6.78027 4.25751C6.77017 4.29795 6.7628 4.33927 6.75781 4.38056C6.75552 4.39961 6.75411 4.41902 6.75293 4.43818C6.75166 4.45856 6.75196 4.47926 6.75195 4.4997C6.75195 4.52207 6.75144 4.54472 6.75293 4.56708C6.75579 4.60979 6.76114 4.65273 6.76953 4.69501L6.80859 4.83661C6.82299 4.87685 6.84098 4.91584 6.86035 4.9538C6.86847 4.96971 6.87775 4.98522 6.88672 5.00068C6.89748 5.01922 6.90895 5.03753 6.9209 5.05536C6.93323 5.07376 6.94544 5.09248 6.95898 5.11005C6.98495 5.14371 7.01269 5.17643 7.04297 5.20673L7.1543 5.30341C7.19021 5.33003 7.2285 5.35325 7.26758 5.3747C7.27775 5.38031 7.28847 5.38508 7.29883 5.39033C7.32903 5.40554 7.35995 5.41924 7.3916 5.43134C7.40264 5.43559 7.41361 5.44018 7.4248 5.44404C7.46721 5.45855 7.51041 5.47134 7.55469 5.48017C7.59672 5.48853 7.63919 5.49291 7.68164 5.49579C7.70021 5.49707 7.71872 5.49751 7.7373 5.49775C7.76179 5.49804 7.78614 5.49729 7.81055 5.49579C7.82982 5.49462 7.84899 5.4932 7.86816 5.49091C7.90982 5.48592 7.95139 5.47962 7.99219 5.46943L8.13281 5.42353C8.1739 5.40649 8.21283 5.38517 8.25098 5.36298C8.2626 5.35623 8.27383 5.3487 8.28516 5.3415C8.30964 5.32589 8.33345 5.30934 8.35645 5.29169C8.37116 5.28043 8.38633 5.26958 8.40039 5.25751C8.43176 5.23053 8.46235 5.20229 8.49023 5.17158L8.58105 5.05536C8.69084 4.89096 8.75 4.6974 8.75 4.4997C8.74992 4.2346 8.64449 3.98013 8.45703 3.79267C8.26951 3.60523 8.01514 3.4997 7.75 3.4997Z", "clip-rule": "evenodd" } })]), t("defs", [t("clipPath", { attrs: { id: "uia-ui-assets/icons-16-info_filled__a" + s.uuid } }, [t("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
|
|
23
|
-
}, F = [], A = /* @__PURE__ */
|
|
23
|
+
}, F = [], A = /* @__PURE__ */ u(
|
|
24
24
|
V,
|
|
25
25
|
$,
|
|
26
26
|
F,
|
|
@@ -37,10 +37,18 @@ const P = A.exports, k = {
|
|
|
37
37
|
warningIcon: "Warning icon"
|
|
38
38
|
},
|
|
39
39
|
"ja-JP": {
|
|
40
|
-
close: "閉じる"
|
|
40
|
+
close: "閉じる",
|
|
41
|
+
criticalIcon: "重大アイコン",
|
|
42
|
+
highlightIcon: "ハイライトアイコン",
|
|
43
|
+
successIcon: "成功アイコン",
|
|
44
|
+
warningIcon: "警告アイコン"
|
|
41
45
|
},
|
|
42
46
|
"pt-BR": {
|
|
43
|
-
close: "Fechar"
|
|
47
|
+
close: "Fechar",
|
|
48
|
+
criticalIcon: "Ícone crítico",
|
|
49
|
+
highlightIcon: "Ícone de destaque",
|
|
50
|
+
successIcon: "Ícone de sucesso",
|
|
51
|
+
warningIcon: "Ícone de aviso"
|
|
44
52
|
}
|
|
45
53
|
}, x = {
|
|
46
54
|
i18n: { messages: k },
|
|
@@ -50,14 +58,14 @@ const P = A.exports, k = {
|
|
|
50
58
|
props: {
|
|
51
59
|
closeButton: { type: Boolean, default: !1 },
|
|
52
60
|
type: { default: o.HIGHLIGHT },
|
|
53
|
-
variant: { default:
|
|
61
|
+
variant: { default: n.DEFAULT }
|
|
54
62
|
},
|
|
55
63
|
emits: ["close-alert"],
|
|
56
64
|
setup(a, { emit: s }) {
|
|
57
|
-
const t = a, e = y(),
|
|
65
|
+
const t = a, e = y(), _ = E(e), { t: c } = G(), r = i(() => t.variant === n.TIP), d = i(() => ({
|
|
58
66
|
[`b-alert--${t.type}`]: t.type,
|
|
59
|
-
[`b-alert--${
|
|
60
|
-
})), f =
|
|
67
|
+
[`b-alert--${n.TIP}`]: r.value
|
|
68
|
+
})), f = i(() => c(`${t.type}Icon`)), m = i(() => {
|
|
61
69
|
switch (t.type) {
|
|
62
70
|
case o.CRITICAL:
|
|
63
71
|
return w;
|
|
@@ -69,23 +77,23 @@ const P = A.exports, k = {
|
|
|
69
77
|
default:
|
|
70
78
|
return P;
|
|
71
79
|
}
|
|
72
|
-
}), h =
|
|
80
|
+
}), h = i(() => ({
|
|
73
81
|
el: S.DIV,
|
|
74
|
-
variant:
|
|
82
|
+
variant: r.value ? l.CAPTION : l.BODY,
|
|
75
83
|
wide: !0
|
|
76
|
-
})),
|
|
77
|
-
s(
|
|
84
|
+
})), g = i(() => t.type === o.HIGHLIGHT ? "status" : "alert"), v = () => {
|
|
85
|
+
s(p.CLOSE_ALERT);
|
|
78
86
|
};
|
|
79
87
|
return T(() => {
|
|
80
88
|
if (!e.default && !e.description)
|
|
81
89
|
throw new Error("Alert Component requires a title or a description");
|
|
82
|
-
}), { __sfc: !0, slots: e, hasSlot:
|
|
90
|
+
}), { __sfc: !0, slots: e, hasSlot: _, emit: s, props: t, t: c, isTipVariant: r, alertConditionalClasses: d, iconSvgTitle: f, iconComponent: m, descriptionTypography: h, computedRole: g, onCloseButtonClick: v, BentoTypography: b, BentoButton: H, CrossSmall: L };
|
|
83
91
|
}
|
|
84
92
|
});
|
|
85
93
|
var U = function() {
|
|
86
94
|
var s = this, t = s._self._c, e = s._self._setupProxy;
|
|
87
95
|
return t("div", { staticClass: "b-alert", attrs: { role: e.computedRole } }, [t("div", { staticClass: "b-alert__inner-container", class: e.alertConditionalClasses }, [t("div", { staticClass: "b-alert__icon" }, [t(e.iconComponent, { tag: "component", attrs: { "aria-hidden": "true", "svg-title": e.iconSvgTitle } })], 1), t("div", { staticClass: "b-alert__content" }, [e.hasSlot("default") && !e.isTipVariant ? t(e.BentoTypography, { staticClass: "b-alert__title", attrs: { el: "div", variant: "body", strongest: "", wide: "" } }, [s._t("default")], 2) : s._e(), e.hasSlot("description") ? t(e.BentoTypography, s._b({ staticClass: "b-alert__description", attrs: { "data-testid": "alert-description" } }, "bento-typography", e.descriptionTypography, !1), [s._t("description")], 2) : s._e(), e.hasSlot("actions") && !e.isTipVariant ? t("div", { staticClass: "b-alert__actions", attrs: { "data-testid": "alert-actions" } }, [s._t("actions")], 2) : s._e()], 1), s.closeButton && !e.isTipVariant ? t(e.BentoButton, { staticClass: "b-alert__close-button", attrs: { variant: "tertiary", type: "button" }, on: { click: e.onCloseButtonClick } }, [t(e.CrossSmall, { attrs: { "svg-title": e.t("close") } })], 1) : s._e()], 1)]);
|
|
88
|
-
}, W = [], D = /* @__PURE__ */
|
|
96
|
+
}, W = [], D = /* @__PURE__ */ u(
|
|
89
97
|
N,
|
|
90
98
|
U,
|
|
91
99
|
W,
|
|
@@ -96,8 +104,8 @@ var U = function() {
|
|
|
96
104
|
const tt = D.exports;
|
|
97
105
|
export {
|
|
98
106
|
tt as B,
|
|
99
|
-
|
|
107
|
+
n as a,
|
|
100
108
|
o as b,
|
|
101
|
-
|
|
109
|
+
p as c
|
|
102
110
|
};
|
|
103
|
-
//# sourceMappingURL=alert.
|
|
111
|
+
//# sourceMappingURL=alert.B3Pdp02a.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.BlJBrD8c.js","sources":["../../src/components/alert/alert.types.ts","../../../ui-assets/icons-16/dist/vue/info-filled.vue","../../src/components/alert/alert.vue"],"sourcesContent":["/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoAlertVariant {\n DEFAULT = 'default',\n TIP = 'tip',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoAlertTypeOption {\n WARNING = 'warning',\n CRITICAL = 'critical',\n HIGHLIGHT = 'highlight',\n SUCCESS = 'success',\n}\n\n/**\n * @deprecated from version 2.0.0. Use \"@close-alert\" instead.\n */\nexport enum BentoAlertEvent {\n CLOSE_ALERT = 'close-alert',\n}\n","\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><g :clip-path=\"'url(#uia-ui-assets/icons-16-info_filled__a' + uuid + ')'\"><path fill=\"#001222\" fill-rule=\"evenodd\" d=\"M5.03418 0.839544C6.45015 0.253058 8.00853 0.0992122 9.51172 0.398138C11.015 0.697159 12.3966 1.43547 13.4805 2.51923C14.5642 3.60301 15.3025 4.98476 15.6016 6.48798C15.9005 7.99113 15.7466 9.54958 15.1602 10.9655C14.5736 12.3816 13.5801 13.5925 12.3057 14.444C11.1109 15.2423 9.71924 15.6917 8.28711 15.7448L8 15.7497C5.94458 15.7497 3.97294 14.9336 2.51953 13.4802C1.06623 12.0268 0.250005 10.055 0.25 7.9997C0.250066 6.4671 0.70424 4.96838 1.55566 3.69404C2.40724 2.41967 3.61814 1.42609 5.03418 0.839544ZM6.25 6.2497V7.7497H7.25V10.2497H6.25V11.7497H9.75V10.2497H8.75V6.2497H6.25ZM7.75 3.4997C7.58674 3.4997 7.42763 3.54211 7.28418 3.61786C7.25386 3.63389 7.22303 3.64949 7.19434 3.66865L7.07812 3.75947C7.04744 3.78732 7.01817 3.817 6.99121 3.84833C6.97917 3.86236 6.96827 3.8776 6.95703 3.89228C6.93942 3.91522 6.9228 3.93915 6.90723 3.96357C6.90005 3.97485 6.89248 3.98618 6.88574 3.99775C6.86351 4.03594 6.84324 4.07574 6.82617 4.11689L6.78027 4.25751C6.77017 4.29795 6.7628 4.33927 6.75781 4.38056C6.75552 4.39961 6.75411 4.41902 6.75293 4.43818C6.75166 4.45856 6.75196 4.47926 6.75195 4.4997C6.75195 4.52207 6.75144 4.54472 6.75293 4.56708C6.75579 4.60979 6.76114 4.65273 6.76953 4.69501L6.80859 4.83661C6.82299 4.87685 6.84098 4.91584 6.86035 4.9538C6.86847 4.96971 6.87775 4.98522 6.88672 5.00068C6.89748 5.01922 6.90895 5.03753 6.9209 5.05536C6.93323 5.07376 6.94544 5.09248 6.95898 5.11005C6.98495 5.14371 7.01269 5.17643 7.04297 5.20673L7.1543 5.30341C7.19021 5.33003 7.2285 5.35325 7.26758 5.3747C7.27775 5.38031 7.28847 5.38508 7.29883 5.39033C7.32903 5.40554 7.35995 5.41924 7.3916 5.43134C7.40264 5.43559 7.41361 5.44018 7.4248 5.44404C7.46721 5.45855 7.51041 5.47134 7.55469 5.48017C7.59672 5.48853 7.63919 5.49291 7.68164 5.49579C7.70021 5.49707 7.71872 5.49751 7.7373 5.49775C7.76179 5.49804 7.78614 5.49729 7.81055 5.49579C7.82982 5.49462 7.84899 5.4932 7.86816 5.49091C7.90982 5.48592 7.95139 5.47962 7.99219 5.46943L8.13281 5.42353C8.1739 5.40649 8.21283 5.38517 8.25098 5.36298C8.2626 5.35623 8.27383 5.3487 8.28516 5.3415C8.30964 5.32589 8.33345 5.30934 8.35645 5.29169C8.37116 5.28043 8.38633 5.26958 8.40039 5.25751C8.43176 5.23053 8.46235 5.20229 8.49023 5.17158L8.58105 5.05536C8.69084 4.89096 8.75 4.6974 8.75 4.4997C8.74992 4.2346 8.64449 3.98013 8.45703 3.79267C8.26951 3.60523 8.01514 3.4997 7.75 3.4997Z\" clip-rule=\"evenodd\"/></g><defs><clipPath :id=\"'uia-ui-assets/icons-16-info_filled__a' + uuid\"><rect width=\"16\" height=\"16\" fill=\"#fff\"/></clipPath></defs></svg>\n</template>\n<script>\n import '../css/main.css';\n\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n","<template>\n <div class=\"b-alert\" :role=\"computedRole\">\n <div class=\"b-alert__inner-container\" :class=\"alertConditionalClasses\">\n <div class=\"b-alert__icon\">\n <component :is=\"iconComponent\" aria-hidden=\"true\" :svg-title=\"iconSvgTitle\" />\n </div>\n\n <div class=\"b-alert__content\">\n <bento-typography\n v-if=\"hasSlot('default') && !isTipVariant\"\n class=\"b-alert__title\"\n el=\"div\"\n variant=\"body\"\n strongest\n wide\n >\n <slot />\n </bento-typography>\n\n <bento-typography\n v-if=\"hasSlot('description')\"\n class=\"b-alert__description\"\n v-bind=\"descriptionTypography\"\n data-testid=\"alert-description\"\n >\n <slot name=\"description\" />\n </bento-typography>\n\n <div v-if=\"hasSlot('actions') && !isTipVariant\" class=\"b-alert__actions\" data-testid=\"alert-actions\">\n <slot name=\"actions\" />\n </div>\n </div>\n\n <bento-button\n v-if=\"closeButton && !isTipVariant\"\n class=\"b-alert__close-button\"\n variant=\"tertiary\"\n type=\"button\"\n @click=\"onCloseButtonClick\"\n >\n <cross-small :svg-title=\"t('close')\" />\n </bento-button>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, onMounted, useSlots } from 'vue';\n\n // Component\n import { BentoAlertEvent, BentoAlertTypeOption, BentoAlertVariant } from '@/components/alert/alert.types';\n import { BentoTypography, BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';\n import { BentoButton } from '@/components/button';\n\n import CrossSmall from '@adyen/ui-assets-icons-16/vue/cross-small';\n import Warning from '@adyen/ui-assets-icons-16/vue/warning-filled';\n import CrossCircle from '@adyen/ui-assets-icons-16/vue/cross-circle-fill';\n import CheckedCircle from '@adyen/ui-assets-icons-16/vue/checkmark-circle-fill';\n import Info from '@adyen/ui-assets-icons-16/vue/info-filled';\n\n // Utils\n import { useHasSlot } from '@/composables';\n import { useI18n } from '@/utils/ts/i18n';\n\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const emit = defineEmits([\"close-alert\"]);\n\n const props = defineProps({\n closeButton: { type: Boolean, default: false },\n type: { default: BentoAlertTypeOption.HIGHLIGHT },\n variant: { default: BentoAlertVariant.DEFAULT }\n});\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const isTipVariant = computed(() => props.variant === BentoAlertVariant.TIP);\n\n const alertConditionalClasses = computed(() => ({\n [`b-alert--${props.type}`]: props.type,\n [`b-alert--${BentoAlertVariant.TIP}`]: isTipVariant.value,\n }));\n\n const iconSvgTitle = computed(() => t(`${props.type}Icon`));\n\n const iconComponent = computed(() => {\n switch (props.type) {\n case BentoAlertTypeOption.CRITICAL:\n return CrossCircle;\n case BentoAlertTypeOption.SUCCESS:\n return CheckedCircle;\n case BentoAlertTypeOption.WARNING:\n return Warning;\n case BentoAlertTypeOption.HIGHLIGHT:\n default:\n return Info;\n }\n });\n\n const descriptionTypography = computed(() => ({\n el: BentoTypographyElement.DIV,\n variant: isTipVariant.value ? BentoTypographyVariant.CAPTION : BentoTypographyVariant.BODY,\n wide: true,\n }));\n\n const computedRole = computed(() => (props.type === BentoAlertTypeOption.HIGHLIGHT ? 'status' : 'alert'));\n\n const onCloseButtonClick = () => {\n emit(BentoAlertEvent.CLOSE_ALERT);\n };\n\n onMounted(() => {\n if (!slots.default && !slots.description) {\n throw new Error('Alert Component requires a title or a description');\n }\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * An Alert component is used to display a persistent\n * notification containing information important to the user\n *\n * @example\n * import { BentoAlert, BentoAlertTypeOption } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoAlert },\n * template: `\n * <bento-alert type=\"highlight\">\n * Title of the Alert\n * </bento-alert>\n * `\n * }\n */\n export default {\n i18n: { messages },\n name: 'bento-alert',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./alert.scss\" />\n"],"names":["BentoAlertVariant","BentoAlertVariant2","BentoAlertTypeOption","BentoAlertTypeOption2","BentoAlertEvent","BentoAlertEvent2","uuid","_sfc_main$1","__default__","messages","slots","useSlots","hasSlot","useHasSlot","t","useI18n","isTipVariant","computed","props","alertConditionalClasses","iconSvgTitle","iconComponent","CrossCircleFillIcon","CheckmarkCircleFillIcon","WarningFilledIcon","Info","descriptionTypography","BentoTypographyElement","BentoTypographyVariant","computedRole","onCloseButtonClick","emit","onMounted"],"mappings":";;;;;;;;;;;;AAGY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,UAAA,WACAA,EAAA,MAAA,OAFQA,IAAAD,KAAA,CAAA,CAAA,GAQAE,IAAA,kBAAAC,OACRA,EAAA,UAAA,WACAA,EAAA,WAAA,YACAA,EAAA,YAAA,aACAA,EAAA,UAAA,WAJQA,IAAAD,KAAA,CAAA,CAAA,GAUAE,IAAA,kBAAAC,OACRA,EAAA,cAAA,eADQA,IAAAD,KAAA,CAAA,CAAA;ACdZ,IAAAE,IAAA;AAEA,MAAAC,IAAA;AAAA,EACA,eAAA;AACA,SAAA,OAAAD,EAAA,SAAA,GACAA,KAAA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;GC8HIE,IAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAAA,EACM,MAAA;AAErB;;;;;;;;;iBA3EAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAUA,EAAA,GAAAI,EAAA,IAAAC,EAAA,GAEAC,IAAAC,EAAA,MAAAC,EAAA,YAAAlB,EAAA,GAAA,GAEAmB,IAAAF,EAAA,OAAA;AAAA,MAAgD,CAAA,YAAAC,EAAA,IAAA,EAAA,GAAAA,EAAA;AAAA,MACV,CAAA,YAAAlB,EAAA,GAAA,EAAA,GAAAgB,EAAA;AAAA,IACkB,EAAA,GAGxDI,IAAAH,EAAA,MAAAH,EAAA,GAAAI,EAAA,IAAA,MAAA,CAAA,GAEAG,IAAAJ,EAAA,MAAA;AACI,cAAAC,EAAA,MAAA;AAAA,QAAoB,KAAAhB,EAAA;AAEZ,iBAAAoB;AAAA,QAAO,KAAApB,EAAA;AAEP,iBAAAqB;AAAA,QAAO,KAAArB,EAAA;AAEP,iBAAAsB;AAAA,QAAO,KAAAtB,EAAA;AAAA,QACe;AAEtB,iBAAAuB;AAAA,MAAO;AAAA,IACf,CAAA,GAGJC,IAAAT,EAAA,OAAA;AAAA,MAA8C,IAAAU,EAAA;AAAA,MACf,SAAAX,EAAA,QAAAY,EAAA,UAAAA,EAAA;AAAA,MAC2D,MAAA;AAAA,IAChF,EAAA,GAGVC,IAAAZ,EAAA,MAAAC,EAAA,SAAAhB,EAAA,YAAA,WAAA,OAAA,GAEA4B,IAAA,MAAA;AACI,MAAAC,EAAA3B,EAAA,WAAA;AAAA,IAAgC;AAGpC,WAAA4B,EAAA,MAAA;AACI,UAAA,CAAAtB,EAAA,WAAA,CAAAA,EAAA;AACI,cAAA,IAAA,MAAA,mDAAA;AAAA,IACJ,CAAA;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"alert.B3Pdp02a.js","sources":["../../src/components/alert/alert.types.ts","../../../ui-assets/icons-16/dist/vue/info-filled.vue","../../src/components/alert/alert.vue"],"sourcesContent":["/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoAlertVariant {\n DEFAULT = 'default',\n TIP = 'tip',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoAlertTypeOption {\n WARNING = 'warning',\n CRITICAL = 'critical',\n HIGHLIGHT = 'highlight',\n SUCCESS = 'success',\n}\n\n/**\n * @deprecated from version 2.0.0. Use \"@close-alert\" instead.\n */\nexport enum BentoAlertEvent {\n CLOSE_ALERT = 'close-alert',\n}\n","\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><g :clip-path=\"'url(#uia-ui-assets/icons-16-info_filled__a' + uuid + ')'\"><path fill=\"#001222\" fill-rule=\"evenodd\" d=\"M5.03418 0.839544C6.45015 0.253058 8.00853 0.0992122 9.51172 0.398138C11.015 0.697159 12.3966 1.43547 13.4805 2.51923C14.5642 3.60301 15.3025 4.98476 15.6016 6.48798C15.9005 7.99113 15.7466 9.54958 15.1602 10.9655C14.5736 12.3816 13.5801 13.5925 12.3057 14.444C11.1109 15.2423 9.71924 15.6917 8.28711 15.7448L8 15.7497C5.94458 15.7497 3.97294 14.9336 2.51953 13.4802C1.06623 12.0268 0.250005 10.055 0.25 7.9997C0.250066 6.4671 0.70424 4.96838 1.55566 3.69404C2.40724 2.41967 3.61814 1.42609 5.03418 0.839544ZM6.25 6.2497V7.7497H7.25V10.2497H6.25V11.7497H9.75V10.2497H8.75V6.2497H6.25ZM7.75 3.4997C7.58674 3.4997 7.42763 3.54211 7.28418 3.61786C7.25386 3.63389 7.22303 3.64949 7.19434 3.66865L7.07812 3.75947C7.04744 3.78732 7.01817 3.817 6.99121 3.84833C6.97917 3.86236 6.96827 3.8776 6.95703 3.89228C6.93942 3.91522 6.9228 3.93915 6.90723 3.96357C6.90005 3.97485 6.89248 3.98618 6.88574 3.99775C6.86351 4.03594 6.84324 4.07574 6.82617 4.11689L6.78027 4.25751C6.77017 4.29795 6.7628 4.33927 6.75781 4.38056C6.75552 4.39961 6.75411 4.41902 6.75293 4.43818C6.75166 4.45856 6.75196 4.47926 6.75195 4.4997C6.75195 4.52207 6.75144 4.54472 6.75293 4.56708C6.75579 4.60979 6.76114 4.65273 6.76953 4.69501L6.80859 4.83661C6.82299 4.87685 6.84098 4.91584 6.86035 4.9538C6.86847 4.96971 6.87775 4.98522 6.88672 5.00068C6.89748 5.01922 6.90895 5.03753 6.9209 5.05536C6.93323 5.07376 6.94544 5.09248 6.95898 5.11005C6.98495 5.14371 7.01269 5.17643 7.04297 5.20673L7.1543 5.30341C7.19021 5.33003 7.2285 5.35325 7.26758 5.3747C7.27775 5.38031 7.28847 5.38508 7.29883 5.39033C7.32903 5.40554 7.35995 5.41924 7.3916 5.43134C7.40264 5.43559 7.41361 5.44018 7.4248 5.44404C7.46721 5.45855 7.51041 5.47134 7.55469 5.48017C7.59672 5.48853 7.63919 5.49291 7.68164 5.49579C7.70021 5.49707 7.71872 5.49751 7.7373 5.49775C7.76179 5.49804 7.78614 5.49729 7.81055 5.49579C7.82982 5.49462 7.84899 5.4932 7.86816 5.49091C7.90982 5.48592 7.95139 5.47962 7.99219 5.46943L8.13281 5.42353C8.1739 5.40649 8.21283 5.38517 8.25098 5.36298C8.2626 5.35623 8.27383 5.3487 8.28516 5.3415C8.30964 5.32589 8.33345 5.30934 8.35645 5.29169C8.37116 5.28043 8.38633 5.26958 8.40039 5.25751C8.43176 5.23053 8.46235 5.20229 8.49023 5.17158L8.58105 5.05536C8.69084 4.89096 8.75 4.6974 8.75 4.4997C8.74992 4.2346 8.64449 3.98013 8.45703 3.79267C8.26951 3.60523 8.01514 3.4997 7.75 3.4997Z\" clip-rule=\"evenodd\"/></g><defs><clipPath :id=\"'uia-ui-assets/icons-16-info_filled__a' + uuid\"><rect width=\"16\" height=\"16\" fill=\"#fff\"/></clipPath></defs></svg>\n</template>\n<script>\n import '../css/main.css';\n\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n","<template>\n <div class=\"b-alert\" :role=\"computedRole\">\n <div class=\"b-alert__inner-container\" :class=\"alertConditionalClasses\">\n <div class=\"b-alert__icon\">\n <component :is=\"iconComponent\" aria-hidden=\"true\" :svg-title=\"iconSvgTitle\" />\n </div>\n\n <div class=\"b-alert__content\">\n <bento-typography\n v-if=\"hasSlot('default') && !isTipVariant\"\n class=\"b-alert__title\"\n el=\"div\"\n variant=\"body\"\n strongest\n wide\n >\n <slot />\n </bento-typography>\n\n <bento-typography\n v-if=\"hasSlot('description')\"\n class=\"b-alert__description\"\n v-bind=\"descriptionTypography\"\n data-testid=\"alert-description\"\n >\n <slot name=\"description\" />\n </bento-typography>\n\n <div v-if=\"hasSlot('actions') && !isTipVariant\" class=\"b-alert__actions\" data-testid=\"alert-actions\">\n <slot name=\"actions\" />\n </div>\n </div>\n\n <bento-button\n v-if=\"closeButton && !isTipVariant\"\n class=\"b-alert__close-button\"\n variant=\"tertiary\"\n type=\"button\"\n @click=\"onCloseButtonClick\"\n >\n <cross-small :svg-title=\"t('close')\" />\n </bento-button>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, onMounted, useSlots } from 'vue';\n\n // Component\n import { BentoAlertEvent, BentoAlertTypeOption, BentoAlertVariant } from '@/components/alert/alert.types';\n import { BentoTypography, BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';\n import { BentoButton } from '@/components/button';\n\n import CrossSmall from '@adyen/ui-assets-icons-16/vue/cross-small';\n import Warning from '@adyen/ui-assets-icons-16/vue/warning-filled';\n import CrossCircle from '@adyen/ui-assets-icons-16/vue/cross-circle-fill';\n import CheckedCircle from '@adyen/ui-assets-icons-16/vue/checkmark-circle-fill';\n import Info from '@adyen/ui-assets-icons-16/vue/info-filled';\n\n // Utils\n import { useHasSlot } from '@/composables';\n import { useI18n } from '@/utils/ts/i18n';\n\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const emit = defineEmits([\"close-alert\"]);\n\n const props = defineProps({\n closeButton: { type: Boolean, default: false },\n type: { default: BentoAlertTypeOption.HIGHLIGHT },\n variant: { default: BentoAlertVariant.DEFAULT }\n});\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const isTipVariant = computed(() => props.variant === BentoAlertVariant.TIP);\n\n const alertConditionalClasses = computed(() => ({\n [`b-alert--${props.type}`]: props.type,\n [`b-alert--${BentoAlertVariant.TIP}`]: isTipVariant.value,\n }));\n\n const iconSvgTitle = computed(() => t(`${props.type}Icon`));\n\n const iconComponent = computed(() => {\n switch (props.type) {\n case BentoAlertTypeOption.CRITICAL:\n return CrossCircle;\n case BentoAlertTypeOption.SUCCESS:\n return CheckedCircle;\n case BentoAlertTypeOption.WARNING:\n return Warning;\n case BentoAlertTypeOption.HIGHLIGHT:\n default:\n return Info;\n }\n });\n\n const descriptionTypography = computed(() => ({\n el: BentoTypographyElement.DIV,\n variant: isTipVariant.value ? BentoTypographyVariant.CAPTION : BentoTypographyVariant.BODY,\n wide: true,\n }));\n\n const computedRole = computed(() => (props.type === BentoAlertTypeOption.HIGHLIGHT ? 'status' : 'alert'));\n\n const onCloseButtonClick = () => {\n emit(BentoAlertEvent.CLOSE_ALERT);\n };\n\n onMounted(() => {\n if (!slots.default && !slots.description) {\n throw new Error('Alert Component requires a title or a description');\n }\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * An Alert component is used to display a persistent\n * notification containing information important to the user\n *\n * @example\n * import { BentoAlert, BentoAlertTypeOption } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoAlert },\n * template: `\n * <bento-alert type=\"highlight\">\n * Title of the Alert\n * </bento-alert>\n * `\n * }\n */\n export default {\n i18n: { messages },\n name: 'bento-alert',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./alert.scss\" />\n"],"names":["BentoAlertVariant","BentoAlertVariant2","BentoAlertTypeOption","BentoAlertTypeOption2","BentoAlertEvent","BentoAlertEvent2","uuid","_sfc_main$1","__default__","messages","slots","useSlots","hasSlot","useHasSlot","t","useI18n","isTipVariant","computed","props","alertConditionalClasses","iconSvgTitle","iconComponent","CrossCircleFillIcon","CheckmarkCircleFillIcon","WarningFilledIcon","Info","descriptionTypography","BentoTypographyElement","BentoTypographyVariant","computedRole","onCloseButtonClick","emit","onMounted"],"mappings":";;;;;;;;;;;;AAGY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,UAAA,WACAA,EAAA,MAAA,OAFQA,IAAAD,KAAA,CAAA,CAAA,GAQAE,IAAA,kBAAAC,OACRA,EAAA,UAAA,WACAA,EAAA,WAAA,YACAA,EAAA,YAAA,aACAA,EAAA,UAAA,WAJQA,IAAAD,KAAA,CAAA,CAAA,GAUAE,IAAA,kBAAAC,OACRA,EAAA,cAAA,eADQA,IAAAD,KAAA,CAAA,CAAA;ACdZ,IAAAE,IAAA;AAEA,MAAAC,IAAA;AAAA,EACA,eAAA;AACA,SAAA,OAAAD,EAAA,SAAA,GACAA,KAAA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GC8HIE,IAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAAA,EACM,MAAA;AAErB;;;;;;;;;iBA3EAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAUA,EAAA,GAAAI,EAAA,IAAAC,EAAA,GAEAC,IAAAC,EAAA,MAAAC,EAAA,YAAAlB,EAAA,GAAA,GAEAmB,IAAAF,EAAA,OAAA;AAAA,MAAgD,CAAA,YAAAC,EAAA,IAAA,EAAA,GAAAA,EAAA;AAAA,MACV,CAAA,YAAAlB,EAAA,GAAA,EAAA,GAAAgB,EAAA;AAAA,IACkB,EAAA,GAGxDI,IAAAH,EAAA,MAAAH,EAAA,GAAAI,EAAA,IAAA,MAAA,CAAA,GAEAG,IAAAJ,EAAA,MAAA;AACI,cAAAC,EAAA,MAAA;AAAA,QAAoB,KAAAhB,EAAA;AAEZ,iBAAAoB;AAAA,QAAO,KAAApB,EAAA;AAEP,iBAAAqB;AAAA,QAAO,KAAArB,EAAA;AAEP,iBAAAsB;AAAA,QAAO,KAAAtB,EAAA;AAAA,QACe;AAEtB,iBAAAuB;AAAA,MAAO;AAAA,IACf,CAAA,GAGJC,IAAAT,EAAA,OAAA;AAAA,MAA8C,IAAAU,EAAA;AAAA,MACf,SAAAX,EAAA,QAAAY,EAAA,UAAAA,EAAA;AAAA,MAC2D,MAAA;AAAA,IAChF,EAAA,GAGVC,IAAAZ,EAAA,MAAAC,EAAA,SAAAhB,EAAA,YAAA,WAAA,OAAA,GAEA4B,IAAA,MAAA;AACI,MAAAC,EAAA3B,EAAA,WAAA;AAAA,IAAgC;AAGpC,WAAA4B,EAAA,MAAA;AACI,UAAA,CAAAtB,EAAA,WAAA,CAAAA,EAAA;AACI,cAAA,IAAA,MAAA,mDAAA;AAAA,IACJ,CAAA;;;;;;;;;;;;;;;"}
|
|
@@ -1,33 +1,35 @@
|
|
|
1
1
|
import { defineComponent as T, useSlots as Y, ref as c, computed as l, inject as Q, watch as w, nextTick as X, onUnmounted as Z, useAttrs as V, toRefs as tt, onMounted as et, provide as D } from "vue";
|
|
2
|
-
import { B as at } from "./button.
|
|
2
|
+
import { B as at } from "./button.DIU6m9wD.js";
|
|
3
3
|
import { B as ot } from "./focus-trap.CNIU5jOz.js";
|
|
4
4
|
import { u as j } from "./use-has-slot.C9lQZ6nz.js";
|
|
5
5
|
import { u as nt } from "./index.B6WW_F-J.js";
|
|
6
|
-
import { j as st } from "./button-actions.
|
|
6
|
+
import { j as st } from "./button-actions.D9n7MxWe.js";
|
|
7
7
|
import { g as lt } from "./generate-uid.NJ8tVoha.js";
|
|
8
8
|
import { C as it } from "./cross.CC_B-vG-.js";
|
|
9
|
-
import { D as ut, B as ct, b as rt, a as dt } from "./dialog-page.
|
|
9
|
+
import { D as ut, B as ct, b as rt, a as dt } from "./dialog-page.QpRiNPyx.js";
|
|
10
10
|
import { B as mt } from "./typography.Bq-EGj9y.js";
|
|
11
|
-
import { F as pt } from "./footer-actions.
|
|
11
|
+
import { F as pt } from "./footer-actions.BOiN47Xd.js";
|
|
12
12
|
import { o as ft } from "./resize.Bqks3WUm.js";
|
|
13
13
|
import { a as gt, G as _t } from "./grid-layout.1aIiz2N_.js";
|
|
14
14
|
import { n as q } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
15
15
|
import { B as vt } from "./directive.Cbdox5VL.js";
|
|
16
16
|
import "../assets/base-modal.css";
|
|
17
|
-
var yt = /* @__PURE__ */ ((a) => (a.DEFAULT = "default", a.DIALOG = "dialog", a))(yt || {}), Ct = /* @__PURE__ */ ((a) => (a.DEFAULT = "BentoModalDefault", a.DIALOG = "BentoModalDialog", a))(Ct || {}), G = /* @__PURE__ */ ((a) => (a.SMALL = "small", a.MEDIUM = "medium", a.LARGE = "large", a))(G || {}), E = /* @__PURE__ */ ((a) => (a.SMALLER = "smaller", a.EQUAL = "equal", a.BIGGER = "bigger", a))(E || {}), F = /* @__PURE__ */ ((a) => (a.DIALOG = "dialog", a.ALERT_DIALOG = "alertdialog", a))(F || {}), ht = /* @__PURE__ */ ((a) => (a.CONFIRMATION = "confirmation", a.DESTRUCTIVE = "destructive", a.INFO = "info", a.ACKNOWLEDGEMENT = "acknowledgement", a))(ht || {}),
|
|
17
|
+
var yt = /* @__PURE__ */ ((a) => (a.DEFAULT = "default", a.DIALOG = "dialog", a))(yt || {}), Ct = /* @__PURE__ */ ((a) => (a.DEFAULT = "BentoModalDefault", a.DIALOG = "BentoModalDialog", a))(Ct || {}), G = /* @__PURE__ */ ((a) => (a.SMALL = "small", a.MEDIUM = "medium", a.LARGE = "large", a))(G || {}), E = /* @__PURE__ */ ((a) => (a.SMALLER = "smaller", a.EQUAL = "equal", a.BIGGER = "bigger", a))(E || {}), F = /* @__PURE__ */ ((a) => (a.DIALOG = "dialog", a.ALERT_DIALOG = "alertdialog", a))(F || {}), ht = /* @__PURE__ */ ((a) => (a.CONFIRMATION = "confirmation", a.DESTRUCTIVE = "destructive", a.INFO = "info", a.ACKNOWLEDGEMENT = "acknowledgement", a))(ht || {}), bt = /* @__PURE__ */ ((a) => (a.CLOSE_MODAL = "close-modal", a))(bt || {});
|
|
18
18
|
const Lt = {
|
|
19
19
|
"en-US": {
|
|
20
20
|
ariaLabelFallback: "modal",
|
|
21
21
|
close: "Close"
|
|
22
22
|
},
|
|
23
23
|
"ja-JP": {
|
|
24
|
+
ariaLabelFallback: "モーダル",
|
|
24
25
|
close: "閉じる"
|
|
25
26
|
},
|
|
26
27
|
"pt-BR": {
|
|
28
|
+
ariaLabelFallback: "modal",
|
|
27
29
|
close: "Fechar"
|
|
28
30
|
}
|
|
29
|
-
}, W = /* @__PURE__ */ Symbol("modal config data injection key"),
|
|
30
|
-
...
|
|
31
|
+
}, W = /* @__PURE__ */ Symbol("modal config data injection key"), At = T({}), Pt = /* @__PURE__ */ T({
|
|
32
|
+
...At,
|
|
31
33
|
__name: "modal-page",
|
|
32
34
|
props: {
|
|
33
35
|
actions: { default: null },
|
|
@@ -80,11 +82,11 @@ const Lt = {
|
|
|
80
82
|
return w(
|
|
81
83
|
() => g.value,
|
|
82
84
|
async (u, i) => {
|
|
83
|
-
var
|
|
84
|
-
h.value && (await X(), _.value = `${(k = (
|
|
85
|
+
var b, k;
|
|
86
|
+
h.value && (await X(), _.value = `${(k = (b = r.value) == null ? void 0 : b.$el) == null ? void 0 : k.clientHeight}px`, B.value = e.customPadding, m.value = i !== void 0, p = ft(r.value, () => {
|
|
85
87
|
var v, P;
|
|
86
|
-
const
|
|
87
|
-
|
|
88
|
+
const A = `${(P = (v = r.value) == null ? void 0 : v.$el) == null ? void 0 : P.clientHeight}px`;
|
|
89
|
+
A && A !== _.value && (_.value = A);
|
|
88
90
|
}));
|
|
89
91
|
},
|
|
90
92
|
{ immediate: !0 }
|
|
@@ -222,11 +224,11 @@ const It = Ot.exports, Bt = T({
|
|
|
222
224
|
f.value && (d.value.close(), y.value[0] && o("update:active-page", y.value[0]), y.value = [], f.value = !1, p());
|
|
223
225
|
}, i = () => {
|
|
224
226
|
d.value.open && (f.value = !0);
|
|
225
|
-
},
|
|
227
|
+
}, b = (s) => {
|
|
226
228
|
s && s.preventDefault(), !(!t.isDismissible && t.modalRole === F.DIALOG) && i();
|
|
227
229
|
}, k = () => {
|
|
228
|
-
t.isDismissible &&
|
|
229
|
-
},
|
|
230
|
+
t.isDismissible && b();
|
|
231
|
+
}, A = l(() => ({
|
|
230
232
|
[`b-modal-base__container--${t.size}`]: t.size,
|
|
231
233
|
"b-modal-base__container--hide": f.value,
|
|
232
234
|
"b-modal-base__container--column-layout": L.value,
|
|
@@ -249,7 +251,7 @@ const It = Ot.exports, Bt = T({
|
|
|
249
251
|
), et(() => {
|
|
250
252
|
t.isOpen && d.value && h();
|
|
251
253
|
}), e({
|
|
252
|
-
internalModalActionClose:
|
|
254
|
+
internalModalActionClose: b
|
|
253
255
|
}), D(st, g);
|
|
254
256
|
const { activePage: v, isOpen: P, size: z } = tt(t), U = c(ct.TRANSITION_LEVEL_DEEPER), S = c([]), y = c([]), $ = (s) => o("update:active-page", s), H = (s) => () => {
|
|
255
257
|
var C;
|
|
@@ -269,7 +271,7 @@ const It = Ot.exports, Bt = T({
|
|
|
269
271
|
pages: S,
|
|
270
272
|
previousPages: y,
|
|
271
273
|
updatePage: $
|
|
272
|
-
}), D(dt, J), { __sfc: !0, LOADING_BTN_CLOSE_AFTER_SUCCESS_DELAY_TIME: n, t: r, slots: O, attrs: I, hasSlot: R, modal: d, isClosing: f, modalId: g, emit: o, props: t, showCloseButton: _, pageCustomPadding: m, customPaddingStyles: B, computedAriaLabel: x, hasColumnLayout: L, openModal: h, emitCloseEvent: p, closeModalAfterAnimation: u, startCloseModalAnimation: i, internalModalActionClose:
|
|
274
|
+
}), D(dt, J), { __sfc: !0, LOADING_BTN_CLOSE_AFTER_SUCCESS_DELAY_TIME: n, t: r, slots: O, attrs: I, hasSlot: R, modal: d, isClosing: f, modalId: g, emit: o, props: t, showCloseButton: _, pageCustomPadding: m, customPaddingStyles: B, computedAriaLabel: x, hasColumnLayout: L, openModal: h, emitCloseEvent: p, closeModalAfterAnimation: u, startCloseModalAnimation: i, internalModalActionClose: b, closeModalOnClickOutside: k, modalConditionalClasses: A, activePage: v, isOpen: P, size: z, animation: U, pages: S, previousPages: y, updatePage: $, unregisterPage: H, registerPage: J, height: K, isAnimationActive: M, BentoButton: at, BentoFocusTrap: ot, vBentoClickOutsideDirective: vt, BentoModalPage: It, CrossIcon: it };
|
|
273
275
|
}
|
|
274
276
|
});
|
|
275
277
|
var Dt = function() {
|
|
@@ -303,8 +305,8 @@ export {
|
|
|
303
305
|
E as c,
|
|
304
306
|
F as d,
|
|
305
307
|
ht as e,
|
|
306
|
-
|
|
308
|
+
bt as f,
|
|
307
309
|
It as g,
|
|
308
310
|
Qt as h
|
|
309
311
|
};
|
|
310
|
-
//# sourceMappingURL=base-modal.
|
|
312
|
+
//# sourceMappingURL=base-modal.KYkLKswF.js.map
|