@uzum-tech/ui 1.2.2 → 1.2.3
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/index.js +7 -2
- package/dist/index.prod.js +1 -1
- package/es/auto-complete/src/AutoComplete.d.ts +13 -0
- package/es/auto-complete/src/AutoComplete.js +4 -1
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/auto-complete/src/AutoComplete.d.ts +13 -0
- package/lib/auto-complete/src/AutoComplete.js +4 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/web-types.json +11 -1
|
@@ -33,6 +33,10 @@ export declare const autoCompleteProps: {
|
|
|
33
33
|
readonly type: PropType<boolean | undefined>;
|
|
34
34
|
readonly default: undefined;
|
|
35
35
|
};
|
|
36
|
+
readonly resetMenuOnOptionsChange: {
|
|
37
|
+
readonly type: BooleanConstructor;
|
|
38
|
+
readonly default: true;
|
|
39
|
+
};
|
|
36
40
|
readonly placeholder: StringConstructor;
|
|
37
41
|
readonly placement: {
|
|
38
42
|
readonly type: PropType<FollowerPlacement>;
|
|
@@ -444,6 +448,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
444
448
|
readonly type: PropType<boolean | undefined>;
|
|
445
449
|
readonly default: undefined;
|
|
446
450
|
};
|
|
451
|
+
readonly resetMenuOnOptionsChange: {
|
|
452
|
+
readonly type: BooleanConstructor;
|
|
453
|
+
readonly default: true;
|
|
454
|
+
};
|
|
447
455
|
readonly placeholder: StringConstructor;
|
|
448
456
|
readonly placement: {
|
|
449
457
|
readonly type: PropType<FollowerPlacement>;
|
|
@@ -1163,6 +1171,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1163
1171
|
readonly type: PropType<boolean | undefined>;
|
|
1164
1172
|
readonly default: undefined;
|
|
1165
1173
|
};
|
|
1174
|
+
readonly resetMenuOnOptionsChange: {
|
|
1175
|
+
readonly type: BooleanConstructor;
|
|
1176
|
+
readonly default: true;
|
|
1177
|
+
};
|
|
1166
1178
|
readonly placeholder: StringConstructor;
|
|
1167
1179
|
readonly placement: {
|
|
1168
1180
|
readonly type: PropType<FollowerPlacement>;
|
|
@@ -1553,6 +1565,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1553
1565
|
readonly loading: boolean;
|
|
1554
1566
|
readonly bordered: boolean | undefined;
|
|
1555
1567
|
readonly placement: FollowerPlacement;
|
|
1568
|
+
readonly resetMenuOnOptionsChange: boolean;
|
|
1556
1569
|
readonly clearable: boolean;
|
|
1557
1570
|
readonly defaultValue: string | null;
|
|
1558
1571
|
readonly blurAfterSelect: boolean;
|
|
@@ -27,6 +27,9 @@ export const autoCompleteProps = Object.assign(Object.assign({}, useTheme.props)
|
|
|
27
27
|
}, disabled: {
|
|
28
28
|
type: Boolean,
|
|
29
29
|
default: undefined
|
|
30
|
+
}, resetMenuOnOptionsChange: {
|
|
31
|
+
type: Boolean,
|
|
32
|
+
default: true
|
|
30
33
|
}, placeholder: String, placement: {
|
|
31
34
|
type: String,
|
|
32
35
|
default: 'bottom-start'
|
|
@@ -285,7 +288,7 @@ export default defineComponent({
|
|
|
285
288
|
], style: [
|
|
286
289
|
menuProps === null || menuProps === void 0 ? void 0 : menuProps.style,
|
|
287
290
|
this.cssVars
|
|
288
|
-
], treeMate: this.treeMate, multiple: false, renderLabel: this.renderLabel, renderOption: this.renderOption, size: "medium", onToggle: this.handleToggle, onScroll: this.handleMenuScroll })), [
|
|
291
|
+
], treeMate: this.treeMate, multiple: false, renderLabel: this.renderLabel, renderOption: this.renderOption, size: "medium", onToggle: this.handleToggle, onScroll: this.handleMenuScroll, resetMenuOnOptionsChange: this.resetMenuOnOptionsChange })), [
|
|
289
292
|
[
|
|
290
293
|
clickoutside,
|
|
291
294
|
this.handleClickOutsideMenu,
|
package/es/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "1.2.
|
|
1
|
+
declare const _default: "1.2.3";
|
|
2
2
|
export default _default;
|
package/es/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '1.2.
|
|
1
|
+
export default '1.2.3';
|
|
@@ -33,6 +33,10 @@ export declare const autoCompleteProps: {
|
|
|
33
33
|
readonly type: PropType<boolean | undefined>;
|
|
34
34
|
readonly default: undefined;
|
|
35
35
|
};
|
|
36
|
+
readonly resetMenuOnOptionsChange: {
|
|
37
|
+
readonly type: BooleanConstructor;
|
|
38
|
+
readonly default: true;
|
|
39
|
+
};
|
|
36
40
|
readonly placeholder: StringConstructor;
|
|
37
41
|
readonly placement: {
|
|
38
42
|
readonly type: PropType<FollowerPlacement>;
|
|
@@ -444,6 +448,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
444
448
|
readonly type: PropType<boolean | undefined>;
|
|
445
449
|
readonly default: undefined;
|
|
446
450
|
};
|
|
451
|
+
readonly resetMenuOnOptionsChange: {
|
|
452
|
+
readonly type: BooleanConstructor;
|
|
453
|
+
readonly default: true;
|
|
454
|
+
};
|
|
447
455
|
readonly placeholder: StringConstructor;
|
|
448
456
|
readonly placement: {
|
|
449
457
|
readonly type: PropType<FollowerPlacement>;
|
|
@@ -1163,6 +1171,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1163
1171
|
readonly type: PropType<boolean | undefined>;
|
|
1164
1172
|
readonly default: undefined;
|
|
1165
1173
|
};
|
|
1174
|
+
readonly resetMenuOnOptionsChange: {
|
|
1175
|
+
readonly type: BooleanConstructor;
|
|
1176
|
+
readonly default: true;
|
|
1177
|
+
};
|
|
1166
1178
|
readonly placeholder: StringConstructor;
|
|
1167
1179
|
readonly placement: {
|
|
1168
1180
|
readonly type: PropType<FollowerPlacement>;
|
|
@@ -1553,6 +1565,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1553
1565
|
readonly loading: boolean;
|
|
1554
1566
|
readonly bordered: boolean | undefined;
|
|
1555
1567
|
readonly placement: FollowerPlacement;
|
|
1568
|
+
readonly resetMenuOnOptionsChange: boolean;
|
|
1556
1569
|
readonly clearable: boolean;
|
|
1557
1570
|
readonly defaultValue: string | null;
|
|
1558
1571
|
readonly blurAfterSelect: boolean;
|
|
@@ -33,6 +33,9 @@ exports.autoCompleteProps = Object.assign(Object.assign({}, _mixins_1.useTheme.p
|
|
|
33
33
|
}, disabled: {
|
|
34
34
|
type: Boolean,
|
|
35
35
|
default: undefined
|
|
36
|
+
}, resetMenuOnOptionsChange: {
|
|
37
|
+
type: Boolean,
|
|
38
|
+
default: true
|
|
36
39
|
}, placeholder: String, placement: {
|
|
37
40
|
type: String,
|
|
38
41
|
default: 'bottom-start'
|
|
@@ -291,7 +294,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
291
294
|
], style: [
|
|
292
295
|
menuProps === null || menuProps === void 0 ? void 0 : menuProps.style,
|
|
293
296
|
this.cssVars
|
|
294
|
-
], treeMate: this.treeMate, multiple: false, renderLabel: this.renderLabel, renderOption: this.renderOption, size: "medium", onToggle: this.handleToggle, onScroll: this.handleMenuScroll })), [
|
|
297
|
+
], treeMate: this.treeMate, multiple: false, renderLabel: this.renderLabel, renderOption: this.renderOption, size: "medium", onToggle: this.handleToggle, onScroll: this.handleMenuScroll, resetMenuOnOptionsChange: this.resetMenuOnOptionsChange })), [
|
|
295
298
|
[
|
|
296
299
|
vdirs_1.clickoutside,
|
|
297
300
|
this.handleClickOutsideMenu,
|
package/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "1.2.
|
|
1
|
+
declare const _default: "1.2.3";
|
|
2
2
|
export default _default;
|
package/lib/version.js
CHANGED
package/package.json
CHANGED
package/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "@uzum-tech/ui",
|
|
5
|
-
"version": "1.2.
|
|
5
|
+
"version": "1.2.3",
|
|
6
6
|
"js-types-syntax": "typescript",
|
|
7
7
|
"contributions": {
|
|
8
8
|
"html": {
|
|
@@ -401,6 +401,16 @@
|
|
|
401
401
|
"description": "Whether the autocomplete is disabled.",
|
|
402
402
|
"default": "false"
|
|
403
403
|
},
|
|
404
|
+
{
|
|
405
|
+
"name": "reset-menu-on-options-change",
|
|
406
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/auto-complete",
|
|
407
|
+
"type": "boolean",
|
|
408
|
+
"description": "Whether to reset menu staus on options change, for example, scroll status.",
|
|
409
|
+
"default": "true",
|
|
410
|
+
"description-sections": {
|
|
411
|
+
"since": "2.24.2"
|
|
412
|
+
}
|
|
413
|
+
},
|
|
404
414
|
{
|
|
405
415
|
"name": "placeholder",
|
|
406
416
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/auto-complete",
|