@acorex/platform 20.8.13 → 20.8.15
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/{types/acorex-platform-auth.d.ts → auth/index.d.ts} +2 -14
- package/{types/acorex-platform-common.d.ts → common/index.d.ts} +30 -302
- package/{types/acorex-platform-core.d.ts → core/index.d.ts} +44 -188
- package/{types/acorex-platform-domain.d.ts → domain/index.d.ts} +412 -744
- package/fesm2022/acorex-platform-auth.mjs +27 -125
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/{acorex-platform-common-common-settings.provider-Bi1RYif5.mjs → acorex-platform-common-common-settings.provider-DVvuLUfF.mjs} +32 -30
- package/fesm2022/acorex-platform-common-common-settings.provider-DVvuLUfF.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +205 -711
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +127 -420
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain.mjs +830 -561
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +114 -634
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-components-binding-expression-editor-popup.component-CXEdvDTf.mjs → acorex-platform-layout-components-binding-expression-editor-popup.component-CSxCnzwU.mjs} +9 -9
- package/fesm2022/acorex-platform-layout-components-binding-expression-editor-popup.component-CSxCnzwU.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-components.mjs +877 -3362
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +204 -456
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +10062 -14672
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +171 -413
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +441 -507
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-button-widget-designer.component-Dy7jF-oD.mjs → acorex-platform-layout-widgets-button-widget-designer.component-CPBzE96V.mjs} +10 -10
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-CPBzE96V.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-file-list-popup.component-CDYAGBku.mjs → acorex-platform-layout-widgets-file-list-popup.component-Dtv6U3df.mjs} +76 -21
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-Dtv6U3df.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-image-preview.popup-C_EPAvCU.mjs → acorex-platform-layout-widgets-image-preview.popup-QxJfswhK.mjs} +7 -6
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-QxJfswhK.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-page-widget-designer.component-D10yO28c.mjs → acorex-platform-layout-widgets-page-widget-designer.component-CVdssZBD.mjs} +12 -12
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-CVdssZBD.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-BCxE0RTB.mjs +111 -0
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-BCxE0RTB.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-DmzNTYiS.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-DVaZN9QN.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-DVaZN9QN.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-BNG_588B.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-DPGHgXa6.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-DPGHgXa6.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-text-block-widget-designer.component-Vo4fWHtX.mjs → acorex-platform-layout-widgets-text-block-widget-designer.component-CdiNW691.mjs} +6 -6
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-CdiNW691.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets.mjs +3429 -5632
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-native.mjs +7 -8
- package/fesm2022/acorex-platform-native.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs +166 -391
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-D4hU2SCE.mjs +160 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-D4hU2SCE.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-D2CtNrSn.mjs +1716 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-D2CtNrSn.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BVTklnzs.mjs +120 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BVTklnzs.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-BfCeUU5F.mjs → acorex-platform-themes-default-entity-master-single-view.component-rGsMVAZj.mjs} +23 -16
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-rGsMVAZj.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-401.component-C7EYJzSr.mjs → acorex-platform-themes-default-error-401.component-53VB-PS_.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-default-error-401.component-53VB-PS_.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-404.component-7MVLMwIa.mjs → acorex-platform-themes-default-error-404.component-DVF9soT5.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-default-error-404.component-DVF9soT5.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-error-offline.component-CwNNHzZn.mjs +19 -0
- package/fesm2022/acorex-platform-themes-default-error-offline.component-CwNNHzZn.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +61 -1784
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-column.component-CqkWJYdv.mjs → acorex-platform-themes-shared-icon-chooser-column.component-TJ9PWHMY.mjs} +6 -6
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-TJ9PWHMY.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-BOTuLdWN.mjs → acorex-platform-themes-shared-icon-chooser-view.component-BHcKkIx0.mjs} +6 -6
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-BHcKkIx0.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-DK6R87Lf.mjs → acorex-platform-themes-shared-settings.provider-DSs1o1M6.mjs} +25 -24
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DSs1o1M6.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-BUPs84MI.mjs +65 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-BUPs84MI.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BotknoHn.mjs +64 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BotknoHn.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +305 -408
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +100 -359
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/fesm2022/acorex-platform.mjs.map +1 -1
- package/{types/acorex-platform-layout-builder.d.ts → layout/builder/index.d.ts} +38 -160
- package/{types/acorex-platform-layout-components.d.ts → layout/components/index.d.ts} +125 -854
- package/{types/acorex-platform-layout-designer.d.ts → layout/designer/index.d.ts} +18 -96
- package/{types/acorex-platform-layout-entity.d.ts → layout/entity/index.d.ts} +65 -848
- package/{types/acorex-platform-layout-views.d.ts → layout/views/index.d.ts} +47 -80
- package/{types/acorex-platform-layout-widget-core.d.ts → layout/widget-core/index.d.ts} +197 -274
- package/{types/acorex-platform-layout-widgets.d.ts → layout/widgets/index.d.ts} +124 -608
- package/{types/acorex-platform-native.d.ts → native/index.d.ts} +7 -0
- package/package.json +33 -33
- package/runtime/index.d.ts +307 -0
- package/{types/acorex-platform-themes-default.d.ts → themes/default/index.d.ts} +4 -113
- package/{types/acorex-platform-themes-shared.d.ts → themes/shared/index.d.ts} +4 -5
- package/{types/acorex-platform-workflow.d.ts → workflow/index.d.ts} +81 -162
- package/fesm2022/acorex-platform-common-common-settings.provider-Bi1RYif5.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-components-binding-expression-editor-popup.component-CXEdvDTf.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-Dy7jF-oD.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-CDYAGBku.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-C_EPAvCU.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-D10yO28c.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-BGO75IMz.mjs +0 -116
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-BGO75IMz.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-DmzNTYiS.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-BNG_588B.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-Vo4fWHtX.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Cx1lLUaR.mjs +0 -160
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Cx1lLUaR.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-AOrcgjDF.mjs +0 -120
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-AOrcgjDF.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BfCeUU5F.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-401.component-C7EYJzSr.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-404.component-7MVLMwIa.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-offline.component-DR6G8gPC.mjs +0 -19
- package/fesm2022/acorex-platform-themes-default-error-offline.component-DR6G8gPC.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-CqkWJYdv.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-BOTuLdWN.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DK6R87Lf.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-D566Kdvy.mjs +0 -94
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-D566Kdvy.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-D7-rCGl7.mjs +0 -86
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-D7-rCGl7.mjs.map +0 -1
- package/types/acorex-platform-runtime.d.ts +0 -571
- /package/{types/acorex-platform.d.ts → index.d.ts} +0 -0
|
@@ -6,6 +6,13 @@ declare class AXPNativeModule {
|
|
|
6
6
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXPNativeModule>;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
+
declare global {
|
|
10
|
+
interface Window {
|
|
11
|
+
FlutterChannel?: {
|
|
12
|
+
postMessage: (message: string) => void;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
}
|
|
9
16
|
declare class AXPNativeService {
|
|
10
17
|
private isDark;
|
|
11
18
|
constructor();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/platform",
|
|
3
|
-
"version": "20.8.
|
|
3
|
+
"version": "20.8.15",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@acorex/cdk": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0 || ^21.0.2-next.0",
|
|
6
6
|
"@acorex/core": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0 || ^21.0.2-next.0",
|
|
@@ -10,86 +10,86 @@
|
|
|
10
10
|
"@angular/animations": "^20.0.0",
|
|
11
11
|
"@ngrx/signals": "^20.0.0",
|
|
12
12
|
"tailwindcss-animate": "^1.0.0",
|
|
13
|
-
"dom-to-image": "^2.6.0"
|
|
13
|
+
"dom-to-image": "^2.6.0",
|
|
14
|
+
"signature_pad": "^4.1.7"
|
|
14
15
|
},
|
|
15
16
|
"dependencies": {
|
|
16
17
|
"tslib": "^2.3.0"
|
|
17
18
|
},
|
|
18
19
|
"sideEffects": false,
|
|
19
20
|
"module": "fesm2022/acorex-platform.mjs",
|
|
20
|
-
"typings": "
|
|
21
|
+
"typings": "index.d.ts",
|
|
21
22
|
"exports": {
|
|
22
23
|
"./package.json": {
|
|
23
24
|
"default": "./package.json"
|
|
24
25
|
},
|
|
25
26
|
".": {
|
|
26
|
-
"types": "./
|
|
27
|
+
"types": "./index.d.ts",
|
|
27
28
|
"default": "./fesm2022/acorex-platform.mjs"
|
|
28
29
|
},
|
|
29
30
|
"./auth": {
|
|
30
|
-
"types": "./
|
|
31
|
+
"types": "./auth/index.d.ts",
|
|
31
32
|
"default": "./fesm2022/acorex-platform-auth.mjs"
|
|
32
33
|
},
|
|
33
34
|
"./common": {
|
|
34
|
-
"types": "./
|
|
35
|
+
"types": "./common/index.d.ts",
|
|
35
36
|
"default": "./fesm2022/acorex-platform-common.mjs"
|
|
36
37
|
},
|
|
37
38
|
"./core": {
|
|
38
|
-
"types": "./
|
|
39
|
+
"types": "./core/index.d.ts",
|
|
39
40
|
"default": "./fesm2022/acorex-platform-core.mjs"
|
|
40
41
|
},
|
|
41
42
|
"./domain": {
|
|
42
|
-
"types": "./
|
|
43
|
+
"types": "./domain/index.d.ts",
|
|
43
44
|
"default": "./fesm2022/acorex-platform-domain.mjs"
|
|
44
45
|
},
|
|
46
|
+
"./native": {
|
|
47
|
+
"types": "./native/index.d.ts",
|
|
48
|
+
"default": "./fesm2022/acorex-platform-native.mjs"
|
|
49
|
+
},
|
|
50
|
+
"./runtime": {
|
|
51
|
+
"types": "./runtime/index.d.ts",
|
|
52
|
+
"default": "./fesm2022/acorex-platform-runtime.mjs"
|
|
53
|
+
},
|
|
54
|
+
"./workflow": {
|
|
55
|
+
"types": "./workflow/index.d.ts",
|
|
56
|
+
"default": "./fesm2022/acorex-platform-workflow.mjs"
|
|
57
|
+
},
|
|
45
58
|
"./layout/builder": {
|
|
46
|
-
"types": "./
|
|
59
|
+
"types": "./layout/builder/index.d.ts",
|
|
47
60
|
"default": "./fesm2022/acorex-platform-layout-builder.mjs"
|
|
48
61
|
},
|
|
49
62
|
"./layout/components": {
|
|
50
|
-
"types": "./
|
|
63
|
+
"types": "./layout/components/index.d.ts",
|
|
51
64
|
"default": "./fesm2022/acorex-platform-layout-components.mjs"
|
|
52
65
|
},
|
|
53
66
|
"./layout/designer": {
|
|
54
|
-
"types": "./
|
|
67
|
+
"types": "./layout/designer/index.d.ts",
|
|
55
68
|
"default": "./fesm2022/acorex-platform-layout-designer.mjs"
|
|
56
69
|
},
|
|
57
70
|
"./layout/entity": {
|
|
58
|
-
"types": "./
|
|
71
|
+
"types": "./layout/entity/index.d.ts",
|
|
59
72
|
"default": "./fesm2022/acorex-platform-layout-entity.mjs"
|
|
60
73
|
},
|
|
61
74
|
"./layout/views": {
|
|
62
|
-
"types": "./
|
|
75
|
+
"types": "./layout/views/index.d.ts",
|
|
63
76
|
"default": "./fesm2022/acorex-platform-layout-views.mjs"
|
|
64
77
|
},
|
|
65
78
|
"./layout/widget-core": {
|
|
66
|
-
"types": "./
|
|
79
|
+
"types": "./layout/widget-core/index.d.ts",
|
|
67
80
|
"default": "./fesm2022/acorex-platform-layout-widget-core.mjs"
|
|
68
81
|
},
|
|
69
82
|
"./layout/widgets": {
|
|
70
|
-
"types": "./
|
|
83
|
+
"types": "./layout/widgets/index.d.ts",
|
|
71
84
|
"default": "./fesm2022/acorex-platform-layout-widgets.mjs"
|
|
72
85
|
},
|
|
73
|
-
"./native": {
|
|
74
|
-
"types": "./types/acorex-platform-native.d.ts",
|
|
75
|
-
"default": "./fesm2022/acorex-platform-native.mjs"
|
|
76
|
-
},
|
|
77
|
-
"./runtime": {
|
|
78
|
-
"types": "./types/acorex-platform-runtime.d.ts",
|
|
79
|
-
"default": "./fesm2022/acorex-platform-runtime.mjs"
|
|
80
|
-
},
|
|
81
|
-
"./themes/default": {
|
|
82
|
-
"types": "./types/acorex-platform-themes-default.d.ts",
|
|
83
|
-
"default": "./fesm2022/acorex-platform-themes-default.mjs"
|
|
84
|
-
},
|
|
85
86
|
"./themes/shared": {
|
|
86
|
-
"types": "./
|
|
87
|
+
"types": "./themes/shared/index.d.ts",
|
|
87
88
|
"default": "./fesm2022/acorex-platform-themes-shared.mjs"
|
|
88
89
|
},
|
|
89
|
-
"./
|
|
90
|
-
"types": "./
|
|
91
|
-
"default": "./fesm2022/acorex-platform-
|
|
90
|
+
"./themes/default": {
|
|
91
|
+
"types": "./themes/default/index.d.ts",
|
|
92
|
+
"default": "./fesm2022/acorex-platform-themes-default.mjs"
|
|
92
93
|
}
|
|
93
|
-
}
|
|
94
|
-
"type": "module"
|
|
94
|
+
}
|
|
95
95
|
}
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
import { AXPExecuteCommandResult, AXPViewDefinition, AXPMetaData } from '@acorex/platform/core';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { InjectionToken, Type, EnvironmentProviders, Provider } from '@angular/core';
|
|
4
|
+
import { AXComponent } from '@acorex/cdk/common';
|
|
5
|
+
|
|
6
|
+
type AXPExecuteCommandResultPromise<TResult = any> = Promise<AXPExecuteCommandResult<TResult>>;
|
|
7
|
+
interface AXPCommand<TInput = any, TResult = any> {
|
|
8
|
+
execute(input: TInput): AXPExecuteCommandResultPromise<TResult>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Represents a middleware function in the command execution pipeline.
|
|
13
|
+
*/
|
|
14
|
+
type AXPCommandMiddleware<TInput = any, TResult = any> = (input: TInput, next: (input: TInput) => Promise<AXPExecuteCommandResult<TResult>>) => Promise<AXPExecuteCommandResult<TResult>>;
|
|
15
|
+
/**
|
|
16
|
+
* Creates a composed handler by chaining the provided command middlewares.
|
|
17
|
+
*/
|
|
18
|
+
declare function composeCommandMiddlewares<TInput, TResult>(middlewares: AXPCommandMiddleware<TInput, TResult>[]): (handler: (input: TInput) => Promise<AXPExecuteCommandResult<TResult>>) => (input: TInput) => Promise<AXPExecuteCommandResult<TResult>>;
|
|
19
|
+
|
|
20
|
+
declare class AXPCommandRegistry {
|
|
21
|
+
private registry;
|
|
22
|
+
private middlewares;
|
|
23
|
+
register(key: string, loader: () => Promise<AXPCommand>): void;
|
|
24
|
+
unregister(key: string): boolean;
|
|
25
|
+
use(middleware: AXPCommandMiddleware): void;
|
|
26
|
+
exists(key: string): boolean;
|
|
27
|
+
getLoader(key: string): (() => Promise<AXPCommand>) | undefined;
|
|
28
|
+
getMiddlewares(): readonly AXPCommandMiddleware[];
|
|
29
|
+
getRegisteredKeys(): string[];
|
|
30
|
+
clear(): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPCommandRegistry, never>;
|
|
32
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPCommandRegistry>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
declare class AXPCommandExecutor {
|
|
36
|
+
private readonly injector;
|
|
37
|
+
private readonly registry;
|
|
38
|
+
private readonly extensions;
|
|
39
|
+
private readonly commandEvents;
|
|
40
|
+
execute<TInput = any, TResult = any>(key: string, input: TInput): Promise<AXPExecuteCommandResult<TResult> | null>;
|
|
41
|
+
private getPluginMiddlewares;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPCommandExecutor, never>;
|
|
43
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPCommandExecutor>;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
declare class AXPCommandService {
|
|
47
|
+
private readonly registry;
|
|
48
|
+
private readonly executor;
|
|
49
|
+
register(key: string, loader: () => Promise<AXPCommand>): void;
|
|
50
|
+
unregister(key: string): boolean;
|
|
51
|
+
use(middleware: AXPCommandMiddleware): void;
|
|
52
|
+
exists(key: string): boolean;
|
|
53
|
+
getRegisteredKeys(): string[];
|
|
54
|
+
clear(): void;
|
|
55
|
+
execute<TInput = any, TResult = any>(key: string, input: TInput): Promise<AXPExecuteCommandResult<TResult> | null>;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPCommandService, never>;
|
|
57
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPCommandService>;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
interface AXPCommandExtension {
|
|
61
|
+
target: string | RegExp;
|
|
62
|
+
middleware: AXPCommandMiddleware;
|
|
63
|
+
}
|
|
64
|
+
declare const AXP_COMMAND_EXTENSION: InjectionToken<AXPCommandExtension[]>;
|
|
65
|
+
|
|
66
|
+
declare const AXP_COMMAND_SETUP: InjectionToken<void>;
|
|
67
|
+
type AXPCommandLoader = {
|
|
68
|
+
key: string;
|
|
69
|
+
command: () => Type<AXPCommand> | Promise<Type<AXPCommand>>;
|
|
70
|
+
};
|
|
71
|
+
declare function provideCommandSetups(entries: AXPCommandLoader[]): EnvironmentProviders;
|
|
72
|
+
declare function provideCommand(key: string, loader: () => Type<AXPCommand> | Promise<Type<AXPCommand>>): EnvironmentProviders;
|
|
73
|
+
|
|
74
|
+
declare const AXP_COMMAND_MIDDLEWARE_SETUP: InjectionToken<void>;
|
|
75
|
+
type AXPCommandMiddlewareEntry = (AXPCommandMiddleware | {
|
|
76
|
+
target: string | RegExp;
|
|
77
|
+
middleware: AXPCommandMiddleware;
|
|
78
|
+
})[];
|
|
79
|
+
declare function provideCommandMiddleware(entries: AXPCommandMiddlewareEntry): EnvironmentProviders;
|
|
80
|
+
|
|
81
|
+
type AXPCommandExecutionStage = 'before' | 'after';
|
|
82
|
+
interface AXPCommandExecutionEvent<TInput = unknown, TResult = unknown> {
|
|
83
|
+
stage: AXPCommandExecutionStage;
|
|
84
|
+
key: string;
|
|
85
|
+
input: TInput;
|
|
86
|
+
success?: boolean;
|
|
87
|
+
result?: AXPExecuteCommandResult<TResult> | null;
|
|
88
|
+
error?: unknown;
|
|
89
|
+
}
|
|
90
|
+
type CommandExecutionHandler<TInput, TResult> = (event: AXPCommandExecutionEvent<TInput, TResult>) => void;
|
|
91
|
+
declare class AXPCommandEventsService {
|
|
92
|
+
private readonly broadcast;
|
|
93
|
+
private readonly distributedEvents;
|
|
94
|
+
listen<TInput = unknown, TResult = unknown>(handler: CommandExecutionHandler<TInput, TResult>): () => void;
|
|
95
|
+
emit<TInput = unknown, TResult = unknown>(event: AXPCommandExecutionEvent<TInput, TResult>): Promise<void>;
|
|
96
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPCommandEventsService, never>;
|
|
97
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPCommandEventsService>;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
interface AXPQuery<TInput = any, TResult = any> {
|
|
101
|
+
fetch(input: TInput): Promise<TResult>;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
type AXPQueryMiddleware<TInput = any, TResult = any> = (input: TInput, next: (input: TInput) => Promise<TResult>) => Promise<TResult>;
|
|
105
|
+
declare function composeQueryMiddlewares<TInput, TResult>(middlewares: AXPQueryMiddleware<TInput, TResult>[]): (handler: (input: TInput) => Promise<TResult>) => (input: TInput) => Promise<TResult>;
|
|
106
|
+
|
|
107
|
+
declare class AXPQueryRegistry {
|
|
108
|
+
private registry;
|
|
109
|
+
private middlewares;
|
|
110
|
+
register(key: string, loader: () => Promise<AXPQuery>): void;
|
|
111
|
+
unregister(key: string): boolean;
|
|
112
|
+
use(middleware: AXPQueryMiddleware): void;
|
|
113
|
+
exists(key: string): boolean;
|
|
114
|
+
getLoader(key: string): (() => Promise<AXPQuery>) | undefined;
|
|
115
|
+
getMiddlewares(): readonly AXPQueryMiddleware[];
|
|
116
|
+
getRegisteredKeys(): string[];
|
|
117
|
+
clear(): void;
|
|
118
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPQueryRegistry, never>;
|
|
119
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPQueryRegistry>;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
declare class AXPQueryExecutor {
|
|
123
|
+
private readonly injector;
|
|
124
|
+
private readonly registry;
|
|
125
|
+
private readonly extensions;
|
|
126
|
+
fetch<TInput = any, TResult = any>(key: string, input: TInput): Promise<TResult | null>;
|
|
127
|
+
private getPluginMiddlewares;
|
|
128
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPQueryExecutor, never>;
|
|
129
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPQueryExecutor>;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
declare class AXPQueryService {
|
|
133
|
+
private readonly registry;
|
|
134
|
+
private readonly executor;
|
|
135
|
+
register(key: string, loader: () => Promise<AXPQuery>): void;
|
|
136
|
+
unregister(key: string): boolean;
|
|
137
|
+
use(middleware: AXPQueryMiddleware): void;
|
|
138
|
+
exists(key: string): boolean;
|
|
139
|
+
getRegisteredKeys(): string[];
|
|
140
|
+
clear(): void;
|
|
141
|
+
fetch<TInput = any, TResult = any>(key: string, input: TInput): Promise<TResult | null>;
|
|
142
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPQueryService, never>;
|
|
143
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPQueryService>;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
interface AXPQueryExtension {
|
|
147
|
+
target: string | RegExp;
|
|
148
|
+
middleware: AXPQueryMiddleware;
|
|
149
|
+
}
|
|
150
|
+
declare const AXP_QUERY_EXTENSION: InjectionToken<AXPQueryExtension[]>;
|
|
151
|
+
|
|
152
|
+
declare const AXP_QUERY_SETUP: InjectionToken<void>;
|
|
153
|
+
type AXPQueryLoaderEntry = {
|
|
154
|
+
key: string;
|
|
155
|
+
loader: () => Type<AXPQuery> | Promise<Type<AXPQuery>>;
|
|
156
|
+
};
|
|
157
|
+
declare function provideQuerySetups(entries: AXPQueryLoaderEntry[]): EnvironmentProviders;
|
|
158
|
+
|
|
159
|
+
declare const AXP_QUERY_MIDDLEWARE_SETUP: InjectionToken<void>;
|
|
160
|
+
type AXPQueryMiddlewareEntry = (AXPQueryMiddleware | {
|
|
161
|
+
key: string;
|
|
162
|
+
middleware: AXPQueryMiddleware;
|
|
163
|
+
})[];
|
|
164
|
+
declare function provideQueryMiddleware(entries: AXPQueryMiddlewareEntry): EnvironmentProviders;
|
|
165
|
+
|
|
166
|
+
interface AXPViewProvider<TInput = any> {
|
|
167
|
+
provide(input: TInput): Promise<AXPViewDefinition>;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
type AXPViewMiddleware<TInput = any> = (input: TInput, next: (input: TInput) => Promise<AXPViewDefinition>) => Promise<AXPViewDefinition>;
|
|
171
|
+
declare function composeViewMiddlewares<TInput>(middlewares: AXPViewMiddleware<TInput>[]): (handler: (input: TInput) => Promise<AXPViewDefinition>) => (input: TInput) => Promise<AXPViewDefinition>;
|
|
172
|
+
|
|
173
|
+
declare class AXPViewRegistry {
|
|
174
|
+
private registry;
|
|
175
|
+
private middlewares;
|
|
176
|
+
register(key: string, loader: () => Promise<AXPViewProvider>): void;
|
|
177
|
+
unregister(key: string): boolean;
|
|
178
|
+
use(middleware: AXPViewMiddleware): void;
|
|
179
|
+
exists(key: string): boolean;
|
|
180
|
+
getLoader(key: string): (() => Promise<AXPViewProvider>) | undefined;
|
|
181
|
+
getMiddlewares(): readonly AXPViewMiddleware[];
|
|
182
|
+
getRegisteredKeys(): string[];
|
|
183
|
+
clear(): void;
|
|
184
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPViewRegistry, never>;
|
|
185
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPViewRegistry>;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
declare class AXPViewExecutor {
|
|
189
|
+
private readonly injector;
|
|
190
|
+
private readonly registry;
|
|
191
|
+
private readonly extensions;
|
|
192
|
+
provide<TInput = any>(key: string, input: TInput): Promise<AXPViewDefinition | null>;
|
|
193
|
+
private getPluginMiddlewares;
|
|
194
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPViewExecutor, never>;
|
|
195
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPViewExecutor>;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
declare class AXPViewService {
|
|
199
|
+
private readonly registry;
|
|
200
|
+
private readonly executor;
|
|
201
|
+
register(key: string, loader: () => Promise<AXPViewProvider>): void;
|
|
202
|
+
unregister(key: string): boolean;
|
|
203
|
+
use(middleware: AXPViewMiddleware): void;
|
|
204
|
+
exists(key: string): boolean;
|
|
205
|
+
getRegisteredKeys(): string[];
|
|
206
|
+
clear(): void;
|
|
207
|
+
provide<TInput = any>(key: string, input: TInput): Promise<AXPViewDefinition | null>;
|
|
208
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPViewService, never>;
|
|
209
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPViewService>;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
interface AXPViewExtension {
|
|
213
|
+
target: string | RegExp;
|
|
214
|
+
middleware: AXPViewMiddleware;
|
|
215
|
+
}
|
|
216
|
+
declare const AXP_VIEW_EXTENSION: InjectionToken<AXPViewExtension[]>;
|
|
217
|
+
|
|
218
|
+
declare const AXP_VIEW_SETUP: InjectionToken<void>;
|
|
219
|
+
declare function provideViewSetups(providers: Provider[]): EnvironmentProviders;
|
|
220
|
+
declare function provideViewSetup(key: string, loader: () => Promise<AXPViewProvider>): Provider;
|
|
221
|
+
|
|
222
|
+
type AXPPolicyOptions = {
|
|
223
|
+
id: string;
|
|
224
|
+
sender: HTMLElement | AXComponent | AXPMetaData;
|
|
225
|
+
policies?: string[];
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
interface AXPPolicy {
|
|
229
|
+
apply(context: AXPPolicyEngineContext): Promise<void>;
|
|
230
|
+
}
|
|
231
|
+
declare class AXPPolicyEngineContext {
|
|
232
|
+
private _id;
|
|
233
|
+
private _sender;
|
|
234
|
+
private _visible;
|
|
235
|
+
private _enabled;
|
|
236
|
+
constructor(options: AXPPolicyOptions);
|
|
237
|
+
get sender(): AXPPolicyOptions['sender'];
|
|
238
|
+
get id(): string;
|
|
239
|
+
get visible(): boolean;
|
|
240
|
+
get enabled(): boolean;
|
|
241
|
+
setVisible(visible: boolean): this;
|
|
242
|
+
setEnabled(enabled: boolean): this;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
type AXPPolicyEngineMiddleware = (context: AXPPolicyEngineContext, next: (context: AXPPolicyEngineContext) => Promise<void>) => Promise<void>;
|
|
246
|
+
declare function composePolicyEngineMiddlewares(middlewares: AXPPolicyEngineMiddleware[]): (handler: (context: AXPPolicyEngineContext) => Promise<void>) => (context: AXPPolicyEngineContext) => Promise<void>;
|
|
247
|
+
|
|
248
|
+
declare class AXPPolicyEngineRegistry {
|
|
249
|
+
private registry;
|
|
250
|
+
private middlewares;
|
|
251
|
+
private extensions;
|
|
252
|
+
private injector;
|
|
253
|
+
use(mw: AXPPolicyEngineMiddleware): void;
|
|
254
|
+
exists(key: string): boolean;
|
|
255
|
+
getPolicies(): string[];
|
|
256
|
+
register(key: string, loader: () => Promise<AXPPolicy>): void;
|
|
257
|
+
private getPluginMiddlewares;
|
|
258
|
+
execute(policy: string, instance: AXPPolicyOptions): Promise<AXPPolicyEngineContext>;
|
|
259
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPPolicyEngineRegistry, never>;
|
|
260
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPPolicyEngineRegistry>;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
declare class AXPPolicyEngineService {
|
|
264
|
+
private registry;
|
|
265
|
+
apply(options: AXPPolicyOptions): Promise<void>;
|
|
266
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPPolicyEngineService, never>;
|
|
267
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPPolicyEngineService>;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
declare class AXPPolicyEngineDirective {
|
|
271
|
+
#private;
|
|
272
|
+
policy: i0.InputSignal<string | null | undefined>;
|
|
273
|
+
private service;
|
|
274
|
+
private elementRef;
|
|
275
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPPolicyEngineDirective, never>;
|
|
276
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXPPolicyEngineDirective, "[axp-apply-policy]", never, { "policy": { "alias": "axp-apply-policy"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
interface AXPPolicyExtension {
|
|
280
|
+
key: string;
|
|
281
|
+
middleware: AXPPolicyEngineMiddleware;
|
|
282
|
+
}
|
|
283
|
+
declare const AXP_POLICY_EXTENSION: InjectionToken<AXPPolicyExtension[]>;
|
|
284
|
+
|
|
285
|
+
declare const AXP_POLICY_ENGINE_MIDDLEWARE_SETUP: InjectionToken<void>;
|
|
286
|
+
type AXPPolicyLoader = {
|
|
287
|
+
key: string;
|
|
288
|
+
policy: () => Type<AXPPolicy> | Promise<Type<AXPPolicy>>;
|
|
289
|
+
};
|
|
290
|
+
declare function providePolicySetups(entries: AXPPolicyLoader[]): EnvironmentProviders;
|
|
291
|
+
|
|
292
|
+
declare class AXPRuntimeModule {
|
|
293
|
+
private _commandSetup;
|
|
294
|
+
private _commandMiddlewareSetup;
|
|
295
|
+
private _querySetup;
|
|
296
|
+
private _queryMiddlewareSetup;
|
|
297
|
+
private _viewSetup;
|
|
298
|
+
private _viewMiddlewareSetup;
|
|
299
|
+
private _policyEngineSetup;
|
|
300
|
+
constructor();
|
|
301
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPRuntimeModule, never>;
|
|
302
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXPRuntimeModule, never, never, never>;
|
|
303
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXPRuntimeModule>;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export { AXPCommandEventsService, AXPCommandExecutor, AXPCommandRegistry, AXPCommandService, AXPPolicyEngineContext, AXPPolicyEngineDirective, AXPPolicyEngineRegistry, AXPPolicyEngineService, AXPQueryExecutor, AXPQueryRegistry, AXPQueryService, AXPRuntimeModule, AXPViewExecutor, AXPViewRegistry, AXPViewService, AXP_COMMAND_EXTENSION, AXP_COMMAND_MIDDLEWARE_SETUP, AXP_COMMAND_SETUP, AXP_POLICY_ENGINE_MIDDLEWARE_SETUP, AXP_POLICY_EXTENSION, AXP_QUERY_EXTENSION, AXP_QUERY_MIDDLEWARE_SETUP, AXP_QUERY_SETUP, AXP_VIEW_EXTENSION, AXP_VIEW_SETUP, composeCommandMiddlewares, composePolicyEngineMiddlewares, composeQueryMiddlewares, composeViewMiddlewares, provideCommand, provideCommandMiddleware, provideCommandSetups, providePolicySetups, provideQueryMiddleware, provideQuerySetups, provideViewSetup, provideViewSetups };
|
|
307
|
+
export type { AXPCommand, AXPCommandExecutionEvent, AXPCommandExecutionStage, AXPCommandExtension, AXPCommandMiddleware, AXPExecuteCommandResultPromise, AXPPolicy, AXPPolicyEngineMiddleware, AXPPolicyExtension, AXPQuery, AXPQueryExtension, AXPQueryMiddleware, AXPViewExtension, AXPViewMiddleware, AXPViewProvider };
|
|
@@ -4,14 +4,11 @@ import { Signal } from '@angular/core';
|
|
|
4
4
|
import * as _acorex_platform_themes_shared from '@acorex/platform/themes/shared';
|
|
5
5
|
import { AXValueChangedEvent } from '@acorex/cdk/common';
|
|
6
6
|
import { AXActionSheetService } from '@acorex/components/action-sheet';
|
|
7
|
-
import { AXDataTableComponent, AXRowCommandItem, AXDataTableRowDbClick, AXRowCommandItemClickEvent
|
|
7
|
+
import { AXDataTableComponent, AXRowCommandItem, AXDataTableRowDbClick, AXRowCommandItemClickEvent } from '@acorex/components/data-table';
|
|
8
8
|
import { AXUnsubscriber } from '@acorex/core/utils';
|
|
9
9
|
import * as _acorex_platform_core from '@acorex/platform/core';
|
|
10
|
-
import { AXPDeviceService
|
|
11
|
-
import { AXPEntityCommandTriggerViewModel, AXPEntityDetailListViewModel
|
|
12
|
-
import { AXPlatform } from '@acorex/core/platform';
|
|
13
|
-
import { AXDataPagerChangedEvent } from '@acorex/components/data-pager';
|
|
14
|
-
import { AXPPageLayoutBaseComponent } from '@acorex/platform/layout/views';
|
|
10
|
+
import { AXPDeviceService } from '@acorex/platform/core';
|
|
11
|
+
import { AXPEntityCommandTriggerViewModel, AXPEntityDetailListViewModel } from '@acorex/platform/layout/entity';
|
|
15
12
|
import * as _acorex_platform_common from '@acorex/platform/common';
|
|
16
13
|
import { AXPMenuItem, AXPSettingsService, AXPMenuVisibilityService } from '@acorex/platform/common';
|
|
17
14
|
import { AXPTaskBadgeService } from '@acorex/platform/layout/components';
|
|
@@ -95,112 +92,6 @@ declare class AXPEntityDetailListViewComponent {
|
|
|
95
92
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPEntityDetailListViewComponent, "axp-entity-detail-list-view", never, { "vm": { "alias": "viewModel"; "required": false; }; }, {}, never, never, true, never>;
|
|
96
93
|
}
|
|
97
94
|
|
|
98
|
-
declare class AXPEntityMasterListViewComponent extends AXPPageLayoutBaseComponent {
|
|
99
|
-
protected platform: AXPlatform;
|
|
100
|
-
private activeRoute;
|
|
101
|
-
private router;
|
|
102
|
-
protected readonly vm: AXPEntityMasterListViewModel;
|
|
103
|
-
protected store: {
|
|
104
|
-
currentMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPThemeMode>;
|
|
105
|
-
currentPalette: _angular_core.Signal<string>;
|
|
106
|
-
systemThemeMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPThemeMode>;
|
|
107
|
-
font: _ngrx_signals.DeepSignal<{
|
|
108
|
-
family: string;
|
|
109
|
-
size: string;
|
|
110
|
-
}>;
|
|
111
|
-
overlayLoading: _angular_core.Signal<boolean>;
|
|
112
|
-
navigationLoading: _angular_core.Signal<boolean>;
|
|
113
|
-
overlayLoadingTaskCount: _angular_core.Signal<number>;
|
|
114
|
-
navigationLoadingTaskCount: _angular_core.Signal<number>;
|
|
115
|
-
sideMenuState: _angular_core.Signal<_acorex_platform_themes_shared.AXPSideMenuState>;
|
|
116
|
-
sideMenuWidth: _angular_core.Signal<number>;
|
|
117
|
-
menuOrientation: _angular_core.Signal<_acorex_platform_themes_shared.AXPMenuOrientation>;
|
|
118
|
-
isPrinting: _angular_core.Signal<boolean>;
|
|
119
|
-
isDarkMode: _angular_core.Signal<boolean>;
|
|
120
|
-
isLightMode: _angular_core.Signal<boolean>;
|
|
121
|
-
isSystemMode: _angular_core.Signal<boolean>;
|
|
122
|
-
isSideMenuOpen: _angular_core.Signal<boolean>;
|
|
123
|
-
isOverlayLoading: _angular_core.Signal<boolean>;
|
|
124
|
-
isNavigationLoading: _angular_core.Signal<boolean>;
|
|
125
|
-
isMenuHorizontal: _angular_core.Signal<boolean>;
|
|
126
|
-
changeThemeMode: (theme: _acorex_platform_themes_shared.AXPThemeMode) => void;
|
|
127
|
-
openSideMenu: () => void;
|
|
128
|
-
closeSideMenu: () => void;
|
|
129
|
-
setSideMenuWidth: (width: number) => void;
|
|
130
|
-
toggleSideMenu: () => void;
|
|
131
|
-
setNavigationLoading: (value: boolean, delay?: number) => void;
|
|
132
|
-
setOverlayLoading: (value: boolean, delay?: number) => void;
|
|
133
|
-
loadSettings: () => Promise<void>;
|
|
134
|
-
} & _ngrx_signals.StateSource<{
|
|
135
|
-
currentMode: _acorex_platform_themes_shared.AXPThemeMode;
|
|
136
|
-
currentPalette: string;
|
|
137
|
-
systemThemeMode: _acorex_platform_themes_shared.AXPThemeMode;
|
|
138
|
-
font: {
|
|
139
|
-
family: string;
|
|
140
|
-
size: string;
|
|
141
|
-
};
|
|
142
|
-
overlayLoading: boolean;
|
|
143
|
-
navigationLoading: boolean;
|
|
144
|
-
overlayLoadingTaskCount: number;
|
|
145
|
-
navigationLoadingTaskCount: number;
|
|
146
|
-
sideMenuState: _acorex_platform_themes_shared.AXPSideMenuState;
|
|
147
|
-
sideMenuWidth: number;
|
|
148
|
-
menuOrientation: _acorex_platform_themes_shared.AXPMenuOrientation;
|
|
149
|
-
isPrinting: boolean;
|
|
150
|
-
}>;
|
|
151
|
-
protected searchBarShown: _angular_core.WritableSignal<boolean>;
|
|
152
|
-
protected activeEndSideView: _angular_core.WritableSignal<"sort" | "filter" | "column">;
|
|
153
|
-
protected categorySearchValue: _angular_core.WritableSignal<string>;
|
|
154
|
-
protected grid: _angular_core.Signal<AXDataTableComponent | undefined>;
|
|
155
|
-
private queryParamSub?;
|
|
156
|
-
private initializedFromRoute;
|
|
157
|
-
private lastEvaluatedViewName;
|
|
158
|
-
private readonly componentDestroyed;
|
|
159
|
-
private isRestoringExpandedRows;
|
|
160
|
-
private restoreExpandedRowsScheduled;
|
|
161
|
-
constructor(platform: AXPlatform);
|
|
162
|
-
ngOnInit(): Promise<void>;
|
|
163
|
-
ngAfterViewInit(): Promise<void>;
|
|
164
|
-
protected onColumnSizeChanged(e: onColumnSizeChangedEvent): void;
|
|
165
|
-
protected onPageChanged(e: AXDataPagerChangedEvent): void;
|
|
166
|
-
protected onColumnsOrderChanged(e: AXColumnsOrderChangedEvent): void;
|
|
167
|
-
protected dropdownRowItems(rowData: any): Promise<AXRowCommandItem[]>;
|
|
168
|
-
private commandRowItems;
|
|
169
|
-
protected handleRowDbClick(e: AXDataTableRowDbClick): Promise<void>;
|
|
170
|
-
protected getDropdownRowItems: (rowData: unknown) => Promise<AXRowCommandItem[]>;
|
|
171
|
-
protected getCommandRowItems: () => AXRowCommandItem[];
|
|
172
|
-
protected handleRowCommandClick(e: AXRowCommandItemClickEvent): Promise<void>;
|
|
173
|
-
protected handleSelectedRowsChange(rows: unknown[]): Promise<void>;
|
|
174
|
-
/**
|
|
175
|
-
* After refreshing a row's children (e.g. when a new child was created), update the parent row's
|
|
176
|
-
* hasChild so the expand icon is shown. The list query sets hasChild from childrenCount only on
|
|
177
|
-
* initial load; refreshItemChildren does not re-fetch the parent, so we patch it here.
|
|
178
|
-
*/
|
|
179
|
-
private updateParentHasChildAfterRefresh;
|
|
180
|
-
private findItemById;
|
|
181
|
-
protected makeResponsive<t>(value: t): t | string;
|
|
182
|
-
protected toggleSideBar(sideBar?: 'column' | 'filter' | 'sort'): void;
|
|
183
|
-
protected toggleSearchBar(): void;
|
|
184
|
-
protected handleResetClick(sideBar: 'filter' | 'sort' | 'column'): void;
|
|
185
|
-
protected handleApplyClick(sideBar: 'filter' | 'sort' | 'column'): void;
|
|
186
|
-
ngOnDestroy(): void;
|
|
187
|
-
private bindExpandedRowPersistence;
|
|
188
|
-
private scheduleSyncGridPagerUi;
|
|
189
|
-
private syncGridPagerUi;
|
|
190
|
-
private scheduleRestoreExpandedRows;
|
|
191
|
-
private restoreExpandedRows;
|
|
192
|
-
toggleCategoryDrawer(): void;
|
|
193
|
-
getPageTitle(): string;
|
|
194
|
-
getPageDescription(): Promise<string>;
|
|
195
|
-
getPageBreadcrumbs(): AXPBreadcrumbItem[];
|
|
196
|
-
getPrimaryMenuItems(): Promise<AXPActionMenuItem[]>;
|
|
197
|
-
getSecondaryMenuItems(): Promise<AXPActionMenuItem[]>;
|
|
198
|
-
execute(command: AXPExecuteCommand): Promise<void>;
|
|
199
|
-
protected handleUnselectAll(): void;
|
|
200
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityMasterListViewComponent, never>;
|
|
201
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPEntityMasterListViewComponent, "axp-entity-master-list", never, {}, {}, never, never, true, never>;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
95
|
declare class AXPRootLayoutFooterComponent {
|
|
205
96
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPRootLayoutFooterComponent, never>;
|
|
206
97
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPRootLayoutFooterComponent, "axp-dashboard-admin-footer", never, {}, {}, never, never, true, never>;
|
|
@@ -579,4 +470,4 @@ declare class AXPDefaultThemeModule {
|
|
|
579
470
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXPDefaultThemeModule>;
|
|
580
471
|
}
|
|
581
472
|
|
|
582
|
-
export { AXPDefaultThemeModule, AXPEntityDetailListViewComponent,
|
|
473
|
+
export { AXPDefaultThemeModule, AXPEntityDetailListViewComponent, AXPRootHorizontalLayoutComponent, AXPRootLayoutComponent, AXPRootLayoutFooterComponent, AXPRootLayoutHeaderComponent, AXPRootLayoutMenuComponent, AXPRootVerticalLayoutComponent };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as _acorex_platform_themes_shared from '@acorex/platform/themes/shared';
|
|
2
1
|
import * as _ngrx_signals from '@ngrx/signals';
|
|
3
2
|
import * as _angular_core from '@angular/core';
|
|
4
3
|
import { InjectionToken, Injector } from '@angular/core';
|
|
@@ -48,9 +47,9 @@ declare class AXPThemeSlotComponent {
|
|
|
48
47
|
navigationLoading: _angular_core.Signal<boolean>;
|
|
49
48
|
overlayLoadingTaskCount: _angular_core.Signal<number>;
|
|
50
49
|
navigationLoadingTaskCount: _angular_core.Signal<number>;
|
|
51
|
-
sideMenuState: _angular_core.Signal<
|
|
50
|
+
sideMenuState: _angular_core.Signal<AXPSideMenuState>;
|
|
52
51
|
sideMenuWidth: _angular_core.Signal<number>;
|
|
53
|
-
menuOrientation: _angular_core.Signal<
|
|
52
|
+
menuOrientation: _angular_core.Signal<AXPMenuOrientation>;
|
|
54
53
|
isPrinting: _angular_core.Signal<boolean>;
|
|
55
54
|
isDarkMode: _angular_core.Signal<boolean>;
|
|
56
55
|
isLightMode: _angular_core.Signal<boolean>;
|
|
@@ -79,9 +78,9 @@ declare class AXPThemeSlotComponent {
|
|
|
79
78
|
navigationLoading: boolean;
|
|
80
79
|
overlayLoadingTaskCount: number;
|
|
81
80
|
navigationLoadingTaskCount: number;
|
|
82
|
-
sideMenuState:
|
|
81
|
+
sideMenuState: AXPSideMenuState;
|
|
83
82
|
sideMenuWidth: number;
|
|
84
|
-
menuOrientation:
|
|
83
|
+
menuOrientation: AXPMenuOrientation;
|
|
85
84
|
isPrinting: boolean;
|
|
86
85
|
}>;
|
|
87
86
|
protected variants: typeof AXPThemeMode;
|