@po-ui/ng-components 21.6.0 → 21.8.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 (178) hide show
  1. package/fesm2022/po-ui-ng-components.mjs +729 -191
  2. package/fesm2022/po-ui-ng-components.mjs.map +1 -1
  3. package/lib/components/index.d.ts +1 -0
  4. package/lib/components/po-accordion/po-accordion-base.component.d.ts +1 -1
  5. package/lib/components/po-accordion/po-accordion-item/po-accordion-item.component.d.ts +3 -3
  6. package/lib/components/po-accordion/po-accordion-item-header/po-accordion-item-header.component.d.ts +1 -1
  7. package/lib/components/po-accordion/po-accordion.component.d.ts +1 -1
  8. package/lib/components/po-accordion/services/po-accordion.service.d.ts +1 -1
  9. package/lib/components/po-badge/po-badge.component.d.ts +1 -1
  10. package/lib/components/po-breadcrumb/po-breadcrumb-favorite/po-breadcrumb-favorite.component.d.ts +2 -2
  11. package/lib/components/po-breadcrumb/po-breadcrumb-favorite/po-breadcrumb-favorite.service.d.ts +1 -1
  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 +0 -8
  14. package/lib/components/po-button-group/po-button-group-base.component.d.ts +0 -2
  15. package/lib/components/po-calendar/po-calendar-base.component.d.ts +2 -2
  16. package/lib/components/po-calendar/po-calendar-wrapper/po-calendar-wrapper.component.d.ts +3 -3
  17. package/lib/components/po-calendar/po-calendar.component.d.ts +1 -1
  18. package/lib/components/po-calendar/services/po-calendar.lang.service.d.ts +7 -7
  19. package/lib/components/po-context-menu/index.d.ts +3 -0
  20. package/lib/components/po-context-menu/po-context-menu-base.component.d.ts +92 -0
  21. package/lib/components/po-context-menu/po-context-menu-item.interface.d.ts +15 -0
  22. package/lib/components/po-context-menu/po-context-menu.component.d.ts +51 -0
  23. package/lib/components/po-context-menu/po-context-menu.module.d.ts +7 -0
  24. package/lib/components/po-disclaimer/po-disclaimer-base.component.d.ts +1 -1
  25. package/lib/components/po-disclaimer-group/po-disclaimer-group-base.component.d.ts +1 -1
  26. package/lib/components/po-disclaimer-group/po-disclaimer-group.component.d.ts +1 -1
  27. package/lib/components/po-dropdown/po-dropdown.component.d.ts +3 -3
  28. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields-base.component.d.ts +1 -1
  29. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-operation/po-dynamic-form-operation.d.ts +1 -1
  30. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form.component.d.ts +4 -4
  31. package/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view-base.component.d.ts +5 -5
  32. package/lib/components/po-dynamic/po-dynamic-view/services/po-dynamic-view.service.d.ts +1 -1
  33. package/lib/components/po-field/po-checkbox/po-checkbox-base.component.d.ts +0 -6
  34. package/lib/components/po-field/po-checkbox-group/po-checkbox-group-base.component.d.ts +0 -6
  35. package/lib/components/po-field/po-checkbox-group/po-checkbox-group.component.d.ts +2 -2
  36. package/lib/components/po-field/po-combo/po-combo-base.component.d.ts +1 -7
  37. package/lib/components/po-field/po-combo/po-combo-filter.service.d.ts +1 -1
  38. package/lib/components/po-field/po-combo/po-combo.component.d.ts +3 -3
  39. package/lib/components/po-field/po-datepicker/po-datepicker-base.component.d.ts +0 -6
  40. package/lib/components/po-field/po-datepicker/po-datepicker.component.d.ts +3 -3
  41. package/lib/components/po-field/po-datepicker-range/po-datepicker-range-base.component.d.ts +2 -8
  42. package/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.d.ts +6 -6
  43. package/lib/components/po-field/po-decimal/po-decimal.component.d.ts +4 -4
  44. package/lib/components/po-field/po-email/po-email.component.d.ts +1 -1
  45. package/lib/components/po-field/po-field-container/po-field-container-bottom/po-field-container-bottom.component.d.ts +1 -1
  46. package/lib/components/po-field/po-field-container/po-field-container.component.d.ts +0 -2
  47. package/lib/components/po-field/po-input/po-input-base.component.d.ts +0 -6
  48. package/lib/components/po-field/po-lookup/po-lookup-base.component.d.ts +0 -6
  49. package/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal-base.component.d.ts +1 -1
  50. package/lib/components/po-field/po-lookup/po-lookup.component.d.ts +3 -3
  51. package/lib/components/po-field/po-lookup/services/po-lookup-filter.service.d.ts +1 -1
  52. package/lib/components/po-field/po-lookup/services/po-lookup-modal.service.d.ts +1 -1
  53. package/lib/components/po-field/po-multiselect/po-multiselect-base.component.d.ts +1 -7
  54. package/lib/components/po-field/po-multiselect/po-multiselect-dropdown/po-multiselect-dropdown.component.d.ts +1 -1
  55. package/lib/components/po-field/po-multiselect/po-multiselect-filter.service.d.ts +2 -2
  56. package/lib/components/po-field/po-multiselect/po-multiselect.component.d.ts +5 -5
  57. package/lib/components/po-field/po-radio/po-radio.component.d.ts +2 -2
  58. package/lib/components/po-field/po-radio-group/po-radio-group-base.component.d.ts +1 -7
  59. package/lib/components/po-field/po-radio-group/po-radio-group.component.d.ts +1 -1
  60. package/lib/components/po-field/po-rich-text/po-rich-text-base.component.d.ts +27 -9
  61. package/lib/components/po-field/po-rich-text/po-rich-text-body/po-rich-text-body.component.d.ts +17 -4
  62. package/lib/components/po-field/po-rich-text/po-rich-text-image-modal/po-rich-text-image-modal.component.d.ts +1 -1
  63. package/lib/components/po-field/po-rich-text/po-rich-text-link-modal/po-rich-text-link-modal.component.d.ts +1 -1
  64. package/lib/components/po-field/po-rich-text/po-rich-text-toolbar/po-rich-text-toolbar.component.d.ts +2 -1
  65. package/lib/components/po-field/po-rich-text/po-rich-text.component.d.ts +2 -2
  66. package/lib/components/po-field/po-rich-text/po-rich-text.service.d.ts +1 -1
  67. package/lib/components/po-field/po-select/po-select.component.d.ts +1 -7
  68. package/lib/components/po-field/po-switch/po-switch.component.d.ts +0 -7
  69. package/lib/components/po-field/po-textarea/po-textarea-base.component.d.ts +14 -6
  70. package/lib/components/po-field/po-textarea/po-textarea.component.d.ts +12 -3
  71. package/lib/components/po-field/po-upload/po-upload-base.component.d.ts +15 -7
  72. package/lib/components/po-field/po-upload/po-upload-base.service.d.ts +1 -1
  73. 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 -1
  74. package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.component.d.ts +1 -1
  75. package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.directive.d.ts +2 -2
  76. package/lib/components/po-field/po-upload/po-upload-file-restrictions/po-upload-file-restrictions.component.d.ts +2 -2
  77. package/lib/components/po-field/po-upload/po-upload.component.d.ts +6 -4
  78. package/lib/components/po-field/po-url/po-url.component.d.ts +1 -1
  79. package/lib/components/po-grid/po-grid-cell/po-grid-cell.component.d.ts +1 -1
  80. package/lib/components/po-grid/po-grid.component.d.ts +3 -3
  81. package/lib/components/po-header/interfaces/po-header-action-tool.interface.d.ts +10 -2
  82. package/lib/components/po-header/po-header-base.component.d.ts +31 -5
  83. package/lib/components/po-header/po-header-brand/po-header-brand.component.d.ts +3 -2
  84. package/lib/components/po-header/po-header-customer/po-header-customer.component.d.ts +1 -0
  85. package/lib/components/po-header/po-header-menu-item/po-header-menu-item.component.d.ts +3 -2
  86. package/lib/components/po-header/po-header-tools/po-header-tools.component.d.ts +3 -2
  87. package/lib/components/po-header/po-header.component.d.ts +4 -4
  88. package/lib/components/po-helper/po-helper-base.component.d.ts +0 -8
  89. package/lib/components/po-icon/po-icon.component.d.ts +1 -1
  90. package/lib/components/po-list-view/po-list-view-base.component.d.ts +1 -1
  91. package/lib/components/po-list-view/po-list-view.component.d.ts +2 -2
  92. package/lib/components/po-listbox/po-item-list/po-item-list-base.component.d.ts +2 -2
  93. package/lib/components/po-listbox/po-listbox-base.component.d.ts +1 -1
  94. package/lib/components/po-listbox/po-search-list/po-search-list.component.d.ts +1 -1
  95. package/lib/components/po-loading/po-loading-overlay/po-loading-overlay-base.component.d.ts +1 -1
  96. package/lib/components/po-menu/po-menu-base.component.d.ts +13 -1
  97. package/lib/components/po-menu/po-menu-item/po-menu-item.component.d.ts +1 -1
  98. package/lib/components/po-menu/po-menu.component.d.ts +5 -4
  99. package/lib/components/po-menu/services/po-menu-global.service.d.ts +5 -5
  100. package/lib/components/po-menu/services/po-menu-items.service.d.ts +2 -2
  101. package/lib/components/po-menu/services/po-menu.service.d.ts +1 -1
  102. package/lib/components/po-menu-panel/po-menu-panel-item/po-menu-panel-item.component.d.ts +1 -1
  103. package/lib/components/po-menu-panel/po-menu-panel.component.d.ts +3 -3
  104. package/lib/components/po-menu-panel/services/po-menu-panel-items.service.d.ts +2 -2
  105. package/lib/components/po-modal/po-modal.component.d.ts +3 -3
  106. package/lib/components/po-navbar/po-navbar-actions/po-navbar-action/po-navbar-action.component.d.ts +1 -1
  107. package/lib/components/po-navbar/po-navbar-base.component.d.ts +1 -1
  108. package/lib/components/po-navbar/po-navbar-items/po-navbar-items.component.d.ts +1 -1
  109. package/lib/components/po-navbar/po-navbar.component.d.ts +7 -7
  110. package/lib/components/po-page/po-page-default/po-page-default.component.d.ts +3 -3
  111. package/lib/components/po-page/po-page-detail/po-page-detail-base.component.d.ts +1 -1
  112. package/lib/components/po-page/po-page-edit/po-page-edit-base.component.d.ts +1 -1
  113. package/lib/components/po-page/po-page-list/po-page-list.component.d.ts +3 -3
  114. package/lib/components/po-page/po-page-slide/po-page-slide.component.d.ts +4 -4
  115. package/lib/components/po-popover/po-popover-base.component.d.ts +2 -2
  116. package/lib/components/po-popover/po-popover.component.d.ts +6 -1
  117. package/lib/components/po-popup/po-popup.component.d.ts +4 -4
  118. package/lib/components/po-progress/po-progress.component.d.ts +2 -2
  119. package/lib/components/po-skeleton/po-skeleton-base.component.d.ts +0 -23
  120. package/lib/components/po-slide/po-slide.component.d.ts +4 -4
  121. package/lib/components/po-stepper/po-step/po-step.component.d.ts +1 -1
  122. package/lib/components/po-stepper/po-stepper-label/po-stepper-label.component.d.ts +3 -3
  123. package/lib/components/po-stepper/po-stepper.component.d.ts +1 -1
  124. package/lib/components/po-table/po-table-base.component.d.ts +3 -3
  125. package/lib/components/po-table/po-table-column-frozen/po-table-column-frozen.directive.d.ts +2 -2
  126. package/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.d.ts +2 -2
  127. package/lib/components/po-table/po-table-detail/po-table-detail.component.d.ts +1 -1
  128. package/lib/components/po-table/po-table-list-manager/po-table-list-manager.component.d.ts +2 -2
  129. package/lib/components/po-table/po-table-subtitle-circle/po-table-subtitle-circle.component.d.ts +1 -1
  130. package/lib/components/po-table/po-table-subtitle-footer/po-table-subtitle-footer.component.d.ts +1 -1
  131. package/lib/components/po-table/po-table.component.d.ts +6 -6
  132. package/lib/components/po-table/services/po-table.service.d.ts +1 -1
  133. package/lib/components/po-tabs/po-tab/po-tab-base.component.d.ts +11 -1
  134. package/lib/components/po-tabs/po-tab/po-tab.component.d.ts +1 -1
  135. package/lib/components/po-tabs/po-tab-button/po-tab-button.component.d.ts +1 -1
  136. package/lib/components/po-tabs/po-tab-dropdown/po-tab-dropdown.component.d.ts +1 -1
  137. package/lib/components/po-tabs/po-tabs.component.d.ts +22 -2
  138. package/lib/components/po-tabs/po-tabs.service.d.ts +2 -2
  139. package/lib/components/po-tag/po-tag-base.component.d.ts +1 -1
  140. package/lib/components/po-tag/po-tag.component.d.ts +2 -2
  141. package/lib/components/po-toaster/po-toaster-base.component.d.ts +1 -1
  142. package/lib/components/po-toaster/po-toaster.component.d.ts +1 -1
  143. package/lib/components/po-toolbar/po-toolbar-notification/po-toolbar-notification.component.d.ts +1 -1
  144. package/lib/components/po-toolbar/po-toolbar.component.d.ts +1 -1
  145. package/lib/components/po-tree-view/po-tree-view-item/po-tree-view-item.component.d.ts +1 -1
  146. package/lib/components/po-tree-view/po-tree-view.component.d.ts +1 -1
  147. package/lib/components/po-tree-view/services/po-tree-view.service.d.ts +2 -2
  148. package/lib/components/po-widget/po-widget-base.component.d.ts +0 -4
  149. package/lib/directives/po-tooltip/po-tooltip.directive.d.ts +4 -4
  150. package/lib/interceptors/po-http-interceptor/po-http-interceptor-base.service.d.ts +3 -3
  151. package/lib/interceptors/po-http-interceptor/po-http-interceptor-detail/po-http-interceptor-detail.component.d.ts +3 -3
  152. package/lib/interceptors/po-http-request/po-http-request-interceptor.service.d.ts +2 -2
  153. package/lib/services/po-component-injector/po-component-injector.service.d.ts +3 -3
  154. package/lib/services/po-control-position/po-control-position.service.d.ts +3 -3
  155. package/lib/services/po-dialog/po-dialog.component.d.ts +1 -1
  156. package/lib/services/po-dialog/po-dialog.service.d.ts +1 -1
  157. package/lib/services/po-i18n/po-i18n-base.service.d.ts +3 -3
  158. package/lib/services/po-media-query/po-media-query.service.d.ts +1 -1
  159. package/lib/services/po-notification/po-notification.service.d.ts +1 -1
  160. package/lib/services/po-theme/po-theme.service.d.ts +2 -2
  161. package/package.json +4 -4
  162. package/po-ui-ng-components-21.8.0.tgz +0 -0
  163. package/schematics/ng-add/index.js +1 -1
  164. package/schematics/ng-update/v14/index.js +1 -1
  165. package/schematics/ng-update/v15/index.js +1 -1
  166. package/schematics/ng-update/v16/index.js +1 -1
  167. package/schematics/ng-update/v17/index.js +1 -1
  168. package/schematics/ng-update/v18/index.js +2 -2
  169. package/schematics/ng-update/v19/index.js +2 -2
  170. package/schematics/ng-update/v2/index.js +1 -1
  171. package/schematics/ng-update/v20/index.js +2 -2
  172. package/schematics/ng-update/v21/index.js +1 -1
  173. package/schematics/ng-update/v3/index.js +1 -1
  174. package/schematics/ng-update/v4/index.js +1 -1
  175. package/schematics/ng-update/v5/index.js +1 -1
  176. package/schematics/ng-update/v6/index.js +1 -1
  177. package/types/po-ui-ng-components.d.ts +634 -413
  178. package/po-ui-ng-components-21.6.0.tgz +0 -0
