@mixd-id/web-scaffold 0.1.230406029 → 0.1.230406031
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/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<div class="overflow-hidden hidden md:block">
|
|
15
15
|
<slot v-if="$slots['lp-search']" name="lp-search" :preset="preset"/>
|
|
16
16
|
<Textbox v-else :clearable="true" :placeholder="$t('Search...')" class="w-[200px]" v-model="preset.search"
|
|
17
|
-
@clear="clearSearch" @
|
|
17
|
+
@clear="clearSearch" @keyup.enter="load">
|
|
18
18
|
<template #start>
|
|
19
19
|
<div class="px-2">
|
|
20
20
|
<svg width="16" height="16" class="fill-text-300" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div :class="computedClass">
|
|
3
3
|
<slot name="start"></slot>
|
|
4
|
-
<input :type="computedType" :disabled="isDisabled" @focus="isActive = true"
|
|
4
|
+
<input :type="computedType" :disabled="isDisabled" @focus="isActive = true" @input="onInput" @blur="onBlur"
|
|
5
5
|
:placeholder="placeholder" :maxlength="maxlength" ref="input" autocomplete="new-password"
|
|
6
6
|
:value="displayedValue" :readonly="Boolean(readonly)"
|
|
7
7
|
@keydown="onKeyDown"/>
|
|
@@ -139,11 +139,7 @@ export default{
|
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
mounted(){
|
|
145
|
-
console.log('Textbox mounted', this.$el)
|
|
146
|
-
}
|
|
142
|
+
}
|
|
147
143
|
|
|
148
144
|
}
|
|
149
145
|
|