@adyen/bento-vue3 1.64.0 → 1.64.1

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.
Files changed (69) hide show
  1. package/dist/assets/accordion-item.css +1 -1
  2. package/dist/assets/action-bar.css +1 -1
  3. package/dist/assets/base-modal.css +1 -1
  4. package/dist/assets/card.css +1 -1
  5. package/dist/assets/data-grid.css +1 -1
  6. package/dist/assets/date-picker.css +1 -1
  7. package/dist/assets/dialog-page.css +1 -1
  8. package/dist/assets/file-uploader.css +1 -1
  9. package/dist/assets/inspector.css +1 -1
  10. package/dist/assets/menu.css +1 -1
  11. package/dist/assets/modal-fullscreen.css +1 -1
  12. package/dist/assets/popover.css +1 -1
  13. package/dist/assets/sidepanel.css +1 -1
  14. package/dist/checkbox.js +2 -2
  15. package/dist/chunks/{checkbox-group.BKsddn67.js → checkbox-group.BZIl5tRV.js} +2 -2
  16. package/dist/chunks/{checkbox-group.BKsddn67.js.map → checkbox-group.BZIl5tRV.js.map} +1 -1
  17. package/dist/chunks/{checkbox.C1y3Ad4Z.js → checkbox.8caojfCf.js} +18 -18
  18. package/dist/chunks/{checkbox.C1y3Ad4Z.js.map → checkbox.8caojfCf.js.map} +1 -1
  19. package/dist/chunks/{code-snippet.CcWkFdEq.js → code-snippet.iVFAaX-7.js} +2 -2
  20. package/dist/chunks/{code-snippet.CcWkFdEq.js.map → code-snippet.iVFAaX-7.js.map} +1 -1
  21. package/dist/chunks/{data-grid.D0De1biC.js → data-grid.BpuoBniw.js} +6 -6
  22. package/dist/chunks/{data-grid.D0De1biC.js.map → data-grid.BpuoBniw.js.map} +1 -1
  23. package/dist/chunks/{date-picker.BLYOus7e.js → date-picker.CRZaa2pG.js} +29 -29
  24. package/dist/chunks/date-picker.CRZaa2pG.js.map +1 -0
  25. package/dist/chunks/{date-range-picker._0XU4TRk.js → date-range-picker.Wd3Wj2xh.js} +22 -22
  26. package/dist/chunks/{date-range-picker._0XU4TRk.js.map → date-range-picker.Wd3Wj2xh.js.map} +1 -1
  27. package/dist/chunks/{dropdown-tag.JTxCvtZL.js → dropdown-tag.C8iqeoRx.js} +2 -2
  28. package/dist/chunks/{dropdown-tag.JTxCvtZL.js.map → dropdown-tag.C8iqeoRx.js.map} +1 -1
  29. package/dist/chunks/{dropdown.Bz5hTRFH.js → dropdown.UapzImAi.js} +26 -26
  30. package/dist/chunks/{dropdown.Bz5hTRFH.js.map → dropdown.UapzImAi.js.map} +1 -1
  31. package/dist/chunks/{filter-bar.ChPG7oJN.js → filter-bar.n8rNb16m.js} +6 -6
  32. package/dist/chunks/{filter-bar.ChPG7oJN.js.map → filter-bar.n8rNb16m.js.map} +1 -1
  33. package/dist/chunks/{header-with-views.DkoDjkyK.js → header-with-views.CAPWxTOO.js} +3 -3
  34. package/dist/chunks/{header-with-views.DkoDjkyK.js.map → header-with-views.CAPWxTOO.js.map} +1 -1
  35. package/dist/chunks/{input-field-password.nYZBZ1bM.js → input-field-password.COKWNkFD.js} +3 -3
  36. package/dist/chunks/{input-field-password.nYZBZ1bM.js.map → input-field-password.COKWNkFD.js.map} +1 -1
  37. package/dist/chunks/{input-field-phone-number.Ck_1WdgH.js → input-field-phone-number.BcuBaX7v.js} +3 -3
  38. package/dist/chunks/{input-field-phone-number.Ck_1WdgH.js.map → input-field-phone-number.BcuBaX7v.js.map} +1 -1
  39. package/dist/chunks/{input-field.BdDrm776.js → input-field.DyLJYbGL.js} +2 -2
  40. package/dist/chunks/{input-field.BdDrm776.js.map → input-field.DyLJYbGL.js.map} +1 -1
  41. package/dist/chunks/{pagination.DbuaT-4D.js → pagination.i2eNp6n4.js} +2 -2
  42. package/dist/chunks/{pagination.DbuaT-4D.js.map → pagination.i2eNp6n4.js.map} +1 -1
  43. package/dist/chunks/{rich-text-editor.BDLncrV5.js → rich-text-editor.CE7kjKfA.js} +2 -2
  44. package/dist/chunks/{rich-text-editor.BDLncrV5.js.map → rich-text-editor.CE7kjKfA.js.map} +1 -1
  45. package/dist/chunks/{search-bar.DzVNjmpW.js → search-bar.g_dBJXfU.js} +3 -3
  46. package/dist/chunks/{search-bar.DzVNjmpW.js.map → search-bar.g_dBJXfU.js.map} +1 -1
  47. package/dist/chunks/{secondary-nav.tId-4Wy2.js → secondary-nav.Dy9Abrau.js} +2 -2
  48. package/dist/chunks/{secondary-nav.tId-4Wy2.js.map → secondary-nav.Dy9Abrau.js.map} +1 -1
  49. package/dist/chunks/{selection-card-group.9wJy7FC2.js → selection-card-group.TPoxTPl3.js} +9 -9
  50. package/dist/chunks/{selection-card-group.9wJy7FC2.js.map → selection-card-group.TPoxTPl3.js.map} +1 -1
  51. package/dist/code-snippet.js +1 -1
  52. package/dist/data-grid.js +1 -1
  53. package/dist/date-picker.js +1 -1
  54. package/dist/date-range-picker.js +1 -1
  55. package/dist/dropdown.js +2 -2
  56. package/dist/filter-bar.js +1 -1
  57. package/dist/header-with-views.js +1 -1
  58. package/dist/index.js +18 -18
  59. package/dist/input-field-password.js +1 -1
  60. package/dist/input-field-phone-number.js +1 -1
  61. package/dist/input-field.js +1 -1
  62. package/dist/pagination.js +1 -1
  63. package/dist/rich-text-editor.js +1 -1
  64. package/dist/search-bar.js +2 -2
  65. package/dist/secondary-nav.js +1 -1
  66. package/dist/selection-card.js +1 -1
  67. package/dist/web-types.json +1 -1
  68. package/package.json +4 -4
  69. package/dist/chunks/date-picker.BLYOus7e.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as s, computed as b, createElementBlock as v, openBlock as f, createVNode as c, mergeProps as y, withCtx as d, unref as _, toRefs as I, createTextVNode as g, toDisplayString as C, createBlock as w } from "vue";
