nuxt-hs-ui 2.12.2 → 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
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.15.0"
6
6
  },
7
- "version": "2.12.2",
7
+ "version": "2.12.4",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "0.8.4",
10
10
  "unbuild": "2.0.0"
@@ -844,7 +844,7 @@ const computedIsFocusOpenBtn = computed(() => {
844
844
  >{{ displayText }}</span
845
845
  >
846
846
  <span
847
- v-if="props.data === null && !props.hideTodayBtn"
847
+ v-if="props.data === null && !props.hideTodayBtn && !props.readonly"
848
848
  class="today"
849
849
  :class="
850
850
  !manualInput
@@ -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 }">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-hs-ui",
3
- "version": "2.12.2",
3
+ "version": "2.12.4",
4
4
  "description": "My new Nuxt module",
5
5
  "repository": "https://github.com/hare-systems-ryo/nuxt-hs-ui",
6
6
  "license": "MIT",