eco-vue-js 0.8.36 → 0.8.37
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/FormAsync/WFormAsyncSelect.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/Select/WSelect.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelect.vue.js +12 -4
- package/dist/components/Select/WSelectAsync.vue.d.ts +6 -1
- package/dist/components/Select/WSelectAsync.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectAsync.vue.js +19 -6
- package/dist/components/Select/WSelectAsyncSingle.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectAsyncSingle.vue.js +6 -8
- package/dist/components/Select/WSelectSingle.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectSingle.vue.js +2 -0
- package/dist/components/Select/WSelectStringified.vue.js +1 -0
- package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectAsyncPrefixPage.vue.js +9 -2
- package/dist/components/Select/types.d.ts +3 -2
- package/dist/components/Select/types.d.ts.map +1 -1
- package/package.json +1 -1
@@ -17,6 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
17
|
confimGetter: { type: Function },
|
18
18
|
allowClear: { type: Boolean },
|
19
19
|
searchModel: { type: Boolean },
|
20
|
+
createdData: {},
|
20
21
|
valueGetter: { type: Function },
|
21
22
|
searchFn: { type: Function },
|
22
23
|
useQueryFnDefault: {},
|
@@ -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":"AA6ZA,OAAO,KAAK,EAAC,WAAW,EAAE,qBAAqB,EAA6B,MAAM,SAAS,CAAA;yBA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,IAAI;YAChC,4BAA4B,SAAS,MAAM,GAAG,SAAS,GAAG,IAAI;YAC9D,YAAY,GAAG,IAAI;;;;;YAiqBmB,OAAO,CAAC,OAAO,WAAW,CAAC;;AAlrBvE,wBAkrB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -25,6 +25,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
25
25
|
createOption: { type: Function },
|
26
26
|
filterOptions: { type: Function },
|
27
27
|
hideOptionIcon: { type: Boolean },
|
28
|
+
createdData: {},
|
28
29
|
mobileTitle: {},
|
29
30
|
persist: { type: Boolean },
|
30
31
|
type: {},
|
@@ -86,10 +87,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
86
87
|
};
|
87
88
|
const createdOptions = ref([]);
|
88
89
|
const optionsPrepared = computed(() => !data.value ? [] : props.filterOptions ? data.value.filter((option) => props.filterOptions?.(option) ?? true) : data.value);
|
89
|
-
const optionsWithCreated = computed(() =>
|
90
|
-
|
91
|
-
|
92
|
-
|
90
|
+
const optionsWithCreated = computed(() => {
|
91
|
+
if (!props.createdData) {
|
92
|
+
if (createdOptions.value.length) return [...optionsPrepared.value, ...createdOptions.value];
|
93
|
+
else return optionsPrepared.value;
|
94
|
+
}
|
95
|
+
return [
|
96
|
+
...optionsPrepared.value,
|
97
|
+
...props.createdData ?? [],
|
98
|
+
...createdOptions.value
|
99
|
+
].filter((option, index, array) => array.findIndex((item) => props.valueGetter(item) === props.valueGetter(option)) === index);
|
100
|
+
});
|
93
101
|
const optionsFiltered = computed(() => searchPrepared.value === "" ? optionsWithCreated.value : optionsWithCreated.value.filter((option) => props.searchFn(option, searchPrepared.value)));
|
94
102
|
const lastIndex = computed(() => props.createOption ? optionsFiltered.value.length : optionsFiltered.value.length - 1);
|
95
103
|
const isMobile = getIsMobile();
|
@@ -2,13 +2,16 @@ import { SelectAsyncProps, SelectOptionComponent } from './types';
|
|
2
2
|
declare const _default: <Model extends number | string, Data extends DefaultData, QueryParams, OptionComponent extends SelectOptionComponent<Data>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
3
3
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
4
4
|
readonly onSelect?: ((item: Model) => any) | undefined;
|
5
|
+
readonly onBlur?: ((value: FocusEvent) => any) | undefined;
|
6
|
+
readonly onFocus?: ((value: FocusEvent) => any) | undefined;
|
5
7
|
readonly "onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
|
6
8
|
readonly onUnselect?: ((item: Model) => any) | undefined;
|
7
9
|
readonly "onInit-model"?: (() => any) | undefined;
|
8
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onSelect" | "onUpdate:modelValue" | "onUnselect" | "onInit-model"> & SelectAsyncProps<Model, Data, QueryParams, OptionComponent>> & import('vue').PublicProps;
|
10
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onFocus" | "onBlur" | "onSelect" | "onUpdate:modelValue" | "onUnselect" | "onInit-model"> & SelectAsyncProps<Model, Data, QueryParams, OptionComponent>> & import('vue').PublicProps;
|
9
11
|
expose(exposed: import('vue').ShallowUnwrapRef<{
|
10
12
|
focus: () => void;
|
11
13
|
blur: () => void;
|
14
|
+
setSearch: (value: string) => void;
|
12
15
|
}>): void;
|
13
16
|
attrs: any;
|
14
17
|
slots: Readonly<{
|
@@ -41,6 +44,8 @@ declare const _default: <Model extends number | string, Data extends DefaultData
|
|
41
44
|
(e: "unselect", item: Model): void;
|
42
45
|
(e: "update:modelValue", value: Model[]): void;
|
43
46
|
(e: "init-model"): void;
|
47
|
+
(e: "focus", value: FocusEvent): void;
|
48
|
+
(e: "blur", value: FocusEvent): void;
|
44
49
|
};
|
45
50
|
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
46
51
|
[key: string]: any;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WSelectAsync.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectAsync.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WSelectAsync.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectAsync.vue"],"names":[],"mappings":"AAwRA,OAAO,KAAK,EAAC,gBAAgB,EAAE,qBAAqB,EAA6B,MAAM,SAAS,CAAA;yBAG/E,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,WAAW,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,eAC5H,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;WA6iBxD,mBAAmB,CAAC;;;;;;;6QAAyD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB;;;2BAnbvB,MAAM,KAAG,IAAI;MAmbgC,GAAG,IAAI;WACpE,GAAG;;gBAzZH,MAAM,IAAI;mBACP,MAAM,IAAI;gBACb,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;iBACrC,CAAC,KAAK,EAAE;YAAC,MAAM,EAAE,IAAI,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;;gBAH9H,MAAM,IAAI;mBACP,MAAM,IAAI;gBACb,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;iBACrC,CAAC,KAAK,EAAE;YAAC,MAAM,EAAE,IAAI,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;;;YAzIlI,QAAQ,QAAQ,KAAK,GAAG,IAAI;YAC5B,UAAU,QAAQ,KAAK,GAAG,IAAI;YAC9B,mBAAmB,SAAS,KAAK,EAAE,GAAG,IAAI;YAC1C,YAAY,GAAG,IAAI;YACnB,OAAO,SAAS,UAAU,GAAG,IAAI;YACjC,MAAM,SAAS,UAAU,GAAG,IAAI;;;;;YA+hBM,OAAO,CAAC,OAAO,WAAW,CAAC;;AAvjBvE,wBAujB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -13,7 +13,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
13
13
|
queryParamsOptions: {},
|
14
14
|
searchField: {},
|
15
15
|
previewData: {},
|
16
|
-
createdData: {},
|
17
16
|
valueQueryKey: { default: "id__in" },
|
18
17
|
modelValue: {},
|
19
18
|
valueGetter: { type: Function, default: (data) => data.id },
|
@@ -23,6 +22,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
23
22
|
hidePrefix: { type: Boolean },
|
24
23
|
createOption: {},
|
25
24
|
hideOptionIcon: { type: Boolean },
|
25
|
+
createdData: {},
|
26
26
|
mobileTitle: {},
|
27
27
|
persist: { type: Boolean },
|
28
28
|
type: {},
|
@@ -63,7 +63,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
63
63
|
optionComponent: {},
|
64
64
|
optionComponentProps: {}
|
65
65
|
},
|
66
|
-
emits: ["select", "unselect", "update:modelValue", "init-model"],
|
66
|
+
emits: ["select", "unselect", "update:modelValue", "init-model", "focus", "blur"],
|
67
67
|
setup(__props, { expose: __expose, emit: __emit }) {
|
68
68
|
const props = __props;
|
69
69
|
const emit = __emit;
|
@@ -80,7 +80,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
80
80
|
const queryParams = computed(() => ({ ...props.queryParamsOptions, [props.searchField ?? "search"]: search.value }));
|
81
81
|
const queryParamsFirstPage = computed(() => ({ ...queryParams.value, page: 1 }));
|
82
82
|
const { data: firstPageData } = props.useQueryFnOptions(queryParamsFirstPage, { enabled: false });
|
83
|
-
const hasSearchOption = computed(() =>
|
83
|
+
const hasSearchOption = computed(() => {
|
84
|
+
if (props.createdData?.some((option) => props.valueGetter(option) === search.value)) return true;
|
85
|
+
return firstPageData.value?.results.some((option) => props.valueGetter(option) === search.value);
|
86
|
+
});
|
84
87
|
const close = () => {
|
85
88
|
isOpen.value = false;
|
86
89
|
focused.value = false;
|
@@ -134,6 +137,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
134
137
|
await nextTick();
|
135
138
|
input.value?.updateDropdown();
|
136
139
|
};
|
140
|
+
const setSearch = (value) => {
|
141
|
+
search.value = value;
|
142
|
+
};
|
137
143
|
if (props.useQueryFnDefault) {
|
138
144
|
const { data: defaultData } = props.useQueryFnDefault({ enabled });
|
139
145
|
watch(defaultData, (value) => {
|
@@ -145,7 +151,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
145
151
|
}
|
146
152
|
__expose({
|
147
153
|
focus,
|
148
|
-
blur
|
154
|
+
blur,
|
155
|
+
setSearch
|
149
156
|
});
|
150
157
|
return (_ctx, _cache) => {
|
151
158
|
return openBlock(), createBlock(_sfc_main$1, mergeProps({
|
@@ -168,8 +175,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
168
175
|
close();
|
169
176
|
search.value = "";
|
170
177
|
}),
|
171
|
-
onFocus: _cache[7] || (_cache[7] = ($event) =>
|
172
|
-
|
178
|
+
onFocus: _cache[7] || (_cache[7] = ($event) => {
|
179
|
+
focused.value = true;
|
180
|
+
_ctx.$emit("focus", $event);
|
181
|
+
}),
|
182
|
+
onBlur: _cache[8] || (_cache[8] = ($event) => {
|
183
|
+
focused.value = false;
|
184
|
+
_ctx.$emit("blur", $event);
|
185
|
+
})
|
173
186
|
}), createSlots({
|
174
187
|
prefix: withCtx(({ unclickable }) => [
|
175
188
|
(_ctx.hidePrefix ? unref(isMobile) ? unclickable || !focused.value : !isOpen.value : true) ? (openBlock(), createBlock(_sfc_main$2, {
|
@@ -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":"AAyFA,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;WAuNxD,mBAAmB,CAAC;;;4OAAyD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB;;MAAsB,GAAG,IAAI;WACpE,GAAG;;uBAlCe,GAAG;0BACA,GAAG;;;;;;YACL,GAAG;uBACJ,GAAG;;;YA/KzB,mBAAmB,0DAAoB,IAAI;YAC3C,YAAY,GAAG,IAAI;;;;;YAkNmB,OAAO,CAAC,OAAO,WAAW,CAAC;;AAjOvE,wBAiO4E;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,
|
1
|
+
import { defineComponent, useTemplateRef, computed, watch, toRef, openBlock, createBlock, mergeProps, unref, createSlots, withCtx, renderSlot } from 'vue';
|
2
2
|
import _sfc_main$1 from './WSelectAsync.vue.js';
|
3
3
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -65,23 +65,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
65
65
|
setup(__props, { expose: __expose, emit: __emit }) {
|
66
66
|
const props = __props;
|
67
67
|
const emit = __emit;
|
68
|
-
const
|
68
|
+
const selectComponentRef = useTemplateRef("selectComponent");
|
69
69
|
const arrayValue = computed(() => props.modelValue ? [props.modelValue] : []);
|
70
70
|
const updateModelValue = (value) => {
|
71
71
|
emit("update:modelValue", value);
|
72
72
|
};
|
73
73
|
const blur = () => {
|
74
|
-
|
74
|
+
selectComponentRef.value?.blur();
|
75
75
|
};
|
76
76
|
watch(toRef(props, "modelValue"), blur);
|
77
77
|
__expose({
|
78
78
|
blur
|
79
79
|
});
|
80
80
|
return (_ctx, _cache) => {
|
81
|
-
return openBlock(), createBlock(_sfc_main$1, mergeProps({
|
82
|
-
ref_key: "selectComponent",
|
83
|
-
ref: selectComponent
|
84
|
-
}, {
|
81
|
+
return openBlock(), createBlock(_sfc_main$1, mergeProps({ ref: "selectComponent" }, {
|
85
82
|
...props,
|
86
83
|
modelValue: arrayValue.value,
|
87
84
|
disableClear: !_ctx.allowClear,
|
@@ -92,7 +89,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
92
89
|
class: _ctx.$attrs.class,
|
93
90
|
onSelect: _cache[0] || (_cache[0] = ($event) => updateModelValue($event)),
|
94
91
|
onUnselect: _cache[1] || (_cache[1] = ($event) => _ctx.allowClear && updateModelValue(null)),
|
95
|
-
|
92
|
+
onFocus: _cache[2] || (_cache[2] = ($event) => _ctx.searchModel && typeof _ctx.modelValue === "string" ? unref(selectComponentRef)?.setSearch(_ctx.modelValue) : void 0),
|
93
|
+
onInitModel: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("init-model"))
|
96
94
|
}), createSlots({
|
97
95
|
option: withCtx(({ option, selected, model, search }) => [
|
98
96
|
renderSlot(_ctx.$slots, "option", {
|
@@ -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":"AA4FA,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;WA6OxD,mBAAmB,CAAC;;;;gRAAyD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB;;MAAsB,GAAG,IAAI;WACpE,GAAG;;uBApCe,GAAG;0BACA,GAAG;;;;;;YACL,GAAG;uBACJ,GAAG;;;YAnMzB,oBAAoB,0DAAoB,IAAI;YAC5C,4BAA4B,SAAS,MAAM,GAAG,SAAS,GAAG,IAAI;YAC9D,YAAY,GAAG,IAAI;;;;;YAuOmB,OAAO,CAAC,OAAO,WAAW,CAAC;;AAvPvE,wBAuP4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -8,6 +8,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
modelValue: {},
|
9
9
|
allowClear: { type: Boolean },
|
10
10
|
searchModel: { type: Boolean },
|
11
|
+
createdData: {},
|
11
12
|
valueGetter: { type: Function },
|
12
13
|
searchFn: { type: Function },
|
13
14
|
useQueryFnDefault: {},
|
@@ -84,6 +85,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
84
85
|
...props,
|
85
86
|
modelValue: arrayValue.value,
|
86
87
|
disableClear: !_ctx.allowClear,
|
88
|
+
createdData: _ctx.createdData ? [_ctx.createdData] : void 0,
|
87
89
|
hidePrefix: true
|
88
90
|
}, {
|
89
91
|
class: _ctx.$attrs.class,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SelectAsyncPrefixPage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncPrefixPage.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"SelectAsyncPrefixPage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncPrefixPage.vue"],"names":[],"mappings":"AAqHA,OAAO,KAAK,EAAC,0BAA0B,EAAE,qBAAqB,EAA6B,MAAM,UAAU,CAAA;yBAG1F,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,WAAW,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,eAC5H,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;WAiMxD,mBAAmB,CAAC;;;;yPAAyD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;kBAlJD,CAAC,KAAK,EAAE;YAAC,MAAM,EAAE,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAC,KAAK,IAAI;;kBAAjE,CAAC,KAAK,EAAE;YAAC,MAAM,EAAE,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAC,KAAK,IAAI;;;YA1CvE,UAAU,SAAS,KAAK,GAAG,IAAI;YAC/B,oBAAoB,SAAS,MAAM,GAAG,IAAI;YAC1C,iBAAiB,SAAS,OAAO,GAAG,IAAI;;;;;YA+LF,OAAO,CAAC,OAAO,WAAW,CAAC;;AA3MvE,wBA2M4E;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, computed, toRef, watch, onBeforeUnmount, openBlock, createElementBlock, Fragment, renderList,
|
1
|
+
import { defineComponent, computed, toRef, watch, onBeforeUnmount, openBlock, createElementBlock, Fragment, renderList, normalizeClass, renderSlot, createBlock, resolveDynamicComponent, mergeProps, createSlots, withCtx, createElementVNode, withModifiers, createVNode, unref, createCommentVNode } from 'vue';
|
2
2
|
import IconCancel from '../../../assets/icons/default/IconCancel.svg.js';
|
3
3
|
|
4
4
|
const _hoisted_1 = ["onClick"];
|
@@ -31,6 +31,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
31
31
|
refetchOnWindowFocus: false
|
32
32
|
});
|
33
33
|
const pagesCount = computed(() => data.value?.pages_count);
|
34
|
+
const options = computed(() => {
|
35
|
+
if (!props.createdData) return props.previewData ?? data.value?.results ?? [];
|
36
|
+
return [
|
37
|
+
...props.createdData ?? [],
|
38
|
+
...props.previewData ?? data.value?.results ?? []
|
39
|
+
].filter((option, index, array) => array.findIndex((item) => props.valueGetter(item) === props.valueGetter(option)) === index);
|
40
|
+
});
|
34
41
|
watch(pagesCount, (value) => {
|
35
42
|
if (value === void 0) return;
|
36
43
|
emit("update:pages-count", value);
|
@@ -42,7 +49,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
42
49
|
emit("update:fetching", false);
|
43
50
|
});
|
44
51
|
return (_ctx, _cache) => {
|
45
|
-
return openBlock(true), createElementBlock(Fragment, null, renderList(
|
52
|
+
return openBlock(true), createElementBlock(Fragment, null, renderList(options.value, (option, index) => {
|
46
53
|
return openBlock(), createElementBlock("div", {
|
47
54
|
key: _ctx.valueGetter(option),
|
48
55
|
class: normalizeClass(["relative flex overflow-hidden items-center text-description", {
|
@@ -38,6 +38,7 @@ export interface SelectProps<Model extends number | string, Data extends Default
|
|
38
38
|
createOption?: (search: string) => (Data | undefined) | Promise<Data | undefined>;
|
39
39
|
filterOptions?: (option: Data) => boolean;
|
40
40
|
hideOptionIcon?: boolean;
|
41
|
+
createdData?: Data[];
|
41
42
|
}
|
42
43
|
export interface SelectPrefixProps<Data extends DefaultData, OptionComponent extends SelectOptionComponent<Data>> extends SelectOptionComponentProps<Data, OptionComponent> {
|
43
44
|
option: Data;
|
@@ -46,10 +47,11 @@ export interface SelectPrefixProps<Data extends DefaultData, OptionComponent ext
|
|
46
47
|
loading?: boolean;
|
47
48
|
disableClear?: boolean;
|
48
49
|
}
|
49
|
-
export interface SelectSingleProps<Model extends number | string, Data extends DefaultData, QueryParams, OptionComponent extends SelectOptionComponent<Data>, AllowClear extends boolean> extends Omit<SelectProps<Model, Data, QueryParams, OptionComponent>, 'modelValue' | 'disableClear'> {
|
50
|
+
export interface SelectSingleProps<Model extends number | string, Data extends DefaultData, QueryParams, OptionComponent extends SelectOptionComponent<Data>, AllowClear extends boolean> extends Omit<SelectProps<Model, Data, QueryParams, OptionComponent>, 'modelValue' | 'disableClear' | 'createdData'> {
|
50
51
|
modelValue: Model | null;
|
51
52
|
allowClear?: boolean & AllowClear;
|
52
53
|
searchModel?: boolean;
|
54
|
+
createdData?: Data;
|
53
55
|
}
|
54
56
|
export interface SelectStringifiedProps<Model extends string, Data extends DefaultData, QueryParams, OptionComponent extends SelectOptionComponent<Data>> extends Omit<SelectProps<Model, Data, QueryParams, OptionComponent>, 'modelValue'> {
|
55
57
|
modelValue: Model | null;
|
@@ -61,7 +63,6 @@ export interface SelectAsyncProps<Model extends number | string, Data extends De
|
|
61
63
|
queryParamsOptions: QueryParams;
|
62
64
|
searchField?: keyof QueryParams;
|
63
65
|
previewData?: Data[];
|
64
|
-
createdData?: Data[];
|
65
66
|
valueQueryKey?: string;
|
66
67
|
}
|
67
68
|
export interface SelectAsyncPrefixProps<Model extends number | string, Data extends DefaultData, QueryParams, OptionComponent extends SelectOptionComponent<Data>> extends SelectOption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