eco-vue-js 0.5.11 → 0.5.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"WInfiniteListPages.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InfiniteList/WInfiniteListPages.vue"],"names":[],"mappings":"AA4EA;;;;wBAkewB,IAAI,KAAK,KAAK;;;;iBApBrB,WAAW;;;;gBAFZ,kBAAkB,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC;2BACnC,OAAO,KAAK,OAAO;;;;;;;;mBAkB3B,QAAQ,WAAW,kBAAkB,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;;;;;;;;;;;WAelF,GAAG;;;kBApRA,IAAI;+BACS,IAAI,GAAG,SAAS,KAAK,IAAI;sBAClC,OAAO;qBACR,MAAM,IAAI;;;mBAGZ,OAAO;kBACR,OAAO;uBACF,OAAO;kBACZ,MAAM;mBACL,MAAM;cACT,IAAI;;;kBAXF,IAAI;+BACS,IAAI,GAAG,SAAS,KAAK,IAAI;sBAClC,OAAO;qBACR,MAAM,IAAI;;;mBAGZ,OAAO;kBACR,OAAO;uBACF,OAAO;kBACZ,MAAM;mBACL,MAAM;cACT,IAAI;;;YArKN,aAAa,SAAS,MAAM,GAAG,SAAS,GAAG,IAAI;YAC/C,cAAc,SAAS,MAAM,GAAG,IAAI;YACpC,iBAAiB,UAAU,KAAK,EAAE,GAAG,IAAI;;;;sCA2GL,MAAM;OAgUuB,IAAI;;;;4BAXnD,IAAI,KAAK,KAAK;;;;qBApBrB,WAAW;;;;oBAFZ,kBAAkB,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC;+BACnC,OAAO,KAAK,OAAO;;;;;;;;uBAkB3B,QAAQ,WAAW,kBAAkB,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;;;;;;;;;;;;;0CAlT/C,MAAM;SAgUuB,IAAI;WACpE,GAAG;;;kBApRA,IAAI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,EAAE,GAAG,IAAI;;;;AAvD/C,wBA2f2E;AAQ3E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -116,16 +116,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
116
116
  element.scrollTop = element.scrollTop + height;
117
117
  };
118
118
  const removePage = (page) => {
119
- if (previousPage.value === page)
120
- previousPage.value = null;
121
- if (nextPage.value === page)
122
- nextPage.value = null;
123
119
  const index = pages.value.indexOf(page);
124
120
  if (index === -1)
125
121
  return;
126
- pages.value.splice(index, pages.value.length - index);
127
- if (!pages.value.length)
128
- pages.value = [1];
122
+ const newPages = pages.value.slice(0, pages.value.length - index);
123
+ pages.value = newPages.length === 0 ? [1] : newPages;
129
124
  emit("update:page", pages.value[pages.value.length - 1]);
130
125
  };
131
126
  const goto = async (page = 1, itemIndex) => {
@@ -153,6 +148,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
153
148
  resetPage();
154
149
  });
155
150
  watch(count, (value) => emit("update:count", value), { immediate: true });
151
+ watch(pagesCount, (value) => {
152
+ if (pages.value[pages.value.length - 1] > value) {
153
+ const newPages = pages.value.filter((page) => page <= value);
154
+ pages.value = newPages.length === 0 ? [1] : newPages;
155
+ }
156
+ }, { immediate: true });
156
157
  __expose({
157
158
  resetPage,
158
159
  goto
@@ -169,8 +170,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
169
170
  default: withCtx(() => [
170
171
  isPreviousButtonVisible.value ? (openBlock(), createBlock(_sfc_main$2, {
171
172
  key: 0,
172
- onClick: _cache[0] || (_cache[0] = ($event) => addPreviousPage())
173
- })) : createCommentVNode("", true),
173
+ onClick: _cache[0] || (_cache[0] = ($event) => addPreviousPage()),
174
+ onCheck: infiniteScroll.value?.checkIsScrollUp
175
+ }, null, 8, ["onCheck"])) : createCommentVNode("", true),
174
176
  (openBlock(true), createElementBlock(Fragment, null, renderList(pages.value, (page, index) => {
175
177
  return openBlock(), createBlock(_sfc_main$3, {
176
178
  ref_for: true,
@@ -203,14 +205,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
203
205
  "onUpdate:selected": _cache[1] || (_cache[1] = ($event) => _ctx.$emit("update:selected", $event)),
204
206
  "onUpdate:count": updateCount,
205
207
  "onUpdate:pagesCount": updatePagesCount,
206
- "onUpdate:nextPage": _cache[2] || (_cache[2] = ($event) => {
207
- updateNextPage($event);
208
- infiniteScroll.value?.checkIsScrollDown();
209
- }),
210
- "onUpdate:previousPage": _cache[3] || (_cache[3] = ($event) => {
211
- updatePreviousPage($event);
212
- infiniteScroll.value?.checkIsScrollUp();
213
- }),
208
+ "onUpdate:nextPage": _cache[2] || (_cache[2] = ($event) => updateNextPage($event)),
209
+ "onUpdate:previousPage": _cache[3] || (_cache[3] = ($event) => updatePreviousPage($event)),
214
210
  "onUpdate:scroll": updateScroll,
215
211
  "onUpdateFromHeader:scroll": _cache[4] || (_cache[4] = ($event) => _ctx.headerTop > 0 && nextTick(() => updateScroll(_ctx.headerTop))),
216
212
  "onRemove:page": removePage,
@@ -237,8 +233,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
237
233
  }), 128)),
238
234
  count.value !== 0 && nextPage.value ? (openBlock(), createBlock(_sfc_main$2, {
239
235
  key: 1,
240
- onClick: addNextPage
241
- })) : createCommentVNode("", true)
236
+ onClick: addNextPage,
237
+ onCheck: infiniteScroll.value?.checkIsScrollDown
238
+ }, null, 8, ["onCheck"])) : createCommentVNode("", true)
242
239
  ]),
