@po-ui/ng-components 21.8.0 → 21.9.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.
- package/fesm2022/po-ui-ng-components.mjs +4720 -351
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/po-button/po-button-base.component.d.ts +10 -0
- package/lib/components/po-calendar/constants/po-calendar-range-presets.constant.d.ts +2 -0
- package/lib/components/po-calendar/index.d.ts +2 -0
- package/lib/components/po-calendar/interfaces/po-calendar-range-preset.interface.d.ts +16 -0
- package/lib/components/po-calendar/po-calendar-base.component.d.ts +54 -0
- package/lib/components/po-calendar/po-calendar-footer/po-calendar-footer.component.d.ts +16 -0
- package/lib/components/po-calendar/po-calendar-preset-list/po-calendar-preset-list.component.d.ts +28 -0
- package/lib/components/po-calendar/po-calendar-wrapper/po-calendar-wrapper.component.d.ts +9 -3
- package/lib/components/po-calendar/po-calendar.component.d.ts +28 -3
- package/lib/components/po-calendar/services/po-calendar.lang.service.d.ts +2 -0
- package/lib/components/po-dynamic/po-dynamic-form/interfaces/po-dynamic-form-field.interface.d.ts +58 -7
- package/lib/components/po-field/index.d.ts +3 -0
- package/lib/components/po-field/po-datepicker-range/po-datepicker-range-base.component.d.ts +54 -0
- package/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.d.ts +18 -0
- package/lib/components/po-field/po-textarea/po-textarea.component.d.ts +2 -1
- package/lib/components/po-field/po-timepicker/enums/po-timepicker-iso-format.enum.d.ts +13 -0
- package/lib/components/po-field/po-timepicker/index.d.ts +3 -0
- package/lib/components/po-field/po-timepicker/po-timepicker-base.component.d.ts +374 -0
- package/lib/components/po-field/po-timepicker/po-timepicker.component.d.ts +206 -0
- package/lib/components/po-field/po-timepicker/po-timepicker.literals.d.ts +46 -0
- package/lib/components/po-field/po-timepicker/po-timepicker.module.d.ts +7 -0
- package/lib/components/po-search/po-search.component.d.ts +0 -1
- package/lib/components/po-timer/enums/po-timer-format.enum.d.ts +13 -0
- package/lib/components/po-timer/index.d.ts +4 -0
- package/lib/components/po-timer/po-timer-base.component.d.ts +255 -0
- package/lib/components/po-timer/po-timer-scroll.helper.d.ts +40 -0
- package/lib/components/po-timer/po-timer.component.d.ts +208 -0
- package/lib/components/po-timer/po-timer.literals.d.ts +22 -0
- package/lib/components/po-timer/po-timer.module.d.ts +6 -0
- package/package.json +4 -4
- package/po-ui-ng-components-21.9.0.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-update/v14/index.js +1 -1
- package/schematics/ng-update/v15/index.js +1 -1
- package/schematics/ng-update/v16/index.js +1 -1
- package/schematics/ng-update/v17/index.js +1 -1
- package/schematics/ng-update/v18/index.js +2 -2
- package/schematics/ng-update/v19/index.js +2 -2
- package/schematics/ng-update/v2/index.js +1 -1
- package/schematics/ng-update/v20/index.js +2 -2
- package/schematics/ng-update/v21/index.js +1 -1
- package/schematics/ng-update/v3/index.js +1 -1
- package/schematics/ng-update/v4/index.js +1 -1
- package/schematics/ng-update/v5/index.js +1 -1
- package/schematics/ng-update/v6/index.js +1 -1
- package/types/po-ui-ng-components.d.ts +1533 -164
- package/po-ui-ng-components-21.8.0.tgz +0 -0
|
@@ -2885,6 +2885,16 @@ declare class PoButtonBaseComponent {
|
|
|
2885
2885
|
*/
|
|
2886
2886
|
readonly ariaLabel: i0.InputSignal<string>;
|
|
2887
2887
|
ariaExpanded?: boolean;
|
|
2888
|
+
/**
|
|
2889
|
+
* @optional
|
|
2890
|
+
*
|
|
2891
|
+
* @description
|
|
2892
|
+
*
|
|
2893
|
+
* Define o `tabindex` do elemento `<button>` nativo interno.
|
|
2894
|
+
*
|
|
2895
|
+
* Use `[tabindex]="-1"` para remover o botão da ordem de foco do teclado.
|
|
2896
|
+
*/
|
|
2897
|
+
tabindex?: number | string;
|
|
2888
2898
|
/**
|
|
2889
2899
|
* @optional
|
|
2890
2900
|
*
|
|
@@ -2905,7 +2915,7 @@ declare class PoButtonBaseComponent {
|
|
|
2905
2915
|
protected onThemeChange(): void;
|
|
2906
2916
|
private applySizeBasedOnA11y;
|
|
2907
2917
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoButtonBaseComponent, never>;
|
|
2908
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PoButtonBaseComponent, "po-button-base", never, { "label": { "alias": "p-label"; "required": false; "isSignal": true; }; "icon": { "alias": "p-icon"; "required": false; "isSignal": true; }; "type": { "alias": "p-type"; "required": false; "isSignal": true; }; "loading": { "alias": "p-loading"; "required": false; }; "danger": { "alias": "p-danger"; "required": false; }; "kind": { "alias": "p-kind"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "ariaLabel": { "alias": "p-aria-label"; "required": false; "isSignal": true; }; "ariaExpanded": { "alias": "p-aria-expanded"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; }, { "blur": "p-blur"; "click": "p-click"; }, never, never, false, never>;
|
|
2918
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoButtonBaseComponent, "po-button-base", never, { "label": { "alias": "p-label"; "required": false; "isSignal": true; }; "icon": { "alias": "p-icon"; "required": false; "isSignal": true; }; "type": { "alias": "p-type"; "required": false; "isSignal": true; }; "loading": { "alias": "p-loading"; "required": false; }; "danger": { "alias": "p-danger"; "required": false; }; "kind": { "alias": "p-kind"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "ariaLabel": { "alias": "p-aria-label"; "required": false; "isSignal": true; }; "ariaExpanded": { "alias": "p-aria-expanded"; "required": false; }; "tabindex": { "alias": "p-tabindex"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; }, { "blur": "p-blur"; "click": "p-click"; }, never, never, false, never>;
|
|
2909
2919
|
static ngAcceptInputType_danger: any;
|
|
2910
2920
|
}
|
|
2911
2921
|
|
|
@@ -4710,6 +4720,23 @@ declare enum PoCalendarMode {
|
|
|
4710
4720
|
Range = "range"
|
|
4711
4721
|
}
|
|
4712
4722
|
|
|
4723
|
+
/**
|
|
4724
|
+
* Interface para definir um preset de intervalo de datas no calendário.
|
|
4725
|
+
*
|
|
4726
|
+
* Cada preset possui um rótulo identificador e uma função que calcula
|
|
4727
|
+
* dinamicamente o intervalo de datas com base na data atual.
|
|
4728
|
+
*/
|
|
4729
|
+
interface PoCalendarRangePreset {
|
|
4730
|
+
/** Identificador/rótulo de exibição do preset. */
|
|
4731
|
+
label: string;
|
|
4732
|
+
/** Função que calcula dinamicamente o intervalo de datas relativo à data informada. */
|
|
4733
|
+
dateRange: (today: Date) => {
|
|
4734
|
+
start: Date;
|
|
4735
|
+
end: Date;
|
|
4736
|
+
};
|
|
4737
|
+
isDisabled?: boolean;
|
|
4738
|
+
}
|
|
4739
|
+
|
|
4713
4740
|
/**
|
|
4714
4741
|
* @description
|
|
4715
4742
|
*
|
|
@@ -4826,6 +4853,7 @@ declare class PoCalendarBaseComponent {
|
|
|
4826
4853
|
changeMonthYear: EventEmitter<any>;
|
|
4827
4854
|
close: EventEmitter<void>;
|
|
4828
4855
|
activateDate: any;
|
|
4856
|
+
selectedPresetLabel: string | null;
|
|
4829
4857
|
value: any;
|
|
4830
4858
|
protected onTouched: any;
|
|
4831
4859
|
protected propagateChange: any;
|
|
@@ -4914,6 +4942,57 @@ declare class PoCalendarBaseComponent {
|
|
|
4914
4942
|
get mode(): PoCalendarMode;
|
|
4915
4943
|
get isRange(): boolean;
|
|
4916
4944
|
headerTemplate?: TemplateRef<any>;
|
|
4945
|
+
/**
|
|
4946
|
+
* @optional
|
|
4947
|
+
*
|
|
4948
|
+
* @description
|
|
4949
|
+
*
|
|
4950
|
+
* Habilita a exibição dos presets padrão de intervalos de data no painel lateral do calendário em modo *range*.
|
|
4951
|
+
*
|
|
4952
|
+
* Aceita os seguintes valores:
|
|
4953
|
+
* - `true`: exibe todos os presets padrão (Amanhã, Hoje, Ontem, Últimos 7 dias, Últimos 14 dias, Últimos 30 dias, Últimos 3 meses, Últimos 6 meses).
|
|
4954
|
+
* - `false`: não exibe os presets padrão.
|
|
4955
|
+
* - `Array<string>`: exibe apenas os presets padrão cujos labels estejam no array informado.
|
|
4956
|
+
* O preset "today" é obrigatório e será incluído automaticamente mesmo que não esteja no array.
|
|
4957
|
+
*
|
|
4958
|
+
* Caso `p-range-preset-options` também seja informado, os presets customizados serão exibidos junto aos presets padrão,
|
|
4959
|
+
* ordenados automaticamente por temporalidade com base na data início (Futuro → Presente → Passado).
|
|
4960
|
+
*
|
|
4961
|
+
* @default `false`
|
|
4962
|
+
*/
|
|
4963
|
+
set rangePresets(value: boolean | Array<string> | string);
|
|
4964
|
+
get rangePresets(): boolean | Array<string>;
|
|
4965
|
+
private _rangePresets;
|
|
4966
|
+
/**
|
|
4967
|
+
* @optional
|
|
4968
|
+
*
|
|
4969
|
+
* @description
|
|
4970
|
+
*
|
|
4971
|
+
* Lista de presets customizados de intervalos de data exibidos no painel lateral do calendário em modo *range*.
|
|
4972
|
+
*
|
|
4973
|
+
* Quando informado sem `p-range-presets`, exibe apenas os presets customizados.
|
|
4974
|
+
* Quando informado junto com `p-range-presets` habilitado, os presets customizados serão exibidos junto aos presets padrão,
|
|
4975
|
+
* ordenados automaticamente por temporalidade com base na data início (Futuro → Presente → Passado).
|
|
4976
|
+
*
|
|
4977
|
+
* Para utilizar presets customizados, informe um array de objetos que implementam a interface `PoCalendarRangePreset`.
|
|
4978
|
+
*/
|
|
4979
|
+
rangePresetOptions?: Array<PoCalendarRangePreset>;
|
|
4980
|
+
/**
|
|
4981
|
+
* @optional
|
|
4982
|
+
*
|
|
4983
|
+
* @description
|
|
4984
|
+
*
|
|
4985
|
+
* Define a ordenação dos presets na lista.
|
|
4986
|
+
*
|
|
4987
|
+
* Valores aceitos:
|
|
4988
|
+
* - `'asc'` (padrão): presets mais próximos de hoje aparecem primeiro.
|
|
4989
|
+
* - `'desc'`: presets mais distantes de hoje aparecem primeiro.
|
|
4990
|
+
*
|
|
4991
|
+
* A ordenação é aplicada dentro de cada grupo de temporalidade com base na data início (Futuro → Presente → Passado).
|
|
4992
|
+
*
|
|
4993
|
+
* @default `asc`
|
|
4994
|
+
*/
|
|
4995
|
+
rangePresetsOrder: 'asc' | 'desc';
|
|
4917
4996
|
/**
|
|
4918
4997
|
* @optional
|
|
4919
4998
|
*
|
|
@@ -4928,13 +5007,14 @@ declare class PoCalendarBaseComponent {
|
|
|
4928
5007
|
*/
|
|
4929
5008
|
set size(value: string);
|
|
4930
5009
|
get size(): string;
|
|
5010
|
+
widthWithPresets?: boolean;
|
|
4931
5011
|
constructor(poDate: PoDateService, languageService: PoLanguageService);
|
|
4932
5012
|
protected onThemeChange(): void;
|
|
4933
5013
|
protected setActivateDate(date?: Date | string): void;
|
|
4934
5014
|
private verifyActivateDate;
|
|
4935
5015
|
private applySizeBasedOnA11y;
|
|
4936
5016
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoCalendarBaseComponent, never>;
|
|
4937
|
-
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; }; "size": { "alias": "p-size"; "required": false; }; }, { "change": "p-change"; "changeMonthYear": "p-change-month-year"; "close": "p-close"; }, never, never, true, never>;
|
|
5017
|
+
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>;
|
|
4938
5018
|
}
|
|
4939
5019
|
|
|
4940
5020
|
/**
|
|
@@ -4947,6 +5027,11 @@ declare class PoCalendarBaseComponent {
|
|
|
4947
5027
|
* <file name="sample-po-calendar-basic/sample-po-calendar-basic.component.ts"> </file>
|
|
4948
5028
|
* </example>
|
|
4949
5029
|
*
|
|
5030
|
+
* <example name="po-calendar-range-presets" title="PO Calendar - Range and Presets" >
|
|
5031
|
+
* <file name="sample-po-calendar-range-presets/sample-po-calendar-range-presets.component.html"> </file>
|
|
5032
|
+
* <file name="sample-po-calendar-range-presets/sample-po-calendar-range-presets.component.ts"> </file>
|
|
5033
|
+
* </example>
|
|
5034
|
+
*
|
|
4950
5035
|
* <example name="po-calendar-labs" title="PO Calendar Labs" >
|
|
4951
5036
|
* <file name="sample-po-calendar-labs/sample-po-calendar-labs.component.html"> </file>
|
|
4952
5037
|
* <file name="sample-po-calendar-labs/sample-po-calendar-labs.component.ts"> </file>
|
|
@@ -4957,13 +5042,23 @@ declare class PoCalendarBaseComponent {
|
|
|
4957
5042
|
* <file name="sample-po-calendar-ticket-sales/sample-po-calendar-ticket-sales.component.ts"> </file>
|
|
4958
5043
|
* </example>
|
|
4959
5044
|
*/
|
|
4960
|
-
declare class PoCalendarComponent extends PoCalendarBaseComponent implements OnInit, OnChanges {
|
|
5045
|
+
declare class PoCalendarComponent extends PoCalendarBaseComponent implements OnInit, OnChanges, DoCheck {
|
|
4961
5046
|
private readonly changeDetector;
|
|
5047
|
+
private readonly poCalendarLangService;
|
|
4962
5048
|
hoverValue: Date;
|
|
5049
|
+
displayToClean: string;
|
|
5050
|
+
private readonly _isRange;
|
|
5051
|
+
private readonly _rangePresetsValue;
|
|
5052
|
+
private readonly _rangePresetOptionsValue;
|
|
5053
|
+
private readonly _rangePresetsOrderValue;
|
|
5054
|
+
private readonly _minDateValue;
|
|
5055
|
+
private readonly _maxDateValue;
|
|
5056
|
+
readonly effectivePresets: i0.Signal<PoCalendarRangePreset[]>;
|
|
4963
5057
|
constructor();
|
|
4964
|
-
get isResponsive():
|
|
5058
|
+
get isResponsive(): RegExpMatchArray;
|
|
4965
5059
|
ngOnInit(): void;
|
|
4966
5060
|
ngOnChanges(changes: SimpleChanges): void;
|
|
5061
|
+
ngDoCheck(): void;
|
|
4967
5062
|
getActivateDate(partType: any): any;
|
|
4968
5063
|
getValue(partType: any): any;
|
|
4969
5064
|
onSelectDate(selectedDate: any, partType?: any): void;
|
|
@@ -4979,6 +5074,15 @@ declare class PoCalendarComponent extends PoCalendarBaseComponent implements OnI
|
|
|
4979
5074
|
[key: string]: any;
|
|
4980
5075
|
};
|
|
4981
5076
|
writeValue(value: any): void;
|
|
5077
|
+
onPresetSelected(event: {
|
|
5078
|
+
label: string;
|
|
5079
|
+
start: Date;
|
|
5080
|
+
end: Date;
|
|
5081
|
+
}): void;
|
|
5082
|
+
private sortPresetsByTemporality;
|
|
5083
|
+
private normalizeDate;
|
|
5084
|
+
private enrichPresetsWithDisabledState;
|
|
5085
|
+
private clampDate;
|
|
4982
5086
|
private getValidateStartDate;
|
|
4983
5087
|
private getValueFromSelectedDate;
|
|
4984
5088
|
private updateActivateDateFromHeaderChange;
|
|
@@ -4991,6 +5095,24 @@ declare class PoCalendarComponent extends PoCalendarBaseComponent implements OnI
|
|
|
4991
5095
|
static ɵcmp: i0.ɵɵComponentDeclaration<PoCalendarComponent, "po-calendar", never, {}, {}, never, never, false, never>;
|
|
4992
5096
|
}
|
|
4993
5097
|
|
|
5098
|
+
declare class PoCalendarFooterComponent {
|
|
5099
|
+
size: string;
|
|
5100
|
+
labelClear: string;
|
|
5101
|
+
labelToday: string;
|
|
5102
|
+
responsive: boolean;
|
|
5103
|
+
todayDisabled: boolean;
|
|
5104
|
+
hideTodayButton: boolean;
|
|
5105
|
+
clear: EventEmitter<void>;
|
|
5106
|
+
selectToday: EventEmitter<void>;
|
|
5107
|
+
closeCalendar: EventEmitter<void>;
|
|
5108
|
+
onClear(): void;
|
|
5109
|
+
onSelectToday(): void;
|
|
5110
|
+
onClearKeydown(event: KeyboardEvent): void;
|
|
5111
|
+
onTodayKeydown(event: KeyboardEvent): void;
|
|
5112
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PoCalendarFooterComponent, never>;
|
|
5113
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoCalendarFooterComponent, "po-calendar-footer", never, { "size": { "alias": "p-size"; "required": false; }; "labelClear": { "alias": "p-label-clear"; "required": false; }; "labelToday": { "alias": "p-label-today"; "required": false; }; "responsive": { "alias": "p-responsive"; "required": false; }; "todayDisabled": { "alias": "p-today-disabled"; "required": false; }; "hideTodayButton": { "alias": "p-hide-today-button"; "required": false; }; }, { "clear": "p-clear"; "selectToday": "p-select-today"; "closeCalendar": "p-close-calendar"; }, never, never, false, never>;
|
|
5114
|
+
}
|
|
5115
|
+
|
|
4994
5116
|
/**
|
|
4995
5117
|
* @usedBy PoComboComponent
|
|
4996
5118
|
*
|
|
@@ -5028,6 +5150,7 @@ declare class PoCalendarLangService {
|
|
|
5028
5150
|
es: string;
|
|
5029
5151
|
ru: string;
|
|
5030
5152
|
};
|
|
5153
|
+
private readonly presetLabels;
|
|
5031
5154
|
getMonth(month: number): any;
|
|
5032
5155
|
getMonthLabel(): any;
|
|
5033
5156
|
getMonthsArray(): any[];
|
|
@@ -5038,6 +5161,7 @@ declare class PoCalendarLangService {
|
|
|
5038
5161
|
getPreviousMonthLabel(): any;
|
|
5039
5162
|
getNextMonthLabel(): any;
|
|
5040
5163
|
getToCleanLabel(): any;
|
|
5164
|
+
getPresetLabel(key: string): string;
|
|
5041
5165
|
setLanguage(language: string): void;
|
|
5042
5166
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoCalendarLangService, never>;
|
|
5043
5167
|
static ɵprov: i0.ɵɵInjectableDeclaration<PoCalendarLangService>;
|
|
@@ -5072,6 +5196,35 @@ declare class PoCalendarHeaderComponent implements OnInit, OnChanges {
|
|
|
5072
5196
|
static ɵcmp: i0.ɵɵComponentDeclaration<PoCalendarHeaderComponent, "po-calendar-header", never, { "hidePrevious": { "alias": "p-hide-previous"; "required": false; }; "hideNext": { "alias": "p-hide-next"; "required": false; }; "displayMonth": { "alias": "p-display-month"; "required": false; }; "displayYear": { "alias": "p-display-year"; "required": false; }; "displayMonthLabel": { "alias": "p-display-month-label"; "required": false; }; "monthOptions": { "alias": "p-month-options"; "required": false; }; "headerTemplate": { "alias": "p-header-template"; "required": false; }; "templateContext": { "alias": "p-template-context"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "locale": { "alias": "p-locale"; "required": false; }; }, { "previous": "p-previous"; "next": "p-next"; "selectMonth": "p-select-month"; "selectYear": "p-select-year"; }, never, never, false, never>;
|
|
5073
5197
|
}
|
|
5074
5198
|
|
|
5199
|
+
declare class PoCalendarPresetListComponent {
|
|
5200
|
+
private readonly poCalendarLangService;
|
|
5201
|
+
private _locale;
|
|
5202
|
+
size: string;
|
|
5203
|
+
presets: Array<PoCalendarRangePreset>;
|
|
5204
|
+
selectedPreset: string | null;
|
|
5205
|
+
responsive: boolean;
|
|
5206
|
+
set locale(value: string);
|
|
5207
|
+
get locale(): string;
|
|
5208
|
+
closeCalendar: EventEmitter<void>;
|
|
5209
|
+
selectPreset: EventEmitter<{
|
|
5210
|
+
label: string;
|
|
5211
|
+
start: Date;
|
|
5212
|
+
end: Date;
|
|
5213
|
+
}>;
|
|
5214
|
+
presetButtons: QueryList<HTMLButtonElement>;
|
|
5215
|
+
focusedIndex: number;
|
|
5216
|
+
getDisplayLabel(preset: PoCalendarRangePreset): string;
|
|
5217
|
+
isSelected(preset: PoCalendarRangePreset): boolean;
|
|
5218
|
+
onKeydown(event: KeyboardEvent, index: number): void;
|
|
5219
|
+
resetFocusToFirst(): void;
|
|
5220
|
+
isPresetDisabled(preset: PoCalendarRangePreset): boolean;
|
|
5221
|
+
onPresetClick(preset: PoCalendarRangePreset): void;
|
|
5222
|
+
private focusPreset;
|
|
5223
|
+
private getPresetButtons;
|
|
5224
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PoCalendarPresetListComponent, never>;
|
|
5225
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoCalendarPresetListComponent, "po-calendar-preset-list", never, { "size": { "alias": "p-size"; "required": false; }; "presets": { "alias": "p-presets"; "required": false; }; "selectedPreset": { "alias": "p-selected-preset"; "required": false; }; "responsive": { "alias": "p-responsive"; "required": false; }; "locale": { "alias": "p-locale"; "required": false; }; }, { "closeCalendar": "p-close-calendar"; "selectPreset": "p-select-preset"; }, never, never, false, never>;
|
|
5226
|
+
}
|
|
5227
|
+
|
|
5075
5228
|
declare class PoCalendarWrapperComponent implements OnInit, OnChanges {
|
|
5076
5229
|
private readonly poCalendarService;
|
|
5077
5230
|
private readonly poCalendarLangService;
|
|
@@ -5089,6 +5242,8 @@ declare class PoCalendarWrapperComponent implements OnInit, OnChanges {
|
|
|
5089
5242
|
maxDate: any;
|
|
5090
5243
|
hoverValue: Date;
|
|
5091
5244
|
size: string;
|
|
5245
|
+
hideTodayButton: boolean;
|
|
5246
|
+
hasPresets: boolean;
|
|
5092
5247
|
headerTemplate?: TemplateRef<any>;
|
|
5093
5248
|
private _locale;
|
|
5094
5249
|
set locale(value: string);
|
|
@@ -5144,6 +5299,12 @@ declare class PoCalendarWrapperComponent implements OnInit, OnChanges {
|
|
|
5144
5299
|
private updateTemplateContext;
|
|
5145
5300
|
updateDate(year: number, month: number, comboComponent?: any): void;
|
|
5146
5301
|
onComboBlur(comboComponent?: any): void;
|
|
5302
|
+
private handleComboBlur;
|
|
5303
|
+
private syncInputValue;
|
|
5304
|
+
private applySelectedValue;
|
|
5305
|
+
private ensureValidDisplay;
|
|
5306
|
+
private isMonthInvalid;
|
|
5307
|
+
private isYearInvalid;
|
|
5147
5308
|
private updateDisplay;
|
|
5148
5309
|
private setInitialFocusedDay;
|
|
5149
5310
|
private ensureValidFocusedDay;
|
|
@@ -5158,11 +5319,9 @@ declare class PoCalendarWrapperComponent implements OnInit, OnChanges {
|
|
|
5158
5319
|
onMouseEnter(day: any): void;
|
|
5159
5320
|
onMouseLeave(): void;
|
|
5160
5321
|
onSelectToday(): void;
|
|
5161
|
-
|
|
5322
|
+
onFooterCloseCalendar(): void;
|
|
5162
5323
|
onHostKeydown(event: KeyboardEvent): void;
|
|
5163
5324
|
private restoreOriginalDisplay;
|
|
5164
|
-
onTodayKeydownEnter(event: KeyboardEvent): void;
|
|
5165
|
-
onTodayKeydownSpace(event: KeyboardEvent): void;
|
|
5166
5325
|
onDayKeydown(event: KeyboardEvent, day: Date, index: number): void;
|
|
5167
5326
|
private isSelectionKey;
|
|
5168
5327
|
private handleSelectKey;
|
|
@@ -5203,7 +5362,7 @@ declare class PoCalendarWrapperComponent implements OnInit, OnChanges {
|
|
|
5203
5362
|
trackByDay(index: number, day: Date): string;
|
|
5204
5363
|
trackByWeekDay(index: number, weekDay: string): string;
|
|
5205
5364
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoCalendarWrapperComponent, never>;
|
|
5206
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PoCalendarWrapperComponent, "po-calendar-wrapper", never, { "value": { "alias": "p-value"; "required": false; }; "mode": { "alias": "p-mode"; "required": false; }; "responsive": { "alias": "p-responsive"; "required": false; }; "partType": { "alias": "p-part-type"; "required": false; }; "range": { "alias": "p-range"; "required": false; }; "activateDate": { "alias": "p-activate-date"; "required": false; }; "selectedValue": { "alias": "p-selected-value"; "required": false; }; "minDate": { "alias": "p-min-date"; "required": false; }; "maxDate": { "alias": "p-max-date"; "required": false; }; "hoverValue": { "alias": "p-hover-value"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "headerTemplate": { "alias": "p-header-template"; "required": false; }; "locale": { "alias": "p-locale"; "required": false; }; }, { "headerChange": "p-header-change"; "selectDate": "p-select-date"; "hoverDate": "p-hover-date"; "closeCalendar": "p-close-calendar"; }, never, never, false, never>;
|
|
5365
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoCalendarWrapperComponent, "po-calendar-wrapper", never, { "value": { "alias": "p-value"; "required": false; }; "mode": { "alias": "p-mode"; "required": false; }; "responsive": { "alias": "p-responsive"; "required": false; }; "partType": { "alias": "p-part-type"; "required": false; }; "range": { "alias": "p-range"; "required": false; }; "activateDate": { "alias": "p-activate-date"; "required": false; }; "selectedValue": { "alias": "p-selected-value"; "required": false; }; "minDate": { "alias": "p-min-date"; "required": false; }; "maxDate": { "alias": "p-max-date"; "required": false; }; "hoverValue": { "alias": "p-hover-value"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "hideTodayButton": { "alias": "p-hide-today-button"; "required": false; }; "hasPresets": { "alias": "p-presets"; "required": false; }; "headerTemplate": { "alias": "p-header-template"; "required": false; }; "locale": { "alias": "p-locale"; "required": false; }; }, { "headerChange": "p-header-change"; "selectDate": "p-select-date"; "hoverDate": "p-hover-date"; "closeCalendar": "p-close-calendar"; }, never, never, false, never>;
|
|
5207
5366
|
}
|
|
5208
5367
|
|
|
5209
5368
|
/**
|
|
@@ -6371,7 +6530,7 @@ declare class PoComboModule {
|
|
|
6371
6530
|
*/
|
|
6372
6531
|
declare class PoCalendarModule {
|
|
6373
6532
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoCalendarModule, never>;
|
|
6374
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PoCalendarModule, [typeof PoCalendarComponent, typeof PoCalendarHeaderComponent, typeof PoCalendarWrapperComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof PoIconModule, typeof PoComboModule, typeof PoButtonModule], [typeof PoCalendarComponent]>;
|
|
6533
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PoCalendarModule, [typeof PoCalendarComponent, typeof PoCalendarFooterComponent, typeof PoCalendarHeaderComponent, typeof PoCalendarPresetListComponent, typeof PoCalendarWrapperComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof PoIconModule, typeof PoComboModule, typeof PoButtonModule], [typeof PoCalendarComponent]>;
|
|
6375
6534
|
static ɵinj: i0.ɵɵInjectorDeclaration<PoCalendarModule>;
|
|
6376
6535
|
}
|
|
6377
6536
|
|
|
@@ -11889,7 +12048,6 @@ declare class PoSearchBaseComponent {
|
|
|
11889
12048
|
* <example name="po-search-labs" title="PO Search Labs">
|
|
11890
12049
|
* <file name="sample-po-search-labs/sample-po-search-labs.component.html"> </file>
|
|
11891
12050
|
* <file name="sample-po-search-labs/sample-po-search-labs.component.ts"> </file>
|
|
11892
|
-
* <file name="sample-po-search-labs/sample-po-search-labs.service.ts"> </file>
|
|
11893
12051
|
* </example>
|
|
11894
12052
|
*
|
|
11895
12053
|
* <example name="po-search-find-people" title="PO Search Find People">
|
|
@@ -14138,18 +14296,1013 @@ declare abstract class PoDatepickerBaseComponent implements ControlValueAccessor
|
|
|
14138
14296
|
protected shortLanguage: string;
|
|
14139
14297
|
protected isInvalid: boolean;
|
|
14140
14298
|
protected hasValidatorRequired: boolean;
|
|
14141
|
-
private _format?;
|
|
14142
|
-
private _isoFormat;
|
|
14143
|
-
private _maxDate;
|
|
14144
|
-
private _minDate;
|
|
14299
|
+
private _format?;
|
|
14300
|
+
private _isoFormat;
|
|
14301
|
+
private _maxDate;
|
|
14302
|
+
private _minDate;
|
|
14303
|
+
private _noAutocomplete?;
|
|
14304
|
+
private _placeholder?;
|
|
14305
|
+
private _loading?;
|
|
14306
|
+
private previousValue;
|
|
14307
|
+
private _size?;
|
|
14308
|
+
private _initialSize?;
|
|
14309
|
+
private subscription;
|
|
14310
|
+
private _date;
|
|
14311
|
+
/**
|
|
14312
|
+
* @optional
|
|
14313
|
+
*
|
|
14314
|
+
* @description
|
|
14315
|
+
*
|
|
14316
|
+
* Define a propriedade nativa `autocomplete` do campo como `off`.
|
|
14317
|
+
*
|
|
14318
|
+
* @default `false`
|
|
14319
|
+
*/
|
|
14320
|
+
set noAutocomplete(value: boolean);
|
|
14321
|
+
get noAutocomplete(): boolean;
|
|
14322
|
+
/**
|
|
14323
|
+
* @optional
|
|
14324
|
+
*
|
|
14325
|
+
* @description
|
|
14326
|
+
*
|
|
14327
|
+
* Mensagem que aparecerá enquanto o campo não estiver preenchido.
|
|
14328
|
+
*/
|
|
14329
|
+
set placeholder(placeholder: string);
|
|
14330
|
+
get placeholder(): string;
|
|
14331
|
+
/** Desabilita o campo. */
|
|
14332
|
+
disabled?: boolean;
|
|
14333
|
+
set setDisabled(disabled: string);
|
|
14334
|
+
/** Torna o elemento somente leitura. */
|
|
14335
|
+
readonly?: boolean;
|
|
14336
|
+
set setReadonly(readonly: string);
|
|
14337
|
+
/**
|
|
14338
|
+
* @optional
|
|
14339
|
+
*
|
|
14340
|
+
* @description
|
|
14341
|
+
*
|
|
14342
|
+
* Define que o campo será obrigatório.
|
|
14343
|
+
*
|
|
14344
|
+
* @default `false`
|
|
14345
|
+
*/
|
|
14346
|
+
required?: boolean;
|
|
14347
|
+
set setRequired(required: string);
|
|
14348
|
+
/**
|
|
14349
|
+
* Define se a indicação de campo obrigatório será exibida.
|
|
14350
|
+
*
|
|
14351
|
+
* > Não será exibida a indicação se:
|
|
14352
|
+
* - Não possuir `p-help` e/ou `p-label`.
|
|
14353
|
+
*/
|
|
14354
|
+
showRequired: boolean;
|
|
14355
|
+
/**
|
|
14356
|
+
* @optional
|
|
14357
|
+
*
|
|
14358
|
+
* @description
|
|
14359
|
+
*
|
|
14360
|
+
* Define o tamanho do componente:
|
|
14361
|
+
* - `small`: altura do input como 32px (disponível apenas para acessibilidade AA).
|
|
14362
|
+
* - `medium`: altura do input como 44px.
|
|
14363
|
+
*
|
|
14364
|
+
* > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
|
|
14365
|
+
* Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
|
|
14366
|
+
*
|
|
14367
|
+
* @default `medium`
|
|
14368
|
+
*/
|
|
14369
|
+
set size(value: string);
|
|
14370
|
+
get size(): string;
|
|
14371
|
+
/** Habilita ação para limpar o campo. */
|
|
14372
|
+
clean?: boolean;
|
|
14373
|
+
set setClean(clean: string);
|
|
14374
|
+
/**
|
|
14375
|
+
* @optional
|
|
14376
|
+
*
|
|
14377
|
+
* @description
|
|
14378
|
+
*
|
|
14379
|
+
* Define uma data mínima para o `po-datepicker`.
|
|
14380
|
+
*/
|
|
14381
|
+
set minDate(value: string | Date);
|
|
14382
|
+
get minDate(): string | Date;
|
|
14383
|
+
/**
|
|
14384
|
+
* @optional
|
|
14385
|
+
*
|
|
14386
|
+
* @description
|
|
14387
|
+
*
|
|
14388
|
+
* Define uma data máxima para o `po-datepicker`.
|
|
14389
|
+
*/
|
|
14390
|
+
set maxDate(value: string | Date);
|
|
14391
|
+
get maxDate(): string | Date;
|
|
14392
|
+
/**
|
|
14393
|
+
* @optional
|
|
14394
|
+
*
|
|
14395
|
+
* @description
|
|
14396
|
+
*
|
|
14397
|
+
* Formato de exibição da data.
|
|
14398
|
+
*
|
|
14399
|
+
* Valores válidos:
|
|
14400
|
+
* - `dd/mm/yyyy`
|
|
14401
|
+
* - `mm/dd/yyyy`
|
|
14402
|
+
* - `yyyy/mm/dd`
|
|
14403
|
+
*
|
|
14404
|
+
* @default `dd/mm/yyyy`
|
|
14405
|
+
*/
|
|
14406
|
+
set format(value: string);
|
|
14407
|
+
get format(): string;
|
|
14408
|
+
/**
|
|
14409
|
+
* @optional
|
|
14410
|
+
*
|
|
14411
|
+
* @description
|
|
14412
|
+
*
|
|
14413
|
+
* Padrão de formatação para saída do *model*, independentemente do formato de entrada.
|
|
14414
|
+
*
|
|
14415
|
+
* > Veja os valores válidos no *enum* `PoDatepickerIsoFormat`.
|
|
14416
|
+
*/
|
|
14417
|
+
set isoFormat(value: PoDatepickerIsoFormat);
|
|
14418
|
+
get isoFormat(): PoDatepickerIsoFormat;
|
|
14419
|
+
/**
|
|
14420
|
+
* @optional
|
|
14421
|
+
*
|
|
14422
|
+
* @description
|
|
14423
|
+
*
|
|
14424
|
+
* Idioma do Datepicker.
|
|
14425
|
+
*
|
|
14426
|
+
* > O locale padrão sera recuperado com base no [`PoI18nService`](/documentation/po-i18n) ou *browser*.
|
|
14427
|
+
*/
|
|
14428
|
+
_locale?: string;
|
|
14429
|
+
set locale(value: string);
|
|
14430
|
+
get locale(): string;
|
|
14431
|
+
/**
|
|
14432
|
+
* @optional
|
|
14433
|
+
*
|
|
14434
|
+
* @description
|
|
14435
|
+
* Exibe um ícone de carregamento no lado direito do campo para sinalizar que uma operação está em andamento.
|
|
14436
|
+
*
|
|
14437
|
+
* @default `false`
|
|
14438
|
+
*/
|
|
14439
|
+
set loading(value: boolean);
|
|
14440
|
+
get loading(): boolean;
|
|
14441
|
+
get isDisabled(): boolean;
|
|
14442
|
+
/**
|
|
14443
|
+
* @optional
|
|
14444
|
+
*
|
|
14445
|
+
* @description
|
|
14446
|
+
*
|
|
14447
|
+
* Define que o `calendar` e/ou tooltip (`p-additional-help-tooltip` e/ou `p-error-limit`) serão incluídos no body da
|
|
14448
|
+
* página e não dentro do componente. Essa opção pode ser necessária em cenários com containers que possuem scroll ou
|
|
14449
|
+
* overflow escondido, garantindo o posicionamento correto de ambos próximo ao elemento.
|
|
14450
|
+
*
|
|
14451
|
+
* > Quando utilizado com `p-helper`, leitores de tela como o NVDA podem não ler o conteúdo do popover.
|
|
14452
|
+
*
|
|
14453
|
+
* @default `false`
|
|
14454
|
+
*/
|
|
14455
|
+
appendBox: boolean;
|
|
14456
|
+
constructor(languageService: PoLanguageService, cd: ChangeDetectorRef);
|
|
14457
|
+
set date(value: any);
|
|
14458
|
+
get date(): any;
|
|
14459
|
+
ngOnInit(): void;
|
|
14460
|
+
ngOnDestroy(): void;
|
|
14461
|
+
protected onThemeChange(): void;
|
|
14462
|
+
getDateFromString(dateString: string): Date;
|
|
14463
|
+
formatToDate(value: Date): string;
|
|
14464
|
+
controlModel(date: Date): void;
|
|
14465
|
+
callOnChange(value: any, retry?: boolean): void;
|
|
14466
|
+
mapSizeToIcon(size: string): string;
|
|
14467
|
+
setDisabledState(isDisabled: boolean): void;
|
|
14468
|
+
registerOnChange(func: any): void;
|
|
14469
|
+
registerOnTouched(func: any): void;
|
|
14470
|
+
registerOnValidatorChange(fn: () => void): void;
|
|
14471
|
+
validate(c: AbstractControl): {
|
|
14472
|
+
[key: string]: any;
|
|
14473
|
+
};
|
|
14474
|
+
protected validateModel(model: any): void;
|
|
14475
|
+
protected buildMask(format?: string): PoMask;
|
|
14476
|
+
formatTimezoneAndHour(offset: number): void;
|
|
14477
|
+
private applySizeBasedOnA11y;
|
|
14478
|
+
abstract writeValue(value: any): void;
|
|
14479
|
+
abstract refreshValue(value: Date): void;
|
|
14480
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PoDatepickerBaseComponent, never>;
|
|
14481
|
+
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>;
|
|
14482
|
+
static ngAcceptInputType_autoFocus: any;
|
|
14483
|
+
static ngAcceptInputType_appendBox: any;
|
|
14484
|
+
}
|
|
14485
|
+
|
|
14486
|
+
/**
|
|
14487
|
+
* @docsExtends PoDatepickerBaseComponent
|
|
14488
|
+
*
|
|
14489
|
+
* @example
|
|
14490
|
+
*
|
|
14491
|
+
* <example name="po-datepicker-basic" title="PO Datepicker Basic">
|
|
14492
|
+
* <file name="sample-po-datepicker-basic/sample-po-datepicker-basic.component.html"> </file>
|
|
14493
|
+
* <file name="sample-po-datepicker-basic/sample-po-datepicker-basic.component.ts"> </file>
|
|
14494
|
+
* </example>
|
|
14495
|
+
*
|
|
14496
|
+
* <example name="po-datepicker-labs" title="PO Datepicker Labs">
|
|
14497
|
+
* <file name="sample-po-datepicker-labs/sample-po-datepicker-labs.component.html"> </file>
|
|
14498
|
+
* <file name="sample-po-datepicker-labs/sample-po-datepicker-labs.component.ts"> </file>
|
|
14499
|
+
* </example>
|
|
14500
|
+
*
|
|
14501
|
+
* <example name="po-datepicker-airfare" title="PO Datepicker - Airfare">
|
|
14502
|
+
* <file name="sample-po-datepicker-airfare/sample-po-datepicker-airfare.component.html"> </file>
|
|
14503
|
+
* <file name="sample-po-datepicker-airfare/sample-po-datepicker-airfare.component.ts"> </file>
|
|
14504
|
+
* </example>
|
|
14505
|
+
*
|
|
14506
|
+
* <example name="po-datepicker-airfare-reactive-form" title="PO Datepicker - Airfare Reactive Form">
|
|
14507
|
+
* <file name="sample-po-datepicker-airfare-reactive-form/sample-po-datepicker-airfare-reactive-form.component.html"> </file>
|
|
14508
|
+
* <file name="sample-po-datepicker-airfare-reactive-form/sample-po-datepicker-airfare-reactive-form.component.ts"> </file>
|
|
14509
|
+
* </example>
|
|
14510
|
+
*/
|
|
14511
|
+
declare class PoDatepickerComponent extends PoDatepickerBaseComponent implements AfterViewInit, OnDestroy, OnChanges {
|
|
14512
|
+
private readonly controlPosition;
|
|
14513
|
+
private readonly renderer;
|
|
14514
|
+
calendar: PoCalendarComponent;
|
|
14515
|
+
dialogPicker: ElementRef;
|
|
14516
|
+
iconDatepicker: PoButtonComponent;
|
|
14517
|
+
inputEl: ElementRef;
|
|
14518
|
+
iconClean: ElementRef<HTMLElement>;
|
|
14519
|
+
helperEl?: PoHelperComponent;
|
|
14520
|
+
/** Rótulo do campo. */
|
|
14521
|
+
label?: string;
|
|
14522
|
+
/** Texto de apoio do campo. */
|
|
14523
|
+
help?: string;
|
|
14524
|
+
displayAdditionalHelp: boolean;
|
|
14525
|
+
el: ElementRef;
|
|
14526
|
+
hour: string;
|
|
14527
|
+
id: string;
|
|
14528
|
+
visible: boolean;
|
|
14529
|
+
literals: any;
|
|
14530
|
+
eventListenerFunction: () => void;
|
|
14531
|
+
eventResizeListener: () => void;
|
|
14532
|
+
private clickListener;
|
|
14533
|
+
private readonly dateRegex;
|
|
14534
|
+
private readonly isoRegex;
|
|
14535
|
+
private timeoutChange;
|
|
14536
|
+
private valueBeforeChange;
|
|
14537
|
+
private subscriptionValidator;
|
|
14538
|
+
get autocomplete(): "on" | "off";
|
|
14539
|
+
get dateInputValue(): string;
|
|
14540
|
+
constructor();
|
|
14541
|
+
onKeyup($event: any): void;
|
|
14542
|
+
onKeydown($event?: any): void;
|
|
14543
|
+
ngAfterViewInit(): void;
|
|
14544
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
14545
|
+
ngOnDestroy(): void;
|
|
14546
|
+
emitAdditionalHelp(): void;
|
|
14547
|
+
/**
|
|
14548
|
+
* Função que atribui foco ao componente.
|
|
14549
|
+
*
|
|
14550
|
+
* Para utilizá-la é necessário ter a instância do componente no DOM, podendo ser utilizado o ViewChild da seguinte forma:
|
|
14551
|
+
*
|
|
14552
|
+
* ```
|
|
14553
|
+
* import { PoDatepickerComponent } from '@po-ui/ng-components';
|
|
14554
|
+
*
|
|
14555
|
+
* ...
|
|
14556
|
+
*
|
|
14557
|
+
* @ViewChild(PoDatepickerComponent, { static: true }) datepicker: PoDatepickerComponent;
|
|
14558
|
+
*
|
|
14559
|
+
* focusDatepicker() {
|
|
14560
|
+
* this.datepicker.focus();
|
|
14561
|
+
* }
|
|
14562
|
+
* ```
|
|
14563
|
+
*/
|
|
14564
|
+
focus(): void;
|
|
14565
|
+
getAdditionalHelpTooltip(): string;
|
|
14566
|
+
togglePicker(focusInput?: boolean): void;
|
|
14567
|
+
closeCalendar(focusInput?: boolean): void;
|
|
14568
|
+
dateSelected(event?: string): void;
|
|
14569
|
+
wasClickedOnPicker(event: any): void;
|
|
14570
|
+
hasInvalidClass(): boolean;
|
|
14571
|
+
getErrorPattern(): string;
|
|
14572
|
+
clear(): void;
|
|
14573
|
+
clearAndFocus(): void;
|
|
14574
|
+
eventOnBlur($event: any): void;
|
|
14575
|
+
eventOnClick($event: any): void;
|
|
14576
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
14577
|
+
onKeyPress(event: any): void;
|
|
14578
|
+
formatToDate(value: Date): string;
|
|
14579
|
+
refreshValue(value: Date): void;
|
|
14580
|
+
/**
|
|
14581
|
+
* Método que exibe `p-helper` ou executa a ação definida em `p-helper{eventOnClick}` ou em `p-additionalHelp`.
|
|
14582
|
+
* Para isso, será necessário configurar uma tecla de atalho utilizando o evento `p-keydown`.
|
|
14583
|
+
*
|
|
14584
|
+
* > Exibe ou oculta o conteúdo do componente `po-helper` quando o componente estiver com foco.
|
|
14585
|
+
*
|
|
14586
|
+
* ```
|
|
14587
|
+
* // Exemplo com p-label e p-helper
|
|
14588
|
+
* <po-datepicker
|
|
14589
|
+
* #datepicker
|
|
14590
|
+
* ...
|
|
14591
|
+
* p-label="Label do datepicker"
|
|
14592
|
+
* [p-helper]="helperOptions"
|
|
14593
|
+
* (p-keydown)="onKeyDown($event, datepicker)"
|
|
14594
|
+
* ></po-datepicker>
|
|
14595
|
+
* ```
|
|
14596
|
+
* ```
|
|
14597
|
+
* ...
|
|
14598
|
+
* onKeyDown(event: KeyboardEvent, inp: PoDatepickerComponent): void {
|
|
14599
|
+
* if (event.code === 'F9') {
|
|
14600
|
+
* inp.showAdditionalHelp();
|
|
14601
|
+
* }
|
|
14602
|
+
* }
|
|
14603
|
+
* ```
|
|
14604
|
+
*/
|
|
14605
|
+
showAdditionalHelp(): boolean;
|
|
14606
|
+
writeValue(value: any): void;
|
|
14607
|
+
isValidDateIso(value: string): boolean;
|
|
14608
|
+
isValidExtendedIso(value: any): boolean;
|
|
14609
|
+
hasOverlayClass(element: any): any;
|
|
14610
|
+
verifyErrorAsync(value: any): void;
|
|
14611
|
+
verifyMobile(): RegExpMatchArray;
|
|
14612
|
+
private controlChangeEmitter;
|
|
14613
|
+
private hasAttrCalendar;
|
|
14614
|
+
private initializeListeners;
|
|
14615
|
+
private isAdditionalHelpEventTriggered;
|
|
14616
|
+
private isFocusOnFirstCombo;
|
|
14617
|
+
private isFocusOnLastCombo;
|
|
14618
|
+
private readonly onScroll;
|
|
14619
|
+
private removeListeners;
|
|
14620
|
+
private setDialogPickerStyleDisplay;
|
|
14621
|
+
private setCalendarPosition;
|
|
14622
|
+
protected adjustCalendarPosition(): void;
|
|
14623
|
+
handleCleanKeyboardTab(event: KeyboardEvent): void;
|
|
14624
|
+
private shouldHandleTab;
|
|
14625
|
+
private focusCalendar;
|
|
14626
|
+
onCalendarKeyDown(event: KeyboardEvent): void;
|
|
14627
|
+
setHelper(label?: string, additionalHelpTooltip?: string): {
|
|
14628
|
+
hideAdditionalHelp: boolean;
|
|
14629
|
+
helperSettings?: any;
|
|
14630
|
+
};
|
|
14631
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PoDatepickerComponent, never>;
|
|
14632
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoDatepickerComponent, "po-datepicker", never, { "label": { "alias": "p-label"; "required": false; }; "help": { "alias": "p-help"; "required": false; }; }, {}, never, never, false, never>;
|
|
14633
|
+
}
|
|
14634
|
+
|
|
14635
|
+
/**
|
|
14636
|
+
* @usedBy PoTimepickerComponent
|
|
14637
|
+
*
|
|
14638
|
+
* @description
|
|
14639
|
+
*
|
|
14640
|
+
* *Enum* que define o padrão de formatação do model de saída do timepicker.
|
|
14641
|
+
*/
|
|
14642
|
+
declare enum PoTimepickerModelFormat {
|
|
14643
|
+
/** Formato básico `HH:mm` (ex: `14:30`). */
|
|
14644
|
+
HourMinute = "HH:mm",
|
|
14645
|
+
/** Formato com segundos `HH:mm:ss` (ex: `14:30:00`). */
|
|
14646
|
+
HourMinuteSecond = "HH:mm:ss"
|
|
14647
|
+
}
|
|
14648
|
+
|
|
14649
|
+
/**
|
|
14650
|
+
* @usedBy PoTimerComponent
|
|
14651
|
+
*
|
|
14652
|
+
* @description
|
|
14653
|
+
*
|
|
14654
|
+
* Enum para definição do formato de exibição do timer.
|
|
14655
|
+
*/
|
|
14656
|
+
declare enum PoTimerFormat {
|
|
14657
|
+
/** Formato de 24 horas (0-23). */
|
|
14658
|
+
Format24 = "24",
|
|
14659
|
+
/** Formato de 12 horas (1-12) com indicador AM/PM. */
|
|
14660
|
+
Format12 = "12"
|
|
14661
|
+
}
|
|
14662
|
+
|
|
14663
|
+
/**
|
|
14664
|
+
* @docsPrivate
|
|
14665
|
+
*
|
|
14666
|
+
* @description
|
|
14667
|
+
*
|
|
14668
|
+
* O `po-timer` é um componente de seleção de horário que apresenta colunas de horas, minutos e, opcionalmente, segundos
|
|
14669
|
+
* para que a pessoa usuária escolha um horário de forma intuitiva.
|
|
14670
|
+
*
|
|
14671
|
+
* O componente é recomendado para cenários onde é necessário selecionar um horário específico, podendo ser utilizado
|
|
14672
|
+
* de forma independente ou integrado ao `po-timepicker` como painel flutuante de seleção.
|
|
14673
|
+
*
|
|
14674
|
+
* O valor de saída segue o formato ISO 8601 para horários (`HH:mm` ou `HH:mm:ss`).
|
|
14675
|
+
*
|
|
14676
|
+
* **Importante:**
|
|
14677
|
+
* - Horários fora do intervalo (`p-min-time` / `p-max-time`) aparecem desabilitados sem alterar o *model*.
|
|
14678
|
+
*
|
|
14679
|
+
* #### Boas práticas
|
|
14680
|
+
*
|
|
14681
|
+
* - Utilize o formato de 24 horas quando o contexto for profissional ou técnico (ex: agendamentos, logs).
|
|
14682
|
+
* - Utilize o formato de 12 horas (AM/PM) quando o público-alvo estiver habituado a esse padrão.
|
|
14683
|
+
* - Defina intervalos de minutos adequados ao contexto: intervalos de 5 minutos para agendamentos gerais,
|
|
14684
|
+
* intervalos de 15 minutos para reuniões, ou intervalos de 1 minuto para precisão.
|
|
14685
|
+
* - Configure limites mínimo e máximo para impedir seleção de horários inválidos no contexto da aplicação.
|
|
14686
|
+
*
|
|
14687
|
+
* #### Acessibilidade tratada no componente
|
|
14688
|
+
*
|
|
14689
|
+
* Algumas diretrizes de acessibilidade já são tratadas no componente, internamente, e não podem ser alteradas pelo
|
|
14690
|
+
* proprietário do conteúdo. São elas:
|
|
14691
|
+
*
|
|
14692
|
+
* - Navegação por teclado: O componente permite interação via tecla Tab entre as colunas e navegação nas células
|
|
14693
|
+
* por meio das setas direcionais (Arrow Up/Down).
|
|
14694
|
+
* - Foco visual: A área de foco possui espessura de pelo menos 2 pixels CSS e não é sobreposta por outros elementos da tela,
|
|
14695
|
+
* garantindo visibilidade para usuários que utilizam teclado.
|
|
14696
|
+
* [WCAG 2.4.12: Focus Appearance](https://www.w3.org/WAI/WCAG22/Understanding/focus-appearance-enhanced)
|
|
14697
|
+
* - Leitores de tela: Cada coluna e célula possui atributos ARIA para correta leitura por leitores de tela
|
|
14698
|
+
* como NVDA e VoiceOver.
|
|
14699
|
+
*
|
|
14700
|
+
* #### Tokens customizáveis
|
|
14701
|
+
*
|
|
14702
|
+
* É possível alterar o estilo do componente usando os seguintes tokens (CSS):
|
|
14703
|
+
*
|
|
14704
|
+
* > Para maiores informações, acesse o guia [Personalizando o Tema Padrão com Tokens CSS](https://po-ui.io/guides/theme-customization).
|
|
14705
|
+
*
|
|
14706
|
+
* | Propriedade | Descrição | Valor Padrão |
|
|
14707
|
+
* |--------------------------------|------------------------------------------------------|-----------------------------------|
|
|
14708
|
+
* | **Base** | | |
|
|
14709
|
+
* | `--background` | Cor de fundo | `var(--color-neutral-light-00)` |
|
|
14710
|
+
* | `--border-color` | Cor da borda | `var(--color-neutral-light-20)` |
|
|
14711
|
+
* | `--border-radius` | Raio da borda | `var(--border-radius-md)` |
|
|
14712
|
+
* | `--border-width` | Largura da borda | `var(--border-width-sm)` |
|
|
14713
|
+
* | `--shadow` | Contém o valor da sombra do elemento | `var(--shadow-md)` |
|
|
14714
|
+
* | **Display** | | |
|
|
14715
|
+
* | `--color-display` | Cor da fonte do display | `var(--color-brand-01-base)` |
|
|
14716
|
+
* | `--font-weight-display` | Peso da fonte do display | `var(--font-weight-bold)` |
|
|
14717
|
+
* | `--border-radius-display` | Raio da borda do display | `var(--border-radius-md)` |
|
|
14718
|
+
* | **Hover** | | |
|
|
14719
|
+
* | `--color-hover-display` | Cor da fonte do display ao passar o mouse | `var(--color-brand-01-darkest)` |
|
|
14720
|
+
* | `--background-hover-display` | Cor de fundo do display ao passar o mouse | `var(--color-brand-01-lighter)` |
|
|
14721
|
+
* | **Focus** | | |
|
|
14722
|
+
* | `--outline-color-focused-display` | Cor do outline do estado de focus | `var(--color-brand-01-darkest)` |
|
|
14723
|
+
* | **Pressed** | | |
|
|
14724
|
+
* | `--background-pressed-display` | Cor de fundo do display ao pressionar | `var(--color-brand-01-light)` |
|
|
14725
|
+
* | **Disabled** | | |
|
|
14726
|
+
* | `--color-disabled-display` | Cor da fonte do display desabilitado | `var(--color-neutral-light-30)` |
|
|
14727
|
+
* | **Transitions** | | |
|
|
14728
|
+
* | `--transition-duration` | Duração da transição do display | `var(--duration-extra-fast)` |
|
|
14729
|
+
* | `--transition-property` | Atributo da transição do display | `all` |
|
|
14730
|
+
* | `--transition-timing` | Tipo de transição do display | `var(--timing-standart)` |
|
|
14731
|
+
*/
|
|
14732
|
+
declare class PoTimerBaseComponent implements ControlValueAccessor {
|
|
14733
|
+
protected languageService: PoLanguageService;
|
|
14734
|
+
private _format;
|
|
14735
|
+
private _locale;
|
|
14736
|
+
private _maxTime;
|
|
14737
|
+
private _minTime;
|
|
14738
|
+
private _minuteInterval;
|
|
14739
|
+
private _secondInterval;
|
|
14740
|
+
private _showSeconds;
|
|
14741
|
+
private _size?;
|
|
14742
|
+
private _initialSize;
|
|
14743
|
+
private readonly shortLanguage;
|
|
14744
|
+
protected onChangePropagate: (value: string) => void;
|
|
14745
|
+
protected onTouched: () => void;
|
|
14746
|
+
/**
|
|
14747
|
+
* @optional
|
|
14748
|
+
*
|
|
14749
|
+
* @description
|
|
14750
|
+
*
|
|
14751
|
+
* Evento disparado ao selecionar um horário.
|
|
14752
|
+
* Retorna uma `string` no formato ISO 8601 (`HH:mm` ou `HH:mm:ss`).
|
|
14753
|
+
*/
|
|
14754
|
+
change: EventEmitter<string>;
|
|
14755
|
+
/**
|
|
14756
|
+
* @optional
|
|
14757
|
+
*
|
|
14758
|
+
* @description
|
|
14759
|
+
*
|
|
14760
|
+
* Define um valor inicial para o componente no formato ISO 8601 (`HH:mm` ou `HH:mm:ss`).
|
|
14761
|
+
*/
|
|
14762
|
+
set value(value: string);
|
|
14763
|
+
get value(): string;
|
|
14764
|
+
/**
|
|
14765
|
+
* @optional
|
|
14766
|
+
*
|
|
14767
|
+
* @description
|
|
14768
|
+
*
|
|
14769
|
+
* Define o formato de exibição do timer.
|
|
14770
|
+
*
|
|
14771
|
+
* Valores válidos:
|
|
14772
|
+
* - `24`: formato de 24 horas (padrão)
|
|
14773
|
+
* - `12`: formato de 12 horas com indicador AM/PM
|
|
14774
|
+
*
|
|
14775
|
+
* @default `24`
|
|
14776
|
+
*/
|
|
14777
|
+
set format(value: PoTimerFormat);
|
|
14778
|
+
get format(): PoTimerFormat;
|
|
14779
|
+
/**
|
|
14780
|
+
* @optional
|
|
14781
|
+
*
|
|
14782
|
+
* @description
|
|
14783
|
+
*
|
|
14784
|
+
* Idioma do componente.
|
|
14785
|
+
*
|
|
14786
|
+
* > O locale padrão será recuperado com base no [`PoI18nService`](/documentation/po-i18n) ou *browser*.
|
|
14787
|
+
*/
|
|
14788
|
+
set locale(locale: string);
|
|
14789
|
+
get locale(): string;
|
|
14790
|
+
/**
|
|
14791
|
+
* @optional
|
|
14792
|
+
*
|
|
14793
|
+
* @description
|
|
14794
|
+
*
|
|
14795
|
+
* Define o horário máximo permitido para seleção.
|
|
14796
|
+
* Horários posteriores ao limite ficam desabilitados.
|
|
14797
|
+
*
|
|
14798
|
+
* Formato aceito: `HH:mm` ou `HH:mm:ss`.
|
|
14799
|
+
*/
|
|
14800
|
+
set maxTime(value: string);
|
|
14801
|
+
get maxTime(): string;
|
|
14802
|
+
/**
|
|
14803
|
+
* @optional
|
|
14804
|
+
*
|
|
14805
|
+
* @description
|
|
14806
|
+
*
|
|
14807
|
+
* Define o horário mínimo permitido para seleção.
|
|
14808
|
+
* Horários anteriores ao limite ficam desabilitados.
|
|
14809
|
+
*
|
|
14810
|
+
* Formato aceito: `HH:mm` ou `HH:mm:ss`.
|
|
14811
|
+
*/
|
|
14812
|
+
set minTime(value: string);
|
|
14813
|
+
get minTime(): string;
|
|
14814
|
+
/**
|
|
14815
|
+
* @optional
|
|
14816
|
+
*
|
|
14817
|
+
* @description
|
|
14818
|
+
*
|
|
14819
|
+
* Define o intervalo entre os minutos exibidos no painel.
|
|
14820
|
+
*
|
|
14821
|
+
* @default `5`
|
|
14822
|
+
*/
|
|
14823
|
+
set minuteInterval(value: number);
|
|
14824
|
+
get minuteInterval(): number;
|
|
14825
|
+
/**
|
|
14826
|
+
* @optional
|
|
14827
|
+
*
|
|
14828
|
+
* @description
|
|
14829
|
+
*
|
|
14830
|
+
* Define o intervalo entre os segundos exibidos no painel.
|
|
14831
|
+
* Utilizado apenas quando `p-show-seconds` está ativo.
|
|
14832
|
+
*
|
|
14833
|
+
* @default `1`
|
|
14834
|
+
*/
|
|
14835
|
+
set secondInterval(value: number);
|
|
14836
|
+
get secondInterval(): number;
|
|
14837
|
+
/**
|
|
14838
|
+
* @optional
|
|
14839
|
+
*
|
|
14840
|
+
* @description
|
|
14841
|
+
*
|
|
14842
|
+
* Exibe a coluna de segundos no painel de seleção.
|
|
14843
|
+
*
|
|
14844
|
+
* @default `false`
|
|
14845
|
+
*/
|
|
14846
|
+
set showSeconds(value: boolean);
|
|
14847
|
+
get showSeconds(): boolean;
|
|
14848
|
+
/**
|
|
14849
|
+
* @optional
|
|
14850
|
+
*
|
|
14851
|
+
* @description
|
|
14852
|
+
*
|
|
14853
|
+
* Define o tamanho do componente.
|
|
14854
|
+
*
|
|
14855
|
+
* > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
|
|
14856
|
+
* Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
|
|
14857
|
+
*
|
|
14858
|
+
* @default `medium`
|
|
14859
|
+
*/
|
|
14860
|
+
set size(value: string);
|
|
14861
|
+
get size(): string;
|
|
14862
|
+
literals: {
|
|
14863
|
+
hours: string;
|
|
14864
|
+
minutes: string;
|
|
14865
|
+
seconds: string;
|
|
14866
|
+
};
|
|
14867
|
+
hours: Array<number>;
|
|
14868
|
+
minutes: Array<number>;
|
|
14869
|
+
seconds: Array<number>;
|
|
14870
|
+
selectedHour: number;
|
|
14871
|
+
selectedMinute: number;
|
|
14872
|
+
selectedSecond: number;
|
|
14873
|
+
period: string;
|
|
14874
|
+
constructor(languageService: PoLanguageService);
|
|
14875
|
+
get is12HourFormat(): boolean;
|
|
14876
|
+
protected onThemeChange(): void;
|
|
14877
|
+
/** Gera a lista de horas disponíveis de acordo com o formato. */
|
|
14878
|
+
protected generateHours(): void;
|
|
14879
|
+
/** Gera a lista de minutos de acordo com o intervalo configurado. */
|
|
14880
|
+
protected generateMinutes(): void;
|
|
14881
|
+
/** Gera a lista de segundos de acordo com o intervalo configurado. */
|
|
14882
|
+
protected generateSeconds(): void;
|
|
14883
|
+
/** Formata um número com dois dígitos. */
|
|
14884
|
+
protected formatValue(value: number): string;
|
|
14885
|
+
/** Verifica se uma hora está desabilitada com base nos limites min/max. */
|
|
14886
|
+
protected isHourDisabled(hour: number): boolean;
|
|
14887
|
+
/** Verifica se um minuto está desabilitado com base nos limites min/max e hora selecionada. */
|
|
14888
|
+
protected isMinuteDisabled(minute: number): boolean;
|
|
14889
|
+
/** Verifica se um segundo está desabilitado com base nos limites min/max, hora e minuto selecionados. */
|
|
14890
|
+
protected isSecondDisabled(second: number): boolean;
|
|
14891
|
+
protected isMinuteAllowedForHour(hour: number, minute: number): boolean;
|
|
14892
|
+
protected isSecondAllowed(hour: number, minute: number, second: number): boolean;
|
|
14893
|
+
/** Gera o valor ISO 8601 com base na seleção atual. */
|
|
14894
|
+
protected buildTimeValue(): string;
|
|
14895
|
+
/** Define o horário a partir de uma string ISO. */
|
|
14896
|
+
setTimeFromString(time: string): void;
|
|
14897
|
+
/** Converte hora 24h para formato de exibicao 12h com periodo. */
|
|
14898
|
+
private convertTo12HourDisplay;
|
|
14899
|
+
writeValue(value: any): void;
|
|
14900
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
14901
|
+
registerOnTouched(fn: () => void): void;
|
|
14902
|
+
setDisabledState(_isDisabled: boolean): void;
|
|
14903
|
+
protected emitChange(): void;
|
|
14904
|
+
protected callOnTouched(): void;
|
|
14905
|
+
private updateModel;
|
|
14906
|
+
/** Converte hora no formato atual para formato de 24 horas. */
|
|
14907
|
+
protected convertTo24Hour(hour: number): number;
|
|
14908
|
+
/** Extrai componente do tempo (hora, minuto ou segundo) de uma string. */
|
|
14909
|
+
protected parseTimeComponent(time: string, component: 'hour' | 'minute' | 'second'): number;
|
|
14910
|
+
private applySizeBasedOnA11y;
|
|
14911
|
+
private isValidTimeString;
|
|
14912
|
+
private setLiterals;
|
|
14913
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PoTimerBaseComponent, never>;
|
|
14914
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoTimerBaseComponent, never, never, { "value": { "alias": "p-value"; "required": false; }; "format": { "alias": "p-format"; "required": false; }; "locale": { "alias": "p-locale"; "required": false; }; "maxTime": { "alias": "p-max-time"; "required": false; }; "minTime": { "alias": "p-min-time"; "required": false; }; "minuteInterval": { "alias": "p-minute-interval"; "required": false; }; "secondInterval": { "alias": "p-second-interval"; "required": false; }; "showSeconds": { "alias": "p-show-seconds"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; }, { "change": "p-change"; }, never, never, true, never>;
|
|
14915
|
+
}
|
|
14916
|
+
|
|
14917
|
+
/** Tipo dos eixos das colunas. */
|
|
14918
|
+
type PoTimerColumnType = 'hour' | 'minute' | 'second' | 'period';
|
|
14919
|
+
/**
|
|
14920
|
+
* @docsPrivate
|
|
14921
|
+
*
|
|
14922
|
+
* @docsExtends PoTimerBaseComponent
|
|
14923
|
+
*
|
|
14924
|
+
* @example
|
|
14925
|
+
*
|
|
14926
|
+
* <example name="po-timer-basic" title="PO Timer Basic">
|
|
14927
|
+
* <file name="sample-po-timer-basic/sample-po-timer-basic.component.html"> </file>
|
|
14928
|
+
* <file name="sample-po-timer-basic/sample-po-timer-basic.component.ts"> </file>
|
|
14929
|
+
* </example>
|
|
14930
|
+
*
|
|
14931
|
+
* <example name="po-timer-labs" title="PO Timer Labs">
|
|
14932
|
+
* <file name="sample-po-timer-labs/sample-po-timer-labs.component.html"> </file>
|
|
14933
|
+
* <file name="sample-po-timer-labs/sample-po-timer-labs.component.ts"> </file>
|
|
14934
|
+
* </example>
|
|
14935
|
+
*
|
|
14936
|
+
* <example name="po-timer-alarm" title="PO Timer - Alarm">
|
|
14937
|
+
* <file name="sample-po-timer-alarm/sample-po-timer-alarm.component.html"> </file>
|
|
14938
|
+
* <file name="sample-po-timer-alarm/sample-po-timer-alarm.component.ts"> </file>
|
|
14939
|
+
* </example>
|
|
14940
|
+
*
|
|
14941
|
+
* <example name="po-timer-shift" title="PO Timer - Shift">
|
|
14942
|
+
* <file name="sample-po-timer-shift/sample-po-timer-shift.component.html"> </file>
|
|
14943
|
+
* <file name="sample-po-timer-shift/sample-po-timer-shift.component.ts"> </file>
|
|
14944
|
+
* </example>
|
|
14945
|
+
*/
|
|
14946
|
+
declare class PoTimerComponent extends PoTimerBaseComponent implements OnInit, OnChanges, AfterViewInit, AfterViewChecked, OnDestroy {
|
|
14947
|
+
hourCells: QueryList<ElementRef>;
|
|
14948
|
+
minuteCells: QueryList<ElementRef>;
|
|
14949
|
+
secondCells: QueryList<ElementRef>;
|
|
14950
|
+
periodCells: QueryList<ElementRef>;
|
|
14951
|
+
hourItemsRefs: QueryList<ElementRef<HTMLElement>>;
|
|
14952
|
+
minuteItemsRefs: QueryList<ElementRef<HTMLElement>>;
|
|
14953
|
+
secondItemsRefs: QueryList<ElementRef<HTMLElement>>;
|
|
14954
|
+
displayHours: Array<number>;
|
|
14955
|
+
displayMinutes: Array<number>;
|
|
14956
|
+
displaySeconds: Array<number>;
|
|
14957
|
+
boundaryTab: EventEmitter<{
|
|
14958
|
+
direction: "forward" | "backward";
|
|
14959
|
+
event: KeyboardEvent;
|
|
14960
|
+
column: PoTimerColumnType;
|
|
14961
|
+
}>;
|
|
14962
|
+
private readonly changeDetector;
|
|
14963
|
+
private readonly ngZone;
|
|
14964
|
+
private readonly domDocument;
|
|
14965
|
+
private hasViewInitialized;
|
|
14966
|
+
private currentRenderedSize;
|
|
14967
|
+
/** ID do requestAnimationFrame pendente para throttle do wheel. */
|
|
14968
|
+
private wheelRafId;
|
|
14969
|
+
/**
|
|
14970
|
+
* Offset atual (em px) de cada coluna, mantido em JS.
|
|
14971
|
+
* O container de itens e posicionado via translateY(-offset).
|
|
14972
|
+
* O offset e mantido sempre no intervalo [sectionHeight, 2*sectionHeight)
|
|
14973
|
+
* para que o salto de reposicionamento seja sempre invisivel (as secoes
|
|
14974
|
+
* sao identicas por serem copias do mesmo array fonte).
|
|
14975
|
+
*/
|
|
14976
|
+
private columnOffsets;
|
|
14977
|
+
/**
|
|
14978
|
+
* Indice no displayArray do item focado em cada coluna.
|
|
14979
|
+
* Usado para redirecionar o foco ao botao correto ao entrar na coluna via Tab.
|
|
14980
|
+
*/
|
|
14981
|
+
private focusedDisplayIndex;
|
|
14982
|
+
activeDescendantIds: Record<PoTimerColumnType, string>;
|
|
14983
|
+
disabledMinuteCache: Set<number>;
|
|
14984
|
+
disabledSecondCache: Set<number>;
|
|
14985
|
+
constructor();
|
|
14986
|
+
ngOnInit(): void;
|
|
14987
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
14988
|
+
ngAfterViewInit(): void;
|
|
14989
|
+
ngAfterViewChecked(): void;
|
|
14990
|
+
ngOnDestroy(): void;
|
|
14991
|
+
onSelectHour(hour: number): void;
|
|
14992
|
+
onSelectMinute(minute: number): void;
|
|
14993
|
+
onSelectSecond(second: number): void;
|
|
14994
|
+
onSelectPeriod(newPeriod: string): void;
|
|
14995
|
+
onCellFocus(type: PoTimerColumnType, displayIndex: number): void;
|
|
14996
|
+
getCellTabIndex(type: PoTimerColumnType, displayIndex: number): number;
|
|
14997
|
+
onCellKeydown(event: KeyboardEvent, type: PoTimerColumnType): void;
|
|
14998
|
+
onPeriodKeydown(event: KeyboardEvent): void;
|
|
14999
|
+
onColumnWheel(event: WheelEvent, type: PoTimerColumnType): void;
|
|
15000
|
+
writeValue(time: string): void;
|
|
15001
|
+
trackByIndex(index: number, _item: number): number;
|
|
15002
|
+
focusFirstVisibleCell(): void;
|
|
15003
|
+
focusLastVisibleCell(): void;
|
|
15004
|
+
initAllColumnOffsets(): void;
|
|
15005
|
+
/**
|
|
15006
|
+
* Posiciona o container de itens na secao do meio do array repetido,
|
|
15007
|
+
* alinhando o item selecionado ao topo da janela visivel.
|
|
15008
|
+
*
|
|
15009
|
+
* Estrutura do array repetido (exemplo sourceLength = 24, repeats = 3):
|
|
15010
|
+
* [secao 0: itens 0-23] [secao 1: itens 0-23] [secao 2: itens 0-23]
|
|
15011
|
+
* ^--- usuario fica aqui (offset em [sH, 2*sH))
|
|
15012
|
+
*
|
|
15013
|
+
* Usar a secao do meio garante que qualquer deslize para cima ou para baixo
|
|
15014
|
+
* tem espaco antes de precisar fazer o wrap.
|
|
15015
|
+
*/
|
|
15016
|
+
private initColumnOffset;
|
|
15017
|
+
private getFirstAvailableIndexByType;
|
|
15018
|
+
private getReferenceHourForConstraints;
|
|
15019
|
+
private getReferenceMinuteForConstraints;
|
|
15020
|
+
private isValueDisabledByType;
|
|
15021
|
+
/**
|
|
15022
|
+
* Desloca a coluna pelo numero de passos indicado e aplica o wrap modular.
|
|
15023
|
+
*
|
|
15024
|
+
* O wrap mantem o offset em [sectionHeight, 2*sectionHeight), aproveitando
|
|
15025
|
+
* o fato de que as secoes sao identicas — o salto e impercetivel visualmente.
|
|
15026
|
+
*/
|
|
15027
|
+
private scrollColumnByStep;
|
|
15028
|
+
private wrapOffset;
|
|
15029
|
+
private getCellStep;
|
|
15030
|
+
/**
|
|
15031
|
+
* Foca o botao nativo (<button> interno ao po-button) no indice indicado
|
|
15032
|
+
* do displayArray da coluna. O po-button tem tabindex=-1 para nao aparecer
|
|
15033
|
+
* no fluxo natural do Tab, mas pode receber foco programatico.
|
|
15034
|
+
*/
|
|
15035
|
+
private focusButtonAt;
|
|
15036
|
+
private focusActiveButton;
|
|
15037
|
+
private computeTopDisplayIndex;
|
|
15038
|
+
/**
|
|
15039
|
+
* Foca a proxima coluna visivel do componente.
|
|
15040
|
+
* Se a coluna atual for a ultima, nao cancela o evento e deixa o browser
|
|
15041
|
+
* mover o foco para o proximo elemento focavel apos o componente.
|
|
15042
|
+
*/
|
|
15043
|
+
private focusNextColumn;
|
|
15044
|
+
/**
|
|
15045
|
+
* Foca a coluna anterior visivel do componente.
|
|
15046
|
+
* Se a coluna atual for a primeira, nao cancela o evento e deixa o browser
|
|
15047
|
+
* mover o foco para o elemento focavel antes do componente.
|
|
15048
|
+
*/
|
|
15049
|
+
private focusPreviousColumn;
|
|
15050
|
+
/**
|
|
15051
|
+
* Retorna, em ordem DOM, os elementos focaveis de todas as colunas visiveis.
|
|
15052
|
+
* Inclui o div da coluna AM/PM (se visivel), cujos botoes internos recebem
|
|
15053
|
+
* o foco diretamente pois nao usam o padrao de roving focus.
|
|
15054
|
+
*/
|
|
15055
|
+
private getVisibleColumnTypes;
|
|
15056
|
+
private getCellsForType;
|
|
15057
|
+
/** Atualiza aria-activedescendant para o indice focado no displayArray. */
|
|
15058
|
+
private updateActiveDescendant;
|
|
15059
|
+
/**
|
|
15060
|
+
* Move o foco para o proximo item habilitado na direcao indicada.
|
|
15061
|
+
* So aplica translate quando o item focado fica parcial ou totalmente fora da viewport.
|
|
15062
|
+
*/
|
|
15063
|
+
private moveFocusByStep;
|
|
15064
|
+
private movePeriodFocusByStep;
|
|
15065
|
+
private selectFocusedPeriod;
|
|
15066
|
+
private getFocusableDisplayIndex;
|
|
15067
|
+
/** Seleciona o item atualmente focado na coluna. */
|
|
15068
|
+
private selectFocusedItem;
|
|
15069
|
+
private shouldTranslateToRevealFocusedItem;
|
|
15070
|
+
private getStepsToRevealFocusedItem;
|
|
15071
|
+
private getColumnViewportHeight;
|
|
15072
|
+
private getNextEnabledDisplayIndex;
|
|
15073
|
+
private getForwardDistance;
|
|
15074
|
+
private getNormalizedDisplayIndex;
|
|
15075
|
+
private getDisplayIndexForSourceNearViewport;
|
|
15076
|
+
private getItemsElement;
|
|
15077
|
+
private normalizeFocusedIndex;
|
|
15078
|
+
private getNormalizedFocusedIndex;
|
|
15079
|
+
private getCurrentFocusedDisplayIndex;
|
|
15080
|
+
private getDomFocusedDisplayIndex;
|
|
15081
|
+
private isDisplayIndexDisabled;
|
|
15082
|
+
private getSelectedValue;
|
|
15083
|
+
private buildDisplayArrays;
|
|
15084
|
+
/** Reconstroi os caches de minutos e segundos desabilitados. */
|
|
15085
|
+
private rebuildDisabledCaches;
|
|
15086
|
+
private getFirstAvailableMinuteForCurrentHour;
|
|
15087
|
+
private getFirstAvailableSecondForCurrentHourAndMinute;
|
|
15088
|
+
private realignColumnsToSelection;
|
|
15089
|
+
private refreshRovingTabIndex;
|
|
15090
|
+
private repeatArray;
|
|
15091
|
+
private getSourceArray;
|
|
15092
|
+
private getDisplayArray;
|
|
15093
|
+
/**
|
|
15094
|
+
* Propaga atributos ARIA (role, aria-selected, aria-setsize, aria-posinset)
|
|
15095
|
+
* dos elementos host <po-button> para os elementos nativos <button> internos,
|
|
15096
|
+
* garantindo que leitores de tela como NVDA recebam a semantica correta.
|
|
15097
|
+
*
|
|
15098
|
+
* Usa a secao fixa do meio [sourceLength, 2*sourceLength) como canonica.
|
|
15099
|
+
* Quando o item focado esta fora dessa secao (na fronteira do infinity scroll),
|
|
15100
|
+
* ele substitui o item equivalente na secao fixa para manter exatamente
|
|
15101
|
+
* sourceLength itens com role="option".
|
|
15102
|
+
*
|
|
15103
|
+
* Duplicatas recebem aria-hidden="true" e role="none" no <button> nativo
|
|
15104
|
+
* (nao apenas no host <po-button>), pois NVDA ignora aria-hidden em
|
|
15105
|
+
* elementos customizados e conta <button> filhos de role="listbox".
|
|
15106
|
+
*/
|
|
15107
|
+
private syncAriaToNativeButtons;
|
|
15108
|
+
/**
|
|
15109
|
+
* Determina se um item do displayArray e canonico para fins de ARIA.
|
|
15110
|
+
*
|
|
15111
|
+
* - Sem infinity scroll: todos sao canonicos.
|
|
15112
|
+
* - Com infinity scroll: a secao que contem o item focado e canonica.
|
|
15113
|
+
*/
|
|
15114
|
+
private isCanonicalDisplayItem;
|
|
15115
|
+
/**
|
|
15116
|
+
* Sincroniza os atributos ARIA de um unico par host/nativeButton.
|
|
15117
|
+
* Chamado tanto por syncAriaToNativeButtons (batch) quanto por
|
|
15118
|
+
* focusButtonAt (antes do .focus()) para evitar leitura duplicada.
|
|
15119
|
+
*/
|
|
15120
|
+
private syncSingleButtonAria;
|
|
15121
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PoTimerComponent, never>;
|
|
15122
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoTimerComponent, "po-timer", never, {}, { "boundaryTab": "p-boundary-tab"; }, never, never, false, never>;
|
|
15123
|
+
}
|
|
15124
|
+
|
|
15125
|
+
/**
|
|
15126
|
+
* @description
|
|
15127
|
+
*
|
|
15128
|
+
* O `po-timepicker` é um componente para seleção de horário que permite a digitação e/ou seleção via painel flutuante.
|
|
15129
|
+
*
|
|
15130
|
+
* O formato de exibição do horário pode ser de 24 horas (`HH:mm`) ou 12 horas (`hh:mm AM/PM`),
|
|
15131
|
+
* e opcionalmente incluir segundos (`HH:mm:ss`).
|
|
15132
|
+
*
|
|
15133
|
+
* O valor de saída segue o formato ISO 8601 para horários (`HH:mm` ou `HH:mm:ss`).
|
|
15134
|
+
*
|
|
15135
|
+
* **Importante:**
|
|
15136
|
+
*
|
|
15137
|
+
* - Caso o valor digitado seja inválido, o `model` receberá uma string vazia.
|
|
15138
|
+
* - Caso o `input` esteja passando um `[(ngModel)]`, mas não tenha um `name`, então irá ocorrer um erro
|
|
15139
|
+
* do próprio Angular (`[ngModelOptions]="{standalone: true}"`).
|
|
15140
|
+
*
|
|
15141
|
+
* > Não esqueça de importar o `FormsModule` em seu módulo, tal como para utilizar o `input default`.
|
|
15142
|
+
*
|
|
15143
|
+
* #### Tokens customizáveis
|
|
15144
|
+
*
|
|
15145
|
+
* É possível alterar o estilo do componente usando os seguintes tokens (CSS):
|
|
15146
|
+
* Obs: Só é possível realizar alterações ao adicionar a classe `.po-input`
|
|
15147
|
+
*
|
|
15148
|
+
* > Para maiores informações, acesse o guia [Personalizando o Tema Padrão com Tokens CSS](https://po-ui.io/guides/theme-customization).
|
|
15149
|
+
*
|
|
15150
|
+
* | Propriedade | Descrição | Valor Padrão |
|
|
15151
|
+
* |----------------------------------------|-------------------------------------------------------|--------------------------------------------------|
|
|
15152
|
+
* | **Default Values** | | |
|
|
15153
|
+
* | `--font-family` | Família tipográfica usada | `var(--font-family-theme)` |
|
|
15154
|
+
* | `--font-size` | Tamanho da fonte | `var(--font-size-default)` |
|
|
15155
|
+
* | `--text-color-placeholder` | Cor do texto placeholder | `var(--color-neutral-light-30)` |
|
|
15156
|
+
* | `--color` | Cor principal do timepicker | `var(--color-neutral-dark-70)` |
|
|
15157
|
+
* | `--background` | Cor de background | `var(--color-neutral-light-05)` |
|
|
15158
|
+
* | `--padding` | Preenchimento | `0 0.5rem` |
|
|
15159
|
+
* | `--text-color` | Cor do texto | `var(--color-neutral-dark-90)` |
|
|
15160
|
+
* | `--field-container-title-justify` | Alinhamento horizontal do título (`justify-content`) | `space-between` |
|
|
15161
|
+
* | `--field-container-title-flex` | Flex do título (`flex`) | `1 auto` |
|
|
15162
|
+
* | **Hover** | | |
|
|
15163
|
+
* | `--color-hover` | Cor principal no estado hover | `var(--color-brand-01-dark)` |
|
|
15164
|
+
* | `--background-hover` | Cor de background no estado hover | `var(--color-brand-01-lightest)` |
|
|
15165
|
+
* | **Focused** | | |
|
|
15166
|
+
* | `--color-focused` | Cor principal no estado de focus | `var(--color-action-default)` |
|
|
15167
|
+
* | `--outline-color-focused` | Cor do outline do estado de focus | `var(--color-action-focus)` |
|
|
15168
|
+
* | **Disabled** | | |
|
|
15169
|
+
* | `--color-disabled` | Cor principal no estado disabled | `var(--color-neutral-light-30)` |
|
|
15170
|
+
* | `--background-disabled` | Cor de background no estado disabled | `var(--color-neutral-light-20)` |
|
|
15171
|
+
* | `--text-color-disabled` | Cor do texto no estado disabled | `var(--color-neutral-dark-70)` |
|
|
15172
|
+
*/
|
|
15173
|
+
declare abstract class PoTimepickerBaseComponent implements ControlValueAccessor, OnInit, Validator {
|
|
15174
|
+
protected languageService: PoLanguageService;
|
|
15175
|
+
protected cd: ChangeDetectorRef;
|
|
15176
|
+
additionalHelpEventTrigger: string | undefined;
|
|
15177
|
+
/**
|
|
15178
|
+
* @optional
|
|
15179
|
+
*
|
|
15180
|
+
* @description
|
|
15181
|
+
*
|
|
15182
|
+
* Aplica foco no elemento ao ser iniciado.
|
|
15183
|
+
*
|
|
15184
|
+
* @default `false`
|
|
15185
|
+
*/
|
|
15186
|
+
autoFocus: boolean;
|
|
15187
|
+
/**
|
|
15188
|
+
* @Input
|
|
15189
|
+
*
|
|
15190
|
+
* @optional
|
|
15191
|
+
*
|
|
15192
|
+
* @description
|
|
15193
|
+
* Define se o título do campo será exibido de forma compacta.
|
|
15194
|
+
*
|
|
15195
|
+
* @default `false`
|
|
15196
|
+
*/
|
|
15197
|
+
compactLabel: i0.InputSignalWithTransform<boolean, unknown>;
|
|
15198
|
+
/** Nome do componente. */
|
|
15199
|
+
name: string;
|
|
15200
|
+
/**
|
|
15201
|
+
* @optional
|
|
15202
|
+
*
|
|
15203
|
+
* @description
|
|
15204
|
+
*
|
|
15205
|
+
* Define se a indicação de campo opcional será exibida.
|
|
15206
|
+
*
|
|
15207
|
+
* @default `false`
|
|
15208
|
+
*/
|
|
15209
|
+
optional: boolean;
|
|
15210
|
+
/**
|
|
15211
|
+
* Mensagem apresentada quando o horário for inválido ou fora do período.
|
|
15212
|
+
*
|
|
15213
|
+
* > Por padrão, esta mensagem não é apresentada quando o campo estiver vazio, mesmo que ele seja requerido.
|
|
15214
|
+
*/
|
|
15215
|
+
errorPattern?: string;
|
|
15216
|
+
/**
|
|
15217
|
+
* @optional
|
|
15218
|
+
*
|
|
15219
|
+
* @description
|
|
15220
|
+
*
|
|
15221
|
+
* Limita a exibição da mensagem de erro a duas linhas e exibe um tooltip com o texto completo.
|
|
15222
|
+
*
|
|
15223
|
+
* @default `false`
|
|
15224
|
+
*/
|
|
15225
|
+
errorLimit: boolean;
|
|
15226
|
+
/**
|
|
15227
|
+
* @optional
|
|
15228
|
+
*
|
|
15229
|
+
* @description
|
|
15230
|
+
*
|
|
15231
|
+
* Exibe a mensagem setada na propriedade `p-error-pattern` se o campo estiver vazio e for requerido.
|
|
15232
|
+
*
|
|
15233
|
+
* @default `false`
|
|
15234
|
+
*/
|
|
15235
|
+
showErrorMessageRequired: boolean;
|
|
15236
|
+
/** Evento disparado ao sair do campo. */
|
|
15237
|
+
onblur: EventEmitter<any>;
|
|
15238
|
+
/** Evento disparado ao alterar valor do campo. */
|
|
15239
|
+
onchange: EventEmitter<any>;
|
|
15240
|
+
/** Evento disparado quando uma tecla é pressionada enquanto o foco está no componente. */
|
|
15241
|
+
keydown: EventEmitter<KeyboardEvent>;
|
|
15242
|
+
/**
|
|
15243
|
+
* @Input
|
|
15244
|
+
*
|
|
15245
|
+
* @optional
|
|
15246
|
+
*
|
|
15247
|
+
* @description
|
|
15248
|
+
*
|
|
15249
|
+
* Define as opções do componente de ajuda (po-helper).
|
|
15250
|
+
*/
|
|
15251
|
+
poHelperComponent: i0.InputSignal<string | PoHelperOptions>;
|
|
15252
|
+
/**
|
|
15253
|
+
* @Input
|
|
15254
|
+
*
|
|
15255
|
+
* @optional
|
|
15256
|
+
*
|
|
15257
|
+
* @description
|
|
15258
|
+
*
|
|
15259
|
+
* Habilita a quebra automática do texto da propriedade `p-label`.
|
|
15260
|
+
*
|
|
15261
|
+
* @default `false`
|
|
15262
|
+
*/
|
|
15263
|
+
labelTextWrap: i0.InputSignal<boolean>;
|
|
15264
|
+
/** Desabilita o campo. */
|
|
15265
|
+
disabled?: boolean;
|
|
15266
|
+
/** Torna o elemento somente leitura. */
|
|
15267
|
+
readonly?: boolean;
|
|
15268
|
+
/**
|
|
15269
|
+
* @optional
|
|
15270
|
+
*
|
|
15271
|
+
* @description
|
|
15272
|
+
*
|
|
15273
|
+
* Define que o campo será obrigatório.
|
|
15274
|
+
*
|
|
15275
|
+
* @default `false`
|
|
15276
|
+
*/
|
|
15277
|
+
required?: boolean;
|
|
15278
|
+
/** Habilita ação para limpar o campo. */
|
|
15279
|
+
clean?: boolean;
|
|
15280
|
+
protected onChangeModel: any;
|
|
15281
|
+
protected validatorChange: any;
|
|
15282
|
+
protected onTouchedModel: any;
|
|
15283
|
+
protected shortLanguage: string;
|
|
15284
|
+
protected isInvalid: boolean;
|
|
15285
|
+
protected hasValidatorRequired: boolean;
|
|
15286
|
+
protected objMask: PoMask;
|
|
15287
|
+
private _format;
|
|
15288
|
+
private _modelFormat;
|
|
15289
|
+
private _maxTime;
|
|
15290
|
+
private _minTime;
|
|
15291
|
+
private _minuteInterval;
|
|
15292
|
+
private _secondInterval;
|
|
15293
|
+
private _showSeconds;
|
|
14145
15294
|
private _noAutocomplete?;
|
|
14146
15295
|
private _placeholder?;
|
|
14147
15296
|
private _loading?;
|
|
14148
|
-
private previousValue;
|
|
14149
15297
|
private _size?;
|
|
14150
15298
|
private _initialSize?;
|
|
14151
|
-
private
|
|
14152
|
-
private
|
|
15299
|
+
private _locale?;
|
|
15300
|
+
private _timeValue;
|
|
15301
|
+
private _validationValue?;
|
|
15302
|
+
private _validationMinHour?;
|
|
15303
|
+
private _validationMaxHour?;
|
|
15304
|
+
private previousValue;
|
|
15305
|
+
private pendingChangeValue;
|
|
14153
15306
|
/**
|
|
14154
15307
|
* @optional
|
|
14155
15308
|
*
|
|
@@ -14167,32 +15320,15 @@ declare abstract class PoDatepickerBaseComponent implements ControlValueAccessor
|
|
|
14167
15320
|
* @description
|
|
14168
15321
|
*
|
|
14169
15322
|
* Mensagem que aparecerá enquanto o campo não estiver preenchido.
|
|
15323
|
+
*
|
|
15324
|
+
* Para personalizar os segmentos, informe o valor no formato `HH:mm` ou `HH:mm:ss`.
|
|
14170
15325
|
*/
|
|
14171
15326
|
set placeholder(placeholder: string);
|
|
14172
15327
|
get placeholder(): string;
|
|
14173
|
-
/** Desabilita o campo. */
|
|
14174
|
-
disabled?: boolean;
|
|
14175
15328
|
set setDisabled(disabled: string);
|
|
14176
|
-
/** Torna o elemento somente leitura. */
|
|
14177
|
-
readonly?: boolean;
|
|
14178
15329
|
set setReadonly(readonly: string);
|
|
14179
|
-
/**
|
|
14180
|
-
* @optional
|
|
14181
|
-
*
|
|
14182
|
-
* @description
|
|
14183
|
-
*
|
|
14184
|
-
* Define que o campo será obrigatório.
|
|
14185
|
-
*
|
|
14186
|
-
* @default `false`
|
|
14187
|
-
*/
|
|
14188
|
-
required?: boolean;
|
|
14189
15330
|
set setRequired(required: string);
|
|
14190
|
-
/**
|
|
14191
|
-
* Define se a indicação de campo obrigatório será exibida.
|
|
14192
|
-
*
|
|
14193
|
-
* > Não será exibida a indicação se:
|
|
14194
|
-
* - Não possuir `p-help` e/ou `p-label`.
|
|
14195
|
-
*/
|
|
15331
|
+
/** Define se a indicação de campo obrigatório será exibida. */
|
|
14196
15332
|
showRequired: boolean;
|
|
14197
15333
|
/**
|
|
14198
15334
|
* @optional
|
|
@@ -14203,71 +15339,95 @@ declare abstract class PoDatepickerBaseComponent implements ControlValueAccessor
|
|
|
14203
15339
|
* - `small`: altura do input como 32px (disponível apenas para acessibilidade AA).
|
|
14204
15340
|
* - `medium`: altura do input como 44px.
|
|
14205
15341
|
*
|
|
14206
|
-
* > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
|
|
14207
|
-
* Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
|
|
14208
|
-
*
|
|
14209
15342
|
* @default `medium`
|
|
14210
15343
|
*/
|
|
14211
15344
|
set size(value: string);
|
|
14212
15345
|
get size(): string;
|
|
14213
|
-
/** Habilita ação para limpar o campo. */
|
|
14214
|
-
clean?: boolean;
|
|
14215
15346
|
set setClean(clean: string);
|
|
14216
15347
|
/**
|
|
14217
15348
|
* @optional
|
|
14218
15349
|
*
|
|
14219
15350
|
* @description
|
|
14220
15351
|
*
|
|
14221
|
-
* Define
|
|
15352
|
+
* Define o formato de exibição do timer.
|
|
15353
|
+
*
|
|
15354
|
+
* Valores válidos:
|
|
15355
|
+
* - `24`: formato de 24 horas (padrão)
|
|
15356
|
+
* - `12`: formato de 12 horas com indicador AM/PM
|
|
15357
|
+
*
|
|
15358
|
+
* @default `24`
|
|
14222
15359
|
*/
|
|
14223
|
-
set
|
|
14224
|
-
get
|
|
15360
|
+
set format(value: PoTimerFormat);
|
|
15361
|
+
get format(): PoTimerFormat;
|
|
14225
15362
|
/**
|
|
14226
15363
|
* @optional
|
|
14227
15364
|
*
|
|
14228
15365
|
* @description
|
|
14229
15366
|
*
|
|
14230
|
-
* Define
|
|
15367
|
+
* Define o horário mínimo permitido. Formato: `HH:mm` ou `HH:mm:ss`.
|
|
14231
15368
|
*/
|
|
14232
|
-
set
|
|
14233
|
-
get
|
|
15369
|
+
set minTime(value: string);
|
|
15370
|
+
get minTime(): string;
|
|
14234
15371
|
/**
|
|
14235
15372
|
* @optional
|
|
14236
15373
|
*
|
|
14237
15374
|
* @description
|
|
14238
15375
|
*
|
|
14239
|
-
*
|
|
15376
|
+
* Define o horário máximo permitido. Formato: `HH:mm` ou `HH:mm:ss`.
|
|
15377
|
+
*/
|
|
15378
|
+
set maxTime(value: string);
|
|
15379
|
+
get maxTime(): string;
|
|
15380
|
+
/**
|
|
15381
|
+
* @optional
|
|
14240
15382
|
*
|
|
14241
|
-
*
|
|
14242
|
-
* - `dd/mm/yyyy`
|
|
14243
|
-
* - `mm/dd/yyyy`
|
|
14244
|
-
* - `yyyy/mm/dd`
|
|
15383
|
+
* @description
|
|
14245
15384
|
*
|
|
14246
|
-
*
|
|
15385
|
+
* Define o intervalo entre os minutos exibidos no painel.
|
|
15386
|
+
*
|
|
15387
|
+
* @default `5`
|
|
14247
15388
|
*/
|
|
14248
|
-
set
|
|
14249
|
-
get
|
|
15389
|
+
set minuteInterval(value: number);
|
|
15390
|
+
get minuteInterval(): number;
|
|
14250
15391
|
/**
|
|
14251
15392
|
* @optional
|
|
14252
15393
|
*
|
|
14253
15394
|
* @description
|
|
14254
15395
|
*
|
|
14255
|
-
*
|
|
15396
|
+
* Define o intervalo entre os segundos exibidos no painel.
|
|
14256
15397
|
*
|
|
14257
|
-
*
|
|
15398
|
+
* @default `1`
|
|
14258
15399
|
*/
|
|
14259
|
-
set
|
|
14260
|
-
get
|
|
15400
|
+
set secondInterval(value: number);
|
|
15401
|
+
get secondInterval(): number;
|
|
14261
15402
|
/**
|
|
14262
15403
|
* @optional
|
|
14263
15404
|
*
|
|
14264
15405
|
* @description
|
|
14265
15406
|
*
|
|
14266
|
-
*
|
|
15407
|
+
* Exibe a coluna de segundos no painel.
|
|
14267
15408
|
*
|
|
14268
|
-
*
|
|
15409
|
+
* @default `false`
|
|
15410
|
+
*/
|
|
15411
|
+
set showSeconds(value: boolean);
|
|
15412
|
+
get showSeconds(): boolean;
|
|
15413
|
+
/**
|
|
15414
|
+
* @optional
|
|
15415
|
+
*
|
|
15416
|
+
* @description
|
|
15417
|
+
*
|
|
15418
|
+
* Padrão de formatação para saída do *model*.
|
|
15419
|
+
*
|
|
15420
|
+
* > Veja os valores válidos no *enum* `PoTimepickerModelFormat`.
|
|
15421
|
+
*/
|
|
15422
|
+
set modelFormat(value: PoTimepickerModelFormat);
|
|
15423
|
+
get modelFormat(): PoTimepickerModelFormat;
|
|
15424
|
+
/**
|
|
15425
|
+
* @optional
|
|
15426
|
+
*
|
|
15427
|
+
* @description
|
|
15428
|
+
*
|
|
15429
|
+
* Idioma do componente.
|
|
14269
15430
|
*/
|
|
14270
|
-
_locale?: string;
|
|
14271
15431
|
set locale(value: string);
|
|
14272
15432
|
get locale(): string;
|
|
14273
15433
|
/**
|
|
@@ -14286,25 +15446,35 @@ declare abstract class PoDatepickerBaseComponent implements ControlValueAccessor
|
|
|
14286
15446
|
*
|
|
14287
15447
|
* @description
|
|
14288
15448
|
*
|
|
14289
|
-
* Define que o
|
|
14290
|
-
* página e não dentro do componente. Essa opção pode ser necessária em cenários com containers que possuem scroll ou
|
|
14291
|
-
* overflow escondido, garantindo o posicionamento correto de ambos próximo ao elemento.
|
|
14292
|
-
*
|
|
14293
|
-
* > Quando utilizado com `p-helper`, leitores de tela como o NVDA podem não ler o conteúdo do popover.
|
|
15449
|
+
* Define que o painel do timer será incluído no body da página.
|
|
14294
15450
|
*
|
|
14295
15451
|
* @default `false`
|
|
14296
15452
|
*/
|
|
14297
15453
|
appendBox: boolean;
|
|
15454
|
+
get is12HourFormat(): boolean;
|
|
14298
15455
|
constructor(languageService: PoLanguageService, cd: ChangeDetectorRef);
|
|
14299
|
-
set date(value: any);
|
|
14300
|
-
get date(): any;
|
|
14301
15456
|
ngOnInit(): void;
|
|
14302
|
-
ngOnDestroy(): void;
|
|
14303
15457
|
protected onThemeChange(): void;
|
|
14304
|
-
|
|
14305
|
-
|
|
14306
|
-
|
|
14307
|
-
|
|
15458
|
+
get autocomplete(): "on" | "off";
|
|
15459
|
+
get timeValue(): string;
|
|
15460
|
+
set timeValue(value: string);
|
|
15461
|
+
protected updateMask(): void;
|
|
15462
|
+
protected isValidTimeString(value: string, minHour?: number, maxHour?: number): boolean;
|
|
15463
|
+
protected isTimeInRange(time: string): boolean;
|
|
15464
|
+
protected timeToMinutes(time: string): number;
|
|
15465
|
+
protected formatOutput(time: string): string;
|
|
15466
|
+
protected setValidationValue(value?: string, minHour?: number, maxHour?: number): void;
|
|
15467
|
+
protected clearValidationValue(): void;
|
|
15468
|
+
protected hasValidationValue(): boolean;
|
|
15469
|
+
protected getValidationValue(controlValue: any): string;
|
|
15470
|
+
protected getValidationHourRange(): {
|
|
15471
|
+
minHour: number;
|
|
15472
|
+
maxHour: number;
|
|
15473
|
+
} | undefined;
|
|
15474
|
+
protected isGeneratedErrorPattern(errorPattern: string): boolean;
|
|
15475
|
+
protected getDefaultInvalidTimeMessage(): string;
|
|
15476
|
+
protected getDefaultOutOfRangeTimeMessage(): string;
|
|
15477
|
+
protected callOnChange(value: any): void;
|
|
14308
15478
|
mapSizeToIcon(size: string): string;
|
|
14309
15479
|
setDisabledState(isDisabled: boolean): void;
|
|
14310
15480
|
registerOnChange(func: any): void;
|
|
@@ -14314,77 +15484,92 @@ declare abstract class PoDatepickerBaseComponent implements ControlValueAccessor
|
|
|
14314
15484
|
[key: string]: any;
|
|
14315
15485
|
};
|
|
14316
15486
|
protected validateModel(model: any): void;
|
|
14317
|
-
protected buildMask(format?: string): PoMask;
|
|
14318
|
-
formatTimezoneAndHour(offset: number): void;
|
|
14319
15487
|
private applySizeBasedOnA11y;
|
|
15488
|
+
protected onLocaleChange(): void;
|
|
14320
15489
|
abstract writeValue(value: any): void;
|
|
14321
|
-
abstract refreshValue(value:
|
|
14322
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
14323
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
15490
|
+
abstract refreshValue(value: string): void;
|
|
15491
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PoTimepickerBaseComponent, never>;
|
|
15492
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoTimepickerBaseComponent, never, never, { "additionalHelpEventTrigger": { "alias": "additionalHelpEventTrigger"; "required": false; }; "autoFocus": { "alias": "p-auto-focus"; "required": false; }; "compactLabel": { "alias": "p-compact-label"; "required": false; "isSignal": true; }; "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; }; "format": { "alias": "p-format"; "required": false; }; "minTime": { "alias": "p-min-time"; "required": false; }; "maxTime": { "alias": "p-max-time"; "required": false; }; "minuteInterval": { "alias": "p-minute-interval"; "required": false; }; "secondInterval": { "alias": "p-second-interval"; "required": false; }; "showSeconds": { "alias": "p-show-seconds"; "required": false; }; "modelFormat": { "alias": "p-model-format"; "required": false; }; "locale": { "alias": "p-locale"; "required": false; }; "loading": { "alias": "p-loading"; "required": false; }; "appendBox": { "alias": "p-append-in-body"; "required": false; }; }, { "onblur": "p-blur"; "onchange": "p-change"; "keydown": "p-keydown"; }, never, never, true, never>;
|
|
14324
15493
|
static ngAcceptInputType_autoFocus: any;
|
|
14325
15494
|
static ngAcceptInputType_appendBox: any;
|
|
14326
15495
|
}
|
|
14327
15496
|
|
|
15497
|
+
type PoTimepickerSegment = 'hour' | 'minute' | 'second';
|
|
14328
15498
|
/**
|
|
14329
|
-
* @docsExtends
|
|
15499
|
+
* @docsExtends PoTimepickerBaseComponent
|
|
14330
15500
|
*
|
|
14331
15501
|
* @example
|
|
14332
15502
|
*
|
|
14333
|
-
* <example name="po-
|
|
14334
|
-
* <file name="sample-po-
|
|
14335
|
-
* <file name="sample-po-
|
|
15503
|
+
* <example name="po-timepicker-basic" title="PO Timepicker Basic">
|
|
15504
|
+
* <file name="sample-po-timepicker-basic/sample-po-timepicker-basic.component.html"> </file>
|
|
15505
|
+
* <file name="sample-po-timepicker-basic/sample-po-timepicker-basic.component.ts"> </file>
|
|
14336
15506
|
* </example>
|
|
14337
15507
|
*
|
|
14338
|
-
* <example name="po-
|
|
14339
|
-
* <file name="sample-po-
|
|
14340
|
-
* <file name="sample-po-
|
|
15508
|
+
* <example name="po-timepicker-labs" title="PO Timepicker Labs">
|
|
15509
|
+
* <file name="sample-po-timepicker-labs/sample-po-timepicker-labs.component.html"> </file>
|
|
15510
|
+
* <file name="sample-po-timepicker-labs/sample-po-timepicker-labs.component.ts"> </file>
|
|
14341
15511
|
* </example>
|
|
14342
15512
|
*
|
|
14343
|
-
* <example name="po-
|
|
14344
|
-
* <file name="sample-po-
|
|
14345
|
-
* <file name="sample-po-
|
|
15513
|
+
* <example name="po-timepicker-scheduling" title="PO Timepicker - Scheduling">
|
|
15514
|
+
* <file name="sample-po-timepicker-scheduling/sample-po-timepicker-scheduling.component.html"> </file>
|
|
15515
|
+
* <file name="sample-po-timepicker-scheduling/sample-po-timepicker-scheduling.component.ts"> </file>
|
|
14346
15516
|
* </example>
|
|
14347
15517
|
*
|
|
14348
|
-
* <example name="po-
|
|
14349
|
-
* <file name="sample-po-
|
|
14350
|
-
* <file name="sample-po-
|
|
15518
|
+
* <example name="po-timepicker-business-hours" title="PO Timepicker - Business Hours">
|
|
15519
|
+
* <file name="sample-po-timepicker-business-hours/sample-po-timepicker-business-hours.component.html"> </file>
|
|
15520
|
+
* <file name="sample-po-timepicker-business-hours/sample-po-timepicker-business-hours.component.ts"> </file>
|
|
14351
15521
|
* </example>
|
|
14352
15522
|
*/
|
|
14353
|
-
declare class
|
|
15523
|
+
declare class PoTimepickerComponent extends PoTimepickerBaseComponent implements AfterViewInit, OnDestroy, OnChanges {
|
|
14354
15524
|
private readonly controlPosition;
|
|
14355
15525
|
private readonly renderer;
|
|
14356
|
-
calendar: PoCalendarComponent;
|
|
14357
15526
|
dialogPicker: ElementRef;
|
|
14358
|
-
|
|
15527
|
+
iconTimepicker: PoButtonComponent;
|
|
14359
15528
|
inputEl: ElementRef;
|
|
15529
|
+
minuteInputEl: ElementRef;
|
|
15530
|
+
secondInputEl: ElementRef;
|
|
15531
|
+
timepickerFieldEl: ElementRef;
|
|
14360
15532
|
iconClean: ElementRef<HTMLElement>;
|
|
14361
15533
|
helperEl?: PoHelperComponent;
|
|
15534
|
+
timerComponent?: PoTimerComponent;
|
|
15535
|
+
periodInputEl: ElementRef;
|
|
14362
15536
|
/** Rótulo do campo. */
|
|
14363
15537
|
label?: string;
|
|
14364
15538
|
/** Texto de apoio do campo. */
|
|
14365
15539
|
help?: string;
|
|
14366
15540
|
displayAdditionalHelp: boolean;
|
|
14367
15541
|
el: ElementRef;
|
|
14368
|
-
hour: string;
|
|
14369
15542
|
id: string;
|
|
14370
15543
|
visible: boolean;
|
|
14371
15544
|
literals: any;
|
|
15545
|
+
hourDisplay: string;
|
|
15546
|
+
minuteDisplay: string;
|
|
15547
|
+
secondDisplay: string;
|
|
15548
|
+
periodDisplay: string;
|
|
15549
|
+
isSegmentFocused: boolean;
|
|
15550
|
+
ariaLiveMessage: string;
|
|
14372
15551
|
eventListenerFunction: () => void;
|
|
14373
15552
|
eventResizeListener: () => void;
|
|
15553
|
+
get cleanElementRef(): {
|
|
15554
|
+
nativeElement: {
|
|
15555
|
+
value: string;
|
|
15556
|
+
};
|
|
15557
|
+
};
|
|
14374
15558
|
private clickListener;
|
|
14375
|
-
private readonly dateRegex;
|
|
14376
|
-
private readonly isoRegex;
|
|
14377
15559
|
private timeoutChange;
|
|
14378
15560
|
private valueBeforeChange;
|
|
14379
|
-
private subscriptionValidator;
|
|
14380
|
-
get autocomplete(): "on" | "off";
|
|
14381
|
-
get dateInputValue(): string;
|
|
14382
15561
|
constructor();
|
|
14383
|
-
|
|
15562
|
+
get hourPlaceholder(): string;
|
|
15563
|
+
get minutePlaceholder(): string;
|
|
15564
|
+
get secondPlaceholder(): string;
|
|
15565
|
+
private get customPlaceholderSegments();
|
|
15566
|
+
private getCustomPlaceholderSegment;
|
|
15567
|
+
onHostFocusOut(event: FocusEvent): void;
|
|
14384
15568
|
onKeydown($event?: any): void;
|
|
14385
15569
|
ngAfterViewInit(): void;
|
|
14386
15570
|
ngOnChanges(changes: SimpleChanges): void;
|
|
14387
15571
|
ngOnDestroy(): void;
|
|
15572
|
+
protected onLocaleChange(): void;
|
|
14388
15573
|
emitAdditionalHelp(): void;
|
|
14389
15574
|
/**
|
|
14390
15575
|
* Função que atribui foco ao componente.
|
|
@@ -14392,24 +15577,25 @@ declare class PoDatepickerComponent extends PoDatepickerBaseComponent implements
|
|
|
14392
15577
|
* Para utilizá-la é necessário ter a instância do componente no DOM, podendo ser utilizado o ViewChild da seguinte forma:
|
|
14393
15578
|
*
|
|
14394
15579
|
* ```
|
|
14395
|
-
* import {
|
|
15580
|
+
* import { PoTimepickerComponent } from '@po-ui/ng-components';
|
|
14396
15581
|
*
|
|
14397
15582
|
* ...
|
|
14398
15583
|
*
|
|
14399
|
-
* @ViewChild(
|
|
15584
|
+
* @ViewChild(PoTimepickerComponent, { static: true }) timepicker: PoTimepickerComponent;
|
|
14400
15585
|
*
|
|
14401
|
-
*
|
|
14402
|
-
* this.
|
|
15586
|
+
* focusTimepicker() {
|
|
15587
|
+
* this.timepicker.focus();
|
|
14403
15588
|
* }
|
|
14404
15589
|
* ```
|
|
14405
15590
|
*/
|
|
14406
15591
|
focus(): void;
|
|
14407
|
-
getAdditionalHelpTooltip():
|
|
15592
|
+
getAdditionalHelpTooltip(): any;
|
|
14408
15593
|
togglePicker(focusInput?: boolean): void;
|
|
14409
|
-
|
|
14410
|
-
|
|
15594
|
+
closeTimer(focusInput?: boolean, skipRefocus?: boolean): void;
|
|
15595
|
+
timerSelected(time: string): void;
|
|
14411
15596
|
wasClickedOnPicker(event: any): void;
|
|
14412
15597
|
hasInvalidClass(): boolean;
|
|
15598
|
+
hasValue(): boolean;
|
|
14413
15599
|
getErrorPattern(): string;
|
|
14414
15600
|
clear(): void;
|
|
14415
15601
|
clearAndFocus(): void;
|
|
@@ -14417,61 +15603,119 @@ declare class PoDatepickerComponent extends PoDatepickerBaseComponent implements
|
|
|
14417
15603
|
eventOnClick($event: any): void;
|
|
14418
15604
|
onKeyDown(event: KeyboardEvent): void;
|
|
14419
15605
|
onKeyPress(event: any): void;
|
|
14420
|
-
|
|
14421
|
-
|
|
15606
|
+
onSegmentInput(event: Event, segment: PoTimepickerSegment): void;
|
|
15607
|
+
onSegmentKeydown(event: KeyboardEvent, segment: PoTimepickerSegment): void;
|
|
15608
|
+
private handleSegmentNavigation;
|
|
15609
|
+
private handleSegmentArrowKeys;
|
|
15610
|
+
private handleSegmentNonNumericBlock;
|
|
15611
|
+
onSegmentBlur(event: FocusEvent): void;
|
|
15612
|
+
onFieldClick(event: MouseEvent): void;
|
|
15613
|
+
onSegmentFocus(): void;
|
|
15614
|
+
onPeriodSegmentKeydown(event: KeyboardEvent): void;
|
|
15615
|
+
onPeriodSegmentClick(event: MouseEvent): void;
|
|
15616
|
+
refreshValue(value: string): void;
|
|
14422
15617
|
/**
|
|
14423
15618
|
* Método que exibe `p-helper` ou executa a ação definida em `p-helper{eventOnClick}` ou em `p-additionalHelp`.
|
|
14424
|
-
* Para isso, será necessário configurar uma tecla de atalho utilizando o evento `p-keydown`.
|
|
14425
|
-
*
|
|
14426
|
-
* > Exibe ou oculta o conteúdo do componente `po-helper` quando o componente estiver com foco.
|
|
14427
|
-
*
|
|
14428
|
-
* ```
|
|
14429
|
-
* // Exemplo com p-label e p-helper
|
|
14430
|
-
* <po-datepicker
|
|
14431
|
-
* #datepicker
|
|
14432
|
-
* ...
|
|
14433
|
-
* p-label="Label do datepicker"
|
|
14434
|
-
* [p-helper]="helperOptions"
|
|
14435
|
-
* (p-keydown)="onKeyDown($event, datepicker)"
|
|
14436
|
-
* ></po-datepicker>
|
|
14437
|
-
* ```
|
|
14438
|
-
* ```
|
|
14439
|
-
* ...
|
|
14440
|
-
* onKeyDown(event: KeyboardEvent, inp: PoDatepickerComponent): void {
|
|
14441
|
-
* if (event.code === 'F9') {
|
|
14442
|
-
* inp.showAdditionalHelp();
|
|
14443
|
-
* }
|
|
14444
|
-
* }
|
|
14445
|
-
* ```
|
|
14446
15619
|
*/
|
|
14447
15620
|
showAdditionalHelp(): boolean;
|
|
14448
15621
|
writeValue(value: any): void;
|
|
14449
|
-
isValidDateIso(value: string): boolean;
|
|
14450
|
-
isValidExtendedIso(value: any): boolean;
|
|
14451
|
-
hasOverlayClass(element: any): any;
|
|
14452
|
-
verifyErrorAsync(value: any): void;
|
|
14453
15622
|
verifyMobile(): RegExpMatchArray;
|
|
15623
|
+
handleCleanKeyboardTab(event: KeyboardEvent): void;
|
|
15624
|
+
onTimerKeyDown(event: KeyboardEvent): void;
|
|
15625
|
+
onTimerBoundaryTab(payload: {
|
|
15626
|
+
direction: 'forward' | 'backward';
|
|
15627
|
+
event: KeyboardEvent;
|
|
15628
|
+
}): void;
|
|
15629
|
+
onTimerFocusOut(event: FocusEvent): void;
|
|
15630
|
+
setHelper(label?: string): {
|
|
15631
|
+
hideAdditionalHelp: boolean;
|
|
15632
|
+
helperSettings?: any;
|
|
15633
|
+
};
|
|
15634
|
+
/**
|
|
15635
|
+
* Atualiza os valores exibidos nos inputs de segmento, convertendo para formato 12h com AM/PM quando necessário.
|
|
15636
|
+
* O timeValue interno sempre armazena em formato 24h (ISO), mas a exibição pode ser 12h.
|
|
15637
|
+
*/
|
|
15638
|
+
private updateInputDisplay;
|
|
15639
|
+
/** Atualiza a mensagem aria-live com o valor do horario para anuncio por leitores de tela. */
|
|
15640
|
+
private updateAriaLiveMessage;
|
|
15641
|
+
/** Constroi a string de horario no formato de exibicao atual (12h ou 24h). */
|
|
15642
|
+
private buildDisplayTime;
|
|
15643
|
+
/** Normaliza valores `HH:mm` para `HH:mm:00` quando segundos estão habilitados. */
|
|
15644
|
+
private normalizeTimeValueForDisplay;
|
|
15645
|
+
/** Limpa todos os valores de exibicao dos segmentos e seus respectivos elementos input. */
|
|
15646
|
+
private clearSegmentDisplays;
|
|
15647
|
+
private getDefaultPeriodDisplay;
|
|
15648
|
+
/** Sincroniza os valores dos elementos input nativos com as propriedades de exibicao. */
|
|
15649
|
+
private syncSegmentInputElements;
|
|
15650
|
+
/** Avanca o foco para o proximo input de segmento. */
|
|
15651
|
+
private advanceToNextSegment;
|
|
15652
|
+
/** Avanca o foco para o input de segmento anterior. */
|
|
15653
|
+
private advanceToPreviousSegment;
|
|
15654
|
+
/** Foca o ultimo input de segmento visivel. */
|
|
15655
|
+
private focusLastSegment;
|
|
15656
|
+
/** Verifica se o segmento informado e o ultimo visivel. */
|
|
15657
|
+
private isLastSegment;
|
|
15658
|
+
/** Alterna entre AM e PM no display de periodo e atualiza o modelo. */
|
|
15659
|
+
private togglePeriod;
|
|
15660
|
+
/** Incrementa ou decrementa o valor de um segmento na direcao indicada (+1 ou -1), respeitando limites e intervalos. */
|
|
15661
|
+
private incrementSegment;
|
|
15662
|
+
private incrementHourSegment;
|
|
15663
|
+
private incrementIntervalSegment;
|
|
15664
|
+
private normalizeSingleDigitSegment;
|
|
15665
|
+
private shouldCommitForInternalFocusTarget;
|
|
15666
|
+
/** Combina os valores dos segmentos em uma string de horario e atualiza o modelo. */
|
|
15667
|
+
private updateCombinedValue;
|
|
15668
|
+
/** Monta a string parcial combinando os segmentos preenchidos e vazios. */
|
|
15669
|
+
private buildPartialCombined;
|
|
15670
|
+
private areSegmentsComplete;
|
|
15671
|
+
private buildDisplayCombined;
|
|
15672
|
+
private convertDisplayTo24h;
|
|
15673
|
+
/** Completa valores de segmento incompletos e atualiza o modelo no blur. */
|
|
15674
|
+
private validateAndUpdateModel;
|
|
15675
|
+
private updateTimeFromInput;
|
|
15676
|
+
private applyInputValidationError;
|
|
14454
15677
|
private controlChangeEmitter;
|
|
14455
|
-
|
|
15678
|
+
/**
|
|
15679
|
+
* Completa automaticamente os segundos com `:00` ao fechar o timer
|
|
15680
|
+
* quando `showSeconds=true` e o usuario preencheu apenas hora e minuto (HH:mm).
|
|
15681
|
+
*
|
|
15682
|
+
* Esse comportamento emite `callOnChange` e `controlChangeEmitter`, o que
|
|
15683
|
+
* significa que formularios reativos observando `valueChanges` receberao
|
|
15684
|
+
* uma emissao adicional no momento do fechamento do timer.
|
|
15685
|
+
*/
|
|
15686
|
+
private completeSecondsOnClose;
|
|
14456
15687
|
private initializeListeners;
|
|
14457
15688
|
private isAdditionalHelpEventTriggered;
|
|
14458
|
-
private isFocusOnFirstCombo;
|
|
14459
|
-
private isFocusOnLastCombo;
|
|
14460
15689
|
private readonly onScroll;
|
|
14461
15690
|
private removeListeners;
|
|
14462
15691
|
private setDialogPickerStyleDisplay;
|
|
14463
|
-
private
|
|
14464
|
-
protected
|
|
14465
|
-
handleCleanKeyboardTab(event: KeyboardEvent): void;
|
|
15692
|
+
private setTimerPosition;
|
|
15693
|
+
protected adjustTimerPosition(): void;
|
|
14466
15694
|
private shouldHandleTab;
|
|
14467
|
-
private
|
|
14468
|
-
|
|
14469
|
-
|
|
14470
|
-
|
|
14471
|
-
|
|
14472
|
-
|
|
14473
|
-
|
|
14474
|
-
|
|
15695
|
+
private focusTimer;
|
|
15696
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PoTimepickerComponent, never>;
|
|
15697
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoTimepickerComponent, "po-timepicker", never, { "label": { "alias": "p-label"; "required": false; }; "help": { "alias": "p-help"; "required": false; }; }, {}, never, never, false, never>;
|
|
15698
|
+
}
|
|
15699
|
+
|
|
15700
|
+
/**
|
|
15701
|
+
* @description
|
|
15702
|
+
* Módulo do componente `po-timer`.
|
|
15703
|
+
*/
|
|
15704
|
+
declare class PoTimerModule {
|
|
15705
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PoTimerModule, never>;
|
|
15706
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PoTimerModule, [typeof PoTimerComponent], [typeof i2.CommonModule, typeof PoButtonModule], [typeof PoTimerComponent]>;
|
|
15707
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PoTimerModule>;
|
|
15708
|
+
}
|
|
15709
|
+
|
|
15710
|
+
/**
|
|
15711
|
+
* @description
|
|
15712
|
+
*
|
|
15713
|
+
* Módulo do componente `po-timepicker`.
|
|
15714
|
+
*/
|
|
15715
|
+
declare class PoTimepickerModule {
|
|
15716
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PoTimepickerModule, never>;
|
|
15717
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PoTimepickerModule, [typeof PoTimepickerComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof PoFieldContainerModule, typeof i5.OverlayModule, typeof PoCleanModule, typeof PoLoadingModule, typeof PoTimerModule, typeof PoButtonModule, typeof PoHelperModule], [typeof PoTimepickerComponent]>;
|
|
15718
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PoTimepickerModule>;
|
|
14475
15719
|
}
|
|
14476
15720
|
|
|
14477
15721
|
/**
|
|
@@ -14641,6 +15885,59 @@ declare abstract class PoDatepickerRangeBaseComponent implements ControlValueAcc
|
|
|
14641
15885
|
* @default `false`
|
|
14642
15886
|
*/
|
|
14643
15887
|
compactLabel: i0.InputSignalWithTransform<boolean, unknown>;
|
|
15888
|
+
/**
|
|
15889
|
+
* @optional
|
|
15890
|
+
*
|
|
15891
|
+
* @description
|
|
15892
|
+
*
|
|
15893
|
+
* Habilita a exibição dos presets padrão de intervalos de data no painel lateral do calendário.
|
|
15894
|
+
*
|
|
15895
|
+
* Aceita os seguintes valores:
|
|
15896
|
+
* - `true`: exibe todos os presets padrão (Amanhã, Hoje, Ontem, Últimos 7 dias, Últimos 14 dias, Últimos 30 dias, Últimos 3 meses, Últimos 6 meses).
|
|
15897
|
+
* - `false`: não exibe os presets padrão.
|
|
15898
|
+
* - `Array<string>`: exibe apenas os presets padrão cujos labels estejam no array informado.
|
|
15899
|
+
* > Label dos presets: tomorrow, today, yesterday, 7days, 14days, 30days, 3months, 6months.
|
|
15900
|
+
*
|
|
15901
|
+
* O preset "today" é obrigatório e será incluído automaticamente mesmo que não esteja no array.
|
|
15902
|
+
*
|
|
15903
|
+
* Caso `p-range-preset-options` também seja informado, os presets customizados serão exibidos junto aos presets padrão,
|
|
15904
|
+
* ordenados automaticamente por temporalidade com base na data início (Futuro → Presente → Passado).
|
|
15905
|
+
*
|
|
15906
|
+
* @default `false`
|
|
15907
|
+
*/
|
|
15908
|
+
set rangePresets(value: boolean | Array<string> | string);
|
|
15909
|
+
get rangePresets(): boolean | Array<string>;
|
|
15910
|
+
private _rangePresets;
|
|
15911
|
+
/**
|
|
15912
|
+
* @optional
|
|
15913
|
+
*
|
|
15914
|
+
* @description
|
|
15915
|
+
*
|
|
15916
|
+
* Lista de presets customizados de intervalos de data exibidos no painel lateral do calendário.
|
|
15917
|
+
*
|
|
15918
|
+
* Quando informado sem `p-range-presets`, exibe apenas os presets customizados.
|
|
15919
|
+
* Quando informado junto com `p-range-presets` habilitado, os presets customizados serão exibidos junto aos presets padrão,
|
|
15920
|
+
* ordenados automaticamente por temporalidade com base na data início (Futuro → Presente → Passado).
|
|
15921
|
+
*
|
|
15922
|
+
* Para utilizar presets customizados, informe um array de objetos que implementam a interface `PoCalendarRangePreset`.
|
|
15923
|
+
*/
|
|
15924
|
+
rangePresetOptions?: Array<PoCalendarRangePreset>;
|
|
15925
|
+
/**
|
|
15926
|
+
* @optional
|
|
15927
|
+
*
|
|
15928
|
+
* @description
|
|
15929
|
+
*
|
|
15930
|
+
* Define a ordenação dos presets na lista.
|
|
15931
|
+
*
|
|
15932
|
+
* Valores aceitos:
|
|
15933
|
+
* - `'asc'` (padrão): presets mais próximos de hoje aparecem primeiro.
|
|
15934
|
+
* - `'desc'`: presets mais distantes de hoje aparecem primeiro.
|
|
15935
|
+
*
|
|
15936
|
+
* A ordenação é aplicada dentro de cada grupo de temporalidade com base na data início (Futuro → Presente → Passado).
|
|
15937
|
+
*
|
|
15938
|
+
* @default `asc`
|
|
15939
|
+
*/
|
|
15940
|
+
rangePresetsOrder: 'asc' | 'desc';
|
|
14644
15941
|
/**
|
|
14645
15942
|
* @optional
|
|
14646
15943
|
*
|
|
@@ -14984,7 +16281,7 @@ declare abstract class PoDatepickerRangeBaseComponent implements ControlValueAcc
|
|
|
14984
16281
|
protected abstract resetDateRangeInputValidation(): void;
|
|
14985
16282
|
protected abstract updateScreenByModel(dateRange: PoDatepickerRange): any;
|
|
14986
16283
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoDatepickerRangeBaseComponent, never>;
|
|
14987
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoDatepickerRangeBaseComponent, never, never, { "additionalHelpEventTrigger": { "alias": "additionalHelpEventTrigger"; "required": false; }; "name": { "alias": "name"; "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; }; "compactLabel": { "alias": "p-compact-label"; "required": false; "isSignal": true; }; "help": { "alias": "p-help"; "required": false; }; "label": { "alias": "p-label"; "required": false; }; "optional": { "alias": "p-optional"; "required": false; }; "placeholder": { "alias": "p-placeholder"; "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; }; "clean": { "alias": "p-clean"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "endDate": { "alias": "p-end-date"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "loading": { "alias": "p-loading"; "required": false; }; "minDate": { "alias": "p-min-date"; "required": false; }; "maxDate": { "alias": "p-max-date"; "required": false; }; "noAutocomplete": { "alias": "p-no-autocomplete"; "required": false; }; "readonly": { "alias": "p-readonly"; "required": false; }; "required": { "alias": "p-required"; "required": false; }; "showRequired": { "alias": "p-show-required"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "startDate": { "alias": "p-start-date"; "required": false; }; "locale": { "alias": "p-locale"; "required": false; }; }, { "additionalHelp": "p-additional-help"; "onChange": "p-change"; "keydown": "p-keydown"; }, never, never, true, never>;
|
|
16284
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoDatepickerRangeBaseComponent, never, never, { "additionalHelpEventTrigger": { "alias": "additionalHelpEventTrigger"; "required": false; }; "name": { "alias": "name"; "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; }; "compactLabel": { "alias": "p-compact-label"; "required": false; "isSignal": true; }; "rangePresets": { "alias": "p-range-presets"; "required": false; }; "rangePresetOptions": { "alias": "p-range-preset-options"; "required": false; }; "rangePresetsOrder": { "alias": "p-range-presets-order"; "required": false; }; "help": { "alias": "p-help"; "required": false; }; "label": { "alias": "p-label"; "required": false; }; "optional": { "alias": "p-optional"; "required": false; }; "placeholder": { "alias": "p-placeholder"; "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; }; "clean": { "alias": "p-clean"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "endDate": { "alias": "p-end-date"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "loading": { "alias": "p-loading"; "required": false; }; "minDate": { "alias": "p-min-date"; "required": false; }; "maxDate": { "alias": "p-max-date"; "required": false; }; "noAutocomplete": { "alias": "p-no-autocomplete"; "required": false; }; "readonly": { "alias": "p-readonly"; "required": false; }; "required": { "alias": "p-required"; "required": false; }; "showRequired": { "alias": "p-show-required"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "startDate": { "alias": "p-start-date"; "required": false; }; "locale": { "alias": "p-locale"; "required": false; }; }, { "additionalHelp": "p-additional-help"; "onChange": "p-change"; "keydown": "p-keydown"; }, never, never, true, never>;
|
|
14988
16285
|
static ngAcceptInputType_appendBox: any;
|
|
14989
16286
|
static ngAcceptInputType_autoFocus: any;
|
|
14990
16287
|
}
|
|
@@ -14999,6 +16296,11 @@ declare abstract class PoDatepickerRangeBaseComponent implements ControlValueAcc
|
|
|
14999
16296
|
* <file name="sample-po-datepicker-range-basic/sample-po-datepicker-range-basic.component.ts"> </file>
|
|
15000
16297
|
* </example>
|
|
15001
16298
|
*
|
|
16299
|
+
* <example name="po-datepicker-range-presets" title="PO Datepicker Range - Presets">
|
|
16300
|
+
* <file name="sample-po-datepicker-range-presets/sample-po-datepicker-range-presets.component.html"> </file>
|
|
16301
|
+
* <file name="sample-po-datepicker-range-presets/sample-po-datepicker-range-presets.component.ts"> </file>
|
|
16302
|
+
* </example>
|
|
16303
|
+
*
|
|
15002
16304
|
* <example name="po-datepicker-range-labs" title="PO Datepicker Range Labs">
|
|
15003
16305
|
* <file name="sample-po-datepicker-range-labs/sample-po-datepicker-range-labs.component.html"> </file>
|
|
15004
16306
|
* <file name="sample-po-datepicker-range-labs/sample-po-datepicker-range-labs.component.ts"> </file>
|
|
@@ -15030,9 +16332,11 @@ declare class PoDatepickerRangeComponent extends PoDatepickerRangeBaseComponent
|
|
|
15030
16332
|
iconClean: ElementRef<HTMLElement>;
|
|
15031
16333
|
id: string;
|
|
15032
16334
|
isCalendarVisible: boolean;
|
|
16335
|
+
widthWithPresets: boolean;
|
|
15033
16336
|
private clickListener;
|
|
15034
16337
|
private eventResizeListener;
|
|
15035
16338
|
private readonly poDatepickerRangeElement;
|
|
16339
|
+
private readonly MIN_CALENDAR_WIDTH_WITH_PRESETS;
|
|
15036
16340
|
get autocomplete(): "on" | "off";
|
|
15037
16341
|
get enableCleaner(): boolean;
|
|
15038
16342
|
get endDateInputName(): string;
|
|
@@ -15081,6 +16385,12 @@ declare class PoDatepickerRangeComponent extends PoDatepickerRangeBaseComponent
|
|
|
15081
16385
|
onFocus(event: any): void;
|
|
15082
16386
|
onKeydown(event?: any): void;
|
|
15083
16387
|
onKeyPress(event: any): void;
|
|
16388
|
+
private handleShiftTabWithCleaner;
|
|
16389
|
+
private handleShiftTabWithoutCleaner;
|
|
16390
|
+
private handleTabWithCalendarVisible;
|
|
16391
|
+
private handleMobileNavigation;
|
|
16392
|
+
private handlePresetNavigation;
|
|
16393
|
+
private handleComboNavigation;
|
|
15084
16394
|
onKeydownDatepickerRange($event?: any): void;
|
|
15085
16395
|
onKeyup(event: any): void;
|
|
15086
16396
|
resetDateRangeInputValidation(): void;
|
|
@@ -15110,6 +16420,7 @@ declare class PoDatepickerRangeComponent extends PoDatepickerRangeBaseComponent
|
|
|
15110
16420
|
* ```
|
|
15111
16421
|
*/
|
|
15112
16422
|
showAdditionalHelp(): boolean;
|
|
16423
|
+
enableHorizontalMouseWheel(): void;
|
|
15113
16424
|
toggleCalendar(): void;
|
|
15114
16425
|
updateScreenByModel(model: PoDatepickerRange): void;
|
|
15115
16426
|
onCalendarKeyDown(event: KeyboardEvent): void;
|
|
@@ -15117,6 +16428,10 @@ declare class PoDatepickerRangeComponent extends PoDatepickerRangeBaseComponent
|
|
|
15117
16428
|
hideAdditionalHelp: boolean;
|
|
15118
16429
|
helperSettings?: any;
|
|
15119
16430
|
};
|
|
16431
|
+
onResize(): void;
|
|
16432
|
+
private calculateWidthWithPresets;
|
|
16433
|
+
private updateWidthWithPresets;
|
|
16434
|
+
verifyMobile(): RegExpMatchArray;
|
|
15120
16435
|
setCalendarPosition(): void;
|
|
15121
16436
|
private applyFocusOnDatePickerRangeField;
|
|
15122
16437
|
private formatDate;
|
|
@@ -22030,6 +23345,7 @@ declare abstract class PoTextareaBaseComponent implements ControlValueAccessor,
|
|
|
22030
23345
|
declare class PoTextareaComponent extends PoTextareaBaseComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
22031
23346
|
private readonly el;
|
|
22032
23347
|
inputEl: ElementRef;
|
|
23348
|
+
textareaBodyEl: ElementRef;
|
|
22033
23349
|
helperEl?: PoHelperComponent;
|
|
22034
23350
|
id: string;
|
|
22035
23351
|
valueBeforeChange: any;
|
|
@@ -22104,7 +23420,7 @@ declare class PoTextareaComponent extends PoTextareaBaseComponent implements Aft
|
|
|
22104
23420
|
};
|
|
22105
23421
|
private readonly onWindowResize;
|
|
22106
23422
|
private checkScrollState;
|
|
22107
|
-
private
|
|
23423
|
+
private syncContainerWidth;
|
|
22108
23424
|
private initResizeObserver;
|
|
22109
23425
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoTextareaComponent, never>;
|
|
22110
23426
|
static ɵcmp: i0.ɵɵComponentDeclaration<PoTextareaComponent, "po-textarea", never, {}, {}, never, never, false, never>;
|
|
@@ -22637,7 +23953,7 @@ declare class PoServicesModule {
|
|
|
22637
23953
|
*/
|
|
22638
23954
|
declare class PoFieldModule {
|
|
22639
23955
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoFieldModule, never>;
|
|
22640
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PoFieldModule, [typeof PoMultiselectOptionTemplateDirective, typeof PoDecimalComponent, typeof PoDatepickerRangeComponent, typeof PoEmailComponent, typeof PoInputComponent, typeof PoLoginComponent, typeof PoLookupComponent, typeof PoLookupModalComponent, typeof PoMultiselectComponent, typeof PoMultiselectDropdownComponent, typeof PoNumberComponent, typeof PoPasswordComponent, typeof PoRichTextBodyComponent, typeof PoRichTextComponent, typeof PoRichTextImageModalComponent, typeof PoRichTextLinkModalComponent, typeof PoRichTextToolbarComponent, typeof PoSelectComponent, typeof PoTextareaComponent, typeof PoUploadComponent, typeof PoUploadDragDropComponent, typeof PoUploadDragDropDirective, typeof PoUploadDragDropAreaOverlayComponent, typeof PoUploadDragDropAreaComponent, typeof PoUploadFileRestrictionsComponent, typeof PoUrlComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.FormsModule, typeof i5.OverlayModule, typeof PoButtonGroupModule, typeof PoButtonModule, typeof PoCleanModule, typeof PoCalendarModule, typeof PoComboModule, typeof PoCheckboxGroupModule, typeof PoRadioGroupModule, typeof PoContainerModule, typeof PoDatepickerModule, typeof PoDisclaimerGroupModule, typeof PoDisclaimerModule, typeof PoFieldContainerModule, typeof PoLoadingModule, typeof PoModalModule, typeof PoProgressModule, typeof PoServicesModule, typeof PoTableModule, typeof PoTooltipModule, typeof PoIconModule, typeof PoCheckboxModule, typeof PoRadioModule, typeof PoLabelModule, typeof PoLinkModule, typeof PoListBoxModule, typeof PoSwitchModule, typeof PoTagModule, typeof PoHelperModule], [typeof PoCheckboxGroupModule, typeof PoRadioGroupModule, typeof PoCleanModule, typeof PoDatepickerModule, typeof PoComboModule, typeof PoMultiselectOptionTemplateDirective, typeof PoDecimalComponent, typeof PoDatepickerRangeComponent, typeof PoEmailComponent, typeof PoFieldContainerModule, typeof PoInputComponent, typeof PoLoginComponent, typeof PoLookupComponent, typeof PoLookupModalComponent, typeof PoMultiselectComponent, typeof PoNumberComponent, typeof PoPasswordComponent, typeof PoRichTextComponent, typeof PoSelectComponent, typeof PoTextareaComponent, typeof PoUploadComponent, typeof PoUrlComponent, typeof PoCheckboxModule, typeof PoRadioModule, typeof PoLabelModule, typeof PoSwitchModule, typeof PoTagModule]>;
|
|
23956
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PoFieldModule, [typeof PoMultiselectOptionTemplateDirective, typeof PoDecimalComponent, typeof PoDatepickerRangeComponent, typeof PoEmailComponent, typeof PoInputComponent, typeof PoLoginComponent, typeof PoLookupComponent, typeof PoLookupModalComponent, typeof PoMultiselectComponent, typeof PoMultiselectDropdownComponent, typeof PoNumberComponent, typeof PoPasswordComponent, typeof PoRichTextBodyComponent, typeof PoRichTextComponent, typeof PoRichTextImageModalComponent, typeof PoRichTextLinkModalComponent, typeof PoRichTextToolbarComponent, typeof PoSelectComponent, typeof PoTextareaComponent, typeof PoUploadComponent, typeof PoUploadDragDropComponent, typeof PoUploadDragDropDirective, typeof PoUploadDragDropAreaOverlayComponent, typeof PoUploadDragDropAreaComponent, typeof PoUploadFileRestrictionsComponent, typeof PoUrlComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.FormsModule, typeof i5.OverlayModule, typeof PoButtonGroupModule, typeof PoButtonModule, typeof PoCleanModule, typeof PoCalendarModule, typeof PoComboModule, typeof PoCheckboxGroupModule, typeof PoRadioGroupModule, typeof PoContainerModule, typeof PoDatepickerModule, typeof PoTimepickerModule, typeof PoDisclaimerGroupModule, typeof PoDisclaimerModule, typeof PoFieldContainerModule, typeof PoLoadingModule, typeof PoModalModule, typeof PoProgressModule, typeof PoServicesModule, typeof PoTableModule, typeof PoTooltipModule, typeof PoIconModule, typeof PoCheckboxModule, typeof PoRadioModule, typeof PoLabelModule, typeof PoLinkModule, typeof PoListBoxModule, typeof PoSwitchModule, typeof PoTagModule, typeof PoHelperModule], [typeof PoCheckboxGroupModule, typeof PoRadioGroupModule, typeof PoCleanModule, typeof PoDatepickerModule, typeof PoTimepickerModule, typeof PoComboModule, typeof PoMultiselectOptionTemplateDirective, typeof PoDecimalComponent, typeof PoDatepickerRangeComponent, typeof PoEmailComponent, typeof PoFieldContainerModule, typeof PoInputComponent, typeof PoLoginComponent, typeof PoLookupComponent, typeof PoLookupModalComponent, typeof PoMultiselectComponent, typeof PoNumberComponent, typeof PoPasswordComponent, typeof PoRichTextComponent, typeof PoSelectComponent, typeof PoTextareaComponent, typeof PoUploadComponent, typeof PoUrlComponent, typeof PoCheckboxModule, typeof PoRadioModule, typeof PoLabelModule, typeof PoSwitchModule, typeof PoTagModule]>;
|
|
22641
23957
|
static ɵinj: i0.ɵɵInjectorDeclaration<PoFieldModule>;
|
|
22642
23958
|
}
|
|
22643
23959
|
|
|
@@ -23083,15 +24399,29 @@ interface PoDynamicFormField extends PoDynamicField {
|
|
|
23083
24399
|
*/
|
|
23084
24400
|
listboxControlPosition?: 'top' | 'bottom';
|
|
23085
24401
|
/**
|
|
23086
|
-
*
|
|
24402
|
+
* Habilita um estado de carregamento no componente, desabilitando-o e exibindo um ícone de carregamento.
|
|
24403
|
+
*
|
|
24404
|
+
* > Por padrão é `false`.
|
|
24405
|
+
*
|
|
24406
|
+
* **Componentes compatíveis:** `po-datepicker`, `po-datepicker-range`, `po-number`, `po-decimal`,
|
|
24407
|
+
* `po-input`, `po-select`, `po-switch`, `po-combo`, `po-lookup`, `po-multiselect`,
|
|
24408
|
+
* `po-textarea`, `po-password`, `po-upload`.
|
|
24409
|
+
*/
|
|
24410
|
+
loading?: boolean;
|
|
24411
|
+
/**
|
|
24412
|
+
* Valor máximo a ser informado no componente, podendo ser utilizado quando o tipo de dado por *number*, *date*, *dateTime* ou *time*.
|
|
24413
|
+
*
|
|
24414
|
+
* > Para `po-timepicker`, o valor deve estar no formato `HH:mm` ou `HH:mm:ss`.
|
|
23087
24415
|
*
|
|
23088
|
-
* **Componentes compatíveis:** `po-datepicker`, `po-datepicker-range`, `po-number`, `po-decimal`
|
|
24416
|
+
* **Componentes compatíveis:** `po-datepicker`, `po-datepicker-range`, `po-number`, `po-decimal`, `po-timepicker`
|
|
23089
24417
|
* */
|
|
23090
24418
|
maxValue?: string | number;
|
|
23091
24419
|
/**
|
|
23092
|
-
* Valor mínimo a ser informado no componente, podendo ser utilizado quando o tipo de dado por *number*, *date* ou *
|
|
24420
|
+
* Valor mínimo a ser informado no componente, podendo ser utilizado quando o tipo de dado por *number*, *date*, *dateTime* ou *time*.
|
|
23093
24421
|
*
|
|
23094
|
-
*
|
|
24422
|
+
* > Para `po-timepicker`, o valor deve estar no formato `HH:mm` ou `HH:mm:ss`.
|
|
24423
|
+
*
|
|
24424
|
+
* **Componentes compatíveis:** `po-datepicker`, `po-datepicker-range`, `po-number`, `po-decimal`, `po-timepicker`
|
|
23095
24425
|
*/
|
|
23096
24426
|
minValue?: string | number;
|
|
23097
24427
|
/** Quantidade de linhas exibidas no `po-textarea`. */
|
|
@@ -23209,6 +24539,11 @@ interface PoDynamicFormField extends PoDynamicField {
|
|
|
23209
24539
|
* - mm/dd/yyyy
|
|
23210
24540
|
* - yyyy/mm/dd
|
|
23211
24541
|
*
|
|
24542
|
+
* Ao utilizar com o `type` *PoDynamicFieldType.Time*, define o formato de exibição do horário:
|
|
24543
|
+
*
|
|
24544
|
+
* Valores válidos:
|
|
24545
|
+
* - `24`: formato de 24 horas (padrão)
|
|
24546
|
+
* - `12`: formato de 12 horas com indicador AM/PM
|
|
23212
24547
|
*
|
|
23213
24548
|
* Também pode-se utilizar em conjunto com `searchService`, informando uma lista de propriedades que será utilizado
|
|
23214
24549
|
* para formatação da exibição no campo, por exemplo: ["id", "name"].
|
|
@@ -23316,12 +24651,20 @@ interface PoDynamicFormField extends PoDynamicField {
|
|
|
23316
24651
|
* Permite esconder a função de espiar a senha digitada no `po-password`.
|
|
23317
24652
|
*/
|
|
23318
24653
|
hidePasswordPeek?: boolean;
|
|
24654
|
+
/**
|
|
24655
|
+
* Define o formato do valor do horário a ser utilizado no model do `po-timepicker`.
|
|
24656
|
+
*
|
|
24657
|
+
* > Veja os valores válidos no `PoTimepickerModelFormat`.
|
|
24658
|
+
*
|
|
24659
|
+
* **Componente compatível:** `po-timepicker`
|
|
24660
|
+
*/
|
|
24661
|
+
modelFormat?: PoTimepickerModelFormat;
|
|
23319
24662
|
/**
|
|
23320
24663
|
* Padrão de formatação para saída do model, independentemente do formato de entrada.
|
|
23321
24664
|
*
|
|
23322
|
-
* > Veja os valores válidos no `
|
|
24665
|
+
* > Veja os valores válidos no `PoDatepickerIsoFormat`.
|
|
23323
24666
|
*
|
|
23324
|
-
* **Componente compatível:** po-datepicker
|
|
24667
|
+
* **Componente compatível:** `po-datepicker`
|
|
23325
24668
|
*/
|
|
23326
24669
|
isoFormat?: PoDatepickerIsoFormat;
|
|
23327
24670
|
/**
|
|
@@ -23356,6 +24699,30 @@ interface PoDynamicFormField extends PoDynamicField {
|
|
|
23356
24699
|
* Intervalo utilizado no `po-number`.
|
|
23357
24700
|
*/
|
|
23358
24701
|
step?: number;
|
|
24702
|
+
/**
|
|
24703
|
+
* Exibe a coluna de segundos no painel do timepicker.
|
|
24704
|
+
*
|
|
24705
|
+
* @default `false`
|
|
24706
|
+
*
|
|
24707
|
+
* **Componente compatível:** `po-timepicker`
|
|
24708
|
+
*/
|
|
24709
|
+
showSeconds?: boolean;
|
|
24710
|
+
/**
|
|
24711
|
+
* Define o intervalo entre os minutos exibidos no painel do timepicker.
|
|
24712
|
+
*
|
|
24713
|
+
* @default `5`
|
|
24714
|
+
*
|
|
24715
|
+
* **Componente compatível:** `po-timepicker`
|
|
24716
|
+
*/
|
|
24717
|
+
minuteInterval?: number;
|
|
24718
|
+
/**
|
|
24719
|
+
* Define o intervalo entre os segundos exibidos no painel do timepicker.
|
|
24720
|
+
*
|
|
24721
|
+
* @default `1`
|
|
24722
|
+
*
|
|
24723
|
+
* **Componente compatível:** `po-timepicker`
|
|
24724
|
+
*/
|
|
24725
|
+
secondInterval?: number;
|
|
23359
24726
|
/**
|
|
23360
24727
|
* Define o modo de pesquisa utilizado no filtro da lista de seleção: `startsWith`, `contains` ou `endsWith`.
|
|
23361
24728
|
* > Quando utilizar a propriedade p-filter-service esta propriedade será ignorada.
|
|
@@ -34565,7 +35932,7 @@ declare class PoHeaderModule {
|
|
|
34565
35932
|
|
|
34566
35933
|
declare class PoComponentsModule {
|
|
34567
35934
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoComponentsModule, never>;
|
|
34568
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PoComponentsModule, never, [typeof PoAccordionModule, typeof PoAvatarModule, typeof PoBreadcrumbModule, typeof PoButtonModule, typeof PoButtonGroupModule, typeof PoCalendarModule, typeof PoChartModule, typeof PoContainerModule, typeof PoContextMenuModule, typeof PoDisclaimerGroupModule, typeof PoDisclaimerModule, typeof PoDividerModule, typeof PoDropdownModule, typeof PoDynamicModule, typeof PoFieldModule, typeof PoGaugeModule, typeof PoGridModule, typeof PoIconModule, typeof PoInfoModule, typeof PoListViewModule, typeof PoListBoxModule, typeof PoLoadingModule, typeof PoLogoModule, typeof PoMenuModule, typeof PoMenuPanelModule, typeof PoModalModule, typeof PoNavbarModule, typeof PoOverlayModule, typeof PoPageModule, typeof PoPopoverModule, typeof PoPopupModule, typeof PoProgressModule, typeof PoSlideModule, typeof PoStepperModule, typeof PoTableModule, typeof PoTabsModule, typeof PoContextTabsModule, typeof PoTagModule, typeof PoToolbarModule, typeof PoTreeViewModule, typeof PoWidgetModule, typeof PoLinkModule, typeof PoLabelModule, typeof PoImageModule, typeof PoPageSlideModule, typeof PoSwitchModule, typeof PoSearchModule, typeof PoBadgeModule, typeof PoSkeletonModule, typeof PoToasterModule, typeof PoHelperModule, typeof PoHeaderModule], [typeof PoAccordionModule, typeof PoAvatarModule, typeof PoBreadcrumbModule, typeof PoButtonModule, typeof PoButtonGroupModule, typeof PoCalendarModule, typeof PoChartModule, typeof PoContainerModule, typeof PoContextMenuModule, typeof PoDisclaimerGroupModule, typeof PoDisclaimerModule, typeof PoDividerModule, typeof PoDropdownModule, typeof PoDynamicModule, typeof PoFieldModule, typeof PoGaugeModule, typeof PoGridModule, typeof PoIconModule, typeof PoInfoModule, typeof PoListViewModule, typeof PoListBoxModule, typeof PoLoadingModule, typeof PoLogoModule, typeof PoMenuModule, typeof PoMenuPanelModule, typeof PoModalModule, typeof PoNavbarModule, typeof PoOverlayModule, typeof PoPageModule, typeof PoPopoverModule, typeof PoPopupModule, typeof PoProgressModule, typeof PoSlideModule, typeof PoStepperModule, typeof PoTableModule, typeof PoTabsModule, typeof PoContextTabsModule, typeof PoTagModule, typeof PoToolbarModule, typeof PoTreeViewModule, typeof PoWidgetModule, typeof PoLinkModule, typeof PoLabelModule, typeof PoImageModule, typeof PoPageSlideModule, typeof PoSwitchModule, typeof PoSearchModule, typeof PoBadgeModule, typeof PoSkeletonModule, typeof PoToasterModule, typeof PoHelperModule, typeof PoHeaderModule]>;
|
|
35935
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PoComponentsModule, never, [typeof PoAccordionModule, typeof PoAvatarModule, typeof PoBreadcrumbModule, typeof PoButtonModule, typeof PoButtonGroupModule, typeof PoCalendarModule, typeof PoChartModule, typeof PoContainerModule, typeof PoContextMenuModule, typeof PoDisclaimerGroupModule, typeof PoDisclaimerModule, typeof PoDividerModule, typeof PoDropdownModule, typeof PoDynamicModule, typeof PoFieldModule, typeof PoGaugeModule, typeof PoGridModule, typeof PoIconModule, typeof PoInfoModule, typeof PoListViewModule, typeof PoListBoxModule, typeof PoLoadingModule, typeof PoLogoModule, typeof PoMenuModule, typeof PoMenuPanelModule, typeof PoModalModule, typeof PoNavbarModule, typeof PoOverlayModule, typeof PoPageModule, typeof PoPopoverModule, typeof PoPopupModule, typeof PoProgressModule, typeof PoSlideModule, typeof PoStepperModule, typeof PoTableModule, typeof PoTabsModule, typeof PoContextTabsModule, typeof PoTagModule, typeof PoToolbarModule, typeof PoTreeViewModule, typeof PoWidgetModule, typeof PoLinkModule, typeof PoLabelModule, typeof PoImageModule, typeof PoPageSlideModule, typeof PoSwitchModule, typeof PoSearchModule, typeof PoBadgeModule, typeof PoSkeletonModule, typeof PoToasterModule, typeof PoHelperModule, typeof PoHeaderModule, typeof PoTimerModule], [typeof PoAccordionModule, typeof PoAvatarModule, typeof PoBreadcrumbModule, typeof PoButtonModule, typeof PoButtonGroupModule, typeof PoCalendarModule, typeof PoChartModule, typeof PoContainerModule, typeof PoContextMenuModule, typeof PoDisclaimerGroupModule, typeof PoDisclaimerModule, typeof PoDividerModule, typeof PoDropdownModule, typeof PoDynamicModule, typeof PoFieldModule, typeof PoGaugeModule, typeof PoGridModule, typeof PoIconModule, typeof PoInfoModule, typeof PoListViewModule, typeof PoListBoxModule, typeof PoLoadingModule, typeof PoLogoModule, typeof PoMenuModule, typeof PoMenuPanelModule, typeof PoModalModule, typeof PoNavbarModule, typeof PoOverlayModule, typeof PoPageModule, typeof PoPopoverModule, typeof PoPopupModule, typeof PoProgressModule, typeof PoSlideModule, typeof PoStepperModule, typeof PoTableModule, typeof PoTabsModule, typeof PoContextTabsModule, typeof PoTagModule, typeof PoToolbarModule, typeof PoTreeViewModule, typeof PoWidgetModule, typeof PoLinkModule, typeof PoLabelModule, typeof PoImageModule, typeof PoPageSlideModule, typeof PoSwitchModule, typeof PoSearchModule, typeof PoBadgeModule, typeof PoSkeletonModule, typeof PoToasterModule, typeof PoHelperModule, typeof PoHeaderModule, typeof PoTimerModule]>;
|
|
34569
35936
|
static ɵinj: i0.ɵɵInjectorDeclaration<PoComponentsModule>;
|
|
34570
35937
|
}
|
|
34571
35938
|
|
|
@@ -34661,6 +36028,8 @@ declare class PoModule {
|
|
|
34661
36028
|
static ɵinj: i0.ɵɵInjectorDeclaration<PoModule>;
|
|
34662
36029
|
}
|
|
34663
36030
|
|
|
36031
|
+
declare const PO_CALENDAR_DEFAULT_RANGE_PRESETS: Array<PoCalendarRangePreset>;
|
|
36032
|
+
|
|
34664
36033
|
/**
|
|
34665
36034
|
* @usedBy PoDividerComponent
|
|
34666
36035
|
*
|
|
@@ -35173,5 +36542,5 @@ declare class PoHttpRequestInterceptorService implements HttpInterceptor {
|
|
|
35173
36542
|
static ɵprov: i0.ɵɵInjectableDeclaration<PoHttpRequestInterceptorService>;
|
|
35174
36543
|
}
|
|
35175
36544
|
|
|
35176
|
-
export { AnimaliaIconDictionary, ForceBooleanComponentEnum, ForceOptionComponentEnum, I18N_CONFIG, InputBoolean, InputRequired, LOADING_ICON_COMPONENT, 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, 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, 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 };
|
|
35177
|
-
export type { ErrorAsyncProperties, PoAccordionLiterals, PoBreadcrumb, PoBreadcrumbItem, PoButtonGroupItem, 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 };
|
|
36545
|
+
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, 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 };
|
|
36546
|
+
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 };
|