@o3r/components 10.0.0-prerelease.8 → 10.0.0-prerelease.80
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/index.d.ts.map +1 -1
- package/builders/component-extractor/index.js +4 -4
- package/esm2022/devkit/components-devtools.message.service.mjs +3 -3
- package/esm2022/devkit/components-devtools.module.mjs +4 -4
- package/esm2022/rules-engine/placeholder.action-handler.mjs +3 -3
- 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 +8 -6
- package/esm2022/tools/component-replacement/c11n.helpers.mjs +1 -1
- 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 +4 -4
- package/esm2022/tools/pipes/capitalize/capitalize.module.mjs +8 -5
- package/esm2022/tools/pipes/capitalize/capitalize.pipe.mjs +16 -5
- package/esm2022/tools/pipes/duration/duration.module.mjs +8 -5
- package/esm2022/tools/pipes/duration/duration.pipe.mjs +17 -5
- package/esm2022/tools/pipes/keep-white-space/keep-white-space.module.mjs +8 -5
- package/esm2022/tools/pipes/keep-white-space/keep-white-space.pipe.mjs +19 -7
- package/esm2022/tools/pipes/replace-with-bold/replace-with-bold.module.mjs +8 -5
- package/esm2022/tools/pipes/replace-with-bold/replace-with-bold.pipe.mjs +23 -9
- 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 +11 -11
- package/fesm2022/o3r-components.mjs +148 -85
- package/fesm2022/o3r-components.mjs.map +1 -1
- package/migration.json +10 -0
- package/package.json +18 -11
- package/schematics/cms-adapter/index.d.ts +2 -3
- package/schematics/cms-adapter/index.d.ts.map +1 -1
- package/schematics/cms-adapter/index.js +7 -3
- package/schematics/ng-add/index.d.ts +1 -1
- package/schematics/ng-add/index.d.ts.map +1 -1
- package/schematics/ng-add/index.js +7 -2
- package/schematics/ng-update/v10-0/index.d.ts +6 -0
- package/schematics/ng-update/v10-0/index.d.ts.map +1 -0
- package/schematics/ng-update/v10-0/index.js +63 -0
- package/tools/component-replacement/c11n.directive.d.ts +4 -4
- package/tools/component-replacement/c11n.directive.d.ts.map +1 -1
- package/tools/component-replacement/c11n.helpers.d.ts +2 -2
- package/tools/component-replacement/c11n.helpers.d.ts.map +1 -1
- package/tools/component-replacement/c11n.service.d.ts +3 -3
- package/tools/component-replacement/c11n.service.d.ts.map +1 -1
- package/tools/pipes/capitalize/capitalize.module.d.ts +3 -0
- package/tools/pipes/capitalize/capitalize.module.d.ts.map +1 -1
- package/tools/pipes/capitalize/capitalize.pipe.d.ts +8 -1
- package/tools/pipes/capitalize/capitalize.pipe.d.ts.map +1 -1
- package/tools/pipes/duration/duration.module.d.ts +3 -0
- package/tools/pipes/duration/duration.module.d.ts.map +1 -1
- package/tools/pipes/duration/duration.pipe.d.ts +9 -1
- package/tools/pipes/duration/duration.pipe.d.ts.map +1 -1
- package/tools/pipes/keep-white-space/keep-white-space.module.d.ts +3 -0
- package/tools/pipes/keep-white-space/keep-white-space.module.d.ts.map +1 -1
- package/tools/pipes/keep-white-space/keep-white-space.pipe.d.ts +8 -1
- package/tools/pipes/keep-white-space/keep-white-space.pipe.d.ts.map +1 -1
- package/tools/pipes/replace-with-bold/replace-with-bold.module.d.ts +3 -0
- package/tools/pipes/replace-with-bold/replace-with-bold.module.d.ts.map +1 -1
- package/tools/pipes/replace-with-bold/replace-with-bold.pipe.d.ts +8 -1
- package/tools/pipes/replace-with-bold/replace-with-bold.pipe.d.ts.map +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { of, from,
|
|
2
|
-
import {
|
|
1
|
+
import { of, from, observeOn, animationFrameScheduler, BehaviorSubject, Subscription, firstValueFrom, fromEvent, Subject, ReplaySubject, sample } from 'rxjs';
|
|
2
|
+
import { mergeMap, bufferCount, concatMap, delay, scan, tap, filter, distinctUntilChanged, map, mapTo, switchMap } from 'rxjs/operators';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { InjectionToken, Injectable, Optional, Inject, NgModule, SimpleChange, forwardRef, Directive, Input, Pipe, Component, ChangeDetectionStrategy, ViewEncapsulation } from '@angular/core';
|
|
5
5
|
import { otterComponentInfoPropertyName, sendOtterMessage, filterMessageContent, asyncProps, createEntityAsyncRequestAdapter, asyncStoreItemAdapter, asyncEntitySerializer } from '@o3r/core';
|
|
6
6
|
import * as i1 from '@o3r/logger';
|
|
7
7
|
import * as i1$1 from '@ngrx/store';
|
|
8
|
-
import { StoreModule,
|
|
8
|
+
import { StoreModule, createAction, props, on, createReducer, createFeatureSelector, createSelector } from '@ngrx/store';
|
|
9
9
|
import { createEntityAdapter } from '@ngrx/entity';
|
|
10
10
|
import { NgControl, NG_VALUE_ACCESSOR, NG_VALIDATORS } from '@angular/forms';
|
|
11
11
|
import * as i2 from '@angular/common';
|
|
@@ -409,10 +409,10 @@ class ComponentsDevtoolsMessageService {
|
|
|
409
409
|
ngOnDestroy() {
|
|
410
410
|
this.subscriptions.unsubscribe();
|
|
411
411
|
}
|
|
412
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
413
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
412
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: ComponentsDevtoolsMessageService, deps: [{ token: i1.LoggerService }, { token: OTTER_COMPONENTS_DEVTOOLS_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
413
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: ComponentsDevtoolsMessageService, providedIn: 'root' }); }
|
|
414
414
|
}
|
|
415
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
415
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: ComponentsDevtoolsMessageService, decorators: [{
|
|
416
416
|
type: Injectable,
|
|
417
417
|
args: [{
|
|
418
418
|
providedIn: 'root'
|
|
@@ -438,14 +438,14 @@ class ComponentsDevtoolsModule {
|
|
|
438
438
|
]
|
|
439
439
|
};
|
|
440
440
|
}
|
|
441
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
442
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
443
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
441
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: ComponentsDevtoolsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
442
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: ComponentsDevtoolsModule, imports: [StoreModule] }); }
|
|
443
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: ComponentsDevtoolsModule, providers: [
|
|
444
444
|
{ provide: OTTER_COMPONENTS_DEVTOOLS_OPTIONS, useValue: OTTER_COMPONENTS_DEVTOOLS_DEFAULT_OPTIONS },
|
|
445
445
|
ComponentsDevtoolsMessageService
|
|
446
446
|
], imports: [StoreModule] }); }
|
|
447
447
|
}
|
|
448
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
448
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: ComponentsDevtoolsModule, decorators: [{
|
|
449
449
|
type: NgModule,
|
|
450
450
|
args: [{
|
|
451
451
|
imports: [
|
|
@@ -513,13 +513,13 @@ class PlaceholderTemplateStoreModule {
|
|
|
513
513
|
]
|
|
514
514
|
};
|
|
515
515
|
}
|
|
516
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
517
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
518
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
516
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: PlaceholderTemplateStoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
517
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: PlaceholderTemplateStoreModule, imports: [i1$1.StoreFeatureModule] }); }
|
|
518
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: PlaceholderTemplateStoreModule, providers: [
|
|
519
519
|
{ provide: PLACEHOLDER_TEMPLATE_REDUCER_TOKEN, useFactory: getDefaultPlaceholderTemplateReducer }
|
|
520
520
|
], imports: [StoreModule.forFeature(PLACEHOLDER_TEMPLATE_STORE_NAME, PLACEHOLDER_TEMPLATE_REDUCER_TOKEN)] }); }
|
|
521
521
|
}
|
|
522
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: PlaceholderTemplateStoreModule, decorators: [{
|
|
523
523
|
type: NgModule,
|
|
524
524
|
args: [{
|
|
525
525
|
imports: [
|
|
@@ -634,13 +634,13 @@ class PlaceholderRequestStoreModule {
|
|
|
634
634
|
]
|
|
635
635
|
};
|
|
636
636
|
}
|
|
637
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
638
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
639
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
637
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: PlaceholderRequestStoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
638
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: PlaceholderRequestStoreModule, imports: [i1$1.StoreFeatureModule] }); }
|
|
639
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: PlaceholderRequestStoreModule, providers: [
|
|
640
640
|
{ provide: PLACEHOLDER_REQUEST_REDUCER_TOKEN, useFactory: getDefaultplaceholderRequestReducer }
|
|
641
641
|
], imports: [StoreModule.forFeature(PLACEHOLDER_REQUEST_STORE_NAME, PLACEHOLDER_REQUEST_REDUCER_TOKEN)] }); }
|
|
642
642
|
}
|
|
643
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
643
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: PlaceholderRequestStoreModule, decorators: [{
|
|
644
644
|
type: NgModule,
|
|
645
645
|
args: [{
|
|
646
646
|
imports: [
|
|
@@ -867,10 +867,12 @@ class C11nDirective {
|
|
|
867
867
|
*/
|
|
868
868
|
ngOnDestroy() {
|
|
869
869
|
this.componentSubscriptions.forEach((s) => s.unsubscribe());
|
|
870
|
-
this.componentRef
|
|
870
|
+
if (this.componentRef) {
|
|
871
|
+
this.componentRef.destroy();
|
|
872
|
+
}
|
|
871
873
|
}
|
|
872
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
873
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
874
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: C11nDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.KeyValueDiffers }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
875
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: C11nDirective, selector: "[c11n]", inputs: { component: "component", config: "config", formControl: "formControl", inputs: "inputs", outputs: "outputs" }, providers: [
|
|
874
876
|
{
|
|
875
877
|
provide: NG_VALUE_ACCESSOR,
|
|
876
878
|
useExisting: forwardRef((() => C11nDirective)),
|
|
@@ -883,7 +885,7 @@ class C11nDirective {
|
|
|
883
885
|
}
|
|
884
886
|
], usesOnChanges: true, ngImport: i0 }); }
|
|
885
887
|
}
|
|
886
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
888
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: C11nDirective, decorators: [{
|
|
887
889
|
type: Directive,
|
|
888
890
|
args: [{
|
|
889
891
|
selector: '[c11n]',
|
|
@@ -940,10 +942,10 @@ class C11nService {
|
|
|
940
942
|
return typeof presenterConfig === 'string' && presenterConfig !== '' ? (this.presentersMap.get(presenterConfig) || defaultPres) : defaultPres;
|
|
941
943
|
}));
|
|
942
944
|
}
|
|
943
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
944
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
945
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: C11nService, deps: [{ token: C11N_PRESENTERS_MAP_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
946
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: C11nService }); }
|
|
945
947
|
}
|
|
946
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
948
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: C11nService, decorators: [{
|
|
947
949
|
type: Injectable
|
|
948
950
|
}], ctorParameters: () => [{ type: Map, decorators: [{
|
|
949
951
|
type: Inject,
|
|
@@ -979,11 +981,11 @@ class C11nModule {
|
|
|
979
981
|
}]
|
|
980
982
|
};
|
|
981
983
|
}
|
|
982
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
983
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
984
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
984
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: C11nModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
985
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: C11nModule, declarations: [C11nDirective], exports: [C11nDirective] }); }
|
|
986
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: C11nModule }); }
|
|
985
987
|
}
|
|
986
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
988
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: C11nModule, decorators: [{
|
|
987
989
|
type: NgModule,
|
|
988
990
|
args: [{
|
|
989
991
|
declarations: [C11nDirective],
|
|
@@ -1004,10 +1006,10 @@ function registerCustomComponent(customComponentsMap, customComponentKey, custom
|
|
|
1004
1006
|
|
|
1005
1007
|
/** C11n directive mock */
|
|
1006
1008
|
class MockC11nDirective {
|
|
1007
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1008
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
1009
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: MockC11nDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1010
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: MockC11nDirective, selector: "[c11n]", inputs: { config: "config", component: "component", inputs: "inputs", outputs: "outputs" }, ngImport: i0 }); }
|
|
1009
1011
|
}
|
|
1010
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1012
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: MockC11nDirective, decorators: [{
|
|
1011
1013
|
type: Directive,
|
|
1012
1014
|
args: [{
|
|
1013
1015
|
selector: '[c11n]',
|
|
@@ -1021,21 +1023,21 @@ class C11nMockService {
|
|
|
1021
1023
|
getPresenter(_defaultPres, _presKey) {
|
|
1022
1024
|
return (source) => source.pipe(mapTo(null));
|
|
1023
1025
|
}
|
|
1024
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1025
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
1026
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: C11nMockService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1027
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: C11nMockService }); }
|
|
1026
1028
|
}
|
|
1027
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1029
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: C11nMockService, decorators: [{
|
|
1028
1030
|
type: Injectable
|
|
1029
1031
|
}] });
|
|
1030
1032
|
/**
|
|
1031
1033
|
* The purpose of this module is to be imported in the unit tests of the components which are using c11n directive
|
|
1032
1034
|
*/
|
|
1033
1035
|
class C11nMockModule {
|
|
1034
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1035
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
1036
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
1036
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: C11nMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1037
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: C11nMockModule, declarations: [MockC11nDirective], exports: [MockC11nDirective] }); }
|
|
1038
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: C11nMockModule, providers: [{ provide: C11nService, useClass: C11nMockService }] }); }
|
|
1037
1039
|
}
|
|
1038
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1040
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: C11nMockModule, decorators: [{
|
|
1039
1041
|
type: NgModule,
|
|
1040
1042
|
args: [{
|
|
1041
1043
|
declarations: [MockC11nDirective],
|
|
@@ -1044,26 +1046,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImpor
|
|
|
1044
1046
|
}]
|
|
1045
1047
|
}] });
|
|
1046
1048
|
|
|
1047
|
-
class
|
|
1049
|
+
class O3rCapitalizePipe {
|
|
1048
1050
|
transform(value) {
|
|
1049
1051
|
const val = value && value.toString && value.toString();
|
|
1050
1052
|
const firstLetter = val && val.charAt(0);
|
|
1051
1053
|
return firstLetter ? firstLetter.toUpperCase() + val.slice(1) : value;
|
|
1052
1054
|
}
|
|
1053
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1054
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.
|
|
1055
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: O3rCapitalizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1056
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: O3rCapitalizePipe, isStandalone: true, name: "o3rCapitalize" }); }
|
|
1055
1057
|
}
|
|
1056
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1058
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: O3rCapitalizePipe, decorators: [{
|
|
1059
|
+
type: Pipe,
|
|
1060
|
+
args: [{ name: 'o3rCapitalize', standalone: true }]
|
|
1061
|
+
}] });
|
|
1062
|
+
/**
|
|
1063
|
+
* @deprecated please use O3rCapitalizePipe, will be removed in v12.
|
|
1064
|
+
*/
|
|
1065
|
+
class CapitalizePipe extends O3rCapitalizePipe {
|
|
1066
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: CapitalizePipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1067
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: CapitalizePipe, name: "capitalize" }); }
|
|
1068
|
+
}
|
|
1069
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: CapitalizePipe, decorators: [{
|
|
1057
1070
|
type: Pipe,
|
|
1058
1071
|
args: [{ name: 'capitalize' }]
|
|
1059
1072
|
}] });
|
|
1060
1073
|
|
|
1074
|
+
/**
|
|
1075
|
+
* @deprecated please use O3rCapitalizePipe, will be removed in v12.
|
|
1076
|
+
*/
|
|
1061
1077
|
class CapitalizePipeModule {
|
|
1062
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1063
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
1064
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
1078
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: CapitalizePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1079
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: CapitalizePipeModule, declarations: [CapitalizePipe], exports: [CapitalizePipe] }); }
|
|
1080
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: CapitalizePipeModule }); }
|
|
1065
1081
|
}
|
|
1066
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1082
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: CapitalizePipeModule, decorators: [{
|
|
1067
1083
|
type: NgModule,
|
|
1068
1084
|
args: [{
|
|
1069
1085
|
declarations: [CapitalizePipe],
|
|
@@ -1106,7 +1122,7 @@ function padNum(num, digits) {
|
|
|
1106
1122
|
/**
|
|
1107
1123
|
* Converts a duration in seconds into the HH:mm format
|
|
1108
1124
|
*/
|
|
1109
|
-
class
|
|
1125
|
+
class O3rDurationPipe {
|
|
1110
1126
|
/**
|
|
1111
1127
|
* @param value the value in seconds
|
|
1112
1128
|
* @param pattern the desired output format.
|
|
@@ -1145,20 +1161,35 @@ class DurationPipe {
|
|
|
1145
1161
|
return result.replace(matchedPatternToReplace, padded);
|
|
1146
1162
|
}, pattern);
|
|
1147
1163
|
}
|
|
1148
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1149
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.
|
|
1164
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: O3rDurationPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1165
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: O3rDurationPipe, isStandalone: true, name: "o3rDuration" }); }
|
|
1150
1166
|
}
|
|
1151
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: O3rDurationPipe, decorators: [{
|
|
1168
|
+
type: Pipe,
|
|
1169
|
+
args: [{ name: 'o3rDuration', standalone: true }]
|
|
1170
|
+
}] });
|
|
1171
|
+
/**
|
|
1172
|
+
* Converts a duration in seconds into the HH:mm format
|
|
1173
|
+
* @deprecated please use O3rDurationPipe, will be removed in v12.
|
|
1174
|
+
*/
|
|
1175
|
+
class DurationPipe extends O3rDurationPipe {
|
|
1176
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: DurationPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1177
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: DurationPipe, name: "duration" }); }
|
|
1178
|
+
}
|
|
1179
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: DurationPipe, decorators: [{
|
|
1152
1180
|
type: Pipe,
|
|
1153
1181
|
args: [{ name: 'duration' }]
|
|
1154
1182
|
}] });
|
|
1155
1183
|
|
|
1184
|
+
/**
|
|
1185
|
+
* @deprecated please use O3rDurationPipe, will be removed in v12.
|
|
1186
|
+
*/
|
|
1156
1187
|
class DurationPipeModule {
|
|
1157
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1158
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
1159
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
1188
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: DurationPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1189
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: DurationPipeModule, declarations: [DurationPipe], exports: [DurationPipe] }); }
|
|
1190
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: DurationPipeModule }); }
|
|
1160
1191
|
}
|
|
1161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: DurationPipeModule, decorators: [{
|
|
1162
1193
|
type: NgModule,
|
|
1163
1194
|
args: [{
|
|
1164
1195
|
declarations: [DurationPipe],
|
|
@@ -1166,27 +1197,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImpor
|
|
|
1166
1197
|
}]
|
|
1167
1198
|
}] });
|
|
1168
1199
|
|
|
1169
|
-
class
|
|
1200
|
+
class O3rKeepWhiteSpacePipe {
|
|
1170
1201
|
transform(value) {
|
|
1171
1202
|
return value.replace(/\s/g, ' ');
|
|
1172
1203
|
}
|
|
1173
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1174
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.
|
|
1204
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: O3rKeepWhiteSpacePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1205
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: O3rKeepWhiteSpacePipe, name: "o3rKeepWhiteSpace" }); }
|
|
1206
|
+
}
|
|
1207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: O3rKeepWhiteSpacePipe, decorators: [{
|
|
1208
|
+
type: Pipe,
|
|
1209
|
+
args: [{
|
|
1210
|
+
name: 'o3rKeepWhiteSpace'
|
|
1211
|
+
}]
|
|
1212
|
+
}] });
|
|
1213
|
+
/**
|
|
1214
|
+
* @deprecated please use O3rKeepWhiteSpacePipe, will be removed in v12.
|
|
1215
|
+
*/
|
|
1216
|
+
class KeepWhiteSpacePipe extends O3rKeepWhiteSpacePipe {
|
|
1217
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: KeepWhiteSpacePipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1218
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: KeepWhiteSpacePipe, name: "keepWhiteSpace" }); }
|
|
1175
1219
|
}
|
|
1176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1220
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: KeepWhiteSpacePipe, decorators: [{
|
|
1177
1221
|
type: Pipe,
|
|
1178
1222
|
args: [{
|
|
1179
|
-
name: 'keepWhiteSpace'
|
|
1180
|
-
pure: true
|
|
1223
|
+
name: 'keepWhiteSpace'
|
|
1181
1224
|
}]
|
|
1182
1225
|
}] });
|
|
1183
1226
|
|
|
1227
|
+
/**
|
|
1228
|
+
* @deprecated please use O3rKeepWhiteSpacePipe, will be removed in v12.
|
|
1229
|
+
*/
|
|
1184
1230
|
class KeepWhiteSpacePipeModule {
|
|
1185
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1186
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
1187
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
1231
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: KeepWhiteSpacePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1232
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: KeepWhiteSpacePipeModule, declarations: [KeepWhiteSpacePipe], exports: [KeepWhiteSpacePipe] }); }
|
|
1233
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: KeepWhiteSpacePipeModule }); }
|
|
1188
1234
|
}
|
|
1189
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1235
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: KeepWhiteSpacePipeModule, decorators: [{
|
|
1190
1236
|
type: NgModule,
|
|
1191
1237
|
args: [{
|
|
1192
1238
|
declarations: [KeepWhiteSpacePipe],
|
|
@@ -1194,36 +1240,53 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImpor
|
|
|
1194
1240
|
}]
|
|
1195
1241
|
}] });
|
|
1196
1242
|
|
|
1197
|
-
|
|
1243
|
+
const escapeRegExp = (str) => str.replace(/[-[\]/{}()*+?.\\^$|]/g, '\\$&');
|
|
1244
|
+
class O3rReplaceWithBoldPipe {
|
|
1198
1245
|
transform(value, inputText) {
|
|
1199
1246
|
if (inputText) {
|
|
1200
|
-
const regexp = new RegExp(
|
|
1247
|
+
const regexp = new RegExp(escapeRegExp(inputText.trim()), 'gi');
|
|
1201
1248
|
return value.replace(regexp, (match) => `<strong>${match}</strong>`);
|
|
1202
1249
|
}
|
|
1203
1250
|
else {
|
|
1204
1251
|
return value;
|
|
1205
1252
|
}
|
|
1206
1253
|
}
|
|
1254
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: O3rReplaceWithBoldPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1255
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: O3rReplaceWithBoldPipe, isStandalone: true, name: "o3rReplaceWithBold" }); }
|
|
1256
|
+
}
|
|
1257
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: O3rReplaceWithBoldPipe, decorators: [{
|
|
1258
|
+
type: Pipe,
|
|
1259
|
+
args: [{
|
|
1260
|
+
name: 'o3rReplaceWithBold',
|
|
1261
|
+
standalone: true
|
|
1262
|
+
}]
|
|
1263
|
+
}] });
|
|
1264
|
+
/**
|
|
1265
|
+
* @deprecated please use O3rReplaceWithBoldPipe, will be removed in v12.
|
|
1266
|
+
*/
|
|
1267
|
+
class ReplaceWithBoldPipe extends O3rReplaceWithBoldPipe {
|
|
1207
1268
|
escapeRegExp(str) {
|
|
1208
|
-
return str
|
|
1269
|
+
return escapeRegExp(str);
|
|
1209
1270
|
}
|
|
1210
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1211
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.
|
|
1271
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: ReplaceWithBoldPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1272
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: ReplaceWithBoldPipe, name: "replaceWithBold" }); }
|
|
1212
1273
|
}
|
|
1213
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1274
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: ReplaceWithBoldPipe, decorators: [{
|
|
1214
1275
|
type: Pipe,
|
|
1215
1276
|
args: [{
|
|
1216
|
-
name: 'replaceWithBold'
|
|
1217
|
-
pure: true
|
|
1277
|
+
name: 'replaceWithBold'
|
|
1218
1278
|
}]
|
|
1219
1279
|
}] });
|
|
1220
1280
|
|
|
1281
|
+
/**
|
|
1282
|
+
* @deprecated please use O3rReplaceWithBoldPipe, will be removed in v12.
|
|
1283
|
+
*/
|
|
1221
1284
|
class ReplaceWithBoldPipeModule {
|
|
1222
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1223
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
1224
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
1285
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: ReplaceWithBoldPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1286
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: ReplaceWithBoldPipeModule, declarations: [ReplaceWithBoldPipe], exports: [ReplaceWithBoldPipe] }); }
|
|
1287
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: ReplaceWithBoldPipeModule }); }
|
|
1225
1288
|
}
|
|
1226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: ReplaceWithBoldPipeModule, decorators: [{
|
|
1227
1290
|
type: NgModule,
|
|
1228
1291
|
args: [{
|
|
1229
1292
|
declarations: [ReplaceWithBoldPipe],
|
|
@@ -1294,10 +1357,10 @@ class PlaceholderComponent {
|
|
|
1294
1357
|
this.afterViewInit$.complete();
|
|
1295
1358
|
this.subscription.unsubscribe();
|
|
1296
1359
|
}
|
|
1297
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1298
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
1360
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: PlaceholderComponent, deps: [{ token: i1$1.Store }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1361
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", type: PlaceholderComponent, selector: "o3r-placeholder", inputs: { id: "id" }, ngImport: i0, template: "<ng-content *ngIf=\"isPending; else displayTemplate\"></ng-content><ng-template #displayTemplate><div [innerHTML]=\"template\"></div></ng-template>", isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1299
1362
|
}
|
|
1300
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1363
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: PlaceholderComponent, decorators: [{
|
|
1301
1364
|
type: Component,
|
|
1302
1365
|
args: [{
|
|
1303
1366
|
selector: 'o3r-placeholder',
|
|
@@ -1311,17 +1374,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImpor
|
|
|
1311
1374
|
}] } });
|
|
1312
1375
|
|
|
1313
1376
|
class PlaceholderModule {
|
|
1314
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1315
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
1377
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: PlaceholderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1378
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: PlaceholderModule, declarations: [PlaceholderComponent], imports: [CommonModule,
|
|
1316
1379
|
StoreModule,
|
|
1317
1380
|
PlaceholderTemplateStoreModule,
|
|
1318
1381
|
PlaceholderRequestStoreModule], exports: [PlaceholderComponent] }); }
|
|
1319
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
1382
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: PlaceholderModule, imports: [CommonModule,
|
|
1320
1383
|
StoreModule,
|
|
1321
1384
|
PlaceholderTemplateStoreModule,
|
|
1322
1385
|
PlaceholderRequestStoreModule] }); }
|
|
1323
1386
|
}
|
|
1324
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1387
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: PlaceholderModule, decorators: [{
|
|
1325
1388
|
type: NgModule,
|
|
1326
1389
|
args: [{
|
|
1327
1390
|
imports: [
|
|
@@ -1339,5 +1402,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImpor
|
|
|
1339
1402
|
* Generated bundle index. Do not edit.
|
|
1340
1403
|
*/
|
|
1341
1404
|
|
|
1342
|
-
export { C11N_PRESENTERS_MAP_TOKEN, C11N_REGISTER_FUNC_TOKEN, C11nDirective, C11nMockModule, C11nMockService, C11nModule, C11nService, CapitalizePipe, CapitalizePipeModule, ComponentsDevtoolsMessageService, ComponentsDevtoolsModule, DurationPipe, DurationPipeModule, INSPECTOR_CLASS, KeepWhiteSpacePipe, KeepWhiteSpacePipeModule, MockC11nDirective, OTTER_COMPONENTS_DEVTOOLS_DEFAULT_OPTIONS, OTTER_COMPONENTS_DEVTOOLS_OPTIONS, OtterInspectorService, PLACEHOLDER_REQUEST_REDUCER_TOKEN, PLACEHOLDER_REQUEST_STORE_NAME, PLACEHOLDER_TEMPLATE_REDUCER_TOKEN, PLACEHOLDER_TEMPLATE_STORE_NAME, PlaceholderComponent, PlaceholderModule, PlaceholderRequestStoreModule, PlaceholderTemplateStoreModule, ReplaceWithBoldPipe, ReplaceWithBoldPipeModule, cancelPlaceholderRequest, createC11nService, deletePlaceholderTemplateEntity, failPlaceholderRequestEntity, getAnalyticEvents, getAnalyticEventsRec, getConfigId, getDefaultPlaceholderTemplateReducer, getDefaultplaceholderRequestReducer, getOtterLikeComponentInfo, getTranslations, getTranslationsRec, isComponentsMessage, isContainer, lazyArray, placeholderRequestAdapter, placeholderRequestInitialState, placeholderRequestReducer, placeholderRequestReducerFeatures, placeholderRequestStorageDeserializer, placeholderRequestStorageSerializer, placeholderRequestStorageSync, placeholderTemplateAdapter, placeholderTemplateInitialState, placeholderTemplateReducer, placeholderTemplateReducerFeatures, placeholderTemplateStorageDeserializer, placeholderTemplateStorageSync, registerCustomComponent, selectPlaceholderRenderedTemplates, selectPlaceholderRequestEntities, selectPlaceholderRequestEntityUsage, selectPlaceholderRequestState, selectPlaceholderTemplateEntities, selectPlaceholderTemplateEntity, selectPlaceholderTemplateState, selectSortedTemplates, setPlaceholderRequestEntityFromUrl, setPlaceholderTemplateEntity, updatePlaceholderRequestEntity, updatePlaceholderRequestEntitySync };
|
|
1405
|
+
export { C11N_PRESENTERS_MAP_TOKEN, C11N_REGISTER_FUNC_TOKEN, C11nDirective, C11nMockModule, C11nMockService, C11nModule, C11nService, CapitalizePipe, CapitalizePipeModule, ComponentsDevtoolsMessageService, ComponentsDevtoolsModule, DurationPipe, DurationPipeModule, INSPECTOR_CLASS, KeepWhiteSpacePipe, KeepWhiteSpacePipeModule, MockC11nDirective, O3rCapitalizePipe, O3rDurationPipe, O3rKeepWhiteSpacePipe, O3rReplaceWithBoldPipe, OTTER_COMPONENTS_DEVTOOLS_DEFAULT_OPTIONS, OTTER_COMPONENTS_DEVTOOLS_OPTIONS, OtterInspectorService, PLACEHOLDER_REQUEST_REDUCER_TOKEN, PLACEHOLDER_REQUEST_STORE_NAME, PLACEHOLDER_TEMPLATE_REDUCER_TOKEN, PLACEHOLDER_TEMPLATE_STORE_NAME, PlaceholderComponent, PlaceholderModule, PlaceholderRequestStoreModule, PlaceholderTemplateStoreModule, ReplaceWithBoldPipe, ReplaceWithBoldPipeModule, cancelPlaceholderRequest, createC11nService, deletePlaceholderTemplateEntity, failPlaceholderRequestEntity, getAnalyticEvents, getAnalyticEventsRec, getConfigId, getDefaultPlaceholderTemplateReducer, getDefaultplaceholderRequestReducer, getOtterLikeComponentInfo, getTranslations, getTranslationsRec, isComponentsMessage, isContainer, lazyArray, placeholderRequestAdapter, placeholderRequestInitialState, placeholderRequestReducer, placeholderRequestReducerFeatures, placeholderRequestStorageDeserializer, placeholderRequestStorageSerializer, placeholderRequestStorageSync, placeholderTemplateAdapter, placeholderTemplateInitialState, placeholderTemplateReducer, placeholderTemplateReducerFeatures, placeholderTemplateStorageDeserializer, placeholderTemplateStorageSync, registerCustomComponent, selectPlaceholderRenderedTemplates, selectPlaceholderRequestEntities, selectPlaceholderRequestEntityUsage, selectPlaceholderRequestState, selectPlaceholderTemplateEntities, selectPlaceholderTemplateEntity, selectPlaceholderTemplateState, selectSortedTemplates, setPlaceholderRequestEntityFromUrl, setPlaceholderTemplateEntity, updatePlaceholderRequestEntity, updatePlaceholderRequestEntitySync };
|
|
1343
1406
|
//# sourceMappingURL=o3r-components.mjs.map
|