info-library 2.15.1-beta → 3.0.0-beta

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 (184) hide show
  1. package/controls/alert/alert.component.d.ts +7 -7
  2. package/controls/autocomplete/autocomplete.component.d.ts +52 -51
  3. package/controls/big-checkbox/big-checkbox.component.d.ts +41 -41
  4. package/controls/card/card.component.d.ts +16 -16
  5. package/controls/card-menu/card-menu.component.d.ts +23 -23
  6. package/controls/checkbox/checkbox.component.d.ts +27 -27
  7. package/controls/chips/chips.component.d.ts +23 -23
  8. package/controls/date/date.component.d.ts +38 -37
  9. package/controls/date-month/date-month.component.d.ts +40 -39
  10. package/controls/editor/editor.component.d.ts +40 -40
  11. package/controls/grid/grid.component.d.ts +172 -172
  12. package/controls/input/input.component.d.ts +47 -37
  13. package/controls/input-list/input-list.component.d.ts +29 -29
  14. package/controls/list-checkbox/list-checkbox.component.d.ts +26 -26
  15. package/controls/message/message.component.d.ts +10 -10
  16. package/controls/multi-select/multi-select.component.d.ts +39 -37
  17. package/controls/paginator/paginator.component.d.ts +25 -25
  18. package/controls/select/select.component.d.ts +42 -41
  19. package/controls/timeline/timeline.component.d.ts +17 -17
  20. package/directives/mask.directive.d.ts +24 -24
  21. package/directives/unmask.directive.d.ts +12 -11
  22. package/enum/dialog-buttons.enum.d.ts +7 -7
  23. package/enum/index.d.ts +3 -3
  24. package/enum/modal-action.enum.d.ts +10 -10
  25. package/enum/page-action.enum.d.ts +8 -8
  26. package/esm2022/controls/alert/alert.component.mjs +72 -0
  27. package/esm2022/controls/autocomplete/autocomplete.component.mjs +265 -0
  28. package/esm2022/controls/big-checkbox/big-checkbox.component.mjs +300 -0
  29. package/esm2022/controls/card/card.component.mjs +83 -0
  30. package/esm2022/controls/card-menu/card-menu.component.mjs +143 -0
  31. package/esm2022/controls/checkbox/checkbox.component.mjs +93 -0
  32. package/esm2022/controls/chips/chips.component.mjs +114 -0
  33. package/esm2022/controls/date/date.component.mjs +173 -0
  34. package/esm2022/controls/date-month/date-month.component.mjs +181 -0
  35. package/esm2022/controls/editor/editor.component.mjs +139 -0
  36. package/esm2022/controls/grid/grid.component.mjs +1818 -0
  37. package/esm2022/controls/input/input.component.mjs +389 -0
  38. package/esm2022/controls/input-list/input-list.component.mjs +259 -0
  39. package/{esm2020 → esm2022}/controls/list-checkbox/list-checkbox.component.mjs +242 -238
  40. package/esm2022/controls/message/message.component.mjs +48 -0
  41. package/esm2022/controls/multi-select/multi-select.component.mjs +174 -0
  42. package/esm2022/controls/paginator/paginator.component.mjs +177 -0
  43. package/esm2022/controls/select/select.component.mjs +189 -0
  44. package/esm2022/controls/timeline/timeline.component.mjs +116 -0
  45. package/esm2022/directives/mask.directive.mjs +134 -0
  46. package/esm2022/directives/unmask.directive.mjs +35 -0
  47. package/{esm2020 → esm2022}/enum/dialog-buttons.enum.mjs +8 -8
  48. package/{esm2020 → esm2022}/enum/index.mjs +3 -3
  49. package/{esm2020 → esm2022}/enum/modal-action.enum.mjs +11 -11
  50. package/{esm2020 → esm2022}/enum/page-action.enum.mjs +9 -9
  51. package/{esm2020 → esm2022}/global-config.mjs +3 -3
  52. package/{esm2020 → esm2022}/info-library.mjs +4 -4
  53. package/esm2022/info-library.module.mjs +283 -0
  54. package/esm2022/layouts/dialog/dialog.component.mjs +192 -0
  55. package/esm2022/layouts/filter/filter.component.mjs +179 -0
  56. package/esm2022/layouts/loading/loading.component.mjs +40 -0
  57. package/esm2022/layouts/main/main.component.mjs +305 -0
  58. package/esm2022/layouts/modal/modal.component.mjs +273 -0
  59. package/esm2022/layouts/pagebar/pagebar.component.mjs +432 -0
  60. package/esm2022/layouts/sidebar/sidebar.component.mjs +447 -0
  61. package/esm2022/layouts/topbar/topbar.component.mjs +1032 -0
  62. package/esm2022/layouts/topmenu/topmenu.component.mjs +173 -0
  63. package/esm2022/model/app-config.model.mjs +14 -0
  64. package/esm2022/model/data-access.model.mjs +37 -0
  65. package/esm2022/model/dialog-result.model.mjs +9 -0
  66. package/esm2022/model/dialog.model.mjs +15 -0
  67. package/esm2022/model/form-prop.model.mjs +37 -0
  68. package/esm2022/model/grid-button.model.mjs +26 -0
  69. package/{esm2020 → esm2022}/model/index.mjs +14 -14
  70. package/esm2022/model/last-search.model.mjs +7 -0
  71. package/esm2022/model/login.model.mjs +11 -0
  72. package/esm2022/model/method-grid-button.model.mjs +11 -0
  73. package/esm2022/model/notification.model.mjs +13 -0
  74. package/{esm2020 → esm2022}/model/pagebar-buttons.model.mjs +15 -15
  75. package/esm2022/model/permission.model.mjs +6 -0
  76. package/esm2022/model/platform.model.mjs +20 -0
  77. package/esm2022/model/session.model.mjs +27 -0
  78. package/{esm2020 → esm2022}/pipe/index.mjs +2 -2
  79. package/esm2022/pipe/mask.pipe.mjs +38 -0
  80. package/esm2022/pipe/translate.pipe.mjs +27 -0
  81. package/{esm2020 → esm2022}/public_api.mjs +37 -36
  82. package/esm2022/service/authentication.service.mjs +411 -0
  83. package/esm2022/service/configuration.service.mjs +90 -0
  84. package/esm2022/service/data.service.mjs +129 -0
  85. package/{esm2020 → esm2022}/service/index.mjs +5 -5
  86. package/esm2022/service/theme.service.mjs +89 -0
  87. package/esm2022/service/translate.service.mjs +57 -0
  88. package/esm2022/utils/utilities.mjs +189 -0
  89. package/fesm2022/info-library.mjs +9364 -0
  90. package/fesm2022/info-library.mjs.map +1 -0
  91. package/global-config.d.ts +3 -3
  92. package/index.d.ts +5 -5
  93. package/info-library-3.0.0-beta.tgz +0 -0
  94. package/info-library.module.d.ts +61 -60
  95. package/layouts/dialog/dialog.component.d.ts +29 -29
  96. package/layouts/filter/filter.component.d.ts +24 -0
  97. package/layouts/loading/loading.component.d.ts +8 -8
  98. package/layouts/main/main.component.d.ts +60 -56
  99. package/layouts/modal/modal.component.d.ts +40 -39
  100. package/layouts/pagebar/pagebar.component.d.ts +45 -45
  101. package/layouts/sidebar/sidebar.component.d.ts +40 -40
  102. package/layouts/topbar/topbar.component.d.ts +69 -66
  103. package/layouts/topmenu/topmenu.component.d.ts +34 -34
  104. package/model/app-config.model.d.ts +13 -11
  105. package/model/data-access.model.d.ts +12 -12
  106. package/model/dialog-result.model.d.ts +6 -6
  107. package/model/dialog.model.d.ts +14 -14
  108. package/model/form-prop.model.d.ts +12 -12
  109. package/model/grid-button.model.d.ts +18 -18
  110. package/model/index.d.ts +14 -14
  111. package/model/last-search.model.d.ts +6 -6
  112. package/model/login.model.d.ts +6 -6
  113. package/model/method-grid-button.model.d.ts +6 -6
  114. package/model/notification.model.d.ts +12 -12
  115. package/model/pagebar-buttons.model.d.ts +10 -10
  116. package/model/permission.model.d.ts +5 -5
  117. package/model/platform.model.d.ts +16 -16
  118. package/model/session.model.d.ts +27 -22
  119. package/package.json +5 -11
  120. package/pipe/index.d.ts +2 -2
  121. package/pipe/mask.pipe.d.ts +8 -8
  122. package/pipe/translate.pipe.d.ts +10 -10
  123. package/public_api.d.ts +34 -33
  124. package/service/authentication.service.d.ts +63 -61
  125. package/service/configuration.service.d.ts +17 -14
  126. package/service/data.service.d.ts +41 -39
  127. package/service/index.d.ts +5 -5
  128. package/service/theme.service.d.ts +16 -16
  129. package/service/translate.service.d.ts +16 -16
  130. package/utils/utilities.d.ts +38 -27
  131. package/esm2020/controls/alert/alert.component.mjs +0 -74
  132. package/esm2020/controls/autocomplete/autocomplete.component.mjs +0 -258
  133. package/esm2020/controls/big-checkbox/big-checkbox.component.mjs +0 -298
  134. package/esm2020/controls/card/card.component.mjs +0 -77
  135. package/esm2020/controls/card-menu/card-menu.component.mjs +0 -145
  136. package/esm2020/controls/checkbox/checkbox.component.mjs +0 -93
  137. package/esm2020/controls/chips/chips.component.mjs +0 -113
  138. package/esm2020/controls/date/date.component.mjs +0 -141
  139. package/esm2020/controls/date-month/date-month.component.mjs +0 -148
  140. package/esm2020/controls/editor/editor.component.mjs +0 -135
  141. package/esm2020/controls/grid/grid.component.mjs +0 -1800
  142. package/esm2020/controls/input/input.component.mjs +0 -314
  143. package/esm2020/controls/input-list/input-list.component.mjs +0 -258
  144. package/esm2020/controls/message/message.component.mjs +0 -50
  145. package/esm2020/controls/multi-select/multi-select.component.mjs +0 -161
  146. package/esm2020/controls/paginator/paginator.component.mjs +0 -178
  147. package/esm2020/controls/select/select.component.mjs +0 -180
  148. package/esm2020/controls/timeline/timeline.component.mjs +0 -117
  149. package/esm2020/directives/mask.directive.mjs +0 -125
  150. package/esm2020/directives/unmask.directive.mjs +0 -28
  151. package/esm2020/info-library.module.mjs +0 -278
  152. package/esm2020/layouts/dialog/dialog.component.mjs +0 -188
  153. package/esm2020/layouts/loading/loading.component.mjs +0 -42
  154. package/esm2020/layouts/main/main.component.mjs +0 -258
  155. package/esm2020/layouts/modal/modal.component.mjs +0 -258
  156. package/esm2020/layouts/pagebar/pagebar.component.mjs +0 -404
  157. package/esm2020/layouts/sidebar/sidebar.component.mjs +0 -395
  158. package/esm2020/layouts/topbar/topbar.component.mjs +0 -868
  159. package/esm2020/layouts/topmenu/topmenu.component.mjs +0 -165
  160. package/esm2020/model/app-config.model.mjs +0 -14
  161. package/esm2020/model/data-access.model.mjs +0 -35
  162. package/esm2020/model/dialog-result.model.mjs +0 -8
  163. package/esm2020/model/dialog.model.mjs +0 -16
  164. package/esm2020/model/form-prop.model.mjs +0 -35
  165. package/esm2020/model/grid-button.model.mjs +0 -21
  166. package/esm2020/model/last-search.model.mjs +0 -9
  167. package/esm2020/model/login.model.mjs +0 -9
  168. package/esm2020/model/method-grid-button.model.mjs +0 -9
  169. package/esm2020/model/notification.model.mjs +0 -9
  170. package/esm2020/model/permission.model.mjs +0 -3
  171. package/esm2020/model/platform.model.mjs +0 -21
  172. package/esm2020/model/session.model.mjs +0 -8
  173. package/esm2020/pipe/mask.pipe.mjs +0 -34
  174. package/esm2020/pipe/translate.pipe.mjs +0 -26
  175. package/esm2020/service/authentication.service.mjs +0 -358
  176. package/esm2020/service/configuration.service.mjs +0 -59
  177. package/esm2020/service/data.service.mjs +0 -112
  178. package/esm2020/service/theme.service.mjs +0 -79
  179. package/esm2020/service/translate.service.mjs +0 -53
  180. package/esm2020/utils/utilities.mjs +0 -142
  181. package/fesm2015/info-library.mjs +0 -9312
  182. package/fesm2015/info-library.mjs.map +0 -1
  183. package/fesm2020/info-library.mjs +0 -8462
  184. package/fesm2020/info-library.mjs.map +0 -1
