eco-vue-js 0.13.4 → 0.13.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/components/Input/WInput.vue.d.ts +1 -0
- package/dist/components/Input/WInput.vue.d.ts.map +1 -1
- package/dist/components/Input/WInput.vue_vue_type_script_setup_true_lang.js +5 -3
- package/dist/components/Input/WInputAsync.vue.d.ts +1 -0
- package/dist/components/Input/WInputAsync.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputSuggest.vue.d.ts +4 -0
- package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputSuggest.vue_vue_type_script_setup_true_lang.js +8 -3
- package/package.json +1 -1
|
@@ -54,6 +54,7 @@ declare const __VLS_export: <Type extends InputType = "text">(__VLS_props: NonNu
|
|
|
54
54
|
} & {
|
|
55
55
|
before?: (props: {
|
|
56
56
|
modelValue: (Type extends "number" ? number : string) | null | undefined;
|
|
57
|
+
focused: boolean;
|
|
57
58
|
}) => any;
|
|
58
59
|
} & {
|
|
59
60
|
after?: (props: {}) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInput.vue"],"names":[],"mappings":"AAkXA;
|
|
1
|
+
{"version":3,"file":"WInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInput.vue"],"names":[],"mappings":"AAkXA;AA0zBA,OAAO,KAAK,EAAC,UAAU,EAAY,aAAa,EAAC,MAAM,SAAS,CAAA;AAChE,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,mCAAmC,CAAA;AAmBlE,OAAO,EAAC,KAAK,WAAW,EAAC,MAAM,gBAAgB,CAAA;AAI/C,QAAA,MAAM,YAAY,GAAK,IAAI,SAAS,SAAS,GAAG,MAAM,EACrD,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9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I;YAC7C,aAAa,SAAS,aAAa,GAAG,IAAI;YAC1C,eAAe,SAAS,aAAa,GAAG,IAAI;YAC5C,iBAAiB,SAAS,aAAa,GAAG,IAAI;YAC9C,oBAAoB,SAAS,aAAa,GAAG,IAAI;YACjD,aAAa,GAAG,IAAI;YACpB,OAAO,SAAS,UAAU,GAAG,SAAS,GAAG,IAAI;YAC7C,MAAM,SAAS,UAAU,GAAG,IAAI;YAChC,OAAO,SAAS,UAAU,GAAG,IAAI;YACjC,WAAW,SAAS,UAAU,GAAG,IAAI;YACrC,cAAc,SAAS,KAAK,GAAG,IAAI;YACnC,OAAO,GAAG,IAAI;YACd,UAAU,cAAc,WAAW,EAAE,GAAG,IAAI;;EAg9C9C,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAA;CAAI,CAAC;wBACpE,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -292,7 +292,6 @@ var WInput_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
|
|
|
292
292
|
if (isDisabled.value || isReadonly.value || props.unclickable) return;
|
|
293
293
|
if (typeof props.modelValue === "string") updateModelValue("", true);
|
|
294
294
|
else updateModelValue(void 0, true);
|
|
295
|
-
inputRef.value?.focus();
|
|
296
295
|
emit("click:clear");
|
|
297
296
|
};
|
|
298
297
|
const focus = () => {
|
|
@@ -557,7 +556,7 @@ var WInput_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
|
|
|
557
556
|
"w-option-has-bg-input": _ctx.$slots.prefix,
|
|
558
557
|
"resize-y": __props.resize && __props.textarea,
|
|
559
558
|
"resize-none": !__props.resize && __props.textarea,
|
|
560
|
-
"w-option
|
|
559
|
+
"w-option": !__props.textarea && _ctx.$slots.prefix && !__props.hideInput,
|
|
561
560
|
"font-mono": __props.mono,
|
|
562
561
|
"text-black-default dark:text-gray-200": !unref(isDisabled),
|
|
563
562
|
"text-black-default/50 dark:text-gray-200/50": unref(isDisabled),
|
|
@@ -566,7 +565,10 @@ var WInput_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
|
|
|
566
565
|
"absolute": __props.hideInput,
|
|
567
566
|
"opacity-0": __props.textSecure && __props.modelValue === true && (!unref(asyncState).isAsync.value || !unref(asyncState).value.value) && !focused
|
|
568
567
|
}]) }, [createElementVNode("div", _hoisted_5, [
|
|
569
|
-
renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps({
|
|
568
|
+
renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps({
|
|
569
|
+
modelValue: __props.modelValue,
|
|
570
|
+
focused
|
|
571
|
+
}))),
|
|
570
572
|
__props.placeholder && __props.textarea && hasNoValue.value && !focused ? (openBlock(), createElementBlock("div", _hoisted_6, toDisplayString(__props.placeholder), 1)) : createCommentVNode("", true),
|
|
571
573
|
(openBlock(), createBlock(resolveDynamicComponent(__props.textarea ? unref(ContentEditable) : "input"), {
|
|
572
574
|
id,
|
|
@@ -20,6 +20,7 @@ declare const __VLS_export: <Type extends InputType = "text">(__VLS_props: NonNu
|
|
|
20
20
|
} & {
|
|
21
21
|
before?: (props: {
|
|
22
22
|
modelValue: (Type extends "number" ? number : string) | null | undefined;
|
|
23
|
+
focused: boolean;
|
|
23
24
|
}) => any;
|
|
24
25
|
};
|
|
25
26
|
emit: (e: "update:model-value", value: NonNullable<(Type extends "number" ? number : string) | null> | undefined) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WInputAsync.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputAsync.vue"],"names":[],"mappings":"AAqDA;AAmGA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,SAAS,CAAA;AAM5C,QAAA,MAAM,YAAY,GAAK,IAAI,SAAS,SAAS,GAAG,MAAM,EACrD,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,gBAAgB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClE;WAkKO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB,CAAC;;KAAmC,CAAC,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC5J,CAAC,OAAO,EAAE,EAAE,KAAK,IAAI;WACtB,GAAG;;gBAdC,CAAC,KAAK,IAAiB,KAAK,GAAG;;mBAC5B,CAAC,KAAK,IAAiB,KAAK,GAAG;;gBAClC,CAAC,KAAK,IAAiB,KAAK,GAAG;;iBAC9B,CAAC,KAAK;;SAAiB,KAAK,GAAG;;iBAC/B,CAAC,KAAK
|
|
1
|
+
{"version":3,"file":"WInputAsync.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputAsync.vue"],"names":[],"mappings":"AAqDA;AAmGA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,SAAS,CAAA;AAM5C,QAAA,MAAM,YAAY,GAAK,IAAI,SAAS,SAAS,GAAG,MAAM,EACrD,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,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|
|
37
|
+
before?: (props: {
|
|
38
|
+
modelValue: ((Type extends "number" ? number : string) | null) | undefined;
|
|
39
|
+
focused: boolean;
|
|
40
|
+
}) => void;
|
|
37
41
|
right?: (props: {
|
|
38
42
|
unclickable?: boolean | null;
|
|
39
43
|
}) => void;
|
|
@@ -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":"AAwJA;AA0QA,OAAO,KAAK,EAAC,iBAAiB,EAAE,aAAa,EAAC,MAAM,SAAS,CAAA;AAE7D,OAAO,EAAC,KAAK,KAAK,EAA4C,MAAM,KAAK,CAAA;AAgBzE,QAAA,MAAM,YAAY,GAAK,IAAI,SAAS,SAAS,GAAG,MAAM,EACrD,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,gBAAgB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClE;WAifO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB,CAAC;;;;;;;;;;;KAAmC,CAAC,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC5J,CAAC,OAAO,EAAE,OAAO,KAAK,EAAE,gBAAgB;;;;;;+BA/anB,aAAa;+BACb,MAAM,aAAa,MAAM;;MA8agB,KAAK,IAAI;WACxE,GAAG;;gBA7ZD,MAAM,IAAI;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,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -210,6 +210,11 @@ var WInputSuggest_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
|
|
|
210
210
|
fn: withCtx((scope) => [renderSlot(_ctx.$slots, "toolbar", normalizeProps(guardReactiveProps(scope)))]),
|
|
211
211
|
key: "2"
|
|
212
212
|
} : void 0,
|
|
213
|
+
_ctx.$slots.before ? {
|
|
214
|
+
name: "before",
|
|
215
|
+
fn: withCtx((scope) => [renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(scope)))]),
|
|
216
|
+
key: "3"
|
|
217
|
+
} : void 0,
|
|
213
218
|
_ctx.$slots.bottom || __props.static && _ctx.$slots.content ? {
|
|
214
219
|
name: "bottom",
|
|
215
220
|
fn: withCtx(() => [__props.static ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [_cache[6] || (_cache[6] = createElementVNode("div", { class: "pb-4" }, null, -1)), renderSlot(_ctx.$slots, "content", normalizeProps(guardReactiveProps({
|
|
@@ -217,7 +222,7 @@ var WInputSuggest_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
|
|
|
217
222
|
focus,
|
|
218
223
|
blur
|
|
219
224
|
})))], 64)) : createCommentVNode("", true), renderSlot(_ctx.$slots, "bottom")]),
|
|
220
|
-
key: "
|
|
225
|
+
key: "4"
|
|
221
226
|
} : void 0,
|
|
222
227
|
!unref(isReadonly) && !__props.hideToggle && !__props.static ? {
|
|
223
228
|
name: "suffix",
|
|
@@ -234,12 +239,12 @@ var WInputSuggest_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
|
|
|
234
239
|
"disabled",
|
|
235
240
|
"onClick"
|
|
236
241
|
])]),
|
|
237
|
-
key: "
|
|
242
|
+
key: "5"
|
|
238
243
|
} : void 0,
|
|
239
244
|
_ctx.$slots.right ? {
|
|
240
245
|
name: "right",
|
|
241
246
|
fn: withCtx(() => [renderSlot(_ctx.$slots, "right", { unclickable: toggleScope?.unclickable })]),
|
|
242
|
-
key: "
|
|
247
|
+
key: "6"
|
|
243
248
|
} : void 0
|
|
244
249
|
]), 1040, [
|
|
245
250
|
"class",
|