bitboss-ui 2.1.102 → 2.1.104
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/components/BaseColorInput/BaseColorInput.vue.d.ts +21 -47
- package/dist/components/BaseColorInput/ColorPalette.vue.d.ts +36 -0
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +1 -1
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +17 -0
- package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +207 -0
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +277 -0
- package/dist/components/FlatListBox.vue.d.ts +4 -1
- package/dist/components/GroupedListBox.vue.d.ts +4 -1
- package/dist/components/ListBox.vue.d.ts +5 -1
- package/dist/composables/useCoherence.d.ts +1 -0
- package/dist/composables/usePrefill.d.ts +13 -3
- package/dist/i18n/en.d.ts +5 -0
- package/dist/i18n/it.d.ts +5 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +79 -77
- package/dist/index109.js +132 -175
- package/dist/index11.js +1 -1
- package/dist/index110.js +185 -0
- package/dist/{index115.js → index116.js} +1 -1
- package/dist/index12.js +2 -2
- package/dist/{index121.js → index122.js} +10 -10
- package/dist/{index123.js → index124.js} +15 -17
- package/dist/index13.js +6 -6
- package/dist/{index131.js → index132.js} +1 -1
- package/dist/{index133.js → index134.js} +6 -6
- package/dist/{index135.js → index136.js} +1 -1
- package/dist/{index137.js → index138.js} +4 -4
- package/dist/index14.js +1 -1
- package/dist/index140.js +13 -11
- package/dist/index141.js +11 -2
- package/dist/index142.js +2 -419
- package/dist/index143.js +417 -7
- package/dist/index144.js +8 -8
- package/dist/index145.js +9 -25
- package/dist/index146.js +25 -2
- package/dist/index147.js +2 -5
- package/dist/index148.js +5 -6
- package/dist/index149.js +5 -4
- package/dist/index150.js +5 -3
- package/dist/index151.js +1 -1
- package/dist/index152.js +1 -1
- package/dist/index153.js +1 -1
- package/dist/index154.js +1 -1
- package/dist/index155.js +1 -1
- package/dist/index156.js +1 -1
- package/dist/index157.js +1 -1
- package/dist/index158.js +1 -1
- package/dist/index159.js +1 -1
- package/dist/index16.js +80 -94
- package/dist/index160.js +1 -1
- package/dist/index161.js +1 -1
- package/dist/index162.js +1 -1
- package/dist/index163.js +1 -1
- package/dist/index164.js +1 -1
- package/dist/index165.js +1 -1
- package/dist/index166.js +1 -1
- package/dist/index167.js +1 -1
- package/dist/index168.js +1 -1
- package/dist/index169.js +1 -1
- package/dist/index170.js +1 -1
- package/dist/index171.js +1 -1
- package/dist/index172.js +1 -1
- package/dist/index173.js +1 -1
- package/dist/index174.js +1 -1
- package/dist/index175.js +1 -1
- package/dist/index176.js +1 -1
- package/dist/index177.js +1 -1
- package/dist/index178.js +1 -1
- package/dist/index179.js +1 -1
- package/dist/index18.js +3 -3
- package/dist/index180.js +1 -1
- package/dist/index181.js +1 -1
- package/dist/index182.js +1 -1
- package/dist/index183.js +2 -3
- package/dist/index184.js +1 -1
- package/dist/index185.js +1 -1
- package/dist/index186.js +1 -1
- package/dist/index187.js +1 -1
- package/dist/index188.js +3 -2
- package/dist/index189.js +1 -1
- package/dist/index190.js +2 -3
- package/dist/index191.js +1 -1
- package/dist/index192.js +1 -1
- package/dist/index193.js +1 -1
- package/dist/index194.js +2 -2
- package/dist/index195.js +1 -1
- package/dist/index196.js +1 -1
- package/dist/index197.js +1 -1
- package/dist/index198.js +3 -2
- package/dist/index199.js +1 -1
- package/dist/index20.js +14 -14
- package/dist/index200.js +2 -3
- package/dist/index201.js +1 -1
- package/dist/index202.js +1 -1
- package/dist/index203.js +1 -1
- package/dist/index204.js +1 -1
- package/dist/index205.js +1 -1
- package/dist/index206.js +1 -1
- package/dist/index207.js +1 -1
- package/dist/index208.js +1 -1
- package/dist/index209.js +1 -1
- package/dist/index210.js +1 -1
- package/dist/index211.js +1 -1
- package/dist/index212.js +1 -1
- package/dist/index213.js +1 -1
- package/dist/index214.js +5 -0
- package/dist/index215.js +3 -7
- package/dist/index217.js +7 -2
- package/dist/index218.js +2 -2
- package/dist/index219.js +137 -4
- package/dist/index22.js +14 -14
- package/dist/index220.js +2 -8
- package/dist/index221.js +3 -33
- package/dist/index222.js +5 -28
- package/dist/index223.js +10 -0
- package/dist/index224.js +2 -2
- package/dist/index225.js +66 -12
- package/dist/index226.js +86 -2
- package/dist/index228.js +30 -3
- package/dist/index229.js +17 -5
- package/dist/index230.js +51 -5
- package/dist/index231.js +18 -5
- package/dist/index232.js +3 -5
- package/dist/index233.js +12 -3
- package/dist/index234.js +18 -2
- package/dist/index235.js +13 -6
- package/dist/index236.js +12 -7
- package/dist/index237.js +13 -268
- package/dist/index238.js +2 -52
- package/dist/index239.js +101 -47
- package/dist/index24.js +13 -13
- package/dist/index241.js +95 -55
- package/dist/index243.js +3 -5
- package/dist/index244.js +18 -5
- package/dist/index245.js +12 -5
- package/dist/index246.js +4 -2
- package/dist/index247.js +135 -3
- package/dist/index249.js +102 -130
- package/dist/index250.js +4 -0
- package/dist/index251.js +11 -4
- package/dist/index252.js +2 -4
- package/dist/index253.js +2 -201
- package/dist/index254.js +9 -0
- package/dist/index255.js +6 -187
- package/dist/index256.js +5 -3
- package/dist/index257.js +9 -3
- package/dist/index258.js +23 -2
- package/dist/index259.js +4 -86
- package/dist/index26.js +4 -4
- package/dist/index260.js +25 -0
- package/dist/index261.js +8 -29
- package/dist/index262.js +9 -17
- package/dist/index263.js +25 -51
- package/dist/index264.js +6 -15
- package/dist/index265.js +16 -12
- package/dist/index266.js +3 -16
- package/dist/index267.js +2 -25
- package/dist/index268.js +2 -106
- package/dist/index269.js +9 -0
- package/dist/index270.js +5 -100
- package/dist/index271.js +7 -0
- package/dist/index272.js +5 -67
- package/dist/index273.js +5 -18
- package/dist/index274.js +5 -12
- package/dist/index275.js +5 -104
- package/dist/index276.js +19 -12
- package/dist/index277.js +3 -10
- package/dist/index278.js +8 -12
- package/dist/index279.js +21 -5
- package/dist/index28.js +2 -2
- package/dist/index280.js +33 -6
- package/dist/index281.js +27 -15
- package/dist/index285.js +3 -4
- package/dist/index286.js +372 -8
- package/dist/index288.js +184 -19
- package/dist/index289.js +3 -7
- package/dist/index290.js +5 -2
- package/dist/index291.js +6 -7
- package/dist/index292.js +268 -7
- package/dist/index293.js +50 -7
- package/dist/index294.js +51 -20
- package/dist/index295.js +31 -52
- package/dist/index296.js +60 -9
- package/dist/index298.js +53 -3
- package/dist/index299.js +2 -7
- package/dist/index30.js +6 -6
- package/dist/index300.js +5 -2
- package/dist/index301.js +2 -4
- package/dist/index302.js +3 -5
- package/dist/index303.js +17 -5
- package/dist/index304.js +27 -279
- package/dist/index305.js +3 -2
- package/dist/index306.js +3 -16
- package/dist/index307.js +4 -2
- package/dist/index308.js +7 -16
- package/dist/index310.js +3 -27
- package/dist/index311.js +3 -2
- package/dist/index312.js +1 -1
- package/dist/index313.js +5 -2
- package/dist/index314.js +719 -2
- package/dist/index315.js +366 -2
- package/dist/index316.js +52 -23
- package/dist/index317.js +280 -2
- package/dist/index318.js +2 -3
- package/dist/index319.js +125 -3
- package/dist/index32.js +2 -2
- package/dist/index320.js +2 -125
- package/dist/index321.js +15 -2
- package/dist/index322.js +2 -15
- package/dist/index323.js +16 -2
- package/dist/index324.js +2 -19
- package/dist/index325.js +16 -2
- package/dist/index326.js +2 -3
- package/dist/index327.js +18 -16
- package/dist/index328.js +2 -2
- package/dist/index329.js +1 -1
- package/dist/index330.js +27 -3
- package/dist/index331.js +2 -719
- package/dist/index332.js +2 -366
- package/dist/index333.js +2 -57
- package/dist/index334.js +1 -1
- package/dist/index335.js +2 -4
- package/dist/index336.js +2 -6
- package/dist/index337.js +227 -6
- package/dist/index338.js +5 -18
- package/dist/index339.js +67 -9
- package/dist/index34.js +12 -12
- package/dist/index340.js +66 -14
- package/dist/index341.js +4 -5
- package/dist/index342.js +34 -7
- package/dist/index343.js +6 -6
- package/dist/index344.js +128 -7
- package/dist/index345.js +397 -6
- package/dist/index346.js +199 -34
- package/dist/index347.js +258 -5
- package/dist/index348.js +85 -121
- package/dist/index349.js +114 -378
- package/dist/index350.js +2 -228
- package/dist/index351.js +2 -62
- package/dist/index352.js +5 -62
- package/dist/index353.js +6 -92
- package/dist/index354.js +7 -191
- package/dist/index355.js +17 -256
- package/dist/index356.js +9 -22
- package/dist/index357.js +17 -0
- package/dist/index358.js +21 -133
- package/dist/index36.js +5 -5
- package/dist/index360.js +441 -2
- package/dist/index361.js +114 -427
- package/dist/index362.js +46 -127
- package/dist/index363.js +67 -44
- package/dist/index364.js +516 -66
- package/dist/index365.js +45 -515
- package/dist/index38.js +245 -245
- package/dist/index40.js +8 -8
- package/dist/index42.js +2 -2
- package/dist/index44.js +27 -29
- package/dist/index46.js +9 -9
- package/dist/index48.js +4 -4
- package/dist/index50.js +4 -4
- package/dist/index54.js +2 -2
- package/dist/index56.js +2 -2
- package/dist/index58.js +2 -2
- package/dist/index60.js +4 -4
- package/dist/index62.js +6 -6
- package/dist/index68.js +1 -1
- package/dist/index7.js +2 -2
- package/dist/index72.js +16 -10
- package/dist/index74.js +119 -79
- package/dist/index75.js +85 -0
- package/dist/index77.js +17 -123
- package/dist/index78.js +127 -0
- package/dist/{index81.js → index82.js} +10 -10
- package/dist/{index83.js → index84.js} +4 -4
- package/dist/{index85.js → index86.js} +3 -3
- package/dist/{index87.js → index88.js} +3 -3
- package/dist/index9.js +1 -1
- package/dist/index90.js +37 -125
- package/dist/index91.js +134 -0
- package/dist/{index92.js → index93.js} +4 -4
- package/dist/{index94.js → index95.js} +3 -3
- package/dist/{index96.js → index97.js} +6 -6
- package/dist/{index98.js → index99.js} +2 -2
- package/package.json +2 -2
- package/dist/components/BaseColorInput/ColorPallette.vue.d.ts +0 -13
- package/dist/index108.js +0 -144
- package/dist/index139.js +0 -15
- package/dist/index216.js +0 -140
- package/dist/index227.js +0 -4
- package/dist/index240.js +0 -34
- package/dist/index242.js +0 -5
- package/dist/index248.js +0 -22
- package/dist/index287.js +0 -25
- package/dist/index309.js +0 -4
- package/dist/index359.js +0 -4
- package/dist/index366.js +0 -52
- package/dist/index76.js +0 -21
- package/dist/index89.js +0 -46
- /package/dist/{index100.js → index101.js} +0 -0
- /package/dist/{index102.js → index103.js} +0 -0
- /package/dist/{index104.js → index105.js} +0 -0
- /package/dist/{index106.js → index107.js} +0 -0
- /package/dist/{index111.js → index112.js} +0 -0
- /package/dist/{index113.js → index114.js} +0 -0
- /package/dist/{index117.js → index118.js} +0 -0
- /package/dist/{index119.js → index120.js} +0 -0
- /package/dist/{index125.js → index126.js} +0 -0
- /package/dist/{index127.js → index128.js} +0 -0
- /package/dist/{index129.js → index130.js} +0 -0
- /package/dist/{index282.js → index297.js} +0 -0
- /package/dist/{index79.js → index80.js} +0 -0
package/dist/index38.js
CHANGED
|
@@ -1,41 +1,40 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as _e, ref as v, computed as m, toRef as N, createBlock as z, openBlock as y, normalizeClass as oe, withCtx as n, createElementVNode as $, createVNode as L, createElementBlock as C, unref as g, renderSlot as c, createCommentVNode as ae, withDirectives as et, Fragment as le, toDisplayString as tt, withKeys as B, withModifiers as f, normalizeStyle as ne, vModelDynamic as ot, normalizeProps as at, guardReactiveProps as lt, mergeProps as ue, renderList as nt, nextTick as K } from "vue";
|
|
2
|
+
import ut from "./index114.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { hash as
|
|
5
|
-
import { isEmpty as it } from "./
|
|
6
|
-
import { last as
|
|
7
|
-
import { matchAnyKey as
|
|
8
|
-
import { useArray as
|
|
9
|
-
import { useBaseOptions as
|
|
10
|
-
import { useCoherence as
|
|
11
|
-
import { useHashedWatcher as
|
|
12
|
-
import { useId as
|
|
13
|
-
import { useIndexById as
|
|
14
|
-
import { useMounted as
|
|
15
|
-
import { useItemsGetter as
|
|
16
|
-
import { useLocale as
|
|
17
|
-
import { useMobile as
|
|
18
|
-
import { usePrefill as
|
|
19
|
-
import { wait as
|
|
20
|
-
import { when as
|
|
21
|
-
import
|
|
4
|
+
import { hash as U } from "./index232.js";
|
|
5
|
+
import { isEmpty as it } from "./index243.js";
|
|
6
|
+
import { last as rt } from "./index238.js";
|
|
7
|
+
import { matchAnyKey as ie } from "./index244.js";
|
|
8
|
+
import { useArray as st } from "./index245.js";
|
|
9
|
+
import { useBaseOptions as dt } from "./index230.js";
|
|
10
|
+
import { useCoherence as pt } from "./index231.js";
|
|
11
|
+
import { useHashedWatcher as re } from "./index233.js";
|
|
12
|
+
import { useId as ct } from "./index8.js";
|
|
13
|
+
import { useIndexById as se } from "./index229.js";
|
|
14
|
+
import { useMounted as mt, useElementSize as ft, useIntersectionObserver as vt } from "./index143.js";
|
|
15
|
+
import { useItemsGetter as ht } from "./index228.js";
|
|
16
|
+
import { useLocale as yt } from "./index236.js";
|
|
17
|
+
import { useMobile as bt } from "./index9.js";
|
|
18
|
+
import { usePrefill as gt } from "./index234.js";
|
|
19
|
+
import { wait as F } from "./index142.js";
|
|
20
|
+
import { when as Bt } from "./index246.js";
|
|
21
|
+
import wt from "./index239.js";
|
|
22
22
|
/* empty css */
|
|
23
|
-
import
|
|
23
|
+
import Vt from "./index241.js";
|
|
24
24
|
/* empty css */
|
|
25
|
-
import
|
|
25
|
+
import It from "./index138.js";
|
|
26
26
|
/* empty css */
|
|
27
|
-
import Ct from "./
|
|
28
|
-
import
|
|
27
|
+
import Ct from "./index140.js";
|
|
28
|
+
import kt from "./index247.js";
|
|
29
29
|
/* empty css */
|
|
30
|
-
import
|
|
31
|
-
import { useUntil as
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
|
|
35
|
-
const Et = { class: "bb-base-select__input-container" }, Ft = {
|
|
30
|
+
import St from "./index249.js";
|
|
31
|
+
import { useUntil as Dt } from "./index237.js";
|
|
32
|
+
import { isNil as Ht } from "./index250.js";
|
|
33
|
+
import { get as Ot } from "./index251.js";
|
|
34
|
+
const $t = { class: "bb-base-select__input-container" }, Lt = {
|
|
36
35
|
key: 1,
|
|
37
36
|
class: "bb-base-select__max-reached"
|
|
38
|
-
},
|
|
37
|
+
}, Ft = ["id", "aria-activedescendant", "aria-controls", "aria-describedby", "aria-expanded", "autocomplete", "autofocus", "disabled", "inputmode", "placeholder", "readonly", "required", "onKeydown"], mo = /* @__PURE__ */ _e({
|
|
39
38
|
__name: "BaseSelect",
|
|
40
39
|
props: {
|
|
41
40
|
allowWriting: { type: [Boolean, String], default: !0 },
|
|
@@ -81,185 +80,184 @@ const Et = { class: "bb-base-select__input-container" }, Ft = {
|
|
|
81
80
|
updateOnAnimationFrame: { type: Boolean, default: !1 }
|
|
82
81
|
},
|
|
83
82
|
emits: ["blur", "change", "click", "focus", "inactive", "input", "update:modelValue", "option:add"],
|
|
84
|
-
setup(
|
|
85
|
-
const t =
|
|
83
|
+
setup(de, { emit: pe }) {
|
|
84
|
+
const t = de, u = pe;
|
|
86
85
|
if (t.multiple && !Array.isArray(t.modelValue))
|
|
87
86
|
throw new Error('Multiple is set to "true" but modelValue is not an array.');
|
|
88
|
-
const { t: ce } =
|
|
89
|
-
() => t.comma ?
|
|
90
|
-
), { width: fe } =
|
|
87
|
+
const { t: ce } = yt(), me = mt(), T = v(null), k = v(null), i = v(null), W = v(null), G = v(null), s = m(
|
|
88
|
+
() => t.comma ? W.value : G.value
|
|
89
|
+
), { width: fe } = ft(k), { isMobile: ve } = bt(), he = m(
|
|
91
90
|
() => t.allowWriting === "not-mobile" && ve.value ? "none" : void 0
|
|
92
|
-
),
|
|
93
|
-
|
|
91
|
+
), R = t.id || ct().id.value, { resume: ye, pause: be } = vt(
|
|
92
|
+
k,
|
|
94
93
|
async ([{ intersectionRatio: e }]) => {
|
|
95
|
-
e !== 1 &&
|
|
94
|
+
e !== 1 && l.value && await I();
|
|
96
95
|
},
|
|
97
96
|
{ threshold: [0, 1], immediate: !1 }
|
|
98
|
-
),
|
|
97
|
+
), ge = m(() => ({
|
|
99
98
|
width: `${fe.value ?? 0}px`
|
|
100
|
-
})),
|
|
101
|
-
|
|
99
|
+
})), E = v(null), A = v(), h = () => {
|
|
100
|
+
E.value instanceof HTMLInputElement && E.value.focus();
|
|
102
101
|
}, Be = async (e) => {
|
|
103
|
-
u("focus", e), je(), document.addEventListener("click",
|
|
102
|
+
u("focus", e), je(), document.addEventListener("click", S), document.addEventListener("focusin", S);
|
|
104
103
|
}, we = () => {
|
|
105
|
-
t.prefill === "focus" && !
|
|
104
|
+
t.prefill === "focus" && !Pe.value && !X.value && Me();
|
|
106
105
|
}, Ve = async (e) => {
|
|
107
106
|
u("blur", e);
|
|
108
|
-
},
|
|
109
|
-
u("input", e), o.value === "" && (t.multiple || u("update:modelValue", null)),
|
|
110
|
-
},
|
|
111
|
-
|
|
112
|
-
|
|
107
|
+
}, Ie = (e) => u("change", e), Ce = (e) => {
|
|
108
|
+
u("input", e), o.value === "" && (t.multiple || u("update:modelValue", null)), s.value?.blur(), M.value && V(), Te(o.value, !1, t.modelValue);
|
|
109
|
+
}, ke = (e) => {
|
|
110
|
+
A.value = e;
|
|
111
|
+
}, S = async (e) => {
|
|
112
|
+
if (e.target instanceof Node && T.value && !T.value.$el.contains(e.target) && !i.value?.$el?.contains(e.target)) {
|
|
113
|
+
I(), Je(), document.removeEventListener("click", S), document.removeEventListener("focusin", S), await F(t.transitionDuration), b();
|
|
113
114
|
return;
|
|
114
115
|
}
|
|
115
|
-
},
|
|
116
|
-
|
|
117
|
-
},
|
|
118
|
-
|
|
119
|
-
},
|
|
120
|
-
if (!
|
|
121
|
-
|
|
122
|
-
const a =
|
|
123
|
-
a &&
|
|
116
|
+
}, w = m(() => !(t.readonly || t.disabled || H.value || !s.value && t.multiple && d.value.length <= t.maxSelectedLabels)), Se = async () => {
|
|
117
|
+
w.value && (s.value?.blur(), l.value ? i.value?.focusPrevious() : (await V(), await F(t.transitionDuration), i.value?.focusLastSelected()));
|
|
118
|
+
}, De = async () => {
|
|
119
|
+
w.value && (s.value?.blur(), l.value ? i.value?.focusNext() : (await V(), await F(t.transitionDuration), i.value?.focusFirstSelected()));
|
|
120
|
+
}, He = (e) => {
|
|
121
|
+
if (!w.value || !t.multiple || o.value || (e.preventDefault(), i.value?.blur(), !d.value.length)) return;
|
|
122
|
+
s.value?.focusPrevious();
|
|
123
|
+
const a = s.value?.getHighlighted();
|
|
124
|
+
a && i.value?.focusByHash(a.valueHash);
|
|
124
125
|
}, Oe = (e) => {
|
|
125
|
-
if (!
|
|
126
|
-
|
|
127
|
-
const a =
|
|
128
|
-
a &&
|
|
126
|
+
if (!w.value || !t.multiple || o.value || (e.preventDefault(), i.value?.blur(), !d.value.length)) return;
|
|
127
|
+
s.value?.focusNext();
|
|
128
|
+
const a = s.value?.getHighlighted();
|
|
129
|
+
a && i.value?.focusByHash(a.valueHash);
|
|
129
130
|
}, $e = async () => {
|
|
130
|
-
if (!
|
|
131
|
+
if (!w.value)
|
|
131
132
|
return;
|
|
132
|
-
if (
|
|
133
|
-
if (
|
|
134
|
-
|
|
133
|
+
if (l.value) {
|
|
134
|
+
if (i.value?.getHighlighted()) {
|
|
135
|
+
i.value.confirmOption();
|
|
135
136
|
return;
|
|
136
137
|
}
|
|
137
138
|
} else {
|
|
138
|
-
await
|
|
139
|
+
await V(), await F(t.transitionDuration), d.value.length && i.value?.focusFirstSelected();
|
|
139
140
|
return;
|
|
140
141
|
}
|
|
141
142
|
const e = o.value.trim();
|
|
142
143
|
xe(e) || (u("option:add", e), o.value = "");
|
|
143
|
-
}, He = async () => {
|
|
144
|
-
r.value && await k();
|
|
145
144
|
}, Le = async () => {
|
|
146
|
-
|
|
147
|
-
},
|
|
145
|
+
l.value && await I();
|
|
146
|
+
}, Fe = async () => {
|
|
147
|
+
!w.value || o.value || !d.value.length || (s.value?.getHighlighted() && s.value.confirmOption(), await K(), s.value?.focusPrevious());
|
|
148
|
+
}, o = v(""), {
|
|
148
149
|
getter: q,
|
|
149
150
|
debouncedGetter: Te,
|
|
150
151
|
items: Ee,
|
|
151
|
-
loading:
|
|
152
|
-
} =
|
|
153
|
-
items:
|
|
152
|
+
loading: j
|
|
153
|
+
} = ht({
|
|
154
|
+
items: N(t, "items"),
|
|
154
155
|
debounce: t.queryDebounceTime
|
|
155
|
-
}),
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
156
|
+
}), {
|
|
157
|
+
array: J,
|
|
158
|
+
add: Q,
|
|
159
|
+
remove: Ae,
|
|
160
|
+
set: qe
|
|
161
|
+
} = st(), {
|
|
162
|
+
hasPrefilled: X,
|
|
163
|
+
isPrefilling: Pe,
|
|
164
|
+
prefill: Me
|
|
165
|
+
} = gt({
|
|
166
|
+
trigger: t.prefill === !0,
|
|
163
167
|
currentValue: t.modelValue,
|
|
164
168
|
multiple: t.multiple,
|
|
165
|
-
fn: async (
|
|
166
|
-
await q(o.value, e, t.modelValue), t.stash &&
|
|
169
|
+
fn: async (e) => {
|
|
170
|
+
await q(o.value, e, t.modelValue), t.stash && Q(...D.value.map((a) => a.item)), b();
|
|
167
171
|
}
|
|
168
|
-
}), {
|
|
169
|
-
array: X,
|
|
170
|
-
add: Y,
|
|
171
|
-
remove: qe,
|
|
172
|
-
set: Me
|
|
173
|
-
} = dt(), i = c(() => {
|
|
174
|
-
const e = Ht(P.value, (a, l) => _.value[l]);
|
|
175
|
-
return Object.values(e).filter(Boolean);
|
|
176
|
-
}), Pe = c(() => i.value.length ? "" : t.placeholder), { data: P, get: xe } = ie({
|
|
172
|
+
}), { data: Y, get: xe } = se({
|
|
177
173
|
// Force model value to be an array
|
|
178
|
-
items:
|
|
179
|
-
}), { options:
|
|
180
|
-
disabled:
|
|
181
|
-
items:
|
|
174
|
+
items: m(() => [].concat(t.modelValue))
|
|
175
|
+
}), { options: D } = dt({
|
|
176
|
+
disabled: N(t, "disabled"),
|
|
177
|
+
items: m(() => [...Ee.value, ...J.value]),
|
|
182
178
|
itemText: t.itemText,
|
|
183
179
|
itemValue: t.itemValue,
|
|
184
180
|
max: t.max,
|
|
185
181
|
selectable: !0,
|
|
186
|
-
selectedIndexedByHash:
|
|
187
|
-
}),
|
|
188
|
-
|
|
189
|
-
const a = i.value.some(
|
|
190
|
-
(f) => f.text === o.value
|
|
191
|
-
);
|
|
192
|
-
return (t.multiple && o.value || t.filterBy === "not_stashed" && o.value || o.value && !a && !t.multiple) && t.filterBy ? e = $.value.filter((f) => {
|
|
193
|
-
let v = !1;
|
|
194
|
-
return typeof t.filterBy == "function" ? v = t.filterBy(f.value, f.item, o.value) : t.filterBy === "not_stashed" && o.value ? v = !new Set(X.value.map((et) => et.valueHash)).has(f.valueHash) : Array.isArray(t.filterBy) && t.filterBy.length && (v = v || re(f.item, t.filterBy, o.value.trim())), v || re(f, ["text"], o.value.trim());
|
|
195
|
-
}) : e = $.value, e;
|
|
196
|
-
}), Ne = Symbol("default"), ze = (e) => Lt(t.groupBy) ? Ne : typeof t.groupBy == "function" ? t.groupBy(e.item) : Tt(e.item, t.groupBy), We = c(() => {
|
|
197
|
-
const e = {};
|
|
198
|
-
for (const l of Z.value) {
|
|
199
|
-
const f = ze(l), v = ue(f);
|
|
200
|
-
e[v] || (e[v] = {
|
|
201
|
-
id: v,
|
|
202
|
-
data: f ?? null,
|
|
203
|
-
options: []
|
|
204
|
-
}), e[v].options.push(l);
|
|
205
|
-
}
|
|
206
|
-
return Object.values(e).filter((l) => l.options.length);
|
|
207
|
-
}), b = () => {
|
|
208
|
-
if (t.multiple) {
|
|
209
|
-
o.value = "";
|
|
210
|
-
return;
|
|
211
|
-
}
|
|
212
|
-
let e;
|
|
213
|
-
i.value && (e = pt(i.value)), o.value = e?.text || "";
|
|
214
|
-
}, Ke = async (e) => {
|
|
215
|
-
t.multiple ? (u("update:modelValue", t.modelValue.concat(e.value)), t.stash && Y(e.item), b()) : (t.stash && Me(e.item), u("update:modelValue", e.value), await U(), b()), y(), t.multiple || k();
|
|
216
|
-
}, x = async (e) => {
|
|
217
|
-
if (qe((a) => a.valueHash !== e.valueHash), t.multiple) {
|
|
218
|
-
const a = { ...P.value };
|
|
219
|
-
delete a[e.valueHash], u("update:modelValue", Object.values(a));
|
|
220
|
-
} else
|
|
221
|
-
u("update:modelValue", null), await U(), b();
|
|
222
|
-
y();
|
|
223
|
-
}, { data: _ } = ie({
|
|
224
|
-
items: $,
|
|
182
|
+
selectedIndexedByHash: Y
|
|
183
|
+
}), { data: Z } = se({
|
|
184
|
+
items: D,
|
|
225
185
|
key: "valueHash"
|
|
226
|
-
}), { coherent:
|
|
227
|
-
modelValue:
|
|
186
|
+
}), { coherent: _, coherentValue: ee } = pt({
|
|
187
|
+
modelValue: N(t, "modelValue"),
|
|
228
188
|
multiple: t.multiple,
|
|
229
|
-
iteratee: (e) => !!
|
|
230
|
-
})
|
|
231
|
-
|
|
232
|
-
|
|
189
|
+
iteratee: (e) => !!Z.value[U(e)]
|
|
190
|
+
}), d = m(
|
|
191
|
+
() => [].concat(t.modelValue).map((e) => Z.value[U(e)]).filter(Boolean)
|
|
192
|
+
), H = m(() => !!(j.value || t.loading));
|
|
193
|
+
re(
|
|
233
194
|
() => t.modelValue,
|
|
234
195
|
async () => {
|
|
235
|
-
|
|
196
|
+
_.value || (await q(o.value, !0, t.modelValue), t.enforceCoherence && (u("update:modelValue", ee.value), s.value?.blur(), i.value?.blur())), b();
|
|
236
197
|
},
|
|
237
|
-
{
|
|
238
|
-
|
|
239
|
-
}
|
|
240
|
-
), se(
|
|
198
|
+
{ debounce: t.modelValueDebounceTime }
|
|
199
|
+
), re(
|
|
241
200
|
() => [t.dependencies, t.items],
|
|
242
201
|
async () => {
|
|
243
|
-
|
|
202
|
+
X.value && (await q(o.value, !0, t.modelValue), t.enforceCoherence && !_.value && (u("update:modelValue", ee.value), s.value?.blur(), i.value?.blur()), b());
|
|
244
203
|
},
|
|
245
|
-
{
|
|
246
|
-
debounce: t.depsDebounceTime
|
|
247
|
-
}
|
|
204
|
+
{ debounce: t.depsDebounceTime }
|
|
248
205
|
);
|
|
249
|
-
const
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
206
|
+
const b = () => {
|
|
207
|
+
if (t.multiple) {
|
|
208
|
+
o.value = "";
|
|
209
|
+
return;
|
|
210
|
+
}
|
|
211
|
+
let e;
|
|
212
|
+
d.value && (e = rt(d.value)), o.value = e?.text || "";
|
|
213
|
+
}, Ne = m(() => d.value.length ? "" : t.placeholder), ze = async (e) => {
|
|
214
|
+
t.multiple ? (u("update:modelValue", t.modelValue.concat(e.value)), t.stash && Q(e.item), b()) : (t.stash && qe(e.item), u("update:modelValue", e.value), await K(), b()), h(), t.multiple || I();
|
|
215
|
+
}, P = async (e) => {
|
|
216
|
+
if (Ae((a) => a.valueHash !== e.valueHash), t.multiple) {
|
|
217
|
+
const a = { ...Y.value };
|
|
218
|
+
delete a[e.valueHash], u("update:modelValue", Object.values(a));
|
|
219
|
+
} else
|
|
220
|
+
u("update:modelValue", null), await K(), b();
|
|
221
|
+
h();
|
|
222
|
+
}, te = m(() => {
|
|
223
|
+
const e = d.value.some(
|
|
224
|
+
(p) => p.text === o.value
|
|
225
|
+
);
|
|
226
|
+
if (!(t.multiple && o.value || t.filterBy === "not_stashed" && o.value || o.value && !e && !t.multiple) || !t.filterBy) return D.value;
|
|
227
|
+
const r = t.filterBy === "not_stashed" ? new Set(J.value.map((p) => p.valueHash)) : null;
|
|
228
|
+
return D.value.filter((p) => {
|
|
229
|
+
let O = !1;
|
|
230
|
+
return typeof t.filterBy == "function" ? O = t.filterBy(p.value, p.item, o.value) : t.filterBy === "not_stashed" && o.value ? O = !r.has(p.valueHash) : Array.isArray(t.filterBy) && t.filterBy.length && (O = ie(
|
|
231
|
+
p.item,
|
|
232
|
+
t.filterBy,
|
|
233
|
+
o.value.trim()
|
|
234
|
+
)), O || ie(p, ["text"], o.value.trim());
|
|
235
|
+
});
|
|
236
|
+
}), Ke = Symbol("default"), Ue = (e) => Ht(t.groupBy) ? Ke : typeof t.groupBy == "function" ? t.groupBy(e.item) : Ot(e.item, t.groupBy), We = m(() => {
|
|
237
|
+
const e = {};
|
|
238
|
+
for (const a of te.value) {
|
|
239
|
+
const r = Ue(a), p = U(r);
|
|
240
|
+
e[p] || (e[p] = {
|
|
241
|
+
id: p,
|
|
242
|
+
data: r ?? null,
|
|
243
|
+
options: []
|
|
244
|
+
}), e[p].options.push(a);
|
|
245
|
+
}
|
|
246
|
+
return Object.values(e).filter((a) => a.options.length);
|
|
247
|
+
}), l = v(!1), M = v(!0), Ge = Dt(l), V = async () => {
|
|
248
|
+
ye(), M.value = !1, l.value = !0;
|
|
249
|
+
}, I = async () => {
|
|
250
|
+
l.value = !1, M.value = !0, A.value = void 0, s.value?.blur(), be();
|
|
251
|
+
}, Re = () => l.value ? I() : V(), x = v(!1), je = () => {
|
|
252
|
+
x.value = !0;
|
|
255
253
|
}, Je = () => {
|
|
256
|
-
|
|
254
|
+
x.value = !1, u("inactive");
|
|
257
255
|
}, Qe = (e) => {
|
|
258
|
-
e.preventDefault(), u("click", e), !(t.disabled || t.readonly) && (
|
|
259
|
-
}, Xe =
|
|
256
|
+
e.preventDefault(), u("click", e), !(t.disabled || t.readonly) && (h(), Re());
|
|
257
|
+
}, Xe = Bt(
|
|
260
258
|
(e) => typeof e != "string",
|
|
261
259
|
JSON.stringify
|
|
262
|
-
), Ye =
|
|
260
|
+
), Ye = m(() => [].concat(t.modelValue).map((e) => {
|
|
263
261
|
const a = Xe(e);
|
|
264
262
|
return {
|
|
265
263
|
disabled: t.disabled,
|
|
@@ -271,13 +269,13 @@ const Et = { class: "bb-base-select__input-container" }, Ft = {
|
|
|
271
269
|
let e = null;
|
|
272
270
|
t.multiple && (e = []), u("update:modelValue", e);
|
|
273
271
|
};
|
|
274
|
-
return (e, a) => (
|
|
272
|
+
return (e, a) => (y(), z(Ct, {
|
|
275
273
|
ref_key: "outerContainer",
|
|
276
|
-
ref:
|
|
277
|
-
class:
|
|
274
|
+
ref: T,
|
|
275
|
+
class: oe({
|
|
278
276
|
"bb-base-select": !0,
|
|
279
|
-
"bb-base-select--active":
|
|
280
|
-
"bb-base-select--shown":
|
|
277
|
+
"bb-base-select--active": x.value,
|
|
278
|
+
"bb-base-select--shown": l.value,
|
|
281
279
|
"bb-base-select--loading": H.value,
|
|
282
280
|
"bb-base-select--disabled": e.disabled,
|
|
283
281
|
"bb-base-select--errors": e.hasErrors,
|
|
@@ -287,187 +285,189 @@ const Et = { class: "bb-base-select__input-container" }, Ft = {
|
|
|
287
285
|
onClick: Qe
|
|
288
286
|
}, {
|
|
289
287
|
"prepend-outer": n(() => [
|
|
290
|
-
|
|
288
|
+
c(e.$slots, "prepend-outer", { query: o.value })
|
|
291
289
|
]),
|
|
292
290
|
"append-outer": n(() => [
|
|
293
|
-
|
|
291
|
+
c(e.$slots, "append-outer", { query: o.value })
|
|
294
292
|
]),
|
|
295
293
|
default: n(() => [
|
|
296
|
-
|
|
294
|
+
$("span", {
|
|
297
295
|
ref_key: "innerContainer",
|
|
298
|
-
ref:
|
|
296
|
+
ref: k,
|
|
299
297
|
class: "bb-base-select__inner-wrapper"
|
|
300
298
|
}, [
|
|
301
|
-
|
|
299
|
+
L(It, {
|
|
302
300
|
"append:icon": t["append:icon"],
|
|
303
|
-
clearable: e.clearable && !
|
|
301
|
+
clearable: e.clearable && !g(it)(e.modelValue),
|
|
304
302
|
"prepend:icon": t["prepend:icon"],
|
|
305
303
|
"prevent-focus": !0,
|
|
306
304
|
"onClick:clear": Ze
|
|
307
305
|
}, {
|
|
308
306
|
prepend: n(() => [
|
|
309
|
-
|
|
307
|
+
c(e.$slots, "prepend", {
|
|
310
308
|
query: o.value,
|
|
311
|
-
focus:
|
|
309
|
+
focus: h
|
|
312
310
|
})
|
|
313
311
|
]),
|
|
314
312
|
prefix: n(() => [
|
|
315
|
-
|
|
313
|
+
c(e.$slots, "prefix")
|
|
316
314
|
]),
|
|
317
315
|
append: n(() => [
|
|
318
|
-
|
|
316
|
+
c(e.$slots, "append", {
|
|
319
317
|
query: o.value,
|
|
320
|
-
focus:
|
|
318
|
+
focus: h
|
|
321
319
|
})
|
|
322
320
|
]),
|
|
323
321
|
suffix: n(() => [
|
|
324
|
-
|
|
322
|
+
c(e.$slots, "suffix")
|
|
325
323
|
]),
|
|
326
324
|
default: n(() => [
|
|
327
|
-
|
|
325
|
+
L(ut, { tag: "span" }, {
|
|
328
326
|
default: n(() => [
|
|
329
|
-
|
|
330
|
-
e.multiple &&
|
|
331
|
-
e.comma ? (
|
|
327
|
+
$("span", $t, [
|
|
328
|
+
e.multiple && d.value.length <= e.maxSelectedLabels ? (y(), C(le, { key: 0 }, [
|
|
329
|
+
e.comma ? (y(), z(Vt, {
|
|
332
330
|
key: 0,
|
|
333
331
|
ref_key: "commaBox",
|
|
334
|
-
ref:
|
|
335
|
-
options:
|
|
336
|
-
"onOption:unselected":
|
|
337
|
-
}, null, 8, ["options"])) : (
|
|
332
|
+
ref: W,
|
|
333
|
+
options: d.value,
|
|
334
|
+
"onOption:unselected": P
|
|
335
|
+
}, null, 8, ["options"])) : (y(), z(wt, {
|
|
338
336
|
key: 1,
|
|
339
337
|
ref_key: "chipsBox",
|
|
340
|
-
ref:
|
|
341
|
-
options:
|
|
342
|
-
"onOption:unselected":
|
|
338
|
+
ref: G,
|
|
339
|
+
options: d.value,
|
|
340
|
+
"onOption:unselected": P
|
|
343
341
|
}, null, 8, ["options"]))
|
|
344
|
-
], 64)) : e.multiple ? (
|
|
345
|
-
|
|
346
|
-
id:
|
|
347
|
-
key: `${
|
|
342
|
+
], 64)) : e.multiple ? (y(), C("span", Lt, tt(e.selectedLabelsFn ? e.selectedLabelsFn(d.value.length) : g(ce)("select.multipleMaxReached", d.value.length)), 1)) : ae("", !0),
|
|
343
|
+
et((y(), C("input", {
|
|
344
|
+
id: g(R),
|
|
345
|
+
key: `${g(me)}`,
|
|
348
346
|
ref_key: "input",
|
|
349
|
-
ref:
|
|
350
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
347
|
+
ref: E,
|
|
348
|
+
"onUpdate:modelValue": a[0] || (a[0] = (r) => o.value = r),
|
|
349
|
+
"aria-activedescendant": l.value ? A.value : void 0,
|
|
351
350
|
"aria-autocomplete": "list",
|
|
352
|
-
"aria-controls":
|
|
351
|
+
"aria-controls": g(Ge) ? `${g(R)}_listbox` : void 0,
|
|
353
352
|
"aria-describedby": e.ariaDescribedby,
|
|
354
|
-
"aria-expanded":
|
|
353
|
+
"aria-expanded": l.value,
|
|
355
354
|
autocomplete: e.autocomplete,
|
|
356
355
|
autofocus: e.autofocus,
|
|
357
|
-
class:
|
|
356
|
+
class: oe("bb-base-select__text-input"),
|
|
358
357
|
disabled: e.disabled,
|
|
359
358
|
inputmode: he.value,
|
|
360
|
-
placeholder:
|
|
359
|
+
placeholder: Ne.value,
|
|
361
360
|
readonly: e.readonly || !e.allowWriting,
|
|
362
361
|
required: e.required && (!e.multiple || !e.modelValue.length),
|
|
363
362
|
role: "combobox",
|
|
364
363
|
size: "1",
|
|
365
|
-
style:
|
|
364
|
+
style: ne({ "--characters": o.value.length }),
|
|
366
365
|
type: "text",
|
|
367
|
-
onBlur:
|
|
368
|
-
onChange:
|
|
369
|
-
onFocusOnce:
|
|
370
|
-
onFocus:
|
|
371
|
-
onInput:
|
|
366
|
+
onBlur: f(Ve, ["stop"]),
|
|
367
|
+
onChange: f(Ie, ["stop"]),
|
|
368
|
+
onFocusOnce: f(we, ["stop"]),
|
|
369
|
+
onFocus: f(Be, ["stop"]),
|
|
370
|
+
onInput: f(Ce, ["stop"]),
|
|
372
371
|
onKeydown: [
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
372
|
+
B(f(Fe, ["stop"]), ["delete"]),
|
|
373
|
+
B(f(He, ["stop"]), ["left"]),
|
|
374
|
+
B(f(De, ["stop", "prevent"]), ["down"]),
|
|
375
|
+
B(f($e, ["stop", "prevent"]), ["enter"]),
|
|
376
|
+
B(f(Le, ["stop", "prevent"]), ["esc"]),
|
|
377
|
+
B(f(Se, ["stop", "prevent"]), ["up"]),
|
|
378
|
+
B(f(Oe, ["stop"]), ["right"])
|
|
380
379
|
]
|
|
381
|
-
}, null, 44,
|
|
382
|
-
[
|
|
380
|
+
}, null, 44, Ft)), [
|
|
381
|
+
[ot, o.value]
|
|
383
382
|
])
|
|
384
383
|
])
|
|
385
384
|
]),
|
|
386
385
|
_: 1
|
|
387
386
|
}),
|
|
388
|
-
e.showChevron ?
|
|
387
|
+
e.showChevron ? c(e.$slots, "chevron", {
|
|
389
388
|
key: 0,
|
|
390
|
-
loading: !!
|
|
391
|
-
shown:
|
|
389
|
+
loading: !!g(j),
|
|
390
|
+
shown: l.value
|
|
392
391
|
}, () => [
|
|
393
|
-
a[2] || (a[2] =
|
|
392
|
+
a[2] || (a[2] = $("svg", {
|
|
394
393
|
class: "bb-base-select__chevron",
|
|
395
394
|
viewBox: "0 0 24 24",
|
|
396
395
|
xmlns: "http://www.w3.org/2000/svg"
|
|
397
396
|
}, [
|
|
398
|
-
|
|
397
|
+
$("path", {
|
|
399
398
|
d: "M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z",
|
|
400
399
|
fill: "currentColor"
|
|
401
400
|
})
|
|
402
401
|
], -1))
|
|
403
|
-
]) :
|
|
402
|
+
]) : ae("", !0)
|
|
404
403
|
]),
|
|
405
404
|
_: 3
|
|
406
405
|
}, 8, ["append:icon", "clearable", "prepend:icon"])
|
|
407
406
|
], 512),
|
|
408
|
-
|
|
409
|
-
modelValue:
|
|
410
|
-
"onUpdate:modelValue": a[1] || (a[1] = (
|
|
411
|
-
anchor:
|
|
407
|
+
L(kt, {
|
|
408
|
+
modelValue: l.value,
|
|
409
|
+
"onUpdate:modelValue": a[1] || (a[1] = (r) => l.value = r),
|
|
410
|
+
anchor: k.value,
|
|
412
411
|
offset: 4,
|
|
413
412
|
"transition-duration": e.transitionDuration
|
|
414
413
|
}, {
|
|
415
414
|
default: n(() => [
|
|
416
|
-
|
|
415
|
+
L(St, {
|
|
417
416
|
ref_key: "optionsContainer",
|
|
418
|
-
ref:
|
|
417
|
+
ref: i,
|
|
419
418
|
compact: e.compact,
|
|
420
419
|
loading: H.value,
|
|
421
420
|
"loading-text": e.loadingText,
|
|
422
421
|
multiple: e.multiple,
|
|
423
422
|
"no-data-text": e.noDataText,
|
|
424
|
-
open:
|
|
425
|
-
options: e.groupBy ? void 0 :
|
|
423
|
+
open: l.value,
|
|
424
|
+
options: e.groupBy ? void 0 : te.value,
|
|
426
425
|
groups: e.groupBy ? We.value : void 0,
|
|
427
426
|
"header-height": e.headerHeight,
|
|
428
|
-
style:
|
|
427
|
+
style: ne(ge.value),
|
|
429
428
|
"option-height": e.itemHeight,
|
|
430
|
-
"
|
|
431
|
-
"onOption:
|
|
429
|
+
"onFocused:change": ke,
|
|
430
|
+
"onOption:selected": ze,
|
|
431
|
+
"onOption:unselected": P
|
|
432
432
|
}, {
|
|
433
433
|
"options:prepend": n(() => [
|
|
434
|
-
|
|
434
|
+
c(e.$slots, "options:prepend", { focus: h })
|
|
435
435
|
]),
|
|
436
436
|
loading: n(() => [
|
|
437
|
-
|
|
437
|
+
c(e.$slots, "loading", { query: o.value })
|
|
438
438
|
]),
|
|
439
439
|
"no-data": n(() => [
|
|
440
|
-
|
|
440
|
+
c(e.$slots, "no-data", {
|
|
441
441
|
query: o.value,
|
|
442
|
-
focus:
|
|
442
|
+
focus: h
|
|
443
443
|
})
|
|
444
444
|
]),
|
|
445
445
|
"options:append": n(() => [
|
|
446
|
-
|
|
446
|
+
c(e.$slots, "options:append", { focus: h })
|
|
447
447
|
]),
|
|
448
|
-
option: n((
|
|
449
|
-
|
|
448
|
+
option: n((r) => [
|
|
449
|
+
c(e.$slots, "option", ue({
|
|
450
450
|
hasErrors: e.hasErrors,
|
|
451
451
|
loading: H.value
|
|
452
|
-
},
|
|
452
|
+
}, r))
|
|
453
453
|
]),
|
|
454
|
-
group: n((
|
|
455
|
-
|
|
454
|
+
group: n((r) => [
|
|
455
|
+
c(e.$slots, "group", at(lt(r)))
|
|
456
456
|
]),
|
|
457
457
|
_: 3
|
|
458
458
|
}, 8, ["compact", "loading", "loading-text", "multiple", "no-data-text", "open", "options", "groups", "header-height", "style", "option-height"])
|
|
459
459
|
]),
|
|
460
460
|
_: 3
|
|
461
461
|
}, 8, ["modelValue", "anchor", "transition-duration"]),
|
|
462
|
-
(
|
|
463
|
-
key:
|
|
462
|
+
(y(!0), C(le, null, nt(Ye.value, (r) => (y(), C("input", ue({
|
|
463
|
+
key: r.value,
|
|
464
464
|
ref_for: !0
|
|
465
|
-
},
|
|
465
|
+
}, r), null, 16))), 128))
|
|
466
466
|
]),
|
|
467
467
|
_: 3
|
|
468
468
|
}, 8, ["class"]));
|
|
469
469
|
}
|
|
470
470
|
});
|
|
471
471
|
export {
|
|
472
|
-
|
|
472
|
+
mo as default
|
|
473
473
|
};
|