@po-ui/ng-components 19.23.0 → 19.25.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 (193) 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 +38380 -36819
  4. package/fesm2022/po-ui-ng-components.mjs.map +1 -1
  5. package/lib/components/components.module.d.ts +15 -13
  6. package/lib/components/index.d.ts +2 -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-context-tabs/index.d.ts +3 -0
  21. package/lib/components/po-context-tabs/po-context-tab-button/po-context-tab-button.component.d.ts +26 -0
  22. package/lib/components/po-context-tabs/po-context-tabs.component.d.ts +81 -0
  23. package/lib/components/po-context-tabs/po-context-tabs.module.d.ts +16 -0
  24. package/lib/components/po-disclaimer-group/po-disclaimer-group.component.d.ts +2 -4
  25. package/lib/components/po-dropdown/po-dropdown-base.component.d.ts +0 -3
  26. package/lib/components/po-dropdown/po-dropdown.component.d.ts +1 -4
  27. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-base.component.d.ts +0 -3
  28. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields-base.component.d.ts +1 -3
  29. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields.component.d.ts +2 -7
  30. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-load/po-dynamic-form-load.service.d.ts +1 -2
  31. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-validation/po-dynamic-form-validation.service.d.ts +1 -2
  32. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form.component.d.ts +1 -3
  33. package/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view.component.d.ts +1 -6
  34. package/lib/components/po-dynamic/po-dynamic-view/services/po-dynamic-view.service.d.ts +1 -2
  35. package/lib/components/po-field/po-checkbox/po-checkbox-base.component.d.ts +0 -3
  36. package/lib/components/po-field/po-checkbox/po-checkbox.component.d.ts +3 -7
  37. package/lib/components/po-field/po-checkbox-group/po-checkbox-group-base.component.d.ts +0 -3
  38. package/lib/components/po-field/po-checkbox-group/po-checkbox-group.component.d.ts +1 -4
  39. package/lib/components/po-field/po-combo/po-combo-base.component.d.ts +1 -3
  40. package/lib/components/po-field/po-combo/po-combo-filter.service.d.ts +1 -2
  41. package/lib/components/po-field/po-combo/po-combo.component.d.ts +3 -8
  42. package/lib/components/po-field/po-datepicker/po-datepicker-base.component.d.ts +1 -3
  43. package/lib/components/po-field/po-datepicker/po-datepicker.component.d.ts +2 -8
  44. package/lib/components/po-field/po-datepicker-range/po-datepicker-range-base.component.d.ts +1 -3
  45. package/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.d.ts +2 -8
  46. package/lib/components/po-field/po-decimal/po-decimal.component.d.ts +2 -5
  47. package/lib/components/po-field/po-email/po-email.component.d.ts +2 -4
  48. package/lib/components/po-field/po-field-container/po-field-container.component.d.ts +1 -2
  49. package/lib/components/po-field/po-input/po-input-base.component.d.ts +1 -3
  50. package/lib/components/po-field/po-input/po-input.component.d.ts +2 -4
  51. package/lib/components/po-field/po-input-generic/po-input-generic.d.ts +1 -3
  52. package/lib/components/po-field/po-login/po-login.component.d.ts +1 -4
  53. package/lib/components/po-field/po-lookup/po-lookup-base.component.d.ts +1 -3
  54. package/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal.component.d.ts +2 -3
  55. package/lib/components/po-field/po-lookup/po-lookup.component.d.ts +2 -7
  56. package/lib/components/po-field/po-lookup/services/po-lookup-modal.service.d.ts +0 -2
  57. package/lib/components/po-field/po-multiselect/po-multiselect-base.component.d.ts +1 -3
  58. package/lib/components/po-field/po-multiselect/po-multiselect-dropdown/po-multiselect-dropdown.component.d.ts +1 -2
  59. package/lib/components/po-field/po-multiselect/po-multiselect-filter.service.d.ts +0 -2
  60. package/lib/components/po-field/po-multiselect/po-multiselect.component.d.ts +2 -6
  61. package/lib/components/po-field/po-number/po-number-base.component.d.ts +1 -3
  62. package/lib/components/po-field/po-number/po-number.component.d.ts +1 -4
  63. package/lib/components/po-field/po-password/po-password.component.d.ts +1 -4
  64. package/lib/components/po-field/po-radio/po-radio.component.d.ts +1 -4
  65. package/lib/components/po-field/po-radio-group/po-radio-group-base.component.d.ts +0 -3
  66. package/lib/components/po-field/po-radio-group/po-radio-group.component.d.ts +2 -4
  67. package/lib/components/po-field/po-rich-text/po-rich-text-base.component.d.ts +1 -3
  68. package/lib/components/po-field/po-rich-text/po-rich-text-body/po-rich-text-body.component.d.ts +0 -2
  69. package/lib/components/po-field/po-rich-text/po-rich-text-image-modal/po-rich-text-image-modal.component.d.ts +1 -2
  70. package/lib/components/po-field/po-rich-text/po-rich-text-link-modal/po-rich-text-link-modal.component.d.ts +1 -2
  71. package/lib/components/po-field/po-rich-text/po-rich-text-toolbar/po-rich-text-toolbar.component.d.ts +1 -2
  72. package/lib/components/po-field/po-rich-text/po-rich-text.component.d.ts +2 -5
  73. package/lib/components/po-field/po-select/po-select.component.d.ts +3 -7
  74. package/lib/components/po-field/po-switch/po-switch.component.d.ts +1 -4
  75. package/lib/components/po-field/po-textarea/po-textarea-base.component.d.ts +1 -3
  76. package/lib/components/po-field/po-textarea/po-textarea.component.d.ts +2 -4
  77. package/lib/components/po-field/po-upload/po-upload-base.component.d.ts +1 -3
  78. package/lib/components/po-field/po-upload/po-upload-base.service.d.ts +0 -2
  79. 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
  80. 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
  81. package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.component.d.ts +1 -2
  82. package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.directive.d.ts +0 -3
  83. package/lib/components/po-field/po-upload/po-upload-file-restrictions/po-upload-file-restrictions.component.d.ts +2 -3
  84. package/lib/components/po-field/po-upload/po-upload.component.d.ts +2 -8
  85. package/lib/components/po-field/po-url/po-url.component.d.ts +2 -4
  86. package/lib/components/po-grid/po-grid-cell/po-grid-cell.component.d.ts +1 -2
  87. package/lib/components/po-grid/po-grid.component.d.ts +2 -2
  88. package/lib/components/po-header/index.d.ts +7 -0
  89. package/lib/components/po-header/interfaces/po-header-action-tool.interface.d.ts +138 -0
  90. package/lib/components/po-header/interfaces/po-header-actions.interface.d.ts +49 -0
  91. package/lib/components/po-header/interfaces/po-header-brand.interface.d.ts +59 -0
  92. package/lib/components/po-header/interfaces/po-header-literals.interface.d.ts +13 -0
  93. package/lib/components/po-header/interfaces/po-header-user.interface.d.ts +74 -0
  94. package/lib/components/po-header/po-header-base.component.d.ts +266 -0
  95. package/lib/components/po-header/po-header-brand/po-header-brand.component.d.ts +27 -0
  96. package/lib/components/po-header/po-header-customer/po-header-customer.component.d.ts +32 -0
  97. package/lib/components/po-header/po-header-menu-item/po-header-menu-item.component.d.ts +50 -0
  98. package/lib/components/po-header/po-header-tools/po-header-tools.component.d.ts +31 -0
  99. package/lib/components/po-header/po-header.component.d.ts +83 -0
  100. package/lib/components/po-header/po-header.module.d.ts +27 -0
  101. package/lib/components/po-list-view/po-list-view-base.component.d.ts +1 -3
  102. package/lib/components/po-list-view/po-list-view.component.d.ts +2 -5
  103. package/lib/components/po-listbox/po-item-list/po-item-list.component.d.ts +1 -2
  104. package/lib/components/po-listbox/po-listbox-base.component.d.ts +3 -4
  105. package/lib/components/po-listbox/po-listbox.component.d.ts +3 -7
  106. package/lib/components/po-listbox/po-search-list/po-search-list.component.d.ts +1 -2
  107. package/lib/components/po-loading/po-loading-overlay/po-loading-overlay.component.d.ts +1 -2
  108. package/lib/components/po-menu/po-menu-base.component.d.ts +6 -4
  109. package/lib/components/po-menu/po-menu-filter/po-menu-filter.component.d.ts +1 -1
  110. package/lib/components/po-menu/po-menu-item/po-menu-item.component.d.ts +0 -2
  111. package/lib/components/po-menu/po-menu-item.interface.d.ts +3 -0
  112. package/lib/components/po-menu/po-menu.component.d.ts +5 -10
  113. package/lib/components/po-menu/services/po-menu-global.service.d.ts +6 -0
  114. package/lib/components/po-menu/services/po-menu.service.d.ts +0 -2
  115. package/lib/components/po-menu-panel/po-menu-panel-item/po-menu-panel-item.component.d.ts +0 -2
  116. package/lib/components/po-menu-panel/po-menu-panel.component.d.ts +1 -5
  117. package/lib/components/po-modal/po-modal-base.component.d.ts +1 -3
  118. package/lib/components/po-modal/po-modal.component.d.ts +1 -5
  119. package/lib/components/po-navbar/po-navbar-actions/po-navbar-action/po-navbar-action.component.d.ts +1 -3
  120. package/lib/components/po-navbar/po-navbar-items/po-navbar-items.component.d.ts +0 -2
  121. package/lib/components/po-navbar/po-navbar.component.d.ts +2 -5
  122. package/lib/components/po-page/po-page-content/po-page-content.component.d.ts +1 -1
  123. package/lib/components/po-page/po-page-default/po-page-default-base.component.d.ts +1 -3
  124. package/lib/components/po-page/po-page-default/po-page-default.component.d.ts +2 -6
  125. package/lib/components/po-page/po-page-detail/po-page-detail-base.component.d.ts +1 -3
  126. package/lib/components/po-page/po-page-edit/po-page-edit-base.component.d.ts +1 -3
  127. package/lib/components/po-page/po-page-list/po-page-list-base.component.d.ts +1 -3
  128. package/lib/components/po-page/po-page-list/po-page-list.component.d.ts +2 -6
  129. package/lib/components/po-page/po-page-slide/po-page-slide-base.component.d.ts +0 -3
  130. package/lib/components/po-page/po-page-slide/po-page-slide.component.d.ts +1 -5
  131. package/lib/components/po-popover/po-popover.component.d.ts +5 -2
  132. package/lib/components/po-popup/po-popup-base.component.d.ts +2 -4
  133. package/lib/components/po-popup/po-popup.component.d.ts +2 -6
  134. package/lib/components/po-progress/po-progress-base.component.d.ts +0 -3
  135. package/lib/components/po-progress/po-progress.component.d.ts +0 -3
  136. package/lib/components/po-search/enums/po-search-filter-mode.enum.d.ts +1 -1
  137. package/lib/components/po-search/index.d.ts +1 -1
  138. package/lib/components/po-search/interfaces/po-search-filter-select.interface.d.ts +1 -5
  139. package/lib/components/po-search/interfaces/po-search-locate-summary.interface.d.ts +13 -0
  140. package/lib/components/po-search/literals/po-search-literals-default.d.ts +1 -1
  141. package/lib/components/po-search/literals/po-search-literals.interface.d.ts +43 -0
  142. package/lib/components/po-search/po-search-base.component.d.ts +172 -79
  143. package/lib/components/po-search/po-search.component.d.ts +27 -9
  144. package/lib/components/po-slide/po-slide.component.d.ts +0 -2
  145. package/lib/components/po-stepper/po-step/po-step.component.d.ts +1 -2
  146. package/lib/components/po-stepper/po-stepper-label/po-stepper-label.component.d.ts +1 -2
  147. package/lib/components/po-stepper/po-stepper.component.d.ts +1 -2
  148. package/lib/components/po-table/po-table-base.component.d.ts +1 -3
  149. package/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.d.ts +1 -3
  150. package/lib/components/po-table/po-table-detail/po-table-detail.component.d.ts +1 -3
  151. package/lib/components/po-table/po-table-list-manager/po-table-list-manager.component.d.ts +2 -4
  152. package/lib/components/po-table/po-table.component.d.ts +2 -4
  153. package/lib/components/po-tabs/index.d.ts +2 -0
  154. package/lib/components/po-tabs/po-tab/po-tab-base.component.d.ts +28 -2
  155. package/lib/components/po-tabs/po-tab/po-tab.component.d.ts +3 -3
  156. package/lib/components/po-tabs/po-tab/po-tab.interface.d.ts +23 -0
  157. package/lib/components/po-tabs/po-tab-button/po-tab-button.component.d.ts +1 -2
  158. package/lib/components/po-tabs/po-tab-dropdown/po-tab-dropdown.component.d.ts +0 -1
  159. package/lib/components/po-tabs/po-tabs-base.component.d.ts +1 -19
  160. package/lib/components/po-tabs/po-tabs.component.d.ts +26 -9
  161. package/lib/components/po-tabs/po-tabs.module.d.ts +1 -1
  162. package/lib/components/po-tabs/po-tabs.service.d.ts +2 -2
  163. package/lib/components/po-tag/po-tag.component.d.ts +1 -2
  164. package/lib/components/po-toaster/po-toaster-base.component.d.ts +0 -3
  165. package/lib/components/po-toaster/po-toaster.component.d.ts +3 -6
  166. package/lib/components/po-toolbar/po-toolbar-notification/po-toolbar-notification.component.d.ts +1 -2
  167. package/lib/components/po-toolbar/po-toolbar.component.d.ts +1 -3
  168. package/lib/components/po-tree-view/po-tree-view-base.component.d.ts +0 -3
  169. package/lib/components/po-tree-view/po-tree-view-item/po-tree-view-item.component.d.ts +0 -2
  170. package/lib/components/po-tree-view/po-tree-view.component.d.ts +0 -4
  171. package/lib/components/po-widget/po-widget-base.component.d.ts +0 -3
  172. package/lib/components/po-widget/po-widget.component.d.ts +3 -3
  173. package/lib/services/po-dialog/po-dialog.component.d.ts +1 -3
  174. package/lib/services/po-notification/po-notification-base.service.d.ts +0 -3
  175. package/lib/services/po-notification/po-notification.service.d.ts +1 -3
  176. package/lib/utils/util.d.ts +25 -0
  177. package/package.json +4 -4
  178. package/po-ui-ng-components-19.25.0.tgz +0 -0
  179. package/schematics/ng-add/index.js +1 -1
  180. package/schematics/ng-update/v14/index.js +1 -1
  181. package/schematics/ng-update/v15/index.js +1 -1
  182. package/schematics/ng-update/v16/index.js +1 -1
  183. package/schematics/ng-update/v17/index.js +1 -1
  184. package/schematics/ng-update/v18/index.js +2 -2
  185. package/schematics/ng-update/v19/index.js +2 -2
  186. package/schematics/ng-update/v2/index.js +1 -1
  187. package/schematics/ng-update/v3/index.js +1 -1
  188. package/schematics/ng-update/v4/index.js +1 -1
  189. package/schematics/ng-update/v5/index.js +1 -1
  190. package/schematics/ng-update/v6/index.js +1 -1
  191. package/fesm2022/po-ui-ng-components-po-chart-modal-table.component-mSWyBcer.mjs.map +0 -1
  192. package/lib/components/po-search/literals/po-search-literals.d.ts +0 -32
  193. package/po-ui-ng-components-19.23.0.tgz +0 -0
