@mediusinc/mng-commons 0.2.0 → 0.2.6

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 (235) hide show
  1. package/esm2020/lib/api/models/builders/query-param.builder.mjs +48 -48
  2. package/esm2020/lib/api/models/filter-match-type.model.mjs +26 -26
  3. package/esm2020/lib/api/models/filter-param.model.mjs +46 -46
  4. package/esm2020/lib/api/models/index.mjs +9 -9
  5. package/esm2020/lib/api/models/mappers.mjs +17 -17
  6. package/esm2020/lib/api/models/query-mode.model.mjs +19 -19
  7. package/esm2020/lib/api/models/query-param.model.mjs +69 -69
  8. package/esm2020/lib/api/models/query-result.model.mjs +45 -45
  9. package/esm2020/lib/api/models/serialization.model.mjs +2 -2
  10. package/esm2020/lib/api/services/crud-api.abstract.service.mjs +72 -72
  11. package/esm2020/lib/api/services/index.mjs +2 -2
  12. package/esm2020/lib/api/utils/index.mjs +3 -3
  13. package/esm2020/lib/api/utils/medius-rest.util.mjs +122 -122
  14. package/esm2020/lib/api/utils/object-serializer.util.mjs +226 -226
  15. package/esm2020/lib/components/action/action.component.mjs +65 -65
  16. package/esm2020/lib/components/action/dialog/action-dialog.component.mjs +148 -148
  17. package/esm2020/lib/components/action/index.mjs +4 -4
  18. package/esm2020/lib/components/action/models/action-confirmation-service.model.mjs +2 -2
  19. package/esm2020/lib/components/action/models/action-execution.model.mjs +58 -58
  20. package/esm2020/lib/components/action/models/index.mjs +3 -3
  21. package/esm2020/lib/components/action/route/action-route.component.mjs +144 -144
  22. package/esm2020/lib/components/form/autocomplete/autocomplete.component.mjs +114 -114
  23. package/esm2020/lib/components/form/dropdown/dropdown.component.mjs +113 -113
  24. package/esm2020/lib/components/form/editor/form-editor.component.mjs +141 -141
  25. package/esm2020/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.mjs +19 -19
  26. package/esm2020/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.mjs +19 -19
  27. package/esm2020/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.mjs +16 -16
  28. package/esm2020/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.mjs +30 -26
  29. package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.mjs +108 -109
  30. package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.mjs +122 -122
  31. package/esm2020/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.mjs +17 -17
  32. package/esm2020/lib/components/form/formly/fields/index.mjs +8 -8
  33. package/esm2020/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.mjs +17 -17
  34. package/esm2020/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.mjs +16 -16
  35. package/esm2020/lib/components/form/formly/wrappers/index.mjs +3 -3
  36. package/esm2020/lib/components/form/index.mjs +4 -4
  37. package/esm2020/lib/components/form/models/form-editor.event.mjs +7 -7
  38. package/esm2020/lib/components/form/models/index.mjs +2 -2
  39. package/esm2020/lib/components/layout/breadcrumb.component.mjs +17 -17
  40. package/esm2020/lib/components/layout/footer.component.mjs +17 -17
  41. package/esm2020/lib/components/layout/index.mjs +7 -7
  42. package/esm2020/lib/components/layout/main-layout.component.mjs +54 -54
  43. package/esm2020/lib/components/layout/menu-item.component.mjs +173 -173
  44. package/esm2020/lib/components/layout/menu.component.mjs +20 -20
  45. package/esm2020/lib/components/layout/services/index.mjs +2 -2
  46. package/esm2020/lib/components/layout/services/main-layout.component.service.mjs +190 -190
  47. package/esm2020/lib/components/layout/topbar.component.mjs +59 -59
  48. package/esm2020/lib/components/tableview/index.mjs +7 -6
  49. package/esm2020/lib/components/tableview/models/index.mjs +2 -2
  50. package/esm2020/lib/components/tableview/models/table.event.mjs +16 -16
  51. package/esm2020/lib/components/tableview/route/tableview-route.abstract.component.mjs +24 -24
  52. package/esm2020/lib/components/tableview/route/tableview-route.component.mjs +33 -0
  53. package/esm2020/lib/components/tableview/services/index.mjs +2 -2
  54. package/esm2020/lib/components/tableview/services/tableview.component.service.mjs +16 -17
  55. package/esm2020/lib/components/tableview/table/column-filter/column-filter.component.mjs +85 -74
  56. package/esm2020/lib/components/tableview/table/column-value/column-value.component.mjs +25 -25
  57. package/esm2020/lib/components/tableview/table/table.component.mjs +307 -307
  58. package/esm2020/lib/components/tableview/tableview.component.mjs +82 -82
  59. package/esm2020/lib/config/formly.config.mjs +136 -136
  60. package/esm2020/lib/config/index.mjs +2 -2
  61. package/esm2020/lib/config/models/index.mjs +2 -2
  62. package/esm2020/lib/config/models/mng-config.model.mjs +2 -2
  63. package/esm2020/lib/data-providers/base.data-provider.mjs +24 -24
  64. package/esm2020/lib/data-providers/editor.data-provider.mjs +37 -37
  65. package/esm2020/lib/data-providers/index.mjs +6 -6
  66. package/esm2020/lib/data-providers/lookup.data-provider.mjs +16 -16
  67. package/esm2020/lib/data-providers/table.data-provider.mjs +2 -2
  68. package/esm2020/lib/data-providers/tableview.data-provider.mjs +17 -17
  69. package/esm2020/lib/descriptors/action.descriptor.mjs +332 -332
  70. package/esm2020/lib/descriptors/editor.descriptor.mjs +670 -670
  71. package/esm2020/lib/descriptors/field.validator.mjs +21 -21
  72. package/esm2020/lib/descriptors/index.mjs +8 -8
  73. package/esm2020/lib/descriptors/lookup.descriptor.mjs +2 -2
  74. package/esm2020/lib/descriptors/model.descriptor.mjs +34 -34
  75. package/esm2020/lib/descriptors/table.descriptor.mjs +427 -401
  76. package/esm2020/lib/descriptors/tableview.descriptor.mjs +131 -131
  77. package/esm2020/lib/directives/component.directive.mjs +23 -23
  78. package/esm2020/lib/directives/index.mjs +3 -3
  79. package/esm2020/lib/directives/template.directive.mjs +29 -29
  80. package/esm2020/lib/mng-commons.module.mjs +412 -410
  81. package/esm2020/lib/models/index.mjs +2 -3
  82. package/esm2020/lib/models/user.model.mjs +2 -2
  83. package/esm2020/lib/pipes/boolean.pipe.mjs +22 -22
  84. package/esm2020/lib/pipes/index.mjs +3 -3
  85. package/esm2020/lib/pipes/property-path.pipe.mjs +36 -36
  86. package/esm2020/lib/router/index.mjs +2 -0
  87. package/esm2020/lib/router/models/index.mjs +2 -0
  88. package/esm2020/lib/router/models/router.model.mjs +2 -0
  89. package/esm2020/lib/router/route-builder.mjs +288 -0
  90. package/esm2020/lib/services/action.service.mjs +269 -269
  91. package/esm2020/lib/services/commons.service.mjs +354 -353
  92. package/esm2020/lib/services/configuration.service.mjs +78 -78
  93. package/esm2020/lib/services/index.mjs +5 -5
  94. package/esm2020/lib/services/navigation.service.mjs +48 -48
  95. package/esm2020/lib/services/providers/commons-init.provider.mjs +4 -4
  96. package/esm2020/lib/services/providers/config-service.provider.mjs +20 -20
  97. package/esm2020/lib/services/providers/formly-config.provider.mjs +31 -31
  98. package/esm2020/lib/services/providers/index.mjs +4 -4
  99. package/esm2020/lib/services/tokens/browser-storage.token.mjs +6 -6
  100. package/esm2020/lib/services/tokens/index.mjs +3 -3
  101. package/esm2020/lib/services/tokens/module-config.token.mjs +3 -3
  102. package/esm2020/lib/types/index.mjs +3 -3
  103. package/esm2020/lib/types/type.decorator.mjs +7 -7
  104. package/esm2020/lib/types/type.model.mjs +2 -2
  105. package/esm2020/lib/utils/editor-formly.util.mjs +176 -176
  106. package/esm2020/lib/utils/i18n.util.mjs +125 -125
  107. package/esm2020/lib/utils/index.mjs +6 -6
  108. package/esm2020/lib/utils/model.util.mjs +57 -57
  109. package/esm2020/lib/utils/route.util.mjs +24 -0
  110. package/esm2020/lib/utils/toast.util.mjs +39 -39
  111. package/esm2020/lib/utils/type.util.mjs +39 -39
  112. package/esm2020/mediusinc-mng-commons.mjs +5 -5
  113. package/esm2020/public-api.mjs +37 -36
  114. package/fesm2015/mediusinc-mng-commons.mjs +6407 -6024
  115. package/fesm2015/mediusinc-mng-commons.mjs.map +1 -1
  116. package/fesm2020/mediusinc-mng-commons.mjs +6329 -5950
  117. package/fesm2020/mediusinc-mng-commons.mjs.map +1 -1
  118. package/lib/api/models/builders/query-param.builder.d.ts +11 -11
  119. package/lib/api/models/filter-match-type.model.d.ts +23 -23
  120. package/lib/api/models/filter-param.model.d.ts +23 -23
  121. package/lib/api/models/index.d.ts +8 -8
  122. package/lib/api/models/mappers.d.ts +6 -6
  123. package/lib/api/models/query-mode.model.d.ts +16 -16
  124. package/lib/api/models/query-param.model.d.ts +31 -31
  125. package/lib/api/models/query-result.model.d.ts +36 -36
  126. package/lib/api/models/serialization.model.d.ts +8 -8
  127. package/lib/api/services/crud-api.abstract.service.d.ts +23 -23
  128. package/lib/api/services/index.d.ts +1 -1
  129. package/lib/api/utils/index.d.ts +2 -2
  130. package/lib/api/utils/medius-rest.util.d.ts +12 -12
  131. package/lib/api/utils/object-serializer.util.d.ts +30 -30
  132. package/lib/components/action/action.component.d.ts +36 -36
  133. package/lib/components/action/dialog/action-dialog.component.d.ts +46 -46
  134. package/lib/components/action/index.d.ts +3 -3
  135. package/lib/components/action/models/action-confirmation-service.model.d.ts +6 -6
  136. package/lib/components/action/models/action-execution.model.d.ts +53 -53
  137. package/lib/components/action/models/index.d.ts +2 -2
  138. package/lib/components/action/route/action-route.component.d.ts +32 -32
  139. package/lib/components/form/autocomplete/autocomplete.component.d.ts +36 -36
  140. package/lib/components/form/dropdown/dropdown.component.d.ts +34 -34
  141. package/lib/components/form/editor/form-editor.component.d.ts +39 -39
  142. package/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.d.ts +11 -11
  143. package/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.d.ts +11 -11
  144. package/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.d.ts +6 -6
  145. package/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.d.ts +12 -12
  146. package/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.d.ts +17 -17
  147. package/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.d.ts +36 -36
  148. package/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.d.ts +6 -6
  149. package/lib/components/form/formly/fields/index.d.ts +7 -7
  150. package/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.d.ts +8 -8
  151. package/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.d.ts +8 -8
  152. package/lib/components/form/formly/wrappers/index.d.ts +2 -2
  153. package/lib/components/form/index.d.ts +3 -3
  154. package/lib/components/form/models/form-editor.event.d.ts +5 -5
  155. package/lib/components/form/models/index.d.ts +1 -1
  156. package/lib/components/layout/breadcrumb.component.d.ts +8 -8
  157. package/lib/components/layout/footer.component.d.ts +9 -9
  158. package/lib/components/layout/index.d.ts +6 -6
  159. package/lib/components/layout/main-layout.component.d.ts +21 -21
  160. package/lib/components/layout/menu-item.component.d.ts +29 -29
  161. package/lib/components/layout/menu.component.d.ts +10 -10
  162. package/lib/components/layout/services/index.d.ts +1 -1
  163. package/lib/components/layout/services/main-layout.component.service.d.ts +65 -65
  164. package/lib/components/layout/topbar.component.d.ts +25 -25
  165. package/lib/components/tableview/index.d.ts +6 -5
  166. package/lib/components/tableview/models/index.d.ts +1 -1
  167. package/lib/components/tableview/models/table.event.d.ts +17 -17
  168. package/lib/components/tableview/route/tableview-route.abstract.component.d.ts +15 -14
  169. package/lib/components/tableview/route/tableview-route.component.d.ts +15 -0
  170. package/lib/components/tableview/services/index.d.ts +1 -1
  171. package/lib/components/tableview/services/tableview.component.service.d.ts +13 -13
  172. package/lib/components/tableview/table/column-filter/column-filter.component.d.ts +27 -22
  173. package/lib/components/tableview/table/column-value/column-value.component.d.ts +12 -12
  174. package/lib/components/tableview/table/table.component.d.ts +79 -79
  175. package/lib/components/tableview/tableview.component.d.ts +35 -35
  176. package/lib/config/formly.config.d.ts +14 -14
  177. package/lib/config/index.d.ts +1 -1
  178. package/lib/config/models/index.d.ts +1 -1
  179. package/lib/config/models/mng-config.model.d.ts +34 -34
  180. package/lib/data-providers/base.data-provider.d.ts +17 -17
  181. package/lib/data-providers/editor.data-provider.d.ts +25 -25
  182. package/lib/data-providers/index.d.ts +5 -5
  183. package/lib/data-providers/lookup.data-provider.d.ts +14 -14
  184. package/lib/data-providers/table.data-provider.d.ts +6 -6
  185. package/lib/data-providers/tableview.data-provider.d.ts +15 -15
  186. package/lib/descriptors/action.descriptor.d.ts +148 -148
  187. package/lib/descriptors/editor.descriptor.d.ts +255 -255
  188. package/lib/descriptors/field.validator.d.ts +18 -18
  189. package/lib/descriptors/index.d.ts +7 -7
  190. package/lib/descriptors/lookup.descriptor.d.ts +17 -17
  191. package/lib/descriptors/model.descriptor.d.ts +15 -15
  192. package/lib/descriptors/table.descriptor.d.ts +184 -164
  193. package/lib/descriptors/tableview.descriptor.d.ts +39 -39
  194. package/lib/directives/component.directive.d.ts +11 -11
  195. package/lib/directives/index.d.ts +2 -2
  196. package/lib/directives/template.directive.d.ts +13 -13
  197. package/lib/mng-commons.module.d.ts +80 -79
  198. package/lib/models/index.d.ts +1 -2
  199. package/lib/models/user.model.d.ts +8 -8
  200. package/lib/pipes/boolean.pipe.d.ts +7 -7
  201. package/lib/pipes/index.d.ts +2 -2
  202. package/lib/pipes/property-path.pipe.d.ts +7 -7
  203. package/lib/router/index.d.ts +1 -0
  204. package/lib/router/models/index.d.ts +1 -0
  205. package/lib/router/models/router.model.d.ts +22 -0
  206. package/lib/router/route-builder.d.ts +66 -0
  207. package/lib/services/action.service.d.ts +92 -92
  208. package/lib/services/commons.service.d.ts +72 -72
  209. package/lib/services/configuration.service.d.ts +35 -35
  210. package/lib/services/index.d.ts +4 -4
  211. package/lib/services/navigation.service.d.ts +14 -14
  212. package/lib/services/providers/commons-init.provider.d.ts +2 -2
  213. package/lib/services/providers/config-service.provider.d.ts +5 -5
  214. package/lib/services/providers/formly-config.provider.d.ts +4 -4
  215. package/lib/services/providers/index.d.ts +3 -3
  216. package/lib/services/tokens/browser-storage.token.d.ts +2 -2
  217. package/lib/services/tokens/index.d.ts +2 -2
  218. package/lib/services/tokens/module-config.token.d.ts +3 -3
  219. package/lib/types/index.d.ts +2 -2
  220. package/lib/types/type.decorator.d.ts +2 -2
  221. package/lib/types/type.model.d.ts +10 -10
  222. package/lib/utils/editor-formly.util.d.ts +9 -9
  223. package/lib/utils/i18n.util.d.ts +18 -18
  224. package/lib/utils/index.d.ts +5 -5
  225. package/lib/utils/model.util.d.ts +7 -7
  226. package/lib/utils/route.util.d.ts +4 -0
  227. package/lib/utils/toast.util.d.ts +13 -13
  228. package/lib/utils/type.util.d.ts +15 -15
  229. package/mediusinc-mng-commons.d.ts +5 -5
  230. package/package.json +4 -4
  231. package/public-api.d.ts +26 -25
  232. package/scss/common/layout/_exception.scss +1 -1
  233. package/esm2020/lib/models/router.model.mjs +0 -2
  234. package/lib/models/router.model.d.ts +0 -14
  235. package/mediusinc-mng-commons-0.2.0.tgz +0 -0
