@osovitny/anatoly 2.1.14 → 2.14.1

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 (161) hide show
  1. package/assets/styles/alerts.less +182 -0
  2. package/assets/styles/spinner.less +64 -0
  3. package/assets/styles/toastr.less +192 -0
  4. package/esm2020/lib/core/core.module.mjs +72 -0
  5. package/esm2020/lib/core/go/base-go.service.mjs +41 -0
  6. package/esm2020/lib/core/interceptors/httpInterceptor.mjs +108 -0
  7. package/esm2020/lib/core/localization/localization.module.mjs +47 -0
  8. package/esm2020/lib/core/localization/localization.service.mjs +185 -0
  9. package/esm2020/lib/core/localization/localizationSettings.module.mjs +88 -0
  10. package/esm2020/lib/core/localization/localize.pipe.mjs +78 -0
  11. package/esm2020/lib/core/logging/globalErrorHandler.mjs +44 -0
  12. package/esm2020/lib/core/logging/logging.service.mjs +39 -0
  13. package/esm2020/lib/core/notifications/services/notification-service.mjs +228 -0
  14. package/esm2020/lib/core/services/appcontext.service.mjs +118 -0
  15. package/esm2020/lib/core/services/dm.service.mjs +72 -0
  16. package/esm2020/lib/core/services/google-analytics.service.mjs +54 -0
  17. package/{esm2015/lib/core/services/idle.service.js → esm2020/lib/core/services/idle.service.mjs} +9 -7
  18. package/{esm2015/lib/core/services/loading.service.js → esm2020/lib/core/services/loading.service.mjs} +9 -8
  19. package/esm2020/lib/core/services/web-storage.service.mjs +69 -0
  20. package/esm2020/lib/core/utils.mjs +82 -0
  21. package/esm2020/lib/data/base/base-api.service.mjs +89 -0
  22. package/esm2020/lib/data/base/grid/base-grid-edit.service.mjs +77 -0
  23. package/esm2020/lib/data/base/grid/base-grid-read.service.mjs +62 -0
  24. package/esm2020/lib/data/data.module.mjs +51 -0
  25. package/esm2020/lib/data/services/billing-api.service.mjs +65 -0
  26. package/esm2020/lib/data/services/notifications/notifications-api-service.mjs +43 -0
  27. package/esm2020/lib/ui/components/base-edit.component.mjs +143 -0
  28. package/esm2020/lib/ui/components/base.component.mjs +47 -0
  29. package/esm2020/lib/ui/components/base.dialog.mjs +49 -0
  30. package/esm2020/lib/ui/components/billing/buyaccess-button.component.mjs +69 -0
  31. package/esm2020/lib/ui/components/billing/subscribe-plan-button.component.mjs +63 -0
  32. package/esm2020/lib/ui/components/billing/upgrade-plan-button.component.mjs +53 -0
  33. package/esm2020/lib/ui/components/content-header/content-header.component.mjs +37 -0
  34. package/esm2020/lib/ui/components/html-editor/base-html-editor.component.mjs +111 -0
  35. package/esm2020/lib/ui/components/html-editor/forms-html-editor.component.mjs +48 -0
  36. package/esm2020/lib/ui/components/html-editor/html-editor.component.mjs +52 -0
  37. package/esm2020/lib/ui/components/identity/signin-button.component.mjs +32 -0
  38. package/esm2020/lib/ui/components/identity/signout-button.component.mjs +32 -0
  39. package/esm2020/lib/ui/components/identity/signup-button.component.mjs +31 -0
  40. package/esm2020/lib/ui/components/loading/loading.component.mjs +48 -0
  41. package/esm2020/lib/ui/components/spinner/spinner.component.mjs +74 -0
  42. package/esm2020/lib/ui/directives/native-element.directive.mjs +41 -0
  43. package/esm2020/lib/ui/pipes/filesize.pipe.mjs +45 -0
  44. package/esm2020/lib/ui/pipes/replace-text.pipe.mjs +40 -0
  45. package/esm2020/lib/ui/pipes/safeHtml.pipe.mjs +37 -0
  46. package/esm2020/lib/ui/ui.module.mjs +155 -0
  47. package/esm2020/lib/ui/validation/form-validation-summary.component.mjs +66 -0
  48. package/esm2020/lib/ui/validation/item-validation-summary.component.mjs +39 -0
  49. package/esm2020/lib/ui/validation/validation-summary.component.mjs +128 -0
  50. package/fesm2015/{osovitny-anatoly.js → osovitny-anatoly.mjs} +771 -717
  51. package/fesm2015/osovitny-anatoly.mjs.map +1 -0
  52. package/fesm2020/osovitny-anatoly.mjs +3496 -0
  53. package/fesm2020/osovitny-anatoly.mjs.map +1 -0
  54. package/{osovitny-anatoly.d.ts → index.d.ts} +1 -0
  55. package/lib/core/core.module.d.ts +5 -0
  56. package/lib/core/go/base-go.service.d.ts +3 -0
  57. package/lib/core/interceptors/httpInterceptor.d.ts +3 -0
  58. package/lib/core/localization/localization.module.d.ts +6 -0
  59. package/lib/core/localization/localization.service.d.ts +3 -0
  60. package/lib/core/localization/localizationSettings.module.d.ts +5 -0
  61. package/lib/core/localization/localize.pipe.d.ts +3 -0
  62. package/lib/core/logging/globalErrorHandler.d.ts +3 -0
  63. package/lib/core/logging/logging.service.d.ts +3 -0
  64. package/lib/core/notifications/services/notification-service.d.ts +3 -0
  65. package/lib/core/services/appcontext.service.d.ts +3 -0
  66. package/lib/core/services/dm.service.d.ts +3 -0
  67. package/lib/core/services/google-analytics.service.d.ts +3 -0
  68. package/lib/core/services/idle.service.d.ts +3 -0
  69. package/lib/core/services/loading.service.d.ts +3 -0
  70. package/lib/core/services/web-storage.service.d.ts +5 -0
  71. package/lib/data/base/base-api.service.d.ts +3 -0
  72. package/lib/data/base/grid/base-grid-edit.service.d.ts +3 -0
  73. package/lib/data/base/grid/base-grid-read.service.d.ts +3 -0
  74. package/lib/data/data.module.d.ts +5 -0
  75. package/lib/data/services/billing-api.service.d.ts +3 -0
  76. package/lib/data/services/notifications/notifications-api-service.d.ts +3 -0
  77. package/lib/ui/components/base-edit.component.d.ts +5 -2
  78. package/lib/ui/components/base.component.d.ts +3 -0
  79. package/lib/ui/components/base.dialog.d.ts +3 -0
  80. package/lib/ui/components/billing/buyaccess-button.component.d.ts +3 -0
  81. package/lib/ui/components/billing/subscribe-plan-button.component.d.ts +3 -0
  82. package/lib/ui/components/billing/upgrade-plan-button.component.d.ts +3 -0
  83. package/lib/ui/components/content-header/content-header.component.d.ts +3 -0
  84. package/lib/ui/components/html-editor/base-html-editor.component.d.ts +3 -0
  85. package/lib/ui/components/html-editor/forms-html-editor.component.d.ts +3 -0
  86. package/lib/ui/components/html-editor/html-editor.component.d.ts +3 -0
  87. package/lib/ui/components/identity/signin-button.component.d.ts +3 -0
  88. package/lib/ui/components/identity/signout-button.component.d.ts +3 -0
  89. package/lib/ui/components/identity/signup-button.component.d.ts +3 -0
  90. package/lib/ui/components/loading/loading.component.d.ts +3 -0
  91. package/lib/ui/components/spinner/spinner.component.d.ts +3 -0
  92. package/lib/ui/directives/native-element.directive.d.ts +3 -0
  93. package/lib/ui/pipes/filesize.pipe.d.ts +3 -0
  94. package/lib/ui/pipes/replace-text.pipe.d.ts +3 -0
  95. package/lib/ui/pipes/safeHtml.pipe.d.ts +3 -0
  96. package/lib/ui/ui.module.d.ts +24 -0
  97. package/lib/ui/validation/form-validation-summary.component.d.ts +3 -0
  98. package/lib/ui/validation/item-validation-summary.component.d.ts +3 -0
  99. package/lib/ui/validation/validation-summary.component.d.ts +3 -0
  100. package/package.json +23 -11
  101. package/bundles/osovitny-anatoly.umd.js +0 -3700
  102. package/bundles/osovitny-anatoly.umd.js.map +0 -1
  103. package/esm2015/lib/core/core.module.js +0 -58
  104. package/esm2015/lib/core/go/base-go.service.js +0 -42
  105. package/esm2015/lib/core/interceptors/httpInterceptor.js +0 -109
  106. package/esm2015/lib/core/localization/localization.module.js +0 -41
  107. package/esm2015/lib/core/localization/localization.service.js +0 -187
  108. package/esm2015/lib/core/localization/localizationSettings.module.js +0 -78
  109. package/esm2015/lib/core/localization/localize.pipe.js +0 -78
  110. package/esm2015/lib/core/logging/globalErrorHandler.js +0 -44
  111. package/esm2015/lib/core/logging/logging.service.js +0 -38
  112. package/esm2015/lib/core/notifications/services/notification-service.js +0 -230
  113. package/esm2015/lib/core/services/appcontext.service.js +0 -119
  114. package/esm2015/lib/core/services/dm.service.js +0 -74
  115. package/esm2015/lib/core/services/google-analytics.service.js +0 -53
  116. package/esm2015/lib/core/services/web-storage.service.js +0 -66
  117. package/esm2015/lib/core/utils.js +0 -81
  118. package/esm2015/lib/data/base/base-api.service.js +0 -89
  119. package/esm2015/lib/data/base/grid/base-grid-edit.service.js +0 -77
  120. package/esm2015/lib/data/base/grid/base-grid-read.service.js +0 -62
  121. package/esm2015/lib/data/data.module.js +0 -43
  122. package/esm2015/lib/data/services/billing-api.service.js +0 -65
  123. package/esm2015/lib/data/services/notifications/notifications-api-service.js +0 -45
  124. package/esm2015/lib/ui/components/base-edit.component.js +0 -142
  125. package/esm2015/lib/ui/components/base.component.js +0 -43
  126. package/esm2015/lib/ui/components/base.dialog.js +0 -47
  127. package/esm2015/lib/ui/components/billing/buyaccess-button.component.js +0 -71
  128. package/esm2015/lib/ui/components/billing/subscribe-plan-button.component.js +0 -63
  129. package/esm2015/lib/ui/components/billing/upgrade-plan-button.component.js +0 -54
  130. package/esm2015/lib/ui/components/content-header/content-header.component.js +0 -37
  131. package/esm2015/lib/ui/components/html-editor/base-html-editor.component.js +0 -108
  132. package/esm2015/lib/ui/components/html-editor/forms-html-editor.component.js +0 -44
  133. package/esm2015/lib/ui/components/html-editor/html-editor.component.js +0 -51
  134. package/esm2015/lib/ui/components/identity/signin-button.component.js +0 -33
  135. package/esm2015/lib/ui/components/identity/signout-button.component.js +0 -33
  136. package/esm2015/lib/ui/components/identity/signup-button.component.js +0 -31
  137. package/esm2015/lib/ui/components/loading/loading.component.js +0 -49
  138. package/esm2015/lib/ui/components/spinner/spinner.component.js +0 -73
  139. package/esm2015/lib/ui/directives/native-element.directive.js +0 -41
  140. package/esm2015/lib/ui/pipes/filesize.pipe.js +0 -41
  141. package/esm2015/lib/ui/pipes/replace-text.pipe.js +0 -36
  142. package/esm2015/lib/ui/pipes/safeHtml.pipe.js +0 -36
  143. package/esm2015/lib/ui/ui.module.js +0 -105
  144. package/esm2015/lib/ui/validation/form-validation-summary.component.js +0 -64
  145. package/esm2015/lib/ui/validation/item-validation-summary.component.js +0 -38
  146. package/esm2015/lib/ui/validation/validation-summary.component.js +0 -126
  147. package/fesm2015/osovitny-anatoly.js.map +0 -1
  148. package/osovitny-anatoly.metadata.json +0 -1
  149. /package/{esm2015/lib/core/consts/settings.js → esm2020/lib/core/consts/settings.mjs} +0 -0
  150. /package/{esm2015/lib/core/consts/urls.js → esm2020/lib/core/consts/urls.mjs} +0 -0
  151. /package/{esm2015/lib/core/convert.js → esm2020/lib/core/convert.mjs} +0 -0
  152. /package/{esm2015/lib/core/guards/once-import.guard.js → esm2020/lib/core/guards/once-import.guard.mjs} +0 -0
  153. /package/{esm2015/lib/core/guid.js → esm2020/lib/core/guid.mjs} +0 -0
  154. /package/{esm2015/lib/core/localization/utils.js → esm2020/lib/core/localization/utils.mjs} +0 -0
  155. /package/{esm2015/lib/core/notifications/alerts.js → esm2020/lib/core/notifications/alerts.mjs} +0 -0
  156. /package/{esm2015/lib/core/notifications/interfaces/notification.js → esm2020/lib/core/notifications/interfaces/notification.mjs} +0 -0
  157. /package/{esm2015/lib/core/subs.js → esm2020/lib/core/subs.mjs} +0 -0
  158. /package/{esm2015/lib/data/consts.js → esm2020/lib/data/consts.mjs} +0 -0
  159. /package/{esm2015/lib/ui/components/html-editor/html-editor.defaultoptions.js → esm2020/lib/ui/components/html-editor/html-editor.defaultoptions.mjs} +0 -0
  160. /package/{esm2015/osovitny-anatoly.js → esm2020/osovitny-anatoly.mjs} +0 -0
  161. /package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