@@ -1,5 +1,4 @@
1
1
  import { ChangeDetectorRef } from '@angular/core';
2
- import { PoThemeService } from '../../../services';
3
2
  import { PoLanguageService } from '../../../services/po-language/po-language.service';
4
3
  import { PoCheckboxGroupComponent } from '../../po-field/po-checkbox-group/po-checkbox-group.component';
5
4
  import { PoTableColumn } from '../interfaces/po-table-column.interface';
@@ -32,7 +31,6 @@ export declare const poTableListManagerLiterals: {
32
31
  };
33
32
  type Direction = 'up' | 'down';
34
33
  export declare class PoTableListManagerComponent extends PoCheckboxGroupComponent {
35
- protected poThemeService: PoThemeService;
36
34
  private _componentsSize?;
37
35
  private _iconToken;
38
36
  private changePosition;
@@ -59,7 +57,7 @@ export declare class PoTableListManagerComponent extends PoCheckboxGroupComponen
59
57
  get iconNameLib(): string;
60
58
  constructor(languageService: PoLanguageService, changeDetector: ChangeDetectorRef, value: {
61
59
  [key: string]: string;
62
- }, poThemeService: PoThemeService);
60
+ });
63
61
  emitChangePosition(option: any, direction: Direction): void;
64
62
  verifyArrowDisabled(option: any, direction: Direction): boolean;
