@po-ui/ng-components 19.29.0 → 19.31.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 (68) hide show
  1. package/fesm2022/po-ui-ng-components.mjs +3715 -2450
  2. package/fesm2022/po-ui-ng-components.mjs.map +1 -1
  3. package/lib/components/components.module.d.ts +3 -2
  4. package/lib/components/index.d.ts +1 -0
  5. package/lib/components/po-dynamic/po-dynamic-form/interfaces/po-dynamic-form-field.interface.d.ts +3 -3
  6. package/lib/components/po-field/po-checkbox/po-checkbox-base.component.d.ts +40 -2
  7. package/lib/components/po-field/po-checkbox/po-checkbox.component.d.ts +26 -2
  8. package/lib/components/po-field/po-checkbox/po-checkbox.module.d.ts +3 -1
  9. package/lib/components/po-field/po-checkbox-group/po-checkbox-group-base.component.d.ts +37 -1
  10. package/lib/components/po-field/po-checkbox-group/po-checkbox-group.component.d.ts +16 -0
  11. package/lib/components/po-field/po-combo/po-combo-base.component.d.ts +39 -1
  12. package/lib/components/po-field/po-combo/po-combo.component.d.ts +17 -0
  13. package/lib/components/po-field/po-datepicker/po-datepicker-base.component.d.ts +39 -1
  14. package/lib/components/po-field/po-datepicker/po-datepicker.component.d.ts +18 -0
  15. package/lib/components/po-field/po-datepicker-range/po-datepicker-range-base.component.d.ts +39 -1
  16. package/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.d.ts +18 -0
  17. package/lib/components/po-field/po-decimal/po-decimal.component.d.ts +6 -0
  18. package/lib/components/po-field/po-email/po-email.component.d.ts +3 -2
  19. package/lib/components/po-field/po-field-container/po-field-container-bottom/po-field-container-bottom.component.d.ts +7 -1
  20. package/lib/components/po-field/po-field-container/po-field-container.component.d.ts +23 -3
  21. package/lib/components/po-field/po-field-container/po-field-container.module.d.ts +2 -1
  22. package/lib/components/po-field/po-field.model.d.ts +23 -1
  23. package/lib/components/po-field/po-field.module.d.ts +2 -1
  24. package/lib/components/po-field/po-input/po-input-base.component.d.ts +53 -2
  25. package/lib/components/po-field/po-input/po-input.component.d.ts +3 -2
  26. package/lib/components/po-field/po-input-generic/po-input-generic.d.ts +6 -0
  27. package/lib/components/po-field/po-lookup/po-lookup-base.component.d.ts +39 -1
  28. package/lib/components/po-field/po-lookup/po-lookup.component.d.ts +18 -0
  29. package/lib/components/po-field/po-multiselect/po-multiselect-base.component.d.ts +39 -1
  30. package/lib/components/po-field/po-multiselect/po-multiselect.component.d.ts +18 -0
  31. package/lib/components/po-field/po-number/po-number.component.d.ts +3 -1
  32. package/lib/components/po-field/po-radio-group/po-radio-group-base.component.d.ts +39 -1
  33. package/lib/components/po-field/po-radio-group/po-radio-group.component.d.ts +17 -0
  34. package/lib/components/po-field/po-rich-text/po-rich-text-base.component.d.ts +39 -1
  35. package/lib/components/po-field/po-rich-text/po-rich-text.component.d.ts +16 -0
  36. package/lib/components/po-field/po-select/po-select.component.d.ts +48 -3
  37. package/lib/components/po-field/po-switch/po-switch.component.d.ts +32 -1
  38. package/lib/components/po-field/po-switch/po-switch.module.d.ts +2 -1
  39. package/lib/components/po-field/po-textarea/po-textarea-base.component.d.ts +39 -1
  40. package/lib/components/po-field/po-textarea/po-textarea.component.d.ts +16 -0
  41. package/lib/components/po-field/po-upload/po-upload-base.component.d.ts +39 -1
  42. package/lib/components/po-field/po-upload/po-upload.component.d.ts +15 -0
  43. package/lib/components/po-helper/index.d.ts +3 -0
  44. package/lib/components/po-helper/interfaces/po-helper.interface.d.ts +87 -0
  45. package/lib/components/po-helper/po-helper-base.component.d.ts +112 -0
  46. package/lib/components/po-helper/po-helper.component.d.ts +52 -0
  47. package/lib/components/po-helper/po-helper.module.d.ts +16 -0
  48. package/lib/components/po-label/po-label.component.d.ts +14 -1
  49. package/lib/components/po-label/po-label.module.d.ts +2 -1
  50. package/lib/components/po-popover/po-popover.component.d.ts +5 -3
  51. package/lib/components/po-table/interfaces/po-table-column.interface.d.ts +10 -10
  52. package/lib/services/po-theme/po-theme.service.d.ts +1 -0
  53. package/lib/utils/util.d.ts +23 -0
  54. package/package.json +4 -4
  55. package/po-ui-ng-components-19.31.0.tgz +0 -0
  56. package/schematics/ng-add/index.js +1 -1
  57. package/schematics/ng-update/v14/index.js +1 -1
  58. package/schematics/ng-update/v15/index.js +1 -1
  59. package/schematics/ng-update/v16/index.js +1 -1
  60. package/schematics/ng-update/v17/index.js +1 -1
  61. package/schematics/ng-update/v18/index.js +2 -2
  62. package/schematics/ng-update/v19/index.js +2 -2
  63. package/schematics/ng-update/v2/index.js +1 -1
  64. package/schematics/ng-update/v3/index.js +1 -1
  65. package/schematics/ng-update/v4/index.js +1 -1
  66. package/schematics/ng-update/v5/index.js +1 -1
  67. package/schematics/ng-update/v6/index.js +1 -1
  68. package/po-ui-ng-components-19.29.0.tgz +0 -0
@@ -47,9 +47,10 @@ import * as i45 from "./po-field/po-switch/po-switch.module";
47
47
  import * as i46 from "./po-search/po-search.module";
48
48
  import * as i47 from "./po-badge/po-badge.module";
49
49
  import * as i48 from "./po-toaster/po-toaster.module";
