@adyen/bento-vue3 1.68.2 → 1.70.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 +1 -0
- package/dist/@types/index.d.ts +978 -1976
- 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/alert.css +1 -1
- package/dist/assets/base-button.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions-with-menu.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/checkbox-group.css +1 -1
- package/dist/assets/checkbox-input.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/chip.css +1 -1
- package/dist/assets/code-snippet.css +1 -1
- package/dist/assets/controls-group.css +1 -1
- package/dist/assets/copy.css +1 -1
- package/dist/assets/country.css +1 -1
- package/dist/assets/currency.css +1 -1
- package/dist/assets/dashed-underline.css +1 -1
- package/dist/assets/data-grid-template.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-picker.css +1 -1
- package/dist/assets/date-range-picker.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/divider.css +1 -1
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown-tag.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/empty-state.css +1 -1
- package/dist/assets/error-message.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/focus-trap.css +1 -1
- package/dist/assets/footer-actions.css +1 -1
- package/dist/assets/form-layout-title.css +1 -1
- package/dist/assets/grid-layout.css +1 -1
- package/dist/assets/header-meta.css +1 -1
- package/dist/assets/header-with-views.css +1 -1
- package/dist/assets/header.css +1 -1
- package/dist/assets/info-icon.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/layout-row.css +1 -1
- package/dist/assets/listbox-option-tag.css +1 -1
- package/dist/assets/loading-indicator.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/pagination.css +1 -1
- package/dist/assets/payment-method.css +1 -1
- package/dist/assets/popper-container.css +1 -1
- package/dist/assets/promo-banner.css +1 -1
- package/dist/assets/radio-group.css +1 -1
- package/dist/assets/radio-input.css +1 -1
- package/dist/assets/rich-text-editor.css +1 -1
- package/dist/assets/search-bar.css +1 -1
- package/dist/assets/secondary-nav.css +1 -1
- package/dist/assets/segmented-control.css +1 -1
- package/dist/assets/selection-card-group.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/status.css +1 -1
- package/dist/assets/step.css +1 -1
- package/dist/assets/structured-list-item.css +1 -1
- package/dist/assets/tab.css +1 -1
- package/dist/assets/tag.css +1 -1
- package/dist/assets/textarea.css +1 -1
- package/dist/assets/timeline-item.css +1 -1
- package/dist/assets/toast.css +1 -1
- package/dist/assets/toggle-button.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/typography.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/avatar.js +1 -1
- package/dist/button.js +9 -9
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chip.js +1 -1
- package/dist/chunks/{accordion-item.DOnW0OnU.js → accordion-item.6etqAJV9.js} +3 -3
- package/dist/chunks/accordion-item.6etqAJV9.js.map +1 -0
- package/dist/chunks/{action-bar.CflF49oL.js → action-bar.CweA2FeY.js} +7 -8
- package/dist/chunks/action-bar.CweA2FeY.js.map +1 -0
- package/dist/chunks/alert.Dzx5MzgE.js +171 -0
- package/dist/chunks/alert.Dzx5MzgE.js.map +1 -0
- package/dist/chunks/aria-label.CaUURpnB.js.map +1 -1
- package/dist/chunks/{avatar.B0-9jC6H.js → avatar.Dq59yj6m.js} +2 -2
- package/dist/chunks/avatar.Dq59yj6m.js.map +1 -0
- package/dist/chunks/{base-button.DdNFlbgH.js → base-button.CjYb5Y8k.js} +19 -19
- package/dist/chunks/base-button.CjYb5Y8k.js.map +1 -0
- package/dist/chunks/{base-modal.C3_r3rmc.js → base-modal.BrBcILSe.js} +21 -21
- package/dist/chunks/base-modal.BrBcILSe.js.map +1 -0
- package/dist/chunks/bin.DuHlEQBO.js +37 -0
- package/dist/chunks/bin.DuHlEQBO.js.map +1 -0
- package/dist/chunks/button-actions-with-menu.CBuoSd3w.js +93 -0
- package/dist/chunks/button-actions-with-menu.CBuoSd3w.js.map +1 -0
- package/dist/chunks/button-actions.types.BptAXjD8.js +8 -0
- package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -0
- package/dist/chunks/{button.AB0SOQMn.js → button.C-MAa6ut.js} +4 -4
- package/dist/chunks/button.C-MAa6ut.js.map +1 -0
- package/dist/chunks/{calendar._oPk_A1C.js → calendar.DFHiga9k.js} +36 -37
- package/dist/chunks/calendar.DFHiga9k.js.map +1 -0
- package/dist/chunks/{card.CS34Mi_G.js → card.BspLDcas.js} +6 -5
- package/dist/chunks/card.BspLDcas.js.map +1 -0
- package/dist/chunks/{checkbox-group.JRo6xNpe.js → checkbox-group.DIXgr1WQ.js} +6 -6
- package/dist/chunks/checkbox-group.DIXgr1WQ.js.map +1 -0
- package/dist/chunks/{checkbox-input.DFkwZ4GM.js → checkbox-input.BXNGT9U0.js} +2 -2
- package/dist/chunks/checkbox-input.BXNGT9U0.js.map +1 -0
- package/dist/chunks/{checkbox.DGrG3GN1.js → checkbox.M6lKj2hQ.js} +27 -27
- package/dist/chunks/checkbox.M6lKj2hQ.js.map +1 -0
- package/dist/chunks/{chip.CneNX2_j.js → chip.DcpP3zb6.js} +11 -11
- package/dist/chunks/chip.DcpP3zb6.js.map +1 -0
- package/dist/chunks/{code-snippet.D5M76Qy6.js → code-snippet.CKrxKjkQ.js} +8 -8
- package/dist/chunks/code-snippet.CKrxKjkQ.js.map +1 -0
- package/dist/chunks/{controls-group.CrzkSu0U.js → controls-group.CXVHTaYp.js} +32 -29
- package/dist/chunks/controls-group.CXVHTaYp.js.map +1 -0
- package/dist/chunks/{copy.RUoQOydT.js → copy.C4DAAiPw.js} +18 -19
- package/dist/chunks/copy.C4DAAiPw.js.map +1 -0
- package/dist/chunks/{country.Q95voxeL.js → country.RVvsGwuV.js} +9 -9
- package/dist/chunks/country.RVvsGwuV.js.map +1 -0
- package/dist/chunks/country.types.C0Q_hhgJ.js.map +1 -1
- package/dist/chunks/{currency.CZVdyZUH.js → currency.CN4UnCx8.js} +3 -3
- package/dist/chunks/currency.CN4UnCx8.js.map +1 -0
- package/dist/chunks/{dashboard-section.Bhd5Lsy2.js → dashboard-section.Cll3tn0q.js} +4 -4
- package/dist/chunks/{dashboard-section.Bhd5Lsy2.js.map → dashboard-section.Cll3tn0q.js.map} +1 -1
- package/dist/chunks/{dashed-underline.DkzQkpaf.js → dashed-underline.2OYxO-Rh.js} +30 -32
- package/dist/chunks/dashed-underline.2OYxO-Rh.js.map +1 -0
- package/dist/chunks/{data-grid-template.DSwj7e1E.js → data-grid-template.CTRHofoW.js} +5 -5
- package/dist/chunks/data-grid-template.CTRHofoW.js.map +1 -0
- package/dist/chunks/data-grid.DMOTTywp.js +3932 -0
- package/dist/chunks/data-grid.DMOTTywp.js.map +1 -0
- package/dist/chunks/{date-picker.CAoXTiZR.js → date-picker.CBlQ0ql7.js} +13 -14
- package/dist/chunks/date-picker.CBlQ0ql7.js.map +1 -0
- package/dist/chunks/date-range-picker.D-gGqpFB.js +1168 -0
- package/dist/chunks/date-range-picker.D-gGqpFB.js.map +1 -0
- package/dist/chunks/{date.DSjCnSgL.js → date.4GAXrgy5.js} +2 -2
- package/dist/chunks/{date.DSjCnSgL.js.map → date.4GAXrgy5.js.map} +1 -1
- package/dist/chunks/{dialog-page.C80HOigq.js → dialog-page.VSJgHY3C.js} +15 -15
- package/dist/chunks/dialog-page.VSJgHY3C.js.map +1 -0
- package/dist/chunks/{divider.qUOSAbU6.js → divider.DnKNNyWB.js} +2 -2
- package/dist/chunks/divider.DnKNNyWB.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.Ce5D3ipi.js → dropdown-default-textbox.CGsOngY1.js} +111 -109
- package/dist/chunks/dropdown-default-textbox.CGsOngY1.js.map +1 -0
- package/dist/chunks/dropdown-tag.DlFpUeXa.js +296 -0
- package/dist/chunks/dropdown-tag.DlFpUeXa.js.map +1 -0
- package/dist/chunks/{dropdown.CMOYmQLB.js → dropdown.agfzvJZE.js} +59 -59
- package/dist/chunks/dropdown.agfzvJZE.js.map +1 -0
- package/dist/chunks/{empty-state.D7llINgF.js → empty-state.BTaeZdQu.js} +4 -4
- package/dist/chunks/empty-state.BTaeZdQu.js.map +1 -0
- package/dist/chunks/{error-message.DHMHq9bR.js → error-message.B1P5ictH.js} +5 -5
- package/dist/chunks/{error-message.DHMHq9bR.js.map → error-message.B1P5ictH.js.map} +1 -1
- package/dist/chunks/es6.MoTTyETW.js +12 -0
- package/dist/chunks/es6.MoTTyETW.js.map +1 -0
- package/dist/chunks/events.CMzGybJJ.js +47 -0
- package/dist/chunks/events.CMzGybJJ.js.map +1 -0
- package/dist/chunks/{file-uploader.B_EI2fAc.js → file-uploader.Vac1Cu0i.js} +165 -164
- package/dist/chunks/file-uploader.Vac1Cu0i.js.map +1 -0
- package/dist/chunks/{filter-bar.DoHMLZ4O.js → filter-bar.uUpoP-XZ.js} +361 -368
- package/dist/chunks/filter-bar.uUpoP-XZ.js.map +1 -0
- package/dist/chunks/{fixed-scroller.D5nAPPbo.js → fixed-scroller.DSGxXiAH.js} +2 -2
- package/dist/chunks/{fixed-scroller.D5nAPPbo.js.map → fixed-scroller.DSGxXiAH.js.map} +1 -1
- package/dist/chunks/{focus-trap.CljZgv9i.js → focus-trap.rjp24a37.js} +2 -2
- package/dist/chunks/focus-trap.rjp24a37.js.map +1 -0
- package/dist/chunks/{footer-actions.Bje-DDqw.js → footer-actions.gRKTKGts.js} +5 -5
- package/dist/chunks/footer-actions.gRKTKGts.js.map +1 -0
- package/dist/chunks/{form-layout-title.rpIO-I9A.js → form-layout-title.DdRqnXXi.js} +5 -5
- package/dist/chunks/form-layout-title.DdRqnXXi.js.map +1 -0
- package/dist/chunks/{grid-layout.BTLE3rac.js → grid-layout.DDaRNz4-.js} +2 -2
- package/dist/chunks/grid-layout.DDaRNz4-.js.map +1 -0
- package/dist/chunks/{header-meta.Yt43-cUI.js → header-meta.Ct79L1O8.js} +26 -27
- package/dist/chunks/{header-meta.Yt43-cUI.js.map → header-meta.Ct79L1O8.js.map} +1 -1
- package/dist/chunks/{header-with-views.BUed3ocZ.js → header-with-views.BVHdSAKp.js} +281 -281
- package/dist/chunks/header-with-views.BVHdSAKp.js.map +1 -0
- package/dist/chunks/{header.CwKjDgKv.js → header.Cd1P8lYK.js} +32 -32
- package/dist/chunks/header.Cd1P8lYK.js.map +1 -0
- package/dist/chunks/image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js.map +1 -1
- package/dist/chunks/{info-icon.DprUQ9fj.js → info-icon.Bl0iKUfC.js} +7 -8
- package/dist/chunks/info-icon.Bl0iKUfC.js.map +1 -0
- package/dist/chunks/info.BKwey1HA.js +44 -0
- package/dist/chunks/info.BKwey1HA.js.map +1 -0
- package/dist/chunks/{input-field-password.DN0Jro1V.js → input-field-password.DkIWrrxy.js} +8 -8
- package/dist/chunks/input-field-password.DkIWrrxy.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.BhPsrafR.js → input-field-phone-number.EXlRu8qq.js} +46 -45
- package/dist/chunks/{input-field-phone-number.BhPsrafR.js.map → input-field-phone-number.EXlRu8qq.js.map} +1 -1
- package/dist/chunks/{input-field.su5Cq8Dt.js → input-field.CgbiOju9.js} +5 -5
- package/dist/chunks/input-field.CgbiOju9.js.map +1 -0
- package/dist/chunks/{inspector.CoZCPfHC.js → inspector.BGtTMtE0.js} +13 -13
- package/dist/chunks/inspector.BGtTMtE0.js.map +1 -0
- package/dist/chunks/{keyboard-navigation.CqgGzfZQ.js → keyboard-navigation.pB8weElW.js} +2 -2
- package/dist/chunks/keyboard-navigation.pB8weElW.js.map +1 -0
- package/dist/chunks/{layout-row.CZNtHaXd.js → layout-row.BPfOPn4x.js} +9 -9
- package/dist/chunks/layout-row.BPfOPn4x.js.map +1 -0
- package/dist/chunks/{link.BBpxiclu.js → link.cwPmWlsk.js} +2 -2
- package/dist/chunks/{link.BBpxiclu.js.map → link.cwPmWlsk.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.0BK6jWO9.js → listbox-option-tag.CDIkX7nh.js} +7 -7
- package/dist/chunks/listbox-option-tag.CDIkX7nh.js.map +1 -0
- package/dist/chunks/{loading-indicator.DEepb9Wl.js → loading-indicator.VHi5tbZa.js} +3 -3
- package/dist/chunks/loading-indicator.VHi5tbZa.js.map +1 -0
- package/dist/chunks/minus-small.DYIyF5XW.js.map +1 -1
- package/dist/chunks/{modal-fullscreen.DBTnoSX9.js → modal-fullscreen.-Q-7GMyT.js} +18 -19
- package/dist/chunks/modal-fullscreen.-Q-7GMyT.js.map +1 -0
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.Cd-mQUJ8.js → modal.vue_vue_type_script_setup_true_lang.TFh7p51f.js} +6 -6
- package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.TFh7p51f.js.map +1 -0
- package/dist/chunks/{pagination.fYQak4C8.js → pagination.DW_HPEIu.js} +5 -5
- package/dist/chunks/pagination.DW_HPEIu.js.map +1 -0
- package/dist/chunks/{payment-method.eazefwm6.js → payment-method.CDnn1bjo.js} +3 -3
- package/dist/chunks/payment-method.CDnn1bjo.js.map +1 -0
- package/dist/chunks/popover.types.COM6oQgq.js +6 -0
- package/dist/chunks/popover.types.COM6oQgq.js.map +1 -0
- package/dist/chunks/{popper-container.b5h4zYgT.js → popper-container.CgJzEQ7N.js} +285 -281
- package/dist/chunks/popper-container.CgJzEQ7N.js.map +1 -0
- package/dist/chunks/{promo-banner.CQp3z2CP.js → promo-banner.BbqIA4Ce.js} +4 -4
- package/dist/chunks/promo-banner.BbqIA4Ce.js.map +1 -0
- package/dist/chunks/{radio-group.H9A5QcNu.js → radio-group.CbLIPi7h.js} +77 -69
- package/dist/chunks/radio-group.CbLIPi7h.js.map +1 -0
- package/dist/chunks/{radio-input.DKfQGxtp.js → radio-input.odN9FOyr.js} +2 -2
- package/dist/chunks/radio-input.odN9FOyr.js.map +1 -0
- package/dist/chunks/{rich-text-editor.Dx78coVL.js → rich-text-editor.C0hJeV4H.js} +8 -8
- package/dist/chunks/rich-text-editor.C0hJeV4H.js.map +1 -0
- package/dist/chunks/{search-bar.CUrcP_wf.js → search-bar.CvAi2t3-.js} +46 -44
- package/dist/chunks/search-bar.CvAi2t3-.js.map +1 -0
- package/dist/chunks/{secondary-nav.j3ddtYoZ.js → secondary-nav.yntS8-u5.js} +28 -28
- package/dist/chunks/secondary-nav.yntS8-u5.js.map +1 -0
- package/dist/chunks/{segmented-control.5-vlm8Gt.js → segmented-control.CRSdIvha.js} +6 -7
- package/dist/chunks/segmented-control.CRSdIvha.js.map +1 -0
- package/dist/chunks/{selection-card-group.B4xpnd-z.js → selection-card-group.Cu3V8h4R.js} +16 -16
- package/dist/chunks/selection-card-group.Cu3V8h4R.js.map +1 -0
- package/dist/chunks/{sidepanel.DPN__L3Q.js → sidepanel.z18XSO3M.js} +14 -14
- package/dist/chunks/sidepanel.z18XSO3M.js.map +1 -0
- package/dist/chunks/{status.types.Bdv2zuuh.js → status.types.-l2qJxLn.js} +9 -9
- package/dist/chunks/status.types.-l2qJxLn.js.map +1 -0
- package/dist/chunks/{step.BtNhPZAf.js → step.BMSjltwl.js} +8 -9
- package/dist/chunks/step.BMSjltwl.js.map +1 -0
- package/dist/chunks/{structured-list-item.BQbEDKhg.js → structured-list-item.CD1nMqzH.js} +18 -19
- package/dist/chunks/structured-list-item.CD1nMqzH.js.map +1 -0
- package/dist/chunks/{summary-grid.types.CjbbSZBJ.js → summary-grid.types.BHuDlPDw.js} +7 -7
- package/dist/chunks/{summary-grid.types.CjbbSZBJ.js.map → summary-grid.types.BHuDlPDw.js.map} +1 -1
- package/dist/chunks/{tab.CAt51ksU.js → tab.C3R_VoJL.js} +5 -5
- package/dist/chunks/tab.C3R_VoJL.js.map +1 -0
- package/dist/chunks/{tag.D3in0-Bp.js → tag.B6AmSws9.js} +11 -12
- package/dist/chunks/tag.B6AmSws9.js.map +1 -0
- package/dist/chunks/textarea.DfQLxj_w.js +295 -0
- package/dist/chunks/textarea.DfQLxj_w.js.map +1 -0
- package/dist/chunks/timeline-item.25y9USE-.js +568 -0
- package/dist/chunks/timeline-item.25y9USE-.js.map +1 -0
- package/dist/chunks/{toast.CSoCPteL.js → toast.DIhABAW8.js} +18 -18
- package/dist/chunks/toast.DIhABAW8.js.map +1 -0
- package/dist/chunks/toggle-button.CQl9HneO.js +1353 -0
- package/dist/chunks/toggle-button.CQl9HneO.js.map +1 -0
- package/dist/chunks/{toggle.BuKXexA6.js → toggle.C8k7NQ7y.js} +3 -3
- package/dist/chunks/toggle.C8k7NQ7y.js.map +1 -0
- package/dist/chunks/{tooltip.VYPUHERk.js → tooltip.lBnko9QV.js} +70 -64
- package/dist/chunks/tooltip.lBnko9QV.js.map +1 -0
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.Dmf8fGaM.js → tutorial.vue_vue_type_script_setup_true_lang.BProZFmI.js} +48 -51
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.BProZFmI.js.map +1 -0
- package/dist/chunks/{typography.DN5eC5ch.js → typography.yBEME_Gu.js} +25 -25
- package/dist/chunks/typography.yBEME_Gu.js.map +1 -0
- package/dist/chunks/{use-bento-toast-controller.D3LA1FCd.js → use-bento-toast-controller.Kri_h7jS.js} +2 -2
- package/dist/chunks/{use-bento-toast-controller.D3LA1FCd.js.map → use-bento-toast-controller.Kri_h7jS.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.Dyoz6cUK.js → use-cached-selected-values.CELe-MsT.js} +16 -17
- package/dist/chunks/use-cached-selected-values.CELe-MsT.js.map +1 -0
- package/dist/chunks/{use-country-items.Duh4bMqW.js → use-country-items.D_kamcYy.js} +2 -2
- package/dist/chunks/use-country-items.D_kamcYy.js.map +1 -0
- package/dist/chunks/{use-country-phon-code.BOaJ9PDl.js → use-country-phon-code.Bui3zD6W.js} +5 -3
- package/dist/chunks/{use-country-phon-code.BOaJ9PDl.js.map → use-country-phon-code.Bui3zD6W.js.map} +1 -1
- package/dist/chunks/use-has-slot.B7eQSabc.js.map +1 -1
- package/dist/chunks/warning-filled.BMGD0G-_.js +29 -0
- package/dist/chunks/warning-filled.BMGD0G-_.js.map +1 -0
- package/dist/code-snippet.js +1 -1
- package/dist/country.js +2 -2
- package/dist/currency.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +4 -4
- package/dist/empty-state.js +1 -1
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +1 -1
- package/dist/header-with-views.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +241 -244
- 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 +3 -2
- package/dist/input-field.js +1 -1
- package/dist/inspector.js +1 -1
- package/dist/internal.js +33 -32
- package/dist/internal.js.map +1 -1
- package/dist/layout.js +1 -1
- package/dist/link.js +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/payment-method.js +1 -1
- package/dist/popover.js +2 -2
- package/dist/popper-container.js +4 -5
- package/dist/popper-container.js.map +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/radio-group.js +2 -2
- package/dist/rich-text-editor.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/status.js +1 -1
- package/dist/stepper.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +17 -4
- package/dist/styles/bento-light.css +17 -4
- package/dist/styles/bento.css +17 -4
- package/dist/styles/styleguide.css +17 -4
- package/dist/styles/utility.css +3 -0
- package/dist/summary-grid.js +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/typography.js +1 -1
- package/dist/use-form-v4.js.map +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +6 -6
- package/dist/assets/button-actions.css +0 -1
- package/dist/assets/menu.css +0 -1
- package/dist/assets/popover.css +0 -1
- package/dist/assets/teleport.css +0 -1
- package/dist/chunks/accordion-item.DOnW0OnU.js.map +0 -1
- package/dist/chunks/action-bar.CflF49oL.js.map +0 -1
- package/dist/chunks/alert.DvleqX0i.js +0 -169
- package/dist/chunks/alert.DvleqX0i.js.map +0 -1
- package/dist/chunks/avatar.B0-9jC6H.js.map +0 -1
- package/dist/chunks/base-button.DdNFlbgH.js.map +0 -1
- package/dist/chunks/base-modal.C3_r3rmc.js.map +0 -1
- package/dist/chunks/base-modal.keys.C2PQXcE2.js +0 -5
- package/dist/chunks/base-modal.keys.C2PQXcE2.js.map +0 -1
- package/dist/chunks/bin.CiGG2V4b.js +0 -37
- package/dist/chunks/bin.CiGG2V4b.js.map +0 -1
- package/dist/chunks/button-actions-with-menu.8ZYh7-9s.js +0 -91
- package/dist/chunks/button-actions-with-menu.8ZYh7-9s.js.map +0 -1
- package/dist/chunks/button-actions.CZdO9YOk.js +0 -264
- package/dist/chunks/button-actions.CZdO9YOk.js.map +0 -1
- package/dist/chunks/button.AB0SOQMn.js.map +0 -1
- package/dist/chunks/calendar._oPk_A1C.js.map +0 -1
- package/dist/chunks/card.CS34Mi_G.js.map +0 -1
- package/dist/chunks/checkbox-group.JRo6xNpe.js.map +0 -1
- package/dist/chunks/checkbox-input.DFkwZ4GM.js.map +0 -1
- package/dist/chunks/checkbox.DGrG3GN1.js.map +0 -1
- package/dist/chunks/chip.CneNX2_j.js.map +0 -1
- package/dist/chunks/code-snippet.D5M76Qy6.js.map +0 -1
- package/dist/chunks/controls-group.CrzkSu0U.js.map +0 -1
- package/dist/chunks/copy.RUoQOydT.js.map +0 -1
- package/dist/chunks/country.Q95voxeL.js.map +0 -1
- package/dist/chunks/currency.CZVdyZUH.js.map +0 -1
- package/dist/chunks/dashed-underline.DkzQkpaf.js.map +0 -1
- package/dist/chunks/data-grid-template.DSwj7e1E.js.map +0 -1
- package/dist/chunks/data-grid.BEdELRNZ.js +0 -3860
- package/dist/chunks/data-grid.BEdELRNZ.js.map +0 -1
- package/dist/chunks/date-picker.CAoXTiZR.js.map +0 -1
- package/dist/chunks/date-range-picker.DtV4L3L6.js +0 -1225
- package/dist/chunks/date-range-picker.DtV4L3L6.js.map +0 -1
- package/dist/chunks/dialog-page.C80HOigq.js.map +0 -1
- package/dist/chunks/divider.qUOSAbU6.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.Ce5D3ipi.js.map +0 -1
- package/dist/chunks/dropdown-tag.B3fptORX.js +0 -230
- package/dist/chunks/dropdown-tag.B3fptORX.js.map +0 -1
- package/dist/chunks/dropdown.CMOYmQLB.js.map +0 -1
- package/dist/chunks/empty-state.D7llINgF.js.map +0 -1
- package/dist/chunks/es6.n1ewaW31.js +0 -11
- package/dist/chunks/es6.n1ewaW31.js.map +0 -1
- package/dist/chunks/events.FNmSWp_P.js +0 -52
- package/dist/chunks/events.FNmSWp_P.js.map +0 -1
- package/dist/chunks/file-uploader.B_EI2fAc.js.map +0 -1
- package/dist/chunks/filter-bar.DoHMLZ4O.js.map +0 -1
- package/dist/chunks/focus-trap.CljZgv9i.js.map +0 -1
- package/dist/chunks/footer-actions.Bje-DDqw.js.map +0 -1
- package/dist/chunks/form-layout-title.rpIO-I9A.js.map +0 -1
- package/dist/chunks/grid-layout.BTLE3rac.js.map +0 -1
- package/dist/chunks/header-with-views.BUed3ocZ.js.map +0 -1
- package/dist/chunks/header.CwKjDgKv.js.map +0 -1
- package/dist/chunks/info-icon.DprUQ9fj.js.map +0 -1
- package/dist/chunks/info.DcTs-Bzp.js +0 -44
- package/dist/chunks/info.DcTs-Bzp.js.map +0 -1
- package/dist/chunks/input-field-password.DN0Jro1V.js.map +0 -1
- package/dist/chunks/input-field.su5Cq8Dt.js.map +0 -1
- package/dist/chunks/inspector.CoZCPfHC.js.map +0 -1
- package/dist/chunks/keyboard-navigation.CqgGzfZQ.js.map +0 -1
- package/dist/chunks/layout-row.CZNtHaXd.js.map +0 -1
- package/dist/chunks/listbox-option-tag.0BK6jWO9.js.map +0 -1
- package/dist/chunks/loading-indicator.DEepb9Wl.js.map +0 -1
- package/dist/chunks/menu.EtjeOPXX.js +0 -680
- package/dist/chunks/menu.EtjeOPXX.js.map +0 -1
- package/dist/chunks/modal-fullscreen.DBTnoSX9.js.map +0 -1
- package/dist/chunks/modal-fullscreen.keys.CMba3hYp.js +0 -5
- package/dist/chunks/modal-fullscreen.keys.CMba3hYp.js.map +0 -1
- package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.Cd-mQUJ8.js.map +0 -1
- package/dist/chunks/pagination.fYQak4C8.js.map +0 -1
- package/dist/chunks/payment-method.eazefwm6.js.map +0 -1
- package/dist/chunks/popover.DYgCCUCJ.js +0 -200
- package/dist/chunks/popover.DYgCCUCJ.js.map +0 -1
- package/dist/chunks/popover.types.V8old-GW.js +0 -6
- package/dist/chunks/popover.types.V8old-GW.js.map +0 -1
- package/dist/chunks/popper-container.b5h4zYgT.js.map +0 -1
- package/dist/chunks/popper-container.types.BCZMbVFD.js +0 -9
- package/dist/chunks/popper-container.types.BCZMbVFD.js.map +0 -1
- package/dist/chunks/promo-banner.CQp3z2CP.js.map +0 -1
- package/dist/chunks/radio-group.H9A5QcNu.js.map +0 -1
- package/dist/chunks/radio-input.DKfQGxtp.js.map +0 -1
- package/dist/chunks/rich-text-editor.Dx78coVL.js.map +0 -1
- package/dist/chunks/search-bar.CUrcP_wf.js.map +0 -1
- package/dist/chunks/secondary-nav.j3ddtYoZ.js.map +0 -1
- package/dist/chunks/segmented-control.5-vlm8Gt.js.map +0 -1
- package/dist/chunks/selection-card-group.B4xpnd-z.js.map +0 -1
- package/dist/chunks/sidepanel.DPN__L3Q.js.map +0 -1
- package/dist/chunks/sidepanel.keys.R0DKQuYx.js +0 -5
- package/dist/chunks/sidepanel.keys.R0DKQuYx.js.map +0 -1
- package/dist/chunks/status.types.Bdv2zuuh.js.map +0 -1
- package/dist/chunks/step.BtNhPZAf.js.map +0 -1
- package/dist/chunks/structured-list-item.BQbEDKhg.js.map +0 -1
- package/dist/chunks/tab.CAt51ksU.js.map +0 -1
- package/dist/chunks/tag.D3in0-Bp.js.map +0 -1
- package/dist/chunks/teleport.CfGWjxe2.js +0 -129
- package/dist/chunks/teleport.CfGWjxe2.js.map +0 -1
- package/dist/chunks/textarea.BBhN67-I.js +0 -282
- package/dist/chunks/textarea.BBhN67-I.js.map +0 -1
- package/dist/chunks/timeline-item.CuCII37W.js +0 -566
- package/dist/chunks/timeline-item.CuCII37W.js.map +0 -1
- package/dist/chunks/toast.CSoCPteL.js.map +0 -1
- package/dist/chunks/toggle-button.NQwrfSr1.js +0 -80
- package/dist/chunks/toggle-button.NQwrfSr1.js.map +0 -1
- package/dist/chunks/toggle.BuKXexA6.js.map +0 -1
- package/dist/chunks/tooltip.VYPUHERk.js.map +0 -1
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.Dmf8fGaM.js.map +0 -1
- package/dist/chunks/typography.DN5eC5ch.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.Dyoz6cUK.js.map +0 -1
- package/dist/chunks/use-click-outside.BnhTgpSt.js +0 -14
- package/dist/chunks/use-click-outside.BnhTgpSt.js.map +0 -1
- package/dist/chunks/use-country-items.Duh4bMqW.js.map +0 -1
- package/dist/chunks/warning-filled.AiUbXzzg.js +0 -29
- package/dist/chunks/warning-filled.AiUbXzzg.js.map +0 -1
- package/dist/styles/legacy.css +0 -2226
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
import { createElementBlock as x, openBlock as s, mergeProps 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 Ca, TransitionGroup as si, ref as I, onUnmounted as ci, onMounted as Oa, computed as h, watch as ha, normalizeClass as q, createVNode as O, resolveDynamicComponent as di, withDirectives as Ha, createTextVNode as _, reactive as ba, toRef as xa, withKeys as $a, withModifiers as aa, Fragment as _a, 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 qa } from "./warning-filled.
|
|
5
|
-
import { B as vi } from "./alert.
|
|
6
|
-
import { B as R, d as fi } from "./typography.
|
|
4
|
+
import { W as qa } from "./warning-filled.BMGD0G-_.js";
|
|
5
|
+
import { B as vi } from "./alert.Dzx5MzgE.js";
|
|
6
|
+
import { B as R, d as fi } from "./typography.yBEME_Gu.js";
|
|
7
7
|
import { u as sa } from "./i18n.B6g5VX0q.js";
|
|
8
8
|
import { g as S } from "./generate-uid.NJ8tVoha.js";
|
|
9
9
|
import { i as Ba } from "./index.CWuzEfiV.js";
|
|
10
|
-
import { B as xi } from "./bin.
|
|
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 "./
|
|
15
|
-
import { B as
|
|
16
|
-
import { B as
|
|
17
|
-
import { B as
|
|
18
|
-
import {
|
|
19
|
-
import { F as Ci, E as $i } from "./error-message.DHMHq9bR.js";
|
|
14
|
+
import { b as wi } from "./tooltip.lBnko9QV.js";
|
|
15
|
+
import { B as ga } from "./button.C-MAa6ut.js";
|
|
16
|
+
import { B as yi } from "./link.cwPmWlsk.js";
|
|
17
|
+
import { B as ki } from "./loading-indicator.VHi5tbZa.js";
|
|
18
|
+
import { F as Ci, E as $i } from "./error-message.B1P5ictH.js";
|
|
20
19
|
import "../assets/file-uploader.css";
|
|
21
20
|
let ja = 0;
|
|
22
21
|
const _i = {
|
|
@@ -25,7 +24,7 @@ const _i = {
|
|
|
25
24
|
}
|
|
26
25
|
}, ji = { key: 0 };
|
|
27
26
|
function zi(a, i, o, p, n, d) {
|
|
28
|
-
return s(), x("svg",
|
|
27
|
+
return s(), x("svg", V({ role: "img" }, a.$attrs, {
|
|
29
28
|
class: "ui-assets-icons-16",
|
|
30
29
|
xmlns: "http://www.w3.org/2000/svg",
|
|
31
30
|
width: "16",
|
|
@@ -35,11 +34,11 @@ function zi(a, i, o, p, n, d) {
|
|
|
35
34
|
a.$attrs["svg-title"] ? (s(), x("title", ji, f(a.$attrs["svg-title"]), 1)) : v("", !0),
|
|
36
35
|
i[0] || (i[0] = m("path", {
|
|
37
36
|
fill: "#001222",
|
|
38
|
-
d: "
|
|
37
|
+
d: "M2.75 12C2.75 12.6904 3.30964 13.25 4 13.25H12C12.6904 13.25 13.25 12.6904 13.25 12V10.25H14.75V12C14.75 13.5188 13.5188 14.75 12 14.75H4C2.48122 14.75 1.25 13.5188 1.25 12V10.25H2.75V12Z"
|
|
39
38
|
}, null, -1)),
|
|
40
39
|
i[1] || (i[1] = m("path", {
|
|
41
40
|
fill: "#001222",
|
|
42
|
-
d: "
|
|
41
|
+
d: "M12.0605 5L11 6.06055L8.75 3.81055V11.75H7.25V3.81055L5 6.06055L3.93945 5L8 0.939453L12.0605 5Z"
|
|
43
42
|
}, null, -1))
|
|
44
43
|
], 16);
|
|
45
44
|
}
|
|
@@ -50,22 +49,22 @@ const Ri = /* @__PURE__ */ L(_i, [["render", zi]]), Ei = /* @__PURE__ */ la({
|
|
|
50
49
|
showFileIcon: { type: Boolean }
|
|
51
50
|
},
|
|
52
51
|
setup(a) {
|
|
53
|
-
return (i, o) => t(Ba) ? (s(),
|
|
52
|
+
return (i, o) => t(Ba) ? (s(), k(li, {
|
|
54
53
|
key: 0,
|
|
55
54
|
name: i.name,
|
|
56
55
|
mode: "out-in",
|
|
57
56
|
css: i.showFileIcon
|
|
58
57
|
}, {
|
|
59
|
-
default:
|
|
58
|
+
default: y(() => [
|
|
60
59
|
Ca(i.$slots, "default")
|
|
61
60
|
]),
|
|
62
61
|
_: 3
|
|
63
|
-
}, 8, ["name", "css"])) : (s(),
|
|
62
|
+
}, 8, ["name", "css"])) : (s(), k(si, {
|
|
64
63
|
key: 1,
|
|
65
64
|
name: i.name,
|
|
66
65
|
css: i.showFileIcon
|
|
67
66
|
}, {
|
|
68
|
-
default:
|
|
67
|
+
default: y(() => [
|
|
69
68
|
Ca(i.$slots, "default")
|
|
70
69
|
]),
|
|
71
70
|
_: 3
|
|
@@ -100,7 +99,7 @@ function Za(a, i) {
|
|
|
100
99
|
unit: za[o]
|
|
101
100
|
}).format(i / 1024 ** o);
|
|
102
101
|
}
|
|
103
|
-
var
|
|
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 || {});
|
|
104
103
|
const Li = [
|
|
105
104
|
"application/msword",
|
|
106
105
|
// .doc
|
|
@@ -150,10 +149,10 @@ const Li = [
|
|
|
150
149
|
"application/vnd.ms-cab-compressed"
|
|
151
150
|
// .cab
|
|
152
151
|
];
|
|
153
|
-
function
|
|
154
|
-
return Ti.includes(a.type) ?
|
|
152
|
+
function Fi(a) {
|
|
153
|
+
return Ti.includes(a.type) ? b.TABLE : a.type.startsWith("text/") || Li.includes(a.type) ? b.TEXT : a.type.startsWith("image/") ? b.IMAGE : a.type.startsWith("video/") ? b.VIDEO : a.type.startsWith("audio/") ? b.AUDIO : a.type === "application/pdf" ? b.PDF : Mi.includes(a.type) ? b.SLIDES : Si.includes(a.type) ? b.COMPRESSED : b.GENERIC;
|
|
155
154
|
}
|
|
156
|
-
function
|
|
155
|
+
function Vi(a, i) {
|
|
157
156
|
if (!i)
|
|
158
157
|
return !0;
|
|
159
158
|
const o = i.split(",").map((p) => p.trim());
|
|
@@ -171,25 +170,25 @@ function Fi(a, i) {
|
|
|
171
170
|
}
|
|
172
171
|
function Di(a, i, o) {
|
|
173
172
|
const p = new FileReader(), n = a;
|
|
174
|
-
if (!
|
|
175
|
-
n.state =
|
|
173
|
+
if (!Vi(n.data, i)) {
|
|
174
|
+
n.state = F.ERROR, n.errors.push(E.ERROR_TYPE);
|
|
176
175
|
return;
|
|
177
176
|
}
|
|
178
177
|
p.onload = (d) => {
|
|
179
|
-
if (o && n.type ===
|
|
180
|
-
const l = new Blob([d.target.result], { type: n.data.type }), u = URL.createObjectURL(l),
|
|
181
|
-
|
|
182
|
-
(
|
|
183
|
-
},
|
|
178
|
+
if (o && n.type === b.IMAGE) {
|
|
179
|
+
const l = new Blob([d.target.result], { type: n.data.type }), u = URL.createObjectURL(l), w = new Image();
|
|
180
|
+
w.onload = function() {
|
|
181
|
+
(w.width > o.width || w.height > o.height) && (n.state = F.ERROR, n.errors.push(E.ERROR_DIMENSIONS)), URL.revokeObjectURL(u);
|
|
182
|
+
}, w.onerror = function() {
|
|
184
183
|
URL.revokeObjectURL(u);
|
|
185
|
-
},
|
|
184
|
+
}, w.src = u;
|
|
186
185
|
}
|
|
187
186
|
}, p.onprogress = (d) => {
|
|
188
187
|
d.lengthComputable && (n.progress = d.loaded / d.total * 100);
|
|
189
188
|
}, p.onloadend = () => {
|
|
190
|
-
n.state !==
|
|
189
|
+
n.state !== F.ERROR && (n.state = F.SUCCESS), n.progress = null;
|
|
191
190
|
}, p.onerror = () => {
|
|
192
|
-
n.state =
|
|
191
|
+
n.state = F.ERROR, n.errors.push(E.ERROR_LOAD), n.progress = null;
|
|
193
192
|
}, p.readAsArrayBuffer(n.data);
|
|
194
193
|
}
|
|
195
194
|
let Ra = 0;
|
|
@@ -199,7 +198,7 @@ const Oi = {
|
|
|
199
198
|
}
|
|
200
199
|
}, Hi = { key: 0 }, qi = ["clip-path"], Bi = ["id"];
|
|
201
200
|
function Zi(a, i, o, p, n, d) {
|
|
202
|
-
return s(), x("svg",
|
|
201
|
+
return s(), x("svg", V({ role: "img" }, a.$attrs, {
|
|
203
202
|
class: "ui-assets-icons-16",
|
|
204
203
|
xmlns: "http://www.w3.org/2000/svg",
|
|
205
204
|
width: "16",
|
|
@@ -212,7 +211,7 @@ function Zi(a, i, o, p, n, d) {
|
|
|
212
211
|
}, i[0] || (i[0] = [
|
|
213
212
|
m("path", {
|
|
214
213
|
fill: "#001222",
|
|
215
|
-
d: "
|
|
214
|
+
d: "M7.10655 3.02949C8.98948 1.14706 12.0441 1.14675 13.9269 3.02949C15.8095 4.91225 15.8093 7.96692 13.9269 9.84981L11.1564 12.6203L10.0958 11.5598L12.8663 8.78926C14.1629 7.49216 14.1631 5.38701 12.8663 4.09004C11.5694 2.79309 9.46424 2.79339 8.1671 4.09004L2.72667 9.53047C1.95976 10.2976 1.95963 11.5427 2.72667 12.3098C3.49372 13.0766 4.7389 13.0766 5.50597 12.3098L10.9464 6.86934C11.183 6.63224 11.1832 6.24693 10.9464 6.00996C10.7094 5.77301 10.3242 5.77331 10.087 6.00996L4.4962 11.6008L3.43565 10.5402L9.02647 4.94942C9.8494 4.12698 11.1842 4.12668 12.0069 4.94942C12.8296 5.77217 12.8293 7.107 12.0069 7.92989L6.56651 13.3703C5.21366 14.723 3.01896 14.723 1.66612 13.3703C0.313294 12.0175 0.313425 9.82283 1.66612 8.46992L7.10655 3.02949Z"
|
|
216
215
|
}, null, -1)
|
|
217
216
|
]), 8, qi),
|
|
218
217
|
m("defs", null, [
|
|
@@ -236,7 +235,7 @@ const Ui = {
|
|
|
236
235
|
}
|
|
237
236
|
}, Ni = { key: 0 };
|
|
238
237
|
function Pi(a, i, o, p, n, d) {
|
|
239
|
-
return s(), x("svg",
|
|
238
|
+
return s(), x("svg", V({ role: "img" }, a.$attrs, {
|
|
240
239
|
class: "ui-assets-icons-16",
|
|
241
240
|
xmlns: "http://www.w3.org/2000/svg",
|
|
242
241
|
width: "16",
|
|
@@ -246,7 +245,9 @@ function Pi(a, i, o, p, n, d) {
|
|
|
246
245
|
a.$attrs["svg-title"] ? (s(), x("title", Ni, f(a.$attrs["svg-title"]), 1)) : v("", !0),
|
|
247
246
|
i[0] || (i[0] = m("path", {
|
|
248
247
|
fill: "#001222",
|
|
249
|
-
|
|
248
|
+
"fill-rule": "evenodd",
|
|
249
|
+
d: "M11 0.25C12.5188 0.25 13.75 1.48122 13.75 3V7C13.75 7.85389 13.3607 8.6167 12.75 9.12109V10C12.75 10.8539 12.3607 11.6167 11.75 12.1211V13C11.75 14.5188 10.5188 15.75 9 15.75H7C5.48122 15.75 4.25 14.5188 4.25 13V12.1211C3.63934 11.6167 3.25 10.8539 3.25 10V9.12109C2.63934 8.6167 2.25 7.85389 2.25 7V3C2.25 1.48122 3.48122 0.25 5 0.25H11ZM10 12.75H6C5.91565 12.75 5.83241 12.7438 5.75 12.7363V13C5.75 13.6904 6.30964 14.25 7 14.25H9C9.69036 14.25 10.25 13.6904 10.25 13V12.7363C10.1676 12.7438 10.0843 12.75 10 12.75ZM11 9.75H5C4.91565 9.75 4.83241 9.74376 4.75 9.73633V10C4.75 10.6904 5.30964 11.25 6 11.25H10C10.6904 11.25 11.25 10.6904 11.25 10V9.73633C11.1676 9.74376 11.0843 9.75 11 9.75ZM5 1.75C4.30964 1.75 3.75 2.30964 3.75 3V7C3.75 7.69036 4.30964 8.25 5 8.25H11C11.6904 8.25 12.25 7.69036 12.25 7V3C12.25 2.30964 11.6904 1.75 11 1.75H5Z",
|
|
250
|
+
"clip-rule": "evenodd"
|
|
250
251
|
}, null, -1))
|
|
251
252
|
], 16);
|
|
252
253
|
}
|
|
@@ -258,7 +259,7 @@ const Wi = {
|
|
|
258
259
|
}
|
|
259
260
|
}, Yi = { key: 0 };
|
|
260
261
|
function Xi(a, i, o, p, n, d) {
|
|
261
|
-
return s(), x("svg",
|
|
262
|
+
return s(), x("svg", V({ role: "img" }, a.$attrs, {
|
|
262
263
|
class: "ui-assets-icons-16",
|
|
263
264
|
xmlns: "http://www.w3.org/2000/svg",
|
|
264
265
|
width: "16",
|
|
@@ -280,7 +281,7 @@ const Ki = {
|
|
|
280
281
|
}
|
|
281
282
|
}, Qi = { key: 0 };
|
|
282
283
|
function ae(a, i, o, p, n, d) {
|
|
283
|
-
return s(), x("svg",
|
|
284
|
+
return s(), x("svg", V({ role: "img" }, a.$attrs, {
|
|
284
285
|
class: "ui-assets-icons-16",
|
|
285
286
|
xmlns: "http://www.w3.org/2000/svg",
|
|
286
287
|
width: "16",
|
|
@@ -310,7 +311,7 @@ const ee = {
|
|
|
310
311
|
}
|
|
311
312
|
}, te = { key: 0 };
|
|
312
313
|
function ne(a, i, o, p, n, d) {
|
|
313
|
-
return s(), x("svg",
|
|
314
|
+
return s(), x("svg", V({ role: "img" }, a.$attrs, {
|
|
314
315
|
class: "ui-assets-icons-16",
|
|
315
316
|
xmlns: "http://www.w3.org/2000/svg",
|
|
316
317
|
width: "16",
|
|
@@ -320,7 +321,7 @@ function ne(a, i, o, p, n, d) {
|
|
|
320
321
|
a.$attrs["svg-title"] ? (s(), x("title", te, f(a.$attrs["svg-title"]), 1)) : v("", !0),
|
|
321
322
|
i[0] || (i[0] = m("path", {
|
|
322
323
|
fill: "#001222",
|
|
323
|
-
d: "M1.24609
|
|
324
|
+
d: "M1.24609 12V5C1.24609 3.48579 2.48188 2.25 3.99609 2.25H7.30664L10.3066 5.25H11.9961C13.5103 5.25 14.7461 6.48579 14.7461 8V12C14.7461 13.5142 13.5103 14.75 11.9961 14.75H3.99609C2.48188 14.75 1.24609 13.5142 1.24609 12ZM2.74609 12C2.74609 12.6858 3.31031 13.25 3.99609 13.25H11.9961C12.6819 13.25 13.2461 12.6858 13.2461 12V8C13.2461 7.31421 12.6819 6.75 11.9961 6.75H9.68555L6.68555 3.75H3.99609C3.31031 3.75 2.74609 4.31421 2.74609 5V12Z"
|
|
324
325
|
}, null, -1))
|
|
325
326
|
], 16);
|
|
326
327
|
}
|
|
@@ -332,7 +333,7 @@ const pe = {
|
|
|
332
333
|
}
|
|
333
334
|
}, le = { key: 0 };
|
|
334
335
|
function se(a, i, o, p, n, d) {
|
|
335
|
-
return s(), x("svg",
|
|
336
|
+
return s(), x("svg", V({ role: "img" }, a.$attrs, {
|
|
336
337
|
class: "ui-assets-icons-16",
|
|
337
338
|
xmlns: "http://www.w3.org/2000/svg",
|
|
338
339
|
width: "16",
|
|
@@ -342,11 +343,11 @@ function se(a, i, o, p, n, d) {
|
|
|
342
343
|
a.$attrs["svg-title"] ? (s(), x("title", le, f(a.$attrs["svg-title"]), 1)) : v("", !0),
|
|
343
344
|
i[0] || (i[0] = m("path", {
|
|
344
345
|
fill: "#001222",
|
|
345
|
-
d: "M9.
|
|
346
|
+
d: "M9.74609 3.74805C11.1268 3.74805 12.2461 4.86733 12.2461 6.24805C12.2461 7.62876 11.1268 8.74805 9.74609 8.74805C8.36538 8.74805 7.24609 7.62876 7.24609 6.24805C7.24609 4.86733 8.36538 3.74805 9.74609 3.74805ZM9.74609 5.24805C9.19381 5.24805 8.74609 5.69576 8.74609 6.24805C8.74609 6.80033 9.19381 7.24805 9.74609 7.24805C10.2984 7.24805 10.7461 6.80033 10.7461 6.24805C10.7461 5.69576 10.2984 5.24805 9.74609 5.24805Z"
|
|
346
347
|
}, null, -1)),
|
|
347
348
|
i[1] || (i[1] = m("path", {
|
|
348
349
|
fill: "#001222",
|
|
349
|
-
d: "
|
|
350
|
+
d: "M11.9961 1.24805C13.5149 1.24805 14.7461 2.47926 14.7461 3.99805V11.998C14.7461 13.5168 13.5149 14.748 11.9961 14.748H3.99609C2.47731 14.748 1.24609 13.5168 1.24609 11.998V3.99805C1.24609 2.47926 2.47731 1.24805 3.99609 1.24805H11.9961ZM2.74609 11.3105V11.998C2.74609 12.6884 3.30574 13.248 3.99609 13.248H9.18359L4.99609 9.06055L2.74609 11.3105ZM3.99609 2.74805C3.30574 2.74805 2.74609 3.30769 2.74609 3.99805V9.18945L4.99609 6.93945L11.3047 13.248H11.9961C12.6864 13.248 13.2461 12.6884 13.2461 11.998V3.99805C13.2461 3.30769 12.6865 2.74805 11.9961 2.74805H3.99609Z"
|
|
350
351
|
}, null, -1))
|
|
351
352
|
], 16);
|
|
352
353
|
}
|
|
@@ -358,7 +359,7 @@ const de = {
|
|
|
358
359
|
}
|
|
359
360
|
}, re = { key: 0 }, me = ["clip-path"], ue = ["id"];
|
|
360
361
|
function ve(a, i, o, p, n, d) {
|
|
361
|
-
return s(), x("svg",
|
|
362
|
+
return s(), x("svg", V({ role: "img" }, a.$attrs, {
|
|
362
363
|
class: "ui-assets-icons-16",
|
|
363
364
|
xmlns: "http://www.w3.org/2000/svg",
|
|
364
365
|
width: "16",
|
|
@@ -387,14 +388,14 @@ function ve(a, i, o, p, n, d) {
|
|
|
387
388
|
], 16);
|
|
388
389
|
}
|
|
389
390
|
const fe = /* @__PURE__ */ L(de, [["render", ve]]);
|
|
390
|
-
let
|
|
391
|
+
let Fa = 0;
|
|
391
392
|
const xe = {
|
|
392
393
|
beforeCreate() {
|
|
393
|
-
this.uuid =
|
|
394
|
+
this.uuid = Fa.toString(), Fa += 1;
|
|
394
395
|
}
|
|
395
396
|
}, ge = { key: 0 };
|
|
396
397
|
function he(a, i, o, p, n, d) {
|
|
397
|
-
return s(), x("svg",
|
|
398
|
+
return s(), x("svg", V({ role: "img" }, a.$attrs, {
|
|
398
399
|
class: "ui-assets-icons-16",
|
|
399
400
|
xmlns: "http://www.w3.org/2000/svg",
|
|
400
401
|
width: "16",
|
|
@@ -417,14 +418,14 @@ function he(a, i, o, p, n, d) {
|
|
|
417
418
|
], 16);
|
|
418
419
|
}
|
|
419
420
|
const be = /* @__PURE__ */ L(xe, [["render", he]]);
|
|
420
|
-
let
|
|
421
|
+
let Va = 0;
|
|
421
422
|
const we = {
|
|
422
423
|
beforeCreate() {
|
|
423
|
-
this.uuid =
|
|
424
|
+
this.uuid = Va.toString(), Va += 1;
|
|
424
425
|
}
|
|
425
426
|
}, ye = { key: 0 };
|
|
426
427
|
function ke(a, i, o, p, n, d) {
|
|
427
|
-
return s(), x("svg",
|
|
428
|
+
return s(), x("svg", V({ role: "img" }, a.$attrs, {
|
|
428
429
|
class: "ui-assets-icons-16",
|
|
429
430
|
xmlns: "http://www.w3.org/2000/svg",
|
|
430
431
|
width: "16",
|
|
@@ -434,33 +435,33 @@ function ke(a, i, o, p, n, d) {
|
|
|
434
435
|
a.$attrs["svg-title"] ? (s(), x("title", ye, f(a.$attrs["svg-title"]), 1)) : v("", !0),
|
|
435
436
|
i[0] || (i[0] = m("path", {
|
|
436
437
|
fill: "#001222",
|
|
437
|
-
d: "
|
|
438
|
+
d: "M12 1.25C13.5188 1.25 14.75 2.48122 14.75 4V12C14.75 13.5188 13.5188 14.75 12 14.75H4C2.48122 14.75 1.25 13.5188 1.25 12V4C1.25 2.48122 2.48122 1.25 4 1.25H12ZM6.75 13.25H12C12.6904 13.25 13.25 12.6904 13.25 12V10.75H6.75V13.25ZM2.75 12C2.75 12.6904 3.30964 13.25 4 13.25H5.25V10.75H2.75V12ZM6.75 9.25H13.25V6.75H6.75V9.25ZM2.75 9.25H5.25V6.75H2.75V9.25ZM6.75 5.25H13.25V4C13.25 3.30964 12.6904 2.75 12 2.75H6.75V5.25ZM4 2.75C3.30964 2.75 2.75 3.30964 2.75 4V5.25H5.25V2.75H4Z"
|
|
438
439
|
}, null, -1))
|
|
439
440
|
], 16);
|
|
440
441
|
}
|
|
441
442
|
const Ce = /* @__PURE__ */ L(we, [["render", ke]]), $e = {
|
|
442
|
-
[
|
|
443
|
-
[
|
|
444
|
-
[
|
|
445
|
-
[
|
|
446
|
-
[
|
|
447
|
-
[
|
|
448
|
-
[
|
|
449
|
-
[
|
|
450
|
-
[
|
|
443
|
+
[b.AUDIO]: be,
|
|
444
|
+
[b.COMPRESSED]: oe,
|
|
445
|
+
[b.GENERIC]: Ai,
|
|
446
|
+
[b.IMAGE]: ce,
|
|
447
|
+
[b.PDF]: Ji,
|
|
448
|
+
[b.SLIDES]: Gi,
|
|
449
|
+
[b.TABLE]: Ce,
|
|
450
|
+
[b.TEXT]: ie,
|
|
451
|
+
[b.VIDEO]: fe
|
|
451
452
|
};
|
|
452
453
|
function _e(a) {
|
|
453
454
|
return $e[a.type];
|
|
454
455
|
}
|
|
455
456
|
function je(a) {
|
|
456
457
|
switch (a.type) {
|
|
457
|
-
case
|
|
458
|
-
case
|
|
458
|
+
case b.COMPRESSED:
|
|
459
|
+
case b.GENERIC:
|
|
459
460
|
return "grey";
|
|
460
|
-
case
|
|
461
|
-
case
|
|
461
|
+
case b.PDF:
|
|
462
|
+
case b.SLIDES:
|
|
462
463
|
return "orange";
|
|
463
|
-
case
|
|
464
|
+
case b.TEXT:
|
|
464
465
|
return "blue";
|
|
465
466
|
default:
|
|
466
467
|
return "green";
|
|
@@ -496,16 +497,16 @@ const Aa = {
|
|
|
496
497
|
},
|
|
497
498
|
emits: ["cancel", "remove", "retry"],
|
|
498
499
|
setup(a, { expose: i, emit: o }) {
|
|
499
|
-
const n = a, d = o, { t: l, locale: u } = sa({ messages: Aa }),
|
|
500
|
+
const n = a, d = o, { t: l, locale: u } = sa({ messages: Aa }), 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(() => Za(u.value, n.file.data.size)), J = I(), G = I(), da = Ii(J, G), K = h(() => ({
|
|
500
501
|
"b-file-uploader-file-card--error": A.value
|
|
501
|
-
})), ra =
|
|
502
|
+
})), ra = h(() => ({
|
|
502
503
|
[`b-file-uploader-file-card__icon--${je(n.file)}`]: H.value,
|
|
503
504
|
"b-file-uploader-file-card__icon--error": A.value
|
|
504
|
-
})), oa =
|
|
505
|
+
})), oa = h(() => U.value ? ki : A.value ? qa : H.value ? _e(n.file) : gi);
|
|
505
506
|
ha(
|
|
506
507
|
() => n.file.state,
|
|
507
508
|
(j) => {
|
|
508
|
-
if (j ===
|
|
509
|
+
if (j === F.SUCCESS && !H.value) {
|
|
509
510
|
const T = setTimeout(() => {
|
|
510
511
|
H.value = !0, clearTimeout(T);
|
|
511
512
|
}, 1200);
|
|
@@ -517,8 +518,8 @@ const Aa = {
|
|
|
517
518
|
z.value.$el.focus();
|
|
518
519
|
return;
|
|
519
520
|
}
|
|
520
|
-
if (
|
|
521
|
-
|
|
521
|
+
if (w.value) {
|
|
522
|
+
w.value.$el.focus();
|
|
522
523
|
return;
|
|
523
524
|
}
|
|
524
525
|
if (r.value) {
|
|
@@ -537,8 +538,8 @@ const Aa = {
|
|
|
537
538
|
name: t(Ba) ? "b-file-uploader-file-card__animation" : "b-file-uploader-file-card__animation--vue3",
|
|
538
539
|
"show-file-icon": H.value
|
|
539
540
|
}, {
|
|
540
|
-
default:
|
|
541
|
-
(s(),
|
|
541
|
+
default: y(() => [
|
|
542
|
+
(s(), k(di(oa.value), {
|
|
542
543
|
key: JSON.stringify(oa.value),
|
|
543
544
|
small: "",
|
|
544
545
|
"aria-hidden": "true",
|
|
@@ -562,14 +563,14 @@ const Aa = {
|
|
|
562
563
|
"is-not-routing": "",
|
|
563
564
|
variant: "quiet"
|
|
564
565
|
}, {
|
|
565
|
-
default:
|
|
566
|
-
Ha((s(),
|
|
566
|
+
default: y(() => [
|
|
567
|
+
Ha((s(), k(t(R), {
|
|
567
568
|
ref_key: "fileNameRef",
|
|
568
569
|
ref: J,
|
|
569
570
|
stronger: "",
|
|
570
571
|
el: "span"
|
|
571
572
|
}, {
|
|
572
|
-
default:
|
|
573
|
+
default: y(() => [
|
|
573
574
|
_(f(j.file.data.name), 1)
|
|
574
575
|
]),
|
|
575
576
|
_: 1
|
|
@@ -580,21 +581,21 @@ const Aa = {
|
|
|
580
581
|
_: 1
|
|
581
582
|
}, 8, ["download", "to"])
|
|
582
583
|
], 512),
|
|
583
|
-
j.file.progress ? (s(),
|
|
584
|
+
j.file.progress ? (s(), k(t(R), {
|
|
584
585
|
key: 0,
|
|
585
586
|
el: "span"
|
|
586
587
|
}, {
|
|
587
|
-
default:
|
|
588
|
+
default: y(() => [
|
|
588
589
|
_(f(X.value), 1)
|
|
589
590
|
]),
|
|
590
591
|
_: 1
|
|
591
|
-
})) : j.file.data.size ? (s(),
|
|
592
|
+
})) : j.file.data.size ? (s(), k(t(R), {
|
|
592
593
|
key: 1,
|
|
593
594
|
class: "b-file-uploader-file-card__file-size",
|
|
594
595
|
"aria-hidden": "true",
|
|
595
596
|
el: "span"
|
|
596
597
|
}, {
|
|
597
|
-
default:
|
|
598
|
+
default: y(() => [
|
|
598
599
|
_(f(ca.value), 1)
|
|
599
600
|
]),
|
|
600
601
|
_: 1
|
|
@@ -605,29 +606,29 @@ const Aa = {
|
|
|
605
606
|
id: t(B),
|
|
606
607
|
role: "alert"
|
|
607
608
|
}, [
|
|
608
|
-
ta.value ? (s(),
|
|
609
|
+
ta.value ? (s(), k(t(R), {
|
|
609
610
|
key: 0,
|
|
610
611
|
class: "b-file-uploader-file-card__error-message"
|
|
611
612
|
}, {
|
|
612
|
-
default:
|
|
613
|
+
default: y(() => [
|
|
613
614
|
_(f(t(l)("fileExceedsSizeLimit")), 1)
|
|
614
615
|
]),
|
|
615
616
|
_: 1
|
|
616
617
|
})) : v("", !0),
|
|
617
|
-
na.value ? (s(),
|
|
618
|
+
na.value ? (s(), k(t(R), {
|
|
618
619
|
key: 1,
|
|
619
620
|
class: "b-file-uploader-file-card__error-message"
|
|
620
621
|
}, {
|
|
621
|
-
default:
|
|
622
|
+
default: y(() => [
|
|
622
623
|
_(f(t(l)("imageDimensionsExceedLimits")), 1)
|
|
623
624
|
]),
|
|
624
625
|
_: 1
|
|
625
626
|
})) : v("", !0),
|
|
626
|
-
Y.value && j.supportedFileTypes ? (s(),
|
|
627
|
+
Y.value && j.supportedFileTypes ? (s(), k(t(R), {
|
|
627
628
|
key: 2,
|
|
628
629
|
class: "b-file-uploader-file-card__error-message"
|
|
629
630
|
}, {
|
|
630
|
-
default:
|
|
631
|
+
default: y(() => [
|
|
631
632
|
_(f(t(l)("fileTypeMustBe", { list: j.supportedFileTypes })), 1)
|
|
632
633
|
]),
|
|
633
634
|
_: 1
|
|
@@ -635,26 +636,26 @@ const Aa = {
|
|
|
635
636
|
], 8, Ee)) : v("", !0)
|
|
636
637
|
]),
|
|
637
638
|
m("div", Ie, [
|
|
638
|
-
ea.value ? (s(),
|
|
639
|
+
ea.value ? (s(), k(t(ga), {
|
|
639
640
|
key: 0,
|
|
640
641
|
ref_key: "retryFileButtonRef",
|
|
641
642
|
ref: z,
|
|
642
|
-
"aria-labelledby": `${t(B)} ${t(
|
|
643
|
+
"aria-labelledby": `${t(B)} ${t(g)}`,
|
|
643
644
|
variant: "tertiary",
|
|
644
645
|
onClick: T[0] || (T[0] = (Q) => d("retry"))
|
|
645
646
|
}, {
|
|
646
|
-
iconLeft:
|
|
647
|
+
iconLeft: y(() => [
|
|
647
648
|
O(t(bi), {
|
|
648
|
-
id: t(
|
|
649
|
+
id: t(g),
|
|
649
650
|
"svg-title": `${t(l)("retry")} - ${j.file.data.name} `
|
|
650
651
|
}, null, 8, ["id", "svg-title"])
|
|
651
652
|
]),
|
|
652
|
-
default:
|
|
653
|
+
default: y(() => [
|
|
653
654
|
_(" " + f(t(l)("retry")), 1)
|
|
654
655
|
]),
|
|
655
656
|
_: 1
|
|
656
657
|
}, 8, ["aria-labelledby"])) : v("", !0),
|
|
657
|
-
U.value || A.value ? (s(),
|
|
658
|
+
U.value || A.value ? (s(), k(t(ga), {
|
|
658
659
|
key: 1,
|
|
659
660
|
ref_key: "cancelFileButtonRef",
|
|
660
661
|
ref: r,
|
|
@@ -662,22 +663,22 @@ const Aa = {
|
|
|
662
663
|
variant: "tertiary",
|
|
663
664
|
onClick: T[1] || (T[1] = (Q) => d("cancel"))
|
|
664
665
|
}, {
|
|
665
|
-
iconLeft:
|
|
666
|
+
iconLeft: y(() => [
|
|
666
667
|
O(t(hi), {
|
|
667
668
|
id: t(Z),
|
|
668
669
|
"svg-title": `${t(l)("cancel")} - ${j.file.data.name}`
|
|
669
670
|
}, null, 8, ["id", "svg-title"])
|
|
670
671
|
]),
|
|
671
672
|
_: 1
|
|
672
|
-
}, 8, ["aria-labelledby"])) : (s(),
|
|
673
|
+
}, 8, ["aria-labelledby"])) : (s(), k(t(ga), {
|
|
673
674
|
key: 2,
|
|
674
675
|
ref_key: "removeFileButtonRef",
|
|
675
|
-
ref:
|
|
676
|
+
ref: w,
|
|
676
677
|
"aria-labelledby": `${t(B)} ${t(P)}`,
|
|
677
678
|
variant: "tertiary",
|
|
678
679
|
onClick: T[2] || (T[2] = (Q) => d("remove"))
|
|
679
680
|
}, {
|
|
680
|
-
iconLeft:
|
|
681
|
+
iconLeft: y(() => [
|
|
681
682
|
O(t(xi), {
|
|
682
683
|
id: t(P),
|
|
683
684
|
"svg-title": `${t(l)("remove")} - ${j.file.data.name}`
|
|
@@ -699,7 +700,7 @@ const Aa = {
|
|
|
699
700
|
}
|
|
700
701
|
}, Se = {
|
|
701
702
|
i18n: { messages: Ua }
|
|
702
|
-
},
|
|
703
|
+
}, Fe = /* @__PURE__ */ la({
|
|
703
704
|
...Se,
|
|
704
705
|
__name: "file-uploader-restrictions",
|
|
705
706
|
props: {
|
|
@@ -711,7 +712,7 @@ const Aa = {
|
|
|
711
712
|
supportedFileTypes: { default: null }
|
|
712
713
|
},
|
|
713
714
|
setup(a) {
|
|
714
|
-
const i = a, { t: o, tc: p, n, locale: d } = sa({ messages: Ua }), l =
|
|
715
|
+
const i = a, { t: o, tc: p, n, locale: d } = sa({ messages: Ua }), l = h(() => ({
|
|
715
716
|
"b-file-uploader-restrictions--condensed": i.condensed,
|
|
716
717
|
"b-file-uploader-restrictions--disabled": i.disabled
|
|
717
718
|
}));
|
|
@@ -720,7 +721,7 @@ const Aa = {
|
|
|
720
721
|
"b-file-uploader-restrictions--error": r
|
|
721
722
|
};
|
|
722
723
|
}
|
|
723
|
-
const
|
|
724
|
+
const w = h(() => {
|
|
724
725
|
if (!i.maxDimensions)
|
|
725
726
|
return null;
|
|
726
727
|
const {
|
|
@@ -731,45 +732,45 @@ const Aa = {
|
|
|
731
732
|
return (r, z) => (s(), x("div", {
|
|
732
733
|
class: q(["b-file-uploader-restrictions", l.value])
|
|
733
734
|
}, [
|
|
734
|
-
r.supportedFileTypes ? (s(),
|
|
735
|
+
r.supportedFileTypes ? (s(), k(t(R), {
|
|
735
736
|
key: 0,
|
|
736
737
|
class: q(u(r.supportedFileTypes.error))
|
|
737
738
|
}, {
|
|
738
|
-
default:
|
|
739
|
+
default: y(() => [
|
|
739
740
|
_(f(t(o)("supportedFileTypes", { list: r.supportedFileTypes.value })), 1)
|
|
740
741
|
]),
|
|
741
742
|
_: 1
|
|
742
743
|
}, 8, ["class"])) : v("", !0),
|
|
743
|
-
r.maxSize ? (s(),
|
|
744
|
+
r.maxSize ? (s(), k(t(R), {
|
|
744
745
|
key: 1,
|
|
745
746
|
class: q(u(r.maxSize.error))
|
|
746
747
|
}, {
|
|
747
|
-
default:
|
|
748
|
+
default: y(() => [
|
|
748
749
|
_(f(t(o)("maxFileSize", { size: t(Za)(t(d), r.maxSize.value) })), 1)
|
|
749
750
|
]),
|
|
750
751
|
_: 1
|
|
751
752
|
}, 8, ["class"])) : v("", !0),
|
|
752
|
-
r.maxDimensions ? (s(),
|
|
753
|
+
r.maxDimensions ? (s(), k(t(R), {
|
|
753
754
|
key: 2,
|
|
754
755
|
class: q(u(r.maxDimensions.error))
|
|
755
756
|
}, {
|
|
756
|
-
default:
|
|
757
|
-
_(f(
|
|
757
|
+
default: y(() => [
|
|
758
|
+
_(f(w.value), 1)
|
|
758
759
|
]),
|
|
759
760
|
_: 1
|
|
760
761
|
}, 8, ["class"])) : v("", !0),
|
|
761
|
-
r.maxCount ? (s(),
|
|
762
|
+
r.maxCount ? (s(), k(t(R), {
|
|
762
763
|
key: 3,
|
|
763
764
|
class: q(u(r.maxCount.error))
|
|
764
765
|
}, {
|
|
765
|
-
default:
|
|
766
|
+
default: y(() => [
|
|
766
767
|
_(f(t(p)("maxUpload", r.maxCount.value, { count: t(n)(r.maxCount.value) })), 1)
|
|
767
768
|
]),
|
|
768
769
|
_: 1
|
|
769
770
|
}, 8, ["class"])) : v("", !0)
|
|
770
771
|
], 2));
|
|
771
772
|
}
|
|
772
|
-
}), Da = /* @__PURE__ */ L(
|
|
773
|
+
}), Da = /* @__PURE__ */ L(Fe, [["__scopeId", "data-v-6ad327db"]]), Na = {
|
|
773
774
|
"application/prs.cww": ["cww"],
|
|
774
775
|
"application/prs.xsf+xml": ["xsf"],
|
|
775
776
|
"application/vnd.1000minds.decision-model+xml": ["1km"],
|
|
@@ -1827,7 +1828,7 @@ var M = function(a, i, o, p) {
|
|
|
1827
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");
|
|
1828
1829
|
return o === "m" ? p : o === "a" ? p.call(a) : p ? p.value : i.get(a);
|
|
1829
1830
|
}, W, ia, N;
|
|
1830
|
-
class
|
|
1831
|
+
class Ve {
|
|
1831
1832
|
constructor(...i) {
|
|
1832
1833
|
W.set(this, /* @__PURE__ */ new Map()), ia.set(this, /* @__PURE__ */ new Map()), N.set(this, /* @__PURE__ */ new Map());
|
|
1833
1834
|
for (const o of i)
|
|
@@ -1839,8 +1840,8 @@ class Fe {
|
|
|
1839
1840
|
const d = M(this, N, "f").get(p);
|
|
1840
1841
|
let l = !0;
|
|
1841
1842
|
for (let u of n) {
|
|
1842
|
-
const
|
|
1843
|
-
if (u =
|
|
1843
|
+
const w = u.startsWith("*");
|
|
1844
|
+
if (u = w ? u.slice(1) : u, d == null || d.add(u), l && M(this, ia, "f").set(p, u), l = !1, w)
|
|
1844
1845
|
continue;
|
|
1845
1846
|
const r = M(this, W, "f").get(u);
|
|
1846
1847
|
if (r && r != p && !o)
|
|
@@ -1879,13 +1880,13 @@ class Fe {
|
|
|
1879
1880
|
}
|
|
1880
1881
|
}
|
|
1881
1882
|
W = /* @__PURE__ */ new WeakMap(), ia = /* @__PURE__ */ new WeakMap(), N = /* @__PURE__ */ new WeakMap();
|
|
1882
|
-
const Ga = new
|
|
1883
|
+
const Ga = new Ve(Pa, Na)._freeze();
|
|
1883
1884
|
function De(a) {
|
|
1884
1885
|
return a.includes("/") ? `.${Ga.getExtension(a).toUpperCase()}` : a.toUpperCase();
|
|
1885
1886
|
}
|
|
1886
1887
|
function Oe(a) {
|
|
1887
1888
|
const { locale: i, t: o } = sa();
|
|
1888
|
-
return { supportedFileTypeList:
|
|
1889
|
+
return { supportedFileTypeList: h(() => {
|
|
1889
1890
|
const n = new Intl.ListFormat(i.value, { style: "short", type: "unit" });
|
|
1890
1891
|
return a != null && a.value ? n.format(
|
|
1891
1892
|
a.value.split(",").map((d) => {
|
|
@@ -1927,21 +1928,21 @@ function qe({ maxCount: a, accept: i }) {
|
|
|
1927
1928
|
}), p = ba({
|
|
1928
1929
|
dragging: !1,
|
|
1929
1930
|
error: !1
|
|
1930
|
-
}), n =
|
|
1931
|
+
}), n = h(() => i.value ? i.value.split(",").map((w) => He(w.trim().toLocaleLowerCase())) : void 0);
|
|
1931
1932
|
function d() {
|
|
1932
1933
|
p.dragging = !1, p.error = !1, o.invalidTypes = !1, o.partiallyInvalidTypes = !1, o.maxCountOverflow = !1;
|
|
1933
1934
|
}
|
|
1934
|
-
function l(u,
|
|
1935
|
-
if (p.dragging = !0, (!
|
|
1935
|
+
function l(u, w) {
|
|
1936
|
+
if (p.dragging = !0, (!w.dataTransfer.types.includes("Files") || u > a.value) && (o.maxCountOverflow = !0, p.error = !0), !n.value)
|
|
1936
1937
|
return;
|
|
1937
1938
|
let r = 0;
|
|
1938
|
-
for (const z of
|
|
1939
|
+
for (const z of w.dataTransfer.items)
|
|
1939
1940
|
n.value.includes(z.type) && r++;
|
|
1940
1941
|
if (r === 0) {
|
|
1941
1942
|
p.error = !0, o.invalidTypes = !0;
|
|
1942
1943
|
return;
|
|
1943
1944
|
}
|
|
1944
|
-
!o.invalidTypes && r !==
|
|
1945
|
+
!o.invalidTypes && r !== w.dataTransfer.items.length && (p.error = !0, o.partiallyInvalidTypes = !0);
|
|
1945
1946
|
}
|
|
1946
1947
|
return {
|
|
1947
1948
|
dragState: p,
|
|
@@ -1987,13 +1988,13 @@ const Be = ["id", "accept", "disabled", "multiple"], Ze = ["id"], Ae = ["aria-la
|
|
|
1987
1988
|
"2.0.0"
|
|
1988
1989
|
);
|
|
1989
1990
|
});
|
|
1990
|
-
const { supportedFileTypeList:
|
|
1991
|
+
const { supportedFileTypeList: w } = Oe(xa(l, "accept")), r = S("browse-button"), z = S("custom-text"), B = S("drop-files-text"), Z = S("comma-text"), P = S("file-uploader-restrictions"), g = I(null), H = I([]), D = I(null), A = I(null), ea = S("input"), ta = S("input-error"), na = h(() => {
|
|
1991
1992
|
const e = l.condensed ? "" : `${B} ${Z}`, c = l.description ? `${z} ${Z}` : "", C = `${P} ${Z}`;
|
|
1992
1993
|
return `${e} ${c} ${C} ${r}`;
|
|
1993
1994
|
}), { dragState: Y, dragErrors: U, resetDragState: X, onDragEnterValidations: ca } = qe({
|
|
1994
1995
|
accept: xa(l, "accept"),
|
|
1995
1996
|
maxCount: xa(l, "maxCount")
|
|
1996
|
-
}), J =
|
|
1997
|
+
}), J = h(() => {
|
|
1997
1998
|
var e, c, C;
|
|
1998
1999
|
return {
|
|
1999
2000
|
condensed: l.condensed,
|
|
@@ -2004,28 +2005,28 @@ const Be = ["id", "accept", "disabled", "multiple"], Ze = ["id"], Ae = ["aria-la
|
|
|
2004
2005
|
} : null,
|
|
2005
2006
|
maxDimensions: l.maxDimensions ? {
|
|
2006
2007
|
value: l.maxDimensions,
|
|
2007
|
-
error: (e =
|
|
2008
|
+
error: (e = g.value) == null ? void 0 : e.some(($) => $.errors.includes(E.ERROR_DIMENSIONS))
|
|
2008
2009
|
} : null,
|
|
2009
2010
|
maxSize: l.maxSize ? {
|
|
2010
2011
|
value: l.maxSize,
|
|
2011
|
-
error: (c =
|
|
2012
|
+
error: (c = g.value) == null ? void 0 : c.some(($) => $.errors.includes(E.ERROR_SIZE))
|
|
2012
2013
|
} : null,
|
|
2013
|
-
supportedFileTypes:
|
|
2014
|
-
value:
|
|
2015
|
-
error: U.invalidTypes || U.partiallyInvalidTypes || ((C =
|
|
2014
|
+
supportedFileTypes: w.value ? {
|
|
2015
|
+
value: w.value,
|
|
2016
|
+
error: U.invalidTypes || U.partiallyInvalidTypes || ((C = g.value) == null ? void 0 : C.some(($) => $.errors.includes(E.ERROR_TYPE)))
|
|
2016
2017
|
} : null
|
|
2017
2018
|
};
|
|
2018
|
-
}), G = I(), da =
|
|
2019
|
+
}), G = I(), da = h(() => ({
|
|
2019
2020
|
[`b-file-uploader--${pa.DISABLED}`]: l.disabled,
|
|
2020
2021
|
[`b-file-uploader--${pa.DRAG_OVER}`]: Y.dragging,
|
|
2021
2022
|
[`b-file-uploader--${pa.ERROR}`]: T.value,
|
|
2022
2023
|
"b-file-uploader--condensed": l.condensed
|
|
2023
|
-
})), K =
|
|
2024
|
+
})), K = h(() => l.maxCount > 1), ra = h(() => {
|
|
2024
2025
|
var e;
|
|
2025
|
-
return l.maxCount && ((e =
|
|
2026
|
-
}), oa =
|
|
2026
|
+
return l.maxCount && ((e = g.value) == null ? void 0 : e.length) >= l.maxCount;
|
|
2027
|
+
}), oa = h(() => {
|
|
2027
2028
|
var e;
|
|
2028
|
-
return (e =
|
|
2029
|
+
return (e = g.value) == null ? void 0 : e.some((c) => c.state === "loading");
|
|
2029
2030
|
}), ma = (e) => (c) => {
|
|
2030
2031
|
H.value[e] = c;
|
|
2031
2032
|
};
|
|
@@ -2037,26 +2038,26 @@ const Be = ["id", "accept", "disabled", "multiple"], Ze = ["id"], Ae = ["aria-la
|
|
|
2037
2038
|
} else
|
|
2038
2039
|
d("change"), d("update:modelValue"), d("input");
|
|
2039
2040
|
}
|
|
2040
|
-
const T =
|
|
2041
|
+
const T = h(() => !!l.errorMessage || Y.error), Q = h(() => {
|
|
2041
2042
|
var e;
|
|
2042
|
-
return ((e =
|
|
2043
|
-
}), Ya = I(!1), Xa =
|
|
2043
|
+
return ((e = g.value) == null ? void 0 : e.length) > l.maxCount;
|
|
2044
|
+
}), Ya = I(!1), Xa = h(() => {
|
|
2044
2045
|
var e;
|
|
2045
|
-
return (e =
|
|
2046
|
+
return (e = g.value) == null ? void 0 : e.some((c) => c.state === "error");
|
|
2046
2047
|
});
|
|
2047
2048
|
ha(Xa, (e) => {
|
|
2048
2049
|
oa.value || d("error:upload", e);
|
|
2049
2050
|
});
|
|
2050
2051
|
async function ua() {
|
|
2051
2052
|
var e;
|
|
2052
|
-
if (await ui(),
|
|
2053
|
+
if (await ui(), g.value.length === l.maxCount) {
|
|
2053
2054
|
(e = H.value[0]) == null || e.focus();
|
|
2054
2055
|
return;
|
|
2055
2056
|
}
|
|
2056
2057
|
A.value.focus();
|
|
2057
2058
|
}
|
|
2058
2059
|
async function wa(e) {
|
|
2059
|
-
|
|
2060
|
+
g.value = g.value.filter(({ id: c }) => c !== e.id), await ua(), j(g.value);
|
|
2060
2061
|
}
|
|
2061
2062
|
function va(e) {
|
|
2062
2063
|
const c = ba({
|
|
@@ -2064,28 +2065,28 @@ const Be = ["id", "accept", "disabled", "multiple"], Ze = ["id"], Ae = ["aria-la
|
|
|
2064
2065
|
data: e,
|
|
2065
2066
|
errors: [],
|
|
2066
2067
|
progress: null,
|
|
2067
|
-
state:
|
|
2068
|
-
type:
|
|
2068
|
+
state: F.LOADING,
|
|
2069
|
+
type: Fi(e)
|
|
2069
2070
|
});
|
|
2070
2071
|
return Di(c, l.accept, l.maxDimensions), c;
|
|
2071
2072
|
}
|
|
2072
2073
|
function Ja(e) {
|
|
2073
2074
|
var c;
|
|
2074
|
-
((c =
|
|
2075
|
+
((c = g.value) == null ? void 0 : c.length) === l.maxCount && e.preventDefault();
|
|
2075
2076
|
}
|
|
2076
2077
|
async function ya(e) {
|
|
2077
2078
|
if (l.maxCount === 1 && e.length > l.maxCount) {
|
|
2078
2079
|
fa(), X();
|
|
2079
2080
|
return;
|
|
2080
2081
|
}
|
|
2081
|
-
K.value ?
|
|
2082
|
+
K.value ? g.value = [...g.value || [], ...Array.from(e).map((c) => va(c))] : (g.value = [va(e[0])], await ua()), j(g.value);
|
|
2082
2083
|
}
|
|
2083
2084
|
function Ka(e) {
|
|
2084
2085
|
var C, $;
|
|
2085
2086
|
if (l.disabled)
|
|
2086
2087
|
return;
|
|
2087
2088
|
G.value = e.target;
|
|
2088
|
-
const c = (((C = e.dataTransfer.items) == null ? void 0 : C.length) ?? 0) + ((($ =
|
|
2089
|
+
const c = (((C = e.dataTransfer.items) == null ? void 0 : C.length) ?? 0) + ((($ = g.value) == null ? void 0 : $.length) ?? 0);
|
|
2089
2090
|
ca(c, e);
|
|
2090
2091
|
}
|
|
2091
2092
|
function fa() {
|
|
@@ -2110,8 +2111,8 @@ const Be = ["id", "accept", "disabled", "multiple"], Ze = ["id"], Ae = ["aria-la
|
|
|
2110
2111
|
(e) => {
|
|
2111
2112
|
if (e && u(e)) {
|
|
2112
2113
|
const c = e, C = Array.from(c);
|
|
2113
|
-
|
|
2114
|
-
}
|
|
2114
|
+
g.value = C.map(($) => va($));
|
|
2115
|
+
} else !e && g.value && (g.value = null);
|
|
2115
2116
|
},
|
|
2116
2117
|
{ immediate: !0 }
|
|
2117
2118
|
);
|
|
@@ -2122,7 +2123,7 @@ const Be = ["id", "accept", "disabled", "multiple"], Ze = ["id"], Ae = ["aria-la
|
|
|
2122
2123
|
function ni(e) {
|
|
2123
2124
|
l.maxSize && e.forEach((c) => {
|
|
2124
2125
|
const C = c;
|
|
2125
|
-
C.data.size > l.maxSize && (C.state =
|
|
2126
|
+
C.data.size > l.maxSize && (C.state = F.ERROR, C.errors.push(E.ERROR_SIZE));
|
|
2126
2127
|
});
|
|
2127
2128
|
}
|
|
2128
2129
|
function oi(e) {
|
|
@@ -2188,7 +2189,7 @@ const Be = ["id", "accept", "disabled", "multiple"], Ze = ["id"], Ae = ["aria-la
|
|
|
2188
2189
|
]
|
|
2189
2190
|
}, [
|
|
2190
2191
|
m("div", Ue, [
|
|
2191
|
-
T.value ? (s(),
|
|
2192
|
+
T.value ? (s(), k(t(qa), { key: 0 })) : (s(), k(t(Ri), { key: 1 }))
|
|
2192
2193
|
]),
|
|
2193
2194
|
e.condensed ? v("", !0) : (s(), x(_a, { key: 0 }, [
|
|
2194
2195
|
O(t(R), {
|
|
@@ -2197,84 +2198,84 @@ const Be = ["id", "accept", "disabled", "multiple"], Ze = ["id"], Ae = ["aria-la
|
|
|
2197
2198
|
strongest: "",
|
|
2198
2199
|
class: "b-file-uploader__title"
|
|
2199
2200
|
}, {
|
|
2200
|
-
default:
|
|
2201
|
+
default: y(() => [
|
|
2201
2202
|
_(f(t(p)("dropFiles", e.maxCount)), 1)
|
|
2202
2203
|
]),
|
|
2203
2204
|
_: 1
|
|
2204
2205
|
}, 8, ["id"]),
|
|
2205
|
-
e.description ? (s(),
|
|
2206
|
+
e.description ? (s(), k(t(R), {
|
|
2206
2207
|
key: 0,
|
|
2207
2208
|
id: t(z),
|
|
2208
2209
|
el: "span",
|
|
2209
2210
|
class: "b-file-uploader__description"
|
|
2210
2211
|
}, {
|
|
2211
|
-
default:
|
|
2212
|
+
default: y(() => [
|
|
2212
2213
|
_(f(e.description), 1)
|
|
2213
2214
|
]),
|
|
2214
2215
|
_: 1
|
|
2215
2216
|
}, 8, ["id"])) : v("", !0),
|
|
2216
|
-
O(t(Da),
|
|
2217
|
+
O(t(Da), V(J.value, { id: t(P) }), null, 16, ["id"])
|
|
2217
2218
|
], 64)),
|
|
2218
2219
|
O(t(R), {
|
|
2219
2220
|
id: t(r),
|
|
2220
2221
|
stronger: "",
|
|
2221
2222
|
class: "b-file-uploader__button"
|
|
2222
2223
|
}, {
|
|
2223
|
-
default:
|
|
2224
|
+
default: y(() => [
|
|
2224
2225
|
_(f(t(o)("browseFiles")), 1)
|
|
2225
2226
|
]),
|
|
2226
2227
|
_: 1
|
|
2227
2228
|
}, 8, ["id"])
|
|
2228
2229
|
], 40, Ae)),
|
|
2229
|
-
T.value && e.errorMessage ? (s(),
|
|
2230
|
+
T.value && e.errorMessage ? (s(), k(t($i), {
|
|
2230
2231
|
key: 1,
|
|
2231
2232
|
id: t(ta),
|
|
2232
2233
|
"error-message": e.errorMessage,
|
|
2233
2234
|
class: "b-file-uploader__error-message"
|
|
2234
2235
|
}, null, 8, ["id", "error-message"])) : v("", !0),
|
|
2235
|
-
e.condensed && e.description ? (s(),
|
|
2236
|
+
e.condensed && e.description ? (s(), k(t(R), {
|
|
2236
2237
|
key: 2,
|
|
2237
2238
|
id: t(z),
|
|
2238
2239
|
"aria-hidden": "true",
|
|
2239
2240
|
el: "span",
|
|
2240
2241
|
class: "b-file-uploader__description b-file-uploader__description--condensed"
|
|
2241
2242
|
}, {
|
|
2242
|
-
default:
|
|
2243
|
+
default: y(() => [
|
|
2243
2244
|
_(f(e.description), 1)
|
|
2244
2245
|
]),
|
|
2245
2246
|
_: 1
|
|
2246
2247
|
}, 8, ["id"])) : v("", !0),
|
|
2247
|
-
e.condensed ? (s(),
|
|
2248
|
-
Q.value ? (s(),
|
|
2248
|
+
e.condensed ? (s(), k(t(Da), V({ key: 3 }, J.value, { id: t(P) }), null, 16, ["id"])) : v("", !0),
|
|
2249
|
+
Q.value ? (s(), k(t(vi), {
|
|
2249
2250
|
key: 4,
|
|
2250
2251
|
type: "critical"
|
|
2251
2252
|
}, {
|
|
2252
|
-
description:
|
|
2253
|
+
description: y(() => [
|
|
2253
2254
|
_(f(t(o)("youHaveExceededTheMaximum", { count: t(n)(l.maxCount) })), 1)
|
|
2254
2255
|
]),
|
|
2255
|
-
default:
|
|
2256
|
+
default: y(() => [
|
|
2256
2257
|
_(f(t(o)("tooManyFiles")) + " ", 1)
|
|
2257
2258
|
]),
|
|
2258
2259
|
_: 1
|
|
2259
2260
|
})) : v("", !0),
|
|
2260
2261
|
Ha(m("div", Ne, [
|
|
2261
|
-
(s(!0), x(_a, null, ri(
|
|
2262
|
+
(s(!0), x(_a, null, ri(g.value, ($, ka) => (s(), k(t(Me), {
|
|
2262
2263
|
ref_for: !0,
|
|
2263
2264
|
ref: ma(ka),
|
|
2264
2265
|
key: $.id,
|
|
2265
2266
|
file: $,
|
|
2266
|
-
"supported-file-types": t(
|
|
2267
|
+
"supported-file-types": t(w),
|
|
2267
2268
|
onCancel: (pi) => wa($),
|
|
2268
2269
|
onRemove: (pi) => wa($)
|
|
2269
2270
|
}, null, 8, ["file", "supported-file-types", "onCancel", "onRemove"]))), 128))
|
|
2270
2271
|
], 512), [
|
|
2271
|
-
[mi, (C =
|
|
2272
|
+
[mi, (C = g.value) == null ? void 0 : C.length]
|
|
2272
2273
|
])
|
|
2273
2274
|
], 2);
|
|
2274
2275
|
};
|
|
2275
2276
|
}
|
|
2276
|
-
}),
|
|
2277
|
+
}), mt = /* @__PURE__ */ L(Ge, [["__scopeId", "data-v-9bda0f89"]]);
|
|
2277
2278
|
export {
|
|
2278
|
-
|
|
2279
|
+
mt as f
|
|
2279
2280
|
};
|
|
2280
|
-
//# sourceMappingURL=file-uploader.
|
|
2281
|
+
//# sourceMappingURL=file-uploader.Vac1Cu0i.js.map
|