@po-ui/ng-components 21.6.0 → 21.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/po-ui-ng-components.mjs +729 -191
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/index.d.ts +1 -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 +0 -8
- package/lib/components/po-button-group/po-button-group-base.component.d.ts +0 -2
- package/lib/components/po-calendar/po-calendar-base.component.d.ts +2 -2
- package/lib/components/po-calendar/po-calendar-wrapper/po-calendar-wrapper.component.d.ts +3 -3
- package/lib/components/po-calendar/po-calendar.component.d.ts +1 -1
- package/lib/components/po-calendar/services/po-calendar.lang.service.d.ts +7 -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/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/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 +2 -8
- package/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.d.ts +6 -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 +27 -9
- package/lib/components/po-field/po-rich-text/po-rich-text-body/po-rich-text-body.component.d.ts +17 -4
- 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 +2 -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 +14 -6
- package/lib/components/po-field/po-textarea/po-textarea.component.d.ts +12 -3
- package/lib/components/po-field/po-upload/po-upload-base.component.d.ts +15 -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 +6 -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/interfaces/po-header-action-tool.interface.d.ts +10 -2
- 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 +2 -2
- package/lib/components/po-popover/po-popover.component.d.ts +6 -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-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-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 +3 -3
- 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.8.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 +634 -413
- package/po-ui-ng-components-21.6.0.tgz +0 -0
|
@@ -8,7 +8,7 @@ import { PoListBoxLiterals } from '../interfaces/po-listbox-literals.interface';
|
|
|
8
8
|
* Componente de pesquisa que será criado dentro do search do `po-listbox`.
|
|
9
9
|
*/
|
|
10
10
|
export declare class PoSearchListComponent {
|
|
11
|
-
private cd;
|
|
11
|
+
private readonly cd;
|
|
12
12
|
inputElement: ElementRef;
|
|
13
13
|
/** Propriedade que recebe as literais definidas no `po-listbox`. */
|
|
14
14
|
literals?: PoListBoxLiterals;
|
|
@@ -94,7 +94,7 @@ export declare abstract class PoMenuBaseComponent {
|
|
|
94
94
|
private _filter;
|
|
95
95
|
private _searchTreeItems;
|
|
96
96
|
private _level;
|
|
97
|
-
private _maxLevel;
|
|
97
|
+
private readonly _maxLevel;
|
|
98
98
|
private _menus;
|
|
99
99
|
private _params;
|
|
100
100
|
private _service;
|
|
@@ -110,6 +110,18 @@ export declare abstract class PoMenuBaseComponent {
|
|
|
110
110
|
* @default `false`
|
|
111
111
|
*/
|
|
112
112
|
automaticToggle: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* @optional
|
|
115
|
+
*
|
|
116
|
+
* @description
|
|
117
|
+
*
|
|
118
|
+
* Evento emitido toda vez que o estado do menu muda, enviando `true` quando expandido e `false` quando colapsado.
|
|
119
|
+
*
|
|
120
|
+
* ```html
|
|
121
|
+
* <po-menu (p-toggle)="onMenuToggle($event)"></po-menu>
|
|
122
|
+
* ```
|
|
123
|
+
*/
|
|
124
|
+
toggleChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
113
125
|
/**
|
|
114
126
|
* @optional
|
|
115
127
|
*
|
|
@@ -8,7 +8,7 @@ import { PoMenuItem } from '../po-menu-item.interface';
|
|
|
8
8
|
* Componente que implementa cada item do po-menu.
|
|
9
9
|
*/
|
|
10
10
|
export declare class PoMenuItemComponent implements OnDestroy, OnInit {
|
|
11
|
-
private menuItemsService;
|
|
11
|
+
private readonly menuItemsService;
|
|
12
12
|
action: Function;
|
|
13
13
|
badgeAlert: boolean;
|
|
14
14
|
badgeColor: string;
|
|
@@ -86,10 +86,10 @@ import { PoMenuItem } from './po-menu-item.interface';
|
|
|
86
86
|
*/
|
|
87
87
|
export declare class PoMenuComponent extends PoMenuBaseComponent implements AfterViewInit, OnDestroy, OnInit, DoCheck, OnChanges {
|
|
88
88
|
changeDetector: ChangeDetectorRef;
|
|
89
|
-
private element;
|
|
90
|
-
private renderer;
|
|
91
|
-
private router;
|
|
92
|
-
private menuItemsService;
|
|
89
|
+
private readonly element;
|
|
90
|
+
private readonly renderer;
|
|
91
|
+
private readonly router;
|
|
92
|
+
private readonly menuItemsService;
|
|
93
93
|
menuHeaderTemplate: PoMenuHeaderTemplateDirective;
|
|
94
94
|
activeMenuItem: PoMenuItem;
|
|
95
95
|
collapsedMobile: boolean;
|
|
@@ -174,4 +174,5 @@ export declare class PoMenuComponent extends PoMenuBaseComponent implements Afte
|
|
|
174
174
|
private toggleResize;
|
|
175
175
|
private validateToggleMenu;
|
|
176
176
|
private updateMenu;
|
|
177
|
+
private setCollapsed;
|
|
177
178
|
}
|
|
@@ -2,11 +2,11 @@ import { Observable } from 'rxjs';
|
|
|
2
2
|
import { PoMenuComponent } from '../po-menu.component';
|
|
3
3
|
import { PoMenuItem } from '../po-menu-item.interface';
|
|
4
4
|
export declare class PoMenuGlobalService {
|
|
5
|
-
private applicationMenu;
|
|
6
|
-
private menus;
|
|
7
|
-
private removedApplicationMenu;
|
|
8
|
-
private menuId;
|
|
9
|
-
private menuChanges;
|
|
5
|
+
private readonly applicationMenu;
|
|
6
|
+
private readonly menus;
|
|
7
|
+
private readonly removedApplicationMenu;
|
|
8
|
+
private readonly menuId;
|
|
9
|
+
private readonly menuChanges;
|
|
10
10
|
receiveApplicationMenu$: Observable<PoMenuComponent>;
|
|
11
11
|
receiveMenus$: Observable<PoMenuItem[]>;
|
|
12
12
|
receiveId$: Observable<string>;
|
|
@@ -7,8 +7,8 @@ import { Observable } from 'rxjs';
|
|
|
7
7
|
* Serviço que implementa a comunicação entre os items do po-menu.
|
|
8
8
|
*/
|
|
9
9
|
export declare class PoMenuItemsService {
|
|
10
|
-
private subjectParent;
|
|
11
|
-
private subjectChild;
|
|
10
|
+
private readonly subjectParent;
|
|
11
|
+
private readonly subjectChild;
|
|
12
12
|
sendToParentMenuClicked(menu: object): void;
|
|
13
13
|
receiveFromChildMenuClicked(): Observable<any>;
|
|
14
14
|
sendToChildMenuClicked(menu: object): void;
|
|
@@ -10,7 +10,7 @@ import { PoMenuFilter } from '../po-menu-filter/po-menu-filter.interface';
|
|
|
10
10
|
* caso for uma URL, no componente `po-menu`.
|
|
11
11
|
*/
|
|
12
12
|
export declare class PoMenuService implements PoMenuFilter {
|
|
13
|
-
private http;
|
|
13
|
+
private readonly http;
|
|
14
14
|
private _url;
|
|
15
15
|
get url(): string;
|
|
16
16
|
configProperties(url: string): void;
|
|
@@ -9,7 +9,7 @@ import { PoMenuPanelItemInternal } from './po-menu-panel-item-internal.interface
|
|
|
9
9
|
* Componente que implementa cada item do po-menu-panel.
|
|
10
10
|
*/
|
|
11
11
|
export declare class PoMenuPanelItemComponent implements OnDestroy, OnInit {
|
|
12
|
-
private menuItemsService;
|
|
12
|
+
private readonly menuItemsService;
|
|
13
13
|
menuItemInternal: PoMenuPanelItemInternal;
|
|
14
14
|
itemsSubscription: Subscription;
|
|
15
15
|
ngOnDestroy(): void;
|
|
@@ -69,9 +69,9 @@ import { PoMenuPanelItem } from './po-menu-panel-item/po-menu-panel-item.interfa
|
|
|
69
69
|
* </example>
|
|
70
70
|
*/
|
|
71
71
|
export declare class PoMenuPanelComponent extends PoMenuPanelBaseComponent implements OnDestroy, OnInit {
|
|
72
|
-
private location;
|
|
73
|
-
private menuItemsService;
|
|
74
|
-
private router;
|
|
72
|
+
private readonly location;
|
|
73
|
+
private readonly menuItemsService;
|
|
74
|
+
private readonly router;
|
|
75
75
|
activeMenuItem: PoMenuPanelItem;
|
|
76
76
|
linkActive: string;
|
|
77
77
|
private routeSubscription;
|
|
@@ -7,8 +7,8 @@ import { Observable } from 'rxjs';
|
|
|
7
7
|
* Serviço que implementa a comunicação entre os items do po-menu-panel.
|
|
8
8
|
*/
|
|
9
9
|
export declare class PoMenuPanelItemsService {
|
|
10
|
-
private subjectChild;
|
|
11
|
-
private subjectParent;
|
|
10
|
+
private readonly subjectChild;
|
|
11
|
+
private readonly subjectParent;
|
|
12
12
|
receiveFromChildMenuClicked(): Observable<any>;
|
|
13
13
|
receiveFromParentMenuClicked(): Observable<any>;
|
|
14
14
|
sendToParentMenuClicked(menu: object): void;
|
|
@@ -22,14 +22,14 @@ import { PoModalFooterComponent } from './po-modal-footer/po-modal-footer.compon
|
|
|
22
22
|
* </example>
|
|
23
23
|
*/
|
|
24
24
|
export declare class PoModalComponent extends PoModalBaseComponent {
|
|
25
|
-
private poActiveOverlayService;
|
|
25
|
+
private readonly poActiveOverlayService;
|
|
26
26
|
modalContent: ElementRef;
|
|
27
27
|
modalContainer: ElementRef;
|
|
28
28
|
modalFooter: PoModalFooterComponent;
|
|
29
29
|
private firstElement;
|
|
30
30
|
private focusFunction;
|
|
31
|
-
private focusableElements;
|
|
32
|
-
private id;
|
|
31
|
+
private readonly focusableElements;
|
|
32
|
+
private readonly id;
|
|
33
33
|
private sourceElement;
|
|
34
34
|
constructor();
|
|
35
35
|
close(xClosed?: boolean): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ElementRef, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
2
2
|
import { PoNavbarItem } from '../interfaces/po-navbar-item.interface';
|
|
3
3
|
export declare class PoNavbarItemsComponent implements OnInit, OnDestroy {
|
|
4
|
-
private router;
|
|
4
|
+
private readonly router;
|
|
5
5
|
navbarItemsContainer: ElementRef;
|
|
6
6
|
allNavbarItems: QueryList<any>;
|
|
7
7
|
items: Array<PoNavbarItem>;
|
|
@@ -8,10 +8,10 @@ import { PoNavbarItemsComponent } from './po-navbar-items/po-navbar-items.compon
|
|
|
8
8
|
* @docsExtends PoNavbarBaseComponent
|
|
9
9
|
*/
|
|
10
10
|
export declare class PoNavbarComponent extends PoNavbarBaseComponent implements AfterViewInit, OnDestroy, OnInit {
|
|
11
|
-
private renderer;
|
|
12
|
-
private builder;
|
|
13
|
-
private changeDetector;
|
|
14
|
-
private menuGlobalService;
|
|
11
|
+
private readonly renderer;
|
|
12
|
+
private readonly builder;
|
|
13
|
+
private readonly changeDetector;
|
|
14
|
+
private readonly menuGlobalService;
|
|
15
15
|
navbarItemsElement: ElementRef;
|
|
16
16
|
navbarItems: PoNavbarItemsComponent;
|
|
17
17
|
disableRight: boolean;
|
|
@@ -19,11 +19,11 @@ export declare class PoNavbarComponent extends PoNavbarBaseComponent implements
|
|
|
19
19
|
protected windowResizeListener: () => void;
|
|
20
20
|
private _menuComponent;
|
|
21
21
|
private isNavbarUpdateMenu;
|
|
22
|
-
private id;
|
|
22
|
+
private readonly id;
|
|
23
23
|
private mediaQuery;
|
|
24
24
|
private offset;
|
|
25
25
|
private player;
|
|
26
|
-
private menuItems;
|
|
26
|
+
private readonly menuItems;
|
|
27
27
|
private previousMenuComponentId;
|
|
28
28
|
private previousMenusItems;
|
|
29
29
|
private applicationMenuSubscription;
|
|
@@ -50,7 +50,7 @@ export declare class PoNavbarComponent extends PoNavbarBaseComponent implements
|
|
|
50
50
|
private navbarItemsWidth;
|
|
51
51
|
private navigateLeft;
|
|
52
52
|
private navigateRight;
|
|
53
|
-
private onMediaQueryChange;
|
|
53
|
+
private readonly onMediaQueryChange;
|
|
54
54
|
private setOffsetToZero;
|
|
55
55
|
private validateMaxOffset;
|
|
56
56
|
}
|
|
@@ -23,12 +23,12 @@ import { PoPageDefaultBaseComponent } from './po-page-default-base.component';
|
|
|
23
23
|
* </example>
|
|
24
24
|
*/
|
|
25
25
|
export declare class PoPageDefaultComponent extends PoPageDefaultBaseComponent implements AfterContentInit, OnChanges {
|
|
26
|
-
private renderer;
|
|
27
|
-
private router;
|
|
26
|
+
private readonly renderer;
|
|
27
|
+
private readonly router;
|
|
28
28
|
limitPrimaryActions: number;
|
|
29
29
|
dropdownActions: Array<PoPageAction>;
|
|
30
30
|
isMobile: boolean;
|
|
31
|
-
private maxWidthMobile;
|
|
31
|
+
private readonly maxWidthMobile;
|
|
32
32
|
constructor();
|
|
33
33
|
ngAfterContentInit(): void;
|
|
34
34
|
ngOnChanges(changes: {
|
|
@@ -27,8 +27,8 @@ import { PoPageListBaseComponent } from './po-page-list-base.component';
|
|
|
27
27
|
*/
|
|
28
28
|
export declare class PoPageListComponent extends PoPageListBaseComponent implements AfterContentInit, OnChanges, OnDestroy, OnInit {
|
|
29
29
|
renderer: Renderer2;
|
|
30
|
-
private router;
|
|
31
|
-
private changeDetector;
|
|
30
|
+
private readonly router;
|
|
31
|
+
private readonly changeDetector;
|
|
32
32
|
filterInput: ElementRef;
|
|
33
33
|
advancedSearch: string;
|
|
34
34
|
dropdownActions: Array<PoPageAction>;
|
|
@@ -36,7 +36,7 @@ export declare class PoPageListComponent extends PoPageListBaseComponent impleme
|
|
|
36
36
|
limitPrimaryActions: number;
|
|
37
37
|
callFunction: typeof callFunction;
|
|
38
38
|
private isRecalculate;
|
|
39
|
-
private maxWidthMobile;
|
|
39
|
+
private readonly maxWidthMobile;
|
|
40
40
|
constructor();
|
|
41
41
|
ngOnInit(): void;
|
|
42
42
|
ngAfterContentInit(): void;
|
|
@@ -29,12 +29,12 @@ export declare const poPageSlideLiteralsDefault: {
|
|
|
29
29
|
* </example>
|
|
30
30
|
*/
|
|
31
31
|
export declare class PoPageSlideComponent extends PoPageSlideBaseComponent {
|
|
32
|
-
private poActiveOverlayService;
|
|
33
|
-
private languageService;
|
|
32
|
+
private readonly poActiveOverlayService;
|
|
33
|
+
private readonly languageService;
|
|
34
34
|
private _pageContent;
|
|
35
35
|
private firstElement;
|
|
36
|
-
private id;
|
|
37
|
-
private loadingCompleted;
|
|
36
|
+
private readonly id;
|
|
37
|
+
private readonly loadingCompleted;
|
|
38
38
|
private sourceElement;
|
|
39
39
|
buttonAriaLabel: string;
|
|
40
40
|
duration: string;
|
|
@@ -31,6 +31,7 @@ export declare class PoPopoverBaseComponent {
|
|
|
31
31
|
* @default `false`
|
|
32
32
|
*/
|
|
33
33
|
appendBox: boolean;
|
|
34
|
+
cornerAligned: boolean;
|
|
34
35
|
/**
|
|
35
36
|
* @description
|
|
36
37
|
*
|
|
@@ -77,6 +78,7 @@ export declare class PoPopoverBaseComponent {
|
|
|
77
78
|
target: ElementRef | HTMLElement;
|
|
78
79
|
/** Título do popover. */
|
|
79
80
|
title?: string;
|
|
81
|
+
width?: number;
|
|
80
82
|
/** Evento disparado ao fechar o popover. */
|
|
81
83
|
closePopover: EventEmitter<any>;
|
|
82
84
|
/** Evento disparado ao abrir o popover. */
|
|
@@ -144,8 +146,6 @@ export declare class PoPopoverBaseComponent {
|
|
|
144
146
|
set trigger(value: string);
|
|
145
147
|
get trigger(): string;
|
|
146
148
|
/**
|
|
147
|
-
* @Input
|
|
148
|
-
*
|
|
149
149
|
* @optional
|
|
150
150
|
*
|
|
151
151
|
* @description
|
|
@@ -23,7 +23,7 @@ import { PoPopoverBaseComponent } from './po-popover-base.component';
|
|
|
23
23
|
* </example>
|
|
24
24
|
*/
|
|
25
25
|
export declare class PoPopoverComponent extends PoPopoverBaseComponent implements AfterViewInit, OnDestroy, OnChanges {
|
|
26
|
-
private renderer;
|
|
26
|
+
private readonly renderer;
|
|
27
27
|
private readonly poControlPosition;
|
|
28
28
|
private readonly cd;
|
|
29
29
|
popoverElement: ElementRef;
|
|
@@ -31,11 +31,14 @@ export declare class PoPopoverComponent extends PoPopoverBaseComponent implement
|
|
|
31
31
|
timeoutResize: any;
|
|
32
32
|
targetElement: any;
|
|
33
33
|
afterViewInitWasCalled: boolean;
|
|
34
|
+
widthPopover: number;
|
|
34
35
|
private keydownTargetListener?;
|
|
35
36
|
private keydownPopoverListener?;
|
|
37
|
+
private resizeObserver;
|
|
36
38
|
eventListenerFunction: () => void;
|
|
37
39
|
private readonly tabbableSelector;
|
|
38
40
|
constructor(renderer: Renderer2, poControlPosition: PoControlPositionService, cd: ChangeDetectorRef);
|
|
41
|
+
protected onThemeChange(): void;
|
|
39
42
|
ngOnChanges(changes: SimpleChanges): void;
|
|
40
43
|
ngAfterViewInit(): void;
|
|
41
44
|
initEvents(): void;
|
|
@@ -60,4 +63,6 @@ export declare class PoPopoverComponent extends PoPopoverBaseComponent implement
|
|
|
60
63
|
private getDocumentTabbables;
|
|
61
64
|
private focusNextAfterTarget;
|
|
62
65
|
private focusPrevBeforeTarget;
|
|
66
|
+
private observeContentResize;
|
|
67
|
+
private disconnectResizeObserver;
|
|
63
68
|
}
|
|
@@ -26,9 +26,9 @@ import { PoPopupBaseComponent } from './po-popup-base.component';
|
|
|
26
26
|
*/
|
|
27
27
|
export declare class PoPopupComponent extends PoPopupBaseComponent implements AfterViewInit {
|
|
28
28
|
id: string;
|
|
29
|
-
private renderer;
|
|
30
|
-
private router;
|
|
31
|
-
private poControlPosition;
|
|
29
|
+
private readonly renderer;
|
|
30
|
+
private readonly router;
|
|
31
|
+
private readonly poControlPosition;
|
|
32
32
|
changeDetector: ChangeDetectorRef;
|
|
33
33
|
popupRef: ElementRef;
|
|
34
34
|
listbox: ElementRef;
|
|
@@ -65,7 +65,7 @@ export declare class PoPopupComponent extends PoPopupBaseComponent implements Af
|
|
|
65
65
|
private elementContains;
|
|
66
66
|
private hasContentToShow;
|
|
67
67
|
private initializeListeners;
|
|
68
|
-
private onScroll;
|
|
68
|
+
private readonly onScroll;
|
|
69
69
|
private openUrl;
|
|
70
70
|
private removeListeners;
|
|
71
71
|
private setPosition;
|
|
@@ -26,8 +26,8 @@ export declare class PoProgressComponent extends PoProgressBaseComponent impleme
|
|
|
26
26
|
get isAllowInfoError(): boolean;
|
|
27
27
|
get isAllowRetry(): boolean;
|
|
28
28
|
get statusClass(): string;
|
|
29
|
-
private poLanguageService;
|
|
30
|
-
private router;
|
|
29
|
+
private readonly poLanguageService;
|
|
30
|
+
private readonly router;
|
|
31
31
|
ngOnInit(): void;
|
|
32
32
|
emitCancellation(): void;
|
|
33
33
|
emitRetry(): void;
|
|
@@ -44,9 +44,6 @@ import { PoSkeletonVariant } from './enums/po-skeleton-variant.enum';
|
|
|
44
44
|
*/
|
|
45
45
|
export declare class PoSkeletonBaseComponent {
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
48
|
-
* @Input
|
|
49
|
-
*
|
|
50
47
|
* @optional
|
|
51
48
|
*
|
|
52
49
|
* @description
|
|
@@ -63,9 +60,6 @@ export declare class PoSkeletonBaseComponent {
|
|
|
63
60
|
*/
|
|
64
61
|
variant: import("@angular/core").InputSignal<PoSkeletonVariant>;
|
|
65
62
|
/**
|
|
66
|
-
*
|
|
67
|
-
* @Input
|
|
68
|
-
*
|
|
69
63
|
* @optional
|
|
70
64
|
*
|
|
71
65
|
* @description
|
|
@@ -81,9 +75,6 @@ export declare class PoSkeletonBaseComponent {
|
|
|
81
75
|
*/
|
|
82
76
|
type: import("@angular/core").InputSignal<PoSkeletonType>;
|
|
83
77
|
/**
|
|
84
|
-
*
|
|
85
|
-
* @Input
|
|
86
|
-
*
|
|
87
78
|
* @optional
|
|
88
79
|
*
|
|
89
80
|
* @description
|
|
@@ -99,9 +90,6 @@ export declare class PoSkeletonBaseComponent {
|
|
|
99
90
|
*/
|
|
100
91
|
animation: import("@angular/core").InputSignal<PoSkeletonAnimation>;
|
|
101
92
|
/**
|
|
102
|
-
*
|
|
103
|
-
* @Input
|
|
104
|
-
*
|
|
105
93
|
* @optional
|
|
106
94
|
*
|
|
107
95
|
* @description
|
|
@@ -122,9 +110,6 @@ export declare class PoSkeletonBaseComponent {
|
|
|
122
110
|
*/
|
|
123
111
|
size: import("@angular/core").InputSignal<PoSkeletonSize>;
|
|
124
112
|
/**
|
|
125
|
-
*
|
|
126
|
-
* @Input
|
|
127
|
-
*
|
|
128
113
|
* @optional
|
|
129
114
|
*
|
|
130
115
|
* @description
|
|
@@ -138,8 +123,6 @@ export declare class PoSkeletonBaseComponent {
|
|
|
138
123
|
*/
|
|
139
124
|
width: import("@angular/core").InputSignal<string>;
|
|
140
125
|
/**
|
|
141
|
-
* @Input
|
|
142
|
-
*
|
|
143
126
|
* @optional
|
|
144
127
|
*
|
|
145
128
|
* @description
|
|
@@ -151,9 +134,6 @@ export declare class PoSkeletonBaseComponent {
|
|
|
151
134
|
*/
|
|
152
135
|
height: import("@angular/core").InputSignal<string>;
|
|
153
136
|
/**
|
|
154
|
-
*
|
|
155
|
-
* @Input
|
|
156
|
-
*
|
|
157
137
|
* @optional
|
|
158
138
|
*
|
|
159
139
|
* @description
|
|
@@ -165,9 +145,6 @@ export declare class PoSkeletonBaseComponent {
|
|
|
165
145
|
*/
|
|
166
146
|
borderRadius: import("@angular/core").InputSignal<string>;
|
|
167
147
|
/**
|
|
168
|
-
*
|
|
169
|
-
* @Input
|
|
170
|
-
*
|
|
171
148
|
* @optional
|
|
172
149
|
*
|
|
173
150
|
* @description
|
|
@@ -32,10 +32,10 @@ import { PoSlideItem } from './interfaces/po-slide-item.interface';
|
|
|
32
32
|
* </example>
|
|
33
33
|
*/
|
|
34
34
|
export declare class PoSlideComponent extends PoSlideBaseComponent implements OnInit, DoCheck, OnChanges, OnDestroy {
|
|
35
|
-
private builder;
|
|
35
|
+
private readonly builder;
|
|
36
36
|
slideContentTemplate: PoSlideContentTemplateDirective;
|
|
37
|
-
private slide;
|
|
38
|
-
private itemsElements;
|
|
37
|
+
private readonly slide;
|
|
38
|
+
private readonly itemsElements;
|
|
39
39
|
currentSlideIndex: number;
|
|
40
40
|
imageHeight: number;
|
|
41
41
|
slideItems: Array<PoSlideItem | any>;
|
|
@@ -43,7 +43,7 @@ export declare class PoSlideComponent extends PoSlideBaseComponent implements On
|
|
|
43
43
|
private isLoaded;
|
|
44
44
|
private player;
|
|
45
45
|
private setInterval;
|
|
46
|
-
private resize$;
|
|
46
|
+
private readonly resize$;
|
|
47
47
|
private resizeSubscription;
|
|
48
48
|
private get hasElements();
|
|
49
49
|
private get isImageSlide();
|
|
@@ -7,8 +7,8 @@ import { AfterViewInit, ElementRef, OnChanges, SimpleChanges } from '@angular/co
|
|
|
7
7
|
* Componente responsável por exibir as legendas dos *steps*.
|
|
8
8
|
*/
|
|
9
9
|
export declare class PoStepperLabelComponent implements AfterViewInit, OnChanges {
|
|
10
|
-
private renderer;
|
|
11
|
-
private changeDetectorRef;
|
|
10
|
+
private readonly renderer;
|
|
11
|
+
private readonly changeDetectorRef;
|
|
12
12
|
alignCenter: boolean;
|
|
13
13
|
content: string;
|
|
14
14
|
status: string;
|
|
@@ -17,7 +17,7 @@ export declare class PoStepperLabelComponent implements AfterViewInit, OnChanges
|
|
|
17
17
|
disabledClick: boolean;
|
|
18
18
|
displayedContent: string;
|
|
19
19
|
tooltipContent: string;
|
|
20
|
-
private maxLabelLength;
|
|
20
|
+
private readonly maxLabelLength;
|
|
21
21
|
ngAfterViewInit(): void;
|
|
22
22
|
ngOnChanges(changes: SimpleChanges): void;
|
|
23
23
|
onMouseOver(): void;
|
|
@@ -34,7 +34,7 @@ import { PoStepperItem } from './po-stepper-item.interface';
|
|
|
34
34
|
* </example>
|
|
35
35
|
*/
|
|
36
36
|
export declare class PoStepperComponent extends PoStepperBaseComponent implements AfterContentInit {
|
|
37
|
-
private changeDetector;
|
|
37
|
+
private readonly changeDetector;
|
|
38
38
|
poSteps: QueryList<PoStepComponent>;
|
|
39
39
|
private currentActiveStep;
|
|
40
40
|
private previousActiveStepIndex;
|
|
@@ -71,8 +71,8 @@ export declare const poTableLiteralsDefault: {
|
|
|
71
71
|
*
|
|
72
72
|
*/
|
|
73
73
|
export declare abstract class PoTableBaseComponent implements OnChanges, OnDestroy {
|
|
74
|
-
private poDate;
|
|
75
|
-
private poTableService;
|
|
74
|
+
private readonly poDate;
|
|
75
|
+
private readonly poTableService;
|
|
76
76
|
/**
|
|
77
77
|
* @optional
|
|
78
78
|
*
|
|
@@ -389,7 +389,7 @@ export declare abstract class PoTableBaseComponent implements OnChanges, OnDestr
|
|
|
389
389
|
private _literals;
|
|
390
390
|
private _loading?;
|
|
391
391
|
private _selectable?;
|
|
392
|
-
private language;
|
|
392
|
+
private readonly language;
|
|
393
393
|
private _serviceApi;
|
|
394
394
|
private _serviceDeleteApi;
|
|
395
395
|
private poTableServiceSubscription;
|
package/lib/components/po-table/po-table-column-frozen/po-table-column-frozen.directive.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, Renderer2, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
export declare class PoTableColumnFrozenDirective implements AfterViewInit, OnChanges {
|
|
3
|
-
private el;
|
|
4
|
-
private renderer;
|
|
3
|
+
private readonly el;
|
|
4
|
+
private readonly renderer;
|
|
5
5
|
_frozen: boolean;
|
|
6
6
|
get frozen(): boolean;
|
|
7
7
|
set frozen(val: boolean);
|
package/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export declare const poTableColumnManagerLiteralsDefault: {
|
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
25
|
export declare class PoTableColumnManagerComponent implements OnChanges, OnDestroy {
|
|
26
|
-
private renderer;
|
|
26
|
+
private readonly renderer;
|
|
27
27
|
popover: PoPopoverComponent;
|
|
28
28
|
pageSlideColumnsManager: PoPageSlideComponent;
|
|
29
29
|
columns: Array<PoTableColumn>;
|
|
@@ -43,7 +43,7 @@ export declare class PoTableColumnManagerComponent implements OnChanges, OnDestr
|
|
|
43
43
|
private resizeListener;
|
|
44
44
|
private restoreDefaultEvent;
|
|
45
45
|
private lastEmittedValue;
|
|
46
|
-
private minColumns;
|
|
46
|
+
private readonly minColumns;
|
|
47
47
|
private _componentsSize?;
|
|
48
48
|
/**
|
|
49
49
|
* @optional
|
|
@@ -10,7 +10,7 @@ import { PoTableDetail } from './po-table-detail.interface';
|
|
|
10
10
|
* Componente responsável por apresentar o detalhe de cada linha da tabela.
|
|
11
11
|
*/
|
|
12
12
|
export declare class PoTableDetailComponent {
|
|
13
|
-
private decimalPipe;
|
|
13
|
+
private readonly decimalPipe;
|
|
14
14
|
private _componentsSize?;
|
|
15
15
|
/**
|
|
16
16
|
* @optional
|
|
@@ -31,8 +31,8 @@ export declare const poTableListManagerLiterals: {
|
|
|
31
31
|
type Direction = 'up' | 'down';
|
|
32
32
|
export declare class PoTableListManagerComponent extends PoCheckboxGroupComponent {
|
|
33
33
|
private _componentsSize?;
|
|
34
|
-
private changePosition;
|
|
35
|
-
private changeColumnFixed;
|
|
34
|
+
private readonly changePosition;
|
|
35
|
+
private readonly changeColumnFixed;
|
|
36
36
|
columnsManager: Array<PoTableColumn>;
|
|
37
37
|
/**
|
|
38
38
|
* @optional
|
package/lib/components/po-table/po-table-subtitle-circle/po-table-subtitle-circle.component.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { PoTableSubtitleColumn } from './../po-table-subtitle-footer/po-table-su
|
|
|
8
8
|
* Componente para a criação da representação da legenda, em formato de círculo.
|
|
9
9
|
*/
|
|
10
10
|
export declare class PoTableSubtitleCircleComponent {
|
|
11
|
-
private poColorPaletteService;
|
|
11
|
+
private readonly poColorPaletteService;
|
|
12
12
|
/** Esconde a tooltip. */
|
|
13
13
|
hideTitle: boolean;
|
|
14
14
|
private _subtitle;
|
package/lib/components/po-table/po-table-subtitle-footer/po-table-subtitle-footer.component.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { PoTableSubtitleColumn } from './po-table-subtitle-column.interface';
|
|
|
8
8
|
* Componente para a criação de um conjunto de legendas.
|
|
9
9
|
*/
|
|
10
10
|
export declare class PoTableSubtitleFooterComponent implements AfterViewInit, DoCheck, OnDestroy {
|
|
11
|
-
private element;
|
|
11
|
+
private readonly element;
|
|
12
12
|
renderer: Renderer2;
|
|
13
13
|
/** Define o tamanho dos elementos que possuem `p-size` dentro do componente. */
|
|
14
14
|
componentsSize: string;
|