243
240
  _: 3
244
241
  }, 8, ["scrolling-element", "style"]);
@@ -1,7 +1,9 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
2
  click: () => void;
3
+ check: () => void;
3
4
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
4
5
  onClick?: (() => any) | undefined;
6
+ onCheck?: (() => any) | undefined;
5
7
  }, {}, {}>;
6
8
  export default _default;
7
9
  //# sourceMappingURL=InfiniteListButton.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InfiniteListButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/InfiniteListButton.vue"],"names":[],"mappings":"AAUA;;;;;;AA6EA,wBAMG"}
1
+ {"version":3,"file":"InfiniteListButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/InfiniteListButton.vue"],"names":[],"mappings":"AAUA;;;;;;;;AAmFA,wBAMG"}
@@ -1,12 +1,16 @@
1
- import { defineComponent, openBlock, createElementBlock, createVNode, unref, withCtx, createTextVNode } from 'vue';
1
+ import { defineComponent, onMounted, openBlock, createElementBlock, createVNode, unref, withCtx, createTextVNode } from 'vue';
2
2
  import { SemanticType } from '../../../utils/SemanticType.js';
3
3
  import _sfc_main$1 from '../../Button/WButton.vue.js';
4
4
 
5
5
  const _hoisted_1 = { class: "flex w-full p-12 justify-center items-center" };
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "InfiniteListButton",
8
- emits: ["click"],
9
- setup(__props) {
8
+ emits: ["click", "check"],
9
+ setup(__props, { emit: __emit }) {
10
+ const emit = __emit;
11
+ onMounted(() => {
12
+ emit("check");
13
+ });
10
14
  return (_ctx, _cache) => {
11
15
  return openBlock(), createElementBlock("div", _hoisted_1, [
12
16
  createVNode(_sfc_main$1, {
@@ -27,6 +27,7 @@ declare const _default: <Type extends InputType = "text">(__VLS_props: {
27
27
  "onKeypress:up"?: ((event: KeyboardEvent) => any) | undefined;
28
28
  "onKeypress:down"?: ((event: KeyboardEvent) => any) | undefined;
29
29
  "onKeypress:delete"?: ((event: KeyboardEvent) => any) | undefined;
30
+ autofocus?: boolean | undefined;
30
31
  maxLength?: number | undefined;
31
32
  hideInput?: boolean | undefined;
32
33
  mono?: boolean | undefined;
@@ -101,6 +102,7 @@ declare const _default: <Type extends InputType = "text">(__VLS_props: {
101
102
  "onKeypress:up"?: ((event: KeyboardEvent) => any) | undefined;
102
103
  "onKeypress:down"?: ((event: KeyboardEvent) => any) | undefined;
103
104
  "onKeypress:delete"?: ((event: KeyboardEvent) => any) | undefined;
105
+ autofocus?: boolean | undefined;
104
106
  maxLength?: number | undefined;
105
107
  hideInput?: boolean | undefined;
106
108
  mono?: boolean | undefined;
@@ -179,6 +181,7 @@ declare const _default: <Type extends InputType = "text">(__VLS_props: {
179
181
  "onKeypress:up"?: ((event: KeyboardEvent) => any) | undefined;
180
182
  "onKeypress:down"?: ((event: KeyboardEvent) => any) | undefined;
181
183
  "onKeypress:delete"?: ((event: KeyboardEvent) => any) | undefined;
184
+ autofocus?: boolean | undefined;
182
185
  maxLength?: number | undefined;
183
186
  hideInput?: boolean | undefined;
184
187
  mono?: boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"WInputSuggest.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Input/WInputSuggest.vue"],"names":[],"mappings":"AAyHA;AAQA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAuehD,GAAG;;0BA/XS;YAAC,WAAW,CAAC,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;yBACjC,OAAO,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;2BAC5B;YAAC,gBAAgB,CAAC,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;;0BAFtC;YAAC,WAAW,CAAC,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;yBACjC,OAAO,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;2BAC5B;YAAC,gBAAgB,CAAC,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;;;YAhEnD,mBAAmB,mDAAsB,IAAI;YAC7C,gBAAgB,SAAS,aAAa,GAAG,IAAI;YAC7C,aAAa,SAAS,aAAa,GAAG,IAAI;YAC1C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C5B;gBAAC,gBAAgB,CAAC,EAAE,OAAO,CAAA;aAAC,KAAK,IAAI;;8BAFtC;gBAAC,WAAW,CAAC,EAAE,OAAO,CAAA;aAAC,KAAK,IAAI;6BACjC,OAAO,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;+BAC5B;gBAAC,gBAAgB,CAAC,EAAE,OAAO,CAAA;aAAC,KAAK,IAAI;;;gBAhEnD,mBAAmB,mDAAsB,IAAI;gBAC7C,gBAAgB,SAAS,aAAa,GAAG,IAAI;gBAC7C,aAAa,SAAS,aAAa,GAAG,IAAI;gBAC1C,eAAe,SAAS,aAAa,GAAG,IAAI;gBAC5C,iBAAiB,SAAS,aAAa,GAAG,IAAI;gBAC9C,MAAM,GAAG,IAAI;gBACb,OAAO,GAAG,IAAI;gBACd,aAAa,GAAG,IAAI;gBACpB,OAAO,SAAS,UAAU,GAAG,IAAI;gBACjC,MAAM,SAAS,UAAU,GAAG,IAAI;;;;AAhDtC,wBA0e2E"}
@@ -35,7 +35,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
35
  contentMaxWidth: {},
36
36
  noMargin: { type: Boolean },
37
37
  allowPaste: { type: Boolean },
38
- mono: { type: Boolean }
38
+ mono: { type: Boolean },
39
+ autofocus: { type: Boolean }
39
40
  },
40
41
  emits: ["update:modelValue", "keypress:enter", "keypress:up", "keypress:down", "keypress:delete", "open", "close", "click:clear", "focus", "blur"],
41
42
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -113,6 +114,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
113
114
  "no-margin": _ctx.noMargin,
114
115
  "allow-paste": _ctx.allowPaste,
115
116
  mono: _ctx.mono,
117
+ autofocus: _ctx.autofocus,
116
118
  class: normalizeClass({
117
119
  "cursor-pointer": !_ctx.disabled,
118
120
  "cursor-not-allowed": _ctx.disabled
@@ -152,7 +154,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
152
154
  ]),
153
155
  key: "0"
154
156
  } : void 0
155
- ]), 1032, ["title", "model-value", "type", "max-length", "loading", "hide-input", "readonly", "skeleton", "size", "error-message", "required", "disabled", "has-changes", "allow-clear", "icon", "placeholder", "no-margin", "allow-paste", "mono", "class", "onFocus", "onBlur", "onClick", "onClick:internal"])
157
+ ]), 1032, ["title", "model-value", "type", "max-length", "loading", "hide-input", "readonly", "skeleton", "size", "error-message", "required", "disabled", "has-changes", "allow-clear", "icon", "placeholder", "no-margin", "allow-paste", "mono", "autofocus", "class", "onFocus", "onBlur", "onClick", "onClick:internal"])
156
158
  ]),
157
159
  content: withCtx(() => [
158
160
  createElementVNode("div", {
@@ -17,6 +17,7 @@ declare const _default: <Item extends string | number = string>(__VLS_props: {
17
17
  errorMessage?: string | undefined;
18
18
  hasChanges?: boolean | undefined;
19
19
  onUnselect?: ((item: Item) => any) | undefined;
20
+ autofocus?: boolean | undefined;
20
21
  mono?: boolean | undefined;
21
22
  noMargin?: boolean | undefined;
22
23
  mobileTitle?: string | undefined;
@@ -75,6 +76,7 @@ declare const _default: <Item extends string | number = string>(__VLS_props: {
75
76
  errorMessage?: string | undefined;
76
77
  hasChanges?: boolean | undefined;
77
78
  onUnselect?: ((item: Item) => any) | undefined;
79
+ autofocus?: boolean | undefined;
78
80
  mono?: boolean | undefined;
79
81
  noMargin?: boolean | undefined;
80
82
  mobileTitle?: string | undefined;
@@ -137,6 +139,7 @@ declare const _default: <Item extends string | number = string>(__VLS_props: {
137
139
  errorMessage?: string | undefined;
138
140
  hasChanges?: boolean | undefined;
139
141
  onUnselect?: ((item: Item) => any) | undefined;
142
+ autofocus?: boolean | undefined;
140
143
  mono?: boolean | undefined;
141
144
  noMargin?: boolean | undefined;
142
145
  mobileTitle?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"WSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelect.vue"],"names":[],"mappings":"AA0KA;AAEA,OAAO,EAAwC,KAAK,SAAS,EAAC,MAAM,KAAK,CAAA;;;YA0nB/D,MAA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BACrC,eAAe,SAAS,MAAM,GAAG,IAAI;gBACrC,OAAO,SAAS,UAAU,GAAG,IAAI;gBACjC,MAAM,SAAS,UAAU,GAAG,IAAI;;;;AAzCtC,wBAwpB2E"}
@@ -40,6 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
40
40
  noMargin: { type: Boolean },
41
41
  icon: {},
42
42
  mono: { type: Boolean },
43
+ autofocus: { type: Boolean },
43
44
  hideOptionIcon: { type: Boolean }
44
45
  },
45
46
  emits: ["select", "unselect", "update:search", "create:option", "focus", "blur"],
@@ -171,6 +172,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
171
172
  "no-margin": _ctx.noMargin,
172
173
  icon: _ctx.icon,
173
174
  mono: _ctx.mono,
175
+ autofocus: _ctx.autofocus,
174
176
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => !_ctx.loading && _ctx.$emit("update:search", $event ?? "")),
175
177
  "onKeypress:enter": withModifiers(selectCursor, ["stop", "prevent"]),
176
178
  "onKeypress:up": withModifiers(cursorUp, ["prevent"]),
@@ -320,7 +322,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
320
322
  ]),
321
323
  key: "0"
322
324
  } : void 0
323
- ]), 1032, ["title", "mobile-title", "description", "model-value", "max-length", "loading", "hide-input", "readonly", "skeleton", "size", "error-message", "required", "disabled", "has-changes", "placeholder", "no-margin", "icon", "mono"]);
325
+ ]), 1032, ["title", "mobile-title", "description", "model-value", "max-length", "loading", "hide-input", "readonly", "skeleton", "size", "error-message", "required", "disabled", "has-changes", "placeholder", "no-margin", "icon", "mono", "autofocus"]);
324
326
  };
