@acorex/platform 20.5.4 → 20.6.0-next.1
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 +5 -1
- package/core/index.d.ts +443 -3
- package/fesm2022/acorex-platform-auth.mjs +19 -19
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/{acorex-platform-common-common-settings.provider-9OHien_H.mjs → acorex-platform-common-common-settings.provider-CLb2KMfv.mjs} +4 -4
- package/fesm2022/acorex-platform-common-common-settings.provider-CLb2KMfv.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +104 -104
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +460 -55
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain.mjs +37 -38
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +22 -18
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +571 -274
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +84 -84
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-entity-create-entity.command-DyXF9zAh.mjs → acorex-platform-layout-entity-create-entity.command-BsLbiAdA.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-BsLbiAdA.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-entity.mjs +150 -148
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +20 -20
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +78 -76
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-button-widget-designer.component-C_3IWNkj.mjs → acorex-platform-layout-widgets-button-widget-designer.component-lHfg4JFJ.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-lHfg4JFJ.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-CJltEgut.mjs → acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-CMSnecnD.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-CMSnecnD.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-pM-TIuk0.mjs → acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-DN-sIFYe.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-DN-sIFYe.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-BqI96-fU.mjs → acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-Bn9w0SEz.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-Bn9w0SEz.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-values-widget-view.component-C-AhenaM.mjs → acorex-platform-layout-widgets-extra-properties-values-widget-view.component-B8mgcvoX.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-view.component-B8mgcvoX.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-widget-edit.component-DCAya5ne.mjs → acorex-platform-layout-widgets-extra-properties-widget-edit.component-Bhof2SY8.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-edit.component-Bhof2SY8.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-widget-view.component-D-PnBqLb.mjs → acorex-platform-layout-widgets-extra-properties-widget-view.component-CeQIvKVV.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-view.component-CeQIvKVV.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-file-list-popup.component-CGEHOyKT.mjs → acorex-platform-layout-widgets-file-list-popup.component-BOP7jFp4.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-BOP7jFp4.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-page-widget-designer.component-Bss0xUcu.mjs → acorex-platform-layout-widgets-page-widget-designer.component-C57lyBs3.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-C57lyBs3.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-Cy9mHnNP.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-fr77M8Z0.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-fr77M8Z0.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-DznLtuer.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-CvZTRhct.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-CvZTRhct.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-text-block-widget-designer.component-ndOUSFi9.mjs → acorex-platform-layout-widgets-text-block-widget-designer.component-DHES_0ot.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-DHES_0ot.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets.mjs +1600 -805
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-native.mjs +7 -7
- package/fesm2022/acorex-platform-native.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs +49 -42
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-B1PT6FtZ.mjs → acorex-platform-themes-default-entity-master-create-view.component-C_XmJV7Y.mjs} +5 -5
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-C_XmJV7Y.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-ccqB5ShI.mjs → acorex-platform-themes-default-entity-master-list-view.component-BkY9HXcT.mjs} +51 -17
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-BkY9HXcT.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-4g19A3eI.mjs → acorex-platform-themes-default-entity-master-modify-view.component-DJPDil7w.mjs} +5 -5
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-DJPDil7w.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-B8gx5cG7.mjs → acorex-platform-themes-default-entity-master-single-view.component-BArdGNfr.mjs} +8 -8
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BArdGNfr.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-401.component-CcvGfdhu.mjs → acorex-platform-themes-default-error-401.component-D7rEInHg.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-default-error-401.component-D7rEInHg.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-404.component-4-CaEsnV.mjs → acorex-platform-themes-default-error-404.component-BTZlVrd8.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-default-error-404.component-BTZlVrd8.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-error-offline.component-BhvEi6nX.mjs +19 -0
- package/fesm2022/acorex-platform-themes-default-error-offline.component-BhvEi6nX.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +39 -39
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-Dc_Txe32.mjs → acorex-platform-themes-shared-icon-chooser-view.component-BXV40gay.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-BXV40gay.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-DY2xFnrv.mjs → acorex-platform-themes-shared-settings.provider-DSs1o1M6.mjs} +18 -18
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DSs1o1M6.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-column.component-hgWLhhle.mjs → acorex-platform-themes-shared-theme-color-chooser-column.component-BpIf4s53.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-BpIf4s53.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-view.component-CY3JZK_W.mjs → acorex-platform-themes-shared-theme-color-chooser-view.component-C9gvfQfX.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-C9gvfQfX.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +55 -55
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +1476 -28
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/index.d.ts +6 -2
- package/layout/components/index.d.ts +46 -4
- package/layout/widget-core/index.d.ts +2 -0
- package/layout/widgets/index.d.ts +240 -30
- package/package.json +5 -5
- package/workflow/index.d.ts +1536 -3
- package/fesm2022/acorex-platform-common-common-settings.provider-9OHien_H.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-DyXF9zAh.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-C_3IWNkj.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-CJltEgut.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-pM-TIuk0.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-BqI96-fU.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-view.component-C-AhenaM.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-edit.component-DCAya5ne.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-view.component-D-PnBqLb.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-CGEHOyKT.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-Bss0xUcu.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-Cy9mHnNP.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-DznLtuer.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-ndOUSFi9.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-B1PT6FtZ.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-ccqB5ShI.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-4g19A3eI.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-B8gx5cG7.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-401.component-CcvGfdhu.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-404.component-4-CaEsnV.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-offline.component-BNecbFEj.mjs +0 -19
- package/fesm2022/acorex-platform-themes-default-error-offline.component-BNecbFEj.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-Dc_Txe32.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DY2xFnrv.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-hgWLhhle.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-CY3JZK_W.mjs.map +0 -1
package/common/index.d.ts
CHANGED
|
@@ -231,7 +231,7 @@ interface AXPEntity {
|
|
|
231
231
|
properties: AXPEntityProperty[];
|
|
232
232
|
columns?: AXPEntityTableColumn[];
|
|
233
233
|
commands?: {
|
|
234
|
-
create
|
|
234
|
+
create?: AXPEntityCommand | undefined;
|
|
235
235
|
update?: AXPEntityCommand | undefined;
|
|
236
236
|
delete?: AXPEntityCommand | undefined;
|
|
237
237
|
[name: string]: AXPEntityCommand | undefined;
|
|
@@ -1136,6 +1136,10 @@ interface AXPMenuItem {
|
|
|
1136
1136
|
badgeKey?: string;
|
|
1137
1137
|
data?: any;
|
|
1138
1138
|
meta?: AXPMetaData;
|
|
1139
|
+
policy?: {
|
|
1140
|
+
permissions?: string[];
|
|
1141
|
+
features?: string[];
|
|
1142
|
+
};
|
|
1139
1143
|
}
|
|
1140
1144
|
interface AXPMenuFinderResult {
|
|
1141
1145
|
insert(items: AXPMenuItem[], position: AXPMenuInsertion): void;
|
package/core/index.d.ts
CHANGED
|
@@ -989,7 +989,7 @@ type AXPWidgetTriggers = AXPWidgetTrigger[];
|
|
|
989
989
|
|
|
990
990
|
type AXPFileStatus = 'attached' | 'uploading' | 'uploaded' | 'deleted' | 'remote';
|
|
991
991
|
interface AXPFileSource {
|
|
992
|
-
kind: 'blob' | 'url' | 'preview' | 'none' | 'fileId';
|
|
992
|
+
kind: 'blob' | 'url' | 'preview' | 'none' | 'fileId' | 'documentId';
|
|
993
993
|
value?: Blob | string;
|
|
994
994
|
}
|
|
995
995
|
interface AXPFileListItem {
|
|
@@ -1792,6 +1792,446 @@ declare class AXPAppStartUpService {
|
|
|
1792
1792
|
}
|
|
1793
1793
|
declare const AXPAppStartUpProvider: i0.EnvironmentProviders;
|
|
1794
1794
|
|
|
1795
|
+
/**
|
|
1796
|
+
* Status Definition Types
|
|
1797
|
+
* Defines the structure for status definitions and their transitions
|
|
1798
|
+
*/
|
|
1799
|
+
/**
|
|
1800
|
+
* Status definition with metadata
|
|
1801
|
+
*/
|
|
1802
|
+
interface AXPStatusDefinition {
|
|
1803
|
+
/**
|
|
1804
|
+
* Unique identifier for the status
|
|
1805
|
+
*/
|
|
1806
|
+
name: string;
|
|
1807
|
+
/**
|
|
1808
|
+
* Display title for the status
|
|
1809
|
+
*/
|
|
1810
|
+
title: string;
|
|
1811
|
+
/**
|
|
1812
|
+
* Color code or semantic color name for the status
|
|
1813
|
+
*/
|
|
1814
|
+
color: string;
|
|
1815
|
+
/**
|
|
1816
|
+
* Optional icon class (e.g., 'fa-light fa-check')
|
|
1817
|
+
*/
|
|
1818
|
+
icon?: string;
|
|
1819
|
+
/**
|
|
1820
|
+
* Optional description
|
|
1821
|
+
*/
|
|
1822
|
+
description?: string;
|
|
1823
|
+
/**
|
|
1824
|
+
* Optional order for sorting
|
|
1825
|
+
*/
|
|
1826
|
+
order?: number;
|
|
1827
|
+
/**
|
|
1828
|
+
* Whether this status is active/available
|
|
1829
|
+
*/
|
|
1830
|
+
isActive?: boolean;
|
|
1831
|
+
/**
|
|
1832
|
+
* Whether this is a final status (end state)
|
|
1833
|
+
*/
|
|
1834
|
+
isFinal?: boolean;
|
|
1835
|
+
/**
|
|
1836
|
+
* Whether this is an initial status (starting state)
|
|
1837
|
+
*/
|
|
1838
|
+
isInitial?: boolean;
|
|
1839
|
+
}
|
|
1840
|
+
/**
|
|
1841
|
+
* Status transition definition
|
|
1842
|
+
*/
|
|
1843
|
+
interface AXPStatusTransition {
|
|
1844
|
+
/**
|
|
1845
|
+
* Source status name
|
|
1846
|
+
*/
|
|
1847
|
+
from: string;
|
|
1848
|
+
/**
|
|
1849
|
+
* Target status name
|
|
1850
|
+
*/
|
|
1851
|
+
to: string;
|
|
1852
|
+
/**
|
|
1853
|
+
* Optional condition expression to evaluate before allowing transition
|
|
1854
|
+
* Uses expression evaluator syntax (e.g., "{{user.isAdmin}}", "{{item.priority > 5}}")
|
|
1855
|
+
*/
|
|
1856
|
+
condition?: string;
|
|
1857
|
+
/**
|
|
1858
|
+
* Optional display title for the transition
|
|
1859
|
+
*/
|
|
1860
|
+
title?: string;
|
|
1861
|
+
/**
|
|
1862
|
+
* Optional description
|
|
1863
|
+
*/
|
|
1864
|
+
description?: string;
|
|
1865
|
+
/**
|
|
1866
|
+
* Optional action identifier
|
|
1867
|
+
*/
|
|
1868
|
+
action?: string;
|
|
1869
|
+
/**
|
|
1870
|
+
* Optional color for the transition button/indicator
|
|
1871
|
+
*/
|
|
1872
|
+
color?: string;
|
|
1873
|
+
/**
|
|
1874
|
+
* Optional icon for the transition
|
|
1875
|
+
*/
|
|
1876
|
+
icon?: string;
|
|
1877
|
+
/**
|
|
1878
|
+
* Whether this transition is automatic (no user action required)
|
|
1879
|
+
*/
|
|
1880
|
+
isAutomatic?: boolean;
|
|
1881
|
+
/**
|
|
1882
|
+
* Whether this transition requires approval
|
|
1883
|
+
*/
|
|
1884
|
+
requiresApproval?: boolean;
|
|
1885
|
+
}
|
|
1886
|
+
/**
|
|
1887
|
+
* Abstract class for status providers
|
|
1888
|
+
* Similar to AXPTaskBadgeProvider pattern
|
|
1889
|
+
*/
|
|
1890
|
+
declare abstract class AXPStatusProvider {
|
|
1891
|
+
/**
|
|
1892
|
+
* Unique key for the status (e.g., 'task-management.status')
|
|
1893
|
+
*/
|
|
1894
|
+
abstract readonly key: string;
|
|
1895
|
+
/**
|
|
1896
|
+
* List of available status definitions
|
|
1897
|
+
*/
|
|
1898
|
+
abstract readonly statuses: AXPStatusDefinition[];
|
|
1899
|
+
/**
|
|
1900
|
+
* List of allowed transitions between statuses
|
|
1901
|
+
*/
|
|
1902
|
+
abstract readonly transitions: AXPStatusTransition[];
|
|
1903
|
+
/**
|
|
1904
|
+
* Optional default status name
|
|
1905
|
+
*/
|
|
1906
|
+
abstract readonly defaultStatus?: string;
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1909
|
+
/**
|
|
1910
|
+
* Injection token for status providers
|
|
1911
|
+
* Use with multi: true to register multiple providers
|
|
1912
|
+
*/
|
|
1913
|
+
declare const AXP_STATUS_PROVIDERS: InjectionToken<AXPStatusProvider[]>;
|
|
1914
|
+
/**
|
|
1915
|
+
* Service for managing status definitions from multiple providers
|
|
1916
|
+
* Similar to AXPTaskBadgeService pattern - no cache, direct access
|
|
1917
|
+
*
|
|
1918
|
+
* @example
|
|
1919
|
+
* ```typescript
|
|
1920
|
+
* // In a module providers array:
|
|
1921
|
+
* {
|
|
1922
|
+
* provide: AXP_STATUS_PROVIDERS,
|
|
1923
|
+
* useClass: TaskStatusProvider,
|
|
1924
|
+
* multi: true,
|
|
1925
|
+
* }
|
|
1926
|
+
*
|
|
1927
|
+
* // Example provider implementation:
|
|
1928
|
+
* export class TaskStatusProvider extends AXPStatusProvider {
|
|
1929
|
+
* readonly key = 'task-management.status';
|
|
1930
|
+
* readonly statuses = [
|
|
1931
|
+
* { name: 'todo', title: 'To Do', color: '#6b7280', icon: 'fa-light fa-circle', isInitial: true },
|
|
1932
|
+
* { name: 'in-progress', title: 'In Progress', color: '#3b82f6', icon: 'fa-light fa-play' },
|
|
1933
|
+
* { name: 'done', title: 'Done', color: '#10b981', icon: 'fa-light fa-check-circle', isFinal: true },
|
|
1934
|
+
* ];
|
|
1935
|
+
* readonly transitions = [
|
|
1936
|
+
* { from: 'todo', to: 'in-progress', title: 'Start', condition: '{{user.canEdit}}' },
|
|
1937
|
+
* { from: 'in-progress', to: 'done', title: 'Complete' },
|
|
1938
|
+
* ];
|
|
1939
|
+
* readonly defaultStatus = 'todo';
|
|
1940
|
+
* }
|
|
1941
|
+
*
|
|
1942
|
+
* // Later, get the status:
|
|
1943
|
+
* const status = statusService.getStatus('task-management.status');
|
|
1944
|
+
* if (status) {
|
|
1945
|
+
* console.log('Statuses:', status.statuses);
|
|
1946
|
+
* console.log('Transitions:', status.transitions);
|
|
1947
|
+
* }
|
|
1948
|
+
* ```
|
|
1949
|
+
*/
|
|
1950
|
+
declare class AXPStatusDefinitionProviderService {
|
|
1951
|
+
private providers;
|
|
1952
|
+
private statusMap;
|
|
1953
|
+
constructor();
|
|
1954
|
+
/**
|
|
1955
|
+
* Get a status provider by key
|
|
1956
|
+
* Direct access from Map (no lazy load, no cache)
|
|
1957
|
+
*
|
|
1958
|
+
* @param key - Status key (e.g., 'task-management.status')
|
|
1959
|
+
* @returns Status provider with all statuses and transitions, or undefined if not found
|
|
1960
|
+
*
|
|
1961
|
+
* @example
|
|
1962
|
+
* ```typescript
|
|
1963
|
+
* const status = statusService.getStatus('task-management.status');
|
|
1964
|
+
* if (status) {
|
|
1965
|
+
* console.log('Statuses:', status.statuses);
|
|
1966
|
+
* console.log('Transitions:', status.transitions);
|
|
1967
|
+
* }
|
|
1968
|
+
* ```
|
|
1969
|
+
*/
|
|
1970
|
+
getStatus(key: string): AXPStatusProvider | undefined;
|
|
1971
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPStatusDefinitionProviderService, never>;
|
|
1972
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPStatusDefinitionProviderService>;
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1975
|
+
/**
|
|
1976
|
+
* Standard system status types
|
|
1977
|
+
* These are the predefined status values used across the platform
|
|
1978
|
+
*/
|
|
1979
|
+
declare enum AXPSystemStatusType {
|
|
1980
|
+
Todo = "todo",
|
|
1981
|
+
InProgress = "in-progress",
|
|
1982
|
+
InReview = "in-review",
|
|
1983
|
+
Blocked = "blocked",
|
|
1984
|
+
Done = "done",
|
|
1985
|
+
Cancelled = "cancelled",
|
|
1986
|
+
Draft = "draft",
|
|
1987
|
+
PendingReview = "pending-review",
|
|
1988
|
+
Approved = "approved",
|
|
1989
|
+
Published = "published",
|
|
1990
|
+
Archived = "archived",
|
|
1991
|
+
Rejected = "rejected",
|
|
1992
|
+
Active = "active",
|
|
1993
|
+
Inactive = "inactive",
|
|
1994
|
+
Pending = "pending",
|
|
1995
|
+
Completed = "completed",
|
|
1996
|
+
Suspended = "suspended",
|
|
1997
|
+
Failed = "failed"
|
|
1998
|
+
}
|
|
1999
|
+
/**
|
|
2000
|
+
* Standard system status definitions
|
|
2001
|
+
* Provides consistent status definitions across the platform
|
|
2002
|
+
* Uses AXPStatusDefinition interface from status-definition.types.ts
|
|
2003
|
+
*/
|
|
2004
|
+
declare const AXPSystemStatuses: Readonly<{
|
|
2005
|
+
readonly Todo: {
|
|
2006
|
+
readonly name: AXPSystemStatusType.Todo;
|
|
2007
|
+
readonly title: string;
|
|
2008
|
+
readonly icon: "fa-light fa-circle";
|
|
2009
|
+
readonly color: "#6b7280";
|
|
2010
|
+
readonly description: string;
|
|
2011
|
+
readonly order: 1;
|
|
2012
|
+
readonly isActive: true;
|
|
2013
|
+
readonly isInitial: true;
|
|
2014
|
+
readonly isFinal: false;
|
|
2015
|
+
};
|
|
2016
|
+
readonly InProgress: {
|
|
2017
|
+
readonly name: AXPSystemStatusType.InProgress;
|
|
2018
|
+
readonly title: string;
|
|
2019
|
+
readonly icon: "fa-light fa-play";
|
|
2020
|
+
readonly color: "#3b82f6";
|
|
2021
|
+
readonly description: string;
|
|
2022
|
+
readonly order: 2;
|
|
2023
|
+
readonly isActive: true;
|
|
2024
|
+
readonly isInitial: false;
|
|
2025
|
+
readonly isFinal: false;
|
|
2026
|
+
};
|
|
2027
|
+
readonly InReview: {
|
|
2028
|
+
readonly name: AXPSystemStatusType.InReview;
|
|
2029
|
+
readonly title: string;
|
|
2030
|
+
readonly icon: "fa-light fa-eye";
|
|
2031
|
+
readonly color: "#8b5cf6";
|
|
2032
|
+
readonly description: string;
|
|
2033
|
+
readonly order: 3;
|
|
2034
|
+
readonly isActive: true;
|
|
2035
|
+
readonly isInitial: false;
|
|
2036
|
+
readonly isFinal: false;
|
|
2037
|
+
};
|
|
2038
|
+
readonly Blocked: {
|
|
2039
|
+
readonly name: AXPSystemStatusType.Blocked;
|
|
2040
|
+
readonly title: string;
|
|
2041
|
+
readonly icon: "fa-light fa-ban";
|
|
2042
|
+
readonly color: "#ef4444";
|
|
2043
|
+
readonly description: string;
|
|
2044
|
+
readonly order: 4;
|
|
2045
|
+
readonly isActive: true;
|
|
2046
|
+
readonly isInitial: false;
|
|
2047
|
+
readonly isFinal: false;
|
|
2048
|
+
};
|
|
2049
|
+
readonly Done: {
|
|
2050
|
+
readonly name: AXPSystemStatusType.Done;
|
|
2051
|
+
readonly title: string;
|
|
2052
|
+
readonly icon: "fa-light fa-check-circle";
|
|
2053
|
+
readonly color: "#10b981";
|
|
2054
|
+
readonly description: string;
|
|
2055
|
+
readonly order: 5;
|
|
2056
|
+
readonly isActive: true;
|
|
2057
|
+
readonly isInitial: false;
|
|
2058
|
+
readonly isFinal: true;
|
|
2059
|
+
};
|
|
2060
|
+
readonly Cancelled: {
|
|
2061
|
+
readonly name: AXPSystemStatusType.Cancelled;
|
|
2062
|
+
readonly title: string;
|
|
2063
|
+
readonly icon: "fa-light fa-times-circle";
|
|
2064
|
+
readonly color: "#64748b";
|
|
2065
|
+
readonly description: string;
|
|
2066
|
+
readonly order: 6;
|
|
2067
|
+
readonly isActive: true;
|
|
2068
|
+
readonly isInitial: false;
|
|
2069
|
+
readonly isFinal: true;
|
|
2070
|
+
};
|
|
2071
|
+
readonly Draft: {
|
|
2072
|
+
readonly name: AXPSystemStatusType.Draft;
|
|
2073
|
+
readonly title: string;
|
|
2074
|
+
readonly icon: "fa-light fa-file-pen";
|
|
2075
|
+
readonly color: "#6b7280";
|
|
2076
|
+
readonly description: string;
|
|
2077
|
+
readonly order: 1;
|
|
2078
|
+
readonly isActive: true;
|
|
2079
|
+
readonly isInitial: true;
|
|
2080
|
+
readonly isFinal: false;
|
|
2081
|
+
};
|
|
2082
|
+
readonly PendingReview: {
|
|
2083
|
+
readonly name: AXPSystemStatusType.PendingReview;
|
|
2084
|
+
readonly title: string;
|
|
2085
|
+
readonly icon: "fa-light fa-clock";
|
|
2086
|
+
readonly color: "#f59e0b";
|
|
2087
|
+
readonly description: string;
|
|
2088
|
+
readonly order: 2;
|
|
2089
|
+
readonly isActive: true;
|
|
2090
|
+
readonly isInitial: false;
|
|
2091
|
+
readonly isFinal: false;
|
|
2092
|
+
};
|
|
2093
|
+
readonly Approved: {
|
|
2094
|
+
readonly name: AXPSystemStatusType.Approved;
|
|
2095
|
+
readonly title: string;
|
|
2096
|
+
readonly icon: "fa-light fa-check-circle";
|
|
2097
|
+
readonly color: "#10b981";
|
|
2098
|
+
readonly description: string;
|
|
2099
|
+
readonly order: 3;
|
|
2100
|
+
readonly isActive: true;
|
|
2101
|
+
readonly isInitial: false;
|
|
2102
|
+
readonly isFinal: false;
|
|
2103
|
+
};
|
|
2104
|
+
readonly Published: {
|
|
2105
|
+
readonly name: AXPSystemStatusType.Published;
|
|
2106
|
+
readonly title: string;
|
|
2107
|
+
readonly icon: "fa-light fa-globe";
|
|
2108
|
+
readonly color: "#3b82f6";
|
|
2109
|
+
readonly description: string;
|
|
2110
|
+
readonly order: 4;
|
|
2111
|
+
readonly isActive: true;
|
|
2112
|
+
readonly isInitial: false;
|
|
2113
|
+
readonly isFinal: false;
|
|
2114
|
+
};
|
|
2115
|
+
readonly Archived: {
|
|
2116
|
+
readonly name: AXPSystemStatusType.Archived;
|
|
2117
|
+
readonly title: string;
|
|
2118
|
+
readonly icon: "fa-light fa-archive";
|
|
2119
|
+
readonly color: "#64748b";
|
|
2120
|
+
readonly description: string;
|
|
2121
|
+
readonly order: 5;
|
|
2122
|
+
readonly isActive: true;
|
|
2123
|
+
readonly isInitial: false;
|
|
2124
|
+
readonly isFinal: true;
|
|
2125
|
+
};
|
|
2126
|
+
readonly Rejected: {
|
|
2127
|
+
readonly name: AXPSystemStatusType.Rejected;
|
|
2128
|
+
readonly title: string;
|
|
2129
|
+
readonly icon: "fa-light fa-times-circle";
|
|
2130
|
+
readonly color: "#ef4444";
|
|
2131
|
+
readonly description: string;
|
|
2132
|
+
readonly order: 6;
|
|
2133
|
+
readonly isActive: true;
|
|
2134
|
+
readonly isInitial: false;
|
|
2135
|
+
readonly isFinal: true;
|
|
2136
|
+
};
|
|
2137
|
+
readonly Active: {
|
|
2138
|
+
readonly name: AXPSystemStatusType.Active;
|
|
2139
|
+
readonly title: string;
|
|
2140
|
+
readonly icon: "fa-light fa-check-circle";
|
|
2141
|
+
readonly color: "#10b981";
|
|
2142
|
+
readonly description: string;
|
|
2143
|
+
readonly order: 1;
|
|
2144
|
+
readonly isActive: true;
|
|
2145
|
+
readonly isInitial: false;
|
|
2146
|
+
readonly isFinal: false;
|
|
2147
|
+
};
|
|
2148
|
+
readonly Inactive: {
|
|
2149
|
+
readonly name: AXPSystemStatusType.Inactive;
|
|
2150
|
+
readonly title: string;
|
|
2151
|
+
readonly icon: "fa-light fa-circle";
|
|
2152
|
+
readonly color: "#6b7280";
|
|
2153
|
+
readonly description: string;
|
|
2154
|
+
readonly order: 2;
|
|
2155
|
+
readonly isActive: true;
|
|
2156
|
+
readonly isInitial: false;
|
|
2157
|
+
readonly isFinal: false;
|
|
2158
|
+
};
|
|
2159
|
+
readonly Pending: {
|
|
2160
|
+
readonly name: AXPSystemStatusType.Pending;
|
|
2161
|
+
readonly title: string;
|
|
2162
|
+
readonly icon: "fa-light fa-clock";
|
|
2163
|
+
readonly color: "#f59e0b";
|
|
2164
|
+
readonly description: string;
|
|
2165
|
+
readonly order: 1;
|
|
2166
|
+
readonly isActive: true;
|
|
2167
|
+
readonly isInitial: true;
|
|
2168
|
+
readonly isFinal: false;
|
|
2169
|
+
};
|
|
2170
|
+
readonly Completed: {
|
|
2171
|
+
readonly name: AXPSystemStatusType.Completed;
|
|
2172
|
+
readonly title: string;
|
|
2173
|
+
readonly icon: "fa-light fa-check-circle";
|
|
2174
|
+
readonly color: "#10b981";
|
|
2175
|
+
readonly description: string;
|
|
2176
|
+
readonly order: 10;
|
|
2177
|
+
readonly isActive: true;
|
|
2178
|
+
readonly isInitial: false;
|
|
2179
|
+
readonly isFinal: true;
|
|
2180
|
+
};
|
|
2181
|
+
readonly Suspended: {
|
|
2182
|
+
readonly name: AXPSystemStatusType.Suspended;
|
|
2183
|
+
readonly title: string;
|
|
2184
|
+
readonly icon: "fa-light fa-pause-circle";
|
|
2185
|
+
readonly color: "#f59e0b";
|
|
2186
|
+
readonly description: string;
|
|
2187
|
+
readonly order: 5;
|
|
2188
|
+
readonly isActive: true;
|
|
2189
|
+
readonly isInitial: false;
|
|
2190
|
+
readonly isFinal: false;
|
|
2191
|
+
};
|
|
2192
|
+
readonly Failed: {
|
|
2193
|
+
readonly name: AXPSystemStatusType.Failed;
|
|
2194
|
+
readonly title: string;
|
|
2195
|
+
readonly icon: "fa-light fa-xmark-circle";
|
|
2196
|
+
readonly color: "#ef4444";
|
|
2197
|
+
readonly description: string;
|
|
2198
|
+
readonly order: 10;
|
|
2199
|
+
readonly isActive: true;
|
|
2200
|
+
readonly isInitial: false;
|
|
2201
|
+
readonly isFinal: true;
|
|
2202
|
+
};
|
|
2203
|
+
}>;
|
|
2204
|
+
/**
|
|
2205
|
+
* Get system status definition by type
|
|
2206
|
+
* @param type - Status type
|
|
2207
|
+
* @returns System status definition or undefined
|
|
2208
|
+
*/
|
|
2209
|
+
declare function getSystemStatus(type: AXPSystemStatusType): AXPStatusDefinition;
|
|
2210
|
+
/**
|
|
2211
|
+
* Resolves the visual appearance (color and icon) for status
|
|
2212
|
+
* using the system statuses from the core module.
|
|
2213
|
+
* @param statusType - Status type string
|
|
2214
|
+
* @returns Color and icon for the status
|
|
2215
|
+
*/
|
|
2216
|
+
declare function resolveStatusLook(statusType: string): {
|
|
2217
|
+
color: AXStyleColorType;
|
|
2218
|
+
icon: string;
|
|
2219
|
+
};
|
|
2220
|
+
/**
|
|
2221
|
+
* Resolves the complete status information (title, description, icon, color) for a status
|
|
2222
|
+
* using the system statuses from the core module.
|
|
2223
|
+
* @param statusType - Status type string
|
|
2224
|
+
* @returns Complete status information as AXPStatusDefinition
|
|
2225
|
+
*/
|
|
2226
|
+
declare function getStatusInfo(statusType: string): AXPStatusDefinition;
|
|
2227
|
+
/**
|
|
2228
|
+
* Get system status definition directly (no conversion needed since it's already AXPStatusDefinition)
|
|
2229
|
+
* @param statusType - Status type
|
|
2230
|
+
* @param overrides - Optional overrides for the status definition
|
|
2231
|
+
* @returns AXPStatusDefinition
|
|
2232
|
+
*/
|
|
2233
|
+
declare function systemStatusToDefinition(statusType: AXPSystemStatusType, overrides?: Partial<AXPStatusDefinition>): AXPStatusDefinition;
|
|
2234
|
+
|
|
1795
2235
|
/**
|
|
1796
2236
|
* Represents a tag with text, color, and metadata
|
|
1797
2237
|
*/
|
|
@@ -1975,5 +2415,5 @@ declare class AXHighlightService {
|
|
|
1975
2415
|
|
|
1976
2416
|
declare function extractTextFromHtml(value: string): string;
|
|
1977
2417
|
|
|
1978
|
-
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, AXPSystemActionType, AXPSystemActions, 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_TAG_PROVIDER, applyFilterArray, applyPagination, applyQueryArray, applySortArray, applySystemActionDefault, cleanDeep, extractNestedFieldsWildcard, extractTextFromHtml, extractValue, getActionButton, getChangedPaths, getDetailedChanges, getEnumValues, getNestedKeys, getSmart, getSystemActions, objectKeyValueTransforms, resolveActionLook, resolvePlatformScopeKey, resolvePlatformScopeName, setSmart };
|
|
1979
|
-
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, AXPStringValidationRules, AXPSystemAction, AXPTag, AXPTagFilterOptions, AXPUserReference, AXPValidationRule, AXPValidationRules, AXPValueTransformerFunction, AXPValueTransformerFunctions, AXPValueUnit, AXPValueUnits, AXPViewBlockDefinition, AXPViewDefinition, AXPViewFieldDefinition, AXPViewQuery, AXPWidgetTrigger, AXPWidgetTriggers };
|
|
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 };
|
|
@@ -68,10 +68,10 @@ class AXPAuthStrategyRegistryService {
|
|
|
68
68
|
get(strategyKey) {
|
|
69
69
|
return this.strategies.get(strategyKey);
|
|
70
70
|
}
|
|
71
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
72
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
71
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: AXPAuthStrategyRegistryService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
72
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: AXPAuthStrategyRegistryService, providedIn: 'root' }); }
|
|
73
73
|
}
|
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: AXPAuthStrategyRegistryService, decorators: [{
|
|
75
75
|
type: Injectable,
|
|
76
76
|
args: [{
|
|
77
77
|
providedIn: 'root'
|
|
@@ -128,10 +128,10 @@ class AXPFeatureDirective {
|
|
|
128
128
|
ngOnDestroy() {
|
|
129
129
|
this.subscription?.unsubscribe();
|
|
130
130
|
}
|
|
131
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
132
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
131
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: AXPFeatureDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
132
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.10", type: AXPFeatureDirective, isStandalone: false, selector: "[feature]", inputs: { feature: "feature", featureElse: "featureElse" }, ngImport: i0 }); }
|
|
133
133
|
}
|
|
134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: AXPFeatureDirective, decorators: [{
|
|
135
135
|
type: Directive,
|
|
136
136
|
args: [{
|
|
137
137
|
selector: '[feature]',
|
|
@@ -574,10 +574,10 @@ class AXPSessionService {
|
|
|
574
574
|
application: this.application,
|
|
575
575
|
});
|
|
576
576
|
}
|
|
577
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
578
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
577
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: AXPSessionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
578
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: AXPSessionService, providedIn: 'root' }); }
|
|
579
579
|
}
|
|
580
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
580
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: AXPSessionService, decorators: [{
|
|
581
581
|
type: Injectable,
|
|
582
582
|
args: [{
|
|
583
583
|
providedIn: 'root',
|
|
@@ -621,10 +621,10 @@ class AXPPermissionDirective {
|
|
|
621
621
|
ngOnDestroy() {
|
|
622
622
|
this.subscription?.unsubscribe();
|
|
623
623
|
}
|
|
624
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
625
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
624
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: AXPPermissionDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
625
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.10", type: AXPPermissionDirective, isStandalone: false, selector: "[permission]", inputs: { permission: "permission", permissionElse: "permissionElse" }, ngImport: i0 }); }
|
|
626
626
|
}
|
|
627
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
627
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: AXPPermissionDirective, decorators: [{
|
|
628
628
|
type: Directive,
|
|
629
629
|
args: [{
|
|
630
630
|
selector: '[permission]',
|
|
@@ -778,10 +778,10 @@ class AXPPermissionDefinitionService {
|
|
|
778
778
|
await this.load();
|
|
779
779
|
return this.cache?.find(g => g.permissions.find(p => p.name === name))?.permissions.find(p => p.name === name) ?? null;
|
|
780
780
|
}
|
|
781
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
782
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
781
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: AXPPermissionDefinitionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
782
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: AXPPermissionDefinitionService, providedIn: 'root' }); }
|
|
783
783
|
}
|
|
784
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: AXPPermissionDefinitionService, decorators: [{
|
|
785
785
|
type: Injectable,
|
|
786
786
|
args: [{ providedIn: 'root' }]
|
|
787
787
|
}] });
|
|
@@ -875,16 +875,16 @@ class AXPAuthModule {
|
|
|
875
875
|
f();
|
|
876
876
|
});
|
|
877
877
|
}
|
|
878
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
879
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
880
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
878
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: AXPAuthModule, deps: [{ token: 'AXPAuthModuleFactory', optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
879
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.10", ngImport: i0, type: AXPAuthModule, declarations: [AXPPermissionDirective, AXPFeatureDirective], exports: [AXPPermissionDirective, AXPFeatureDirective] }); }
|
|
880
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: AXPAuthModule, providers: [
|
|
881
881
|
provideAppInitializer(() => {
|
|
882
882
|
const initializerFn = initializeAppState(inject(AXPSessionService));
|
|
883
883
|
return initializerFn();
|
|
884
884
|
}),
|
|
885
885
|
] }); }
|
|
886
886
|
}
|
|
887
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
887
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: AXPAuthModule, decorators: [{
|
|
888
888
|
type: NgModule,
|
|
889
889
|
args: [{
|
|
890
890
|
imports: [],
|