ninemoon-ui 0.1.14 → 0.2.1
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/components/carousel/carousel.vue.d.ts +2 -0
- package/dist/components/date/datepicker.vue.d.ts +1 -1
- package/dist/components/date/datepickerRange.vue.d.ts +16 -0
- package/dist/components/form/formlabel.vue.d.ts +1 -3
- package/dist/components/pagination/pagination.vue.d.ts +8 -15
- package/dist/components/popover/popover.vue.d.ts +5 -0
- package/dist/components/switch/switch.vue.d.ts +10 -0
- package/dist/components/upload/upload.vue.d.ts +5 -0
- package/dist/index.d.ts +139 -61
- package/dist/index.es.js +21 -21
- package/dist/js/arrow/arrow.js +2 -2
- package/dist/js/badge/badge.js +1 -1
- package/dist/js/calendar/calendar.js +4 -4
- package/dist/js/carousel/carousel.js +59 -38
- package/dist/js/check/checkbox.js +4 -4
- package/dist/js/date/datepicker.js +20 -8
- package/dist/js/date/datepickerRange.js +104 -69
- package/dist/js/dateArrowplus/dateArrowplus.js +2 -2
- package/dist/js/delete/delete.js +2 -2
- package/dist/js/dialog/dialog.js +41 -29
- package/dist/js/form/formlabel.js +21 -89
- package/dist/js/image/image.js +17 -18
- package/dist/js/index/index.js +274 -253
- package/dist/js/input/input.js +8 -8
- package/dist/js/menu/menu.js +1 -1
- package/dist/js/numberInput/numberinput.js +8 -8
- package/dist/js/pagination/pagination.js +17 -14
- package/dist/js/popover/popover.js +3 -239
- package/dist/js/popover.vue_vue_type_script_setup_true_lang/popover.vue_vue_type_script_setup_true_lang.js +249 -0
- package/dist/js/radio/radiobox.js +4 -4
- package/dist/js/scrollBar/scrollBar.js +4 -4
- package/dist/js/select/select.js +5 -5
- package/dist/js/select/selectoption.js +3 -3
- package/dist/js/switch/switch.js +33 -7
- package/dist/js/table/table.js +107 -77
- package/dist/js/table/tableItem.js +2 -2
- package/dist/js/tabs/tabs.js +202 -21
- package/dist/js/upload/upload.js +57 -12
- package/dist/utils/tool.d.ts +5 -0
- package/package.json +5 -2
package/dist/index.d.ts
CHANGED
|
@@ -9,14 +9,14 @@ declare const LibDialog: {
|
|
|
9
9
|
title: {
|
|
10
10
|
type: import('vue').PropType<string>;
|
|
11
11
|
};
|
|
12
|
+
width: {
|
|
13
|
+
type: import('vue').PropType<string | number>;
|
|
14
|
+
};
|
|
12
15
|
visible: {
|
|
13
16
|
type: import('vue').PropType<boolean>;
|
|
14
17
|
required: true;
|
|
15
18
|
default: boolean;
|
|
16
19
|
};
|
|
17
|
-
width: {
|
|
18
|
-
type: import('vue').PropType<string | number>;
|
|
19
|
-
};
|
|
20
20
|
beforeHidden: {
|
|
21
21
|
type: import('vue').PropType<Function>;
|
|
22
22
|
};
|
|
@@ -57,14 +57,14 @@ declare const LibDialog: {
|
|
|
57
57
|
title: {
|
|
58
58
|
type: import('vue').PropType<string>;
|
|
59
59
|
};
|
|
60
|
+
width: {
|
|
61
|
+
type: import('vue').PropType<string | number>;
|
|
62
|
+
};
|
|
60
63
|
visible: {
|
|
61
64
|
type: import('vue').PropType<boolean>;
|
|
62
65
|
required: true;
|
|
63
66
|
default: boolean;
|
|
64
67
|
};
|
|
65
|
-
width: {
|
|
66
|
-
type: import('vue').PropType<string | number>;
|
|
67
|
-
};
|
|
68
68
|
beforeHidden: {
|
|
69
69
|
type: import('vue').PropType<Function>;
|
|
70
70
|
};
|
|
@@ -100,14 +100,14 @@ declare const LibDialog: {
|
|
|
100
100
|
title: {
|
|
101
101
|
type: import('vue').PropType<string>;
|
|
102
102
|
};
|
|
103
|
+
width: {
|
|
104
|
+
type: import('vue').PropType<string | number>;
|
|
105
|
+
};
|
|
103
106
|
visible: {
|
|
104
107
|
type: import('vue').PropType<boolean>;
|
|
105
108
|
required: true;
|
|
106
109
|
default: boolean;
|
|
107
110
|
};
|
|
108
|
-
width: {
|
|
109
|
-
type: import('vue').PropType<string | number>;
|
|
110
|
-
};
|
|
111
111
|
beforeHidden: {
|
|
112
112
|
type: import('vue').PropType<Function>;
|
|
113
113
|
};
|
|
@@ -156,7 +156,7 @@ declare const LibForm: {
|
|
|
156
156
|
default: boolean;
|
|
157
157
|
};
|
|
158
158
|
labelPosition: {
|
|
159
|
-
type: import('vue').PropType<"
|
|
159
|
+
type: import('vue').PropType<"left" | "right" | "top">;
|
|
160
160
|
default: string;
|
|
161
161
|
};
|
|
162
162
|
}>> & Readonly<{}>, {
|
|
@@ -186,7 +186,7 @@ declare const LibForm: {
|
|
|
186
186
|
default: boolean;
|
|
187
187
|
};
|
|
188
188
|
labelPosition: {
|
|
189
|
-
type: import('vue').PropType<"
|
|
189
|
+
type: import('vue').PropType<"left" | "right" | "top">;
|
|
190
190
|
default: string;
|
|
191
191
|
};
|
|
192
192
|
}>> & Readonly<{}>, {
|
|
@@ -213,7 +213,7 @@ declare const LibForm: {
|
|
|
213
213
|
default: boolean;
|
|
214
214
|
};
|
|
215
215
|
labelPosition: {
|
|
216
|
-
type: import('vue').PropType<"
|
|
216
|
+
type: import('vue').PropType<"left" | "right" | "top">;
|
|
217
217
|
default: string;
|
|
218
218
|
};
|
|
219
219
|
}>> & Readonly<{}>, {
|
|
@@ -242,7 +242,7 @@ declare const LibFormLabel: {
|
|
|
242
242
|
default: undefined;
|
|
243
243
|
};
|
|
244
244
|
labelPosition: {
|
|
245
|
-
type: import('vue').PropType<"
|
|
245
|
+
type: import('vue').PropType<"left" | "right" | "top">;
|
|
246
246
|
default: undefined;
|
|
247
247
|
};
|
|
248
248
|
prop: {
|
|
@@ -252,9 +252,7 @@ declare const LibFormLabel: {
|
|
|
252
252
|
type: import('vue').PropType<boolean>;
|
|
253
253
|
default: boolean;
|
|
254
254
|
};
|
|
255
|
-
}>> & Readonly<{}>, {
|
|
256
|
-
validateLabel: (callBack?: Function, eventName?: string) => Promise<void>;
|
|
257
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
255
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
258
256
|
width: number;
|
|
259
257
|
inline: boolean;
|
|
260
258
|
labelPosition: "top" | "left" | "right";
|
|
@@ -279,7 +277,7 @@ declare const LibFormLabel: {
|
|
|
279
277
|
default: undefined;
|
|
280
278
|
};
|
|
281
279
|
labelPosition: {
|
|
282
|
-
type: import('vue').PropType<"
|
|
280
|
+
type: import('vue').PropType<"left" | "right" | "top">;
|
|
283
281
|
default: undefined;
|
|
284
282
|
};
|
|
285
283
|
prop: {
|
|
@@ -289,9 +287,7 @@ declare const LibFormLabel: {
|
|
|
289
287
|
type: import('vue').PropType<boolean>;
|
|
290
288
|
default: boolean;
|
|
291
289
|
};
|
|
292
|
-
}>> & Readonly<{}>, {
|
|
293
|
-
validateLabel: (callBack?: Function, eventName?: string) => Promise<void>;
|
|
294
|
-
}, {}, {}, {}, {
|
|
290
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
295
291
|
width: number;
|
|
296
292
|
inline: boolean;
|
|
297
293
|
labelPosition: "top" | "left" | "right";
|
|
@@ -313,7 +309,7 @@ declare const LibFormLabel: {
|
|
|
313
309
|
default: undefined;
|
|
314
310
|
};
|
|
315
311
|
labelPosition: {
|
|
316
|
-
type: import('vue').PropType<"
|
|
312
|
+
type: import('vue').PropType<"left" | "right" | "top">;
|
|
317
313
|
default: undefined;
|
|
318
314
|
};
|
|
319
315
|
prop: {
|
|
@@ -323,9 +319,7 @@ declare const LibFormLabel: {
|
|
|
323
319
|
type: import('vue').PropType<boolean>;
|
|
324
320
|
default: boolean;
|
|
325
321
|
};
|
|
326
|
-
}>> & Readonly<{}>, {
|
|
327
|
-
validateLabel: (callBack?: Function, eventName?: string) => Promise<void>;
|
|
328
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
322
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
329
323
|
width: number;
|
|
330
324
|
inline: boolean;
|
|
331
325
|
labelPosition: "top" | "left" | "right";
|
|
@@ -840,15 +834,15 @@ declare const LibTableItem: {
|
|
|
840
834
|
label: {
|
|
841
835
|
type: import('vue').PropType<string | number>;
|
|
842
836
|
};
|
|
837
|
+
width: {
|
|
838
|
+
type: import('vue').PropType<string | number>;
|
|
839
|
+
};
|
|
843
840
|
type: {
|
|
844
841
|
type: import('vue').PropType<"default" | "index" | "selection" | "append" | "prepend">;
|
|
845
842
|
default: string;
|
|
846
843
|
};
|
|
847
844
|
fixed: {
|
|
848
|
-
type: import('vue').PropType<"
|
|
849
|
-
};
|
|
850
|
-
width: {
|
|
851
|
-
type: import('vue').PropType<string | number>;
|
|
845
|
+
type: import('vue').PropType<"left" | "right">;
|
|
852
846
|
};
|
|
853
847
|
index: {
|
|
854
848
|
type: import('vue').PropType<number>;
|
|
@@ -880,15 +874,15 @@ declare const LibTableItem: {
|
|
|
880
874
|
label: {
|
|
881
875
|
type: import('vue').PropType<string | number>;
|
|
882
876
|
};
|
|
877
|
+
width: {
|
|
878
|
+
type: import('vue').PropType<string | number>;
|
|
879
|
+
};
|
|
883
880
|
type: {
|
|
884
881
|
type: import('vue').PropType<"default" | "index" | "selection" | "append" | "prepend">;
|
|
885
882
|
default: string;
|
|
886
883
|
};
|
|
887
884
|
fixed: {
|
|
888
|
-
type: import('vue').PropType<"
|
|
889
|
-
};
|
|
890
|
-
width: {
|
|
891
|
-
type: import('vue').PropType<string | number>;
|
|
885
|
+
type: import('vue').PropType<"left" | "right">;
|
|
892
886
|
};
|
|
893
887
|
index: {
|
|
894
888
|
type: import('vue').PropType<number>;
|
|
@@ -917,15 +911,15 @@ declare const LibTableItem: {
|
|
|
917
911
|
label: {
|
|
918
912
|
type: import('vue').PropType<string | number>;
|
|
919
913
|
};
|
|
914
|
+
width: {
|
|
915
|
+
type: import('vue').PropType<string | number>;
|
|
916
|
+
};
|
|
920
917
|
type: {
|
|
921
918
|
type: import('vue').PropType<"default" | "index" | "selection" | "append" | "prepend">;
|
|
922
919
|
default: string;
|
|
923
920
|
};
|
|
924
921
|
fixed: {
|
|
925
|
-
type: import('vue').PropType<"
|
|
926
|
-
};
|
|
927
|
-
width: {
|
|
928
|
-
type: import('vue').PropType<string | number>;
|
|
922
|
+
type: import('vue').PropType<"left" | "right">;
|
|
929
923
|
};
|
|
930
924
|
index: {
|
|
931
925
|
type: import('vue').PropType<number>;
|
|
@@ -1032,6 +1026,10 @@ declare const LibDatePicker: import('vue').DefineComponent<import('vue').Extract
|
|
|
1032
1026
|
type: {
|
|
1033
1027
|
type: import('vue').PropType<string>;
|
|
1034
1028
|
};
|
|
1029
|
+
placeholder: {
|
|
1030
|
+
type: import('vue').PropType<string>;
|
|
1031
|
+
default: string;
|
|
1032
|
+
};
|
|
1035
1033
|
size: {
|
|
1036
1034
|
type: import('vue').PropType<"default" | "small" | "large" | "mini">;
|
|
1037
1035
|
default: string;
|
|
@@ -1047,10 +1045,6 @@ declare const LibDatePicker: import('vue').DefineComponent<import('vue').Extract
|
|
|
1047
1045
|
disabledDate: {
|
|
1048
1046
|
type: import('vue').PropType<(params: any) => boolean>;
|
|
1049
1047
|
};
|
|
1050
|
-
placeholder: {
|
|
1051
|
-
type: import('vue').PropType<string>;
|
|
1052
|
-
default: string;
|
|
1053
|
-
};
|
|
1054
1048
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1055
1049
|
change: (...args: any[]) => void;
|
|
1056
1050
|
"update:modelValue": (...args: any[]) => void;
|
|
@@ -1058,6 +1052,10 @@ declare const LibDatePicker: import('vue').DefineComponent<import('vue').Extract
|
|
|
1058
1052
|
type: {
|
|
1059
1053
|
type: import('vue').PropType<string>;
|
|
1060
1054
|
};
|
|
1055
|
+
placeholder: {
|
|
1056
|
+
type: import('vue').PropType<string>;
|
|
1057
|
+
default: string;
|
|
1058
|
+
};
|
|
1061
1059
|
size: {
|
|
1062
1060
|
type: import('vue').PropType<"default" | "small" | "large" | "mini">;
|
|
1063
1061
|
default: string;
|
|
@@ -1073,19 +1071,19 @@ declare const LibDatePicker: import('vue').DefineComponent<import('vue').Extract
|
|
|
1073
1071
|
disabledDate: {
|
|
1074
1072
|
type: import('vue').PropType<(params: any) => boolean>;
|
|
1075
1073
|
};
|
|
1076
|
-
placeholder: {
|
|
1077
|
-
type: import('vue').PropType<string>;
|
|
1078
|
-
default: string;
|
|
1079
|
-
};
|
|
1080
1074
|
}>> & Readonly<{
|
|
1081
1075
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1082
1076
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1083
1077
|
}>, {
|
|
1078
|
+
placeholder: string;
|
|
1084
1079
|
size: "large" | "default" | "small" | "mini";
|
|
1085
1080
|
disabled: boolean;
|
|
1086
|
-
placeholder: string;
|
|
1087
1081
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1088
1082
|
declare const LibDatePickerRange: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1083
|
+
width: {
|
|
1084
|
+
type: import('vue').PropType<string | number>;
|
|
1085
|
+
default: string;
|
|
1086
|
+
};
|
|
1089
1087
|
size: {
|
|
1090
1088
|
type: import('vue').PropType<"default" | "small" | "large" | "mini">;
|
|
1091
1089
|
default: string;
|
|
@@ -1099,13 +1097,24 @@ declare const LibDatePickerRange: import('vue').DefineComponent<import('vue').Ex
|
|
|
1099
1097
|
};
|
|
1100
1098
|
startPlaceholder: {
|
|
1101
1099
|
type: import('vue').PropType<string>;
|
|
1100
|
+
default: string;
|
|
1102
1101
|
};
|
|
1103
1102
|
endPlaceholder: {
|
|
1104
1103
|
type: import('vue').PropType<string>;
|
|
1104
|
+
default: string;
|
|
1105
|
+
};
|
|
1106
|
+
separetor: {
|
|
1107
|
+
type: import('vue').PropType<string>;
|
|
1108
|
+
default: string;
|
|
1105
1109
|
};
|
|
1106
1110
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1111
|
+
change: (...args: any[]) => void;
|
|
1107
1112
|
"update:modelValue": (...args: any[]) => void;
|
|
1108
1113
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1114
|
+
width: {
|
|
1115
|
+
type: import('vue').PropType<string | number>;
|
|
1116
|
+
default: string;
|
|
1117
|
+
};
|
|
1109
1118
|
size: {
|
|
1110
1119
|
type: import('vue').PropType<"default" | "small" | "large" | "mini">;
|
|
1111
1120
|
default: string;
|
|
@@ -1119,14 +1128,25 @@ declare const LibDatePickerRange: import('vue').DefineComponent<import('vue').Ex
|
|
|
1119
1128
|
};
|
|
1120
1129
|
startPlaceholder: {
|
|
1121
1130
|
type: import('vue').PropType<string>;
|
|
1131
|
+
default: string;
|
|
1122
1132
|
};
|
|
1123
1133
|
endPlaceholder: {
|
|
1124
1134
|
type: import('vue').PropType<string>;
|
|
1135
|
+
default: string;
|
|
1136
|
+
};
|
|
1137
|
+
separetor: {
|
|
1138
|
+
type: import('vue').PropType<string>;
|
|
1139
|
+
default: string;
|
|
1125
1140
|
};
|
|
1126
1141
|
}>> & Readonly<{
|
|
1142
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
1127
1143
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1128
1144
|
}>, {
|
|
1145
|
+
width: string | number;
|
|
1129
1146
|
size: "large" | "default" | "small" | "mini";
|
|
1147
|
+
startPlaceholder: string;
|
|
1148
|
+
endPlaceholder: string;
|
|
1149
|
+
separetor: string;
|
|
1130
1150
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1131
1151
|
declare const LibMenu: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1132
1152
|
menulist: {
|
|
@@ -1188,8 +1208,8 @@ declare const LibPagination: import('vue').DefineComponent<import('vue').Extract
|
|
|
1188
1208
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1189
1209
|
"size-change": (...args: any[]) => void;
|
|
1190
1210
|
"current-change": (...args: any[]) => void;
|
|
1191
|
-
"update:
|
|
1192
|
-
"update:
|
|
1211
|
+
"update:current-page": (...args: any[]) => void;
|
|
1212
|
+
"update:active-size": (...args: any[]) => void;
|
|
1193
1213
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1194
1214
|
sizeArr: {
|
|
1195
1215
|
type: import('vue').PropType<number[]>;
|
|
@@ -1221,8 +1241,8 @@ declare const LibPagination: import('vue').DefineComponent<import('vue').Extract
|
|
|
1221
1241
|
}>> & Readonly<{
|
|
1222
1242
|
"onSize-change"?: ((...args: any[]) => any) | undefined;
|
|
1223
1243
|
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
|
1224
|
-
"onUpdate:
|
|
1225
|
-
"onUpdate:
|
|
1244
|
+
"onUpdate:current-page"?: ((...args: any[]) => any) | undefined;
|
|
1245
|
+
"onUpdate:active-size"?: ((...args: any[]) => any) | undefined;
|
|
1226
1246
|
}>, {
|
|
1227
1247
|
hideOnSinglePage: boolean;
|
|
1228
1248
|
currentPage: number;
|
|
@@ -1241,7 +1261,7 @@ declare const LibBadge: {
|
|
|
1241
1261
|
default: number;
|
|
1242
1262
|
};
|
|
1243
1263
|
placement: {
|
|
1244
|
-
type: import('vue').PropType<"
|
|
1264
|
+
type: import('vue').PropType<"right" | "rightTop">;
|
|
1245
1265
|
default: string;
|
|
1246
1266
|
};
|
|
1247
1267
|
customClass: {
|
|
@@ -1267,7 +1287,7 @@ declare const LibBadge: {
|
|
|
1267
1287
|
default: number;
|
|
1268
1288
|
};
|
|
1269
1289
|
placement: {
|
|
1270
|
-
type: import('vue').PropType<"
|
|
1290
|
+
type: import('vue').PropType<"right" | "rightTop">;
|
|
1271
1291
|
default: string;
|
|
1272
1292
|
};
|
|
1273
1293
|
customClass: {
|
|
@@ -1290,7 +1310,7 @@ declare const LibBadge: {
|
|
|
1290
1310
|
default: number;
|
|
1291
1311
|
};
|
|
1292
1312
|
placement: {
|
|
1293
|
-
type: import('vue').PropType<"
|
|
1313
|
+
type: import('vue').PropType<"right" | "rightTop">;
|
|
1294
1314
|
default: string;
|
|
1295
1315
|
};
|
|
1296
1316
|
customClass: {
|
|
@@ -1306,6 +1326,9 @@ declare const LibBadge: {
|
|
|
1306
1326
|
});
|
|
1307
1327
|
declare const LibPopover: {
|
|
1308
1328
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
1329
|
+
width: {
|
|
1330
|
+
type: import('vue').PropType<string | number>;
|
|
1331
|
+
};
|
|
1309
1332
|
placement: {
|
|
1310
1333
|
type: import('vue').PropType<"topleft" | "topmiddle" | "topright" | "bottomleft" | "bottommiddle" | "bottomright" | "centerleft" | "centerright">;
|
|
1311
1334
|
default: string;
|
|
@@ -1313,9 +1336,6 @@ declare const LibPopover: {
|
|
|
1313
1336
|
modelValue: {
|
|
1314
1337
|
type: import('vue').PropType<boolean>;
|
|
1315
1338
|
};
|
|
1316
|
-
width: {
|
|
1317
|
-
type: import('vue').PropType<string | number>;
|
|
1318
|
-
};
|
|
1319
1339
|
beforebgcolor: {
|
|
1320
1340
|
type: import('vue').PropType<string>;
|
|
1321
1341
|
};
|
|
@@ -1333,6 +1353,10 @@ declare const LibPopover: {
|
|
|
1333
1353
|
type: import('vue').PropType<boolean>;
|
|
1334
1354
|
default: boolean;
|
|
1335
1355
|
};
|
|
1356
|
+
renderType: {
|
|
1357
|
+
type: import('vue').PropType<"show" | "if">;
|
|
1358
|
+
default: string;
|
|
1359
|
+
};
|
|
1336
1360
|
}>> & Readonly<{
|
|
1337
1361
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1338
1362
|
}>, {
|
|
@@ -1343,6 +1367,7 @@ declare const LibPopover: {
|
|
|
1343
1367
|
placement: "topleft" | "topmiddle" | "topright" | "bottomleft" | "bottommiddle" | "bottomright" | "centerleft" | "centerright";
|
|
1344
1368
|
trigger: "click" | "hover" | "native";
|
|
1345
1369
|
arrowshow: boolean;
|
|
1370
|
+
renderType: "show" | "if";
|
|
1346
1371
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
1347
1372
|
P: {};
|
|
1348
1373
|
B: {};
|
|
@@ -1351,6 +1376,9 @@ declare const LibPopover: {
|
|
|
1351
1376
|
M: {};
|
|
1352
1377
|
Defaults: {};
|
|
1353
1378
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
1379
|
+
width: {
|
|
1380
|
+
type: import('vue').PropType<string | number>;
|
|
1381
|
+
};
|
|
1354
1382
|
placement: {
|
|
1355
1383
|
type: import('vue').PropType<"topleft" | "topmiddle" | "topright" | "bottomleft" | "bottommiddle" | "bottomright" | "centerleft" | "centerright">;
|
|
1356
1384
|
default: string;
|
|
@@ -1358,9 +1386,6 @@ declare const LibPopover: {
|
|
|
1358
1386
|
modelValue: {
|
|
1359
1387
|
type: import('vue').PropType<boolean>;
|
|
1360
1388
|
};
|
|
1361
|
-
width: {
|
|
1362
|
-
type: import('vue').PropType<string | number>;
|
|
1363
|
-
};
|
|
1364
1389
|
beforebgcolor: {
|
|
1365
1390
|
type: import('vue').PropType<string>;
|
|
1366
1391
|
};
|
|
@@ -1378,6 +1403,10 @@ declare const LibPopover: {
|
|
|
1378
1403
|
type: import('vue').PropType<boolean>;
|
|
1379
1404
|
default: boolean;
|
|
1380
1405
|
};
|
|
1406
|
+
renderType: {
|
|
1407
|
+
type: import('vue').PropType<"show" | "if">;
|
|
1408
|
+
default: string;
|
|
1409
|
+
};
|
|
1381
1410
|
}>> & Readonly<{
|
|
1382
1411
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1383
1412
|
}>, {
|
|
@@ -1386,11 +1415,15 @@ declare const LibPopover: {
|
|
|
1386
1415
|
placement: "topleft" | "topmiddle" | "topright" | "bottomleft" | "bottommiddle" | "bottomright" | "centerleft" | "centerright";
|
|
1387
1416
|
trigger: "click" | "hover" | "native";
|
|
1388
1417
|
arrowshow: boolean;
|
|
1418
|
+
renderType: "show" | "if";
|
|
1389
1419
|
}>;
|
|
1390
1420
|
__isFragment?: never;
|
|
1391
1421
|
__isTeleport?: never;
|
|
1392
1422
|
__isSuspense?: never;
|
|
1393
1423
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
1424
|
+
width: {
|
|
1425
|
+
type: import('vue').PropType<string | number>;
|
|
1426
|
+
};
|
|
1394
1427
|
placement: {
|
|
1395
1428
|
type: import('vue').PropType<"topleft" | "topmiddle" | "topright" | "bottomleft" | "bottommiddle" | "bottomright" | "centerleft" | "centerright">;
|
|
1396
1429
|
default: string;
|
|
@@ -1398,9 +1431,6 @@ declare const LibPopover: {
|
|
|
1398
1431
|
modelValue: {
|
|
1399
1432
|
type: import('vue').PropType<boolean>;
|
|
1400
1433
|
};
|
|
1401
|
-
width: {
|
|
1402
|
-
type: import('vue').PropType<string | number>;
|
|
1403
|
-
};
|
|
1404
1434
|
beforebgcolor: {
|
|
1405
1435
|
type: import('vue').PropType<string>;
|
|
1406
1436
|
};
|
|
@@ -1418,6 +1448,10 @@ declare const LibPopover: {
|
|
|
1418
1448
|
type: import('vue').PropType<boolean>;
|
|
1419
1449
|
default: boolean;
|
|
1420
1450
|
};
|
|
1451
|
+
renderType: {
|
|
1452
|
+
type: import('vue').PropType<"show" | "if">;
|
|
1453
|
+
default: string;
|
|
1454
|
+
};
|
|
1421
1455
|
}>> & Readonly<{
|
|
1422
1456
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1423
1457
|
}>, {
|
|
@@ -1428,6 +1462,7 @@ declare const LibPopover: {
|
|
|
1428
1462
|
placement: "topleft" | "topmiddle" | "topright" | "bottomleft" | "bottommiddle" | "bottomright" | "centerleft" | "centerright";
|
|
1429
1463
|
trigger: "click" | "hover" | "native";
|
|
1430
1464
|
arrowshow: boolean;
|
|
1465
|
+
renderType: "show" | "if";
|
|
1431
1466
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
1432
1467
|
$slots: {
|
|
1433
1468
|
reference?(_: {}): any;
|
|
@@ -1762,6 +1797,10 @@ declare const LibUpload: {
|
|
|
1762
1797
|
type: import('vue').PropType<boolean>;
|
|
1763
1798
|
default: boolean;
|
|
1764
1799
|
};
|
|
1800
|
+
draggable: {
|
|
1801
|
+
type: import('vue').PropType<boolean>;
|
|
1802
|
+
default: boolean;
|
|
1803
|
+
};
|
|
1765
1804
|
}>> & Readonly<{
|
|
1766
1805
|
onGetNewFile?: ((...args: any[]) => any) | undefined;
|
|
1767
1806
|
onDelOldFile?: ((...args: any[]) => any) | undefined;
|
|
@@ -1775,6 +1814,7 @@ declare const LibUpload: {
|
|
|
1775
1814
|
accept: string;
|
|
1776
1815
|
showFileList: boolean;
|
|
1777
1816
|
multiple: boolean;
|
|
1817
|
+
draggable: boolean;
|
|
1778
1818
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
1779
1819
|
P: {};
|
|
1780
1820
|
B: {};
|
|
@@ -1805,6 +1845,10 @@ declare const LibUpload: {
|
|
|
1805
1845
|
type: import('vue').PropType<boolean>;
|
|
1806
1846
|
default: boolean;
|
|
1807
1847
|
};
|
|
1848
|
+
draggable: {
|
|
1849
|
+
type: import('vue').PropType<boolean>;
|
|
1850
|
+
default: boolean;
|
|
1851
|
+
};
|
|
1808
1852
|
}>> & Readonly<{
|
|
1809
1853
|
onGetNewFile?: ((...args: any[]) => any) | undefined;
|
|
1810
1854
|
onDelOldFile?: ((...args: any[]) => any) | undefined;
|
|
@@ -1815,6 +1859,7 @@ declare const LibUpload: {
|
|
|
1815
1859
|
accept: string;
|
|
1816
1860
|
showFileList: boolean;
|
|
1817
1861
|
multiple: boolean;
|
|
1862
|
+
draggable: boolean;
|
|
1818
1863
|
}>;
|
|
1819
1864
|
__isFragment?: never;
|
|
1820
1865
|
__isTeleport?: never;
|
|
@@ -1842,6 +1887,10 @@ declare const LibUpload: {
|
|
|
1842
1887
|
type: import('vue').PropType<boolean>;
|
|
1843
1888
|
default: boolean;
|
|
1844
1889
|
};
|
|
1890
|
+
draggable: {
|
|
1891
|
+
type: import('vue').PropType<boolean>;
|
|
1892
|
+
default: boolean;
|
|
1893
|
+
};
|
|
1845
1894
|
}>> & Readonly<{
|
|
1846
1895
|
onGetNewFile?: ((...args: any[]) => any) | undefined;
|
|
1847
1896
|
onDelOldFile?: ((...args: any[]) => any) | undefined;
|
|
@@ -1855,6 +1904,7 @@ declare const LibUpload: {
|
|
|
1855
1904
|
accept: string;
|
|
1856
1905
|
showFileList: boolean;
|
|
1857
1906
|
multiple: boolean;
|
|
1907
|
+
draggable: boolean;
|
|
1858
1908
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
1859
1909
|
$slots: {
|
|
1860
1910
|
default?(_: {}): any;
|
|
@@ -2039,6 +2089,9 @@ declare const LibScrollBar: {
|
|
|
2039
2089
|
});
|
|
2040
2090
|
declare const LibCarousel: {
|
|
2041
2091
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
2092
|
+
width: {
|
|
2093
|
+
type: import('vue').PropType<string | number>;
|
|
2094
|
+
};
|
|
2042
2095
|
height: {
|
|
2043
2096
|
type: import('vue').PropType<number>;
|
|
2044
2097
|
};
|
|
@@ -2061,6 +2114,9 @@ declare const LibCarousel: {
|
|
|
2061
2114
|
M: {};
|
|
2062
2115
|
Defaults: {};
|
|
2063
2116
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
2117
|
+
width: {
|
|
2118
|
+
type: import('vue').PropType<string | number>;
|
|
2119
|
+
};
|
|
2064
2120
|
height: {
|
|
2065
2121
|
type: import('vue').PropType<number>;
|
|
2066
2122
|
};
|
|
@@ -2080,6 +2136,9 @@ declare const LibCarousel: {
|
|
|
2080
2136
|
__isTeleport?: never;
|
|
2081
2137
|
__isSuspense?: never;
|
|
2082
2138
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
2139
|
+
width: {
|
|
2140
|
+
type: import('vue').PropType<string | number>;
|
|
2141
|
+
};
|
|
2083
2142
|
height: {
|
|
2084
2143
|
type: import('vue').PropType<number>;
|
|
2085
2144
|
};
|
|
@@ -2119,6 +2178,14 @@ declare const LibCarouselItem: {
|
|
|
2119
2178
|
};
|
|
2120
2179
|
});
|
|
2121
2180
|
declare const LibSwitch: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2181
|
+
width: {
|
|
2182
|
+
type: import('vue').PropType<string | number>;
|
|
2183
|
+
default: string;
|
|
2184
|
+
};
|
|
2185
|
+
height: {
|
|
2186
|
+
type: import('vue').PropType<string | number>;
|
|
2187
|
+
default: string;
|
|
2188
|
+
};
|
|
2122
2189
|
modelValue: {
|
|
2123
2190
|
type: import('vue').PropType<boolean>;
|
|
2124
2191
|
required: true;
|
|
@@ -2142,6 +2209,14 @@ declare const LibSwitch: import('vue').DefineComponent<import('vue').ExtractProp
|
|
|
2142
2209
|
"update:modelValue": (...args: any[]) => void;
|
|
2143
2210
|
switchChange: (...args: any[]) => void;
|
|
2144
2211
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
2212
|
+
width: {
|
|
2213
|
+
type: import('vue').PropType<string | number>;
|
|
2214
|
+
default: string;
|
|
2215
|
+
};
|
|
2216
|
+
height: {
|
|
2217
|
+
type: import('vue').PropType<string | number>;
|
|
2218
|
+
default: string;
|
|
2219
|
+
};
|
|
2145
2220
|
modelValue: {
|
|
2146
2221
|
type: import('vue').PropType<boolean>;
|
|
2147
2222
|
required: true;
|
|
@@ -2165,6 +2240,8 @@ declare const LibSwitch: import('vue').DefineComponent<import('vue').ExtractProp
|
|
|
2165
2240
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2166
2241
|
onSwitchChange?: ((...args: any[]) => any) | undefined;
|
|
2167
2242
|
}>, {
|
|
2243
|
+
width: string | number;
|
|
2244
|
+
height: string | number;
|
|
2168
2245
|
modelValue: boolean;
|
|
2169
2246
|
checkedColor: string;
|
|
2170
2247
|
uncheckedColor: string;
|
|
@@ -2196,6 +2273,7 @@ declare module '@vue/runtime-core' {
|
|
|
2196
2273
|
LibTable: typeof LibTable;
|
|
2197
2274
|
LibTableItem: typeof LibTableItem;
|
|
2198
2275
|
LibImage: typeof LibImage;
|
|
2276
|
+
LibDatePicker: typeof LibDatePicker;
|
|
2199
2277
|
LibDatePickerRange: typeof LibDatePickerRange;
|
|
2200
2278
|
LibMenu: typeof LibMenu;
|
|
2201
2279
|
LibPagination: typeof LibPagination;
|
package/dist/index.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { Q, D, S, T, J, I, x, y, L, m, n, w, p, R, A, P, F, B, E, G, H, O, q, r, U, t, v, M, N, K, a, i, b, c, V, h, d, l } from "./js/index/index.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
Q as LibAlert,
|
|
5
|
+
D as LibBadge,
|
|
6
|
+
S as LibCarousel,
|
|
7
|
+
T as LibCarouselItem,
|
|
8
|
+
J as LibCheckBox,
|
|
9
|
+
I as LibCheckGroup,
|
|
10
10
|
x as LibDatePicker,
|
|
11
11
|
y as LibDatePickerRange,
|
|
12
12
|
L as LibDialog,
|
|
@@ -14,28 +14,28 @@ export {
|
|
|
14
14
|
n as LibFormLabel,
|
|
15
15
|
w as LibImage,
|
|
16
16
|
p as LibInput,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
17
|
+
R as LibLoad,
|
|
18
|
+
A as LibMenu,
|
|
19
|
+
P as LibMessage,
|
|
20
|
+
F as LibNumberInput,
|
|
21
|
+
B as LibPagination,
|
|
22
|
+
E as LibPopover,
|
|
23
|
+
G as LibRadioBox,
|
|
24
|
+
H as LibRadioGroup,
|
|
25
|
+
O as LibScrollBar,
|
|
26
26
|
q as LibSelect,
|
|
27
27
|
r as LibSelectOption,
|
|
28
|
-
|
|
28
|
+
U as LibSwitch,
|
|
29
29
|
t as LibTable,
|
|
30
30
|
v as LibTableItem,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
M as LibTabs,
|
|
32
|
+
N as LibTabsPane,
|
|
33
|
+
K as LibUpload,
|
|
34
34
|
a as createArrowKeysDirective,
|
|
35
35
|
i as createBgClickDirective,
|
|
36
36
|
b as createDraggableDirective,
|
|
37
37
|
c as createEscapeDirective,
|
|
38
|
-
|
|
38
|
+
V as createLoadingDirective,
|
|
39
39
|
h as createScrollDirective,
|
|
40
40
|
d as createWheelDirective,
|
|
41
41
|
l as default
|
package/dist/js/arrow/arrow.js
CHANGED
|
@@ -7,9 +7,9 @@ const _hoisted_1 = {
|
|
|
7
7
|
xmlns: "http://www.w3.org/2000/svg"
|
|
8
8
|
};
|
|
9
9
|
function _sfc_render(_ctx, _cache) {
|
|
10
|
-
return openBlock(), createElementBlock("svg", _hoisted_1, _cache[0] || (_cache[0] = [
|
|
10
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
|
|
11
11
|
createElementVNode("path", { d: "M320 885.333333c-8.533333 0-17.066667-4.266667-23.466667-10.666666-12.8-12.8-10.666667-34.133333 2.133334-44.8L654.933333 512 298.666667 194.133333c-12.8-10.666667-14.933333-32-2.133334-44.8 10.666667-12.8 32-14.933333 44.8-2.133333l384 341.333333c6.4 6.4 10.666667 14.933333 10.666667 23.466667 0 8.533333-4.266667 17.066667-10.666667 23.466667l-384 341.333333c-6.4 6.4-12.8 8.533333-21.333333 8.533333z" }, null, -1)
|
|
12
|
-
]));
|
|
12
|
+
])]);
|
|
13
13
|
}
|
|
14
14
|
const ArrowIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
15
15
|
export {
|
package/dist/js/badge/badge.js
CHANGED
|
@@ -26,7 +26,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
26
|
return openBlock(), createElementBlock("span", _hoisted_1, [
|
|
27
27
|
renderSlot(_ctx.$slots, "default"),
|
|
28
28
|
withDirectives(createElementVNode("sup", {
|
|
29
|
-
class: normalizeClass(["absolute inline-block -right-1 translate-x-full transform rounded-lg bg-red-500 px-1.5 py-px text-xs text-white", [unref(classSet)[
|
|
29
|
+
class: normalizeClass(["absolute inline-block -right-1 translate-x-full transform rounded-lg bg-red-500 px-1.5 py-px text-xs text-white", [unref(classSet)[__props.placement], __props.customClass]])
|
|
30
30
|
}, toDisplayString(mark.value), 3), [
|
|
31
31
|
[vShow, showMark.value]
|
|
32
32
|
])
|