@acorex/platform 20.3.0-next.7 → 20.3.0-next.9
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/common/index.d.ts +0 -2
- package/core/index.d.ts +386 -47
- package/fesm2022/acorex-platform-common.mjs +5 -10
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +427 -125
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +422 -26
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +1843 -111
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +19 -12
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +463 -510
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +23 -15
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-BXbkGGei.mjs → acorex-platform-themes-default-entity-master-create-view.component-Ct-ri59W.mjs} +3 -3
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Ct-ri59W.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-gQIK6PIx.mjs → acorex-platform-themes-default-entity-master-list-view.component-7BB4LdjK.mjs} +9 -9
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-7BB4LdjK.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BDJR088o.mjs +101 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BDJR088o.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +8 -8
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-KpZWpnOJ.mjs → acorex-platform-themes-shared-icon-chooser-view.component-BgEh06Tn.mjs} +21 -11
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-BgEh06Tn.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-CXiRmniv.mjs → acorex-platform-themes-shared-settings.provider-CLUKU4y0.mjs} +2 -2
- package/fesm2022/acorex-platform-themes-shared-settings.provider-CLUKU4y0.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-column.component-BvOiVCgt.mjs → acorex-platform-themes-shared-theme-color-chooser-column.component-AeOQxjbS.mjs} +20 -5
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-AeOQxjbS.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-view.component-BW0rfkjk.mjs → acorex-platform-themes-shared-theme-color-chooser-view.component-DEVzRd6-.mjs} +20 -5
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-DEVzRd6-.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +205 -38
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-C-4bWr9G.mjs → acorex-platform-widgets-checkbox-widget-view.component-KYCQ2qTJ.mjs} +51 -35
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-KYCQ2qTJ.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-file-list-popup.component-rW2RD35f.mjs → acorex-platform-widgets-file-list-popup.component-Cmtq2bBV.mjs} +3 -3
- package/fesm2022/acorex-platform-widgets-file-list-popup.component-Cmtq2bBV.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-DNvnQ4Mc.mjs → acorex-platform-widgets-page-widget-designer.component-D8ivmxzT.mjs} +2 -2
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-D8ivmxzT.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-CPVRbE8B.mjs → acorex-platform-widgets-tabular-data-edit-popup.component-CMqq_iOj.mjs} +8 -8
- package/fesm2022/acorex-platform-widgets-tabular-data-edit-popup.component-CMqq_iOj.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets.mjs +4590 -5073
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/layout/builder/index.d.ts +62 -8
- package/layout/components/index.d.ts +780 -54
- package/layout/designer/index.d.ts +4 -2
- package/layout/entity/index.d.ts +53 -10
- package/package.json +9 -9
- package/widgets/index.d.ts +1441 -433
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-BXbkGGei.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-gQIK6PIx.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-Bp1JLsj1.mjs +0 -101
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-Bp1JLsj1.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-KpZWpnOJ.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-CXiRmniv.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-BvOiVCgt.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BW0rfkjk.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C-4bWr9G.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-file-list-popup.component-rW2RD35f.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-DNvnQ4Mc.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-tabular-data-edit-popup.component-CPVRbE8B.mjs.map +0 -1
|
@@ -1027,6 +1027,98 @@ const AXPAppStartUpProvider = provideAppInitializer(() => {
|
|
|
1027
1027
|
return initializerFn();
|
|
1028
1028
|
});
|
|
1029
1029
|
|
|
1030
|
+
/**
|
|
1031
|
+
* Additional suggested generic actions for future consideration:
|
|
1032
|
+
*
|
|
1033
|
+
* Data & Content Actions:
|
|
1034
|
+
* - Search = 'search' - Search functionality
|
|
1035
|
+
* - Filter = 'filter' - Apply filters
|
|
1036
|
+
* - Sort = 'sort' - Sort data
|
|
1037
|
+
* - Group = 'group' - Group data
|
|
1038
|
+
* - Expand = 'expand' - Expand details
|
|
1039
|
+
* - Collapse = 'collapse' - Collapse details
|
|
1040
|
+
* - Pin = 'pin' - Pin to favorites
|
|
1041
|
+
* - Bookmark = 'bookmark' - Bookmark item
|
|
1042
|
+
* - Favorite = 'favorite' - Mark as favorite
|
|
1043
|
+
* - Star = 'star' - Star rating
|
|
1044
|
+
*
|
|
1045
|
+
* Workflow Actions:
|
|
1046
|
+
* - Start = 'start' - Start process/workflow
|
|
1047
|
+
* - Stop = 'stop' - Stop process
|
|
1048
|
+
* - Pause = 'pause' - Pause process
|
|
1049
|
+
* - Resume = 'resume' - Resume process
|
|
1050
|
+
* - Cancel = 'cancel' - Cancel operation
|
|
1051
|
+
* - Complete = 'complete' - Mark as complete
|
|
1052
|
+
* - Close = 'close' - Close item
|
|
1053
|
+
* - Reopen = 'reopen' - Reopen closed item
|
|
1054
|
+
* - Forward = 'forward' - Forward to next step
|
|
1055
|
+
* - Back = 'back' - Go back
|
|
1056
|
+
*
|
|
1057
|
+
* Communication Actions:
|
|
1058
|
+
* - Reply = 'reply' - Reply to message
|
|
1059
|
+
* - Forward = 'forward' - Forward message
|
|
1060
|
+
* - Notify = 'notify' - Send notification
|
|
1061
|
+
* - Invite = 'invite' - Invite user
|
|
1062
|
+
* - Join = 'join' - Join group/meeting
|
|
1063
|
+
* - Leave = 'leave' - Leave group/meeting
|
|
1064
|
+
*
|
|
1065
|
+
* Security Actions:
|
|
1066
|
+
* - Login = 'login' - User login
|
|
1067
|
+
* - Logout = 'logout' - User logout
|
|
1068
|
+
* - Block = 'block' - Block user/content
|
|
1069
|
+
* - Unblock = 'unblock' - Unblock user/content
|
|
1070
|
+
* - Ban = 'ban' - Ban user
|
|
1071
|
+
* - Unban = 'unban' - Unban user
|
|
1072
|
+
* - Verify = 'verify' - Verify identity
|
|
1073
|
+
* - Authenticate = 'authenticate' - Authenticate
|
|
1074
|
+
*
|
|
1075
|
+
* File & Media Actions:
|
|
1076
|
+
* - Open = 'open' - Open file
|
|
1077
|
+
* - Save = 'save' - Save file
|
|
1078
|
+
* - SaveAs = 'save-as' - Save as new file
|
|
1079
|
+
* - Attach = 'attach' - Attach file
|
|
1080
|
+
* - Detach = 'detach' - Detach file
|
|
1081
|
+
* - Compress = 'compress' - Compress files
|
|
1082
|
+
* - Extract = 'extract' - Extract archive
|
|
1083
|
+
* - Convert = 'convert' - Convert format
|
|
1084
|
+
* - Crop = 'crop' - Crop image
|
|
1085
|
+
* - Resize = 'resize' - Resize image
|
|
1086
|
+
*
|
|
1087
|
+
* System Actions:
|
|
1088
|
+
* - Sync = 'sync' - Synchronize data
|
|
1089
|
+
* - Backup = 'backup' - Create backup
|
|
1090
|
+
* - Restore = 'restore' - Restore from backup
|
|
1091
|
+
* - Reset = 'reset' - Reset to defaults
|
|
1092
|
+
* - Clear = 'clear' - Clear data
|
|
1093
|
+
* - Optimize = 'optimize' - Optimize performance
|
|
1094
|
+
* - Update = 'update' - Update system
|
|
1095
|
+
* - Install = 'install' - Install component
|
|
1096
|
+
* - Uninstall = 'uninstall' - Uninstall component
|
|
1097
|
+
* - Enable = 'enable' - Enable feature
|
|
1098
|
+
* - Disable = 'disable' - Disable feature
|
|
1099
|
+
*
|
|
1100
|
+
* Analytics & Monitoring:
|
|
1101
|
+
* - Monitor = 'monitor' - Monitor activity
|
|
1102
|
+
* - Track = 'track' - Track progress
|
|
1103
|
+
* - Analyze = 'analyze' - Analyze data
|
|
1104
|
+
* - Debug = 'debug' - Debug issue
|
|
1105
|
+
* - Log = 'log' - View logs
|
|
1106
|
+
* - Alert = 'alert' - Set alert
|
|
1107
|
+
* - Dashboard = 'dashboard' - View dashboard
|
|
1108
|
+
* - Metrics = 'metrics' - View metrics
|
|
1109
|
+
*
|
|
1110
|
+
* Collaboration Actions:
|
|
1111
|
+
* - Collaborate = 'collaborate' - Start collaboration
|
|
1112
|
+
* - Share = 'share' - Share content
|
|
1113
|
+
* - Comment = 'comment' - Add comment
|
|
1114
|
+
* - Like = 'like' - Like content
|
|
1115
|
+
* - Follow = 'follow' - Follow user/content
|
|
1116
|
+
* - Subscribe = 'subscribe' - Subscribe to updates
|
|
1117
|
+
* - Unsubscribe = 'unsubscribe' - Unsubscribe
|
|
1118
|
+
* - Rate = 'rate' - Rate content
|
|
1119
|
+
* - Review = 'review' - Review content
|
|
1120
|
+
* - Recommend = 'recommend' - Recommend content
|
|
1121
|
+
*/
|
|
1030
1122
|
var AXPSystemActionType;
|
|
1031
1123
|
(function (AXPSystemActionType) {
|
|
1032
1124
|
AXPSystemActionType["View"] = "view";
|
|
@@ -1069,6 +1161,23 @@ var AXPSystemActionType;
|
|
|
1069
1161
|
AXPSystemActionType["Report"] = "report";
|
|
1070
1162
|
AXPSystemActionType["Sent"] = "sent";
|
|
1071
1163
|
AXPSystemActionType["Review"] = "review";
|
|
1164
|
+
AXPSystemActionType["Generate"] = "generate";
|
|
1165
|
+
AXPSystemActionType["Refresh"] = "refresh";
|
|
1166
|
+
AXPSystemActionType["Reload"] = "reload";
|
|
1167
|
+
AXPSystemActionType["Search"] = "search";
|
|
1168
|
+
AXPSystemActionType["Filter"] = "filter";
|
|
1169
|
+
AXPSystemActionType["Sort"] = "sort";
|
|
1170
|
+
AXPSystemActionType["Start"] = "start";
|
|
1171
|
+
AXPSystemActionType["Stop"] = "stop";
|
|
1172
|
+
AXPSystemActionType["Pause"] = "pause";
|
|
1173
|
+
AXPSystemActionType["Cancel"] = "cancel";
|
|
1174
|
+
AXPSystemActionType["Close"] = "close";
|
|
1175
|
+
AXPSystemActionType["Complete"] = "complete";
|
|
1176
|
+
AXPSystemActionType["Save"] = "save";
|
|
1177
|
+
AXPSystemActionType["SaveAs"] = "save-as";
|
|
1178
|
+
AXPSystemActionType["Sync"] = "sync";
|
|
1179
|
+
AXPSystemActionType["Reset"] = "reset";
|
|
1180
|
+
AXPSystemActionType["Clear"] = "clear";
|
|
1072
1181
|
})(AXPSystemActionType || (AXPSystemActionType = {}));
|
|
1073
1182
|
const i18n = (key) => `@general:actions.${key}`;
|
|
1074
1183
|
const AXPSystemActions = Object.freeze({
|
|
@@ -1078,8 +1187,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1078
1187
|
icon: 'fa-light fa-eye',
|
|
1079
1188
|
color: 'primary',
|
|
1080
1189
|
descriptions: {
|
|
1081
|
-
|
|
1082
|
-
tooltip: i18n('view.
|
|
1190
|
+
title: i18n('view.title'),
|
|
1191
|
+
tooltip: i18n('view.description'),
|
|
1083
1192
|
permission: i18n('view.permission'),
|
|
1084
1193
|
audit: i18n('view.audit')
|
|
1085
1194
|
}
|
|
@@ -1090,8 +1199,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1090
1199
|
icon: 'fa-light fa-plus',
|
|
1091
1200
|
color: 'primary',
|
|
1092
1201
|
descriptions: {
|
|
1093
|
-
|
|
1094
|
-
tooltip: i18n('create.
|
|
1202
|
+
title: i18n('create.title'),
|
|
1203
|
+
tooltip: i18n('create.description'),
|
|
1095
1204
|
permission: i18n('create.permission'),
|
|
1096
1205
|
audit: i18n('create.audit')
|
|
1097
1206
|
}
|
|
@@ -1102,8 +1211,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1102
1211
|
icon: 'fa-light fa-pen',
|
|
1103
1212
|
color: 'default',
|
|
1104
1213
|
descriptions: {
|
|
1105
|
-
|
|
1106
|
-
tooltip: i18n('edit.
|
|
1214
|
+
title: i18n('edit.title'),
|
|
1215
|
+
tooltip: i18n('edit.description'),
|
|
1107
1216
|
permission: i18n('edit.permission'),
|
|
1108
1217
|
audit: i18n('edit.audit')
|
|
1109
1218
|
}
|
|
@@ -1115,8 +1224,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1115
1224
|
color: 'danger',
|
|
1116
1225
|
critical: true,
|
|
1117
1226
|
descriptions: {
|
|
1118
|
-
|
|
1119
|
-
tooltip: i18n('delete.
|
|
1227
|
+
title: i18n('delete.title'),
|
|
1228
|
+
tooltip: i18n('delete.description'),
|
|
1120
1229
|
permission: i18n('delete.permission'),
|
|
1121
1230
|
audit: i18n('delete.audit')
|
|
1122
1231
|
}
|
|
@@ -1128,8 +1237,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1128
1237
|
color: 'success',
|
|
1129
1238
|
critical: true,
|
|
1130
1239
|
descriptions: {
|
|
1131
|
-
|
|
1132
|
-
tooltip: i18n('approve.
|
|
1240
|
+
title: i18n('approve.title'),
|
|
1241
|
+
tooltip: i18n('approve.description'),
|
|
1133
1242
|
permission: i18n('approve.permission'),
|
|
1134
1243
|
audit: i18n('approve.audit')
|
|
1135
1244
|
}
|
|
@@ -1140,8 +1249,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1140
1249
|
icon: 'fa-light fa-paper-plane',
|
|
1141
1250
|
color: 'primary',
|
|
1142
1251
|
descriptions: {
|
|
1143
|
-
|
|
1144
|
-
tooltip: i18n('submit.
|
|
1252
|
+
title: i18n('submit.title'),
|
|
1253
|
+
tooltip: i18n('submit.description'),
|
|
1145
1254
|
permission: i18n('submit.permission'),
|
|
1146
1255
|
audit: i18n('submit.audit')
|
|
1147
1256
|
}
|
|
@@ -1153,8 +1262,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1153
1262
|
color: 'danger',
|
|
1154
1263
|
critical: true,
|
|
1155
1264
|
descriptions: {
|
|
1156
|
-
|
|
1157
|
-
tooltip: i18n('reject.
|
|
1265
|
+
title: i18n('reject.title'),
|
|
1266
|
+
tooltip: i18n('reject.description'),
|
|
1158
1267
|
permission: i18n('reject.permission'),
|
|
1159
1268
|
audit: i18n('reject.audit')
|
|
1160
1269
|
}
|
|
@@ -1165,8 +1274,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1165
1274
|
icon: 'fa-light fa-download',
|
|
1166
1275
|
color: 'default',
|
|
1167
1276
|
descriptions: {
|
|
1168
|
-
|
|
1169
|
-
tooltip: i18n('export.
|
|
1277
|
+
title: i18n('export.title'),
|
|
1278
|
+
tooltip: i18n('export.description'),
|
|
1170
1279
|
permission: i18n('export.permission'),
|
|
1171
1280
|
audit: i18n('export.audit')
|
|
1172
1281
|
}
|
|
@@ -1177,8 +1286,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1177
1286
|
icon: 'fa-light fa-upload',
|
|
1178
1287
|
color: 'default',
|
|
1179
1288
|
descriptions: {
|
|
1180
|
-
|
|
1181
|
-
tooltip: i18n('import.
|
|
1289
|
+
title: i18n('import.title'),
|
|
1290
|
+
tooltip: i18n('import.description'),
|
|
1182
1291
|
permission: i18n('import.permission'),
|
|
1183
1292
|
audit: i18n('import.audit')
|
|
1184
1293
|
}
|
|
@@ -1189,8 +1298,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1189
1298
|
icon: 'fa-light fa-print',
|
|
1190
1299
|
color: 'default',
|
|
1191
1300
|
descriptions: {
|
|
1192
|
-
|
|
1193
|
-
tooltip: i18n('print.
|
|
1301
|
+
title: i18n('print.title'),
|
|
1302
|
+
tooltip: i18n('print.description'),
|
|
1194
1303
|
permission: i18n('print.permission'),
|
|
1195
1304
|
audit: i18n('print.audit')
|
|
1196
1305
|
}
|
|
@@ -1201,8 +1310,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1201
1310
|
icon: 'fa-light fa-clone',
|
|
1202
1311
|
color: 'warning',
|
|
1203
1312
|
descriptions: {
|
|
1204
|
-
|
|
1205
|
-
tooltip: i18n('duplicate.
|
|
1313
|
+
title: i18n('duplicate.title'),
|
|
1314
|
+
tooltip: i18n('duplicate.description'),
|
|
1206
1315
|
permission: i18n('duplicate.permission'),
|
|
1207
1316
|
audit: i18n('duplicate.audit')
|
|
1208
1317
|
}
|
|
@@ -1213,8 +1322,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1213
1322
|
icon: 'fa-light fa-box-archive',
|
|
1214
1323
|
color: 'default',
|
|
1215
1324
|
descriptions: {
|
|
1216
|
-
|
|
1217
|
-
tooltip: i18n('archive.
|
|
1325
|
+
title: i18n('archive.title'),
|
|
1326
|
+
tooltip: i18n('archive.description'),
|
|
1218
1327
|
permission: i18n('archive.permission'),
|
|
1219
1328
|
audit: i18n('archive.audit')
|
|
1220
1329
|
}
|
|
@@ -1225,8 +1334,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1225
1334
|
icon: 'fa-light fa-arrow-rotate-left',
|
|
1226
1335
|
color: 'default',
|
|
1227
1336
|
descriptions: {
|
|
1228
|
-
|
|
1229
|
-
tooltip: i18n('restore.
|
|
1337
|
+
title: i18n('restore.title'),
|
|
1338
|
+
tooltip: i18n('restore.description'),
|
|
1230
1339
|
permission: i18n('restore.permission'),
|
|
1231
1340
|
audit: i18n('restore.audit')
|
|
1232
1341
|
}
|
|
@@ -1237,8 +1346,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1237
1346
|
icon: 'fa-light fa-user-plus',
|
|
1238
1347
|
color: 'primary',
|
|
1239
1348
|
descriptions: {
|
|
1240
|
-
|
|
1241
|
-
tooltip: i18n('assign.
|
|
1349
|
+
title: i18n('assign.title'),
|
|
1350
|
+
tooltip: i18n('assign.description'),
|
|
1242
1351
|
permission: i18n('assign.permission'),
|
|
1243
1352
|
audit: i18n('assign.audit')
|
|
1244
1353
|
}
|
|
@@ -1249,8 +1358,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1249
1358
|
icon: 'fa-light fa-lock',
|
|
1250
1359
|
color: 'warning',
|
|
1251
1360
|
descriptions: {
|
|
1252
|
-
|
|
1253
|
-
tooltip: i18n('lock.
|
|
1361
|
+
title: i18n('lock.title'),
|
|
1362
|
+
tooltip: i18n('lock.description'),
|
|
1254
1363
|
permission: i18n('lock.permission'),
|
|
1255
1364
|
audit: i18n('lock.audit')
|
|
1256
1365
|
}
|
|
@@ -1261,8 +1370,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1261
1370
|
icon: 'fa-light fa-unlock',
|
|
1262
1371
|
color: 'success',
|
|
1263
1372
|
descriptions: {
|
|
1264
|
-
|
|
1265
|
-
tooltip: i18n('unlock.
|
|
1373
|
+
title: i18n('unlock.title'),
|
|
1374
|
+
tooltip: i18n('unlock.description'),
|
|
1266
1375
|
permission: i18n('unlock.permission'),
|
|
1267
1376
|
audit: i18n('unlock.audit')
|
|
1268
1377
|
}
|
|
@@ -1273,8 +1382,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1273
1382
|
icon: 'fa-light fa-share-nodes',
|
|
1274
1383
|
color: 'info',
|
|
1275
1384
|
descriptions: {
|
|
1276
|
-
|
|
1277
|
-
tooltip: i18n('share.
|
|
1385
|
+
title: i18n('share.title'),
|
|
1386
|
+
tooltip: i18n('share.description'),
|
|
1278
1387
|
permission: i18n('share.permission'),
|
|
1279
1388
|
audit: i18n('share.audit')
|
|
1280
1389
|
}
|
|
@@ -1285,8 +1394,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1285
1394
|
icon: 'fa-light fa-sliders',
|
|
1286
1395
|
color: 'primary',
|
|
1287
1396
|
descriptions: {
|
|
1288
|
-
|
|
1289
|
-
tooltip: i18n('configure.
|
|
1397
|
+
title: i18n('configure.title'),
|
|
1398
|
+
tooltip: i18n('configure.description'),
|
|
1290
1399
|
permission: i18n('configure.permission'),
|
|
1291
1400
|
audit: i18n('configure.audit')
|
|
1292
1401
|
}
|
|
@@ -1297,8 +1406,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1297
1406
|
icon: 'fa-light fa-arrow-down-up-across-line',
|
|
1298
1407
|
color: 'default',
|
|
1299
1408
|
descriptions: {
|
|
1300
|
-
|
|
1301
|
-
tooltip: i18n('reorder.
|
|
1409
|
+
title: i18n('reorder.title'),
|
|
1410
|
+
tooltip: i18n('reorder.description'),
|
|
1302
1411
|
permission: i18n('reorder.permission'),
|
|
1303
1412
|
audit: i18n('reorder.audit')
|
|
1304
1413
|
}
|
|
@@ -1309,8 +1418,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1309
1418
|
icon: 'fa-light fa-magnifying-glass',
|
|
1310
1419
|
color: 'default',
|
|
1311
1420
|
descriptions: {
|
|
1312
|
-
|
|
1313
|
-
tooltip: i18n('preview.
|
|
1421
|
+
title: i18n('preview.title'),
|
|
1422
|
+
tooltip: i18n('preview.description'),
|
|
1314
1423
|
permission: i18n('preview.permission'),
|
|
1315
1424
|
audit: i18n('preview.audit')
|
|
1316
1425
|
}
|
|
@@ -1321,8 +1430,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1321
1430
|
icon: 'fa-light fa-globe',
|
|
1322
1431
|
color: 'success',
|
|
1323
1432
|
descriptions: {
|
|
1324
|
-
|
|
1325
|
-
tooltip: i18n('publish.
|
|
1433
|
+
title: i18n('publish.title'),
|
|
1434
|
+
tooltip: i18n('publish.description'),
|
|
1326
1435
|
permission: i18n('publish.permission'),
|
|
1327
1436
|
audit: i18n('publish.audit')
|
|
1328
1437
|
}
|
|
@@ -1333,8 +1442,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1333
1442
|
icon: 'fa-light fa-globe-slash',
|
|
1334
1443
|
color: 'danger',
|
|
1335
1444
|
descriptions: {
|
|
1336
|
-
|
|
1337
|
-
tooltip: i18n('unpublish.
|
|
1445
|
+
title: i18n('unpublish.title'),
|
|
1446
|
+
tooltip: i18n('unpublish.description'),
|
|
1338
1447
|
permission: i18n('unpublish.permission'),
|
|
1339
1448
|
audit: i18n('unpublish.audit')
|
|
1340
1449
|
}
|
|
@@ -1345,8 +1454,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1345
1454
|
icon: 'fa-light fa-upload',
|
|
1346
1455
|
color: 'default',
|
|
1347
1456
|
descriptions: {
|
|
1348
|
-
|
|
1349
|
-
tooltip: i18n('upload.
|
|
1457
|
+
title: i18n('upload.title'),
|
|
1458
|
+
tooltip: i18n('upload.description'),
|
|
1350
1459
|
permission: i18n('upload.permission'),
|
|
1351
1460
|
audit: i18n('upload.audit')
|
|
1352
1461
|
}
|
|
@@ -1357,8 +1466,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1357
1466
|
icon: 'fa-light fa-download',
|
|
1358
1467
|
color: 'default',
|
|
1359
1468
|
descriptions: {
|
|
1360
|
-
|
|
1361
|
-
tooltip: i18n('download.
|
|
1469
|
+
title: i18n('download.title'),
|
|
1470
|
+
tooltip: i18n('download.description'),
|
|
1362
1471
|
permission: i18n('download.permission'),
|
|
1363
1472
|
audit: i18n('download.audit')
|
|
1364
1473
|
}
|
|
@@ -1369,8 +1478,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1369
1478
|
icon: 'fa-light fa-copy',
|
|
1370
1479
|
color: 'default',
|
|
1371
1480
|
descriptions: {
|
|
1372
|
-
|
|
1373
|
-
tooltip: i18n('copy.
|
|
1481
|
+
title: i18n('copy.title'),
|
|
1482
|
+
tooltip: i18n('copy.description'),
|
|
1374
1483
|
permission: i18n('copy.permission'),
|
|
1375
1484
|
audit: i18n('copy.audit')
|
|
1376
1485
|
}
|
|
@@ -1381,8 +1490,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1381
1490
|
icon: 'fa-light fa-arrow-right-arrow-left',
|
|
1382
1491
|
color: 'default',
|
|
1383
1492
|
descriptions: {
|
|
1384
|
-
|
|
1385
|
-
tooltip: i18n('move.
|
|
1493
|
+
title: i18n('move.title'),
|
|
1494
|
+
tooltip: i18n('move.description'),
|
|
1386
1495
|
permission: i18n('move.permission'),
|
|
1387
1496
|
audit: i18n('move.audit')
|
|
1388
1497
|
}
|
|
@@ -1393,8 +1502,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1393
1502
|
icon: 'fa-light fa-pen',
|
|
1394
1503
|
color: 'default',
|
|
1395
1504
|
descriptions: {
|
|
1396
|
-
|
|
1397
|
-
tooltip: i18n('rename.
|
|
1505
|
+
title: i18n('rename.title'),
|
|
1506
|
+
tooltip: i18n('rename.description'),
|
|
1398
1507
|
permission: i18n('rename.permission'),
|
|
1399
1508
|
audit: i18n('rename.audit')
|
|
1400
1509
|
}
|
|
@@ -1405,8 +1514,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1405
1514
|
icon: 'fa-light fa-gear',
|
|
1406
1515
|
color: 'default',
|
|
1407
1516
|
descriptions: {
|
|
1408
|
-
|
|
1409
|
-
tooltip: i18n('manage.
|
|
1517
|
+
title: i18n('manage.title'),
|
|
1518
|
+
tooltip: i18n('manage.description'),
|
|
1410
1519
|
permission: i18n('manage.permission'),
|
|
1411
1520
|
audit: i18n('manage.audit')
|
|
1412
1521
|
}
|
|
@@ -1417,8 +1526,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1417
1526
|
icon: 'fa-light fa-info',
|
|
1418
1527
|
color: 'default',
|
|
1419
1528
|
descriptions: {
|
|
1420
|
-
|
|
1421
|
-
tooltip: i18n('info.
|
|
1529
|
+
title: i18n('info.title'),
|
|
1530
|
+
tooltip: i18n('info.description'),
|
|
1422
1531
|
permission: i18n('info.permission'),
|
|
1423
1532
|
audit: i18n('info.audit')
|
|
1424
1533
|
}
|
|
@@ -1429,8 +1538,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1429
1538
|
icon: 'fa-light fa-check',
|
|
1430
1539
|
color: 'success',
|
|
1431
1540
|
descriptions: {
|
|
1432
|
-
|
|
1433
|
-
tooltip: i18n('confirm.
|
|
1541
|
+
title: i18n('confirm.title'),
|
|
1542
|
+
tooltip: i18n('confirm.description'),
|
|
1434
1543
|
permission: i18n('confirm.permission'),
|
|
1435
1544
|
audit: i18n('confirm.audit')
|
|
1436
1545
|
}
|
|
@@ -1441,8 +1550,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1441
1550
|
icon: 'fa-light fa-paintbrush',
|
|
1442
1551
|
color: 'default',
|
|
1443
1552
|
descriptions: {
|
|
1444
|
-
|
|
1445
|
-
tooltip: i18n('design.
|
|
1553
|
+
title: i18n('design.title'),
|
|
1554
|
+
tooltip: i18n('design.description'),
|
|
1446
1555
|
permission: i18n('design.permission'),
|
|
1447
1556
|
audit: i18n('design.audit')
|
|
1448
1557
|
}
|
|
@@ -1453,8 +1562,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1453
1562
|
icon: 'fa-light fa-history',
|
|
1454
1563
|
color: 'default',
|
|
1455
1564
|
descriptions: {
|
|
1456
|
-
|
|
1457
|
-
tooltip: i18n('version-history.
|
|
1565
|
+
title: i18n('version-history.title'),
|
|
1566
|
+
tooltip: i18n('version-history.description'),
|
|
1458
1567
|
permission: i18n('version-history.permission'),
|
|
1459
1568
|
audit: i18n('version-history.audit')
|
|
1460
1569
|
}
|
|
@@ -1465,8 +1574,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1465
1574
|
icon: 'fa-light fa-code-compare',
|
|
1466
1575
|
color: 'default',
|
|
1467
1576
|
descriptions: {
|
|
1468
|
-
|
|
1469
|
-
tooltip: i18n('compare.
|
|
1577
|
+
title: i18n('compare.title'),
|
|
1578
|
+
tooltip: i18n('compare.description'),
|
|
1470
1579
|
permission: i18n('compare.permission'),
|
|
1471
1580
|
audit: i18n('compare.audit')
|
|
1472
1581
|
}
|
|
@@ -1477,8 +1586,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1477
1586
|
icon: 'fa-light fa-comments',
|
|
1478
1587
|
color: 'default',
|
|
1479
1588
|
descriptions: {
|
|
1480
|
-
|
|
1481
|
-
tooltip: i18n('comments.
|
|
1589
|
+
title: i18n('comments.title'),
|
|
1590
|
+
tooltip: i18n('comments.description'),
|
|
1482
1591
|
permission: i18n('comments.permission'),
|
|
1483
1592
|
audit: i18n('comments.audit')
|
|
1484
1593
|
}
|
|
@@ -1489,8 +1598,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1489
1598
|
icon: 'fa-light fa-signature',
|
|
1490
1599
|
color: 'default',
|
|
1491
1600
|
descriptions: {
|
|
1492
|
-
|
|
1493
|
-
tooltip: i18n('sign.
|
|
1601
|
+
title: i18n('sign.title'),
|
|
1602
|
+
tooltip: i18n('sign.description'),
|
|
1494
1603
|
permission: i18n('sign.permission'),
|
|
1495
1604
|
audit: i18n('sign.audit')
|
|
1496
1605
|
}
|
|
@@ -1501,8 +1610,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1501
1610
|
icon: 'fa-light fa-cog',
|
|
1502
1611
|
color: 'default',
|
|
1503
1612
|
descriptions: {
|
|
1504
|
-
|
|
1505
|
-
tooltip: i18n('setup.
|
|
1613
|
+
title: i18n('setup.title'),
|
|
1614
|
+
tooltip: i18n('setup.description'),
|
|
1506
1615
|
permission: i18n('setup.permission'),
|
|
1507
1616
|
audit: i18n('setup.audit')
|
|
1508
1617
|
}
|
|
@@ -1513,8 +1622,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1513
1622
|
icon: 'fa-light fa-envelope',
|
|
1514
1623
|
color: 'default',
|
|
1515
1624
|
descriptions: {
|
|
1516
|
-
|
|
1517
|
-
tooltip: i18n('send.
|
|
1625
|
+
title: i18n('send.title'),
|
|
1626
|
+
tooltip: i18n('send.description'),
|
|
1518
1627
|
permission: i18n('send.permission'),
|
|
1519
1628
|
audit: i18n('send.audit')
|
|
1520
1629
|
}
|
|
@@ -1525,8 +1634,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1525
1634
|
icon: 'fa-light fa-chart-line',
|
|
1526
1635
|
color: 'default',
|
|
1527
1636
|
descriptions: {
|
|
1528
|
-
|
|
1529
|
-
tooltip: i18n('report.
|
|
1637
|
+
title: i18n('report.title'),
|
|
1638
|
+
tooltip: i18n('report.description'),
|
|
1530
1639
|
permission: i18n('report.permission'),
|
|
1531
1640
|
audit: i18n('report.audit')
|
|
1532
1641
|
}
|
|
@@ -1537,8 +1646,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1537
1646
|
icon: 'fa-light fa-paper-plane',
|
|
1538
1647
|
color: 'default',
|
|
1539
1648
|
descriptions: {
|
|
1540
|
-
|
|
1541
|
-
tooltip: i18n('sent.
|
|
1649
|
+
title: i18n('sent.title'),
|
|
1650
|
+
tooltip: i18n('sent.description'),
|
|
1542
1651
|
permission: i18n('sent.permission'),
|
|
1543
1652
|
audit: i18n('sent.audit')
|
|
1544
1653
|
}
|
|
@@ -1549,12 +1658,219 @@ const AXPSystemActions = Object.freeze({
|
|
|
1549
1658
|
icon: 'fa-light fa-eye',
|
|
1550
1659
|
color: 'default',
|
|
1551
1660
|
descriptions: {
|
|
1552
|
-
|
|
1553
|
-
tooltip: i18n('review.
|
|
1661
|
+
title: i18n('review.title'),
|
|
1662
|
+
tooltip: i18n('review.description'),
|
|
1554
1663
|
permission: i18n('review.permission'),
|
|
1555
1664
|
audit: i18n('review.audit')
|
|
1556
1665
|
}
|
|
1557
1666
|
},
|
|
1667
|
+
Generate: {
|
|
1668
|
+
key: AXPSystemActionType.Generate,
|
|
1669
|
+
title: i18n('generate.title'),
|
|
1670
|
+
icon: 'fa-light fa-wand-magic-sparkles',
|
|
1671
|
+
color: 'primary',
|
|
1672
|
+
descriptions: {
|
|
1673
|
+
title: i18n('generate.title'),
|
|
1674
|
+
tooltip: i18n('generate.description'),
|
|
1675
|
+
permission: i18n('generate.permission'),
|
|
1676
|
+
audit: i18n('generate.audit')
|
|
1677
|
+
}
|
|
1678
|
+
},
|
|
1679
|
+
Refresh: {
|
|
1680
|
+
key: AXPSystemActionType.Refresh,
|
|
1681
|
+
title: i18n('refresh.title'),
|
|
1682
|
+
icon: 'fa-light fa-arrows-rotate',
|
|
1683
|
+
color: 'default',
|
|
1684
|
+
descriptions: {
|
|
1685
|
+
title: i18n('refresh.title'),
|
|
1686
|
+
tooltip: i18n('refresh.description'),
|
|
1687
|
+
permission: i18n('refresh.permission'),
|
|
1688
|
+
audit: i18n('refresh.audit')
|
|
1689
|
+
}
|
|
1690
|
+
},
|
|
1691
|
+
Reload: {
|
|
1692
|
+
key: AXPSystemActionType.Reload,
|
|
1693
|
+
title: i18n('reload.title'),
|
|
1694
|
+
icon: 'fa-light fa-arrows-rotate',
|
|
1695
|
+
color: 'default',
|
|
1696
|
+
descriptions: {
|
|
1697
|
+
title: i18n('reload.title'),
|
|
1698
|
+
tooltip: i18n('reload.description'),
|
|
1699
|
+
permission: i18n('reload.permission'),
|
|
1700
|
+
audit: i18n('reload.audit')
|
|
1701
|
+
}
|
|
1702
|
+
},
|
|
1703
|
+
Search: {
|
|
1704
|
+
key: AXPSystemActionType.Search,
|
|
1705
|
+
title: i18n('search.title'),
|
|
1706
|
+
icon: 'fa-light fa-magnifying-glass',
|
|
1707
|
+
color: 'default',
|
|
1708
|
+
descriptions: {
|
|
1709
|
+
title: i18n('search.title'),
|
|
1710
|
+
tooltip: i18n('search.description'),
|
|
1711
|
+
permission: i18n('search.permission'),
|
|
1712
|
+
audit: i18n('search.audit')
|
|
1713
|
+
}
|
|
1714
|
+
},
|
|
1715
|
+
Filter: {
|
|
1716
|
+
key: AXPSystemActionType.Filter,
|
|
1717
|
+
title: i18n('filter.title'),
|
|
1718
|
+
icon: 'fa-light fa-filter',
|
|
1719
|
+
color: 'default',
|
|
1720
|
+
descriptions: {
|
|
1721
|
+
title: i18n('filter.title'),
|
|
1722
|
+
tooltip: i18n('filter.description'),
|
|
1723
|
+
permission: i18n('filter.permission'),
|
|
1724
|
+
audit: i18n('filter.audit')
|
|
1725
|
+
}
|
|
1726
|
+
},
|
|
1727
|
+
Sort: {
|
|
1728
|
+
key: AXPSystemActionType.Sort,
|
|
1729
|
+
title: i18n('sort.title'),
|
|
1730
|
+
icon: 'fa-light fa-arrow-down-up-across-line',
|
|
1731
|
+
color: 'default',
|
|
1732
|
+
descriptions: {
|
|
1733
|
+
title: i18n('sort.title'),
|
|
1734
|
+
tooltip: i18n('sort.description'),
|
|
1735
|
+
permission: i18n('sort.permission'),
|
|
1736
|
+
audit: i18n('sort.audit')
|
|
1737
|
+
}
|
|
1738
|
+
},
|
|
1739
|
+
Start: {
|
|
1740
|
+
key: AXPSystemActionType.Start,
|
|
1741
|
+
title: i18n('start.title'),
|
|
1742
|
+
icon: 'fa-light fa-play',
|
|
1743
|
+
color: 'success',
|
|
1744
|
+
descriptions: {
|
|
1745
|
+
title: i18n('start.title'),
|
|
1746
|
+
tooltip: i18n('start.description'),
|
|
1747
|
+
permission: i18n('start.permission'),
|
|
1748
|
+
audit: i18n('start.audit')
|
|
1749
|
+
}
|
|
1750
|
+
},
|
|
1751
|
+
Stop: {
|
|
1752
|
+
key: AXPSystemActionType.Stop,
|
|
1753
|
+
title: i18n('stop.title'),
|
|
1754
|
+
icon: 'fa-light fa-stop',
|
|
1755
|
+
color: 'danger',
|
|
1756
|
+
critical: true,
|
|
1757
|
+
descriptions: {
|
|
1758
|
+
title: i18n('stop.title'),
|
|
1759
|
+
tooltip: i18n('stop.description'),
|
|
1760
|
+
permission: i18n('stop.permission'),
|
|
1761
|
+
audit: i18n('stop.audit')
|
|
1762
|
+
}
|
|
1763
|
+
},
|
|
1764
|
+
Pause: {
|
|
1765
|
+
key: AXPSystemActionType.Pause,
|
|
1766
|
+
title: i18n('pause.title'),
|
|
1767
|
+
icon: 'fa-light fa-pause',
|
|
1768
|
+
color: 'warning',
|
|
1769
|
+
descriptions: {
|
|
1770
|
+
title: i18n('pause.title'),
|
|
1771
|
+
tooltip: i18n('pause.description'),
|
|
1772
|
+
permission: i18n('pause.permission'),
|
|
1773
|
+
audit: i18n('pause.audit')
|
|
1774
|
+
}
|
|
1775
|
+
},
|
|
1776
|
+
Cancel: {
|
|
1777
|
+
key: AXPSystemActionType.Cancel,
|
|
1778
|
+
title: i18n('cancel.title'),
|
|
1779
|
+
icon: 'fa-light fa-xmark',
|
|
1780
|
+
color: 'danger',
|
|
1781
|
+
critical: true,
|
|
1782
|
+
descriptions: {
|
|
1783
|
+
title: i18n('cancel.title'),
|
|
1784
|
+
tooltip: i18n('cancel.description'),
|
|
1785
|
+
permission: i18n('cancel.permission'),
|
|
1786
|
+
audit: i18n('cancel.audit')
|
|
1787
|
+
}
|
|
1788
|
+
},
|
|
1789
|
+
Close: {
|
|
1790
|
+
key: AXPSystemActionType.Close,
|
|
1791
|
+
title: i18n('close.title'),
|
|
1792
|
+
icon: 'fa-light fa-xmark',
|
|
1793
|
+
color: 'default',
|
|
1794
|
+
descriptions: {
|
|
1795
|
+
title: i18n('close.title'),
|
|
1796
|
+
tooltip: i18n('close.description'),
|
|
1797
|
+
permission: i18n('close.permission'),
|
|
1798
|
+
audit: i18n('close.audit')
|
|
1799
|
+
}
|
|
1800
|
+
},
|
|
1801
|
+
Complete: {
|
|
1802
|
+
key: AXPSystemActionType.Complete,
|
|
1803
|
+
title: i18n('complete.title'),
|
|
1804
|
+
icon: 'fa-light fa-check',
|
|
1805
|
+
color: 'success',
|
|
1806
|
+
descriptions: {
|
|
1807
|
+
title: i18n('complete.title'),
|
|
1808
|
+
tooltip: i18n('complete.description'),
|
|
1809
|
+
permission: i18n('complete.permission'),
|
|
1810
|
+
audit: i18n('complete.audit')
|
|
1811
|
+
}
|
|
1812
|
+
},
|
|
1813
|
+
Save: {
|
|
1814
|
+
key: AXPSystemActionType.Save,
|
|
1815
|
+
title: i18n('save.title'),
|
|
1816
|
+
icon: 'fa-light fa-floppy-disk',
|
|
1817
|
+
color: 'primary',
|
|
1818
|
+
descriptions: {
|
|
1819
|
+
title: i18n('save.title'),
|
|
1820
|
+
tooltip: i18n('save.description'),
|
|
1821
|
+
permission: i18n('save.permission'),
|
|
1822
|
+
audit: i18n('save.audit')
|
|
1823
|
+
}
|
|
1824
|
+
},
|
|
1825
|
+
SaveAs: {
|
|
1826
|
+
key: AXPSystemActionType.SaveAs,
|
|
1827
|
+
title: i18n('save-as.title'),
|
|
1828
|
+
icon: 'fa-light fa-floppy-disk',
|
|
1829
|
+
color: 'default',
|
|
1830
|
+
descriptions: {
|
|
1831
|
+
title: i18n('save-as.title'),
|
|
1832
|
+
tooltip: i18n('save-as.description'),
|
|
1833
|
+
permission: i18n('save-as.permission'),
|
|
1834
|
+
audit: i18n('save-as.audit')
|
|
1835
|
+
}
|
|
1836
|
+
},
|
|
1837
|
+
Sync: {
|
|
1838
|
+
key: AXPSystemActionType.Sync,
|
|
1839
|
+
title: i18n('sync.title'),
|
|
1840
|
+
icon: 'fa-light fa-arrows-rotate',
|
|
1841
|
+
color: 'default',
|
|
1842
|
+
descriptions: {
|
|
1843
|
+
title: i18n('sync.title'),
|
|
1844
|
+
tooltip: i18n('sync.description'),
|
|
1845
|
+
permission: i18n('sync.permission'),
|
|
1846
|
+
audit: i18n('sync.audit')
|
|
1847
|
+
}
|
|
1848
|
+
},
|
|
1849
|
+
Reset: {
|
|
1850
|
+
key: AXPSystemActionType.Reset,
|
|
1851
|
+
title: i18n('reset.title'),
|
|
1852
|
+
icon: 'fa-light fa-arrow-rotate-left',
|
|
1853
|
+
color: 'warning',
|
|
1854
|
+
critical: true,
|
|
1855
|
+
descriptions: {
|
|
1856
|
+
title: i18n('reset.title'),
|
|
1857
|
+
tooltip: i18n('reset.description'),
|
|
1858
|
+
permission: i18n('reset.permission'),
|
|
1859
|
+
audit: i18n('reset.audit')
|
|
1860
|
+
}
|
|
1861
|
+
},
|
|
1862
|
+
Clear: {
|
|
1863
|
+
key: AXPSystemActionType.Clear,
|
|
1864
|
+
title: i18n('clear.title'),
|
|
1865
|
+
icon: 'fa-light fa-eraser',
|
|
1866
|
+
color: 'default',
|
|
1867
|
+
descriptions: {
|
|
1868
|
+
title: i18n('clear.title'),
|
|
1869
|
+
tooltip: i18n('clear.description'),
|
|
1870
|
+
permission: i18n('clear.permission'),
|
|
1871
|
+
audit: i18n('clear.audit')
|
|
1872
|
+
}
|
|
1873
|
+
},
|
|
1558
1874
|
});
|
|
1559
1875
|
function getSystemActions(type) {
|
|
1560
1876
|
return Object.values(AXPSystemActions).find(action => action.key === type);
|
|
@@ -1564,51 +1880,8 @@ function getSystemActions(type) {
|
|
|
1564
1880
|
* using the system actions from the core module.
|
|
1565
1881
|
*/
|
|
1566
1882
|
function resolveActionLook(actionType) {
|
|
1567
|
-
// Map action types to system action types
|
|
1568
|
-
const actionTypeMap = {
|
|
1569
|
-
'create': AXPSystemActionType.Create,
|
|
1570
|
-
'view': AXPSystemActionType.View,
|
|
1571
|
-
'update': AXPSystemActionType.Update,
|
|
1572
|
-
'delete': AXPSystemActionType.Delete,
|
|
1573
|
-
'copy': AXPSystemActionType.Copy,
|
|
1574
|
-
'print': AXPSystemActionType.Print,
|
|
1575
|
-
'archive': AXPSystemActionType.Archive,
|
|
1576
|
-
'restore': AXPSystemActionType.Restore,
|
|
1577
|
-
'upload': AXPSystemActionType.Upload,
|
|
1578
|
-
'download': AXPSystemActionType.Download,
|
|
1579
|
-
'lock': AXPSystemActionType.Lock,
|
|
1580
|
-
'unlock': AXPSystemActionType.Unlock,
|
|
1581
|
-
'assign': AXPSystemActionType.Assign,
|
|
1582
|
-
'share': AXPSystemActionType.Share,
|
|
1583
|
-
'configure': AXPSystemActionType.Configure,
|
|
1584
|
-
'reorder': AXPSystemActionType.Reorder,
|
|
1585
|
-
'preview': AXPSystemActionType.Preview,
|
|
1586
|
-
'publish': AXPSystemActionType.Publish,
|
|
1587
|
-
'unpublish': AXPSystemActionType.Unpublish,
|
|
1588
|
-
'approve': AXPSystemActionType.Approve,
|
|
1589
|
-
'reject': AXPSystemActionType.Reject,
|
|
1590
|
-
'submit': AXPSystemActionType.Submit,
|
|
1591
|
-
'export': AXPSystemActionType.Export,
|
|
1592
|
-
'import': AXPSystemActionType.Import,
|
|
1593
|
-
'duplicate': AXPSystemActionType.Duplicate,
|
|
1594
|
-
'move': AXPSystemActionType.Move,
|
|
1595
|
-
'rename': AXPSystemActionType.Rename,
|
|
1596
|
-
'manage': AXPSystemActionType.Manage,
|
|
1597
|
-
'info': AXPSystemActionType.Info,
|
|
1598
|
-
'confirm': AXPSystemActionType.Confirm,
|
|
1599
|
-
'design': AXPSystemActionType.Design,
|
|
1600
|
-
'version-history': AXPSystemActionType.VersionHistory,
|
|
1601
|
-
'compare': AXPSystemActionType.Compare,
|
|
1602
|
-
'comments': AXPSystemActionType.Comments,
|
|
1603
|
-
'sign': AXPSystemActionType.Sign,
|
|
1604
|
-
'setup': AXPSystemActionType.Setup,
|
|
1605
|
-
'send': AXPSystemActionType.Send,
|
|
1606
|
-
'report': AXPSystemActionType.Report,
|
|
1607
|
-
'sent': AXPSystemActionType.Sent,
|
|
1608
|
-
'review': AXPSystemActionType.Review
|
|
1609
|
-
};
|
|
1610
1883
|
// Try to get system action first
|
|
1611
|
-
const systemActionType =
|
|
1884
|
+
const systemActionType = actionType;
|
|
1612
1885
|
if (systemActionType) {
|
|
1613
1886
|
const systemAction = getSystemActions(systemActionType);
|
|
1614
1887
|
if (systemAction) {
|
|
@@ -1624,6 +1897,35 @@ function resolveActionLook(actionType) {
|
|
|
1624
1897
|
icon: ''
|
|
1625
1898
|
};
|
|
1626
1899
|
}
|
|
1900
|
+
/**
|
|
1901
|
+
* Resolves the title, description, icon and color for button actions
|
|
1902
|
+
* using the system actions from the core module.
|
|
1903
|
+
* @param actionType
|
|
1904
|
+
* @returns
|
|
1905
|
+
*/
|
|
1906
|
+
function getActionButton(actionType) {
|
|
1907
|
+
const systemActionType = actionType;
|
|
1908
|
+
if (systemActionType) {
|
|
1909
|
+
const systemAction = getSystemActions(systemActionType);
|
|
1910
|
+
if (systemAction) {
|
|
1911
|
+
return {
|
|
1912
|
+
name: actionType,
|
|
1913
|
+
icon: systemAction.icon || '',
|
|
1914
|
+
color: systemAction.color || 'default',
|
|
1915
|
+
title: systemAction.title,
|
|
1916
|
+
description: systemAction.descriptions.title
|
|
1917
|
+
};
|
|
1918
|
+
}
|
|
1919
|
+
}
|
|
1920
|
+
// Fallback for unknown actions
|
|
1921
|
+
return {
|
|
1922
|
+
name: actionType,
|
|
1923
|
+
title: actionType,
|
|
1924
|
+
description: `Perform ${actionType} action`,
|
|
1925
|
+
icon: '',
|
|
1926
|
+
color: 'default'
|
|
1927
|
+
};
|
|
1928
|
+
}
|
|
1627
1929
|
|
|
1628
1930
|
function getNestedKeys(obj, prefix = '') {
|
|
1629
1931
|
let keys = [];
|
|
@@ -2294,5 +2596,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
|
|
|
2294
2596
|
* Generated bundle index. Do not edit.
|
|
2295
2597
|
*/
|
|
2296
2598
|
|
|
2297
|
-
export { AXHighlightService, AXPActivityLogProvider, AXPActivityLogService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPComponentLogoConfig, AXPContentCheckerDirective, AXPContextChangeEvent, AXPContextStore, AXPCountdownPipe, AXPDataGenerator, AXPDataSourceDefinitionProviderService, AXPDblClickDirective, AXPDistributedEventListenerService, AXPElementDataDirective, AXPExportTemplateToken, AXPExpressionEvaluatorScopeProviderContext, AXPExpressionEvaluatorScopeProviderService, AXPExpressionEvaluatorService, AXPGridLayoutDirective, AXPHookService, AXPImageUrlLogoConfig, AXPPlatformScope, AXPSystemActionType, AXPSystemActions, AXP_ACTIVITY_LOG_PROVIDER, AXP_DATASOURCE_DEFINITION_PROVIDER, AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, applyFilterArray, applyPagination, applyQueryArray, applySortArray, applySystemActionDefault, cleanDeep, extractNestedFieldsWildcard, extractTextFromHtml, extractValue, getChangedPaths, getDetailedChanges, getEnumValues, getNestedKeys, getSmart, getSystemActions, objectKeyValueTransforms, resolveActionLook, resolvePlatformScopeKey, resolvePlatformScopeName, setSmart };
|
|
2599
|
+
export { AXHighlightService, AXPActivityLogProvider, AXPActivityLogService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPComponentLogoConfig, AXPContentCheckerDirective, AXPContextChangeEvent, AXPContextStore, AXPCountdownPipe, AXPDataGenerator, AXPDataSourceDefinitionProviderService, AXPDblClickDirective, AXPDistributedEventListenerService, AXPElementDataDirective, AXPExportTemplateToken, AXPExpressionEvaluatorScopeProviderContext, AXPExpressionEvaluatorScopeProviderService, AXPExpressionEvaluatorService, AXPGridLayoutDirective, AXPHookService, AXPImageUrlLogoConfig, AXPPlatformScope, AXPSystemActionType, AXPSystemActions, AXP_ACTIVITY_LOG_PROVIDER, AXP_DATASOURCE_DEFINITION_PROVIDER, AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, applyFilterArray, applyPagination, applyQueryArray, applySortArray, applySystemActionDefault, cleanDeep, extractNestedFieldsWildcard, extractTextFromHtml, extractValue, getActionButton, getChangedPaths, getDetailedChanges, getEnumValues, getNestedKeys, getSmart, getSystemActions, objectKeyValueTransforms, resolveActionLook, resolvePlatformScopeKey, resolvePlatformScopeName, setSmart };
|
|
2298
2600
|
//# sourceMappingURL=acorex-platform-core.mjs.map
|