@acorex/platform 21.0.0-next.2 → 21.0.0-next.3
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/index.d.ts +97 -238
- package/common/index.d.ts +778 -213
- package/core/index.d.ts +562 -433
- package/fesm2022/acorex-platform-auth.mjs +160 -200
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs +1012 -125
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +685 -400
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain.mjs +54 -11
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +412 -270
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +2112 -3153
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +7 -7
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +756 -648
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +4 -4
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +248 -174
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-file-list-popup.component-D0y-9nE5.mjs → acorex-platform-layout-widgets-file-list-popup.component-CxrsI6Hn.mjs} +2 -2
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-CxrsI6Hn.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-m8rHZP8L.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-Ck7-wpT2.mjs} +2 -2
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-Ck7-wpT2.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets.mjs +3058 -1038
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-mARj77Mr.mjs → acorex-platform-themes-default-entity-master-create-view.component-VIGuU5M4.mjs} +26 -5
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-VIGuU5M4.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-Cym8pq0v.mjs → acorex-platform-themes-default-entity-master-list-view.component-DyDa_hyd.mjs} +4 -5
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-DyDa_hyd.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-Ua3ZA5hk.mjs +101 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-Ua3ZA5hk.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-B_P0a5KW.mjs → acorex-platform-themes-default-entity-master-single-view.component-eMBby9k4.mjs} +3 -3
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-eMBby9k4.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +166 -30
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-shared.mjs +27 -27
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/layout/builder/index.d.ts +4 -1
- package/layout/components/index.d.ts +405 -327
- package/layout/designer/index.d.ts +3 -3
- package/layout/entity/index.d.ts +163 -108
- package/layout/widget-core/index.d.ts +39 -49
- package/layout/widgets/index.d.ts +368 -54
- package/package.json +5 -5
- package/themes/default/index.d.ts +15 -2
- package/themes/shared/index.d.ts +10 -10
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-fhhZOWul.mjs +0 -50
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-fhhZOWul.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-C3Qbs0fz.mjs +0 -42
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-C3Qbs0fz.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-CngQBUlN.mjs +0 -55
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-CngQBUlN.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-view.component-DSNo9e4W.mjs +0 -50
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-view.component-DSNo9e4W.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-edit.component-CL0CwEHX.mjs +0 -48
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-edit.component-CL0CwEHX.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-view.component-B6Fi0xTw.mjs +0 -42
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-view.component-B6Fi0xTw.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-D0y-9nE5.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-m8rHZP8L.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-mARj77Mr.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-Cym8pq0v.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BTA6h7Xd.mjs +0 -101
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BTA6h7Xd.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-B_P0a5KW.mjs.map +0 -1
package/common/index.d.ts
CHANGED
|
@@ -3,16 +3,17 @@ import { InjectionToken, EnvironmentProviders, Injector, ErrorHandler, ModuleWit
|
|
|
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
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
6
|
+
import * as i5 from '@acorex/platform/core';
|
|
7
|
+
import { AXPValueTransformerFunctions, AXPGridLayoutOptions, AXPValidationRules, AXPSystemActionType, AXPMetaData, AXPOptionsData, AXPLogoConfig, AXPNavigateActionCommand, AXPExecuteCommand, AXPEntityReference, AXPApplicationUserReference, AXPPlatformScopeKey, AXPPlatformScope, AXPWidgetTriggers, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviderContext } from '@acorex/platform/core';
|
|
8
|
+
import { AXPWidgetTypesMap, AXPMetaDataDefinition, AXPWidgetNode } from '@acorex/platform/layout/widget-core';
|
|
9
|
+
import * as i6 from '@angular/router';
|
|
9
10
|
import { Route, Routes } from '@angular/router';
|
|
10
|
-
import * as rxjs from 'rxjs';
|
|
11
|
-
import { Subject } from 'rxjs';
|
|
12
11
|
import * as i1 from '@acorex/platform/workflow';
|
|
13
12
|
import { AXPWorkflowAction, AXPWorkflowContext, AXPWorkflow } from '@acorex/platform/workflow';
|
|
14
13
|
import * as i3 from '@acorex/core/date-time';
|
|
15
14
|
import * as i4 from '@acorex/components/toast';
|
|
15
|
+
import * as rxjs from 'rxjs';
|
|
16
|
+
import { Subject } from 'rxjs';
|
|
16
17
|
import * as _ngrx_signals from '@ngrx/signals';
|
|
17
18
|
import { AXTranslationService } from '@acorex/core/translation';
|
|
18
19
|
import { AXLocaleProfile } from '@acorex/core/locale';
|
|
@@ -239,8 +240,8 @@ interface AXPEntity {
|
|
|
239
240
|
delete?: AXPEntityCommand | undefined;
|
|
240
241
|
[name: string]: AXPEntityCommand | undefined;
|
|
241
242
|
};
|
|
242
|
-
queries
|
|
243
|
-
byKey
|
|
243
|
+
queries?: {
|
|
244
|
+
byKey?: AXPEntityQuery;
|
|
244
245
|
list?: AXPEntityQuery;
|
|
245
246
|
lookup?: AXPEntityQuery;
|
|
246
247
|
history?: AXPEntityQuery;
|
|
@@ -486,177 +487,6 @@ declare class AXPGlobalErrorHandler extends ErrorHandler {
|
|
|
486
487
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPGlobalErrorHandler>;
|
|
487
488
|
}
|
|
488
489
|
|
|
489
|
-
interface AXPSettingValueProvider {
|
|
490
|
-
get scope(): AXPPlatformScope;
|
|
491
|
-
load(): Promise<AXPSettingValue[]>;
|
|
492
|
-
set(key: string, value: any): Promise<void>;
|
|
493
|
-
set(values: Record<string, any>): Promise<void>;
|
|
494
|
-
}
|
|
495
|
-
/**
|
|
496
|
-
* Provider interface for supplying default setting values from higher layers (e.g., app, mocks, API).
|
|
497
|
-
* Providers are merged by ascending priority; later providers override earlier values on key conflicts.
|
|
498
|
-
*/
|
|
499
|
-
interface AXPSettingDefaultValuesProvider {
|
|
500
|
-
/** Merge order; lower numbers are applied first. Default is 0. */
|
|
501
|
-
priority?: number;
|
|
502
|
-
/** Returns a flat map of setting key to default value. */
|
|
503
|
-
provide(): Promise<Record<string, unknown>>;
|
|
504
|
-
}
|
|
505
|
-
interface AXPSettingValue {
|
|
506
|
-
key: string;
|
|
507
|
-
value: any;
|
|
508
|
-
}
|
|
509
|
-
interface AXPSettingChangedEvent {
|
|
510
|
-
scope: AXPPlatformScope;
|
|
511
|
-
keys: string[];
|
|
512
|
-
values: Record<string, any>;
|
|
513
|
-
entries: AXPSettingValue[];
|
|
514
|
-
}
|
|
515
|
-
interface AXPSettingDefinition {
|
|
516
|
-
name: string;
|
|
517
|
-
title: string;
|
|
518
|
-
description?: string;
|
|
519
|
-
widget: AXPWidgetNode;
|
|
520
|
-
layout?: AXPGridLayoutOptions;
|
|
521
|
-
scope: AXPPlatformScopeKey;
|
|
522
|
-
isRequired?: boolean;
|
|
523
|
-
isInherited?: boolean;
|
|
524
|
-
isEncrypted?: boolean;
|
|
525
|
-
defaultValue?: unknown;
|
|
526
|
-
value?: unknown;
|
|
527
|
-
}
|
|
528
|
-
interface AXPSettingDefinitionGroup {
|
|
529
|
-
name: string;
|
|
530
|
-
title: string;
|
|
531
|
-
icon?: string;
|
|
532
|
-
description?: string;
|
|
533
|
-
groups: AXPSettingDefinitionGroup[];
|
|
534
|
-
sections: AXPSettingDefinitionSection[];
|
|
535
|
-
}
|
|
536
|
-
interface AXPSettingDefinitionSection {
|
|
537
|
-
name: string;
|
|
538
|
-
title: string;
|
|
539
|
-
description?: string;
|
|
540
|
-
settings: AXPSettingDefinition[];
|
|
541
|
-
}
|
|
542
|
-
interface AXPGroupSearchResult {
|
|
543
|
-
breadcrumb: {
|
|
544
|
-
name: string;
|
|
545
|
-
title: string;
|
|
546
|
-
description?: string;
|
|
547
|
-
}[];
|
|
548
|
-
sections: AXPSettingDefinitionSection[] | null;
|
|
549
|
-
groups: AXPSettingDefinitionGroup[] | null;
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
declare class AXPSettingDefinitionProviderContext {
|
|
553
|
-
private rootGroups;
|
|
554
|
-
private groupMap;
|
|
555
|
-
addGroup(name: string, title: string, description?: string, icon?: string): AXPSettingDefinitionGroupBuilder;
|
|
556
|
-
group(name: string): AXPSettingDefinitionGroupBuilder | null;
|
|
557
|
-
getGroups(): AXPSettingDefinitionGroup[];
|
|
558
|
-
hasGroup(name: string): boolean;
|
|
559
|
-
getGroup(name: string): AXPSettingDefinitionGroup | undefined;
|
|
560
|
-
}
|
|
561
|
-
declare class AXPSettingDefinitionGroupBuilder {
|
|
562
|
-
private context;
|
|
563
|
-
private group;
|
|
564
|
-
constructor(context: AXPSettingDefinitionProviderContext, group: AXPSettingDefinitionGroup);
|
|
565
|
-
addSection(name: string, title: string, description?: string): AXPSettingDefinitionSectionBuilder;
|
|
566
|
-
section(name: string): AXPSettingDefinitionSectionBuilder | null;
|
|
567
|
-
addGroup(name: string, title: string, description?: string, icon?: string): AXPSettingDefinitionGroupBuilder;
|
|
568
|
-
endGroup(): AXPSettingDefinitionProviderContext;
|
|
569
|
-
}
|
|
570
|
-
declare class AXPSettingDefinitionSectionBuilder {
|
|
571
|
-
private groupBuilder;
|
|
572
|
-
private section;
|
|
573
|
-
constructor(groupBuilder: AXPSettingDefinitionGroupBuilder, section: AXPSettingDefinitionSection);
|
|
574
|
-
addSetting(setting: {
|
|
575
|
-
key: string;
|
|
576
|
-
title: string;
|
|
577
|
-
scope: AXPPlatformScopeKey;
|
|
578
|
-
widget: {
|
|
579
|
-
type: AXPWidgetTypesMap[keyof AXPWidgetTypesMap] | string;
|
|
580
|
-
options?: AXPOptionsData;
|
|
581
|
-
triggers?: AXPWidgetTriggers;
|
|
582
|
-
layout?: AXPGridLayoutOptions;
|
|
583
|
-
};
|
|
584
|
-
description?: string;
|
|
585
|
-
isRequired?: boolean;
|
|
586
|
-
isInherited?: boolean;
|
|
587
|
-
isEncrypted?: boolean;
|
|
588
|
-
defaultValue?: unknown;
|
|
589
|
-
valueTransforms?: AXPValueTransformerFunctions;
|
|
590
|
-
validationRules?: AXPValidationRules;
|
|
591
|
-
}): this;
|
|
592
|
-
endSection(): AXPSettingDefinitionGroupBuilder;
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
interface AXPSettingDefinitionProvider {
|
|
596
|
-
provide(context: AXPSettingDefinitionProviderContext): Promise<void>;
|
|
597
|
-
}
|
|
598
|
-
declare const AXP_SETTING_DEFINITION_PROVIDER: InjectionToken<AXPSettingDefinitionProvider[]>;
|
|
599
|
-
declare class AXPSettingDefinitionProviderService {
|
|
600
|
-
private providers;
|
|
601
|
-
private cache;
|
|
602
|
-
private load;
|
|
603
|
-
reload(): Promise<void>;
|
|
604
|
-
getListAsync(scope: AXPPlatformScopeKey): Promise<AXPSettingDefinitionGroup[]>;
|
|
605
|
-
getList(scope: AXPPlatformScopeKey): AXPSettingDefinitionGroup[];
|
|
606
|
-
defaultValues(): Promise<Record<string, unknown>>;
|
|
607
|
-
findGroup(scope: AXPPlatformScopeKey, groupName: string): AXPGroupSearchResult;
|
|
608
|
-
private searchRecursive;
|
|
609
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSettingDefinitionProviderService, never>;
|
|
610
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXPSettingDefinitionProviderService>;
|
|
611
|
-
}
|
|
612
|
-
declare const AXP_SETTING_DEFAULT_VALUES_PROVIDERS: InjectionToken<AXPSettingDefaultValuesProvider[]>;
|
|
613
|
-
declare class AXPSettingDefaultValuesAggregatorService {
|
|
614
|
-
private readonly definitionService;
|
|
615
|
-
private readonly providers;
|
|
616
|
-
getDefaults(): Promise<Record<string, unknown>>;
|
|
617
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSettingDefaultValuesAggregatorService, never>;
|
|
618
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXPSettingDefaultValuesAggregatorService>;
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
declare const AXP_SETTING_VALUE_PROVIDER: InjectionToken<AXPSettingValueProvider[]>;
|
|
622
|
-
|
|
623
|
-
interface AXPSettingServiceInterface {
|
|
624
|
-
load(): Promise<AXPSettingValue[]>;
|
|
625
|
-
get<T = any>(key: string): Promise<T>;
|
|
626
|
-
defaultValues(scope: AXPPlatformScope): Promise<Record<string, unknown>>;
|
|
627
|
-
scope(scope: AXPPlatformScope): ScopedSettingService;
|
|
628
|
-
}
|
|
629
|
-
declare class AXPSettingService implements AXPSettingServiceInterface {
|
|
630
|
-
private readonly providers;
|
|
631
|
-
private readonly injector;
|
|
632
|
-
private readonly eventService;
|
|
633
|
-
private readonly sessionService;
|
|
634
|
-
private readonly scopedSettingsCache;
|
|
635
|
-
readonly onChanged: Subject<AXPSettingChangedEvent>;
|
|
636
|
-
readonly onLoaded: Subject<void>;
|
|
637
|
-
constructor();
|
|
638
|
-
reload(): Promise<void>;
|
|
639
|
-
load(): Promise<AXPSettingValue[]>;
|
|
640
|
-
get<T = any>(key: string): Promise<T>;
|
|
641
|
-
defaultValues(scope: AXPPlatformScope): Promise<Record<string, unknown>>;
|
|
642
|
-
scope(scope: AXPPlatformScope): ScopedSettingService;
|
|
643
|
-
invokeChangeEvent(event: AXPSettingChangedEvent): void;
|
|
644
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSettingService, never>;
|
|
645
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXPSettingService>;
|
|
646
|
-
}
|
|
647
|
-
declare class ScopedSettingService {
|
|
648
|
-
private parent;
|
|
649
|
-
private provider;
|
|
650
|
-
private scopeCache;
|
|
651
|
-
constructor(parent: AXPSettingService, provider: AXPSettingValueProvider, scopeCache: Map<string, any>);
|
|
652
|
-
get<T = any>(key: string): Promise<T>;
|
|
653
|
-
all(): Promise<any>;
|
|
654
|
-
defaultValues(): Promise<Record<string, unknown>>;
|
|
655
|
-
set<T = any>(key: string, value: T): Promise<void>;
|
|
656
|
-
set<T = any>(values: Record<string, T>): Promise<void>;
|
|
657
|
-
update<T = any>(key: string, updateFn: (currentValue: T) => T): Promise<void>;
|
|
658
|
-
}
|
|
659
|
-
|
|
660
490
|
interface AXPCommonModuleConfigs {
|
|
661
491
|
errorHandlers: (new () => AXPErrorHandler)[];
|
|
662
492
|
}
|
|
@@ -666,9 +496,9 @@ declare class AXPCommonModule {
|
|
|
666
496
|
/**
|
|
667
497
|
* @ignore
|
|
668
498
|
*/
|
|
669
|
-
constructor(instances: any[]
|
|
499
|
+
constructor(instances: any[]);
|
|
670
500
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPCommonModule, never>;
|
|
671
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXPCommonModule, never, [typeof i1.AXPWorkflowModule, typeof i2.AXPopupModule, typeof i3.AXDateTimeModule, typeof i4.AXToastModule], [typeof
|
|
501
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXPCommonModule, never, [typeof i1.AXPWorkflowModule, typeof i2.AXPopupModule, typeof i3.AXDateTimeModule, typeof i4.AXToastModule, typeof i5.AXPModuleManifestModule], [typeof i6.RouterModule]>;
|
|
672
502
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXPCommonModule>;
|
|
673
503
|
}
|
|
674
504
|
|
|
@@ -699,8 +529,8 @@ declare const AXPPlatformDefaultConfigs: AXPPlatformConfigs;
|
|
|
699
529
|
declare function configPlatform(config?: Partial<AXPPlatformConfigs>): AXPPlatformConfigs;
|
|
700
530
|
|
|
701
531
|
declare enum AXPCommonSettings {
|
|
702
|
-
EnableOperationToasts = "
|
|
703
|
-
EntityFilterApplyMode = "
|
|
532
|
+
EnableOperationToasts = "Common:Setting:Notifications.EnableOperationToasts",
|
|
533
|
+
EntityFilterApplyMode = "Common:Setting:Entity.FilterApplyMode"
|
|
704
534
|
}
|
|
705
535
|
|
|
706
536
|
declare const AXP_ROOT_CONFIG_TOKEN: InjectionToken<AXPRootConfigs>;
|
|
@@ -1116,18 +946,6 @@ declare class AXPStickyDirective {
|
|
|
1116
946
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AXPStickyDirective, "[axpSticky]", ["axpSticky"], { "stickyClass": { "alias": "axpSticky"; "required": false; }; "stickyOffset": { "alias": "stickyOffset"; "required": false; }; "stickyParent": { "alias": "stickyParent"; "required": false; }; "stickyTarget": { "alias": "stickyTarget"; "required": false; }; }, { "isStickyChange": "isStickyChange"; }, never, never, true, never>;
|
|
1117
947
|
}
|
|
1118
948
|
|
|
1119
|
-
declare class AXPLogoComponent {
|
|
1120
|
-
source: any;
|
|
1121
|
-
protected logoType: string;
|
|
1122
|
-
private platform;
|
|
1123
|
-
ngOnInit(): void;
|
|
1124
|
-
ngOnChanges(): void;
|
|
1125
|
-
protected setLogoType(): void;
|
|
1126
|
-
protected setLogoTheme(): void;
|
|
1127
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLogoComponent, never>;
|
|
1128
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLogoComponent, "axp-logo", never, { "source": { "alias": "source"; "required": false; }; }, {}, never, never, true, never>;
|
|
1129
|
-
}
|
|
1130
|
-
|
|
1131
949
|
type AXPMenuInsertion = 'before' | 'after' | 'inside';
|
|
1132
950
|
type AXPMenuType = 'menu' | 'group' | 'break';
|
|
1133
951
|
type AXPMenuItemCommand = AXPNavigateActionCommand<'modal' | 'router'> | AXPExecuteCommand;
|
|
@@ -1150,6 +968,7 @@ interface AXPMenuItem {
|
|
|
1150
968
|
};
|
|
1151
969
|
}
|
|
1152
970
|
interface AXPMenuFinderResult {
|
|
971
|
+
readonly exists: boolean;
|
|
1153
972
|
insert(items: AXPMenuItem[], position: AXPMenuInsertion): void;
|
|
1154
973
|
remove(): void;
|
|
1155
974
|
update(updatedItem: Partial<AXPMenuItem>): void;
|
|
@@ -1166,6 +985,7 @@ interface AXPMenuProvider {
|
|
|
1166
985
|
declare const AXP_MENU_PROVIDER: InjectionToken<AXPMenuProvider[]>;
|
|
1167
986
|
declare class AXPMenuProviderService {
|
|
1168
987
|
private providers;
|
|
988
|
+
private providerRegistry;
|
|
1169
989
|
private middlewareRegistry;
|
|
1170
990
|
private cache;
|
|
1171
991
|
private pendingInserts;
|
|
@@ -1202,6 +1022,14 @@ declare class AXPMenuProviderService {
|
|
|
1202
1022
|
private createMenuProviderContext;
|
|
1203
1023
|
private applyPendingOperations;
|
|
1204
1024
|
private findItemWithParent;
|
|
1025
|
+
/**
|
|
1026
|
+
* Find menu item by name in the items tree (recursive search)
|
|
1027
|
+
*/
|
|
1028
|
+
private findItemByName;
|
|
1029
|
+
/**
|
|
1030
|
+
* Merge new item properties into existing item, handling children merge
|
|
1031
|
+
*/
|
|
1032
|
+
private mergeMenuItem;
|
|
1205
1033
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPMenuProviderService, never>;
|
|
1206
1034
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPMenuProviderService>;
|
|
1207
1035
|
}
|
|
@@ -1447,6 +1275,37 @@ declare const AXPMenuService: i0.Type<{
|
|
|
1447
1275
|
};
|
|
1448
1276
|
}>>;
|
|
1449
1277
|
|
|
1278
|
+
/**
|
|
1279
|
+
* Service for checking menu item visibility based on permissions, features, and children.
|
|
1280
|
+
* This service helps filter out empty menu items that have no visible children.
|
|
1281
|
+
*/
|
|
1282
|
+
declare class AXPMenuVisibilityService {
|
|
1283
|
+
private sessionService;
|
|
1284
|
+
/**
|
|
1285
|
+
* Checks if a menu item should be visible based on permissions and features.
|
|
1286
|
+
*/
|
|
1287
|
+
isItemVisible(item: AXPMenuItem): boolean;
|
|
1288
|
+
/**
|
|
1289
|
+
* Recursively checks if a menu item has any visible children.
|
|
1290
|
+
* @param item The menu item to check
|
|
1291
|
+
* @param getRouterLink Optional function to check if an item has a router link
|
|
1292
|
+
*/
|
|
1293
|
+
hasVisibleChildren(item: AXPMenuItem, getRouterLink?: (item: AXPMenuItem) => unknown): boolean;
|
|
1294
|
+
/**
|
|
1295
|
+
* Determines if a menu item should be rendered.
|
|
1296
|
+
* A menu item should be rendered if:
|
|
1297
|
+
* 1. It has a routerLink, OR
|
|
1298
|
+
* 2. It has visible children, OR
|
|
1299
|
+
* 3. It has a command (for non-router navigation)
|
|
1300
|
+
*
|
|
1301
|
+
* @param item The menu item to check
|
|
1302
|
+
* @param getRouterLink Optional function to check if an item has a router link
|
|
1303
|
+
*/
|
|
1304
|
+
shouldRenderMenuItem(item: AXPMenuItem, getRouterLink?: (item: AXPMenuItem) => unknown): boolean;
|
|
1305
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPMenuVisibilityService, never>;
|
|
1306
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPMenuVisibilityService>;
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1450
1309
|
interface AXPSearchDefinitionDisplayFormat {
|
|
1451
1310
|
title?: string;
|
|
1452
1311
|
description?: string;
|
|
@@ -1546,6 +1405,7 @@ interface AXPSearchDefinitionProvider {
|
|
|
1546
1405
|
declare const AXP_SEARCH_DEFINITION_PROVIDER: InjectionToken<AXPSearchDefinitionProvider[]>;
|
|
1547
1406
|
declare class AXPSearchDefinitionProviderService {
|
|
1548
1407
|
private providers;
|
|
1408
|
+
private providerRegistry;
|
|
1549
1409
|
private cache;
|
|
1550
1410
|
private load;
|
|
1551
1411
|
getListAsync(): Promise<AXPSearchDefinition[]>;
|
|
@@ -1567,6 +1427,7 @@ declare abstract class AXPSearchCommandProvider {
|
|
|
1567
1427
|
declare const AXP_SEARCH_PROVIDER: InjectionToken<AXPSearchProvider[]>;
|
|
1568
1428
|
declare class AXPSearchService {
|
|
1569
1429
|
private providers;
|
|
1430
|
+
private providerRegistry;
|
|
1570
1431
|
private definitionService;
|
|
1571
1432
|
private formatService;
|
|
1572
1433
|
search(text: string): Promise<AXPSearchDisplayGroupResult[]>;
|
|
@@ -1646,42 +1507,731 @@ declare abstract class AXPLockService {
|
|
|
1646
1507
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPLockService>;
|
|
1647
1508
|
}
|
|
1648
1509
|
|
|
1649
|
-
interface
|
|
1510
|
+
interface AXPSettingValueProvider {
|
|
1511
|
+
get scope(): AXPPlatformScope;
|
|
1512
|
+
load(): Promise<AXPSettingValue[]>;
|
|
1513
|
+
set(key: string, value: any): Promise<void>;
|
|
1514
|
+
set(values: Record<string, any>): Promise<void>;
|
|
1515
|
+
}
|
|
1516
|
+
/**
|
|
1517
|
+
* Provider interface for supplying default setting values from higher layers (e.g., app, mocks, API).
|
|
1518
|
+
* Providers are merged by ascending priority; later providers override earlier values on key conflicts.
|
|
1519
|
+
*/
|
|
1520
|
+
interface AXPSettingDefaultValuesProvider {
|
|
1521
|
+
/** Merge order; lower numbers are applied first. Default is 0. */
|
|
1522
|
+
priority?: number;
|
|
1523
|
+
/** Returns a flat map of setting key to default value. */
|
|
1524
|
+
provide(): Promise<Record<string, unknown>>;
|
|
1525
|
+
}
|
|
1526
|
+
interface AXPSettingValue {
|
|
1527
|
+
key: string;
|
|
1528
|
+
value: any;
|
|
1529
|
+
}
|
|
1530
|
+
interface AXPSettingChangedEvent {
|
|
1531
|
+
scope: AXPPlatformScope;
|
|
1532
|
+
keys: string[];
|
|
1533
|
+
values: Record<string, any>;
|
|
1534
|
+
entries: AXPSettingValue[];
|
|
1535
|
+
}
|
|
1536
|
+
interface AXPSettingDefinition {
|
|
1650
1537
|
name: string;
|
|
1651
|
-
|
|
1538
|
+
title: string;
|
|
1539
|
+
description?: string;
|
|
1540
|
+
widget: AXPWidgetNode;
|
|
1541
|
+
layout?: AXPGridLayoutOptions;
|
|
1542
|
+
scope: AXPPlatformScopeKey;
|
|
1543
|
+
isRequired?: boolean;
|
|
1544
|
+
isInherited?: boolean;
|
|
1545
|
+
isEncrypted?: boolean;
|
|
1546
|
+
defaultValue?: unknown;
|
|
1547
|
+
value?: unknown;
|
|
1652
1548
|
}
|
|
1653
|
-
|
|
1654
|
-
type AXPGlobalVariableDefinitionProviderToken = AXPGlobalVariableDefinitionProvider | Promise<AXPGlobalVariableDefinitionProvider>;
|
|
1655
|
-
declare const AXP_GLOBAL_VARIABLE_DEFINITION_PROVIDER: InjectionToken<AXPGlobalVariableDefinitionProviderToken[]>;
|
|
1656
|
-
interface AXPGlobalVariableDefinitionProvider<T = any> {
|
|
1549
|
+
interface AXPSettingDefinitionGroup {
|
|
1657
1550
|
name: string;
|
|
1658
1551
|
title: string;
|
|
1552
|
+
icon?: string;
|
|
1659
1553
|
description?: string;
|
|
1554
|
+
groups: AXPSettingDefinitionGroup[];
|
|
1555
|
+
sections: AXPSettingDefinitionSection[];
|
|
1556
|
+
}
|
|
1557
|
+
interface AXPSettingDefinitionSection {
|
|
1558
|
+
name: string;
|
|
1559
|
+
title: string;
|
|
1560
|
+
description?: string;
|
|
1561
|
+
settings: AXPSettingDefinition[];
|
|
1562
|
+
}
|
|
1563
|
+
interface AXPGroupSearchResult {
|
|
1564
|
+
breadcrumb: {
|
|
1565
|
+
name: string;
|
|
1566
|
+
title: string;
|
|
1567
|
+
description?: string;
|
|
1568
|
+
}[];
|
|
1569
|
+
sections: AXPSettingDefinitionSection[] | null;
|
|
1570
|
+
groups: AXPSettingDefinitionGroup[] | null;
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
declare class AXPSettingDefinitionProviderContext {
|
|
1574
|
+
private rootGroups;
|
|
1575
|
+
private groupMap;
|
|
1576
|
+
addGroup(name: string, title: string, description?: string, icon?: string): AXPSettingDefinitionGroupBuilder;
|
|
1577
|
+
group(name: string): AXPSettingDefinitionGroupBuilder | null;
|
|
1578
|
+
getGroups(): AXPSettingDefinitionGroup[];
|
|
1579
|
+
hasGroup(name: string): boolean;
|
|
1580
|
+
getGroup(name: string): AXPSettingDefinitionGroup | undefined;
|
|
1581
|
+
}
|
|
1582
|
+
declare class AXPSettingDefinitionGroupBuilder {
|
|
1583
|
+
private context;
|
|
1584
|
+
private group;
|
|
1585
|
+
constructor(context: AXPSettingDefinitionProviderContext, group: AXPSettingDefinitionGroup);
|
|
1586
|
+
addSection(name: string, title: string, description?: string): AXPSettingDefinitionSectionBuilder;
|
|
1587
|
+
section(name: string): AXPSettingDefinitionSectionBuilder | null;
|
|
1588
|
+
addGroup(name: string, title: string, description?: string, icon?: string): AXPSettingDefinitionGroupBuilder;
|
|
1589
|
+
endGroup(): AXPSettingDefinitionProviderContext;
|
|
1590
|
+
}
|
|
1591
|
+
declare class AXPSettingDefinitionSectionBuilder {
|
|
1592
|
+
private groupBuilder;
|
|
1593
|
+
private section;
|
|
1594
|
+
constructor(groupBuilder: AXPSettingDefinitionGroupBuilder, section: AXPSettingDefinitionSection);
|
|
1595
|
+
addSetting(setting: {
|
|
1596
|
+
key: string;
|
|
1597
|
+
title: string;
|
|
1598
|
+
scope: AXPPlatformScopeKey;
|
|
1599
|
+
widget: {
|
|
1600
|
+
type: AXPWidgetTypesMap[keyof AXPWidgetTypesMap] | string;
|
|
1601
|
+
options?: AXPOptionsData;
|
|
1602
|
+
triggers?: AXPWidgetTriggers;
|
|
1603
|
+
layout?: AXPGridLayoutOptions;
|
|
1604
|
+
};
|
|
1605
|
+
description?: string;
|
|
1606
|
+
isRequired?: boolean;
|
|
1607
|
+
isInherited?: boolean;
|
|
1608
|
+
isEncrypted?: boolean;
|
|
1609
|
+
defaultValue?: unknown;
|
|
1610
|
+
valueTransforms?: AXPValueTransformerFunctions;
|
|
1611
|
+
validationRules?: AXPValidationRules;
|
|
1612
|
+
}): this;
|
|
1613
|
+
endSection(): AXPSettingDefinitionGroupBuilder;
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
interface AXPSettingDefinitionProvider {
|
|
1617
|
+
provide(context: AXPSettingDefinitionProviderContext): Promise<void>;
|
|
1618
|
+
}
|
|
1619
|
+
declare const AXP_SETTING_DEFINITION_PROVIDER: InjectionToken<AXPSettingDefinitionProvider[]>;
|
|
1620
|
+
declare class AXPSettingDefinitionProviderService {
|
|
1621
|
+
private providers;
|
|
1622
|
+
private providerRegistry;
|
|
1623
|
+
private cache;
|
|
1624
|
+
private load;
|
|
1625
|
+
reload(): Promise<void>;
|
|
1626
|
+
getListAsync(scope: AXPPlatformScopeKey): Promise<AXPSettingDefinitionGroup[]>;
|
|
1627
|
+
getList(scope: AXPPlatformScopeKey): AXPSettingDefinitionGroup[];
|
|
1628
|
+
defaultValues(): Promise<Record<string, unknown>>;
|
|
1629
|
+
findGroup(scope: AXPPlatformScopeKey, groupName: string): AXPGroupSearchResult;
|
|
1630
|
+
private searchRecursive;
|
|
1631
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSettingDefinitionProviderService, never>;
|
|
1632
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPSettingDefinitionProviderService>;
|
|
1633
|
+
}
|
|
1634
|
+
declare const AXP_SETTING_DEFAULT_VALUES_PROVIDERS: InjectionToken<AXPSettingDefaultValuesProvider[]>;
|
|
1635
|
+
declare class AXPSettingDefaultValuesAggregatorService {
|
|
1636
|
+
private readonly definitionService;
|
|
1637
|
+
private readonly providers;
|
|
1638
|
+
getDefaults(): Promise<Record<string, unknown>>;
|
|
1639
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSettingDefaultValuesAggregatorService, never>;
|
|
1640
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPSettingDefaultValuesAggregatorService>;
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
declare const AXP_SETTING_VALUE_PROVIDER: InjectionToken<AXPSettingValueProvider[]>;
|
|
1644
|
+
|
|
1645
|
+
interface AXPSettingsServiceInterface {
|
|
1646
|
+
load(): Promise<AXPSettingValue[]>;
|
|
1647
|
+
get<T = any>(key: string): Promise<T>;
|
|
1648
|
+
defaultValues(scope: AXPPlatformScope): Promise<Record<string, unknown>>;
|
|
1649
|
+
scope(scope: AXPPlatformScope): ScopedSettingService;
|
|
1650
|
+
}
|
|
1651
|
+
declare class AXPSettingsService implements AXPSettingsServiceInterface {
|
|
1652
|
+
private readonly providers;
|
|
1653
|
+
private readonly injector;
|
|
1654
|
+
private readonly eventService;
|
|
1655
|
+
private readonly sessionService;
|
|
1656
|
+
private readonly scopedSettingsCache;
|
|
1657
|
+
readonly onChanged: Subject<AXPSettingChangedEvent>;
|
|
1658
|
+
readonly onLoaded: Subject<void>;
|
|
1659
|
+
constructor();
|
|
1660
|
+
reload(): Promise<void>;
|
|
1661
|
+
load(): Promise<AXPSettingValue[]>;
|
|
1662
|
+
get<T = any>(key: string): Promise<T>;
|
|
1663
|
+
defaultValues(scope: AXPPlatformScope): Promise<Record<string, unknown>>;
|
|
1664
|
+
scope(scope: AXPPlatformScope): ScopedSettingService;
|
|
1665
|
+
invokeChangeEvent(event: AXPSettingChangedEvent): void;
|
|
1666
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSettingsService, never>;
|
|
1667
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPSettingsService>;
|
|
1668
|
+
}
|
|
1669
|
+
declare class ScopedSettingService {
|
|
1670
|
+
private parent;
|
|
1671
|
+
private provider;
|
|
1672
|
+
private scopeCache;
|
|
1673
|
+
constructor(parent: AXPSettingsService, provider: AXPSettingValueProvider, scopeCache: Map<string, any>);
|
|
1674
|
+
get<T = any>(key: string): Promise<T>;
|
|
1675
|
+
all(): Promise<any>;
|
|
1676
|
+
defaultValues(): Promise<Record<string, unknown>>;
|
|
1677
|
+
set<T = any>(key: string, value: T): Promise<void>;
|
|
1678
|
+
set<T = any>(values: Record<string, T>): Promise<void>;
|
|
1679
|
+
update<T = any>(key: string, updateFn: (currentValue: T) => T): Promise<void>;
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
/**
|
|
1683
|
+
* Regional settings keys for date, time, and locale formatting.
|
|
1684
|
+
* These keys are used by platform widgets and components to access regional settings.
|
|
1685
|
+
* The actual setting definitions and providers are implemented in the locale-management module.
|
|
1686
|
+
*/
|
|
1687
|
+
declare enum AXPRegionalSetting {
|
|
1688
|
+
LocaleProfile = "LocaleManagement:Setting:Regional.LocaleProfile",
|
|
1689
|
+
TimeZone = "LocaleManagement:Setting:Regional.TimeZone",
|
|
1690
|
+
Language = "LocaleManagement:Setting:Regional.Language",
|
|
1691
|
+
Country = "LocaleManagement:Setting:Regional.Country",
|
|
1692
|
+
Calendar = "LocaleManagement:Setting:Regional.Calendar",
|
|
1693
|
+
FirstDayOfWeek = "LocaleManagement:Setting:Regional.FirstDayOfWeek",
|
|
1694
|
+
WeekendDays = "LocaleManagement:Setting:Regional.WeekendDays",
|
|
1695
|
+
ShortDate = "LocaleManagement:Setting:Regional.ShortDate",
|
|
1696
|
+
MediumDate = "LocaleManagement:Setting:Regional.MediumDate",
|
|
1697
|
+
LongDate = "LocaleManagement:Setting:Regional.LongDate",
|
|
1698
|
+
ShortTime = "LocaleManagement:Setting:Regional.ShortTime",
|
|
1699
|
+
MediumTime = "LocaleManagement:Setting:Regional.MediumTime",
|
|
1700
|
+
LongTime = "LocaleManagement:Setting:Regional.LongTime",
|
|
1701
|
+
MeasurementUnits = "LocaleManagement:Setting:Regional.MeasurementUnits",
|
|
1702
|
+
TemperatureUnits = "LocaleManagement:Setting:Regional.TemperatureUnits",
|
|
1703
|
+
DistanceUnits = "LocaleManagement:Setting:Regional.DistanceUnits",
|
|
1704
|
+
WeightUnits = "LocaleManagement:Setting:Regional.WeightUnits",
|
|
1705
|
+
VolumeUnits = "LocaleManagement:Setting:Regional.VolumeUnits",
|
|
1706
|
+
SpeedUnits = "LocaleManagement:Setting:Regional.SpeedUnits",
|
|
1707
|
+
AreaUnits = "LocaleManagement:Setting:Regional.AreaUnits"
|
|
1708
|
+
}
|
|
1709
|
+
|
|
1710
|
+
/**
|
|
1711
|
+
* Status Definition Types
|
|
1712
|
+
* Defines the structure for status definitions and their transitions
|
|
1713
|
+
*/
|
|
1714
|
+
/**
|
|
1715
|
+
* Status definition with metadata
|
|
1716
|
+
*/
|
|
1717
|
+
interface AXPStatusDefinition {
|
|
1718
|
+
/**
|
|
1719
|
+
* Unique identifier for the status
|
|
1720
|
+
*/
|
|
1721
|
+
name: string;
|
|
1722
|
+
/**
|
|
1723
|
+
* Display title for the status
|
|
1724
|
+
*/
|
|
1725
|
+
title: string;
|
|
1726
|
+
/**
|
|
1727
|
+
* Color code or semantic color name for the status
|
|
1728
|
+
*/
|
|
1729
|
+
color: string;
|
|
1730
|
+
/**
|
|
1731
|
+
* Optional icon class (e.g., 'fa-light fa-check')
|
|
1732
|
+
*/
|
|
1660
1733
|
icon?: string;
|
|
1734
|
+
/**
|
|
1735
|
+
* Optional description
|
|
1736
|
+
*/
|
|
1737
|
+
description?: string;
|
|
1738
|
+
/**
|
|
1739
|
+
* Optional order for sorting
|
|
1740
|
+
*/
|
|
1661
1741
|
order?: number;
|
|
1742
|
+
/**
|
|
1743
|
+
* Whether this is a final status (end state)
|
|
1744
|
+
*/
|
|
1745
|
+
isFinal?: boolean;
|
|
1746
|
+
/**
|
|
1747
|
+
* Whether this is an initial status (starting state)
|
|
1748
|
+
*/
|
|
1749
|
+
isInitial?: boolean;
|
|
1750
|
+
/**
|
|
1751
|
+
* Whether list views should be automatically generated for this status
|
|
1752
|
+
*/
|
|
1753
|
+
generateView?: boolean;
|
|
1754
|
+
}
|
|
1755
|
+
/**
|
|
1756
|
+
* Status transition definition
|
|
1757
|
+
*/
|
|
1758
|
+
interface AXPStatusTransition {
|
|
1759
|
+
/**
|
|
1760
|
+
* Source status name
|
|
1761
|
+
*/
|
|
1762
|
+
from: string;
|
|
1763
|
+
/**
|
|
1764
|
+
* Target status name
|
|
1765
|
+
*/
|
|
1766
|
+
to: string;
|
|
1767
|
+
/**
|
|
1768
|
+
* Optional condition expression to evaluate before allowing transition
|
|
1769
|
+
* Uses expression evaluator syntax (e.g., "{{user.isAdmin}}", "{{item.priority > 5}}")
|
|
1770
|
+
*/
|
|
1771
|
+
condition?: string;
|
|
1772
|
+
/**
|
|
1773
|
+
* Optional display title for the transition
|
|
1774
|
+
*/
|
|
1775
|
+
title?: string;
|
|
1776
|
+
/**
|
|
1777
|
+
* Optional description
|
|
1778
|
+
*/
|
|
1779
|
+
description?: string;
|
|
1780
|
+
/**
|
|
1781
|
+
* Optional command descriptor to execute for this transition
|
|
1782
|
+
* If not provided, defaults to Entity:UpdateStatus with entity, id, and status
|
|
1783
|
+
*/
|
|
1784
|
+
command?: {
|
|
1785
|
+
name: string;
|
|
1786
|
+
options?: Record<string, unknown>;
|
|
1787
|
+
};
|
|
1788
|
+
/**
|
|
1789
|
+
* Whether this transition is automatic (no user action required)
|
|
1790
|
+
*/
|
|
1791
|
+
isAutomatic?: boolean;
|
|
1792
|
+
/**
|
|
1793
|
+
* Whether this transition requires approval
|
|
1794
|
+
*/
|
|
1795
|
+
requiresApproval?: boolean;
|
|
1796
|
+
}
|
|
1797
|
+
/**
|
|
1798
|
+
* Abstract class for status providers
|
|
1799
|
+
* Similar to AXPTaskBadgeProvider pattern
|
|
1800
|
+
*/
|
|
1801
|
+
declare abstract class AXPStatusProvider {
|
|
1802
|
+
/**
|
|
1803
|
+
* Unique key for the status (e.g., 'task-management.status')
|
|
1804
|
+
*/
|
|
1805
|
+
abstract readonly key: string;
|
|
1806
|
+
/**
|
|
1807
|
+
* List of available status definitions
|
|
1808
|
+
*/
|
|
1809
|
+
abstract readonly statuses: AXPStatusDefinition[];
|
|
1810
|
+
/**
|
|
1811
|
+
* List of allowed transitions between statuses
|
|
1812
|
+
*/
|
|
1813
|
+
abstract readonly transitions: AXPStatusTransition[];
|
|
1814
|
+
/**
|
|
1815
|
+
* Optional default status name
|
|
1816
|
+
*/
|
|
1817
|
+
abstract readonly defaultStatus?: string;
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1820
|
+
/**
|
|
1821
|
+
* Injection token for status providers
|
|
1822
|
+
* Use with multi: true to register multiple providers
|
|
1823
|
+
*/
|
|
1824
|
+
declare const AXP_STATUS_PROVIDERS: InjectionToken<AXPStatusProvider[]>;
|
|
1825
|
+
/**
|
|
1826
|
+
* Service for managing status definitions from multiple providers
|
|
1827
|
+
* Similar to AXPTaskBadgeService pattern - no cache, direct access
|
|
1828
|
+
*
|
|
1829
|
+
* @example
|
|
1830
|
+
* ```typescript
|
|
1831
|
+
* // In a module providers array:
|
|
1832
|
+
* {
|
|
1833
|
+
* provide: AXP_STATUS_PROVIDERS,
|
|
1834
|
+
* useClass: TaskStatusProvider,
|
|
1835
|
+
* multi: true,
|
|
1836
|
+
* }
|
|
1837
|
+
*
|
|
1838
|
+
* // Example provider implementation:
|
|
1839
|
+
* export class TaskStatusProvider extends AXPStatusProvider {
|
|
1840
|
+
* readonly key = 'task-management.status';
|
|
1841
|
+
* readonly statuses = [
|
|
1842
|
+
* { name: 'todo', title: 'To Do', color: '#6b7280', icon: 'fa-light fa-circle', isInitial: true },
|
|
1843
|
+
* { name: 'in-progress', title: 'In Progress', color: '#3b82f6', icon: 'fa-light fa-play' },
|
|
1844
|
+
* { name: 'done', title: 'Done', color: '#10b981', icon: 'fa-light fa-check-circle', isFinal: true },
|
|
1845
|
+
* ];
|
|
1846
|
+
* readonly transitions = [
|
|
1847
|
+
* { from: 'todo', to: 'in-progress', title: 'Start', condition: '{{user.canEdit}}' },
|
|
1848
|
+
* { from: 'in-progress', to: 'done', title: 'Complete' },
|
|
1849
|
+
* ];
|
|
1850
|
+
* readonly defaultStatus = 'todo';
|
|
1851
|
+
* }
|
|
1852
|
+
*
|
|
1853
|
+
* // Later, get the status:
|
|
1854
|
+
* const status = statusService.getStatus('task-management.status');
|
|
1855
|
+
* if (status) {
|
|
1856
|
+
* console.log('Statuses:', status.statuses);
|
|
1857
|
+
* console.log('Transitions:', status.transitions);
|
|
1858
|
+
* }
|
|
1859
|
+
* ```
|
|
1860
|
+
*/
|
|
1861
|
+
declare class AXPStatusDefinitionProviderService {
|
|
1862
|
+
private providers;
|
|
1863
|
+
private commandService;
|
|
1864
|
+
private statusMap;
|
|
1865
|
+
constructor();
|
|
1866
|
+
/**
|
|
1867
|
+
* Get a status provider by key
|
|
1868
|
+
* Direct access from Map (no lazy load, no cache)
|
|
1869
|
+
*
|
|
1870
|
+
* @param key - Status key (e.g., 'task-management.status')
|
|
1871
|
+
* @returns Status provider with all statuses and transitions, or undefined if not found
|
|
1872
|
+
*
|
|
1873
|
+
* @example
|
|
1874
|
+
* ```typescript
|
|
1875
|
+
* const status = statusService.getStatus('task-management.status');
|
|
1876
|
+
* if (status) {
|
|
1877
|
+
* console.log('Statuses:', status.statuses);
|
|
1878
|
+
* console.log('Transitions:', status.transitions);
|
|
1879
|
+
* }
|
|
1880
|
+
* ```
|
|
1881
|
+
*/
|
|
1882
|
+
getStatus(key: string): AXPStatusProvider | undefined;
|
|
1883
|
+
/**
|
|
1884
|
+
* Execute a status transition workflow action
|
|
1885
|
+
* Uses transition.command if provided, otherwise defaults to Entity:UpdateStatus
|
|
1886
|
+
* Validates the transition is allowed before executing
|
|
1887
|
+
*
|
|
1888
|
+
* @param definitionKey - Status definition key
|
|
1889
|
+
* @param transition - The transition to execute
|
|
1890
|
+
* @param context - Context data for the command (must include entity name and id/ids)
|
|
1891
|
+
* @returns Promise that resolves when the command execution completes
|
|
1892
|
+
*
|
|
1893
|
+
* @example
|
|
1894
|
+
* ```typescript
|
|
1895
|
+
* await statusService.executeTransition(
|
|
1896
|
+
* 'task-management.status',
|
|
1897
|
+
* { from: 'todo', to: 'in-progress' },
|
|
1898
|
+
* { entity: 'TaskManagement.Task', id: '123', ...entityData }
|
|
1899
|
+
* );
|
|
1900
|
+
* ```
|
|
1901
|
+
*/
|
|
1902
|
+
executeTransition(definitionKey: string, transition: AXPStatusTransition, context: Record<string, any>): Promise<void>;
|
|
1903
|
+
/**
|
|
1904
|
+
* Validate if a transition is allowed
|
|
1905
|
+
* Checks if the transition exists in the provider's transitions list
|
|
1906
|
+
*/
|
|
1907
|
+
private isValidTransition;
|
|
1908
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPStatusDefinitionProviderService, never>;
|
|
1909
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPStatusDefinitionProviderService>;
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1912
|
+
/**
|
|
1913
|
+
* Standard system status types
|
|
1914
|
+
* These are the predefined status values used across the platform
|
|
1915
|
+
*/
|
|
1916
|
+
declare enum AXPSystemStatusType {
|
|
1917
|
+
Todo = "todo",
|
|
1918
|
+
InProgress = "in-progress",
|
|
1919
|
+
InReview = "in-review",
|
|
1920
|
+
Open = "open",
|
|
1921
|
+
Closed = "closed",
|
|
1922
|
+
Blocked = "blocked",
|
|
1923
|
+
Done = "done",
|
|
1924
|
+
Cancelled = "cancelled",
|
|
1925
|
+
Draft = "draft",
|
|
1926
|
+
PendingReview = "pending-review",
|
|
1927
|
+
Approved = "approved",
|
|
1928
|
+
Published = "published",
|
|
1929
|
+
Archived = "archived",
|
|
1930
|
+
Rejected = "rejected",
|
|
1931
|
+
Active = "active",
|
|
1932
|
+
Inactive = "inactive",
|
|
1933
|
+
Pending = "pending",
|
|
1934
|
+
Completed = "completed",
|
|
1935
|
+
Suspended = "suspended",
|
|
1936
|
+
Failed = "failed",
|
|
1937
|
+
Review = "review",
|
|
1938
|
+
Expired = "expired"
|
|
1939
|
+
}
|
|
1940
|
+
/**
|
|
1941
|
+
* Standard system status definitions
|
|
1942
|
+
* Provides consistent status definitions across the platform
|
|
1943
|
+
* Uses AXPStatusDefinition interface from status-definition.types.ts
|
|
1944
|
+
*/
|
|
1945
|
+
declare const AXPSystemStatuses: Readonly<{
|
|
1946
|
+
readonly Open: {
|
|
1947
|
+
readonly name: AXPSystemStatusType.Open;
|
|
1948
|
+
readonly title: string;
|
|
1949
|
+
readonly icon: "fa-light fa-circle";
|
|
1950
|
+
readonly color: "secondary";
|
|
1951
|
+
readonly description: string;
|
|
1952
|
+
readonly order: 1;
|
|
1953
|
+
readonly isInitial: true;
|
|
1954
|
+
readonly isFinal: false;
|
|
1955
|
+
};
|
|
1956
|
+
readonly Closed: {
|
|
1957
|
+
readonly name: AXPSystemStatusType.Closed;
|
|
1958
|
+
readonly title: string;
|
|
1959
|
+
readonly icon: "fa-light fa-circle";
|
|
1960
|
+
readonly color: "danger";
|
|
1961
|
+
readonly description: string;
|
|
1962
|
+
readonly order: 2;
|
|
1963
|
+
readonly isInitial: false;
|
|
1964
|
+
readonly isFinal: true;
|
|
1965
|
+
};
|
|
1966
|
+
readonly Todo: {
|
|
1967
|
+
readonly name: AXPSystemStatusType.Todo;
|
|
1968
|
+
readonly title: string;
|
|
1969
|
+
readonly icon: "fa-light fa-circle";
|
|
1970
|
+
readonly color: "secondary";
|
|
1971
|
+
readonly description: string;
|
|
1972
|
+
readonly order: 1;
|
|
1973
|
+
readonly isInitial: true;
|
|
1974
|
+
readonly isFinal: false;
|
|
1975
|
+
};
|
|
1976
|
+
readonly InProgress: {
|
|
1977
|
+
readonly name: AXPSystemStatusType.InProgress;
|
|
1978
|
+
readonly title: string;
|
|
1979
|
+
readonly icon: "fa-light fa-play";
|
|
1980
|
+
readonly color: "info";
|
|
1981
|
+
readonly description: string;
|
|
1982
|
+
readonly order: 2;
|
|
1983
|
+
readonly isInitial: false;
|
|
1984
|
+
readonly isFinal: false;
|
|
1985
|
+
};
|
|
1986
|
+
readonly InReview: {
|
|
1987
|
+
readonly name: AXPSystemStatusType.InReview;
|
|
1988
|
+
readonly title: string;
|
|
1989
|
+
readonly icon: "fa-light fa-eye";
|
|
1990
|
+
readonly color: "info";
|
|
1991
|
+
readonly description: string;
|
|
1992
|
+
readonly order: 3;
|
|
1993
|
+
readonly isInitial: false;
|
|
1994
|
+
readonly isFinal: false;
|
|
1995
|
+
};
|
|
1996
|
+
readonly Blocked: {
|
|
1997
|
+
readonly name: AXPSystemStatusType.Blocked;
|
|
1998
|
+
readonly title: string;
|
|
1999
|
+
readonly icon: "fa-light fa-ban";
|
|
2000
|
+
readonly color: "danger";
|
|
2001
|
+
readonly description: string;
|
|
2002
|
+
readonly order: 4;
|
|
2003
|
+
readonly isInitial: false;
|
|
2004
|
+
readonly isFinal: false;
|
|
2005
|
+
};
|
|
2006
|
+
readonly Done: {
|
|
2007
|
+
readonly name: AXPSystemStatusType.Done;
|
|
2008
|
+
readonly title: string;
|
|
2009
|
+
readonly icon: "fa-light fa-check-circle";
|
|
2010
|
+
readonly color: "success";
|
|
2011
|
+
readonly description: string;
|
|
2012
|
+
readonly order: 5;
|
|
2013
|
+
readonly isInitial: false;
|
|
2014
|
+
readonly isFinal: true;
|
|
2015
|
+
};
|
|
2016
|
+
readonly Cancelled: {
|
|
2017
|
+
readonly name: AXPSystemStatusType.Cancelled;
|
|
2018
|
+
readonly title: string;
|
|
2019
|
+
readonly icon: "fa-light fa-times-circle";
|
|
2020
|
+
readonly color: "neutral";
|
|
2021
|
+
readonly description: string;
|
|
2022
|
+
readonly order: 6;
|
|
2023
|
+
readonly isInitial: false;
|
|
2024
|
+
readonly isFinal: true;
|
|
2025
|
+
};
|
|
2026
|
+
readonly Draft: {
|
|
2027
|
+
readonly name: AXPSystemStatusType.Draft;
|
|
2028
|
+
readonly title: string;
|
|
2029
|
+
readonly icon: "fa-light fa-file-pen";
|
|
2030
|
+
readonly color: "neutral";
|
|
2031
|
+
readonly description: string;
|
|
2032
|
+
readonly order: 1;
|
|
2033
|
+
readonly isInitial: true;
|
|
2034
|
+
readonly isFinal: false;
|
|
2035
|
+
};
|
|
2036
|
+
readonly PendingReview: {
|
|
2037
|
+
readonly name: AXPSystemStatusType.PendingReview;
|
|
2038
|
+
readonly title: string;
|
|
2039
|
+
readonly icon: "fa-light fa-clock";
|
|
2040
|
+
readonly color: "warning";
|
|
2041
|
+
readonly description: string;
|
|
2042
|
+
readonly order: 2;
|
|
2043
|
+
readonly isInitial: false;
|
|
2044
|
+
readonly isFinal: false;
|
|
2045
|
+
};
|
|
2046
|
+
readonly Approved: {
|
|
2047
|
+
readonly name: AXPSystemStatusType.Approved;
|
|
2048
|
+
readonly title: string;
|
|
2049
|
+
readonly icon: "fa-light fa-check-circle";
|
|
2050
|
+
readonly color: "success";
|
|
2051
|
+
readonly description: string;
|
|
2052
|
+
readonly order: 3;
|
|
2053
|
+
readonly isInitial: false;
|
|
2054
|
+
readonly isFinal: false;
|
|
2055
|
+
};
|
|
2056
|
+
readonly Published: {
|
|
2057
|
+
readonly name: AXPSystemStatusType.Published;
|
|
2058
|
+
readonly title: string;
|
|
2059
|
+
readonly icon: "fa-light fa-globe";
|
|
2060
|
+
readonly color: "primary";
|
|
2061
|
+
readonly description: string;
|
|
2062
|
+
readonly order: 4;
|
|
2063
|
+
readonly isInitial: false;
|
|
2064
|
+
readonly isFinal: false;
|
|
2065
|
+
};
|
|
2066
|
+
readonly Archived: {
|
|
2067
|
+
readonly name: AXPSystemStatusType.Archived;
|
|
2068
|
+
readonly title: string;
|
|
2069
|
+
readonly icon: "fa-light fa-archive";
|
|
2070
|
+
readonly color: "danger";
|
|
2071
|
+
readonly description: string;
|
|
2072
|
+
readonly order: 5;
|
|
2073
|
+
readonly isInitial: false;
|
|
2074
|
+
readonly isFinal: true;
|
|
2075
|
+
};
|
|
2076
|
+
readonly Rejected: {
|
|
2077
|
+
readonly name: AXPSystemStatusType.Rejected;
|
|
2078
|
+
readonly title: string;
|
|
2079
|
+
readonly icon: "fa-light fa-times-circle";
|
|
2080
|
+
readonly color: "danger";
|
|
2081
|
+
readonly description: string;
|
|
2082
|
+
readonly order: 6;
|
|
2083
|
+
readonly isInitial: false;
|
|
2084
|
+
readonly isFinal: true;
|
|
2085
|
+
};
|
|
2086
|
+
readonly Active: {
|
|
2087
|
+
readonly name: AXPSystemStatusType.Active;
|
|
2088
|
+
readonly title: string;
|
|
2089
|
+
readonly icon: "fa-light fa-check-circle";
|
|
2090
|
+
readonly color: "success";
|
|
2091
|
+
readonly description: string;
|
|
2092
|
+
readonly order: 1;
|
|
2093
|
+
readonly isInitial: false;
|
|
2094
|
+
readonly isFinal: false;
|
|
2095
|
+
};
|
|
2096
|
+
readonly Inactive: {
|
|
2097
|
+
readonly name: AXPSystemStatusType.Inactive;
|
|
2098
|
+
readonly title: string;
|
|
2099
|
+
readonly icon: "fa-light fa-circle";
|
|
2100
|
+
readonly color: "secondary";
|
|
2101
|
+
readonly description: string;
|
|
2102
|
+
readonly order: 2;
|
|
2103
|
+
readonly isInitial: false;
|
|
2104
|
+
readonly isFinal: false;
|
|
2105
|
+
};
|
|
2106
|
+
readonly Pending: {
|
|
2107
|
+
readonly name: AXPSystemStatusType.Pending;
|
|
2108
|
+
readonly title: string;
|
|
2109
|
+
readonly icon: "fa-light fa-clock";
|
|
2110
|
+
readonly color: "warning";
|
|
2111
|
+
readonly description: string;
|
|
2112
|
+
readonly order: 1;
|
|
2113
|
+
readonly isInitial: true;
|
|
2114
|
+
readonly isFinal: false;
|
|
2115
|
+
};
|
|
2116
|
+
readonly Completed: {
|
|
2117
|
+
readonly name: AXPSystemStatusType.Completed;
|
|
2118
|
+
readonly title: string;
|
|
2119
|
+
readonly icon: "fa-light fa-check-circle";
|
|
2120
|
+
readonly color: "success";
|
|
2121
|
+
readonly description: string;
|
|
2122
|
+
readonly order: 10;
|
|
2123
|
+
readonly isInitial: false;
|
|
2124
|
+
readonly isFinal: true;
|
|
2125
|
+
};
|
|
2126
|
+
readonly Suspended: {
|
|
2127
|
+
readonly name: AXPSystemStatusType.Suspended;
|
|
2128
|
+
readonly title: string;
|
|
2129
|
+
readonly icon: "fa-light fa-pause-circle";
|
|
2130
|
+
readonly color: "neutral";
|
|
2131
|
+
readonly description: string;
|
|
2132
|
+
readonly order: 5;
|
|
2133
|
+
readonly isInitial: false;
|
|
2134
|
+
readonly isFinal: false;
|
|
2135
|
+
};
|
|
2136
|
+
readonly Failed: {
|
|
2137
|
+
readonly name: AXPSystemStatusType.Failed;
|
|
2138
|
+
readonly title: string;
|
|
2139
|
+
readonly icon: "fa-light fa-xmark-circle";
|
|
2140
|
+
readonly color: "danger";
|
|
2141
|
+
readonly description: string;
|
|
2142
|
+
readonly order: 10;
|
|
2143
|
+
readonly isInitial: false;
|
|
2144
|
+
readonly isFinal: true;
|
|
2145
|
+
};
|
|
2146
|
+
readonly Review: {
|
|
2147
|
+
readonly name: AXPSystemStatusType.Review;
|
|
2148
|
+
readonly title: string;
|
|
2149
|
+
readonly icon: "fa-light fa-eye";
|
|
2150
|
+
readonly color: "info";
|
|
2151
|
+
readonly description: string;
|
|
2152
|
+
readonly order: 3;
|
|
2153
|
+
};
|
|
2154
|
+
readonly Expired: {
|
|
2155
|
+
readonly name: AXPSystemStatusType.Expired;
|
|
2156
|
+
readonly title: string;
|
|
2157
|
+
readonly icon: "fa-light fa-clock";
|
|
2158
|
+
readonly color: "danger";
|
|
2159
|
+
readonly description: string;
|
|
2160
|
+
readonly order: 10;
|
|
2161
|
+
readonly isInitial: false;
|
|
2162
|
+
readonly isFinal: true;
|
|
2163
|
+
};
|
|
2164
|
+
}>;
|
|
2165
|
+
/**
|
|
2166
|
+
* Get system status definition by type
|
|
2167
|
+
* @param type - Status type
|
|
2168
|
+
* @returns System status definition or undefined
|
|
2169
|
+
*/
|
|
2170
|
+
declare function getSystemStatus(type: AXPSystemStatusType): AXPStatusDefinition;
|
|
2171
|
+
/**
|
|
2172
|
+
* Resolves the visual appearance (color and icon) for status
|
|
2173
|
+
* using the system statuses from the core module.
|
|
2174
|
+
* @param statusType - Status type string
|
|
2175
|
+
* @returns Color and icon for the status
|
|
2176
|
+
*/
|
|
2177
|
+
declare function resolveStatusLook(statusType: string): {
|
|
2178
|
+
color: AXStyleColorType;
|
|
2179
|
+
icon: string;
|
|
2180
|
+
};
|
|
2181
|
+
/**
|
|
2182
|
+
* Resolves the complete status information (title, description, icon, color) for a status
|
|
2183
|
+
* using the system statuses from the core module.
|
|
2184
|
+
* @param statusType - Status type string
|
|
2185
|
+
* @returns Complete status information as AXPStatusDefinition
|
|
2186
|
+
*/
|
|
2187
|
+
declare function getStatusInfo(statusType: string): AXPStatusDefinition;
|
|
2188
|
+
/**
|
|
2189
|
+
* Get system status definition directly (no conversion needed since it's already AXPStatusDefinition)
|
|
2190
|
+
* @param statusType - Status type
|
|
2191
|
+
* @param overrides - Optional overrides for the status definition
|
|
2192
|
+
* @returns AXPStatusDefinition
|
|
2193
|
+
*/
|
|
2194
|
+
declare function systemStatusToDefinition(statusType: AXPSystemStatusType, overrides?: Partial<AXPStatusDefinition>): AXPStatusDefinition;
|
|
2195
|
+
|
|
2196
|
+
interface AXPTokenDefinition {
|
|
2197
|
+
name: string;
|
|
2198
|
+
execute: () => Promise<any> | any;
|
|
2199
|
+
}
|
|
2200
|
+
|
|
2201
|
+
type AXPTokenDefinitionProviderToken = AXPTokenDefinitionProvider | Promise<AXPTokenDefinitionProvider>;
|
|
2202
|
+
declare const AXP_TOKEN_DEFINITION_PROVIDER: InjectionToken<AXPTokenDefinitionProviderToken[]>;
|
|
2203
|
+
interface AXPTokenDefinitionProvider<T = any> {
|
|
2204
|
+
name: string;
|
|
2205
|
+
title: string;
|
|
2206
|
+
description?: string;
|
|
1662
2207
|
execute(): Promise<T> | T;
|
|
1663
2208
|
}
|
|
1664
2209
|
|
|
1665
|
-
declare class
|
|
2210
|
+
declare class AXPTokenDefinitionService {
|
|
1666
2211
|
private readonly definitionProviders;
|
|
1667
2212
|
/** Cache for definitions by name. */
|
|
1668
2213
|
private definitionsByName;
|
|
1669
2214
|
/**
|
|
1670
|
-
* Returns a
|
|
2215
|
+
* Returns a token definition by its name.
|
|
1671
2216
|
* First checks the cache, then queries all providers if not found.
|
|
1672
|
-
* @param name The
|
|
1673
|
-
* @returns The
|
|
2217
|
+
* @param name The token name.
|
|
2218
|
+
* @returns The token definition if found, undefined otherwise.
|
|
2219
|
+
*/
|
|
2220
|
+
getDefinition(name: string): Promise<AXPTokenDefinition | undefined>;
|
|
2221
|
+
/**
|
|
2222
|
+
* Gets the resolved value of a token by its name.
|
|
2223
|
+
* @param name The token name.
|
|
2224
|
+
* @returns The resolved token value, or undefined if the token is not found.
|
|
1674
2225
|
*/
|
|
1675
|
-
|
|
1676
|
-
execute(name: string): Promise<any>;
|
|
2226
|
+
getValue(name: string): Promise<any>;
|
|
1677
2227
|
/** Clears the definitions by name cache. */
|
|
1678
2228
|
clearDefinitionsCache(): void;
|
|
1679
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
1680
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
2229
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPTokenDefinitionService, never>;
|
|
2230
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPTokenDefinitionService>;
|
|
1681
2231
|
}
|
|
1682
2232
|
|
|
1683
|
-
declare class
|
|
1684
|
-
protected
|
|
2233
|
+
declare class AXPTokenEvaluatorScopeProvider implements AXPExpressionEvaluatorScopeProvider {
|
|
2234
|
+
protected tokenService: AXPTokenDefinitionService;
|
|
1685
2235
|
provide(context: AXPExpressionEvaluatorScopeProviderContext): Promise<void>;
|
|
1686
2236
|
}
|
|
1687
2237
|
|
|
@@ -1692,6 +2242,21 @@ declare class AXPClipBoardService {
|
|
|
1692
2242
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPClipBoardService>;
|
|
1693
2243
|
}
|
|
1694
2244
|
|
|
2245
|
+
/**
|
|
2246
|
+
* Service for debugging user access information.
|
|
2247
|
+
* Displays loaded modules, features, and permissions for the current user.
|
|
2248
|
+
*/
|
|
2249
|
+
declare class AXPDebugService {
|
|
2250
|
+
private readonly sessionService;
|
|
2251
|
+
private readonly manifestRegistry;
|
|
2252
|
+
/**
|
|
2253
|
+
* Display all loaded modules, features, and permissions for the current user.
|
|
2254
|
+
*/
|
|
2255
|
+
displayUserAccessInfo(): Promise<void>;
|
|
2256
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPDebugService, never>;
|
|
2257
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPDebugService>;
|
|
2258
|
+
}
|
|
2259
|
+
|
|
1695
2260
|
declare class AXPExportService {
|
|
1696
2261
|
popupService: AXPopupService;
|
|
1697
2262
|
generateBlobFromElement(element: HTMLElement, blobOptions?: AXPDomToImageOptions): Promise<Blob>;
|
|
@@ -1863,7 +2428,7 @@ declare class AXPDialogConfirmAction extends AXPWorkflowAction {
|
|
|
1863
2428
|
declare class AXPToastAction extends AXPWorkflowAction {
|
|
1864
2429
|
private toastService;
|
|
1865
2430
|
private translationService;
|
|
1866
|
-
private
|
|
2431
|
+
private settingsService;
|
|
1867
2432
|
color: AXStyleColorType;
|
|
1868
2433
|
title: string;
|
|
1869
2434
|
content: string;
|
|
@@ -1896,5 +2461,5 @@ declare class AXMWorkflowErrorHandler implements AXPErrorHandler {
|
|
|
1896
2461
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMWorkflowErrorHandler>;
|
|
1897
2462
|
}
|
|
1898
2463
|
|
|
1899
|
-
export { ALL_DEFAULT_OPERATORS, AXMWorkflowErrorHandler, AXPAppVersionService, AXPCleanNestedFilters, AXPClipBoardService, AXPCommonModule, AXPCommonSettings, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataProvider, AXPDialogConfirmAction, AXPEntityCommandScope, AXPEntityQueryType, AXPErrorHandlerRegistryService, AXPExportService, AXPFileStorageService, AXPFileStorageStatus, AXPFileTypeProviderService, AXPFilterOperatorMiddlewareService, AXPFilterOperatorMiddlewareServiceImpl, AXPFooterTextSlotComponent, AXPGlobalErrorHandler,
|
|
1900
|
-
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,
|
|
2464
|
+
export { ALL_DEFAULT_OPERATORS, AXMWorkflowErrorHandler, AXPAppVersionService, AXPCleanNestedFilters, AXPClipBoardService, AXPCommonModule, AXPCommonSettings, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataProvider, AXPDebugService, AXPDialogConfirmAction, AXPEntityCommandScope, AXPEntityQueryType, AXPErrorHandlerRegistryService, AXPExportService, AXPFileStorageService, AXPFileStorageStatus, AXPFileTypeProviderService, AXPFilterOperatorMiddlewareService, AXPFilterOperatorMiddlewareServiceImpl, AXPFooterTextSlotComponent, AXPGlobalErrorHandler, AXPHomePageModule, AXPHomePageService, AXPLockService, AXPMenuMiddlewareRegistry, AXPMenuProviderService, AXPMenuSearchDefinitionProvider, AXPMenuSearchProvider, AXPMenuService, AXPMenuVisibilityService, AXPNavBarSlotComponent, AXPNavigateWorkflow, AXPPlatformDefaultConfigs, AXPRedirectEvent, AXPRefreshEvent, AXPRegionalSetting, AXPRelationshipCardinality, AXPRelationshipKind, AXPReloadAction, AXPReloadEvent, AXPSearchCommandProvider, AXPSearchDefinitionActionBuilder, AXPSearchDefinitionBuilder, AXPSearchDefinitionProviderContext, AXPSearchDefinitionProviderService, AXPSearchService, AXPSettingDefaultValuesAggregatorService, AXPSettingDefinitionGroupBuilder, AXPSettingDefinitionProviderContext, AXPSettingDefinitionProviderService, AXPSettingDefinitionSectionBuilder, AXPSettingsService, AXPStatusDefinitionProviderService, AXPStatusProvider, AXPStickyDirective, AXPSystemStatusType, AXPSystemStatuses, AXPToastAction, AXPTokenDefinitionService, AXPTokenEvaluatorScopeProvider, AXPVersioningService, AXPWorkflowNavigateAction, AXPWorkflowRouterNavigateAction, AXP_APP_VERSION_PROVIDER, AXP_FILE_TYPE_INFO_PROVIDER, AXP_HOME_PAGES, AXP_HOME_PAGE_DEFAULT_KEY, AXP_MENU_MIDDLEWARE, 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, AXP_STATUS_PROVIDERS, AXP_TOKEN_DEFINITION_PROVIDER, AXVChangeType, 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, createMenuContext, createMenuMiddleware, createQueryView, getEntityInfo, getStatusInfo, getSystemStatus, provideDynamicHomePage, provideMenuMiddleware, resolveStatusLook, systemStatusToDefinition };
|
|
2465
|
+
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, AXPGroupSearchResult, AXPHomePageDefinition, AXPLanguage, AXPLocaleProfile, AXPLockGetInfoRequest, AXPLockInfo, AXPLockRequest, AXPLockType, AXPMenuFinderResult, AXPMenuInsertion, AXPMenuItem, AXPMenuItemCommand, AXPMenuItemFinder, AXPMenuItemWithParent, AXPMenuMiddleware, AXPMenuMiddlewareContext, AXPMenuMiddlewareProvider, 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, AXPSettingValue, AXPSettingValueProvider, AXPSettingsServiceInterface, AXPStatusDefinition, AXPStatusTransition, AXPTimeZone, AXPTokenDefinition, AXPTokenDefinitionProvider, AXPTokenDefinitionProviderToken, AXPUnLockRequest, AXPVersionChange, AXPVersionEntry, AXPVersionStream, CanonicalChange, CanonicalChangeOp, VersionedFileInfo };
|