325
327
  }
326
328
  });
@@ -17,6 +17,7 @@ declare const _default: <Model extends string | number, Data extends DefaultData
17
17
  errorMessage?: string | undefined;
18
18
  hasChanges?: boolean | undefined;
19
19
  onUnselect?: ((item: Model) => any) | undefined;
20
+ autofocus?: boolean | undefined;
20
21
  mono?: boolean | undefined;
21
22
  noMargin?: boolean | undefined;
22
23
  mobileTitle?: string | undefined;
@@ -41,6 +42,7 @@ declare const _default: <Model extends string | number, Data extends DefaultData
41
42
  previewData?: Data[] | undefined;
42
43
  createdData?: Data[] | undefined;
43
44
  valueQueryKey?: string | undefined;
45
+ useQueryFnPrefix?: UseQueryPaginated<Data, ApiError, QueryParams> | undefined;
44
46
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
45
47
  attrs: any;
46
48
  slots: Readonly<{
@@ -89,6 +91,7 @@ declare const _default: <Model extends string | number, Data extends DefaultData
89
91
  errorMessage?: string | undefined;
90
92
  hasChanges?: boolean | undefined;
91
93
  onUnselect?: ((item: Model) => any) | undefined;
94
+ autofocus?: boolean | undefined;
92
95
  mono?: boolean | undefined;
93
96
  noMargin?: boolean | undefined;
94
97
  mobileTitle?: string | undefined;
@@ -113,6 +116,7 @@ declare const _default: <Model extends string | number, Data extends DefaultData
113
116
  previewData?: Data[] | undefined;
114
117
  createdData?: Data[] | undefined;
115
118
  valueQueryKey?: string | undefined;
119
+ useQueryFnPrefix?: UseQueryPaginated<Data, ApiError, QueryParams> | undefined;
116
120
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
117
121
  expose(exposed: import("vue").ShallowUnwrapRef<{
118
122
  focus: () => void;
@@ -165,6 +169,7 @@ declare const _default: <Model extends string | number, Data extends DefaultData
165
169
  errorMessage?: string | undefined;
166
170
  hasChanges?: boolean | undefined;
167
171
  onUnselect?: ((item: Model) => any) | undefined;
172
+ autofocus?: boolean | undefined;
168
173
  mono?: boolean | undefined;
169
174
  noMargin?: boolean | undefined;
170
175
  mobileTitle?: string | undefined;
@@ -189,6 +194,7 @@ declare const _default: <Model extends string | number, Data extends DefaultData
189
194
  previewData?: Data[] | undefined;
190
195
  createdData?: Data[] | undefined;
191
196
  valueQueryKey?: string | undefined;
197
+ useQueryFnPrefix?: UseQueryPaginated<Data, ApiError, QueryParams> | undefined;
192
198
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
193
199
  expose(exposed: import("vue").ShallowUnwrapRef<{
194
200
  focus: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"WSelectAsync.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectAsync.vue"],"names":[],"mappings":"AA8GA;AAEA,OAAO,EAA0B,KAAK,SAAS,EAAC,MAAM,KAAK,CAAA;;;YAic/C,MAAM;;;;;;;0BA4BO,IAAI,KAAK,KAAK;gBA7BvB,KAAK,EAAE;;;;;;;;;;;;iBAIN,WAAW;gBAFZ,kBAAkB,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC;2BACnC,OAAO,KAAK,OAAO;;mBA4B3B,QAAQ,WAAW,kBAAkB,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;;;;gBApBhD,IAAI;;;;;;;;;;;;;WA4BtC,GAAG;;yBA7UQ,OAAO,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;0BAC7B;YAAC,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;;yBADrF,OAAO,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;0BAC7B;YAAC,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;;;YAvFjG,QAAQ,QAAQ,KAAK,GAAG,IAAI;YAC5B,UAAU,QAAQ,KAAK,GAAG,IAAI;YAC9B,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,mBAAmB,SAAS,KAAK,EAAE,GAAG,IAAI;YAC1C,eAAe,SAAS,MAAM,GAAG,IAAI;;;;;OA8Z4B,IAAI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E,OAAO,CAAC;gBAAC,KAAK,EAAE,OAAO,CAAA;aAAC,KAAK,IAAI;;;gBAvFjG,QAAQ,QAAQ,KAAK,GAAG,IAAI;gBAC5B,UAAU,QAAQ,KAAK,GAAG,IAAI;gBAC9B,eAAe,SAAS,MAAM,GAAG,IAAI;gBACrC,mBAAmB,SAAS,KAAK,EAAE,GAAG,IAAI;gBAC1C,eAAe,SAAS,MAAM,GAAG,IAAI;;;;AApE3C,wBA2e2E;AAQ3E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -10,6 +10,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
10
10
  modelValue: {},
11
11
  search: {},
12
12
  useQueryFn: {},
13
+ useQueryFnPrefix: { default: void 0 },
13
14
  isInvalidPage: {},
14
15
  queryParams: {},
15
16
  title: { default: void 0 },
@@ -33,6 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
33
34
  noMargin: { type: Boolean },
34
35
  icon: { default: void 0 },
35
36
  mono: { type: Boolean },
37
+ autofocus: { type: Boolean },
36
38
  previewData: { default: void 0 },
37
39
  createdData: { default: void 0 },
38
40
  hideOptionIcon: { type: Boolean },
@@ -124,6 +126,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
124
126
  placeholder: _ctx.placeholder,
125
127
  "no-margin": _ctx.noMargin,
126
128
  icon: _ctx.icon,
129
+ autofocus: _ctx.autofocus,
127
130
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => !_ctx.loading && !isFetchingPrefix.value && _ctx.$emit("update:search", $event ?? "")),
128
131
  "onKeypress:enter": _cache[2] || (_cache[2] = withModifiers(($event) => list.value?.selectCursor(), ["stop", "prevent"])),
129
132
  "onKeypress:up": _cache[3] || (_cache[3] = withModifiers(($event) => list.value?.cursorUp(), ["prevent"])),
@@ -140,7 +143,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
140
143
  prefix: withCtx(({ unclickable }) => [
141
144
  (_ctx.hidePrefix ? unref(isMobile) ? unclickable || !focused.value : !isOpen.value : true) ? (openBlock(), createBlock(_sfc_main$2, {
142
145
  key: 0,
143
- "use-query-fn": _ctx.useQueryFn,
146
+ "use-query-fn": _ctx.useQueryFnPrefix ?? _ctx.useQueryFn,
144
147
  "model-value": _ctx.modelValue,
145
148
  disabled: _ctx.disabled,
146
149
  loading: _ctx.loading || isFetchingPrefix.value,
@@ -217,7 +220,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
217
220
  ]),
218
221
  key: "0"
219
222
  } : void 0
220
- ]), 1032, ["title", "mobile-title", "description", "model-value", "max-length", "loading", "hide-input", "readonly", "skeleton", "size", "error-message", "required", "disabled", "has-changes", "placeholder", "no-margin", "icon"]);
223
+ ]), 1032, ["title", "mobile-title", "description", "model-value", "max-length", "loading", "hide-input", "readonly", "skeleton", "size", "error-message", "required", "disabled", "has-changes", "placeholder", "no-margin", "icon", "autofocus"]);
221
224
  };
