@adyen/bento-vue3 1.89.2 → 1.91.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/components.d.ts +4 -0
- package/dist/@types/index.d.ts +767 -522
- package/dist/accordion.js +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/ai-tag.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/anchor-scroller.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/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/draggable-handle.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/error-message.css +1 -1
- package/dist/assets/field-label.css +1 -0
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/form-layout-title.css +1 -1
- package/dist/assets/input-field.css +1 -1
- package/dist/assets/input-time.css +1 -0
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/secondary-nav.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/button.js +1 -1
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chip.js +1 -1
- package/dist/chunks/accordion-item.CZIxxSsH.js +141 -0
- package/dist/chunks/{accordion-item.BX1KrLMl.js.map → accordion-item.CZIxxSsH.js.map} +1 -1
- package/dist/chunks/action-bar.BPS3wPde.js +336 -0
- package/dist/chunks/{action-bar.DLMaIUWW.js.map → action-bar.BPS3wPde.js.map} +1 -1
- package/dist/chunks/ai-tag.D7shWB_x.js +137 -0
- package/dist/chunks/{ai-tag.DK63ExDc.js.map → ai-tag.D7shWB_x.js.map} +1 -1
- package/dist/chunks/{alert.C_8-VNi_.js → alert.CFWN2E0b.js} +86 -79
- package/dist/chunks/{alert.C_8-VNi_.js.map → alert.CFWN2E0b.js.map} +1 -1
- package/dist/chunks/anchor-scroller.DSfXK6vK.js +214 -0
- package/dist/chunks/{anchor-scroller.NhjLDBZI.js.map → anchor-scroller.DSfXK6vK.js.map} +1 -1
- package/dist/chunks/{base-modal.C2-JyHC_.js → base-modal.BxcS7Pao.js} +132 -125
- package/dist/chunks/{base-modal.C2-JyHC_.js.map → base-modal.BxcS7Pao.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.BQFAgAI2.js → button-actions-with-menu.BKdNXYgU.js} +2 -2
- package/dist/chunks/{button-actions-with-menu.BQFAgAI2.js.map → button-actions-with-menu.BKdNXYgU.js.map} +1 -1
- package/dist/chunks/{button-actions.cMQWyZne.js → button-actions.DLiM8KZL.js} +203 -189
- package/dist/chunks/{button-actions.cMQWyZne.js.map → button-actions.DLiM8KZL.js.map} +1 -1
- package/dist/chunks/{calendar.DcCqkSNJ.js → calendar.qm-kFNQv.js} +460 -428
- package/dist/chunks/calendar.qm-kFNQv.js.map +1 -0
- package/dist/chunks/card.BEChcEqg.js +223 -0
- package/dist/chunks/{card.CoxQ_L0w.js.map → card.BEChcEqg.js.map} +1 -1
- package/dist/chunks/{checkbox-group.96n9Cc3W.js → checkbox-group.i3W8WO-7.js} +4 -4
- package/dist/chunks/{checkbox-group.96n9Cc3W.js.map → checkbox-group.i3W8WO-7.js.map} +1 -1
- package/dist/chunks/{checkbox.C6ATh8f5.js → checkbox.BPrymcRl.js} +68 -61
- package/dist/chunks/{checkbox.C6ATh8f5.js.map → checkbox.BPrymcRl.js.map} +1 -1
- package/dist/chunks/chip.DFldnqfz.js +72 -0
- package/dist/chunks/{chip.CdgpQyXN.js.map → chip.DFldnqfz.js.map} +1 -1
- package/dist/chunks/{click-outside.BPylIosK.js → click-outside.B0whuTUU.js} +2 -2
- package/dist/chunks/{click-outside.BPylIosK.js.map → click-outside.B0whuTUU.js.map} +1 -1
- package/dist/chunks/{code-snippet.DgAuuZF5.js → code-snippet.BG5ZmCrb.js} +113 -106
- package/dist/chunks/{code-snippet.DgAuuZF5.js.map → code-snippet.BG5ZmCrb.js.map} +1 -1
- package/dist/chunks/{controls-group.C7hOE1F4.js → controls-group.DqRpF9bh.js} +2 -2
- package/dist/chunks/{controls-group.C7hOE1F4.js.map → controls-group.DqRpF9bh.js.map} +1 -1
- package/dist/chunks/copy.CL893i9-.js +114 -0
- package/dist/chunks/{copy.C2kQ1PbI.js.map → copy.CL893i9-.js.map} +1 -1
- package/dist/chunks/{country.CaGc08Ps.js → country.15m_ATbO.js} +3 -3
- package/dist/chunks/{country.CaGc08Ps.js.map → country.15m_ATbO.js.map} +1 -1
- package/dist/chunks/country.types.6a7xxZIR.js +26 -0
- package/dist/chunks/{country.types.DjpMGz7a.js.map → country.types.6a7xxZIR.js.map} +1 -1
- package/dist/chunks/{dashboard-section.UafHRkMa.js → dashboard-section.C7mfUXOl.js} +3 -3
- package/dist/chunks/{dashboard-section.UafHRkMa.js.map → dashboard-section.C7mfUXOl.js.map} +1 -1
- package/dist/chunks/{dashed-underline.CcDV2Aks.js → dashed-underline.B50DIXjK.js} +3 -3
- package/dist/chunks/{dashed-underline.CcDV2Aks.js.map → dashed-underline.B50DIXjK.js.map} +1 -1
- package/dist/chunks/{data-grid-template.CnC4TQvk.js → data-grid-template.CKdZb6EN.js} +4 -4
- package/dist/chunks/{data-grid-template.CnC4TQvk.js.map → data-grid-template.CKdZb6EN.js.map} +1 -1
- package/dist/chunks/data-grid.DvMe72LK.js +4247 -0
- package/dist/chunks/data-grid.DvMe72LK.js.map +1 -0
- package/dist/chunks/date-picker.CidHad1p.js +269 -0
- package/dist/chunks/date-picker.CidHad1p.js.map +1 -0
- package/dist/chunks/date-range-picker.c5OwESTS.js +1027 -0
- package/dist/chunks/date-range-picker.c5OwESTS.js.map +1 -0
- package/dist/chunks/dialog-page.Bh-7RAwX.js +163 -0
- package/dist/chunks/{dialog-page.COfKqjT-.js.map → dialog-page.Bh-7RAwX.js.map} +1 -1
- package/dist/chunks/{directive.Dpivxq_t.js → directive.C8kY-ZW-.js} +2 -2
- package/dist/chunks/{directive.Dpivxq_t.js.map → directive.C8kY-ZW-.js.map} +1 -1
- package/dist/chunks/draggable-handle.CySRx1tb.js +171 -0
- package/dist/chunks/draggable-handle.CySRx1tb.js.map +1 -0
- package/dist/chunks/{dropdown-tag.Ysrac5GN.js → dropdown-tag.wcJ6Mgqe.js} +5 -5
- package/dist/chunks/{dropdown-tag.Ysrac5GN.js.map → dropdown-tag.wcJ6Mgqe.js.map} +1 -1
- package/dist/chunks/dropdown.DHoL50gV.js +1214 -0
- package/dist/chunks/dropdown.DHoL50gV.js.map +1 -0
- package/dist/chunks/error-message.Dyvrw6ZB.js +55 -0
- package/dist/chunks/error-message.Dyvrw6ZB.js.map +1 -0
- package/dist/chunks/field-label.DZYFjFgr.js +111 -0
- package/dist/chunks/field-label.DZYFjFgr.js.map +1 -0
- package/dist/chunks/{file-uploader.Bfd1uUMe.js → file-uploader.Dbg3vfZ_.js} +606 -584
- package/dist/chunks/{file-uploader.Bfd1uUMe.js.map → file-uploader.Dbg3vfZ_.js.map} +1 -1
- package/dist/chunks/{filter-bar.CkAjLQol.js → filter-bar.Dt-cU3zy.js} +1559 -1471
- package/dist/chunks/filter-bar.Dt-cU3zy.js.map +1 -0
- package/dist/chunks/fixed-scroller.yVsaQzy5.js +157 -0
- package/dist/chunks/{fixed-scroller.DtkaGyMD.js.map → fixed-scroller.yVsaQzy5.js.map} +1 -1
- package/dist/chunks/{footer-actions.BcYSsoUg.js → footer-actions.CYBdKDPo.js} +2 -2
- package/dist/chunks/{footer-actions.BcYSsoUg.js.map → footer-actions.CYBdKDPo.js.map} +1 -1
- package/dist/chunks/form-layout-title.B3ePK3yi.js +253 -0
- package/dist/chunks/form-layout-title.B3ePK3yi.js.map +1 -0
- package/dist/chunks/{header-meta.Bym9AlQm.js → header-meta.COak4D8-.js} +98 -84
- package/dist/chunks/{header-meta.Bym9AlQm.js.map → header-meta.COak4D8-.js.map} +1 -1
- package/dist/chunks/{header-with-views.Djba6iol.js → header-with-views.DqioajcO.js} +1091 -1070
- package/dist/chunks/{header-with-views.Djba6iol.js.map → header-with-views.DqioajcO.js.map} +1 -1
- package/dist/chunks/{header.o-7SyHtU.js → header.C21yzWrk.js} +3 -3
- package/dist/chunks/{header.o-7SyHtU.js.map → header.C21yzWrk.js.map} +1 -1
- package/dist/chunks/{info-icon.BUala_wq.js → info-icon.B3MDsjMu.js} +2 -2
- package/dist/chunks/{info-icon.BUala_wq.js.map → info-icon.B3MDsjMu.js.map} +1 -1
- package/dist/chunks/input-field-password.DyUphhxB.js +353 -0
- package/dist/chunks/{input-field-password.DZytmp_p.js.map → input-field-password.DyUphhxB.js.map} +1 -1
- package/dist/chunks/{input-field-phone-number.CxblrmaU.js → input-field-phone-number.BXVaC5ra.js} +12 -5
- package/dist/chunks/{input-field-phone-number.CxblrmaU.js.map → input-field-phone-number.BXVaC5ra.js.map} +1 -1
- package/dist/chunks/input-field.DkUFvIWt.js +326 -0
- package/dist/chunks/input-field.DkUFvIWt.js.map +1 -0
- package/dist/chunks/input-time.WI_qdwJc.js +122 -0
- package/dist/chunks/input-time.WI_qdwJc.js.map +1 -0
- package/dist/chunks/{inspector.B9k4tJWe.js → inspector.DMhKNW1K.js} +70 -63
- package/dist/chunks/{inspector.B9k4tJWe.js.map → inspector.DMhKNW1K.js.map} +1 -1
- package/dist/chunks/{list-item.DO5uULke.js → list-item.BHvXpqaS.js} +2 -2
- package/dist/chunks/{list-item.DO5uULke.js.map → list-item.BHvXpqaS.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.Cvplth7d.js → listbox-option-tag.CVxaZqbc.js} +2 -2
- package/dist/chunks/{listbox-option-tag.Cvplth7d.js.map → listbox-option-tag.CVxaZqbc.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.CuKVyTWb.js → modal-fullscreen.c6QphYQo.js} +54 -47
- package/dist/chunks/{modal-fullscreen.CuKVyTWb.js.map → modal-fullscreen.c6QphYQo.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DmPw0l5Y.js → modal.vue_vue_type_script_setup_true_lang.ImqHKH-g.js} +48 -41
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DmPw0l5Y.js.map → modal.vue_vue_type_script_setup_true_lang.ImqHKH-g.js.map} +1 -1
- package/dist/chunks/on-click-outside.BgIzQ2G1.js +108 -0
- package/dist/chunks/on-click-outside.BgIzQ2G1.js.map +1 -0
- package/dist/chunks/{pagination.dpVc6Yt0.js → pagination.Cu85Lqms.js} +150 -138
- package/dist/chunks/{pagination.dpVc6Yt0.js.map → pagination.Cu85Lqms.js.map} +1 -1
- package/dist/chunks/{promo-banner.BzveHNOI.js → promo-banner.-H4r_cwj.js} +39 -32
- package/dist/chunks/{promo-banner.BzveHNOI.js.map → promo-banner.-H4r_cwj.js.map} +1 -1
- package/dist/chunks/{radio-group.Cuiq4mxy.js → radio-group.CfMr1fmW.js} +4 -4
- package/dist/chunks/{radio-group.Cuiq4mxy.js.map → radio-group.CfMr1fmW.js.map} +1 -1
- package/dist/chunks/{rich-text-editor.DLMiT4f5.js → rich-text-editor.Bf9EWzNk.js} +421 -413
- package/dist/chunks/{rich-text-editor.DLMiT4f5.js.map → rich-text-editor.Bf9EWzNk.js.map} +1 -1
- package/dist/chunks/search-bar.p6kHCCvT.js +114 -0
- package/dist/chunks/{search-bar.CsFyP0_I.js.map → search-bar.p6kHCCvT.js.map} +1 -1
- package/dist/chunks/secondary-nav.CaxiyVaO.js +285 -0
- package/dist/chunks/secondary-nav.CaxiyVaO.js.map +1 -0
- package/dist/chunks/{segmented-control.KeQ5kuR1.js → segmented-control.CQWOO1-J.js} +2 -2
- package/dist/chunks/{segmented-control.KeQ5kuR1.js.map → segmented-control.CQWOO1-J.js.map} +1 -1
- package/dist/chunks/{selection-card-group.XM11Kk-4.js → selection-card-group.58XZj_SJ.js} +3 -3
- package/dist/chunks/{selection-card-group.XM11Kk-4.js.map → selection-card-group.58XZj_SJ.js.map} +1 -1
- package/dist/chunks/{sidepanel.b2QZ1Jsx.js → sidepanel.CAVhSs-O.js} +56 -49
- package/dist/chunks/{sidepanel.b2QZ1Jsx.js.map → sidepanel.CAVhSs-O.js.map} +1 -1
- package/dist/chunks/step.AsX2jAeL.js +268 -0
- package/dist/chunks/{step.BlwoLfdw.js.map → step.AsX2jAeL.js.map} +1 -1
- package/dist/chunks/structured-list-item.CgJR_ufh.js +112 -0
- package/dist/chunks/{structured-list-item.e-8kRleh.js.map → structured-list-item.CgJR_ufh.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.CcvOC03H.js → summary-grid.types.CDithi8M.js} +5 -5
- package/dist/chunks/{summary-grid.types.CcvOC03H.js.map → summary-grid.types.CDithi8M.js.map} +1 -1
- package/dist/chunks/{tab.mR5uUSdp.js → tab.9nyNZiGw.js} +2 -2
- package/dist/chunks/{tab.mR5uUSdp.js.map → tab.9nyNZiGw.js.map} +1 -1
- package/dist/chunks/{tag.DujMVFh-.js → tag.YN2r-Pp3.js} +2 -2
- package/dist/chunks/{tag.DujMVFh-.js.map → tag.YN2r-Pp3.js.map} +1 -1
- package/dist/chunks/textarea.JGXAlpx9.js +257 -0
- package/dist/chunks/{textarea.CHV6Z8nt.js.map → textarea.JGXAlpx9.js.map} +1 -1
- package/dist/chunks/timeline-item.BNFPpQz1.js +433 -0
- package/dist/chunks/{timeline-item.CaGcRZbt.js.map → timeline-item.BNFPpQz1.js.map} +1 -1
- package/dist/chunks/{toast.C2oehk9P.js → toast.De4MTkiH.js} +64 -57
- package/dist/chunks/{toast.C2oehk9P.js.map → toast.De4MTkiH.js.map} +1 -1
- package/dist/chunks/{tooltip.CbADa_4p.js → tooltip.DHfG2aRt.js} +40 -38
- package/dist/chunks/tooltip.DHfG2aRt.js.map +1 -0
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BOruzlTt.js → tutorial.vue_vue_type_script_setup_true_lang.C1cF-adv.js} +120 -113
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BOruzlTt.js.map → tutorial.vue_vue_type_script_setup_true_lang.C1cF-adv.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.ClEJRFAd.js → use-cached-selected-values.Bx8uuky9.js} +436 -410
- package/dist/chunks/use-cached-selected-values.Bx8uuky9.js.map +1 -0
- package/dist/chunks/{use-country-items.D_3LBe2I.js → use-country-items.Dp7X1r2e.js} +3 -3
- package/dist/chunks/{use-country-items.D_3LBe2I.js.map → use-country-items.Dp7X1r2e.js.map} +1 -1
- package/dist/chunks/{use-country-phon-code.DoqTGkNr.js → use-country-phon-code.BzcawGpE.js} +107 -104
- package/dist/chunks/{use-country-phon-code.DoqTGkNr.js.map → use-country-phon-code.BzcawGpE.js.map} +1 -1
- package/dist/chunks/{use-date-input-formatter.CDRzd-hW.js → use-date-input-formatter.BOuXpRb-.js} +2 -2
- package/dist/chunks/{use-date-input-formatter.CDRzd-hW.js.map → use-date-input-formatter.BOuXpRb-.js.map} +1 -1
- package/dist/chunks/use-touch-device.DTqFAbXh.js +11 -0
- package/dist/chunks/use-touch-device.DTqFAbXh.js.map +1 -0
- package/dist/click-outside.js +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/country.js +3 -3
- 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/draggable.js +1383 -0
- package/dist/draggable.js.map +1 -0
- package/dist/dropdown.js +10 -11
- package/dist/dropdown.js.map +1 -1
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/form-layout.js +1 -1
- package/dist/header-with-views.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +284 -279
- 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/input-time.js +5 -0
- package/dist/input-time.js.map +1 -0
- package/dist/inspector.js +1 -1
- package/dist/internal.js +26 -25
- package/dist/internal.js.map +1 -1
- package/dist/list.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/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/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/tutorial.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +7 -10
- package/dist/assets/dropdown-default-textbox.css +0 -1
- package/dist/chunks/accordion-item.BX1KrLMl.js +0 -134
- package/dist/chunks/action-bar.DLMaIUWW.js +0 -329
- package/dist/chunks/ai-tag.DK63ExDc.js +0 -130
- package/dist/chunks/anchor-scroller.NhjLDBZI.js +0 -207
- package/dist/chunks/calendar.DcCqkSNJ.js.map +0 -1
- package/dist/chunks/card.CoxQ_L0w.js +0 -216
- package/dist/chunks/chip.CdgpQyXN.js +0 -65
- package/dist/chunks/copy.C2kQ1PbI.js +0 -107
- package/dist/chunks/country.types.DjpMGz7a.js +0 -19
- package/dist/chunks/data-grid.BSIXLRm7.js +0 -4014
- package/dist/chunks/data-grid.BSIXLRm7.js.map +0 -1
- package/dist/chunks/date-picker.dlzZ_-5f.js +0 -231
- package/dist/chunks/date-picker.dlzZ_-5f.js.map +0 -1
- package/dist/chunks/date-range-picker.DC6CK0As.js +0 -995
- package/dist/chunks/date-range-picker.DC6CK0As.js.map +0 -1
- package/dist/chunks/debounce.DUTu11PS.js +0 -10
- package/dist/chunks/debounce.DUTu11PS.js.map +0 -1
- package/dist/chunks/dialog-page.COfKqjT-.js +0 -156
- package/dist/chunks/dropdown-default-textbox.bq9AlGzJ.js +0 -408
- package/dist/chunks/dropdown-default-textbox.bq9AlGzJ.js.map +0 -1
- package/dist/chunks/dropdown.MhmX1P9o.js +0 -799
- package/dist/chunks/dropdown.MhmX1P9o.js.map +0 -1
- package/dist/chunks/error-message.DCgo8q20.js +0 -143
- package/dist/chunks/error-message.DCgo8q20.js.map +0 -1
- package/dist/chunks/filter-bar.CkAjLQol.js.map +0 -1
- package/dist/chunks/fixed-scroller.DtkaGyMD.js +0 -150
- package/dist/chunks/form-layout-title.DW5Kg1rh.js +0 -230
- package/dist/chunks/form-layout-title.DW5Kg1rh.js.map +0 -1
- package/dist/chunks/input-field-password.DZytmp_p.js +0 -346
- package/dist/chunks/input-field.CfU0ZKtL.js +0 -315
- package/dist/chunks/input-field.CfU0ZKtL.js.map +0 -1
- package/dist/chunks/on-click-outside.ZUMLlxE_.js +0 -90
- package/dist/chunks/on-click-outside.ZUMLlxE_.js.map +0 -1
- package/dist/chunks/search-bar.CsFyP0_I.js +0 -107
- package/dist/chunks/secondary-nav.CLBdq98c.js +0 -138
- package/dist/chunks/secondary-nav.CLBdq98c.js.map +0 -1
- package/dist/chunks/step.BlwoLfdw.js +0 -259
- package/dist/chunks/structured-list-item.e-8kRleh.js +0 -105
- package/dist/chunks/textarea.CHV6Z8nt.js +0 -247
- package/dist/chunks/timeline-item.CaGcRZbt.js +0 -419
- package/dist/chunks/tooltip.CbADa_4p.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.ClEJRFAd.js.map +0 -1
- package/dist/draggable-handle.js +0 -155
- package/dist/draggable-handle.js.map +0 -1
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import { defineComponent as E, provide as $, toRef as z, openBlock as a, createElementBlock as l, renderSlot as S, ref as x, inject as D, computed as R, watch as c, createVNode as g, unref as e, withCtx as h, createElementVNode as y, createBlock as I, createTextVNode as H, toDisplayString as V, Transition as j, normalizeStyle as w, createCommentVNode as A } from "vue";
|
|
2
|
-
import { _ as N } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
3
|
-
import { B as U } from "./typography.B3J6_tYk.js";
|
|
4
|
-
import { C as J } from "./chevron-down.XeE-LBV_.js";
|
|
5
|
-
import { C as M } from "./chevron-up.Cmgl2a3x.js";
|
|
6
|
-
import { g as C } from "./generate-uid.DBWe4g6T.js";
|
|
7
|
-
import { o as q } from "./resize.Bqks3WUm.js";
|
|
8
|
-
import { u as K } from "./index.B875RXHM.js";
|
|
9
|
-
import { u as L } from "./use-expandable-content-height.B5jjRvCz.js";
|
|
10
|
-
import "../assets/accordion-item.css";
|
|
11
|
-
const T = /* @__PURE__ */ Symbol("accordion title size injection key"), P = { class: "b-accordion" }, Y = {}, Z = /* @__PURE__ */ E({
|
|
12
|
-
...Y,
|
|
13
|
-
__name: "accordion",
|
|
14
|
-
props: {
|
|
15
|
-
/**
|
|
16
|
-
* Controls accordion title size.
|
|
17
|
-
* @values default, small
|
|
18
|
-
*/
|
|
19
|
-
titleSize: {
|
|
20
|
-
type: String,
|
|
21
|
-
default: "default"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
setup(i) {
|
|
25
|
-
return $(T, z(i, "titleSize")), (s, r) => (a(), l("div", P, [
|
|
26
|
-
S(s.$slots, "default", {}, void 0, !0)
|
|
27
|
-
]));
|
|
28
|
-
}
|
|
29
|
-
}), de = /* @__PURE__ */ N(Z, [["__scopeId", "data-v-cef184ec"]]), k = {
|
|
30
|
-
"en-US": { collapse: "Collapse", expand: "Expand" },
|
|
31
|
-
"ja-JP": { collapse: "折りたたむ", expand: "展開" },
|
|
32
|
-
"pt-BR": { collapse: "Recolher", expand: "Expandir" }
|
|
33
|
-
}, F = { class: "b-accordion-item" }, G = ["id", "aria-controls", "aria-expanded"], Q = ["id", "aria-labelledby"], W = {
|
|
34
|
-
i18n: { messages: k }
|
|
35
|
-
}, X = /* @__PURE__ */ E({
|
|
36
|
-
...W,
|
|
37
|
-
__name: "accordion-item",
|
|
38
|
-
props: {
|
|
39
|
-
/**
|
|
40
|
-
* Sets the title of the accordion item.
|
|
41
|
-
*/
|
|
42
|
-
title: {
|
|
43
|
-
type: String,
|
|
44
|
-
required: !0
|
|
45
|
-
},
|
|
46
|
-
/**
|
|
47
|
-
* Controls if the content is visible or hidden.
|
|
48
|
-
*/
|
|
49
|
-
isExpanded: {
|
|
50
|
-
type: Boolean,
|
|
51
|
-
default: !1
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
emits: ["update:is-expanded"],
|
|
55
|
-
setup(i, { emit: d }) {
|
|
56
|
-
const s = "b-accordion-item__animation--content", r = i, B = d, { t: p } = K({ messages: k }), n = x(null), t = x(r.isExpanded), u = C("accordionItemButton"), m = C("accordionItemContent"), _ = D(T, "default"), { updateContentHeight: v, contentHeight: f } = L(n, t), O = R(() => f.value ? { "max-height": f.value } : {});
|
|
57
|
-
return c(
|
|
58
|
-
() => r.isExpanded,
|
|
59
|
-
(o) => {
|
|
60
|
-
t.value = o;
|
|
61
|
-
}
|
|
62
|
-
), c(
|
|
63
|
-
() => n.value,
|
|
64
|
-
() => {
|
|
65
|
-
let o = null;
|
|
66
|
-
!o && n.value && (o = q(n.value, () => {
|
|
67
|
-
n.value && v();
|
|
68
|
-
}));
|
|
69
|
-
}
|
|
70
|
-
), c(
|
|
71
|
-
t,
|
|
72
|
-
(o) => {
|
|
73
|
-
B("update:is-expanded", o), v();
|
|
74
|
-
},
|
|
75
|
-
{ immediate: !0 }
|
|
76
|
-
), (o, b) => (a(), l("div", F, [
|
|
77
|
-
g(e(U), {
|
|
78
|
-
el: "h3",
|
|
79
|
-
variant: e(_) === "small" ? "body" : "title",
|
|
80
|
-
strongest: e(_) === "small"
|
|
81
|
-
}, {
|
|
82
|
-
default: h(() => [
|
|
83
|
-
y("button", {
|
|
84
|
-
id: e(u),
|
|
85
|
-
"aria-controls": e(m),
|
|
86
|
-
"aria-expanded": `${t.value}`,
|
|
87
|
-
type: "button",
|
|
88
|
-
class: "b-accordion-item__button",
|
|
89
|
-
onClick: b[0] || (b[0] = (ee) => t.value = !t.value)
|
|
90
|
-
}, [
|
|
91
|
-
t.value ? (a(), I(e(M), {
|
|
92
|
-
key: 0,
|
|
93
|
-
class: "b-accordion-item__icon",
|
|
94
|
-
"svg-title": e(p)("collapse"),
|
|
95
|
-
"aria-hidden": "true"
|
|
96
|
-
}, null, 8, ["svg-title"])) : (a(), I(e(J), {
|
|
97
|
-
key: 1,
|
|
98
|
-
class: "b-accordion-item__icon",
|
|
99
|
-
"svg-title": e(p)("expand"),
|
|
100
|
-
"aria-hidden": "true"
|
|
101
|
-
}, null, 8, ["svg-title"])),
|
|
102
|
-
H(" " + V(i.title), 1)
|
|
103
|
-
], 8, G)
|
|
104
|
-
]),
|
|
105
|
-
_: 1
|
|
106
|
-
}, 8, ["variant", "strongest"]),
|
|
107
|
-
g(j, { name: s }, {
|
|
108
|
-
default: h(() => [
|
|
109
|
-
t.value ? (a(), l("div", {
|
|
110
|
-
key: 0,
|
|
111
|
-
id: e(m),
|
|
112
|
-
"aria-labelledby": e(u),
|
|
113
|
-
role: "region",
|
|
114
|
-
style: w(O.value)
|
|
115
|
-
}, [
|
|
116
|
-
y("div", {
|
|
117
|
-
ref_key: "contentDiv",
|
|
118
|
-
ref: n,
|
|
119
|
-
class: "b-accordion-item__content"
|
|
120
|
-
}, [
|
|
121
|
-
S(o.$slots, "default", {}, void 0, !0)
|
|
122
|
-
], 512)
|
|
123
|
-
], 12, Q)) : A("", !0)
|
|
124
|
-
]),
|
|
125
|
-
_: 3
|
|
126
|
-
})
|
|
127
|
-
]));
|
|
128
|
-
}
|
|
129
|
-
}), pe = /* @__PURE__ */ N(X, [["__scopeId", "data-v-242828d5"]]);
|
|
130
|
-
export {
|
|
131
|
-
de as a,
|
|
132
|
-
pe as b
|
|
133
|
-
};
|
|
134
|
-
//# sourceMappingURL=accordion-item.BX1KrLMl.js.map
|
|
@@ -1,329 +0,0 @@
|
|
|
1
|
-
import { defineComponent as ae, computed as l, ref as b, toRefs as ne, watch as T, provide as se, nextTick as w, openBlock as s, createBlock as r, Transition as x, withCtx as u, createElementVNode as O, unref as e, normalizeClass as R, createVNode as C, createElementBlock as m, normalizeStyle as oe, createCommentVNode as d, Fragment as F, createTextVNode as h, toDisplayString as f, renderSlot as ie } from "vue";
|
|
2
|
-
import { B as p } from "./button.DWF7FSIw.js";
|
|
3
|
-
import { B as P } from "./typography.B3J6_tYk.js";
|
|
4
|
-
import { B as le } from "./loading-indicator.BPol9I84.js";
|
|
5
|
-
import { B as ce } from "./button-actions-with-menu.BQFAgAI2.js";
|
|
6
|
-
import { C as re } from "./cross.CCHdi6v3.js";
|
|
7
|
-
import { C as ue } from "./checkmark-circle-fill.DugX5fbG.js";
|
|
8
|
-
import { C as de } from "./cross-circle-fill.BWCKKn0E.js";
|
|
9
|
-
import { u as ve } from "./index.B875RXHM.js";
|
|
10
|
-
import { u as me } from "./index.DDwcHPb6.js";
|
|
11
|
-
import { P as fe, B as ye } from "./button-actions.cMQWyZne.js";
|
|
12
|
-
import { _ as be } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
13
|
-
import "../assets/action-bar.css";
|
|
14
|
-
const V = {
|
|
15
|
-
"en-US": { actionBar: "Action bar", applying: "Applying...", cancel: "Cancel", close: "Close", retry: "Retry", save: "Save", selected: "selected", somethingWentWrong: "Something went wrong", success: "Success!", undo: "Undo", unsavedChanges: "Unsaved changes | unsaved change | unsaved changes" },
|
|
16
|
-
"ja-JP": { actionBar: "アクションバー", cancel: "キャンセル", close: "閉じる", save: "保存", selected: "選択済み", unsavedChanges: "保存されていない変更 | 保存されていない変更 | 保存されていない変更" },
|
|
17
|
-
"pt-BR": { actionBar: "Barra de ação", cancel: "Cancelar", close: "Fechar", save: "Salvar", selected: "selecionado", unsavedChanges: "Alterações não salvas | alteração não salva | alterações não salvas" }
|
|
18
|
-
}, he = ["aria-label"], ge = {
|
|
19
|
-
key: 0,
|
|
20
|
-
class: "b-action-bar__container-inner"
|
|
21
|
-
}, _e = {
|
|
22
|
-
key: 0,
|
|
23
|
-
class: "b-action-bar__close-button"
|
|
24
|
-
}, Ce = {
|
|
25
|
-
key: 1,
|
|
26
|
-
class: "b-action-bar__container-inner"
|
|
27
|
-
}, Be = { class: "b-action-bar__state-icon" }, Ae = {
|
|
28
|
-
key: 0,
|
|
29
|
-
class: "b-action-bar__state-actions"
|
|
30
|
-
}, pe = {
|
|
31
|
-
i18n: { messages: V }
|
|
32
|
-
}, ke = /* @__PURE__ */ ae({
|
|
33
|
-
...pe,
|
|
34
|
-
__name: "action-bar",
|
|
35
|
-
props: {
|
|
36
|
-
/**
|
|
37
|
-
* List of actions that will be used to render the buttons.
|
|
38
|
-
* Required and used for the `default` variant.
|
|
39
|
-
*
|
|
40
|
-
* Each object in the list should have a `title`, an `event` and,
|
|
41
|
-
* optionally, an `icon`.
|
|
42
|
-
*
|
|
43
|
-
* The component will display 4 actions and the hide the rest inside a menu.
|
|
44
|
-
*
|
|
45
|
-
* @see BentoButton for a list of all the other props supported by each button action.
|
|
46
|
-
*/
|
|
47
|
-
actions: {
|
|
48
|
-
type: Array,
|
|
49
|
-
default: () => []
|
|
50
|
-
},
|
|
51
|
-
/**
|
|
52
|
-
* How many actions should be visible outside the menu, cannot be more than 4
|
|
53
|
-
*/
|
|
54
|
-
visibleActions: {
|
|
55
|
-
type: Number,
|
|
56
|
-
default: 4,
|
|
57
|
-
validator: (t) => t > 0 && t <= 4
|
|
58
|
-
},
|
|
59
|
-
/**
|
|
60
|
-
* Use when there are sticky elements at the bottom, like sticky pagination
|
|
61
|
-
*/
|
|
62
|
-
extraBottomSpacing: {
|
|
63
|
-
type: Boolean,
|
|
64
|
-
default: !1
|
|
65
|
-
},
|
|
66
|
-
/**
|
|
67
|
-
* Show how many items are selected.
|
|
68
|
-
* When omitted in the `confirmation` variant, a generic "Unsaved changes" label is displayed.
|
|
69
|
-
*/
|
|
70
|
-
itemCounter: {
|
|
71
|
-
type: Number,
|
|
72
|
-
default: null
|
|
73
|
-
},
|
|
74
|
-
/**
|
|
75
|
-
* Label for the selection, e.g. 'selected'/'changed'
|
|
76
|
-
*/
|
|
77
|
-
selectionLabel: {
|
|
78
|
-
type: String,
|
|
79
|
-
default: null
|
|
80
|
-
},
|
|
81
|
-
/**
|
|
82
|
-
* State of the action bar.
|
|
83
|
-
* @values start, loading, success, fail
|
|
84
|
-
*/
|
|
85
|
-
state: {
|
|
86
|
-
type: String,
|
|
87
|
-
default: "start"
|
|
88
|
-
},
|
|
89
|
-
/**
|
|
90
|
-
* Displays the undo action button in `success` state.
|
|
91
|
-
*/
|
|
92
|
-
showUndoAction: {
|
|
93
|
-
type: Boolean,
|
|
94
|
-
default: !1
|
|
95
|
-
},
|
|
96
|
-
/**
|
|
97
|
-
* Displays the retry action button in `fail` state.
|
|
98
|
-
*/
|
|
99
|
-
showRetryAction: {
|
|
100
|
-
type: Boolean,
|
|
101
|
-
default: !1
|
|
102
|
-
},
|
|
103
|
-
/**
|
|
104
|
-
* Variant for the action bar
|
|
105
|
-
* @values default, confirmation
|
|
106
|
-
*/
|
|
107
|
-
variant: {
|
|
108
|
-
type: String,
|
|
109
|
-
default: "default"
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
emits: ["close", "cancel", "save", "undo-action", "retry-action", "cancel-action"],
|
|
113
|
-
setup(t, { emit: U }) {
|
|
114
|
-
const a = t, y = U, { t: i, tc: I, n: $ } = ve({ messages: V }), L = l(() => a.selectionLabel ? a.selectionLabel : i("selected")), G = l(() => {
|
|
115
|
-
switch (a.state) {
|
|
116
|
-
case "loading":
|
|
117
|
-
return i("applying");
|
|
118
|
-
case "success":
|
|
119
|
-
return i("success");
|
|
120
|
-
case "fail":
|
|
121
|
-
return i("somethingWentWrong");
|
|
122
|
-
default:
|
|
123
|
-
return "";
|
|
124
|
-
}
|
|
125
|
-
}), B = b(null), g = b(null), k = b(null), S = b(!1), M = l(
|
|
126
|
-
() => a.state === "loading" ? "out-in" : void 0
|
|
127
|
-
), j = l(
|
|
128
|
-
() => a.state === "loading" || a.state === "success" && !a.showUndoAction
|
|
129
|
-
), z = (n) => {
|
|
130
|
-
a.state === "loading" && (g.value = `${n.offsetWidth}px`, k.value = "100%");
|
|
131
|
-
}, K = (n) => {
|
|
132
|
-
if (a.state !== "loading")
|
|
133
|
-
return;
|
|
134
|
-
Object.assign(n.style, { width: "auto", maxWidth: "none" });
|
|
135
|
-
const o = n.offsetWidth;
|
|
136
|
-
Object.assign(n.style, { width: "100%", maxWidth: g.value }), requestAnimationFrame(() => {
|
|
137
|
-
g.value = `${o}px`;
|
|
138
|
-
});
|
|
139
|
-
}, D = () => {
|
|
140
|
-
g.value = null, k.value = null, a.state === "fail" && (S.value = !0);
|
|
141
|
-
}, J = (n) => {
|
|
142
|
-
n.animationName.startsWith("shake-") && (S.value = !1);
|
|
143
|
-
}, { extraBottomSpacing: Z, visibleActions: q } = ne(a), { width: A } = me(), c = b(null), E = b(null), _ = l(() => a.variant === "confirmation");
|
|
144
|
-
T(
|
|
145
|
-
() => q.value,
|
|
146
|
-
(n) => {
|
|
147
|
-
E.value = n <= 4 ? n : 4, c.value = E.value;
|
|
148
|
-
},
|
|
149
|
-
{ immediate: !0 }
|
|
150
|
-
);
|
|
151
|
-
const Y = l(() => ({
|
|
152
|
-
"b-action-bar--extra-spacing": Z.value,
|
|
153
|
-
"b-action-bar--confirmation": _.value,
|
|
154
|
-
"b-action-bar__state-animation--shake": S.value
|
|
155
|
-
})), H = l(() => ({
|
|
156
|
-
[`b-action-bar__container--${a.state}`]: a.state !== "start"
|
|
157
|
-
}));
|
|
158
|
-
se(fe, 7);
|
|
159
|
-
const Q = l(() => {
|
|
160
|
-
const n = a.actions.map((te) => ({
|
|
161
|
-
...te,
|
|
162
|
-
variant: "secondary"
|
|
163
|
-
})), o = n.slice(0, c.value).reverse(), v = n.slice(c.value);
|
|
164
|
-
return [...o, ...v];
|
|
165
|
-
}), X = l(() => [
|
|
166
|
-
{
|
|
167
|
-
title: i("save"),
|
|
168
|
-
event: () => y("save")
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
title: i("cancel"),
|
|
172
|
-
variant: "secondary",
|
|
173
|
-
event: () => y("cancel")
|
|
174
|
-
}
|
|
175
|
-
]), ee = l(() => a.itemCounter == null || a.itemCounter < 1), N = async () => {
|
|
176
|
-
await w(), A.value > B.value.clientWidth + 32 + 100 && c.value < E.value && (c.value += 1, N());
|
|
177
|
-
}, W = async () => {
|
|
178
|
-
await w(), A.value < B.value.clientWidth + 32 && c.value > 0 && (c.value -= 1, W());
|
|
179
|
-
};
|
|
180
|
-
return T(
|
|
181
|
-
() => A.value,
|
|
182
|
-
async (n, o) => {
|
|
183
|
-
if (await w(), !B.value)
|
|
184
|
-
return;
|
|
185
|
-
const v = n > o;
|
|
186
|
-
A.value < 500 ? c.value = 0 : v ? N() : W();
|
|
187
|
-
},
|
|
188
|
-
{ immediate: !0 }
|
|
189
|
-
), (n, o) => (s(), r(x, {
|
|
190
|
-
name: "b-action-bar__animation",
|
|
191
|
-
appear: ""
|
|
192
|
-
}, {
|
|
193
|
-
default: u(() => [
|
|
194
|
-
O("section", {
|
|
195
|
-
class: R(["b-action-bar", Y.value]),
|
|
196
|
-
"aria-label": e(i)("actionBar"),
|
|
197
|
-
onAnimationend: J
|
|
198
|
-
}, [
|
|
199
|
-
C(x, {
|
|
200
|
-
name: `b-action-bar__state-animation--${t.state}`,
|
|
201
|
-
mode: M.value,
|
|
202
|
-
onBeforeLeave: z,
|
|
203
|
-
onEnter: K,
|
|
204
|
-
onAfterEnter: D
|
|
205
|
-
}, {
|
|
206
|
-
default: u(() => [
|
|
207
|
-
(s(), m("div", {
|
|
208
|
-
ref_key: "actionBar",
|
|
209
|
-
ref: B,
|
|
210
|
-
key: t.state,
|
|
211
|
-
class: R(["b-action-bar__container", H.value]),
|
|
212
|
-
style: oe({ width: k.value, maxWidth: g.value })
|
|
213
|
-
}, [
|
|
214
|
-
t.state === "start" ? (s(), m("div", ge, [
|
|
215
|
-
_.value ? d("", !0) : (s(), m("div", _e, [
|
|
216
|
-
C(e(p), {
|
|
217
|
-
variant: "tertiary",
|
|
218
|
-
inverse: "",
|
|
219
|
-
"aria-label": e(i)("close"),
|
|
220
|
-
onClick: o[0] || (o[0] = (v) => y("close"))
|
|
221
|
-
}, {
|
|
222
|
-
iconLeft: u(() => [
|
|
223
|
-
C(e(re), { "aria-hidden": !0 })
|
|
224
|
-
]),
|
|
225
|
-
_: 1
|
|
226
|
-
}, 8, ["aria-label"])
|
|
227
|
-
])),
|
|
228
|
-
C(e(P), {
|
|
229
|
-
el: "span",
|
|
230
|
-
stronger: "",
|
|
231
|
-
class: "b-action-bar__selection"
|
|
232
|
-
}, {
|
|
233
|
-
default: u(() => [
|
|
234
|
-
_.value && ee.value ? (s(), m(F, { key: 0 }, [
|
|
235
|
-
h(f(e(I)("unsavedChanges", 0)), 1)
|
|
236
|
-
], 64)) : (s(), m(F, { key: 1 }, [
|
|
237
|
-
h(f(e($)(t.itemCounter)) + " " + f(_.value ? e(I)("unsavedChanges", t.itemCounter) : L.value), 1)
|
|
238
|
-
], 64))
|
|
239
|
-
]),
|
|
240
|
-
_: 1
|
|
241
|
-
}),
|
|
242
|
-
_.value ? (s(), r(e(ye), {
|
|
243
|
-
key: 1,
|
|
244
|
-
actions: X.value,
|
|
245
|
-
class: "b-action-bar__actions",
|
|
246
|
-
inverse: ""
|
|
247
|
-
}, null, 8, ["actions"])) : (s(), r(ce, {
|
|
248
|
-
key: 2,
|
|
249
|
-
actions: Q.value,
|
|
250
|
-
class: "b-action-bar__actions",
|
|
251
|
-
"displayed-actions": c.value,
|
|
252
|
-
"menu-position": "top-end",
|
|
253
|
-
"disable-responsive-behavior": "",
|
|
254
|
-
inverse: ""
|
|
255
|
-
}, null, 8, ["actions", "displayed-actions"]))
|
|
256
|
-
])) : (s(), m("div", Ce, [
|
|
257
|
-
O("div", Be, [
|
|
258
|
-
t.state === "loading" ? (s(), r(e(le), {
|
|
259
|
-
key: 0,
|
|
260
|
-
small: "",
|
|
261
|
-
inverse: ""
|
|
262
|
-
})) : d("", !0),
|
|
263
|
-
t.state === "success" ? (s(), r(e(ue), {
|
|
264
|
-
key: 1,
|
|
265
|
-
"aria-hidden": !0
|
|
266
|
-
})) : d("", !0),
|
|
267
|
-
t.state === "fail" ? (s(), r(e(de), {
|
|
268
|
-
key: 2,
|
|
269
|
-
"aria-hidden": !0
|
|
270
|
-
})) : d("", !0)
|
|
271
|
-
]),
|
|
272
|
-
C(e(P), { stronger: "" }, {
|
|
273
|
-
default: u(() => [
|
|
274
|
-
ie(n.$slots, "stateLabel", {}, () => [
|
|
275
|
-
h(f(G.value), 1)
|
|
276
|
-
], !0)
|
|
277
|
-
]),
|
|
278
|
-
_: 3
|
|
279
|
-
}),
|
|
280
|
-
j.value ? d("", !0) : (s(), m("div", Ae, [
|
|
281
|
-
t.state === "success" && t.showUndoAction ? (s(), r(e(p), {
|
|
282
|
-
key: 0,
|
|
283
|
-
variant: "tertiary",
|
|
284
|
-
inverse: "",
|
|
285
|
-
onClick: o[1] || (o[1] = (v) => y("undo-action"))
|
|
286
|
-
}, {
|
|
287
|
-
default: u(() => [
|
|
288
|
-
h(f(e(i)("undo")), 1)
|
|
289
|
-
]),
|
|
290
|
-
_: 1
|
|
291
|
-
})) : d("", !0),
|
|
292
|
-
t.state === "fail" && t.showRetryAction ? (s(), r(e(p), {
|
|
293
|
-
key: 1,
|
|
294
|
-
variant: "tertiary",
|
|
295
|
-
inverse: "",
|
|
296
|
-
onClick: o[2] || (o[2] = (v) => y("retry-action"))
|
|
297
|
-
}, {
|
|
298
|
-
default: u(() => [
|
|
299
|
-
h(f(e(i)("retry")), 1)
|
|
300
|
-
]),
|
|
301
|
-
_: 1
|
|
302
|
-
})) : d("", !0),
|
|
303
|
-
t.state === "fail" ? (s(), r(e(p), {
|
|
304
|
-
key: 2,
|
|
305
|
-
variant: "tertiary",
|
|
306
|
-
inverse: "",
|
|
307
|
-
onClick: o[3] || (o[3] = (v) => y("cancel-action"))
|
|
308
|
-
}, {
|
|
309
|
-
default: u(() => [
|
|
310
|
-
h(f(e(i)("cancel")), 1)
|
|
311
|
-
]),
|
|
312
|
-
_: 1
|
|
313
|
-
})) : d("", !0)
|
|
314
|
-
]))
|
|
315
|
-
]))
|
|
316
|
-
], 6))
|
|
317
|
-
]),
|
|
318
|
-
_: 3
|
|
319
|
-
}, 8, ["name", "mode"])
|
|
320
|
-
], 42, he)
|
|
321
|
-
]),
|
|
322
|
-
_: 3
|
|
323
|
-
}));
|
|
324
|
-
}
|
|
325
|
-
}), Ge = /* @__PURE__ */ be(ke, [["__scopeId", "data-v-6ed0fae4"]]);
|
|
326
|
-
export {
|
|
327
|
-
Ge as B
|
|
328
|
-
};
|
|
329
|
-
//# sourceMappingURL=action-bar.DLMaIUWW.js.map
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { defineComponent as x, ref as d, watch as E, computed as T, openBlock as p, createElementBlock as V, withKeys as w, createVNode as i, unref as e, withCtx as a, createTextVNode as r, toDisplayString as s, createBlock as v, createElementVNode as C, createCommentVNode as y } from "vue";
|
|
2
|
-
import { u as N, c as D, h as P } from "./button-actions.cMQWyZne.js";
|
|
3
|
-
import { B as g } from "./typography.B3J6_tYk.js";
|
|
4
|
-
import { u as R } from "./index.B875RXHM.js";
|
|
5
|
-
import { g as U } from "./generate-uid.DBWe4g6T.js";
|
|
6
|
-
import { A as I } from "./artificial-intelligence-ai-filled.AhDHffzT.js";
|
|
7
|
-
import { _ as K } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
8
|
-
import "../assets/ai-tag.css";
|
|
9
|
-
const h = {
|
|
10
|
-
"en-US": { ai: "AI", aiExplained: "AI explained" },
|
|
11
|
-
"ja-JP": { ai: "AI", aiExplained: "AIについての説明" },
|
|
12
|
-
"pt-BR": { ai: "IA", aiExplained: "IA explicada" }
|
|
13
|
-
}, O = { class: "b-ai-tag__popover-content" }, S = {
|
|
14
|
-
i18n: { messages: h }
|
|
15
|
-
}, j = /* @__PURE__ */ x({
|
|
16
|
-
...S,
|
|
17
|
-
__name: "ai-tag",
|
|
18
|
-
props: {
|
|
19
|
-
title: {},
|
|
20
|
-
description: {},
|
|
21
|
-
influencedValue: { default: void 0 },
|
|
22
|
-
toggled: { type: Boolean, default: !1 },
|
|
23
|
-
action: { default: void 0 }
|
|
24
|
-
},
|
|
25
|
-
emits: ["update:toggled"],
|
|
26
|
-
setup(A, { emit: B }) {
|
|
27
|
-
const n = A, { t: u } = R({ messages: h }), o = d(n.toggled), f = d(null), c = d(null), m = U("b-ai-tag-popover");
|
|
28
|
-
E(
|
|
29
|
-
() => n.toggled,
|
|
30
|
-
(t) => {
|
|
31
|
-
o.value = t;
|
|
32
|
-
}
|
|
33
|
-
), N(f, () => {
|
|
34
|
-
l();
|
|
35
|
-
});
|
|
36
|
-
const k = T(
|
|
37
|
-
() => n.action ? [
|
|
38
|
-
{
|
|
39
|
-
...n.action,
|
|
40
|
-
variant: "secondary"
|
|
41
|
-
}
|
|
42
|
-
] : void 0
|
|
43
|
-
), b = B, _ = (t) => {
|
|
44
|
-
o.value = t, b("update:toggled", t);
|
|
45
|
-
}, l = () => {
|
|
46
|
-
o.value && _(!1);
|
|
47
|
-
};
|
|
48
|
-
return (t, J) => (p(), V("div", {
|
|
49
|
-
ref_key: "aiTagRef",
|
|
50
|
-
ref: f,
|
|
51
|
-
class: "b-ai-tag",
|
|
52
|
-
onKeydown: w(l, ["esc"])
|
|
53
|
-
}, [
|
|
54
|
-
i(e(D), {
|
|
55
|
-
ref_key: "targetElement",
|
|
56
|
-
ref: c,
|
|
57
|
-
toggled: o.value,
|
|
58
|
-
"aria-controls": e(m),
|
|
59
|
-
variant: "secondary",
|
|
60
|
-
condensed: "",
|
|
61
|
-
class: "b-ai-tag__trigger",
|
|
62
|
-
"onUpdate:toggled": _
|
|
63
|
-
}, {
|
|
64
|
-
iconLeft: a(() => [
|
|
65
|
-
i(e(I), {
|
|
66
|
-
class: "b-ai-tag__trigger-icon",
|
|
67
|
-
"aria-hidden": !0
|
|
68
|
-
})
|
|
69
|
-
]),
|
|
70
|
-
default: a(() => [
|
|
71
|
-
r(" " + s(e(u)("ai")), 1)
|
|
72
|
-
]),
|
|
73
|
-
_: 1
|
|
74
|
-
}, 8, ["toggled", "aria-controls"]),
|
|
75
|
-
c.value ? (p(), v(e(P), {
|
|
76
|
-
key: 0,
|
|
77
|
-
id: e(m),
|
|
78
|
-
open: o.value,
|
|
79
|
-
"target-element": c.value,
|
|
80
|
-
actions: k.value,
|
|
81
|
-
"actions-layout": "fill-container",
|
|
82
|
-
title: e(u)("aiExplained"),
|
|
83
|
-
"trap-all": "",
|
|
84
|
-
"trap-all-options": { onDeactivate: l, allowOutsideClick: !0 },
|
|
85
|
-
"fixed-positioning": "",
|
|
86
|
-
"overflow-visible": "",
|
|
87
|
-
onDismiss: l
|
|
88
|
-
}, {
|
|
89
|
-
headerIcon: a(() => [
|
|
90
|
-
i(e(I), {
|
|
91
|
-
class: "b-ai-tag__popover-header-icon",
|
|
92
|
-
"aria-hidden": !0
|
|
93
|
-
})
|
|
94
|
-
]),
|
|
95
|
-
default: a(() => [
|
|
96
|
-
C("div", O, [
|
|
97
|
-
t.influencedValue ? (p(), v(e(g), {
|
|
98
|
-
key: 0,
|
|
99
|
-
variant: "title",
|
|
100
|
-
medium: "",
|
|
101
|
-
class: "b-ai-tag__influenced-value"
|
|
102
|
-
}, {
|
|
103
|
-
default: a(() => [
|
|
104
|
-
r(s(t.influencedValue), 1)
|
|
105
|
-
]),
|
|
106
|
-
_: 1
|
|
107
|
-
})) : y("", !0),
|
|
108
|
-
i(e(g), { variant: "title" }, {
|
|
109
|
-
default: a(() => [
|
|
110
|
-
r(s(t.title), 1)
|
|
111
|
-
]),
|
|
112
|
-
_: 1
|
|
113
|
-
}),
|
|
114
|
-
i(e(g), null, {
|
|
115
|
-
default: a(() => [
|
|
116
|
-
r(s(t.description), 1)
|
|
117
|
-
]),
|
|
118
|
-
_: 1
|
|
119
|
-
})
|
|
120
|
-
])
|
|
121
|
-
]),
|
|
122
|
-
_: 1
|
|
123
|
-
}, 8, ["id", "open", "target-element", "actions", "title", "trap-all-options"])) : y("", !0)
|
|
124
|
-
], 544));
|
|
125
|
-
}
|
|
126
|
-
}), Q = /* @__PURE__ */ K(j, [["__scopeId", "data-v-18003291"]]);
|
|
127
|
-
export {
|
|
128
|
-
Q as a
|
|
129
|
-
};
|
|
130
|
-
//# sourceMappingURL=ai-tag.DK63ExDc.js.map
|