@adyen/bento-vue3 1.26.0 → 1.27.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 +4 -0
- package/dist/@types/packages/core/src/utils/ts/storybook.d.ts +12 -0
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/code-snippet/utils/get-lang-loader.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-hovering/use-column-hovering.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-reorderer/use-column-reorderer.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-config-settings/use-config-settings.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-resizer.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +15 -0
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +1 -18
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +12 -0
- package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +36 -54
- package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +27 -22
- package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +76 -1
- package/dist/@types/packages/vue2/src/components/tutorial/tutorial.vue.d.ts +21 -2
- package/dist/@types/packages/vue2/src/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/templates/dashboard-template/components/dashboard-section/dashboard-section.vue.d.ts +78 -0
- package/dist/@types/packages/vue2/src/templates/dashboard-template/dashboard-template.types.d.ts +8 -0
- package/dist/@types/packages/vue2/src/templates/dashboard-template/dashboard-template.vue.d.ts +103 -0
- package/dist/@types/packages/vue2/src/templates/dashboard-template/index.d.ts +3 -0
- package/dist/@types/packages/vue2/src/utils/ts/storybook.d.ts +1 -12
- package/dist/accordion.js +3 -3
- package/dist/action-bar.js +71 -155
- package/dist/action-bar.js.map +1 -1
- package/dist/alert.js +6 -6
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown.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/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.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/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 -1
- package/dist/assets/index48.css +1 -1
- package/dist/assets/index49.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/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.js +4 -4
- package/dist/card.js +4 -4
- package/dist/checkbox.js +6 -6
- package/dist/chunks/{base-button.e84acf30.js → base-button.a0140a4c.js} +2 -2
- package/dist/chunks/{base-button.e84acf30.js.map → base-button.a0140a4c.js.map} +1 -1
- package/dist/chunks/{base-modal.29e062d0.js → base-modal.4102f69d.js} +7 -7
- package/dist/chunks/{base-modal.29e062d0.js.map → base-modal.4102f69d.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.7fce47a2.js → button-actions-with-menu.4f311411.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.7fce47a2.js.map → button-actions-with-menu.4f311411.js.map} +1 -1
- package/dist/chunks/{button-actions.642b37de.js → button-actions.82163994.js} +42 -40
- package/dist/chunks/button-actions.82163994.js.map +1 -0
- package/dist/chunks/{button.60dad578.js → button.ae4760cd.js} +27 -26
- package/dist/chunks/button.ae4760cd.js.map +1 -0
- package/dist/chunks/{calendar.f38cdab9.js → calendar.a9c5a68c.js} +6 -6
- package/dist/chunks/{calendar.f38cdab9.js.map → calendar.a9c5a68c.js.map} +1 -1
- package/dist/chunks/{checkbox-input.ab758a81.js → checkbox-input.99336948.js} +2 -2
- package/dist/chunks/{checkbox-input.ab758a81.js.map → checkbox-input.99336948.js.map} +1 -1
- package/dist/chunks/{checkbox.f55ee3a5.js → checkbox.9c30c07b.js} +4 -4
- package/dist/chunks/{checkbox.f55ee3a5.js.map → checkbox.9c30c07b.js.map} +1 -1
- package/dist/chunks/{checkmark-circle-fill.f3a69c6a.js → checkmark-circle-fill.c45a999d.js} +2 -2
- package/dist/chunks/{checkmark-circle-fill.f3a69c6a.js.map → checkmark-circle-fill.c45a999d.js.map} +1 -1
- package/dist/chunks/{checkmark-small.d7e31e5e.js → checkmark-small.c79220d9.js} +2 -2
- package/dist/chunks/{checkmark-small.d7e31e5e.js.map → checkmark-small.c79220d9.js.map} +1 -1
- package/dist/chunks/{chevron-left.963d35e9.js → chevron-left.4ee92950.js} +2 -2
- package/dist/chunks/{chevron-left.963d35e9.js.map → chevron-left.4ee92950.js.map} +1 -1
- package/dist/chunks/{chevron-up.05ca20db.js → chevron-up.638a9f34.js} +2 -2
- package/dist/chunks/{chevron-up.05ca20db.js.map → chevron-up.638a9f34.js.map} +1 -1
- package/dist/chunks/{controls-group.9e0f17b2.js → controls-group.8357e3fd.js} +3 -3
- package/dist/chunks/{controls-group.9e0f17b2.js.map → controls-group.8357e3fd.js.map} +1 -1
- package/dist/chunks/{copy.852d4cb8.js → copy.60ee6ac3.js} +4 -4
- package/dist/chunks/{copy.852d4cb8.js.map → copy.60ee6ac3.js.map} +1 -1
- package/dist/chunks/{cross-circle-fill.81925c7f.js → cross-circle-fill.1abec1a2.js} +2 -2
- package/dist/chunks/{cross-circle-fill.81925c7f.js.map → cross-circle-fill.1abec1a2.js.map} +1 -1
- package/dist/chunks/{cross-small.9bc6a02f.js → cross-small.b85406fe.js} +2 -2
- package/dist/chunks/{cross-small.9bc6a02f.js.map → cross-small.b85406fe.js.map} +1 -1
- package/dist/chunks/{cross.a60533f6.js → cross.26509efc.js} +2 -2
- package/dist/chunks/{cross.a60533f6.js.map → cross.26509efc.js.map} +1 -1
- package/dist/chunks/{dialog-page.ea67bb14.js → dialog-page.cb6ce9b6.js} +3 -3
- package/dist/chunks/{dialog-page.ea67bb14.js.map → dialog-page.cb6ce9b6.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.ad5063c2.js → dropdown-default-textbox.cda0798f.js} +5 -5
- package/dist/chunks/{dropdown-default-textbox.ad5063c2.js.map → dropdown-default-textbox.cda0798f.js.map} +1 -1
- package/dist/chunks/{dropdown.d8587f36.js → dropdown.0ae3b842.js} +122 -132
- package/dist/chunks/dropdown.0ae3b842.js.map +1 -0
- package/dist/chunks/{error-message.3fb5573a.js → error-message.d2bdeb80.js} +3 -3
- package/dist/chunks/{error-message.3fb5573a.js.map → error-message.d2bdeb80.js.map} +1 -1
- package/dist/chunks/{events.58c00e6d.js → events.f14a214b.js} +5 -5
- package/dist/chunks/events.f14a214b.js.map +1 -0
- package/dist/chunks/{fixed-scroller.59aefd1b.js → fixed-scroller.7b42cb1e.js} +3 -3
- package/dist/chunks/{fixed-scroller.59aefd1b.js.map → fixed-scroller.7b42cb1e.js.map} +1 -1
- package/dist/chunks/{footer-actions.89e68269.js → footer-actions.64f6f5d8.js} +4 -4
- package/dist/chunks/{footer-actions.89e68269.js.map → footer-actions.64f6f5d8.js.map} +1 -1
- package/dist/chunks/{index.96cd0d4c.js → index.2d7b4511.js} +15 -15
- package/dist/chunks/{index.96cd0d4c.js.map → index.2d7b4511.js.map} +1 -1
- package/dist/chunks/index.2fcd1233.js +103 -0
- package/dist/chunks/index.2fcd1233.js.map +1 -0
- package/dist/chunks/{index.9bf04b01.js → index.6295e754.js} +3 -3
- package/dist/chunks/{index.9bf04b01.js.map → index.6295e754.js.map} +1 -1
- package/dist/chunks/{index.030c1dd7.js → index.6bb6f38c.js} +7 -7
- package/dist/chunks/{index.030c1dd7.js.map → index.6bb6f38c.js.map} +1 -1
- package/dist/chunks/{index.ba3396d3.js → index.8aa536a8.js} +3 -3
- package/dist/chunks/{index.ba3396d3.js.map → index.8aa536a8.js.map} +1 -1
- package/dist/chunks/{index.8be283d5.js → index.9d7fb316.js} +2 -2
- package/dist/chunks/{index.8be283d5.js.map → index.9d7fb316.js.map} +1 -1
- package/dist/chunks/{index.5bdebf9d.js → index.a001a0a8.js} +7 -7
- package/dist/chunks/{index.5bdebf9d.js.map → index.a001a0a8.js.map} +1 -1
- package/dist/chunks/{index.07122048.js → index.b18c78d6.js} +2 -2
- package/dist/chunks/{index.07122048.js.map → index.b18c78d6.js.map} +1 -1
- package/dist/chunks/{index.6e0e9d21.js → index.eb38a6c4.js} +3 -3
- package/dist/chunks/{index.6e0e9d21.js.map → index.eb38a6c4.js.map} +1 -1
- package/dist/chunks/{index.a3d60e4f.js → index.ee15db35.js} +2 -2
- package/dist/chunks/{index.a3d60e4f.js.map → index.ee15db35.js.map} +1 -1
- package/dist/chunks/{index.146f967e.js → index.f9d081d2.js} +2 -2
- package/dist/chunks/{index.146f967e.js.map → index.f9d081d2.js.map} +1 -1
- package/dist/chunks/index.fedbb4c2.js +125 -0
- package/dist/chunks/index.fedbb4c2.js.map +1 -0
- package/dist/chunks/{info.205b4496.js → info.550f9511.js} +2 -2
- package/dist/chunks/{info.205b4496.js.map → info.550f9511.js.map} +1 -1
- package/dist/chunks/{keyboard-navigation.ca47dfa8.js → keyboard-navigation.bbc3d15c.js} +2 -2
- package/dist/chunks/{keyboard-navigation.ca47dfa8.js.map → keyboard-navigation.bbc3d15c.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.b6182b2e.js → listbox-option-tag.2aea037c.js} +3 -3
- package/dist/chunks/{listbox-option-tag.b6182b2e.js.map → listbox-option-tag.2aea037c.js.map} +1 -1
- package/dist/chunks/{loading-button.0391ad8b.js → loading-button.6b81b546.js} +4 -4
- package/dist/chunks/{loading-button.0391ad8b.js.map → loading-button.6b81b546.js.map} +1 -1
- package/dist/chunks/{payment-method.31a68b9b.js → payment-method.d5595a7c.js} +2 -2
- package/dist/chunks/{payment-method.31a68b9b.js.map → payment-method.d5595a7c.js.map} +1 -1
- package/dist/chunks/{refresh.53691839.js → refresh.bd60f6a8.js} +2 -2
- package/dist/chunks/{refresh.53691839.js.map → refresh.bd60f6a8.js.map} +1 -1
- package/dist/chunks/{search.4e4ee4dd.js → search.ade93bda.js} +2 -2
- package/dist/chunks/{search.4e4ee4dd.js.map → search.ade93bda.js.map} +1 -1
- package/dist/chunks/{tooltip.1084d92b.js → tooltip.36172265.js} +4 -4
- package/dist/chunks/{tooltip.1084d92b.js.map → tooltip.36172265.js.map} +1 -1
- package/dist/chunks/{use-bento-toast-controller.98d8613c.js → use-bento-toast-controller.3dc4e113.js} +2 -2
- package/dist/chunks/{use-bento-toast-controller.98d8613c.js.map → use-bento-toast-controller.3dc4e113.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.852aeafe.js → use-cached-selected-values.3c312296.js} +396 -375
- package/dist/chunks/use-cached-selected-values.3c312296.js.map +1 -0
- package/dist/code-snippet.js +137 -135
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +2 -2
- package/dist/currency.js +1 -1
- package/dist/dashboard-template.js +169 -0
- package/dist/dashboard-template.js.map +1 -0
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +52 -44
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +19 -19
- package/dist/date-picker.js.map +1 -1
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +7 -7
- package/dist/empty-state.js +3 -3
- package/dist/filter-bar.js +85 -83
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +2 -2
- package/dist/header.js +5 -5
- package/dist/index.js +66 -63
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +4 -4
- package/dist/input-field.js +4 -4
- package/dist/internal.js +8 -8
- package/dist/link.js +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +7 -7
- package/dist/modal.js +6 -6
- package/dist/pagination.js +4 -4
- package/dist/payment-method.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/radio-group.js +4 -4
- package/dist/search-bar.js +4 -4
- package/dist/secondary-nav.js +2 -2
- package/dist/segmented-control.js +66 -72
- package/dist/segmented-control.js.map +1 -1
- package/dist/selection-card.js +5 -5
- package/dist/sidepanel.js +7 -7
- package/dist/status.js +2 -2
- package/dist/stepper.js +5 -5
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +3 -3
- package/dist/tabs.js +80 -78
- package/dist/tabs.js.map +1 -1
- package/dist/tag.js +3 -3
- package/dist/textarea.js +4 -4
- package/dist/timeline.js +7 -7
- package/dist/toast.js +4 -4
- package/dist/toggle.js +3 -3
- package/dist/tutorial.js +125 -110
- package/dist/tutorial.js.map +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +8 -6
- package/dist/chunks/button-actions.642b37de.js.map +0 -1
- package/dist/chunks/button.60dad578.js.map +0 -1
- package/dist/chunks/checkmark.87919b24.js +0 -29
- package/dist/chunks/checkmark.87919b24.js.map +0 -1
- package/dist/chunks/dropdown.d8587f36.js.map +0 -1
- package/dist/chunks/events.58c00e6d.js.map +0 -1
- package/dist/chunks/index.c8ffede1.js +0 -168
- package/dist/chunks/index.c8ffede1.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.852aeafe.js.map +0 -1
- /package/dist/assets/{checkmark-circle-fill.css → cross.css} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { d as be, B as Je } from "./index.
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { g as q } from "./unique-id.a2a2b458.js";
|
|
6
|
-
import { u as Qe } from "./aria-label.ac9651a5.js";
|
|
1
|
+
import { ref as w, watch as Se, computed as u, defineComponent as K, useSlots as Le, toRefs as $e, openBlock as g, createBlock as N, resolveDynamicComponent as Oe, unref as a, mergeProps as T, withCtx as P, createElementVNode as Q, withKeys as Ue, createVNode as J, toHandlers as Z, createSlots as ne, renderList as se, renderSlot as Y, normalizeProps as ie, guardReactiveProps as re, createElementBlock as A, toDisplayString as fe, createCommentVNode as k, normalizeClass as de, withDirectives as G, vShow as ye, nextTick as R, useAttrs as qe, toRef as I, inject as He, createTextVNode as Ve } from "vue";
|
|
2
|
+
import { d as be, B as Je } from "./index.ee15db35.js";
|
|
3
|
+
import { g as j } from "./unique-id.a2a2b458.js";
|
|
4
|
+
import { u as Ye } from "./aria-label.ac9651a5.js";
|
|
7
5
|
import { u as pe } from "./i18n.f7e6533e.js";
|
|
8
|
-
import { u as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
6
|
+
import { u as Ze } from "./use-form-layout-loading.d03e5d48.js";
|
|
7
|
+
import { D as oe, a as ge, b as Ge, B as Qe, c as Xe } from "./dropdown-default-textbox.cda0798f.js";
|
|
8
|
+
import { B as _, a as et } from "./keyboard-navigation.bbc3d15c.js";
|
|
9
|
+
import { c as d, b as ue, B as ce, a as tt, u as lt } from "./use-cached-selected-values.3c312296.js";
|
|
11
10
|
import { u as at } from "./use-has-slot.4d98bf29.js";
|
|
12
|
-
import { F as ot, E as nt } from "./error-message.
|
|
13
|
-
import { a as he } from "./index.
|
|
14
|
-
import { a as st } from "./index.
|
|
11
|
+
import { F as ot, E as nt } from "./error-message.d2bdeb80.js";
|
|
12
|
+
import { a as he } from "./index.6295e754.js";
|
|
13
|
+
import { a as st } from "./index.a001a0a8.js";
|
|
14
|
+
import { _ as q } from "./_plugin-vue_export-helper.dad06003.js";
|
|
15
15
|
import "../assets/dropdown.css";
|
|
16
|
-
var
|
|
16
|
+
var U = /* @__PURE__ */ ((e) => (e.DEFAULT = "DropdownInputDefault", e.SMALL = "DropdownInputSmall", e))(U || {});
|
|
17
17
|
const me = {
|
|
18
18
|
"en-US": {
|
|
19
19
|
apply: "Apply",
|
|
@@ -21,8 +21,8 @@ const me = {
|
|
|
21
21
|
noOptionsMatchThisSearch: "No options match this search"
|
|
22
22
|
}
|
|
23
23
|
}, it = (e, o, t, l) => {
|
|
24
|
-
const n =
|
|
25
|
-
|
|
24
|
+
const n = w(e.value), { t: i } = pe({ messages: me });
|
|
25
|
+
Se(e, () => {
|
|
26
26
|
n.value = e.value;
|
|
27
27
|
});
|
|
28
28
|
const r = u(
|
|
@@ -45,7 +45,7 @@ const me = {
|
|
|
45
45
|
}
|
|
46
46
|
]), h = (s) => {
|
|
47
47
|
n.value = s, o.value || l(d.SELECT, s);
|
|
48
|
-
},
|
|
48
|
+
}, L = (s) => {
|
|
49
49
|
h(s), l(d.TAB);
|
|
50
50
|
}, $ = (s) => {
|
|
51
51
|
h(s), l(d.ENTER);
|
|
@@ -53,12 +53,12 @@ const me = {
|
|
|
53
53
|
h(s), l(d.SPACE);
|
|
54
54
|
}, x = () => {
|
|
55
55
|
f(), l(d.ESCAPE);
|
|
56
|
-
},
|
|
56
|
+
}, S = () => {
|
|
57
57
|
l(d.SHOW_MORE);
|
|
58
|
-
},
|
|
58
|
+
}, M = {
|
|
59
59
|
[d.SELECT]: h,
|
|
60
|
-
[d.SHOW_MORE]:
|
|
61
|
-
[d.TAB]:
|
|
60
|
+
[d.SHOW_MORE]: S,
|
|
61
|
+
[d.TAB]: L,
|
|
62
62
|
[d.SPACE]: O,
|
|
63
63
|
[d.ENTER]: $
|
|
64
64
|
};
|
|
@@ -67,14 +67,14 @@ const me = {
|
|
|
67
67
|
actions: p,
|
|
68
68
|
internalSelectedValue: n,
|
|
69
69
|
// Methods
|
|
70
|
-
listeners:
|
|
70
|
+
listeners: M,
|
|
71
71
|
onEscapeKey: x,
|
|
72
72
|
onOutsideDropdownClick: y
|
|
73
73
|
};
|
|
74
|
-
}, rt =
|
|
74
|
+
}, rt = K({
|
|
75
75
|
i18n: { messages: me },
|
|
76
76
|
name: "bento-dropdown-options-container"
|
|
77
|
-
}), dt = /* @__PURE__ */
|
|
77
|
+
}), dt = /* @__PURE__ */ K({
|
|
78
78
|
...rt,
|
|
79
79
|
props: {
|
|
80
80
|
/**
|
|
@@ -100,14 +100,6 @@ const me = {
|
|
|
100
100
|
* Identifies the listbox whose contents are controlled by the the combobox on which the aria-controls attribute is set.
|
|
101
101
|
*/
|
|
102
102
|
id: { type: String, required: !0 },
|
|
103
|
-
/**
|
|
104
|
-
* Dropdown input size
|
|
105
|
-
*/
|
|
106
|
-
inputSize: {
|
|
107
|
-
type: String,
|
|
108
|
-
default: D.DEFAULT,
|
|
109
|
-
validator: (e) => Object.values(D).includes(e)
|
|
110
|
-
},
|
|
111
103
|
/**
|
|
112
104
|
* Function that allows the options to be disabled
|
|
113
105
|
*
|
|
@@ -189,12 +181,11 @@ const me = {
|
|
|
189
181
|
}
|
|
190
182
|
},
|
|
191
183
|
setup(e, { expose: o, emit: t }) {
|
|
192
|
-
const l = e, n =
|
|
184
|
+
const l = e, n = Le(), { selectedValue: i, multiple: r } = $e(l), c = w(null), { t: f } = pe({ messages: me }), y = u(() => l.open && !l.disabled), p = u(() => f("noOptionsMatchThisSearch")), h = u(() => ({
|
|
193
185
|
"b-dropdown-options-container--single": !(l != null && l.multiple)
|
|
194
|
-
})),
|
|
195
|
-
"b-dropdown-options-container__listbox--small": l.inputSize === D.SMALL,
|
|
186
|
+
})), L = u(() => ({
|
|
196
187
|
"b-dropdown-options-container__listbox--single": !(l != null && l.multiple)
|
|
197
|
-
})), { actions: $, internalSelectedValue: O, listeners: x, onEscapeKey:
|
|
188
|
+
})), { actions: $, internalSelectedValue: O, listeners: x, onEscapeKey: S, onOutsideDropdownClick: M } = it(i, r, y, t), s = u(() => l != null && l.multiple ? st : he), m = u(() => {
|
|
198
189
|
var E;
|
|
199
190
|
const b = {
|
|
200
191
|
"min-width": `${(E = l == null ? void 0 : l.targetElement) == null ? void 0 : E.clientWidth}px`,
|
|
@@ -205,7 +196,7 @@ const me = {
|
|
|
205
196
|
actions: $.value,
|
|
206
197
|
divider: !0,
|
|
207
198
|
fallbackPosition: ["top-start"],
|
|
208
|
-
id:
|
|
199
|
+
id: j(`dropdown-options-${l.id}`),
|
|
209
200
|
open: l.open,
|
|
210
201
|
position: "bottom-start",
|
|
211
202
|
style: {
|
|
@@ -225,24 +216,24 @@ const me = {
|
|
|
225
216
|
};
|
|
226
217
|
});
|
|
227
218
|
return o({
|
|
228
|
-
onOutsideDropdownClick:
|
|
229
|
-
}), (b, E) => (g(),
|
|
219
|
+
onOutsideDropdownClick: M
|
|
220
|
+
}), (b, E) => (g(), N(Oe(a(s)), T({
|
|
230
221
|
class: ["b-dropdown-options-container", a(h)]
|
|
231
222
|
}, a(m)), {
|
|
232
|
-
default:
|
|
223
|
+
default: P(() => [
|
|
233
224
|
Q("div", {
|
|
234
225
|
onKeydown: E[0] || (E[0] = Ue(
|
|
235
226
|
//@ts-ignore
|
|
236
|
-
(...
|
|
227
|
+
(...F) => a(S) && a(S)(...F),
|
|
237
228
|
["esc"]
|
|
238
229
|
))
|
|
239
230
|
}, [
|
|
240
|
-
J(a(ce),
|
|
231
|
+
J(a(ce), T({
|
|
241
232
|
id: e.id,
|
|
242
233
|
ref_key: "dropdownOptionsListboxRef",
|
|
243
234
|
ref: c,
|
|
244
235
|
"aria-label": e.ariaLabel,
|
|
245
|
-
class: ["b-dropdown-options-container__listbox", a(
|
|
236
|
+
class: ["b-dropdown-options-container__listbox", a(L)],
|
|
246
237
|
"empty-state": e.emptyState,
|
|
247
238
|
"is-option-disabled": e.isOptionDisabled,
|
|
248
239
|
items: e.items,
|
|
@@ -256,10 +247,10 @@ const me = {
|
|
|
256
247
|
"has-more-items": e.hasMoreItems,
|
|
257
248
|
"virtual-scroll": e.virtualScroll
|
|
258
249
|
}, Z(a(x))), ne({ _: 2 }, [
|
|
259
|
-
se(a(n), (
|
|
260
|
-
name:
|
|
261
|
-
fn:
|
|
262
|
-
Y(b.$slots,
|
|
250
|
+
se(a(n), (F, H) => ({
|
|
251
|
+
name: H,
|
|
252
|
+
fn: P((X) => [
|
|
253
|
+
Y(b.$slots, H, ie(re(X)), void 0, !0)
|
|
263
254
|
])
|
|
264
255
|
}))
|
|
265
256
|
]), 1040, ["id", "aria-label", "class", "empty-state", "is-option-disabled", "items", "selected-value", "multiple", "static-categories", "no-results-message", "searching", "loading", "lazy-load-type", "has-more-items", "virtual-scroll"])
|
|
@@ -269,7 +260,7 @@ const me = {
|
|
|
269
260
|
}, 16, ["class"]));
|
|
270
261
|
}
|
|
271
262
|
});
|
|
272
|
-
const ut = /* @__PURE__ */
|
|
263
|
+
const ut = /* @__PURE__ */ q(dt, [["__scopeId", "data-v-e9bd1bd4"]]);
|
|
273
264
|
let xe = 0;
|
|
274
265
|
const ct = {
|
|
275
266
|
beforeCreate() {
|
|
@@ -280,44 +271,44 @@ const ct = {
|
|
|
280
271
|
d: "M5.00011 5.43922L8.00011 8.43922L11.0001 5.43922L12.0608 6.49988L8.00011 10.5605L3.93945 6.49988L5.00011 5.43922Z"
|
|
281
272
|
}, null, -1);
|
|
282
273
|
function mt(e, o, t, l, n, i) {
|
|
283
|
-
return g(),
|
|
274
|
+
return g(), A("svg", T({ role: "img" }, e.$attrs, {
|
|
284
275
|
class: "ui-assets-icons-16",
|
|
285
276
|
xmlns: "http://www.w3.org/2000/svg",
|
|
286
277
|
width: "16",
|
|
287
278
|
height: "16",
|
|
288
279
|
fill: "none"
|
|
289
280
|
}), [
|
|
290
|
-
e.$attrs["svg-title"] ? (g(),
|
|
281
|
+
e.$attrs["svg-title"] ? (g(), A("title", ft, fe(e.$attrs["svg-title"]), 1)) : k("", !0),
|
|
291
282
|
pt
|
|
292
283
|
], 16);
|
|
293
284
|
}
|
|
294
|
-
const vt = /* @__PURE__ */
|
|
295
|
-
let
|
|
285
|
+
const vt = /* @__PURE__ */ q(ct, [["render", mt]]);
|
|
286
|
+
let we = 0;
|
|
296
287
|
const yt = {
|
|
297
288
|
beforeCreate() {
|
|
298
|
-
this.uuid =
|
|
289
|
+
this.uuid = we.toString(), we += 1;
|
|
299
290
|
}
|
|
300
291
|
}, bt = { key: 0 }, gt = /* @__PURE__ */ Q("path", {
|
|
301
292
|
fill: "#00112C",
|
|
302
293
|
d: "M10.9999 10.5608L7.9999 7.56077L4.9999 10.5608L3.93924 9.50011L7.9999 5.43945L12.0606 9.50011L10.9999 10.5608Z"
|
|
303
294
|
}, null, -1);
|
|
304
295
|
function ht(e, o, t, l, n, i) {
|
|
305
|
-
return g(),
|
|
296
|
+
return g(), A("svg", T({ role: "img" }, e.$attrs, {
|
|
306
297
|
class: "ui-assets-icons-16",
|
|
307
298
|
xmlns: "http://www.w3.org/2000/svg",
|
|
308
299
|
width: "16",
|
|
309
300
|
height: "16",
|
|
310
301
|
fill: "none"
|
|
311
302
|
}), [
|
|
312
|
-
e.$attrs["svg-title"] ? (g(),
|
|
303
|
+
e.$attrs["svg-title"] ? (g(), A("title", bt, fe(e.$attrs["svg-title"]), 1)) : k("", !0),
|
|
313
304
|
gt
|
|
314
305
|
], 16);
|
|
315
306
|
}
|
|
316
|
-
const xt = /* @__PURE__ */
|
|
307
|
+
const xt = /* @__PURE__ */ q(yt, [["render", ht]]), wt = { class: "b-dropdown-small-textbox__chevron" }, St = K({
|
|
317
308
|
name: "dropdown-small-textbox",
|
|
318
309
|
inheritAttrs: !1
|
|
319
|
-
}),
|
|
320
|
-
...
|
|
310
|
+
}), Lt = /* @__PURE__ */ K({
|
|
311
|
+
...St,
|
|
321
312
|
props: {
|
|
322
313
|
/**
|
|
323
314
|
* The number of additional items that have been selected in the dropdown.
|
|
@@ -390,12 +381,12 @@ const xt = /* @__PURE__ */ H(yt, [["render", ht]]), St = { class: "b-dropdown-sm
|
|
|
390
381
|
[ge.OPEN]: i,
|
|
391
382
|
[ge.CLOSE]: r
|
|
392
383
|
};
|
|
393
|
-
return (f, y) => (g(),
|
|
384
|
+
return (f, y) => (g(), A("div", {
|
|
394
385
|
class: de(["b-dropdown-small-textbox", a(l)])
|
|
395
386
|
}, [
|
|
396
|
-
J(
|
|
397
|
-
icon:
|
|
398
|
-
Q("div",
|
|
387
|
+
J(Ge, T({ ...f.$attrs, ...f.$props }, { class: "b-dropdown-small-textbox__textbox" }, Z(c)), {
|
|
388
|
+
icon: P(() => [
|
|
389
|
+
Q("div", wt, [
|
|
399
390
|
G(J(a(xt), { "svg-title": "opened" }, null, 512), [
|
|
400
391
|
[ye, a(n)]
|
|
401
392
|
]),
|
|
@@ -409,7 +400,7 @@ const xt = /* @__PURE__ */ H(yt, [["render", ht]]), St = { class: "b-dropdown-sm
|
|
|
409
400
|
], 2));
|
|
410
401
|
}
|
|
411
402
|
});
|
|
412
|
-
const $t = /* @__PURE__ */
|
|
403
|
+
const $t = /* @__PURE__ */ q(Lt, [["__scopeId", "data-v-4703b87f"]]), Ot = (e, o) => o.value.reduce((t, l) => {
|
|
413
404
|
if (l.items) {
|
|
414
405
|
const n = l.items.filter(
|
|
415
406
|
(r) => e.value.find((c) => c.value === r.value)
|
|
@@ -436,17 +427,17 @@ const $t = /* @__PURE__ */ H(wt, [["__scopeId", "data-v-4703b87f"]]), Ot = (e, o
|
|
|
436
427
|
isMultiple: r
|
|
437
428
|
}, c, f, y) => {
|
|
438
429
|
const p = ({ detail: s }) => {
|
|
439
|
-
s.preventDefault(), l.value || (f(),
|
|
430
|
+
s.preventDefault(), l.value || (f(), R(() => {
|
|
440
431
|
var m, b;
|
|
441
432
|
r ? (m = o.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || m[0].$el.focus() : (b = o.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || b[t.value].$el.focus();
|
|
442
433
|
}));
|
|
443
434
|
}, h = ({ detail: s }) => {
|
|
444
|
-
s.preventDefault(), l.value || (f(),
|
|
435
|
+
s.preventDefault(), l.value || (f(), R(() => {
|
|
445
436
|
var m;
|
|
446
437
|
(m = o.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || m[0].$el.focus();
|
|
447
438
|
}));
|
|
448
|
-
},
|
|
449
|
-
l.value || (f(),
|
|
439
|
+
}, L = () => {
|
|
440
|
+
l.value || (f(), R(() => {
|
|
450
441
|
var s, m;
|
|
451
442
|
if (r) {
|
|
452
443
|
const b = o.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children;
|
|
@@ -457,33 +448,33 @@ const $t = /* @__PURE__ */ H(wt, [["__scopeId", "data-v-4703b87f"]]), Ot = (e, o
|
|
|
457
448
|
}, $ = () => {
|
|
458
449
|
l.value && (y(), Ee(e));
|
|
459
450
|
}, O = () => {
|
|
460
|
-
l.value || f(),
|
|
451
|
+
l.value || f(), R(() => {
|
|
461
452
|
var s;
|
|
462
453
|
(s = o.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || s[0].$el.focus();
|
|
463
454
|
});
|
|
464
455
|
}, x = ({ detail: s }) => {
|
|
465
|
-
s.preventDefault(), c(), l.value &&
|
|
456
|
+
s.preventDefault(), c(), l.value && R(() => {
|
|
466
457
|
var m, b;
|
|
467
458
|
r ? (m = o.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || m[0].$el.focus() : (b = o.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || b[t.value].$el.focus();
|
|
468
459
|
});
|
|
469
|
-
},
|
|
470
|
-
c(), l.value &&
|
|
460
|
+
}, S = () => {
|
|
461
|
+
c(), l.value && R(() => {
|
|
471
462
|
var s, m;
|
|
472
463
|
r ? (s = o.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || s[0].$el.focus() : (m = o.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || m[t.value].$el.focus();
|
|
473
464
|
});
|
|
474
465
|
};
|
|
475
466
|
return u(() => ({
|
|
476
|
-
...n.value ? {} : { [
|
|
477
|
-
[
|
|
478
|
-
[
|
|
479
|
-
[
|
|
480
|
-
[
|
|
481
|
-
[
|
|
482
|
-
[
|
|
467
|
+
...n.value ? {} : { [_.SPACE]: x },
|
|
468
|
+
[_.ENTER]: S,
|
|
469
|
+
[_.ARROW_DOWN]: p,
|
|
470
|
+
[_.ARROW_UP]: h,
|
|
471
|
+
[_.END]: L,
|
|
472
|
+
[_.ESCAPE]: $,
|
|
473
|
+
[_.HOME]: O
|
|
483
474
|
}));
|
|
484
475
|
}, Dt = ({ inputContainerRef: e, isDropdownOpen: o }, t) => {
|
|
485
476
|
const l = () => {
|
|
486
|
-
o.value && t(),
|
|
477
|
+
o.value && t(), R(() => {
|
|
487
478
|
Ee(e);
|
|
488
479
|
});
|
|
489
480
|
};
|
|
@@ -495,8 +486,8 @@ const $t = /* @__PURE__ */ H(wt, [["__scopeId", "data-v-4703b87f"]]), Ot = (e, o
|
|
|
495
486
|
};
|
|
496
487
|
};
|
|
497
488
|
function Bt(e, o, t) {
|
|
498
|
-
const l =
|
|
499
|
-
return
|
|
489
|
+
const l = w(e), n = w(o), i = (c, f = []) => f.flatMap((y) => y.label.toLocaleLowerCase().includes(c) ? [y, ...i(c, y.items)] : y.items ? [...i(c, y.items)] : []);
|
|
490
|
+
return Se(l, () => {
|
|
500
491
|
t !== void 0 && t(l.value);
|
|
501
492
|
}), u(() => {
|
|
502
493
|
if (!l.value || t !== void 0)
|
|
@@ -511,14 +502,14 @@ const Ce = {
|
|
|
511
502
|
clearSearch: "Clear filter",
|
|
512
503
|
ariaLabelFallback: "Dropdown"
|
|
513
504
|
}
|
|
514
|
-
}, It = Symbol("input field component injection key"), _t =
|
|
505
|
+
}, It = Symbol("input field component injection key"), _t = K({
|
|
515
506
|
i18n: { messages: Ce },
|
|
516
507
|
name: "b-dropdown",
|
|
517
508
|
components: {
|
|
518
|
-
DropdownInputDefault:
|
|
509
|
+
DropdownInputDefault: Xe,
|
|
519
510
|
DropdownInputSmall: $t
|
|
520
511
|
}
|
|
521
|
-
}), Rt = /* @__PURE__ */
|
|
512
|
+
}), Rt = /* @__PURE__ */ K({
|
|
522
513
|
..._t,
|
|
523
514
|
props: {
|
|
524
515
|
/**
|
|
@@ -647,7 +638,7 @@ const Ce = {
|
|
|
647
638
|
size: {
|
|
648
639
|
type: String,
|
|
649
640
|
default: null,
|
|
650
|
-
validator: (e) => Object.values(
|
|
641
|
+
validator: (e) => Object.values(U).includes(e)
|
|
651
642
|
},
|
|
652
643
|
/**
|
|
653
644
|
* If enabled, dropdown will display non-selectable, static categories
|
|
@@ -678,23 +669,23 @@ const Ce = {
|
|
|
678
669
|
emits: ["input", "show-more"],
|
|
679
670
|
setup(e, { emit: o }) {
|
|
680
671
|
var ve;
|
|
681
|
-
const t = e, l = qe(), n =
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
), m =
|
|
672
|
+
const t = e, l = qe(), n = Le(), i = at(n), { t: r } = pe({ messages: Ce }), c = w(null), f = w(null), y = w(null), p = w(!1), h = j("bento-dropdown-options-container"), L = j("dropdown-label"), $ = j("dropdown-description"), O = j("dropdown-error"), { isReadOnly: x } = Ze(I(t, "readonly")), { cachedSelectedListboxOptions: S, cachedListboxSelectedValues: M, setCachedValues: s } = tt(
|
|
673
|
+
I(t, "items"),
|
|
674
|
+
I(t, "value"),
|
|
675
|
+
I(t, "multiple")
|
|
676
|
+
), m = w(l["aria-label"]), { ariaLabel: b } = $e(t), E = Ye({
|
|
686
677
|
ariaLabel: m.value,
|
|
687
678
|
// TODO: take this line away when the aria-label props is removed
|
|
688
679
|
label: b,
|
|
689
680
|
defaultFallback: r("ariaLabelFallback")
|
|
690
|
-
}),
|
|
681
|
+
}), F = t.size === U.SMALL || He(It, !1), H = u(() => F ? U.SMALL : U.DEFAULT), X = u(() => ({
|
|
691
682
|
"b-dropdown--condensed": t.condensed
|
|
692
683
|
})), De = u(() => ({
|
|
693
684
|
"b-dropdown__description--error": !!t.errorMessage
|
|
694
|
-
})), B =
|
|
685
|
+
})), B = w(""), V = I(t, "items"), Be = Bt(B, V, (ve = t == null ? void 0 : t.search) == null ? void 0 : ve.searchEvent), ee = u(() => t.dynamicFiltering && !!B.value), Ie = Et({
|
|
695
686
|
items: V,
|
|
696
|
-
placeholder:
|
|
697
|
-
selectedValues:
|
|
687
|
+
placeholder: I(t, "placeholder"),
|
|
688
|
+
selectedValues: S
|
|
698
689
|
}), _e = u(() => {
|
|
699
690
|
if (t != null && t.multiple && Array.isArray(t.value))
|
|
700
691
|
return t.items.filter(
|
|
@@ -702,9 +693,9 @@ const Ce = {
|
|
|
702
693
|
);
|
|
703
694
|
if (!t.multiple && t.staticCategories) {
|
|
704
695
|
const v = t.items.find(
|
|
705
|
-
(
|
|
696
|
+
(D) => D.items.some((z) => z.value === t.value)
|
|
706
697
|
);
|
|
707
|
-
return v ? v.items.find((
|
|
698
|
+
return v ? v.items.find((D) => D.value === t.value) : null;
|
|
708
699
|
}
|
|
709
700
|
return t.items.find(({ value: v }) => v === (t == null ? void 0 : t.value));
|
|
710
701
|
}), Re = u(() => {
|
|
@@ -712,9 +703,9 @@ const Ce = {
|
|
|
712
703
|
return v > 0 ? v : 0;
|
|
713
704
|
}), { isMultiLevelSelect: Te, flattenedItemsList: Ae } = lt(V), Me = u(() => {
|
|
714
705
|
var v;
|
|
715
|
-
if (t.multiple
|
|
716
|
-
const C = (v = t == null ? void 0 : t.value) == null ? void 0 : v.length;
|
|
717
|
-
return
|
|
706
|
+
if (t.multiple) {
|
|
707
|
+
const C = (v = t == null ? void 0 : t.value) == null ? void 0 : v.length, D = Te.value ? Ae.value.length : V.value.length;
|
|
708
|
+
return !t.hasMoreItems && D === C ? r("all") : C;
|
|
718
709
|
}
|
|
719
710
|
return null;
|
|
720
711
|
}), Ne = u(
|
|
@@ -728,7 +719,7 @@ const Ce = {
|
|
|
728
719
|
}, Pe = () => {
|
|
729
720
|
ee.value && (B.value = ""), p.value && (p.value = !1, y.value.onOutsideDropdownClick());
|
|
730
721
|
}, Ke = (v) => {
|
|
731
|
-
t.multiple || (B.value = "", p.value = !1), s(v), o("input",
|
|
722
|
+
t.multiple || (B.value = "", p.value = !1), s(v), o("input", M.value);
|
|
732
723
|
}, Fe = () => {
|
|
733
724
|
o(d.SHOW_MORE);
|
|
734
725
|
}, ze = Ct(
|
|
@@ -737,7 +728,7 @@ const Ce = {
|
|
|
737
728
|
optionsContainerRef: y,
|
|
738
729
|
selectedValueIndex: Re,
|
|
739
730
|
isDropdownOpen: p,
|
|
740
|
-
isDynamicFltering:
|
|
731
|
+
isDynamicFltering: I(t, "dynamicFiltering"),
|
|
741
732
|
items: t.items,
|
|
742
733
|
isMultiple: t.multiple
|
|
743
734
|
},
|
|
@@ -763,24 +754,24 @@ const Ce = {
|
|
|
763
754
|
<bento-dropdown errorMessage="Error message text" />`,
|
|
764
755
|
"2.0.0"
|
|
765
756
|
), t.size && be('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0"), (v, C) => {
|
|
766
|
-
var
|
|
767
|
-
return G((g(),
|
|
757
|
+
var D;
|
|
758
|
+
return G((g(), A("div", {
|
|
768
759
|
class: de(["b-dropdown", a(X)])
|
|
769
760
|
}, [
|
|
770
|
-
e.label ? (g(),
|
|
761
|
+
e.label ? (g(), N(a(ot), {
|
|
771
762
|
key: 0,
|
|
772
|
-
id: a(
|
|
763
|
+
id: a(L),
|
|
773
764
|
condensed: e.condensed,
|
|
774
765
|
label: e.label,
|
|
775
766
|
"tooltip-text": e.tooltipText,
|
|
776
767
|
optional: e.optional,
|
|
777
768
|
required: e.required
|
|
778
|
-
}, null, 8, ["id", "condensed", "label", "tooltip-text", "optional", "required"])) :
|
|
779
|
-
G((g(),
|
|
769
|
+
}, null, 8, ["id", "condensed", "label", "tooltip-text", "optional", "required"])) : k("", !0),
|
|
770
|
+
G((g(), A("div", T({
|
|
780
771
|
ref_key: "inputContainerRefWrapper",
|
|
781
772
|
ref: f
|
|
782
773
|
}, Z(a(ze), !0)), [
|
|
783
|
-
(g(),
|
|
774
|
+
(g(), N(Oe(a(H)), {
|
|
784
775
|
ref_key: "inputContainerRef",
|
|
785
776
|
ref: c,
|
|
786
777
|
condensed: e.condensed,
|
|
@@ -788,7 +779,7 @@ const Ce = {
|
|
|
788
779
|
"additional-items-selected": a(Me),
|
|
789
780
|
ariaControls: a(h),
|
|
790
781
|
ariaExpanded: p.value,
|
|
791
|
-
"aria-labelledby": e.label ? a(
|
|
782
|
+
"aria-labelledby": e.label ? a(L) : null,
|
|
792
783
|
"aria-describedby": a(Ne),
|
|
793
784
|
"aria-label": a(E),
|
|
794
785
|
"aria-readonly": a(x),
|
|
@@ -799,38 +790,37 @@ const Ce = {
|
|
|
799
790
|
"is-invalid": !!e.errorMessage || e.error,
|
|
800
791
|
multiple: e.multiple,
|
|
801
792
|
open: p.value,
|
|
802
|
-
"selected-value-item": a(
|
|
793
|
+
"selected-value-item": a(F) ? void 0 : a(_e),
|
|
803
794
|
"show-slot-content-in-multiple": e.showSlotContentInMultiple,
|
|
804
|
-
onInput: C[0] || (C[0] = (
|
|
795
|
+
onInput: C[0] || (C[0] = (z) => B.value = z),
|
|
805
796
|
onOpen: le,
|
|
806
797
|
onClose: le
|
|
807
798
|
}, ne({ _: 2 }, [
|
|
808
|
-
se(a(n), (
|
|
809
|
-
name:
|
|
810
|
-
fn:
|
|
811
|
-
Y(v.$slots,
|
|
799
|
+
se(a(n), (z, W) => ({
|
|
800
|
+
name: W,
|
|
801
|
+
fn: P((ae) => [
|
|
802
|
+
Y(v.$slots, W, ie(re(ae)), void 0, !0)
|
|
812
803
|
])
|
|
813
804
|
}))
|
|
814
805
|
]), 1064, ["condensed", "value", "additional-items-selected", "ariaControls", "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"]))
|
|
815
806
|
], 16)), [
|
|
816
807
|
[a(et)]
|
|
817
808
|
]),
|
|
818
|
-
c.value ? (g(),
|
|
809
|
+
c.value ? (g(), N(a(ut), T({
|
|
819
810
|
key: 1,
|
|
820
811
|
id: a(h),
|
|
821
812
|
ref_key: "optionsContainerRef",
|
|
822
813
|
ref: y,
|
|
823
814
|
"aria-label": a(E),
|
|
824
815
|
"empty-state": e.emptyState,
|
|
825
|
-
"debounce-time": (
|
|
816
|
+
"debounce-time": (D = e.search) == null ? void 0 : D.debounceTime,
|
|
826
817
|
disabled: e.disabled,
|
|
827
|
-
"input-size": a(W),
|
|
828
818
|
"is-option-disabled": e.isOptionDisabled,
|
|
829
819
|
items: a(Be),
|
|
830
820
|
multiple: e.multiple,
|
|
831
821
|
"static-categories": e.staticCategories,
|
|
832
822
|
open: p.value,
|
|
833
|
-
"selected-value": a(
|
|
823
|
+
"selected-value": a(S),
|
|
834
824
|
searching: a(ee),
|
|
835
825
|
"target-element": f.value,
|
|
836
826
|
loading: e.loading,
|
|
@@ -838,43 +828,43 @@ const Ce = {
|
|
|
838
828
|
"lazy-load-type": e.lazyLoadType,
|
|
839
829
|
"virtual-scroll": e.virtualScroll
|
|
840
830
|
}, Z(je)), ne({ _: 2 }, [
|
|
841
|
-
se(a(n), (
|
|
842
|
-
name:
|
|
843
|
-
fn:
|
|
844
|
-
Y(v.$slots,
|
|
831
|
+
se(a(n), (z, W) => ({
|
|
832
|
+
name: W,
|
|
833
|
+
fn: P((ae) => [
|
|
834
|
+
Y(v.$slots, W, ie(re(ae)), void 0, !0)
|
|
845
835
|
])
|
|
846
836
|
}))
|
|
847
|
-
]), 1040, ["id", "aria-label", "empty-state", "debounce-time", "disabled", "
|
|
848
|
-
e.errorMessage ? (g(),
|
|
837
|
+
]), 1040, ["id", "aria-label", "empty-state", "debounce-time", "disabled", "is-option-disabled", "items", "multiple", "static-categories", "open", "selected-value", "searching", "target-element", "loading", "has-more-items", "lazy-load-type", "virtual-scroll"])) : k("", !0),
|
|
838
|
+
e.errorMessage ? (g(), N(a(nt), {
|
|
849
839
|
key: 2,
|
|
850
840
|
id: a(O),
|
|
851
841
|
"error-message": e.errorMessage,
|
|
852
842
|
class: "b-dropdown__error-message"
|
|
853
|
-
}, null, 8, ["id", "error-message"])) :
|
|
854
|
-
e.description || a(i)("description") ? (g(),
|
|
843
|
+
}, null, 8, ["id", "error-message"])) : k("", !0),
|
|
844
|
+
e.description || a(i)("description") ? (g(), N(a(Je), {
|
|
855
845
|
key: 3,
|
|
856
846
|
id: a($),
|
|
857
847
|
class: de(["b-dropdown__description", a(De)]),
|
|
858
848
|
el: "span"
|
|
859
849
|
}, {
|
|
860
|
-
default:
|
|
850
|
+
default: P(() => [
|
|
861
851
|
Y(v.$slots, "description", {}, () => [
|
|
862
852
|
Ve(fe(e.description), 1)
|
|
863
853
|
], !0)
|
|
864
854
|
]),
|
|
865
855
|
_: 3
|
|
866
|
-
}, 8, ["id", "class"])) :
|
|
856
|
+
}, 8, ["id", "class"])) : k("", !0)
|
|
867
857
|
], 2)), [
|
|
868
|
-
[a(
|
|
858
|
+
[a(Qe), Pe]
|
|
869
859
|
]);
|
|
870
860
|
};
|
|
871
861
|
}
|
|
872
862
|
});
|
|
873
|
-
const Vt = /* @__PURE__ */
|
|
863
|
+
const Vt = /* @__PURE__ */ q(Rt, [["__scopeId", "data-v-4ab2a16d"]]);
|
|
874
864
|
export {
|
|
875
865
|
Vt as B,
|
|
876
866
|
It as I,
|
|
877
|
-
|
|
867
|
+
U as a,
|
|
878
868
|
Bt as u
|
|
879
869
|
};
|
|
880
|
-
//# sourceMappingURL=dropdown.
|
|
870
|
+
//# sourceMappingURL=dropdown.0ae3b842.js.map
|