@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,466 +0,0 @@
|
|
|
1
|
-
import { defineComponent as v, useSlots as T, onMounted as O, provide as P, toRef as Y, createElementBlock as S, openBlock as r, Fragment as R, renderList as Z, unref as t, createBlock as c, createSlots as h, withCtx as o, renderSlot as s, toRefs as j, inject as H, ref as W, computed as y, normalizeStyle as F, normalizeClass as J, createElementVNode as D, createVNode as E, createCommentVNode as $, createTextVNode as f, toDisplayString as m, mergeProps as K } from "vue";
|
|
2
|
-
import { u as _ } from "./use-has-slot.B7eQSabc.js";
|
|
3
|
-
import { S as q, a as G } from "./summary-grid.keys.CxTf_FOc.js";
|
|
4
|
-
import { G as Q } from "./grid-layout.BTLE3rac.js";
|
|
5
|
-
import { _ as w } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
6
|
-
import { B as X } from "./dashed-underline.BpSS0BTl.js";
|
|
7
|
-
import { B as x } from "./info-icon.MO6y9Dyv.js";
|
|
8
|
-
import { B } from "./typography.DN5eC5ch.js";
|
|
9
|
-
import { B as L } from "./tag.Me7nYLMe.js";
|
|
10
|
-
import { C as ee } from "./copy.BNFlTYMb.js";
|
|
11
|
-
import "../assets/summary-grid.css";
|
|
12
|
-
const te = { class: "b-summary-grid" }, oe = {}, ne = /* @__PURE__ */ v({
|
|
13
|
-
...oe,
|
|
14
|
-
__name: "summary-grid",
|
|
15
|
-
props: {
|
|
16
|
-
columnWidth: { default: null },
|
|
17
|
-
slashedZero: { type: Boolean, default: !1 }
|
|
18
|
-
},
|
|
19
|
-
setup(i) {
|
|
20
|
-
var I, z;
|
|
21
|
-
const d = i, a = T(), e = _(a);
|
|
22
|
-
let p = 1;
|
|
23
|
-
if (a) {
|
|
24
|
-
const u = (z = (I = Object.keys(a)) == null ? void 0 : I.filter((g) => g.includes("cell-"))) == null ? void 0 : z.map((g) => {
|
|
25
|
-
var n;
|
|
26
|
-
return parseInt((n = g.split("-")) == null ? void 0 : n[1], 10);
|
|
27
|
-
});
|
|
28
|
-
p = Math.max(...u);
|
|
29
|
-
}
|
|
30
|
-
return O(() => {
|
|
31
|
-
if (p > 3)
|
|
32
|
-
throw new Error(
|
|
33
|
-
"BentoSummaryGrid must only have a maximum of 3 rows. Read the documentation for more information."
|
|
34
|
-
);
|
|
35
|
-
}), P(q, () => ({ isSummaryGridLayout: !0 })), P(G, Y(d, "slashedZero")), (u, g) => (r(), S("div", te, [
|
|
36
|
-
(r(!0), S(R, null, Z(t(p), (n) => {
|
|
37
|
-
var C;
|
|
38
|
-
return r(), c(t(Q), {
|
|
39
|
-
key: `summary-grid-row-${n}`,
|
|
40
|
-
"data-testid": `summary-grid-row-${n}`,
|
|
41
|
-
"column-width": (C = u.columnWidth) == null ? void 0 : C[`row${n}`]
|
|
42
|
-
}, h({ _: 2 }, [
|
|
43
|
-
t(e)(`cell-${n}-1`) ? {
|
|
44
|
-
name: "col-1",
|
|
45
|
-
fn: o(() => [
|
|
46
|
-
s(u.$slots, `cell-${n}-1`, {}, void 0, !0)
|
|
47
|
-
]),
|
|
48
|
-
key: "0"
|
|
49
|
-
} : void 0,
|
|
50
|
-
t(e)(`cell-${n}-2`) ? {
|
|
51
|
-
name: "col-2",
|
|
52
|
-
fn: o(() => [
|
|
53
|
-
s(u.$slots, `cell-${n}-2`, {}, void 0, !0)
|
|
54
|
-
]),
|
|
55
|
-
key: "1"
|
|
56
|
-
} : void 0,
|
|
57
|
-
t(e)(`cell-${n}-3`) ? {
|
|
58
|
-
name: "col-3",
|
|
59
|
-
fn: o(() => [
|
|
60
|
-
s(u.$slots, `cell-${n}-3`, {}, void 0, !0)
|
|
61
|
-
]),
|
|
62
|
-
key: "2"
|
|
63
|
-
} : void 0,
|
|
64
|
-
t(e)(`cell-${n}-4`) ? {
|
|
65
|
-
name: "col-4",
|
|
66
|
-
fn: o(() => [
|
|
67
|
-
s(u.$slots, `cell-${n}-4`, {}, void 0, !0)
|
|
68
|
-
]),
|
|
69
|
-
key: "3"
|
|
70
|
-
} : void 0,
|
|
71
|
-
t(e)(`cell-${n}-5`) ? {
|
|
72
|
-
name: "col-5",
|
|
73
|
-
fn: o(() => [
|
|
74
|
-
s(u.$slots, `cell-${n}-5`, {}, void 0, !0)
|
|
75
|
-
]),
|
|
76
|
-
key: "4"
|
|
77
|
-
} : void 0,
|
|
78
|
-
t(e)(`cell-${n}-6`) ? {
|
|
79
|
-
name: "col-6",
|
|
80
|
-
fn: o(() => [
|
|
81
|
-
s(u.$slots, `cell-${n}-6`, {}, void 0, !0)
|
|
82
|
-
]),
|
|
83
|
-
key: "5"
|
|
84
|
-
} : void 0
|
|
85
|
-
]), 1032, ["data-testid", "column-width"]);
|
|
86
|
-
}), 128))
|
|
87
|
-
]));
|
|
88
|
-
}
|
|
89
|
-
}), Me = /* @__PURE__ */ w(ne, [["__scopeId", "data-v-14d3ddaf"]]), ie = { class: "b-summary-grid-item__header" }, le = { class: "b-summary-grid-item__title-icons" }, re = {}, de = /* @__PURE__ */ v({
|
|
90
|
-
...re,
|
|
91
|
-
__name: "summary-grid-item",
|
|
92
|
-
props: {
|
|
93
|
-
itemType: { default: "custom" },
|
|
94
|
-
copy: { default: void 0 },
|
|
95
|
-
fitContent: { type: Boolean, default: !1 },
|
|
96
|
-
infoIconTooltipText: { default: null },
|
|
97
|
-
size: { default: "small" },
|
|
98
|
-
title: {},
|
|
99
|
-
trend: { default: null },
|
|
100
|
-
trendDirection: { default: "positive" },
|
|
101
|
-
secondaryTrend: { default: null },
|
|
102
|
-
secondaryTrendDirection: { default: "positive" },
|
|
103
|
-
underlinePopoverSize: { default: "fit-content" },
|
|
104
|
-
underlineTooltipText: { default: null }
|
|
105
|
-
},
|
|
106
|
-
setup(i) {
|
|
107
|
-
const d = i, { trendDirection: a, secondaryTrendDirection: e, itemType: p, size: b } = j(d), I = H(G, W(!1)), z = (l) => {
|
|
108
|
-
switch (l) {
|
|
109
|
-
case "positive":
|
|
110
|
-
return "green";
|
|
111
|
-
case "negative":
|
|
112
|
-
return "red";
|
|
113
|
-
default:
|
|
114
|
-
return "blue";
|
|
115
|
-
}
|
|
116
|
-
}, u = y(() => z(a.value)), g = y(() => z(e.value)), n = y(() => b.value === "small" ? "body" : p.value !== "text" ? "title" : null), C = y(() => ({
|
|
117
|
-
medium: b.value === "large",
|
|
118
|
-
strongest: b.value === "small",
|
|
119
|
-
wide: b.value === "small",
|
|
120
|
-
variant: n.value
|
|
121
|
-
})), A = y(() => d.fitContent ? { width: "fit-content" } : {}), V = y(() => ({ "b-summary-grid-item--slashed-zero": I.value })), N = T(), M = _(N), U = y(() => d.underlineTooltipText || M("dashed-underline"));
|
|
122
|
-
return (l, he) => (r(), S("div", {
|
|
123
|
-
class: J(["b-summary-grid-item", V.value]),
|
|
124
|
-
style: F(A.value)
|
|
125
|
-
}, [
|
|
126
|
-
D("div", ie, [
|
|
127
|
-
E(t(B), {
|
|
128
|
-
class: "b-summary-grid-item__title",
|
|
129
|
-
el: "span",
|
|
130
|
-
variant: "body"
|
|
131
|
-
}, {
|
|
132
|
-
default: o(() => [
|
|
133
|
-
U.value ? (r(), c(t(X), {
|
|
134
|
-
key: 0,
|
|
135
|
-
"tooltip-text": l.underlineTooltipText,
|
|
136
|
-
"popover-size": l.underlinePopoverSize
|
|
137
|
-
}, h({
|
|
138
|
-
default: o(() => [
|
|
139
|
-
f(m(l.title) + " ", 1)
|
|
140
|
-
]),
|
|
141
|
-
_: 2
|
|
142
|
-
}, [
|
|
143
|
-
t(M)("dashed-underline") ? {
|
|
144
|
-
name: "popover-content",
|
|
145
|
-
fn: o(() => [
|
|
146
|
-
s(l.$slots, "dashed-underline", {}, void 0, !0)
|
|
147
|
-
]),
|
|
148
|
-
key: "0"
|
|
149
|
-
} : void 0
|
|
150
|
-
]), 1032, ["tooltip-text", "popover-size"])) : (r(), S(R, { key: 1 }, [
|
|
151
|
-
f(m(l.title), 1)
|
|
152
|
-
], 64))
|
|
153
|
-
]),
|
|
154
|
-
_: 3
|
|
155
|
-
}),
|
|
156
|
-
D("div", le, [
|
|
157
|
-
l.copy ? (r(), c(t(ee), {
|
|
158
|
-
key: 0,
|
|
159
|
-
class: "b-structured-list__icon",
|
|
160
|
-
text: l.copy
|
|
161
|
-
}, null, 8, ["text"])) : $("", !0),
|
|
162
|
-
l.infoIconTooltipText ? (r(), c(t(x), {
|
|
163
|
-
key: 1,
|
|
164
|
-
"tooltip-text": l.infoIconTooltipText,
|
|
165
|
-
"tooltip-position": "top",
|
|
166
|
-
class: "b-summary-grid-item__title-tooltip"
|
|
167
|
-
}, null, 8, ["tooltip-text"])) : $("", !0)
|
|
168
|
-
])
|
|
169
|
-
]),
|
|
170
|
-
E(t(B), K({
|
|
171
|
-
"data-testid": "summary-grid-item-content-typography",
|
|
172
|
-
class: "b-summary-grid-item__title"
|
|
173
|
-
}, C.value, { el: "span" }), {
|
|
174
|
-
default: o(() => [
|
|
175
|
-
s(l.$slots, "default", {}, void 0, !0),
|
|
176
|
-
l.trend && t(p) !== "text" ? (r(), c(t(L), {
|
|
177
|
-
key: 0,
|
|
178
|
-
variant: u.value,
|
|
179
|
-
label: l.trend,
|
|
180
|
-
class: "b-summary-grid-item__content-trend"
|
|
181
|
-
}, null, 8, ["variant", "label"])) : $("", !0)
|
|
182
|
-
]),
|
|
183
|
-
_: 3
|
|
184
|
-
}, 16),
|
|
185
|
-
t(M)("secondary") ? (r(), c(t(B), {
|
|
186
|
-
key: 0,
|
|
187
|
-
class: "b-summary-grid-item__title",
|
|
188
|
-
"data-testid": "summary-grid-item-secondary-metric-typography",
|
|
189
|
-
el: "span",
|
|
190
|
-
variant: "caption",
|
|
191
|
-
stronger: ""
|
|
192
|
-
}, {
|
|
193
|
-
default: o(() => [
|
|
194
|
-
s(l.$slots, "secondary", {}, void 0, !0),
|
|
195
|
-
l.secondaryTrend ? (r(), c(t(L), {
|
|
196
|
-
key: 0,
|
|
197
|
-
variant: g.value,
|
|
198
|
-
label: l.secondaryTrend,
|
|
199
|
-
class: "b-summary-grid-item__content-trend"
|
|
200
|
-
}, null, 8, ["variant", "label"])) : $("", !0)
|
|
201
|
-
]),
|
|
202
|
-
_: 3
|
|
203
|
-
})) : $("", !0)
|
|
204
|
-
], 6));
|
|
205
|
-
}
|
|
206
|
-
}), k = /* @__PURE__ */ w(de, [["__scopeId", "data-v-f887fd83"]]), ae = { class: "b-summary-grid-item-amount__content" }, se = {
|
|
207
|
-
key: 0,
|
|
208
|
-
class: "b-summary-grid-item-amount__secondary-label"
|
|
209
|
-
}, ue = {}, ce = /* @__PURE__ */ v({
|
|
210
|
-
...ue,
|
|
211
|
-
__name: "summary-grid-item-amount",
|
|
212
|
-
props: {
|
|
213
|
-
label: {},
|
|
214
|
-
secondaryLabel: { default: null },
|
|
215
|
-
secondaryMetric: { default: null },
|
|
216
|
-
copy: { default: void 0 },
|
|
217
|
-
fitContent: { type: Boolean, default: !1 },
|
|
218
|
-
infoIconTooltipText: { default: null },
|
|
219
|
-
size: { default: "small" },
|
|
220
|
-
title: {},
|
|
221
|
-
trend: { default: null },
|
|
222
|
-
trendDirection: { default: "positive" },
|
|
223
|
-
secondaryTrend: { default: null },
|
|
224
|
-
secondaryTrendDirection: { default: "positive" },
|
|
225
|
-
underlinePopoverSize: { default: "fit-content" },
|
|
226
|
-
underlineTooltipText: { default: null }
|
|
227
|
-
},
|
|
228
|
-
setup(i) {
|
|
229
|
-
const d = T(), a = _(d);
|
|
230
|
-
return (e, p) => (r(), c(t(k), {
|
|
231
|
-
"item-type": "amount",
|
|
232
|
-
"info-icon-tooltip-text": e.infoIconTooltipText,
|
|
233
|
-
title: e.title,
|
|
234
|
-
copy: e.copy,
|
|
235
|
-
"fit-content": e.fitContent,
|
|
236
|
-
size: e.size,
|
|
237
|
-
trend: e.trend,
|
|
238
|
-
"trend-direction": e.trendDirection,
|
|
239
|
-
"secondary-trend": e.secondaryTrend,
|
|
240
|
-
"secondary-trend-direction": e.secondaryTrendDirection,
|
|
241
|
-
"underline-popover-size": e.underlinePopoverSize,
|
|
242
|
-
"underline-tooltip-text": e.underlineTooltipText,
|
|
243
|
-
class: "b-summary-grid-item-amount"
|
|
244
|
-
}, h({
|
|
245
|
-
default: o(() => [
|
|
246
|
-
D("div", ae, [
|
|
247
|
-
D("div", null, m(e.label), 1),
|
|
248
|
-
e.secondaryLabel ? (r(), S("div", se, m(e.secondaryLabel), 1)) : $("", !0)
|
|
249
|
-
])
|
|
250
|
-
]),
|
|
251
|
-
_: 2
|
|
252
|
-
}, [
|
|
253
|
-
t(a)("dashed-underline") ? {
|
|
254
|
-
name: "dashed-underline",
|
|
255
|
-
fn: o(() => [
|
|
256
|
-
s(e.$slots, "dashed-underline", {}, void 0, !0)
|
|
257
|
-
]),
|
|
258
|
-
key: "0"
|
|
259
|
-
} : void 0,
|
|
260
|
-
e.secondaryMetric ? {
|
|
261
|
-
name: "secondary",
|
|
262
|
-
fn: o(() => [
|
|
263
|
-
f(m(e.secondaryMetric), 1)
|
|
264
|
-
]),
|
|
265
|
-
key: "1"
|
|
266
|
-
} : void 0
|
|
267
|
-
]), 1032, ["info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction", "underline-popover-size", "underline-tooltip-text"]));
|
|
268
|
-
}
|
|
269
|
-
}), Be = /* @__PURE__ */ w(ce, [["__scopeId", "data-v-70d30125"]]), pe = {}, we = /* @__PURE__ */ v({
|
|
270
|
-
...pe,
|
|
271
|
-
__name: "summary-grid-item-numeric",
|
|
272
|
-
props: {
|
|
273
|
-
label: {},
|
|
274
|
-
secondaryMetric: { default: null },
|
|
275
|
-
copy: { default: void 0 },
|
|
276
|
-
fitContent: { type: Boolean, default: !1 },
|
|
277
|
-
infoIconTooltipText: { default: null },
|
|
278
|
-
size: { default: "small" },
|
|
279
|
-
title: {},
|
|
280
|
-
trend: { default: null },
|
|
281
|
-
trendDirection: { default: "positive" },
|
|
282
|
-
secondaryTrend: { default: null },
|
|
283
|
-
secondaryTrendDirection: { default: "positive" },
|
|
284
|
-
underlinePopoverSize: { default: "fit-content" },
|
|
285
|
-
underlineTooltipText: { default: null }
|
|
286
|
-
},
|
|
287
|
-
setup(i) {
|
|
288
|
-
const d = T(), a = _(d);
|
|
289
|
-
return (e, p) => (r(), c(t(k), {
|
|
290
|
-
"item-type": "numeric",
|
|
291
|
-
"info-icon-tooltip-text": e.infoIconTooltipText,
|
|
292
|
-
title: e.title,
|
|
293
|
-
copy: e.copy,
|
|
294
|
-
"fit-content": e.fitContent,
|
|
295
|
-
size: e.size,
|
|
296
|
-
trend: e.trend,
|
|
297
|
-
"trend-direction": e.trendDirection,
|
|
298
|
-
"secondary-trend": e.secondaryTrend,
|
|
299
|
-
"secondary-trend-direction": e.secondaryTrendDirection,
|
|
300
|
-
"underline-popover-size": e.underlinePopoverSize,
|
|
301
|
-
"underline-tooltip-text": e.underlineTooltipText,
|
|
302
|
-
class: "b-summary-grid-item-numeric"
|
|
303
|
-
}, h({
|
|
304
|
-
default: o(() => [
|
|
305
|
-
f(" " + m(e.label) + " ", 1)
|
|
306
|
-
]),
|
|
307
|
-
_: 2
|
|
308
|
-
}, [
|
|
309
|
-
t(a)("dashed-underline") ? {
|
|
310
|
-
name: "dashed-underline",
|
|
311
|
-
fn: o(() => [
|
|
312
|
-
s(e.$slots, "dashed-underline")
|
|
313
|
-
]),
|
|
314
|
-
key: "0"
|
|
315
|
-
} : void 0,
|
|
316
|
-
e.secondaryMetric ? {
|
|
317
|
-
name: "secondary",
|
|
318
|
-
fn: o(() => [
|
|
319
|
-
f(m(e.secondaryMetric), 1)
|
|
320
|
-
]),
|
|
321
|
-
key: "1"
|
|
322
|
-
} : void 0
|
|
323
|
-
]), 1032, ["info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction", "underline-popover-size", "underline-tooltip-text"]));
|
|
324
|
-
}
|
|
325
|
-
}), me = {}, Pe = /* @__PURE__ */ v({
|
|
326
|
-
...me,
|
|
327
|
-
__name: "summary-grid-item-percentage",
|
|
328
|
-
props: {
|
|
329
|
-
label: {},
|
|
330
|
-
secondaryMetric: { default: null },
|
|
331
|
-
copy: { default: void 0 },
|
|
332
|
-
fitContent: { type: Boolean, default: !1 },
|
|
333
|
-
infoIconTooltipText: { default: null },
|
|
334
|
-
size: { default: "small" },
|
|
335
|
-
title: {},
|
|
336
|
-
trend: { default: null },
|
|
337
|
-
trendDirection: { default: "positive" },
|
|
338
|
-
secondaryTrend: { default: null },
|
|
339
|
-
secondaryTrendDirection: { default: "positive" },
|
|
340
|
-
underlinePopoverSize: { default: "fit-content" },
|
|
341
|
-
underlineTooltipText: { default: null }
|
|
342
|
-
},
|
|
343
|
-
setup(i) {
|
|
344
|
-
const d = T(), a = _(d);
|
|
345
|
-
return (e, p) => (r(), c(t(k), {
|
|
346
|
-
"item-type": "percentage",
|
|
347
|
-
"info-icon-tooltip-text": e.infoIconTooltipText,
|
|
348
|
-
title: e.title,
|
|
349
|
-
copy: e.copy,
|
|
350
|
-
"fit-content": e.fitContent,
|
|
351
|
-
size: e.size,
|
|
352
|
-
trend: e.trend,
|
|
353
|
-
"trend-direction": e.trendDirection,
|
|
354
|
-
"secondary-trend": e.secondaryTrend,
|
|
355
|
-
"secondary-trend-direction": e.secondaryTrendDirection,
|
|
356
|
-
"underline-popover-size": e.underlinePopoverSize,
|
|
357
|
-
"underline-tooltip-text": e.underlineTooltipText,
|
|
358
|
-
class: "b-summary-grid-item-percentage"
|
|
359
|
-
}, h({
|
|
360
|
-
default: o(() => [
|
|
361
|
-
f(" " + m(e.label) + "% ", 1)
|
|
362
|
-
]),
|
|
363
|
-
_: 2
|
|
364
|
-
}, [
|
|
365
|
-
t(a)("dashed-underline") ? {
|
|
366
|
-
name: "dashed-underline",
|
|
367
|
-
fn: o(() => [
|
|
368
|
-
s(e.$slots, "dashed-underline")
|
|
369
|
-
]),
|
|
370
|
-
key: "0"
|
|
371
|
-
} : void 0,
|
|
372
|
-
e.secondaryMetric ? {
|
|
373
|
-
name: "secondary",
|
|
374
|
-
fn: o(() => [
|
|
375
|
-
f(m(e.secondaryMetric) + "% ", 1)
|
|
376
|
-
]),
|
|
377
|
-
key: "1"
|
|
378
|
-
} : void 0
|
|
379
|
-
]), 1032, ["info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction", "underline-popover-size", "underline-tooltip-text"]));
|
|
380
|
-
}
|
|
381
|
-
}), fe = {}, Ee = /* @__PURE__ */ v({
|
|
382
|
-
...fe,
|
|
383
|
-
__name: "summary-grid-item-text",
|
|
384
|
-
props: {
|
|
385
|
-
copy: { default: void 0 },
|
|
386
|
-
fitContent: { type: Boolean, default: !1 },
|
|
387
|
-
infoIconTooltipText: { default: null },
|
|
388
|
-
label: {},
|
|
389
|
-
title: {},
|
|
390
|
-
underlinePopoverSize: { default: "fit-content" },
|
|
391
|
-
underlineTooltipText: { default: null }
|
|
392
|
-
},
|
|
393
|
-
setup(i) {
|
|
394
|
-
const d = T(), a = _(d);
|
|
395
|
-
return (e, p) => (r(), c(t(k), {
|
|
396
|
-
"item-type": "text",
|
|
397
|
-
"info-icon-tooltip-text": e.infoIconTooltipText,
|
|
398
|
-
title: e.title,
|
|
399
|
-
copy: e.copy,
|
|
400
|
-
"fit-content": e.fitContent,
|
|
401
|
-
"underline-popover-size": e.underlinePopoverSize,
|
|
402
|
-
"underline-tooltip-text": e.underlineTooltipText,
|
|
403
|
-
class: "b-summary-grid-item-text"
|
|
404
|
-
}, h({
|
|
405
|
-
default: o(() => [
|
|
406
|
-
f(" " + m(e.label), 1)
|
|
407
|
-
]),
|
|
408
|
-
_: 2
|
|
409
|
-
}, [
|
|
410
|
-
t(a)("dashed-underline") ? {
|
|
411
|
-
name: "dashed-underline",
|
|
412
|
-
fn: o(() => [
|
|
413
|
-
s(e.$slots, "dashed-underline")
|
|
414
|
-
]),
|
|
415
|
-
key: "0"
|
|
416
|
-
} : void 0
|
|
417
|
-
]), 1032, ["info-icon-tooltip-text", "title", "copy", "fit-content", "underline-popover-size", "underline-tooltip-text"]));
|
|
418
|
-
}
|
|
419
|
-
}), ye = {}, Le = /* @__PURE__ */ v({
|
|
420
|
-
...ye,
|
|
421
|
-
__name: "summary-grid-item-custom",
|
|
422
|
-
props: {
|
|
423
|
-
copy: { default: void 0 },
|
|
424
|
-
infoIconTooltipText: { default: null },
|
|
425
|
-
title: {},
|
|
426
|
-
fitContent: { type: Boolean, default: !1 },
|
|
427
|
-
underlinePopoverSize: { default: "fit-content" },
|
|
428
|
-
underlineTooltipText: { default: null }
|
|
429
|
-
},
|
|
430
|
-
setup(i) {
|
|
431
|
-
const d = T(), a = _(d);
|
|
432
|
-
return (e, p) => (r(), c(k, {
|
|
433
|
-
title: e.title,
|
|
434
|
-
"info-icon-tooltip-text": e.infoIconTooltipText,
|
|
435
|
-
copy: e.copy,
|
|
436
|
-
"fit-content": e.fitContent,
|
|
437
|
-
"underline-popover-size": e.underlinePopoverSize,
|
|
438
|
-
"underline-tooltip-text": e.underlineTooltipText
|
|
439
|
-
}, h({
|
|
440
|
-
default: o(() => [
|
|
441
|
-
s(e.$slots, "default")
|
|
442
|
-
]),
|
|
443
|
-
_: 2
|
|
444
|
-
}, [
|
|
445
|
-
t(a)("dashed-underline") ? {
|
|
446
|
-
name: "dashed-underline",
|
|
447
|
-
fn: o(() => [
|
|
448
|
-
s(e.$slots, "dashed-underline")
|
|
449
|
-
]),
|
|
450
|
-
key: "0"
|
|
451
|
-
} : void 0
|
|
452
|
-
]), 1032, ["title", "info-icon-tooltip-text", "copy", "fit-content", "underline-popover-size", "underline-tooltip-text"]));
|
|
453
|
-
}
|
|
454
|
-
});
|
|
455
|
-
var ve = /* @__PURE__ */ ((i) => (i.SMALL = "small", i.MEDIUM = "medium", i.LARGE = "large", i))(ve || {}), Te = /* @__PURE__ */ ((i) => (i.POSITIVE = "positive", i.NEGATIVE = "negative", i.NEUTRAL = "neutral", i))(Te || {});
|
|
456
|
-
export {
|
|
457
|
-
ve as B,
|
|
458
|
-
we as _,
|
|
459
|
-
Be as a,
|
|
460
|
-
Pe as b,
|
|
461
|
-
Ee as c,
|
|
462
|
-
Le as d,
|
|
463
|
-
Te as e,
|
|
464
|
-
Me as s
|
|
465
|
-
};
|
|
466
|
-
//# sourceMappingURL=summary-grid.types.DkyTeEAn.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"summary-grid.types.DkyTeEAn.js","sources":["../../../vue2/src/components/summary-grid/summary-grid.vue","../../../vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue","../../../vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue","../../../vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue","../../../vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue","../../../vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue","../../../vue2/src/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue","../../../vue2/src/components/summary-grid/summary-grid.types.ts"],"sourcesContent":["<template>\n <div class=\"b-summary-grid\">\n <grid-layout\n v-for=\"index in numberOfRows\"\n :key=\"`summary-grid-row-${index}`\"\n :data-testid=\"`summary-grid-row-${index}`\"\n :column-width=\"columnWidth?.[`row${index}`]\"\n >\n <template v-if=\"hasSlot(`cell-${index}-1`)\" #col-1>\n <slot :name=\"`cell-${index}-1`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-2`)\" #col-2>\n <slot :name=\"`cell-${index}-2`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-3`)\" #col-3>\n <slot :name=\"`cell-${index}-3`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-4`)\" #col-4>\n <slot :name=\"`cell-${index}-4`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-5`)\" #col-5>\n <slot :name=\"`cell-${index}-5`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-6`)\" #col-6>\n <slot :name=\"`cell-${index}-6`\" />\n </template>\n </grid-layout>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { onMounted, provide, toRef, useSlots } from 'vue';\n import type { BentoSummaryGridLayout, BentoSummaryGridProps } from './summary-grid.types';\n import { GridLayout } from '@/components/internal';\n import { useHasSlot } from '@/composables';\n import {\n SUMMARY_GRID_LAYOUT_INJECTION_KEY,\n SUMMARY_GRID_SLASHED_ZERO,\n } from '@/components/summary-grid/summary-grid.keys';\n\n const props = withDefaults(defineProps<BentoSummaryGridProps>(), {\n columnWidth: null,\n slashedZero: false,\n });\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n let numberOfRows = 1;\n if (slots) {\n const slotRows = Object.keys(slots)\n ?.filter(slotName => slotName.includes('cell-'))\n ?.map(slotName => parseInt(slotName.split('-')?.[1], 10));\n numberOfRows = Math.max(...slotRows);\n }\n\n onMounted(() => {\n if (numberOfRows > 3) {\n throw new Error(\n 'BentoSummaryGrid must only have a maximum of 3 rows. Read the documentation for more information.'\n );\n }\n });\n\n const registerComponentsInSummaryGrid: BentoSummaryGridLayout = () => {\n const isSummaryGridLayout = true;\n return { isSummaryGridLayout };\n };\n\n provide(SUMMARY_GRID_LAYOUT_INJECTION_KEY, registerComponentsInSummaryGrid);\n provide(SUMMARY_GRID_SLASHED_ZERO, toRef(props, 'slashedZero'));\n</script>\n\n<script lang=\"ts\">\n /**\n * A summary grid component that displays a collection items.\n *\n * @example\n * import { BentoSummaryGrid, BentoSummaryGridItemAmount } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGrid, BentoSummaryGridItemAmount },\n * template: `\n * <bento-summary-grid>\n * <template #cell-2-2>\n * <bento-summary-grid-item-amount\n * title=\"Text Item\"\n * label=\"14\"\n * info-icon-tooltip-text=\"text for icon\"\n * copy=\"copy this to clipboard\"\n * />\n * </template>\n * </bento-summary-grid>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./summary-grid.scss\" />\n","<template>\n <div class=\"b-summary-grid-item\" :class=\"conditionalClasses\" :style=\"computedStyles\">\n <div class=\"b-summary-grid-item__header\">\n <bento-typography class=\"b-summary-grid-item__title\" el=\"span\" variant=\"body\">\n <bento-dashed-underline\n v-if=\"withUnderline\"\n :tooltip-text=\"underlineTooltipText\"\n :popover-size=\"underlinePopoverSize\"\n >\n {{ title }}\n <template v-if=\"hasSlot('dashed-underline')\" #popover-content>\n <slot name=\"dashed-underline\"></slot>\n </template>\n </bento-dashed-underline>\n <template v-else>\n {{ title }}\n </template>\n </bento-typography>\n <div class=\"b-summary-grid-item__title-icons\">\n <copy v-if=\"copy\" class=\"b-structured-list__icon\" :text=\"copy\" />\n\n <bento-info-icon\n v-if=\"infoIconTooltipText\"\n :tooltip-text=\"infoIconTooltipText\"\n tooltip-position=\"top\"\n class=\"b-summary-grid-item__title-tooltip\"\n />\n </div>\n </div>\n <bento-typography\n data-testid=\"summary-grid-item-content-typography\"\n class=\"b-summary-grid-item__title\"\n v-bind=\"typographyProps\"\n el=\"span\"\n >\n <slot />\n <bento-tag\n v-if=\"trend && itemType !== 'text'\"\n :variant=\"trendVariant\"\n :label=\"trend\"\n class=\"b-summary-grid-item__content-trend\"\n />\n </bento-typography>\n <bento-typography\n v-if=\"hasSlot('secondary')\"\n class=\"b-summary-grid-item__title\"\n data-testid=\"summary-grid-item-secondary-metric-typography\"\n el=\"span\"\n variant=\"caption\"\n stronger\n >\n <slot name=\"secondary\" />\n <bento-tag\n v-if=\"secondaryTrend\"\n :variant=\"secondaryTrendVariant\"\n :label=\"secondaryTrend\"\n class=\"b-summary-grid-item__content-trend\"\n />\n </bento-typography>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, inject, ref, toRefs, useSlots } from 'vue';\n\n // Components\n import { BentoDashedUnderline } from '@/components/dashed-underline';\n import { BentoInfoIcon } from '@/components/info-icon';\n import { BentoTypography, type BentoTypographyVariant } from '@/components/typography';\n import { BentoTag, type BentoTagVariant } from '@/components/tag';\n import { Copy } from '@/internal';\n\n // Utils\n import { useHasSlot } from '@/composables';\n\n // Types\n import { SUMMARY_GRID_SLASHED_ZERO } from '@/components/summary-grid/summary-grid.keys';\n import type { BentoSummaryGridItemTrendDirection } from '@/components/summary-grid/summary-grid.types';\n import type { BentoSummaryGridItemProps } from './summary-grid-item.types';\n\n const props = withDefaults(defineProps<BentoSummaryGridItemProps>(), {\n copy: undefined,\n fitContent: false,\n infoIconTooltipText: null,\n itemType: 'custom',\n secondaryTrend: null,\n secondaryTrendDirection: 'positive',\n size: 'small',\n trend: null,\n trendDirection: 'positive',\n underlinePopoverSize: 'fit-content',\n underlineTooltipText: null,\n });\n\n const { trendDirection, secondaryTrendDirection, itemType, size } = toRefs(props);\n const hasSlashedZero = inject(SUMMARY_GRID_SLASHED_ZERO, ref(false));\n\n const tagVariantColor = (direction: `${BentoSummaryGridItemTrendDirection}`): `${BentoTagVariant}` => {\n switch (direction) {\n case 'positive':\n return 'green';\n case 'negative':\n return 'red';\n default:\n return 'blue';\n }\n };\n\n // TODO implement plus or minus symbol logic\n const trendVariant = computed(() => tagVariantColor(trendDirection.value));\n const secondaryTrendVariant = computed(() => tagVariantColor(secondaryTrendDirection.value));\n\n const typographyContentElement = computed<`${BentoTypographyVariant}`>(() => {\n if (size.value === 'small') {\n return 'body';\n }\n if (itemType.value !== 'text') {\n return 'title';\n }\n\n return null;\n });\n\n const typographyProps = computed(() => ({\n medium: size.value === 'large',\n strongest: size.value === 'small',\n wide: size.value === 'small',\n variant: typographyContentElement.value,\n }));\n\n const computedStyles = computed(() => (props.fitContent ? { width: 'fit-content' } : {}));\n\n const conditionalClasses = computed(() => ({ 'b-summary-grid-item--slashed-zero': hasSlashedZero.value }));\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n const withUnderline = computed(() => props.underlineTooltipText || hasSlot('dashed-underline'));\n</script>\n\n<script lang=\"ts\">\n /**\n * A summary bar item is a piece of information to be displayed in `bento-summary-bar` component\n *\n * @example\n * import { SummaryBarItem } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { SummaryBarItem },\n * template: `\n * <summary-grid-item :title=\"textVariable\">\n * Content of the item\n * </summary-grid-item>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./summary-grid-item.scss\" />\n","<template>\n <summary-grid-item\n item-type=\"amount\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :title=\"title\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n :size=\"size\"\n :trend=\"trend\"\n :trend-direction=\"trendDirection\"\n :secondary-trend=\"secondaryTrend\"\n :secondary-trend-direction=\"secondaryTrendDirection\"\n :underline-popover-size=\"underlinePopoverSize\"\n :underline-tooltip-text=\"underlineTooltipText\"\n class=\"b-summary-grid-item-amount\"\n >\n <template v-if=\"hasSlot('dashed-underline')\" #dashed-underline>\n <slot name=\"dashed-underline\" />\n </template>\n <div class=\"b-summary-grid-item-amount__content\">\n <div>{{ label }}</div>\n <div v-if=\"secondaryLabel\" class=\"b-summary-grid-item-amount__secondary-label\">{{ secondaryLabel }}</div>\n </div>\n <template v-if=\"secondaryMetric\" #secondary>\n {{ secondaryMetric }}\n </template>\n </summary-grid-item>\n</template>\n\n<script setup lang=\"ts\">\n import { useSlots } from 'vue';\n import { SummaryGridItem } from '../summary-grid-item';\n import { useHasSlot } from '@/composables';\n import type { BentoSummaryGridItemAmountProps } from './summary-grid-item-amount.types';\n\n withDefaults(defineProps<BentoSummaryGridItemAmountProps>(), {\n copy: undefined,\n fitContent: false,\n infoIconTooltipText: null,\n secondaryLabel: null,\n secondaryMetric: null,\n secondaryTrend: null,\n secondaryTrendDirection: 'positive',\n size: 'small',\n trend: null,\n trendDirection: 'positive',\n underlinePopoverSize: 'fit-content',\n underlineTooltipText: null,\n });\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n</script>\n\n<script lang=\"ts\">\n /**\n * Summary grid item component used to display financial data, such as currency values and monetary amounts\n *\n * @example\n * import { BentoSummaryGridItemAmount } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGridItemAmount },\n * template: `\n * <bento-summary-grid-item-amount\n * title=\"Your title\"\n * label=\"200.00 EUR\"\n * secondary-label=\"/ day\"\n * info-icon-tooltip-text=\"Your tooltip text here will be toggled by the info icon\"\n * trend=\"+12%\"\n * trend-direction=\"neutral\"\n * size=\"medium\"\n * />\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./summary-grid-item-amount.scss\" />\n","<template>\n <summary-grid-item\n item-type=\"numeric\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :title=\"title\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n :size=\"size\"\n :trend=\"trend\"\n :trend-direction=\"trendDirection\"\n :secondary-trend=\"secondaryTrend\"\n :secondary-trend-direction=\"secondaryTrendDirection\"\n :underline-popover-size=\"underlinePopoverSize\"\n :underline-tooltip-text=\"underlineTooltipText\"\n class=\"b-summary-grid-item-numeric\"\n >\n <template v-if=\"hasSlot('dashed-underline')\" #dashed-underline>\n <slot name=\"dashed-underline\" />\n </template>\n {{ label }}\n <template v-if=\"secondaryMetric\" #secondary>\n {{ secondaryMetric }}\n </template>\n </summary-grid-item>\n</template>\n\n<script setup lang=\"ts\">\n import { useSlots } from 'vue';\n import { SummaryGridItem } from '../summary-grid-item';\n import { useHasSlot } from '@/composables';\n import type { BentoSummaryGridItemNumericProps } from './summary-grid-item-numeric.types';\n\n withDefaults(defineProps<BentoSummaryGridItemNumericProps>(), {\n copy: undefined,\n fitContent: false,\n infoIconTooltipText: null,\n secondaryMetric: null,\n secondaryTrend: null,\n secondaryTrendDirection: 'positive',\n size: 'small',\n trend: null,\n trendDirection: 'positive',\n underlinePopoverSize: 'fit-content',\n underlineTooltipText: null,\n });\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n</script>\n\n<script lang=\"ts\">\n /**\n * Summary grid item component used to display any numeric information\n *\n * @example\n * import { BentoSummaryGridItemNumeric } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGridItemNumeric },\n * template: `\n * <bento-summary-grid-item-numeric\n * title=\"Your title\"\n * label=\"123\"\n * info-icon-tooltip-text=\"Your tooltip text here will be toggled by the info icon\"\n * trend=\"+12%\"\n * trend-direction=\"neutral\"\n * size=\"medium\"\n * />\n * `\n * }\n */\n export default {};\n</script>\n","<template>\n <summary-grid-item\n item-type=\"percentage\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :title=\"title\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n :size=\"size\"\n :trend=\"trend\"\n :trend-direction=\"trendDirection\"\n :secondary-trend=\"secondaryTrend\"\n :secondary-trend-direction=\"secondaryTrendDirection\"\n :underline-popover-size=\"underlinePopoverSize\"\n :underline-tooltip-text=\"underlineTooltipText\"\n class=\"b-summary-grid-item-percentage\"\n >\n <template v-if=\"hasSlot('dashed-underline')\" #dashed-underline>\n <slot name=\"dashed-underline\" />\n </template>\n {{ label }}%\n <template v-if=\"secondaryMetric\" #secondary> {{ secondaryMetric }}% </template>\n </summary-grid-item>\n</template>\n\n<script setup lang=\"ts\">\n import { useSlots } from 'vue';\n import { SummaryGridItem } from '../summary-grid-item';\n import { useHasSlot } from '@/composables';\n import type { BentoSummaryGridItemPercentageProps } from './summary-grid-item-percentage.types';\n\n withDefaults(defineProps<BentoSummaryGridItemPercentageProps>(), {\n copy: undefined,\n fitContent: false,\n infoIconTooltipText: null,\n secondaryMetric: null,\n secondaryTrend: null,\n secondaryTrendDirection: 'positive',\n size: 'small',\n trend: null,\n trendDirection: 'positive',\n underlinePopoverSize: 'fit-content',\n underlineTooltipText: null,\n });\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n</script>\n\n<script lang=\"ts\">\n /**\n * Summary grid item component used to display any percentage information\n *\n * @example\n * import { BentoSummaryGridItemPercentage } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGridItemPercentage },\n * template: `\n * <bento-summary-grid-item-percentage\n * title=\"Your title\"\n * label=\"123\"\n * info-icon-tooltip-text=\"Your tooltip text here will be toggled by the info icon\"\n * trend=\"+12%\"\n * trend-direction=\"neutral\"\n * size=\"medium\"\n * />\n * `\n * }\n */\n export default {};\n</script>\n","<template>\n <summary-grid-item\n item-type=\"text\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :title=\"title\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n :underline-popover-size=\"underlinePopoverSize\"\n :underline-tooltip-text=\"underlineTooltipText\"\n class=\"b-summary-grid-item-text\"\n >\n <template v-if=\"hasSlot('dashed-underline')\" #dashed-underline>\n <slot name=\"dashed-underline\" />\n </template>\n {{ label }}\n </summary-grid-item>\n</template>\n\n<script setup lang=\"ts\">\n import { useSlots } from 'vue';\n import { SummaryGridItem } from '../summary-grid-item';\n import { useHasSlot } from '@/composables';\n\n import type { BentoSummaryGridItemTextProps } from './summary-grid-item-text.types';\n\n withDefaults(defineProps<BentoSummaryGridItemTextProps>(), {\n copy: undefined,\n fitContent: false,\n infoIconTooltipText: null,\n underlinePopoverSize: 'fit-content',\n underlineTooltipText: null,\n });\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n</script>\n\n<script lang=\"ts\">\n /**\n * Summary grid item component used to display text only. Can be used for references, IDs or any other text data.\n *\n * @example\n * import { BentoSummaryGridItemText } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGridItemText },\n * template: `\n * <bento-summary-grid-item-text\n * title=\"Your title\"\n * label=\"Your text here\"\n * info-icon-tooltip-text=\"Your tooltip text here will be toggled by the info icon\"\n * />\n * `\n * }\n */\n export default {};\n</script>\n","<template>\n <summary-grid-item\n :title=\"title\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n :underline-popover-size=\"underlinePopoverSize\"\n :underline-tooltip-text=\"underlineTooltipText\"\n >\n <template v-if=\"hasSlot('dashed-underline')\" #dashed-underline>\n <slot name=\"dashed-underline\" />\n </template>\n <slot />\n </summary-grid-item>\n</template>\n\n<script setup lang=\"ts\">\n import { useSlots } from 'vue';\n import SummaryGridItem from '../summary-grid-item/summary-grid-item.vue';\n import { useHasSlot } from '@/composables';\n import type { BentoSummaryGridItemCustomProps } from './summary-grid-item-custom.types';\n\n withDefaults(defineProps<BentoSummaryGridItemCustomProps>(), {\n copy: undefined,\n infoIconTooltipText: null,\n fitContent: false,\n underlinePopoverSize: 'fit-content',\n underlineTooltipText: null,\n });\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n</script>\n\n<script lang=\"ts\">\n /**\n * A summary bar item is a piece of information to be displayed in `bento-summary-bar` component\n *\n * @example\n * import { SummaryBarItem } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { SummaryBarItem },\n * template: `\n * <summary-grid-item :title=\"textVariable\">\n * Content of the item\n * </summary-grid-item>\n * `\n * }\n */\n export default {};\n</script>\n","import { GridLayoutColumnWidths } from '@/components/internal/grid-layout/grid-layout.types';\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoSummaryGridItemSize {\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 BentoSummaryGridItemTrendDirection {\n POSITIVE = 'positive',\n NEGATIVE = 'negative',\n NEUTRAL = 'neutral',\n}\n\nexport interface BentoSummaryGridColumnWidth {\n row1: GridLayoutColumnWidths;\n row2?: GridLayoutColumnWidths;\n row3?: GridLayoutColumnWidths;\n}\n\nexport type BentoSummaryGridLayout = () => {\n isSummaryGridLayout: boolean;\n};\n\nexport interface BentoSummaryGridProps {\n /**\n * Sets the responsive columns widths values for 1 of the 3 rows.\n */\n columnWidth?: BentoSummaryGridColumnWidth;\n\n /**\n * Renders a font numeric style with slashed zeros instead of normal ones.\n */\n slashedZero?: boolean;\n}\n"],"names":["__default__$6","props","__props","slots","useSlots","hasSlot","useHasSlot","numberOfRows","slotRows","_b","_a","slotName","onMounted","provide","SUMMARY_GRID_LAYOUT_INJECTION_KEY","SUMMARY_GRID_SLASHED_ZERO","toRef","__default__$5","trendDirection","secondaryTrendDirection","itemType","size","toRefs","hasSlashedZero","inject","ref","tagVariantColor","direction","trendVariant","computed","secondaryTrendVariant","typographyContentElement","typographyProps","computedStyles","conditionalClasses","withUnderline","__default__$4","__default__$3","__default__$2","__default__$1","__default__","BentoSummaryGridItemSize","BentoSummaryGridItemSize2","BentoSummaryGridItemTrendDirection","BentoSummaryGridItemTrendDirection2"],"mappings":";;;;;;;;;;;wCAgGIA,KAAA,CAAA;;;;;;;;;AAxDA,UAAAC,IAAAC,GAKAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA;AAEA,QAAAI,IAAA;AACA,QAAAJ,GAAA;AACI,YAAAK,KAAAC,KAAAC,IAAA,OAAA,KAAAP,CAAA,MAAA,gBAAAO,EAAA,OAAA,CAAAC,MAAAA,EAAA,SAAA,OAAA,OAAA,gBAAAF,EAAA,IAAA,CAAAE,MAAA;;AAAA,yBAAAD,IAAAC,EAAA,MAAA,GAAA,MAAA,gBAAAD,EAAA,IAAA,EAAA;AAAA;AAGA,MAAAH,IAAA,KAAA,IAAA,GAAAC,CAAA;AAAA,IAAmC;AAGvC,WAAAI,EAAA,MAAA;AACI,UAAAL,IAAA;AACI,cAAA,IAAA;AAAA,UAAU;AAAA,QACN;AAAA,IAER,CAAA,GAQJM,EAAAC,GALA,OAEI,EAAA,wBAAA,EAGJ,GACAD,EAAAE,GAAAC,EAAAf,GAAA,aAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uKCqFAgB,KAAA,CAAA;;;;;;;;;;;;;;;;;;AA3EA,UAAAhB,IAAAC,GAcA,EAAA,gBAAAgB,GAAA,yBAAAC,GAAA,UAAAC,GAAA,MAAAC,EAAA,IAAAC,EAAArB,CAAA,GACAsB,IAAAC,EAAAT,GAAAU,EAAA,EAAA,CAAA,GAEAC,IAAA,CAAAC,MAAA;AACI,cAAAA,GAAA;AAAA,QAAmB,KAAA;AAEX,iBAAA;AAAA,QAAO,KAAA;AAEP,iBAAA;AAAA,QAAO;AAEP,iBAAA;AAAA,MAAO;AAAA,IACf,GAIJC,IAAAC,EAAA,MAAAH,EAAAR,EAAA,KAAA,CAAA,GACAY,IAAAD,EAAA,MAAAH,EAAAP,EAAA,KAAA,CAAA,GAEAY,IAAAF,EAAA,MACIR,EAAA,UAAA,UACI,SAEJD,EAAA,UAAA,SACI,UAGJ,IAAO,GAGXY,IAAAH,EAAA,OAAA;AAAA,MAAwC,QAAAR,EAAA,UAAA;AAAA,MACb,WAAAA,EAAA,UAAA;AAAA,MACG,MAAAA,EAAA,UAAA;AAAA,MACL,SAAAU,EAAA;AAAA,IACa,EAAA,GAGtCE,IAAAJ,EAAA,MAAA5B,EAAA,aAAA,EAAA,OAAA,cAAA,IAAA,CAAA,CAAA,GAEAiC,IAAAL,EAAA,OAAA,EAAA,qCAAAN,EAAA,MAAA,EAAA,GAEApB,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GACAgC,IAAAN,EAAA,MAAA5B,EAAA,wBAAAI,EAAA,kBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GC5DA+B,KAAA,CAAA;;;;;;;;;;;;;;;;;;;;AA1BA,UAAAjC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oECoBAkC,KAAA,CAAA;;;;;;;;;;;;;;;;;;;AAzBA,UAAAlC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ICsBAmC,KAAA,CAAA;;;;;;;;;;;;;;;;;;;AAzBA,UAAAnC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ICUAoC,KAAA,CAAA;;;;;;;;;;;;;AAtBA,UAAApC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;ICgBAqC,KAAA,CAAA;;;;;;;;;;;;AApBA,UAAArC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA;;;;;;;;;;;;;;;;;;;;;;;;AC1BQ,IAAAsC,KAAA,kBAAAC,OACRA,EAAA,QAAA,SACAA,EAAA,SAAA,UACAA,EAAA,QAAA,SAHQA,IAAAD,MAAA,CAAA,CAAA,GASAE,KAAA,kBAAAC,OACRA,EAAA,WAAA,YACAA,EAAA,WAAA,YACAA,EAAA,UAAA,WAHQA,IAAAD,MAAA,CAAA,CAAA;"}
|