@acorex/platform 20.6.0-next.10 → 20.6.0-next.12
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 +3 -0
- package/core/index.d.ts +102 -32
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +44 -22
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain.mjs +49 -4
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +873 -140
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +2 -2
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-entity-create-entity.command-DGeylNSY.mjs → acorex-platform-layout-entity-create-entity.command-Bui87lV1.mjs} +37 -6
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-Bui87lV1.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-entity.mjs +528 -118
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +7 -7
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +2 -8
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +801 -421
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs +79 -3
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-CD7rJIMh.mjs → acorex-platform-themes-default-entity-master-list-view.component-xq3eQ6t2.mjs} +3 -3
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-xq3eQ6t2.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +112 -11
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-C0EpfU2k.mjs +55 -0
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-C0EpfU2k.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +3 -3
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +277 -38
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/components/index.d.ts +248 -11
- package/layout/entity/index.d.ts +57 -9
- package/layout/widget-core/index.d.ts +4 -5
- package/layout/widgets/index.d.ts +59 -36
- package/package.json +1 -1
- package/runtime/index.d.ts +36 -8
- package/themes/default/index.d.ts +25 -2
- package/workflow/index.d.ts +38 -37
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-DGeylNSY.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-CD7rJIMh.mjs.map +0 -1
package/workflow/index.d.ts
CHANGED
|
@@ -3,7 +3,8 @@ import { Observable } from 'rxjs';
|
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { Type, ModuleWithProviders, Injector, InjectionToken } from '@angular/core';
|
|
5
5
|
import { AXPCommand } from '@acorex/platform/runtime';
|
|
6
|
-
import
|
|
6
|
+
import * as _acorex_platform_core from '@acorex/platform/core';
|
|
7
|
+
import { AXPExecuteCommandResult, AXPValidationRules } from '@acorex/platform/core';
|
|
7
8
|
import { AXPWidgetTypesMap } from '@acorex/platform/layout/widget-core';
|
|
8
9
|
import { AXStyleColorType } from '@acorex/cdk/common';
|
|
9
10
|
|
|
@@ -995,10 +996,10 @@ interface IActivity<TInput = any, TOutput = any> extends AXPCommand<TInput, {
|
|
|
995
996
|
* @param input - Activity input data
|
|
996
997
|
* @returns Promise with output and outcomes
|
|
997
998
|
*/
|
|
998
|
-
execute(input: TInput): Promise<{
|
|
999
|
+
execute(input: TInput): Promise<AXPExecuteCommandResult<{
|
|
999
1000
|
output: TOutput;
|
|
1000
1001
|
outcomes: Record<string, any>;
|
|
1001
|
-
}
|
|
1002
|
+
}>>;
|
|
1002
1003
|
}
|
|
1003
1004
|
/**
|
|
1004
1005
|
* Base abstract class for activities.
|
|
@@ -1012,17 +1013,17 @@ declare abstract class Activity<TInput = any, TOutput = any> implements IActivit
|
|
|
1012
1013
|
* Execute the activity as a command.
|
|
1013
1014
|
* Override this method in subclasses to implement activity logic.
|
|
1014
1015
|
*/
|
|
1015
|
-
abstract execute(input: TInput): Promise<{
|
|
1016
|
+
abstract execute(input: TInput): Promise<AXPExecuteCommandResult<{
|
|
1016
1017
|
output: TOutput;
|
|
1017
1018
|
outcomes: Record<string, any>;
|
|
1018
|
-
}
|
|
1019
|
+
}>>;
|
|
1019
1020
|
/**
|
|
1020
1021
|
* Helper method that returns Done outcome by default.
|
|
1021
1022
|
*/
|
|
1022
|
-
protected createResult(output: TOutput, outcome?: string): {
|
|
1023
|
+
protected createResult(output: TOutput, outcome?: string): AXPExecuteCommandResult<{
|
|
1023
1024
|
output: TOutput;
|
|
1024
1025
|
outcomes: Record<string, any>;
|
|
1025
|
-
}
|
|
1026
|
+
}>;
|
|
1026
1027
|
}
|
|
1027
1028
|
/**
|
|
1028
1029
|
* Activity descriptor - metadata about an activity type.
|
|
@@ -1705,10 +1706,10 @@ declare class WriteLine extends Activity<{
|
|
|
1705
1706
|
constructor();
|
|
1706
1707
|
execute(input: {
|
|
1707
1708
|
text?: string;
|
|
1708
|
-
}): Promise<{
|
|
1709
|
+
}): Promise<_acorex_platform_core.AXPExecuteCommandResult<{
|
|
1709
1710
|
output: void;
|
|
1710
1711
|
outcomes: Record<string, any>;
|
|
1711
|
-
}
|
|
1712
|
+
}>>;
|
|
1712
1713
|
}
|
|
1713
1714
|
|
|
1714
1715
|
/**
|
|
@@ -1727,10 +1728,10 @@ declare class Sequence extends Activity<{}, void> {
|
|
|
1727
1728
|
*/
|
|
1728
1729
|
activities: IActivity[];
|
|
1729
1730
|
constructor();
|
|
1730
|
-
execute(input: {}): Promise<{
|
|
1731
|
+
execute(input: {}): Promise<_acorex_platform_core.AXPExecuteCommandResult<{
|
|
1731
1732
|
output: void;
|
|
1732
1733
|
outcomes: Record<string, any>;
|
|
1733
|
-
}
|
|
1734
|
+
}>>;
|
|
1734
1735
|
}
|
|
1735
1736
|
|
|
1736
1737
|
/**
|
|
@@ -1771,13 +1772,13 @@ declare class ShowConfirmDialog extends Activity<{
|
|
|
1771
1772
|
defaultAction?: 'confirm' | 'cancel';
|
|
1772
1773
|
align?: 'horizontal' | 'vertical';
|
|
1773
1774
|
backdrop?: boolean;
|
|
1774
|
-
}): Promise<{
|
|
1775
|
+
}): Promise<_acorex_platform_core.AXPExecuteCommandResult<{
|
|
1775
1776
|
output: {
|
|
1776
1777
|
result: boolean;
|
|
1777
1778
|
action: string;
|
|
1778
1779
|
};
|
|
1779
1780
|
outcomes: Record<string, any>;
|
|
1780
|
-
}
|
|
1781
|
+
}>>;
|
|
1781
1782
|
}
|
|
1782
1783
|
|
|
1783
1784
|
/**
|
|
@@ -1811,13 +1812,13 @@ declare class ShowAlertDialog extends Activity<{
|
|
|
1811
1812
|
title?: string;
|
|
1812
1813
|
message?: string;
|
|
1813
1814
|
color?: AXStyleColorType;
|
|
1814
|
-
}): Promise<{
|
|
1815
|
+
}): Promise<_acorex_platform_core.AXPExecuteCommandResult<{
|
|
1815
1816
|
output: {
|
|
1816
1817
|
result: boolean;
|
|
1817
1818
|
action: string;
|
|
1818
1819
|
};
|
|
1819
1820
|
outcomes: Record<string, any>;
|
|
1820
|
-
}
|
|
1821
|
+
}>>;
|
|
1821
1822
|
}
|
|
1822
1823
|
|
|
1823
1824
|
/**
|
|
@@ -1847,10 +1848,10 @@ declare class ShowToast extends Activity<{
|
|
|
1847
1848
|
title?: string;
|
|
1848
1849
|
message?: string;
|
|
1849
1850
|
duration?: number;
|
|
1850
|
-
}): Promise<{
|
|
1851
|
+
}): Promise<_acorex_platform_core.AXPExecuteCommandResult<{
|
|
1851
1852
|
output: void;
|
|
1852
1853
|
outcomes: Record<string, any>;
|
|
1853
|
-
}
|
|
1854
|
+
}>>;
|
|
1854
1855
|
}
|
|
1855
1856
|
|
|
1856
1857
|
/**
|
|
@@ -1885,10 +1886,10 @@ declare class Navigate extends Activity<{
|
|
|
1885
1886
|
entity?: string;
|
|
1886
1887
|
entityId?: string;
|
|
1887
1888
|
url?: string;
|
|
1888
|
-
}): Promise<{
|
|
1889
|
+
}): Promise<_acorex_platform_core.AXPExecuteCommandResult<{
|
|
1889
1890
|
output: void;
|
|
1890
1891
|
outcomes: Record<string, any>;
|
|
1891
|
-
}
|
|
1892
|
+
}>>;
|
|
1892
1893
|
}
|
|
1893
1894
|
|
|
1894
1895
|
/**
|
|
@@ -1911,10 +1912,10 @@ declare class SetVariable extends Activity<{
|
|
|
1911
1912
|
execute(input: {
|
|
1912
1913
|
variableName: string;
|
|
1913
1914
|
value: any;
|
|
1914
|
-
}): Promise<{
|
|
1915
|
+
}): Promise<_acorex_platform_core.AXPExecuteCommandResult<{
|
|
1915
1916
|
output: void;
|
|
1916
1917
|
outcomes: Record<string, any>;
|
|
1917
|
-
}
|
|
1918
|
+
}>>;
|
|
1918
1919
|
}
|
|
1919
1920
|
|
|
1920
1921
|
/**
|
|
@@ -1937,10 +1938,10 @@ declare class DispatchEvent extends Activity<{
|
|
|
1937
1938
|
execute(input: {
|
|
1938
1939
|
eventName: string;
|
|
1939
1940
|
eventData?: any;
|
|
1940
|
-
}): Promise<{
|
|
1941
|
+
}): Promise<_acorex_platform_core.AXPExecuteCommandResult<{
|
|
1941
1942
|
output: void;
|
|
1942
1943
|
outcomes: Record<string, any>;
|
|
1943
|
-
}
|
|
1944
|
+
}>>;
|
|
1944
1945
|
}
|
|
1945
1946
|
|
|
1946
1947
|
/**
|
|
@@ -1964,10 +1965,10 @@ declare class If extends Activity<{
|
|
|
1964
1965
|
condition: string | boolean;
|
|
1965
1966
|
thenActivities?: IActivity[];
|
|
1966
1967
|
elseActivities?: IActivity[];
|
|
1967
|
-
}): Promise<{
|
|
1968
|
+
}): Promise<_acorex_platform_core.AXPExecuteCommandResult<{
|
|
1968
1969
|
output: any;
|
|
1969
1970
|
outcomes: Record<string, any>;
|
|
1970
|
-
}
|
|
1971
|
+
}>>;
|
|
1971
1972
|
private evaluateCondition;
|
|
1972
1973
|
}
|
|
1973
1974
|
|
|
@@ -1991,10 +1992,10 @@ declare class While extends Activity<{
|
|
|
1991
1992
|
condition: string | boolean;
|
|
1992
1993
|
activities?: IActivity[];
|
|
1993
1994
|
maxIterations?: number;
|
|
1994
|
-
}): Promise<{
|
|
1995
|
+
}): Promise<_acorex_platform_core.AXPExecuteCommandResult<{
|
|
1995
1996
|
output: any;
|
|
1996
1997
|
outcomes: Record<string, any>;
|
|
1997
|
-
}
|
|
1998
|
+
}>>;
|
|
1998
1999
|
private evaluateCondition;
|
|
1999
2000
|
}
|
|
2000
2001
|
|
|
@@ -2022,10 +2023,10 @@ declare class ForEach extends Activity<{
|
|
|
2022
2023
|
activities?: IActivity[];
|
|
2023
2024
|
itemVariableName?: string;
|
|
2024
2025
|
indexVariableName?: string;
|
|
2025
|
-
}): Promise<{
|
|
2026
|
+
}): Promise<_acorex_platform_core.AXPExecuteCommandResult<{
|
|
2026
2027
|
output: any;
|
|
2027
2028
|
outcomes: Record<string, any>;
|
|
2028
|
-
}
|
|
2029
|
+
}>>;
|
|
2029
2030
|
}
|
|
2030
2031
|
|
|
2031
2032
|
/**
|
|
@@ -2049,10 +2050,10 @@ declare class ExecuteCommand extends Activity<{
|
|
|
2049
2050
|
execute(input: {
|
|
2050
2051
|
commandKey: string;
|
|
2051
2052
|
input?: any;
|
|
2052
|
-
}): Promise<{
|
|
2053
|
+
}): Promise<_acorex_platform_core.AXPExecuteCommandResult<{
|
|
2053
2054
|
output: any;
|
|
2054
2055
|
outcomes: Record<string, any>;
|
|
2055
|
-
}
|
|
2056
|
+
}>>;
|
|
2056
2057
|
}
|
|
2057
2058
|
|
|
2058
2059
|
/**
|
|
@@ -2076,10 +2077,10 @@ declare class ExecuteQuery extends Activity<{
|
|
|
2076
2077
|
execute(input: {
|
|
2077
2078
|
queryKey: string;
|
|
2078
2079
|
input?: any;
|
|
2079
|
-
}): Promise<{
|
|
2080
|
+
}): Promise<_acorex_platform_core.AXPExecuteCommandResult<{
|
|
2080
2081
|
output: any;
|
|
2081
2082
|
outcomes: Record<string, any>;
|
|
2082
|
-
}
|
|
2083
|
+
}>>;
|
|
2083
2084
|
}
|
|
2084
2085
|
|
|
2085
2086
|
/**
|
|
@@ -2096,10 +2097,10 @@ declare class ExecuteQuery extends Activity<{
|
|
|
2096
2097
|
*/
|
|
2097
2098
|
declare class StartActivity extends Activity<Record<string, never>, void> {
|
|
2098
2099
|
constructor();
|
|
2099
|
-
execute(input: Record<string, never>): Promise<{
|
|
2100
|
+
execute(input: Record<string, never>): Promise<_acorex_platform_core.AXPExecuteCommandResult<{
|
|
2100
2101
|
output: void;
|
|
2101
2102
|
outcomes: Record<string, any>;
|
|
2102
|
-
}
|
|
2103
|
+
}>>;
|
|
2103
2104
|
}
|
|
2104
2105
|
|
|
2105
2106
|
/**
|
|
@@ -2116,10 +2117,10 @@ declare class StartActivity extends Activity<Record<string, never>, void> {
|
|
|
2116
2117
|
*/
|
|
2117
2118
|
declare class EndActivity extends Activity<Record<string, never>, void> {
|
|
2118
2119
|
constructor();
|
|
2119
|
-
execute(input: Record<string, never>): Promise<{
|
|
2120
|
+
execute(input: Record<string, never>): Promise<_acorex_platform_core.AXPExecuteCommandResult<{
|
|
2120
2121
|
output: void;
|
|
2121
2122
|
outcomes: Record<string, any>;
|
|
2122
|
-
}
|
|
2123
|
+
}>>;
|
|
2123
2124
|
}
|
|
2124
2125
|
|
|
2125
2126
|
/**
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-layout-entity-create-entity.command-DGeylNSY.mjs","sources":["../tmp-esm2022/layout/entity/lib/commands/create-entity.command.js"],"sourcesContent":["import { AXToastService } from '@acorex/components/toast';\nimport { inject, Injectable } from '@angular/core';\nimport { AXPEntityDefinitionRegistryService } from '../entity-registery.service';\nimport { AXPEntityDynamicDialogService } from '../services/entity-forms/entity-dynamic-form-dialog.service';\nimport * as i0 from \"@angular/core\";\nexport class AXPCreateEntityCommand {\n constructor() {\n this.entityForm = inject(AXPEntityDynamicDialogService);\n this.entityService = inject(AXPEntityDefinitionRegistryService);\n this.toastService = inject(AXToastService);\n this.context = {};\n }\n async execute(input) {\n const { entity, entityInfo, data, options, metadata } = input;\n const [moduleName, entityName] = (entity || '').split('.');\n const entityRef = await this.entityService.resolve(moduleName, entityName);\n console.log({ input });\n try {\n let chain = this.entityForm.entity(`${moduleName}.${entityName}`).create();\n if (entityInfo?.title) {\n chain = chain.title(`Create ${entityInfo.title}`);\n }\n if (data) {\n chain = chain.context(data);\n }\n const dialogRef = await chain.show();\n dialogRef.setLoading(true);\n const context = dialogRef.context();\n const createFn = entityRef.commands?.create?.execute;\n const result = await createFn(context);\n if (result) {\n dialogRef.close();\n }\n dialogRef.setLoading(false);\n return result;\n }\n catch (error) {\n throw error;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.12\", ngImport: i0, type: AXPCreateEntityCommand, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"20.3.12\", ngImport: i0, type: AXPCreateEntityCommand, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.12\", ngImport: i0, type: AXPCreateEntityCommand, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlLWVudGl0eS5jb21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