222
225
  }
223
226
  });
@@ -16,6 +16,7 @@ declare const _default: <Model extends string | number, Data extends DefaultData
16
16
  errorMessage?: string | undefined;
17
17
  hasChanges?: boolean | undefined;
18
18
  allowClear?: boolean | undefined;
19
+ autofocus?: boolean | undefined;
19
20
  mono?: boolean | undefined;
20
21
  noMargin?: boolean | undefined;
21
22
  mobileTitle?: string | undefined;
@@ -73,6 +74,7 @@ declare const _default: <Model extends string | number, Data extends DefaultData
73
74
  errorMessage?: string | undefined;
74
75
  hasChanges?: boolean | undefined;
75
76
  allowClear?: boolean | undefined;
77
+ autofocus?: boolean | undefined;
76
78
  mono?: boolean | undefined;
77
79
  noMargin?: boolean | undefined;
78
80
  mobileTitle?: string | undefined;
@@ -134,6 +136,7 @@ declare const _default: <Model extends string | number, Data extends DefaultData
134
136
  errorMessage?: string | undefined;
135
137
  hasChanges?: boolean | undefined;
136
138
  allowClear?: boolean | undefined;
139
+ autofocus?: boolean | undefined;
137
140
  mono?: boolean | undefined;
138
141
  noMargin?: boolean | undefined;
