@o3r/components 12.0.0-next.2 → 12.0.0-next.21
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-config.extractor.js +2 -2
- package/builders/component-extractor/helpers/component/component-config.extractor.js.map +1 -1
- package/builders/component-extractor/helpers/component/component.extractor.d.ts.map +1 -1
- package/builders/component-extractor/helpers/component/component.extractor.js +3 -0
- package/builders/component-extractor/helpers/component/component.extractor.js.map +1 -1
- package/builders/component-extractor/index.d.ts.map +1 -1
- package/builders/component-extractor/index.js +1 -0
- package/builders/component-extractor/index.js.map +1 -1
- package/builders/metadata-check/helpers/config-metadata-comparison.helper.d.ts.map +1 -1
- package/builders/metadata-check/helpers/config-metadata-comparison.helper.js +1 -3
- package/builders/metadata-check/helpers/config-metadata-comparison.helper.js.map +1 -1
- package/builders/package.json +3 -0
- package/fesm2022/o3r-components-rules-engine.mjs +11 -16
- package/fesm2022/o3r-components-rules-engine.mjs.map +1 -1
- package/fesm2022/o3r-components.mjs +64 -183
- package/fesm2022/o3r-components.mjs.map +1 -1
- package/package.json +26 -29
- package/rules-engine/package.json +3 -0
- package/rules-engine/placeholder.rules-engine.effect.d.ts +2 -2
- package/rules-engine/placeholder.rules-engine.effect.d.ts.map +1 -1
- package/schemas/placeholder-template.schema.json +0 -8
- package/schematics/package.json +3 -0
- package/stores/placeholder-request/placeholder-request.state.d.ts +0 -1
- package/stores/placeholder-request/placeholder-request.state.d.ts.map +1 -1
- package/tools/component-replacement/c11n.directive.d.ts.map +1 -1
- package/tools/component-replacement/c11n.mock.module.d.ts.map +1 -1
- package/tools/pipes/capitalize/capitalize.pipe.d.ts +0 -7
- package/tools/pipes/capitalize/capitalize.pipe.d.ts.map +1 -1
- package/tools/pipes/capitalize/index.d.ts +0 -1
- package/tools/pipes/capitalize/index.d.ts.map +1 -1
- package/tools/pipes/duration/duration.pipe.d.ts +0 -8
- package/tools/pipes/duration/duration.pipe.d.ts.map +1 -1
- package/tools/pipes/duration/index.d.ts +0 -1
- package/tools/pipes/duration/index.d.ts.map +1 -1
- package/tools/pipes/keep-white-space/index.d.ts +0 -1
- package/tools/pipes/keep-white-space/index.d.ts.map +1 -1
- package/tools/pipes/keep-white-space/keep-white-space.pipe.d.ts +1 -8
- package/tools/pipes/keep-white-space/keep-white-space.pipe.d.ts.map +1 -1
- package/tools/pipes/replace-with-bold/index.d.ts +0 -1
- package/tools/pipes/replace-with-bold/index.d.ts.map +1 -1
- package/tools/pipes/replace-with-bold/replace-with-bold.pipe.d.ts +0 -8
- package/tools/pipes/replace-with-bold/replace-with-bold.pipe.d.ts.map +1 -1
- package/tools/placeholder/placeholder.component.d.ts.map +1 -1
- package/esm2022/core/component.output.mjs +0 -2
- package/esm2022/core/index.mjs +0 -3
- package/esm2022/core/rendering/helpers.mjs +0 -31
- package/esm2022/core/rendering/index.mjs +0 -2
- package/esm2022/devkit/components-devkit.interface.mjs +0 -13
- package/esm2022/devkit/components-devtools.message.service.mjs +0 -115
- package/esm2022/devkit/components-devtools.module.mjs +0 -43
- package/esm2022/devkit/components-devtools.token.mjs +0 -6
- package/esm2022/devkit/index.mjs +0 -6
- package/esm2022/devkit/inspector/index.mjs +0 -4
- package/esm2022/devkit/inspector/ng/index.mjs +0 -2
- package/esm2022/devkit/inspector/ng/ng.mjs +0 -2
- package/esm2022/devkit/inspector/otter-inspector.helpers.mjs +0 -114
- package/esm2022/devkit/inspector/otter-inspector.service.mjs +0 -166
- package/esm2022/o3r-components.mjs +0 -5
- package/esm2022/public_api.mjs +0 -5
- package/esm2022/rules-engine/o3r-components-rules-engine.mjs +0 -5
- package/esm2022/rules-engine/placeholder.action-handler.mjs +0 -156
- package/esm2022/rules-engine/placeholder.interfaces.mjs +0 -3
- package/esm2022/rules-engine/placeholder.rules-engine.effect.mjs +0 -136
- package/esm2022/rules-engine/placeholder.rules-engine.module.mjs +0 -31
- package/esm2022/rules-engine/public_api.mjs +0 -4
- package/esm2022/stores/index.mjs +0 -3
- package/esm2022/stores/placeholder-request/index.mjs +0 -7
- package/esm2022/stores/placeholder-request/placeholder-request.actions.mjs +0 -18
- package/esm2022/stores/placeholder-request/placeholder-request.module.mjs +0 -39
- package/esm2022/stores/placeholder-request/placeholder-request.reducer.mjs +0 -71
- package/esm2022/stores/placeholder-request/placeholder-request.selectors.mjs +0 -15
- package/esm2022/stores/placeholder-request/placeholder-request.state.mjs +0 -5
- package/esm2022/stores/placeholder-request/placeholder-request.sync.mjs +0 -18
- package/esm2022/stores/placeholder-template/index.mjs +0 -7
- package/esm2022/stores/placeholder-template/placeholder-template.actions.mjs +0 -10
- package/esm2022/stores/placeholder-template/placeholder-template.module.mjs +0 -39
- package/esm2022/stores/placeholder-template/placeholder-template.reducer.mjs +0 -39
- package/esm2022/stores/placeholder-template/placeholder-template.selectors.mjs +0 -70
- package/esm2022/stores/placeholder-template/placeholder-template.state.mjs +0 -5
- package/esm2022/stores/placeholder-template/placeholder-template.sync.mjs +0 -15
- package/esm2022/tools/component-replacement/c11n.directive.mjs +0 -159
- package/esm2022/tools/component-replacement/c11n.helpers.mjs +0 -11
- package/esm2022/tools/component-replacement/c11n.mock.module.mjs +0 -46
- package/esm2022/tools/component-replacement/c11n.module.mjs +0 -47
- package/esm2022/tools/component-replacement/c11n.service.mjs +0 -37
- package/esm2022/tools/component-replacement/c11n.token.mjs +0 -6
- package/esm2022/tools/component-replacement/index.mjs +0 -7
- package/esm2022/tools/index.mjs +0 -4
- package/esm2022/tools/pipes/capitalize/capitalize.module.mjs +0 -19
- package/esm2022/tools/pipes/capitalize/capitalize.pipe.mjs +0 -27
- package/esm2022/tools/pipes/capitalize/index.mjs +0 -3
- package/esm2022/tools/pipes/duration/duration.model.mjs +0 -20
- package/esm2022/tools/pipes/duration/duration.module.mjs +0 -19
- package/esm2022/tools/pipes/duration/duration.pipe.mjs +0 -78
- package/esm2022/tools/pipes/duration/index.mjs +0 -3
- package/esm2022/tools/pipes/index.mjs +0 -5
- package/esm2022/tools/pipes/keep-white-space/index.mjs +0 -3
- package/esm2022/tools/pipes/keep-white-space/keep-white-space.module.mjs +0 -19
- package/esm2022/tools/pipes/keep-white-space/keep-white-space.pipe.mjs +0 -29
- package/esm2022/tools/pipes/replace-with-bold/index.mjs +0 -3
- package/esm2022/tools/pipes/replace-with-bold/replace-with-bold.module.mjs +0 -19
- package/esm2022/tools/pipes/replace-with-bold/replace-with-bold.pipe.mjs +0 -40
- package/esm2022/tools/placeholder/index.mjs +0 -3
- package/esm2022/tools/placeholder/placeholder.component.mjs +0 -83
- package/esm2022/tools/placeholder/placeholder.interface.mjs +0 -2
- package/esm2022/tools/placeholder/placeholder.module.mjs +0 -32
- package/tools/pipes/capitalize/capitalize.module.d.ts +0 -11
- package/tools/pipes/capitalize/capitalize.module.d.ts.map +0 -1
- package/tools/pipes/duration/duration.module.d.ts +0 -11
- package/tools/pipes/duration/duration.module.d.ts.map +0 -1
- package/tools/pipes/keep-white-space/keep-white-space.module.d.ts +0 -11
- package/tools/pipes/keep-white-space/keep-white-space.module.d.ts.map +0 -1
- package/tools/pipes/replace-with-bold/replace-with-bold.module.d.ts +0 -11
- package/tools/pipes/replace-with-bold/replace-with-bold.module.d.ts.map +0 -1
|
@@ -157,13 +157,13 @@ class PlaceholderRequestStoreModule {
|
|
|
157
157
|
]
|
|
158
158
|
};
|
|
159
159
|
}
|
|
160
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
161
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
162
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
160
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: PlaceholderRequestStoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
161
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.7", ngImport: i0, type: PlaceholderRequestStoreModule, imports: [i1.StoreFeatureModule] }); }
|
|
162
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: PlaceholderRequestStoreModule, providers: [
|
|
163
163
|
{ provide: PLACEHOLDER_REQUEST_REDUCER_TOKEN, useFactory: getDefaultplaceholderRequestReducer }
|
|
164
164
|
], imports: [StoreModule.forFeature(PLACEHOLDER_REQUEST_STORE_NAME, PLACEHOLDER_REQUEST_REDUCER_TOKEN)] }); }
|
|
165
165
|
}
|
|
166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: PlaceholderRequestStoreModule, decorators: [{
|
|
167
167
|
type: NgModule,
|
|
168
168
|
args: [{
|
|
169
169
|
imports: [
|
|
@@ -268,13 +268,13 @@ class PlaceholderTemplateStoreModule {
|
|
|
268
268
|
]
|
|
269
269
|
};
|
|
270
270
|
}
|
|
271
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
272
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
273
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
271
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: PlaceholderTemplateStoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
272
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.7", ngImport: i0, type: PlaceholderTemplateStoreModule, imports: [i1.StoreFeatureModule] }); }
|
|
273
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: PlaceholderTemplateStoreModule, providers: [
|
|
274
274
|
{ provide: PLACEHOLDER_TEMPLATE_REDUCER_TOKEN, useFactory: getDefaultPlaceholderTemplateReducer }
|
|
275
275
|
], imports: [StoreModule.forFeature(PLACEHOLDER_TEMPLATE_STORE_NAME, PLACEHOLDER_TEMPLATE_REDUCER_TOKEN)] }); }
|
|
276
276
|
}
|
|
277
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
277
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: PlaceholderTemplateStoreModule, decorators: [{
|
|
278
278
|
type: NgModule,
|
|
279
279
|
args: [{
|
|
280
280
|
imports: [
|
|
@@ -734,10 +734,10 @@ class ComponentsDevtoolsMessageService {
|
|
|
734
734
|
this.inspectorService.otterLikeComponentInfoToBeSent$
|
|
735
735
|
.pipe(takeUntilDestroyed(this.destroyRef), filter((info) => !!info)).subscribe((info) => this.sendMessage('selectedComponentInfo', info));
|
|
736
736
|
}
|
|
737
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
738
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
737
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ComponentsDevtoolsMessageService, deps: [{ token: i1$1.LoggerService }, { token: i1.Store }, { token: OTTER_COMPONENTS_DEVTOOLS_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
738
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ComponentsDevtoolsMessageService, providedIn: 'root' }); }
|
|
739
739
|
}
|
|
740
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
740
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ComponentsDevtoolsMessageService, decorators: [{
|
|
741
741
|
type: Injectable,
|
|
742
742
|
args: [{
|
|
743
743
|
providedIn: 'root'
|
|
@@ -763,16 +763,16 @@ class ComponentsDevtoolsModule {
|
|
|
763
763
|
]
|
|
764
764
|
};
|
|
765
765
|
}
|
|
766
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
767
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
766
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ComponentsDevtoolsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
767
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.7", ngImport: i0, type: ComponentsDevtoolsModule, imports: [StoreModule,
|
|
768
768
|
PlaceholderTemplateStoreModule] }); }
|
|
769
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
769
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ComponentsDevtoolsModule, providers: [
|
|
770
770
|
{ provide: OTTER_COMPONENTS_DEVTOOLS_OPTIONS, useValue: OTTER_COMPONENTS_DEVTOOLS_DEFAULT_OPTIONS },
|
|
771
771
|
ComponentsDevtoolsMessageService
|
|
772
772
|
], imports: [StoreModule,
|
|
773
773
|
PlaceholderTemplateStoreModule] }); }
|
|
774
774
|
}
|
|
775
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
775
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ComponentsDevtoolsModule, decorators: [{
|
|
776
776
|
type: NgModule,
|
|
777
777
|
args: [{
|
|
778
778
|
imports: [
|
|
@@ -899,8 +899,8 @@ class C11nDirective {
|
|
|
899
899
|
this.componentRef.destroy();
|
|
900
900
|
}
|
|
901
901
|
}
|
|
902
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
903
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
902
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: C11nDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.KeyValueDiffers }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
903
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.7", type: C11nDirective, isStandalone: false, selector: "[c11n]", inputs: { component: "component", config: "config", formControl: "formControl", inputs: "inputs", outputs: "outputs" }, providers: [
|
|
904
904
|
{
|
|
905
905
|
provide: NG_VALUE_ACCESSOR,
|
|
906
906
|
useExisting: forwardRef((() => C11nDirective)),
|
|
@@ -913,7 +913,7 @@ class C11nDirective {
|
|
|
913
913
|
}
|
|
914
914
|
], usesOnChanges: true, ngImport: i0 }); }
|
|
915
915
|
}
|
|
916
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
916
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: C11nDirective, decorators: [{
|
|
917
917
|
type: Directive,
|
|
918
918
|
args: [{
|
|
919
919
|
selector: '[c11n]',
|
|
@@ -928,7 +928,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
928
928
|
useExisting: forwardRef((() => C11nDirective)),
|
|
929
929
|
multi: true
|
|
930
930
|
}
|
|
931
|
-
]
|
|
931
|
+
],
|
|
932
|
+
standalone: false
|
|
932
933
|
}]
|
|
933
934
|
}], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: i0.KeyValueDiffers }, { type: i0.Injector }], propDecorators: { component: [{
|
|
934
935
|
type: Input
|
|
@@ -981,10 +982,10 @@ class C11nService {
|
|
|
981
982
|
return typeof presenterConfig === 'string' && presenterConfig !== '' ? (this.presentersMap.get(presenterConfig) || defaultPres) : defaultPres;
|
|
982
983
|
}));
|
|
983
984
|
}
|
|
984
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
985
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
985
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: C11nService, deps: [{ token: C11N_PRESENTERS_MAP_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
986
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: C11nService }); }
|
|
986
987
|
}
|
|
987
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
988
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: C11nService, decorators: [{
|
|
988
989
|
type: Injectable
|
|
989
990
|
}], ctorParameters: () => [{ type: Map, decorators: [{
|
|
990
991
|
type: Inject,
|
|
@@ -993,15 +994,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
993
994
|
|
|
994
995
|
/** C11n directive mock */
|
|
995
996
|
class MockC11nDirective {
|
|
996
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
997
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
997
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: MockC11nDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
998
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.7", type: MockC11nDirective, isStandalone: false, selector: "[c11n]", inputs: { config: "config", component: "component", inputs: "inputs", outputs: "outputs" }, ngImport: i0 }); }
|
|
998
999
|
}
|
|
999
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: MockC11nDirective, decorators: [{
|
|
1000
1001
|
type: Directive,
|
|
1001
1002
|
args: [{
|
|
1002
1003
|
selector: '[c11n]',
|
|
1003
1004
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property -- mocked directive
|
|
1004
|
-
inputs: ['config', 'component', 'inputs', 'outputs']
|
|
1005
|
+
inputs: ['config', 'component', 'inputs', 'outputs'],
|
|
1006
|
+
standalone: false
|
|
1005
1007
|
}]
|
|
1006
1008
|
}] });
|
|
1007
1009
|
/** C11n service mock */
|
|
@@ -1010,21 +1012,21 @@ class C11nMockService {
|
|
|
1010
1012
|
getPresenter(_defaultPres, _presKey) {
|
|
1011
1013
|
return (source) => source.pipe(mapTo(null));
|
|
1012
1014
|
}
|
|
1013
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1014
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1015
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: C11nMockService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1016
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: C11nMockService }); }
|
|
1015
1017
|
}
|
|
1016
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1018
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: C11nMockService, decorators: [{
|
|
1017
1019
|
type: Injectable
|
|
1018
1020
|
}] });
|
|
1019
1021
|
/**
|
|
1020
1022
|
* The purpose of this module is to be imported in the unit tests of the components which are using c11n directive
|
|
1021
1023
|
*/
|
|
1022
1024
|
class C11nMockModule {
|
|
1023
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1024
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1025
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1025
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: C11nMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1026
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.7", ngImport: i0, type: C11nMockModule, declarations: [MockC11nDirective], exports: [MockC11nDirective] }); }
|
|
1027
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: C11nMockModule, providers: [{ provide: C11nService, useClass: C11nMockService }] }); }
|
|
1026
1028
|
}
|
|
1027
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1029
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: C11nMockModule, decorators: [{
|
|
1028
1030
|
type: NgModule,
|
|
1029
1031
|
args: [{
|
|
1030
1032
|
declarations: [MockC11nDirective],
|
|
@@ -1063,11 +1065,11 @@ class C11nModule {
|
|
|
1063
1065
|
}]
|
|
1064
1066
|
};
|
|
1065
1067
|
}
|
|
1066
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1067
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1068
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1068
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: C11nModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1069
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.7", ngImport: i0, type: C11nModule, declarations: [C11nDirective], exports: [C11nDirective] }); }
|
|
1070
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: C11nModule }); }
|
|
1069
1071
|
}
|
|
1070
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1072
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: C11nModule, decorators: [{
|
|
1071
1073
|
type: NgModule,
|
|
1072
1074
|
args: [{
|
|
1073
1075
|
declarations: [C11nDirective],
|
|
@@ -1081,39 +1083,12 @@ class O3rCapitalizePipe {
|
|
|
1081
1083
|
const firstLetter = val && val.charAt(0);
|
|
1082
1084
|
return firstLetter ? firstLetter.toUpperCase() + val.slice(1) : value;
|
|
1083
1085
|
}
|
|
1084
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1085
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1086
|
-
}
|
|
1087
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: O3rCapitalizePipe, decorators: [{
|
|
1088
|
-
type: Pipe,
|
|
1089
|
-
args: [{ name: 'o3rCapitalize', standalone: true }]
|
|
1090
|
-
}] });
|
|
1091
|
-
/**
|
|
1092
|
-
* @deprecated please use O3rCapitalizePipe, will be removed in v12.
|
|
1093
|
-
*/
|
|
1094
|
-
class CapitalizePipe extends O3rCapitalizePipe {
|
|
1095
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CapitalizePipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1096
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: CapitalizePipe, name: "capitalize" }); }
|
|
1086
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: O3rCapitalizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1087
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.0.7", ngImport: i0, type: O3rCapitalizePipe, isStandalone: true, name: "o3rCapitalize" }); }
|
|
1097
1088
|
}
|
|
1098
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1089
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: O3rCapitalizePipe, decorators: [{
|
|
1099
1090
|
type: Pipe,
|
|
1100
|
-
args: [{ name: '
|
|
1101
|
-
}] });
|
|
1102
|
-
|
|
1103
|
-
/**
|
|
1104
|
-
* @deprecated please use O3rCapitalizePipe, will be removed in v12.
|
|
1105
|
-
*/
|
|
1106
|
-
class CapitalizePipeModule {
|
|
1107
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CapitalizePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1108
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: CapitalizePipeModule, declarations: [CapitalizePipe], exports: [CapitalizePipe] }); }
|
|
1109
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CapitalizePipeModule }); }
|
|
1110
|
-
}
|
|
1111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CapitalizePipeModule, decorators: [{
|
|
1112
|
-
type: NgModule,
|
|
1113
|
-
args: [{
|
|
1114
|
-
declarations: [CapitalizePipe],
|
|
1115
|
-
exports: [CapitalizePipe]
|
|
1116
|
-
}]
|
|
1091
|
+
args: [{ name: 'o3rCapitalize' }]
|
|
1117
1092
|
}] });
|
|
1118
1093
|
|
|
1119
1094
|
/** const array of ordered measurement unit time from the highest unit to the lowest (days to seconds) */
|
|
@@ -1191,83 +1166,24 @@ class O3rDurationPipe {
|
|
|
1191
1166
|
return result.replace(matchedPatternToReplace, padded);
|
|
1192
1167
|
}, pattern);
|
|
1193
1168
|
}
|
|
1194
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1195
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1196
|
-
}
|
|
1197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: O3rDurationPipe, decorators: [{
|
|
1198
|
-
type: Pipe,
|
|
1199
|
-
args: [{ name: 'o3rDuration', standalone: true }]
|
|
1200
|
-
}] });
|
|
1201
|
-
/**
|
|
1202
|
-
* Converts a duration in seconds into the HH:mm format
|
|
1203
|
-
* @deprecated please use O3rDurationPipe, will be removed in v12.
|
|
1204
|
-
*/
|
|
1205
|
-
class DurationPipe extends O3rDurationPipe {
|
|
1206
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DurationPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1207
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DurationPipe, name: "duration" }); }
|
|
1169
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: O3rDurationPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1170
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.0.7", ngImport: i0, type: O3rDurationPipe, isStandalone: true, name: "o3rDuration" }); }
|
|
1208
1171
|
}
|
|
1209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: O3rDurationPipe, decorators: [{
|
|
1210
1173
|
type: Pipe,
|
|
1211
|
-
args: [{ name: '
|
|
1212
|
-
}] });
|
|
1213
|
-
|
|
1214
|
-
/**
|
|
1215
|
-
* @deprecated please use O3rDurationPipe, will be removed in v12.
|
|
1216
|
-
*/
|
|
1217
|
-
class DurationPipeModule {
|
|
1218
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DurationPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1219
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DurationPipeModule, declarations: [DurationPipe], exports: [DurationPipe] }); }
|
|
1220
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DurationPipeModule }); }
|
|
1221
|
-
}
|
|
1222
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DurationPipeModule, decorators: [{
|
|
1223
|
-
type: NgModule,
|
|
1224
|
-
args: [{
|
|
1225
|
-
declarations: [DurationPipe],
|
|
1226
|
-
exports: [DurationPipe]
|
|
1227
|
-
}]
|
|
1174
|
+
args: [{ name: 'o3rDuration' }]
|
|
1228
1175
|
}] });
|
|
1229
1176
|
|
|
1230
1177
|
class O3rKeepWhiteSpacePipe {
|
|
1231
1178
|
transform(value) {
|
|
1232
1179
|
return value.replace(/\s/g, ' ');
|
|
1233
1180
|
}
|
|
1234
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1235
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1236
|
-
}
|
|
1237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: O3rKeepWhiteSpacePipe, decorators: [{
|
|
1238
|
-
type: Pipe,
|
|
1239
|
-
args: [{
|
|
1240
|
-
name: 'o3rKeepWhiteSpace'
|
|
1241
|
-
}]
|
|
1242
|
-
}] });
|
|
1243
|
-
/**
|
|
1244
|
-
* @deprecated please use O3rKeepWhiteSpacePipe, will be removed in v12.
|
|
1245
|
-
*/
|
|
1246
|
-
class KeepWhiteSpacePipe extends O3rKeepWhiteSpacePipe {
|
|
1247
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: KeepWhiteSpacePipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1248
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: KeepWhiteSpacePipe, name: "keepWhiteSpace" }); }
|
|
1181
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: O3rKeepWhiteSpacePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1182
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.0.7", ngImport: i0, type: O3rKeepWhiteSpacePipe, isStandalone: true, name: "o3rKeepWhiteSpace" }); }
|
|
1249
1183
|
}
|
|
1250
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: O3rKeepWhiteSpacePipe, decorators: [{
|
|
1251
1185
|
type: Pipe,
|
|
1252
|
-
args: [{
|
|
1253
|
-
name: 'keepWhiteSpace'
|
|
1254
|
-
}]
|
|
1255
|
-
}] });
|
|
1256
|
-
|
|
1257
|
-
/**
|
|
1258
|
-
* @deprecated please use O3rKeepWhiteSpacePipe, will be removed in v12.
|
|
1259
|
-
*/
|
|
1260
|
-
class KeepWhiteSpacePipeModule {
|
|
1261
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: KeepWhiteSpacePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1262
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: KeepWhiteSpacePipeModule, declarations: [KeepWhiteSpacePipe], exports: [KeepWhiteSpacePipe] }); }
|
|
1263
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: KeepWhiteSpacePipeModule }); }
|
|
1264
|
-
}
|
|
1265
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: KeepWhiteSpacePipeModule, decorators: [{
|
|
1266
|
-
type: NgModule,
|
|
1267
|
-
args: [{
|
|
1268
|
-
declarations: [KeepWhiteSpacePipe],
|
|
1269
|
-
exports: [KeepWhiteSpacePipe]
|
|
1270
|
-
}]
|
|
1186
|
+
args: [{ name: 'o3rKeepWhiteSpace' }]
|
|
1271
1187
|
}] });
|
|
1272
1188
|
|
|
1273
1189
|
const escapeRegExp = (str) => str.replace(/[$()*+./?[\\\]^{|}-]/g, '\\$&');
|
|
@@ -1281,47 +1197,12 @@ class O3rReplaceWithBoldPipe {
|
|
|
1281
1197
|
return value;
|
|
1282
1198
|
}
|
|
1283
1199
|
}
|
|
1284
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1285
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1286
|
-
}
|
|
1287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: O3rReplaceWithBoldPipe, decorators: [{
|
|
1288
|
-
type: Pipe,
|
|
1289
|
-
args: [{
|
|
1290
|
-
name: 'o3rReplaceWithBold',
|
|
1291
|
-
standalone: true
|
|
1292
|
-
}]
|
|
1293
|
-
}] });
|
|
1294
|
-
/**
|
|
1295
|
-
* @deprecated please use O3rReplaceWithBoldPipe, will be removed in v12.
|
|
1296
|
-
*/
|
|
1297
|
-
class ReplaceWithBoldPipe extends O3rReplaceWithBoldPipe {
|
|
1298
|
-
escapeRegExp(str) {
|
|
1299
|
-
return escapeRegExp(str);
|
|
1300
|
-
}
|
|
1301
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ReplaceWithBoldPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1302
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: ReplaceWithBoldPipe, name: "replaceWithBold" }); }
|
|
1200
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: O3rReplaceWithBoldPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1201
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.0.7", ngImport: i0, type: O3rReplaceWithBoldPipe, isStandalone: true, name: "o3rReplaceWithBold" }); }
|
|
1303
1202
|
}
|
|
1304
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: O3rReplaceWithBoldPipe, decorators: [{
|
|
1305
1204
|
type: Pipe,
|
|
1306
|
-
args: [{
|
|
1307
|
-
name: 'replaceWithBold'
|
|
1308
|
-
}]
|
|
1309
|
-
}] });
|
|
1310
|
-
|
|
1311
|
-
/**
|
|
1312
|
-
* @deprecated please use O3rReplaceWithBoldPipe, will be removed in v12.
|
|
1313
|
-
*/
|
|
1314
|
-
class ReplaceWithBoldPipeModule {
|
|
1315
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ReplaceWithBoldPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1316
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: ReplaceWithBoldPipeModule, declarations: [ReplaceWithBoldPipe], exports: [ReplaceWithBoldPipe] }); }
|
|
1317
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ReplaceWithBoldPipeModule }); }
|
|
1318
|
-
}
|
|
1319
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ReplaceWithBoldPipeModule, decorators: [{
|
|
1320
|
-
type: NgModule,
|
|
1321
|
-
args: [{
|
|
1322
|
-
declarations: [ReplaceWithBoldPipe],
|
|
1323
|
-
exports: [ReplaceWithBoldPipe]
|
|
1324
|
-
}]
|
|
1205
|
+
args: [{ name: 'o3rReplaceWithBold' }]
|
|
1325
1206
|
}] });
|
|
1326
1207
|
|
|
1327
1208
|
/**
|
|
@@ -1385,30 +1266,30 @@ class PlaceholderComponent {
|
|
|
1385
1266
|
this.messages$.complete();
|
|
1386
1267
|
this.afterViewInit$.complete();
|
|
1387
1268
|
}
|
|
1388
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1389
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1269
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: PlaceholderComponent, deps: [{ token: i1.Store }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1270
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.7", type: PlaceholderComponent, isStandalone: false, selector: "o3r-placeholder", inputs: { id: "id" }, host: { properties: { "class.debug": "mode() === 'debug'" } }, ngImport: i0, template: "<ng-template #projection>\n <ng-content></ng-content>\n</ng-template>\n@switch (mode()) {\n @case ('debug') {\n <span class=\"placehoder-id\">{{ id$ | async }}</span>\n }\n @case ('pending') {\n <ng-container *ngTemplateOutlet=\"projection\" />\n }\n @case ('normal') {\n @if (isPending) {\n <ng-container *ngTemplateOutlet=\"projection\" />\n } @else {\n <div [innerHTML]=\"template\"></div>\n }\n }\n}\n", styles: [".debug{padding:15px;text-align:center;border:2px dashed var(--o3r-placeholder-debug-color, #a65c27);border-radius:10px;width:100%;background:var(--o3r-placeholder-background, #fff2ea);border-style:dashed;color:var(--o3r-placeholder-debug-color, #a65c27);font-size:larger}\n"], dependencies: [{ kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1390
1271
|
}
|
|
1391
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: PlaceholderComponent, decorators: [{
|
|
1392
1273
|
type: Component,
|
|
1393
1274
|
args: [{ selector: 'o3r-placeholder', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
1394
1275
|
'[class.debug]': `mode() === 'debug'`
|
|
1395
|
-
}, template: "<ng-template #projection>\n <ng-content></ng-content>\n</ng-template>\n@switch (mode()) {\n @case ('debug') {\n <span class=\"placehoder-id\">{{ id$ | async }}</span>\n }\n @case ('pending') {\n <ng-container *ngTemplateOutlet=\"projection\" />\n }\n @case ('normal') {\n @if (isPending) {\n <ng-container *ngTemplateOutlet=\"projection\" />\n } @else {\n <div [innerHTML]=\"template\"></div>\n }\n }\n}\n", styles: [".debug{padding:15px;text-align:center;border:2px dashed var(--o3r-placeholder-debug-color, #a65c27);border-radius:10px;width:100%;background:var(--o3r-placeholder-background, #fff2ea);border-style:dashed;color:var(--o3r-placeholder-debug-color, #a65c27);font-size:larger}\n"] }]
|
|
1276
|
+
}, standalone: false, template: "<ng-template #projection>\n <ng-content></ng-content>\n</ng-template>\n@switch (mode()) {\n @case ('debug') {\n <span class=\"placehoder-id\">{{ id$ | async }}</span>\n }\n @case ('pending') {\n <ng-container *ngTemplateOutlet=\"projection\" />\n }\n @case ('normal') {\n @if (isPending) {\n <ng-container *ngTemplateOutlet=\"projection\" />\n } @else {\n <div [innerHTML]=\"template\"></div>\n }\n }\n}\n", styles: [".debug{padding:15px;text-align:center;border:2px dashed var(--o3r-placeholder-debug-color, #a65c27);border-radius:10px;width:100%;background:var(--o3r-placeholder-background, #fff2ea);border-style:dashed;color:var(--o3r-placeholder-debug-color, #a65c27);font-size:larger}\n"] }]
|
|
1396
1277
|
}], ctorParameters: () => [{ type: i1.Store }, { type: i0.ChangeDetectorRef }], propDecorators: { id: [{
|
|
1397
1278
|
type: Input
|
|
1398
1279
|
}] } });
|
|
1399
1280
|
|
|
1400
1281
|
class PlaceholderModule {
|
|
1401
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1402
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1282
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: PlaceholderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1283
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.7", ngImport: i0, type: PlaceholderModule, declarations: [PlaceholderComponent], imports: [CommonModule,
|
|
1403
1284
|
StoreModule,
|
|
1404
1285
|
PlaceholderTemplateStoreModule,
|
|
1405
1286
|
PlaceholderRequestStoreModule], exports: [PlaceholderComponent] }); }
|
|
1406
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1287
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: PlaceholderModule, imports: [CommonModule,
|
|
1407
1288
|
StoreModule,
|
|
1408
1289
|
PlaceholderTemplateStoreModule,
|
|
1409
1290
|
PlaceholderRequestStoreModule] }); }
|
|
1410
1291
|
}
|
|
1411
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1292
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: PlaceholderModule, decorators: [{
|
|
1412
1293
|
type: NgModule,
|
|
1413
1294
|
args: [{
|
|
1414
1295
|
imports: [
|
|
@@ -1426,5 +1307,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1426
1307
|
* Generated bundle index. Do not edit.
|
|
1427
1308
|
*/
|
|
1428
1309
|
|
|
1429
|
-
export { C11N_PRESENTERS_MAP_TOKEN, C11N_REGISTER_FUNC_TOKEN, C11nDirective, C11nMockModule, C11nMockService, C11nModule, C11nService,
|
|
1310
|
+
export { C11N_PRESENTERS_MAP_TOKEN, C11N_REGISTER_FUNC_TOKEN, C11nDirective, C11nMockModule, C11nMockService, C11nModule, C11nService, ComponentsDevtoolsMessageService, ComponentsDevtoolsModule, INSPECTOR_CLASS, 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, 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, selectPlaceholderTemplateMode, selectPlaceholderTemplateState, selectSortedTemplates, setPlaceholderRequestEntityFromUrl, setPlaceholderTemplateEntity, togglePlaceholderModeTemplate, updatePlaceholderRequestEntity, updatePlaceholderRequestEntitySync };
|
|
1430
1311
|
//# sourceMappingURL=o3r-components.mjs.map
|