@po-ui/ng-components 19.24.0 → 19.26.0

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 (186) hide show
  1. package/fesm2022/{po-ui-ng-components-po-chart-modal-table.component-mSWyBcer.mjs → po-ui-ng-components-po-chart-modal-table.component-CaO2fPeS.mjs} +3 -4
  2. package/fesm2022/po-ui-ng-components-po-chart-modal-table.component-CaO2fPeS.mjs.map +1 -0
  3. package/fesm2022/po-ui-ng-components.mjs +18860 -17533
  4. package/fesm2022/po-ui-ng-components.mjs.map +1 -1
  5. package/lib/components/components.module.d.ts +2 -1
  6. package/lib/components/index.d.ts +1 -0
  7. package/lib/components/po-accordion/po-accordion-item/po-accordion-item.component.d.ts +1 -2
  8. package/lib/components/po-accordion/po-accordion-item-header/po-accordion-item-header.component.d.ts +1 -2
  9. package/lib/components/po-accordion/po-accordion.component.d.ts +1 -3
  10. package/lib/components/po-breadcrumb/po-breadcrumb-favorite/po-breadcrumb-favorite.component.d.ts +1 -3
  11. package/lib/components/po-breadcrumb/po-breadcrumb-favorite/po-breadcrumb-favorite.service.d.ts +0 -2
  12. package/lib/components/po-breadcrumb/po-breadcrumb.component.d.ts +2 -2
  13. package/lib/components/po-button/po-button-base.component.d.ts +14 -8
  14. package/lib/components/po-button/po-button.component.d.ts +0 -3
  15. package/lib/components/po-button-group/po-button-group-base.component.d.ts +9 -6
  16. package/lib/components/po-button-group/po-button-group.component.d.ts +0 -4
  17. package/lib/components/po-calendar/po-calendar-wrapper/po-calendar-wrapper.component.d.ts +0 -4
  18. package/lib/components/po-calendar/po-calendar.component.d.ts +2 -4
  19. package/lib/components/po-chart/po-chart.component.d.ts +3 -6
  20. package/lib/components/po-disclaimer-group/po-disclaimer-group.component.d.ts +2 -4
  21. package/lib/components/po-dropdown/po-dropdown-base.component.d.ts +0 -3
  22. package/lib/components/po-dropdown/po-dropdown.component.d.ts +1 -4
  23. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-base.component.d.ts +0 -3
  24. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields-base.component.d.ts +1 -3
  25. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields.component.d.ts +2 -7
  26. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-load/po-dynamic-form-load.service.d.ts +1 -2
  27. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-validation/po-dynamic-form-validation.service.d.ts +1 -2
  28. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form.component.d.ts +1 -3
  29. package/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view.component.d.ts +1 -6
  30. package/lib/components/po-dynamic/po-dynamic-view/services/po-dynamic-view.service.d.ts +1 -2
  31. package/lib/components/po-field/po-checkbox/po-checkbox-base.component.d.ts +0 -3
  32. package/lib/components/po-field/po-checkbox/po-checkbox.component.d.ts +3 -7
  33. package/lib/components/po-field/po-checkbox-group/po-checkbox-group-base.component.d.ts +0 -3
  34. package/lib/components/po-field/po-checkbox-group/po-checkbox-group.component.d.ts +1 -4
  35. package/lib/components/po-field/po-combo/po-combo-base.component.d.ts +1 -3
  36. package/lib/components/po-field/po-combo/po-combo-filter.service.d.ts +1 -2
  37. package/lib/components/po-field/po-combo/po-combo.component.d.ts +3 -8
  38. package/lib/components/po-field/po-datepicker/po-datepicker-base.component.d.ts +1 -3
  39. package/lib/components/po-field/po-datepicker/po-datepicker.component.d.ts +2 -8
  40. package/lib/components/po-field/po-datepicker-range/po-datepicker-range-base.component.d.ts +1 -3
  41. package/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.d.ts +2 -8
  42. package/lib/components/po-field/po-decimal/po-decimal.component.d.ts +2 -5
  43. package/lib/components/po-field/po-email/po-email.component.d.ts +2 -4
  44. package/lib/components/po-field/po-field-container/po-field-container.component.d.ts +1 -2
  45. package/lib/components/po-field/po-input/po-input-base.component.d.ts +1 -3
  46. package/lib/components/po-field/po-input/po-input.component.d.ts +2 -4
  47. package/lib/components/po-field/po-input-generic/po-input-generic.d.ts +1 -3
  48. package/lib/components/po-field/po-login/po-login.component.d.ts +1 -4
  49. package/lib/components/po-field/po-lookup/po-lookup-base.component.d.ts +1 -3
  50. package/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal.component.d.ts +2 -3
  51. package/lib/components/po-field/po-lookup/po-lookup.component.d.ts +2 -7
  52. package/lib/components/po-field/po-lookup/services/po-lookup-modal.service.d.ts +0 -2
  53. package/lib/components/po-field/po-multiselect/po-multiselect-base.component.d.ts +1 -3
  54. package/lib/components/po-field/po-multiselect/po-multiselect-dropdown/po-multiselect-dropdown.component.d.ts +1 -2
  55. package/lib/components/po-field/po-multiselect/po-multiselect-filter.service.d.ts +0 -2
  56. package/lib/components/po-field/po-multiselect/po-multiselect.component.d.ts +2 -6
  57. package/lib/components/po-field/po-number/po-number-base.component.d.ts +1 -3
  58. package/lib/components/po-field/po-number/po-number.component.d.ts +1 -4
  59. package/lib/components/po-field/po-password/po-password.component.d.ts +1 -4
  60. package/lib/components/po-field/po-radio/po-radio.component.d.ts +1 -4
  61. package/lib/components/po-field/po-radio-group/po-radio-group-base.component.d.ts +0 -3
  62. package/lib/components/po-field/po-radio-group/po-radio-group.component.d.ts +2 -4
  63. package/lib/components/po-field/po-rich-text/po-rich-text-base.component.d.ts +1 -3
  64. package/lib/components/po-field/po-rich-text/po-rich-text-body/po-rich-text-body.component.d.ts +0 -2
  65. package/lib/components/po-field/po-rich-text/po-rich-text-image-modal/po-rich-text-image-modal.component.d.ts +1 -2
  66. package/lib/components/po-field/po-rich-text/po-rich-text-link-modal/po-rich-text-link-modal.component.d.ts +1 -2
  67. package/lib/components/po-field/po-rich-text/po-rich-text-toolbar/po-rich-text-toolbar.component.d.ts +1 -2
  68. package/lib/components/po-field/po-rich-text/po-rich-text.component.d.ts +2 -5
  69. package/lib/components/po-field/po-select/po-select.component.d.ts +3 -7
  70. package/lib/components/po-field/po-switch/po-switch.component.d.ts +1 -4
  71. package/lib/components/po-field/po-textarea/po-textarea-base.component.d.ts +1 -3
  72. package/lib/components/po-field/po-textarea/po-textarea.component.d.ts +2 -4
  73. package/lib/components/po-field/po-upload/po-upload-base.component.d.ts +1 -3
  74. package/lib/components/po-field/po-upload/po-upload-base.service.d.ts +0 -2
  75. package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop-area/po-upload-drag-drop-area.component.d.ts +1 -2
  76. package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop-area-overlay/po-upload-drag-drop-area-overlay.component.d.ts +1 -2
  77. package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.component.d.ts +1 -2
  78. package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.directive.d.ts +0 -3
  79. package/lib/components/po-field/po-upload/po-upload-file-restrictions/po-upload-file-restrictions.component.d.ts +2 -3
  80. package/lib/components/po-field/po-upload/po-upload.component.d.ts +2 -8
  81. package/lib/components/po-field/po-url/po-url.component.d.ts +2 -4
  82. package/lib/components/po-grid/po-grid-cell/po-grid-cell.component.d.ts +1 -2
  83. package/lib/components/po-grid/po-grid.component.d.ts +2 -2
  84. package/lib/components/po-header/index.d.ts +7 -0
  85. package/lib/components/po-header/interfaces/po-header-action-tool.interface.d.ts +138 -0
  86. package/lib/components/po-header/interfaces/po-header-actions.interface.d.ts +49 -0
  87. package/lib/components/po-header/interfaces/po-header-brand.interface.d.ts +59 -0
  88. package/lib/components/po-header/interfaces/po-header-literals.interface.d.ts +13 -0
  89. package/lib/components/po-header/interfaces/po-header-user.interface.d.ts +74 -0
  90. package/lib/components/po-header/po-header-base.component.d.ts +266 -0
  91. package/lib/components/po-header/po-header-brand/po-header-brand.component.d.ts +27 -0
  92. package/lib/components/po-header/po-header-customer/po-header-customer.component.d.ts +32 -0
  93. package/lib/components/po-header/po-header-menu-item/po-header-menu-item.component.d.ts +50 -0
  94. package/lib/components/po-header/po-header-tools/po-header-tools.component.d.ts +31 -0
  95. package/lib/components/po-header/po-header.component.d.ts +83 -0
  96. package/lib/components/po-header/po-header.module.d.ts +27 -0
  97. package/lib/components/po-list-view/po-list-view-base.component.d.ts +1 -3
  98. package/lib/components/po-list-view/po-list-view.component.d.ts +2 -5
  99. package/lib/components/po-listbox/interfaces/po-listbox-literals.interface.d.ts +1 -0
  100. package/lib/components/po-listbox/po-item-list/po-item-list-base.component.d.ts +2 -1
  101. package/lib/components/po-listbox/po-item-list/po-item-list.component.d.ts +1 -2
  102. package/lib/components/po-listbox/po-listbox-base.component.d.ts +8 -4
  103. package/lib/components/po-listbox/po-listbox.component.d.ts +5 -8
  104. package/lib/components/po-listbox/po-search-list/po-search-list.component.d.ts +1 -2
  105. package/lib/components/po-loading/po-loading-overlay/po-loading-overlay.component.d.ts +1 -2
  106. package/lib/components/po-menu/po-menu-base.component.d.ts +6 -4
  107. package/lib/components/po-menu/po-menu-filter/po-menu-filter.component.d.ts +1 -1
  108. package/lib/components/po-menu/po-menu-item/po-menu-item.component.d.ts +0 -2
  109. package/lib/components/po-menu/po-menu-item.interface.d.ts +3 -0
  110. package/lib/components/po-menu/po-menu.component.d.ts +5 -10
  111. package/lib/components/po-menu/services/po-menu-global.service.d.ts +6 -0
  112. package/lib/components/po-menu/services/po-menu.service.d.ts +0 -2
  113. package/lib/components/po-menu-panel/po-menu-panel-item/po-menu-panel-item.component.d.ts +0 -2
  114. package/lib/components/po-menu-panel/po-menu-panel.component.d.ts +1 -5
  115. package/lib/components/po-modal/po-modal-base.component.d.ts +1 -3
  116. package/lib/components/po-modal/po-modal.component.d.ts +1 -5
  117. package/lib/components/po-navbar/po-navbar-actions/po-navbar-action/po-navbar-action.component.d.ts +1 -3
  118. package/lib/components/po-navbar/po-navbar-items/po-navbar-items.component.d.ts +0 -2
  119. package/lib/components/po-navbar/po-navbar.component.d.ts +2 -5
  120. package/lib/components/po-page/po-page-content/po-page-content.component.d.ts +1 -1
  121. package/lib/components/po-page/po-page-default/po-page-default-base.component.d.ts +1 -3
  122. package/lib/components/po-page/po-page-default/po-page-default.component.d.ts +2 -6
  123. package/lib/components/po-page/po-page-detail/po-page-detail-base.component.d.ts +1 -3
  124. package/lib/components/po-page/po-page-edit/po-page-edit-base.component.d.ts +1 -3
  125. package/lib/components/po-page/po-page-list/po-page-list-base.component.d.ts +1 -3
  126. package/lib/components/po-page/po-page-list/po-page-list.component.d.ts +2 -6
  127. package/lib/components/po-page/po-page-slide/po-page-slide-base.component.d.ts +0 -3
  128. package/lib/components/po-page/po-page-slide/po-page-slide.component.d.ts +1 -5
  129. package/lib/components/po-popover/po-popover.component.d.ts +5 -2
  130. package/lib/components/po-popup/po-popup-base.component.d.ts +2 -4
  131. package/lib/components/po-popup/po-popup.component.d.ts +2 -6
  132. package/lib/components/po-progress/po-progress-base.component.d.ts +0 -3
  133. package/lib/components/po-progress/po-progress.component.d.ts +0 -3
  134. package/lib/components/po-search/enums/po-search-filter-mode.enum.d.ts +1 -1
  135. package/lib/components/po-search/index.d.ts +1 -1
  136. package/lib/components/po-search/interfaces/po-search-filter-select.interface.d.ts +1 -5
  137. package/lib/components/po-search/interfaces/po-search-locate-summary.interface.d.ts +13 -0
  138. package/lib/components/po-search/literals/po-search-literals-default.d.ts +7 -1
  139. package/lib/components/po-search/literals/po-search-literals.interface.d.ts +51 -0
  140. package/lib/components/po-search/po-search-base.component.d.ts +201 -79
  141. package/lib/components/po-search/po-search.component.d.ts +43 -14
  142. package/lib/components/po-slide/po-slide.component.d.ts +0 -2
  143. package/lib/components/po-stepper/po-step/po-step.component.d.ts +1 -2
  144. package/lib/components/po-stepper/po-stepper-label/po-stepper-label.component.d.ts +1 -2
  145. package/lib/components/po-stepper/po-stepper.component.d.ts +1 -2
  146. package/lib/components/po-table/po-table-base.component.d.ts +1 -3
  147. package/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.d.ts +1 -3
  148. package/lib/components/po-table/po-table-detail/po-table-detail.component.d.ts +1 -3
  149. package/lib/components/po-table/po-table-list-manager/po-table-list-manager.component.d.ts +2 -4
  150. package/lib/components/po-table/po-table.component.d.ts +2 -4
  151. package/lib/components/po-tabs/po-tab/po-tab.component.d.ts +1 -3
  152. package/lib/components/po-tabs/po-tab-button/po-tab-button.component.d.ts +0 -1
  153. package/lib/components/po-tabs/po-tab-dropdown/po-tab-dropdown.component.d.ts +0 -1
  154. package/lib/components/po-tabs/po-tabs-base.component.d.ts +0 -3
  155. package/lib/components/po-tabs/po-tabs.component.d.ts +1 -5
  156. package/lib/components/po-tag/po-tag.component.d.ts +1 -2
  157. package/lib/components/po-toaster/po-toaster-base.component.d.ts +0 -3
  158. package/lib/components/po-toaster/po-toaster.component.d.ts +3 -6
  159. package/lib/components/po-toolbar/po-toolbar-notification/po-toolbar-notification.component.d.ts +1 -2
  160. package/lib/components/po-toolbar/po-toolbar.component.d.ts +1 -3
  161. package/lib/components/po-tree-view/po-tree-view-base.component.d.ts +0 -3
  162. package/lib/components/po-tree-view/po-tree-view-item/po-tree-view-item.component.d.ts +0 -2
  163. package/lib/components/po-tree-view/po-tree-view.component.d.ts +0 -4
  164. package/lib/components/po-widget/po-widget-base.component.d.ts +0 -3
  165. package/lib/components/po-widget/po-widget.component.d.ts +3 -3
  166. package/lib/services/po-dialog/po-dialog.component.d.ts +1 -3
  167. package/lib/services/po-notification/po-notification-base.service.d.ts +0 -3
  168. package/lib/services/po-notification/po-notification.service.d.ts +1 -3
  169. package/lib/utils/util.d.ts +25 -0
  170. package/package.json +4 -4
  171. package/po-ui-ng-components-19.26.0.tgz +0 -0
  172. package/schematics/ng-add/index.js +1 -1
  173. package/schematics/ng-update/v14/index.js +1 -1
  174. package/schematics/ng-update/v15/index.js +1 -1
  175. package/schematics/ng-update/v16/index.js +1 -1
  176. package/schematics/ng-update/v17/index.js +1 -1
  177. package/schematics/ng-update/v18/index.js +2 -2
  178. package/schematics/ng-update/v19/index.js +2 -2
  179. package/schematics/ng-update/v2/index.js +1 -1
  180. package/schematics/ng-update/v3/index.js +1 -1
  181. package/schematics/ng-update/v4/index.js +1 -1
  182. package/schematics/ng-update/v5/index.js +1 -1
  183. package/schematics/ng-update/v6/index.js +1 -1
  184. package/fesm2022/po-ui-ng-components-po-chart-modal-table.component-mSWyBcer.mjs.map +0 -1
  185. package/lib/components/po-search/literals/po-search-literals.d.ts +0 -32
  186. package/po-ui-ng-components-19.24.0.tgz +0 -0
