@po-ui/ng-components 19.6.0 → 19.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 (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.8.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
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @usedBy PoButtonComponent
3
+ *
4
+ * @description
5
+ *
6
+ * Estilos (`p-kind`) disponíveis do componente.
7
+ */
8
+ export declare enum PoButtonKind {
9
+ /** Estilo primário, usado para ações principais que requerem maior destaque. */
10
+ primary = "primary",
11
+ /** Estilo secundário, usado como padrão, para ações comuns. */
12
+ secondary = "secondary",
13
+ /** Estilo terciário, ideal para ações menos importantes, sem fundo preenchido. */
14
+ tertiary = "tertiary"
15
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @description
3
+ *
4
+ * Tamanhos da propriedade `p-size`. A medida `small` está disponível apenas para acessibilidade AA.
5
+ */
6
+ export declare enum PoButtonSize {
7
+ /** Define a altura do button como 32px. */
8
+ Small = "small",
9
+ /** Define a altura do button como 44px. */
10
+ Medium = "medium",
11
+ /** Define a altura do button como 56px. */
12
+ Large = "large"
13
+ }
@@ -1,3 +1,5 @@
1
1
  export * from './po-button.component';
2
2
  export * from './po-button.module';
3
- export * from './po-button-type.enum';
3
+ export * from './enums/po-button-kind.enum';
4
+ export * from './enums/po-button-size.enum';
5
+ export * from './enums/po-button-type.enum';
@@ -1,5 +1,6 @@
1
1
  import { EventEmitter, TemplateRef } from '@angular/core';
2
- import { PoButtonType } from './po-button-type.enum';
2
+ import { PoThemeService } from '../../services';
3
+ import { PoButtonType } from './enums/po-button-type.enum';
3
4
  import * as i0 from "@angular/core";
4
5
  /**
5
6
  * @description
@@ -67,6 +68,7 @@ import * as i0 from "@angular/core";
67
68
  *
68
69
  */
69
70
  export declare class PoButtonBaseComponent {
71
+ protected poThemeService: PoThemeService;
70
72
  /**
71
73
  * @optional
72
74
  *
@@ -147,28 +149,10 @@ export declare class PoButtonBaseComponent {
147
149
  *
148
150
  * @description
149
151
  *
150
- * Define o tamanho do `po-button`.
151
- *
152
- * Valores válidos:
153
- * - `medium`: o `po-button` fica do tamanho padrão, com 44px de altura.;
154
- * - `large`: o `po-button` fica maior, com 56px de altura.;
155
- *
156
- * @default `medium`
157
- *
158
- */
159
- set size(value: string);
160
- get size(): string;
161
- /**
162
- * @optional
163
- *
164
- * @description
165
- *
166
- * Define o estilo do `po-button`.
167
- *
168
- * Valores válidos:
169
- * - `primary`: deixa o `po-button` com destaque, deve ser usado para ações primárias.
170
- * - `secondary`: estilo padrão do `po-button`.
171
- * - `tertiary`: o `po-button` é exibido sem cor do fundo, recebendo menos destaque entre as ações.
152
+ * Define o estilo visual do componente conforme valores especificados no enum `PoButtonKind`:
153
+ * - `primary`: destaca o botão, sendo recomendado para ações principais.
154
+ * - `secondary`: estilo padrão, ideal para ações secundárias.
155
+ * - `tertiary`: exibe o botão sem preenchimento no fundo, indicado para ações opcionais.
172
156
  *
173
157
  * @default `secondary`
174
158
  */
@@ -197,7 +181,25 @@ export declare class PoButtonBaseComponent {
197
181
  * > Em caso de botões com apenas ícone a atribuição de valor à esta propriedade é muito importante para acessibilidade.
198
182
  */
199
183
  ariaLabel?: string;
184
+ /**
185
+ * @optional
186
+ *
187
+ * @description
188
+ *
189
+ * Define o tamanho do componente:
190
+ * - `small`: altura de 32px (disponível apenas para acessibilidade AA).
191
+ * - `medium`: altura de 44px.
192
+ * - `large`: altura de 56px.
193
+ *
194
+ * > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
195
+ * Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
196
+ *
197
+ * @default `medium`
198
+ */
199
+ set size(value: string);
200
+ get size(): string;
201
+ constructor(poThemeService: PoThemeService);
200
202
  static ɵfac: i0.ɵɵFactoryDeclaration<PoButtonBaseComponent, never>;
201
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoButtonBaseComponent, never, never, { "label": { "alias": "p-label"; "required": false; }; "icon": { "alias": "p-icon"; "required": false; }; "type": { "alias": "p-type"; "required": false; }; "loading": { "alias": "p-loading"; "required": false; }; "danger": { "alias": "p-danger"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "kind": { "alias": "p-kind"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "ariaLabel": { "alias": "p-aria-label"; "required": false; }; }, { "blur": "p-blur"; "click": "p-click"; }, never, never, true, never>;
203
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoButtonBaseComponent, never, never, { "label": { "alias": "p-label"; "required": false; }; "icon": { "alias": "p-icon"; "required": false; }; "type": { "alias": "p-type"; "required": false; }; "loading": { "alias": "p-loading"; "required": false; }; "danger": { "alias": "p-danger"; "required": false; }; "kind": { "alias": "p-kind"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "ariaLabel": { "alias": "p-aria-label"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; }, { "blur": "p-blur"; "click": "p-click"; }, never, never, true, never>;
202
204
  static ngAcceptInputType_danger: any;
203
205
  }
@@ -1,4 +1,5 @@
1
1
  import { ElementRef } from '@angular/core';
2
+ import { PoThemeService } from '../../services';
2
3
  import { PoButtonBaseComponent } from './po-button-base.component';
3
4
  import * as i0 from "@angular/core";
4
5
  /**
@@ -26,7 +27,9 @@ import * as i0 from "@angular/core";
26
27
  * </example>
27
28
  */
28
29
  export declare class PoButtonComponent extends PoButtonBaseComponent {
30
+ protected poThemeService: PoThemeService;
29
31
  buttonElement: ElementRef;
32
+ constructor(poThemeService: PoThemeService);
30
33
  onBlur(): void;
31
34
  /**
32
35
  * Função que atribui foco ao componente.
@@ -46,6 +49,7 @@ export declare class PoButtonComponent extends PoButtonBaseComponent {
46
49
  * ```
47
50
  */
48
51
  focus(): void;
52
+ mapSizeToIcon(size: string): string;
49
53
  onClick(): void;
50
54
  static ɵfac: i0.ɵɵFactoryDeclaration<PoButtonComponent, never>;
51
55
  static ɵcmp: i0.ɵɵComponentDeclaration<PoButtonComponent, "po-button", never, {}, {}, never, never, false, never>;
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * @description
5
5
  *
6
- * Define o tipo de seleção dos botões do `po-button-group`.
6
+ * Tipos de seleção (`p-toggle`) disponíveis para o componente.
7
7
  */
8
8
  export declare enum PoButtonGroupToggle {
9
9
  /** Seleção múltipla. */
@@ -1,4 +1,4 @@
1
+ export * from './enums/po-button-group-toggle.enum';
1
2
  export * from './po-button-group-item.interface';
2
- export * from './po-button-group-toggle.enum';
3
3
  export * from './po-button-group.component';
4
4
  export * from './po-button-group.module';
@@ -1,3 +1,4 @@
1
+ import { PoThemeService } from '../../services';
1
2
  import { PoButtonGroupItem } from './po-button-group-item.interface';
2
3
  import * as i0 from "@angular/core";
3
4
  /**
@@ -54,25 +55,45 @@ import * as i0 from "@angular/core";
54
55
  *
55
56
  */
56
57
  export declare class PoButtonGroupBaseComponent {
58
+ protected poThemeService: PoThemeService;
57
59
  /** Lista de botões. */
58
60
  buttons: Array<PoButtonGroupItem>;
61
+ private _size?;
59
62
  private _toggle?;
60
63
  /**
61
64
  * @optional
62
65
  *
63
66
  * @description
64
67
  *
65
- * Define o modo de seleção de botões.
66
- *
67
- * > Veja os valores válidos no *enum* `PoButtonGroupToggle`.
68
+ * Define o modo de seleção dos botões no componente conforme valores especificados no enum `PoButtonGroupToggle`:
69
+ * - `multiple`: permite múltiplas seleções.
70
+ * - `none`: desativa a funcionalidade de seleção.
71
+ * - `single`: restringe a seleção a um único botão.
68
72
  *
69
73
  * @default `none`
70
74
  */
71
75
  set toggle(value: string);
72
76
  get toggle(): string;
77
+ /**
78
+ * @optional
79
+ *
80
+ * @description
81
+ *
82
+ * Define o tamanho do componente:
83
+ * - `small`: altura de 32px (disponível apenas para acessibilidade AA).
84
+ * - `medium`: altura de 44px.
85
+ *
86
+ * > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
87
+ * Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
88
+ *
89
+ * @default `medium`
90
+ */
91
+ set size(value: string);
92
+ get size(): string;
93
+ constructor(poThemeService: PoThemeService);
73
94
  onButtonClick(buttonClicked: PoButtonGroupItem, buttonIndex: number): void;
74
95
  private checkSelecteds;
75
96
  private deselectAllButtons;
76
97
  static ɵfac: i0.ɵɵFactoryDeclaration<PoButtonGroupBaseComponent, never>;
77
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoButtonGroupBaseComponent, never, never, { "buttons": { "alias": "p-buttons"; "required": false; }; "toggle": { "alias": "p-toggle"; "required": false; }; }, {}, never, never, true, never>;
98
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoButtonGroupBaseComponent, never, never, { "buttons": { "alias": "p-buttons"; "required": false; }; "toggle": { "alias": "p-toggle"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; }, {}, never, never, true, never>;
78
99
  }
@@ -1,4 +1,5 @@
1
1
  import { ViewContainerRef } from '@angular/core';
2
+ import { PoThemeService } from '../../services';
2
3
  import { PoButtonGroupBaseComponent } from './po-button-group-base.component';
3
4
  import * as i0 from "@angular/core";
4
5
  /**
@@ -28,7 +29,8 @@ import * as i0 from "@angular/core";
28
29
  * </example>
29
30
  */
30
31
  export declare class PoButtonGroupComponent extends PoButtonGroupBaseComponent {
31
- constructor(viewRef: ViewContainerRef);
32
+ protected poThemeService: PoThemeService;
33
+ constructor(viewRef: ViewContainerRef, poThemeService: PoThemeService);
32
34
  static ɵfac: i0.ɵɵFactoryDeclaration<PoButtonGroupComponent, never>;
33
35
  static ɵcmp: i0.ɵɵComponentDeclaration<PoButtonGroupComponent, "po-button-group", never, {}, {}, never, never, false, never>;
34
36
  }
@@ -1,3 +1,4 @@
1
+ import { PoThemeService } from '../../services';
1
2
  import { PoDropdownAction } from './po-dropdown-action.interface';
2
3
  import * as i0 from "@angular/core";
3
4
  /**
@@ -60,12 +61,14 @@ import * as i0 from "@angular/core";
60
61
  *
61
62
  */
62
63
  export declare class PoDropdownBaseComponent {
64
+ protected poThemeService: PoThemeService;
63
65
  /** Adiciona um rótulo ao `dropdown`. */
64
66
  label: string;
65
67
  icon: string;
66
68
  open: boolean;
67
69
  private _actions;
68
70
  private _disabled;
71
+ private _size?;
69
72
  /** Lista de ações que serão exibidas no componente. */
70
73
  set actions(value: Array<PoDropdownAction>);
71
74
  get actions(): Array<PoDropdownAction>;
@@ -80,6 +83,23 @@ export declare class PoDropdownBaseComponent {
80
83
  */
81
84
  set disabled(value: boolean);
82
85
  get disabled(): boolean;
86
+ /**
87
+ * @optional
88
+ *
89
+ * @description
90
+ *
91
+ * Define o tamanho do componente:
92
+ * - `small`: altura do button como 32px (disponível apenas para acessibilidade AA).
93
+ * - `medium`: altura do button como 44px.
94
+ *
95
+ * > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
96
+ * Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
97
+ *
98
+ * @default `medium`
99
+ */
100
+ set size(value: string);
101
+ get size(): string;
102
+ constructor(poThemeService: PoThemeService);
83
103
  static ɵfac: i0.ɵɵFactoryDeclaration<PoDropdownBaseComponent, never>;
84
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoDropdownBaseComponent, never, never, { "label": { "alias": "p-label"; "required": false; }; "actions": { "alias": "p-actions"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; }, {}, never, never, true, never>;
104
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoDropdownBaseComponent, never, never, { "label": { "alias": "p-label"; "required": false; }; "actions": { "alias": "p-actions"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; }, {}, never, never, true, never>;
85
105
  }
@@ -1,4 +1,5 @@
1
1
  import { ChangeDetectorRef, ElementRef, Renderer2 } from '@angular/core';
2
+ import { PoThemeService } from '../../services';
2
3
  import { PoDropdownBaseComponent } from './po-dropdown-base.component';
3
4
  import * as i0 from "@angular/core";
4
5
  /**
@@ -24,13 +25,14 @@ import * as i0 from "@angular/core";
24
25
  * </example>
25
26
  */
26
27
  export declare class PoDropdownComponent extends PoDropdownBaseComponent {
28
+ protected poThemeService: PoThemeService;
27
29
  private renderer;
28
30
  private changeDetector;
29
31
  dropdownRef: ElementRef;
30
32
  popupRef: any;
31
33
  private clickoutListener;
32
34
  private resizeListener;
33
- constructor(renderer: Renderer2, changeDetector: ChangeDetectorRef);
35
+ constructor(poThemeService: PoThemeService, renderer: Renderer2, changeDetector: ChangeDetectorRef);
34
36
  onKeyDown(event: any): void;
35
37
  toggleDropdown(): void;
36
38
  private checkClickArea;
@@ -1,14 +1,14 @@
1
- export * from './po-dynamic-field-type.enum';
2
- export * from './po-dynamic-field-force-component.enum';
3
- export * from './shared/po-dynamic-shared-base';
4
- export * from './po-dynamic-form/po-dynamic-form-field.interface';
5
- export * from './po-dynamic-view/interfaces/po-dynamic-view-request.interface';
1
+ export * from './enums/po-dynamic-field-force-component.enum';
2
+ export * from './enums/po-dynamic-field-type.enum';
3
+ export * from './po-dynamic-container/po-dynamic-container.component';
4
+ export * from './po-dynamic-form/interfaces/po-dynamic-form-field.interface';
6
5
  export * from './po-dynamic-form/po-dynamic-form-load/po-dynamic-form-load.interface';
7
6
  export * from './po-dynamic-form/po-dynamic-form-validation/po-dynamic-form-field-changed.interface';
8
7
  export * from './po-dynamic-form/po-dynamic-form-validation/po-dynamic-form-field-validation.interface';
9
8
  export * from './po-dynamic-form/po-dynamic-form-validation/po-dynamic-form-validation.interface';
10
9
  export * from './po-dynamic-form/po-dynamic-form.component';
10
+ export * from './po-dynamic-view/interfaces/po-dynamic-view-request.interface';
11
11
  export * from './po-dynamic-view/po-dynamic-view-field.interface';
12
12
  export * from './po-dynamic-view/po-dynamic-view.component';
13
- export * from './po-dynamic-container/po-dynamic-container.component';
13
+ export * from './shared/po-dynamic-shared-base';
14
14
  export * from './po-dynamic.module';
@@ -1,4 +1,4 @@
1
- import { PoDynamicFieldType } from './po-dynamic-field-type.enum';
1
+ import { PoDynamicFieldType } from './enums/po-dynamic-field-type.enum';
2
2
  export interface PoDynamicField {
3
3
  /** Identificador */
4
4
  key?: boolean;
@@ -1,13 +1,13 @@
1
1
  import { TemplateRef } from '@angular/core';
2
- import { ErrorAsyncProperties, PoCheckboxGroupOption, PoComboFilter, PoComboLiterals, PoDatepickerIsoFormat, PoDatepickerRangeLiterals, PoLookupFilter, PoLookupLiterals, PoMultiselectFilter, PoMultiselectFilterMode, PoMultiselectLiterals, PoSwitchLabelPosition, PoUploadFile, PoUploadFileRestrictions, PoUploadLiterals } from '../../po-field';
3
- import { PoLookupAdvancedFilter } from '../../po-field/po-lookup/interfaces/po-lookup-advanced-filter.interface';
4
- import { PoLookupColumn } from '../../po-field/po-lookup/interfaces/po-lookup-column.interface';
5
- import { PoMultiselectOption } from '../../po-field/po-multiselect/po-multiselect-option.interface';
6
- import { PoSelectOption } from '../../po-field/po-select/po-select-option.interface';
7
- import { ForceBooleanComponentEnum, ForceOptionComponentEnum } from '../po-dynamic-field-force-component.enum';
8
- import { PoProgressAction } from '../../po-progress/';
2
+ import { ErrorAsyncProperties, PoCheckboxGroupOption, PoComboFilter, PoComboLiterals, PoDatepickerIsoFormat, PoDatepickerRangeLiterals, PoLookupFilter, PoLookupLiterals, PoMultiselectFilter, PoMultiselectFilterMode, PoMultiselectLiterals, PoSwitchLabelPosition, PoUploadFile, PoUploadFileRestrictions, PoUploadLiterals } from '../../../po-field';
3
+ import { PoLookupAdvancedFilter } from '../../../po-field/po-lookup/interfaces/po-lookup-advanced-filter.interface';
4
+ import { PoLookupColumn } from '../../../po-field/po-lookup/interfaces/po-lookup-column.interface';
5
+ import { PoMultiselectOption } from '../../../po-field/po-multiselect/interfaces/po-multiselect-option.interface';
6
+ import { PoSelectOption } from '../../../po-field/po-select/po-select-option.interface';
7
+ import { PoProgressAction } from '../../../po-progress';
8
+ import { ForceBooleanComponentEnum, ForceOptionComponentEnum } from '../../enums/po-dynamic-field-force-component.enum';
9
9
  import { Observable } from 'rxjs';
10
- import { PoDynamicField } from '../po-dynamic-field.interface';
10
+ import { PoDynamicField } from '../../po-dynamic-field.interface';
11
11
  /**
12
12
  * @usedBy PoDynamicFormComponent, PoAdvancedFilterComponent, PoPageDynamicSearchComponent
13
13
  *
@@ -711,4 +711,15 @@ export interface PoDynamicFormField extends PoDynamicField {
711
711
  * **Componente compatível**: `po-combo`
712
712
  */
713
713
  removeInitialFilter?: boolean;
714
+ /**
715
+ * Define o tamanho dos componentes de formulário no template conforme suas respectivas documentações:
716
+ * - `small`: aplica a medida small de cada componente (disponível apenas para acessibilidade AA).
717
+ * - `medium`: aplica a medida medium de cada componente.
718
+ * - `large`: aplica a medida large de cada componente (disponível para `po-checkbox` e `po-radio-group`).
719
+ * > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
720
+ * Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
721
+ *
722
+ * @default `medium`
723
+ */
724
+ size?: string;
714
725
  }
@@ -1,6 +1,7 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { NgForm } from '@angular/forms';
3
- import { PoDynamicFormField } from './po-dynamic-form-field.interface';
3
+ import { PoThemeService } from '../../../services';
4
+ import { PoDynamicFormField } from './interfaces/po-dynamic-form-field.interface';
4
5
  import * as i0 from "@angular/core";
5
6
  /**
6
7
  *
@@ -11,6 +12,7 @@ import * as i0 from "@angular/core";
11
12
  * Também é possível verificar se o formulário está válido e informar valores para a exibição de informações.
12
13
  */
13
14
  export declare class PoDynamicFormBaseComponent {
15
+ protected poThemeService: PoThemeService;
14
16
  /**
15
17
  * @optional
16
18
  *
@@ -191,7 +193,24 @@ export declare class PoDynamicFormBaseComponent {
191
193
  * Lista que define os campos que irão disparar o validate do form.
192
194
  */
193
195
  validateFields?: Array<string>;
196
+ private _componentsSize?;
194
197
  private _groupForm?;
198
+ /**
199
+ * @optional
200
+ *
201
+ * @description
202
+ *
203
+ * Define o tamanho dos componentes de formulário no template:
204
+ * - `small`: aplica a medida small de cada componente (disponível apenas para acessibilidade AA).
205
+ * - `medium`: aplica a medida medium de cada componente.
206
+ *
207
+ * > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
208
+ * Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
209
+ *
210
+ * @default `medium`
211
+ */
212
+ set componentsSize(value: string);
213
+ get componentsSize(): string;
195
214
  /**
196
215
  * @optional
197
216
  *
@@ -229,7 +248,8 @@ export declare class PoDynamicFormBaseComponent {
229
248
  *
230
249
  */
231
250
  validateOnInput: boolean;
251
+ constructor(poThemeService: PoThemeService);
232
252
  static ɵfac: i0.ɵɵFactoryDeclaration<PoDynamicFormBaseComponent, never>;
233
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoDynamicFormBaseComponent, never, never, { "autoFocus": { "alias": "p-auto-focus"; "required": false; }; "fields": { "alias": "p-fields"; "required": false; }; "value": { "alias": "p-value"; "required": false; }; "load": { "alias": "p-load"; "required": false; }; "validate": { "alias": "p-validate"; "required": false; }; "validateFields": { "alias": "p-validate-fields"; "required": false; }; "groupForm": { "alias": "p-group-form"; "required": false; }; "validateOnInput": { "alias": "p-validate-on-input"; "required": false; }; }, { "formOutput": "p-form"; }, never, never, true, never>;
253
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoDynamicFormBaseComponent, never, never, { "autoFocus": { "alias": "p-auto-focus"; "required": false; }; "fields": { "alias": "p-fields"; "required": false; }; "value": { "alias": "p-value"; "required": false; }; "load": { "alias": "p-load"; "required": false; }; "validate": { "alias": "p-validate"; "required": false; }; "validateFields": { "alias": "p-validate-fields"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; "groupForm": { "alias": "p-group-form"; "required": false; }; "validateOnInput": { "alias": "p-validate-on-input"; "required": false; }; }, { "formOutput": "p-form"; }, never, never, true, never>;
234
254
  static ngAcceptInputType_validateOnInput: any;
235
255
  }
@@ -1,4 +1,4 @@
1
- import { PoDynamicFormField } from '../po-dynamic-form-field.interface';
1
+ import { PoDynamicFormField } from '../interfaces/po-dynamic-form-field.interface';
2
2
  /**
3
3
  * @docsPrivate
4
4
  *
@@ -1,9 +1,11 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import { TitleCasePipe } from '@angular/common';
3
- import { PoDynamicFormField } from '../po-dynamic-form-field.interface';
2
+ import { EventEmitter } from '@angular/core';
3
+ import { PoThemeService } from '../../../../services';
4
4
  import { PoDynamicSharedBase } from '../../shared/po-dynamic-shared-base';
5
+ import { PoDynamicFormField } from '../interfaces/po-dynamic-form-field.interface';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class PoDynamicFormFieldsBaseComponent extends PoDynamicSharedBase {
8
+ protected poThemeService: PoThemeService;
7
9
  private titleCasePipe;
8
10
  autoFocus?: string;
9
11
  disabledForm: boolean;
@@ -12,16 +14,19 @@ export declare class PoDynamicFormFieldsBaseComponent extends PoDynamicSharedBas
12
14
  fieldsChange: EventEmitter<any>;
13
15
  objectValue: EventEmitter<any>;
14
16
  validateOnInput: boolean;
17
+ private _componentsSize?;
15
18
  private _fields;
16
19
  private _validateFields;
17
20
  private _value?;
21
+ set componentsSize(value: string);
22
+ get componentsSize(): string;
18
23
  set fields(value: Array<PoDynamicFormField>);
19
24
  get fields(): Array<PoDynamicFormField>;
20
25
  set value(value: any);
21
26
  get value(): any;
22
27
  set validateFields(value: Array<string>);
23
28
  get validateFields(): Array<string>;
24
- constructor(titleCasePipe: TitleCasePipe);
29
+ constructor(poThemeService: PoThemeService, titleCasePipe: TitleCasePipe);
25
30
  compareTo(value: any, compareTo: any): boolean;
26
31
  protected getVisibleFields(): any[];
27
32
  private convertOptions;
@@ -45,5 +50,5 @@ export declare class PoDynamicFormFieldsBaseComponent extends PoDynamicSharedBas
45
50
  private isTextarea;
46
51
  private printError;
47
52
  static ɵfac: i0.ɵɵFactoryDeclaration<PoDynamicFormFieldsBaseComponent, never>;
48
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoDynamicFormFieldsBaseComponent, never, never, { "autoFocus": { "alias": "p-auto-focus"; "required": false; }; "disabledForm": { "alias": "p-disabled-form"; "required": false; }; "validate": { "alias": "p-validate"; "required": false; }; "validateOnInput": { "alias": "p-validate-on-input"; "required": false; }; "fields": { "alias": "p-fields"; "required": false; }; "value": { "alias": "p-value"; "required": false; }; "validateFields": { "alias": "p-validate-fields"; "required": false; }; }, { "formValidate": "p-form-validate"; "fieldsChange": "p-fieldsChange"; "objectValue": "p-object-value"; }, never, never, true, never>;
53
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoDynamicFormFieldsBaseComponent, never, never, { "autoFocus": { "alias": "p-auto-focus"; "required": false; }; "disabledForm": { "alias": "p-disabled-form"; "required": false; }; "validate": { "alias": "p-validate"; "required": false; }; "validateOnInput": { "alias": "p-validate-on-input"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; "fields": { "alias": "p-fields"; "required": false; }; "value": { "alias": "p-value"; "required": false; }; "validateFields": { "alias": "p-validate-fields"; "required": false; }; }, { "formValidate": "p-form-validate"; "fieldsChange": "p-fieldsChange"; "objectValue": "p-object-value"; }, never, never, true, never>;
49
54
  }
@@ -1,7 +1,8 @@
1
1
  import { TitleCasePipe } from '@angular/common';
2
2
  import { ChangeDetectorRef, OnChanges, QueryList, SimpleChanges } from '@angular/core';
3
3
  import { NgForm } from '@angular/forms';
4
- import { PoDynamicFormField } from '../po-dynamic-form-field.interface';
4
+ import { PoThemeService } from '../../../../services';
5
+ import { PoDynamicFormField } from '../interfaces/po-dynamic-form-field.interface';
5
6
  import { PoDynamicFormValidationService } from '../po-dynamic-form-validation/po-dynamic-form-validation.service';
6
7
  import { PoDynamicFormFieldsBaseComponent } from './po-dynamic-form-fields-base.component';
7
8
  import * as i0 from "@angular/core";
@@ -13,6 +14,7 @@ import * as i0 from "@angular/core";
13
14
  * Componente de criação dos campos dinâmicos.
14
15
  */
15
16
  export declare class PoDynamicFormFieldsComponent extends PoDynamicFormFieldsBaseComponent implements OnChanges {
17
+ protected poThemeService: PoThemeService;
16
18
  private validationService;
17
19
  private changes;
18
20
  private form;
@@ -22,7 +24,7 @@ export declare class PoDynamicFormFieldsComponent extends PoDynamicFormFieldsBas
22
24
  showAdditionalHelp: () => void;
23
25
  }>;
24
26
  private previousValue;
25
- constructor(titleCasePipe: TitleCasePipe, validationService: PoDynamicFormValidationService, changes: ChangeDetectorRef, form: NgForm);
27
+ constructor(titleCasePipe: TitleCasePipe, poThemeService: PoThemeService, validationService: PoDynamicFormValidationService, changes: ChangeDetectorRef, form: NgForm);
26
28
  ngOnChanges(changes: SimpleChanges): void;
27
29
  focus(property: string): void;
28
30
  isDisabled(field: PoDynamicFormField): boolean;
@@ -1,5 +1,5 @@
1
- import { PoDynamicFormField } from '../po-dynamic-form-field.interface';
2
- import { PoDynamicFormResponse } from '../po-dynamic-form-response.interface';
1
+ import { PoDynamicFormField } from '../interfaces/po-dynamic-form-field.interface';
2
+ import { PoDynamicFormResponse } from '../interfaces/po-dynamic-form-response.interface';
3
3
  /**
4
4
  * @usedBy PoDynamicFormComponent
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
- import { PoDynamicFormField } from '../po-dynamic-form-field.interface';
2
+ import { PoDynamicFormField } from '../interfaces/po-dynamic-form-field.interface';
3
3
  import { PoDynamicFormOperation } from '../po-dynamic-form-operation/po-dynamic-form-operation';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class PoDynamicFormLoadService extends PoDynamicFormOperation {
@@ -1,4 +1,4 @@
1
- import { PoDynamicFormField } from '../po-dynamic-form-field.interface';
1
+ import { PoDynamicFormField } from '../interfaces/po-dynamic-form-field.interface';
2
2
  /**
3
3
  * @usedBy PoDynamicFormComponent
4
4
  *
@@ -1,5 +1,5 @@
1
- import { PoDynamicFormField } from '../po-dynamic-form-field.interface';
2
- import { PoDynamicFormResponse } from '../po-dynamic-form-response.interface';
1
+ import { PoDynamicFormField } from '../interfaces/po-dynamic-form-field.interface';
2
+ import { PoDynamicFormResponse } from '../interfaces/po-dynamic-form-response.interface';
3
3
  /**
4
4
  * @usedBy PoDynamicFormComponent
5
5
  *
@@ -1,6 +1,6 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
- import { PoDynamicFormField } from '../po-dynamic-form-field.interface';
3
+ import { PoDynamicFormField } from '../interfaces/po-dynamic-form-field.interface';
4
4
  import { PoDynamicFormOperation } from '../po-dynamic-form-operation/po-dynamic-form-operation';
5
5
  import { PoDynamicFormValidation } from './po-dynamic-form-validation.interface';
6
6
  import * as i0 from "@angular/core";
@@ -1,8 +1,9 @@
1
1
  import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
2
  import { NgForm } from '@angular/forms';
3
3
  import { Observable } from 'rxjs';
4
+ import { PoThemeService } from '../../../services';
5
+ import { PoDynamicFormField } from './interfaces/po-dynamic-form-field.interface';
4
6
  import { PoDynamicFormBaseComponent } from './po-dynamic-form-base.component';
5
- import { PoDynamicFormField } from './po-dynamic-form-field.interface';
6
7
  import { PoDynamicFormLoadService } from './po-dynamic-form-load/po-dynamic-form-load.service';
7
8
  import { PoDynamicFormValidationService } from './po-dynamic-form-validation/po-dynamic-form-validation.service';
8
9
  import * as i0 from "@angular/core";
@@ -30,6 +31,7 @@ import * as i0 from "@angular/core";
30
31
  *
31
32
  */
32
33
  export declare class PoDynamicFormComponent extends PoDynamicFormBaseComponent implements OnInit, OnDestroy {
34
+ protected poThemeService: PoThemeService;
33
35
  private changes;
34
36
  private loadService;
35
37
  private validationService;
@@ -46,7 +48,7 @@ export declare class PoDynamicFormComponent extends PoDynamicFormBaseComponent i
46
48
  private comboOptionSubject;
47
49
  set form(value: NgForm);
48
50
  get form(): NgForm;
49
- constructor(changes: ChangeDetectorRef, loadService: PoDynamicFormLoadService, validationService: PoDynamicFormValidationService);
51
+ constructor(poThemeService: PoThemeService, changes: ChangeDetectorRef, loadService: PoDynamicFormLoadService, validationService: PoDynamicFormValidationService);
50
52
  ngOnDestroy(): void;
51
53
  ngOnInit(): void;
52
54
  /**
@@ -1,4 +1,4 @@
1
- import { PoDynamicFormField } from '../po-dynamic-form/po-dynamic-form-field.interface';
1
+ import { PoDynamicFormField } from '../po-dynamic-form/interfaces/po-dynamic-form-field.interface';
2
2
  import { PoDynamicViewField } from '../po-dynamic-view/po-dynamic-view-field.interface';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
@@ -1,9 +1,9 @@
1
1
  export * from './po-checkbox/po-checkbox.component';
2
- export * from './po-checkbox/po-checkbox-size.enum';
2
+ export * from './po-checkbox/enums/po-checkbox-size.enum';
3
3
  export * from './po-checkbox-group/interfaces/po-checkbox-group-option.interface';
4
4
  export * from './po-checkbox-group/po-checkbox-group.component';
5
5
  export * from './po-clean/po-clean.component';
6
- export * from './po-combo/po-combo-filter-mode.enum';
6
+ export * from './po-combo/enums/po-combo-filter-mode.enum';
7
7
  export * from './po-combo/interfaces/po-combo-filter.interface';
8
8
  export * from './po-combo/interfaces/po-combo-literals.interface';
9
9
  export * from './po-combo/interfaces/po-combo-option.interface';
@@ -28,10 +28,10 @@ export * from './po-lookup/interfaces/po-lookup-response-api.interface';
28
28
  export * from './po-lookup/po-lookup-modal/po-lookup-modal.component';
29
29
  export * from './po-lookup/po-lookup.component';
30
30
  export * from './po-multiselect/po-multiselect-option-template/po-multiselect-option-template.directive';
31
- export * from './po-multiselect/po-multiselect-filter-mode.enum';
32
- export * from './po-multiselect/po-multiselect-literals.interface';
33
- export * from './po-multiselect/po-multiselect-option.interface';
34
- export * from './po-multiselect/po-multiselect-filter.interface';
31
+ export * from './po-multiselect/enums/po-multiselect-filter-mode.enum';
32
+ export * from './po-multiselect/interfaces/po-multiselect-literals.interface';
33
+ export * from './po-multiselect/interfaces/po-multiselect-option.interface';
34
+ export * from './po-multiselect/interfaces/po-multiselect-filter.interface';
35
35
  export * from './po-multiselect/po-multiselect.component';
36
36
  export * from './po-number/po-number.component';
37
37
  export * from './po-password/po-password.component';
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @description
3
+ *
4
+ * Tamanhos da propriedade `p-size`. A medida `small` está disponível apenas para acessibilidade AA.
5
+ */
6
+ export declare enum PoCheckboxSize {
7
+ /** Define a caixa de seleção como 16px. */
8
+ Small = "small",
9
+ /** Define a caixa de seleção comoc24px. */
10
+ Medium = "medium",
11
+ /** Define a caixa de seleção comoc32px. */
12
+ Large = "large"
13
+ }