bge-ui 1.4.4 → 1.4.5
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/index.js +1 -1
- package/package.json +1 -1
- package/src/input/index.vue +1 -1
package/dist/index.js
CHANGED
|
@@ -6292,7 +6292,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
6292
6292
|
class: normalizeClass(["bge-input__suffix", { suffix: !!unref(suffixSlot) }])
|
|
6293
6293
|
}, [
|
|
6294
6294
|
createElementVNode("span", _hoisted_6$5, [
|
|
6295
|
-
input.value ? (openBlock(), createBlock(_sfc_main$27, {
|
|
6295
|
+
input.value && !__props.readonly && !__props.disabled ? (openBlock(), createBlock(_sfc_main$27, {
|
|
6296
6296
|
key: 0,
|
|
6297
6297
|
class: "bge-input__icon clear",
|
|
6298
6298
|
onMouseover: _cache[2] || (_cache[2] = withModifiers(($event) => hoverClear(true), ["prevent"])),
|
package/package.json
CHANGED
package/src/input/index.vue
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
@change="handleChange" @input="handleInput" />
|
|
15
15
|
<span class="bge-input__suffix" :class="{ suffix: !!suffixSlot }">
|
|
16
16
|
<span class="bge-input__suffix-inner">
|
|
17
|
-
<mono-close class="bge-input__icon clear" v-if="input" @mouseover.prevent="hoverClear(true)"
|
|
17
|
+
<mono-close class="bge-input__icon clear" v-if="input && !readonly && !disabled" @mouseover.prevent="hoverClear(true)"
|
|
18
18
|
@mouseout.prevent="hoverClear(false)" @click="handelClear" size="20" />
|
|
19
19
|
<slot v-if="type !== 'textarea'" name="suffix" />
|
|
20
20
|
</span>
|