nuxt-hs-ui 2.12.3 → 2.12.4
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/module.json
CHANGED
|
@@ -22,6 +22,7 @@ import type { MultiLang } from "../../utils/multi-lang";
|
|
|
22
22
|
// [ composables ]
|
|
23
23
|
import { useHsFocus } from "../../composables/use-hs-focus";
|
|
24
24
|
import { useHsMultiLang } from "../../composables/use-hs-multi-lang";
|
|
25
|
+
import { useHsMisc } from "../../composables/use-hs-misc";
|
|
25
26
|
// [ Components ]
|
|
26
27
|
import InputFrame from "./input-frame.vue";
|
|
27
28
|
import SelectImgIcon from "./select-img-icon.vue";
|
|
@@ -32,6 +33,7 @@ const hsFocus = useHsFocus();
|
|
|
32
33
|
const multiLang = useHsMultiLang();
|
|
33
34
|
const tx = multiLang.tx;
|
|
34
35
|
const gt = multiLang.gt;
|
|
36
|
+
const hsMisc = useHsMisc();
|
|
35
37
|
|
|
36
38
|
// ----------------------------------------------------------------------------
|
|
37
39
|
// [ Props ]
|
|
@@ -405,6 +407,7 @@ const inputElement = ref<HTMLElement | null>(null);
|
|
|
405
407
|
append-to-body
|
|
406
408
|
:options="displayList"
|
|
407
409
|
:loading="props.loading"
|
|
410
|
+
:searchable="!hsMisc.IsMobile"
|
|
408
411
|
:clearable="!props.require && props.nullable"
|
|
409
412
|
:disabled="props.disabled || props.readonly"
|
|
410
413
|
:uid="uid"
|
|
@@ -417,6 +420,8 @@ const inputElement = ref<HTMLElement | null>(null);
|
|
|
417
420
|
@blur="onBlur()"
|
|
418
421
|
@focus="onFocus()"
|
|
419
422
|
>
|
|
423
|
+
<!-- :autoscroll="false" -->
|
|
424
|
+
<!-- -->
|
|
420
425
|
<!-- -->
|
|
421
426
|
<!-- -->
|
|
422
427
|
<template #selected-option="{ text, imgUrl, deleted, appendIcon }">
|