@web_xiaobai/ui 0.0.7 → 0.0.8
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/_extendThemeOverrides/Cascader.d.ts +5 -0
- package/dist/_extendThemeOverrides/Select.d.ts +3 -0
- package/dist/_extendThemeOverrides/ShapeButton.d.ts +9 -0
- package/dist/_types/_extendTheme.d.ts +2 -0
- package/dist/_utils/composable/use-omit-props.d.ts +2 -0
- package/dist/_utils/simply-omit.d.ts +1 -0
- package/dist/_utils/v-slot.d.ts +5 -0
- package/dist/assets/fonts.css +1 -0
- package/dist/boden-ui.cjs.js +4193 -0
- package/dist/boden-ui.es.js +2296 -1545
- package/dist/components/ButtonList/index.d.ts +2 -0
- package/dist/components/ButtonList/src/button-list.d.ts +36 -0
- package/dist/components/ButtonList/src/interface.d.ts +52 -0
- package/dist/components/ButtonList/src/styles/index.cssr.d.ts +2 -0
- package/dist/components/Cascader/src/Cascader.vue.d.ts +13 -6
- package/dist/components/Cascader/src/props.d.ts +1 -1
- package/dist/components/Cascader/src/useCssVars.d.ts +9 -0
- package/dist/components/DataTable/src/DataTable.d.ts +4 -14548
- package/dist/components/DataTable/src/props.d.ts +49 -17
- package/dist/components/Input/src/Input.d.ts +2 -2
- package/dist/components/InputNumber/src/InputNumber.vue.d.ts +2 -2
- package/dist/components/Menu/src/Menu.d.ts +2 -2
- package/dist/components/Modal/src/Dialog.d.ts +35 -38
- package/dist/components/Modal/src/props.d.ts +20 -19
- package/dist/components/Pagination/src/Pagination.d.ts +2 -2
- package/dist/components/ShapeButton/index.d.ts +2 -0
- package/dist/components/ShapeButton/src/interface.d.ts +64 -0
- package/dist/components/ShapeButton/src/shape-button.d.ts +4 -0
- package/dist/components/ShapeButton/src/useCssVars.d.ts +8 -0
- package/dist/components/ShapeButton/styles/_common.d.ts +2 -0
- package/dist/components/ShapeButton/styles/dark.d.ts +2 -0
- package/dist/components/ShapeButton/styles/index.d.ts +2 -0
- package/dist/components/ShapeButton/styles/light.d.ts +2 -0
- package/dist/components/Slider/src/Slider.vue.d.ts +2 -2
- package/dist/components/Tag/src/Tag.vue.d.ts +2 -2
- package/dist/components/Tag/src/props.d.ts +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/select/src/useCssVars.d.ts +3 -0
- package/dist/fonts/MiSans-Medium.ttf +0 -0
- package/dist/fonts/MiSans-Regular.ttf +0 -0
- package/dist/styles/vars/colors/light.d.ts +7 -0
- package/package.json +4 -1
- package/dist/boden-ui.umd.js +0 -4202
|
@@ -1,34 +1,66 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
type IconPlacement = 'left' | 'right';
|
|
3
3
|
type PaginationPlacement = 'left' | 'center' | 'right';
|
|
4
|
-
export declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
export declare const bodenDataTableExtendProps: {
|
|
5
|
+
showTotalCount: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: boolean;
|
|
8
8
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
contentClass: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
12
|
};
|
|
13
|
+
footerClass: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
footerShadow: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
paginationPlacement: {
|
|
22
|
+
type: PropType<PaginationPlacement>;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
headerIconPlacement: {
|
|
26
|
+
type: PropType<IconPlacement>;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
backgroundTransparent: BooleanConstructor;
|
|
30
|
+
};
|
|
31
|
+
export declare const bodenDataTableProps: {
|
|
13
32
|
readonly showTotalCount: {
|
|
14
|
-
|
|
15
|
-
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
16
35
|
};
|
|
17
36
|
readonly contentClass: {
|
|
18
|
-
|
|
19
|
-
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
20
39
|
};
|
|
21
40
|
readonly footerClass: {
|
|
22
|
-
|
|
23
|
-
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
readonly footerShadow: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
24
47
|
};
|
|
25
48
|
readonly paginationPlacement: {
|
|
26
|
-
|
|
27
|
-
|
|
49
|
+
type: PropType<PaginationPlacement>;
|
|
50
|
+
default: string;
|
|
28
51
|
};
|
|
29
52
|
readonly headerIconPlacement: {
|
|
30
|
-
|
|
31
|
-
|
|
53
|
+
type: PropType<IconPlacement>;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
readonly backgroundTransparent: BooleanConstructor;
|
|
57
|
+
readonly bordered: {
|
|
58
|
+
readonly type: BooleanConstructor;
|
|
59
|
+
readonly default: false;
|
|
60
|
+
};
|
|
61
|
+
readonly remote: {
|
|
62
|
+
readonly type: BooleanConstructor;
|
|
63
|
+
readonly default: true;
|
|
32
64
|
};
|
|
33
65
|
readonly onUnstableColumnResize: PropType<(resizedWidth: number, limitedWidth: number, column: import('naive-ui').DataTableBaseColumn, getColumnWidth: (key: import('naive-ui').DataTableColumnKey) => number | undefined) => void>;
|
|
34
66
|
readonly pagination: {
|
|
@@ -324,7 +324,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
324
324
|
}>>>;
|
|
325
325
|
}>, {
|
|
326
326
|
currentProps: import('vue').ComputedRef<{
|
|
327
|
-
themeOverrides: (import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Input", {
|
|
327
|
+
themeOverrides: ((import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Input", {
|
|
328
328
|
fontWeight: string;
|
|
329
329
|
countTextColorDisabled: string;
|
|
330
330
|
countTextColor: string;
|
|
@@ -476,7 +476,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
476
476
|
paddingMedium: string;
|
|
477
477
|
paddingLarge: string;
|
|
478
478
|
clearSize: string;
|
|
479
|
-
}> & {
|
|
479
|
+
}>) & {
|
|
480
480
|
peers?: {
|
|
481
481
|
Scrollbar?: import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
482
482
|
height: string;
|
|
@@ -1003,7 +1003,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1003
1003
|
inputNumberClass: import('vue').ComputedRef<string[]>;
|
|
1004
1004
|
currentProps: import('vue').ComputedRef<{
|
|
1005
1005
|
size: import('./props').Size;
|
|
1006
|
-
themeOverrides: (import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"InputNumber", {
|
|
1006
|
+
themeOverrides: ((import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"InputNumber", {
|
|
1007
1007
|
iconColorDisabled: string;
|
|
1008
1008
|
}, {
|
|
1009
1009
|
Button: import('naive-ui/es/_mixins').Theme<"Button", {
|
|
@@ -1571,7 +1571,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1571
1571
|
common?: Partial<import('naive-ui').ThemeCommonVars>;
|
|
1572
1572
|
})) & Partial<{
|
|
1573
1573
|
iconColorDisabled: string;
|
|
1574
|
-
}> & {
|
|
1574
|
+
}>) & {
|
|
1575
1575
|
peers?: {
|
|
1576
1576
|
Button?: import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Button", {
|
|
1577
1577
|
heightTiny: string;
|
|
@@ -690,7 +690,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
690
690
|
}>>>;
|
|
691
691
|
}>, {
|
|
692
692
|
currentProps: import('vue').ComputedRef<{
|
|
693
|
-
themeOverrides: (import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Menu", {
|
|
693
|
+
themeOverrides: ((import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Menu", {
|
|
694
694
|
itemColorHoverInverted: string;
|
|
695
695
|
itemColorActiveInverted: string;
|
|
696
696
|
itemColorActiveHoverInverted: string;
|
|
@@ -1092,7 +1092,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1092
1092
|
borderColorHorizontal: string;
|
|
1093
1093
|
fontSize: string;
|
|
1094
1094
|
dividerColor: string;
|
|
1095
|
-
}> & {
|
|
1095
|
+
}>) & {
|
|
1096
1096
|
peers?: {
|
|
1097
1097
|
Tooltip?: import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Tooltip", {
|
|
1098
1098
|
borderRadius: string;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { SlotsType } from 'vue';
|
|
2
2
|
import { ModalSlots } from 'naive-ui';
|
|
3
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
readonly segmented: {
|
|
5
|
+
readonly default: () => {
|
|
6
|
+
content: boolean;
|
|
7
|
+
};
|
|
8
|
+
readonly type: import('vue').PropType<boolean | import('naive-ui').CardSegmented>;
|
|
9
|
+
};
|
|
4
10
|
readonly autoFocus: {
|
|
5
11
|
readonly type: BooleanConstructor;
|
|
6
12
|
readonly default: false;
|
|
@@ -23,7 +29,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
23
29
|
};
|
|
24
30
|
readonly top: {
|
|
25
31
|
readonly type: StringConstructor;
|
|
26
|
-
readonly default: "
|
|
32
|
+
readonly default: "50%";
|
|
27
33
|
};
|
|
28
34
|
readonly title: {
|
|
29
35
|
readonly type: StringConstructor;
|
|
@@ -39,7 +45,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
39
45
|
};
|
|
40
46
|
readonly titlePlacement: {
|
|
41
47
|
readonly type: import('vue').PropType<import('../..').DialogPlacement>;
|
|
42
|
-
readonly default: "
|
|
48
|
+
readonly default: "center";
|
|
43
49
|
};
|
|
44
50
|
readonly closable: {
|
|
45
51
|
readonly type: BooleanConstructor;
|
|
@@ -49,6 +55,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
49
55
|
readonly type: StringConstructor;
|
|
50
56
|
readonly default: "50vh";
|
|
51
57
|
};
|
|
58
|
+
readonly scrollable: {
|
|
59
|
+
readonly type: BooleanConstructor;
|
|
60
|
+
readonly default: true;
|
|
61
|
+
};
|
|
52
62
|
readonly scrollContentClass: {
|
|
53
63
|
readonly type: StringConstructor;
|
|
54
64
|
readonly default: "";
|
|
@@ -63,7 +73,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
63
73
|
};
|
|
64
74
|
readonly footerPlacement: {
|
|
65
75
|
readonly type: import('vue').PropType<import('../..').DialogPlacement>;
|
|
66
|
-
readonly default: "
|
|
76
|
+
readonly default: "center";
|
|
67
77
|
};
|
|
68
78
|
readonly footerContentClass: {
|
|
69
79
|
readonly type: StringConstructor;
|
|
@@ -75,21 +85,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
75
85
|
};
|
|
76
86
|
readonly negativeButtonProps: {
|
|
77
87
|
readonly type: import('vue').PropType<import('../..').BodenButtonProps>;
|
|
78
|
-
readonly default: () =>
|
|
79
|
-
type: string;
|
|
80
|
-
size: string;
|
|
81
|
-
content: string;
|
|
82
|
-
icon: string;
|
|
83
|
-
};
|
|
88
|
+
readonly default: () => import('../..').BodenButtonProps;
|
|
84
89
|
};
|
|
85
90
|
readonly positiveButtonProps: {
|
|
86
91
|
readonly type: import('vue').PropType<import('../..').BodenButtonProps>;
|
|
87
|
-
readonly default: () =>
|
|
88
|
-
type: string;
|
|
89
|
-
size: string;
|
|
90
|
-
content: string;
|
|
91
|
-
icon: string;
|
|
92
|
-
};
|
|
92
|
+
readonly default: () => import('../..').BodenButtonProps;
|
|
93
93
|
};
|
|
94
94
|
readonly loading: {
|
|
95
95
|
readonly type: BooleanConstructor;
|
|
@@ -103,6 +103,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
103
103
|
readonly type: import('vue').PropType<import('../..').DialogOnCancel>;
|
|
104
104
|
readonly default: undefined;
|
|
105
105
|
};
|
|
106
|
+
readonly onCancel: import('vue').PropType<import('../../../_utils/call').MaybeArray<() => void>>;
|
|
107
|
+
readonly onConfirm: import('vue').PropType<import('../../../_utils/call').MaybeArray<() => void>>;
|
|
106
108
|
readonly draggable: import('vue').PropType<boolean | import('naive-ui/es/modal/src/interface').ModalDraggableOptions>;
|
|
107
109
|
readonly onEsc: import('vue').PropType<() => void>;
|
|
108
110
|
readonly 'onUpdate:show': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(value: boolean) => void>>;
|
|
@@ -155,10 +157,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
155
157
|
readonly footerClass: StringConstructor;
|
|
156
158
|
readonly footerStyle: import('vue').PropType<import('vue').CSSProperties | string>;
|
|
157
159
|
readonly embedded: BooleanConstructor;
|
|
158
|
-
readonly segmented: {
|
|
159
|
-
readonly type: import('vue').PropType<boolean | import('naive-ui').CardSegmented>;
|
|
160
|
-
readonly default: false;
|
|
161
|
-
};
|
|
162
160
|
readonly size: {
|
|
163
161
|
readonly type: import('vue').PropType<"small" | "medium" | "large" | "huge">;
|
|
164
162
|
readonly default: "medium";
|
|
@@ -1069,6 +1067,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1069
1067
|
}, any>;
|
|
1070
1068
|
}>>>;
|
|
1071
1069
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1070
|
+
readonly segmented: {
|
|
1071
|
+
readonly default: () => {
|
|
1072
|
+
content: boolean;
|
|
1073
|
+
};
|
|
1074
|
+
readonly type: import('vue').PropType<boolean | import('naive-ui').CardSegmented>;
|
|
1075
|
+
};
|
|
1072
1076
|
readonly autoFocus: {
|
|
1073
1077
|
readonly type: BooleanConstructor;
|
|
1074
1078
|
readonly default: false;
|
|
@@ -1091,7 +1095,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1091
1095
|
};
|
|
1092
1096
|
readonly top: {
|
|
1093
1097
|
readonly type: StringConstructor;
|
|
1094
|
-
readonly default: "
|
|
1098
|
+
readonly default: "50%";
|
|
1095
1099
|
};
|
|
1096
1100
|
readonly title: {
|
|
1097
1101
|
readonly type: StringConstructor;
|
|
@@ -1107,7 +1111,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1107
1111
|
};
|
|
1108
1112
|
readonly titlePlacement: {
|
|
1109
1113
|
readonly type: import('vue').PropType<import('../..').DialogPlacement>;
|
|
1110
|
-
readonly default: "
|
|
1114
|
+
readonly default: "center";
|
|
1111
1115
|
};
|
|
1112
1116
|
readonly closable: {
|
|
1113
1117
|
readonly type: BooleanConstructor;
|
|
@@ -1117,6 +1121,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1117
1121
|
readonly type: StringConstructor;
|
|
1118
1122
|
readonly default: "50vh";
|
|
1119
1123
|
};
|
|
1124
|
+
readonly scrollable: {
|
|
1125
|
+
readonly type: BooleanConstructor;
|
|
1126
|
+
readonly default: true;
|
|
1127
|
+
};
|
|
1120
1128
|
readonly scrollContentClass: {
|
|
1121
1129
|
readonly type: StringConstructor;
|
|
1122
1130
|
readonly default: "";
|
|
@@ -1131,7 +1139,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1131
1139
|
};
|
|
1132
1140
|
readonly footerPlacement: {
|
|
1133
1141
|
readonly type: import('vue').PropType<import('../..').DialogPlacement>;
|
|
1134
|
-
readonly default: "
|
|
1142
|
+
readonly default: "center";
|
|
1135
1143
|
};
|
|
1136
1144
|
readonly footerContentClass: {
|
|
1137
1145
|
readonly type: StringConstructor;
|
|
@@ -1143,21 +1151,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1143
1151
|
};
|
|
1144
1152
|
readonly negativeButtonProps: {
|
|
1145
1153
|
readonly type: import('vue').PropType<import('../..').BodenButtonProps>;
|
|
1146
|
-
readonly default: () =>
|
|
1147
|
-
type: string;
|
|
1148
|
-
size: string;
|
|
1149
|
-
content: string;
|
|
1150
|
-
icon: string;
|
|
1151
|
-
};
|
|
1154
|
+
readonly default: () => import('../..').BodenButtonProps;
|
|
1152
1155
|
};
|
|
1153
1156
|
readonly positiveButtonProps: {
|
|
1154
1157
|
readonly type: import('vue').PropType<import('../..').BodenButtonProps>;
|
|
1155
|
-
readonly default: () =>
|
|
1156
|
-
type: string;
|
|
1157
|
-
size: string;
|
|
1158
|
-
content: string;
|
|
1159
|
-
icon: string;
|
|
1160
|
-
};
|
|
1158
|
+
readonly default: () => import('../..').BodenButtonProps;
|
|
1161
1159
|
};
|
|
1162
1160
|
readonly loading: {
|
|
1163
1161
|
readonly type: BooleanConstructor;
|
|
@@ -1171,6 +1169,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1171
1169
|
readonly type: import('vue').PropType<import('../..').DialogOnCancel>;
|
|
1172
1170
|
readonly default: undefined;
|
|
1173
1171
|
};
|
|
1172
|
+
readonly onCancel: import('vue').PropType<import('../../../_utils/call').MaybeArray<() => void>>;
|
|
1173
|
+
readonly onConfirm: import('vue').PropType<import('../../../_utils/call').MaybeArray<() => void>>;
|
|
1174
1174
|
readonly draggable: import('vue').PropType<boolean | import('naive-ui/es/modal/src/interface').ModalDraggableOptions>;
|
|
1175
1175
|
readonly onEsc: import('vue').PropType<() => void>;
|
|
1176
1176
|
readonly 'onUpdate:show': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(value: boolean) => void>>;
|
|
@@ -1223,10 +1223,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1223
1223
|
readonly footerClass: StringConstructor;
|
|
1224
1224
|
readonly footerStyle: import('vue').PropType<import('vue').CSSProperties | string>;
|
|
1225
1225
|
readonly embedded: BooleanConstructor;
|
|
1226
|
-
readonly segmented: {
|
|
1227
|
-
readonly type: import('vue').PropType<boolean | import('naive-ui').CardSegmented>;
|
|
1228
|
-
readonly default: false;
|
|
1229
|
-
};
|
|
1230
1226
|
readonly size: {
|
|
1231
1227
|
readonly type: import('vue').PropType<"small" | "medium" | "large" | "huge">;
|
|
1232
1228
|
readonly default: "medium";
|
|
@@ -2154,6 +2150,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2154
2150
|
readonly show: boolean;
|
|
2155
2151
|
readonly displayDirective: "show" | "if";
|
|
2156
2152
|
readonly width: string;
|
|
2153
|
+
readonly scrollable: boolean;
|
|
2157
2154
|
readonly top: string;
|
|
2158
2155
|
readonly autoFocus: boolean;
|
|
2159
2156
|
readonly maskClosable: boolean;
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
import { CSSProperties, PropType } from 'vue';
|
|
2
|
+
import { MaybeArray } from '../../../_utils/call';
|
|
2
3
|
import { BodenButtonProps } from '../..';
|
|
3
4
|
import { DialogOnCancel } from './types';
|
|
4
5
|
export type DialogPlacement = 'left' | 'center' | 'right';
|
|
6
|
+
export declare const defaultNegativeButtonProps: BodenButtonProps;
|
|
7
|
+
export declare const defaultPositiveButtonProps: BodenButtonProps;
|
|
5
8
|
export declare const bodenDialogProps: {
|
|
9
|
+
readonly segmented: {
|
|
10
|
+
readonly default: () => {
|
|
11
|
+
content: boolean;
|
|
12
|
+
};
|
|
13
|
+
readonly type: PropType<boolean | import('naive-ui').CardSegmented>;
|
|
14
|
+
};
|
|
6
15
|
readonly autoFocus: {
|
|
7
16
|
readonly type: BooleanConstructor;
|
|
8
17
|
readonly default: false;
|
|
@@ -25,7 +34,7 @@ export declare const bodenDialogProps: {
|
|
|
25
34
|
};
|
|
26
35
|
readonly top: {
|
|
27
36
|
readonly type: StringConstructor;
|
|
28
|
-
readonly default: "
|
|
37
|
+
readonly default: "50%";
|
|
29
38
|
};
|
|
30
39
|
readonly title: {
|
|
31
40
|
readonly type: StringConstructor;
|
|
@@ -41,7 +50,7 @@ export declare const bodenDialogProps: {
|
|
|
41
50
|
};
|
|
42
51
|
readonly titlePlacement: {
|
|
43
52
|
readonly type: PropType<DialogPlacement>;
|
|
44
|
-
readonly default: "
|
|
53
|
+
readonly default: "center";
|
|
45
54
|
};
|
|
46
55
|
readonly closable: {
|
|
47
56
|
readonly type: BooleanConstructor;
|
|
@@ -51,6 +60,10 @@ export declare const bodenDialogProps: {
|
|
|
51
60
|
readonly type: StringConstructor;
|
|
52
61
|
readonly default: "50vh";
|
|
53
62
|
};
|
|
63
|
+
readonly scrollable: {
|
|
64
|
+
readonly type: BooleanConstructor;
|
|
65
|
+
readonly default: true;
|
|
66
|
+
};
|
|
54
67
|
readonly scrollContentClass: {
|
|
55
68
|
readonly type: StringConstructor;
|
|
56
69
|
readonly default: "";
|
|
@@ -65,7 +78,7 @@ export declare const bodenDialogProps: {
|
|
|
65
78
|
};
|
|
66
79
|
readonly footerPlacement: {
|
|
67
80
|
readonly type: PropType<DialogPlacement>;
|
|
68
|
-
readonly default: "
|
|
81
|
+
readonly default: "center";
|
|
69
82
|
};
|
|
70
83
|
readonly footerContentClass: {
|
|
71
84
|
readonly type: StringConstructor;
|
|
@@ -77,21 +90,11 @@ export declare const bodenDialogProps: {
|
|
|
77
90
|
};
|
|
78
91
|
readonly negativeButtonProps: {
|
|
79
92
|
readonly type: PropType<BodenButtonProps>;
|
|
80
|
-
readonly default: () =>
|
|
81
|
-
type: string;
|
|
82
|
-
size: string;
|
|
83
|
-
content: string;
|
|
84
|
-
icon: string;
|
|
85
|
-
};
|
|
93
|
+
readonly default: () => BodenButtonProps;
|
|
86
94
|
};
|
|
87
95
|
readonly positiveButtonProps: {
|
|
88
96
|
readonly type: PropType<BodenButtonProps>;
|
|
89
|
-
readonly default: () =>
|
|
90
|
-
type: string;
|
|
91
|
-
size: string;
|
|
92
|
-
content: string;
|
|
93
|
-
icon: string;
|
|
94
|
-
};
|
|
97
|
+
readonly default: () => BodenButtonProps;
|
|
95
98
|
};
|
|
96
99
|
readonly loading: {
|
|
97
100
|
readonly type: BooleanConstructor;
|
|
@@ -105,6 +108,8 @@ export declare const bodenDialogProps: {
|
|
|
105
108
|
readonly type: PropType<DialogOnCancel>;
|
|
106
109
|
readonly default: undefined;
|
|
107
110
|
};
|
|
111
|
+
readonly onCancel: PropType<MaybeArray<() => void>>;
|
|
112
|
+
readonly onConfirm: PropType<MaybeArray<() => void>>;
|
|
108
113
|
readonly draggable: PropType<boolean | import('naive-ui/es/modal/src/interface').ModalDraggableOptions>;
|
|
109
114
|
readonly onEsc: PropType<() => void>;
|
|
110
115
|
readonly 'onUpdate:show': PropType<import('naive-ui/es/_utils').MaybeArray<(value: boolean) => void>>;
|
|
@@ -157,10 +162,6 @@ export declare const bodenDialogProps: {
|
|
|
157
162
|
readonly footerClass: StringConstructor;
|
|
158
163
|
readonly footerStyle: PropType<CSSProperties | string>;
|
|
159
164
|
readonly embedded: BooleanConstructor;
|
|
160
|
-
readonly segmented: {
|
|
161
|
-
readonly type: PropType<boolean | import('naive-ui').CardSegmented>;
|
|
162
|
-
readonly default: false;
|
|
163
|
-
};
|
|
164
165
|
readonly size: {
|
|
165
166
|
readonly type: PropType<"small" | "medium" | "large" | "huge">;
|
|
166
167
|
readonly default: "medium";
|
|
@@ -1272,7 +1272,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1272
1272
|
currentProps: import('vue').ComputedRef<{
|
|
1273
1273
|
size: import('./props').Size;
|
|
1274
1274
|
showQuickJumper: boolean;
|
|
1275
|
-
themeOverrides: (import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Pagination", {
|
|
1275
|
+
themeOverrides: ((import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Pagination", {
|
|
1276
1276
|
buttonColor: string;
|
|
1277
1277
|
buttonColorHover: string;
|
|
1278
1278
|
buttonColorPressed: string;
|
|
@@ -2074,7 +2074,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2074
2074
|
selectMarginLarge: string;
|
|
2075
2075
|
prefixMarginLarge: string;
|
|
2076
2076
|
suffixMarginLarge: string;
|
|
2077
|
-
}> & {
|
|
2077
|
+
}>) & {
|
|
2078
2078
|
peers?: {
|
|
2079
2079
|
Select?: import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Select", {
|
|
2080
2080
|
menuBoxShadow: string;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { ExtractPublicPropTypes, PropType } from 'vue';
|
|
2
|
+
import { ButtonSlots } from 'naive-ui';
|
|
3
|
+
import { ShapeButtonExtendThemeOverrides } from '../../../_extendThemeOverrides/ShapeButton';
|
|
4
|
+
export declare const bodenShapeButtonExtendProps: {
|
|
5
|
+
readonly width: {
|
|
6
|
+
readonly type: PropType<string | number>;
|
|
7
|
+
readonly default: 32;
|
|
8
|
+
};
|
|
9
|
+
readonly height: {
|
|
10
|
+
readonly type: PropType<string | number>;
|
|
11
|
+
readonly default: 32;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* 形状
|
|
15
|
+
*/
|
|
16
|
+
readonly shape: {
|
|
17
|
+
readonly type: PropType<"square" | "circle">;
|
|
18
|
+
readonly default: "square";
|
|
19
|
+
};
|
|
20
|
+
readonly icon: {
|
|
21
|
+
readonly type: PropType<string | (() => import('vue').VNode)>;
|
|
22
|
+
readonly default: "";
|
|
23
|
+
};
|
|
24
|
+
readonly iconProps: {
|
|
25
|
+
readonly type: PropType<import('naive-ui').IconProps>;
|
|
26
|
+
};
|
|
27
|
+
readonly content: StringConstructor;
|
|
28
|
+
readonly extendThemeOverrides: {
|
|
29
|
+
readonly type: PropType<ShapeButtonExtendThemeOverrides>;
|
|
30
|
+
readonly default: () => {};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export declare const bodenShapeButtonProps: {
|
|
34
|
+
readonly onClick: PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
|
|
35
|
+
readonly width: {
|
|
36
|
+
readonly type: PropType<string | number>;
|
|
37
|
+
readonly default: 32;
|
|
38
|
+
};
|
|
39
|
+
readonly height: {
|
|
40
|
+
readonly type: PropType<string | number>;
|
|
41
|
+
readonly default: 32;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* 形状
|
|
45
|
+
*/
|
|
46
|
+
readonly shape: {
|
|
47
|
+
readonly type: PropType<"square" | "circle">;
|
|
48
|
+
readonly default: "square";
|
|
49
|
+
};
|
|
50
|
+
readonly icon: {
|
|
51
|
+
readonly type: PropType<string | (() => import('vue').VNode)>;
|
|
52
|
+
readonly default: "";
|
|
53
|
+
};
|
|
54
|
+
readonly iconProps: {
|
|
55
|
+
readonly type: PropType<import('naive-ui').IconProps>;
|
|
56
|
+
};
|
|
57
|
+
readonly content: StringConstructor;
|
|
58
|
+
readonly extendThemeOverrides: {
|
|
59
|
+
readonly type: PropType<ShapeButtonExtendThemeOverrides>;
|
|
60
|
+
readonly default: () => {};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
export type BodenShapeButtonProps = ExtractPublicPropTypes<typeof bodenShapeButtonProps>;
|
|
64
|
+
export type BodenShapeButtonSlots = ButtonSlots;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ShapeButtonExtendThemeOverrides } from '../../../_extendThemeOverrides/ShapeButton';
|
|
2
|
+
export declare const parsedThemeOverrides: (themeOverrides: ShapeButtonExtendThemeOverrides) => {
|
|
3
|
+
color: string | undefined;
|
|
4
|
+
colorHover: string | undefined;
|
|
5
|
+
colorFocus: string | undefined;
|
|
6
|
+
textColor: string | undefined;
|
|
7
|
+
border: string | undefined;
|
|
8
|
+
};
|
|
@@ -1869,7 +1869,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1869
1869
|
inputNumberClass: import('vue').ComputedRef<string[]>;
|
|
1870
1870
|
currentProps: import('vue').ComputedRef<{
|
|
1871
1871
|
size: import('../../InputNumber/index').Size;
|
|
1872
|
-
themeOverrides: (import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"InputNumber", {
|
|
1872
|
+
themeOverrides: ((import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"InputNumber", {
|
|
1873
1873
|
iconColorDisabled: string;
|
|
1874
1874
|
}, {
|
|
1875
1875
|
Button: import('naive-ui/es/_mixins').Theme<"Button", {
|
|
@@ -2437,7 +2437,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2437
2437
|
common?: Partial<import('naive-ui').ThemeCommonVars>;
|
|
2438
2438
|
})) & Partial<{
|
|
2439
2439
|
iconColorDisabled: string;
|
|
2440
|
-
}> & {
|
|
2440
|
+
}>) & {
|
|
2441
2441
|
peers?: {
|
|
2442
2442
|
Button?: import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Button", {
|
|
2443
2443
|
heightTiny: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
readonly size: {
|
|
3
3
|
readonly type: import('vue').PropType<import('./props').Size>;
|
|
4
|
-
readonly default: "
|
|
4
|
+
readonly default: "medium";
|
|
5
5
|
};
|
|
6
6
|
readonly extendThemeOverrides: {
|
|
7
7
|
readonly type: import('vue').PropType<import('../../../_extendThemeOverrides/Tag').TagExtendThemeOverrides>;
|
|
@@ -699,7 +699,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
699
699
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
700
700
|
readonly size: {
|
|
701
701
|
readonly type: import('vue').PropType<import('./props').Size>;
|
|
702
|
-
readonly default: "
|
|
702
|
+
readonly default: "medium";
|
|
703
703
|
};
|
|
704
704
|
readonly extendThemeOverrides: {
|
|
705
705
|
readonly type: import('vue').PropType<import('../../../_extendThemeOverrides/Tag').TagExtendThemeOverrides>;
|
|
@@ -4,7 +4,7 @@ export type Size = "tiny" | "small" | "medium" | "large";
|
|
|
4
4
|
export declare const bodenTagProps: {
|
|
5
5
|
readonly size: {
|
|
6
6
|
readonly type: PropType<Size>;
|
|
7
|
-
readonly default: "
|
|
7
|
+
readonly default: "medium";
|
|
8
8
|
};
|
|
9
9
|
readonly extendThemeOverrides: {
|
|
10
10
|
readonly type: PropType<TagExtendThemeOverrides>;
|
|
@@ -2,6 +2,7 @@ export * from './Alert/index';
|
|
|
2
2
|
export * from './AppProvider/index';
|
|
3
3
|
export * from './ConfigProvider/index';
|
|
4
4
|
export * from './SvgIcon/index';
|
|
5
|
+
export * from './ButtonList';
|
|
5
6
|
export * from './Button/index';
|
|
6
7
|
export * from './Checkbox/index';
|
|
7
8
|
export * from './CheckboxGroup/index';
|
|
@@ -24,6 +25,7 @@ export * from './Layout/index';
|
|
|
24
25
|
export * from './IconButton/index';
|
|
25
26
|
export * from './Dropdown/index';
|
|
26
27
|
export * from './select/index';
|
|
28
|
+
export * from './ShapeButton';
|
|
27
29
|
export * from './Cascader/index';
|
|
28
30
|
export * from './Tree/index';
|
|
29
31
|
export * from './TreeSelect/index';
|
|
@@ -3,6 +3,9 @@ import { SelectExtendThemeOverrides } from '../../../_extendThemeOverrides/Selec
|
|
|
3
3
|
export declare function useSelectCssVarsHook(mergedExtendThemeOverrides: Ref<SelectExtendThemeOverrides>): {
|
|
4
4
|
selectCssVarsRef: import('vue').ComputedRef<{
|
|
5
5
|
"--boden-border-disabled": string | undefined;
|
|
6
|
+
"--boden-count-tag-color": string | undefined;
|
|
7
|
+
"--boden-count-tag-text-color": string | undefined;
|
|
8
|
+
"--boden-count-tag-border": string | undefined;
|
|
6
9
|
}>;
|
|
7
10
|
};
|
|
8
11
|
export declare function useSelectMenuCssVarsHook(mergedExtendThemeOverrides: Ref<SelectExtendThemeOverrides>): {
|
|
Binary file
|
|
Binary file
|