wt-front-shared 1.0.13 → 1.0.15
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 +3 -4
- package/esm2020/lib/wt-front-shared.module.mjs +35 -0
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/wt-front-shared.mjs +37 -6
- package/fesm2015/wt-front-shared.mjs.map +1 -1
- package/fesm2020/wt-front-shared.mjs +37 -6
- package/fesm2020/wt-front-shared.mjs.map +1 -1
- package/lib/core/tokens/index.d.ts +0 -2
- package/lib/wt-front-shared.module.d.ts +9 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/esm2020/lib/core/services/social/providers/base-login-provider.mjs +0 -29
- package/esm2020/lib/core/services/social/providers/fb-login-provider.mjs +0 -107
- package/esm2020/lib/core/services/social/providers/index.mjs +0 -4
- package/esm2020/lib/core/services/social/providers/login-provider.mjs +0 -2
- package/esm2020/lib/core/services/social/social-auth-service-config.mjs +0 -10
- package/esm2020/lib/models/social/fb-login-options.mjs +0 -2
- package/esm2020/lib/models/social/index.mjs +0 -2
- package/esm2020/lib/models/social/login-options.mjs +0 -2
- package/esm2020/lib/models/social/social-user.mjs +0 -2
- package/lib/core/services/social/providers/base-login-provider.d.ts +0 -13
- package/lib/core/services/social/providers/fb-login-provider.d.ts +0 -1
- package/lib/core/services/social/providers/index.d.ts +0 -3
- package/lib/core/services/social/providers/login-provider.d.ts +0 -7
- package/lib/core/services/social/social-auth-service-config.d.ts +0 -9
- package/lib/models/social/fb-login-options.d.ts +0 -11
- package/lib/models/social/index.d.ts +0 -3
- package/lib/models/social/login-options.d.ts +0 -2
- package/lib/models/social/social-user.d.ts +0 -12
|
@@ -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,41 @@ 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('SHARED_CORE_CONFIG');
|
|
68
|
+
// export const AUTH_SERVICE_CONFIG: InjectionToken<SocialAuthServiceConfig> = new InjectionToken<SocialAuthServiceConfig>('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
|
+
static forChild(configuration) {
|
|
81
|
+
console.log(configuration);
|
|
82
|
+
return {
|
|
83
|
+
ngModule: WtFrontSharedModule,
|
|
84
|
+
providers: [
|
|
85
|
+
{ provide: CORE_CONFIG, useValue: configuration }
|
|
86
|
+
]
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
WtFrontSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: WtFrontSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
91
|
+
WtFrontSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: WtFrontSharedModule });
|
|
92
|
+
WtFrontSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: WtFrontSharedModule });
|
|
93
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: WtFrontSharedModule, decorators: [{
|
|
94
|
+
type: NgModule,
|
|
95
|
+
args: [{
|
|
96
|
+
imports: [],
|
|
97
|
+
declarations: [],
|
|
98
|
+
exports: []
|
|
99
|
+
}]
|
|
100
|
+
}] });
|
|
101
|
+
|
|
67
102
|
class AccessDeniedComponent {
|
|
68
103
|
}
|
|
69
104
|
AccessDeniedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AccessDeniedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -801,10 +836,6 @@ var FieldType;
|
|
|
801
836
|
FieldType["FieldTypeTags"] = "tags";
|
|
802
837
|
})(FieldType || (FieldType = {}));
|
|
803
838
|
|
|
804
|
-
// @ts-ignore
|
|
805
|
-
const CORE_CONFIG = new InjectionToken('CORE_CONFIG');
|
|
806
|
-
const AUTH_SERVICE_CONFIG = new InjectionToken('AUTH_SERVICE_CONFIG');
|
|
807
|
-
|
|
808
839
|
const LoadCore = createAction('[Core] Load Core', props());
|
|
809
840
|
const CoreLoaded = createAction('[Core] Load Loaded');
|
|
810
841
|
const CoreLoadError = createAction('[Core] Core Load Error');
|
|
@@ -10347,5 +10378,5 @@ const SharedReducer = {
|
|
|
10347
10378
|
* Generated bundle index. Do not edit.
|
|
10348
10379
|
*/
|
|
10349
10380
|
|
|
10350
|
-
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 };
|
|
10381
|
+
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 };
|
|
10351
10382
|
//# sourceMappingURL=wt-front-shared.mjs.map
|