65
63
  emitFixed(option: any): void;
@@ -67,7 +65,7 @@ export declare class PoTableListManagerComponent extends PoCheckboxGroupComponen
67
65
  existedFixedItem(): boolean;
68
66
  checksIfHasFiveFixed(option: any): boolean;
69
67
  clickSwitch(option: any): void;
70
- static ɵfac: i0.ɵɵFactoryDeclaration<PoTableListManagerComponent, [null, null, { optional: true; }, null]>;
68
+ static ɵfac: i0.ɵɵFactoryDeclaration<PoTableListManagerComponent, [null, null, { optional: true; }]>;
71
69
  static ɵcmp: i0.ɵɵComponentDeclaration<PoTableListManagerComponent, "po-table-list-manager", never, { "columnsManager": { "alias": "p-columns-manager"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; "hideActionFixedColumns": { "alias": "p-hide-action-fixed-columns"; "required": false; }; }, { "changePosition": "p-change-position"; "changeColumnFixed": "p-change-fixed"; }, never, never, false, never>;
72
70
  static ngAcceptInputType_hideActionFixedColumns: any;
73
71
  }
@@ -8,7 +8,6 @@ import { PoNotificationService } from '../../services/po-notification/po-notific
8
8
  import { PoModalAction, PoModalComponent } from '../po-modal';
9
9
  import { PoPopupComponent } from '../po-popup/po-popup.component';
10
10
  import { PoTableColumnLabel } from './po-table-column-label/po-table-column-label.interface';
11
- import { PoThemeService } from '../../services/po-theme/po-theme.service';
12
11
  import { PoTableAction } from './interfaces/po-table-action.interface';
13
12
  import { PoTableColumn } from './interfaces/po-table-column.interface';
14
13
  import { PoTableBaseComponent, QueryParamsType } from './po-table-base.component';
@@ -72,7 +71,6 @@ import * as i0 from "@angular/core";
72
71
  * </example>
73
72
  */
