@bridge-ui/vue 0.14.0 → 0.16.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/ai/AGENTS.md +1 -1
- package/ai/README.md +1 -1
- package/ai/llms.txt +3 -3
- package/ai/skills/bridge-ui-components/SKILL.md +2 -1
- package/ai/skills/bridge-ui-setup/SKILL.md +9 -8
- package/dist/Actions/Snackbar/BridgeSnackbarItem.vue_vue_type_script_setup_true_lang.js +42 -44
- package/dist/Actions/Snackbar/createBridgeSnackbarApi.js +1 -1
- package/dist/Adapters/I18n/useI18nAdapter.d.ts +1 -1
- package/dist/Adapters/Icon/mockIconAdapter.d.ts +5 -0
- package/dist/Adapters/Icon/useIconAdapter.d.ts +1 -1
- package/dist/Adapters/index.d.ts +0 -1
- package/dist/Adapters/index.js +1 -2
- package/dist/Components/Accordion/composables/useAccordion.js +1 -1
- package/dist/Components/ActionFooter/ActionFooter.vue_vue_type_script_setup_true_lang.js +3 -5
- package/dist/Components/ActionFooter/actionFooter.types.d.ts +7 -12
- package/dist/Components/ActionFooter/composables/useActionFooter.d.ts +4 -4
- package/dist/Components/ActionFooter/composables/useActionFooter.js +3 -4
- package/dist/Components/Autocomplete/Autocomplete.vue.d.ts +2 -2
- package/dist/Components/Autocomplete/composables/useAutocomplete.d.ts +3 -3
- package/dist/Components/Autocomplete/composables/useAutocomplete.js +250 -258
- package/dist/Components/BaseField/composables/useBaseField.js +1 -0
- package/dist/Components/Chart/Chart.js +5 -0
- package/dist/Components/Chart/Chart.vue.d.ts +14 -0
- package/dist/Components/Chart/Chart.vue_vue_type_script_setup_true_lang.js +52 -0
- package/dist/Components/Chart/chart.types.d.ts +126 -0
- package/dist/Components/Chart/chartInjectionKey.d.ts +94 -0
- package/dist/Components/Chart/chartInjectionKey.js +10 -0
- package/dist/Components/Chart/composables/useChart.d.ts +40 -0
- package/dist/Components/Chart/composables/useChart.js +344 -0
- package/dist/Components/Chart/echartsChart.d.ts +14 -0
- package/dist/Components/Chart/echartsChart.js +199 -0
- package/dist/Components/Chart/index.d.ts +4 -0
- package/dist/Components/Chart/index.js +4 -0
- package/dist/Components/ChartAxis/ChartAxis.js +5 -0
- package/dist/Components/ChartAxis/ChartAxis.vue.d.ts +7 -0
- package/dist/Components/ChartAxis/ChartAxis.vue_vue_type_script_setup_true_lang.js +30 -0
- package/dist/Components/ChartAxis/chartAxis.types.d.ts +56 -0
- package/dist/Components/ChartAxis/composables/useChartAxis.d.ts +5 -0
- package/dist/Components/ChartAxis/composables/useChartAxis.js +28 -0
- package/dist/Components/ChartAxis/index.d.ts +3 -0
- package/dist/Components/ChartAxis/index.js +3 -0
- package/dist/Components/ChartLegend/ChartLegend.js +5 -0
- package/dist/Components/ChartLegend/ChartLegend.vue.d.ts +6 -0
- package/dist/Components/ChartLegend/ChartLegend.vue_vue_type_script_setup_true_lang.js +33 -0
- package/dist/Components/ChartLegend/chartLegend.types.d.ts +71 -0
- package/dist/Components/ChartLegend/composables/useChartLegend.d.ts +16 -0
- package/dist/Components/ChartLegend/composables/useChartLegend.js +98 -0
- package/dist/Components/ChartLegend/index.d.ts +3 -0
- package/dist/Components/ChartLegend/index.js +3 -0
- package/dist/Components/ChartSeries/ChartSeries.js +5 -0
- package/dist/Components/ChartSeries/ChartSeries.vue.d.ts +4 -0
- package/dist/Components/ChartSeries/ChartSeries.vue_vue_type_script_setup_true_lang.js +24 -0
- package/dist/Components/ChartSeries/chartSeries.types.d.ts +37 -0
- package/dist/Components/ChartSeries/composables/useChartSeries.d.ts +10 -0
- package/dist/Components/ChartSeries/composables/useChartSeries.js +29 -0
- package/dist/Components/ChartSeries/index.d.ts +3 -0
- package/dist/Components/ChartSeries/index.js +3 -0
- package/dist/Components/ChartTooltip/ChartTooltip.js +5 -0
- package/dist/Components/ChartTooltip/ChartTooltip.vue.d.ts +11 -0
- package/dist/Components/ChartTooltip/ChartTooltip.vue_vue_type_script_setup_true_lang.js +25 -0
- package/dist/Components/ChartTooltip/chartTooltip.types.d.ts +82 -0
- package/dist/Components/ChartTooltip/composables/useChartTooltip.d.ts +15 -0
- package/dist/Components/ChartTooltip/composables/useChartTooltip.js +110 -0
- package/dist/Components/ChartTooltip/index.d.ts +3 -0
- package/dist/Components/ChartTooltip/index.js +3 -0
- package/dist/Components/Checkbox/composables/useCheckbox.js +1 -0
- package/dist/Components/ColorField/ColorField.vue.d.ts +2 -2
- package/dist/Components/ColorField/ColorField.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/Components/ColorField/composables/useColorField.d.ts +2 -2
- package/dist/Components/ColorField/composables/useColorField.js +2 -0
- package/dist/Components/ColorPicker/ColorPicker.vue_vue_type_script_setup_true_lang.js +5 -1
- package/dist/Components/ColorPicker/colorPicker.types.d.ts +8 -2
- package/dist/Components/ColorPicker/composables/useColorPicker.d.ts +2 -2
- package/dist/Components/ColorPicker/composables/useColorPicker.js +1 -0
- package/dist/Components/DataTable/DataTableCellContent.vue.d.ts +1 -5
- package/dist/Components/DataTable/DataTableCellContent.vue_vue_type_script_setup_true_lang.js +24 -25
- package/dist/Components/DataTable/composables/useDataTable.d.ts +1 -1
- package/dist/Components/DataTable/composables/useDataTable.js +76 -74
- package/dist/Components/DataTable/composables/useDataTablePagination.js +1 -1
- package/dist/Components/DateField/DateField.vue.d.ts +2 -2
- package/dist/Components/DateField/composables/useDateField.d.ts +2 -2
- package/dist/Components/DateField/composables/useDateField.js +2 -0
- package/dist/Components/DatePicker/DatePicker.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/Components/DateRangeField/DateRangeField.vue.d.ts +2 -2
- package/dist/Components/DateRangeField/composables/useDateRangeField.d.ts +2 -2
- package/dist/Components/DateRangeField/composables/useDateRangeField.js +2 -0
- package/dist/Components/DateRangePicker/DateRangePicker.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/Components/DateTimeField/DateTimeField.vue.d.ts +2 -2
- package/dist/Components/DateTimeField/composables/useDateTimeField.d.ts +2 -2
- package/dist/Components/DateTimeField/composables/useDateTimeField.js +2 -0
- package/dist/Components/DateTimePicker/DateTimePicker.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/Components/DateTimeRangeField/DateTimeRangeField.vue.d.ts +2 -2
- package/dist/Components/DateTimeRangeField/composables/useDateTimeRangeField.d.ts +2 -2
- package/dist/Components/DateTimeRangeField/composables/useDateTimeRangeField.js +2 -0
- package/dist/Components/DateTimeRangePicker/DateTimeRangePicker.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/Components/Drawer/Drawer.vue.d.ts +1 -1
- package/dist/Components/Drawer/Drawer.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/Components/Drawer/composables/useDrawer.d.ts +1 -1
- package/dist/Components/FileUpload/FileUpload.vue.d.ts +2 -2
- package/dist/Components/FormControl/composables/useFormControl.js +46 -45
- package/dist/Components/FormField/composables/useFormField.d.ts +1 -1
- package/dist/Components/FormField/composables/useFormField.js +144 -143
- package/dist/Components/ListItem/composables/useListItem.d.ts +1 -1
- package/dist/Components/Listbox/Listbox.vue.d.ts +0 -1
- package/dist/Components/Listbox/Listbox.vue_vue_type_script_setup_true_lang.js +3 -2
- package/dist/Components/Menu/Menu.vue_vue_type_script_setup_true_lang.js +5 -3
- package/dist/Components/Modal/Modal.vue.d.ts +1 -1
- package/dist/Components/Modal/Modal.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/Components/Modal/composables/useModal.d.ts +1 -1
- package/dist/Components/NumberField/composables/useNumberField.d.ts +2 -2
- package/dist/Components/NumberField/composables/useNumberField.js +1 -0
- package/dist/Components/OtpField/composables/useOtpField.js +1 -0
- package/dist/Components/Pagination/composables/usePagination.js +1 -1
- package/dist/Components/PasswordField/composables/usePasswordField.d.ts +2 -2
- package/dist/Components/PasswordField/composables/usePasswordField.js +1 -0
- package/dist/Components/Radio/composables/useRadio.js +1 -0
- package/dist/Components/Rating/composables/useRating.js +1 -0
- package/dist/Components/RichTextEditor/RichTextEditor.vue.d.ts +1 -1
- package/dist/Components/RichTextEditor/RichTextEditor.vue_vue_type_script_setup_true_lang.js +30 -26
- package/dist/Components/RichTextEditor/composables/useRichTextEditor.d.ts +4 -3
- package/dist/Components/RichTextEditor/composables/useRichTextEditor.js +131 -135
- package/dist/Components/RichTextEditor/richTextEditor.types.d.ts +1 -1
- package/dist/Components/RichTextEditor/tiptapEditor.d.ts +111 -0
- package/dist/Components/RichTextEditor/tiptapEditor.js +121 -0
- package/dist/Components/Select/Select.vue.d.ts +2 -2
- package/dist/Components/Select/composables/useSelect.d.ts +3 -3
- package/dist/Components/Select/composables/useSelect.js +149 -157
- package/dist/Components/Slider/composables/useSlider.js +1 -0
- package/dist/Components/Snackbar/Snackbar.vue.d.ts +1 -1
- package/dist/Components/Snackbar/Snackbar.vue_vue_type_script_setup_true_lang.js +6 -7
- package/dist/Components/Stepper/composables/useStepper.js +1 -1
- package/dist/Components/Switch/composables/useSwitch.js +1 -0
- package/dist/Components/Table/composables/useTableCell.d.ts +1 -1
- package/dist/Components/Tabs/composables/useTabs.d.ts +0 -156
- package/dist/Components/Tabs/composables/useTabs.js +1 -1
- package/dist/Components/TextField/composables/useTextField.d.ts +2 -2
- package/dist/Components/Textarea/composables/useTextarea.d.ts +2 -2
- package/dist/Components/Textarea/composables/useTextarea.js +1 -0
- package/dist/Components/TimeField/TimeField.vue.d.ts +2 -2
- package/dist/Components/TimeField/composables/useTimeField.d.ts +2 -2
- package/dist/Components/TimeField/composables/useTimeField.js +2 -0
- package/dist/Components/TimePicker/TimePicker.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/Components/TimePicker/composables/useTimePicker.js +1 -0
- package/dist/Components/TimeRangeField/TimeRangeField.vue.d.ts +2 -2
- package/dist/Components/TimeRangeField/composables/useTimeRangeField.d.ts +2 -2
- package/dist/Components/TimeRangeField/composables/useTimeRangeField.js +2 -0
- package/dist/Components/TimeRangePicker/TimeRangePicker.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/Components/TimeRangePicker/composables/useTimeRangePicker.js +1 -0
- package/dist/Components/ToggleGroup/composables/useToggleGroup.js +3 -3
- package/dist/Components/Tooltip/Tooltip.vue.d.ts +0 -1
- package/dist/Components/Tooltip/Tooltip.vue_vue_type_script_setup_true_lang.js +7 -5
- package/dist/Utils/index.d.ts +16 -6
- package/dist/Utils/index.js +39 -35
- package/dist/augments.d.ts +20 -2
- package/dist/index.d.ts +0 -3
- package/dist/index.js +180 -183
- package/dist/theme.css +10 -1
- package/docs/README.md +27 -13
- package/docs/components/ActionFooter.md +16 -14
- package/docs/components/BridgeUIProvider.md +95 -20
- package/docs/components/Chart.md +252 -0
- package/docs/components/ColorPicker.md +14 -13
- package/docs/components/I18n.md +6 -6
- package/docs/components/Icon.md +10 -10
- package/docs/components/RichTextEditor.md +2 -23
- package/package.json +8 -76
- package/dist/Adapters/Examples/date-date-fns.d.ts +0 -9
- package/dist/Adapters/Examples/date-date-fns.js +0 -151
- package/dist/Adapters/Examples/date-dayjs.d.ts +0 -19
- package/dist/Adapters/Examples/date-dayjs.js +0 -174
- package/dist/Adapters/Examples/date-luxon.d.ts +0 -7
- package/dist/Adapters/Examples/date-luxon.js +0 -164
- package/dist/Adapters/Examples/date-moment.d.ts +0 -19
- package/dist/Adapters/Examples/date-moment.js +0 -172
- package/dist/Adapters/Examples/i18n-dictionary.d.ts +0 -15
- package/dist/Adapters/Examples/i18n-dictionary.js +0 -97
- package/dist/Adapters/Examples/i18n-vue-i18n.d.ts +0 -7
- package/dist/Adapters/Examples/i18n-vue-i18n.js +0 -14
- package/dist/Adapters/Examples/icon-fontawesome.d.ts +0 -19
- package/dist/Adapters/Examples/icon-fontawesome.js +0 -82
- package/dist/Adapters/Examples/icon-heroicons.d.ts +0 -5
- package/dist/Adapters/Examples/icon-heroicons.js +0 -56
- package/dist/Adapters/Examples/icon-lucide.d.ts +0 -5
- package/dist/Adapters/Examples/icon-lucide.js +0 -56
- package/dist/Adapters/Examples/icon-phosphor.d.ts +0 -5
- package/dist/Adapters/Examples/icon-phosphor.js +0 -56
- package/dist/Adapters/Examples/icon-tabler.d.ts +0 -5
- package/dist/Adapters/Examples/icon-tabler.js +0 -56
- package/dist/Adapters/Examples/rich-text-tiptap.d.ts +0 -5
- package/dist/Adapters/Examples/rich-text-tiptap.js +0 -131
- package/dist/Adapters/RichText/index.d.ts +0 -1
- package/dist/Adapters/RichText/index.js +0 -2
- package/dist/Adapters/RichText/mockRichTextAdapter.d.ts +0 -5
- package/dist/Adapters/RichText/useRichTextAdapter.d.ts +0 -12
- package/dist/Adapters/RichText/useRichTextAdapter.js +0 -13
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { useResolveMessage as e } from "../../../Adapters/I18n/useI18nAdapter.js";
|
|
2
2
|
import { hasNamedSlot as t } from "../../../Utils/slotOrProp.js";
|
|
3
3
|
import { useBreakpoint as n } from "../../../Utils/useBreakpoint.js";
|
|
4
|
-
import { mergePartBind as r, resolveFieldAdornmentIconSize as
|
|
5
|
-
import { formFieldBridgeKeys as
|
|
6
|
-
import { collectComposedListboxOptions as
|
|
7
|
-
import { useListboxNavigation as
|
|
8
|
-
import { Comment as
|
|
9
|
-
import { get as
|
|
10
|
-
import { commitFreeSoloValue as
|
|
11
|
-
import { listboxColorProps as
|
|
12
|
-
import { adjustAutosizeTextareaHeight as
|
|
4
|
+
import { mergePartBind as r, resolveFieldAdornmentIconSize as i, useBridgeUIComponent as ee, useBridgeUIMergedRegistryClasses as a, useFieldShowFooter as te } from "../../../Utils/index.js";
|
|
5
|
+
import { formFieldBridgeKeys as ne, useFormField as re } from "../../FormField/composables/useFormField.js";
|
|
6
|
+
import { collectComposedListboxOptions as ie } from "../../Listbox/collectComposedListboxOptions.js";
|
|
7
|
+
import { useListboxNavigation as ae } from "../../Listbox/composables/useListboxNavigation.js";
|
|
8
|
+
import { Comment as oe, Text as se, computed as o, nextTick as s, onBeforeUnmount as ce, onMounted as le, ref as c, useAttrs as ue, useId as de, useSlots as fe, watch as l } from "vue";
|
|
9
|
+
import { get as pe, isNil as me, isObjectLike as u, isSymbol as he, omit as ge } from "es-toolkit/compat";
|
|
10
|
+
import { commitFreeSoloValue as d, createSelectAsyncSearch as _e, filterListboxEntries as ve, flattenListboxOptions as f, mergeListboxOptionsByValue as ye, normalizeListboxEntries as be, normalizeSelectOptions as xe, resolveFieldOverlay as Se, resolveSelectAsyncDebounce as Ce, resolveSelectAsyncOptions as we, selectValuesEqual as p } from "@bridge-ui/core/Domain";
|
|
11
|
+
import { listboxColorProps as Te } from "@bridge-ui/core/Tokens";
|
|
12
|
+
import { adjustAutosizeTextareaHeight as Ee, cn as m, getColorToken as De, mergeBridgeUILayeredClasses as Oe, splitComponentProps as ke } from "@bridge-ui/core/Utils";
|
|
13
13
|
//#region src/Components/Autocomplete/composables/useAutocomplete.ts
|
|
14
|
-
var
|
|
14
|
+
var Ae = [
|
|
15
15
|
"classes",
|
|
16
16
|
"loading",
|
|
17
17
|
"options",
|
|
@@ -35,110 +35,112 @@ var je = [
|
|
|
35
35
|
"minItemsForSearch",
|
|
36
36
|
"optionDescription"
|
|
37
37
|
];
|
|
38
|
-
function
|
|
39
|
-
let
|
|
38
|
+
function h(h, g, _, v, je) {
|
|
39
|
+
let Me = ue(), y = fe(), b = de(), Ne = n(), x = e(), S = c(!1), C = c(""), w = c(!1), T = c(-1), E = c([]), D = c([]), O = c([]), k = c(null), A = null, j = o(() => ke({
|
|
40
40
|
props: {
|
|
41
|
-
...
|
|
42
|
-
...
|
|
41
|
+
...Me,
|
|
42
|
+
...h
|
|
43
43
|
},
|
|
44
|
-
bridgeKeys:
|
|
45
|
-
})),
|
|
44
|
+
bridgeKeys: Ae
|
|
45
|
+
})), M = o(() => j.value.componentProps), Pe = o(() => ({ classes: M.value.classes })), { components: Fe, entry: Ie } = ee({
|
|
46
|
+
chrome: "FormField",
|
|
46
47
|
componentName: "Autocomplete",
|
|
47
|
-
props: () =>
|
|
48
|
-
}),
|
|
49
|
-
entry:
|
|
50
|
-
props: () =>
|
|
51
|
-
}),
|
|
52
|
-
optionLabel:
|
|
53
|
-
optionValue:
|
|
54
|
-
optionDescription:
|
|
55
|
-
})),
|
|
48
|
+
props: () => Pe.value
|
|
49
|
+
}), N = a({
|
|
50
|
+
entry: Ie,
|
|
51
|
+
props: () => Pe.value
|
|
52
|
+
}), P = o(() => !!M.value.multiple), F = o(() => ({
|
|
53
|
+
optionLabel: M.value.optionLabel ?? "label",
|
|
54
|
+
optionValue: M.value.optionValue ?? "value",
|
|
55
|
+
optionDescription: M.value.optionDescription ?? "description"
|
|
56
|
+
})), I = o(() => je.value.length > 0 ? je.value.map((e) => ({
|
|
56
57
|
option: e,
|
|
57
58
|
type: "option"
|
|
58
|
-
})) :
|
|
59
|
-
function
|
|
60
|
-
if (!
|
|
59
|
+
})) : be(M.value.options, F.value)), Le = o(() => f(I.value)), L = c([]);
|
|
60
|
+
function Re(e) {
|
|
61
|
+
if (!u(e)) return !1;
|
|
61
62
|
let t = e.type;
|
|
62
|
-
if (!
|
|
63
|
+
if (!u(t)) return !1;
|
|
63
64
|
let n = t.name, r = t.__name;
|
|
64
65
|
return n === "AutocompleteOption" || r === "AutocompleteOption";
|
|
65
66
|
}
|
|
66
|
-
function
|
|
67
|
-
return t(
|
|
68
|
-
if (!
|
|
67
|
+
function ze() {
|
|
68
|
+
return t(y, "default") ? (y.default?.({}) ?? []).some((e) => {
|
|
69
|
+
if (!u(e)) return !1;
|
|
69
70
|
let t = e.type;
|
|
70
|
-
return t ===
|
|
71
|
+
return t === oe || t === se || t === void 0 || he(t) ? !1 : !Re(e);
|
|
71
72
|
}) : !1;
|
|
72
73
|
}
|
|
73
|
-
let
|
|
74
|
-
if (
|
|
75
|
-
if (
|
|
76
|
-
let e =
|
|
77
|
-
return
|
|
74
|
+
let R = o(() => ze()), Be = o(() => R.value ? ie(y.default?.({}) ?? []) : []), z = o(() => {
|
|
75
|
+
if (R.value) return [];
|
|
76
|
+
if (D.value.length > 0) {
|
|
77
|
+
let e = be(D.value, F.value);
|
|
78
|
+
return M.value.flipOptions ? [...e].reverse() : e;
|
|
78
79
|
}
|
|
79
|
-
return
|
|
80
|
+
return M.value.flipOptions ? [...I.value].reverse().map((e) => e.type === "section" ? {
|
|
80
81
|
...e,
|
|
81
82
|
options: [...e.options].reverse()
|
|
82
|
-
} : e) :
|
|
83
|
-
}),
|
|
84
|
-
let e =
|
|
85
|
-
return
|
|
86
|
-
}),
|
|
87
|
-
|
|
83
|
+
} : e) : I.value;
|
|
84
|
+
}), Ve = o(() => R.value ? ye(L.value, Be.value) : f(z.value)), B = o(() => {
|
|
85
|
+
let e = g.value;
|
|
86
|
+
return P.value ? Array.isArray(e) ? e : [] : !me(e) && e !== "" ? [e] : [];
|
|
87
|
+
}), He = o(() => Se(M.value.overlay, Ne.mobile)), V = te({
|
|
88
|
+
chrome: "FormField",
|
|
89
|
+
overlay: He,
|
|
88
90
|
componentName: "Autocomplete",
|
|
89
|
-
showFooter: () =>
|
|
90
|
-
}),
|
|
91
|
+
showFooter: () => M.value.showFooter
|
|
92
|
+
}), Ue = o(() => V.value ? E.value : B.value), H = o(() => {
|
|
91
93
|
let e = /* @__PURE__ */ new Map();
|
|
92
|
-
for (let t of [...
|
|
93
|
-
return
|
|
94
|
+
for (let t of [...Ve.value, ...O.value]) e.set(t.value, t);
|
|
95
|
+
return B.value.map((t) => e.get(t) ?? {
|
|
94
96
|
value: t,
|
|
95
97
|
label: String(t)
|
|
96
98
|
});
|
|
97
|
-
}),
|
|
98
|
-
if (
|
|
99
|
-
let e =
|
|
100
|
-
return
|
|
101
|
-
}),
|
|
102
|
-
if (
|
|
103
|
-
if (!
|
|
104
|
-
let e =
|
|
105
|
-
return
|
|
106
|
-
}),
|
|
107
|
-
|
|
99
|
+
}), U = o(() => B.value.length > 0), We = o(() => M.value.clearable === !0), W = o(() => !!M.value.asyncData), G = o(() => {
|
|
100
|
+
if (W.value || (M.value.searchable ?? !0)) return !0;
|
|
101
|
+
let e = M.value.minItemsForSearch ?? 11;
|
|
102
|
+
return Le.value.length >= e;
|
|
103
|
+
}), K = o(() => S.value && G.value), Ge = o(() => !!M.value.loading || w.value), Ke = o(() => {
|
|
104
|
+
if (R.value) return [];
|
|
105
|
+
if (!K.value || !C.value.trim()) return z.value;
|
|
106
|
+
let e = C.value.trim().toLowerCase();
|
|
107
|
+
return ve(z.value, (t) => t.label.toLowerCase().includes(e));
|
|
108
|
+
}), q = o(() => R.value ? L.value : f(Ke.value)), J = ae(() => q.value, T, b), qe = o(() => h.readonly || h.disabled ? !0 : !K.value), Je = o(() => K.value || P.value ? C.value : H.value[0]?.label ?? ""), Ye = (e) => {
|
|
109
|
+
k.value = e instanceof HTMLElement ? e : null;
|
|
108
110
|
};
|
|
109
|
-
function
|
|
111
|
+
function Xe(e) {
|
|
110
112
|
e.preventDefault();
|
|
111
113
|
}
|
|
112
|
-
function
|
|
113
|
-
if (
|
|
114
|
+
function Ze(e) {
|
|
115
|
+
if (h.disabled || h.readonly) return;
|
|
114
116
|
let t = e.target;
|
|
115
117
|
if (!t.closest("[data-autocomplete-clear]") && !(t.closest(".wrapper-start-slot") || t.closest(".wrapper-end-slot"))) {
|
|
116
|
-
if (!
|
|
117
|
-
|
|
118
|
+
if (!S.value) {
|
|
119
|
+
Q();
|
|
118
120
|
return;
|
|
119
121
|
}
|
|
120
|
-
|
|
122
|
+
K.value || ($(), _.value?.focus({ preventScroll: !0 }));
|
|
121
123
|
}
|
|
122
124
|
}
|
|
123
|
-
let
|
|
124
|
-
let e =
|
|
125
|
-
bridgeKeys:
|
|
125
|
+
let Qe = o(() => {
|
|
126
|
+
let e = ge(j.value.inheritedAttrs, ["class"]), n = ke({
|
|
127
|
+
bridgeKeys: ne,
|
|
126
128
|
props: e
|
|
127
|
-
}).componentProps,
|
|
129
|
+
}).componentProps, i = n.endIcon ?? (t(y, "end") ? void 0 : "chevronUpDown"), { listbox: ee, ...a } = n.customProps ?? {};
|
|
128
130
|
return {
|
|
129
131
|
...n,
|
|
130
|
-
endIcon:
|
|
131
|
-
classes:
|
|
132
|
+
endIcon: i,
|
|
133
|
+
classes: N.value,
|
|
132
134
|
customProps: {
|
|
133
|
-
...
|
|
134
|
-
container: r(
|
|
135
|
-
ref:
|
|
136
|
-
onClick:
|
|
137
|
-
class:
|
|
135
|
+
...a,
|
|
136
|
+
container: r(a.container, {}, {
|
|
137
|
+
ref: Ye,
|
|
138
|
+
onClick: Ze,
|
|
139
|
+
class: m({ "cursor-pointer": !h.disabled && !h.readonly && !K.value })
|
|
138
140
|
})
|
|
139
141
|
}
|
|
140
142
|
};
|
|
141
|
-
}),
|
|
143
|
+
}), $e = o(() => h.customProps?.listbox), Y = re(() => Qe.value, {
|
|
142
144
|
size: "md",
|
|
143
145
|
rounded: "md",
|
|
144
146
|
color: "primary",
|
|
@@ -146,277 +148,267 @@ function m(m, h, g, _, Me) {
|
|
|
146
148
|
showErrorIcon: !0
|
|
147
149
|
}, {
|
|
148
150
|
componentName: "Autocomplete",
|
|
149
|
-
likeInput: () =>
|
|
150
|
-
control: () =>
|
|
151
|
-
}),
|
|
152
|
-
e &&
|
|
151
|
+
likeInput: () => P.value,
|
|
152
|
+
control: () => P.value ? "textarea" : "input"
|
|
153
|
+
}), et = o(() => U.value && We.value && !h.readonly && !Y.isDisabled.value), X = (e) => {
|
|
154
|
+
e && P.value && Ee(e);
|
|
153
155
|
};
|
|
154
|
-
function
|
|
155
|
-
return
|
|
156
|
+
function tt(e) {
|
|
157
|
+
return Ue.value.some((t) => p(t, e));
|
|
156
158
|
}
|
|
157
|
-
function
|
|
158
|
-
|
|
159
|
-
}
|
|
160
|
-
function X(e) {
|
|
161
|
-
if (M.value) {
|
|
159
|
+
function Z(e) {
|
|
160
|
+
if (P.value) {
|
|
162
161
|
let t = Array.isArray(e) ? e : [];
|
|
163
|
-
|
|
162
|
+
g.value = t, v("change", t);
|
|
164
163
|
return;
|
|
165
164
|
}
|
|
166
165
|
let t = e ?? "";
|
|
167
|
-
|
|
166
|
+
g.value = t, v("change", t);
|
|
168
167
|
}
|
|
169
|
-
function
|
|
170
|
-
|
|
168
|
+
function Q() {
|
|
169
|
+
h.disabled || h.readonly || S.value || (E.value = [...B.value], S.value = !0, C.value = "", J.highlightCurrentSelection((e) => B.value.some((t) => p(t, e))), v("open"), W.value && M.value.asyncData && A?.searchImmediate(""));
|
|
171
170
|
}
|
|
172
|
-
function
|
|
173
|
-
|
|
174
|
-
let t =
|
|
175
|
-
if (t && e?.commitFreeSolo &&
|
|
176
|
-
let e =
|
|
177
|
-
e != null && (
|
|
178
|
-
|
|
171
|
+
function $(e) {
|
|
172
|
+
A?.cancel();
|
|
173
|
+
let t = S.value;
|
|
174
|
+
if (t && e?.commitFreeSolo && M.value.freeSolo !== !1) {
|
|
175
|
+
let e = d(C.value, B.value, P.value);
|
|
176
|
+
e != null && (Z(e), P.value && s(() => {
|
|
177
|
+
X(_.value), _.value?.focus({ preventScroll: !0 });
|
|
179
178
|
}));
|
|
180
179
|
}
|
|
181
|
-
|
|
180
|
+
C.value = "", T.value = -1, t && (S.value = !1, v("close"));
|
|
182
181
|
}
|
|
183
|
-
function
|
|
182
|
+
function nt(e) {
|
|
184
183
|
if (!e.disabled) {
|
|
185
|
-
if (
|
|
186
|
-
if (
|
|
187
|
-
let t = [...
|
|
188
|
-
n >= 0 ? (t.splice(n, 1),
|
|
189
|
-
|
|
184
|
+
if (V.value) {
|
|
185
|
+
if (P.value) {
|
|
186
|
+
let t = [...E.value], n = t.findIndex((t) => p(t, e.value));
|
|
187
|
+
n >= 0 ? (t.splice(n, 1), v("deselect", e)) : (t.push(e.value), v("select", e)), E.value = t, C.value = "", T.value = -1, s(() => {
|
|
188
|
+
_.value?.focus({ preventScroll: !0 });
|
|
190
189
|
});
|
|
191
190
|
return;
|
|
192
191
|
}
|
|
193
|
-
|
|
192
|
+
E.value = [e.value], v("select", e), C.value = "", T.value = -1;
|
|
194
193
|
return;
|
|
195
194
|
}
|
|
196
|
-
if (
|
|
197
|
-
let t = [...
|
|
198
|
-
n >= 0 ? (t.splice(n, 1),
|
|
199
|
-
|
|
195
|
+
if (P.value) {
|
|
196
|
+
let t = [...B.value], n = t.findIndex((t) => p(t, e.value));
|
|
197
|
+
n >= 0 ? (t.splice(n, 1), v("deselect", e)) : (t.push(e.value), v("select", e)), Z(t), C.value = "", T.value = -1, s(() => {
|
|
198
|
+
X(_.value), _.value?.focus({ preventScroll: !0 });
|
|
200
199
|
});
|
|
201
200
|
return;
|
|
202
201
|
}
|
|
203
|
-
|
|
202
|
+
Z(e.value), v("select", e), $();
|
|
204
203
|
}
|
|
205
204
|
}
|
|
206
|
-
function
|
|
207
|
-
|
|
208
|
-
else {
|
|
209
|
-
let e = T.value[0] ?? null;
|
|
210
|
-
Y(e), X(e);
|
|
211
|
-
}
|
|
212
|
-
Q(), _("apply");
|
|
205
|
+
function rt() {
|
|
206
|
+
P.value ? Z(E.value) : Z(E.value[0] ?? null), $(), v("apply");
|
|
213
207
|
}
|
|
214
|
-
function
|
|
215
|
-
|
|
208
|
+
function it() {
|
|
209
|
+
E.value = [...B.value], $(), v("cancel");
|
|
216
210
|
}
|
|
217
|
-
function
|
|
218
|
-
if (
|
|
219
|
-
let e =
|
|
220
|
-
return e != null && (
|
|
221
|
-
|
|
222
|
-
}), !0) : (
|
|
211
|
+
function at() {
|
|
212
|
+
if (M.value.freeSolo === !1) return !1;
|
|
213
|
+
let e = d(C.value, B.value, P.value);
|
|
214
|
+
return e != null && (Z(e), C.value = "", T.value = -1, P.value ? (s(() => {
|
|
215
|
+
X(_.value), _.value?.focus({ preventScroll: !0 });
|
|
216
|
+
}), !0) : ($(), !0));
|
|
223
217
|
}
|
|
224
|
-
function
|
|
225
|
-
e?.preventDefault(), e?.stopPropagation(), !(
|
|
218
|
+
function ot(e) {
|
|
219
|
+
e?.preventDefault(), e?.stopPropagation(), !(h.disabled || h.readonly) && (P.value ? Z([]) : Z(null), v("clear"), $());
|
|
226
220
|
}
|
|
227
|
-
function
|
|
228
|
-
|
|
229
|
-
let n = R.value.filter((t) => !f(t, e.value));
|
|
230
|
-
Y(n), X(n), _("deselect", e), o(() => J(g.value));
|
|
221
|
+
function st(e, t) {
|
|
222
|
+
t.preventDefault(), t.stopPropagation(), P.value && (Z(B.value.filter((t) => !p(t, e.value))), v("deselect", e), s(() => X(_.value)));
|
|
231
223
|
}
|
|
232
|
-
function
|
|
233
|
-
let e =
|
|
234
|
-
return e ? (
|
|
224
|
+
function ct() {
|
|
225
|
+
let e = J.getHighlightedOption();
|
|
226
|
+
return e ? (nt(e), !0) : !1;
|
|
235
227
|
}
|
|
236
|
-
function
|
|
228
|
+
function lt(e) {
|
|
237
229
|
let t = e.target;
|
|
238
|
-
|
|
230
|
+
C.value = t.value, v("search", C.value), S.value || Q(), J.resetHighlight(), W.value && A?.searchDebounced(C.value);
|
|
239
231
|
}
|
|
240
|
-
function
|
|
241
|
-
if (!(
|
|
232
|
+
function ut(e) {
|
|
233
|
+
if (!(h.disabled || h.readonly)) switch (e.key) {
|
|
242
234
|
case "ArrowDown":
|
|
243
|
-
e.preventDefault(),
|
|
235
|
+
e.preventDefault(), S.value ? J.moveHighlight(1) : Q();
|
|
244
236
|
break;
|
|
245
237
|
case "ArrowUp":
|
|
246
|
-
e.preventDefault(),
|
|
238
|
+
e.preventDefault(), S.value ? J.moveHighlight(-1) : Q();
|
|
247
239
|
break;
|
|
248
240
|
case "Enter":
|
|
249
|
-
e.preventDefault(),
|
|
241
|
+
e.preventDefault(), S.value ? ct() || at() : Q();
|
|
250
242
|
break;
|
|
251
243
|
case "Escape":
|
|
252
|
-
e.preventDefault(),
|
|
244
|
+
e.preventDefault(), $();
|
|
253
245
|
break;
|
|
254
246
|
case "Home":
|
|
255
|
-
|
|
247
|
+
S.value && (e.preventDefault(), J.highlightFirst());
|
|
256
248
|
break;
|
|
257
249
|
case "End":
|
|
258
|
-
|
|
250
|
+
S.value && (e.preventDefault(), J.highlightLast());
|
|
259
251
|
break;
|
|
260
252
|
case "Backspace":
|
|
261
|
-
if (
|
|
253
|
+
if (P.value && !C.value && H.value.length > 0) {
|
|
262
254
|
e.preventDefault();
|
|
263
|
-
let t =
|
|
264
|
-
t &&
|
|
255
|
+
let t = H.value.at(-1);
|
|
256
|
+
t && st(t, e);
|
|
265
257
|
}
|
|
266
258
|
break;
|
|
267
|
-
case "Tab":
|
|
259
|
+
case "Tab": $({ commitFreeSolo: !0 });
|
|
268
260
|
}
|
|
269
261
|
}
|
|
270
|
-
async function
|
|
271
|
-
let t =
|
|
262
|
+
async function dt(e) {
|
|
263
|
+
let t = M.value.asyncData;
|
|
272
264
|
if (t) {
|
|
273
|
-
|
|
265
|
+
w.value = !0;
|
|
274
266
|
try {
|
|
275
|
-
let { options: n, resolvedSelected: r } = await
|
|
276
|
-
r.length > 0 && (
|
|
267
|
+
let { options: n, resolvedSelected: r } = await we(t, e, B.value, (e) => xe(e, F.value));
|
|
268
|
+
r.length > 0 && (O.value = r), D.value = n;
|
|
277
269
|
} finally {
|
|
278
|
-
|
|
270
|
+
w.value = !1;
|
|
279
271
|
}
|
|
280
272
|
}
|
|
281
273
|
}
|
|
282
|
-
async function
|
|
283
|
-
let e =
|
|
284
|
-
e?.resolve &&
|
|
274
|
+
async function ft() {
|
|
275
|
+
let e = M.value.asyncData;
|
|
276
|
+
e?.resolve && B.value.length !== 0 && (O.value = xe(await e.resolve(B.value), F.value));
|
|
285
277
|
}
|
|
286
|
-
let
|
|
287
|
-
let e =
|
|
278
|
+
let pt = o(() => {
|
|
279
|
+
let e = Oe(Te, pe(Fe.value, [
|
|
288
280
|
"Autocomplete",
|
|
289
281
|
"tokens",
|
|
290
282
|
"listbox",
|
|
291
283
|
"color"
|
|
292
284
|
]));
|
|
293
|
-
return
|
|
285
|
+
return De({
|
|
294
286
|
tokens: e,
|
|
295
|
-
color:
|
|
296
|
-
invalid:
|
|
287
|
+
color: Y.merged.value.color,
|
|
288
|
+
invalid: Y.invalidated.value
|
|
297
289
|
});
|
|
298
|
-
}),
|
|
299
|
-
let e = !
|
|
290
|
+
}), mt = o(() => pt.value?.value), ht = o(() => {
|
|
291
|
+
let e = !h.disabled && !h.readonly && !K.value, t = !h.disabled && !h.readonly && K.value && G.value, n = U.value && !P.value && !K.value;
|
|
300
292
|
return r({
|
|
301
293
|
role: "combobox",
|
|
302
|
-
value:
|
|
303
|
-
"aria-controls":
|
|
304
|
-
"aria-expanded":
|
|
305
|
-
readonly:
|
|
306
|
-
onKeydown:
|
|
307
|
-
placeholder:
|
|
308
|
-
"aria-autocomplete":
|
|
309
|
-
"aria-activedescendant":
|
|
310
|
-
...
|
|
294
|
+
value: Je.value,
|
|
295
|
+
"aria-controls": b,
|
|
296
|
+
"aria-expanded": S.value,
|
|
297
|
+
readonly: qe.value,
|
|
298
|
+
onKeydown: ut,
|
|
299
|
+
placeholder: M.value.placeholder,
|
|
300
|
+
"aria-autocomplete": G.value ? "list" : void 0,
|
|
301
|
+
"aria-activedescendant": S.value ? J.activeDescendantId.value : void 0,
|
|
302
|
+
...P.value ? {
|
|
311
303
|
rows: 1,
|
|
312
304
|
onInput: (e) => {
|
|
313
|
-
|
|
305
|
+
lt(e), X(e.target);
|
|
314
306
|
}
|
|
315
|
-
} : { onInput:
|
|
316
|
-
},
|
|
307
|
+
} : { onInput: lt }
|
|
308
|
+
}, Y.inputBind.value, m({
|
|
317
309
|
"cursor-text": t,
|
|
318
310
|
"cursor-pointer": e,
|
|
319
|
-
"resize-none overflow-hidden":
|
|
320
|
-
[
|
|
311
|
+
"resize-none overflow-hidden": P.value,
|
|
312
|
+
[m(mt.value, N.value.value) ?? ""]: n
|
|
321
313
|
}));
|
|
322
314
|
});
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
315
|
+
l(() => [
|
|
316
|
+
S.value,
|
|
317
|
+
P.value,
|
|
318
|
+
_.value
|
|
327
319
|
], () => {
|
|
328
|
-
|
|
329
|
-
}, { immediate: !0 }),
|
|
330
|
-
|
|
331
|
-
}, { immediate: !0 }),
|
|
332
|
-
if (
|
|
333
|
-
|
|
320
|
+
X(_.value);
|
|
321
|
+
}, { immediate: !0 }), l(() => g.value, () => {
|
|
322
|
+
ft();
|
|
323
|
+
}, { immediate: !0 }), l(() => M.value.asyncData, (e) => {
|
|
324
|
+
if (A?.cancel(), D.value = [], ft(), !e) {
|
|
325
|
+
A = null;
|
|
334
326
|
return;
|
|
335
327
|
}
|
|
336
|
-
|
|
337
|
-
}, { immediate: !0 }),
|
|
338
|
-
|
|
339
|
-
}),
|
|
340
|
-
|
|
328
|
+
A = _e((e) => void dt(e), Ce(e));
|
|
329
|
+
}, { immediate: !0 }), ce(() => {
|
|
330
|
+
A?.cancel();
|
|
331
|
+
}), le(() => {
|
|
332
|
+
X(_.value);
|
|
341
333
|
});
|
|
342
|
-
let
|
|
334
|
+
let gt = o(() => i(Y.merged.value.size)), _t = o(() => r({}, {}, {
|
|
343
335
|
tabindex: 0,
|
|
344
336
|
role: "button",
|
|
345
337
|
"data-autocomplete-clear": !0,
|
|
346
|
-
onMousedown:
|
|
347
|
-
class:
|
|
338
|
+
onMousedown: Xe,
|
|
339
|
+
class: m({
|
|
348
340
|
"inline-flex shrink-0 cursor-pointer items-center justify-center rounded-sm transition-colors duration-150": !0,
|
|
349
|
-
[
|
|
350
|
-
[
|
|
341
|
+
[pt.value?.clear ?? ""]: !0,
|
|
342
|
+
[N.value.clear ?? ""]: !0
|
|
351
343
|
})
|
|
352
|
-
})),
|
|
353
|
-
listboxId:
|
|
354
|
-
isSelected:
|
|
344
|
+
})), vt = o(() => ({
|
|
345
|
+
listboxId: b,
|
|
346
|
+
isSelected: tt,
|
|
355
347
|
disableAutoFocus: !0,
|
|
356
|
-
overlay:
|
|
357
|
-
loading:
|
|
358
|
-
multiple:
|
|
359
|
-
maxHeight:
|
|
360
|
-
showFooter:
|
|
361
|
-
entries:
|
|
362
|
-
options:
|
|
363
|
-
size:
|
|
364
|
-
error:
|
|
365
|
-
color:
|
|
366
|
-
labelledBy:
|
|
367
|
-
rounded:
|
|
368
|
-
highlightedIndex:
|
|
369
|
-
disableMaxHeight:
|
|
370
|
-
hideEmptyMessage:
|
|
371
|
-
emptyMessage:
|
|
372
|
-
loadingMessage:
|
|
373
|
-
|
|
348
|
+
overlay: h.overlay,
|
|
349
|
+
loading: Ge.value,
|
|
350
|
+
multiple: P.value,
|
|
351
|
+
maxHeight: h.maxHeight,
|
|
352
|
+
showFooter: V.value,
|
|
353
|
+
entries: Ke.value,
|
|
354
|
+
options: q.value,
|
|
355
|
+
size: Y.merged.value.size,
|
|
356
|
+
error: Y.invalidated.value,
|
|
357
|
+
color: Y.merged.value.color,
|
|
358
|
+
labelledBy: Y.controlId.value,
|
|
359
|
+
rounded: Y.merged.value.rounded,
|
|
360
|
+
highlightedIndex: T.value,
|
|
361
|
+
disableMaxHeight: h.disableMaxHeight === !0,
|
|
362
|
+
hideEmptyMessage: M.value.hideEmptyMessage === !0,
|
|
363
|
+
emptyMessage: M.value.emptyMessage ?? x("No options"),
|
|
364
|
+
loadingMessage: M.value.loadingMessage ?? x("Loading..."),
|
|
365
|
+
...$e.value
|
|
374
366
|
}));
|
|
375
|
-
function
|
|
367
|
+
function yt(e) {
|
|
376
368
|
if (e.length === 0) return;
|
|
377
|
-
let t =
|
|
369
|
+
let t = L.value;
|
|
378
370
|
t.length === e.length && t.every((t, n) => {
|
|
379
371
|
let r = e[n];
|
|
380
372
|
return t.label === r?.label && t.description === r?.description && String(t.value) === String(r?.value) && !!t.disabled == !!r?.disabled;
|
|
381
|
-
}) || (
|
|
373
|
+
}) || (L.value = e);
|
|
382
374
|
}
|
|
383
375
|
return {
|
|
384
|
-
slots:
|
|
385
|
-
hasValue:
|
|
386
|
-
multiple:
|
|
387
|
-
listboxId:
|
|
388
|
-
formField:
|
|
389
|
-
isLoading:
|
|
390
|
-
clearable:
|
|
391
|
-
clearBind:
|
|
392
|
-
isSelected:
|
|
393
|
-
clearValue:
|
|
394
|
-
removeChip:
|
|
395
|
-
triggerBind:
|
|
396
|
-
handleApply:
|
|
397
|
-
selectOption:
|
|
398
|
-
handleCancel:
|
|
399
|
-
containerRef:
|
|
400
|
-
listboxProps:
|
|
401
|
-
clearIconSize:
|
|
402
|
-
mergedClasses:
|
|
403
|
-
showClearIcon:
|
|
404
|
-
visibleOptions:
|
|
405
|
-
isSearchActive:
|
|
406
|
-
open:
|
|
407
|
-
get: () =>
|
|
376
|
+
slots: y,
|
|
377
|
+
hasValue: U,
|
|
378
|
+
multiple: P,
|
|
379
|
+
listboxId: b,
|
|
380
|
+
formField: Y,
|
|
381
|
+
isLoading: Ge,
|
|
382
|
+
clearable: We,
|
|
383
|
+
clearBind: _t,
|
|
384
|
+
isSelected: tt,
|
|
385
|
+
clearValue: ot,
|
|
386
|
+
removeChip: st,
|
|
387
|
+
triggerBind: ht,
|
|
388
|
+
handleApply: rt,
|
|
389
|
+
selectOption: nt,
|
|
390
|
+
handleCancel: it,
|
|
391
|
+
containerRef: k,
|
|
392
|
+
listboxProps: vt,
|
|
393
|
+
clearIconSize: gt,
|
|
394
|
+
mergedClasses: N,
|
|
395
|
+
showClearIcon: et,
|
|
396
|
+
visibleOptions: q,
|
|
397
|
+
isSearchActive: K,
|
|
398
|
+
open: o({
|
|
399
|
+
get: () => S.value,
|
|
408
400
|
set: (e) => {
|
|
409
|
-
e ?
|
|
401
|
+
e ? Q() : $({ commitFreeSolo: !0 });
|
|
410
402
|
}
|
|
411
403
|
}),
|
|
412
|
-
selectedOptions:
|
|
413
|
-
hasComposedList:
|
|
414
|
-
highlightedIndex:
|
|
415
|
-
handleRegisteredOptionsChange:
|
|
416
|
-
hideEmptyMessage:
|
|
417
|
-
emptyMessage:
|
|
418
|
-
loadingMessage:
|
|
404
|
+
selectedOptions: H,
|
|
405
|
+
hasComposedList: R,
|
|
406
|
+
highlightedIndex: T,
|
|
407
|
+
handleRegisteredOptionsChange: yt,
|
|
408
|
+
hideEmptyMessage: o(() => M.value.hideEmptyMessage === !0),
|
|
409
|
+
emptyMessage: o(() => M.value.emptyMessage ?? x("No options")),
|
|
410
|
+
loadingMessage: o(() => M.value.loadingMessage ?? x("Loading..."))
|
|
419
411
|
};
|
|
420
412
|
}
|
|
421
413
|
//#endregion
|
|
422
|
-
export {
|
|
414
|
+
export { h as useAutocomplete };
|