@adyen/bento-vue3 1.9.0 → 1.11.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 +2 -0
- package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +23 -2455
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/code-snippet/{composables/useLanguage.d.ts → utils/get-lang-loader.d.ts} +1 -3
- package/dist/@types/packages/vue2/src/components/country/composables/index.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/country/composables/{useCountryCapital/useCountryCapital.d.ts → use-country-capital/use-country-capital.d.ts} +1 -1
- package/dist/@types/packages/vue2/src/components/country/composables/{useCountryName/useCountryName.d.ts → use-country-name/use-country-name.d.ts} +1 -1
- package/dist/@types/packages/vue2/src/components/country/composables/{useCountryPhoneCode/useCountryPhoneCode.d.ts → use-country-phone-code/use-country-phon-code.d.ts} +1 -1
- package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.types.d.ts +14 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.vue.d.ts +33 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns-types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +21 -4
- package/dist/@types/packages/vue2/src/components/data-grid/components/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/index.d.ts +10 -8
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/{useCalculateColumnWidth/useCalculateColumnWidth.d.ts → use-calculate-column-width/use-calculate-column-width.d.ts} +2 -2
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-reorderer/use-column-reorderer.d.ts +121 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-config-settings/use-config-settings.d.ts +154 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/{useKeyboardNavigator/useKeyboardNavigator.d.ts → use-keyboard-navigator/use-keyboard-navigator.d.ts} +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/{useResizer.d.ts → use-resizer.d.ts} +0 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/{useScroller/useScroller.d.ts → use-scroller/use-scroller.d.ts} +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/{useSelector.d.ts → use-selector.d.ts} +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +5 -2
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +15 -5
- package/dist/@types/packages/vue2/src/components/divider/divider.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/useDropdownOptionsListbox.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +16 -6
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/dropdown/composables/useDisplayValue.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +2355 -6
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +84 -12
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +3 -1
- package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +8 -0
- package/dist/@types/packages/vue2/src/components/internal/copy/copy.types.d.ts +8 -0
- package/dist/@types/packages/vue2/src/components/internal/copy/copy.vue.d.ts +20 -0
- package/dist/@types/packages/vue2/src/components/internal/copy/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +51 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +10 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/components/listbox-single-select-category/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/components/listbox-single-select-category/listbox-single-select-category.vue.d.ts +12 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +10 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-multi-level-items/use-multi-level-items.d.ts +6 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +11 -2
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/menu/components/sub-menu-item-list/sub-menu-item-list.vue.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +316 -3
- package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-category/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-category/secondary-nav-category.vue.d.ts +18 -0
- package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-item/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-item/secondary-nav-item.vue.d.ts +21 -0
- package/dist/@types/packages/vue2/src/components/secondary-nav/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.keys.d.ts +3 -0
- package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.types.d.ts +14 -0
- package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.vue.d.ts +22 -0
- package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +3 -4
- package/dist/@types/packages/vue2/src/components/structured-list/structured-list.types.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +15 -2
- package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +15 -10
- package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +9 -0
- package/dist/@types/packages/vue2/src/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/types/elements.d.ts +2 -1
- package/dist/@types/packages/vue2/src/utils/ts/deprecate.d.ts +1 -0
- package/dist/accordion.js +2 -2
- package/dist/action-bar.js +5 -5
- package/dist/alert.js +23 -23
- package/dist/alert.js.map +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/controls-group.css +1 -1
- package/dist/assets/copy.css +1 -1
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/fixed-scroller.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index22.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index24.css +1 -1
- package/dist/assets/index25.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -1
- package/dist/assets/index28.css +1 -1
- package/dist/assets/index29.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index30.css +1 -1
- package/dist/assets/index31.css +1 -1
- package/dist/assets/index32.css +1 -1
- package/dist/assets/index33.css +1 -1
- package/dist/assets/index34.css +1 -1
- package/dist/assets/index35.css +1 -1
- package/dist/assets/index36.css +1 -1
- package/dist/assets/index37.css +1 -1
- package/dist/assets/index38.css +1 -1
- package/dist/assets/index39.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index40.css +1 -1
- package/dist/assets/index41.css +1 -1
- package/dist/assets/index42.css +1 -1
- package/dist/assets/index43.css +1 -1
- package/dist/assets/index44.css +1 -1
- package/dist/assets/index45.css +1 -1
- package/dist/assets/index46.css +1 -1
- package/dist/assets/index47.css +1 -0
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/listbox.css +1 -1
- package/dist/assets/loading-button.css +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.js +57 -46
- package/dist/button.js.map +1 -1
- package/dist/card.js +2 -2
- package/dist/checkbox.js +73 -54
- package/dist/checkbox.js.map +1 -1
- package/dist/chunks/{base-button.aa085dfa.js → base-button.39fae75f.js} +2 -2
- package/dist/chunks/{base-button.aa085dfa.js.map → base-button.39fae75f.js.map} +1 -1
- package/dist/chunks/{base-modal.a629cb32.js → base-modal.161ce8f0.js} +86 -86
- package/dist/chunks/base-modal.161ce8f0.js.map +1 -0
- package/dist/chunks/{button-actions-with-menu.f6dfb14d.js → button-actions-with-menu.2ff339f6.js} +3 -3
- package/dist/chunks/{button-actions-with-menu.f6dfb14d.js.map → button-actions-with-menu.2ff339f6.js.map} +1 -1
- package/dist/chunks/button.623a46d2.js +118 -0
- package/dist/chunks/button.623a46d2.js.map +1 -0
- package/dist/chunks/{calendar.fa7712e8.js → calendar.b1d05580.js} +4 -4
- package/dist/chunks/{calendar.fa7712e8.js.map → calendar.b1d05580.js.map} +1 -1
- package/dist/chunks/checkbox.d65694f2.js +278 -0
- package/dist/chunks/checkbox.d65694f2.js.map +1 -0
- package/dist/chunks/{controls-group.d6543674.js → controls-group.30352ce4.js} +21 -17
- package/dist/chunks/controls-group.30352ce4.js.map +1 -0
- package/dist/chunks/copy.2a9cddc1.js +145 -0
- package/dist/chunks/copy.2a9cddc1.js.map +1 -0
- package/dist/chunks/country.types.002caff2.js +5871 -0
- package/dist/chunks/country.types.002caff2.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.4108b289.js → dropdown-default-textbox.a731b5fb.js} +25 -25
- package/dist/chunks/dropdown-default-textbox.a731b5fb.js.map +1 -0
- package/dist/chunks/{dropdown.63de9aac.js → dropdown.96431c25.js} +399 -359
- package/dist/chunks/dropdown.96431c25.js.map +1 -0
- package/dist/chunks/{field-label.3c19a29a.js → field-label.b681234d.js} +5 -5
- package/dist/chunks/{field-label.3c19a29a.js.map → field-label.b681234d.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.bced60dd.js → fixed-scroller.ebfb2f80.js} +2 -2
- package/dist/chunks/{fixed-scroller.bced60dd.js.map → fixed-scroller.ebfb2f80.js.map} +1 -1
- package/dist/chunks/{footer-actions.cefaf1e2.js → footer-actions.03015ba1.js} +3 -3
- package/dist/chunks/{footer-actions.cefaf1e2.js.map → footer-actions.03015ba1.js.map} +1 -1
- package/dist/chunks/{index.98174339.js → index.03605cb0.js} +5 -5
- package/dist/chunks/{index.98174339.js.map → index.03605cb0.js.map} +1 -1
- package/dist/chunks/index.09f7f1b5.js +124 -0
- package/dist/chunks/index.09f7f1b5.js.map +1 -0
- package/dist/chunks/index.0a8ddfaa.js +168 -0
- package/dist/chunks/index.0a8ddfaa.js.map +1 -0
- package/dist/chunks/index.113137fb.js +21 -0
- package/dist/chunks/index.113137fb.js.map +1 -0
- package/dist/chunks/{index.89dfe209.js → index.1dac266a.js} +3 -3
- package/dist/chunks/{index.89dfe209.js.map → index.1dac266a.js.map} +1 -1
- package/dist/chunks/{index.0ee895e0.js → index.45d00aad.js} +2 -2
- package/dist/chunks/{index.0ee895e0.js.map → index.45d00aad.js.map} +1 -1
- package/dist/chunks/{index.4d2a13e1.js → index.80078bf9.js} +2 -2
- package/dist/chunks/{index.4d2a13e1.js.map → index.80078bf9.js.map} +1 -1
- package/dist/chunks/{index.85832db5.js → index.a4a6e52f.js} +3 -3
- package/dist/chunks/{index.85832db5.js.map → index.a4a6e52f.js.map} +1 -1
- package/dist/chunks/index.cf561336.js +622 -0
- package/dist/chunks/index.cf561336.js.map +1 -0
- package/dist/chunks/{index.c6fecf1c.js → index.ef1c4d59.js} +33 -33
- package/dist/chunks/{index.c6fecf1c.js.map → index.ef1c4d59.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.b1eb32bd.js → listbox-option-tag.ff6d6f32.js} +3 -3
- package/dist/chunks/{listbox-option-tag.b1eb32bd.js.map → listbox-option-tag.ff6d6f32.js.map} +1 -1
- package/dist/chunks/listbox.dd9883c5.js +1419 -0
- package/dist/chunks/listbox.dd9883c5.js.map +1 -0
- package/dist/chunks/{loading-button.4b88e24d.js → loading-button.30c5fede.js} +19 -19
- package/dist/chunks/{loading-button.4b88e24d.js.map → loading-button.30c5fede.js.map} +1 -1
- package/dist/chunks/{tooltip.27c32d36.js → tooltip.785993dd.js} +15 -15
- package/dist/chunks/tooltip.785993dd.js.map +1 -0
- package/dist/chunks/use-has-slot.4d98bf29.js.map +1 -1
- package/dist/chunks/useCountryItems.d2a1f224.js +29 -0
- package/dist/chunks/{useCountryItems.e83ef8f0.js.map → useCountryItems.d2a1f224.js.map} +1 -1
- package/dist/code-snippet.js +136 -138
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +51 -5912
- package/dist/country.js.map +1 -1
- package/dist/currency.js +1 -1
- package/dist/data-grid.js +1325 -1021
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +20 -20
- 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 +2 -10
- package/dist/divider.js.map +1 -1
- package/dist/dropdown.js +51 -50
- package/dist/dropdown.js.map +1 -1
- package/dist/empty-state.js +23 -23
- package/dist/empty-state.js.map +1 -1
- package/dist/filter-bar.js +759 -747
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +2 -2
- package/dist/form-layout.js.map +1 -1
- package/dist/header.js +3 -3
- package/dist/index.js +194 -185
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +3 -3
- package/dist/input-field.js +4 -4
- package/dist/internal.js +17 -15
- package/dist/link.js +2 -2
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal.js +67 -64
- package/dist/modal.js.map +1 -1
- package/dist/pagination.js +15 -13
- package/dist/pagination.js.map +1 -1
- package/dist/payment-method.js +2 -2
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/radio-group.js +69 -67
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +8 -8
- package/dist/secondary-nav.js +110 -0
- package/dist/secondary-nav.js.map +1 -0
- package/dist/segmented-control.js +3 -3
- package/dist/sidepanel.js +5 -5
- package/dist/status.js +2 -2
- package/dist/stepper.js +3 -3
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +3 -3
- package/dist/tabs.js +3 -3
- package/dist/tag.js +3 -3
- package/dist/textarea.js +173 -161
- package/dist/textarea.js.map +1 -1
- package/dist/timeline.js +244 -237
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +3 -3
- package/dist/toggle.js +2 -2
- package/dist/tutorial.js +5 -5
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +2 -2
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useColumnReorderer/useColumnReorderer.d.ts +0 -67
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useConfigSettings/useConfigSettings.d.ts +0 -73
- package/dist/chunks/base-modal.a629cb32.js.map +0 -1
- package/dist/chunks/button.82ed953e.js +0 -148
- package/dist/chunks/button.82ed953e.js.map +0 -1
- package/dist/chunks/checkbox.731dc0ab.js +0 -264
- package/dist/chunks/checkbox.731dc0ab.js.map +0 -1
- package/dist/chunks/controls-group.d6543674.js.map +0 -1
- package/dist/chunks/copy.330d594e.js +0 -126
- package/dist/chunks/copy.330d594e.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.4108b289.js.map +0 -1
- package/dist/chunks/dropdown.63de9aac.js.map +0 -1
- package/dist/chunks/index.73ed22a7.js +0 -594
- package/dist/chunks/index.73ed22a7.js.map +0 -1
- package/dist/chunks/index.75f3672e.js +0 -124
- package/dist/chunks/index.75f3672e.js.map +0 -1
- package/dist/chunks/index.edcaf766.js +0 -150
- package/dist/chunks/index.edcaf766.js.map +0 -1
- package/dist/chunks/listbox.ac43f8ab.js +0 -1309
- package/dist/chunks/listbox.ac43f8ab.js.map +0 -1
- package/dist/chunks/tooltip.27c32d36.js.map +0 -1
- package/dist/chunks/useCountryItems.e83ef8f0.js +0 -29
- /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useCalculateColumnWidth/useCalculateColumnWidth.types.d.ts → use-calculate-column-width/use-calculate-column-width.types.d.ts} +0 -0
- /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useCalculateStickyElementHeight/useCalculateStickyElementHeight.d.ts → use-calculate-sticky-element-height/use-calculate-sticky-element-height.d.ts} +0 -0
- /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useKeyboardNavigator/useKeyboardNavigator.types.d.ts → use-keyboard-navigator/use-keyboard-navigator.types.d.ts} +0 -0
- /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useLazyLoading/useLazyLoading.d.ts → use-lazy-loading/use-lazy-loading.d.ts} +0 -0
- /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useSorter.d.ts → use-sorter.d.ts} +0 -0
package/dist/focus-trap.js
CHANGED
package/dist/form-layout.js
CHANGED
|
@@ -3,8 +3,8 @@ import { BentoAlert as T } from "./alert.js";
|
|
|
3
3
|
import { F as k } from "./chunks/form-layout.types.a7a1438d.js";
|
|
4
4
|
import { u as F } from "./chunks/use-has-slot.4d98bf29.js";
|
|
5
5
|
import { _ as m } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
6
|
-
import { B as y, c as G } from "./chunks/index.
|
|
7
|
-
import "./assets/
|
|
6
|
+
import { B as y, c as G } from "./chunks/index.09f7f1b5.js";
|
|
7
|
+
import "./assets/index24.css";
|
|
8
8
|
const A = {
|
|
9
9
|
key: 1,
|
|
10
10
|
class: "b-form-layout__actions-container"
|
package/dist/form-layout.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-layout.js","sources":["../../vue2/src/components/form-layout/form-layout.vue","../../vue2/src/components/form-layout/components/form-layout-field-tip/form-layout-tip.types.ts","../../vue2/src/components/form-layout/components/form-layout-field-tip/form-layout-field-tip.vue","../../vue2/src/components/form-layout/components/form-layout-group/form-layout-group.types.ts","../../vue2/src/components/form-layout/components/form-layout-group/composable/use-form-layout-group-percentage.ts","../../vue2/src/components/form-layout/components/form-layout-group/form-layout-group.vue","../../vue2/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 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 } from 'vue';\n import { BentoFormLayoutFieldTipTypeOption, BentoFormLayoutFieldTipTypeOptions } from './form-layout-tip.types';\n import { BentoAlert } from '@/components/alert';\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</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","import { computed, onMounted, Ref } from 'vue';\nimport { BentoLayoutGroupProportions } from '../form-layout-group.types';\n\nconst DEFAULT_PROPORTION = 100;\n\n/**\n * Wraps a FormLayoutGroup child inside a \"div\" container.\n * This helps preventing the components from re-writing the classes or styles.\n * @param {Element} child - Child element to be wrapped\n * @param {HTMLDivElement} container - Container in which the child will be wrapped into\n * @param {string} containerClass - FormLayoutGroup layout percentage class\n */\nfunction wrapInsideContainer(child: Element, container: HTMLDivElement, containerClass: string) {\n // Insert container above the child\n child.parentNode.insertBefore(container, child);\n // Move child to the container\n container.appendChild(child);\n // Apply layout class\n container.classList.add(containerClass);\n}\n\n/**\n * Calculates the CSS classes based on the percentage\n * for each one of the layouts in format `##-##` or `##`.\n *\n * It receives a layout of type @see BentoLayoutGroupProportions to\n * generate the class and apply it to the children of the @see BentoFormLayoutGroup component\n *\n * @param {Ref<BentoLayoutGroupProportions>} layoutProp Layout string in the format `##` or `##-##`\n * @param {Ref<HTMLElement>} formLayoutGroupRef Reference to an HTML element of type BentoFormLayoutGroup\n */\nexport const useFormLayoutGroupPercentage = (\n layoutProp: Ref<BentoLayoutGroupProportions>,\n formLayoutGroupRef: Ref<HTMLElement>\n) => {\n // Split the `##-##` format into individual values [##, ##]\n const getLayoutValues = layout => layout.split?.('-').map(value => parseInt(value, 10));\n // Split the values only if the are in BentoLayoutGroupProportions, otherwise return 100%\n const layout = computed(() =>\n BentoLayoutGroupProportions.includes(layoutProp.value) ? getLayoutValues(layoutProp.value) : DEFAULT_PROPORTION\n );\n\n onMounted(() => {\n // Apply class to every immediate child\n const layoutClassName = formLayoutGroupRef.value.classList[0];\n const immediateChildren = formLayoutGroupRef.value.querySelectorAll(`.${layoutClassName} > *`); // Get immediate children\n\n immediateChildren.forEach((child, index) => {\n const containerClass = `${layoutClassName}--${layout.value[index] || '100'}`; // 100% default\n wrapInsideContainer(child, document.createElement('div'), containerClass);\n });\n });\n};\n","<template>\n <div ref=\"formLayoutGroup\" class=\"b-form-layout-group\" :class=\"conditionalClasses\">\n <slot></slot>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, PropType, ref, toRef } from 'vue';\n import { useFormLayoutGroupPercentage } from './composable/use-form-layout-group-percentage';\n import { BentoLayoutGroupProportions } from './form-layout-group.types';\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 const formLayoutGroup = ref(null);\n useFormLayoutGroupPercentage(toRef(props, 'layout'), formLayoutGroup);\n\n const conditionalClasses = computed(() => ({\n // Transform into column if the layout is unsopprted\n // \"form-layout.scss\" depends on this class\n 'b-form-layout-group--column': !BentoLayoutGroupProportions.includes(props.layout),\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_PROPORTION","wrapInsideContainer","child","container","containerClass","useFormLayoutGroupPercentage","layoutProp","formLayoutGroupRef","getLayoutValues","layout2","_a","value","layout","onMounted","layoutClassName","index","__default__$1","formLayoutGroup","ref","conditionalClasses","__default__","isSection"],"mappings":";;;;;;;;;;qFAsFIA,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEC5CGK,IAAA,CAAA,WAAA,YAAA,aAAA,SAAA,6CCiDHC,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qECxCGC,IAAA;AAAA,EAAoC;AAAA,EACvC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAEJ,GCpBAC,IAAA;AASA,SAAAC,EAAAC,GAAAC,GAAAC,GAAA;AAEI,EAAAF,EAAA,WAAA,aAAAC,GAAAD,CAAA,GAEAC,EAAA,YAAAD,CAAA,GAEAC,EAAA,UAAA,IAAAC,CAAA;AACJ;AAYa,MAAAC,IAAA,CAAAC,GAAAC,MAAA;AAKT,QAAAC,IAAA,CAAAC,MAAA;;AAAA,YAAAC,IAAAD,EAAA,UAAA,gBAAAC,EAAA,KAAAD,GAAA,KAAA,IAAA,CAAAE,MAAA,SAAAA,GAAA,EAAA;AAAA,KAEAC,IAAArB;AAAA,IAAe,MAAAQ,EAAA,SAAAO,EAAA,KAAA,IAAAE,EAAAF,EAAA,KAAA,IAAAN;AAAA,EACkF;AAGjG,EAAAa,EAAA,MAAA;AAEI,UAAAC,IAAAP,EAAA,MAAA,UAAA,CAAA;AAGA,IAFAA,EAAA,MAAA,iBAAA,IAAAO,OAAA,EAEA,QAAA,CAAAZ,GAAAa,MAAA;AACI,YAAAX,IAAA,GAAAU,MAAAF,EAAA,MAAAG,CAAA,KAAA;AACA,MAAAd,EAAAC,GAAA,SAAA,cAAA,KAAA,GAAAE,CAAA;AAAA,IAAwE,CAAA;AAAA,EAC3E,CAAA;AAET,GCqBIY,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA/BAC,IAAAC,EAAA,IAAA;AACA,IAAAb,EAAAT,EAAAJ,GAAA,QAAA,GAAAyB,CAAA;AAEA,UAAAE,IAAA5B,EAAA,OAAA;AAAA;AAAA;AAAA,MAA2C,+BAAA,CAAAQ,EAAA,SAAAP,EAAA,MAAA;AAAA,IAG0C,EAAA;;;;;;;;;;qECwBrF4B,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;iBAvDAlC,IAAAC,EAAA,GAyBAkC,IAAA9B,EAAA,MAAA,CAAAC,EAAA,UAAA,GACAJ,IAAAC,EAAAH,CAAA,GACAiC,IAAA5B,EAAA,OAAA;AAAA,MAA2C,mCAAAC,EAAA;AAAA,IACE,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"form-layout.js","sources":["../../vue2/src/components/form-layout/form-layout.vue","../../vue2/src/components/form-layout/components/form-layout-field-tip/form-layout-tip.types.ts","../../vue2/src/components/form-layout/components/form-layout-field-tip/form-layout-field-tip.vue","../../vue2/src/components/form-layout/components/form-layout-group/form-layout-group.types.ts","../../vue2/src/components/form-layout/components/form-layout-group/composable/use-form-layout-group-percentage.ts","../../vue2/src/components/form-layout/components/form-layout-group/form-layout-group.vue","../../vue2/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 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 } from 'vue';\n import { BentoFormLayoutFieldTipTypeOption, BentoFormLayoutFieldTipTypeOptions } from './form-layout-tip.types';\n import { BentoAlert } from '@/components/alert';\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</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","import { computed, onMounted, Ref } from 'vue';\nimport { BentoLayoutGroupProportions } from '../form-layout-group.types';\n\nconst DEFAULT_PROPORTION = 100;\n\n/**\n * Wraps a FormLayoutGroup child inside a \"div\" container.\n * This helps preventing the components from re-writing the classes or styles.\n * @param child Child element to be wrapped\n * @param container Container in which the child will be wrapped into\n * @param containerClass FormLayoutGroup layout percentage class\n */\nfunction wrapInsideContainer(child: Element, container: HTMLDivElement, containerClass: string) {\n // Insert container above the child\n child.parentNode.insertBefore(container, child);\n // Move child to the container\n container.appendChild(child);\n // Apply layout class\n container.classList.add(containerClass);\n}\n\n/**\n * Calculates the CSS classes based on the percentage\n * for each one of the layouts in format `##-##` or `##`.\n *\n * It receives a layout of type `BentoLayoutGroupProportions` to\n * generate the class and apply it to the children of the `BentoFormLayoutGroup` component\n *\n * @param layoutProp Layout string in the format `##` or `##-##`\n * @param formLayoutGroupRef Reference to an HTML element of type BentoFormLayoutGroup\n */\nexport const useFormLayoutGroupPercentage = (\n layoutProp: Ref<BentoLayoutGroupProportions>,\n formLayoutGroupRef: Ref<HTMLElement>\n) => {\n // Split the `##-##` format into individual values [##, ##]\n const getLayoutValues = layout => layout.split?.('-').map(value => parseInt(value, 10));\n // Split the values only if the are in BentoLayoutGroupProportions, otherwise return 100%\n const layout = computed(() =>\n BentoLayoutGroupProportions.includes(layoutProp.value) ? getLayoutValues(layoutProp.value) : DEFAULT_PROPORTION\n );\n\n onMounted(() => {\n // Apply class to every immediate child\n const layoutClassName = formLayoutGroupRef.value.classList[0];\n const immediateChildren = formLayoutGroupRef.value.querySelectorAll(`.${layoutClassName} > *`); // Get immediate children\n\n immediateChildren.forEach((child, index) => {\n const containerClass = `${layoutClassName}--${layout.value[index] || '100'}`; // 100% default\n wrapInsideContainer(child, document.createElement('div'), containerClass);\n });\n });\n};\n","<template>\n <div ref=\"formLayoutGroup\" class=\"b-form-layout-group\" :class=\"conditionalClasses\">\n <slot></slot>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, PropType, ref, toRef } from 'vue';\n import { useFormLayoutGroupPercentage } from './composable/use-form-layout-group-percentage';\n import { BentoLayoutGroupProportions } from './form-layout-group.types';\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 const formLayoutGroup = ref(null);\n useFormLayoutGroupPercentage(toRef(props, 'layout'), formLayoutGroup);\n\n const conditionalClasses = computed(() => ({\n // Transform into column if the layout is unsopprted\n // \"form-layout.scss\" depends on this class\n 'b-form-layout-group--column': !BentoLayoutGroupProportions.includes(props.layout),\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_PROPORTION","wrapInsideContainer","child","container","containerClass","useFormLayoutGroupPercentage","layoutProp","formLayoutGroupRef","getLayoutValues","layout2","_a","value","layout","onMounted","layoutClassName","index","__default__$1","formLayoutGroup","ref","conditionalClasses","__default__","isSection"],"mappings":";;;;;;;;;;qFAsFIA,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEC5CGK,IAAA,CAAA,WAAA,YAAA,aAAA,SAAA,6CCiDHC,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qECxCGC,IAAA;AAAA,EAAoC;AAAA,EACvC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAEJ,GCpBAC,IAAA;AASA,SAAAC,EAAAC,GAAAC,GAAAC,GAAA;AAEI,EAAAF,EAAA,WAAA,aAAAC,GAAAD,CAAA,GAEAC,EAAA,YAAAD,CAAA,GAEAC,EAAA,UAAA,IAAAC,CAAA;AACJ;AAYa,MAAAC,IAAA,CAAAC,GAAAC,MAAA;AAKT,QAAAC,IAAA,CAAAC,MAAA;;AAAA,YAAAC,IAAAD,EAAA,UAAA,gBAAAC,EAAA,KAAAD,GAAA,KAAA,IAAA,CAAAE,MAAA,SAAAA,GAAA,EAAA;AAAA,KAEAC,IAAArB;AAAA,IAAe,MAAAQ,EAAA,SAAAO,EAAA,KAAA,IAAAE,EAAAF,EAAA,KAAA,IAAAN;AAAA,EACkF;AAGjG,EAAAa,EAAA,MAAA;AAEI,UAAAC,IAAAP,EAAA,MAAA,UAAA,CAAA;AAGA,IAFAA,EAAA,MAAA,iBAAA,IAAAO,OAAA,EAEA,QAAA,CAAAZ,GAAAa,MAAA;AACI,YAAAX,IAAA,GAAAU,MAAAF,EAAA,MAAAG,CAAA,KAAA;AACA,MAAAd,EAAAC,GAAA,SAAA,cAAA,KAAA,GAAAE,CAAA;AAAA,IAAwE,CAAA;AAAA,EAC3E,CAAA;AAET,GCqBIY,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA/BAC,IAAAC,EAAA,IAAA;AACA,IAAAb,EAAAT,EAAAJ,GAAA,QAAA,GAAAyB,CAAA;AAEA,UAAAE,IAAA5B,EAAA,OAAA;AAAA;AAAA;AAAA,MAA2C,+BAAA,CAAAQ,EAAA,SAAAP,EAAA,MAAA;AAAA,IAG0C,EAAA;;;;;;;;;;qECwBrF4B,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;iBAvDAlC,IAAAC,EAAA,GAyBAkC,IAAA9B,EAAA,MAAA,CAAAC,EAAA,UAAA,GACAJ,IAAAC,EAAAH,CAAA,GACAiC,IAAA5B,EAAA,OAAA;AAAA,MAA2C,mCAAAC,EAAA;AAAA,IACE,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/header.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as H, computed as g, resolveComponent as _, openBlock as p, createElementBlock as R, normalizeClass as k, createElementVNode as M, createVNode as Y, mergeProps as G, withCtx as I, createTextVNode as S, toDisplayString as E, createBlock as T, createCommentVNode as D } from "vue";
|
|
2
|
-
import { B as L } from "./chunks/button-actions-with-menu.
|
|
2
|
+
import { B as L } from "./chunks/button-actions-with-menu.2ff339f6.js";
|
|
3
3
|
import { BentoInfoIcon as V } from "./info-icon.js";
|
|
4
4
|
import { u as $ } from "./chunks/use-has-slot.4d98bf29.js";
|
|
5
|
-
import { B as z, c as O, a as W } from "./chunks/index.
|
|
5
|
+
import { B as z, c as O, a as W } from "./chunks/index.09f7f1b5.js";
|
|
6
6
|
import { u as j } from "./chunks/i18n.6c402773.js";
|
|
7
7
|
import { c as h, a as q } from "./chunks/index.86453263.js";
|
|
8
8
|
import { r as d, t as c, e as y, g as A, d as F, f as J } from "./chunks/index.f55fdc32.js";
|
|
9
9
|
import { e as K } from "./chunks/index.fdf12170.js";
|
|
10
10
|
import { e as Q } from "./chunks/index.d80206ed.js";
|
|
11
11
|
import { _ as Z } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
12
|
-
import "./assets/
|
|
12
|
+
import "./assets/index25.css";
|
|
13
13
|
function ee(e, r) {
|
|
14
14
|
d(2, arguments);
|
|
15
15
|
var a = c(e), t = c(r), i = a.getFullYear() - t.getFullYear(), n = a.getMonth() - t.getMonth();
|
package/dist/index.js
CHANGED
|
@@ -1,69 +1,72 @@
|
|
|
1
|
-
var
|
|
2
|
-
var h = (t, e,
|
|
3
|
-
var f = (t, e,
|
|
4
|
-
import { reactive as C, defineComponent as b, computed as k, openBlock as
|
|
1
|
+
var T = Object.defineProperty;
|
|
2
|
+
var h = (t, e, n) => e in t ? T(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
|
+
var f = (t, e, n) => (h(t, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
+
import { reactive as C, defineComponent as b, computed as k, openBlock as r, createElementBlock as v, mergeProps as s, unref as m, createBlock as p, withCtx as l, renderSlot as i, createElementVNode as D } from "vue";
|
|
5
5
|
import { g as I } from "./chunks/unique-id.a2a2b458.js";
|
|
6
6
|
import { BentoActionBar as K } from "./action-bar.js";
|
|
7
7
|
import { BentoAccordion as W, BentoAccordionItem as j } from "./accordion.js";
|
|
8
8
|
import { BentoAlert as J, BentoAlertEvent as X, BentoAlertTypeOption as Y, BentoAlertVariant as Z } from "./alert.js";
|
|
9
|
-
import { a as te, b as oe, B as
|
|
10
|
-
import { BentoCard as
|
|
9
|
+
import { a as te, b as oe, B as ne } from "./chunks/button.623a46d2.js";
|
|
10
|
+
import { BentoCard as re, BentoCardBackground as ie, BentoCardTitleSize as Be } from "./card.js";
|
|
11
11
|
import { BentoColumnOverflow as me, BentoDataGrid as pe, BentoDatagridAriaSortValue as le, BentoDatagridEvent as de, BentoDatagridSortDirection as ue, BentoDatagridStyleState as fe } from "./data-grid.js";
|
|
12
12
|
import { BentoDatePicker as ye, BentoDatePickerEvent as xe } from "./date-picker.js";
|
|
13
|
-
import { B as
|
|
14
|
-
import { B as Ce, u as be } from "./chunks/dropdown.
|
|
13
|
+
import { B as Se, a as Te } from "./chunks/index.ef1c4d59.js";
|
|
14
|
+
import { B as Ce, u as be } from "./chunks/dropdown.96431c25.js";
|
|
15
15
|
import { BentoDropdownAvatar as ve, BentoDropdownCountry as De, BentoDropdownCurrency as Ie, BentoDropdownPaymentMethod as Ee, BentoDropdownTag as Le } from "./dropdown.js";
|
|
16
|
-
import {
|
|
17
|
-
import { B as Ve, b as we, a as Ae } from "./chunks/checkbox.
|
|
16
|
+
import { B as Fe } from "./chunks/index.113137fb.js";
|
|
17
|
+
import { B as Ve, b as we, a as Ae } from "./chunks/checkbox.d65694f2.js";
|
|
18
18
|
import { BentoClickOutside as Me } from "./click-outside.js";
|
|
19
|
-
import { BentoCodeSnippet as $e, BentoCodeSnippetEvent as Re, BentoCodeSnippetSupportedLanguage as
|
|
20
|
-
import { BentoCountry as ze
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import { B as
|
|
60
|
-
import { b as
|
|
61
|
-
import {
|
|
19
|
+
import { BentoCodeSnippet as $e, BentoCodeSnippetEvent as Re, BentoCodeSnippetSupportedLanguage as Ne, BentoCodeSnippetVariant as Ue } from "./code-snippet.js";
|
|
20
|
+
import { BentoCountry as ze } from "./country.js";
|
|
21
|
+
import { c as Qe, B as We, a as je, u as He, b as Je } from "./chunks/country.types.002caff2.js";
|
|
22
|
+
import { BentoCurrency as Ye, BentoCurrencyISOCode as Ze } from "./currency.js";
|
|
23
|
+
import { B as tt, a as ot } from "./chunks/index.45d00aad.js";
|
|
24
|
+
import { BentoEmptyState as at, BentoEmptyStateImage as rt, BentoEmptyStateImageVariant as it, BentoEmptyStateVariant as Bt } from "./empty-state.js";
|
|
25
|
+
import { BentoFilterBar as mt, BentoFilterBarEvent as pt, BentoFilterEvent as lt, BentoFilterItemType as dt } from "./filter-bar.js";
|
|
26
|
+
import { BentoFormLayout as ft, BentoFormLayoutFieldTip as ct, BentoFormLayoutGroup as yt, BentoFormLayoutTitle as xt } from "./form-layout.js";
|
|
27
|
+
import { BentoImage as St, BentoImageAspectRatio as Tt, BentoImageObjectFit as ht } from "./image.js";
|
|
28
|
+
import { BentoInfoIcon as bt } from "./info-icon.js";
|
|
29
|
+
import { BentoInputField as vt, BentoInputFieldElementPosition as Dt, BentoInputFieldEvent as It, BentoInputFieldStateClass as Et, BentoInputFieldType as Lt, BentoInputFieldVariant as Pt } from "./input-field.js";
|
|
30
|
+
import { BentoLoadingIndicator as _t, BentoLoadingIndicatorEvent as Vt } from "./loading-indicator.js";
|
|
31
|
+
import { B as At, a as Gt } from "./chunks/index.cf561336.js";
|
|
32
|
+
import { BentoModal as Ot } from "./modal.js";
|
|
33
|
+
import { b as Rt, d as Nt, e as Ut, c as qt, a as zt, B as Kt } from "./chunks/base-modal.161ce8f0.js";
|
|
34
|
+
import { BentoHeader as Wt } from "./header.js";
|
|
35
|
+
import { BentoPagination as Ht } from "./pagination.js";
|
|
36
|
+
import { BentoPaymentMethod as Xt, BentoPaymentMethodType as Yt } from "./payment-method.js";
|
|
37
|
+
import { a as eo, B as to } from "./chunks/index.03605cb0.js";
|
|
38
|
+
import { BentoRadioGroup as no, BentoRadioGroupVariant as ao } from "./radio-group.js";
|
|
39
|
+
import { BentoSearchBar as io, BentoSearchBarEvent as Bo, BentoSearchBarInternalEvent as so } from "./search-bar.js";
|
|
40
|
+
import { BentoSecondaryNav as po } from "./secondary-nav.js";
|
|
41
|
+
import { BentoSegmentedControl as uo, BentoSegmentedControlEvent as fo } from "./segmented-control.js";
|
|
42
|
+
import { BentoSidepanel as yo, BentoSidepanelAnimation as xo, BentoSidepanelEvent as go, BentoSidepanelPage as So } from "./sidepanel.js";
|
|
43
|
+
import { BentoStatus as ho, BentoStatusVariant as Co } from "./status.js";
|
|
44
|
+
import { BentoStep as ko, BentoStepper as vo, BentoStepperTypeOption as Do, BentoStepperVariantOption as Io } from "./stepper.js";
|
|
45
|
+
import { B as Lo, a as Po } from "./chunks/index.0a8ddfaa.js";
|
|
46
|
+
import { BentoSummaryGrid as _o, BentoSummaryGridItemAmount as Vo, BentoSummaryGridItemCustom as wo, BentoSummaryGridItemNumeric as Ao, BentoSummaryGridItemPercentage as Go, BentoSummaryGridItemSize as Mo, BentoSummaryGridItemText as Oo, BentoSummaryGridItemTrendDirection as $o } from "./summary-grid.js";
|
|
47
|
+
import { BentoTab as No, BentoTabs as Uo } from "./tabs.js";
|
|
48
|
+
import { BentoTag as zo, BentoTagVariant as Ko } from "./tag.js";
|
|
49
|
+
import { BentoTextarea as Wo } from "./textarea.js";
|
|
50
|
+
import { BentoTimeline as Ho, BentoTimelineGapUnit as Jo, BentoTimelineItem as Xo, BentoTimelineItemVariant as Yo, BentoTimelineShowMorePlacement as Zo, BentoTimelineStatus as en } from "./timeline.js";
|
|
51
|
+
import { BentoToast as on } from "./toast.js";
|
|
52
|
+
import { u as an } from "./chunks/toastController.0b01d2e8.js";
|
|
53
|
+
import { BentoToggle as Bn, BentoToggleLabelPosition as sn, BentoTogglePropClass as mn } from "./toggle.js";
|
|
54
|
+
import { B as c } from "./chunks/index.09f7f1b5.js";
|
|
55
|
+
import { c as ln, b as dn, a as un } from "./chunks/index.09f7f1b5.js";
|
|
56
|
+
import { D as cn } from "./chunks/date-input.9186a0bf.js";
|
|
57
|
+
import { a as xn, B as gn } from "./chunks/keyboard-navigation.ca47dfa8.js";
|
|
58
|
+
import { a as Tn, b as hn } from "./chunks/listbox.dd9883c5.js";
|
|
59
|
+
import { B as bn } from "./chunks/directive.0408e565.js";
|
|
60
|
+
import { b as vn, B as Dn, a as In } from "./chunks/tooltip.785993dd.js";
|
|
61
|
+
import { BentoButtonActions as Ln, BentoButtonActionsLayout as Pn, BentoButtonActionsLayoutBasic as Fn, BentoButtonActionsLayoutExtended as _n } from "./button.js";
|
|
62
|
+
import { B as wn, a as An } from "./chunks/loading-button.30c5fede.js";
|
|
63
|
+
import { b as Mn, b as On } from "./chunks/calendar.b1d05580.js";
|
|
64
|
+
import { BentoCheckboxGroup as Rn, BentoCheckboxGroupVariant as Nn } from "./checkbox.js";
|
|
62
65
|
import { BentoLinkVariant as d } from "./link.js";
|
|
63
66
|
import { RouterLink as y } from "vue-router";
|
|
64
67
|
import { _ as E } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
65
|
-
import { BentoTutorial as
|
|
66
|
-
import "./assets/
|
|
68
|
+
import { BentoTutorial as qn } from "./tutorial.js";
|
|
69
|
+
import "./assets/index16.css";
|
|
67
70
|
class L {
|
|
68
71
|
constructor() {
|
|
69
72
|
f(this, "_state");
|
|
@@ -76,13 +79,13 @@ class L {
|
|
|
76
79
|
this._state.queue.splice(this._state.queue.indexOf(e), 1);
|
|
77
80
|
}
|
|
78
81
|
addToast(e) {
|
|
79
|
-
const
|
|
82
|
+
const n = I("toast"), a = {
|
|
80
83
|
...e,
|
|
81
|
-
id:
|
|
82
|
-
dismiss: () => this.dismissToast(
|
|
84
|
+
id: n,
|
|
85
|
+
dismiss: () => this.dismissToast(a)
|
|
83
86
|
};
|
|
84
|
-
return this._state.queue.push(
|
|
85
|
-
dismiss: () => this.dismissToast(
|
|
87
|
+
return this._state.queue.push(a), {
|
|
88
|
+
dismiss: () => this.dismissToast(a)
|
|
86
89
|
};
|
|
87
90
|
}
|
|
88
91
|
}
|
|
@@ -120,18 +123,18 @@ const x = (t) => {
|
|
|
120
123
|
},
|
|
121
124
|
emits: ["click"],
|
|
122
125
|
setup(t, { emit: e }) {
|
|
123
|
-
const
|
|
124
|
-
[`b-link--${d.QUIET}`]:
|
|
126
|
+
const n = t, a = k(() => ({
|
|
127
|
+
[`b-link--${d.QUIET}`]: n.variant === d.QUIET
|
|
125
128
|
})), u = (o, B) => {
|
|
126
129
|
e("click", o), B && B();
|
|
127
130
|
};
|
|
128
|
-
return (o, B) => t.external ? (
|
|
131
|
+
return (o, B) => t.external ? (r(), v("a", s({ key: 0 }, o.$attrs, {
|
|
129
132
|
href: o.to,
|
|
130
133
|
target: "_blank",
|
|
131
|
-
class: ["b-link", m(
|
|
134
|
+
class: ["b-link", m(a)],
|
|
132
135
|
onClick: u
|
|
133
136
|
}), [
|
|
134
|
-
t.disableTypography ? i(o.$slots, "default", { key: 1 }, void 0, !0) : (
|
|
137
|
+
t.disableTypography ? i(o.$slots, "default", { key: 1 }, void 0, !0) : (r(), p(c, {
|
|
135
138
|
key: 0,
|
|
136
139
|
el: "span",
|
|
137
140
|
variant: "body"
|
|
@@ -141,17 +144,17 @@ const x = (t) => {
|
|
|
141
144
|
]),
|
|
142
145
|
_: 3
|
|
143
146
|
}))
|
|
144
|
-
], 16, P)) : (
|
|
147
|
+
], 16, P)) : (r(), p(m(y), s({ key: 1 }, o.$props, {
|
|
145
148
|
custom: "",
|
|
146
149
|
onClick: u
|
|
147
150
|
}), {
|
|
148
|
-
default: l(({ href: g, navigate:
|
|
151
|
+
default: l(({ href: g, navigate: S }) => [
|
|
149
152
|
D("a", s(o.$attrs, {
|
|
150
153
|
href: g,
|
|
151
|
-
class: ["b-link", m(
|
|
152
|
-
onClick:
|
|
154
|
+
class: ["b-link", m(a)],
|
|
155
|
+
onClick: S
|
|
153
156
|
}), [
|
|
154
|
-
t.disableTypography ? i(o.$slots, "default", { key: 1 }, void 0, !0) : (
|
|
157
|
+
t.disableTypography ? i(o.$slots, "default", { key: 1 }, void 0, !0) : (r(), p(c, {
|
|
155
158
|
key: 0,
|
|
156
159
|
el: "span",
|
|
157
160
|
variant: "body"
|
|
@@ -167,7 +170,7 @@ const x = (t) => {
|
|
|
167
170
|
}, 16));
|
|
168
171
|
}
|
|
169
172
|
});
|
|
170
|
-
const
|
|
173
|
+
const N = /* @__PURE__ */ E(_, [["__scopeId", "data-v-bdaab366"]]);
|
|
171
174
|
export {
|
|
172
175
|
W as BentoAccordion,
|
|
173
176
|
j as BentoAccordionItem,
|
|
@@ -177,45 +180,45 @@ export {
|
|
|
177
180
|
Y as BentoAlertTypeOption,
|
|
178
181
|
Z as BentoAlertVariant,
|
|
179
182
|
te as BentoButton,
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
183
|
+
Ln as BentoButtonActions,
|
|
184
|
+
Pn as BentoButtonActionsLayout,
|
|
185
|
+
Fn as BentoButtonActionsLayoutBasic,
|
|
186
|
+
_n as BentoButtonActionsLayoutExtended,
|
|
184
187
|
oe as BentoButtonPropClass,
|
|
185
|
-
|
|
186
|
-
|
|
188
|
+
ne as BentoButtonVariant,
|
|
189
|
+
re as BentoCard,
|
|
187
190
|
ie as BentoCardBackground,
|
|
188
191
|
Be as BentoCardTitleSize,
|
|
189
192
|
Ve as BentoCheckbox,
|
|
190
193
|
we as BentoCheckboxEvent,
|
|
191
|
-
|
|
192
|
-
|
|
194
|
+
Rn as BentoCheckboxGroup,
|
|
195
|
+
Nn as BentoCheckboxGroupVariant,
|
|
193
196
|
Ae as BentoCheckboxState,
|
|
194
197
|
Me as BentoClickOutside,
|
|
195
|
-
|
|
198
|
+
bn as BentoClickOutsideDirective,
|
|
196
199
|
$e as BentoCodeSnippet,
|
|
197
200
|
Re as BentoCodeSnippetEvent,
|
|
198
|
-
|
|
199
|
-
|
|
201
|
+
Ne as BentoCodeSnippetSupportedLanguage,
|
|
202
|
+
Ue as BentoCodeSnippetVariant,
|
|
200
203
|
me as BentoColumnOverflow,
|
|
201
204
|
ze as BentoCountry,
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
205
|
+
Qe as BentoCountryCode,
|
|
206
|
+
We as BentoCountryVariant,
|
|
207
|
+
Ye as BentoCurrency,
|
|
208
|
+
Ze as BentoCurrencyISOCode,
|
|
206
209
|
pe as BentoDataGrid,
|
|
207
210
|
le as BentoDatagridAriaSortValue,
|
|
208
211
|
de as BentoDatagridEvent,
|
|
209
212
|
ue as BentoDatagridSortDirection,
|
|
210
213
|
fe as BentoDatagridStyleState,
|
|
211
|
-
|
|
212
|
-
|
|
214
|
+
tt as BentoDate,
|
|
215
|
+
ot as BentoDateFormat,
|
|
213
216
|
ye as BentoDatePicker,
|
|
214
217
|
xe as BentoDatePickerEvent,
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
218
|
+
Mn as BentoDatePickerFirstDayOfWeek,
|
|
219
|
+
Se as BentoDateRangePicker,
|
|
220
|
+
Te as BentoDateRangePickerEvent,
|
|
221
|
+
On as BentoDateRangePickerFirstDayOfWeek,
|
|
219
222
|
Fe as BentoDivider,
|
|
220
223
|
Ce as BentoDropdown,
|
|
221
224
|
ve as BentoDropdownAvatar,
|
|
@@ -223,104 +226,110 @@ export {
|
|
|
223
226
|
Ie as BentoDropdownCurrency,
|
|
224
227
|
Ee as BentoDropdownPaymentMethod,
|
|
225
228
|
Le as BentoDropdownTag,
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
229
|
+
at as BentoEmptyState,
|
|
230
|
+
rt as BentoEmptyStateImage,
|
|
231
|
+
it as BentoEmptyStateImageVariant,
|
|
232
|
+
Bt as BentoEmptyStateVariant,
|
|
233
|
+
mt as BentoFilterBar,
|
|
234
|
+
pt as BentoFilterBarEvent,
|
|
235
|
+
lt as BentoFilterEvent,
|
|
236
|
+
dt as BentoFilterItemType,
|
|
237
|
+
ft as BentoFormLayout,
|
|
238
|
+
ct as BentoFormLayoutFieldTip,
|
|
239
|
+
yt as BentoFormLayoutGroup,
|
|
240
|
+
xt as BentoFormLayoutTitle,
|
|
241
|
+
Wt as BentoHeader,
|
|
242
|
+
St as BentoImage,
|
|
240
243
|
Tt as BentoImageAspectRatio,
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
244
|
+
ht as BentoImageObjectFit,
|
|
245
|
+
bt as BentoInfoIcon,
|
|
246
|
+
vt as BentoInputField,
|
|
247
|
+
Dt as BentoInputFieldElementPosition,
|
|
248
|
+
It as BentoInputFieldEvent,
|
|
249
|
+
Et as BentoInputFieldStateClass,
|
|
250
|
+
Lt as BentoInputFieldType,
|
|
251
|
+
Pt as BentoInputFieldVariant,
|
|
252
|
+
xn as BentoKeyboardNavigationDirective,
|
|
253
|
+
gn as BentoKeyboardNavigationKeyDownEvent,
|
|
254
|
+
N as BentoLink,
|
|
252
255
|
d as BentoLinkVariant,
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
256
|
+
Tn as BentoListboxEvent,
|
|
257
|
+
hn as BentoListboxLazyLoadType,
|
|
258
|
+
wn as BentoLoadingButton,
|
|
259
|
+
An as BentoLoadingButtonState,
|
|
260
|
+
_t as BentoLoadingIndicator,
|
|
261
|
+
Vt as BentoLoadingIndicatorEvent,
|
|
262
|
+
At as BentoMenu,
|
|
263
|
+
Gt as BentoMenuEvent,
|
|
264
|
+
Ot as BentoModal,
|
|
265
|
+
Rt as BentoModalColumnLayoutVariant,
|
|
266
|
+
Nt as BentoModalDialogType,
|
|
264
267
|
Ut as BentoModalEvent,
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
$o as
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
268
|
+
qt as BentoModalRole,
|
|
269
|
+
zt as BentoModalSize,
|
|
270
|
+
Kt as BentoModalVariant,
|
|
271
|
+
Ht as BentoPagination,
|
|
272
|
+
Xt as BentoPaymentMethod,
|
|
273
|
+
Yt as BentoPaymentMethodType,
|
|
274
|
+
eo as BentoPopover,
|
|
275
|
+
to as BentoPopoverPositions,
|
|
276
|
+
no as BentoRadioGroup,
|
|
277
|
+
ao as BentoRadioGroupVariant,
|
|
278
|
+
io as BentoSearchBar,
|
|
279
|
+
Bo as BentoSearchBarEvent,
|
|
280
|
+
so as BentoSearchBarInternalEvent,
|
|
281
|
+
po as BentoSecondaryNav,
|
|
282
|
+
uo as BentoSegmentedControl,
|
|
283
|
+
fo as BentoSegmentedControlEvent,
|
|
284
|
+
yo as BentoSidepanel,
|
|
285
|
+
xo as BentoSidepanelAnimation,
|
|
286
|
+
go as BentoSidepanelEvent,
|
|
287
|
+
So as BentoSidepanelPage,
|
|
288
|
+
ho as BentoStatus,
|
|
289
|
+
Co as BentoStatusVariant,
|
|
290
|
+
ko as BentoStep,
|
|
291
|
+
vo as BentoStepper,
|
|
292
|
+
Do as BentoStepperTypeOption,
|
|
293
|
+
Io as BentoStepperVariantOption,
|
|
294
|
+
Lo as BentoStructuredList,
|
|
295
|
+
Po as BentoStructuredListItem,
|
|
296
|
+
_o as BentoSummaryGrid,
|
|
297
|
+
Vo as BentoSummaryGridItemAmount,
|
|
298
|
+
wo as BentoSummaryGridItemCustom,
|
|
299
|
+
Ao as BentoSummaryGridItemNumeric,
|
|
300
|
+
Go as BentoSummaryGridItemPercentage,
|
|
301
|
+
Mo as BentoSummaryGridItemSize,
|
|
302
|
+
Oo as BentoSummaryGridItemText,
|
|
303
|
+
$o as BentoSummaryGridItemTrendDirection,
|
|
304
|
+
No as BentoTab,
|
|
305
|
+
Uo as BentoTabs,
|
|
306
|
+
zo as BentoTag,
|
|
307
|
+
Ko as BentoTagVariant,
|
|
308
|
+
Wo as BentoTextarea,
|
|
309
|
+
Ho as BentoTimeline,
|
|
310
|
+
Jo as BentoTimelineGapUnit,
|
|
311
|
+
Xo as BentoTimelineItem,
|
|
312
|
+
Yo as BentoTimelineItemVariant,
|
|
313
|
+
Zo as BentoTimelineShowMorePlacement,
|
|
314
|
+
en as BentoTimelineStatus,
|
|
315
|
+
on as BentoToast,
|
|
316
|
+
Bn as BentoToggle,
|
|
317
|
+
sn as BentoToggleLabelPosition,
|
|
318
|
+
mn as BentoTogglePropClass,
|
|
319
|
+
vn as BentoTooltipDirective,
|
|
320
|
+
Dn as BentoTooltipPosition,
|
|
321
|
+
In as BentoTooltipState,
|
|
322
|
+
qn as BentoTutorial,
|
|
314
323
|
c as BentoTypography,
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
324
|
+
ln as BentoTypographyElement,
|
|
325
|
+
dn as BentoTypographyModifier,
|
|
326
|
+
un as BentoTypographyVariant,
|
|
327
|
+
cn as DateFormat,
|
|
319
328
|
R as default,
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
329
|
+
an as useBentoToastController,
|
|
330
|
+
je as useCountryCapital,
|
|
331
|
+
He as useCountryName,
|
|
332
|
+
Je as useCountryPhoneCode,
|
|
324
333
|
be as useSearchBarFilter
|
|
325
334
|
};
|
|
326
335
|
//# sourceMappingURL=index.js.map
|