@o3r/components 10.3.0-prerelease.7 → 10.3.0-prerelease.70
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/builders/component-extractor/helpers/component/component-class.extractor.js.map +1 -0
- package/builders/component-extractor/helpers/component/component-config.extractor.js.map +1 -0
- package/builders/component-extractor/helpers/component/component.extractor.js.map +1 -0
- package/builders/component-extractor/helpers/component/component.parser.js.map +1 -0
- package/builders/component-extractor/helpers/component/index.js.map +1 -0
- package/builders/component-extractor/helpers/index.js.map +1 -0
- package/builders/component-extractor/index.js.map +1 -0
- package/builders/component-extractor/schema.js.map +1 -0
- package/devkit/components-devkit.interface.d.ts +9 -1
- package/devkit/components-devkit.interface.d.ts.map +1 -1
- package/devkit/components-devtools.message.service.d.ts +5 -2
- package/devkit/components-devtools.message.service.d.ts.map +1 -1
- package/devkit/components-devtools.module.d.ts +2 -1
- package/devkit/components-devtools.module.d.ts.map +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-devkit.interface.mjs +2 -1
- package/esm2022/devkit/components-devtools.message.service.mjs +14 -6
- package/esm2022/devkit/components-devtools.module.mjs +11 -7
- 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.actions.mjs +3 -1
- package/esm2022/stores/placeholder-template/placeholder-template.module.mjs +4 -4
- package/esm2022/stores/placeholder-template/placeholder-template.reducer.mjs +10 -2
- package/esm2022/stores/placeholder-template/placeholder-template.selectors.mjs +2 -1
- package/esm2022/stores/placeholder-template/placeholder-template.state.mjs +1 -1
- 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 +11 -13
- package/esm2022/tools/placeholder/placeholder.module.mjs +5 -5
- package/fesm2022/o3r-components-rules-engine.mjs +23 -19
- package/fesm2022/o3r-components-rules-engine.mjs.map +1 -1
- package/fesm2022/o3r-components.mjs +448 -430
- 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
- package/schematics/cms-adapter/index.js.map +1 -0
- package/schematics/ng-add/helpers/devtools-registration.js.map +1 -0
- package/schematics/ng-add/index.js.map +1 -0
- package/schematics/ng-add/schema.js.map +1 -0
- package/schematics/ng-update/v10-0/index.js.map +1 -0
- package/stores/placeholder-template/placeholder-template.actions.d.ts +6 -1
- package/stores/placeholder-template/placeholder-template.actions.d.ts.map +1 -1
- package/stores/placeholder-template/placeholder-template.reducer.d.ts.map +1 -1
- package/stores/placeholder-template/placeholder-template.selectors.d.ts +1 -0
- package/stores/placeholder-template/placeholder-template.selectors.d.ts.map +1 -1
- package/stores/placeholder-template/placeholder-template.state.d.ts +3 -0
- package/stores/placeholder-template/placeholder-template.state.d.ts.map +1 -1
- package/tools/placeholder/placeholder.component.d.ts +5 -3
- package/tools/placeholder/placeholder.component.d.ts.map +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,MAAM,mBAAmB,CAAC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|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devtools-registration.js","sourceRoot":"","sources":["../../../../schematics/ng-add/helpers/devtools-registration.ts"],"names":[],"mappings":";;;;AACA,wDAAkC;AAGlC,MAAM,mBAAmB,GAAG,0BAA0B,CAAC;AACvD,MAAM,oBAAoB,GAAG,kCAAkC,CAAC;AAChE,MAAM,YAAY,GAAW,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC;AAErG;;;;;GAKG;AACI,MAAM,gBAAgB,GAAG,KAAK,EAAE,OAA8B,EAAiB,EAAE;IACtF,MAAM,EAAE,6BAA6B,EAAE,GAAG,gEAAa,iBAAiB,GAAC,CAAC;IAC1E,OAAO,6BAA6B,CAAC;QACnC,UAAU,EAAE,mBAAmB;QAC/B,WAAW,EAAE,YAAY;QACzB,WAAW,EAAE,oBAAoB;QACjC,WAAW,EAAE,OAAO,CAAC,WAAW;KACjC,CAAC,CAAC;AACL,CAAC,CAAC;AARW,QAAA,gBAAgB,oBAQ3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":";;;;AAAA,2DAAiF;AACjF,wDAAkC;AAClC,oDAA8B;AAC9B,gDAAkD;AAElD,2EAAmE;AAGnE,MAAM,0BAA0B,GAAG,CAAC,MAA2C,EAAE,EAAE,CAAC,CAAC,MAAW,EAAE,EAAE;IAClG,MAAM,CAAC,KAAK,CAAC;;8CAE+B,CAAC,CAAC;IAC9C,MAAM,MAAM,CAAC;AACf,CAAC,CAAC;AAEF;;;GAGG;AACH,SAAS,OAAO,CAAC,OAA8B;IAC7C,kBAAkB;IAClB,OAAO,KAAK,EAAE,IAAU,EAAE,OAAyB,EAAE,EAAE;QACrD,MAAM,EACJ,6BAA6B,EAC7B,cAAc,EACd,8B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;;;GAGG;AACI,MAAM,KAAK,GAAG,CAAC,OAA8B,EAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;IACrF,MAAM,EAAE,qCAAqC,EAAE,GAAG,MAAM,0DAAO,iBAAiB,IAAE,KAAK,CAAC,0BAA0B,CAAC,MAAM,CAAC,CAAC,CAAC;IAC5H,OAAO,qCAAqC,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC;AACjE,CAAC,CAAC;AAHW,QAAA,KAAK,SAGhB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../schematics/ng-add/schema.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../schematics/ng-update/v10-0/index.ts"],"names":[],"mappings":";;;AAAA,oEAAoE;AACpE,2DAAuF;AACvF,gDAA2I;AAE3I,MAAM,mBAAmB,GAAwB;IAC/C,UAAU,EAAE;QACV,GAAG,EAAE;YACH,IAAI,EAAE,eAAe;YACrB,MAAM,EAAE,mBAAmB;SAC5B;QACD,MAAM,EAAE,sBAAsB;KAC/B;IACD,QAAQ,EAAE;QACR,GAAG,EAAE;YACH,IAAI,EAAE,aAAa;YACnB,MAAM,EAAE,iBAAiB;SAC1B;QACD,MAAM,EAAE,oBAAoB;KAC7B;IACD,cAAc,EAAE;QACd,GAAG,EAAE;YACH,IAAI,EAAE,mBAAmB;YACzB,MAAM,EAAE,uBAAuB;SAChC;QACD,MAAM,EAAE,0BAA0B;KACnC;IACD,eAAe,EAAE;QACf,GAAG,EAAE;YACH,IAAI,EAAE,oBAAoB;YAC1B,MAAM,EAAE,wBAAwB;SACjC;QACD,MAAM,EAAE,2BAA2B;KACpC;CACF,CAAC;AAEF,MAAM,8BAA8B,GAAG,yCAAyC,CAAC;AAEjF,MAAM,8BAA8B,GAAS,CAAC,IAAI,EAAE,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ceholderMode, PlaceholderTemplateModel } from './placeholder-template.state';
|
|
3
3
|
/** Action to delete a specific entity */
|
|
4
4
|
export declare const deletePlaceholderTemplateEntity: import("@ngrx/store").ActionCreator<"[PlaceholderTemplate] delete entity", (props: {
|
|
5
5
|
id: string;
|
|
@@ -8,4 +8,9 @@ export declare const deletePlaceholderTemplateEntity: import("@ngrx/store").Acti
|
|
|
8
8
|
} & import("@ngrx/store/src/models").TypedAction<"[PlaceholderTemplate] delete entity">>;
|
|
9
9
|
/** Action to clear all placeholderTemplate and fill the store with the payload */
|
|
10
10
|
export declare const setPlaceholderTemplateEntity: import("@ngrx/store").ActionCreator<"[PlaceholderTemplate] set entity", (props: SetEntityActionPayload<PlaceholderTemplateModel>) => SetEntityActionPayload<PlaceholderTemplateModel> & import("@ngrx/store/src/models").TypedAction<"[PlaceholderTemplate] set entity">>;
|
|
11
|
+
export declare const togglePlaceholderModeTemplate: import("@ngrx/store").ActionCreator<"[PlaceholderTemplate] toggle mode", (props: {
|
|
12
|
+
mode: PlaceholderMode;
|
|
13
|
+
}) => {
|
|
14
|
+
mode: PlaceholderMode;
|
|
15
|
+
} & import("@ngrx/store/src/models").TypedAction<"[PlaceholderTemplate] toggle mode">>;
|
|
11
16
|
//# sourceMappingURL=placeholder-template.actions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placeholder-template.actions.d.ts","sourceRoot":"","sources":["../../../src/stores/placeholder-template/placeholder-template.actions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAC,MAAM,WAAW,CAAC;AAClD,OAAO,EAAC,wBAAwB,EAAC,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"placeholder-template.actions.d.ts","sourceRoot":"","sources":["../../../src/stores/placeholder-template/placeholder-template.actions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAC,MAAM,WAAW,CAAC;AAClD,OAAO,EAAC,KAAK,eAAe,EAAE,wBAAwB,EAAC,MAAM,8BAA8B,CAAC;AAM5F,yCAAyC;AACzC,eAAO,MAAM,+BAA+B;QAAkD,MAAM;;QAAN,MAAM;wFAAM,CAAC;AAE3G,kFAAkF;AAClF,eAAO,MAAM,4BAA4B,2QAA6F,CAAC;AAEvI,eAAO,MAAM,6BAA6B;UAAkD,eAAe;;UAAf,eAAe;sFAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placeholder-template.reducer.d.ts","sourceRoot":"","sources":["../../../src/stores/placeholder-template/placeholder-template.reducer.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAqB,YAAY,EAAC,MAAM,aAAa,CAAC;AAE3E,OAAO,EACL,wBAAwB,EACxB,wBAAwB,EACzB,MAAM,8BAA8B,CAAC;AAEtC;;GAEG;AACH,eAAO,MAAM,0BAA0B,gEAErC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,+BAA+B,EAAE,
|
|
1
|
+
{"version":3,"file":"placeholder-template.reducer.d.ts","sourceRoot":"","sources":["../../../src/stores/placeholder-template/placeholder-template.reducer.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAqB,YAAY,EAAC,MAAM,aAAa,CAAC;AAE3E,OAAO,EACL,wBAAwB,EACxB,wBAAwB,EACzB,MAAM,8BAA8B,CAAC;AAEtC;;GAEG;AACH,eAAO,MAAM,0BAA0B,gEAErC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,+BAA+B,EAAE,wBAE5C,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,kCAAkC,EAAE,YAAY,CAAC,wBAAwB,EAAE,aAAa,EAAE,CAAC,EAgBvG,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,0BAA0B,6FAGtC,CAAC"}
|
|
@@ -61,4 +61,5 @@ export declare const selectPlaceholderRenderedTemplates: (placeholderId: string)
|
|
|
61
61
|
orderedRenderedTemplates: (string | undefined)[] | undefined;
|
|
62
62
|
isPending: boolean;
|
|
63
63
|
} | undefined>;
|
|
64
|
+
export declare const selectPlaceholderTemplateMode: import("@ngrx/store").MemoizedSelector<object, import("./placeholder-template.state").PlaceholderMode, (s1: PlaceholderTemplateState) => import("./placeholder-template.state").PlaceholderMode>;
|
|
64
65
|
//# sourceMappingURL=placeholder-template.selectors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placeholder-template.selectors.d.ts","sourceRoot":"","sources":["../../../src/stores/placeholder-template/placeholder-template.selectors.ts"],"names":[],"mappings":"AAEA,OAAO,EAAkC,wBAAwB,EAAC,MAAM,8BAA8B,CAAC;AAKvG,eAAO,MAAM,8BAA8B,8IAAmF,CAAC;AAE/H,4DAA4D;AAC5D,eAAO,MAAM,iCAAiC,0RAA4F,CAAC;AAE3I;;;GAGG;AACH,eAAO,MAAM,+BAA+B,kBAAmB,MAAM,+OACsB,CAAC;AAE5F;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,kBAAmB,MAAM;;;;;gBAS5B,MAAM;kBAAY,MAAM;;qBAA0C,MAAM;;;;;;;;gBAAxE,MAAM;kBAAY,MAAM;;qBAA0C,MAAM;;;cA2BnG,CAAC;AAEL;;;;;;GAMG;AACH,eAAO,MAAM,kCAAkC,kBAAmB,MAAM;;;;;;;;gBApCzC,MAAM;kBAAY,MAAM;;qBAA0C,MAAM;;;;;;cA8CnG,CAAC"}
|
|
1
|
+
{"version":3,"file":"placeholder-template.selectors.d.ts","sourceRoot":"","sources":["../../../src/stores/placeholder-template/placeholder-template.selectors.ts"],"names":[],"mappings":"AAEA,OAAO,EAAkC,wBAAwB,EAAC,MAAM,8BAA8B,CAAC;AAKvG,eAAO,MAAM,8BAA8B,8IAAmF,CAAC;AAE/H,4DAA4D;AAC5D,eAAO,MAAM,iCAAiC,0RAA4F,CAAC;AAE3I;;;GAGG;AACH,eAAO,MAAM,+BAA+B,kBAAmB,MAAM,+OACsB,CAAC;AAE5F;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,kBAAmB,MAAM;;;;;gBAS5B,MAAM;kBAAY,MAAM;;qBAA0C,MAAM;;;;;;;;gBAAxE,MAAM;kBAAY,MAAM;;qBAA0C,MAAM;;;cA2BnG,CAAC;AAEL;;;;;;GAMG;AACH,eAAO,MAAM,kCAAkC,kBAAmB,MAAM;;;;;;;;gBApCzC,MAAM;kBAAY,MAAM;;qBAA0C,MAAM;;;;;;cA8CnG,CAAC;AAGL,eAAO,MAAM,6BAA6B,kMAAwE,CAAC"}
|
|
@@ -11,10 +11,13 @@ export interface PlaceholderTemplateModel {
|
|
|
11
11
|
priority: number;
|
|
12
12
|
}[];
|
|
13
13
|
}
|
|
14
|
+
/** Possible placeholder mode */
|
|
15
|
+
export type PlaceholderMode = 'normal' | 'debug' | 'pending';
|
|
14
16
|
/**
|
|
15
17
|
* PlaceholderTemplate store state
|
|
16
18
|
*/
|
|
17
19
|
export interface PlaceholderTemplateState extends EntityState<PlaceholderTemplateModel> {
|
|
20
|
+
mode: PlaceholderMode;
|
|
18
21
|
}
|
|
19
22
|
/**
|
|
20
23
|
* Name of the PlaceholderTemplate Store
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placeholder-template.state.d.ts","sourceRoot":"","sources":["../../../src/stores/placeholder-template/placeholder-template.state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,cAAc,CAAC;AAEzC;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,mCAAmC;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,4EAA4E;IAC5E,gBAAgB,EAAE;QAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"placeholder-template.state.d.ts","sourceRoot":"","sources":["../../../src/stores/placeholder-template/placeholder-template.state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,cAAc,CAAC;AAEzC;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,mCAAmC;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,4EAA4E;IAC5E,gBAAgB,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAC1D;AAED,gCAAgC;AAChC,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;AAE7D;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,WAAW,CAAC,wBAAwB,CAAC;IACrF,IAAI,EAAE,eAAe,CAAC;CACvB;AAED;;GAEG;AACH,eAAO,MAAM,+BAA+B,wBAAwB,CAAC;AAErE;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,gCAAgC;IAChC,CAAC,+BAA+B,CAAC,EAAE,wBAAwB,CAAC;CAC7D"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit, type Signal } from '@angular/core';
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
|
-
import {
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import { type PlaceholderMode, PlaceholderTemplateStore } from '../../stores/placeholder-template';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
/**
|
|
6
7
|
* Placeholder component that is bind to the PlaceholderTemplateStore to display a template based on its ID
|
|
@@ -12,13 +13,14 @@ export declare class PlaceholderComponent implements OnInit, OnDestroy {
|
|
|
12
13
|
private readonly store;
|
|
13
14
|
private readonly cd;
|
|
14
15
|
private readonly subscription;
|
|
15
|
-
|
|
16
|
+
readonly id$: BehaviorSubject<string | undefined>;
|
|
16
17
|
private readonly afterViewInit$;
|
|
17
18
|
private readonly messages$;
|
|
18
19
|
/** Determine if the placeholder content is pending */
|
|
19
20
|
isPending?: boolean;
|
|
20
21
|
/** Generated HTML template */
|
|
21
22
|
template?: string;
|
|
23
|
+
mode: Signal<PlaceholderMode>;
|
|
22
24
|
/** template identify */
|
|
23
25
|
set id(value: string);
|
|
24
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,EAEL,iBAAiB,EAGjB,SAAS,EACT,MAAM,
|
|
1
|
+
{"version":3,"file":"placeholder.component.d.ts","sourceRoot":"","sources":["../../../src/tools/placeholder/placeholder.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAGjB,SAAS,EACT,MAAM,EACN,KAAK,MAAM,EAEZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,KAAK,EAAC,MAAM,aAAa,CAAC;AAElC,OAAO,EAAC,eAAe,EAA+C,MAAM,MAAM,CAAC;AAEnF,OAAO,EAAC,KAAK,eAAe,EAAE,wBAAwB,EAAuD,MAAM,mCAAmC,CAAC;;AAGvJ;;;;;GAKG;AACH,qBAWa,oBAAqB,YAAW,MAAM,EAAE,SAAS;IAwBhD,OAAO,CAAC,QAAQ,CAAC,KAAK;IAAmC,OAAO,CAAC,QAAQ,CAAC,EAAE;IAtBxF,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAsB;IAEnD,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,wBAAwB;IACxB,IACW,EAAE,CAAC,KAAK,EAAE,MAAM,EAE1B;gBAE4B,KAAK,EAAE,KAAK,CAAC,wBAAwB,CAAC,EAAmB,EAAE,EAAE,iBAAiB;IAI3G,kBAAkB;IACX,QAAQ;IAmDR,kBAAkB;IAKzB,kBAAkB;IACX,WAAW;yCAtFP,oBAAoB;2CAApB,oBAAoB;CA2FhC"}
|