adminforth 2.25.0-next.12 → 2.25.0-next.14

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.
@@ -6,7 +6,6 @@
6
6
  <input
7
7
  ref="inputEl"
8
8
  type="text"
9
- v-bind="$attrs"
10
9
  :readonly="readonly || searchDisabled"
11
10
  v-model="search"
12
11
  @click="inputClick"
@@ -14,7 +13,7 @@
14
13
  class="block w-full pl-3 pr-10 py-2.5 border border-lightDropownButtonsBorder rounded-md leading-5 bg-lightDropdownButtonsBackground
15
14
  placeholder-lightDropdownButtonsPlaceholderText text-lightDropdownButtonsText sm:text-sm transition duration-150 ease-in-out dark:bg-darkDropdownButtonsBackground dark:border-darkDropdownButtonsBorder dark:placeholder-darkDropdownButtonsPlaceholderText
16
15
  dark:text-darkDropdownButtonsText focus:ring-lightPrimary focus:border-lightPrimary dark:focus:ring-darkPrimary dark:focus:border-darkPrimary"
17
- :class="{'cursor-pointer': searchDisabled}"
16
+ :class="[{'cursor-pointer': searchDisabled}, classesForInput]"
18
17
  autocomplete="off" data-custom="no-autofill"
19
18
  :placeholder="
20
19
  selectedItems.length && !multiple ? '' : (showDropdown ? $t('Search') : placeholder || $t('Select...'))
@@ -154,6 +153,10 @@ const props = defineProps({
154
153
  type: Number,
155
154
  default: 300,
156
155
  },
156
+ classesForInput: {
157
+ type: String,
158
+ default: '',
159
+ },
157
160
  });
158
161
 
159
162
  const emit = defineEmits(['update:modelValue', 'scroll-near-end', 'search']);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "2.25.0-next.12",
3
+ "version": "2.25.0-next.14",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",