@@ -8,6 +8,7 @@ export * from './po-button/index';
8
8
  export * from './po-calendar/index';
9
9
  export * from './po-chart/index';
10
10
  export * from './po-container/index';
11
+ export * from './po-context-menu/index';
11
12
  export * from './po-disclaimer-group/index';
12
13
  export * from './po-disclaimer/index';
13
14
  export * from './po-divider/index';
@@ -79,7 +79,7 @@ export declare const poAccordionLiteralsDefault: {
79
79
  *
80
80
  */
81
81
  export declare class PoAccordionBaseComponent {
82
- private language;
82
+ private readonly language;
83
83
  private _literals;
84
84
  private _size?;
85
85
  private _initialSize?;
@@ -32,7 +32,7 @@ import { PoTagType } from '../../po-tag';
32
32
  * ```
33
33
  */
34
34
  export declare class PoAccordionItemComponent implements OnDestroy {
35
- private accordionService;
35
+ private readonly accordionService;
36
36
  private _type?;
37
37
  /** Título do item. */
38
38
  label: string;
@@ -79,8 +79,8 @@ export declare class PoAccordionItemComponent implements OnDestroy {
79
79
  collapseEvent: EventEmitter<void>;
80
80
  templateRef: TemplateRef<any>;
81
81
  expanded: boolean;
82
- private expandSubscription;
83
- private collapseSubscription;
82
+ private readonly expandSubscription;
83
+ private readonly collapseSubscription;
84
84
  constructor();
85
85
  ngOnDestroy(): void;
86
86
  /**
@@ -1,6 +1,6 @@
1
1
  import { ElementRef, EventEmitter } from '@angular/core';
2
2
  export declare class PoAccordionItemHeaderComponent {
3
- private language;
3
+ private readonly language;
4
4
  accordionElement: ElementRef;
5
5
  accordionHeaderElement: ElementRef;
6
6
  expanded: boolean;
@@ -23,7 +23,7 @@ import { PoAccordionItemComponent } from './po-accordion-item/po-accordion-item.
23
23
  * </example>
24
24
  */
25
25
  export declare class PoAccordionComponent extends PoAccordionBaseComponent implements OnDestroy {
26
- private accordionService;
26
+ private readonly accordionService;
27
27
  accordionsHeader: QueryList<PoAccordionItemHeaderComponent>;
28
28
  poAccordionItems: QueryList<PoAccordionItemComponent>;
29
29
  expandedAllItems: boolean;
@@ -8,7 +8,7 @@ import { PoAccordionItemComponent } from '../po-accordion-item/po-accordion-item
8
8
  * expandido/colapsado.
9
9
  */
10
10
  export declare class PoAccordionService {
11
- private subjectChild;
11
+ private readonly subjectChild;
12
12
  receiveFromChildAccordionClicked(): import("rxjs").Observable<PoAccordionItemComponent>;
13
13
  sendToParentAccordionItemClicked(accordionItem: PoAccordionItemComponent): void;
14
14
  }
@@ -28,7 +28,7 @@ export declare class PoBadgeComponent extends PoBadgeBaseComponent implements On
28
28
  literals: PoBadgeLiterals;
29
29
  badgeIcon: string;
30
30
  isValidValue: boolean;
31
- private poLanguageService;
31
+ private readonly poLanguageService;
32
32
  ngOnInit(): void;
33
33
  ngOnChanges(changes: SimpleChanges): void;
34
34
  initialize(): void;
@@ -9,8 +9,8 @@ export declare const PoBreadcrumbLiterals: object;
9
9
  * Componente que renderiza o serviço de favoritar do po-breadcrumb.
10
10
  */
11
11
  export declare class PoBreadcrumbFavoriteComponent implements OnInit, OnDestroy {
12
- private service;
13
- private languageService;
12
+ private readonly service;
13
+ private readonly languageService;
14
14
  favoriteService: string;
15
15
  itemActive: PoBreadcrumbItem;
16
16
  paramsService: object;
@@ -14,7 +14,7 @@ import { Observable } from 'rxjs';
14
14
  *
15
15
  */
16
16
  export declare class PoBreadcrumbFavoriteService {
17
- private http;
17
+ private readonly http;
18
18
  private _url;
19
19
  private _bodyParams;
20
20
  get url(): string;
@@ -20,7 +20,7 @@ export declare const poBreadcrumbLiterals: object;
20
20
  * </example>
21
21
  */
22
22
  export declare class PoBreadcrumbComponent extends PoBreadcrumbBaseComponent implements AfterViewInit, DoCheck, OnDestroy {
23
- private element;
23
+ private readonly element;
24
24
  renderer: Renderer2;
25
25
  languageService: PoLanguageService;
26
26
  breadcrumbElement: ElementRef;
@@ -34,7 +34,7 @@ export declare class PoBreadcrumbComponent extends PoBreadcrumbBaseComponent imp
34
34
  hiddenLiteralFavorite: boolean;
35
35
  private _breadcrumbItemsLenght;
36
36
  private calculatedElement;
37
- private differ;
37
+ private readonly differ;
38
38
  private hiddenWithoutResize;
39
39
  private initialized;
40
40
  private timeoutResize;
@@ -67,8 +67,6 @@ import { PoButtonType } from './enums/po-button-type.enum';
67
67
  */
68
68
  export declare class PoButtonBaseComponent {
69
69
  /**
70
- * @Input
71
- *
72
70
  * @optional
73
71
  *
74
72
  * @description
@@ -77,8 +75,6 @@ export declare class PoButtonBaseComponent {
77
75
  */
78
76
  readonly label: import("@angular/core").InputSignal<string>;
79
77
  /**
80
- * @Input
81
- *
82
78
  * @optional
83
79
  *
84
80
  * @description
@@ -105,8 +101,6 @@ export declare class PoButtonBaseComponent {
105
101
  */
106
102
  readonly icon: import("@angular/core").InputSignal<string | TemplateRef<void>>;
107
103
  /**
108
- * @Input
109
- *
110
104
  * @optional
111
105
  *
112
106
  * @description
@@ -175,8 +169,6 @@ export declare class PoButtonBaseComponent {
175
169
  set disabled(value: boolean);
176
170
  get disabled(): boolean;
177
171
  /**
178
- * @Input
179
- *
180
172
  * @optional
181
173
  *
182
174
  * @description
@@ -54,8 +54,6 @@ import { PoButtonGroupItem } from './po-button-group-item.interface';
54
54
  */
55
55
  export declare class PoButtonGroupBaseComponent {
56
56
  /**
57
- * @Input
58
- *
59
57
  * @description
60
58
  *
61
59
  * Lista de botões.
@@ -93,7 +93,7 @@ import { PoCalendarMode } from './po-calendar-mode.enum';
93
93
  */
94
94
  export declare class PoCalendarBaseComponent {
95
95
  poDate: PoDateService;
96
- private languageService;
96
+ private readonly languageService;
97
97
  /**
98
98
  * @optional
99
99
  *
@@ -122,7 +122,7 @@ export declare class PoCalendarBaseComponent {
122
122
  protected onTouched: any;
123
123
  protected propagateChange: any;
124
124
  protected today: Date;
125
- private shortLanguage;
125
+ private readonly shortLanguage;
126
126
  private _locale;
127
127
  private _maxDate;
128
128
  private _minDate;
@@ -1,9 +1,9 @@
1
1
  import { OnChanges, OnInit, EventEmitter, TemplateRef, ChangeDetectorRef, SimpleChanges, ElementRef } from '@angular/core';
2
2
  import { Subject } from 'rxjs';
3
3
  export declare class PoCalendarWrapperComponent implements OnInit, OnChanges {
4
- private poCalendarService;
5
- private poCalendarLangService;
6
- private poDate;
4
+ private readonly poCalendarService;
5
+ private readonly poCalendarLangService;
6
+ private readonly poDate;
7
7
  readonly cdr: ChangeDetectorRef;
8
8
  readonly elementRef: ElementRef<any>;
9
9
  value: any;
@@ -22,7 +22,7 @@ import { PoCalendarBaseComponent } from './po-calendar-base.component';
22
22
  * </example>
23
23
  */
24
24
  export declare class PoCalendarComponent extends PoCalendarBaseComponent implements OnInit, OnChanges {
25
- private changeDetector;
25
+ private readonly changeDetector;
26
26
  hoverValue: Date;
27
27
  constructor();
28
28
  get isResponsive(): boolean;
@@ -1,12 +1,12 @@
1
1
  export declare class PoCalendarLangService {
2
2
  private language;
3
- private months;
4
- private shortWeekDays;
5
- private monthLabel;
6
- private yearLabel;
7
- private todayLabel;
8
- private previousMonthLabel;
9
- private nextMonthLabel;
3
+ private readonly months;
4
+ private readonly shortWeekDays;
5
+ private readonly monthLabel;
6
+ private readonly yearLabel;
7
+ private readonly todayLabel;
8
+ private readonly previousMonthLabel;
9
+ private readonly nextMonthLabel;
10
10
  readonly toCleanLabel: {
11
11
  pt: string;
12
12
  en: string;
@@ -0,0 +1,3 @@
1
+ export * from './po-context-menu-item.interface';
2
+ export * from './po-context-menu.component';
3
+ export * from './po-context-menu.module';
@@ -0,0 +1,92 @@
1
+ import { PoContextMenuItem } from './po-context-menu-item.interface';
2
+ /**
3
+ * @description
4
+ *
5
+ * O componente `po-context-menu` é uma barra lateral de contexto (sidebar) para navegação interna entre contextos.
6
+ * Inspirado visualmente no `po-menu`, porém independente e focado em navegação contextual.
7
+ *
8
+ * No caso de uso do componente `po-page-default` em conjunto, ambos devem estar no mesmo nível
9
+ * e inseridos em uma div com a classe **po-context-menu-wrapper**.
10
+ * Esta classe é responsável por fazer os cálculos necessários para o alinhamento dos componentes.
11
+ *
12
+ * O uso simultâneo dos componentes `po-menu` e `po-context-menu` não é recomendado.
13
+ * Porém, se os mesmos forem necessários na mesma interface, certifique-se de que não permaneçam expandidos
14
+ * simultaneamente para não comprometer a usabilidade.
15
+ *
16
+ * #### Tokens customizáveis
17
+ *
18
+ * É possível alterar o estilo do componente usando os seguintes tokens (CSS):
19
+ *
20
+ * > Para maiores informações, acesse o guia [Personalizando o Tema Padrão com Tokens CSS](https://po-ui.io/guides/theme-customization).
21
+ *
22
+ * | Propriedade | Descrição | Valor Padrão |
23
+ * |----------------------------------------|--------------------------------------------------------------|-------------------------------------------------|
24
+ * | **Default Values** | | |
25
+ * | `--font-family` | Família tipográfica usada | `var(--font-family-theme)` |
26
+ * | `--font-size` | Tamanho da fonte dos itens | `var(--font-size-default)` |
27
+ * | `--font-size-context-title` | Tamanho da fonte do título de contexto | `var(--font-size-sm)` |
28
+ * | `--font-size-title` | Tamanho da fonte do título principal | `var(--font-size-lg)` |
29
+ * | `--line-height` | Altura da linha | `var(--line-height-md)` |
30
+ * | `--border-radius` | Raio dos cantos dos itens | `var(--border-radius-md)` |
31
+ * | `--border-color` | Cor da borda lateral direita do componente | `var(--color-neutral-light-20)` |
32
+ * | `--background-color` | Cor de fundo do componente | `var(--color-neutral-light-05)` |
33
+ * | `--color` | Cor do texto dos itens | `var(--color-action-default)` |
34
+ * | `--color-context-title` | Cor do texto do título de contexto | `var(--color-neutral-mid-40)` |
35
+ * | `--color-title` | Cor do texto do título principal | `var(--color-neutral-dark-80)` |
36
+ * | `--font-weight` | Peso da fonte dos itens | `var(--font-weight-bold)` |
37
+ * | `--font-weight-title` | Peso da fonte do título principal | `var(--font-weight-bold)` |
38
+ * | `--outline-color-focused` | Cor do outline no estado de focus | `var(--color-action-focus)` |
39
+ * | **Hover** | | |
40
+ * | `--color-hover` | Cor do texto no estado hover | `var(--color-brand-01-darkest)` |
41
+ * | `--background-color-hover` | Cor de fundo no estado hover | `var(--color-brand-01-lighter)` |
42
+ * | **Pressed** | | |
43
+ * | `--background-color-pressed` | Cor de fundo no estado pressed | `var(--color-brand-01-light)` |
44
+ * | **Active (Selected)** | | |
45
+ * | `--background-color-actived` | Cor de fundo do item selecionado | `var(--color-brand-01-lightest)` |
46
+ * | `--color-actived` | Cor do texto do item selecionado | `var(--color-action-pressed)` |
47
+ *
48
+ */
49
+ export declare class PoContextMenuBaseComponent {
50
+ /**
51
+ * Título do contexto superior
52
+ */
53
+ contextTitle: import("@angular/core").InputSignal<string>;
54
+ /**
55
+ * Título principal do menu
56
+ */
57
+ title: import("@angular/core").InputSignal<string>;
58
+ /**
59
+ * Lista de itens para renderização.
60
+ *
61
+ * > Ao receber os itens, o componente valida que apenas um item pode ter `selected: true`.
62
+ * > Se mais de um item estiver com `selected: true`, apenas o primeiro será mantido como selecionado.
63
+ */
64
+ items: import("@angular/core").InputSignal<PoContextMenuItem[]>;
65
+ /**
66
+ * Define se o menu está aberto ou fechado.
67
+ *
68
+ * Suporta two-way binding:
69
+ *
70
+ * ```html
71
+ * <po-context-menu
72
+ * [(p-expanded)]="expanded"
73
+ * />
74
+ * ```
75
+ *
76
+ * ou
77
+ *
78
+ * ```html
79
+ * <po-context-menu
80
+ * [(p-expanded)]="expanded"
81
+ * (p-expandedChange)="handlerExpanded($event)"
82
+ * />
83
+ * ```
84
+ *
85
+ * @default `true`
86
+ */
87
+ expanded: import("@angular/core").ModelSignal<boolean>;
88
+ /**
89
+ * Evento emitido ao selecionar um item. Emite o item selecionado.
90
+ */
91
+ itemSelected: import("@angular/core").OutputEmitterRef<PoContextMenuItem>;
92
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @usedBy PoContextMenuComponent
3
+ *
4
+ * @description
5
+ *
6
+ * Interface para os itens do componente po-context-menu.
7
+ */
8
+ export interface PoContextMenuItem {
9
+ /** Texto do item de menu. */
10
+ label: string;
11
+ /** Ação executada ao clicar no item. */
12
+ action?: Function;
13
+ /** Estado de seleção do item. */
14
+ selected?: boolean;
15
+ }
@@ -0,0 +1,51 @@
1
+ import { WritableSignal } from '@angular/core';
2
+ import { PoContextMenuBaseComponent } from './po-context-menu-base.component';
3
+ import { PoContextMenuItem } from './po-context-menu-item.interface';
4
+ interface PoContextMenuLiterals {
5
+ close: string;
6
+ open: string;
7
+ }
8
+ interface PoInternalContextMenuItem extends PoContextMenuItem {
9
+ tooltip?: string;
10
+ }
11
+ /**
12
+ * @docsExtends PoContextMenuBaseComponent
13
+ *
14
+ * @example
15
+ *
16
+ * <example name="po-context-menu-basic" title="PO Context Menu Basic">
17
+ * <file name="sample-po-context-menu-basic/sample-po-context-menu-basic.component.html"> </file>
18
+ * <file name="sample-po-context-menu-basic/sample-po-context-menu-basic.component.ts"> </file>
19
+ * </example>
20
+ *
21
+ * <example name="po-context-menu-labs" title="PO Context Menu Labs">
22
+ * <file name="sample-po-context-menu-labs/sample-po-context-menu-labs.component.html"> </file>
23
+ * <file name="sample-po-context-menu-labs/sample-po-context-menu-labs.component.ts"> </file>
24
+ * </example>
25
+ *
26
+ * <example name="po-context-menu-user" title="PO Context - Cadastro de Usuário">
27
+ * <file name="sample-po-context-menu-user/sample-po-context-menu-user.component.html"> </file>
28
+ * <file name="sample-po-context-menu-user/sample-po-context-menu-user.component.ts"> </file>
29
+ * <file name="sample-po-context-menu-user/sample-po-context-menu-user.component.css"> </file>
30
+ * </example>
31
+ */
32
+ export declare class PoContextMenuComponent extends PoContextMenuBaseComponent {
33
+ private readonly languageService;
34
+ literals: PoContextMenuLiterals;
35
+ protected _items: WritableSignal<PoInternalContextMenuItem[]>;
36
+ protected _titleTooltipCalculated: boolean;
37
+ protected _contextTitleTooltipCalculated: boolean;
38
+ protected titleTooltip: WritableSignal<string>;
39
+ protected contextTitleTooltip: WritableSignal<string>;
40
+ constructor();
41
+ toggleExpand(): void;
42
+ selectItem(item: PoContextMenuItem): void;
43
+ protected handlerItemTooltip(item: PoInternalContextMenuItem, value: HTMLLIElement): void;
44
+ protected handlerTitleTooltip(value: HTMLElement): void;
45
+ protected handlerContextTitleTooltip(value: HTMLElement): void;
46
+ private setLiterals;
47
+ private hasMultipleSelected;
48
+ private sanitizeSelection;
49
+ private applyTooltipIfOverflows;
50
+ }
51
+ export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @description
3
+ *
4
+ * Módulo do componente po-context-menu.
5
+ */
6
+ export declare class PoContextMenuModule {
7
+ }
@@ -11,7 +11,7 @@ import { EventEmitter } from '@angular/core';
11
11
  *
12
12
  */
13
13
  export declare class PoDisclaimerBaseComponent {
14
- private languageService;
14
+ private readonly languageService;
15
15
  /**
16
16
  * Label que aparecerá dentro do po-disclaimer.
17
17
  * Quando não for definido um label será apresentada a propriedade p-value.
@@ -64,7 +64,7 @@ export declare class PoDisclaimerGroupBaseComponent implements DoCheck {
64
64
  literals: any;
65
65
  private _disclaimers;
66
66
  private _hideRemoveAll;
67
- private differ;
67
+ private readonly differ;
68
68
  private previousDisclaimers;
69
69
  /** Lista de *disclaimers*. */
70
70
  /**
@@ -25,7 +25,7 @@ import { PoDisclaimer } from '../po-disclaimer/po-disclaimer.interface';
25
25
  */
26
26
  export declare class PoDisclaimerGroupComponent extends PoDisclaimerGroupBaseComponent implements AfterViewInit, OnChanges {
27
27
  private subscription;
28
- private el;
28
+ private readonly el;
29
29
  constructor();
30
30
  ngAfterViewInit(): void;
31
31
  ngOnChanges(changes: SimpleChanges): void;
@@ -26,8 +26,8 @@ import { PoDropdownBaseComponent } from './po-dropdown-base.component';
26
26
  * </example>
27
27
  */
28
28
  export declare class PoDropdownComponent extends PoDropdownBaseComponent {
29
- private renderer;
30
- private changeDetector;
29
+ private readonly renderer;
30
+ private readonly changeDetector;
31
31
  dropdownRef: ElementRef;
32
32
  popupRef: any;
33
33
  private clickoutListener;
@@ -37,7 +37,7 @@ export declare class PoDropdownComponent extends PoDropdownBaseComponent {
37
37
  private checkClickArea;
38
38
  private hideDropdown;
39
39
  private initializeListeners;
40
- private onScroll;
40
+ private readonly onScroll;
41
41
  private isDropdownClosed;
42
42
  private removeListeners;
43
43
  private showDropdown;
@@ -3,7 +3,7 @@ import { EventEmitter } from '@angular/core';
3
3
  import { PoDynamicSharedBase } from '../../shared/po-dynamic-shared-base';
4
4
  import { PoDynamicFormField } from '../interfaces/po-dynamic-form-field.interface';
5
5
  export declare class PoDynamicFormFieldsBaseComponent extends PoDynamicSharedBase {
6
- private titleCasePipe;
6
+ private readonly titleCasePipe;
7
7
  autoFocus?: string;
8
8
  disabledForm: boolean;
9
9
  validate?: string | Function;
@@ -2,7 +2,7 @@ import { HttpClient } from '@angular/common/http';
2
2
  import { PoDynamicFormLoad } from '../po-dynamic-form-load/po-dynamic-form-load.interface';
3
3
  import { PoDynamicFormValidation } from '../po-dynamic-form-validation/po-dynamic-form-validation.interface';
4
4
  export declare class PoDynamicFormOperation {
5
- private http;
5
+ private readonly http;
6
6
  constructor(http: HttpClient);
7
7
  protected execute(action: Function | string, param: any): import("rxjs").Observable<any>;
8
8
  protected post(url: string, body: PoDynamicFormValidation | any): import("rxjs").Observable<Object>;
@@ -29,9 +29,9 @@ import { PoDynamicFormValidationService } from './po-dynamic-form-validation/po-
29
29
  *
30
30
  */
31
31
  export declare class PoDynamicFormComponent extends PoDynamicFormBaseComponent implements OnInit, OnDestroy {
32
- private changes;
33
- private loadService;
34
- private validationService;
32
+ private readonly changes;
33
+ private readonly loadService;
34
+ private readonly validationService;
35
35
  fieldsComponent: {
36
36
  focus: (property: string) => void;
37
37
  updatePreviousValue: () => void;
@@ -42,7 +42,7 @@ export declare class PoDynamicFormComponent extends PoDynamicFormBaseComponent i
42
42
  private _form;
43
43
  private onLoadSubscription;
44
44
  private sendFormSubscription;
45
- private comboOptionSubject;
45
+ private readonly comboOptionSubject;
46
46
  set form(value: NgForm);
47
47
  get form(): NgForm;
48
48
  constructor(changes: ChangeDetectorRef, loadService: PoDynamicFormLoadService, validationService: PoDynamicFormValidationService);
@@ -15,11 +15,11 @@ import { PoDynamicSharedBase } from '../shared/po-dynamic-shared-base';
15
15
  *
16
16
  */
17
17
  export declare class PoDynamicViewBaseComponent extends PoDynamicSharedBase {
18
- private currencyPipe;
19
- private datePipe;
20
- private decimalPipe;
21
- private timePipe;
22
- private titleCasePipe;
18
+ private readonly currencyPipe;
19
+ private readonly datePipe;
20
+ private readonly decimalPipe;
21
+ private readonly timePipe;
22
+ private readonly titleCasePipe;
23
23
  protected dynamicViewService: PoDynamicViewService;
24
24
  protected comboFilterService: PoComboFilterService;
25
25
  protected multiselectFilterService: PoMultiselectFilterService;
@@ -9,7 +9,7 @@ import { PoDynamicViewField } from '../po-dynamic-view-field.interface';
9
9
  * Serviço padrão utilizado para filtrar os dados dos campos que utilizam a propriedade `searchService`.
10
10
  */
11
11
  export declare class PoDynamicViewService {
12
- private httpClient;
12
+ private readonly httpClient;
13
13
  readonly headers: HttpHeaders;
14
14
  url: string;
15
15
  getObjectByValue(value: any, filterParams?: any): Observable<Array<any> | {
@@ -76,8 +76,6 @@ export declare abstract class PoCheckboxBaseComponent implements ControlValueAcc
76
76
  */
77
77
  appendBox?: boolean;
78
78
  /**
79
- * @Input
80
- *
81
79
  * @optional
82
80
  *
83
81
  * @description
@@ -212,8 +210,6 @@ export declare abstract class PoCheckboxBaseComponent implements ControlValueAcc
212
210
  set size(value: string);
213
211
  get size(): string;
214
212
  /**
215
- * @Input
216
- *
217
213
  * @optional
218
214
  *
219
215
  * @description
@@ -225,8 +221,6 @@ export declare abstract class PoCheckboxBaseComponent implements ControlValueAcc
225
221
  */
226
222
  poHelperComponent: import("@angular/core").InputSignal<string | PoHelperOptions>;
227
223
  /**
228
- * @Input
229
- *
230
224
  * @optional
231
225
  *
232
226
  * @description
@@ -75,8 +75,6 @@ export declare class PoCheckboxGroupBaseComponent implements ControlValueAccesso
75
75
  */
76
76
  autoFocus: boolean;
77
77
  /**
78
- * @Input
79
- *
80
78
  * @optional
81
79
  *
82
80
  * @description
@@ -158,8 +156,6 @@ export declare class PoCheckboxGroupBaseComponent implements ControlValueAccesso
158
156
  */
159
157
  errorLimit: boolean;
160
158
  /**
161
- * @Input
162
- *
163
159
  * @optional
164
160
  *
165
161
  * @description
@@ -171,8 +167,6 @@ export declare class PoCheckboxGroupBaseComponent implements ControlValueAccesso
171
167
  */
172
168
  poHelperComponent: import("@angular/core").InputSignal<string | PoHelperOptions>;
173
169
  /**
174
- * @Input
175
- *
176
170
  * @optional
177
171
  *
178
172
  * @description
@@ -24,10 +24,10 @@ import { PoHelperComponent } from '../../po-helper';
24
24
  * </example>
25
25
  */
26
26
  export declare class PoCheckboxGroupComponent extends PoCheckboxGroupBaseComponent implements AfterViewChecked, AfterViewInit, OnChanges {
27
- private changeDetector;
27
+ private readonly changeDetector;
28
28
  checkboxLabels: QueryList<PoCheckboxComponent>;
29
29
  helperEl?: PoHelperComponent;
30
- private el;
30
+ private readonly el;
31
31
  ngOnChanges(changes: SimpleChanges): void;
32
32
  ngAfterViewChecked(): void;
33
33
  ngAfterViewInit(): void;
@@ -103,8 +103,6 @@ export declare abstract class PoComboBaseComponent implements ControlValueAccess
103
103
  */
104
104
  autoFocus: boolean;
105
105
  /**
106
- * @Input
107
- *
108
106
  * @optional
109
107
  *
110
108
  * @description
@@ -369,8 +367,6 @@ export declare abstract class PoComboBaseComponent implements ControlValueAccess
369
367
  */
370
368
  listboxControlPosition: 'top' | 'bottom';
371
369
  /**
372
- * @Input
373
- *
374
370
  * @optional
375
371
  *
376
372
  * @description
@@ -382,8 +378,6 @@ export declare abstract class PoComboBaseComponent implements ControlValueAccess
382
378
  */
383
379
  poHelperComponent: import("@angular/core").InputSignal<string | PoHelperOptions>;
384
380
  /**
385
- * @Input
386
- *
387
381
  * @optional
388
382
  *
389
383
  * @description
@@ -435,7 +429,7 @@ export declare abstract class PoComboBaseComponent implements ControlValueAccess
435
429
  private _size?;
436
430
  private _initialSize?;
437
431
  private _sort?;
438
- private language;
432
+ private readonly language;
439
433
  private _infiniteScrollDistance?;
440
434
  private _infiniteScroll?;
441
435
  private _removeInitialFilter;
@@ -10,7 +10,7 @@ import { PoComboOption } from './interfaces/po-combo-option.interface';
10
10
  * Serviço padrão utilizado para filtrar os dados do componente po-combo.
11
11
  */
12
12
  export declare class PoComboFilterService implements PoComboFilter {
13
- private http;
13
+ private readonly http;
14
14
  fieldLabel: string;
15
15
  fieldValue: string;
16
16
  hasNext: boolean;