@acorex/platform 20.8.5 → 21.0.0-beta.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/fesm2022/acorex-platform-auth.mjs +121 -27
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/{acorex-platform-common-common-settings.provider-41RhWqb4.mjs → acorex-platform-common-common-settings.provider-G9XcXXOG.mjs} +4 -4
- package/fesm2022/acorex-platform-common-common-settings.provider-G9XcXXOG.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +669 -268
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +333 -140
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain.mjs +557 -826
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +539 -110
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-components-binding-expression-editor-popup.component-CSxCnzwU.mjs → acorex-platform-layout-components-binding-expression-editor-popup.component-CWV4XD36.mjs} +15 -15
- package/fesm2022/acorex-platform-layout-components-binding-expression-editor-popup.component-CWV4XD36.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-components.mjs +3285 -1035
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +488 -284
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +15955 -11978
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +410 -170
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +548 -474
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-button-widget-designer.component-CPBzE96V.mjs → acorex-platform-layout-widgets-button-widget-designer.component-fLjWiSFE.mjs} +11 -11
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-fLjWiSFE.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-file-list-popup.component-Dtv6U3df.mjs → acorex-platform-layout-widgets-file-list-popup.component-3oRAKxTo.mjs} +22 -77
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-3oRAKxTo.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-image-preview.popup-QxJfswhK.mjs → acorex-platform-layout-widgets-image-preview.popup-CazpERbX.mjs} +8 -9
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-CazpERbX.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-page-widget-designer.component-CVdssZBD.mjs → acorex-platform-layout-widgets-page-widget-designer.component-BQ4G6aYf.mjs} +17 -17
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-BQ4G6aYf.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-DWuWxUF_.mjs +116 -0
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-DWuWxUF_.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-DVaZN9QN.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-fV94u3t2.mjs} +25 -19
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-fV94u3t2.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-DPGHgXa6.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-DyuvQhgN.mjs} +9 -9
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-DyuvQhgN.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-text-block-widget-designer.component-CdiNW691.mjs → acorex-platform-layout-widgets-text-block-widget-designer.component-EJMMdpIs.mjs} +7 -7
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-EJMMdpIs.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets.mjs +6396 -4058
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-native.mjs +8 -7
- package/fesm2022/acorex-platform-native.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs +328 -166
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-CkptOSO3.mjs +160 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-CkptOSO3.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-DXC2qtvK.mjs +120 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-DXC2qtvK.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-rGsMVAZj.mjs → acorex-platform-themes-default-entity-master-single-view.component-DYyunzKZ.mjs} +16 -23
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-DYyunzKZ.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-error-401.component-C5lQECDP.mjs +31 -0
- package/fesm2022/acorex-platform-themes-default-error-401.component-C5lQECDP.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-error-404.component-D5wBXAB-.mjs +25 -0
- package/fesm2022/acorex-platform-themes-default-error-404.component-D5wBXAB-.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-error-offline.component-AhDiY3DI.mjs +19 -0
- package/fesm2022/acorex-platform-themes-default-error-offline.component-AhDiY3DI.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +1687 -69
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-column.component-TJ9PWHMY.mjs → acorex-platform-themes-shared-icon-chooser-column.component-QL2-ZUVg.mjs} +8 -8
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-QL2-ZUVg.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-BHcKkIx0.mjs → acorex-platform-themes-shared-icon-chooser-view.component-BXydqPt_.mjs} +8 -8
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-BXydqPt_.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-DSs1o1M6.mjs → acorex-platform-themes-shared-settings.provider-D13QB3Hr.mjs} +2 -2
- package/fesm2022/acorex-platform-themes-shared-settings.provider-D13QB3Hr.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-Cb9iY6k9.mjs +88 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-Cb9iY6k9.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-KP4-BND5.mjs +80 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-KP4-BND5.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +572 -465
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +276 -98
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/fesm2022/acorex-platform.mjs.map +1 -1
- package/package.json +38 -38
- package/{auth/index.d.ts → types/acorex-platform-auth.d.ts} +14 -2
- package/{common/index.d.ts → types/acorex-platform-common.d.ts} +261 -24
- package/{core/index.d.ts → types/acorex-platform-core.d.ts} +163 -42
- package/{domain/index.d.ts → types/acorex-platform-domain.d.ts} +744 -412
- package/{layout/builder/index.d.ts → types/acorex-platform-layout-builder.d.ts} +137 -38
- package/{layout/components/index.d.ts → types/acorex-platform-layout-components.d.ts} +808 -131
- package/{layout/designer/index.d.ts → types/acorex-platform-layout-designer.d.ts} +96 -18
- package/{layout/entity/index.d.ts → types/acorex-platform-layout-entity.d.ts} +686 -61
- package/{layout/views/index.d.ts → types/acorex-platform-layout-views.d.ts} +80 -47
- package/{layout/widget-core/index.d.ts → types/acorex-platform-layout-widget-core.d.ts} +274 -197
- package/{layout/widgets/index.d.ts → types/acorex-platform-layout-widgets.d.ts} +583 -104
- package/{native/index.d.ts → types/acorex-platform-native.d.ts} +0 -7
- package/types/acorex-platform-runtime.d.ts +565 -0
- package/{themes/default/index.d.ts → types/acorex-platform-themes-default.d.ts} +105 -4
- package/{themes/shared/index.d.ts → types/acorex-platform-themes-shared.d.ts} +14 -5
- package/{workflow/index.d.ts → types/acorex-platform-workflow.d.ts} +96 -81
- package/fesm2022/acorex-platform-common-common-settings.provider-41RhWqb4.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-components-binding-expression-editor-popup.component-CSxCnzwU.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-CPBzE96V.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-Dtv6U3df.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-QxJfswhK.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-CVdssZBD.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-BCxE0RTB.mjs +0 -111
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-BCxE0RTB.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-DVaZN9QN.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-DPGHgXa6.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-CdiNW691.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-D4hU2SCE.mjs +0 -160
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-D4hU2SCE.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-CLDoygoI.mjs +0 -1610
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-CLDoygoI.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BVTklnzs.mjs +0 -120
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BVTklnzs.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-rGsMVAZj.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-401.component-53VB-PS_.mjs +0 -31
- package/fesm2022/acorex-platform-themes-default-error-401.component-53VB-PS_.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-404.component-DVF9soT5.mjs +0 -25
- package/fesm2022/acorex-platform-themes-default-error-404.component-DVF9soT5.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-offline.component-CwNNHzZn.mjs +0 -19
- package/fesm2022/acorex-platform-themes-default-error-offline.component-CwNNHzZn.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-TJ9PWHMY.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-BHcKkIx0.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DSs1o1M6.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-BUPs84MI.mjs +0 -65
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-BUPs84MI.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BotknoHn.mjs +0 -64
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BotknoHn.mjs.map +0 -1
- package/runtime/index.d.ts +0 -307
- /package/{index.d.ts → types/acorex-platform.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform.mjs","sources":["
|
|
1
|
+
{"version":3,"file":"acorex-platform.mjs","sources":["../../../../libs/platform/index.ts","../../../../libs/platform/acorex-platform.ts"],"sourcesContent":["export default {};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA,YAAe,EAAE;;ACAjB;;AAEG"}
|
package/package.json
CHANGED
|
@@ -1,95 +1,95 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/platform",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "21.0.0-beta.1",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@acorex/cdk": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0",
|
|
6
|
-
"@acorex/core": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0",
|
|
7
|
-
"@acorex/charts": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0",
|
|
8
|
-
"@acorex/styles": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0",
|
|
9
|
-
"@acorex/components": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0",
|
|
5
|
+
"@acorex/cdk": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0 || ^21.0.0-beta.0",
|
|
6
|
+
"@acorex/core": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0 || ^21.0.0-beta.0",
|
|
7
|
+
"@acorex/charts": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0 || ^21.0.0-beta.0",
|
|
8
|
+
"@acorex/styles": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0 || ^21.0.0-beta.0",
|
|
9
|
+
"@acorex/components": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0 || ^21.0.0-beta.0",
|
|
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"
|
|
14
|
-
"signature_pad": "^4.1.7"
|
|
13
|
+
"dom-to-image": "^2.6.0"
|
|
15
14
|
},
|
|
16
15
|
"dependencies": {
|
|
17
16
|
"tslib": "^2.3.0"
|
|
18
17
|
},
|
|
19
18
|
"sideEffects": false,
|
|
20
19
|
"module": "fesm2022/acorex-platform.mjs",
|
|
21
|
-
"typings": "
|
|
20
|
+
"typings": "types/acorex-platform.d.ts",
|
|
22
21
|
"exports": {
|
|
23
22
|
"./package.json": {
|
|
24
23
|
"default": "./package.json"
|
|
25
24
|
},
|
|
26
25
|
".": {
|
|
27
|
-
"types": "./
|
|
26
|
+
"types": "./types/acorex-platform.d.ts",
|
|
28
27
|
"default": "./fesm2022/acorex-platform.mjs"
|
|
29
28
|
},
|
|
30
29
|
"./auth": {
|
|
31
|
-
"types": "./auth
|
|
30
|
+
"types": "./types/acorex-platform-auth.d.ts",
|
|
32
31
|
"default": "./fesm2022/acorex-platform-auth.mjs"
|
|
33
32
|
},
|
|
34
33
|
"./common": {
|
|
35
|
-
"types": "./common
|
|
34
|
+
"types": "./types/acorex-platform-common.d.ts",
|
|
36
35
|
"default": "./fesm2022/acorex-platform-common.mjs"
|
|
37
36
|
},
|
|
38
37
|
"./core": {
|
|
39
|
-
"types": "./core
|
|
38
|
+
"types": "./types/acorex-platform-core.d.ts",
|
|
40
39
|
"default": "./fesm2022/acorex-platform-core.mjs"
|
|
41
40
|
},
|
|
42
41
|
"./domain": {
|
|
43
|
-
"types": "./domain
|
|
42
|
+
"types": "./types/acorex-platform-domain.d.ts",
|
|
44
43
|
"default": "./fesm2022/acorex-platform-domain.mjs"
|
|
45
44
|
},
|
|
46
|
-
"./
|
|
47
|
-
"types": "./
|
|
48
|
-
"default": "./fesm2022/acorex-platform-
|
|
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"
|
|
45
|
+
"./layout/builder": {
|
|
46
|
+
"types": "./types/acorex-platform-layout-builder.d.ts",
|
|
47
|
+
"default": "./fesm2022/acorex-platform-layout-builder.mjs"
|
|
57
48
|
},
|
|
58
49
|
"./layout/components": {
|
|
59
|
-
"types": "./layout
|
|
50
|
+
"types": "./types/acorex-platform-layout-components.d.ts",
|
|
60
51
|
"default": "./fesm2022/acorex-platform-layout-components.mjs"
|
|
61
52
|
},
|
|
62
|
-
"./layout/builder": {
|
|
63
|
-
"types": "./layout/builder/index.d.ts",
|
|
64
|
-
"default": "./fesm2022/acorex-platform-layout-builder.mjs"
|
|
65
|
-
},
|
|
66
53
|
"./layout/designer": {
|
|
67
|
-
"types": "./layout
|
|
54
|
+
"types": "./types/acorex-platform-layout-designer.d.ts",
|
|
68
55
|
"default": "./fesm2022/acorex-platform-layout-designer.mjs"
|
|
69
56
|
},
|
|
70
57
|
"./layout/entity": {
|
|
71
|
-
"types": "./layout
|
|
58
|
+
"types": "./types/acorex-platform-layout-entity.d.ts",
|
|
72
59
|
"default": "./fesm2022/acorex-platform-layout-entity.mjs"
|
|
73
60
|
},
|
|
74
61
|
"./layout/views": {
|
|
75
|
-
"types": "./layout
|
|
62
|
+
"types": "./types/acorex-platform-layout-views.d.ts",
|
|
76
63
|
"default": "./fesm2022/acorex-platform-layout-views.mjs"
|
|
77
64
|
},
|
|
78
65
|
"./layout/widget-core": {
|
|
79
|
-
"types": "./layout
|
|
66
|
+
"types": "./types/acorex-platform-layout-widget-core.d.ts",
|
|
80
67
|
"default": "./fesm2022/acorex-platform-layout-widget-core.mjs"
|
|
81
68
|
},
|
|
82
69
|
"./layout/widgets": {
|
|
83
|
-
"types": "./layout
|
|
70
|
+
"types": "./types/acorex-platform-layout-widgets.d.ts",
|
|
84
71
|
"default": "./fesm2022/acorex-platform-layout-widgets.mjs"
|
|
85
72
|
},
|
|
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
|
+
},
|
|
86
81
|
"./themes/default": {
|
|
87
|
-
"types": "./themes
|
|
82
|
+
"types": "./types/acorex-platform-themes-default.d.ts",
|
|
88
83
|
"default": "./fesm2022/acorex-platform-themes-default.mjs"
|
|
89
84
|
},
|
|
90
85
|
"./themes/shared": {
|
|
91
|
-
"types": "./themes
|
|
86
|
+
"types": "./types/acorex-platform-themes-shared.d.ts",
|
|
92
87
|
"default": "./fesm2022/acorex-platform-themes-shared.mjs"
|
|
88
|
+
},
|
|
89
|
+
"./workflow": {
|
|
90
|
+
"types": "./types/acorex-platform-workflow.d.ts",
|
|
91
|
+
"default": "./fesm2022/acorex-platform-workflow.mjs"
|
|
93
92
|
}
|
|
94
|
-
}
|
|
93
|
+
},
|
|
94
|
+
"type": "module"
|
|
95
95
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { InjectionToken, TemplateRef, ViewContainerRef, ModuleWithProviders, Injector, Type } from '@angular/core';
|
|
3
|
-
import { AXPLogoConfig, AXPOptionsData, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviderContext } from '@acorex/platform/core';
|
|
3
|
+
import { AXPLogoConfig, AXPDataSourceDefinitionProvider, AXPDataSourceDefinition, AXPOptionsData, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviderContext } from '@acorex/platform/core';
|
|
4
4
|
import { CanActivateFn } from '@angular/router';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
|
|
@@ -107,6 +107,18 @@ interface AXPPermissionLoader {
|
|
|
107
107
|
}
|
|
108
108
|
declare const AXP_PERMISSION_LOADER: InjectionToken<AXPPermissionLoader>;
|
|
109
109
|
|
|
110
|
+
/**
|
|
111
|
+
* Registered permission definitions for select widgets via dataSource name {@link PERMISSION_DEFINITIONS_DATASOURCE_NAME}.
|
|
112
|
+
*/
|
|
113
|
+
declare const PERMISSION_DEFINITIONS_DATASOURCE_NAME = "platform-permission-definitions";
|
|
114
|
+
/**
|
|
115
|
+
* Data source definition for leaf permissions from {@link AXPPermissionDefinitionService#getGroups}.
|
|
116
|
+
*/
|
|
117
|
+
declare class AXPPermissionDefinitionsDataSourceDefinition implements AXPDataSourceDefinitionProvider {
|
|
118
|
+
private readonly permissionDefinitionService;
|
|
119
|
+
items(): Promise<AXPDataSourceDefinition[]>;
|
|
120
|
+
}
|
|
121
|
+
|
|
110
122
|
declare class AXPPermissionDefinitionProviderContext {
|
|
111
123
|
private builders;
|
|
112
124
|
addGroup(name: string, title: string, description?: string): AXPPermissionDefinitionGroupBuilder;
|
|
@@ -664,5 +676,5 @@ declare abstract class AXPLoginChallengeProvider {
|
|
|
664
676
|
*/
|
|
665
677
|
declare const AXP_LOGIN_CHALLENGE_PROVIDER: InjectionToken<AXPLoginChallengeProvider>;
|
|
666
678
|
|
|
667
|
-
export { AXPAuthGuard, AXPAuthModule, AXPAuthStrategy, AXPAuthStrategyRegistryService, AXPFeatureDirective, AXPFeatureGuard, AXPLoginChallengeComponentBase, AXPLoginChallengeProvider, AXPPermissionDefinitionBuilder, AXPPermissionDefinitionGroupBuilder, AXPPermissionDefinitionProviderContext, AXPPermissionDefinitionService, AXPPermissionDirective, AXPPermissionEvaluatorScopeProvider, AXPPermissionGuard, AXPSessionContext, AXPSessionService, AXPSessionStatus, AXPUnauthenticatedError, AXPUnauthorizedError, AXP_APPLICATION_LOADER, AXP_FEATURE_CHECKER, AXP_FEATURE_LOADER, AXP_LOGIN_CHALLENGE_PROVIDER, AXP_PERMISSION_CHECKER, AXP_PERMISSION_DEFINITION_PROVIDER, AXP_PERMISSION_LOADER, AXP_TENANT_LOADER, JwtUtil, PkceUtil, TimeUtil, initializeAppState };
|
|
679
|
+
export { AXPAuthGuard, AXPAuthModule, AXPAuthStrategy, AXPAuthStrategyRegistryService, AXPFeatureDirective, AXPFeatureGuard, AXPLoginChallengeComponentBase, AXPLoginChallengeProvider, AXPPermissionDefinitionBuilder, AXPPermissionDefinitionGroupBuilder, AXPPermissionDefinitionProviderContext, AXPPermissionDefinitionService, AXPPermissionDefinitionsDataSourceDefinition, AXPPermissionDirective, AXPPermissionEvaluatorScopeProvider, AXPPermissionGuard, AXPSessionContext, AXPSessionService, AXPSessionStatus, AXPUnauthenticatedError, AXPUnauthorizedError, AXP_APPLICATION_LOADER, AXP_FEATURE_CHECKER, AXP_FEATURE_LOADER, AXP_LOGIN_CHALLENGE_PROVIDER, AXP_PERMISSION_CHECKER, AXP_PERMISSION_DEFINITION_PROVIDER, AXP_PERMISSION_LOADER, AXP_TENANT_LOADER, JwtUtil, PERMISSION_DEFINITIONS_DATASOURCE_NAME, PkceUtil, TimeUtil, initializeAppState };
|
|
668
680
|
export type { AXPApplication, AXPApplicationLoader, AXPAuthModuleConfigs, AXPBaseCredentials, AXPChallengeCheckResult, AXPChallengeContentType, AXPEdition, AXPFeature, AXPFeatureChecker, AXPFeatureLoader, AXPLoginChallengeData, AXPPermission, AXPPermissionChecker, AXPPermissionDefinition, AXPPermissionDefinitionProvider, AXPPermissionGroupDefinition, AXPPermissionLoader, AXPSessionData, AXPSignInResult, AXPTenant, AXPTenantLoader, AXPTokenResult, AXPUser };
|
|
@@ -4,8 +4,8 @@ import { AXDataSourceOperator, AXStyleColorType, AXDataSourceFilterOption } from
|
|
|
4
4
|
import * as i2 from '@acorex/components/popup';
|
|
5
5
|
import { AXPopupSizeType, AXPopupService } from '@acorex/components/popup';
|
|
6
6
|
import * as i5 from '@acorex/platform/core';
|
|
7
|
-
import { AXPValueTransformerFunctions, AXPOptionsData, AXPExpression, AXPFilterDefinition, AXPMetaData, AXPSystemActionType, AXPValidationRules, AXPGridLayoutOptions, AXPLogoConfig, AXPFileListItem, AXPNavigateActionCommand, AXPExecuteCommand, AXPApplicationUserReference, AXPEntityReference, AXPPlatformScopeKey, AXPPlatformScope, AXPWidgetTriggers, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviderContext } from '@acorex/platform/core';
|
|
8
|
-
import { AXPWidgetTypesMap, AXPMetaDataDefinition, AXPWidgetNode } from '@acorex/platform/layout/widget-core';
|
|
7
|
+
import { AXPValueTransformerFunctions, AXPMultiLanguageString, AXPOptionsData, AXPExpression, AXPFilterDefinition, AXPMetaData, AXPSystemActionType, AXPValidationRules, AXPGridLayoutOptions, AXPLogoConfig, AXPFileListItem, AXPDataSourceDefinitionProvider, AXPDataSourceDefinition, AXPNavigateActionCommand, AXPExecuteCommand, AXPApplicationUserReference, AXPEntityReference, AXPPlatformScopeKey, AXPPlatformScope, AXPWidgetTriggers, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviderContext } from '@acorex/platform/core';
|
|
8
|
+
import { AXPWidgetTypesMap, AXPMetaDataDefinition, AXPWidgetNode, AXPWidgetProperty } from '@acorex/platform/layout/widget-core';
|
|
9
9
|
import * as i6 from '@angular/router';
|
|
10
10
|
import { Route, Routes } from '@angular/router';
|
|
11
11
|
import * as i1 from '@acorex/platform/workflow';
|
|
@@ -38,7 +38,6 @@ interface AXEntityPropertyWidget {
|
|
|
38
38
|
type: AXPWidgetTypesMap[keyof AXPWidgetTypesMap] | string;
|
|
39
39
|
path?: string;
|
|
40
40
|
id?: string;
|
|
41
|
-
formula?: string;
|
|
42
41
|
children?: AXEntityPropertyWidget[];
|
|
43
42
|
mode: 'view' | 'edit';
|
|
44
43
|
options?: Record<string, any>;
|
|
@@ -81,6 +80,7 @@ interface AXPEntityPropertyLayoutConfig extends AXPGridLayoutOptions {
|
|
|
81
80
|
visible?: boolean;
|
|
82
81
|
};
|
|
83
82
|
order?: number;
|
|
83
|
+
visible?: boolean | AXPExpression;
|
|
84
84
|
}
|
|
85
85
|
interface AXPEntityPropertyGroup {
|
|
86
86
|
id: string;
|
|
@@ -211,6 +211,8 @@ interface AXPCommandActionDisplay extends Partial<AXPCommandActionLook> {
|
|
|
211
211
|
}
|
|
212
212
|
interface AXPEntityAction extends AXPCommandActionDisplay {
|
|
213
213
|
scope: AXPEntityCommandScope;
|
|
214
|
+
/** Child actions for dropdown submenu */
|
|
215
|
+
items?: AXPEntityAction[];
|
|
214
216
|
}
|
|
215
217
|
interface AXPEntity {
|
|
216
218
|
plugins?: {
|
|
@@ -251,6 +253,7 @@ interface AXPEntity {
|
|
|
251
253
|
};
|
|
252
254
|
};
|
|
253
255
|
relatedEntities?: AXPRelatedEntity[];
|
|
256
|
+
pages?: AXPEntityPage[];
|
|
254
257
|
groups?: AXPEntityPropertyGroup[];
|
|
255
258
|
properties: AXPEntityProperty[];
|
|
256
259
|
columns?: AXPEntityTableColumn[];
|
|
@@ -304,25 +307,30 @@ interface AXPRelatedEntity {
|
|
|
304
307
|
entity: string;
|
|
305
308
|
title?: string;
|
|
306
309
|
icon?: string;
|
|
307
|
-
/**
|
|
308
|
-
* Either a list of property names, or full table column metadata (`AXPEntityTableColumn`).
|
|
309
|
-
* For table columns, use `options.visible` as boolean or expression string (evaluated on parent detail).
|
|
310
|
-
*/
|
|
311
310
|
columns?: string[] | AXPEntityTableColumn[];
|
|
312
311
|
properties?: string[];
|
|
312
|
+
excludeProperties?: string[];
|
|
313
313
|
layout?: {
|
|
314
314
|
type: 'tab-detail' | 'tab-list' | 'page-detail' | 'page-list' | 'merge-detail';
|
|
315
315
|
order?: number;
|
|
316
316
|
position?: 'before' | 'after' | 'middle';
|
|
317
317
|
};
|
|
318
318
|
conditions?: AXPQueryFilter[];
|
|
319
|
-
/**
|
|
320
|
-
* Optional toolbar filter definitions merged when the related list is built.
|
|
321
|
-
* Entries matching an existing property `field` override/extend that filter definition.
|
|
322
|
-
*/
|
|
323
319
|
customFilterDefinitions?: Partial<AXPFilterDefinition>[];
|
|
324
|
-
hidden?: boolean |
|
|
320
|
+
hidden?: boolean | AXPExpression;
|
|
325
321
|
actions?: AXPEntityAction[];
|
|
322
|
+
/**
|
|
323
|
+
* Controls inclusion on the host entity master **create** / **update** form.
|
|
324
|
+
* Defaults depend on layout:
|
|
325
|
+
* - **merge-detail**: omitted flags behave as **true** (opt-out with `false`).
|
|
326
|
+
* - **tab-list** / **page-list**: omitted flags behave as **false** (opt-in with `true`).
|
|
327
|
+
*/
|
|
328
|
+
appearOn?: {
|
|
329
|
+
/** Include on host create form (see defaults above per layout type). */
|
|
330
|
+
create?: boolean;
|
|
331
|
+
/** Include on host update form (see defaults above per layout type). */
|
|
332
|
+
update?: boolean;
|
|
333
|
+
};
|
|
326
334
|
/**
|
|
327
335
|
* Relationship-level persistence strategy for merge-detail data.
|
|
328
336
|
* Defaults:
|
|
@@ -341,8 +349,54 @@ interface AXPRelatedEntity {
|
|
|
341
349
|
cascade?: {
|
|
342
350
|
delete?: 'none' | 'orphans' | 'all';
|
|
343
351
|
};
|
|
352
|
+
foreignKeyField?: string;
|
|
344
353
|
};
|
|
345
354
|
}
|
|
355
|
+
interface AXPEntityPage {
|
|
356
|
+
/**
|
|
357
|
+
* Key to identify the component in the page component registry
|
|
358
|
+
*/
|
|
359
|
+
componentKey: string;
|
|
360
|
+
/**
|
|
361
|
+
* Property name to render when the page component displays an entity field (e.g. 'questions', 'attachments').
|
|
362
|
+
* Passed to the page component as pageConfig.field.
|
|
363
|
+
*/
|
|
364
|
+
field?: string;
|
|
365
|
+
/**
|
|
366
|
+
* Title of the page (displayed in navigation)
|
|
367
|
+
*/
|
|
368
|
+
title?: AXPMultiLanguageString;
|
|
369
|
+
/**
|
|
370
|
+
* Icon for the page (displayed in navigation)
|
|
371
|
+
*/
|
|
372
|
+
icon?: string;
|
|
373
|
+
/**
|
|
374
|
+
* Description of the page
|
|
375
|
+
*/
|
|
376
|
+
description?: AXPMultiLanguageString;
|
|
377
|
+
/**
|
|
378
|
+
* Layout configuration for page positioning
|
|
379
|
+
*/
|
|
380
|
+
layout?: {
|
|
381
|
+
/**
|
|
382
|
+
* Order of the page (lower numbers appear first)
|
|
383
|
+
*/
|
|
384
|
+
order?: number;
|
|
385
|
+
/**
|
|
386
|
+
* Position relative to the main page
|
|
387
|
+
*/
|
|
388
|
+
position?: 'before' | 'after' | 'middle';
|
|
389
|
+
};
|
|
390
|
+
/**
|
|
391
|
+
* Visibility condition (boolean or expression string)
|
|
392
|
+
*/
|
|
393
|
+
hidden?: boolean | string;
|
|
394
|
+
/**
|
|
395
|
+
* Permissions required to view this page
|
|
396
|
+
*/
|
|
397
|
+
permissions?: string[];
|
|
398
|
+
options?: Record<string, any>;
|
|
399
|
+
}
|
|
346
400
|
interface AXPCategoryEntity {
|
|
347
401
|
entity: string;
|
|
348
402
|
title?: string;
|
|
@@ -359,18 +413,18 @@ interface AXPEntityVersionHistory {
|
|
|
359
413
|
interface AXPAggregate {
|
|
360
414
|
id: string;
|
|
361
415
|
name: string;
|
|
362
|
-
title:
|
|
416
|
+
title: AXPMultiLanguageString;
|
|
363
417
|
entities: AXPEntity[];
|
|
364
418
|
}
|
|
365
419
|
interface AXPModule {
|
|
366
420
|
name: string;
|
|
367
|
-
title:
|
|
421
|
+
title: AXPMultiLanguageString;
|
|
368
422
|
aggregates: AXPAggregate[];
|
|
369
423
|
relationships?: AXPRelationship[];
|
|
370
424
|
}
|
|
371
425
|
interface AXPApplication {
|
|
372
426
|
name: string;
|
|
373
|
-
title:
|
|
427
|
+
title: AXPMultiLanguageString;
|
|
374
428
|
modules: AXPModule[];
|
|
375
429
|
}
|
|
376
430
|
interface AXPEntityMasterLayoutView {
|
|
@@ -378,12 +432,23 @@ interface AXPEntityMasterLayoutView {
|
|
|
378
432
|
sections: AXPEntitySectionView[];
|
|
379
433
|
properties?: AXPEntityPropertyView[];
|
|
380
434
|
}
|
|
435
|
+
/** Quick create config for lookup widgets (+ button) - uses subset of create form */
|
|
436
|
+
interface AXPEntityQuickCreate {
|
|
437
|
+
enabled?: boolean;
|
|
438
|
+
properties?: string[];
|
|
439
|
+
layout?: {
|
|
440
|
+
size?: AXPopupSizeType;
|
|
441
|
+
};
|
|
442
|
+
excludeProperties?: string[];
|
|
443
|
+
}
|
|
381
444
|
interface AXPEntityMasterCreateLayoutView extends AXPEntityMasterLayoutView {
|
|
382
445
|
steps?: {
|
|
383
446
|
id: string;
|
|
384
447
|
title: string;
|
|
385
448
|
description?: string;
|
|
386
449
|
};
|
|
450
|
+
/** Quick create config for lookup widgets - uses subset of create form */
|
|
451
|
+
quickCreate?: AXPEntityQuickCreate;
|
|
387
452
|
}
|
|
388
453
|
interface AXPEntityMasterUpdateLayoutView extends AXPEntityMasterLayoutView {
|
|
389
454
|
}
|
|
@@ -430,6 +495,51 @@ interface AXPQuerySort {
|
|
|
430
495
|
name: string;
|
|
431
496
|
dir: 'asc' | 'desc';
|
|
432
497
|
}
|
|
498
|
+
declare enum AXPEntityType {
|
|
499
|
+
Entity = 0,
|
|
500
|
+
AggregateRoot = 1,
|
|
501
|
+
ValueObject = 2
|
|
502
|
+
}
|
|
503
|
+
interface AXPEntityV2 {
|
|
504
|
+
version: 2;
|
|
505
|
+
module: string;
|
|
506
|
+
aggregate: string;
|
|
507
|
+
name: string;
|
|
508
|
+
type: AXPEntityType;
|
|
509
|
+
icon?: string;
|
|
510
|
+
title: string;
|
|
511
|
+
description?: string;
|
|
512
|
+
plugins?: {
|
|
513
|
+
name: string;
|
|
514
|
+
options?: AXPOptionsData;
|
|
515
|
+
}[];
|
|
516
|
+
pages?: AXPEntityPage[];
|
|
517
|
+
groups?: AXPEntityPropertyGroup[];
|
|
518
|
+
properties: AXPEntityProperty[];
|
|
519
|
+
formats: {
|
|
520
|
+
individual: string;
|
|
521
|
+
plural: string;
|
|
522
|
+
lookup?: string;
|
|
523
|
+
displayName?: string;
|
|
524
|
+
searchResult?: {
|
|
525
|
+
title: string;
|
|
526
|
+
description?: string;
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
columns?: AXPEntityTableColumn[];
|
|
530
|
+
validations?: AXPValidationRules;
|
|
531
|
+
interfaces?: {
|
|
532
|
+
master?: {
|
|
533
|
+
single?: AXPEntityMasterSingleLayoutView;
|
|
534
|
+
list?: AXPEntityMasterListView;
|
|
535
|
+
create?: AXPEntityMasterCreateLayoutView;
|
|
536
|
+
update?: AXPEntityMasterUpdateLayoutView;
|
|
537
|
+
};
|
|
538
|
+
detail?: {
|
|
539
|
+
list?: AXPEntityDetailListView;
|
|
540
|
+
};
|
|
541
|
+
};
|
|
542
|
+
}
|
|
433
543
|
|
|
434
544
|
interface AXPFilterOperator {
|
|
435
545
|
name: string;
|
|
@@ -570,7 +680,8 @@ declare enum AXPCommonSettings {
|
|
|
570
680
|
ShowCategoryColumnsByDefault = "Common:Setting:Entity.ShowCategoryColumnsByDefault",
|
|
571
681
|
ApplyLayoutOrdering = "Common:Setting:Entity.ApplyLayoutOrdering",
|
|
572
682
|
RedirectToDetailsAfterCreate = "Common:Setting:Entity.RedirectToDetailsAfterCreate",
|
|
573
|
-
ShowPageBadge = "Common:Setting:Entity.ShowPageBadge"
|
|
683
|
+
ShowPageBadge = "Common:Setting:Entity.ShowPageBadge",
|
|
684
|
+
DebugMode = "PlatformDevTools:Setting:Developer.DebugMode"
|
|
574
685
|
}
|
|
575
686
|
|
|
576
687
|
declare const AXP_ROOT_CONFIG_TOKEN: InjectionToken<AXPRootConfigs>;
|
|
@@ -1150,16 +1261,23 @@ declare class AXPStickyDirective {
|
|
|
1150
1261
|
private _isSticky;
|
|
1151
1262
|
get isSticky(): boolean;
|
|
1152
1263
|
set isSticky(value: boolean);
|
|
1153
|
-
private topOffset;
|
|
1154
1264
|
private parentElement;
|
|
1155
1265
|
private targetElement;
|
|
1156
1266
|
private mutationObserver;
|
|
1267
|
+
private readonly onWindowResize;
|
|
1157
1268
|
stickyParent: string | HTMLElement;
|
|
1158
1269
|
stickyTarget: string;
|
|
1159
1270
|
constructor(element: ElementRef<HTMLDivElement>, renderer: Renderer2, zone: NgZone, cdr: ChangeDetectorRef);
|
|
1160
1271
|
ngAfterViewInit(): void;
|
|
1161
1272
|
private initSticky;
|
|
1162
|
-
private
|
|
1273
|
+
private getScrollTop;
|
|
1274
|
+
/**
|
|
1275
|
+
* Toggle stuck styling only while this element is visually pinned (matches `position: sticky; top: 0`).
|
|
1276
|
+
* Scroll-offset thresholds would stay true for every section already passed, so multiple stacked stickies
|
|
1277
|
+
* would all keep `--stuck`; geometry fixes that.
|
|
1278
|
+
*/
|
|
1279
|
+
private computeShouldStick;
|
|
1280
|
+
private applyStickyStateFromScrollPosition;
|
|
1163
1281
|
private onParentScroll;
|
|
1164
1282
|
private toggleStickyClasses;
|
|
1165
1283
|
ngOnDestroy(): void;
|
|
@@ -1167,6 +1285,18 @@ declare class AXPStickyDirective {
|
|
|
1167
1285
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AXPStickyDirective, "[axpSticky]", ["axpSticky"], { "stickyClass": { "alias": "axpSticky"; "required": false; }; "stickyOffset": { "alias": "stickyOffset"; "required": false; }; "stickyParent": { "alias": "stickyParent"; "required": false; }; "stickyTarget": { "alias": "stickyTarget"; "required": false; }; }, { "isStickyChange": "isStickyChange"; }, never, never, true, never>;
|
|
1168
1286
|
}
|
|
1169
1287
|
|
|
1288
|
+
/**
|
|
1289
|
+
* Registered menu items (raw tree flattened) for select widgets via dataSource name {@link MENU_ITEMS_DATASOURCE_NAME}.
|
|
1290
|
+
*/
|
|
1291
|
+
declare const MENU_ITEMS_DATASOURCE_NAME = "platform-menu-items";
|
|
1292
|
+
/**
|
|
1293
|
+
* Data source definition for menu items from {@link AXPMenuProviderService#rawItems}.
|
|
1294
|
+
*/
|
|
1295
|
+
declare class AXPMenuItemsDataSourceDefinition implements AXPDataSourceDefinitionProvider {
|
|
1296
|
+
private readonly menuProviderService;
|
|
1297
|
+
items(): Promise<AXPDataSourceDefinition[]>;
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1170
1300
|
type AXPMenuInsertion = 'before' | 'after' | 'inside';
|
|
1171
1301
|
type AXPMenuType = 'menu' | 'group' | 'break';
|
|
1172
1302
|
type AXPMenuItemCommand = AXPNavigateActionCommand<'modal' | 'router'> | AXPExecuteCommand;
|
|
@@ -1657,11 +1787,39 @@ declare class AXPSearchService {
|
|
|
1657
1787
|
private providers;
|
|
1658
1788
|
private definitionService;
|
|
1659
1789
|
private formatService;
|
|
1790
|
+
private translationService;
|
|
1660
1791
|
search(text: string): Promise<AXPSearchDisplayGroupResult[]>;
|
|
1661
1792
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSearchService, never>;
|
|
1662
1793
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPSearchService>;
|
|
1663
1794
|
}
|
|
1664
1795
|
|
|
1796
|
+
/**
|
|
1797
|
+
* Shared utility for creating Entity:Create command options used in search command providers.
|
|
1798
|
+
* Use with command: { name: 'Entity:Create', options: createEntityCommandOptions(...) }
|
|
1799
|
+
*/
|
|
1800
|
+
declare function createEntityCommandOptions(entityKey: string, entityInfo: {
|
|
1801
|
+
name: string;
|
|
1802
|
+
module: string;
|
|
1803
|
+
title: string;
|
|
1804
|
+
}): Record<string, unknown>;
|
|
1805
|
+
/**
|
|
1806
|
+
* Creates a search command for "Create {Entity}" with consistent i18n pattern.
|
|
1807
|
+
* Use titleKey/descriptionKey from module (e.g. @module:entity.permissions.create.title).
|
|
1808
|
+
* Standard: "Create {Entity}" for title, "Create new {entities}" for description.
|
|
1809
|
+
*/
|
|
1810
|
+
declare function createEntitySearchCommand(config: {
|
|
1811
|
+
id: string;
|
|
1812
|
+
entityKey: string;
|
|
1813
|
+
entityInfo: {
|
|
1814
|
+
name: string;
|
|
1815
|
+
module: string;
|
|
1816
|
+
title: string;
|
|
1817
|
+
};
|
|
1818
|
+
titleKey: string;
|
|
1819
|
+
descriptionKey?: string;
|
|
1820
|
+
icon: string;
|
|
1821
|
+
}): AXPSearchResult;
|
|
1822
|
+
|
|
1665
1823
|
declare class AXPMenuSearchDefinitionProvider implements AXPSearchDefinitionProvider {
|
|
1666
1824
|
provide(context: AXPSearchDefinitionProviderContext): Promise<void>;
|
|
1667
1825
|
}
|
|
@@ -1734,6 +1892,61 @@ declare abstract class AXPLockService {
|
|
|
1734
1892
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPLockService>;
|
|
1735
1893
|
}
|
|
1736
1894
|
|
|
1895
|
+
/**
|
|
1896
|
+
* Synchronous access to default multi-language behavior for named entity fields and widget
|
|
1897
|
+
* property bindings. Mirrors {@link AXPLayoutOrderingConfigService}: avoids async in entity
|
|
1898
|
+
* modifiers and startup deadlocks.
|
|
1899
|
+
*/
|
|
1900
|
+
declare class AXPDefaultMultiLanguageConfigService {
|
|
1901
|
+
private readonly settingsService;
|
|
1902
|
+
private readonly _applyDefault;
|
|
1903
|
+
private syncScheduled;
|
|
1904
|
+
constructor();
|
|
1905
|
+
getApplyDefaultMultiLanguage(): boolean;
|
|
1906
|
+
private syncFromSettings;
|
|
1907
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPDefaultMultiLanguageConfigService, never>;
|
|
1908
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPDefaultMultiLanguageConfigService>;
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
/**
|
|
1912
|
+
* Shared multi-language defaults for entity properties and widget property bindings.
|
|
1913
|
+
*
|
|
1914
|
+
* **Circular dependencies:** use only `import type` for `AXPWidgetProperty` and
|
|
1915
|
+
* `AXPEntityProperty` so this module has no runtime imports from widget-core or application
|
|
1916
|
+
* types — `@acorex/platform/layout/widget-core` does not import `@acorex/platform/common`.
|
|
1917
|
+
*/
|
|
1918
|
+
|
|
1919
|
+
/**
|
|
1920
|
+
* Widget types that support the multiLanguage option (text / rich text editors).
|
|
1921
|
+
*/
|
|
1922
|
+
declare const MULTILANGUAGE_CAPABLE_WIDGET_TYPES: Set<string>;
|
|
1923
|
+
/**
|
|
1924
|
+
* Common property names / binding path segments that are usually translatable when the feature is
|
|
1925
|
+
* enabled in settings. Explicit `multiLanguage` on the property still wins.
|
|
1926
|
+
*/
|
|
1927
|
+
declare const DEFAULT_MULTILANGUAGE_FIELD_NAMES: Set<string>;
|
|
1928
|
+
declare function shouldApplyDefaultMultiLanguageToEntityProperty(prop: AXPEntityProperty): boolean;
|
|
1929
|
+
declare function shouldApplyDefaultMultiLanguageToWidgetProperty(prop: AXPWidgetProperty): boolean;
|
|
1930
|
+
/**
|
|
1931
|
+
* Leaf widget nodes in entity `schema.interface` trees (e.g. GridLayout → RichText under `pre` /
|
|
1932
|
+
* `post`) — same path/type rules as {@link shouldApplyDefaultMultiLanguageToWidgetProperty}, without
|
|
1933
|
+
* `schema.dataType` (nodes do not carry entity schema).
|
|
1934
|
+
*/
|
|
1935
|
+
declare function shouldApplyDefaultMultiLanguageToWidgetNode(node: AXPWidgetNode): boolean;
|
|
1936
|
+
/**
|
|
1937
|
+
* When {@link AXPDefaultMultiLanguageConfigService#getApplyDefaultMultiLanguage} is true, sets
|
|
1938
|
+
* `options.multiLanguage` on eligible editor leaves inside an entity property's widget tree
|
|
1939
|
+
* (including nested layouts). Used by entity middleware so object fields (e.g. `pre`, `post`) are
|
|
1940
|
+
* covered, not only top-level string properties.
|
|
1941
|
+
*/
|
|
1942
|
+
declare function withDefaultMultiLanguageOnWidgetNodeTree(root: AXPWidgetNode | undefined | null, applyDefault: boolean): AXPWidgetNode | undefined | null;
|
|
1943
|
+
/**
|
|
1944
|
+
* When {@link AXPDefaultMultiLanguageConfigService#getApplyDefaultMultiLanguage} is true, sets
|
|
1945
|
+
* `schema.interface.options.multiLanguage` for eligible string widget properties (same rules as
|
|
1946
|
+
* entity middleware), unless the property already specifies `multiLanguage`.
|
|
1947
|
+
*/
|
|
1948
|
+
declare function withDefaultMultiLanguageOnWidgetProperty(prop: AXPWidgetProperty, applyDefault: boolean): AXPWidgetProperty;
|
|
1949
|
+
|
|
1737
1950
|
interface AXPSettingValueProvider {
|
|
1738
1951
|
get scope(): AXPPlatformScope;
|
|
1739
1952
|
load(): Promise<AXPSettingValue[]>;
|
|
@@ -1906,9 +2119,17 @@ declare class ScopedSettingService {
|
|
|
1906
2119
|
}
|
|
1907
2120
|
|
|
1908
2121
|
/**
|
|
1909
|
-
*
|
|
1910
|
-
*
|
|
1911
|
-
|
|
2122
|
+
* Exposes platform settings in expression strings, e.g.
|
|
2123
|
+
* `{{ settings.get('Common:Setting:Entity.ShowPageBadge') }}`.
|
|
2124
|
+
*/
|
|
2125
|
+
declare class AXPSettingsEvaluatorScopeProvider implements AXPExpressionEvaluatorScopeProvider {
|
|
2126
|
+
private readonly settingsService;
|
|
2127
|
+
provide(context: AXPExpressionEvaluatorScopeProviderContext): Promise<void>;
|
|
2128
|
+
}
|
|
2129
|
+
|
|
2130
|
+
/**
|
|
2131
|
+
* Regional and locale-related setting keys used by platform widgets and components.
|
|
2132
|
+
* Most values use the `LocaleManagement:Setting:Regional.*` prefix; definitions live in the locale-management module where applicable.
|
|
1912
2133
|
*/
|
|
1913
2134
|
declare enum AXPRegionalSetting {
|
|
1914
2135
|
LocaleProfile = "LocaleManagement:Setting:Regional.LocaleProfile",
|
|
@@ -1930,7 +2151,9 @@ declare enum AXPRegionalSetting {
|
|
|
1930
2151
|
WeightUnits = "LocaleManagement:Setting:Regional.WeightUnits",
|
|
1931
2152
|
VolumeUnits = "LocaleManagement:Setting:Regional.VolumeUnits",
|
|
1932
2153
|
SpeedUnits = "LocaleManagement:Setting:Regional.SpeedUnits",
|
|
1933
|
-
AreaUnits = "LocaleManagement:Setting:Regional.AreaUnits"
|
|
2154
|
+
AreaUnits = "LocaleManagement:Setting:Regional.AreaUnits",
|
|
2155
|
+
/** Default multi-language behavior for standard text field names; defined in locale-management `AXMRegionalSettingProvider`. */
|
|
2156
|
+
MultiLanguageSupport = "LocaleManagement:Setting:Regional.MultiLanguageSupport"
|
|
1934
2157
|
}
|
|
1935
2158
|
|
|
1936
2159
|
/**
|
|
@@ -2138,6 +2361,10 @@ declare class AXPStatusDefinitionProviderService {
|
|
|
2138
2361
|
* Checks if the transition exists in the provider's transitions list
|
|
2139
2362
|
*/
|
|
2140
2363
|
private isValidTransition;
|
|
2364
|
+
/**
|
|
2365
|
+
* Best-effort plain string for {@link Error} messages (no i18n lookup).
|
|
2366
|
+
*/
|
|
2367
|
+
private commandMessageTextForError;
|
|
2141
2368
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPStatusDefinitionProviderService, never>;
|
|
2142
2369
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPStatusDefinitionProviderService>;
|
|
2143
2370
|
}
|
|
@@ -2541,6 +2768,16 @@ interface AXPCurrency {
|
|
|
2541
2768
|
format: string;
|
|
2542
2769
|
}
|
|
2543
2770
|
|
|
2771
|
+
/**
|
|
2772
|
+
* Narrow API for reading app locale profiles and active languages.
|
|
2773
|
+
* Implemented by locale-management; consumed by platform layout without importing the module (avoids circular deps).
|
|
2774
|
+
*/
|
|
2775
|
+
interface AXPLocaleManagementPort {
|
|
2776
|
+
getLocaleProfiles(): Promise<AXPLocaleProfile[]>;
|
|
2777
|
+
getLanguages(): Promise<AXPLanguage[]>;
|
|
2778
|
+
}
|
|
2779
|
+
declare const AXP_LOCALE_MANAGEMENT_PORT: InjectionToken<AXPLocaleManagementPort>;
|
|
2780
|
+
|
|
2544
2781
|
interface AXPVersionStream {
|
|
2545
2782
|
id: string;
|
|
2546
2783
|
entityType: string;
|
|
@@ -2694,5 +2931,5 @@ declare class AXMWorkflowErrorHandler implements AXPErrorHandler {
|
|
|
2694
2931
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMWorkflowErrorHandler>;
|
|
2695
2932
|
}
|
|
2696
2933
|
|
|
2697
|
-
export { ALL_DEFAULT_OPERATORS, AXMWorkflowErrorHandler, AXPAppVersionService, AXPCleanNestedFilters, AXPClipBoardService, AXPCommonModule, AXPCommonSettings, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataProvider, AXPDebugService, AXPDialogConfirmAction, AXPEntityCommandScope, AXPEntityQueryType, AXPErrorHandlerRegistryService, AXPExportService, AXPFileActionsService, AXPFileStorageService, AXPFileStorageStatus, AXPFileTypeProviderService, AXPFilterOperatorMiddlewareService, AXPFilterOperatorMiddlewareServiceImpl, AXPFooterTextSlotComponent, AXPGlobalErrorHandler, AXPHomePageModule, AXPHomePageService, AXPLockService, AXPMenuMiddlewareRegistry, AXPMenuProviderService, AXPMenuSearchDefinitionProvider, AXPMenuSearchProvider, AXPMenuService, AXPMenuVisibilityService, AXPNavBarSlotComponent, AXPNavigateWorkflow, AXPPlatformDefaultConfigs, AXPRedirectEvent, AXPRefreshEvent, AXPRegionalSetting, AXPRelationshipCardinality, AXPRelationshipKind, AXPReloadAction, AXPReloadEvent, AXPSearchCommandProvider, AXPSearchDefinitionActionBuilder, AXPSearchDefinitionBuilder, AXPSearchDefinitionProviderContext, AXPSearchDefinitionProviderService, AXPSearchService, AXPSettingDefaultValuesAggregatorService, AXPSettingDefinitionGroupBuilder, AXPSettingDefinitionProviderContext, AXPSettingDefinitionProviderService, AXPSettingDefinitionSectionBuilder, AXPSettingsService, AXPStatusDefinitionProviderService, AXPStatusProvider, AXPStickyDirective, AXPSystemStatusType, AXPSystemStatuses, AXPToastAction, AXPTokenDefinitionService, AXPTokenEvaluatorScopeProvider, AXPVersioningService, AXPWorkflowNavigateAction, AXPWorkflowRouterNavigateAction, AXP_APP_VERSION_PROVIDER, AXP_FILE_ACTION_PROVIDER, AXP_FILE_TYPE_INFO_PROVIDER, AXP_HOME_PAGES, AXP_HOME_PAGE_DEFAULT_KEY, AXP_MENU_MIDDLEWARE, AXP_MENU_PROVIDER, AXP_PLATFORM_CONFIG_TOKEN, AXP_ROOT_CONFIG_TOKEN, AXP_SEARCH_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFAULT_VALUES_PROVIDERS, AXP_SETTING_DEFINITION_PROVIDER, AXP_SETTING_VALUE_PROVIDER, AXP_STATUS_PROVIDERS, AXP_TOKEN_DEFINITION_PROVIDER, AXVChangeType, BETWEEN_OPER, BOOLEAN_OPERATORS, CONTAINS_OPER, DATE_OPERATORS, ENDS_WITH_OPER, ENVIRONMENT, EQ_OPER, GTE_OPER, GT_OPER, IN_OPER, IS_EMPTY_OPER, IS_NOT_EMPTY_OPER, LTE_OPER, LT_OPER, NOT_CONTAINS_OPER, NOT_EQ_OPER, NUMBER_OPERATORS, STARTS_WITH_OPER, STRING_OPERATORS, UploadFromComputerActionProvider, configPlatform, createAllQueryView, createMenuContext, createMenuMiddleware, createQueryView, getEntityInfo, getStatusInfo, getSystemStatus, provideDynamicHomePage, provideMenuMiddleware, resolveStatusLook, systemStatusToDefinition };
|
|
2698
|
-
export type { AXCFileUploaderAction, AXCFileUploaderActionsPayload, AXCFileUploaderCapabilities, AXEntityPropertyWidget, AXPAggregate, AXPAppVersion, AXPAppVersionProvider, AXPApplication, AXPCategoryEntity, AXPCommandActionCallback, AXPCommandActionDisplay, AXPCommandActionLook, AXPCommandActionPriority, AXPCommandActionType, AXPCommonModuleConfigs, AXPCurrency, AXPDomToImageOptions, AXPEntity, AXPEntityAction, AXPEntityCommand, AXPEntityDetailListView, AXPEntityMasterCreateLayoutView, AXPEntityMasterLayoutView, AXPEntityMasterListView, AXPEntityMasterSingleLayoutView, AXPEntityMasterUpdateLayoutView, AXPEntityProperty, AXPEntityPropertyCreateView, AXPEntityPropertyGroup, AXPEntityPropertyLayoutConfig, AXPEntityPropertyUpdateView, AXPEntityPropertyView, AXPEntityQuery, AXPEntitySectionView, AXPEntityTableColumn, AXPEntityVersionHistory, AXPErrorHandler, AXPFileActionProvider, AXPFileActionProviderToken, AXPFileExtension, AXPFileManyStorageInfo, AXPFileStorageCreateRequest, AXPFileStorageFindRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileType, AXPFileTypeInfoProvider, AXPFilterOperator, AXPGeoLocation, AXPGroupSearchResult, AXPHomePageDefinition, AXPLanguage, AXPLocaleProfile, AXPLockGetInfoRequest, AXPLockInfo, AXPLockRequest, AXPLockType, AXPMenuFinderResult, AXPMenuInsertion, AXPMenuItem, AXPMenuItemCommand, AXPMenuItemFinder, AXPMenuItemWithParent, AXPMenuMiddleware, AXPMenuMiddlewareContext, AXPMenuMiddlewareProvider, AXPMenuProvider, AXPMenuProviderContext, AXPMenuType, AXPModule, AXPPlatformConfigs, AXPQueryFilter, AXPQuerySort, AXPQueryView, AXPRelatedEntity, AXPRelationship, AXPRootConfigs, AXPSearchAction, AXPSearchDefinition, AXPSearchDefinitionDisplayFormat, AXPSearchDefinitionProvider, AXPSearchDisplayGroupResult, AXPSearchDisplayResult, AXPSearchDisplayResultForSave, AXPSearchParentResult, AXPSearchProvider, AXPSearchResult, AXPSettingChangedEvent, AXPSettingDefaultValuesProvider, AXPSettingDefinition, AXPSettingDefinitionGroup, AXPSettingDefinitionProvider, AXPSettingDefinitionSection, AXPSettingValue, AXPSettingValueProvider, AXPSettingsServiceInterface, AXPStatusDefinition, AXPStatusTransition, AXPTimeZone, AXPTokenDefinition, AXPTokenDefinitionProvider, AXPTokenDefinitionProviderToken, AXPUnLockRequest, AXPVersionChange, AXPVersionEntry, AXPVersionStream, CanonicalChange, CanonicalChangeOp, VersionedFileInfo };
|
|
2934
|
+
export { ALL_DEFAULT_OPERATORS, AXMWorkflowErrorHandler, AXPAppVersionService, AXPCleanNestedFilters, AXPClipBoardService, AXPCommonModule, AXPCommonSettings, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataProvider, AXPDebugService, AXPDefaultMultiLanguageConfigService, AXPDialogConfirmAction, AXPEntityCommandScope, AXPEntityQueryType, AXPEntityType, AXPErrorHandlerRegistryService, AXPExportService, AXPFileActionsService, AXPFileStorageService, AXPFileStorageStatus, AXPFileTypeProviderService, AXPFilterOperatorMiddlewareService, AXPFilterOperatorMiddlewareServiceImpl, AXPFooterTextSlotComponent, AXPGlobalErrorHandler, AXPHomePageModule, AXPHomePageService, AXPLockService, AXPMenuItemsDataSourceDefinition, AXPMenuMiddlewareRegistry, AXPMenuProviderService, AXPMenuSearchDefinitionProvider, AXPMenuSearchProvider, AXPMenuService, AXPMenuVisibilityService, AXPNavBarSlotComponent, AXPNavigateWorkflow, AXPPlatformDefaultConfigs, AXPRedirectEvent, AXPRefreshEvent, AXPRegionalSetting, AXPRelationshipCardinality, AXPRelationshipKind, AXPReloadAction, AXPReloadEvent, AXPSearchCommandProvider, AXPSearchDefinitionActionBuilder, AXPSearchDefinitionBuilder, AXPSearchDefinitionProviderContext, AXPSearchDefinitionProviderService, AXPSearchService, AXPSettingDefaultValuesAggregatorService, AXPSettingDefinitionGroupBuilder, AXPSettingDefinitionProviderContext, AXPSettingDefinitionProviderService, AXPSettingDefinitionSectionBuilder, AXPSettingsEvaluatorScopeProvider, AXPSettingsService, AXPStatusDefinitionProviderService, AXPStatusProvider, AXPStickyDirective, AXPSystemStatusType, AXPSystemStatuses, AXPToastAction, AXPTokenDefinitionService, AXPTokenEvaluatorScopeProvider, AXPVersioningService, AXPWorkflowNavigateAction, AXPWorkflowRouterNavigateAction, AXP_APP_VERSION_PROVIDER, AXP_FILE_ACTION_PROVIDER, AXP_FILE_TYPE_INFO_PROVIDER, AXP_HOME_PAGES, AXP_HOME_PAGE_DEFAULT_KEY, AXP_LOCALE_MANAGEMENT_PORT, AXP_MENU_MIDDLEWARE, AXP_MENU_PROVIDER, AXP_PLATFORM_CONFIG_TOKEN, AXP_ROOT_CONFIG_TOKEN, AXP_SEARCH_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFAULT_VALUES_PROVIDERS, AXP_SETTING_DEFINITION_PROVIDER, AXP_SETTING_VALUE_PROVIDER, AXP_STATUS_PROVIDERS, AXP_TOKEN_DEFINITION_PROVIDER, AXVChangeType, BETWEEN_OPER, BOOLEAN_OPERATORS, CONTAINS_OPER, DATE_OPERATORS, DEFAULT_MULTILANGUAGE_FIELD_NAMES, ENDS_WITH_OPER, ENVIRONMENT, EQ_OPER, GTE_OPER, GT_OPER, IN_OPER, IS_EMPTY_OPER, IS_NOT_EMPTY_OPER, LTE_OPER, LT_OPER, MENU_ITEMS_DATASOURCE_NAME, MULTILANGUAGE_CAPABLE_WIDGET_TYPES, NOT_CONTAINS_OPER, NOT_EQ_OPER, NUMBER_OPERATORS, STARTS_WITH_OPER, STRING_OPERATORS, UploadFromComputerActionProvider, configPlatform, createAllQueryView, createEntityCommandOptions, createEntitySearchCommand, createMenuContext, createMenuMiddleware, createQueryView, getEntityInfo, getStatusInfo, getSystemStatus, provideDynamicHomePage, provideMenuMiddleware, resolveStatusLook, shouldApplyDefaultMultiLanguageToEntityProperty, shouldApplyDefaultMultiLanguageToWidgetNode, shouldApplyDefaultMultiLanguageToWidgetProperty, systemStatusToDefinition, withDefaultMultiLanguageOnWidgetNodeTree, withDefaultMultiLanguageOnWidgetProperty };
|
|
2935
|
+
export type { AXCFileUploaderAction, AXCFileUploaderActionsPayload, AXCFileUploaderCapabilities, AXEntityPropertyWidget, AXPAggregate, AXPAppVersion, AXPAppVersionProvider, AXPApplication, AXPCategoryEntity, AXPCommandActionCallback, AXPCommandActionDisplay, AXPCommandActionLook, AXPCommandActionPriority, AXPCommandActionType, AXPCommonModuleConfigs, AXPCurrency, AXPDomToImageOptions, AXPEntity, AXPEntityAction, AXPEntityCommand, AXPEntityDetailListView, AXPEntityMasterCreateLayoutView, AXPEntityMasterLayoutView, AXPEntityMasterListView, AXPEntityMasterSingleLayoutView, AXPEntityMasterUpdateLayoutView, AXPEntityPage, AXPEntityProperty, AXPEntityPropertyCreateView, AXPEntityPropertyGroup, AXPEntityPropertyLayoutConfig, AXPEntityPropertyUpdateView, AXPEntityPropertyView, AXPEntityQuery, AXPEntityQuickCreate, AXPEntitySectionView, AXPEntityTableColumn, AXPEntityV2, AXPEntityVersionHistory, AXPErrorHandler, AXPFileActionProvider, AXPFileActionProviderToken, AXPFileExtension, AXPFileManyStorageInfo, AXPFileStorageCreateRequest, AXPFileStorageFindRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileType, AXPFileTypeInfoProvider, AXPFilterOperator, AXPGeoLocation, AXPGroupSearchResult, AXPHomePageDefinition, AXPLanguage, AXPLocaleManagementPort, AXPLocaleProfile, AXPLockGetInfoRequest, AXPLockInfo, AXPLockRequest, AXPLockType, AXPMenuFinderResult, AXPMenuInsertion, AXPMenuItem, AXPMenuItemCommand, AXPMenuItemFinder, AXPMenuItemWithParent, AXPMenuMiddleware, AXPMenuMiddlewareContext, AXPMenuMiddlewareProvider, AXPMenuProvider, AXPMenuProviderContext, AXPMenuType, AXPModule, AXPPlatformConfigs, AXPQueryFilter, AXPQuerySort, AXPQueryView, AXPRelatedEntity, AXPRelationship, AXPRootConfigs, AXPSearchAction, AXPSearchDefinition, AXPSearchDefinitionDisplayFormat, AXPSearchDefinitionProvider, AXPSearchDisplayGroupResult, AXPSearchDisplayResult, AXPSearchDisplayResultForSave, AXPSearchParentResult, AXPSearchProvider, AXPSearchResult, AXPSettingChangedEvent, AXPSettingDefaultValuesProvider, AXPSettingDefinition, AXPSettingDefinitionGroup, AXPSettingDefinitionProvider, AXPSettingDefinitionSection, AXPSettingValue, AXPSettingValueProvider, AXPSettingsServiceInterface, AXPStatusDefinition, AXPStatusTransition, AXPTimeZone, AXPTokenDefinition, AXPTokenDefinitionProvider, AXPTokenDefinitionProviderToken, AXPUnLockRequest, AXPVersionChange, AXPVersionEntry, AXPVersionStream, CanonicalChange, CanonicalChangeOp, VersionedFileInfo };
|