@po-ui/ng-components 19.6.0 → 19.7.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 (174) hide show
  1. package/fesm2022/po-ui-ng-components.mjs +25435 -24062
  2. package/fesm2022/po-ui-ng-components.mjs.map +1 -1
  3. package/lib/components/po-button/enums/po-button-kind.enum.d.ts +15 -0
  4. package/lib/components/po-button/enums/po-button-size.enum.d.ts +13 -0
  5. package/lib/components/po-button/index.d.ts +3 -1
  6. package/lib/components/po-button/po-button-base.component.d.ts +26 -24
  7. package/lib/components/po-button/po-button.component.d.ts +4 -0
  8. package/lib/components/po-button-group/{po-button-group-toggle.enum.d.ts → enums/po-button-group-toggle.enum.d.ts} +1 -1
  9. package/lib/components/po-button-group/index.d.ts +1 -1
  10. package/lib/components/po-button-group/po-button-group-base.component.d.ts +25 -4
  11. package/lib/components/po-button-group/po-button-group.component.d.ts +3 -1
  12. package/lib/components/po-dropdown/po-dropdown-base.component.d.ts +21 -1
  13. package/lib/components/po-dropdown/po-dropdown.component.d.ts +3 -1
  14. package/lib/components/po-dynamic/index.d.ts +6 -6
  15. package/lib/components/po-dynamic/po-dynamic-field.interface.d.ts +1 -1
  16. package/lib/components/po-dynamic/po-dynamic-form/{po-dynamic-form-field.interface.d.ts → interfaces/po-dynamic-form-field.interface.d.ts} +19 -8
  17. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-base.component.d.ts +22 -2
  18. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-field-internal.interface.d.ts +1 -1
  19. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields-base.component.d.ts +9 -4
  20. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields.component.d.ts +4 -2
  21. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-load/po-dynamic-form-load.interface.d.ts +2 -2
  22. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-load/po-dynamic-form-load.service.d.ts +1 -1
  23. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-validation/po-dynamic-form-field-validation.interface.d.ts +1 -1
  24. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-validation/po-dynamic-form-validation.interface.d.ts +2 -2
  25. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-validation/po-dynamic-form-validation.service.d.ts +1 -1
  26. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form.component.d.ts +4 -2
  27. package/lib/components/po-dynamic/shared/po-dynamic-shared-base.d.ts +1 -1
  28. package/lib/components/po-field/index.d.ts +6 -6
  29. package/lib/components/po-field/po-checkbox/enums/po-checkbox-size.enum.d.ts +13 -0
  30. package/lib/components/po-field/po-checkbox/po-checkbox-base.component.d.ts +10 -5
  31. package/lib/components/po-field/po-checkbox/po-checkbox.component.d.ts +4 -2
  32. package/lib/components/po-field/po-checkbox-group/po-checkbox-group-base.component.d.ts +22 -1
  33. package/lib/components/po-field/po-checkbox-group/po-checkbox-group.component.d.ts +3 -1
  34. package/lib/components/po-field/po-clean/po-clean-base.component.d.ts +4 -2
  35. package/lib/components/po-field/po-combo/po-combo-base.component.d.ts +22 -3
  36. package/lib/components/po-field/po-combo/po-combo.component.d.ts +6 -4
  37. package/lib/components/po-field/po-datepicker/po-datepicker-base.component.d.ts +21 -2
  38. package/lib/components/po-field/po-datepicker/po-datepicker.component.d.ts +3 -1
  39. package/lib/components/po-field/po-datepicker-range/po-datepicker-range-base.component.d.ts +21 -2
  40. package/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.d.ts +6 -4
  41. package/lib/components/po-field/po-decimal/po-decimal.component.d.ts +3 -2
  42. package/lib/components/po-field/po-email/po-email.component.d.ts +3 -1
  43. package/lib/components/po-field/po-input/po-input-base.component.d.ts +21 -2
  44. package/lib/components/po-field/po-input/po-input.component.d.ts +3 -1
  45. package/lib/components/po-field/po-input-generic/po-input-generic.d.ts +4 -3
  46. package/lib/components/po-field/po-login/po-login.component.d.ts +3 -1
  47. package/lib/components/po-field/po-lookup/interfaces/po-lookup-advanced-filter.interface.d.ts +1 -1
  48. package/lib/components/po-field/po-lookup/po-lookup-base.component.d.ts +23 -4
  49. package/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal-base.component.d.ts +3 -1
  50. package/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal.component.d.ts +1 -1
  51. package/lib/components/po-field/po-lookup/po-lookup.component.d.ts +3 -1
  52. package/lib/components/po-field/po-lookup/services/po-lookup-modal.service.d.ts +3 -2
  53. package/lib/components/po-field/po-multiselect/po-multiselect-base.component.d.ts +25 -6
  54. package/lib/components/po-field/po-multiselect/po-multiselect-dropdown/po-multiselect-dropdown.component.d.ts +4 -2
  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 +4 -2
  57. package/lib/components/po-field/po-number/po-number-base.component.d.ts +3 -1
  58. package/lib/components/po-field/po-number/po-number.component.d.ts +4 -2
  59. package/lib/components/po-field/po-password/po-password.component.d.ts +3 -1
  60. package/lib/components/po-field/po-radio/enums/po-radio-size.enum.d.ts +13 -0
  61. package/lib/components/po-field/po-radio/po-radio.component.d.ts +7 -13
  62. package/lib/components/po-field/po-radio-group/po-radio-group-base.component.d.ts +14 -2
  63. package/lib/components/po-field/po-radio-group/po-radio-group.component.d.ts +3 -1
  64. package/lib/components/po-field/po-rich-text/po-rich-text-base.component.d.ts +21 -2
  65. package/lib/components/po-field/po-rich-text/po-rich-text-body/po-rich-text-body.component.d.ts +4 -2
  66. package/lib/components/po-field/po-rich-text/po-rich-text-image-modal/po-rich-text-image-modal.component.d.ts +3 -2
  67. package/lib/components/po-field/po-rich-text/po-rich-text-link-modal/po-rich-text-link-modal.component.d.ts +2 -1
  68. package/lib/components/po-field/po-rich-text/po-rich-text-toolbar/po-rich-text-toolbar.component.d.ts +2 -1
  69. package/lib/components/po-field/po-rich-text/po-rich-text.component.d.ts +3 -1
  70. package/lib/components/po-field/po-select/po-select.component.d.ts +22 -3
  71. package/lib/components/po-field/po-switch/po-switch.component.d.ts +23 -3
  72. package/lib/components/po-field/po-textarea/po-textarea-base.component.d.ts +37 -2
  73. package/lib/components/po-field/po-textarea/po-textarea.component.d.ts +3 -1
  74. package/lib/components/po-field/po-upload/po-upload-base.component.d.ts +22 -3
  75. package/lib/components/po-field/po-upload/po-upload.component.d.ts +3 -1
  76. package/lib/components/po-field/po-url/po-url.component.d.ts +3 -1
  77. package/lib/components/po-info/po-info.module.d.ts +2 -1
  78. package/lib/components/po-list-view/po-list-view-base.component.d.ts +21 -2
  79. package/lib/components/po-list-view/po-list-view.component.d.ts +3 -1
  80. package/lib/components/po-listbox/po-item-list/po-item-list-base.component.d.ts +4 -2
  81. package/lib/components/po-listbox/po-listbox-base.component.d.ts +7 -2
  82. package/lib/components/po-listbox/po-listbox.component.d.ts +3 -1
  83. package/lib/components/po-listbox/po-search-list/po-search-list.component.d.ts +3 -1
  84. package/lib/components/po-loading/po-loading-base.component.d.ts +4 -4
  85. package/lib/components/po-loading/po-loading-overlay/po-loading-overlay-base.component.d.ts +4 -4
  86. package/lib/components/po-menu/po-menu-base.component.d.ts +21 -2
  87. package/lib/components/po-menu/po-menu-filter/po-menu-filter.component.d.ts +2 -1
  88. package/lib/components/po-menu/po-menu.component.d.ts +3 -1
  89. package/lib/components/po-modal/po-modal-base.component.d.ts +21 -2
  90. package/lib/components/po-modal/po-modal.component.d.ts +3 -1
  91. package/lib/components/po-page/index.d.ts +3 -3
  92. package/lib/components/po-page/{po-page-action.interface.d.ts → interfaces/po-page-action.interface.d.ts} +1 -1
  93. package/lib/components/po-page/{po-page.interface.d.ts → interfaces/po-page.interface.d.ts} +1 -1
  94. package/lib/components/po-page/po-page-default/po-page-default-base.component.d.ts +22 -3
  95. package/lib/components/po-page/po-page-default/po-page-default.component.d.ts +4 -2
  96. package/lib/components/po-page/po-page-default/po-page-default.interface.d.ts +2 -2
  97. package/lib/components/po-page/po-page-detail/po-page-detail-base.component.d.ts +21 -2
  98. package/lib/components/po-page/po-page-edit/po-page-edit-base.component.d.ts +21 -2
  99. package/lib/components/po-page/po-page-list/po-page-list-base.component.d.ts +23 -4
  100. package/lib/components/po-page/po-page-list/po-page-list.component.d.ts +6 -4
  101. package/lib/components/po-page/po-page-slide/po-page-slide-base.component.d.ts +21 -1
  102. package/lib/components/po-page/po-page-slide/po-page-slide.component.d.ts +5 -3
  103. package/lib/components/po-popup/po-popup-base.component.d.ts +21 -1
  104. package/lib/components/po-popup/po-popup.component.d.ts +4 -2
  105. package/lib/components/po-progress/enums/po-progress-size.enum.d.ts +3 -1
  106. package/lib/components/po-progress/po-progress-base.component.d.ts +24 -4
  107. package/lib/components/po-progress/po-progress.component.d.ts +3 -0
  108. package/lib/components/po-search/index.d.ts +1 -1
  109. package/lib/components/po-search/po-search-base.component.d.ts +23 -4
  110. package/lib/components/po-search/po-search.component.d.ts +3 -1
  111. package/lib/components/po-table/interfaces/po-table-column.interface.d.ts +1 -1
  112. package/lib/components/po-table/interfaces/po-table-filtered-items-params.interface.d.ts +2 -0
  113. package/lib/components/po-table/po-table-base.component.d.ts +22 -3
  114. package/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.d.ts +21 -2
  115. package/lib/components/po-table/po-table-detail/po-table-detail.component.d.ts +23 -4
  116. package/lib/components/po-table/po-table-list-manager/po-table-list-manager.component.d.ts +22 -3
  117. package/lib/components/po-table/po-table-show-subtitle/po-table-show-subtitle.component.d.ts +3 -1
  118. package/lib/components/po-table/po-table-subtitle-footer/po-table-subtitle-footer.component.d.ts +3 -1
  119. package/lib/components/po-table/po-table.component.d.ts +4 -2
  120. package/lib/components/po-tabs/po-tab-dropdown/po-tab-dropdown.component.d.ts +3 -2
  121. package/lib/components/po-tabs/po-tabs-base.component.d.ts +25 -3
  122. package/lib/components/po-tabs/po-tabs.component.d.ts +3 -1
  123. package/lib/components/po-toaster/po-toaster-base.component.d.ts +23 -3
  124. package/lib/components/po-toaster/po-toaster.component.d.ts +5 -3
  125. package/lib/components/po-tree-view/po-tree-view-base.component.d.ts +21 -1
  126. package/lib/components/po-tree-view/po-tree-view-item/po-tree-view-item.component.d.ts +3 -2
  127. package/lib/components/po-tree-view/po-tree-view-item-header/po-tree-view-item-header.component.d.ts +2 -1
  128. package/lib/components/po-tree-view/po-tree-view.component.d.ts +3 -1
  129. package/lib/enums/po-field-size.enum.d.ts +13 -0
  130. package/lib/services/po-dialog/index.d.ts +1 -1
  131. package/lib/services/po-dialog/interfaces/po-dialog.interface.d.ts +11 -0
  132. package/lib/services/po-dialog/po-dialog-base.service.d.ts +1 -1
  133. package/lib/services/po-dialog/po-dialog.component.d.ts +11 -6
  134. package/lib/services/po-dialog/po-dialog.service.d.ts +1 -1
  135. package/lib/services/po-notification/po-notification-base.service.d.ts +4 -1
  136. package/lib/services/po-notification/po-notification.interface.d.ts +11 -0
  137. package/lib/services/po-notification/po-notification.service.d.ts +4 -2
  138. package/lib/services/po-theme/enum/po-theme-a11y.enum.d.ts +14 -10
  139. package/lib/services/po-theme/enum/po-theme-type.enum.d.ts +5 -8
  140. package/lib/services/po-theme/interfaces/po-theme.interface.d.ts +19 -10
  141. package/lib/services/po-theme/po-theme.service.d.ts +33 -7
  142. package/lib/utils/util.d.ts +9 -0
  143. package/package.json +4 -4
  144. package/po-ui-ng-components-19.7.0.tgz +0 -0
  145. package/schematics/ng-add/index.js +1 -1
  146. package/schematics/ng-update/v14/index.js +1 -1
  147. package/schematics/ng-update/v15/index.js +1 -1
  148. package/schematics/ng-update/v16/index.js +1 -1
  149. package/schematics/ng-update/v17/index.js +1 -1
  150. package/schematics/ng-update/v18/index.js +2 -2
  151. package/schematics/ng-update/v19/index.js +2 -2
  152. package/schematics/ng-update/v2/index.js +1 -1
  153. package/schematics/ng-update/v3/index.js +1 -1
  154. package/schematics/ng-update/v4/index.js +1 -1
  155. package/schematics/ng-update/v5/index.js +1 -1
  156. package/schematics/ng-update/v6/index.js +1 -1
  157. package/lib/components/po-button/po-button-kind.enum.d.ts +0 -5
  158. package/lib/components/po-button/po-button-size.enum.d.ts +0 -4
  159. package/lib/components/po-field/po-checkbox/po-checkbox-size.enum.d.ts +0 -13
  160. package/lib/components/po-field/po-radio/po-radio-size.enum.d.ts +0 -11
  161. package/po-ui-ng-components-19.6.0.tgz +0 -0
  162. /package/lib/components/po-button/{po-button-type.enum.d.ts → enums/po-button-type.enum.d.ts} +0 -0
  163. /package/lib/components/po-dynamic/{po-dynamic-field-force-component.enum.d.ts → enums/po-dynamic-field-force-component.enum.d.ts} +0 -0
  164. /package/lib/components/po-dynamic/{po-dynamic-field-type.enum.d.ts → enums/po-dynamic-field-type.enum.d.ts} +0 -0
  165. /package/lib/components/po-dynamic/po-dynamic-form/{po-dynamic-form-response.interface.d.ts → interfaces/po-dynamic-form-response.interface.d.ts} +0 -0
  166. /package/lib/components/po-field/po-combo/{po-combo-filter-mode.enum.d.ts → enums/po-combo-filter-mode.enum.d.ts} +0 -0
  167. /package/lib/components/po-field/po-multiselect/{po-multiselect-filter-mode.enum.d.ts → enums/po-multiselect-filter-mode.enum.d.ts} +0 -0
  168. /package/lib/components/po-field/po-multiselect/{po-multiselect-filter.interface.d.ts → interfaces/po-multiselect-filter.interface.d.ts} +0 -0
  169. /package/lib/components/po-field/po-multiselect/{po-multiselect-literals.interface.d.ts → interfaces/po-multiselect-literals.interface.d.ts} +0 -0
  170. /package/lib/components/po-field/po-multiselect/{po-multiselect-option.interface.d.ts → interfaces/po-multiselect-option.interface.d.ts} +0 -0
  171. /package/lib/components/po-loading/{po-loading-icon → enums}/po-loading-icon-size-enum.d.ts +0 -0
  172. /package/lib/components/po-page/{po-page-filter.interface.d.ts → interfaces/po-page-filter.interface.d.ts} +0 -0
  173. /package/lib/components/po-search/{enum → enums}/po-search-filter-mode.enum.d.ts +0 -0
  174. /package/lib/services/po-dialog/{po-dialog.enum.d.ts → enums/po-dialog.enum.d.ts} +0 -0
