eco-vue-js 0.11.21 → 0.11.22
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.
@@ -116,7 +116,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
116
116
|
const message = _validate(modelValue.value);
|
117
117
|
errorMessage.value = message;
|
118
118
|
if (!silent) {
|
119
|
-
isErrorShown.value =
|
119
|
+
isErrorShown.value = message !== void 0;
|
120
120
|
if (!isInsideTab) scrollTo();
|
121
121
|
}
|
122
122
|
return message;
|
@@ -167,7 +167,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
167
167
|
if (props.name) titleUpdater?.(value, props.name);
|
168
168
|
}, { immediate: true });
|
169
169
|
watch(required, () => {
|
170
|
-
doValidate();
|
170
|
+
doValidate(true);
|
171
171
|
});
|
172
172
|
watch(skeleton, (value) => {
|
173
173
|
if (!value) initModel();
|
@@ -427,7 +427,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
427
427
|
_ctx.$emit("blur", $event);
|
428
428
|
setFocused(false);
|
429
429
|
isSecureVisible.value = false;
|
430
|
-
|
430
|
+
unref(contentRef)?.scrollTo({ left: 0 });
|
431
431
|
},
|
432
432
|
onClick: _cache[4] || (_cache[4] = ($event) => _ctx.$emit("click", $event)),
|
433
433
|
onMousedown: _cache[5] || (_cache[5] = withModifiers(($event) => _ctx.$emit("mousedown", $event), ["stop"])),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WInputSuggest.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputSuggest.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WInputSuggest.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputSuggest.vue"],"names":[],"mappings":"AA6HA;AAyOA,OAAO,KAAK,EAAC,iBAAiB,EAAE,aAAa,EAAC,MAAM,SAAS,CAAA;AAE7D,OAAO,EAAC,KAAK,KAAK,EAAgC,MAAM,K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M,GAAG,IAAI;YACb,OAAO,GAAG,IAAI;YACd,aAAa,GAAG,IAAI;YACpB,OAAO,SAAS,UAAU,GAAG,SAAS,GAAG,IAAI;YAC7C,MAAM,SAAS,UAAU,GAAG,IAAI;;EA6YlC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AA9azE,wBA8a4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent, ref, useTemplateRef, computed, createBlock, openBlock, resolveDynamicComponent, unref, mergeProps, createSlots, withCtx, createVNode, createCommentVNode, normalizeClass, renderSlot, normalizeProps, guardReactiveProps } from 'vue';
|
1
|
+
import { defineComponent, ref, useTemplateRef, computed, createBlock, openBlock, resolveDynamicComponent, unref, mergeProps, createSlots, withCtx, createVNode, createCommentVNode, normalizeClass, renderSlot, normalizeProps, guardReactiveProps, createElementBlock, Fragment, createElementVNode } from 'vue';
|
2
2
|
import _sfc_main$1 from '../BottomSheet/WBottomSheet.vue.js';
|
3
3
|
import _sfc_main$2 from '../DropdownMenu/WDropdownMenu.vue.js';
|
4
4
|
import _sfc_main$4 from '../InfiniteList/WInfiniteListScrollingElement.vue.js';
|
@@ -195,7 +195,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
195
195
|
_ctx.$slots.bottom || _ctx.static && _ctx.$slots.content ? {
|
196
196
|
name: "bottom",
|
197
197
|
fn: withCtx(() => [
|
198
|
-
|
198
|
+
_ctx.static ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
199
|
+
_cache[6] || (_cache[6] = createElementVNode("div", { class: "pb-4" }, null, -1)),
|
200
|
+
renderSlot(_ctx.$slots, "content")
|
201
|
+
], 64)) : createCommentVNode("", true),
|
199
202
|
renderSlot(_ctx.$slots, "bottom")
|
200
203
|
]),
|
201
204
|
key: "3"
|