@po-ui/ng-components 21.12.0 → 21.13.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 (47) hide show
  1. package/fesm2022/{po-ui-ng-components-po-chart-modal-table.component-CKJDZQRS.mjs → po-ui-ng-components-po-chart-modal-table.component-BPYsbMKd.mjs} +4 -4
  2. package/fesm2022/{po-ui-ng-components-po-chart-modal-table.component-CKJDZQRS.mjs.map → po-ui-ng-components-po-chart-modal-table.component-BPYsbMKd.mjs.map} +1 -1
  3. package/fesm2022/po-ui-ng-components.mjs +2552 -1473
  4. package/fesm2022/po-ui-ng-components.mjs.map +1 -1
  5. package/lib/components/po-button/po-button.component.d.ts +2 -0
  6. package/lib/components/po-calendar/po-calendar-base.component.d.ts +3 -0
  7. package/lib/components/po-calendar/po-calendar-mode.enum.d.ts +3 -1
  8. package/lib/components/po-calendar/po-calendar.component.d.ts +22 -1
  9. package/lib/components/po-dropdown/po-dropdown-action.interface.d.ts +7 -6
  10. package/lib/components/po-dropdown/po-dropdown-base.component.d.ts +29 -0
  11. package/lib/components/po-dynamic/po-dynamic-form/interfaces/po-dynamic-form-field.interface.d.ts +89 -10
  12. package/lib/components/po-field/po-datepicker/po-datepicker-base.component.d.ts +30 -0
  13. package/lib/components/po-field/po-datepicker/po-datepicker.component.d.ts +21 -31
  14. package/lib/components/po-field/po-timepicker/enums/po-timepicker-iso-format.enum.d.ts +1 -1
  15. package/lib/components/po-field/po-timepicker/po-timepicker.component.d.ts +22 -2
  16. package/lib/components/po-page/index.d.ts +2 -0
  17. package/lib/components/po-page/interfaces/po-page-action.interface.d.ts +26 -4
  18. package/lib/components/po-page/po-page-content/po-page-content.component.d.ts +10 -4
  19. package/lib/components/po-page/po-page-default/enums/po-page-actions-layout.enum.d.ts +26 -0
  20. package/lib/components/po-page/po-page-default/enums/po-page-header-type.enum.d.ts +25 -0
  21. package/lib/components/po-page/po-page-default/po-page-default-base.component.d.ts +109 -36
  22. package/lib/components/po-page/po-page-default/po-page-default.component.d.ts +8 -2
  23. package/lib/components/po-page/po-page-header/po-page-header-base.component.d.ts +2 -0
  24. package/lib/components/po-page/po-page.module.d.ts +3 -2
  25. package/lib/components/po-popup/po-popup-action.interface.d.ts +32 -57
  26. package/lib/components/po-timer/po-timer-base.component.d.ts +5 -0
  27. package/lib/components/po-timer/po-timer.component.d.ts +25 -9
  28. package/lib/services/po-theme/helpers/types/po-theme-dark-defaults-AA.constant.d.ts +1 -1
  29. package/lib/services/po-theme/helpers/types/po-theme-dark-defaults.constant.d.ts +1 -1
  30. package/package.json +4 -4
  31. package/po-ui-ng-components-21.13.0.tgz +0 -0
  32. package/schematics/ng-add/index.js +1 -1
  33. package/schematics/ng-update/v14/index.js +1 -1
  34. package/schematics/ng-update/v15/index.js +1 -1
  35. package/schematics/ng-update/v16/index.js +1 -1
  36. package/schematics/ng-update/v17/index.js +1 -1
  37. package/schematics/ng-update/v18/index.js +2 -2
  38. package/schematics/ng-update/v19/index.js +2 -2
  39. package/schematics/ng-update/v2/index.js +1 -1
  40. package/schematics/ng-update/v20/index.js +2 -2
  41. package/schematics/ng-update/v21/index.js +1 -1
  42. package/schematics/ng-update/v3/index.js +1 -1
  43. package/schematics/ng-update/v4/index.js +1 -1
  44. package/schematics/ng-update/v5/index.js +1 -1
  45. package/schematics/ng-update/v6/index.js +1 -1
  46. package/types/po-ui-ng-components.d.ts +498 -173
  47. package/po-ui-ng-components-21.12.0.tgz +0 -0