@@ -1,395 +0,0 @@
1
- import { Component, ElementRef, EventEmitter, Input, Output, Renderer2 } from '@angular/core';
2
- import { InfoDataService } from '../../service/data.service';
3
- import { InfoAuthenticationService } from '../../service/authentication.service';
4
- import { InfoThemeService } from '../../service/theme.service';
5
- import { InfoLastSearchModel } from '../../model/last-search.model';
6
- import { InfoSessionModel } from '../../model/session.model';
7
- import { InfoPlatformModel } from '../../model/platform.model';
8
- import { NavigationStart, Router } from '@angular/router';
9
- import * as i0 from "@angular/core";
10
- import * as i1 from "../../service/data.service";
11
- import * as i2 from "../../service/authentication.service";
12
- import * as i3 from "../../service/theme.service";
13
- import * as i4 from "../../model/session.model";
14
- import * as i5 from "../../model/platform.model";
15
- import * as i6 from "../../model/last-search.model";
16
- import * as i7 from "@angular/router";
17
- import * as i8 from "@angular/common";
18
- import * as i9 from "@angular/material/icon";
19
- import * as i10 from "@angular/material/progress-bar";
20
- import * as i11 from "@angular/material/tooltip";
21
- import * as i12 from "../../pipe/translate.pipe";
22
- function InfoSidebarComponent_ng_container_0_ul_7_li_1_a_1_Template(rf, ctx) { if (rf & 1) {
23
- const _r10 = i0.ɵɵgetCurrentView();
24
- i0.ɵɵelementStart(0, "a", 10);
25
- i0.ɵɵlistener("click", function InfoSidebarComponent_ng_container_0_ul_7_li_1_a_1_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r10); const _r7 = i0.ɵɵreference(2); const m_r4 = i0.ɵɵnextContext().$implicit; const ctx_r8 = i0.ɵɵnextContext(3); ctx_r8.access(m_r4.Title); return i0.ɵɵresetView(_r7.hide()); });
26
- i0.ɵɵelementStart(1, "mat-icon", 11, 12);
27
- i0.ɵɵpipe(3, "translate");
28
- i0.ɵɵtext(4);
29
- i0.ɵɵelementEnd();
30
- i0.ɵɵelementStart(5, "label", 13);
31
- i0.ɵɵtext(6);
32
- i0.ɵɵpipe(7, "translate");
33
- i0.ɵɵelementEnd()();
34
- } if (rf & 2) {
35
- const m_r4 = i0.ɵɵnextContext().$implicit;
36
- const ctx_r5 = i0.ɵɵnextContext(3);
37
- i0.ɵɵproperty("routerLink", m_r4.Routing);
38
- i0.ɵɵadvance(1);
39
- i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(3, 6, m_r4.Title))("matTooltipDisabled", !ctx_r5._platform.MenuMin)("matTooltipShowDelay", 600);
40
- i0.ɵɵadvance(3);
41
- i0.ɵɵtextInterpolate(m_r4.Icon);
42
- i0.ɵɵadvance(2);
43
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 8, m_r4.Title));
44
- } }
45
- function InfoSidebarComponent_ng_container_0_ul_7_li_1_ng_container_2_li_14_Template(rf, ctx) { if (rf & 1) {
46
- const _r16 = i0.ɵɵgetCurrentView();
47
- i0.ɵɵelementStart(0, "li")(1, "a", 10);
48
- i0.ɵɵlistener("click", function InfoSidebarComponent_ng_container_0_ul_7_li_1_ng_container_2_li_14_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r16); const m_r4 = i0.ɵɵnextContext(2).$implicit; const ctx_r15 = i0.ɵɵnextContext(3); ctx_r15.changeSidebar(); return i0.ɵɵresetView(ctx_r15.access(m_r4.Title)); });
49
- i0.ɵɵtext(2);
50
- i0.ɵɵpipe(3, "translate");
51
- i0.ɵɵelementEnd()();
52
- } if (rf & 2) {
53
- const s_r14 = ctx.$implicit;
54
- i0.ɵɵadvance(1);
55
- i0.ɵɵproperty("routerLink", s_r14.Routing);
56
- i0.ɵɵadvance(1);
57
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, s_r14.Title));
58
- } }
59
- function InfoSidebarComponent_ng_container_0_ul_7_li_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
60
- const _r20 = i0.ɵɵgetCurrentView();
61
- i0.ɵɵelementContainerStart(0);
62
- i0.ɵɵelementStart(1, "a", 14);
63
- i0.ɵɵlistener("click", function InfoSidebarComponent_ng_container_0_ul_7_li_1_ng_container_2_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r20); const _r12 = i0.ɵɵreference(3); const m_r4 = i0.ɵɵnextContext().$implicit; const ctx_r18 = i0.ɵɵnextContext(3); ctx_r18.toggleSubmenu(m_r4.Title); return i0.ɵɵresetView(_r12.hide()); });
64
- i0.ɵɵelementStart(2, "mat-icon", 11, 12);
65
- i0.ɵɵpipe(4, "translate");
66
- i0.ɵɵtext(5);
67
- i0.ɵɵelementEnd();
68
- i0.ɵɵelementStart(6, "label", 13);
69
- i0.ɵɵtext(7);
70
- i0.ɵɵpipe(8, "translate");
71
- i0.ɵɵelementEnd()();
72
- i0.ɵɵelementStart(9, "div", 15)(10, "h4");
73
- i0.ɵɵtext(11);
74
- i0.ɵɵpipe(12, "translate");
75
- i0.ɵɵelementEnd();
76
- i0.ɵɵelementStart(13, "ul");
77
- i0.ɵɵtemplate(14, InfoSidebarComponent_ng_container_0_ul_7_li_1_ng_container_2_li_14_Template, 4, 4, "li", 16);
78
- i0.ɵɵelementEnd()();
79
- i0.ɵɵelementContainerEnd();
80
- } if (rf & 2) {
81
- const m_r4 = i0.ɵɵnextContext().$implicit;
82
- const ctx_r6 = i0.ɵɵnextContext(3);
83
- i0.ɵɵadvance(2);
84
- i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(4, 7, m_r4.Title))("matTooltipDisabled", !ctx_r6._platform.MenuMin)("matTooltipShowDelay", 600);
85
- i0.ɵɵadvance(3);
86
- i0.ɵɵtextInterpolate(m_r4.Icon);
87
- i0.ɵɵadvance(2);
88
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 9, m_r4.Title));
89
- i0.ɵɵadvance(4);
90
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(12, 11, m_r4.Title));
91
- i0.ɵɵadvance(3);
92
- i0.ɵɵproperty("ngForOf", m_r4.Sub);
93
- } }
94
- const _c0 = function (a0, a1, a2) { return { "active": a0, "disabled": a1, "opened": a2 }; };
95
- function InfoSidebarComponent_ng_container_0_ul_7_li_1_Template(rf, ctx) { if (rf & 1) {
96
- i0.ɵɵelementStart(0, "li", 8);
97
- i0.ɵɵtemplate(1, InfoSidebarComponent_ng_container_0_ul_7_li_1_a_1_Template, 8, 10, "a", 9);
98
- i0.ɵɵtemplate(2, InfoSidebarComponent_ng_container_0_ul_7_li_1_ng_container_2_Template, 15, 13, "ng-container", 0);
99
- i0.ɵɵelementEnd();
100
- } if (rf & 2) {
101
- const m_r4 = ctx.$implicit;
102
- const ctx_r3 = i0.ɵɵnextContext(3);
103
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(3, _c0, ctx_r3.menuAtivo == m_r4.Title, !m_r4.Enabled, ctx_r3.openSubmenu == m_r4.Title));
104
- i0.ɵɵadvance(1);
105
- i0.ɵɵproperty("ngIf", m_r4.Sub == null);
106
- i0.ɵɵadvance(1);
107
- i0.ɵɵproperty("ngIf", m_r4.Sub != null);
108
- } }
109
- function InfoSidebarComponent_ng_container_0_ul_7_Template(rf, ctx) { if (rf & 1) {
110
- i0.ɵɵelementStart(0, "ul");
111
- i0.ɵɵtemplate(1, InfoSidebarComponent_ng_container_0_ul_7_li_1_Template, 3, 7, "li", 7);
112
- i0.ɵɵelementEnd();
113
- } if (rf & 2) {
114
- const ctx_r2 = i0.ɵɵnextContext(2);
115
- i0.ɵɵadvance(1);
116
- i0.ɵɵproperty("ngForOf", ctx_r2.menu);
117
- } }
118
- const _c1 = function (a0) { return { "opened": a0 }; };
119
- const _c2 = function (a0) { return { "min": a0 }; };
120
- function InfoSidebarComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
121
- const _r23 = i0.ɵɵgetCurrentView();
122
- i0.ɵɵelementContainerStart(0);
123
- i0.ɵɵelementStart(1, "div", 2)(2, "nav")(3, "div", 3)(4, "a", 4);
124
- i0.ɵɵlistener("click", function InfoSidebarComponent_ng_container_0_Template_a_click_4_listener() { i0.ɵɵrestoreView(_r23); const ctx_r22 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r22.toggleSidebar()); });
125
- i0.ɵɵelementStart(5, "mat-icon", 5);
126
- i0.ɵɵtext(6, "chevron_right");
127
- i0.ɵɵelementEnd()();
128
- i0.ɵɵtemplate(7, InfoSidebarComponent_ng_container_0_ul_7_Template, 2, 1, "ul", 0);
129
- i0.ɵɵelementEnd()();
130
- i0.ɵɵelementStart(8, "div", 6);
131
- i0.ɵɵlistener("click", function InfoSidebarComponent_ng_container_0_Template_div_click_8_listener() { i0.ɵɵrestoreView(_r23); const ctx_r24 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r24.openSubmenu = ""); });
132
- i0.ɵɵelementEnd()();
133
- i0.ɵɵelementContainerEnd();
134
- } if (rf & 2) {
135
- const ctx_r0 = i0.ɵɵnextContext();
136
- i0.ɵɵadvance(1);
137
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c1, ctx_r0.openSubmenu));
138
- i0.ɵɵadvance(4);
139
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c2, ctx_r0._platform.MenuMin));
140
- i0.ɵɵadvance(2);
141
- i0.ɵɵproperty("ngIf", ctx_r0.menu);
142
- } }
143
- function InfoSidebarComponent_ng_container_1_section_12_Template(rf, ctx) { if (rf & 1) {
144
- i0.ɵɵelementStart(0, "section", 23);
145
- i0.ɵɵelement(1, "mat-progress-bar", 24);
146
- i0.ɵɵelementEnd();
147
- } }
148
- function InfoSidebarComponent_ng_container_1_ul_13_li_1_span_1_Template(rf, ctx) { if (rf & 1) {
149
- i0.ɵɵelementStart(0, "span", 30);
150
- i0.ɵɵtext(1);
151
- i0.ɵɵelementEnd();
152
- } if (rf & 2) {
153
- const m_r28 = i0.ɵɵnextContext().$implicit;
154
- i0.ɵɵadvance(1);
155
- i0.ɵɵtextInterpolate1("", m_r28.Title, " ");
156
- } }
157
- function InfoSidebarComponent_ng_container_1_ul_13_li_1_a_2_Template(rf, ctx) { if (rf & 1) {
158
- const _r37 = i0.ɵɵgetCurrentView();
159
- i0.ɵɵelementStart(0, "a", 31);
160
- i0.ɵɵlistener("click", function InfoSidebarComponent_ng_container_1_ul_13_li_1_a_2_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r37); const m_r28 = i0.ɵɵnextContext().$implicit; const ctx_r35 = i0.ɵɵnextContext(3); ctx_r35.toggle($event, m_r28); return i0.ɵɵresetView(ctx_r35.resetLastSearch()); });
161
- i0.ɵɵelementStart(1, "mat-icon");
162
- i0.ɵɵtext(2);
163
- i0.ɵɵelementEnd();
164
- i0.ɵɵtext(3);
165
- i0.ɵɵpipe(4, "translate");
166
- i0.ɵɵelementEnd();
167
- } if (rf & 2) {
168
- const m_r28 = i0.ɵɵnextContext().$implicit;
169
- i0.ɵɵproperty("routerLink", m_r28.Routing);
170
- i0.ɵɵadvance(2);
171
- i0.ɵɵtextInterpolate(m_r28.Icon);
172
- i0.ɵɵadvance(1);
173
- i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(4, 3, m_r28.Title), " ");
174
- } }
175
- function InfoSidebarComponent_ng_container_1_ul_13_li_1_a_3_Template(rf, ctx) { if (rf & 1) {
176
- i0.ɵɵelementStart(0, "a", 32)(1, "mat-icon");
177
- i0.ɵɵtext(2);
178
- i0.ɵɵelementEnd();
179
- i0.ɵɵtext(3);
180
- i0.ɵɵpipe(4, "translate");
181
- i0.ɵɵelementEnd();
182
- } if (rf & 2) {
183
- const m_r28 = i0.ɵɵnextContext().$implicit;
184
- i0.ɵɵadvance(2);
185
- i0.ɵɵtextInterpolate(m_r28.Icon);
186
- i0.ɵɵadvance(1);
187
- i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(4, 2, m_r28.Title), " ");
188
- } }
189
- function InfoSidebarComponent_ng_container_1_ul_13_li_1_a_4_i_5_Template(rf, ctx) { if (rf & 1) {
190
- i0.ɵɵelement(0, "i", 36);
191
- } }
192
- function InfoSidebarComponent_ng_container_1_ul_13_li_1_a_4_Template(rf, ctx) { if (rf & 1) {
193
- const _r43 = i0.ɵɵgetCurrentView();
194
- i0.ɵɵelementStart(0, "a", 33);
195
- i0.ɵɵlistener("click", function InfoSidebarComponent_ng_container_1_ul_13_li_1_a_4_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r43); const m_r28 = i0.ɵɵnextContext().$implicit; const ctx_r41 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r41.toggle($event, m_r28)); });
196
- i0.ɵɵelementStart(1, "mat-icon", 34);
197
- i0.ɵɵtext(2);
198
- i0.ɵɵelementEnd();
199
- i0.ɵɵtext(3);
200
- i0.ɵɵpipe(4, "translate");
201
- i0.ɵɵtemplate(5, InfoSidebarComponent_ng_container_1_ul_13_li_1_a_4_i_5_Template, 1, 0, "i", 35);
202
- i0.ɵɵelementEnd();
203
- } if (rf & 2) {
204
- const m_r28 = i0.ɵɵnextContext().$implicit;
205
- i0.ɵɵadvance(2);
206
- i0.ɵɵtextInterpolate(m_r28.Icon);
207
- i0.ɵɵadvance(1);
208
- i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(4, 3, m_r28.Title), " ");
209
- i0.ɵɵadvance(2);
210
- i0.ɵɵproperty("ngIf", m_r28.Sub);
211
- } }
212
- function InfoSidebarComponent_ng_container_1_ul_13_li_1_ul_5_li_1_Template(rf, ctx) { if (rf & 1) {
213
- const _r48 = i0.ɵɵgetCurrentView();
214
- i0.ɵɵelementStart(0, "li", 39)(1, "a", 10);
215
- i0.ɵɵlistener("click", function InfoSidebarComponent_ng_container_1_ul_13_li_1_ul_5_li_1_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r48); const ctx_r47 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r47.resetLastSearch()); });
216
- i0.ɵɵtext(2);
217
- i0.ɵɵpipe(3, "translate");
218
- i0.ɵɵelementEnd()();
219
- } if (rf & 2) {
220
- const s_r46 = ctx.$implicit;
221
- i0.ɵɵadvance(1);
222
- i0.ɵɵproperty("routerLink", s_r46.Routing);
223
- i0.ɵɵadvance(1);
224
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, s_r46.Title));
225
- } }
226
- function InfoSidebarComponent_ng_container_1_ul_13_li_1_ul_5_Template(rf, ctx) { if (rf & 1) {
227
- i0.ɵɵelementStart(0, "ul", 37);
228
- i0.ɵɵtemplate(1, InfoSidebarComponent_ng_container_1_ul_13_li_1_ul_5_li_1_Template, 4, 4, "li", 38);
229
- i0.ɵɵelementEnd();
230
- } if (rf & 2) {
231
- const m_r28 = i0.ɵɵnextContext().$implicit;
232
- i0.ɵɵadvance(1);
233
- i0.ɵɵproperty("ngForOf", m_r28.Sub);
234
- } }
235
- const _c3 = function (a0, a1, a2, a3) { return { "has-sub": a0, "active": a1, "menu-item-group": a2, "disabled": a3 }; };
236
- function InfoSidebarComponent_ng_container_1_ul_13_li_1_Template(rf, ctx) { if (rf & 1) {
237
- i0.ɵɵelementStart(0, "li", 8);
238
- i0.ɵɵtemplate(1, InfoSidebarComponent_ng_container_1_ul_13_li_1_span_1_Template, 2, 1, "span", 25);
239
- i0.ɵɵtemplate(2, InfoSidebarComponent_ng_container_1_ul_13_li_1_a_2_Template, 5, 5, "a", 26);
240
- i0.ɵɵtemplate(3, InfoSidebarComponent_ng_container_1_ul_13_li_1_a_3_Template, 5, 4, "a", 27);
241
- i0.ɵɵtemplate(4, InfoSidebarComponent_ng_container_1_ul_13_li_1_a_4_Template, 6, 5, "a", 28);
242
- i0.ɵɵtemplate(5, InfoSidebarComponent_ng_container_1_ul_13_li_1_ul_5_Template, 2, 1, "ul", 29);
243
- i0.ɵɵelementEnd();
244
- } if (rf & 2) {
245
- const m_r28 = ctx.$implicit;
246
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction4(6, _c3, m_r28.Sub != null, m_r28.Active, m_r28.Group, !m_r28.Enabled));
247
- i0.ɵɵadvance(1);
248
- i0.ɵɵproperty("ngIf", m_r28.Group);
249
- i0.ɵɵadvance(1);
250
- i0.ɵɵproperty("ngIf", !m_r28.Group && m_r28.Sub == null && m_r28.Enabled);
251
- i0.ɵɵadvance(1);
252
- i0.ɵɵproperty("ngIf", !m_r28.Group && m_r28.Sub == null && !m_r28.Enabled);
253
- i0.ɵɵadvance(1);
254
- i0.ɵɵproperty("ngIf", !m_r28.Group && m_r28.Sub != null);
255
- i0.ɵɵadvance(1);
256
- i0.ɵɵproperty("ngIf", !m_r28.Group && m_r28.Sub != null);
257
- } }
258
- function InfoSidebarComponent_ng_container_1_ul_13_Template(rf, ctx) { if (rf & 1) {
259
- i0.ɵɵelementStart(0, "ul");
260
- i0.ɵɵtemplate(1, InfoSidebarComponent_ng_container_1_ul_13_li_1_Template, 6, 11, "li", 7);
261
- i0.ɵɵelementEnd();
262
- } if (rf & 2) {
263
- const ctx_r26 = i0.ɵɵnextContext(2);
264
- i0.ɵɵadvance(1);
265
- i0.ɵɵproperty("ngForOf", ctx_r26.menu);
266
- } }
267
- function InfoSidebarComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
268
- i0.ɵɵelementContainerStart(0);
269
- i0.ɵɵelementStart(1, "div", 17)(2, "div", 18)(3, "a", 19);
270
- i0.ɵɵelement(4, "i", 20);
271
- i0.ɵɵelementEnd()();
272
- i0.ɵɵelementStart(5, "div", 21)(6, "span");
273
- i0.ɵɵtext(7);
274
- i0.ɵɵelementEnd();
275
- i0.ɵɵelementStart(8, "small");
276
- i0.ɵɵtext(9);
277
- i0.ɵɵelementEnd()();
278
- i0.ɵɵelementStart(10, "nav")(11, "div", 3);
279
- i0.ɵɵtemplate(12, InfoSidebarComponent_ng_container_1_section_12_Template, 2, 0, "section", 22);
280
- i0.ɵɵtemplate(13, InfoSidebarComponent_ng_container_1_ul_13_Template, 2, 1, "ul", 0);
281
- i0.ɵɵelementEnd()()();
282
- i0.ɵɵelementContainerEnd();
283
- } if (rf & 2) {
284
- const ctx_r1 = i0.ɵɵnextContext();
285
- i0.ɵɵadvance(7);
286
- i0.ɵɵtextInterpolate(ctx_r1._session.Usuario);
287
- i0.ɵɵadvance(2);
288
- i0.ɵɵtextInterpolate(ctx_r1._session.Perfil);
289
- i0.ɵɵadvance(3);
290
- i0.ɵɵproperty("ngIf", ctx_r1.loading);
291
- i0.ɵɵadvance(1);
292
- i0.ɵɵproperty("ngIf", ctx_r1.menu);
293
- } }
294
- export class InfoSidebarComponent {
295
- constructor(_dataAcessService, _authentication, _themeService, _session, _platform, _lastSearch, _router, _renderer, _element) {
296
- this._dataAcessService = _dataAcessService;
297
- this._authentication = _authentication;
298
- this._themeService = _themeService;
299
- this._session = _session;
300
- this._platform = _platform;
301
- this._lastSearch = _lastSearch;
302
- this._router = _router;
303
- this._renderer = _renderer;
304
- this._element = _element;
305
- this.api = null;
306
- this.method = 'GetMenu';
307
- this.activemenubyurl = false;
308
- this.onchangestate = new EventEmitter();
309
- this.loading = false;
310
- this.menu = [];
311
- this.openSubmenu = '';
312
- this.menuAtivo = 'Dashboard';
313
- }
314
- ngOnInit() {
315
- if (!this._authentication.isLogged() || this.api == null)
316
- return;
317
- this._renderer.addClass(this._element.nativeElement, 'uxc' + this._platform.Config.ux);
318
- this.loading = true;
319
- this._dataAcessService
320
- .get(this.api, this.method)
321
- .subscribe(r => {
322
- if (r.success) {
323
- this.menu = r.data;
324
- this._platform.Menu = r.data;
325
- this._authentication.definePaginaAtiva(this._router.url);
326
- this.monitorarUrl();
327
- }
328
- this.loading = false;
329
- });
330
- }
331
- toggle(e, menuItem) {
332
- e.preventDefault();
333
- if (!menuItem.Enabled)
334
- return;
335
- if (!menuItem.Active)
336
- for (let i = 0; i < this.menu.length; i++)
337
- this.menu[i].Active = false;
338
- menuItem.Active = !menuItem.Active;
339
- }
340
- access(menu) {
341
- this.menuAtivo = menu;
342
- this.openSubmenu = '';
343
- this.resetLastSearch();
344
- }
345
- monitorarUrl() {
346
- if (this.activemenubyurl) {
347
- this.ativarMenu(this._router.url);
348
- this._router.events.subscribe(e => {
349
- if (e instanceof NavigationStart)
350
- this.ativarMenu(e.url);
351
- });
352
- }
353
- }
354
- ativarMenu(url) {
355
- let itemMenu = this.menu.find(m => m.Routing == url);
356
- if (itemMenu != null)
357
- this.menuAtivo = itemMenu.Title;
358
- }
359
- toggleSubmenu(menu) {
360
- this.openSubmenu = this.openSubmenu == menu ? '' : menu;
361
- }
362
- resetLastSearch() {
363
- this._lastSearch.model = null;
364
- this._lastSearch.url = '';
365
- }
366
- changeSidebar() {
367
- this.onchangestate.emit();
368
- }
369
- toggleSidebar() {
370
- this._themeService.setMenuMin();
371
- }
372
- }
373
- /** @nocollapse */ InfoSidebarComponent.ɵfac = function InfoSidebarComponent_Factory(t) { return new (t || InfoSidebarComponent)(i0.ɵɵdirectiveInject(i1.InfoDataService), i0.ɵɵdirectiveInject(i2.InfoAuthenticationService), i0.ɵɵdirectiveInject(i3.InfoThemeService), i0.ɵɵdirectiveInject(i4.InfoSessionModel), i0.ɵɵdirectiveInject(i5.InfoPlatformModel), i0.ɵɵdirectiveInject(i6.InfoLastSearchModel), i0.ɵɵdirectiveInject(i7.Router), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
374
- /** @nocollapse */ InfoSidebarComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: InfoSidebarComponent, selectors: [["info-sidebar"]], inputs: { api: "api", method: "method", activemenubyurl: "activemenubyurl" }, outputs: { onchangestate: "onchangestate" }, decls: 3, vars: 2, consts: [[4, "ngIf"], [1, "sidebar-overlay"], [1, "site-sidebar", 3, "ngClass"], [1, "main-menu"], ["id", "menu-min-icon", 3, "click"], [3, "ngClass"], [1, "sub-menu-overlay", 3, "click"], ["class", "menu-item", 3, "ngClass", 4, "ngFor", "ngForOf"], [1, "menu-item", 3, "ngClass"], ["class", "item-link", 3, "routerLink", "click", 4, "ngIf"], [1, "item-link", 3, "routerLink", "click"], ["matTooltipPosition", "right", "matTooltipClass", "mat-tooltip", 3, "matTooltip", "matTooltipDisabled", "matTooltipShowDelay"], ["tooltip", "matTooltip"], [1, "title"], [1, "item-link", 3, "click"], [1, "sub-menu"], [4, "ngFor", "ngForOf"], [1, "site-sidebar"], [1, "logo"], ["href", "/"], [1, "logo-img"], [1, "info"], ["class", "loading-bar", 4, "ngIf"], [1, "loading-bar"], ["color", "primary", "mode", "indeterminate"], ["class", "group-title", 4, "ngIf"], ["href", "#", "class", "item-link", 3, "routerLink", "click", 4, "ngIf"], ["class", "item-link", 4, "ngIf"], ["href", "#", "class", "item-link", 3, "click", 4, "ngIf"], ["class", "sub", 4, "ngIf"], [1, "group-title"], ["href", "#", 1, "item-link", 3, "routerLink", "click"], [1, "item-link"], ["href", "#", 1, "item-link", 3, "click"], [1, "icon"], ["class", "caret fa fa-angle-right", 4, "ngIf"], [1, "caret", "fa", "fa-angle-right"], [1, "sub"], ["class", "menu-item", 4, "ngFor", "ngForOf"], [1, "menu-item"]], template: function InfoSidebarComponent_Template(rf, ctx) { if (rf & 1) {
375
- i0.ɵɵtemplate(0, InfoSidebarComponent_ng_container_0_Template, 9, 7, "ng-container", 0);
376
- i0.ɵɵtemplate(1, InfoSidebarComponent_ng_container_1_Template, 14, 4, "ng-container", 0);
377
- i0.ɵɵelement(2, "div", 1);
378
- } if (rf & 2) {
379
- i0.ɵɵproperty("ngIf", ctx._platform.Config.ux >= 3);
380
- i0.ɵɵadvance(1);
381
- i0.ɵɵproperty("ngIf", ctx._platform.Config.ux <= 2);
382
- } }, dependencies: [i8.NgClass, i8.NgForOf, i8.NgIf, i9.MatIcon, i10.MatProgressBar, i11.MatTooltip, i7.RouterLink, i12.InfoTranslatePipe], styles: [".uxc3[_nghost-%COMP%]{display:block;height:100%;left:0;position:fixed;top:80px;transition:left .2s ease-in-out,width .2s ease-in-out;width:240px;z-index:9997}@media screen and (max-width: 991px){.uxc3[_nghost-%COMP%]{left:-240px;top:180px}}.uxc3[_nghost-%COMP%] .site-sidebar[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;width:100%;min-height:60px}@media screen and (max-width: 991px){.uxc3[_nghost-%COMP%] .site-sidebar[_ngcontent-%COMP%]{position:relative}.uxc3[_nghost-%COMP%] .site-sidebar[_ngcontent-%COMP%]:before{top:180px}}.uxc3[_nghost-%COMP%] .site-sidebar[_ngcontent-%COMP%]:before{position:fixed;content:\" \";visibility:hidden;left:240px;top:0;width:370px;height:100%;z-index:-1;transition:opacity .2s ease-in-out,visibility .2s ease-in-out}@media screen and (max-width: 991px){.uxc3[_nghost-%COMP%] .site-sidebar[_ngcontent-%COMP%]:before{display:none}}.uxc3[_nghost-%COMP%] .site-sidebar.opened[_ngcontent-%COMP%]:before{opacity:1;visibility:visible}.uxc3[_nghost-%COMP%] .site-sidebar.opened[_ngcontent-%COMP%] .sub-menu-overlay[_ngcontent-%COMP%]{opacity:.5;visibility:visible}@media screen and (max-width: 991px){.uxc3[_nghost-%COMP%] .site-sidebar.opened[_ngcontent-%COMP%] .sub-menu-overlay[_ngcontent-%COMP%]{opacity:0!important}}.uxc3[_nghost-%COMP%] .site-sidebar[_ngcontent-%COMP%] .sub-menu-overlay[_ngcontent-%COMP%]{height:100%;left:0;opacity:0;position:fixed;top:0;transition:opacity .2s ease-in-out,visibility .2s ease-in-out;visibility:hidden;width:100%;z-index:-2}.uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%]{display:block;padding-top:5px;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}.uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] #menu-min-icon[_ngcontent-%COMP%]{position:absolute;top:20px;right:20px;width:20px;height:20px;cursor:pointer;transition:right .2s ease-in-out}.uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] #menu-min-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:20px;width:inherit;height:inherit;transition:transform .2s ease-in-out;transform:rotate(180deg)}.uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] #menu-min-icon[_ngcontent-%COMP%] mat-icon.min[_ngcontent-%COMP%]{transform:rotate(0)}.uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%]{width:240px;overflow-y:auto}.uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]{list-style-type:none;margin:30px 0 0;padding:10px 0 90px}.uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%]{position:relative;margin-bottom:3px}.uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%]:after{bottom:0;content:\"\";position:absolute;left:-5px;top:0;transition:transform .2s ease-in-out;width:5px}.uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] > .item-link[_ngcontent-%COMP%]{display:block;font-size:14px;font-weight:500;padding:5px 5px 10px 20px;position:relative;text-decoration:none;transition:background .2s ease-in-out,color .2s ease-in-out;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] > .item-link[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:auto;top:6px;margin-right:15px}.uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] > .item-link[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin-bottom:0;transition:opacity .2s ease-in-out}.uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%]:hover > .item-link[_ngcontent-%COMP%]{font-weight:600}.uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%]:hover:after{transform:translate(4px)}.uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item.active[_ngcontent-%COMP%] > .item-link[_ngcontent-%COMP%], .uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item.opened[_ngcontent-%COMP%] > .item-link[_ngcontent-%COMP%]{background:transparent;font-weight:600}.uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item.active[_ngcontent-%COMP%]:after, .uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item.opened[_ngcontent-%COMP%]:after{transform:translate(4px)}.uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item.disabled[_ngcontent-%COMP%] > .item-link[_ngcontent-%COMP%]{opacity:.5;cursor:default}.uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .sub-menu[_ngcontent-%COMP%]{font-family:Open Sans,sans-serif;visibility:hidden;opacity:0;position:fixed;left:240px;width:370px;padding:0 40px;top:100px;transition:.2s opacity 0s ease-in-out,0s visibility .2s ease-in-out}@media screen and (max-width: 991px){.uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .sub-menu[_ngcontent-%COMP%]{display:none}}.uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .sub-menu[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .sub-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}.uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .sub-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:10px 3px}.uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .sub-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:14px;font-weight:500;cursor:pointer;padding:5px 0;margin:0;transition:color .2s ease-in-out}.uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .sub-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:none!important;font-weight:600!important}.uxc3[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item.opened[_ngcontent-%COMP%] .sub-menu[_ngcontent-%COMP%]{visibility:visible;opacity:1}.uxc3[_nghost-%COMP%] .sidebar-overlay[_ngcontent-%COMP%]{height:100%;left:0;opacity:0;position:fixed;top:0;transition:.2s opacity 0s ease-in-out,0s visibility .2s ease-in-out;visibility:hidden;width:100%;z-index:-3}.uxc2[_nghost-%COMP%]{display:block;height:100%;left:0;position:fixed;top:0;transition:left .2s ease-in-out;width:240px;z-index:997}@media only screen and (max-width: 991px){.uxc2[_nghost-%COMP%]{left:-240px}}.uxc2[_nghost-%COMP%] .logo[_ngcontent-%COMP%]{background:main-color(600);display:block;height:70px}.uxc2[_nghost-%COMP%] .logo[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{align-items:flex-end;display:flex;font-family:Open Sans,sans-serif;height:inherit;padding:5px 15px;text-decoration:none}.uxc2[_nghost-%COMP%] .logo[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i.logo-img[_ngcontent-%COMP%]{width:210px;height:50px;margin:auto;vertical-align:top}.uxc2[_nghost-%COMP%] .site-sidebar[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;width:100%;min-height:60px}@media only screen and (max-width: 991px){.uxc2[_nghost-%COMP%] .site-sidebar[_ngcontent-%COMP%]{position:relative;z-index:9999}}.uxc2[_nghost-%COMP%] .site-sidebar[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{background-size:cover;padding:8px 20px}.uxc2[_nghost-%COMP%] .site-sidebar[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0;font-size:1.2em}.uxc2[_nghost-%COMP%] .site-sidebar[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{display:block}.uxc2[_nghost-%COMP%] .site-sidebar[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:block}.uxc2[_nghost-%COMP%] .site-sidebar[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:5px}.uxc2[_nghost-%COMP%] .site-sidebar[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] p[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:.9em;cursor:pointer}.uxc2[_nghost-%COMP%] .site-sidebar[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] p[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}.uxc2[_nghost-%COMP%] .sidebar-overlay[_ngcontent-%COMP%]{height:100%;left:0;opacity:0;position:fixed;top:0;transition:.2s opacity 0s ease-in-out,0s visibility .2s ease-in-out;visibility:hidden;width:100%;z-index:9998}.uxc2[_nghost-%COMP%] nav[_ngcontent-%COMP%]{display:block;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}.uxc2[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%]{width:240px}.uxc2[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]{list-style-type:none;margin:0;padding:10px 0 22px}.uxc2[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%]{position:relative;margin-bottom:3px}.uxc2[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%]:after{bottom:0;content:\"\";position:absolute;right:100%;top:0;transition:transform .2s ease-in-out;width:4px}.uxc2[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .item-link[_ngcontent-%COMP%]{display:block;font-size:1rem;font-weight:400;padding:11px 22px;position:relative;text-decoration:none;transition:background .2s ease-in-out,color .2s ease-in-out}.uxc2[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .item-link[_ngcontent-%COMP%] .item-badge[_ngcontent-%COMP%]{border-radius:8px;float:right;font-size:10px;line-height:1;margin-top:2px;padding:2px 6px 4px}.uxc2[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .item-link[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{transition:color .2s ease-in-out;width:22px}.uxc2[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .item-link[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:18px;height:auto;width:25px;top:4px}.uxc2[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item.menu-item-group[_ngcontent-%COMP%]:after{display:none}.uxc2[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .group-title[_ngcontent-%COMP%]{color:#0009;display:block;font-size:.8rem;font-weight:600;padding:6px 22px 5px;text-transform:uppercase}.uxc2[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .sub[_ngcontent-%COMP%]{list-style-type:none;overflow:hidden;margin:0;max-height:0;padding:0;transition:max-height .1s ease-in-out}.uxc2[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .sub[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .item-link[_ngcontent-%COMP%]{padding:5px 22px 6px 48px;font-size:.9em}.uxc2[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] .sub[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%]:first-child > .item-link[_ngcontent-%COMP%]:before{border-top:1px solid transparent;content:\"\";left:0;position:absolute;right:0;top:0;transition:border .2s ease-in-out}.uxc2[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%]:hover:not(.disabled):after{transform:translate(4px)}.uxc2[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item.active[_ngcontent-%COMP%]:after{transform:translate(4px)}.uxc2[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item.disabled[_ngcontent-%COMP%] > .item-link[_ngcontent-%COMP%]{opacity:.5;cursor:default}.uxc2[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item.has-sub[_ngcontent-%COMP%]{position:relative}.uxc2[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item.has-sub[_ngcontent-%COMP%] > .item-link[_ngcontent-%COMP%]{position:relative}.uxc2[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item.has-sub[_ngcontent-%COMP%] > .item-link[_ngcontent-%COMP%] .caret[_ngcontent-%COMP%]{margin-top:.55rem;position:absolute;right:13px;top:6px;transition:transform .1s ease-in-out}.uxc2[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item.has-sub.active[_ngcontent-%COMP%] > .item-link[_ngcontent-%COMP%] .caret[_ngcontent-%COMP%]{transform:rotate(90deg)}.uxc2[_nghost-%COMP%] nav[_ngcontent-%COMP%] .main-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] .menu-item.has-sub.active[_ngcontent-%COMP%] > .sub[_ngcontent-%COMP%]{max-height:1000px}"] });
383
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InfoSidebarComponent, [{
384
- type: Component,
385
- args: [{ selector: 'info-sidebar', template: "<ng-container *ngIf=\"_platform.Config.ux >= 3\">\r\n <div class=\"site-sidebar\" [ngClass]=\"{ 'opened': openSubmenu }\" >\r\n <nav>\r\n <div class=\"main-menu\">\r\n <a id=\"menu-min-icon\" (click)=\"toggleSidebar()\">\r\n <mat-icon [ngClass]=\"{ 'min': _platform.MenuMin }\">chevron_right</mat-icon>\r\n </a>\r\n\r\n <ul *ngIf=\"menu\">\r\n \r\n <li class=\"menu-item\" *ngFor=\"let m of menu\" [ngClass]=\"{ 'active': menuAtivo == m.Title, 'disabled': !m.Enabled, 'opened': openSubmenu == m.Title }\">\r\n \r\n <a *ngIf=\"m.Sub == null\" [routerLink]=\"m.Routing\" class=\"item-link\" (click)=\"access(m.Title);tooltip.hide();\" >\r\n <mat-icon #tooltip=\"matTooltip\" [matTooltip]=\"m.Title | translate\" [matTooltipDisabled]=\"!_platform.MenuMin\" matTooltipPosition=\"right\" [matTooltipShowDelay]=\"600\" matTooltipClass=\"mat-tooltip\">{{ m.Icon }}</mat-icon>\r\n <label class=\"title\">{{ m.Title | translate }}</label>\r\n </a>\r\n \r\n <ng-container *ngIf=\"m.Sub != null\">\r\n <a class=\"item-link\" (click)=\"toggleSubmenu(m.Title);tooltip.hide();\" >\r\n <mat-icon #tooltip=\"matTooltip\" [matTooltip]=\"m.Title | translate\" [matTooltipDisabled]=\"!_platform.MenuMin\" matTooltipPosition=\"right\" [matTooltipShowDelay]=\"600\" matTooltipClass=\"mat-tooltip\" >{{ m.Icon }}</mat-icon>\r\n <label class=\"title\">{{ m.Title | translate }}</label>\r\n </a>\r\n \r\n <div class=\"sub-menu\">\r\n <h4>{{ m.Title | translate }}</h4>\r\n \r\n <ul>\r\n <li *ngFor=\"let s of m.Sub\">\r\n <a [routerLink]=\"s.Routing\" class=\"item-link\" (click)=\"changeSidebar();access(m.Title);\" >{{ s.Title | translate }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </ng-container>\r\n </li>\r\n </ul>\r\n </div>\r\n </nav>\r\n <div class=\"sub-menu-overlay\" (click)=\"openSubmenu = ''\"></div>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"_platform.Config.ux <= 2\">\r\n <div class=\"site-sidebar\">\r\n\r\n <div class=\"logo\">\r\n <a href=\"/\" >\r\n <i class=\"logo-img\"></i>\r\n </a>\r\n </div>\r\n\r\n <div class=\"info\">\r\n <span>{{ _session.Usuario }}</span>\r\n <small>{{ _session.Perfil }}</small>\r\n </div>\r\n\r\n <nav>\r\n <div class=\"main-menu\">\r\n <section class=\"loading-bar\" *ngIf=\"loading\">\r\n <mat-progress-bar color=\"primary\" mode=\"indeterminate\"></mat-progress-bar>\r\n </section>\r\n <ul *ngIf=\"menu\">\r\n <li class=\"menu-item\" *ngFor=\"let m of menu\" [ngClass]=\"{ 'has-sub': m.Sub != null, 'active': m.Active, 'menu-item-group': m.Group, 'disabled': !m.Enabled }\">\r\n \r\n <!-- Grupos -->\r\n <span class=\"group-title\" *ngIf=\"m.Group\">{{ m.Title }} </span>\r\n \r\n <!-- Itens -->\r\n <a href=\"#\" [routerLink]=\"m.Routing\" class=\"item-link\" *ngIf=\"!m.Group && m.Sub == null && m.Enabled\" (click)=\"toggle($event, m);resetLastSearch();\">\r\n <mat-icon>{{ m.Icon }}</mat-icon>{{ m.Title | translate }}\r\n </a>\r\n \r\n <a class=\"item-link\" *ngIf=\"!m.Group && m.Sub == null && !m.Enabled\">\r\n <mat-icon>{{ m.Icon }}</mat-icon>{{ m.Title | translate }} \r\n </a>\r\n \r\n <!-- Item com submenu -->\r\n <a href=\"#\" class=\"item-link\" *ngIf=\"!m.Group && m.Sub != null\" (click)=\"toggle($event, m)\">\r\n <mat-icon class=\"icon\">{{ m.Icon }}</mat-icon>{{ m.Title | translate }}\r\n <i class=\"caret fa fa-angle-right\" *ngIf=\"m.Sub\"></i>\r\n </a>\r\n \r\n <!-- Sub Menu -->\r\n <ul class=\"sub\" *ngIf=\"!m.Group && m.Sub != null\">\r\n <li class=\"menu-item\" *ngFor=\"let s of m.Sub\">\r\n <a [routerLink]=\"s.Routing\" (click)=\"resetLastSearch()\" class=\"item-link\" >{{ s.Title | translate }}</a>\r\n </li>\r\n </ul>\r\n </li>\r\n </ul>\r\n </div>\r\n </nav>\r\n </div>\r\n</ng-container>\r\n\r\n<div class=\"sidebar-overlay\"></div>", styles: [":host.uxc3{display:block;height:100%;left:0;position:fixed;top:80px;transition:left .2s ease-in-out,width .2s ease-in-out;width:240px;z-index:9997}@media screen and (max-width: 991px){:host.uxc3{left:-240px;top:180px}}:host.uxc3 .site-sidebar{display:flex;flex-direction:column;height:100%;width:100%;min-height:60px}@media screen and (max-width: 991px){:host.uxc3 .site-sidebar{position:relative}:host.uxc3 .site-sidebar:before{top:180px}}:host.uxc3 .site-sidebar:before{position:fixed;content:\" \";visibility:hidden;left:240px;top:0;width:370px;height:100%;z-index:-1;transition:opacity .2s ease-in-out,visibility .2s ease-in-out}@media screen and (max-width: 991px){:host.uxc3 .site-sidebar:before{display:none}}:host.uxc3 .site-sidebar.opened:before{opacity:1;visibility:visible}:host.uxc3 .site-sidebar.opened .sub-menu-overlay{opacity:.5;visibility:visible}@media screen and (max-width: 991px){:host.uxc3 .site-sidebar.opened .sub-menu-overlay{opacity:0!important}}:host.uxc3 .site-sidebar .sub-menu-overlay{height:100%;left:0;opacity:0;position:fixed;top:0;transition:opacity .2s ease-in-out,visibility .2s ease-in-out;visibility:hidden;width:100%;z-index:-2}:host.uxc3 nav{display:block;padding-top:5px;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}:host.uxc3 nav #menu-min-icon{position:absolute;top:20px;right:20px;width:20px;height:20px;cursor:pointer;transition:right .2s ease-in-out}:host.uxc3 nav #menu-min-icon mat-icon{font-size:20px;width:inherit;height:inherit;transition:transform .2s ease-in-out;transform:rotate(180deg)}:host.uxc3 nav #menu-min-icon mat-icon.min{transform:rotate(0)}:host.uxc3 nav .main-menu{width:240px;overflow-y:auto}:host.uxc3 nav .main-menu>ul{list-style-type:none;margin:30px 0 0;padding:10px 0 90px}:host.uxc3 nav .main-menu>ul .menu-item{position:relative;margin-bottom:3px}:host.uxc3 nav .main-menu>ul .menu-item:after{bottom:0;content:\"\";position:absolute;left:-5px;top:0;transition:transform .2s ease-in-out;width:5px}:host.uxc3 nav .main-menu>ul .menu-item>.item-link{display:block;font-size:14px;font-weight:500;padding:5px 5px 10px 20px;position:relative;text-decoration:none;transition:background .2s ease-in-out,color .2s ease-in-out;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}:host.uxc3 nav .main-menu>ul .menu-item>.item-link .mat-icon{height:auto;top:6px;margin-right:15px}:host.uxc3 nav .main-menu>ul .menu-item>.item-link .title{margin-bottom:0;transition:opacity .2s ease-in-out}:host.uxc3 nav .main-menu>ul .menu-item:hover>.item-link{font-weight:600}:host.uxc3 nav .main-menu>ul .menu-item:hover:after{transform:translate(4px)}:host.uxc3 nav .main-menu>ul .menu-item.active>.item-link,:host.uxc3 nav .main-menu>ul .menu-item.opened>.item-link{background:transparent;font-weight:600}:host.uxc3 nav .main-menu>ul .menu-item.active:after,:host.uxc3 nav .main-menu>ul .menu-item.opened:after{transform:translate(4px)}:host.uxc3 nav .main-menu>ul .menu-item.disabled>.item-link{opacity:.5;cursor:default}:host.uxc3 nav .main-menu>ul .menu-item .sub-menu{font-family:Open Sans,sans-serif;visibility:hidden;opacity:0;position:fixed;left:240px;width:370px;padding:0 40px;top:100px;transition:.2s opacity 0s ease-in-out,0s visibility .2s ease-in-out}@media screen and (max-width: 991px){:host.uxc3 nav .main-menu>ul .menu-item .sub-menu{display:none}}:host.uxc3 nav .main-menu>ul .menu-item .sub-menu h4{font-size:24px;font-weight:500}:host.uxc3 nav .main-menu>ul .menu-item .sub-menu ul{margin:0;padding:0;list-style:none}:host.uxc3 nav .main-menu>ul .menu-item .sub-menu ul li{margin:10px 3px}:host.uxc3 nav .main-menu>ul .menu-item .sub-menu ul li a{font-size:14px;font-weight:500;cursor:pointer;padding:5px 0;margin:0;transition:color .2s ease-in-out}:host.uxc3 nav .main-menu>ul .menu-item .sub-menu ul li a:hover{text-decoration:none!important;font-weight:600!important}:host.uxc3 nav .main-menu>ul .menu-item.opened .sub-menu{visibility:visible;opacity:1}:host.uxc3 .sidebar-overlay{height:100%;left:0;opacity:0;position:fixed;top:0;transition:.2s opacity 0s ease-in-out,0s visibility .2s ease-in-out;visibility:hidden;width:100%;z-index:-3}:host.uxc2{display:block;height:100%;left:0;position:fixed;top:0;transition:left .2s ease-in-out;width:240px;z-index:997}@media only screen and (max-width: 991px){:host.uxc2{left:-240px}}:host.uxc2 .logo{background:main-color(600);display:block;height:70px}:host.uxc2 .logo a{align-items:flex-end;display:flex;font-family:Open Sans,sans-serif;height:inherit;padding:5px 15px;text-decoration:none}:host.uxc2 .logo a i.logo-img{width:210px;height:50px;margin:auto;vertical-align:top}:host.uxc2 .site-sidebar{display:flex;flex-direction:column;height:100%;width:100%;min-height:60px}@media only screen and (max-width: 991px){:host.uxc2 .site-sidebar{position:relative;z-index:9999}}:host.uxc2 .site-sidebar .info{background-size:cover;padding:8px 20px}:host.uxc2 .site-sidebar .info span{margin:0;font-size:1.2em}:host.uxc2 .site-sidebar .info small{display:block}:host.uxc2 .site-sidebar .info label{display:block}:host.uxc2 .site-sidebar .info p{margin-top:5px}:host.uxc2 .site-sidebar .info p a{font-size:.9em;cursor:pointer}:host.uxc2 .site-sidebar .info p a:hover{text-decoration:underline}:host.uxc2 .sidebar-overlay{height:100%;left:0;opacity:0;position:fixed;top:0;transition:.2s opacity 0s ease-in-out,0s visibility .2s ease-in-out;visibility:hidden;width:100%;z-index:9998}:host.uxc2 nav{display:block;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}:host.uxc2 nav .main-menu{width:240px}:host.uxc2 nav .main-menu>ul{list-style-type:none;margin:0;padding:10px 0 22px}:host.uxc2 nav .main-menu>ul .menu-item{position:relative;margin-bottom:3px}:host.uxc2 nav .main-menu>ul .menu-item:after{bottom:0;content:\"\";position:absolute;right:100%;top:0;transition:transform .2s ease-in-out;width:4px}:host.uxc2 nav .main-menu>ul .menu-item .item-link{display:block;font-size:1rem;font-weight:400;padding:11px 22px;position:relative;text-decoration:none;transition:background .2s ease-in-out,color .2s ease-in-out}:host.uxc2 nav .main-menu>ul .menu-item .item-link .item-badge{border-radius:8px;float:right;font-size:10px;line-height:1;margin-top:2px;padding:2px 6px 4px}:host.uxc2 nav .main-menu>ul .menu-item .item-link .icon{transition:color .2s ease-in-out;width:22px}:host.uxc2 nav .main-menu>ul .menu-item .item-link .mat-icon{font-size:18px;height:auto;width:25px;top:4px}:host.uxc2 nav .main-menu>ul .menu-item.menu-item-group:after{display:none}:host.uxc2 nav .main-menu>ul .menu-item .group-title{color:#0009;display:block;font-size:.8rem;font-weight:600;padding:6px 22px 5px;text-transform:uppercase}:host.uxc2 nav .main-menu>ul .menu-item .sub{list-style-type:none;overflow:hidden;margin:0;max-height:0;padding:0;transition:max-height .1s ease-in-out}:host.uxc2 nav .main-menu>ul .menu-item .sub .menu-item .item-link{padding:5px 22px 6px 48px;font-size:.9em}:host.uxc2 nav .main-menu>ul .menu-item .sub .menu-item:first-child>.item-link:before{border-top:1px solid transparent;content:\"\";left:0;position:absolute;right:0;top:0;transition:border .2s ease-in-out}:host.uxc2 nav .main-menu>ul .menu-item:hover:not(.disabled):after{transform:translate(4px)}:host.uxc2 nav .main-menu>ul .menu-item.active:after{transform:translate(4px)}:host.uxc2 nav .main-menu>ul .menu-item.disabled>.item-link{opacity:.5;cursor:default}:host.uxc2 nav .main-menu>ul .menu-item.has-sub{position:relative}:host.uxc2 nav .main-menu>ul .menu-item.has-sub>.item-link{position:relative}:host.uxc2 nav .main-menu>ul .menu-item.has-sub>.item-link .caret{margin-top:.55rem;position:absolute;right:13px;top:6px;transition:transform .1s ease-in-out}:host.uxc2 nav .main-menu>ul .menu-item.has-sub.active>.item-link .caret{transform:rotate(90deg)}:host.uxc2 nav .main-menu>ul .menu-item.has-sub.active>.sub{max-height:1000px}\n"] }]
386
- }], function () { return [{ type: i1.InfoDataService }, { type: i2.InfoAuthenticationService }, { type: i3.InfoThemeService }, { type: i4.InfoSessionModel }, { type: i5.InfoPlatformModel }, { type: i6.InfoLastSearchModel }, { type: i7.Router }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, { api: [{
387
- type: Input
388
- }], method: [{
389
- type: Input
390
- }], activemenubyurl: [{
391
- type: Input
392
- }], onchangestate: [{
393
- type: Output
394
- }] }); })();
395
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9pbmZvLWxpYnJhcnkvc3JjL2xheW91dHMvc2lkZWJhci9zaWRlYmFyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2luZm8tbGlicmFyeS9zcmMvbGF5b3V0cy9zaWRlYmFyL3NpZGViYXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBVSxNQUFNLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3RHLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUM3RCxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSxzQ0F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JcbiAgICAgICAgICAgICAgICBwcml2YXRlIF9sYXN0U2VhcmNoOiBJbmZvTGFzdFNlYXJjaE1vZGVsLCBwcml2YXRlIF9yb3V0ZXI6IFJvdXRlciwgcHJpdmF0ZSBfcmVuZGVyZXI6IFJlbmRlcmVyMiwgcHJpdmF0ZSBfZWxlbWVudDogRWxlbWVudFJlZikge1xyXG4gICAgfVxyXG5cclxuICAgIG5nT25Jbml0KCkge1xyXG4gICAgICAgIGlmICghdGhpcy5fYXV0aGVudGljYXRpb24uaXNMb2dnZWQoKSB8fCB0aGlzLmFwaSA9PSBudWxsKVxyXG4gICAgICAgICAgICByZXR1cm47XHJcblxyXG4gICAgICAgIHRoaXMuX3JlbmRlcmVyLmFkZENsYXNzKHRoaXMuX2VsZW1lbnQubmF0aXZlRWxlbWVudCwgJ3V4YycgKyB0aGlzLl9wbGF0Zm9ybS5Db25maWcudXgpO1xyXG4gICAgICAgIHRoaXMubG9hZGluZyA9IHRydWU7XHJcblxyXG4gICAgICAgIHRoaXMuX2RhdGFBY2Vzc1NlcnZpY2VcclxuICAgICAgICAgICAgLmdldCh0aGlzLmFwaSwgdGhpcy5tZXRob2QpXHJcbiAgICAgICAgICAgIC5zdWJzY3JpYmUociA9PiB7XHJcbiAgICAgICAgICAgICAgICBpZiAoci5zdWNjZXNzKXtcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLm1lbnUgPSByLmRhdGE7XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5fcGxhdGZvcm0uTWVudSA9IHIuZGF0YTtcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLl9hdXRoZW50aWNhdGlvbi5kZWZpbmVQYWdpbmFBdGl2YSh0aGlzLl9yb3V0ZXIudXJsKTtcclxuXHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5tb25pdG9yYXJVcmwoKTtcclxuICAgICAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgICAgICB0aGlzLmxvYWRpbmcgPSBmYWxzZTtcclxuICAgICAgICAgICAgfSk7XHJcbiAgICB9XHJcblxyXG4gICAgdG9nZ2xlKGU6IEV2ZW50LCBtZW51SXRlbTogYW55KSB7XHJcblxyXG4gICAgICAgIGUucHJldmVudERlZmF1bHQoKTtcclxuXHJcbiAgICAgICAgaWYgKCFtZW51SXRlbS5FbmFibGVkKVxyXG4gICAgICAgICAgICByZXR1cm47XHJcblxyXG4gICAgICAgIGlmICghbWVudUl0ZW0uQWN0aXZlKVxyXG4gICAgICAgICAgICBmb3IgKGxldCBpID0gMDsgaSA8IHRoaXMubWVudS5sZW5ndGg7IGkrKylcclxuICAgICAgICAgICAgICAgIHRoaXMubWVudVtpXS5BY3RpdmUgPSBmYWxzZTtcclxuXHJcbiAgICAgICAgbWVudUl0ZW0uQWN0aXZlID0gIW1lbnVJdGVtLkFjdGl2ZTtcclxuICAgIH1cclxuXHJcbiAgICBhY2Nlc3MobWVudTogc3RyaW5nKXtcclxuICAgICAgICB0aGlzLm1lbnVBdGl2byA9IG1lbnU7XHJcbiAgICAgICAgdGhpcy5vcGVuU3VibWVudSA9ICcnO1xyXG4gICAgICAgIFxyXG4gICAgICAgIHRoaXMucmVzZXRMYXN0U2VhcmNoKCk7XHJcbiAgICB9XHJcblxyXG4gICAgbW9uaXRvcmFyVXJsKCl7XHJcbiAgICAgICAgaWYgKHRoaXMuYWN0aXZlbWVudWJ5dXJsKXtcclxuICAgICAgICAgICAgdGhpcy5hdGl2YXJNZW51KHRoaXMuX3JvdXRlci51cmwpO1xyXG5cclxuICAgICAgICAgICAgdGhpcy5fcm91dGVyLmV2ZW50cy5zdWJzY3JpYmUoZSA9PiB7XHJcbiAgICAgICAgICAgICAgICBpZiAoZSBpbnN0YW5jZW9mIE5hdmlnYXRpb25TdGFydClcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLmF0aXZhck1lbnUoZS51cmwpO1xyXG4gICAgICAgICAgICB9KTtcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgYXRpdmFyTW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G0uVGl0bGUgfCB0cmFuc2xhdGUgfX08L2xhYmVsPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8L2E+XHJcbiAgICBcclxuICAgICAgICAgICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cIm0uU3ViICE9IG51bGxcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxhIGNsYXNzPVwiaXRlbS1saW5rXCIgKGNsaWNrKT1cInRvZ2dsZVN1Ym1lbnUobS5UaXRsZSk7dG9vbHRpcC5oaWRlKCk7XCIgPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtaWNvbiAjdG9vbHRpcD1cIm1hdFRvb2x0aXBcIiBbbWF0VG9vbHRpcF09XCJtLlRpdGxlIHwgdHJhbnNsYXRlXCIgW21hdFRvb2x0aXBEaXNhYmxlZF09XCIhX3BsYXRmb3JtLk1lbnVNaW5cIiBtYXRUb29sdGlwUG9zaXRpb249XCJyaWdodFwiIFttYXRUb29sdGlwU2hvd0RlbGF5XT1cIjYwMFwiIG1hdFRvb2x0aXBDbGFzcz1cIm1hdC10b29sdGlwXCIgPnt7IG0uSWNvbiB9fTwvbWF0LWljb24+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGxhYmVsIGNsYXNzPVwidGl0bGVcIj57eyBtLlRpdGxlIHwgdHJhbnNsYXRlIH19PC9sYWJlbD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvYT5cclxuICAgIFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cInN1Yi1tZW51XCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGg0Pnt7IG0uVGl0bGUgfCB0cmFuc2xhdGUgfX08L2g0PlxyXG4gICAgXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHVsPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bGkgKm5nRm9yPVwibGV0IHMgb2YgbS5TdWJcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxhIFtyb3V0ZXJMaW5rXT1cInMuUm91dGluZ1wiIGNsYXNzPVwiaXRlbS1saW5rXCIgKGNsaWNrKT1cImNoYW5nZVNpZGViYXIoKTthY2Nlc3MobS5UaXRsZSk7XCIgPnt7IHMuVGl0bGUgfCB0cmFuc2xhdGUgfX08L2E+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbGk+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC91bD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cclxuICAgICAgICAgICAgICAgICAgICA8L2xpPlxyXG4gICAgICAgICAgICAgICAgPC91bD5cclxuICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgPC9uYXY+XHJcbiAgICAgICAgPGRpdiBjbGFzcz1cInN1Yi1tZW51LW92ZXJsYXlcIiAoY2xpY2spPVwib3BlblN1Ym1lbnUgPSAnJ1wiPjwvZGl2PlxyXG4gICAgPC9kaXY+XHJcbjwvbmctY29udGFpbmVyPlxyXG5cclxuPG5nLWNvbnRhaW5lciAqbmdJZj1cIl9wbGF0Zm9ybS5Db25maWcudXggPD0gMlwiPlxyXG4gICAgPGRpdiBjbGFzcz1cInNpdGUtc2lkZWJhclwiPlxyXG5cclxuICAgICAgICA8ZGl2IGNsYXNzPVwibG9nb1wiPlxyXG4gICAgICAgICAgICA8YSBocmVmPVwiL1wiID5cclxuICAgICAgICAgICAgICAgIDxpIGNsYXNzPVwibG9nby1pbWdcIj48L2k+XHJcbiAgICAgICAgICAgIDwvYT5cclxuICAgICAgICA8L2Rpdj5cclxuXHJcbiAgICAgICAgPGRpdiBjbGFzcz1cImluZm9cIj5cclxuICAgICAgICAgICAgPHN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jXCIgW3JvdXRlckxpbmtdPVwibS5Sb3V0aW5nXCIgY2xhc3M9XCJpdGVtLWxpbmtcIiAqbmdJZj1cIiFtLkdyb3VwICYmIG0uU3ViID09IG51bGwgJiYgbS5FbmFibGVkXCIgKGNsaWNrKT1cInRvZ2dsZSgkZXZlbnQsIG0pO3Jlc2V0TGFzdFNlYXJjaCgpO1wiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1pY29uPnt7IG0uSWNvbiB9fTwvbWF0LWljb24+e3sgbS5UaXRsZSB8IHRyYW5zbGF0ZSB9fVxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8L2E+XHJcbiAgICAgICAgICAgIFxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8YSBjbGFzcz1cIml0ZW0tbGlua1wiICpuZ0lmPVwiIW0uR3JvdXAgJiYgbS5TdWIgPT0gbnVsbCAmJiAhbS5FbmFibGVkXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWljb24+e3sgbS5JY29uIH19PC9tYXQtaWNvbj57eyBtLlRpdGxlIHwgdHJhbnNsYXRlIH19IFxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8L2E+XHJcbiAgICAgICAgICAgIFxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8IS0tIEl0ZW0gY29tIHN1Ym1lbnUgLS0+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxhIGhyZWY9XCIjXCIgY2xhc3M9XCJpdGVtLWxpbmtcIiAqbmdJZj1cIiFtLkdyb3VwICYmIG0uU3ViICE9IG51bGxcIiAoY2xpY2spPVwidG9nZ2xlKCRldmVudCwgbSlcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtaWNvbiBjbGFzcz1cImljb25cIj57eyBtLkljb24gfX08L21hdC1pY29uPnt7IG0uVGl0bGUgfCB0cmFuc2xhdGUgfX1cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPVwiY2FyZXQgZmEgZmEtYW5nbGUtcmlnaHRcIiAqbmdJZj1cIm0uU3ViXCI+PC9pPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8L2E+XHJcbiAgICAgICAgICAgIFxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8IS0tIFN1YiBNZW51IC0tPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8dWwgY2xhc3M9XCJzdWJcIiAqbmdJZj1cIiFtLkdyb3VwICYmIG0uU3ViICE9IG51bGxcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxsaSBjbGFzcz1cIm1lbnUtaXRlbVwiICpuZ0Zvcj1cImxldCBzIG9mIG0uU3ViXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGEgW3JvdXRlckxpbmtdPVwicy5Sb3V0aW5nXCIgKGNsaWNrKT1cInJlc2V0TGFzdFNlYXJjaCgpXCIgY2xhc3M9XCJpdGVtLWxpbmtcIiA+e3sgcy5UaXRsZSB8IHRyYW5zbGF0ZSB9fTwvYT5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbGk+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDwvdWw+XHJcbiAgICAgICAgICAgICAgICAgICAgPC9saT5cclxuICAgICAgICAgICAgICAgIDwvdWw+XHJcbiAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgIDwvbmF2PlxyXG4gICAgPC9kaXY+XHJcbjwvbmctY29udGFpbmVyPlxyXG5cclxuPGRpdiBjbGFzcz1cInNpZGViYXItb3ZlcmxheVwiPjwvZGl2PiJdfQ==