wt-front-shared 1.0.12 → 1.0.14
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/core/services/actions/actions.service.mjs +1 -1
- package/esm2020/lib/core/services/cache-data/cache-data.service.mjs +1 -1
- package/esm2020/lib/core/services/form-delete-file/form-delete-file.service.mjs +1 -1
- package/esm2020/lib/core/tokens/index.mjs +1 -1
- package/esm2020/lib/wt-front-shared.module.mjs +26 -0
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/wt-front-shared.mjs +28 -5
- package/fesm2015/wt-front-shared.mjs.map +1 -1
- package/fesm2020/wt-front-shared.mjs +28 -5
- package/fesm2020/wt-front-shared.mjs.map +1 -1
- package/lib/wt-front-shared.module.d.ts +8 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ChangeDetectionStrategy,
|
|
2
|
+
import { InjectionToken, NgModule, Component, ChangeDetectionStrategy, Input, Injectable, PLATFORM_ID, Inject, ViewChild, EventEmitter, Output, ElementRef, Directive, Optional, ContentChild, forwardRef, Pipe } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { isPlatformBrowser, isPlatformServer, CommonModule } from '@angular/common';
|
|
5
5
|
import * as i6 from '@angular/forms';
|
|
@@ -64,6 +64,32 @@ import * as moment from 'moment';
|
|
|
64
64
|
import * as i3$3 from 'ngx-toastr';
|
|
65
65
|
import { switchMap as switchMap$1 } from 'rxjs/internal/operators/switchMap';
|
|
66
66
|
|
|
67
|
+
const CORE_CONFIG = new InjectionToken('CORE_CONFIG');
|
|
68
|
+
const AUTH_SERVICE_CONFIG = new InjectionToken('AUTH_SERVICE_CONFIG');
|
|
69
|
+
|
|
70
|
+
class WtFrontSharedModule {
|
|
71
|
+
static forRoot(configuration) {
|
|
72
|
+
console.log(configuration);
|
|
73
|
+
return {
|
|
74
|
+
ngModule: WtFrontSharedModule,
|
|
75
|
+
providers: [
|
|
76
|
+
{ provide: CORE_CONFIG, useValue: configuration }
|
|
77
|
+
]
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
WtFrontSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: WtFrontSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
82
|
+
WtFrontSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: WtFrontSharedModule });
|
|
83
|
+
WtFrontSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: WtFrontSharedModule });
|
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: WtFrontSharedModule, decorators: [{
|
|
85
|
+
type: NgModule,
|
|
86
|
+
args: [{
|
|
87
|
+
imports: [],
|
|
88
|
+
declarations: [],
|
|
89
|
+
exports: []
|
|
90
|
+
}]
|
|
91
|
+
}] });
|
|
92
|
+
|
|
67
93
|
class AccessDeniedComponent {
|
|
68
94
|
}
|
|
69
95
|
AccessDeniedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AccessDeniedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -801,9 +827,6 @@ var FieldType;
|
|
|
801
827
|
FieldType["FieldTypeTags"] = "tags";
|
|
802
828
|
})(FieldType || (FieldType = {}));
|
|
803
829
|
|
|
804
|
-
const CORE_CONFIG = new InjectionToken('CORE_CONFIG');
|
|
805
|
-
const AUTH_SERVICE_CONFIG = new InjectionToken('AUTH_SERVICE_CONFIG');
|
|
806
|
-
|
|
807
830
|
const LoadCore = createAction('[Core] Load Core', props());
|
|
808
831
|
const CoreLoaded = createAction('[Core] Load Loaded');
|
|
809
832
|
const CoreLoadError = createAction('[Core] Core Load Error');
|
|
@@ -10346,5 +10369,5 @@ const SharedReducer = {
|
|
|
10346
10369
|
* Generated bundle index. Do not edit.
|
|
10347
10370
|
*/
|
|
10348
10371
|
|
|
10349
|
-
export { AccessDeniedComponent, AccessDeniedModule, AutoFormMainComponent, AutoFormModule, AutoFormShowComponent, BreadCrumbsComponent, BreadCrumbsModule, ButtonComponent, ButtonModule, ChipsInputComponent, ChipsInputModule, CountFormatPipe, DateFormatPipe, FileListModeList, FileListModeSort, FilesUploadComponent, FilesUploadModule, FormFieldPublishErrorComponent, FormFieldPublishErrorModule, HeaderComponent, HeaderModule, IconComponent, ImageComponent, ImageModule, InputTagsComponent, InputTagsModule, PaginationComponent, PaginationModule, PanelComponent, PanelModule, PhonePipe, PipesModule, STICKY_SIDEBAR_OPTIONS, SafePipe, SharedIconModule, SharedReducer, SharedSpinnerModule, SmartProgressBarComponent, SmartProgressBarModule, SpinnerComponent, StarRatingComponent, StarRatingModule, StickySidebarDirective, StickySidebarInnerDirective, StickySidebarModule, TableMenuComponent, TableMenuModule, TagCloudComponent, TagCloudModule, TextWithLinkMoreComponent, TextWithLinkMoreModule, defaultStickySidebarOptions, sharedEffects, sharedFacades };
|
|
10372
|
+
export { AccessDeniedComponent, AccessDeniedModule, AutoFormMainComponent, AutoFormModule, AutoFormShowComponent, BreadCrumbsComponent, BreadCrumbsModule, ButtonComponent, ButtonModule, ChipsInputComponent, ChipsInputModule, CountFormatPipe, DateFormatPipe, FileListModeList, FileListModeSort, FilesUploadComponent, FilesUploadModule, FormFieldPublishErrorComponent, FormFieldPublishErrorModule, HeaderComponent, HeaderModule, IconComponent, ImageComponent, ImageModule, InputTagsComponent, InputTagsModule, PaginationComponent, PaginationModule, PanelComponent, PanelModule, PhonePipe, PipesModule, STICKY_SIDEBAR_OPTIONS, SafePipe, SharedIconModule, SharedReducer, SharedSpinnerModule, SmartProgressBarComponent, SmartProgressBarModule, SpinnerComponent, StarRatingComponent, StarRatingModule, StickySidebarDirective, StickySidebarInnerDirective, StickySidebarModule, TableMenuComponent, TableMenuModule, TagCloudComponent, TagCloudModule, TextWithLinkMoreComponent, TextWithLinkMoreModule, WtFrontSharedModule, defaultStickySidebarOptions, sharedEffects, sharedFacades };
|
|
10350
10373
|
//# sourceMappingURL=wt-front-shared.mjs.map
|