@o3r/components 11.6.0-prerelease.21 → 11.6.0-prerelease.23
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/devkit/components-devtools.message.service.d.ts +2 -5
- package/devkit/components-devtools.message.service.d.ts.map +1 -1
- package/esm2022/devkit/components-devtools.message.service.mjs +8 -11
- package/esm2022/rules-engine/placeholder.action-handler.mjs +5 -9
- package/esm2022/tools/placeholder/placeholder.component.mjs +9 -8
- package/fesm2022/o3r-components-rules-engine.mjs +4 -8
- package/fesm2022/o3r-components-rules-engine.mjs.map +1 -1
- package/fesm2022/o3r-components.mjs +12 -15
- package/fesm2022/o3r-components.mjs.map +1 -1
- package/package.json +11 -11
- package/rules-engine/placeholder.action-handler.d.ts +3 -6
- package/rules-engine/placeholder.action-handler.d.ts.map +1 -1
- package/tools/placeholder/placeholder.component.d.ts +1 -1
- package/tools/placeholder/placeholder.component.d.ts.map +1 -1
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import { Injector
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
3
|
import type { RulesEngineActionHandler } from '@o3r/core';
|
|
4
4
|
import { LocalizationService } from '@o3r/localization';
|
|
5
5
|
import { LoggerService } from '@o3r/logger';
|
|
6
|
-
import { Subject
|
|
6
|
+
import { Subject } from 'rxjs';
|
|
7
7
|
import { ActionUpdatePlaceholderBlock } from './placeholder.interfaces';
|
|
8
8
|
import { PlaceholderRequestReply, PlaceholderTemplateStore } from '@o3r/components';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
11
11
|
* Service to handle async PlaceholderTemplate actions
|
|
12
12
|
*/
|
|
13
|
-
export declare class PlaceholderRulesEngineActionHandler implements
|
|
13
|
+
export declare class PlaceholderRulesEngineActionHandler implements RulesEngineActionHandler<ActionUpdatePlaceholderBlock> {
|
|
14
14
|
private readonly logger;
|
|
15
15
|
private readonly injector;
|
|
16
|
-
protected subscription: Subscription;
|
|
17
16
|
protected placeholdersActions$: Subject<{
|
|
18
17
|
placeholderId: string;
|
|
19
18
|
templateUrl: string;
|
|
@@ -35,8 +34,6 @@ export declare class PlaceholderRulesEngineActionHandler implements OnDestroy, R
|
|
|
35
34
|
protected retrieveTemplate(url: string): Promise<PlaceholderRequestReply>;
|
|
36
35
|
/** @inheritdoc */
|
|
37
36
|
executeActions(actions: ActionUpdatePlaceholderBlock[]): void;
|
|
38
|
-
/** @inheritdoc */
|
|
39
|
-
ngOnDestroy(): void;
|
|
40
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<PlaceholderRulesEngineActionHandler, [null, null, null, { optional: true; }]>;
|
|
41
38
|
static ɵprov: i0.ɵɵInjectableDeclaration<PlaceholderRulesEngineActionHandler>;
|
|
42
39
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placeholder.action-handler.d.ts","sourceRoot":"","sources":["../../src/rules-engine/placeholder.action-handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,
|
|
1
|
+
{"version":3,"file":"placeholder.action-handler.d.ts","sourceRoot":"","sources":["../../src/rules-engine/placeholder.action-handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,EAET,MAAM,eAAe,CAAC;AAIvB,OAAO,EAEL,KAAK,EACN,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EACV,wBAAwB,EACzB,MAAM,WAAW,CAAC;AAInB,OAAO,EACL,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,aAAa,EACd,MAAM,aAAa,CAAC;AACrB,OAAO,EAOL,OAAO,EAER,MAAM,MAAM,CAAC;AACd,OAAO,EACL,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,uBAAuB,EACvB,wBAAwB,EAMzB,MAAM,iBAAiB,CAAC;;AAEzB;;GAEG;AACH,qBACa,mCAAoC,YAAW,wBAAwB,CAAC,4BAA4B,CAAC;IAQ9G,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAR3B,SAAS,CAAC,oBAAoB,EAAE,OAAO,CAAC;QAAE,aAAa,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC,CAAiB;IAE5H,kBAAkB;IAClB,SAAgB,iBAAiB,kCAA0D;gBAGzF,KAAK,EAAE,KAAK,CAAC,wBAAwB,CAAC,EACrB,MAAM,EAAE,aAAa,EACrB,QAAQ,EAAE,QAAQ,EACvB,gBAAgB,CAAC,EAAE,mBAAmB;IA+GpD;;;;OAIG;IACH,SAAS,CAAC,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM;IAO1E;;;OAGG;cACa,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAM/E,kBAAkB;IACX,cAAc,CAAC,OAAO,EAAE,4BAA4B,EAAE;yCAhJlD,mCAAmC;6CAAnC,mCAAmC;CAyJ/C"}
|
|
@@ -12,7 +12,6 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
export declare class PlaceholderComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
13
13
|
private readonly store;
|
|
14
14
|
private readonly cd;
|
|
15
|
-
private readonly subscription;
|
|
16
15
|
readonly id$: BehaviorSubject<string | undefined>;
|
|
17
16
|
private readonly afterViewInit$;
|
|
18
17
|
private readonly messages$;
|
|
@@ -21,6 +20,7 @@ export declare class PlaceholderComponent implements OnInit, OnDestroy, AfterVie
|
|
|
21
20
|
/** Generated HTML template */
|
|
22
21
|
template?: string;
|
|
23
22
|
mode: Signal<PlaceholderMode>;
|
|
23
|
+
private readonly destroyRef;
|
|
24
24
|
/** template identify */
|
|
25
25
|
set id(value: string);
|
|
26
26
|
constructor(store: Store<PlaceholderTemplateStore>, cd: ChangeDetectorRef);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placeholder.component.d.ts","sourceRoot":"","sources":["../../../src/tools/placeholder/placeholder.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAEhB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"placeholder.component.d.ts","sourceRoot":"","sources":["../../../src/tools/placeholder/placeholder.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAEhB,iBAAiB,EAKjB,SAAS,EACT,MAAM,EACN,KAAK,MAAM,EAEZ,MAAM,eAAe,CAAC;AAIvB,OAAO,EACL,KAAK,EACN,MAAM,aAAa,CAAC;AAIrB,OAAO,EACL,eAAe,EAIhB,MAAM,MAAM,CAAC;AAOd,OAAO,EACL,KAAK,eAAe,EACpB,wBAAwB,EAGzB,MAAM,mCAAmC,CAAC;;AAM3C;;;;;GAKG;AACH,qBAUa,oBAAqB,YAAW,MAAM,EAAE,SAAS,EAAE,gBAAgB;IAuBlE,OAAO,CAAC,QAAQ,CAAC,KAAK;IAAmC,OAAO,CAAC,QAAQ,CAAC,EAAE;IAtBxF,SAAgB,GAAG,sCAAsD;IAEzE,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAuB;IAEtD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAkD;IAE5E,sDAAsD;IAC/C,SAAS,CAAC,EAAE,OAAO,CAAC;IAE3B,8BAA8B;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,MAAM,CAAC,eAAe,CAAC,CAAC;IAErC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IAEjD,wBAAwB;IACxB,IACW,EAAE,CAAC,KAAK,EAAE,MAAM,EAE1B;gBAE4B,KAAK,EAAE,KAAK,CAAC,wBAAwB,CAAC,EAAmB,EAAE,EAAE,iBAAiB;IAI3G,kBAAkB;IACX,QAAQ;IAgDR,kBAAkB;IAKzB,kBAAkB;IACX,WAAW;yCAlFP,oBAAoB;2CAApB,oBAAoB;CAuFhC"}
|