@abp/ng.theme.shared 5.0.1 → 5.0.2

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 (210) hide show
  1. package/README.md +3 -3
  2. package/abp-ng.theme.shared.d.ts +5 -5
  3. package/bundles/abp-ng.theme.shared-extensions.umd.js +1749 -1748
  4. package/bundles/abp-ng.theme.shared-extensions.umd.js.map +1 -1
  5. package/bundles/abp-ng.theme.shared-testing.umd.js +41 -41
  6. package/bundles/abp-ng.theme.shared-testing.umd.js.map +1 -1
  7. package/bundles/abp-ng.theme.shared.umd.js +2316 -2316
  8. package/bundles/abp-ng.theme.shared.umd.js.map +1 -1
  9. package/esm2015/abp-ng.theme.shared.js +4 -4
  10. package/esm2015/extensions/abp-ng.theme.shared-extensions.js +4 -4
  11. package/esm2015/extensions/lib/adapters/date-time.adapter.js +34 -34
  12. package/esm2015/extensions/lib/adapters/date.adapter.js +41 -41
  13. package/esm2015/extensions/lib/adapters/time.adapter.js +36 -36
  14. package/esm2015/extensions/lib/components/abstract-actions/abstract-actions.component.js +25 -25
  15. package/esm2015/extensions/lib/components/date-time-picker/date-time-picker.component.js +109 -109
  16. package/esm2015/extensions/lib/components/extensible-form/extensible-form-prop.component.js +164 -164
  17. package/esm2015/extensions/lib/components/extensible-form/extensible-form.component.js +70 -70
  18. package/esm2015/extensions/lib/components/extensible-table/extensible-table.component.js +134 -134
  19. package/esm2015/extensions/lib/components/grid-actions/grid-actions.component.js +45 -45
  20. package/esm2015/extensions/lib/components/page-toolbar/page-toolbar.component.js +46 -46
  21. package/esm2015/extensions/lib/constants/extra-properties.js +2 -2
  22. package/esm2015/extensions/lib/directives/disabled.directive.js +29 -29
  23. package/esm2015/extensions/lib/directives/prop-data.directive.js +41 -41
  24. package/esm2015/extensions/lib/enums/props.enum.js +2 -2
  25. package/esm2015/extensions/lib/models/actions.js +46 -46
  26. package/esm2015/extensions/lib/models/entity-actions.js +29 -29
  27. package/esm2015/extensions/lib/models/entity-props.js +36 -34
  28. package/esm2015/extensions/lib/models/form-props.js +52 -52
  29. package/esm2015/extensions/lib/models/internal/object-extensions.js +2 -2
  30. package/esm2015/extensions/lib/models/object-extensions.js +3 -3
  31. package/esm2015/extensions/lib/models/props.js +50 -50
  32. package/esm2015/extensions/lib/models/toolbar-actions.js +41 -41
  33. package/esm2015/extensions/lib/services/extensions.service.js +24 -24
  34. package/esm2015/extensions/lib/tokens/extensions.token.js +7 -7
  35. package/esm2015/extensions/lib/ui-extensions.module.js +92 -92
  36. package/esm2015/extensions/lib/utils/actions.util.js +9 -9
  37. package/esm2015/extensions/lib/utils/enum.util.js +42 -42
  38. package/esm2015/extensions/lib/utils/factory.util.js +4 -4
  39. package/esm2015/extensions/lib/utils/form-props.util.js +51 -51
  40. package/esm2015/extensions/lib/utils/localization.util.js +13 -13
  41. package/esm2015/extensions/lib/utils/props.util.js +14 -14
  42. package/esm2015/extensions/lib/utils/state.util.js +124 -124
  43. package/esm2015/extensions/lib/utils/typeahead.util.js +52 -52
  44. package/esm2015/extensions/lib/utils/validation.util.js +11 -11
  45. package/esm2015/extensions/public-api.js +28 -28
  46. package/esm2015/lib/animations/bounce.animations.js +17 -17
  47. package/esm2015/lib/animations/collapse.animations.js +50 -50
  48. package/esm2015/lib/animations/fade.animations.js +38 -38
  49. package/esm2015/lib/animations/index.js +7 -7
  50. package/esm2015/lib/animations/modal.animations.js +11 -11
  51. package/esm2015/lib/animations/slide.animations.js +8 -8
  52. package/esm2015/lib/animations/toast.animations.js +13 -13
  53. package/esm2015/lib/components/breadcrumb/breadcrumb.component.js +49 -49
  54. package/esm2015/lib/components/breadcrumb-items/breadcrumb-items.component.js +22 -22
  55. package/esm2015/lib/components/button/button.component.js +98 -98
  56. package/esm2015/lib/components/confirmation/confirmation.component.js +40 -40
  57. package/esm2015/lib/components/http-error-wrapper/http-error-wrapper.component.js +65 -65
  58. package/esm2015/lib/components/index.js +13 -13
  59. package/esm2015/lib/components/loader-bar/loader-bar.component.js +126 -126
  60. package/esm2015/lib/components/loading/loading.component.js +47 -47
  61. package/esm2015/lib/components/modal/modal-close.directive.js +28 -28
  62. package/esm2015/lib/components/modal/modal-ref.service.js +26 -26
  63. package/esm2015/lib/components/modal/modal.component.js +188 -188
  64. package/esm2015/lib/components/toast/toast.component.js +61 -61
  65. package/esm2015/lib/components/toast-container/toast-container.component.js +49 -49
  66. package/esm2015/lib/constants/styles.js +182 -182
  67. package/esm2015/lib/constants/validation.js +15 -15
  68. package/esm2015/lib/directives/ellipsis.directive.js +63 -63
  69. package/esm2015/lib/directives/index.js +5 -5
  70. package/esm2015/lib/directives/loading.directive.js +90 -90
  71. package/esm2015/lib/directives/ngx-datatable-default.directive.js +75 -75
  72. package/esm2015/lib/directives/ngx-datatable-list.directive.js +94 -94
  73. package/esm2015/lib/enums/index.js +2 -2
  74. package/esm2015/lib/enums/route-names.js +2 -2
  75. package/esm2015/lib/handlers/document-dir.handler.js +33 -33
  76. package/esm2015/lib/handlers/error.handler.js +292 -292
  77. package/esm2015/lib/handlers/index.js +3 -3
  78. package/esm2015/lib/models/common.js +2 -2
  79. package/esm2015/lib/models/confirmation.js +10 -10
  80. package/esm2015/lib/models/index.js +6 -6
  81. package/esm2015/lib/models/nav-item.js +7 -7
  82. package/esm2015/lib/models/statistics.js +2 -2
  83. package/esm2015/lib/models/toaster.js +2 -2
  84. package/esm2015/lib/providers/index.js +3 -3
  85. package/esm2015/lib/providers/ng-bootstrap-config.provider.js +17 -17
  86. package/esm2015/lib/providers/route.provider.js +18 -18
  87. package/esm2015/lib/services/confirmation.service.js +68 -68
  88. package/esm2015/lib/services/index.js +5 -5
  89. package/esm2015/lib/services/nav-items.service.js +51 -51
  90. package/esm2015/lib/services/page-alert.service.js +26 -26
  91. package/esm2015/lib/services/toaster.service.js +103 -103
  92. package/esm2015/lib/theme-shared.module.js +165 -165
  93. package/esm2015/lib/tokens/append-content.token.js +11 -11
  94. package/esm2015/lib/tokens/http-error.token.js +10 -10
  95. package/esm2015/lib/tokens/index.js +5 -5
  96. package/esm2015/lib/tokens/ngx-datatable-messages.token.js +8 -8
  97. package/esm2015/lib/tokens/suppress-unsaved-changes-warning.token.js +3 -3
  98. package/esm2015/lib/utils/date-parser-formatter.js +59 -59
  99. package/esm2015/lib/utils/index.js +3 -3
  100. package/esm2015/lib/utils/validation-utils.js +33 -33
  101. package/esm2015/public-api.js +16 -16
  102. package/esm2015/testing/abp-ng.theme.shared-testing.js +4 -4
  103. package/esm2015/testing/lib/models/config.js +2 -2
  104. package/esm2015/testing/lib/models/index.js +2 -2
  105. package/esm2015/testing/lib/theme-shared-testing.module.js +43 -43
  106. package/esm2015/testing/public-api.js +4 -4
  107. package/extensions/abp-ng.theme.shared-extensions.d.ts +5 -5
  108. package/extensions/lib/adapters/date-time.adapter.d.ts +11 -11
  109. package/extensions/lib/adapters/date.adapter.d.ts +9 -9
  110. package/extensions/lib/adapters/time.adapter.d.ts +8 -8
  111. package/extensions/lib/components/abstract-actions/abstract-actions.component.d.ts +14 -14
  112. package/extensions/lib/components/date-time-picker/date-time-picker.component.d.ts +16 -16
  113. package/extensions/lib/components/extensible-form/extensible-form-prop.component.d.ts +37 -37
  114. package/extensions/lib/components/extensible-form/extensible-form.component.d.ts +24 -24
  115. package/extensions/lib/components/extensible-table/extensible-table.component.d.ts +35 -35
  116. package/extensions/lib/components/grid-actions/grid-actions.component.d.ts +13 -13
  117. package/extensions/lib/components/page-toolbar/page-toolbar.component.d.ts +12 -12
  118. package/extensions/lib/constants/extra-properties.d.ts +1 -1
  119. package/extensions/lib/directives/disabled.directive.d.ts +11 -11
  120. package/extensions/lib/directives/prop-data.directive.d.ts +19 -19
  121. package/extensions/lib/enums/props.enum.d.ts +15 -15
  122. package/extensions/lib/models/actions.d.ts +35 -35
  123. package/extensions/lib/models/entity-actions.d.ts +22 -22
  124. package/extensions/lib/models/entity-props.d.ts +29 -29
  125. package/extensions/lib/models/form-props.d.ts +42 -42
  126. package/extensions/lib/models/internal/object-extensions.d.ts +85 -85
  127. package/extensions/lib/models/object-extensions.d.ts +2 -2
  128. package/extensions/lib/models/props.d.ts +39 -39
  129. package/extensions/lib/models/toolbar-actions.d.ts +29 -29
  130. package/extensions/lib/services/extensions.service.d.ts +14 -14
  131. package/extensions/lib/tokens/extensions.token.d.ts +14 -14
  132. package/extensions/lib/ui-extensions.module.d.ts +23 -23
  133. package/extensions/lib/utils/actions.util.d.ts +7 -7
  134. package/extensions/lib/utils/enum.util.d.ts +7 -7
  135. package/extensions/lib/utils/factory.util.d.ts +1 -1
  136. package/extensions/lib/utils/form-props.util.d.ts +3 -3
  137. package/extensions/lib/utils/localization.util.d.ts +3 -3
  138. package/extensions/lib/utils/props.util.d.ts +8 -8
  139. package/extensions/lib/utils/state.util.d.ts +5 -5
  140. package/extensions/lib/utils/typeahead.util.d.ts +11 -11
  141. package/extensions/lib/utils/validation.util.d.ts +3 -3
  142. package/extensions/public-api.d.ts +27 -27
  143. package/fesm2015/abp-ng.theme.shared-extensions.js +1263 -1262
  144. package/fesm2015/abp-ng.theme.shared-extensions.js.map +1 -1
  145. package/fesm2015/abp-ng.theme.shared-testing.js +37 -37
  146. package/fesm2015/abp-ng.theme.shared-testing.js.map +1 -1
  147. package/fesm2015/abp-ng.theme.shared.js +2117 -2117
  148. package/fesm2015/abp-ng.theme.shared.js.map +1 -1
  149. package/lib/animations/bounce.animations.d.ts +1 -1
  150. package/lib/animations/collapse.animations.d.ts +9 -9
  151. package/lib/animations/fade.animations.d.ts +10 -10
  152. package/lib/animations/index.d.ts +6 -6
  153. package/lib/animations/modal.animations.d.ts +2 -2
  154. package/lib/animations/slide.animations.d.ts +1 -1
  155. package/lib/animations/toast.animations.d.ts +1 -1
  156. package/lib/components/breadcrumb/breadcrumb.component.d.ts +16 -16
  157. package/lib/components/breadcrumb-items/breadcrumb-items.component.d.ts +7 -7
  158. package/lib/components/button/button.component.d.ts +25 -25
  159. package/lib/components/confirmation/confirmation.component.d.ts +14 -14
  160. package/lib/components/http-error-wrapper/http-error-wrapper.component.d.ts +27 -27
  161. package/lib/components/index.d.ts +12 -12
  162. package/lib/components/loader-bar/loader-bar.component.d.ts +33 -33
  163. package/lib/components/loading/loading.component.d.ts +5 -5
  164. package/lib/components/modal/modal-close.directive.d.ts +9 -9
  165. package/lib/components/modal/modal-ref.service.d.ts +13 -13
  166. package/lib/components/modal/modal.component.d.ts +50 -50
  167. package/lib/components/toast/toast.component.d.ts +14 -14
  168. package/lib/components/toast-container/toast-container.component.d.ts +18 -18
  169. package/lib/constants/styles.d.ts +2 -2
  170. package/lib/constants/validation.d.ts +14 -14
  171. package/lib/directives/ellipsis.directive.d.ts +21 -21
  172. package/lib/directives/index.d.ts +4 -4
  173. package/lib/directives/loading.directive.d.ts +25 -25
  174. package/lib/directives/ngx-datatable-default.directive.d.ts +30 -30
  175. package/lib/directives/ngx-datatable-list.directive.d.ts +24 -24
  176. package/lib/enums/index.d.ts +1 -1
  177. package/lib/enums/route-names.d.ts +3 -3
  178. package/lib/handlers/document-dir.handler.d.ts +13 -13
  179. package/lib/handlers/error.handler.d.ts +82 -82
  180. package/lib/handlers/index.d.ts +2 -2
  181. package/lib/models/common.d.ts +19 -19
  182. package/lib/models/confirmation.d.ts +25 -25
  183. package/lib/models/index.d.ts +5 -5
  184. package/lib/models/nav-item.d.ts +11 -11
  185. package/lib/models/statistics.d.ts +12 -12
  186. package/lib/models/toaster.d.ts +30 -30
  187. package/lib/providers/index.d.ts +2 -2
  188. package/lib/providers/ng-bootstrap-config.provider.d.ts +8 -8
  189. package/lib/providers/route.provider.d.ts +8 -8
  190. package/lib/services/confirmation.service.d.ts +21 -21
  191. package/lib/services/index.d.ts +4 -4
  192. package/lib/services/nav-items.service.d.ts +13 -13
  193. package/lib/services/page-alert.service.d.ts +18 -18
  194. package/lib/services/toaster.service.d.ts +60 -60
  195. package/lib/theme-shared.module.d.ts +33 -33
  196. package/lib/tokens/append-content.token.d.ts +2 -2
  197. package/lib/tokens/http-error.token.d.ts +5 -5
  198. package/lib/tokens/index.d.ts +4 -4
  199. package/lib/tokens/ngx-datatable-messages.token.d.ts +12 -12
  200. package/lib/tokens/suppress-unsaved-changes-warning.token.d.ts +2 -2
  201. package/lib/utils/date-parser-formatter.d.ts +12 -12
  202. package/lib/utils/index.d.ts +2 -2
  203. package/lib/utils/validation-utils.d.ts +3 -3
  204. package/package.json +2 -2
  205. package/public-api.d.ts +12 -12
  206. package/testing/abp-ng.theme.shared-testing.d.ts +5 -5
  207. package/testing/lib/models/config.d.ts +4 -4
  208. package/testing/lib/models/index.d.ts +1 -1
  209. package/testing/lib/theme-shared-testing.module.d.ts +14 -14
  210. package/testing/public-api.d.ts +3 -3