50
- import * as i49 from "./po-header/po-header.module";
50
+ import * as i49 from "./po-helper/po-helper.module";
51
+ import * as i50 from "./po-header/po-header.module";
51
52
  export declare class PoComponentsModule {
52
53
  static ɵfac: i0.ɵɵFactoryDeclaration<PoComponentsModule, never>;
53
- static ɵmod: i0.ɵɵNgModuleDeclaration<PoComponentsModule, never, [typeof i1.PoAccordionModule, typeof i2.PoAvatarModule, typeof i3.PoBreadcrumbModule, typeof i4.PoButtonModule, typeof i5.PoButtonGroupModule, typeof i6.PoCalendarModule, typeof i7.PoChartModule, typeof i8.PoContainerModule, typeof i9.PoDisclaimerGroupModule, typeof i10.PoDisclaimerModule, typeof i11.PoDividerModule, typeof i12.PoDropdownModule, typeof i13.PoDynamicModule, typeof i14.PoFieldModule, typeof i15.PoGaugeModule, typeof i16.PoGridModule, typeof i17.PoIconModule, typeof i18.PoInfoModule, typeof i19.PoListViewModule, typeof i20.PoListBoxModule, typeof i21.PoLoadingModule, typeof i22.PoLogoModule, typeof i23.PoMenuModule, typeof i24.PoMenuPanelModule, typeof i25.PoModalModule, typeof i26.PoNavbarModule, typeof i27.PoOverlayModule, typeof i28.PoPageModule, typeof i29.PoPopoverModule, typeof i30.PoPopupModule, typeof i31.PoProgressModule, typeof i32.PoSlideModule, typeof i33.PoStepperModule, typeof i34.PoTableModule, typeof i35.PoTabsModule, typeof i36.PoContextTabsModule, typeof i37.PoTagModule, typeof i38.PoToolbarModule, typeof i39.PoTreeViewModule, typeof i40.PoWidgetModule, typeof i41.PoLinkModule, typeof i42.PoLabelModule, typeof i43.PoImageModule, typeof i44.PoPageSlideModule, typeof i45.PoSwitchModule, typeof i46.PoSearchModule, typeof i47.PoBadgeModule, typeof i48.PoToasterModule, typeof i49.PoHeaderModule], [typeof i1.PoAccordionModule, typeof i2.PoAvatarModule, typeof i3.PoBreadcrumbModule, typeof i4.PoButtonModule, typeof i5.PoButtonGroupModule, typeof i6.PoCalendarModule, typeof i7.PoChartModule, typeof i8.PoContainerModule, typeof i9.PoDisclaimerGroupModule, typeof i10.PoDisclaimerModule, typeof i11.PoDividerModule, typeof i12.PoDropdownModule, typeof i13.PoDynamicModule, typeof i14.PoFieldModule, typeof i15.PoGaugeModule, typeof i16.PoGridModule, typeof i17.PoIconModule, typeof i18.PoInfoModule, typeof i19.PoListViewModule, typeof i20.PoListBoxModule, typeof i21.PoLoadingModule, typeof i22.PoLogoModule, typeof i23.PoMenuModule, typeof i24.PoMenuPanelModule, typeof i25.PoModalModule, typeof i26.PoNavbarModule, typeof i27.PoOverlayModule, typeof i28.PoPageModule, typeof i29.PoPopoverModule, typeof i30.PoPopupModule, typeof i31.PoProgressModule, typeof i32.PoSlideModule, typeof i33.PoStepperModule, typeof i34.PoTableModule, typeof i36.PoContextTabsModule, typeof i35.PoTabsModule, typeof i37.PoTagModule, typeof i38.PoToolbarModule, typeof i39.PoTreeViewModule, typeof i40.PoWidgetModule, typeof i41.PoLinkModule, typeof i42.PoLabelModule, typeof i43.PoImageModule, typeof i44.PoPageSlideModule, typeof i45.PoSwitchModule, typeof i46.PoSearchModule, typeof i47.PoBadgeModule, typeof i48.PoToasterModule, typeof i49.PoHeaderModule]>;
54
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PoComponentsModule, never, [typeof i1.PoAccordionModule, typeof i2.PoAvatarModule, typeof i3.PoBreadcrumbModule, typeof i4.PoButtonModule, typeof i5.PoButtonGroupModule, typeof i6.PoCalendarModule, typeof i7.PoChartModule, typeof i8.PoContainerModule, typeof i9.PoDisclaimerGroupModule, typeof i10.PoDisclaimerModule, typeof i11.PoDividerModule, typeof i12.PoDropdownModule, typeof i13.PoDynamicModule, typeof i14.PoFieldModule, typeof i15.PoGaugeModule, typeof i16.PoGridModule, typeof i17.PoIconModule, typeof i18.PoInfoModule, typeof i19.PoListViewModule, typeof i20.PoListBoxModule, typeof i21.PoLoadingModule, typeof i22.PoLogoModule, typeof i23.PoMenuModule, typeof i24.PoMenuPanelModule, typeof i25.PoModalModule, typeof i26.PoNavbarModule, typeof i27.PoOverlayModule, typeof i28.PoPageModule, typeof i29.PoPopoverModule, typeof i30.PoPopupModule, typeof i31.PoProgressModule, typeof i32.PoSlideModule, typeof i33.PoStepperModule, typeof i34.PoTableModule, typeof i35.PoTabsModule, typeof i36.PoContextTabsModule, typeof i37.PoTagModule, typeof i38.PoToolbarModule, typeof i39.PoTreeViewModule, typeof i40.PoWidgetModule, typeof i41.PoLinkModule, typeof i42.PoLabelModule, typeof i43.PoImageModule, typeof i44.PoPageSlideModule, typeof i45.PoSwitchModule, typeof i46.PoSearchModule, typeof i47.PoBadgeModule, typeof i48.PoToasterModule, typeof i49.PoHelperModule, typeof i50.PoHeaderModule], [typeof i1.PoAccordionModule, typeof i2.PoAvatarModule, typeof i3.PoBreadcrumbModule, typeof i4.PoButtonModule, typeof i5.PoButtonGroupModule, typeof i6.PoCalendarModule, typeof i7.PoChartModule, typeof i8.PoContainerModule, typeof i9.PoDisclaimerGroupModule, typeof i10.PoDisclaimerModule, typeof i11.PoDividerModule, typeof i12.PoDropdownModule, typeof i13.PoDynamicModule, typeof i14.PoFieldModule, typeof i15.PoGaugeModule, typeof i16.PoGridModule, typeof i17.PoIconModule, typeof i18.PoInfoModule, typeof i19.PoListViewModule, typeof i20.PoListBoxModule, typeof i21.PoLoadingModule, typeof i22.PoLogoModule, typeof i23.PoMenuModule, typeof i24.PoMenuPanelModule, typeof i25.PoModalModule, typeof i26.PoNavbarModule, typeof i27.PoOverlayModule, typeof i28.PoPageModule, typeof i29.PoPopoverModule, typeof i30.PoPopupModule, typeof i31.PoProgressModule, typeof i32.PoSlideModule, typeof i33.PoStepperModule, typeof i34.PoTableModule, typeof i35.PoTabsModule, typeof i36.PoContextTabsModule, typeof i37.PoTagModule, typeof i38.PoToolbarModule, typeof i39.PoTreeViewModule, typeof i40.PoWidgetModule, typeof i41.PoLinkModule, typeof i42.PoLabelModule, typeof i43.PoImageModule, typeof i44.PoPageSlideModule, typeof i45.PoSwitchModule, typeof i46.PoSearchModule, typeof i47.PoBadgeModule, typeof i48.PoToasterModule, typeof i49.PoHelperModule, typeof i50.PoHeaderModule]>;
54
55
  static ɵinj: i0.ɵɵInjectorDeclaration<PoComponentsModule>;
55
56
  }
@@ -16,6 +16,7 @@ export * from './po-dynamic/index';
16
16
  export * from './po-field/index';
17
17
  export * from './po-gauge/index';
18
18
  export * from './po-grid/index';
