@adyen/bento-vue3 1.81.0 → 1.82.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 +196 -0
- package/dist/@types/index.d.ts +17825 -0
- package/dist/@types/use-form-v4.d.ts +86 -0
- package/dist/accordion.js +6 -0
- package/dist/accordion.js.map +1 -0
- package/dist/action-bar.js +5 -0
- package/dist/action-bar.js.map +1 -0
- package/dist/alert.js +8 -0
- package/dist/alert.js.map +1 -0
- package/dist/assets/accordion-item.css +1 -0
- package/dist/assets/action-bar.css +1 -0
- package/dist/assets/ai-button.css +1 -0
- package/dist/assets/alert.css +1 -0
- package/dist/assets/avatar.css +1 -0
- package/dist/assets/base-button.css +1 -0
- package/dist/assets/base-modal.css +1 -0
- package/dist/assets/button-actions-with-menu.css +1 -0
- package/dist/assets/button-actions.css +1 -0
- package/dist/assets/button.css +1 -0
- package/dist/assets/calendar.css +1 -0
- package/dist/assets/card.css +1 -0
- package/dist/assets/checkbox-group.css +1 -0
- package/dist/assets/checkbox-input.css +1 -0
- package/dist/assets/checkbox.css +1 -0
- package/dist/assets/chip.css +1 -0
- package/dist/assets/code-snippet.css +1 -0
- package/dist/assets/controls-group.css +1 -0
- package/dist/assets/copy.css +1 -0
- package/dist/assets/country.css +1 -0
- package/dist/assets/currency.css +1 -0
- 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/date-picker.css +1 -0
- package/dist/assets/date-range-picker.css +1 -0
- package/dist/assets/date.css +1 -0
- package/dist/assets/dialog-page.css +1 -0
- package/dist/assets/divider.css +1 -0
- package/dist/assets/dropdown-default-textbox.css +1 -0
- package/dist/assets/dropdown-tag.css +1 -0
- package/dist/assets/dropdown.css +1 -0
- package/dist/assets/empty-state.css +1 -0
- package/dist/assets/field-label.css +1 -0
- package/dist/assets/file-uploader.css +1 -0
- package/dist/assets/filter-bar.css +1 -0
- package/dist/assets/fixed-scroller.css +1 -0
- package/dist/assets/focus-trap.css +1 -0
- package/dist/assets/footer-actions.css +1 -0
- package/dist/assets/form-layout-title.css +1 -0
- package/dist/assets/grid-layout.css +1 -0
- package/dist/assets/header-meta.css +1 -0
- package/dist/assets/header-with-views.css +1 -0
- package/dist/assets/header.css +1 -0
- package/dist/assets/index.css +1 -0
- package/dist/assets/info-icon.css +1 -0
- package/dist/assets/input-field-password.css +1 -0
- package/dist/assets/input-field-phone-number.css +1 -0
- package/dist/assets/input-field.css +1 -0
- package/dist/assets/inspector.css +1 -0
- package/dist/assets/layout-row.css +1 -0
- package/dist/assets/link.css +1 -0
- package/dist/assets/listbox-option-tag.css +1 -0
- package/dist/assets/loading-indicator.css +1 -0
- package/dist/assets/main.css +1 -0
- package/dist/assets/modal-fullscreen.css +1 -0
- package/dist/assets/pagination.css +1 -0
- package/dist/assets/payment-method.css +1 -0
- package/dist/assets/popper-container.css +1 -0
- package/dist/assets/promo-banner.css +1 -0
- package/dist/assets/radio-group.css +1 -0
- package/dist/assets/radio-input.css +1 -0
- package/dist/assets/rich-text-editor.css +1 -0
- package/dist/assets/search-bar.css +1 -0
- package/dist/assets/secondary-nav.css +1 -0
- package/dist/assets/segmented-control.css +1 -0
- package/dist/assets/selection-card-group.css +1 -0
- package/dist/assets/sidepanel.css +1 -0
- package/dist/assets/status.css +1 -0
- package/dist/assets/step.css +1 -0
- package/dist/assets/structured-list-item.css +1 -0
- package/dist/assets/summary-grid.css +1 -0
- package/dist/assets/tab.css +1 -0
- package/dist/assets/tag.css +1 -0
- package/dist/assets/textarea.css +1 -0
- package/dist/assets/timeline-item.css +1 -0
- package/dist/assets/toast.css +1 -0
- package/dist/assets/toggle.css +1 -0
- package/dist/assets/tooltip.css +1 -0
- package/dist/assets/tutorial.css +1 -0
- package/dist/assets/typography.css +1 -0
- package/dist/assets/use-cached-selected-values.css +1 -0
- package/dist/avatar.js +5 -0
- package/dist/avatar.js.map +1 -0
- package/dist/button.js +18 -0
- package/dist/button.js.map +1 -0
- package/dist/card.js +7 -0
- package/dist/card.js.map +1 -0
- package/dist/checkbox.js +11 -0
- package/dist/checkbox.js.map +1 -0
- package/dist/chip.js +5 -0
- package/dist/chip.js.map +1 -0
- 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-vue_export-helper.CHgC5LLL.js +10 -0
- package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js.map +1 -0
- package/dist/chunks/accordion-item.DHyAfeAu.js +143 -0
- package/dist/chunks/accordion-item.DHyAfeAu.js.map +1 -0
- package/dist/chunks/action-bar.BsLU4Bp3.js +202 -0
- package/dist/chunks/action-bar.BsLU4Bp3.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/ai-button.DaRuea3x.js +93 -0
- package/dist/chunks/ai-button.DaRuea3x.js.map +1 -0
- package/dist/chunks/alert.C2pusd-_.js +171 -0
- package/dist/chunks/alert.C2pusd-_.js.map +1 -0
- package/dist/chunks/aria-label.CaUURpnB.js +13 -0
- package/dist/chunks/aria-label.CaUURpnB.js.map +1 -0
- package/dist/chunks/avatar.P2Fkz2I6.js +95 -0
- package/dist/chunks/avatar.P2Fkz2I6.js.map +1 -0
- package/dist/chunks/base-button.BSLpAs8A.js +114 -0
- package/dist/chunks/base-button.BSLpAs8A.js.map +1 -0
- package/dist/chunks/base-modal.Bt3mQ_5Y.js +441 -0
- package/dist/chunks/base-modal.Bt3mQ_5Y.js.map +1 -0
- package/dist/chunks/bin.DuHlEQBO.js +37 -0
- package/dist/chunks/bin.DuHlEQBO.js.map +1 -0
- package/dist/chunks/button-actions-with-menu.D2GU8abn.js +93 -0
- package/dist/chunks/button-actions-with-menu.D2GU8abn.js.map +1 -0
- package/dist/chunks/button-actions.CbEoQYUV.js +1367 -0
- package/dist/chunks/button-actions.CbEoQYUV.js.map +1 -0
- package/dist/chunks/button-actions.types.BptAXjD8.js +8 -0
- package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -0
- package/dist/chunks/button.DhcxX2GJ.js +131 -0
- package/dist/chunks/button.DhcxX2GJ.js.map +1 -0
- package/dist/chunks/calendar.CyJXcMz2.js +1962 -0
- package/dist/chunks/calendar.CyJXcMz2.js.map +1 -0
- package/dist/chunks/card.s3fBTh55.js +228 -0
- package/dist/chunks/card.s3fBTh55.js.map +1 -0
- package/dist/chunks/checkbox-group.tnj89uhH.js +177 -0
- package/dist/chunks/checkbox-group.tnj89uhH.js.map +1 -0
- package/dist/chunks/checkbox-input.BXNGT9U0.js +144 -0
- package/dist/chunks/checkbox-input.BXNGT9U0.js.map +1 -0
- package/dist/chunks/checkbox.Wqhh2aRA.js +257 -0
- package/dist/chunks/checkbox.Wqhh2aRA.js.map +1 -0
- package/dist/chunks/checkmark-circle-fill._6-d40ru.js +44 -0
- package/dist/chunks/checkmark-circle-fill._6-d40ru.js.map +1 -0
- package/dist/chunks/checkmark-small.x-gmK2Dt.js +29 -0
- package/dist/chunks/checkmark-small.x-gmK2Dt.js.map +1 -0
- package/dist/chunks/chevron-down.DCQ6ZLaq.js +29 -0
- package/dist/chunks/chevron-down.DCQ6ZLaq.js.map +1 -0
- package/dist/chunks/chevron-left.Cfn1uGLH.js +52 -0
- package/dist/chunks/chevron-left.Cfn1uGLH.js.map +1 -0
- package/dist/chunks/chevron-up.kfuLRpZb.js +29 -0
- package/dist/chunks/chevron-up.kfuLRpZb.js.map +1 -0
- package/dist/chunks/chip.CoV28mKv.js +71 -0
- package/dist/chunks/chip.CoV28mKv.js.map +1 -0
- package/dist/chunks/click-outside.C1Ud8AA2.js +23 -0
- package/dist/chunks/click-outside.C1Ud8AA2.js.map +1 -0
- package/dist/chunks/code-snippet.LRw3jGjV.js +343 -0
- package/dist/chunks/code-snippet.LRw3jGjV.js.map +1 -0
- package/dist/chunks/codemirror.Cy7iSLbd.js +14628 -0
- package/dist/chunks/codemirror.Cy7iSLbd.js.map +1 -0
- package/dist/chunks/constructNow.BhymNmy5.js +8 -0
- package/dist/chunks/constructNow.BhymNmy5.js.map +1 -0
- package/dist/chunks/controls-group.B2Qci77U.js +101 -0
- package/dist/chunks/controls-group.B2Qci77U.js.map +1 -0
- package/dist/chunks/copy.D5CBHqUB.js +117 -0
- package/dist/chunks/copy.D5CBHqUB.js.map +1 -0
- package/dist/chunks/country.D484ezGU.js +69 -0
- package/dist/chunks/country.D484ezGU.js.map +1 -0
- package/dist/chunks/country.types.C0Q_hhgJ.js +269 -0
- package/dist/chunks/country.types.C0Q_hhgJ.js.map +1 -0
- package/dist/chunks/cross-circle-fill-small.Dv5-PxwF.js +29 -0
- package/dist/chunks/cross-circle-fill-small.Dv5-PxwF.js.map +1 -0
- package/dist/chunks/cross-circle-fill.CYLL7jfC.js +44 -0
- package/dist/chunks/cross-circle-fill.CYLL7jfC.js.map +1 -0
- package/dist/chunks/cross-small.n1UO5wNB.js +29 -0
- package/dist/chunks/cross-small.n1UO5wNB.js.map +1 -0
- package/dist/chunks/cross.B92GxFTY.js +29 -0
- package/dist/chunks/cross.B92GxFTY.js.map +1 -0
- package/dist/chunks/currency.WmvQjX7l.js +116 -0
- package/dist/chunks/currency.WmvQjX7l.js.map +1 -0
- package/dist/chunks/dashboard-section.DlokD9Rf.js +165 -0
- package/dist/chunks/dashboard-section.DlokD9Rf.js.map +1 -0
- package/dist/chunks/dashed-underline.Dw1Iqk0l.js +114 -0
- package/dist/chunks/dashed-underline.Dw1Iqk0l.js.map +1 -0
- package/dist/chunks/data-grid-template.BwTVHbpB.js +144 -0
- package/dist/chunks/data-grid-template.BwTVHbpB.js.map +1 -0
- package/dist/chunks/data-grid-template.keys.VezYtHtM.js +5 -0
- package/dist/chunks/data-grid-template.keys.VezYtHtM.js.map +1 -0
- package/dist/chunks/data-grid.Be6Ao4He.js +4271 -0
- package/dist/chunks/data-grid.Be6Ao4He.js.map +1 -0
- package/dist/chunks/date-format.B8RU7D42.js +17 -0
- package/dist/chunks/date-format.B8RU7D42.js.map +1 -0
- package/dist/chunks/date-picker.CYBx1TS_.js +245 -0
- package/dist/chunks/date-picker.CYBx1TS_.js.map +1 -0
- package/dist/chunks/date-picker.types.Ckt7zxGy.js +5 -0
- package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -0
- package/dist/chunks/date-range-picker.BgEM0fyZ.js +1109 -0
- package/dist/chunks/date-range-picker.BgEM0fyZ.js.map +1 -0
- package/dist/chunks/date-range-picker.types.Ckt7zxGy.js +5 -0
- package/dist/chunks/date-range-picker.types.Ckt7zxGy.js.map +1 -0
- package/dist/chunks/date.DZvVL-uz.js +163 -0
- package/dist/chunks/date.DZvVL-uz.js.map +1 -0
- package/dist/chunks/debounce.DUTu11PS.js +10 -0
- package/dist/chunks/debounce.DUTu11PS.js.map +1 -0
- package/dist/chunks/delight.CDBAFnwC.js +5 -0
- package/dist/chunks/delight.CDBAFnwC.js.map +1 -0
- package/dist/chunks/delight.xKDCvvaS.js +5 -0
- package/dist/chunks/delight.xKDCvvaS.js.map +1 -0
- package/dist/chunks/dialog-page.BY6T1jYZ.js +175 -0
- package/dist/chunks/dialog-page.BY6T1jYZ.js.map +1 -0
- package/dist/chunks/differenceInMonths.Cab3nOsb.js +1590 -0
- package/dist/chunks/differenceInMonths.Cab3nOsb.js.map +1 -0
- package/dist/chunks/directive.Cbdox5VL.js +23 -0
- package/dist/chunks/directive.Cbdox5VL.js.map +1 -0
- package/dist/chunks/divider.Dho4_hQ7.js +33 -0
- package/dist/chunks/divider.Dho4_hQ7.js.map +1 -0
- package/dist/chunks/dot.ob6N-5Um.js +29 -0
- package/dist/chunks/dot.ob6N-5Um.js.map +1 -0
- package/dist/chunks/dropdown-default-textbox.CNrsjXUU.js +425 -0
- package/dist/chunks/dropdown-default-textbox.CNrsjXUU.js.map +1 -0
- package/dist/chunks/dropdown-tag.DmIHi3i-.js +301 -0
- package/dist/chunks/dropdown-tag.DmIHi3i-.js.map +1 -0
- package/dist/chunks/dropdown.Be6ses6k.js +833 -0
- package/dist/chunks/dropdown.Be6ses6k.js.map +1 -0
- package/dist/chunks/empty-state.Be6M8ivH.js +140 -0
- package/dist/chunks/empty-state.Be6M8ivH.js.map +1 -0
- package/dist/chunks/es6.MoTTyETW.js +12 -0
- package/dist/chunks/es6.MoTTyETW.js.map +1 -0
- package/dist/chunks/events.BQOQSSb7.js +44 -0
- package/dist/chunks/events.BQOQSSb7.js.map +1 -0
- package/dist/chunks/expand.C9IAqYYL.js +33 -0
- package/dist/chunks/expand.C9IAqYYL.js.map +1 -0
- package/dist/chunks/field-label.Cu6X9V0_.js +158 -0
- package/dist/chunks/field-label.Cu6X9V0_.js.map +1 -0
- package/dist/chunks/file-uploader.Bdhm4TVh.js +2299 -0
- package/dist/chunks/file-uploader.Bdhm4TVh.js.map +1 -0
- package/dist/chunks/filter-bar.CLNU1Ixm.js +3211 -0
- package/dist/chunks/filter-bar.CLNU1Ixm.js.map +1 -0
- package/dist/chunks/fixed-scroller.Dmg8r9QP.js +147 -0
- package/dist/chunks/fixed-scroller.Dmg8r9QP.js.map +1 -0
- package/dist/chunks/focus-trap.BaHvK7aT.js +1171 -0
- package/dist/chunks/focus-trap.BaHvK7aT.js.map +1 -0
- package/dist/chunks/footer-actions.C_EniPHo.js +110 -0
- package/dist/chunks/footer-actions.C_EniPHo.js.map +1 -0
- package/dist/chunks/form-field.D_2g7vaP.js +10 -0
- package/dist/chunks/form-field.D_2g7vaP.js.map +1 -0
- package/dist/chunks/form-layout-title.sxPU_lB_.js +214 -0
- package/dist/chunks/form-layout-title.sxPU_lB_.js.map +1 -0
- package/dist/chunks/form-layout.types.bZW9iR6_.js +5 -0
- package/dist/chunks/form-layout.types.bZW9iR6_.js.map +1 -0
- package/dist/chunks/generate-uid.NJ8tVoha.js +32 -0
- package/dist/chunks/generate-uid.NJ8tVoha.js.map +1 -0
- package/dist/chunks/get-slot-text.CQRAP2_q.js +12 -0
- package/dist/chunks/get-slot-text.CQRAP2_q.js.map +1 -0
- package/dist/chunks/getRoundingMethod.C3eaeGLR.js +10 -0
- package/dist/chunks/getRoundingMethod.C3eaeGLR.js.map +1 -0
- package/dist/chunks/getTimezoneOffsetInMilliseconds.B7sxiukN.js +484 -0
- package/dist/chunks/getTimezoneOffsetInMilliseconds.B7sxiukN.js.map +1 -0
- package/dist/chunks/grid-layout.DDaRNz4-.js +114 -0
- package/dist/chunks/grid-layout.DDaRNz4-.js.map +1 -0
- package/dist/chunks/header-meta.DMjERxW-.js +221 -0
- package/dist/chunks/header-meta.DMjERxW-.js.map +1 -0
- package/dist/chunks/header-with-views.CVgISUVn.js +2426 -0
- package/dist/chunks/header-with-views.CVgISUVn.js.map +1 -0
- package/dist/chunks/header.Dq5aBp9l.js +141 -0
- package/dist/chunks/header.Dq5aBp9l.js.map +1 -0
- package/dist/chunks/image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js +47 -0
- package/dist/chunks/image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js.map +1 -0
- package/dist/chunks/index.CWuzEfiV.js +6 -0
- package/dist/chunks/index.CWuzEfiV.js.map +1 -0
- package/dist/chunks/index.E60QniEu.js +592 -0
- package/dist/chunks/index.E60QniEu.js.map +1 -0
- package/dist/chunks/index.pdBj0KQU.js +15 -0
- package/dist/chunks/index.pdBj0KQU.js.map +1 -0
- package/dist/chunks/info-icon.C7RAAeQQ.js +35 -0
- package/dist/chunks/info-icon.C7RAAeQQ.js.map +1 -0
- package/dist/chunks/info.BKwey1HA.js +44 -0
- package/dist/chunks/info.BKwey1HA.js.map +1 -0
- package/dist/chunks/input-field-password.BhksIaXB.js +396 -0
- package/dist/chunks/input-field-password.BhksIaXB.js.map +1 -0
- package/dist/chunks/input-field-phone-number.jW5pH96y.js +3333 -0
- package/dist/chunks/input-field-phone-number.jW5pH96y.js.map +1 -0
- package/dist/chunks/input-field.CYBjHzVA.js +318 -0
- package/dist/chunks/input-field.CYBjHzVA.js.map +1 -0
- package/dist/chunks/inspector.BBhrSgO6.js +200 -0
- package/dist/chunks/inspector.BBhrSgO6.js.map +1 -0
- package/dist/chunks/inspector.types.DyHwE18g.js +5 -0
- package/dist/chunks/inspector.types.DyHwE18g.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.DWmhelVv.js +66 -0
- package/dist/chunks/keyboard-navigation.DWmhelVv.js.map +1 -0
- package/dist/chunks/layout-row.BxP9SxrL.js +100 -0
- package/dist/chunks/layout-row.BxP9SxrL.js.map +1 -0
- package/dist/chunks/link.cwPmWlsk.js +116 -0
- package/dist/chunks/link.cwPmWlsk.js.map +1 -0
- package/dist/chunks/listbox-option-tag.VRGb_04i.js +57 -0
- package/dist/chunks/listbox-option-tag.VRGb_04i.js.map +1 -0
- package/dist/chunks/loading-indicator.Db794TT5.js +33 -0
- package/dist/chunks/loading-indicator.Db794TT5.js.map +1 -0
- package/dist/chunks/minus-small.DYIyF5XW.js +32 -0
- package/dist/chunks/minus-small.DYIyF5XW.js.map +1 -0
- package/dist/chunks/modal-fullscreen.hOTnlB9T.js +285 -0
- package/dist/chunks/modal-fullscreen.hOTnlB9T.js.map +1 -0
- package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.DFCZG9Zc.js +501 -0
- package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.DFCZG9Zc.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.D9aY9g8G.js +101 -0
- package/dist/chunks/on-click-outside.D9aY9g8G.js.map +1 -0
- 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.Cj_FYHm-.js +461 -0
- package/dist/chunks/pagination.Cj_FYHm-.js.map +1 -0
- package/dist/chunks/payment-method.CExDsirg.js +128 -0
- package/dist/chunks/payment-method.CExDsirg.js.map +1 -0
- package/dist/chunks/payment-method.types.BqtH7RM2.js +5 -0
- package/dist/chunks/payment-method.types.BqtH7RM2.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/popover.types.DgfeurkF.js +6 -0
- package/dist/chunks/popover.types.DgfeurkF.js.map +1 -0
- package/dist/chunks/popper-container.I9gzp1NR.js +1413 -0
- package/dist/chunks/popper-container.I9gzp1NR.js.map +1 -0
- package/dist/chunks/promo-banner.B-TLTLEd.js +126 -0
- package/dist/chunks/promo-banner.B-TLTLEd.js.map +1 -0
- package/dist/chunks/radio-group.C0qJThJ2.js +278 -0
- package/dist/chunks/radio-group.C0qJThJ2.js.map +1 -0
- package/dist/chunks/radio-input.CBNE-AkM.js +95 -0
- package/dist/chunks/radio-input.CBNE-AkM.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.BB4ouvz_.js +29 -0
- package/dist/chunks/refresh.BB4ouvz_.js.map +1 -0
- package/dist/chunks/resize.Bqks3WUm.js +15 -0
- package/dist/chunks/resize.Bqks3WUm.js.map +1 -0
- package/dist/chunks/rich-text-editor.CDcfVhGv.js +6224 -0
- package/dist/chunks/rich-text-editor.CDcfVhGv.js.map +1 -0
- package/dist/chunks/search-bar.CIi1zffn.js +116 -0
- package/dist/chunks/search-bar.CIi1zffn.js.map +1 -0
- package/dist/chunks/search.PczW-onY.js +44 -0
- package/dist/chunks/search.PczW-onY.js.map +1 -0
- package/dist/chunks/secondary-nav.C9ApoJ-J.js +138 -0
- package/dist/chunks/secondary-nav.C9ApoJ-J.js.map +1 -0
- package/dist/chunks/segmented-control.PlGfqyxH.js +145 -0
- package/dist/chunks/segmented-control.PlGfqyxH.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.DjlLf4oi.js +415 -0
- package/dist/chunks/selection-card-group.DjlLf4oi.js.map +1 -0
- package/dist/chunks/show.CT4Augxb.js +64 -0
- package/dist/chunks/show.CT4Augxb.js.map +1 -0
- package/dist/chunks/sidepanel.CiyGOtAx.js +254 -0
- package/dist/chunks/sidepanel.CiyGOtAx.js.map +1 -0
- package/dist/chunks/status.types.-l2qJxLn.js +44 -0
- package/dist/chunks/status.types.-l2qJxLn.js.map +1 -0
- package/dist/chunks/step.rYLkDMZ0.js +267 -0
- package/dist/chunks/step.rYLkDMZ0.js.map +1 -0
- package/dist/chunks/structured-list-item.CsUD3M_V.js +111 -0
- package/dist/chunks/structured-list-item.CsUD3M_V.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.keys.Xx-W5a2w.js +6 -0
- package/dist/chunks/summary-grid.keys.Xx-W5a2w.js.map +1 -0
- package/dist/chunks/summary-grid.types.BzPSYDUX.js +496 -0
- package/dist/chunks/summary-grid.types.BzPSYDUX.js.map +1 -0
- package/dist/chunks/tab.BAwuVDsV.js +252 -0
- package/dist/chunks/tab.BAwuVDsV.js.map +1 -0
- package/dist/chunks/tabs.keys.B4qGhjp2.js +7 -0
- package/dist/chunks/tabs.keys.B4qGhjp2.js.map +1 -0
- package/dist/chunks/tag.EDED27n5.js +57 -0
- package/dist/chunks/tag.EDED27n5.js.map +1 -0
- package/dist/chunks/textarea.7MePsezm.js +254 -0
- package/dist/chunks/textarea.7MePsezm.js.map +1 -0
- package/dist/chunks/timeline-item.D6SeOiVe.js +428 -0
- package/dist/chunks/timeline-item.D6SeOiVe.js.map +1 -0
- package/dist/chunks/toast.BFw86uEp.js +221 -0
- package/dist/chunks/toast.BFw86uEp.js.map +1 -0
- package/dist/chunks/toggle.BHCUjMpp.js +143 -0
- package/dist/chunks/toggle.BHCUjMpp.js.map +1 -0
- package/dist/chunks/tooltip.B76ucISL.js +202 -0
- package/dist/chunks/tooltip.B76ucISL.js.map +1 -0
- package/dist/chunks/truncate.BfIl_-71.js +8 -0
- package/dist/chunks/truncate.BfIl_-71.js.map +1 -0
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.CyO3qbAU.js +421 -0
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.CyO3qbAU.js.map +1 -0
- package/dist/chunks/typography.yBEME_Gu.js +83 -0
- package/dist/chunks/typography.yBEME_Gu.js.map +1 -0
- 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.DK1PV3YW.js +50 -0
- package/dist/chunks/use-bento-toast-controller.DK1PV3YW.js.map +1 -0
- package/dist/chunks/use-cached-selected-values.DimYI3lv.js +1702 -0
- package/dist/chunks/use-cached-selected-values.DimYI3lv.js.map +1 -0
- package/dist/chunks/use-country-items.Dzbl2UsO.js +30 -0
- package/dist/chunks/use-country-items.Dzbl2UsO.js.map +1 -0
- package/dist/chunks/use-country-phon-code.Bui3zD6W.js +5621 -0
- package/dist/chunks/use-country-phon-code.Bui3zD6W.js.map +1 -0
- package/dist/chunks/use-default-slot-validator.O02rzsob.js +16 -0
- package/dist/chunks/use-default-slot-validator.O02rzsob.js.map +1 -0
- package/dist/chunks/use-expandable-content-height.GkjjbmPy.js +17 -0
- package/dist/chunks/use-expandable-content-height.GkjjbmPy.js.map +1 -0
- package/dist/chunks/use-form-layout-loading.CWbjZiwP.js +12 -0
- package/dist/chunks/use-form-layout-loading.CWbjZiwP.js.map +1 -0
- package/dist/chunks/use-has-slot.B7eQSabc.js +15 -0
- package/dist/chunks/use-has-slot.B7eQSabc.js.map +1 -0
- package/dist/chunks/warning-filled.BMGD0G-_.js +29 -0
- package/dist/chunks/warning-filled.BMGD0G-_.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 +5 -0
- package/dist/click-outside.js.map +1 -0
- package/dist/code-snippet.js +8 -0
- package/dist/code-snippet.js.map +1 -0
- package/dist/country.js +12 -0
- package/dist/country.js.map +1 -0
- package/dist/currency.js +6 -0
- package/dist/currency.js.map +1 -0
- 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 +5 -0
- package/dist/data-grid-template.js.map +1 -0
- package/dist/data-grid.js +13 -0
- package/dist/data-grid.js.map +1 -0
- package/dist/date-picker.js +10 -0
- package/dist/date-picker.js.map +1 -0
- package/dist/date-range-picker.js +10 -0
- package/dist/date-range-picker.js.map +1 -0
- package/dist/date.js +6 -0
- package/dist/date.js.map +1 -0
- package/dist/divider.js +5 -0
- package/dist/divider.js.map +1 -0
- package/dist/dropdown.js +16 -0
- package/dist/dropdown.js.map +1 -0
- package/dist/empty-state.js +8 -0
- package/dist/empty-state.js.map +1 -0
- package/dist/file-uploader.js +5 -0
- package/dist/file-uploader.js.map +1 -0
- package/dist/filter-bar.js +9 -0
- package/dist/filter-bar.js.map +1 -0
- package/dist/focus-trap.js +5 -0
- package/dist/focus-trap.js.map +1 -0
- package/dist/fonts/fonts.css +2 -0
- package/dist/form-layout.js +8 -0
- package/dist/form-layout.js.map +1 -0
- package/dist/header-with-views.js +5 -0
- package/dist/header-with-views.js.map +1 -0
- package/dist/header.js +5 -0
- package/dist/header.js.map +1 -0
- package/dist/image.js +7 -0
- package/dist/image.js.map +1 -0
- package/dist/index.js +439 -0
- package/dist/index.js.map +1 -0
- package/dist/info-icon.js +5 -0
- package/dist/info-icon.js.map +1 -0
- package/dist/input-field-password.js +10 -0
- package/dist/input-field-password.js.map +1 -0
- package/dist/input-field-phone-number.js +6 -0
- package/dist/input-field-phone-number.js.map +1 -0
- package/dist/input-field.js +10 -0
- package/dist/input-field.js.map +1 -0
- package/dist/inspector.js +7 -0
- package/dist/inspector.js.map +1 -0
- package/dist/internal.js +45 -0
- package/dist/internal.js.map +1 -0
- package/dist/layout.js +6 -0
- package/dist/layout.js.map +1 -0
- package/dist/link.js +6 -0
- package/dist/link.js.map +1 -0
- package/dist/loading-indicator.js +6 -0
- package/dist/loading-indicator.js.map +1 -0
- package/dist/menu.js +6 -0
- package/dist/menu.js.map +1 -0
- package/dist/modal-fullscreen.js +6 -0
- package/dist/modal-fullscreen.js.map +1 -0
- package/dist/modal.js +14 -0
- package/dist/modal.js.map +1 -0
- package/dist/pagination.js +5 -0
- package/dist/pagination.js.map +1 -0
- package/dist/payment-method.js +7 -0
- package/dist/payment-method.js.map +1 -0
- package/dist/popover.js +7 -0
- package/dist/popover.js.map +1 -0
- package/dist/popper-container.js +9 -0
- package/dist/popper-container.js.map +1 -0
- package/dist/promo-banner.js +7 -0
- package/dist/promo-banner.js.map +1 -0
- package/dist/radio-group.js +9 -0
- package/dist/radio-group.js.map +1 -0
- package/dist/rich-text-editor.js +5 -0
- package/dist/rich-text-editor.js.map +1 -0
- package/dist/search-bar.js +9 -0
- package/dist/search-bar.js.map +1 -0
- package/dist/secondary-nav.js +5 -0
- package/dist/secondary-nav.js.map +1 -0
- package/dist/segmented-control.js +7 -0
- package/dist/segmented-control.js.map +1 -0
- package/dist/selection-card.js +7 -0
- package/dist/selection-card.js.map +1 -0
- package/dist/sidepanel.js +7 -0
- package/dist/sidepanel.js.map +1 -0
- package/dist/status.js +6 -0
- package/dist/status.js.map +1 -0
- package/dist/stepper.js +8 -0
- package/dist/stepper.js.map +1 -0
- package/dist/structured-list.js +6 -0
- package/dist/structured-list.js.map +1 -0
- package/dist/styles/bento-dark.css +2133 -0
- package/dist/styles/bento-light.css +2132 -0
- package/dist/styles/bento.css +2132 -0
- package/dist/styles/legacy.css +2132 -0
- package/dist/styles/styleguide.css +2187 -0
- package/dist/styles/utility.css +1002 -0
- package/dist/summary-grid.js +12 -0
- package/dist/summary-grid.js.map +1 -0
- package/dist/tabs.js +6 -0
- package/dist/tabs.js.map +1 -0
- package/dist/tag.js +6 -0
- package/dist/tag.js.map +1 -0
- package/dist/textarea.js +5 -0
- package/dist/textarea.js.map +1 -0
- package/dist/timeline.js +10 -0
- package/dist/timeline.js.map +1 -0
- package/dist/toast.js +5 -0
- package/dist/toast.js.map +1 -0
- package/dist/toggle.js +7 -0
- package/dist/toggle.js.map +1 -0
- package/dist/tutorial.js +5 -0
- package/dist/tutorial.js.map +1 -0
- package/dist/typography.js +8 -0
- package/dist/typography.js.map +1 -0
- package/dist/use-form-v4.js +8300 -0
- package/dist/use-form-v4.js.map +1 -0
- package/dist/web-types.json +49 -0
- package/package.json +13 -12
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import { defineComponent as Z, toRefs as D, computed as a, ref as U, onMounted as G, useAttrs as x, resolveComponent as f, createElementBlock as q, openBlock as t, mergeProps as B, createVNode as ee, createCommentVNode as n, createBlock as s, withCtx as d, createElementVNode as ae, renderSlot as E, createTextVNode as L, toDisplayString as M } from "vue";
|
|
2
|
+
import { B as oe } from "./typography.yBEME_Gu.js";
|
|
3
|
+
import { u as re } from "./use-default-slot-validator.O02rzsob.js";
|
|
4
|
+
import { u as te } from "./use-has-slot.B7eQSabc.js";
|
|
5
|
+
import { g as N } from "./generate-uid.NJ8tVoha.js";
|
|
6
|
+
import { g as _ } from "./get-slot-text.CQRAP2_q.js";
|
|
7
|
+
import { u as le } from "./index.pdBj0KQU.js";
|
|
8
|
+
import { u as ne } from "./aria-label.CaUURpnB.js";
|
|
9
|
+
import { B as se } from "./tag.EDED27n5.js";
|
|
10
|
+
import { E as de } from "./field-label.Cu6X9V0_.js";
|
|
11
|
+
import { C as ie } from "./checkbox-input.BXNGT9U0.js";
|
|
12
|
+
import { C as P } from "./minus-small.DYIyF5XW.js";
|
|
13
|
+
import { _ as ue } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
14
|
+
import "../assets/checkbox.css";
|
|
15
|
+
var i = /* @__PURE__ */ ((e) => (e.UPDATE = "update:model-value", e.INPUT = "input", e))(i || {});
|
|
16
|
+
const w = {
|
|
17
|
+
"en-US": {
|
|
18
|
+
checkbox: "Checkbox",
|
|
19
|
+
optional: "optional",
|
|
20
|
+
required: "required"
|
|
21
|
+
},
|
|
22
|
+
"ja-JP": {
|
|
23
|
+
checkbox: "チェックボックス",
|
|
24
|
+
optional: "任意",
|
|
25
|
+
required: "必須"
|
|
26
|
+
},
|
|
27
|
+
"pt-BR": {
|
|
28
|
+
checkbox: "Caixa de seleção",
|
|
29
|
+
optional: "opcional",
|
|
30
|
+
required: "obrigatório"
|
|
31
|
+
}
|
|
32
|
+
}, ce = Z({
|
|
33
|
+
name: "bento-checkbox",
|
|
34
|
+
i18n: { messages: w },
|
|
35
|
+
components: {
|
|
36
|
+
BentoTag: se,
|
|
37
|
+
BentoTypography: oe,
|
|
38
|
+
CheckboxInput: ie,
|
|
39
|
+
ErrorMessage: de
|
|
40
|
+
},
|
|
41
|
+
inheritAttrs: !1,
|
|
42
|
+
model: { prop: "modelValue" },
|
|
43
|
+
props: {
|
|
44
|
+
/**
|
|
45
|
+
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
46
|
+
*/
|
|
47
|
+
/**
|
|
48
|
+
* Accessible name for the radio button component. It is strongly recommended to pas this value in case this component is used without a label.
|
|
49
|
+
*/
|
|
50
|
+
ariaLabel: { type: String, default: null },
|
|
51
|
+
/**
|
|
52
|
+
* Setting this property to true will disable the checkbox in your form.
|
|
53
|
+
*/
|
|
54
|
+
disabled: { type: Boolean, default: !1 },
|
|
55
|
+
/**
|
|
56
|
+
* Renders the checkbox in an error state with an error message.
|
|
57
|
+
*/
|
|
58
|
+
errorMessage: { type: String, default: null },
|
|
59
|
+
/**
|
|
60
|
+
* Setting this property to true will show the checkbox in error state.
|
|
61
|
+
*/
|
|
62
|
+
hasError: { type: Boolean, default: !1 },
|
|
63
|
+
/**
|
|
64
|
+
* The :indeterminate CSS pseudo-class represents any form element
|
|
65
|
+
* whose state is indeterminate, such as checkboxes which have their HTML indeterminate attribute
|
|
66
|
+
* set to true, radio buttons which are members of a group in which all radio buttons are unchecked,
|
|
67
|
+
* and indeterminate <progress> elements. https://developer.mozilla.org/en-US/docs/Web/CSS/:indeterminate
|
|
68
|
+
* This property lets you control the input.indeterminate native property.
|
|
69
|
+
*/
|
|
70
|
+
indeterminate: { type: Boolean, default: !1 },
|
|
71
|
+
/**
|
|
72
|
+
* When handling a single checkbox with a singular state, use a boolean.
|
|
73
|
+
*
|
|
74
|
+
* When handling multiple checkboxes, use an array of keys.
|
|
75
|
+
* These keys exist as a set "value" prop for each checkbox.
|
|
76
|
+
*/
|
|
77
|
+
modelValue: {
|
|
78
|
+
type: [Boolean, Array],
|
|
79
|
+
default: !1
|
|
80
|
+
},
|
|
81
|
+
/**
|
|
82
|
+
* Highlights the checkbox is optional.
|
|
83
|
+
*/
|
|
84
|
+
optional: { type: Boolean, default: !1 },
|
|
85
|
+
/**
|
|
86
|
+
* Setting this property to true will set the checkbox to read only state.
|
|
87
|
+
*/
|
|
88
|
+
readonly: { type: Boolean, default: !1 },
|
|
89
|
+
/**
|
|
90
|
+
* Highlights the checkbox is required.
|
|
91
|
+
*/
|
|
92
|
+
required: { type: Boolean, default: !1 },
|
|
93
|
+
/**
|
|
94
|
+
* Sets the properties of the BentoTag component that is placed next to the label.
|
|
95
|
+
* {@see BentoTag}
|
|
96
|
+
*/
|
|
97
|
+
tag: { type: Object, default: void 0 },
|
|
98
|
+
/**
|
|
99
|
+
* The value of the component. The DOM API casts this to a string.
|
|
100
|
+
* The browser uses "on" as the default value.
|
|
101
|
+
*
|
|
102
|
+
* In the case of multiple checkboxes this value is used as a unique key.
|
|
103
|
+
*/
|
|
104
|
+
value: { type: [String, Number], default: null }
|
|
105
|
+
},
|
|
106
|
+
emits: [i.UPDATE, i.INPUT],
|
|
107
|
+
setup(e, { attrs: $, emit: h, slots: l }) {
|
|
108
|
+
const { t: y } = le({ messages: w }), g = N("description"), u = N("error"), r = te(l), { disabled: c, indeterminate: v, modelValue: k, readonly: H, value: R } = D(e), V = _(l)("default"), C = _(l)("description");
|
|
109
|
+
re("bento-checkbox", l.default, l.description);
|
|
110
|
+
const b = a(() => Array.isArray(k.value)), S = a(() => b.value ? k.value.some((o) => o === R.value) : k.value), p = a(() => v.value), j = a(
|
|
111
|
+
() => !e.disabled && !e.readonly && (e.hasError || !!e.errorMessage)
|
|
112
|
+
), I = a(() => !e.disabled && !e.readonly && !!e.errorMessage), m = a(() => r("content")), A = a(() => (p == null ? void 0 : p.value) || (S == null ? void 0 : S.value)), F = a(
|
|
113
|
+
() => (m == null ? void 0 : m.value) && (b == null ? void 0 : b.value) && (A == null ? void 0 : A.value)
|
|
114
|
+
), J = a(
|
|
115
|
+
() => `${I.value ? u : ""} ${V && C ? g : ""}`.trim() || null
|
|
116
|
+
), O = U($["aria-label"]), { ariaLabel: Y } = D(e), T = U();
|
|
117
|
+
G(() => {
|
|
118
|
+
T.value = y("checkbox");
|
|
119
|
+
});
|
|
120
|
+
const z = a(
|
|
121
|
+
() => ne({
|
|
122
|
+
ariaLabel: O.value,
|
|
123
|
+
// TODO: take this line away when the aria-label props is removed
|
|
124
|
+
label: Y,
|
|
125
|
+
defaultFallback: r("default") ? _(l)("default") : T.value
|
|
126
|
+
}).value
|
|
127
|
+
), K = (o) => o == null ? void 0 : o["aria-hidden"], Q = a(() => {
|
|
128
|
+
const { style: o, class: X } = x();
|
|
129
|
+
return {
|
|
130
|
+
class: X,
|
|
131
|
+
style: o
|
|
132
|
+
};
|
|
133
|
+
}), W = a(() => ({
|
|
134
|
+
[`b-checkbox--${P.DISABLED}`]: c.value,
|
|
135
|
+
[`b-checkbox--${P.READONLY}`]: H.value
|
|
136
|
+
}));
|
|
137
|
+
return {
|
|
138
|
+
// Values
|
|
139
|
+
descriptionId: g,
|
|
140
|
+
errorId: u,
|
|
141
|
+
ariaDescribedBy: J,
|
|
142
|
+
computedAriaLabel: z,
|
|
143
|
+
conditionalClass: W,
|
|
144
|
+
defaultSlotValue: V,
|
|
145
|
+
descriptionSlotValue: C,
|
|
146
|
+
isIndeterminate: p,
|
|
147
|
+
shouldShowError: j,
|
|
148
|
+
shouldShowErrorMessage: I,
|
|
149
|
+
contentSlotAvailable: F,
|
|
150
|
+
hasContentSlot: m,
|
|
151
|
+
styleAttrs: Q,
|
|
152
|
+
// Methods
|
|
153
|
+
hasSlot: r,
|
|
154
|
+
onChange: (o) => {
|
|
155
|
+
c.value || (h(i.UPDATE, o), h(i.INPUT, o));
|
|
156
|
+
},
|
|
157
|
+
getAriaHidden: K,
|
|
158
|
+
t: y
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
}), be = ["aria-hidden"], pe = {
|
|
162
|
+
key: 0,
|
|
163
|
+
class: "b-checkbox__text"
|
|
164
|
+
};
|
|
165
|
+
function me(e, $, h, l, y, g) {
|
|
166
|
+
const u = f("checkbox-input"), r = f("bento-typography"), c = f("bento-tag"), v = f("error-message");
|
|
167
|
+
return t(), q("label", B({
|
|
168
|
+
class: ["b-checkbox", e.conditionalClass]
|
|
169
|
+
}, e.styleAttrs, {
|
|
170
|
+
"aria-hidden": e.getAriaHidden(e.$attrs)
|
|
171
|
+
}), [
|
|
172
|
+
ee(u, B(e.$attrs, {
|
|
173
|
+
ref: "input",
|
|
174
|
+
"aria-label": e.computedAriaLabel,
|
|
175
|
+
"aria-describedby": e.ariaDescribedBy,
|
|
176
|
+
disabled: e.disabled,
|
|
177
|
+
"has-error": e.shouldShowError,
|
|
178
|
+
indeterminate: e.isIndeterminate,
|
|
179
|
+
value: e.value,
|
|
180
|
+
"model-value": e.modelValue,
|
|
181
|
+
readonly: e.readonly,
|
|
182
|
+
"onUpdate:modelValue": e.onChange
|
|
183
|
+
}), null, 16, ["aria-label", "aria-describedby", "disabled", "has-error", "indeterminate", "value", "model-value", "readonly", "onUpdate:modelValue"]),
|
|
184
|
+
e.hasSlot("default") || e.shouldShowErrorMessage ? (t(), q("span", pe, [
|
|
185
|
+
e.hasSlot("default") ? (t(), s(r, {
|
|
186
|
+
key: 0,
|
|
187
|
+
class: "b-checkbox__label",
|
|
188
|
+
el: "span",
|
|
189
|
+
variant: "body"
|
|
190
|
+
}, {
|
|
191
|
+
default: d(() => [
|
|
192
|
+
ae("span", null, [
|
|
193
|
+
E(e.$slots, "default", {}, void 0, !0)
|
|
194
|
+
]),
|
|
195
|
+
e.optional ? (t(), s(r, {
|
|
196
|
+
key: 0,
|
|
197
|
+
class: "b-checkbox__label-requirement",
|
|
198
|
+
el: "span"
|
|
199
|
+
}, {
|
|
200
|
+
default: d(() => [
|
|
201
|
+
L("(" + M(e.t("optional")) + ")", 1)
|
|
202
|
+
]),
|
|
203
|
+
_: 1
|
|
204
|
+
})) : e.required ? (t(), s(r, {
|
|
205
|
+
key: 1,
|
|
206
|
+
class: "b-checkbox__label-requirement",
|
|
207
|
+
el: "span"
|
|
208
|
+
}, {
|
|
209
|
+
default: d(() => [
|
|
210
|
+
L("(" + M(e.t("required")) + ")", 1)
|
|
211
|
+
]),
|
|
212
|
+
_: 1
|
|
213
|
+
})) : n("", !0),
|
|
214
|
+
e.tag ? (t(), s(c, B({
|
|
215
|
+
key: 2,
|
|
216
|
+
class: "b-checkbox__label-tag"
|
|
217
|
+
}, e.tag), null, 16)) : n("", !0)
|
|
218
|
+
]),
|
|
219
|
+
_: 3
|
|
220
|
+
})) : n("", !0),
|
|
221
|
+
e.hasSlot("default") && e.hasSlot("description") ? (t(), s(r, {
|
|
222
|
+
key: 1,
|
|
223
|
+
id: e.descriptionId,
|
|
224
|
+
class: "b-checkbox__description",
|
|
225
|
+
el: "span",
|
|
226
|
+
variant: "body"
|
|
227
|
+
}, {
|
|
228
|
+
default: d(() => [
|
|
229
|
+
E(e.$slots, "description", {}, void 0, !0)
|
|
230
|
+
]),
|
|
231
|
+
_: 3
|
|
232
|
+
}, 8, ["id"])) : n("", !0),
|
|
233
|
+
e.shouldShowErrorMessage ? (t(), s(v, {
|
|
234
|
+
key: 2,
|
|
235
|
+
id: e.errorId,
|
|
236
|
+
"error-message": e.errorMessage
|
|
237
|
+
}, null, 8, ["id", "error-message"])) : n("", !0),
|
|
238
|
+
e.contentSlotAvailable ? (t(), s(r, {
|
|
239
|
+
key: 3,
|
|
240
|
+
class: "b-checkbox__content",
|
|
241
|
+
el: "span",
|
|
242
|
+
variant: "body"
|
|
243
|
+
}, {
|
|
244
|
+
default: d(() => [
|
|
245
|
+
E(e.$slots, "content", {}, void 0, !0)
|
|
246
|
+
]),
|
|
247
|
+
_: 3
|
|
248
|
+
})) : n("", !0)
|
|
249
|
+
])) : n("", !0)
|
|
250
|
+
], 16, be);
|
|
251
|
+
}
|
|
252
|
+
const Ie = /* @__PURE__ */ ue(ce, [["render", me], ["__scopeId", "data-v-1d08bc84"]]);
|
|
253
|
+
export {
|
|
254
|
+
Ie as B,
|
|
255
|
+
i as a
|
|
256
|
+
};
|
|
257
|
+
//# sourceMappingURL=checkbox.Wqhh2aRA.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.Wqhh2aRA.js","sources":["../../../vue2/src/components/checkbox/checkbox.types.ts","../../../vue2/src/components/checkbox/checkbox.vue"],"sourcesContent":["import type { BentoTagProps } from '../tag/tag.types';\nimport {\n CheckboxInputState as BentoCheckboxState,\n type CheckboxInputType as BentoCheckboxType,\n type MultiCheckboxInputType as BentoMultiCheckboxType,\n} from '@/internal/checkbox-input/checkbox-input.types';\n\nexport { BentoCheckboxState, BentoCheckboxType, BentoMultiCheckboxType };\n\nexport enum BentoCheckboxEvent {\n UPDATE = 'update:model-value',\n INPUT = 'input',\n}\n\nexport type BentoCheckboxTag = BentoTagProps;\n","<template>\n <label class=\"b-checkbox\" :class=\"conditionalClass\" v-bind=\"styleAttrs\" :aria-hidden=\"getAriaHidden($attrs)\">\n <checkbox-input\n v-bind=\"$attrs\"\n ref=\"input\"\n :aria-label=\"computedAriaLabel\"\n :aria-describedby=\"ariaDescribedBy\"\n :disabled=\"disabled\"\n :has-error=\"shouldShowError\"\n :indeterminate=\"isIndeterminate\"\n :value=\"value\"\n :model-value=\"modelValue\"\n :readonly=\"readonly\"\n @update:model-value=\"onChange\"\n />\n <span v-if=\"hasSlot('default') || shouldShowErrorMessage\" class=\"b-checkbox__text\">\n <bento-typography v-if=\"hasSlot('default')\" class=\"b-checkbox__label\" el=\"span\" variant=\"body\">\n <span><slot /></span>\n <bento-typography v-if=\"optional\" class=\"b-checkbox__label-requirement\" el=\"span\"\n >({{ t('optional') }})</bento-typography\n >\n <bento-typography v-else-if=\"required\" class=\"b-checkbox__label-requirement\" el=\"span\"\n >({{ t('required') }})</bento-typography\n >\n <bento-tag v-if=\"tag\" class=\"b-checkbox__label-tag\" v-bind=\"tag\" />\n </bento-typography>\n <bento-typography\n v-if=\"hasSlot('default') && hasSlot('description')\"\n :id=\"descriptionId\"\n class=\"b-checkbox__description\"\n el=\"span\"\n variant=\"body\"\n >\n <slot name=\"description\"></slot>\n </bento-typography>\n <error-message v-if=\"shouldShowErrorMessage\" :id=\"errorId\" :error-message=\"errorMessage\" />\n\n <bento-typography v-if=\"contentSlotAvailable\" class=\"b-checkbox__content\" el=\"span\" variant=\"body\">\n <slot name=\"content\"></slot>\n </bento-typography>\n </span>\n </label>\n</template>\n\n<script lang=\"ts\">\n import {\n computed,\n defineComponent,\n type HTMLAttributes,\n onMounted,\n type PropType,\n ref,\n toRefs,\n useAttrs,\n } from 'vue';\n import {\n BentoCheckboxEvent,\n BentoCheckboxState,\n type BentoCheckboxTag,\n type BentoCheckboxType,\n type BentoMultiCheckboxType,\n } from './checkbox.types';\n import { BentoTypography } from '@/components/typography';\n import { CheckboxInput } from '@/components/internal/checkbox-input';\n import { ErrorMessage } from '@/components/internal/error-message';\n import { useDefaultSlotValidator, useHasSlot } from '@/composables';\n import { generateUid } from '@/core/utils/ts';\n import { getSlotText } from '@/utils/ts/get-slot-text';\n import { useI18n } from '@/utils/ts/i18n';\n import { useAriaLabel } from '@/utils/ts/aria-label';\n import { BentoTag } from '@/components/tag';\n import { type BentoCheckboxGroupItems } from './components/checkbox-group/checkbox-group.types';\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n /**\n * Checkboxes are used to make a binary choice about an option.\n * The label tag area is also clickable.\n *\n * @usage\n * import { BentoCheckbox } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoCheckbox },\n * template: `\n * <bento-checkbox>\n * Label text\n * <template #description>Sub label text</template>\n * </bento-checkbox>\n * `,\n * }\n */\n export default defineComponent({\n name: 'bento-checkbox',\n i18n: { messages },\n components: {\n BentoTag,\n BentoTypography,\n CheckboxInput,\n ErrorMessage,\n },\n inheritAttrs: false,\n model: { prop: 'modelValue' },\n props: {\n /**\n * @deprecated from version 2.0.0. Use the aria-label attribute instead.\n */\n /**\n * Accessible name for the radio button component. It is strongly recommended to pas this value in case this component is used without a label.\n */\n ariaLabel: { type: String, default: null },\n\n /**\n * Setting this property to true will disable the checkbox in your form.\n */\n disabled: { type: Boolean, default: false },\n\n /**\n * Renders the checkbox in an error state with an error message.\n */\n errorMessage: { type: String, default: null },\n\n /**\n * Setting this property to true will show the checkbox in error state.\n */\n hasError: { type: Boolean, default: false },\n\n /**\n * The :indeterminate CSS pseudo-class represents any form element\n * whose state is indeterminate, such as checkboxes which have their HTML indeterminate attribute\n * set to true, radio buttons which are members of a group in which all radio buttons are unchecked,\n * and indeterminate <progress> elements. https://developer.mozilla.org/en-US/docs/Web/CSS/:indeterminate\n * This property lets you control the input.indeterminate native property.\n */\n indeterminate: { type: Boolean, default: false },\n\n /**\n * When handling a single checkbox with a singular state, use a boolean.\n *\n * When handling multiple checkboxes, use an array of keys.\n * These keys exist as a set \"value\" prop for each checkbox.\n */\n modelValue: {\n type: [Boolean, Array] as PropType<BentoCheckboxType | BentoCheckboxGroupItems>,\n default: false,\n },\n\n /**\n * Highlights the checkbox is optional.\n */\n optional: { type: Boolean, default: false },\n\n /**\n * Setting this property to true will set the checkbox to read only state.\n */\n readonly: { type: Boolean, default: false },\n\n /**\n * Highlights the checkbox is required.\n */\n required: { type: Boolean, default: false },\n\n /**\n * Sets the properties of the BentoTag component that is placed next to the label.\n * {@see BentoTag}\n */\n tag: { type: Object as PropType<BentoCheckboxTag>, default: undefined },\n\n /**\n * The value of the component. The DOM API casts this to a string.\n * The browser uses \"on\" as the default value.\n *\n * In the case of multiple checkboxes this value is used as a unique key.\n */\n value: { type: [String, Number], default: null },\n },\n emits: [BentoCheckboxEvent.UPDATE, BentoCheckboxEvent.INPUT],\n setup(props, { attrs, emit, slots }) {\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n const descriptionId = generateUid('description');\n const errorId = generateUid('error');\n const hasSlot = useHasSlot(slots);\n\n const { disabled, indeterminate, modelValue, readonly, value } = toRefs(props);\n\n const defaultSlotValue = getSlotText(slots)('default');\n const descriptionSlotValue = getSlotText(slots)('description');\n\n useDefaultSlotValidator('bento-checkbox', slots.default, slots.description);\n\n const isCheckboxGroup = computed(() => Array.isArray(modelValue.value));\n const isChecked = computed(() => {\n if (!isCheckboxGroup.value) {\n return modelValue.value as boolean;\n }\n\n return (modelValue.value as BentoMultiCheckboxType).some(item => item === value.value);\n });\n const isIndeterminate = computed(() => indeterminate.value);\n\n const shouldShowError = computed(\n () => !props.disabled && !props.readonly && (props.hasError || !!props.errorMessage)\n );\n const shouldShowErrorMessage = computed(() => !props.disabled && !props.readonly && !!props.errorMessage);\n\n // Content slot logic\n const hasContentSlot = computed(() => hasSlot('content'));\n const isCheckedOrIntermediate = computed(() => isIndeterminate?.value || isChecked?.value);\n const contentSlotAvailable = computed(\n () => hasContentSlot?.value && isCheckboxGroup?.value && isCheckedOrIntermediate?.value\n );\n\n // ARIA fields\n const ariaDescribedBy = computed<HTMLAttributes['aria-describedby']>(\n () =>\n `${shouldShowErrorMessage.value ? errorId : ''} ${\n defaultSlotValue && descriptionSlotValue ? descriptionId : ''\n }`.trim() || null\n );\n\n const ariaLabelAttribute = ref(attrs['aria-label']);\n const { ariaLabel } = toRefs(props);\n const checkboxTranslation = ref();\n // Translations used in the script tag need to be inside onMounted otherwise they fail in Vue 3\n onMounted(() => {\n checkboxTranslation.value = t('checkbox');\n });\n // Only add aria-label if no label slot is present\n const computedAriaLabel = computed(\n () =>\n useAriaLabel({\n ariaLabel: ariaLabelAttribute.value as string,\n // TODO: take this line away when the aria-label props is removed\n label: ariaLabel,\n defaultFallback: hasSlot('default')\n ? (getSlotText(slots)('default') as string)\n : checkboxTranslation.value,\n }).value\n );\n const getAriaHidden = (attributes: HTMLAttributes) => attributes?.['aria-hidden'];\n\n const styleAttrs = computed(() => {\n const { style, class: cls } = useAttrs();\n return {\n class: cls as HTMLAttributes['class'],\n style: style as HTMLAttributes['style'],\n };\n });\n\n const conditionalClass = computed(() => ({\n [`b-checkbox--${BentoCheckboxState.DISABLED}`]: disabled.value,\n [`b-checkbox--${BentoCheckboxState.READONLY}`]: readonly.value,\n }));\n\n const onChange = (newValue: BentoCheckboxType | BentoCheckboxGroupItems) => {\n if (disabled.value) {\n return;\n }\n emit(BentoCheckboxEvent.UPDATE, newValue);\n emit(BentoCheckboxEvent.INPUT, newValue);\n };\n\n return {\n // Values\n descriptionId,\n errorId,\n ariaDescribedBy,\n computedAriaLabel,\n conditionalClass,\n defaultSlotValue,\n descriptionSlotValue,\n isIndeterminate,\n shouldShowError,\n shouldShowErrorMessage,\n contentSlotAvailable,\n hasContentSlot,\n styleAttrs,\n\n // Methods\n hasSlot,\n onChange,\n getAriaHidden,\n\n t,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./checkbox.scss\" />\n"],"names":["BentoCheckboxEvent","BentoCheckboxEvent2","_sfc_main","defineComponent","messages","BentoTag","BentoTypography","CheckboxInput","ErrorMessage","props","attrs","emit","slots","t","useI18n","descriptionId","generateUid","errorId","hasSlot","useHasSlot","disabled","indeterminate","modelValue","readonly","value","toRefs","defaultSlotValue","getSlotText","descriptionSlotValue","useDefaultSlotValidator","isCheckboxGroup","computed","isChecked","item","isIndeterminate","shouldShowError","shouldShowErrorMessage","hasContentSlot","isCheckedOrIntermediate","contentSlotAvailable","ariaDescribedBy","ariaLabelAttribute","ref","ariaLabel","checkboxTranslation","onMounted","computedAriaLabel","useAriaLabel","getAriaHidden","attributes","styleAttrs","style","cls","useAttrs","conditionalClass","CheckboxInputState","newValue","_hoisted_1","_ctx","$attrs","createVNode","_component_checkbox_input","mergeProps","openBlock","createElementBlock","_hoisted_2","createBlock","_component_bento_typography","createElementVNode","createTextVNode","toDisplayString","required","createCommentVNode","_component_bento_tag","tag","renderSlot","_component_error_message"],"mappings":";;;;;;;;;;;;;;AASY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,SAAA,sBACAA,EAAA,QAAA,SAFQA,IAAAD,KAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;GCoFRE,KAAAC,EAAA;AAAA,EAA+B,MAAA;AAAA,EACrB,MAAA,EAAA,UAAAC,EAAA;AAAA,EACW,YAAA;AAAA,IACL,UAAAC;AAAA,IACR,iBAAAC;AAAA,IACA,eAAAC;AAAA,IACA,cAAAC;AAAA,EACA;AAAA,EACJ,cAAA;AAAA,EACc,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AAAc,EAAA,IAAA,EAAA;AAAA,IAAA,CAAA,KAAAA,EAAA,IAAA,EAAA;AAAA;;;"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { createElementBlock as s, openBlock as l, mergeProps as o, createCommentVNode as n, createElementVNode as e, toDisplayString as a } from "vue";
|
|
3
|
+
import { _ as c } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
4
|
+
let r = 0;
|
|
5
|
+
const u = {
|
|
6
|
+
beforeCreate() {
|
|
7
|
+
this.uuid = r.toString(), r += 1;
|
|
8
|
+
}
|
|
9
|
+
}, p = { key: 0 }, d = ["clip-path"], f = ["id"];
|
|
10
|
+
function m(t, i, h, _, g, k) {
|
|
11
|
+
return l(), s("svg", o({ role: "img" }, t.$attrs, {
|
|
12
|
+
class: "ui-assets-icons-16",
|
|
13
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
+
width: "16",
|
|
15
|
+
height: "16",
|
|
16
|
+
fill: "none"
|
|
17
|
+
}), [
|
|
18
|
+
t.$attrs["svg-title"] ? (l(), s("title", p, a(t.$attrs["svg-title"]), 1)) : n("", !0),
|
|
19
|
+
e("g", {
|
|
20
|
+
"clip-path": "url(#uia-ui-assets/icons-16-checkmark_circle_fill__a" + t.uuid + ")"
|
|
21
|
+
}, i[0] || (i[0] = [
|
|
22
|
+
e("path", {
|
|
23
|
+
fill: "#001222",
|
|
24
|
+
d: "M0.25 8C0.25 3.71979 3.71979 0.25 8 0.25C12.2802 0.25 15.75 3.71979 15.75 8C15.75 12.2802 12.2802 15.75 8 15.75C3.71979 15.75 0.25 12.2802 0.25 8ZM11.0001 4.93945L7.0001 8.93946L5.00011 6.93947L3.93945 8.00013L7.00011 11.0608L12.0608 6.00011L11.0001 4.93945Z"
|
|
25
|
+
}, null, -1)
|
|
26
|
+
]), 8, d),
|
|
27
|
+
e("defs", null, [
|
|
28
|
+
e("clipPath", {
|
|
29
|
+
id: "uia-ui-assets/icons-16-checkmark_circle_fill__a" + t.uuid
|
|
30
|
+
}, i[1] || (i[1] = [
|
|
31
|
+
e("rect", {
|
|
32
|
+
width: "16",
|
|
33
|
+
height: "16",
|
|
34
|
+
fill: "#fff"
|
|
35
|
+
}, null, -1)
|
|
36
|
+
]), 8, f)
|
|
37
|
+
])
|
|
38
|
+
], 16);
|
|
39
|
+
}
|
|
40
|
+
const L = /* @__PURE__ */ c(u, [["render", m]]);
|
|
41
|
+
export {
|
|
42
|
+
L as C
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=checkmark-circle-fill._6-d40ru.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkmark-circle-fill._6-d40ru.js","sources":["../../../ui-assets/icons-16/dist/vue/checkmark-circle-fill.vue"],"sourcesContent":["\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><g :clip-path=\"'url(#uia-ui-assets/icons-16-checkmark_circle_fill__a' + uuid + ')'\"><path fill=\"#001222\" d=\"M0.25 8C0.25 3.71979 3.71979 0.25 8 0.25C12.2802 0.25 15.75 3.71979 15.75 8C15.75 12.2802 12.2802 15.75 8 15.75C3.71979 15.75 0.25 12.2802 0.25 8ZM11.0001 4.93945L7.0001 8.93946L5.00011 6.93947L3.93945 8.00013L7.00011 11.0608L12.0608 6.00011L11.0001 4.93945Z\"/></g><defs><clipPath :id=\"'uia-ui-assets/icons-16-checkmark_circle_fill__a' + uuid\"><rect width=\"16\" height=\"16\" fill=\"#fff\"/></clipPath></defs></svg>\n</template>\n<script>\n import '../css/main.css';\n\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n"],"names":["uuid","_sfc_main","_hoisted_2","_hoisted_3","_openBlock","_createElementBlock","_mergeProps","_ctx","_hoisted_1","_createCommentVNode","_createElementVNode"],"mappings":";;;AAOI,IAAIA,IAAO;AAEX,MAAKC,IAAU;AAAA,EACX,eAAe;AACX,SAAK,OAAOD,EAAK,SAAU,GAC3BA,KAAQ;AAAA,EACX;AACJ,SAdL,KAAA,EAAA,GAAAE,IAAA,CAAA,WAAA,GAAAC,IAAA,CAAA,IAAA;;AAEI,SAAAC,EAAA,GAAAC,EAA0sB,OAA1sBC,EAA0sB,EAArsB,MAAK,MAAK,GAASC,EAAM,QAAA;AAAA,IAAE,OAAM;AAAA,IAAqB,OAAM;AAAA,IAA6B,OAAM;AAAA,IAAK,QAAO;AAAA,IAAK,MAAK;AAAA;IAAoBA,EAAM,OAAA,WAAA,UAAnBF,EAAmE,SAFxMG,KAE0KD,EAAM,OAAA,WAAA,CAAA,GAAA,CAAA,KAFhLE,EAAA,IAAA,EAAA;AAAA,IAEwMC,EAAqX,KAAA;AAAA,MAAjX,sEAAoEH,EAAI,OAAA;AAAA;MAAQG,EAA6R,QAAA;AAAA,QAAvR,MAAK;AAAA,QAAU,GAAE;AAAA;IAFnT,IAAA,GAAAR,CAAA;AAAA,IAE6jBQ,EAA2I,QAAA,MAAA;AAAA,MAArIA,EAA8H,YAAA;AAAA,QAAnH,wDAAwDH,EAAI;AAAA;QAAEG,EAA0C,QAAA;AAAA,UAApC,OAAM;AAAA,UAAK,QAAO;AAAA,UAAK,MAAK;AAAA;MAF9qB,IAAA,GAAAP,CAAA;AAAA;;;;"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { createElementBlock as o, openBlock as r, mergeProps as i, createCommentVNode as n, createElementVNode as l, toDisplayString as a } from "vue";
|
|
3
|
+
import { _ as m } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
4
|
+
let s = 0;
|
|
5
|
+
const p = {
|
|
6
|
+
beforeCreate() {
|
|
7
|
+
this.uuid = s.toString(), s += 1;
|
|
8
|
+
}
|
|
9
|
+
}, c = { key: 0 };
|
|
10
|
+
function d(t, e, g, u, f, h) {
|
|
11
|
+
return r(), o("svg", i({ role: "img" }, t.$attrs, {
|
|
12
|
+
class: "ui-assets-icons-16",
|
|
13
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
+
width: "16",
|
|
15
|
+
height: "16",
|
|
16
|
+
fill: "none"
|
|
17
|
+
}), [
|
|
18
|
+
t.$attrs["svg-title"] ? (r(), o("title", c, a(t.$attrs["svg-title"]), 1)) : n("", !0),
|
|
19
|
+
e[0] || (e[0] = l("path", {
|
|
20
|
+
fill: "#001222",
|
|
21
|
+
d: "M12.0608 6.00011L11.0001 4.93945L7.00011 8.93945L5.00011 6.93945L3.93945 8.00011L7.00011 11.0608L12.0608 6.00011Z"
|
|
22
|
+
}, null, -1))
|
|
23
|
+
], 16);
|
|
24
|
+
}
|
|
25
|
+
const k = /* @__PURE__ */ m(p, [["render", d]]);
|
|
26
|
+
export {
|
|
27
|
+
k as C
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=checkmark-small.x-gmK2Dt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkmark-small.x-gmK2Dt.js","sources":["../../../ui-assets/icons-16/dist/vue/checkmark-small.vue"],"sourcesContent":["\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><path fill=\"#001222\" d=\"M12.0608 6.00011L11.0001 4.93945L7.00011 8.93945L5.00011 6.93945L3.93945 8.00011L7.00011 11.0608L12.0608 6.00011Z\"/></svg>\n</template>\n<script>\n import '../css/main.css';\n\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n"],"names":["uuid","_sfc_main","_openBlock","_createElementBlock","_mergeProps","_ctx","_hoisted_1","_createCommentVNode","_createElementVNode"],"mappings":";;;AAOI,IAAIA,IAAO;AAEX,MAAKC,IAAU;AAAA,EACX,eAAe;AACX,SAAK,OAAOD,EAAK,SAAU,GAC3BA,KAAQ;AAAA,EACX;AACJ,SAdL,KAAA,EAAA;;AAEI,SAAAE,EAAA,GAAAC,EAAsV,OAAtVC,EAAsV,EAAjV,MAAK,MAAK,GAASC,EAAM,QAAA;AAAA,IAAE,OAAM;AAAA,IAAqB,OAAM;AAAA,IAA6B,OAAM;AAAA,IAAK,QAAO;AAAA,IAAK,MAAK;AAAA;IAAoBA,EAAM,OAAA,WAAA,UAAnBF,EAAmE,SAFxMG,KAE0KD,EAAM,OAAA,WAAA,CAAA,GAAA,CAAA,KAFhLE,EAAA,IAAA,EAAA;AAAA,oBAEwMC,EAA4I,QAAA;AAAA,MAAtI,MAAK;AAAA,MAAU,GAAE;AAAA;;;;"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { createElementBlock as o, openBlock as r, mergeProps as n, createCommentVNode as i, createElementVNode as l, toDisplayString as a } from "vue";
|
|
3
|
+
import { _ as p } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
4
|
+
let s = 0;
|
|
5
|
+
const m = {
|
|
6
|
+
beforeCreate() {
|
|
7
|
+
this.uuid = s.toString(), s += 1;
|
|
8
|
+
}
|
|
9
|
+
}, c = { key: 0 };
|
|
10
|
+
function d(t, e, g, u, f, h) {
|
|
11
|
+
return r(), o("svg", n({ role: "img" }, t.$attrs, {
|
|
12
|
+
class: "ui-assets-icons-16",
|
|
13
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
+
width: "16",
|
|
15
|
+
height: "16",
|
|
16
|
+
fill: "none"
|
|
17
|
+
}), [
|
|
18
|
+
t.$attrs["svg-title"] ? (r(), o("title", c, a(t.$attrs["svg-title"]), 1)) : i("", !0),
|
|
19
|
+
e[0] || (e[0] = l("path", {
|
|
20
|
+
fill: "#001222",
|
|
21
|
+
d: "M2.99988 4.43923L7.99988 9.43923L12.9999 4.43923L14.0605 5.49989L7.99988 11.5605L1.93922 5.49989L2.99988 4.43923Z"
|
|
22
|
+
}, null, -1))
|
|
23
|
+
], 16);
|
|
24
|
+
}
|
|
25
|
+
const _ = /* @__PURE__ */ p(m, [["render", d]]);
|
|
26
|
+
export {
|
|
27
|
+
_ as C
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=chevron-down.DCQ6ZLaq.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chevron-down.DCQ6ZLaq.js","sources":["../../../ui-assets/icons-16/dist/vue/chevron-down.vue"],"sourcesContent":["\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><path fill=\"#001222\" d=\"M2.99988 4.43923L7.99988 9.43923L12.9999 4.43923L14.0605 5.49989L7.99988 11.5605L1.93922 5.49989L2.99988 4.43923Z\"/></svg>\n</template>\n<script>\n import '../css/main.css';\n\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n"],"names":["uuid","_sfc_main","_openBlock","_createElementBlock","_mergeProps","_ctx","_hoisted_1","_createCommentVNode","_createElementVNode"],"mappings":";;;AAOI,IAAIA,IAAO;AAEX,MAAKC,IAAU;AAAA,EACX,eAAe;AACX,SAAK,OAAOD,EAAK,SAAU,GAC3BA,KAAQ;AAAA,EACX;AACJ,SAdL,KAAA,EAAA;;AAEI,SAAAE,EAAA,GAAAC,EAAsV,OAAtVC,EAAsV,EAAjV,MAAK,MAAK,GAASC,EAAM,QAAA;AAAA,IAAE,OAAM;AAAA,IAAqB,OAAM;AAAA,IAA6B,OAAM;AAAA,IAAK,QAAO;AAAA,IAAK,MAAK;AAAA;IAAoBA,EAAM,OAAA,WAAA,UAAnBF,EAAmE,SAFxMG,KAE0KD,EAAM,OAAA,WAAA,CAAA,GAAA,CAAA,KAFhLE,EAAA,IAAA,EAAA;AAAA,oBAEwMC,EAA4I,QAAA;AAAA,MAAtI,MAAK;AAAA,MAAU,GAAE;AAAA;;;;"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { createElementBlock as s, openBlock as o, mergeProps as n, createCommentVNode as l, createElementVNode as a, toDisplayString as p } from "vue";
|
|
3
|
+
import { _ as u } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
4
|
+
let r = 0;
|
|
5
|
+
const f = {
|
|
6
|
+
beforeCreate() {
|
|
7
|
+
this.uuid = r.toString(), r += 1;
|
|
8
|
+
}
|
|
9
|
+
}, m = { key: 0 };
|
|
10
|
+
function h(t, e, g, d, $, c) {
|
|
11
|
+
return o(), s("svg", n({ role: "img" }, t.$attrs, {
|
|
12
|
+
class: "ui-assets-icons-16",
|
|
13
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
+
width: "16",
|
|
15
|
+
height: "16",
|
|
16
|
+
fill: "none"
|
|
17
|
+
}), [
|
|
18
|
+
t.$attrs["svg-title"] ? (o(), s("title", m, p(t.$attrs["svg-title"]), 1)) : l("", !0),
|
|
19
|
+
e[0] || (e[0] = a("path", {
|
|
20
|
+
fill: "#001222",
|
|
21
|
+
d: "M4.43945 12.9999L9.43945 7.99988L4.43945 2.99988L5.50011 1.93922L11.5608 7.99988L5.50011 14.0605L4.43945 12.9999Z"
|
|
22
|
+
}, null, -1))
|
|
23
|
+
], 16);
|
|
24
|
+
}
|
|
25
|
+
const y = /* @__PURE__ */ u(f, [["render", h]]);
|
|
26
|
+
let i = 0;
|
|
27
|
+
const L = {
|
|
28
|
+
beforeCreate() {
|
|
29
|
+
this.uuid = i.toString(), i += 1;
|
|
30
|
+
}
|
|
31
|
+
}, v = { key: 0 };
|
|
32
|
+
function w(t, e, g, d, $, c) {
|
|
33
|
+
return o(), s("svg", n({ role: "img" }, t.$attrs, {
|
|
34
|
+
class: "ui-assets-icons-16",
|
|
35
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
36
|
+
width: "16",
|
|
37
|
+
height: "16",
|
|
38
|
+
fill: "none"
|
|
39
|
+
}), [
|
|
40
|
+
t.$attrs["svg-title"] ? (o(), s("title", v, p(t.$attrs["svg-title"]), 1)) : l("", !0),
|
|
41
|
+
e[0] || (e[0] = a("path", {
|
|
42
|
+
fill: "#001222",
|
|
43
|
+
d: "M11.5606 3.00011L6.56056 8.00011L11.5606 13.0001L10.4999 14.0608L4.43924 8.00011L10.4999 1.93945L11.5606 3.00011Z"
|
|
44
|
+
}, null, -1))
|
|
45
|
+
], 16);
|
|
46
|
+
}
|
|
47
|
+
const S = /* @__PURE__ */ u(L, [["render", w]]);
|
|
48
|
+
export {
|
|
49
|
+
S as C,
|
|
50
|
+
y as a
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=chevron-left.Cfn1uGLH.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chevron-left.Cfn1uGLH.js","sources":["../../../ui-assets/icons-16/dist/vue/chevron-right.vue","../../../ui-assets/icons-16/dist/vue/chevron-left.vue"],"sourcesContent":["\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><path fill=\"#001222\" d=\"M4.43945 12.9999L9.43945 7.99988L4.43945 2.99988L5.50011 1.93922L11.5608 7.99988L5.50011 14.0605L4.43945 12.9999Z\"/></svg>\n</template>\n<script>\n import '../css/main.css';\n\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n","\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><path fill=\"#001222\" d=\"M11.5606 3.00011L6.56056 8.00011L11.5606 13.0001L10.4999 14.0608L4.43924 8.00011L10.4999 1.93945L11.5606 3.00011Z\"/></svg>\n</template>\n<script>\n import '../css/main.css';\n\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n"],"names":["uuid","_sfc_main","_openBlock","_createElementBlock","_mergeProps","_ctx","_hoisted_1","_createCommentVNode","_createElementVNode"],"mappings":";;;AAOI,IAAIA,IAAO;AAEX,MAAKC,IAAU;AAAA,EACX,eAAe;AACX,SAAK,OAAOD,EAAK,SAAU,GAC3BA,KAAQ;AAAA,EACX;AACJ,SAdL,KAAA,EAAA;;AAEI,SAAAE,EAAA,GAAAC,EAAsV,OAAtVC,EAAsV,EAAjV,MAAK,MAAK,GAASC,EAAM,QAAA;AAAA,IAAE,OAAM;AAAA,IAAqB,OAAM;AAAA,IAA6B,OAAM;AAAA,IAAK,QAAO;AAAA,IAAK,MAAK;AAAA;IAAoBA,EAAM,OAAA,WAAA,UAAnBF,EAAmE,SAFxMG,KAE0KD,EAAM,OAAA,WAAA,CAAA,GAAA,CAAA,KAFhLE,EAAA,IAAA,EAAA;AAAA,oBAEwMC,EAA4I,QAAA;AAAA,MAAtI,MAAK;AAAA,MAAU,GAAE;AAAA;;;;ACK3N,IAAIR,IAAO;AAEX,MAAKC,IAAU;AAAA,EACX,eAAe;AACX,SAAK,OAAOD,EAAK,SAAU,GAC3BA,KAAQ;AAAA,EACX;AACJ,SAdL,KAAA,EAAA;;AAEI,SAAAE,EAAA,GAAAC,EAAsV,OAAtVC,EAAsV,EAAjV,MAAK,MAAK,GAASC,EAAM,QAAA;AAAA,IAAE,OAAM;AAAA,IAAqB,OAAM;AAAA,IAA6B,OAAM;AAAA,IAAK,QAAO;AAAA,IAAK,MAAK;AAAA;IAAoBA,EAAM,OAAA,WAAA,UAAnBF,EAAmE,SAFxMG,KAE0KD,EAAM,OAAA,WAAA,CAAA,GAAA,CAAA,KAFhLE,EAAA,IAAA,EAAA;AAAA,oBAEwMC,EAA4I,QAAA;AAAA,MAAtI,MAAK;AAAA,MAAU,GAAE;AAAA;;;;"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { createElementBlock as o, openBlock as r, mergeProps as i, createCommentVNode as n, createElementVNode as l, toDisplayString as a } from "vue";
|
|
3
|
+
import { _ as p } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
4
|
+
let s = 0;
|
|
5
|
+
const m = {
|
|
6
|
+
beforeCreate() {
|
|
7
|
+
this.uuid = s.toString(), s += 1;
|
|
8
|
+
}
|
|
9
|
+
}, c = { key: 0 };
|
|
10
|
+
function d(t, e, g, u, f, h) {
|
|
11
|
+
return r(), o("svg", i({ role: "img" }, t.$attrs, {
|
|
12
|
+
class: "ui-assets-icons-16",
|
|
13
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
+
width: "16",
|
|
15
|
+
height: "16",
|
|
16
|
+
fill: "none"
|
|
17
|
+
}), [
|
|
18
|
+
t.$attrs["svg-title"] ? (r(), o("title", c, a(t.$attrs["svg-title"]), 1)) : n("", !0),
|
|
19
|
+
e[0] || (e[0] = l("path", {
|
|
20
|
+
fill: "#001222",
|
|
21
|
+
d: "M12.9999 11.5605L7.99989 6.56055L2.99988 11.5605L1.93922 10.4999L7.99989 4.43923L14.0605 10.4999L12.9999 11.5605Z"
|
|
22
|
+
}, null, -1))
|
|
23
|
+
], 16);
|
|
24
|
+
}
|
|
25
|
+
const v = /* @__PURE__ */ p(m, [["render", d]]);
|
|
26
|
+
export {
|
|
27
|
+
v as C
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=chevron-up.kfuLRpZb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chevron-up.kfuLRpZb.js","sources":["../../../ui-assets/icons-16/dist/vue/chevron-up.vue"],"sourcesContent":["\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><path fill=\"#001222\" d=\"M12.9999 11.5605L7.99989 6.56055L2.99988 11.5605L1.93922 10.4999L7.99989 4.43923L14.0605 10.4999L12.9999 11.5605Z\"/></svg>\n</template>\n<script>\n import '../css/main.css';\n\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n"],"names":["uuid","_sfc_main","_openBlock","_createElementBlock","_mergeProps","_ctx","_hoisted_1","_createCommentVNode","_createElementVNode"],"mappings":";;;AAOI,IAAIA,IAAO;AAEX,MAAKC,IAAU;AAAA,EACX,eAAe;AACX,SAAK,OAAOD,EAAK,SAAU,GAC3BA,KAAQ;AAAA,EACX;AACJ,SAdL,KAAA,EAAA;;AAEI,SAAAE,EAAA,GAAAC,EAAsV,OAAtVC,EAAsV,EAAjV,MAAK,MAAK,GAASC,EAAM,QAAA;AAAA,IAAE,OAAM;AAAA,IAAqB,OAAM;AAAA,IAA6B,OAAM;AAAA,IAAK,QAAO;AAAA,IAAK,MAAK;AAAA;IAAoBA,EAAM,OAAA,WAAA,UAAnBF,EAAmE,SAFxMG,KAE0KD,EAAM,OAAA,WAAA,CAAA,GAAA,CAAA,KAFhLE,EAAA,IAAA,EAAA;AAAA,oBAEwMC,EAA4I,QAAA;AAAA,MAAtI,MAAK;AAAA,MAAU,GAAE;AAAA;;;;"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { defineComponent as _, computed as t, createBlock as b, openBlock as v, unref as o, normalizeClass as h, withCtx as a, createVNode as r, createTextVNode as B, toDisplayString as y } from "vue";
|
|
2
|
+
import { B as C } from "./base-button.BSLpAs8A.js";
|
|
3
|
+
import { B as g } from "./typography.yBEME_Gu.js";
|
|
4
|
+
import { C as k } from "./cross-small.n1UO5wNB.js";
|
|
5
|
+
import { u as x } from "./index.pdBj0KQU.js";
|
|
6
|
+
import { t as L } from "./truncate.BfIl_-71.js";
|
|
7
|
+
import { _ as R } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
8
|
+
import "../assets/chip.css";
|
|
9
|
+
const n = {
|
|
10
|
+
"en-US": {
|
|
11
|
+
remove: "Remove"
|
|
12
|
+
},
|
|
13
|
+
"ja-JP": {
|
|
14
|
+
remove: "削除"
|
|
15
|
+
},
|
|
16
|
+
"pt-BR": {
|
|
17
|
+
remove: "Remover"
|
|
18
|
+
}
|
|
19
|
+
}, I = { i18n: { messages: n } }, T = /* @__PURE__ */ _({
|
|
20
|
+
...I,
|
|
21
|
+
__name: "chip",
|
|
22
|
+
props: {
|
|
23
|
+
label: {},
|
|
24
|
+
disabled: { type: Boolean, default: !1 },
|
|
25
|
+
readonly: { type: Boolean, default: !1 },
|
|
26
|
+
error: { type: Boolean, default: !1 },
|
|
27
|
+
condensed: { type: Boolean, default: !1 },
|
|
28
|
+
characterLimit: { default: null }
|
|
29
|
+
},
|
|
30
|
+
emits: ["click"],
|
|
31
|
+
setup(l, { emit: c }) {
|
|
32
|
+
const e = l, i = c, { t: d } = x({ messages: n }), p = t(
|
|
33
|
+
() => e.characterLimit ? L(e.label, e.characterLimit) : e.label
|
|
34
|
+
), m = t(
|
|
35
|
+
() => e.condensed ? "caption" : "body"
|
|
36
|
+
), u = t(() => ({
|
|
37
|
+
"b-chip--condensed": e.condensed,
|
|
38
|
+
"b-chip--readonly": e.readonly && !e.disabled,
|
|
39
|
+
"b-chip--error": e.error
|
|
40
|
+
}));
|
|
41
|
+
return (f, s) => (v(), b(o(C), {
|
|
42
|
+
class: h(["b-chip", u.value]),
|
|
43
|
+
disabled: f.disabled,
|
|
44
|
+
onClick: s[0] || (s[0] = (V) => i("click"))
|
|
45
|
+
}, {
|
|
46
|
+
iconRight: a(() => [
|
|
47
|
+
r(o(k), {
|
|
48
|
+
"svg-title": o(d)("remove"),
|
|
49
|
+
class: "b-chip__icon"
|
|
50
|
+
}, null, 8, ["svg-title"])
|
|
51
|
+
]),
|
|
52
|
+
default: a(() => [
|
|
53
|
+
r(o(g), {
|
|
54
|
+
el: "span",
|
|
55
|
+
variant: m.value,
|
|
56
|
+
class: "b-chip__text"
|
|
57
|
+
}, {
|
|
58
|
+
default: a(() => [
|
|
59
|
+
B(y(p.value), 1)
|
|
60
|
+
]),
|
|
61
|
+
_: 1
|
|
62
|
+
}, 8, ["variant"])
|
|
63
|
+
]),
|
|
64
|
+
_: 1
|
|
65
|
+
}, 8, ["disabled", "class"]));
|
|
66
|
+
}
|
|
67
|
+
}), P = /* @__PURE__ */ R(T, [["__scopeId", "data-v-c5b0d9dd"]]);
|
|
68
|
+
export {
|
|
69
|
+
P as B
|
|
70
|
+
};
|
|
71
|
+
//# sourceMappingURL=chip.CoV28mKv.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chip.CoV28mKv.js","sources":["../../../vue2/src/components/chip/chip.vue"],"sourcesContent":["<template>\n <base-button class=\"b-chip\" :disabled=\"disabled\" :class=\"conditionalClasses\" @click=\"emit('click')\">\n <bento-typography el=\"span\" :variant=\"computedTypographyVariant\" class=\"b-chip__text\">\n {{ computedLabel }}\n </bento-typography>\n <template #iconRight><cross-small-icon :svg-title=\"t('remove')\" class=\"b-chip__icon\" /></template>\n </base-button>\n</template>\n\n<script setup lang=\"ts\">\n import { BaseButton } from '@/components/internal/base-button';\n import { BentoTypography, type BentoTypographyVariant } from '@/components/typography';\n import CrossSmallIcon from '@adyen/ui-assets-icons-16/vue/cross-small';\n\n import { useI18n } from '@/utils/ts/i18n';\n import { truncate } from '@/utils/ts/truncate';\n\n import type { BentoChipProps } from './chip.types';\n\n import messages from './messages.json';\n import { computed } from 'vue';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const props = withDefaults(defineProps<BentoChipProps>(), {\n disabled: false,\n readonly: false,\n error: false,\n condensed: false,\n characterLimit: null,\n });\n\n const emit = defineEmits<{\n /**\n * Emits when chip is clicked\n */\n (e: 'click'): void;\n }>();\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const computedLabel = computed(() =>\n props.characterLimit ? truncate(props.label, props.characterLimit) : props.label\n );\n\n const computedTypographyVariant = computed<`${BentoTypographyVariant}`>(() =>\n props.condensed ? 'caption' : 'body'\n );\n\n const conditionalClasses = computed(() => ({\n 'b-chip--condensed': props.condensed,\n 'b-chip--readonly': props.readonly && !props.disabled,\n 'b-chip--error': props.error,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * Chip is a dismissible tag-like component that can be used to display selected items, which may need to be removed by the user.\n *\n * @example\n * import { BentoChip } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoChip },\n * template: `\n * <bento-chip\n * label=\"Label\"\n * :character-limit=\"20\"\n * condensed\n * @click=\"removeChip()\"\n *\n * />\n * `\n * }\n */\n export default { i18n: { messages } };\n</script>\n\n<style lang=\"scss\" scoped src=\"./chip.scss\" />\n"],"names":["__default__","messages","props","__props","emit","__emit","t","useI18n","computedLabel","computed","truncate","computedTypographyVariant","conditionalClasses"],"mappings":";;;;;;;;;;;;;;;;;;GA4EIA,IAAA,EAAA,MAAA,EAAA,UAAAC,EAAA,EAAA;;;;;;;;;;;;;AApDA,UAAAC,IAAAC,GAQAC,IAAAC,GAOA,EAAA,GAAAC,EAAA,IAAAC,EAAA,EAAA,UAAAN,EAAA,CAAA,GAEAO,IAAAC;AAAA,MAAsB,MAAAP,EAAA,iBAAAQ,EAAAR,EAAA,OAAAA,EAAA,cAAA,IAAAA,EAAA;AAAA,IACyD,GAG/ES,IAAAF;AAAA,MAAkC,MAAAP,EAAA,YAAA,YAAA;AAAA,IACA,GAGlCU,IAAAH,EAAA,OAAA;AAAA,MAA2C,qBAAAP,EAAA;AAAA,MACZ,oBAAAA,EAAA,YAAA,CAAAA,EAAA;AAAA,MACkB,iBAAAA,EAAA;AAAA,IACtB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { defineComponent as o, ref as d, h as a } from "vue";
|
|
2
|
+
import { o as p } from "./on-click-outside.D9aY9g8G.js";
|
|
3
|
+
const l = /* @__PURE__ */ o({
|
|
4
|
+
name: "bento-click-outside",
|
|
5
|
+
props: {
|
|
6
|
+
/**
|
|
7
|
+
* Sets the HTML DOM element.
|
|
8
|
+
*/
|
|
9
|
+
el: { type: String, default: "div" }
|
|
10
|
+
},
|
|
11
|
+
emits: ["handler"],
|
|
12
|
+
setup(r, { emit: i, slots: t }) {
|
|
13
|
+
const n = d(null);
|
|
14
|
+
return p(n, (e) => i("handler", e)), () => {
|
|
15
|
+
var e;
|
|
16
|
+
return a(r.el, { ref: n }, (e = t.default) == null ? void 0 : e.call(t));
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
export {
|
|
21
|
+
l as B
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=click-outside.C1Ud8AA2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"click-outside.C1Ud8AA2.js","sources":["../../../vue2/src/components/click-outside/click-outside.ts"],"sourcesContent":["import { defineComponent, h, ref } from 'vue';\nimport { onClickOutside } from '@/directives/click-outside/on-click-outside';\n\nexport const BentoClickOutside = /* #__PURE__ */ defineComponent({\n name: 'bento-click-outside',\n props: {\n /**\n * Sets the HTML DOM element.\n */\n el: { type: String, default: 'div' },\n },\n emits: ['handler'],\n setup(props, { emit, slots }) {\n const target = ref(null);\n\n onClickOutside(target, event => emit('handler', event));\n\n return () => h(props.el, { ref: target }, slots.default?.());\n },\n});\n"],"names":["BentoClickOutside","defineComponent","props","emit","slots","target","ref","onClickOutside","event","h","_a"],"mappings":";;AAGO,MAAMA,IAAoD,gBAAAC,EAAA;AAAA,EAC7D,MAAM;AAAA,EACN,OAAO;AAAA;AAAA;AAAA;AAAA,IAIH,IAAI,EAAE,MAAM,QAAQ,SAAS,MAAM;AAAA,EACvC;AAAA,EACA,OAAO,CAAC,SAAS;AAAA,EACjB,MAAMC,GAAO,EAAE,MAAAC,GAAM,OAAAC,KAAS;AACpB,UAAAC,IAASC,EAAI,IAAI;AAEvB,WAAAC,EAAeF,GAAQ,CAAAG,MAASL,EAAK,WAAWK,CAAK,CAAC,GAE/C,MAAM;;AAAA,aAAAC,EAAEP,EAAM,IAAI,EAAE,KAAKG,EAAO,IAAGK,IAAAN,EAAM,YAAN,gBAAAM,EAAA,KAAAN,EAAiB;AAAA;AAAA,EAAA;AAEnE,CAAC;"}
|