@adyen/bento-vue3 1.52.0 → 1.53.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/index.d.ts +474 -75
- package/dist/action-bar.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/dashed-underline.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/header-with-views.css +1 -0
- package/dist/assets/input-field-password.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/menu.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/popover.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/summary-grid-item-custom.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chunks/{action-bar.eo5EXYmg.js → action-bar.PIz6tShf.js} +4 -4
- package/dist/chunks/{action-bar.eo5EXYmg.js.map → action-bar.PIz6tShf.js.map} +1 -1
- package/dist/chunks/{base-modal.BlC6TZNz.js → base-modal.D4INiJGX.js} +3 -3
- package/dist/chunks/{base-modal.BlC6TZNz.js.map → base-modal.D4INiJGX.js.map} +1 -1
- package/dist/chunks/bin.CA6UQCNZ.js +37 -0
- package/dist/chunks/bin.CA6UQCNZ.js.map +1 -0
- package/dist/chunks/{button-actions-with-menu.DQaq1bkf.js → button-actions-with-menu.DFD7gbdT.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.DQaq1bkf.js.map → button-actions-with-menu.DFD7gbdT.js.map} +1 -1
- package/dist/chunks/{calendar.D2X834TU.js → calendar.DKHNrb9_.js} +2 -2
- package/dist/chunks/{calendar.D2X834TU.js.map → calendar.DKHNrb9_.js.map} +1 -1
- package/dist/chunks/{checkbox-group.BVJfN48k.js → checkbox-group.X2fi2jkS.js} +4 -4
- package/dist/chunks/{checkbox-group.BVJfN48k.js.map → checkbox-group.X2fi2jkS.js.map} +1 -1
- package/dist/chunks/{checkbox.erdZ58Kk.js → checkbox.CXZQtFhM.js} +81 -74
- package/dist/chunks/checkbox.CXZQtFhM.js.map +1 -0
- package/dist/chunks/{click-outside.DSszkIvs.js → click-outside.C1Ud8AA2.js} +2 -2
- package/dist/chunks/{click-outside.DSszkIvs.js.map → click-outside.C1Ud8AA2.js.map} +1 -1
- package/dist/chunks/{code-snippet.Bb4_r0C8.js → code-snippet.CcdsPxT7.js} +5 -5
- package/dist/chunks/{code-snippet.Bb4_r0C8.js.map → code-snippet.CcdsPxT7.js.map} +1 -1
- package/dist/chunks/{controls-group.BaDhGB9H.js → controls-group.ClMNznTz.js} +2 -2
- package/dist/chunks/{controls-group.BaDhGB9H.js.map → controls-group.ClMNznTz.js.map} +1 -1
- package/dist/chunks/{copy.gmSTAqHY.js → copy.BYG9aoNO.js} +2 -2
- package/dist/chunks/{copy.gmSTAqHY.js.map → copy.BYG9aoNO.js.map} +1 -1
- package/dist/chunks/{dashboard-section.MAHmbUDG.js → dashboard-section.Dz9GpOvy.js} +3 -3
- package/dist/chunks/{dashboard-section.MAHmbUDG.js.map → dashboard-section.Dz9GpOvy.js.map} +1 -1
- package/dist/chunks/{dashed-underline.DY8xR9GH.js → dashed-underline.BuCIjMch.js} +11 -11
- package/dist/chunks/{dashed-underline.DY8xR9GH.js.map → dashed-underline.BuCIjMch.js.map} +1 -1
- package/dist/chunks/{data-grid-template.Dievz913.js → data-grid-template.B4jxtwoW.js} +2 -2
- package/dist/chunks/{data-grid-template.Dievz913.js.map → data-grid-template.B4jxtwoW.js.map} +1 -1
- package/dist/chunks/{data-grid.KZqjmRvk.js → data-grid.CLu8mvil.js} +29 -17
- package/dist/chunks/data-grid.CLu8mvil.js.map +1 -0
- package/dist/chunks/{date-picker.BWJYkSmo.js → date-picker.CA2i6QxD.js} +17 -17
- package/dist/chunks/{date-picker.BWJYkSmo.js.map → date-picker.CA2i6QxD.js.map} +1 -1
- package/dist/chunks/{date-range-picker.1Vbf9Zk8.js → date-range-picker.DVQ-j-JX.js} +25 -25
- package/dist/chunks/{date-range-picker.1Vbf9Zk8.js.map → date-range-picker.DVQ-j-JX.js.map} +1 -1
- package/dist/chunks/{directive.O3yEdalv.js → directive.Cbdox5VL.js} +2 -2
- package/dist/chunks/{directive.O3yEdalv.js.map → directive.Cbdox5VL.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.C9nM0YHC.js → dropdown-tag.DFWV7Zj_.js} +3 -3
- package/dist/chunks/{dropdown-tag.C9nM0YHC.js.map → dropdown-tag.DFWV7Zj_.js.map} +1 -1
- package/dist/chunks/{dropdown.qw5oXFYs.js → dropdown.RVt9T6j5.js} +115 -105
- package/dist/chunks/dropdown.RVt9T6j5.js.map +1 -0
- package/dist/chunks/{error-message.DAjisbU1.js → error-message.BQ5MlnLg.js} +2 -2
- package/dist/chunks/{error-message.DAjisbU1.js.map → error-message.BQ5MlnLg.js.map} +1 -1
- package/dist/chunks/es6.BtaxuP0b.js.map +1 -1
- package/dist/chunks/{file-uploader.BLJpDgAZ.js → file-uploader.DJLGEmtF.js} +464 -475
- package/dist/chunks/file-uploader.DJLGEmtF.js.map +1 -0
- package/dist/chunks/{filter-bar.DYrXBQDF.js → filter-bar.GGHRoo6O.js} +492 -486
- package/dist/chunks/filter-bar.GGHRoo6O.js.map +1 -0
- package/dist/chunks/{focus-trap.DMgm-9f7.js → focus-trap.D-HSKa_Q.js} +2 -2
- package/dist/chunks/{focus-trap.DMgm-9f7.js.map → focus-trap.D-HSKa_Q.js.map} +1 -1
- package/dist/chunks/header-with-views.BkcFu7QW.js +2354 -0
- package/dist/chunks/header-with-views.BkcFu7QW.js.map +1 -0
- package/dist/chunks/{header.BASKzNwu.js → header.CyTcPWF4.js} +3 -3
- package/dist/chunks/{header.BASKzNwu.js.map → header.CyTcPWF4.js.map} +1 -1
- package/dist/chunks/index.C5sL_d0I.js +386 -0
- package/dist/chunks/{index.CMGT-6mh.js.map → index.C5sL_d0I.js.map} +1 -1
- package/dist/chunks/{info-icon-with-popover.BJccyOFx.js → info-icon-with-popover.DgZh2mnN.js} +2 -2
- package/dist/chunks/{info-icon-with-popover.BJccyOFx.js.map → info-icon-with-popover.DgZh2mnN.js.map} +1 -1
- package/dist/chunks/{info-icon.L8AexnZg.js → info-icon.DxOAiUg4.js} +2 -2
- package/dist/chunks/{info-icon.L8AexnZg.js.map → info-icon.DxOAiUg4.js.map} +1 -1
- package/dist/chunks/{input-field-password.CZNUHo6s.js → input-field-password.BSJMbPHf.js} +94 -90
- package/dist/chunks/input-field-password.BSJMbPHf.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.D1zlBh3R.js → input-field-phone-number.BtRMkC84.js} +3 -3
- package/dist/chunks/{input-field-phone-number.D1zlBh3R.js.map → input-field-phone-number.BtRMkC84.js.map} +1 -1
- package/dist/chunks/{input-field.DqMdqM2u.js → input-field.CRlXtS3z.js} +3 -3
- package/dist/chunks/{input-field.DqMdqM2u.js.map → input-field.CRlXtS3z.js.map} +1 -1
- package/dist/chunks/{inspector.types.Dwt3V80X.js → inspector.types.s0va--Nn.js} +3 -3
- package/dist/chunks/{inspector.types.Dwt3V80X.js.map → inspector.types.s0va--Nn.js.map} +1 -1
- package/dist/chunks/{layout-row.Drm_y8e3.js → layout-row.CwwbWO7s.js} +2 -2
- package/dist/chunks/{layout-row.Drm_y8e3.js.map → layout-row.CwwbWO7s.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.YSvtcy4P.js → listbox-option-tag.2k0hRv0z.js} +2 -2
- package/dist/chunks/{listbox-option-tag.YSvtcy4P.js.map → listbox-option-tag.2k0hRv0z.js.map} +1 -1
- package/dist/chunks/{menu.DfzP2nRU.js → menu.DBRBVdsd.js} +106 -105
- package/dist/chunks/menu.DBRBVdsd.js.map +1 -0
- package/dist/chunks/{modal-fullscreen.T1x_vroe.js → modal-fullscreen.POY-6qYC.js} +2 -2
- package/dist/chunks/{modal-fullscreen.T1x_vroe.js.map → modal-fullscreen.POY-6qYC.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.BAuxqA66.js → modal.vue_vue_type_script_setup_true_lang.CGV0E6eK.js} +2 -2
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.BAuxqA66.js.map → modal.vue_vue_type_script_setup_true_lang.CGV0E6eK.js.map} +1 -1
- package/dist/chunks/{on-click-outside.MUWbmGDn.js → on-click-outside.D9aY9g8G.js} +3 -2
- package/dist/chunks/{on-click-outside.MUWbmGDn.js.map → on-click-outside.D9aY9g8G.js.map} +1 -1
- package/dist/chunks/{pagination.Bt8DNme-.js → pagination.TWtayPVy.js} +2 -2
- package/dist/chunks/{pagination.Bt8DNme-.js.map → pagination.TWtayPVy.js.map} +1 -1
- package/dist/chunks/{popover.COzLcAET.js → popover.BBnUL5Y_.js} +2 -2
- package/dist/chunks/{popover.COzLcAET.js.map → popover.BBnUL5Y_.js.map} +1 -1
- package/dist/chunks/{popper-container.CEtaux25.js → popper-container.Be3h7X17.js} +2 -2
- package/dist/chunks/{popper-container.CEtaux25.js.map → popper-container.Be3h7X17.js.map} +1 -1
- package/dist/chunks/{promo-banner.BCpw2tDD.js → promo-banner.BdaUFMsl.js} +2 -2
- package/dist/chunks/{promo-banner.BCpw2tDD.js.map → promo-banner.BdaUFMsl.js.map} +1 -1
- package/dist/chunks/{radio-group.rxg-4rF_.js → radio-group.BUazlUAi.js} +4 -4
- package/dist/chunks/{radio-group.rxg-4rF_.js.map → radio-group.BUazlUAi.js.map} +1 -1
- package/dist/chunks/{search-bar.DlihXfPt.js → search-bar.21CWuOHb.js} +3 -3
- package/dist/chunks/{search-bar.DlihXfPt.js.map → search-bar.21CWuOHb.js.map} +1 -1
- package/dist/chunks/{secondary-nav.D2loVonk.js → secondary-nav.CUQi4Ybt.js} +3 -3
- package/dist/chunks/{secondary-nav.D2loVonk.js.map → secondary-nav.CUQi4Ybt.js.map} +1 -1
- package/dist/chunks/{segmented-control.Wn-miTIl.js → segmented-control.BZJ9DzRF.js} +2 -2
- package/dist/chunks/{segmented-control.Wn-miTIl.js.map → segmented-control.BZJ9DzRF.js.map} +1 -1
- package/dist/chunks/{selection-card-group.CtQaeZFM.js → selection-card-group.Bdrx1b6M.js} +4 -4
- package/dist/chunks/{selection-card-group.CtQaeZFM.js.map → selection-card-group.Bdrx1b6M.js.map} +1 -1
- package/dist/chunks/{sidepanel.CjaHQEin.js → sidepanel.D_bGUcyi.js} +3 -3
- package/dist/chunks/{sidepanel.CjaHQEin.js.map → sidepanel.D_bGUcyi.js.map} +1 -1
- package/dist/chunks/{structured-list-item.DAwADFpI.js → structured-list-item.r1jYiX6Y.js} +4 -4
- package/dist/chunks/{structured-list-item.DAwADFpI.js.map → structured-list-item.r1jYiX6Y.js.map} +1 -1
- package/dist/chunks/{summary-grid-item-custom.DTCzOBBy.js → summary-grid-item-custom.ACP0RH0N.js} +299 -198
- package/dist/chunks/summary-grid-item-custom.ACP0RH0N.js.map +1 -0
- package/dist/chunks/{tag.B1hW92hG.js → tag.DVkBzXMx.js} +2 -2
- package/dist/chunks/{tag.B1hW92hG.js.map → tag.DVkBzXMx.js.map} +1 -1
- package/dist/chunks/{teleport.B1NhF5-O.js → teleport.DfTpEQBR.js} +2 -2
- package/dist/chunks/{teleport.B1NhF5-O.js.map → teleport.DfTpEQBR.js.map} +1 -1
- package/dist/chunks/{textarea.DMA29yQA.js → textarea.C8R71Q4l.js} +2 -2
- package/dist/chunks/{textarea.DMA29yQA.js.map → textarea.C8R71Q4l.js.map} +1 -1
- package/dist/chunks/{timeline-item.kWg3dTy1.js → timeline-item.DBeAlt3N.js} +4 -4
- package/dist/chunks/{timeline-item.kWg3dTy1.js.map → timeline-item.DBeAlt3N.js.map} +1 -1
- package/dist/chunks/{tooltip.Y730-n-n.js → tooltip.Cbs_YIap.js} +2 -2
- package/dist/chunks/{tooltip.Y730-n-n.js.map → tooltip.Cbs_YIap.js.map} +1 -1
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CUmJbMsw.js → tutorial.vue_vue_type_script_setup_true_lang.4smMvopK.js} +4 -4
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CUmJbMsw.js.map → tutorial.vue_vue_type_script_setup_true_lang.4smMvopK.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.DDP7LJoI.js → use-cached-selected-values.Chb18cq_.js} +145 -136
- package/dist/chunks/{use-cached-selected-values.DDP7LJoI.js.map → use-cached-selected-values.Chb18cq_.js.map} +1 -1
- package/dist/click-outside.js +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +2 -2
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/dropdown.js +3 -3
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/header-with-views.js +5 -0
- package/dist/header-with-views.js.map +1 -0
- package/dist/header.js +1 -1
- package/dist/index.js +196 -194
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +1 -1
- package/dist/input-field-password.js +1 -1
- package/dist/input-field-phone-number.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/inspector.js +1 -1
- package/dist/internal.js +10 -10
- package/dist/layout.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +47 -1
- package/dist/styles/bento-light.css +47 -1
- package/dist/styles/bento.css +47 -1
- package/dist/styles/legacy.css +47 -1
- package/dist/styles/styleguide.css +47 -1
- package/dist/summary-grid.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/use-form-v4.js +8300 -0
- package/dist/use-form-v4.js.map +1 -0
- package/dist/web-types.json +1 -1
- package/package.json +7 -6
- package/dist/chunks/checkbox.erdZ58Kk.js.map +0 -1
- package/dist/chunks/data-grid.KZqjmRvk.js.map +0 -1
- package/dist/chunks/dropdown.qw5oXFYs.js.map +0 -1
- package/dist/chunks/file-uploader.BLJpDgAZ.js.map +0 -1
- package/dist/chunks/filter-bar.DYrXBQDF.js.map +0 -1
- package/dist/chunks/index.CMGT-6mh.js +0 -369
- package/dist/chunks/input-field-password.CZNUHo6s.js.map +0 -1
- package/dist/chunks/menu.DfzP2nRU.js.map +0 -1
- package/dist/chunks/summary-grid-item-custom.DTCzOBBy.js.map +0 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { ref as C, watch as Oe, computed as p, defineComponent as j, useSlots as Be, toRefs as De, createBlock as K, openBlock as L, resolveDynamicComponent as Ie, mergeProps as P, withCtx as z, createElementVNode as te, withKeys as
|
|
1
|
+
import { ref as C, watch as Oe, computed as p, defineComponent as j, useSlots as Be, toRefs as De, createBlock as K, openBlock as L, resolveDynamicComponent as Ie, mergeProps as P, withCtx as z, createElementVNode as te, withKeys as _e, 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 k, createCommentVNode as F, toDisplayString as ve, normalizeClass as fe, withDirectives as ee, vShow as Le, nextTick as I, useAttrs as Ze, toRef as D, inject as Qe, createTextVNode as Xe } from "vue";
|
|
2
2
|
import { d as Ee, B as Ge } from "./typography.DN5eC5ch.js";
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import { a as se, b as J, c as et, B as V, D as tt } from "./dropdown-default-textbox.CwsgzDpx.js";
|
|
4
|
+
/* empty css */
|
|
5
|
+
import { _ } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
6
|
+
import { s as ie } from "./events.FNmSWp_P.js";
|
|
7
|
+
import { g as Y } from "./generate-uid.NJ8tVoha.js";
|
|
8
|
+
import { u as at } from "./aria-label.CaUURpnB.js";
|
|
5
9
|
import { u as ye } from "./i18n.D9azDLPe.js";
|
|
6
|
-
import { u as
|
|
7
|
-
import { B as
|
|
8
|
-
import {
|
|
9
|
-
import { B as
|
|
10
|
-
import { a as ie, b as _, c as ot, B as V, D as nt } from "./dropdown-default-textbox.CwsgzDpx.js";
|
|
11
|
-
import { a as f, b as pe, B as me, c as st, u as it } from "./use-cached-selected-values.DDP7LJoI.js";
|
|
10
|
+
import { u as ot } from "./use-form-layout-loading.D3lALhtC.js";
|
|
11
|
+
import { B as lt } from "./directive.Cbdox5VL.js";
|
|
12
|
+
import { B as N, a as nt } from "./keyboard-navigation.CqgGzfZQ.js";
|
|
13
|
+
import { a as f, b as pe, B as me, c as st, u as it } from "./use-cached-selected-values.Chb18cq_.js";
|
|
12
14
|
import { u as rt } from "./use-has-slot.B7eQSabc.js";
|
|
13
|
-
import { F as dt, E as ut } from "./error-message.
|
|
14
|
-
import { P as we } from "./popper-container.
|
|
15
|
+
import { F as dt, E as ut } from "./error-message.BQ5MlnLg.js";
|
|
16
|
+
import { P as we } from "./popper-container.Be3h7X17.js";
|
|
15
17
|
import "./popper-container.types.BCZMbVFD.js";
|
|
16
|
-
import { B as ct } from "./popover.
|
|
17
|
-
import { _ as Y } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
18
|
-
/* empty css */
|
|
18
|
+
import { B as ct } from "./popover.BBnUL5Y_.js";
|
|
19
19
|
import "../assets/dropdown.css";
|
|
20
20
|
const be = {
|
|
21
21
|
"en-US": {
|
|
@@ -32,30 +32,30 @@ const be = {
|
|
|
32
32
|
cancel: "Cancelar"
|
|
33
33
|
}
|
|
34
34
|
}, ft = (e, i, s, a) => {
|
|
35
|
-
const
|
|
35
|
+
const l = C(e.value), { t: o } = ye({ messages: be });
|
|
36
36
|
Oe(e, () => {
|
|
37
|
-
|
|
37
|
+
l.value = e.value;
|
|
38
38
|
});
|
|
39
39
|
const t = p(
|
|
40
|
-
() => JSON.stringify(
|
|
40
|
+
() => JSON.stringify(l.value) === JSON.stringify(e.value)
|
|
41
41
|
), c = () => {
|
|
42
|
-
a(f.SELECT,
|
|
42
|
+
a(f.SELECT, l.value), a(f.CLOSE_DROPDOWN);
|
|
43
43
|
}, m = () => {
|
|
44
|
-
|
|
44
|
+
l.value = e.value, a(f.CLOSE_DROPDOWN);
|
|
45
45
|
}, h = () => {
|
|
46
|
-
s.value && i.value && (
|
|
46
|
+
s.value && i.value && (l.value = e.value);
|
|
47
47
|
}, r = p(() => [
|
|
48
48
|
{
|
|
49
|
-
title:
|
|
49
|
+
title: o("apply"),
|
|
50
50
|
event: c,
|
|
51
51
|
disabled: t.value
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
|
-
title:
|
|
54
|
+
title: o("cancel"),
|
|
55
55
|
event: m
|
|
56
56
|
}
|
|
57
57
|
]), b = (S) => {
|
|
58
|
-
|
|
58
|
+
l.value = S, i.value || a(f.SELECT, S);
|
|
59
59
|
}, u = (S) => {
|
|
60
60
|
b(S), a(f.TAB);
|
|
61
61
|
}, x = (S) => {
|
|
@@ -76,7 +76,7 @@ const be = {
|
|
|
76
76
|
return {
|
|
77
77
|
// Values
|
|
78
78
|
actions: r,
|
|
79
|
-
internalSelectedValue:
|
|
79
|
+
internalSelectedValue: l,
|
|
80
80
|
// Methods
|
|
81
81
|
listeners: E,
|
|
82
82
|
onEscapeKey: v,
|
|
@@ -92,6 +92,10 @@ const be = {
|
|
|
92
92
|
* Defines a string value that labels an interactive element.
|
|
93
93
|
*/
|
|
94
94
|
ariaLabel: { type: String, default: null },
|
|
95
|
+
/**
|
|
96
|
+
* Indicates that dropdown items are loading
|
|
97
|
+
*/
|
|
98
|
+
componentLoading: { type: Boolean, default: !1 },
|
|
95
99
|
/**
|
|
96
100
|
* Empty state props used with the inner empty state component which is displayed when no search results are found.
|
|
97
101
|
*/
|
|
@@ -145,7 +149,7 @@ const be = {
|
|
|
145
149
|
validator: (e) => Object.values(me).includes(e)
|
|
146
150
|
},
|
|
147
151
|
/**
|
|
148
|
-
* Indicates if new options are loading.
|
|
152
|
+
* Indicates if new options are lazy loading.
|
|
149
153
|
*/
|
|
150
154
|
loading: { type: Boolean, default: !1 },
|
|
151
155
|
/**
|
|
@@ -192,29 +196,29 @@ const be = {
|
|
|
192
196
|
}
|
|
193
197
|
},
|
|
194
198
|
setup(e, { expose: i, emit: s }) {
|
|
195
|
-
const a = Be(),
|
|
196
|
-
"b-dropdown-options-container--single": !(
|
|
199
|
+
const a = Be(), l = s, o = e, { selectedValue: t, multiple: c } = De(o), m = C(null), { t: h } = ye({ messages: be }), r = p(() => o.open && !o.disabled), b = p(() => h("noOptionsMatchThisSearch")), u = p(() => ({
|
|
200
|
+
"b-dropdown-options-container--single": !(o != null && o.multiple)
|
|
197
201
|
})), x = p(() => ({
|
|
198
|
-
"b-dropdown-options-container__listbox--single": !(
|
|
199
|
-
})), { actions: O, internalSelectedValue: v, listeners: B, onEscapeKey: E, onOutsideDropdownClick: S } = ft(t, c, r,
|
|
202
|
+
"b-dropdown-options-container__listbox--single": !(o != null && o.multiple)
|
|
203
|
+
})), { actions: O, internalSelectedValue: v, listeners: B, onEscapeKey: E, onOutsideDropdownClick: S } = ft(t, c, r, l), W = p(() => o != null && o.multiple ? ct : we), q = p(() => {
|
|
200
204
|
var d;
|
|
201
205
|
const A = {
|
|
202
|
-
"min-width": `${(d =
|
|
206
|
+
"min-width": `${(d = o == null ? void 0 : o.targetElement) == null ? void 0 : d.clientWidth}px`,
|
|
203
207
|
"max-width": "min(500px, 95%)"
|
|
204
208
|
};
|
|
205
|
-
return
|
|
209
|
+
return o != null && o.multiple ? {
|
|
206
210
|
actionsLayout: "space-between",
|
|
207
211
|
actions: O.value,
|
|
208
212
|
divider: !0,
|
|
209
213
|
fallbackPosition: ["top-start"],
|
|
210
|
-
id:
|
|
211
|
-
open:
|
|
214
|
+
id: Y(`dropdown-options-${o.id}`),
|
|
215
|
+
open: o.open,
|
|
212
216
|
position: "bottom-start",
|
|
213
217
|
style: {
|
|
214
218
|
width: "auto",
|
|
215
219
|
...A
|
|
216
220
|
},
|
|
217
|
-
targetElement:
|
|
221
|
+
targetElement: o.targetElement
|
|
218
222
|
} : {
|
|
219
223
|
fallbackPosition: ["top-start"],
|
|
220
224
|
offset: [0, 8],
|
|
@@ -223,7 +227,7 @@ const be = {
|
|
|
223
227
|
display: r.value ? "block" : "none",
|
|
224
228
|
...A
|
|
225
229
|
},
|
|
226
|
-
targetElement:
|
|
230
|
+
targetElement: o.targetElement
|
|
227
231
|
};
|
|
228
232
|
});
|
|
229
233
|
return i({
|
|
@@ -234,7 +238,7 @@ const be = {
|
|
|
234
238
|
}, q.value), {
|
|
235
239
|
default: z(() => [
|
|
236
240
|
te("div", {
|
|
237
|
-
onKeydown: d[0] || (d[0] =
|
|
241
|
+
onKeydown: d[0] || (d[0] = _e(
|
|
238
242
|
//@ts-ignore
|
|
239
243
|
(...y) => n(E) && n(E)(...y),
|
|
240
244
|
["esc"]
|
|
@@ -246,6 +250,7 @@ const be = {
|
|
|
246
250
|
ref: m,
|
|
247
251
|
"aria-label": e.ariaLabel,
|
|
248
252
|
class: ["b-dropdown-options-container__listbox", x.value],
|
|
253
|
+
"component-loading": e.componentLoading,
|
|
249
254
|
"empty-state": e.emptyState,
|
|
250
255
|
"is-option-disabled": e.isOptionDisabled,
|
|
251
256
|
items: e.items,
|
|
@@ -265,20 +270,20 @@ const be = {
|
|
|
265
270
|
X(A.$slots, w, ue(ce(R)), void 0, !0)
|
|
266
271
|
])
|
|
267
272
|
}))
|
|
268
|
-
]), 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"])
|
|
273
|
+
]), 1040, ["id", "aria-label", "class", "component-loading", "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
274
|
], 32)
|
|
270
275
|
]),
|
|
271
276
|
_: 3
|
|
272
277
|
}, 16, ["aria-label", "class"]));
|
|
273
278
|
}
|
|
274
|
-
}), vt = /* @__PURE__ */
|
|
279
|
+
}), vt = /* @__PURE__ */ _(mt, [["__scopeId", "data-v-a5de52a2"]]);
|
|
275
280
|
let Ce = 0;
|
|
276
281
|
const yt = {
|
|
277
282
|
beforeCreate() {
|
|
278
283
|
this.uuid = Ce.toString(), Ce += 1;
|
|
279
284
|
}
|
|
280
285
|
}, bt = { key: 0 };
|
|
281
|
-
function gt(e, i, s, a,
|
|
286
|
+
function gt(e, i, s, a, l, o) {
|
|
282
287
|
return L(), k("svg", P({ role: "img" }, e.$attrs, {
|
|
283
288
|
class: "ui-assets-icons-16",
|
|
284
289
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -293,14 +298,14 @@ function gt(e, i, s, a, o, l) {
|
|
|
293
298
|
}, null, -1))
|
|
294
299
|
], 16);
|
|
295
300
|
}
|
|
296
|
-
const ht = /* @__PURE__ */
|
|
301
|
+
const ht = /* @__PURE__ */ _(yt, [["render", gt]]);
|
|
297
302
|
let xe = 0;
|
|
298
303
|
const St = {
|
|
299
304
|
beforeCreate() {
|
|
300
305
|
this.uuid = xe.toString(), xe += 1;
|
|
301
306
|
}
|
|
302
307
|
}, Lt = { key: 0 };
|
|
303
|
-
function Et(e, i, s, a,
|
|
308
|
+
function Et(e, i, s, a, l, o) {
|
|
304
309
|
return L(), k("svg", P({ role: "img" }, e.$attrs, {
|
|
305
310
|
class: "ui-assets-icons-16",
|
|
306
311
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -315,7 +320,7 @@ function Et(e, i, s, a, o, l) {
|
|
|
315
320
|
}, null, -1))
|
|
316
321
|
], 16);
|
|
317
322
|
}
|
|
318
|
-
const wt = /* @__PURE__ */
|
|
323
|
+
const wt = /* @__PURE__ */ _(St, [["render", Et]]), Ct = { class: "b-dropdown-small-textbox__chevron" }, xt = j({
|
|
319
324
|
name: "dropdown-small-textbox",
|
|
320
325
|
inheritAttrs: !1
|
|
321
326
|
}), Ot = /* @__PURE__ */ j({
|
|
@@ -380,37 +385,37 @@ const wt = /* @__PURE__ */ Y(St, [["render", Et]]), Ct = { class: "b-dropdown-sm
|
|
|
380
385
|
},
|
|
381
386
|
emits: ["clear", "close", "input", "keydown", "open"],
|
|
382
387
|
setup(e, { expose: i, emit: s }) {
|
|
383
|
-
const a = s,
|
|
384
|
-
[`b-dropdown-small-textbox--${
|
|
385
|
-
[`b-dropdown-small-textbox--${
|
|
386
|
-
[`b-dropdown-small-textbox--${
|
|
387
|
-
})), c = p(() =>
|
|
388
|
+
const a = s, l = e, o = C(null), t = p(() => ({
|
|
389
|
+
[`b-dropdown-small-textbox--${se.DISABLED}`]: l.disabled,
|
|
390
|
+
[`b-dropdown-small-textbox--${se.READONLY}`]: l.readonly,
|
|
391
|
+
[`b-dropdown-small-textbox--${se.OPENED}`]: l.open
|
|
392
|
+
})), c = p(() => l.open && !l.disabled && !l.readonly), m = (v) => {
|
|
388
393
|
a("input", v);
|
|
389
394
|
}, h = (v) => {
|
|
390
395
|
a("keydown", v);
|
|
391
396
|
}, r = (v) => {
|
|
392
|
-
|
|
397
|
+
ie(v), a("open");
|
|
393
398
|
}, b = (v) => {
|
|
394
|
-
|
|
399
|
+
ie(v), a("close");
|
|
395
400
|
}, u = (v) => {
|
|
396
|
-
|
|
401
|
+
ie(v), a("clear");
|
|
397
402
|
}, x = {
|
|
398
|
-
[
|
|
399
|
-
[
|
|
400
|
-
[
|
|
401
|
-
[
|
|
402
|
-
[
|
|
403
|
+
[J.INPUT]: m,
|
|
404
|
+
[J.OPEN]: r,
|
|
405
|
+
[J.CLOSE]: b,
|
|
406
|
+
[J.CLEAR]: u,
|
|
407
|
+
[J.KEYDOWN]: h
|
|
403
408
|
};
|
|
404
409
|
return i({
|
|
405
410
|
focus: () => {
|
|
406
|
-
|
|
411
|
+
o.value.focus();
|
|
407
412
|
}
|
|
408
413
|
}), (v, B) => (L(), k("div", {
|
|
409
414
|
class: fe(["b-dropdown-small-textbox", t.value])
|
|
410
415
|
}, [
|
|
411
|
-
Q(
|
|
416
|
+
Q(et, P({
|
|
412
417
|
ref_key: "baseTextbox",
|
|
413
|
-
ref:
|
|
418
|
+
ref: o
|
|
414
419
|
}, { ...v.$attrs, ...v.$props }, {
|
|
415
420
|
class: "b-dropdown-small-textbox__textbox",
|
|
416
421
|
size: n(V).SMALL
|
|
@@ -429,22 +434,22 @@ const wt = /* @__PURE__ */ Y(St, [["render", Et]]), Ct = { class: "b-dropdown-sm
|
|
|
429
434
|
}, 16, ["size"])
|
|
430
435
|
], 2));
|
|
431
436
|
}
|
|
432
|
-
}), Bt = /* @__PURE__ */
|
|
437
|
+
}), Bt = /* @__PURE__ */ _(Ot, [["__scopeId", "data-v-66b5eaa5"]]), Dt = (e, i) => i.value.reduce((s, a) => {
|
|
433
438
|
if (a.items) {
|
|
434
|
-
const
|
|
439
|
+
const l = a.items.filter(
|
|
435
440
|
(t) => e.value.find((c) => c.value === t.value)
|
|
436
441
|
);
|
|
437
|
-
|
|
442
|
+
l.length === a.items.length ? s.push(a.displayValue ?? a.label) : l.forEach(({ label: t, displayValue: c }) => s.push(c ?? t));
|
|
438
443
|
}
|
|
439
|
-
return e.value.find((
|
|
444
|
+
return e.value.find((l) => l.value === a.value) && s.push(a.displayValue ?? a.label), s;
|
|
440
445
|
}, []).join(", "), It = ({ items: e, placeholder: i, selectedValues: s, isMultiSelect: a }) => {
|
|
441
|
-
const
|
|
446
|
+
const l = p(
|
|
442
447
|
() => a.value && e.value.find((t) => {
|
|
443
448
|
var c;
|
|
444
449
|
return (c = t.items) == null ? void 0 : c.length;
|
|
445
450
|
})
|
|
446
451
|
);
|
|
447
|
-
return p(() => s.value.length ?
|
|
452
|
+
return p(() => s.value.length ? l.value ? Dt(s, e) : s.value.map(({ label: t, displayValue: c }) => c ?? t).join(", ") : i.value || null);
|
|
448
453
|
}, Te = (e) => {
|
|
449
454
|
var i;
|
|
450
455
|
(i = e.value.$children) == null || i[0].$refs.textbox.focus();
|
|
@@ -453,16 +458,16 @@ const wt = /* @__PURE__ */ Y(St, [["render", Et]]), Ct = { class: "b-dropdown-sm
|
|
|
453
458
|
optionsContainerRef: i,
|
|
454
459
|
selectedValueIndex: s,
|
|
455
460
|
isDropdownOpen: a,
|
|
456
|
-
isDynamicFltering:
|
|
457
|
-
items:
|
|
461
|
+
isDynamicFltering: l,
|
|
462
|
+
items: o,
|
|
458
463
|
isMultiple: t
|
|
459
464
|
}, c, m, h) => {
|
|
460
465
|
const r = async (d) => {
|
|
461
466
|
var y, w;
|
|
462
|
-
|
|
467
|
+
l.value && await I(), (w = (y = i.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : y.$el.querySelectorAll('[role="option"]')[d]) == null || w.focus();
|
|
463
468
|
}, b = async (d) => {
|
|
464
469
|
var w, R;
|
|
465
|
-
|
|
470
|
+
l.value && await I();
|
|
466
471
|
const y = (w = i.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : w.$el.querySelectorAll(
|
|
467
472
|
"button"
|
|
468
473
|
);
|
|
@@ -485,9 +490,9 @@ const wt = /* @__PURE__ */ Y(St, [["render", Et]]), Ct = { class: "b-dropdown-sm
|
|
|
485
490
|
var d;
|
|
486
491
|
if (t) {
|
|
487
492
|
const y = i.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children;
|
|
488
|
-
(d = y == null ? void 0 : y[y.length - 1].$el.querySelectorAll('[role="option"]')[
|
|
493
|
+
(d = y == null ? void 0 : y[y.length - 1].$el.querySelectorAll('[role="option"]')[o.length - 1]) == null || d.focus();
|
|
489
494
|
} else
|
|
490
|
-
u(
|
|
495
|
+
u(o.length - 1), r(o.length - 1);
|
|
491
496
|
}));
|
|
492
497
|
}, B = () => {
|
|
493
498
|
a.value && (h(), Te(e));
|
|
@@ -507,7 +512,7 @@ const wt = /* @__PURE__ */ Y(St, [["render", Et]]), Ct = { class: "b-dropdown-sm
|
|
|
507
512
|
});
|
|
508
513
|
};
|
|
509
514
|
return p(() => ({
|
|
510
|
-
...
|
|
515
|
+
...l.value ? {} : { [N.SPACE]: W },
|
|
511
516
|
[N.ENTER]: q,
|
|
512
517
|
[N.ARROW_DOWN]: x,
|
|
513
518
|
[N.ARROW_UP]: O,
|
|
@@ -530,14 +535,14 @@ const wt = /* @__PURE__ */ Y(St, [["render", Et]]), Ct = { class: "b-dropdown-sm
|
|
|
530
535
|
};
|
|
531
536
|
};
|
|
532
537
|
function Nt(e, i, s, a) {
|
|
533
|
-
const
|
|
534
|
-
return Oe(
|
|
535
|
-
s !== void 0 && s(
|
|
538
|
+
const l = C(e), o = C(i), t = (m, h = []) => h.flatMap((r) => r.label.toLocaleLowerCase().includes(m) ? a != null && a.value && r.items ? [...t(m, r.items)] : [r, ...t(m, r.items)] : r.items ? [...t(m, r.items)] : []);
|
|
539
|
+
return Oe(l, () => {
|
|
540
|
+
s !== void 0 && s(l.value);
|
|
536
541
|
}), p(() => {
|
|
537
|
-
if (!
|
|
538
|
-
return
|
|
539
|
-
const m =
|
|
540
|
-
return t(m,
|
|
542
|
+
if (!l.value || s !== void 0)
|
|
543
|
+
return o.value;
|
|
544
|
+
const m = l.value.toLocaleLowerCase();
|
|
545
|
+
return t(m, o.value);
|
|
541
546
|
});
|
|
542
547
|
}
|
|
543
548
|
const $e = {
|
|
@@ -558,7 +563,7 @@ const $e = {
|
|
|
558
563
|
i18n: { messages: $e },
|
|
559
564
|
name: "b-dropdown",
|
|
560
565
|
components: {
|
|
561
|
-
DropdownInputDefault:
|
|
566
|
+
DropdownInputDefault: tt,
|
|
562
567
|
DropdownInputSmall: Bt
|
|
563
568
|
}
|
|
564
569
|
}), Mt = /* @__PURE__ */ j({
|
|
@@ -639,9 +644,13 @@ const $e = {
|
|
|
639
644
|
*/
|
|
640
645
|
label: { type: String, default: null },
|
|
641
646
|
/**
|
|
642
|
-
* Indicates if new options are loading.
|
|
647
|
+
* Indicates if new options are lazy loading.
|
|
643
648
|
*/
|
|
644
649
|
loading: { type: Boolean, default: !1 },
|
|
650
|
+
/**
|
|
651
|
+
* Indicates that dropdown items are loading
|
|
652
|
+
*/
|
|
653
|
+
componentLoading: { type: Boolean, default: !1 },
|
|
645
654
|
/**
|
|
646
655
|
* The type of `Lazy Load`.
|
|
647
656
|
* Type "automatic" will enable infinite scrolling
|
|
@@ -721,11 +730,11 @@ const $e = {
|
|
|
721
730
|
emits: ["input", "show-more"],
|
|
722
731
|
setup(e, { expose: i, emit: s }) {
|
|
723
732
|
var Se;
|
|
724
|
-
const a = Ze(),
|
|
733
|
+
const a = Ze(), l = Be(), o = rt(l), t = e, c = s, { t: m } = ye({ messages: $e }), h = C(null), r = C(null), b = C(null), u = C(!1), x = Y("bento-dropdown-options-container"), O = Y("dropdown-label"), v = Y("dropdown-description"), B = Y("dropdown-error"), { isReadOnly: E } = ot(D(t, "readonly")), { cachedSelectedListboxOptions: S, cachedListboxSelectedValues: W, setCachedValues: q } = st(
|
|
725
734
|
D(t, "items"),
|
|
726
735
|
D(t, "value"),
|
|
727
736
|
D(t, "multiple")
|
|
728
|
-
), A = C(a["aria-label"]), { ariaLabel: d, label: y } = De(t), w =
|
|
737
|
+
), A = C(a["aria-label"]), { ariaLabel: d, label: y } = De(t), w = at({
|
|
729
738
|
// TODO: take ariaLabel ref away when aria-label prop is removed
|
|
730
739
|
ariaLabel: d || A,
|
|
731
740
|
label: y,
|
|
@@ -765,9 +774,9 @@ const $e = {
|
|
|
765
774
|
() => `${t.description ? v : ""} ${t.errorMessage ? B : ""}`.trim() || null
|
|
766
775
|
), We = () => {
|
|
767
776
|
E.value || (u.value = !0);
|
|
768
|
-
}, le = () => {
|
|
769
|
-
u.value = !1;
|
|
770
777
|
}, oe = () => {
|
|
778
|
+
u.value = !1;
|
|
779
|
+
}, le = () => {
|
|
771
780
|
E.value || (u.value = !u.value, ae.value && (M.value = ""));
|
|
772
781
|
}, qe = () => {
|
|
773
782
|
ae.value && (M.value = ""), u.value && (u.value = !1, b.value.onOutsideDropdownClick());
|
|
@@ -775,7 +784,7 @@ const $e = {
|
|
|
775
784
|
t.multiple || (M.value = "", u.value = !1), q(g), c("input", W.value);
|
|
776
785
|
}, He = () => {
|
|
777
786
|
c(f.SHOW_MORE);
|
|
778
|
-
},
|
|
787
|
+
}, Je = Tt(
|
|
779
788
|
{
|
|
780
789
|
inputContainerRef: h,
|
|
781
790
|
optionsContainerRef: b,
|
|
@@ -785,20 +794,20 @@ const $e = {
|
|
|
785
794
|
items: t.items,
|
|
786
795
|
isMultiple: t.multiple
|
|
787
796
|
},
|
|
788
|
-
|
|
797
|
+
le,
|
|
789
798
|
We,
|
|
790
|
-
|
|
791
|
-
),
|
|
799
|
+
oe
|
|
800
|
+
), Ve = $t(
|
|
792
801
|
{
|
|
793
802
|
inputContainerRef: h,
|
|
794
803
|
isDropdownOpen: u
|
|
795
804
|
},
|
|
796
|
-
|
|
797
|
-
),
|
|
798
|
-
[f.CLOSE_DROPDOWN]:
|
|
805
|
+
oe
|
|
806
|
+
), Ye = {
|
|
807
|
+
[f.CLOSE_DROPDOWN]: oe,
|
|
799
808
|
[f.SELECT]: Ue,
|
|
800
809
|
[f.SHOW_MORE]: He,
|
|
801
|
-
...
|
|
810
|
+
...Ve
|
|
802
811
|
};
|
|
803
812
|
return t.error && Ee(
|
|
804
813
|
'BentoDropdown "error" property',
|
|
@@ -827,7 +836,7 @@ const $e = {
|
|
|
827
836
|
ee((L(), k("div", P({
|
|
828
837
|
ref_key: "inputContainerRefWrapper",
|
|
829
838
|
ref: r
|
|
830
|
-
}, G(n(
|
|
839
|
+
}, G(n(Je), !0)), [
|
|
831
840
|
(L(), K(Ie(Ne.value), {
|
|
832
841
|
ref_key: "inputContainerRef",
|
|
833
842
|
ref: h,
|
|
@@ -850,10 +859,10 @@ const $e = {
|
|
|
850
859
|
"selected-value-item": n(R) ? void 0 : Pe.value,
|
|
851
860
|
"show-slot-content-in-multiple": e.showSlotContentInMultiple,
|
|
852
861
|
onInput: T[0] || (T[0] = (U) => M.value = U),
|
|
853
|
-
onOpen:
|
|
854
|
-
onClose:
|
|
862
|
+
onOpen: le,
|
|
863
|
+
onClose: le
|
|
855
864
|
}, re({ _: 2 }, [
|
|
856
|
-
de(n(
|
|
865
|
+
de(n(l), (U, H) => ({
|
|
857
866
|
name: H,
|
|
858
867
|
fn: z((ne) => [
|
|
859
868
|
X(g.$slots, H, ue(ce(ne)), void 0, !0)
|
|
@@ -861,7 +870,7 @@ const $e = {
|
|
|
861
870
|
}))
|
|
862
871
|
]), 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"]))
|
|
863
872
|
], 16)), [
|
|
864
|
-
[n(
|
|
873
|
+
[n(nt)]
|
|
865
874
|
]),
|
|
866
875
|
h.value ? (L(), K(n(vt), P({
|
|
867
876
|
key: 1,
|
|
@@ -869,6 +878,7 @@ const $e = {
|
|
|
869
878
|
ref_key: "optionsContainerRef",
|
|
870
879
|
ref: b,
|
|
871
880
|
"aria-label": n(w),
|
|
881
|
+
"component-loading": e.componentLoading,
|
|
872
882
|
"empty-state": e.emptyState,
|
|
873
883
|
"debounce-time": ($ = e.search) == null ? void 0 : $.debounceTime,
|
|
874
884
|
disabled: e.disabled,
|
|
@@ -884,21 +894,21 @@ const $e = {
|
|
|
884
894
|
"has-more-items": e.hasMoreItems,
|
|
885
895
|
"lazy-load-type": e.lazyLoadType,
|
|
886
896
|
"virtual-scroll": e.virtualScroll
|
|
887
|
-
}, G(
|
|
888
|
-
de(n(
|
|
897
|
+
}, G(Ye)), re({ _: 2 }, [
|
|
898
|
+
de(n(l), (U, H) => ({
|
|
889
899
|
name: H,
|
|
890
900
|
fn: z((ne) => [
|
|
891
901
|
X(g.$slots, H, ue(ce(ne)), void 0, !0)
|
|
892
902
|
])
|
|
893
903
|
}))
|
|
894
|
-
]), 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"])) : F("", !0),
|
|
904
|
+
]), 1040, ["id", "aria-label", "component-loading", "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"])) : F("", !0),
|
|
895
905
|
e.errorMessage ? (L(), K(n(ut), {
|
|
896
906
|
key: 2,
|
|
897
907
|
id: n(B),
|
|
898
908
|
"error-message": e.errorMessage,
|
|
899
909
|
class: "b-dropdown__error-message"
|
|
900
910
|
}, null, 8, ["id", "error-message"])) : F("", !0),
|
|
901
|
-
e.description || n(
|
|
911
|
+
e.description || n(o)("description") ? (L(), K(n(Ge), {
|
|
902
912
|
key: 3,
|
|
903
913
|
id: n(v),
|
|
904
914
|
class: fe(["b-dropdown__description", Re.value]),
|
|
@@ -912,16 +922,16 @@ const $e = {
|
|
|
912
922
|
_: 3
|
|
913
923
|
}, 8, ["id", "class"])) : F("", !0)
|
|
914
924
|
], 2)), [
|
|
915
|
-
[n(
|
|
925
|
+
[n(lt), qe]
|
|
916
926
|
]);
|
|
917
927
|
};
|
|
918
928
|
}
|
|
919
|
-
}),
|
|
929
|
+
}), oa = /* @__PURE__ */ _(Mt, [["__scopeId", "data-v-65262eab"]]);
|
|
920
930
|
export {
|
|
921
|
-
|
|
931
|
+
oa as B,
|
|
922
932
|
ta as I,
|
|
923
933
|
At as a,
|
|
924
934
|
aa as b,
|
|
925
935
|
Nt as u
|
|
926
936
|
};
|
|
927
|
-
//# sourceMappingURL=dropdown.
|
|
937
|
+
//# sourceMappingURL=dropdown.RVt9T6j5.js.map
|