eco-vue-js 0.11.3 → 0.11.4
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/DropdownMenu/WDropdownMenu.vue.d.ts +2 -2
- package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -1
- package/dist/components/DropdownMenu/WDropdownMenu.vue.js +1 -1
- package/dist/components/FormAsync/WFormAsyncSelect.vue.js +1 -0
- package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js +1 -0
- package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.js +1 -0
- package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.js +1 -0
- package/dist/components/Input/WInput.vue.js +4 -4
- package/dist/components/Input/WInputDate.vue.js +1 -0
- package/dist/components/Input/WInputOptions.vue.js +1 -0
- package/dist/components/Input/WInputSuggest.vue.d.ts +5 -7
- package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputSuggest.vue.js +39 -29
- package/dist/components/Input/components/InputSuggestStatic.vue.d.ts +21 -0
- package/dist/components/Input/components/InputSuggestStatic.vue.d.ts.map +1 -0
- package/dist/components/Input/components/InputSuggestStatic.vue.js +11 -0
- package/dist/components/Input/types.d.ts +1 -0
- package/dist/components/Input/types.d.ts.map +1 -1
- package/dist/components/Select/WSelect.vue.d.ts +2 -2
- package/dist/components/Select/WSelect.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelect.vue.js +1 -0
- package/dist/components/Select/WSelectAsync.vue.js +1 -0
- package/dist/components/Select/WSelectAsyncSingle.vue.js +1 -0
- package/dist/components/Select/WSelectSingle.vue.js +1 -0
- package/dist/components/Select/WSelectStringified.vue.js +1 -0
- package/dist/components/Select/components/SelectOption.vue.d.ts +1 -0
- package/dist/components/Select/components/SelectOption.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectOption.vue.js +3 -2
- package/package.json +1 -1
@@ -6,13 +6,13 @@ declare function __VLS_template(): {
|
|
6
6
|
slots: Readonly<{
|
7
7
|
toggle?: (props: {
|
8
8
|
isTop: boolean;
|
9
|
-
unclickable:
|
9
|
+
unclickable: undefined;
|
10
10
|
}) => VNode[];
|
11
11
|
content?: (props: DropdownDefaultSlotScope) => VNode[];
|
12
12
|
}> & {
|
13
13
|
toggle?: (props: {
|
14
14
|
isTop: boolean;
|
15
|
-
unclickable:
|
15
|
+
unclickable: undefined;
|
16
16
|
}) => VNode[];
|
17
17
|
content?: (props: DropdownDefaultSlotScope) => VNode[];
|
18
18
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WDropdownMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/WDropdownMenu.vue"],"names":[],"mappings":"AAiCA;AAwEA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAA;AAC9C,OAAO,KAAK,EAAC,wBAAwB,EAAC,MAAM,6BAA6B,CAAA;AAEzE,OAAO,EAAC,KAAK,KAAK,EAAmC,MAAM,KAAK,CAAA;AAyChE,iBAAS,cAAc;WA6FT,OAAO,IAA6B;;iBA9GvC,CAAC,KAAK,EAAE;YAAC,KAAK,EAAE,OAAO,CAAC;YAAC,WAAW,EAAE,
|
1
|
+
{"version":3,"file":"WDropdownMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/WDropdownMenu.vue"],"names":[],"mappings":"AAiCA;AAwEA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAA;AAC9C,OAAO,KAAK,EAAC,wBAAwB,EAAC,MAAM,6BAA6B,CAAA;AAEzE,OAAO,EAAC,KAAK,KAAK,EAAmC,MAAM,KAAK,CAAA;AAyChE,iBAAS,cAAc;WA6FT,OAAO,IAA6B;;iBA9GvC,CAAC,KAAK,EAAE;YAAC,KAAK,EAAE,OAAO,CAAC;YAAC,WAAW,EAAE,SAAS,CAAA;SAAC,KAAK,KAAK,EAAE;kBAC3D,CAAC,KAAK,EAAE,wBAAwB,KAAK,KAAK,EAAE;;iBAD7C,CAAC,KAAK,EAAE;YAAC,KAAK,EAAE,OAAO,CAAC;YAAC,WAAW,EAAE,SAAS,CAAA;SAAC,KAAK,KAAK,EAAE;kBAC3D,CAAC,KAAK,EAAE,wBAAwB,KAAK,KAAK,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA0JkoiB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;EAxC/yiB;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAwBqqiB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;OAf9yiB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -29,7 +29,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
29
29
|
});
|
30
30
|
return (_ctx, _cache) => {
|
31
31
|
return openBlock(), createElementBlock(Fragment, null, [
|
32
|
-
(openBlock(), createBlock(resolveDynamicComponent(unref(unwrapSlots)(_ctx.$slots.toggle?.({ isTop: isTop.value, unclickable:
|
32
|
+
(openBlock(), createBlock(resolveDynamicComponent(unref(unwrapSlots)(_ctx.$slots.toggle?.({ isTop: isTop.value, unclickable: void 0 }) ?? [])[0]), mergeProps({ ref: "container" }, _ctx.$attrs), null, 16)),
|
33
33
|
(openBlock(), createBlock(Teleport, {
|
34
34
|
to: "body",
|
35
35
|
disabled: !_ctx.isOpen
|
@@ -266,14 +266,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
266
266
|
ref: "content",
|
267
267
|
class: normalizeClass(["group/input col-start-2 grid grid-cols-1", {
|
268
268
|
"py-[--w-input-gap,0.25rem] first:pl-[--w-input-gap,0.25rem] last:pr-[--w-input-gap,0.25rem]": _ctx.$slots.prefix,
|
269
|
-
"no-scrollbar overflow-x-auto overscroll-x-contain": _ctx.
|
270
|
-
"overflow-hidden": _ctx.
|
269
|
+
"no-scrollbar overflow-x-auto overscroll-x-contain": _ctx.seamless && focused,
|
270
|
+
"overflow-hidden": _ctx.seamless && !focused
|
271
271
|
}])
|
272
272
|
}, [
|
273
273
|
createElementVNode("div", {
|
274
|
-
class: normalizeClass(["w-skeleton-w-32 flex gap-[--w-input-gap,0.25rem]", {
|
274
|
+
class: normalizeClass(["w-skeleton-w-32 flex w-max gap-[--w-input-gap,0.25rem]", {
|
275
275
|
"[&:not(:has(.w-option-has-bg))]:-px--w-option-padding": !_ctx.icon && !_ctx.textarea,
|
276
|
-
"flex-wrap": !_ctx.noWrap
|
276
|
+
"flex-wrap": !_ctx.noWrap && !_ctx.seamless
|
277
277
|
}])
|
278
278
|
}, [
|
279
279
|
renderSlot(_ctx.$slots, "prefix", normalizeProps(guardReactiveProps({ modelValue: _ctx.modelValue }))),
|
@@ -12,24 +12,22 @@ declare const _default: <Type extends InputType = "text">(__VLS_props: NonNullab
|
|
12
12
|
attrs: any;
|
13
13
|
slots: Readonly<{
|
14
14
|
title?: () => void;
|
15
|
+
bottom?: () => void;
|
15
16
|
subtitle?: () => void;
|
16
17
|
prefix?: (props: {
|
17
18
|
unclickable?: boolean | null;
|
18
19
|
}) => void;
|
19
20
|
right?: (props: Record<string, never>) => void;
|
20
|
-
content?: (
|
21
|
-
scrollingElement?: Element;
|
22
|
-
}) => VNode[];
|
21
|
+
content?: () => VNode[];
|
23
22
|
}> & {
|
24
23
|
title?: () => void;
|
24
|
+
bottom?: () => void;
|
25
25
|
subtitle?: () => void;
|
26
26
|
prefix?: (props: {
|
27
27
|
unclickable?: boolean | null;
|
28
28
|
}) => void;
|
29
29
|
right?: (props: Record<string, never>) => void;
|
30
|
-
content?: (
|
31
|
-
scrollingElement?: Element;
|
32
|
-
}) => VNode[];
|
30
|
+
content?: () => VNode[];
|
33
31
|
};
|
34
32
|
emit: {
|
35
33
|
(e: "update:model-value", event: Type extends "number" ? number : string): void;
|
@@ -40,7 +38,7 @@ declare const _default: <Type extends InputType = "text">(__VLS_props: NonNullab
|
|
40
38
|
(e: "open"): void;
|
41
39
|
(e: "close"): void;
|
42
40
|
(e: "click:clear"): void;
|
43
|
-
(e: "focus", value: FocusEvent): void;
|
41
|
+
(e: "focus", value: FocusEvent | undefined): void;
|
44
42
|
(e: "blur", value: FocusEvent): void;
|
45
43
|
};
|
46
44
|
}>) => import('vue').VNode & {
|
@@ -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":"AAiHA;AA6NA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAA;AAE9C,OAAO,EAAC,KAAK,KAAK,EAAgC,MAAM,KAAK,CAAA;yBAe5C,IAAI,SAAS,SAAS,GAAG,MAAM,EAC/C,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,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ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-1,12 +1,13 @@
|
|
1
|
-
import { defineComponent, ref, useTemplateRef, computed, createBlock, openBlock, resolveDynamicComponent, unref, mergeProps, withCtx, createVNode,
|
1
|
+
import { defineComponent, ref, useTemplateRef, computed, createBlock, openBlock, resolveDynamicComponent, unref, mergeProps, createSlots, withCtx, createVNode, createCommentVNode, normalizeClass, renderSlot } 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
|
-
import _sfc_main$
|
5
|
-
import _sfc_main$
|
4
|
+
import _sfc_main$4 from '../InfiniteList/WInfiniteListScrollingElement.vue.js';
|
5
|
+
import _sfc_main$3 from './WInput.vue.js';
|
6
6
|
import IconArrow from '../../assets/icons/IconArrow.svg.js';
|
7
7
|
import { HorizontalAlign } from '../../utils/HorizontalAlign.js';
|
8
8
|
import { useIsMobile } from '../../utils/mobile.js';
|
9
9
|
import { useComponentStates } from '../../utils/useComponentStates.js';
|
10
|
+
import InputSuggestStatic from './components/InputSuggestStatic.vue.js';
|
10
11
|
|
11
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
12
13
|
...{ inheritAttrs: false },
|
@@ -15,6 +16,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
15
16
|
mobileTitle: {},
|
16
17
|
persist: { type: Boolean },
|
17
18
|
closeOnClear: { type: Boolean },
|
19
|
+
static: { type: Boolean },
|
18
20
|
modelValue: {},
|
19
21
|
type: {},
|
20
22
|
textarea: { type: Boolean },
|
@@ -109,7 +111,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
109
111
|
scrollToInput
|
110
112
|
});
|
111
113
|
return (_ctx, _cache) => {
|
112
|
-
return openBlock(), createBlock(resolveDynamicComponent(unref(isMobile) ? _sfc_main$1 : _sfc_main$2), mergeProps({ ref: "dropdownMenu" }, unref(isMobile) ? {
|
114
|
+
return openBlock(), createBlock(resolveDynamicComponent(_ctx.static ? InputSuggestStatic : unref(isMobile) ? _sfc_main$1 : _sfc_main$2), mergeProps({ ref: "dropdownMenu" }, _ctx.static ? void 0 : unref(isMobile) ? {
|
113
115
|
isOpen: isOpen.value,
|
114
116
|
onClose: close
|
115
117
|
} : {
|
@@ -119,9 +121,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
119
121
|
horizontalAlign: _ctx.horizontalAlign,
|
120
122
|
updateAlign: true,
|
121
123
|
parentElement: unref(inputRef)?.fieldRef
|
122
|
-
}), {
|
124
|
+
}), createSlots({
|
123
125
|
toggle: withCtx((toggleScope) => [
|
124
|
-
createVNode(_sfc_main$
|
126
|
+
createVNode(_sfc_main$3, mergeProps({ ref: "input" }, {
|
125
127
|
...props,
|
126
128
|
..._ctx.$attrs,
|
127
129
|
title: toggleScope?.unclickable === false ? _ctx.mobileTitle ?? _ctx.title : _ctx.title,
|
@@ -182,37 +184,45 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
182
184
|
]),
|
183
185
|
key: "1"
|
184
186
|
} : void 0,
|
187
|
+
_ctx.$slots.bottom || _ctx.static && _ctx.$slots.content ? {
|
188
|
+
name: "bottom",
|
189
|
+
fn: withCtx(() => [
|
190
|
+
renderSlot(_ctx.$slots, "content"),
|
191
|
+
renderSlot(_ctx.$slots, "bottom")
|
192
|
+
]),
|
193
|
+
key: "2"
|
194
|
+
} : void 0,
|
185
195
|
_ctx.$slots.right ? {
|
186
196
|
name: "right",
|
187
197
|
fn: withCtx(() => [
|
188
198
|
renderSlot(_ctx.$slots, "right")
|
189
199
|
]),
|
190
|
-
key: "
|
200
|
+
key: "3"
|
191
201
|
} : void 0
|
192
202
|
]), 1040, ["class", "onFocus", "onBlur", "onClick", "onClick:suffix"])
|
193
203
|
]),
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
204
|
+
_: 2
|
205
|
+
}, [
|
206
|
+
!_ctx.static ? {
|
207
|
+
name: "content",
|
208
|
+
fn: withCtx((contentScope) => [
|
209
|
+
createVNode(_sfc_main$4, {
|
210
|
+
parent: unref(isMobile),
|
211
|
+
class: normalizeClass(["bg-default dark:bg-default-dark w-full", {
|
212
|
+
"pb-[50vh]": unref(isMobile),
|
213
|
+
"overflow-y-overlay max-h-[inherit] overflow-x-hidden overscroll-contain rounded-xl shadow-md dark:border dark:border-solid dark:border-gray-800": !unref(isMobile),
|
214
|
+
"mt-5": "isTop" in contentScope && contentScope.isTop === false && (_ctx.errorMessage || _ctx.maxLength)
|
215
|
+
}])
|
216
|
+
}, {
|
217
|
+
default: withCtx(() => [
|
218
|
+
_ctx.$slots.content ? renderSlot(_ctx.$slots, "content", { key: 0 }) : createCommentVNode("", true)
|
219
|
+
]),
|
220
|
+
_: 2
|
221
|
+
}, 1032, ["parent", "class"])
|
222
|
+
]),
|
223
|
+
key: "0"
|
224
|
+
} : void 0
|
225
|
+
]), 1040);
|
216
226
|
};
|
217
227
|
}
|
218
228
|
});
|
@@ -0,0 +1,21 @@
|
|
1
|
+
declare function __VLS_template(): {
|
2
|
+
attrs: Partial<{}>;
|
3
|
+
slots: {
|
4
|
+
toggle?(_: {
|
5
|
+
unclickable: undefined;
|
6
|
+
isTop: boolean;
|
7
|
+
}): any;
|
8
|
+
};
|
9
|
+
refs: {};
|
10
|
+
rootEl: any;
|
11
|
+
};
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
15
|
+
export default _default;
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
17
|
+
new (): {
|
18
|
+
$slots: S;
|
19
|
+
};
|
20
|
+
};
|
21
|
+
//# sourceMappingURL=InputSuggestStatic.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"InputSuggestStatic.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/components/InputSuggestStatic.vue"],"names":[],"mappings":"AAMA;AAaA,iBAAS,cAAc;WAqBT,OAAO,IAA6B;;;;;YAVtB,GAAG;;;;EAe9B;AAOD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,+QAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { renderSlot, normalizeProps, guardReactiveProps } from 'vue';
|
2
|
+
import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.js';
|
3
|
+
|
4
|
+
const _sfc_main = { };
|
5
|
+
|
6
|
+
function _sfc_render(_ctx, _cache) {
|
7
|
+
return renderSlot(_ctx.$slots, "toggle", normalizeProps(guardReactiveProps({unclickable: undefined, isTop: false})))
|
8
|
+
}
|
9
|
+
const InputSuggestStatic = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render]]);
|
10
|
+
|
11
|
+
export { InputSuggestStatic as default };
|
@@ -39,6 +39,7 @@ export interface InputSuggestProps<Type extends InputType> extends Omit<InputPro
|
|
39
39
|
mobileTitle?: string;
|
40
40
|
persist?: boolean;
|
41
41
|
closeOnClear?: boolean;
|
42
|
+
static?: boolean;
|
42
43
|
}
|
43
44
|
export interface InputOptionsProps<Type extends InputType, Option> extends InputSuggestProps<Type> {
|
44
45
|
options: Option[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,uBAAuB,CAAA;AAC5D,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,KAAK,CAAA;AAElC,MAAM,WAAW,UAAU,CAAC,IAAI,SAAS,SAAS,CAAE,SAAQ,IAAI,CAAC,iBAAiB,EAAE,YAAY,CAAC;IAC/F,UAAU,CAAC,EAAE,CAAC,IAAI,SAAS,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC,GAAG,SAAS,CAAA;IAClE,IAAI,CAAC,EAAE,IAAI,CAAA;IAEX,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,KAAK,GAAG,MAAM,CAAA;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,OAAO,GAAG,IAAI,CAAA;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,OAAO,CAAC,EAAE,O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,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB;AAED,MAAM,WAAW,iBAAiB,CAAC,IAAI,SAAS,SAAS,CAAE,SAAQ,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,aAAa,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,aAAa,GAAG,YAAY,CAAC,CAAC;IACjL,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,MAAM,WAAW,iBAAiB,CAAC,IAAI,SAAS,SAAS,EAAE,MAAM,CAAE,SAAQ,iBAAiB,CAAC,IAAI,CAAC;IAChG,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAA;IAChF,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,SAAS,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,OAAO,CAAA;KAAC,CAAC,CAAA;CACnF;AAED,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;IACnF,UAAU,CAAC,EAAE,IAAI,GAAG,SAAS,CAAA;IAC7B,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,OAAO,CAAC,EAAE,IAAI,CAAA;CACf"}
|
@@ -3,7 +3,7 @@ declare const _default: <Model extends number | string, Data extends DefaultData
|
|
3
3
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
4
4
|
readonly onSelect?: ((item: Model) => any) | undefined;
|
5
5
|
readonly onBlur?: ((value: FocusEvent) => any) | undefined;
|
6
|
-
readonly onFocus?: ((value: FocusEvent) => any) | undefined;
|
6
|
+
readonly onFocus?: ((value: FocusEvent | undefined) => any) | undefined;
|
7
7
|
readonly onUnselect?: ((item: Model) => any) | undefined;
|
8
8
|
readonly "onInit-model"?: (() => any) | undefined;
|
9
9
|
readonly "onUpdate:query-options-error"?: ((value: string | undefined) => any) | undefined;
|
@@ -28,7 +28,7 @@ declare const _default: <Model extends number | string, Data extends DefaultData
|
|
28
28
|
emit: {
|
29
29
|
(e: "select", item: Model): void;
|
30
30
|
(e: "unselect", item: Model): void;
|
31
|
-
(e: "focus", value: FocusEvent): void;
|
31
|
+
(e: "focus", value: FocusEvent | undefined): void;
|
32
32
|
(e: "blur", value: FocusEvent): void;
|
33
33
|
(e: "update:query-options-error", value: string | undefined): void;
|
34
34
|
(e: "init-model"): void;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/WSelect.vue"],"names":[],"mappings":"AA+KA;AA0cA,OAAO,KAAK,EAAC,qBAAqB,EAA8B,iBAAiB,EAAE,WAAW,EAAC,MAAM,SAAS,CAAA;yBAc7F,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,kBAAkB,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,EAChJ,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,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAurBO,mBAAmB,CAAC;;;;;;;sSAAkE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A4d8B,GAAG,IAAI;WACpE,GAAG;;gBA9aD,MAAM,IAAI;mBACP,MAAM,IAAI;iBACZ,CAAC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,KAAK,IAAI;gBACrD,MAAM,IAAI;;gBAHV,MAAM,IAAI;mBACP,MAAM,IAAI;iBACZ,CAAC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,KAAK,IAAI;gBACrD,MAAM,IAAI;;;YAhQd,QAAQ,QAAQ,KAAK,GAAG,IAAI;YAC5B,UAAU,QAAQ,KAAK,GAAG,IAAI;YAC9B,OAAO,SAAS,UAAU,GAAG,SAAS,GAAG,IAAI;YAC7C,MAAM,SAAS,UAAU,GAAG,IAAI;YAChC,4BAA4B,SAAS,MAAM,GAAG,SAAS,GAAG,IAAI;YAC9D,YAAY,GAAG,IAAI;;EA0qBrB,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAlsBzE,wBAksB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -41,6 +41,7 @@ declare const _default: <Model extends number | string>(__VLS_props: NonNullable
|
|
41
41
|
(e: "unmounted"): void;
|
42
42
|
(e: "update:first"): void;
|
43
43
|
(e: "update:last"): void;
|
44
|
+
(e: "mouseenter", value: MouseEvent): void;
|
44
45
|
};
|
45
46
|
}>) => import('vue').VNode & {
|
46
47
|
__ctx?: Awaited<typeof __VLS_setup>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SelectOption.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/components/SelectOption.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"SelectOption.vue.d.ts","sourceRoot":"","sources":["../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YAClB,cAAc,GAAG,IAAI;YACrB,aAAa,GAAG,IAAI;YACpB,YAAY,SAAS,UAAU,GAAG,IAAI;;EA2LxC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AA3NzE,wBA2N4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -22,7 +22,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
22
22
|
hideOptionIcon: { type: Boolean },
|
23
23
|
disabled: { type: Boolean }
|
24
24
|
},
|
25
|
-
emits: ["select", "unselect", "update:is-cursor", "update:cursor", "update:previous", "update:next", "unmounted", "update:first", "update:last"],
|
25
|
+
emits: ["select", "unselect", "update:is-cursor", "update:cursor", "update:previous", "update:next", "unmounted", "update:first", "update:last", "mouseenter"],
|
26
26
|
setup(__props, { expose: __expose, emit: __emit }) {
|
27
27
|
const props = __props;
|
28
28
|
const emit = __emit;
|
@@ -78,7 +78,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
78
78
|
}]),
|
79
79
|
onMousedown: _cache[0] || (_cache[0] = withModifiers(() => {
|
80
80
|
}, ["prevent", "stop"])),
|
81
|
-
onClick: withModifiers(toggle, ["prevent", "stop"])
|
81
|
+
onClick: withModifiers(toggle, ["prevent", "stop"]),
|
82
|
+
onMouseenter: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("mouseenter", $event))
|
82
83
|
}, [
|
83
84
|
renderSlot(_ctx.$slots, "prefix"),
|
84
85
|
createElementVNode("div", {
|