@@ -1,72 +1,72 @@
1
- import { Router } from '@angular/router';
2
- import { Title } from '@angular/platform-browser';
3
- import { MenuItem, PrimeNGConfig } from 'primeng/api';
4
- import { TranslateService } from '@ngx-translate/core';
5
- import { Observable } from 'rxjs';
6
- import { MngConfigurationService } from './configuration.service';
7
- import { MngModuleConfig } from '../config/models';
8
- import { IUser } from '../models';
9
- import * as i0 from "@angular/core";
10
- export declare class MngCommonsService {
11
- private router;
12
- private primengConfig;
13
- private translate;
14
- private titleService;
15
- private configurationService;
16
- private moduleConfig;
17
- private localStorage;
18
- private _menuMode;
19
- private _menuModeSubject;
20
- private _menuItems;
21
- private _menuPinEnabled;
22
- private _menuActiveKeySubject;
23
- private _menuResetSubject;
24
- private readonly breadcrumbHomeSubject;
25
- private readonly breadcrumbsSubject;
26
- private breadcrumbsTranslateSubscription?;
27
- private breadcrumbHomeTranslateSubscription?;
28
- private _colorScheme;
29
- private _user?;
30
- private userSubject;
31
- constructor(router: Router, primengConfig: PrimeNGConfig, translate: TranslateService, titleService: Title, configurationService: MngConfigurationService, moduleConfig: MngModuleConfig, localStorage: Storage);
32
- get appName(): string;
33
- get appOwner(): string;
34
- get appLogoLight(): string;
35
- get appLogoDark(): string;
36
- get appLogoNameLight(): string;
37
- get appLogoNameDark(): string;
38
- get appLanguages(): string[];
39
- get appLanguage(): string;
40
- set appLanguage(language: string);
41
- get menuModeIsStatic(): boolean;
42
- get menuModeIsStatic$(): Observable<boolean>;
43
- get menuModeIsOverlay(): boolean;
44
- get menuModeIsOverlay$(): Observable<boolean>;
45
- get menuModeIsSlim(): boolean;
46
- get menuModeIsSlim$(): Observable<boolean>;
47
- get menuModeIsSidebar(): boolean;
48
- get menuModeIsSidebar$(): Observable<boolean>;
49
- get menuActiveKey$(): Observable<string>;
50
- get menuReset$(): Observable<any>;
51
- get menuItems(): MenuItem[];
52
- set menuItems(menuItems: MenuItem[]);
53
- get menuPinEnabled(): boolean;
54
- get breadcrumbHome$(): Observable<MenuItem | null>;
55
- get breadcrumbs$(): Observable<MenuItem[]>;
56
- get colorSchemeIsLight(): boolean;
57
- get colorSchemeIsDark(): boolean;
58
- get user(): IUser;
59
- get user$(): Observable<IUser>;
60
- set user(user: IUser);
61
- initialize(): void;
62
- menuChangeActiveKey(key: string): void;
63
- menuReset(): void;
64
- private updateBreadcrumbs;
65
- private generateHomeBreadcrumb;
66
- private generateBreadcrumbs;
67
- private createBreadcrumb;
68
- setPageTitle(title?: string): void;
69
- private formatPageTitle;
70
- static ɵfac: i0.ɵɵFactoryDeclaration<MngCommonsService, never>;
71
- static ɵprov: i0.ɵɵInjectableDeclaration<MngCommonsService>;
72
- }
1
+ import { Router } from '@angular/router';
2
+ import { Title } from '@angular/platform-browser';
3
+ import { MenuItem, PrimeNGConfig } from 'primeng/api';
4
+ import { TranslateService } from '@ngx-translate/core';
5
+ import { Observable } from 'rxjs';
6
+ import { MngConfigurationService } from './configuration.service';
7
+ import { MngModuleConfig } from '../config/models';
8
+ import { IUser } from '../models';
9
+ import * as i0 from "@angular/core";
10
+ export declare class MngCommonsService {
11
+ private router;
12
+ private primengConfig;
13
+ private translate;
14
+ private titleService;
15
+ private configurationService;
16
+ private moduleConfig;
17
+ private localStorage;
18
+ private _menuMode;
19
+ private _menuModeSubject;
20
+ private _menuItems;
21
+ private _menuPinEnabled;
22
+ private _menuActiveKeySubject;
23
+ private _menuResetSubject;
24
+ private readonly breadcrumbHomeSubject;
25
+ private readonly breadcrumbsSubject;
26
+ private breadcrumbsTranslateSubscription?;
27
+ private breadcrumbHomeTranslateSubscription?;
28
+ private _colorScheme;
29
+ private _user?;
30
+ private userSubject;
31
+ constructor(router: Router, primengConfig: PrimeNGConfig, translate: TranslateService, titleService: Title, configurationService: MngConfigurationService, moduleConfig: MngModuleConfig, localStorage: Storage);
32
+ get appName(): string;
33
+ get appOwner(): string;
34
+ get appLogoLight(): string;
35
+ get appLogoDark(): string;
36
+ get appLogoNameLight(): string;
37
+ get appLogoNameDark(): string;
38
+ get appLanguages(): string[];
39
+ get appLanguage(): string;
40
+ set appLanguage(language: string);
41
+ get menuModeIsStatic(): boolean;
42
+ get menuModeIsStatic$(): Observable<boolean>;
43
+ get menuModeIsOverlay(): boolean;
44
+ get menuModeIsOverlay$(): Observable<boolean>;
45
+ get menuModeIsSlim(): boolean;
46
+ get menuModeIsSlim$(): Observable<boolean>;
47
+ get menuModeIsSidebar(): boolean;
48
+ get menuModeIsSidebar$(): Observable<boolean>;
49
+ get menuActiveKey$(): Observable<string>;
50
+ get menuReset$(): Observable<any>;
51
+ get menuItems(): MenuItem[];
52
+ set menuItems(menuItems: MenuItem[]);
53
+ get menuPinEnabled(): boolean;
54
+ get breadcrumbHome$(): Observable<MenuItem | null>;
55
+ get breadcrumbs$(): Observable<MenuItem[]>;
56
+ get colorSchemeIsLight(): boolean;
57
+ get colorSchemeIsDark(): boolean;
58
+ get user(): IUser;
59
+ get user$(): Observable<IUser>;
60
+ set user(user: IUser);
61
+ initialize(): void;
62
+ menuChangeActiveKey(key: string): void;
63
+ menuReset(): void;
64
+ private updateBreadcrumbs;
65
+ private generateHomeBreadcrumb;
66
+ private generateBreadcrumbs;
67
+ private createBreadcrumb;
68
+ setPageTitle(title?: string): void;
69
+ private formatPageTitle;
70
+ static ɵfac: i0.ɵɵFactoryDeclaration<MngCommonsService, never>;
71
+ static ɵprov: i0.ɵɵInjectableDeclaration<MngCommonsService>;
72
+ }
@@ -1,35 +1,35 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- export declare class MngConfigurationService {
4
- private http;
5
- private static _instance;
6
- static init(httpClient: HttpClient): MngConfigurationService;
7
- static get(): MngConfigurationService;
8
- private projectEnvironment?;
9
- private jsonEnvironments;
10
- private configuration;
11
- private constructor();
12
- /**
13
- * Add project environment source.
14
- * @param environemnt Environment.
15
- */
16
- addEnvironmentSource(environment: any): void;
17
- /**
18
- * Adds new config source from JSON file.
19
- * @param url Url to JSON file.
20
- */
21
- addJsonSource(url?: string): Observable<boolean>;
22
- /**
23
- * Get configuration.
24
- */
25
- getConfig(): any;
26
- /**
27
- * Get configuration value for key.
28
- * @param key Configuration key.
29
- */
30
- getConfigValue(key: string): any;
31
- /**
32
- * Merges configuration from multiple sources with
33
- */
34
- private mergeConfigs;
35
- }
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ export declare class MngConfigurationService {
4
+ private http;
5
+ private static _instance;
6
+ static init(httpClient: HttpClient): MngConfigurationService;
7
+ static get(): MngConfigurationService;
8
+ private projectEnvironment?;
9
+ private jsonEnvironments;
10
+ private configuration;
11
+ private constructor();
12
+ /**
13
+ * Add project environment source.
14
+ * @param environemnt Environment.
15
+ */
16
+ addEnvironmentSource(environment: any): void;
17
+ /**
18
+ * Adds new config source from JSON file.
19
+ * @param url Url to JSON file.
20
+ */
21
+ addJsonSource(url?: string): Observable<boolean>;
22
+ /**
23
+ * Get configuration.
24
+ */
25
+ getConfig(): any;
26
+ /**
27
+ * Get configuration value for key.
28
+ * @param key Configuration key.
29
+ */
30
+ getConfigValue(key: string): any;
31
+ /**
32
+ * Merges configuration from multiple sources with
33
+ */
34
+ private mergeConfigs;
35
+ }
@@ -1,4 +1,4 @@
1
- export * from './action.service';
2
- export * from './configuration.service';
3
- export * from './commons.service';
4
- export * from './navigation.service';
1
+ export * from './action.service';
2
+ export * from './configuration.service';
3
+ export * from './commons.service';
4
+ export * from './navigation.service';
@@ -1,14 +1,14 @@
1
- import { Router } from '@angular/router';
2
- import { Location } from '@angular/common';
3
- import * as i0 from "@angular/core";
4
- export declare class MngNavigationService {
5
- private router;
6
- private location;
7
- private history;
8
- constructor(router: Router, location: Location);
9
- getCurrentLocation(): string | null;
10
- getPreviousLocation(): string | null;
11
- back(): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<MngNavigationService, never>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<MngNavigationService>;
14
- }
1
+ import { Router } from '@angular/router';
2
+ import { Location } from '@angular/common';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MngNavigationService {
5
+ private router;
6
+ private location;
7
+ private history;
8
+ constructor(router: Router, location: Location);
9
+ getCurrentLocation(): string | null;
10
+ getPreviousLocation(): string | null;
11
+ back(): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<MngNavigationService, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<MngNavigationService>;
14
+ }
@@ -1,2 +1,2 @@
1
- import { MngCommonsService } from '../commons.service';
2
- export declare function mngCommonsInitializerProvider(mngCommons: MngCommonsService): () => void;
1
+ import { MngCommonsService } from '../commons.service';
2
+ export declare function mngCommonsInitializerProvider(mngCommons: MngCommonsService): () => void;
@@ -1,5 +1,5 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { MngModuleConfig } from '../../config/models';
3
- import { MngConfigurationService } from '../configuration.service';
4
- export declare const mngConfigurationServiceProvider: (httpClient: HttpClient, moduleConfig: MngModuleConfig) => MngConfigurationService;
5
- export declare function mngConfigJsonAppInitializerProvider(configService: MngConfigurationService, moduleConfig: MngModuleConfig): () => import("rxjs").Observable<boolean>;
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { MngModuleConfig } from '../../config/models';
3
+ import { MngConfigurationService } from '../configuration.service';
4
+ export declare const mngConfigurationServiceProvider: (httpClient: HttpClient, moduleConfig: MngModuleConfig) => MngConfigurationService;
5
+ export declare function mngConfigJsonAppInitializerProvider(configService: MngConfigurationService, moduleConfig: MngModuleConfig): () => import("rxjs").Observable<boolean>;
@@ -1,4 +1,4 @@
1
- import { TranslateService } from '@ngx-translate/core';
2
- import { ConfigOption } from '@ngx-formly/core';
3
- import { MngModuleConfig } from '../../config/models';
4
- export declare function mngFormlyConfigProvider(translate: TranslateService, moduleConfig?: MngModuleConfig): ConfigOption;
1
+ import { TranslateService } from '@ngx-translate/core';
2
+ import { ConfigOption } from '@ngx-formly/core';
3
+ import { MngModuleConfig } from '../../config/models';
4
+ export declare function mngFormlyConfigProvider(translate: TranslateService, moduleConfig?: MngModuleConfig): ConfigOption;
@@ -1,3 +1,3 @@
1
- export * from './commons-init.provider';
2
- export * from './config-service.provider';
3
- export * from './formly-config.provider';
1
+ export * from './commons-init.provider';
2
+ export * from './config-service.provider';
3
+ export * from './formly-config.provider';
@@ -1,2 +1,2 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const MNG_BROWSER_STORAGE_IT: InjectionToken<Storage>;
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const MNG_BROWSER_STORAGE_IT: InjectionToken<Storage>;
@@ -1,2 +1,2 @@
1
- export * from './browser-storage.token';
2
- export * from './module-config.token';
1
+ export * from './browser-storage.token';
2
+ export * from './module-config.token';
@@ -1,3 +1,3 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { MngModuleConfig } from '../../config/models';
3
- export declare const MNG_MODULE_CONFIG_IT: InjectionToken<MngModuleConfig>;
1
+ import { InjectionToken } from '@angular/core';
2
+ import { MngModuleConfig } from '../../config/models';
3
+ export declare const MNG_MODULE_CONFIG_IT: InjectionToken<MngModuleConfig>;
@@ -1,2 +1,2 @@
1
- export * from './type.decorator';
2
- export * from './type.model';
1
+ export * from './type.decorator';
2
+ export * from './type.model';
@@ -1,2 +1,2 @@
1
- export declare const typeNameDecoratorPropertyName = "typeName";
2
- export declare function TypeName(typeName: string): ClassDecorator;
1
+ export declare const typeNameDecoratorPropertyName = "typeName";
2
+ export declare function TypeName(typeName: string): ClassDecorator;
@@ -1,10 +1,10 @@
1
- export interface ClassType<T> extends Function {
2
- new (...args: any[]): T;
3
- }
4
- export interface EnumType {
5
- [key: number]: EnumMemberType;
6
- }
7
- export declare type EnumMemberType = string | number;
8
- export declare type IdType = number | string;
9
- export declare type PrimitiveType = string | boolean | number;
10
- export declare type PropertyType = PrimitiveType | Date | EnumType;
1
+ export interface ClassType<T> extends Function {
2
+ new (...args: any[]): T;
3
+ }
4
+ export interface EnumType {
5
+ [key: number]: EnumMemberType;
6
+ }
7
+ export declare type EnumMemberType = string | number;
8
+ export declare type IdType = number | string;
9
+ export declare type PrimitiveType = string | boolean | number;
10
+ export declare type PropertyType = PrimitiveType | Date | EnumType;
@@ -1,9 +1,9 @@
1
- import { FormlyFieldConfig } from '@ngx-formly/core';
2
- import { EditorDescriptor, AFieldDescriptor, FieldTabGroupDescriptor, FieldGroupDescriptor } from '../descriptors';
3
- export declare class EditorFormlyUtil {
4
- static createFormlyConfigFromDescriptor(descriptor: EditorDescriptor<any>): FormlyFieldConfig[];
5
- static createFormlyTabType(tabGroups: FieldTabGroupDescriptor<any>[]): FormlyFieldConfig[];
6
- static createFormlyGroupType(groups: FieldGroupDescriptor<any>[]): FormlyFieldConfig[];
7
- static createFormlyFields(descriptor: FieldGroupDescriptor<any>): FormlyFieldConfig[];
8
- static createFormlyField(descriptor: AFieldDescriptor<any, any>): FormlyFieldConfig;
9
- }
1
+ import { FormlyFieldConfig } from '@ngx-formly/core';
2
+ import { EditorDescriptor, AFieldDescriptor, FieldTabGroupDescriptor, FieldGroupDescriptor } from '../descriptors';
3
+ export declare class EditorFormlyUtil {
4
+ static createFormlyConfigFromDescriptor(descriptor: EditorDescriptor<any>): FormlyFieldConfig[];
5
+ static createFormlyTabType(tabGroups: FieldTabGroupDescriptor<any>[]): FormlyFieldConfig[];
6
+ static createFormlyGroupType(groups: FieldGroupDescriptor<any>[]): FormlyFieldConfig[];
7
+ static createFormlyFields(descriptor: FieldGroupDescriptor<any>): FormlyFieldConfig[];
8
+ static createFormlyField(descriptor: AFieldDescriptor<any, any>): FormlyFieldConfig;
9
+ }
@@ -1,18 +1,18 @@
1
- import { TranslateService } from '@ngx-translate/core';
2
- import { Observable } from 'rxjs';
3
- import { ActionDescriptor, ModelDescriptor } from '../descriptors';
4
- export declare class I18nUtil {
5
- static instantModelTranslation(translate: TranslateService, model: ModelDescriptor<any>, keyPath: string, customKey?: string, item?: any, fallbackKey?: string, i18nParams?: any): string | null;
6
- static instantActionTranslation(translate: TranslateService, action: ActionDescriptor<any>, keyPath: string, customKey?: string, item?: any, fallbackKey?: string, functionNameKey?: string, i18nParams?: any): string | null;
7
- static streamActionTranslation(translate: TranslateService, action: ActionDescriptor<any>, keyPath: string, customKey?: string, item?: any, fallbackKey?: string): Observable<string | null>;
8
- static getActionTranslation(translate: TranslateService, action: ActionDescriptor<any>, keyPath: string, customKey?: string, item?: any, fallbackKey?: string, oneTime?: boolean): Observable<string | null>;
9
- private static getModelKeysByPriority;
10
- private static getActionKeysByPriority;
11
- static getModelI18nParams(model: ModelDescriptor<any>, item: any, i18nModelName?: string, i18nParameters?: any): any;
12
- static getActionI18nParams(action: ActionDescriptor<any>, item: any, i18nModelName?: string, i18nParameters?: any, functionTitle?: string): any;
13
- static instantModelName(translate: TranslateService, model: ModelDescriptor<any>, singular?: boolean): string | null;
14
- static getModelName(translate: TranslateService, model: ModelDescriptor<any>, oneTime?: boolean, singular?: boolean): Observable<string | null>;
15
- static getModelNameKeys(model: ModelDescriptor<any>, singular?: boolean): string[];
16
- private static selectKeyByPriority;
17
- private static getFunctionTitle;
18
- }
1
+ import { TranslateService } from '@ngx-translate/core';
2
+ import { Observable } from 'rxjs';
3
+ import { ActionDescriptor, ModelDescriptor } from '../descriptors';
4
+ export declare class I18nUtil {
5
+ static instantModelTranslation(translate: TranslateService, model: ModelDescriptor<any>, keyPath: string, customKey?: string, item?: any, fallbackKey?: string, i18nParams?: any): string | null;
6
+ static instantActionTranslation(translate: TranslateService, action: ActionDescriptor<any>, keyPath: string, customKey?: string, item?: any, fallbackKey?: string, functionNameKey?: string, i18nParams?: any): string | null;
7
+ static streamActionTranslation(translate: TranslateService, action: ActionDescriptor<any>, keyPath: string, customKey?: string, item?: any, fallbackKey?: string): Observable<string | null>;
8
+ static getActionTranslation(translate: TranslateService, action: ActionDescriptor<any>, keyPath: string, customKey?: string, item?: any, fallbackKey?: string, oneTime?: boolean): Observable<string | null>;
9
+ private static getModelKeysByPriority;
10
+ private static getActionKeysByPriority;
11
+ static getModelI18nParams(model: ModelDescriptor<any>, item: any, i18nModelName?: string, i18nParameters?: any): any;
12
+ static getActionI18nParams(action: ActionDescriptor<any>, item: any, i18nModelName?: string, i18nParameters?: any, functionTitle?: string): any;
13
+ static instantModelName(translate: TranslateService, model: ModelDescriptor<any>, singular?: boolean): string | null;
14
+ static getModelName(translate: TranslateService, model: ModelDescriptor<any>, oneTime?: boolean, singular?: boolean): Observable<string | null>;
15
+ static getModelNameKeys(model: ModelDescriptor<any>, singular?: boolean): string[];
16
+ private static selectKeyByPriority;
17
+ private static getFunctionTitle;
18
+ }
@@ -1,5 +1,5 @@
1
- export * from './editor-formly.util';
2
- export * from './i18n.util';
3
- export * from './model.util';
4
- export * from './toast.util';
5
- export * from './type.util';
1
+ export * from './editor-formly.util';
2
+ export * from './i18n.util';
3
+ export * from './model.util';
4
+ export * from './toast.util';
5
+ export * from './type.util';
@@ -1,7 +1,7 @@
1
- import { ClassType } from '../types';
2
- import { ILookupDescriptor } from '../descriptors';
3
- export declare class ModelUtil {
4
- static findIdAttribute<T>(classType: ClassType<T>): string | null;
5
- static findTitleAttribute<T>(classType: ClassType<T>): string | null;
6
- static trySetLookupItemsProperties<T>(lookup: ILookupDescriptor<T>): void;
7
- }
1
+ import { ClassType } from '../types';
2
+ import { ILookupDescriptor } from '../descriptors';
3
+ export declare class ModelUtil {
4
+ static findIdAttribute<T>(classType: ClassType<T>): string | null;
5
+ static findTitleAttribute<T>(classType: ClassType<T>): string | null;
6
+ static trySetLookupItemsProperties<T>(lookup: ILookupDescriptor<T>): void;
7
+ }
@@ -0,0 +1,4 @@
1
+ export declare class RouteUtil {
2
+ static removeEmptyPathSegments(path: Array<string>): string[];
3
+ static appendPathToBasePath(basePath: Array<string>, path: Array<string>): string[];
4
+ }
@@ -1,13 +1,13 @@
1
- import { TranslateService } from '@ngx-translate/core';
2
- import { ActionDescriptor, TableDescriptor } from '../descriptors';
3
- import { TableviewComponentService } from '../components/tableview/services';
4
- export declare class ToastUtil {
5
- static tableNotificationError(translationService: TranslateService, table: TableDescriptor<any>, error: any, tableview?: TableviewComponentService<any, any>): void;
6
- static actionNotificationSuccess(translationService: TranslateService, action: ActionDescriptor<any>, functionName: string, customTitleKey?: string, customMessageKey?: string, tableview?: TableviewComponentService<any, any>, item?: any): void;
7
- static actionNotificationError(translationService: TranslateService, action: ActionDescriptor<any>, error: any, functionName: string, tableview?: TableviewComponentService<any, any>, item?: any): void;
8
- static getFormEditorWarningMessage(translationService: TranslateService, title: string, message: string): {
9
- severity: string;
10
- summary: any;
11
- detail: any;
12
- };
13
- }
1
+ import { TranslateService } from '@ngx-translate/core';
2
+ import { ActionDescriptor, TableDescriptor } from '../descriptors';
3
+ import { TableviewComponentService } from '../components/tableview/services';
4
+ export declare class ToastUtil {
5
+ static tableNotificationError(translationService: TranslateService, table: TableDescriptor<any>, error: any, tableview?: TableviewComponentService<any, any>): void;
6
+ static actionNotificationSuccess(translationService: TranslateService, action: ActionDescriptor<any>, functionName: string, customTitleKey?: string, customMessageKey?: string, tableview?: TableviewComponentService<any, any>, item?: any): void;
7
+ static actionNotificationError(translationService: TranslateService, action: ActionDescriptor<any>, error: any, functionName: string, tableview?: TableviewComponentService<any, any>, item?: any): void;
8
+ static getFormEditorWarningMessage(translationService: TranslateService, title: string, message: string): {
9
+ severity: string;
10
+ summary: any;
11
+ detail: any;
12
+ };
13
+ }
@@ -1,15 +1,15 @@
1
- import 'reflect-metadata';
2
- import { ClassType } from '../types';
3
- export declare class TypeUtil {
4
- static defineReflectTypeName(targetType: ClassType<any>, typeName?: string): void;
5
- /**
6
- * Gets type name from either decorator or reflect metadata.
7
- * @param type Class.
8
- */
9
- static findTypeName(type: ClassType<any>): string;
10
- /**
11
- * Get value from decorator defined property name
12
- * @param type Class.
13
- */
14
- static getDecoratorTypeName(type: Function): string | undefined;
15
- }
1
+ import 'reflect-metadata';
2
+ import { ClassType } from '../types';
3
+ export declare class TypeUtil {
4
+ static defineReflectTypeName(targetType: ClassType<any>, typeName?: string): void;
5
+ /**
6
+ * Gets type name from either decorator or reflect metadata.
7
+ * @param type Class.
8
+ */
9
+ static findTypeName(type: ClassType<any>): string;
10
+ /**
11
+ * Get value from decorator defined property name
12
+ * @param type Class.
13
+ */
14
+ static getDecoratorTypeName(type: Function): string | undefined;
15
+ }
@@ -1,5 +1,5 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@mediusinc/mng-commons" />
5
- export * from './public-api';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@mediusinc/mng-commons" />
5
+ export * from './public-api';
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@mediusinc/mng-commons",
3
- "version": "0.2.0",
3
+ "version": "0.2.6",
4
4
  "peerDependencies": {
5
- "@angular/core": "^13.1.0",
6
5
  "@angular/common": "^13.1.0",
6
+ "@angular/core": "^13.1.0",
7
7
  "@angular/forms": "^13.1.0",
8
8
  "@angular/router": "^13.1.0",
9
9
  "@ngx-formly/core": "^6.0.0-next.6",
@@ -11,8 +11,8 @@
11
11
  "primeng": "^13.0.0"
12
12
  },
