@acorex/platform 21.0.0-next.16 → 21.0.0-next.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/index.d.ts +10 -1
- package/core/index.d.ts +1 -1
- package/fesm2022/{acorex-platform-common-common-settings.provider-BwBLG0Hl.mjs → acorex-platform-common-common-settings.provider-gyb6ohAE.mjs} +15 -1
- package/fesm2022/acorex-platform-common-common-settings.provider-gyb6ohAE.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +3 -2
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +10 -6
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +333 -54
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +2 -2
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-file-list-popup.component-zkvCqKp9.mjs → acorex-platform-layout-widgets-file-list-popup.component-DmIanCrO.mjs} +12 -3
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-DmIanCrO.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets.mjs +70 -20
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-DJR8f2El.mjs → acorex-platform-themes-default-entity-master-create-view.component-CCiYPMhz.mjs} +25 -21
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-CCiYPMhz.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +2 -2
- package/fesm2022/acorex-platform-workflow.mjs +0 -2
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/entity/index.d.ts +10 -1
- package/layout/widgets/index.d.ts +21 -1
- package/package.json +9 -9
- package/workflow/index.d.ts +33 -30
- package/fesm2022/acorex-platform-common-common-settings.provider-BwBLG0Hl.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-zkvCqKp9.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-DJR8f2El.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, inject, Injectable, Directive, computed, ChangeDetectionStrategy, Component, input, ElementRef,
|
|
2
|
+
import { InjectionToken, inject, Injectable, Directive, computed, Injector, ChangeDetectionStrategy, Component, input, ElementRef, ViewContainerRef, signal, effect, runInInjectionContext, Optional, Inject, NgModule, EventEmitter, HostListener, Output, provideAppInitializer, Pipe } from '@angular/core';
|
|
3
3
|
import { get, isPlainObject, set, isNil, isEmpty, isArray, merge, isObjectLike, transform, isEqual, differenceWith, union, cloneDeep, sortBy, isUndefined, endsWith, startsWith, includes, lte, gte, lt, gt, orderBy } from 'lodash-es';
|
|
4
4
|
import { signalStore, withState, withComputed, withMethods, patchState } from '@ngrx/signals';
|
|
5
5
|
import * as i1 from '@acorex/components/skeleton';
|
|
@@ -913,17 +913,21 @@ class AXPExpressionEvaluatorScopeProviderContext {
|
|
|
913
913
|
const AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER = new InjectionToken('AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER');
|
|
914
914
|
class AXPExpressionEvaluatorScopeProviderService {
|
|
915
915
|
constructor() {
|
|
916
|
-
this.
|
|
916
|
+
this.injector = inject(Injector);
|
|
917
917
|
this.cache = null;
|
|
918
918
|
}
|
|
919
919
|
async load() {
|
|
920
920
|
if (this.cache)
|
|
921
921
|
return;
|
|
922
|
+
const raw = this.injector.get(AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, [], { optional: true });
|
|
923
|
+
const providers = Array.isArray(raw)
|
|
924
|
+
? raw
|
|
925
|
+
: typeof raw === 'function'
|
|
926
|
+
? raw()
|
|
927
|
+
: [];
|
|
922
928
|
const context = new AXPExpressionEvaluatorScopeProviderContext();
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
await provider.provide(context);
|
|
926
|
-
}
|
|
929
|
+
for (const provider of providers) {
|
|
930
|
+
await provider.provide(context);
|
|
927
931
|
}
|
|
928
932
|
this.cache = context.getScopes();
|
|
929
933
|
}
|