2
2
  import { B as A } from "./avatar.B0-9jC6H.js";
3
- import { B as n } from "./dropdown.Bz5hTRFH.js";
3
+ import { B as n } from "./dropdown.UapzImAi.js";
4
4
  import { d as x, B as D } from "./typography.DN5eC5ch.js";
5
5
  import { u as T } from "./use-country-items.4kZgVg_l.js";
6
6
  import { B } from "./country.types.C0Q_hhgJ.js";
@@ -199,4 +199,4 @@ export {
199
199
  W as c,
200
200
  X as d
201
201
  };
202
- //# sourceMappingURL=dropdown-tag.JTxCvtZL.js.map
202
+ //# sourceMappingURL=dropdown-tag.C8iqeoRx.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dropdown-tag.JTxCvtZL.js","sources":["../../../vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue","../../../vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue","../../../vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue","../../../vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue","../../../vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue"],"sourcesContent":["<template>\n <div>\n <bento-dropdown v-slot=\"{ label, data }\" v-bind=\"$props\" :items=\"dropdownItems\" @input=\"onInput\">\n <bento-avatar :username=\"label\" :src=\"data\" />\n </bento-dropdown>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, defineComponent, PropType } from 'vue';\n import { BentoListboxSelectedValue } from '@/types';\n import { BentoAvatarListboxOptions } from './dropdown-avatar.types';\n import { BentoAvatar } from '@/components/avatar';\n import BentoDropdown from '@/components/dropdown/dropdown.vue';\n\n const props = defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the avatar dropdown with.\n * It must be an array of {@see BentoAvatarListboxOptions }\n * * @property {string} value.label - Text to be displayed in the option.\n * * @property {string,number} value.value - Value of the option.\n * * @property {string} value.src - Image source of the avatar image.\n */\n items: {\n type: Array as PropType<BentoAvatarListboxOptions>,\n default: () => [],\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when an item is selected\n */\n (e: 'input', selectedValue: BentoListboxSelectedValue);\n }>();\n\n const onInput = (selectedValue: BentoListboxSelectedValue) => emit('input', selectedValue);\n\n const dropdownItems = computed(() => props.items.map(({ value, label, src }) => ({ value, label, data: src })));\n</script>\n\n<script lang=\"ts\">\n /**\n * A Avatar Dropdown showing a selectable list of countries.\n *\n * @example\n * import { BentoDropdownAvatar } from '@adyen/bento-vue2';\n * import type { BentoAvatarListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdownAvatar },\n * template: `\n * <bento-dropdown-avatar\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :multiple=\"true\"\n * :isOptionsDisabled=\"option => option.value === 2\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref('user-id-1') // Default value\n * const options: BentoAvatarListboxOptions = [\n * { label: 'User 1', value: 'user-id-1' },\n * { label: 'User 2', value: 'user-id-2', src: 'image-source.jpeg' },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'bento-dropdown-avatar',\n });\n</script>\n","<template>\n <div>\n <bento-dropdown v-slot=\"{ label }\" v-bind=\"$props\" :items=\"countryItems\" @input=\"onInput\">\n <bento-typography el=\"span\">{{ label }}</bento-typography>\n </bento-dropdown>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { defineComponent, PropType, toRefs } from 'vue';\n import { BentoCountryListboxOptions } from './dropdown-country.types';\n import { BentoListboxSelectedValue } from '@/types';\n import { BentoTypography } from '@/components/typography';\n import { useCountryItems } from './composables/use-country-items';\n import { deprecate } from '@/utils/ts/deprecate';\n import { BentoCountryVariant } from '@/components/country';\n import BentoDropdown from '@/components/dropdown/dropdown.vue';\n\n const props = defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the country dropdown with.\n * It must be an array of {@see BentoCountryListboxOptions }\n * * @deprecated {string} value.label - Use BentoDropdown instead of custom labels\n * * @property {BentoCountryCode | string} value.value - Country code of the option\n */\n items: {\n type: Array as PropType<BentoCountryListboxOptions>,\n default: () => [],\n },\n\n /**\n * Which label variant to display.\n * @values iso, name, phone_code, capital\n */\n variant: {\n type: String as PropType<BentoCountryVariant | `${BentoCountryVariant}`>,\n default: BentoCountryVariant.CUSTOM,\n validator: (value: BentoCountryVariant) => Object.values(BentoCountryVariant).includes(value),\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when an item is selected\n */\n (e: 'input', selectedValue: BentoListboxSelectedValue);\n }>();\n\n const onInput = (selectedValue: BentoListboxSelectedValue) => emit('input', selectedValue);\n\n const { variant, items } = toRefs(props);\n const countryItems = useCountryItems(variant, items);\n\n if (variant.value === 'custom' || items.value.some(item => item.label)) {\n deprecate(\n 'BentoDropdownCountry \"custom\" variant and \"items\" prop \"label\" key',\n 'Use any of the other BentoDropdownCountry variants instead OR use BentoDropdown component for custom labels',\n '2.0.0'\n );\n }\n</script>\n\n<script lang=\"ts\">\n /**\n * A Country Dropdown showing a selectable list of countries.\n *\n * @example\n * import { BentoDropdownCountry, BentoCountryCode } from '@adyen/bento-vue2';\n * import type { BentoCountryListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdown },\n * template: `\n * <bento-dropdown-country\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :multiple=\"true\"\n * :isOptionsDisabled=\"option => option.value === 2\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref(BentoCountryCode.NL) // Default value\n * const options: BentoCountryListboxOptions = [\n * { label: 'Option 1', value: BentoCountryCode.NL },\n * { label: 'Option 2', value: BentoCountryCode.BE },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'b-dropdown-country',\n });\n</script>\n","<template>\n <bento-dropdown v-slot=\"slotProps\" v-bind=\"$props\" @input=\"onInput\">\n <listbox-option-tag :option=\"slotProps\" />\n </bento-dropdown>\n</template>\n\n<script setup lang=\"ts\">\n import { defineComponent, PropType } from 'vue';\n import type { BentoCurrencyListboxOptions } from './dropdown-currency.types';\n import type { BentoListboxSelectedValue } from '@/types';\n import { ListboxOptionTag } from '@/internal';\n import BentoDropdown from '@/components/dropdown/dropdown.vue';\n\n defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the country dropdown with.\n * It must be an array of {@see BentoCurrencyListboxOptions }\n * * @property {string} value.label - Text to be displayed in the option\n * * @property {BentoCurrencyISOCode} value.code - Currency ISO code of the option\n */\n items: {\n type: Array as PropType<BentoCurrencyListboxOptions>,\n default: () => [],\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when an item is selected\n */\n (e: 'input', selectedValue: BentoListboxSelectedValue);\n }>();\n\n const onInput = (selectedValue: BentoListboxSelectedValue) => emit('input', selectedValue);\n</script>\n\n<script lang=\"ts\">\n /**\n * A Currency Dropdown showing a selectable list of currencies.\n *\n * @example\n * import { BentoDropdownCountry, BentoCountryCode } from '@adyen/bento-vue2';\n * import type { BentoCountryListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdown },\n * template: `\n * <bento-dropdown-currency\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :multiple=\"true\"\n * :isOptionsDisabled=\"option => option.value === 2\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref(BentoCountryCode.NL) // Default value\n * const options: BentoCountryListboxOptions = [\n * { label: 'Option 1', value: BentoCountryCode.NL },\n * { label: 'Option 2', value: BentoCountryCode.BE },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'b-dropdown-currency',\n });\n</script>\n","<template>\n <div>\n <bento-dropdown v-slot=\"{ value, label }\" v-bind=\"$props\" @input=\"onInput\">\n <bento-payment-method :type=\"value\" :label=\"label\" />\n </bento-dropdown>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { defineComponent, PropType } from 'vue';\n import { BentoPaymentMethodListboxOptions } from './dropdown-payment-method.types';\n import { BentoListboxSelectedValue } from '@/types';\n import { BentoPaymentMethod } from '@/components/payment-method';\n import BentoDropdown from '@/components/dropdown/dropdown.vue';\n\n defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the payment method dropdown with.\n * It must be an array of {@see BentoPaymentMethodListboxOptions }\n * * @property {string} value.label - Text to be displayed in the option\n * * @property {string} value.value - Payment type code that translates to a payment icon name {@see https://adyen-ui-assets.netlify.app/?path=/story/packages-ui-assets-payment-method-icons--icons}\n */\n items: {\n type: Array as PropType<BentoPaymentMethodListboxOptions>,\n default: () => [],\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when an item is selected\n */\n (e: 'input', selectedValue: BentoListboxSelectedValue);\n }>();\n\n const onInput = (selectedValue: BentoListboxSelectedValue) => emit('input', selectedValue);\n</script>\n\n<script lang=\"ts\">\n /**\n * A Payment method Dropdown showing a selectable list of countries.\n *\n * @example\n * import { BentoDropdownPaymentMethod } from '@adyen/bento-vue2';\n * import type { BentoPaymentMethodListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdownPaymentMethod },\n * template: `\n * <bento-dropdown-payment-method\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :multiple=\"true\"\n * :isOptionsDisabled=\"option => option.value === 'Visa'\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref('ideal') // Default value\n * const options: BentoPaymentMethodListboxOptions = [\n * { label: 'Option 1', value: 'ideal' },\n * { label: 'Option 2', value: 'visa' },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'bento-dropdown-payment-method',\n });\n</script>\n","<template>\n <bento-dropdown\n v-slot=\"{ label, data }\"\n v-bind=\"$props\"\n class=\"b-dropdown-tag\"\n :items=\"tagItems\"\n show-slot-content-in-multiple\n @input=\"onInput\"\n >\n <listbox-option-tag :option=\"{ value: label, data, label: '' }\" />\n </bento-dropdown>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, defineComponent, PropType } from 'vue';\n import type { BentoTagListboxOptions } from './dropdown-tag.types';\n import type { BentoListboxSelectedValue } from '../../../../../types';\n import { ListboxOptionTag } from '../../../../internal';\n import BentoDropdown from '../../../dropdown.vue';\n\n const props = defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the tag dropdown with.\n * It must be an array of {@see BentoTagListboxOptions }\n * * @property {string} value.label - Text to be displayed in the option\n * * @property {string,number} value.value - Value of the option\n * * @property {string} value.variant - The BentTag variant shown for the option.\n */\n items: {\n type: Array as PropType<BentoTagListboxOptions>,\n default: () => [],\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when an item is selected\n */\n (e: 'input', selectedValue: BentoListboxSelectedValue);\n }>();\n\n const onInput = (selectedValue: BentoListboxSelectedValue) => emit('input', selectedValue);\n\n const tagItems = computed(() => props.items?.map(({ label, value, variant }) => ({ label, value, data: variant })));\n</script>\n\n<script lang=\"ts\">\n /**\n * A Tag Dropdown showing a selectable list of tags.\n *\n * @example\n * import { BentoDropdownTag } from '@adyen/bento-vue2';\n * import type { BentoTagListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdownTag },\n * template: `\n * <bento-dropdown-tag\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref('unique-id-1') // Default value\n * const options: BentoTagListboxOptions = [\n * { label: 'Offline', value: 'unique-id-1', variant: 'red' },\n * { label: 'Online', value: 'unique-id-2', variant: 'green' },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'bento-dropdown-tag',\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./dropdown-tag.scss\" />\n"],"names":["__default__$4","defineComponent","props","__props","emit","__emit","onInput","selectedValue","dropdownItems","computed","value","label","src","__default__$3","variant","items","toRefs","countryItems","useCountryItems","item","deprecate","__default__$2","__default__$1","__default__","tagItems","_a"],"mappings":";;;;;;;;;;AAuEI,MAAAA,IAAAC,EAAA;AAAA,EAA+B,MAAA;AAE/B,CAAA;;;;;;;;;;;;;;;;;;AA1DA,UAAAC,IAAAC,GAeAC,IAAAC,GAOAC,IAAA,CAAAC,MAAAH,EAAA,SAAAG,CAAA,GAEAC,IAAAC,EAAA,MAAAP,EAAA,MAAA,IAAA,CAAA,EAAA,OAAAQ,GAAA,OAAAC,GAAA,KAAAC,EAAA,OAAA,EAAA,OAAAF,GAAA,OAAAC,GAAA,MAAAC,EAAA,EAAA,CAAA;;;;;;;;;;;;;;;;ICqDAC,IAAAZ,EAAA;AAAA,EAA+B,MAAA;AAE/B,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;AA5EA,UAAAC,IAAAC,GAwBAC,IAAAC,GAOAC,IAAA,CAAAC,MAAAH,EAAA,SAAAG,CAAA,GAEA,EAAA,SAAAO,GAAA,OAAAC,EAAA,IAAAC,EAAAd,CAAA,GACAe,IAAAC,EAAAJ,GAAAC,CAAA;AAEA,YAAAD,EAAA,UAAA,YAAAC,EAAA,MAAA,KAAA,CAAAI,MAAAA,EAAA,KAAA,MACIC;AAAA,MAAA;AAAA,MACI;AAAA,MACA;AAAA,IACA;;;;;;;;;;;;;;;;;ICQRC,IAAApB,EAAA;AAAA,EAA+B,MAAA;AAE/B,CAAA;;;;;;;;;;;;;;;;;AAzCA,UAAAG,IAAAC,GAOAC,IAAA,CAAAC,MAAAH,EAAA,SAAAG,CAAA;;;;;;;;ICkCAe,IAAArB,EAAA;AAAA,EAA+B,MAAA;AAE/B,CAAA;;;;;;;;;;;;;;;;;AAzCA,UAAAG,IAAAC,GAOAC,IAAA,CAAAC,MAAAH,EAAA,SAAAG,CAAA;;;;;;;;;;;;;ICsCAgB,IAAAtB,EAAA;AAAA,EAA+B,MAAA;AAE/B,CAAA;;;;;;;;;;;;;;;;;;AAxDA,UAAAC,IAAAC,GAeAC,IAAAC,GAOAC,IAAA,CAAAC,MAAAH,EAAA,SAAAG,CAAA,GAEAiB,IAAAf,EAAA,MAAA;;AAAA,cAAAgB,IAAAvB,EAAA,UAAA,gBAAAuB,EAAA,IAAA,CAAA,EAAA,OAAAd,GAAA,OAAAD,GAAA,SAAAI,EAAA,OAAA,EAAA,OAAAH,GAAA,OAAAD,GAAA,MAAAI,EAAA;AAAA,KAAA;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"dropdown-tag.C8iqeoRx.js","sources":["../../../vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue","../../../vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue","../../../vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue","../../../vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue","../../../vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue"],"sourcesContent":["<template>\n <div>\n <bento-dropdown v-slot=\"{ label, data }\" v-bind=\"$props\" :items=\"dropdownItems\" @input=\"onInput\">\n <bento-avatar :username=\"label\" :src=\"data\" />\n </bento-dropdown>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, defineComponent, PropType } from 'vue';\n import { BentoListboxSelectedValue } from '@/types';\n import { BentoAvatarListboxOptions } from './dropdown-avatar.types';\n import { BentoAvatar } from '@/components/avatar';\n import BentoDropdown from '@/components/dropdown/dropdown.vue';\n\n const props = defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the avatar dropdown with.\n * It must be an array of {@see BentoAvatarListboxOptions }\n * * @property {string} value.label - Text to be displayed in the option.\n * * @property {string,number} value.value - Value of the option.\n * * @property {string} value.src - Image source of the avatar image.\n */\n items: {\n type: Array as PropType<BentoAvatarListboxOptions>,\n default: () => [],\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when an item is selected\n */\n (e: 'input', selectedValue: BentoListboxSelectedValue);\n }>();\n\n const onInput = (selectedValue: BentoListboxSelectedValue) => emit('input', selectedValue);\n\n const dropdownItems = computed(() => props.items.map(({ value, label, src }) => ({ value, label, data: src })));\n</script>\n\n<script lang=\"ts\">\n /**\n * A Avatar Dropdown showing a selectable list of countries.\n *\n * @example\n * import { BentoDropdownAvatar } from '@adyen/bento-vue2';\n * import type { BentoAvatarListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdownAvatar },\n * template: `\n * <bento-dropdown-avatar\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :multiple=\"true\"\n * :isOptionsDisabled=\"option => option.value === 2\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref('user-id-1') // Default value\n * const options: BentoAvatarListboxOptions = [\n * { label: 'User 1', value: 'user-id-1' },\n * { label: 'User 2', value: 'user-id-2', src: 'image-source.jpeg' },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'bento-dropdown-avatar',\n });\n</script>\n","<template>\n <div>\n <bento-dropdown v-slot=\"{ label }\" v-bind=\"$props\" :items=\"countryItems\" @input=\"onInput\">\n <bento-typography el=\"span\">{{ label }}</bento-typography>\n </bento-dropdown>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { defineComponent, PropType, toRefs } from 'vue';\n import { BentoCountryListboxOptions } from './dropdown-country.types';\n import { BentoListboxSelectedValue } from '@/types';\n import { BentoTypography } from '@/components/typography';\n import { useCountryItems } from './composables/use-country-items';\n import { deprecate } from '@/utils/ts/deprecate';\n import { BentoCountryVariant } from '@/components/country';\n import BentoDropdown from '@/components/dropdown/dropdown.vue';\n\n const props = defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the country dropdown with.\n * It must be an array of {@see BentoCountryListboxOptions }\n * * @deprecated {string} value.label - Use BentoDropdown instead of custom labels\n * * @property {BentoCountryCode | string} value.value - Country code of the option\n */\n items: {\n type: Array as PropType<BentoCountryListboxOptions>,\n default: () => [],\n },\n\n /**\n * Which label variant to display.\n * @values iso, name, phone_code, capital\n */\n variant: {\n type: String as PropType<BentoCountryVariant | `${BentoCountryVariant}`>,\n default: BentoCountryVariant.CUSTOM,\n validator: (value: BentoCountryVariant) => Object.values(BentoCountryVariant).includes(value),\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when an item is selected\n */\n (e: 'input', selectedValue: BentoListboxSelectedValue);\n }>();\n\n const onInput = (selectedValue: BentoListboxSelectedValue) => emit('input', selectedValue);\n\n const { variant, items } = toRefs(props);\n const countryItems = useCountryItems(variant, items);\n\n if (variant.value === 'custom' || items.value.some(item => item.label)) {\n deprecate(\n 'BentoDropdownCountry \"custom\" variant and \"items\" prop \"label\" key',\n 'Use any of the other BentoDropdownCountry variants instead OR use BentoDropdown component for custom labels',\n '2.0.0'\n );\n }\n</script>\n\n<script lang=\"ts\">\n /**\n * A Country Dropdown showing a selectable list of countries.\n *\n * @example\n * import { BentoDropdownCountry, BentoCountryCode } from '@adyen/bento-vue2';\n * import type { BentoCountryListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdown },\n * template: `\n * <bento-dropdown-country\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :multiple=\"true\"\n * :isOptionsDisabled=\"option => option.value === 2\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref(BentoCountryCode.NL) // Default value\n * const options: BentoCountryListboxOptions = [\n * { label: 'Option 1', value: BentoCountryCode.NL },\n * { label: 'Option 2', value: BentoCountryCode.BE },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'b-dropdown-country',\n });\n</script>\n","<template>\n <bento-dropdown v-slot=\"slotProps\" v-bind=\"$props\" @input=\"onInput\">\n <listbox-option-tag :option=\"slotProps\" />\n </bento-dropdown>\n</template>\n\n<script setup lang=\"ts\">\n import { defineComponent, PropType } from 'vue';\n import type { BentoCurrencyListboxOptions } from './dropdown-currency.types';\n import type { BentoListboxSelectedValue } from '@/types';\n import { ListboxOptionTag } from '@/internal';\n import BentoDropdown from '@/components/dropdown/dropdown.vue';\n\n defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the country dropdown with.\n * It must be an array of {@see BentoCurrencyListboxOptions }\n * * @property {string} value.label - Text to be displayed in the option\n * * @property {BentoCurrencyISOCode} value.code - Currency ISO code of the option\n */\n items: {\n type: Array as PropType<BentoCurrencyListboxOptions>,\n default: () => [],\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when an item is selected\n */\n (e: 'input', selectedValue: BentoListboxSelectedValue);\n }>();\n\n const onInput = (selectedValue: BentoListboxSelectedValue) => emit('input', selectedValue);\n</script>\n\n<script lang=\"ts\">\n /**\n * A Currency Dropdown showing a selectable list of currencies.\n *\n * @example\n * import { BentoDropdownCountry, BentoCountryCode } from '@adyen/bento-vue2';\n * import type { BentoCountryListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdown },\n * template: `\n * <bento-dropdown-currency\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :multiple=\"true\"\n * :isOptionsDisabled=\"option => option.value === 2\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref(BentoCountryCode.NL) // Default value\n * const options: BentoCountryListboxOptions = [\n * { label: 'Option 1', value: BentoCountryCode.NL },\n * { label: 'Option 2', value: BentoCountryCode.BE },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'b-dropdown-currency',\n });\n</script>\n","<template>\n <div>\n <bento-dropdown v-slot=\"{ value, label }\" v-bind=\"$props\" @input=\"onInput\">\n <bento-payment-method :type=\"value\" :label=\"label\" />\n </bento-dropdown>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { defineComponent, PropType } from 'vue';\n import { BentoPaymentMethodListboxOptions } from './dropdown-payment-method.types';\n import { BentoListboxSelectedValue } from '@/types';\n import { BentoPaymentMethod } from '@/components/payment-method';\n import BentoDropdown from '@/components/dropdown/dropdown.vue';\n\n defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the payment method dropdown with.\n * It must be an array of {@see BentoPaymentMethodListboxOptions }\n * * @property {string} value.label - Text to be displayed in the option\n * * @property {string} value.value - Payment type code that translates to a payment icon name {@see https://adyen-ui-assets.netlify.app/?path=/story/packages-ui-assets-payment-method-icons--icons}\n */\n items: {\n type: Array as PropType<BentoPaymentMethodListboxOptions>,\n default: () => [],\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when an item is selected\n */\n (e: 'input', selectedValue: BentoListboxSelectedValue);\n }>();\n\n const onInput = (selectedValue: BentoListboxSelectedValue) => emit('input', selectedValue);\n</script>\n\n<script lang=\"ts\">\n /**\n * A Payment method Dropdown showing a selectable list of countries.\n *\n * @example\n * import { BentoDropdownPaymentMethod } from '@adyen/bento-vue2';\n * import type { BentoPaymentMethodListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdownPaymentMethod },\n * template: `\n * <bento-dropdown-payment-method\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :multiple=\"true\"\n * :isOptionsDisabled=\"option => option.value === 'Visa'\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref('ideal') // Default value\n * const options: BentoPaymentMethodListboxOptions = [\n * { label: 'Option 1', value: 'ideal' },\n * { label: 'Option 2', value: 'visa' },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'bento-dropdown-payment-method',\n });\n</script>\n","<template>\n <bento-dropdown\n v-slot=\"{ label, data }\"\n v-bind=\"$props\"\n class=\"b-dropdown-tag\"\n :items=\"tagItems\"\n show-slot-content-in-multiple\n @input=\"onInput\"\n >\n <listbox-option-tag :option=\"{ value: label, data, label: '' }\" />\n </bento-dropdown>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, defineComponent, PropType } from 'vue';\n import type { BentoTagListboxOptions } from './dropdown-tag.types';\n import type { BentoListboxSelectedValue } from '../../../../../types';\n import { ListboxOptionTag } from '../../../../internal';\n import BentoDropdown from '../../../dropdown.vue';\n\n const props = defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the tag dropdown with.\n * It must be an array of {@see BentoTagListboxOptions }\n * * @property {string} value.label - Text to be displayed in the option\n * * @property {string,number} value.value - Value of the option\n * * @property {string} value.variant - The BentTag variant shown for the option.\n */\n items: {\n type: Array as PropType<BentoTagListboxOptions>,\n default: () => [],\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when an item is selected\n */\n (e: 'input', selectedValue: BentoListboxSelectedValue);\n }>();\n\n const onInput = (selectedValue: BentoListboxSelectedValue) => emit('input', selectedValue);\n\n const tagItems = computed(() => props.items?.map(({ label, value, variant }) => ({ label, value, data: variant })));\n</script>\n\n<script lang=\"ts\">\n /**\n * A Tag Dropdown showing a selectable list of tags.\n *\n * @example\n * import { BentoDropdownTag } from '@adyen/bento-vue2';\n * import type { BentoTagListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdownTag },\n * template: `\n * <bento-dropdown-tag\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref('unique-id-1') // Default value\n * const options: BentoTagListboxOptions = [\n * { label: 'Offline', value: 'unique-id-1', variant: 'red' },\n * { label: 'Online', value: 'unique-id-2', variant: 'green' },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'bento-dropdown-tag',\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./dropdown-tag.scss\" />\n"],"names":["__default__$4","defineComponent","props","__props","emit","__emit","onInput","selectedValue","dropdownItems","computed","value","label","src","__default__$3","variant","items","toRefs","countryItems","useCountryItems","item","deprecate","__default__$2","__default__$1","__default__","tagItems","_a"],"mappings":";;;;;;;;;;AAuEI,MAAAA,IAAAC,EAAA;AAAA,EAA+B,MAAA;AAE/B,CAAA;;;;;;;;;;;;;;;;;;AA1DA,UAAAC,IAAAC,GAeAC,IAAAC,GAOAC,IAAA,CAAAC,MAAAH,EAAA,SAAAG,CAAA,GAEAC,IAAAC,EAAA,MAAAP,EAAA,MAAA,IAAA,CAAA,EAAA,OAAAQ,GAAA,OAAAC,GAAA,KAAAC,EAAA,OAAA,EAAA,OAAAF,GAAA,OAAAC,GAAA,MAAAC,EAAA,EAAA,CAAA;;;;;;;;;;;;;;;;ICqDAC,IAAAZ,EAAA;AAAA,EAA+B,MAAA;AAE/B,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;AA5EA,UAAAC,IAAAC,GAwBAC,IAAAC,GAOAC,IAAA,CAAAC,MAAAH,EAAA,SAAAG,CAAA,GAEA,EAAA,SAAAO,GAAA,OAAAC,EAAA,IAAAC,EAAAd,CAAA,GACAe,IAAAC,EAAAJ,GAAAC,CAAA;AAEA,YAAAD,EAAA,UAAA,YAAAC,EAAA,MAAA,KAAA,CAAAI,MAAAA,EAAA,KAAA,MACIC;AAAA,MAAA;AAAA,MACI;AAAA,MACA;AAAA,IACA;;;;;;;;;;;;;;;;;ICQRC,IAAApB,EAAA;AAAA,EAA+B,MAAA;AAE/B,CAAA;;;;;;;;;;;;;;;;;AAzCA,UAAAG,IAAAC,GAOAC,IAAA,CAAAC,MAAAH,EAAA,SAAAG,CAAA;;;;;;;;ICkCAe,IAAArB,EAAA;AAAA,EAA+B,MAAA;AAE/B,CAAA;;;;;;;;;;;;;;;;;AAzCA,UAAAG,IAAAC,GAOAC,IAAA,CAAAC,MAAAH,EAAA,SAAAG,CAAA;;;;;;;;;;;;;ICsCAgB,IAAAtB,EAAA;AAAA,EAA+B,MAAA;AAE/B,CAAA;;;;;;;;;;;;;;;;;;AAxDA,UAAAC,IAAAC,GAeAC,IAAAC,GAOAC,IAAA,CAAAC,MAAAH,EAAA,SAAAG,CAAA,GAEAiB,IAAAf,EAAA,MAAA;;AAAA,cAAAgB,IAAAvB,EAAA,UAAA,gBAAAuB,EAAA,IAAA,CAAA,EAAA,OAAAd,GAAA,OAAAD,GAAA,SAAAI,EAAA,OAAA,EAAA,OAAAH,GAAA,OAAAD,GAAA,MAAAI,EAAA;AAAA,KAAA;;;;;;;;;;;;;;;;"}
@@ -1,21 +1,21 @@
1
1
  import { ref as w, watch as Be, computed as p, defineComponent as j, useSlots as De, toRefs as Ie, createBlock as K, openBlock as L, resolveDynamicComponent as Te, mergeProps as M, withCtx as z, createElementVNode as te, withKeys as Ze, unref as n, createVNode as Q, toHandlers as G, createSlots as re, renderList as de, renderSlot as X, normalizeProps as ue, guardReactiveProps as ce, createElementBlock as P, createCommentVNode as F, toDisplayString as ve, normalizeClass as pe, withDirectives as ee, vShow as Ee, nextTick as I, useAttrs as Qe, toRef as O, inject as Xe, createTextVNode as Ge } from "vue";