@@ -2067,115 +2067,90 @@ interface PoPopupAction {
2067
2067
  */
2068
2068
  label: string;
2069
2069
  /**
2070
+ * @optional
2071
+ *
2070
2072
  * @description
2071
2073
  *
2072
2074
  * Ação que será executada, sendo possível passar o nome ou a referência da função.
2073
2075
  *
2074
2076
  * No componente `po-dropdown`, a action também pode ser executada para o agrupador de subitens.
2075
2077
  *
2076
- * > Para que a função seja executada no contexto do elemento filho o mesmo deve ser passado utilizando *bind*.
2077
- *
2078
- * Exemplo: `action: this.myFunction.bind(this)`
2078
+ * > Para que a função seja executada no contexto do componente, utilize *bind*:
2079
+ * `action: this.myFunction.bind(this)`
2079
2080
  */
2080
2081
  action?: Function;
2081
2082
  /**
2082
- * @description
2083
- *
2084
- * Define um ícone que será exibido ao lado esquerdo do rótulo.
2083
+ * @optional
2085
2084
  *
2086
- * É possível usar qualquer um dos ícones da [Biblioteca de ícones](https://po-ui.io/icons). conforme exemplo abaixo:
2087
- * ```
2088
- * <po-component
2089
- * [p-property]="[{ label: 'PHOSPHOR ICON', icon: 'an an-newspaper' }]">
2090
- * </po-component>
2091
- * ```
2085
+ * @description
2092
2086
  *
2093
- * Também é possível utilizar outras fontes de ícones, por exemplo a biblioteca Font Awesome, da seguinte forma:
2094
- * ```
2095
- * <po-component
2096
- * [p-property]="[{ label: 'FA ICON', icon: 'fa fa-icon-podcast' }]">
2097
- * </po-component>
2098
- * ```
2087
+ * Ícone exibido ao lado esquerdo do rótulo.
2099
2088
  *
2100
- * Outra opção seria a customização do ícone através do `TemplateRef`, conforme exemplo abaixo:
2101
- * component.html:
2102
- * ```
2103
- * <ng-template #iconTemplate>
2104
- * <ion-icon name="heart"></ion-icon>
2105
- * </ng-template>
2089
+ * Aceita ícones da [Biblioteca de ícones](https://po-ui.io/icons), fontes externas (ex: Font Awesome)
2090
+ * ou um `TemplateRef` para ícones customizados.
2106
2091
  *
2107
- * <po-component [p-property]="myProperty"></po-component>
2108
- * ```
2109
- * component.ts:
2110
2092
  * ```
2111
- * @ViewChild('iconTemplate', { static: true } ) iconTemplate : TemplateRef<void>;
2112
- *
2113
- * myProperty = [
2114
- * {
2115
- * label: 'FA ICON',
2116
- * icon: this.iconTemplate
2117
- * }
2118
- * ];
2093
+ * { label: 'Ação', icon: 'an an-newspaper' }
2119
2094
  * ```
2120
2095
  */
2121
2096
  icon?: string | TemplateRef<void>;
2122
2097
  /**
2098
+ * @optional
2099
+ *
2123
2100
  * @description
2124
2101
  *
2125
2102
  * Atribui uma linha separadora acima do item.
2126
- *
2127
- * */
2103
+ */
2128
2104
  separator?: boolean;
2129
2105
  /**
2130
- * @description
2131
- *
2132
- * Função que deve retornar um booleano para habilitar ou desabilitar a ação para o registro selecionado.
2106
+ * @optional
2133
2107
  *
2134
- * Também é possível informar diretamente um valor booleano que vai habilitar ou desabilitar a ação para todos os registros.
2108
+ * @description
2135
2109
  *
2110
+ * Desabilita a ação. Aceita um valor booleano ou uma função que retorna booleano.
2136
2111
  */
2137
2112
  disabled?: boolean | Function;
2138
2113
  /**
2114
+ * @optional
2115
+ *
2139
2116
  * @description
2140
2117
  *
2141
- * Define a cor do item, sendo `default` o padrão.
2118
+ * Define a cor do item.
2142
2119
  *
2143
2120
  * Valores válidos:
2144
2121
  * - `default`
2145
- * - `danger` - indicado para ações exclusivas (excluir, sair).
2122
+ * - `danger`
2146
2123
  */
2147
2124
  type?: string;
2148
2125
  /**
2126
+ * @optional
2127
+ *
2149
2128
  * @description
2150
2129
  *
2151
- * URL utilizada para redirecionamento das páginas.
2130
+ * URL para redirecionamento. Aceita rotas internas e links externos.
2152
2131
  *
2153
- * No componente `po-dropdown`, a url também pode ser configurada para o agrupador de subitens.
2154
- * Entretanto, quando a `url` é informada em um agrupador, o clique **não abrirá os subitens**, pois o item será
2155
- * tratado como um link e o redirecionamento terá prioridade sobre a exibição da lista.
2132
+ * No componente `po-dropdown`, quando informada em um agrupador com `subItems`, o clique
2133
+ * redireciona ao invés de abrir os subitens.
2156
2134
  *
2135
+ * > Quando informada, tem prioridade sobre a propriedade `action`.
2157
2136
  */
2158
2137
  url?: string;
2159
2138
  /**
2139
+ * @optional
2140
+ *
2160
2141
  * @description
2161
2142
  *
2162
2143
  * Define se a ação está selecionada.
2163
- *
2164
2144
  */
2165
2145
  selected?: boolean;
2166
2146
  /**
2167
- * @description
2168
- *
2169
- * Define se a ação será visível.
2170
- *
2171
- * > Caso o valor não seja especificado a ação será visível.
2172
- *
2173
- * Opções para tornar a ação visível ou não:
2147
+ * @optional
2174
2148
  *
2175
- * - Função que deve retornar um booleano.
2149
+ * @description
2176
2150
  *
2177
- * - Informar diretamente um valor booleano.
2151
+ * Define a visibilidade da ação. Aceita um valor booleano ou uma função que retorna booleano.
2178
2152
  *
2153
+ * @default `true`
2179
2154
  */
2180
2155
  visible?: boolean | Function;
2181
2156
  $id?: string;
@@ -2184,7 +2159,8 @@ interface PoPopupAction {
2184
2159
 
2185
2160
  /**
2186
2161
  * @description
2187
- * Interface do componente po-dropdown
2162
+ *
2163
+ * Interface para as ações do componente `po-dropdown`.
2188
2164
  *
2189
2165
  * @docsExtends PoPopupAction
2190
2166
  *
@@ -2192,13 +2168,13 @@ interface PoPopupAction {
2192
2168
  */
2193
2169
  interface PoDropdownAction extends PoPopupAction {
2194
2170
  /**
2195
- * Array de ações (`PoDropdownAction`) usado para criar agrupadores de subitens.
2171
+ * @optional
2172
+ *
2173
+ * @description
2196
2174
  *
2197
- * - Permite a criação de menus aninhados (submenus).
2175
+ * Array de ações (`PoDropdownAction`) usado para criar agrupadores de subitens (submenus).
2198
2176
  *
2199
- * > Boas práticas de desenvolvimento:
2200
- * Recomenda-se limitar a navegação a, no máximo, três níveis hierárquicos.
2201
- * Isso evita sobrecarga cognitiva, facilita a memorização da estrutura e garante uma melhor experiência de uso.
2177
+ * > Recomenda-se limitar a navegação a, no máximo, três níveis hierárquicos.
2202
2178
  */
2203
2179
  subItems?: Array<PoDropdownAction>;
2204
2180
  }
@@ -2967,7 +2943,9 @@ declare class PoButtonBaseComponent {
2967
2943
  * </example>
2968
2944
  */
2969
2945
  declare class PoButtonComponent extends PoButtonBaseComponent {
2946
+ elementRef: ElementRef;
2970
2947
  buttonElement: ElementRef;
2948
+ constructor(elementRef: ElementRef);
2971
2949
  onBlur(): void;
2972
2950
  /**
2973
2951
  * Função que atribui foco ao componente.
@@ -4748,7 +4726,9 @@ declare class PoDateService {
4748
4726
  */
4749
4727
  declare enum PoCalendarMode {
4750
4728
  /** Modo de seleção de intervalo (data inicial e final). */
4751
- Range = "range"
4729
+ Range = "range",
4730
+ MonthYear = "month-year",
4731
+ Year = "year"
4752
4732
  }
4753
4733
 
4754
4734
  /**
@@ -4972,6 +4952,9 @@ declare class PoCalendarBaseComponent {
4972
4952
  set mode(value: PoCalendarMode);
4973
4953
  get mode(): PoCalendarMode;
4974
4954
  get isRange(): boolean;
4955
+ get isMonthYear(): boolean;
4956
+ get isYear(): boolean;
4957
+ yearRangeLimit?: number;
4975
4958
  headerTemplate?: TemplateRef<any>;
4976
4959
  /**
4977
4960
  * @optional
@@ -5045,7 +5028,7 @@ declare class PoCalendarBaseComponent {
5045
5028
  private verifyActivateDate;
5046
5029
  private applySizeBasedOnA11y;
5047
5030
  static ɵfac: i0.ɵɵFactoryDeclaration<PoCalendarBaseComponent, never>;
5048
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoCalendarBaseComponent, never, never, { "locale": { "alias": "p-locale"; "required": false; }; "maxDate": { "alias": "p-max-date"; "required": false; }; "minDate": { "alias": "p-min-date"; "required": false; }; "mode": { "alias": "p-mode"; "required": false; }; "headerTemplate": { "alias": "p-header-template"; "required": false; }; "rangePresets": { "alias": "p-range-presets"; "required": false; }; "rangePresetOptions": { "alias": "p-range-preset-options"; "required": false; }; "rangePresetsOrder": { "alias": "p-range-presets-order"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "widthWithPresets": { "alias": "p-width-with-presets"; "required": false; }; }, { "change": "p-change"; "changeMonthYear": "p-change-month-year"; "close": "p-close"; }, never, never, true, never>;
5031
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoCalendarBaseComponent, never, never, { "locale": { "alias": "p-locale"; "required": false; }; "maxDate": { "alias": "p-max-date"; "required": false; }; "minDate": { "alias": "p-min-date"; "required": false; }; "mode": { "alias": "p-mode"; "required": false; }; "yearRangeLimit": { "alias": "p-year-range-limit"; "required": false; }; "headerTemplate": { "alias": "p-header-template"; "required": false; }; "rangePresets": { "alias": "p-range-presets"; "required": false; }; "rangePresetOptions": { "alias": "p-range-preset-options"; "required": false; }; "rangePresetsOrder": { "alias": "p-range-presets-order"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "widthWithPresets": { "alias": "p-width-with-presets"; "required": false; }; }, { "change": "p-change"; "changeMonthYear": "p-change-month-year"; "close": "p-close"; }, never, never, true, never>;
5049
5032
  }
5050
5033
 
5051
5034
  /**
@@ -5074,10 +5057,19 @@ declare class PoCalendarBaseComponent {
5074
5057
  * </example>
5075
5058
  */
5076
5059
  declare class PoCalendarComponent extends PoCalendarBaseComponent implements OnInit, OnChanges, DoCheck {
5060
+ monthOptions: QueryList<PoButtonComponent>;
5061
+ yearOptions: QueryList<PoButtonComponent>;
5077
5062
  private readonly changeDetector;
5078
5063
  private readonly poCalendarLangService;
5079
5064
  hoverValue: Date;
5080
5065
  displayToClean: string;
5066
+ displayMonths: Array<string>;
5067
+ displayYears: Array<number>;
5068
+ focusedIndex: number;
5069
+ selectedIndexMonth: number | null;
5070
+ selectedIndexYear: number | null;
5071
+ selectedMonth: number | null;
5072
+ selectedYear: number | null;
5081
5073
  private readonly _isRange;
5082
5074
  private readonly _rangePresetsValue;
5083
5075
  private readonly _rangePresetOptionsValue;
@@ -5090,6 +5082,15 @@ declare class PoCalendarComponent extends PoCalendarBaseComponent implements OnI
5090
5082
  ngOnInit(): void;
5091
5083
  ngOnChanges(changes: SimpleChanges): void;
5092
5084
  ngDoCheck(): void;
5085
+ isMonthDisabled(monthIndex: number): boolean;
5086
+ isYearDisabled(year: number): boolean;
5087
+ onKeydownMonth(event: KeyboardEvent, index: number): void;
5088
+ onKeydownYear(event: KeyboardEvent, index: number): void;
5089
+ selectMonth(index: number, event?: KeyboardEvent, selected?: boolean): void;
5090
+ selectYear(index: number, event?: KeyboardEvent, selected?: boolean, year?: any): void;
5091
+ private getMonthOptions;
5092
+ private getYearOptions;
5093
+ private initializeYearAndMonthMode;
5093
5094
  getActivateDate(partType: any): any;
5094
5095
  getValue(partType: any): any;
5095
5096
  onSelectDate(selectedDate: any, partType?: any): void;
@@ -5121,6 +5122,8 @@ declare class PoCalendarComponent extends PoCalendarBaseComponent implements OnI
5121
5122
  private convertDateToISO;
5122
5123
  private convertDateFromIso;
5123
5124
  private updateModel;
5125
+ private setMonth;
5126
+ private setYear;
5124
5127
  private writeDate;
5125
5128
  static ɵfac: i0.ɵɵFactoryDeclaration<PoCalendarComponent, never>;
5126
5129
  static ɵcmp: i0.ɵɵComponentDeclaration<PoCalendarComponent, "po-calendar", never, {}, {}, never, never, false, never>;
@@ -11523,6 +11526,7 @@ declare class PoDropdownBaseComponent {
11523
11526
  private _disabled;
11524
11527
  private _size?;
11525
11528
  private _initialSize?;
11529
+ private _position;
11526
11530
  /** Lista de ações que serão exibidas no componente. */
11527
11531
  set actions(value: Array<PoDropdownAction>);
11528
11532
  get actions(): Array<PoDropdownAction>;
@@ -11553,10 +11557,38 @@ declare class PoDropdownBaseComponent {
11553
11557
  */
11554
11558
  set size(value: string);
11555
11559
  get size(): string;
11560
+ /**
11561
+ * @optional
11562
+ *
11563
+ * @description
11564
+ *
11565
+ * Define a posição preferencial de abertura do popup do dropdown em relação ao botão.
11566
+ *
11567
+ * Posições válidas:
11568
+ * - `right`: No lado direito.
11569
+ * - `right-bottom`: No lado direito inferior.
11570
+ * - `right-top`: No lado direito superior.
11571
+ * - `bottom`: Abaixo.
11572
+ * - `bottom-left`: Abaixo e à esquerda (padrão).
11573
+ * - `bottom-right`: Abaixo e à direita.
11574
+ * - `left`: No lado esquerdo.
11575
+ * - `left-top`: No lado esquerdo superior.
11576
+ * - `left-bottom`: No lado esquerdo inferior.
11577
+ * - `top`: Acima.
11578
+ * - `top-right`: Acima e à direita.
11579
+ * - `top-left`: Acima e à esquerda.
11580
+ *
11581
+ * > O popup será rotacionado automaticamente caso não caiba na posição definida.
11582
+ *
11583
+ * @default `bottom-left`
11584
+ */
11585
+ set position(value: string);
11586
+ get position(): string;
11587
+ get popupCustomPositions(): Array<string>;
11556
11588
  protected onThemeChange(): void;
11557
11589
  private applySizeBasedOnA11y;
11558
11590
  static ɵfac: i0.ɵɵFactoryDeclaration<PoDropdownBaseComponent, never>;
11559
- 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>;
11591
+ 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; }; "position": { "alias": "p-position"; "required": false; }; }, {}, never, never, true, never>;
11560
11592
  }
11561
11593
 
11562
11594
  /**
@@ -14231,6 +14263,28 @@ declare abstract class PoDatepickerBaseComponent implements ControlValueAccessor
14231
14263
  protected languageService: PoLanguageService;
14232
14264
  protected cd: ChangeDetectorRef;
14233
14265
  additionalHelpEventTrigger: string | undefined;
14266
+ /** Rótulo do campo. */
14267
+ label?: string;
14268
+ /** Texto de apoio do campo. */
14269
+ help?: string;
14270
+ /**
14271
+ * Define o modo de operação do datepicker.
14272
+ *
14273
+ * Permite configurar o componente para seleção de:
14274
+ * - Mês e ano (`month-year`);
14275
+ * - Apenas ano (`year`).
14276
+ */
14277
+ mode?: 'month-year' | 'year';
14278
+ /**
14279
+ * Define o limite de anos exibidos nas variações `month-year` e `year`,
14280
+ * considerando a data atual como referência.
14281
+ *
14282
+ * O valor informado determina o intervalo de anos anterior e posterior
14283
+ * à data corrente que será disponibilizado para seleção.
14284
+ *
14285
+ * @default 150
14286
+ */
14287
+ yearRangeLimit?: number;
14234
14288
  /**
14235
14289
  *
14236
14290
  * @deprecated v23.x.x use `p-helper`
@@ -14529,6 +14583,8 @@ declare abstract class PoDatepickerBaseComponent implements ControlValueAccessor
14529
14583
  * - `mm/dd/yyyy`
14530
14584
  * - `yyyy/mm/dd`
14531
14585
  *
14586
+ * Propriedade incompatível com as variações month-year e year.
14587
+ *
14532
14588
  * @default `dd/mm/yyyy`
14533
14589
  */
14534
14590
  set format(value: string);
@@ -14541,6 +14597,8 @@ declare abstract class PoDatepickerBaseComponent implements ControlValueAccessor
14541
14597
  * Padrão de formatação para saída do *model*, independentemente do formato de entrada.
14542
14598
  *
14543
14599
  * > Veja os valores válidos no *enum* `PoDatepickerIsoFormat`.
14600
+ *
14601
+ * Propriedade incompatível com as variações month-year e year.
14544
14602
  */
14545
14603
  set isoFormat(value: PoDatepickerIsoFormat);
14546
14604
  get isoFormat(): PoDatepickerIsoFormat;
@@ -14599,6 +14657,10 @@ declare abstract class PoDatepickerBaseComponent implements ControlValueAccessor
14599
14657
  validate(c: AbstractControl): {
14600
14658
  [key: string]: any;
14601
14659
  };
14660
+ private isMonthYearOrYearInvalid;
14661
+ private isDateRangeValidForMode;
14662
+ private validateMonthYearRange;
14663
+ private validateYearRange;
14602
14664
  protected validateModel(model: any): void;
14603
14665
  protected buildMask(format?: string): PoMask;
14604
14666
  formatTimezoneAndHour(offset: number): void;
@@ -14606,36 +14668,11 @@ declare abstract class PoDatepickerBaseComponent implements ControlValueAccessor
14606
14668
  abstract writeValue(value: any): void;
14607
14669
  abstract refreshValue(value: Date): void;
14608
14670
  static ɵfac: i0.ɵɵFactoryDeclaration<PoDatepickerBaseComponent, never>;
14609
- 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; }; "compactLabel": { "alias": "p-compact-label"; "required": false; "isSignal": true; }; "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; }; "loading": { "alias": "p-loading"; "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>;
14671
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoDatepickerBaseComponent, never, never, { "additionalHelpEventTrigger": { "alias": "additionalHelpEventTrigger"; "required": false; }; "label": { "alias": "p-label"; "required": false; }; "help": { "alias": "p-help"; "required": false; }; "mode": { "alias": "p-mode"; "required": false; }; "yearRangeLimit": { "alias": "p-year-range-limit"; "required": false; }; "additionalHelpTooltip": { "alias": "p-additional-help-tooltip"; "required": false; }; "autoFocus": { "alias": "p-auto-focus"; "required": false; }; "compactLabel": { "alias": "p-compact-label"; "required": false; "isSignal": true; }; "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; }; "loading": { "alias": "p-loading"; "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>;
14610
14672
  static ngAcceptInputType_autoFocus: any;
14611
14673
  static ngAcceptInputType_appendBox: any;
14612
14674
  }
14613
14675
 
14614
- /**
14615
- * @docsExtends PoDatepickerBaseComponent
14616
- *
14617
- * @example
14618
- *
14619
- * <example name="po-datepicker-basic" title="PO Datepicker Basic">
14620
- * <file name="sample-po-datepicker-basic/sample-po-datepicker-basic.component.html"> </file>
14621
- * <file name="sample-po-datepicker-basic/sample-po-datepicker-basic.component.ts"> </file>
14622
- * </example>
14623
- *
14624
- * <example name="po-datepicker-labs" title="PO Datepicker Labs">
14625
- * <file name="sample-po-datepicker-labs/sample-po-datepicker-labs.component.html"> </file>
14626
- * <file name="sample-po-datepicker-labs/sample-po-datepicker-labs.component.ts"> </file>
14627
- * </example>
14628
- *
14629
- * <example name="po-datepicker-airfare" title="PO Datepicker - Airfare">
14630
- * <file name="sample-po-datepicker-airfare/sample-po-datepicker-airfare.component.html"> </file>
14631
- * <file name="sample-po-datepicker-airfare/sample-po-datepicker-airfare.component.ts"> </file>
14632
- * </example>
14633
- *
14634
- * <example name="po-datepicker-airfare-reactive-form" title="PO Datepicker - Airfare Reactive Form">
14635
- * <file name="sample-po-datepicker-airfare-reactive-form/sample-po-datepicker-airfare-reactive-form.component.html"> </file>
14636
- * <file name="sample-po-datepicker-airfare-reactive-form/sample-po-datepicker-airfare-reactive-form.component.ts"> </file>
14637
- * </example>
14638
- */
14639
14676
  declare class PoDatepickerComponent extends PoDatepickerBaseComponent implements AfterViewInit, OnDestroy, OnChanges {
14640
14677
  private readonly controlPosition;
14641
14678
  private readonly renderer;
@@ -14645,10 +14682,6 @@ declare class PoDatepickerComponent extends PoDatepickerBaseComponent implements
14645
14682
  inputEl: ElementRef;
14646
14683
  iconClean: ElementRef<HTMLElement>;
14647
14684
  helperEl?: PoHelperComponent;
14648
- /** Rótulo do campo. */
14649
- label?: string;
14650
- /** Texto de apoio do campo. */
14651
- help?: string;
14652
14685
  displayAdditionalHelp: boolean;
14653
14686
  el: ElementRef;
14654
14687
  hour: string;
@@ -14693,7 +14726,7 @@ declare class PoDatepickerComponent extends PoDatepickerBaseComponent implements
14693
14726
  getAdditionalHelpTooltip(): string;
14694
14727
  togglePicker(focusInput?: boolean): void;
14695
14728
  closeCalendar(focusInput?: boolean): void;
14696
- dateSelected(event?: string): void;
14729
+ dateSelected(event?: any): void;
14697
14730
  wasClickedOnPicker(event: any): void;
14698
14731
  hasInvalidClass(): boolean;
14699
14732
  getErrorPattern(): string;
@@ -14703,7 +14736,7 @@ declare class PoDatepickerComponent extends PoDatepickerBaseComponent implements
14703
14736
  eventOnClick($event: any): void;
14704
14737
  onKeyDown(event: KeyboardEvent): void;
14705
14738
  onKeyPress(event: any): void;
14706
- formatToDate(value: Date): string;
14739
+ formatToDate(value: any): string;
14707
14740
  refreshValue(value: Date): void;
14708
14741
  /**
14709
14742
  * Método que exibe `p-helper` ou executa a ação definida em `p-helper{eventOnClick}` ou em `p-additionalHelp`.
@@ -14731,13 +14764,32 @@ declare class PoDatepickerComponent extends PoDatepickerBaseComponent implements
14731
14764
  * ```
14732
14765
  */
14733
14766
  showAdditionalHelp(): boolean;
14767
+ private handleSpecialModes;
14768
+ private processValue;
14769
+ private handleDateInstance;
14770
+ private handleIsoString;
14771
+ private clearValue;
14772
+ private resetInput;
14773
+ private finalizeWrite;
14734
14774
  writeValue(value: any): void;
14735
14775
  isValidDateIso(value: string): boolean;
14736
14776
  isValidExtendedIso(value: any): boolean;
14737
14777
  hasOverlayClass(element: any): any;
14738
14778
  verifyErrorAsync(value: any): void;
14739
14779
  verifyMobile(): RegExpMatchArray;
14780
+ private handleMonthYearKeyup;
14781
+ private handleYearKeyup;
14782
+ private handleMonthYearBlur;
14783
+ private handleYearBlur;
14784
+ private applyMonthYearValue;
14785
+ private applyYearValue;
14786
+ private parseMonthYearInput;
14787
+ private syncCalendarMonthYear;
14788
+ private syncCalendarYear;
14789
+ private writeMonthYearValue;
14790
+ private writeYearValue;
14740
14791
  private controlChangeEmitter;
14792
+ private isValidInputForMode;
14741
14793
  private hasAttrCalendar;
14742
14794
  private initializeListeners;
14743
14795
  private isAdditionalHelpEventTriggered;
@@ -14757,11 +14809,11 @@ declare class PoDatepickerComponent extends PoDatepickerBaseComponent implements
14757
14809
  helperSettings?: any;
14758
14810
  };
14759
14811
  static ɵfac: i0.ɵɵFactoryDeclaration<PoDatepickerComponent, never>;
14760
- static ɵcmp: i0.ɵɵComponentDeclaration<PoDatepickerComponent, "po-datepicker", never, { "label": { "alias": "p-label"; "required": false; }; "help": { "alias": "p-help"; "required": false; }; }, {}, never, never, false, never>;
14812
+ static ɵcmp: i0.ɵɵComponentDeclaration<PoDatepickerComponent, "po-datepicker", never, {}, {}, never, never, false, never>;
14761
14813
  }
14762
14814
 
14763
14815
  /**
14764
- * @usedBy PoTimepickerComponent
14816
+ * @usedBy PoTimepickerComponent, PoDynamicFormComponent
14765
14817
  *
14766
14818
  * @description
14767
14819
  *
@@ -15012,6 +15064,11 @@ declare class PoTimerBaseComponent implements ControlValueAccessor {
15012
15064
  protected formatValue(value: number): string;
15013
15065
  /** Verifica se uma hora está desabilitada com base nos limites min/max. */
15014
15066
  protected isHourDisabled(hour: number): boolean;
15067
+ /**
15068
+ * Verifica se um período (AM/PM) está completamente desabilitado.
15069
+ * Retorna `true` quando todas as horas do período estão fora do range min/max.
15070
+ */
15071
+ protected isPeriodDisabled(targetPeriod: string): boolean;
15015
15072
  /** Verifica se um minuto está desabilitado com base nos limites min/max e hora selecionada. */
15016
15073
  protected isMinuteDisabled(minute: number): boolean;
15017
15074
  /** Verifica se um segundo está desabilitado com base nos limites min/max, hora e minuto selecionados. */
@@ -15072,10 +15129,10 @@ type PoTimerColumnType = 'hour' | 'minute' | 'second' | 'period';
15072
15129
  * </example>
15073
15130
  */
15074
15131
  declare class PoTimerComponent extends PoTimerBaseComponent implements OnInit, OnChanges, AfterViewInit, AfterViewChecked, OnDestroy {
15075
- hourCells: QueryList<ElementRef>;
15076
- minuteCells: QueryList<ElementRef>;
15077
- secondCells: QueryList<ElementRef>;
15078
- periodCells: QueryList<ElementRef>;
15132
+ hourCells: QueryList<PoButtonComponent>;
15133
+ minuteCells: QueryList<PoButtonComponent>;
15134
+ secondCells: QueryList<PoButtonComponent>;
15135
+ periodCells: QueryList<PoButtonComponent>;
15079
15136
  hourItemsRefs: QueryList<ElementRef<HTMLElement>>;
15080
15137
  minuteItemsRefs: QueryList<ElementRef<HTMLElement>>;
15081
15138
  secondItemsRefs: QueryList<ElementRef<HTMLElement>>;
@@ -15110,6 +15167,8 @@ declare class PoTimerComponent extends PoTimerBaseComponent implements OnInit, O
15110
15167
  activeDescendantIds: Record<PoTimerColumnType, string>;
15111
15168
  disabledMinuteCache: Set<number>;
15112
15169
  disabledSecondCache: Set<number>;
15170
+ private ariaSyncNeeded;
15171
+ private cachedCellPairs;
15113
15172
  constructor();
15114
15173
  ngOnInit(): void;
15115
15174
  ngOnChanges(changes: SimpleChanges): void;
@@ -15181,7 +15240,10 @@ declare class PoTimerComponent extends PoTimerBaseComponent implements OnInit, O
15181
15240
  * o foco diretamente pois nao usam o padrao de roving focus.
15182
15241
  */
15183
15242
  private getVisibleColumnTypes;
15184
- private getCellsForType;
15243
+ private updateAllCachedCellPairs;
15244
+ private subscribeToCellChanges;
15245
+ private updateCachedCellPairs;
15246
+ private markAriaSyncNeeded;
15185
15247
  /** Atualiza aria-activedescendant para o indice focado no displayArray. */
15186
15248
  private updateActiveDescendant;
15187
15249
  /**
@@ -15228,16 +15290,26 @@ declare class PoTimerComponent extends PoTimerBaseComponent implements OnInit, O
15228
15290
  * ele substitui o item equivalente na secao fixa para manter exatamente
15229
15291
  * sourceLength itens com role="option".
15230
15292
  *
15231
- * Duplicatas recebem aria-hidden="true" e role="none" no <button> nativo
15232
- * (nao apenas no host <po-button>), pois NVDA ignora aria-hidden em
15233
- * elementos customizados e conta <button> filhos de role="listbox".
15293
+ * Todos os botoes nativos recebem os atributos ARIA corretos
15294
+ * (role, aria-selected, aria-setsize, aria-posinset) propagados
15295
+ * dos data-attributes do host <po-button>.
15296
+ *
15297
+ * Nao usa `inert` — o infinity scroll repete o array 3x e marcar
15298
+ * secoes como inert causava botoes desabilitados durante transicoes
15299
+ * de scroll. Em vez disso, duplicatas recebem role="none" e
15300
+ * aria-hidden="true" no <button> nativo para que NVDA nao as conte,
15301
+ * mas permanecem clicaveis visualmente.
15302
+ *
15303
+ * A secao canonica e determinada pela secao do item focado,
15304
+ * garantindo que exatamente sourceLength itens tenham role="option".
15234
15305
  */
15235
15306
  private syncAriaToNativeButtons;
15236
15307
  /**
15237
15308
  * Determina se um item do displayArray e canonico para fins de ARIA.
15238
15309
  *
15239
15310
  * - Sem infinity scroll: todos sao canonicos.
15240
- * - Com infinity scroll: a secao que contem o item focado e canonica.
15311
+ * - Com infinity scroll: apenas itens na secao canonica (determinada
15312
+ * pelo offset visivel) recebem role="option".
15241
15313
  */
15242
15314
  private isCanonicalDisplayItem;
15243
15315
  /**
@@ -15690,6 +15762,7 @@ declare class PoTimepickerComponent extends PoTimepickerBaseComponent implements
15690
15762
  get hourPlaceholder(): string;
15691
15763
  get minutePlaceholder(): string;
15692
15764
  get secondPlaceholder(): string;
15765
+ get isPlaceholder(): boolean;
15693
15766
  private get customPlaceholderSegments();
15694
15767
  private getCustomPlaceholderSegment;
15695
15768
  onHostFocusOut(event: FocusEvent): void;
@@ -15749,6 +15822,7 @@ declare class PoTimepickerComponent extends PoTimepickerBaseComponent implements
15749
15822
  writeValue(value: any): void;
15750
15823
  verifyMobile(): RegExpMatchArray;
15751
15824
  handleCleanKeyboardTab(event: KeyboardEvent): void;
15825
+ handleTimepickerButtonKeyboardTab(event: KeyboardEvent): void;
15752
15826
  onTimerKeyDown(event: KeyboardEvent): void;
15753
15827
  onTimerBoundaryTab(payload: {
15754
15828
  direction: 'forward' | 'backward';
@@ -15775,9 +15849,22 @@ declare class PoTimepickerComponent extends PoTimepickerBaseComponent implements
15775
15849
  private getDefaultPeriodDisplay;
15776
15850
  /** Sincroniza os valores dos elementos input nativos com as propriedades de exibicao. */
15777
15851
  private syncSegmentInputElements;
15778
- /** Avanca o foco para o proximo input de segmento. */
15852
+ /**
15853
+ * Avança o foco para o próximo input de segmento ou elemento focável interno.
15854
+ * Retorna `true` se o foco foi movido, `false` se não há próximo elemento focável.
15855
+ */
15779
15856
  private advanceToNextSegment;
15780
- /** Avanca o foco para o input de segmento anterior. */
15857
+ /**
15858
+ * Tenta focar o botão de limpar ou o botão do timer.
15859
+ * Retorna `true` se o foco foi movido, `false` se nenhum elemento está focável.
15860
+ */
15861
+ private focusCleanOrButton;
15862
+ private focusPreviousPeriodSegment;
15863
+ private focusNextPeriodSegment;
15864
+ /**
15865
+ * Retorna o foco para o input de segmento anterior.
15866
+ * Retorna `true` se o foco foi movido, `false` se não há segmento anterior focável.
15867
+ */
15781
15868
  private advanceToPreviousSegment;
15782
15869
  /** Foca o ultimo input de segmento visivel. */
15783
15870
  private focusLastSegment;
@@ -15785,6 +15872,11 @@ declare class PoTimepickerComponent extends PoTimepickerBaseComponent implements
15785
15872
  private isLastSegment;
15786
15873
  /** Alterna entre AM e PM no display de periodo e atualiza o modelo. */
15787
15874
  private togglePeriod;
15875
+ /**
15876
+ * Verifica se um período (AM/PM) está completamente fora do range min/max.
15877
+ * AM corresponde às horas 0-11 em 24h, PM às horas 12-23.
15878
+ */
15879
+ private isPeriodBlocked;
15788
15880
  /** Incrementa ou decrementa o valor de um segmento na direcao indicada (+1 ou -1), respeitando limites e intervalos. */
15789
15881
  private incrementSegment;
15790
15882
  private incrementHourSegment;
@@ -24507,7 +24599,13 @@ interface PoDynamicFormField extends PoDynamicField {
24507
24599
  * Retorna um objeto `KeyboardEvent` com informações sobre a tecla.
24508
24600
  */
24509
24601
  keydown?: Function;
24510
- /** Define a obrigatoriedade do campo. */
24602
+ /**
24603
+ * Define a obrigatoriedade do campo.
24604
+ *
24605
+ * **Componentes compatíveis:** `po-datepicker`, `po-datepicker-range`, `po-timepicker`, `po-input`, `po-number`,
24606
+ * `po-decimal`, `po-select`, `po-radio-group`, `po-combo`, `po-lookup`, `po-checkbox-group`, `po-multiselect`,
24607
+ * `po-textarea`, `po-password``, `po-upload`.
24608
+ */
24511
24609
  required?: boolean;
24512
24610
  /**
24513
24611
  *
@@ -24515,7 +24613,7 @@ interface PoDynamicFormField extends PoDynamicField {
24515
24613
  *
24516
24614
  * > Necessário que a propriedade `required` esteja habilitada.
24517
24615
  *
24518
- * **Componentes compatíveis:** `po-datepicker`, `po-input`, `po-number`, `po-decimal`, `po-password`.
24616
+ * **Componentes compatíveis:** `po-datepicker`, `po-timepicker`, `po-input`, `po-number`, `po-decimal`, `po-password`.
24519
24617
  */
24520
24618
  requiredFieldErrorMessage?: boolean;
24521
24619
  /**
@@ -24524,6 +24622,10 @@ interface PoDynamicFormField extends PoDynamicField {
24524
24622
  * > A indicação não será exibida, se:
24525
24623
  * - O campo for `required`, ou;
24526
24624
  * - Não possuir `help` e `label`.
24625
+ *
24626
+ * **Componentes compatíveis:** `po-datepicker`, `po-datepicker-range`, `po-timepicker`, `po-input`, `po-number`,
24627
+ * `po-decimal`, `po-select`, `po-radio-group`, `po-combo`, `po-lookup`, `po-checkbox-group`, `po-multiselect`,
24628
+ * `po-textarea`, `po-password`.
24527
24629
  */
24528
24630
  optional?: boolean;
24529
24631
  /**
@@ -24752,14 +24854,15 @@ interface PoDynamicFormField extends PoDynamicField {
24752
24854
  * - required;
24753
24855
  *
24754
24856
  * > Esta mensagem pode ser exibida quando o campo estiver vazio, caso seja requerido. Em casos de componentes como
24755
- * `po-datepicker`, `po-input`, `po-number`, `po-decimal`, `po-password`, é necessário que a propriedade
24857
+ * `po-datepicker`, `po-input`, `po-number`, `po-decimal`, `po-password`, `po-timepicker`, é necessário que a propriedade
24756
24858
  * `requiredFieldErrorMessage` esteja como `true` para que a mensagem seja exibida com o campo vazio. Componentes
24757
24859
  * como `po-datepicker-range`, `po-select`, `po-checkbox-group`, `po-radio-group`, `po-multiselect`, `po-combo`,
24758
24860
  * `po-lookup` e `po-textarea` não é necessário passar a propriedade `requiredFieldErrorMessage`.
24759
24861
  *
24760
24862
  *
24761
24863
  * **Componentes compatíveis:** `po-checkbox-group`, `po-combo`, `po-datepicker`, `po-datepicker-range`,
24762
- * `po-decimal`, `po-input`, `po-lookup`, `po-multiselect`, `po-number`, `po-password`, `po-radio-group`, `po-select`, `po-switch`, `po-textarea`.
24864
+ * `po-decimal`, `po-input`, `po-lookup`, `po-multiselect`, `po-number`, `po-password`, `po-radio-group`, `po-select`,
24865
+ * `po-switch`, `po-textarea`, `po-timepicker`.
24763
24866
  */
24764
24867
  errorMessage?: string;
24765
24868
  /**
@@ -24773,7 +24876,8 @@ interface PoDynamicFormField extends PoDynamicField {
24773
24876
  * e um tooltip será exibido ao passar o mouse sobre a mensagem para mostrar o conteúdo completo.
24774
24877
  *
24775
24878
  * **Componentes compatíveis:** `po-checkbox-group`, `po-combo`, `po-datepicker`, `po-datepicker-range`,
24776
- * `po-decimal`, `po-input`, `po-lookup`, `po-multiselect`, `po-number`, `po-password`, `po-radio-group`, `po-select`, `po-switch`, `po-textarea`.
24879
+ * `po-decimal`, `po-input`, `po-lookup`, `po-multiselect`, `po-number`, `po-password`, `po-radio-group`, `po-select`,
24880
+ * `po-switch`, `po-textarea`, `po-timepicker`.
24777
24881
  *
24778
24882
  * @default `false`
24779
24883
  */
@@ -24814,6 +24918,8 @@ interface PoDynamicFormField extends PoDynamicField {
24814
24918
  *
24815
24919
  * Também pode-se utilizar em conjunto com `searchService`, informando uma lista de propriedades que será utilizado
24816
24920
  * para formatação da exibição no campo, por exemplo: ["id", "name"].
24921
+ *
24922
+ * **Componentes compatíveis:** `po-datepicker`, `po-timepicker`, `po-lookup`.
24817
24923
  */
24818
24924
  format?: string | Array<string>;
24819
24925
  /**
@@ -24863,7 +24969,12 @@ interface PoDynamicFormField extends PoDynamicField {
24863
24969
  * array.
24864
24970
  */
24865
24971
  order?: number;
24866
- /** Mensagem que será exibida enquanto o campo não estiver preenchido. */
24972
+ /**
24973
+ * Mensagem que será exibida enquanto o campo não estiver preenchido.
24974
+ *
24975
+ * **Componentes compatíveis:** `po-datepicker`, `po-datepicker-range`, `po-timepicker`, `po-input`, `po-number`,
24976
+ * `po-decimal`, `po-select`, `po-combo`, `po-lookup`, `po-multiselect`, `po-textarea`, `po-password`.
24977
+ */
24867
24978
  placeholder?: string;
24868
24979
  /**
24869
24980
  * Define a localidade a ser utilizada no componente.
@@ -24878,7 +24989,8 @@ interface PoDynamicFormField extends PoDynamicField {
24878
24989
  * ```
24879
24990
  *
24880
24991
  * > Para ver quais linguagens suportadas acesse [`I18n`](documentation/po-i18n)
24881
- * > A propriedade será repassada para os componentes que suportam a mesma.
24992
+ *
24993
+ * **Componentes compatíveis:** `po-datepicker`, `po-decimal`, `po-timepicker`.
24882
24994
  */
24883
24995
  locale?: string;
24884
24996
  /**
@@ -24889,7 +25001,8 @@ interface PoDynamicFormField extends PoDynamicField {
24889
25001
  range?: boolean;
24890
25002
  /** Indica que o campo será somente leitura.
24891
25003
  *
24892
- * **Componentes compatíveis:** `po-datepicker`, `po-datepicker-range`, `po-input`, `po-number`, `po-decimal`, `po-select`, `po-textarea`, `po-password`
25004
+ * **Componentes compatíveis:** `po-datepicker`, `po-datepicker-range`, `po-timepicker`, `po-input`, `po-number`,
25005
+ * `po-decimal`, `po-select`, `po-textarea`, `po-password`.
24893
25006
  */
24894
25007
  readonly?: boolean;
24895
25008
  /**
@@ -24900,13 +25013,15 @@ interface PoDynamicFormField extends PoDynamicField {
24900
25013
  multiple?: boolean;
24901
25014
  /** Se verdadeiro, o campo receberá um botão para ser limpo.
24902
25015
  *
24903
- * **Componentes compatíveis:** `po-datepicker`, `po-datepicker-range`, `po-input`, `po-number`, `po-decimal`, `po-combo`, `po-lookup`, `po-password`
25016
+ * **Componentes compatíveis:** `po-datepicker`, `po-datepicker-range`, `po-input`, `po-number`, `po-decimal`,
25017
+ * `po-combo`, `po-lookup`, `po-password`, `po-timepicker`.
24904
25018
  */
24905
25019
  clean?: boolean;
24906
25020
  /**
24907
25021
  * Define a propriedade nativa `autocomplete` do campo como off.
24908
25022
  *
24909
- * **Componentes compatíveis:** `po-datepicker`, `po-datepicker-range`, `po-input`, `po-number`, `po-decimal`, `po-lookup`, `po-password`
25023
+ * **Componentes compatíveis:** `po-datepicker`, `po-datepicker-range`, `po-input`, `po-number`, `po-decimal`,
25024
+ * `po-lookup`, `po-password`, `po-timepicker`.
24910
25025
  */
24911
25026
  noAutocomplete?: boolean;
24912
25027
  /**
@@ -25179,6 +25294,10 @@ interface PoDynamicFormField extends PoDynamicField {
25179
25294
  *
25180
25295
  * > Não será exibida a indicação se:
25181
25296
  * - Não possuir `p-help` e/ou `p-label`.
25297
+ *
25298
+ * **Componentes compatíveis:** `po-datepicker`, `po-datepicker-range`, `po-timepicker`, `po-input`, `po-number`,
25299
+ * `po-decimal`, `po-select`, `po-radio-group`, `po-combo`, `po-lookup`, `po-checkbox-group`, `po-multiselect`,
25300
+ * `po-textarea`, `po-password`, `po-upload`.
25182
25301
  */
25183
25302
  showRequired?: boolean;
25184
25303
  /**
@@ -25320,6 +25439,57 @@ interface PoDynamicFormField extends PoDynamicField {
25320
25439
  * **Compatível com todos os componentes**
25321
25440
  */
25322
25441
  compactLabel?: boolean;
25442
+ /**
25443
+ * Define o modo de seleção do `po-datepicker`.
25444
+ *
25445
+ * Valores aceitos:
25446
+ * - `'month-year'`: exibe seleção de mês e ano (formato `MM/YYYY`)
25447
+ * - `'year'`: exibe seleção apenas de ano (formato `YYYY`)
25448
+ *
25449
+ * **Componente compatível:** `po-datepicker`
25450
+ */
25451
+ mode?: 'month-year' | 'year';
25452
+ /**
25453
+ * Define o limite de anos exibidos na lista de anos do `po-datepicker` nos modos `month-year` e `year`.
25454
+ *
25455
+ * @default `150`
25456
+ *
25457
+ * **Componente compatível:** `po-datepicker`
25458
+ */
25459
+ yearRangeLimit?: number;
25460
+ /**
25461
+ * Habilita a exibição dos presets padrão de intervalos de data no painel lateral do calendário.
25462
+ *
25463
+ * Aceita os seguintes valores:
25464
+ * - `true`: exibe todos os presets padrão.
25465
+ * - `false`: não exibe os presets padrão.
25466
+ * - `Array<string>`: exibe apenas os presets padrão cujos labels estejam no array informado.
25467
+ *
25468
+ * **Componente compatível:** `po-datepicker-range`
25469
+ *
25470
+ * @default `false`
25471
+ */
25472
+ rangePresets?: boolean | Array<string>;
25473
+ /**
25474
+ * Lista de presets customizados de intervalos de data exibidos no painel lateral do calendário.
25475
+ *
25476
+ * Para utilizar presets customizados, informe um array de objetos que implementam a interface `PoCalendarRangePreset`.
25477
+ *
25478
+ * **Componente compatível:** `po-datepicker-range`
25479
+ */
25480
+ rangePresetOptions?: Array<PoCalendarRangePreset>;
25481
+ /**
25482
+ * Define a ordenação dos presets na lista.
25483
+ *
25484
+ * Valores aceitos:
25485
+ * - `'asc'`: ordenação crescente (passado → futuro)
25486
+ * - `'desc'`: ordenação decrescente (futuro → passado)
25487
+ *
25488
+ * **Componente compatível:** `po-datepicker-range`
25489
+ *
25490
+ * @default `'asc'`
25491
+ */
25492
+ rangePresetsOrder?: 'asc' | 'desc';
25323
25493
  }
25324
25494
 
25325
25495
  /**
@@ -29424,15 +29594,21 @@ declare class PoPageContentBaseComponent {
29424
29594
  * @docsExtends PoPageContentBaseComponent
29425
29595
  */
29426
29596
  declare class PoPageContentComponent extends PoPageContentBaseComponent implements AfterViewInit, OnDestroy {
29427
- renderer: Renderer2;
29597
+ private readonly renderer;
29598
+ private readonly elementRef;
29599
+ private readonly ngZone;
29428
29600
  contentOpacity: number;
29429
29601
  height: string;
29430
- overflowY: string;
29431
29602
  constructor();
29432
29603
  ngAfterViewInit(): void;
29433
29604
  ngOnDestroy(): void;
29605
+ /**
29606
+ * Recalcula a altura do po-page-content.
29607
+ * Chamado internamente pelo po-page-default quando inputs que afetam
29608
+ * o tamanho do header mudam (title, subtitle, breadcrumb, headerType, theme).
29609
+ */
29434
29610
  recalculateHeaderSize(): void;
29435
- setHeightContent(poPageHeader: HTMLElement): void;
29611
+ private setHeightContent;
29436
29612
  private initializeListeners;
29437
29613
  private removeListeners;
29438
29614
  static ɵfac: i0.ɵɵFactoryDeclaration<PoPageContentComponent, never>;
@@ -29441,11 +29617,14 @@ declare class PoPageContentComponent extends PoPageContentBaseComponent implemen
29441
29617
 
29442
29618
  /**
29443
29619
  * @description
29444
- * Interface para as ações dos componentes po-page-default e po-page-list.
29445
29620
  *
29446
- * > Quando o array de actions possui quatro ou mais registros, os dois últimos e os seguintes são automaticamente agrupados no po-dropdown.
29447
- * A partir desse ponto, as propriedades `selected`, `separator`, `type` e `subItems` passam a ter efeito apenas nas ações exibidas dentro do dropdown, ou seja, a partir da terceira ação.
29448
- * Dessa forma, o uso de subItems (agrupadores dentro do dropdown) terá efeito quando houver pelo menos quatro ações definidas.
29621
+ * Interface para as ações dos componentes `po-page-default` e `po-page-list`.
29622
+ *
29623
+ * As ações podem ser exibidas como botões no cabeçalho ou agrupadas em um *dropdown*,
29624
+ * conforme o `PoPageActionsLayout` e o tamanho da tela.
29625
+ *
29626
+ * > As propriedades `separator`, `selected` e `subItems` possuem efeito apenas quando
29627
+ * a ação é exibida dentro do *dropdown*.
29449
29628
  *
29450
29629
  * @docsExtends PoDropdownAction
29451
29630
  *
@@ -29454,6 +29633,25 @@ declare class PoPageContentComponent extends PoPageContentBaseComponent implemen
29454
29633
  * @usedBy PoPageDefaultComponent, PoPageListComponent
29455
29634
  */
29456
29635
  interface PoPageAction extends PoDropdownAction {
29636
+ /**
29637
+ * @optional
29638
+ *
29639
+ * @description
29640
+ *
29641
+ * Define o estilo visual da ação quando exibida como botão fora do *dropdown*.
29642
+ *
29643
+ * Valores permitidos:
29644
+ * - `primary`: botão com maior destaque visual.
29645
+ * - `secondary`: estilo padrão.
29646
+ *
29647
+ * > Valores inválidos são ignorados e o componente aplica o estilo padrão da posição.
29648
+ *
29649
+ * > Somente uma ação pode ter `kind` igual a `primary`. Caso mais de uma defina `primary`,
29650
+ * apenas a primeira será mantida e as demais receberão `secondary`.
29651
+ *
29652
+ * > Quando não definido, o estilo é determinado pelo `PoPageActionsLayout`.
29653
+ */
29654
+ kind?: string;
29457
29655
  }
29458
29656
 
29459
29657
  /**
@@ -29498,6 +29696,59 @@ interface PoBreadcrumb {
29498
29696
  params?: object;
29499
29697
  }
29500
29698
 
29699
+ /**
29700
+ * @usedBy PoPageDefaultComponent
29701
+ *
29702
+ * @description
29703
+ *
29704
+ * Define os layouts de exibição das ações no cabeçalho do `po-page-default`.
29705
+ *
29706
+ * > Compatível com todos os valores de `PoPageHeaderType`.
29707
+ */
29708
+ declare enum PoPageActionsLayout {
29709
+ /**
29710
+ * Exibe as ações como botões (até 3 em desktop e 2 em mobile), agrupando as demais no *dropdown*.
29711
+ *
29712
+ * Quando `PoPageAction.kind` não é definido, a primeira ação recebe o estilo `primary`
29713
+ * e as demais recebem `secondary`.
29714
+ */
29715
+ default = "default",
29716
+ /**
29717
+ * Agrupa todas as ações exclusivamente dentro do menu *dropdown*.
29718
+ */
29719
+ dropdown = "dropdown",
29720
+ /**
29721
+ * Exibe a primeira ação como botão e agrupa as demais no *dropdown*.
29722
+ */
29723
+ mixed = "mixed"
29724
+ }
29725
+
29726
+ /**
29727
+ * @usedBy PoPageDefaultComponent
29728
+ *
29729
+ * @description
29730
+ *
29731
+ * Define os tipos de cabeçalho disponíveis no `po-page-default`.
29732
+ */
29733
+ declare enum PoPageHeaderType {
29734
+ /**
29735
+ * Layout padrão com suporte a `p-breadcrumb`.
29736
+ */
29737
+ primary = "primary",
29738
+ /**
29739
+ * Exibe um botão de retorno ao lado do título.
29740
+ *
29741
+ * > Incompatível com `p-breadcrumb`.
29742
+ */
29743
+ secondary = "secondary",
29744
+ /**
29745
+ * Layout simplificado sem botão de retorno.
29746
+ *
29747
+ * > Incompatível com `p-breadcrumb`.
29748
+ */
29749
+ tertiary = "tertiary"
29750
+ }
29751
+
29501
29752
  /**
29502
29753
  * @usedBy PoPageDefaultComponent
29503
29754
  *
@@ -29513,42 +29764,69 @@ interface PoPageDefaultLiterals {
29513
29764
  /**
29514
29765
  * @description
29515
29766
  *
29516
- * O componente `po-page-default` é utilizado como o container principal para as telas sem um template definido.
29767
+ * O `po-page-default` é utilizado como container principal para telas sem um template definido.
29768
+ *
29769
+ * Oferece suporte a cabeçalhos dinâmicos via `p-page-header-type`, navegação por *breadcrumb*
29770
+ * e gerenciamento de ações com agrupamento responsivo via `p-page-actions-layout`.
29517
29771
  *
29518
29772
  * #### Tokens customizáveis
29519
29773
  *
29520
29774
  * > Para maiores informações, acesse o guia [Personalizando o Tema Padrão com Tokens CSS](https://po-ui.io/guides/theme-customization).
29521
29775
  *
29522
- * | Propriedade | Descrição | Valor Padrão |
29523
- * |---------------------|---------------------------------------------|---------------------------------------|
29524
- * | **Header** | | |
29525
- * | `--padding` | Espaçamento do header | `var(--spacing-xs) var(--spacing-md)` |
29526
- * | `--gap` | Espaçamento entre os breadcrumbs e o título | `var(--spacing-md)` |
29527
- * | `--gap-actions` | Espaçamento entre as ações | `var(--spacing-xs)` |
29528
- * | `--font-family` | Família tipográfica do título | `var(--font-family-theme)` |
29529
- * | **Content** | | |
29530
- * | `--padding-content` | Espaçamento do conteúdo | `var(--spacing-xs) var(--spacing-sm)` |
29776
+ * | Propriedade | Descrição | Valor Padrão |
29777
+ * |----------------------------------------------------|---------------------------------------------|---------------------------------------|
29778
+ * | **Página (po-page-default)** | | |
29779
+ * | `--background` | Background da página (header e body) | `var(--color-page-background-color-page)` |
29780
+ * | **Header (po-page-header)** | | |
29781
+ * | `--padding` | Espaçamento do header | `var(--spacing-xs) var(--spacing-md)` |
29782
+ * | `--gap` | Espaçamento entre os breadcrumbs e o título | `var(--spacing-md)` |
29783
+ * | `--gap-actions` | Espaçamento entre as ações | `var(--spacing-xs)` |
29784
+ * | **Header (po-page-header .po-page-header-title)** | | |
29785
+ * | `--font-family` | Família tipográfica do título | `var(--font-family-theme)` |
29786
+ * | **Content (po-page-content)** | | |
29787
+ * | `--padding-content` | Espaçamento do conteúdo | `var(--spacing-xs) var(--spacing-sm)` |
29531
29788
  */
29532
29789
  declare abstract class PoPageDefaultBaseComponent {
29533
29790
  poPageContent: PoPageContentComponent;
29534
- /** Objeto com propriedades do breadcrumb. */
29535
- breadcrumb?: PoBreadcrumb;
29536
29791
  visibleActions: Array<PoPageAction>;
29537
29792
  protected language: string;
29538
29793
  private _actions?;
29794
+ private _breadcrumb?;
29539
29795
  private _componentsSize?;
29540
29796
  private _initialComponentsSize?;
29541
29797
  private _literals;
29798
+ private _pageActionsLayout;
29799
+ private _pageHeaderType;
29800
+ private _subtitle;
29542
29801
  private _title;
29543
29802
  /**
29544
29803
  * @optional
29545
29804
  *
29546
29805
  * @description
29547
29806
  *
29548
- * Nesta propriedade deve ser definido um array de objetos que implementam a interface `PoPageAction`.
29807
+ * Define a lista de ações que serão exibidas no cabeçalho da página.
29808
+ *
29809
+ * Recebe um array de objetos que implementam a interface `PoPageAction`.
29810
+ *
29811
+ * > O comportamento de exibição pode ser customizado através da propriedade `p-page-actions-layout`.
29812
+ *
29813
+ * @default `[]`
29549
29814
  */
29550
29815
  set actions(actions: Array<PoPageAction>);
29551
29816
  get actions(): Array<PoPageAction>;
29817
+ /**
29818
+ * @optional
29819
+ *
29820
+ * @description
29821
+ *
29822
+ * Define o sistema de navegação que indica o caminho da página atual na hierarquia da aplicação.
29823
+ *
29824
+ * Recebe um objeto que implementa a interface `PoBreadcrumb`.
29825
+ *
29826
+ * > Compatível com o cabeçalho (`p-page-header-type`) do tipo `primary`.
29827
+ */
29828
+ set breadcrumb(value: PoBreadcrumb);
29829
+ get breadcrumb(): PoBreadcrumb;
29552
29830
  /**
29553
29831
  * @optional
29554
29832
  *
@@ -29570,37 +29848,62 @@ declare abstract class PoPageDefaultBaseComponent {
29570
29848
  *
29571
29849
  * @description
29572
29850
  *
29573
- * Objeto com as literais usadas no `po-page-default`.
29851
+ * Permite a customização das literais utilizadas no componente.
29574
29852
  *
29575
- * Existem duas maneiras de customizar o componente, passando um objeto com todas as literais disponíveis:
29576
- *
29577
- * ```
29578
- * const customLiterals: PoPageDefaultLiterals = {
29579
- * otherActions: 'Mais ações'
29580
- * };
29581
- * ```
29853
+ * Para customizar, basta passar um objeto parcial ou completo que implemente a interface `PoPageDefaultLiterals`.
29582
29854
  *
29583
- * Ou passando apenas as literais que deseja customizar:
29855
+ * Exemplo de uso:
29584
29856
  *
29585
- * ```
29586
- * const customLiterals: PoPageDefaultLiterals = {
29587
- * otherActions: 'Ações da página'
29588
- * };
29857
+ * ```html
29858
+ * <po-page-default [p-literals]="customLiterals"></po-page-default>
29589
29859
  * ```
29590
29860
  *
29591
- * E para carregar as literais customizadas, basta apenas passar o objeto para o componente.
29592
- *
29593
- * ```
29594
- * <po-page-default
29595
- * [p-literals]="customLiterals">
29596
- * </po-page-default>
29861
+ * ```typescript
29862
+ * const customLiterals: PoPageDefaultLiterals = {
29863
+ * otherActions: 'Mais opções'
29864
+ * };
29597
29865
  * ```
29598
29866
  *
29599
- * > O valor padrão será traduzido de acordo com o idioma configurado no [`PoI18nService`](/documentation/po-i18n) ou *browser*.
29867
+ * > O valor padrão será traduzido de acordo com o idioma configurado no [`PoI18nService`](/documentation/po-i18n) ou navegador.
29600
29868
  */
29601
29869
  set literals(value: PoPageDefaultLiterals);
29602
29870
  get literals(): PoPageDefaultLiterals;
29603
- /** Título da página. */
29871
+ /**
29872
+ * @optional
29873
+ *
29874
+ * @description
29875
+ *
29876
+ * Define o layout de exibição das ações no cabeçalho.
29877
+ *
29878
+ * Aceita valores do enum `PoPageActionsLayout`.
29879
+ *
29880
+ * > Em telas reduzidas (< 480px) as ações fora do *dropdown* que possuam a propriedade `PoPageAction.icon` definida
29881
+ * exibirão apenas o ícone.
29882
+ *
29883
+ * @default `default`
29884
+ */
29885
+ set pageActionsLayout(value: string | PoPageActionsLayout);
29886
+ get pageActionsLayout(): string;
29887
+ /**
29888
+ * @optional
29889
+ *
29890
+ * @description
29891
+ *
29892
+ * Define o tipo de cabeçalho da página.
29893
+ *
29894
+ * Aceita valores do enum `PoPageHeaderType`.
29895
+ *
29896
+ * @default `primary`
29897
+ */
29898
+ set pageHeaderType(value: string | PoPageHeaderType);
29899
+ get pageHeaderType(): string;
29900
+ /**
29901
+ * @optional
29902
+ *
29903
+ * @description
29904
+ *
29905
+ * Define o título principal da página.
29906
+ */
29604
29907
  set title(title: string);
29605
29908
  get title(): string;
29606
29909
  /**
@@ -29608,16 +29911,29 @@ declare abstract class PoPageDefaultBaseComponent {
29608
29911
  *
29609
29912
  * @description
29610
29913
  *
29611
- * Subtitulo do Header da página
29914
+ * Define um texto de apoio ou informações adicionais logo abaixo do título principal.
29915
+ *
29916
+ * > Requer que`p-title` esteja definido.
29612
29917
  */
29613
- subtitle: string;
29918
+ set subtitle(value: string);
29919
+ get subtitle(): string;
29920
+ /**
29921
+ * @optional
29922
+ *
29923
+ * @description
29924
+ *
29925
+ * Evento disparado ao clicar no botão voltar exibido no cabeçalho.
29926
+ *
29927
+ * > Botão exibido apenas quando a propriedade `p-page-header-type` está configurada como `secondary`.
29928
+ */
29929
+ back: i0.OutputEmitterRef<void>;
29614
29930
  constructor(languageService: PoLanguageService);
29615
29931
  protected onThemeChange(): void;
29616
29932
  private applySizeBasedOnA11y;
29617
29933
  abstract setDropdownActions(): any;
29618
29934
  abstract getVisibleActions(): any;
29619
29935
  static ɵfac: i0.ɵɵFactoryDeclaration<PoPageDefaultBaseComponent, never>;
29620
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoPageDefaultBaseComponent, never, never, { "breadcrumb": { "alias": "p-breadcrumb"; "required": false; }; "actions": { "alias": "p-actions"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "title": { "alias": "p-title"; "required": false; }; "subtitle": { "alias": "p-subtitle"; "required": false; }; }, {}, never, never, true, never>;
29936
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoPageDefaultBaseComponent, never, never, { "actions": { "alias": "p-actions"; "required": false; }; "breadcrumb": { "alias": "p-breadcrumb"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "pageActionsLayout": { "alias": "p-page-actions-layout"; "required": false; }; "pageHeaderType": { "alias": "p-page-header-type"; "required": false; }; "title": { "alias": "p-title"; "required": false; }; "subtitle": { "alias": "p-subtitle"; "required": false; }; }, { "back": "p-back"; }, never, never, true, never>;
29621
29937
  }
29622
29938
 
29623
29939
  /**
@@ -29642,24 +29958,30 @@ declare abstract class PoPageDefaultBaseComponent {
29642
29958
  * <file name="sample-po-page-default-dashboard/sample-po-page-default-dashboard.service.ts"> </file>
29643
29959
  * </example>
29644
29960
  */
29645
- declare class PoPageDefaultComponent extends PoPageDefaultBaseComponent implements AfterContentInit, OnChanges {
29961
+ declare class PoPageDefaultComponent extends PoPageDefaultBaseComponent implements AfterContentInit, OnChanges, OnDestroy {
29646
29962
  private readonly renderer;
29647
29963
  private readonly router;
29964
+ readonly backIcon: string;
29965
+ readonly backNavigationLabel: string;
29648
29966
  limitPrimaryActions: number;
29649
29967
  dropdownActions: Array<PoPageAction>;
29650
29968
  isMobile: boolean;
29651
29969
  private readonly maxWidthMobile;
29970
+ private _primaryKindUsed;
29971
+ private resizeUnlisten;
29652
29972
  constructor();
29653
29973
  ngAfterContentInit(): void;
29654
29974
  ngOnChanges(changes: {
29655
29975
  [propName: string]: SimpleChange;
29656
29976
  }): void;
29977
+ ngOnDestroy(): void;
29657
29978
  actionIsDisabled(action: any): any;
29658
29979
  actionIsVisible(action: any): any;
29659
29980
  callAction(item: PoPageAction): void;
29660
29981
  hasPageHeader(): boolean;
29661
29982
  setDropdownActions(): void;
29662
29983
  getVisibleActions(): PoPageAction[];
29984
+ getActionKind(action: PoPageAction, fallback: string): string;
29663
29985
  private onResize;
29664
29986
  private setIsMobile;
29665
29987
  static ɵfac: i0.ɵɵFactoryDeclaration<PoPageDefaultComponent, never>;
@@ -30048,12 +30370,14 @@ declare class PoPageHeaderBaseComponent {
30048
30370
  size: string;
30049
30371
  /** Subtítulo da página. */
30050
30372
  subtitle: string;
30373
+ /** Define o tipo de header: `primary`, `secondary` ou `tertiary`. */
30374
+ type: string;
30051
30375
  private _breadcrumb;
30052
30376
  /** Objeto com propriedades do breadcrumb. */
30053
30377
  set breadcrumb(value: PoBreadcrumb);
30054
30378
  get breadcrumb(): PoBreadcrumb;
30055
30379
  static ɵfac: i0.ɵɵFactoryDeclaration<PoPageHeaderBaseComponent, never>;
30056
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoPageHeaderBaseComponent, never, never, { "title": { "alias": "p-title"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "subtitle": { "alias": "p-subtitle"; "required": false; }; "breadcrumb": { "alias": "p-breadcrumb"; "required": false; }; }, {}, never, never, true, never>;
30380
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoPageHeaderBaseComponent, never, never, { "title": { "alias": "p-title"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "subtitle": { "alias": "p-subtitle"; "required": false; }; "type": { "alias": "p-type"; "required": false; }; "breadcrumb": { "alias": "p-breadcrumb"; "required": false; }; }, {}, never, never, true, never>;
30057
30381
  }
30058
30382
 
30059
30383
  /**
@@ -30062,7 +30386,7 @@ declare class PoPageHeaderBaseComponent {
30062
30386
  */
30063
30387
  declare class PoPageHeaderComponent extends PoPageHeaderBaseComponent {
30064
30388
  static ɵfac: i0.ɵɵFactoryDeclaration<PoPageHeaderComponent, never>;
30065
- static ɵcmp: i0.ɵɵComponentDeclaration<PoPageHeaderComponent, "po-page-header", never, {}, {}, never, ["*"], false, never>;
30389
+ static ɵcmp: i0.ɵɵComponentDeclaration<PoPageHeaderComponent, "po-page-header", never, {}, {}, never, ["[po-page-header-navigation]", "*"], false, never>;
30066
30390
  }
30067
30391
 
30068
30392
  /**
@@ -31236,8 +31560,9 @@ declare class PoPageListComponent extends PoPageListBaseComponent implements Aft
31236
31560
 
31237
31561
  /**
31238
31562
  * @description
31239
- * Módulo dos componentes po-page-default, po-page-detail, po-page-edit,
31240
- * po-page-list e po-page-slide.
31563
+ *
31564
+ * Módulo responsável pelos componentes de estrutura de página: `po-page-default`, `po-page-detail`,
31565
+ * `po-page-edit`, `po-page-list` e `po-page-slide`.
31241
31566
  */
31242
31567
  declare class PoPageModule {
31243
31568
  static ɵfac: i0.ɵɵFactoryDeclaration<PoPageModule, never>;
@@ -34357,7 +34682,7 @@ declare const poThemeDefaultDarkValues: {
34357
34682
  'po-container': {
34358
34683
  '--background': string;
34359
34684
  };
34360
- 'div.po-lookup-filter-content input.po-input, input.po-input, po-datepicker, po-datepicker-range, po-decimal, po-email, po-input, po-login, po-lookup, po-number, po-password, po-url, po-combo, po-search, po-select, po-multiselect': {
34685
+ 'div.po-lookup-filter-content input.po-input, input.po-input, po-datepicker, po-datepicker-range, po-decimal, po-email, po-input, po-login, po-lookup, po-number, po-password, po-url, po-combo, po-search, po-select, po-multiselect, po-timepicker': {
34361
34686
  '--background-disabled': string;
34362
34687
  };
34363
34688
  'po-input input:-webkit-autofill, po-datepicker input:-webkit-autofill, po-datepicker-range input:-webkit-autofill, po-decimal input:-webkit-autofill, po-email input:-webkit-autofill, po-input input:-webkit-autofill, po-login input:-webkit-autofill, po-lookup input:-webkit-autofill, po-number input:-webkit-autofill, po-password input:-webkit-autofill, po-url input:-webkit-autofill, po-combo input:-webkit-autofill': {
@@ -34463,7 +34788,7 @@ declare const poThemeDefaultDarkValuesAA: {
34463
34788
  'po-container': {
34464
34789
  '--background': string;
34465
34790
  };
34466
- 'div.po-lookup-filter-content input.po-input, input.po-input, po-datepicker, po-datepicker-range, po-decimal, po-email, po-input, po-login, po-lookup, po-number, po-password, po-url, po-combo, po-search, po-select, po-multiselect': {
34791
+ 'div.po-lookup-filter-content input.po-input, input.po-input, po-datepicker, po-datepicker-range, po-decimal, po-email, po-input, po-login, po-lookup, po-number, po-password, po-url, po-combo, po-search, po-select, po-multiselect, po-timepicker': {
34467
34792
  '--background-disabled': string;
34468
34793
  };
34469
34794
  'po-input input:-webkit-autofill, po-datepicker input:-webkit-autofill, po-datepicker-range input:-webkit-autofill, po-decimal input:-webkit-autofill, po-email input:-webkit-autofill, po-input input:-webkit-autofill, po-login input:-webkit-autofill, po-lookup input:-webkit-autofill, po-number input:-webkit-autofill, po-password input:-webkit-autofill, po-url input:-webkit-autofill, po-combo input:-webkit-autofill': {
@@ -36830,5 +37155,5 @@ declare class PoHttpRequestInterceptorService implements HttpInterceptor {
36830
37155
  static ɵprov: i0.ɵɵInjectableDeclaration<PoHttpRequestInterceptorService>;
36831
37156
  }
36832
37157
 
36833
- export { AnimaliaIconDictionary, ForceBooleanComponentEnum, ForceOptionComponentEnum, I18N_CONFIG, InputBoolean, InputRequired, LOADING_ICON_COMPONENT, PO_CALENDAR_DEFAULT_RANGE_PRESETS, PO_CONTROL_POSITIONS, PoAccordionComponent, PoAccordionItemComponent, PoAccordionModule, PoActiveOverlayModule, PoActiveOverlayService, PoAvatarComponent, PoAvatarModule, PoBadgeComponent, PoBadgeModule, PoBreadcrumbComponent, PoBreadcrumbModule, PoButtonComponent, PoButtonGroupComponent, PoButtonGroupModule, PoButtonGroupToggle, PoButtonKind, PoButtonModule, PoButtonSize, PoButtonType, PoCalendarComponent, PoCalendarMode, PoCalendarModule, PoChartComponent, PoChartLabelFormat, PoChartModule, PoChartType, PoCheckboxComponent, PoCheckboxGroupComponent, PoCheckboxGroupModule, PoCheckboxModule, PoCheckboxSize, PoCleanComponent, PoCleanModule, PoColorPaletteModule, PoColorPaletteService, PoComboComponent, PoComboFilterMode, PoComboModule, PoComboOptionTemplateDirective, PoComponentInjectorModule, PoComponentInjectorService, PoComponentsModule, PoContainerComponent, PoContainerModule, PoContextMenuComponent, PoContextMenuModule, PoContextTabButtonComponent, PoContextTabsComponent, PoContextTabsModule, PoControlPositionModule, PoDateService, PoDateTimeModule, PoDatepickerComponent, PoDatepickerIsoFormat, PoDatepickerModule, PoDatepickerRangeComponent, PoDecimalComponent, PoDialogComponent, PoDialogModule, PoDialogService, PoDialogType, PoDirectivesModule, PoDisclaimerComponent, PoDisclaimerGroupComponent, PoDisclaimerGroupModule, PoDisclaimerModule, PoDividerComponent, PoDividerModule, PoDividerSize, PoDropdownComponent, PoDropdownModule, PoDynamicContainerComponent, PoDynamicFieldType, PoDynamicFormComponent, PoDynamicModule, PoDynamicSharedBase, PoDynamicViewComponent, PoEmailComponent, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoFieldContainerModule, PoFieldModule, PoGaugeComponent, PoGaugeModule, PoGridComponent, PoGridModule, PoGuardsModule, PoHeaderComponent, PoHeaderModule, PoHelperComponent, PoHelperModule, PoHttpInterceptorModule, PoHttpInterceptorService, PoHttpRequestInterceptorService, PoHttpRequestModule, PoI18nModule, PoI18nPipe, PoI18nService, PoIconComponent, PoIconModule, PoImageComponent, PoImageModule, PoInfoComponent, PoInfoModule, PoInfoOrientation, PoInputComponent, PoInterceptorsModule, PoItemListComponent, PoLabelComponent, PoLabelModule, PoLanguageModule, PoLanguageService, PoLinkComponent, PoLinkModule, PoListBoxComponent, PoListBoxModule, PoListViewComponent, PoListViewContentTemplateDirective, PoListViewDetailTemplateDirective, PoListViewModule, PoLoadingComponent, PoLoadingIconComponent, PoLoadingModule, PoLoadingOverlayComponent, PoLoginComponent, PoLogoComponent, PoLogoModule, PoLookupComponent, PoLookupModalComponent, PoMask, PoMediaQueryModule, PoMediaQueryService, PoMenuComponent, PoMenuGlobalService, PoMenuHeaderTemplateDirective, PoMenuModule, PoMenuPanelComponent, PoMenuPanelModule, PoModalComponent, PoModalFooterComponent, PoModalModule, PoModule, PoMultiselectComponent, PoMultiselectFilterMode, PoMultiselectOptionTemplateDirective, PoNavbarComponent, PoNavbarModule, PoNotificationModule, PoNotificationService, PoNumberComponent, PoOverlayComponent, PoOverlayModule, PoPageDefaultComponent, PoPageDetailComponent, PoPageEditComponent, PoPageListComponent, PoPageModule, PoPageSlideComponent, PoPageSlideFooterComponent, PoPageSlideModule, PoPasswordComponent, PoPipesModule, PoPopoverComponent, PoPopoverModule, PoPopupComponent, PoPopupModule, PoProgressComponent, PoProgressModule, PoProgressShape, PoProgressSize, PoProgressStatus, PoRadioComponent, PoRadioGroupComponent, PoRadioGroupModule, PoRadioModule, PoRichTextComponent, PoRichTextToolbarActions, PoSearchComponent, PoSearchFilterMode, PoSearchListComponent, PoSearchModule, PoSelectComponent, PoServicesModule, PoSkeletonAnimation, PoSkeletonComponent, PoSkeletonModule, PoSkeletonSize, PoSkeletonType, PoSkeletonVariant, PoSlideComponent, PoSlideContentTemplateDirective, PoSlideModule, PoStepComponent, PoStepperComponent, PoStepperModule, PoStepperOrientation, PoStepperStatus, PoSwitchComponent, PoSwitchLabelPosition, PoSwitchModule, PoTabButtonComponent, PoTabComponent, PoTabDropdownComponent, PoTableCellTemplateDirective, PoTableColumnFrozenDirective, PoTableColumnSortType, PoTableColumnSpacing, PoTableColumnTemplateDirective, PoTableComponent, PoTableModule, PoTableRowTemplateArrowDirection, PoTableRowTemplateDirective, PoTabsComponent, PoTabsModule, PoTabsService, PoTagComponent, PoTagModule, PoTagOrientation, PoTagType, PoTextareaComponent, PoThemeA11yEnum, PoThemeModule, PoThemeService, PoThemeTypeEnum, PoTimeModule, PoTimePipe, PoTimepickerComponent, PoTimepickerModelFormat, PoTimepickerModule, PoTimerBaseComponent, PoTimerComponent, PoTimerFormat, PoTimerModule, PoToasterComponent, PoToasterMode, PoToasterModule, PoToasterOrientation, PoToasterType, PoToolbarComponent, PoToolbarModule, PoTooltipDirective, PoTooltipModule, PoTreeViewComponent, PoTreeViewModule, PoUploadComponent, PoUploadFile, PoUploadStatus, PoUrlComponent, PoWidgetComponent, PoWidgetModule, initializeLanguageDefault, mergePoI18nConfigs, poBreadcrumbLiterals, poChartLiteralsDefault, poDialogAlertLiteralsDefault, poDialogConfirmLiteralsDefault, poLanguageDefault, poLocaleDateSeparatorList, poLocaleDecimalSeparatorList, poLocaleDefault, poLocaleThousandSeparatorList, poLocales, poPageSlideLiteralsDefault, poTabsLiterals, poThemeDefault, poThemeDefaultAA, poThemeDefaultAAA, poThemeDefaultActions, poThemeDefaultActionsDark, poThemeDefaultBrands, poThemeDefaultBrandsDark, poThemeDefaultCategoricals, poThemeDefaultCategoricalsAA, poThemeDefaultCategoricalsDark, poThemeDefaultCategoricalsDarkAA, poThemeDefaultCategoricalsOverlayDark, poThemeDefaultCategoricalsOverlayDarkAA, poThemeDefaultDark, poThemeDefaultDarkValues, poThemeDefaultDarkValuesAA, poThemeDefaultFeedback, poThemeDefaultFeedbackDark, poThemeDefaultLight, poThemeDefaultLightValues, poThemeDefaultLightValuesAA, poThemeDefaultNeutrals, poThemeDefaultNeutralsDark, poThemeDefaultOverlayCategoricals, poThemeDefaultOverlayCategoricalsAA, poToasterLiterals, returnPoI18nService };
37158
+ export { AnimaliaIconDictionary, ForceBooleanComponentEnum, ForceOptionComponentEnum, I18N_CONFIG, InputBoolean, InputRequired, LOADING_ICON_COMPONENT, PO_CALENDAR_DEFAULT_RANGE_PRESETS, PO_CONTROL_POSITIONS, PoAccordionComponent, PoAccordionItemComponent, PoAccordionModule, PoActiveOverlayModule, PoActiveOverlayService, PoAvatarComponent, PoAvatarModule, PoBadgeComponent, PoBadgeModule, PoBreadcrumbComponent, PoBreadcrumbModule, PoButtonComponent, PoButtonGroupComponent, PoButtonGroupModule, PoButtonGroupToggle, PoButtonKind, PoButtonModule, PoButtonSize, PoButtonType, PoCalendarComponent, PoCalendarMode, PoCalendarModule, PoChartComponent, PoChartLabelFormat, PoChartModule, PoChartType, PoCheckboxComponent, PoCheckboxGroupComponent, PoCheckboxGroupModule, PoCheckboxModule, PoCheckboxSize, PoCleanComponent, PoCleanModule, PoColorPaletteModule, PoColorPaletteService, PoComboComponent, PoComboFilterMode, PoComboModule, PoComboOptionTemplateDirective, PoComponentInjectorModule, PoComponentInjectorService, PoComponentsModule, PoContainerComponent, PoContainerModule, PoContextMenuComponent, PoContextMenuModule, PoContextTabButtonComponent, PoContextTabsComponent, PoContextTabsModule, PoControlPositionModule, PoDateService, PoDateTimeModule, PoDatepickerComponent, PoDatepickerIsoFormat, PoDatepickerModule, PoDatepickerRangeComponent, PoDecimalComponent, PoDialogComponent, PoDialogModule, PoDialogService, PoDialogType, PoDirectivesModule, PoDisclaimerComponent, PoDisclaimerGroupComponent, PoDisclaimerGroupModule, PoDisclaimerModule, PoDividerComponent, PoDividerModule, PoDividerSize, PoDropdownComponent, PoDropdownModule, PoDynamicContainerComponent, PoDynamicFieldType, PoDynamicFormComponent, PoDynamicModule, PoDynamicSharedBase, PoDynamicViewComponent, PoEmailComponent, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoFieldContainerModule, PoFieldModule, PoGaugeComponent, PoGaugeModule, PoGridComponent, PoGridModule, PoGuardsModule, PoHeaderComponent, PoHeaderModule, PoHelperComponent, PoHelperModule, PoHttpInterceptorModule, PoHttpInterceptorService, PoHttpRequestInterceptorService, PoHttpRequestModule, PoI18nModule, PoI18nPipe, PoI18nService, PoIconComponent, PoIconModule, PoImageComponent, PoImageModule, PoInfoComponent, PoInfoModule, PoInfoOrientation, PoInputComponent, PoInterceptorsModule, PoItemListComponent, PoLabelComponent, PoLabelModule, PoLanguageModule, PoLanguageService, PoLinkComponent, PoLinkModule, PoListBoxComponent, PoListBoxModule, PoListViewComponent, PoListViewContentTemplateDirective, PoListViewDetailTemplateDirective, PoListViewModule, PoLoadingComponent, PoLoadingIconComponent, PoLoadingModule, PoLoadingOverlayComponent, PoLoginComponent, PoLogoComponent, PoLogoModule, PoLookupComponent, PoLookupModalComponent, PoMask, PoMediaQueryModule, PoMediaQueryService, PoMenuComponent, PoMenuGlobalService, PoMenuHeaderTemplateDirective, PoMenuModule, PoMenuPanelComponent, PoMenuPanelModule, PoModalComponent, PoModalFooterComponent, PoModalModule, PoModule, PoMultiselectComponent, PoMultiselectFilterMode, PoMultiselectOptionTemplateDirective, PoNavbarComponent, PoNavbarModule, PoNotificationModule, PoNotificationService, PoNumberComponent, PoOverlayComponent, PoOverlayModule, PoPageActionsLayout, PoPageDefaultComponent, PoPageDetailComponent, PoPageEditComponent, PoPageHeaderType, PoPageListComponent, PoPageModule, PoPageSlideComponent, PoPageSlideFooterComponent, PoPageSlideModule, PoPasswordComponent, PoPipesModule, PoPopoverComponent, PoPopoverModule, PoPopupComponent, PoPopupModule, PoProgressComponent, PoProgressModule, PoProgressShape, PoProgressSize, PoProgressStatus, PoRadioComponent, PoRadioGroupComponent, PoRadioGroupModule, PoRadioModule, PoRichTextComponent, PoRichTextToolbarActions, PoSearchComponent, PoSearchFilterMode, PoSearchListComponent, PoSearchModule, PoSelectComponent, PoServicesModule, PoSkeletonAnimation, PoSkeletonComponent, PoSkeletonModule, PoSkeletonSize, PoSkeletonType, PoSkeletonVariant, PoSlideComponent, PoSlideContentTemplateDirective, PoSlideModule, PoStepComponent, PoStepperComponent, PoStepperModule, PoStepperOrientation, PoStepperStatus, PoSwitchComponent, PoSwitchLabelPosition, PoSwitchModule, PoTabButtonComponent, PoTabComponent, PoTabDropdownComponent, PoTableCellTemplateDirective, PoTableColumnFrozenDirective, PoTableColumnSortType, PoTableColumnSpacing, PoTableColumnTemplateDirective, PoTableComponent, PoTableModule, PoTableRowTemplateArrowDirection, PoTableRowTemplateDirective, PoTabsComponent, PoTabsModule, PoTabsService, PoTagComponent, PoTagModule, PoTagOrientation, PoTagType, PoTextareaComponent, PoThemeA11yEnum, PoThemeModule, PoThemeService, PoThemeTypeEnum, PoTimeModule, PoTimePipe, PoTimepickerComponent, PoTimepickerModelFormat, PoTimepickerModule, PoTimerBaseComponent, PoTimerComponent, PoTimerFormat, PoTimerModule, PoToasterComponent, PoToasterMode, PoToasterModule, PoToasterOrientation, PoToasterType, PoToolbarComponent, PoToolbarModule, PoTooltipDirective, PoTooltipModule, PoTreeViewComponent, PoTreeViewModule, PoUploadComponent, PoUploadFile, PoUploadStatus, PoUrlComponent, PoWidgetComponent, PoWidgetModule, initializeLanguageDefault, mergePoI18nConfigs, poBreadcrumbLiterals, poChartLiteralsDefault, poDialogAlertLiteralsDefault, poDialogConfirmLiteralsDefault, poLanguageDefault, poLocaleDateSeparatorList, poLocaleDecimalSeparatorList, poLocaleDefault, poLocaleThousandSeparatorList, poLocales, poPageSlideLiteralsDefault, poTabsLiterals, poThemeDefault, poThemeDefaultAA, poThemeDefaultAAA, poThemeDefaultActions, poThemeDefaultActionsDark, poThemeDefaultBrands, poThemeDefaultBrandsDark, poThemeDefaultCategoricals, poThemeDefaultCategoricalsAA, poThemeDefaultCategoricalsDark, poThemeDefaultCategoricalsDarkAA, poThemeDefaultCategoricalsOverlayDark, poThemeDefaultCategoricalsOverlayDarkAA, poThemeDefaultDark, poThemeDefaultDarkValues, poThemeDefaultDarkValuesAA, poThemeDefaultFeedback, poThemeDefaultFeedbackDark, poThemeDefaultLight, poThemeDefaultLightValues, poThemeDefaultLightValuesAA, poThemeDefaultNeutrals, poThemeDefaultNeutralsDark, poThemeDefaultOverlayCategoricals, poThemeDefaultOverlayCategoricalsAA, poToasterLiterals, returnPoI18nService };
36834
37159
  export type { ErrorAsyncProperties, PoAccordionLiterals, PoBreadcrumb, PoBreadcrumbItem, PoButtonGroupItem, PoCalendarRangePreset, PoChartAxisOptions, PoChartDataLabel, PoChartHeaderOptions, PoChartLiterals, PoChartOptions, PoChartSerie, PoCheckboxGroupOption, PoComboFilter, PoComboLiterals, PoComboOption, PoComboOptionGroup, PoContextMenuItem, PoDateSeparator, PoDatepickerRange, PoDatepickerRangeLiterals, PoDialogAlertLiterals, PoDialogAlertOptions, PoDialogConfirmLiterals, PoDialogConfirmOptions, PoDialogOptions, PoDisclaimer, PoDisclaimerGroup, PoDisclaimerGroupRemoveAction, PoDropdownAction, PoDynamicFormField, PoDynamicFormFieldChanged, PoDynamicFormFieldValidation, PoDynamicFormLoad, PoDynamicFormValidation, PoDynamicViewField, PoDynamicViewRequest, PoGaugeOptions, PoGaugeRanges, PoGridRowActions, PoHeaderActionPopoverAction, PoHeaderActionTool, PoHeaderActionToolItem, PoHeaderActions, PoHeaderBrand, PoHeaderLiterals, PoHeaderUser, PoHelperOptions, PoI18nConfig, PoI18nConfigContext, PoI18nConfigDefault, PoI18nLiterals, PoLanguage, PoListViewAction, PoListViewLiterals, PoLookupColumn, PoLookupFilter, PoLookupFilteredItemsParams, PoLookupLiterals, PoLookupResponseApi, PoMediaQueryTokens, PoMenuFilter, PoMenuItem, PoMenuItemBadge, PoMenuItemFiltered, PoMenuPanelItem, PoModalAction, PoMultiselectFilter, PoMultiselectLiterals, PoMultiselectOption, PoNavbarIconAction, PoNavbarItem, PoNotification, PoNumberSeparator, PoPage, PoPageAction, PoPageDefault, PoPageDefaultLiterals, PoPageDetailLiterals, PoPageEditLiterals, PoPageFilter, PoPageListLiterals, PoPopupAction, PoProgressAction, PoRadioGroupOption, PoResponseApi, PoRichTextToolbarButtonGroupItem, PoSearchFilterSelect, PoSearchLiterals, PoSearchOption, PoSelectOption, PoSelectOptionGroup, PoSlideItem, PoStepperItem, PoTab, PoTableAction, PoTableBoolean, PoTableColumn, PoTableColumnIcon, PoTableColumnLabel, PoTableColumnSort, PoTableDetail, PoTableDetailColumn, PoTableLiterals, PoTableSubtitleColumn, PoTagLiterals, PoTheme, PoThemeActive, PoThemeColor, PoThemeColorAction, PoThemeColorCategorical, PoThemeColorFeedback, PoThemeColorNeutral, PoThemeToken, PoThemeTokens, PoThemeType, PoToaster, PoToolbarAction, PoToolbarProfile, PoTreeViewItem, PoUploadFileRestrictions, PoUploadLiterals, PoWidgetAvatar, PoWidgetLiterals, poThemeColorBrand };