@adyen/bento-vue2 1.26.0 → 1.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/components.d.ts +8 -0
- package/dist/@types/index.d.ts +967 -374
- package/dist/accordion.js +3 -101
- package/dist/accordion.js.map +1 -1
- package/dist/action-bar.js +2 -231
- package/dist/action-bar.js.map +1 -1
- package/dist/alert.js +5 -116
- package/dist/alert.js.map +1 -1
- package/dist/assets/{index2.css → accordion-item.css} +1 -1
- package/dist/assets/{index3.css → action-bar.css} +1 -1
- package/dist/assets/alert.css +1 -0
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/{index7.css → card.css} +1 -1
- package/dist/assets/checkbox-input.css +1 -1
- package/dist/assets/{index9.css → code-snippet.css} +1 -1
- package/dist/assets/dashboard-section.css +1 -0
- package/dist/assets/dashed-underline.css +1 -0
- package/dist/assets/data-grid-template.css +1 -0
- package/dist/assets/data-grid.css +1 -0
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/filter-bar.css +1 -0
- package/dist/assets/{index15.css → form-layout-title.css} +1 -1
- package/dist/assets/{index25.css → input-field.css} +1 -1
- package/dist/assets/listbox-option-tag.css +1 -1
- package/dist/assets/{index26.css → menu.css} +1 -1
- package/dist/assets/{index22.css → modal-fullscreen.css} +1 -1
- package/dist/assets/{index28.css → popover.css} +1 -1
- package/dist/assets/radio-input.css +1 -1
- package/dist/assets/segmented-control.css +1 -0
- package/dist/assets/selection-card-group.css +1 -0
- package/dist/assets/{index37.css → sidepanel.css} +1 -1
- package/dist/assets/status.css +1 -0
- package/dist/assets/structured-list-item.css +1 -0
- package/dist/assets/{index43.css → tabs.css} +1 -1
- package/dist/assets/toggle.css +1 -0
- package/dist/assets/tutorial.css +1 -0
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +22 -24
- package/dist/badge.js.map +1 -1
- package/dist/button.js +14 -94
- package/dist/button.js.map +1 -1
- package/dist/card.js +4 -114
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +8 -155
- package/dist/checkbox.js.map +1 -1
- package/dist/chunks/1-generic-use.CZhwP2Yc.js +5 -0
- package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +1 -0
- package/dist/chunks/1-generic-use.R6x8PEGA.js +5 -0
- package/dist/chunks/1-generic-use.R6x8PEGA.js.map +1 -0
- package/dist/chunks/2-generic-use.CNKjB4B7.js +5 -0
- package/dist/chunks/2-generic-use.CNKjB4B7.js.map +1 -0
- package/dist/chunks/2-generic-use.w0fUhovx.js +5 -0
- package/dist/chunks/2-generic-use.w0fUhovx.js.map +1 -0
- package/dist/chunks/3-generic-use.BLEzR04g.js +5 -0
- package/dist/chunks/3-generic-use.BLEzR04g.js.map +1 -0
- package/dist/chunks/3-generic-use.D3NFHgI4.js +5 -0
- package/dist/chunks/3-generic-use.D3NFHgI4.js.map +1 -0
- package/dist/chunks/4-generic-use.CULEpvgj.js +5 -0
- package/dist/chunks/4-generic-use.CULEpvgj.js.map +1 -0
- package/dist/chunks/4-generic-use.D82y3n39.js +5 -0
- package/dist/chunks/4-generic-use.D82y3n39.js.map +1 -0
- package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js +11 -0
- package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js.map +1 -0
- package/dist/chunks/accordion-item.DmnrjNzw.js +100 -0
- package/dist/chunks/accordion-item.DmnrjNzw.js.map +1 -0
- package/dist/chunks/action-bar.Bebh6PHI.js +147 -0
- package/dist/chunks/action-bar.Bebh6PHI.js.map +1 -0
- package/dist/chunks/adding-payment-methods.BJZLPxtM.js +5 -0
- package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +1 -0
- package/dist/chunks/adding-payment-methods.Dle8zt43.js +5 -0
- package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +1 -0
- package/dist/chunks/adyen-giving.Ffw_DlJK.js +5 -0
- package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +1 -0
- package/dist/chunks/adyen-giving.LiKHj_jY.js +5 -0
- package/dist/chunks/adyen-giving.LiKHj_jY.js.map +1 -0
- package/dist/chunks/alert.CJyTM4Az.js +96 -0
- package/dist/chunks/alert.CJyTM4Az.js.map +1 -0
- package/dist/chunks/{aria-label.ac9651a5.js → aria-label.CaUURpnB.js} +1 -1
- package/dist/chunks/{aria-label.ac9651a5.js.map → aria-label.CaUURpnB.js.map} +1 -1
- package/dist/chunks/{index.7eefc59c.js → avatar-image.DhlR-7Yg.js} +22 -24
- package/dist/chunks/avatar-image.DhlR-7Yg.js.map +1 -0
- package/dist/chunks/base-button.DER7_IsF.js +86 -0
- package/dist/chunks/{base-button.ad74b6f8.js.map → base-button.DER7_IsF.js.map} +1 -1
- package/dist/chunks/{base-modal.1fff7abe.js → base-modal.C5I7bR0d.js} +42 -46
- package/dist/chunks/{base-modal.1fff7abe.js.map → base-modal.C5I7bR0d.js.map} +1 -1
- package/dist/chunks/{base-modal.keys.b08a6bdf.js → base-modal.keys.C2PQXcE2.js} +1 -1
- package/dist/chunks/{base-modal.keys.b08a6bdf.js.map → base-modal.keys.C2PQXcE2.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.e845d77a.js → button-actions-with-menu.f3yuLK-L.js} +25 -27
- package/dist/chunks/{button-actions-with-menu.e845d77a.js.map → button-actions-with-menu.f3yuLK-L.js.map} +1 -1
- package/dist/chunks/button-actions.Bg9ey0p6.js +111 -0
- package/dist/chunks/button-actions.Bg9ey0p6.js.map +1 -0
- package/dist/chunks/button.DhAUh5JA.js +99 -0
- package/dist/chunks/button.DhAUh5JA.js.map +1 -0
- package/dist/chunks/{calendar.640b8d25.js → calendar.B69z8gjb.js} +287 -332
- package/dist/chunks/{calendar.640b8d25.js.map → calendar.B69z8gjb.js.map} +1 -1
- package/dist/chunks/card.70Xvba2C.js +115 -0
- package/dist/chunks/card.70Xvba2C.js.map +1 -0
- package/dist/chunks/checkbox-group.B-KdeRXC.js +152 -0
- package/dist/chunks/checkbox-group.B-KdeRXC.js.map +1 -0
- package/dist/chunks/{checkbox-input.1c3cc8ed.js → checkbox-input.DwDwI2BD.js} +27 -30
- package/dist/chunks/{checkbox-input.1c3cc8ed.js.map → checkbox-input.DwDwI2BD.js.map} +1 -1
- package/dist/chunks/{checkbox.bfed007c.js → checkbox.Bi2RDBEZ.js} +21 -23
- package/dist/chunks/{checkbox.bfed007c.js.map → checkbox.Bi2RDBEZ.js.map} +1 -1
- package/dist/chunks/checkmark-circle-fill.DVl6QSwm.js +24 -0
- package/dist/chunks/{checkmark-circle-fill.345311d2.js.map → checkmark-circle-fill.DVl6QSwm.js.map} +1 -1
- package/dist/chunks/{checkmark-small.520f01b1.js → checkmark-small.BtF8b2gE.js} +6 -8
- package/dist/chunks/{checkmark-small.520f01b1.js.map → checkmark-small.BtF8b2gE.js.map} +1 -1
- package/dist/chunks/{chevron-left.5edf02ac.js → chevron-left.CtnrsqUy.js} +13 -17
- package/dist/chunks/{chevron-left.5edf02ac.js.map → chevron-left.CtnrsqUy.js.map} +1 -1
- package/dist/chunks/{chevron-up.81185563.js → chevron-up.B2uWhZf7.js} +14 -18
- package/dist/chunks/{chevron-up.81185563.js.map → chevron-up.B2uWhZf7.js.map} +1 -1
- package/dist/chunks/click-outside.DABh6NLr.js +23 -0
- package/dist/chunks/click-outside.DABh6NLr.js.map +1 -0
- package/dist/chunks/code-snippet.C4IbjAhH.js +968 -0
- package/dist/chunks/code-snippet.C4IbjAhH.js.map +1 -0
- package/dist/chunks/{controls-group.4fb50009.js → controls-group.cSRFiEVO.js} +17 -19
- package/dist/chunks/{controls-group.4fb50009.js.map → controls-group.cSRFiEVO.js.map} +1 -1
- package/dist/chunks/{copy.f85700c6.js → copy.BtFWFG3q.js} +15 -19
- package/dist/chunks/{copy.f85700c6.js.map → copy.BtFWFG3q.js.map} +1 -1
- package/dist/chunks/country.KayLT0zy.js +93 -0
- package/dist/chunks/country.KayLT0zy.js.map +1 -0
- package/dist/chunks/{country.types.002caff2.js → country.types.Br0AjxGy.js} +5 -5
- package/dist/chunks/{country.types.002caff2.js.map → country.types.Br0AjxGy.js.map} +1 -1
- package/dist/chunks/{cross-circle-fill.27580c4b.js → cross-circle-fill.CnYH4R_h.js} +7 -9
- package/dist/chunks/{cross-circle-fill.27580c4b.js.map → cross-circle-fill.CnYH4R_h.js.map} +1 -1
- package/dist/chunks/{cross-small.e851e0de.js → cross-small.BLUwtRB-.js} +9 -11
- package/dist/chunks/{cross-small.e851e0de.js.map → cross-small.BLUwtRB-.js.map} +1 -1
- package/dist/chunks/{cross.04678d81.js → cross.CsUPDmaA.js} +9 -11
- package/dist/chunks/{cross.04678d81.js.map → cross.CsUPDmaA.js.map} +1 -1
- package/dist/chunks/currency.H7n7RQiX.js +113 -0
- package/dist/chunks/currency.H7n7RQiX.js.map +1 -0
- package/dist/chunks/dashboard-section.BcH-_en7.js +105 -0
- package/dist/chunks/dashboard-section.BcH-_en7.js.map +1 -0
- package/dist/chunks/dashed-underline.ChUlcFJR.js +59 -0
- package/dist/chunks/dashed-underline.ChUlcFJR.js.map +1 -0
- package/dist/chunks/data-grid-template.DqG5bNeD.js +66 -0
- package/dist/chunks/data-grid-template.DqG5bNeD.js.map +1 -0
- package/dist/chunks/{data-grid-template.keys.a819a991.js → data-grid-template.keys.2_AkxuNT.js} +1 -1
- package/dist/chunks/{data-grid-template.keys.a819a991.js.map → data-grid-template.keys.2_AkxuNT.js.map} +1 -1
- package/dist/chunks/data-grid.CvHAdmvs.js +2022 -0
- package/dist/chunks/data-grid.CvHAdmvs.js.map +1 -0
- package/dist/chunks/{date-input.9186a0bf.js → date-input.BqBdAO1E.js} +1 -1
- package/dist/chunks/{date-input.9186a0bf.js.map → date-input.BqBdAO1E.js.map} +1 -1
- package/dist/chunks/date-picker.ByP2Wpo0.js +196 -0
- package/dist/chunks/date-picker.ByP2Wpo0.js.map +1 -0
- package/dist/chunks/{index.8b8c3b16.js → date-range-picker.DrnklTJ-.js} +113 -117
- package/dist/chunks/date-range-picker.DrnklTJ-.js.map +1 -0
- package/dist/chunks/{index.b21197ca.js → date.DKjxxR6P.js} +44 -51
- package/dist/chunks/date.DKjxxR6P.js.map +1 -0
- package/dist/chunks/{debounce.b5ef6acf.js → debounce.DUTu11PS.js} +1 -1
- package/dist/chunks/{debounce.b5ef6acf.js.map → debounce.DUTu11PS.js.map} +1 -1
- package/dist/chunks/{dialog-page.73da22cf.js → dialog-page.DAh0M4mT.js} +20 -24
- package/dist/chunks/{dialog-page.73da22cf.js.map → dialog-page.DAh0M4mT.js.map} +1 -1
- package/dist/chunks/divider.BZfeYmB9.js +30 -0
- package/dist/chunks/divider.BZfeYmB9.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.54ca1b18.js → dropdown-default-textbox.CKOkl_Qa.js} +30 -34
- package/dist/chunks/{dropdown-default-textbox.54ca1b18.js.map → dropdown-default-textbox.CKOkl_Qa.js.map} +1 -1
- package/dist/chunks/dropdown-tag.DCMKQy-E.js +214 -0
- package/dist/chunks/dropdown-tag.DCMKQy-E.js.map +1 -0
- package/dist/chunks/{dropdown.10c034aa.js → dropdown.yhhQCKve.js} +195 -214
- package/dist/chunks/dropdown.yhhQCKve.js.map +1 -0
- package/dist/chunks/empty-state.BqVOj4v1.js +151 -0
- package/dist/chunks/empty-state.BqVOj4v1.js.map +1 -0
- package/dist/chunks/error-message.BSxUoE3_.js +107 -0
- package/dist/chunks/{error-message.31ec12b7.js.map → error-message.BSxUoE3_.js.map} +1 -1
- package/dist/chunks/events.CMzGybJJ.js +47 -0
- package/dist/chunks/events.CMzGybJJ.js.map +1 -0
- package/dist/chunks/filter-bar.AhsOPMZ1.js +2119 -0
- package/dist/chunks/filter-bar.AhsOPMZ1.js.map +1 -0
- package/dist/chunks/{fixed-scroller.4eb9a9ac.js → fixed-scroller.Bq1AgPnw.js} +18 -20
- package/dist/chunks/{fixed-scroller.4eb9a9ac.js.map → fixed-scroller.Bq1AgPnw.js.map} +1 -1
- package/dist/chunks/{index.d553d3d1.js → focus-trap.DSkLNO_i.js} +35 -37
- package/dist/chunks/focus-trap.DSkLNO_i.js.map +1 -0
- package/dist/chunks/{footer-actions.a1e09b4f.js → footer-actions.DqMRmlV_.js} +11 -13
- package/dist/chunks/{footer-actions.a1e09b4f.js.map → footer-actions.DqMRmlV_.js.map} +1 -1
- package/dist/chunks/form-layout-title.BzNU0B72.js +187 -0
- package/dist/chunks/form-layout-title.BzNU0B72.js.map +1 -0
- package/dist/chunks/{form-layout.types.a7a1438d.js → form-layout.types.D3EKzbE7.js} +1 -1
- package/dist/chunks/{form-layout.types.a7a1438d.js.map → form-layout.types.D3EKzbE7.js.map} +1 -1
- package/dist/chunks/{get-slot-text.99c3d860.js → get-slot-text.Cgn-E48s.js} +2 -2
- package/dist/chunks/{get-slot-text.99c3d860.js.map → get-slot-text.Cgn-E48s.js.map} +1 -1
- package/dist/chunks/{grid-layout.e0025286.js → grid-layout.HvTAa4to.js} +11 -13
- package/dist/chunks/{grid-layout.e0025286.js.map → grid-layout.HvTAa4to.js.map} +1 -1
- package/dist/chunks/header.DmKHCmXh.js +245 -0
- package/dist/chunks/header.DmKHCmXh.js.map +1 -0
- package/dist/chunks/{i18n.eb5b985b.js → i18n.BQkEbtPM.js} +2 -2
- package/dist/chunks/{i18n.eb5b985b.js.map → i18n.BQkEbtPM.js.map} +1 -1
- package/dist/chunks/image.B3uqhFjl.js +82 -0
- package/dist/chunks/image.B3uqhFjl.js.map +1 -0
- package/dist/chunks/{index.fdf12170.js → index.B_EJflcs.js} +2 -2
- package/dist/chunks/{index.fdf12170.js.map → index.B_EJflcs.js.map} +1 -1
- package/dist/chunks/{index.f55fdc32.js → index.B_UZQ6qF.js} +209 -243
- package/dist/chunks/{index.f55fdc32.js.map → index.B_UZQ6qF.js.map} +1 -1
- package/dist/chunks/{index.4c062058.js → index.Cl4_42j5.js} +1 -1
- package/dist/chunks/{index.4c062058.js.map → index.Cl4_42j5.js.map} +1 -1
- package/dist/chunks/index.OCPp3NST.js +126 -0
- package/dist/chunks/index.OCPp3NST.js.map +1 -0
- package/dist/chunks/{index.d80206ed.js → index.Z84QE0E2.js} +2 -2
- package/dist/chunks/{index.d80206ed.js.map → index.Z84QE0E2.js.map} +1 -1
- package/dist/chunks/{index.86453263.js → index.xqFSZOAb.js} +2 -2
- package/dist/chunks/{index.86453263.js.map → index.xqFSZOAb.js.map} +1 -1
- package/dist/chunks/info-icon.CLguYHRt.js +41 -0
- package/dist/chunks/info-icon.CLguYHRt.js.map +1 -0
- package/dist/chunks/{info.8b6328aa.js → info.CyeBsLgt.js} +9 -11
- package/dist/chunks/{info.8b6328aa.js.map → info.CyeBsLgt.js.map} +1 -1
- package/dist/chunks/input-field.BnlEPPYr.js +218 -0
- package/dist/chunks/input-field.BnlEPPYr.js.map +1 -0
- package/dist/chunks/internal-error.BLZodVBE.js +5 -0
- package/dist/chunks/internal-error.BLZodVBE.js.map +1 -0
- package/dist/chunks/internal-error.BmrwJFpR.js +5 -0
- package/dist/chunks/internal-error.BmrwJFpR.js.map +1 -0
- package/dist/chunks/{keyboard-navigation.ca47dfa8.js → keyboard-navigation.Clz1jOaA.js} +2 -2
- package/dist/chunks/{keyboard-navigation.ca47dfa8.js.map → keyboard-navigation.Clz1jOaA.js.map} +1 -1
- package/dist/chunks/{index.317fca12.js → link.DJ1A53gF.js} +20 -24
- package/dist/chunks/link.DJ1A53gF.js.map +1 -0
- package/dist/chunks/listbox-option-tag.BDjsYOE1.js +75 -0
- package/dist/chunks/listbox-option-tag.BDjsYOE1.js.map +1 -0
- package/dist/chunks/{loading-button.eafc9e1b.js → loading-button.CoF1IhEU.js} +32 -34
- package/dist/chunks/{loading-button.eafc9e1b.js.map → loading-button.CoF1IhEU.js.map} +1 -1
- package/dist/chunks/loading-indicator.DXc7I1Lm.js +48 -0
- package/dist/chunks/loading-indicator.DXc7I1Lm.js.map +1 -0
- package/dist/chunks/{index.1ea85d4a.js → menu.2TwUMlA9.js} +82 -94
- package/dist/chunks/menu.2TwUMlA9.js.map +1 -0
- package/dist/chunks/modal-fullscreen.BB_8EMNo.js +196 -0
- package/dist/chunks/modal-fullscreen.BB_8EMNo.js.map +1 -0
- package/dist/chunks/{modal-fullscreen.keys.b9f31632.js → modal-fullscreen.keys.CMba3hYp.js} +1 -1
- package/dist/chunks/{modal-fullscreen.keys.b9f31632.js.map → modal-fullscreen.keys.CMba3hYp.js.map} +1 -1
- package/dist/chunks/modal.DLwvcaRx.js +439 -0
- package/dist/chunks/modal.DLwvcaRx.js.map +1 -0
- package/dist/chunks/no-results-found.Bg_ZcEid.js +5 -0
- package/dist/chunks/no-results-found.Bg_ZcEid.js.map +1 -0
- package/dist/chunks/no-results-found.BqvYsBR6.js +5 -0
- package/dist/chunks/no-results-found.BqvYsBR6.js.map +1 -0
- package/dist/chunks/notifications-cleared.BMZk37uf.js +5 -0
- package/dist/chunks/notifications-cleared.BMZk37uf.js.map +1 -0
- package/dist/chunks/notifications-cleared.C7W9ZXY7.js +5 -0
- package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +1 -0
- package/dist/chunks/{on-click-outside.3e0c3e2a.js → on-click-outside.CcNG5w7_.js} +1 -1
- package/dist/chunks/{on-click-outside.3e0c3e2a.js.map → on-click-outside.CcNG5w7_.js.map} +1 -1
- package/dist/chunks/page-not-found.COJLPVaU.js +5 -0
- package/dist/chunks/page-not-found.COJLPVaU.js.map +1 -0
- package/dist/chunks/page-not-found.DWW6W-PZ.js +5 -0
- package/dist/chunks/page-not-found.DWW6W-PZ.js.map +1 -0
- package/dist/chunks/pagination.BXjbVe4Z.js +494 -0
- package/dist/chunks/pagination.BXjbVe4Z.js.map +1 -0
- package/dist/chunks/{payment-method.6c1ce07c.js → payment-method.D9Qx-s4V.js} +19 -21
- package/dist/chunks/{payment-method.6c1ce07c.js.map → payment-method.D9Qx-s4V.js.map} +1 -1
- package/dist/chunks/payment-method.types.CJKfZQN5.js +5 -0
- package/dist/chunks/payment-method.types.CJKfZQN5.js.map +1 -0
- package/dist/chunks/planned-maintenance.C61sWB9h.js +5 -0
- package/dist/chunks/planned-maintenance.C61sWB9h.js.map +1 -0
- package/dist/chunks/planned-maintenance.jmWYTdet.js +5 -0
- package/dist/chunks/planned-maintenance.jmWYTdet.js.map +1 -0
- package/dist/chunks/{index.15b088b9.js → popover.B8YH92W8.js} +31 -37
- package/dist/chunks/popover.B8YH92W8.js.map +1 -0
- package/dist/chunks/{index.671768a1.js → popper-container.Bt02N3o1.js} +12 -15
- package/dist/chunks/popper-container.Bt02N3o1.js.map +1 -0
- package/dist/chunks/radio-group.CPbBFTzB.js +211 -0
- package/dist/chunks/radio-group.CPbBFTzB.js.map +1 -0
- package/dist/chunks/{radio-input.c6550a9c.js → radio-input.BQcC0INR.js} +17 -19
- package/dist/chunks/radio-input.BQcC0INR.js.map +1 -0
- package/dist/chunks/referrals.BvtT-kQS.js +5 -0
- package/dist/chunks/referrals.BvtT-kQS.js.map +1 -0
- package/dist/chunks/referrals.aX8WZigH.js +5 -0
- package/dist/chunks/referrals.aX8WZigH.js.map +1 -0
- package/dist/chunks/{refresh.71a03998.js → refresh.BKI9WwKh.js} +7 -9
- package/dist/chunks/{refresh.71a03998.js.map → refresh.BKI9WwKh.js.map} +1 -1
- package/dist/chunks/{resize.a041304d.js → resize.Bqks3WUm.js} +1 -1
- package/dist/chunks/{resize.a041304d.js.map → resize.Bqks3WUm.js.map} +1 -1
- package/dist/chunks/search-bar.CsAgO-t5.js +89 -0
- package/dist/chunks/search-bar.CsAgO-t5.js.map +1 -0
- package/dist/chunks/{search.471270fe.js → search.CBKhp7zB.js} +10 -12
- package/dist/chunks/{search.471270fe.js.map → search.CBKhp7zB.js.map} +1 -1
- package/dist/chunks/secondary-nav.CNgpPxUU.js +97 -0
- package/dist/chunks/secondary-nav.CNgpPxUU.js.map +1 -0
- package/dist/chunks/segmented-control.DGjIC7Ab.js +111 -0
- package/dist/chunks/segmented-control.DGjIC7Ab.js.map +1 -0
- package/dist/chunks/segmented-control.types.BHRLV8KU.js +5 -0
- package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -0
- package/dist/chunks/selection-card-group.DlOs8BkR.js +247 -0
- package/dist/chunks/selection-card-group.DlOs8BkR.js.map +1 -0
- package/dist/chunks/sidepanel.BBjm2QvZ.js +187 -0
- package/dist/chunks/sidepanel.BBjm2QvZ.js.map +1 -0
- package/dist/chunks/{sidepanel.keys.1ed8a57c.js → sidepanel.keys.R0DKQuYx.js} +1 -1
- package/dist/chunks/{sidepanel.keys.1ed8a57c.js.map → sidepanel.keys.R0DKQuYx.js.map} +1 -1
- package/dist/chunks/status.types.BhbOYpZx.js +36 -0
- package/dist/chunks/status.types.BhbOYpZx.js.map +1 -0
- package/dist/chunks/step.DY8Txb6a.js +234 -0
- package/dist/chunks/step.DY8Txb6a.js.map +1 -0
- package/dist/chunks/structured-list-item.C9NTVDvT.js +81 -0
- package/dist/chunks/structured-list-item.C9NTVDvT.js.map +1 -0
- package/dist/chunks/success.DhioLvPD.js +5 -0
- package/dist/chunks/success.DhioLvPD.js.map +1 -0
- package/dist/chunks/success.nNwxJRBS.js +5 -0
- package/dist/chunks/success.nNwxJRBS.js.map +1 -0
- package/dist/chunks/summary-grid-item-custom.CJpDnoPw.js +573 -0
- package/dist/chunks/summary-grid-item-custom.CJpDnoPw.js.map +1 -0
- package/dist/chunks/{summary-grid.keys.1d1028c2.js → summary-grid.keys.BBbFrFGF.js} +1 -1
- package/dist/chunks/{summary-grid.keys.1d1028c2.js.map → summary-grid.keys.BBbFrFGF.js.map} +1 -1
- package/dist/chunks/tabs.CE65f3E_.js +140 -0
- package/dist/chunks/tabs.CE65f3E_.js.map +1 -0
- package/dist/chunks/{tabs.keys.358742f2.js → tabs.keys.Bc2pSKRw.js} +1 -1
- package/dist/chunks/{tabs.keys.358742f2.js.map → tabs.keys.Bc2pSKRw.js.map} +1 -1
- package/dist/chunks/tag.bhKrZHTU.js +64 -0
- package/dist/chunks/tag.bhKrZHTU.js.map +1 -0
- package/dist/chunks/{teleport.84b0f20b.js → teleport.CQKBJZU5.js} +14 -16
- package/dist/chunks/{teleport.84b0f20b.js.map → teleport.CQKBJZU5.js.map} +1 -1
- package/dist/chunks/textarea.CcKbtQBs.js +208 -0
- package/dist/chunks/textarea.CcKbtQBs.js.map +1 -0
- package/dist/chunks/timeline-item.ScTrUBKC.js +364 -0
- package/dist/chunks/timeline-item.ScTrUBKC.js.map +1 -0
- package/dist/chunks/toast.0EYDj8o-.js +165 -0
- package/dist/chunks/toast.0EYDj8o-.js.map +1 -0
- package/dist/chunks/toggle-button.2U-vbQhk.js +83 -0
- package/dist/chunks/toggle-button.2U-vbQhk.js.map +1 -0
- package/dist/chunks/toggle.CiOVTWlk.js +121 -0
- package/dist/chunks/toggle.CiOVTWlk.js.map +1 -0
- package/dist/chunks/{tooltip.58ef3f4a.js → tooltip.DR8rbIYw.js} +29 -32
- package/dist/chunks/tooltip.DR8rbIYw.js.map +1 -0
- package/dist/chunks/tutorial.DMm12L0S.js +335 -0
- package/dist/chunks/tutorial.DMm12L0S.js.map +1 -0
- package/dist/chunks/{index.dd30e538.js → typography.Bjtu3Gca.js} +30 -32
- package/dist/chunks/typography.Bjtu3Gca.js.map +1 -0
- package/dist/chunks/{unique-id.a2a2b458.js → unique-id.XFfoKuc2.js} +14 -20
- package/dist/chunks/{unique-id.a2a2b458.js.map → unique-id.XFfoKuc2.js.map} +1 -1
- package/dist/chunks/upload-files.5wQwbfkp.js +5 -0
- package/dist/chunks/upload-files.5wQwbfkp.js.map +1 -0
- package/dist/chunks/upload-files.jTQY6y2X.js +5 -0
- package/dist/chunks/upload-files.jTQY6y2X.js.map +1 -0
- package/dist/chunks/{use-bento-toast-controller.c3277f73.js → use-bento-toast-controller.BifdE4ak.js} +4 -4
- package/dist/chunks/{use-bento-toast-controller.c3277f73.js.map → use-bento-toast-controller.BifdE4ak.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.69297473.js → use-cached-selected-values.CVLzxvTi.js} +345 -346
- package/dist/chunks/use-cached-selected-values.CVLzxvTi.js.map +1 -0
- package/dist/chunks/{use-click-outside.941d1600.js → use-click-outside.DbjR7Lh4.js} +2 -2
- package/dist/chunks/{use-click-outside.941d1600.js.map → use-click-outside.DbjR7Lh4.js.map} +1 -1
- package/dist/chunks/{use-country-items.6b7985bf.js → use-country-items.C25TI6tp.js} +4 -4
- package/dist/chunks/{use-country-items.6b7985bf.js.map → use-country-items.C25TI6tp.js.map} +1 -1
- package/dist/chunks/{use-default-slot-validator.b9bff4c6.js → use-default-slot-validator.BDn0wkYP.js} +2 -2
- package/dist/chunks/{use-default-slot-validator.b9bff4c6.js.map → use-default-slot-validator.BDn0wkYP.js.map} +1 -1
- package/dist/chunks/{use-expandable-content-height.62fc84e5.js → use-expandable-content-height.GkjjbmPy.js} +1 -1
- package/dist/chunks/{use-expandable-content-height.62fc84e5.js.map → use-expandable-content-height.GkjjbmPy.js.map} +1 -1
- package/dist/chunks/{use-form-layout-loading.d03e5d48.js → use-form-layout-loading.D3lALhtC.js} +2 -2
- package/dist/chunks/{use-form-layout-loading.d03e5d48.js.map → use-form-layout-loading.D3lALhtC.js.map} +1 -1
- package/dist/chunks/use-has-slot.C9lQZ6nz.js +6 -0
- package/dist/chunks/{use-has-slot.fbeb19ec.js.map → use-has-slot.C9lQZ6nz.js.map} +1 -1
- package/dist/chunks/warning-filled.CLKRzGMT.js +24 -0
- package/dist/chunks/warning-filled.CLKRzGMT.js.map +1 -0
- package/dist/chunks/wrong-environment.BOsyKdRI.js +5 -0
- package/dist/chunks/wrong-environment.BOsyKdRI.js.map +1 -0
- package/dist/chunks/wrong-environment.BiHTPtbJ.js +5 -0
- package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +1 -0
- package/dist/click-outside.js +2 -20
- package/dist/click-outside.js.map +1 -1
- package/dist/code-snippet.js +5 -2050
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +8 -97
- package/dist/country.js.map +1 -1
- package/dist/currency.js +3 -112
- package/dist/currency.js.map +1 -1
- package/dist/dashboard-template.js +6 -0
- package/dist/dashboard-template.js.map +1 -0
- package/dist/dashed-underline.js +5 -0
- package/dist/dashed-underline.js.map +1 -0
- package/dist/data-grid-template.js +2 -65
- package/dist/data-grid-template.js.map +1 -1
- package/dist/data-grid.js +8 -1978
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +5 -197
- package/dist/date-picker.js.map +1 -1
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +12 -227
- package/dist/dropdown.js.map +1 -1
- package/dist/empty-state.js +5 -143
- package/dist/empty-state.js.map +1 -1
- package/dist/filter-bar.js +5 -2154
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +5 -192
- package/dist/form-layout.js.map +1 -1
- package/dist/header.js +2 -246
- package/dist/header.js.map +1 -1
- package/dist/image.js +4 -81
- package/dist/image.js.map +1 -1
- package/dist/index.js +276 -269
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +2 -40
- package/dist/info-icon.js.map +1 -1
- package/dist/input-field.js +7 -217
- package/dist/input-field.js.map +1 -1
- package/dist/internal.js +15 -15
- package/dist/link.js +1 -1
- package/dist/loading-indicator.js +3 -47
- package/dist/loading-indicator.js.map +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +3 -197
- package/dist/modal-fullscreen.js.map +1 -1
- package/dist/modal.js +11 -451
- package/dist/modal.js.map +1 -1
- package/dist/pagination.js +2 -507
- package/dist/pagination.js.map +1 -1
- package/dist/payment-method.js +4 -4
- package/dist/payment-method.js.map +1 -1
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/radio-group.js +6 -213
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +6 -90
- package/dist/search-bar.js.map +1 -1
- package/dist/secondary-nav.js +2 -100
- package/dist/secondary-nav.js.map +1 -1
- package/dist/segmented-control.js +4 -215
- package/dist/segmented-control.js.map +1 -1
- package/dist/selection-card.js +4 -248
- package/dist/selection-card.js.map +1 -1
- package/dist/sidepanel.js +4 -189
- package/dist/sidepanel.js.map +1 -1
- package/dist/status.js +3 -40
- package/dist/status.js.map +1 -1
- package/dist/stepper.js +5 -237
- package/dist/stepper.js.map +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +9 -584
- package/dist/summary-grid.js.map +1 -1
- package/dist/tabs.js +3 -140
- package/dist/tabs.js.map +1 -1
- package/dist/tag.js +3 -63
- package/dist/tag.js.map +1 -1
- package/dist/textarea.js +2 -209
- package/dist/textarea.js.map +1 -1
- package/dist/timeline.js +7 -367
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +2 -168
- package/dist/toast.js.map +1 -1
- package/dist/toggle.js +4 -120
- package/dist/toggle.js.map +1 -1
- package/dist/tutorial.js +2 -325
- package/dist/tutorial.js.map +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +482 -305
- package/package.json +11 -10
- package/dist/assets/index11.css +0 -1
- package/dist/assets/index18.css +0 -1
- package/dist/assets/index33.css +0 -1
- package/dist/assets/index34.css +0 -1
- package/dist/assets/index35.css +0 -1
- package/dist/assets/index38.css +0 -1
- package/dist/assets/index4.css +0 -1
- package/dist/assets/index40.css +0 -1
- package/dist/assets/index44.css +0 -1
- package/dist/assets/index46.css +0 -1
- package/dist/chunks/1-generic-use.3ea646cd.js +0 -5
- package/dist/chunks/1-generic-use.3ea646cd.js.map +0 -1
- package/dist/chunks/1-generic-use.ccca5813.js +0 -5
- package/dist/chunks/1-generic-use.ccca5813.js.map +0 -1
- package/dist/chunks/2-generic-use.443db127.js +0 -5
- package/dist/chunks/2-generic-use.443db127.js.map +0 -1
- package/dist/chunks/2-generic-use.d69d7c08.js +0 -5
- package/dist/chunks/2-generic-use.d69d7c08.js.map +0 -1
- package/dist/chunks/3-generic-use.9f74667f.js +0 -5
- package/dist/chunks/3-generic-use.9f74667f.js.map +0 -1
- package/dist/chunks/3-generic-use.fe7ae2ce.js +0 -5
- package/dist/chunks/3-generic-use.fe7ae2ce.js.map +0 -1
- package/dist/chunks/4-generic-use.0356f4a1.js +0 -5
- package/dist/chunks/4-generic-use.0356f4a1.js.map +0 -1
- package/dist/chunks/4-generic-use.cd04bad0.js +0 -5
- package/dist/chunks/4-generic-use.cd04bad0.js.map +0 -1
- package/dist/chunks/_plugin-vue2_normalizer.71e2aa87.js +0 -33
- package/dist/chunks/_plugin-vue2_normalizer.71e2aa87.js.map +0 -1
- package/dist/chunks/adding-payment-methods.d570e03e.js +0 -5
- package/dist/chunks/adding-payment-methods.d570e03e.js.map +0 -1
- package/dist/chunks/adding-payment-methods.e419d6c0.js +0 -5
- package/dist/chunks/adding-payment-methods.e419d6c0.js.map +0 -1
- package/dist/chunks/adyen-giving.480913b5.js +0 -5
- package/dist/chunks/adyen-giving.480913b5.js.map +0 -1
- package/dist/chunks/adyen-giving.54ed984c.js +0 -5
- package/dist/chunks/adyen-giving.54ed984c.js.map +0 -1
- package/dist/chunks/base-button.ad74b6f8.js +0 -88
- package/dist/chunks/button-actions.81db18e8.js +0 -111
- package/dist/chunks/button-actions.81db18e8.js.map +0 -1
- package/dist/chunks/button.9d6435ae.js +0 -100
- package/dist/chunks/button.9d6435ae.js.map +0 -1
- package/dist/chunks/checkmark-circle-fill.345311d2.js +0 -26
- package/dist/chunks/checkmark.a6ed8f47.js +0 -26
- package/dist/chunks/checkmark.a6ed8f47.js.map +0 -1
- package/dist/chunks/dropdown.10c034aa.js.map +0 -1
- package/dist/chunks/error-message.31ec12b7.js +0 -111
- package/dist/chunks/events.58c00e6d.js +0 -50
- package/dist/chunks/events.58c00e6d.js.map +0 -1
- package/dist/chunks/index.15b088b9.js.map +0 -1
- package/dist/chunks/index.1ea85d4a.js.map +0 -1
- package/dist/chunks/index.317fca12.js.map +0 -1
- package/dist/chunks/index.671768a1.js.map +0 -1
- package/dist/chunks/index.7eefc59c.js.map +0 -1
- package/dist/chunks/index.885d05a9.js +0 -32
- package/dist/chunks/index.885d05a9.js.map +0 -1
- package/dist/chunks/index.8b8c3b16.js.map +0 -1
- package/dist/chunks/index.aaf965f8.js +0 -147
- package/dist/chunks/index.aaf965f8.js.map +0 -1
- package/dist/chunks/index.b21197ca.js.map +0 -1
- package/dist/chunks/index.d553d3d1.js.map +0 -1
- package/dist/chunks/index.dd30e538.js.map +0 -1
- package/dist/chunks/internal-error.35cbb071.js +0 -5
- package/dist/chunks/internal-error.35cbb071.js.map +0 -1
- package/dist/chunks/internal-error.9a4823ed.js +0 -5
- package/dist/chunks/internal-error.9a4823ed.js.map +0 -1
- package/dist/chunks/listbox-option-tag.6bbb6bbe.js +0 -107
- package/dist/chunks/listbox-option-tag.6bbb6bbe.js.map +0 -1
- package/dist/chunks/no-results-found.58856d70.js +0 -5
- package/dist/chunks/no-results-found.58856d70.js.map +0 -1
- package/dist/chunks/no-results-found.cbb12f78.js +0 -5
- package/dist/chunks/no-results-found.cbb12f78.js.map +0 -1
- package/dist/chunks/notifications-cleared.71025c22.js +0 -5
- package/dist/chunks/notifications-cleared.71025c22.js.map +0 -1
- package/dist/chunks/notifications-cleared.c4f4bed4.js +0 -5
- package/dist/chunks/notifications-cleared.c4f4bed4.js.map +0 -1
- package/dist/chunks/page-not-found.a500440d.js +0 -5
- package/dist/chunks/page-not-found.a500440d.js.map +0 -1
- package/dist/chunks/page-not-found.d1a84ba7.js +0 -5
- package/dist/chunks/page-not-found.d1a84ba7.js.map +0 -1
- package/dist/chunks/planned-maintenance.7fa5ac16.js +0 -5
- package/dist/chunks/planned-maintenance.7fa5ac16.js.map +0 -1
- package/dist/chunks/planned-maintenance.cff01aed.js +0 -5
- package/dist/chunks/planned-maintenance.cff01aed.js.map +0 -1
- package/dist/chunks/radio-input.c6550a9c.js.map +0 -1
- package/dist/chunks/referrals.178ce0eb.js +0 -5
- package/dist/chunks/referrals.178ce0eb.js.map +0 -1
- package/dist/chunks/referrals.599047da.js +0 -5
- package/dist/chunks/referrals.599047da.js.map +0 -1
- package/dist/chunks/success.41981fe8.js +0 -5
- package/dist/chunks/success.41981fe8.js.map +0 -1
- package/dist/chunks/success.77fac78b.js +0 -5
- package/dist/chunks/success.77fac78b.js.map +0 -1
- package/dist/chunks/tooltip.58ef3f4a.js.map +0 -1
- package/dist/chunks/upload-files.2708eca7.js +0 -5
- package/dist/chunks/upload-files.2708eca7.js.map +0 -1
- package/dist/chunks/upload-files.b4cd9f8b.js +0 -5
- package/dist/chunks/upload-files.b4cd9f8b.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.69297473.js.map +0 -1
- package/dist/chunks/use-has-slot.fbeb19ec.js +0 -6
- package/dist/chunks/wrong-environment.c73b0bc0.js +0 -5
- package/dist/chunks/wrong-environment.c73b0bc0.js.map +0 -1
- package/dist/chunks/wrong-environment.f890a237.js +0 -5
- package/dist/chunks/wrong-environment.f890a237.js.map +0 -1
- /package/dist/assets/{index5.css → avatar-image.css} +0 -0
- /package/dist/assets/{index.css → badge.css} +0 -0
- /package/dist/assets/{index8.css → checkbox-group.css} +0 -0
- /package/dist/assets/{index10.css → country.css} +0 -0
- /package/dist/assets/{index12.css → date-picker.css} +0 -0
- /package/dist/assets/{index13.css → date-range-picker.css} +0 -0
- /package/dist/assets/{index14.css → divider.css} +0 -0
- /package/dist/assets/{index16.css → dropdown-tag.css} +0 -0
- /package/dist/assets/{index17.css → empty-state.css} +0 -0
- /package/dist/assets/{index19.css → focus-trap.css} +0 -0
- /package/dist/assets/{index21.css → header.css} +0 -0
- /package/dist/assets/{index27.css → info-icon.css} +0 -0
- /package/dist/assets/{index42.css → link.css} +0 -0
- /package/dist/assets/{index23.css → loading-indicator.css} +0 -0
- /package/dist/assets/{index24.css → pagination.css} +0 -0
- /package/dist/assets/{index45.css → popper-container.css} +0 -0
- /package/dist/assets/{index20.css → radio-group.css} +0 -0
- /package/dist/assets/{index47.css → search-bar.css} +0 -0
- /package/dist/assets/{index48.css → secondary-nav.css} +0 -0
- /package/dist/assets/{index39.css → step.css} +0 -0
- /package/dist/assets/{index41.css → summary-grid-item-custom.css} +0 -0
- /package/dist/assets/{index36.css → tag.css} +0 -0
- /package/dist/assets/{index30.css → textarea.css} +0 -0
- /package/dist/assets/{index31.css → timeline-item.css} +0 -0
- /package/dist/assets/{index32.css → toast.css} +0 -0
- /package/dist/assets/{index6.css → toggle-button.css} +0 -0
- /package/dist/assets/{index29.css → typography.css} +0 -0
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { defineComponent as n, useSlots as i, computed as r, provide as m, toRef as d } from "vue";
|
|
2
|
+
import { B as f } from "./alert.CJyTM4Az.js";
|
|
3
|
+
import { F as y } from "./form-layout.types.D3EKzbE7.js";
|
|
4
|
+
import { u } from "./use-has-slot.C9lQZ6nz.js";
|
|
5
|
+
import { n as l } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
6
|
+
import { B as p, c as v } from "./typography.Bjtu3Gca.js";
|
|
7
|
+
import "../assets/form-layout-title.css";
|
|
8
|
+
const g = {}, h = /* @__PURE__ */ n({
|
|
9
|
+
...g,
|
|
10
|
+
__name: "form-layout",
|
|
11
|
+
props: {
|
|
12
|
+
/**
|
|
13
|
+
* Renders the form layout as an HTML `form`
|
|
14
|
+
*/
|
|
15
|
+
form: { type: Boolean, default: !1 },
|
|
16
|
+
/**
|
|
17
|
+
* Sets the state of the form and its fields to
|
|
18
|
+
* a read only status.
|
|
19
|
+
*/
|
|
20
|
+
loading: { type: Boolean, default: !1 }
|
|
21
|
+
},
|
|
22
|
+
setup(e) {
|
|
23
|
+
const t = e, o = i(), s = u(o), a = r(() => t.form ? "form" : "div"), _ = r(() => s("actions-left") || s("actions-right"));
|
|
24
|
+
return m(y, d(t, "loading")), { __sfc: !0, slots: o, hasSlot: s, props: t, formLayoutElement: a, hasActions: _, BentoAlert: f };
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
var b = function() {
|
|
28
|
+
var t = this, o = t._self._c, s = t._self._setupProxy;
|
|
29
|
+
return o(s.formLayoutElement, { tag: "component", staticClass: "b-form-layout", attrs: { role: "form" } }, [s.hasSlot("error-message") ? o(s.BentoAlert, { staticClass: "b-form-layout__error-message", attrs: { type: "critical" }, scopedSlots: t._u([{ key: "description", fn: function() {
|
|
30
|
+
return [t._t("error-message")];
|
|
31
|
+
}, proxy: !0 }], null, !0) }) : t._e(), t._t("default"), s.hasActions ? o("div", { staticClass: "b-form-layout__actions-container" }, [o("div", { staticClass: "b-form-layout__actions" }, [t._t("actions-left")], 2), o("div", { staticClass: "b-form-layout__actions" }, [t._t("actions-right")], 2)]) : t._e()], 2);
|
|
32
|
+
}, C = [], $ = /* @__PURE__ */ l(
|
|
33
|
+
h,
|
|
34
|
+
b,
|
|
35
|
+
C,
|
|
36
|
+
!1,
|
|
37
|
+
null,
|
|
38
|
+
"178aebc7"
|
|
39
|
+
);
|
|
40
|
+
const H = $.exports, B = ["warning", "critical", "highlight", "success"], S = {}, L = /* @__PURE__ */ n({
|
|
41
|
+
...S,
|
|
42
|
+
__name: "form-layout-field-tip",
|
|
43
|
+
props: {
|
|
44
|
+
/**
|
|
45
|
+
* Type of a alert; set a distinctive icon and color. Defaults to highlight.
|
|
46
|
+
* @values highlight, success, critical, warning
|
|
47
|
+
*/
|
|
48
|
+
type: {
|
|
49
|
+
type: String,
|
|
50
|
+
default: "highlight",
|
|
51
|
+
validator: (e) => B.includes(e)
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
setup(e) {
|
|
55
|
+
const t = i(), o = u(t);
|
|
56
|
+
return { __sfc: !0, slots: t, hasSlot: o, BentoAlert: f };
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
var T = function() {
|
|
60
|
+
var t = this, o = t._self._c, s = t._self._setupProxy;
|
|
61
|
+
return o("div", { staticClass: "b-form-layout-field-tip" }, [t._t("default"), s.hasSlot("message") ? o(s.BentoAlert, { attrs: { variant: "tip", type: t.type }, scopedSlots: t._u([{ key: "description", fn: function() {
|
|
62
|
+
return [t._t("message")];
|
|
63
|
+
}, proxy: !0 }], null, !0) }) : t._e()], 2);
|
|
64
|
+
}, x = [], F = /* @__PURE__ */ l(
|
|
65
|
+
L,
|
|
66
|
+
T,
|
|
67
|
+
x,
|
|
68
|
+
!1,
|
|
69
|
+
null,
|
|
70
|
+
"21e4c0c4"
|
|
71
|
+
);
|
|
72
|
+
const J = F.exports, c = [
|
|
73
|
+
"100",
|
|
74
|
+
"50",
|
|
75
|
+
"33",
|
|
76
|
+
"25",
|
|
77
|
+
"66-33",
|
|
78
|
+
"33-66",
|
|
79
|
+
"75-25",
|
|
80
|
+
"25-75",
|
|
81
|
+
"50-50",
|
|
82
|
+
"33-33-33"
|
|
83
|
+
], O = {}, A = /* @__PURE__ */ n({
|
|
84
|
+
...O,
|
|
85
|
+
__name: "form-layout-group",
|
|
86
|
+
props: {
|
|
87
|
+
/**
|
|
88
|
+
* The layout of the pair group of components.
|
|
89
|
+
* This will render the components within the width of the proportions.
|
|
90
|
+
* Only two colums are available.
|
|
91
|
+
*
|
|
92
|
+
* If only one value is entered, then it will assume there's only one child in the group.
|
|
93
|
+
* If two values are entered, the first value will be use for the first child and the second
|
|
94
|
+
* value for the second child.
|
|
95
|
+
*
|
|
96
|
+
* If the value entered is not listed in the example
|
|
97
|
+
* list below it will use 100% by default.
|
|
98
|
+
* @example
|
|
99
|
+
* '33-33-33'
|
|
100
|
+
* '50-50'
|
|
101
|
+
* '25-75'
|
|
102
|
+
* '75-25'
|
|
103
|
+
* '33-66'
|
|
104
|
+
* '66-33'
|
|
105
|
+
* '25'
|
|
106
|
+
* '33'
|
|
107
|
+
* '50'
|
|
108
|
+
* '100'
|
|
109
|
+
*/
|
|
110
|
+
layout: {
|
|
111
|
+
type: String,
|
|
112
|
+
default: "100",
|
|
113
|
+
validator: (e) => c.includes(e)
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
setup(e) {
|
|
117
|
+
const t = e, o = 100, s = r(
|
|
118
|
+
() => c.includes(t.layout) ? t.layout : o
|
|
119
|
+
), a = r(() => ({
|
|
120
|
+
// Transform into column if the layout is unsupported
|
|
121
|
+
"b-form-layout-group--column": !c.includes(t.layout),
|
|
122
|
+
// Assings the correct layout class
|
|
123
|
+
[`b-form-layout-group--${s.value}`]: !0
|
|
124
|
+
}));
|
|
125
|
+
return { __sfc: !0, DEFAULT_PROPORTION: o, props: t, computedLayout: s, conditionalClasses: a };
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
var R = function() {
|
|
129
|
+
var t = this, o = t._self._c, s = t._self._setupProxy;
|
|
130
|
+
return o("div", { staticClass: "b-form-layout-group", class: s.conditionalClasses }, [t._t("default")], 2);
|
|
131
|
+
}, P = [], E = /* @__PURE__ */ l(
|
|
132
|
+
A,
|
|
133
|
+
R,
|
|
134
|
+
P,
|
|
135
|
+
!1,
|
|
136
|
+
null,
|
|
137
|
+
"f4f09170"
|
|
138
|
+
);
|
|
139
|
+
const K = E.exports, I = {}, N = /* @__PURE__ */ n({
|
|
140
|
+
...I,
|
|
141
|
+
__name: "form-layout-title",
|
|
142
|
+
props: {
|
|
143
|
+
/**
|
|
144
|
+
* Defines if the Form Layout title is
|
|
145
|
+
* a "section" or a "subsection".
|
|
146
|
+
* Default is "section" (false). Turn into "true" for "subsection"
|
|
147
|
+
*/
|
|
148
|
+
subsection: {
|
|
149
|
+
type: Boolean,
|
|
150
|
+
default: !1
|
|
151
|
+
},
|
|
152
|
+
/**
|
|
153
|
+
* Sets the HTML DOM element.
|
|
154
|
+
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
155
|
+
*/
|
|
156
|
+
el: {
|
|
157
|
+
type: p.props.el.type,
|
|
158
|
+
required: !0,
|
|
159
|
+
validator: (e) => Object.values(v).includes(e)
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
setup(e) {
|
|
163
|
+
const t = e, o = i(), s = r(() => !t.subsection), a = u(o), _ = r(() => ({
|
|
164
|
+
"b-form-layout-title--subsection": t.subsection
|
|
165
|
+
}));
|
|
166
|
+
return { __sfc: !0, slots: o, props: t, isSection: s, hasSlot: a, conditionalClasses: _, BentoTypography: p };
|
|
167
|
+
}
|
|
168
|
+
});
|
|
169
|
+
var G = function() {
|
|
170
|
+
var t = this, o = t._self._c, s = t._self._setupProxy;
|
|
171
|
+
return o("div", { staticClass: "b-form-layout-title", class: s.conditionalClasses }, [o(s.BentoTypography, { attrs: { el: t.el, variant: "title", medium: s.isSection } }, [t._t("default")], 2), s.hasSlot("description") ? o(s.BentoTypography, { staticClass: "b-form-layout-title__description", attrs: { el: "span", wide: "" } }, [t._t("description")], 2) : t._e()], 1);
|
|
172
|
+
}, k = [], w = /* @__PURE__ */ l(
|
|
173
|
+
N,
|
|
174
|
+
G,
|
|
175
|
+
k,
|
|
176
|
+
!1,
|
|
177
|
+
null,
|
|
178
|
+
"03648a9d"
|
|
179
|
+
);
|
|
180
|
+
const M = w.exports;
|
|
181
|
+
export {
|
|
182
|
+
J as a,
|
|
183
|
+
M as b,
|
|
184
|
+
K as c,
|
|
185
|
+
H as f
|
|
186
|
+
};
|
|
187
|
+
//# sourceMappingURL=form-layout-title.BzNU0B72.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-layout-title.BzNU0B72.js","sources":["../../src/components/form-layout/form-layout.vue","../../src/components/form-layout/components/form-layout-field-tip/form-layout-tip.types.ts","../../src/components/form-layout/components/form-layout-field-tip/form-layout-field-tip.vue","../../src/components/form-layout/components/form-layout-group/form-layout-group.types.ts","../../src/components/form-layout/components/form-layout-group/form-layout-group.vue","../../src/components/form-layout/components/form-layout-title/form-layout-title.vue"],"sourcesContent":["<template>\n <component :is=\"formLayoutElement\" class=\"b-form-layout\" role=\"form\">\n <bento-alert v-if=\"hasSlot('error-message')\" class=\"b-form-layout__error-message\" type=\"critical\">\n <template #description>\n <slot name=\"error-message\" />\n </template>\n </bento-alert>\n\n <slot />\n\n <div v-if=\"hasActions\" class=\"b-form-layout__actions-container\">\n <div class=\"b-form-layout__actions\">\n <slot name=\"actions-left\" />\n </div>\n\n <div class=\"b-form-layout__actions\">\n <slot name=\"actions-right\" />\n </div>\n </div>\n </component>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, provide, toRef, useSlots } from 'vue';\n import { BentoAlert } from '@/components/alert';\n import { useHasSlot } from '@/composables';\n import { FORM_LAYOUT_LOADING_INJECTION_KEY } from './form-layout.types';\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const props = defineProps({\n /**\n * Renders the form layout as an HTML `form`\n */\n form: { type: Boolean, default: false },\n\n /**\n * Sets the state of the form and its fields to\n * a read only status.\n */\n loading: { type: Boolean, default: false },\n });\n\n const formLayoutElement = computed(() => (props.form ? 'form' : 'div'));\n const hasActions = computed(() => hasSlot('actions-left') || hasSlot('actions-right'));\n\n provide(FORM_LAYOUT_LOADING_INJECTION_KEY, toRef(props, 'loading'));\n</script>\n\n<script lang=\"ts\">\n /**\n * Form layout component is a pre-designed layout that serves\n * as a starting point for creating a form.\n *\n * It can include various common form components:\n * input field, dropdown, date picker, checkbox group, radio group,\n * textarea, etc.\n *\n * Form layout is context agnostic and can be dropped in different\n * places, for example in modals, side panels or pages.\n *\n * @example\n * import { BentoFormLayout, BentoFormLayoutFieldTip } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayout, BentoFormLayoutFieldTip },\n * template: `\n * <bento-form-layout>\n * <template #error-message>There is an error. Correct the highlighted field.</template>\n *\n * <bento-input-field>Input field</bento-input-field>\n *\n * <bento-form-layout-field-tip>\n * <bento-dropdown label=\"Dropdown\" :items=\"dropdownItems\" placeholder=\"Select an animal\" />\n * <template #message>This is a small tip that can be used in small spaces</template>\n * </bento-form-layout-field-tip>\n *\n * <bento-form-layout-title subsection>\n * Section title\n * <template #description>Optional section description</template>\n * </bento-form-layout-title>\n * </bento-form-layout>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout.scss\" />\n","import { BentoAlertTypeOption } from '@/components/alert/alert.types';\n\nexport type BentoFormLayoutFieldTipTypeOption = `${BentoAlertTypeOption}`;\nexport const BentoFormLayoutFieldTipTypeOptions = ['warning', 'critical', 'highlight', 'success'];\n","<template>\n <div class=\"b-form-layout-field-tip\">\n <slot />\n <bento-alert v-if=\"hasSlot('message')\" variant=\"tip\" :type=\"type\">\n <template #description>\n <slot name=\"message\" />\n </template>\n </bento-alert>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { PropType, useSlots } from 'vue';\n import { BentoFormLayoutFieldTipTypeOption, BentoFormLayoutFieldTipTypeOptions } from './form-layout-tip.types';\n import { BentoAlert } from '@/components/alert';\n import { useHasSlot } from '@/composables/use-has-slot/use-has-slot';\n\n defineProps({\n /**\n * Type of a alert; set a distinctive icon and color. Defaults to highlight.\n * @values highlight, success, critical, warning\n */\n type: {\n type: String as PropType<BentoFormLayoutFieldTipTypeOption>,\n default: 'highlight',\n validator: (value: BentoFormLayoutFieldTipTypeOption) => BentoFormLayoutFieldTipTypeOptions.includes(value),\n },\n });\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n</script>\n\n<script lang=\"ts\">\n /**\n * You can help users provide accurate and well formatted information\n * by using various elements that come with an input field.\n *\n * Use description/supporting text to add additional context to the\n * field or guidance how to format the input correctly.\n * Because description is always visible it should be the first\n * choice in providing guidance.\n *\n * @example\n * import { BentoFormLayoutFieldTip } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutFieldTip },\n * template: `\n * <bento-form-layout-field-tip>\n * <bento-dropdown label=\"Dropdown\" :items=\"dropdownItems\" placeholder=\"Select an animal\" />\n *\n * <template #message>This is a small tip that can be used in small spaces</template>\n * </bento-form-layout-field-tip>\n * `\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-field-tip.scss\" />\n","export type BentoLayoutGroupProportions =\n | '33-33-33'\n | '50-50'\n | '25-75'\n | '75-25'\n | '33-66'\n | '66-33'\n | '25'\n | '33'\n | '50'\n | '100';\n\nexport const BentoLayoutGroupProportions = [\n '100',\n '50',\n '33',\n '25',\n '66-33',\n '33-66',\n '75-25',\n '25-75',\n '50-50',\n '33-33-33',\n];\n","<template>\n <div class=\"b-form-layout-group\" :class=\"conditionalClasses\">\n <slot></slot>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, PropType } from 'vue';\n import { BentoLayoutGroupProportions } from './form-layout-group.types';\n\n // Default proportion\n const DEFAULT_PROPORTION = 100;\n\n const props = defineProps({\n /**\n * The layout of the pair group of components.\n * This will render the components within the width of the proportions.\n * Only two colums are available.\n *\n * If only one value is entered, then it will assume there's only one child in the group.\n * If two values are entered, the first value will be use for the first child and the second\n * value for the second child.\n *\n * If the value entered is not listed in the example\n * list below it will use 100% by default.\n * @example\n * '33-33-33'\n * '50-50'\n * '25-75'\n * '75-25'\n * '33-66'\n * '66-33'\n * '25'\n * '33'\n * '50'\n * '100'\n */\n layout: {\n type: String as PropType<BentoLayoutGroupProportions>,\n default: '100',\n validator: (value: BentoLayoutGroupProportions) => BentoLayoutGroupProportions.includes(value),\n },\n });\n\n // Sets DEFAULT_PROPORTION by default if `layout` is not in the list\n const computedLayout = computed(() =>\n BentoLayoutGroupProportions.includes(props.layout) ? props.layout : DEFAULT_PROPORTION\n );\n\n const conditionalClasses = computed(() => ({\n // Transform into column if the layout is unsupported\n 'b-form-layout-group--column': !BentoLayoutGroupProportions.includes(props.layout),\n // Assings the correct layout class\n [`b-form-layout-group--${computedLayout.value}`]: true,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * Use to provide horizontal layouts to build forms\n * with two fields per line.\n *\n * These can be used for field combinations,\n * such as post code and city or title and first name.\n *\n * @example\n * import { BentoFormLayoutGroup } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutGroup },\n * template: `\n * <bento-form-layout-group>\n * <first-element />\n * <second-element />\n * </bento-form-layout-group>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-group.scss\" />\n","<template>\n <div class=\"b-form-layout-title\" :class=\"conditionalClasses\">\n <bento-typography :el=\"el\" variant=\"title\" :medium=\"isSection\">\n <slot />\n </bento-typography>\n\n <bento-typography v-if=\"hasSlot('description')\" class=\"b-form-layout-title__description\" el=\"span\" wide>\n <slot name=\"description\" />\n </bento-typography>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, useSlots } from 'vue';\n import { BentoTypography, BentoTypographyElement } from '@/components/typography';\n import { useHasSlot } from '@/composables';\n\n const slots = useSlots();\n\n const props = defineProps({\n /**\n * Defines if the Form Layout title is\n * a \"section\" or a \"subsection\".\n * Default is \"section\" (false). Turn into \"true\" for \"subsection\"\n */\n subsection: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Sets the HTML DOM element.\n * @values h1, h2, h3, h4, h5, h6, div, p, span\n */\n el: {\n type: BentoTypography.props.el.type,\n required: true,\n validator: (value: BentoTypographyElement) => Object.values(BentoTypographyElement).includes(value),\n },\n });\n\n // Uses \"medium\" typography if it is a section title\n const isSection = computed(() => !props.subsection);\n const hasSlot = useHasSlot(slots);\n const conditionalClasses = computed(() => ({\n 'b-form-layout-title--subsection': props.subsection,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * If you’re building a lengthy form, organise related\n * fields into sections and, if needed, subsections.\n *\n * A form can have a \"Section Title\" and multiple \"Subsection titles\".\n *\n * One of the values provided in @see BentoTypographyElement must always be provided as a string\n * to define correct HTML sementic from the application's context\n *\n * @example\n * import { BentoFormLayoutTitle } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutTitle },\n * template: `\n * <bento-form-layout-title subsection el=\"h2\">\n * Title\n * <template #description>Description text</template>\n * </bento-form-layout-title>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-title.scss\" />\n"],"names":["__default__$3","slots","useSlots","hasSlot","useHasSlot","formLayoutElement","computed","props","hasActions","provide","FORM_LAYOUT_LOADING_INJECTION_KEY","toRef","BentoFormLayoutFieldTipTypeOptions","__default__$2","BentoLayoutGroupProportions","__default__$1","DEFAULT_PROPORTION","computedLayout","conditionalClasses","__default__","isSection"],"mappings":";;;;;;;AAsFI,MAAAA,IAAA,CAAA;;;;;;;;;;;;;;;iBA1DAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAeAI,IAAAC,EAAA,MAAAC,EAAA,OAAA,SAAA,KAAA,GACAC,IAAAF,EAAA,MAAAH,EAAA,cAAA,KAAAA,EAAA,eAAA,CAAA;AAEA,WAAAM,EAAAC,GAAAC,EAAAJ,GAAA,SAAA,CAAA;;;;;;;;;;;;;;;;qBC5CGK,IAAA,CAAA,WAAA,YAAA,aAAA,SAAA,GCqDHC,IAAA,CAAA;;;;;;;;;;;;;;;AA3BA,UAAAZ,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA;;;;;;;;;;;;;;;;;qBClBGa,IAAA;AAAA,EAAoC;AAAA,EACvC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAEJ,GCuDIC,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAnEAC,IAAA,KAkCAC,IAAAX;AAAA,MAAuB,MAAAQ,EAAA,SAAAP,EAAA,MAAA,IAAAA,EAAA,SAAAS;AAAA,IACiD,GAGxEE,IAAAZ,EAAA,OAAA;AAAA;AAAA,MAA2C,+BAAA,CAAAQ,EAAA,SAAAP,EAAA,MAAA;AAAA;AAAA,MAE0C,CAAA,wBAAAU,EAAA,KAAA,EAAA,GAAA;AAAA,IAE/B,EAAA;;;;;;;;;;;;;;;qBCmBtDE,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;iBAvDAlB,IAAAC,EAAA,GAyBAkB,IAAAd,EAAA,MAAA,CAAAC,EAAA,UAAA,GACAJ,IAAAC,EAAAH,CAAA,GACAiB,IAAAZ,EAAA,OAAA;AAAA,MAA2C,mCAAAC,EAAA;AAAA,IACE,EAAA;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-layout.types.
|
|
1
|
+
{"version":3,"file":"form-layout.types.D3EKzbE7.js","sources":["../../src/components/form-layout/form-layout.types.ts"],"sourcesContent":["export const FORM_LAYOUT_LOADING_INJECTION_KEY = Symbol('form layout loading injection key');\n"],"names":["FORM_LAYOUT_LOADING_INJECTION_KEY"],"mappings":"AAAa,MAAAA,IAAoC,OAAO,mCAAmC;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./index.
|
|
1
|
+
import "./index.Cl4_42j5.js";
|
|
2
2
|
const n = (r, t) => t > 5 ? "" : Array.isArray(r) ? r != null && r[0].text ? r == null ? void 0 : r[0].text : n(r == null ? void 0 : r[0].children, t + 1) : r == null ? void 0 : r.text, u = (r) => (t) => {
|
|
3
3
|
var i;
|
|
4
4
|
return n((i = r[t]) == null ? void 0 : i.call(r), 1);
|
|
@@ -6,4 +6,4 @@ const n = (r, t) => t > 5 ? "" : Array.isArray(r) ? r != null && r[0].text ? r =
|
|
|
6
6
|
export {
|
|
7
7
|
u as g
|
|
8
8
|
};
|
|
9
|
-
//# sourceMappingURL=get-slot-text.
|
|
9
|
+
//# sourceMappingURL=get-slot-text.Cgn-E48s.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-slot-text.
|
|
1
|
+
{"version":3,"file":"get-slot-text.Cgn-E48s.js","sources":["../../src/utils/ts/get-slot-text/get-slot-text.ts"],"sourcesContent":["import { isVue2 } from 'vue-demi';\nimport type { Slots } from 'vue/types/v3-setup-context';\n\n// TODO: remove these types when vue 2 support has been removed\ntype vue2VNode = { text?: string; children?: vue2VNode };\n\nconst getTextFromChildren = (vNode: vue2VNode[] | vue2VNode, nestedLevel: number): string => {\n // We should not be checking for slot text more than 5 layers. If we are end the recursion.\n if (nestedLevel > 5) {\n return '';\n }\n if (Array.isArray(vNode)) {\n if (isVue2 && (vNode as Array<vue2VNode>)?.[0].text) {\n return vNode?.[0].text;\n }\n return getTextFromChildren(vNode?.[0].children, nestedLevel + 1);\n }\n return isVue2 ? (vNode as vue2VNode)?.text : vNode?.toString();\n};\n\n/**\n * Get text recursively from slot by giving slot name.\n * This recursion will only occur 5 times before the method gives up and returns an empty string.\n * @param slots - the slots provided the the component's setup function\n * @returns A function who's first parameter is the name of the slot.\n */\nexport const getSlotText = (slots: Slots) => (name: string) =>\n getTextFromChildren(slots[name]?.() as vue2VNode[] | vue2VNode, 1);\n\nexport default getSlotText;\n"],"names":["getTextFromChildren","vNode","nestedLevel","getSlotText","slots","name","_a"],"mappings":";AAMA,MAAMA,IAAsB,CAACC,GAAgCC,MAErDA,IAAc,IACP,KAEP,MAAM,QAAQD,CAAK,IACJA,KAAA,QAAAA,EAA6B,GAAG,OACpCA,KAAA,gBAAAA,EAAQ,GAAG,OAEfD,EAAoBC,KAAA,gBAAAA,EAAQ,GAAG,UAAUC,IAAc,CAAC,IAElDD,KAAA,gBAAAA,EAAqB,MAS7BE,IAAc,CAACC,MAAiB,CAACC,MAAA;;AAC1C,SAAAL,GAAoBM,IAAAF,EAAMC,OAAN,gBAAAC,EAAA,KAAAF,IAA4C,CAAC;AAAA;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as r, computed as d } from "vue";
|
|
2
|
-
import { u as
|
|
3
|
-
import { n as
|
|
2
|
+
import { u as m } from "./use-has-slot.C9lQZ6nz.js";
|
|
3
|
+
import { n as _ } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
4
4
|
import "../assets/grid-layout.css";
|
|
5
5
|
var s = /* @__PURE__ */ ((l) => (l.INLINE = "inline-size", l.SIZE = "size", l.NORMAL = "normal", l))(s || {});
|
|
6
6
|
const y = r({
|
|
@@ -31,9 +31,9 @@ const y = r({
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
setup(l, { slots: t }) {
|
|
34
|
-
const o =
|
|
35
|
-
var c,
|
|
36
|
-
if ((c = l.columnWidth) != null && c[a] && ((
|
|
34
|
+
const o = m(t), u = (a) => {
|
|
35
|
+
var c, i;
|
|
36
|
+
if ((c = l.columnWidth) != null && c[a] && ((i = l.columnWidth) == null ? void 0 : i[a]) !== "auto") {
|
|
37
37
|
const e = l.columnWidth[a];
|
|
38
38
|
return [
|
|
39
39
|
`b-grid-layout__column--${e.small}`,
|
|
@@ -50,7 +50,7 @@ const y = r({
|
|
|
50
50
|
}));
|
|
51
51
|
return {
|
|
52
52
|
// Values
|
|
53
|
-
computeColumnSize:
|
|
53
|
+
computeColumnSize: u,
|
|
54
54
|
computedClasses: n,
|
|
55
55
|
// Methods
|
|
56
56
|
hasSlot: o
|
|
@@ -60,19 +60,17 @@ const y = r({
|
|
|
60
60
|
var g = function() {
|
|
61
61
|
var t = this, o = t._self._c;
|
|
62
62
|
return t._self._setupProxy, o("div", { staticClass: "b-grid-layout", class: t.computedClasses, attrs: { "data-testid": "grid-layout" } }, [t.hasSlot("col-1") ? o("div", { staticClass: "b-grid-layout__column", class: t.computeColumnSize(0), attrs: { "data-testid": "grid-layout-col-1" } }, [t._t("col-1")], 2) : t._e(), t.hasSlot("col-2") ? o("div", { staticClass: "b-grid-layout__column", class: t.computeColumnSize(1), attrs: { "data-testid": "grid-layout-col-2" } }, [t._t("col-2")], 2) : t._e(), t.hasSlot("col-3") ? o("div", { staticClass: "b-grid-layout__column", class: t.computeColumnSize(2), attrs: { "data-testid": "grid-layout-col-3" } }, [t._t("col-3")], 2) : t._e(), t.hasSlot("col-4") ? o("div", { staticClass: "b-grid-layout__column", class: t.computeColumnSize(3), attrs: { "data-testid": "grid-layout-col-4" } }, [t._t("col-4")], 2) : t._e(), t.hasSlot("col-5") ? o("div", { staticClass: "b-grid-layout__column", class: t.computeColumnSize(4), attrs: { "data-testid": "grid-layout-col-5" } }, [t._t("col-5")], 2) : t._e(), t.hasSlot("col-6") ? o("div", { staticClass: "b-grid-layout__column", class: t.computeColumnSize(5), attrs: { "data-testid": "grid-layout-col-6" } }, [t._t("col-6")], 2) : t._e()]);
|
|
63
|
-
}, p = [],
|
|
63
|
+
}, p = [], S = /* @__PURE__ */ _(
|
|
64
64
|
y,
|
|
65
65
|
g,
|
|
66
66
|
p,
|
|
67
67
|
!1,
|
|
68
68
|
null,
|
|
69
|
-
"9e65023f"
|
|
70
|
-
null,
|
|
71
|
-
null
|
|
69
|
+
"9e65023f"
|
|
72
70
|
);
|
|
73
|
-
const
|
|
71
|
+
const v = S.exports;
|
|
74
72
|
export {
|
|
75
|
-
|
|
73
|
+
v as G,
|
|
76
74
|
s as a
|
|
77
75
|
};
|
|
78
|
-
//# sourceMappingURL=grid-layout.
|
|
76
|
+
//# sourceMappingURL=grid-layout.HvTAa4to.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-layout.
|
|
1
|
+
{"version":3,"file":"grid-layout.HvTAa4to.js","sources":["../../src/components/internal/grid-layout/grid-layout.types.ts","../../src/components/internal/grid-layout/grid-layout.vue"],"sourcesContent":["export enum GridLayoutContainerType {\n INLINE = 'inline-size',\n SIZE = 'size',\n NORMAL = 'normal',\n}\n\nexport interface GridLayoutColumnWidth {\n small: number | string;\n medium: number | string;\n large: number | string;\n}\n\nexport type GridLayoutColumnWidths = Array<'auto' | GridLayoutColumnWidth>;\n","<template>\n <div class=\"b-grid-layout\" :class=\"computedClasses\" data-testid=\"grid-layout\">\n <div\n v-if=\"hasSlot('col-1')\"\n class=\"b-grid-layout__column\"\n :class=\"computeColumnSize(0)\"\n data-testid=\"grid-layout-col-1\"\n >\n <slot name=\"col-1\"></slot>\n </div>\n <div\n v-if=\"hasSlot('col-2')\"\n class=\"b-grid-layout__column\"\n :class=\"computeColumnSize(1)\"\n data-testid=\"grid-layout-col-2\"\n >\n <slot name=\"col-2\"></slot>\n </div>\n <div\n v-if=\"hasSlot('col-3')\"\n class=\"b-grid-layout__column\"\n :class=\"computeColumnSize(2)\"\n data-testid=\"grid-layout-col-3\"\n >\n <slot name=\"col-3\"></slot>\n </div>\n <div\n v-if=\"hasSlot('col-4')\"\n class=\"b-grid-layout__column\"\n :class=\"computeColumnSize(3)\"\n data-testid=\"grid-layout-col-4\"\n >\n <slot name=\"col-4\"></slot>\n </div>\n <div\n v-if=\"hasSlot('col-5')\"\n class=\"b-grid-layout__column\"\n :class=\"computeColumnSize(4)\"\n data-testid=\"grid-layout-col-5\"\n >\n <slot name=\"col-5\"></slot>\n </div>\n <div\n v-if=\"hasSlot('col-6')\"\n class=\"b-grid-layout__column\"\n :class=\"computeColumnSize(5)\"\n data-testid=\"grid-layout-col-6\"\n >\n <slot name=\"col-6\"></slot>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, PropType } from 'vue';\n import { useHasSlot } from '@/composables';\n import { GridLayoutColumnWidth, GridLayoutColumnWidths, GridLayoutContainerType } from './grid-layout.types';\n\n /**\n * Component used to render the grid layout in the bento-summary-grid. For internal use only\n */\n export default defineComponent({\n name: 'grid-layout',\n props: {\n /**\n * Sets the responsive columns widths for the grid.\n */\n columnWidth: {\n type: Array as PropType<GridLayoutColumnWidths>,\n default: null,\n validator: (array: GridLayoutColumnWidths) => array && array.length <= 6,\n },\n\n /**\n * Set the type of CSS container the grid layout has\n * @values inline-size, size, normal\n */\n containerType: {\n type: String as PropType<GridLayoutContainerType>,\n default: GridLayoutContainerType.INLINE,\n },\n\n /**\n * Sets the gap in the grid to 0.\n */\n noGap: {\n type: Boolean,\n default: false,\n },\n },\n setup(props, { slots }) {\n const hasSlot = useHasSlot(slots);\n\n // TODO: add a computedItems computed here that only returns the slots that are presents so as to be able to render the divs in the template via a v-for\n const computeColumnSize = index => {\n if (props.columnWidth?.[index] && props.columnWidth?.[index] !== 'auto') {\n const columnWidth = props.columnWidth[index] as GridLayoutColumnWidth;\n return [\n `b-grid-layout__column--${columnWidth.small}`,\n `b-grid-layout-m__column--${columnWidth.medium}`,\n `b-grid-layout-l__column--${columnWidth.large}`,\n ];\n }\n return null;\n };\n\n const computedClasses = computed(() => ({\n 'b-grid-layout--container-type-normal': props.containerType === GridLayoutContainerType.NORMAL,\n 'b-grid-layout--container-type-size': props.containerType === GridLayoutContainerType.SIZE,\n 'b-grid-layout--all-auto':\n props.columnWidth === null || props.columnWidth.every(width => width === 'auto'),\n 'b-grid-layout--no-gap': props.noGap,\n }));\n\n return {\n // Values\n computeColumnSize,\n computedClasses,\n\n // Methods\n hasSlot,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./grid-layout.scss\" />\n"],"names":["GridLayoutContainerType","GridLayoutContainerType2","_sfc_main","defineComponent","array","props","slots","hasSlot","useHasSlot","computeColumnSize","index","_a","_b","columnWidth","computedClasses","computed","width"],"mappings":";;;;AAAY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,SAAA,eACAA,EAAA,OAAA,QACAA,EAAA,SAAA,UAHQA,IAAAD,KAAA,CAAA,CAAA;AC6DZ,MAAAE,IAAAC,EAAA;AAAA,EAAA,MAAA;AAAA,EACA,OAAA;AAAA;AAAA;AAAA;AAAA,IACA,aAAA;AAAA,MAIA,MAAA;AAAA,MACA,SAAA;AAAA,MACA,WAAA,CAAAC,MAAAA,KAAAA,EAAA,UAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IACA,eAAA;AAAA,MAMA,MAAA;AAAA,MACA,SAAAJ,EAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IACA,OAAA;AAAA,MAKA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AAAA,EACA,MAAAK,GAAA,EAAA,OAAAC,EAAA,GAAA;AAEA,UAAAC,IAAAC,EAAAF,CAAA,GAGAG,IAAA,CAAAC,MAAA;;AACA,WAAAC,IAAAN,EAAA,gBAAA,QAAAM,EAAAD,QAAAE,IAAAP,EAAA,gBAAA,gBAAAO,EAAAF,QAAA,QAAA;AACA,cAAAG,IAAAR,EAAA,YAAAK,CAAA;AACA,eAAA;AAAA,UAAA,0BAAAG,EAAA,KAAA;AAAA,UACA,4BAAAA,EAAA,MAAA;AAAA,UACA,4BAAAA,EAAA,KAAA;AAAA,QACA;AAAA,MACA;AAEA,aAAA;AAAA,IAAA,GAGAC,IAAAC,EAAA,OAAA;AAAA,MAAA,wCAAAV,EAAA,kBAAAL,EAAA;AAAA,MACA,sCAAAK,EAAA,kBAAAL,EAAA;AAAA,MACA,2BAAAK,EAAA,gBAAA,QAAAA,EAAA,YAAA,MAAA,CAAAW,MAAAA,MAAA,MAAA;AAAA,MAEA,yBAAAX,EAAA;AAAA,IACA,EAAA;AAGA,WAAA;AAAA;AAAA,MAAA,mBAAAI;AAAA,MAEA,iBAAAK;AAAA;AAAA,MACA,SAAAP;AAAA,IAGA;AAAA,EACA;AAEA,CAAA;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
import { defineComponent as x, ref as h, computed as T } from "vue";
|
|
2
|
+
import { u as U } from "./use-has-slot.C9lQZ6nz.js";
|
|
3
|
+
import { B as C, c as D, a as L } from "./typography.Bjtu3Gca.js";
|
|
4
|
+
import { u as N } from "./i18n.BQkEbtPM.js";
|
|
5
|
+
import { B as X } from "./button-actions-with-menu.f3yuLK-L.js";
|
|
6
|
+
import { c as I, a as B } from "./index.xqFSZOAb.js";
|
|
7
|
+
import { r as m, t as c, l as b, g as S, a as F, b as Y } from "./index.B_UZQ6qF.js";
|
|
8
|
+
import { e as $ } from "./index.B_EJflcs.js";
|
|
9
|
+
import { e as G } from "./index.Z84QE0E2.js";
|
|
10
|
+
import { B as g } from "./popover.B8YH92W8.js";
|
|
11
|
+
import { g as H } from "./unique-id.XFfoKuc2.js";
|
|
12
|
+
import { I as W } from "./info.CyeBsLgt.js";
|
|
13
|
+
import { n as A } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
14
|
+
import "../assets/header.css";
|
|
15
|
+
function z(o, t) {
|
|
16
|
+
m(2, arguments);
|
|
17
|
+
var n = c(o), e = c(t), l = n.getFullYear() - e.getFullYear(), a = n.getMonth() - e.getMonth();
|
|
18
|
+
return l * 12 + a;
|
|
19
|
+
}
|
|
20
|
+
function V(o, t) {
|
|
21
|
+
return m(2, arguments), c(o).getTime() - c(t).getTime();
|
|
22
|
+
}
|
|
23
|
+
var P = {
|
|
24
|
+
ceil: Math.ceil,
|
|
25
|
+
round: Math.round,
|
|
26
|
+
floor: Math.floor,
|
|
27
|
+
trunc: function(o) {
|
|
28
|
+
return o < 0 ? Math.ceil(o) : Math.floor(o);
|
|
29
|
+
}
|
|
30
|
+
// Math.trunc is not supported by IE
|
|
31
|
+
}, j = "trunc";
|
|
32
|
+
function q(o) {
|
|
33
|
+
return o ? P[o] : P[j];
|
|
34
|
+
}
|
|
35
|
+
function k(o) {
|
|
36
|
+
m(1, arguments);
|
|
37
|
+
var t = c(o);
|
|
38
|
+
return $(t).getTime() === G(t).getTime();
|
|
39
|
+
}
|
|
40
|
+
function J(o, t) {
|
|
41
|
+
m(2, arguments);
|
|
42
|
+
var n = c(o), e = c(t), l = I(n, e), a = Math.abs(z(n, e)), r;
|
|
43
|
+
if (a < 1)
|
|
44
|
+
r = 0;
|
|
45
|
+
else {
|
|
46
|
+
n.getMonth() === 1 && n.getDate() > 27 && n.setDate(30), n.setMonth(n.getMonth() - l * a);
|
|
47
|
+
var s = I(n, e) === -l;
|
|
48
|
+
k(c(o)) && a === 1 && I(o, e) === 1 && (s = !1), r = l * (a - Number(s));
|
|
49
|
+
}
|
|
50
|
+
return r === 0 ? 0 : r;
|
|
51
|
+
}
|
|
52
|
+
function K(o, t, n) {
|
|
53
|
+
m(2, arguments);
|
|
54
|
+
var e = V(o, t) / 1e3;
|
|
55
|
+
return q(void 0)(e);
|
|
56
|
+
}
|
|
57
|
+
var E = 1440, Q = 2520, O = 43200, Z = 86400;
|
|
58
|
+
function tt(o, t) {
|
|
59
|
+
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
60
|
+
m(2, arguments);
|
|
61
|
+
var e = n.locale || b;
|
|
62
|
+
if (!e.formatDistance)
|
|
63
|
+
throw new RangeError("locale must contain formatDistance property");
|
|
64
|
+
var l = I(o, t);
|
|
65
|
+
if (isNaN(l))
|
|
66
|
+
throw new RangeError("Invalid time value");
|
|
67
|
+
var a = B(n);
|
|
68
|
+
a.addSuffix = !!n.addSuffix, a.comparison = l;
|
|
69
|
+
var r, s;
|
|
70
|
+
l > 0 ? (r = c(t), s = c(o)) : (r = c(o), s = c(t));
|
|
71
|
+
var f = K(s, r), _ = (S(s) - S(r)) / 1e3, i = Math.round((f - _) / 60), p;
|
|
72
|
+
if (i < 2)
|
|
73
|
+
return n.includeSeconds ? f < 5 ? e.formatDistance("lessThanXSeconds", 5, a) : f < 10 ? e.formatDistance("lessThanXSeconds", 10, a) : f < 20 ? e.formatDistance("lessThanXSeconds", 20, a) : f < 40 ? e.formatDistance("halfAMinute", null, a) : f < 60 ? e.formatDistance("lessThanXMinutes", 1, a) : e.formatDistance("xMinutes", 1, a) : i === 0 ? e.formatDistance("lessThanXMinutes", 1, a) : e.formatDistance("xMinutes", i, a);
|
|
74
|
+
if (i < 45)
|
|
75
|
+
return e.formatDistance("xMinutes", i, a);
|
|
76
|
+
if (i < 90)
|
|
77
|
+
return e.formatDistance("aboutXHours", 1, a);
|
|
78
|
+
if (i < E) {
|
|
79
|
+
var u = Math.round(i / 60);
|
|
80
|
+
return e.formatDistance("aboutXHours", u, a);
|
|
81
|
+
} else {
|
|
82
|
+
if (i < Q)
|
|
83
|
+
return e.formatDistance("xDays", 1, a);
|
|
84
|
+
if (i < O) {
|
|
85
|
+
var w = Math.round(i / E);
|
|
86
|
+
return e.formatDistance("xDays", w, a);
|
|
87
|
+
} else if (i < Z)
|
|
88
|
+
return p = Math.round(i / O), e.formatDistance("aboutXMonths", p, a);
|
|
89
|
+
}
|
|
90
|
+
if (p = J(s, r), p < 12) {
|
|
91
|
+
var R = Math.round(i / O);
|
|
92
|
+
return e.formatDistance("xMonths", R, a);
|
|
93
|
+
} else {
|
|
94
|
+
var y = p % 12, M = Math.floor(p / 12);
|
|
95
|
+
return y < 3 ? e.formatDistance("aboutXYears", M, a) : y < 9 ? e.formatDistance("overXYears", M, a) : e.formatDistance("almostXYears", M + 1, a);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
function et(o, t) {
|
|
99
|
+
return m(1, arguments), tt(o, Date.now(), t);
|
|
100
|
+
}
|
|
101
|
+
const ot = {
|
|
102
|
+
"en-US": {
|
|
103
|
+
infoIconAriaLabel: "More information"
|
|
104
|
+
}
|
|
105
|
+
}, nt = {
|
|
106
|
+
i18n: { messages: ot }
|
|
107
|
+
}, at = /* @__PURE__ */ x({
|
|
108
|
+
...nt,
|
|
109
|
+
__name: "info-icon-with-popover",
|
|
110
|
+
props: {
|
|
111
|
+
/**
|
|
112
|
+
* Text showed in the popover on hover
|
|
113
|
+
*/
|
|
114
|
+
popoverText: { type: String, default: null },
|
|
115
|
+
/**
|
|
116
|
+
* Position the popover should take if space is available
|
|
117
|
+
*/
|
|
118
|
+
popoverPosition: {
|
|
119
|
+
type: g.props.position.type,
|
|
120
|
+
default: g.props.position.default,
|
|
121
|
+
validator: g.props.position.validator
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
setup(o) {
|
|
125
|
+
const { t: n } = N(), e = h(), l = h(null), a = H("bento-info-icon-with-popover"), r = h(), s = h(), f = () => {
|
|
126
|
+
r.value = !0, s.value && clearTimeout(s.value);
|
|
127
|
+
}, _ = () => {
|
|
128
|
+
const u = setTimeout(() => {
|
|
129
|
+
r.value = !1;
|
|
130
|
+
}, 200);
|
|
131
|
+
s.value = u;
|
|
132
|
+
};
|
|
133
|
+
return { __sfc: !0, CLOSING_POPOVER_DELAY_MS: 200, t: n, infoIconRef: e, targetElement: l, popoverId: a, isOpen: r, closingTimeOutId: s, openPopover: f, closePopover: _, infoIconOnFocus: () => {
|
|
134
|
+
f();
|
|
135
|
+
}, infoIconOnFocusOut: (u) => {
|
|
136
|
+
(!e.value || !((u == null ? void 0 : u.relatedTarget) instanceof Element) || !e.value.contains(u.relatedTarget)) && _();
|
|
137
|
+
}, BentoPopover: g, BentoTypography: C, InfoIcon: W };
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
var rt = function() {
|
|
141
|
+
var t = this, n = t._self._c, e = t._self._setupProxy;
|
|
142
|
+
return n("div", { ref: "infoIconRef", staticClass: "b-info-icon-with-popover", attrs: { tabindex: "0", "data-testid": "info-icon-with-popover" }, on: { mouseenter: e.openPopover, mouseleave: e.closePopover, focus: e.infoIconOnFocus, focusout: e.infoIconOnFocusOut } }, [n(e.InfoIcon, { ref: "targetElement", staticClass: "b-info-icon-with-popover__svg", attrs: { "aria-expanded": e.isOpen, "aria-describedby": e.popoverId, "svg-title": e.t("infoIconAriaLabel") } }), e.targetElement ? n(e.BentoPopover, { attrs: { open: e.isOpen, "target-element": e.targetElement, position: t.popoverPosition, role: "tooltip", "fit-content": "", "disable-focus-trap": "" } }, [n(e.BentoTypography, [t._t("default", function() {
|
|
143
|
+
return [t.popoverText ? n("div", [t._v(" " + t._s(t.popoverText) + " ")]) : t._e()];
|
|
144
|
+
})], 2)], 1) : t._e()], 1);
|
|
145
|
+
}, st = [], it = /* @__PURE__ */ A(
|
|
146
|
+
at,
|
|
147
|
+
rt,
|
|
148
|
+
st,
|
|
149
|
+
!1,
|
|
150
|
+
null,
|
|
151
|
+
"8baceb76"
|
|
152
|
+
);
|
|
153
|
+
const v = it.exports;
|
|
154
|
+
var d = /* @__PURE__ */ ((o) => (o.PAGE = "page", o.COMPONENT = "component", o))(d || {});
|
|
155
|
+
const lt = {
|
|
156
|
+
"en-US": {
|
|
157
|
+
lastUpdated: "Last updated: {date} ago"
|
|
158
|
+
}
|
|
159
|
+
}, ct = x({
|
|
160
|
+
i18n: { messages: lt },
|
|
161
|
+
name: "bento-header",
|
|
162
|
+
components: {
|
|
163
|
+
BentoTypography: C,
|
|
164
|
+
ButtonActionsWithMenu: X,
|
|
165
|
+
InfoIconWithPopover: v
|
|
166
|
+
},
|
|
167
|
+
props: {
|
|
168
|
+
/**
|
|
169
|
+
* Array of BentoButtonActionsList to show to the right of the title
|
|
170
|
+
*/
|
|
171
|
+
actions: {
|
|
172
|
+
type: Array,
|
|
173
|
+
default: null
|
|
174
|
+
},
|
|
175
|
+
/**
|
|
176
|
+
* Text showed in the info-icon tooltip on hover
|
|
177
|
+
*/
|
|
178
|
+
infoIconTooltipText: { type: v.props.popoverText.type, default: null },
|
|
179
|
+
/**
|
|
180
|
+
* Popover position of the info icon text.
|
|
181
|
+
*/
|
|
182
|
+
infoIconPopoverPosition: {
|
|
183
|
+
type: v.props.popoverPosition.type,
|
|
184
|
+
default: v.props.popoverPosition.default,
|
|
185
|
+
validator: v.props.popoverPosition.validator
|
|
186
|
+
},
|
|
187
|
+
/**
|
|
188
|
+
* JavaScript "Date" object for when the content was last updated
|
|
189
|
+
*/
|
|
190
|
+
lastUpdated: { type: [Date, Number], default: null },
|
|
191
|
+
/**
|
|
192
|
+
* Variant represents type of Header
|
|
193
|
+
* @values page, component
|
|
194
|
+
*/
|
|
195
|
+
variant: {
|
|
196
|
+
type: String,
|
|
197
|
+
default: d.PAGE,
|
|
198
|
+
validator: (o) => Object.values(d).includes(o)
|
|
199
|
+
},
|
|
200
|
+
/**
|
|
201
|
+
* Text used as a title
|
|
202
|
+
*/
|
|
203
|
+
title: { type: String, required: !0 }
|
|
204
|
+
},
|
|
205
|
+
setup(o, { slots: t }) {
|
|
206
|
+
const { t: n, locale: e } = N(), l = { de: F, enUS: b, fr: Y }, a = T(() => ({
|
|
207
|
+
"b-header--component": o.variant === d.COMPONENT
|
|
208
|
+
})), r = T(() => ({
|
|
209
|
+
el: o.variant === d.PAGE ? D.H1 : D.H2,
|
|
210
|
+
variant: L.TITLE,
|
|
211
|
+
medium: o.variant === d.COMPONENT,
|
|
212
|
+
large: o.variant === d.PAGE
|
|
213
|
+
})), s = T(
|
|
214
|
+
() => o.lastUpdated ? n("lastUpdated", {
|
|
215
|
+
date: et(o.lastUpdated, {
|
|
216
|
+
locale: l[e.value.substring(0, 2)] || b
|
|
217
|
+
})
|
|
218
|
+
}) : null
|
|
219
|
+
);
|
|
220
|
+
return {
|
|
221
|
+
hasSlot: U(t),
|
|
222
|
+
conditionalClasses: a,
|
|
223
|
+
timestamp: s,
|
|
224
|
+
typography: r
|
|
225
|
+
};
|
|
226
|
+
}
|
|
227
|
+
});
|
|
228
|
+
var ft = function() {
|
|
229
|
+
var t = this, n = t._self._c;
|
|
230
|
+
return t._self._setupProxy, n("div", { staticClass: "b-header", class: t.conditionalClasses }, [n("div", { staticClass: "b-header__wrapper" }, [n("div", { staticClass: "b-header__title" }, [n("div", [n("bento-typography", t._b({ staticClass: "b-header__text" }, "bento-typography", t.typography, !1), [t._v(t._s(t.title))]), t.infoIconTooltipText || t.hasSlot("infoIconTooltipContent") ? n("info-icon-with-popover", { staticClass: "b-header__tooltip", attrs: { "popover-text": t.infoIconTooltipText }, scopedSlots: t._u([t.hasSlot("infoIconTooltipContent") ? { key: "default", fn: function() {
|
|
231
|
+
return [t._t("infoIconTooltipContent")];
|
|
232
|
+
}, proxy: !0 } : null], null, !0) }) : t._e()], 1), t.lastUpdated ? n("bento-typography", { staticClass: "b-header__timestamp", attrs: { el: "div", variant: "caption" } }, [t._v(" " + t._s(t.timestamp) + " ")]) : t._e()], 1), t.actions ? n("button-actions-with-menu", { staticClass: "b-header__actions", attrs: { actions: t.actions, "displayed-actions": 2 } }) : t._e()], 1)]);
|
|
233
|
+
}, ut = [], pt = /* @__PURE__ */ A(
|
|
234
|
+
ct,
|
|
235
|
+
ft,
|
|
236
|
+
ut,
|
|
237
|
+
!1,
|
|
238
|
+
null,
|
|
239
|
+
"07700b06"
|
|
240
|
+
);
|
|
241
|
+
const St = pt.exports;
|
|
242
|
+
export {
|
|
243
|
+
St as B
|
|
244
|
+
};
|
|
245
|
+
//# sourceMappingURL=header.DmKHCmXh.js.map
|