19
+ export * from './po-helper/index';
19
20
  export * from './po-icon/index';
20
21
  export * from './po-image/index';
21
22
  export * from './po-info/index';
@@ -364,15 +364,15 @@ export interface PoDynamicFormField extends PoDynamicField {
364
364
  placeholder?: string;
365
365
  /**
366
366
  * Define a localidade a ser utilizada no componente.
367
- * Por padrão o valor será configurado segundo a o módulo [`I18n`](documentation/po-i18n)
367
+ * Por padrão o valor será configurado segundo o módulo [`I18n`](documentation/po-i18n)
368
368
  *
369
369
  * Exemplo de utilização:
370
- * ``
370
+ * ```
371
371
  * [
372
372
  * { property: 'birthday', locale: 'en', type: 'date' },
373
373
  * { property: 'wage', locale: 'ru', type: 'currency' }
374
374
  * ];
375
- * ``
375
+ * ```
376
376
  *
377
377
  * > Para ver quais linguagens suportadas acesse [`I18n`](documentation/po-i18n)
378
378
  * > A propriedade será repassada para os componentes que suportam a mesma.
@@ -1,5 +1,6 @@
1
1
  import { ChangeDetectorRef, EventEmitter } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
+ import { PoHelperOptions } from '../../po-helper';
3
4
  import * as i0 from "@angular/core";
4
5
  /**
5
6
  * @description
@@ -46,6 +47,9 @@ export declare abstract class PoCheckboxBaseComponent implements ControlValueAcc
46
47
  private readonly cd;
47
48
  additionalHelpEventTrigger: string | undefined;
48
49
  /**
50
+ *
51
+ * @deprecated v23.x.x use `p-helper`
52
+ *
49
53
  * @optional
50
54
  *
51
55
  * @description
@@ -53,6 +57,8 @@ export declare abstract class PoCheckboxBaseComponent implements ControlValueAcc
53
57
  * Se o evento `p-additional-help` estiver definido, o tooltip não será exibido.
54
58
  * **Como boa prática, indica-se utilizar um texto com até 140 caracteres.**
55
59
  * > Requer um recuo mínimo de 8px se o componente estiver próximo à lateral da tela.
60
+ *
61
+ * > Essa propriedade está **depreciada** e será removida na versão `23.x.x`. Recomendamos utilizar a propriedade `p-helper` que oferece mais recursos e flexibilidade.
56
62
  */
57
63
  additionalHelpTooltip?: string;
58
64
  /**
@@ -92,11 +98,16 @@ export declare abstract class PoCheckboxBaseComponent implements ControlValueAcc
92
98
  /** Texto de exibição do *checkbox*. */
93
99
  label?: string;
94
100
  /**
101
+ *
102
+ * @deprecated v23.x.x use `p-helper`
103
+ *
95
104
  * @optional
96
105
  *
97
106
  * @description
98
107
  * Evento disparado ao clicar no ícone de ajuda adicional.
99
108
  * Este evento ativa automaticamente a exibição do ícone de ajuda adicional ao `p-help`.
109
+ *
110
+ * > Essa propriedade está **depreciada** e será removida na versão `23.x.x`. Recomendamos utilizar a propriedade `p-helper` que oferece mais recursos e flexibilidade.
100
111
  */
101
112
  additionalHelp: EventEmitter<any>;
102
113
  /**
@@ -160,17 +171,44 @@ export declare abstract class PoCheckboxBaseComponent implements ControlValueAcc
160
171
  *
161
172
  */
162
173
  set size(value: string);
174
+ /**
175
+ * @Input
176
+ *
177
+ * @optional
178
+ *
179
+ * @description
180
+ *
181
+ * Define as opções do componente de ajuda (po-helper) que será exibido ao lado do label.
182
+ *
183
+ * > Caso o `p-label` não esteja definido, o componente po-helper não será exibido.
184
+ * Ao configurar esta propriedade, o antigo ícone de ajuda adicional (`p-additional-help-tooltip` e `p-additional-help`) será ignorado.
185
+ */
186
+ poHelperComponent: import("@angular/core").InputSignal<string | PoHelperOptions>;
187
+ /**
188
+ * @Input
189
+ *
190
+ * @optional
191
+ *
192
+ * @description
193
+ *
194
+ * Habilita a quebra automática do texto da propriedade `p-label`. Quando `p-label-text-wrap` for verdadeiro, o texto que excede
195
+ * o espaço disponível é transferido para a próxima linha em pontos apropriados para uma
196
+ * leitura clara.
197
+ *
198
+ * @default `false`
199
+ */
200
+ labelTextWrap: import("@angular/core").InputSignal<boolean>;
163
201
  get size(): string;
164
202
  constructor(cd: ChangeDetectorRef);
165
203
  changeValue(): void;
166
- checkOption(value: boolean | null | string): void;
204
+ checkOption(event: any, value: boolean | null | string): void;
167
205
  setDisabledState(isDisabled: boolean): void;
168
206
  registerOnChange(fn: any): void;
169
207
  registerOnTouched(fn: any): void;
170
208
  writeValue(value: any): void;
171
209
  protected abstract changeModelValue(value: boolean | null): any;
172
210
  static ɵfac: i0.ɵɵFactoryDeclaration<PoCheckboxBaseComponent, never>;
173
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoCheckboxBaseComponent, never, never, { "additionalHelpEventTrigger": { "alias": "additionalHelpEventTrigger"; "required": false; }; "additionalHelpTooltip": { "alias": "p-additional-help-tooltip"; "required": false; }; "appendBox": { "alias": "p-append-in-body"; "required": false; }; "help": { "alias": "p-help"; "required": false; }; "name": { "alias": "name"; "required": false; }; "autoFocus": { "alias": "p-auto-focus"; "required": false; }; "label": { "alias": "p-label"; "required": false; }; "checkboxValue": { "alias": "p-checkboxValue"; "required": false; }; "checkBoxRequired": { "alias": "p-required"; "required": false; }; "disabladTabindex": { "alias": "p-disabled-tabindex"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; }, { "additionalHelp": "p-additional-help"; "blur": "p-blur"; "change": "p-change"; "keydown": "p-keydown"; }, never, never, true, never>;
211
+ static ɵcmp: i0.ɵɵComponentDeclaration<PoCheckboxBaseComponent, "po-checkbox-base", never, { "additionalHelpEventTrigger": { "alias": "additionalHelpEventTrigger"; "required": false; }; "additionalHelpTooltip": { "alias": "p-additional-help-tooltip"; "required": false; }; "appendBox": { "alias": "p-append-in-body"; "required": false; }; "help": { "alias": "p-help"; "required": false; }; "name": { "alias": "name"; "required": false; }; "autoFocus": { "alias": "p-auto-focus"; "required": false; }; "label": { "alias": "p-label"; "required": false; }; "checkboxValue": { "alias": "p-checkboxValue"; "required": false; }; "checkBoxRequired": { "alias": "p-required"; "required": false; }; "disabladTabindex": { "alias": "p-disabled-tabindex"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "poHelperComponent": { "alias": "p-helper"; "required": false; "isSignal": true; }; "labelTextWrap": { "alias": "p-label-text-wrap"; "required": false; "isSignal": true; }; }, { "additionalHelp": "p-additional-help"; "blur": "p-blur"; "change": "p-change"; "keydown": "p-keydown"; }, never, never, false, never>;
174
212
  static ngAcceptInputType_appendBox: any;
175
213
  static ngAcceptInputType_autoFocus: any;
176
214
  static ngAcceptInputType_checkBoxRequired: any;
@@ -1,5 +1,6 @@
1
- import { AfterViewInit, ElementRef } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { PoCheckboxBaseComponent } from './po-checkbox-base.component';
3
+ import { PoHelperComponent, PoHelperOptions } from '../../po-helper';
3
4
  import * as i0 from "@angular/core";
4
5
  /**
5
6
  * @docsExtends PoCheckboxBaseComponent
@@ -21,10 +22,14 @@ import * as i0 from "@angular/core";
21
22
  * <file name="sample-po-checkbox-acceptance-term/sample-po-checkbox-acceptance-term.component.ts"> </file>
22
23
  * </example>
23
24
  */
24
- export declare class PoCheckboxComponent extends PoCheckboxBaseComponent implements AfterViewInit {
25
+ export declare class PoCheckboxComponent extends PoCheckboxBaseComponent implements AfterViewInit, OnChanges, OnInit {
25
26
  private readonly changeDetector;
26
27
  private _iconToken;
28
+ helperSettings: PoHelperOptions;
29
+ showTip: boolean;
27
30
  checkboxLabel: ElementRef;
31
+ labelEl: ElementRef<HTMLElement>;
32
+ helperEl?: PoHelperComponent;
28
33
  constructor();
29
34
  /**
30
35
  * Função que atribui foco ao *checkbox*.
@@ -48,6 +53,8 @@ export declare class PoCheckboxComponent extends PoCheckboxBaseComponent impleme
48
53
  focus(): void;
49
54
  onBlur(): void;
50
55
  ngAfterViewInit(): void;
56
+ ngOnChanges(changes: SimpleChanges): void;
57
+ ngOnInit(): void;
51
58
  emitAdditionalHelp(): void;
52
59
  getAdditionalHelpTooltip(): string;
53
60
  onKeyDown(event: KeyboardEvent, value: boolean | string): void;
@@ -55,6 +62,8 @@ export declare class PoCheckboxComponent extends PoCheckboxBaseComponent impleme
55
62
  * Método que exibe `p-additionalHelpTooltip` ou executa a ação definida em `p-additionalHelp`.
56
63
  * Para isso, será necessário configurar uma tecla de atalho utilizando o evento `p-keydown`.
57
64
  *
65
+ * > Exibe ou oculta o conteúdo do componente `po-helper` quando o componente estiver com foco e com label visível.
66
+ *
58
67
  * ```
59
68
  * <po-checkbox
60
69
  * #checkbox
@@ -64,6 +73,16 @@ export declare class PoCheckboxComponent extends PoCheckboxBaseComponent impleme
64
73
  * ></po-checkbox>
65
74
  * ```
66
75
  * ```
76
+ * //Exemplo com label e p-helper
77
+ * <po-checkbox
78
+ * #checkbox
79
+ * ...
80
+ * p-label="Label do checkbox"
81
+ * [p-helper]="helperOptions"
82
+ * (p-keydown)="onKeyDown($event, checkbox)"
83
+ * ></po-checkbox>
84
+ * ```
85
+ * ```
67
86
  * ...
68
87
  * onKeyDown(event: KeyboardEvent, inp: PoCheckboxComponent): void {
69
88
  * if (event.code === 'F9') {
@@ -74,8 +93,13 @@ export declare class PoCheckboxComponent extends PoCheckboxBaseComponent impleme
74
93
  */
75
94
  showAdditionalHelp(): boolean;
76
95
  showAdditionalHelpIcon(): boolean;
96
+ setHelper(label?: string, additionalHelpTooltip?: string): {
97
+ hideAdditionalHelp: boolean;
98
+ helperSettings?: any;
99
+ };
77
100
  protected changeModelValue(value: boolean | null | string): void;
78
101
  private isAdditionalHelpEventTriggered;
102
+ handleLabelTooltip(): void;
79
103
  get iconNameLib(): string;
80
104
  static ɵfac: i0.ɵɵFactoryDeclaration<PoCheckboxComponent, never>;
81
105
  static ɵcmp: i0.ɵɵComponentDeclaration<PoCheckboxComponent, "po-checkbox", never, {}, {}, never, never, false, never>;
@@ -4,8 +4,10 @@ import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/forms";
5
5
  import * as i4 from "../../po-label/po-label.module";
6
6
  import * as i5 from "../po-field-container/po-field-container.module";
7
+ import * as i6 from "../../po-helper/po-helper.module";
8
+ import * as i7 from "../../../directives/po-tooltip/po-tooltip.module";
7
9
  export declare class PoCheckboxModule {
8
10
  static ɵfac: i0.ɵɵFactoryDeclaration<PoCheckboxModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<PoCheckboxModule, [typeof i1.PoCheckboxComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PoLabelModule, typeof i5.PoFieldContainerModule], [typeof i1.PoCheckboxComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PoCheckboxModule, [typeof i1.PoCheckboxComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PoLabelModule, typeof i5.PoFieldContainerModule, typeof i6.PoHelperModule, typeof i7.PoTooltipModule], [typeof i1.PoCheckboxComponent]>;
10
12
  static ɵinj: i0.ɵɵInjectorDeclaration<PoCheckboxModule>;
11
13
  }
@@ -2,6 +2,7 @@ import { EventEmitter } from '@angular/core';
2
2
  import { AbstractControl, ControlValueAccessor, Validator } from '@angular/forms';
3
3
  import { PoCheckboxGroupOptionView } from './interfaces/po-checkbox-group-option-view.interface';
4
4
  import { PoCheckboxGroupOption } from './interfaces/po-checkbox-group-option.interface';
5
+ import { PoHelperOptions } from '../../po-helper';
5
6
  import * as i0 from "@angular/core";
6
7
  /**
7
8
  * @description
@@ -35,6 +36,9 @@ import * as i0 from "@angular/core";
35
36
  export declare class PoCheckboxGroupBaseComponent implements ControlValueAccessor, Validator {
36
37
  additionalHelpEventTrigger: string | undefined;
37
38
  /**
39
+ *
40
+ * @deprecated v23.x.x use `p-helper`
41
+ *
38
42
  * @optional
39
43
  *
40
44
  * @description
@@ -42,6 +46,8 @@ export declare class PoCheckboxGroupBaseComponent implements ControlValueAccesso
42
46
  * Se o evento `p-additional-help` estiver definido, o tooltip não será exibido.
43
47
  * **Como boa prática, indica-se utilizar um texto com até 140 caracteres.**
44
48
  * > Requer um recuo mínimo de 8px se o componente estiver próximo à lateral da tela.
49
+ *
50
+ * > Essa propriedade está **depreciada** e será removida na versão `23.x.x`. Recomendamos utilizar a propriedade `p-helper` que oferece mais recursos e flexibilidade.
45
51
  */
46
52
  additionalHelpTooltip?: string;
47
53
  /**
@@ -114,6 +120,32 @@ export declare class PoCheckboxGroupBaseComponent implements ControlValueAccesso
114
120
  * @default `false`
115
121
  */
116
122
  errorLimit: boolean;
123
+ /**
124
+ * @Input
125
+ *
126
+ * @optional
127
+ *
128
+ * @description
129
+ *
130
+ * Define as opções do componente de ajuda (po-helper) que será exibido ao lado do label.
131
+ *
132
+ * > Caso o `p-label` não esteja definido, o componente po-helper não será exibido.
133
+ * Ao configurar esta propriedade, o antigo ícone de ajuda adicional (`p-additional-help-tooltip` e `p-additional-help`) será ignorado.
134
+ */
135
+ poHelperComponent: import("@angular/core").InputSignal<string | PoHelperOptions>;
136
+ /**
137
+ * @Input
138
+ *
139
+ * @optional
140
+ *
141
+ * @description
142
+ * Habilita a quebra automática do texto da propriedade `p-label`. Quando `p-label-text-wrap` for verdadeiro, o texto que excede
143
+ * o espaço disponível é transferido para a próxima linha em pontos apropriados para uma
144
+ * leitura clara.
145
+ *
146
+ * @default `false`
147
+ */
148
+ labelTextWrap: import("@angular/core").InputSignal<boolean>;
117
149
  /**
118
150
  * @optional
119
151
  *
@@ -131,11 +163,15 @@ export declare class PoCheckboxGroupBaseComponent implements ControlValueAccesso
131
163
  */
132
164
  ngModelChange: EventEmitter<any>;
133
165
  /**
166
+ * @deprecated v23.x.x use `p-helper`
167
+ *
134
168
  * @optional
135
169
  *
136
170
  * @description
137
171
  * Evento disparado ao clicar no ícone de ajuda adicional.
138
172
  * Este evento ativa automaticamente a exibição do ícone de ajuda adicional ao `p-help`.
173
+ *
174
+ * > Essa propriedade está **depreciada** e será removida na versão `23.x.x`. Recomendamos utilizar a propriedade `p-helper` que oferece mais recursos e flexibilidade.
139
175
  */
140
176
  additionalHelp: EventEmitter<any>;
141
177
  /**
@@ -274,7 +310,7 @@ export declare class PoCheckboxGroupBaseComponent implements ControlValueAccesso
274
310
  private removeDuplicatedOptions;
275
311
  private setCheckboxGroupOptionsView;
276
312
  static ɵfac: i0.ɵɵFactoryDeclaration<PoCheckboxGroupBaseComponent, never>;
277
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoCheckboxGroupBaseComponent, never, never, { "additionalHelpEventTrigger": { "alias": "additionalHelpEventTrigger"; "required": false; }; "additionalHelpTooltip": { "alias": "p-additional-help-tooltip"; "required": false; }; "appendBox": { "alias": "p-append-in-body"; "required": false; }; "autoFocus": { "alias": "p-auto-focus"; "required": false; }; "name": { "alias": "name"; "required": false; }; "help": { "alias": "p-help"; "required": false; }; "label": { "alias": "p-label"; "required": false; }; "optional": { "alias": "p-optional"; "required": false; }; "fieldErrorMessage": { "alias": "p-field-error-message"; "required": false; }; "errorLimit": { "alias": "p-error-limit"; "required": false; }; "columns": { "alias": "p-columns"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "indeterminate": { "alias": "p-indeterminate"; "required": false; }; "options": { "alias": "p-options"; "required": false; }; "required": { "alias": "p-required"; "required": false; }; "showRequired": { "alias": "p-show-required"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; }, { "ngModelChange": "ngModelChange"; "additionalHelp": "p-additional-help"; "change": "p-change"; "keydown": "p-keydown"; }, never, never, true, never>;
313
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoCheckboxGroupBaseComponent, never, never, { "additionalHelpEventTrigger": { "alias": "additionalHelpEventTrigger"; "required": false; }; "additionalHelpTooltip": { "alias": "p-additional-help-tooltip"; "required": false; }; "appendBox": { "alias": "p-append-in-body"; "required": false; }; "autoFocus": { "alias": "p-auto-focus"; "required": false; }; "name": { "alias": "name"; "required": false; }; "help": { "alias": "p-help"; "required": false; }; "label": { "alias": "p-label"; "required": false; }; "optional": { "alias": "p-optional"; "required": false; }; "fieldErrorMessage": { "alias": "p-field-error-message"; "required": false; }; "errorLimit": { "alias": "p-error-limit"; "required": false; }; "poHelperComponent": { "alias": "p-helper"; "required": false; "isSignal": true; }; "labelTextWrap": { "alias": "p-label-text-wrap"; "required": false; "isSignal": true; }; "columns": { "alias": "p-columns"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "indeterminate": { "alias": "p-indeterminate"; "required": false; }; "options": { "alias": "p-options"; "required": false; }; "required": { "alias": "p-required"; "required": false; }; "showRequired": { "alias": "p-show-required"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; }, { "ngModelChange": "ngModelChange"; "additionalHelp": "p-additional-help"; "change": "p-change"; "keydown": "p-keydown"; }, never, never, true, never>;
278
314
  static ngAcceptInputType_appendBox: any;
279
315
  static ngAcceptInputType_autoFocus: any;
280
316
  }
@@ -57,6 +57,8 @@ export declare class PoCheckboxGroupComponent extends PoCheckboxGroupBaseCompone
57
57
  * Método que exibe `p-additionalHelpTooltip` ou executa a ação definida em `p-additionalHelp`.
58
58
  * Para isso, será necessário configurar uma tecla de atalho utilizando o evento `p-keydown`.
59
59
  *
60
+ * > Exibe ou oculta o conteúdo do componente `po-helper` quando o componente estiver com foco e com label visível.
61
+ *
60
62
  * ```
61
63
  * <po-checkbox-group
62
64
  * #checkboxGroup
@@ -66,6 +68,16 @@ export declare class PoCheckboxGroupComponent extends PoCheckboxGroupBaseCompone
66
68
  * ></po-checkbox-group>
67
69
  * ```
68
70
  * ```
71
+ * //Exemplo com p-label e p-helper
72
+ * <po-checkbox-group
73
+ * #checkboxGroup
74
+ * ...
75
+ * p-label="Label do checkbox"
76
+ * [p-helper]="helperOptions"
77
+ * (p-keydown)="onKeyDown($event, checkboxGroup)"
78
+ * ></po-checkbox-group>
79
+ * ```
80
+ * ```
69
81
  * ...
70
82
  * onKeyDown(event: KeyboardEvent, inp: PoCheckboxGroupComponent): void {
71
83
  * if (event.code === 'F9') {
@@ -77,6 +89,10 @@ export declare class PoCheckboxGroupComponent extends PoCheckboxGroupBaseCompone
77
89
  showAdditionalHelp(): boolean;
78
90
  showAdditionalHelpIcon(): boolean;
79
91
  trackByFn(index: any): any;
92
+ setHelper(label?: string, additionalHelpTooltip?: string): {
93
+ hideAdditionalHelp: boolean;
94
+ helperSettings?: any;
95
+ };
80
96
  private isAdditionalHelpEventTriggered;
81
97
  private isCheckboxOptionFocused;
82
98
  static ɵfac: i0.ɵɵFactoryDeclaration<PoCheckboxGroupComponent, never>;
@@ -8,6 +8,7 @@ import { PoComboLiterals } from './interfaces/po-combo-literals.interface';
8
8
  import { PoComboOptionGroup } from './interfaces/po-combo-option-group.interface';
9
9
  import { PoComboOption } from './interfaces/po-combo-option.interface';
10
10
  import { PoComboFilterService } from './po-combo-filter.service';
11
+ import { PoHelperOptions } from '../../po-helper';
11
12
  import * as i0 from "@angular/core";
12
13
  /**
13
14
  * @description
@@ -67,6 +68,9 @@ export declare abstract class PoComboBaseComponent implements ControlValueAccess
67
68
  protected changeDetector: ChangeDetectorRef;
68
69
  additionalHelpEventTrigger: string | undefined;
69
70
  /**
71
+ *
72
+ * @deprecated v23.x.x use `p-helper`
73
+ *
70
74
  * @optional
71
75
  *
72
76
  * @description
@@ -74,6 +78,8 @@ export declare abstract class PoComboBaseComponent implements ControlValueAccess
74
78
  * Se o evento `p-additional-help` estiver definido, o tooltip não será exibido.
75
79
  * **Como boa prática, indica-se utilizar um texto com até 140 caracteres.**
76
80
  * > Requer um recuo mínimo de 8px se o componente estiver próximo à lateral da tela.
81
+ *
82
+ * > Essa propriedade está **depreciada** e será removida na versão `23.x.x`. Recomendamos utilizar a propriedade `p-helper` que oferece mais recursos e flexibilidade.
77
83
  */
78
84
  additionalHelpTooltip?: string;
79
85
  /**
@@ -236,11 +242,16 @@ export declare abstract class PoComboBaseComponent implements ControlValueAccess
236
242
  */
237
243
  fieldErrorMessage: string;
238
244
  /**
245
+ *
246
+ * @deprecated v23.x.x use `p-helper`
247
+ *
239
248
  * @optional
240
249
  *
241
250
  * @description
242
251
  * Evento disparado ao clicar no ícone de ajuda adicional.
243
252
  * Este evento ativa automaticamente a exibição do ícone de ajuda adicional ao `p-help`.
253
+ *
254
+ * > Essa propriedade está **depreciada** e será removida na versão `23.x.x`. Recomendamos utilizar a propriedade `p-helper` que oferece mais recursos e flexibilidade.
244
255
  */
245
256
  additionalHelp: EventEmitter<any>;
246
257
  /**
@@ -318,6 +329,33 @@ export declare abstract class PoComboBaseComponent implements ControlValueAccess
318
329
  * @default `bottom`
319
330
  */
320
331
  listboxControlPosition: 'top' | 'bottom';
332
+ /**
333
+ * @Input
334
+ *
335
+ * @optional
336
+ *
337
+ * @description
338
+ *
339
+ * Define as opções do componente de ajuda (po-helper) que será exibido ao lado do label.
340
+ *
341
+ * > Caso o `p-label` não esteja definido, o componente po-helper não será exibido.
342
+ * Ao configurar esta propriedade, o antigo ícone de ajuda adicional (`p-additional-help-tooltip` e `p-additional-help`) será ignorado.
343
+ */
344
+ poHelperComponent: import("@angular/core").InputSignal<string | PoHelperOptions>;
345
+ /**
346
+ * @Input
347
+ *
348
+ * @optional
349
+ *
350
+ * @description
351
+ *
352
+ * Habilita a quebra automática do texto da propriedade `p-label`. Quando `p-label-text-wrap` for verdadeiro, o texto que excede
353
+ * o espaço disponível é transferido para a próxima linha em pontos apropriados para uma
354
+ * leitura clara.
355
+ *
356
+ * @default `false`
357
+ */
358
+ labelTextWrap: import("@angular/core").InputSignal<boolean>;
321
359
  cacheOptions: Array<any>;
322
360
  defaultService: PoComboFilterService;
323
361
  firstInWriteValue: boolean;
@@ -630,7 +668,7 @@ export declare abstract class PoComboBaseComponent implements ControlValueAccess
630
668
  abstract getInputValue(): string;
631
669
  abstract initInputObservable(): void;
632
670
  static ɵfac: i0.ɵɵFactoryDeclaration<PoComboBaseComponent, never>;
633
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoComboBaseComponent, never, never, { "additionalHelpEventTrigger": { "alias": "additionalHelpEventTrigger"; "required": false; }; "additionalHelpTooltip": { "alias": "p-additional-help-tooltip"; "required": false; }; "autoFocus": { "alias": "p-auto-focus"; "required": false; }; "label": { "alias": "p-label"; "required": false; }; "help": { "alias": "p-help"; "required": false; }; "name": { "alias": "name"; "required": false; }; "filterService": { "alias": "p-filter-service"; "required": false; }; "infiniteScroll": { "alias": "p-infinite-scroll"; "required": false; }; "infiniteScrollDistance": { "alias": "p-infinite-scroll-distance"; "required": false; }; "icon": { "alias": "p-icon"; "required": false; }; "optional": { "alias": "p-optional"; "required": false; }; "clean": { "alias": "p-clean"; "required": false; }; "emitObjectValue": { "alias": "p-emit-object-value"; "required": false; }; "disabledTabFilter": { "alias": "p-disabled-tab-filter"; "required": false; }; "removeInitialFilter": { "alias": "p-remove-initial-filter"; "required": false; }; "fieldErrorMessage": { "alias": "p-field-error-message"; "required": false; }; "errorLimit": { "alias": "p-error-limit"; "required": false; }; "controlValueWithLabel": { "alias": "p-control-value-with-label"; "required": false; }; "listboxControlPosition": { "alias": "p-listbox-control-position"; "required": false; }; "placeholder": { "alias": "p-placeholder"; "required": false; }; "debounceTime": { "alias": "p-debounce-time"; "required": false; }; "disabledInitFilter": { "alias": "p-disabled-init-filter"; "required": false; }; "fieldValue": { "alias": "p-field-value"; "required": false; }; "fieldLabel": { "alias": "p-field-label"; "required": false; }; "filterMinlength": { "alias": "p-filter-minlength"; "required": false; }; "required": { "alias": "p-required"; "required": false; }; "showRequired": { "alias": "p-show-required"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "changeOnEnter": { "alias": "p-change-on-enter"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "sort": { "alias": "p-sort"; "required": false; }; "options": { "alias": "p-options"; "required": false; }; "filterMode": { "alias": "p-filter-mode"; "required": false; }; "filterParams": { "alias": "p-filter-params"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "cache": { "alias": "p-cache"; "required": false; }; "appendBox": { "alias": "p-append-in-body"; "required": false; }; }, { "blur": "p-blur"; "additionalHelp": "p-additional-help"; "change": "p-change"; "keydown": "p-keydown"; "ngModelChange": "ngModelChange"; "inputChange": "p-input-change"; }, never, never, true, never>;
671
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoComboBaseComponent, never, never, { "additionalHelpEventTrigger": { "alias": "additionalHelpEventTrigger"; "required": false; }; "additionalHelpTooltip": { "alias": "p-additional-help-tooltip"; "required": false; }; "autoFocus": { "alias": "p-auto-focus"; "required": false; }; "label": { "alias": "p-label"; "required": false; }; "help": { "alias": "p-help"; "required": false; }; "name": { "alias": "name"; "required": false; }; "filterService": { "alias": "p-filter-service"; "required": false; }; "infiniteScroll": { "alias": "p-infinite-scroll"; "required": false; }; "infiniteScrollDistance": { "alias": "p-infinite-scroll-distance"; "required": false; }; "icon": { "alias": "p-icon"; "required": false; }; "optional": { "alias": "p-optional"; "required": false; }; "clean": { "alias": "p-clean"; "required": false; }; "emitObjectValue": { "alias": "p-emit-object-value"; "required": false; }; "disabledTabFilter": { "alias": "p-disabled-tab-filter"; "required": false; }; "removeInitialFilter": { "alias": "p-remove-initial-filter"; "required": false; }; "fieldErrorMessage": { "alias": "p-field-error-message"; "required": false; }; "errorLimit": { "alias": "p-error-limit"; "required": false; }; "controlValueWithLabel": { "alias": "p-control-value-with-label"; "required": false; }; "listboxControlPosition": { "alias": "p-listbox-control-position"; "required": false; }; "poHelperComponent": { "alias": "p-helper"; "required": false; "isSignal": true; }; "labelTextWrap": { "alias": "p-label-text-wrap"; "required": false; "isSignal": true; }; "placeholder": { "alias": "p-placeholder"; "required": false; }; "debounceTime": { "alias": "p-debounce-time"; "required": false; }; "disabledInitFilter": { "alias": "p-disabled-init-filter"; "required": false; }; "fieldValue": { "alias": "p-field-value"; "required": false; }; "fieldLabel": { "alias": "p-field-label"; "required": false; }; "filterMinlength": { "alias": "p-filter-minlength"; "required": false; }; "required": { "alias": "p-required"; "required": false; }; "showRequired": { "alias": "p-show-required"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "changeOnEnter": { "alias": "p-change-on-enter"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "sort": { "alias": "p-sort"; "required": false; }; "options": { "alias": "p-options"; "required": false; }; "filterMode": { "alias": "p-filter-mode"; "required": false; }; "filterParams": { "alias": "p-filter-params"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "cache": { "alias": "p-cache"; "required": false; }; "appendBox": { "alias": "p-append-in-body"; "required": false; }; }, { "blur": "p-blur"; "additionalHelp": "p-additional-help"; "change": "p-change"; "keydown": "p-keydown"; "ngModelChange": "ngModelChange"; "inputChange": "p-input-change"; }, never, never, true, never>;
634
672
  static ngAcceptInputType_autoFocus: any;
635
673
  static ngAcceptInputType_clean: any;
636
674
  static ngAcceptInputType_emitObjectValue: any;
@@ -5,6 +5,7 @@ import { PoComboOption } from './interfaces/po-combo-option.interface';
5
5
  import { PoComboBaseComponent } from './po-combo-base.component';
6
6
  import { PoComboFilterService } from './po-combo-filter.service';
7
7
  import { PoComboOptionTemplateDirective } from './po-combo-option-template/po-combo-option-template.directive';
8
+ import { PoHelperOptions } from '../../po-helper';
8
9
  import * as i0 from "@angular/core";
9
10
  /**
10
11
  * @docsExtends PoComboBaseComponent
@@ -75,6 +76,7 @@ export declare class PoComboComponent extends PoComboBaseComponent implements Af
75
76
  shouldMarkLetters: boolean;
76
77
  infiniteLoading: boolean;
77
78
  containerWidth: number;
79
+ helperSettings: PoHelperOptions;
78
80
  private _isServerSearching;
79
81
  private lastKey;
80
82
  private clickoutListener;
@@ -133,6 +135,7 @@ export declare class PoComboComponent extends PoComboBaseComponent implements Af
133
135
  * Método que exibe `p-additionalHelpTooltip` ou executa a ação definida em `p-additionalHelp`.
134
136
  * Para isso, será necessário configurar uma tecla de atalho utilizando o evento `p-keydown`.
135
137
  *
138
+ * > Exibe ou oculta o conteúdo do componente `po-helper` quando o componente estiver com foco e com label visível.
136
139
  * ```
137
140
  * <po-combo
138
141
  * #combo
@@ -142,6 +145,16 @@ export declare class PoComboComponent extends PoComboBaseComponent implements Af
142
145
  * ></po-combo>
143
146
  * ```
144
147
  * ```
148
+ * // Exemplo com p-label e p-helper
149
+ * <po-combo
150
+ * #combo
151
+ * ...
152
+ * p-label="Label do combo"
153
+ * [p-helper]="helperOptions"
154
+ * (p-keydown)="onKeyDown($event, combo)"
155
+ * ></po-combo>
156
+ * ```
157
+ * ```
145
158
  * ...
146
159
  * onKeyDown(event: KeyboardEvent, inp: PoComboComponent): void {
147
160
  * if (event.code === 'F9') {
@@ -179,6 +192,10 @@ export declare class PoComboComponent extends PoComboBaseComponent implements Af
179
192
  private focusItem;
180
193
  private focusInput;
181
194
  private shouldHandleTab;
195
+ setHelper(label?: string, additionalHelpTooltip?: string): {
196
+ hideAdditionalHelp: boolean;
197
+ helperSettings?: any;
198
+ };
182
199
  static ɵfac: i0.ɵɵFactoryDeclaration<PoComboComponent, never>;
183
200
  static ɵcmp: i0.ɵɵComponentDeclaration<PoComboComponent, "po-combo", never, {}, {}, ["comboOptionTemplate"], never, false, never>;
184
201
  }
@@ -4,6 +4,7 @@ import { PoMask } from '../po-input/po-mask';
4
4
  import { Observable } from 'rxjs';
5
5
  import { PoLanguageService } from '../../../services/po-language/po-language.service';
6
6
  import { PoDatepickerIsoFormat } from './enums/po-datepicker-iso-format.enum';
7
+ import { PoHelperOptions } from '../../po-helper';
7
8
  import * as i0 from "@angular/core";
8
9
  /**
9
10
  * @description
@@ -81,6 +82,9 @@ export declare abstract class PoDatepickerBaseComponent implements ControlValueA
81
82
  protected cd: ChangeDetectorRef;
82
83
  additionalHelpEventTrigger: string | undefined;
83
84
  /**
85
+ *
86
+ * @deprecated v23.x.x use `p-helper`
87
+ *
84
88
  * @optional
85
89
  *
86
90
  * @description
@@ -88,6 +92,9 @@ export declare abstract class PoDatepickerBaseComponent implements ControlValueA
88
92
  * Se o evento `p-additional-help` estiver definido, o tooltip não será exibido.
89
93
  * **Como boa prática, indica-se utilizar um texto com até 140 caracteres.**
90
94
  * > Requer um recuo mínimo de 8px se o componente estiver próximo à lateral da tela.
95
+ *
96
+ * > Essa propriedade está **depreciada** e será removida na versão `23.x.x`. Recomendamos utilizar a propriedade `p-helper` que oferece mais recursos e flexibilidade.
97
+ *
91
98
  */
92
99
  additionalHelpTooltip?: string;
93
100
  /**
@@ -163,11 +170,15 @@ export declare abstract class PoDatepickerBaseComponent implements ControlValueA
163
170
  */
164
171
  showErrorMessageRequired: boolean;
165
172
  /**
173
+ * @deprecated v23.x.x use `p-helper`
174
+ *
166
175
  * @optional
167
176
  *
168
177
  * @description
169
178
  * Evento disparado ao clicar no ícone de ajuda adicional.
170
179
  * Este evento ativa automaticamente a exibição do ícone de ajuda adicional ao `p-help`.
180
+ *
181
+ * > Essa propriedade está **depreciada** e será removida na versão `23.x.x`. Recomendamos utilizar a propriedade `p-helper` que oferece mais recursos e flexibilidade.
171
182
  */
172
183
  additionalHelp: EventEmitter<any>;
173
184
  /**
@@ -194,6 +205,33 @@ export declare abstract class PoDatepickerBaseComponent implements ControlValueA
194
205
  * Retorna um objeto `KeyboardEvent` com informações sobre a tecla.
195
206
  */
196
207
  keydown: EventEmitter<KeyboardEvent>;
208
+ /**
209
+ * @Input
210
+ *
211
+ * @optional
212
+ *
213
+ * @description
214
+ *
215
+ * Define as opções do componente de ajuda (po-helper) que será exibido ao lado do label.
216
+ *
217
+ * > Caso o `p-label` não esteja definido, o componente po-helper não será exibido.
218
+ * Ao configurar esta propriedade, o antigo ícone de ajuda adicional (`p-additional-help-tooltip` e `p-additional-help`) será ignorado.
219
+ */
220
+ poHelperComponent: import("@angular/core").InputSignal<string | PoHelperOptions>;
221
+ /**
222
+ * @Input
223
+ *
224
+ * @optional
225
+ *
226
+ * @description
227
+ *
228
+ * Habilita a quebra automática do texto da propriedade `p-label`. Quando `p-label-text-wrap` for verdadeiro, o texto que excede
229
+ * o espaço disponível é transferido para a próxima linha em pontos apropriados para uma
230
+ * leitura clara.
231
+ *
232
+ * @default `false`
233
+ */
234
+ labelTextWrap: import("@angular/core").InputSignal<boolean>;
197
235
  offset: number;
198
236
  protected firstStart: boolean;
199
237
  protected hour: string;
@@ -371,7 +409,7 @@ export declare abstract class PoDatepickerBaseComponent implements ControlValueA
371
409
  abstract writeValue(value: any): void;
372
410
  abstract refreshValue(value: Date): void;
373
411
  static ɵfac: i0.ɵɵFactoryDeclaration<PoDatepickerBaseComponent, never>;
374
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoDatepickerBaseComponent, never, never, { "additionalHelpEventTrigger": { "alias": "additionalHelpEventTrigger"; "required": false; }; "additionalHelpTooltip": { "alias": "p-additional-help-tooltip"; "required": false; }; "autoFocus": { "alias": "p-auto-focus"; "required": false; }; "errorAsync": { "alias": "p-error-async"; "required": false; }; "name": { "alias": "name"; "required": false; }; "optional": { "alias": "p-optional"; "required": false; }; "errorPattern": { "alias": "p-error-pattern"; "required": false; }; "errorLimit": { "alias": "p-error-limit"; "required": false; }; "showErrorMessageRequired": { "alias": "p-required-field-error-message"; "required": false; }; "noAutocomplete": { "alias": "p-no-autocomplete"; "required": false; }; "placeholder": { "alias": "p-placeholder"; "required": false; }; "setDisabled": { "alias": "p-disabled"; "required": false; }; "setReadonly": { "alias": "p-readonly"; "required": false; }; "setRequired": { "alias": "p-required"; "required": false; }; "showRequired": { "alias": "p-show-required"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "setClean": { "alias": "p-clean"; "required": false; }; "minDate": { "alias": "p-min-date"; "required": false; }; "maxDate": { "alias": "p-max-date"; "required": false; }; "format": { "alias": "p-format"; "required": false; }; "isoFormat": { "alias": "p-iso-format"; "required": false; }; "locale": { "alias": "p-locale"; "required": false; }; "appendBox": { "alias": "p-append-in-body"; "required": false; }; }, { "additionalHelp": "p-additional-help"; "onblur": "p-blur"; "onchange": "p-change"; "keydown": "p-keydown"; }, never, never, true, never>;
412
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoDatepickerBaseComponent, never, never, { "additionalHelpEventTrigger": { "alias": "additionalHelpEventTrigger"; "required": false; }; "additionalHelpTooltip": { "alias": "p-additional-help-tooltip"; "required": false; }; "autoFocus": { "alias": "p-auto-focus"; "required": false; }; "errorAsync": { "alias": "p-error-async"; "required": false; }; "name": { "alias": "name"; "required": false; }; "optional": { "alias": "p-optional"; "required": false; }; "errorPattern": { "alias": "p-error-pattern"; "required": false; }; "errorLimit": { "alias": "p-error-limit"; "required": false; }; "showErrorMessageRequired": { "alias": "p-required-field-error-message"; "required": false; }; "poHelperComponent": { "alias": "p-helper"; "required": false; "isSignal": true; }; "labelTextWrap": { "alias": "p-label-text-wrap"; "required": false; "isSignal": true; }; "noAutocomplete": { "alias": "p-no-autocomplete"; "required": false; }; "placeholder": { "alias": "p-placeholder"; "required": false; }; "setDisabled": { "alias": "p-disabled"; "required": false; }; "setReadonly": { "alias": "p-readonly"; "required": false; }; "setRequired": { "alias": "p-required"; "required": false; }; "showRequired": { "alias": "p-show-required"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "setClean": { "alias": "p-clean"; "required": false; }; "minDate": { "alias": "p-min-date"; "required": false; }; "maxDate": { "alias": "p-max-date"; "required": false; }; "format": { "alias": "p-format"; "required": false; }; "isoFormat": { "alias": "p-iso-format"; "required": false; }; "locale": { "alias": "p-locale"; "required": false; }; "appendBox": { "alias": "p-append-in-body"; "required": false; }; }, { "additionalHelp": "p-additional-help"; "onblur": "p-blur"; "onchange": "p-change"; "keydown": "p-keydown"; }, never, never, true, never>;
375
413
  static ngAcceptInputType_autoFocus: any;
376
414
  static ngAcceptInputType_appendBox: any;
377
415
  }