wt-front-shared 1.0.10 → 1.0.11

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.
Files changed (172) hide show
  1. package/esm2020/public-api.mjs +24 -1
  2. package/fesm2015/wt-front-shared.mjs +136 -2913
  3. package/fesm2015/wt-front-shared.mjs.map +1 -1
  4. package/fesm2020/wt-front-shared.mjs +136 -2909
  5. package/fesm2020/wt-front-shared.mjs.map +1 -1
  6. package/lib/core/+state/index.d.ts +1 -1
  7. package/package.json +1 -1
  8. package/public-api.d.ts +0 -42
  9. package/esm2020/lib/core/animations/appearFromLeft.mjs +0 -18
  10. package/esm2020/lib/core/animations/appearFromLeftHideToRight.mjs +0 -18
  11. package/esm2020/lib/core/animations/appearFromLeftWithDelay.mjs +0 -18
  12. package/esm2020/lib/core/animations/appearOpacity.mjs +0 -18
  13. package/esm2020/lib/core/animations/expandCollapse.mjs +0 -18
  14. package/esm2020/lib/core/animations/hideToTopOpacity.mjs +0 -11
  15. package/esm2020/lib/core/components/access-denied/access-denied.component.mjs +0 -11
  16. package/esm2020/lib/core/components/access-denied/access-denied.module.mjs +0 -17
  17. package/esm2020/lib/core/components/auto-form/auto-form.module.mjs +0 -168
  18. package/esm2020/lib/core/components/auto-form/components/form-field-file/form-field-file.component.mjs +0 -166
  19. package/esm2020/lib/core/components/auto-form/components/form-field-file-show/form-field-file-show.component.mjs +0 -52
  20. package/esm2020/lib/core/components/auto-form/components/form-field-files/form-field-files.component.mjs +0 -108
  21. package/esm2020/lib/core/components/auto-form/components/form-field-files-show/form-field-files-show.component.mjs +0 -40
  22. package/esm2020/lib/core/components/auto-form/components/form-field-input/form-field-input.component.mjs +0 -77
  23. package/esm2020/lib/core/components/auto-form/components/form-field-input-show/form-field-input-show.component.mjs +0 -39
  24. package/esm2020/lib/core/components/auto-form/components/form-field-select/form-field-select.component.mjs +0 -191
  25. package/esm2020/lib/core/components/auto-form/components/form-field-select-show/form-field-select-show.component.mjs +0 -50
  26. package/esm2020/lib/core/components/auto-form/components/form-field-slide-toggle/form-field-slide-toggle.component.mjs +0 -18
  27. package/esm2020/lib/core/components/auto-form/components/form-field-slide-toggle-show/form-field-slide-toggle-show.component.mjs +0 -21
  28. package/esm2020/lib/core/components/auto-form/components/form-field-spinner/form-field-spinner.component.mjs +0 -12
  29. package/esm2020/lib/core/components/auto-form/components/form-field-tags/form-field-tags.component.mjs +0 -114
  30. package/esm2020/lib/core/components/auto-form/components/form-message-box/form-message-box.component.mjs +0 -101
  31. package/esm2020/lib/core/components/auto-form/constants/auto-form-show-value.mjs +0 -2
  32. package/esm2020/lib/core/components/auto-form/constants/errors.mjs +0 -35
  33. package/esm2020/lib/core/components/auto-form/containers/auto-form-main/auto-form-main.component.mjs +0 -200
  34. package/esm2020/lib/core/components/auto-form/containers/auto-form-show/auto-form-show.component.mjs +0 -48
  35. package/esm2020/lib/core/components/auto-form/containers/auto-form-show-field/auto-form-show-field.component.mjs +0 -56
  36. package/esm2020/lib/core/components/auto-form/containers/form-field/form-field.component.mjs +0 -163
  37. package/esm2020/lib/core/components/auto-form/containers/publish-messages/publish-messages.component.mjs +0 -131
  38. package/esm2020/lib/core/components/auto-form/interfaces/input-type.mjs +0 -11
  39. package/esm2020/lib/core/components/bread-crumbs/bread-crumbs.component.mjs +0 -18
  40. package/esm2020/lib/core/components/bread-crumbs/bread-crumbs.module.mjs +0 -19
  41. package/esm2020/lib/core/components/button/ButtonSize.mjs +0 -2
  42. package/esm2020/lib/core/components/button/ButtonStyle.mjs +0 -2
  43. package/esm2020/lib/core/components/button/ButtonTheme.mjs +0 -2
  44. package/esm2020/lib/core/components/button/button.component.mjs +0 -136
  45. package/esm2020/lib/core/components/button/button.module.mjs +0 -40
  46. package/esm2020/lib/core/components/chips-input/chips-input.component.mjs +0 -88
  47. package/esm2020/lib/core/components/chips-input/chips-input.module.mjs +0 -44
  48. package/esm2020/lib/core/components/files-upload/constants.mjs +0 -3
  49. package/esm2020/lib/core/components/files-upload/file-list-card/file-list-card.component.mjs +0 -131
  50. package/esm2020/lib/core/components/files-upload/files-upload/files-upload.component.mjs +0 -89
  51. package/esm2020/lib/core/components/files-upload/files-upload-list-images/files-upload-list-images.component.mjs +0 -97
  52. package/esm2020/lib/core/components/files-upload/files-upload.module.mjs +0 -68
  53. package/esm2020/lib/core/components/files-upload/table-files-uploading/table-files-uploading.component.mjs +0 -122
  54. package/esm2020/lib/core/components/form-field-error/form-field-error.component.mjs +0 -84
  55. package/esm2020/lib/core/components/form-field-error/form-field-error.module.mjs +0 -26
  56. package/esm2020/lib/core/components/form-field-publish-error/form-field-publish-error.component.mjs +0 -62
  57. package/esm2020/lib/core/components/form-field-publish-error/form-field-publish-error.module.mjs +0 -26
  58. package/esm2020/lib/core/components/header/header.component.mjs +0 -28
  59. package/esm2020/lib/core/components/header/header.module.mjs +0 -24
  60. package/esm2020/lib/core/components/icon/icon.component.mjs +0 -43
  61. package/esm2020/lib/core/components/icon/icon.module.mjs +0 -24
  62. package/esm2020/lib/core/components/icon/index.mjs +0 -3
  63. package/esm2020/lib/core/components/image/image.component.mjs +0 -65
  64. package/esm2020/lib/core/components/image/image.module.mjs +0 -24
  65. package/esm2020/lib/core/components/input-tags/input-tags.component.mjs +0 -29
  66. package/esm2020/lib/core/components/input-tags/input-tags.module.mjs +0 -24
  67. package/esm2020/lib/core/components/pagination/pagination.component.mjs +0 -50
  68. package/esm2020/lib/core/components/pagination/pagination.module.mjs +0 -28
  69. package/esm2020/lib/core/components/panel/panel.component.mjs +0 -36
  70. package/esm2020/lib/core/components/panel/panel.module.mjs +0 -28
  71. package/esm2020/lib/core/components/smart-progress-bar/smart-progress-bar.component.mjs +0 -21
  72. package/esm2020/lib/core/components/smart-progress-bar/smart-progress-bar.module.mjs +0 -18
  73. package/esm2020/lib/core/components/spinner/spinner.component.mjs +0 -29
  74. package/esm2020/lib/core/components/spinner/spinner.module.mjs +0 -24
  75. package/esm2020/lib/core/components/star-rating/star-rating.component.mjs +0 -23
  76. package/esm2020/lib/core/components/star-rating/star-rating.module.mjs +0 -22
  77. package/esm2020/lib/core/components/sticky-sidebar/sticky-sidebar.directive.mjs +0 -462
  78. package/esm2020/lib/core/components/sticky-sidebar/sticky-sidebar.module.mjs +0 -31
  79. package/esm2020/lib/core/components/table-menu/table-menu.component.mjs +0 -29
  80. package/esm2020/lib/core/components/table-menu/table-menu.module.mjs +0 -35
  81. package/esm2020/lib/core/components/tag-cloud/tag-cloud.component.mjs +0 -32
  82. package/esm2020/lib/core/components/tag-cloud/tag-cloud.module.mjs +0 -28
  83. package/esm2020/lib/core/components/text-with-link-more/text-with-link-more.component.mjs +0 -36
  84. package/esm2020/lib/core/components/text-with-link-more/text-with-link-more.module.mjs +0 -24
  85. package/esm2020/lib/core/constants/async-validators-type.mjs +0 -13
  86. package/esm2020/lib/core/constants/publish-errors.const.mjs +0 -31
  87. package/esm2020/lib/core/constants/validators-type.mjs +0 -9
  88. package/esm2020/lib/core/dialogs/delete/delete.component.mjs +0 -28
  89. package/esm2020/lib/core/dialogs/dialog.service.mjs +0 -26
  90. package/esm2020/lib/core/services/auto-form/auto-form.service.mjs +0 -153
  91. package/lib/core/animations/appearFromLeft.d.ts +0 -1
  92. package/lib/core/animations/appearFromLeftHideToRight.d.ts +0 -1
  93. package/lib/core/animations/appearFromLeftWithDelay.d.ts +0 -1
  94. package/lib/core/animations/appearOpacity.d.ts +0 -1
  95. package/lib/core/animations/expandCollapse.d.ts +0 -1
  96. package/lib/core/animations/hideToTopOpacity.d.ts +0 -1
  97. package/lib/core/components/access-denied/access-denied.component.d.ts +0 -5
  98. package/lib/core/components/access-denied/access-denied.module.d.ts +0 -7
  99. package/lib/core/components/auto-form/auto-form.module.d.ts +0 -47
  100. package/lib/core/components/auto-form/components/form-field-file/form-field-file.component.d.ts +0 -42
  101. package/lib/core/components/auto-form/components/form-field-file-show/form-field-file-show.component.d.ts +0 -9
  102. package/lib/core/components/auto-form/components/form-field-files/form-field-files.component.d.ts +0 -26
  103. package/lib/core/components/auto-form/components/form-field-files-show/form-field-files-show.component.d.ts +0 -19
  104. package/lib/core/components/auto-form/components/form-field-input/form-field-input.component.d.ts +0 -23
  105. package/lib/core/components/auto-form/components/form-field-input-show/form-field-input-show.component.d.ts +0 -14
  106. package/lib/core/components/auto-form/components/form-field-select/form-field-select.component.d.ts +0 -44
  107. package/lib/core/components/auto-form/components/form-field-select-show/form-field-select-show.component.d.ts +0 -20
  108. package/lib/core/components/auto-form/components/form-field-slide-toggle/form-field-slide-toggle.component.d.ts +0 -9
  109. package/lib/core/components/auto-form/components/form-field-slide-toggle-show/form-field-slide-toggle-show.component.d.ts +0 -11
  110. package/lib/core/components/auto-form/components/form-field-spinner/form-field-spinner.component.d.ts +0 -5
  111. package/lib/core/components/auto-form/components/form-field-tags/form-field-tags.component.d.ts +0 -42
  112. package/lib/core/components/auto-form/components/form-message-box/form-message-box.component.d.ts +0 -31
  113. package/lib/core/components/auto-form/constants/auto-form-show-value.d.ts +0 -1
  114. package/lib/core/components/auto-form/constants/errors.d.ts +0 -22
  115. package/lib/core/components/auto-form/containers/auto-form-main/auto-form-main.component.d.ts +0 -69
  116. package/lib/core/components/auto-form/containers/auto-form-show/auto-form-show.component.d.ts +0 -24
  117. package/lib/core/components/auto-form/containers/auto-form-show-field/auto-form-show-field.component.d.ts +0 -24
  118. package/lib/core/components/auto-form/containers/form-field/form-field.component.d.ts +0 -48
  119. package/lib/core/components/auto-form/containers/publish-messages/publish-messages.component.d.ts +0 -50
  120. package/lib/core/components/auto-form/interfaces/input-type.d.ts +0 -9
  121. package/lib/core/components/bread-crumbs/bread-crumbs.component.d.ts +0 -13
  122. package/lib/core/components/bread-crumbs/bread-crumbs.module.d.ts +0 -9
  123. package/lib/core/components/button/ButtonSize.d.ts +0 -1
  124. package/lib/core/components/button/ButtonStyle.d.ts +0 -1
  125. package/lib/core/components/button/ButtonTheme.d.ts +0 -1
  126. package/lib/core/components/button/button.component.d.ts +0 -35
  127. package/lib/core/components/button/button.module.d.ts +0 -13
  128. package/lib/core/components/chips-input/chips-input.component.d.ts +0 -37
  129. package/lib/core/components/chips-input/chips-input.module.d.ts +0 -14
  130. package/lib/core/components/files-upload/constants.d.ts +0 -12
  131. package/lib/core/components/files-upload/file-list-card/file-list-card.component.d.ts +0 -51
  132. package/lib/core/components/files-upload/files-upload/files-upload.component.d.ts +0 -42
  133. package/lib/core/components/files-upload/files-upload-list-images/files-upload-list-images.component.d.ts +0 -34
  134. package/lib/core/components/files-upload/files-upload.module.d.ts +0 -18
  135. package/lib/core/components/files-upload/table-files-uploading/table-files-uploading.component.d.ts +0 -43
  136. package/lib/core/components/form-field-error/form-field-error.component.d.ts +0 -22
  137. package/lib/core/components/form-field-error/form-field-error.module.d.ts +0 -9
  138. package/lib/core/components/form-field-publish-error/form-field-publish-error.component.d.ts +0 -26
  139. package/lib/core/components/form-field-publish-error/form-field-publish-error.module.d.ts +0 -9
  140. package/lib/core/components/header/header.component.d.ts +0 -13
  141. package/lib/core/components/header/header.module.d.ts +0 -8
  142. package/lib/core/components/icon/icon.component.d.ts +0 -24
  143. package/lib/core/components/icon/icon.module.d.ts +0 -9
  144. package/lib/core/components/icon/index.d.ts +0 -2
  145. package/lib/core/components/image/image.component.d.ts +0 -25
  146. package/lib/core/components/image/image.module.d.ts +0 -9
  147. package/lib/core/components/input-tags/input-tags.component.d.ts +0 -17
  148. package/lib/core/components/input-tags/input-tags.module.d.ts +0 -9
  149. package/lib/core/components/pagination/pagination.component.d.ts +0 -15
  150. package/lib/core/components/pagination/pagination.module.d.ts +0 -9
  151. package/lib/core/components/panel/panel.component.d.ts +0 -18
  152. package/lib/core/components/panel/panel.module.d.ts +0 -10
  153. package/lib/core/components/smart-progress-bar/smart-progress-bar.component.d.ts +0 -8
  154. package/lib/core/components/smart-progress-bar/smart-progress-bar.module.d.ts +0 -8
  155. package/lib/core/components/spinner/spinner.component.d.ts +0 -12
  156. package/lib/core/components/spinner/spinner.module.d.ts +0 -9
  157. package/lib/core/components/star-rating/star-rating.component.d.ts +0 -12
  158. package/lib/core/components/star-rating/star-rating.module.d.ts +0 -8
  159. package/lib/core/components/sticky-sidebar/sticky-sidebar.directive.d.ts +0 -78
  160. package/lib/core/components/sticky-sidebar/sticky-sidebar.module.d.ts +0 -16
  161. package/lib/core/components/table-menu/table-menu.component.d.ts +0 -12
  162. package/lib/core/components/table-menu/table-menu.module.d.ts +0 -10
  163. package/lib/core/components/tag-cloud/tag-cloud.component.d.ts +0 -14
  164. package/lib/core/components/tag-cloud/tag-cloud.module.d.ts +0 -10
  165. package/lib/core/components/text-with-link-more/text-with-link-more.component.d.ts +0 -12
  166. package/lib/core/components/text-with-link-more/text-with-link-more.module.d.ts +0 -9
  167. package/lib/core/constants/async-validators-type.d.ts +0 -10
  168. package/lib/core/constants/publish-errors.const.d.ts +0 -9
  169. package/lib/core/constants/validators-type.d.ts +0 -7
  170. package/lib/core/dialogs/delete/delete.component.d.ts +0 -17
  171. package/lib/core/dialogs/dialog.service.d.ts +0 -10
  172. package/lib/core/services/auto-form/auto-form.service.d.ts +0 -27
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./star-rating.component";
3
- import * as i2 from "@angular/common";
4
- export declare class StarRatingModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<StarRatingModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<StarRatingModule, [typeof i1.StarRatingComponent], [typeof i2.CommonModule], [typeof i1.StarRatingComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<StarRatingModule>;
8
- }
@@ -1,78 +0,0 @@
1
- import { AfterContentInit, ElementRef, InjectionToken, NgZone, OnDestroy, OnInit, Renderer2 } from '@angular/core';
2
- import { Platform } from '@angular/cdk/platform';
3
- import * as i0 from "@angular/core";
4
- export interface StickySidebarOptions {
5
- topSpacing: number;
6
- bottomSpacing: number;
7
- stickyClass: string;
8
- resizeSensor: boolean;
9
- minWidth: boolean | number;
10
- containerSelector: string;
11
- containerForWidth: boolean | string;
12
- }
13
- export declare const defaultStickySidebarOptions: StickySidebarOptions;
14
- export declare const STICKY_SIDEBAR_OPTIONS: InjectionToken<StickySidebarOptions>;
15
- export declare class StickySidebarDirective implements OnInit, AfterContentInit, OnDestroy {
16
- private element;
17
- private _options;
18
- private zone;
19
- private renderer;
20
- private platform;
21
- private sidebarInner;
22
- private eventSub;
23
- private sidebarEl;
24
- private containerForWidth;
25
- private affixedType;
26
- private direction;
27
- private support;
28
- private _initialized;
29
- private _reStyle;
30
- private _breakpoint;
31
- private dimensions;
32
- private container;
33
- private _running;
34
- private scrollDirection;
35
- private lastScrollTop;
36
- private resizeDetector;
37
- private _updateStickyListener;
38
- private options;
39
- private resize;
40
- private resizeStart;
41
- constructor(element: ElementRef, _options: StickySidebarOptions, zone: NgZone, renderer: Renderer2, platform: Platform);
42
- static offsetRelative(element: HTMLElement): {
43
- left: number;
44
- top: number;
45
- };
46
- ngOnInit(): void;
47
- bindEvents(): void;
48
- ngOnDestroy(): void;
49
- ngAfterContentInit(): void;
50
- handleResizeEvent(evt: any): void;
51
- addResizeEventListener(element: HTMLElement, handler: Function): void;
52
- removeResizeEventListener(element: HTMLElement): void;
53
- calcDimensions(): void;
54
- _calcDimensionsWithScroll(): void;
55
- isSidebarFitsViewport(): boolean;
56
- observeScrollDir(): void;
57
- getAffixType(): string;
58
- _getAffixTypeScrollingDown(): string;
59
- _getAffixTypeScrollingUp(): string;
60
- _getStyle(affixType: any): {
61
- inner: {};
62
- outer: {};
63
- };
64
- stickyPosition(force?: boolean): void;
65
- _widthBreakpoint(): void;
66
- updateSticky(event: Event): void;
67
- _setSupportFeatures(): void;
68
- _getTranslate(y?: string, x?: string, z?: string): string | false;
69
- supportTransform(transform3d?: boolean): any;
70
- private getScrollTop;
71
- static ɵfac: i0.ɵɵFactoryDeclaration<StickySidebarDirective, [null, { optional: true; }, null, null, null]>;
72
- static ɵdir: i0.ɵɵDirectiveDeclaration<StickySidebarDirective, "[wtStickySidebar]", never, {}, {}, ["sidebarInner"], never, false, never>;
73
- }
74
- export declare class StickySidebarInnerDirective {
75
- constructor();
76
- static ɵfac: i0.ɵɵFactoryDeclaration<StickySidebarInnerDirective, never>;
77
- static ɵdir: i0.ɵɵDirectiveDeclaration<StickySidebarInnerDirective, "[wtStickySidebarInner]", never, {}, {}, never, never, false, never>;
78
- }
@@ -1,16 +0,0 @@
1
- import { StickySidebarOptions } from './sticky-sidebar.directive';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "./sticky-sidebar.directive";
4
- import * as i2 from "@angular/common";
5
- 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
- static ɵfac: i0.ɵɵFactoryDeclaration<StickySidebarModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<StickySidebarModule, [typeof i1.StickySidebarDirective, typeof i1.StickySidebarInnerDirective], [typeof i2.CommonModule], [typeof i1.StickySidebarDirective, typeof i1.StickySidebarInnerDirective]>;
15
- static ɵinj: i0.ɵɵInjectorDeclaration<StickySidebarModule>;
16
- }
@@ -1,12 +0,0 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TableMenuComponent implements OnInit {
4
- edit: EventEmitter<any>;
5
- delete: EventEmitter<any>;
6
- constructor();
7
- ngOnInit(): void;
8
- editAction(): void;
9
- deleteAction(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TableMenuComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<TableMenuComponent, "shared-table-menu", never, {}, { "edit": "edit"; "delete": "delete"; }, never, never, false, never>;
12
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./table-menu.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/material/icon";
5
- import * as i4 from "@angular/material/menu";
6
- export declare class TableMenuModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TableMenuModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<TableMenuModule, [typeof i1.TableMenuComponent], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.MatMenuModule], [typeof i1.TableMenuComponent, typeof i3.MatIconModule, typeof i4.MatMenuModule]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<TableMenuModule>;
10
- }
@@ -1,14 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { trackById } from '@wt-front-shared/core/utils';
3
- import { Observable } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- export declare class TagCloudComponent implements OnInit, OnDestroy {
6
- loaded: boolean;
7
- getTags$: Observable<any[]>;
8
- trackByFn: typeof trackById;
9
- constructor();
10
- ngOnInit(): void;
11
- ngOnDestroy(): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<TagCloudComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<TagCloudComponent, "shared-tag-cloud", never, {}, {}, never, never, false, never>;
14
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./tag-cloud.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@wt-front-shared/components/spinner/spinner.module";
5
- import * as i4 from "@angular/router";
6
- export declare class TagCloudModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TagCloudModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<TagCloudModule, [typeof i1.TagCloudComponent], [typeof i2.CommonModule, typeof i3.SharedSpinnerModule, typeof i4.RouterModule], [typeof i1.TagCloudComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<TagCloudModule>;
10
- }
@@ -1,12 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TextWithLinkMoreComponent implements OnInit, OnDestroy {
4
- text: string;
5
- height: number;
6
- constructor();
7
- ngOnInit(): void;
8
- ngOnDestroy(): void;
9
- toggle(textBlock: HTMLElement): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TextWithLinkMoreComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<TextWithLinkMoreComponent, "shared-text-with-link-more", never, { "text": "text"; "height": "height"; }, {}, never, never, false, never>;
12
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./text-with-link-more.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../../pipes/pipes.module";
5
- export declare class TextWithLinkMoreModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<TextWithLinkMoreModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<TextWithLinkMoreModule, [typeof i1.TextWithLinkMoreComponent], [typeof i2.CommonModule, typeof i3.PipesModule], [typeof i1.TextWithLinkMoreComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<TextWithLinkMoreModule>;
9
- }
@@ -1,10 +0,0 @@
1
- export declare enum AsyncValidators {
2
- ItemUniqValue = "item-uniq-value"
3
- }
4
- export declare enum AsyncValidatorsType {
5
- FirmUniqEmail = "firm-uniq-email",
6
- FirmUniqPhone = "firm-uniq-phone",
7
- FirmUniqName = "firm-uniq-name",
8
- FirmUniqLegalName = "firm-uniq-legal-name",
9
- CommonUniqItem = "common-uniq-item"
10
- }
@@ -1,9 +0,0 @@
1
- export interface PublishErrorWithDescription {
2
- title: string;
3
- description: string;
4
- field?: string;
5
- }
6
- export interface PublishErrorsWithDescription {
7
- [key: string]: PublishErrorWithDescription;
8
- }
9
- export declare const PublishErrors: PublishErrorsWithDescription;
@@ -1,7 +0,0 @@
1
- export declare enum ValidatorsType {
2
- Required = "required",
3
- RequiredTrue = "requiredTrue",
4
- MinLength = "minLength",
5
- Pattern = "pattern",
6
- Custom = "custom"
7
- }
@@ -1,17 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { MatDialogRef } from "@angular/material/dialog";
3
- import * as i0 from "@angular/core";
4
- export interface DialogData {
5
- animal: string;
6
- name: string;
7
- }
8
- export declare class DeleteComponent implements OnInit {
9
- dialogRef: MatDialogRef<DeleteComponent>;
10
- data: DialogData;
11
- constructor(dialogRef: MatDialogRef<DeleteComponent>, data: DialogData);
12
- onNoClick(): void;
13
- onYesClick(): void;
14
- ngOnInit(): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<DeleteComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<DeleteComponent, "app-delete", never, {}, {}, never, never, false, never>;
17
- }
@@ -1,10 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { MatDialog } from "@angular/material/dialog";
3
- import * as i0 from "@angular/core";
4
- export declare class DialogService {
5
- dialog: MatDialog;
6
- constructor(dialog: MatDialog);
7
- openDeleteDialog(): Observable<any>;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
10
- }
@@ -1,27 +0,0 @@
1
- import { FormValidationFacade } from '@wt-front-shared/state/form-validation';
2
- import { AbstractControl } from '@angular/forms';
3
- import { BaseAutoFormService } from '@wt-front-shared/core/services/base-auto-form/base-auto-form.service';
4
- import { NotificationsFacade } from '@wt-front-shared/state/notifications';
5
- import { FormErrorModel } from "@wt-front-shared/models/models/publish-message/publish-message";
6
- import { IFormField, IFormFieldOptions } from "@wt-front-shared/components/auto-form/interfaces/form-field";
7
- import { PublishErrorsWithDescription, PublishErrorWithDescription } from "@wt-front-shared/constants/publish-errors.const";
8
- import * as i0 from "@angular/core";
9
- export declare class AutoFormService extends BaseAutoFormService {
10
- private formValidationFacade;
11
- private notificationsFacade;
12
- validatorsData: {
13
- [key: string]: {
14
- value: string;
15
- valid: boolean;
16
- };
17
- };
18
- constructor(formValidationFacade: FormValidationFacade, notificationsFacade: NotificationsFacade);
19
- getAsyncValidators(validators: string[], options?: IFormFieldOptions): any[];
20
- getValidators(validators: string[], options?: IFormFieldOptions): any[];
21
- itemUniqValueValidator(controlIn: AbstractControl, optionsIn: IFormFieldOptions): Promise<any>;
22
- prepareFormFieldPublicationMessage(messages: FormErrorModel[], publishErrorConstants: PublishErrorsWithDescription, fields: IFormField[]): PublishErrorWithDescription[];
23
- private prepareText;
24
- private replaceAll;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<AutoFormService, never>;
26
- static ɵprov: i0.ɵɵInjectableDeclaration<AutoFormService>;
27
- }