eco-vue-js 0.8.9 → 0.8.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/Select/WSelect.vue.d.ts +4 -2
- package/dist/components/Select/WSelect.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelect.vue.js +5 -3
- package/dist/components/Select/WSelectAsync.vue.d.ts +2 -0
- package/dist/components/Select/WSelectAsync.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectAsync.vue.js +2 -1
- package/dist/components/Select/WSelectAsyncSingle.vue.d.ts +1 -0
- package/dist/components/Select/WSelectAsyncSingle.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectAsyncSingle.vue.js +3 -2
- package/dist/components/Select/WSelectSingle.vue.d.ts +2 -1
- package/dist/components/Select/WSelectSingle.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectSingle.vue.js +3 -2
- package/package.json +1 -1
@@ -23,20 +23,22 @@ declare const _default: <Model extends number | string, Data extends DefaultData
|
|
23
23
|
title?: () => void;
|
24
24
|
subtitle?: () => void;
|
25
25
|
option?: (props: {
|
26
|
-
option: Data |
|
26
|
+
option: Data | null;
|
27
27
|
index?: number;
|
28
28
|
selected: boolean;
|
29
29
|
model: boolean;
|
30
|
+
search?: string;
|
30
31
|
}) => void;
|
31
32
|
right?: () => void;
|
32
33
|
}> & {
|
33
34
|
title?: () => void;
|
34
35
|
subtitle?: () => void;
|
35
36
|
option?: (props: {
|
36
|
-
option: Data |
|
37
|
+
option: Data | null;
|
37
38
|
index?: number;
|
38
39
|
selected: boolean;
|
39
40
|
model: boolean;
|
41
|
+
search?: string;
|
40
42
|
}) => void;
|
41
43
|
right?: () => void;
|
42
44
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelect.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelect.vue"],"names":[],"mappings":"AAsXA,OAAO,KA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I;YAC9B,OAAO,SAAS,UAAU,GAAG,IAAI;YACjC,MAAM,SAAS,UAAU,GAAG,IAAI;YAChC,4BAA4B,SAAS,MAAM,GAAG,SAAS,GAAG,IAAI;;;;;YAynBxB,OAAO,CAAC,OAAO,WAAW,CAAC;;AAzoBvE,wBAyoB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -304,15 +304,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
304
304
|
])),
|
305
305
|
default: withCtx(() => [
|
306
306
|
renderSlot(_ctx.$slots, "option", {
|
307
|
-
option:
|
307
|
+
option: null,
|
308
|
+
search: search.value,
|
308
309
|
selected: false,
|
309
310
|
model: false
|
310
311
|
}, () => [
|
311
312
|
(openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), mergeProps(_ctx.optionComponentProps, {
|
312
|
-
option:
|
313
|
+
option: null,
|
314
|
+
search: search.value,
|
313
315
|
selected: false,
|
314
316
|
model: false
|
315
|
-
}), null, 16, ["
|
317
|
+
}), null, 16, ["search"]))
|
316
318
|
])
|
317
319
|
]),
|
318
320
|
_: 3
|
@@ -24,6 +24,7 @@ declare const _default: <Model extends number | string, Data extends DefaultData
|
|
24
24
|
selected: boolean;
|
25
25
|
skeleton: boolean;
|
26
26
|
model: boolean;
|
27
|
+
search?: string;
|
27
28
|
}) => void;
|
28
29
|
}> & {
|
29
30
|
title?: () => void;
|
@@ -35,6 +36,7 @@ declare const _default: <Model extends number | string, Data extends DefaultData
|
|
35
36
|
selected: boolean;
|
36
37
|
skeleton: boolean;
|
37
38
|
model: boolean;
|
39
|
+
search?: string;
|
38
40
|
}) => void;
|
39
41
|
};
|
40
42
|
emit: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WSelectAsync.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectAs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I,GAAG,IAAI,CAAC;YAAC,KAAK,CAAC,EAAE,MAAM,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,OAAO,CAAC;YAAC,MAAM,CAAC,EAAE,MAAM,CAAA;SAAC,KAAK,IAAI;;;YAnHlI,QAAQ,QAAQ,KAAK,GAAG,IAAI;YAC5B,UAAU,QAAQ,KAAK,GAAG,IAAI;YAC9B,mBAAmB,SAAS,KAAK,EAAE,GAAG,IAAI;;;;;YAogBJ,OAAO,CAAC,OAAO,WAAW,CAAC;;AAzhBvE,wBAyhB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -223,7 +223,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
223
223
|
option,
|
224
224
|
selected,
|
225
225
|
skeleton: skeletonList,
|
226
|
-
model: false
|
226
|
+
model: false,
|
227
|
+
search: search.value
|
227
228
|
}, () => [
|
228
229
|
(openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), mergeProps(_ctx.optionComponentProps, {
|
229
230
|
option,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WSelectAsyncSingle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectAsyncSingle.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WSelectAsyncSingle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectAsyncSingle.vue"],"names":[],"mappings":"AAsFA,OAAO,KAAK,EAAC,sBAAsB,EAAE,qBAAqB,EAAC,MAAM,SAAS,CAAA;yBAGzD,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,WAAW,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,EAAE,UAAU,SAAS,OAAO,uBACxJ,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAsLxD,mBAAmB,CAAC;;;;sHAAyD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB;;MAAsB,GAAG,IAAI;WACpE,GAAG;;uBAlCc,GAAG;0BACC,GAAG;;;;;;YACL,GAAG;uBACJ,GAAG;;cA9IzB,mBAAmB,4DAAoB,IAAI;;;;YAkLL,OAAO,CAAC,OAAO,WAAW,CAAC;;AAhMvE,wBAgM4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -94,11 +94,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
94
94
|
onSelect: _cache[0] || (_cache[0] = ($event) => updateModelValue($event)),
|
95
95
|
onUnselect: _cache[1] || (_cache[1] = ($event) => _ctx.allowClear && updateModelValue(null))
|
96
96
|
}), createSlots({
|
97
|
-
option: withCtx(({ option, selected, model }) => [
|
97
|
+
option: withCtx(({ option, selected, model, search }) => [
|
98
98
|
renderSlot(_ctx.$slots, "option", {
|
99
99
|
option,
|
100
100
|
selected,
|
101
|
-
model
|
101
|
+
model,
|
102
|
+
search
|
102
103
|
})
|
103
104
|
]),
|
104
105
|
_: 2
|
@@ -15,9 +15,10 @@ declare const _default: <Model extends number | string, Data extends DefaultData
|
|
15
15
|
title?(_: {}): any;
|
16
16
|
subtitle?(_: {}): any;
|
17
17
|
option?(_: {
|
18
|
-
option:
|
18
|
+
option: Data | null;
|
19
19
|
selected: boolean;
|
20
20
|
model: boolean;
|
21
|
+
search: string | undefined;
|
21
22
|
}): any;
|
22
23
|
right?(_: {}): any;
|
23
24
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WSelectSingle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectSingle.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WSelectSingle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectSingle.vue"],"names":[],"mappings":"AAyFA,OAAO,KAAK,EAAC,iBAAiB,EAAE,qBAAqB,EAAC,MAAM,SAAS,CAAA;yBAGpD,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,kBAAkB,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,EAAE,UAAU,SAAS,OAAO,uBAC/J,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAsNxD,mBAAmB,CAAC;;;;;;yJAAyD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB;;MAAsB,GAAG,IAAI;WACpE,GAAG;;uBAnCe,GAAG;0BACA,GAAG;;;;;;YACL,GAAG;uBACJ,GAAG;;;YA7KzB,mBAAmB,0DAAoB,IAAI;YAC3C,4BAA4B,SAAS,MAAM,GAAG,SAAS,GAAG,IAAI;;;;;YAiNxB,OAAO,CAAC,OAAO,WAAW,CAAC;;AAhOvE,wBAgO4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -91,11 +91,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
91
91
|
onFocus: _cache[2] || (_cache[2] = ($event) => _ctx.searchModel && typeof _ctx.modelValue === "string" ? selectComponent.value?.setSearch(_ctx.modelValue) : void 0),
|
92
92
|
"onUpdate:queryOptionsError": _cache[3] || (_cache[3] = ($event) => _ctx.$emit("update:query-options-error", $event))
|
93
93
|
}), createSlots({
|
94
|
-
option: withCtx(({ option, selected, model }) => [
|
94
|
+
option: withCtx(({ option, selected, model, search }) => [
|
95
95
|
renderSlot(_ctx.$slots, "option", {
|
96
96
|
option,
|
97
97
|
selected,
|
98
|
-
model
|
98
|
+
model,
|
99
|
+
search
|
99
100
|
})
|
100
101
|
]),
|
101
102
|
_: 2
|