@adyen/bento-vue3 1.59.0 → 1.60.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/package.json +10 -6
- package/dist/@types/components.d.ts +0 -201
- package/dist/@types/index.d.ts +0 -17796
- package/dist/accordion.js +0 -6
- package/dist/accordion.js.map +0 -1
- package/dist/action-bar.js +0 -5
- package/dist/action-bar.js.map +0 -1
- package/dist/alert.js +0 -8
- package/dist/alert.js.map +0 -1
- package/dist/assets/accordion-item.css +0 -1
- package/dist/assets/action-bar.css +0 -1
- package/dist/assets/alert.css +0 -1
- package/dist/assets/avatar.css +0 -1
- package/dist/assets/base-button.css +0 -1
- package/dist/assets/base-modal.css +0 -1
- package/dist/assets/button-actions-with-menu.css +0 -1
- package/dist/assets/button-actions.css +0 -1
- package/dist/assets/button.css +0 -1
- package/dist/assets/calendar.css +0 -1
- package/dist/assets/card.css +0 -1
- package/dist/assets/checkbox-group.css +0 -1
- package/dist/assets/checkbox-input.css +0 -1
- package/dist/assets/checkbox.css +0 -1
- package/dist/assets/chip.css +0 -1
- package/dist/assets/code-snippet.css +0 -1
- package/dist/assets/controls-group.css +0 -1
- package/dist/assets/copy.css +0 -1
- package/dist/assets/country.css +0 -1
- package/dist/assets/currency.css +0 -1
- package/dist/assets/dashboard-section.css +0 -1
- package/dist/assets/dashed-underline.css +0 -1
- package/dist/assets/data-grid-template.css +0 -1
- package/dist/assets/data-grid.css +0 -1
- package/dist/assets/date-picker.css +0 -1
- package/dist/assets/date-range-picker.css +0 -1
- package/dist/assets/date.css +0 -1
- package/dist/assets/dialog-page.css +0 -1
- package/dist/assets/divider.css +0 -1
- package/dist/assets/dropdown-default-textbox.css +0 -1
- package/dist/assets/dropdown-tag.css +0 -1
- package/dist/assets/dropdown.css +0 -1
- package/dist/assets/empty-state.css +0 -1
- package/dist/assets/error-message.css +0 -1
- package/dist/assets/file-uploader.css +0 -1
- package/dist/assets/filter-bar.css +0 -1
- package/dist/assets/fixed-scroller.css +0 -1
- package/dist/assets/focus-trap.css +0 -1
- package/dist/assets/footer-actions.css +0 -1
- package/dist/assets/form-layout-title.css +0 -1
- package/dist/assets/grid-layout.css +0 -1
- package/dist/assets/header-with-views.css +0 -1
- package/dist/assets/header.css +0 -1
- package/dist/assets/info-icon-with-popover.css +0 -1
- package/dist/assets/info-icon.css +0 -1
- package/dist/assets/input-field-password.css +0 -1
- package/dist/assets/input-field-phone-number.css +0 -1
- package/dist/assets/input-field.css +0 -1
- package/dist/assets/inspector.css +0 -1
- package/dist/assets/layout-row.css +0 -1
- package/dist/assets/link.css +0 -1
- package/dist/assets/listbox-option-tag.css +0 -1
- package/dist/assets/loading-indicator.css +0 -1
- package/dist/assets/main.css +0 -1
- package/dist/assets/menu.css +0 -1
- package/dist/assets/modal-fullscreen.css +0 -1
- package/dist/assets/pagination.css +0 -1
- package/dist/assets/payment-method.css +0 -1
- package/dist/assets/popover.css +0 -1
- package/dist/assets/popper-container.css +0 -1
- package/dist/assets/promo-banner.css +0 -1
- package/dist/assets/radio-group.css +0 -1
- package/dist/assets/radio-input.css +0 -1
- package/dist/assets/rich-text-editor.css +0 -1
- package/dist/assets/search-bar.css +0 -1
- package/dist/assets/secondary-nav.css +0 -1
- package/dist/assets/segmented-control.css +0 -1
- package/dist/assets/selection-card-group.css +0 -1
- package/dist/assets/sidepanel.css +0 -1
- package/dist/assets/status.css +0 -1
- package/dist/assets/step.css +0 -1
- package/dist/assets/structured-list-item.css +0 -1
- package/dist/assets/summary-grid.css +0 -1
- package/dist/assets/tabs.css +0 -1
- package/dist/assets/tag.css +0 -1
- package/dist/assets/teleport.css +0 -1
- package/dist/assets/textarea.css +0 -1
- package/dist/assets/timeline-item.css +0 -1
- package/dist/assets/toast.css +0 -1
- package/dist/assets/toggle-button.css +0 -1
- package/dist/assets/toggle.css +0 -1
- package/dist/assets/tooltip.css +0 -1
- package/dist/assets/tutorial.css +0 -1
- package/dist/assets/typography.css +0 -1
- package/dist/assets/use-cached-selected-values.css +0 -1
- package/dist/avatar.js +0 -5
- package/dist/avatar.js.map +0 -1
- package/dist/button.js +0 -16
- package/dist/button.js.map +0 -1
- package/dist/card.js +0 -7
- package/dist/card.js.map +0 -1
- package/dist/checkbox.js +0 -11
- package/dist/checkbox.js.map +0 -1
- package/dist/chip.js +0 -5
- package/dist/chip.js.map +0 -1
- package/dist/chunks/1-generic-use.CZhwP2Yc.js +0 -5
- package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +0 -1
- package/dist/chunks/1-generic-use.R6x8PEGA.js +0 -5
- package/dist/chunks/1-generic-use.R6x8PEGA.js.map +0 -1
- package/dist/chunks/2-generic-use.CNKjB4B7.js +0 -5
- package/dist/chunks/2-generic-use.CNKjB4B7.js.map +0 -1
- package/dist/chunks/2-generic-use.w0fUhovx.js +0 -5
- package/dist/chunks/2-generic-use.w0fUhovx.js.map +0 -1
- package/dist/chunks/3-generic-use.BLEzR04g.js +0 -5
- package/dist/chunks/3-generic-use.BLEzR04g.js.map +0 -1
- package/dist/chunks/3-generic-use.D3NFHgI4.js +0 -5
- package/dist/chunks/3-generic-use.D3NFHgI4.js.map +0 -1
- package/dist/chunks/4-generic-use.CULEpvgj.js +0 -5
- package/dist/chunks/4-generic-use.CULEpvgj.js.map +0 -1
- package/dist/chunks/4-generic-use.D82y3n39.js +0 -5
- package/dist/chunks/4-generic-use.D82y3n39.js.map +0 -1
- package/dist/chunks/_commonjsHelpers.C6fGbg64.js +0 -7
- package/dist/chunks/_commonjsHelpers.C6fGbg64.js.map +0 -1
- package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js +0 -10
- package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js.map +0 -1
- package/dist/chunks/accordion-item.CihL7JaZ.js +0 -142
- package/dist/chunks/accordion-item.CihL7JaZ.js.map +0 -1
- package/dist/chunks/action-bar.DHFGXPzd.js +0 -203
- package/dist/chunks/action-bar.DHFGXPzd.js.map +0 -1
- package/dist/chunks/adding-payment-methods.BJZLPxtM.js +0 -5
- package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +0 -1
- package/dist/chunks/adding-payment-methods.Dle8zt43.js +0 -5
- package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +0 -1
- package/dist/chunks/adyen-giving.Ffw_DlJK.js +0 -5
- package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +0 -1
- package/dist/chunks/adyen-giving.LiKHj_jY.js +0 -5
- package/dist/chunks/adyen-giving.LiKHj_jY.js.map +0 -1
- package/dist/chunks/alert.CjegN2iG.js +0 -169
- package/dist/chunks/alert.CjegN2iG.js.map +0 -1
- package/dist/chunks/aria-label.CaUURpnB.js +0 -13
- package/dist/chunks/aria-label.CaUURpnB.js.map +0 -1
- package/dist/chunks/avatar.B0-9jC6H.js +0 -94
- package/dist/chunks/avatar.B0-9jC6H.js.map +0 -1
- package/dist/chunks/base-button.DdNFlbgH.js +0 -115
- package/dist/chunks/base-button.DdNFlbgH.js.map +0 -1
- package/dist/chunks/base-modal.BXdrZf3U.js +0 -504
- package/dist/chunks/base-modal.BXdrZf3U.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.CA6UQCNZ.js +0 -37
- package/dist/chunks/bin.CA6UQCNZ.js.map +0 -1
- package/dist/chunks/button-actions-with-menu.DfnPv97A.js +0 -174
- package/dist/chunks/button-actions-with-menu.DfnPv97A.js.map +0 -1
- package/dist/chunks/button-actions.WnxN4KnV.js +0 -264
- package/dist/chunks/button-actions.WnxN4KnV.js.map +0 -1
- package/dist/chunks/button.CVZJTZv0.js +0 -120
- package/dist/chunks/button.CVZJTZv0.js.map +0 -1
- package/dist/chunks/calendar.BzN254pQ.js +0 -1288
- package/dist/chunks/calendar.BzN254pQ.js.map +0 -1
- package/dist/chunks/card.PFtc1o__.js +0 -213
- package/dist/chunks/card.PFtc1o__.js.map +0 -1
- package/dist/chunks/checkbox-group.Dsiyb1cX.js +0 -192
- package/dist/chunks/checkbox-group.Dsiyb1cX.js.map +0 -1
- package/dist/chunks/checkbox-input.DVayucaL.js +0 -168
- package/dist/chunks/checkbox-input.DVayucaL.js.map +0 -1
- package/dist/chunks/checkbox.DeNqOQ8F.js +0 -253
- package/dist/chunks/checkbox.DeNqOQ8F.js.map +0 -1
- package/dist/chunks/checkmark-circle-fill.jicbqe7k.js +0 -44
- package/dist/chunks/checkmark-circle-fill.jicbqe7k.js.map +0 -1
- package/dist/chunks/checkmark-small.D7l69yBf.js +0 -29
- package/dist/chunks/checkmark-small.D7l69yBf.js.map +0 -1
- package/dist/chunks/chevron-left.BF63HtOH.js +0 -52
- package/dist/chunks/chevron-left.BF63HtOH.js.map +0 -1
- package/dist/chunks/chevron-up.-0oLlHmh.js +0 -52
- package/dist/chunks/chevron-up.-0oLlHmh.js.map +0 -1
- package/dist/chunks/chip.BVCzNGaI.js +0 -71
- package/dist/chunks/chip.BVCzNGaI.js.map +0 -1
- package/dist/chunks/click-outside.C1Ud8AA2.js +0 -23
- package/dist/chunks/click-outside.C1Ud8AA2.js.map +0 -1
- package/dist/chunks/code-snippet.91V1hyL-.js +0 -334
- package/dist/chunks/code-snippet.91V1hyL-.js.map +0 -1
- package/dist/chunks/codemirror.Zv80n3Z2.js +0 -14628
- package/dist/chunks/codemirror.Zv80n3Z2.js.map +0 -1
- package/dist/chunks/controls-group.DzFmJYYp.js +0 -98
- package/dist/chunks/controls-group.DzFmJYYp.js.map +0 -1
- package/dist/chunks/copy.BNFlTYMb.js +0 -156
- package/dist/chunks/copy.BNFlTYMb.js.map +0 -1
- package/dist/chunks/country.BhAcCmRx.js +0 -99
- package/dist/chunks/country.BhAcCmRx.js.map +0 -1
- package/dist/chunks/country.types.C0Q_hhgJ.js +0 -269
- package/dist/chunks/country.types.C0Q_hhgJ.js.map +0 -1
- package/dist/chunks/cross-circle-fill-small.mY6ihJcA.js +0 -29
- package/dist/chunks/cross-circle-fill-small.mY6ihJcA.js.map +0 -1
- package/dist/chunks/cross-circle-fill.B7YpDLTK.js +0 -44
- package/dist/chunks/cross-circle-fill.B7YpDLTK.js.map +0 -1
- package/dist/chunks/cross-small.CFrBIeYK.js +0 -29
- package/dist/chunks/cross-small.CFrBIeYK.js.map +0 -1
- package/dist/chunks/cross.CbLEjiVy.js +0 -29
- package/dist/chunks/cross.CbLEjiVy.js.map +0 -1
- package/dist/chunks/currency.DagWnTry.js +0 -109
- package/dist/chunks/currency.DagWnTry.js.map +0 -1
- package/dist/chunks/dashboard-section.BTJ8h5Kd.js +0 -165
- package/dist/chunks/dashboard-section.BTJ8h5Kd.js.map +0 -1
- package/dist/chunks/dashed-underline.BpSS0BTl.js +0 -98
- package/dist/chunks/dashed-underline.BpSS0BTl.js.map +0 -1
- package/dist/chunks/data-grid-template.CnrbFvb3.js +0 -111
- package/dist/chunks/data-grid-template.CnrbFvb3.js.map +0 -1
- package/dist/chunks/data-grid-template.keys.2_AkxuNT.js +0 -5
- package/dist/chunks/data-grid-template.keys.2_AkxuNT.js.map +0 -1
- package/dist/chunks/data-grid.PAFw8voO.js +0 -3646
- package/dist/chunks/data-grid.PAFw8voO.js.map +0 -1
- package/dist/chunks/date-input.BqBdAO1E.js +0 -17
- package/dist/chunks/date-input.BqBdAO1E.js.map +0 -1
- package/dist/chunks/date-picker.CSn6F3aG.js +0 -315
- package/dist/chunks/date-picker.CSn6F3aG.js.map +0 -1
- package/dist/chunks/date-range-picker.ByQ_yM6z.js +0 -1170
- package/dist/chunks/date-range-picker.ByQ_yM6z.js.map +0 -1
- package/dist/chunks/date.CKXySBQv.js +0 -995
- package/dist/chunks/date.CKXySBQv.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.C72BX6So.js +0 -175
- package/dist/chunks/dialog-page.C72BX6So.js.map +0 -1
- package/dist/chunks/directive.Cbdox5VL.js +0 -23
- package/dist/chunks/directive.Cbdox5VL.js.map +0 -1
- package/dist/chunks/divider.qUOSAbU6.js +0 -33
- package/dist/chunks/divider.qUOSAbU6.js.map +0 -1
- package/dist/chunks/dot.BW-xtyjC.js +0 -29
- package/dist/chunks/dot.BW-xtyjC.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.BNhy-QDH.js +0 -419
- package/dist/chunks/dropdown-default-textbox.BNhy-QDH.js.map +0 -1
- package/dist/chunks/dropdown-tag.D_oUoZBc.js +0 -202
- package/dist/chunks/dropdown-tag.D_oUoZBc.js.map +0 -1
- package/dist/chunks/dropdown.B8LbzSzW.js +0 -936
- package/dist/chunks/dropdown.B8LbzSzW.js.map +0 -1
- package/dist/chunks/empty-state.BGWjUH6G.js +0 -185
- package/dist/chunks/empty-state.BGWjUH6G.js.map +0 -1
- package/dist/chunks/error-message.BzDQxHUy.js +0 -158
- package/dist/chunks/error-message.BzDQxHUy.js.map +0 -1
- package/dist/chunks/es6.BA9GH7QZ.js +0 -11
- package/dist/chunks/es6.BA9GH7QZ.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/expand.DusW7F7p.js +0 -33
- package/dist/chunks/expand.DusW7F7p.js.map +0 -1
- package/dist/chunks/file-uploader.HMZfzgaO.js +0 -2280
- package/dist/chunks/file-uploader.HMZfzgaO.js.map +0 -1
- package/dist/chunks/filter-bar.CKxLJDQE.js +0 -2976
- package/dist/chunks/filter-bar.CKxLJDQE.js.map +0 -1
- package/dist/chunks/fixed-scroller.BjxA_R63.js +0 -147
- package/dist/chunks/fixed-scroller.BjxA_R63.js.map +0 -1
- package/dist/chunks/focus-trap.BdrEB4Ld.js +0 -500
- package/dist/chunks/focus-trap.BdrEB4Ld.js.map +0 -1
- package/dist/chunks/footer-actions.DqKdjjjh.js +0 -110
- package/dist/chunks/footer-actions.DqKdjjjh.js.map +0 -1
- package/dist/chunks/form-layout-title.CsmjzAje.js +0 -206
- package/dist/chunks/form-layout-title.CsmjzAje.js.map +0 -1
- package/dist/chunks/form-layout.types.D3EKzbE7.js +0 -5
- package/dist/chunks/form-layout.types.D3EKzbE7.js.map +0 -1
- package/dist/chunks/generate-uid.NJ8tVoha.js +0 -32
- package/dist/chunks/generate-uid.NJ8tVoha.js.map +0 -1
- package/dist/chunks/get-date-locale.BN8xEjY0.js +0 -1735
- package/dist/chunks/get-date-locale.BN8xEjY0.js.map +0 -1
- package/dist/chunks/get-slot-text.DQlZEsId.js +0 -12
- package/dist/chunks/get-slot-text.DQlZEsId.js.map +0 -1
- package/dist/chunks/grid-layout.BTLE3rac.js +0 -114
- package/dist/chunks/grid-layout.BTLE3rac.js.map +0 -1
- package/dist/chunks/header-with-views.BVcLQi-H.js +0 -2354
- package/dist/chunks/header-with-views.BVcLQi-H.js.map +0 -1
- package/dist/chunks/header.CYPznLHg.js +0 -253
- package/dist/chunks/header.CYPznLHg.js.map +0 -1
- package/dist/chunks/i18n.B6g5VX0q.js +0 -3131
- package/dist/chunks/i18n.B6g5VX0q.js.map +0 -1
- package/dist/chunks/image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js +0 -47
- package/dist/chunks/image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js.map +0 -1
- package/dist/chunks/index.BDuTpjD8.js +0 -40
- package/dist/chunks/index.BDuTpjD8.js.map +0 -1
- package/dist/chunks/index.BxBB1rsx.js +0 -15
- package/dist/chunks/index.BxBB1rsx.js.map +0 -1
- package/dist/chunks/index.CVpo3mlK.js +0 -528
- package/dist/chunks/index.CVpo3mlK.js.map +0 -1
- package/dist/chunks/index.CWuzEfiV.js +0 -6
- package/dist/chunks/index.CWuzEfiV.js.map +0 -1
- package/dist/chunks/index.DD7TppDb.js +0 -10
- package/dist/chunks/index.DD7TppDb.js.map +0 -1
- package/dist/chunks/info-icon-with-popover.BUtJRYXy.js +0 -97
- package/dist/chunks/info-icon-with-popover.BUtJRYXy.js.map +0 -1
- package/dist/chunks/info-icon.MO6y9Dyv.js +0 -45
- package/dist/chunks/info-icon.MO6y9Dyv.js.map +0 -1
- package/dist/chunks/info.HK3R7Drc.js +0 -44
- package/dist/chunks/info.HK3R7Drc.js.map +0 -1
- package/dist/chunks/input-field-password.c6WXpF9U.js +0 -366
- package/dist/chunks/input-field-password.c6WXpF9U.js.map +0 -1
- package/dist/chunks/input-field-phone-number.DQxF-6wT.js +0 -3106
- package/dist/chunks/input-field-phone-number.DQxF-6wT.js.map +0 -1
- package/dist/chunks/input-field.BDEEGU2t.js +0 -298
- package/dist/chunks/input-field.BDEEGU2t.js.map +0 -1
- package/dist/chunks/inspector.types.BQnVv5HX.js +0 -187
- package/dist/chunks/inspector.types.BQnVv5HX.js.map +0 -1
- package/dist/chunks/internal-error.BLZodVBE.js +0 -5
- package/dist/chunks/internal-error.BLZodVBE.js.map +0 -1
- package/dist/chunks/internal-error.BmrwJFpR.js +0 -5
- package/dist/chunks/internal-error.BmrwJFpR.js.map +0 -1
- package/dist/chunks/keyboard-navigation.CqgGzfZQ.js +0 -66
- package/dist/chunks/keyboard-navigation.CqgGzfZQ.js.map +0 -1
- package/dist/chunks/layout-row.CRRLYA03.js +0 -100
- package/dist/chunks/layout-row.CRRLYA03.js.map +0 -1
- package/dist/chunks/link.CTH1xj0i.js +0 -116
- package/dist/chunks/link.CTH1xj0i.js.map +0 -1
- package/dist/chunks/listbox-option-tag.CTipR05e.js +0 -55
- package/dist/chunks/listbox-option-tag.CTipR05e.js.map +0 -1
- package/dist/chunks/loading-indicator.DEepb9Wl.js +0 -44
- package/dist/chunks/loading-indicator.DEepb9Wl.js.map +0 -1
- package/dist/chunks/menu.HVsIOPzt.js +0 -768
- package/dist/chunks/menu.HVsIOPzt.js.map +0 -1
- package/dist/chunks/modal-fullscreen.CN1dCmU-.js +0 -270
- package/dist/chunks/modal-fullscreen.CN1dCmU-.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._xN4vNxW.js +0 -501
- package/dist/chunks/modal.vue_vue_type_script_setup_true_lang._xN4vNxW.js.map +0 -1
- package/dist/chunks/no-results-found.Bg_ZcEid.js +0 -5
- package/dist/chunks/no-results-found.Bg_ZcEid.js.map +0 -1
- package/dist/chunks/no-results-found.BqvYsBR6.js +0 -5
- package/dist/chunks/no-results-found.BqvYsBR6.js.map +0 -1
- package/dist/chunks/notifications-cleared.BMZk37uf.js +0 -5
- package/dist/chunks/notifications-cleared.BMZk37uf.js.map +0 -1
- package/dist/chunks/notifications-cleared.C7W9ZXY7.js +0 -5
- package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +0 -1
- package/dist/chunks/on-click-outside.D9aY9g8G.js +0 -101
- package/dist/chunks/on-click-outside.D9aY9g8G.js.map +0 -1
- package/dist/chunks/page-not-found.COJLPVaU.js +0 -5
- package/dist/chunks/page-not-found.COJLPVaU.js.map +0 -1
- package/dist/chunks/page-not-found.DWW6W-PZ.js +0 -5
- package/dist/chunks/page-not-found.DWW6W-PZ.js.map +0 -1
- package/dist/chunks/pagination.Cv-jL5MP.js +0 -461
- package/dist/chunks/pagination.Cv-jL5MP.js.map +0 -1
- package/dist/chunks/payment-method.eazefwm6.js +0 -125
- package/dist/chunks/payment-method.eazefwm6.js.map +0 -1
- package/dist/chunks/payment-method.types.BqtH7RM2.js +0 -5
- package/dist/chunks/payment-method.types.BqtH7RM2.js.map +0 -1
- package/dist/chunks/planned-maintenance.C61sWB9h.js +0 -5
- package/dist/chunks/planned-maintenance.C61sWB9h.js.map +0 -1
- package/dist/chunks/planned-maintenance.jmWYTdet.js +0 -5
- package/dist/chunks/planned-maintenance.jmWYTdet.js.map +0 -1
- package/dist/chunks/popover.sXC1vaC4.js +0 -350
- package/dist/chunks/popover.sXC1vaC4.js.map +0 -1
- package/dist/chunks/popper-container.CWgM0skS.js +0 -1396
- package/dist/chunks/popper-container.CWgM0skS.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.CoB1tBCC.js +0 -126
- package/dist/chunks/promo-banner.CoB1tBCC.js.map +0 -1
- package/dist/chunks/radio-group.BzLVfoL0.js +0 -321
- package/dist/chunks/radio-group.BzLVfoL0.js.map +0 -1
- package/dist/chunks/radio-input.DKfQGxtp.js +0 -96
- package/dist/chunks/radio-input.DKfQGxtp.js.map +0 -1
- package/dist/chunks/referrals.BvtT-kQS.js +0 -5
- package/dist/chunks/referrals.BvtT-kQS.js.map +0 -1
- package/dist/chunks/referrals.aX8WZigH.js +0 -5
- package/dist/chunks/referrals.aX8WZigH.js.map +0 -1
- package/dist/chunks/refresh.C20ROVDS.js +0 -29
- package/dist/chunks/refresh.C20ROVDS.js.map +0 -1
- package/dist/chunks/resize.Bqks3WUm.js +0 -15
- package/dist/chunks/resize.Bqks3WUm.js.map +0 -1
- package/dist/chunks/rich-text-editor.C5RIGjDX.js +0 -6221
- package/dist/chunks/rich-text-editor.C5RIGjDX.js.map +0 -1
- package/dist/chunks/search-bar.C8bAeztI.js +0 -114
- package/dist/chunks/search-bar.C8bAeztI.js.map +0 -1
- package/dist/chunks/search.CW_aTqip.js +0 -44
- package/dist/chunks/search.CW_aTqip.js.map +0 -1
- package/dist/chunks/secondary-nav.BZF_9ztn.js +0 -137
- package/dist/chunks/secondary-nav.BZF_9ztn.js.map +0 -1
- package/dist/chunks/segmented-control.types.BHRLV8KU.js +0 -5
- package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +0 -1
- package/dist/chunks/segmented-control.u3a7Mssn.js +0 -144
- package/dist/chunks/segmented-control.u3a7Mssn.js.map +0 -1
- package/dist/chunks/selection-card-group.CSFQ-f8m.js +0 -474
- package/dist/chunks/selection-card-group.CSFQ-f8m.js.map +0 -1
- package/dist/chunks/show.ByWWaogc.js +0 -64
- package/dist/chunks/show.ByWWaogc.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/sidepanel.kwEMG5ee.js +0 -254
- package/dist/chunks/sidepanel.kwEMG5ee.js.map +0 -1
- package/dist/chunks/status.types.Bdv2zuuh.js +0 -44
- package/dist/chunks/status.types.Bdv2zuuh.js.map +0 -1
- package/dist/chunks/step.7l-t-eN9.js +0 -264
- package/dist/chunks/step.7l-t-eN9.js.map +0 -1
- package/dist/chunks/structured-list-item.DLJp-ApS.js +0 -108
- package/dist/chunks/structured-list-item.DLJp-ApS.js.map +0 -1
- package/dist/chunks/success.DhioLvPD.js +0 -5
- package/dist/chunks/success.DhioLvPD.js.map +0 -1
- package/dist/chunks/success.nNwxJRBS.js +0 -5
- package/dist/chunks/success.nNwxJRBS.js.map +0 -1
- package/dist/chunks/summary-grid.keys.CxTf_FOc.js +0 -6
- package/dist/chunks/summary-grid.keys.CxTf_FOc.js.map +0 -1
- package/dist/chunks/summary-grid.types.DkyTeEAn.js +0 -466
- package/dist/chunks/summary-grid.types.DkyTeEAn.js.map +0 -1
- package/dist/chunks/tabs.Bn4YIjoy.js +0 -266
- package/dist/chunks/tabs.Bn4YIjoy.js.map +0 -1
- package/dist/chunks/tabs.keys.Bc2pSKRw.js +0 -7
- package/dist/chunks/tabs.keys.Bc2pSKRw.js.map +0 -1
- package/dist/chunks/tag.Me7nYLMe.js +0 -51
- package/dist/chunks/tag.Me7nYLMe.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.BbSzCJ-3.js +0 -278
- package/dist/chunks/textarea.BbSzCJ-3.js.map +0 -1
- package/dist/chunks/timeline-item._h_dMFfm.js +0 -567
- package/dist/chunks/timeline-item._h_dMFfm.js.map +0 -1
- package/dist/chunks/toast.Ae5ZoWHb.js +0 -221
- package/dist/chunks/toast.Ae5ZoWHb.js.map +0 -1
- package/dist/chunks/toggle-button.Dv1t15yj.js +0 -80
- package/dist/chunks/toggle-button.Dv1t15yj.js.map +0 -1
- package/dist/chunks/toggle.hoD_i2Ey.js +0 -161
- package/dist/chunks/toggle.hoD_i2Ey.js.map +0 -1
- package/dist/chunks/tooltip.CGMSPub2.js +0 -205
- package/dist/chunks/tooltip.CGMSPub2.js.map +0 -1
- package/dist/chunks/truncate.BfIl_-71.js +0 -8
- package/dist/chunks/truncate.BfIl_-71.js.map +0 -1
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.CysjLLSS.js +0 -423
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.CysjLLSS.js.map +0 -1
- package/dist/chunks/typography.DN5eC5ch.js +0 -83
- package/dist/chunks/typography.DN5eC5ch.js.map +0 -1
- package/dist/chunks/upload-files.5wQwbfkp.js +0 -5
- package/dist/chunks/upload-files.5wQwbfkp.js.map +0 -1
- package/dist/chunks/upload-files.jTQY6y2X.js +0 -5
- package/dist/chunks/upload-files.jTQY6y2X.js.map +0 -1
- package/dist/chunks/use-bento-toast-controller.D3LA1FCd.js +0 -50
- package/dist/chunks/use-bento-toast-controller.D3LA1FCd.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.Dk0UxwFJ.js +0 -1475
- package/dist/chunks/use-cached-selected-values.Dk0UxwFJ.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.4kZgVg_l.js +0 -30
- package/dist/chunks/use-country-items.4kZgVg_l.js.map +0 -1
- package/dist/chunks/use-country-phon-code.DVgE19zT.js +0 -5610
- package/dist/chunks/use-country-phon-code.DVgE19zT.js.map +0 -1
- package/dist/chunks/use-default-slot-validator.O02rzsob.js +0 -16
- package/dist/chunks/use-default-slot-validator.O02rzsob.js.map +0 -1
- package/dist/chunks/use-expandable-content-height.GkjjbmPy.js +0 -17
- package/dist/chunks/use-expandable-content-height.GkjjbmPy.js.map +0 -1
- package/dist/chunks/use-form-layout-loading.D3lALhtC.js +0 -12
- package/dist/chunks/use-form-layout-loading.D3lALhtC.js.map +0 -1
- package/dist/chunks/use-has-slot.B7eQSabc.js +0 -15
- package/dist/chunks/use-has-slot.B7eQSabc.js.map +0 -1
- package/dist/chunks/warning-filled.DmHh0nYG.js +0 -29
- package/dist/chunks/warning-filled.DmHh0nYG.js.map +0 -1
- package/dist/chunks/wrong-environment.BOsyKdRI.js +0 -5
- package/dist/chunks/wrong-environment.BOsyKdRI.js.map +0 -1
- package/dist/chunks/wrong-environment.BiHTPtbJ.js +0 -5
- package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +0 -1
- package/dist/click-outside.js +0 -5
- package/dist/click-outside.js.map +0 -1
- package/dist/code-snippet.js +0 -8
- package/dist/code-snippet.js.map +0 -1
- package/dist/country.js +0 -12
- package/dist/country.js.map +0 -1
- package/dist/currency.js +0 -6
- package/dist/currency.js.map +0 -1
- package/dist/dashboard-template.js +0 -6
- package/dist/dashboard-template.js.map +0 -1
- package/dist/dashed-underline.js +0 -5
- package/dist/dashed-underline.js.map +0 -1
- package/dist/data-grid-template.js +0 -5
- package/dist/data-grid-template.js.map +0 -1
- package/dist/data-grid.js +0 -11
- package/dist/data-grid.js.map +0 -1
- package/dist/date-picker.js +0 -8
- package/dist/date-picker.js.map +0 -1
- package/dist/date-range-picker.js +0 -8
- package/dist/date-range-picker.js.map +0 -1
- package/dist/date.js +0 -6
- package/dist/date.js.map +0 -1
- package/dist/divider.js +0 -5
- package/dist/divider.js.map +0 -1
- package/dist/dropdown.js +0 -16
- package/dist/dropdown.js.map +0 -1
- package/dist/empty-state.js +0 -8
- package/dist/empty-state.js.map +0 -1
- package/dist/file-uploader.js +0 -5
- package/dist/file-uploader.js.map +0 -1
- package/dist/filter-bar.js +0 -8
- package/dist/filter-bar.js.map +0 -1
- package/dist/focus-trap.js +0 -5
- package/dist/focus-trap.js.map +0 -1
- package/dist/fonts/fonts.css +0 -2
- package/dist/form-layout.js +0 -8
- package/dist/form-layout.js.map +0 -1
- package/dist/header-with-views.js +0 -5
- package/dist/header-with-views.js.map +0 -1
- package/dist/header.js +0 -5
- package/dist/header.js.map +0 -1
- package/dist/image.js +0 -7
- package/dist/image.js.map +0 -1
- package/dist/index.js +0 -370
- package/dist/index.js.map +0 -1
- package/dist/info-icon.js +0 -5
- package/dist/info-icon.js.map +0 -1
- package/dist/input-field-password.js +0 -10
- package/dist/input-field-password.js.map +0 -1
- package/dist/input-field-phone-number.js +0 -5
- package/dist/input-field-phone-number.js.map +0 -1
- package/dist/input-field.js +0 -10
- package/dist/input-field.js.map +0 -1
- package/dist/inspector.js +0 -6
- package/dist/inspector.js.map +0 -1
- package/dist/internal.js +0 -43
- package/dist/internal.js.map +0 -1
- package/dist/layout.js +0 -6
- package/dist/layout.js.map +0 -1
- package/dist/link.js +0 -6
- package/dist/link.js.map +0 -1
- package/dist/loading-indicator.js +0 -6
- package/dist/loading-indicator.js.map +0 -1
- package/dist/menu.js +0 -6
- package/dist/menu.js.map +0 -1
- package/dist/modal-fullscreen.js +0 -6
- package/dist/modal-fullscreen.js.map +0 -1
- package/dist/modal.js +0 -14
- package/dist/modal.js.map +0 -1
- package/dist/pagination.js +0 -5
- package/dist/pagination.js.map +0 -1
- package/dist/payment-method.js +0 -7
- package/dist/payment-method.js.map +0 -1
- package/dist/popover.js +0 -6
- package/dist/popover.js.map +0 -1
- package/dist/popper-container.js +0 -10
- package/dist/popper-container.js.map +0 -1
- package/dist/promo-banner.js +0 -7
- package/dist/promo-banner.js.map +0 -1
- package/dist/radio-group.js +0 -9
- package/dist/radio-group.js.map +0 -1
- package/dist/rich-text-editor.js +0 -5
- package/dist/rich-text-editor.js.map +0 -1
- package/dist/search-bar.js +0 -9
- package/dist/search-bar.js.map +0 -1
- package/dist/secondary-nav.js +0 -5
- package/dist/secondary-nav.js.map +0 -1
- package/dist/segmented-control.js +0 -7
- package/dist/segmented-control.js.map +0 -1
- package/dist/selection-card.js +0 -7
- package/dist/selection-card.js.map +0 -1
- package/dist/sidepanel.js +0 -7
- package/dist/sidepanel.js.map +0 -1
- package/dist/status.js +0 -6
- package/dist/status.js.map +0 -1
- package/dist/stepper.js +0 -8
- package/dist/stepper.js.map +0 -1
- package/dist/structured-list.js +0 -6
- package/dist/structured-list.js.map +0 -1
- package/dist/styles/bento-dark.css +0 -2055
- package/dist/styles/bento-light.css +0 -2054
- package/dist/styles/bento.css +0 -2054
- package/dist/styles/legacy.css +0 -2209
- package/dist/styles/styleguide.css +0 -2109
- package/dist/styles/utility.css +0 -987
- package/dist/summary-grid.js +0 -12
- package/dist/summary-grid.js.map +0 -1
- package/dist/tabs.js +0 -6
- package/dist/tabs.js.map +0 -1
- package/dist/tag.js +0 -6
- package/dist/tag.js.map +0 -1
- package/dist/textarea.js +0 -5
- package/dist/textarea.js.map +0 -1
- package/dist/timeline.js +0 -10
- package/dist/timeline.js.map +0 -1
- package/dist/toast.js +0 -5
- package/dist/toast.js.map +0 -1
- package/dist/toggle.js +0 -7
- package/dist/toggle.js.map +0 -1
- package/dist/tutorial.js +0 -5
- package/dist/tutorial.js.map +0 -1
- package/dist/typography.js +0 -8
- package/dist/typography.js.map +0 -1
- package/dist/use-form-v4.js +0 -8300
- package/dist/use-form-v4.js.map +0 -1
- package/dist/web-types.json +0 -49
|
@@ -1,504 +0,0 @@
|
|
|
1
|
-
import { defineComponent as $, useSlots as ee, ref as g, computed as c, inject as de, watch as Y, nextTick as re, onUnmounted as me, createBlock as S, openBlock as A, normalizeClass as J, createSlots as te, withCtx as l, createElementVNode as L, normalizeStyle as O, createCommentVNode as w, unref as t, renderSlot as d, createVNode as q, useAttrs as ge, toRefs as ve, onMounted as fe, provide as G, createElementBlock as pe, withKeys as ye, withDirectives as _e } from "vue";
|
|
2
|
-
import { B as be } from "./button.CVZJTZv0.js";
|
|
3
|
-
import { B as he } from "./focus-trap.BdrEB4Ld.js";
|
|
4
|
-
import { u as ae } from "./use-has-slot.B7eQSabc.js";
|
|
5
|
-
import { u as Le } from "./i18n.B6g5VX0q.js";
|
|
6
|
-
import { M as Ae } from "./base-modal.keys.C2PQXcE2.js";
|
|
7
|
-
import { g as Ce } from "./generate-uid.NJ8tVoha.js";
|
|
8
|
-
import { B as Ee } from "./directive.Cbdox5VL.js";
|
|
9
|
-
import { B as Z } from "./typography.DN5eC5ch.js";
|
|
10
|
-
import { F as Ie } from "./footer-actions.DqKdjjjh.js";
|
|
11
|
-
import { D as Oe, B as Se, b as Pe, a as De } from "./dialog-page.C72BX6So.js";
|
|
12
|
-
import { o as ke } from "./resize.Bqks3WUm.js";
|
|
13
|
-
import { G as Be, a as Te } from "./grid-layout.BTLE3rac.js";
|
|
14
|
-
import { _ as oe } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
15
|
-
import { C as Ne } from "./cross.CbLEjiVy.js";
|
|
16
|
-
import "../assets/base-modal.css";
|
|
17
|
-
var Ge = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.DIALOG = "dialog", e))(Ge || {}), we = /* @__PURE__ */ ((e) => (e.DEFAULT = "BentoModalDefault", e.DIALOG = "BentoModalDialog", e))(we || {}), R = /* @__PURE__ */ ((e) => (e.SMALL = "small", e.MEDIUM = "medium", e.LARGE = "large", e))(R || {}), k = /* @__PURE__ */ ((e) => (e.SMALLER = "smaller", e.EQUAL = "equal", e.BIGGER = "bigger", e))(k || {}), W = /* @__PURE__ */ ((e) => (e.DIALOG = "dialog", e.ALERT_DIALOG = "alertdialog", e))(W || {}), Re = /* @__PURE__ */ ((e) => (e.CONFIRMATION = "confirmation", e.DESTRUCTIVE = "destructive", e.INFO = "info", e.ACKNOWLEDGEMENT = "acknowledgement", e))(Re || {}), $e = /* @__PURE__ */ ((e) => (e.CLOSE_MODAL = "close-modal", e))($e || {});
|
|
18
|
-
const ne = {
|
|
19
|
-
"en-US": {
|
|
20
|
-
ariaLabelFallback: "modal",
|
|
21
|
-
close: "Close"
|
|
22
|
-
},
|
|
23
|
-
"ja-JP": {
|
|
24
|
-
close: "閉じる"
|
|
25
|
-
},
|
|
26
|
-
"pt-BR": {
|
|
27
|
-
close: "Fechar"
|
|
28
|
-
}
|
|
29
|
-
}, se = Symbol("modal config data injection key"), Me = { class: "b-modal-page__header" }, ze = {
|
|
30
|
-
"aria-label": "modal actions",
|
|
31
|
-
class: "b-modal-page__actions"
|
|
32
|
-
}, Fe = $({}), Ue = /* @__PURE__ */ $({
|
|
33
|
-
...Fe,
|
|
34
|
-
__name: "modal-page",
|
|
35
|
-
props: {
|
|
36
|
-
/**
|
|
37
|
-
* List of actions that will be used to render the buttons.
|
|
38
|
-
* First element in the list will be rendered as "primary".
|
|
39
|
-
* All elements after the first will be rendered as "secondary".
|
|
40
|
-
* But you may change the color of 1-st action to red with 'critial' key
|
|
41
|
-
* Not more than 3 action buttons can be provided
|
|
42
|
-
* Or 2 action buttons and 1 Label for them
|
|
43
|
-
*
|
|
44
|
-
* Each object in the list should have a `title`, an `event` and
|
|
45
|
-
* (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.
|
|
46
|
-
*
|
|
47
|
-
* `title`: Button's text.
|
|
48
|
-
*
|
|
49
|
-
* `event`: Event triggered when clicking the Button.
|
|
50
|
-
*
|
|
51
|
-
* `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.
|
|
52
|
-
*
|
|
53
|
-
* ```
|
|
54
|
-
* [{
|
|
55
|
-
* title: 'Primary',2
|
|
56
|
-
* event: () => { ... },
|
|
57
|
-
* icon: FourPeopleIcon
|
|
58
|
-
* }, {
|
|
59
|
-
* title: 'Secondary',
|
|
60
|
-
* event: () => { ... }
|
|
61
|
-
* }]
|
|
62
|
-
* ```
|
|
63
|
-
*/
|
|
64
|
-
actions: {
|
|
65
|
-
type: Array,
|
|
66
|
-
default: null
|
|
67
|
-
},
|
|
68
|
-
/**
|
|
69
|
-
* Text label that is displayed left to the action buttons
|
|
70
|
-
*/
|
|
71
|
-
actionsLabel: { type: String, default: null },
|
|
72
|
-
/**
|
|
73
|
-
* If a column layout is provided, it renders the respective left column width variant. This can be smaller than the second column, the same size as the second column or bigger than the second column.
|
|
74
|
-
*/
|
|
75
|
-
columnsSize: {
|
|
76
|
-
type: String,
|
|
77
|
-
default: k.SMALLER
|
|
78
|
-
},
|
|
79
|
-
/**
|
|
80
|
-
* If provided, manages the padding of the whole modal container
|
|
81
|
-
*/
|
|
82
|
-
customPadding: { type: String, default: null },
|
|
83
|
-
/**
|
|
84
|
-
* If passed - sets first button color to red
|
|
85
|
-
*/
|
|
86
|
-
destructiveActions: { type: Boolean, default: !1 },
|
|
87
|
-
/**
|
|
88
|
-
* If provided, renders the modal's content in a two-column layout an wth dividers separating its content
|
|
89
|
-
*/
|
|
90
|
-
withColumnLayout: { type: Boolean, default: !1 },
|
|
91
|
-
/**
|
|
92
|
-
* Identifier of the page, used with activePage prop to handle modal navigation
|
|
93
|
-
*/
|
|
94
|
-
pageId: {
|
|
95
|
-
type: String,
|
|
96
|
-
default: void 0
|
|
97
|
-
},
|
|
98
|
-
/**
|
|
99
|
-
* ID of the page for the back button to navigate to. Only use it to overwrite the default back behavior
|
|
100
|
-
* Used when the back button should not take the user to the natural previous page
|
|
101
|
-
* Set to `null` to hide back button in the page
|
|
102
|
-
*/
|
|
103
|
-
previousPage: {
|
|
104
|
-
type: String,
|
|
105
|
-
default: void 0
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
setup(e) {
|
|
109
|
-
const M = ee(), u = ae(M), p = g(null), n = e, z = c(() => ({
|
|
110
|
-
"b-modal-page--custom-padding": n.customPadding
|
|
111
|
-
})), y = c(() => {
|
|
112
|
-
var s;
|
|
113
|
-
return {
|
|
114
|
-
"b-modal-page__content--with-header": u("default"),
|
|
115
|
-
"b-modal-page__content--with-actions": u("actions") || ((s = n.actions) == null ? void 0 : s.length)
|
|
116
|
-
};
|
|
117
|
-
}), i = c(() => {
|
|
118
|
-
if (!n.customPadding)
|
|
119
|
-
return {};
|
|
120
|
-
const s = {
|
|
121
|
-
paddingLeft: n.customPadding,
|
|
122
|
-
paddingRight: n.customPadding
|
|
123
|
-
}, r = { ...s, paddingTop: void 0, paddingBottom: void 0 };
|
|
124
|
-
return u("default") || (r.paddingTop = n.customPadding), u("actions") || (r.paddingBottom = n.customPadding), {
|
|
125
|
-
header: {
|
|
126
|
-
...s,
|
|
127
|
-
paddingTop: n.customPadding,
|
|
128
|
-
paddingRight: `${parseInt(n.customPadding, 10) + 26}px`,
|
|
129
|
-
flex: 1
|
|
130
|
-
},
|
|
131
|
-
content: r,
|
|
132
|
-
actions: { ...s, paddingBottom: n.customPadding },
|
|
133
|
-
backButton: { top: n.customPadding, paddingLeft: n.customPadding }
|
|
134
|
-
};
|
|
135
|
-
}), _ = c(() => n.withColumnLayout && U.value === R.LARGE), B = c(() => n.columnsSize === k.SMALLER ? [
|
|
136
|
-
{ small: 4, medium: 4, large: 4 },
|
|
137
|
-
{ small: 8, medium: 8, large: 8 }
|
|
138
|
-
] : n.columnsSize === k.BIGGER ? [
|
|
139
|
-
{ small: 8, medium: 8, large: 8 },
|
|
140
|
-
{ small: 4, medium: 4, large: 4 }
|
|
141
|
-
] : [
|
|
142
|
-
{ small: 6, medium: 6, large: 6 },
|
|
143
|
-
{ small: 6, medium: 6, large: 6 }
|
|
144
|
-
]), { activePage: b, height: o, isAnimationActive: P, pageCustomPadding: C, showCloseButton: F, size: U } = de(se), K = c(() => b.value === n.pageId || !b.value);
|
|
145
|
-
let h = null;
|
|
146
|
-
return Y(
|
|
147
|
-
() => b.value,
|
|
148
|
-
async (s, r) => {
|
|
149
|
-
var m, v;
|
|
150
|
-
K.value && (await re(), o.value = `${(v = (m = p.value) == null ? void 0 : m.$el) == null ? void 0 : v.clientHeight}px`, C.value = n.customPadding, P.value = r !== void 0, h = ke(p.value, () => {
|
|
151
|
-
var T, E;
|
|
152
|
-
const D = `${(E = (T = p.value) == null ? void 0 : T.$el) == null ? void 0 : E.clientHeight}px`;
|
|
153
|
-
D && D !== o.value && (o.value = D);
|
|
154
|
-
}));
|
|
155
|
-
},
|
|
156
|
-
{ immediate: !0 }
|
|
157
|
-
), me(() => {
|
|
158
|
-
h == null || h.disconnect();
|
|
159
|
-
}), (s, r) => {
|
|
160
|
-
var m;
|
|
161
|
-
return A(), S(Oe, {
|
|
162
|
-
ref_key: "page",
|
|
163
|
-
ref: p,
|
|
164
|
-
class: J(["b-modal-page", z.value]),
|
|
165
|
-
"page-id": e.pageId,
|
|
166
|
-
"always-show-border": _.value,
|
|
167
|
-
"back-button-styling": (m = i.value) == null ? void 0 : m.backButton,
|
|
168
|
-
"previous-page": e.previousPage,
|
|
169
|
-
onAnimationend: r[0] || (r[0] = (v) => P.value = !1)
|
|
170
|
-
}, te({
|
|
171
|
-
content: l(() => [
|
|
172
|
-
L("div", {
|
|
173
|
-
class: J(["b-modal-page__content", y.value]),
|
|
174
|
-
style: O(i.value.content)
|
|
175
|
-
}, [
|
|
176
|
-
t(u)("content") || t(u)("content-col-1") && t(u)("content-col-2") ? (A(), S(t(Z), {
|
|
177
|
-
key: 0,
|
|
178
|
-
el: "div"
|
|
179
|
-
}, {
|
|
180
|
-
default: l(() => [
|
|
181
|
-
_.value ? (A(), S(t(Be), {
|
|
182
|
-
key: 0,
|
|
183
|
-
"column-width": B.value,
|
|
184
|
-
"container-type": t(Te).NORMAL,
|
|
185
|
-
"no-gap": "",
|
|
186
|
-
class: "b-modal-page__grid"
|
|
187
|
-
}, {
|
|
188
|
-
"col-1": l(() => [
|
|
189
|
-
d(s.$slots, "content-col-1", {}, void 0, !0)
|
|
190
|
-
]),
|
|
191
|
-
"col-2": l(() => [
|
|
192
|
-
d(s.$slots, "content-col-2", {}, void 0, !0)
|
|
193
|
-
]),
|
|
194
|
-
_: 3
|
|
195
|
-
}, 8, ["column-width", "container-type"])) : d(s.$slots, "content", { key: 1 }, void 0, !0)
|
|
196
|
-
]),
|
|
197
|
-
_: 3
|
|
198
|
-
})) : w("", !0)
|
|
199
|
-
], 6)
|
|
200
|
-
]),
|
|
201
|
-
_: 2
|
|
202
|
-
}, [
|
|
203
|
-
t(u)("default") || t(F) ? {
|
|
204
|
-
name: "header",
|
|
205
|
-
fn: l(() => [
|
|
206
|
-
L("div", {
|
|
207
|
-
class: "b-modal-page__header-container",
|
|
208
|
-
style: O(i.value.header)
|
|
209
|
-
}, [
|
|
210
|
-
L("div", Me, [
|
|
211
|
-
q(t(Z), {
|
|
212
|
-
class: "b-modal-page__title",
|
|
213
|
-
el: "span",
|
|
214
|
-
variant: "title",
|
|
215
|
-
stronger: ""
|
|
216
|
-
}, {
|
|
217
|
-
default: l(() => [
|
|
218
|
-
t(u)("default") ? d(s.$slots, "default", { key: 0 }, void 0, !0) : w("", !0)
|
|
219
|
-
]),
|
|
220
|
-
_: 3
|
|
221
|
-
})
|
|
222
|
-
])
|
|
223
|
-
], 4)
|
|
224
|
-
]),
|
|
225
|
-
key: "0"
|
|
226
|
-
} : void 0,
|
|
227
|
-
t(u)("actions") ? {
|
|
228
|
-
name: "footer",
|
|
229
|
-
fn: l(() => [
|
|
230
|
-
L("div", {
|
|
231
|
-
class: "b-modal-page__actions-container",
|
|
232
|
-
style: O(i.value.actions)
|
|
233
|
-
}, [
|
|
234
|
-
L("div", ze, [
|
|
235
|
-
d(s.$slots, "actions", {}, void 0, !0)
|
|
236
|
-
])
|
|
237
|
-
], 4)
|
|
238
|
-
]),
|
|
239
|
-
key: "1"
|
|
240
|
-
} : e.actions && e.actions.length > 0 ? {
|
|
241
|
-
name: "footer",
|
|
242
|
-
fn: l(() => [
|
|
243
|
-
L("div", {
|
|
244
|
-
class: "b-modal-page__actions-container",
|
|
245
|
-
style: O(i.value.actions)
|
|
246
|
-
}, [
|
|
247
|
-
q(t(Ie), {
|
|
248
|
-
actions: e.actions,
|
|
249
|
-
"actions-label": e.actionsLabel,
|
|
250
|
-
"destructive-actions": e.destructiveActions
|
|
251
|
-
}, null, 8, ["actions", "actions-label", "destructive-actions"])
|
|
252
|
-
], 4)
|
|
253
|
-
]),
|
|
254
|
-
key: "2"
|
|
255
|
-
} : void 0
|
|
256
|
-
]), 1032, ["class", "page-id", "always-show-border", "back-button-styling", "previous-page"]);
|
|
257
|
-
};
|
|
258
|
-
}
|
|
259
|
-
}), Ke = /* @__PURE__ */ oe(Ue, [["__scopeId", "data-v-20505cf1"]]), He = { class: "b-modal-base" }, Ye = ["role", "aria-label", "open"], Je = $({
|
|
260
|
-
i18n: { messages: ne },
|
|
261
|
-
name: "base-modal"
|
|
262
|
-
}), qe = /* @__PURE__ */ $({
|
|
263
|
-
...Je,
|
|
264
|
-
props: {
|
|
265
|
-
/**
|
|
266
|
-
* List of actions that will be used to render the buttons.
|
|
267
|
-
* First element in the list will be rendered as "primary".
|
|
268
|
-
* All elements after the first will be rendered as "secondary".
|
|
269
|
-
* But you may change the color of 1-st action to red with 'critial' key
|
|
270
|
-
* Not more than 3 action buttons can be provided
|
|
271
|
-
* Or 2 action buttons and 1 Label for them
|
|
272
|
-
*
|
|
273
|
-
* Each object in the list should have a `title`, an `event` and
|
|
274
|
-
* (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.
|
|
275
|
-
*
|
|
276
|
-
* `title`: Button's text.
|
|
277
|
-
*
|
|
278
|
-
* `event`: Event triggered when clicking the Button.
|
|
279
|
-
*
|
|
280
|
-
* `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.
|
|
281
|
-
*
|
|
282
|
-
* ```
|
|
283
|
-
* [{
|
|
284
|
-
* title: 'Primary',2
|
|
285
|
-
* event: () => { ... },
|
|
286
|
-
* icon: FourPeopleIcon
|
|
287
|
-
* }, {
|
|
288
|
-
* title: 'Secondary',
|
|
289
|
-
* event: () => { ... }
|
|
290
|
-
* }]
|
|
291
|
-
* ```
|
|
292
|
-
*/
|
|
293
|
-
actions: {
|
|
294
|
-
type: Array,
|
|
295
|
-
default: null
|
|
296
|
-
},
|
|
297
|
-
/**
|
|
298
|
-
* The id of the current active page
|
|
299
|
-
* Should be the same id as the BentoModalPage to be displayed
|
|
300
|
-
*/
|
|
301
|
-
activePage: {
|
|
302
|
-
type: String,
|
|
303
|
-
default: null
|
|
304
|
-
},
|
|
305
|
-
/**
|
|
306
|
-
* If a column layout is provided, it renders the respective left column width variant. This can be smaller than the second column, the same size as the second column or bigger than the second column.
|
|
307
|
-
*/
|
|
308
|
-
columnsSize: {
|
|
309
|
-
type: String,
|
|
310
|
-
default: k.SMALLER
|
|
311
|
-
},
|
|
312
|
-
/**
|
|
313
|
-
* If provided, manages the padding of the whole modal container
|
|
314
|
-
*/
|
|
315
|
-
customPadding: { type: String, default: null },
|
|
316
|
-
/**
|
|
317
|
-
* If passed - sets first button color to red
|
|
318
|
-
*/
|
|
319
|
-
destructiveActions: { type: Boolean, default: !1 },
|
|
320
|
-
/**
|
|
321
|
-
* Hides a cross icon on the right side of the title
|
|
322
|
-
*/
|
|
323
|
-
hideCloseButton: { type: Boolean, required: !0 },
|
|
324
|
-
/**
|
|
325
|
-
* Sets the open attribute on the dialog element, use isOpen instead to toggle modal visbility.
|
|
326
|
-
*/
|
|
327
|
-
initiallyOpen: { type: Boolean, default: !1 },
|
|
328
|
-
/**
|
|
329
|
-
* If set to true, it allows the modal to be closed by clicking outside of it
|
|
330
|
-
*/
|
|
331
|
-
isDismissible: { type: Boolean, required: !0 },
|
|
332
|
-
/**
|
|
333
|
-
* Controls the modal's state from the outside. Set it to true to open the modal
|
|
334
|
-
*/
|
|
335
|
-
isOpen: { type: Boolean, required: !0 },
|
|
336
|
-
/**
|
|
337
|
-
* Defines whether the modal will be an alert modal
|
|
338
|
-
*/
|
|
339
|
-
modalRole: { type: String, default: W.DIALOG },
|
|
340
|
-
/**
|
|
341
|
-
* Sets the width of the modal
|
|
342
|
-
*/
|
|
343
|
-
size: {
|
|
344
|
-
type: String,
|
|
345
|
-
default: R.SMALL
|
|
346
|
-
},
|
|
347
|
-
/**
|
|
348
|
-
* If provided, renders the modal's content in a two-column layout an wth dividers separating its content
|
|
349
|
-
*/
|
|
350
|
-
withColumnLayout: { type: Boolean, default: !1 }
|
|
351
|
-
},
|
|
352
|
-
emits: ["update:active-page", "close-modal"],
|
|
353
|
-
setup(e, { expose: j, emit: M }) {
|
|
354
|
-
const { t: p } = Le({ messages: ne }), n = ee(), z = ge(), y = ae(n), i = g(null), _ = g(!1), B = Ce("modal"), b = M, o = e, P = c(() => o.isDismissible && !o.hideCloseButton), C = g(o.customPadding), F = c(() => C.value ? { top: C.value, right: C.value } : {}), U = c(() => z["aria-label"] ?? p("ariaLabelFallback")), K = c(() => o.withColumnLayout && o.size === R.LARGE), h = () => {
|
|
355
|
-
i.value.showModal();
|
|
356
|
-
}, s = () => {
|
|
357
|
-
b("close-modal");
|
|
358
|
-
}, r = () => {
|
|
359
|
-
_.value && (i.value.close(), I.value[0] && b("update:active-page", I.value[0]), I.value = [], _.value = !1, s());
|
|
360
|
-
}, m = () => {
|
|
361
|
-
i.value.open && (_.value = !0);
|
|
362
|
-
}, v = (a) => {
|
|
363
|
-
a && a.preventDefault(), !(!o.isDismissible && o.modalRole === W.DIALOG) && m();
|
|
364
|
-
}, D = () => {
|
|
365
|
-
o.isDismissible && v();
|
|
366
|
-
}, T = c(() => ({
|
|
367
|
-
[`b-modal-base__container--${o.size}`]: o.size,
|
|
368
|
-
"b-modal-base__container--hide": _.value,
|
|
369
|
-
"b-modal-base__container--column-layout": K.value,
|
|
370
|
-
"b-modal-base__container--animation": X.value
|
|
371
|
-
}));
|
|
372
|
-
Y(
|
|
373
|
-
() => [o.isOpen, i.value],
|
|
374
|
-
([a, f], [, H]) => {
|
|
375
|
-
if (!f)
|
|
376
|
-
return;
|
|
377
|
-
a ? (h(), I.value.length || I.value.push(E.value)) : !H || m();
|
|
378
|
-
}
|
|
379
|
-
), Y(
|
|
380
|
-
() => o.actions,
|
|
381
|
-
() => {
|
|
382
|
-
var a, f;
|
|
383
|
-
((f = (a = o.actions) == null ? void 0 : a[0]) == null ? void 0 : f.state) === "success" && setTimeout(m, 500);
|
|
384
|
-
},
|
|
385
|
-
{ deep: !0 }
|
|
386
|
-
), fe(() => {
|
|
387
|
-
o.isOpen && i.value && h();
|
|
388
|
-
}), j({
|
|
389
|
-
internalModalActionClose: v
|
|
390
|
-
}), G(Ae, B);
|
|
391
|
-
const { activePage: E, isOpen: x, size: Q } = ve(o), le = g(Se.TRANSITION_LEVEL_DEEPER), N = g([]), I = g([]), ie = (a) => b("update:active-page", a), ue = (a) => () => {
|
|
392
|
-
var f;
|
|
393
|
-
N.value = (f = N.value) == null ? void 0 : f.filter((H) => H !== a);
|
|
394
|
-
}, ce = (a) => (a && N.value.push(a), { unregisterPage: ue(a) }), V = g(""), X = g(!1);
|
|
395
|
-
return G(se, {
|
|
396
|
-
activePage: E,
|
|
397
|
-
height: V,
|
|
398
|
-
isAnimationActive: X,
|
|
399
|
-
pageCustomPadding: C,
|
|
400
|
-
showCloseButton: P,
|
|
401
|
-
size: Q
|
|
402
|
-
}), G(Pe, {
|
|
403
|
-
activePage: E,
|
|
404
|
-
animation: le,
|
|
405
|
-
isOpen: x,
|
|
406
|
-
pages: N,
|
|
407
|
-
previousPages: I,
|
|
408
|
-
updatePage: ie
|
|
409
|
-
}), G(De, ce), (a, f) => (A(), pe("div", He, [
|
|
410
|
-
L("dialog", {
|
|
411
|
-
ref_key: "modal",
|
|
412
|
-
ref: i,
|
|
413
|
-
role: e.modalRole,
|
|
414
|
-
"aria-label": U.value,
|
|
415
|
-
style: O({ height: V.value }),
|
|
416
|
-
class: J(["b-modal-base__container", T.value]),
|
|
417
|
-
open: e.initiallyOpen,
|
|
418
|
-
onAnimationend: r,
|
|
419
|
-
onKeydown: ye(v, ["esc"])
|
|
420
|
-
}, [
|
|
421
|
-
t(x) || e.initiallyOpen ? _e((A(), S(t(he), {
|
|
422
|
-
key: 0,
|
|
423
|
-
id: t(B)
|
|
424
|
-
}, {
|
|
425
|
-
default: l(() => [
|
|
426
|
-
P.value ? (A(), S(t(be), {
|
|
427
|
-
key: 0,
|
|
428
|
-
class: "b-modal-base__close-button",
|
|
429
|
-
variant: "tertiary",
|
|
430
|
-
type: "button",
|
|
431
|
-
style: O(F.value),
|
|
432
|
-
onClick: v
|
|
433
|
-
}, {
|
|
434
|
-
default: l(() => [
|
|
435
|
-
q(t(Ne), {
|
|
436
|
-
"svg-title": t(p)("close")
|
|
437
|
-
}, null, 8, ["svg-title"])
|
|
438
|
-
]),
|
|
439
|
-
_: 1
|
|
440
|
-
}, 8, ["style"])) : w("", !0),
|
|
441
|
-
o.activePage ? d(a.$slots, "default", { key: 1 }, void 0, !0) : (A(), S(t(Ke), {
|
|
442
|
-
key: 2,
|
|
443
|
-
"with-column-layout": e.withColumnLayout,
|
|
444
|
-
size: t(Q),
|
|
445
|
-
"custom-padding": e.customPadding,
|
|
446
|
-
"columns-size": e.columnsSize
|
|
447
|
-
}, te({ _: 2 }, [
|
|
448
|
-
t(y)("default") ? {
|
|
449
|
-
name: "default",
|
|
450
|
-
fn: l(() => [
|
|
451
|
-
d(a.$slots, "default", {}, void 0, !0)
|
|
452
|
-
]),
|
|
453
|
-
key: "0"
|
|
454
|
-
} : void 0,
|
|
455
|
-
t(y)("content-col-1") ? {
|
|
456
|
-
name: "content-col-1",
|
|
457
|
-
fn: l(() => [
|
|
458
|
-
d(a.$slots, "content-col-1", {}, void 0, !0)
|
|
459
|
-
]),
|
|
460
|
-
key: "1"
|
|
461
|
-
} : void 0,
|
|
462
|
-
t(y)("content-col-2") ? {
|
|
463
|
-
name: "content-col-2",
|
|
464
|
-
fn: l(() => [
|
|
465
|
-
d(a.$slots, "content-col-2", {}, void 0, !0)
|
|
466
|
-
]),
|
|
467
|
-
key: "2"
|
|
468
|
-
} : void 0,
|
|
469
|
-
t(y)("content") ? {
|
|
470
|
-
name: "content",
|
|
471
|
-
fn: l(() => [
|
|
472
|
-
d(a.$slots, "content", {}, void 0, !0)
|
|
473
|
-
]),
|
|
474
|
-
key: "3"
|
|
475
|
-
} : void 0,
|
|
476
|
-
t(y)("actions") ? {
|
|
477
|
-
name: "actions",
|
|
478
|
-
fn: l(() => [
|
|
479
|
-
d(a.$slots, "actions", {}, void 0, !0)
|
|
480
|
-
]),
|
|
481
|
-
key: "4"
|
|
482
|
-
} : void 0
|
|
483
|
-
]), 1032, ["with-column-layout", "size", "custom-padding", "columns-size"]))
|
|
484
|
-
]),
|
|
485
|
-
_: 3
|
|
486
|
-
}, 8, ["id"])), [
|
|
487
|
-
[t(Ee), D]
|
|
488
|
-
]) : w("", !0)
|
|
489
|
-
], 46, Ye)
|
|
490
|
-
]));
|
|
491
|
-
}
|
|
492
|
-
}), ct = /* @__PURE__ */ oe(qe, [["__scopeId", "data-v-55c8c255"]]);
|
|
493
|
-
export {
|
|
494
|
-
Ke as B,
|
|
495
|
-
Ge as a,
|
|
496
|
-
we as b,
|
|
497
|
-
R as c,
|
|
498
|
-
k as d,
|
|
499
|
-
W as e,
|
|
500
|
-
Re as f,
|
|
501
|
-
$e as g,
|
|
502
|
-
ct as h
|
|
503
|
-
};
|
|
504
|
-
//# sourceMappingURL=base-modal.BXdrZf3U.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base-modal.BXdrZf3U.js","sources":["../../../vue2/src/components/modal/modal.types.ts","../../../vue2/src/components/modal/modal.keys.ts","../../../vue2/src/components/modal/components/modal-page/modal-page.vue","../../../vue2/src/components/modal/components/base-modal/base-modal.vue"],"sourcesContent":["import { ComputedRef, Ref } from 'vue';\n\n/**\n * Public\n */\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoModalVariant {\n DEFAULT = 'default',\n DIALOG = 'dialog',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoModalVariantMapping {\n DEFAULT = 'BentoModalDefault',\n DIALOG = 'BentoModalDialog',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoModalSize {\n SMALL = 'small',\n MEDIUM = 'medium',\n LARGE = 'large',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoModalColumnLayoutVariant {\n SMALLER = 'smaller',\n EQUAL = 'equal',\n BIGGER = 'bigger',\n}\n\nexport enum BentoModalRole {\n DIALOG = 'dialog',\n ALERT_DIALOG = 'alertdialog',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoModalDialogType {\n CONFIRMATION = 'confirmation',\n DESTRUCTIVE = 'destructive',\n INFO = 'info',\n ACKNOWLEDGEMENT = 'acknowledgement',\n}\n\nexport enum BentoModalEvent {\n CLOSE_MODAL = 'close-modal',\n}\n\n/**\n * Private\n */\nexport interface BentoModalConfigData {\n activePage: Ref<string>;\n height: Ref<string>;\n isAnimationActive: Ref<boolean>;\n pageCustomPadding: Ref<string>;\n showCloseButton: ComputedRef<boolean>;\n size: Ref<BentoModalSize | `${BentoModalSize}`>;\n}\n","export const MODAL_CONFIG_INJECTION_KEY = Symbol('modal config data injection key');\n","<template>\n <dialog-page\n ref=\"page\"\n class=\"b-modal-page\"\n :class=\"modalPageConditionalClasses\"\n :page-id=\"pageId\"\n :always-show-border=\"hasColumnLayout\"\n :back-button-styling=\"customPaddingStyles?.backButton\"\n :previous-page=\"previousPage\"\n @animationend=\"isAnimationActive = false\"\n >\n <template v-if=\"hasSlot('default') || showCloseButton\" #header>\n <div class=\"b-modal-page__header-container\" :style=\"customPaddingStyles.header\">\n <div class=\"b-modal-page__header\">\n <bento-typography class=\"b-modal-page__title\" el=\"span\" variant=\"title\" stronger>\n <slot v-if=\"hasSlot('default')\" />\n </bento-typography>\n </div>\n </div>\n </template>\n\n <template #content>\n <div\n class=\"b-modal-page__content\"\n :class=\"modalContentConditionalClasses\"\n :style=\"customPaddingStyles.content\"\n >\n <bento-typography\n v-if=\"hasSlot('content') || (hasSlot('content-col-1') && hasSlot('content-col-2'))\"\n el=\"div\"\n >\n <grid-layout\n v-if=\"hasColumnLayout\"\n :column-width=\"computedColumnWidth\"\n :container-type=\"GridLayoutContainerType.NORMAL\"\n no-gap\n class=\"b-modal-page__grid\"\n >\n <template #col-1><slot name=\"content-col-1\"></slot></template>\n <template #col-2><slot name=\"content-col-2\"></slot></template>\n </grid-layout>\n <slot v-else name=\"content\" />\n </bento-typography>\n </div>\n </template>\n <template v-if=\"hasSlot('actions')\" #footer>\n <div class=\"b-modal-page__actions-container\" :style=\"customPaddingStyles.actions\">\n <div aria-label=\"modal actions\" class=\"b-modal-page__actions\">\n <slot name=\"actions\" />\n </div>\n </div>\n </template>\n <template v-else-if=\"actions && actions.length > 0\" #footer>\n <div class=\"b-modal-page__actions-container\" :style=\"customPaddingStyles.actions\">\n <footer-actions\n :actions=\"actions\"\n :actions-label=\"actionsLabel\"\n :destructive-actions=\"destructiveActions\"\n />\n </div>\n </template>\n </dialog-page>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, defineComponent, inject, nextTick, onUnmounted, PropType, ref, useSlots, watch } from 'vue';\n import {\n BentoModalColumnLayoutVariant,\n BentoModalConfigData,\n BentoModalSize,\n } from '@/components/modal/modal.types';\n import { BentoTypography } from '@/components/typography';\n import { BentoButtonActionsList } from '@/components/button';\n import { GridLayout, GridLayoutContainerType } from '@/internal';\n import { useHasSlot } from '@/composables';\n\n import { FooterActions } from '@/components/internal/footer-actions';\n\n import DialogPage from '@/internal/dialog-page/dialog-page.vue';\n import { MODAL_CONFIG_INJECTION_KEY } from '../../modal.keys';\n import { observeSizeOfElement } from '@/utils/ts/resize';\n\n const CLOSE_BUTTON_ICON_WIDTH = 26;\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n const page = ref<InstanceType<typeof DialogPage>>(null);\n\n const props = defineProps({\n /**\n * List of actions that will be used to render the buttons.\n * First element in the list will be rendered as \"primary\".\n * All elements after the first will be rendered as \"secondary\".\n * But you may change the color of 1-st action to red with 'critial' key\n * Not more than 3 action buttons can be provided\n * Or 2 action buttons and 1 Label for them\n *\n * Each object in the list should have a `title`, an `event` and\n * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.\n *\n * `title`: Button's text.\n *\n * `event`: Event triggered when clicking the Button.\n *\n * `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.\n *\n * ```\n * [{\n * title: 'Primary',2\n * event: () => { ... },\n * icon: FourPeopleIcon\n * }, {\n * title: 'Secondary',\n * event: () => { ... }\n * }]\n * ```\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: null,\n },\n\n /**\n * Text label that is displayed left to the action buttons\n */\n actionsLabel: { type: String, default: null },\n\n /**\n * If a column layout is provided, it renders the respective left column width variant. This can be smaller than the second column, the same size as the second column or bigger than the second column.\n */\n columnsSize: {\n type: String as PropType<BentoModalColumnLayoutVariant>,\n default: BentoModalColumnLayoutVariant.SMALLER,\n },\n\n /**\n * If provided, manages the padding of the whole modal container\n */\n customPadding: { type: String, default: null },\n\n /**\n * If passed - sets first button color to red\n */\n destructiveActions: { type: Boolean, default: false },\n\n /**\n * If provided, renders the modal's content in a two-column layout an wth dividers separating its content\n */\n withColumnLayout: { type: Boolean, default: false },\n\n /**\n * Identifier of the page, used with activePage prop to handle modal navigation\n */\n pageId: {\n type: String,\n default: undefined,\n },\n\n /**\n * ID of the page for the back button to navigate to. Only use it to overwrite the default back behavior\n * Used when the back button should not take the user to the natural previous page\n * Set to `null` to hide back button in the page\n */\n previousPage: {\n type: String,\n default: undefined,\n },\n });\n\n const modalPageConditionalClasses = computed(() => ({\n 'b-modal-page--custom-padding': props.customPadding,\n }));\n\n const modalContentConditionalClasses = computed(() => ({\n 'b-modal-page__content--with-header': hasSlot('default'),\n 'b-modal-page__content--with-actions': hasSlot('actions') || props.actions?.length,\n }));\n\n // Setting custom padding styles\n const customPaddingStyles = computed(() => {\n if (!props.customPadding) {\n return {};\n }\n\n const xPadding = {\n paddingLeft: props.customPadding,\n paddingRight: props.customPadding,\n };\n\n const content = { ...xPadding, paddingTop: undefined, paddingBottom: undefined };\n\n if (!hasSlot('default')) {\n content.paddingTop = props.customPadding;\n }\n\n if (!hasSlot('actions')) {\n content.paddingBottom = props.customPadding;\n }\n\n return {\n header: {\n ...xPadding,\n paddingTop: props.customPadding,\n paddingRight: `${parseInt(props.customPadding, 10) + CLOSE_BUTTON_ICON_WIDTH}px`,\n flex: 1,\n },\n content,\n actions: { ...xPadding, paddingBottom: props.customPadding },\n backButton: { top: props.customPadding, paddingLeft: props.customPadding },\n };\n });\n\n // Column layout styles\n const hasColumnLayout = computed(() => props.withColumnLayout && size.value === BentoModalSize.LARGE);\n\n const computedColumnWidth = computed(() => {\n if (props.columnsSize === BentoModalColumnLayoutVariant.SMALLER) {\n return [\n { small: 4, medium: 4, large: 4 },\n { small: 8, medium: 8, large: 8 },\n ];\n }\n if (props.columnsSize === BentoModalColumnLayoutVariant.BIGGER) {\n return [\n { small: 8, medium: 8, large: 8 },\n { small: 4, medium: 4, large: 4 },\n ];\n }\n return [\n { small: 6, medium: 6, large: 6 },\n { small: 6, medium: 6, large: 6 },\n ];\n });\n\n // Register page to parent component and inject data from parent component\n const { activePage, height, isAnimationActive, pageCustomPadding, showCloseButton, size } =\n inject<BentoModalConfigData>(MODAL_CONFIG_INJECTION_KEY);\n\n const isCurrentPage = computed(() => activePage.value === props.pageId || !activePage.value);\n\n // Animation\n // Set resize observer on mount of update the height of the dialog on resize\n let pageElementObserver: ResizeObserver | null = null;\n\n // Watching activePage changes to set the height of the page and set isAnimationActive\n watch(\n () => activePage.value,\n async (value, oldValue) => {\n if (isCurrentPage.value) {\n await nextTick();\n height.value = `${page.value?.$el?.clientHeight}px`;\n pageCustomPadding.value = props.customPadding;\n // only set isAnimationActive to true if its going from two different pages and not from null to the first page\n isAnimationActive.value = oldValue !== undefined;\n\n pageElementObserver = observeSizeOfElement(page.value, () => {\n const pageHeight = `${page.value?.$el?.clientHeight}px`;\n if (pageHeight && pageHeight !== height.value) {\n height.value = pageHeight;\n }\n });\n }\n },\n { immediate: true }\n );\n\n // Disconnect observer on unmounting the page\n onUnmounted(() => {\n pageElementObserver?.disconnect();\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * ModalPage is used to render different pages of the Modal component\n *\n * @example\n * import { BentoModal, BentoModalPage } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoModal, BentoModalPage },\n * template: `\n * <bento-modal active-page='page1' :is-open='true'>\n * <bento-modal-page\n * pageId='page1'\n * actions-label='Move to next page'\n * :actions=\"[\n * {\n * title: 'Next page',\n * event: () => {\n * activePage.value = 'page2';\n * },\n * }]\">\n * Page 1\n * <template #content>\n * Page 1 content\n * </template>\n * </bento-modal-page>\n * <bento-modal-page\n * pageId='page2'\n * :actions=\"[\n * {\n * title: 'Save',\n * event: () => {},\n * }]\">\n * Page 2\n * <template #content>\n * Page 2 content\n * </template>\n * </bento-modal-page>\n * </bento-modal>\n * `\n * }\n */\n export default defineComponent({});\n</script>\n\n<style lang=\"scss\" scoped src=\"./modal-page.scss\" />\n","<template>\n <div class=\"b-modal-base\">\n <dialog\n ref=\"modal\"\n :role=\"modalRole\"\n :aria-label=\"computedAriaLabel\"\n :style=\"{ height: height }\"\n class=\"b-modal-base__container\"\n :class=\"modalConditionalClasses\"\n :open=\"initiallyOpen\"\n @animationend=\"closeModalAfterAnimation\"\n @keydown.esc=\"internalModalActionClose\"\n >\n <bento-focus-trap\n v-if=\"isOpen || initiallyOpen\"\n :id=\"modalId\"\n v-bento-click-outside-directive=\"closeModalOnClickOutside\"\n >\n <bento-button\n v-if=\"showCloseButton\"\n class=\"b-modal-base__close-button\"\n variant=\"tertiary\"\n type=\"button\"\n :style=\"customPaddingStyles\"\n @click=\"internalModalActionClose\"\n >\n <cross-icon :svg-title=\"t('close')\" />\n </bento-button>\n <template v-if=\"props.activePage\">\n <slot />\n </template>\n <bento-modal-page\n v-else\n :with-column-layout=\"withColumnLayout\"\n :size=\"size\"\n :custom-padding=\"customPadding\"\n :columns-size=\"columnsSize\"\n >\n <template v-if=\"hasSlot('default')\" #default>\n <slot></slot>\n </template>\n <template v-if=\"hasSlot('content-col-1')\" #content-col-1\n ><slot name=\"content-col-1\"></slot\n ></template>\n <template v-if=\"hasSlot('content-col-2')\" #content-col-2\n ><slot name=\"content-col-2\"></slot\n ></template>\n <template v-if=\"hasSlot('content')\" #content><slot name=\"content\"></slot></template>\n <template v-if=\"hasSlot('actions')\" #actions><slot name=\"actions\"></slot></template>\n </bento-modal-page>\n </bento-focus-trap>\n </dialog>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import {\n computed,\n defineComponent,\n onMounted,\n PropType,\n provide,\n ref,\n toRefs,\n useAttrs,\n useSlots,\n watch,\n } from 'vue';\n import {\n BentoModalColumnLayoutVariant,\n BentoModalConfigData,\n BentoModalRole,\n BentoModalSize,\n } from '@/components/modal/modal.types';\n import { BentoButton, BentoButtonActionsList } from '@/components/button';\n import { BentoFocusTrap } from '@/components/focus-trap';\n import { useHasSlot } from '@/composables';\n import { useI18n } from '@/utils/ts/i18n';\n import { MODAL_DIALOG_ID_INJECTION_KEY } from '@/components/modal/components/base-modal/base-modal.keys';\n import { generateUid } from '@/core/utils/ts';\n import { BentoClickOutsideDirective as vBentoClickOutsideDirective } from '@/directives/click-outside';\n import messages from './messages.json';\n\n import { BentoModalPage } from '@/components/modal';\n import CrossIcon from '@adyen/ui-assets-icons-16/vue/cross';\n\n import { MODAL_CONFIG_INJECTION_KEY } from '../../modal.keys';\n import {\n BentoDialogPageAnimation,\n BentoDialogPageConfigData,\n BentoDialogPageRegisterPage,\n DIALOG_PAGE_CONFIG_INJECTION_KEY,\n DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY,\n } from '@/internal';\n\n type MessageSchema = (typeof messages)['en-US'];\n const LOADING_BTN_CLOSE_AFTER_SUCCESS_DELAY_TIME = 500;\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n const slots = useSlots();\n const attrs = useAttrs();\n const hasSlot = useHasSlot(slots);\n const modal = ref<HTMLDialogElement>(null);\n const isClosing = ref(false);\n const modalId = generateUid('modal');\n\n const emit = defineEmits<{\n /**\n * Emits update event when page is changed internally\n */\n (e: 'update:active-page', page: string): void;\n /**\n * Emitted when the modal is closed.\n */\n (e: 'close-modal');\n }>();\n\n const props = defineProps({\n /**\n * List of actions that will be used to render the buttons.\n * First element in the list will be rendered as \"primary\".\n * All elements after the first will be rendered as \"secondary\".\n * But you may change the color of 1-st action to red with 'critial' key\n * Not more than 3 action buttons can be provided\n * Or 2 action buttons and 1 Label for them\n *\n * Each object in the list should have a `title`, an `event` and\n * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.\n *\n * `title`: Button's text.\n *\n * `event`: Event triggered when clicking the Button.\n *\n * `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.\n *\n * ```\n * [{\n * title: 'Primary',2\n * event: () => { ... },\n * icon: FourPeopleIcon\n * }, {\n * title: 'Secondary',\n * event: () => { ... }\n * }]\n * ```\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: null,\n },\n\n /**\n * The id of the current active page\n * Should be the same id as the BentoModalPage to be displayed\n */\n activePage: {\n type: String,\n default: null,\n },\n\n /**\n * If a column layout is provided, it renders the respective left column width variant. This can be smaller than the second column, the same size as the second column or bigger than the second column.\n */\n columnsSize: {\n type: String as PropType<BentoModalColumnLayoutVariant>,\n default: BentoModalColumnLayoutVariant.SMALLER,\n },\n\n /**\n * If provided, manages the padding of the whole modal container\n */\n customPadding: { type: String, default: null },\n\n /**\n * If passed - sets first button color to red\n */\n destructiveActions: { type: Boolean, default: false },\n\n /**\n * Hides a cross icon on the right side of the title\n */\n hideCloseButton: { type: Boolean, required: true },\n\n /**\n * Sets the open attribute on the dialog element, use isOpen instead to toggle modal visbility.\n */\n initiallyOpen: { type: Boolean, default: false },\n\n /**\n * If set to true, it allows the modal to be closed by clicking outside of it\n */\n isDismissible: { type: Boolean, required: true },\n\n /**\n * Controls the modal's state from the outside. Set it to true to open the modal\n */\n isOpen: { type: Boolean, required: true },\n\n /**\n * Defines whether the modal will be an alert modal\n */\n modalRole: { type: String, default: BentoModalRole.DIALOG },\n\n /**\n * Sets the width of the modal\n */\n size: {\n type: String as PropType<BentoModalSize | `${BentoModalSize}`>,\n default: BentoModalSize.SMALL,\n },\n\n /**\n * If provided, renders the modal's content in a two-column layout an wth dividers separating its content\n */\n withColumnLayout: { type: Boolean, default: false },\n });\n\n const showCloseButton = computed(() => props.isDismissible && !props.hideCloseButton);\n\n const pageCustomPadding = ref(props.customPadding);\n\n const customPaddingStyles = computed(() => {\n if (!pageCustomPadding.value) {\n return {};\n }\n\n return { top: pageCustomPadding.value, right: pageCustomPadding.value };\n });\n\n const computedAriaLabel = computed(() => (attrs['aria-label'] as string) ?? (t('ariaLabelFallback') as string));\n const hasColumnLayout = computed(() => props.withColumnLayout && props.size === BentoModalSize.LARGE);\n\n const openModal = (): void => {\n modal.value.showModal();\n };\n\n const emitCloseEvent = (): void => {\n emit('close-modal');\n };\n\n // Handle closing and closing animation for dialog element\n const closeModalAfterAnimation = () => {\n if (isClosing.value) {\n modal.value.close();\n if (previousPages.value[0]) {\n emit('update:active-page', previousPages.value[0]);\n }\n previousPages.value = [];\n isClosing.value = false;\n emitCloseEvent();\n }\n };\n\n const startCloseModalAnimation = () => {\n if (!modal.value.open) {\n return;\n }\n isClosing.value = true;\n };\n\n /**\n * If the user has pressed escape, clicked outside or clicked the close icon.\n * Needs to be called from outside, following the \"dialog.close()\" pattern,\n * when the closing event is triggered outside of the \"base-modal\"\n * component (e.g. from a closing action).\n */\n const internalModalActionClose = (event?: Event) => {\n if (event) {\n event.preventDefault();\n }\n if (!props.isDismissible && props.modalRole === BentoModalRole.DIALOG) {\n return;\n }\n startCloseModalAnimation();\n };\n\n const closeModalOnClickOutside = () => {\n if (props.isDismissible) {\n internalModalActionClose();\n }\n };\n\n const modalConditionalClasses = computed(() => ({\n [`b-modal-base__container--${props.size}`]: props.size,\n 'b-modal-base__container--hide': isClosing.value,\n 'b-modal-base__container--column-layout': hasColumnLayout.value,\n 'b-modal-base__container--animation': isAnimationActive.value,\n }));\n\n watch(\n () => [props.isOpen, modal.value],\n ([newIsOpen, newModalValue], [, oldModalValue]): void => {\n if (!newModalValue) {\n return;\n }\n\n const isFirstMutation = !oldModalValue;\n if (newIsOpen) {\n openModal();\n // add the first page to the array when the modal opens\n if (!previousPages.value.length) {\n previousPages.value.push(activePage.value);\n }\n } else if (!isFirstMutation) {\n startCloseModalAnimation();\n }\n }\n );\n\n // If the first button is a loading button then close the modal have 0.5 seconds\n // if the state is changed to 'success'.\n watch(\n () => props.actions,\n () => {\n if (props.actions?.[0]?.state === 'success') {\n setTimeout(startCloseModalAnimation, LOADING_BTN_CLOSE_AFTER_SUCCESS_DELAY_TIME);\n }\n },\n { deep: true }\n );\n\n onMounted(() => {\n if (props.isOpen && modal.value) {\n openModal();\n }\n });\n\n /**\n * Expose methods through its 'ref'\n */\n defineExpose({\n internalModalActionClose,\n });\n\n // Let's Children components know they are inside a Modal (dialog element)\n provide(MODAL_DIALOG_ID_INJECTION_KEY, modalId);\n\n // Modal pagination\n const { activePage, isOpen, size } = toRefs(props);\n const animation = ref(BentoDialogPageAnimation.TRANSITION_LEVEL_DEEPER);\n\n const pages = ref<string[]>([]);\n const previousPages = ref([]);\n\n const updatePage = page => emit('update:active-page', page);\n\n // unregister page if removed / destroyed\n const unregisterPage = (pageIdToRemove: string) => () => {\n pages.value = pages.value?.filter(pageId => pageId !== pageIdToRemove);\n };\n\n // Provide data and function to register page to subcomponent\n const registerPage: BentoDialogPageRegisterPage = pageId => {\n if (pageId) {\n pages.value.push(pageId);\n }\n\n return { unregisterPage: unregisterPage(pageId) };\n };\n\n const height = ref('');\n const isAnimationActive = ref(false);\n\n provide<BentoModalConfigData>(MODAL_CONFIG_INJECTION_KEY, {\n activePage,\n height,\n isAnimationActive,\n pageCustomPadding,\n showCloseButton,\n size,\n });\n\n provide<BentoDialogPageConfigData>(DIALOG_PAGE_CONFIG_INJECTION_KEY, {\n activePage,\n animation,\n isOpen,\n pages,\n previousPages,\n updatePage,\n });\n\n provide(DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY, registerPage);\n</script>\n\n<script lang=\"ts\">\n /**\n * Dialog container. It creates a dialog HTML element for the modal to use.\n *\n * @example\n * import BaseModal from './components/base-modal/base-modal.vue';\n *\n * export default {\n * components: { BaseModal },\n * template: `\n * <base-modal\n * :hide-close-button=\"true\"\n * :is-dismissible=\"false\"\n * :is-open=\"isOpen\"\n * @close-modal=\"isOpen = false\"\n * >\n * <template #content-col-1>\n * // Content on the left side column\n * </template>\n *\n * <template #content-col-2>\n * // Content on the right side column\n * </template>\n *\n * <template v-if=\"actions\" #actions>\n * <footer-actions :actions=\"actions\" />\n * </template>\n * </base-modal>\n * `,\n * setup() {\n * const isOpen = ref(true)\n * const footerActions = [{\n * title: 'Primary action',\n * event: () => { ... }\n * }]\n * }\n * }\n */\n export default defineComponent({\n i18n: { messages },\n name: 'base-modal',\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./base-modal.scss\" />\n"],"names":["BentoModalVariant","BentoModalVariant2","BentoModalVariantMapping","BentoModalVariantMapping2","BentoModalSize","BentoModalSize2","BentoModalColumnLayoutVariant","BentoModalColumnLayoutVariant2","BentoModalRole","BentoModalRole2","BentoModalDialogType","BentoModalDialogType2","BentoModalEvent","BentoModalEvent2","MODAL_CONFIG_INJECTION_KEY","__default__$1","defineComponent","slots","useSlots","hasSlot","useHasSlot","page","ref","props","__props","modalPageConditionalClasses","computed","modalContentConditionalClasses","_a","customPaddingStyles","xPadding","content","hasColumnLayout","size","computedColumnWidth","activePage","height","isAnimationActive","pageCustomPadding","showCloseButton","inject","isCurrentPage","pageElementObserver","watch","value","oldValue","nextTick","_b","observeSizeOfElement","pageHeight","onUnmounted","__default__","messages","t","useI18n","attrs","useAttrs","modal","isClosing","modalId","generateUid","emit","__emit","computedAriaLabel","openModal","emitCloseEvent","closeModalAfterAnimation","previousPages","startCloseModalAnimation","internalModalActionClose","event","closeModalOnClickOutside","modalConditionalClasses","newIsOpen","newModalValue","oldModalValue","onMounted","__expose","provide","MODAL_DIALOG_ID_INJECTION_KEY","isOpen","toRefs","animation","BentoDialogPageAnimation","pages","updatePage","unregisterPage","pageIdToRemove","pageId","registerPage","DIALOG_PAGE_CONFIG_INJECTION_KEY","DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY"],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base-modal.keys.C2PQXcE2.js","sources":["../../../vue2/src/components/modal/components/base-modal/base-modal.keys.ts"],"sourcesContent":["export const MODAL_DIALOG_ID_INJECTION_KEY = Symbol('modal injection key');\n"],"names":["MODAL_DIALOG_ID_INJECTION_KEY"],"mappings":"AAAa,MAAAA,IAAgC,OAAO,qBAAqB;"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/* empty css */
|
|
2
|
-
import { createElementBlock as r, openBlock as s, mergeProps as l, createCommentVNode as n, createElementVNode as o, toDisplayString as C } from "vue";
|
|
3
|
-
import { _ as p } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
4
|
-
let i = 0;
|
|
5
|
-
const H = {
|
|
6
|
-
beforeCreate() {
|
|
7
|
-
this.uuid = i.toString(), i += 1;
|
|
8
|
-
}
|
|
9
|
-
}, a = { key: 0 };
|
|
10
|
-
function m(e, t, d, u, f, L) {
|
|
11
|
-
return s(), r("svg", l({ role: "img" }, e.$attrs, {
|
|
12
|
-
class: "ui-assets-icons-16",
|
|
13
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
-
width: "16",
|
|
15
|
-
height: "16",
|
|
16
|
-
fill: "none"
|
|
17
|
-
}), [
|
|
18
|
-
e.$attrs["svg-title"] ? (s(), r("title", a, C(e.$attrs["svg-title"]), 1)) : n("", !0),
|
|
19
|
-
t[0] || (t[0] = o("path", {
|
|
20
|
-
fill: "#00112C",
|
|
21
|
-
d: "M7.25 6.25H5.75V12.75H7.25V6.25Z"
|
|
22
|
-
}, null, -1)),
|
|
23
|
-
t[1] || (t[1] = o("path", {
|
|
24
|
-
fill: "#00112C",
|
|
25
|
-
d: "M8.75 6.25H10.25V12.75H8.75V6.25Z"
|
|
26
|
-
}, null, -1)),
|
|
27
|
-
t[2] || (t[2] = o("path", {
|
|
28
|
-
fill: "#00112C",
|
|
29
|
-
d: "M14.75 3.24999H12.54L12.05 1.74999C11.9 1.29999 11.61 0.92999 11.22 0.64999C10.83 0.37999 10.34 0.24999 9.92 0.23999H6.09C5.64 0.23999 5.17 0.37999 4.78 0.64999C4.39 0.91999 4.11 1.29999 3.95 1.75999L3.46 3.23999H1.25V4.73999H2.32L3.14 13.7C3.19 14.26 3.45 14.78 3.86 15.16C4.27 15.54 4.81 15.75 5.37 15.75H10.64C11.2 15.75 11.74 15.54 12.15 15.16C12.57 14.78 12.82 14.26 12.87 13.7L13.69 4.73999H14.76V3.23999L14.75 3.24999ZM5.37 2.24999C5.42 2.09999 5.52 1.97999 5.64 1.88999C5.77 1.79999 5.92 1.74999 6.08 1.75999H9.93C10.08 1.75999 10.23 1.80999 10.35 1.88999C10.48 1.97999 10.57 2.09999 10.62 2.23999L10.95 3.25999H5.02L5.35 2.25999L5.37 2.24999ZM11.37 13.58C11.35 13.77 11.27 13.94 11.13 14.06C10.99 14.19 10.81 14.25 10.63 14.25H5.36C5.17 14.25 5 14.18 4.86 14.06C4.72 13.93 4.64 13.76 4.62 13.57L3.81 4.74999H12.17L11.36 13.57L11.37 13.58Z"
|
|
30
|
-
}, null, -1))
|
|
31
|
-
], 16);
|
|
32
|
-
}
|
|
33
|
-
const w = /* @__PURE__ */ p(H, [["render", m]]);
|
|
34
|
-
export {
|
|
35
|
-
w as B
|
|
36
|
-
};
|
|
37
|
-
//# sourceMappingURL=bin.CA6UQCNZ.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bin.CA6UQCNZ.js","sources":["../../../ui-assets/icons-16/dist/vue/bin.vue"],"sourcesContent":["\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><path fill=\"#00112C\" d=\"M7.25 6.25H5.75V12.75H7.25V6.25Z\"/><path fill=\"#00112C\" d=\"M8.75 6.25H10.25V12.75H8.75V6.25Z\"/><path fill=\"#00112C\" d=\"M14.75 3.24999H12.54L12.05 1.74999C11.9 1.29999 11.61 0.92999 11.22 0.64999C10.83 0.37999 10.34 0.24999 9.92 0.23999H6.09C5.64 0.23999 5.17 0.37999 4.78 0.64999C4.39 0.91999 4.11 1.29999 3.95 1.75999L3.46 3.23999H1.25V4.73999H2.32L3.14 13.7C3.19 14.26 3.45 14.78 3.86 15.16C4.27 15.54 4.81 15.75 5.37 15.75H10.64C11.2 15.75 11.74 15.54 12.15 15.16C12.57 14.78 12.82 14.26 12.87 13.7L13.69 4.73999H14.76V3.23999L14.75 3.24999ZM5.37 2.24999C5.42 2.09999 5.52 1.97999 5.64 1.88999C5.77 1.79999 5.92 1.74999 6.08 1.75999H9.93C10.08 1.75999 10.23 1.80999 10.35 1.88999C10.48 1.97999 10.57 2.09999 10.62 2.23999L10.95 3.25999H5.02L5.35 2.25999L5.37 2.24999ZM11.37 13.58C11.35 13.77 11.27 13.94 11.13 14.06C10.99 14.19 10.81 14.25 10.63 14.25H5.36C5.17 14.25 5 14.18 4.86 14.06C4.72 13.93 4.64 13.76 4.62 13.57L3.81 4.74999H12.17L11.36 13.57L11.37 13.58Z\"/></svg>\n</template>\n<script>\n import '../css/main.css';\n\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n"],"names":["uuid","_sfc_main","_openBlock","_createElementBlock","_mergeProps","_ctx","_hoisted_1","_createCommentVNode","_createElementVNode"],"mappings":";;;AAOI,IAAIA,IAAO;AAEX,MAAKC,IAAU;AAAA,EACX,eAAe;AACX,SAAK,OAAOD,EAAK,SAAU,GAC3BA,KAAQ;AAAA,EACX;AACJ,SAdL,KAAA,EAAA;;AAEI,SAAAE,EAAA,GAAAC,EAA2qC,OAA3qCC,EAA2qC,EAAtqC,MAAK,MAAK,GAASC,EAAM,QAAA;AAAA,IAAE,OAAM;AAAA,IAAqB,OAAM;AAAA,IAA6B,OAAM;AAAA,IAAK,QAAO;AAAA,IAAK,MAAK;AAAA;IAAoBA,EAAM,OAAA,WAAA,UAAnBF,EAAmE,SAFxMG,KAE0KD,EAAM,OAAA,WAAA,CAAA,GAAA,CAAA,KAFhLE,EAAA,IAAA,EAAA;AAAA,oBAEwMC,EAA2D,QAAA;AAAA,MAArD,MAAK;AAAA,MAAU,GAAE;AAAA;oBAAoCA,EAA4D,QAAA;AAAA,MAAtD,MAAK;AAAA,MAAU,GAAE;AAAA;oBAAqCA,EAA02B,QAAA;AAAA,MAAp2B,MAAK;AAAA,MAAU,GAAE;AAAA;;;;"}
|