@po-ui/ng-components 19.24.0 → 19.26.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-po-chart-modal-table.component-mSWyBcer.mjs → po-ui-ng-components-po-chart-modal-table.component-CaO2fPeS.mjs} +3 -4
- package/fesm2022/po-ui-ng-components-po-chart-modal-table.component-CaO2fPeS.mjs.map +1 -0
- package/fesm2022/po-ui-ng-components.mjs +18860 -17533
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/components.module.d.ts +2 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/po-accordion/po-accordion-item/po-accordion-item.component.d.ts +1 -2
- package/lib/components/po-accordion/po-accordion-item-header/po-accordion-item-header.component.d.ts +1 -2
- package/lib/components/po-accordion/po-accordion.component.d.ts +1 -3
- package/lib/components/po-breadcrumb/po-breadcrumb-favorite/po-breadcrumb-favorite.component.d.ts +1 -3
- package/lib/components/po-breadcrumb/po-breadcrumb-favorite/po-breadcrumb-favorite.service.d.ts +0 -2
- package/lib/components/po-breadcrumb/po-breadcrumb.component.d.ts +2 -2
- package/lib/components/po-button/po-button-base.component.d.ts +14 -8
- package/lib/components/po-button/po-button.component.d.ts +0 -3
- package/lib/components/po-button-group/po-button-group-base.component.d.ts +9 -6
- package/lib/components/po-button-group/po-button-group.component.d.ts +0 -4
- package/lib/components/po-calendar/po-calendar-wrapper/po-calendar-wrapper.component.d.ts +0 -4
- package/lib/components/po-calendar/po-calendar.component.d.ts +2 -4
- package/lib/components/po-chart/po-chart.component.d.ts +3 -6
- package/lib/components/po-disclaimer-group/po-disclaimer-group.component.d.ts +2 -4
- package/lib/components/po-dropdown/po-dropdown-base.component.d.ts +0 -3
- package/lib/components/po-dropdown/po-dropdown.component.d.ts +1 -4
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-base.component.d.ts +0 -3
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields-base.component.d.ts +1 -3
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields.component.d.ts +2 -7
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-load/po-dynamic-form-load.service.d.ts +1 -2
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-validation/po-dynamic-form-validation.service.d.ts +1 -2
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form.component.d.ts +1 -3
- package/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view.component.d.ts +1 -6
- package/lib/components/po-dynamic/po-dynamic-view/services/po-dynamic-view.service.d.ts +1 -2
- package/lib/components/po-field/po-checkbox/po-checkbox-base.component.d.ts +0 -3
- package/lib/components/po-field/po-checkbox/po-checkbox.component.d.ts +3 -7
- package/lib/components/po-field/po-checkbox-group/po-checkbox-group-base.component.d.ts +0 -3
- package/lib/components/po-field/po-checkbox-group/po-checkbox-group.component.d.ts +1 -4
- package/lib/components/po-field/po-combo/po-combo-base.component.d.ts +1 -3
- package/lib/components/po-field/po-combo/po-combo-filter.service.d.ts +1 -2
- package/lib/components/po-field/po-combo/po-combo.component.d.ts +3 -8
- package/lib/components/po-field/po-datepicker/po-datepicker-base.component.d.ts +1 -3
- package/lib/components/po-field/po-datepicker/po-datepicker.component.d.ts +2 -8
- package/lib/components/po-field/po-datepicker-range/po-datepicker-range-base.component.d.ts +1 -3
- package/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.d.ts +2 -8
- package/lib/components/po-field/po-decimal/po-decimal.component.d.ts +2 -5
- package/lib/components/po-field/po-email/po-email.component.d.ts +2 -4
- package/lib/components/po-field/po-field-container/po-field-container.component.d.ts +1 -2
- package/lib/components/po-field/po-input/po-input-base.component.d.ts +1 -3
- package/lib/components/po-field/po-input/po-input.component.d.ts +2 -4
- package/lib/components/po-field/po-input-generic/po-input-generic.d.ts +1 -3
- package/lib/components/po-field/po-login/po-login.component.d.ts +1 -4
- package/lib/components/po-field/po-lookup/po-lookup-base.component.d.ts +1 -3
- package/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal.component.d.ts +2 -3
- package/lib/components/po-field/po-lookup/po-lookup.component.d.ts +2 -7
- package/lib/components/po-field/po-lookup/services/po-lookup-modal.service.d.ts +0 -2
- package/lib/components/po-field/po-multiselect/po-multiselect-base.component.d.ts +1 -3
- package/lib/components/po-field/po-multiselect/po-multiselect-dropdown/po-multiselect-dropdown.component.d.ts +1 -2
- package/lib/components/po-field/po-multiselect/po-multiselect-filter.service.d.ts +0 -2
- package/lib/components/po-field/po-multiselect/po-multiselect.component.d.ts +2 -6
- package/lib/components/po-field/po-number/po-number-base.component.d.ts +1 -3
- package/lib/components/po-field/po-number/po-number.component.d.ts +1 -4
- package/lib/components/po-field/po-password/po-password.component.d.ts +1 -4
- package/lib/components/po-field/po-radio/po-radio.component.d.ts +1 -4
- package/lib/components/po-field/po-radio-group/po-radio-group-base.component.d.ts +0 -3
- package/lib/components/po-field/po-radio-group/po-radio-group.component.d.ts +2 -4
- package/lib/components/po-field/po-rich-text/po-rich-text-base.component.d.ts +1 -3
- package/lib/components/po-field/po-rich-text/po-rich-text-body/po-rich-text-body.component.d.ts +0 -2
- package/lib/components/po-field/po-rich-text/po-rich-text-image-modal/po-rich-text-image-modal.component.d.ts +1 -2
- package/lib/components/po-field/po-rich-text/po-rich-text-link-modal/po-rich-text-link-modal.component.d.ts +1 -2
- package/lib/components/po-field/po-rich-text/po-rich-text-toolbar/po-rich-text-toolbar.component.d.ts +1 -2
- package/lib/components/po-field/po-rich-text/po-rich-text.component.d.ts +2 -5
- package/lib/components/po-field/po-select/po-select.component.d.ts +3 -7
- package/lib/components/po-field/po-switch/po-switch.component.d.ts +1 -4
- package/lib/components/po-field/po-textarea/po-textarea-base.component.d.ts +1 -3
- package/lib/components/po-field/po-textarea/po-textarea.component.d.ts +2 -4
- package/lib/components/po-field/po-upload/po-upload-base.component.d.ts +1 -3
- package/lib/components/po-field/po-upload/po-upload-base.service.d.ts +0 -2
- package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop-area/po-upload-drag-drop-area.component.d.ts +1 -2
- 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 -2
- package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.component.d.ts +1 -2
- package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.directive.d.ts +0 -3
- package/lib/components/po-field/po-upload/po-upload-file-restrictions/po-upload-file-restrictions.component.d.ts +2 -3
- package/lib/components/po-field/po-upload/po-upload.component.d.ts +2 -8
- package/lib/components/po-field/po-url/po-url.component.d.ts +2 -4
- package/lib/components/po-grid/po-grid-cell/po-grid-cell.component.d.ts +1 -2
- package/lib/components/po-grid/po-grid.component.d.ts +2 -2
- package/lib/components/po-header/index.d.ts +7 -0
- package/lib/components/po-header/interfaces/po-header-action-tool.interface.d.ts +138 -0
- package/lib/components/po-header/interfaces/po-header-actions.interface.d.ts +49 -0
- package/lib/components/po-header/interfaces/po-header-brand.interface.d.ts +59 -0
- package/lib/components/po-header/interfaces/po-header-literals.interface.d.ts +13 -0
- package/lib/components/po-header/interfaces/po-header-user.interface.d.ts +74 -0
- package/lib/components/po-header/po-header-base.component.d.ts +266 -0
- package/lib/components/po-header/po-header-brand/po-header-brand.component.d.ts +27 -0
- package/lib/components/po-header/po-header-customer/po-header-customer.component.d.ts +32 -0
- package/lib/components/po-header/po-header-menu-item/po-header-menu-item.component.d.ts +50 -0
- package/lib/components/po-header/po-header-tools/po-header-tools.component.d.ts +31 -0
- package/lib/components/po-header/po-header.component.d.ts +83 -0
- package/lib/components/po-header/po-header.module.d.ts +27 -0
- package/lib/components/po-list-view/po-list-view-base.component.d.ts +1 -3
- package/lib/components/po-list-view/po-list-view.component.d.ts +2 -5
- package/lib/components/po-listbox/interfaces/po-listbox-literals.interface.d.ts +1 -0
- package/lib/components/po-listbox/po-item-list/po-item-list-base.component.d.ts +2 -1
- package/lib/components/po-listbox/po-item-list/po-item-list.component.d.ts +1 -2
- package/lib/components/po-listbox/po-listbox-base.component.d.ts +8 -4
- package/lib/components/po-listbox/po-listbox.component.d.ts +5 -8
- package/lib/components/po-listbox/po-search-list/po-search-list.component.d.ts +1 -2
- package/lib/components/po-loading/po-loading-overlay/po-loading-overlay.component.d.ts +1 -2
- package/lib/components/po-menu/po-menu-base.component.d.ts +6 -4
- package/lib/components/po-menu/po-menu-filter/po-menu-filter.component.d.ts +1 -1
- package/lib/components/po-menu/po-menu-item/po-menu-item.component.d.ts +0 -2
- package/lib/components/po-menu/po-menu-item.interface.d.ts +3 -0
- package/lib/components/po-menu/po-menu.component.d.ts +5 -10
- package/lib/components/po-menu/services/po-menu-global.service.d.ts +6 -0
- package/lib/components/po-menu/services/po-menu.service.d.ts +0 -2
- package/lib/components/po-menu-panel/po-menu-panel-item/po-menu-panel-item.component.d.ts +0 -2
- package/lib/components/po-menu-panel/po-menu-panel.component.d.ts +1 -5
- package/lib/components/po-modal/po-modal-base.component.d.ts +1 -3
- package/lib/components/po-modal/po-modal.component.d.ts +1 -5
- package/lib/components/po-navbar/po-navbar-actions/po-navbar-action/po-navbar-action.component.d.ts +1 -3
- package/lib/components/po-navbar/po-navbar-items/po-navbar-items.component.d.ts +0 -2
- package/lib/components/po-navbar/po-navbar.component.d.ts +2 -5
- package/lib/components/po-page/po-page-content/po-page-content.component.d.ts +1 -1
- package/lib/components/po-page/po-page-default/po-page-default-base.component.d.ts +1 -3
- package/lib/components/po-page/po-page-default/po-page-default.component.d.ts +2 -6
- package/lib/components/po-page/po-page-detail/po-page-detail-base.component.d.ts +1 -3
- package/lib/components/po-page/po-page-edit/po-page-edit-base.component.d.ts +1 -3
- package/lib/components/po-page/po-page-list/po-page-list-base.component.d.ts +1 -3
- package/lib/components/po-page/po-page-list/po-page-list.component.d.ts +2 -6
- package/lib/components/po-page/po-page-slide/po-page-slide-base.component.d.ts +0 -3
- package/lib/components/po-page/po-page-slide/po-page-slide.component.d.ts +1 -5
- package/lib/components/po-popover/po-popover.component.d.ts +5 -2
- package/lib/components/po-popup/po-popup-base.component.d.ts +2 -4
- package/lib/components/po-popup/po-popup.component.d.ts +2 -6
- package/lib/components/po-progress/po-progress-base.component.d.ts +0 -3
- package/lib/components/po-progress/po-progress.component.d.ts +0 -3
- package/lib/components/po-search/enums/po-search-filter-mode.enum.d.ts +1 -1
- package/lib/components/po-search/index.d.ts +1 -1
- package/lib/components/po-search/interfaces/po-search-filter-select.interface.d.ts +1 -5
- package/lib/components/po-search/interfaces/po-search-locate-summary.interface.d.ts +13 -0
- package/lib/components/po-search/literals/po-search-literals-default.d.ts +7 -1
- package/lib/components/po-search/literals/po-search-literals.interface.d.ts +51 -0
- package/lib/components/po-search/po-search-base.component.d.ts +201 -79
- package/lib/components/po-search/po-search.component.d.ts +43 -14
- package/lib/components/po-slide/po-slide.component.d.ts +0 -2
- package/lib/components/po-stepper/po-step/po-step.component.d.ts +1 -2
- package/lib/components/po-stepper/po-stepper-label/po-stepper-label.component.d.ts +1 -2
- package/lib/components/po-stepper/po-stepper.component.d.ts +1 -2
- package/lib/components/po-table/po-table-base.component.d.ts +1 -3
- package/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.d.ts +1 -3
- package/lib/components/po-table/po-table-detail/po-table-detail.component.d.ts +1 -3
- package/lib/components/po-table/po-table-list-manager/po-table-list-manager.component.d.ts +2 -4
- package/lib/components/po-table/po-table.component.d.ts +2 -4
- package/lib/components/po-tabs/po-tab/po-tab.component.d.ts +1 -3
- package/lib/components/po-tabs/po-tab-button/po-tab-button.component.d.ts +0 -1
- package/lib/components/po-tabs/po-tab-dropdown/po-tab-dropdown.component.d.ts +0 -1
- package/lib/components/po-tabs/po-tabs-base.component.d.ts +0 -3
- package/lib/components/po-tabs/po-tabs.component.d.ts +1 -5
- package/lib/components/po-tag/po-tag.component.d.ts +1 -2
- package/lib/components/po-toaster/po-toaster-base.component.d.ts +0 -3
- package/lib/components/po-toaster/po-toaster.component.d.ts +3 -6
- package/lib/components/po-toolbar/po-toolbar-notification/po-toolbar-notification.component.d.ts +1 -2
- package/lib/components/po-toolbar/po-toolbar.component.d.ts +1 -3
- package/lib/components/po-tree-view/po-tree-view-base.component.d.ts +0 -3
- package/lib/components/po-tree-view/po-tree-view-item/po-tree-view-item.component.d.ts +0 -2
- package/lib/components/po-tree-view/po-tree-view.component.d.ts +0 -4
- package/lib/components/po-widget/po-widget-base.component.d.ts +0 -3
- package/lib/components/po-widget/po-widget.component.d.ts +3 -3
- package/lib/services/po-dialog/po-dialog.component.d.ts +1 -3
- package/lib/services/po-notification/po-notification-base.service.d.ts +0 -3
- package/lib/services/po-notification/po-notification.service.d.ts +1 -3
- package/lib/utils/util.d.ts +25 -0
- package/package.json +4 -4
- package/po-ui-ng-components-19.26.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/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/fesm2022/po-ui-ng-components-po-chart-modal-table.component-mSWyBcer.mjs.map +0 -1
- package/lib/components/po-search/literals/po-search-literals.d.ts +0 -32
- package/po-ui-ng-components-19.24.0.tgz +0 -0
package/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter, OnChanges, OnDestroy, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { PoThemeService } from '../../../services';
|
|
3
2
|
import { PoLanguageService } from '../../../services/po-language/po-language.service';
|
|
4
3
|
import { PoCheckboxGroupOption } from '../../po-field/po-checkbox-group/interfaces/po-checkbox-group-option.interface';
|
|
5
4
|
import { PoPageSlideComponent } from '../../po-page/po-page-slide';
|
|
@@ -25,7 +24,6 @@ export declare const poTableColumnManagerLiteralsDefault: {
|
|
|
25
24
|
};
|
|
26
25
|
};
|
|
27
26
|
export declare class PoTableColumnManagerComponent implements OnChanges, OnDestroy {
|
|
28
|
-
protected poThemeService: PoThemeService;
|
|
29
27
|
private renderer;
|
|
30
28
|
popover: PoPopoverComponent;
|
|
31
29
|
pageSlideColumnsManager: PoPageSlideComponent;
|
|
@@ -66,7 +64,7 @@ export declare class PoTableColumnManagerComponent implements OnChanges, OnDestr
|
|
|
66
64
|
get componentsSize(): string;
|
|
67
65
|
set maxColumns(value: number);
|
|
68
66
|
get maxColumns(): number;
|
|
69
|
-
constructor(
|
|
67
|
+
constructor(renderer: Renderer2, languageService: PoLanguageService);
|
|
70
68
|
ngOnChanges(changes: SimpleChanges): void;
|
|
71
69
|
ngOnDestroy(): void;
|
|
72
70
|
checkChanges(event?: Array<string>, emit?: boolean): void;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DecimalPipe } from '@angular/common';
|
|
2
2
|
import { EventEmitter } from '@angular/core';
|
|
3
|
-
import { PoThemeService } from '../../../services';
|
|
4
3
|
import { PoTableDetailColumn } from './po-table-detail-column.interface';
|
|
5
4
|
import { PoTableDetail } from './po-table-detail.interface';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
@@ -12,7 +11,6 @@ import * as i0 from "@angular/core";
|
|
|
12
11
|
* Componente responsável por apresentar o detalhe de cada linha da tabela.
|
|
13
12
|
*/
|
|
14
13
|
export declare class PoTableDetailComponent {
|
|
15
|
-
protected poThemeService: PoThemeService;
|
|
16
14
|
private decimalPipe;
|
|
17
15
|
private _componentsSize?;
|
|
18
16
|
/**
|
|
@@ -58,7 +56,7 @@ export declare class PoTableDetailComponent {
|
|
|
58
56
|
*/
|
|
59
57
|
set detail(value: PoTableDetail);
|
|
60
58
|
get detail(): PoTableDetail;
|
|
61
|
-
constructor(
|
|
59
|
+
constructor(decimalPipe: DecimalPipe);
|
|
62
60
|
get detailColumns(): Array<PoTableDetailColumn>;
|
|
63
61
|
get typeHeaderInline(): boolean;
|
|
64
62
|
get typeHeaderTop(): boolean;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { PoThemeService } from '../../../services';
|
|
3
2
|
import { PoLanguageService } from '../../../services/po-language/po-language.service';
|
|
4
3
|
import { PoCheckboxGroupComponent } from '../../po-field/po-checkbox-group/po-checkbox-group.component';
|
|
5
4
|
import { PoTableColumn } from '../interfaces/po-table-column.interface';
|
|
@@ -32,7 +31,6 @@ export declare const poTableListManagerLiterals: {
|
|
|
32
31
|
};
|
|
33
32
|
type Direction = 'up' | 'down';
|
|
34
33
|
export declare class PoTableListManagerComponent extends PoCheckboxGroupComponent {
|
|
35
|
-
protected poThemeService: PoThemeService;
|
|
36
34
|
private _componentsSize?;
|
|
37
35
|
private _iconToken;
|
|
38
36
|
private changePosition;
|
|
@@ -59,7 +57,7 @@ export declare class PoTableListManagerComponent extends PoCheckboxGroupComponen
|
|
|
59
57
|
get iconNameLib(): string;
|
|
60
58
|
constructor(languageService: PoLanguageService, changeDetector: ChangeDetectorRef, value: {
|
|
61
59
|
[key: string]: string;
|
|
62
|
-
}
|
|
60
|
+
});
|
|
63
61
|
emitChangePosition(option: any, direction: Direction): void;
|
|
64
62
|
verifyArrowDisabled(option: any, direction: Direction): boolean;
|
|
65
63
|
emitFixed(option: any): void;
|
|
@@ -67,7 +65,7 @@ export declare class PoTableListManagerComponent extends PoCheckboxGroupComponen
|
|
|
67
65
|
existedFixedItem(): boolean;
|
|
68
66
|
checksIfHasFiveFixed(option: any): boolean;
|
|
69
67
|
clickSwitch(option: any): void;
|
|
70
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PoTableListManagerComponent, [null, null, { optional: true; }
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PoTableListManagerComponent, [null, null, { optional: true; }]>;
|
|
71
69
|
static ɵcmp: i0.ɵɵComponentDeclaration<PoTableListManagerComponent, "po-table-list-manager", never, { "columnsManager": { "alias": "p-columns-manager"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; "hideActionFixedColumns": { "alias": "p-hide-action-fixed-columns"; "required": false; }; }, { "changePosition": "p-change-position"; "changeColumnFixed": "p-change-fixed"; }, never, never, false, never>;
|
|
72
70
|
static ngAcceptInputType_hideActionFixedColumns: any;
|
|
73
71
|
}
|
|
@@ -8,7 +8,6 @@ import { PoNotificationService } from '../../services/po-notification/po-notific
|
|
|
8
8
|
import { PoModalAction, PoModalComponent } from '../po-modal';
|
|
9
9
|
import { PoPopupComponent } from '../po-popup/po-popup.component';
|
|
10
10
|
import { PoTableColumnLabel } from './po-table-column-label/po-table-column-label.interface';
|
|
11
|
-
import { PoThemeService } from '../../services/po-theme/po-theme.service';
|
|
12
11
|
import { PoTableAction } from './interfaces/po-table-action.interface';
|
|
13
12
|
import { PoTableColumn } from './interfaces/po-table-column.interface';
|
|
14
13
|
import { PoTableBaseComponent, QueryParamsType } from './po-table-base.component';
|
|
@@ -72,7 +71,6 @@ import * as i0 from "@angular/core";
|
|
|
72
71
|
* </example>
|
|
73
72
|
*/
|
|
74
73
|
export declare class PoTableComponent extends PoTableBaseComponent implements AfterViewInit, DoCheck, OnDestroy, OnInit {
|
|
75
|
-
protected poThemeService: PoThemeService;
|
|
76
74
|
private changeDetector;
|
|
77
75
|
private decimalPipe;
|
|
78
76
|
private defaultService;
|
|
@@ -130,7 +128,7 @@ export declare class PoTableComponent extends PoTableBaseComponent implements Af
|
|
|
130
128
|
set columnManagerTargetFixed(value: ElementRef);
|
|
131
129
|
get columnManagerTargetFixed(): ElementRef;
|
|
132
130
|
get iconNameLib(): string;
|
|
133
|
-
constructor(poDate: PoDateService, differs: IterableDiffers, renderer: Renderer2, poLanguageService: PoLanguageService,
|
|
131
|
+
constructor(poDate: PoDateService, differs: IterableDiffers, renderer: Renderer2, poLanguageService: PoLanguageService, changeDetector: ChangeDetectorRef, decimalPipe: DecimalPipe, defaultService: PoTableService, value: {
|
|
134
132
|
[key: string]: string;
|
|
135
133
|
});
|
|
136
134
|
get hasRowTemplateWithArrowDirectionRight(): boolean;
|
|
@@ -304,6 +302,6 @@ export declare class PoTableComponent extends PoTableBaseComponent implements Af
|
|
|
304
302
|
private setTableOpacity;
|
|
305
303
|
private verifyChangeHeightInFooter;
|
|
306
304
|
private toggleSelect;
|
|
307
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PoTableComponent, [null, null, null, null, null, null, null,
|
|
305
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PoTableComponent, [null, null, null, null, null, null, null, { optional: true; }]>;
|
|
308
306
|
static ɵcmp: i0.ɵɵComponentDeclaration<PoTableComponent, "po-table", never, {}, {}, ["tableRowTemplate", "tableCellTemplate", "tableColumnTemplates"], never, false, never>;
|
|
309
307
|
}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { AfterContentInit, ElementRef, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { PoTabBaseComponent } from './po-tab-base.component';
|
|
3
|
-
import { PoTabsService } from '../po-tabs.service';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
/**
|
|
6
5
|
* @docsExtends PoTabBaseComponent
|
|
7
6
|
*/
|
|
8
7
|
export declare class PoTabComponent extends PoTabBaseComponent implements AfterContentInit, OnChanges {
|
|
9
|
-
elementRef: ElementRef
|
|
8
|
+
elementRef: ElementRef<any>;
|
|
10
9
|
private tabsService;
|
|
11
10
|
removed: boolean;
|
|
12
11
|
showTooltip: boolean;
|
|
13
|
-
constructor(elementRef: ElementRef, tabsService: PoTabsService);
|
|
14
12
|
ngAfterContentInit(): void;
|
|
15
13
|
ngOnChanges(changes: SimpleChanges): void;
|
|
16
14
|
protected setDisplayOnActive(): void;
|
|
@@ -24,7 +24,6 @@ export declare class PoTabButtonComponent implements OnChanges, AfterViewInit {
|
|
|
24
24
|
get active(): boolean;
|
|
25
25
|
set hide(value: boolean);
|
|
26
26
|
get hide(): boolean;
|
|
27
|
-
constructor(changeDetector: ChangeDetectorRef, elementRef: ElementRef);
|
|
28
27
|
ngAfterViewInit(): void;
|
|
29
28
|
ngOnChanges(changes: SimpleChanges): void;
|
|
30
29
|
onClick(): void;
|
|
@@ -23,7 +23,6 @@ export declare class PoTabDropdownComponent implements AfterViewInit {
|
|
|
23
23
|
click: EventEmitter<any>;
|
|
24
24
|
isDropdownOpen: boolean;
|
|
25
25
|
dropdownStyles: any;
|
|
26
|
-
constructor(elementRef: ElementRef);
|
|
27
26
|
ngAfterViewInit(): void;
|
|
28
27
|
toggleDropdown(): void;
|
|
29
28
|
closeAndReturnToButtom(): void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { PoThemeService } from '../../services/po-theme/po-theme.service';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
/**
|
|
4
3
|
* @description
|
|
@@ -39,7 +38,6 @@ import * as i0 from "@angular/core";
|
|
|
39
38
|
* <br>
|
|
40
39
|
*/
|
|
41
40
|
export declare class PoTabsBaseComponent {
|
|
42
|
-
protected poThemeService: PoThemeService;
|
|
43
41
|
private _size?;
|
|
44
42
|
/**
|
|
45
43
|
* @optional
|
|
@@ -57,7 +55,6 @@ export declare class PoTabsBaseComponent {
|
|
|
57
55
|
*/
|
|
58
56
|
set size(value: string);
|
|
59
57
|
get size(): string;
|
|
60
|
-
constructor(poThemeService: PoThemeService);
|
|
61
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoTabsBaseComponent, never>;
|
|
62
59
|
static ɵdir: i0.ɵɵDirectiveDeclaration<PoTabsBaseComponent, never, never, { "size": { "alias": "p-size"; "required": false; }; }, {}, never, never, true, never>;
|
|
63
60
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
2
|
-
import { PoLanguageService } from '../../services/po-language/po-language.service';
|
|
3
|
-
import { PoThemeService } from '../../services/po-theme/po-theme.service';
|
|
4
2
|
import { PoTabDropdownComponent } from './po-tab-dropdown/po-tab-dropdown.component';
|
|
5
3
|
import { PoTabComponent } from './po-tab/po-tab.component';
|
|
6
4
|
import { PoTabsBaseComponent } from './po-tabs-base.component';
|
|
7
|
-
import { PoTabsService } from './po-tabs.service';
|
|
8
5
|
import * as i0 from "@angular/core";
|
|
9
6
|
export declare const poTabsLiterals: object;
|
|
10
7
|
/**
|
|
@@ -52,7 +49,6 @@ export declare const poTabsLiterals: object;
|
|
|
52
49
|
* </example>
|
|
53
50
|
*/
|
|
54
51
|
export declare class PoTabsComponent extends PoTabsBaseComponent implements OnInit, AfterViewInit, OnDestroy, AfterContentInit {
|
|
55
|
-
protected poThemeService: PoThemeService;
|
|
56
52
|
changeDetector: ChangeDetectorRef;
|
|
57
53
|
private languageService;
|
|
58
54
|
private tabsService;
|
|
@@ -73,7 +69,7 @@ export declare class PoTabsComponent extends PoTabsBaseComponent implements OnIn
|
|
|
73
69
|
private subscription;
|
|
74
70
|
private subscriptionTabsService;
|
|
75
71
|
private subscriptionTabActive;
|
|
76
|
-
constructor(
|
|
72
|
+
constructor();
|
|
77
73
|
ngOnInit(): void;
|
|
78
74
|
ngAfterViewInit(): void;
|
|
79
75
|
ngAfterContentInit(): void;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import { PoLanguageService } from './../../services/po-language/po-language.service';
|
|
3
2
|
import { PoTagIcon } from './enums/po-tag-icon.enum';
|
|
4
3
|
import { PoTagBaseComponent } from './po-tag-base.component';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
@@ -29,7 +28,7 @@ export declare class PoTagComponent extends PoTagBaseComponent implements OnInit
|
|
|
29
28
|
tagClose: ElementRef;
|
|
30
29
|
poTag: ElementRef;
|
|
31
30
|
isClickable: boolean;
|
|
32
|
-
constructor(
|
|
31
|
+
constructor();
|
|
33
32
|
ngOnInit(): void;
|
|
34
33
|
get iconFromType(): PoTagIcon;
|
|
35
34
|
get tagColor(): string;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { PoThemeService } from '../../services/po-theme/po-theme.service';
|
|
3
2
|
import { PoToasterMode } from './enum/po-toaster-mode.enum';
|
|
4
3
|
import { PoToasterOrientation } from './enum/po-toaster-orientation.enum';
|
|
5
4
|
import { PoToasterType } from './enum/po-toaster-type.enum';
|
|
@@ -53,7 +52,6 @@ import * as i0 from "@angular/core";
|
|
|
53
52
|
*
|
|
54
53
|
*/
|
|
55
54
|
export declare abstract class PoToasterBaseComponent {
|
|
56
|
-
protected poThemeService: PoThemeService;
|
|
57
55
|
private _isHide;
|
|
58
56
|
private _sizeActions;
|
|
59
57
|
/**
|
|
@@ -150,7 +148,6 @@ export declare abstract class PoToasterBaseComponent {
|
|
|
150
148
|
orientation: PoToasterOrientation;
|
|
151
149
|
componentRef: any;
|
|
152
150
|
position: number;
|
|
153
|
-
constructor(poThemeService: PoThemeService);
|
|
154
151
|
abstract close(): void;
|
|
155
152
|
abstract changePosition(value: number): void;
|
|
156
153
|
abstract configToaster(poToaster: PoToaster): void;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, OnDestroy,
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
|
-
import { PoThemeService } from '../../services/po-theme/po-theme.service';
|
|
4
|
-
import { PoLanguageService } from '../../services/po-language';
|
|
5
3
|
import { PoButtonComponent } from '../po-button';
|
|
6
4
|
import { PoToaster } from './interface/po-toaster.interface';
|
|
7
5
|
import { PoToasterBaseComponent } from './po-toaster-base.component';
|
|
@@ -23,8 +21,7 @@ import * as i0 from "@angular/core";
|
|
|
23
21
|
*/
|
|
24
22
|
export declare class PoToasterComponent extends PoToasterBaseComponent implements AfterViewInit, OnDestroy, OnChanges {
|
|
25
23
|
changeDetector: ChangeDetectorRef;
|
|
26
|
-
|
|
27
|
-
private renderer?;
|
|
24
|
+
private renderer;
|
|
28
25
|
toaster: ElementRef;
|
|
29
26
|
buttonClose: PoButtonComponent;
|
|
30
27
|
alive: boolean;
|
|
@@ -35,7 +32,7 @@ export declare class PoToasterComponent extends PoToasterBaseComponent implement
|
|
|
35
32
|
observableOnClose: Subject<any>;
|
|
36
33
|
toasterPosition: string;
|
|
37
34
|
toasterType: string;
|
|
38
|
-
constructor(
|
|
35
|
+
constructor();
|
|
39
36
|
ngOnDestroy(): void;
|
|
40
37
|
ngAfterViewInit(): void;
|
|
41
38
|
ngOnChanges(changes: SimpleChanges): void;
|
package/lib/components/po-toolbar/po-toolbar-notification/po-toolbar-notification.component.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
1
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
2
|
import { PoToolbarAction } from '../po-toolbar-action.interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
@@ -21,7 +21,6 @@ export declare class PoToolbarNotificationComponent implements AfterViewInit {
|
|
|
21
21
|
private _notificationNumber?;
|
|
22
22
|
set notificationNumber(value: number);
|
|
23
23
|
get notificationNumber(): number;
|
|
24
|
-
constructor(cdr: ChangeDetectorRef);
|
|
25
24
|
ngAfterViewInit(): void;
|
|
26
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoToolbarNotificationComponent, never>;
|
|
27
26
|
static ɵcmp: i0.ɵɵComponentDeclaration<PoToolbarNotificationComponent, "po-toolbar-notification", never, { "notificationActions": { "alias": "p-notification-actions"; "required": false; }; "notificationNumber": { "alias": "p-notification-number"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { OnInit
|
|
2
|
-
import { Title } from '@angular/platform-browser';
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
3
2
|
import { PoToolbarBaseComponent } from './po-toolbar-base.component';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
/**
|
|
@@ -24,7 +23,6 @@ import * as i0 from "@angular/core";
|
|
|
24
23
|
*/
|
|
25
24
|
export declare class PoToolbarComponent extends PoToolbarBaseComponent implements OnInit {
|
|
26
25
|
private titleService;
|
|
27
|
-
constructor(titleService: Title, viewRef: ViewContainerRef);
|
|
28
26
|
ngOnInit(): void;
|
|
29
27
|
private setTitle;
|
|
30
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoToolbarComponent, never>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { PoThemeService } from '../../services/po-theme/po-theme.service';
|
|
3
2
|
import { PoTreeViewItem } from './po-tree-view-item/po-tree-view-item.interface';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
/**
|
|
@@ -16,7 +15,6 @@ import * as i0 from "@angular/core";
|
|
|
16
15
|
* O componente também possui eventos disparados ao marcar/desmarcar e expandir/colapsar os itens.
|
|
17
16
|
*/
|
|
18
17
|
export declare class PoTreeViewBaseComponent {
|
|
19
|
-
protected poThemeService: PoThemeService;
|
|
20
18
|
/**
|
|
21
19
|
* @optional
|
|
22
20
|
*
|
|
@@ -120,7 +118,6 @@ export declare class PoTreeViewBaseComponent {
|
|
|
120
118
|
*/
|
|
121
119
|
set maxLevel(value: number);
|
|
122
120
|
get maxLevel(): number;
|
|
123
|
-
constructor(poThemeService: PoThemeService);
|
|
124
121
|
protected emitExpanded(treeViewItem: PoTreeViewItem): void;
|
|
125
122
|
protected emitSelected(treeViewItem: PoTreeViewItem): void;
|
|
126
123
|
private addChildItemInParent;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { PoTreeViewService } from '../services/po-tree-view.service';
|
|
2
1
|
import { PoTreeViewItem } from './po-tree-view-item.interface';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class PoTreeViewItemComponent {
|
|
@@ -9,7 +8,6 @@ export declare class PoTreeViewItemComponent {
|
|
|
9
8
|
singleSelect: boolean;
|
|
10
9
|
selectedValue: string | number;
|
|
11
10
|
get hasSubItems(): boolean;
|
|
12
|
-
constructor(treeViewService: PoTreeViewService);
|
|
13
11
|
onClick(event: MouseEvent): void;
|
|
14
12
|
onSelect(selectedItem: PoTreeViewItem): void;
|
|
15
13
|
trackByFunction(index: number): number;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { PoThemeService } from '../../services/po-theme/po-theme.service';
|
|
3
2
|
import { PoTreeViewBaseComponent } from './po-tree-view-base.component';
|
|
4
|
-
import { PoTreeViewService } from './services/po-tree-view.service';
|
|
5
3
|
import * as i0 from "@angular/core";
|
|
6
4
|
/**
|
|
7
5
|
* @docsExtends PoTreeViewBaseComponent
|
|
@@ -29,10 +27,8 @@ import * as i0 from "@angular/core";
|
|
|
29
27
|
* </example>
|
|
30
28
|
*/
|
|
31
29
|
export declare class PoTreeViewComponent extends PoTreeViewBaseComponent implements OnInit, OnChanges {
|
|
32
|
-
protected poThemeService: PoThemeService;
|
|
33
30
|
private treeViewService;
|
|
34
31
|
get hasItems(): boolean;
|
|
35
|
-
constructor(poThemeService: PoThemeService, treeViewService: PoTreeViewService);
|
|
36
32
|
ngOnInit(): void;
|
|
37
33
|
ngOnChanges(changes?: SimpleChanges): void;
|
|
38
34
|
trackByFunction(index: number): number;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import { PoThemeService } from '../../services';
|
|
3
2
|
import { PoPopupAction } from '../po-popup';
|
|
4
3
|
import { PoTagType } from '../po-tag';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
@@ -58,7 +57,6 @@ import * as i0 from "@angular/core";
|
|
|
58
57
|
*
|
|
59
58
|
*/
|
|
60
59
|
export declare abstract class PoWidgetBaseComponent {
|
|
61
|
-
protected poThemeService: PoThemeService;
|
|
62
60
|
private _size?;
|
|
63
61
|
/** Descrição da segunda ação. */
|
|
64
62
|
/**
|
|
@@ -340,7 +338,6 @@ export declare abstract class PoWidgetBaseComponent {
|
|
|
340
338
|
*/
|
|
341
339
|
set title(value: string);
|
|
342
340
|
get title(): string;
|
|
343
|
-
constructor(poThemeService: PoThemeService);
|
|
344
341
|
abstract setHeight(height: number): any;
|
|
345
342
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoWidgetBaseComponent, never>;
|
|
346
343
|
static ɵdir: i0.ɵɵDirectiveDeclaration<PoWidgetBaseComponent, never, never, { "secondaryLabel": { "alias": "p-secondary-label"; "required": false; }; "dangerPrimaryAction": { "alias": "p-danger-primary-action"; "required": false; }; "dangerSecondaryAction": { "alias": "p-danger-secondary-action"; "required": false; }; "kindPrimaryAction": { "alias": "p-kind-primary-action"; "required": false; }; "kindSecondaryAction": { "alias": "p-kind-secondary-action"; "required": false; }; "tagLabel": { "alias": "p-tag"; "required": false; }; "tagType": { "alias": "p-tag-type"; "required": false; }; "tagIcon": { "alias": "p-tag-icon"; "required": false; }; "actions": { "alias": "p-actions"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "background": { "alias": "p-background"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "height": { "alias": "p-height"; "required": false; }; "help": { "alias": "p-help"; "required": false; }; "noShadow": { "alias": "p-no-shadow"; "required": false; }; "primary": { "alias": "p-primary"; "required": false; }; "primaryLabel": { "alias": "p-primary-label"; "required": false; }; "title": { "alias": "p-title"; "required": false; }; }, { "click": "p-click"; "onDisabled": "p-on-disabled"; "primaryAction": "p-primary-action"; "secondaryAction": "p-secondary-action"; "setting": "p-setting"; "titleAction": "p-title-action"; }, never, never, true, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, OnInit, SimpleChanges
|
|
2
|
-
import {
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { PoThemeService } from '../../services';
|
|
3
3
|
import { PoButtonComponent } from '../po-button';
|
|
4
4
|
import { PoPopupComponent } from '../po-popup';
|
|
5
5
|
import { PoWidgetBaseComponent } from './po-widget-base.component';
|
|
@@ -43,7 +43,7 @@ export declare class PoWidgetComponent extends PoWidgetBaseComponent implements
|
|
|
43
43
|
tagElement: ElementRef;
|
|
44
44
|
contentContainer: ElementRef<HTMLElement>;
|
|
45
45
|
get showTitleAction(): boolean;
|
|
46
|
-
constructor(
|
|
46
|
+
constructor();
|
|
47
47
|
ngAfterViewInit(): void;
|
|
48
48
|
get a11Level(): import("../../services").PoThemeA11yEnum;
|
|
49
49
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -2,7 +2,6 @@ import { ComponentRef, OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import { PoLanguageService } from '../po-language/po-language.service';
|
|
3
3
|
import { PoModalAction } from '../../components/po-modal/po-modal-action.interface';
|
|
4
4
|
import { PoModalComponent } from '../../components/po-modal/po-modal.component';
|
|
5
|
-
import { PoThemeService } from '../po-theme/po-theme.service';
|
|
6
5
|
import { PoDialogType } from './enums/po-dialog.enum';
|
|
7
6
|
import { PoDialogAlertLiterals } from './interfaces/po-dialog-alert-literals.interface';
|
|
8
7
|
import { PoDialogConfirmLiterals } from './interfaces/po-dialog-confirm-literals.interface';
|
|
@@ -28,7 +27,6 @@ export declare const poDialogConfirmLiteralsDefault: {
|
|
|
28
27
|
* Componente que serve como container do po-dialog.service
|
|
29
28
|
*/
|
|
30
29
|
export declare class PoDialogComponent implements OnDestroy, OnInit {
|
|
31
|
-
protected poThemeService: PoThemeService;
|
|
32
30
|
poModal: PoModalComponent;
|
|
33
31
|
title: string;
|
|
34
32
|
message: string;
|
|
@@ -43,7 +41,7 @@ export declare class PoDialogComponent implements OnDestroy, OnInit {
|
|
|
43
41
|
private language;
|
|
44
42
|
set componentsSize(value: string);
|
|
45
43
|
get componentsSize(): string;
|
|
46
|
-
constructor(languageService: PoLanguageService
|
|
44
|
+
constructor(languageService: PoLanguageService);
|
|
47
45
|
ngOnDestroy(): void;
|
|
48
46
|
ngOnInit(): void;
|
|
49
47
|
close(xClosed?: boolean): void;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ComponentRef } from '@angular/core';
|
|
2
2
|
import { PoToaster } from '../../components/po-toaster';
|
|
3
|
-
import { PoThemeService } from '../po-theme';
|
|
4
3
|
import { PoNotification } from './po-notification.interface';
|
|
5
4
|
/**
|
|
6
5
|
* @description
|
|
@@ -24,11 +23,9 @@ import { PoNotification } from './po-notification.interface';
|
|
|
24
23
|
*
|
|
25
24
|
*/
|
|
26
25
|
export declare abstract class PoNotificationBaseService {
|
|
27
|
-
protected poThemeService: PoThemeService;
|
|
28
26
|
stackTop: Array<ComponentRef<any>>;
|
|
29
27
|
stackBottom: Array<ComponentRef<any>>;
|
|
30
28
|
private defaultDuration;
|
|
31
|
-
constructor(poThemeService: PoThemeService);
|
|
32
29
|
/**
|
|
33
30
|
* Emite uma notificação de sucesso.
|
|
34
31
|
*
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PoToaster } from '../../components/po-toaster';
|
|
2
|
-
import { PoThemeService } from '../po-theme';
|
|
3
2
|
import { PoComponentInjectorService } from './../po-component-injector/po-component-injector.service';
|
|
4
3
|
import { PoNotificationBaseService } from './po-notification-base.service';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
@@ -25,8 +24,7 @@ import * as i0 from "@angular/core";
|
|
|
25
24
|
*/
|
|
26
25
|
export declare class PoNotificationService extends PoNotificationBaseService {
|
|
27
26
|
private poComponentInjector;
|
|
28
|
-
|
|
29
|
-
constructor(poComponentInjector: PoComponentInjectorService, poThemeService: PoThemeService);
|
|
27
|
+
constructor(poComponentInjector: PoComponentInjectorService);
|
|
30
28
|
createToaster(toaster: PoToaster): void;
|
|
31
29
|
destroyToaster(toaster: any): void;
|
|
32
30
|
private observableOnClose;
|
package/lib/utils/util.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PoThemeService } from '../services/po-theme/po-theme.service';
|
|
2
|
+
import { PoThemeA11yEnum } from '../services/po-theme/enum/po-theme-a11y.enum';
|
|
2
3
|
/**
|
|
3
4
|
* Converte e formata os bytes em formato mais legível para o usuário.
|
|
4
5
|
*
|
|
@@ -16,9 +17,15 @@ export declare function formatBytes(bytes: number, decimals?: number): string;
|
|
|
16
17
|
*/
|
|
17
18
|
export declare function getBrowserLanguage(): string;
|
|
18
19
|
/**
|
|
20
|
+
* @deprecated use getDefaultSizeFn
|
|
21
|
+
*
|
|
19
22
|
* Retorna o tamanho padrão dos componentes conforme o nível de acessibilidade.
|
|
20
23
|
*/
|
|
21
24
|
export declare function getDefaultSize<T>(poThemeService: PoThemeService, sizeEnum: T): T[keyof T];
|
|
25
|
+
/**
|
|
26
|
+
* Retorna o tamanho padrão dos componentes conforme o nível de acessibilidade.
|
|
27
|
+
*/
|
|
28
|
+
export declare function getDefaultSizeFn<T>(sizeEnum: T): T[keyof T];
|
|
22
29
|
/**
|
|
23
30
|
* Retorna o idioma do navegador, com somente as duas primeiras letras. Por exemplo: "pt" ou "es".
|
|
24
31
|
*
|
|
@@ -244,6 +251,24 @@ export declare function replaceFormatSeparator(format: string, separator: string
|
|
|
244
251
|
*/
|
|
245
252
|
export declare function sortArrayOfObjects(items: any, key: any, isAscendingOrder: any): any;
|
|
246
253
|
/**
|
|
254
|
+
* @deprecated use validateSizeFn
|
|
255
|
+
*
|
|
247
256
|
* Valida e retorna um tamanho permitido para os componentes, considerando a acessibilidade.
|
|
248
257
|
*/
|
|
249
258
|
export declare function validateSize<T>(value: string, poThemeService: PoThemeService, sizeEnum: T): T[keyof T];
|
|
259
|
+
/**
|
|
260
|
+
* Valida e retorna um tamanho permitido para os componentes, considerando a acessibilidade.
|
|
261
|
+
*/
|
|
262
|
+
export declare function validateSizeFn<T>(value: string, sizeEnum: T): T[keyof T];
|
|
263
|
+
/**
|
|
264
|
+
* Retorna a preferência global de tamanho dos componentes.
|
|
265
|
+
*
|
|
266
|
+
* @returns `'small'` ou `'medium'`.
|
|
267
|
+
*/
|
|
268
|
+
export declare function getA11yDefaultSize(): string;
|
|
269
|
+
/**
|
|
270
|
+
* Retorna o nível de acessibilidade configurado no tema.
|
|
271
|
+
* Se não estiver configurado, retorna `AAA` como padrão.
|
|
272
|
+
* @returns {PoThemeA11yEnum} O nível de acessibilidade, que pode ser `AA` ou `AAA`.
|
|
273
|
+
*/
|
|
274
|
+
export declare function getA11yLevel(): PoThemeA11yEnum;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@po-ui/ng-components",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.26.0",
|
|
4
4
|
"description": "PO UI - Components",
|
|
5
5
|
"author": "PO UI",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@angular/cdk": "~19.0.3",
|
|
25
|
-
"@po-ui/style": "19.
|
|
26
|
-
"@po-ui/ng-schematics": "19.
|
|
25
|
+
"@po-ui/style": "19.26.0",
|
|
26
|
+
"@po-ui/ng-schematics": "19.26.0",
|
|
27
27
|
"echarts": "^5.6.0",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@angular/platform-browser-dynamic": "^19",
|
|
39
39
|
"@angular/router": "^19",
|
|
40
40
|
"@angular-devkit/schematics": "^19",
|
|
41
|
-
"@po-ui/style": "19.
|
|
41
|
+
"@po-ui/style": "19.26.0",
|
|
42
42
|
"rxjs": "~7.8.1",
|
|
43
43
|
"zone.js": "~0.15.0"
|
|
44
44
|
},
|
|
Binary file
|
|
@@ -18,7 +18,7 @@ function default_1(options) {
|
|
|
18
18
|
}
|
|
19
19
|
function addPoPackageAndInstall() {
|
|
20
20
|
return (tree, context) => {
|
|
21
|
-
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '19.
|
|
21
|
+
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '19.26.0');
|
|
22
22
|
// install packages
|
|
23
23
|
context.addTask(new tasks_1.NodePackageInstallTask());
|
|
24
24
|
};
|
|
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
6
6
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
7
7
|
const changes_1 = require("./changes");
|
|
8
8
|
function default_1() {
|
|
9
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.26.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
@@ -11,7 +11,7 @@ const changes_1 = require("./changes");
|
|
|
11
11
|
const httpClientModuleName = 'HttpClientModule';
|
|
12
12
|
const httpClientModuleSourcePath = '@angular/common/http';
|
|
13
13
|
function default_1() {
|
|
14
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.
|
|
14
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.26.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
15
15
|
}
|
|
16
16
|
function postUpdate() {
|
|
17
17
|
return (_, context) => {
|
|
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
6
6
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
7
7
|
const changes_1 = require("./changes");
|
|
8
8
|
function default_1() {
|
|
9
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.26.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
6
6
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
7
7
|
const changes_1 = require("./changes");
|
|
8
8
|
function default_1() {
|
|
9
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.26.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
@@ -40,11 +40,11 @@ function main(options) {
|
|
|
40
40
|
configureNewIcon.toLowerCase() === 'y' ||
|
|
41
41
|
configureNewIcon.toLowerCase() === 'sim' ||
|
|
42
42
|
configureNewIcon.toLowerCase() === '') {
|
|
43
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.
|
|
43
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.26.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
46
|
return (0, schematics_1.chain)([
|
|
47
|
-
(0, package_config_1.updatePackageJson)('19.
|
|
47
|
+
(0, package_config_1.updatePackageJson)('19.26.0', changes_1.updateDepedenciesVersion),
|
|
48
48
|
addImportOnly(options, [IconsDictionaryName, poIconDictionary], poModuleSourcePath),
|
|
49
49
|
addProviderToAppModule(options, newProviderDictionary),
|
|
50
50
|
updateAppConfigFileRule(),
|
|
@@ -40,11 +40,11 @@ function main(options) {
|
|
|
40
40
|
configureNewIcon.toLowerCase() === 'y' ||
|
|
41
41
|
configureNewIcon.toLowerCase() === 'sim' ||
|
|
42
42
|
configureNewIcon.toLowerCase() === '') {
|
|
43
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.
|
|
43
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.26.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
46
|
return (0, schematics_1.chain)([
|
|
47
|
-
(0, package_config_1.updatePackageJson)('19.
|
|
47
|
+
(0, package_config_1.updatePackageJson)('19.26.0', changes_1.updateDepedenciesVersion),
|
|
48
48
|
addImportOnly(options, [IconsDictionaryName, poIconDictionary], poModuleSourcePath),
|
|
49
49
|
addProviderToAppModule(options, newProviderDictionary),
|
|
50
50
|
updateAppConfigFileRule(),
|
|
@@ -10,7 +10,7 @@ const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
|
10
10
|
const changes_1 = require("./changes");
|
|
11
11
|
function updateToV2() {
|
|
12
12
|
return (0, schematics_1.chain)([
|
|
13
|
-
updatePackageJson('19.
|
|
13
|
+
updatePackageJson('19.26.0', changes_1.dependeciesChanges),
|
|
14
14
|
(0, replace_1.replaceInFile)('tslint.json', changes_1.tsLintReplaces),
|
|
15
15
|
(0, replace_1.replaceInFile)('angular.json', changes_1.angularJsonReplaces),
|
|
16
16
|
createUpgradeRule(),
|