@o3r/components 10.3.0-prerelease.3 → 10.3.0-prerelease.31
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/builders/component-extractor/helpers/component/component-class.extractor.d.ts +1 -1
- package/builders/component-extractor/helpers/component/component-class.extractor.d.ts.map +1 -1
- package/builders/component-extractor/helpers/component/component-class.extractor.js +1 -1
- package/devkit/inspector/otter-inspector.helpers.d.ts.map +1 -1
- package/devkit/inspector/otter-inspector.service.d.ts.map +1 -1
- package/esm2022/devkit/components-devtools.message.service.mjs +3 -3
- package/esm2022/devkit/components-devtools.module.mjs +4 -4
- package/esm2022/devkit/inspector/otter-inspector.helpers.mjs +3 -2
- package/esm2022/devkit/inspector/otter-inspector.service.mjs +2 -3
- package/esm2022/rules-engine/placeholder.action-handler.mjs +18 -14
- package/esm2022/rules-engine/placeholder.rules-engine.effect.mjs +3 -3
- package/esm2022/rules-engine/placeholder.rules-engine.module.mjs +4 -4
- package/esm2022/stores/placeholder-request/placeholder-request.module.mjs +4 -4
- package/esm2022/stores/placeholder-template/placeholder-template.module.mjs +4 -4
- package/esm2022/tools/component-replacement/c11n.directive.mjs +3 -3
- package/esm2022/tools/component-replacement/c11n.mock.module.mjs +10 -10
- package/esm2022/tools/component-replacement/c11n.module.mjs +4 -4
- package/esm2022/tools/component-replacement/c11n.service.mjs +3 -3
- package/esm2022/tools/pipes/capitalize/capitalize.module.mjs +4 -4
- package/esm2022/tools/pipes/capitalize/capitalize.pipe.mjs +6 -6
- package/esm2022/tools/pipes/duration/duration.module.mjs +4 -4
- package/esm2022/tools/pipes/duration/duration.pipe.mjs +6 -6
- package/esm2022/tools/pipes/keep-white-space/keep-white-space.module.mjs +4 -4
- package/esm2022/tools/pipes/keep-white-space/keep-white-space.pipe.mjs +6 -6
- package/esm2022/tools/pipes/replace-with-bold/replace-with-bold.module.mjs +4 -4
- package/esm2022/tools/pipes/replace-with-bold/replace-with-bold.pipe.mjs +6 -6
- package/esm2022/tools/placeholder/placeholder.component.mjs +3 -3
- package/esm2022/tools/placeholder/placeholder.module.mjs +4 -4
- package/fesm2022/o3r-components-rules-engine.mjs +23 -19
- package/fesm2022/o3r-components-rules-engine.mjs.map +1 -1
- package/fesm2022/o3r-components.mjs +85 -85
- package/fesm2022/o3r-components.mjs.map +1 -1
- package/package.json +14 -14
- package/rules-engine/placeholder.action-handler.d.ts +7 -6
- package/rules-engine/placeholder.action-handler.d.ts.map +1 -1
- package/schemas/placeholder-template.schema.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
1
|
+
import { Injector, OnDestroy } from '@angular/core';
|
|
2
|
+
import { Store } from '@ngrx/store';
|
|
2
3
|
import type { RulesEngineActionHandler } from '@o3r/core';
|
|
3
|
-
import { LoggerService } from '@o3r/logger';
|
|
4
|
-
import { Subject, Subscription } from 'rxjs';
|
|
5
4
|
import { PlaceholderRequestReply, PlaceholderTemplateStore } from '@o3r/components';
|
|
6
|
-
import { Store } from '@ngrx/store';
|
|
7
5
|
import { LocalizationService } from '@o3r/localization';
|
|
6
|
+
import { LoggerService } from '@o3r/logger';
|
|
7
|
+
import { Subject, Subscription } from 'rxjs';
|
|
8
8
|
import { ActionUpdatePlaceholderBlock } from './placeholder.interfaces';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
@@ -12,6 +12,7 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
*/
|
|
13
13
|
export declare class PlaceholderRulesEngineActionHandler implements OnDestroy, RulesEngineActionHandler<ActionUpdatePlaceholderBlock> {
|
|
14
14
|
private readonly logger;
|
|
15
|
+
private readonly injector;
|
|
15
16
|
protected subscription: Subscription;
|
|
16
17
|
protected placeholdersActions$: Subject<{
|
|
17
18
|
placeholderId: string;
|
|
@@ -20,7 +21,7 @@ export declare class PlaceholderRulesEngineActionHandler implements OnDestroy, R
|
|
|
20
21
|
}[]>;
|
|
21
22
|
/** @inheritdoc */
|
|
22
23
|
readonly supportingActions: readonly ["UPDATE_PLACEHOLDER"];
|
|
23
|
-
constructor(store: Store<PlaceholderTemplateStore>, logger: LoggerService, translateService?: LocalizationService);
|
|
24
|
+
constructor(store: Store<PlaceholderTemplateStore>, logger: LoggerService, injector: Injector, translateService?: LocalizationService);
|
|
24
25
|
/**
|
|
25
26
|
* Localize the url, replacing the language marker
|
|
26
27
|
* @param url
|
|
@@ -36,7 +37,7 @@ export declare class PlaceholderRulesEngineActionHandler implements OnDestroy, R
|
|
|
36
37
|
executeActions(actions: ActionUpdatePlaceholderBlock[]): void;
|
|
37
38
|
/** @inheritdoc */
|
|
38
39
|
ngOnDestroy(): void;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PlaceholderRulesEngineActionHandler, [null, null, { optional: true; }]>;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlaceholderRulesEngineActionHandler, [null, null, null, { optional: true; }]>;
|
|
40
41
|
static ɵprov: i0.ɵɵInjectableDeclaration<PlaceholderRulesEngineActionHandler>;
|
|
41
42
|
}
|
|
42
43
|
//# sourceMappingURL=placeholder.action-handler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placeholder.action-handler.d.ts","sourceRoot":"","sources":["../../src/rules-engine/placeholder.action-handler.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"placeholder.action-handler.d.ts","sourceRoot":"","sources":["../../src/rules-engine/placeholder.action-handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,QAAQ,EAAE,SAAS,EAAY,MAAM,eAAe,CAAC;AAC1E,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAC1D,OAAO,EAEL,uBAAuB,EACvB,wBAAwB,EAMzB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,mBAAmB,EAAE,M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