@@ -1,5 +1,6 @@
1
1
  import { ToastrService } from 'ngx-toastr';
2
2
  import { INotification } from '../interfaces/notification';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class NotificationService {
4
5
  private toastrService;
5
6
  private _sessionNotifications;
@@ -19,4 +20,6 @@ export declare class NotificationService {
19
20
  set sessionNotifications(val: INotification[]);
20
21
  get serverNotifications(): INotification[];
21
22
  set serverNotifications(val: INotification[]);
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationService, never>;
24
+ static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
22
25
  }
@@ -1,6 +1,7 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { BaseApiService } from '../../data/base/base-api.service';
3
3
  import { SessionStorageService } from './web-storage.service';
4
+ import * as i0 from "@angular/core";
4
5
  export declare class AppContextService extends BaseApiService {
5
6
  protected http: HttpClient;
6
7
  protected sessionStorage: SessionStorageService;
@@ -19,4 +20,6 @@ export declare class AppContextService extends BaseApiService {
19
20
  isUserAdmin(): any;
20
21
  get current(): any;
21
22
  set current(value: any);
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppContextService, never>;
24
+ static ɵprov: i0.ɵɵInjectableDeclaration<AppContextService>;
22
25
  }
@@ -1,4 +1,5 @@
1
1
  import { Title, Meta, MetaDefinition } from '@angular/platform-browser';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class DigitalMarketingService {
3
4
  private title;
4
5
  private meta;
@@ -10,4 +11,6 @@ export declare class DigitalMarketingService {
10
11
  updateMetaTags(meta: MetaDefinition[]): void;
11
12
  setCanonicalUrl(url?: string): void;
12
13
  updateCanonicalUrl(url?: string): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<DigitalMarketingService, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<DigitalMarketingService>;
13
16
  }
@@ -1,8 +1,11 @@
1
1
  import { Router } from '@angular/router';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class GoogleAnalyticsService {
3
4
  private router;
4
5
  private subscription;
5
6
  constructor(router: Router);
6
7
  subscribe(): void;
7
8
  unsubscribe(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoogleAnalyticsService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<GoogleAnalyticsService>;
8
11
  }
@@ -1,4 +1,5 @@
1
1
  import { Observable, Subject } from 'rxjs';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class IdleService {
3
4
  private idle$;
4
5
  private timer$;
@@ -13,4 +14,6 @@ export declare class IdleService {
13
14
  startWatching(timeOutSeconds: any): Observable<any>;
14
15
  stopWatching(): void;
15
16
  restartIdleTimer(timeOutSeconds: any): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<IdleService, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<IdleService>;
16
19
  }
@@ -1,4 +1,5 @@
1
1
  import { BehaviorSubject } from "rxjs";
2
+ import * as i0 from "@angular/core";
2
3
  export declare class LoadingService extends BehaviorSubject<boolean> {
3
4
  private counter;
4
5
  isFreezed: boolean;
@@ -7,4 +8,6 @@ export declare class LoadingService extends BehaviorSubject<boolean> {
7
8
  hide(): void;
8
9
  freeze(timeout?: number): void;
9
10
  reset(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadingService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<LoadingService>;
10
13
  }
@@ -1,3 +1,4 @@
1
+ import * as i0 from "@angular/core";
1
2
  declare class WebStorageService {
2
3
  storage: any;
3
4
  constructor(storage: string);
@@ -9,8 +10,12 @@ declare class WebStorageService {
9
10
  }
10
11
  export declare class LocalStorageService extends WebStorageService {
11
12
  constructor();
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageService>;
12
15
  }
13
16
  export declare class SessionStorageService extends WebStorageService {
14
17
  constructor();
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<SessionStorageService, never>;
19
+ static ɵprov: i0.ɵɵInjectableDeclaration<SessionStorageService>;
15
20
  }
16
21
  export {};
@@ -1,5 +1,6 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class BaseApiService {
4
5
  protected http: HttpClient;
5
6
  protected baseUrl: string;
@@ -12,4 +13,6 @@ export declare class BaseApiService {
12
13
  getExternalTextFile(url: string): Observable<any>;
13
14
  getExternalJsonFile(url: string): Observable<any>;
14
15
  getJsonFile(fileName: string): Observable<any[]>;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseApiService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<BaseApiService>;
15
18
  }
@@ -1,6 +1,7 @@
1
1
  import { HttpClient } from "@angular/common/http";
2
2
  import { Observable } from "rxjs";
3
3
  import { BaseGridReadService } from "./base-grid-read.service";
4
+ import * as i0 from "@angular/core";
4
5
  export declare class BaseGridEditService extends BaseGridReadService {
5
6
  protected http: HttpClient;
6
7
  protected baseUrl: string;
@@ -10,4 +11,6 @@ export declare class BaseGridEditService extends BaseGridReadService {
10
11
  save(data: any, isNew: boolean, sucess?: Function): void;
11
12
  delete(data: any, sucess?: Function): import("rxjs").Subscription;
12
13
  post(action: any, data?: any): Observable<any[]>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseGridEditService, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<BaseGridEditService>;
13
16
  }
@@ -1,5 +1,6 @@
1
1
  import { HttpClient } from "@angular/common/http";
2
2
  import { BehaviorSubject } from "rxjs";
3
+ import * as i0 from "@angular/core";
3
4
  export declare class BaseGridReadService extends BehaviorSubject<any[]> {
4
5
  protected http: HttpClient;
5
6
  protected data: any[];
@@ -8,4 +9,6 @@ export declare class BaseGridReadService extends BehaviorSubject<any[]> {
8
9
  constructor(http: HttpClient);
9
10
  serializeParams(data?: any): string;
10
11
  read(params?: any, success?: Function, error?: Function): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseGridReadService, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<BaseGridReadService>;
11
14
  }
@@ -1,3 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
1
3
  export declare class AnatolyDataModule {
2
4
  constructor(parentModule: AnatolyDataModule);
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnatolyDataModule, [{ optional: true; skipSelf: true; }]>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AnatolyDataModule, never, [typeof i1.CommonModule], never>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<AnatolyDataModule>;
3
8
  }
@@ -1,9 +1,12 @@
1
1
  import { HttpClient } from "@angular/common/http";
2
2
  import { BaseApiService } from "../base/base-api.service";
3
+ import * as i0 from "@angular/core";
3
4
  export declare class BillingApiService extends BaseApiService {
4
5
  protected http: HttpClient;
5
6
  constructor(http: HttpClient);
6
7
  requestNewSubscription(requestedPlan: Number, success?: Function, error?: Function): void;
7
8
  cancelRequestedSubscription(success?: Function, error?: Function): void;
8
9
  buyAccess(requestedPlan: Number, success?: Function, error?: Function): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<BillingApiService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<BillingApiService>;
9
12
  }
@@ -2,8 +2,11 @@ import { HttpClient } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
3
  import { INotification } from '../../../core/notifications/interfaces/notification';
4
4
  import { BaseApiService } from '../../base/base-api.service';
5
+ import * as i0 from "@angular/core";
5
6
  export declare class NotificationsApiService extends BaseApiService {
6
7
  protected http: HttpClient;
7
8
  constructor(http: HttpClient);
8
9
  retrieveNotifications(): Observable<INotification[]>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsApiService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<NotificationsApiService>;
9
12
  }
@@ -1,5 +1,6 @@
1
1
  import { FormGroup, AbstractControl, FormControl, ValidatorFn, AbstractControlOptions, AsyncValidatorFn } from "@angular/forms";
2
2
  import { BaseComponent } from "./base.component";
3
+ import * as i0 from "@angular/core";
3
4
  export declare abstract class BaseEditComponent extends BaseComponent {
4
5
  formGroup: FormGroup;
5
6
  formSubmitted: boolean;
@@ -31,7 +32,7 @@ export declare abstract class BaseEditComponent extends BaseComponent {
31
32
  * @param validatorOrOpts
32
33
  * @param asyncValidator
33
34
  */
34
- createFormControl(formState?: any, validatorOrOpts?: ValidatorFn | ValidatorFn[] | AbstractControlOptions | null, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[] | null): FormControl;
35
+ createFormControl(formState?: any, validatorOrOpts?: ValidatorFn | ValidatorFn[] | AbstractControlOptions | null, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[] | null): FormControl<any>;
35
36
  /**
36
37
  * Set error to control
37
38
  * @param controlName formControl name
@@ -50,6 +51,8 @@ export declare abstract class BaseEditComponent extends BaseComponent {
50
51
  * main use case is used in html pages
51
52
  */
52
53
  get fc(): {
53
- [key: string]: AbstractControl;
54
+ [key: string]: AbstractControl<any, any>;
54
55
  };
56
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseEditComponent, never>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseEditComponent, "ng-component", never, { "formGroup": "formGroup"; "formSubmitted": "formSubmitted"; }, {}, never, never, false>;
55
58
  }
@@ -1,7 +1,10 @@
1
1
  import { OnDestroy } from "@angular/core";
2
2
  import { Subs } from "../../core/subs";
3
+ import * as i0 from "@angular/core";
3
4
  export declare abstract class BaseComponent implements OnDestroy {
4
5
  protected subs: Subs;
5
6
  getQSId(): string;
6
7
  ngOnDestroy(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponent, "ng-component", never, {}, {}, never, never, false>;
7
10
  }
@@ -1,8 +1,11 @@
1
1
  import { BaseEditComponent } from "./base-edit.component";
2
+ import * as i0 from "@angular/core";
2
3
  export declare abstract class BaseDialog extends BaseEditComponent {
3
4
  private _opened;
4
5
  get opened(): boolean;
5
6
  constructor();
6
7
  open(): void;
7
8
  close(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseDialog, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseDialog, "ng-component", never, { "opened": "opened"; }, {}, never, never, false>;
8
11
  }
@@ -1,6 +1,7 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { AppContextService } from '../../../core/services/appcontext.service';
3
3
  import { BillingApiService } from '../../../data/services/billing-api.service';
4
+ import * as i0 from "@angular/core";
4
5
  export declare class BuyAccessButtonComponent implements OnInit {
5
6
  private appContext;
6
7
  private api;
@@ -13,4 +14,6 @@ export declare class BuyAccessButtonComponent implements OnInit {
13
14
  constructor(appContext: AppContextService, api: BillingApiService);
14
15
  ngOnInit(): void;
15
16
  onBuyPlan(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<BuyAccessButtonComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<BuyAccessButtonComponent, "anatoly-buyaccess-button", never, { "plan": "plan"; "plantitle": "plantitle"; }, {}, never, never, false>;
16
19
  }
@@ -1,5 +1,6 @@
1
1
  import { OnInit } from "@angular/core";
2
2
  import { AppContextService } from "../../../core/services/appcontext.service";
3
+ import * as i0 from "@angular/core";
3
4
  export declare class SubscribePlanButtonComponent implements OnInit {
4
5
  private appcontext;
5
6
  contextUpdated: boolean;
@@ -12,4 +13,6 @@ export declare class SubscribePlanButtonComponent implements OnInit {
12
13
  plantitle: string;
13
14
  constructor(appcontext: AppContextService);
14
15
  ngOnInit(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<SubscribePlanButtonComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<SubscribePlanButtonComponent, "anatoly-subscribe-plan-button", never, { "plan": "plan"; "plantitle": "plantitle"; }, {}, never, never, false>;
15
18
  }
@@ -1,4 +1,5 @@
1
1
  import { BillingApiService } from '../../../data/services/billing-api.service';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class UpgradePlanButtonComponent {
3
4
  private api;
4
5
  currentplantitle: string;
@@ -6,4 +7,6 @@ export declare class UpgradePlanButtonComponent {
6
7
  requestedplantitle: string;
7
8
  constructor(api: BillingApiService);
8
9
  onUpgradePlan(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<UpgradePlanButtonComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<UpgradePlanButtonComponent, "anatoly-upgrade-plan-button", never, { "currentplantitle": "currentplantitle"; "requestedplan": "requestedplan"; "requestedplantitle": "requestedplantitle"; }, {}, never, never, false>;
9
12
  }
@@ -1,5 +1,8 @@
1
1
  import { OnInit } from "@angular/core";
2
+ import * as i0 from "@angular/core";
2
3
  export declare class ContentHeaderComponent implements OnInit {
3
4
  title?: string;
4
5
  ngOnInit(): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContentHeaderComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<ContentHeaderComponent, "anatoly-content-header", never, { "title": "title"; }, {}, never, never, false>;
5
8
  }
@@ -1,5 +1,6 @@
1
1
  import { AfterViewInit, OnInit } from "@angular/core";
2
2
  import { BaseEditComponent } from "../base-edit.component";
3
+ import * as i0 from "@angular/core";
3
4
  export declare abstract class BaseHtmlEditorComponent extends BaseEditComponent implements OnInit, AfterViewInit {
4
5
  protected froalaEditor: any;
5
6
  options: any;
@@ -15,4 +16,6 @@ export declare abstract class BaseHtmlEditorComponent extends BaseEditComponent
15
16
  doAfterInitialized(action: any): void;
16
17
  initializeControl(control: any): void;
17
18
  setUploadParams(uploadType: any, uploadParentId: any): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseHtmlEditorComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseHtmlEditorComponent, "ng-component", never, { "editorLabelText": "editorLabelText"; "editorOptions": "editorOptions"; }, {}, never, never, false>;
18
21
  }
@@ -1,6 +1,9 @@
1
1
  import { BaseHtmlEditorComponent } from "./base-html-editor.component";
2
+ import * as i0 from "@angular/core";
2
3
  export declare class FormsHtmlEditorComponent extends BaseHtmlEditorComponent {
3
4
  editorFormKey: string;
4
5
  constructor();
5
6
  setFormValueAfterInitialized(name: any, value: any): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormsHtmlEditorComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormsHtmlEditorComponent, "anatoly-forms-html-editor", never, { "editorFormKey": "editorFormKey"; }, {}, never, never, false>;
6
9
  }
@@ -1,6 +1,9 @@
1
1
  import { BaseHtmlEditorComponent } from "./base-html-editor.component";
2
+ import * as i0 from "@angular/core";
2
3
  export declare class HtmlEditorComponent extends BaseHtmlEditorComponent {
3
4
  constructor();
4
5
  setHtml(content: any): void;
5
6
  getHtml(): any;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<HtmlEditorComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<HtmlEditorComponent, "anatoly-html-editor", never, {}, {}, never, never, false>;
6
9
  }
@@ -1,4 +1,7 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class SignInButtonComponent {
2
3
  classbtn: string;
3
4
  constructor();
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<SignInButtonComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<SignInButtonComponent, "anatoly-signin-button", never, { "classbtn": "classbtn"; }, {}, never, never, false>;
4
7
  }
@@ -1,4 +1,7 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class SignOutButtonComponent {
2
3
  classbtn: string;
3
4
  constructor();
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<SignOutButtonComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<SignOutButtonComponent, "anatoly-signout-button", never, { "classbtn": "classbtn"; }, {}, never, never, false>;
4
7
  }
@@ -1,3 +1,6 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class SignUpButtonComponent {
2
3
  classbtn: string;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<SignUpButtonComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<SignUpButtonComponent, "anatoly-signup-button", never, { "classbtn": "classbtn"; }, {}, never, never, false>;
3
6
  }
@@ -1,5 +1,6 @@
1
1
  import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { LoadingService } from '../../../core/services/loading.service';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class LoadingComponent implements OnInit, OnDestroy {
4
5
  private loadingService;
5
6
  private subs;
@@ -7,4 +8,6 @@ export declare class LoadingComponent implements OnInit, OnDestroy {
7
8
  constructor(loadingService: LoadingService);
8
9
  ngOnInit(): void;
9
10
  ngOnDestroy(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadingComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoadingComponent, "anatoly-loading", never, {}, {}, never, never, false>;
10
13
  }
@@ -1,5 +1,6 @@
1
1
  import { OnDestroy } from '@angular/core';
2
2
  import { Router } from '@angular/router';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class SpinnerComponent implements OnDestroy {
4
5
  private router;
5
6
  private document;
@@ -19,4 +20,6 @@ export declare class SpinnerComponent implements OnDestroy {
19
20
  spinner: string;
20
21
  constructor(router: Router, document: Document);
21
22
  ngOnDestroy(): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "spinner", never, { "backgroundColor": "backgroundColor"; "spinner": "spinner"; }, {}, never, never, false>;
22
25
  }
@@ -1,8 +1,11 @@
1
1
  import { ElementRef, OnInit } from "@angular/core";
2
2
  import { NgControl } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class NativeElementDirective implements OnInit {
4
5
  private el;
5
6
  private control;
6
7
  constructor(el: ElementRef<HTMLFormElement>, control: NgControl);
7
8
  ngOnInit(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<NativeElementDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NativeElementDirective, "[formControl], [formControlName]", never, {}, {}, never, never, false>;
8
11
  }
@@ -1,5 +1,8 @@
1
1
  import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class FileSizePipe implements PipeTransform {
3
4
  private units;
4
5
  transform(bytes?: number, precision?: number): string;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileSizePipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<FileSizePipe, "filesize", false>;
5
8
  }
@@ -1,4 +1,7 @@
1
1
  import { PipeTransform } from "@angular/core";
2
+ import * as i0 from "@angular/core";
2
3
  export declare class ReplaceTextPipe implements PipeTransform {
3
4
  transform(inputData: string, search: string, replacement: string): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReplaceTextPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<ReplaceTextPipe, "replaceText", false>;
4
7
  }
@@ -1,7 +1,10 @@
1
1
  import { PipeTransform } from '@angular/core';
2
2
  import { DomSanitizer } from '@angular/platform-browser';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class SafeHtmlPipe implements PipeTransform {
4
5
  private sanitized;
5
6
  constructor(sanitized: DomSanitizer);
6
7
  transform(value: any): import("@angular/platform-browser").SafeHtml;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "safeHtml", false>;
7
10
  }
@@ -1,5 +1,29 @@
1
1
  import { FroalaEditorModule, FroalaViewModule } from "angular-froala-wysiwyg";
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./components/billing/subscribe-plan-button.component";
4
+ import * as i2 from "./components/billing/upgrade-plan-button.component";
5
+ import * as i3 from "./components/billing/buyaccess-button.component";
6
+ import * as i4 from "./components/identity/signin-button.component";
7
+ import * as i5 from "./components/identity/signup-button.component";
8
+ import * as i6 from "./components/identity/signout-button.component";
9
+ import * as i7 from "./components/content-header/content-header.component";
10
+ import * as i8 from "./components/spinner/spinner.component";
11
+ import * as i9 from "./components/loading/loading.component";
12
+ import * as i10 from "./directives/native-element.directive";
13
+ import * as i11 from "./components/html-editor/html-editor.component";
14
+ import * as i12 from "./components/html-editor/forms-html-editor.component";
15
+ import * as i13 from "./validation/form-validation-summary.component";
16
+ import * as i14 from "./validation/item-validation-summary.component";
17
+ import * as i15 from "./pipes/safeHtml.pipe";
18
+ import * as i16 from "./pipes/replace-text.pipe";
19
+ import * as i17 from "./pipes/filesize.pipe";
20
+ import * as i18 from "@angular/common";
21
+ import * as i19 from "@angular/forms";
22
+ import * as i20 from "angular-froala-wysiwyg";
2
23
  export declare const FroalaEditorModuleWithProviders: import("@angular/core").ModuleWithProviders<FroalaEditorModule>;
3
24
  export declare const FroalaViewModuleWithProviders: import("@angular/core").ModuleWithProviders<FroalaViewModule>;
4
25
  export declare class AnatolyUIModule {
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnatolyUIModule, never>;
27
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AnatolyUIModule, [typeof i1.SubscribePlanButtonComponent, typeof i2.UpgradePlanButtonComponent, typeof i3.BuyAccessButtonComponent, typeof i4.SignInButtonComponent, typeof i5.SignUpButtonComponent, typeof i6.SignOutButtonComponent, typeof i7.ContentHeaderComponent, typeof i8.SpinnerComponent, typeof i9.LoadingComponent, typeof i10.NativeElementDirective, typeof i11.HtmlEditorComponent, typeof i12.FormsHtmlEditorComponent, typeof i13.FormValidationSummaryComponent, typeof i14.ItemValidationSummaryComponent, typeof i15.SafeHtmlPipe, typeof i16.ReplaceTextPipe, typeof i17.FileSizePipe], [typeof i18.CommonModule, typeof i19.ReactiveFormsModule, typeof i19.FormsModule, typeof i20.FroalaEditorModule, typeof i20.FroalaViewModule], [typeof i1.SubscribePlanButtonComponent, typeof i2.UpgradePlanButtonComponent, typeof i3.BuyAccessButtonComponent, typeof i4.SignInButtonComponent, typeof i5.SignUpButtonComponent, typeof i6.SignOutButtonComponent, typeof i7.ContentHeaderComponent, typeof i8.SpinnerComponent, typeof i9.LoadingComponent, typeof i10.NativeElementDirective, typeof i11.HtmlEditorComponent, typeof i12.FormsHtmlEditorComponent, typeof i13.FormValidationSummaryComponent, typeof i14.ItemValidationSummaryComponent, typeof i15.SafeHtmlPipe, typeof i16.ReplaceTextPipe, typeof i17.FileSizePipe]>;
28
+ static ɵinj: i0.ɵɵInjectorDeclaration<AnatolyUIModule>;
5
29
  }
@@ -1,8 +1,11 @@
1
1
  import { ValidationSummaryComponent } from "./validation-summary.component";
2
+ import * as i0 from "@angular/core";
2
3
  export declare class FormValidationSummaryComponent extends ValidationSummaryComponent {
3
4
  visible: boolean;
4
5
  customerrors: string[];
5
6
  viewtype: number;
6
7
  constructor();
7
8
  getErrors(): any[];
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormValidationSummaryComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormValidationSummaryComponent, "anatoly-form-validation-summary", never, { "visible": "visible"; "customerrors": "customerrors"; "viewtype": "viewtype"; }, {}, never, never, false>;
8
11
  }
@@ -1,6 +1,9 @@
1
1
  import { ValidationSummaryComponent } from "./validation-summary.component";
2
+ import * as i0 from "@angular/core";
2
3
  export declare class ItemValidationSummaryComponent extends ValidationSummaryComponent {
3
4
  controlName: string;
4
5
  controlTitle: string;
5
6
  constructor();
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItemValidationSummaryComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItemValidationSummaryComponent, "anatoly-item-validation-summary", never, { "controlName": "controlName"; "controlTitle": "controlTitle"; }, {}, never, never, false>;
6
9
  }
@@ -1,4 +1,5 @@
1
1
  import { BaseEditComponent } from "../components/base-edit.component";
2
+ import * as i0 from "@angular/core";
2
3
  export declare abstract class ValidationSummaryComponent extends BaseEditComponent {
3
4
  constructor();
4
5
  getFormValidationMessages(): string[];
@@ -18,4 +19,6 @@ export declare abstract class ValidationSummaryComponent extends BaseEditCompone
18
19
  * Return title attribute of form control
19
20
  */
20
21
  getTitleAttribute(nativeElement: HTMLFormElement): string;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<ValidationSummaryComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<ValidationSummaryComponent, "ng-component", never, {}, {}, never, never, false>;
21
24
  }
package/package.json CHANGED
@@ -1,19 +1,31 @@
1
1
  {
2
2
  "name": "@osovitny/anatoly",
3
- "version": "2.1.14",
3
+ "version": "2.14.1",
4
4
  "peerDependencies": {
5
- "@angular/common": "12.2.14",
6
- "@angular/core": "12.2.14"
5
+ "@angular/common": "14.0.5",
6
+ "@angular/core": "14.0.5"
7
7
  },
8
8
  "dependencies": {
9
- "tslib": "2.3.1"
9
+ "tslib": "2.4.0"
10
+ },
11
+ "module": "fesm2015/osovitny-anatoly.mjs",
12
+ "es2020": "fesm2020/osovitny-anatoly.mjs",
13
+ "esm2020": "esm2020/osovitny-anatoly.mjs",
14
+ "fesm2020": "fesm2020/osovitny-anatoly.mjs",
15
+ "fesm2015": "fesm2015/osovitny-anatoly.mjs",
16
+ "typings": "index.d.ts",
17
+ "exports": {
18
+ "./package.json": {
19
+ "default": "./package.json"
20
+ },
21
+ ".": {
22
+ "types": "./index.d.ts",
23
+ "esm2020": "./esm2020/osovitny-anatoly.mjs",
24
+ "es2020": "./fesm2020/osovitny-anatoly.mjs",
25
+ "es2015": "./fesm2015/osovitny-anatoly.mjs",
26
+ "node": "./fesm2015/osovitny-anatoly.mjs",
27
+ "default": "./fesm2020/osovitny-anatoly.mjs"
28
+ }
10
29
  },
11
- "main": "bundles/osovitny-anatoly.umd.js",
12
- "module": "fesm2015/osovitny-anatoly.js",
13
- "es2015": "fesm2015/osovitny-anatoly.js",
14
- "esm2015": "esm2015/osovitny-anatoly.js",
15
- "fesm2015": "fesm2015/osovitny-anatoly.js",
16
- "typings": "osovitny-anatoly.d.ts",
17
- "metadata": "osovitny-anatoly.metadata.json",
18
30
  "sideEffects": false
19
31
  }