@acorex/platform 20.3.0-next.4 → 20.3.0-next.6
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 +6 -6
- package/core/index.d.ts +187 -11
- package/fesm2022/acorex-platform-common.mjs +4 -52
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +243 -10
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +344 -212
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +3 -3
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-X0hLRZhX.mjs → acorex-platform-themes-default-entity-master-list-view.component-gQIK6PIx.mjs} +13 -15
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-gQIK6PIx.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +2 -2
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-designer.component-JC_nYunG.mjs → acorex-platform-widgets-checkbox-widget-designer.component-BXPrXy-h.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-designer.component-JC_nYunG.mjs.map → acorex-platform-widgets-checkbox-widget-designer.component-BXPrXy-h.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-color-box-widget-designer.component-CxgKO2VI.mjs → acorex-platform-widgets-color-box-widget-designer.component-BVZ7lWm9.mjs} +5 -5
- package/fesm2022/{acorex-platform-widgets-color-box-widget-designer.component-CxgKO2VI.mjs.map → acorex-platform-widgets-color-box-widget-designer.component-BVZ7lWm9.mjs.map} +1 -1
- package/fesm2022/acorex-platform-widgets.mjs +282 -210
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/layout/entity/index.d.ts +80 -3
- package/package.json +1 -1
- package/widgets/index.d.ts +9 -5
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-X0hLRZhX.mjs.map +0 -1
package/common/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { InjectionToken, OnChanges, ElementRef, Renderer2, SimpleChanges, EventE
|
|
|
3
3
|
import { AXStyleColorType, AXDataSourceOperator, AXDataSourceFilterOption } from '@acorex/cdk/common';
|
|
4
4
|
import * as i2 from '@acorex/components/popup';
|
|
5
5
|
import { AXPopupSizeType, AXPopupService } from '@acorex/components/popup';
|
|
6
|
-
import { AXPNavigateActionCommand, AXPExecuteCommand, AXPMetaData, AXPValueTransformerFunctions, AXPValidationRules, AXPOptionsData, AXPPlatformScope, AXPPlatformScopeKey, AXPWidgetTriggers, AXPAppStartUpService, AXPLogoConfig, AXPUserReference, AXPApplicationUserReference, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviderContext } from '@acorex/platform/core';
|
|
6
|
+
import { AXPNavigateActionCommand, AXPExecuteCommand, AXPMetaData, AXPSystemActionType, AXPValueTransformerFunctions, AXPValidationRules, AXPOptionsData, AXPPlatformScope, AXPPlatformScopeKey, AXPWidgetTriggers, AXPAppStartUpService, AXPLogoConfig, AXPUserReference, AXPApplicationUserReference, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviderContext } from '@acorex/platform/core';
|
|
7
7
|
import { AXPWidgetTypesMap, AXPWidgetNode, AXPMetaDataDefinition } from '@acorex/platform/layout/builder';
|
|
8
8
|
import * as i5 from '@angular/router';
|
|
9
9
|
import { Route, Routes } from '@angular/router';
|
|
@@ -233,7 +233,7 @@ interface AXPSearchDisplayResultForSave {
|
|
|
233
233
|
}
|
|
234
234
|
interface AXPSearchAction extends Partial<AXPCommandActionLook> {
|
|
235
235
|
name: string;
|
|
236
|
-
type:
|
|
236
|
+
type: AXPSystemActionType | string;
|
|
237
237
|
priority: AXPCommandActionPriority;
|
|
238
238
|
separated?: boolean;
|
|
239
239
|
}
|
|
@@ -462,7 +462,8 @@ interface AXPEntityQuery {
|
|
|
462
462
|
execute: string | Function;
|
|
463
463
|
type: AXPEntityQueryType;
|
|
464
464
|
}
|
|
465
|
-
|
|
465
|
+
|
|
466
|
+
type AXPCommandActionType = AXPSystemActionType;
|
|
466
467
|
interface AXPCommandActionLook {
|
|
467
468
|
color: AXStyleColorType;
|
|
468
469
|
icon: string;
|
|
@@ -491,7 +492,7 @@ interface AXPCommandActionDisplay extends Partial<AXPCommandActionLook> {
|
|
|
491
492
|
name?: string;
|
|
492
493
|
command: AXPCommandActionCallback;
|
|
493
494
|
title: string;
|
|
494
|
-
type:
|
|
495
|
+
type: AXPSystemActionType | string;
|
|
495
496
|
priority: 'primary' | 'secondary';
|
|
496
497
|
separated?: boolean;
|
|
497
498
|
permissions?: string[];
|
|
@@ -689,7 +690,6 @@ interface AXPQuerySort {
|
|
|
689
690
|
name: string;
|
|
690
691
|
dir: 'asc' | 'desc';
|
|
691
692
|
}
|
|
692
|
-
declare function resolveActionLook(tr: AXPEntityAction): AXPCommandActionLook;
|
|
693
693
|
|
|
694
694
|
interface AXPFilterOperator {
|
|
695
695
|
name: string;
|
|
@@ -1600,5 +1600,5 @@ declare class AXMWorkflowErrorHandler implements AXPErrorHandler {
|
|
|
1600
1600
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMWorkflowErrorHandler>;
|
|
1601
1601
|
}
|
|
1602
1602
|
|
|
1603
|
-
export { ALL_DEFAULT_OPERATORS, AXMWorkflowErrorHandler, AXPAppVersionService, AXPCleanNestedFilters, AXPClipBoardService, AXPCommonModule, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataProvider, AXPDialogConfirmAction, AXPEntityCommandScope, AXPEntityQueryType, AXPErrorHandlerRegistryService, AXPExportService, AXPFileStorageService, AXPFileStorageStatus, AXPFileTypeProviderService, AXPFilterOperatorMiddlewareService, AXPFilterOperatorMiddlewareServiceImpl, AXPFooterTextSlotComponent, AXPGlobalErrorHandler, AXPGlobalVariableDefinitionService, AXPGlobalVariableEvaluatorScopeProvider, AXPGridLayoutDirective, AXPHomePageModule, AXPHomePageService, AXPLockService, AXPLogoComponent, AXPMenuProviderService, AXPMenuSearchDefinitionProvider, AXPMenuSearchProvider, AXPMenuService, AXPNavBarSlotComponent, AXPNavigateWorkflow, AXPPlatformDefaultConfigs, AXPRedirectEvent, AXPRefreshEvent, AXPRelationshipCardinality, AXPRelationshipKind, AXPReloadAction, AXPReloadEvent, AXPSearchCommandProvider, AXPSearchDefinitionActionBuilder, AXPSearchDefinitionBuilder, AXPSearchDefinitionProviderContext, AXPSearchDefinitionProviderService, AXPSearchService, AXPSettingDefaultValuesAggregatorService, AXPSettingDefinitionGroupBuilder, AXPSettingDefinitionProviderContext, AXPSettingDefinitionProviderService, AXPSettingDefinitionSectionBuilder, AXPSettingService, AXPStickyDirective, AXPToastAction, AXPWorkflowNavigateAction, AXPWorkflowRouterNavigateAction, AXP_APP_VERSION_PROVIDER, AXP_FILE_TYPE_INFO_PROVIDER, AXP_GLOBAL_VARIABLE_DEFINITION_PROVIDER, AXP_HOME_PAGES, AXP_HOME_PAGE_DEFAULT_KEY, AXP_MENU_PROVIDER, AXP_PLATFORM_CONFIG_TOKEN, AXP_ROOT_CONFIG_TOKEN, AXP_SEARCH_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFAULT_VALUES_PROVIDERS, AXP_SETTING_DEFINITION_PROVIDER, AXP_SETTING_VALUE_PROVIDER, BETWEEN_OPER, BOOLEAN_OPERATORS, CONTAINS_OPER, DATE_OPERATORS, ENDS_WITH_OPER, ENVIRONMENT, EQ_OPER, GTE_OPER, GT_OPER, IN_OPER, IS_EMPTY_OPER, IS_NOT_EMPTY_OPER, LTE_OPER, LT_OPER, NOT_CONTAINS_OPER, NOT_EQ_OPER, NUMBER_OPERATORS, STARTS_WITH_OPER, STRING_OPERATORS, configPlatform, createAllQueryView, createQueryView, getEntityInfo, provideDynamicHomePage
|
|
1603
|
+
export { ALL_DEFAULT_OPERATORS, AXMWorkflowErrorHandler, AXPAppVersionService, AXPCleanNestedFilters, AXPClipBoardService, AXPCommonModule, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataProvider, AXPDialogConfirmAction, AXPEntityCommandScope, AXPEntityQueryType, AXPErrorHandlerRegistryService, AXPExportService, AXPFileStorageService, AXPFileStorageStatus, AXPFileTypeProviderService, AXPFilterOperatorMiddlewareService, AXPFilterOperatorMiddlewareServiceImpl, AXPFooterTextSlotComponent, AXPGlobalErrorHandler, AXPGlobalVariableDefinitionService, AXPGlobalVariableEvaluatorScopeProvider, AXPGridLayoutDirective, AXPHomePageModule, AXPHomePageService, AXPLockService, AXPLogoComponent, AXPMenuProviderService, AXPMenuSearchDefinitionProvider, AXPMenuSearchProvider, AXPMenuService, AXPNavBarSlotComponent, AXPNavigateWorkflow, AXPPlatformDefaultConfigs, AXPRedirectEvent, AXPRefreshEvent, AXPRelationshipCardinality, AXPRelationshipKind, AXPReloadAction, AXPReloadEvent, AXPSearchCommandProvider, AXPSearchDefinitionActionBuilder, AXPSearchDefinitionBuilder, AXPSearchDefinitionProviderContext, AXPSearchDefinitionProviderService, AXPSearchService, AXPSettingDefaultValuesAggregatorService, AXPSettingDefinitionGroupBuilder, AXPSettingDefinitionProviderContext, AXPSettingDefinitionProviderService, AXPSettingDefinitionSectionBuilder, AXPSettingService, AXPStickyDirective, AXPToastAction, AXPWorkflowNavigateAction, AXPWorkflowRouterNavigateAction, AXP_APP_VERSION_PROVIDER, AXP_FILE_TYPE_INFO_PROVIDER, AXP_GLOBAL_VARIABLE_DEFINITION_PROVIDER, AXP_HOME_PAGES, AXP_HOME_PAGE_DEFAULT_KEY, AXP_MENU_PROVIDER, AXP_PLATFORM_CONFIG_TOKEN, AXP_ROOT_CONFIG_TOKEN, AXP_SEARCH_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFAULT_VALUES_PROVIDERS, AXP_SETTING_DEFINITION_PROVIDER, AXP_SETTING_VALUE_PROVIDER, BETWEEN_OPER, BOOLEAN_OPERATORS, CONTAINS_OPER, DATE_OPERATORS, ENDS_WITH_OPER, ENVIRONMENT, EQ_OPER, GTE_OPER, GT_OPER, IN_OPER, IS_EMPTY_OPER, IS_NOT_EMPTY_OPER, LTE_OPER, LT_OPER, NOT_CONTAINS_OPER, NOT_EQ_OPER, NUMBER_OPERATORS, STARTS_WITH_OPER, STRING_OPERATORS, configPlatform, createAllQueryView, createQueryView, getEntityInfo, provideDynamicHomePage };
|
|
1604
1604
|
export type { AXEntityPropertyWidget, AXPAggregate, AXPAppVersion, AXPAppVersionProvider, AXPApplication, AXPCategoryEntity, AXPCommandActionCallback, AXPCommandActionDisplay, AXPCommandActionLook, AXPCommandActionPriority, AXPCommandActionType, AXPCommonModuleConfigs, AXPCurrency, AXPDomToImageOptions, AXPEntity, AXPEntityAction, AXPEntityCommand, AXPEntityDetailListView, AXPEntityMasterCreateLayoutView, AXPEntityMasterLayoutView, AXPEntityMasterListView, AXPEntityMasterSingleLayoutView, AXPEntityMasterUpdateLayoutView, AXPEntityProperty, AXPEntityPropertyCreateView, AXPEntityPropertyGroup, AXPEntityPropertyLayoutConfig, AXPEntityPropertyUpdateView, AXPEntityPropertyView, AXPEntityQuery, AXPEntitySectionView, AXPEntityTableColumn, AXPEntityVersionHistory, AXPErrorHandler, AXPFileExtension, AXPFileManyStorageInfo, AXPFileStorageCreateRequest, AXPFileStorageFindRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileType, AXPFileTypeInfoProvider, AXPFilterOperator, AXPGeoLocation, AXPGlobalVariableDefinition, AXPGlobalVariableDefinitionProvider, AXPGlobalVariableDefinitionProviderToken, AXPGridLayoutOptions, AXPGridLayoutPositions, AXPGroupSearchResult, AXPHomePageDefinition, AXPLanguage, AXPLocaleProfile, AXPLockGetInfoRequest, AXPLockInfo, AXPLockRequest, AXPLockType, AXPMenuFinderResult, AXPMenuInsertion, AXPMenuItem, AXPMenuItemCommand, AXPMenuItemWithParent, AXPMenuProvider, AXPMenuProviderContext, AXPMenuType, AXPModule, AXPPlatformConfigs, AXPQueryFilter, AXPQuerySort, AXPQueryView, AXPRelatedEntity, AXPRelationship, AXPRootConfigs, AXPSearchAction, AXPSearchDefinition, AXPSearchDefinitionDisplayFormat, AXPSearchDefinitionProvider, AXPSearchDisplayGroupResult, AXPSearchDisplayResult, AXPSearchDisplayResultForSave, AXPSearchParentResult, AXPSearchProvider, AXPSearchResult, AXPSettingChangedEvent, AXPSettingDefaultValuesProvider, AXPSettingDefinition, AXPSettingDefinitionGroup, AXPSettingDefinitionProvider, AXPSettingDefinitionSection, AXPSettingServiceInterface, AXPSettingValue, AXPSettingValueProvider, AXPTimeZone, AXPUnLockRequest };
|
package/core/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _ngrx_signals from '@ngrx/signals';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { Type, InjectionToken, OnInit, ElementRef, EventEmitter, OnChanges, Renderer2, SimpleChanges, ViewContainerRef, OnDestroy, PipeTransform } from '@angular/core';
|
|
4
|
-
import { AXDataSource, AXDataSourceSortOption, AXDataSourceFilterOption, AXDataSourceQuery, AXDataSourceCallbackResult } from '@acorex/cdk/common';
|
|
4
|
+
import { AXStyleColorType, AXDataSource, AXDataSourceSortOption, AXDataSourceFilterOption, AXDataSourceQuery, AXDataSourceCallbackResult } from '@acorex/cdk/common';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
import { NavigationExtras } from '@angular/router';
|
|
7
7
|
|
|
@@ -107,7 +107,19 @@ declare enum AXPSystemActionType {
|
|
|
107
107
|
Move = "move",
|
|
108
108
|
Rename = "rename",
|
|
109
109
|
Restore = "restore",
|
|
110
|
-
Manage = "manage"
|
|
110
|
+
Manage = "manage",
|
|
111
|
+
Info = "info",
|
|
112
|
+
Confirm = "confirm",
|
|
113
|
+
Design = "design",
|
|
114
|
+
VersionHistory = "version-history",
|
|
115
|
+
Compare = "compare",
|
|
116
|
+
Comments = "comments",
|
|
117
|
+
Sign = "sign",
|
|
118
|
+
Setup = "setup",
|
|
119
|
+
Send = "send",
|
|
120
|
+
Report = "report",
|
|
121
|
+
Sent = "sent",
|
|
122
|
+
Review = "review"
|
|
111
123
|
}
|
|
112
124
|
interface AXPSystemAction {
|
|
113
125
|
key: string;
|
|
@@ -127,7 +139,7 @@ declare const AXPSystemActions: Readonly<{
|
|
|
127
139
|
readonly key: AXPSystemActionType.View;
|
|
128
140
|
readonly title: string;
|
|
129
141
|
readonly icon: "fa-light fa-eye";
|
|
130
|
-
readonly color: "
|
|
142
|
+
readonly color: "primary";
|
|
131
143
|
readonly descriptions: {
|
|
132
144
|
readonly button: string;
|
|
133
145
|
readonly tooltip: string;
|
|
@@ -139,7 +151,7 @@ declare const AXPSystemActions: Readonly<{
|
|
|
139
151
|
readonly key: AXPSystemActionType.Create;
|
|
140
152
|
readonly title: string;
|
|
141
153
|
readonly icon: "fa-light fa-plus";
|
|
142
|
-
readonly color: "
|
|
154
|
+
readonly color: "primary";
|
|
143
155
|
readonly descriptions: {
|
|
144
156
|
readonly button: string;
|
|
145
157
|
readonly tooltip: string;
|
|
@@ -151,7 +163,7 @@ declare const AXPSystemActions: Readonly<{
|
|
|
151
163
|
readonly key: AXPSystemActionType.Update;
|
|
152
164
|
readonly title: string;
|
|
153
165
|
readonly icon: "fa-light fa-pen";
|
|
154
|
-
readonly color: "
|
|
166
|
+
readonly color: "default";
|
|
155
167
|
readonly descriptions: {
|
|
156
168
|
readonly button: string;
|
|
157
169
|
readonly tooltip: string;
|
|
@@ -262,7 +274,7 @@ declare const AXPSystemActions: Readonly<{
|
|
|
262
274
|
readonly key: AXPSystemActionType.Archive;
|
|
263
275
|
readonly title: string;
|
|
264
276
|
readonly icon: "fa-light fa-box-archive";
|
|
265
|
-
readonly color: "
|
|
277
|
+
readonly color: "default";
|
|
266
278
|
readonly descriptions: {
|
|
267
279
|
readonly button: string;
|
|
268
280
|
readonly tooltip: string;
|
|
@@ -274,7 +286,7 @@ declare const AXPSystemActions: Readonly<{
|
|
|
274
286
|
readonly key: AXPSystemActionType.Restore;
|
|
275
287
|
readonly title: string;
|
|
276
288
|
readonly icon: "fa-light fa-arrow-rotate-left";
|
|
277
|
-
readonly color: "
|
|
289
|
+
readonly color: "default";
|
|
278
290
|
readonly descriptions: {
|
|
279
291
|
readonly button: string;
|
|
280
292
|
readonly tooltip: string;
|
|
@@ -394,7 +406,7 @@ declare const AXPSystemActions: Readonly<{
|
|
|
394
406
|
readonly key: AXPSystemActionType.Upload;
|
|
395
407
|
readonly title: string;
|
|
396
408
|
readonly icon: "fa-light fa-upload";
|
|
397
|
-
readonly color: "
|
|
409
|
+
readonly color: "default";
|
|
398
410
|
readonly descriptions: {
|
|
399
411
|
readonly button: string;
|
|
400
412
|
readonly tooltip: string;
|
|
@@ -406,7 +418,7 @@ declare const AXPSystemActions: Readonly<{
|
|
|
406
418
|
readonly key: AXPSystemActionType.Download;
|
|
407
419
|
readonly title: string;
|
|
408
420
|
readonly icon: "fa-light fa-download";
|
|
409
|
-
readonly color: "
|
|
421
|
+
readonly color: "default";
|
|
410
422
|
readonly descriptions: {
|
|
411
423
|
readonly button: string;
|
|
412
424
|
readonly tooltip: string;
|
|
@@ -418,7 +430,7 @@ declare const AXPSystemActions: Readonly<{
|
|
|
418
430
|
readonly key: AXPSystemActionType.Copy;
|
|
419
431
|
readonly title: string;
|
|
420
432
|
readonly icon: "fa-light fa-copy";
|
|
421
|
-
readonly color: "
|
|
433
|
+
readonly color: "default";
|
|
422
434
|
readonly descriptions: {
|
|
423
435
|
readonly button: string;
|
|
424
436
|
readonly tooltip: string;
|
|
@@ -450,8 +462,172 @@ declare const AXPSystemActions: Readonly<{
|
|
|
450
462
|
readonly audit: string;
|
|
451
463
|
};
|
|
452
464
|
};
|
|
465
|
+
readonly Manage: {
|
|
466
|
+
readonly key: AXPSystemActionType.Manage;
|
|
467
|
+
readonly title: string;
|
|
468
|
+
readonly icon: "fa-light fa-gear";
|
|
469
|
+
readonly color: "default";
|
|
470
|
+
readonly descriptions: {
|
|
471
|
+
readonly button: string;
|
|
472
|
+
readonly tooltip: string;
|
|
473
|
+
readonly permission: string;
|
|
474
|
+
readonly audit: string;
|
|
475
|
+
};
|
|
476
|
+
};
|
|
477
|
+
readonly Info: {
|
|
478
|
+
readonly key: AXPSystemActionType.Info;
|
|
479
|
+
readonly title: string;
|
|
480
|
+
readonly icon: "fa-light fa-info";
|
|
481
|
+
readonly color: "default";
|
|
482
|
+
readonly descriptions: {
|
|
483
|
+
readonly button: string;
|
|
484
|
+
readonly tooltip: string;
|
|
485
|
+
readonly permission: string;
|
|
486
|
+
readonly audit: string;
|
|
487
|
+
};
|
|
488
|
+
};
|
|
489
|
+
readonly Confirm: {
|
|
490
|
+
readonly key: AXPSystemActionType.Confirm;
|
|
491
|
+
readonly title: string;
|
|
492
|
+
readonly icon: "fa-light fa-check";
|
|
493
|
+
readonly color: "success";
|
|
494
|
+
readonly descriptions: {
|
|
495
|
+
readonly button: string;
|
|
496
|
+
readonly tooltip: string;
|
|
497
|
+
readonly permission: string;
|
|
498
|
+
readonly audit: string;
|
|
499
|
+
};
|
|
500
|
+
};
|
|
501
|
+
readonly Design: {
|
|
502
|
+
readonly key: AXPSystemActionType.Design;
|
|
503
|
+
readonly title: string;
|
|
504
|
+
readonly icon: "fa-light fa-paintbrush";
|
|
505
|
+
readonly color: "default";
|
|
506
|
+
readonly descriptions: {
|
|
507
|
+
readonly button: string;
|
|
508
|
+
readonly tooltip: string;
|
|
509
|
+
readonly permission: string;
|
|
510
|
+
readonly audit: string;
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
readonly VersionHistory: {
|
|
514
|
+
readonly key: AXPSystemActionType.VersionHistory;
|
|
515
|
+
readonly title: string;
|
|
516
|
+
readonly icon: "fa-light fa-history";
|
|
517
|
+
readonly color: "default";
|
|
518
|
+
readonly descriptions: {
|
|
519
|
+
readonly button: string;
|
|
520
|
+
readonly tooltip: string;
|
|
521
|
+
readonly permission: string;
|
|
522
|
+
readonly audit: string;
|
|
523
|
+
};
|
|
524
|
+
};
|
|
525
|
+
readonly Compare: {
|
|
526
|
+
readonly key: AXPSystemActionType.Compare;
|
|
527
|
+
readonly title: string;
|
|
528
|
+
readonly icon: "fa-light fa-code-compare";
|
|
529
|
+
readonly color: "default";
|
|
530
|
+
readonly descriptions: {
|
|
531
|
+
readonly button: string;
|
|
532
|
+
readonly tooltip: string;
|
|
533
|
+
readonly permission: string;
|
|
534
|
+
readonly audit: string;
|
|
535
|
+
};
|
|
536
|
+
};
|
|
537
|
+
readonly Comments: {
|
|
538
|
+
readonly key: AXPSystemActionType.Comments;
|
|
539
|
+
readonly title: string;
|
|
540
|
+
readonly icon: "fa-light fa-comments";
|
|
541
|
+
readonly color: "default";
|
|
542
|
+
readonly descriptions: {
|
|
543
|
+
readonly button: string;
|
|
544
|
+
readonly tooltip: string;
|
|
545
|
+
readonly permission: string;
|
|
546
|
+
readonly audit: string;
|
|
547
|
+
};
|
|
548
|
+
};
|
|
549
|
+
readonly Sign: {
|
|
550
|
+
readonly key: AXPSystemActionType.Sign;
|
|
551
|
+
readonly title: string;
|
|
552
|
+
readonly icon: "fa-light fa-signature";
|
|
553
|
+
readonly color: "default";
|
|
554
|
+
readonly descriptions: {
|
|
555
|
+
readonly button: string;
|
|
556
|
+
readonly tooltip: string;
|
|
557
|
+
readonly permission: string;
|
|
558
|
+
readonly audit: string;
|
|
559
|
+
};
|
|
560
|
+
};
|
|
561
|
+
readonly Setup: {
|
|
562
|
+
readonly key: AXPSystemActionType.Setup;
|
|
563
|
+
readonly title: string;
|
|
564
|
+
readonly icon: "fa-light fa-cog";
|
|
565
|
+
readonly color: "default";
|
|
566
|
+
readonly descriptions: {
|
|
567
|
+
readonly button: string;
|
|
568
|
+
readonly tooltip: string;
|
|
569
|
+
readonly permission: string;
|
|
570
|
+
readonly audit: string;
|
|
571
|
+
};
|
|
572
|
+
};
|
|
573
|
+
readonly Send: {
|
|
574
|
+
readonly key: AXPSystemActionType.Send;
|
|
575
|
+
readonly title: string;
|
|
576
|
+
readonly icon: "fa-light fa-envelope";
|
|
577
|
+
readonly color: "default";
|
|
578
|
+
readonly descriptions: {
|
|
579
|
+
readonly button: string;
|
|
580
|
+
readonly tooltip: string;
|
|
581
|
+
readonly permission: string;
|
|
582
|
+
readonly audit: string;
|
|
583
|
+
};
|
|
584
|
+
};
|
|
585
|
+
readonly Report: {
|
|
586
|
+
readonly key: AXPSystemActionType.Report;
|
|
587
|
+
readonly title: string;
|
|
588
|
+
readonly icon: "fa-light fa-chart-line";
|
|
589
|
+
readonly color: "default";
|
|
590
|
+
readonly descriptions: {
|
|
591
|
+
readonly button: string;
|
|
592
|
+
readonly tooltip: string;
|
|
593
|
+
readonly permission: string;
|
|
594
|
+
readonly audit: string;
|
|
595
|
+
};
|
|
596
|
+
};
|
|
597
|
+
readonly Sent: {
|
|
598
|
+
readonly key: AXPSystemActionType.Sent;
|
|
599
|
+
readonly title: string;
|
|
600
|
+
readonly icon: "fa-light fa-paper-plane";
|
|
601
|
+
readonly color: "default";
|
|
602
|
+
readonly descriptions: {
|
|
603
|
+
readonly button: string;
|
|
604
|
+
readonly tooltip: string;
|
|
605
|
+
readonly permission: string;
|
|
606
|
+
readonly audit: string;
|
|
607
|
+
};
|
|
608
|
+
};
|
|
609
|
+
readonly Review: {
|
|
610
|
+
readonly key: AXPSystemActionType.Review;
|
|
611
|
+
readonly title: string;
|
|
612
|
+
readonly icon: "fa-light fa-eye";
|
|
613
|
+
readonly color: "default";
|
|
614
|
+
readonly descriptions: {
|
|
615
|
+
readonly button: string;
|
|
616
|
+
readonly tooltip: string;
|
|
617
|
+
readonly permission: string;
|
|
618
|
+
readonly audit: string;
|
|
619
|
+
};
|
|
620
|
+
};
|
|
453
621
|
}>;
|
|
454
622
|
declare function getSystemActions(type: AXPSystemActionType): AXPSystemAction;
|
|
623
|
+
/**
|
|
624
|
+
* Resolves the visual appearance (color and icon) for entity actions
|
|
625
|
+
* using the system actions from the core module.
|
|
626
|
+
*/
|
|
627
|
+
declare function resolveActionLook(actionType: string): {
|
|
628
|
+
color: AXStyleColorType;
|
|
629
|
+
icon: string;
|
|
630
|
+
};
|
|
455
631
|
|
|
456
632
|
interface AXPColumnQuery {
|
|
457
633
|
name: string;
|
|
@@ -1233,5 +1409,5 @@ declare class AXPHookService {
|
|
|
1233
1409
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPHookService>;
|
|
1234
1410
|
}
|
|
1235
1411
|
|
|
1236
|
-
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, resolvePlatformScopeKey, resolvePlatformScopeName, setSmart };
|
|
1412
|
+
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 };
|
|
1237
1413
|
export type { AXPActionMenuItem, AXPActivityLog, AXPActivityLogChange, AXPApplicationUserReference, AXPBackButton, AXPBadge, AXPBreadcrumbItem, AXPCategorizedEntity, AXPCategorizedEntityDto, AXPCategoryEntity, AXPCategoryEntityWithItems, AXPColumnQuery, AXPContent, AXPContentDirection, AXPContentType, AXPContextData, AXPContextState, AXPDataSource, AXPDataSourceDataFieldDefinition, AXPDataSourceDefinition, AXPDataSourceDefinitionProvider, AXPDataType, AXPDistributedEventListenerProvider, AXPDistributedEventListenerProviderToken, AXPEntityReference, AXPEqualValidationRule, AXPExecuteCommand, AXPExecuteCommandResult, AXPExportCsvOptions, AXPExportExcelOptions, AXPExportOptions, AXPExportPdfOptions, AXPExportPrintOptions, AXPExpression, AXPExpressionEvaluatorScope, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviders, AXPFileListItem, AXPFileSource, AXPFileStatus, AXPFilterDefinition, AXPFilterLogic, AXPFilterOperation, AXPFilterQuery, AXPFlowDirection, AXPGridLayoutOptions, AXPGridPlacement, AXPLogoConfig, AXPMaxLengthValidationRule, AXPMetaData, AXPMinLengthValidationRule, AXPNavigateActionCommand, AXPNavigateActionOptions, AXPOptionsData, AXPPagedListResult, AXPPartialNested, AXPPlatformScopeKey, AXPQueryFetchResult, AXPQueryRequest, AXPReqexValidationRule, AXPRequiredValidationRule, AXPSortDefinition, AXPSortQuery, AXPStartUpTask, AXPStringValidationRules, AXPSystemAction, AXPUserReference, AXPValidationRule, AXPValidationRules, AXPValueTransformerFunction, AXPValueTransformerFunctions, AXPValueUnit, AXPValueUnits, AXPViewBlockDefinition, AXPViewDefinition, AXPViewFieldDefinition, AXPViewQuery, AXPWidgetTrigger, AXPWidgetTriggers };
|
|
@@ -5,7 +5,7 @@ import { Router, ROUTES, RouterModule } from '@angular/router';
|
|
|
5
5
|
import { AXPSessionService, AXPSessionStatus } from '@acorex/platform/auth';
|
|
6
6
|
import { Subject, distinctUntilChanged, merge as merge$1 } from 'rxjs';
|
|
7
7
|
import * as i1$1 from '@acorex/platform/core';
|
|
8
|
-
import { AXPPlatformScope, AXPBroadcastEventService, objectKeyValueTransforms, AXPComponentLogoConfig, AXPImageUrlLogoConfig, AXPAppStartUpProvider, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER } from '@acorex/platform/core';
|
|
8
|
+
import { AXPPlatformScope, AXPBroadcastEventService, objectKeyValueTransforms, AXPComponentLogoConfig, AXPImageUrlLogoConfig, AXPSystemActionType, AXPAppStartUpProvider, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER } from '@acorex/platform/core';
|
|
9
9
|
import { AXTranslationService } from '@acorex/core/translation';
|
|
10
10
|
import { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
|
|
11
11
|
import { AXPopupModule, AXPopupService } from '@acorex/components/popup';
|
|
@@ -132,54 +132,6 @@ function createAllQueryView(params = {
|
|
|
132
132
|
sorts: params.sorts ?? [],
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
|
-
//TODO: check with actions in core module
|
|
136
|
-
function resolveActionLook(tr) {
|
|
137
|
-
const icon = 'fa-light';
|
|
138
|
-
switch (tr.type) {
|
|
139
|
-
case 'create':
|
|
140
|
-
return { color: 'primary', icon: `${icon} fa-add` };
|
|
141
|
-
case 'view':
|
|
142
|
-
return { color: 'primary', icon: `${icon} fa-eye` };
|
|
143
|
-
case 'info':
|
|
144
|
-
return { color: 'default', icon: `${icon} fa-info` };
|
|
145
|
-
case 'delete':
|
|
146
|
-
return { color: 'danger', icon: `${icon} fa-trash-can` };
|
|
147
|
-
case 'copy':
|
|
148
|
-
return { color: 'default', icon: `${icon} fa-copy` };
|
|
149
|
-
case 'update':
|
|
150
|
-
return { color: 'default', icon: `${icon} fa-pen` };
|
|
151
|
-
case 'print':
|
|
152
|
-
return { color: 'default', icon: `${icon} fa-print` };
|
|
153
|
-
case 'confirm':
|
|
154
|
-
return { color: 'success', icon: `${icon} fa-check` };
|
|
155
|
-
case 'archive':
|
|
156
|
-
return { color: 'warning', icon: `${icon} fa-archive` };
|
|
157
|
-
case 'design':
|
|
158
|
-
return { color: 'success', icon: `${icon} fa-paintbrush` };
|
|
159
|
-
case 'version-history':
|
|
160
|
-
return { color: 'default', icon: `${icon} fa-history` };
|
|
161
|
-
case 'upload':
|
|
162
|
-
return { color: 'default', icon: `${icon} fa-upload` };
|
|
163
|
-
case 'lock':
|
|
164
|
-
return { color: 'default', icon: `${icon} fa-lock` };
|
|
165
|
-
case 'unlock':
|
|
166
|
-
return { color: 'default', icon: `${icon} fa-unlock` };
|
|
167
|
-
case 'compare':
|
|
168
|
-
return { color: 'default', icon: `${icon} fa-code-compare` };
|
|
169
|
-
case 'comments':
|
|
170
|
-
return { color: 'default', icon: `${icon} fa-comments` };
|
|
171
|
-
case 'assign':
|
|
172
|
-
return { color: 'default', icon: `${icon} fa-rotate-left` };
|
|
173
|
-
case 'sign':
|
|
174
|
-
return { color: 'default', icon: `${icon} fa-signature` };
|
|
175
|
-
case 'setup':
|
|
176
|
-
return { color: 'default', icon: `${icon} fa-cog` };
|
|
177
|
-
case 'send':
|
|
178
|
-
return { color: 'default', icon: `${icon} fa-envelope` };
|
|
179
|
-
default:
|
|
180
|
-
return { color: 'default', icon: '' };
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
135
|
|
|
184
136
|
const EQ_OPER = { name: 'equal', title: 'Equal', hasValue: true };
|
|
185
137
|
const NOT_EQ_OPER = { name: 'notEqual', title: 'Not Equal', hasValue: true };
|
|
@@ -1624,7 +1576,7 @@ class AXPMenuSearchDefinitionProvider {
|
|
|
1624
1576
|
actions: [
|
|
1625
1577
|
{
|
|
1626
1578
|
name: 'navigate',
|
|
1627
|
-
type:
|
|
1579
|
+
type: AXPSystemActionType.View,
|
|
1628
1580
|
priority: 'primary',
|
|
1629
1581
|
},
|
|
1630
1582
|
],
|
|
@@ -1778,7 +1730,7 @@ class AXPSearchDefinitionBuilder {
|
|
|
1778
1730
|
addAction(name) {
|
|
1779
1731
|
const newAction = {
|
|
1780
1732
|
name,
|
|
1781
|
-
type:
|
|
1733
|
+
type: AXPSystemActionType.View,
|
|
1782
1734
|
priority: 'primary',
|
|
1783
1735
|
};
|
|
1784
1736
|
this.definition.actions.push(newAction);
|
|
@@ -2667,5 +2619,5 @@ function AXPCleanNestedFilters(filters) {
|
|
|
2667
2619
|
* Generated bundle index. Do not edit.
|
|
2668
2620
|
*/
|
|
2669
2621
|
|
|
2670
|
-
export { ALL_DEFAULT_OPERATORS, AXMWorkflowErrorHandler, AXPAppVersionService, AXPCleanNestedFilters, AXPClipBoardService, AXPCommonModule, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataProvider, AXPDialogConfirmAction, AXPEntityCommandScope, AXPEntityQueryType, AXPErrorHandlerRegistryService, AXPExportService, AXPFileStorageService, AXPFileStorageStatus, AXPFileTypeProviderService, AXPFilterOperatorMiddlewareService, AXPFilterOperatorMiddlewareServiceImpl, AXPFooterTextSlotComponent, AXPGlobalErrorHandler, AXPGlobalVariableDefinitionService, AXPGlobalVariableEvaluatorScopeProvider, AXPGridLayoutDirective, AXPHomePageModule, AXPHomePageService, AXPLockService, AXPLogoComponent, AXPMenuProviderService, AXPMenuSearchDefinitionProvider, AXPMenuSearchProvider, AXPMenuService, AXPNavBarSlotComponent, AXPNavigateWorkflow, AXPPlatformDefaultConfigs, AXPRedirectEvent, AXPRefreshEvent, AXPRelationshipCardinality, AXPRelationshipKind, AXPReloadAction, AXPReloadEvent, AXPSearchCommandProvider, AXPSearchDefinitionActionBuilder, AXPSearchDefinitionBuilder, AXPSearchDefinitionProviderContext, AXPSearchDefinitionProviderService, AXPSearchService, AXPSettingDefaultValuesAggregatorService, AXPSettingDefinitionGroupBuilder, AXPSettingDefinitionProviderContext, AXPSettingDefinitionProviderService, AXPSettingDefinitionSectionBuilder, AXPSettingService, AXPStickyDirective, AXPToastAction, AXPWorkflowNavigateAction, AXPWorkflowRouterNavigateAction, AXP_APP_VERSION_PROVIDER, AXP_FILE_TYPE_INFO_PROVIDER, AXP_GLOBAL_VARIABLE_DEFINITION_PROVIDER, AXP_HOME_PAGES, AXP_HOME_PAGE_DEFAULT_KEY, AXP_MENU_PROVIDER, AXP_PLATFORM_CONFIG_TOKEN, AXP_ROOT_CONFIG_TOKEN, AXP_SEARCH_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFAULT_VALUES_PROVIDERS, AXP_SETTING_DEFINITION_PROVIDER, AXP_SETTING_VALUE_PROVIDER, BETWEEN_OPER, BOOLEAN_OPERATORS, CONTAINS_OPER, DATE_OPERATORS, ENDS_WITH_OPER, ENVIRONMENT, EQ_OPER, GTE_OPER, GT_OPER, IN_OPER, IS_EMPTY_OPER, IS_NOT_EMPTY_OPER, LTE_OPER, LT_OPER, NOT_CONTAINS_OPER, NOT_EQ_OPER, NUMBER_OPERATORS, STARTS_WITH_OPER, STRING_OPERATORS, configPlatform, createAllQueryView, createQueryView, getEntityInfo, provideDynamicHomePage
|
|
2622
|
+
export { ALL_DEFAULT_OPERATORS, AXMWorkflowErrorHandler, AXPAppVersionService, AXPCleanNestedFilters, AXPClipBoardService, AXPCommonModule, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataProvider, AXPDialogConfirmAction, AXPEntityCommandScope, AXPEntityQueryType, AXPErrorHandlerRegistryService, AXPExportService, AXPFileStorageService, AXPFileStorageStatus, AXPFileTypeProviderService, AXPFilterOperatorMiddlewareService, AXPFilterOperatorMiddlewareServiceImpl, AXPFooterTextSlotComponent, AXPGlobalErrorHandler, AXPGlobalVariableDefinitionService, AXPGlobalVariableEvaluatorScopeProvider, AXPGridLayoutDirective, AXPHomePageModule, AXPHomePageService, AXPLockService, AXPLogoComponent, AXPMenuProviderService, AXPMenuSearchDefinitionProvider, AXPMenuSearchProvider, AXPMenuService, AXPNavBarSlotComponent, AXPNavigateWorkflow, AXPPlatformDefaultConfigs, AXPRedirectEvent, AXPRefreshEvent, AXPRelationshipCardinality, AXPRelationshipKind, AXPReloadAction, AXPReloadEvent, AXPSearchCommandProvider, AXPSearchDefinitionActionBuilder, AXPSearchDefinitionBuilder, AXPSearchDefinitionProviderContext, AXPSearchDefinitionProviderService, AXPSearchService, AXPSettingDefaultValuesAggregatorService, AXPSettingDefinitionGroupBuilder, AXPSettingDefinitionProviderContext, AXPSettingDefinitionProviderService, AXPSettingDefinitionSectionBuilder, AXPSettingService, AXPStickyDirective, AXPToastAction, AXPWorkflowNavigateAction, AXPWorkflowRouterNavigateAction, AXP_APP_VERSION_PROVIDER, AXP_FILE_TYPE_INFO_PROVIDER, AXP_GLOBAL_VARIABLE_DEFINITION_PROVIDER, AXP_HOME_PAGES, AXP_HOME_PAGE_DEFAULT_KEY, AXP_MENU_PROVIDER, AXP_PLATFORM_CONFIG_TOKEN, AXP_ROOT_CONFIG_TOKEN, AXP_SEARCH_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFAULT_VALUES_PROVIDERS, AXP_SETTING_DEFINITION_PROVIDER, AXP_SETTING_VALUE_PROVIDER, BETWEEN_OPER, BOOLEAN_OPERATORS, CONTAINS_OPER, DATE_OPERATORS, ENDS_WITH_OPER, ENVIRONMENT, EQ_OPER, GTE_OPER, GT_OPER, IN_OPER, IS_EMPTY_OPER, IS_NOT_EMPTY_OPER, LTE_OPER, LT_OPER, NOT_CONTAINS_OPER, NOT_EQ_OPER, NUMBER_OPERATORS, STARTS_WITH_OPER, STRING_OPERATORS, configPlatform, createAllQueryView, createQueryView, getEntityInfo, provideDynamicHomePage };
|
|
2671
2623
|
//# sourceMappingURL=acorex-platform-common.mjs.map
|