@acorex/platform 20.6.0-next.9 → 20.6.0
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 +9 -2
- package/core/index.d.ts +209 -55
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +225 -24
- 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 +39 -118
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +1011 -257
- 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.mjs +9318 -4439
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +30 -24
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +4 -8
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-V31OpYah.mjs +30 -0
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-V31OpYah.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-C1l2KSDa.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-m8rHZP8L.mjs} +2 -2
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-m8rHZP8L.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-D-31ej0C.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-y8vjUiVs.mjs} +2 -2
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-y8vjUiVs.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets.mjs +2081 -1238
- 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-create-view.component-mARj77Mr.mjs +136 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-mARj77Mr.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-Cym8pq0v.mjs +1543 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-Cym8pq0v.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +124 -21
- 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 +15 -110
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +658 -45
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/index.d.ts +6 -33
- package/layout/components/index.d.ts +301 -60
- package/layout/designer/index.d.ts +1 -1
- package/layout/entity/index.d.ts +650 -86
- package/layout/views/index.d.ts +5 -58
- package/layout/widget-core/index.d.ts +24 -26
- package/layout/widgets/README.md +0 -1
- package/layout/widgets/index.d.ts +134 -84
- package/package.json +9 -9
- package/runtime/index.d.ts +36 -8
- package/themes/default/index.d.ts +29 -73
- package/themes/shared/index.d.ts +1 -39
- package/workflow/index.d.ts +401 -90
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-DGeylNSY.mjs +0 -52
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-DGeylNSY.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-C1l2KSDa.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-D-31ej0C.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-WbPPqDON.mjs +0 -115
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-WbPPqDON.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-CD7rJIMh.mjs +0 -803
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-CD7rJIMh.mjs.map +0 -1
package/common/index.d.ts
CHANGED
|
@@ -86,6 +86,7 @@ interface AXPEntityPropertyGroup {
|
|
|
86
86
|
title: string;
|
|
87
87
|
description?: string;
|
|
88
88
|
permissions?: string[];
|
|
89
|
+
icon?: string;
|
|
89
90
|
}
|
|
90
91
|
interface AXPEntityPropertyView {
|
|
91
92
|
name: string;
|
|
@@ -100,6 +101,7 @@ interface AXPEntityPropertyCreateView extends AXPEntityPropertyView {
|
|
|
100
101
|
}
|
|
101
102
|
interface AXPEntitySectionView {
|
|
102
103
|
id: string;
|
|
104
|
+
icon?: string;
|
|
103
105
|
description?: string;
|
|
104
106
|
order?: number;
|
|
105
107
|
collapsed?: boolean;
|
|
@@ -113,8 +115,8 @@ interface AXPEntityProperty {
|
|
|
113
115
|
schema: {
|
|
114
116
|
dataType: string;
|
|
115
117
|
nullable?: boolean;
|
|
116
|
-
readonly?: boolean;
|
|
117
|
-
|
|
118
|
+
readonly?: boolean | string;
|
|
119
|
+
visible?: boolean | string;
|
|
118
120
|
defaultValue?: any | string | ((context: any | null) => any);
|
|
119
121
|
unique?: {
|
|
120
122
|
enabled: boolean;
|
|
@@ -201,6 +203,7 @@ interface AXPCommandActionDisplay extends Partial<AXPCommandActionLook> {
|
|
|
201
203
|
hidden?: boolean | string;
|
|
202
204
|
disabled?: boolean | string;
|
|
203
205
|
default?: boolean;
|
|
206
|
+
order?: number;
|
|
204
207
|
}
|
|
205
208
|
interface AXPEntityAction extends AXPCommandActionDisplay {
|
|
206
209
|
scope: AXPEntityCommandScope;
|
|
@@ -821,6 +824,10 @@ interface AXPFileStorageUpdateRequest {
|
|
|
821
824
|
* If null, the service will resolve the path based on metadata, user, tenant, or default rules.
|
|
822
825
|
*/
|
|
823
826
|
path?: string;
|
|
827
|
+
/**
|
|
828
|
+
* The name of the file.
|
|
829
|
+
*/
|
|
830
|
+
name?: string;
|
|
824
831
|
/**
|
|
825
832
|
* Metadata associated with the file.
|
|
826
833
|
*/
|
package/core/index.d.ts
CHANGED
|
@@ -767,7 +767,6 @@ declare const AXPSystemActions: Readonly<{
|
|
|
767
767
|
readonly key: AXPSystemActionType.Cancel;
|
|
768
768
|
readonly title: string;
|
|
769
769
|
readonly icon: "fa-light fa-xmark";
|
|
770
|
-
readonly color: "danger";
|
|
771
770
|
readonly critical: true;
|
|
772
771
|
readonly descriptions: {
|
|
773
772
|
readonly title: string;
|
|
@@ -909,7 +908,7 @@ type AXPPartialNested<T> = {
|
|
|
909
908
|
declare function getNestedKeys(obj: any, prefix?: string): string[];
|
|
910
909
|
type AXPExpression = string;
|
|
911
910
|
type AXPMetaData = Record<string, any>;
|
|
912
|
-
type AXPOptionsData = Record<string, any
|
|
911
|
+
type AXPOptionsData<T extends Record<string, unknown> = Record<string, any>> = T;
|
|
913
912
|
interface AXPValueUnit {
|
|
914
913
|
name: string;
|
|
915
914
|
title: string;
|
|
@@ -963,7 +962,10 @@ interface AXPCategoryEntity<TKey = string> {
|
|
|
963
962
|
title: string;
|
|
964
963
|
description?: string;
|
|
965
964
|
parentId?: TKey;
|
|
966
|
-
|
|
965
|
+
childrenCount: number;
|
|
966
|
+
itemsCount?: number;
|
|
967
|
+
totalChildren?: number;
|
|
968
|
+
totalItems?: number;
|
|
967
969
|
}
|
|
968
970
|
interface AXPCategoryEntityWithItems<T> extends AXPCategoryEntity {
|
|
969
971
|
items: T[];
|
|
@@ -987,7 +989,7 @@ type AXPWidgetTrigger = {
|
|
|
987
989
|
};
|
|
988
990
|
type AXPWidgetTriggers = AXPWidgetTrigger[];
|
|
989
991
|
|
|
990
|
-
type AXPFileStatus = 'attached' | 'uploading' | 'uploaded' | 'deleted' | 'remote';
|
|
992
|
+
type AXPFileStatus = 'attached' | 'uploading' | 'uploaded' | 'deleted' | 'remote' | 'editing';
|
|
991
993
|
interface AXPFileSource {
|
|
992
994
|
kind: 'blob' | 'url' | 'preview' | 'none' | 'fileId' | 'reference';
|
|
993
995
|
value?: Blob | string | AXPEntityReference;
|
|
@@ -1055,6 +1057,12 @@ type AXPBadge = {
|
|
|
1055
1057
|
description?: string;
|
|
1056
1058
|
color?: 'primary' | 'success' | 'warning' | 'danger';
|
|
1057
1059
|
};
|
|
1060
|
+
interface AXPCommandMessage {
|
|
1061
|
+
type?: 'info' | 'success' | 'warning' | 'error';
|
|
1062
|
+
code?: string;
|
|
1063
|
+
text: string;
|
|
1064
|
+
details?: unknown;
|
|
1065
|
+
}
|
|
1058
1066
|
type AXPExecuteCommand = {
|
|
1059
1067
|
name: string;
|
|
1060
1068
|
options?: AXPMetaData;
|
|
@@ -1062,22 +1070,19 @@ type AXPExecuteCommand = {
|
|
|
1062
1070
|
};
|
|
1063
1071
|
interface AXPExecuteCommandResult<T = any> {
|
|
1064
1072
|
success: boolean;
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
message?: string;
|
|
1069
|
-
details?: any;
|
|
1070
|
-
};
|
|
1073
|
+
data?: T;
|
|
1074
|
+
message?: AXPCommandMessage;
|
|
1075
|
+
metadata?: AXPMetaData;
|
|
1071
1076
|
}
|
|
1072
1077
|
interface AXPQueryFetchResult<T = any> {
|
|
1073
1078
|
success: boolean;
|
|
1074
|
-
|
|
1079
|
+
data?: {
|
|
1075
1080
|
items?: T[];
|
|
1076
1081
|
total?: number;
|
|
1077
1082
|
};
|
|
1078
|
-
|
|
1083
|
+
message?: {
|
|
1079
1084
|
code?: string;
|
|
1080
|
-
|
|
1085
|
+
text?: string;
|
|
1081
1086
|
details?: any;
|
|
1082
1087
|
};
|
|
1083
1088
|
}
|
|
@@ -1796,6 +1801,7 @@ declare const AXPAppStartUpProvider: i0.EnvironmentProviders;
|
|
|
1796
1801
|
* Status Definition Types
|
|
1797
1802
|
* Defines the structure for status definitions and their transitions
|
|
1798
1803
|
*/
|
|
1804
|
+
|
|
1799
1805
|
/**
|
|
1800
1806
|
* Status definition with metadata
|
|
1801
1807
|
*/
|
|
@@ -1836,6 +1842,10 @@ interface AXPStatusDefinition {
|
|
|
1836
1842
|
* Whether this is an initial status (starting state)
|
|
1837
1843
|
*/
|
|
1838
1844
|
isInitial?: boolean;
|
|
1845
|
+
/**
|
|
1846
|
+
* Whether list views should be automatically generated for this status
|
|
1847
|
+
*/
|
|
1848
|
+
generateView?: boolean;
|
|
1839
1849
|
}
|
|
1840
1850
|
/**
|
|
1841
1851
|
* Status transition definition
|
|
@@ -1904,6 +1914,53 @@ declare abstract class AXPStatusProvider {
|
|
|
1904
1914
|
* Optional default status name
|
|
1905
1915
|
*/
|
|
1906
1916
|
abstract readonly defaultStatus?: string;
|
|
1917
|
+
/**
|
|
1918
|
+
* Optional workflow actions that should be exposed on entity lists/records
|
|
1919
|
+
*/
|
|
1920
|
+
readonly workflowActions?: AXPStatusWorkflowAction[];
|
|
1921
|
+
}
|
|
1922
|
+
type AXPStatusActionPriority = 'primary' | 'secondary';
|
|
1923
|
+
type AXPStatusActionScope = 'individual' | 'selected' | 'typeLevel' | 'section';
|
|
1924
|
+
interface AXPStatusWorkflowAction {
|
|
1925
|
+
/**
|
|
1926
|
+
* Unique action name
|
|
1927
|
+
*/
|
|
1928
|
+
name: string;
|
|
1929
|
+
/**
|
|
1930
|
+
* Localized title key
|
|
1931
|
+
*/
|
|
1932
|
+
title: string;
|
|
1933
|
+
/**
|
|
1934
|
+
* Command descriptor to execute
|
|
1935
|
+
*/
|
|
1936
|
+
command: {
|
|
1937
|
+
name: string;
|
|
1938
|
+
options?: Record<string, unknown>;
|
|
1939
|
+
};
|
|
1940
|
+
/**
|
|
1941
|
+
* Optional hidden expression
|
|
1942
|
+
*/
|
|
1943
|
+
hidden?: string;
|
|
1944
|
+
/**
|
|
1945
|
+
* Action priority (primary/secondary)
|
|
1946
|
+
*/
|
|
1947
|
+
priority?: AXPStatusActionPriority;
|
|
1948
|
+
/**
|
|
1949
|
+
* System action type for telemetry/audit
|
|
1950
|
+
*/
|
|
1951
|
+
type?: AXPSystemActionType;
|
|
1952
|
+
/**
|
|
1953
|
+
* Command scope (individual, selected, typeLevel, section)
|
|
1954
|
+
*/
|
|
1955
|
+
scope?: AXPStatusActionScope;
|
|
1956
|
+
/**
|
|
1957
|
+
* Whether action should be rendered separated from others
|
|
1958
|
+
*/
|
|
1959
|
+
separated?: boolean;
|
|
1960
|
+
/**
|
|
1961
|
+
* Optional icon representation
|
|
1962
|
+
*/
|
|
1963
|
+
icon?: string;
|
|
1907
1964
|
}
|
|
1908
1965
|
|
|
1909
1966
|
/**
|
|
@@ -1994,7 +2051,8 @@ declare enum AXPSystemStatusType {
|
|
|
1994
2051
|
Pending = "pending",
|
|
1995
2052
|
Completed = "completed",
|
|
1996
2053
|
Suspended = "suspended",
|
|
1997
|
-
Failed = "failed"
|
|
2054
|
+
Failed = "failed",
|
|
2055
|
+
Review = "review"
|
|
1998
2056
|
}
|
|
1999
2057
|
/**
|
|
2000
2058
|
* Standard system status definitions
|
|
@@ -2006,7 +2064,7 @@ declare const AXPSystemStatuses: Readonly<{
|
|
|
2006
2064
|
readonly name: AXPSystemStatusType.Todo;
|
|
2007
2065
|
readonly title: string;
|
|
2008
2066
|
readonly icon: "fa-light fa-circle";
|
|
2009
|
-
readonly color: "
|
|
2067
|
+
readonly color: "secondary";
|
|
2010
2068
|
readonly description: string;
|
|
2011
2069
|
readonly order: 1;
|
|
2012
2070
|
readonly isActive: true;
|
|
@@ -2017,7 +2075,7 @@ declare const AXPSystemStatuses: Readonly<{
|
|
|
2017
2075
|
readonly name: AXPSystemStatusType.InProgress;
|
|
2018
2076
|
readonly title: string;
|
|
2019
2077
|
readonly icon: "fa-light fa-play";
|
|
2020
|
-
readonly color: "
|
|
2078
|
+
readonly color: "info";
|
|
2021
2079
|
readonly description: string;
|
|
2022
2080
|
readonly order: 2;
|
|
2023
2081
|
readonly isActive: true;
|
|
@@ -2028,7 +2086,7 @@ declare const AXPSystemStatuses: Readonly<{
|
|
|
2028
2086
|
readonly name: AXPSystemStatusType.InReview;
|
|
2029
2087
|
readonly title: string;
|
|
2030
2088
|
readonly icon: "fa-light fa-eye";
|
|
2031
|
-
readonly color: "
|
|
2089
|
+
readonly color: "info";
|
|
2032
2090
|
readonly description: string;
|
|
2033
2091
|
readonly order: 3;
|
|
2034
2092
|
readonly isActive: true;
|
|
@@ -2039,7 +2097,7 @@ declare const AXPSystemStatuses: Readonly<{
|
|
|
2039
2097
|
readonly name: AXPSystemStatusType.Blocked;
|
|
2040
2098
|
readonly title: string;
|
|
2041
2099
|
readonly icon: "fa-light fa-ban";
|
|
2042
|
-
readonly color: "
|
|
2100
|
+
readonly color: "danger";
|
|
2043
2101
|
readonly description: string;
|
|
2044
2102
|
readonly order: 4;
|
|
2045
2103
|
readonly isActive: true;
|
|
@@ -2050,7 +2108,7 @@ declare const AXPSystemStatuses: Readonly<{
|
|
|
2050
2108
|
readonly name: AXPSystemStatusType.Done;
|
|
2051
2109
|
readonly title: string;
|
|
2052
2110
|
readonly icon: "fa-light fa-check-circle";
|
|
2053
|
-
readonly color: "
|
|
2111
|
+
readonly color: "success";
|
|
2054
2112
|
readonly description: string;
|
|
2055
2113
|
readonly order: 5;
|
|
2056
2114
|
readonly isActive: true;
|
|
@@ -2061,7 +2119,7 @@ declare const AXPSystemStatuses: Readonly<{
|
|
|
2061
2119
|
readonly name: AXPSystemStatusType.Cancelled;
|
|
2062
2120
|
readonly title: string;
|
|
2063
2121
|
readonly icon: "fa-light fa-times-circle";
|
|
2064
|
-
readonly color: "
|
|
2122
|
+
readonly color: "neutral";
|
|
2065
2123
|
readonly description: string;
|
|
2066
2124
|
readonly order: 6;
|
|
2067
2125
|
readonly isActive: true;
|
|
@@ -2072,7 +2130,7 @@ declare const AXPSystemStatuses: Readonly<{
|
|
|
2072
2130
|
readonly name: AXPSystemStatusType.Draft;
|
|
2073
2131
|
readonly title: string;
|
|
2074
2132
|
readonly icon: "fa-light fa-file-pen";
|
|
2075
|
-
readonly color: "
|
|
2133
|
+
readonly color: "neutral";
|
|
2076
2134
|
readonly description: string;
|
|
2077
2135
|
readonly order: 1;
|
|
2078
2136
|
readonly isActive: true;
|
|
@@ -2083,7 +2141,7 @@ declare const AXPSystemStatuses: Readonly<{
|
|
|
2083
2141
|
readonly name: AXPSystemStatusType.PendingReview;
|
|
2084
2142
|
readonly title: string;
|
|
2085
2143
|
readonly icon: "fa-light fa-clock";
|
|
2086
|
-
readonly color: "
|
|
2144
|
+
readonly color: "warning";
|
|
2087
2145
|
readonly description: string;
|
|
2088
2146
|
readonly order: 2;
|
|
2089
2147
|
readonly isActive: true;
|
|
@@ -2094,7 +2152,7 @@ declare const AXPSystemStatuses: Readonly<{
|
|
|
2094
2152
|
readonly name: AXPSystemStatusType.Approved;
|
|
2095
2153
|
readonly title: string;
|
|
2096
2154
|
readonly icon: "fa-light fa-check-circle";
|
|
2097
|
-
readonly color: "
|
|
2155
|
+
readonly color: "success";
|
|
2098
2156
|
readonly description: string;
|
|
2099
2157
|
readonly order: 3;
|
|
2100
2158
|
readonly isActive: true;
|
|
@@ -2105,7 +2163,7 @@ declare const AXPSystemStatuses: Readonly<{
|
|
|
2105
2163
|
readonly name: AXPSystemStatusType.Published;
|
|
2106
2164
|
readonly title: string;
|
|
2107
2165
|
readonly icon: "fa-light fa-globe";
|
|
2108
|
-
readonly color: "
|
|
2166
|
+
readonly color: "primary";
|
|
2109
2167
|
readonly description: string;
|
|
2110
2168
|
readonly order: 4;
|
|
2111
2169
|
readonly isActive: true;
|
|
@@ -2116,7 +2174,7 @@ declare const AXPSystemStatuses: Readonly<{
|
|
|
2116
2174
|
readonly name: AXPSystemStatusType.Archived;
|
|
2117
2175
|
readonly title: string;
|
|
2118
2176
|
readonly icon: "fa-light fa-archive";
|
|
2119
|
-
readonly color: "
|
|
2177
|
+
readonly color: "neutral";
|
|
2120
2178
|
readonly description: string;
|
|
2121
2179
|
readonly order: 5;
|
|
2122
2180
|
readonly isActive: true;
|
|
@@ -2127,7 +2185,7 @@ declare const AXPSystemStatuses: Readonly<{
|
|
|
2127
2185
|
readonly name: AXPSystemStatusType.Rejected;
|
|
2128
2186
|
readonly title: string;
|
|
2129
2187
|
readonly icon: "fa-light fa-times-circle";
|
|
2130
|
-
readonly color: "
|
|
2188
|
+
readonly color: "danger";
|
|
2131
2189
|
readonly description: string;
|
|
2132
2190
|
readonly order: 6;
|
|
2133
2191
|
readonly isActive: true;
|
|
@@ -2138,7 +2196,7 @@ declare const AXPSystemStatuses: Readonly<{
|
|
|
2138
2196
|
readonly name: AXPSystemStatusType.Active;
|
|
2139
2197
|
readonly title: string;
|
|
2140
2198
|
readonly icon: "fa-light fa-check-circle";
|
|
2141
|
-
readonly color: "
|
|
2199
|
+
readonly color: "success";
|
|
2142
2200
|
readonly description: string;
|
|
2143
2201
|
readonly order: 1;
|
|
2144
2202
|
readonly isActive: true;
|
|
@@ -2149,7 +2207,7 @@ declare const AXPSystemStatuses: Readonly<{
|
|
|
2149
2207
|
readonly name: AXPSystemStatusType.Inactive;
|
|
2150
2208
|
readonly title: string;
|
|
2151
2209
|
readonly icon: "fa-light fa-circle";
|
|
2152
|
-
readonly color: "
|
|
2210
|
+
readonly color: "secondary";
|
|
2153
2211
|
readonly description: string;
|
|
2154
2212
|
readonly order: 2;
|
|
2155
2213
|
readonly isActive: true;
|
|
@@ -2160,7 +2218,7 @@ declare const AXPSystemStatuses: Readonly<{
|
|
|
2160
2218
|
readonly name: AXPSystemStatusType.Pending;
|
|
2161
2219
|
readonly title: string;
|
|
2162
2220
|
readonly icon: "fa-light fa-clock";
|
|
2163
|
-
readonly color: "
|
|
2221
|
+
readonly color: "warning";
|
|
2164
2222
|
readonly description: string;
|
|
2165
2223
|
readonly order: 1;
|
|
2166
2224
|
readonly isActive: true;
|
|
@@ -2171,7 +2229,7 @@ declare const AXPSystemStatuses: Readonly<{
|
|
|
2171
2229
|
readonly name: AXPSystemStatusType.Completed;
|
|
2172
2230
|
readonly title: string;
|
|
2173
2231
|
readonly icon: "fa-light fa-check-circle";
|
|
2174
|
-
readonly color: "
|
|
2232
|
+
readonly color: "success";
|
|
2175
2233
|
readonly description: string;
|
|
2176
2234
|
readonly order: 10;
|
|
2177
2235
|
readonly isActive: true;
|
|
@@ -2182,7 +2240,7 @@ declare const AXPSystemStatuses: Readonly<{
|
|
|
2182
2240
|
readonly name: AXPSystemStatusType.Suspended;
|
|
2183
2241
|
readonly title: string;
|
|
2184
2242
|
readonly icon: "fa-light fa-pause-circle";
|
|
2185
|
-
readonly color: "
|
|
2243
|
+
readonly color: "neutral";
|
|
2186
2244
|
readonly description: string;
|
|
2187
2245
|
readonly order: 5;
|
|
2188
2246
|
readonly isActive: true;
|
|
@@ -2193,13 +2251,22 @@ declare const AXPSystemStatuses: Readonly<{
|
|
|
2193
2251
|
readonly name: AXPSystemStatusType.Failed;
|
|
2194
2252
|
readonly title: string;
|
|
2195
2253
|
readonly icon: "fa-light fa-xmark-circle";
|
|
2196
|
-
readonly color: "
|
|
2254
|
+
readonly color: "danger";
|
|
2197
2255
|
readonly description: string;
|
|
2198
2256
|
readonly order: 10;
|
|
2199
2257
|
readonly isActive: true;
|
|
2200
2258
|
readonly isInitial: false;
|
|
2201
2259
|
readonly isFinal: true;
|
|
2202
2260
|
};
|
|
2261
|
+
readonly Review: {
|
|
2262
|
+
readonly name: AXPSystemStatusType.Review;
|
|
2263
|
+
readonly title: string;
|
|
2264
|
+
readonly icon: "fa-light fa-eye";
|
|
2265
|
+
readonly color: "info";
|
|
2266
|
+
readonly description: string;
|
|
2267
|
+
readonly order: 3;
|
|
2268
|
+
readonly isActive: true;
|
|
2269
|
+
};
|
|
2203
2270
|
}>;
|
|
2204
2271
|
/**
|
|
2205
2272
|
* Get system status definition by type
|
|
@@ -2344,32 +2411,94 @@ declare class AXPCountdownPipe implements PipeTransform {
|
|
|
2344
2411
|
static ɵpipe: i0.ɵɵPipeDeclaration<AXPCountdownPipe, "countdown", true>;
|
|
2345
2412
|
}
|
|
2346
2413
|
|
|
2347
|
-
declare function extractNestedFieldsWildcard(obj: any, basePath: string, fields: string[]): any;
|
|
2348
|
-
declare function setSmart(obj: any, smartPath: string, value: any): any;
|
|
2349
|
-
declare function getSmart(obj: any, smartPath: string): any;
|
|
2350
|
-
declare function extractValue<T = any>(value: any, key?: string): T | null;
|
|
2351
|
-
declare function cleanDeep(obj: any): any;
|
|
2352
|
-
type ChangeEntry = {
|
|
2353
|
-
path: string;
|
|
2354
|
-
oldValue: any;
|
|
2355
|
-
newValue: any;
|
|
2356
|
-
arrayDiff?: {
|
|
2357
|
-
added: any[];
|
|
2358
|
-
removed: any[];
|
|
2359
|
-
};
|
|
2360
|
-
};
|
|
2361
|
-
declare function getChangedPaths(obj1: any, obj2: any): string[];
|
|
2362
|
-
declare function getDetailedChanges(obj1: any, obj2: any): ChangeEntry[];
|
|
2363
|
-
declare function getEnumValues(enumType: any): {
|
|
2364
|
-
id: string;
|
|
2365
|
-
title: string;
|
|
2366
|
-
}[];
|
|
2367
|
-
|
|
2368
2414
|
declare function applyFilterArray(dataArray: any[], filters?: AXDataSourceFilterOption[], logic?: 'and' | 'or'): any[];
|
|
2369
2415
|
declare function applySortArray(dataArray: any, sorts: AXDataSourceSortOption[]): any;
|
|
2370
2416
|
declare function applyPagination<T>(dataArray: T[], skip: number, take: number): T[];
|
|
2371
2417
|
declare function applyQueryArray<T>(dataArray: T[], query: AXDataSourceQuery): Promise<AXDataSourceCallbackResult<T>>;
|
|
2372
2418
|
|
|
2419
|
+
/**
|
|
2420
|
+
* Screen Size Enum
|
|
2421
|
+
*/
|
|
2422
|
+
declare enum AXPScreenSize {
|
|
2423
|
+
Small = "small",
|
|
2424
|
+
Medium = "medium",
|
|
2425
|
+
Large = "large"
|
|
2426
|
+
}
|
|
2427
|
+
/**
|
|
2428
|
+
* Device Type Enum
|
|
2429
|
+
*/
|
|
2430
|
+
declare enum AXPDeviceType {
|
|
2431
|
+
Mobile = "mobile",
|
|
2432
|
+
Tablet = "tablet",
|
|
2433
|
+
Desktop = "desktop"
|
|
2434
|
+
}
|
|
2435
|
+
/**
|
|
2436
|
+
* Injectable service that provides reactive device and screen size information.
|
|
2437
|
+
* Monitors window resize events and updates signals accordingly.
|
|
2438
|
+
*/
|
|
2439
|
+
declare class AXPDeviceService {
|
|
2440
|
+
/**
|
|
2441
|
+
* Current screen size (Small, Medium, Large)
|
|
2442
|
+
*/
|
|
2443
|
+
readonly screenSize: i0.WritableSignal<AXPScreenSize>;
|
|
2444
|
+
/**
|
|
2445
|
+
* Current device type (Mobile, Tablet, Desktop)
|
|
2446
|
+
*/
|
|
2447
|
+
readonly deviceType: i0.WritableSignal<AXPDeviceType>;
|
|
2448
|
+
/**
|
|
2449
|
+
* Whether the device supports touch input
|
|
2450
|
+
*/
|
|
2451
|
+
readonly isTouchDevice: i0.WritableSignal<boolean>;
|
|
2452
|
+
/**
|
|
2453
|
+
* Whether the screen size is Small
|
|
2454
|
+
*/
|
|
2455
|
+
readonly isSmall: i0.Signal<boolean>;
|
|
2456
|
+
/**
|
|
2457
|
+
* Whether the screen size is Medium
|
|
2458
|
+
*/
|
|
2459
|
+
readonly isMedium: i0.Signal<boolean>;
|
|
2460
|
+
/**
|
|
2461
|
+
* Whether the screen size is Large
|
|
2462
|
+
*/
|
|
2463
|
+
readonly isLarge: i0.Signal<boolean>;
|
|
2464
|
+
/**
|
|
2465
|
+
* Whether the device is Mobile
|
|
2466
|
+
*/
|
|
2467
|
+
readonly isMobileDevice: i0.Signal<boolean>;
|
|
2468
|
+
/**
|
|
2469
|
+
* Whether the device is Tablet
|
|
2470
|
+
*/
|
|
2471
|
+
readonly isTabletDevice: i0.Signal<boolean>;
|
|
2472
|
+
/**
|
|
2473
|
+
* Whether the device is Desktop
|
|
2474
|
+
*/
|
|
2475
|
+
readonly isDesktopDevice: i0.Signal<boolean>;
|
|
2476
|
+
/**
|
|
2477
|
+
* Whether the device supports touch (alias for isTouchDevice)
|
|
2478
|
+
*/
|
|
2479
|
+
readonly isTouchScreen: i0.Signal<boolean>;
|
|
2480
|
+
private _resizeListener;
|
|
2481
|
+
constructor();
|
|
2482
|
+
/**
|
|
2483
|
+
* Update screen size and device type based on window width
|
|
2484
|
+
*/
|
|
2485
|
+
private _updateScreenSize;
|
|
2486
|
+
/**
|
|
2487
|
+
* Set up event listener for window resize
|
|
2488
|
+
*/
|
|
2489
|
+
private _setupResizeListener;
|
|
2490
|
+
/**
|
|
2491
|
+
* Remove event listener for window resize
|
|
2492
|
+
*/
|
|
2493
|
+
private _removeResizeListener;
|
|
2494
|
+
/**
|
|
2495
|
+
* Clean up resources when service is destroyed
|
|
2496
|
+
*/
|
|
2497
|
+
destroy(): void;
|
|
2498
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPDeviceService, never>;
|
|
2499
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPDeviceService>;
|
|
2500
|
+
}
|
|
2501
|
+
|
|
2373
2502
|
/**
|
|
2374
2503
|
* Service for applying and resetting text highlighting within specified HTML elements.
|
|
2375
2504
|
*/
|
|
@@ -2413,7 +2542,32 @@ declare class AXHighlightService {
|
|
|
2413
2542
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXHighlightService>;
|
|
2414
2543
|
}
|
|
2415
2544
|
|
|
2545
|
+
declare function extractNestedFieldsWildcard(obj: any, basePath: string, fields: string[]): any;
|
|
2546
|
+
declare function setSmart(obj: any, smartPath: string, value: any): any;
|
|
2547
|
+
declare function getSmart(obj: any, smartPath: string): any;
|
|
2548
|
+
declare function extractValue<T = any>(value: any, key?: string): T | null;
|
|
2549
|
+
declare function cleanDeep(obj: any): any;
|
|
2550
|
+
type ChangeEntry = {
|
|
2551
|
+
path: string;
|
|
2552
|
+
oldValue: any;
|
|
2553
|
+
newValue: any;
|
|
2554
|
+
arrayDiff?: {
|
|
2555
|
+
added: any[];
|
|
2556
|
+
removed: any[];
|
|
2557
|
+
};
|
|
2558
|
+
};
|
|
2559
|
+
declare function getChangedPaths(obj1: any, obj2: any): string[];
|
|
2560
|
+
declare function getDetailedChanges(obj1: any, obj2: any): ChangeEntry[];
|
|
2561
|
+
declare function getEnumValues(enumType: any): {
|
|
2562
|
+
id: string;
|
|
2563
|
+
title: string;
|
|
2564
|
+
}[];
|
|
2565
|
+
|
|
2416
2566
|
declare function extractTextFromHtml(value: string): string;
|
|
2567
|
+
/**
|
|
2568
|
+
* Generate kebab-case group name from title
|
|
2569
|
+
*/
|
|
2570
|
+
declare function generateKebabCase(title: string): string;
|
|
2417
2571
|
|
|
2418
|
-
export { AXHighlightService, AXPActivityLogProvider, AXPActivityLogService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPColorPaletteProvider, AXPColorPaletteService, AXPComponentLogoConfig, AXPContentCheckerDirective, AXPContextChangeEvent, AXPContextStore, AXPCountdownPipe, AXPDataGenerator, AXPDataSourceDefinitionProviderService, AXPDblClickDirective, AXPDefaultColorPalettesProvider, AXPDistributedEventListenerService, AXPElementDataDirective, AXPExportTemplateToken, AXPExpressionEvaluatorScopeProviderContext, AXPExpressionEvaluatorScopeProviderService, AXPExpressionEvaluatorService, AXPGridLayoutDirective, AXPHookService, AXPImageUrlLogoConfig, AXPPlatformScope, AXPStatusDefinitionProviderService, AXPStatusProvider, AXPSystemActionType, AXPSystemActions, AXPSystemStatusType, AXPSystemStatuses, AXPTagProvider, AXPTagService, AXP_ACTIVITY_LOG_PROVIDER, AXP_COLOR_PALETTE_PROVIDER, AXP_DATASOURCE_DEFINITION_PROVIDER, AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXP_STATUS_PROVIDERS, AXP_TAG_PROVIDER, applyFilterArray, applyPagination, applyQueryArray, applySortArray, applySystemActionDefault, cleanDeep, extractNestedFieldsWildcard, extractTextFromHtml, extractValue, getActionButton, getChangedPaths, getDetailedChanges, getEnumValues, getNestedKeys, getSmart, getStatusInfo, getSystemActions, getSystemStatus, objectKeyValueTransforms, resolveActionLook, resolvePlatformScopeKey, resolvePlatformScopeName, resolveStatusLook, setSmart, systemStatusToDefinition };
|
|
2419
|
-
export type { AXPActionMenuItem, AXPActivityLog, AXPActivityLogChange, AXPApplicationUserReference, AXPBackButton, AXPBadge, AXPBreadcrumbItem, AXPCategorizedEntity, AXPCategorizedEntityDto, AXPCategoryEntity, AXPCategoryEntityWithItems, AXPColorPalette, AXPColorPaletteFilterOptions, 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, AXPMiddlewareErrorResponse, AXPMinLengthValidationRule, AXPNavigateActionCommand, AXPNavigateActionOptions, AXPOptionsData, AXPPagedListResult, AXPPartialNested, AXPPlatformScopeKey, AXPQueryFetchResult, AXPQueryRequest, AXPReqexValidationRule, AXPRequiredValidationRule, AXPSortDefinition, AXPSortQuery, AXPStartUpTask, AXPStatusDefinition, AXPStatusTransition, AXPStringValidationRules, AXPSystemAction, AXPTag, AXPTagFilterOptions, AXPUserReference, AXPValidationRule, AXPValidationRules, AXPValueTransformerFunction, AXPValueTransformerFunctions, AXPValueUnit, AXPValueUnits, AXPViewBlockDefinition, AXPViewDefinition, AXPViewFieldDefinition, AXPViewQuery, AXPWidgetTrigger, AXPWidgetTriggers };
|
|
2572
|
+
export { AXHighlightService, AXPActivityLogProvider, AXPActivityLogService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPColorPaletteProvider, AXPColorPaletteService, AXPComponentLogoConfig, AXPContentCheckerDirective, AXPContextChangeEvent, AXPContextStore, AXPCountdownPipe, AXPDataGenerator, AXPDataSourceDefinitionProviderService, AXPDblClickDirective, AXPDefaultColorPalettesProvider, AXPDeviceService, AXPDeviceType, AXPDistributedEventListenerService, AXPElementDataDirective, AXPExportTemplateToken, AXPExpressionEvaluatorScopeProviderContext, AXPExpressionEvaluatorScopeProviderService, AXPExpressionEvaluatorService, AXPGridLayoutDirective, AXPHookService, AXPImageUrlLogoConfig, AXPPlatformScope, AXPScreenSize, AXPStatusDefinitionProviderService, AXPStatusProvider, AXPSystemActionType, AXPSystemActions, AXPSystemStatusType, AXPSystemStatuses, AXPTagProvider, AXPTagService, AXP_ACTIVITY_LOG_PROVIDER, AXP_COLOR_PALETTE_PROVIDER, AXP_DATASOURCE_DEFINITION_PROVIDER, AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXP_STATUS_PROVIDERS, AXP_TAG_PROVIDER, applyFilterArray, applyPagination, applyQueryArray, applySortArray, applySystemActionDefault, cleanDeep, extractNestedFieldsWildcard, extractTextFromHtml, extractValue, generateKebabCase, getActionButton, getChangedPaths, getDetailedChanges, getEnumValues, getNestedKeys, getSmart, getStatusInfo, getSystemActions, getSystemStatus, objectKeyValueTransforms, resolveActionLook, resolvePlatformScopeKey, resolvePlatformScopeName, resolveStatusLook, setSmart, systemStatusToDefinition };
|
|
2573
|
+
export type { AXPActionMenuItem, AXPActivityLog, AXPActivityLogChange, AXPApplicationUserReference, AXPBackButton, AXPBadge, AXPBreadcrumbItem, AXPCategorizedEntity, AXPCategorizedEntityDto, AXPCategoryEntity, AXPCategoryEntityWithItems, AXPColorPalette, AXPColorPaletteFilterOptions, AXPColumnQuery, AXPCommandMessage, 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, AXPMiddlewareErrorResponse, AXPMinLengthValidationRule, AXPNavigateActionCommand, AXPNavigateActionOptions, AXPOptionsData, AXPPagedListResult, AXPPartialNested, AXPPlatformScopeKey, AXPQueryFetchResult, AXPQueryRequest, AXPReqexValidationRule, AXPRequiredValidationRule, AXPSortDefinition, AXPSortQuery, AXPStartUpTask, AXPStatusActionPriority, AXPStatusActionScope, AXPStatusDefinition, AXPStatusTransition, AXPStatusWorkflowAction, AXPStringValidationRules, AXPSystemAction, AXPTag, AXPTagFilterOptions, AXPUserReference, AXPValidationRule, AXPValidationRules, AXPValueTransformerFunction, AXPValueTransformerFunctions, AXPValueUnit, AXPValueUnits, AXPViewBlockDefinition, AXPViewDefinition, AXPViewFieldDefinition, AXPViewQuery, AXPWidgetTrigger, AXPWidgetTriggers };
|