13
13
  "dependencies": {
14
- "tslib": "^2.3.0",
15
- "reflect-metadata": "^0.1.13"
14
+ "reflect-metadata": "^0.1.13",
15
+ "tslib": "^2.3.0"
16
16
  },
17
17
  "module": "fesm2015/mediusinc-mng-commons.mjs",
18
18
  "es2020": "fesm2020/mediusinc-mng-commons.mjs",
package/public-api.d.ts CHANGED
@@ -1,25 +1,26 @@
1
- export * from './lib/mng-commons.module';
2
- export * from './lib/api/services';
3
- export * from './lib/components/layout/services';
4
- export * from './lib/components/tableview/services';
5
- export * from './lib/services';
6
- export * from './lib/services/providers';
7
- export * from './lib/api/utils';
8
- export * from './lib/utils';
9
- export * from './lib/components/action';
10
- export * from './lib/components/form';
11
- export * from './lib/components/form/formly/fields';
12
- export * from './lib/components/form/formly/wrappers';
13
- export * from './lib/components/layout';
14
- export * from './lib/components/tableview';
15
- export * from './lib/directives';
16
- export * from './lib/pipes';
17
- export * from './lib/api/models';
18
- export * from './lib/components/action/models';
19
- export * from './lib/components/form/models';
20
- export * from './lib/config/models';
21
- export * from './lib/config';
22
- export * from './lib/data-providers';
23
- export * from './lib/descriptors';
24
- export * from './lib/models';
25
- export * from './lib/types';
1
+ export * from './lib/mng-commons.module';
2
+ export * from './lib/api/services';
3
+ export * from './lib/components/layout/services';
4
+ export * from './lib/components/tableview/services';
5
+ export * from './lib/services';
6
+ export * from './lib/services/providers';
7
+ export * from './lib/api/utils';
8
+ export * from './lib/utils';
9
+ export * from './lib/components/action';
10
+ export * from './lib/components/form';
11
+ export * from './lib/components/form/formly/fields';
12
+ export * from './lib/components/form/formly/wrappers';
13
+ export * from './lib/components/layout';
14
+ export * from './lib/components/tableview';
15
+ export * from './lib/directives';
16
+ export * from './lib/pipes';
17
+ export * from './lib/api/models';
18
+ export * from './lib/components/action/models';
19
+ export * from './lib/components/form/models';
20
+ export * from './lib/config/models';
21
+ export * from './lib/config';
22
+ export * from './lib/data-providers';
23
+ export * from './lib/descriptors';
24
+ export * from './lib/models';
25
+ export * from './lib/router';
26
+ export * from './lib/types';
@@ -77,7 +77,7 @@
77
77
  max-width: 320px;
