naive-ui 2.24.6 → 2.24.7
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/es/locales/common/jaJP.js +12 -14
- package/es/popselect/src/Popselect.d.ts +13 -3
- package/es/popselect/src/Popselect.js +4 -5
- package/es/popselect/src/PopselectPanel.d.ts +1 -4
- package/es/popselect/src/PopselectPanel.js +1 -2
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/locales/common/jaJP.js +12 -14
- package/lib/popselect/src/Popselect.d.ts +13 -3
- package/lib/popselect/src/Popselect.js +4 -5
- package/lib/popselect/src/PopselectPanel.d.ts +1 -4
- package/lib/popselect/src/PopselectPanel.js +1 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +2 -2
- package/web-types.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const jaJP = {
|
|
2
2
|
name: 'ja-JP',
|
|
3
3
|
global: {
|
|
4
|
-
undo: '
|
|
5
|
-
redo: '
|
|
4
|
+
undo: '元に戻す',
|
|
5
|
+
redo: 'やり直す',
|
|
6
6
|
confirm: 'OK'
|
|
7
7
|
},
|
|
8
8
|
Popconfirm: {
|
|
@@ -35,9 +35,8 @@ const jaJP = {
|
|
|
35
35
|
datePlaceholder: '日付を選択',
|
|
36
36
|
datetimePlaceholder: '選択',
|
|
37
37
|
monthPlaceholder: '月を選択',
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
quarterPlaceholder: 'Select Quarter',
|
|
38
|
+
yearPlaceholder: '年を選択',
|
|
39
|
+
quarterPlaceholder: '四半期を選択',
|
|
41
40
|
startDatePlaceholder: '開始日',
|
|
42
41
|
endDatePlaceholder: '終了日',
|
|
43
42
|
startDatetimePlaceholder: '開始時間',
|
|
@@ -69,7 +68,7 @@ const jaJP = {
|
|
|
69
68
|
now: '現在'
|
|
70
69
|
},
|
|
71
70
|
Pagination: {
|
|
72
|
-
goto: '',
|
|
71
|
+
goto: 'ページジャンプ',
|
|
73
72
|
selectionSuffix: 'ページ'
|
|
74
73
|
},
|
|
75
74
|
DynamicTags: {
|
|
@@ -97,15 +96,14 @@ const jaJP = {
|
|
|
97
96
|
export: 'エクスポート',
|
|
98
97
|
restore: 'デフォルト'
|
|
99
98
|
},
|
|
100
|
-
// TODO: translation
|
|
101
99
|
Image: {
|
|
102
|
-
tipPrevious: '
|
|
103
|
-
tipNext: '
|
|
104
|
-
tipCounterclockwise: '
|
|
105
|
-
tipClockwise: '
|
|
106
|
-
tipZoomOut: '
|
|
107
|
-
tipZoomIn: '
|
|
108
|
-
tipClose: '
|
|
100
|
+
tipPrevious: '前の画像 (←)',
|
|
101
|
+
tipNext: '次の画像 (→)',
|
|
102
|
+
tipCounterclockwise: '左に回転',
|
|
103
|
+
tipClockwise: '右に回転',
|
|
104
|
+
tipZoomOut: '縮小',
|
|
105
|
+
tipZoomIn: '拡大',
|
|
106
|
+
tipClose: '閉じる (Esc)'
|
|
109
107
|
}
|
|
110
108
|
};
|
|
111
109
|
export default jaJP;
|
|
@@ -8,7 +8,6 @@ declare const popselectProps: {
|
|
|
8
8
|
readonly default: null;
|
|
9
9
|
};
|
|
10
10
|
cancelable: BooleanConstructor;
|
|
11
|
-
width: PropType<string | number>;
|
|
12
11
|
options: {
|
|
13
12
|
readonly type: PropType<import("../../select/src/interface").SelectMixedOption[]>;
|
|
14
13
|
readonly default: () => never[];
|
|
@@ -44,6 +43,10 @@ declare const popselectProps: {
|
|
|
44
43
|
y: NumberConstructor;
|
|
45
44
|
maxWidth: NumberConstructor;
|
|
46
45
|
minWidth: NumberConstructor;
|
|
46
|
+
width: {
|
|
47
|
+
type: PropType<number | "trigger">;
|
|
48
|
+
default: undefined;
|
|
49
|
+
};
|
|
47
50
|
zIndex: NumberConstructor;
|
|
48
51
|
disabled: BooleanConstructor;
|
|
49
52
|
duration: {
|
|
@@ -299,7 +302,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
299
302
|
readonly default: null;
|
|
300
303
|
};
|
|
301
304
|
cancelable: BooleanConstructor;
|
|
302
|
-
width: PropType<string | number>;
|
|
303
305
|
options: {
|
|
304
306
|
readonly type: PropType<import("../../select/src/interface").SelectMixedOption[]>;
|
|
305
307
|
readonly default: () => never[];
|
|
@@ -335,6 +337,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
335
337
|
y: NumberConstructor;
|
|
336
338
|
maxWidth: NumberConstructor;
|
|
337
339
|
minWidth: NumberConstructor;
|
|
340
|
+
width: {
|
|
341
|
+
type: PropType<number | "trigger">;
|
|
342
|
+
default: undefined;
|
|
343
|
+
};
|
|
338
344
|
zIndex: NumberConstructor;
|
|
339
345
|
disabled: BooleanConstructor;
|
|
340
346
|
duration: {
|
|
@@ -795,7 +801,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
795
801
|
readonly default: null;
|
|
796
802
|
};
|
|
797
803
|
cancelable: BooleanConstructor;
|
|
798
|
-
width: PropType<string | number>;
|
|
799
804
|
options: {
|
|
800
805
|
readonly type: PropType<import("../../select/src/interface").SelectMixedOption[]>;
|
|
801
806
|
readonly default: () => never[];
|
|
@@ -831,6 +836,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
831
836
|
y: NumberConstructor;
|
|
832
837
|
maxWidth: NumberConstructor;
|
|
833
838
|
minWidth: NumberConstructor;
|
|
839
|
+
width: {
|
|
840
|
+
type: PropType<number | "trigger">;
|
|
841
|
+
default: undefined;
|
|
842
|
+
};
|
|
834
843
|
zIndex: NumberConstructor;
|
|
835
844
|
disabled: BooleanConstructor;
|
|
836
845
|
duration: {
|
|
@@ -1082,6 +1091,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1082
1091
|
size: import("./interface").PopselectSize;
|
|
1083
1092
|
show: boolean | undefined;
|
|
1084
1093
|
flip: boolean;
|
|
1094
|
+
width: number | "trigger";
|
|
1085
1095
|
multiple: boolean;
|
|
1086
1096
|
disabled: boolean;
|
|
1087
1097
|
duration: number;
|
|
@@ -36,7 +36,7 @@ export default defineComponent({
|
|
|
36
36
|
};
|
|
37
37
|
},
|
|
38
38
|
render() {
|
|
39
|
-
const { mergedTheme
|
|
39
|
+
const { mergedTheme } = this;
|
|
40
40
|
const popoverProps = {
|
|
41
41
|
theme: mergedTheme.peers.Popover,
|
|
42
42
|
themeOverrides: mergedTheme.peerOverrides.Popover,
|
|
@@ -45,15 +45,14 @@ export default defineComponent({
|
|
|
45
45
|
},
|
|
46
46
|
ref: 'popoverInstRef',
|
|
47
47
|
internalRenderBody: (className, ref, style, onMouseenter, onMouseleave) => {
|
|
48
|
-
return (h(NPopselectPanel, Object.assign({}, mergeProps(
|
|
48
|
+
return (h(NPopselectPanel, Object.assign({}, mergeProps(this.$attrs, {
|
|
49
49
|
class: className,
|
|
50
50
|
style
|
|
51
|
-
}), keep(this.$props, panelPropKeys), { ref: createRefSetter(ref), onMouseenter: onMouseenter, onMouseleave: onMouseleave }),
|
|
51
|
+
}), keep(this.$props, panelPropKeys), { ref: createRefSetter(ref), onMouseenter: onMouseenter, onMouseleave: onMouseleave }), { default: () => { var _a, _b; return (_b = (_a = this.$slots).default) === null || _b === void 0 ? void 0 : _b.call(_a); } }));
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
return (h(NPopover, Object.assign({}, omit(this.$props, panelPropKeys), popoverProps), {
|
|
55
|
-
trigger: this.$slots.default
|
|
56
|
-
_: 1
|
|
55
|
+
trigger: () => { var _a, _b; return (_b = (_a = this.$slots).default) === null || _b === void 0 ? void 0 : _b.call(_a); }
|
|
57
56
|
}));
|
|
58
57
|
}
|
|
59
58
|
});
|
|
@@ -11,7 +11,6 @@ export declare const panelProps: {
|
|
|
11
11
|
readonly default: null;
|
|
12
12
|
};
|
|
13
13
|
readonly cancelable: BooleanConstructor;
|
|
14
|
-
readonly width: PropType<string | number>;
|
|
15
14
|
readonly options: {
|
|
16
15
|
readonly type: PropType<SelectMixedOption[]>;
|
|
17
16
|
readonly default: () => never[];
|
|
@@ -28,7 +27,7 @@ export declare const panelProps: {
|
|
|
28
27
|
readonly renderLabel: PropType<RenderLabel>;
|
|
29
28
|
readonly onChange: PropType<MaybeArray<OnUpdateValue> | undefined>;
|
|
30
29
|
};
|
|
31
|
-
export declare const panelPropKeys: ("value" | "size" | "
|
|
30
|
+
export declare const panelPropKeys: ("value" | "size" | "multiple" | "onChange" | "onMouseenter" | "onMouseleave" | "scrollable" | "renderLabel" | "options" | "onUpdate:value" | "onUpdateValue" | "cancelable")[];
|
|
32
31
|
declare const _default: import("vue").DefineComponent<{
|
|
33
32
|
readonly multiple: BooleanConstructor;
|
|
34
33
|
readonly value: {
|
|
@@ -36,7 +35,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
35
|
readonly default: null;
|
|
37
36
|
};
|
|
38
37
|
readonly cancelable: BooleanConstructor;
|
|
39
|
-
readonly width: PropType<string | number>;
|
|
40
38
|
readonly options: {
|
|
41
39
|
readonly type: PropType<SelectMixedOption[]>;
|
|
42
40
|
readonly default: () => never[];
|
|
@@ -266,7 +264,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
266
264
|
readonly default: null;
|
|
267
265
|
};
|
|
268
266
|
readonly cancelable: BooleanConstructor;
|
|
269
|
-
readonly width: PropType<string | number>;
|
|
270
267
|
readonly options: {
|
|
271
268
|
readonly type: PropType<SelectMixedOption[]>;
|
|
272
269
|
readonly default: () => never[];
|
|
@@ -14,7 +14,6 @@ export const panelProps = {
|
|
|
14
14
|
default: null
|
|
15
15
|
},
|
|
16
16
|
cancelable: Boolean,
|
|
17
|
-
width: [Number, String],
|
|
18
17
|
options: {
|
|
19
18
|
type: Array,
|
|
20
19
|
default: () => []
|
|
@@ -128,6 +127,6 @@ export default defineComponent({
|
|
|
128
127
|
};
|
|
129
128
|
},
|
|
130
129
|
render() {
|
|
131
|
-
return (h(NInternalSelectMenu, { clsPrefix: this.mergedClsPrefix, focusable: true, theme: this.mergedTheme.peers.InternalSelectMenu, themeOverrides: this.mergedTheme.peerOverrides.InternalSelectMenu, multiple: this.multiple, treeMate: this.treeMate, size: this.size, value: this.value,
|
|
130
|
+
return (h(NInternalSelectMenu, { clsPrefix: this.mergedClsPrefix, focusable: true, theme: this.mergedTheme.peers.InternalSelectMenu, themeOverrides: this.mergedTheme.peerOverrides.InternalSelectMenu, multiple: this.multiple, treeMate: this.treeMate, size: this.size, value: this.value, virtualScroll: false, scrollable: this.scrollable, renderLabel: this.renderLabel, onToggle: this.handleToggle, onMouseenter: this.onMouseenter, onMouseleave: this.onMouseenter, onMousedown: this.handleMenuMousedown }, this.$slots));
|
|
132
131
|
}
|
|
133
132
|
});
|
package/es/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "2.24.
|
|
1
|
+
declare const _default: "2.24.7";
|
|
2
2
|
export default _default;
|
package/es/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '2.24.
|
|
1
|
+
export default '2.24.7';
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const jaJP = {
|
|
4
4
|
name: 'ja-JP',
|
|
5
5
|
global: {
|
|
6
|
-
undo: '
|
|
7
|
-
redo: '
|
|
6
|
+
undo: '元に戻す',
|
|
7
|
+
redo: 'やり直す',
|
|
8
8
|
confirm: 'OK'
|
|
9
9
|
},
|
|
10
10
|
Popconfirm: {
|
|
@@ -37,9 +37,8 @@ const jaJP = {
|
|
|
37
37
|
datePlaceholder: '日付を選択',
|
|
38
38
|
datetimePlaceholder: '選択',
|
|
39
39
|
monthPlaceholder: '月を選択',
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
quarterPlaceholder: 'Select Quarter',
|
|
40
|
+
yearPlaceholder: '年を選択',
|
|
41
|
+
quarterPlaceholder: '四半期を選択',
|
|
43
42
|
startDatePlaceholder: '開始日',
|
|
44
43
|
endDatePlaceholder: '終了日',
|
|
45
44
|
startDatetimePlaceholder: '開始時間',
|
|
@@ -71,7 +70,7 @@ const jaJP = {
|
|
|
71
70
|
now: '現在'
|
|
72
71
|
},
|
|
73
72
|
Pagination: {
|
|
74
|
-
goto: '',
|
|
73
|
+
goto: 'ページジャンプ',
|
|
75
74
|
selectionSuffix: 'ページ'
|
|
76
75
|
},
|
|
77
76
|
DynamicTags: {
|
|
@@ -99,15 +98,14 @@ const jaJP = {
|
|
|
99
98
|
export: 'エクスポート',
|
|
100
99
|
restore: 'デフォルト'
|
|
101
100
|
},
|
|
102
|
-
// TODO: translation
|
|
103
101
|
Image: {
|
|
104
|
-
tipPrevious: '
|
|
105
|
-
tipNext: '
|
|
106
|
-
tipCounterclockwise: '
|
|
107
|
-
tipClockwise: '
|
|
108
|
-
tipZoomOut: '
|
|
109
|
-
tipZoomIn: '
|
|
110
|
-
tipClose: '
|
|
102
|
+
tipPrevious: '前の画像 (←)',
|
|
103
|
+
tipNext: '次の画像 (→)',
|
|
104
|
+
tipCounterclockwise: '左に回転',
|
|
105
|
+
tipClockwise: '右に回転',
|
|
106
|
+
tipZoomOut: '縮小',
|
|
107
|
+
tipZoomIn: '拡大',
|
|
108
|
+
tipClose: '閉じる (Esc)'
|
|
111
109
|
}
|
|
112
110
|
};
|
|
113
111
|
exports.default = jaJP;
|
|
@@ -8,7 +8,6 @@ declare const popselectProps: {
|
|
|
8
8
|
readonly default: null;
|
|
9
9
|
};
|
|
10
10
|
cancelable: BooleanConstructor;
|
|
11
|
-
width: PropType<string | number>;
|
|
12
11
|
options: {
|
|
13
12
|
readonly type: PropType<import("../../select/src/interface").SelectMixedOption[]>;
|
|
14
13
|
readonly default: () => never[];
|
|
@@ -44,6 +43,10 @@ declare const popselectProps: {
|
|
|
44
43
|
y: NumberConstructor;
|
|
45
44
|
maxWidth: NumberConstructor;
|
|
46
45
|
minWidth: NumberConstructor;
|
|
46
|
+
width: {
|
|
47
|
+
type: PropType<number | "trigger">;
|
|
48
|
+
default: undefined;
|
|
49
|
+
};
|
|
47
50
|
zIndex: NumberConstructor;
|
|
48
51
|
disabled: BooleanConstructor;
|
|
49
52
|
duration: {
|
|
@@ -299,7 +302,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
299
302
|
readonly default: null;
|
|
300
303
|
};
|
|
301
304
|
cancelable: BooleanConstructor;
|
|
302
|
-
width: PropType<string | number>;
|
|
303
305
|
options: {
|
|
304
306
|
readonly type: PropType<import("../../select/src/interface").SelectMixedOption[]>;
|
|
305
307
|
readonly default: () => never[];
|
|
@@ -335,6 +337,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
335
337
|
y: NumberConstructor;
|
|
336
338
|
maxWidth: NumberConstructor;
|
|
337
339
|
minWidth: NumberConstructor;
|
|
340
|
+
width: {
|
|
341
|
+
type: PropType<number | "trigger">;
|
|
342
|
+
default: undefined;
|
|
343
|
+
};
|
|
338
344
|
zIndex: NumberConstructor;
|
|
339
345
|
disabled: BooleanConstructor;
|
|
340
346
|
duration: {
|
|
@@ -795,7 +801,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
795
801
|
readonly default: null;
|
|
796
802
|
};
|
|
797
803
|
cancelable: BooleanConstructor;
|
|
798
|
-
width: PropType<string | number>;
|
|
799
804
|
options: {
|
|
800
805
|
readonly type: PropType<import("../../select/src/interface").SelectMixedOption[]>;
|
|
801
806
|
readonly default: () => never[];
|
|
@@ -831,6 +836,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
831
836
|
y: NumberConstructor;
|
|
832
837
|
maxWidth: NumberConstructor;
|
|
833
838
|
minWidth: NumberConstructor;
|
|
839
|
+
width: {
|
|
840
|
+
type: PropType<number | "trigger">;
|
|
841
|
+
default: undefined;
|
|
842
|
+
};
|
|
834
843
|
zIndex: NumberConstructor;
|
|
835
844
|
disabled: BooleanConstructor;
|
|
836
845
|
duration: {
|
|
@@ -1082,6 +1091,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1082
1091
|
size: import("./interface").PopselectSize;
|
|
1083
1092
|
show: boolean | undefined;
|
|
1084
1093
|
flip: boolean;
|
|
1094
|
+
width: number | "trigger";
|
|
1085
1095
|
multiple: boolean;
|
|
1086
1096
|
disabled: boolean;
|
|
1087
1097
|
duration: number;
|
|
@@ -57,7 +57,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
57
57
|
};
|
|
58
58
|
},
|
|
59
59
|
render() {
|
|
60
|
-
const { mergedTheme
|
|
60
|
+
const { mergedTheme } = this;
|
|
61
61
|
const popoverProps = {
|
|
62
62
|
theme: mergedTheme.peers.Popover,
|
|
63
63
|
themeOverrides: mergedTheme.peerOverrides.Popover,
|
|
@@ -66,15 +66,14 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
66
66
|
},
|
|
67
67
|
ref: 'popoverInstRef',
|
|
68
68
|
internalRenderBody: (className, ref, style, onMouseenter, onMouseleave) => {
|
|
69
|
-
return ((0, vue_1.h)(PopselectPanel_1.default, Object.assign({}, (0, vue_1.mergeProps)(
|
|
69
|
+
return ((0, vue_1.h)(PopselectPanel_1.default, Object.assign({}, (0, vue_1.mergeProps)(this.$attrs, {
|
|
70
70
|
class: className,
|
|
71
71
|
style
|
|
72
|
-
}), (0, _utils_1.keep)(this.$props, PopselectPanel_1.panelPropKeys), { ref: (0, _utils_1.createRefSetter)(ref), onMouseenter: onMouseenter, onMouseleave: onMouseleave }),
|
|
72
|
+
}), (0, _utils_1.keep)(this.$props, PopselectPanel_1.panelPropKeys), { ref: (0, _utils_1.createRefSetter)(ref), onMouseenter: onMouseenter, onMouseleave: onMouseleave }), { default: () => { var _a, _b; return (_b = (_a = this.$slots).default) === null || _b === void 0 ? void 0 : _b.call(_a); } }));
|
|
73
73
|
}
|
|
74
74
|
};
|
|
75
75
|
return ((0, vue_1.h)(popover_1.NPopover, Object.assign({}, (0, _utils_1.omit)(this.$props, PopselectPanel_1.panelPropKeys), popoverProps), {
|
|
76
|
-
trigger: this.$slots.default
|
|
77
|
-
_: 1
|
|
76
|
+
trigger: () => { var _a, _b; return (_b = (_a = this.$slots).default) === null || _b === void 0 ? void 0 : _b.call(_a); }
|
|
78
77
|
}));
|
|
79
78
|
}
|
|
80
79
|
});
|
|
@@ -11,7 +11,6 @@ export declare const panelProps: {
|
|
|
11
11
|
readonly default: null;
|
|
12
12
|
};
|
|
13
13
|
readonly cancelable: BooleanConstructor;
|
|
14
|
-
readonly width: PropType<string | number>;
|
|
15
14
|
readonly options: {
|
|
16
15
|
readonly type: PropType<SelectMixedOption[]>;
|
|
17
16
|
readonly default: () => never[];
|
|
@@ -28,7 +27,7 @@ export declare const panelProps: {
|
|
|
28
27
|
readonly renderLabel: PropType<RenderLabel>;
|
|
29
28
|
readonly onChange: PropType<MaybeArray<OnUpdateValue> | undefined>;
|
|
30
29
|
};
|
|
31
|
-
export declare const panelPropKeys: ("value" | "size" | "
|
|
30
|
+
export declare const panelPropKeys: ("value" | "size" | "multiple" | "onChange" | "onMouseenter" | "onMouseleave" | "scrollable" | "renderLabel" | "options" | "onUpdate:value" | "onUpdateValue" | "cancelable")[];
|
|
32
31
|
declare const _default: import("vue").DefineComponent<{
|
|
33
32
|
readonly multiple: BooleanConstructor;
|
|
34
33
|
readonly value: {
|
|
@@ -36,7 +35,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
35
|
readonly default: null;
|
|
37
36
|
};
|
|
38
37
|
readonly cancelable: BooleanConstructor;
|
|
39
|
-
readonly width: PropType<string | number>;
|
|
40
38
|
readonly options: {
|
|
41
39
|
readonly type: PropType<SelectMixedOption[]>;
|
|
42
40
|
readonly default: () => never[];
|
|
@@ -266,7 +264,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
266
264
|
readonly default: null;
|
|
267
265
|
};
|
|
268
266
|
readonly cancelable: BooleanConstructor;
|
|
269
|
-
readonly width: PropType<string | number>;
|
|
270
267
|
readonly options: {
|
|
271
268
|
readonly type: PropType<SelectMixedOption[]>;
|
|
272
269
|
readonly default: () => never[];
|
|
@@ -17,7 +17,6 @@ exports.panelProps = {
|
|
|
17
17
|
default: null
|
|
18
18
|
},
|
|
19
19
|
cancelable: Boolean,
|
|
20
|
-
width: [Number, String],
|
|
21
20
|
options: {
|
|
22
21
|
type: Array,
|
|
23
22
|
default: () => []
|
|
@@ -131,6 +130,6 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
131
130
|
};
|
|
132
131
|
},
|
|
133
132
|
render() {
|
|
134
|
-
return ((0, vue_1.h)(_internal_1.NInternalSelectMenu, { clsPrefix: this.mergedClsPrefix, focusable: true, theme: this.mergedTheme.peers.InternalSelectMenu, themeOverrides: this.mergedTheme.peerOverrides.InternalSelectMenu, multiple: this.multiple, treeMate: this.treeMate, size: this.size, value: this.value,
|
|
133
|
+
return ((0, vue_1.h)(_internal_1.NInternalSelectMenu, { clsPrefix: this.mergedClsPrefix, focusable: true, theme: this.mergedTheme.peers.InternalSelectMenu, themeOverrides: this.mergedTheme.peerOverrides.InternalSelectMenu, multiple: this.multiple, treeMate: this.treeMate, size: this.size, value: this.value, virtualScroll: false, scrollable: this.scrollable, renderLabel: this.renderLabel, onToggle: this.handleToggle, onMouseenter: this.onMouseenter, onMouseleave: this.onMouseenter, onMousedown: this.handleMenuMousedown }, this.$slots));
|
|
135
134
|
}
|
|
136
135
|
});
|
package/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "2.24.
|
|
1
|
+
declare const _default: "2.24.7";
|
|
2
2
|
export default _default;
|
package/lib/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "naive-ui",
|
|
3
|
-
"version": "2.24.
|
|
3
|
+
"version": "2.24.7",
|
|
4
4
|
"description": "A Vue 3 Component Library. Fairly Complete, Customizable Themes, Uses TypeScript, Not Too Slow",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
"gen-volar-dts": "esno scripts/gen-component-declaration",
|
|
157
157
|
"release-changelog": "node scripts/release-changelog",
|
|
158
158
|
"build:site:ts": "./scripts/pre-build-site/pre-build-site.sh && cross-env TUSIMPLE=true NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 vite build && ./scripts/post-build-site/post-build-site.sh",
|
|
159
|
-
"
|
|
159
|
+
"transpile-docs": "node scripts/md-to-vue popselect",
|
|
160
160
|
"typecheck": "vue-tsc --noEmit src/**/*.vue"
|
|
161
161
|
}
|
|
162
162
|
}
|