2
2
  import { d as we, B as et } from "./typography.DN5eC5ch.js";
3
- import { a as se, b as V, c as tt, B as J, D as at } from "./dropdown-default-textbox.B05elQig.js";
4
- /* empty css */
5
- import { _ as Y } from "./_plugin-vue_export-helper.CHgC5LLL.js";
6
- import { s as ie } from "./events.FNmSWp_P.js";
7
- import { g as _ } from "./generate-uid.NJ8tVoha.js";
8
- import { u as lt } from "./aria-label.CaUURpnB.js";
3
+ import { g as J } from "./generate-uid.NJ8tVoha.js";
4
+ import { u as tt } from "./aria-label.CaUURpnB.js";
9
5
  import { u as ye } from "./i18n.B6g5VX0q.js";
10
- import { u as ot } from "./use-form-layout-loading.D3lALhtC.js";
11
- import { B as nt } from "./directive.Cbdox5VL.js";
12
- import { B as $, a as st } from "./keyboard-navigation.CqgGzfZQ.js";
6
+ import { u as at } from "./use-form-layout-loading.D3lALhtC.js";
7
+ import { B as lt } from "./directive.Cbdox5VL.js";
8
+ import { s as se } from "./events.FNmSWp_P.js";
9
+ import { B as $, a as ot } from "./keyboard-navigation.CqgGzfZQ.js";
10
+ import { a as ie, b as V, c as nt, B as _, D as st } from "./dropdown-default-textbox.B05elQig.js";
13
11
  import { a as f, b as fe, B as me, c as it, u as rt } from "./use-cached-selected-values.CatIU1_1.js";
