@po-ui/ng-components 21.7.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 +407 -165
- 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 +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 +1 -1
- 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-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 +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.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 +526 -400
- package/po-ui-ng-components-21.7.0.tgz +0 -0
|
@@ -128,8 +128,6 @@ export declare abstract class PoUploadBaseComponent implements ControlValueAcces
|
|
|
128
128
|
/** Rótulo do campo. */
|
|
129
129
|
label?: string;
|
|
130
130
|
/**
|
|
131
|
-
* @Input
|
|
132
|
-
*
|
|
133
131
|
* @optional
|
|
134
132
|
*
|
|
135
133
|
* @description
|
|
@@ -242,8 +240,6 @@ export declare abstract class PoUploadBaseComponent implements ControlValueAcces
|
|
|
242
240
|
*/
|
|
243
241
|
requiredUrl: boolean;
|
|
244
242
|
/**
|
|
245
|
-
* @Input
|
|
246
|
-
*
|
|
247
243
|
* @optional
|
|
248
244
|
*
|
|
249
245
|
* @description
|
|
@@ -255,8 +251,6 @@ export declare abstract class PoUploadBaseComponent implements ControlValueAcces
|
|
|
255
251
|
*/
|
|
256
252
|
poHelperComponent: import("@angular/core").InputSignal<string | PoHelperOptions>;
|
|
257
253
|
/**
|
|
258
|
-
* @Input
|
|
259
|
-
*
|
|
260
254
|
* @optional
|
|
261
255
|
*
|
|
262
256
|
* @description
|
|
@@ -504,7 +498,7 @@ export declare abstract class PoUploadBaseComponent implements ControlValueAcces
|
|
|
504
498
|
private _required?;
|
|
505
499
|
private _size?;
|
|
506
500
|
private _initialSize?;
|
|
507
|
-
private language;
|
|
501
|
+
private readonly language;
|
|
508
502
|
private validatorChange;
|
|
509
503
|
/**
|
|
510
504
|
* @optional
|
|
@@ -2,7 +2,7 @@ import { EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { PoUploadFile } from './po-upload-file';
|
|
3
3
|
import { Observable, Subscription } from 'rxjs';
|
|
4
4
|
export declare class PoUploadBaseService {
|
|
5
|
-
private http;
|
|
5
|
+
private readonly http;
|
|
6
6
|
formField: string;
|
|
7
7
|
requests: Array<any>;
|
|
8
8
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { PoUploadLiterals } from '../../interfaces/po-upload-literals.interface';
|
|
3
3
|
export declare class PoUploadDragDropAreaOverlayComponent implements AfterViewInit {
|
|
4
|
-
private renderer;
|
|
4
|
+
private readonly renderer;
|
|
5
5
|
DragDropAreaFixed: ElementRef;
|
|
6
6
|
directoryCompatible: boolean;
|
|
7
7
|
disabled: boolean;
|
package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.component.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { ElementRef, EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { PoUploadDragDropAreaComponent } from './po-upload-drag-drop-area/po-upload-drag-drop-area.component';
|
|
3
3
|
import { PoUploadLiterals } from '../interfaces/po-upload-literals.interface';
|
|
4
4
|
export declare class PoUploadDragDropComponent {
|
|
5
|
-
private changeDetector;
|
|
5
|
+
private readonly changeDetector;
|
|
6
6
|
dragDropOverlayElement: ElementRef;
|
|
7
7
|
dragDropAreaComponent: PoUploadDragDropAreaComponent;
|
|
8
8
|
directoryCompatible: boolean;
|
package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.directive.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { PoUploadLiterals } from '../interfaces/po-upload-literals.interface';
|
|
3
3
|
export declare class PoUploadDragDropDirective {
|
|
4
|
-
private i18nPipe;
|
|
5
|
-
private notification;
|
|
4
|
+
private readonly i18nPipe;
|
|
5
|
+
private readonly notification;
|
|
6
6
|
areaElement: HTMLElement;
|
|
7
7
|
directoryCompatible: boolean;
|
|
8
8
|
disabled: boolean;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
export declare class PoUploadFileRestrictionsComponent implements OnInit {
|
|
3
|
-
private changeDetector;
|
|
3
|
+
private readonly changeDetector;
|
|
4
4
|
maxFiles: number;
|
|
5
5
|
literals: any;
|
|
6
6
|
private _allowedExtensions;
|
|
7
7
|
private _maxFileSize;
|
|
8
8
|
private _minFileSize;
|
|
9
|
-
private language;
|
|
9
|
+
private readonly language;
|
|
10
10
|
set allowedExtensions(value: string);
|
|
11
11
|
get allowedExtensions(): string;
|
|
12
12
|
set maxFileSize(value: string);
|
|
@@ -43,10 +43,10 @@ import { PoHelperComponent } from '../../po-helper';
|
|
|
43
43
|
*/
|
|
44
44
|
export declare class PoUploadComponent extends PoUploadBaseComponent implements AfterViewInit, OnChanges {
|
|
45
45
|
renderer: Renderer2;
|
|
46
|
-
private i18nPipe;
|
|
47
|
-
private notification;
|
|
48
|
-
private inputFile;
|
|
49
|
-
private poUploadDragDropComponent;
|
|
46
|
+
private readonly i18nPipe;
|
|
47
|
+
private readonly notification;
|
|
48
|
+
private readonly inputFile;
|
|
49
|
+
private readonly poUploadDragDropComponent;
|
|
50
50
|
uploadButton: PoButtonComponent;
|
|
51
51
|
modalComponent: PoModalComponent;
|
|
52
52
|
helperEl?: PoHelperComponent;
|
|
@@ -30,8 +30,8 @@ import { PoGridRowActions } from './po-grid-row-actions.interface';
|
|
|
30
30
|
* </example>
|
|
31
31
|
*/
|
|
32
32
|
export declare class PoGridComponent implements OnDestroy {
|
|
33
|
-
private changeDetectorRef;
|
|
34
|
-
private elRef;
|
|
33
|
+
private readonly changeDetectorRef;
|
|
34
|
+
private readonly elRef;
|
|
35
35
|
tableElement: ElementRef;
|
|
36
36
|
tableWrapper: ElementRef;
|
|
37
37
|
/**
|
|
@@ -55,7 +55,7 @@ export declare class PoGridComponent implements OnDestroy {
|
|
|
55
55
|
width: string;
|
|
56
56
|
widporeeze: number;
|
|
57
57
|
widthActions: number;
|
|
58
|
-
private resizeListener;
|
|
58
|
+
private readonly resizeListener;
|
|
59
59
|
private timeoutResize;
|
|
60
60
|
private _columns;
|
|
61
61
|
/**
|
|
@@ -6,6 +6,7 @@ import { PoHeaderActions } from './interfaces/po-header-actions.interface';
|
|
|
6
6
|
import { PoHeaderBrand } from './interfaces/po-header-brand.interface';
|
|
7
7
|
import { PoHeaderLiterals } from './interfaces/po-header-literals.interface';
|
|
8
8
|
import { PoHeaderUser } from './interfaces/po-header-user.interface';
|
|
9
|
+
import { PoFieldSize } from '../../enums/po-field-size.enum';
|
|
9
10
|
export declare const poNavbarLiteralsDefault: {
|
|
10
11
|
en: PoHeaderLiterals;
|
|
11
12
|
es: PoHeaderLiterals;
|
|
@@ -84,24 +85,27 @@ export declare const poNavbarLiteralsDefault: {
|
|
|
84
85
|
* | `--border-radius-bottom-left` | Valor do radius do lado esquerdo do header | `var(--border-radius-md)` |
|
|
85
86
|
* | `--border-radius-bottom-right` | Valor do radius do lado direito do header | `var(--border-radius-md)` |
|
|
86
87
|
* | `--base shadow` | Cor da sombra do header | `0 1px 8px rgba(0, 0, 0, 0.1)` |
|
|
88
|
+
* | `--stroke-color` | Cor da borda inferior do header | `var(--color-brand-01-base)` |
|
|
87
89
|
* | **Sub-menu** | | |
|
|
88
90
|
* | `--border-radius` | Valor do radius dos itens do sub-menu | `var(--border-radius-md);` |
|
|
89
91
|
* | `--text-color-submenu` | Cor do texto dos itens do sub-menu | `var(--color-brand-01-base)` |
|
|
90
92
|
* | `--icon-color` | Cor do ícone do sub-menu com itens | `var(--color-brand-01-base)` |
|
|
91
93
|
* | `--border-color` | Cor da borda | `var(--color-transparent)` |
|
|
92
94
|
* | `--shadow` | Contém o valor da sombra do elemento | `var(--shadow-none)` |
|
|
95
|
+
* | `--font-family-submenu` | Fonte do texto dos itens de sub-menu | `var(--font-family-theme)` |
|
|
96
|
+
* | `--font-weight-submenu` | Peso da fonte do texto dos itens de sub-menu | `var(--font-weight-bold)` |
|
|
93
97
|
* | **Sub-menu - Hover** | | |
|
|
94
98
|
* | `--background-hover` | Cor de background dos itens do sub-menu no estado hover | `var(--color-brand-01-lighter)` |
|
|
95
99
|
* | `--icon-color-hover` | Cor do ícone dos itens de sub-menu no estado hover | `var(--color-brand-01-darkest)` |
|
|
96
|
-
* | `--text-color-hover` | Cor do
|
|
100
|
+
* | `--text-color-hover` | Cor do texto dos itens de sub-menu no estado hover | `var(--color-brand-01-darkest)` |
|
|
97
101
|
* | **Sub-menu - pressed** | | |
|
|
98
102
|
* | `--background-pressed` | Cor de background dos itens do sub-menu no estado pressed | `var(--color-brand-01-light)` |
|
|
99
103
|
* | `--icon-color-pressed` | Cor do ícone dos itens de sub-menu no estado pressed | `var(--color-brand-01-darkest)` |
|
|
100
|
-
* | `--text-color-pressed` | Cor do
|
|
104
|
+
* | `--text-color-pressed` | Cor do texto dos itens de sub-menu no estado pressed | `var(--color-brand-01-darkest)` |
|
|
101
105
|
* | **Sub-menu - selected** | | |
|
|
102
106
|
* | `--background-selected` | Cor de background dos itens do sub-menu no estado selected | `var(--color-brand-01-light)` |
|
|
103
107
|
* | `--icon-color-selected` | Cor do ícone dos itens de sub-menu no estado selected | `var(--color-neutral-dark-95)` |
|
|
104
|
-
* | `--text-color-selected` | Cor do
|
|
108
|
+
* | `--text-color-selected` | Cor do texto dos itens de sub-menu no estado selected | `var(--color-brand-01-darkest)` |
|
|
105
109
|
* | **Customer** | | |
|
|
106
110
|
* | `--background-color-customer` | Cor do background da seção customer | `var(--color-neutral-light-00)` |
|
|
107
111
|
* | `--border-color` | Cor da borda da seção customer | `var(--color-neutral-light-10)` |
|
|
@@ -109,9 +113,9 @@ export declare const poNavbarLiteralsDefault: {
|
|
|
109
113
|
* | `--border-width` | Largura da borda da seção customer | `var(--border-width-sm)` |
|
|
110
114
|
* | **Customer - hover** | | |
|
|
111
115
|
* | `--background-color-customer-hover` | Cor do background da seção customer no estado hover | `var(--color-brand-01-lighter)` |
|
|
112
|
-
* | `--background-color-customer-hover` | Cor do background da seção customer no estado hover | `var(--color-brand-01-lighter)` |
|
|
113
116
|
* | **Customer - pressed** | | |
|
|
114
117
|
* | `--background-color-customer-pressed` | Cor do background da seção customer no estado pressed | `var(--color-brand-01-light)` |
|
|
118
|
+
* | `--border-width-pressed` | Largura da borda da seção customer no estado pressed | `var(--border-width-md)` |
|
|
115
119
|
*
|
|
116
120
|
*/
|
|
117
121
|
export declare abstract class PoHeaderBaseComponent {
|
|
@@ -120,7 +124,8 @@ export declare abstract class PoHeaderBaseComponent {
|
|
|
120
124
|
menuCollapseJoinExternal: any[];
|
|
121
125
|
private _brand;
|
|
122
126
|
private _literals;
|
|
123
|
-
private language;
|
|
127
|
+
private readonly language;
|
|
128
|
+
private readonly themeChangeSignal;
|
|
124
129
|
/**
|
|
125
130
|
* @optional
|
|
126
131
|
*
|
|
@@ -247,6 +252,25 @@ export declare abstract class PoHeaderBaseComponent {
|
|
|
247
252
|
*/
|
|
248
253
|
set literals(value: PoHeaderLiterals);
|
|
249
254
|
get literals(): PoHeaderLiterals;
|
|
255
|
+
/**
|
|
256
|
+
* @optional
|
|
257
|
+
*
|
|
258
|
+
* @Input
|
|
259
|
+
*
|
|
260
|
+
* @description
|
|
261
|
+
*
|
|
262
|
+
* Define o tamanho do componente:
|
|
263
|
+
* - `small`: altura de 44px (disponível apenas para acessibilidade AA).
|
|
264
|
+
* - `medium`: altura de 56px.
|
|
265
|
+
*
|
|
266
|
+
* > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
|
|
267
|
+
* Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
|
|
268
|
+
*
|
|
269
|
+
* @default `medium`
|
|
270
|
+
*/
|
|
271
|
+
sizeInput: import("@angular/core").InputSignal<string>;
|
|
272
|
+
size: import("@angular/core").Signal<string>;
|
|
273
|
+
get hostSize(): PoFieldSize;
|
|
250
274
|
/**
|
|
251
275
|
* @optional
|
|
252
276
|
*
|
|
@@ -259,4 +283,6 @@ export declare abstract class PoHeaderBaseComponent {
|
|
|
259
283
|
constructor(languageService: PoLanguageService);
|
|
260
284
|
get menuItems(): Array<PoHeaderActions>;
|
|
261
285
|
private generateRandomId;
|
|
286
|
+
protected onThemeChange(): void;
|
|
287
|
+
abstract updateMenu(): void;
|
|
262
288
|
}
|
|
@@ -3,8 +3,8 @@ import { Router } from '@angular/router';
|
|
|
3
3
|
import { PoMenuItem } from '../../po-menu';
|
|
4
4
|
import { PoHeaderBrand } from '../interfaces/po-header-brand.interface';
|
|
5
5
|
export declare class PoHeaderbrandComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
6
|
-
private cd;
|
|
7
|
-
private router;
|
|
6
|
+
private readonly cd;
|
|
7
|
+
private readonly router;
|
|
8
8
|
private resizeSub;
|
|
9
9
|
showTitleTooltip: boolean;
|
|
10
10
|
smallLogo: boolean;
|
|
@@ -15,6 +15,7 @@ export declare class PoHeaderbrandComponent implements AfterViewInit, OnChanges,
|
|
|
15
15
|
hideButtonMenu?: boolean;
|
|
16
16
|
menuCollapse: Array<PoMenuItem>;
|
|
17
17
|
externalMenu: boolean;
|
|
18
|
+
size: import("@angular/core").InputSignal<string>;
|
|
18
19
|
constructor(cd: ChangeDetectorRef, router: Router);
|
|
19
20
|
ngAfterViewInit(): void;
|
|
20
21
|
ngOnDestroy(): void;
|
|
@@ -21,6 +21,7 @@ export declare class PoHeaderCustomerComponent {
|
|
|
21
21
|
poPopupAction: PoPopupComponent;
|
|
22
22
|
poPopoverAction: PoPopoverComponent;
|
|
23
23
|
headerUser: PoHeaderUser;
|
|
24
|
+
size: import("@angular/core").InputSignal<string>;
|
|
24
25
|
constructor(languageService: PoLanguageService);
|
|
25
26
|
onClickPopup(): void;
|
|
26
27
|
onClickUserSection(): void;
|
|
@@ -18,8 +18,8 @@ export declare const poHeaderMoreLiteralsDefault: {
|
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
export declare class PoHeaderMenuItemComponent implements OnChanges, OnInit, OnDestroy {
|
|
21
|
-
private cd;
|
|
22
|
-
private router;
|
|
21
|
+
private readonly cd;
|
|
22
|
+
private readonly router;
|
|
23
23
|
buttonMoreRef: any;
|
|
24
24
|
lastItemSelected: PoHeaderActions;
|
|
25
25
|
selectedItem: boolean;
|
|
@@ -31,6 +31,7 @@ export declare class PoHeaderMenuItemComponent implements OnChanges, OnInit, OnD
|
|
|
31
31
|
item: PoHeaderActions;
|
|
32
32
|
itemOverFlow: Array<PoHeaderActions>;
|
|
33
33
|
overflowButton: boolean;
|
|
34
|
+
size: import("@angular/core").InputSignal<string>;
|
|
34
35
|
itemClick: EventEmitter<any>;
|
|
35
36
|
constructor(cd: ChangeDetectorRef, router: Router, languageService: PoLanguageService);
|
|
36
37
|
ngOnInit(): void;
|
|
@@ -6,8 +6,8 @@ import { PoPopupComponent } from '../../po-popup';
|
|
|
6
6
|
import { PoHeaderActionTool } from '../interfaces/po-header-action-tool.interface';
|
|
7
7
|
import { PoHeaderLiterals } from '../interfaces/po-header-literals.interface';
|
|
8
8
|
export declare class PoHeaderToolsComponent {
|
|
9
|
-
private router;
|
|
10
|
-
private cd;
|
|
9
|
+
private readonly router;
|
|
10
|
+
private readonly cd;
|
|
11
11
|
_actionTools: Array<PoHeaderActionTool>;
|
|
12
12
|
buttonActionElements: QueryList<ElementRef>;
|
|
13
13
|
buttonActionComponents: QueryList<PoButtonComponent>;
|
|
@@ -16,6 +16,7 @@ export declare class PoHeaderToolsComponent {
|
|
|
16
16
|
forceActionTools?: boolean;
|
|
17
17
|
set actionTools(value: Array<PoHeaderActionTool>);
|
|
18
18
|
literals: PoHeaderLiterals;
|
|
19
|
+
size: import("@angular/core").InputSignal<string>;
|
|
19
20
|
get actionTools(): Array<PoHeaderActionTool>;
|
|
20
21
|
get popoverIndexes(): Array<number>;
|
|
21
22
|
headerTemplate: TemplateRef<any>;
|
|
@@ -27,9 +27,9 @@ import { PoHeaderMenuItemComponent } from './po-header-menu-item/po-header-menu-
|
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
export declare class PoHeaderComponent extends PoHeaderBaseComponent implements AfterViewInit, OnChanges, OnInit, OnDestroy {
|
|
30
|
-
private cd;
|
|
31
|
-
private elRef;
|
|
32
|
-
private menuGlobalService;
|
|
30
|
+
private readonly cd;
|
|
31
|
+
private readonly elRef;
|
|
32
|
+
private readonly menuGlobalService;
|
|
33
33
|
afterViewInitWascalled: boolean;
|
|
34
34
|
showMenu: boolean;
|
|
35
35
|
visibleMenuItems: Array<any>;
|
|
@@ -46,7 +46,7 @@ export declare class PoHeaderComponent extends PoHeaderBaseComponent implements
|
|
|
46
46
|
menuExternal: any[];
|
|
47
47
|
existMenuExternal: boolean;
|
|
48
48
|
applicationMenu: PoMenuComponent;
|
|
49
|
-
private id;
|
|
49
|
+
private readonly id;
|
|
50
50
|
private currentWidth;
|
|
51
51
|
private previousMenusItems;
|
|
52
52
|
buttonFirstAction: ElementRef;
|
|
@@ -53,8 +53,6 @@ import { PoHelperOptions } from './interfaces/po-helper.interface';
|
|
|
53
53
|
*/
|
|
54
54
|
export declare class PoHelperBaseComponent {
|
|
55
55
|
/**
|
|
56
|
-
* @Input
|
|
57
|
-
*
|
|
58
56
|
* @optional
|
|
59
57
|
*
|
|
60
58
|
* @description
|
|
@@ -77,8 +75,6 @@ export declare class PoHelperBaseComponent {
|
|
|
77
75
|
*/
|
|
78
76
|
helper: import("@angular/core").InputSignal<string | PoHelperOptions>;
|
|
79
77
|
/**
|
|
80
|
-
* @Input
|
|
81
|
-
*
|
|
82
78
|
* @optional
|
|
83
79
|
*
|
|
84
80
|
* @description
|
|
@@ -95,8 +91,6 @@ export declare class PoHelperBaseComponent {
|
|
|
95
91
|
size: import("@angular/core").InputSignal<string>;
|
|
96
92
|
get hostSize(): string;
|
|
97
93
|
/**
|
|
98
|
-
* @Input
|
|
99
|
-
*
|
|
100
94
|
* @optional
|
|
101
95
|
*
|
|
102
96
|
* @description
|
|
@@ -107,8 +101,6 @@ export declare class PoHelperBaseComponent {
|
|
|
107
101
|
*/
|
|
108
102
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
109
103
|
/**
|
|
110
|
-
* @Input
|
|
111
|
-
*
|
|
112
104
|
* @optional
|
|
113
105
|
*
|
|
114
106
|
* @description
|
|
@@ -26,11 +26,11 @@ import { PoListViewDetailTemplateDirective } from './po-list-view-detail-templat
|
|
|
26
26
|
* </example>
|
|
27
27
|
*/
|
|
28
28
|
export declare class PoListViewComponent extends PoListViewBaseComponent implements AfterContentInit, DoCheck {
|
|
29
|
-
private changeDetector;
|
|
29
|
+
private readonly changeDetector;
|
|
30
30
|
listViewContentTemplate: PoListViewContentTemplateDirective;
|
|
31
31
|
listViewDetailTemplate: PoListViewDetailTemplateDirective;
|
|
32
32
|
poPopupComponent: PoPopupComponent;
|
|
33
|
-
private differ;
|
|
33
|
+
private readonly differ;
|
|
34
34
|
constructor();
|
|
35
35
|
get hasContentTemplate(): boolean;
|
|
36
36
|
get hasDetailTemplate(): boolean;
|
|
@@ -10,8 +10,8 @@ import { PoItemListOption } from './interfaces/po-item-list-option.interface';
|
|
|
10
10
|
* O componente `po-item-list` é a menor parte da lista de ação que compõem o componente [**PO Listbox**](/documentation/po-listbox).
|
|
11
11
|
*/
|
|
12
12
|
export declare class PoItemListBaseComponent {
|
|
13
|
-
private _label;
|
|
14
|
-
private _value;
|
|
13
|
+
private readonly _label;
|
|
14
|
+
private readonly _value;
|
|
15
15
|
private _type;
|
|
16
16
|
private _visible;
|
|
17
17
|
private _disabled;
|
|
@@ -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>;
|