@@ -1,30 +1,30 @@
1
- import { LocalizationParam } from '@abp/ng.core';
2
- export declare namespace Toaster {
3
- interface ToastOptions {
4
- life?: number;
5
- sticky?: boolean;
6
- closable?: boolean;
7
- tapToDismiss?: boolean;
8
- messageLocalizationParams?: string[];
9
- titleLocalizationParams?: string[];
10
- id: any;
11
- containerKey?: string;
12
- }
13
- interface Toast {
14
- message: LocalizationParam;
15
- title?: LocalizationParam;
16
- severity?: string;
17
- options?: ToastOptions;
18
- }
19
- type Severity = 'neutral' | 'success' | 'info' | 'warning' | 'error';
20
- type ToasterId = string | number;
21
- interface Service {
22
- show: (message: LocalizationParam, title: LocalizationParam, severity: Toaster.Severity, options: Partial<Toaster.ToastOptions>) => ToasterId;
23
- remove: (id: number) => void;
24
- clear: (containerKey?: string) => void;
25
- info: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
26
- success: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
27
- warn: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
28
- error: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
29
- }
30
- }
1
+ import { LocalizationParam } from '@abp/ng.core';
2
+ export declare namespace Toaster {
3
+ interface ToastOptions {
4
+ life?: number;
5
+ sticky?: boolean;
6
+ closable?: boolean;
7
+ tapToDismiss?: boolean;
8
+ messageLocalizationParams?: string[];
9
+ titleLocalizationParams?: string[];
10
+ id: any;
11
+ containerKey?: string;
12
+ }
13
+ interface Toast {
14
+ message: LocalizationParam;
15
+ title?: LocalizationParam;
16
+ severity?: string;
17
+ options?: ToastOptions;
18
+ }
19
+ type Severity = 'neutral' | 'success' | 'info' | 'warning' | 'error';
20
+ type ToasterId = string | number;
21
+ interface Service {
22
+ show: (message: LocalizationParam, title: LocalizationParam, severity: Toaster.Severity, options: Partial<Toaster.ToastOptions>) => ToasterId;
23
+ remove: (id: number) => void;
24
+ clear: (containerKey?: string) => void;
25
+ info: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
26
+ success: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
27
+ warn: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
28
+ error: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
29
+ }
30
+ }
@@ -1,2 +1,2 @@
1
- export * from './ng-bootstrap-config.provider';
2
- export * from './route.provider';
1
+ export * from './ng-bootstrap-config.provider';
2
+ export * from './route.provider';
@@ -1,8 +1,8 @@
1
- import { NgbInputDatepickerConfig, NgbTypeaheadConfig } from '@ng-bootstrap/ng-bootstrap';
2
- export declare const NG_BOOTSTRAP_CONFIG_PROVIDERS: {
3
- provide: import("@angular/core").InjectionToken<readonly (() => void | import("rxjs").Observable<unknown> | Promise<unknown>)[]>;
4
- useFactory: typeof configureNgBootstrap;
5
- deps: (typeof NgbInputDatepickerConfig | typeof NgbTypeaheadConfig)[];
6
- multi: boolean;
7
- }[];
8
- export declare function configureNgBootstrap(datepicker: NgbInputDatepickerConfig, typeahead: NgbTypeaheadConfig): () => void;
1
+ import { NgbInputDatepickerConfig, NgbTypeaheadConfig } from '@ng-bootstrap/ng-bootstrap';
2
+ export declare const NG_BOOTSTRAP_CONFIG_PROVIDERS: {
3
+ provide: import("@angular/core").InjectionToken<readonly (() => void | import("rxjs").Observable<unknown> | Promise<unknown>)[]>;
4
+ useFactory: typeof configureNgBootstrap;
5
+ deps: (typeof NgbInputDatepickerConfig | typeof NgbTypeaheadConfig)[];
6
+ multi: boolean;
7
+ }[];
8
+ export declare function configureNgBootstrap(datepicker: NgbInputDatepickerConfig, typeahead: NgbTypeaheadConfig): () => void;
@@ -1,8 +1,8 @@
1
- import { RoutesService } from '@abp/ng.core';
2
- export declare const THEME_SHARED_ROUTE_PROVIDERS: {
3
- provide: import("@angular/core").InjectionToken<readonly (() => void | import("rxjs").Observable<unknown> | Promise<unknown>)[]>;
4
- useFactory: typeof configureRoutes;
5
- deps: (typeof RoutesService)[];
6
- multi: boolean;
7
- }[];
8
- export declare function configureRoutes(routesService: RoutesService): () => void;
1
+ import { RoutesService } from '@abp/ng.core';
2
+ export declare const THEME_SHARED_ROUTE_PROVIDERS: {
3
+ provide: import("@angular/core").InjectionToken<readonly (() => void | import("rxjs").Observable<unknown> | Promise<unknown>)[]>;
4
+ useFactory: typeof configureRoutes;
5
+ deps: (typeof RoutesService)[];
6
+ multi: boolean;
7
+ }[];
8
+ export declare function configureRoutes(routesService: RoutesService): () => void;
@@ -1,21 +1,21 @@
1
- import { ContentProjectionService, LocalizationParam } from '@abp/ng.core';
2
- import { Observable, ReplaySubject, Subject } from 'rxjs';
3
- import { Confirmation } from '../models/confirmation';
4
- import * as i0 from "@angular/core";
5
- export declare class ConfirmationService {
6
- private contentProjectionService;
7
- status$: Subject<Confirmation.Status>;
8
- confirmation$: ReplaySubject<Confirmation.DialogData>;
9
- private containerComponentRef;
10
- clear: (status?: Confirmation.Status) => void;
11
- constructor(contentProjectionService: ContentProjectionService);
12
- private setContainer;
13
- info(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
14
- success(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
15
- warn(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
16
- error(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
17
- show(message: LocalizationParam, title: LocalizationParam, severity?: Confirmation.Severity, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
18
- private listenToEscape;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationService, never>;
20
- static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationService>;
21
- }
1
+ import { ContentProjectionService, LocalizationParam } from '@abp/ng.core';
2
+ import { Observable, ReplaySubject, Subject } from 'rxjs';
3
+ import { Confirmation } from '../models/confirmation';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ConfirmationService {
6
+ private contentProjectionService;
7
+ status$: Subject<Confirmation.Status>;
8
+ confirmation$: ReplaySubject<Confirmation.DialogData>;
9
+ private containerComponentRef;
10
+ clear: (status?: Confirmation.Status) => void;
11
+ constructor(contentProjectionService: ContentProjectionService);
12
+ private setContainer;
13
+ info(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
14
+ success(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
15
+ warn(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
16
+ error(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
17
+ show(message: LocalizationParam, title: LocalizationParam, severity?: Confirmation.Severity, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
18
+ private listenToEscape;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationService, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationService>;
21
+ }
@@ -1,4 +1,4 @@
1
- export * from './confirmation.service';
2
- export * from './nav-items.service';
3
- export * from './page-alert.service';
4
- export * from './toaster.service';
1
+ export * from './confirmation.service';
2
+ export * from './nav-items.service';
3
+ export * from './page-alert.service';
4
+ export * from './toaster.service';
@@ -1,13 +1,13 @@
1
- import { Observable } from 'rxjs';
2
- import { NavItem } from '../models/nav-item';
3
- import * as i0 from "@angular/core";
4
- export declare class NavItemsService {
5
- private _items$;
6
- get items(): NavItem[];
7
- get items$(): Observable<NavItem[]>;
8
- addItems(newItems: NavItem[]): void;
9
- removeItem(id: string | number): void;
10
- patchItem(id: string | number, item: Partial<Omit<NavItem, 'id'>>): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<NavItemsService, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<NavItemsService>;
13
- }
1
+ import { Observable } from 'rxjs';
2
+ import { NavItem } from '../models/nav-item';
3
+ import * as i0 from "@angular/core";
4
+ export declare class NavItemsService {
5
+ private _items$;
6
+ get items(): NavItem[];
7
+ get items$(): Observable<NavItem[]>;
8
+ addItems(newItems: NavItem[]): void;
9
+ removeItem(id: string | number): void;
10
+ patchItem(id: string | number, item: Partial<Omit<NavItem, 'id'>>): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavItemsService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<NavItemsService>;
13
+ }
@@ -1,18 +1,18 @@
1
- import * as i0 from "@angular/core";
2
- export interface PageAlert {
3
- type: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark';
4
- message: string;
5
- dismissible?: boolean;
6
- title?: string;
7
- messageLocalizationParams?: string[];
8
- titleLocalizationParams?: string[];
9
- }
10
- export declare class PageAlertService {
11
- private alerts;
12
- alerts$: import("rxjs").Observable<PageAlert[]>;
13
- constructor();
14
- show(alert: PageAlert): void;
15
- remove(index: number): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<PageAlertService, never>;
17
- static ɵprov: i0.ɵɵInjectableDeclaration<PageAlertService>;
18
- }
1
+ import * as i0 from "@angular/core";
2
+ export interface PageAlert {
3
+ type: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark';
4
+ message: string;
5
+ dismissible?: boolean;
6
+ title?: string;
7
+ messageLocalizationParams?: string[];
8
+ titleLocalizationParams?: string[];
9
+ }
10
+ export declare class PageAlertService {
11
+ private alerts;
12
+ alerts$: import("rxjs").Observable<PageAlert[]>;
13
+ constructor();
14
+ show(alert: PageAlert): void;
15
+ remove(index: number): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageAlertService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<PageAlertService>;
18
+ }
@@ -1,60 +1,60 @@
1
- import { ContentProjectionService, LocalizationParam, Strict } from '@abp/ng.core';
2
- import { Toaster } from '../models';
3
- import * as i0 from "@angular/core";
4
- export declare class ToasterService implements ToasterContract {
5
- private contentProjectionService;
6
- private toasts$;
7
- private lastId;
8
- private toasts;
9
- private containerComponentRef;
10
- constructor(contentProjectionService: ContentProjectionService);
11
- private setContainer;
12
- /**
13
- * Creates an info toast with given parameters.
14
- * @param message Content of the toast
15
- * @param title Title of the toast
16
- * @param options Spesific style or structural options for individual toast
17
- */
18
- info(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
19
- /**
20
- * Creates a success toast with given parameters.
21
- * @param message Content of the toast
22
- * @param title Title of the toast
23
- * @param options Spesific style or structural options for individual toast
24
- */
25
- success(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
26
- /**
27
- * Creates a warning toast with given parameters.
28
- * @param message Content of the toast
29
- * @param title Title of the toast
30
- * @param options Spesific style or structural options for individual toast
31
- */
32
- warn(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
33
- /**
34
- * Creates an error toast with given parameters.
35
- * @param message Content of the toast
36
- * @param title Title of the toast
37
- * @param options Spesific style or structural options for individual toast
38
- */
39
- error(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
40
- /**
41
- * Creates a toast with given parameters.
42
- * @param message Content of the toast
43
- * @param title Title of the toast
44
- * @param severity Sets color of the toast. "success", "warning" etc.
45
- * @param options Spesific style or structural options for individual toast
46
- */
47
- show(message: LocalizationParam, title?: LocalizationParam | undefined, severity?: Toaster.Severity, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
48
- /**
49
- * Removes the toast with given id.
50
- * @param id ID of the toast to be removed.
51
- */
52
- remove: (id: number) => void;
53
- /**
54
- * Removes all open toasts at once.
55
- */
56
- clear(containerKey?: string): void;
57
- static ɵfac: i0.ɵɵFactoryDeclaration<ToasterService, never>;
58
- static ɵprov: i0.ɵɵInjectableDeclaration<ToasterService>;
59
- }
60
- export declare type ToasterContract = Strict<ToasterService, Toaster.Service>;
1
+ import { ContentProjectionService, LocalizationParam, Strict } from '@abp/ng.core';
2
+ import { Toaster } from '../models';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ToasterService implements ToasterContract {
5
+ private contentProjectionService;
6
+ private toasts$;
7
+ private lastId;
8
+ private toasts;
9
+ private containerComponentRef;
10
+ constructor(contentProjectionService: ContentProjectionService);
11
+ private setContainer;
12
+ /**
13
+ * Creates an info toast with given parameters.
14
+ * @param message Content of the toast
15
+ * @param title Title of the toast
16
+ * @param options Spesific style or structural options for individual toast
17
+ */
18
+ info(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
19
+ /**
20
+ * Creates a success toast with given parameters.
21
+ * @param message Content of the toast
22
+ * @param title Title of the toast
23
+ * @param options Spesific style or structural options for individual toast
24
+ */
25
+ success(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
26
+ /**
27
+ * Creates a warning toast with given parameters.
28
+ * @param message Content of the toast
29
+ * @param title Title of the toast
30
+ * @param options Spesific style or structural options for individual toast
31
+ */
32
+ warn(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
33
+ /**
34
+ * Creates an error toast with given parameters.
35
+ * @param message Content of the toast
36
+ * @param title Title of the toast
37
+ * @param options Spesific style or structural options for individual toast
38
+ */
39
+ error(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
40
+ /**
41
+ * Creates a toast with given parameters.
42
+ * @param message Content of the toast
43
+ * @param title Title of the toast
44
+ * @param severity Sets color of the toast. "success", "warning" etc.
45
+ * @param options Spesific style or structural options for individual toast
46
+ */
47
+ show(message: LocalizationParam, title?: LocalizationParam | undefined, severity?: Toaster.Severity, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
48
+ /**
49
+ * Removes the toast with given id.
50
+ * @param id ID of the toast to be removed.
51
+ */
52
+ remove: (id: number) => void;
53
+ /**
54
+ * Removes all open toasts at once.
55
+ */
56
+ clear(containerKey?: string): void;
57
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToasterService, never>;
58
+ static ɵprov: i0.ɵɵInjectableDeclaration<ToasterService>;
59
+ }
60
+ export declare type ToasterContract = Strict<ToasterService, Toaster.Service>;
@@ -1,33 +1,33 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import { RootParams } from './models/common';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "./components/breadcrumb/breadcrumb.component";
5
- import * as i2 from "./components/breadcrumb-items/breadcrumb-items.component";
6
- import * as i3 from "./components/button/button.component";
7
- import * as i4 from "./components/confirmation/confirmation.component";
8
- import * as i5 from "./components/loader-bar/loader-bar.component";
9
- import * as i6 from "./components/loading/loading.component";
10
- import * as i7 from "./components/modal/modal.component";
11
- import * as i8 from "./components/toast/toast.component";
12
- import * as i9 from "./components/toast-container/toast-container.component";
13
- import * as i10 from "./directives/ngx-datatable-default.directive";
14
- import * as i11 from "./directives/ngx-datatable-list.directive";
15
- import * as i12 from "./directives/loading.directive";
16
- import * as i13 from "./components/modal/modal-close.directive";
17
- import * as i14 from "./components/http-error-wrapper/http-error-wrapper.component";
18
- import * as i15 from "@abp/ng.core";
19
- import * as i16 from "@swimlane/ngx-datatable";
20
- import * as i17 from "@ngx-validate/core";
21
- import * as i18 from "@ng-bootstrap/ng-bootstrap";
22
- import * as i19 from "./directives/ellipsis.directive";
23
- export declare class BaseThemeSharedModule {
24
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseThemeSharedModule, never>;
25
- static ɵmod: i0.ɵɵNgModuleDeclaration<BaseThemeSharedModule, [typeof i1.BreadcrumbComponent, typeof i2.BreadcrumbItemsComponent, typeof i3.ButtonComponent, typeof i4.ConfirmationComponent, typeof i5.LoaderBarComponent, typeof i6.LoadingComponent, typeof i7.ModalComponent, typeof i8.ToastComponent, typeof i9.ToastContainerComponent, typeof i10.NgxDatatableDefaultDirective, typeof i11.NgxDatatableListDirective, typeof i12.LoadingDirective, typeof i13.ModalCloseDirective, typeof i14.HttpErrorWrapperComponent], [typeof i15.CoreModule, typeof i16.NgxDatatableModule, typeof i17.NgxValidateCoreModule, typeof i18.NgbPaginationModule, typeof i19.EllipsisModule], [typeof i16.NgxDatatableModule, typeof i19.EllipsisModule, typeof i1.BreadcrumbComponent, typeof i2.BreadcrumbItemsComponent, typeof i3.ButtonComponent, typeof i4.ConfirmationComponent, typeof i5.LoaderBarComponent, typeof i6.LoadingComponent, typeof i7.ModalComponent, typeof i8.ToastComponent, typeof i9.ToastContainerComponent, typeof i10.NgxDatatableDefaultDirective, typeof i11.NgxDatatableListDirective, typeof i12.LoadingDirective, typeof i13.ModalCloseDirective]>;
26
- static ɵinj: i0.ɵɵInjectorDeclaration<BaseThemeSharedModule>;
27
- }
28
- export declare class ThemeSharedModule {
29
- static forRoot({ httpErrorConfig, validation }?: RootParams): ModuleWithProviders<ThemeSharedModule>;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<ThemeSharedModule, never>;
31
- static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeSharedModule, never, [typeof BaseThemeSharedModule], [typeof BaseThemeSharedModule]>;
32
- static ɵinj: i0.ɵɵInjectorDeclaration<ThemeSharedModule>;
33
- }
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import { RootParams } from './models/common';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "./components/breadcrumb/breadcrumb.component";
5
+ import * as i2 from "./components/breadcrumb-items/breadcrumb-items.component";
6
+ import * as i3 from "./components/button/button.component";
7
+ import * as i4 from "./components/confirmation/confirmation.component";
8
+ import * as i5 from "./components/loader-bar/loader-bar.component";
9
+ import * as i6 from "./components/loading/loading.component";
10
+ import * as i7 from "./components/modal/modal.component";
11
+ import * as i8 from "./components/toast/toast.component";
12
+ import * as i9 from "./components/toast-container/toast-container.component";
13
+ import * as i10 from "./directives/ngx-datatable-default.directive";
14
+ import * as i11 from "./directives/ngx-datatable-list.directive";
15
+ import * as i12 from "./directives/loading.directive";
16
+ import * as i13 from "./components/modal/modal-close.directive";
17
+ import * as i14 from "./components/http-error-wrapper/http-error-wrapper.component";
18
+ import * as i15 from "@abp/ng.core";
19
+ import * as i16 from "@swimlane/ngx-datatable";
20
+ import * as i17 from "@ngx-validate/core";
21
+ import * as i18 from "@ng-bootstrap/ng-bootstrap";
22
+ import * as i19 from "./directives/ellipsis.directive";
23
+ export declare class BaseThemeSharedModule {
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseThemeSharedModule, never>;
25
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BaseThemeSharedModule, [typeof i1.BreadcrumbComponent, typeof i2.BreadcrumbItemsComponent, typeof i3.ButtonComponent, typeof i4.ConfirmationComponent, typeof i5.LoaderBarComponent, typeof i6.LoadingComponent, typeof i7.ModalComponent, typeof i8.ToastComponent, typeof i9.ToastContainerComponent, typeof i10.NgxDatatableDefaultDirective, typeof i11.NgxDatatableListDirective, typeof i12.LoadingDirective, typeof i13.ModalCloseDirective, typeof i14.HttpErrorWrapperComponent], [typeof i15.CoreModule, typeof i16.NgxDatatableModule, typeof i17.NgxValidateCoreModule, typeof i18.NgbPaginationModule, typeof i19.EllipsisModule], [typeof i16.NgxDatatableModule, typeof i19.EllipsisModule, typeof i1.BreadcrumbComponent, typeof i2.BreadcrumbItemsComponent, typeof i3.ButtonComponent, typeof i4.ConfirmationComponent, typeof i5.LoaderBarComponent, typeof i6.LoadingComponent, typeof i7.ModalComponent, typeof i8.ToastComponent, typeof i9.ToastContainerComponent, typeof i10.NgxDatatableDefaultDirective, typeof i11.NgxDatatableListDirective, typeof i12.LoadingDirective, typeof i13.ModalCloseDirective]>;
26
+ static ɵinj: i0.ɵɵInjectorDeclaration<BaseThemeSharedModule>;
27
+ }
28
+ export declare class ThemeSharedModule {
29
+ static forRoot({ httpErrorConfig, validation }?: RootParams): ModuleWithProviders<ThemeSharedModule>;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<ThemeSharedModule, never>;
31
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeSharedModule, never, [typeof BaseThemeSharedModule], [typeof BaseThemeSharedModule]>;
32
+ static ɵinj: i0.ɵɵInjectorDeclaration<ThemeSharedModule>;
33
+ }
@@ -1,2 +1,2 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const THEME_SHARED_APPEND_CONTENT: InjectionToken<void>;
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const THEME_SHARED_APPEND_CONTENT: InjectionToken<void>;
@@ -1,5 +1,5 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { HttpErrorConfig, HttpErrorHandler } from '../models/common';
3
- export declare function httpErrorConfigFactory(config?: HttpErrorConfig): HttpErrorConfig;
4
- export declare const HTTP_ERROR_CONFIG: InjectionToken<HttpErrorConfig>;
5
- export declare const HTTP_ERROR_HANDLER: InjectionToken<HttpErrorHandler>;
1
+ import { InjectionToken } from '@angular/core';
2
+ import { HttpErrorConfig, HttpErrorHandler } from '../models/common';
3
+ export declare function httpErrorConfigFactory(config?: HttpErrorConfig): HttpErrorConfig;
4
+ export declare const HTTP_ERROR_CONFIG: InjectionToken<HttpErrorConfig>;
5
+ export declare const HTTP_ERROR_HANDLER: InjectionToken<HttpErrorHandler>;
@@ -1,4 +1,4 @@
1
- export * from './append-content.token';
2
- export * from './http-error.token';
3
- export * from './ngx-datatable-messages.token';
4
- export * from './suppress-unsaved-changes-warning.token';
1
+ export * from './append-content.token';
2
+ export * from './http-error.token';
3
+ export * from './ngx-datatable-messages.token';
4
+ export * from './suppress-unsaved-changes-warning.token';
@@ -1,12 +1,12 @@
1
- import { InjectionToken } from '@angular/core';
2
- export interface NgxDatatableMessages {
3
- emptyMessage: string;
4
- totalMessage: string;
5
- selectedMessage: string;
6
- }
7
- export declare const defaultNgxDatatableMessages: {
8
- emptyMessage: string;
9
- totalMessage: string;
10
- selectedMessage: string;
11
- };
12
- export declare const NGX_DATATABLE_MESSAGES: InjectionToken<Partial<NgxDatatableMessages>>;
1
+ import { InjectionToken } from '@angular/core';
2
+ export interface NgxDatatableMessages {
3
+ emptyMessage: string;
4
+ totalMessage: string;
5
+ selectedMessage: string;
6
+ }
7
+ export declare const defaultNgxDatatableMessages: {
8
+ emptyMessage: string;
9
+ totalMessage: string;
10
+ selectedMessage: string;
11
+ };
12
+ export declare const NGX_DATATABLE_MESSAGES: InjectionToken<Partial<NgxDatatableMessages>>;
@@ -1,2 +1,2 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const SUPPRESS_UNSAVED_CHANGES_WARNING: InjectionToken<boolean>;
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const SUPPRESS_UNSAVED_CHANGES_WARNING: InjectionToken<boolean>;
@@ -1,12 +1,12 @@
1
- import { ConfigStateService } from '@abp/ng.core';
2
- import { NgbDateParserFormatter, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
3
- import * as i0 from "@angular/core";
4
- export declare class DateParserFormatter extends NgbDateParserFormatter {
5
- private configState;
6
- private locale;
7
- constructor(configState: ConfigStateService, locale: string);
8
- parse(value: string): NgbDateStruct | null;
9
- format(date: NgbDateStruct): string;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<DateParserFormatter, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<DateParserFormatter>;
12
- }
1
+ import { ConfigStateService } from '@abp/ng.core';
2
+ import { NgbDateParserFormatter, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DateParserFormatter extends NgbDateParserFormatter {
5
+ private configState;
6
+ private locale;
7
+ constructor(configState: ConfigStateService, locale: string);
8
+ parse(value: string): NgbDateStruct | null;
9
+ format(date: NgbDateStruct): string;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateParserFormatter, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<DateParserFormatter>;
12
+ }
@@ -1,2 +1,2 @@
1
- export * from './date-parser-formatter';
2
- export * from './validation-utils';
1
+ export * from './date-parser-formatter';
2
+ export * from './validation-utils';
@@ -1,3 +1,3 @@
1
- import { Injector } from '@angular/core';
2
- import { ValidatorFn } from '@angular/forms';
3
- export declare function getPasswordValidators(injector: Injector): ValidatorFn[];
1
+ import { Injector } from '@angular/core';
2
+ import { ValidatorFn } from '@angular/forms';
3
+ export declare function getPasswordValidators(injector: Injector): ValidatorFn[];
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@abp/ng.theme.shared",
3
- "version": "5.0.1",
3
+ "version": "5.0.2",
4
4
  "homepage": "https://abp.io",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/abpframework/abp.git"
8
8
  },
9
9
  "dependencies": {
10
- "@abp/ng.core": "~5.0.1",
10
+ "@abp/ng.core": "~5.0.2",
11
11
  "@fortawesome/fontawesome-free": "^5.15.4",
12
12
  "@ng-bootstrap/ng-bootstrap": "11.0.0-beta.2",
13
13
  "@ngx-validate/core": "^0.1.1",
package/public-api.d.ts CHANGED
@@ -1,12 +1,12 @@
1
- export * from './lib/animations';
2
- export * from './lib/components';
3
- export * from './lib/constants/validation';
4
- export * from './lib/directives';
5
- export * from './lib/enums';
6
- export * from './lib/handlers';
7
- export * from './lib/models';
8
- export * from './lib/providers';
9
- export * from './lib/services';
10
- export * from './lib/theme-shared.module';
11
- export * from './lib/tokens';
12
- export * from './lib/utils';
1
+ export * from './lib/animations';
2
+ export * from './lib/components';
3
+ export * from './lib/constants/validation';
4
+ export * from './lib/directives';
5
+ export * from './lib/enums';
6
+ export * from './lib/handlers';
7
+ export * from './lib/models';
8
+ export * from './lib/providers';
9
+ export * from './lib/services';
10
+ export * from './lib/theme-shared.module';
11
+ export * from './lib/tokens';
12
+ export * from './lib/utils';
@@ -1,5 +1,5 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@abp/ng.theme.shared/testing" />
5
- export * from './public-api';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@abp/ng.theme.shared/testing" />
5
+ export * from './public-api';
@@ -1,4 +1,4 @@
1
- import { Validation } from '@ngx-validate/core';
2
- export interface Config {
3
- validation?: Partial<Validation.Config>;
4
- }
1
+ import { Validation } from '@ngx-validate/core';
2
+ export interface Config {
3
+ validation?: Partial<Validation.Config>;
4
+ }
@@ -1 +1 @@
1
- export * from './config';
1
+ export * from './config';
@@ -1,14 +1,14 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import { Config } from './models/config';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/router/testing";
5
- import * as i2 from "@abp/ng.theme.shared";
6
- /**
7
- * ThemeSharedTestingModule is the module that will be used in tests
8
- */
9
- export declare class ThemeSharedTestingModule {
10
- static withConfig({ validation }?: Config): ModuleWithProviders<ThemeSharedTestingModule>;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<ThemeSharedTestingModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeSharedTestingModule, never, [typeof i1.RouterTestingModule, typeof i2.BaseThemeSharedModule], [typeof i1.RouterTestingModule, typeof i2.BaseThemeSharedModule]>;
13
- static ɵinj: i0.ɵɵInjectorDeclaration<ThemeSharedTestingModule>;
14
- }
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import { Config } from './models/config';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/router/testing";
5
+ import * as i2 from "@abp/ng.theme.shared";
6
+ /**
7
+ * ThemeSharedTestingModule is the module that will be used in tests
8
+ */
9
+ export declare class ThemeSharedTestingModule {
10
+ static withConfig({ validation }?: Config): ModuleWithProviders<ThemeSharedTestingModule>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ThemeSharedTestingModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeSharedTestingModule, never, [typeof i1.RouterTestingModule, typeof i2.BaseThemeSharedModule], [typeof i1.RouterTestingModule, typeof i2.BaseThemeSharedModule]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<ThemeSharedTestingModule>;
14
+ }
@@ -1,3 +1,3 @@
1
- import * as ThemeSharedTesting from './lib/models';
2
- export * from './lib/theme-shared-testing.module';
3
- export { ThemeSharedTesting };
1
+ import * as ThemeSharedTesting from './lib/models';
2
+ export * from './lib/theme-shared-testing.module';
3
+ export { ThemeSharedTesting };