@@ -0,0 +1,83 @@
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges } from '@angular/core';
2
+ import { Subscription } from 'rxjs';
3
+ import { PoLanguageService } from '../../services';
4
+ import { PoMenuComponent, PoMenuGlobalService, PoMenuHeaderTemplateDirective } from '../po-menu';
5
+ import { PoHeaderActions } from './interfaces/po-header-actions.interface';
6
+ import { PoHeaderBaseComponent } from './po-header-base.component';
7
+ import { PoHeaderMenuItemComponent } from './po-header-menu-item/po-header-menu-item.component';
8
+ import * as i0 from "@angular/core";
9
+ /**
10
+ * @docsExtends PoHeaderBaseComponent
11
+ *
12
+ * @example
13
+ *
14
+ * <example name="po-header-basic" title="PO Header Basic">
15
+ * <file name="sample-po-header-basic/sample-po-header-basic.component.html"> </file>
16
+ * <file name="sample-po-header-basic/sample-po-header-basic.component.ts"> </file>
17
+ * </example>
18
+ *
19
+ * <example name="po-header-labs" title="PO Header Labs">
20
+ * <file name="sample-po-header-labs/sample-po-header-labs.component.html"> </file>
21
+ * <file name="sample-po-header-labs/sample-po-header-labs.component.ts"> </file>
22
+ * </example>
23
+ *
24
+ * <example name="po-header-apps" title="PO Header Apps">
25
+ * <file name="sample-po-header-apps/sample-po-header-apps.component.html"> </file>
26
+ * <file name="sample-po-header-apps/sample-po-header-apps.component.ts"> </file>
27
+ * </example>
28
+ *
29
+ */
30
+ export declare class PoHeaderComponent extends PoHeaderBaseComponent implements AfterViewInit, OnChanges, OnInit, OnDestroy {
31
+ private cd;
32
+ private elRef;
33
+ private menuGlobalService;
34
+ afterViewInitWascalled: boolean;
35
+ showMenu: boolean;
36
+ visibleMenuItems: Array<any>;
37
+ overflowItems: Array<any>;
38
+ showOverflow: boolean;
39
+ resizeSubscription: Subscription;
40
+ private menusSubscription;
41
+ private applicationMenuSubscription;
42
+ private menuIdSubscription;
43
+ private menuonChangesSubscription;
44
+ private removedMenuSubscription;
45
+ previousMenuComponentId: any;
46
+ private resizeSub;
47
+ menuExternal: any[];
48
+ existMenuExternal: boolean;
49
+ applicationMenu: PoMenuComponent;
50
+ private id;
51
+ private currentWidth;
52
+ private previousMenusItems;
53
+ buttonFirstAction: ElementRef;
54
+ buttonFirstActionRef: ElementRef;
55
+ navElement: ElementRef;
56
+ menuWrapperBrand: ElementRef<HTMLElement>;
57
+ menuWrapperTools: ElementRef<HTMLElement>;
58
+ overflowButton: ElementRef<HTMLElement>;
59
+ overflowButtonComponentEl: PoHeaderMenuItemComponent;
60
+ menuSubItems: QueryList<ElementRef<HTMLElement>>;
61
+ menuHeaderTemplate: PoMenuHeaderTemplateDirective;
62
+ set menuComponent(menu: PoMenuComponent);
63
+ constructor(cd: ChangeDetectorRef, elRef: ElementRef, menuGlobalService: PoMenuGlobalService, poLanguageService: PoLanguageService);
64
+ ngOnInit(): void;
65
+ ngOnChanges(changes: SimpleChanges): void;
66
+ ngAfterViewInit(): void;
67
+ ngOnDestroy(): void;
68
+ toggleOverflowDropdown(): void;
69
+ updateMenu(): void;
70
+ updateButtonMore(): void;
71
+ onClickMenu(): void;
72
+ onCloseMenu(): void;
73
+ handleSmallSreen(): void;
74
+ handleLargeSreen(): void;
75
+ private combineItems;
76
+ private combineItemsExternal;
77
+ onSelected({ item, focus }: {
78
+ item: PoHeaderActions;
79
+ focus: boolean;
80
+ }): void;
81
+ static ɵfac: i0.ɵɵFactoryDeclaration<PoHeaderComponent, never>;
82
+ static ɵcmp: i0.ɵɵComponentDeclaration<PoHeaderComponent, "po-header", never, {}, {}, ["menuHeaderTemplate"], never, false, never>;
83
+ }
@@ -0,0 +1,27 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./po-header.component";
3
+ import * as i2 from "./po-header-brand/po-header-brand.component";
4
+ import * as i3 from "./po-header-menu-item/po-header-menu-item.component";
5
+ import * as i4 from "./po-header-tools/po-header-tools.component";
6
+ import * as i5 from "./po-header-customer/po-header-customer.component";
7
+ import * as i6 from "@angular/common";
8
+ import * as i7 from "../po-dropdown/po-dropdown.module";
9
+ import * as i8 from "../po-icon/po-icon.module";
10
+ import * as i9 from "../po-button/po-button.module";
11
+ import * as i10 from "../po-badge/po-badge.module";
12
+ import * as i11 from "../po-avatar/po-avatar.module";
13
+ import * as i12 from "../po-popover/po-popover.module";
14
+ import * as i13 from "../../directives/po-tooltip/po-tooltip.module";
15
+ import * as i14 from "../po-popup/po-popup.module";
16
+ import * as i15 from "../po-menu/po-menu.module";
17
+ import * as i16 from "@angular/router";
18
+ /**
19
+ * @description
20
+ *
21
+ * Módulo do componente `po-header`.
22
+ */
23
+ export declare class PoHeaderModule {
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<PoHeaderModule, never>;
25
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PoHeaderModule, [typeof i1.PoHeaderComponent, typeof i2.PoHeaderbrandComponent, typeof i3.PoHeaderMenuItemComponent, typeof i4.PoHeaderToolsComponent, typeof i5.PoHeaderCustomerComponent], [typeof i6.CommonModule, typeof i7.PoDropdownModule, typeof i8.PoIconModule, typeof i9.PoButtonModule, typeof i10.PoBadgeModule, typeof i11.PoAvatarModule, typeof i12.PoPopoverModule, typeof i13.PoTooltipModule, typeof i14.PoPopupModule, typeof i15.PoMenuModule, typeof i16.RouterModule], [typeof i1.PoHeaderComponent]>;
26
+ static ɵinj: i0.ɵɵInjectorDeclaration<PoHeaderModule>;
27
+ }
@@ -1,5 +1,4 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { PoThemeService } from '../../services/po-theme/po-theme.service';
3
2
  import { PoLanguageService } from '../../services/po-language/po-language.service';