139
142
  mobileTitle?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"WSelectAsyncSingle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectAsyncSingle.vue"],"names":[],"mappings":"AA2DA;AAEA,OAAO,EAA8B,KAAK,SAAS,EAAC,MAAM,KAAK,CAAA;;;YA0NrD,MAAM;;;;;;0BA2BO,IAAI,KAAK,KAAK;gBA5BvB,KAAK,GAAG,IAAI;;;;;;;;;;;;iBAIX,WAAW;gBAFZ,kBAAkB,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC;2BACnC,OAAO,KAAK,OAAO;;mBA2B3B,QAAQ,WAAW,kBAAkB,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;;;;gBAnBhD,IAAI;;;;;;;;;;;WA2BpC,GAAG;;;;;;YA7DmB,GAAG;uBACJ,GAAG;;;YAtJzB,mBAAmB,SAAS,KAAK,GAAG,IAAI,GAAG,IAAI;YAC/C,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,eAAe,SAAS,MAAM,GAAG,IAAI;;;;OA+M4B,IAAI;;;gBApCjE,MAAM;;;;;;8BA2BO,IAAI,KAAK,KAAK;oBA5BvB,KAAK,GAAG,IAAI;;;;;;;;;;;;qBAIX,WAAW;oBAFZ,kBAAkB,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC;+BACnC,OAAO,KAAK,OAAO;;uBA2B3B,QAAQ,WAAW,kBAAkB,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;;;;oBAnBhD,IAAI;;;;;;;;;;;;;SA0B4B,IAAI;WACpE,GAAG;;;;;;YA7DmB,GAAG;uBACJ,GAAG;;;YAtJzB,mBAAmB,SAAS,KAAK,GAAG,IAAI,GAAG,IAAI;YAC/C,eAAe,SAAS,MAAM,GAAG,IAAI;Y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;;;OAgN4B,IAAI;;;gBArCjE,MAAM;;;;;;8BA4BO,IAAI,KAAK,KAAK;oBA7BvB,KAAK,GAAG,IAAI;;;;;;;;;;;;;qBAIX,WAAW;oBAFZ,kBAAkB,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC;+BACnC,OAAO,KAAK,OAAO;;uBA4B3B,QAAQ,WAAW,kBAAkB,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;;;;oBApBhD,IAAI;;;;;;;;;;;;;SA2B4B,IAAI;WACpE,GAAG;;;;;;YA9DmB,GAAG;uBACJ,GAAG;;;YAtJzB,mBAAmB,SAAS,KAAK,GAAG,IAAI,GAAG,IAAI;YAC/C,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,eAAe,SAAS,MAAM,GAAG,IAAI;;;;;;;;oBA2KjC,MAAM;;;;;;kCA4BO,IAAI,KAAK,KAAK;wBA7BvB,KAAK,GAAG,IAAI;;;;;;;;;;;;;yBAIX,WAAW;wBAFZ,kBAAkB,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC;mCACnC,OAAO,KAAK,OAAO;;2BA4B3B,QAAQ,WAAW,kBAAkB,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;;;;wBApBhD,IAAI;;;;;;;;;;;;;aA2B4B,IAAI;eACpE,GAAG;;;;;;gBA9DmB,GAAG;2BACJ,GAAG;;;gBAtJzB,mBAAmB,SAAS,KAAK,GAAG,IAAI,GAAG,IAAI;gBAC/C,eAAe,SAAS,MAAM,GAAG,IAAI;gBACrC,eAAe,SAAS,MAAM,GAAG,IAAI;;;;AA5C3C,wBAkQ2E"}
