eco-vue-js 0.5.12 → 0.5.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -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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Aa,GAAG,IAAI;YAC9C,MAAM,GAAG,IAAI;YACb,OAAO,GAAG,IAAI;YACd,aAAa,GAAG,IAAI;YACpB,OAAO,SAAS,UAAU,GAAG,IAAI;YACjC,MAAM,SAAS,UAAU,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAobiC,IAAI;eACpE,GAAG;;8BAhYS;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;;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,MAAM;;;;;;;;gBADF,IAAI,EAAE;;;;;;;;;;;;;;aAET,IAAI,EAAE;;;gBAOsB,IAAI;;;;;;;;;;WAuBpC,GAAG;;;;;;YArEoB,GAAG;uBACL,GAAG;;;YA1iBzB,QAAQ,QAAQ,IAAI,GAAG,IAAI;YAC3B,UAAU,QAAQ,IAAI,GAAG,IAAI;YAC7B,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,OAAO,SAAS,UAAU,GAAG,IAAI;YACjC,MAAM,SAAS,UAAU,GAAG,IAAI;;;;;OAwmBiC,IAAI;;;gBA9BjE,MAAM;;;;;;;;oBADF,IAAI,EAAE;;;;;;;;;;;;;;iBAET,IAAI,EAAE;;;oBAOsB,IAAI;;;;;;;;;;;;;SAsB4B,IAAI;WACpE,GAAG;;;;;;YArEoB,GAAG;uBACL,GAAG;;;YA1iBzB,QAAQ,QAAQ,IAAI,GAAG,IAAI;YAC3B,UAAU,QAAQ,IAAI,GAAG,IAAI;YAC7B,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,OAAO,SAAS,UAAU,GAAG,IAAI;YACjC,MAAM,SAAS,UAAU,GAAG,IAAI;;;;;;;;oBA0kB5B,MAAM;;;;;;;;wBADF,IAAI,EAAE;;;;;;;;;;;;;;qBAET,IAAI,EAAE;;;wBA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AS,UAAU,GAAG,IAAI;YACjC,MAAM,SAAS,UAAU,GAAG,IAAI;;;;;;;;oBA0kB5B,MAAM;;;;;;;;wBADF,IAAI,EAAE;;;;;;;;;;;;;;;qBAET,IAAI,EAAE;;;wBAOsB,IAAI;;;;;;;;;;;;;aAuB4B,IAAI;eACpE,GAAG;;;;;;gBAtEoB,GAAG;2BACL,GAAG;;;gBA1iBzB,QAAQ,QAAQ,IAAI,GAAG,IAAI;gBAC3B,UAAU,QAAQ,IAAI,GAAG,IAAI;gBAC7B,eAAe,SAAS,MAAM,GAAG,IAAI;gBACrC,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,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OAAO,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;8BAC7B;gBAAC,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;gBAAC,QAAQ,EAAE,OAAO,CAAC;gBAAC,QAAQ,EAAE,OAAO,CAAC;gBAAC,KAAK,EAAE,OAAO,CAAA;aAAC,KAAK,IAAI;;6BADrF,OAAO,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;8BAC7B;gBAAC,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;gBAAC,QAAQ,EAAE,OAAO,CAAC;gBAAC,QAAQ,EAAE,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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G;;;;;;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;u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,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.12",
7
+ "version": "0.5.13",
8
8
  "scripts": {
9
9
  "dev": "vite",
10
10
  "build": "run-p type-check build-only",