4
3
  import { PoListViewAction } from './interfaces/po-list-view-action.interface';
5
4
  import { PoListViewLiterals } from './interfaces/po-list-view-literals.interface';
@@ -22,7 +21,6 @@ export declare const poListViewLiteralsDefault: {
22
21
  * através da diretiva **[p-list-view-detail-template](/documentation/po-list-view-detail-template)**.
23
22
  */
24
23
  export declare class PoListViewBaseComponent {
25
- protected poThemeService: PoThemeService;
26
24
  /** Recebe uma propriedade que será utilizada para recuperar o valor do objeto que será usado como link para o título. */
27
25
  propertyLink?: string;
28
26
  /** Recebe uma propriedade que será utilizada para recuperar o valor do objeto que será exibido como o título de cada item. */
@@ -183,7 +181,7 @@ export declare class PoListViewBaseComponent {
183
181
  */
184
182
  set showMoreDisabled(value: boolean);
185
183
  get showMoreDisabled(): boolean;
186
- constructor(languageService: PoLanguageService, poThemeService: PoThemeService);
184
+ constructor(languageService: PoLanguageService);
187
185
  onClickAction(listViewAction: PoListViewAction, item: any): void;
188
186
  onShowMore(): void;
189
187
  runTitleAction(listItem: any): void;
@@ -1,7 +1,5 @@
1
- import { AfterContentInit, ChangeDetectorRef, DoCheck, IterableDiffers } from '@angular/core';
2
- import { PoLanguageService } from '../../services/po-language/po-language.service';
1
+ import { AfterContentInit, DoCheck } from '@angular/core';
3
2
  import { PoPopupComponent } from '../po-popup/po-popup.component';
4
- import { PoThemeService } from '../../services/po-theme/po-theme.service';
5
3
  import { PoListViewAction } from './interfaces/po-list-view-action.interface';
6
4
  import { PoListViewBaseComponent } from './po-list-view-base.component';
7
5
  import { PoListViewContentTemplateDirective } from './po-list-view-content-template/po-list-view-content-template.directive';
@@ -30,12 +28,11 @@ import * as i0 from "@angular/core";
30
28
  */
31
29
  export declare class PoListViewComponent extends PoListViewBaseComponent implements AfterContentInit, DoCheck {
32
30
  private changeDetector;
33
- protected poThemeService: PoThemeService;
34
31
  listViewContentTemplate: PoListViewContentTemplateDirective;
35
32
  listViewDetailTemplate: PoListViewDetailTemplateDirective;
36
33
  poPopupComponent: PoPopupComponent;
37
34
  private differ;
38
- constructor(changeDetector: ChangeDetectorRef, differs: IterableDiffers, languageService: PoLanguageService, poThemeService: PoThemeService);
35
+ constructor();
39
36
  get hasContentTemplate(): boolean;
40
37
  get hasDetailTemplate(): boolean;
41
38
  get displayShowMoreButton(): boolean;
@@ -12,4 +12,5 @@ export interface PoListBoxLiterals {
12
12
  placeholderSearch?: string;
13
13
  /** Texto do checkbox para selecionar todos os itens. */
14
14
  selectAll?: string;
15
+ footerActionListbox?: string;
15
16
  }
@@ -104,9 +104,10 @@ export declare class PoItemListBaseComponent {
104
104
  activatedTab: EventEmitter<any>;
105
105
  set activeTabs(value: boolean);
106
106
  get activeTabs(): boolean;
107
+ keysLabel?: Array<string>;
107
108
  protected emitActiveTabs(tab: any): void;
108
109
  static ɵfac: i0.ɵɵFactoryDeclaration<PoItemListBaseComponent, never>;
109
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoItemListBaseComponent, never, never, { "type": { "alias": "p-type"; "required": false; }; "visible": { "alias": "p-visible"; "required": false; }; "item": { "alias": "p-item"; "required": false; }; "label": { "alias": "p-label"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "value": { "alias": "p-value"; "required": false; }; "danger": { "alias": "p-danger"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "selected": { "alias": "p-selected"; "required": false; }; "separator": { "alias": "p-separator"; "required": false; }; "icon": { "alias": "p-icon"; "required": false; }; "checkboxValue": { "alias": "p-checkbox-value"; "required": false; }; "fieldValue": { "alias": "p-field-value"; "required": false; }; "fieldLabel": { "alias": "p-field-label"; "required": false; }; "template": { "alias": "p-template"; "required": false; }; "templateContext": { "alias": "p-template-context"; "required": false; }; "searchValue": { "alias": "p-search-value"; "required": false; }; "filterMode": { "alias": "p-filter-mode"; "required": false; }; "isFiltering": { "alias": "p-filtering"; "required": false; }; "shouldMarkLetters": { "alias": "p-should-mark-letter"; "required": false; }; "compareCache": { "alias": "p-compare-cache"; "required": false; }; "comboService": { "alias": "p-combo-service"; "required": false; }; "isTabs": { "alias": "p-is-tabs"; "required": false; }; "tabHide": { "alias": "p-tab-hide"; "required": false; }; "activeTabs": { "alias": "p-active-tabs"; "required": false; }; }, { "clickItem": "p-click-item"; "checkboxItem": "p-selectcheckbox-item"; "comboItem": "p-selectcombo-item"; "tabsItem": "p-emit-item-tabs"; "activatedTab": "p-activated-tabs"; }, never, never, true, never>;
110
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoItemListBaseComponent, never, never, { "type": { "alias": "p-type"; "required": false; }; "visible": { "alias": "p-visible"; "required": false; }; "item": { "alias": "p-item"; "required": false; }; "label": { "alias": "p-label"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "value": { "alias": "p-value"; "required": false; }; "danger": { "alias": "p-danger"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "selected": { "alias": "p-selected"; "required": false; }; "separator": { "alias": "p-separator"; "required": false; }; "icon": { "alias": "p-icon"; "required": false; }; "checkboxValue": { "alias": "p-checkbox-value"; "required": false; }; "fieldValue": { "alias": "p-field-value"; "required": false; }; "fieldLabel": { "alias": "p-field-label"; "required": false; }; "template": { "alias": "p-template"; "required": false; }; "templateContext": { "alias": "p-template-context"; "required": false; }; "searchValue": { "alias": "p-search-value"; "required": false; }; "filterMode": { "alias": "p-filter-mode"; "required": false; }; "isFiltering": { "alias": "p-filtering"; "required": false; }; "shouldMarkLetters": { "alias": "p-should-mark-letter"; "required": false; }; "compareCache": { "alias": "p-compare-cache"; "required": false; }; "comboService": { "alias": "p-combo-service"; "required": false; }; "isTabs": { "alias": "p-is-tabs"; "required": false; }; "tabHide": { "alias": "p-tab-hide"; "required": false; }; "activeTabs": { "alias": "p-active-tabs"; "required": false; }; "keysLabel": { "alias": "p-keys-label"; "required": false; }; }, { "clickItem": "p-click-item"; "checkboxItem": "p-selectcheckbox-item"; "comboItem": "p-selectcombo-item"; "tabsItem": "p-emit-item-tabs"; "activatedTab": "p-activated-tabs"; }, never, never, true, never>;
110
111
  static ngAcceptInputType_danger: any;
111
112
  static ngAcceptInputType_selected: any;
112
113
  static ngAcceptInputType_separator: any;
@@ -4,12 +4,11 @@ import { PoItemListOption } from './interfaces/po-item-list-option.interface';
4
4
  import { PoItemListBaseComponent } from './po-item-list-base.component';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class PoItemListComponent extends PoItemListBaseComponent implements OnChanges {
7
- private sanitized;
7
+ protected sanitized: DomSanitizer;
8
8
  itemList: ElementRef;
9
9
  selectedView: PoItemListOption;
10
10
  protected param: any;
11
11
  protected clickListener: () => void;
12
- constructor(sanitized: DomSanitizer);
13
12
  private shouldUpdateSelected;
14
13
  ngOnChanges(changes: SimpleChanges): void;
15
14
  onCheckboxItem(): void;
@@ -2,7 +2,6 @@ import { EventEmitter, TemplateRef } from '@angular/core';
2
2
  import { PoLanguageService } from '../../services/po-language/po-language.service';
3
3
  import { PoItemListType } from './enums/po-item-list-type.enum';
4
4
  import { PoItemListAction } from './po-item-list/interfaces/po-item-list-action.interface';
5
- import { PoThemeService } from '../../services/po-theme/po-theme.service';
6
5
  import { PoItemListFilterMode } from './enums/po-item-list-filter-mode.enum';
7
6
  import { PoListBoxLiterals } from './interfaces/po-listbox-literals.interface';
8
7
  import { PoItemListOptionGroup } from './po-item-list/interfaces/po-item-list-option-group.interface';
@@ -19,7 +18,6 @@ export declare const poListBoxLiteralsDefault: {
19
18
  * O componente `po-listbox` é uma caixa suspensa que aparece sobre a interface após ser acionado por um gatilho visível em tela, como o dropdown. Ele apoia trazendo agrupamentos de opções. O componente listbox é composto pelo componente [**PO Item List**](/documentation/po-item-list).
20
19
  */
21
20
  export declare class PoListBoxBaseComponent {
22
- protected poThemeService: PoThemeService;
23
21
  private _items;
24
22
  private _type;
25
23
  private _literals;
@@ -68,12 +66,18 @@ export declare class PoListBoxBaseComponent {
68
66
  compareCache: boolean;
69
67
  comboService: any;
70
68
  containerWidth: number;
69
+ keysLabel: Array<string>;
70
+ footerActionListbox: boolean;
71
+ placeholderListbox: string;
72
+ separator: boolean;
71
73
  activatedTab: EventEmitter<any>;
72
74
  clickTab: EventEmitter<any>;
73
75
  changeStateTabs: EventEmitter<any>;
74
- constructor(languageService: PoLanguageService, poThemeService: PoThemeService);
76
+ clickItem: EventEmitter<any>;
77
+ footerActionListboxEvent: EventEmitter<any>;
78
+ constructor(languageService: PoLanguageService);
75
79
  static ɵfac: i0.ɵɵFactoryDeclaration<PoListBoxBaseComponent, never>;
76
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoListBoxBaseComponent, never, never, { "visible": { "alias": "p-visible"; "required": false; }; "type": { "alias": "p-type"; "required": false; }; "items": { "alias": "p-items"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "isTabs": { "alias": "p-is-tabs"; "required": false; }; "param": { "alias": "p-param"; "required": false; }; "checkboxAllValue": { "alias": "p-checkboxAllValue"; "required": false; }; "selectedOptions": { "alias": "p-selected-options"; "required": false; }; "selectedOption": { "alias": "p-selected-option"; "required": false; }; "fieldValue": { "alias": "p-field-value"; "required": false; }; "fieldLabel": { "alias": "p-field-label"; "required": false; }; "literalSearch": { "alias": "p-literal-search"; "required": false; }; "fieldValueSearch": { "alias": "p-field-value-search"; "required": false; }; "hideSearch": { "alias": "p-hide-search"; "required": false; }; "hideSelectAll": { "alias": "p-hide-select-all"; "required": false; }; "multiselectTemplate": { "alias": "p-multiselect-template"; "required": false; }; "template": { "alias": "p-template"; "required": false; }; "placeholderSearch": { "alias": "p-placeholder-search"; "required": false; }; "searchValue": { "alias": "p-search-value"; "required": false; }; "isServerSearching": { "alias": "p-is-searching"; "required": false; }; "infiniteLoading": { "alias": "p-infinite-loading"; "required": false; }; "infiniteScroll": { "alias": "p-infinite-scroll"; "required": false; }; "cache": { "alias": "p-cache"; "required": false; }; "infiniteScrollDistance": { "alias": "p-infinite-scroll-distance"; "required": false; }; "filterMode": { "alias": "p-filter-mode"; "required": false; }; "isFiltering": { "alias": "p-filtering"; "required": false; }; "shouldMarkLetters": { "alias": "p-should-mark-letter"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "compareCache": { "alias": "p-compare-cache"; "required": false; }; "comboService": { "alias": "p-combo-service"; "required": false; }; "containerWidth": { "alias": "p-container-width"; "required": false; }; }, { "selectItem": "p-select-item"; "closeEvent": "p-close"; "change": "p-change"; "selectCombo": "p-selectcombo-item"; "changeAll": "p-change-all"; "UpdateInfiniteScroll": "p-update-infinite-scroll"; "changeSearch": "p-change-search"; "activatedTab": "p-activated-tabs"; "clickTab": "p-click-tabs"; "changeStateTabs": "p-change-state-tabs"; }, never, never, true, never>;
80
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoListBoxBaseComponent, never, never, { "visible": { "alias": "p-visible"; "required": false; }; "type": { "alias": "p-type"; "required": false; }; "items": { "alias": "p-items"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "isTabs": { "alias": "p-is-tabs"; "required": false; }; "param": { "alias": "p-param"; "required": false; }; "checkboxAllValue": { "alias": "p-checkboxAllValue"; "required": false; }; "selectedOptions": { "alias": "p-selected-options"; "required": false; }; "selectedOption": { "alias": "p-selected-option"; "required": false; }; "fieldValue": { "alias": "p-field-value"; "required": false; }; "fieldLabel": { "alias": "p-field-label"; "required": false; }; "literalSearch": { "alias": "p-literal-search"; "required": false; }; "fieldValueSearch": { "alias": "p-field-value-search"; "required": false; }; "hideSearch": { "alias": "p-hide-search"; "required": false; }; "hideSelectAll": { "alias": "p-hide-select-all"; "required": false; }; "multiselectTemplate": { "alias": "p-multiselect-template"; "required": false; }; "template": { "alias": "p-template"; "required": false; }; "placeholderSearch": { "alias": "p-placeholder-search"; "required": false; }; "searchValue": { "alias": "p-search-value"; "required": false; }; "isServerSearching": { "alias": "p-is-searching"; "required": false; }; "infiniteLoading": { "alias": "p-infinite-loading"; "required": false; }; "infiniteScroll": { "alias": "p-infinite-scroll"; "required": false; }; "cache": { "alias": "p-cache"; "required": false; }; "infiniteScrollDistance": { "alias": "p-infinite-scroll-distance"; "required": false; }; "filterMode": { "alias": "p-filter-mode"; "required": false; }; "isFiltering": { "alias": "p-filtering"; "required": false; }; "shouldMarkLetters": { "alias": "p-should-mark-letter"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "compareCache": { "alias": "p-compare-cache"; "required": false; }; "comboService": { "alias": "p-combo-service"; "required": false; }; "containerWidth": { "alias": "p-container-width"; "required": false; }; "keysLabel": { "alias": "p-keys-label"; "required": false; }; "footerActionListbox": { "alias": "p-footer-action-listbox"; "required": false; }; "placeholderListbox": { "alias": "p-placeholder-listbox"; "required": false; }; "separator": { "alias": "p-separator"; "required": false; }; }, { "selectItem": "p-select-item"; "closeEvent": "p-close"; "change": "p-change"; "selectCombo": "p-selectcombo-item"; "changeAll": "p-change-all"; "UpdateInfiniteScroll": "p-update-infinite-scroll"; "changeSearch": "p-change-search"; "activatedTab": "p-activated-tabs"; "clickTab": "p-click-tabs"; "changeStateTabs": "p-change-state-tabs"; "clickItem": "p-click-item"; "footerActionListboxEvent": "p-footer-action-listbox-event"; }, never, never, true, never>;
77
81
  static ngAcceptInputType_visible: any;
78
82
  static ngAcceptInputType_isTabs: any;
79
83
  static ngAcceptInputType_isServerSearching: any;
@@ -1,17 +1,13 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, Renderer2, SimpleChanges } from '@angular/core';
2
- import { Router } from '@angular/router';
1
+ import { AfterViewInit, ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
3
2
  import { PoListBoxBaseComponent } from './po-listbox-base.component';
4
3
  import { PoItemListOptionGroup } from './po-item-list/interfaces/po-item-list-option-group.interface';
5
4
  import { PoItemListOption } from './po-item-list/interfaces/po-item-list-option.interface';
6
- import { PoLanguageService } from '../../services/po-language/po-language.service';
7
5
  import { PoSearchListComponent } from './po-search-list/po-search-list.component';
8
6
  import { Observable } from 'rxjs';
9
- import { PoThemeService } from '../../services/po-theme/po-theme.service';
10
7
  import * as i0 from "@angular/core";
11
8
  export declare class PoListBoxComponent extends PoListBoxBaseComponent implements AfterViewInit, OnChanges, OnDestroy {
12
- element: ElementRef;
9
+ element: ElementRef<any>;
13
10
  private readonly renderer;
14
- protected poThemeService: PoThemeService;
15
11
  private readonly router;
16
12
  private readonly changeDetector;
17
13
  listbox: ElementRef;
@@ -20,7 +16,7 @@ export declare class PoListBoxComponent extends PoListBoxBaseComponent implement
20
16
  popupHeaderContainer: ElementRef;
21
17
  private scrollEvent$;
22
18
  private subscriptionScrollEvent;
23
- constructor(element: ElementRef, renderer: Renderer2, languageService: PoLanguageService, poThemeService: PoThemeService, router: Router, changeDetector: ChangeDetectorRef);
19
+ constructor();
24
20
  ngAfterViewInit(): void;
25
21
  ngOnChanges(changes?: SimpleChanges): void;
26
22
  ngOnDestroy(): void;
@@ -47,13 +43,14 @@ export declare class PoListBoxComponent extends PoListBoxBaseComponent implement
47
43
  protected getSizeLoading(): "xs" | "sm" | "md";
48
44
  protected getTextLoading(): "" | " ";
49
45
  private hasInfiniteScroll;
50
- checkTemplate(): number;
46
+ checkTemplate(): number | true;
51
47
  private includeInfiniteScroll;
52
48
  protected returnBooleanValue(itemListAction: any, property: string): any;
53
49
  private setListBoxMaxHeight;
54
50
  private openUrl;
55
51
  onClickTabs(tab: any): void;
56
52
  formatItemList(item: any): string;
53
+ handleFooterActionListbox(): void;
57
54
  static ɵfac: i0.ɵɵFactoryDeclaration<PoListBoxComponent, never>;
58
55
  static ɵcmp: i0.ɵɵComponentDeclaration<PoListBoxComponent, "po-listbox", never, {}, {}, never, ["[p-popup-header-template]"], false, never>;
59
56
  }
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
1
+ import { ElementRef, EventEmitter } from '@angular/core';
2
2
  import { PoListBoxLiterals } from '../interfaces/po-listbox-literals.interface';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
@@ -21,7 +21,6 @@ export declare class PoSearchListComponent {
21
21
  private _placeholder?;
22
22
  initUp: boolean;
23
23
  initDown: boolean;
24
- constructor(cd: ChangeDetectorRef);
25
24
  /**
26
25
  * @optional
27
26
  *
@@ -1,5 +1,4 @@
1
1
  import { ChangeDetectorRef } from '@angular/core';
2
- import { PoLanguageService } from './../../../services/po-language/po-language.service';
3
2
  import { PoLoadingOverlayBaseComponent } from './po-loading-overlay-base.component';
4
3
  import * as i0 from "@angular/core";
5
4
  /**
@@ -25,7 +24,7 @@ import * as i0 from "@angular/core";
25
24
  */
26
25
  export declare class PoLoadingOverlayComponent extends PoLoadingOverlayBaseComponent {
27
26
  changeDetector: ChangeDetectorRef;
28
- constructor(changeDetector: ChangeDetectorRef, languageService: PoLanguageService);
27
+ constructor();
29
28
  static ɵfac: i0.ɵɵFactoryDeclaration<PoLoadingOverlayComponent, never>;
30
29
  static ɵcmp: i0.ɵɵComponentDeclaration<PoLoadingOverlayComponent, "po-loading-overlay", never, {}, {}, never, never, false, never>;
31
30
  }
@@ -1,4 +1,3 @@
1
- import { PoThemeService } from '../../services/po-theme/po-theme.service';
2
1
  import { PoLanguageService } from '../../services/po-language/po-language.service';
3
2
  import { PoMenuFilter } from './po-menu-filter/po-menu-filter.interface';
4
3
  import { PoMenuItem } from './po-menu-item.interface';
@@ -84,7 +83,6 @@ export declare abstract class PoMenuBaseComponent {
84
83
  menuGlobalService: PoMenuGlobalService;
85
84
  menuService: PoMenuService;
86
85
  languageService: PoLanguageService;
87
- protected poThemeService: PoThemeService;
88
86
  allowIcons: boolean;
89
87
  allowCollapseMenu: boolean;
90
88
  allowCollapseHover: boolean;
@@ -101,6 +99,7 @@ export declare abstract class PoMenuBaseComponent {
101
99
  private _params;
102
100
  private _service;
103
101
  private _logoLink;
102
+ private _menuId;
104
103
  /**
105
104
  * @optional
106
105
  *
@@ -243,6 +242,8 @@ export declare abstract class PoMenuBaseComponent {
243
242
  * caso ultrapassar esses valores a imagem será readequada no espaço disponível.
244
243
  */
245
244
  logo?: string;
245
+ set menuid(id: string);
246
+ get menuid(): string;
246
247
  /**
247
248
  * @optional
248
249
  *
@@ -271,6 +272,7 @@ export declare abstract class PoMenuBaseComponent {
271
272
  * - Caso não informar um valor, esta propriedade passa a assumir o valor informado na propriedade `p-logo`.
272
273
  */
273
274
  shortLogo: string;
275
+ onlyMenuItem: boolean;
274
276
  /**
275
277
  * @optional
276
278
  *
@@ -285,7 +287,7 @@ export declare abstract class PoMenuBaseComponent {
285
287
  */
286
288
  set logoLink(value: boolean | string);
287
289
  get logoLink(): boolean | string;
288
- constructor(menuGlobalService: PoMenuGlobalService, menuService: PoMenuService, languageService: PoLanguageService, poThemeService: PoThemeService);
290
+ constructor(menuGlobalService: PoMenuGlobalService, menuService: PoMenuService, languageService: PoLanguageService);
289
291
  protected setMenuExtraProperties(): void;
290
292
  protected setMenuItemProperties(menuItem: PoMenuItem): void;
291
293
  protected validateMenus(menus: any): void;
@@ -299,6 +301,6 @@ export declare abstract class PoMenuBaseComponent {
299
301
  protected abstract checkingRouterChildrenFragments(): any;
300
302
  protected abstract validateCollapseClass(): any;
301
303
  static ɵfac: i0.ɵɵFactoryDeclaration<PoMenuBaseComponent, never>;
302
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoMenuBaseComponent, never, never, { "automaticToggle": { "alias": "p-automatic-toggle"; "required": false; }; "collapsed": { "alias": "p-collapsed"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; "menus": { "alias": "p-menus"; "required": false; }; "filter": { "alias": "p-filter"; "required": false; }; "searchTreeItems": { "alias": "p-search-tree-items"; "required": false; }; "service": { "alias": "p-service"; "required": false; }; "params": { "alias": "p-params"; "required": false; }; "logo": { "alias": "p-logo"; "required": false; }; "logoAlt": { "alias": "p-logo-alt"; "required": false; }; "shortLogo": { "alias": "p-short-logo"; "required": false; }; "logoLink": { "alias": "p-logo-link"; "required": false; }; }, {}, never, never, true, never>;
304
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoMenuBaseComponent, never, never, { "automaticToggle": { "alias": "p-automatic-toggle"; "required": false; }; "collapsed": { "alias": "p-collapsed"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; "menus": { "alias": "p-menus"; "required": false; }; "filter": { "alias": "p-filter"; "required": false; }; "searchTreeItems": { "alias": "p-search-tree-items"; "required": false; }; "service": { "alias": "p-service"; "required": false; }; "params": { "alias": "p-params"; "required": false; }; "logo": { "alias": "p-logo"; "required": false; }; "menuid": { "alias": "p-menu-id"; "required": false; }; "logoAlt": { "alias": "p-logo-alt"; "required": false; }; "shortLogo": { "alias": "p-short-logo"; "required": false; }; "onlyMenuItem": { "alias": "p-only-menu-item"; "required": false; }; "logoLink": { "alias": "p-logo-link"; "required": false; }; }, {}, never, never, true, never>;
303
305
  static ngAcceptInputType_automaticToggle: any;
304
306
  }
@@ -23,7 +23,7 @@ export declare class PoMenuFilterComponent {
23
23
  inputFilterElement: ElementRef;
24
24
  filter: EventEmitter<any>;
25
25
  literals: any;
26
- constructor(languageService: PoLanguageService);
26
+ constructor();
27
27
  filterItems(search: string): void;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<PoMenuFilterComponent, never>;
29
29
  static ɵcmp: i0.ɵɵComponentDeclaration<PoMenuFilterComponent, "po-menu-filter", never, { "componentsSize": { "alias": "p-components-size"; "required": false; }; "loading": { "alias": "p-loading"; "required": false; }; "enableCollapse": { "alias": "p-enable-collapse"; "required": false; }; }, { "filter": "p-filter"; }, never, never, false, never>;
@@ -1,6 +1,5 @@
1
1
  import { ElementRef, OnDestroy, OnInit, TemplateRef } from '@angular/core';
2
2
  import { PoMenuItem } from '../po-menu-item.interface';
3
- import { PoMenuItemsService } from '../services/po-menu-items.service';
4
3
  import * as i0 from "@angular/core";
5
4
  /**
6
5
  * @docsPrivate
@@ -40,7 +39,6 @@ export declare class PoMenuItemComponent implements OnDestroy, OnInit {
40
39
  set subItems(subitems: Array<PoMenuItem>);
41
40
  get subItems(): Array<PoMenuItem>;
42
41
  get canShowBadge(): boolean;
43
- constructor(menuItemsService: PoMenuItemsService);
44
42
  ngOnDestroy(): void;
45
43
  ngOnInit(): void;
46
44
  clickMenuItem(event: any): void;
@@ -75,4 +75,7 @@ export interface PoMenuItem {
75
75
  /** Lista de sub-items, criando novos níveis dentro do menu. O número máximo de níveis do menu é igual a 4. */
76
76
  subItems?: Array<PoMenuItem>;
77
77
  id?: string;
78
+ level?: any;
79
+ badgeAlert?: any;
80
+ type?: any;
78
81
  }
@@ -1,13 +1,7 @@
1
- import { AfterViewInit, ChangeDetectorRef, DoCheck, ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
2
- import { Router } from '@angular/router';
3
- import { PoThemeService } from '../../services/po-theme/po-theme.service';
4
- import { PoLanguageService } from '../../services/po-language/po-language.service';
1
+ import { AfterViewInit, ChangeDetectorRef, DoCheck, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
5
2
  import { PoMenuBaseComponent } from './po-menu-base.component';
6
3
  import { PoMenuHeaderTemplateDirective } from './po-menu-header-template/po-menu-header-template.directive';
7
4
  import { PoMenuItem } from './po-menu-item.interface';
8
- import { PoMenuGlobalService } from './services/po-menu-global.service';
9
- import { PoMenuItemsService } from './services/po-menu-items.service';
10
- import { PoMenuService } from './services/po-menu.service';
11
5
  import * as i0 from "@angular/core";
12
6
  /**
13
7
  * @docsExtends PoMenuBaseComponent
@@ -91,13 +85,12 @@ import * as i0 from "@angular/core";
91
85
  * <file name="sample-po-menu-human-resources/sample-po-menu-human-resources.service.ts"> </file>
92
86
  * </example>
93
87
  */
94
- export declare class PoMenuComponent extends PoMenuBaseComponent implements AfterViewInit, OnDestroy, OnInit, DoCheck {
88
+ export declare class PoMenuComponent extends PoMenuBaseComponent implements AfterViewInit, OnDestroy, OnInit, DoCheck, OnChanges {
95
89
  changeDetector: ChangeDetectorRef;
96
90
  private element;
97
91
  private renderer;
98
92
  private router;
99
93
  private menuItemsService;
100
- protected poThemeService: PoThemeService;
101
94
  menuHeaderTemplate: PoMenuHeaderTemplateDirective;
102
95
  activeMenuItem: PoMenuItem;
103
96
  collapsedMobile: boolean;
@@ -108,13 +101,14 @@ export declare class PoMenuComponent extends PoMenuBaseComponent implements Afte
108
101
  mobileOpened: boolean;
109
102
  noData: boolean;
110
103
  timeoutFilter: any;
104
+ afterViewInitWasCalled: boolean;
111
105
  private filteringItems;
112
106
  private menuInitialized;
113
107
  private menuPrevious;
114
108
  private resizeListener;
115
109
  private itemSubscription;
116
110
  private routeSubscription;
117
- constructor(changeDetector: ChangeDetectorRef, element: ElementRef, renderer: Renderer2, router: Router, menuItemsService: PoMenuItemsService, menuGlobalService: PoMenuGlobalService, menuService: PoMenuService, languageService: PoLanguageService, poThemeService: PoThemeService);
111
+ constructor();
118
112
  private get isActiveItemMenuSubMenu();
119
113
  get enableCollapse(): boolean;
120
114
  get enableCollapseButton(): boolean;
@@ -123,6 +117,7 @@ export declare class PoMenuComponent extends PoMenuBaseComponent implements Afte
123
117
  ngDoCheck(): void;
124
118
  ngOnDestroy(): void;
125
119
  ngOnInit(): void;
120
+ ngOnChanges(changes: SimpleChanges): void;
126
121
  ngAfterViewInit(): void;
127
122
  activateMenuByUrl(urlPath: string, menus: Array<PoMenuItem>): any;
128
123
  checkActiveMenuByUrl(urlPath: string): void;
@@ -6,11 +6,17 @@ export declare class PoMenuGlobalService {
6
6
  private applicationMenu;
7
7
  private menus;
8
8
  private removedApplicationMenu;
9
+ private menuId;
10
+ private menuChanges;
9
11
  receiveApplicationMenu$: Observable<PoMenuComponent>;
10
12
  receiveMenus$: Observable<PoMenuItem[]>;
13
+ receiveId$: Observable<string>;
14
+ receiveOnChange$: Observable<PoMenuItem[]>;
11
15
  receiveRemovedApplicationMenu$: Observable<string>;
12
16
  sendApplicationMenu(menu: PoMenuComponent): void;
13
17
  sendMenus(menus: Array<PoMenuItem>): void;
18
+ sendId(id: string): void;
19
+ sendChanges(menus: Array<PoMenuItem>): void;
14
20
  sendRemovedApplicationMenu(id: string): void;
15
21
  static ɵfac: i0.ɵɵFactoryDeclaration<PoMenuGlobalService, never>;
16
22
  static ɵprov: i0.ɵɵInjectableDeclaration<PoMenuGlobalService>;
@@ -1,4 +1,3 @@
1
- import { HttpClient } from '@angular/common/http';
2
1
  import { Observable } from 'rxjs';
3
2
  import { PoMenuItemFiltered } from '../po-menu-item/po-menu-item-filtered.interface';
4
3
  import { PoMenuFilter } from '../po-menu-filter/po-menu-filter.interface';
@@ -15,7 +14,6 @@ export declare class PoMenuService implements PoMenuFilter {
15
14
  private http;
16
15
  private _url;
17
16
  get url(): string;
18
- constructor(http: HttpClient);
19
17
  configProperties(url: string): void;
20
18
  getFilteredData(search: string, params?: any): Observable<Array<PoMenuItemFiltered>>;
21
19
  static ɵfac: i0.ɵɵFactoryDeclaration<PoMenuService, never>;
@@ -1,7 +1,6 @@
1
1
  import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { Subscription } from 'rxjs';
3
3
  import { PoMenuPanelItemInternal } from './po-menu-panel-item-internal.interface';
4
- import { PoMenuPanelItemsService } from '../services/po-menu-panel-items.service';
5
4
  import * as i0 from "@angular/core";
6
5
  /**
7
6
  * @docsPrivate
@@ -14,7 +13,6 @@ export declare class PoMenuPanelItemComponent implements OnDestroy, OnInit {
14
13
  private menuItemsService;
15
14
  menuItemInternal: PoMenuPanelItemInternal;
16
15
  itemsSubscription: Subscription;
17
- constructor(menuItemsService: PoMenuPanelItemsService);
18
16
  ngOnDestroy(): void;
19
17
  ngOnInit(): void;
20
18
  clickMenuItem(event: any): void;
@@ -1,9 +1,6 @@
1
- import { Location } from '@angular/common';
2
- import { OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
3
- import { Router } from '@angular/router';
1
+ import { OnDestroy, OnInit } from '@angular/core';
4
2
  import { PoMenuPanelBaseComponent } from './po-menu-panel-base.component';
5
3
  import { PoMenuPanelItem } from './po-menu-panel-item/po-menu-panel-item.interface';
6
- import { PoMenuPanelItemsService } from './services/po-menu-panel-items.service';
7
4
  import * as i0 from "@angular/core";
8
5
  /**
9
6
  * @docsExtends PoMenuPanelBaseComponent
@@ -80,7 +77,6 @@ export declare class PoMenuPanelComponent extends PoMenuPanelBaseComponent imple
80
77
  linkActive: string;
81
78
  private routeSubscription;
82
79
  private itemSubscription;
83
- constructor(viewRef: ViewContainerRef, location: Location, menuItemsService: PoMenuPanelItemsService, router: Router);
84
80
  ngOnDestroy(): void;
85
81
  ngOnInit(): void;
86
82
  private activateMenuByUrl;
@@ -1,6 +1,5 @@
1
1
  import { EventEmitter, TemplateRef } from '@angular/core';
2
2
  import { PoModalAction } from './po-modal-action.interface';
3
- import { PoThemeService } from '../../services/po-theme/po-theme.service';
4
3
  import { PoLanguageService } from '../../services/po-language/po-language.service';
5
4
  import * as i0 from "@angular/core";
6
5
  /**
@@ -41,7 +40,6 @@ import * as i0 from "@angular/core";
41
40
  *
42
41
  */
43
42
  export declare class PoModalBaseComponent {
44
- protected poThemeService: PoThemeService;
45
43
  /** Título da modal. */
46
44
  title: string;
47
45
  /** Evento disparado ao fechar o modal. */
@@ -136,7 +134,7 @@ export declare class PoModalBaseComponent {
136
134
  * ```
137
135
  */
138
136
  icon?: string | TemplateRef<void>;
139
- constructor(poLanguageService: PoLanguageService, poThemeService: PoThemeService);
137
+ constructor(poLanguageService: PoLanguageService);
140
138
  /** Função para fechar a modal. */
141
139
  close(xClosed?: boolean): void;
142
140
  /** Função para abrir a modal. */
@@ -1,9 +1,6 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  import { PoModalBaseComponent } from './po-modal-base.component';
3
3
  import { PoModalFooterComponent } from './po-modal-footer/po-modal-footer.component';
4
- import { PoThemeService } from '../../services/po-theme/po-theme.service';
5
- import { PoActiveOverlayService } from '../../services/po-active-overlay/po-active-overlay.service';
6
- import { PoLanguageService } from '../../services/po-language/po-language.service';
7
4
  import * as i0 from "@angular/core";
8
5
  /**
9
6
  * @docsExtends PoModalBaseComponent
@@ -27,7 +24,6 @@ import * as i0 from "@angular/core";
27
24
  */
28
25
  export declare class PoModalComponent extends PoModalBaseComponent {
29
26
  private poActiveOverlayService;
30
- protected poThemeService: PoThemeService;
31
27
  modalContent: ElementRef;
32
28
  modalContainer: ElementRef;
33
29
  modalFooter: PoModalFooterComponent;
@@ -36,7 +32,7 @@ export declare class PoModalComponent extends PoModalBaseComponent {
36
32
  private focusableElements;
37
33
  private id;
38
34
  private sourceElement;
39
- constructor(poActiveOverlayService: PoActiveOverlayService, poLanguageService: PoLanguageService, poThemeService: PoThemeService);
35
+ constructor();
40
36
  close(xClosed?: boolean): void;
41
37
  closeModalOnEscapeKey(event: any): void;
42
38
  getSecondaryActionButtonDanger(): "true" | "false";
@@ -1,5 +1,4 @@
1
- import { TemplateRef, ViewContainerRef } from '@angular/core';
2
- import { Router } from '@angular/router';
1
+ import { TemplateRef } from '@angular/core';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class PoNavbarActionComponent {
5
4
  private router;
@@ -8,7 +7,6 @@ export declare class PoNavbarActionComponent {
8
7
  label: string;
9
8
  link?: string;
10
9
  tooltip?: string;
11
- constructor(viewContainerRef: ViewContainerRef, router: Router);
12
10
  click(): void | Promise<boolean>;
13
11
  private openUrl;
14
12
  static ɵfac: i0.ɵɵFactoryDeclaration<PoNavbarActionComponent, never>;
@@ -1,5 +1,4 @@
1
1
  import { ElementRef, OnDestroy, OnInit, QueryList } from '@angular/core';
2
- import { Router } from '@angular/router';
3
2
  import { PoNavbarItem } from '../interfaces/po-navbar-item.interface';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class PoNavbarItemsComponent implements OnInit, OnDestroy {
@@ -9,7 +8,6 @@ export declare class PoNavbarItemsComponent implements OnInit, OnDestroy {
9
8
  items: Array<PoNavbarItem>;
10
9
  selectedItem: PoNavbarItem;
11
10
  private routeSubscription;
12
- constructor(router: Router);
13
11
  ngOnDestroy(): void;
14
12
  ngOnInit(): void;
15
13
  private checkActiveItemByUrl;