@po-ui/ng-components 21.7.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 +5175 -564
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/index.d.ts +2 -0
- package/lib/components/po-accordion/po-accordion-base.component.d.ts +1 -1
- package/lib/components/po-accordion/po-accordion-item/po-accordion-item.component.d.ts +3 -3
- package/lib/components/po-accordion/po-accordion-item-header/po-accordion-item-header.component.d.ts +1 -1
- package/lib/components/po-accordion/po-accordion.component.d.ts +1 -1
- package/lib/components/po-accordion/services/po-accordion.service.d.ts +1 -1
- package/lib/components/po-badge/po-badge.component.d.ts +1 -1
- package/lib/components/po-breadcrumb/po-breadcrumb-favorite/po-breadcrumb-favorite.component.d.ts +2 -2
- package/lib/components/po-breadcrumb/po-breadcrumb-favorite/po-breadcrumb-favorite.service.d.ts +1 -1
- package/lib/components/po-breadcrumb/po-breadcrumb.component.d.ts +2 -2
- package/lib/components/po-button/po-button-base.component.d.ts +10 -8
- package/lib/components/po-button-group/po-button-group-base.component.d.ts +0 -2
- 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 +56 -2
- 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 +12 -6
- package/lib/components/po-calendar/po-calendar.component.d.ts +29 -4
- package/lib/components/po-calendar/services/po-calendar.lang.service.d.ts +9 -7
- package/lib/components/po-context-menu/index.d.ts +3 -0
- package/lib/components/po-context-menu/po-context-menu-base.component.d.ts +92 -0
- package/lib/components/po-context-menu/po-context-menu-item.interface.d.ts +15 -0
- package/lib/components/po-context-menu/po-context-menu.component.d.ts +51 -0
- package/lib/components/po-context-menu/po-context-menu.module.d.ts +7 -0
- package/lib/components/po-disclaimer/po-disclaimer-base.component.d.ts +1 -1
- package/lib/components/po-disclaimer-group/po-disclaimer-group-base.component.d.ts +1 -1
- package/lib/components/po-disclaimer-group/po-disclaimer-group.component.d.ts +1 -1
- package/lib/components/po-dropdown/po-dropdown.component.d.ts +3 -3
- package/lib/components/po-dynamic/po-dynamic-form/interfaces/po-dynamic-form-field.interface.d.ts +58 -7
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields-base.component.d.ts +1 -1
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-operation/po-dynamic-form-operation.d.ts +1 -1
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form.component.d.ts +4 -4
- package/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view-base.component.d.ts +5 -5
- package/lib/components/po-dynamic/po-dynamic-view/services/po-dynamic-view.service.d.ts +1 -1
- package/lib/components/po-field/index.d.ts +3 -0
- package/lib/components/po-field/po-checkbox/po-checkbox-base.component.d.ts +0 -6
- package/lib/components/po-field/po-checkbox-group/po-checkbox-group-base.component.d.ts +0 -6
- package/lib/components/po-field/po-checkbox-group/po-checkbox-group.component.d.ts +2 -2
- package/lib/components/po-field/po-combo/po-combo-base.component.d.ts +1 -7
- package/lib/components/po-field/po-combo/po-combo-filter.service.d.ts +1 -1
- package/lib/components/po-field/po-combo/po-combo.component.d.ts +3 -3
- package/lib/components/po-field/po-datepicker/po-datepicker-base.component.d.ts +0 -6
- package/lib/components/po-field/po-datepicker/po-datepicker.component.d.ts +3 -3
- package/lib/components/po-field/po-datepicker-range/po-datepicker-range-base.component.d.ts +56 -8
- package/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.d.ts +24 -6
- package/lib/components/po-field/po-decimal/po-decimal.component.d.ts +4 -4
- package/lib/components/po-field/po-email/po-email.component.d.ts +1 -1
- package/lib/components/po-field/po-field-container/po-field-container-bottom/po-field-container-bottom.component.d.ts +1 -1
- package/lib/components/po-field/po-field-container/po-field-container.component.d.ts +0 -2
- package/lib/components/po-field/po-input/po-input-base.component.d.ts +0 -6
- package/lib/components/po-field/po-lookup/po-lookup-base.component.d.ts +0 -6
- package/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal-base.component.d.ts +1 -1
- package/lib/components/po-field/po-lookup/po-lookup.component.d.ts +3 -3
- package/lib/components/po-field/po-lookup/services/po-lookup-filter.service.d.ts +1 -1
- package/lib/components/po-field/po-lookup/services/po-lookup-modal.service.d.ts +1 -1
- package/lib/components/po-field/po-multiselect/po-multiselect-base.component.d.ts +1 -7
- package/lib/components/po-field/po-multiselect/po-multiselect-dropdown/po-multiselect-dropdown.component.d.ts +1 -1
- package/lib/components/po-field/po-multiselect/po-multiselect-filter.service.d.ts +2 -2
- package/lib/components/po-field/po-multiselect/po-multiselect.component.d.ts +5 -5
- package/lib/components/po-field/po-radio/po-radio.component.d.ts +2 -2
- package/lib/components/po-field/po-radio-group/po-radio-group-base.component.d.ts +1 -7
- package/lib/components/po-field/po-radio-group/po-radio-group.component.d.ts +1 -1
- package/lib/components/po-field/po-rich-text/po-rich-text-base.component.d.ts +0 -6
- package/lib/components/po-field/po-rich-text/po-rich-text-body/po-rich-text-body.component.d.ts +2 -2
- package/lib/components/po-field/po-rich-text/po-rich-text-image-modal/po-rich-text-image-modal.component.d.ts +1 -1
- package/lib/components/po-field/po-rich-text/po-rich-text-link-modal/po-rich-text-link-modal.component.d.ts +1 -1
- package/lib/components/po-field/po-rich-text/po-rich-text-toolbar/po-rich-text-toolbar.component.d.ts +1 -1
- package/lib/components/po-field/po-rich-text/po-rich-text.component.d.ts +2 -2
- package/lib/components/po-field/po-rich-text/po-rich-text.service.d.ts +1 -1
- package/lib/components/po-field/po-select/po-select.component.d.ts +1 -7
- package/lib/components/po-field/po-switch/po-switch.component.d.ts +0 -7
- package/lib/components/po-field/po-textarea/po-textarea-base.component.d.ts +0 -6
- package/lib/components/po-field/po-textarea/po-textarea.component.d.ts +3 -2
- 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-field/po-upload/po-upload-base.component.d.ts +1 -7
- package/lib/components/po-field/po-upload/po-upload-base.service.d.ts +1 -1
- package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop-area-overlay/po-upload-drag-drop-area-overlay.component.d.ts +1 -1
- package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.component.d.ts +1 -1
- package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.directive.d.ts +2 -2
- package/lib/components/po-field/po-upload/po-upload-file-restrictions/po-upload-file-restrictions.component.d.ts +2 -2
- package/lib/components/po-field/po-upload/po-upload.component.d.ts +4 -4
- package/lib/components/po-field/po-url/po-url.component.d.ts +1 -1
- package/lib/components/po-grid/po-grid-cell/po-grid-cell.component.d.ts +1 -1
- package/lib/components/po-grid/po-grid.component.d.ts +3 -3
- package/lib/components/po-header/po-header-base.component.d.ts +31 -5
- package/lib/components/po-header/po-header-brand/po-header-brand.component.d.ts +3 -2
- package/lib/components/po-header/po-header-customer/po-header-customer.component.d.ts +1 -0
- package/lib/components/po-header/po-header-menu-item/po-header-menu-item.component.d.ts +3 -2
- package/lib/components/po-header/po-header-tools/po-header-tools.component.d.ts +3 -2
- package/lib/components/po-header/po-header.component.d.ts +4 -4
- package/lib/components/po-helper/po-helper-base.component.d.ts +0 -8
- package/lib/components/po-icon/po-icon.component.d.ts +1 -1
- package/lib/components/po-list-view/po-list-view-base.component.d.ts +1 -1
- package/lib/components/po-list-view/po-list-view.component.d.ts +2 -2
- package/lib/components/po-listbox/po-item-list/po-item-list-base.component.d.ts +2 -2
- package/lib/components/po-listbox/po-listbox-base.component.d.ts +1 -1
- package/lib/components/po-listbox/po-search-list/po-search-list.component.d.ts +1 -1
- package/lib/components/po-loading/po-loading-overlay/po-loading-overlay-base.component.d.ts +1 -1
- package/lib/components/po-menu/po-menu-base.component.d.ts +13 -1
- package/lib/components/po-menu/po-menu-item/po-menu-item.component.d.ts +1 -1
- package/lib/components/po-menu/po-menu.component.d.ts +5 -4
- package/lib/components/po-menu/services/po-menu-global.service.d.ts +5 -5
- package/lib/components/po-menu/services/po-menu-items.service.d.ts +2 -2
- package/lib/components/po-menu/services/po-menu.service.d.ts +1 -1
- package/lib/components/po-menu-panel/po-menu-panel-item/po-menu-panel-item.component.d.ts +1 -1
- package/lib/components/po-menu-panel/po-menu-panel.component.d.ts +3 -3
- package/lib/components/po-menu-panel/services/po-menu-panel-items.service.d.ts +2 -2
- package/lib/components/po-modal/po-modal.component.d.ts +3 -3
- package/lib/components/po-navbar/po-navbar-actions/po-navbar-action/po-navbar-action.component.d.ts +1 -1
- package/lib/components/po-navbar/po-navbar-base.component.d.ts +1 -1
- package/lib/components/po-navbar/po-navbar-items/po-navbar-items.component.d.ts +1 -1
- package/lib/components/po-navbar/po-navbar.component.d.ts +7 -7
- package/lib/components/po-page/po-page-default/po-page-default.component.d.ts +3 -3
- package/lib/components/po-page/po-page-detail/po-page-detail-base.component.d.ts +1 -1
- package/lib/components/po-page/po-page-edit/po-page-edit-base.component.d.ts +1 -1
- package/lib/components/po-page/po-page-list/po-page-list.component.d.ts +3 -3
- package/lib/components/po-page/po-page-slide/po-page-slide.component.d.ts +4 -4
- package/lib/components/po-popover/po-popover-base.component.d.ts +0 -2
- package/lib/components/po-popover/po-popover.component.d.ts +2 -1
- package/lib/components/po-popup/po-popup.component.d.ts +4 -4
- package/lib/components/po-progress/po-progress.component.d.ts +2 -2
- package/lib/components/po-search/po-search.component.d.ts +0 -1
- package/lib/components/po-skeleton/po-skeleton-base.component.d.ts +0 -23
- package/lib/components/po-slide/po-slide.component.d.ts +4 -4
- package/lib/components/po-stepper/po-step/po-step.component.d.ts +1 -1
- package/lib/components/po-stepper/po-stepper-label/po-stepper-label.component.d.ts +3 -3
- package/lib/components/po-stepper/po-stepper.component.d.ts +1 -1
- package/lib/components/po-table/po-table-base.component.d.ts +3 -3
- package/lib/components/po-table/po-table-column-frozen/po-table-column-frozen.directive.d.ts +2 -2
- package/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.d.ts +2 -2
- package/lib/components/po-table/po-table-detail/po-table-detail.component.d.ts +1 -1
- package/lib/components/po-table/po-table-list-manager/po-table-list-manager.component.d.ts +2 -2
- package/lib/components/po-table/po-table-subtitle-circle/po-table-subtitle-circle.component.d.ts +1 -1
- package/lib/components/po-table/po-table-subtitle-footer/po-table-subtitle-footer.component.d.ts +1 -1
- package/lib/components/po-table/po-table.component.d.ts +6 -6
- package/lib/components/po-table/services/po-table.service.d.ts +1 -1
- package/lib/components/po-tabs/po-tab/po-tab-base.component.d.ts +11 -1
- package/lib/components/po-tabs/po-tab/po-tab.component.d.ts +1 -1
- package/lib/components/po-tabs/po-tab-button/po-tab-button.component.d.ts +1 -1
- package/lib/components/po-tabs/po-tab-dropdown/po-tab-dropdown.component.d.ts +1 -1
- package/lib/components/po-tabs/po-tabs.component.d.ts +22 -2
- package/lib/components/po-tabs/po-tabs.service.d.ts +2 -2
- package/lib/components/po-tag/po-tag-base.component.d.ts +1 -1
- package/lib/components/po-tag/po-tag.component.d.ts +2 -2
- 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/lib/components/po-toaster/po-toaster-base.component.d.ts +1 -1
- package/lib/components/po-toaster/po-toaster.component.d.ts +1 -1
- package/lib/components/po-toolbar/po-toolbar-notification/po-toolbar-notification.component.d.ts +1 -1
- package/lib/components/po-toolbar/po-toolbar.component.d.ts +1 -1
- package/lib/components/po-tree-view/po-tree-view-item/po-tree-view-item.component.d.ts +1 -1
- package/lib/components/po-tree-view/po-tree-view.component.d.ts +1 -1
- package/lib/components/po-tree-view/services/po-tree-view.service.d.ts +2 -2
- package/lib/components/po-widget/po-widget-base.component.d.ts +0 -4
- package/lib/directives/po-tooltip/po-tooltip.directive.d.ts +4 -4
- package/lib/interceptors/po-http-interceptor/po-http-interceptor-base.service.d.ts +3 -3
- package/lib/interceptors/po-http-interceptor/po-http-interceptor-detail/po-http-interceptor-detail.component.d.ts +3 -3
- package/lib/interceptors/po-http-request/po-http-request-interceptor.service.d.ts +2 -2
- package/lib/services/po-component-injector/po-component-injector.service.d.ts +3 -3
- package/lib/services/po-control-position/po-control-position.service.d.ts +2 -2
- package/lib/services/po-dialog/po-dialog.component.d.ts +1 -1
- package/lib/services/po-dialog/po-dialog.service.d.ts +1 -1
- package/lib/services/po-i18n/po-i18n-base.service.d.ts +3 -3
- package/lib/services/po-media-query/po-media-query.service.d.ts +1 -1
- package/lib/services/po-notification/po-notification.service.d.ts +1 -1
- package/lib/services/po-theme/po-theme.service.d.ts +2 -2
- 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 +1914 -419
- package/po-ui-ng-components-21.7.0.tgz +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, ElementRef, TemplateRef, OnInit, OnDestroy, Renderer2, QueryList, OnChanges, ChangeDetectorRef, SimpleChanges, AfterViewInit, Type, ViewContainerRef, DoCheck, IterableDiffers, ComponentFactoryResolver, ApplicationRef, Injector, ComponentRef, AfterViewChecked, PipeTransform, AfterContentInit, SimpleChange, RendererFactory2, InjectionToken, ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { EventEmitter, ElementRef, TemplateRef, OnInit, OnDestroy, Renderer2, QueryList, OnChanges, ChangeDetectorRef, SimpleChanges, AfterViewInit, Type, ViewContainerRef, DoCheck, IterableDiffers, ComponentFactoryResolver, ApplicationRef, Injector, ComponentRef, AfterViewChecked, PipeTransform, WritableSignal, AfterContentInit, SimpleChange, RendererFactory2, InjectionToken, ModuleWithProviders } from '@angular/core';
|
|
3
3
|
import * as i2 from '@angular/common';
|
|
4
4
|
import { DecimalPipe, TitleCasePipe, CurrencyPipe, DatePipe } from '@angular/common';
|
|
5
5
|
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
@@ -215,7 +215,7 @@ interface PoAccordionLiterals {
|
|
|
215
215
|
*
|
|
216
216
|
*/
|
|
217
217
|
declare class PoAccordionBaseComponent {
|
|
218
|
-
private language;
|
|
218
|
+
private readonly language;
|
|
219
219
|
private _literals;
|
|
220
220
|
private _size?;
|
|
221
221
|
private _initialSize?;
|
|
@@ -321,7 +321,7 @@ declare class PoAccordionBaseComponent {
|
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
declare class PoAccordionItemHeaderComponent {
|
|
324
|
-
private language;
|
|
324
|
+
private readonly language;
|
|
325
325
|
accordionElement: ElementRef;
|
|
326
326
|
accordionHeaderElement: ElementRef;
|
|
327
327
|
expanded: boolean;
|
|
@@ -516,7 +516,7 @@ declare class PoTagBaseComponent {
|
|
|
516
516
|
private _orientation?;
|
|
517
517
|
private _type?;
|
|
518
518
|
private _literals;
|
|
519
|
-
private language;
|
|
519
|
+
private readonly language;
|
|
520
520
|
/**
|
|
521
521
|
* @optional
|
|
522
522
|
*
|
|
@@ -703,7 +703,7 @@ declare class PoTagBaseComponent {
|
|
|
703
703
|
* </example>
|
|
704
704
|
*/
|
|
705
705
|
declare class PoTagComponent extends PoTagBaseComponent implements OnInit {
|
|
706
|
-
private el;
|
|
706
|
+
private readonly el;
|
|
707
707
|
tagContainer: ElementRef;
|
|
708
708
|
tagClose: ElementRef;
|
|
709
709
|
poTag: ElementRef;
|
|
@@ -721,7 +721,7 @@ declare class PoTagComponent extends PoTagBaseComponent implements OnInit {
|
|
|
721
721
|
} | {
|
|
722
722
|
'background-color'?: undefined;
|
|
723
723
|
};
|
|
724
|
-
private applyTextColorByContrast;
|
|
724
|
+
private readonly applyTextColorByContrast;
|
|
725
725
|
getWidthTag(): boolean;
|
|
726
726
|
setAriaLabel(): string;
|
|
727
727
|
private onRemove;
|
|
@@ -742,7 +742,7 @@ declare class PoIconComponent {
|
|
|
742
742
|
iconElement: ElementRef;
|
|
743
743
|
class: string;
|
|
744
744
|
private _icon;
|
|
745
|
-
private _iconToken;
|
|
745
|
+
private readonly _iconToken;
|
|
746
746
|
hostPIcon: string | null;
|
|
747
747
|
constructor();
|
|
748
748
|
/**
|
|
@@ -911,12 +911,12 @@ declare abstract class PoTooltipBaseDirective {
|
|
|
911
911
|
declare class PoControlPositionService {
|
|
912
912
|
private arrowDirection;
|
|
913
913
|
private customPositions;
|
|
914
|
-
private differenceDiagonalToWidthArrow;
|
|
914
|
+
private readonly differenceDiagonalToWidthArrow;
|
|
915
915
|
private element;
|
|
916
916
|
private elementOffset;
|
|
917
917
|
private isCornerAligned;
|
|
918
918
|
private isSetElementWidth;
|
|
919
|
-
private offsetArrow;
|
|
919
|
+
private readonly offsetArrow;
|
|
920
920
|
private targetElement;
|
|
921
921
|
/**
|
|
922
922
|
* @description Ajusta a posição do elemento, caso não couber em tela irá para próxima posição.
|
|
@@ -993,9 +993,9 @@ declare class PoTooltipControlPositionService extends PoControlPositionService {
|
|
|
993
993
|
*
|
|
994
994
|
*/
|
|
995
995
|
declare class PoTooltipDirective extends PoTooltipBaseDirective implements OnInit, OnDestroy {
|
|
996
|
-
private elementRef;
|
|
997
|
-
private renderer;
|
|
998
|
-
private poControlPosition;
|
|
996
|
+
private readonly elementRef;
|
|
997
|
+
private readonly renderer;
|
|
998
|
+
private readonly poControlPosition;
|
|
999
999
|
private readonly sanitizer;
|
|
1000
1000
|
private arrowDirection;
|
|
1001
1001
|
private divArrow;
|
|
@@ -1003,7 +1003,7 @@ declare class PoTooltipDirective extends PoTooltipBaseDirective implements OnIni
|
|
|
1003
1003
|
private isHidden;
|
|
1004
1004
|
private lastTooltipText;
|
|
1005
1005
|
private textContent;
|
|
1006
|
-
private tooltipOffset;
|
|
1006
|
+
private readonly tooltipOffset;
|
|
1007
1007
|
private eventListenerFunction;
|
|
1008
1008
|
constructor(elementRef: ElementRef, renderer: Renderer2, poControlPosition: PoTooltipControlPositionService, sanitizer: DomSanitizer);
|
|
1009
1009
|
ngOnDestroy(): void;
|
|
@@ -1085,7 +1085,7 @@ declare class PoTagModule {
|
|
|
1085
1085
|
* ```
|
|
1086
1086
|
*/
|
|
1087
1087
|
declare class PoAccordionItemComponent implements OnDestroy {
|
|
1088
|
-
private accordionService;
|
|
1088
|
+
private readonly accordionService;
|
|
1089
1089
|
private _type?;
|
|
1090
1090
|
/** Título do item. */
|
|
1091
1091
|
label: string;
|
|
@@ -1132,8 +1132,8 @@ declare class PoAccordionItemComponent implements OnDestroy {
|
|
|
1132
1132
|
collapseEvent: EventEmitter<void>;
|
|
1133
1133
|
templateRef: TemplateRef<any>;
|
|
1134
1134
|
expanded: boolean;
|
|
1135
|
-
private expandSubscription;
|
|
1136
|
-
private collapseSubscription;
|
|
1135
|
+
private readonly expandSubscription;
|
|
1136
|
+
private readonly collapseSubscription;
|
|
1137
1137
|
constructor();
|
|
1138
1138
|
ngOnDestroy(): void;
|
|
1139
1139
|
/**
|
|
@@ -1170,7 +1170,7 @@ declare class PoAccordionItemComponent implements OnDestroy {
|
|
|
1170
1170
|
* </example>
|
|
1171
1171
|
*/
|
|
1172
1172
|
declare class PoAccordionComponent extends PoAccordionBaseComponent implements OnDestroy {
|
|
1173
|
-
private accordionService;
|
|
1173
|
+
private readonly accordionService;
|
|
1174
1174
|
accordionsHeader: QueryList<PoAccordionItemHeaderComponent>;
|
|
1175
1175
|
poAccordionItems: QueryList<PoAccordionItemComponent>;
|
|
1176
1176
|
expandedAllItems: boolean;
|
|
@@ -1752,8 +1752,8 @@ interface PoItemListOptionGroup {
|
|
|
1752
1752
|
* O componente `po-item-list` é a menor parte da lista de ação que compõem o componente [**PO Listbox**](/documentation/po-listbox).
|
|
1753
1753
|
*/
|
|
1754
1754
|
declare class PoItemListBaseComponent {
|
|
1755
|
-
private _label;
|
|
1756
|
-
private _value;
|
|
1755
|
+
private readonly _label;
|
|
1756
|
+
private readonly _value;
|
|
1757
1757
|
private _type;
|
|
1758
1758
|
private _visible;
|
|
1759
1759
|
private _disabled;
|
|
@@ -1910,7 +1910,7 @@ interface PoListBoxLiterals {
|
|
|
1910
1910
|
* Componente de pesquisa que será criado dentro do search do `po-listbox`.
|
|
1911
1911
|
*/
|
|
1912
1912
|
declare class PoSearchListComponent {
|
|
1913
|
-
private cd;
|
|
1913
|
+
private readonly cd;
|
|
1914
1914
|
inputElement: ElementRef;
|
|
1915
1915
|
/** Propriedade que recebe as literais definidas no `po-listbox`. */
|
|
1916
1916
|
literals?: PoListBoxLiterals;
|
|
@@ -1954,7 +1954,7 @@ declare class PoListBoxBaseComponent {
|
|
|
1954
1954
|
private _items;
|
|
1955
1955
|
private _type;
|
|
1956
1956
|
private _literals;
|
|
1957
|
-
private language;
|
|
1957
|
+
private readonly language;
|
|
1958
1958
|
private _size?;
|
|
1959
1959
|
private _initialSize?;
|
|
1960
1960
|
listboxSubitems: boolean;
|
|
@@ -2379,8 +2379,6 @@ interface PoHelperOptions {
|
|
|
2379
2379
|
*/
|
|
2380
2380
|
declare class PoHelperBaseComponent {
|
|
2381
2381
|
/**
|
|
2382
|
-
* @Input
|
|
2383
|
-
*
|
|
2384
2382
|
* @optional
|
|
2385
2383
|
*
|
|
2386
2384
|
* @description
|
|
@@ -2403,8 +2401,6 @@ declare class PoHelperBaseComponent {
|
|
|
2403
2401
|
*/
|
|
2404
2402
|
helper: i0.InputSignal<string | PoHelperOptions>;
|
|
2405
2403
|
/**
|
|
2406
|
-
* @Input
|
|
2407
|
-
*
|
|
2408
2404
|
* @optional
|
|
2409
2405
|
*
|
|
2410
2406
|
* @description
|
|
@@ -2421,8 +2417,6 @@ declare class PoHelperBaseComponent {
|
|
|
2421
2417
|
size: i0.InputSignal<string>;
|
|
2422
2418
|
get hostSize(): string;
|
|
2423
2419
|
/**
|
|
2424
|
-
* @Input
|
|
2425
|
-
*
|
|
2426
2420
|
* @optional
|
|
2427
2421
|
*
|
|
2428
2422
|
* @description
|
|
@@ -2433,8 +2427,6 @@ declare class PoHelperBaseComponent {
|
|
|
2433
2427
|
*/
|
|
2434
2428
|
disabled: i0.InputSignal<boolean>;
|
|
2435
2429
|
/**
|
|
2436
|
-
* @Input
|
|
2437
|
-
*
|
|
2438
2430
|
* @optional
|
|
2439
2431
|
*
|
|
2440
2432
|
* @description
|
|
@@ -2595,8 +2587,6 @@ declare class PoPopoverBaseComponent {
|
|
|
2595
2587
|
set trigger(value: string);
|
|
2596
2588
|
get trigger(): string;
|
|
2597
2589
|
/**
|
|
2598
|
-
* @Input
|
|
2599
|
-
*
|
|
2600
2590
|
* @optional
|
|
2601
2591
|
*
|
|
2602
2592
|
* @description
|
|
@@ -2633,7 +2623,7 @@ declare class PoPopoverBaseComponent {
|
|
|
2633
2623
|
* </example>
|
|
2634
2624
|
*/
|
|
2635
2625
|
declare class PoPopoverComponent extends PoPopoverBaseComponent implements AfterViewInit, OnDestroy, OnChanges {
|
|
2636
|
-
private renderer;
|
|
2626
|
+
private readonly renderer;
|
|
2637
2627
|
private readonly poControlPosition;
|
|
2638
2628
|
private readonly cd;
|
|
2639
2629
|
popoverElement: ElementRef;
|
|
@@ -2648,6 +2638,7 @@ declare class PoPopoverComponent extends PoPopoverBaseComponent implements After
|
|
|
2648
2638
|
eventListenerFunction: () => void;
|
|
2649
2639
|
private readonly tabbableSelector;
|
|
2650
2640
|
constructor(renderer: Renderer2, poControlPosition: PoControlPositionService, cd: ChangeDetectorRef);
|
|
2641
|
+
protected onThemeChange(): void;
|
|
2651
2642
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2652
2643
|
ngAfterViewInit(): void;
|
|
2653
2644
|
initEvents(): void;
|
|
@@ -2780,8 +2771,6 @@ declare enum PoButtonType {
|
|
|
2780
2771
|
*/
|
|
2781
2772
|
declare class PoButtonBaseComponent {
|
|
2782
2773
|
/**
|
|
2783
|
-
* @Input
|
|
2784
|
-
*
|
|
2785
2774
|
* @optional
|
|
2786
2775
|
*
|
|
2787
2776
|
* @description
|
|
@@ -2790,8 +2779,6 @@ declare class PoButtonBaseComponent {
|
|
|
2790
2779
|
*/
|
|
2791
2780
|
readonly label: i0.InputSignal<string>;
|
|
2792
2781
|
/**
|
|
2793
|
-
* @Input
|
|
2794
|
-
*
|
|
2795
2782
|
* @optional
|
|
2796
2783
|
*
|
|
2797
2784
|
* @description
|
|
@@ -2818,8 +2805,6 @@ declare class PoButtonBaseComponent {
|
|
|
2818
2805
|
*/
|
|
2819
2806
|
readonly icon: i0.InputSignal<string | TemplateRef<void>>;
|
|
2820
2807
|
/**
|
|
2821
|
-
* @Input
|
|
2822
|
-
*
|
|
2823
2808
|
* @optional
|
|
2824
2809
|
*
|
|
2825
2810
|
* @description
|
|
@@ -2888,8 +2873,6 @@ declare class PoButtonBaseComponent {
|
|
|
2888
2873
|
set disabled(value: boolean);
|
|
2889
2874
|
get disabled(): boolean;
|
|
2890
2875
|
/**
|
|
2891
|
-
* @Input
|
|
2892
|
-
*
|
|
2893
2876
|
* @optional
|
|
2894
2877
|
*
|
|
2895
2878
|
* @description
|
|
@@ -2902,6 +2885,16 @@ declare class PoButtonBaseComponent {
|
|
|
2902
2885
|
*/
|
|
2903
2886
|
readonly ariaLabel: i0.InputSignal<string>;
|
|
2904
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;
|
|
2905
2898
|
/**
|
|
2906
2899
|
* @optional
|
|
2907
2900
|
*
|
|
@@ -2922,7 +2915,7 @@ declare class PoButtonBaseComponent {
|
|
|
2922
2915
|
protected onThemeChange(): void;
|
|
2923
2916
|
private applySizeBasedOnA11y;
|
|
2924
2917
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoButtonBaseComponent, never>;
|
|
2925
|
-
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>;
|
|
2926
2919
|
static ngAcceptInputType_danger: any;
|
|
2927
2920
|
}
|
|
2928
2921
|
|
|
@@ -3104,7 +3097,7 @@ declare class PoLoadingIconComponent implements AfterViewInit, OnDestroy {
|
|
|
3104
3097
|
*
|
|
3105
3098
|
*/
|
|
3106
3099
|
declare class PoLoadingOverlayBaseComponent {
|
|
3107
|
-
private languageService;
|
|
3100
|
+
private readonly languageService;
|
|
3108
3101
|
private _screenLock?;
|
|
3109
3102
|
private _text?;
|
|
3110
3103
|
private _size?;
|
|
@@ -3547,8 +3540,6 @@ declare abstract class PoCheckboxBaseComponent implements ControlValueAccessor {
|
|
|
3547
3540
|
*/
|
|
3548
3541
|
appendBox?: boolean;
|
|
3549
3542
|
/**
|
|
3550
|
-
* @Input
|
|
3551
|
-
*
|
|
3552
3543
|
* @optional
|
|
3553
3544
|
*
|
|
3554
3545
|
* @description
|
|
@@ -3683,8 +3674,6 @@ declare abstract class PoCheckboxBaseComponent implements ControlValueAccessor {
|
|
|
3683
3674
|
set size(value: string);
|
|
3684
3675
|
get size(): string;
|
|
3685
3676
|
/**
|
|
3686
|
-
* @Input
|
|
3687
|
-
*
|
|
3688
3677
|
* @optional
|
|
3689
3678
|
*
|
|
3690
3679
|
* @description
|
|
@@ -3696,8 +3685,6 @@ declare abstract class PoCheckboxBaseComponent implements ControlValueAccessor {
|
|
|
3696
3685
|
*/
|
|
3697
3686
|
poHelperComponent: i0.InputSignal<string | PoHelperOptions>;
|
|
3698
3687
|
/**
|
|
3699
|
-
* @Input
|
|
3700
|
-
*
|
|
3701
3688
|
* @optional
|
|
3702
3689
|
*
|
|
3703
3690
|
* @description
|
|
@@ -3914,7 +3901,7 @@ declare class PoFieldContainerBottomComponent implements OnChanges {
|
|
|
3914
3901
|
poHelperComponent: i0.InputSignal<PoHelperOptions>;
|
|
3915
3902
|
/** Define se o componente helper estará visível através das ações customizadas */
|
|
3916
3903
|
showHelperComponent: i0.InputSignal<boolean>;
|
|
3917
|
-
private isInitialChange;
|
|
3904
|
+
private readonly isInitialChange;
|
|
3918
3905
|
ngOnChanges(changes: SimpleChanges): void;
|
|
3919
3906
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoFieldContainerBottomComponent, never>;
|
|
3920
3907
|
static ɵcmp: i0.ɵɵComponentDeclaration<PoFieldContainerBottomComponent, "po-field-container-bottom", never, { "appendBox": { "alias": "p-append-in-body"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "errorPattern": { "alias": "p-error-pattern"; "required": false; }; "errorLimit": { "alias": "p-error-limit"; "required": false; }; "help": { "alias": "p-help"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "poHelperComponent": { "alias": "p-helper"; "required": false; "isSignal": true; }; "showHelperComponent": { "alias": "p-show-helper"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
@@ -3968,8 +3955,6 @@ declare class PoFieldContainerComponent implements OnInit, OnChanges {
|
|
|
3968
3955
|
/** Define o tamanho do componente. */
|
|
3969
3956
|
size?: string;
|
|
3970
3957
|
/**
|
|
3971
|
-
* @Input
|
|
3972
|
-
*
|
|
3973
3958
|
* Define se o título do campo será exibido de forma compacta.
|
|
3974
3959
|
*
|
|
3975
3960
|
* Quando habilitado (`true`), o modo compacto afeta o conjunto composto por:
|
|
@@ -4249,9 +4234,9 @@ declare class PoPopupBaseComponent {
|
|
|
4249
4234
|
*/
|
|
4250
4235
|
declare class PoPopupComponent extends PoPopupBaseComponent implements AfterViewInit {
|
|
4251
4236
|
id: string;
|
|
4252
|
-
private renderer;
|
|
4253
|
-
private router;
|
|
4254
|
-
private poControlPosition;
|
|
4237
|
+
private readonly renderer;
|
|
4238
|
+
private readonly router;
|
|
4239
|
+
private readonly poControlPosition;
|
|
4255
4240
|
changeDetector: ChangeDetectorRef;
|
|
4256
4241
|
popupRef: ElementRef;
|
|
4257
4242
|
listbox: ElementRef;
|
|
@@ -4288,7 +4273,7 @@ declare class PoPopupComponent extends PoPopupBaseComponent implements AfterView
|
|
|
4288
4273
|
private elementContains;
|
|
4289
4274
|
private hasContentToShow;
|
|
4290
4275
|
private initializeListeners;
|
|
4291
|
-
private onScroll;
|
|
4276
|
+
private readonly onScroll;
|
|
4292
4277
|
private openUrl;
|
|
4293
4278
|
private removeListeners;
|
|
4294
4279
|
private setPosition;
|
|
@@ -4314,7 +4299,7 @@ declare const poBreadcrumbLiterals: object;
|
|
|
4314
4299
|
* </example>
|
|
4315
4300
|
*/
|
|
4316
4301
|
declare class PoBreadcrumbComponent extends PoBreadcrumbBaseComponent implements AfterViewInit, DoCheck, OnDestroy {
|
|
4317
|
-
private element;
|
|
4302
|
+
private readonly element;
|
|
4318
4303
|
renderer: Renderer2;
|
|
4319
4304
|
languageService: PoLanguageService;
|
|
4320
4305
|
breadcrumbElement: ElementRef;
|
|
@@ -4328,7 +4313,7 @@ declare class PoBreadcrumbComponent extends PoBreadcrumbBaseComponent implements
|
|
|
4328
4313
|
hiddenLiteralFavorite: boolean;
|
|
4329
4314
|
private _breadcrumbItemsLenght;
|
|
4330
4315
|
private calculatedElement;
|
|
4331
|
-
private differ;
|
|
4316
|
+
private readonly differ;
|
|
4332
4317
|
private hiddenWithoutResize;
|
|
4333
4318
|
private initialized;
|
|
4334
4319
|
private timeoutResize;
|
|
@@ -4364,8 +4349,8 @@ declare class PoBreadcrumbComponent extends PoBreadcrumbBaseComponent implements
|
|
|
4364
4349
|
* Componente que renderiza o serviço de favoritar do po-breadcrumb.
|
|
4365
4350
|
*/
|
|
4366
4351
|
declare class PoBreadcrumbFavoriteComponent implements OnInit, OnDestroy {
|
|
4367
|
-
private service;
|
|
4368
|
-
private languageService;
|
|
4352
|
+
private readonly service;
|
|
4353
|
+
private readonly languageService;
|
|
4369
4354
|
favoriteService: string;
|
|
4370
4355
|
itemActive: PoBreadcrumbItem;
|
|
4371
4356
|
paramsService: object;
|
|
@@ -4526,8 +4511,6 @@ interface PoButtonGroupItem {
|
|
|
4526
4511
|
*/
|
|
4527
4512
|
declare class PoButtonGroupBaseComponent {
|
|
4528
4513
|
/**
|
|
4529
|
-
* @Input
|
|
4530
|
-
*
|
|
4531
4514
|
* @description
|
|
4532
4515
|
*
|
|
4533
4516
|
* Lista de botões.
|
|
@@ -4737,6 +4720,23 @@ declare enum PoCalendarMode {
|
|
|
4737
4720
|
Range = "range"
|
|
4738
4721
|
}
|
|
4739
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
|
+
|
|
4740
4740
|
/**
|
|
4741
4741
|
* @description
|
|
4742
4742
|
*
|
|
@@ -4828,7 +4828,7 @@ declare enum PoCalendarMode {
|
|
|
4828
4828
|
*/
|
|
4829
4829
|
declare class PoCalendarBaseComponent {
|
|
4830
4830
|
poDate: PoDateService;
|
|
4831
|
-
private languageService;
|
|
4831
|
+
private readonly languageService;
|
|
4832
4832
|
/**
|
|
4833
4833
|
* @optional
|
|
4834
4834
|
*
|
|
@@ -4853,11 +4853,12 @@ declare class PoCalendarBaseComponent {
|
|
|
4853
4853
|
changeMonthYear: EventEmitter<any>;
|
|
4854
4854
|
close: EventEmitter<void>;
|
|
4855
4855
|
activateDate: any;
|
|
4856
|
+
selectedPresetLabel: string | null;
|
|
4856
4857
|
value: any;
|
|
4857
4858
|
protected onTouched: any;
|
|
4858
4859
|
protected propagateChange: any;
|
|
4859
4860
|
protected today: Date;
|
|
4860
|
-
private shortLanguage;
|
|
4861
|
+
private readonly shortLanguage;
|
|
4861
4862
|
private _locale;
|
|
4862
4863
|
private _maxDate;
|
|
4863
4864
|
private _minDate;
|
|
@@ -4941,6 +4942,57 @@ declare class PoCalendarBaseComponent {
|
|
|
4941
4942
|
get mode(): PoCalendarMode;
|
|
4942
4943
|
get isRange(): boolean;
|
|
4943
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';
|
|
4944
4996
|
/**
|
|
4945
4997
|
* @optional
|
|
4946
4998
|
*
|
|
@@ -4955,13 +5007,14 @@ declare class PoCalendarBaseComponent {
|
|
|
4955
5007
|
*/
|
|
4956
5008
|
set size(value: string);
|
|
4957
5009
|
get size(): string;
|
|
5010
|
+
widthWithPresets?: boolean;
|
|
4958
5011
|
constructor(poDate: PoDateService, languageService: PoLanguageService);
|
|
4959
5012
|
protected onThemeChange(): void;
|
|
4960
5013
|
protected setActivateDate(date?: Date | string): void;
|
|
4961
5014
|
private verifyActivateDate;
|
|
4962
5015
|
private applySizeBasedOnA11y;
|
|
4963
5016
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoCalendarBaseComponent, never>;
|
|
4964
|
-
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>;
|
|
4965
5018
|
}
|
|
4966
5019
|
|
|
4967
5020
|
/**
|
|
@@ -4974,6 +5027,11 @@ declare class PoCalendarBaseComponent {
|
|
|
4974
5027
|
* <file name="sample-po-calendar-basic/sample-po-calendar-basic.component.ts"> </file>
|
|
4975
5028
|
* </example>
|
|
4976
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
|
+
*
|
|
4977
5035
|
* <example name="po-calendar-labs" title="PO Calendar Labs" >
|
|
4978
5036
|
* <file name="sample-po-calendar-labs/sample-po-calendar-labs.component.html"> </file>
|
|
4979
5037
|
* <file name="sample-po-calendar-labs/sample-po-calendar-labs.component.ts"> </file>
|
|
@@ -4984,13 +5042,23 @@ declare class PoCalendarBaseComponent {
|
|
|
4984
5042
|
* <file name="sample-po-calendar-ticket-sales/sample-po-calendar-ticket-sales.component.ts"> </file>
|
|
4985
5043
|
* </example>
|
|
4986
5044
|
*/
|
|
4987
|
-
declare class PoCalendarComponent extends PoCalendarBaseComponent implements OnInit, OnChanges {
|
|
4988
|
-
private changeDetector;
|
|
5045
|
+
declare class PoCalendarComponent extends PoCalendarBaseComponent implements OnInit, OnChanges, DoCheck {
|
|
5046
|
+
private readonly changeDetector;
|
|
5047
|
+
private readonly poCalendarLangService;
|
|
4989
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[]>;
|
|
4990
5057
|
constructor();
|
|
4991
|
-
get isResponsive():
|
|
5058
|
+
get isResponsive(): RegExpMatchArray;
|
|
4992
5059
|
ngOnInit(): void;
|
|
4993
5060
|
ngOnChanges(changes: SimpleChanges): void;
|
|
5061
|
+
ngDoCheck(): void;
|
|
4994
5062
|
getActivateDate(partType: any): any;
|
|
4995
5063
|
getValue(partType: any): any;
|
|
4996
5064
|
onSelectDate(selectedDate: any, partType?: any): void;
|
|
@@ -5006,6 +5074,15 @@ declare class PoCalendarComponent extends PoCalendarBaseComponent implements OnI
|
|
|
5006
5074
|
[key: string]: any;
|
|
5007
5075
|
};
|
|
5008
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;
|
|
5009
5086
|
private getValidateStartDate;
|
|
5010
5087
|
private getValueFromSelectedDate;
|
|
5011
5088
|
private updateActivateDateFromHeaderChange;
|
|
@@ -5018,6 +5095,24 @@ declare class PoCalendarComponent extends PoCalendarBaseComponent implements OnI
|
|
|
5018
5095
|
static ɵcmp: i0.ɵɵComponentDeclaration<PoCalendarComponent, "po-calendar", never, {}, {}, never, never, false, never>;
|
|
5019
5096
|
}
|
|
5020
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
|
+
|
|
5021
5116
|
/**
|
|
5022
5117
|
* @usedBy PoComboComponent
|
|
5023
5118
|
*
|
|
@@ -5042,19 +5137,20 @@ interface PoComboOption {
|
|
|
5042
5137
|
|
|
5043
5138
|
declare class PoCalendarLangService {
|
|
5044
5139
|
private language;
|
|
5045
|
-
private months;
|
|
5046
|
-
private shortWeekDays;
|
|
5047
|
-
private monthLabel;
|
|
5048
|
-
private yearLabel;
|
|
5049
|
-
private todayLabel;
|
|
5050
|
-
private previousMonthLabel;
|
|
5051
|
-
private nextMonthLabel;
|
|
5140
|
+
private readonly months;
|
|
5141
|
+
private readonly shortWeekDays;
|
|
5142
|
+
private readonly monthLabel;
|
|
5143
|
+
private readonly yearLabel;
|
|
5144
|
+
private readonly todayLabel;
|
|
5145
|
+
private readonly previousMonthLabel;
|
|
5146
|
+
private readonly nextMonthLabel;
|
|
5052
5147
|
readonly toCleanLabel: {
|
|
5053
5148
|
pt: string;
|
|
5054
5149
|
en: string;
|
|
5055
5150
|
es: string;
|
|
5056
5151
|
ru: string;
|
|
5057
5152
|
};
|
|
5153
|
+
private readonly presetLabels;
|
|
5058
5154
|
getMonth(month: number): any;
|
|
5059
5155
|
getMonthLabel(): any;
|
|
5060
5156
|
getMonthsArray(): any[];
|
|
@@ -5065,6 +5161,7 @@ declare class PoCalendarLangService {
|
|
|
5065
5161
|
getPreviousMonthLabel(): any;
|
|
5066
5162
|
getNextMonthLabel(): any;
|
|
5067
5163
|
getToCleanLabel(): any;
|
|
5164
|
+
getPresetLabel(key: string): string;
|
|
5068
5165
|
setLanguage(language: string): void;
|
|
5069
5166
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoCalendarLangService, never>;
|
|
5070
5167
|
static ɵprov: i0.ɵɵInjectableDeclaration<PoCalendarLangService>;
|
|
@@ -5099,10 +5196,39 @@ declare class PoCalendarHeaderComponent implements OnInit, OnChanges {
|
|
|
5099
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>;
|
|
5100
5197
|
}
|
|
5101
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
|
+
|
|
5102
5228
|
declare class PoCalendarWrapperComponent implements OnInit, OnChanges {
|
|
5103
|
-
private poCalendarService;
|
|
5104
|
-
private poCalendarLangService;
|
|
5105
|
-
private poDate;
|
|
5229
|
+
private readonly poCalendarService;
|
|
5230
|
+
private readonly poCalendarLangService;
|
|
5231
|
+
private readonly poDate;
|
|
5106
5232
|
readonly cdr: ChangeDetectorRef;
|
|
5107
5233
|
readonly elementRef: ElementRef<any>;
|
|
5108
5234
|
value: any;
|
|
@@ -5116,6 +5242,8 @@ declare class PoCalendarWrapperComponent implements OnInit, OnChanges {
|
|
|
5116
5242
|
maxDate: any;
|
|
5117
5243
|
hoverValue: Date;
|
|
5118
5244
|
size: string;
|
|
5245
|
+
hideTodayButton: boolean;
|
|
5246
|
+
hasPresets: boolean;
|
|
5119
5247
|
headerTemplate?: TemplateRef<any>;
|
|
5120
5248
|
private _locale;
|
|
5121
5249
|
set locale(value: string);
|
|
@@ -5171,6 +5299,12 @@ declare class PoCalendarWrapperComponent implements OnInit, OnChanges {
|
|
|
5171
5299
|
private updateTemplateContext;
|
|
5172
5300
|
updateDate(year: number, month: number, comboComponent?: any): void;
|
|
5173
5301
|
onComboBlur(comboComponent?: any): void;
|
|
5302
|
+
private handleComboBlur;
|
|
5303
|
+
private syncInputValue;
|
|
5304
|
+
private applySelectedValue;
|
|
5305
|
+
private ensureValidDisplay;
|
|
5306
|
+
private isMonthInvalid;
|
|
5307
|
+
private isYearInvalid;
|
|
5174
5308
|
private updateDisplay;
|
|
5175
5309
|
private setInitialFocusedDay;
|
|
5176
5310
|
private ensureValidFocusedDay;
|
|
@@ -5185,11 +5319,9 @@ declare class PoCalendarWrapperComponent implements OnInit, OnChanges {
|
|
|
5185
5319
|
onMouseEnter(day: any): void;
|
|
5186
5320
|
onMouseLeave(): void;
|
|
5187
5321
|
onSelectToday(): void;
|
|
5188
|
-
|
|
5322
|
+
onFooterCloseCalendar(): void;
|
|
5189
5323
|
onHostKeydown(event: KeyboardEvent): void;
|
|
5190
5324
|
private restoreOriginalDisplay;
|
|
5191
|
-
onTodayKeydownEnter(event: KeyboardEvent): void;
|
|
5192
|
-
onTodayKeydownSpace(event: KeyboardEvent): void;
|
|
5193
5325
|
onDayKeydown(event: KeyboardEvent, day: Date, index: number): void;
|
|
5194
5326
|
private isSelectionKey;
|
|
5195
5327
|
private handleSelectKey;
|
|
@@ -5230,7 +5362,7 @@ declare class PoCalendarWrapperComponent implements OnInit, OnChanges {
|
|
|
5230
5362
|
trackByDay(index: number, day: Date): string;
|
|
5231
5363
|
trackByWeekDay(index: number, weekDay: string): string;
|
|
5232
5364
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoCalendarWrapperComponent, never>;
|
|
5233
|
-
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>;
|
|
5234
5366
|
}
|
|
5235
5367
|
|
|
5236
5368
|
/**
|
|
@@ -5323,7 +5455,7 @@ interface PoComboLiterals {
|
|
|
5323
5455
|
* Serviço padrão utilizado para filtrar os dados do componente po-combo.
|
|
5324
5456
|
*/
|
|
5325
5457
|
declare class PoComboFilterService implements PoComboFilter {
|
|
5326
|
-
private http;
|
|
5458
|
+
private readonly http;
|
|
5327
5459
|
fieldLabel: string;
|
|
5328
5460
|
fieldValue: string;
|
|
5329
5461
|
hasNext: boolean;
|
|
@@ -5438,8 +5570,6 @@ declare abstract class PoComboBaseComponent implements ControlValueAccessor, OnI
|
|
|
5438
5570
|
*/
|
|
5439
5571
|
autoFocus: boolean;
|
|
5440
5572
|
/**
|
|
5441
|
-
* @Input
|
|
5442
|
-
*
|
|
5443
5573
|
* @optional
|
|
5444
5574
|
*
|
|
5445
5575
|
* @description
|
|
@@ -5704,8 +5834,6 @@ declare abstract class PoComboBaseComponent implements ControlValueAccessor, OnI
|
|
|
5704
5834
|
*/
|
|
5705
5835
|
listboxControlPosition: 'top' | 'bottom';
|
|
5706
5836
|
/**
|
|
5707
|
-
* @Input
|
|
5708
|
-
*
|
|
5709
5837
|
* @optional
|
|
5710
5838
|
*
|
|
5711
5839
|
* @description
|
|
@@ -5717,8 +5845,6 @@ declare abstract class PoComboBaseComponent implements ControlValueAccessor, OnI
|
|
|
5717
5845
|
*/
|
|
5718
5846
|
poHelperComponent: i0.InputSignal<string | PoHelperOptions>;
|
|
5719
5847
|
/**
|
|
5720
|
-
* @Input
|
|
5721
|
-
*
|
|
5722
5848
|
* @optional
|
|
5723
5849
|
*
|
|
5724
5850
|
* @description
|
|
@@ -5770,7 +5896,7 @@ declare abstract class PoComboBaseComponent implements ControlValueAccessor, OnI
|
|
|
5770
5896
|
private _size?;
|
|
5771
5897
|
private _initialSize?;
|
|
5772
5898
|
private _sort?;
|
|
5773
|
-
private language;
|
|
5899
|
+
private readonly language;
|
|
5774
5900
|
private _infiniteScrollDistance?;
|
|
5775
5901
|
private _infiniteScroll?;
|
|
5776
5902
|
private _removeInitialFilter;
|
|
@@ -6194,7 +6320,7 @@ declare class PoComboComponent extends PoComboBaseComponent implements AfterView
|
|
|
6194
6320
|
differs: IterableDiffers;
|
|
6195
6321
|
defaultService: PoComboFilterService;
|
|
6196
6322
|
renderer: Renderer2;
|
|
6197
|
-
private controlPosition;
|
|
6323
|
+
private readonly controlPosition;
|
|
6198
6324
|
comboOptionTemplate: PoComboOptionTemplateDirective;
|
|
6199
6325
|
outerContainer: ElementRef;
|
|
6200
6326
|
containerElement: ElementRef;
|
|
@@ -6218,7 +6344,7 @@ declare class PoComboComponent extends PoComboBaseComponent implements AfterView
|
|
|
6218
6344
|
private eventResizeListener;
|
|
6219
6345
|
private filterSubscription;
|
|
6220
6346
|
private getSubscription;
|
|
6221
|
-
private subscriptionScrollEvent;
|
|
6347
|
+
private readonly subscriptionScrollEvent;
|
|
6222
6348
|
constructor();
|
|
6223
6349
|
set isServerSearching(value: boolean);
|
|
6224
6350
|
get isServerSearching(): boolean;
|
|
@@ -6306,7 +6432,7 @@ declare class PoComboComponent extends PoComboBaseComponent implements AfterView
|
|
|
6306
6432
|
private initializeListeners;
|
|
6307
6433
|
private isAdditionalHelpEventTriggered;
|
|
6308
6434
|
private onErrorGetObjectByValue;
|
|
6309
|
-
private onScroll;
|
|
6435
|
+
private readonly onScroll;
|
|
6310
6436
|
private onErrorFilteredData;
|
|
6311
6437
|
private open;
|
|
6312
6438
|
private removeListeners;
|
|
@@ -6404,7 +6530,7 @@ declare class PoComboModule {
|
|
|
6404
6530
|
*/
|
|
6405
6531
|
declare class PoCalendarModule {
|
|
6406
6532
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoCalendarModule, never>;
|
|
6407
|
-
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]>;
|
|
6408
6534
|
static ɵinj: i0.ɵɵInjectorDeclaration<PoCalendarModule>;
|
|
6409
6535
|
}
|
|
6410
6536
|
|
|
@@ -6674,14 +6800,14 @@ declare class PoModalFooterComponent {
|
|
|
6674
6800
|
* </example>
|
|
6675
6801
|
*/
|
|
6676
6802
|
declare class PoModalComponent extends PoModalBaseComponent {
|
|
6677
|
-
private poActiveOverlayService;
|
|
6803
|
+
private readonly poActiveOverlayService;
|
|
6678
6804
|
modalContent: ElementRef;
|
|
6679
6805
|
modalContainer: ElementRef;
|
|
6680
6806
|
modalFooter: PoModalFooterComponent;
|
|
6681
6807
|
private firstElement;
|
|
6682
6808
|
private focusFunction;
|
|
6683
|
-
private focusableElements;
|
|
6684
|
-
private id;
|
|
6809
|
+
private readonly focusableElements;
|
|
6810
|
+
private readonly id;
|
|
6685
6811
|
private sourceElement;
|
|
6686
6812
|
constructor();
|
|
6687
6813
|
close(xClosed?: boolean): void;
|
|
@@ -7701,8 +7827,8 @@ declare class PoTableColumnTemplateDirective {
|
|
|
7701
7827
|
}
|
|
7702
7828
|
|
|
7703
7829
|
declare class PoTableColumnFrozenDirective implements AfterViewInit, OnChanges {
|
|
7704
|
-
private el;
|
|
7705
|
-
private renderer;
|
|
7830
|
+
private readonly el;
|
|
7831
|
+
private readonly renderer;
|
|
7706
7832
|
_frozen: boolean;
|
|
7707
7833
|
get frozen(): boolean;
|
|
7708
7834
|
set frozen(val: boolean);
|
|
@@ -7862,7 +7988,7 @@ interface PoNotification {
|
|
|
7862
7988
|
*
|
|
7863
7989
|
*/
|
|
7864
7990
|
declare abstract class PoToasterBaseComponent {
|
|
7865
|
-
private _isHide;
|
|
7991
|
+
private readonly _isHide;
|
|
7866
7992
|
private _sizeActions;
|
|
7867
7993
|
private _initialSizeActions;
|
|
7868
7994
|
/**
|
|
@@ -7988,7 +8114,7 @@ declare abstract class PoToasterBaseComponent {
|
|
|
7988
8114
|
*/
|
|
7989
8115
|
declare class PoToasterComponent extends PoToasterBaseComponent implements AfterViewInit, OnDestroy, OnChanges {
|
|
7990
8116
|
changeDetector: ChangeDetectorRef;
|
|
7991
|
-
private renderer;
|
|
8117
|
+
private readonly renderer;
|
|
7992
8118
|
toaster: ElementRef;
|
|
7993
8119
|
buttonClose: PoButtonComponent;
|
|
7994
8120
|
alive: boolean;
|
|
@@ -8065,9 +8191,9 @@ declare const poToasterLiterals: {
|
|
|
8065
8191
|
};
|
|
8066
8192
|
|
|
8067
8193
|
declare class PoComponentInjectorService {
|
|
8068
|
-
private componentResolver;
|
|
8069
|
-
private applicationRef;
|
|
8070
|
-
private injector;
|
|
8194
|
+
private readonly componentResolver;
|
|
8195
|
+
private readonly applicationRef;
|
|
8196
|
+
private readonly injector;
|
|
8071
8197
|
constructor(componentResolver: ComponentFactoryResolver, applicationRef: ApplicationRef, injector: Injector);
|
|
8072
8198
|
createComponentInApplication(component: any): ComponentRef<any>;
|
|
8073
8199
|
destroyComponentInApplication(componentRef: any): void;
|
|
@@ -8180,7 +8306,7 @@ declare abstract class PoNotificationBaseService {
|
|
|
8180
8306
|
* </example>
|
|
8181
8307
|
*/
|
|
8182
8308
|
declare class PoNotificationService extends PoNotificationBaseService {
|
|
8183
|
-
private poComponentInjector;
|
|
8309
|
+
private readonly poComponentInjector;
|
|
8184
8310
|
constructor(poComponentInjector: PoComponentInjectorService);
|
|
8185
8311
|
createToaster(toaster: PoToaster): void;
|
|
8186
8312
|
destroyToaster(toaster: any): void;
|
|
@@ -8278,7 +8404,7 @@ interface PoTableFilter {
|
|
|
8278
8404
|
}
|
|
8279
8405
|
|
|
8280
8406
|
declare class PoTableService implements PoTableFilter {
|
|
8281
|
-
private http;
|
|
8407
|
+
private readonly http;
|
|
8282
8408
|
readonly headers: HttpHeaders;
|
|
8283
8409
|
private url;
|
|
8284
8410
|
private urlDelete;
|
|
@@ -8345,8 +8471,8 @@ type QueryParamsType = string | number | boolean;
|
|
|
8345
8471
|
*
|
|
8346
8472
|
*/
|
|
8347
8473
|
declare abstract class PoTableBaseComponent implements OnChanges, OnDestroy {
|
|
8348
|
-
private poDate;
|
|
8349
|
-
private poTableService;
|
|
8474
|
+
private readonly poDate;
|
|
8475
|
+
private readonly poTableService;
|
|
8350
8476
|
/**
|
|
8351
8477
|
* @optional
|
|
8352
8478
|
*
|
|
@@ -8663,7 +8789,7 @@ declare abstract class PoTableBaseComponent implements OnChanges, OnDestroy {
|
|
|
8663
8789
|
private _literals;
|
|
8664
8790
|
private _loading?;
|
|
8665
8791
|
private _selectable?;
|
|
8666
|
-
private language;
|
|
8792
|
+
private readonly language;
|
|
8667
8793
|
private _serviceApi;
|
|
8668
8794
|
private _serviceDeleteApi;
|
|
8669
8795
|
private poTableServiceSubscription;
|
|
@@ -9110,8 +9236,8 @@ declare abstract class PoTableBaseComponent implements OnChanges, OnDestroy {
|
|
|
9110
9236
|
* </example>
|
|
9111
9237
|
*/
|
|
9112
9238
|
declare class PoTableComponent extends PoTableBaseComponent implements AfterViewInit, DoCheck, OnDestroy, OnInit {
|
|
9113
|
-
private changeDetector;
|
|
9114
|
-
private decimalPipe;
|
|
9239
|
+
private readonly changeDetector;
|
|
9240
|
+
private readonly decimalPipe;
|
|
9115
9241
|
private readonly defaultService;
|
|
9116
9242
|
tableRowTemplate: PoTableRowTemplateDirective;
|
|
9117
9243
|
tableCellTemplate: PoTableCellTemplateDirective;
|
|
@@ -9151,15 +9277,15 @@ declare class PoTableComponent extends PoTableBaseComponent implements AfterView
|
|
|
9151
9277
|
confirm: PoModalAction;
|
|
9152
9278
|
private _columnManagerTarget;
|
|
9153
9279
|
private _columnManagerTargetFixed;
|
|
9154
|
-
private differ;
|
|
9280
|
+
private readonly differ;
|
|
9155
9281
|
private footerHeight;
|
|
9156
9282
|
private timeoutResize;
|
|
9157
9283
|
private visibleElement;
|
|
9158
9284
|
private scrollEvent$;
|
|
9159
9285
|
private subscriptionScrollEvent;
|
|
9160
|
-
private subscriptionService;
|
|
9161
|
-
private clickListener;
|
|
9162
|
-
private resizeListener;
|
|
9286
|
+
private readonly subscriptionService;
|
|
9287
|
+
private readonly clickListener;
|
|
9288
|
+
private readonly resizeListener;
|
|
9163
9289
|
set columnManagerTarget(value: ElementRef);
|
|
9164
9290
|
get columnManagerTarget(): ElementRef;
|
|
9165
9291
|
set columnManagerTargetFixed(value: ElementRef);
|
|
@@ -9726,12 +9852,12 @@ declare const poPageSlideLiteralsDefault: {
|
|
|
9726
9852
|
* </example>
|
|
9727
9853
|
*/
|
|
9728
9854
|
declare class PoPageSlideComponent extends PoPageSlideBaseComponent {
|
|
9729
|
-
private poActiveOverlayService;
|
|
9730
|
-
private languageService;
|
|
9855
|
+
private readonly poActiveOverlayService;
|
|
9856
|
+
private readonly languageService;
|
|
9731
9857
|
private _pageContent;
|
|
9732
9858
|
private firstElement;
|
|
9733
|
-
private id;
|
|
9734
|
-
private loadingCompleted;
|
|
9859
|
+
private readonly id;
|
|
9860
|
+
private readonly loadingCompleted;
|
|
9735
9861
|
private sourceElement;
|
|
9736
9862
|
buttonAriaLabel: string;
|
|
9737
9863
|
duration: string;
|
|
@@ -9773,7 +9899,7 @@ declare class PoPageSlideModule {
|
|
|
9773
9899
|
}
|
|
9774
9900
|
|
|
9775
9901
|
declare class PoTableColumnManagerComponent implements OnChanges, OnDestroy {
|
|
9776
|
-
private renderer;
|
|
9902
|
+
private readonly renderer;
|
|
9777
9903
|
popover: PoPopoverComponent;
|
|
9778
9904
|
pageSlideColumnsManager: PoPageSlideComponent;
|
|
9779
9905
|
columns: Array<PoTableColumn>;
|
|
@@ -9793,7 +9919,7 @@ declare class PoTableColumnManagerComponent implements OnChanges, OnDestroy {
|
|
|
9793
9919
|
private resizeListener;
|
|
9794
9920
|
private restoreDefaultEvent;
|
|
9795
9921
|
private lastEmittedValue;
|
|
9796
|
-
private minColumns;
|
|
9922
|
+
private readonly minColumns;
|
|
9797
9923
|
private _componentsSize?;
|
|
9798
9924
|
/**
|
|
9799
9925
|
* @optional
|
|
@@ -9943,8 +10069,6 @@ declare class PoCheckboxGroupBaseComponent implements ControlValueAccessor, Vali
|
|
|
9943
10069
|
*/
|
|
9944
10070
|
autoFocus: boolean;
|
|
9945
10071
|
/**
|
|
9946
|
-
* @Input
|
|
9947
|
-
*
|
|
9948
10072
|
* @optional
|
|
9949
10073
|
*
|
|
9950
10074
|
* @description
|
|
@@ -10026,8 +10150,6 @@ declare class PoCheckboxGroupBaseComponent implements ControlValueAccessor, Vali
|
|
|
10026
10150
|
*/
|
|
10027
10151
|
errorLimit: boolean;
|
|
10028
10152
|
/**
|
|
10029
|
-
* @Input
|
|
10030
|
-
*
|
|
10031
10153
|
* @optional
|
|
10032
10154
|
*
|
|
10033
10155
|
* @description
|
|
@@ -10039,8 +10161,6 @@ declare class PoCheckboxGroupBaseComponent implements ControlValueAccessor, Vali
|
|
|
10039
10161
|
*/
|
|
10040
10162
|
poHelperComponent: i0.InputSignal<string | PoHelperOptions>;
|
|
10041
10163
|
/**
|
|
10042
|
-
* @Input
|
|
10043
|
-
*
|
|
10044
10164
|
* @optional
|
|
10045
10165
|
*
|
|
10046
10166
|
* @description
|
|
@@ -10243,10 +10363,10 @@ declare class PoCheckboxGroupBaseComponent implements ControlValueAccessor, Vali
|
|
|
10243
10363
|
* </example>
|
|
10244
10364
|
*/
|
|
10245
10365
|
declare class PoCheckboxGroupComponent extends PoCheckboxGroupBaseComponent implements AfterViewChecked, AfterViewInit, OnChanges {
|
|
10246
|
-
private changeDetector;
|
|
10366
|
+
private readonly changeDetector;
|
|
10247
10367
|
checkboxLabels: QueryList<PoCheckboxComponent>;
|
|
10248
10368
|
helperEl?: PoHelperComponent;
|
|
10249
|
-
private el;
|
|
10369
|
+
private readonly el;
|
|
10250
10370
|
ngOnChanges(changes: SimpleChanges): void;
|
|
10251
10371
|
ngAfterViewChecked(): void;
|
|
10252
10372
|
ngAfterViewInit(): void;
|
|
@@ -10314,8 +10434,8 @@ declare class PoCheckboxGroupComponent extends PoCheckboxGroupBaseComponent impl
|
|
|
10314
10434
|
type Direction = 'up' | 'down';
|
|
10315
10435
|
declare class PoTableListManagerComponent extends PoCheckboxGroupComponent {
|
|
10316
10436
|
private _componentsSize?;
|
|
10317
|
-
private changePosition;
|
|
10318
|
-
private changeColumnFixed;
|
|
10437
|
+
private readonly changePosition;
|
|
10438
|
+
private readonly changeColumnFixed;
|
|
10319
10439
|
columnsManager: Array<PoTableColumn>;
|
|
10320
10440
|
/**
|
|
10321
10441
|
* @optional
|
|
@@ -10356,7 +10476,7 @@ declare class PoTableListManagerComponent extends PoCheckboxGroupComponent {
|
|
|
10356
10476
|
* Componente responsável por apresentar o detalhe de cada linha da tabela.
|
|
10357
10477
|
*/
|
|
10358
10478
|
declare class PoTableDetailComponent {
|
|
10359
|
-
private decimalPipe;
|
|
10479
|
+
private readonly decimalPipe;
|
|
10360
10480
|
private _componentsSize?;
|
|
10361
10481
|
/**
|
|
10362
10482
|
* @optional
|
|
@@ -10479,7 +10599,7 @@ declare class PoColorPaletteService {
|
|
|
10479
10599
|
* Componente para a criação da representação da legenda, em formato de círculo.
|
|
10480
10600
|
*/
|
|
10481
10601
|
declare class PoTableSubtitleCircleComponent {
|
|
10482
|
-
private poColorPaletteService;
|
|
10602
|
+
private readonly poColorPaletteService;
|
|
10483
10603
|
/** Esconde a tooltip. */
|
|
10484
10604
|
hideTitle: boolean;
|
|
10485
10605
|
private _subtitle;
|
|
@@ -10499,7 +10619,7 @@ declare class PoTableSubtitleCircleComponent {
|
|
|
10499
10619
|
* Componente para a criação de um conjunto de legendas.
|
|
10500
10620
|
*/
|
|
10501
10621
|
declare class PoTableSubtitleFooterComponent implements AfterViewInit, DoCheck, OnDestroy {
|
|
10502
|
-
private element;
|
|
10622
|
+
private readonly element;
|
|
10503
10623
|
renderer: Renderer2;
|
|
10504
10624
|
/** Define o tamanho dos elementos que possuem `p-size` dentro do componente. */
|
|
10505
10625
|
componentsSize: string;
|
|
@@ -10805,8 +10925,8 @@ declare abstract class PoFieldModel<T> implements ControlValueAccessor {
|
|
|
10805
10925
|
}
|
|
10806
10926
|
|
|
10807
10927
|
declare class PoRadioComponent extends PoFieldModel<boolean> {
|
|
10808
|
-
private changeDetector;
|
|
10809
|
-
private renderer;
|
|
10928
|
+
private readonly changeDetector;
|
|
10929
|
+
private readonly renderer;
|
|
10810
10930
|
radio: ElementRef;
|
|
10811
10931
|
radioInput: ElementRef;
|
|
10812
10932
|
value: boolean;
|
|
@@ -10977,9 +11097,6 @@ declare class PoSwitchComponent extends PoFieldModel<any> implements Validator,
|
|
|
10977
11097
|
private _initialSize?;
|
|
10978
11098
|
private statusChangesSubscription;
|
|
10979
11099
|
/**
|
|
10980
|
-
*
|
|
10981
|
-
* @Input
|
|
10982
|
-
*
|
|
10983
11100
|
* @optional
|
|
10984
11101
|
*
|
|
10985
11102
|
* @description
|
|
@@ -11129,8 +11246,6 @@ declare class PoSwitchComponent extends PoFieldModel<any> implements Validator,
|
|
|
11129
11246
|
set size(value: string);
|
|
11130
11247
|
get size(): string;
|
|
11131
11248
|
/**
|
|
11132
|
-
* @Input
|
|
11133
|
-
*
|
|
11134
11249
|
* @optional
|
|
11135
11250
|
*
|
|
11136
11251
|
* @description
|
|
@@ -11142,8 +11257,6 @@ declare class PoSwitchComponent extends PoFieldModel<any> implements Validator,
|
|
|
11142
11257
|
*/
|
|
11143
11258
|
poHelperComponent: i0.InputSignal<string | PoHelperOptions>;
|
|
11144
11259
|
/**
|
|
11145
|
-
* @Input
|
|
11146
|
-
*
|
|
11147
11260
|
* @optional
|
|
11148
11261
|
*
|
|
11149
11262
|
* @description
|
|
@@ -11364,8 +11477,8 @@ declare class PoDropdownBaseComponent {
|
|
|
11364
11477
|
* </example>
|
|
11365
11478
|
*/
|
|
11366
11479
|
declare class PoDropdownComponent extends PoDropdownBaseComponent {
|
|
11367
|
-
private renderer;
|
|
11368
|
-
private changeDetector;
|
|
11480
|
+
private readonly renderer;
|
|
11481
|
+
private readonly changeDetector;
|
|
11369
11482
|
dropdownRef: ElementRef;
|
|
11370
11483
|
popupRef: any;
|
|
11371
11484
|
private clickoutListener;
|
|
@@ -11375,7 +11488,7 @@ declare class PoDropdownComponent extends PoDropdownBaseComponent {
|
|
|
11375
11488
|
private checkClickArea;
|
|
11376
11489
|
private hideDropdown;
|
|
11377
11490
|
private initializeListeners;
|
|
11378
|
-
private onScroll;
|
|
11491
|
+
private readonly onScroll;
|
|
11379
11492
|
private isDropdownClosed;
|
|
11380
11493
|
private removeListeners;
|
|
11381
11494
|
private showDropdown;
|
|
@@ -11935,7 +12048,6 @@ declare class PoSearchBaseComponent {
|
|
|
11935
12048
|
* <example name="po-search-labs" title="PO Search Labs">
|
|
11936
12049
|
* <file name="sample-po-search-labs/sample-po-search-labs.component.html"> </file>
|
|
11937
12050
|
* <file name="sample-po-search-labs/sample-po-search-labs.component.ts"> </file>
|
|
11938
|
-
* <file name="sample-po-search-labs/sample-po-search-labs.service.ts"> </file>
|
|
11939
12051
|
* </example>
|
|
11940
12052
|
*
|
|
11941
12053
|
* <example name="po-search-find-people" title="PO Search Find People">
|
|
@@ -13377,6 +13489,177 @@ declare class PoChartModule {
|
|
|
13377
13489
|
static ɵinj: i0.ɵɵInjectorDeclaration<PoChartModule>;
|
|
13378
13490
|
}
|
|
13379
13491
|
|
|
13492
|
+
/**
|
|
13493
|
+
* @usedBy PoContextMenuComponent
|
|
13494
|
+
*
|
|
13495
|
+
* @description
|
|
13496
|
+
*
|
|
13497
|
+
* Interface para os itens do componente po-context-menu.
|
|
13498
|
+
*/
|
|
13499
|
+
interface PoContextMenuItem {
|
|
13500
|
+
/** Texto do item de menu. */
|
|
13501
|
+
label: string;
|
|
13502
|
+
/** Ação executada ao clicar no item. */
|
|
13503
|
+
action?: Function;
|
|
13504
|
+
/** Estado de seleção do item. */
|
|
13505
|
+
selected?: boolean;
|
|
13506
|
+
}
|
|
13507
|
+
|
|
13508
|
+
/**
|
|
13509
|
+
* @description
|
|
13510
|
+
*
|
|
13511
|
+
* O componente `po-context-menu` é uma barra lateral de contexto (sidebar) para navegação interna entre contextos.
|
|
13512
|
+
* Inspirado visualmente no `po-menu`, porém independente e focado em navegação contextual.
|
|
13513
|
+
*
|
|
13514
|
+
* No caso de uso do componente `po-page-default` em conjunto, ambos devem estar no mesmo nível
|
|
13515
|
+
* e inseridos em uma div com a classe **po-context-menu-wrapper**.
|
|
13516
|
+
* Esta classe é responsável por fazer os cálculos necessários para o alinhamento dos componentes.
|
|
13517
|
+
*
|
|
13518
|
+
* O uso simultâneo dos componentes `po-menu` e `po-context-menu` não é recomendado.
|
|
13519
|
+
* Porém, se os mesmos forem necessários na mesma interface, certifique-se de que não permaneçam expandidos
|
|
13520
|
+
* simultaneamente para não comprometer a usabilidade.
|
|
13521
|
+
*
|
|
13522
|
+
* #### Tokens customizáveis
|
|
13523
|
+
*
|
|
13524
|
+
* É possível alterar o estilo do componente usando os seguintes tokens (CSS):
|
|
13525
|
+
*
|
|
13526
|
+
* > Para maiores informações, acesse o guia [Personalizando o Tema Padrão com Tokens CSS](https://po-ui.io/guides/theme-customization).
|
|
13527
|
+
*
|
|
13528
|
+
* | Propriedade | Descrição | Valor Padrão |
|
|
13529
|
+
* |----------------------------------------|--------------------------------------------------------------|-------------------------------------------------|
|
|
13530
|
+
* | **Default Values** | | |
|
|
13531
|
+
* | `--font-family` | Família tipográfica usada | `var(--font-family-theme)` |
|
|
13532
|
+
* | `--font-size` | Tamanho da fonte dos itens | `var(--font-size-default)` |
|
|
13533
|
+
* | `--font-size-context-title` | Tamanho da fonte do título de contexto | `var(--font-size-sm)` |
|
|
13534
|
+
* | `--font-size-title` | Tamanho da fonte do título principal | `var(--font-size-lg)` |
|
|
13535
|
+
* | `--line-height` | Altura da linha | `var(--line-height-md)` |
|
|
13536
|
+
* | `--border-radius` | Raio dos cantos dos itens | `var(--border-radius-md)` |
|
|
13537
|
+
* | `--border-color` | Cor da borda lateral direita do componente | `var(--color-neutral-light-20)` |
|
|
13538
|
+
* | `--background-color` | Cor de fundo do componente | `var(--color-neutral-light-05)` |
|
|
13539
|
+
* | `--color` | Cor do texto dos itens | `var(--color-action-default)` |
|
|
13540
|
+
* | `--color-context-title` | Cor do texto do título de contexto | `var(--color-neutral-mid-40)` |
|
|
13541
|
+
* | `--color-title` | Cor do texto do título principal | `var(--color-neutral-dark-80)` |
|
|
13542
|
+
* | `--font-weight` | Peso da fonte dos itens | `var(--font-weight-bold)` |
|
|
13543
|
+
* | `--font-weight-title` | Peso da fonte do título principal | `var(--font-weight-bold)` |
|
|
13544
|
+
* | `--outline-color-focused` | Cor do outline no estado de focus | `var(--color-action-focus)` |
|
|
13545
|
+
* | **Hover** | | |
|
|
13546
|
+
* | `--color-hover` | Cor do texto no estado hover | `var(--color-brand-01-darkest)` |
|
|
13547
|
+
* | `--background-color-hover` | Cor de fundo no estado hover | `var(--color-brand-01-lighter)` |
|
|
13548
|
+
* | **Pressed** | | |
|
|
13549
|
+
* | `--background-color-pressed` | Cor de fundo no estado pressed | `var(--color-brand-01-light)` |
|
|
13550
|
+
* | **Active (Selected)** | | |
|
|
13551
|
+
* | `--background-color-actived` | Cor de fundo do item selecionado | `var(--color-brand-01-lightest)` |
|
|
13552
|
+
* | `--color-actived` | Cor do texto do item selecionado | `var(--color-action-pressed)` |
|
|
13553
|
+
*
|
|
13554
|
+
*/
|
|
13555
|
+
declare class PoContextMenuBaseComponent {
|
|
13556
|
+
/**
|
|
13557
|
+
* Título do contexto superior
|
|
13558
|
+
*/
|
|
13559
|
+
contextTitle: i0.InputSignal<string>;
|
|
13560
|
+
/**
|
|
13561
|
+
* Título principal do menu
|
|
13562
|
+
*/
|
|
13563
|
+
title: i0.InputSignal<string>;
|
|
13564
|
+
/**
|
|
13565
|
+
* Lista de itens para renderização.
|
|
13566
|
+
*
|
|
13567
|
+
* > Ao receber os itens, o componente valida que apenas um item pode ter `selected: true`.
|
|
13568
|
+
* > Se mais de um item estiver com `selected: true`, apenas o primeiro será mantido como selecionado.
|
|
13569
|
+
*/
|
|
13570
|
+
items: i0.InputSignal<PoContextMenuItem[]>;
|
|
13571
|
+
/**
|
|
13572
|
+
* Define se o menu está aberto ou fechado.
|
|
13573
|
+
*
|
|
13574
|
+
* Suporta two-way binding:
|
|
13575
|
+
*
|
|
13576
|
+
* ```html
|
|
13577
|
+
* <po-context-menu
|
|
13578
|
+
* [(p-expanded)]="expanded"
|
|
13579
|
+
* />
|
|
13580
|
+
* ```
|
|
13581
|
+
*
|
|
13582
|
+
* ou
|
|
13583
|
+
*
|
|
13584
|
+
* ```html
|
|
13585
|
+
* <po-context-menu
|
|
13586
|
+
* [(p-expanded)]="expanded"
|
|
13587
|
+
* (p-expandedChange)="handlerExpanded($event)"
|
|
13588
|
+
* />
|
|
13589
|
+
* ```
|
|
13590
|
+
*
|
|
13591
|
+
* @default `true`
|
|
13592
|
+
*/
|
|
13593
|
+
expanded: i0.ModelSignal<boolean>;
|
|
13594
|
+
/**
|
|
13595
|
+
* Evento emitido ao selecionar um item. Emite o item selecionado.
|
|
13596
|
+
*/
|
|
13597
|
+
itemSelected: i0.OutputEmitterRef<PoContextMenuItem>;
|
|
13598
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PoContextMenuBaseComponent, never>;
|
|
13599
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoContextMenuBaseComponent, never, never, { "contextTitle": { "alias": "p-context-title"; "required": false; "isSignal": true; }; "title": { "alias": "p-title"; "required": false; "isSignal": true; }; "items": { "alias": "p-items"; "required": false; "isSignal": true; }; "expanded": { "alias": "p-expanded"; "required": false; "isSignal": true; }; }, { "expanded": "p-expandedChange"; "itemSelected": "p-item-selected"; }, never, never, true, never>;
|
|
13600
|
+
}
|
|
13601
|
+
|
|
13602
|
+
interface PoContextMenuLiterals {
|
|
13603
|
+
close: string;
|
|
13604
|
+
open: string;
|
|
13605
|
+
}
|
|
13606
|
+
interface PoInternalContextMenuItem extends PoContextMenuItem {
|
|
13607
|
+
tooltip?: string;
|
|
13608
|
+
}
|
|
13609
|
+
/**
|
|
13610
|
+
* @docsExtends PoContextMenuBaseComponent
|
|
13611
|
+
*
|
|
13612
|
+
* @example
|
|
13613
|
+
*
|
|
13614
|
+
* <example name="po-context-menu-basic" title="PO Context Menu Basic">
|
|
13615
|
+
* <file name="sample-po-context-menu-basic/sample-po-context-menu-basic.component.html"> </file>
|
|
13616
|
+
* <file name="sample-po-context-menu-basic/sample-po-context-menu-basic.component.ts"> </file>
|
|
13617
|
+
* </example>
|
|
13618
|
+
*
|
|
13619
|
+
* <example name="po-context-menu-labs" title="PO Context Menu Labs">
|
|
13620
|
+
* <file name="sample-po-context-menu-labs/sample-po-context-menu-labs.component.html"> </file>
|
|
13621
|
+
* <file name="sample-po-context-menu-labs/sample-po-context-menu-labs.component.ts"> </file>
|
|
13622
|
+
* </example>
|
|
13623
|
+
*
|
|
13624
|
+
* <example name="po-context-menu-user" title="PO Context - Cadastro de Usuário">
|
|
13625
|
+
* <file name="sample-po-context-menu-user/sample-po-context-menu-user.component.html"> </file>
|
|
13626
|
+
* <file name="sample-po-context-menu-user/sample-po-context-menu-user.component.ts"> </file>
|
|
13627
|
+
* <file name="sample-po-context-menu-user/sample-po-context-menu-user.component.css"> </file>
|
|
13628
|
+
* </example>
|
|
13629
|
+
*/
|
|
13630
|
+
declare class PoContextMenuComponent extends PoContextMenuBaseComponent {
|
|
13631
|
+
private readonly languageService;
|
|
13632
|
+
literals: PoContextMenuLiterals;
|
|
13633
|
+
protected _items: WritableSignal<PoInternalContextMenuItem[]>;
|
|
13634
|
+
protected _titleTooltipCalculated: boolean;
|
|
13635
|
+
protected _contextTitleTooltipCalculated: boolean;
|
|
13636
|
+
protected titleTooltip: WritableSignal<string>;
|
|
13637
|
+
protected contextTitleTooltip: WritableSignal<string>;
|
|
13638
|
+
constructor();
|
|
13639
|
+
toggleExpand(): void;
|
|
13640
|
+
selectItem(item: PoContextMenuItem): void;
|
|
13641
|
+
protected handlerItemTooltip(item: PoInternalContextMenuItem, value: HTMLLIElement): void;
|
|
13642
|
+
protected handlerTitleTooltip(value: HTMLElement): void;
|
|
13643
|
+
protected handlerContextTitleTooltip(value: HTMLElement): void;
|
|
13644
|
+
private setLiterals;
|
|
13645
|
+
private hasMultipleSelected;
|
|
13646
|
+
private sanitizeSelection;
|
|
13647
|
+
private applyTooltipIfOverflows;
|
|
13648
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PoContextMenuComponent, never>;
|
|
13649
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoContextMenuComponent, "po-context-menu", never, {}, {}, never, never, false, never>;
|
|
13650
|
+
}
|
|
13651
|
+
|
|
13652
|
+
/**
|
|
13653
|
+
* @description
|
|
13654
|
+
*
|
|
13655
|
+
* Módulo do componente po-context-menu.
|
|
13656
|
+
*/
|
|
13657
|
+
declare class PoContextMenuModule {
|
|
13658
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PoContextMenuModule, never>;
|
|
13659
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PoContextMenuModule, [typeof PoContextMenuComponent], [typeof i2.CommonModule, typeof PoIconModule, typeof PoTooltipModule], [typeof PoContextMenuComponent]>;
|
|
13660
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PoContextMenuModule>;
|
|
13661
|
+
}
|
|
13662
|
+
|
|
13380
13663
|
/**
|
|
13381
13664
|
* @usedBy PoDisclaimerGroupComponent, PoPageListComponent
|
|
13382
13665
|
*
|
|
@@ -13444,7 +13727,7 @@ declare class PoDisclaimerGroupBaseComponent implements DoCheck {
|
|
|
13444
13727
|
literals: any;
|
|
13445
13728
|
private _disclaimers;
|
|
13446
13729
|
private _hideRemoveAll;
|
|
13447
|
-
private differ;
|
|
13730
|
+
private readonly differ;
|
|
13448
13731
|
private previousDisclaimers;
|
|
13449
13732
|
/** Lista de *disclaimers*. */
|
|
13450
13733
|
/**
|
|
@@ -13519,7 +13802,7 @@ declare class PoDisclaimerGroupBaseComponent implements DoCheck {
|
|
|
13519
13802
|
*/
|
|
13520
13803
|
declare class PoDisclaimerGroupComponent extends PoDisclaimerGroupBaseComponent implements AfterViewInit, OnChanges {
|
|
13521
13804
|
private subscription;
|
|
13522
|
-
private el;
|
|
13805
|
+
private readonly el;
|
|
13523
13806
|
constructor();
|
|
13524
13807
|
ngAfterViewInit(): void;
|
|
13525
13808
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -13565,7 +13848,7 @@ declare class PoDisclaimerRemoveComponent {
|
|
|
13565
13848
|
*
|
|
13566
13849
|
*/
|
|
13567
13850
|
declare class PoDisclaimerBaseComponent {
|
|
13568
|
-
private languageService;
|
|
13851
|
+
private readonly languageService;
|
|
13569
13852
|
/**
|
|
13570
13853
|
* Label que aparecerá dentro do po-disclaimer.
|
|
13571
13854
|
* Quando não for definido um label será apresentada a propriedade p-value.
|
|
@@ -13848,8 +14131,6 @@ declare abstract class PoDatepickerBaseComponent implements ControlValueAccessor
|
|
|
13848
14131
|
*/
|
|
13849
14132
|
autoFocus: boolean;
|
|
13850
14133
|
/**
|
|
13851
|
-
* @Input
|
|
13852
|
-
*
|
|
13853
14134
|
* @optional
|
|
13854
14135
|
*
|
|
13855
14136
|
* @description
|
|
@@ -13982,8 +14263,6 @@ declare abstract class PoDatepickerBaseComponent implements ControlValueAccessor
|
|
|
13982
14263
|
*/
|
|
13983
14264
|
keydown: EventEmitter<KeyboardEvent>;
|
|
13984
14265
|
/**
|
|
13985
|
-
* @Input
|
|
13986
|
-
*
|
|
13987
14266
|
* @optional
|
|
13988
14267
|
*
|
|
13989
14268
|
* @description
|
|
@@ -13995,8 +14274,6 @@ declare abstract class PoDatepickerBaseComponent implements ControlValueAccessor
|
|
|
13995
14274
|
*/
|
|
13996
14275
|
poHelperComponent: i0.InputSignal<string | PoHelperOptions>;
|
|
13997
14276
|
/**
|
|
13998
|
-
* @Input
|
|
13999
|
-
*
|
|
14000
14277
|
* @optional
|
|
14001
14278
|
*
|
|
14002
14279
|
* @description
|
|
@@ -14232,8 +14509,8 @@ declare abstract class PoDatepickerBaseComponent implements ControlValueAccessor
|
|
|
14232
14509
|
* </example>
|
|
14233
14510
|
*/
|
|
14234
14511
|
declare class PoDatepickerComponent extends PoDatepickerBaseComponent implements AfterViewInit, OnDestroy, OnChanges {
|
|
14235
|
-
private controlPosition;
|
|
14236
|
-
private renderer;
|
|
14512
|
+
private readonly controlPosition;
|
|
14513
|
+
private readonly renderer;
|
|
14237
14514
|
calendar: PoCalendarComponent;
|
|
14238
14515
|
dialogPicker: ElementRef;
|
|
14239
14516
|
iconDatepicker: PoButtonComponent;
|
|
@@ -14338,7 +14615,7 @@ declare class PoDatepickerComponent extends PoDatepickerBaseComponent implements
|
|
|
14338
14615
|
private isAdditionalHelpEventTriggered;
|
|
14339
14616
|
private isFocusOnFirstCombo;
|
|
14340
14617
|
private isFocusOnLastCombo;
|
|
14341
|
-
private onScroll;
|
|
14618
|
+
private readonly onScroll;
|
|
14342
14619
|
private removeListeners;
|
|
14343
14620
|
private setDialogPickerStyleDisplay;
|
|
14344
14621
|
private setCalendarPosition;
|
|
@@ -14355,6 +14632,1092 @@ declare class PoDatepickerComponent extends PoDatepickerBaseComponent implements
|
|
|
14355
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>;
|
|
14356
14633
|
}
|
|
14357
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;
|
|
15294
|
+
private _noAutocomplete?;
|
|
15295
|
+
private _placeholder?;
|
|
15296
|
+
private _loading?;
|
|
15297
|
+
private _size?;
|
|
15298
|
+
private _initialSize?;
|
|
15299
|
+
private _locale?;
|
|
15300
|
+
private _timeValue;
|
|
15301
|
+
private _validationValue?;
|
|
15302
|
+
private _validationMinHour?;
|
|
15303
|
+
private _validationMaxHour?;
|
|
15304
|
+
private previousValue;
|
|
15305
|
+
private pendingChangeValue;
|
|
15306
|
+
/**
|
|
15307
|
+
* @optional
|
|
15308
|
+
*
|
|
15309
|
+
* @description
|
|
15310
|
+
*
|
|
15311
|
+
* Define a propriedade nativa `autocomplete` do campo como `off`.
|
|
15312
|
+
*
|
|
15313
|
+
* @default `false`
|
|
15314
|
+
*/
|
|
15315
|
+
set noAutocomplete(value: boolean);
|
|
15316
|
+
get noAutocomplete(): boolean;
|
|
15317
|
+
/**
|
|
15318
|
+
* @optional
|
|
15319
|
+
*
|
|
15320
|
+
* @description
|
|
15321
|
+
*
|
|
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`.
|
|
15325
|
+
*/
|
|
15326
|
+
set placeholder(placeholder: string);
|
|
15327
|
+
get placeholder(): string;
|
|
15328
|
+
set setDisabled(disabled: string);
|
|
15329
|
+
set setReadonly(readonly: string);
|
|
15330
|
+
set setRequired(required: string);
|
|
15331
|
+
/** Define se a indicação de campo obrigatório será exibida. */
|
|
15332
|
+
showRequired: boolean;
|
|
15333
|
+
/**
|
|
15334
|
+
* @optional
|
|
15335
|
+
*
|
|
15336
|
+
* @description
|
|
15337
|
+
*
|
|
15338
|
+
* Define o tamanho do componente:
|
|
15339
|
+
* - `small`: altura do input como 32px (disponível apenas para acessibilidade AA).
|
|
15340
|
+
* - `medium`: altura do input como 44px.
|
|
15341
|
+
*
|
|
15342
|
+
* @default `medium`
|
|
15343
|
+
*/
|
|
15344
|
+
set size(value: string);
|
|
15345
|
+
get size(): string;
|
|
15346
|
+
set setClean(clean: string);
|
|
15347
|
+
/**
|
|
15348
|
+
* @optional
|
|
15349
|
+
*
|
|
15350
|
+
* @description
|
|
15351
|
+
*
|
|
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`
|
|
15359
|
+
*/
|
|
15360
|
+
set format(value: PoTimerFormat);
|
|
15361
|
+
get format(): PoTimerFormat;
|
|
15362
|
+
/**
|
|
15363
|
+
* @optional
|
|
15364
|
+
*
|
|
15365
|
+
* @description
|
|
15366
|
+
*
|
|
15367
|
+
* Define o horário mínimo permitido. Formato: `HH:mm` ou `HH:mm:ss`.
|
|
15368
|
+
*/
|
|
15369
|
+
set minTime(value: string);
|
|
15370
|
+
get minTime(): string;
|
|
15371
|
+
/**
|
|
15372
|
+
* @optional
|
|
15373
|
+
*
|
|
15374
|
+
* @description
|
|
15375
|
+
*
|
|
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
|
|
15382
|
+
*
|
|
15383
|
+
* @description
|
|
15384
|
+
*
|
|
15385
|
+
* Define o intervalo entre os minutos exibidos no painel.
|
|
15386
|
+
*
|
|
15387
|
+
* @default `5`
|
|
15388
|
+
*/
|
|
15389
|
+
set minuteInterval(value: number);
|
|
15390
|
+
get minuteInterval(): number;
|
|
15391
|
+
/**
|
|
15392
|
+
* @optional
|
|
15393
|
+
*
|
|
15394
|
+
* @description
|
|
15395
|
+
*
|
|
15396
|
+
* Define o intervalo entre os segundos exibidos no painel.
|
|
15397
|
+
*
|
|
15398
|
+
* @default `1`
|
|
15399
|
+
*/
|
|
15400
|
+
set secondInterval(value: number);
|
|
15401
|
+
get secondInterval(): number;
|
|
15402
|
+
/**
|
|
15403
|
+
* @optional
|
|
15404
|
+
*
|
|
15405
|
+
* @description
|
|
15406
|
+
*
|
|
15407
|
+
* Exibe a coluna de segundos no painel.
|
|
15408
|
+
*
|
|
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.
|
|
15430
|
+
*/
|
|
15431
|
+
set locale(value: string);
|
|
15432
|
+
get locale(): string;
|
|
15433
|
+
/**
|
|
15434
|
+
* @optional
|
|
15435
|
+
*
|
|
15436
|
+
* @description
|
|
15437
|
+
* Exibe um ícone de carregamento no lado direito do campo para sinalizar que uma operação está em andamento.
|
|
15438
|
+
*
|
|
15439
|
+
* @default `false`
|
|
15440
|
+
*/
|
|
15441
|
+
set loading(value: boolean);
|
|
15442
|
+
get loading(): boolean;
|
|
15443
|
+
get isDisabled(): boolean;
|
|
15444
|
+
/**
|
|
15445
|
+
* @optional
|
|
15446
|
+
*
|
|
15447
|
+
* @description
|
|
15448
|
+
*
|
|
15449
|
+
* Define que o painel do timer será incluído no body da página.
|
|
15450
|
+
*
|
|
15451
|
+
* @default `false`
|
|
15452
|
+
*/
|
|
15453
|
+
appendBox: boolean;
|
|
15454
|
+
get is12HourFormat(): boolean;
|
|
15455
|
+
constructor(languageService: PoLanguageService, cd: ChangeDetectorRef);
|
|
15456
|
+
ngOnInit(): void;
|
|
15457
|
+
protected onThemeChange(): void;
|
|
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;
|
|
15478
|
+
mapSizeToIcon(size: string): string;
|
|
15479
|
+
setDisabledState(isDisabled: boolean): void;
|
|
15480
|
+
registerOnChange(func: any): void;
|
|
15481
|
+
registerOnTouched(func: any): void;
|
|
15482
|
+
registerOnValidatorChange(fn: () => void): void;
|
|
15483
|
+
validate(c: AbstractControl): {
|
|
15484
|
+
[key: string]: any;
|
|
15485
|
+
};
|
|
15486
|
+
protected validateModel(model: any): void;
|
|
15487
|
+
private applySizeBasedOnA11y;
|
|
15488
|
+
protected onLocaleChange(): void;
|
|
15489
|
+
abstract writeValue(value: any): void;
|
|
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>;
|
|
15493
|
+
static ngAcceptInputType_autoFocus: any;
|
|
15494
|
+
static ngAcceptInputType_appendBox: any;
|
|
15495
|
+
}
|
|
15496
|
+
|
|
15497
|
+
type PoTimepickerSegment = 'hour' | 'minute' | 'second';
|
|
15498
|
+
/**
|
|
15499
|
+
* @docsExtends PoTimepickerBaseComponent
|
|
15500
|
+
*
|
|
15501
|
+
* @example
|
|
15502
|
+
*
|
|
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>
|
|
15506
|
+
* </example>
|
|
15507
|
+
*
|
|
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>
|
|
15511
|
+
* </example>
|
|
15512
|
+
*
|
|
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>
|
|
15516
|
+
* </example>
|
|
15517
|
+
*
|
|
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>
|
|
15521
|
+
* </example>
|
|
15522
|
+
*/
|
|
15523
|
+
declare class PoTimepickerComponent extends PoTimepickerBaseComponent implements AfterViewInit, OnDestroy, OnChanges {
|
|
15524
|
+
private readonly controlPosition;
|
|
15525
|
+
private readonly renderer;
|
|
15526
|
+
dialogPicker: ElementRef;
|
|
15527
|
+
iconTimepicker: PoButtonComponent;
|
|
15528
|
+
inputEl: ElementRef;
|
|
15529
|
+
minuteInputEl: ElementRef;
|
|
15530
|
+
secondInputEl: ElementRef;
|
|
15531
|
+
timepickerFieldEl: ElementRef;
|
|
15532
|
+
iconClean: ElementRef<HTMLElement>;
|
|
15533
|
+
helperEl?: PoHelperComponent;
|
|
15534
|
+
timerComponent?: PoTimerComponent;
|
|
15535
|
+
periodInputEl: ElementRef;
|
|
15536
|
+
/** Rótulo do campo. */
|
|
15537
|
+
label?: string;
|
|
15538
|
+
/** Texto de apoio do campo. */
|
|
15539
|
+
help?: string;
|
|
15540
|
+
displayAdditionalHelp: boolean;
|
|
15541
|
+
el: ElementRef;
|
|
15542
|
+
id: string;
|
|
15543
|
+
visible: boolean;
|
|
15544
|
+
literals: any;
|
|
15545
|
+
hourDisplay: string;
|
|
15546
|
+
minuteDisplay: string;
|
|
15547
|
+
secondDisplay: string;
|
|
15548
|
+
periodDisplay: string;
|
|
15549
|
+
isSegmentFocused: boolean;
|
|
15550
|
+
ariaLiveMessage: string;
|
|
15551
|
+
eventListenerFunction: () => void;
|
|
15552
|
+
eventResizeListener: () => void;
|
|
15553
|
+
get cleanElementRef(): {
|
|
15554
|
+
nativeElement: {
|
|
15555
|
+
value: string;
|
|
15556
|
+
};
|
|
15557
|
+
};
|
|
15558
|
+
private clickListener;
|
|
15559
|
+
private timeoutChange;
|
|
15560
|
+
private valueBeforeChange;
|
|
15561
|
+
constructor();
|
|
15562
|
+
get hourPlaceholder(): string;
|
|
15563
|
+
get minutePlaceholder(): string;
|
|
15564
|
+
get secondPlaceholder(): string;
|
|
15565
|
+
private get customPlaceholderSegments();
|
|
15566
|
+
private getCustomPlaceholderSegment;
|
|
15567
|
+
onHostFocusOut(event: FocusEvent): void;
|
|
15568
|
+
onKeydown($event?: any): void;
|
|
15569
|
+
ngAfterViewInit(): void;
|
|
15570
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
15571
|
+
ngOnDestroy(): void;
|
|
15572
|
+
protected onLocaleChange(): void;
|
|
15573
|
+
emitAdditionalHelp(): void;
|
|
15574
|
+
/**
|
|
15575
|
+
* Função que atribui foco ao componente.
|
|
15576
|
+
*
|
|
15577
|
+
* Para utilizá-la é necessário ter a instância do componente no DOM, podendo ser utilizado o ViewChild da seguinte forma:
|
|
15578
|
+
*
|
|
15579
|
+
* ```
|
|
15580
|
+
* import { PoTimepickerComponent } from '@po-ui/ng-components';
|
|
15581
|
+
*
|
|
15582
|
+
* ...
|
|
15583
|
+
*
|
|
15584
|
+
* @ViewChild(PoTimepickerComponent, { static: true }) timepicker: PoTimepickerComponent;
|
|
15585
|
+
*
|
|
15586
|
+
* focusTimepicker() {
|
|
15587
|
+
* this.timepicker.focus();
|
|
15588
|
+
* }
|
|
15589
|
+
* ```
|
|
15590
|
+
*/
|
|
15591
|
+
focus(): void;
|
|
15592
|
+
getAdditionalHelpTooltip(): any;
|
|
15593
|
+
togglePicker(focusInput?: boolean): void;
|
|
15594
|
+
closeTimer(focusInput?: boolean, skipRefocus?: boolean): void;
|
|
15595
|
+
timerSelected(time: string): void;
|
|
15596
|
+
wasClickedOnPicker(event: any): void;
|
|
15597
|
+
hasInvalidClass(): boolean;
|
|
15598
|
+
hasValue(): boolean;
|
|
15599
|
+
getErrorPattern(): string;
|
|
15600
|
+
clear(): void;
|
|
15601
|
+
clearAndFocus(): void;
|
|
15602
|
+
eventOnBlur($event: any): void;
|
|
15603
|
+
eventOnClick($event: any): void;
|
|
15604
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
15605
|
+
onKeyPress(event: any): void;
|
|
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;
|
|
15617
|
+
/**
|
|
15618
|
+
* Método que exibe `p-helper` ou executa a ação definida em `p-helper{eventOnClick}` ou em `p-additionalHelp`.
|
|
15619
|
+
*/
|
|
15620
|
+
showAdditionalHelp(): boolean;
|
|
15621
|
+
writeValue(value: any): void;
|
|
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;
|
|
15677
|
+
private controlChangeEmitter;
|
|
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;
|
|
15687
|
+
private initializeListeners;
|
|
15688
|
+
private isAdditionalHelpEventTriggered;
|
|
15689
|
+
private readonly onScroll;
|
|
15690
|
+
private removeListeners;
|
|
15691
|
+
private setDialogPickerStyleDisplay;
|
|
15692
|
+
private setTimerPosition;
|
|
15693
|
+
protected adjustTimerPosition(): void;
|
|
15694
|
+
private shouldHandleTab;
|
|
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>;
|
|
15719
|
+
}
|
|
15720
|
+
|
|
14358
15721
|
/**
|
|
14359
15722
|
* @usedBy PoDatepickerRangeComponent
|
|
14360
15723
|
*
|
|
@@ -14442,7 +15805,7 @@ interface PoDatepickerRangeLiterals {
|
|
|
14442
15805
|
declare abstract class PoDatepickerRangeBaseComponent implements ControlValueAccessor, Validator, OnDestroy {
|
|
14443
15806
|
protected changeDetector: ChangeDetectorRef;
|
|
14444
15807
|
protected poDateService: PoDateService;
|
|
14445
|
-
private languageService;
|
|
15808
|
+
private readonly languageService;
|
|
14446
15809
|
additionalHelpEventTrigger: string | undefined;
|
|
14447
15810
|
name: string;
|
|
14448
15811
|
/**
|
|
@@ -14486,8 +15849,6 @@ declare abstract class PoDatepickerRangeBaseComponent implements ControlValueAcc
|
|
|
14486
15849
|
*/
|
|
14487
15850
|
autoFocus: boolean;
|
|
14488
15851
|
/**
|
|
14489
|
-
* @Input
|
|
14490
|
-
*
|
|
14491
15852
|
* @optional
|
|
14492
15853
|
*
|
|
14493
15854
|
* @description
|
|
@@ -14524,6 +15885,59 @@ declare abstract class PoDatepickerRangeBaseComponent implements ControlValueAcc
|
|
|
14524
15885
|
* @default `false`
|
|
14525
15886
|
*/
|
|
14526
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';
|
|
14527
15941
|
/**
|
|
14528
15942
|
* @optional
|
|
14529
15943
|
*
|
|
@@ -14600,8 +16014,6 @@ declare abstract class PoDatepickerRangeBaseComponent implements ControlValueAcc
|
|
|
14600
16014
|
*/
|
|
14601
16015
|
errorLimit: boolean;
|
|
14602
16016
|
/**
|
|
14603
|
-
* @Input
|
|
14604
|
-
*
|
|
14605
16017
|
* @optional
|
|
14606
16018
|
*
|
|
14607
16019
|
* @description
|
|
@@ -14613,8 +16025,6 @@ declare abstract class PoDatepickerRangeBaseComponent implements ControlValueAcc
|
|
|
14613
16025
|
*/
|
|
14614
16026
|
poHelperComponent: i0.InputSignal<string | PoHelperOptions>;
|
|
14615
16027
|
/**
|
|
14616
|
-
* @Input
|
|
14617
|
-
*
|
|
14618
16028
|
* @optional
|
|
14619
16029
|
*
|
|
14620
16030
|
* @description
|
|
@@ -14666,7 +16076,7 @@ declare abstract class PoDatepickerRangeBaseComponent implements ControlValueAcc
|
|
|
14666
16076
|
private _size?;
|
|
14667
16077
|
private _initialSize?;
|
|
14668
16078
|
private _placeholder;
|
|
14669
|
-
private language;
|
|
16079
|
+
private readonly language;
|
|
14670
16080
|
private onChangeModel;
|
|
14671
16081
|
private validatorChange;
|
|
14672
16082
|
private subscription;
|
|
@@ -14871,7 +16281,7 @@ declare abstract class PoDatepickerRangeBaseComponent implements ControlValueAcc
|
|
|
14871
16281
|
protected abstract resetDateRangeInputValidation(): void;
|
|
14872
16282
|
protected abstract updateScreenByModel(dateRange: PoDatepickerRange): any;
|
|
14873
16283
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoDatepickerRangeBaseComponent, never>;
|
|
14874
|
-
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>;
|
|
14875
16285
|
static ngAcceptInputType_appendBox: any;
|
|
14876
16286
|
static ngAcceptInputType_autoFocus: any;
|
|
14877
16287
|
}
|
|
@@ -14886,6 +16296,11 @@ declare abstract class PoDatepickerRangeBaseComponent implements ControlValueAcc
|
|
|
14886
16296
|
* <file name="sample-po-datepicker-range-basic/sample-po-datepicker-range-basic.component.ts"> </file>
|
|
14887
16297
|
* </example>
|
|
14888
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
|
+
*
|
|
14889
16304
|
* <example name="po-datepicker-range-labs" title="PO Datepicker Range Labs">
|
|
14890
16305
|
* <file name="sample-po-datepicker-range-labs/sample-po-datepicker-range-labs.component.html"> </file>
|
|
14891
16306
|
* <file name="sample-po-datepicker-range-labs/sample-po-datepicker-range-labs.component.ts"> </file>
|
|
@@ -14904,10 +16319,10 @@ declare abstract class PoDatepickerRangeBaseComponent implements ControlValueAcc
|
|
|
14904
16319
|
* </example>
|
|
14905
16320
|
*/
|
|
14906
16321
|
declare class PoDatepickerRangeComponent extends PoDatepickerRangeBaseComponent implements AfterViewInit, OnInit, OnDestroy, OnChanges {
|
|
14907
|
-
private controlPosition;
|
|
14908
|
-
private renderer;
|
|
14909
|
-
private cd;
|
|
14910
|
-
private poLanguageService;
|
|
16322
|
+
private readonly controlPosition;
|
|
16323
|
+
private readonly renderer;
|
|
16324
|
+
private readonly cd;
|
|
16325
|
+
private readonly poLanguageService;
|
|
14911
16326
|
dateRangeField: ElementRef;
|
|
14912
16327
|
endDateInput: ElementRef;
|
|
14913
16328
|
startDateInput: ElementRef;
|
|
@@ -14917,9 +16332,11 @@ declare class PoDatepickerRangeComponent extends PoDatepickerRangeBaseComponent
|
|
|
14917
16332
|
iconClean: ElementRef<HTMLElement>;
|
|
14918
16333
|
id: string;
|
|
14919
16334
|
isCalendarVisible: boolean;
|
|
16335
|
+
widthWithPresets: boolean;
|
|
14920
16336
|
private clickListener;
|
|
14921
16337
|
private eventResizeListener;
|
|
14922
|
-
private poDatepickerRangeElement;
|
|
16338
|
+
private readonly poDatepickerRangeElement;
|
|
16339
|
+
private readonly MIN_CALENDAR_WIDTH_WITH_PRESETS;
|
|
14923
16340
|
get autocomplete(): "on" | "off";
|
|
14924
16341
|
get enableCleaner(): boolean;
|
|
14925
16342
|
get endDateInputName(): string;
|
|
@@ -14968,6 +16385,12 @@ declare class PoDatepickerRangeComponent extends PoDatepickerRangeBaseComponent
|
|
|
14968
16385
|
onFocus(event: any): void;
|
|
14969
16386
|
onKeydown(event?: any): void;
|
|
14970
16387
|
onKeyPress(event: any): void;
|
|
16388
|
+
private handleShiftTabWithCleaner;
|
|
16389
|
+
private handleShiftTabWithoutCleaner;
|
|
16390
|
+
private handleTabWithCalendarVisible;
|
|
16391
|
+
private handleMobileNavigation;
|
|
16392
|
+
private handlePresetNavigation;
|
|
16393
|
+
private handleComboNavigation;
|
|
14971
16394
|
onKeydownDatepickerRange($event?: any): void;
|
|
14972
16395
|
onKeyup(event: any): void;
|
|
14973
16396
|
resetDateRangeInputValidation(): void;
|
|
@@ -14997,6 +16420,7 @@ declare class PoDatepickerRangeComponent extends PoDatepickerRangeBaseComponent
|
|
|
14997
16420
|
* ```
|
|
14998
16421
|
*/
|
|
14999
16422
|
showAdditionalHelp(): boolean;
|
|
16423
|
+
enableHorizontalMouseWheel(): void;
|
|
15000
16424
|
toggleCalendar(): void;
|
|
15001
16425
|
updateScreenByModel(model: PoDatepickerRange): void;
|
|
15002
16426
|
onCalendarKeyDown(event: KeyboardEvent): void;
|
|
@@ -15004,6 +16428,10 @@ declare class PoDatepickerRangeComponent extends PoDatepickerRangeBaseComponent
|
|
|
15004
16428
|
hideAdditionalHelp: boolean;
|
|
15005
16429
|
helperSettings?: any;
|
|
15006
16430
|
};
|
|
16431
|
+
onResize(): void;
|
|
16432
|
+
private calculateWidthWithPresets;
|
|
16433
|
+
private updateWidthWithPresets;
|
|
16434
|
+
verifyMobile(): RegExpMatchArray;
|
|
15007
16435
|
setCalendarPosition(): void;
|
|
15008
16436
|
private applyFocusOnDatePickerRangeField;
|
|
15009
16437
|
private formatDate;
|
|
@@ -15018,7 +16446,7 @@ declare class PoDatepickerRangeComponent extends PoDatepickerRangeBaseComponent
|
|
|
15018
16446
|
private isEqualBeforeValue;
|
|
15019
16447
|
private isFocusOnFirstCombo;
|
|
15020
16448
|
private isSetFocusOnBackspace;
|
|
15021
|
-
private onScroll;
|
|
16449
|
+
private readonly onScroll;
|
|
15022
16450
|
private removeFocusFromDatePickerRangeField;
|
|
15023
16451
|
private setDateRangeInputValidation;
|
|
15024
16452
|
private setFocus;
|
|
@@ -15164,8 +16592,6 @@ declare abstract class PoInputBaseComponent implements ControlValueAccessor, Val
|
|
|
15164
16592
|
*/
|
|
15165
16593
|
autoFocus: boolean;
|
|
15166
16594
|
/**
|
|
15167
|
-
* @Input
|
|
15168
|
-
*
|
|
15169
16595
|
* @optional
|
|
15170
16596
|
*
|
|
15171
16597
|
* @description
|
|
@@ -15540,8 +16966,6 @@ declare abstract class PoInputBaseComponent implements ControlValueAccessor, Val
|
|
|
15540
16966
|
maskFormatModel?: boolean;
|
|
15541
16967
|
set setMaskFormatModel(maskFormatModel: string);
|
|
15542
16968
|
/**
|
|
15543
|
-
* @Input
|
|
15544
|
-
*
|
|
15545
16969
|
* @optional
|
|
15546
16970
|
*
|
|
15547
16971
|
* @description
|
|
@@ -15553,8 +16977,6 @@ declare abstract class PoInputBaseComponent implements ControlValueAccessor, Val
|
|
|
15553
16977
|
*/
|
|
15554
16978
|
poHelperComponent: i0.InputSignal<string | PoHelperOptions>;
|
|
15555
16979
|
/**
|
|
15556
|
-
* @Input
|
|
15557
|
-
*
|
|
15558
16980
|
* @optional
|
|
15559
16981
|
*
|
|
15560
16982
|
* @description
|
|
@@ -15686,8 +17108,8 @@ declare abstract class PoInputBaseComponent implements ControlValueAccessor, Val
|
|
|
15686
17108
|
* </example>
|
|
15687
17109
|
*/
|
|
15688
17110
|
declare class PoDecimalComponent extends PoInputBaseComponent implements AfterViewInit, OnInit, OnDestroy, OnChanges {
|
|
15689
|
-
private el;
|
|
15690
|
-
private poLanguageService;
|
|
17111
|
+
private readonly el;
|
|
17112
|
+
private readonly poLanguageService;
|
|
15691
17113
|
inputEl: ElementRef;
|
|
15692
17114
|
id: string;
|
|
15693
17115
|
private _decimalsLength?;
|
|
@@ -15697,8 +17119,8 @@ declare class PoDecimalComponent extends PoInputBaseComponent implements AfterVi
|
|
|
15697
17119
|
private _max?;
|
|
15698
17120
|
private decimalSeparator;
|
|
15699
17121
|
private fireChange;
|
|
15700
|
-
private isKeyboardAndroid;
|
|
15701
|
-
private minusSign;
|
|
17122
|
+
private readonly isKeyboardAndroid;
|
|
17123
|
+
private readonly minusSign;
|
|
15702
17124
|
private oldDotsLength;
|
|
15703
17125
|
private thousandSeparator;
|
|
15704
17126
|
private valueBeforeChange;
|
|
@@ -15908,7 +17330,7 @@ declare class PoEmailComponent extends PoInputGeneric implements AfterViewInit,
|
|
|
15908
17330
|
type: string;
|
|
15909
17331
|
pattern: string;
|
|
15910
17332
|
mask: string;
|
|
15911
|
-
private listener;
|
|
17333
|
+
private readonly listener;
|
|
15912
17334
|
constructor();
|
|
15913
17335
|
ngOnChanges(changes: SimpleChanges): void;
|
|
15914
17336
|
ngAfterViewInit(): void;
|
|
@@ -16368,7 +17790,7 @@ declare abstract class PoLookupModalBaseComponent implements OnDestroy, OnInit {
|
|
|
16368
17790
|
private disclaimerLabel;
|
|
16369
17791
|
private _literals;
|
|
16370
17792
|
private _title;
|
|
16371
|
-
private language;
|
|
17793
|
+
private readonly language;
|
|
16372
17794
|
primaryAction: PoModalAction;
|
|
16373
17795
|
secondaryAction: PoModalAction;
|
|
16374
17796
|
/** Objeto com as literais usadas no `po-lookup-modal`. */
|
|
@@ -16449,7 +17871,7 @@ declare class PoLookupModalComponent extends PoLookupModalBaseComponent implemen
|
|
|
16449
17871
|
* Serviço padrão utilizado para filtrar os dados do componente po-lookup.
|
|
16450
17872
|
*/
|
|
16451
17873
|
declare class PoLookupFilterService implements PoLookupFilter {
|
|
16452
|
-
private httpClient;
|
|
17874
|
+
private readonly httpClient;
|
|
16453
17875
|
readonly headers: HttpHeaders;
|
|
16454
17876
|
private url;
|
|
16455
17877
|
private fieldValue;
|
|
@@ -16471,7 +17893,7 @@ declare class PoLookupFilterService implements PoLookupFilter {
|
|
|
16471
17893
|
* Serviço responsável por controlar a abertura do componente Po Lookup Modal.
|
|
16472
17894
|
*/
|
|
16473
17895
|
declare class PoLookupModalService {
|
|
16474
|
-
private poComponentInjector;
|
|
17896
|
+
private readonly poComponentInjector;
|
|
16475
17897
|
selectValueEvent: EventEmitter<any>;
|
|
16476
17898
|
private componentRef;
|
|
16477
17899
|
/**
|
|
@@ -16868,8 +18290,6 @@ declare abstract class PoLookupBaseComponent implements ControlValueAccessor, On
|
|
|
16868
18290
|
*/
|
|
16869
18291
|
virtualScroll?: boolean;
|
|
16870
18292
|
/**
|
|
16871
|
-
* @Input
|
|
16872
|
-
*
|
|
16873
18293
|
* @optional
|
|
16874
18294
|
*
|
|
16875
18295
|
* @description
|
|
@@ -16881,8 +18301,6 @@ declare abstract class PoLookupBaseComponent implements ControlValueAccessor, On
|
|
|
16881
18301
|
*/
|
|
16882
18302
|
poHelperComponent: i0.InputSignal<string | PoHelperOptions>;
|
|
16883
18303
|
/**
|
|
16884
|
-
* @Input
|
|
16885
|
-
*
|
|
16886
18304
|
* @optional
|
|
16887
18305
|
*
|
|
16888
18306
|
* @description
|
|
@@ -16895,8 +18313,6 @@ declare abstract class PoLookupBaseComponent implements ControlValueAccessor, On
|
|
|
16895
18313
|
*/
|
|
16896
18314
|
labelTextWrap: i0.InputSignal<boolean>;
|
|
16897
18315
|
/**
|
|
16898
|
-
* @Input
|
|
16899
|
-
*
|
|
16900
18316
|
* @optional
|
|
16901
18317
|
*
|
|
16902
18318
|
* @description
|
|
@@ -17266,9 +18682,9 @@ declare abstract class PoLookupBaseComponent implements ControlValueAccessor, On
|
|
|
17266
18682
|
* </example>
|
|
17267
18683
|
*/
|
|
17268
18684
|
declare class PoLookupComponent extends PoLookupBaseComponent implements AfterViewInit, OnDestroy, OnInit, DoCheck, OnChanges {
|
|
17269
|
-
private renderer;
|
|
17270
|
-
private cd;
|
|
17271
|
-
private el;
|
|
18685
|
+
private readonly renderer;
|
|
18686
|
+
private readonly cd;
|
|
18687
|
+
private readonly el;
|
|
17272
18688
|
helperEl?: PoHelperComponent;
|
|
17273
18689
|
initialized: boolean;
|
|
17274
18690
|
timeoutResize: any;
|
|
@@ -17478,11 +18894,11 @@ interface PoMultiselectFilter {
|
|
|
17478
18894
|
}
|
|
17479
18895
|
|
|
17480
18896
|
declare class PoMultiselectFilterService implements PoMultiselectFilter {
|
|
17481
|
-
private http;
|
|
18897
|
+
private readonly http;
|
|
17482
18898
|
fieldLabel: string;
|
|
17483
18899
|
fieldValue: string;
|
|
17484
18900
|
private _url;
|
|
17485
|
-
private messages;
|
|
18901
|
+
private readonly messages;
|
|
17486
18902
|
get url(): string;
|
|
17487
18903
|
getFilteredData({ value }: any): Observable<Array<PoMultiselectOption | any>>;
|
|
17488
18904
|
getObjectsByValues(value: Array<string | number>): Observable<Array<PoMultiselectOption | any>>;
|
|
@@ -17582,8 +18998,6 @@ declare abstract class PoMultiselectBaseComponent implements ControlValueAccesso
|
|
|
17582
18998
|
*/
|
|
17583
18999
|
autoFocus: boolean;
|
|
17584
19000
|
/**
|
|
17585
|
-
* @Input
|
|
17586
|
-
*
|
|
17587
19001
|
* @optional
|
|
17588
19002
|
*
|
|
17589
19003
|
* @description
|
|
@@ -17756,8 +19170,6 @@ declare abstract class PoMultiselectBaseComponent implements ControlValueAccesso
|
|
|
17756
19170
|
*/
|
|
17757
19171
|
listboxControlPosition: 'top' | 'bottom';
|
|
17758
19172
|
/**
|
|
17759
|
-
* @Input
|
|
17760
|
-
*
|
|
17761
19173
|
* @optional
|
|
17762
19174
|
*
|
|
17763
19175
|
* @description
|
|
@@ -17769,8 +19181,6 @@ declare abstract class PoMultiselectBaseComponent implements ControlValueAccesso
|
|
|
17769
19181
|
*/
|
|
17770
19182
|
poHelperComponent: i0.InputSignal<string | PoHelperOptions>;
|
|
17771
19183
|
/**
|
|
17772
|
-
* @Input
|
|
17773
|
-
*
|
|
17774
19184
|
* @optional
|
|
17775
19185
|
*
|
|
17776
19186
|
* @description
|
|
@@ -17811,7 +19221,7 @@ declare abstract class PoMultiselectBaseComponent implements ControlValueAccesso
|
|
|
17811
19221
|
private _fieldValue?;
|
|
17812
19222
|
private _size?;
|
|
17813
19223
|
private _initialSize?;
|
|
17814
|
-
private language;
|
|
19224
|
+
private readonly language;
|
|
17815
19225
|
private lastLengthModel;
|
|
17816
19226
|
private onModelChange;
|
|
17817
19227
|
private validatorChange;
|
|
@@ -18147,10 +19557,10 @@ declare abstract class PoMultiselectBaseComponent implements ControlValueAccesso
|
|
|
18147
19557
|
*
|
|
18148
19558
|
*/
|
|
18149
19559
|
declare class PoMultiselectComponent extends PoMultiselectBaseComponent implements AfterViewInit, DoCheck, OnDestroy, OnChanges {
|
|
18150
|
-
private renderer;
|
|
18151
|
-
private changeDetector;
|
|
18152
|
-
private el;
|
|
18153
|
-
private controlPosition;
|
|
19560
|
+
private readonly renderer;
|
|
19561
|
+
private readonly changeDetector;
|
|
19562
|
+
private readonly el;
|
|
19563
|
+
private readonly controlPosition;
|
|
18154
19564
|
defaultService: PoMultiselectFilterService;
|
|
18155
19565
|
multiselectOptionTemplate: PoMultiselectOptionTemplateDirective;
|
|
18156
19566
|
dropdownElement: ElementRef;
|
|
@@ -18262,7 +19672,7 @@ declare class PoMultiselectComponent extends PoMultiselectBaseComponent implemen
|
|
|
18262
19672
|
private initializeTagRemoveElements;
|
|
18263
19673
|
private initializeListeners;
|
|
18264
19674
|
private isAdditionalHelpEventTriggered;
|
|
18265
|
-
private onScroll;
|
|
19675
|
+
private readonly onScroll;
|
|
18266
19676
|
private open;
|
|
18267
19677
|
private removeListeners;
|
|
18268
19678
|
private setContainerWidth;
|
|
@@ -18525,8 +19935,6 @@ declare abstract class PoRadioGroupBaseComponent implements ControlValueAccessor
|
|
|
18525
19935
|
*/
|
|
18526
19936
|
autoFocus: boolean;
|
|
18527
19937
|
/**
|
|
18528
|
-
* @Input
|
|
18529
|
-
*
|
|
18530
19938
|
* @optional
|
|
18531
19939
|
*
|
|
18532
19940
|
* @description
|
|
@@ -18604,8 +20012,6 @@ declare abstract class PoRadioGroupBaseComponent implements ControlValueAccessor
|
|
|
18604
20012
|
*/
|
|
18605
20013
|
errorLimit: boolean;
|
|
18606
20014
|
/**
|
|
18607
|
-
* @Input
|
|
18608
|
-
*
|
|
18609
20015
|
* @optional
|
|
18610
20016
|
*
|
|
18611
20017
|
* @description
|
|
@@ -18617,8 +20023,6 @@ declare abstract class PoRadioGroupBaseComponent implements ControlValueAccessor
|
|
|
18617
20023
|
*/
|
|
18618
20024
|
poHelperComponent: i0.InputSignal<string | PoHelperOptions>;
|
|
18619
20025
|
/**
|
|
18620
|
-
* @Input
|
|
18621
|
-
*
|
|
18622
20026
|
* @optional
|
|
18623
20027
|
*
|
|
18624
20028
|
* @description
|
|
@@ -18661,7 +20065,7 @@ declare abstract class PoRadioGroupBaseComponent implements ControlValueAccessor
|
|
|
18661
20065
|
displayAdditionalHelp: boolean;
|
|
18662
20066
|
mdColumns: number;
|
|
18663
20067
|
value: any;
|
|
18664
|
-
protected cd: ChangeDetectorRef;
|
|
20068
|
+
protected readonly cd: ChangeDetectorRef;
|
|
18665
20069
|
protected onTouched: any;
|
|
18666
20070
|
private _columns;
|
|
18667
20071
|
private _disabled?;
|
|
@@ -18788,7 +20192,7 @@ declare abstract class PoRadioGroupBaseComponent implements ControlValueAccessor
|
|
|
18788
20192
|
*
|
|
18789
20193
|
*/
|
|
18790
20194
|
declare class PoRadioGroupComponent extends PoRadioGroupBaseComponent implements AfterViewInit, DoCheck, OnChanges {
|
|
18791
|
-
private el;
|
|
20195
|
+
private readonly el;
|
|
18792
20196
|
/** Label do campo. */
|
|
18793
20197
|
label?: string;
|
|
18794
20198
|
/** Texto de apoio do campo. */
|
|
@@ -18902,7 +20306,7 @@ declare enum PoRichTextToolbarActions {
|
|
|
18902
20306
|
}
|
|
18903
20307
|
|
|
18904
20308
|
declare class PoRichTextService {
|
|
18905
|
-
private model;
|
|
20309
|
+
private readonly model;
|
|
18906
20310
|
emitModel(value: string): void;
|
|
18907
20311
|
getModel(): rxjs.Observable<string>;
|
|
18908
20312
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoRichTextService, never>;
|
|
@@ -19028,8 +20432,6 @@ declare abstract class PoRichTextBaseComponent implements ControlValueAccessor,
|
|
|
19028
20432
|
*/
|
|
19029
20433
|
label?: string;
|
|
19030
20434
|
/**
|
|
19031
|
-
* @Input
|
|
19032
|
-
*
|
|
19033
20435
|
* @optional
|
|
19034
20436
|
*
|
|
19035
20437
|
* @description
|
|
@@ -19107,8 +20509,6 @@ declare abstract class PoRichTextBaseComponent implements ControlValueAccessor,
|
|
|
19107
20509
|
set hideToolbarActions(actions: Array<PoRichTextToolbarActions> | PoRichTextToolbarActions);
|
|
19108
20510
|
get hideToolbarActions(): Array<PoRichTextToolbarActions>;
|
|
19109
20511
|
/**
|
|
19110
|
-
* @Input
|
|
19111
|
-
*
|
|
19112
20512
|
* @optional
|
|
19113
20513
|
*
|
|
19114
20514
|
* @description
|
|
@@ -19120,8 +20520,6 @@ declare abstract class PoRichTextBaseComponent implements ControlValueAccessor,
|
|
|
19120
20520
|
*/
|
|
19121
20521
|
poHelperComponent: i0.InputSignal<string | PoHelperOptions>;
|
|
19122
20522
|
/**
|
|
19123
|
-
* @Input
|
|
19124
|
-
*
|
|
19125
20523
|
* @optional
|
|
19126
20524
|
*
|
|
19127
20525
|
* @description
|
|
@@ -19272,7 +20670,7 @@ declare abstract class PoRichTextBaseComponent implements ControlValueAccessor,
|
|
|
19272
20670
|
}
|
|
19273
20671
|
|
|
19274
20672
|
declare class PoRichTextBodyComponent implements OnInit, OnDestroy, OnChanges {
|
|
19275
|
-
private richTextService;
|
|
20673
|
+
private readonly richTextService;
|
|
19276
20674
|
private readonly cd;
|
|
19277
20675
|
bodyElement: ElementRef;
|
|
19278
20676
|
height?: string;
|
|
@@ -19324,7 +20722,7 @@ declare class PoRichTextBodyComponent implements OnInit, OnDestroy, OnChanges {
|
|
|
19324
20722
|
private isCursorPositionedInALink;
|
|
19325
20723
|
private isParentNodeAnchor;
|
|
19326
20724
|
private makeLinkTag;
|
|
19327
|
-
private onAnchorClick;
|
|
20725
|
+
private readonly onAnchorClick;
|
|
19328
20726
|
private removeBrElement;
|
|
19329
20727
|
private rgbToHex;
|
|
19330
20728
|
private toggleCursorOnLink;
|
|
@@ -19799,8 +21197,8 @@ declare class PoProgressComponent extends PoProgressBaseComponent implements OnI
|
|
|
19799
21197
|
get isAllowInfoError(): boolean;
|
|
19800
21198
|
get isAllowRetry(): boolean;
|
|
19801
21199
|
get statusClass(): string;
|
|
19802
|
-
private poLanguageService;
|
|
19803
|
-
private router;
|
|
21200
|
+
private readonly poLanguageService;
|
|
21201
|
+
private readonly router;
|
|
19804
21202
|
ngOnInit(): void;
|
|
19805
21203
|
emitCancellation(): void;
|
|
19806
21204
|
emitRetry(): void;
|
|
@@ -19919,7 +21317,7 @@ declare class PoUploadFile {
|
|
|
19919
21317
|
}
|
|
19920
21318
|
|
|
19921
21319
|
declare class PoUploadBaseService {
|
|
19922
|
-
private http;
|
|
21320
|
+
private readonly http;
|
|
19923
21321
|
formField: string;
|
|
19924
21322
|
requests: Array<any>;
|
|
19925
21323
|
/**
|
|
@@ -20067,8 +21465,6 @@ declare abstract class PoUploadBaseComponent implements ControlValueAccessor, Va
|
|
|
20067
21465
|
/** Rótulo do campo. */
|
|
20068
21466
|
label?: string;
|
|
20069
21467
|
/**
|
|
20070
|
-
* @Input
|
|
20071
|
-
*
|
|
20072
21468
|
* @optional
|
|
20073
21469
|
*
|
|
20074
21470
|
* @description
|
|
@@ -20181,8 +21577,6 @@ declare abstract class PoUploadBaseComponent implements ControlValueAccessor, Va
|
|
|
20181
21577
|
*/
|
|
20182
21578
|
requiredUrl: boolean;
|
|
20183
21579
|
/**
|
|
20184
|
-
* @Input
|
|
20185
|
-
*
|
|
20186
21580
|
* @optional
|
|
20187
21581
|
*
|
|
20188
21582
|
* @description
|
|
@@ -20194,8 +21588,6 @@ declare abstract class PoUploadBaseComponent implements ControlValueAccessor, Va
|
|
|
20194
21588
|
*/
|
|
20195
21589
|
poHelperComponent: i0.InputSignal<string | PoHelperOptions>;
|
|
20196
21590
|
/**
|
|
20197
|
-
* @Input
|
|
20198
|
-
*
|
|
20199
21591
|
* @optional
|
|
20200
21592
|
*
|
|
20201
21593
|
* @description
|
|
@@ -20443,7 +21835,7 @@ declare abstract class PoUploadBaseComponent implements ControlValueAccessor, Va
|
|
|
20443
21835
|
private _required?;
|
|
20444
21836
|
private _size?;
|
|
20445
21837
|
private _initialSize?;
|
|
20446
|
-
private language;
|
|
21838
|
+
private readonly language;
|
|
20447
21839
|
private validatorChange;
|
|
20448
21840
|
/**
|
|
20449
21841
|
* @optional
|
|
@@ -20702,10 +22094,10 @@ declare abstract class PoUploadBaseComponent implements ControlValueAccessor, Va
|
|
|
20702
22094
|
*/
|
|
20703
22095
|
declare class PoUploadComponent extends PoUploadBaseComponent implements AfterViewInit, OnChanges {
|
|
20704
22096
|
renderer: Renderer2;
|
|
20705
|
-
private i18nPipe;
|
|
20706
|
-
private notification;
|
|
20707
|
-
private inputFile;
|
|
20708
|
-
private poUploadDragDropComponent;
|
|
22097
|
+
private readonly i18nPipe;
|
|
22098
|
+
private readonly notification;
|
|
22099
|
+
private readonly inputFile;
|
|
22100
|
+
private readonly poUploadDragDropComponent;
|
|
20709
22101
|
uploadButton: PoButtonComponent;
|
|
20710
22102
|
modalComponent: PoModalComponent;
|
|
20711
22103
|
helperEl?: PoHelperComponent;
|
|
@@ -20834,7 +22226,7 @@ declare class PoUploadComponent extends PoUploadBaseComponent implements AfterVi
|
|
|
20834
22226
|
}
|
|
20835
22227
|
|
|
20836
22228
|
declare class PoRichTextImageModalComponent {
|
|
20837
|
-
private languageService;
|
|
22229
|
+
private readonly languageService;
|
|
20838
22230
|
modal: PoModalComponent;
|
|
20839
22231
|
modalImageForm: NgForm;
|
|
20840
22232
|
upload: PoUploadComponent;
|
|
@@ -20866,7 +22258,7 @@ declare class PoRichTextImageModalComponent {
|
|
|
20866
22258
|
}
|
|
20867
22259
|
|
|
20868
22260
|
declare class PoRichTextLinkModalComponent implements OnInit {
|
|
20869
|
-
private languageService;
|
|
22261
|
+
private readonly languageService;
|
|
20870
22262
|
modal: PoModalComponent;
|
|
20871
22263
|
modalLinkForm: NgForm;
|
|
20872
22264
|
size: string;
|
|
@@ -20910,7 +22302,7 @@ declare class PoRichTextLinkModalComponent implements OnInit {
|
|
|
20910
22302
|
}
|
|
20911
22303
|
|
|
20912
22304
|
declare class PoRichTextToolbarComponent implements AfterViewInit {
|
|
20913
|
-
private languageService;
|
|
22305
|
+
private readonly languageService;
|
|
20914
22306
|
colorPickerInput: ElementRef;
|
|
20915
22307
|
toolbarElement: ElementRef;
|
|
20916
22308
|
richTextImageModal: PoRichTextImageModalComponent;
|
|
@@ -21007,11 +22399,11 @@ declare class PoRichTextToolbarComponent implements AfterViewInit {
|
|
|
21007
22399
|
* </example>
|
|
21008
22400
|
*/
|
|
21009
22401
|
declare class PoRichTextComponent extends PoRichTextBaseComponent implements AfterViewInit, OnDestroy, OnInit, OnChanges {
|
|
21010
|
-
private element;
|
|
22402
|
+
private readonly element;
|
|
21011
22403
|
bodyElement: PoRichTextBodyComponent;
|
|
21012
22404
|
richTextToolbar: PoRichTextToolbarComponent;
|
|
21013
22405
|
helperEl?: PoHelperComponent;
|
|
21014
|
-
private listener;
|
|
22406
|
+
private readonly listener;
|
|
21015
22407
|
private modelLastUpdate;
|
|
21016
22408
|
toolbarActions: Array<PoRichTextToolbarActions>;
|
|
21017
22409
|
get errorMsg(): string;
|
|
@@ -21256,7 +22648,7 @@ declare abstract class PoFieldValidateModel<T> extends PoFieldModel<T> implement
|
|
|
21256
22648
|
*
|
|
21257
22649
|
*/
|
|
21258
22650
|
declare class PoSelectComponent extends PoFieldValidateModel<any> implements OnChanges {
|
|
21259
|
-
private el;
|
|
22651
|
+
private readonly el;
|
|
21260
22652
|
renderer: Renderer2;
|
|
21261
22653
|
selectElement: ElementRef;
|
|
21262
22654
|
helperEl?: PoHelperComponent;
|
|
@@ -21294,8 +22686,6 @@ declare class PoSelectComponent extends PoFieldValidateModel<any> implements OnC
|
|
|
21294
22686
|
*/
|
|
21295
22687
|
readonly: boolean;
|
|
21296
22688
|
/**
|
|
21297
|
-
* @Input
|
|
21298
|
-
*
|
|
21299
22689
|
* @optional
|
|
21300
22690
|
*
|
|
21301
22691
|
* @description
|
|
@@ -21441,8 +22831,6 @@ declare class PoSelectComponent extends PoFieldValidateModel<any> implements OnC
|
|
|
21441
22831
|
set size(value: string);
|
|
21442
22832
|
get size(): string;
|
|
21443
22833
|
/**
|
|
21444
|
-
* @Input
|
|
21445
|
-
*
|
|
21446
22834
|
* @optional
|
|
21447
22835
|
*
|
|
21448
22836
|
* @description
|
|
@@ -21454,8 +22842,6 @@ declare class PoSelectComponent extends PoFieldValidateModel<any> implements OnC
|
|
|
21454
22842
|
*/
|
|
21455
22843
|
poHelperComponent: i0.InputSignal<string | PoHelperOptions>;
|
|
21456
22844
|
/**
|
|
21457
|
-
* @Input
|
|
21458
|
-
*
|
|
21459
22845
|
* @optional
|
|
21460
22846
|
*
|
|
21461
22847
|
* @description
|
|
@@ -21635,8 +23021,6 @@ declare abstract class PoTextareaBaseComponent implements ControlValueAccessor,
|
|
|
21635
23021
|
*/
|
|
21636
23022
|
autoFocus: boolean;
|
|
21637
23023
|
/**
|
|
21638
|
-
* @Input
|
|
21639
|
-
*
|
|
21640
23024
|
* @optional
|
|
21641
23025
|
*
|
|
21642
23026
|
* @description
|
|
@@ -21718,8 +23102,6 @@ declare abstract class PoTextareaBaseComponent implements ControlValueAccessor,
|
|
|
21718
23102
|
*/
|
|
21719
23103
|
errorLimit: boolean;
|
|
21720
23104
|
/**
|
|
21721
|
-
* @Input
|
|
21722
|
-
*
|
|
21723
23105
|
* @optional
|
|
21724
23106
|
*
|
|
21725
23107
|
* @description
|
|
@@ -21731,8 +23113,6 @@ declare abstract class PoTextareaBaseComponent implements ControlValueAccessor,
|
|
|
21731
23113
|
*/
|
|
21732
23114
|
poHelperComponent: i0.InputSignal<string | PoHelperOptions>;
|
|
21733
23115
|
/**
|
|
21734
|
-
* @Input
|
|
21735
|
-
*
|
|
21736
23116
|
* @optional
|
|
21737
23117
|
*
|
|
21738
23118
|
* @description
|
|
@@ -21963,8 +23343,9 @@ declare abstract class PoTextareaBaseComponent implements ControlValueAccessor,
|
|
|
21963
23343
|
*
|
|
21964
23344
|
*/
|
|
21965
23345
|
declare class PoTextareaComponent extends PoTextareaBaseComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
21966
|
-
private el;
|
|
23346
|
+
private readonly el;
|
|
21967
23347
|
inputEl: ElementRef;
|
|
23348
|
+
textareaBodyEl: ElementRef;
|
|
21968
23349
|
helperEl?: PoHelperComponent;
|
|
21969
23350
|
id: string;
|
|
21970
23351
|
valueBeforeChange: any;
|
|
@@ -22039,7 +23420,7 @@ declare class PoTextareaComponent extends PoTextareaBaseComponent implements Aft
|
|
|
22039
23420
|
};
|
|
22040
23421
|
private readonly onWindowResize;
|
|
22041
23422
|
private checkScrollState;
|
|
22042
|
-
private
|
|
23423
|
+
private syncContainerWidth;
|
|
22043
23424
|
private initResizeObserver;
|
|
22044
23425
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoTextareaComponent, never>;
|
|
22045
23426
|
static ɵcmp: i0.ɵɵComponentDeclaration<PoTextareaComponent, "po-textarea", never, {}, {}, never, never, false, never>;
|
|
@@ -22076,7 +23457,7 @@ declare class PoUrlComponent extends PoInputGeneric implements AfterViewInit, On
|
|
|
22076
23457
|
type: string;
|
|
22077
23458
|
pattern: string;
|
|
22078
23459
|
mask: string;
|
|
22079
|
-
private listener;
|
|
23460
|
+
private readonly listener;
|
|
22080
23461
|
constructor();
|
|
22081
23462
|
ngAfterViewInit(): void;
|
|
22082
23463
|
ngOnDestroy(): void;
|
|
@@ -22118,7 +23499,7 @@ declare class PoRadioGroupModule {
|
|
|
22118
23499
|
* Componente que construíra o dropdown, contendo o campo de pesquisa e os itens para seleção.
|
|
22119
23500
|
*/
|
|
22120
23501
|
declare class PoMultiselectDropdownComponent {
|
|
22121
|
-
private cd;
|
|
23502
|
+
private readonly cd;
|
|
22122
23503
|
/** Propriedade que indica se deve exibir o loading. */
|
|
22123
23504
|
isServerSearching?: boolean;
|
|
22124
23505
|
/** Propriedade que indica se o campo de pesquisa deverá ser escondido. */
|
|
@@ -22187,7 +23568,7 @@ declare class PoUploadDragDropAreaComponent {
|
|
|
22187
23568
|
}
|
|
22188
23569
|
|
|
22189
23570
|
declare class PoUploadDragDropComponent {
|
|
22190
|
-
private changeDetector;
|
|
23571
|
+
private readonly changeDetector;
|
|
22191
23572
|
dragDropOverlayElement: ElementRef;
|
|
22192
23573
|
dragDropAreaComponent: PoUploadDragDropAreaComponent;
|
|
22193
23574
|
directoryCompatible: boolean;
|
|
@@ -22210,8 +23591,8 @@ declare class PoUploadDragDropComponent {
|
|
|
22210
23591
|
}
|
|
22211
23592
|
|
|
22212
23593
|
declare class PoUploadDragDropDirective {
|
|
22213
|
-
private i18nPipe;
|
|
22214
|
-
private notification;
|
|
23594
|
+
private readonly i18nPipe;
|
|
23595
|
+
private readonly notification;
|
|
22215
23596
|
areaElement: HTMLElement;
|
|
22216
23597
|
directoryCompatible: boolean;
|
|
22217
23598
|
disabled: boolean;
|
|
@@ -22240,7 +23621,7 @@ declare class PoUploadDragDropDirective {
|
|
|
22240
23621
|
}
|
|
22241
23622
|
|
|
22242
23623
|
declare class PoUploadDragDropAreaOverlayComponent implements AfterViewInit {
|
|
22243
|
-
private renderer;
|
|
23624
|
+
private readonly renderer;
|
|
22244
23625
|
DragDropAreaFixed: ElementRef;
|
|
22245
23626
|
directoryCompatible: boolean;
|
|
22246
23627
|
disabled: boolean;
|
|
@@ -22254,13 +23635,13 @@ declare class PoUploadDragDropAreaOverlayComponent implements AfterViewInit {
|
|
|
22254
23635
|
}
|
|
22255
23636
|
|
|
22256
23637
|
declare class PoUploadFileRestrictionsComponent implements OnInit {
|
|
22257
|
-
private changeDetector;
|
|
23638
|
+
private readonly changeDetector;
|
|
22258
23639
|
maxFiles: number;
|
|
22259
23640
|
literals: any;
|
|
22260
23641
|
private _allowedExtensions;
|
|
22261
23642
|
private _maxFileSize;
|
|
22262
23643
|
private _minFileSize;
|
|
22263
|
-
private language;
|
|
23644
|
+
private readonly language;
|
|
22264
23645
|
set allowedExtensions(value: string);
|
|
22265
23646
|
get allowedExtensions(): string;
|
|
22266
23647
|
set maxFileSize(value: string);
|
|
@@ -22511,7 +23892,7 @@ declare class PoDialogComponent implements OnDestroy, OnInit {
|
|
|
22511
23892
|
private closeSubscription;
|
|
22512
23893
|
private _componentsSize?;
|
|
22513
23894
|
private _initialComponentsSize?;
|
|
22514
|
-
private language;
|
|
23895
|
+
private readonly language;
|
|
22515
23896
|
set componentsSize(value: string);
|
|
22516
23897
|
get componentsSize(): string;
|
|
22517
23898
|
constructor(languageService: PoLanguageService);
|
|
@@ -22572,7 +23953,7 @@ declare class PoServicesModule {
|
|
|
22572
23953
|
*/
|
|
22573
23954
|
declare class PoFieldModule {
|
|
22574
23955
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoFieldModule, never>;
|
|
22575
|
-
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]>;
|
|
22576
23957
|
static ɵinj: i0.ɵɵInjectorDeclaration<PoFieldModule>;
|
|
22577
23958
|
}
|
|
22578
23959
|
|
|
@@ -23018,15 +24399,29 @@ interface PoDynamicFormField extends PoDynamicField {
|
|
|
23018
24399
|
*/
|
|
23019
24400
|
listboxControlPosition?: 'top' | 'bottom';
|
|
23020
24401
|
/**
|
|
23021
|
-
*
|
|
24402
|
+
* Habilita um estado de carregamento no componente, desabilitando-o e exibindo um ícone de carregamento.
|
|
24403
|
+
*
|
|
24404
|
+
* > Por padrão é `false`.
|
|
23022
24405
|
*
|
|
23023
|
-
* **Componentes compatíveis:** `po-datepicker`, `po-datepicker-range`, `po-number`, `po-decimal
|
|
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`.
|
|
24415
|
+
*
|
|
24416
|
+
* **Componentes compatíveis:** `po-datepicker`, `po-datepicker-range`, `po-number`, `po-decimal`, `po-timepicker`
|
|
23024
24417
|
* */
|
|
23025
24418
|
maxValue?: string | number;
|
|
23026
24419
|
/**
|
|
23027
|
-
* 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*.
|
|
23028
24421
|
*
|
|
23029
|
-
*
|
|
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`
|
|
23030
24425
|
*/
|
|
23031
24426
|
minValue?: string | number;
|
|
23032
24427
|
/** Quantidade de linhas exibidas no `po-textarea`. */
|
|
@@ -23144,6 +24539,11 @@ interface PoDynamicFormField extends PoDynamicField {
|
|
|
23144
24539
|
* - mm/dd/yyyy
|
|
23145
24540
|
* - yyyy/mm/dd
|
|
23146
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
|
|
23147
24547
|
*
|
|
23148
24548
|
* Também pode-se utilizar em conjunto com `searchService`, informando uma lista de propriedades que será utilizado
|
|
23149
24549
|
* para formatação da exibição no campo, por exemplo: ["id", "name"].
|
|
@@ -23251,12 +24651,20 @@ interface PoDynamicFormField extends PoDynamicField {
|
|
|
23251
24651
|
* Permite esconder a função de espiar a senha digitada no `po-password`.
|
|
23252
24652
|
*/
|
|
23253
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;
|
|
23254
24662
|
/**
|
|
23255
24663
|
* Padrão de formatação para saída do model, independentemente do formato de entrada.
|
|
23256
24664
|
*
|
|
23257
|
-
* > Veja os valores válidos no `
|
|
24665
|
+
* > Veja os valores válidos no `PoDatepickerIsoFormat`.
|
|
23258
24666
|
*
|
|
23259
|
-
* **Componente compatível:** po-datepicker
|
|
24667
|
+
* **Componente compatível:** `po-datepicker`
|
|
23260
24668
|
*/
|
|
23261
24669
|
isoFormat?: PoDatepickerIsoFormat;
|
|
23262
24670
|
/**
|
|
@@ -23291,6 +24699,30 @@ interface PoDynamicFormField extends PoDynamicField {
|
|
|
23291
24699
|
* Intervalo utilizado no `po-number`.
|
|
23292
24700
|
*/
|
|
23293
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;
|
|
23294
24726
|
/**
|
|
23295
24727
|
* Define o modo de pesquisa utilizado no filtro da lista de seleção: `startsWith`, `contains` ou `endsWith`.
|
|
23296
24728
|
* > Quando utilizar a propriedade p-filter-service esta propriedade será ignorada.
|
|
@@ -23943,7 +25375,7 @@ interface PoDynamicFormValidation extends PoDynamicFormResponse {
|
|
|
23943
25375
|
}
|
|
23944
25376
|
|
|
23945
25377
|
declare class PoDynamicFormOperation {
|
|
23946
|
-
private http;
|
|
25378
|
+
private readonly http;
|
|
23947
25379
|
constructor(http: HttpClient);
|
|
23948
25380
|
protected execute(action: Function | string, param: any): rxjs.Observable<any>;
|
|
23949
25381
|
protected post(url: string, body: PoDynamicFormValidation | any): rxjs.Observable<Object>;
|
|
@@ -23992,9 +25424,9 @@ declare class PoDynamicFormValidationService extends PoDynamicFormOperation {
|
|
|
23992
25424
|
*
|
|
23993
25425
|
*/
|
|
23994
25426
|
declare class PoDynamicFormComponent extends PoDynamicFormBaseComponent implements OnInit, OnDestroy {
|
|
23995
|
-
private changes;
|
|
23996
|
-
private loadService;
|
|
23997
|
-
private validationService;
|
|
25427
|
+
private readonly changes;
|
|
25428
|
+
private readonly loadService;
|
|
25429
|
+
private readonly validationService;
|
|
23998
25430
|
fieldsComponent: {
|
|
23999
25431
|
focus: (property: string) => void;
|
|
24000
25432
|
updatePreviousValue: () => void;
|
|
@@ -24005,7 +25437,7 @@ declare class PoDynamicFormComponent extends PoDynamicFormBaseComponent implemen
|
|
|
24005
25437
|
private _form;
|
|
24006
25438
|
private onLoadSubscription;
|
|
24007
25439
|
private sendFormSubscription;
|
|
24008
|
-
private comboOptionSubject;
|
|
25440
|
+
private readonly comboOptionSubject;
|
|
24009
25441
|
set form(value: NgForm);
|
|
24010
25442
|
get form(): NgForm;
|
|
24011
25443
|
constructor(changes: ChangeDetectorRef, loadService: PoDynamicFormLoadService, validationService: PoDynamicFormValidationService);
|
|
@@ -24371,7 +25803,7 @@ declare class PoDynamicSharedBase {
|
|
|
24371
25803
|
}
|
|
24372
25804
|
|
|
24373
25805
|
declare class PoDynamicFormFieldsBaseComponent extends PoDynamicSharedBase {
|
|
24374
|
-
private titleCasePipe;
|
|
25806
|
+
private readonly titleCasePipe;
|
|
24375
25807
|
autoFocus?: string;
|
|
24376
25808
|
disabledForm: boolean;
|
|
24377
25809
|
validate?: string | Function;
|
|
@@ -24470,7 +25902,7 @@ declare class PoDynamicFormFieldsComponent extends PoDynamicFormFieldsBaseCompon
|
|
|
24470
25902
|
* Serviço padrão utilizado para filtrar os dados dos campos que utilizam a propriedade `searchService`.
|
|
24471
25903
|
*/
|
|
24472
25904
|
declare class PoDynamicViewService {
|
|
24473
|
-
private httpClient;
|
|
25905
|
+
private readonly httpClient;
|
|
24474
25906
|
readonly headers: HttpHeaders;
|
|
24475
25907
|
url: string;
|
|
24476
25908
|
getObjectByValue(value: any, filterParams?: any): Observable<Array<any> | {
|
|
@@ -24496,11 +25928,11 @@ declare class PoDynamicViewService {
|
|
|
24496
25928
|
*
|
|
24497
25929
|
*/
|
|
24498
25930
|
declare class PoDynamicViewBaseComponent extends PoDynamicSharedBase {
|
|
24499
|
-
private currencyPipe;
|
|
24500
|
-
private datePipe;
|
|
24501
|
-
private decimalPipe;
|
|
24502
|
-
private timePipe;
|
|
24503
|
-
private titleCasePipe;
|
|
25931
|
+
private readonly currencyPipe;
|
|
25932
|
+
private readonly datePipe;
|
|
25933
|
+
private readonly decimalPipe;
|
|
25934
|
+
private readonly timePipe;
|
|
25935
|
+
private readonly titleCasePipe;
|
|
24504
25936
|
protected dynamicViewService: PoDynamicViewService;
|
|
24505
25937
|
protected comboFilterService: PoComboFilterService;
|
|
24506
25938
|
protected multiselectFilterService: PoMultiselectFilterService;
|
|
@@ -25298,7 +26730,7 @@ declare class PoGridCellActionComponent {
|
|
|
25298
26730
|
}
|
|
25299
26731
|
|
|
25300
26732
|
declare class PoGridCellComponent {
|
|
25301
|
-
private changeDetectorRef;
|
|
26733
|
+
private readonly changeDetectorRef;
|
|
25302
26734
|
align?: string;
|
|
25303
26735
|
freeze?: boolean;
|
|
25304
26736
|
tabIndex?: number;
|
|
@@ -25442,8 +26874,8 @@ interface PoGridRowActions {
|
|
|
25442
26874
|
* </example>
|
|
25443
26875
|
*/
|
|
25444
26876
|
declare class PoGridComponent implements OnDestroy {
|
|
25445
|
-
private changeDetectorRef;
|
|
25446
|
-
private elRef;
|
|
26877
|
+
private readonly changeDetectorRef;
|
|
26878
|
+
private readonly elRef;
|
|
25447
26879
|
tableElement: ElementRef;
|
|
25448
26880
|
tableWrapper: ElementRef;
|
|
25449
26881
|
/**
|
|
@@ -25467,7 +26899,7 @@ declare class PoGridComponent implements OnDestroy {
|
|
|
25467
26899
|
width: string;
|
|
25468
26900
|
widporeeze: number;
|
|
25469
26901
|
widthActions: number;
|
|
25470
|
-
private resizeListener;
|
|
26902
|
+
private readonly resizeListener;
|
|
25471
26903
|
private timeoutResize;
|
|
25472
26904
|
private _columns;
|
|
25473
26905
|
/**
|
|
@@ -25610,7 +27042,7 @@ declare class PoListViewBaseComponent {
|
|
|
25610
27042
|
private _literals;
|
|
25611
27043
|
private _select;
|
|
25612
27044
|
private _showMoreDisabled;
|
|
25613
|
-
private language;
|
|
27045
|
+
private readonly language;
|
|
25614
27046
|
/**
|
|
25615
27047
|
* @optional
|
|
25616
27048
|
*
|
|
@@ -25923,11 +27355,11 @@ declare class PoListViewDetailTemplateDirective {
|
|
|
25923
27355
|
* </example>
|
|
25924
27356
|
*/
|
|
25925
27357
|
declare class PoListViewComponent extends PoListViewBaseComponent implements AfterContentInit, DoCheck {
|
|
25926
|
-
private changeDetector;
|
|
27358
|
+
private readonly changeDetector;
|
|
25927
27359
|
listViewContentTemplate: PoListViewContentTemplateDirective;
|
|
25928
27360
|
listViewDetailTemplate: PoListViewDetailTemplateDirective;
|
|
25929
27361
|
poPopupComponent: PoPopupComponent;
|
|
25930
|
-
private differ;
|
|
27362
|
+
private readonly differ;
|
|
25931
27363
|
constructor();
|
|
25932
27364
|
get hasContentTemplate(): boolean;
|
|
25933
27365
|
get hasDetailTemplate(): boolean;
|
|
@@ -26216,11 +27648,11 @@ interface PoMenuItem {
|
|
|
26216
27648
|
}
|
|
26217
27649
|
|
|
26218
27650
|
declare class PoMenuGlobalService {
|
|
26219
|
-
private applicationMenu;
|
|
26220
|
-
private menus;
|
|
26221
|
-
private removedApplicationMenu;
|
|
26222
|
-
private menuId;
|
|
26223
|
-
private menuChanges;
|
|
27651
|
+
private readonly applicationMenu;
|
|
27652
|
+
private readonly menus;
|
|
27653
|
+
private readonly removedApplicationMenu;
|
|
27654
|
+
private readonly menuId;
|
|
27655
|
+
private readonly menuChanges;
|
|
26224
27656
|
receiveApplicationMenu$: Observable<PoMenuComponent>;
|
|
26225
27657
|
receiveMenus$: Observable<PoMenuItem[]>;
|
|
26226
27658
|
receiveId$: Observable<string>;
|
|
@@ -26244,7 +27676,7 @@ declare class PoMenuGlobalService {
|
|
|
26244
27676
|
* caso for uma URL, no componente `po-menu`.
|
|
26245
27677
|
*/
|
|
26246
27678
|
declare class PoMenuService implements PoMenuFilter {
|
|
26247
|
-
private http;
|
|
27679
|
+
private readonly http;
|
|
26248
27680
|
private _url;
|
|
26249
27681
|
get url(): string;
|
|
26250
27682
|
configProperties(url: string): void;
|
|
@@ -26318,7 +27750,7 @@ declare abstract class PoMenuBaseComponent {
|
|
|
26318
27750
|
private _filter;
|
|
26319
27751
|
private _searchTreeItems;
|
|
26320
27752
|
private _level;
|
|
26321
|
-
private _maxLevel;
|
|
27753
|
+
private readonly _maxLevel;
|
|
26322
27754
|
private _menus;
|
|
26323
27755
|
private _params;
|
|
26324
27756
|
private _service;
|
|
@@ -26334,6 +27766,18 @@ declare abstract class PoMenuBaseComponent {
|
|
|
26334
27766
|
* @default `false`
|
|
26335
27767
|
*/
|
|
26336
27768
|
automaticToggle: boolean;
|
|
27769
|
+
/**
|
|
27770
|
+
* @optional
|
|
27771
|
+
*
|
|
27772
|
+
* @description
|
|
27773
|
+
*
|
|
27774
|
+
* Evento emitido toda vez que o estado do menu muda, enviando `true` quando expandido e `false` quando colapsado.
|
|
27775
|
+
*
|
|
27776
|
+
* ```html
|
|
27777
|
+
* <po-menu (p-toggle)="onMenuToggle($event)"></po-menu>
|
|
27778
|
+
* ```
|
|
27779
|
+
*/
|
|
27780
|
+
toggleChange: i0.OutputEmitterRef<boolean>;
|
|
26337
27781
|
/**
|
|
26338
27782
|
* @optional
|
|
26339
27783
|
*
|
|
@@ -26527,7 +27971,7 @@ declare abstract class PoMenuBaseComponent {
|
|
|
26527
27971
|
protected abstract checkingRouterChildrenFragments(): any;
|
|
26528
27972
|
protected abstract validateCollapseClass(): any;
|
|
26529
27973
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoMenuBaseComponent, never>;
|
|
26530
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoMenuBaseComponent, never, never, { "automaticToggle": { "alias": "p-automatic-toggle"; "required": false; }; "collapsed": { "alias": "p-collapsed"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; "menus": { "alias": "p-menus"; "required": false; }; "filter": { "alias": "p-filter"; "required": false; }; "searchTreeItems": { "alias": "p-search-tree-items"; "required": false; }; "service": { "alias": "p-service"; "required": false; }; "params": { "alias": "p-params"; "required": false; }; "logo": { "alias": "p-logo"; "required": false; }; "menuid": { "alias": "p-menu-id"; "required": false; }; "logoAlt": { "alias": "p-logo-alt"; "required": false; }; "shortLogo": { "alias": "p-short-logo"; "required": false; }; "onlyMenuItem": { "alias": "p-only-menu-item"; "required": false; }; "logoLink": { "alias": "p-logo-link"; "required": false; }; }, {}, never, never, true, never>;
|
|
27974
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoMenuBaseComponent, never, never, { "automaticToggle": { "alias": "p-automatic-toggle"; "required": false; }; "collapsed": { "alias": "p-collapsed"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; "menus": { "alias": "p-menus"; "required": false; }; "filter": { "alias": "p-filter"; "required": false; }; "searchTreeItems": { "alias": "p-search-tree-items"; "required": false; }; "service": { "alias": "p-service"; "required": false; }; "params": { "alias": "p-params"; "required": false; }; "logo": { "alias": "p-logo"; "required": false; }; "menuid": { "alias": "p-menu-id"; "required": false; }; "logoAlt": { "alias": "p-logo-alt"; "required": false; }; "shortLogo": { "alias": "p-short-logo"; "required": false; }; "onlyMenuItem": { "alias": "p-only-menu-item"; "required": false; }; "logoLink": { "alias": "p-logo-link"; "required": false; }; }, { "toggleChange": "p-toggle"; }, never, never, true, never>;
|
|
26531
27975
|
static ngAcceptInputType_automaticToggle: any;
|
|
26532
27976
|
}
|
|
26533
27977
|
|
|
@@ -26657,10 +28101,10 @@ declare class PoMenuHeaderTemplateDirective {
|
|
|
26657
28101
|
*/
|
|
26658
28102
|
declare class PoMenuComponent extends PoMenuBaseComponent implements AfterViewInit, OnDestroy, OnInit, DoCheck, OnChanges {
|
|
26659
28103
|
changeDetector: ChangeDetectorRef;
|
|
26660
|
-
private element;
|
|
26661
|
-
private renderer;
|
|
26662
|
-
private router;
|
|
26663
|
-
private menuItemsService;
|
|
28104
|
+
private readonly element;
|
|
28105
|
+
private readonly renderer;
|
|
28106
|
+
private readonly router;
|
|
28107
|
+
private readonly menuItemsService;
|
|
26664
28108
|
menuHeaderTemplate: PoMenuHeaderTemplateDirective;
|
|
26665
28109
|
activeMenuItem: PoMenuItem;
|
|
26666
28110
|
collapsedMobile: boolean;
|
|
@@ -26745,6 +28189,7 @@ declare class PoMenuComponent extends PoMenuBaseComponent implements AfterViewIn
|
|
|
26745
28189
|
private toggleResize;
|
|
26746
28190
|
private validateToggleMenu;
|
|
26747
28191
|
private updateMenu;
|
|
28192
|
+
private setCollapsed;
|
|
26748
28193
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoMenuComponent, never>;
|
|
26749
28194
|
static ɵcmp: i0.ɵɵComponentDeclaration<PoMenuComponent, "po-menu", never, {}, {}, ["menuHeaderTemplate"], never, false, never>;
|
|
26750
28195
|
}
|
|
@@ -26778,7 +28223,7 @@ declare class PoMenuFilterComponent {
|
|
|
26778
28223
|
* Componente que implementa cada item do po-menu.
|
|
26779
28224
|
*/
|
|
26780
28225
|
declare class PoMenuItemComponent implements OnDestroy, OnInit {
|
|
26781
|
-
private menuItemsService;
|
|
28226
|
+
private readonly menuItemsService;
|
|
26782
28227
|
action: Function;
|
|
26783
28228
|
badgeAlert: boolean;
|
|
26784
28229
|
badgeColor: string;
|
|
@@ -26991,7 +28436,7 @@ declare class PoBadgeComponent extends PoBadgeBaseComponent implements OnInit, O
|
|
|
26991
28436
|
literals: PoBadgeLiterals;
|
|
26992
28437
|
badgeIcon: string;
|
|
26993
28438
|
isValidValue: boolean;
|
|
26994
|
-
private poLanguageService;
|
|
28439
|
+
private readonly poLanguageService;
|
|
26995
28440
|
ngOnInit(): void;
|
|
26996
28441
|
ngOnChanges(changes: SimpleChanges): void;
|
|
26997
28442
|
initialize(): void;
|
|
@@ -27161,9 +28606,9 @@ declare class PoMenuPanelBaseComponent {
|
|
|
27161
28606
|
* </example>
|
|
27162
28607
|
*/
|
|
27163
28608
|
declare class PoMenuPanelComponent extends PoMenuPanelBaseComponent implements OnDestroy, OnInit {
|
|
27164
|
-
private location;
|
|
27165
|
-
private menuItemsService;
|
|
27166
|
-
private router;
|
|
28609
|
+
private readonly location;
|
|
28610
|
+
private readonly menuItemsService;
|
|
28611
|
+
private readonly router;
|
|
27167
28612
|
activeMenuItem: PoMenuPanelItem;
|
|
27168
28613
|
linkActive: string;
|
|
27169
28614
|
private routeSubscription;
|
|
@@ -27204,7 +28649,7 @@ interface PoMenuPanelItemInternal extends PoMenuPanelItem {
|
|
|
27204
28649
|
* Componente que implementa cada item do po-menu-panel.
|
|
27205
28650
|
*/
|
|
27206
28651
|
declare class PoMenuPanelItemComponent implements OnDestroy, OnInit {
|
|
27207
|
-
private menuItemsService;
|
|
28652
|
+
private readonly menuItemsService;
|
|
27208
28653
|
menuItemInternal: PoMenuPanelItemInternal;
|
|
27209
28654
|
itemsSubscription: Subscription;
|
|
27210
28655
|
ngOnDestroy(): void;
|
|
@@ -27341,7 +28786,7 @@ declare abstract class PoNavbarBaseComponent {
|
|
|
27341
28786
|
private _literals;
|
|
27342
28787
|
private _logo;
|
|
27343
28788
|
private _shadow;
|
|
27344
|
-
private language;
|
|
28789
|
+
private readonly language;
|
|
27345
28790
|
/**
|
|
27346
28791
|
* @deprecated v23.x.x
|
|
27347
28792
|
*
|
|
@@ -27440,7 +28885,7 @@ declare abstract class PoNavbarBaseComponent {
|
|
|
27440
28885
|
}
|
|
27441
28886
|
|
|
27442
28887
|
declare class PoNavbarItemsComponent implements OnInit, OnDestroy {
|
|
27443
|
-
private router;
|
|
28888
|
+
private readonly router;
|
|
27444
28889
|
navbarItemsContainer: ElementRef;
|
|
27445
28890
|
allNavbarItems: QueryList<any>;
|
|
27446
28891
|
items: Array<PoNavbarItem>;
|
|
@@ -27461,10 +28906,10 @@ declare class PoNavbarItemsComponent implements OnInit, OnDestroy {
|
|
|
27461
28906
|
* @docsExtends PoNavbarBaseComponent
|
|
27462
28907
|
*/
|
|
27463
28908
|
declare class PoNavbarComponent extends PoNavbarBaseComponent implements AfterViewInit, OnDestroy, OnInit {
|
|
27464
|
-
private renderer;
|
|
27465
|
-
private builder;
|
|
27466
|
-
private changeDetector;
|
|
27467
|
-
private menuGlobalService;
|
|
28909
|
+
private readonly renderer;
|
|
28910
|
+
private readonly builder;
|
|
28911
|
+
private readonly changeDetector;
|
|
28912
|
+
private readonly menuGlobalService;
|
|
27468
28913
|
navbarItemsElement: ElementRef;
|
|
27469
28914
|
navbarItems: PoNavbarItemsComponent;
|
|
27470
28915
|
disableRight: boolean;
|
|
@@ -27472,11 +28917,11 @@ declare class PoNavbarComponent extends PoNavbarBaseComponent implements AfterVi
|
|
|
27472
28917
|
protected windowResizeListener: () => void;
|
|
27473
28918
|
private _menuComponent;
|
|
27474
28919
|
private isNavbarUpdateMenu;
|
|
27475
|
-
private id;
|
|
28920
|
+
private readonly id;
|
|
27476
28921
|
private mediaQuery;
|
|
27477
28922
|
private offset;
|
|
27478
28923
|
private player;
|
|
27479
|
-
private menuItems;
|
|
28924
|
+
private readonly menuItems;
|
|
27480
28925
|
private previousMenuComponentId;
|
|
27481
28926
|
private previousMenusItems;
|
|
27482
28927
|
private applicationMenuSubscription;
|
|
@@ -27503,7 +28948,7 @@ declare class PoNavbarComponent extends PoNavbarBaseComponent implements AfterVi
|
|
|
27503
28948
|
private navbarItemsWidth;
|
|
27504
28949
|
private navigateLeft;
|
|
27505
28950
|
private navigateRight;
|
|
27506
|
-
private onMediaQueryChange;
|
|
28951
|
+
private readonly onMediaQueryChange;
|
|
27507
28952
|
private setOffsetToZero;
|
|
27508
28953
|
private validateMaxOffset;
|
|
27509
28954
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoNavbarComponent, never>;
|
|
@@ -27518,7 +28963,7 @@ declare class PoNavbarLogoComponent {
|
|
|
27518
28963
|
}
|
|
27519
28964
|
|
|
27520
28965
|
declare class PoNavbarActionComponent {
|
|
27521
|
-
private router;
|
|
28966
|
+
private readonly router;
|
|
27522
28967
|
action?: Function;
|
|
27523
28968
|
icon: string | TemplateRef<void>;
|
|
27524
28969
|
label: string;
|
|
@@ -27913,12 +29358,12 @@ declare abstract class PoPageDefaultBaseComponent {
|
|
|
27913
29358
|
* </example>
|
|
27914
29359
|
*/
|
|
27915
29360
|
declare class PoPageDefaultComponent extends PoPageDefaultBaseComponent implements AfterContentInit, OnChanges {
|
|
27916
|
-
private renderer;
|
|
27917
|
-
private router;
|
|
29361
|
+
private readonly renderer;
|
|
29362
|
+
private readonly router;
|
|
27918
29363
|
limitPrimaryActions: number;
|
|
27919
29364
|
dropdownActions: Array<PoPageAction>;
|
|
27920
29365
|
isMobile: boolean;
|
|
27921
|
-
private maxWidthMobile;
|
|
29366
|
+
private readonly maxWidthMobile;
|
|
27922
29367
|
constructor();
|
|
27923
29368
|
ngAfterContentInit(): void;
|
|
27924
29369
|
ngOnChanges(changes: {
|
|
@@ -28013,7 +29458,7 @@ declare class PoPageDetailBaseComponent {
|
|
|
28013
29458
|
private _initialComponentsSize?;
|
|
28014
29459
|
private _literals;
|
|
28015
29460
|
private _title;
|
|
28016
|
-
private language;
|
|
29461
|
+
private readonly language;
|
|
28017
29462
|
/**
|
|
28018
29463
|
* @optional
|
|
28019
29464
|
*
|
|
@@ -28199,7 +29644,7 @@ declare class PoPageEditBaseComponent {
|
|
|
28199
29644
|
private _initialComponentsSize?;
|
|
28200
29645
|
private _literals;
|
|
28201
29646
|
private _title;
|
|
28202
|
-
private language;
|
|
29647
|
+
private readonly language;
|
|
28203
29648
|
/**
|
|
28204
29649
|
* @optional
|
|
28205
29650
|
*
|
|
@@ -28955,8 +30400,8 @@ interface PoThemeActive {
|
|
|
28955
30400
|
*
|
|
28956
30401
|
*/
|
|
28957
30402
|
declare class PoThemeService {
|
|
28958
|
-
private document;
|
|
28959
|
-
private renderer;
|
|
30403
|
+
private readonly document;
|
|
30404
|
+
private readonly renderer;
|
|
28960
30405
|
private theme;
|
|
28961
30406
|
constructor(document: Document, rendererFactory: RendererFactory2);
|
|
28962
30407
|
/**
|
|
@@ -29463,8 +30908,8 @@ declare abstract class PoPageListBaseComponent {
|
|
|
29463
30908
|
*/
|
|
29464
30909
|
declare class PoPageListComponent extends PoPageListBaseComponent implements AfterContentInit, OnChanges, OnDestroy, OnInit {
|
|
29465
30910
|
renderer: Renderer2;
|
|
29466
|
-
private router;
|
|
29467
|
-
private changeDetector;
|
|
30911
|
+
private readonly router;
|
|
30912
|
+
private readonly changeDetector;
|
|
29468
30913
|
filterInput: ElementRef;
|
|
29469
30914
|
advancedSearch: string;
|
|
29470
30915
|
dropdownActions: Array<PoPageAction>;
|
|
@@ -29472,7 +30917,7 @@ declare class PoPageListComponent extends PoPageListBaseComponent implements Aft
|
|
|
29472
30917
|
limitPrimaryActions: number;
|
|
29473
30918
|
callFunction: typeof callFunction;
|
|
29474
30919
|
private isRecalculate;
|
|
29475
|
-
private maxWidthMobile;
|
|
30920
|
+
private readonly maxWidthMobile;
|
|
29476
30921
|
constructor();
|
|
29477
30922
|
ngOnInit(): void;
|
|
29478
30923
|
ngAfterContentInit(): void;
|
|
@@ -29709,10 +31154,10 @@ declare class PoSlideContentTemplateDirective {
|
|
|
29709
31154
|
* </example>
|
|
29710
31155
|
*/
|
|
29711
31156
|
declare class PoSlideComponent extends PoSlideBaseComponent implements OnInit, DoCheck, OnChanges, OnDestroy {
|
|
29712
|
-
private builder;
|
|
31157
|
+
private readonly builder;
|
|
29713
31158
|
slideContentTemplate: PoSlideContentTemplateDirective;
|
|
29714
|
-
private slide;
|
|
29715
|
-
private itemsElements;
|
|
31159
|
+
private readonly slide;
|
|
31160
|
+
private readonly itemsElements;
|
|
29716
31161
|
currentSlideIndex: number;
|
|
29717
31162
|
imageHeight: number;
|
|
29718
31163
|
slideItems: Array<PoSlideItem | any>;
|
|
@@ -29720,7 +31165,7 @@ declare class PoSlideComponent extends PoSlideBaseComponent implements OnInit, D
|
|
|
29720
31165
|
private isLoaded;
|
|
29721
31166
|
private player;
|
|
29722
31167
|
private setInterval;
|
|
29723
|
-
private resize$;
|
|
31168
|
+
private readonly resize$;
|
|
29724
31169
|
private resizeSubscription;
|
|
29725
31170
|
private get hasElements();
|
|
29726
31171
|
private get isImageSlide();
|
|
@@ -29940,7 +31385,7 @@ declare enum PoStepperStatus {
|
|
|
29940
31385
|
* e exemplos de uso.
|
|
29941
31386
|
*/
|
|
29942
31387
|
declare class PoStepComponent implements AfterContentInit {
|
|
29943
|
-
private elementRef;
|
|
31388
|
+
private readonly elementRef;
|
|
29944
31389
|
/**
|
|
29945
31390
|
* @optional
|
|
29946
31391
|
*
|
|
@@ -30330,7 +31775,7 @@ declare class PoStepperBaseComponent {
|
|
|
30330
31775
|
* </example>
|
|
30331
31776
|
*/
|
|
30332
31777
|
declare class PoStepperComponent extends PoStepperBaseComponent implements AfterContentInit {
|
|
30333
|
-
private changeDetector;
|
|
31778
|
+
private readonly changeDetector;
|
|
30334
31779
|
poSteps: QueryList<PoStepComponent>;
|
|
30335
31780
|
private currentActiveStep;
|
|
30336
31781
|
private previousActiveStepIndex;
|
|
@@ -30407,8 +31852,8 @@ declare class PoStepperComponent extends PoStepperBaseComponent implements After
|
|
|
30407
31852
|
* Componente responsável por exibir as legendas dos *steps*.
|
|
30408
31853
|
*/
|
|
30409
31854
|
declare class PoStepperLabelComponent implements AfterViewInit, OnChanges {
|
|
30410
|
-
private renderer;
|
|
30411
|
-
private changeDetectorRef;
|
|
31855
|
+
private readonly renderer;
|
|
31856
|
+
private readonly changeDetectorRef;
|
|
30412
31857
|
alignCenter: boolean;
|
|
30413
31858
|
content: string;
|
|
30414
31859
|
status: string;
|
|
@@ -30417,7 +31862,7 @@ declare class PoStepperLabelComponent implements AfterViewInit, OnChanges {
|
|
|
30417
31862
|
disabledClick: boolean;
|
|
30418
31863
|
displayedContent: string;
|
|
30419
31864
|
tooltipContent: string;
|
|
30420
|
-
private maxLabelLength;
|
|
31865
|
+
private readonly maxLabelLength;
|
|
30421
31866
|
ngAfterViewInit(): void;
|
|
30422
31867
|
ngOnChanges(changes: SimpleChanges): void;
|
|
30423
31868
|
onMouseOver(): void;
|
|
@@ -30498,7 +31943,7 @@ declare class PoStepperModule {
|
|
|
30498
31943
|
*/
|
|
30499
31944
|
declare class PoTabButtonComponent implements OnChanges, AfterViewInit {
|
|
30500
31945
|
changeDetector: ChangeDetectorRef;
|
|
30501
|
-
private elementRef;
|
|
31946
|
+
private readonly elementRef;
|
|
30502
31947
|
tabButtom: ElementRef;
|
|
30503
31948
|
disabled: boolean;
|
|
30504
31949
|
id: string;
|
|
@@ -30547,6 +31992,8 @@ declare abstract class PoTabBaseComponent {
|
|
|
30547
31992
|
* @default `false`
|
|
30548
31993
|
*/
|
|
30549
31994
|
hideClose: boolean;
|
|
31995
|
+
/** ID da Tab */
|
|
31996
|
+
id: string;
|
|
30550
31997
|
/** Método disparado ao clicar na aba. */
|
|
30551
31998
|
click: EventEmitter<any>;
|
|
30552
31999
|
/**
|
|
@@ -30560,7 +32007,15 @@ declare abstract class PoTabBaseComponent {
|
|
|
30560
32007
|
*
|
|
30561
32008
|
*/
|
|
30562
32009
|
closeTab: EventEmitter<any>;
|
|
30563
|
-
|
|
32010
|
+
/**
|
|
32011
|
+
* @optional
|
|
32012
|
+
*
|
|
32013
|
+
* @description
|
|
32014
|
+
*
|
|
32015
|
+
* Evento emitido quando a aba é ativada.
|
|
32016
|
+
* Emite a instância do componente da aba que foi ativada.
|
|
32017
|
+
*/
|
|
32018
|
+
activatedTab: i0.OutputEmitterRef<PoTabBaseComponent>;
|
|
30564
32019
|
private _active?;
|
|
30565
32020
|
private _disabled?;
|
|
30566
32021
|
private _hide?;
|
|
@@ -30604,7 +32059,7 @@ declare abstract class PoTabBaseComponent {
|
|
|
30604
32059
|
get hide(): boolean;
|
|
30605
32060
|
protected abstract setDisplayOnActive(): any;
|
|
30606
32061
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoTabBaseComponent, never>;
|
|
30607
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoTabBaseComponent, never, never, { "label": { "alias": "p-label"; "required": false; }; "hideClose": { "alias": "p-hide-close"; "required": false; }; "active": { "alias": "p-active"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "hide": { "alias": "p-hide"; "required": false; }; }, { "click": "p-click"; "closeTab": "p-close-tab"; }, never, never, true, never>;
|
|
32062
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoTabBaseComponent, never, never, { "label": { "alias": "p-label"; "required": false; }; "hideClose": { "alias": "p-hide-close"; "required": false; }; "id": { "alias": "id"; "required": false; }; "active": { "alias": "p-active"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "hide": { "alias": "p-hide"; "required": false; }; }, { "click": "p-click"; "closeTab": "p-close-tab"; "activatedTab": "p-activated-tab"; }, never, never, true, never>;
|
|
30608
32063
|
static ngAcceptInputType_hideClose: any;
|
|
30609
32064
|
}
|
|
30610
32065
|
|
|
@@ -30613,7 +32068,7 @@ declare abstract class PoTabBaseComponent {
|
|
|
30613
32068
|
*/
|
|
30614
32069
|
declare class PoTabComponent extends PoTabBaseComponent implements AfterContentInit, OnChanges {
|
|
30615
32070
|
elementRef: ElementRef<any>;
|
|
30616
|
-
private tabsService;
|
|
32071
|
+
private readonly tabsService;
|
|
30617
32072
|
removed: boolean;
|
|
30618
32073
|
showTooltip: boolean;
|
|
30619
32074
|
ngAfterContentInit(): void;
|
|
@@ -30632,7 +32087,7 @@ declare class PoTabComponent extends PoTabBaseComponent implements AfterContentI
|
|
|
30632
32087
|
* no formato de lista.
|
|
30633
32088
|
*/
|
|
30634
32089
|
declare class PoTabDropdownComponent implements AfterViewInit {
|
|
30635
|
-
private elementRef;
|
|
32090
|
+
private readonly elementRef;
|
|
30636
32091
|
popover: PoPopoverComponent;
|
|
30637
32092
|
button: PoButtonComponent;
|
|
30638
32093
|
label: string;
|
|
@@ -30765,8 +32220,8 @@ declare const poTabsLiterals: object;
|
|
|
30765
32220
|
*/
|
|
30766
32221
|
declare class PoTabsComponent extends PoTabsBaseComponent implements OnInit, AfterViewInit, OnDestroy, AfterContentInit {
|
|
30767
32222
|
changeDetector: ChangeDetectorRef;
|
|
30768
|
-
private languageService;
|
|
30769
|
-
private tabsService;
|
|
32223
|
+
private readonly languageService;
|
|
32224
|
+
private readonly tabsService;
|
|
30770
32225
|
tabsChildren: QueryList<PoTabComponent>;
|
|
30771
32226
|
tabButton: QueryList<any>;
|
|
30772
32227
|
tabDropdown: PoTabDropdownComponent;
|
|
@@ -30834,6 +32289,26 @@ declare class PoTabsComponent extends PoTabsBaseComponent implements OnInit, Aft
|
|
|
30834
32289
|
private handleHomeKey;
|
|
30835
32290
|
private handleEndKey;
|
|
30836
32291
|
private handleArrowRight;
|
|
32292
|
+
/**
|
|
32293
|
+
* Ativa a aba correspondente ao `id` informado.
|
|
32294
|
+
*
|
|
32295
|
+
* Para utilizá-la é necessário ter a instância do componente no DOM, podendo ser utilizado o ViewChild da seguinte forma:
|
|
32296
|
+
*
|
|
32297
|
+
* ```
|
|
32298
|
+
* import { PoTabsComponent } from '@po-ui/ng-components';
|
|
32299
|
+
*
|
|
32300
|
+
* ...
|
|
32301
|
+
*
|
|
32302
|
+
* @ViewChild('poTab', { static: true }) poTab: PoTabsComponent;
|
|
32303
|
+
*
|
|
32304
|
+
* focusOnTab() {
|
|
32305
|
+
* this.poTab.activateTab('meu-id-da-aba');
|
|
32306
|
+
* }
|
|
32307
|
+
* ```
|
|
32308
|
+
*
|
|
32309
|
+
* @param id Identificador único da aba a ser ativada.
|
|
32310
|
+
*/
|
|
32311
|
+
activateTab(id: string): void;
|
|
30837
32312
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoTabsComponent, never>;
|
|
30838
32313
|
static ɵcmp: i0.ɵɵComponentDeclaration<PoTabsComponent, "po-tabs", never, {}, {}, ["tabsChildren"], ["*"], false, never>;
|
|
30839
32314
|
}
|
|
@@ -30918,8 +32393,8 @@ interface PoTab {
|
|
|
30918
32393
|
}
|
|
30919
32394
|
|
|
30920
32395
|
declare class PoTabsService {
|
|
30921
|
-
private onChangesTriggeredSource;
|
|
30922
|
-
private onChangesTriggeredActiveSource;
|
|
32396
|
+
private readonly onChangesTriggeredSource;
|
|
32397
|
+
private readonly onChangesTriggeredActiveSource;
|
|
30923
32398
|
onChangesTriggered$: rxjs.Observable<any>;
|
|
30924
32399
|
triggerActiveOnChanges$: rxjs.Observable<any>;
|
|
30925
32400
|
triggerOnChanges(tab?: PoTabComponent): void;
|
|
@@ -31182,7 +32657,7 @@ declare class PoToolbarBaseComponent {
|
|
|
31182
32657
|
* </example>
|
|
31183
32658
|
*/
|
|
31184
32659
|
declare class PoToolbarComponent extends PoToolbarBaseComponent implements OnInit {
|
|
31185
|
-
private titleService;
|
|
32660
|
+
private readonly titleService;
|
|
31186
32661
|
ngOnInit(): void;
|
|
31187
32662
|
private setTitle;
|
|
31188
32663
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoToolbarComponent, never>;
|
|
@@ -31203,7 +32678,7 @@ declare class PoToolbarComponent extends PoToolbarBaseComponent implements OnIni
|
|
|
31203
32678
|
* ícone de notificações.
|
|
31204
32679
|
*/
|
|
31205
32680
|
declare class PoToolbarNotificationComponent implements AfterViewInit {
|
|
31206
|
-
private cdr;
|
|
32681
|
+
private readonly cdr;
|
|
31207
32682
|
notificationRef: ElementRef;
|
|
31208
32683
|
notificationActions?: Array<PoToolbarAction>;
|
|
31209
32684
|
private _notificationNumber?;
|
|
@@ -31435,7 +32910,7 @@ declare class PoTreeViewBaseComponent {
|
|
|
31435
32910
|
* </example>
|
|
31436
32911
|
*/
|
|
31437
32912
|
declare class PoTreeViewComponent extends PoTreeViewBaseComponent implements OnInit, OnChanges {
|
|
31438
|
-
private treeViewService;
|
|
32913
|
+
private readonly treeViewService;
|
|
31439
32914
|
get hasItems(): boolean;
|
|
31440
32915
|
ngOnInit(): void;
|
|
31441
32916
|
ngOnChanges(changes?: SimpleChanges): void;
|
|
@@ -31445,7 +32920,7 @@ declare class PoTreeViewComponent extends PoTreeViewBaseComponent implements OnI
|
|
|
31445
32920
|
}
|
|
31446
32921
|
|
|
31447
32922
|
declare class PoTreeViewItemComponent {
|
|
31448
|
-
private treeViewService;
|
|
32923
|
+
private readonly treeViewService;
|
|
31449
32924
|
componentsSize: string;
|
|
31450
32925
|
item: PoTreeViewItem;
|
|
31451
32926
|
selectable: boolean;
|
|
@@ -31577,7 +33052,7 @@ declare abstract class PoDialogBaseService {
|
|
|
31577
33052
|
* </example>
|
|
31578
33053
|
*/
|
|
31579
33054
|
declare class PoDialogService extends PoDialogBaseService {
|
|
31580
|
-
private poComponentInjector;
|
|
33055
|
+
private readonly poComponentInjector;
|
|
31581
33056
|
constructor(poComponentInjector: PoComponentInjectorService);
|
|
31582
33057
|
openDialog(dialogType: PoDialogType, dialogOptions: PoDialogAlertOptions | PoDialogConfirmOptions): void;
|
|
31583
33058
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoDialogService, never>;
|
|
@@ -32023,9 +33498,9 @@ interface PoI18nLiterals {
|
|
|
32023
33498
|
* ```
|
|
32024
33499
|
*/
|
|
32025
33500
|
declare class PoI18nBaseService {
|
|
32026
|
-
private config?;
|
|
32027
|
-
private http?;
|
|
32028
|
-
private languageService?;
|
|
33501
|
+
private readonly config?;
|
|
33502
|
+
private readonly http?;
|
|
33503
|
+
private readonly languageService?;
|
|
32029
33504
|
private varI18n;
|
|
32030
33505
|
private contextDefault;
|
|
32031
33506
|
private useCache;
|
|
@@ -32450,7 +33925,7 @@ interface PoMediaQueryTokens {
|
|
|
32450
33925
|
*
|
|
32451
33926
|
*/
|
|
32452
33927
|
declare class PoMediaQueryService {
|
|
32453
|
-
private renderer;
|
|
33928
|
+
private readonly renderer;
|
|
32454
33929
|
constructor(rendererFactory: RendererFactory2);
|
|
32455
33930
|
/**
|
|
32456
33931
|
* Método que replica as regras baseando-se pelos tokens de media query dentro das folhas de estilo do documento, permitindo a modificação dinâmica
|
|
@@ -33031,8 +34506,6 @@ declare class PoWidgetBaseComponent {
|
|
|
33031
34506
|
*/
|
|
33032
34507
|
tagIcon: string | TemplateRef<void>;
|
|
33033
34508
|
/**
|
|
33034
|
-
* @Input p-tag-position
|
|
33035
|
-
*
|
|
33036
34509
|
* @optional
|
|
33037
34510
|
*
|
|
33038
34511
|
* @description
|
|
@@ -33070,8 +34543,6 @@ declare class PoWidgetBaseComponent {
|
|
|
33070
34543
|
set size(value: string);
|
|
33071
34544
|
get size(): string;
|
|
33072
34545
|
/**
|
|
33073
|
-
* @Input p-avatar
|
|
33074
|
-
*
|
|
33075
34546
|
* @optional
|
|
33076
34547
|
*
|
|
33077
34548
|
* @description
|
|
@@ -33425,9 +34896,6 @@ declare enum PoSkeletonVariant {
|
|
|
33425
34896
|
*/
|
|
33426
34897
|
declare class PoSkeletonBaseComponent {
|
|
33427
34898
|
/**
|
|
33428
|
-
*
|
|
33429
|
-
* @Input
|
|
33430
|
-
*
|
|
33431
34899
|
* @optional
|
|
33432
34900
|
*
|
|
33433
34901
|
* @description
|
|
@@ -33444,9 +34912,6 @@ declare class PoSkeletonBaseComponent {
|
|
|
33444
34912
|
*/
|
|
33445
34913
|
variant: i0.InputSignal<PoSkeletonVariant>;
|
|
33446
34914
|
/**
|
|
33447
|
-
*
|
|
33448
|
-
* @Input
|
|
33449
|
-
*
|
|
33450
34915
|
* @optional
|
|
33451
34916
|
*
|
|
33452
34917
|
* @description
|
|
@@ -33462,9 +34927,6 @@ declare class PoSkeletonBaseComponent {
|
|
|
33462
34927
|
*/
|
|
33463
34928
|
type: i0.InputSignal<PoSkeletonType>;
|
|
33464
34929
|
/**
|
|
33465
|
-
*
|
|
33466
|
-
* @Input
|
|
33467
|
-
*
|
|
33468
34930
|
* @optional
|
|
33469
34931
|
*
|
|
33470
34932
|
* @description
|
|
@@ -33480,9 +34942,6 @@ declare class PoSkeletonBaseComponent {
|
|
|
33480
34942
|
*/
|
|
33481
34943
|
animation: i0.InputSignal<PoSkeletonAnimation>;
|
|
33482
34944
|
/**
|
|
33483
|
-
*
|
|
33484
|
-
* @Input
|
|
33485
|
-
*
|
|
33486
34945
|
* @optional
|
|
33487
34946
|
*
|
|
33488
34947
|
* @description
|
|
@@ -33503,9 +34962,6 @@ declare class PoSkeletonBaseComponent {
|
|
|
33503
34962
|
*/
|
|
33504
34963
|
size: i0.InputSignal<PoSkeletonSize>;
|
|
33505
34964
|
/**
|
|
33506
|
-
*
|
|
33507
|
-
* @Input
|
|
33508
|
-
*
|
|
33509
34965
|
* @optional
|
|
33510
34966
|
*
|
|
33511
34967
|
* @description
|
|
@@ -33519,8 +34975,6 @@ declare class PoSkeletonBaseComponent {
|
|
|
33519
34975
|
*/
|
|
33520
34976
|
width: i0.InputSignal<string>;
|
|
33521
34977
|
/**
|
|
33522
|
-
* @Input
|
|
33523
|
-
*
|
|
33524
34978
|
* @optional
|
|
33525
34979
|
*
|
|
33526
34980
|
* @description
|
|
@@ -33532,9 +34986,6 @@ declare class PoSkeletonBaseComponent {
|
|
|
33532
34986
|
*/
|
|
33533
34987
|
height: i0.InputSignal<string>;
|
|
33534
34988
|
/**
|
|
33535
|
-
*
|
|
33536
|
-
* @Input
|
|
33537
|
-
*
|
|
33538
34989
|
* @optional
|
|
33539
34990
|
*
|
|
33540
34991
|
* @description
|
|
@@ -33546,9 +34997,6 @@ declare class PoSkeletonBaseComponent {
|
|
|
33546
34997
|
*/
|
|
33547
34998
|
borderRadius: i0.InputSignal<string>;
|
|
33548
34999
|
/**
|
|
33549
|
-
*
|
|
33550
|
-
* @Input
|
|
33551
|
-
*
|
|
33552
35000
|
* @optional
|
|
33553
35001
|
*
|
|
33554
35002
|
* @description
|
|
@@ -34006,6 +35454,22 @@ interface PoHeaderUser {
|
|
|
34006
35454
|
items?: Array<PoHeaderActionToolItem>;
|
|
34007
35455
|
}
|
|
34008
35456
|
|
|
35457
|
+
/**
|
|
35458
|
+
* @docsPrivate
|
|
35459
|
+
*
|
|
35460
|
+
* @description
|
|
35461
|
+
*
|
|
35462
|
+
* Define o tamanho padrão utilizado em componentes interativos. Este enum também é usado pelo serviço de tema para
|
|
35463
|
+
* definir a preferência global de tamanho dos componentes. Por padrão, os componentes utilizam o tamanho `medium` por
|
|
35464
|
+
* ser mais acessível (conforme diretrizes WCAG nível AAA).
|
|
35465
|
+
*
|
|
35466
|
+
* > O tamanho `small` está disponível apenas em contextos com acessibilidade AA.
|
|
35467
|
+
*/
|
|
35468
|
+
declare enum PoFieldSize {
|
|
35469
|
+
Small = "small",
|
|
35470
|
+
Medium = "medium"
|
|
35471
|
+
}
|
|
35472
|
+
|
|
34009
35473
|
/**
|
|
34010
35474
|
* @description
|
|
34011
35475
|
*
|
|
@@ -34078,24 +35542,27 @@ interface PoHeaderUser {
|
|
|
34078
35542
|
* | `--border-radius-bottom-left` | Valor do radius do lado esquerdo do header | `var(--border-radius-md)` |
|
|
34079
35543
|
* | `--border-radius-bottom-right` | Valor do radius do lado direito do header | `var(--border-radius-md)` |
|
|
34080
35544
|
* | `--base shadow` | Cor da sombra do header | `0 1px 8px rgba(0, 0, 0, 0.1)` |
|
|
35545
|
+
* | `--stroke-color` | Cor da borda inferior do header | `var(--color-brand-01-base)` |
|
|
34081
35546
|
* | **Sub-menu** | | |
|
|
34082
35547
|
* | `--border-radius` | Valor do radius dos itens do sub-menu | `var(--border-radius-md);` |
|
|
34083
35548
|
* | `--text-color-submenu` | Cor do texto dos itens do sub-menu | `var(--color-brand-01-base)` |
|
|
34084
35549
|
* | `--icon-color` | Cor do ícone do sub-menu com itens | `var(--color-brand-01-base)` |
|
|
34085
35550
|
* | `--border-color` | Cor da borda | `var(--color-transparent)` |
|
|
34086
35551
|
* | `--shadow` | Contém o valor da sombra do elemento | `var(--shadow-none)` |
|
|
35552
|
+
* | `--font-family-submenu` | Fonte do texto dos itens de sub-menu | `var(--font-family-theme)` |
|
|
35553
|
+
* | `--font-weight-submenu` | Peso da fonte do texto dos itens de sub-menu | `var(--font-weight-bold)` |
|
|
34087
35554
|
* | **Sub-menu - Hover** | | |
|
|
34088
35555
|
* | `--background-hover` | Cor de background dos itens do sub-menu no estado hover | `var(--color-brand-01-lighter)` |
|
|
34089
35556
|
* | `--icon-color-hover` | Cor do ícone dos itens de sub-menu no estado hover | `var(--color-brand-01-darkest)` |
|
|
34090
|
-
* | `--text-color-hover` | Cor do
|
|
35557
|
+
* | `--text-color-hover` | Cor do texto dos itens de sub-menu no estado hover | `var(--color-brand-01-darkest)` |
|
|
34091
35558
|
* | **Sub-menu - pressed** | | |
|
|
34092
35559
|
* | `--background-pressed` | Cor de background dos itens do sub-menu no estado pressed | `var(--color-brand-01-light)` |
|
|
34093
35560
|
* | `--icon-color-pressed` | Cor do ícone dos itens de sub-menu no estado pressed | `var(--color-brand-01-darkest)` |
|
|
34094
|
-
* | `--text-color-pressed` | Cor do
|
|
35561
|
+
* | `--text-color-pressed` | Cor do texto dos itens de sub-menu no estado pressed | `var(--color-brand-01-darkest)` |
|
|
34095
35562
|
* | **Sub-menu - selected** | | |
|
|
34096
35563
|
* | `--background-selected` | Cor de background dos itens do sub-menu no estado selected | `var(--color-brand-01-light)` |
|
|
34097
35564
|
* | `--icon-color-selected` | Cor do ícone dos itens de sub-menu no estado selected | `var(--color-neutral-dark-95)` |
|
|
34098
|
-
* | `--text-color-selected` | Cor do
|
|
35565
|
+
* | `--text-color-selected` | Cor do texto dos itens de sub-menu no estado selected | `var(--color-brand-01-darkest)` |
|
|
34099
35566
|
* | **Customer** | | |
|
|
34100
35567
|
* | `--background-color-customer` | Cor do background da seção customer | `var(--color-neutral-light-00)` |
|
|
34101
35568
|
* | `--border-color` | Cor da borda da seção customer | `var(--color-neutral-light-10)` |
|
|
@@ -34103,9 +35570,9 @@ interface PoHeaderUser {
|
|
|
34103
35570
|
* | `--border-width` | Largura da borda da seção customer | `var(--border-width-sm)` |
|
|
34104
35571
|
* | **Customer - hover** | | |
|
|
34105
35572
|
* | `--background-color-customer-hover` | Cor do background da seção customer no estado hover | `var(--color-brand-01-lighter)` |
|
|
34106
|
-
* | `--background-color-customer-hover` | Cor do background da seção customer no estado hover | `var(--color-brand-01-lighter)` |
|
|
34107
35573
|
* | **Customer - pressed** | | |
|
|
34108
35574
|
* | `--background-color-customer-pressed` | Cor do background da seção customer no estado pressed | `var(--color-brand-01-light)` |
|
|
35575
|
+
* | `--border-width-pressed` | Largura da borda da seção customer no estado pressed | `var(--border-width-md)` |
|
|
34109
35576
|
*
|
|
34110
35577
|
*/
|
|
34111
35578
|
declare abstract class PoHeaderBaseComponent {
|
|
@@ -34114,7 +35581,8 @@ declare abstract class PoHeaderBaseComponent {
|
|
|
34114
35581
|
menuCollapseJoinExternal: any[];
|
|
34115
35582
|
private _brand;
|
|
34116
35583
|
private _literals;
|
|
34117
|
-
private language;
|
|
35584
|
+
private readonly language;
|
|
35585
|
+
private readonly themeChangeSignal;
|
|
34118
35586
|
/**
|
|
34119
35587
|
* @optional
|
|
34120
35588
|
*
|
|
@@ -34241,6 +35709,25 @@ declare abstract class PoHeaderBaseComponent {
|
|
|
34241
35709
|
*/
|
|
34242
35710
|
set literals(value: PoHeaderLiterals);
|
|
34243
35711
|
get literals(): PoHeaderLiterals;
|
|
35712
|
+
/**
|
|
35713
|
+
* @optional
|
|
35714
|
+
*
|
|
35715
|
+
* @Input
|
|
35716
|
+
*
|
|
35717
|
+
* @description
|
|
35718
|
+
*
|
|
35719
|
+
* Define o tamanho do componente:
|
|
35720
|
+
* - `small`: altura de 44px (disponível apenas para acessibilidade AA).
|
|
35721
|
+
* - `medium`: altura de 56px.
|
|
35722
|
+
*
|
|
35723
|
+
* > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
|
|
35724
|
+
* Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
|
|
35725
|
+
*
|
|
35726
|
+
* @default `medium`
|
|
35727
|
+
*/
|
|
35728
|
+
sizeInput: i0.InputSignal<string>;
|
|
35729
|
+
size: i0.Signal<string>;
|
|
35730
|
+
get hostSize(): PoFieldSize;
|
|
34244
35731
|
/**
|
|
34245
35732
|
* @optional
|
|
34246
35733
|
*
|
|
@@ -34253,14 +35740,16 @@ declare abstract class PoHeaderBaseComponent {
|
|
|
34253
35740
|
constructor(languageService: PoLanguageService);
|
|
34254
35741
|
get menuItems(): Array<PoHeaderActions>;
|
|
34255
35742
|
private generateRandomId;
|
|
35743
|
+
protected onThemeChange(): void;
|
|
35744
|
+
abstract updateMenu(): void;
|
|
34256
35745
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoHeaderBaseComponent, never>;
|
|
34257
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoHeaderBaseComponent, never, never, { "amountMore": { "alias": "p-amount-more"; "required": false; }; "hideButtonMenu": { "alias": "p-hide-button-menu"; "required": false; }; "filterMenu": { "alias": "p-filter-menu"; "required": false; }; "sideMenuOnlyAction": { "alias": "p-side-menu-only-action"; "required": false; }; "forceActionTools": { "alias": "p-force-actions-tools"; "required": false; }; "notChangeContext": { "alias": "p-not-change-context"; "required": false; }; "brand": { "alias": "p-brand"; "required": false; }; "actionsTools": { "alias": "p-actions-tools"; "required": false; }; "headerUser": { "alias": "p-header-user"; "required": false; }; "menuItems": { "alias": "p-menu-items"; "required": false; }; "menuCollapse": { "alias": "p-menus"; "required": false; }; "headerTemplate": { "alias": "p-header-template"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; }, { "colapsedMenuEvent": "p-colapsed-menu"; }, never, never, true, never>;
|
|
35746
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoHeaderBaseComponent, never, never, { "amountMore": { "alias": "p-amount-more"; "required": false; }; "hideButtonMenu": { "alias": "p-hide-button-menu"; "required": false; }; "filterMenu": { "alias": "p-filter-menu"; "required": false; }; "sideMenuOnlyAction": { "alias": "p-side-menu-only-action"; "required": false; }; "forceActionTools": { "alias": "p-force-actions-tools"; "required": false; }; "notChangeContext": { "alias": "p-not-change-context"; "required": false; }; "brand": { "alias": "p-brand"; "required": false; }; "actionsTools": { "alias": "p-actions-tools"; "required": false; }; "headerUser": { "alias": "p-header-user"; "required": false; }; "menuItems": { "alias": "p-menu-items"; "required": false; }; "menuCollapse": { "alias": "p-menus"; "required": false; }; "headerTemplate": { "alias": "p-header-template"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "sizeInput": { "alias": "p-size"; "required": false; "isSignal": true; }; }, { "colapsedMenuEvent": "p-colapsed-menu"; }, never, never, true, never>;
|
|
34258
35747
|
static ngAcceptInputType_filterMenu: any;
|
|
34259
35748
|
}
|
|
34260
35749
|
|
|
34261
35750
|
declare class PoHeaderMenuItemComponent implements OnChanges, OnInit, OnDestroy {
|
|
34262
|
-
private cd;
|
|
34263
|
-
private router;
|
|
35751
|
+
private readonly cd;
|
|
35752
|
+
private readonly router;
|
|
34264
35753
|
buttonMoreRef: any;
|
|
34265
35754
|
lastItemSelected: PoHeaderActions;
|
|
34266
35755
|
selectedItem: boolean;
|
|
@@ -34272,6 +35761,7 @@ declare class PoHeaderMenuItemComponent implements OnChanges, OnInit, OnDestroy
|
|
|
34272
35761
|
item: PoHeaderActions;
|
|
34273
35762
|
itemOverFlow: Array<PoHeaderActions>;
|
|
34274
35763
|
overflowButton: boolean;
|
|
35764
|
+
size: i0.InputSignal<string>;
|
|
34275
35765
|
itemClick: EventEmitter<any>;
|
|
34276
35766
|
constructor(cd: ChangeDetectorRef, router: Router, languageService: PoLanguageService);
|
|
34277
35767
|
ngOnInit(): void;
|
|
@@ -34286,7 +35776,7 @@ declare class PoHeaderMenuItemComponent implements OnChanges, OnInit, OnDestroy
|
|
|
34286
35776
|
private checkRouterChildrenFragments;
|
|
34287
35777
|
private subscribeToRoute;
|
|
34288
35778
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoHeaderMenuItemComponent, never>;
|
|
34289
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PoHeaderMenuItemComponent, "po-header-menu-item", never, { "item": { "alias": "p-item"; "required": false; }; "itemOverFlow": { "alias": "p-item-overflow"; "required": false; }; "overflowButton": { "alias": "p-button-overflow"; "required": false; }; }, { "itemClick": "p-item-click"; }, never, never, false, never>;
|
|
35779
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoHeaderMenuItemComponent, "po-header-menu-item", never, { "item": { "alias": "p-item"; "required": false; }; "itemOverFlow": { "alias": "p-item-overflow"; "required": false; }; "overflowButton": { "alias": "p-button-overflow"; "required": false; }; "size": { "alias": "p-size"; "required": false; "isSignal": true; }; }, { "itemClick": "p-item-click"; }, never, never, false, never>;
|
|
34290
35780
|
}
|
|
34291
35781
|
|
|
34292
35782
|
/**
|
|
@@ -34311,9 +35801,9 @@ declare class PoHeaderMenuItemComponent implements OnChanges, OnInit, OnDestroy
|
|
|
34311
35801
|
*
|
|
34312
35802
|
*/
|
|
34313
35803
|
declare class PoHeaderComponent extends PoHeaderBaseComponent implements AfterViewInit, OnChanges, OnInit, OnDestroy {
|
|
34314
|
-
private cd;
|
|
34315
|
-
private elRef;
|
|
34316
|
-
private menuGlobalService;
|
|
35804
|
+
private readonly cd;
|
|
35805
|
+
private readonly elRef;
|
|
35806
|
+
private readonly menuGlobalService;
|
|
34317
35807
|
afterViewInitWascalled: boolean;
|
|
34318
35808
|
showMenu: boolean;
|
|
34319
35809
|
visibleMenuItems: Array<any>;
|
|
@@ -34330,7 +35820,7 @@ declare class PoHeaderComponent extends PoHeaderBaseComponent implements AfterVi
|
|
|
34330
35820
|
menuExternal: any[];
|
|
34331
35821
|
existMenuExternal: boolean;
|
|
34332
35822
|
applicationMenu: PoMenuComponent;
|
|
34333
|
-
private id;
|
|
35823
|
+
private readonly id;
|
|
34334
35824
|
private currentWidth;
|
|
34335
35825
|
private previousMenusItems;
|
|
34336
35826
|
buttonFirstAction: ElementRef;
|
|
@@ -34366,8 +35856,8 @@ declare class PoHeaderComponent extends PoHeaderBaseComponent implements AfterVi
|
|
|
34366
35856
|
}
|
|
34367
35857
|
|
|
34368
35858
|
declare class PoHeaderbrandComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
34369
|
-
private cd;
|
|
34370
|
-
private router;
|
|
35859
|
+
private readonly cd;
|
|
35860
|
+
private readonly router;
|
|
34371
35861
|
private resizeSub;
|
|
34372
35862
|
showTitleTooltip: boolean;
|
|
34373
35863
|
smallLogo: boolean;
|
|
@@ -34378,6 +35868,7 @@ declare class PoHeaderbrandComponent implements AfterViewInit, OnChanges, OnDest
|
|
|
34378
35868
|
hideButtonMenu?: boolean;
|
|
34379
35869
|
menuCollapse: Array<PoMenuItem>;
|
|
34380
35870
|
externalMenu: boolean;
|
|
35871
|
+
size: i0.InputSignal<string>;
|
|
34381
35872
|
constructor(cd: ChangeDetectorRef, router: Router);
|
|
34382
35873
|
ngAfterViewInit(): void;
|
|
34383
35874
|
ngOnDestroy(): void;
|
|
@@ -34385,12 +35876,12 @@ declare class PoHeaderbrandComponent implements AfterViewInit, OnChanges, OnDest
|
|
|
34385
35876
|
onClickLogo(): void;
|
|
34386
35877
|
get showTooltip(): boolean;
|
|
34387
35878
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoHeaderbrandComponent, never>;
|
|
34388
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PoHeaderbrandComponent, "po-header-brand", never, { "brand": { "alias": "p-brand"; "required": false; }; "hideButtonMenu": { "alias": "p-hide-button-menu"; "required": false; }; "menuCollapse": { "alias": "p-menus"; "required": false; }; "externalMenu": { "alias": "p-external"; "required": false; }; }, { "clickMenu": "p-click-menu"; }, never, never, false, never>;
|
|
35879
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoHeaderbrandComponent, "po-header-brand", never, { "brand": { "alias": "p-brand"; "required": false; }; "hideButtonMenu": { "alias": "p-hide-button-menu"; "required": false; }; "menuCollapse": { "alias": "p-menus"; "required": false; }; "externalMenu": { "alias": "p-external"; "required": false; }; "size": { "alias": "p-size"; "required": false; "isSignal": true; }; }, { "clickMenu": "p-click-menu"; }, never, never, false, never>;
|
|
34389
35880
|
}
|
|
34390
35881
|
|
|
34391
35882
|
declare class PoHeaderToolsComponent {
|
|
34392
|
-
private router;
|
|
34393
|
-
private cd;
|
|
35883
|
+
private readonly router;
|
|
35884
|
+
private readonly cd;
|
|
34394
35885
|
_actionTools: Array<PoHeaderActionTool>;
|
|
34395
35886
|
buttonActionElements: QueryList<ElementRef>;
|
|
34396
35887
|
buttonActionComponents: QueryList<PoButtonComponent>;
|
|
@@ -34399,6 +35890,7 @@ declare class PoHeaderToolsComponent {
|
|
|
34399
35890
|
forceActionTools?: boolean;
|
|
34400
35891
|
set actionTools(value: Array<PoHeaderActionTool>);
|
|
34401
35892
|
literals: PoHeaderLiterals;
|
|
35893
|
+
size: i0.InputSignal<string>;
|
|
34402
35894
|
get actionTools(): Array<PoHeaderActionTool>;
|
|
34403
35895
|
get popoverIndexes(): Array<number>;
|
|
34404
35896
|
headerTemplate: TemplateRef<any>;
|
|
@@ -34409,7 +35901,7 @@ declare class PoHeaderToolsComponent {
|
|
|
34409
35901
|
getAriaLabel(action: PoHeaderActionTool): string;
|
|
34410
35902
|
private checkLink;
|
|
34411
35903
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoHeaderToolsComponent, never>;
|
|
34412
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PoHeaderToolsComponent, "po-header-tools", never, { "forceActionTools": { "alias": "p-force-actions-tools"; "required": false; }; "actionTools": { "alias": "p-actions-tools"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "headerTemplate": { "alias": "p-header-template"; "required": false; }; }, {}, never, never, false, never>;
|
|
35904
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoHeaderToolsComponent, "po-header-tools", never, { "forceActionTools": { "alias": "p-force-actions-tools"; "required": false; }; "actionTools": { "alias": "p-actions-tools"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "size": { "alias": "p-size"; "required": false; "isSignal": true; }; "headerTemplate": { "alias": "p-header-template"; "required": false; }; }, {}, never, never, false, never>;
|
|
34413
35905
|
}
|
|
34414
35906
|
|
|
34415
35907
|
declare class PoHeaderCustomerComponent {
|
|
@@ -34417,13 +35909,14 @@ declare class PoHeaderCustomerComponent {
|
|
|
34417
35909
|
poPopupAction: PoPopupComponent;
|
|
34418
35910
|
poPopoverAction: PoPopoverComponent;
|
|
34419
35911
|
headerUser: PoHeaderUser;
|
|
35912
|
+
size: i0.InputSignal<string>;
|
|
34420
35913
|
constructor(languageService: PoLanguageService);
|
|
34421
35914
|
onClickPopup(): void;
|
|
34422
35915
|
onClickUserSection(): void;
|
|
34423
35916
|
onClickClosePopover(): void;
|
|
34424
35917
|
onKeyDownCustomer(event: any): void;
|
|
34425
35918
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoHeaderCustomerComponent, never>;
|
|
34426
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PoHeaderCustomerComponent, "po-header-customer", never, { "headerUser": { "alias": "p-header-user"; "required": false; }; }, {}, never, never, false, never>;
|
|
35919
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoHeaderCustomerComponent, "po-header-customer", never, { "headerUser": { "alias": "p-header-user"; "required": false; }; "size": { "alias": "p-size"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
34427
35920
|
}
|
|
34428
35921
|
|
|
34429
35922
|
/**
|
|
@@ -34439,7 +35932,7 @@ declare class PoHeaderModule {
|
|
|
34439
35932
|
|
|
34440
35933
|
declare class PoComponentsModule {
|
|
34441
35934
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoComponentsModule, never>;
|
|
34442
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PoComponentsModule, never, [typeof PoAccordionModule, typeof PoAvatarModule, typeof PoBreadcrumbModule, typeof PoButtonModule, typeof PoButtonGroupModule, typeof PoCalendarModule, typeof PoChartModule, typeof PoContainerModule, 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 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]>;
|
|
34443
35936
|
static ɵinj: i0.ɵɵInjectorDeclaration<PoComponentsModule>;
|
|
34444
35937
|
}
|
|
34445
35938
|
|
|
@@ -34481,13 +35974,13 @@ interface PoHttpInterceptorDetail {
|
|
|
34481
35974
|
* Componente para a modal de detalhes exibida pelo interceptor
|
|
34482
35975
|
*/
|
|
34483
35976
|
declare class PoHttpInterceptorDetailComponent implements OnInit {
|
|
34484
|
-
private languageService;
|
|
35977
|
+
private readonly languageService;
|
|
34485
35978
|
modal: PoModalComponent;
|
|
34486
35979
|
closed: EventEmitter<any>;
|
|
34487
35980
|
details: Array<PoHttpInterceptorDetail>;
|
|
34488
35981
|
title: string;
|
|
34489
|
-
private language;
|
|
34490
|
-
private literals;
|
|
35982
|
+
private readonly language;
|
|
35983
|
+
private readonly literals;
|
|
34491
35984
|
primaryAction: PoModalAction;
|
|
34492
35985
|
constructor(languageService: PoLanguageService);
|
|
34493
35986
|
ngOnInit(): void;
|
|
@@ -34535,6 +36028,8 @@ declare class PoModule {
|
|
|
34535
36028
|
static ɵinj: i0.ɵɵInjectorDeclaration<PoModule>;
|
|
34536
36029
|
}
|
|
34537
36030
|
|
|
36031
|
+
declare const PO_CALENDAR_DEFAULT_RANGE_PRESETS: Array<PoCalendarRangePreset>;
|
|
36032
|
+
|
|
34538
36033
|
/**
|
|
34539
36034
|
* @usedBy PoDividerComponent
|
|
34540
36035
|
*
|
|
@@ -34838,9 +36333,9 @@ declare function InputRequired(): (target: any, property: string) => void;
|
|
|
34838
36333
|
*
|
|
34839
36334
|
*/
|
|
34840
36335
|
declare abstract class PoHttpInterceptorBaseService implements HttpInterceptor {
|
|
34841
|
-
private componentInjector;
|
|
34842
|
-
private notification;
|
|
34843
|
-
private languageService;
|
|
36336
|
+
private readonly componentInjector;
|
|
36337
|
+
private readonly notification;
|
|
36338
|
+
private readonly languageService;
|
|
34844
36339
|
notificationTypes: string[];
|
|
34845
36340
|
literals: any;
|
|
34846
36341
|
private httpInterceptorDetailComponent;
|
|
@@ -35030,8 +36525,8 @@ declare class PoHttpRequesControltService {
|
|
|
35030
36525
|
* </example>
|
|
35031
36526
|
*/
|
|
35032
36527
|
declare class PoHttpRequestInterceptorService implements HttpInterceptor {
|
|
35033
|
-
private controlHttpRequest;
|
|
35034
|
-
private poComponentInjector;
|
|
36528
|
+
private readonly controlHttpRequest;
|
|
36529
|
+
private readonly poComponentInjector;
|
|
35035
36530
|
private loadingOverlayComponent;
|
|
35036
36531
|
private pendingRequests;
|
|
35037
36532
|
private overlayRequests;
|
|
@@ -35047,5 +36542,5 @@ declare class PoHttpRequestInterceptorService implements HttpInterceptor {
|
|
|
35047
36542
|
static ɵprov: i0.ɵɵInjectableDeclaration<PoHttpRequestInterceptorService>;
|
|
35048
36543
|
}
|
|
35049
36544
|
|
|
35050
|
-
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, 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 };
|
|
35051
|
-
export type { ErrorAsyncProperties, PoAccordionLiterals, PoBreadcrumb, PoBreadcrumbItem, PoButtonGroupItem, PoChartAxisOptions, PoChartDataLabel, PoChartHeaderOptions, PoChartLiterals, PoChartOptions, PoChartSerie, PoCheckboxGroupOption, PoComboFilter, PoComboLiterals, PoComboOption, PoComboOptionGroup, 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 };
|