@@ -28,6 +28,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28
28
  noMargin: { type: Boolean },
29
29
  icon: {},
30
30
  mono: { type: Boolean },
31
+ autofocus: { type: Boolean },
31
32
  allowClear: { type: Boolean },
32
33
  previewData: {},
33
34
  createdData: {},
@@ -85,6 +86,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
85
86
  "no-margin": _ctx.noMargin,
86
87
  icon: _ctx.icon,
87
88
  mono: _ctx.mono,
89
+ autofocus: _ctx.autofocus,
88
90
  "disable-clear": !_ctx.allowClear,
89
91
  "preview-data": _ctx.previewData ? [_ctx.previewData] : void 0,
90
92
  "created-data": _ctx.createdData ? [_ctx.createdData] : void 0,
@@ -114,7 +116,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
114
116
  ]),
115
117
  key: "0"
116
118
  } : void 0
117
- ]), 1032, ["model-value", "search", "title", "mobile-title", "description", "loading", "max-search-length", "empty-stub", "query-params", "use-query-fn", "is-invalid-page", "option-component", "readonly", "disabled", "skeleton", "allow-create", "error-message", "has-changes", "placeholder", "search-size", "required", "no-margin", "icon", "mono", "disable-clear", "preview-data", "created-data", "hide-option-icon", "value-getter", "value-query-key", "query-options"])
119
+ ]), 1032, ["model-value", "search", "title", "mobile-title", "description", "loading", "max-search-length", "empty-stub", "query-params", "use-query-fn", "is-invalid-page", "option-component", "readonly", "disabled", "skeleton", "allow-create", "error-message", "has-changes", "placeholder", "search-size", "required", "no-margin", "icon", "mono", "autofocus", "disable-clear", "preview-data", "created-data", "hide-option-icon", "value-getter", "value-query-key", "query-options"])
118
120
  ]);