74
73
  export declare class PoTableComponent extends PoTableBaseComponent implements AfterViewInit, DoCheck, OnDestroy, OnInit {
75
- protected poThemeService: PoThemeService;
76
74
  private changeDetector;
77
75
  private decimalPipe;
78
76
  private defaultService;
@@ -130,7 +128,7 @@ export declare class PoTableComponent extends PoTableBaseComponent implements Af
130
128
  set columnManagerTargetFixed(value: ElementRef);
131
129
  get columnManagerTargetFixed(): ElementRef;
132
130
  get iconNameLib(): string;
133
- constructor(poDate: PoDateService, differs: IterableDiffers, renderer: Renderer2, poLanguageService: PoLanguageService, poThemeService: PoThemeService, changeDetector: ChangeDetectorRef, decimalPipe: DecimalPipe, defaultService: PoTableService, value: {
131
+ constructor(poDate: PoDateService, differs: IterableDiffers, renderer: Renderer2, poLanguageService: PoLanguageService, changeDetector: ChangeDetectorRef, decimalPipe: DecimalPipe, defaultService: PoTableService, value: {
134
132
  [key: string]: string;
135
133
  });
136
134
  get hasRowTemplateWithArrowDirectionRight(): boolean;
@@ -304,6 +302,6 @@ export declare class PoTableComponent extends PoTableBaseComponent implements Af
304
302
  private setTableOpacity;
305
303
  private verifyChangeHeightInFooter;
306
304
  private toggleSelect;
307
- static ɵfac: i0.ɵɵFactoryDeclaration<PoTableComponent, [null, null, null, null, null, null, null, null, { optional: true; }]>;
305
+ static ɵfac: i0.ɵɵFactoryDeclaration<PoTableComponent, [null, null, null, null, null, null, null, { optional: true; }]>;
308
306
  static ɵcmp: i0.ɵɵComponentDeclaration<PoTableComponent, "po-table", never, {}, {}, ["tableRowTemplate", "tableCellTemplate", "tableColumnTemplates"], never, false, never>;
309
307
  }
@@ -2,4 +2,6 @@ export * from './po-tab/po-tab.component';
2
2
  export * from './po-tab/po-tab.interface';
3
3
  export * from './po-tabs.component';
4
4
  export * from './po-tabs.service';
5
+ export * from './po-tab-button/po-tab-button.component';
6
+ export * from './po-tab-dropdown/po-tab-dropdown.component';
5
7
  export * from './po-tabs.module';
@@ -8,13 +8,36 @@ import * as i0 from "@angular/core";
8
8
  * Com este componente é possível atribuir um rótulo para auxiliar na identificação do conteúdo, ativar para que o mesmo seja exibido,
9
9
  * desabilitar para impossibilitar o acesso, bem como ocultar para indisponibilizar a aba.
10
10
  *
11
- * > Para controlar a navegação entre diversas abas, utilizar o componente [`po-tabs`](/documentation/po-tabs).
11
+ * > Para controlar a navegação entre diversas abas, utilizar o componente [`po-tabs`](/documentation/po-tabs) ou [`po-context-tabs`](/documentation/po-context-tabs).
12
12
  */
13
13
  export declare abstract class PoTabBaseComponent {
14
14
  /** Rótulo da aba. */
15
15
  label: string;
16
+ /**
17
+ * @optional
18
+ *
19
+ * @description
20
+ *
21
+ * Esconde o botão de fechar a aba.
22
+ *
23
+ * > Atenção: Propriedade disponível somente no `po-context-tabs`.
24
+ *
25
+ * @default `false`
26
+ */
27
+ hideClose: boolean;
16
28
  /** Método disparado ao clicar na aba. */
17
29
  click: EventEmitter<any>;
30
+ /**
31
+ * @optional
32
+ *
33
+ * @description
34
+ *
35
+ * Evento disparado ao clicar no botão de fechar a aba.
36
+ *
37
+ * > Atenção: Propriedade disponível somente no `po-context-tabs`.
38
+ *
39
+ */
40
+ closeTab: EventEmitter<any>;
18
41
  id?: string;
19
42
  private _active?;
20
43
  private _disabled?;
@@ -51,11 +74,14 @@ export declare abstract class PoTabBaseComponent {
51
74
  *
52
75
  * Oculta a aba.
53
76
  *
77
+ * > Atenção: Para correto funcionamento do componente, indicamos essa propriedade para esconder e exibir e não *ngIf.
78
+ *
54
79
  * @default `false`
55
80
  */
56
81
  set hide(hide: boolean);
57
82
  get hide(): boolean;
58
83
  protected abstract setDisplayOnActive(): any;
59
84
  static ɵfac: i0.ɵɵFactoryDeclaration<PoTabBaseComponent, never>;
60
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoTabBaseComponent, never, never, { "label": { "alias": "p-label"; "required": false; }; "active": { "alias": "p-active"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "hide": { "alias": "p-hide"; "required": false; }; }, { "click": "p-click"; }, never, never, true, never>;
85
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoTabBaseComponent, never, never, { "label": { "alias": "p-label"; "required": false; }; "hideClose": { "alias": "p-hide-close"; "required": false; }; "active": { "alias": "p-active"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "hide": { "alias": "p-hide"; "required": false; }; }, { "click": "p-click"; "closeTab": "p-close-tab"; }, never, never, true, never>;
86
+ static ngAcceptInputType_hideClose: any;
61
87
  }
@@ -1,14 +1,14 @@
1
1
  import { AfterContentInit, ElementRef, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { PoTabBaseComponent } from './po-tab-base.component';
3
- import { PoTabsService } from '../po-tabs.service';
4
3
  import * as i0 from "@angular/core";
5
4
  /**
6
5
  * @docsExtends PoTabBaseComponent
7
6
  */
8
7
  export declare class PoTabComponent extends PoTabBaseComponent implements AfterContentInit, OnChanges {
9
- private elementRef;
8
+ elementRef: ElementRef<any>;
10
9
  private tabsService;
11
- constructor(elementRef: ElementRef, tabsService: PoTabsService);
10
+ removed: boolean;
11
+ showTooltip: boolean;
12
12
  ngAfterContentInit(): void;
13
13
  ngOnChanges(changes: SimpleChanges): void;
14
14
  protected setDisplayOnActive(): void;
@@ -24,6 +24,17 @@ export interface PoTab {
24
24
  * Método disparado ao clicar na aba.
25
25
  */
26
26
  click?: Function;
27
+ /**
28
+ * @optional
29
+ *
30
+ * @description
31
+ *
32
+ * Método disparado ao clicar no botão de fechar a aba.
33
+ *
34
+ * > Atenção: Propriedade disponível somente no `po-context-tabs`.
35
+ *
36
+ */
37
+ closeTab?: Function;
27
38
  /**
28
39
  * @optional
29
40
  *
@@ -40,6 +51,18 @@ export interface PoTab {
40
51
  * Oculta a aba.
41
52
  */
42
53
  hide?: boolean;
54
+ /**
55
+ * @optional
56
+ *
57
+ * @description
58
+ *
59
+ * Esconde o botão de fechar a aba.
60
+ *
61
+ * > Atenção: Propriedade disponível somente no `po-context-tabs`.
62
+ *
63
+ * @default `false`
64
+ */
65
+ hideClose?: boolean;
43
66
  /** Rótulo da aba. */
44
67
  label: string;
45
68
  }
@@ -8,8 +8,8 @@ import * as i0 from "@angular/core";
8
8
  * Componente responsável por manipular os botões de aba.
9
9
  */
10
10
  export declare class PoTabButtonComponent implements OnChanges, AfterViewInit {
11
+ changeDetector: ChangeDetectorRef;
11
12
  private elementRef;
12
- private changeDetector;
13
13
  tabButtom: ElementRef;
14
14
  disabled: boolean;
15
15
  id: string;
@@ -24,7 +24,6 @@ export declare class PoTabButtonComponent implements OnChanges, AfterViewInit {
24
24
  get active(): boolean;
25
25
  set hide(value: boolean);
26
26
  get hide(): boolean;
27
- constructor(elementRef: ElementRef, changeDetector: ChangeDetectorRef);
28
27
  ngAfterViewInit(): void;
29
28
  ngOnChanges(changes: SimpleChanges): void;
30
29
  onClick(): void;
@@ -23,7 +23,6 @@ export declare class PoTabDropdownComponent implements AfterViewInit {
23
23
  click: EventEmitter<any>;
24
24
  isDropdownOpen: boolean;
25
25
  dropdownStyles: any;
26
- constructor(elementRef: ElementRef);
27
26
  ngAfterViewInit(): void;
28
27
  toggleDropdown(): void;
29
28
  closeAndReturnToButtom(): void;
@@ -1,24 +1,7 @@
1
- import { PoThemeService } from '../../services/po-theme/po-theme.service';
2
1
  import * as i0 from "@angular/core";
3
2
  /**
4
3
  * @description
5
4
  *
6
- * O componente `po-tabs` é responsável por agrupar [abas](/documentation/po-tab) dispostas numa linha horizontal,
7
- * ideal para facilitar a organização de conteúdos.
8
- *
9
- * O componente exibirá as abas enquanto houver espaço na tela, caso a aba ultrapasse o limite da tela a mesma será agrupada em um dropdown.
10
- *
11
- * > As abas que estiverem agrupadas serão dispostas numa cascata suspensa que será exibida ao clicar no botão.
12
- *
13
- * É possível realizar a navegação entre as abas através da tecla SETAS(direita e esquerda) do teclado.
14
- * Caso uma aba estiver desabilitada, não receberá foco de navegação.
15
- *
16
- * #### Boas práticas
17
- *
18
- * - Evite utilizar um `po-tabs` dentro de outro `po-tabs`;
19
- * - Evite utilizar uma quantidade excessiva de abas, pois irá gerar um *scroll* muito longo no `dropdown`;
20
- * - Evite `labels` extensos para as `tabs` pois podem quebrar seu *layout*, use `labels` diretas, curtas e intuitivas.
21
- *
22
5
  * #### Tokens customizáveis
23
6
  *
24
7
  * É possível alterar o estilo do componente usando os seguintes tokens (CSS):
@@ -52,9 +35,9 @@ import * as i0 from "@angular/core";
52
35
  * | **Selected** | | |
53
36
  * | `--background-item-selected` | Cor de background do item selecionado | `var(--color-brand-01-lightest)` |
54
37
  *
38
+ * <br>
55
39
  */
56
40
  export declare class PoTabsBaseComponent {
57
- protected poThemeService: PoThemeService;
58
41
  private _size?;
59
42
  /**
60
43
  * @optional
@@ -72,7 +55,6 @@ export declare class PoTabsBaseComponent {
72
55
  */
73
56
  set size(value: string);
74
57
  get size(): string;
75
- constructor(poThemeService: PoThemeService);
76
58
  static ɵfac: i0.ɵɵFactoryDeclaration<PoTabsBaseComponent, never>;
77
59
  static ɵdir: i0.ɵɵDirectiveDeclaration<PoTabsBaseComponent, never, never, { "size": { "alias": "p-size"; "required": false; }; }, {}, never, never, true, never>;
78
60
  }
@@ -1,15 +1,31 @@
1
1
  import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit, QueryList } from '@angular/core';
2
- import { PoLanguageService } from '../../services/po-language/po-language.service';
3
- import { PoThemeService } from '../../services/po-theme/po-theme.service';
4
2
  import { PoTabDropdownComponent } from './po-tab-dropdown/po-tab-dropdown.component';
5
3
  import { PoTabComponent } from './po-tab/po-tab.component';
6
4
  import { PoTabsBaseComponent } from './po-tabs-base.component';
7
- import { PoTabsService } from './po-tabs.service';
8
5
  import * as i0 from "@angular/core";
9
6
  export declare const poTabsLiterals: object;
10
7
  /**
11
8
  * @docsExtends PoTabsBaseComponent
12
9
  *
10
+ * @description
11
+ *
12
+ * O componente `po-tabs` é responsável por agrupar [abas](/documentation/po-tab) dispostas numa linha horizontal,
13
+ * ideal para facilitar a organização de conteúdos.
14
+ *
15
+ * O componente exibirá as abas enquanto houver espaço na tela, caso a aba ultrapasse o limite da tela a mesma será agrupada em um dropdown.
16
+ *
17
+ * > As abas que estiverem agrupadas serão dispostas numa cascata suspensa que será exibida ao clicar no botão.
18
+ *
19
+ * É possível realizar a navegação entre as abas através da tecla SETAS(direita e esquerda) do teclado.
20
+ * Caso uma aba estiver desabilitada, não receberá foco de navegação.
21
+ *
22
+ * #### Boas práticas
23
+ *
24
+ * - Evite utilizar um `po-tabs` dentro de outro `po-tabs`;
25
+ * - Evite utilizar uma quantidade excessiva de abas, pois irá gerar um *scroll* muito longo no `dropdown`;
26
+ * - Evite `labels` extensos para as `tabs` pois podem quebrar seu *layout*, use `labels` diretas, curtas e intuitivas.
27
+ *
28
+ *
13
29
  * @example
14
30
  *
15
31
  * <example name="po-tabs-basic" title="PO Tabs Basic">
@@ -33,8 +49,7 @@ export declare const poTabsLiterals: object;
33
49
  * </example>
34
50
  */
35
51
  export declare class PoTabsComponent extends PoTabsBaseComponent implements OnInit, AfterViewInit, OnDestroy, AfterContentInit {
36
- protected poThemeService: PoThemeService;
37
- private changeDetector;
52
+ changeDetector: ChangeDetectorRef;
38
53
  private languageService;
39
54
  private tabsService;
40
55
  tabsChildren: QueryList<PoTabComponent>;
@@ -47,13 +62,14 @@ export declare class PoTabsComponent extends PoTabsBaseComponent implements OnIn
47
62
  tabsDropdown: any[];
48
63
  initializeCalculation: boolean;
49
64
  initializeComponent: boolean;
65
+ initCheckChangesTab: boolean;
50
66
  quantityTabsButton: any;
51
67
  defaultLastTabWidth: number;
52
68
  private previousActiveTab;
53
69
  private subscription;
54
70
  private subscriptionTabsService;
55
71
  private subscriptionTabActive;
56
- constructor(poThemeService: PoThemeService, changeDetector: ChangeDetectorRef, languageService: PoLanguageService, tabsService: PoTabsService);
72
+ constructor();
57
73
  ngOnInit(): void;
58
74
  ngAfterViewInit(): void;
59
75
  ngAfterContentInit(): void;
@@ -67,14 +83,15 @@ export declare class PoTabsComponent extends PoTabsBaseComponent implements OnIn
67
83
  onTabActiveByDropdown(tab: PoTabComponent, eventEmitter?: boolean): void;
68
84
  onTabActive(tab: PoTabComponent): void;
69
85
  onTabChangeState(tab: PoTabComponent | any): void;
70
- reorderTabs(tabToReorder: PoTabComponent): void;
86
+ reorderTabs(tabToReorder: PoTabComponent, lastTab?: any): void;
71
87
  selectedTab(tab: PoTabComponent | any): void;
72
88
  trackByFn(_i: any, tab: PoTabComponent): string;
73
89
  private activeDistinctTab;
74
90
  private activeFirstTab;
75
- private changeTabPositionByDropdown;
91
+ changeTabPositionByDropdown(tabToActivate: PoTabComponent, byContextsTabs?: boolean): void;
76
92
  private deactivateTab;
77
- private updateTabsState;
93
+ updateTabsState(initialState?: boolean, tab?: PoTabComponent): void;
94
+ executeTabsState(initialState: any, idByContextTabs?: string): void;
78
95
  calculateTabs(initializeCalculation?: boolean): void;
79
96
  handleKeyboardNavigationTab(initialIndex?: number): void;
80
97
  /**
@@ -15,6 +15,6 @@ import * as i10 from "../po-listbox/po-listbox.module";
15
15
  */
16
16
  export declare class PoTabsModule {
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<PoTabsModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<PoTabsModule, [typeof i1.PoTabButtonComponent, typeof i2.PoTabComponent, typeof i3.PoTabDropdownComponent, typeof i4.PoTabsComponent], [typeof i5.CommonModule, typeof i6.PoPopoverModule, typeof i7.PoDropdownModule, typeof i8.PoTooltipModule, typeof i9.PoButtonModule, typeof i10.PoListBoxModule], [typeof i2.PoTabComponent, typeof i4.PoTabsComponent]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PoTabsModule, [typeof i1.PoTabButtonComponent, typeof i2.PoTabComponent, typeof i3.PoTabDropdownComponent, typeof i4.PoTabsComponent], [typeof i5.CommonModule, typeof i6.PoPopoverModule, typeof i7.PoDropdownModule, typeof i8.PoTooltipModule, typeof i9.PoButtonModule, typeof i10.PoListBoxModule], [typeof i2.PoTabComponent, typeof i4.PoTabsComponent, typeof i1.PoTabButtonComponent, typeof i3.PoTabDropdownComponent]>;
19
19
  static ɵinj: i0.ɵɵInjectorDeclaration<PoTabsModule>;
20
20
  }
@@ -3,9 +3,9 @@ import * as i0 from "@angular/core";
3
3
  export declare class PoTabsService {
4
4
  private onChangesTriggeredSource;
5
5
  private onChangesTriggeredActiveSource;
6
- onChangesTriggered$: import("rxjs").Observable<void>;
6
+ onChangesTriggered$: import("rxjs").Observable<any>;
7
7
  triggerActiveOnChanges$: import("rxjs").Observable<any>;
8
- triggerOnChanges(): void;
8
+ triggerOnChanges(tab?: PoTabComponent): void;
9
9
  triggerActiveOnChanges(tab: PoTabComponent): void;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<PoTabsService, never>;
11
11
  static ɵprov: i0.ɵɵInjectableDeclaration<PoTabsService>;
@@ -1,5 +1,4 @@
1
1
  import { ElementRef, OnInit } from '@angular/core';
2
- import { PoLanguageService } from './../../services/po-language/po-language.service';
3
2
  import { PoTagIcon } from './enums/po-tag-icon.enum';
4
3
  import { PoTagBaseComponent } from './po-tag-base.component';
5
4
  import * as i0 from "@angular/core";
@@ -29,7 +28,7 @@ export declare class PoTagComponent extends PoTagBaseComponent implements OnInit
29
28
  tagClose: ElementRef;
30
29
  poTag: ElementRef;
31
30
  isClickable: boolean;
32
- constructor(el: ElementRef, languageService: PoLanguageService);
31
+ constructor();
33
32
  ngOnInit(): void;
34
33
  get iconFromType(): PoTagIcon;
35
34
  get tagColor(): string;
@@ -1,5 +1,4 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { PoThemeService } from '../../services/po-theme/po-theme.service';
3
2
  import { PoToasterMode } from './enum/po-toaster-mode.enum';
4
3
  import { PoToasterOrientation } from './enum/po-toaster-orientation.enum';
5
4
  import { PoToasterType } from './enum/po-toaster-type.enum';
@@ -53,7 +52,6 @@ import * as i0 from "@angular/core";
53
52
  *
54
53
  */
55
54
  export declare abstract class PoToasterBaseComponent {
56
- protected poThemeService: PoThemeService;
57
55
  private _isHide;
58
56
  private _sizeActions;
59
57
  /**
@@ -150,7 +148,6 @@ export declare abstract class PoToasterBaseComponent {
150
148
  orientation: PoToasterOrientation;
151
149
  componentRef: any;
152
150
  position: number;
153
- constructor(poThemeService: PoThemeService);
154
151
  abstract close(): void;
155
152
  abstract changePosition(value: number): void;
156
153
  abstract configToaster(poToaster: PoToaster): void;
@@ -1,7 +1,5 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, Renderer2, SimpleChanges } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
2
2
  import { Subject } from 'rxjs';
3
- import { PoThemeService } from '../../services/po-theme/po-theme.service';
4
- import { PoLanguageService } from '../../services/po-language';
5
3
  import { PoButtonComponent } from '../po-button';
6
4
  import { PoToaster } from './interface/po-toaster.interface';
7
5
  import { PoToasterBaseComponent } from './po-toaster-base.component';
@@ -23,8 +21,7 @@ import * as i0 from "@angular/core";
23
21
  */
24
22
  export declare class PoToasterComponent extends PoToasterBaseComponent implements AfterViewInit, OnDestroy, OnChanges {
25
23
  changeDetector: ChangeDetectorRef;
26
- protected poThemeService: PoThemeService;
27
- private renderer?;
24
+ private renderer;
28
25
  toaster: ElementRef;
29
26
  buttonClose: PoButtonComponent;
30
27
  alive: boolean;
@@ -35,7 +32,7 @@ export declare class PoToasterComponent extends PoToasterBaseComponent implement
35
32
  observableOnClose: Subject<any>;
36
33
  toasterPosition: string;
37
34
  toasterType: string;
38
- constructor(poLanguageService: PoLanguageService, changeDetector: ChangeDetectorRef, poThemeService: PoThemeService, renderer?: Renderer2);
35
+ constructor();
39
36
  ngOnDestroy(): void;
40
37
  ngAfterViewInit(): void;
41
38
  ngOnChanges(changes: SimpleChanges): void;
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef } from '@angular/core';
1
+ import { AfterViewInit, ElementRef } from '@angular/core';
2
2
  import { PoToolbarAction } from '../po-toolbar-action.interface';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
@@ -21,7 +21,6 @@ export declare class PoToolbarNotificationComponent implements AfterViewInit {
21
21
  private _notificationNumber?;
22
22
  set notificationNumber(value: number);
23
23
  get notificationNumber(): number;
24
- constructor(cdr: ChangeDetectorRef);
25
24
  ngAfterViewInit(): void;
26
25
  static ɵfac: i0.ɵɵFactoryDeclaration<PoToolbarNotificationComponent, never>;
27
26
  static ɵcmp: i0.ɵɵComponentDeclaration<PoToolbarNotificationComponent, "po-toolbar-notification", never, { "notificationActions": { "alias": "p-notification-actions"; "required": false; }; "notificationNumber": { "alias": "p-notification-number"; "required": false; }; }, {}, never, never, false, never>;
@@ -1,5 +1,4 @@
1
- import { OnInit, ViewContainerRef } from '@angular/core';
2
- import { Title } from '@angular/platform-browser';
1
+ import { OnInit } from '@angular/core';
3
2
  import { PoToolbarBaseComponent } from './po-toolbar-base.component';
4
3
  import * as i0 from "@angular/core";
5
4
  /**
@@ -24,7 +23,6 @@ import * as i0 from "@angular/core";
24
23
  */
25
24
  export declare class PoToolbarComponent extends PoToolbarBaseComponent implements OnInit {
26
25
  private titleService;
27
- constructor(titleService: Title, viewRef: ViewContainerRef);
28
26
  ngOnInit(): void;
29
27
  private setTitle;
30
28
  static ɵfac: i0.ɵɵFactoryDeclaration<PoToolbarComponent, never>;
@@ -1,5 +1,4 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { PoThemeService } from '../../services/po-theme/po-theme.service';
3
2
  import { PoTreeViewItem } from './po-tree-view-item/po-tree-view-item.interface';
4
3
  import * as i0 from "@angular/core";
5
4
  /**
@@ -16,7 +15,6 @@ import * as i0 from "@angular/core";
16
15
  * O componente também possui eventos disparados ao marcar/desmarcar e expandir/colapsar os itens.
17
16
  */
18
17
  export declare class PoTreeViewBaseComponent {
19
- protected poThemeService: PoThemeService;
20
18
  /**
21
19
  * @optional
22
20
  *
@@ -120,7 +118,6 @@ export declare class PoTreeViewBaseComponent {
120
118
  */
121
119
  set maxLevel(value: number);
122
120
  get maxLevel(): number;
123
- constructor(poThemeService: PoThemeService);
124
121
  protected emitExpanded(treeViewItem: PoTreeViewItem): void;
125
122
  protected emitSelected(treeViewItem: PoTreeViewItem): void;
126
123
  private addChildItemInParent;
@@ -1,4 +1,3 @@
1
- import { PoTreeViewService } from '../services/po-tree-view.service';
2
1
  import { PoTreeViewItem } from './po-tree-view-item.interface';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class PoTreeViewItemComponent {
@@ -9,7 +8,6 @@ export declare class PoTreeViewItemComponent {
9
8
  singleSelect: boolean;
10
9
  selectedValue: string | number;
11
10
  get hasSubItems(): boolean;
12
- constructor(treeViewService: PoTreeViewService);
13
11
  onClick(event: MouseEvent): void;
14
12
  onSelect(selectedItem: PoTreeViewItem): void;
15
13
  trackByFunction(index: number): number;
@@ -1,7 +1,5 @@
1
1
  import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import { PoThemeService } from '../../services/po-theme/po-theme.service';
3
2
  import { PoTreeViewBaseComponent } from './po-tree-view-base.component';
4
- import { PoTreeViewService } from './services/po-tree-view.service';
5
3
  import * as i0 from "@angular/core";
6
4
  /**
7
5
  * @docsExtends PoTreeViewBaseComponent
@@ -29,10 +27,8 @@ import * as i0 from "@angular/core";
29
27
  * </example>
30
28
  */
31
29
  export declare class PoTreeViewComponent extends PoTreeViewBaseComponent implements OnInit, OnChanges {
32
- protected poThemeService: PoThemeService;
33
30
  private treeViewService;
34
31
  get hasItems(): boolean;
35
- constructor(poThemeService: PoThemeService, treeViewService: PoTreeViewService);
36
32
  ngOnInit(): void;
37
33
  ngOnChanges(changes?: SimpleChanges): void;
38
34
  trackByFunction(index: number): number;
@@ -1,5 +1,4 @@
1
1
  import { EventEmitter, TemplateRef } from '@angular/core';
2
- import { PoThemeService } from '../../services';
3
2
  import { PoPopupAction } from '../po-popup';
4
3
  import { PoTagType } from '../po-tag';
5
4
  import * as i0 from "@angular/core";
@@ -58,7 +57,6 @@ import * as i0 from "@angular/core";
58
57
  *
59
58
  */
60
59
  export declare abstract class PoWidgetBaseComponent {
61
- protected poThemeService: PoThemeService;
62
60
  private _size?;
63
61
  /** Descrição da segunda ação. */
64
62
  /**
@@ -340,7 +338,6 @@ export declare abstract class PoWidgetBaseComponent {
340
338
  */
341
339
  set title(value: string);
342
340
  get title(): string;
343
- constructor(poThemeService: PoThemeService);
344
341
  abstract setHeight(height: number): any;
345
342
  static ɵfac: i0.ɵɵFactoryDeclaration<PoWidgetBaseComponent, never>;
346
343
  static ɵdir: i0.ɵɵDirectiveDeclaration<PoWidgetBaseComponent, never, never, { "secondaryLabel": { "alias": "p-secondary-label"; "required": false; }; "dangerPrimaryAction": { "alias": "p-danger-primary-action"; "required": false; }; "dangerSecondaryAction": { "alias": "p-danger-secondary-action"; "required": false; }; "kindPrimaryAction": { "alias": "p-kind-primary-action"; "required": false; }; "kindSecondaryAction": { "alias": "p-kind-secondary-action"; "required": false; }; "tagLabel": { "alias": "p-tag"; "required": false; }; "tagType": { "alias": "p-tag-type"; "required": false; }; "tagIcon": { "alias": "p-tag-icon"; "required": false; }; "actions": { "alias": "p-actions"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "background": { "alias": "p-background"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "height": { "alias": "p-height"; "required": false; }; "help": { "alias": "p-help"; "required": false; }; "noShadow": { "alias": "p-no-shadow"; "required": false; }; "primary": { "alias": "p-primary"; "required": false; }; "primaryLabel": { "alias": "p-primary-label"; "required": false; }; "title": { "alias": "p-title"; "required": false; }; }, { "click": "p-click"; "onDisabled": "p-on-disabled"; "primaryAction": "p-primary-action"; "secondaryAction": "p-secondary-action"; "setting": "p-setting"; "titleAction": "p-title-action"; }, never, never, true, never>;
@@ -1,5 +1,5 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, OnInit, SimpleChanges, ViewContainerRef } from '@angular/core';
2
- import { PoLanguageService, PoThemeService } from '../../services';
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { PoThemeService } from '../../services';
3
3
  import { PoButtonComponent } from '../po-button';
4
4
  import { PoPopupComponent } from '../po-popup';
5
5
  import { PoWidgetBaseComponent } from './po-widget-base.component';
@@ -43,7 +43,7 @@ export declare class PoWidgetComponent extends PoWidgetBaseComponent implements
43
43
  tagElement: ElementRef;
44
44
  contentContainer: ElementRef<HTMLElement>;
45
45
  get showTitleAction(): boolean;
46
- constructor(viewRef: ViewContainerRef, languageService: PoLanguageService, cd: ChangeDetectorRef, poTheme: PoThemeService);
46
+ constructor();
47
47
  ngAfterViewInit(): void;
48
48
  get a11Level(): import("../../services").PoThemeA11yEnum;
49
49
  ngOnChanges(changes: SimpleChanges): void;
@@ -2,7 +2,6 @@ import { ComponentRef, OnDestroy, OnInit } from '@angular/core';
2
2
  import { PoLanguageService } from '../po-language/po-language.service';
3
3
  import { PoModalAction } from '../../components/po-modal/po-modal-action.interface';
4
4
  import { PoModalComponent } from '../../components/po-modal/po-modal.component';
5
- import { PoThemeService } from '../po-theme/po-theme.service';
6
5
  import { PoDialogType } from './enums/po-dialog.enum';
7
6
  import { PoDialogAlertLiterals } from './interfaces/po-dialog-alert-literals.interface';
8
7
  import { PoDialogConfirmLiterals } from './interfaces/po-dialog-confirm-literals.interface';
@@ -28,7 +27,6 @@ export declare const poDialogConfirmLiteralsDefault: {
28
27
  * Componente que serve como container do po-dialog.service
29
28
  */
30
29
  export declare class PoDialogComponent implements OnDestroy, OnInit {
31
- protected poThemeService: PoThemeService;
32
30
  poModal: PoModalComponent;
33
31
  title: string;
34
32
  message: string;
@@ -43,7 +41,7 @@ export declare class PoDialogComponent implements OnDestroy, OnInit {
43
41
  private language;
44
42
  set componentsSize(value: string);
45
43
  get componentsSize(): string;
46
- constructor(languageService: PoLanguageService, poThemeService: PoThemeService);
44
+ constructor(languageService: PoLanguageService);
47
45
  ngOnDestroy(): void;
48
46
  ngOnInit(): void;
49
47
  close(xClosed?: boolean): void;
@@ -1,6 +1,5 @@
1
1
  import { ComponentRef } from '@angular/core';
2
2
  import { PoToaster } from '../../components/po-toaster';
3
- import { PoThemeService } from '../po-theme';
4
3
  import { PoNotification } from './po-notification.interface';
5
4
  /**
6
5
  * @description
@@ -24,11 +23,9 @@ import { PoNotification } from './po-notification.interface';
24
23
  *
25
24
  */
26
25
  export declare abstract class PoNotificationBaseService {
27
- protected poThemeService: PoThemeService;
28
26
  stackTop: Array<ComponentRef<any>>;
29
27
  stackBottom: Array<ComponentRef<any>>;
30
28
  private defaultDuration;
31
- constructor(poThemeService: PoThemeService);
32
29
  /**
33
30
  * Emite uma notificação de sucesso.
34
31
  *
@@ -1,5 +1,4 @@
1
1
  import { PoToaster } from '../../components/po-toaster';
2
- import { PoThemeService } from '../po-theme';
3
2
  import { PoComponentInjectorService } from './../po-component-injector/po-component-injector.service';
4
3
  import { PoNotificationBaseService } from './po-notification-base.service';
5
4
  import * as i0 from "@angular/core";
@@ -25,8 +24,7 @@ import * as i0 from "@angular/core";
25
24
  */
26
25
  export declare class PoNotificationService extends PoNotificationBaseService {
27
26
  private poComponentInjector;
28
- protected poThemeService: PoThemeService;
29
- constructor(poComponentInjector: PoComponentInjectorService, poThemeService: PoThemeService);
27
+ constructor(poComponentInjector: PoComponentInjectorService);
30
28
  createToaster(toaster: PoToaster): void;
31
29
  destroyToaster(toaster: any): void;
32
30
  private observableOnClose;