@airpower/web 0.2.32 → 0.2.34
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/button/Button.vue.d.ts +9 -0
- package/dist/components/form/FormField.vue.d.ts +3 -3
- package/dist/components/input/Input.vue.d.ts +3 -3
- package/dist/components/page/Page.vue.d.ts +1 -1
- package/dist/components/panel/Panel.vue.d.ts +3 -2
- package/dist/components/payload/Payload.vue.d.ts +2 -2
- package/dist/components/select/Select.vue.d.ts +2 -2
- package/dist/components/table/Table.vue.d.ts +1 -0
- package/dist/decorator/@Table/ITableColumn.d.ts +11 -2
- package/dist/i18n/WebI18n.d.ts +1 -0
- package/dist/main.js +183 -162
- package/dist/model/query/QueryRequest.d.ts +2 -2
- package/dist/web.css +33 -36
- package/package.json +1 -1
- package/dist/components/table/useTableSelect.d.ts +0 -24
|
@@ -16,9 +16,9 @@ export declare class QueryRequest<E extends RootEntity = RootEntity> extends Tra
|
|
|
16
16
|
sort?: QuerySort;
|
|
17
17
|
/**
|
|
18
18
|
* ### 初始化一个请求类
|
|
19
|
-
* @param
|
|
19
|
+
* @param FilterClass 如传入 `filter` 的类 将自动初始化一个空 `filter`
|
|
20
20
|
*/
|
|
21
|
-
constructor(
|
|
21
|
+
constructor(FilterClass: ITransformerConstructor<E>);
|
|
22
22
|
/**
|
|
23
23
|
* ### 设置排序对象
|
|
24
24
|
* @param sort 排序对象
|
package/dist/web.css
CHANGED
|
@@ -438,22 +438,18 @@ textarea {
|
|
|
438
438
|
100% {
|
|
439
439
|
transform: rotate(360deg);
|
|
440
440
|
}
|
|
441
|
-
}.a-copy[data-v-
|
|
441
|
+
}.a-copy[data-v-8fcdb586] {
|
|
442
442
|
font-size: inherit;
|
|
443
443
|
color: inherit;
|
|
444
444
|
display: flex;
|
|
445
445
|
flex-direction: row;
|
|
446
446
|
align-items: center;
|
|
447
447
|
}
|
|
448
|
-
.a-copy[data-v-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
.a-
|
|
452
|
-
|
|
453
|
-
padding: 0;
|
|
454
|
-
font-weight: bold;
|
|
455
|
-
}.a-friend-datetime[data-v-58479ad6],
|
|
456
|
-
.a-friend-datetime[data-v-58479ad6] * {
|
|
448
|
+
.a-copy[data-v-8fcdb586] .el-link {
|
|
449
|
+
overflow: hidden;
|
|
450
|
+
text-overflow: ellipsis;
|
|
451
|
+
}.a-friend-datetime[data-v-5a914a85],
|
|
452
|
+
.a-friend-datetime[data-v-5a914a85] * {
|
|
457
453
|
user-select: none !important;
|
|
458
454
|
}.a-desensitize[data-v-30bf4899] {
|
|
459
455
|
display: flex !important;
|
|
@@ -1013,14 +1009,14 @@ textarea {
|
|
|
1013
1009
|
.web-page-panel-box .web-page-jumper {
|
|
1014
1010
|
display: flex;
|
|
1015
1011
|
flex-direction: row;
|
|
1016
|
-
}.web-panel[data-v-
|
|
1012
|
+
}.web-panel[data-v-0e2438c7] {
|
|
1017
1013
|
display: flex;
|
|
1018
1014
|
flex: 1;
|
|
1019
1015
|
flex-direction: column;
|
|
1020
1016
|
background: white;
|
|
1021
1017
|
border-radius: 4px;
|
|
1022
1018
|
}
|
|
1023
|
-
.web-panel .panel-header[data-v-
|
|
1019
|
+
.web-panel .panel-header[data-v-0e2438c7] {
|
|
1024
1020
|
display: flex;
|
|
1025
1021
|
flex-direction: row;
|
|
1026
1022
|
align-items: center;
|
|
@@ -1028,41 +1024,41 @@ textarea {
|
|
|
1028
1024
|
padding: 10px 15px;
|
|
1029
1025
|
user-select: none;
|
|
1030
1026
|
}
|
|
1031
|
-
.web-panel .panel-header .panel-left[data-v-
|
|
1027
|
+
.web-panel .panel-header .panel-left[data-v-0e2438c7] {
|
|
1032
1028
|
display: flex;
|
|
1033
1029
|
flex-direction: row;
|
|
1034
1030
|
align-items: center;
|
|
1035
1031
|
flex: 1;
|
|
1036
1032
|
width: 0;
|
|
1037
1033
|
}
|
|
1038
|
-
.web-panel .panel-header .panel-left .panel-icon[data-v-
|
|
1034
|
+
.web-panel .panel-header .panel-left .panel-icon[data-v-0e2438c7] {
|
|
1039
1035
|
font-size: 20px;
|
|
1040
1036
|
color: var(--el-color-primary);
|
|
1041
1037
|
display: flex;
|
|
1042
1038
|
flex-direction: row;
|
|
1043
1039
|
align-items: center;
|
|
1044
1040
|
}
|
|
1045
|
-
.web-panel .panel-header .panel-left .panel-title[data-v-
|
|
1041
|
+
.web-panel .panel-header .panel-left .panel-title[data-v-0e2438c7] {
|
|
1046
1042
|
font-size: 16px;
|
|
1047
1043
|
color: #333;
|
|
1048
1044
|
font-weight: bold;
|
|
1049
1045
|
margin-left: 3px;
|
|
1050
1046
|
}
|
|
1051
|
-
.web-panel .panel-header .panel-right[data-v-
|
|
1047
|
+
.web-panel .panel-header .panel-right[data-v-0e2438c7] {
|
|
1052
1048
|
color: #aaa;
|
|
1053
1049
|
font-size: 14px;
|
|
1054
1050
|
}
|
|
1055
|
-
.web-panel .panel-header .panel-right .panel-full[data-v-
|
|
1051
|
+
.web-panel .panel-header .panel-right .panel-full[data-v-0e2438c7] {
|
|
1056
1052
|
font-size: 20px;
|
|
1057
1053
|
cursor: pointer;
|
|
1058
1054
|
font-weight: bold;
|
|
1059
1055
|
margin: -5px 0px;
|
|
1060
1056
|
transition: all 0.3s;
|
|
1061
1057
|
}
|
|
1062
|
-
.web-panel .panel-header .panel-right .panel-full[data-v-
|
|
1058
|
+
.web-panel .panel-header .panel-right .panel-full[data-v-0e2438c7]:hover {
|
|
1063
1059
|
color: var(--primary-color);
|
|
1064
1060
|
}
|
|
1065
|
-
.web-panel .panel-body[data-v-
|
|
1061
|
+
.web-panel .panel-body[data-v-0e2438c7] {
|
|
1066
1062
|
display: flex;
|
|
1067
1063
|
flex: 1;
|
|
1068
1064
|
flex-direction: column;
|
|
@@ -1072,17 +1068,17 @@ textarea {
|
|
|
1072
1068
|
padding: 10px;
|
|
1073
1069
|
position: relative;
|
|
1074
1070
|
}
|
|
1075
|
-
.web-panel .panel-footer[data-v-
|
|
1071
|
+
.web-panel .panel-footer[data-v-0e2438c7] {
|
|
1076
1072
|
padding: 0 10px 10px 10px;
|
|
1077
1073
|
display: flex;
|
|
1078
1074
|
flex-direction: row;
|
|
1079
1075
|
}
|
|
1080
|
-
.web-panel .panel-footer .panel-footer-left[data-v-
|
|
1076
|
+
.web-panel .panel-footer .panel-footer-left[data-v-0e2438c7] {
|
|
1081
1077
|
flex-direction: row;
|
|
1082
1078
|
justify-content: flex-start;
|
|
1083
1079
|
align-items: center;
|
|
1084
1080
|
}
|
|
1085
|
-
.web-panel .panel-footer .panel-footer-right[data-v-
|
|
1081
|
+
.web-panel .panel-footer .panel-footer-right[data-v-0e2438c7] {
|
|
1086
1082
|
flex: 1;
|
|
1087
1083
|
width: 0;
|
|
1088
1084
|
display: flex;
|
|
@@ -1090,7 +1086,7 @@ textarea {
|
|
|
1090
1086
|
justify-content: flex-end;
|
|
1091
1087
|
align-items: center;
|
|
1092
1088
|
}
|
|
1093
|
-
.fullscreen[data-v-
|
|
1089
|
+
.fullscreen[data-v-0e2438c7] {
|
|
1094
1090
|
position: fixed !important;
|
|
1095
1091
|
left: 0;
|
|
1096
1092
|
right: 0;
|
|
@@ -1174,18 +1170,23 @@ textarea {
|
|
|
1174
1170
|
}
|
|
1175
1171
|
::v-deep(.a-dialog) .main {
|
|
1176
1172
|
min-height: 200px !important;
|
|
1177
|
-
}.a-
|
|
1173
|
+
}.a-payload[data-v-5bc31d32] {
|
|
1174
|
+
overflow: hidden;
|
|
1175
|
+
text-overflow: ellipsis;
|
|
1176
|
+
white-space: normal;
|
|
1177
|
+
word-break: keep-all;
|
|
1178
|
+
}.a-phone-call__content[data-v-290e6561] {
|
|
1178
1179
|
display: flex;
|
|
1179
1180
|
align-items: center;
|
|
1180
1181
|
justify-content: center;
|
|
1181
1182
|
flex-direction: column;
|
|
1182
1183
|
}
|
|
1183
|
-
.a-phone-call__content .phone[data-v-
|
|
1184
|
+
.a-phone-call__content .phone[data-v-290e6561] {
|
|
1184
1185
|
font-size: 18px;
|
|
1185
1186
|
margin-top: 10px;
|
|
1186
1187
|
font-weight: bold;
|
|
1187
1188
|
}
|
|
1188
|
-
.a-phone-call__content > span[data-v-
|
|
1189
|
+
.a-phone-call__content > span[data-v-290e6561] {
|
|
1189
1190
|
font-size: 12px;
|
|
1190
1191
|
color: var(--text-danger-color);
|
|
1191
1192
|
margin-top: 10px;
|
|
@@ -1194,7 +1195,7 @@ textarea {
|
|
|
1194
1195
|
align-items: center;
|
|
1195
1196
|
justify-content: center;
|
|
1196
1197
|
}
|
|
1197
|
-
.a-phone-call__content > span .icon[data-v-
|
|
1198
|
+
.a-phone-call__content > span .icon[data-v-290e6561] {
|
|
1198
1199
|
margin-right: 3px;
|
|
1199
1200
|
}.a-phone[data-v-7f508993] {
|
|
1200
1201
|
display: flex;
|
|
@@ -1233,10 +1234,7 @@ textarea {
|
|
|
1233
1234
|
height: 0;
|
|
1234
1235
|
overflow: hidden;
|
|
1235
1236
|
overflow-y: auto;
|
|
1236
|
-
}.
|
|
1237
|
-
position: relative;
|
|
1238
|
-
}
|
|
1239
|
-
.el-check-tag[data-v-dbd88409] {
|
|
1237
|
+
}.el-check-tag[data-v-b290585a] {
|
|
1240
1238
|
font-weight: normal !important;
|
|
1241
1239
|
user-select: none;
|
|
1242
1240
|
font-size: 13px;
|
|
@@ -1244,7 +1242,7 @@ textarea {
|
|
|
1244
1242
|
margin-bottom: 5px;
|
|
1245
1243
|
padding: 4px 10px;
|
|
1246
1244
|
}
|
|
1247
|
-
.a-field-selector-bg[data-v-
|
|
1245
|
+
.a-field-selector-bg[data-v-b290585a] {
|
|
1248
1246
|
position: fixed;
|
|
1249
1247
|
left: 0;
|
|
1250
1248
|
right: 0;
|
|
@@ -1253,7 +1251,7 @@ textarea {
|
|
|
1253
1251
|
background-color: rgba(0, 0, 0, 0.1);
|
|
1254
1252
|
z-index: 9999999;
|
|
1255
1253
|
}
|
|
1256
|
-
.a-field-selector-dialog[data-v-
|
|
1254
|
+
.a-field-selector-dialog[data-v-b290585a] {
|
|
1257
1255
|
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
|
|
1258
1256
|
position: absolute;
|
|
1259
1257
|
right: 0;
|
|
@@ -1266,13 +1264,13 @@ textarea {
|
|
|
1266
1264
|
overflow: hidden;
|
|
1267
1265
|
z-index: 99999991;
|
|
1268
1266
|
}
|
|
1269
|
-
.a-field-selector-dialog .a-field-selector-title[data-v-
|
|
1267
|
+
.a-field-selector-dialog .a-field-selector-title[data-v-b290585a] {
|
|
1270
1268
|
margin-bottom: 10px;
|
|
1271
1269
|
border-bottom: 1px solid var(--el-color-primary-light-9);
|
|
1272
1270
|
padding: 8px 16px;
|
|
1273
1271
|
font-size: 15px;
|
|
1274
1272
|
}
|
|
1275
|
-
.a-field-selector-dialog .a-field-selector-list[data-v-
|
|
1273
|
+
.a-field-selector-dialog .a-field-selector-list[data-v-b290585a] {
|
|
1276
1274
|
padding: 5px 15px 10px 15px;
|
|
1277
1275
|
display: flex;
|
|
1278
1276
|
flex-wrap: wrap;
|
|
@@ -1404,7 +1402,6 @@ textarea {
|
|
|
1404
1402
|
}
|
|
1405
1403
|
.a-table-container .a-table .ctrlRow {
|
|
1406
1404
|
display: flex;
|
|
1407
|
-
padding-right: 8px;
|
|
1408
1405
|
}
|
|
1409
1406
|
.a-table-container .a-table .ctrlRow .el-link {
|
|
1410
1407
|
user-select: none;
|
package/package.json
CHANGED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { TableInstance } from 'element-plus';
|
|
2
|
-
import { Ref } from 'vue';
|
|
3
|
-
import { RootEntity } from '../../model/RootEntity';
|
|
4
|
-
/**
|
|
5
|
-
* ### 表格多选
|
|
6
|
-
*
|
|
7
|
-
* @author Hamm.cn
|
|
8
|
-
*/
|
|
9
|
-
export declare function useTableSelect<E extends RootEntity>(params: {
|
|
10
|
-
/**
|
|
11
|
-
* ### 表格实例
|
|
12
|
-
*/
|
|
13
|
-
tableInstance: Ref<TableInstance | undefined>;
|
|
14
|
-
/**
|
|
15
|
-
* ### 数据列表
|
|
16
|
-
*/
|
|
17
|
-
dataList: Array<E>;
|
|
18
|
-
/**
|
|
19
|
-
* ### 选中列表
|
|
20
|
-
*/
|
|
21
|
-
selectList: Array<E>;
|
|
22
|
-
}): {
|
|
23
|
-
toggleSelection: () => void;
|
|
24
|
-
};
|