@adyen/bento-vue3 1.84.2 → 1.85.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/components.d.ts +4 -0
- package/dist/@types/index.d.ts +244 -130
- package/dist/action-bar.js +1 -1
- package/dist/ai-tag.js +5 -0
- package/dist/ai-tag.js.map +1 -0
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/ai-tag.css +1 -0
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-range-picker.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/draggable-handle.css +1 -0
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/form-layout-title.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/layout-row.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/radio-group.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/button.js +2 -2
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +1 -1
- package/dist/chunks/1-generic-use.R6x8PEGA.js.map +1 -1
- package/dist/chunks/2-generic-use.CNKjB4B7.js.map +1 -1
- package/dist/chunks/2-generic-use.w0fUhovx.js.map +1 -1
- package/dist/chunks/3-generic-use.BLEzR04g.js.map +1 -1
- package/dist/chunks/3-generic-use.D3NFHgI4.js.map +1 -1
- package/dist/chunks/4-generic-use.CULEpvgj.js.map +1 -1
- package/dist/chunks/4-generic-use.D82y3n39.js.map +1 -1
- package/dist/chunks/accordion-item.yRlQj4VF.js.map +1 -1
- package/dist/chunks/action-bar.BlhZoFfL.js +209 -0
- package/dist/chunks/action-bar.BlhZoFfL.js.map +1 -0
- package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +1 -1
- package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +1 -1
- package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +1 -1
- package/dist/chunks/adyen-giving.LiKHj_jY.js.map +1 -1
- package/dist/chunks/ai-button.PAbhTT01.js +57 -0
- package/dist/chunks/ai-button.PAbhTT01.js.map +1 -0
- package/dist/chunks/ai-tag.CqMBHSfn.js +131 -0
- package/dist/chunks/ai-tag.CqMBHSfn.js.map +1 -0
- package/dist/chunks/alert.BYcw-u3b.js.map +1 -1
- package/dist/chunks/aria-label.CaUURpnB.js.map +1 -1
- package/dist/chunks/arrow-left.DoP6zFsY.js +29 -0
- package/dist/chunks/arrow-left.DoP6zFsY.js.map +1 -0
- package/dist/chunks/arrow-right.BVd1Dgd8.js +29 -0
- package/dist/chunks/arrow-right.BVd1Dgd8.js.map +1 -0
- package/dist/chunks/artificial-intelligence-ai-filled.G_Yr_37U.js +44 -0
- package/dist/chunks/artificial-intelligence-ai-filled.G_Yr_37U.js.map +1 -0
- package/dist/chunks/avatar.CNGMjwg3.js.map +1 -1
- package/dist/chunks/base-button.CUd03aA2.js.map +1 -1
- package/dist/chunks/{base-modal.D3GyeCFT.js → base-modal.CNETR72d.js} +5 -5
- package/dist/chunks/{base-modal.D3GyeCFT.js.map → base-modal.CNETR72d.js.map} +1 -1
- package/dist/chunks/bin.DuHlEQBO.js.map +1 -1
- package/dist/chunks/{button-actions-with-menu.B8xFgt-p.js → button-actions-with-menu.DY0pTtk-.js} +3 -3
- package/dist/chunks/{button-actions-with-menu.B8xFgt-p.js.map → button-actions-with-menu.DY0pTtk-.js.map} +1 -1
- package/dist/chunks/{button-actions.Crj4QFAd.js → button-actions.Dk8xU2cz.js} +2 -2
- package/dist/chunks/{button-actions.Crj4QFAd.js.map → button-actions.Dk8xU2cz.js.map} +1 -1
- package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -1
- package/dist/chunks/button.CSp48LJt.js.map +1 -1
- package/dist/chunks/{calendar.DKPx_cQU.js → calendar.Dbc0yjyg.js} +106 -100
- package/dist/chunks/{calendar.DKPx_cQU.js.map → calendar.Dbc0yjyg.js.map} +1 -1
- package/dist/chunks/{card.C_03IYJe.js → card.C7LbwK7Q.js} +2 -2
- package/dist/chunks/{card.C_03IYJe.js.map → card.C7LbwK7Q.js.map} +1 -1
- package/dist/chunks/{checkbox-group.DZrhxIHp.js → checkbox-group.CCpe-S-E.js} +4 -4
- package/dist/chunks/{checkbox-group.DZrhxIHp.js.map → checkbox-group.CCpe-S-E.js.map} +1 -1
- package/dist/chunks/{checkbox.BWgWtiLJ.js → checkbox.A35e7MsN.js} +3 -3
- package/dist/chunks/{checkbox.BWgWtiLJ.js.map → checkbox.A35e7MsN.js.map} +1 -1
- package/dist/chunks/checkmark-circle-fill._6-d40ru.js.map +1 -1
- package/dist/chunks/checkmark-small.x-gmK2Dt.js.map +1 -1
- package/dist/chunks/chevron-down.DCQ6ZLaq.js.map +1 -1
- package/dist/chunks/chevron-left.Cfn1uGLH.js.map +1 -1
- package/dist/chunks/chevron-up.kfuLRpZb.js.map +1 -1
- package/dist/chunks/click-outside.C1Ud8AA2.js.map +1 -1
- package/dist/chunks/{code-snippet.BX3Yeo0x.js → code-snippet.DKkTjYdC.js} +4 -4
- package/dist/chunks/{code-snippet.BX3Yeo0x.js.map → code-snippet.DKkTjYdC.js.map} +1 -1
- package/dist/chunks/codemirror.Cy7iSLbd.js.map +1 -1
- package/dist/chunks/constructNow.B8T1ljs6.js +8 -0
- package/dist/chunks/{constructNow.DuaJst0D.js.map → constructNow.B8T1ljs6.js.map} +1 -1
- package/dist/chunks/{controls-group.DpFv8c4E.js → controls-group.BHOKajou.js} +2 -2
- package/dist/chunks/{controls-group.DpFv8c4E.js.map → controls-group.BHOKajou.js.map} +1 -1
- package/dist/chunks/{copy.xg9ElNxd.js → copy.CgITv6wr.js} +3 -3
- package/dist/chunks/{copy.xg9ElNxd.js.map → copy.CgITv6wr.js.map} +1 -1
- package/dist/chunks/country.types.DaVCMxk-.js.map +1 -1
- package/dist/chunks/cross-circle-fill-small.Dv5-PxwF.js.map +1 -1
- package/dist/chunks/cross-circle-fill.CYLL7jfC.js.map +1 -1
- package/dist/chunks/cross-small.n1UO5wNB.js.map +1 -1
- package/dist/chunks/cross.B92GxFTY.js.map +1 -1
- package/dist/chunks/currency.DijmAkAB.js.map +1 -1
- package/dist/chunks/{dashboard-section.D_k3_Z2T.js → dashboard-section.CrXdP_MQ.js} +3 -3
- package/dist/chunks/{dashboard-section.D_k3_Z2T.js.map → dashboard-section.CrXdP_MQ.js.map} +1 -1
- package/dist/chunks/{dashed-underline.B0z2ZZh7.js → dashed-underline.BzppJBtk.js} +3 -3
- package/dist/chunks/{dashed-underline.B0z2ZZh7.js.map → dashed-underline.BzppJBtk.js.map} +1 -1
- package/dist/chunks/{data-grid-template.DdIrvOXp.js → data-grid-template.DFjdgxwb.js} +3 -3
- package/dist/chunks/{data-grid-template.DdIrvOXp.js.map → data-grid-template.DFjdgxwb.js.map} +1 -1
- package/dist/chunks/data-grid-template.keys.VezYtHtM.js.map +1 -1
- package/dist/chunks/{data-grid.CqtJp9rE.js → data-grid.KkCt0Bgm.js} +1064 -1065
- package/dist/chunks/data-grid.KkCt0Bgm.js.map +1 -0
- package/dist/chunks/date-input.BbZqj10S.js.map +1 -1
- package/dist/chunks/{date-picker.DGIwFh6T.js → date-picker.dQuj_OF_.js} +16 -16
- package/dist/chunks/{date-picker.DGIwFh6T.js.map → date-picker.dQuj_OF_.js.map} +1 -1
- package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -1
- package/dist/chunks/date-range-picker.BAKR_gDf.js +1100 -0
- package/dist/chunks/date-range-picker.BAKR_gDf.js.map +1 -0
- package/dist/chunks/date-range-picker.types.Ckt7zxGy.js.map +1 -1
- package/dist/chunks/date.CL55prL0.js.map +1 -1
- package/dist/chunks/de.DvtL0g75.js.map +1 -1
- package/dist/chunks/debounce.DUTu11PS.js.map +1 -1
- package/dist/chunks/delight.CDBAFnwC.js.map +1 -1
- package/dist/chunks/delight.xKDCvvaS.js.map +1 -1
- package/dist/chunks/dialog-page.CF10AQQ3.js +158 -0
- package/dist/chunks/dialog-page.CF10AQQ3.js.map +1 -0
- package/dist/chunks/{differenceInMonths.DcFDl4eH.js → differenceInMonths.BR4Z2HIa.js} +2 -2
- package/dist/chunks/{differenceInMonths.DcFDl4eH.js.map → differenceInMonths.BR4Z2HIa.js.map} +1 -1
- package/dist/chunks/directive.Cbdox5VL.js.map +1 -1
- package/dist/chunks/divider.Dho4_hQ7.js.map +1 -1
- package/dist/chunks/dot.ob6N-5Um.js.map +1 -1
- package/dist/chunks/dropdown-default-textbox.DFtFMu5G.js.map +1 -1
- package/dist/chunks/{dropdown-tag.Bf6TiNZw.js → dropdown-tag.CBgns9Y3.js} +3 -3
- package/dist/chunks/{dropdown-tag.Bf6TiNZw.js.map → dropdown-tag.CBgns9Y3.js.map} +1 -1
- package/dist/chunks/{dropdown.Dct8gr_q.js → dropdown.DmzMGz30.js} +22 -22
- package/dist/chunks/{dropdown.Dct8gr_q.js.map → dropdown.DmzMGz30.js.map} +1 -1
- package/dist/chunks/empty-state.D_ifpeU-.js.map +1 -1
- package/dist/chunks/en-GB.DCGuCmAv.js.map +1 -1
- package/dist/chunks/en-US.BZii9jNW.js.map +1 -1
- package/dist/chunks/es.bz0mzkMq.js.map +1 -1
- package/dist/chunks/es6.C1DXQV6f.js.map +1 -1
- package/dist/chunks/events.BQOQSSb7.js.map +1 -1
- package/dist/chunks/expand.C9IAqYYL.js.map +1 -1
- package/dist/chunks/{field-label.D7vU2Icm.js → field-label.OurHuGZS.js} +2 -2
- package/dist/chunks/{field-label.D7vU2Icm.js.map → field-label.OurHuGZS.js.map} +1 -1
- package/dist/chunks/{file-uploader.BmBKLzIx.js → file-uploader.CQgu9YIY.js} +4 -4
- package/dist/chunks/file-uploader.CQgu9YIY.js.map +1 -0
- package/dist/chunks/filter-bar.BJmaoSr2.js +4117 -0
- package/dist/chunks/filter-bar.BJmaoSr2.js.map +1 -0
- package/dist/chunks/{focus-trap.BaHvK7aT.js → focus-trap.DH57j-Ov.js} +2 -2
- package/dist/chunks/{focus-trap.BaHvK7aT.js.map → focus-trap.DH57j-Ov.js.map} +1 -1
- package/dist/chunks/{footer-actions.BqNvwVk7.js → footer-actions.BMggOsip.js} +2 -2
- package/dist/chunks/{footer-actions.BqNvwVk7.js.map → footer-actions.BMggOsip.js.map} +1 -1
- package/dist/chunks/form-field.D_2g7vaP.js.map +1 -1
- package/dist/chunks/{form-layout-title.CPsEzRzS.js → form-layout-title.wnvpIbOe.js} +2 -2
- package/dist/chunks/{form-layout-title.CPsEzRzS.js.map → form-layout-title.wnvpIbOe.js.map} +1 -1
- package/dist/chunks/form-layout.types.bZW9iR6_.js.map +1 -1
- package/dist/chunks/fr-CA.B1aPU8fp.js.map +1 -1
- package/dist/chunks/fr.Dj7wEToe.js.map +1 -1
- package/dist/chunks/generate-uid.NJ8tVoha.js.map +1 -1
- package/dist/chunks/getRoundingMethod.C3eaeGLR.js.map +1 -1
- package/dist/chunks/{getTimezoneOffsetInMilliseconds.C-aIpRfB.js → getTimezoneOffsetInMilliseconds.Tu2wlbTR.js} +3 -3
- package/dist/chunks/{getTimezoneOffsetInMilliseconds.C-aIpRfB.js.map → getTimezoneOffsetInMilliseconds.Tu2wlbTR.js.map} +1 -1
- package/dist/chunks/grab.B63hmf-_.js +26 -0
- package/dist/chunks/grab.B63hmf-_.js.map +1 -0
- package/dist/chunks/grid-layout.DDaRNz4-.js.map +1 -1
- package/dist/chunks/{header-meta.PysBmkSU.js → header-meta.CkLmuprc.js} +8 -8
- package/dist/chunks/{header-meta.PysBmkSU.js.map → header-meta.CkLmuprc.js.map} +1 -1
- package/dist/chunks/{header-with-views.XzJCg2Ln.js → header-with-views.BXZmqtnz.js} +612 -630
- package/dist/chunks/header-with-views.BXZmqtnz.js.map +1 -0
- package/dist/chunks/{header.yMTOq8MR.js → header.RiaBKasj.js} +3 -3
- package/dist/chunks/{header.yMTOq8MR.js.map → header.RiaBKasj.js.map} +1 -1
- package/dist/chunks/image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js.map +1 -1
- package/dist/chunks/{index.E60QniEu.js → index.CL07S4Wa.js} +3 -3
- package/dist/chunks/{index.E60QniEu.js.map → index.CL07S4Wa.js.map} +1 -1
- package/dist/chunks/index.pdBj0KQU.js.map +1 -1
- package/dist/chunks/{info-icon.BQDGteil.js → info-icon.B6wfo65e.js} +3 -3
- package/dist/chunks/{info-icon.BQDGteil.js.map → info-icon.B6wfo65e.js.map} +1 -1
- package/dist/chunks/info.BKwey1HA.js.map +1 -1
- package/dist/chunks/{input-field-password.Drp3Gn3x.js → input-field-password.ClyJRN6h.js} +6 -6
- package/dist/chunks/{input-field-password.Drp3Gn3x.js.map → input-field-password.ClyJRN6h.js.map} +1 -1
- package/dist/chunks/{input-field-phone-number.CcCrGAZb.js → input-field-phone-number.CUdzwXz0.js} +3 -3
- package/dist/chunks/{input-field-phone-number.CcCrGAZb.js.map → input-field-phone-number.CUdzwXz0.js.map} +1 -1
- package/dist/chunks/{input-field.CBegTqdQ.js → input-field.CFNofr-W.js} +3 -3
- package/dist/chunks/{input-field.CBegTqdQ.js.map → input-field.CFNofr-W.js.map} +1 -1
- package/dist/chunks/{inspector.Dox76eqN.js → inspector.I4-8J_fd.js} +3 -3
- package/dist/chunks/{inspector.Dox76eqN.js.map → inspector.I4-8J_fd.js.map} +1 -1
- package/dist/chunks/inspector.types.DyHwE18g.js.map +1 -1
- package/dist/chunks/internal-error.BLZodVBE.js.map +1 -1
- package/dist/chunks/internal-error.BmrwJFpR.js.map +1 -1
- package/dist/chunks/isSameWeek.5sjhTHiU.js +14 -0
- package/dist/chunks/{isSameWeek.CUD7czUN.js.map → isSameWeek.5sjhTHiU.js.map} +1 -1
- package/dist/chunks/{it.Oaj6BklL.js → it.DEniTaO2.js} +2 -2
- package/dist/chunks/{it.Oaj6BklL.js.map → it.DEniTaO2.js.map} +1 -1
- package/dist/chunks/ja.Cm9tJMi2.js.map +1 -1
- package/dist/chunks/keyboard-navigation.DWmhelVv.js.map +1 -1
- package/dist/chunks/ko.Ceaof6EP.js.map +1 -1
- package/dist/chunks/{layout-row.CX8kV_w0.js → layout-row.Ccw24NzW.js} +3 -3
- package/dist/chunks/layout-row.Ccw24NzW.js.map +1 -0
- package/dist/chunks/link.BLCQlEZU.js.map +1 -1
- package/dist/chunks/{listbox-option-tag.BQZJF00q.js → listbox-option-tag.BHQiD5oC.js} +2 -2
- package/dist/chunks/{listbox-option-tag.BQZJF00q.js.map → listbox-option-tag.BHQiD5oC.js.map} +1 -1
- package/dist/chunks/loading-indicator.Db794TT5.js.map +1 -1
- package/dist/chunks/match.CMBZxEs9.js.map +1 -1
- package/dist/chunks/minus-small.DYIyF5XW.js.map +1 -1
- package/dist/chunks/{modal-fullscreen.BXjxVsAq.js → modal-fullscreen.f445bZ94.js} +4 -4
- package/dist/chunks/{modal-fullscreen.BXjxVsAq.js.map → modal-fullscreen.f445bZ94.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.CRovU08l.js → modal.vue_vue_type_script_setup_true_lang.KSBXRR2X.js} +4 -4
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.CRovU08l.js.map → modal.vue_vue_type_script_setup_true_lang.KSBXRR2X.js.map} +1 -1
- package/dist/chunks/nl.B6vCf2B9.js.map +1 -1
- package/dist/chunks/no-results-found.Bg_ZcEid.js.map +1 -1
- package/dist/chunks/no-results-found.BqvYsBR6.js.map +1 -1
- package/dist/chunks/notifications-cleared.BMZk37uf.js.map +1 -1
- package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +1 -1
- package/dist/chunks/on-click-outside.D9aY9g8G.js.map +1 -1
- package/dist/chunks/page-not-found.COJLPVaU.js.map +1 -1
- package/dist/chunks/page-not-found.DWW6W-PZ.js.map +1 -1
- package/dist/chunks/{pagination.BofKoYTB.js → pagination.DuRU9Xg_.js} +2 -2
- package/dist/chunks/{pagination.BofKoYTB.js.map → pagination.DuRU9Xg_.js.map} +1 -1
- package/dist/chunks/payment-method.BGEBaa4w.js.map +1 -1
- package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -1
- package/dist/chunks/planned-maintenance.C61sWB9h.js.map +1 -1
- package/dist/chunks/planned-maintenance.jmWYTdet.js.map +1 -1
- package/dist/chunks/popover.types.BbYumG-N.js +6 -0
- package/dist/chunks/{popover.types.DgfeurkF.js.map → popover.types.BbYumG-N.js.map} +1 -1
- package/dist/chunks/{popper-container.I9gzp1NR.js → popper-container.DdG_YvVF.js} +2 -2
- package/dist/chunks/{popper-container.I9gzp1NR.js.map → popper-container.DdG_YvVF.js.map} +1 -1
- package/dist/chunks/{promo-banner.BIRH5sVX.js → promo-banner.DzIYjBfG.js} +2 -2
- package/dist/chunks/{promo-banner.BIRH5sVX.js.map → promo-banner.DzIYjBfG.js.map} +1 -1
- package/dist/chunks/pt-BR.CiGdfP45.js.map +1 -1
- package/dist/chunks/{radio-group.BqsQRDjs.js → radio-group.EqsvAKt2.js} +4 -4
- package/dist/chunks/{radio-group.BqsQRDjs.js.map → radio-group.EqsvAKt2.js.map} +1 -1
- package/dist/chunks/radio-input.CBNE-AkM.js.map +1 -1
- package/dist/chunks/referrals.BvtT-kQS.js.map +1 -1
- package/dist/chunks/referrals.aX8WZigH.js.map +1 -1
- package/dist/chunks/refresh.BB4ouvz_.js.map +1 -1
- package/dist/chunks/resize.Bqks3WUm.js.map +1 -1
- package/dist/chunks/{rich-text-editor.Bafyvjc3.js → rich-text-editor.-JS_rIjs.js} +4 -4
- package/dist/chunks/{rich-text-editor.Bafyvjc3.js.map → rich-text-editor.-JS_rIjs.js.map} +1 -1
- package/dist/chunks/{search-bar.DrkPxPDP.js → search-bar.DPc0omnd.js} +3 -3
- package/dist/chunks/{search-bar.DrkPxPDP.js.map → search-bar.DPc0omnd.js.map} +1 -1
- package/dist/chunks/search.PczW-onY.js.map +1 -1
- package/dist/chunks/{secondary-nav.C0_VfFa9.js → secondary-nav.BGKR8l0u.js} +3 -3
- package/dist/chunks/{secondary-nav.C0_VfFa9.js.map → secondary-nav.BGKR8l0u.js.map} +1 -1
- package/dist/chunks/{segmented-control.CFlHfj3N.js → segmented-control.CFPAl4HD.js} +2 -2
- package/dist/chunks/{segmented-control.CFlHfj3N.js.map → segmented-control.CFPAl4HD.js.map} +1 -1
- package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -1
- package/dist/chunks/{selection-card-group.DNPlEqEq.js → selection-card-group.BL0LTYhI.js} +4 -4
- package/dist/chunks/{selection-card-group.DNPlEqEq.js.map → selection-card-group.BL0LTYhI.js.map} +1 -1
- package/dist/chunks/show.CT4Augxb.js.map +1 -1
- package/dist/chunks/{sidepanel.RJihFo_R.js → sidepanel.sWMdYcUC.js} +5 -5
- package/dist/chunks/{sidepanel.RJihFo_R.js.map → sidepanel.sWMdYcUC.js.map} +1 -1
- package/dist/chunks/{startOfWeek.Dxw2MhGp.js → startOfWeek.CM1KIrNi.js} +2 -2
- package/dist/chunks/{startOfWeek.Dxw2MhGp.js.map → startOfWeek.CM1KIrNi.js.map} +1 -1
- package/dist/chunks/status.types.ChOI6XGU.js.map +1 -1
- package/dist/chunks/step.DpgnDx29.js.map +1 -1
- package/dist/chunks/{structured-list-item.B-hdp7rW.js → structured-list-item.Uky_MJPp.js} +4 -4
- package/dist/chunks/{structured-list-item.B-hdp7rW.js.map → structured-list-item.Uky_MJPp.js.map} +1 -1
- package/dist/chunks/success.DhioLvPD.js.map +1 -1
- package/dist/chunks/success.nNwxJRBS.js.map +1 -1
- package/dist/chunks/summary-grid.keys.Xx-W5a2w.js.map +1 -1
- package/dist/chunks/{summary-grid.types.BVLRSBAF.js → summary-grid.types.R-TEtkgx.js} +5 -5
- package/dist/chunks/{summary-grid.types.BVLRSBAF.js.map → summary-grid.types.R-TEtkgx.js.map} +1 -1
- package/dist/chunks/sv.f8EfZjMZ.js.map +1 -1
- package/dist/chunks/tab.JPngc9oS.js.map +1 -1
- package/dist/chunks/tabs.keys.B4qGhjp2.js.map +1 -1
- package/dist/chunks/{tag.DFJIvNLs.js → tag.CNN_D55j.js} +2 -2
- package/dist/chunks/{tag.DFJIvNLs.js.map → tag.CNN_D55j.js.map} +1 -1
- package/dist/chunks/{textarea.CEDkF8BB.js → textarea.BGcYYD8C.js} +2 -2
- package/dist/chunks/{textarea.CEDkF8BB.js.map → textarea.BGcYYD8C.js.map} +1 -1
- package/dist/chunks/{timeline-item.BxGaSGLf.js → timeline-item.Cbd_rb9J.js} +6 -6
- package/dist/chunks/{timeline-item.BxGaSGLf.js.map → timeline-item.Cbd_rb9J.js.map} +1 -1
- package/dist/chunks/toggle.vl0ZwLhN.js.map +1 -1
- package/dist/chunks/{tooltip.Nn3o8_vO.js → tooltip.CqV3Okcs.js} +2 -2
- package/dist/chunks/{tooltip.Nn3o8_vO.js.map → tooltip.CqV3Okcs.js.map} +1 -1
- package/dist/chunks/truncate.BfIl_-71.js.map +1 -1
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CEfCLTsD.js → tutorial.vue_vue_type_script_setup_true_lang.DkTE0rmi.js} +28 -28
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CEfCLTsD.js.map → tutorial.vue_vue_type_script_setup_true_lang.DkTE0rmi.js.map} +1 -1
- package/dist/chunks/typography.6Oo5TOMP.js.map +1 -1
- package/dist/chunks/upload-files.5wQwbfkp.js.map +1 -1
- package/dist/chunks/upload-files.jTQY6y2X.js.map +1 -1
- package/dist/chunks/use-bento-toast-controller.V61h7XzI.js.map +1 -1
- package/dist/chunks/{use-cached-selected-values.BZIa5TRx.js → use-cached-selected-values.iGHt7ROs.js} +15 -15
- package/dist/chunks/{use-cached-selected-values.BZIa5TRx.js.map → use-cached-selected-values.iGHt7ROs.js.map} +1 -1
- package/dist/chunks/use-country-items.JZCYNoW7.js.map +1 -1
- package/dist/chunks/use-country-phon-code.Bui3zD6W.js.map +1 -1
- package/dist/chunks/use-default-slot-validator.O02rzsob.js.map +1 -1
- package/dist/chunks/use-expandable-content-height.GkjjbmPy.js.map +1 -1
- package/dist/chunks/use-form-layout-loading.CWbjZiwP.js.map +1 -1
- package/dist/chunks/use-has-slot.B7eQSabc.js.map +1 -1
- package/dist/chunks/warning-filled.BMGD0G-_.js.map +1 -1
- package/dist/chunks/wrong-environment.BOsyKdRI.js.map +1 -1
- package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +1 -1
- package/dist/chunks/{zh-CN.BzH0fIXr.js → zh-CN.CgIooHto.js} +2 -2
- package/dist/chunks/{zh-CN.BzH0fIXr.js.map → zh-CN.CgIooHto.js.map} +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +6 -5
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/draggable-handle.js +163 -0
- package/dist/draggable-handle.js.map +1 -0
- package/dist/dropdown.js +3 -3
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +1 -1
- package/dist/header-with-views.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +319 -315
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +1 -1
- package/dist/input-field-password.js +1 -1
- package/dist/input-field-phone-number.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/inspector.js +1 -1
- package/dist/internal.js +11 -11
- package/dist/layout.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/popover.js +2 -2
- package/dist/popper-container.js +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +5 -0
- package/dist/styles/bento-light.css +5 -0
- package/dist/styles/bento.css +5 -0
- package/dist/styles/legacy.css +5 -0
- package/dist/styles/styleguide.css +5 -0
- package/dist/summary-grid.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/use-form-v4.js.map +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +6 -7
- package/dist/chunks/action-bar.CriH15oF.js +0 -204
- package/dist/chunks/action-bar.CriH15oF.js.map +0 -1
- package/dist/chunks/ai-button.CDRPf7IY.js +0 -93
- package/dist/chunks/ai-button.CDRPf7IY.js.map +0 -1
- package/dist/chunks/constructNow.DuaJst0D.js +0 -8
- package/dist/chunks/data-grid.CqtJp9rE.js.map +0 -1
- package/dist/chunks/date-range-picker.Df9XyFMH.js +0 -1896
- package/dist/chunks/date-range-picker.Df9XyFMH.js.map +0 -1
- package/dist/chunks/dialog-page.DaZSlMzY.js +0 -181
- package/dist/chunks/dialog-page.DaZSlMzY.js.map +0 -1
- package/dist/chunks/file-uploader.BmBKLzIx.js.map +0 -1
- package/dist/chunks/filter-bar.DHRuvmx9.js +0 -3363
- package/dist/chunks/filter-bar.DHRuvmx9.js.map +0 -1
- package/dist/chunks/header-with-views.XzJCg2Ln.js.map +0 -1
- package/dist/chunks/isSameWeek.CUD7czUN.js +0 -14
- package/dist/chunks/layout-row.CX8kV_w0.js.map +0 -1
- package/dist/chunks/popover.types.DgfeurkF.js +0 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as _e, useAttrs as ke, useSlots as Te, ref as h, provide as Ne, inject as j, toRef as Ae, computed as d, toRefs as Le, createBlock as u, openBlock as r, unref as t, normalizeClass as ge, withCtx as b, createCommentVNode as l, createElementVNode as I, createElementBlock as v, renderSlot as p, withModifiers as z, mergeProps as P, withKeys as Oe, createTextVNode as X, toDisplayString as Z, createVNode as Se } from "vue";
|
|
2
|
-
import { a as Ie, I as Pe, b as Re, B as G } from "./dropdown.
|
|
2
|
+
import { a as Ie, I as Pe, b as Re, B as G } from "./dropdown.DmzMGz30.js";
|
|
3
3
|
import { p as R, d as B, B as E } from "./typography.6Oo5TOMP.js";
|
|
4
4
|
import { u as Be } from "./form-field.D_2g7vaP.js";
|
|
5
5
|
import { g as _ } from "./generate-uid.NJ8tVoha.js";
|
|
@@ -8,7 +8,7 @@ import { u as Ce } from "./aria-label.CaUURpnB.js";
|
|
|
8
8
|
import { u as Fe } from "./index.pdBj0KQU.js";
|
|
9
9
|
import { u as Ve } from "./use-form-layout-loading.CWbjZiwP.js";
|
|
10
10
|
import { u as $e } from "./use-has-slot.B7eQSabc.js";
|
|
11
|
-
import { F as Me, E as Ue } from "./field-label.
|
|
11
|
+
import { F as Me, E as Ue } from "./field-label.OurHuGZS.js";
|
|
12
12
|
import { _ as He } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
13
13
|
import "../assets/input-field.css";
|
|
14
14
|
var m = /* @__PURE__ */ ((a) => (a.DEFAULT = "default", a.PAYMENT_METHOD = "payment-method", a.STATIC_VALUE = "static-value", a.DROPDOWN = "dropdown", a))(m || {}), c = /* @__PURE__ */ ((a) => (a.START = "start", a.END = "end", a))(c || {}), k = /* @__PURE__ */ ((a) => (a.CONDENSED = "condensed", a.DISABLED = "disabled", a.READONLY = "readonly", a.ERROR = "error", a))(k || {}), C = /* @__PURE__ */ ((a) => (a.SEARCH = "search", a.TEXT = "text", a.NUMBER = "number", a))(C || {}), Ye = /* @__PURE__ */ ((a) => (a.INPUT = "input", a.ESCAPE_PRESSED = "escape-pressed", a.UPDATE_DROPDOWN = "update:dropdown", a.DROPDOWN_INPUT = "dropdown-input", a.FOCUS = "focus", a.CHANGE = "change", a.BLUR = "blur", a.KEYDOWN = "keydown", a))(Ye || {});
|
|
@@ -323,4 +323,4 @@ export {
|
|
|
323
323
|
C as d,
|
|
324
324
|
Ye as e
|
|
325
325
|
};
|
|
326
|
-
//# sourceMappingURL=input-field.
|
|
326
|
+
//# sourceMappingURL=input-field.CFNofr-W.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-field.CBegTqdQ.js","sources":["../../../vue2/src/components/input-field/input-field.types.ts","../../../vue2/src/components/input-field/input-field.vue"],"sourcesContent":["import { type BentoDropdownProps } from '../dropdown/dropdown.types';\nimport { type FormField } from '../../types/form-field';\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoInputFieldVariant {\n DEFAULT = 'default',\n PAYMENT_METHOD = 'payment-method',\n STATIC_VALUE = 'static-value',\n DROPDOWN = 'dropdown',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoInputFieldElementPosition {\n START = 'start',\n END = 'end',\n}\n\nexport enum BentoInputFieldStateClass {\n CONDENSED = 'condensed',\n DISABLED = 'disabled',\n READONLY = 'readonly',\n ERROR = 'error',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoInputFieldType {\n SEARCH = 'search',\n TEXT = 'text',\n NUMBER = 'number',\n}\n\nexport type BentoInputFieldValue = string | number;\n\ntype DropdownProps = BentoDropdownProps;\nexport interface BentoInputDropdownProps {\n /**\n * Text that labels the dropdown element\n */\n 'aria-label'?: string;\n /**\n * Enables dynamic filtering\n */\n dynamicFiltering?: DropdownProps['dynamicFiltering'];\n /**\n * List of available items\n */\n items: DropdownProps['items'];\n /**\n * Sets the dropdown in read-only mode\n */\n readonly?: DropdownProps['readonly'];\n /**\n * Selected value of the dropdown\n * @deprecated Use `model-value` instead.\n */\n value?: DropdownProps['value'];\n /**\n * Selected value of the dropdown\n */\n modelValue?: DropdownProps['modelValue'];\n}\n\n/**\n * @deprecated The use of these enums is no longer supported.\n * Use `v-on:` or `@` to listen to the events being emitted.\n * This enum will be removed in 2.0.\n */\nexport enum BentoInputFieldEvent {\n INPUT = 'input',\n ESCAPE_PRESSED = 'escape-pressed',\n UPDATE_DROPDOWN = 'update:dropdown',\n DROPDOWN_INPUT = 'dropdown-input',\n FOCUS = 'focus',\n CHANGE = 'change',\n BLUR = 'blur',\n KEYDOWN = 'keydown',\n}\n\nexport interface BentoInputFieldProps extends FormField {\n /**\n * Indicates whether the element is exposed to an accessibility API.\n */\n ariaHidden?: boolean;\n\n /**\n * Text that labels an the input element\n *\n * @deprecated from version 2.0.0. Use the aria-label attribute instead.\n */\n ariaLabel?: string;\n\n /**\n * Reduces height of the input\n */\n condensed?: boolean;\n\n /**\n * Dropdown props for the small selectable dropdown menu.\n * Properties supported:\n *\n * - `aria-label`: Text that labels the dropdown element\n * - `dynamicFiltering`: Enables dynamic filtering\n * - `items`: List of available items\n * - `readonly`: Sets the dropdown in read-only mode\n * - `value`: Selected value of the dropdown\n */\n dropdown?: BentoInputDropdownProps;\n\n /**\n * Position of the dropdown before or after input value\n */\n dropdownPosition?: BentoInputFieldElementPosition | `${BentoInputFieldElementPosition}`;\n\n /**\n * Adds error validation class for outlining input-field.\n *\n * @deprecated Use \"errorMessage\" prop instead\n */\n error?: boolean;\n\n /**\n * Text displayed as the value of the input-field\n */\n modelValue?: BentoInputFieldValue;\n\n /**\n * Renders a font numeric style with slashed zeros instead of normal ones.\n */\n slashedZero?: boolean;\n\n /**\n * Static text that displayed before or after input value\n * Applicable to the Static Value variant\n */\n staticValue?: string;\n\n /**\n * Position of Static Value before or after input value\n */\n staticValuePosition?: BentoInputFieldElementPosition | `${BentoInputFieldElementPosition}`;\n\n /**\n * A string specifying the type of control to render.\n * All `input` types are available but only `search`, `text` and `number` are fully supported.\n *\n * If `type` is `search`, use `bento-search-bar` instead.\n */\n type?: BentoInputFieldType | `${BentoInputFieldType}` | HTMLInputElement['type'];\n\n /**\n * Text displayed as the value of the input-field\n * @deprecated for usage with properties since version 2.0. Use `v-model` or `model-value` instead.\n */\n value?: BentoInputFieldValue;\n\n /**\n * Describes the different variants for the input element\n */\n variant?: BentoInputFieldVariant | `${BentoInputFieldVariant}`;\n}\n","<template>\n <bento-typography\n class=\"b-input-field\"\n data-testid=\"input-text-container\"\n :class=\"inputFieldConditionalClasses\"\n el=\"div\"\n variant=\"body\"\n >\n <field-label\n v-if=\"hasSlot('default') || label\"\n :for=\"inputFieldId\"\n data-testid=\"input-field-label\"\n :tooltip-text=\"tooltipText\"\n :optional=\"optional\"\n :required=\"required\"\n :label=\"label\"\n @click=\"focusInput\"\n >\n <slot></slot>\n </field-label>\n\n <div class=\"b-input-field__input-box\" data-testid=\"input-box\" :aria-disabled=\"disabled\" @click=\"focusInput\">\n <!-- Optional Icon for Default text variant -->\n <span\n v-if=\"isDefaultVariant && (hasSlot('defaultIconBefore') || hasSlot('iconBefore'))\"\n :aria-hidden=\"ariaHidden ? 'true' : undefined\"\n class=\"b-input-field__icon-before\"\n >\n <slot v-if=\"hasSlot('iconBefore')\" name=\"iconBefore\" />\n <slot v-if=\"hasSlot('defaultIconBefore') && !hasSlot('iconBefore')\" name=\"defaultIconBefore\" />\n </span>\n\n <!-- Mandatory Icon for Payment Method variant -->\n <span\n v-if=\"isPaymentMethodVariant && hasSlot('paymentMethod')\"\n :aria-hidden=\"ariaHidden ? 'true' : undefined\"\n class=\"b-input-field__payment-method\"\n >\n <slot name=\"paymentMethod\" />\n </span>\n\n <!-- Dropdown at start -->\n <div\n v-if=\"shouldDisplayDropdownAtStart\"\n :id=\"dropdownId\"\n class=\"b-input-field__dropdown b-input-field__dropdown--start\"\n @click.stop\n >\n <bento-dropdown\n v-if=\"dropdown\"\n ref=\"inputDropdownElement\"\n v-bind=\"inputFieldDropdownProps\"\n :disabled=\"disabled\"\n :readonly=\"isDropdownReadOnly\"\n @update:model-value=\"onDropdownInput\"\n />\n </div>\n\n <!-- Static Value at start -->\n <bento-typography\n v-if=\"shouldDisplayStaticValueAtStart\"\n :id=\"staticValueId\"\n class=\"b-input-field__static-value b-input-field__static-value--start\"\n el=\"span\"\n variant=\"body\"\n >\n <slot name=\"staticValue\" />\n </bento-typography>\n <div class=\"b-input-field__input-container\">\n <input\n :id=\"inputFieldId\"\n v-bind=\"attrs\"\n ref=\"inputFieldElement\"\n class=\"b-input-field__input\"\n :aria-label=\"computedAriaLabel\"\n :aria-describedby=\"computedAriaDescribedBy\"\n :aria-owns=\"computedAriaOwns\"\n :aria-invalid=\"shouldShowError\"\n :placeholder=\"placeholder\"\n :required=\"required\"\n :type=\"type\"\n :value=\"modelValue ?? value\"\n :disabled=\"disabled\"\n :readonly=\"isReadOnly\"\n @input=\"onInput\"\n @change=\"emit('change')\"\n @focus=\"onFocus\"\n @blur=\"onBlur\"\n @keydown=\"emit('keydown', $event)\"\n @keyup=\"emit('keyup', $event)\"\n @keydown.esc=\"emit('escape-pressed')\"\n @click=\"emit('click', $event)\"\n />\n\n <!-- Hint at the end -->\n <bento-typography\n v-if=\"hint && isFocused && (modelValue || value)\"\n el=\"span\"\n class=\"b-input-field__hint\"\n >\n {{ hint }}\n </bento-typography>\n </div>\n\n <span\n v-if=\"hasSlot('iconAfter')\"\n :aria-hidden=\"ariaHidden ? 'true' : undefined\"\n class=\"b-input-field__icon-after\"\n data-testid=\"input-text__icon-after\"\n >\n <slot name=\"iconAfter\" />\n </span>\n\n <!-- Static Value at the end -->\n <bento-typography\n v-if=\"shouldDisplayStaticValueAtEnd\"\n :id=\"staticValueId\"\n class=\"b-input-field__static-value b-input-field__static-value--end\"\n el=\"span\"\n variant=\"body\"\n >\n <slot name=\"staticValue\" />\n </bento-typography>\n\n <!-- Dropdown at end -->\n <div\n v-if=\"shouldDisplayDropdownAtEnd\"\n :id=\"dropdownId\"\n data-testid=\"input-field-dropdown-container-end\"\n class=\"b-input-field__dropdown b-input-field__dropdown--end\"\n @click.stop\n >\n <bento-dropdown\n v-if=\"dropdown\"\n :id=\"dropdownId\"\n ref=\"inputDropdownElement\"\n v-bind=\"inputFieldDropdownProps\"\n :disabled=\"disabled\"\n :readonly=\"isDropdownReadOnly\"\n @update:model-value=\"onDropdownInput\"\n />\n </div>\n </div>\n\n <error-message\n v-if=\"shouldShowError && !!errorMessage\"\n :id=\"errorId\"\n :error-message=\"errorMessage\"\n class=\"b-input-field__error-message\"\n />\n\n <span\n v-if=\"hasSlot('description') || description\"\n :id=\"descriptionId\"\n class=\"b-input-field__description\"\n @click=\"focusInput\"\n >\n <bento-typography el=\"span\" variant=\"body\">\n <slot id=\"description\" name=\"description\">\n {{ description }}\n </slot>\n </bento-typography>\n </span>\n </bento-typography>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, inject, provide, type Ref, ref, toRef, toRefs, useAttrs, useSlots } from 'vue';\n\n // Components\n import { BentoDropdown } from '@/components/dropdown';\n import { BentoTypography } from '@/components/typography';\n import { ErrorMessage, FieldLabel } from '@/internal';\n\n // Utils\n import { deprecate } from '@/utils/ts/deprecate';\n import { useFormFieldEmits } from '@/utils/ts/form-field/form-field';\n import { generateUid } from '@/core/utils/ts';\n import { getSlotText } from '@/utils/ts/get-slot-text';\n import { useAriaLabel } from '@/utils/ts/aria-label';\n import { useI18n } from '@/utils/ts/i18n';\n import { printDevelopmentWarning } from '@/utils/ts/print-development-warning';\n import {\n INPUT_FIELD_COMPONENT_INJECTION_KEY,\n INPUT_FIELD_HINT_INJECTION_KEY,\n INPUT_FIELD_PARENT_COMPONENT_INJECTION_KEY,\n } from '@/components/input-field/input-field.keys';\n import { type BentoListboxSelectedValue } from '@/types/listbox';\n\n // Composables\n import { useFormLayoutFieldLoading, useHasSlot } from '@/composables';\n\n // Types\n import {\n type BentoInputDropdownProps,\n BentoInputFieldElementPosition,\n type BentoInputFieldProps,\n BentoInputFieldStateClass,\n BentoInputFieldType,\n type BentoInputFieldValue,\n BentoInputFieldVariant,\n } from './input-field.types';\n\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const attrs = useAttrs();\n const slots = useSlots();\n\n const props = withDefaults(defineProps<BentoInputFieldProps>(), {\n ariaHidden: true,\n ariaLabel: undefined,\n condensed: false,\n description: '',\n disabled: false,\n dropdown: undefined,\n dropdownPosition: BentoInputFieldElementPosition.START,\n error: false,\n errorMessage: null,\n label: '',\n modelValue: undefined,\n optional: false,\n placeholder: '',\n required: false,\n readonly: false,\n slashedZero: false,\n staticValue: '',\n staticValuePosition: BentoInputFieldElementPosition.START,\n tooltipText: null,\n type: BentoInputFieldType.TEXT,\n value: undefined,\n variant: BentoInputFieldVariant.DEFAULT,\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when the element has lost focus\n */\n (e: 'blur'): void;\n\n /**\n * Emitted when the input is clicked\n */\n (e: 'click', event: MouseEvent);\n\n /**\n * Emitted when the user modifies the element's value. Unlike the 'input' event, the change event is not necessarily fired for each alteration to an element's value\n */\n (e: 'change'): void;\n\n /**\n * Emitted when the Input Field's internal dropdown changes it's value\n */\n (e: 'dropdown-input', selectedValue: BentoListboxSelectedValue): void;\n\n /**\n * Emitted when the \"ESC\" key is pressed\n */\n (e: 'escape-pressed'): void;\n\n /**\n * Emitted when the element has received focus\n */\n (e: 'focus'): void;\n\n /**\n * Emitted when a key is pressed down\n */\n (e: 'keydown', event: KeyboardEvent): void;\n\n /**\n * Emitted when a key is pressed and lifted up\n */\n (e: 'keyup', event: KeyboardEvent): void;\n\n /**\n * Emitted when the component's model changes\n * @deprecated since version 2.0. Use `v-model` or `update:model-value` instead.\n */\n (e: 'input', inputValue: string): void;\n\n /**\n * Emitted when the Input Field's internal dropdown changes it's value. Contains every dropdown prop passed with the updated selected value as 'value'\n */\n (e: 'update:dropdown', updatedDropdownProps: BentoInputDropdownProps): void;\n\n /**\n * Emitted when the component's model changes\n */\n (e: 'update:model-value', inputValue: BentoInputFieldValue): void;\n }>();\n\n const { emitValue } = useFormFieldEmits<BentoInputFieldValue>(emit);\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n const hasSlot = useHasSlot(slots);\n const inputFieldElement = ref(null);\n const inputDropdownElement = ref(null);\n const inputFieldId = generateUid('input');\n const dropdownId = generateUid('input-dropdown');\n const staticValueId = generateUid('input-static-value');\n const descriptionId = generateUid('input-description');\n const errorId = generateUid('input-error');\n const isFocused = ref(false);\n\n // Provide INPUT_FIELD_COMPONENT_INJECTION_KEY as true, to set the input only dropdown size variant in the BentoDropdown comp\n provide(INPUT_FIELD_COMPONENT_INJECTION_KEY, true);\n // Renders the input with a hint if a string is provided\n const hint = inject<Ref<string | undefined>>(INPUT_FIELD_HINT_INJECTION_KEY, ref(undefined));\n\n const onFocus = () => {\n isFocused.value = true;\n emit('focus');\n };\n\n const onBlur = () => {\n isFocused.value = false;\n emit('blur');\n };\n\n const { isReadOnly } = useFormLayoutFieldLoading(toRef(props, 'readonly'));\n const isDropdownReadOnly = computed<BentoInputDropdownProps['readonly']>(\n () => isReadOnly.value || props.dropdown?.readonly\n );\n\n const shouldShowStaticValue = computed(\n () => props.variant === BentoInputFieldVariant.STATIC_VALUE && !!slots.staticValue\n );\n\n const isDefaultVariant = computed(() => props.variant === BentoInputFieldVariant.DEFAULT);\n\n const isPaymentMethodVariant = computed(() => props.variant === BentoInputFieldVariant.PAYMENT_METHOD);\n\n const shouldDisplayStaticValueAtStart = computed(\n () => shouldShowStaticValue.value && props.staticValuePosition === BentoInputFieldElementPosition.START\n );\n const shouldDisplayStaticValueAtEnd = computed(\n () => shouldShowStaticValue.value && props.staticValuePosition === BentoInputFieldElementPosition.END\n );\n\n const shouldShowDropdown = computed(() => props.variant === BentoInputFieldVariant.DROPDOWN && !!props.dropdown);\n const shouldDisplayDropdownAtStart = computed(\n () => shouldShowDropdown.value && props.dropdownPosition === BentoInputFieldElementPosition.START\n );\n const shouldDisplayDropdownAtEnd = computed(\n () => shouldShowDropdown.value && props.dropdownPosition === BentoInputFieldElementPosition.END\n );\n\n const shouldShowError = computed(\n () => !props.disabled && !isReadOnly.value && (!!props.errorMessage || props.error)\n );\n\n const computedLabel = computed(() => (getSlotText(slots)('default') as string) || props.label);\n const computedDescription = computed(() => (getSlotText(slots)('description') as string) || props.description);\n\n const computedAriaOwns = computed(() => {\n if (shouldShowDropdown.value === true && shouldShowStaticValue.value === true) {\n return `${staticValueId} ${dropdownId}`;\n }\n if (shouldShowDropdown.value === true) {\n return `${dropdownId}`;\n }\n if (shouldShowStaticValue.value === true) {\n return `${staticValueId}`;\n }\n return null;\n });\n\n // vue-i18n issue with t() used in script - direct usage in template works\n // requires either createI18n({ legacy: false }) or to be wrapped in computed()\n const computedAriaLabelFallbackMessage = computed(() => t('ariaLabelFallback'));\n const computedAriaLabelDropdowFallback = computed(() =>\n t('ariaLabelDropdownFallback', { inputLabel: computedAriaLabel.value })\n );\n\n const ariaLabelAttribute = ref(attrs['aria-label']);\n const { ariaLabel } = toRefs(props);\n const computedAriaLabel = useAriaLabel({\n ariaLabel: ariaLabelAttribute.value as string,\n // TODO: take this line away when the aria-label props is removed\n label: ariaLabel,\n defaultFallback: computedLabel.value || computedAriaLabelFallbackMessage,\n });\n\n const computedAriaDescribedBy = computed(\n () =>\n `${computedDescription.value ? descriptionId : ''} ${\n shouldShowError.value && !!props.errorMessage ? errorId : ''\n }`\n );\n\n const inputFieldConditionalClasses = computed(() => ({\n [`b-input-field--${BentoInputFieldStateClass.CONDENSED}`]: props.condensed,\n [`b-input-field--${BentoInputFieldStateClass.DISABLED}`]: props.disabled,\n [`b-input-field--${BentoInputFieldStateClass.READONLY}`]: isReadOnly.value,\n [`b-input-field--${BentoInputFieldStateClass.ERROR}`]: shouldShowError.value,\n [`b-input-field--slashed-zero`]: props.slashedZero,\n }));\n\n const inputFieldDropdownProps = computed(() => ({\n 'aria-label': computedAriaLabelDropdowFallback.value,\n ...props.dropdown,\n }));\n\n const onInput = (event: Event) => {\n const inputValue = (event.target as HTMLInputElement).value;\n if (!props.disabled && !isReadOnly.value) {\n emitValue(inputValue);\n }\n };\n\n const onDropdownInput = (selectedValue: BentoListboxSelectedValue) => {\n emit('dropdown-input', selectedValue);\n emit('update:dropdown', { ...props?.dropdown, value: selectedValue });\n };\n\n const focusInput = () => {\n inputFieldElement.value.focus();\n };\n\n const focus = () => {\n if (props.variant === 'dropdown') {\n inputDropdownElement.value.focus();\n } else {\n focusInput();\n }\n };\n\n // Expose method so that other components can focus on it in Vue3\n defineExpose({\n focusInput,\n focus,\n });\n\n const inputFieldParentComponent = inject(INPUT_FIELD_PARENT_COMPONENT_INJECTION_KEY, '');\n\n if (!Object.values(BentoInputFieldType).includes(props.type as BentoInputFieldType) && !inputFieldParentComponent) {\n if (props.type === 'tel') {\n printDevelopmentWarning(\n `\"bento-input-field\" dropdown does not support the type '${props.type}', use \"bento-input-field-phone-number\" instead.`\n );\n } else if (props.type === 'password') {\n printDevelopmentWarning(\n `\"bento-input-field\" dropdown does not support the type '${props.type}', use \"bento-input-field-password\" instead.`\n );\n } else {\n printDevelopmentWarning(`\"bento-input-field\" dropdown does not support the type '${props.type}'`);\n }\n }\n\n /**\n * Deprecations\n */\n if (props.error) {\n deprecate(\n 'BentoInputField \"error\" property',\n `Use the BentoInputField \"errorMessage\" property instead to indicate that there is a modifier error.\n Having the field as \"undefined\" will hide/remove the error.\n <bento-dropdown errorMessage=\"Error message text\" />`,\n '2.0.0'\n );\n }\n\n if (hasSlot('defaultIconBefore')) {\n deprecate(\n 'BentoInputField \"defaultIconBefore\" slot',\n `Use the BentoInputField \"iconBefore\" slot instead to add an icon at the left side of the input field\n <bento-input-field>\n \\t<template #iconBefore>\n \\t\\t<my-icon-goes-here />\n \\t</template>\n </bento-input-field>`,\n '2.0.0'\n );\n }\n\n if (props.value) {\n deprecate(\n 'BentoInputField \"value\" property',\n `The use of \"value\" prop in \"BentoInputField\" is no longer supported.\n Use the \"v-model\" or \"model-value\" property instead.`,\n '2.0.0'\n );\n }\n</script>\n\n<script lang=\"ts\">\n /**\n * Input field component is used to create interactive controls for web-based\n * forms in order to accept data from the user.\n *\n * @example\n * import { BentoInputField } from '@adyen/bento-vue2'\n *\n * const inputValue = ref('');\n *\n * export default {\n * components: { BentoInputField },\n * tempate: `\n * <bento-input-field\n * :model-value=\"inputValue\"\n * :@update:model-value=\"newValue => inputValue.value = newValue\"\n * >\n * }\n */\n export default {\n name: 'bento-input-field',\n model: { prop: 'modelValue' },\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./input-field.scss\" />\n"],"names":["BentoInputFieldVariant","BentoInputFieldVariant2","BentoInputFieldElementPosition","BentoInputFieldElementPosition2","BentoInputFieldStateClass","BentoInputFieldStateClass2","BentoInputFieldType","BentoInputFieldType2","BentoInputFieldEvent","BentoInputFieldEvent2","__default__","messages","attrs","useAttrs","slots","useSlots","props","__props","emit","__emit","emitValue","useFormFieldEmits","t","useI18n","hasSlot","useHasSlot","inputFieldElement","ref","inputDropdownElement","inputFieldId","generateUid","dropdownId","staticValueId","descriptionId","errorId","isFocused","provide","INPUT_FIELD_COMPONENT_INJECTION_KEY","hint","inject","INPUT_FIELD_HINT_INJECTION_KEY","onFocus","onBlur","isReadOnly","useFormLayoutFieldLoading","toRef","isDropdownReadOnly","computed","_a","shouldShowStaticValue","isDefaultVariant","isPaymentMethodVariant","shouldDisplayStaticValueAtStart","shouldDisplayStaticValueAtEnd","shouldShowDropdown","shouldDisplayDropdownAtStart","shouldDisplayDropdownAtEnd","shouldShowError","computedLabel","getSlotText","computedDescription","computedAriaOwns","computedAriaLabelFallbackMessage","computedAriaLabelDropdowFallback","computedAriaLabel","ariaLabelAttribute","ariaLabel","toRefs","useAriaLabel","computedAriaDescribedBy","inputFieldConditionalClasses","inputFieldDropdownProps","onInput","event","inputValue","onDropdownInput","selectedValue","focusInput","__expose","inputFieldParentComponent","INPUT_FIELD_PARENT_COMPONENT_INJECTION_KEY","printDevelopmentWarning","deprecate"],"mappings":";;;;;;;;;;;;;AAMY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,UAAA,WACAA,EAAA,iBAAA,kBACA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W.js","sources":["../../../vue2/src/components/input-field/input-field.types.ts","../../../vue2/src/components/input-field/input-field.vue"],"sourcesContent":["import { type BentoDropdownProps } from '../dropdown/dropdown.types';\nimport { type FormField } from '../../types/form-field';\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoInputFieldVariant {\n DEFAULT = 'default',\n PAYMENT_METHOD = 'payment-method',\n STATIC_VALUE = 'static-value',\n DROPDOWN = 'dropdown',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoInputFieldElementPosition {\n START = 'start',\n END = 'end',\n}\n\nexport enum BentoInputFieldStateClass {\n CONDENSED = 'condensed',\n DISABLED = 'disabled',\n READONLY = 'readonly',\n ERROR = 'error',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoInputFieldType {\n SEARCH = 'search',\n TEXT = 'text',\n NUMBER = 'number',\n}\n\nexport type BentoInputFieldValue = string | number;\n\ntype DropdownProps = BentoDropdownProps;\nexport interface BentoInputDropdownProps {\n /**\n * Text that labels the dropdown element\n */\n 'aria-label'?: string;\n /**\n * Enables dynamic filtering\n */\n dynamicFiltering?: DropdownProps['dynamicFiltering'];\n /**\n * List of available items\n */\n items: DropdownProps['items'];\n /**\n * Sets the dropdown in read-only mode\n */\n readonly?: DropdownProps['readonly'];\n /**\n * Selected value of the dropdown\n * @deprecated Use `model-value` instead.\n */\n value?: DropdownProps['value'];\n /**\n * Selected value of the dropdown\n */\n modelValue?: DropdownProps['modelValue'];\n}\n\n/**\n * @deprecated The use of these enums is no longer supported.\n * Use `v-on:` or `@` to listen to the events being emitted.\n * This enum will be removed in 2.0.\n */\nexport enum BentoInputFieldEvent {\n INPUT = 'input',\n ESCAPE_PRESSED = 'escape-pressed',\n UPDATE_DROPDOWN = 'update:dropdown',\n DROPDOWN_INPUT = 'dropdown-input',\n FOCUS = 'focus',\n CHANGE = 'change',\n BLUR = 'blur',\n KEYDOWN = 'keydown',\n}\n\nexport interface BentoInputFieldProps extends FormField {\n /**\n * Indicates whether the element is exposed to an accessibility API.\n */\n ariaHidden?: boolean;\n\n /**\n * Text that labels an the input element\n *\n * @deprecated from version 2.0.0. Use the aria-label attribute instead.\n */\n ariaLabel?: string;\n\n /**\n * Reduces height of the input\n */\n condensed?: boolean;\n\n /**\n * Dropdown props for the small selectable dropdown menu.\n * Properties supported:\n *\n * - `aria-label`: Text that labels the dropdown element\n * - `dynamicFiltering`: Enables dynamic filtering\n * - `items`: List of available items\n * - `readonly`: Sets the dropdown in read-only mode\n * - `value`: Selected value of the dropdown\n */\n dropdown?: BentoInputDropdownProps;\n\n /**\n * Position of the dropdown before or after input value\n */\n dropdownPosition?: BentoInputFieldElementPosition | `${BentoInputFieldElementPosition}`;\n\n /**\n * Adds error validation class for outlining input-field.\n *\n * @deprecated Use \"errorMessage\" prop instead\n */\n error?: boolean;\n\n /**\n * Text displayed as the value of the input-field\n */\n modelValue?: BentoInputFieldValue;\n\n /**\n * Renders a font numeric style with slashed zeros instead of normal ones.\n */\n slashedZero?: boolean;\n\n /**\n * Static text that displayed before or after input value\n * Applicable to the Static Value variant\n */\n staticValue?: string;\n\n /**\n * Position of Static Value before or after input value\n */\n staticValuePosition?: BentoInputFieldElementPosition | `${BentoInputFieldElementPosition}`;\n\n /**\n * A string specifying the type of control to render.\n * All `input` types are available but only `search`, `text` and `number` are fully supported.\n *\n * If `type` is `search`, use `bento-search-bar` instead.\n */\n type?: BentoInputFieldType | `${BentoInputFieldType}` | HTMLInputElement['type'];\n\n /**\n * Text displayed as the value of the input-field\n * @deprecated for usage with properties since version 2.0. Use `v-model` or `model-value` instead.\n */\n value?: BentoInputFieldValue;\n\n /**\n * Describes the different variants for the input element\n */\n variant?: BentoInputFieldVariant | `${BentoInputFieldVariant}`;\n}\n","<template>\n <bento-typography\n class=\"b-input-field\"\n data-testid=\"input-text-container\"\n :class=\"inputFieldConditionalClasses\"\n el=\"div\"\n variant=\"body\"\n >\n <field-label\n v-if=\"hasSlot('default') || label\"\n :for=\"inputFieldId\"\n data-testid=\"input-field-label\"\n :tooltip-text=\"tooltipText\"\n :optional=\"optional\"\n :required=\"required\"\n :label=\"label\"\n @click=\"focusInput\"\n >\n <slot></slot>\n </field-label>\n\n <div class=\"b-input-field__input-box\" data-testid=\"input-box\" :aria-disabled=\"disabled\" @click=\"focusInput\">\n <!-- Optional Icon for Default text variant -->\n <span\n v-if=\"isDefaultVariant && (hasSlot('defaultIconBefore') || hasSlot('iconBefore'))\"\n :aria-hidden=\"ariaHidden ? 'true' : undefined\"\n class=\"b-input-field__icon-before\"\n >\n <slot v-if=\"hasSlot('iconBefore')\" name=\"iconBefore\" />\n <slot v-if=\"hasSlot('defaultIconBefore') && !hasSlot('iconBefore')\" name=\"defaultIconBefore\" />\n </span>\n\n <!-- Mandatory Icon for Payment Method variant -->\n <span\n v-if=\"isPaymentMethodVariant && hasSlot('paymentMethod')\"\n :aria-hidden=\"ariaHidden ? 'true' : undefined\"\n class=\"b-input-field__payment-method\"\n >\n <slot name=\"paymentMethod\" />\n </span>\n\n <!-- Dropdown at start -->\n <div\n v-if=\"shouldDisplayDropdownAtStart\"\n :id=\"dropdownId\"\n class=\"b-input-field__dropdown b-input-field__dropdown--start\"\n @click.stop\n >\n <bento-dropdown\n v-if=\"dropdown\"\n ref=\"inputDropdownElement\"\n v-bind=\"inputFieldDropdownProps\"\n :disabled=\"disabled\"\n :readonly=\"isDropdownReadOnly\"\n @update:model-value=\"onDropdownInput\"\n />\n </div>\n\n <!-- Static Value at start -->\n <bento-typography\n v-if=\"shouldDisplayStaticValueAtStart\"\n :id=\"staticValueId\"\n class=\"b-input-field__static-value b-input-field__static-value--start\"\n el=\"span\"\n variant=\"body\"\n >\n <slot name=\"staticValue\" />\n </bento-typography>\n <div class=\"b-input-field__input-container\">\n <input\n :id=\"inputFieldId\"\n v-bind=\"attrs\"\n ref=\"inputFieldElement\"\n class=\"b-input-field__input\"\n :aria-label=\"computedAriaLabel\"\n :aria-describedby=\"computedAriaDescribedBy\"\n :aria-owns=\"computedAriaOwns\"\n :aria-invalid=\"shouldShowError\"\n :placeholder=\"placeholder\"\n :required=\"required\"\n :type=\"type\"\n :value=\"modelValue ?? value\"\n :disabled=\"disabled\"\n :readonly=\"isReadOnly\"\n @input=\"onInput\"\n @change=\"emit('change')\"\n @focus=\"onFocus\"\n @blur=\"onBlur\"\n @keydown=\"emit('keydown', $event)\"\n @keyup=\"emit('keyup', $event)\"\n @keydown.esc=\"emit('escape-pressed')\"\n @click=\"emit('click', $event)\"\n />\n\n <!-- Hint at the end -->\n <bento-typography\n v-if=\"hint && isFocused && (modelValue || value)\"\n el=\"span\"\n class=\"b-input-field__hint\"\n >\n {{ hint }}\n </bento-typography>\n </div>\n\n <span\n v-if=\"hasSlot('iconAfter')\"\n :aria-hidden=\"ariaHidden ? 'true' : undefined\"\n class=\"b-input-field__icon-after\"\n data-testid=\"input-text__icon-after\"\n >\n <slot name=\"iconAfter\" />\n </span>\n\n <!-- Static Value at the end -->\n <bento-typography\n v-if=\"shouldDisplayStaticValueAtEnd\"\n :id=\"staticValueId\"\n class=\"b-input-field__static-value b-input-field__static-value--end\"\n el=\"span\"\n variant=\"body\"\n >\n <slot name=\"staticValue\" />\n </bento-typography>\n\n <!-- Dropdown at end -->\n <div\n v-if=\"shouldDisplayDropdownAtEnd\"\n :id=\"dropdownId\"\n data-testid=\"input-field-dropdown-container-end\"\n class=\"b-input-field__dropdown b-input-field__dropdown--end\"\n @click.stop\n >\n <bento-dropdown\n v-if=\"dropdown\"\n :id=\"dropdownId\"\n ref=\"inputDropdownElement\"\n v-bind=\"inputFieldDropdownProps\"\n :disabled=\"disabled\"\n :readonly=\"isDropdownReadOnly\"\n @update:model-value=\"onDropdownInput\"\n />\n </div>\n </div>\n\n <error-message\n v-if=\"shouldShowError && !!errorMessage\"\n :id=\"errorId\"\n :error-message=\"errorMessage\"\n class=\"b-input-field__error-message\"\n />\n\n <span\n v-if=\"hasSlot('description') || description\"\n :id=\"descriptionId\"\n class=\"b-input-field__description\"\n @click=\"focusInput\"\n >\n <bento-typography el=\"span\" variant=\"body\">\n <slot id=\"description\" name=\"description\">\n {{ description }}\n </slot>\n </bento-typography>\n </span>\n </bento-typography>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, inject, provide, type Ref, ref, toRef, toRefs, useAttrs, useSlots } from 'vue';\n\n // Components\n import { BentoDropdown } from '@/components/dropdown';\n import { BentoTypography } from '@/components/typography';\n import { ErrorMessage, FieldLabel } from '@/internal';\n\n // Utils\n import { deprecate } from '@/utils/ts/deprecate';\n import { useFormFieldEmits } from '@/utils/ts/form-field/form-field';\n import { generateUid } from '@/core/utils/ts';\n import { getSlotText } from '@/utils/ts/get-slot-text';\n import { useAriaLabel } from '@/utils/ts/aria-label';\n import { useI18n } from '@/utils/ts/i18n';\n import { printDevelopmentWarning } from '@/utils/ts/print-development-warning';\n import {\n INPUT_FIELD_COMPONENT_INJECTION_KEY,\n INPUT_FIELD_HINT_INJECTION_KEY,\n INPUT_FIELD_PARENT_COMPONENT_INJECTION_KEY,\n } from '@/components/input-field/input-field.keys';\n import { type BentoListboxSelectedValue } from '@/types/listbox';\n\n // Composables\n import { useFormLayoutFieldLoading, useHasSlot } from '@/composables';\n\n // Types\n import {\n type BentoInputDropdownProps,\n BentoInputFieldElementPosition,\n type BentoInputFieldProps,\n BentoInputFieldStateClass,\n BentoInputFieldType,\n type BentoInputFieldValue,\n BentoInputFieldVariant,\n } from './input-field.types';\n\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const attrs = useAttrs();\n const slots = useSlots();\n\n const props = withDefaults(defineProps<BentoInputFieldProps>(), {\n ariaHidden: true,\n ariaLabel: undefined,\n condensed: false,\n description: '',\n disabled: false,\n dropdown: undefined,\n dropdownPosition: BentoInputFieldElementPosition.START,\n error: false,\n errorMessage: null,\n label: '',\n modelValue: undefined,\n optional: false,\n placeholder: '',\n required: false,\n readonly: false,\n slashedZero: false,\n staticValue: '',\n staticValuePosition: BentoInputFieldElementPosition.START,\n tooltipText: null,\n type: BentoInputFieldType.TEXT,\n value: undefined,\n variant: BentoInputFieldVariant.DEFAULT,\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when the element has lost focus\n */\n (e: 'blur'): void;\n\n /**\n * Emitted when the input is clicked\n */\n (e: 'click', event: MouseEvent);\n\n /**\n * Emitted when the user modifies the element's value. Unlike the 'input' event, the change event is not necessarily fired for each alteration to an element's value\n */\n (e: 'change'): void;\n\n /**\n * Emitted when the Input Field's internal dropdown changes it's value\n */\n (e: 'dropdown-input', selectedValue: BentoListboxSelectedValue): void;\n\n /**\n * Emitted when the \"ESC\" key is pressed\n */\n (e: 'escape-pressed'): void;\n\n /**\n * Emitted when the element has received focus\n */\n (e: 'focus'): void;\n\n /**\n * Emitted when a key is pressed down\n */\n (e: 'keydown', event: KeyboardEvent): void;\n\n /**\n * Emitted when a key is pressed and lifted up\n */\n (e: 'keyup', event: KeyboardEvent): void;\n\n /**\n * Emitted when the component's model changes\n * @deprecated since version 2.0. Use `v-model` or `update:model-value` instead.\n */\n (e: 'input', inputValue: string): void;\n\n /**\n * Emitted when the Input Field's internal dropdown changes it's value. Contains every dropdown prop passed with the updated selected value as 'value'\n */\n (e: 'update:dropdown', updatedDropdownProps: BentoInputDropdownProps): void;\n\n /**\n * Emitted when the component's model changes\n */\n (e: 'update:model-value', inputValue: BentoInputFieldValue): void;\n }>();\n\n const { emitValue } = useFormFieldEmits<BentoInputFieldValue>(emit);\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n const hasSlot = useHasSlot(slots);\n const inputFieldElement = ref(null);\n const inputDropdownElement = ref(null);\n const inputFieldId = generateUid('input');\n const dropdownId = generateUid('input-dropdown');\n const staticValueId = generateUid('input-static-value');\n const descriptionId = generateUid('input-description');\n const errorId = generateUid('input-error');\n const isFocused = ref(false);\n\n // Provide INPUT_FIELD_COMPONENT_INJECTION_KEY as true, to set the input only dropdown size variant in the BentoDropdown comp\n provide(INPUT_FIELD_COMPONENT_INJECTION_KEY, true);\n // Renders the input with a hint if a string is provided\n const hint = inject<Ref<string | undefined>>(INPUT_FIELD_HINT_INJECTION_KEY, ref(undefined));\n\n const onFocus = () => {\n isFocused.value = true;\n emit('focus');\n };\n\n const onBlur = () => {\n isFocused.value = false;\n emit('blur');\n };\n\n const { isReadOnly } = useFormLayoutFieldLoading(toRef(props, 'readonly'));\n const isDropdownReadOnly = computed<BentoInputDropdownProps['readonly']>(\n () => isReadOnly.value || props.dropdown?.readonly\n );\n\n const shouldShowStaticValue = computed(\n () => props.variant === BentoInputFieldVariant.STATIC_VALUE && !!slots.staticValue\n );\n\n const isDefaultVariant = computed(() => props.variant === BentoInputFieldVariant.DEFAULT);\n\n const isPaymentMethodVariant = computed(() => props.variant === BentoInputFieldVariant.PAYMENT_METHOD);\n\n const shouldDisplayStaticValueAtStart = computed(\n () => shouldShowStaticValue.value && props.staticValuePosition === BentoInputFieldElementPosition.START\n );\n const shouldDisplayStaticValueAtEnd = computed(\n () => shouldShowStaticValue.value && props.staticValuePosition === BentoInputFieldElementPosition.END\n );\n\n const shouldShowDropdown = computed(() => props.variant === BentoInputFieldVariant.DROPDOWN && !!props.dropdown);\n const shouldDisplayDropdownAtStart = computed(\n () => shouldShowDropdown.value && props.dropdownPosition === BentoInputFieldElementPosition.START\n );\n const shouldDisplayDropdownAtEnd = computed(\n () => shouldShowDropdown.value && props.dropdownPosition === BentoInputFieldElementPosition.END\n );\n\n const shouldShowError = computed(\n () => !props.disabled && !isReadOnly.value && (!!props.errorMessage || props.error)\n );\n\n const computedLabel = computed(() => (getSlotText(slots)('default') as string) || props.label);\n const computedDescription = computed(() => (getSlotText(slots)('description') as string) || props.description);\n\n const computedAriaOwns = computed(() => {\n if (shouldShowDropdown.value === true && shouldShowStaticValue.value === true) {\n return `${staticValueId} ${dropdownId}`;\n }\n if (shouldShowDropdown.value === true) {\n return `${dropdownId}`;\n }\n if (shouldShowStaticValue.value === true) {\n return `${staticValueId}`;\n }\n return null;\n });\n\n // vue-i18n issue with t() used in script - direct usage in template works\n // requires either createI18n({ legacy: false }) or to be wrapped in computed()\n const computedAriaLabelFallbackMessage = computed(() => t('ariaLabelFallback'));\n const computedAriaLabelDropdowFallback = computed(() =>\n t('ariaLabelDropdownFallback', { inputLabel: computedAriaLabel.value })\n );\n\n const ariaLabelAttribute = ref(attrs['aria-label']);\n const { ariaLabel } = toRefs(props);\n const computedAriaLabel = useAriaLabel({\n ariaLabel: ariaLabelAttribute.value as string,\n // TODO: take this line away when the aria-label props is removed\n label: ariaLabel,\n defaultFallback: computedLabel.value || computedAriaLabelFallbackMessage,\n });\n\n const computedAriaDescribedBy = computed(\n () =>\n `${computedDescription.value ? descriptionId : ''} ${\n shouldShowError.value && !!props.errorMessage ? errorId : ''\n }`\n );\n\n const inputFieldConditionalClasses = computed(() => ({\n [`b-input-field--${BentoInputFieldStateClass.CONDENSED}`]: props.condensed,\n [`b-input-field--${BentoInputFieldStateClass.DISABLED}`]: props.disabled,\n [`b-input-field--${BentoInputFieldStateClass.READONLY}`]: isReadOnly.value,\n [`b-input-field--${BentoInputFieldStateClass.ERROR}`]: shouldShowError.value,\n [`b-input-field--slashed-zero`]: props.slashedZero,\n }));\n\n const inputFieldDropdownProps = computed(() => ({\n 'aria-label': computedAriaLabelDropdowFallback.value,\n ...props.dropdown,\n }));\n\n const onInput = (event: Event) => {\n const inputValue = (event.target as HTMLInputElement).value;\n if (!props.disabled && !isReadOnly.value) {\n emitValue(inputValue);\n }\n };\n\n const onDropdownInput = (selectedValue: BentoListboxSelectedValue) => {\n emit('dropdown-input', selectedValue);\n emit('update:dropdown', { ...props?.dropdown, value: selectedValue });\n };\n\n const focusInput = () => {\n inputFieldElement.value.focus();\n };\n\n const focus = () => {\n if (props.variant === 'dropdown') {\n inputDropdownElement.value.focus();\n } else {\n focusInput();\n }\n };\n\n // Expose method so that other components can focus on it in Vue3\n defineExpose({\n focusInput,\n focus,\n });\n\n const inputFieldParentComponent = inject(INPUT_FIELD_PARENT_COMPONENT_INJECTION_KEY, '');\n\n if (!Object.values(BentoInputFieldType).includes(props.type as BentoInputFieldType) && !inputFieldParentComponent) {\n if (props.type === 'tel') {\n printDevelopmentWarning(\n `\"bento-input-field\" dropdown does not support the type '${props.type}', use \"bento-input-field-phone-number\" instead.`\n );\n } else if (props.type === 'password') {\n printDevelopmentWarning(\n `\"bento-input-field\" dropdown does not support the type '${props.type}', use \"bento-input-field-password\" instead.`\n );\n } else {\n printDevelopmentWarning(`\"bento-input-field\" dropdown does not support the type '${props.type}'`);\n }\n }\n\n /**\n * Deprecations\n */\n if (props.error) {\n deprecate(\n 'BentoInputField \"error\" property',\n `Use the BentoInputField \"errorMessage\" property instead to indicate that there is a modifier error.\n Having the field as \"undefined\" will hide/remove the error.\n <bento-dropdown errorMessage=\"Error message text\" />`,\n '2.0.0'\n );\n }\n\n if (hasSlot('defaultIconBefore')) {\n deprecate(\n 'BentoInputField \"defaultIconBefore\" slot',\n `Use the BentoInputField \"iconBefore\" slot instead to add an icon at the left side of the input field\n <bento-input-field>\n \\t<template #iconBefore>\n \\t\\t<my-icon-goes-here />\n \\t</template>\n </bento-input-field>`,\n '2.0.0'\n );\n }\n\n if (props.value) {\n deprecate(\n 'BentoInputField \"value\" property',\n `The use of \"value\" prop in \"BentoInputField\" is no longer supported.\n Use the \"v-model\" or \"model-value\" property instead.`,\n '2.0.0'\n );\n }\n</script>\n\n<script lang=\"ts\">\n /**\n * Input field component is used to create interactive controls for web-based\n * forms in order to accept data from the user.\n *\n * @example\n * import { BentoInputField } from '@adyen/bento-vue2'\n *\n * const inputValue = ref('');\n *\n * export default {\n * components: { BentoInputField },\n * tempate: `\n * <bento-input-field\n * :model-value=\"inputValue\"\n * :@update:model-value=\"newValue => inputValue.value = newValue\"\n * >\n * }\n */\n export default {\n name: 'bento-input-field',\n model: { prop: 'modelValue' },\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./input-field.scss\" />\n"],"names":["BentoInputFieldVariant","BentoInputFieldVariant2","BentoInputFieldElementPosition","BentoInputFieldElementPosition2","BentoInputFieldStateClass","BentoInputFieldStateClass2","BentoInputFieldType","BentoInputFieldType2","BentoInputFieldEvent","BentoInputFieldEvent2","__default__","messages","attrs","useAttrs","slots","useSlots","props","__props","emit","__emit","emitValue","useFormFieldEmits","t","useI18n","hasSlot","useHasSlot","inputFieldElement","ref","inputDropdownElement","inputFieldId","generateUid","dropdownId","staticValueId","descriptionId","errorId","isFocused","provide","INPUT_FIELD_COMPONENT_INJECTION_KEY","hint","inject","INPUT_FIELD_HINT_INJECTION_KEY","onFocus","onBlur","isReadOnly","useFormLayoutFieldLoading","toRef","isDropdownReadOnly","computed","_a","shouldShowStaticValue","isDefaultVariant","isPaymentMethodVariant","shouldDisplayStaticValueAtStart","shouldDisplayStaticValueAtEnd","shouldShowDropdown","shouldDisplayDropdownAtStart","shouldDisplayDropdownAtEnd","shouldShowError","computedLabel","getSlotText","computedDescription","computedAriaOwns","computedAriaLabelFallbackMessage","computedAriaLabelDropdowFallback","computedAriaLabel","ariaLabelAttribute","ariaLabel","toRefs","useAriaLabel","computedAriaDescribedBy","inputFieldConditionalClasses","inputFieldDropdownProps","onInput","event","inputValue","onDropdownInput","selectedValue","focusInput","__expose","inputFieldParentComponent","INPUT_FIELD_PARENT_COMPONENT_INJECTION_KEY","printDevelopmentWarning","deprecate"],"mappings":";;;;;;;;;;;;;AAMO,IAAAA,IAAA,kBAAAC,OACHA,EAAA,UAAA,WACAA,EAAA,iBAAA,kBACAA,EAAA,eAAA,gBACAA,EAAA,WAAA,YAJQA,IAAAD,KAAA,CAAA,CAAA,GAULE,IAAA,kBAAAC,OACHA,EAAA,QAAA,SACAA,EAAA,MAAA,OAFQA,IAAAD,KAAA,CAAA,CAAA,GAKLE,IAAA,kBAAAC,OACHA,EAAA,YAAA,aACAA,EAAA,WAAA,YACAA,EAAA,WAAA,YACAA,EAAA,QAAA,SAJQA,IAAAD,KA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D,GAAA;AAAA,MAAa,YAAAD;AAAA,MACT,OAVJ,MAAA;AACI,QAAA7D,EAAA,YAAA,aACIY,EAAA,MAAA,MAAA,IAEAiD,EAAA;AAAA,MACJ;AAAA,IAMA,CAAA;AAGJ,UAAAE,KAAAxC,EAAAyC,IAAA,EAAA;AAEA,WAAA,CAAA,OAAA,OAAA1E,CAAA,EAAA,SAAAU,EAAA,IAAA,KAAA,CAAA+D,OACI/D,EAAA,SAAA,QACIiE;AAAA,MAAA,2DAAAjE,EAAA,IAAA;AAAA,IACyE,IACzEA,EAAA,SAAA,aAEAiE;AAAA,MAAA,2DAAAjE,EAAA,IAAA;AAAA,IACyE,IAGzEiE,EAAA,2DAAAjE,EAAA,IAAA,GAAA,IAORA,EAAA,SACIkE;AAAA,MAAA;AAAA,MACI;AAAA;AAAA;AAAA,MACA;AAAA,IAGA,GAIR1D,EAAA,mBAAA,KACI0D;AAAA,MAAA;AAAA,MACI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MACA;AAAA,IAMA,GAIRlE,EAAA,SACIkE;AAAA,MAAA;AAAA,MACI;AAAA;AAAA,MACA;AAAA,IAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,12 +2,12 @@ import { ref as v, watch as x, defineComponent as $, computed as b, createElemen
|
|
|
2
2
|
import { d as U, B as X } from "./typography.6Oo5TOMP.js";
|
|
3
3
|
import { B as k } from "./button.CSp48LJt.js";
|
|
4
4
|
import { B as j } from "./loading-indicator.Db794TT5.js";
|
|
5
|
-
import { B as q, s as J, g as W, a as Q, f as Z } from "./focus-trap.
|
|
5
|
+
import { B as q, s as J, g as W, a as Q, f as Z } from "./focus-trap.DH57j-Ov.js";
|
|
6
6
|
import { E as ee } from "./expand.C9IAqYYL.js";
|
|
7
7
|
import { C as te } from "./cross.B92GxFTY.js";
|
|
8
8
|
import { g as ne } from "./generate-uid.NJ8tVoha.js";
|
|
9
9
|
import { u as oe } from "./index.pdBj0KQU.js";
|
|
10
|
-
import { a as ae, b as se } from "./index.
|
|
10
|
+
import { a as ae, b as se } from "./index.CL07S4Wa.js";
|
|
11
11
|
import { _ as ie } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
12
12
|
import "../assets/inspector.css";
|
|
13
13
|
function re(_) {
|
|
@@ -203,4 +203,4 @@ const I = {
|
|
|
203
203
|
export {
|
|
204
204
|
Me as B
|
|
205
205
|
};
|
|
206
|
-
//# sourceMappingURL=inspector.
|
|
206
|
+
//# sourceMappingURL=inspector.I4-8J_fd.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inspector.Dox76eqN.js","sources":["../../../vue2/src/components/inspector/composables/use-focus-history/use-focus-history.ts","../../../vue2/src/components/inspector/inspector.vue"],"sourcesContent":["import { ref, type Ref } from 'vue';\nimport { useActiveElement } from '@vueuse/core';\nimport { watch } from 'vue';\n\n/**\n * A composable to track the focus history within a target element.\n * @param targetEl The stable parent element to monitor for focus changes.\n */\nexport function useFocusHistory(targetEl: Ref<HTMLElement | null>) {\n const MAX_HISTORY_LENGTH = 3;\n\n const focusHistory = ref<Array<Element>>([]);\n\n const currentActiveElement = useActiveElement();\n\n // Edge case 1:\n // While the inspector is opened, if user tabs through the data-grid to the inspector, and closes it,\n // it returns to the last element on the data grid regardless if it is a data-grid-cell.\n //\n // Edge case 2:\n // Buttons or actions teleported out of the data-grid may have the focus shifted into a different context.\n watch(currentActiveElement, newlyFocusedElement => {\n // Check if the newly focused element is a child of our target container.\n if (!targetEl.value || !newlyFocusedElement || !targetEl.value.contains(newlyFocusedElement)) {\n return;\n }\n\n // Add the focused element to the history\n focusHistory.value.unshift(newlyFocusedElement);\n\n if (focusHistory.value.length > MAX_HISTORY_LENGTH) {\n focusHistory.value.pop();\n }\n });\n\n /**\n * Iterates through the focus history to find the first valid element\n * that is still present in the DOM.\n * @returns The first valid historical element, or null if none are found.\n */\n const findValidFocusFallback = (): HTMLElement | null => {\n for (const el of focusHistory.value) {\n if (el && document.body.contains(el as Node)) {\n return el as HTMLElement;\n }\n }\n\n return null; // No valid fallback found\n };\n\n return {\n findValidFocusFallback,\n };\n}\n","<template>\n <div ref=\"wrapper\" class=\"b-inspector\" :class=\"conditionalClass\" @keydown=\"handleSectionFocus\">\n <div ref=\"page\" class=\"b-inspector__page-wrapper\">\n <div class=\"b-inspector__page\">\n <slot name=\"page\" />\n </div>\n </div>\n <Transition name=\"b-inspector__animation\" mode=\"out-in\" @before-enter=\"setFocus\" @after-leave=\"setFocus\">\n <aside\n v-if=\"isOpen\"\n ref=\"inspector\"\n class=\"b-inspector__container-wrapper\"\n :aria-label=\"inspectorAriaLabel\"\n @keydown.tab=\"handleTabNavigation\"\n >\n <bento-focus-trap :disabled=\"!isCompact\">\n <div class=\"b-inspector__container\">\n <div class=\"b-inspector__header\">\n <template v-if=\"!isCompact\">\n <bento-button\n class=\"b-inspector__return-content\"\n variant=\"secondary\"\n condensed\n :aria-describedby=\"returnToMainContentDescriptionId\"\n @click=\"moveFocusBetweenSections\"\n >\n {{ t('returnToMainContent') }}\n </bento-button>\n <span\n :id=\"returnToMainContentDescriptionId\"\n class=\"b-inspector__return-content-description\"\n >{{ t('returnToMainContentDescription') }}</span\n >\n </template>\n <bento-typography el=\"h2\" variant=\"title\" class=\"b-inspector__title\">\n {{ title }}\n </bento-typography>\n <div class=\"b-inspector__icons\">\n <bento-button v-if=\"expandable\" variant=\"tertiary\" @click=\"emit('expand')\">\n <template #iconLeft><expand-icon :svg-title=\"t('expand')\"></expand-icon></template>\n </bento-button>\n <bento-button variant=\"tertiary\" @click=\"emit('update:is-open', false)\">\n <template #iconLeft><cross-icon :svg-title=\"t('close')\"></cross-icon></template>\n </bento-button>\n </div>\n </div>\n <div class=\"b-inspector__content\">\n <bento-loading-indicator v-if=\"loading\" large class=\"b-inspector__loading-indicator\" />\n <slot v-else name=\"content\" />\n </div>\n </div>\n </bento-focus-trap>\n </aside>\n </Transition>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, nextTick, ref, watch } from 'vue';\n import { BentoTypography } from '@/components/typography';\n import { BentoButton } from '@/components/button';\n import { BentoLoadingIndicator } from '@/components/loading-indicator';\n import { BentoFocusTrap } from '@/components/focus-trap';\n import ExpandIcon from '@adyen/ui-assets-icons-16/vue/expand';\n import CrossIcon from '@adyen/ui-assets-icons-16/vue/cross';\n\n import { generateUid } from '@/core/utils/ts';\n import { useI18n } from '@/utils/ts/i18n';\n import { deprecate } from '@/utils/ts/deprecate';\n import { getNextFocusableElement } from '@/utils/ts/focus-trap.utils';\n import { useElementSize } from '@vueuse/core';\n import moveFocusInside, { focusInside, getActiveElement } from 'focus-lock';\n\n import { type BentoInspectorProps } from './inspector.types';\n import { useFocusHistory } from './composables/use-focus-history/use-focus-history';\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const props = withDefaults(defineProps<BentoInspectorProps>(), {\n activePage: '',\n expandable: false,\n isOpen: false,\n loading: false,\n size: 'small',\n relativeLayout: 'push-content',\n pageFocusAnchor: null,\n });\n\n const emit = defineEmits<{\n /**\n * Emits update to keep isOpen prop in sync\n */\n (e: 'update:is-open', value: boolean): void;\n /**\n * Emits update to keep activePage prop in sync\n */\n (e: 'update:active-page', value: string): void;\n /**\n * Emits event when user click expand button\n */\n (e: 'expand'): void;\n }>();\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n const returnToMainContentDescriptionId = generateUid('returnToMainContentDescription');\n const wrapper = ref<HTMLElement>(null);\n const inspector = ref<HTMLElement>(null);\n const page = ref<HTMLElement>(null);\n const inspectorLastFocusedElement = ref<HTMLElement>(null);\n\n const { width: wrapperWidth } = useElementSize(wrapper);\n\n const isCompact = computed(() => {\n const COMPACT_THRESHOLD_SMALL = 740;\n const COMPACT_THRESHOLD_LARGE = 915;\n\n // small inspector to occupy full screen if < 740px\n // large inspector to occupy full screen if < 915px\n const threshold = props.size === 'small' ? COMPACT_THRESHOLD_SMALL : COMPACT_THRESHOLD_LARGE;\n\n return wrapperWidth.value > 0 && wrapperWidth.value < threshold;\n });\n\n const computedPageLastFocusedElement = computed(() => props.pageFocusAnchor);\n\n const conditionalClass = computed(() => ({\n [`b-inspector--${props.size}`]: true,\n [`b-inspector--${props.relativeLayout}`]: true,\n [`b-inspector--is-compact`]: isCompact.value,\n }));\n\n const inspectorAriaLabel = computed(() => `${t('inspector')}, ${props.title}`);\n\n const { findValidFocusFallback } = useFocusHistory(page);\n\n const setFocus = async () => {\n if (props.isOpen) {\n await nextTick();\n moveFocusInside(inspector.value, computedPageLastFocusedElement.value);\n } else {\n // This doesn't work with data grid cell actions, as the button gets destroyed once is not being hovered.\n // To be reviewed after LevelAccess revision\n focusElement(computedPageLastFocusedElement.value ?? findValidFocusFallback());\n }\n };\n\n const handleTabNavigation = event => {\n if (isCompact.value) {\n return;\n }\n const direction = event.shiftKey ? -1 : 1;\n const focusableEl = getNextFocusableElement(direction, inspector.value);\n // If the nextfocusableEl is the same as the activeElement that means it's the last focusable element\n // inside the inspector, so the focus is moved back to the last focused element on the page\n if (getActiveElement() === focusableEl) {\n event.preventDefault();\n inspectorLastFocusedElement.value = document.activeElement as HTMLElement;\n focusElement(computedPageLastFocusedElement.value ?? findValidFocusFallback());\n // Set active-page as undefined when focus is not on page\n emit('update:active-page', undefined);\n }\n };\n\n const handleSectionFocus = event => {\n const sectionShortcut = event.shiftKey && event.ctrlKey && event.key === 'S';\n if (props.isOpen && !isCompact.value && sectionShortcut) {\n moveFocusBetweenSections();\n }\n };\n\n const moveFocusBetweenSections = () => {\n if (focusInside(inspector.value)) {\n inspectorLastFocusedElement.value = document.activeElement as HTMLElement;\n focusElement(computedPageLastFocusedElement.value ?? findValidFocusFallback());\n // Set active-page as undefined when focus is not on page\n emit('update:active-page', undefined);\n } else {\n focusElement(inspectorLastFocusedElement.value);\n }\n };\n\n const focusElement = (element: HTMLElement) => {\n if (!element) {\n return;\n }\n element?.focus();\n if (document.activeElement !== element) {\n focusElement(element.parentElement);\n }\n };\n\n watch(\n () => props.activePage,\n () => {\n if (props.activePage) {\n setFocus();\n }\n }\n );\n\n if (!props.activePage) {\n deprecate(\n 'BentoInspector \"active-page\" as optional',\n `Make sure to set the \"active-page\" prop and keep it in sync with \"update:active-page\".\n \"active-page\" prop will be required in the next version`,\n '2.0.0'\n );\n }\n</script>\n\n<script lang=\"ts\">\n /**\n * Inspector allows users to access additional information or details of an object/item. The inspector opens adjacent to the main content, pushing it aside to maintain visibility and accessibility to both the main content and inspector.\n *\n * @example\n * import { BentoInspector } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoInspector },\n * template: `\n * <bento-inspector\n * title=\"Inspector\"\n * size=\"large\"\n * :is-open=\"isOpen\"\n * :active-page=\"activePage\"\n * expandable\n * @update:is-open=\"isOpen = $event\"\n * @update:active-page=\"activePage = $event\"\n * >\n * <template #page>Content of the page</template>\n * <template #content>Content of the inspector</template>\n * </bento-inspector>\n * `\n * }\n */\n export default { i18n: { messages } };\n</script>\n\n<style lang=\"scss\" scoped src=\"./inspector.scss\" />\n"],"names":["useFocusHistory","targetEl","focusHistory","ref","currentActiveElement","useActiveElement","watch","newlyFocusedElement","el","__default__","messages","props","__props","emit","__emit","t","useI18n","returnToMainContentDescriptionId","generateUid","wrapper","inspector","page","inspectorLastFocusedElement","wrapperWidth","useElementSize","isCompact","computed","threshold","computedPageLastFocusedElement","conditionalClass","inspectorAriaLabel","findValidFocusFallback","setFocus$1","nextTick","setFocus","focusElement","handleTabNavigation","event","direction","focusableEl","getNextFocusableElement","getActiveElement","handleSectionFocus","sectionShortcut","moveFocusBetweenSections","focusInside","element","deprecate"],"mappings":";;;;;;;;;;;;AAQO,SAAAA,GAAAC,GAAA;AAGH,QAAAC,IAA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;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"inspector.I4-8J_fd.js","sources":["../../../vue2/src/components/inspector/composables/use-focus-history/use-focus-history.ts","../../../vue2/src/components/inspector/inspector.vue"],"sourcesContent":["import { ref, type Ref } from 'vue';\nimport { useActiveElement } from '@vueuse/core';\nimport { watch } from 'vue';\n\n/**\n * A composable to track the focus history within a target element.\n * @param targetEl The stable parent element to monitor for focus changes.\n */\nexport function useFocusHistory(targetEl: Ref<HTMLElement | null>) {\n const MAX_HISTORY_LENGTH = 3;\n\n const focusHistory = ref<Array<Element>>([]);\n\n const currentActiveElement = useActiveElement();\n\n // Edge case 1:\n // While the inspector is opened, if user tabs through the data-grid to the inspector, and closes it,\n // it returns to the last element on the data grid regardless if it is a data-grid-cell.\n //\n // Edge case 2:\n // Buttons or actions teleported out of the data-grid may have the focus shifted into a different context.\n watch(currentActiveElement, newlyFocusedElement => {\n // Check if the newly focused element is a child of our target container.\n if (!targetEl.value || !newlyFocusedElement || !targetEl.value.contains(newlyFocusedElement)) {\n return;\n }\n\n // Add the focused element to the history\n focusHistory.value.unshift(newlyFocusedElement);\n\n if (focusHistory.value.length > MAX_HISTORY_LENGTH) {\n focusHistory.value.pop();\n }\n });\n\n /**\n * Iterates through the focus history to find the first valid element\n * that is still present in the DOM.\n * @returns The first valid historical element, or null if none are found.\n */\n const findValidFocusFallback = (): HTMLElement | null => {\n for (const el of focusHistory.value) {\n if (el && document.body.contains(el as Node)) {\n return el as HTMLElement;\n }\n }\n\n return null; // No valid fallback found\n };\n\n return {\n findValidFocusFallback,\n };\n}\n","<template>\n <div ref=\"wrapper\" class=\"b-inspector\" :class=\"conditionalClass\" @keydown=\"handleSectionFocus\">\n <div ref=\"page\" class=\"b-inspector__page-wrapper\">\n <div class=\"b-inspector__page\">\n <slot name=\"page\" />\n </div>\n </div>\n <Transition name=\"b-inspector__animation\" mode=\"out-in\" @before-enter=\"setFocus\" @after-leave=\"setFocus\">\n <aside\n v-if=\"isOpen\"\n ref=\"inspector\"\n class=\"b-inspector__container-wrapper\"\n :aria-label=\"inspectorAriaLabel\"\n @keydown.tab=\"handleTabNavigation\"\n >\n <bento-focus-trap :disabled=\"!isCompact\">\n <div class=\"b-inspector__container\">\n <div class=\"b-inspector__header\">\n <template v-if=\"!isCompact\">\n <bento-button\n class=\"b-inspector__return-content\"\n variant=\"secondary\"\n condensed\n :aria-describedby=\"returnToMainContentDescriptionId\"\n @click=\"moveFocusBetweenSections\"\n >\n {{ t('returnToMainContent') }}\n </bento-button>\n <span\n :id=\"returnToMainContentDescriptionId\"\n class=\"b-inspector__return-content-description\"\n >{{ t('returnToMainContentDescription') }}</span\n >\n </template>\n <bento-typography el=\"h2\" variant=\"title\" class=\"b-inspector__title\">\n {{ title }}\n </bento-typography>\n <div class=\"b-inspector__icons\">\n <bento-button v-if=\"expandable\" variant=\"tertiary\" @click=\"emit('expand')\">\n <template #iconLeft><expand-icon :svg-title=\"t('expand')\"></expand-icon></template>\n </bento-button>\n <bento-button variant=\"tertiary\" @click=\"emit('update:is-open', false)\">\n <template #iconLeft><cross-icon :svg-title=\"t('close')\"></cross-icon></template>\n </bento-button>\n </div>\n </div>\n <div class=\"b-inspector__content\">\n <bento-loading-indicator v-if=\"loading\" large class=\"b-inspector__loading-indicator\" />\n <slot v-else name=\"content\" />\n </div>\n </div>\n </bento-focus-trap>\n </aside>\n </Transition>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, nextTick, ref, watch } from 'vue';\n import { BentoTypography } from '@/components/typography';\n import { BentoButton } from '@/components/button';\n import { BentoLoadingIndicator } from '@/components/loading-indicator';\n import { BentoFocusTrap } from '@/components/focus-trap';\n import ExpandIcon from '@adyen/ui-assets-icons-16/vue/expand';\n import CrossIcon from '@adyen/ui-assets-icons-16/vue/cross';\n\n import { generateUid } from '@/core/utils/ts';\n import { useI18n } from '@/utils/ts/i18n';\n import { deprecate } from '@/utils/ts/deprecate';\n import { getNextFocusableElement } from '@/utils/ts/focus-trap.utils';\n import { useElementSize } from '@vueuse/core';\n import moveFocusInside, { focusInside, getActiveElement } from 'focus-lock';\n\n import { type BentoInspectorProps } from './inspector.types';\n import { useFocusHistory } from './composables/use-focus-history/use-focus-history';\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const props = withDefaults(defineProps<BentoInspectorProps>(), {\n activePage: '',\n expandable: false,\n isOpen: false,\n loading: false,\n size: 'small',\n relativeLayout: 'push-content',\n pageFocusAnchor: null,\n });\n\n const emit = defineEmits<{\n /**\n * Emits update to keep isOpen prop in sync\n */\n (e: 'update:is-open', value: boolean): void;\n /**\n * Emits update to keep activePage prop in sync\n */\n (e: 'update:active-page', value: string): void;\n /**\n * Emits event when user click expand button\n */\n (e: 'expand'): void;\n }>();\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n const returnToMainContentDescriptionId = generateUid('returnToMainContentDescription');\n const wrapper = ref<HTMLElement>(null);\n const inspector = ref<HTMLElement>(null);\n const page = ref<HTMLElement>(null);\n const inspectorLastFocusedElement = ref<HTMLElement>(null);\n\n const { width: wrapperWidth } = useElementSize(wrapper);\n\n const isCompact = computed(() => {\n const COMPACT_THRESHOLD_SMALL = 740;\n const COMPACT_THRESHOLD_LARGE = 915;\n\n // small inspector to occupy full screen if < 740px\n // large inspector to occupy full screen if < 915px\n const threshold = props.size === 'small' ? COMPACT_THRESHOLD_SMALL : COMPACT_THRESHOLD_LARGE;\n\n return wrapperWidth.value > 0 && wrapperWidth.value < threshold;\n });\n\n const computedPageLastFocusedElement = computed(() => props.pageFocusAnchor);\n\n const conditionalClass = computed(() => ({\n [`b-inspector--${props.size}`]: true,\n [`b-inspector--${props.relativeLayout}`]: true,\n [`b-inspector--is-compact`]: isCompact.value,\n }));\n\n const inspectorAriaLabel = computed(() => `${t('inspector')}, ${props.title}`);\n\n const { findValidFocusFallback } = useFocusHistory(page);\n\n const setFocus = async () => {\n if (props.isOpen) {\n await nextTick();\n moveFocusInside(inspector.value, computedPageLastFocusedElement.value);\n } else {\n // This doesn't work with data grid cell actions, as the button gets destroyed once is not being hovered.\n // To be reviewed after LevelAccess revision\n focusElement(computedPageLastFocusedElement.value ?? findValidFocusFallback());\n }\n };\n\n const handleTabNavigation = event => {\n if (isCompact.value) {\n return;\n }\n const direction = event.shiftKey ? -1 : 1;\n const focusableEl = getNextFocusableElement(direction, inspector.value);\n // If the nextfocusableEl is the same as the activeElement that means it's the last focusable element\n // inside the inspector, so the focus is moved back to the last focused element on the page\n if (getActiveElement() === focusableEl) {\n event.preventDefault();\n inspectorLastFocusedElement.value = document.activeElement as HTMLElement;\n focusElement(computedPageLastFocusedElement.value ?? findValidFocusFallback());\n // Set active-page as undefined when focus is not on page\n emit('update:active-page', undefined);\n }\n };\n\n const handleSectionFocus = event => {\n const sectionShortcut = event.shiftKey && event.ctrlKey && event.key === 'S';\n if (props.isOpen && !isCompact.value && sectionShortcut) {\n moveFocusBetweenSections();\n }\n };\n\n const moveFocusBetweenSections = () => {\n if (focusInside(inspector.value)) {\n inspectorLastFocusedElement.value = document.activeElement as HTMLElement;\n focusElement(computedPageLastFocusedElement.value ?? findValidFocusFallback());\n // Set active-page as undefined when focus is not on page\n emit('update:active-page', undefined);\n } else {\n focusElement(inspectorLastFocusedElement.value);\n }\n };\n\n const focusElement = (element: HTMLElement) => {\n if (!element) {\n return;\n }\n element?.focus();\n if (document.activeElement !== element) {\n focusElement(element.parentElement);\n }\n };\n\n watch(\n () => props.activePage,\n () => {\n if (props.activePage) {\n setFocus();\n }\n }\n );\n\n if (!props.activePage) {\n deprecate(\n 'BentoInspector \"active-page\" as optional',\n `Make sure to set the \"active-page\" prop and keep it in sync with \"update:active-page\".\n \"active-page\" prop will be required in the next version`,\n '2.0.0'\n );\n }\n</script>\n\n<script lang=\"ts\">\n /**\n * Inspector allows users to access additional information or details of an object/item. The inspector opens adjacent to the main content, pushing it aside to maintain visibility and accessibility to both the main content and inspector.\n *\n * @example\n * import { BentoInspector } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoInspector },\n * template: `\n * <bento-inspector\n * title=\"Inspector\"\n * size=\"large\"\n * :is-open=\"isOpen\"\n * :active-page=\"activePage\"\n * expandable\n * @update:is-open=\"isOpen = $event\"\n * @update:active-page=\"activePage = $event\"\n * >\n * <template #page>Content of the page</template>\n * <template #content>Content of the inspector</template>\n * </bento-inspector>\n * `\n * }\n */\n export default { i18n: { messages } };\n</script>\n\n<style lang=\"scss\" scoped src=\"./inspector.scss\" />\n"],"names":["useFocusHistory","targetEl","focusHistory","ref","currentActiveElement","useActiveElement","watch","newlyFocusedElement","el","__default__","messages","props","__props","emit","__emit","t","useI18n","returnToMainContentDescriptionId","generateUid","wrapper","inspector","page","inspectorLastFocusedElement","wrapperWidth","useElementSize","isCompact","computed","threshold","computedPageLastFocusedElement","conditionalClass","inspectorAriaLabel","findValidFocusFallback","setFocus$1","nextTick","setFocus","focusElement","handleTabNavigation","event","direction","focusableEl","getNextFocusableElement","getActiveElement","handleSectionFocus","sectionShortcut","moveFocusBetweenSections","focusInside","element","deprecate"],"mappings":";;;;;;;;;;;;AAQO,SAAAA,GAAAC,GAAA;AAGH,QAAAC,IAAAC,EAAA,CAAA,CAAA,GAEAC,IAAAC,GAAA;AAQA,SAAAC,EAAAF,GAAA,CAAAG,MAAA;AAEI,IAAA,CAAAN,EAAA,SAAA,CAAAM,KAAA,CAAAN,EAAA,MAAA,SAAAM,CAAA,MAKAL,EAAA,MAAA,QAAAK,CAAA,GAEAL,EAAA,MAAA,SAAA,KACIA,EAAA,MAAA,IAAA;AAAA,EACJ,CAAA,GAkBJ;AAAA,IAAO,wBAVP,MAAA;AACI,iBAAAM,KAAAN,EAAA;AACI,YAAAM,KAAA,SAAA,KAAA,SAAAA,CAAA;AACI,iBAAAA;AAIR,aAAA;AAAA,IAAO;AAAA,EAIP;AAER;;;;;;;;;;;;;;;;;;;;;;;yOCuLIC,KAAA,EAAA,MAAA,EAAA,UAAAC,EAAA,EAAA;;;;;;;;;;;;;;;AA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AN,EAAA,YAAAA,EAAA,WAAAA,EAAA,QAAA;AACA,MAAA1B,EAAA,UAAA,CAAAc,EAAA,SAAAkB,KACIC,EAAA;AAAA,IACJ,GAGJA,IAAA,MAAA;AACI,MAAAC,EAAAzB,EAAA,KAAA,KACIE,EAAA,QAAA,SAAA,eACAa,EAAAP,EAAA,SAAAG,EAAA,CAAA,GAEAlB,EAAA,sBAAA,MAAA,KAEAsB,EAAAb,EAAA,KAAA;AAAA,IACJ,GAGJa,IAAA,CAAAW,MAAA;AACI,MAAAA,MAGAA,KAAA,QAAAA,EAAA,SACA,SAAA,kBAAAA,KACIX,EAAAW,EAAA,aAAA;AAAA,IACJ;AAGJ,WAAAxC;AAAA,MAAA,MAAAK,EAAA;AAAA,MACgB,MAAA;AAER,QAAAA,EAAA,cACIqB,EAAA;AAAA,MACJ;AAAA,IACJ,GAGJrB,EAAA,cACIoC;AAAA,MAAA;AAAA,MACI;AAAA;AAAA,MACA;AAAA,IAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inspector.types.DyHwE18g.js","sources":["../../../vue2/src/components/inspector/inspector.types.ts"],"sourcesContent":["export const BentoInspectorSizeOptions = ['small', 'large'] as const;\n\nexport type BentoInspectorRelativeLayout = 'push-content' | 'overlay-content';\n\nexport type BentoInspectorSize = (typeof BentoInspectorSizeOptions)[number];\n\nexport interface BentoInspectorProps {\n /**\n * ID of the current active inspector page\n */\n activePage?: string;\n\n /**\n * Shows the Expand icon in the inspector\n */\n expandable?: boolean;\n\n /**\n * Opens and closes the inspector\n */\n isOpen?: boolean;\n\n /**\n * Shows loading indicator for the content\n */\n loading?: boolean;\n\n /**\n * Determines the size of the inspector\n */\n size?: BentoInspectorSize;\n\n /**\n * The title of the component\n */\n title: string;\n\n /**\n * The appearance of the inspector relative to the main content. Defaults to `push-content`.\n *\n * - `push-content`: The inspector pushes the main content to the side, resizing it to fit.\n * - `overlay-content`: The inspector opens on top of the main content, without affecting its layout.\n */\n relativeLayout?: BentoInspectorRelativeLayout;\n\n /**\n * An optional HTMLElement to focus on when returning focus from the inspector\n * to the main page content (e.g. via the `Ctrl+Shift+S` keyboard shortcut).\n *\n * By default, the inspector attempts to return focus to the element that was active before it opened.\n * However, if that trigger element is removed from the DOM (e.g., via a `v-if`), focus cannot be returned.\n *\n * Providing a `pageFocusAnchor` (e.g. role=\"gridcell\") ensures that the\n * focus context is preserved for accessibility.\n */\n pageFocusAnchor?: HTMLElement;\n}\n"],"names":["BentoInspectorSizeOptions"],"mappings":"
|
|
1
|
+
{"version":3,"file":"inspector.types.DyHwE18g.js","sources":["../../../vue2/src/components/inspector/inspector.types.ts"],"sourcesContent":["export const BentoInspectorSizeOptions = ['small', 'large'] as const;\n\nexport type BentoInspectorRelativeLayout = 'push-content' | 'overlay-content';\n\nexport type BentoInspectorSize = (typeof BentoInspectorSizeOptions)[number];\n\nexport interface BentoInspectorProps {\n /**\n * ID of the current active inspector page\n */\n activePage?: string;\n\n /**\n * Shows the Expand icon in the inspector\n */\n expandable?: boolean;\n\n /**\n * Opens and closes the inspector\n */\n isOpen?: boolean;\n\n /**\n * Shows loading indicator for the content\n */\n loading?: boolean;\n\n /**\n * Determines the size of the inspector\n */\n size?: BentoInspectorSize;\n\n /**\n * The title of the component\n */\n title: string;\n\n /**\n * The appearance of the inspector relative to the main content. Defaults to `push-content`.\n *\n * - `push-content`: The inspector pushes the main content to the side, resizing it to fit.\n * - `overlay-content`: The inspector opens on top of the main content, without affecting its layout.\n */\n relativeLayout?: BentoInspectorRelativeLayout;\n\n /**\n * An optional HTMLElement to focus on when returning focus from the inspector\n * to the main page content (e.g. via the `Ctrl+Shift+S` keyboard shortcut).\n *\n * By default, the inspector attempts to return focus to the element that was active before it opened.\n * However, if that trigger element is removed from the DOM (e.g., via a `v-if`), focus cannot be returned.\n *\n * Providing a `pageFocusAnchor` (e.g. role=\"gridcell\") ensures that the\n * focus context is preserved for accessibility.\n */\n pageFocusAnchor?: HTMLElement;\n}\n"],"names":["BentoInspectorSizeOptions"],"mappings":"AAAO,MAAMA,IAA4B,CAAC,SAAS,OAAO;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal-error.BLZodVBE.js","sources":["../../../vue2/src/components/empty-state/assets/large/internal-error.svg"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='300'%20height='300'%20viewBox='0%200%20300%20300'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M233.806%20217.894H47.3439C41.6232%20217.894%2036.9824%20213.248%2036.9824%20207.516H244.161C244.161%20213.243%20239.521%20217.894%20233.8%20217.894H233.806Z'%20fill='%23EEF0F3'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M171.648%20217.894H47.3439C41.6232%20217.894%2036.9824%20213.248%2036.9824%20207.516H182.009C182.009%20213.243%20177.369%20217.894%20171.648%20217.894Z'%20fill='%23EEF0F3'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M245.388%20207.516H121.084C115.363%20207.516%20111.544%20202.87%20112.551%20197.138L130.816%2093.3782C131.822%2087.6513%20137.279%2083%20143%2083H267.304C273.024%2083%20276.844%2087.6457%20275.837%2093.3782L257.572%20197.143C256.565%20202.87%20251.103%20207.522%20245.388%20207.522V207.516Z'%20fill='%23EEF0F3'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M240.212%20207.516H115.908C110.188%20207.516%20106.368%20202.87%20107.375%20197.138L125.634%2093.3782C126.641%2087.6513%20132.098%2083%20137.818%2083H262.122C267.843%2083%20271.663%2087.6457%20270.656%2093.3782L252.391%20197.143C251.384%20202.87%20245.922%20207.522%20240.207%20207.522L240.212%20207.516Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M241.119%20202.33C243.971%20202.33%20246.71%20200.004%20247.211%20197.143L265.476%2093.3781C265.982%2090.5175%20264.07%2088.1918%20261.206%2088.1918H136.902C134.05%2088.1918%20131.311%2090.5175%20130.81%2093.3781L112.546%20197.143C112.039%20200.004%20113.952%20202.33%20116.815%20202.33H241.119Z'%20fill='%23EEF0F3'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M182.009%20207.516H128.7C126.354%20207.516%20124.104%20208.445%20122.451%20210.112C120.797%20211.773%20118.541%20212.708%20116.201%20212.708H102.813C100.473%20212.708%2098.2175%20211.779%2096.5638%20210.112C94.91%20208.451%2092.6543%20207.516%2090.3142%20207.516H36.9824'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M24%20217.894H276'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M201.743%20153.772C202.733%20148.169%20198.424%20143.022%20192.737%20143.022C186.623%20143.022%20181.397%20147.415%20180.334%20153.446L178.382%20164.517H210.743C205.056%20164.517%20200.747%20159.375%20201.737%20153.767L201.743%20153.772Z'%20fill='%236F7987'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M159.869%20107.186C160.218%20105.198%20161.939%20103.756%20163.953%20103.756H228.304C230.234%20103.756%20231.702%20105.508%20231.364%20107.405L230.177%20114.129H158.637L159.863%20107.18L159.869%20107.186Z'%20fill='%236F7987'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M230.183%20114.123L223.146%20154.093C222.088%20160.119%20216.857%20164.517%20210.742%20164.517C205.083%20164.517%20200.78%20159.409%20201.731%20153.829C202.687%20148.203%20198.564%20143.017%20192.866%20143.017H153.552L158.637%20114.118H230.183V114.123Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M170.951%20143.022H121.208C115.093%20143.022%20109.868%20147.415%20108.805%20153.446L104.333%20178.853L102.983%20186.523C101.824%20193.1%2098.1843%20198.979%2092.818%20202.944L86.6247%20207.516H160.258C166.372%20207.516%20171.592%20197.189%20172.661%20191.158L178.393%20164.522L180.345%20153.451C181.402%20147.426%20186.634%20143.028%20192.748%20143.028H170.957L170.951%20143.022Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M192.742%20142.465H122.754'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M122.107%20159.578L129.234%20168.239'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M130.759%20159.578L120.583%20168.239'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M145.857%20159.578L152.979%20168.239'%20stroke='%2385DFA9'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M154.502%20159.578L144.332%20168.239'%20stroke='%2385DFA9'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M115.054%20183.319L122.546%20176.939L127.823%20183.358'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M127.834%20183.319L135.327%20176.939L140.603%20183.358'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M140.608%20183.319L148.106%20176.939L153.383%20183.358'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M165.877%20122.221L162.918%20124.738L164.994%20127.25'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M168.571%20124.738H174.854'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M177.998%20124.738H196.842'%20stroke='%2385DFA9'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M217.582%20136.062L220.541%20133.545L218.465%20131.034'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M160.735%20133.545H173.302'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M176.446%20133.545H185.874'%20stroke='%2385DFA9'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M222.167%20124.738H203.323'%20stroke='%230ABF53'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M211.199%20133.545H201.771'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M198.289%20133.545H188.861'%20stroke='%230ABF53'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M212.38%20136.062L216.194%20131.028'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M86.6243%20207.522H86.3093C81.3986%20207.522%2077.416%20203.535%2077.416%20198.619H149.789C149.789%20203.535%20153.771%20207.522%20158.682%20207.522H160.257H86.6243Z'%20fill='%236F7987'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M98.1555%20128.359V135.319'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M83.3955%20135.984L88.3119%20140.905'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M75.7786%20150.76H82.7312'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["internalError"],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"internal-error.BLZodVBE.js","sources":["../../../vue2/src/components/empty-state/assets/large/internal-error.svg"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='300'%20height='300'%20viewBox='0%200%20300%20300'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M233.806%20217.894H47.3439C41.6232%20217.894%2036.9824%20213.248%2036.9824%20207.516H244.161C244.161%20213.243%20239.521%20217.894%20233.8%20217.894H233.806Z'%20fill='%23EEF0F3'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M171.648%20217.894H47.3439C41.6232%20217.894%2036.9824%20213.248%2036.9824%20207.516H182.009C182.009%20213.243%20177.369%20217.894%20171.648%20217.894Z'%20fill='%23EEF0F3'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M245.388%20207.516H121.084C115.363%20207.516%20111.544%20202.87%20112.551%20197.138L130.816%2093.3782C131.822%2087.6513%20137.279%2083%20143%2083H267.304C273.024%2083%20276.844%2087.6457%20275.837%2093.3782L257.572%20197.143C256.565%20202.87%20251.103%20207.522%20245.388%20207.522V207.516Z'%20fill='%23EEF0F3'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M240.212%20207.516H115.908C110.188%20207.516%20106.368%20202.87%20107.375%20197.138L125.634%2093.3782C126.641%2087.6513%20132.098%2083%20137.818%2083H262.122C267.843%2083%20271.663%2087.6457%20270.656%2093.3782L252.391%20197.143C251.384%20202.87%20245.922%20207.522%20240.207%20207.522L240.212%20207.516Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M241.119%20202.33C243.971%20202.33%20246.71%20200.004%20247.211%20197.143L265.476%2093.3781C265.982%2090.5175%20264.07%2088.1918%20261.206%2088.1918H136.902C134.05%2088.1918%20131.311%2090.5175%20130.81%2093.3781L112.546%20197.143C112.039%20200.004%20113.952%20202.33%20116.815%20202.33H241.119Z'%20fill='%23EEF0F3'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M182.009%20207.516H128.7C126.354%20207.516%20124.104%20208.445%20122.451%20210.112C120.797%20211.773%20118.541%20212.708%20116.201%20212.708H102.813C100.473%20212.708%2098.2175%20211.779%2096.5638%20210.112C94.91%20208.451%2092.6543%20207.516%2090.3142%20207.516H36.9824'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M24%20217.894H276'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M201.743%20153.772C202.733%20148.169%20198.424%20143.022%20192.737%20143.022C186.623%20143.022%20181.397%20147.415%20180.334%20153.446L178.382%20164.517H210.743C205.056%20164.517%20200.747%20159.375%20201.737%20153.767L201.743%20153.772Z'%20fill='%236F7987'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M159.869%20107.186C160.218%20105.198%20161.939%20103.756%20163.953%20103.756H228.304C230.234%20103.756%20231.702%20105.508%20231.364%20107.405L230.177%20114.129H158.637L159.863%20107.18L159.869%20107.186Z'%20fill='%236F7987'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M230.183%20114.123L223.146%20154.093C222.088%20160.119%20216.857%20164.517%20210.742%20164.517C205.083%20164.517%20200.78%20159.409%20201.731%20153.829C202.687%20148.203%20198.564%20143.017%20192.866%20143.017H153.552L158.637%20114.118H230.183V114.123Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M170.951%20143.022H121.208C115.093%20143.022%20109.868%20147.415%20108.805%20153.446L104.333%20178.853L102.983%20186.523C101.824%20193.1%2098.1843%20198.979%2092.818%20202.944L86.6247%20207.516H160.258C166.372%20207.516%20171.592%20197.189%20172.661%20191.158L178.393%20164.522L180.345%20153.451C181.402%20147.426%20186.634%20143.028%20192.748%20143.028H170.957L170.951%20143.022Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M192.742%20142.465H122.754'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M122.107%20159.578L129.234%20168.239'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M130.759%20159.578L120.583%20168.239'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M145.857%20159.578L152.979%20168.239'%20stroke='%2385DFA9'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M154.502%20159.578L144.332%20168.239'%20stroke='%2385DFA9'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M115.054%20183.319L122.546%20176.939L127.823%20183.358'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M127.834%20183.319L135.327%20176.939L140.603%20183.358'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M140.608%20183.319L148.106%20176.939L153.383%20183.358'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M165.877%20122.221L162.918%20124.738L164.994%20127.25'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M168.571%20124.738H174.854'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M177.998%20124.738H196.842'%20stroke='%2385DFA9'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M217.582%20136.062L220.541%20133.545L218.465%20131.034'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M160.735%20133.545H173.302'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M176.446%20133.545H185.874'%20stroke='%2385DFA9'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M222.167%20124.738H203.323'%20stroke='%230ABF53'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M211.199%20133.545H201.771'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M198.289%20133.545H188.861'%20stroke='%230ABF53'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M212.38%20136.062L216.194%20131.028'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M86.6243%20207.522H86.3093C81.3986%20207.522%2077.416%20203.535%2077.416%20198.619H149.789C149.789%20203.535%20153.771%20207.522%20158.682%20207.522H160.257H86.6243Z'%20fill='%236F7987'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M98.1555%20128.359V135.319'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M83.3955%20135.984L88.3119%20140.905'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M75.7786%20150.76H82.7312'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["internalError"],"mappings":"AAAA,MAAAA,IAAe;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal-error.BmrwJFpR.js","sources":["../../../vue2/src/components/empty-state/assets/small/internal-error.svg"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='200'%20height='200'%20viewBox='0%200%20200%20200'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M150.549%20140.662H38.0805C34.6299%20140.662%2031.8307%20137.86%2031.8307%20134.402H156.796C156.796%20137.856%20153.997%20140.662%20150.546%20140.662H150.549Z'%20fill='%23EEF0F3'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M113.058%20140.662H38.0805C34.6299%20140.662%2031.8307%20137.86%2031.8307%20134.402H119.307C119.307%20137.856%20116.508%20140.662%20113.058%20140.662Z'%20fill='%23EEF0F3'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M157.535%20134.402H82.5584C79.1078%20134.402%2076.804%20131.6%2077.4113%20128.142L88.4282%2065.5569C89.0355%2062.1026%2092.3267%2059.2971%2095.7773%2059.2971H170.754C174.205%2059.2971%20176.509%2062.0992%20175.901%2065.5569L164.885%20128.146C164.277%20131.6%20160.983%20134.405%20157.535%20134.405V134.402Z'%20fill='%23EEF0F3'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M154.413%20134.402H79.4364C75.9858%20134.402%2073.682%20131.6%2074.2893%20128.142L85.3027%2065.5569C85.9101%2062.1026%2089.2012%2059.2971%2092.6518%2059.2971H167.629C171.079%2059.2971%20173.383%2062.0992%20172.776%2065.5569L161.759%20128.146C161.152%20131.6%20157.857%20134.405%20154.41%20134.405L154.413%20134.402Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M154.96%20131.274C156.68%20131.274%20158.333%20129.871%20158.635%20128.146L169.651%2065.5571C169.957%2063.8316%20168.803%2062.4288%20167.076%2062.4288H92.0992C90.379%2062.4288%2088.7267%2063.8316%2088.4247%2065.5571L77.4078%20128.146C77.1025%20129.871%2078.2561%20131.274%2079.9831%20131.274H154.96Z'%20fill='%23EEF0F3'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M119.307%20134.402H87.1525C85.7376%20134.402%2084.3804%20134.962%2083.3829%20135.968C82.3854%20136.97%2081.0248%20137.534%2079.6134%20137.534H71.5382C70.1267%20137.534%2068.7662%20136.973%2067.7686%20135.968C66.7711%20134.966%2065.4105%20134.402%2063.9991%20134.402H31.8307'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M24%20140.662H176'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M131.21%20101.985C131.807%2098.6057%20129.208%2095.5012%20125.778%2095.5012C122.09%2095.5012%20118.938%2098.1505%20118.296%20101.788L117.119%20108.466H136.639C133.208%20108.466%20130.609%20105.365%20131.206%20101.982L131.21%20101.985Z'%20fill='%236F7987'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M105.952%2073.8854C106.163%2072.6864%20107.201%2071.8169%20108.415%2071.8169H147.231C148.394%2071.8169%20149.28%2072.8732%20149.076%2074.0179L148.36%2078.0734H105.209L105.949%2073.882L105.952%2073.8854Z'%20fill='%236F7987'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M148.364%2078.0697L144.12%20102.179C143.482%20105.813%20140.326%20108.466%20136.638%20108.466C133.225%20108.466%20130.629%20105.385%20131.203%20102.019C131.779%2098.6257%20129.292%2095.4975%20125.855%2095.4975H102.142L105.209%2078.0663H148.364V78.0697Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M112.637%2095.5012H82.6334C78.9453%2095.5012%2075.7933%2098.1505%2075.152%20101.788L72.4546%20117.114L71.6403%20121.74C70.9414%20125.707%2068.7462%20129.253%2065.5093%20131.644L61.7737%20134.402H106.187C109.875%20134.402%20113.024%20128.173%20113.669%20124.535L117.126%20108.469L118.303%20101.792C118.941%2098.1573%20122.097%2095.5046%20125.785%2095.5046H112.641L112.637%2095.5012Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M125.78%2095.1646H83.5656'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M83.1763%20105.487L87.4751%20110.711'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M88.3943%20105.487L82.2564%20110.711'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M97.5017%20105.487L101.797%20110.711'%20stroke='%2385DFA9'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M102.715%20105.487L96.5811%20110.711'%20stroke='%2385DFA9'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M78.9211%20119.807L83.4405%20115.959L86.623%20119.831'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M86.6301%20119.807L91.1495%20115.959L94.332%20119.831'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M94.335%20119.807L98.8578%20115.959L102.04%20119.831'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M109.576%2082.9542L107.792%2084.4724L109.044%2085.9873'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M111.202%2084.4722H114.992'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M116.888%2084.4722H128.254'%20stroke='%2385DFA9'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M140.764%2091.3031L142.548%2089.7848L141.296%2088.27'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M106.475%2089.7847H114.055'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M115.952%2089.7847H121.638'%20stroke='%2385DFA9'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M143.529%2084.4722H132.163'%20stroke='%230ABF53'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M136.914%2089.7847H131.227'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M129.127%2089.7847H123.44'%20stroke='%230ABF53'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M137.626%2091.3028L139.926%2088.2663'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M61.7733%20134.405H61.5833C58.6213%20134.405%2056.2191%20132.001%2056.2191%20129.036H99.8725C99.8725%20132.001%20102.275%20134.405%20105.237%20134.405H106.187H61.7733Z'%20fill='%236F7987'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M68.7284%2086.6562V90.8543'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M59.8262%2091.2553L62.7916%2094.2239'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M55.2311%20100.168H59.4248'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["internalError"],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"internal-error.BmrwJFpR.js","sources":["../../../vue2/src/components/empty-state/assets/small/internal-error.svg"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='200'%20height='200'%20viewBox='0%200%20200%20200'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M150.549%20140.662H38.0805C34.6299%20140.662%2031.8307%20137.86%2031.8307%20134.402H156.796C156.796%20137.856%20153.997%20140.662%20150.546%20140.662H150.549Z'%20fill='%23EEF0F3'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M113.058%20140.662H38.0805C34.6299%20140.662%2031.8307%20137.86%2031.8307%20134.402H119.307C119.307%20137.856%20116.508%20140.662%20113.058%20140.662Z'%20fill='%23EEF0F3'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M157.535%20134.402H82.5584C79.1078%20134.402%2076.804%20131.6%2077.4113%20128.142L88.4282%2065.5569C89.0355%2062.1026%2092.3267%2059.2971%2095.7773%2059.2971H170.754C174.205%2059.2971%20176.509%2062.0992%20175.901%2065.5569L164.885%20128.146C164.277%20131.6%20160.983%20134.405%20157.535%20134.405V134.402Z'%20fill='%23EEF0F3'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M154.413%20134.402H79.4364C75.9858%20134.402%2073.682%20131.6%2074.2893%20128.142L85.3027%2065.5569C85.9101%2062.1026%2089.2012%2059.2971%2092.6518%2059.2971H167.629C171.079%2059.2971%20173.383%2062.0992%20172.776%2065.5569L161.759%20128.146C161.152%20131.6%20157.857%20134.405%20154.41%20134.405L154.413%20134.402Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M154.96%20131.274C156.68%20131.274%20158.333%20129.871%20158.635%20128.146L169.651%2065.5571C169.957%2063.8316%20168.803%2062.4288%20167.076%2062.4288H92.0992C90.379%2062.4288%2088.7267%2063.8316%2088.4247%2065.5571L77.4078%20128.146C77.1025%20129.871%2078.2561%20131.274%2079.9831%20131.274H154.96Z'%20fill='%23EEF0F3'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M119.307%20134.402H87.1525C85.7376%20134.402%2084.3804%20134.962%2083.3829%20135.968C82.3854%20136.97%2081.0248%20137.534%2079.6134%20137.534H71.5382C70.1267%20137.534%2068.7662%20136.973%2067.7686%20135.968C66.7711%20134.966%2065.4105%20134.402%2063.9991%20134.402H31.8307'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M24%20140.662H176'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M131.21%20101.985C131.807%2098.6057%20129.208%2095.5012%20125.778%2095.5012C122.09%2095.5012%20118.938%2098.1505%20118.296%20101.788L117.119%20108.466H136.639C133.208%20108.466%20130.609%20105.365%20131.206%20101.982L131.21%20101.985Z'%20fill='%236F7987'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M105.952%2073.8854C106.163%2072.6864%20107.201%2071.8169%20108.415%2071.8169H147.231C148.394%2071.8169%20149.28%2072.8732%20149.076%2074.0179L148.36%2078.0734H105.209L105.949%2073.882L105.952%2073.8854Z'%20fill='%236F7987'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M148.364%2078.0697L144.12%20102.179C143.482%20105.813%20140.326%20108.466%20136.638%20108.466C133.225%20108.466%20130.629%20105.385%20131.203%20102.019C131.779%2098.6257%20129.292%2095.4975%20125.855%2095.4975H102.142L105.209%2078.0663H148.364V78.0697Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M112.637%2095.5012H82.6334C78.9453%2095.5012%2075.7933%2098.1505%2075.152%20101.788L72.4546%20117.114L71.6403%20121.74C70.9414%20125.707%2068.7462%20129.253%2065.5093%20131.644L61.7737%20134.402H106.187C109.875%20134.402%20113.024%20128.173%20113.669%20124.535L117.126%20108.469L118.303%20101.792C118.941%2098.1573%20122.097%2095.5046%20125.785%2095.5046H112.641L112.637%2095.5012Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M125.78%2095.1646H83.5656'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M83.1763%20105.487L87.4751%20110.711'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M88.3943%20105.487L82.2564%20110.711'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M97.5017%20105.487L101.797%20110.711'%20stroke='%2385DFA9'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M102.715%20105.487L96.5811%20110.711'%20stroke='%2385DFA9'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M78.9211%20119.807L83.4405%20115.959L86.623%20119.831'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M86.6301%20119.807L91.1495%20115.959L94.332%20119.831'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M94.335%20119.807L98.8578%20115.959L102.04%20119.831'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M109.576%2082.9542L107.792%2084.4724L109.044%2085.9873'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M111.202%2084.4722H114.992'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M116.888%2084.4722H128.254'%20stroke='%2385DFA9'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M140.764%2091.3031L142.548%2089.7848L141.296%2088.27'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M106.475%2089.7847H114.055'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M115.952%2089.7847H121.638'%20stroke='%2385DFA9'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M143.529%2084.4722H132.163'%20stroke='%230ABF53'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M136.914%2089.7847H131.227'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M129.127%2089.7847H123.44'%20stroke='%230ABF53'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M137.626%2091.3028L139.926%2088.2663'%20stroke='%23EEF0F3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M61.7733%20134.405H61.5833C58.6213%20134.405%2056.2191%20132.001%2056.2191%20129.036H99.8725C99.8725%20132.001%20102.275%20134.405%20105.237%20134.405H106.187H61.7733Z'%20fill='%236F7987'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M68.7284%2086.6562V90.8543'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M59.8262%2091.2553L62.7916%2094.2239'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M55.2311%20100.168H59.4248'%20stroke='%2300112C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["internalError"],"mappings":"AAAA,MAAAA,IAAe;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { n as l } from "./getTimezoneOffsetInMilliseconds.Tu2wlbTR.js";
|
|
2
|
+
import { s as r } from "./startOfWeek.CM1KIrNi.js";
|
|
3
|
+
function i(a, m, e) {
|
|
4
|
+
const [t, f] = l(
|
|
5
|
+
e == null ? void 0 : e.in,
|
|
6
|
+
a,
|
|
7
|
+
m
|
|
8
|
+
);
|
|
9
|
+
return +r(t, e) == +r(f, e);
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
i
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=isSameWeek.5sjhTHiU.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isSameWeek.
|
|
1
|
+
{"version":3,"file":"isSameWeek.5sjhTHiU.js","sources":["../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isSameWeek.js"],"sourcesContent":["import { normalizeDates } from \"./_lib/normalizeDates.js\";\nimport { startOfWeek } from \"./startOfWeek.js\";\n\n/**\n * The {@link isSameWeek} function options.\n */\n\n/**\n * @name isSameWeek\n * @category Week Helpers\n * @summary Are the given dates in the same week (and month and year)?\n *\n * @description\n * Are the given dates in the same week (and month and year)?\n *\n * @param laterDate - The first date to check\n * @param earlierDate - The second date to check\n * @param options - An object with options\n *\n * @returns The dates are in the same week (and month and year)\n *\n * @example\n * // Are 31 August 2014 and 4 September 2014 in the same week?\n * const result = isSameWeek(new Date(2014, 7, 31), new Date(2014, 8, 4))\n * //=> true\n *\n * @example\n * // If week starts with Monday,\n * // are 31 August 2014 and 4 September 2014 in the same week?\n * const result = isSameWeek(new Date(2014, 7, 31), new Date(2014, 8, 4), {\n * weekStartsOn: 1\n * })\n * //=> false\n *\n * @example\n * // Are 1 January 2014 and 1 January 2015 in the same week?\n * const result = isSameWeek(new Date(2014, 0, 1), new Date(2015, 0, 1))\n * //=> false\n */\nexport function isSameWeek(laterDate, earlierDate, options) {\n const [laterDate_, earlierDate_] = normalizeDates(\n options?.in,\n laterDate,\n earlierDate,\n );\n return (\n +startOfWeek(laterDate_, options) === +startOfWeek(earlierDate_, options)\n );\n}\n\n// Fallback for modularized imports:\nexport default isSameWeek;\n"],"names":["isSameWeek","laterDate","earlierDate","options","laterDate_","earlierDate_","normalizeDates","startOfWeek"],"mappings":";;AAuCO,SAASA,EAAWC,GAAWC,GAAaC,GAAS;AAC1D,QAAM,CAACC,GAAYC,CAAY,IAAIC;AAAA,IACjCH,KAAA,gBAAAA,EAAS;AAAA,IACTF;AAAA,IACAC;AAAA,EACJ;AACE,SACE,CAACK,EAAYH,GAAYD,CAAO,KAAM,CAACI,EAAYF,GAAcF,CAAO;AAE5E;","x_google_ignoreList":[0]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as s, c as i, d as r, e as l } from "./en-US.BZii9jNW.js";
|
|
2
|
-
import { i as d } from "./isSameWeek.
|
|
2
|
+
import { i as d } from "./isSameWeek.5sjhTHiU.js";
|
|
3
3
|
const c = {
|
|
4
4
|
lessThanXSeconds: {
|
|
5
5
|
one: "meno di un secondo",
|
|
@@ -389,4 +389,4 @@ export {
|
|
|
389
389
|
I as default,
|
|
390
390
|
I as it
|
|
391
391
|
};
|
|
392
|
-
//# sourceMappingURL=it.
|
|
392
|
+
//# sourceMappingURL=it.DEniTaO2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"it.Oaj6BklL.js","sources":["../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/it/_lib/formatDistance.js","../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/it/_lib/formatLong.js","../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/it/_lib/formatRelative.js","../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/it/_lib/localize.js","../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/it/_lib/match.js","../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/it.js"],"sourcesContent":["const formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"meno di un secondo\",\n other: \"meno di {{count}} secondi\",\n },\n\n xSeconds: {\n one: \"un secondo\",\n other: \"{{count}} secondi\",\n },\n\n halfAMinute: \"alcuni secondi\",\n\n lessThanXMinutes: {\n one: \"meno di un minuto\",\n other: \"meno di {{count}} minuti\",\n },\n\n xMinutes: {\n one: \"un minuto\",\n other: \"{{count}} minuti\",\n },\n\n aboutXHours: {\n one: \"circa un'ora\",\n other: \"circa {{count}} ore\",\n },\n\n xHours: {\n one: \"un'ora\",\n other: \"{{count}} ore\",\n },\n\n xDays: {\n one: \"un giorno\",\n other: \"{{count}} giorni\",\n },\n\n aboutXWeeks: {\n one: \"circa una settimana\",\n other: \"circa {{count}} settimane\",\n },\n\n xWeeks: {\n one: \"una settimana\",\n other: \"{{count}} settimane\",\n },\n\n aboutXMonths: {\n one: \"circa un mese\",\n other: \"circa {{count}} mesi\",\n },\n\n xMonths: {\n one: \"un mese\",\n other: \"{{count}} mesi\",\n },\n\n aboutXYears: {\n one: \"circa un anno\",\n other: \"circa {{count}} anni\",\n },\n\n xYears: {\n one: \"un anno\",\n other: \"{{count}} anni\",\n },\n\n overXYears: {\n one: \"più di un anno\",\n other: \"più di {{count}} anni\",\n },\n\n almostXYears: {\n one: \"quasi un anno\",\n other: \"quasi {{count}} anni\",\n },\n};\n\nexport const formatDistance = (token, count, options) => {\n let result;\n\n const tokenValue = formatDistanceLocale[token];\n if (typeof tokenValue === \"string\") {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace(\"{{count}}\", count.toString());\n }\n\n if (options?.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return \"tra \" + result;\n } else {\n return result + \" fa\";\n }\n }\n\n return result;\n};\n","import { buildFormatLongFn } from \"../../_lib/buildFormatLongFn.js\";\n\nconst dateFormats = {\n full: \"EEEE d MMMM y\",\n long: \"d MMMM y\",\n medium: \"d MMM y\",\n short: \"dd/MM/y\",\n};\n\nconst timeFormats = {\n full: \"HH:mm:ss zzzz\",\n long: \"HH:mm:ss z\",\n medium: \"HH:mm:ss\",\n short: \"HH:mm\",\n};\n\nconst dateTimeFormats = {\n full: \"{{date}} {{time}}\",\n long: \"{{date}} {{time}}\",\n medium: \"{{date}} {{time}}\",\n short: \"{{date}} {{time}}\",\n};\n\nexport const formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: \"full\",\n }),\n\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: \"full\",\n }),\n\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: \"full\",\n }),\n};\n","import { isSameWeek } from \"../../../isSameWeek.js\";\n\nconst weekdays = [\n \"domenica\",\n \"lunedì\",\n \"martedì\",\n \"mercoledì\",\n \"giovedì\",\n \"venerdì\",\n \"sabato\",\n];\n\nfunction lastWeek(day) {\n switch (day) {\n case 0:\n return \"'domenica scorsa alle' p\";\n default:\n return \"'\" + weekdays[day] + \" scorso alle' p\";\n }\n}\n\nfunction thisWeek(day) {\n return \"'\" + weekdays[day] + \" alle' p\";\n}\n\nfunction nextWeek(day) {\n switch (day) {\n case 0:\n return \"'domenica prossima alle' p\";\n default:\n return \"'\" + weekdays[day] + \" prossimo alle' p\";\n }\n}\n\nconst formatRelativeLocale = {\n lastWeek: (date, baseDate, options) => {\n const day = date.getDay();\n if (isSameWeek(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return lastWeek(day);\n }\n },\n yesterday: \"'ieri alle' p\",\n today: \"'oggi alle' p\",\n tomorrow: \"'domani alle' p\",\n nextWeek: (date, baseDate, options) => {\n const day = date.getDay();\n if (isSameWeek(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return nextWeek(day);\n }\n },\n other: \"P\",\n};\n\nexport const formatRelative = (token, date, baseDate, options) => {\n const format = formatRelativeLocale[token];\n\n if (typeof format === \"function\") {\n return format(date, baseDate, options);\n }\n\n return format;\n};\n","import { buildLocalizeFn } from \"../../_lib/buildLocalizeFn.js\";\n\nconst eraValues = {\n narrow: [\"aC\", \"dC\"],\n abbreviated: [\"a.C.\", \"d.C.\"],\n wide: [\"avanti Cristo\", \"dopo Cristo\"],\n};\n\nconst quarterValues = {\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n abbreviated: [\"T1\", \"T2\", \"T3\", \"T4\"],\n wide: [\"1º trimestre\", \"2º trimestre\", \"3º trimestre\", \"4º trimestre\"],\n};\n\nconst monthValues = {\n narrow: [\"G\", \"F\", \"M\", \"A\", \"M\", \"G\", \"L\", \"A\", \"S\", \"O\", \"N\", \"D\"],\n abbreviated: [\n \"gen\",\n \"feb\",\n \"mar\",\n \"apr\",\n \"mag\",\n \"giu\",\n \"lug\",\n \"ago\",\n \"set\",\n \"ott\",\n \"nov\",\n \"dic\",\n ],\n\n wide: [\n \"gennaio\",\n \"febbraio\",\n \"marzo\",\n \"aprile\",\n \"maggio\",\n \"giugno\",\n \"luglio\",\n \"agosto\",\n \"settembre\",\n \"ottobre\",\n \"novembre\",\n \"dicembre\",\n ],\n};\n\nconst dayValues = {\n narrow: [\"D\", \"L\", \"M\", \"M\", \"G\", \"V\", \"S\"],\n short: [\"dom\", \"lun\", \"mar\", \"mer\", \"gio\", \"ven\", \"sab\"],\n abbreviated: [\"dom\", \"lun\", \"mar\", \"mer\", \"gio\", \"ven\", \"sab\"],\n wide: [\n \"domenica\",\n \"lunedì\",\n \"martedì\",\n \"mercoledì\",\n \"giovedì\",\n \"venerdì\",\n \"sabato\",\n ],\n};\n\nconst dayPeriodValues = {\n narrow: {\n am: \"m.\",\n pm: \"p.\",\n midnight: \"mezzanotte\",\n noon: \"mezzogiorno\",\n morning: \"mattina\",\n afternoon: \"pomeriggio\",\n evening: \"sera\",\n night: \"notte\",\n },\n abbreviated: {\n am: \"AM\",\n pm: \"PM\",\n midnight: \"mezzanotte\",\n noon: \"mezzogiorno\",\n morning: \"mattina\",\n afternoon: \"pomeriggio\",\n evening: \"sera\",\n night: \"notte\",\n },\n wide: {\n am: \"AM\",\n pm: \"PM\",\n midnight: \"mezzanotte\",\n noon: \"mezzogiorno\",\n morning: \"mattina\",\n afternoon: \"pomeriggio\",\n evening: \"sera\",\n night: \"notte\",\n },\n};\n\nconst formattingDayPeriodValues = {\n narrow: {\n am: \"m.\",\n pm: \"p.\",\n midnight: \"mezzanotte\",\n noon: \"mezzogiorno\",\n morning: \"di mattina\",\n afternoon: \"del pomeriggio\",\n evening: \"di sera\",\n night: \"di notte\",\n },\n abbreviated: {\n am: \"AM\",\n pm: \"PM\",\n midnight: \"mezzanotte\",\n noon: \"mezzogiorno\",\n morning: \"di mattina\",\n afternoon: \"del pomeriggio\",\n evening: \"di sera\",\n night: \"di notte\",\n },\n wide: {\n am: \"AM\",\n pm: \"PM\",\n midnight: \"mezzanotte\",\n noon: \"mezzogiorno\",\n morning: \"di mattina\",\n afternoon: \"del pomeriggio\",\n evening: \"di sera\",\n night: \"di notte\",\n },\n};\n\nconst ordinalNumber = (dirtyNumber, _options) => {\n const number = Number(dirtyNumber);\n return String(number);\n};\n\nexport const localize = {\n ordinalNumber,\n\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: \"wide\",\n }),\n\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: \"wide\",\n argumentCallback: (quarter) => quarter - 1,\n }),\n\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: \"wide\",\n }),\n\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: \"wide\",\n }),\n\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: \"wide\",\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: \"wide\",\n }),\n};\n","import { buildMatchFn } from \"../../_lib/buildMatchFn.js\";\nimport { buildMatchPatternFn } from \"../../_lib/buildMatchPatternFn.js\";\n\nconst matchOrdinalNumberPattern = /^(\\d+)(º)?/i;\nconst parseOrdinalNumberPattern = /\\d+/i;\n\nconst matchEraPatterns = {\n narrow: /^(aC|dC)/i,\n abbreviated: /^(a\\.?\\s?C\\.?|a\\.?\\s?e\\.?\\s?v\\.?|d\\.?\\s?C\\.?|e\\.?\\s?v\\.?)/i,\n wide: /^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i,\n};\nconst parseEraPatterns = {\n any: [/^a/i, /^(d|e)/i],\n};\n\nconst matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^t[1234]/i,\n wide: /^[1234](º)? trimestre/i,\n};\nconst parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i],\n};\n\nconst matchMonthPatterns = {\n narrow: /^[gfmalsond]/i,\n abbreviated: /^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,\n wide: /^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i,\n};\nconst parseMonthPatterns = {\n narrow: [\n /^g/i,\n /^f/i,\n /^m/i,\n /^a/i,\n /^m/i,\n /^g/i,\n /^l/i,\n /^a/i,\n /^s/i,\n /^o/i,\n /^n/i,\n /^d/i,\n ],\n\n any: [\n /^ge/i,\n /^f/i,\n /^mar/i,\n /^ap/i,\n /^mag/i,\n /^gi/i,\n /^l/i,\n /^ag/i,\n /^s/i,\n /^o/i,\n /^n/i,\n /^d/i,\n ],\n};\n\nconst matchDayPatterns = {\n narrow: /^[dlmgvs]/i,\n short: /^(do|lu|ma|me|gi|ve|sa)/i,\n abbreviated: /^(dom|lun|mar|mer|gio|ven|sab)/i,\n wide: /^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i,\n};\nconst parseDayPatterns = {\n narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^g/i, /^v/i, /^s/i],\n any: [/^d/i, /^l/i, /^ma/i, /^me/i, /^g/i, /^v/i, /^s/i],\n};\n\nconst matchDayPeriodPatterns = {\n narrow:\n /^(a|m\\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,\n any: /^([ap]\\.?\\s?m\\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,\n};\nconst parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mezza/i,\n noon: /^mezzo/i,\n morning: /mattina/i,\n afternoon: /pomeriggio/i,\n evening: /sera/i,\n night: /notte/i,\n },\n};\n\nexport const match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: (value) => parseInt(value, 10),\n }),\n\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseEraPatterns,\n defaultParseWidth: \"any\",\n }),\n\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: \"any\",\n valueCallback: (index) => index + 1,\n }),\n\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: \"any\",\n }),\n\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseDayPatterns,\n defaultParseWidth: \"any\",\n }),\n\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: \"any\",\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: \"any\",\n }),\n};\n","import { formatDistance } from \"./it/_lib/formatDistance.js\";\nimport { formatLong } from \"./it/_lib/formatLong.js\";\nimport { formatRelative } from \"./it/_lib/formatRelative.js\";\nimport { localize } from \"./it/_lib/localize.js\";\nimport { match } from \"./it/_lib/match.js\";\n\n/**\n * @category Locales\n * @summary Italian locale.\n * @language Italian\n * @iso-639-2 ita\n * @author Alberto Restifo [@albertorestifo](https://github.com/albertorestifo)\n * @author Giovanni Polimeni [@giofilo](https://github.com/giofilo)\n * @author Vincenzo Carrese [@vin-car](https://github.com/vin-car)\n */\nexport const it = {\n code: \"it\",\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1 /* Monday */,\n firstWeekContainsDate: 4,\n },\n};\n\n// Fallback for modularized imports:\nexport default it;\n"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","weekdays","lastWeek","day","thisWeek","nextWeek","formatRelativeLocale","date","baseDate","isSameWeek","formatRelative","format","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","_options","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","it"],"mappings":";;AAAA,MAAMA,IAAuB;AAAA,EAC3B,kBAAkB;AAAA,IAChB,KAAK;AAAA,IACL,OAAO;AAAA,EACR;AAAA,EAED,UAAU;AAAA,IACR,KAAK;AAAA,IACL,OAAO;AAAA,EACR;AAAA,EAED,aAAa;AAAA,EAEb,kBAAkB;AAAA,IAChB,KAAK;AAAA,IACL,OAAO;AAAA,EACR;AAAA,EAED,UAAU;AAAA,IACR,KAAK;AAAA,IACL,OAAO;AAAA,EACR;AAAA,EAED,aAAa;AAAA,IACX,KAAK;AAAA,IACL,OAAO;AAAA,EACR;AAAA,EAED,QAAQ;AAAA,IACN,KAAK;AAAA,IACL,OAAO;AAAA,EACR;AAAA,EAED,OAAO;AAAA,IACL,KAAK;AAAA,IACL,OAAO;AAAA,EACR;AAAA,EAED,aAAa;AAAA,IACX,KAAK;AAAA,IACL,OAAO;AAAA,EACR;AAAA,EAED,QAAQ;AAAA,IACN,KAAK;AAAA,IACL,OAAO;AAAA,EACR;AAAA,EAED,cAAc;AAAA,IACZ,KAAK;AAAA,IACL,OAAO;AAAA,EACR;AAAA,EAED,SAAS;AAAA,IACP,KAAK;AAAA,IACL,OAAO;AAAA,EACR;AAAA,EAED,aAAa;AAAA,IACX,KAAK;AAAA,IACL,OAAO;AAAA,EACR;AAAA,EAED,QAAQ;AAAA,IACN,KAAK;AAAA,IACL,OAAO;AAAA,EACR;AAAA,EAED,YAAY;AAAA,IACV,KAAK;AAAA,IACL,OAAO;AAAA,EACR;AAAA,EAED,cAAc;AAAA,IACZ,KAAK;AAAA,IACL,OAAO;AAAA,EACR;AACH,GAEaC,IAAiB,CAACC,GAAOC,GAAOC,MAAY;AACvD,MAAIC;AAEJ,QAAMC,IAAaN,EAAqBE,CAAK;AAS7C,SARI,OAAOI,KAAe,WACxBD,IAASC,IACAH,MAAU,IACnBE,IAASC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mBAAmB;AAAA,EACvB,CAAG;AAAA,EAED,WAAWM,EAAa;AAAA,IACtB,eAAeL;AAAA,IACf,mBAAmB;AAAA,IACnB,eAAeC;AAAA,IACf,mBAAmB;AAAA,EACvB,CAAG;AACH,GCrHaM,IAAK;AAAA,EAChB,MAAM;AAAA,EACN,gBAAgBpD;AAAA,EAChB,YAAYS;AAAA,EACZ,gBAAgBW;AAAA,EAChB,UAAUY;AAAA,EACV,OAAOe;AAAA,EACP,SAAS;AAAA,IACP,cAAc;AAAA,IACd,uBAAuB;AAAA,EACxB;AACH;","x_google_ignoreList":[0,1,2,3,4,5]}
|
|
1
|
+
{"version":3,"file":"it.DEniTaO2.js","sources":["../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/it/_lib/formatDistance.js","../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/it/_lib/formatLong.js","../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/it/_lib/formatRelative.js","../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/it/_lib/localize.js","../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/it/_lib/match.js","../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/it.js"],"sourcesContent":["const formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"meno di un secondo\",\n other: \"meno di {{count}} secondi\",\n },\n\n xSeconds: {\n one: \"un secondo\",\n other: \"{{count}} secondi\",\n },\n\n halfAMinute: \"alcuni secondi\",\n\n lessThanXMinutes: {\n one: \"meno di un minuto\",\n other: \"meno di {{count}} minuti\",\n },\n\n xMinutes: {\n one: \"un minuto\",\n other: \"{{count}} minuti\",\n },\n\n aboutXHours: {\n one: \"circa un'ora\",\n other: \"circa {{count}} ore\",\n },\n\n xHours: {\n one: \"un'ora\",\n other: \"{{count}} ore\",\n },\n\n xDays: {\n one: \"un giorno\",\n other: \"{{count}} giorni\",\n },\n\n aboutXWeeks: {\n one: \"circa una settimana\",\n other: \"circa {{count}} settimane\",\n },\n\n xWeeks: {\n one: \"una settimana\",\n other: \"{{count}} settimane\",\n },\n\n aboutXMonths: {\n one: \"circa un mese\",\n other: \"circa {{count}} mesi\",\n },\n\n xMonths: {\n one: \"un mese\",\n other: \"{{count}} mesi\",\n },\n\n aboutXYears: {\n one: \"circa un anno\",\n other: \"circa {{count}} anni\",\n },\n\n xYears: {\n one: \"un anno\",\n other: \"{{count}} anni\",\n },\n\n overXYears: {\n one: \"più di un anno\",\n other: \"più di {{count}} anni\",\n },\n\n almostXYears: {\n one: \"quasi un anno\",\n other: \"quasi {{count}} anni\",\n },\n};\n\nexport const formatDistance = (token, count, options) => {\n let result;\n\n const tokenValue = formatDistanceLocale[token];\n if (typeof tokenValue === \"string\") {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace(\"{{count}}\", count.toString());\n }\n\n if (options?.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return \"tra \" + result;\n } else {\n return result + \" fa\";\n }\n }\n\n return result;\n};\n","import { buildFormatLongFn } from \"../../_lib/buildFormatLongFn.js\";\n\nconst dateFormats = {\n full: \"EEEE d MMMM y\",\n long: \"d MMMM y\",\n medium: \"d MMM y\",\n short: \"dd/MM/y\",\n};\n\nconst timeFormats = {\n full: \"HH:mm:ss zzzz\",\n long: \"HH:mm:ss z\",\n medium: \"HH:mm:ss\",\n short: \"HH:mm\",\n};\n\nconst dateTimeFormats = {\n full: \"{{date}} {{time}}\",\n long: \"{{date}} {{time}}\",\n medium: \"{{date}} {{time}}\",\n short: \"{{date}} {{time}}\",\n};\n\nexport const formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: \"full\",\n }),\n\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: \"full\",\n }),\n\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: \"full\",\n }),\n};\n","import { isSameWeek } from \"../../../isSameWeek.js\";\n\nconst weekdays = [\n \"domenica\",\n \"lunedì\",\n \"martedì\",\n \"mercoledì\",\n \"giovedì\",\n \"venerdì\",\n \"sabato\",\n];\n\nfunction lastWeek(day) {\n switch (day) {\n case 0:\n return \"'domenica scorsa alle' p\";\n default:\n return \"'\" + weekdays[day] + \" scorso alle' p\";\n }\n}\n\nfunction thisWeek(day) {\n return \"'\" + weekdays[day] + \" alle' p\";\n}\n\nfunction nextWeek(day) {\n switch (day) {\n case 0:\n return \"'domenica prossima alle' p\";\n default:\n return \"'\" + weekdays[day] + \" prossimo alle' p\";\n }\n}\n\nconst formatRelativeLocale = {\n lastWeek: (date, baseDate, options) => {\n const day = date.getDay();\n if (isSameWeek(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return lastWeek(day);\n }\n },\n yesterday: \"'ieri alle' p\",\n today: \"'oggi alle' p\",\n tomorrow: \"'domani alle' p\",\n nextWeek: (date, baseDate, options) => {\n const day = date.getDay();\n if (isSameWeek(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return nextWeek(day);\n }\n },\n other: \"P\",\n};\n\nexport const formatRelative = (token, date, baseDate, options) => {\n const format = formatRelativeLocale[token];\n\n if (typeof format === \"function\") {\n return format(date, baseDate, options);\n }\n\n return format;\n};\n","import { buildLocalizeFn } from \"../../_lib/buildLocalizeFn.js\";\n\nconst eraValues = {\n narrow: [\"aC\", \"dC\"],\n abbreviated: [\"a.C.\", \"d.C.\"],\n wide: [\"avanti Cristo\", \"dopo Cristo\"],\n};\n\nconst quarterValues = {\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n abbreviated: [\"T1\", \"T2\", \"T3\", \"T4\"],\n wide: [\"1º trimestre\", \"2º trimestre\", \"3º trimestre\", \"4º trimestre\"],\n};\n\nconst monthValues = {\n narrow: [\"G\", \"F\", \"M\", \"A\", \"M\", \"G\", \"L\", \"A\", \"S\", \"O\", \"N\", \"D\"],\n abbreviated: [\n \"gen\",\n \"feb\",\n \"mar\",\n \"apr\",\n \"mag\",\n \"giu\",\n \"lug\",\n \"ago\",\n \"set\",\n \"ott\",\n \"nov\",\n \"dic\",\n ],\n\n wide: [\n \"gennaio\",\n \"febbraio\",\n \"marzo\",\n \"aprile\",\n \"maggio\",\n \"giugno\",\n \"luglio\",\n \"agosto\",\n \"settembre\",\n \"ottobre\",\n \"novembre\",\n \"dicembre\",\n ],\n};\n\nconst dayValues = {\n narrow: [\"D\", \"L\", \"M\", \"M\", \"G\", \"V\", \"S\"],\n short: [\"dom\", \"lun\", \"mar\", \"mer\", \"gio\", \"ven\", \"sab\"],\n abbreviated: [\"dom\", \"lun\", \"mar\", \"mer\", \"gio\", \"ven\", \"sab\"],\n wide: [\n \"domenica\",\n \"lunedì\",\n \"martedì\",\n \"mercoledì\",\n \"giovedì\",\n \"venerdì\",\n \"sabato\",\n ],\n};\n\nconst dayPeriodValues = {\n narrow: {\n am: \"m.\",\n pm: \"p.\",\n midnight: \"mezzanotte\",\n noon: \"mezzogiorno\",\n morning: \"mattina\",\n afternoon: \"pomeriggio\",\n evening: \"sera\",\n night: \"notte\",\n },\n abbreviated: {\n am: \"AM\",\n pm: \"PM\",\n midnight: \"mezzanotte\",\n noon: \"mezzogiorno\",\n morning: \"mattina\",\n afternoon: \"pomeriggio\",\n evening: \"sera\",\n night: \"notte\",\n },\n wide: {\n am: \"AM\",\n pm: \"PM\",\n midnight: \"mezzanotte\",\n noon: \"mezzogiorno\",\n morning: \"mattina\",\n afternoon: \"pomeriggio\",\n evening: \"sera\",\n night: \"notte\",\n },\n};\n\nconst formattingDayPeriodValues = {\n narrow: {\n am: \"m.\",\n pm: \"p.\",\n midnight: \"mezzanotte\",\n noon: \"mezzogiorno\",\n morning: \"di mattina\",\n afternoon: \"del pomeriggio\",\n evening: \"di sera\",\n night: \"di notte\",\n },\n abbreviated: {\n am: \"AM\",\n pm: \"PM\",\n midnight: \"mezzanotte\",\n noon: \"mezzogiorno\",\n morning: \"di mattina\",\n afternoon: \"del pomeriggio\",\n evening: \"di sera\",\n night: \"di notte\",\n },\n wide: {\n am: \"AM\",\n pm: \"PM\",\n midnight: \"mezzanotte\",\n noon: \"mezzogiorno\",\n morning: \"di mattina\",\n afternoon: \"del pomeriggio\",\n evening: \"di sera\",\n night: \"di notte\",\n },\n};\n\nconst ordinalNumber = (dirtyNumber, _options) => {\n const number = Number(dirtyNumber);\n return String(number);\n};\n\nexport const localize = {\n ordinalNumber,\n\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: \"wide\",\n }),\n\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: \"wide\",\n argumentCallback: (quarter) => quarter - 1,\n }),\n\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: \"wide\",\n }),\n\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: \"wide\",\n }),\n\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: \"wide\",\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: \"wide\",\n }),\n};\n","import { buildMatchFn } from \"../../_lib/buildMatchFn.js\";\nimport { buildMatchPatternFn } from \"../../_lib/buildMatchPatternFn.js\";\n\nconst matchOrdinalNumberPattern = /^(\\d+)(º)?/i;\nconst parseOrdinalNumberPattern = /\\d+/i;\n\nconst matchEraPatterns = {\n narrow: /^(aC|dC)/i,\n abbreviated: /^(a\\.?\\s?C\\.?|a\\.?\\s?e\\.?\\s?v\\.?|d\\.?\\s?C\\.?|e\\.?\\s?v\\.?)/i,\n wide: /^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i,\n};\nconst parseEraPatterns = {\n any: [/^a/i, /^(d|e)/i],\n};\n\nconst matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^t[1234]/i,\n wide: /^[1234](º)? trimestre/i,\n};\nconst parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i],\n};\n\nconst matchMonthPatterns = {\n narrow: /^[gfmalsond]/i,\n abbreviated: /^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,\n wide: /^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i,\n};\nconst parseMonthPatterns = {\n narrow: [\n /^g/i,\n /^f/i,\n /^m/i,\n /^a/i,\n /^m/i,\n /^g/i,\n /^l/i,\n /^a/i,\n /^s/i,\n /^o/i,\n /^n/i,\n /^d/i,\n ],\n\n any: [\n /^ge/i,\n /^f/i,\n /^mar/i,\n /^ap/i,\n /^mag/i,\n /^gi/i,\n /^l/i,\n /^ag/i,\n /^s/i,\n /^o/i,\n /^n/i,\n /^d/i,\n ],\n};\n\nconst matchDayPatterns = {\n narrow: /^[dlmgvs]/i,\n short: /^(do|lu|ma|me|gi|ve|sa)/i,\n abbreviated: /^(dom|lun|mar|mer|gio|ven|sab)/i,\n wide: /^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i,\n};\nconst parseDayPatterns = {\n narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^g/i, /^v/i, /^s/i],\n any: [/^d/i, /^l/i, /^ma/i, /^me/i, /^g/i, /^v/i, /^s/i],\n};\n\nconst matchDayPeriodPatterns = {\n narrow:\n /^(a|m\\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,\n any: /^([ap]\\.?\\s?m\\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,\n};\nconst parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mezza/i,\n noon: /^mezzo/i,\n morning: /mattina/i,\n afternoon: /pomeriggio/i,\n evening: /sera/i,\n night: /notte/i,\n },\n};\n\nexport const match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: (value) => parseInt(value, 10),\n }),\n\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseEraPatterns,\n defaultParseWidth: \"any\",\n }),\n\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: \"any\",\n valueCallback: (index) => index + 1,\n }),\n\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: \"any\",\n }),\n\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseDayPatterns,\n defaultParseWidth: \"any\",\n }),\n\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: \"any\",\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: \"any\",\n }),\n};\n","import { formatDistance } from \"./it/_lib/formatDistance.js\";\nimport { formatLong } from \"./it/_lib/formatLong.js\";\nimport { formatRelative } from \"./it/_lib/formatRelative.js\";\nimport { localize } from \"./it/_lib/localize.js\";\nimport { match } from \"./it/_lib/match.js\";\n\n/**\n * @category Locales\n * @summary Italian locale.\n * @language Italian\n * @iso-639-2 ita\n * @author Alberto Restifo [@albertorestifo](https://github.com/albertorestifo)\n * @author Giovanni Polimeni [@giofilo](https://github.com/giofilo)\n * @author Vincenzo Carrese [@vin-car](https://github.com/vin-car)\n */\nexport const it = {\n code: \"it\",\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1 /* Monday */,\n firstWeekContainsDate: 4,\n },\n};\n\n// Fallback for modularized imports:\nexport default it;\n"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","weekdays","lastWeek","day","thisWeek","nextWeek","formatRelativeLocale","date","baseDate","isSameWeek","formatRelative","format","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","_options","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","it"],"mappings":";;AAAA,MAAMA,IAAuB;AAAA,EAC3B,kBAAkB;AAAA,IAChB,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,UAAU;AAAA,IACR,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,aAAa;AAAA,EAEb,kBAAkB;AAAA,IAChB,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,UAAU;AAAA,IACR,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,aAAa;AAAA,IACX,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,QAAQ;AAAA,IACN,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,OAAO;AAAA,IACL,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,aAAa;AAAA,IACX,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,QAAQ;AAAA,IACN,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,cAAc;AAAA,IACZ,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,SAAS;AAAA,IACP,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,aAAa;AAAA,IACX,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,QAAQ;AAAA,IACN,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,YAAY;AAAA,IACV,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,cAAc;AAAA,IACZ,K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