@acorex/platform 19.3.0-next.3 → 19.3.0-next.5
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/auth/lib/permission/index.d.ts +2 -1
- package/auth/lib/permission/permission-definition.builder.d.ts +24 -0
- package/auth/lib/permission/permission-definition.service.d.ts +20 -0
- package/auth/lib/permission/permission.types.d.ts +10 -3
- package/common/lib/settings/index.d.ts +1 -1
- package/core/lib/types/actions.types.d.ts +282 -0
- package/core/lib/types/index.d.ts +1 -0
- package/fesm2022/acorex-platform-auth.mjs +114 -20
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +272 -1
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +9 -5
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-CnqS3y7P.mjs → acorex-platform-themes-default-entity-master-create-view.component-ClHHAoed.mjs} +1 -2
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-ClHHAoed.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +2 -2
- package/fesm2022/acorex-platform-widgets.mjs +349 -87
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.d.ts +1 -0
- package/package.json +2 -1
- package/widgets/lib/shared/multi-language-component/popup/select-language.popup.d.ts +23 -0
- package/widgets/lib/widgets/editors/large-text/large-text-widget-edit.component.d.ts +12 -0
- package/widgets/lib/widgets/editors/rich-text/rich-text-widget-edit.component.d.ts +11 -0
- package/widgets/lib/widgets/editors/text/text-box-widget-edit.component.d.ts +10 -0
- package/widgets/lib/widgets/filters/number-filter/number-filter-widget-edit.component.d.ts +1 -0
- package/auth/lib/permission/permission.service.d.ts +0 -18
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-CnqS3y7P.mjs.map +0 -1
- /package/common/lib/settings/{setting-definition.provider.d.ts → setting-definition.service.d.ts} +0 -0
|
@@ -1011,9 +1011,280 @@ function resolvePlatformScopeName(scope) {
|
|
|
1011
1011
|
return scopeMap[scope] ?? 'user';
|
|
1012
1012
|
}
|
|
1013
1013
|
|
|
1014
|
+
const i18n = (key) => `t('actions.${key}',{scope:'general'})`;
|
|
1015
|
+
const AXPSystemActions = Object.freeze({
|
|
1016
|
+
View: {
|
|
1017
|
+
key: 'view',
|
|
1018
|
+
title: i18n('view.title'),
|
|
1019
|
+
icon: 'fa-light fa-eye',
|
|
1020
|
+
color: 'default',
|
|
1021
|
+
descriptions: {
|
|
1022
|
+
button: i18n('view.button'),
|
|
1023
|
+
tooltip: i18n('view.tooltip'),
|
|
1024
|
+
permission: i18n('view.permission'),
|
|
1025
|
+
audit: i18n('view.audit')
|
|
1026
|
+
}
|
|
1027
|
+
},
|
|
1028
|
+
Create: {
|
|
1029
|
+
key: 'create',
|
|
1030
|
+
title: i18n('create.title'),
|
|
1031
|
+
icon: 'fa-light fa-plus',
|
|
1032
|
+
color: 'success',
|
|
1033
|
+
descriptions: {
|
|
1034
|
+
button: i18n('create.button'),
|
|
1035
|
+
tooltip: i18n('create.tooltip'),
|
|
1036
|
+
permission: i18n('create.permission'),
|
|
1037
|
+
audit: i18n('create.audit')
|
|
1038
|
+
}
|
|
1039
|
+
},
|
|
1040
|
+
Edit: {
|
|
1041
|
+
key: 'edit',
|
|
1042
|
+
title: i18n('edit.title'),
|
|
1043
|
+
icon: 'fa-light fa-pencil',
|
|
1044
|
+
color: 'primary',
|
|
1045
|
+
descriptions: {
|
|
1046
|
+
button: i18n('edit.button'),
|
|
1047
|
+
tooltip: i18n('edit.tooltip'),
|
|
1048
|
+
permission: i18n('edit.permission'),
|
|
1049
|
+
audit: i18n('edit.audit')
|
|
1050
|
+
}
|
|
1051
|
+
},
|
|
1052
|
+
Delete: {
|
|
1053
|
+
key: 'delete',
|
|
1054
|
+
title: i18n('delete.title'),
|
|
1055
|
+
icon: 'fa-light fa-trash',
|
|
1056
|
+
color: 'danger',
|
|
1057
|
+
critical: true,
|
|
1058
|
+
descriptions: {
|
|
1059
|
+
button: i18n('delete.button'),
|
|
1060
|
+
tooltip: i18n('delete.tooltip'),
|
|
1061
|
+
permission: i18n('delete.permission'),
|
|
1062
|
+
audit: i18n('delete.audit')
|
|
1063
|
+
}
|
|
1064
|
+
},
|
|
1065
|
+
Approve: {
|
|
1066
|
+
key: 'approve',
|
|
1067
|
+
title: i18n('approve.title'),
|
|
1068
|
+
icon: 'fa-light fa-circle-check',
|
|
1069
|
+
color: 'success',
|
|
1070
|
+
critical: true,
|
|
1071
|
+
descriptions: {
|
|
1072
|
+
button: i18n('approve.button'),
|
|
1073
|
+
tooltip: i18n('approve.tooltip'),
|
|
1074
|
+
permission: i18n('approve.permission'),
|
|
1075
|
+
audit: i18n('approve.audit')
|
|
1076
|
+
}
|
|
1077
|
+
},
|
|
1078
|
+
Submit: {
|
|
1079
|
+
key: 'submit',
|
|
1080
|
+
title: i18n('submit.title'),
|
|
1081
|
+
icon: 'fa-light fa-paper-plane',
|
|
1082
|
+
color: 'primary',
|
|
1083
|
+
descriptions: {
|
|
1084
|
+
button: i18n('submit.button'),
|
|
1085
|
+
tooltip: i18n('submit.tooltip'),
|
|
1086
|
+
permission: i18n('submit.permission'),
|
|
1087
|
+
audit: i18n('submit.audit')
|
|
1088
|
+
}
|
|
1089
|
+
},
|
|
1090
|
+
Reject: {
|
|
1091
|
+
key: 'reject',
|
|
1092
|
+
title: i18n('reject.title'),
|
|
1093
|
+
icon: 'fa-light fa-ban',
|
|
1094
|
+
color: 'danger',
|
|
1095
|
+
critical: true,
|
|
1096
|
+
descriptions: {
|
|
1097
|
+
button: i18n('reject.button'),
|
|
1098
|
+
tooltip: i18n('reject.tooltip'),
|
|
1099
|
+
permission: i18n('reject.permission'),
|
|
1100
|
+
audit: i18n('reject.audit')
|
|
1101
|
+
}
|
|
1102
|
+
},
|
|
1103
|
+
Export: {
|
|
1104
|
+
key: 'export',
|
|
1105
|
+
title: i18n('export.title'),
|
|
1106
|
+
icon: 'fa-light fa-download',
|
|
1107
|
+
color: 'default',
|
|
1108
|
+
descriptions: {
|
|
1109
|
+
button: i18n('export.button'),
|
|
1110
|
+
tooltip: i18n('export.tooltip'),
|
|
1111
|
+
permission: i18n('export.permission'),
|
|
1112
|
+
audit: i18n('export.audit')
|
|
1113
|
+
}
|
|
1114
|
+
},
|
|
1115
|
+
Import: {
|
|
1116
|
+
key: 'import',
|
|
1117
|
+
title: i18n('import.title'),
|
|
1118
|
+
icon: 'fa-light fa-upload',
|
|
1119
|
+
color: 'default',
|
|
1120
|
+
descriptions: {
|
|
1121
|
+
button: i18n('import.button'),
|
|
1122
|
+
tooltip: i18n('import.tooltip'),
|
|
1123
|
+
permission: i18n('import.permission'),
|
|
1124
|
+
audit: i18n('import.audit')
|
|
1125
|
+
}
|
|
1126
|
+
},
|
|
1127
|
+
Print: {
|
|
1128
|
+
key: 'print',
|
|
1129
|
+
title: i18n('print.title'),
|
|
1130
|
+
icon: 'fa-light fa-print',
|
|
1131
|
+
color: 'default',
|
|
1132
|
+
descriptions: {
|
|
1133
|
+
button: i18n('print.button'),
|
|
1134
|
+
tooltip: i18n('print.tooltip'),
|
|
1135
|
+
permission: i18n('print.permission'),
|
|
1136
|
+
audit: i18n('print.audit')
|
|
1137
|
+
}
|
|
1138
|
+
},
|
|
1139
|
+
Duplicate: {
|
|
1140
|
+
key: 'duplicate',
|
|
1141
|
+
title: i18n('duplicate.title'),
|
|
1142
|
+
icon: 'fa-light fa-clone',
|
|
1143
|
+
color: 'warning',
|
|
1144
|
+
descriptions: {
|
|
1145
|
+
button: i18n('duplicate.button'),
|
|
1146
|
+
tooltip: i18n('duplicate.tooltip'),
|
|
1147
|
+
permission: i18n('duplicate.permission'),
|
|
1148
|
+
audit: i18n('duplicate.audit')
|
|
1149
|
+
}
|
|
1150
|
+
},
|
|
1151
|
+
Archive: {
|
|
1152
|
+
key: 'archive',
|
|
1153
|
+
title: i18n('archive.title'),
|
|
1154
|
+
icon: 'fa-light fa-box-archive',
|
|
1155
|
+
color: 'neutral',
|
|
1156
|
+
descriptions: {
|
|
1157
|
+
button: i18n('archive.button'),
|
|
1158
|
+
tooltip: i18n('archive.tooltip'),
|
|
1159
|
+
permission: i18n('archive.permission'),
|
|
1160
|
+
audit: i18n('archive.audit')
|
|
1161
|
+
}
|
|
1162
|
+
},
|
|
1163
|
+
Restore: {
|
|
1164
|
+
key: 'restore',
|
|
1165
|
+
title: i18n('restore.title'),
|
|
1166
|
+
icon: 'fa-light fa-arrow-rotate-left',
|
|
1167
|
+
color: 'info',
|
|
1168
|
+
descriptions: {
|
|
1169
|
+
button: i18n('restore.button'),
|
|
1170
|
+
tooltip: i18n('restore.tooltip'),
|
|
1171
|
+
permission: i18n('restore.permission'),
|
|
1172
|
+
audit: i18n('restore.audit')
|
|
1173
|
+
}
|
|
1174
|
+
},
|
|
1175
|
+
Assign: {
|
|
1176
|
+
key: 'assign',
|
|
1177
|
+
title: i18n('assign.title'),
|
|
1178
|
+
icon: 'fa-light fa-user-plus',
|
|
1179
|
+
color: 'primary',
|
|
1180
|
+
descriptions: {
|
|
1181
|
+
button: i18n('assign.button'),
|
|
1182
|
+
tooltip: i18n('assign.tooltip'),
|
|
1183
|
+
permission: i18n('assign.permission'),
|
|
1184
|
+
audit: i18n('assign.audit')
|
|
1185
|
+
}
|
|
1186
|
+
},
|
|
1187
|
+
Lock: {
|
|
1188
|
+
key: 'lock',
|
|
1189
|
+
title: i18n('lock.title'),
|
|
1190
|
+
icon: 'fa-light fa-lock',
|
|
1191
|
+
color: 'warning',
|
|
1192
|
+
descriptions: {
|
|
1193
|
+
button: i18n('lock.button'),
|
|
1194
|
+
tooltip: i18n('lock.tooltip'),
|
|
1195
|
+
permission: i18n('lock.permission'),
|
|
1196
|
+
audit: i18n('lock.audit')
|
|
1197
|
+
}
|
|
1198
|
+
},
|
|
1199
|
+
Unlock: {
|
|
1200
|
+
key: 'unlock',
|
|
1201
|
+
title: i18n('unlock.title'),
|
|
1202
|
+
icon: 'fa-light fa-unlock',
|
|
1203
|
+
color: 'success',
|
|
1204
|
+
descriptions: {
|
|
1205
|
+
button: i18n('unlock.button'),
|
|
1206
|
+
tooltip: i18n('unlock.tooltip'),
|
|
1207
|
+
permission: i18n('unlock.permission'),
|
|
1208
|
+
audit: i18n('unlock.audit')
|
|
1209
|
+
}
|
|
1210
|
+
},
|
|
1211
|
+
Share: {
|
|
1212
|
+
key: 'share',
|
|
1213
|
+
title: i18n('share.title'),
|
|
1214
|
+
icon: 'fa-light fa-share-nodes',
|
|
1215
|
+
color: 'info',
|
|
1216
|
+
descriptions: {
|
|
1217
|
+
button: i18n('share.button'),
|
|
1218
|
+
tooltip: i18n('share.tooltip'),
|
|
1219
|
+
permission: i18n('share.permission'),
|
|
1220
|
+
audit: i18n('share.audit')
|
|
1221
|
+
}
|
|
1222
|
+
},
|
|
1223
|
+
Configure: {
|
|
1224
|
+
key: 'configure',
|
|
1225
|
+
title: i18n('configure.title'),
|
|
1226
|
+
icon: 'fa-light fa-sliders',
|
|
1227
|
+
color: 'primary',
|
|
1228
|
+
descriptions: {
|
|
1229
|
+
button: i18n('configure.button'),
|
|
1230
|
+
tooltip: i18n('configure.tooltip'),
|
|
1231
|
+
permission: i18n('configure.permission'),
|
|
1232
|
+
audit: i18n('configure.audit')
|
|
1233
|
+
}
|
|
1234
|
+
},
|
|
1235
|
+
Reorder: {
|
|
1236
|
+
key: 'reorder',
|
|
1237
|
+
title: i18n('reorder.title'),
|
|
1238
|
+
icon: 'fa-light fa-arrow-down-up-across-line',
|
|
1239
|
+
color: 'default',
|
|
1240
|
+
descriptions: {
|
|
1241
|
+
button: i18n('reorder.button'),
|
|
1242
|
+
tooltip: i18n('reorder.tooltip'),
|
|
1243
|
+
permission: i18n('reorder.permission'),
|
|
1244
|
+
audit: i18n('reorder.audit')
|
|
1245
|
+
}
|
|
1246
|
+
},
|
|
1247
|
+
Preview: {
|
|
1248
|
+
key: 'preview',
|
|
1249
|
+
title: i18n('preview.title'),
|
|
1250
|
+
icon: 'fa-light fa-magnifying-glass',
|
|
1251
|
+
color: 'default',
|
|
1252
|
+
descriptions: {
|
|
1253
|
+
button: i18n('preview.button'),
|
|
1254
|
+
tooltip: i18n('preview.tooltip'),
|
|
1255
|
+
permission: i18n('preview.permission'),
|
|
1256
|
+
audit: i18n('preview.audit')
|
|
1257
|
+
}
|
|
1258
|
+
},
|
|
1259
|
+
Publish: {
|
|
1260
|
+
key: 'publish',
|
|
1261
|
+
title: i18n('publish.title'),
|
|
1262
|
+
icon: 'fa-light fa-globe',
|
|
1263
|
+
color: 'success',
|
|
1264
|
+
descriptions: {
|
|
1265
|
+
button: i18n('publish.button'),
|
|
1266
|
+
tooltip: i18n('publish.tooltip'),
|
|
1267
|
+
permission: i18n('publish.permission'),
|
|
1268
|
+
audit: i18n('publish.audit')
|
|
1269
|
+
}
|
|
1270
|
+
},
|
|
1271
|
+
Unpublish: {
|
|
1272
|
+
key: 'unpublish',
|
|
1273
|
+
title: i18n('unpublish.title'),
|
|
1274
|
+
icon: 'fa-light fa-globe-slash',
|
|
1275
|
+
color: 'neutral',
|
|
1276
|
+
descriptions: {
|
|
1277
|
+
button: i18n('unpublish.button'),
|
|
1278
|
+
tooltip: i18n('unpublish.tooltip'),
|
|
1279
|
+
permission: i18n('unpublish.permission'),
|
|
1280
|
+
audit: i18n('unpublish.audit')
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
});
|
|
1284
|
+
|
|
1014
1285
|
/**
|
|
1015
1286
|
* Generated bundle index. Do not edit.
|
|
1016
1287
|
*/
|
|
1017
1288
|
|
|
1018
|
-
export { AXHighlightService, AXPBroadcastEventService, AXPComponentLogoConfig, AXPCountdownPipe, AXPDataGenerator, AXPDblClickDirective, AXPElementDataDirective, AXPExpressionEvaluatorService, AXPFontIconLogoConfig, AXPGridLayoutDirective, AXPHtmlUtils, AXPImageUrlLogoConfig, AXPPlatformScope, AXPTextLogoConfig, applyFilterArray, applyPagination, applyQueryArray, applySortArray, extractNestedFieldsWildcard, extractValue, getNestedKeys, getSmart, objectKeyValueTransforms, resolvePlatformScopeKey, resolvePlatformScopeName, setSmart };
|
|
1289
|
+
export { AXHighlightService, AXPBroadcastEventService, AXPComponentLogoConfig, AXPCountdownPipe, AXPDataGenerator, AXPDblClickDirective, AXPElementDataDirective, AXPExpressionEvaluatorService, AXPFontIconLogoConfig, AXPGridLayoutDirective, AXPHtmlUtils, AXPImageUrlLogoConfig, AXPPlatformScope, AXPSystemActions, AXPTextLogoConfig, applyFilterArray, applyPagination, applyQueryArray, applySortArray, extractNestedFieldsWildcard, extractValue, getNestedKeys, getSmart, objectKeyValueTransforms, resolvePlatformScopeKey, resolvePlatformScopeName, setSmart };
|
|
1019
1290
|
//# sourceMappingURL=acorex-platform-core.mjs.map
|