wt-front-shared 19.0.5 → 19.0.7
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/fesm2022/wt-front-shared.mjs +222 -485
- package/fesm2022/wt-front-shared.mjs.map +1 -1
- package/lib/core/+state/requests/requests.facade.d.ts +1 -1
- package/lib/core/+state/static-data/static-data.facade.d.ts +1 -1
- package/lib/core/+state/static-data/static-data.selectors.d.ts +3 -2
- package/lib/core/components/auto-form/auto-form.module.d.ts +22 -25
- package/lib/core/components/files-upload/files-upload.module.d.ts +1 -2
- package/lib/core/components/panel/panel.module.d.ts +1 -2
- package/lib/core/components/panel-header/panel-header.module.d.ts +2 -3
- package/lib/core/components/static-data/static-data.module.d.ts +9 -10
- package/lib/core/components/sticky-sidebar/sticky-sidebar.directive.d.ts +2 -2
- package/lib/core/components/sticky-sidebar/sticky-sidebar.module.d.ts +1 -9
- package/lib/core/dialogs/dialogs.module.d.ts +2 -3
- package/lib/core/interceptors/headers.interceptor.d.ts +2 -1
- package/lib/models/models/request.model.d.ts +2 -0
- package/lib/wt-front-shared.module.d.ts +0 -2
- package/package.json +3 -2
- package/src/lib/styles.css +0 -283
- package/src/lib/styles.css.map +1 -1
- package/lib/core/components/auto-form/components/form-field-cheditor/form-field-cheditor.component.d.ts +0 -19
|
@@ -20,7 +20,7 @@ export declare class RequestsFacade {
|
|
|
20
20
|
*/
|
|
21
21
|
createRequestListener(endPointUrl: string, method: string, itemId?: number | string, secondEndPointUrl?: string): void;
|
|
22
22
|
createRequestListenerByFormId(formId: string): void;
|
|
23
|
-
updateRequestData(
|
|
23
|
+
updateRequestData(payload: RequestModel): void;
|
|
24
24
|
deleteRequestWaiter(endPointUrl: string, method: string, itemId?: number | string, secondEndPointUrl?: string): void;
|
|
25
25
|
deleteRequestListenerByFormId(formId: string): void;
|
|
26
26
|
deleteRequestData(endPointUrl: string, method: string, itemId?: number | string, secondEndPointUrl?: string): void;
|
|
@@ -2,7 +2,7 @@ import { Store } from '@ngrx/store';
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { PagingType } from '../../../models';
|
|
4
4
|
import { StaticDataMeta, StaticDataState } from './static-data.reducer';
|
|
5
|
-
import { StaticDataModel } from '../../../models/models/static-data';
|
|
5
|
+
import { StaticDataModel } from '../../../models/models/static-data/static-data.model';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export interface LoadStaticDataParams {
|
|
8
8
|
where?: any;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { StaticDataMetaStatus, StaticDataState } from './static-data.reducer';
|
|
2
|
+
import { StaticDataModel } from "../../../models";
|
|
2
3
|
export declare const staticDataQuery: {
|
|
3
4
|
getStatus: (contentType: string, subSection: string) => import("@ngrx/store").MemoizedSelector<object, StaticDataMetaStatus, (s1: StaticDataState) => StaticDataMetaStatus>;
|
|
4
5
|
getLoaded: (contentType: string, subSection: string) => import("@ngrx/store").MemoizedSelector<object, boolean, (s1: StaticDataState) => boolean>;
|
|
5
6
|
getError: (contentType: string) => import("@ngrx/store").MemoizedSelector<object, import("./static-data.reducer").StaticDataMeta, (s1: StaticDataState) => import("./static-data.reducer").StaticDataMeta>;
|
|
6
7
|
getStaticData: (contentType: string, subSection: string, where?: {
|
|
7
8
|
[key: string]: number | string | number[] | string[];
|
|
8
|
-
}) => import("@ngrx/store").MemoizedSelector<object,
|
|
9
|
-
getStaticDataItem: (contentType: string, subSection: string, itemIdOrSlug: number | string) => import("@ngrx/store").MemoizedSelector<object,
|
|
9
|
+
}) => import("@ngrx/store").MemoizedSelector<object, StaticDataModel[], (s1: StaticDataModel[], s2: boolean) => StaticDataModel[]>;
|
|
10
|
+
getStaticDataItem: (contentType: string, subSection: string, itemIdOrSlug: number | string) => import("@ngrx/store").MemoizedSelector<object, StaticDataModel, (s1: StaticDataState) => StaticDataModel>;
|
|
10
11
|
getStaticDataMeta: (contentType: string, subSection: string) => import("@ngrx/store").MemoizedSelector<object, import("./static-data.reducer").StaticDataMeta, (s1: StaticDataState) => import("./static-data.reducer").StaticDataMeta>;
|
|
11
12
|
getStaticDataForListContentTypes: (contentTypes: string[]) => import("@ngrx/store").MemoizedSelector<object, {}, (s1: StaticDataState) => {}>;
|
|
12
13
|
getStaticDataRevision: (contentType: string) => import("@ngrx/store").MemoizedSelector<object, any, (s1: StaticDataState) => any>;
|
|
@@ -19,32 +19,29 @@ import * as i17 from "./components/form-field-json-show/form-field-json-show.com
|
|
|
19
19
|
import * as i18 from "./containers/publish-messages/publish-messages.component";
|
|
20
20
|
import * as i19 from "./components/form-field-tags/form-field-tags.component";
|
|
21
21
|
import * as i20 from "./components/form-field-textarea-show/form-field-textarea-show.component";
|
|
22
|
-
import * as i21 from "
|
|
23
|
-
import * as i22 from "
|
|
24
|
-
import * as i23 from "../form-field-error/form-field-error.module";
|
|
25
|
-
import * as i24 from "
|
|
26
|
-
import * as i25 from "@angular/material/
|
|
27
|
-
import * as i26 from "@angular/material/
|
|
28
|
-
import * as i27 from "@angular/material/
|
|
29
|
-
import * as i28 from "@angular/
|
|
30
|
-
import * as i29 from "
|
|
31
|
-
import * as i30 from "
|
|
32
|
-
import * as i31 from "@angular/
|
|
33
|
-
import * as i32 from "
|
|
34
|
-
import * as i33 from "
|
|
35
|
-
import * as i34 from "
|
|
36
|
-
import * as i35 from "../
|
|
37
|
-
import * as i36 from "../
|
|
38
|
-
import * as i37 from "../
|
|
39
|
-
import * as i38 from "
|
|
40
|
-
import * as i39 from "
|
|
41
|
-
import * as i40 from "
|
|
42
|
-
import * as i41 from "
|
|
43
|
-
import * as i42 from "@angular/material/autocomplete";
|
|
44
|
-
import * as i43 from "ngx-mat-select-search";
|
|
45
|
-
import * as i44 from "ngx-mask";
|
|
22
|
+
import * as i21 from "@angular/common";
|
|
23
|
+
import * as i22 from "../form-field-error/form-field-error.module";
|
|
24
|
+
import * as i23 from "../form-field-publish-error/form-field-publish-error.module";
|
|
25
|
+
import * as i24 from "@angular/material/form-field";
|
|
26
|
+
import * as i25 from "@angular/material/input";
|
|
27
|
+
import * as i26 from "@angular/material/slide-toggle";
|
|
28
|
+
import * as i27 from "@angular/material/select";
|
|
29
|
+
import * as i28 from "@angular/forms";
|
|
30
|
+
import * as i29 from "../spinner/spinner.module";
|
|
31
|
+
import * as i30 from "@angular/material/icon";
|
|
32
|
+
import * as i31 from "@angular/material/tooltip";
|
|
33
|
+
import * as i32 from "../files-upload/files-upload.module";
|
|
34
|
+
import * as i33 from "../image/image.module";
|
|
35
|
+
import * as i34 from "../panel/panel.module";
|
|
36
|
+
import * as i35 from "../button/button.module";
|
|
37
|
+
import * as i36 from "../smart-progress-bar/smart-progress-bar.module";
|
|
38
|
+
import * as i37 from "../star-rating/star-rating.module";
|
|
39
|
+
import * as i38 from "@angular/material/chips";
|
|
40
|
+
import * as i39 from "@angular/material/autocomplete";
|
|
41
|
+
import * as i40 from "ngx-mat-select-search";
|
|
42
|
+
import * as i41 from "ngx-mask";
|
|
46
43
|
export declare class AutoFormModule {
|
|
47
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutoFormModule, never>;
|
|
48
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AutoFormModule, [typeof i1.FormFieldComponent, typeof i2.FormFieldSpinnerComponent, typeof i3.FormFieldSelectComponent, typeof i4.FormFieldSelectShowComponent, typeof i5.FormFieldSlideToggleComponent, typeof i6.AutoFormMainComponent, typeof i7.AutoFormShowComponent, typeof i8.AutoFormShowFieldComponent, typeof i9.FormFieldInputComponent, typeof i10.FormMessageBoxComponent, typeof i11.FormFieldFileComponent, typeof i12.FormFieldFilesComponent, typeof i13.FormFieldFileShowComponent, typeof i14.FormFieldSlideToggleShowComponent, typeof i15.FormFieldInputShowComponent, typeof i16.FormFieldFilesShowComponent, typeof i17.FormFieldJsonShowComponent, typeof i18.PublicationMessagesComponent, typeof i19.FormFieldTagsComponent, typeof i20.FormFieldTextareaShowComponent
|
|
45
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AutoFormModule, [typeof i1.FormFieldComponent, typeof i2.FormFieldSpinnerComponent, typeof i3.FormFieldSelectComponent, typeof i4.FormFieldSelectShowComponent, typeof i5.FormFieldSlideToggleComponent, typeof i6.AutoFormMainComponent, typeof i7.AutoFormShowComponent, typeof i8.AutoFormShowFieldComponent, typeof i9.FormFieldInputComponent, typeof i10.FormMessageBoxComponent, typeof i11.FormFieldFileComponent, typeof i12.FormFieldFilesComponent, typeof i13.FormFieldFileShowComponent, typeof i14.FormFieldSlideToggleShowComponent, typeof i15.FormFieldInputShowComponent, typeof i16.FormFieldFilesShowComponent, typeof i17.FormFieldJsonShowComponent, typeof i18.PublicationMessagesComponent, typeof i19.FormFieldTagsComponent, typeof i20.FormFieldTextareaShowComponent], [typeof i21.CommonModule, typeof i22.FormFieldErrorModule, typeof i23.FormFieldPublishErrorModule, typeof i24.MatFormFieldModule, typeof i25.MatInputModule, typeof i26.MatSlideToggleModule, typeof i27.MatSelectModule, typeof i28.FormsModule, typeof i29.SharedSpinnerModule, typeof i28.ReactiveFormsModule, typeof i30.MatIconModule, typeof i31.MatTooltipModule, typeof i32.FilesUploadModule, typeof i33.ImageModule, typeof i34.PanelModule, typeof i35.ButtonModule, typeof i36.SmartProgressBarModule, typeof i37.StarRatingModule, typeof i38.MatChipsModule, typeof i39.MatAutocompleteModule, typeof i40.NgxMatSelectSearchModule, typeof i41.NgxMaskDirective, typeof i41.NgxMaskPipe], [typeof i6.AutoFormMainComponent, typeof i7.AutoFormShowComponent]>;
|
|
49
46
|
static ɵinj: i0.ɵɵInjectorDeclaration<AutoFormModule>;
|
|
50
47
|
}
|
|
@@ -10,9 +10,8 @@ import * as i8 from "ng2-file-upload";
|
|
|
10
10
|
import * as i9 from "@angular/cdk/drag-drop";
|
|
11
11
|
import * as i10 from "../spinner/spinner.module";
|
|
12
12
|
import * as i11 from "@angular/material/button";
|
|
13
|
-
import * as i12 from "@angular/flex-layout";
|
|
14
13
|
export declare class FilesUploadModule {
|
|
15
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilesUploadModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FilesUploadModule, [typeof i1.FilesUploadComponent, typeof i2.FilesUploadListImagesComponent, typeof i3.FileListCardComponent, typeof i4.TableFilesUploadingComponent], [typeof i5.CommonModule, typeof i6.MatIconModule, typeof i7.MatProgressBarModule, typeof i8.FileUploadModule, typeof i9.DragDropModule, typeof i10.SharedSpinnerModule, typeof i11.MatButtonModule
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FilesUploadModule, [typeof i1.FilesUploadComponent, typeof i2.FilesUploadListImagesComponent, typeof i3.FileListCardComponent, typeof i4.TableFilesUploadingComponent], [typeof i5.CommonModule, typeof i6.MatIconModule, typeof i7.MatProgressBarModule, typeof i8.FileUploadModule, typeof i9.DragDropModule, typeof i10.SharedSpinnerModule, typeof i11.MatButtonModule], [typeof i1.FilesUploadComponent, typeof i9.DragDropModule]>;
|
|
17
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<FilesUploadModule>;
|
|
18
17
|
}
|
|
@@ -2,9 +2,8 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./panel.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "../button/button.module";
|
|
5
|
-
import * as i4 from "@angular/flex-layout";
|
|
6
5
|
export declare class PanelModule {
|
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<PanelModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PanelModule, [typeof i1.PanelComponent], [typeof i2.CommonModule, typeof i3.ButtonModule
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PanelModule, [typeof i1.PanelComponent], [typeof i2.CommonModule, typeof i3.ButtonModule], [typeof i1.PanelComponent]>;
|
|
9
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<PanelModule>;
|
|
10
9
|
}
|
|
@@ -5,10 +5,9 @@ import * as i3 from "@angular/material/icon";
|
|
|
5
5
|
import * as i4 from "@angular/material/form-field";
|
|
6
6
|
import * as i5 from "@angular/material/button";
|
|
7
7
|
import * as i6 from "@angular/material/input";
|
|
8
|
-
import * as i7 from "@angular/
|
|
9
|
-
import * as i8 from "@angular/router";
|
|
8
|
+
import * as i7 from "@angular/router";
|
|
10
9
|
export declare class PanelHeaderModule {
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<PanelHeaderModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PanelHeaderModule, [typeof i1.PanelHeaderComponent], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.MatFormFieldModule, typeof i5.MatButtonModule, typeof i6.MatInputModule, typeof i7.
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PanelHeaderModule, [typeof i1.PanelHeaderComponent], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.MatFormFieldModule, typeof i5.MatButtonModule, typeof i6.MatInputModule, typeof i7.RouterModule], [typeof i1.PanelHeaderComponent]>;
|
|
13
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<PanelHeaderModule>;
|
|
14
13
|
}
|
|
@@ -21,17 +21,16 @@ import * as i19 from "../panel-header/panel-header.module";
|
|
|
21
21
|
import * as i20 from "../icon/icon.module";
|
|
22
22
|
import * as i21 from "@angular/material/tooltip";
|
|
23
23
|
import * as i22 from "@angular/forms";
|
|
24
|
-
import * as i23 from "
|
|
25
|
-
import * as i24 from "
|
|
26
|
-
import * as i25 from "
|
|
27
|
-
import * as i26 from "@angular/material/
|
|
28
|
-
import * as i27 from "
|
|
29
|
-
import * as i28 from "
|
|
30
|
-
import * as i29 from "@angular/material/
|
|
31
|
-
import * as i30 from "@angular/material/
|
|
32
|
-
import * as i31 from "@angular/material/card";
|
|
24
|
+
import * as i23 from "ngx-mask";
|
|
25
|
+
import * as i24 from "../image/image.module";
|
|
26
|
+
import * as i25 from "@angular/material/dialog";
|
|
27
|
+
import * as i26 from "@angular/material/tabs";
|
|
28
|
+
import * as i27 from "../panel/panel.module";
|
|
29
|
+
import * as i28 from "@angular/material/chips";
|
|
30
|
+
import * as i29 from "@angular/material/autocomplete";
|
|
31
|
+
import * as i30 from "@angular/material/card";
|
|
33
32
|
export declare class StaticDataModule {
|
|
34
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<StaticDataModule, never>;
|
|
35
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<StaticDataModule, [typeof i1.StaticDataDetailsComponent, typeof i2.StaticDataListComponent, typeof i3.StaticDataItemsComponent, typeof i4.StaticDataListItemsComponent], [typeof i5.CommonModule, typeof i6.AutoFormModule, typeof i7.StaticDataRoutingModule, typeof i8.MatTableModule, typeof i9.MatButtonModule, typeof i10.MatFormFieldModule, typeof i11.MatIconModule, typeof i12.TableMenuModule, typeof i13.MatPaginatorModule, typeof i14.SharedSpinnerModule, typeof i15.FilesUploadModule, typeof i16.ButtonModule, typeof i17.NgrxFormsModule, typeof i18.MatInputModule, typeof i19.PanelHeaderModule, typeof i20.SharedIconModule, typeof i21.MatTooltipModule, typeof i22.ReactiveFormsModule, typeof i23.
|
|
34
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StaticDataModule, [typeof i1.StaticDataDetailsComponent, typeof i2.StaticDataListComponent, typeof i3.StaticDataItemsComponent, typeof i4.StaticDataListItemsComponent], [typeof i5.CommonModule, typeof i6.AutoFormModule, typeof i7.StaticDataRoutingModule, typeof i8.MatTableModule, typeof i9.MatButtonModule, typeof i10.MatFormFieldModule, typeof i11.MatIconModule, typeof i12.TableMenuModule, typeof i13.MatPaginatorModule, typeof i14.SharedSpinnerModule, typeof i15.FilesUploadModule, typeof i16.ButtonModule, typeof i17.NgrxFormsModule, typeof i18.MatInputModule, typeof i19.PanelHeaderModule, typeof i20.SharedIconModule, typeof i21.MatTooltipModule, typeof i22.ReactiveFormsModule, typeof i23.NgxMaskDirective, typeof i23.NgxMaskPipe, typeof i24.ImageModule, typeof i25.MatDialogModule, typeof i26.MatTabsModule, typeof i27.PanelModule, typeof i28.MatChipsModule, typeof i29.MatAutocompleteModule, typeof i30.MatCardHeader, typeof i30.MatCardContent, typeof i30.MatCardTitle, typeof i30.MatCardSubtitle], never>;
|
|
36
35
|
static ɵinj: i0.ɵɵInjectorDeclaration<StaticDataModule>;
|
|
37
36
|
}
|
|
@@ -17,7 +17,7 @@ export declare class StickySidebarDirective implements OnInit, AfterContentInit,
|
|
|
17
17
|
private _options;
|
|
18
18
|
private zone;
|
|
19
19
|
private renderer;
|
|
20
|
-
private
|
|
20
|
+
private platformId;
|
|
21
21
|
private sidebarInner;
|
|
22
22
|
private eventSub;
|
|
23
23
|
private sidebarEl;
|
|
@@ -38,7 +38,7 @@ export declare class StickySidebarDirective implements OnInit, AfterContentInit,
|
|
|
38
38
|
private options;
|
|
39
39
|
private resize;
|
|
40
40
|
private resizeStart;
|
|
41
|
-
constructor(element: ElementRef, _options: StickySidebarOptions, zone: NgZone, renderer: Renderer2,
|
|
41
|
+
constructor(element: ElementRef, _options: StickySidebarOptions, zone: NgZone, renderer: Renderer2, platformId: Platform);
|
|
42
42
|
static offsetRelative(element: HTMLElement): {
|
|
43
43
|
left: number;
|
|
44
44
|
top: number;
|
|
@@ -1,16 +1,8 @@
|
|
|
1
|
-
import { StickySidebarOptions } from './sticky-sidebar.directive';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
import * as i1 from "./sticky-sidebar.directive";
|
|
4
3
|
import * as i2 from "@angular/common";
|
|
5
4
|
export declare class StickySidebarModule {
|
|
6
|
-
static withOptions(options: Partial<StickySidebarOptions>): {
|
|
7
|
-
ngModule: typeof StickySidebarModule;
|
|
8
|
-
providers: {
|
|
9
|
-
provide: import("@angular/core").InjectionToken<StickySidebarOptions>;
|
|
10
|
-
useValue: Partial<StickySidebarOptions>;
|
|
11
|
-
}[];
|
|
12
|
-
};
|
|
13
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<StickySidebarModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<StickySidebarModule, [typeof i1.
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StickySidebarModule, [typeof i1.StickySidebarInnerDirective], [typeof i2.CommonModule], [typeof i1.StickySidebarInnerDirective]>;
|
|
15
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<StickySidebarModule>;
|
|
16
8
|
}
|
|
@@ -8,10 +8,9 @@ import * as i6 from "@angular/material/button";
|
|
|
8
8
|
import * as i7 from "@angular/material/icon";
|
|
9
9
|
import * as i8 from "../components/auto-form/auto-form.module";
|
|
10
10
|
import * as i9 from "../components/button/button.module";
|
|
11
|
-
import * as i10 from "@angular/
|
|
12
|
-
import * as i11 from "@angular/forms";
|
|
11
|
+
import * as i10 from "@angular/forms";
|
|
13
12
|
export declare class DialogsModule {
|
|
14
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogsModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogsModule, [typeof i1.DeleteComponent, typeof i2.CommonDialogComponent, typeof i3.SelectDialogComponent], [typeof i4.CommonModule, typeof i5.MatDialogModule, typeof i6.MatButtonModule, typeof i7.MatIconModule, typeof i8.AutoFormModule, typeof i9.ButtonModule, typeof i10.
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogsModule, [typeof i1.DeleteComponent, typeof i2.CommonDialogComponent, typeof i3.SelectDialogComponent], [typeof i4.CommonModule, typeof i5.MatDialogModule, typeof i6.MatButtonModule, typeof i7.MatIconModule, typeof i8.AutoFormModule, typeof i9.ButtonModule, typeof i10.FormsModule, typeof i10.ReactiveFormsModule], never>;
|
|
16
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<DialogsModule>;
|
|
17
16
|
}
|
|
@@ -13,6 +13,7 @@ import { BaseModelAdapter } from '../../models/model-adapter/base-model-adapter'
|
|
|
13
13
|
import { StaticDataFacade } from '../+state/static-data/static-data.facade';
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
15
15
|
export declare class HeadersInterceptor implements HttpInterceptor {
|
|
16
|
+
private platformId;
|
|
16
17
|
private authenticationService;
|
|
17
18
|
private routerFacade;
|
|
18
19
|
private usersFacade;
|
|
@@ -24,7 +25,7 @@ export declare class HeadersInterceptor implements HttpInterceptor {
|
|
|
24
25
|
private notificationsFacade;
|
|
25
26
|
private staticDataFacade;
|
|
26
27
|
modelAdapter: BaseModelAdapter;
|
|
27
|
-
constructor(authenticationService: AuthenticationService, routerFacade: RouterFacade, usersFacade: UsersFacade, formErrorsFacade: FormErrorsFacade, formsFacade: FormsFacade, filesFacade: FilesFacade, publicationMessagesFacade: PublicationMessagesFacade, requestsFacade: RequestsFacade, notificationsFacade: NotificationsFacade, staticDataFacade: StaticDataFacade);
|
|
28
|
+
constructor(platformId: Object, authenticationService: AuthenticationService, routerFacade: RouterFacade, usersFacade: UsersFacade, formErrorsFacade: FormErrorsFacade, formsFacade: FormsFacade, filesFacade: FilesFacade, publicationMessagesFacade: PublicationMessagesFacade, requestsFacade: RequestsFacade, notificationsFacade: NotificationsFacade, staticDataFacade: StaticDataFacade);
|
|
28
29
|
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpSentEvent | HttpHeaderResponse | HttpProgressEvent | HttpResponse<any> | HttpUserEvent<any> | any>;
|
|
29
30
|
private updateRequestData;
|
|
30
31
|
private updateStaticData;
|
|
@@ -10,6 +10,7 @@ export declare enum RequestMethods {
|
|
|
10
10
|
}
|
|
11
11
|
export interface RequestModel {
|
|
12
12
|
endPointUrl: string;
|
|
13
|
+
url?: string;
|
|
13
14
|
secondEndPointUrl?: string;
|
|
14
15
|
formId?: string;
|
|
15
16
|
method: 'get' | 'post' | 'delete' | 'put' | string;
|
|
@@ -17,4 +18,5 @@ export interface RequestModel {
|
|
|
17
18
|
status: null | RequestStatus.LOADING | RequestStatus.LOADED | string;
|
|
18
19
|
error?: any;
|
|
19
20
|
data: any;
|
|
21
|
+
subRouting?: string;
|
|
20
22
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { ModuleWithProviders } from "@angular/core";
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class WtFrontSharedModule {
|
|
4
|
-
static forApp(appConfig: any): ModuleWithProviders<WtFrontSharedModule>;
|
|
5
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<WtFrontSharedModule, never>;
|
|
6
4
|
static ɵmod: i0.ɵɵNgModuleDeclaration<WtFrontSharedModule, never, never, never>;
|
|
7
5
|
static ɵinj: i0.ɵɵInjectorDeclaration<WtFrontSharedModule>;
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wt-front-shared",
|
|
3
|
-
"version": "19.0.
|
|
3
|
+
"version": "19.0.7",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^19.2.14",
|
|
6
|
-
"@angular/core": "^19.2.14"
|
|
6
|
+
"@angular/core": "^19.2.14",
|
|
7
|
+
"rxjs": "~7.8.0"
|
|
7
8
|
},
|
|
8
9
|
"dependencies": {
|
|
9
10
|
"tslib": "^2.3.0"
|
package/src/lib/styles.css
CHANGED
|
@@ -1,286 +1,3 @@
|
|
|
1
|
-
.mat-button.mat-accent {
|
|
2
|
-
color: #4CAF50 !important;
|
|
3
|
-
}
|
|
4
|
-
.mat-button.mat-accent:hover {
|
|
5
|
-
color: #7CB342;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.mat-button:disabled,
|
|
9
|
-
.mat-stroked-button:disabled,
|
|
10
|
-
.mat-flat-button:disabled,
|
|
11
|
-
.mat-fab:disabled,
|
|
12
|
-
.mat-mini-fab:disabled,
|
|
13
|
-
.mat-raised-button:disabled {
|
|
14
|
-
opacity: 0.4;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.mat-raised-button:disabled.mat-accent, .mat-button-base:disabled.mat-accent,
|
|
18
|
-
.mdc-button--raised:disabled.mat-accent {
|
|
19
|
-
color: #ffffff !important;
|
|
20
|
-
background: #aad2ab !important;
|
|
21
|
-
}
|
|
22
|
-
.mat-raised-button:disabled.mat-orange, .mat-button-base:disabled.mat-orange,
|
|
23
|
-
.mdc-button--raised:disabled.mat-orange {
|
|
24
|
-
color: #ffffff !important;
|
|
25
|
-
background: #f69e4f !important;
|
|
26
|
-
}
|
|
27
|
-
.mat-raised-button:disabled.mat-warn, .mat-button-base:disabled.mat-warn,
|
|
28
|
-
.mdc-button--raised:disabled.mat-warn {
|
|
29
|
-
color: #ffffff !important;
|
|
30
|
-
background: #f66d62 !important;
|
|
31
|
-
}
|
|
32
|
-
.mat-raised-button.mat-accent, .mat-button-base.mat-accent,
|
|
33
|
-
.mdc-button--raised.mat-accent {
|
|
34
|
-
color: #ffffff !important;
|
|
35
|
-
background: #4caf50 !important;
|
|
36
|
-
}
|
|
37
|
-
.mat-raised-button.mat-accent:hover, .mat-button-base.mat-accent:hover,
|
|
38
|
-
.mdc-button--raised.mat-accent:hover {
|
|
39
|
-
background: #7CB342;
|
|
40
|
-
}
|
|
41
|
-
.mat-raised-button.mat-primary, .mat-button-base.mat-primary,
|
|
42
|
-
.mdc-button--raised.mat-primary {
|
|
43
|
-
color: #ffffff !important;
|
|
44
|
-
background: #079be5 !important;
|
|
45
|
-
}
|
|
46
|
-
.mat-raised-button.mat-primary:hover, .mat-button-base.mat-primary:hover,
|
|
47
|
-
.mdc-button--raised.mat-primary:hover {
|
|
48
|
-
background: #3fcaff;
|
|
49
|
-
}
|
|
50
|
-
.mat-raised-button.mat-orange, .mat-button-base.mat-orange,
|
|
51
|
-
.mdc-button--raised.mat-orange {
|
|
52
|
-
color: #ffffff !important;
|
|
53
|
-
background: #F57F17 !important;
|
|
54
|
-
}
|
|
55
|
-
.mat-raised-button.mat-orange:hover, .mat-button-base.mat-orange:hover,
|
|
56
|
-
.mdc-button--raised.mat-orange:hover {
|
|
57
|
-
background: #FF6F00;
|
|
58
|
-
}
|
|
59
|
-
.mat-raised-button.mat-warn, .mat-button-base.mat-warn,
|
|
60
|
-
.mdc-button--raised.mat-warn {
|
|
61
|
-
color: #ffffff !important;
|
|
62
|
-
background: #f44336 !important;
|
|
63
|
-
}
|
|
64
|
-
.mat-raised-button.mat-warn:hover, .mat-button-base.mat-warn:hover,
|
|
65
|
-
.mdc-button--raised.mat-warn:hover {
|
|
66
|
-
background: #FF6F00;
|
|
67
|
-
}
|
|
68
|
-
.mat-raised-button.mat-blue, .mat-button-base.mat-blue,
|
|
69
|
-
.mdc-button--raised.mat-blue {
|
|
70
|
-
color: #ffffff !important;
|
|
71
|
-
background: #605DFF !important;
|
|
72
|
-
}
|
|
73
|
-
.mat-raised-button.mat-blue:hover, .mat-button-base.mat-blue:hover,
|
|
74
|
-
.mdc-button--raised.mat-blue:hover {
|
|
75
|
-
background: #5350ea;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.dialog-without-margin .mat-dialog-container {
|
|
79
|
-
padding: 0 !important;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.cdk-overlay-dark-backdrop {
|
|
83
|
-
background: rgba(0, 0, 0, 0.8);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
shared-button button {
|
|
87
|
-
height: 40px;
|
|
88
|
-
min-width: 100px;
|
|
89
|
-
}
|
|
90
|
-
shared-button button.small {
|
|
91
|
-
height: 32px !important;
|
|
92
|
-
}
|
|
93
|
-
shared-button button .mat-button-wrapper {
|
|
94
|
-
display: flex;
|
|
95
|
-
align-items: center;
|
|
96
|
-
padding: 4px 0;
|
|
97
|
-
justify-content: center;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.p-10 {
|
|
101
|
-
padding: 10px !important;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.pt-0 {
|
|
105
|
-
padding-top: 0 !important;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.mt-0 {
|
|
109
|
-
margin-top: 0 !important;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.pl-5 {
|
|
113
|
-
padding-left: 5px !important;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.pl-10 {
|
|
117
|
-
padding-left: 10px !important;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.mt-5 {
|
|
121
|
-
margin-top: 5px !important;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.mr-10 {
|
|
125
|
-
margin-right: 10px !important;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.ml-10 {
|
|
129
|
-
margin-left: 10px !important;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.pb-10 {
|
|
133
|
-
padding-bottom: 10px !important;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.mb-15 {
|
|
137
|
-
margin-bottom: 15px !important;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.mb-10 {
|
|
141
|
-
margin-bottom: 10px !important;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.mb-20 {
|
|
145
|
-
margin-bottom: 20px !important;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.mt-10 {
|
|
149
|
-
margin-top: 10px !important;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.mt-20 {
|
|
153
|
-
margin-top: 20px !important;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.mt-40 {
|
|
157
|
-
margin-top: 40px !important;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.mt-30 {
|
|
161
|
-
margin-top: 30px !important;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.mt-60 {
|
|
165
|
-
margin-top: 60px !important;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.pt-20 {
|
|
169
|
-
padding-top: 20px !important;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.mlr-5 {
|
|
173
|
-
margin-left: 5px !important;
|
|
174
|
-
margin-right: 5px !important;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.mlr--5 {
|
|
178
|
-
margin-left: -5px !important;
|
|
179
|
-
margin-right: -5px !important;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.width100 {
|
|
183
|
-
width: 100% !important;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.mr-1 {
|
|
187
|
-
margin-right: 1px !important;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.mr-5 {
|
|
191
|
-
margin-right: 5px !important;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
.mr-8 {
|
|
195
|
-
margin-right: 8px !important;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.w-100 {
|
|
199
|
-
width: 100% !important;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.fs-18 {
|
|
203
|
-
font-size: 18px !important;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
.ml-5 {
|
|
207
|
-
margin-left: 5px !important;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
.pb-0 {
|
|
211
|
-
padding-bottom: 0 !important;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
.mt--20 {
|
|
215
|
-
margin-top: -20px !important;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.mt--80 {
|
|
219
|
-
margin-top: -80px !important;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.mt-3 {
|
|
223
|
-
margin-top: 3px !important;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
.mb-3 {
|
|
227
|
-
margin-bottom: 3px !important;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.mb-30 {
|
|
231
|
-
margin-bottom: 30px !important;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.cdk-overlay-pane.mat-mdc-dialog-panel {
|
|
235
|
-
max-width: 1000px !important;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
.modal-size-big {
|
|
239
|
-
width: 800px;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.modal-size-middle {
|
|
243
|
-
width: 600px;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
.modal-size-small {
|
|
247
|
-
width: 300px;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
.modal-style-success,
|
|
251
|
-
.modal-style-error,
|
|
252
|
-
.modal-style-info {
|
|
253
|
-
padding: 24px;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.modal-style-success {
|
|
257
|
-
border-left: 5px solid #4caf50;
|
|
258
|
-
background: linear-gradient(15deg, rgba(109, 207, 113, 0.7882352941), #f0f8f0);
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
.modal-style-info {
|
|
262
|
-
border-left: 5px solid #fcb202;
|
|
263
|
-
background: linear-gradient(15deg, rgba(252, 178, 2, 0.5294117647), rgba(252, 178, 2, 0.031372549));
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
.modal-style-error {
|
|
267
|
-
border-left: 5px solid #f44336;
|
|
268
|
-
background: linear-gradient(15deg, rgba(242, 104, 100, 0.5803921569), #f7e6e4);
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
.modal-close-button {
|
|
272
|
-
right: 0;
|
|
273
|
-
margin: -9px 10px 0 0;
|
|
274
|
-
position: absolute;
|
|
275
|
-
cursor: pointer;
|
|
276
|
-
font-size: 16px;
|
|
277
|
-
font-weight: bold;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
.ck-editor__editable {
|
|
281
|
-
max-height: 600px;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
1
|
.mat-typography .publish-messages h4 {
|
|
285
2
|
margin-bottom: 0;
|
|
286
3
|
font-size: 14px;
|
package/src/lib/styles.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../projects/wt-front-shared/src/lib/
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../projects/wt-front-shared/src/lib/style.scss"],"names":[],"mappings":"AASA;EACE;EACA;EACA;;;AAIA;EACE;EACA;;AAEA;EACE;EACA;;;AAKN;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAqBE;EACE;;AAGF;EACE;;AAEA;EACE;EACA;;AAII;EACE;;;AAQZ;EACE;;;AAKE;EACE;EACA;;AAGF;EACE;EACA;;;AAKN;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAgBE;EACE;;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAIJ;EACE;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAGF;EACE;EACA;;;AAKN;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA2BA;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;;AAEA;EACE;EACA;;;AAKF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAeE;;AAGF;EACE;;;AAIJ;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA","file":"styles.css"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { OnInit } from "@angular/core";
|
|
2
|
-
import { ClassicEditor } from "ckeditor5";
|
|
3
|
-
import { AppConfig } from "../../../../../models";
|
|
4
|
-
import { AuthenticationService } from "../../../../services";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FormFieldCheditorComponent implements OnInit {
|
|
7
|
-
private appConfig;
|
|
8
|
-
private authenticationService;
|
|
9
|
-
entityId: string;
|
|
10
|
-
entity: string;
|
|
11
|
-
fieldDataField: string;
|
|
12
|
-
Editor: typeof ClassicEditor | null;
|
|
13
|
-
ckeConfig: any;
|
|
14
|
-
constructor(appConfig: AppConfig, authenticationService: AuthenticationService);
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
private setEditorConfig;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldCheditorComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldCheditorComponent, "shared-form-field-cheditor", never, { "entityId": { "alias": "entityId"; "required": false; }; "entity": { "alias": "entity"; "required": false; }; "fieldDataField": { "alias": "fieldDataField"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
|
-
}
|