14
12
  import { u as dt } from "./use-has-slot.B7eQSabc.js";
15
13
  import { F as ut, E as ct } from "./error-message.DZWphzoT.js";
16
14
  import { P as xe } from "./popper-container.b5h4zYgT.js";
17
15
  import "./popper-container.types.BCZMbVFD.js";
18
16
  import { B as pt } from "./popover.maCMPyz8.js";
17
+ import { _ as Y } from "./_plugin-vue_export-helper.CHgC5LLL.js";
18
+ /* empty css */
19
19
  import "../assets/dropdown.css";
20
20
  const be = {
21
21
  "en-US": {
@@ -212,7 +212,7 @@ const be = {
212
212
  actions: B.value,
213
213
  divider: !0,
214
214
  fallbackPosition: ["top-start"],
215
- id: _(`dropdown-options-${l.id}`),
215
+ id: J(`dropdown-options-${l.id}`),
216
216
  open: l.open,
217
217
  position: "bottom-start",
218
218
  style: {
@@ -386,19 +386,19 @@ const xt = /* @__PURE__ */ Y(Lt, [["render", wt]]), Ct = { class: "b-dropdown-sm
386
386
  emits: ["clear", "close", "input", "keydown", "open"],
387
387
  setup(e, { expose: i, emit: s }) {
388
388
  const a = s, o = e, l = w(null), t = p(() => ({
389
- [`b-dropdown-small-textbox--${se.DISABLED}`]: o.disabled,
390
- [`b-dropdown-small-textbox--${se.READONLY}`]: o.readonly,
391
- [`b-dropdown-small-textbox--${se.OPENED}`]: o.open
389
+ [`b-dropdown-small-textbox--${ie.DISABLED}`]: o.disabled,
390
+ [`b-dropdown-small-textbox--${ie.READONLY}`]: o.readonly,
391
+ [`b-dropdown-small-textbox--${ie.OPENED}`]: o.open
392
392
  })), c = p(() => o.open && !o.disabled && !o.readonly), m = (v) => {
393
393
  a("input", v);
394
394
  }, h = (v) => {
395
395
  a("keydown", v);
396
396
  }, r = (v) => {
397
- ie(v), a("open");
397
+ se(v), a("open");
398
398
  }, g = (v) => {
399
- ie(v), a("close");
399
+ se(v), a("close");
400
400
  }, u = (v) => {
401
- ie(v), a("clear");
401
+ se(v), a("clear");
402
402
  }, x = {
403
403
  [V.INPUT]: m,
404
404
  [V.OPEN]: r,
@@ -413,12 +413,12 @@ const xt = /* @__PURE__ */ Y(Lt, [["render", wt]]), Ct = { class: "b-dropdown-sm
413
413
  }), (v, D) => (L(), P("div", {
414
414
  class: pe(["b-dropdown-small-textbox", t.value])
415
415
  }, [
416
- Q(tt, M({
416
+ Q(nt, M({
417
417
  ref_key: "baseTextbox",
418
418
  ref: l
419
419
  }, { ...v.$attrs, ...v.$props }, {
420
420
  class: "b-dropdown-small-textbox__textbox",
421
- size: n(J).SMALL
421
+ size: n(_).SMALL
422
422
  }, G(x)), {
423
423
  icon: z(() => [
424
424
  te("div", Ct, [
@@ -563,7 +563,7 @@ const Ae = {
563
563
  i18n: { messages: Ae },
564
564
  name: "b-dropdown",
565
565
  components: {
566
- DropdownInputDefault: at,
566
+ DropdownInputDefault: st,
567
567
  DropdownInputSmall: Dt
568
568
  }
569
569
  }), Pt = /* @__PURE__ */ j({
@@ -699,7 +699,7 @@ const Ae = {
699
699
  size: {
700
700
  type: String,
701
701
  default: null,
702
- validator: (e) => Object.values(J).includes(e)
702
+ validator: (e) => Object.values(_).includes(e)
703
703
  },
704
704
  /**
705
705
  * If enabled, dropdown will display non-selectable, static categories
@@ -744,17 +744,17 @@ const Ae = {
744
744
  emits: ["input", "show-more"],
745
745
  setup(e, { expose: i, emit: s }) {
746
746
  var Le;
747
- const a = Qe(), o = De(), l = dt(o), t = e, c = s, { t: m } = ye({ messages: Ae }), h = w(null), r = w(null), g = w(null), u = w(!1), x = _("bento-dropdown-options-container"), B = _("dropdown-label"), v = _("dropdown-description"), D = _("dropdown-error"), { isReadOnly: E } = ot(O(t, "readonly")), { cachedSelectedListboxOptions: S, cachedListboxSelectedValues: W, setCachedValues: q } = it(
747
+ const a = Qe(), o = De(), l = dt(o), t = e, c = s, { t: m } = ye({ messages: Ae }), h = w(null), r = w(null), g = w(null), u = w(!1), x = J("bento-dropdown-options-container"), B = J("dropdown-label"), v = J("dropdown-description"), D = J("dropdown-error"), { isReadOnly: E } = at(O(t, "readonly")), { cachedSelectedListboxOptions: S, cachedListboxSelectedValues: W, setCachedValues: q } = it(
748
748
  O(t, "items"),
749
749
  O(t, "value"),
750
750
  O(t, "multiple"),
751
751
  O(t, "enableValueLabelPair")
752
- ), A = w(a["aria-label"]), { ariaLabel: d, label: y } = Ie(t), C = p(() => m("ariaLabelFallback")), N = lt({
752
+ ), A = w(a["aria-label"]), { ariaLabel: d, label: y } = Ie(t), C = p(() => m("ariaLabelFallback")), N = tt({
753
753
  // TODO: take ariaLabel ref away when aria-label prop is removed
754
754
  ariaLabel: d.value || A,
755
755
  label: y,
756
756
  defaultFallback: C
757
- }), ge = t.size === J.SMALL || Xe(Rt, !1), Ne = p(() => ge ? J.SMALL : J.DEFAULT), Re = p(() => ({
757
+ }), ge = t.size === _.SMALL || Xe(Rt, !1), Ne = p(() => ge ? _.SMALL : _.DEFAULT), Re = p(() => ({
758
758
  "b-dropdown--condensed": t.condensed
759
759
  })), Me = p(() => ({
760
760
  "b-dropdown__description--error": !!t.errorMessage
@@ -884,7 +884,7 @@ const Ae = {
884
884
  }))
885
885
  ]), 1064, ["condensed", "value", "additional-items-selected", "aria-controls", "ariaExpanded", "aria-labelledby", "aria-describedby", "aria-label", "aria-readonly", "readonly", "disabled", "display-value", "dynamic-filtering", "is-invalid", "multiple", "open", "selected-value-item", "show-slot-content-in-multiple"]))
886
886
  ], 16)), [
887
- [n(st)]
887
+ [n(ot)]
888
888
  ]),
889
889
  h.value ? (L(), K(n(yt), M({
890
890
  key: 1,
@@ -936,7 +936,7 @@ const Ae = {
936
936
  _: 3
937
937
  }, 8, ["id", "class"])) : F("", !0)
938
938
  ], 2)), [
939
- [n(nt), Ue]
939
+ [n(lt), Ue]
940
940
  ]);
941
941
  };
942
942
  }
@@ -948,4 +948,4 @@ export {
948
948
  la as b,
949
949
  Nt as u
950
950
  };
951
- //# sourceMappingURL=dropdown.Bz5hTRFH.js.map
951
+ //# sourceMappingURL=dropdown.UapzImAi.js.map