@@ -1,5 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { PoLanguageService } from '../../../services/po-language/po-language.service';
3
+ import { PoThemeService } from '../../../services';
3
4
  import { PoBreadcrumb } from '../../po-breadcrumb/po-breadcrumb.interface';
4
5
  import { PoPageContentComponent } from '../po-page-content/po-page-content.component';
5
6
  import { PoPageEditLiterals } from './po-page-edit-literals.interface';
@@ -21,6 +22,7 @@ export declare const poPageEditLiteralsDefault: {
21
22
  * regra de negócio não tenha sido atendida.
22
23
  */
23
24
  export declare class PoPageEditBaseComponent {
25
+ protected poThemeService: PoThemeService;
24
26
  poPageContent: PoPageContentComponent;
25
27
  /** Objeto com propriedades do breadcrumb. */
26
28
  breadcrumb?: PoBreadcrumb;
@@ -59,9 +61,26 @@ export declare class PoPageEditBaseComponent {
59
61
  * > Caso não utilizar esta propriedade, o botão de "Salvar e Novo" não será exibido.
60
62
  */
61
63
  saveNew: EventEmitter<any>;
64
+ private _componentsSize?;
62
65
  private _literals;
63
66
  private _title;
64
67
  private language;
68
+ /**
69
+ * @optional
70
+ *
71
+ * @description
72
+ *
73
+ * Define o tamanho dos componentes de formulário no template:
74
+ * - `small`: aplica a medida small de cada componente (disponível apenas para acessibilidade AA).
75
+ * - `medium`: aplica a medida medium de cada componente.
76
+ *
77
+ * > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
78
+ * Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
79
+ *
80
+ * @default `medium`
81
+ */
82
+ set componentsSize(value: string);
83
+ get componentsSize(): string;
65
84
  /**
66
85
  * @optional
67
86
  *
@@ -111,7 +130,7 @@ export declare class PoPageEditBaseComponent {
111
130
  * Subtitulo do Header da página
112
131
  */
113
132
  subtitle: string;
114
- constructor(languageService: PoLanguageService);
133
+ constructor(languageService: PoLanguageService, poThemeService: PoThemeService);
115
134
  static ɵfac: i0.ɵɵFactoryDeclaration<PoPageEditBaseComponent, never>;
116
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoPageEditBaseComponent, never, never, { "breadcrumb": { "alias": "p-breadcrumb"; "required": false; }; "disableSubmit": { "alias": "p-disable-submit"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "title": { "alias": "p-title"; "required": false; }; "subtitle": { "alias": "p-subtitle"; "required": false; }; }, { "cancel": "p-cancel"; "save": "p-save"; "saveNew": "p-save-new"; }, never, never, true, never>;
135
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoPageEditBaseComponent, never, never, { "breadcrumb": { "alias": "p-breadcrumb"; "required": false; }; "disableSubmit": { "alias": "p-disable-submit"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "title": { "alias": "p-title"; "required": false; }; "subtitle": { "alias": "p-subtitle"; "required": false; }; }, { "cancel": "p-cancel"; "save": "p-save"; "saveNew": "p-save-new"; }, never, never, true, never>;
117
136
  }
@@ -1,9 +1,10 @@
1
1
  import { PoLanguageService } from './../../../services/po-language/po-language.service';
2
+ import { PoThemeService } from '../../../services';
2
3
  import { PoBreadcrumb } from '../../po-breadcrumb/po-breadcrumb.interface';
3
4
  import { PoDisclaimerGroup } from '../../po-disclaimer-group/po-disclaimer-group.interface';
4
- import { PoPageAction } from '../po-page-action.interface';
5
+ import { PoPageAction } from '../interfaces/po-page-action.interface';
6
+ import { PoPageFilter } from '../interfaces/po-page-filter.interface';
5
7
  import { PoPageContentComponent } from '../po-page-content/po-page-content.component';
6
- import { PoPageFilter } from './../po-page-filter.interface';
7
8
  import { PoPageListLiterals } from './po-page-list-literals.interface';
8
9
  import * as i0 from "@angular/core";
9
10
  export declare const poPageListLiteralsDefault: {
@@ -26,6 +27,7 @@ export declare const poPageListLiteralsDefault: {
26
27
  * [`po-disclaimer-group`](/documentation/po-disclaimer-group).
27
28
  */
28
29
  export declare abstract class PoPageListBaseComponent {
30
+ protected poThemeService: PoThemeService;
29
31
  poPageContent: PoPageContentComponent;
30
32
  /**
31
33
  * @optional
@@ -55,6 +57,7 @@ export declare abstract class PoPageListBaseComponent {
55
57
  protected resizeListener: () => void;
56
58
  private _actions?;
57
59
  private _disclaimerGroup?;
60
+ private _componentsSize?;
58
61
  private _literals;
59
62
  private _title;
60
63
  /**
@@ -66,6 +69,22 @@ export declare abstract class PoPageListBaseComponent {
66
69
  */
67
70
  set actions(actions: Array<PoPageAction>);
68
71
  get actions(): Array<PoPageAction>;
72
+ /**
73
+ * @optional
74
+ *
75
+ * @description
76
+ *
77
+ * Define o tamanho dos componentes de formulário no template:
78
+ * - `small`: aplica a medida small de cada componente (disponível apenas para acessibilidade AA).
79
+ * - `medium`: aplica a medida medium de cada componente.
80
+ *
81
+ * > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
82
+ * Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
83
+ *
84
+ * @default `medium`
85
+ */
86
+ set componentsSize(value: string);
87
+ get componentsSize(): string;
69
88
  /**
70
89
  * @optional
71
90
  *
@@ -121,8 +140,8 @@ export declare abstract class PoPageListBaseComponent {
121
140
  * Subtitulo do Header da página
122
141
  */
123
142
  subtitle: string;
124
- constructor(languageService: PoLanguageService);
143
+ constructor(languageService: PoLanguageService, poThemeService: PoThemeService);
125
144
  abstract setDropdownActions(): any;
126
145
  static ɵfac: i0.ɵɵFactoryDeclaration<PoPageListBaseComponent, never>;
127
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoPageListBaseComponent, never, never, { "breadcrumb": { "alias": "p-breadcrumb"; "required": false; }; "filter": { "alias": "p-filter"; "required": false; }; "quickSearchValue": { "alias": "p-quick-search-value"; "required": false; }; "actions": { "alias": "p-actions"; "required": false; }; "disclaimerGroup": { "alias": "p-disclaimer-group"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "title": { "alias": "p-title"; "required": false; }; "subtitle": { "alias": "p-subtitle"; "required": false; }; }, {}, never, never, true, never>;
146
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoPageListBaseComponent, never, never, { "breadcrumb": { "alias": "p-breadcrumb"; "required": false; }; "filter": { "alias": "p-filter"; "required": false; }; "quickSearchValue": { "alias": "p-quick-search-value"; "required": false; }; "actions": { "alias": "p-actions"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; "disclaimerGroup": { "alias": "p-disclaimer-group"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "title": { "alias": "p-title"; "required": false; }; "subtitle": { "alias": "p-subtitle"; "required": false; }; }, {}, never, never, true, never>;
128
147
  }
@@ -1,10 +1,11 @@
1
- import { AfterContentInit, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChange, ViewContainerRef, ChangeDetectorRef, ElementRef } from '@angular/core';
1
+ import { AfterContentInit, ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChange, ViewContainerRef } from '@angular/core';
2
2
  import { Router } from '@angular/router';
3
3
  import { callFunction } from '../../../utils/util';
4
4
  import { PoLanguageService } from './../../../services/po-language/po-language.service';
5
- import { PoPageAction } from '../po-page-action.interface';
6
- import { PoDisclaimer } from '../../po-disclaimer/po-disclaimer.interface';
7
5
  import { PoDisclaimerGroupRemoveAction } from '../../po-disclaimer-group/po-disclaimer-group-remove-action.interface';
6
+ import { PoDisclaimer } from '../../po-disclaimer/po-disclaimer.interface';
7
+ import { PoPageAction } from '../interfaces/po-page-action.interface';
8
+ import { PoThemeService } from '../../../services';
8
9
  import { PoPageListBaseComponent } from './po-page-list-base.component';
9
10
  import * as i0 from "@angular/core";
10
11
  /**
@@ -30,6 +31,7 @@ import * as i0 from "@angular/core";
30
31
  */
31
32
  export declare class PoPageListComponent extends PoPageListBaseComponent implements AfterContentInit, OnChanges, OnDestroy, OnInit {
32
33
  renderer: Renderer2;
34
+ protected poThemeService: PoThemeService;
33
35
  private router;
34
36
  private changeDetector;
35
37
  filterInput: ElementRef;
@@ -40,7 +42,7 @@ export declare class PoPageListComponent extends PoPageListBaseComponent impleme
40
42
  callFunction: typeof callFunction;
41
43
  private isRecalculate;
42
44
  private maxWidthMobile;
43
- constructor(viewRef: ViewContainerRef, languageService: PoLanguageService, renderer: Renderer2, router: Router, changeDetector: ChangeDetectorRef);
45
+ constructor(viewRef: ViewContainerRef, languageService: PoLanguageService, renderer: Renderer2, poThemeService: PoThemeService, router: Router, changeDetector: ChangeDetectorRef);
44
46
  ngOnInit(): void;
45
47
  ngAfterContentInit(): void;
46
48
  ngOnChanges(changes: {
@@ -1,4 +1,5 @@
1
1
  import { EventEmitter } from '@angular/core';
2
+ import { PoThemeService } from '../../../services';
2
3
  import * as i0 from "@angular/core";
3
4
  /**
4
5
  * @description
@@ -85,6 +86,7 @@ import * as i0 from "@angular/core";
85
86
  *
86
87
  */
87
88
  export declare class PoPageSlideBaseComponent {
89
+ protected poThemeService: PoThemeService;
88
90
  /**
89
91
  * @description
90
92
  *
@@ -138,6 +140,7 @@ export declare class PoPageSlideBaseComponent {
138
140
  */
139
141
  closePageSlide: EventEmitter<any>;
140
142
  hidden: boolean;
143
+ private _componentsSize?;
141
144
  private _size;
142
145
  /**
143
146
  * @optional
@@ -159,6 +162,23 @@ export declare class PoPageSlideBaseComponent {
159
162
  */
160
163
  set size(value: string);
161
164
  get size(): string;
165
+ /**
166
+ * @optional
167
+ *
168
+ * @description
169
+ *
170
+ * Define o tamanho dos componentes de formulário no template:
171
+ * - `small`: aplica a medida small de cada componente (disponível apenas para acessibilidade AA).
172
+ * - `medium`: aplica a medida medium de cada componente.
173
+ *
174
+ * > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
175
+ * Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
176
+ *
177
+ * @default `medium`
178
+ */
179
+ set componentsSize(value: string);
180
+ get componentsSize(): string;
181
+ constructor(poThemeService: PoThemeService);
162
182
  /**
163
183
  * Ativa a visualização da página.
164
184
  *
@@ -198,7 +218,7 @@ export declare class PoPageSlideBaseComponent {
198
218
  */
199
219
  close(): void;
200
220
  static ɵfac: i0.ɵɵFactoryDeclaration<PoPageSlideBaseComponent, never>;
201
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoPageSlideBaseComponent, never, never, { "title": { "alias": "p-title"; "required": false; }; "subtitle": { "alias": "p-subtitle"; "required": false; }; "hideClose": { "alias": "p-hide-close"; "required": false; }; "clickOut": { "alias": "p-click-out"; "required": false; }; "flexibleWidth": { "alias": "p-flexible-width"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; }, { "closePageSlide": "p-close"; }, never, never, true, never>;
221
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoPageSlideBaseComponent, never, never, { "title": { "alias": "p-title"; "required": false; }; "subtitle": { "alias": "p-subtitle"; "required": false; }; "hideClose": { "alias": "p-hide-close"; "required": false; }; "clickOut": { "alias": "p-click-out"; "required": false; }; "flexibleWidth": { "alias": "p-flexible-width"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; }, { "closePageSlide": "p-close"; }, never, never, true, never>;
202
222
  static ngAcceptInputType_hideClose: any;
203
223
  static ngAcceptInputType_clickOut: any;
204
224
  static ngAcceptInputType_flexibleWidth: any;
@@ -1,9 +1,10 @@
1
1
  import { ElementRef } from '@angular/core';
2
+ import { PoThemeService } from '../../../services';
2
3
  import { PoActiveOverlayService } from '../../../services/po-active-overlay/po-active-overlay.service';
4
+ import { PoLanguageService } from '../../../services/po-language/po-language.service';
5
+ import { PoPageSlideLiterals } from './interfaces/po-page-slide-literals.interface';
3
6
  import { PoPageSlideBaseComponent } from './po-page-slide-base.component';
4
7
  import { PoPageSlideFooterComponent } from './po-page-slide-footer/po-page-slide-footer.component';
5
- import { PoPageSlideLiterals } from './interfaces/po-page-slide-literals.interface';
6
- import { PoLanguageService } from '../../../services/po-language/po-language.service';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare const poPageSlideLiteralsDefault: {
9
10
  en: PoPageSlideLiterals;
@@ -32,6 +33,7 @@ export declare const poPageSlideLiteralsDefault: {
32
33
  * </example>
33
34
  */
34
35
  export declare class PoPageSlideComponent extends PoPageSlideBaseComponent {
36
+ protected poThemeService: PoThemeService;
35
37
  private poActiveOverlayService;
36
38
  private languageService;
37
39
  private _pageContent;
@@ -46,7 +48,7 @@ export declare class PoPageSlideComponent extends PoPageSlideBaseComponent {
46
48
  pageSlideFooter: PoPageSlideFooterComponent;
47
49
  set pageContent(pageContent: ElementRef);
48
50
  get pageContent(): ElementRef;
49
- constructor(poActiveOverlayService: PoActiveOverlayService, languageService: PoLanguageService);
51
+ constructor(poThemeService: PoThemeService, poActiveOverlayService: PoActiveOverlayService, languageService: PoLanguageService);
50
52
  open(): void;
51
53
  close(): void;
52
54
  onClickOut(event: MouseEvent): void;
@@ -1,4 +1,5 @@
1
1
  import { EventEmitter } from '@angular/core';
2
+ import { PoThemeService } from '../../services';
2
3
  import { PoPopupAction } from './po-popup-action.interface';
3
4
  import * as i0 from "@angular/core";
4
5
  /**
@@ -63,6 +64,7 @@ import * as i0 from "@angular/core";
63
64
  *
64
65
  */
65
66
  export declare class PoPopupBaseComponent {
67
+ protected poThemeService: PoThemeService;
66
68
  arrowDirection: string;
67
69
  showPopup: boolean;
68
70
  protected oldTarget: any;
@@ -74,6 +76,7 @@ export declare class PoPopupBaseComponent {
74
76
  private _hideArrow;
75
77
  private _isCornerAlign;
76
78
  private _position?;
79
+ private _size?;
77
80
  private _target;
78
81
  /** Lista de ações que serão exibidas no componente. */
79
82
  set actions(value: Array<PoPopupAction>);
@@ -148,6 +151,22 @@ export declare class PoPopupBaseComponent {
148
151
  */
149
152
  set customPositions(value: Array<string>);
150
153
  get customPositions(): Array<string>;
154
+ /**
155
+ * @optional
156
+ *
157
+ * @description
158
+ *
159
+ * Define o tamanho dos componentes de formulário no template:
160
+ * - `small`: aplica a medida small de cada componente (disponível apenas para acessibilidade AA).
161
+ * - `medium`: aplica a medida medium de cada componente.
162
+ *
163
+ * > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
164
+ * Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
165
+ *
166
+ * @default `medium`
167
+ */
168
+ set size(value: string);
169
+ get size(): string;
151
170
  /**
152
171
  * @description
153
172
  *
@@ -188,6 +207,7 @@ export declare class PoPopupBaseComponent {
188
207
  set target(value: any);
189
208
  get target(): any;
190
209
  closeEvent: EventEmitter<any>;
210
+ constructor(poThemeService: PoThemeService);
191
211
  static ɵfac: i0.ɵɵFactoryDeclaration<PoPopupBaseComponent, never>;
192
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoPopupBaseComponent, never, never, { "actions": { "alias": "p-actions"; "required": false; }; "hideArrow": { "alias": "p-hide-arrow"; "required": false; }; "isCornerAlign": { "alias": "p-is-corner-align"; "required": false; }; "position": { "alias": "p-position"; "required": false; }; "customPositions": { "alias": "p-custom-positions"; "required": false; }; "target": { "alias": "p-target"; "required": false; }; }, { "closeEvent": "p-close"; }, never, never, true, never>;
212
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoPopupBaseComponent, never, never, { "actions": { "alias": "p-actions"; "required": false; }; "hideArrow": { "alias": "p-hide-arrow"; "required": false; }; "isCornerAlign": { "alias": "p-is-corner-align"; "required": false; }; "position": { "alias": "p-position"; "required": false; }; "customPositions": { "alias": "p-custom-positions"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "target": { "alias": "p-target"; "required": false; }; }, { "closeEvent": "p-close"; }, never, never, true, never>;
193
213
  }
@@ -1,9 +1,10 @@
1
1
  import { ChangeDetectorRef, ElementRef, Renderer2, ViewContainerRef } from '@angular/core';
2
2
  import { Router } from '@angular/router';
3
3
  import { PoControlPositionService } from '../../services/po-control-position/po-control-position.service';
4
+ import { PoThemeService } from '../../services';
5
+ import { PoListBoxComponent } from '../po-listbox';
4
6
  import { PoPopupAction } from './po-popup-action.interface';
5
7
  import { PoPopupBaseComponent } from './po-popup-base.component';
6
- import { PoListBoxComponent } from '../po-listbox';
7
8
  import * as i0 from "@angular/core";
8
9
  /**
9
10
  *
@@ -28,6 +29,7 @@ import * as i0 from "@angular/core";
28
29
  *
29
30
  */
30
31
  export declare class PoPopupComponent extends PoPopupBaseComponent {
32
+ protected poThemeService: PoThemeService;
31
33
  private renderer;
32
34
  private router;
33
35
  private poControlPosition;
@@ -35,7 +37,7 @@ export declare class PoPopupComponent extends PoPopupBaseComponent {
35
37
  popupRef: ElementRef;
36
38
  listbox: ElementRef;
37
39
  poListBoxRef: PoListBoxComponent;
38
- constructor(viewContainerRef: ViewContainerRef, renderer: Renderer2, router: Router, poControlPosition: PoControlPositionService, changeDetector: ChangeDetectorRef);
40
+ constructor(viewContainerRef: ViewContainerRef, poThemeService: PoThemeService, renderer: Renderer2, router: Router, poControlPosition: PoControlPositionService, changeDetector: ChangeDetectorRef);
39
41
  /**
40
42
  * Fecha o componente *popup*.
41
43
  *
@@ -3,9 +3,11 @@
3
3
  *
4
4
  * @description
5
5
  *
6
- * *Enum* `PoProgressSize` para o tamanho da altura da barra de progresso.
6
+ * Enum para configurar a expessura (`p-size`) da barra de progresso do componente.
7
7
  */
8
8
  export declare enum PoProgressSize {
9
+ /** Tamanho médio com 4px. */
9
10
  medium = "medium",
11
+ /** Tamanho grande com 8px. */
10
12
  large = "large"
11
13
  }
@@ -1,4 +1,5 @@
1
1
  import { EventEmitter, TemplateRef } from '@angular/core';
2
+ import { PoThemeService } from '../../services';
2
3
  import { PoProgressStatus } from './enums/po-progress-status.enum';
3
4
  import { PoProgressAction } from './interfaces';
4
5
  import * as i0 from "@angular/core";
@@ -29,6 +30,7 @@ import * as i0 from "@angular/core";
29
30
  *
30
31
  */
31
32
  export declare class PoProgressBaseComponent {
33
+ protected poThemeService: PoThemeService;
32
34
  /**
33
35
  * @optional
34
36
  *
@@ -185,6 +187,7 @@ export declare class PoProgressBaseComponent {
185
187
  private _indeterminate?;
186
188
  private _value?;
187
189
  private _size;
190
+ private _sizeActions;
188
191
  /**
189
192
  * @optional
190
193
  *
@@ -218,16 +221,32 @@ export declare class PoProgressBaseComponent {
218
221
  *
219
222
  * @description
220
223
  *
221
- * Definição do tamanho da altura da barra de progresso.
224
+ * Define a expessura da barra de progresso.
222
225
  *
223
226
  * Valores válidos:
224
- * - `medium`: tamanho médio
225
- * - `large`: tamanho grande
227
+ * - medium
228
+ * - large
226
229
  *
227
230
  * @default `large`
228
231
  */
229
232
  set size(value: string);
230
233
  get size(): string;
234
+ /**
235
+ * @optional
236
+ *
237
+ * @description
238
+ *
239
+ * Define o tamanho das ações no componente com excessão da barra de progresso que pode ser ajustada através da propriedade `p-size`:
240
+ * - `small`: aplica a medida small de cada componente (disponível apenas para acessibilidade AA).
241
+ * - `medium`: aplica a medida medium de cada componente.
242
+ *
243
+ * > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
244
+ * Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
245
+ *
246
+ * @default `medium`
247
+ */
248
+ set sizeActions(value: string);
249
+ get sizeActions(): string;
231
250
  /**
232
251
  * @optional
233
252
  *
@@ -238,9 +257,10 @@ export declare class PoProgressBaseComponent {
238
257
  * @default `false`
239
258
  */
240
259
  showPercentage: boolean;
260
+ constructor(poThemeService: PoThemeService);
241
261
  private isProgressRangeValue;
242
262
  static ɵfac: i0.ɵɵFactoryDeclaration<PoProgressBaseComponent, never>;
243
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoProgressBaseComponent, never, never, { "disabledCancel": { "alias": "p-disabled-cancel"; "required": false; }; "info": { "alias": "p-info"; "required": false; }; "infoIcon": { "alias": "p-info-icon"; "required": false; }; "status": { "alias": "p-status"; "required": false; }; "text": { "alias": "p-text"; "required": false; }; "customAction": { "alias": "p-custom-action"; "required": false; }; "indeterminate": { "alias": "p-indeterminate"; "required": false; }; "value": { "alias": "p-value"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "showPercentage": { "alias": "p-show-percentage"; "required": false; }; }, { "customActionClick": "p-custom-action-click"; "cancel": "p-cancel"; "retry": "p-retry"; }, never, never, true, never>;
263
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoProgressBaseComponent, never, never, { "disabledCancel": { "alias": "p-disabled-cancel"; "required": false; }; "info": { "alias": "p-info"; "required": false; }; "infoIcon": { "alias": "p-info-icon"; "required": false; }; "status": { "alias": "p-status"; "required": false; }; "text": { "alias": "p-text"; "required": false; }; "customAction": { "alias": "p-custom-action"; "required": false; }; "indeterminate": { "alias": "p-indeterminate"; "required": false; }; "value": { "alias": "p-value"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "sizeActions": { "alias": "p-size-actions"; "required": false; }; "showPercentage": { "alias": "p-show-percentage"; "required": false; }; }, { "customActionClick": "p-custom-action-click"; "cancel": "p-cancel"; "retry": "p-retry"; }, never, never, true, never>;
244
264
  static ngAcceptInputType_disabledCancel: any;
245
265
  static ngAcceptInputType_showPercentage: any;
246
266
  }
@@ -1,4 +1,5 @@
1
1
  import { OnInit } from '@angular/core';
2
+ import { PoThemeService } from '../../services';
2
3
  import { PoProgressBaseComponent } from './po-progress-base.component';
3
4
  import * as i0 from "@angular/core";
4
5
  /**
@@ -21,6 +22,7 @@ import * as i0 from "@angular/core";
21
22
  * </example>
22
23
  */
23
24
  export declare class PoProgressComponent extends PoProgressBaseComponent implements OnInit {
25
+ protected poThemeService: PoThemeService;
24
26
  language: any;
25
27
  literals: any;
26
28
  get isAllowCancel(): boolean;
@@ -29,6 +31,7 @@ export declare class PoProgressComponent extends PoProgressBaseComponent impleme
29
31
  get statusClass(): string;
30
32
  private poLanguageService;
31
33
  private router;
34
+ constructor(poThemeService: PoThemeService);
32
35
  ngOnInit(): void;
33
36
  emitCancellation(): void;
34
37
  emitRetry(): void;
@@ -1,6 +1,6 @@
1
1
  export * from './po-search.component';
2
2
  export * from './po-search.module';
3
- export * from './enum/po-search-filter-mode.enum';
3
+ export * from './enums/po-search-filter-mode.enum';
4
4
  export * from './interfaces/po-search-filter-select.interface';
5
5
  export * from './interfaces/po-search-option.interface';
6
6
  export * from './literals/po-search-literals';
@@ -1,8 +1,9 @@
1
1
  import { PoLanguageService } from '../../services/po-language/po-language.service';
2
2
  import { EventEmitter, TemplateRef } from '@angular/core';
3
- import { PoSearchLiterals } from './literals/po-search-literals';
4
- import { PoSearchFilterMode } from './enum/po-search-filter-mode.enum';
3
+ import { PoThemeService } from '../../services';
4
+ import { PoSearchFilterMode } from './enums/po-search-filter-mode.enum';
5
5
  import { PoSearchFilterSelect } from './interfaces/po-search-filter-select.interface';
6
+ import { PoSearchLiterals } from './literals/po-search-literals';
6
7
  import * as i0 from "@angular/core";
7
8
  export type searchMode = 'action' | 'trigger';
8
9
  /**
@@ -65,10 +66,12 @@ export type searchMode = 'action' | 'trigger';
65
66
  *
66
67
  */
67
68
  export declare class PoSearchBaseComponent {
69
+ protected poThemeService: PoThemeService;
68
70
  private _literals?;
69
71
  private _ariaLabel?;
70
72
  private language;
71
73
  private _filterSelect?;
74
+ private _size?;
72
75
  /**
73
76
  * @optional
74
77
  *
@@ -195,6 +198,22 @@ export declare class PoSearchBaseComponent {
195
198
  */
196
199
  set filterSelect(values: Array<PoSearchFilterSelect>);
197
200
  get filterSelect(): Array<PoSearchFilterSelect>;
201
+ /**
202
+ * @optional
203
+ *
204
+ * @description
205
+ *
206
+ * Define o tamanho do componente:
207
+ * - `small`: altura do input como 32px (disponível apenas para acessibilidade AA).
208
+ * - `medium`: altura do input como 44px.
209
+ *
210
+ * > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
211
+ * Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
212
+ *
213
+ * @default `medium`
214
+ */
215
+ set size(value: string);
216
+ get size(): string;
198
217
  /**
199
218
  * @optional
200
219
  *
@@ -227,10 +246,10 @@ export declare class PoSearchBaseComponent {
227
246
  * Pode ser informada uma função que será disparada quando houver click no listbox.
228
247
  */
229
248
  listboxOnClick: EventEmitter<any>;
230
- constructor(languageService: PoLanguageService);
249
+ constructor(languageService: PoLanguageService, poThemeService: PoThemeService);
231
250
  ensureFilterSelectOption(values: any): any[];
232
251
  static ɵfac: i0.ɵɵFactoryDeclaration<PoSearchBaseComponent, never>;
233
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoSearchBaseComponent, never, never, { "disabled": { "alias": "p-disabled"; "required": false; }; "items": { "alias": "p-items"; "required": false; }; "ariaLabel": { "alias": "p-aria-label"; "required": false; }; "filterKeys": { "alias": "p-filter-keys"; "required": false; }; "icon": { "alias": "p-icon"; "required": false; }; "type": { "alias": "p-search-type"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "filterType": { "alias": "p-filter-type"; "required": false; }; "showListbox": { "alias": "p-show-listbox"; "required": false; }; "filterSelect": { "alias": "p-filter-select"; "required": false; }; }, { "changeModel": "p-change-model"; "filteredItemsChange": "p-filtered-items-change"; "filter": "p-filter"; "listboxOnClick": "p-listbox-onclick"; }, never, never, true, never>;
252
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoSearchBaseComponent, never, never, { "disabled": { "alias": "p-disabled"; "required": false; }; "items": { "alias": "p-items"; "required": false; }; "ariaLabel": { "alias": "p-aria-label"; "required": false; }; "filterKeys": { "alias": "p-filter-keys"; "required": false; }; "icon": { "alias": "p-icon"; "required": false; }; "type": { "alias": "p-search-type"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "filterType": { "alias": "p-filter-type"; "required": false; }; "showListbox": { "alias": "p-show-listbox"; "required": false; }; "filterSelect": { "alias": "p-filter-select"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; }, { "changeModel": "p-change-model"; "filteredItemsChange": "p-filtered-items-change"; "filter": "p-filter"; "listboxOnClick": "p-listbox-onclick"; }, never, never, true, never>;
234
253
  static ngAcceptInputType_disabled: any;
235
254
  static ngAcceptInputType_showListbox: any;
236
255
  }
@@ -1,4 +1,5 @@
1
1
  import { ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges } from '@angular/core';
2
+ import { PoThemeService } from '../../services';
2
3
  import { PoControlPositionService } from '../../services/po-control-position/po-control-position.service';
3
4
  import { PoLanguageService } from '../../services/po-language/po-language.service';
4
5
  import { PoDropdownAction } from '../po-dropdown';
@@ -43,6 +44,7 @@ import * as i0 from "@angular/core";
43
44
  */
44
45
  export declare class PoSearchComponent extends PoSearchBaseComponent implements OnInit, OnDestroy, OnChanges {
45
46
  languageService: PoLanguageService;
47
+ protected poThemeService: PoThemeService;
46
48
  private renderer;
47
49
  private changeDetector;
48
50
  private controlPosition;
@@ -61,7 +63,7 @@ export declare class PoSearchComponent extends PoSearchBaseComponent implements
61
63
  searchFilter: {};
62
64
  searchFilterSelectLabel: string;
63
65
  searchFilterSelectActions: Array<PoDropdownAction>;
64
- constructor(languageService: PoLanguageService, renderer: Renderer2, changeDetector: ChangeDetectorRef, controlPosition: PoControlPositionService);
66
+ constructor(languageService: PoLanguageService, poThemeService: PoThemeService, renderer: Renderer2, changeDetector: ChangeDetectorRef, controlPosition: PoControlPositionService);
65
67
  ngOnInit(): void;
66
68
  ngOnChanges(changes: SimpleChanges): void;
67
69
  ngOnDestroy(): void;
@@ -1,8 +1,8 @@
1
- import { PoTableBoolean } from './po-table-boolean.interface';
2
1
  import { PoTableColumnIcon } from '../po-table-column-icon/po-table-column-icon.interface';
3
2
  import { PoTableColumnLabel } from '../po-table-column-label/po-table-column-label.interface';
4
3
  import { PoTableDetail } from '../po-table-detail/po-table-detail.interface';
5
4
  import { PoTableSubtitleColumn } from '../po-table-subtitle-footer/po-table-subtitle-column.interface';
5
+ import { PoTableBoolean } from './po-table-boolean.interface';
6
6
  /**
7
7
  * @usedBy PoTableComponent
8
8
  *
@@ -30,4 +30,6 @@ export interface PoTableFilteredItemsParams {
30
30
  * - Coluna ascendente será informada da seguinte forma: `<colunaOrdenada>, por exemplo `name`.
31
31
  */
32
32
  order?: string;
33
+ /** Define o tamnho dos componentes de formulário no table. */
34
+ size?: string;
33
35
  }
@@ -2,7 +2,8 @@ import { EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core
2
2
  import { Observable } from 'rxjs';
3
3
  import { PoDateService } from '../../services/po-date/po-date.service';
4
4
  import { PoLanguageService } from '../../services/po-language/po-language.service';
5
- import { PoSearchFilterMode } from '../po-search/enum/po-search-filter-mode.enum';
5
+ import { PoThemeService } from '../../services';
6
+ import { PoSearchFilterMode } from '../po-search/enums/po-search-filter-mode.enum';
6
7
  import { PoTableColumnSpacing } from './enums/po-table-spacing.enum';
7
8
  import { PoTableAction } from './interfaces/po-table-action.interface';
8
9
  import { PoTableColumnSort } from './interfaces/po-table-column-sort.interface';
@@ -74,6 +75,7 @@ export declare const poTableLiteralsDefault: {
74
75
  */
75
76
  export declare abstract class PoTableBaseComponent implements OnChanges, OnDestroy {
76
77
  private poDate;
78
+ protected poThemeService: PoThemeService;
77
79
  private poTableService;
78
80
  /**
79
81
  * @optional
@@ -376,6 +378,7 @@ export declare abstract class PoTableBaseComponent implements OnChanges, OnDestr
376
378
  initialized: boolean;
377
379
  fixedLayout: boolean;
378
380
  private initialVisibleColumns;
381
+ private _componentsSize?;
379
382
  private _spacing;
380
383
  private _filteredColumns;
381
384
  private _actions?;
@@ -398,7 +401,23 @@ export declare abstract class PoTableBaseComponent implements OnChanges, OnDestr
398
401
  private _draggable?;
399
402
  private _hideActionFixedColumns?;
400
403
  private _virtualScroll?;
401
- constructor(poDate: PoDateService, languageService: PoLanguageService, poTableService: PoTableService);
404
+ constructor(poDate: PoDateService, languageService: PoLanguageService, poThemeService: PoThemeService, poTableService: PoTableService);
405
+ /**
406
+ * @optional
407
+ *
408
+ * @description
409
+ *
410
+ * Define o tamanho dos componentes de formulário no table:
411
+ * - `small`: aplica a medida small de cada componente (disponível apenas para acessibilidade AA).
412
+ * - `medium`: aplica a medida medium de cada componente.
413
+ *
414
+ * > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
415
+ * Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
416
+ *
417
+ * @default `medium`
418
+ */
419
+ set componentsSize(value: string);
420
+ get componentsSize(): string;
402
421
  /**
403
422
  * @description
404
423
  *
@@ -740,7 +759,7 @@ export declare abstract class PoTableBaseComponent implements OnChanges, OnDestr
740
759
  protected abstract changeSizeLoading(): any;
741
760
  protected abstract changeHeaderWidth(): any;
742
761
  static ɵfac: i0.ɵɵFactoryDeclaration<PoTableBaseComponent, never>;
743
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoTableBaseComponent, never, never, { "hideColumnsManager": { "alias": "p-hide-columns-manager"; "required": false; }; "hideBatchActions": { "alias": "p-hide-batch-actions"; "required": false; }; "textWrap": { "alias": "p-text-wrap"; "required": false; }; "hideActionFixedColumns": { "alias": "p-hide-action-fixed-columns"; "required": false; }; "hideTableSearch": { "alias": "p-hide-table-search"; "required": false; }; "autoCollapse": { "alias": "p-auto-collapse"; "required": false; }; "loadingShowMore": { "alias": "p-loading-show-more"; "required": false; }; "sort": { "alias": "p-sort"; "required": false; }; "showMoreDisabled": { "alias": "p-show-more-disabled"; "required": false; }; "striped": { "alias": "p-striped"; "required": false; }; "hideSelectAll": { "alias": "p-hide-select-all"; "required": false; }; "singleSelect": { "alias": "p-single-select"; "required": false; }; "selectableEntireLine": { "alias": "p-selectable-entire-line"; "required": false; }; "actionRight": { "alias": "p-actions-right"; "required": false; }; "maxColumns": { "alias": "p-max-columns"; "required": false; }; "filterType": { "alias": "p-filter-type"; "required": false; }; "items": { "alias": "p-items"; "required": false; }; "columns": { "alias": "p-columns"; "required": false; }; "container": { "alias": "p-container"; "required": false; }; "paramDeleteApi": { "alias": "p-param-delete-api"; "required": false; }; "height": { "alias": "p-height"; "required": false; }; "hideDetail": { "alias": "p-hide-detail"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "loading": { "alias": "p-loading"; "required": false; }; "actions": { "alias": "p-actions"; "required": false; }; "selectable": { "alias": "p-selectable"; "required": false; }; "infiniteScroll": { "alias": "p-infinite-scroll"; "required": false; }; "infiniteScrollDistance": { "alias": "p-infinite-scroll-distance"; "required": false; }; "serviceApi": { "alias": "p-service-api"; "required": false; }; "serviceDeleteApi": { "alias": "p-service-delete"; "required": false; }; "spacing": { "alias": "p-spacing"; "required": false; }; "filteredColumns": { "alias": "p-filtered-columns"; "required": false; }; "draggable": { "alias": "p-draggable"; "required": false; }; "virtualScroll": { "alias": "p-virtual-scroll"; "required": false; }; }, { "allSelected": "p-all-selected"; "allUnselected": "p-all-unselected"; "collapsed": "p-collapsed"; "expanded": "p-expanded"; "eventDelete": "p-delete-items"; "selected": "p-selected"; "showMore": "p-show-more"; "sortBy": "p-sort-by"; "unselected": "p-unselected"; "changeVisibleColumns": "p-change-visible-columns"; "columnRestoreManager": "p-restore-column-manager"; }, never, never, true, never>;
762
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoTableBaseComponent, never, never, { "hideColumnsManager": { "alias": "p-hide-columns-manager"; "required": false; }; "hideBatchActions": { "alias": "p-hide-batch-actions"; "required": false; }; "textWrap": { "alias": "p-text-wrap"; "required": false; }; "hideActionFixedColumns": { "alias": "p-hide-action-fixed-columns"; "required": false; }; "hideTableSearch": { "alias": "p-hide-table-search"; "required": false; }; "autoCollapse": { "alias": "p-auto-collapse"; "required": false; }; "loadingShowMore": { "alias": "p-loading-show-more"; "required": false; }; "sort": { "alias": "p-sort"; "required": false; }; "showMoreDisabled": { "alias": "p-show-more-disabled"; "required": false; }; "striped": { "alias": "p-striped"; "required": false; }; "hideSelectAll": { "alias": "p-hide-select-all"; "required": false; }; "singleSelect": { "alias": "p-single-select"; "required": false; }; "selectableEntireLine": { "alias": "p-selectable-entire-line"; "required": false; }; "actionRight": { "alias": "p-actions-right"; "required": false; }; "maxColumns": { "alias": "p-max-columns"; "required": false; }; "filterType": { "alias": "p-filter-type"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; "items": { "alias": "p-items"; "required": false; }; "columns": { "alias": "p-columns"; "required": false; }; "container": { "alias": "p-container"; "required": false; }; "paramDeleteApi": { "alias": "p-param-delete-api"; "required": false; }; "height": { "alias": "p-height"; "required": false; }; "hideDetail": { "alias": "p-hide-detail"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "loading": { "alias": "p-loading"; "required": false; }; "actions": { "alias": "p-actions"; "required": false; }; "selectable": { "alias": "p-selectable"; "required": false; }; "infiniteScroll": { "alias": "p-infinite-scroll"; "required": false; }; "infiniteScrollDistance": { "alias": "p-infinite-scroll-distance"; "required": false; }; "serviceApi": { "alias": "p-service-api"; "required": false; }; "serviceDeleteApi": { "alias": "p-service-delete"; "required": false; }; "spacing": { "alias": "p-spacing"; "required": false; }; "filteredColumns": { "alias": "p-filtered-columns"; "required": false; }; "draggable": { "alias": "p-draggable"; "required": false; }; "virtualScroll": { "alias": "p-virtual-scroll"; "required": false; }; }, { "allSelected": "p-all-selected"; "allUnselected": "p-all-unselected"; "collapsed": "p-collapsed"; "expanded": "p-expanded"; "eventDelete": "p-delete-items"; "selected": "p-selected"; "showMore": "p-show-more"; "sortBy": "p-sort-by"; "unselected": "p-unselected"; "changeVisibleColumns": "p-change-visible-columns"; "columnRestoreManager": "p-restore-column-manager"; }, never, never, true, never>;
744
763
  static ngAcceptInputType_hideColumnsManager: any;
745
764
  static ngAcceptInputType_hideBatchActions: any;
746
765
  static ngAcceptInputType_textWrap: any;