@adyen/bento-vue3 1.72.0 → 1.74.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/components.d.ts +2 -10
- package/dist/@types/index.d.ts +1543 -1703
- package/dist/@types/use-form-v4.d.ts +1 -1
- package/dist/accordion.js +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/avatar.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/country.css +1 -1
- package/dist/assets/currency.css +1 -1
- package/dist/assets/data-grid-template.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-picker.css +1 -1
- package/dist/assets/date-range-picker.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown-tag.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/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/header-meta.css +1 -1
- package/dist/assets/header-with-views.css +1 -1
- package/dist/assets/input-field-password.css +1 -1
- package/dist/assets/input-field-phone-number.css +1 -1
- package/dist/assets/input-field.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/listbox-option-tag.css +1 -1
- package/dist/assets/loading-indicator.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/pagination.css +1 -1
- package/dist/assets/popper-container.css +1 -1
- package/dist/assets/radio-group.css +1 -1
- package/dist/assets/radio-input.css +1 -1
- package/dist/assets/secondary-nav.css +1 -1
- package/dist/assets/segmented-control.css +1 -1
- package/dist/assets/selection-card-group.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/step.css +1 -1
- package/dist/assets/tab.css +1 -1
- package/dist/assets/textarea.css +1 -1
- package/dist/assets/timeline-item.css +1 -1
- package/dist/assets/toggle.css +1 -1
- package/dist/assets/tooltip.css +1 -1
- package/dist/assets/tutorial.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/avatar.js +1 -1
- package/dist/button.js +3 -3
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chip.js +1 -1
- package/dist/chunks/{accordion-item.6etqAJV9.js → accordion-item.Bd3v6erb.js} +2 -2
- package/dist/chunks/{accordion-item.6etqAJV9.js.map → accordion-item.Bd3v6erb.js.map} +1 -1
- package/dist/chunks/{action-bar.DDLTN9TB.js → action-bar.BZ04Y7Yi.js} +5 -5
- package/dist/chunks/{action-bar.DDLTN9TB.js.map → action-bar.BZ04Y7Yi.js.map} +1 -1
- package/dist/chunks/{ai-button.DsNrcgpK.js → ai-button.DaRuea3x.js} +2 -2
- package/dist/chunks/{ai-button.DsNrcgpK.js.map → ai-button.DaRuea3x.js.map} +1 -1
- package/dist/chunks/{alert.Dzx5MzgE.js → alert.C2pusd-_.js} +3 -3
- package/dist/chunks/{alert.Dzx5MzgE.js.map → alert.C2pusd-_.js.map} +1 -1
- package/dist/chunks/{avatar.Dq59yj6m.js → avatar.P2Fkz2I6.js} +27 -26
- package/dist/chunks/avatar.P2Fkz2I6.js.map +1 -0
- package/dist/chunks/{base-modal.Djw4pVal.js → base-modal.UA93s_8c.js} +7 -7
- package/dist/chunks/base-modal.UA93s_8c.js.map +1 -0
- package/dist/chunks/{button-actions-with-menu.DaKPEgPd.js → button-actions-with-menu.BeQ-j1bv.js} +2 -2
- package/dist/chunks/{button-actions-with-menu.DaKPEgPd.js.map → button-actions-with-menu.BeQ-j1bv.js.map} +1 -1
- package/dist/chunks/{button-actions.D1eBtYgZ.js → button-actions.BQ3AFQqt.js} +13 -16
- package/dist/chunks/button-actions.BQ3AFQqt.js.map +1 -0
- package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -1
- package/dist/chunks/{button.C-MAa6ut.js → button.DhcxX2GJ.js} +2 -2
- package/dist/chunks/button.DhcxX2GJ.js.map +1 -0
- package/dist/chunks/{calendar.B1a_mV-Q.js → calendar.Cqjyxc69.js} +314 -310
- package/dist/chunks/calendar.Cqjyxc69.js.map +1 -0
- package/dist/chunks/{card.B9lWURmF.js → card.GxkxfBoV.js} +23 -23
- package/dist/chunks/card.GxkxfBoV.js.map +1 -0
- package/dist/chunks/{checkbox-group.CcgOK4yt.js → checkbox-group.8ebmaHsA.js} +4 -4
- package/dist/chunks/{checkbox-group.CcgOK4yt.js.map → checkbox-group.8ebmaHsA.js.map} +1 -1
- package/dist/chunks/{checkbox.73QYC0y8.js → checkbox.BI0dqARY.js} +4 -4
- package/dist/chunks/{checkbox.73QYC0y8.js.map → checkbox.BI0dqARY.js.map} +1 -1
- package/dist/chunks/{chip.CUwVpPVo.js → chip.DuLyhNCy.js} +2 -2
- package/dist/chunks/{chip.CUwVpPVo.js.map → chip.DuLyhNCy.js.map} +1 -1
- package/dist/chunks/{code-snippet.DL_1HNKV.js → code-snippet.CO78Nfj0.js} +7 -7
- package/dist/chunks/{code-snippet.DL_1HNKV.js.map → code-snippet.CO78Nfj0.js.map} +1 -1
- package/dist/chunks/{controls-group.CdTg-WDi.js → controls-group.cbGiHr7n.js} +2 -2
- package/dist/chunks/{controls-group.CdTg-WDi.js.map → controls-group.cbGiHr7n.js.map} +1 -1
- package/dist/chunks/{copy.Da1OGFTr.js → copy.ClKnDjMI.js} +5 -5
- package/dist/chunks/{copy.Da1OGFTr.js.map → copy.ClKnDjMI.js.map} +1 -1
- package/dist/chunks/country.DmnN9YIW.js +69 -0
- package/dist/chunks/country.DmnN9YIW.js.map +1 -0
- package/dist/chunks/country.types.C0Q_hhgJ.js.map +1 -1
- package/dist/chunks/{currency.CN4UnCx8.js → currency.CBZMwm21.js} +55 -38
- package/dist/chunks/currency.CBZMwm21.js.map +1 -0
- package/dist/chunks/{dashboard-section.BXE7_Y9R.js → dashboard-section.CVttsom5.js} +3 -3
- package/dist/chunks/{dashboard-section.BXE7_Y9R.js.map → dashboard-section.CVttsom5.js.map} +1 -1
- package/dist/chunks/{dashed-underline.28J-9i5D.js → dashed-underline.r62L_XBr.js} +3 -3
- package/dist/chunks/{dashed-underline.28J-9i5D.js.map → dashed-underline.r62L_XBr.js.map} +1 -1
- package/dist/chunks/{data-grid-template.B13OrA1T.js → data-grid-template.CFt1NV_4.js} +4 -4
- package/dist/chunks/{data-grid-template.B13OrA1T.js.map → data-grid-template.CFt1NV_4.js.map} +1 -1
- package/dist/chunks/data-grid.BjPdbx50.js +4071 -0
- package/dist/chunks/data-grid.BjPdbx50.js.map +1 -0
- package/dist/chunks/{date-input.BqBdAO1E.js → date-format.B8RU7D42.js} +6 -6
- package/dist/chunks/date-format.B8RU7D42.js.map +1 -0
- package/dist/chunks/date-picker.DSkvT_CA.js +234 -0
- package/dist/chunks/date-picker.DSkvT_CA.js.map +1 -0
- package/dist/chunks/date-range-picker.cmg75lC-.js +1117 -0
- package/dist/chunks/date-range-picker.cmg75lC-.js.map +1 -0
- package/dist/chunks/{date.4GAXrgy5.js → date.DZvVL-uz.js} +3 -3
- package/dist/chunks/{date.4GAXrgy5.js.map → date.DZvVL-uz.js.map} +1 -1
- package/dist/chunks/debounce.DUTu11PS.js.map +1 -1
- package/dist/chunks/{dialog-page.1ZVnUqpT.js → dialog-page.zWrBSgBD.js} +3 -3
- package/dist/chunks/dialog-page.zWrBSgBD.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.CGsOngY1.js → dropdown-default-textbox.MkU0tMf1.js} +29 -29
- package/dist/chunks/dropdown-default-textbox.MkU0tMf1.js.map +1 -0
- package/dist/chunks/{dropdown-tag.hIiGmmBD.js → dropdown-tag.DvQQIJsw.js} +134 -122
- package/dist/chunks/dropdown-tag.DvQQIJsw.js.map +1 -0
- package/dist/chunks/{dropdown.GyDAswAO.js → dropdown.bLsoTZbw.js} +350 -339
- package/dist/chunks/dropdown.bLsoTZbw.js.map +1 -0
- package/dist/chunks/{empty-state.BsKJ-1pT.js → empty-state.Be6M8ivH.js} +2 -2
- package/dist/chunks/{empty-state.BsKJ-1pT.js.map → empty-state.Be6M8ivH.js.map} +1 -1
- package/dist/chunks/es6.MoTTyETW.js.map +1 -1
- package/dist/chunks/{field-label.DSeawpYh.js → field-label.C97CrBI_.js} +3 -3
- package/dist/chunks/{field-label.DSeawpYh.js.map → field-label.C97CrBI_.js.map} +1 -1
- package/dist/chunks/{file-uploader.DELe6_NM.js → file-uploader.By0MTfKk.js} +87 -88
- package/dist/chunks/file-uploader.By0MTfKk.js.map +1 -0
- package/dist/chunks/filter-bar.nX73NKNC.js +2948 -0
- package/dist/chunks/filter-bar.nX73NKNC.js.map +1 -0
- package/dist/chunks/{fixed-scroller.BASYH576.js → fixed-scroller.Dmg8r9QP.js} +3 -3
- package/dist/chunks/{fixed-scroller.BASYH576.js.map → fixed-scroller.Dmg8r9QP.js.map} +1 -1
- package/dist/chunks/focus-trap.CpNGD7PH.js.map +1 -1
- package/dist/chunks/{footer-actions.Bqn-Jp0p.js → footer-actions.BO52wpv-.js} +3 -3
- package/dist/chunks/{footer-actions.Bqn-Jp0p.js.map → footer-actions.BO52wpv-.js.map} +1 -1
- package/dist/chunks/{form-layout-title.DdRqnXXi.js → form-layout-title.61ESsGAY.js} +20 -12
- package/dist/chunks/form-layout-title.61ESsGAY.js.map +1 -0
- package/dist/chunks/get-slot-text.DQlZEsId.js.map +1 -1
- package/dist/chunks/{header-meta.BXOpbsSR.js → header-meta.C4iaUsfq.js} +13 -10
- package/dist/chunks/{header-meta.BXOpbsSR.js.map → header-meta.C4iaUsfq.js.map} +1 -1
- package/dist/chunks/{header-with-views.afPw_Czi.js → header-with-views.BLW817ZC.js} +207 -207
- package/dist/chunks/header-with-views.BLW817ZC.js.map +1 -0
- package/dist/chunks/{header.9kRuPR3K.js → header.DARVAeE9.js} +3 -3
- package/dist/chunks/{header.9kRuPR3K.js.map → header.DARVAeE9.js.map} +1 -1
- package/dist/chunks/index.pdBj0KQU.js +15 -0
- package/dist/chunks/index.pdBj0KQU.js.map +1 -0
- package/dist/chunks/{info-icon.CRnO5lpq.js → info-icon.BhOm72U4.js} +3 -3
- package/dist/chunks/{info-icon.CRnO5lpq.js.map → info-icon.BhOm72U4.js.map} +1 -1
- package/dist/chunks/{input-field-password.JZkGOiMd.js → input-field-password.BtM3-txc.js} +8 -8
- package/dist/chunks/input-field-password.BtM3-txc.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.CF5P0_yu.js → input-field-phone-number.oaNB69nM.js} +631 -631
- package/dist/chunks/{input-field-phone-number.CF5P0_yu.js.map → input-field-phone-number.oaNB69nM.js.map} +1 -1
- package/dist/chunks/{input-field.2S8zBviE.js → input-field.D_tADgPG.js} +5 -5
- package/dist/chunks/input-field.D_tADgPG.js.map +1 -0
- package/dist/chunks/{inspector.C-yVhM15.js → inspector.BKP15cx6.js} +4 -4
- package/dist/chunks/inspector.BKP15cx6.js.map +1 -0
- package/dist/chunks/keyboard-navigation.pB8weElW.js.map +1 -1
- package/dist/chunks/{listbox-option-tag.CtJUykfB.js → listbox-option-tag.uHSB7MO6.js} +9 -9
- package/dist/chunks/listbox-option-tag.uHSB7MO6.js.map +1 -0
- package/dist/chunks/loading-indicator.Db794TT5.js +33 -0
- package/dist/chunks/loading-indicator.Db794TT5.js.map +1 -0
- package/dist/chunks/{modal-fullscreen.CIxazX33.js → modal-fullscreen.DTT-5rQX.js} +6 -6
- package/dist/chunks/{modal-fullscreen.CIxazX33.js.map → modal-fullscreen.DTT-5rQX.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.D4TJY7o_.js → modal.vue_vue_type_script_setup_true_lang.c3Ma1oAL.js} +6 -6
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.D4TJY7o_.js.map → modal.vue_vue_type_script_setup_true_lang.c3Ma1oAL.js.map} +1 -1
- package/dist/chunks/on-click-outside.D9aY9g8G.js.map +1 -1
- package/dist/chunks/{pagination.NDwXq6fh.js → pagination.D1Gdo5to.js} +5 -5
- package/dist/chunks/pagination.D1Gdo5to.js.map +1 -0
- package/dist/chunks/popover.types.BFFy1ChU.js +6 -0
- package/dist/chunks/{popover.types.Bp97CGc4.js.map → popover.types.BFFy1ChU.js.map} +1 -1
- package/dist/chunks/{popper-container.5cq-eu41.js → popper-container.Uod3yjsR.js} +2 -2
- package/dist/chunks/{popper-container.5cq-eu41.js.map → popper-container.Uod3yjsR.js.map} +1 -1
- package/dist/chunks/{promo-banner.ChT2zKkO.js → promo-banner.B-TLTLEd.js} +3 -3
- package/dist/chunks/promo-banner.B-TLTLEd.js.map +1 -0
- package/dist/chunks/radio-group.DWNqrkZ3.js +277 -0
- package/dist/chunks/radio-group.DWNqrkZ3.js.map +1 -0
- package/dist/chunks/{radio-input.odN9FOyr.js → radio-input.CBNE-AkM.js} +13 -14
- package/dist/chunks/radio-input.CBNE-AkM.js.map +1 -0
- package/dist/chunks/{rich-text-editor.D770fUpS.js → rich-text-editor.BK9AivIm.js} +6 -6
- package/dist/chunks/{rich-text-editor.D770fUpS.js.map → rich-text-editor.BK9AivIm.js.map} +1 -1
- package/dist/chunks/{search-bar.rZ_38y4j.js → search-bar.BD_R-vgA.js} +4 -4
- package/dist/chunks/{search-bar.rZ_38y4j.js.map → search-bar.BD_R-vgA.js.map} +1 -1
- package/dist/chunks/{secondary-nav.BBE8HyDR.js → secondary-nav.Du2PL7Ok.js} +5 -5
- package/dist/chunks/secondary-nav.Du2PL7Ok.js.map +1 -0
- package/dist/chunks/{segmented-control.D0SoqGlC.js → segmented-control.BCHGDSrf.js} +47 -45
- package/dist/chunks/segmented-control.BCHGDSrf.js.map +1 -0
- package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -1
- package/dist/chunks/{selection-card-group.KK9ZPqiU.js → selection-card-group._RgLiMyQ.js} +5 -5
- package/dist/chunks/selection-card-group._RgLiMyQ.js.map +1 -0
- package/dist/chunks/{sidepanel.CyPW8jxA.js → sidepanel.CS9CfAWZ.js} +19 -19
- package/dist/chunks/{sidepanel.CyPW8jxA.js.map → sidepanel.CS9CfAWZ.js.map} +1 -1
- package/dist/chunks/{step.Ci-e1V9E.js → step.CoSuGK16.js} +4 -4
- package/dist/chunks/step.CoSuGK16.js.map +1 -0
- package/dist/chunks/{structured-list-item.CSkcduKn.js → structured-list-item.BTPh7SPj.js} +6 -6
- package/dist/chunks/{structured-list-item.CSkcduKn.js.map → structured-list-item.BTPh7SPj.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.C-gcwqwB.js → summary-grid.types.ByQ4u19J.js} +6 -6
- package/dist/chunks/{summary-grid.types.C-gcwqwB.js.map → summary-grid.types.ByQ4u19J.js.map} +1 -1
- package/dist/chunks/{tab.8bEkiAkk.js → tab.CD5Eu6ql.js} +3 -3
- package/dist/chunks/tab.CD5Eu6ql.js.map +1 -0
- package/dist/chunks/{tag.BFYNxO6t.js → tag.CEmpyuYX.js} +2 -2
- package/dist/chunks/{tag.BFYNxO6t.js.map → tag.CEmpyuYX.js.map} +1 -1
- package/dist/chunks/textarea.C1jkfowf.js +246 -0
- package/dist/chunks/textarea.C1jkfowf.js.map +1 -0
- package/dist/chunks/{timeline-item.BiivSMPD.js → timeline-item.C8PA_w7m.js} +9 -9
- package/dist/chunks/timeline-item.C8PA_w7m.js.map +1 -0
- package/dist/chunks/{toast.DIhABAW8.js → toast.6oJx7SNq.js} +3 -3
- package/dist/chunks/{toast.DIhABAW8.js.map → toast.6oJx7SNq.js.map} +1 -1
- package/dist/chunks/toggle.Dd_NA8eH.js +143 -0
- package/dist/chunks/toggle.Dd_NA8eH.js.map +1 -0
- package/dist/chunks/tooltip.Dp9_ESm_.js +202 -0
- package/dist/chunks/tooltip.Dp9_ESm_.js.map +1 -0
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BDCDB169.js → tutorial.vue_vue_type_script_setup_true_lang.KvlJ_dl9.js} +6 -6
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.KvlJ_dl9.js.map +1 -0
- package/dist/chunks/{use-cached-selected-values.CBOWMI4O.js → use-cached-selected-values.C32tjNKy.js} +114 -114
- package/dist/chunks/use-cached-selected-values.C32tjNKy.js.map +1 -0
- package/dist/chunks/{use-country-items.D_kamcYy.js → use-country-items.Dzbl2UsO.js} +7 -7
- package/dist/chunks/use-country-items.Dzbl2UsO.js.map +1 -0
- 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-has-slot.B7eQSabc.js.map +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/country.js +1 -1
- package/dist/currency.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +5 -4
- package/dist/date-range-picker.js +5 -4
- package/dist/date.js +1 -1
- package/dist/dropdown.js +4 -4
- package/dist/empty-state.js +1 -1
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +5 -4
- 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 +405 -329
- 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 +12 -12
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/popover.js +2 -2
- package/dist/popper-container.js +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/radio-group.js +2 -2
- package/dist/rich-text-editor.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/stepper.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +25 -15
- package/dist/styles/bento-light.css +9 -3
- package/dist/styles/bento.css +9 -3
- package/dist/styles/legacy.css +9 -3
- package/dist/styles/styleguide.css +9 -3
- package/dist/summary-grid.js +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/use-form-v4.js.map +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +14 -12
- package/dist/chunks/avatar.Dq59yj6m.js.map +0 -1
- package/dist/chunks/base-modal.Djw4pVal.js.map +0 -1
- package/dist/chunks/button-actions.D1eBtYgZ.js.map +0 -1
- package/dist/chunks/button.C-MAa6ut.js.map +0 -1
- package/dist/chunks/calendar.B1a_mV-Q.js.map +0 -1
- package/dist/chunks/card.B9lWURmF.js.map +0 -1
- package/dist/chunks/country.RVvsGwuV.js +0 -99
- package/dist/chunks/country.RVvsGwuV.js.map +0 -1
- package/dist/chunks/currency.CN4UnCx8.js.map +0 -1
- package/dist/chunks/data-grid._xo6LEB-.js +0 -4010
- package/dist/chunks/data-grid._xo6LEB-.js.map +0 -1
- package/dist/chunks/date-input.BqBdAO1E.js.map +0 -1
- package/dist/chunks/date-picker.Bkz4GmyC.js +0 -319
- package/dist/chunks/date-picker.Bkz4GmyC.js.map +0 -1
- package/dist/chunks/date-range-picker.9Zlg9xnH.js +0 -1171
- package/dist/chunks/date-range-picker.9Zlg9xnH.js.map +0 -1
- package/dist/chunks/dialog-page.1ZVnUqpT.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.CGsOngY1.js.map +0 -1
- package/dist/chunks/dropdown-tag.hIiGmmBD.js.map +0 -1
- package/dist/chunks/dropdown.GyDAswAO.js.map +0 -1
- package/dist/chunks/file-uploader.DELe6_NM.js.map +0 -1
- package/dist/chunks/filter-bar.BLhRZzJa.js +0 -3005
- package/dist/chunks/filter-bar.BLhRZzJa.js.map +0 -1
- package/dist/chunks/form-layout-title.DdRqnXXi.js.map +0 -1
- package/dist/chunks/header-with-views.afPw_Czi.js.map +0 -1
- package/dist/chunks/i18n.B6g5VX0q.js +0 -3131
- package/dist/chunks/i18n.B6g5VX0q.js.map +0 -1
- package/dist/chunks/input-field-password.JZkGOiMd.js.map +0 -1
- package/dist/chunks/input-field.2S8zBviE.js.map +0 -1
- package/dist/chunks/inspector.C-yVhM15.js.map +0 -1
- package/dist/chunks/listbox-option-tag.CtJUykfB.js.map +0 -1
- package/dist/chunks/loading-indicator.VHi5tbZa.js +0 -44
- package/dist/chunks/loading-indicator.VHi5tbZa.js.map +0 -1
- package/dist/chunks/pagination.NDwXq6fh.js.map +0 -1
- package/dist/chunks/popover.types.Bp97CGc4.js +0 -6
- package/dist/chunks/promo-banner.ChT2zKkO.js.map +0 -1
- package/dist/chunks/radio-group.BNiif4On.js +0 -329
- package/dist/chunks/radio-group.BNiif4On.js.map +0 -1
- package/dist/chunks/radio-input.odN9FOyr.js.map +0 -1
- package/dist/chunks/secondary-nav.BBE8HyDR.js.map +0 -1
- package/dist/chunks/segmented-control.D0SoqGlC.js.map +0 -1
- package/dist/chunks/selection-card-group.KK9ZPqiU.js.map +0 -1
- package/dist/chunks/step.Ci-e1V9E.js.map +0 -1
- package/dist/chunks/tab.8bEkiAkk.js.map +0 -1
- package/dist/chunks/textarea.C7RmLKEx.js +0 -295
- package/dist/chunks/textarea.C7RmLKEx.js.map +0 -1
- package/dist/chunks/timeline-item.BiivSMPD.js.map +0 -1
- package/dist/chunks/toggle.C8k7NQ7y.js +0 -161
- package/dist/chunks/toggle.C8k7NQ7y.js.map +0 -1
- package/dist/chunks/tooltip.CEHc6lzU.js +0 -211
- package/dist/chunks/tooltip.CEHc6lzU.js.map +0 -1
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.BDCDB169.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.CBOWMI4O.js.map +0 -1
- package/dist/chunks/use-country-items.D_kamcYy.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as m, createBlock as s, openBlock as o, unref as e, withCtx as l, createElementVNode as q, createTextVNode as n, createVNode as c, toDisplayString as i, computed as x, createElementBlock as u, normalizeClass as k, createCommentVNode as f, renderSlot as v, Fragment as C } from "vue";
|
|
2
2
|
import { B as r } from "./typography.yBEME_Gu.js";
|
|
3
3
|
import { C as S } from "./cross-circle-fill.CYLL7jfC.js";
|
|
4
|
-
import { u as _ } from "./
|
|
4
|
+
import { u as _ } from "./index.pdBj0KQU.js";
|
|
5
5
|
import { _ as b } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
6
|
-
import { B as E } from "./info-icon.
|
|
6
|
+
import { B as E } from "./info-icon.BhOm72U4.js";
|
|
7
7
|
import "../assets/field-label.css";
|
|
8
8
|
const g = {
|
|
9
9
|
"en-US": {
|
|
@@ -155,4 +155,4 @@ export {
|
|
|
155
155
|
R as E,
|
|
156
156
|
U as F
|
|
157
157
|
};
|
|
158
|
-
//# sourceMappingURL=field-label.
|
|
158
|
+
//# sourceMappingURL=field-label.C97CrBI_.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-label.
|
|
1
|
+
{"version":3,"file":"field-label.C97CrBI_.js","sources":["../../../vue2/src/components/internal/error-message/error-message.vue","../../../vue2/src/components/internal/field-label/field-label.vue"],"sourcesContent":["<template>\n <bento-typography :id=\"$attrs.id\" class=\"b-error-message\" el=\"span\" aria-live=\"polite\">\n <div class=\"b-error-message__icon\">\n <cross-circle-icon :svg-title=\"t('error')\" />\n </div>\n {{ errorMessage }}\n </bento-typography>\n</template>\n\n<script setup lang=\"ts\">\n import { BentoTypography } from '@/components/typography';\n import CrossCircleIcon from '@adyen/ui-assets-icons-16/vue/cross-circle-fill';\n import { useI18n } from '@/utils/ts/i18n';\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n /**\n * An error message component should be used whenever it is necessary to add an error message to a component.\n * If adding to a form component, the proper accessibility measures should be taken when necessary\n * (ex. associating an element with this one using aria-describedby).\n\n * @example\n * import { ErrorMessage } from '@/components/internal/error-message';\n *\n * export default {\n * components: { ErrorMessage },\n * template: `\n * <error-message :error-message=\"errorMessage\" />\n * `\n * }\n */\n\n defineProps({\n /**\n * The rendered error message\n */\n errorMessage: {\n type: String,\n required: true,\n },\n });\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n</script>\n\n<script lang=\"ts\">\n export default {\n i18n: { messages },\n name: 'error-message',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./error-message.scss\" />\n","<template>\n <label class=\"b-field-label\" :class=\"conditionalClasses\">\n <bento-typography el=\"span\" stronger>\n <template v-if=\"label\">{{ label }}</template>\n <template v-else><slot></slot></template>\n </bento-typography>\n <bento-typography v-if=\"!!tooltipText\" el=\"span\" class=\"b-field-label__tooltip-wrapper\">\n <bento-info-icon :tooltip-text=\"tooltipText\" class=\"b-field-label__tooltip\" />\n </bento-typography>\n <bento-typography v-if=\"required\" class=\"b-field-label__requirement\" el=\"span\"\n >({{ t('required') }})</bento-typography\n >\n <bento-typography v-else-if=\"optional\" class=\"b-field-label__requirement\" el=\"span\"\n >({{ t('optional') }})</bento-typography\n >\n </label>\n</template>\n\n<script setup lang=\"ts\">\n import { BentoInfoIcon } from '@/components/info-icon';\n import { BentoTypography } from '@/components/typography';\n\n import { useI18n } from '@/utils/ts/i18n';\n\n import messages from './messages.json';\n import { computed } from 'vue';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const props = defineProps({\n /**\n * Renders the dropdown with a condensed style.\n */\n condensed: { type: Boolean, default: false },\n /**\n * Field label\n */\n label: {\n type: String,\n default: null,\n },\n /**\n * Sets the field as optional\n */\n optional: {\n type: Boolean,\n default: false,\n },\n /**\n * Sets the field as required\n */\n required: {\n type: Boolean,\n default: false,\n },\n /**\n * Adds a info icon next to the label to display the passed tooltip message.\n */\n tooltipText: {\n type: String,\n default: null,\n },\n });\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const conditionalClasses = computed(() => ({ 'b-field-label--condensed': props.condensed }));\n</script>\n\n<script lang=\"ts\">\n /**\n * Internal component to handle the labels for all field components\n\n * @example\n * import { FieldLabel } from '@/components/internal/field-label';\n *\n * export default {\n * components: { FieldLabel },\n * template: `\n * <field-label label=\"Label\" tooltip-text=\"Tooltip info\" required />\n * `\n * }\n */\n export default {\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./field-label.scss\" />\n"],"names":["__default__$1","messages$1","t","useI18n","__default__","messages","props","__props","conditionalClasses","computed"],"mappings":";;;;;;;;;;;;;;;;;2CA+CIA,IAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAAA,EACM,MAAA;AAErB;;;;;;;;;;;;AAPA,UAAA,EAAA,GAAAC,EAAA,IAAAC,EAAA,EAAA,UAAAF,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GCwCAG,IAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAEf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAxDA,UAAAC,IAAAC,GAmCA,EAAA,GAAAL,EAAA,IAAAC,EAAA,EAAA,UAAAE,EAAA,CAAA,GAEAG,IAAAC,EAAA,OAAA,EAAA,4BAAAH,EAAA,UAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { createElementBlock as x, openBlock as s, mergeProps as V, createCommentVNode as v, createElementVNode as m, toDisplayString as f, defineComponent as la, createBlock as k, unref as t, Transition as li, withCtx as y, renderSlot as
|
|
1
|
+
import { createElementBlock as x, openBlock as s, mergeProps as V, createCommentVNode as v, createElementVNode as m, toDisplayString as f, defineComponent as la, createBlock as k, unref as t, Transition as li, withCtx as y, renderSlot as $a, TransitionGroup as si, ref as I, onUnmounted as ci, onMounted as Ha, computed as h, watch as ha, normalizeClass as q, createVNode as O, resolveDynamicComponent as di, withDirectives as qa, createTextVNode as _, reactive as ba, toRef as xa, withKeys as _a, withModifiers as aa, Fragment as ja, renderList as ri, vShow as mi, nextTick as ui } from "vue";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import { _ as L } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
4
|
-
import { W as
|
|
5
|
-
import { B as vi } from "./alert.
|
|
4
|
+
import { W as Ba } from "./warning-filled.BMGD0G-_.js";
|
|
5
|
+
import { B as vi } from "./alert.C2pusd-_.js";
|
|
6
6
|
import { B as R, d as fi } from "./typography.yBEME_Gu.js";
|
|
7
|
-
import { u as sa } from "./
|
|
7
|
+
import { u as sa } from "./index.pdBj0KQU.js";
|
|
8
8
|
import { g as S } from "./generate-uid.NJ8tVoha.js";
|
|
9
|
-
import { i as
|
|
9
|
+
import { i as Za } from "./index.CWuzEfiV.js";
|
|
10
10
|
import { B as xi } from "./bin.DuHlEQBO.js";
|
|
11
11
|
import { C as gi } from "./checkmark-circle-fill._6-d40ru.js";
|
|
12
12
|
import { C as hi } from "./cross.B92GxFTY.js";
|
|
13
13
|
import { R as bi } from "./refresh.BB4ouvz_.js";
|
|
14
|
-
import { b as wi } from "./tooltip.
|
|
15
|
-
import { B as ga } from "./button.
|
|
14
|
+
import { b as wi } from "./tooltip.Dp9_ESm_.js";
|
|
15
|
+
import { B as ga } from "./button.DhcxX2GJ.js";
|
|
16
16
|
import { B as yi } from "./link.cwPmWlsk.js";
|
|
17
|
-
import { B as ki } from "./loading-indicator.
|
|
18
|
-
import { F as Ci, E as $i } from "./field-label.
|
|
17
|
+
import { B as ki } from "./loading-indicator.Db794TT5.js";
|
|
18
|
+
import { F as Ci, E as $i } from "./field-label.C97CrBI_.js";
|
|
19
19
|
import "../assets/file-uploader.css";
|
|
20
|
-
let
|
|
20
|
+
let za = 0;
|
|
21
21
|
const _i = {
|
|
22
22
|
beforeCreate() {
|
|
23
|
-
this.uuid =
|
|
23
|
+
this.uuid = za.toString(), za += 1;
|
|
24
24
|
}
|
|
25
25
|
}, ji = { key: 0 };
|
|
26
26
|
function zi(a, i, o, p, n, d) {
|
|
@@ -49,14 +49,14 @@ const Ri = /* @__PURE__ */ L(_i, [["render", zi]]), Ei = /* @__PURE__ */ la({
|
|
|
49
49
|
showFileIcon: { type: Boolean }
|
|
50
50
|
},
|
|
51
51
|
setup(a) {
|
|
52
|
-
return (i, o) => t(
|
|
52
|
+
return (i, o) => t(Za) ? (s(), k(li, {
|
|
53
53
|
key: 0,
|
|
54
54
|
name: i.name,
|
|
55
55
|
mode: "out-in",
|
|
56
56
|
css: i.showFileIcon
|
|
57
57
|
}, {
|
|
58
58
|
default: y(() => [
|
|
59
|
-
|
|
59
|
+
$a(i.$slots, "default")
|
|
60
60
|
]),
|
|
61
61
|
_: 3
|
|
62
62
|
}, 8, ["name", "css"])) : (s(), k(si, {
|
|
@@ -65,7 +65,7 @@ const Ri = /* @__PURE__ */ L(_i, [["render", zi]]), Ei = /* @__PURE__ */ la({
|
|
|
65
65
|
css: i.showFileIcon
|
|
66
66
|
}, {
|
|
67
67
|
default: y(() => [
|
|
68
|
-
|
|
68
|
+
$a(i.$slots, "default")
|
|
69
69
|
]),
|
|
70
70
|
_: 3
|
|
71
71
|
}, 8, ["name", "css"]));
|
|
@@ -79,7 +79,7 @@ function Ii(a, i) {
|
|
|
79
79
|
}
|
|
80
80
|
return ci(() => {
|
|
81
81
|
n();
|
|
82
|
-
}),
|
|
82
|
+
}), Ha(() => {
|
|
83
83
|
n(), p = new IntersectionObserver(
|
|
84
84
|
(d) => {
|
|
85
85
|
o.value = !d[0].isIntersecting;
|
|
@@ -91,12 +91,12 @@ function Ii(a, i) {
|
|
|
91
91
|
), p.observe(a.value.$el);
|
|
92
92
|
}), o;
|
|
93
93
|
}
|
|
94
|
-
const
|
|
95
|
-
function
|
|
96
|
-
const o = Math.max(0, Math.min(Math.floor(Math.log(i) / Math.log(1024)),
|
|
94
|
+
const Ra = ["byte", "kilobyte", "megabyte", "gigabyte", "terabyte", "petabyte"];
|
|
95
|
+
function Aa(a, i) {
|
|
96
|
+
const o = Math.max(0, Math.min(Math.floor(Math.log(i) / Math.log(1024)), Ra.length - 1));
|
|
97
97
|
return Intl.NumberFormat(a, {
|
|
98
98
|
style: "unit",
|
|
99
|
-
unit:
|
|
99
|
+
unit: Ra[o]
|
|
100
100
|
}).format(i / 1024 ** o);
|
|
101
101
|
}
|
|
102
102
|
var F = /* @__PURE__ */ ((a) => (a.LOADING = "loading", a.SUCCESS = "success", a.ERROR = "error", a))(F || {}), E = /* @__PURE__ */ ((a) => (a.ERROR_SIZE = "error-size", a.ERROR_LOAD = "error-load", a.ERROR_DIMENSIONS = "error-dimensions", a.ERROR_TYPE = "error-type", a))(E || {}), pa = /* @__PURE__ */ ((a) => (a.DISABLED = "disabled", a.DRAG_OVER = "drag-over", a.ERROR = "error", a.READONLY = "readonly", a))(pa || {}), b = /* @__PURE__ */ ((a) => (a.TABLE = "table", a.IMAGE = "image", a.VIDEO = "video", a.AUDIO = "audio", a.TEXT = "text", a.PDF = "pdf", a.SLIDES = "slides", a.COMPRESSED = "compressed", a.GENERIC = "generic", a))(b || {});
|
|
@@ -191,10 +191,10 @@ function Di(a, i, o) {
|
|
|
191
191
|
n.state = F.ERROR, n.errors.push(E.ERROR_LOAD), n.progress = null;
|
|
192
192
|
}, p.readAsArrayBuffer(n.data);
|
|
193
193
|
}
|
|
194
|
-
let
|
|
194
|
+
let Ea = 0;
|
|
195
195
|
const Oi = {
|
|
196
196
|
beforeCreate() {
|
|
197
|
-
this.uuid =
|
|
197
|
+
this.uuid = Ea.toString(), Ea += 1;
|
|
198
198
|
}
|
|
199
199
|
}, Hi = { key: 0 }, qi = ["clip-path"], Bi = ["id"];
|
|
200
200
|
function Zi(a, i, o, p, n, d) {
|
|
@@ -228,10 +228,10 @@ function Zi(a, i, o, p, n, d) {
|
|
|
228
228
|
], 16);
|
|
229
229
|
}
|
|
230
230
|
const Ai = /* @__PURE__ */ L(Oi, [["render", Zi]]);
|
|
231
|
-
let
|
|
231
|
+
let Ia = 0;
|
|
232
232
|
const Ui = {
|
|
233
233
|
beforeCreate() {
|
|
234
|
-
this.uuid =
|
|
234
|
+
this.uuid = Ia.toString(), Ia += 1;
|
|
235
235
|
}
|
|
236
236
|
}, Ni = { key: 0 };
|
|
237
237
|
function Pi(a, i, o, p, n, d) {
|
|
@@ -252,10 +252,10 @@ function Pi(a, i, o, p, n, d) {
|
|
|
252
252
|
], 16);
|
|
253
253
|
}
|
|
254
254
|
const Gi = /* @__PURE__ */ L(Ui, [["render", Pi]]);
|
|
255
|
-
let
|
|
255
|
+
let La = 0;
|
|
256
256
|
const Wi = {
|
|
257
257
|
beforeCreate() {
|
|
258
|
-
this.uuid =
|
|
258
|
+
this.uuid = La.toString(), La += 1;
|
|
259
259
|
}
|
|
260
260
|
}, Yi = { key: 0 };
|
|
261
261
|
function Xi(a, i, o, p, n, d) {
|
|
@@ -274,10 +274,10 @@ function Xi(a, i, o, p, n, d) {
|
|
|
274
274
|
], 16);
|
|
275
275
|
}
|
|
276
276
|
const Ji = /* @__PURE__ */ L(Wi, [["render", Xi]]);
|
|
277
|
-
let
|
|
277
|
+
let Ta = 0;
|
|
278
278
|
const Ki = {
|
|
279
279
|
beforeCreate() {
|
|
280
|
-
this.uuid =
|
|
280
|
+
this.uuid = Ta.toString(), Ta += 1;
|
|
281
281
|
}
|
|
282
282
|
}, Qi = { key: 0 };
|
|
283
283
|
function ae(a, i, o, p, n, d) {
|
|
@@ -304,10 +304,10 @@ function ae(a, i, o, p, n, d) {
|
|
|
304
304
|
], 16);
|
|
305
305
|
}
|
|
306
306
|
const ie = /* @__PURE__ */ L(Ki, [["render", ae]]);
|
|
307
|
-
let
|
|
307
|
+
let Ma = 0;
|
|
308
308
|
const ee = {
|
|
309
309
|
beforeCreate() {
|
|
310
|
-
this.uuid =
|
|
310
|
+
this.uuid = Ma.toString(), Ma += 1;
|
|
311
311
|
}
|
|
312
312
|
}, te = { key: 0 };
|
|
313
313
|
function ne(a, i, o, p, n, d) {
|
|
@@ -326,10 +326,10 @@ function ne(a, i, o, p, n, d) {
|
|
|
326
326
|
], 16);
|
|
327
327
|
}
|
|
328
328
|
const oe = /* @__PURE__ */ L(ee, [["render", ne]]);
|
|
329
|
-
let
|
|
329
|
+
let Sa = 0;
|
|
330
330
|
const pe = {
|
|
331
331
|
beforeCreate() {
|
|
332
|
-
this.uuid =
|
|
332
|
+
this.uuid = Sa.toString(), Sa += 1;
|
|
333
333
|
}
|
|
334
334
|
}, le = { key: 0 };
|
|
335
335
|
function se(a, i, o, p, n, d) {
|
|
@@ -352,10 +352,10 @@ function se(a, i, o, p, n, d) {
|
|
|
352
352
|
], 16);
|
|
353
353
|
}
|
|
354
354
|
const ce = /* @__PURE__ */ L(pe, [["render", se]]);
|
|
355
|
-
let
|
|
355
|
+
let Fa = 0;
|
|
356
356
|
const de = {
|
|
357
357
|
beforeCreate() {
|
|
358
|
-
this.uuid =
|
|
358
|
+
this.uuid = Fa.toString(), Fa += 1;
|
|
359
359
|
}
|
|
360
360
|
}, re = { key: 0 }, me = ["clip-path"], ue = ["id"];
|
|
361
361
|
function ve(a, i, o, p, n, d) {
|
|
@@ -388,10 +388,10 @@ function ve(a, i, o, p, n, d) {
|
|
|
388
388
|
], 16);
|
|
389
389
|
}
|
|
390
390
|
const fe = /* @__PURE__ */ L(de, [["render", ve]]);
|
|
391
|
-
let
|
|
391
|
+
let Va = 0;
|
|
392
392
|
const xe = {
|
|
393
393
|
beforeCreate() {
|
|
394
|
-
this.uuid =
|
|
394
|
+
this.uuid = Va.toString(), Va += 1;
|
|
395
395
|
}
|
|
396
396
|
}, ge = { key: 0 };
|
|
397
397
|
function he(a, i, o, p, n, d) {
|
|
@@ -418,10 +418,10 @@ function he(a, i, o, p, n, d) {
|
|
|
418
418
|
], 16);
|
|
419
419
|
}
|
|
420
420
|
const be = /* @__PURE__ */ L(xe, [["render", he]]);
|
|
421
|
-
let
|
|
421
|
+
let Da = 0;
|
|
422
422
|
const we = {
|
|
423
423
|
beforeCreate() {
|
|
424
|
-
this.uuid =
|
|
424
|
+
this.uuid = Da.toString(), Da += 1;
|
|
425
425
|
}
|
|
426
426
|
}, ye = { key: 0 };
|
|
427
427
|
function ke(a, i, o, p, n, d) {
|
|
@@ -467,7 +467,7 @@ function je(a) {
|
|
|
467
467
|
return "green";
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
const
|
|
470
|
+
const Ua = {
|
|
471
471
|
"en-US": {
|
|
472
472
|
cancel: "Cancel",
|
|
473
473
|
fileExceedsSizeLimit: "File exceeds size limit",
|
|
@@ -488,7 +488,7 @@ const Aa = {
|
|
|
488
488
|
}
|
|
489
489
|
}, ze = { class: "b-file-uploader-file-card__details" }, Re = { class: "b-file-uploader-file-card__info" }, Ee = ["id"], Ie = { class: "b-file-uploader-file-card__actions" }, Le = {
|
|
490
490
|
name: "file-uploader-file-card",
|
|
491
|
-
i18n: { messages:
|
|
491
|
+
i18n: { messages: Ua }
|
|
492
492
|
}, Te = /* @__PURE__ */ la({
|
|
493
493
|
...Le,
|
|
494
494
|
props: {
|
|
@@ -497,12 +497,12 @@ const Aa = {
|
|
|
497
497
|
},
|
|
498
498
|
emits: ["cancel", "remove", "retry"],
|
|
499
499
|
setup(a, { expose: i, emit: o }) {
|
|
500
|
-
const n = a, d = o, { t: l, locale: u } = sa({ messages:
|
|
500
|
+
const n = a, d = o, { t: l, locale: u } = sa({ messages: Ua }), w = I(null), r = I(null), z = I(null), B = S("file-errors-section"), Z = S("cancel-file-button"), P = S("remove-file-button"), g = S("retry-file-button"), H = I(n.file.state === F.SUCCESS), D = h(() => URL.createObjectURL(n.file.data)), A = h(() => n.file.state === F.ERROR), ea = h(() => n.file.errors.includes(E.ERROR_LOAD)), ta = h(() => n.file.errors.includes(E.ERROR_SIZE)), na = h(() => n.file.errors.includes(E.ERROR_DIMENSIONS)), Y = h(() => n.file.errors.includes(E.ERROR_TYPE)), U = h(() => n.file.state === F.LOADING), X = h(() => n.file.progress && `(${n.file.progress.toFixed(0)}%)`), ca = h(() => Aa(u.value, n.file.data.size)), J = I(), G = I(), da = Ii(J, G), K = h(() => ({
|
|
501
501
|
"b-file-uploader-file-card--error": A.value
|
|
502
502
|
})), ra = h(() => ({
|
|
503
503
|
[`b-file-uploader-file-card__icon--${je(n.file)}`]: H.value,
|
|
504
504
|
"b-file-uploader-file-card__icon--error": A.value
|
|
505
|
-
})), oa = h(() => U.value ? ki : A.value ?
|
|
505
|
+
})), oa = h(() => U.value ? ki : A.value ? Ba : H.value ? _e(n.file) : gi);
|
|
506
506
|
ha(
|
|
507
507
|
() => n.file.state,
|
|
508
508
|
(j) => {
|
|
@@ -535,7 +535,7 @@ const Aa = {
|
|
|
535
535
|
m("div", ze, [
|
|
536
536
|
m("div", Re, [
|
|
537
537
|
O(t(Ei), {
|
|
538
|
-
name: t(
|
|
538
|
+
name: t(Za) ? "b-file-uploader-file-card__animation" : "b-file-uploader-file-card__animation--vue3",
|
|
539
539
|
"show-file-icon": H.value
|
|
540
540
|
}, {
|
|
541
541
|
default: y(() => [
|
|
@@ -564,7 +564,7 @@ const Aa = {
|
|
|
564
564
|
variant: "quiet"
|
|
565
565
|
}, {
|
|
566
566
|
default: y(() => [
|
|
567
|
-
|
|
567
|
+
qa((s(), k(t(R), {
|
|
568
568
|
ref_key: "fileNameRef",
|
|
569
569
|
ref: J,
|
|
570
570
|
stronger: "",
|
|
@@ -689,7 +689,7 @@ const Aa = {
|
|
|
689
689
|
])
|
|
690
690
|
], 2));
|
|
691
691
|
}
|
|
692
|
-
}), Me = /* @__PURE__ */ L(Te, [["__scopeId", "data-v-
|
|
692
|
+
}), Me = /* @__PURE__ */ L(Te, [["__scopeId", "data-v-e2340e06"]]), Na = {
|
|
693
693
|
"en-US": {
|
|
694
694
|
maxFileSize: "Max file size: {size}",
|
|
695
695
|
maxImageDimensions: "Max image dimensions: {width} × {height}px",
|
|
@@ -699,7 +699,7 @@ const Aa = {
|
|
|
699
699
|
supportedFileTypes: "Supported file types: {list}"
|
|
700
700
|
}
|
|
701
701
|
}, Se = {
|
|
702
|
-
i18n: { messages:
|
|
702
|
+
i18n: { messages: Na }
|
|
703
703
|
}, Fe = /* @__PURE__ */ la({
|
|
704
704
|
...Se,
|
|
705
705
|
__name: "file-uploader-restrictions",
|
|
@@ -712,7 +712,7 @@ const Aa = {
|
|
|
712
712
|
supportedFileTypes: { default: null }
|
|
713
713
|
},
|
|
714
714
|
setup(a) {
|
|
715
|
-
const i = a, { t: o, tc: p, n, locale: d } = sa({ messages:
|
|
715
|
+
const i = a, { t: o, tc: p, n, locale: d } = sa({ messages: Na }), l = h(() => ({
|
|
716
716
|
"b-file-uploader-restrictions--condensed": i.condensed,
|
|
717
717
|
"b-file-uploader-restrictions--disabled": i.disabled
|
|
718
718
|
}));
|
|
@@ -746,7 +746,7 @@ const Aa = {
|
|
|
746
746
|
class: q(u(r.maxSize.error))
|
|
747
747
|
}, {
|
|
748
748
|
default: y(() => [
|
|
749
|
-
_(f(t(o)("maxFileSize", { size: t(
|
|
749
|
+
_(f(t(o)("maxFileSize", { size: t(Aa)(t(d), r.maxSize.value) })), 1)
|
|
750
750
|
]),
|
|
751
751
|
_: 1
|
|
752
752
|
}, 8, ["class"])) : v("", !0),
|
|
@@ -770,7 +770,7 @@ const Aa = {
|
|
|
770
770
|
}, 8, ["class"])) : v("", !0)
|
|
771
771
|
], 2));
|
|
772
772
|
}
|
|
773
|
-
}),
|
|
773
|
+
}), Oa = /* @__PURE__ */ L(Fe, [["__scopeId", "data-v-6ad327db"]]), Pa = {
|
|
774
774
|
"application/prs.cww": ["cww"],
|
|
775
775
|
"application/prs.xsf+xml": ["xsf"],
|
|
776
776
|
"application/vnd.1000minds.decision-model+xml": ["1km"],
|
|
@@ -1469,8 +1469,8 @@ const Aa = {
|
|
|
1469
1469
|
"video/x-smv": ["smv"],
|
|
1470
1470
|
"x-conference/x-cooltalk": ["ice"]
|
|
1471
1471
|
};
|
|
1472
|
-
Object.freeze(
|
|
1473
|
-
const
|
|
1472
|
+
Object.freeze(Pa);
|
|
1473
|
+
const Ga = {
|
|
1474
1474
|
"application/andrew-inset": ["ez"],
|
|
1475
1475
|
"application/appinstaller": ["appinstaller"],
|
|
1476
1476
|
"application/applixware": ["aw"],
|
|
@@ -1822,7 +1822,7 @@ const Pa = {
|
|
|
1822
1822
|
"video/quicktime": ["qt", "mov"],
|
|
1823
1823
|
"video/webm": ["webm"]
|
|
1824
1824
|
};
|
|
1825
|
-
Object.freeze(
|
|
1825
|
+
Object.freeze(Ga);
|
|
1826
1826
|
var M = function(a, i, o, p) {
|
|
1827
1827
|
if (o === "a" && !p) throw new TypeError("Private accessor was defined without a getter");
|
|
1828
1828
|
if (typeof i == "function" ? a !== i || !p : !i.has(a)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
@@ -1880,12 +1880,24 @@ class Ve {
|
|
|
1880
1880
|
}
|
|
1881
1881
|
}
|
|
1882
1882
|
W = /* @__PURE__ */ new WeakMap(), ia = /* @__PURE__ */ new WeakMap(), N = /* @__PURE__ */ new WeakMap();
|
|
1883
|
-
const
|
|
1883
|
+
const Wa = new Ve(Ga, Pa)._freeze(), wa = {
|
|
1884
|
+
"en-US": {
|
|
1885
|
+
audioFiles: "audio files",
|
|
1886
|
+
browseFiles: "Browse files",
|
|
1887
|
+
dropArea: "Drop area",
|
|
1888
|
+
dropFiles: "Drop file to upload | Drop files to upload",
|
|
1889
|
+
fileExceedsSizeLimit: "File exceeds size limit",
|
|
1890
|
+
imageFiles: "image files",
|
|
1891
|
+
tooManyFiles: "Too many files",
|
|
1892
|
+
videoFiles: "video files",
|
|
1893
|
+
youHaveExceededTheMaximum: "You have exceeded the maximum limit of {count} files. Please remove some files before proceeding."
|
|
1894
|
+
}
|
|
1895
|
+
};
|
|
1884
1896
|
function De(a) {
|
|
1885
|
-
return a.includes("/") ? `.${
|
|
1897
|
+
return a.includes("/") ? `.${Wa.getExtension(a).toUpperCase()}` : a.toUpperCase();
|
|
1886
1898
|
}
|
|
1887
1899
|
function Oe(a) {
|
|
1888
|
-
const { locale: i, t: o } = sa();
|
|
1900
|
+
const { locale: i, t: o } = sa({ messages: wa });
|
|
1889
1901
|
return { supportedFileTypeList: h(() => {
|
|
1890
1902
|
const n = new Intl.ListFormat(i.value, { style: "short", type: "unit" });
|
|
1891
1903
|
return a != null && a.value ? n.format(
|
|
@@ -1904,21 +1916,8 @@ function Oe(a) {
|
|
|
1904
1916
|
) : null;
|
|
1905
1917
|
}) };
|
|
1906
1918
|
}
|
|
1907
|
-
const Wa = {
|
|
1908
|
-
"en-US": {
|
|
1909
|
-
audioFiles: "audio files",
|
|
1910
|
-
browseFiles: "Browse files",
|
|
1911
|
-
dropArea: "Drop area",
|
|
1912
|
-
dropFiles: "Drop file to upload | Drop files to upload",
|
|
1913
|
-
fileExceedsSizeLimit: "File exceeds size limit",
|
|
1914
|
-
imageFiles: "image files",
|
|
1915
|
-
tooManyFiles: "Too many files",
|
|
1916
|
-
videoFiles: "video files",
|
|
1917
|
-
youHaveExceededTheMaximum: "You have exceeded the maximum limit of {count} files. Please remove some files before proceeding."
|
|
1918
|
-
}
|
|
1919
|
-
};
|
|
1920
1919
|
function He(a) {
|
|
1921
|
-
return
|
|
1920
|
+
return Wa.getType(a) ?? a;
|
|
1922
1921
|
}
|
|
1923
1922
|
function qe({ maxCount: a, accept: i }) {
|
|
1924
1923
|
const o = ba({
|
|
@@ -1956,7 +1955,7 @@ const Be = ["id", "accept", "disabled", "multiple"], Ze = ["id"], Ae = ["aria-la
|
|
|
1956
1955
|
"aria-hidden": "true"
|
|
1957
1956
|
}, Ne = { class: "b-file-uploader__files" }, Pe = {
|
|
1958
1957
|
model: { prop: "modelValue" },
|
|
1959
|
-
i18n: { messages:
|
|
1958
|
+
i18n: { messages: wa }
|
|
1960
1959
|
}, Ge = /* @__PURE__ */ la({
|
|
1961
1960
|
...Pe,
|
|
1962
1961
|
__name: "file-uploader",
|
|
@@ -1977,11 +1976,11 @@ const Be = ["id", "accept", "disabled", "multiple"], Ze = ["id"], Ae = ["aria-la
|
|
|
1977
1976
|
},
|
|
1978
1977
|
emits: ["change", "input", "update:modelValue", "error:upload"],
|
|
1979
1978
|
setup(a, { emit: i }) {
|
|
1980
|
-
const { t: o, tc: p, n } = sa({ messages:
|
|
1979
|
+
const { t: o, tc: p, n } = sa({ messages: wa }), d = i, l = a;
|
|
1981
1980
|
function u(e) {
|
|
1982
1981
|
return !!e && typeof e.length == "number" && typeof e.item == "function";
|
|
1983
1982
|
}
|
|
1984
|
-
|
|
1983
|
+
Ha(() => {
|
|
1985
1984
|
u(l.modelValue) || fi(
|
|
1986
1985
|
"BentoFileUploaderValue types: string | Array<string> | File | Array<File>",
|
|
1987
1986
|
"Use FileList instead.",
|
|
@@ -2056,7 +2055,7 @@ const Be = ["id", "accept", "disabled", "multiple"], Ze = ["id"], Ae = ["aria-la
|
|
|
2056
2055
|
}
|
|
2057
2056
|
A.value.focus();
|
|
2058
2057
|
}
|
|
2059
|
-
async function
|
|
2058
|
+
async function ya(e) {
|
|
2060
2059
|
g.value = g.value.filter(({ id: c }) => c !== e.id), await ua(), j(g.value);
|
|
2061
2060
|
}
|
|
2062
2061
|
function va(e) {
|
|
@@ -2074,7 +2073,7 @@ const Be = ["id", "accept", "disabled", "multiple"], Ze = ["id"], Ae = ["aria-la
|
|
|
2074
2073
|
var c;
|
|
2075
2074
|
((c = g.value) == null ? void 0 : c.length) === l.maxCount && e.preventDefault();
|
|
2076
2075
|
}
|
|
2077
|
-
async function
|
|
2076
|
+
async function ka(e) {
|
|
2078
2077
|
if (l.maxCount === 1 && e.length > l.maxCount) {
|
|
2079
2078
|
fa(), X();
|
|
2080
2079
|
return;
|
|
@@ -2100,11 +2099,11 @@ const Be = ["id", "accept", "disabled", "multiple"], Ze = ["id"], Ae = ["aria-la
|
|
|
2100
2099
|
}
|
|
2101
2100
|
async function ii(e) {
|
|
2102
2101
|
var c;
|
|
2103
|
-
l.disabled || (!U.invalidTypes && ((c = e.dataTransfer.files) != null && c.length) &&
|
|
2102
|
+
l.disabled || (!U.invalidTypes && ((c = e.dataTransfer.files) != null && c.length) && ka(e.dataTransfer.files), fa(), X());
|
|
2104
2103
|
}
|
|
2105
2104
|
async function ei() {
|
|
2106
2105
|
var e;
|
|
2107
|
-
(e = D.value.files) != null && e.length &&
|
|
2106
|
+
(e = D.value.files) != null && e.length && ka(D.value.files), D.value.value = "", await ua();
|
|
2108
2107
|
}
|
|
2109
2108
|
ha(
|
|
2110
2109
|
() => l.modelValue,
|
|
@@ -2132,7 +2131,7 @@ const Be = ["id", "accept", "disabled", "multiple"], Ze = ["id"], Ae = ["aria-la
|
|
|
2132
2131
|
);
|
|
2133
2132
|
if (c.length) {
|
|
2134
2133
|
const C = new DataTransfer();
|
|
2135
|
-
return c.forEach(({ data: $, id:
|
|
2134
|
+
return c.forEach(({ data: $, id: Ca }) => {
|
|
2136
2135
|
C.items.add($);
|
|
2137
2136
|
}), C.files;
|
|
2138
2137
|
}
|
|
@@ -2184,14 +2183,14 @@ const Be = ["id", "accept", "disabled", "multiple"], Ze = ["id"], Ae = ["aria-la
|
|
|
2184
2183
|
onDrop: aa(ii, ["stop", "prevent"]),
|
|
2185
2184
|
onDragover: ai,
|
|
2186
2185
|
onKeydownCapture: [
|
|
2187
|
-
c[1] || (c[1] =
|
|
2188
|
-
c[2] || (c[2] =
|
|
2186
|
+
c[1] || (c[1] = _a(aa(($) => D.value.click(), ["prevent"]), ["enter"])),
|
|
2187
|
+
c[2] || (c[2] = _a(aa(($) => D.value.click(), ["prevent"]), ["space"]))
|
|
2189
2188
|
]
|
|
2190
2189
|
}, [
|
|
2191
2190
|
m("div", Ue, [
|
|
2192
|
-
T.value ? (s(), k(t(
|
|
2191
|
+
T.value ? (s(), k(t(Ba), { key: 0 })) : (s(), k(t(Ri), { key: 1 }))
|
|
2193
2192
|
]),
|
|
2194
|
-
e.condensed ? v("", !0) : (s(), x(
|
|
2193
|
+
e.condensed ? v("", !0) : (s(), x(ja, { key: 0 }, [
|
|
2195
2194
|
O(t(R), {
|
|
2196
2195
|
id: t(B),
|
|
2197
2196
|
el: "span",
|
|
@@ -2214,7 +2213,7 @@ const Be = ["id", "accept", "disabled", "multiple"], Ze = ["id"], Ae = ["aria-la
|
|
|
2214
2213
|
]),
|
|
2215
2214
|
_: 1
|
|
2216
2215
|
}, 8, ["id"])) : v("", !0),
|
|
2217
|
-
O(t(
|
|
2216
|
+
O(t(Oa), V(J.value, { id: t(P) }), null, 16, ["id"])
|
|
2218
2217
|
], 64)),
|
|
2219
2218
|
O(t(R), {
|
|
2220
2219
|
id: t(r),
|
|
@@ -2245,7 +2244,7 @@ const Be = ["id", "accept", "disabled", "multiple"], Ze = ["id"], Ae = ["aria-la
|
|
|
2245
2244
|
]),
|
|
2246
2245
|
_: 1
|
|
2247
2246
|
}, 8, ["id"])) : v("", !0),
|
|
2248
|
-
e.condensed ? (s(), k(t(
|
|
2247
|
+
e.condensed ? (s(), k(t(Oa), V({ key: 3 }, J.value, { id: t(P) }), null, 16, ["id"])) : v("", !0),
|
|
2249
2248
|
Q.value ? (s(), k(t(vi), {
|
|
2250
2249
|
key: 4,
|
|
2251
2250
|
type: "critical"
|
|
@@ -2258,15 +2257,15 @@ const Be = ["id", "accept", "disabled", "multiple"], Ze = ["id"], Ae = ["aria-la
|
|
|
2258
2257
|
]),
|
|
2259
2258
|
_: 1
|
|
2260
2259
|
})) : v("", !0),
|
|
2261
|
-
|
|
2262
|
-
(s(!0), x(
|
|
2260
|
+
qa(m("div", Ne, [
|
|
2261
|
+
(s(!0), x(ja, null, ri(g.value, ($, Ca) => (s(), k(t(Me), {
|
|
2263
2262
|
ref_for: !0,
|
|
2264
|
-
ref: ma(
|
|
2263
|
+
ref: ma(Ca),
|
|
2265
2264
|
key: $.id,
|
|
2266
2265
|
file: $,
|
|
2267
2266
|
"supported-file-types": t(w),
|
|
2268
|
-
onCancel: (pi) =>
|
|
2269
|
-
onRemove: (pi) =>
|
|
2267
|
+
onCancel: (pi) => ya($),
|
|
2268
|
+
onRemove: (pi) => ya($)
|
|
2270
2269
|
}, null, 8, ["file", "supported-file-types", "onCancel", "onRemove"]))), 128))
|
|
2271
2270
|
], 512), [
|
|
2272
2271
|
[mi, (C = g.value) == null ? void 0 : C.length]
|
|
@@ -2278,4 +2277,4 @@ const Be = ["id", "accept", "disabled", "multiple"], Ze = ["id"], Ae = ["aria-la
|
|
|
2278
2277
|
export {
|
|
2279
2278
|
mt as f
|
|
2280
2279
|
};
|
|
2281
|
-
//# sourceMappingURL=file-uploader.
|
|
2280
|
+
//# sourceMappingURL=file-uploader.By0MTfKk.js.map
|