119
121
  };
120
122
  }
@@ -15,6 +15,7 @@ declare const _default: <Item extends string | number, AllowClear extends boolea
15
15
  errorMessage?: string | undefined;
16
16
  hasChanges?: boolean | undefined;
17
17
  allowClear?: AllowClear | undefined;
18
+ autofocus?: boolean | undefined;
18
19
  mono?: boolean | undefined;
19
20
  noMargin?: boolean | undefined;
20
21
  mobileTitle?: string | undefined;
@@ -66,6 +67,7 @@ declare const _default: <Item extends string | number, AllowClear extends boolea
66
67
  errorMessage?: string | undefined;
67
68
  hasChanges?: boolean | undefined;
68
69
  allowClear?: AllowClear | undefined;
70
+ autofocus?: boolean | undefined;
69
71
  mono?: boolean | undefined;
70
72
  noMargin?: boolean | undefined;
71
73
  mobileTitle?: string | undefined;
@@ -121,6 +123,7 @@ declare const _default: <Item extends string | number, AllowClear extends boolea
121
123
  errorMessage?: string | undefined;
122
124
  hasChanges?: boolean | undefined;
123
125
  allowClear?: AllowClear | undefined;
126
+ autofocus?: boolean | undefined;
124
127
  mono?: boolean | undefined;
125
128
  noMargin?: boolean | undefined;
126
129
  mobileTitle?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"WSelectSingle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectSingle.vue"],"names":[],"mappings":"AAqDA;AAEA,OAAO,EAA8B,KAAK,SAAS,EAAC,MAAM,KAAK,CAAA;;;YA+NrD,MAAM;;;;;;gBADF,IAAI,GAAG,IAAI;;;;;;;;;;;;;;aAEd,IAAI,EAAE;;;gBAOsB,IAAI;;;;;;;;;WAuBpC,GAAG;;;;;;YAvDmB,GAAG;uBACJ,GAAG;;;YA/JzB,mBAAmB,wDAAoB,IAAI;YAC3C,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,eAAe,SAAS,MAAM,GAAG,IAAI;;;;OAkN4B,IAAI;;;gBA9BjE,MAAM;;;;;;oBADF,IAAI,GAAG,IAAI;;;;;;;;;;;;;;iBAEd,IAAI,EAAE;;;oBAOsB,IAAI;;;;;;;;;;;SAsB4B,IAAI;WACpE,GAAG;;;;;;YAvDmB,GAAG;uBACJ,GAAG;;;YA/JzB,mBAAmB,wDAAoB,IAAI;YAC3C,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,eAAe,SAAS,MAAM,GAAG,IAAI;;;;;;;;oBAoLjC,MAAM;;;;;;wBADF,IAAI,GAAG,IAAI;;;;;;;;;;;;;;qBAEd,IAAI,EAAE;;;wBAOsB,IAAI;;;;;;;;;;;aAsB4B,IAAI;eACpE,GAAG;;;;;;gBAvDmB,GAAG;2BACJ,GAAG;;;gBA/JzB,mBAAmB,wDAAoB,IAAI;gBAC3C,eAAe,SAAS,MAAM,GAAG,IAAI;gBACrC,eAAe,SAAS,MAAM,GAAG,IAAI;;;;AAvC3C,wBA+P2E"}
