@net7/boilerplate-common 4.9.7 → 5.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 → esm2022}/lib/components/container/container.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/grid/grid.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/side-scroller/side-scroller.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/smart-pagination/smart-pagination.mjs +5 -5
- package/{esm2020 → esm2022}/lib/data-sources/footer.ds.mjs +1 -1
- package/esm2022/lib/data-sources/header.ds.mjs +72 -0
- package/esm2022/lib/data-sources/smart-pagination.ds.mjs +131 -0
- package/esm2022/lib/data-sources/subnav.ds.mjs +25 -0
- package/esm2022/lib/directives/click-outside.directive.mjs +31 -0
- package/esm2022/lib/event-handlers/breadcrumbs.eh.mjs +20 -0
- package/esm2022/lib/event-handlers/header.eh.mjs +29 -0
- package/esm2022/lib/event-handlers/smart-pagination.eh.mjs +19 -0
- package/{esm2020 → esm2022}/lib/event-handlers/subnav.eh.mjs +1 -1
- package/esm2022/lib/helpers.mjs +76 -0
- package/esm2022/lib/layouts/main-layout/main-layout.ds.mjs +86 -0
- package/esm2022/lib/layouts/main-layout/main-layout.eh.mjs +70 -0
- package/{esm2020 → esm2022}/lib/layouts/main-layout/main-layout.mjs +5 -5
- package/esm2022/lib/layouts/page404-layout/page404-layout.eh.mjs +36 -0
- package/{esm2020 → esm2022}/lib/layouts/page404-layout/page404-layout.mjs +5 -5
- package/{esm2020 → esm2022}/lib/n7-boilerplate-common.module.mjs +23 -23
- package/esm2022/lib/pipes/trans.pipe.mjs +47 -0
- package/esm2022/lib/services/communication-providers/apollo.provider.mjs +90 -0
- package/esm2022/lib/services/communication-providers/rest.provider.mjs +53 -0
- package/esm2022/lib/services/communication.service.mjs +78 -0
- package/{esm2020 → esm2022}/lib/services/configuration.service.mjs +4 -4
- package/esm2022/lib/services/json-config.service.mjs +63 -0
- package/esm2022/lib/services/layouts-configuration.service.mjs +27 -0
- package/esm2022/lib/services/local-config.service.mjs +46 -0
- package/{esm2020 → esm2022}/lib/services/main-state.service.mjs +4 -4
- package/{fesm2020 → fesm2022}/net7-boilerplate-common.mjs +88 -87
- package/fesm2022/net7-boilerplate-common.mjs.map +1 -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/config-types/common.d.ts +4 -4
- 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 +3 -3
- package/package.json +5 -11
- package/esm2020/lib/data-sources/header.ds.mjs +0 -72
- package/esm2020/lib/data-sources/smart-pagination.ds.mjs +0 -131
- package/esm2020/lib/data-sources/subnav.ds.mjs +0 -25
- package/esm2020/lib/directives/click-outside.directive.mjs +0 -31
- package/esm2020/lib/event-handlers/breadcrumbs.eh.mjs +0 -20
- package/esm2020/lib/event-handlers/header.eh.mjs +0 -29
- package/esm2020/lib/event-handlers/smart-pagination.eh.mjs +0 -19
- package/esm2020/lib/helpers.mjs +0 -76
- package/esm2020/lib/layouts/main-layout/main-layout.ds.mjs +0 -86
- package/esm2020/lib/layouts/main-layout/main-layout.eh.mjs +0 -70
- package/esm2020/lib/layouts/page404-layout/page404-layout.eh.mjs +0 -36
- package/esm2020/lib/pipes/trans.pipe.mjs +0 -47
- package/esm2020/lib/services/communication-providers/apollo.provider.mjs +0 -90
- package/esm2020/lib/services/communication-providers/rest.provider.mjs +0 -53
- package/esm2020/lib/services/communication.service.mjs +0 -78
- package/esm2020/lib/services/json-config.service.mjs +0 -63
- package/esm2020/lib/services/layouts-configuration.service.mjs +0 -27
- package/esm2020/lib/services/local-config.service.mjs +0 -46
- package/fesm2015/net7-boilerplate-common.mjs +0 -1348
- package/fesm2015/net7-boilerplate-common.mjs.map +0 -1
- package/fesm2020/net7-boilerplate-common.mjs.map +0 -1
- /package/{esm2020 → esm2022}/lib/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/config-types/common.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/config-types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/data-sources/breadcrumbs.ds.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/data-sources/facets.ds.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/data-sources/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/event-handlers/footer.eh.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/event-handlers/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/layouts/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/layouts/main-layout/main-layout.config.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/layouts/page404-layout/page404-layout.config.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/layouts/page404-layout/page404-layout.ds.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/models/abstract-layout.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/pipes/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/services/communication-providers/communication-provider.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/services/index.mjs +0 -0
- /package/{esm2020 → esm2022}/net7-boilerplate-common.mjs +0 -0
- /package/{esm2020 → esm2022}/public-api.mjs +0 -0
|
@@ -22,10 +22,10 @@ class ConfigurationService {
|
|
|
22
22
|
this.get = (key) => this.defaults[key];
|
|
23
23
|
this.set = (key, value) => { this.defaults[key] = value; };
|
|
24
24
|
}
|
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ConfigurationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
26
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ConfigurationService, providedIn: 'root' }); }
|
|
25
27
|
}
|
|
26
|
-
|
|
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: [{
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ConfigurationService, decorators: [{
|
|
29
29
|
type: Injectable,
|
|
30
30
|
args: [{
|
|
31
31
|
providedIn: 'root',
|
|
@@ -44,18 +44,18 @@ class LayoutsConfigurationService {
|
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: LayoutsConfigurationService, deps: [{ token: 'config' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
48
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: LayoutsConfigurationService, providedIn: 'root' }); }
|
|
47
49
|
}
|
|
48
|
-
|
|
49
|
-
LayoutsConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LayoutsConfigurationService, providedIn: 'root' });
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LayoutsConfigurationService, decorators: [{
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: LayoutsConfigurationService, decorators: [{
|
|
51
51
|
type: Injectable,
|
|
52
52
|
args: [{
|
|
53
53
|
providedIn: 'root',
|
|
54
54
|
}]
|
|
55
|
-
}], ctorParameters:
|
|
55
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
56
56
|
type: Inject,
|
|
57
57
|
args: ['config']
|
|
58
|
-
}] }]
|
|
58
|
+
}] }] });
|
|
59
59
|
|
|
60
60
|
class MainStateService {
|
|
61
61
|
constructor() {
|
|
@@ -99,10 +99,10 @@ class MainStateService {
|
|
|
99
99
|
throw Error(`${type} stream ${key} does not exists!`);
|
|
100
100
|
return this[type][key];
|
|
101
101
|
}
|
|
102
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: MainStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
103
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: MainStateService, providedIn: 'root' }); }
|
|
102
104
|
}
|
|
103
|
-
|
|
104
|
-
MainStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MainStateService, providedIn: 'root' });
|
|
105
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MainStateService, decorators: [{
|
|
105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: MainStateService, decorators: [{
|
|
106
106
|
type: Injectable,
|
|
107
107
|
args: [{
|
|
108
108
|
providedIn: 'root',
|
|
@@ -184,15 +184,15 @@ class ApolloProvider {
|
|
|
184
184
|
});
|
|
185
185
|
return paramsStr.join(' ');
|
|
186
186
|
}
|
|
187
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ApolloProvider, deps: [{ token: i1.HttpClient }, { token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
188
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ApolloProvider, providedIn: 'root' }); }
|
|
187
189
|
}
|
|
188
|
-
|
|
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: [{
|
|
190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ApolloProvider, decorators: [{
|
|
191
191
|
type: Injectable,
|
|
192
192
|
args: [{
|
|
193
193
|
providedIn: 'root',
|
|
194
194
|
}]
|
|
195
|
-
}], ctorParameters:
|
|
195
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: ConfigurationService }] });
|
|
196
196
|
|
|
197
197
|
class RestProvider {
|
|
198
198
|
constructor(http) {
|
|
@@ -234,15 +234,15 @@ class RestProvider {
|
|
|
234
234
|
return placeholders[key] || match;
|
|
235
235
|
});
|
|
236
236
|
}
|
|
237
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: RestProvider, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
238
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: RestProvider, providedIn: 'root' }); }
|
|
237
239
|
}
|
|
238
|
-
|
|
239
|
-
RestProvider.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RestProvider, providedIn: 'root' });
|
|
240
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RestProvider, decorators: [{
|
|
240
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: RestProvider, decorators: [{
|
|
241
241
|
type: Injectable,
|
|
242
242
|
args: [{
|
|
243
243
|
providedIn: 'root',
|
|
244
244
|
}]
|
|
245
|
-
}], ctorParameters:
|
|
245
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
246
246
|
|
|
247
247
|
class CommunicationService {
|
|
248
248
|
constructor(config, apollo, rest) {
|
|
@@ -305,15 +305,15 @@ class CommunicationService {
|
|
|
305
305
|
}
|
|
306
306
|
return baseUrl + activeProviderConfig.config[requestId];
|
|
307
307
|
}
|
|
308
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: CommunicationService, deps: [{ token: ConfigurationService }, { token: ApolloProvider }, { token: RestProvider }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
309
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: CommunicationService, providedIn: 'root' }); }
|
|
308
310
|
}
|
|
309
|
-
|
|
310
|
-
CommunicationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CommunicationService, providedIn: 'root' });
|
|
311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CommunicationService, decorators: [{
|
|
311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: CommunicationService, decorators: [{
|
|
312
312
|
type: Injectable,
|
|
313
313
|
args: [{
|
|
314
314
|
providedIn: 'root',
|
|
315
315
|
}]
|
|
316
|
-
}], ctorParameters:
|
|
316
|
+
}], ctorParameters: () => [{ type: ConfigurationService }, { type: ApolloProvider }, { type: RestProvider }] });
|
|
317
317
|
|
|
318
318
|
class AbstractLayout {
|
|
319
319
|
constructor(config) {
|
|
@@ -741,12 +741,12 @@ class SmartPaginationDS extends DataSource {
|
|
|
741
741
|
|
|
742
742
|
var DS = /*#__PURE__*/Object.freeze({
|
|
743
743
|
__proto__: null,
|
|
744
|
-
HeaderDS: HeaderDS,
|
|
745
|
-
SubnavDS: SubnavDS,
|
|
746
744
|
BreadcrumbsDS: BreadcrumbsDS,
|
|
747
745
|
FacetsDS: FacetsDS,
|
|
748
746
|
FooterDS: FooterDS,
|
|
749
|
-
|
|
747
|
+
HeaderDS: HeaderDS,
|
|
748
|
+
SmartPaginationDS: SmartPaginationDS,
|
|
749
|
+
SubnavDS: SubnavDS
|
|
750
750
|
});
|
|
751
751
|
|
|
752
752
|
class HeaderEH extends EventHandler {
|
|
@@ -844,11 +844,11 @@ class SmartPaginationEH extends EventHandler {
|
|
|
844
844
|
|
|
845
845
|
var EH = /*#__PURE__*/Object.freeze({
|
|
846
846
|
__proto__: null,
|
|
847
|
-
HeaderEH: HeaderEH,
|
|
848
|
-
SubnavEH: SubnavEH,
|
|
849
847
|
BreadcrumbsEH: BreadcrumbsEH,
|
|
850
848
|
FooterEH: FooterEH,
|
|
851
|
-
|
|
849
|
+
HeaderEH: HeaderEH,
|
|
850
|
+
SmartPaginationEH: SmartPaginationEH,
|
|
851
|
+
SubnavEH: SubnavEH
|
|
852
852
|
});
|
|
853
853
|
|
|
854
854
|
const MainLayoutConfig = {
|
|
@@ -897,13 +897,13 @@ class MainLayoutComponent extends AbstractLayout {
|
|
|
897
897
|
ngOnDestroy() {
|
|
898
898
|
this.onDestroy();
|
|
899
899
|
}
|
|
900
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", 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 }); }
|
|
901
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", 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" }] }); }
|
|
900
902
|
}
|
|
901
|
-
|
|
902
|
-
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" }] });
|
|
903
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MainLayoutComponent, decorators: [{
|
|
903
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: MainLayoutComponent, decorators: [{
|
|
904
904
|
type: Component,
|
|
905
905
|
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" }]
|
|
906
|
-
}], ctorParameters:
|
|
906
|
+
}], ctorParameters: () => [{ type: i1$1.Router }, { type: i1$1.ActivatedRoute }, { type: ConfigurationService }, { type: LayoutsConfigurationService }, { type: MainStateService }, { type: i5.Title }] });
|
|
907
907
|
|
|
908
908
|
class Page404LayoutDS extends LayoutDataSource {
|
|
909
909
|
onInit({ options }) {
|
|
@@ -972,13 +972,13 @@ class Page404LayoutComponent extends AbstractLayout {
|
|
|
972
972
|
ngOnDestroy() {
|
|
973
973
|
this.onDestroy();
|
|
974
974
|
}
|
|
975
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: Page404LayoutComponent, deps: [{ token: LayoutsConfigurationService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
976
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: Page404LayoutComponent, selector: "n7-page404-layout", usesInheritance: true, ngImport: i0, template: "<div class=\"n7-page404-layout\">\n 404 - Resource not found\n</div>" }); }
|
|
975
977
|
}
|
|
976
|
-
|
|
977
|
-
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>" });
|
|
978
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Page404LayoutComponent, decorators: [{
|
|
978
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: Page404LayoutComponent, decorators: [{
|
|
979
979
|
type: Component,
|
|
980
980
|
args: [{ selector: 'n7-page404-layout', template: "<div class=\"n7-page404-layout\">\n 404 - Resource not found\n</div>" }]
|
|
981
|
-
}], ctorParameters:
|
|
981
|
+
}], ctorParameters: () => [{ type: LayoutsConfigurationService }] });
|
|
982
982
|
|
|
983
983
|
class SmartPaginationComponent {
|
|
984
984
|
constructor() {
|
|
@@ -989,13 +989,13 @@ class SmartPaginationComponent {
|
|
|
989
989
|
return;
|
|
990
990
|
this.emit('change', payload);
|
|
991
991
|
}
|
|
992
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: SmartPaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
993
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", 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"] }] }); }
|
|
992
994
|
}
|
|
993
|
-
|
|
994
|
-
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"] }] });
|
|
995
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SmartPaginationComponent, decorators: [{
|
|
995
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: SmartPaginationComponent, decorators: [{
|
|
996
996
|
type: Component,
|
|
997
997
|
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>" }]
|
|
998
|
-
}], ctorParameters:
|
|
998
|
+
}], ctorParameters: () => [], propDecorators: { data: [{
|
|
999
999
|
type: Input
|
|
1000
1000
|
}], emit: [{
|
|
1001
1001
|
type: Input
|
|
@@ -1015,15 +1015,15 @@ class ClickOutsideDirective {
|
|
|
1015
1015
|
this.clickOutside.emit(event);
|
|
1016
1016
|
}
|
|
1017
1017
|
}
|
|
1018
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ClickOutsideDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1019
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.11", type: ClickOutsideDirective, selector: "[clickOutside]", outputs: { clickOutside: "clickOutside" }, host: { listeners: { "document:click": "onClick($event,$event.target)" } }, ngImport: i0 }); }
|
|
1018
1020
|
}
|
|
1019
|
-
|
|
1020
|
-
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 });
|
|
1021
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ClickOutsideDirective, decorators: [{
|
|
1021
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ClickOutsideDirective, decorators: [{
|
|
1022
1022
|
type: Directive,
|
|
1023
1023
|
args: [{
|
|
1024
1024
|
selector: '[clickOutside]'
|
|
1025
1025
|
}]
|
|
1026
|
-
}], ctorParameters:
|
|
1026
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { clickOutside: [{
|
|
1027
1027
|
type: Output
|
|
1028
1028
|
}], onClick: [{
|
|
1029
1029
|
type: HostListener,
|
|
@@ -1031,10 +1031,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
1031
1031
|
}] } });
|
|
1032
1032
|
|
|
1033
1033
|
class GridComponent {
|
|
1034
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GridComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1035
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", 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"] }] }); }
|
|
1034
1036
|
}
|
|
1035
|
-
|
|
1036
|
-
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"] }] });
|
|
1037
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: GridComponent, decorators: [{
|
|
1037
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GridComponent, decorators: [{
|
|
1038
1038
|
type: Component,
|
|
1039
1039
|
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" }]
|
|
1040
1040
|
}], propDecorators: { templateColumns: [{
|
|
@@ -1044,10 +1044,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
1044
1044
|
}] } });
|
|
1045
1045
|
|
|
1046
1046
|
class ContainerComponent {
|
|
1047
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1048
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", 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"] }] }); }
|
|
1047
1049
|
}
|
|
1048
|
-
|
|
1049
|
-
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"] }] });
|
|
1050
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ContainerComponent, decorators: [{
|
|
1050
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ContainerComponent, decorators: [{
|
|
1051
1051
|
type: Component,
|
|
1052
1052
|
args: [{ selector: 'n7-container', template: "<div class=\"n7-container {{classes || ''}}\" [ngClass]=\"{'is-fluid': fluid}\">\n <ng-content></ng-content>\n</div>\n" }]
|
|
1053
1053
|
}], propDecorators: { fluid: [{
|
|
@@ -1057,10 +1057,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
1057
1057
|
}] } });
|
|
1058
1058
|
|
|
1059
1059
|
class SideScrollerComponent {
|
|
1060
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: SideScrollerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1061
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", 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>" }); }
|
|
1060
1062
|
}
|
|
1061
|
-
|
|
1062
|
-
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>" });
|
|
1063
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SideScrollerComponent, decorators: [{
|
|
1063
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: SideScrollerComponent, decorators: [{
|
|
1064
1064
|
type: Component,
|
|
1065
1065
|
args: [{ selector: 'n7-side-scroller', template: "<div\n class=\"n7-side-scroller {{classes || ''}} \"\n>\n <ng-content></ng-content>\n</div>" }]
|
|
1066
1066
|
}], propDecorators: { classes: [{
|
|
@@ -1101,10 +1101,10 @@ class TranzPipe {
|
|
|
1101
1101
|
transform(value, ...args) {
|
|
1102
1102
|
return TranzPipe.tranzform(value, ...args);
|
|
1103
1103
|
}
|
|
1104
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: TranzPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1105
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.11", ngImport: i0, type: TranzPipe, name: "tranz" }); }
|
|
1104
1106
|
}
|
|
1105
|
-
|
|
1106
|
-
TranzPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: TranzPipe, name: "tranz" });
|
|
1107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TranzPipe, decorators: [{
|
|
1107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: TranzPipe, decorators: [{
|
|
1108
1108
|
type: Pipe,
|
|
1109
1109
|
args: [{
|
|
1110
1110
|
name: 'tranz'
|
|
@@ -1134,29 +1134,29 @@ class N7BoilerplateCommonModule {
|
|
|
1134
1134
|
],
|
|
1135
1135
|
};
|
|
1136
1136
|
}
|
|
1137
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: N7BoilerplateCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1138
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.11", ngImport: i0, type: N7BoilerplateCommonModule, declarations: [MainLayoutComponent,
|
|
1139
|
+
Page404LayoutComponent,
|
|
1140
|
+
SmartPaginationComponent,
|
|
1141
|
+
ClickOutsideDirective,
|
|
1142
|
+
GridComponent,
|
|
1143
|
+
ContainerComponent,
|
|
1144
|
+
SideScrollerComponent,
|
|
1145
|
+
TranzPipe], imports: [CommonModule,
|
|
1146
|
+
HttpClientModule,
|
|
1147
|
+
DvComponentsLibModule], exports: [MainLayoutComponent,
|
|
1148
|
+
Page404LayoutComponent,
|
|
1149
|
+
SmartPaginationComponent,
|
|
1150
|
+
ClickOutsideDirective,
|
|
1151
|
+
GridComponent,
|
|
1152
|
+
ContainerComponent,
|
|
1153
|
+
SideScrollerComponent,
|
|
1154
|
+
TranzPipe] }); }
|
|
1155
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: N7BoilerplateCommonModule, imports: [CommonModule,
|
|
1156
|
+
HttpClientModule,
|
|
1157
|
+
DvComponentsLibModule] }); }
|
|
1137
1158
|
}
|
|
1138
|
-
|
|
1139
|
-
N7BoilerplateCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: N7BoilerplateCommonModule, declarations: [MainLayoutComponent,
|
|
1140
|
-
Page404LayoutComponent,
|
|
1141
|
-
SmartPaginationComponent,
|
|
1142
|
-
ClickOutsideDirective,
|
|
1143
|
-
GridComponent,
|
|
1144
|
-
ContainerComponent,
|
|
1145
|
-
SideScrollerComponent,
|
|
1146
|
-
TranzPipe], imports: [CommonModule,
|
|
1147
|
-
HttpClientModule,
|
|
1148
|
-
DvComponentsLibModule], exports: [MainLayoutComponent,
|
|
1149
|
-
Page404LayoutComponent,
|
|
1150
|
-
SmartPaginationComponent,
|
|
1151
|
-
ClickOutsideDirective,
|
|
1152
|
-
GridComponent,
|
|
1153
|
-
ContainerComponent,
|
|
1154
|
-
SideScrollerComponent,
|
|
1155
|
-
TranzPipe] });
|
|
1156
|
-
N7BoilerplateCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: N7BoilerplateCommonModule, imports: [CommonModule,
|
|
1157
|
-
HttpClientModule,
|
|
1158
|
-
DvComponentsLibModule] });
|
|
1159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: N7BoilerplateCommonModule, decorators: [{
|
|
1159
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: N7BoilerplateCommonModule, decorators: [{
|
|
1160
1160
|
type: NgModule,
|
|
1161
1161
|
args: [{
|
|
1162
1162
|
declarations: DECLARATIONS,
|
|
@@ -1216,15 +1216,15 @@ class JsonConfigService {
|
|
|
1216
1216
|
}
|
|
1217
1217
|
return newValue || oldValue;
|
|
1218
1218
|
}
|
|
1219
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: JsonConfigService, deps: [{ token: i1.HttpClient }, { token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1220
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: JsonConfigService, providedIn: 'root' }); }
|
|
1219
1221
|
}
|
|
1220
|
-
|
|
1221
|
-
JsonConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: JsonConfigService, providedIn: 'root' });
|
|
1222
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: JsonConfigService, decorators: [{
|
|
1222
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: JsonConfigService, decorators: [{
|
|
1223
1223
|
type: Injectable,
|
|
1224
1224
|
args: [{
|
|
1225
1225
|
providedIn: 'root',
|
|
1226
1226
|
}]
|
|
1227
|
-
}], ctorParameters:
|
|
1227
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: ConfigurationService }] });
|
|
1228
1228
|
|
|
1229
1229
|
class LocalConfigService {
|
|
1230
1230
|
constructor(config) {
|
|
@@ -1257,15 +1257,15 @@ class LocalConfigService {
|
|
|
1257
1257
|
}
|
|
1258
1258
|
})).toPromise();
|
|
1259
1259
|
}
|
|
1260
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: LocalConfigService, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1261
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: LocalConfigService, providedIn: 'root' }); }
|
|
1260
1262
|
}
|
|
1261
|
-
|
|
1262
|
-
LocalConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LocalConfigService, providedIn: 'root' });
|
|
1263
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LocalConfigService, decorators: [{
|
|
1263
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: LocalConfigService, decorators: [{
|
|
1264
1264
|
type: Injectable,
|
|
1265
1265
|
args: [{
|
|
1266
1266
|
providedIn: 'root',
|
|
1267
1267
|
}]
|
|
1268
|
-
}], ctorParameters:
|
|
1268
|
+
}], ctorParameters: () => [{ type: ConfigurationService }] });
|
|
1269
1269
|
|
|
1270
1270
|
// main layout
|
|
1271
1271
|
|
|
@@ -1347,6 +1347,7 @@ const helpers = {
|
|
|
1347
1347
|
/*
|
|
1348
1348
|
* Public API Surface of n7-boilerplate-common
|
|
1349
1349
|
*/
|
|
1350
|
+
// common
|
|
1350
1351
|
|
|
1351
1352
|
/**
|
|
1352
1353
|
* Generated bundle index. Do not edit.
|