78
78
  }
79
79
 
80
- button {
80
+ p-button {
81
81
  margin-top: 50px;
82
82
  }
83
83
  }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGVyLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbW5nLWNvbW1vbnMvc3JjL2xpYi9tb2RlbHMvcm91dGVyLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0FjdGl2YXRlZFJvdXRlU25hcHNob3QsIERhdGF9IGZyb20gJ0Bhbmd1bGFyL3JvdXRlcic7XG5pbXBvcnQge01lbnVJdGVtfSBmcm9tICdwcmltZW5nL2FwaSc7XG5pbXBvcnQge1R5cGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5leHBvcnQgaW50ZXJmYWNlIE1uZ0JyZWFkY3J1bWJNZW51SXRlbSBleHRlbmRzIE1lbnVJdGVtIHtcbiAgICBpc0hvbWU/OiBib29sZWFuO1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIE1uZ1JvdXRlckRhdGEgZXh0ZW5kcyBEYXRhIHtcbiAgICBicmVhZGNydW1iPzogc3RyaW5nfHN0cmluZ1tdfE1uZ0JyZWFkY3J1bWJNZW51SXRlbXxNbmdCcmVhZGNydW1iTWVudUl0ZW1bXXwoKHJvdXRlVXJsOiBzdHJpbmcsIHJvdXRlOiBBY3RpdmF0ZWRSb3V0ZVNuYXBzaG90KSA9PiBNbmdCcmVhZGNydW1iTWVudUl0ZW1bXSk7XG4gICAgcGFnZVRpdGxlPzogc3RyaW5nO1xuICAgIHRvcGJhckNvbXBvbmVudD86IFR5cGU8YW55PjtcbiAgICBicmVhZGNydW1iQ29tcG9uZW50PzogVHlwZTxhbnk+O1xuICAgIG1lbnVDb21wb25lbnQ/OiBUeXBlPGFueT47XG4gICAgZm9vdGVyQ29tcG9uZW50PzogVHlwZTxhbnk+O1xufVxuIl19
@@ -1,14 +0,0 @@
1
- import { ActivatedRouteSnapshot, Data } from '@angular/router';
2
- import { MenuItem } from 'primeng/api';
3
- import { Type } from '@angular/core';
4
- export interface MngBreadcrumbMenuItem extends MenuItem {
5
- isHome?: boolean;
6
- }
7
- export interface MngRouterData extends Data {
8
- breadcrumb?: string | string[] | MngBreadcrumbMenuItem | MngBreadcrumbMenuItem[] | ((routeUrl: string, route: ActivatedRouteSnapshot) => MngBreadcrumbMenuItem[]);
9
- pageTitle?: string;
10
- topbarComponent?: Type<any>;
11
- breadcrumbComponent?: Type<any>;
12
- menuComponent?: Type<any>;
13
- footerComponent?: Type<any>;
14
- }
Binary file