1
+ {"version":3,"file":"WSelectSingle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectSingle.vue"],"names":[],"mappings":"AAsDA;AAEA,OAAO,EAA8B,KAAK,SAAS,EAAC,MAAM,KAAK,CAAA;;;YAgOrD,MAAM;;;;;;gBADF,IAAI,GAAG,IAAI;;;;;;;;;;;;;;;aAEd,IAAI,EAAE;;;gBAOsB,IAAI;;;;;;;;;WAwBpC,GAAG;;;;;;YAxDmB,GAAG;uBACJ,GAAG;;;YA/JzB,mBAAmB,wDAAoB,IAAI;YAC3C,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,eAAe,SAAS,MAAM,GAAG,IAAI;;;;OAmN4B,IAAI;;;gBA/BjE,MAAM;;;;;;oBADF,IAAI,GAAG,IAAI;;;;;;;;;;;;;;;iBAEd,IAAI,EAAE;;;oBAOsB,IAAI;;;;;;;;;;;SAuB4B,IAAI;WACpE,GAAG;;;;;;YAxDmB,GAAG;uBACJ,GAAG;;;YA/JzB,mBAAmB,wDAAoB,IAAI;YAC3C,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,eAAe,SAAS,MAAM,GAAG,IAAI;;;;;;;;oBAoLjC,MAAM;;;;;;wBADF,IAAI,GAAG,IAAI;;;;;;;;;;;;;;;qBAEd,IAAI,EAAE;;;wBAOsB,IAAI;;;;;;;;;;;aAuB4B,IAAI;eACpE,GAAG;;;;;;gBAxDmB,GAAG;2BACJ,GAAG;;;gBA/JzB,mBAAmB,wDAAoB,IAAI;gBAC3C,eAAe,SAAS,MAAM,GAAG,IAAI;gBACrC,eAAe,SAAS,MAAM,GAAG,IAAI;;;;AAxC3C,wBAiQ2E"}
@@ -26,6 +26,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
26
26
  noMargin: { type: Boolean },
27
27
  icon: {},
28
28
  mono: { type: Boolean },
29
+ autofocus: { type: Boolean },
29
30
  allowClear: {},
30
31
  hideOptionIcon: { type: Boolean },
31
32
  searchModel: { type: Boolean }
@@ -78,6 +79,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
78
79
  "no-margin": _ctx.noMargin,
79
80
  icon: _ctx.icon,
80
81
  mono: _ctx.mono,
82
+ autofocus: _ctx.autofocus,
81
83
  "disable-clear": !_ctx.allowClear,
82
84
  "hide-option-icon": _ctx.hideOptionIcon,
83
85
  "hide-prefix": "",
@@ -103,7 +105,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
103
105
  ]),
104
106
  key: "0"
105
107
  } : void 0
106
- ]), 1032, ["model-value", "search", "options", "title", "mobile-title", "description", "loading", "max-search-length", "empty-stub", "option-component", "readonly", "disabled", "skeleton", "allow-create", "error-message", "has-changes", "placeholder", "search-size", "required", "no-margin", "icon", "mono", "disable-clear", "hide-option-icon"])
108
+ ]), 1032, ["model-value", "search", "options", "title", "mobile-title", "description", "loading", "max-search-length", "empty-stub", "option-component", "readonly", "disabled", "skeleton", "allow-create", "error-message", "has-changes", "placeholder", "search-size", "required", "no-margin", "icon", "mono", "autofocus", "disable-clear", "hide-option-icon"])
107
109
  ]);
108
110
  };
109
111
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/rsmple/eco-vue-js.git"
6
6
  },
7
- "version": "0.5.11",
7
+ "version": "0.5.13",
8
8
  "scripts": {
9
9
  "dev": "vite",
10
10
  "build": "run-p type-check build-only",