@net7/boilerplate-common 3.9.1 → 4.0.0
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/esm2020/lib/components/container/container.mjs +4 -4
- package/esm2020/lib/components/grid/grid.mjs +4 -4
- package/esm2020/lib/components/side-scroller/side-scroller.mjs +4 -4
- package/esm2020/lib/components/smart-pagination/smart-pagination.mjs +6 -6
- package/esm2020/lib/directives/click-outside.directive.mjs +4 -4
- package/esm2020/lib/layouts/main-layout/main-layout.mjs +4 -4
- package/esm2020/lib/layouts/page404-layout/page404-layout.mjs +4 -4
- package/esm2020/lib/n7-boilerplate-common.module.mjs +7 -9
- package/esm2020/lib/services/communication-providers/apollo.provider.mjs +4 -4
- package/esm2020/lib/services/communication-providers/rest.provider.mjs +4 -4
- package/esm2020/lib/services/communication.service.mjs +16 -4
- package/esm2020/lib/services/configuration.service.mjs +4 -4
- package/esm2020/lib/services/json-config.service.mjs +4 -4
- package/esm2020/lib/services/layouts-configuration.service.mjs +4 -4
- package/esm2020/lib/services/local-config.service.mjs +4 -4
- package/esm2020/lib/services/main-state.service.mjs +4 -4
- package/fesm2015/net7-boilerplate-common.mjs +63 -53
- package/fesm2015/net7-boilerplate-common.mjs.map +1 -1
- package/fesm2020/net7-boilerplate-common.mjs +63 -53
- package/fesm2020/net7-boilerplate-common.mjs.map +1 -1
- package/{net7-boilerplate-common.d.ts → index.d.ts} +0 -0
- package/lib/components/container/container.d.ts +1 -1
- package/lib/components/grid/grid.d.ts +1 -1
- package/lib/components/side-scroller/side-scroller.d.ts +1 -1
- package/lib/components/smart-pagination/smart-pagination.d.ts +1 -1
- package/lib/directives/click-outside.directive.d.ts +1 -1
- package/lib/layouts/main-layout/main-layout.d.ts +1 -1
- package/lib/layouts/page404-layout/page404-layout.d.ts +1 -1
- package/lib/services/communication.service.d.ts +1 -0
- package/package.json +5 -5
- package/src/lib/styles/common/layouts/_main-layout.scss +1 -1
|
@@ -44,12 +44,12 @@ export class MainStateService {
|
|
|
44
44
|
return this[type][key];
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
MainStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
48
|
-
MainStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
47
|
+
MainStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MainStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
48
|
+
MainStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MainStateService, providedIn: 'root' });
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MainStateService, decorators: [{
|
|
50
50
|
type: Injectable,
|
|
51
51
|
args: [{
|
|
52
52
|
providedIn: 'root',
|
|
53
53
|
}]
|
|
54
54
|
}] });
|
|
55
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
55
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi1zdGF0ZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbjctYm9pbGVycGxhdGUtY29tbW9uL3NyYy9saWIvc2VydmljZXMvbWFpbi1zdGF0ZS5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLE1BQU0sQ0FBQzs7QUFLckMsTUFBTSxPQUFPLGdCQUFnQjtJQUg3QjtRQUlFLGlCQUFpQj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XG5cbiAgcHVibGljIGFkZEN1c3RvbShrZXk6IHN0cmluZywgc3RyZWFtJDogUmVwbGF5U3ViamVjdDxhbnk+KSB7XG4gICAgaWYgKHRoaXMuY3VzdG9tW2tleV0pIHRocm93IEVycm9yKGBjdXN0b20gc3RyZWFtICR7a2V5fSBleGlzdHMhYCk7XG5cbiAgICB0aGlzLmN1c3RvbVtrZXldID0gc3RyZWFtJDtcbiAgfVxuXG4gIHByaXZhdGUgX3VwZGF0ZSh0eXBlOiBzdHJpbmcsIGtleTogc3RyaW5nLCBuZXdWYWx1ZTogYW55KSB7XG4gICAgaWYgKCF0aGlzW3R5cGVdKSB0aHJvdyBFcnJvcihgJHt0eXBlfSBzdHJlYW0gZ3JvdXAgZG9lcyBub3QgZXhpc3RzIWApO1xuICAgIGlmICghdGhpc1t0eXBlXVtrZXldKSB0aHJvdyBFcnJvcihgJHt0eXBlfSBzdHJlYW0gJHtrZXl9IGRvZXMgbm90IGV4aXN0cyFgKTtcblxuICAgIHRoaXNbdHlwZV1ba2V5XS5uZXh0KG5ld1ZhbHVlKTtcbiAgfVxuXG4gIHByaXZhdGUgX2dldCh0eXBlOiBzdHJpbmcsIGtleTogc3RyaW5nKSB7XG4gICAgaWYgKCF0aGlzW3R5cGVdKSB0aHJvdyBFcnJvcihgJHt0eXBlfSBzdHJlYW0gZ3JvdXAgZG9lcyBub3QgZXhpc3RzIWApO1xuICAgIGlmICghdGhpc1t0eXBlXVtrZXldKSB0aHJvdyBFcnJvcihgJHt0eXBlfSBzdHJlYW0gJHtrZXl9IGRvZXMgbm90IGV4aXN0cyFgKTtcblxuICAgIHJldHVybiB0aGlzW3R5cGVdW2tleV07XG4gIH1cbn1cbiJdfQ==
|
|
@@ -23,9 +23,9 @@ class ConfigurationService {
|
|
|
23
23
|
this.set = (key, value) => { this.defaults[key] = value; };
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
ConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
27
|
-
ConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
26
|
+
ConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ConfigurationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
27
|
+
ConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ConfigurationService, providedIn: 'root' });
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ConfigurationService, decorators: [{
|
|
29
29
|
type: Injectable,
|
|
30
30
|
args: [{
|
|
31
31
|
providedIn: 'root',
|
|
@@ -46,9 +46,9 @@ class LayoutsConfigurationService {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
LayoutsConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
50
|
-
LayoutsConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
49
|
+
LayoutsConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LayoutsConfigurationService, deps: [{ token: 'config' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
50
|
+
LayoutsConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LayoutsConfigurationService, providedIn: 'root' });
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LayoutsConfigurationService, decorators: [{
|
|
52
52
|
type: Injectable,
|
|
53
53
|
args: [{
|
|
54
54
|
providedIn: 'root',
|
|
@@ -103,9 +103,9 @@ class MainStateService {
|
|
|
103
103
|
return this[type][key];
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
|
-
MainStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
107
|
-
MainStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
106
|
+
MainStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MainStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
107
|
+
MainStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MainStateService, providedIn: 'root' });
|
|
108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MainStateService, decorators: [{
|
|
109
109
|
type: Injectable,
|
|
110
110
|
args: [{
|
|
111
111
|
providedIn: 'root',
|
|
@@ -185,9 +185,9 @@ class ApolloProvider {
|
|
|
185
185
|
return paramsStr.join(' ');
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
-
ApolloProvider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
189
|
-
ApolloProvider.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
190
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
188
|
+
ApolloProvider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ApolloProvider, deps: [{ token: i1.HttpClient }, { token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
189
|
+
ApolloProvider.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ApolloProvider, providedIn: 'root' });
|
|
190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ApolloProvider, decorators: [{
|
|
191
191
|
type: Injectable,
|
|
192
192
|
args: [{
|
|
193
193
|
providedIn: 'root',
|
|
@@ -222,9 +222,9 @@ class RestProvider {
|
|
|
222
222
|
throw Error(`Rest method ${method} not supported`);
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
|
-
RestProvider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
226
|
-
RestProvider.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
227
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
225
|
+
RestProvider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RestProvider, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
226
|
+
RestProvider.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RestProvider, providedIn: 'root' });
|
|
227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RestProvider, decorators: [{
|
|
228
228
|
type: Injectable,
|
|
229
229
|
args: [{
|
|
230
230
|
providedIn: 'root',
|
|
@@ -268,10 +268,22 @@ class CommunicationService {
|
|
|
268
268
|
}
|
|
269
269
|
return empty();
|
|
270
270
|
}
|
|
271
|
+
getUrl(requestId, provider) {
|
|
272
|
+
const activeProvider = provider || this.defaultProvider;
|
|
273
|
+
const activeProviderConfig = this.communicationConfig.providers[activeProvider];
|
|
274
|
+
if (!activeProviderConfig) {
|
|
275
|
+
throw Error(`There is no config for "${activeProvider}" provider`);
|
|
276
|
+
}
|
|
277
|
+
const baseUrl = activeProviderConfig.baseUrl;
|
|
278
|
+
if (!activeProviderConfig.config[requestId]) {
|
|
279
|
+
throw Error(`There is no config for "${requestId}" `);
|
|
280
|
+
}
|
|
281
|
+
return baseUrl + activeProviderConfig.config[requestId];
|
|
282
|
+
}
|
|
271
283
|
}
|
|
272
|
-
CommunicationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
273
|
-
CommunicationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
284
|
+
CommunicationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CommunicationService, deps: [{ token: ConfigurationService }, { token: ApolloProvider }, { token: RestProvider }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
285
|
+
CommunicationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CommunicationService, providedIn: 'root' });
|
|
286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CommunicationService, decorators: [{
|
|
275
287
|
type: Injectable,
|
|
276
288
|
args: [{
|
|
277
289
|
providedIn: 'root',
|
|
@@ -855,9 +867,9 @@ class MainLayoutComponent extends AbstractLayout {
|
|
|
855
867
|
this.onDestroy();
|
|
856
868
|
}
|
|
857
869
|
}
|
|
858
|
-
MainLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
859
|
-
MainLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
860
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
870
|
+
MainLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MainLayoutComponent, deps: [{ token: i1$1.Router }, { token: i1$1.ActivatedRoute }, { token: ConfigurationService }, { token: LayoutsConfigurationService }, { token: MainStateService }, { token: i5.Title }], target: i0.ɵɵFactoryTarget.Component });
|
|
871
|
+
MainLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: MainLayoutComponent, selector: "main-layout", usesInheritance: true, ngImport: i0, template: "<div class=\"n7-main-layout\" id=\"main-layout\">\n <div class=\"n7-page-content\">\n <n7-header\n [data]=\"lb.widgets['header'].ds.out$ | async\"\n [emit]=\"lb.widgets['header'].emit\">\n </n7-header>\n <main class=\"n7-content\">\n <div class=\"n7-top-page-bar\">\n <div class=\"n7-top-page-bar__main\"></div>\n </div>\n <div class=\"n7-alert-bar\">\n <!--<n7-alert\n [attr.id]=\"'main-layout-alert'\"\n [data]=\"lb.dataSource.alertData$ | async\"\n [emit]=\"lb.dataSource.closeAlert.bind(lb.dataSource)\"></n7-alert>-->\n </div>\n <ng-content></ng-content>\n </main>\n </div>\n <n7-footer\n [data]=\"lb.widgets['footer'].ds.out$ | async\"\n [emit]=\"lb.widgets['footer'].emit\">\n </n7-footer>\n</div>\n", dependencies: [{ kind: "component", type: i6.FooterComponent, selector: "n7-footer", inputs: ["data", "emit"] }, { kind: "component", type: i6.HeaderComponent, selector: "n7-header", inputs: ["data", "emit"] }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }] });
|
|
872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MainLayoutComponent, decorators: [{
|
|
861
873
|
type: Component,
|
|
862
874
|
args: [{ selector: 'main-layout', template: "<div class=\"n7-main-layout\" id=\"main-layout\">\n <div class=\"n7-page-content\">\n <n7-header\n [data]=\"lb.widgets['header'].ds.out$ | async\"\n [emit]=\"lb.widgets['header'].emit\">\n </n7-header>\n <main class=\"n7-content\">\n <div class=\"n7-top-page-bar\">\n <div class=\"n7-top-page-bar__main\"></div>\n </div>\n <div class=\"n7-alert-bar\">\n <!--<n7-alert\n [attr.id]=\"'main-layout-alert'\"\n [data]=\"lb.dataSource.alertData$ | async\"\n [emit]=\"lb.dataSource.closeAlert.bind(lb.dataSource)\"></n7-alert>-->\n </div>\n <ng-content></ng-content>\n </main>\n </div>\n <n7-footer\n [data]=\"lb.widgets['footer'].ds.out$ | async\"\n [emit]=\"lb.widgets['footer'].emit\">\n </n7-footer>\n</div>\n" }]
|
|
863
875
|
}], ctorParameters: function () { return [{ type: i1$1.Router }, { type: i1$1.ActivatedRoute }, { type: ConfigurationService }, { type: LayoutsConfigurationService }, { type: MainStateService }, { type: i5.Title }]; } });
|
|
@@ -930,9 +942,9 @@ class Page404LayoutComponent extends AbstractLayout {
|
|
|
930
942
|
this.onDestroy();
|
|
931
943
|
}
|
|
932
944
|
}
|
|
933
|
-
Page404LayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
934
|
-
Page404LayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
935
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
945
|
+
Page404LayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Page404LayoutComponent, deps: [{ token: LayoutsConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
946
|
+
Page404LayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: Page404LayoutComponent, selector: "n7-page404-layout", usesInheritance: true, ngImport: i0, template: "<div class=\"n7-page404-layout\">\n 404 - Resource not found\n</div>" });
|
|
947
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Page404LayoutComponent, decorators: [{
|
|
936
948
|
type: Component,
|
|
937
949
|
args: [{ selector: 'n7-page404-layout', template: "<div class=\"n7-page404-layout\">\n 404 - Resource not found\n</div>" }]
|
|
938
950
|
}], ctorParameters: function () { return [{ type: LayoutsConfigurationService }]; } });
|
|
@@ -947,9 +959,9 @@ class SmartPaginationComponent {
|
|
|
947
959
|
this.emit('change', payload);
|
|
948
960
|
}
|
|
949
961
|
}
|
|
950
|
-
SmartPaginationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
951
|
-
SmartPaginationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
952
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
962
|
+
SmartPaginationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SmartPaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
963
|
+
SmartPaginationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: SmartPaginationComponent, selector: "n7-smart-pagination", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div class=\"n7-smart-pagination\" *ngIf=\"data\">\n <n7-pagination\n [data]=\"data\"\n [emit]=\"emit\">\n </n7-pagination>\n</div>", dependencies: [{ kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6.PaginationComponent, selector: "n7-pagination", inputs: ["data", "emit"] }] });
|
|
964
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SmartPaginationComponent, decorators: [{
|
|
953
965
|
type: Component,
|
|
954
966
|
args: [{ selector: 'n7-smart-pagination', template: "<div class=\"n7-smart-pagination\" *ngIf=\"data\">\n <n7-pagination\n [data]=\"data\"\n [emit]=\"emit\">\n </n7-pagination>\n</div>" }]
|
|
955
967
|
}], ctorParameters: function () { return []; }, propDecorators: { data: [{
|
|
@@ -973,9 +985,9 @@ class ClickOutsideDirective {
|
|
|
973
985
|
}
|
|
974
986
|
}
|
|
975
987
|
}
|
|
976
|
-
ClickOutsideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
977
|
-
ClickOutsideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
978
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
988
|
+
ClickOutsideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ClickOutsideDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
989
|
+
ClickOutsideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: ClickOutsideDirective, selector: "[clickOutside]", outputs: { clickOutside: "clickOutside" }, host: { listeners: { "document:click": "onClick($event,$event.target)" } }, ngImport: i0 });
|
|
990
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ClickOutsideDirective, decorators: [{
|
|
979
991
|
type: Directive,
|
|
980
992
|
args: [{
|
|
981
993
|
selector: '[clickOutside]'
|
|
@@ -989,9 +1001,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
|
|
|
989
1001
|
|
|
990
1002
|
class GridComponent {
|
|
991
1003
|
}
|
|
992
|
-
GridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
993
|
-
GridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
994
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1004
|
+
GridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: GridComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1005
|
+
GridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: GridComponent, selector: "n7-grid", inputs: { templateColumns: "templateColumns", classes: "classes" }, ngImport: i0, template: "<div\n class=\"n7-grid {{classes || ''}}\"\n [ngStyle]=\"{'grid-template-columns': templateColumns}\"\n>\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "directive", type: i1$2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
1006
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: GridComponent, decorators: [{
|
|
995
1007
|
type: Component,
|
|
996
1008
|
args: [{ selector: 'n7-grid', template: "<div\n class=\"n7-grid {{classes || ''}}\"\n [ngStyle]=\"{'grid-template-columns': templateColumns}\"\n>\n <ng-content></ng-content>\n</div>\n" }]
|
|
997
1009
|
}], propDecorators: { templateColumns: [{
|
|
@@ -1002,9 +1014,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
|
|
|
1002
1014
|
|
|
1003
1015
|
class ContainerComponent {
|
|
1004
1016
|
}
|
|
1005
|
-
ContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1006
|
-
ContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1007
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1017
|
+
ContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1018
|
+
ContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: ContainerComponent, selector: "n7-container", inputs: { fluid: "fluid", classes: "classes" }, ngImport: i0, template: "<div class=\"n7-container {{classes || ''}}\" [ngClass]=\"{'is-fluid': fluid}\">\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
1019
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ContainerComponent, decorators: [{
|
|
1008
1020
|
type: Component,
|
|
1009
1021
|
args: [{ selector: 'n7-container', template: "<div class=\"n7-container {{classes || ''}}\" [ngClass]=\"{'is-fluid': fluid}\">\n <ng-content></ng-content>\n</div>\n" }]
|
|
1010
1022
|
}], propDecorators: { fluid: [{
|
|
@@ -1015,9 +1027,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
|
|
|
1015
1027
|
|
|
1016
1028
|
class SideScrollerComponent {
|
|
1017
1029
|
}
|
|
1018
|
-
SideScrollerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1019
|
-
SideScrollerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1020
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1030
|
+
SideScrollerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SideScrollerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1031
|
+
SideScrollerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: SideScrollerComponent, selector: "n7-side-scroller", inputs: { classes: "classes" }, ngImport: i0, template: "<div\n class=\"n7-side-scroller {{classes || ''}} \"\n>\n <ng-content></ng-content>\n</div>" });
|
|
1032
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SideScrollerComponent, decorators: [{
|
|
1021
1033
|
type: Component,
|
|
1022
1034
|
args: [{ selector: 'n7-side-scroller', template: "<div\n class=\"n7-side-scroller {{classes || ''}} \"\n>\n <ng-content></ng-content>\n</div>" }]
|
|
1023
1035
|
}], propDecorators: { classes: [{
|
|
@@ -1047,8 +1059,8 @@ class N7BoilerplateCommonModule {
|
|
|
1047
1059
|
};
|
|
1048
1060
|
}
|
|
1049
1061
|
}
|
|
1050
|
-
N7BoilerplateCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1051
|
-
N7BoilerplateCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
1062
|
+
N7BoilerplateCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: N7BoilerplateCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1063
|
+
N7BoilerplateCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: N7BoilerplateCommonModule, declarations: [MainLayoutComponent,
|
|
1052
1064
|
Page404LayoutComponent,
|
|
1053
1065
|
SmartPaginationComponent,
|
|
1054
1066
|
ClickOutsideDirective,
|
|
@@ -1063,12 +1075,10 @@ N7BoilerplateCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0
|
|
|
1063
1075
|
GridComponent,
|
|
1064
1076
|
ContainerComponent,
|
|
1065
1077
|
SideScrollerComponent] });
|
|
1066
|
-
N7BoilerplateCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
]] });
|
|
1071
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: N7BoilerplateCommonModule, decorators: [{
|
|
1078
|
+
N7BoilerplateCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: N7BoilerplateCommonModule, imports: [CommonModule,
|
|
1079
|
+
HttpClientModule,
|
|
1080
|
+
DvComponentsLibModule] });
|
|
1081
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: N7BoilerplateCommonModule, decorators: [{
|
|
1072
1082
|
type: NgModule,
|
|
1073
1083
|
args: [{
|
|
1074
1084
|
declarations: DECLARATIONS,
|
|
@@ -1121,9 +1131,9 @@ class JsonConfigService {
|
|
|
1121
1131
|
}
|
|
1122
1132
|
}
|
|
1123
1133
|
}
|
|
1124
|
-
JsonConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1125
|
-
JsonConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1134
|
+
JsonConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: JsonConfigService, deps: [{ token: i1.HttpClient }, { token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1135
|
+
JsonConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: JsonConfigService, providedIn: 'root' });
|
|
1136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: JsonConfigService, decorators: [{
|
|
1127
1137
|
type: Injectable,
|
|
1128
1138
|
args: [{
|
|
1129
1139
|
providedIn: 'root',
|
|
@@ -1162,9 +1172,9 @@ class LocalConfigService {
|
|
|
1162
1172
|
})).toPromise();
|
|
1163
1173
|
}
|
|
1164
1174
|
}
|
|
1165
|
-
LocalConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1166
|
-
LocalConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1175
|
+
LocalConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LocalConfigService, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1176
|
+
LocalConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LocalConfigService, providedIn: 'root' });
|
|
1177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LocalConfigService, decorators: [{
|
|
1168
1178
|
type: Injectable,
|
|
1169
1179
|
args: [{
|
|
1170
1180
|
providedIn: 'root',
|