@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PoTreeViewItem } from '../po-tree-view-item/po-tree-view-item.interface';
|
|
2
2
|
export declare class PoTreeViewService {
|
|
3
|
-
private expandedEvent;
|
|
4
|
-
private selectedEvent;
|
|
3
|
+
private readonly expandedEvent;
|
|
4
|
+
private readonly selectedEvent;
|
|
5
5
|
emitExpandedEvent(treeViewItem: PoTreeViewItem): void;
|
|
6
6
|
emitSelectedEvent(treeViewItem: PoTreeViewItem): void;
|
|
7
7
|
onExpand(): import("rxjs").Observable<PoTreeViewItem>;
|
|
@@ -171,8 +171,6 @@ export declare class PoWidgetBaseComponent {
|
|
|
171
171
|
*/
|
|
172
172
|
tagIcon: string | TemplateRef<void>;
|
|
173
173
|
/**
|
|
174
|
-
* @Input p-tag-position
|
|
175
|
-
*
|
|
176
174
|
* @optional
|
|
177
175
|
*
|
|
178
176
|
* @description
|
|
@@ -210,8 +208,6 @@ export declare class PoWidgetBaseComponent {
|
|
|
210
208
|
set size(value: string);
|
|
211
209
|
get size(): string;
|
|
212
210
|
/**
|
|
213
|
-
* @Input p-avatar
|
|
214
|
-
*
|
|
215
211
|
* @optional
|
|
216
212
|
*
|
|
217
213
|
* @description
|
|
@@ -24,9 +24,9 @@ import { DomSanitizer } from '@angular/platform-browser';
|
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class PoTooltipDirective extends PoTooltipBaseDirective implements OnInit, OnDestroy {
|
|
27
|
-
private elementRef;
|
|
28
|
-
private renderer;
|
|
29
|
-
private poControlPosition;
|
|
27
|
+
private readonly elementRef;
|
|
28
|
+
private readonly renderer;
|
|
29
|
+
private readonly poControlPosition;
|
|
30
30
|
private readonly sanitizer;
|
|
31
31
|
private arrowDirection;
|
|
32
32
|
private divArrow;
|
|
@@ -34,7 +34,7 @@ export declare class PoTooltipDirective extends PoTooltipBaseDirective implement
|
|
|
34
34
|
private isHidden;
|
|
35
35
|
private lastTooltipText;
|
|
36
36
|
private textContent;
|
|
37
|
-
private tooltipOffset;
|
|
37
|
+
private readonly tooltipOffset;
|
|
38
38
|
private eventListenerFunction;
|
|
39
39
|
constructor(elementRef: ElementRef, renderer: Renderer2, poControlPosition: PoTooltipControlPositionService, sanitizer: DomSanitizer);
|
|
40
40
|
ngOnDestroy(): void;
|
|
@@ -165,9 +165,9 @@ import { PoLanguageService } from '../../services/po-language/po-language.servic
|
|
|
165
165
|
*
|
|
166
166
|
*/
|
|
167
167
|
export declare abstract class PoHttpInterceptorBaseService implements HttpInterceptor {
|
|
168
|
-
private componentInjector;
|
|
169
|
-
private notification;
|
|
170
|
-
private languageService;
|
|
168
|
+
private readonly componentInjector;
|
|
169
|
+
private readonly notification;
|
|
170
|
+
private readonly languageService;
|
|
171
171
|
notificationTypes: string[];
|
|
172
172
|
literals: any;
|
|
173
173
|
private httpInterceptorDetailComponent;
|
|
@@ -17,13 +17,13 @@ export declare const colors: {
|
|
|
17
17
|
* Componente para a modal de detalhes exibida pelo interceptor
|
|
18
18
|
*/
|
|
19
19
|
export declare class PoHttpInterceptorDetailComponent implements OnInit {
|
|
20
|
-
private languageService;
|
|
20
|
+
private readonly languageService;
|
|
21
21
|
modal: PoModalComponent;
|
|
22
22
|
closed: EventEmitter<any>;
|
|
23
23
|
details: Array<PoHttpInterceptorDetail>;
|
|
24
24
|
title: string;
|
|
25
|
-
private language;
|
|
26
|
-
private literals;
|
|
25
|
+
private readonly language;
|
|
26
|
+
private readonly literals;
|
|
27
27
|
primaryAction: PoModalAction;
|
|
28
28
|
constructor(languageService: PoLanguageService);
|
|
29
29
|
ngOnInit(): void;
|
|
@@ -142,8 +142,8 @@ import { PoHttpRequesControltService } from './po-http-request-control-service';
|
|
|
142
142
|
* </example>
|
|
143
143
|
*/
|
|
144
144
|
export declare class PoHttpRequestInterceptorService implements HttpInterceptor {
|
|
145
|
-
private controlHttpRequest;
|
|
146
|
-
private poComponentInjector;
|
|
145
|
+
private readonly controlHttpRequest;
|
|
146
|
+
private readonly poComponentInjector;
|
|
147
147
|
private loadingOverlayComponent;
|
|
148
148
|
private pendingRequests;
|
|
149
149
|
private overlayRequests;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ComponentRef, ComponentFactoryResolver, ApplicationRef, Injector } from '@angular/core';
|
|
2
2
|
export declare class PoComponentInjectorService {
|
|
3
|
-
private componentResolver;
|
|
4
|
-
private applicationRef;
|
|
5
|
-
private injector;
|
|
3
|
+
private readonly componentResolver;
|
|
4
|
+
private readonly applicationRef;
|
|
5
|
+
private readonly injector;
|
|
6
6
|
constructor(componentResolver: ComponentFactoryResolver, applicationRef: ApplicationRef, injector: Injector);
|
|
7
7
|
createComponentInApplication(component: any): ComponentRef<any>;
|
|
8
8
|
destroyComponentInApplication(componentRef: any): void;
|
|
@@ -2,12 +2,12 @@ import { ElementRef } from '@angular/core';
|
|
|
2
2
|
export declare class PoControlPositionService {
|
|
3
3
|
private arrowDirection;
|
|
4
4
|
private customPositions;
|
|
5
|
-
private differenceDiagonalToWidthArrow;
|
|
5
|
+
private readonly differenceDiagonalToWidthArrow;
|
|
6
6
|
private element;
|
|
7
7
|
private elementOffset;
|
|
8
8
|
private isCornerAligned;
|
|
9
9
|
private isSetElementWidth;
|
|
10
|
-
private offsetArrow;
|
|
10
|
+
private readonly offsetArrow;
|
|
11
11
|
private targetElement;
|
|
12
12
|
/**
|
|
13
13
|
* @description Ajusta a posição do elemento, caso não couber em tela irá para próxima posição.
|
|
@@ -38,7 +38,7 @@ export declare class PoDialogComponent implements OnDestroy, OnInit {
|
|
|
38
38
|
private closeSubscription;
|
|
39
39
|
private _componentsSize?;
|
|
40
40
|
private _initialComponentsSize?;
|
|
41
|
-
private language;
|
|
41
|
+
private readonly language;
|
|
42
42
|
set componentsSize(value: string);
|
|
43
43
|
get componentsSize(): string;
|
|
44
44
|
constructor(languageService: PoLanguageService);
|
|
@@ -23,7 +23,7 @@ import { PoDialogType } from './enums/po-dialog.enum';
|
|
|
23
23
|
* </example>
|
|
24
24
|
*/
|
|
25
25
|
export declare class PoDialogService extends PoDialogBaseService {
|
|
26
|
-
private poComponentInjector;
|
|
26
|
+
private readonly poComponentInjector;
|
|
27
27
|
constructor(poComponentInjector: PoComponentInjectorService);
|
|
28
28
|
openDialog(dialogType: PoDialogType, dialogOptions: PoDialogAlertOptions | PoDialogConfirmOptions): void;
|
|
29
29
|
}
|
|
@@ -159,9 +159,9 @@ import { PoI18nLiterals } from './interfaces/po-i18n-literals.interface';
|
|
|
159
159
|
* ```
|
|
160
160
|
*/
|
|
161
161
|
export declare class PoI18nBaseService {
|
|
162
|
-
private config?;
|
|
163
|
-
private http?;
|
|
164
|
-
private languageService?;
|
|
162
|
+
private readonly config?;
|
|
163
|
+
private readonly http?;
|
|
164
|
+
private readonly languageService?;
|
|
165
165
|
private varI18n;
|
|
166
166
|
private contextDefault;
|
|
167
167
|
private useCache;
|
|
@@ -52,7 +52,7 @@ import { PoMediaQueryTokens } from './po-media-query.interface';
|
|
|
52
52
|
*
|
|
53
53
|
*/
|
|
54
54
|
export declare class PoMediaQueryService {
|
|
55
|
-
private renderer;
|
|
55
|
+
private readonly renderer;
|
|
56
56
|
constructor(rendererFactory: RendererFactory2);
|
|
57
57
|
/**
|
|
58
58
|
* Método que replica as regras baseando-se pelos tokens de media query dentro das folhas de estilo do documento, permitindo a modificação dinâmica
|
|
@@ -22,7 +22,7 @@ import { PoNotificationBaseService } from './po-notification-base.service';
|
|
|
22
22
|
* </example>
|
|
23
23
|
*/
|
|
24
24
|
export declare class PoNotificationService extends PoNotificationBaseService {
|
|
25
|
-
private poComponentInjector;
|
|
25
|
+
private readonly poComponentInjector;
|
|
26
26
|
constructor(poComponentInjector: PoComponentInjectorService);
|
|
27
27
|
createToaster(toaster: PoToaster): void;
|
|
28
28
|
destroyToaster(toaster: any): void;
|
|
@@ -31,8 +31,8 @@ import { PoTheme, PoThemeActive } from './interfaces/po-theme.interface';
|
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
export declare class PoThemeService {
|
|
34
|
-
private document;
|
|
35
|
-
private renderer;
|
|
34
|
+
private readonly document;
|
|
35
|
+
private readonly renderer;
|
|
36
36
|
private theme;
|
|
37
37
|
constructor(document: Document, rendererFactory: RendererFactory2);
|
|
38
38
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@po-ui/ng-components",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.8.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": "~21.0.3",
|
|
25
|
-
"@po-ui/style": "21.
|
|
26
|
-
"@po-ui/ng-schematics": "21.
|
|
25
|
+
"@po-ui/style": "21.8.0",
|
|
26
|
+
"@po-ui/ng-schematics": "21.8.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": "^21",
|
|
39
39
|
"@angular/router": "^21",
|
|
40
40
|
"@angular-devkit/schematics": "^21",
|
|
41
|
-
"@po-ui/style": "21.
|
|
41
|
+
"@po-ui/style": "21.8.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', '21.
|
|
21
|
+
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '21.8.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)('21.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.8.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)('21.
|
|
14
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.8.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)('21.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.8.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)('21.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.8.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)('21.
|
|
43
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.8.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
46
|
return (0, schematics_1.chain)([
|
|
47
|
-
(0, package_config_1.updatePackageJson)('21.
|
|
47
|
+
(0, package_config_1.updatePackageJson)('21.8.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)('21.
|
|
43
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.8.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
46
|
return (0, schematics_1.chain)([
|
|
47
|
-
(0, package_config_1.updatePackageJson)('21.
|
|
47
|
+
(0, package_config_1.updatePackageJson)('21.8.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('21.
|
|
13
|
+
updatePackageJson('21.8.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(),
|
|
@@ -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)('21.
|
|
43
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.8.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
46
|
return (0, schematics_1.chain)([
|
|
47
|
-
(0, package_config_1.updatePackageJson)('21.
|
|
47
|
+
(0, package_config_1.updatePackageJson)('21.8.0', changes_1.updateDepedenciesVersion),
|
|
48
48
|
addImportOnly(options, [IconsDictionaryName, poIconDictionary], poModuleSourcePath),
|
|
49
49
|
addProviderToAppModule(options, newProviderDictionary),
|
|
50
50
|
updateAppConfigFileRule(),
|
|
@@ -9,7 +9,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
|
|
|
9
9
|
const changes_1 = require("./changes");
|
|
10
10
|
function main() {
|
|
11
11
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
12
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.
|
|
12
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.8.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
13
13
|
});
|
|
14
14
|
}
|
|
15
15
|
function default_1() {
|
|
@@ -7,7 +7,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
|
|
|
7
7
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
8
8
|
const changes_1 = require("./changes");
|
|
9
9
|
function updateToV3() {
|
|
10
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.8.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
11
11
|
}
|
|
12
12
|
function postUpdate() {
|
|
13
13
|
return (_, context) => {
|
|
@@ -7,7 +7,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
|
|
|
7
7
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
8
8
|
const changes_1 = require("./changes");
|
|
9
9
|
function default_1() {
|
|
10
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.8.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
11
11
|
}
|
|
12
12
|
function postUpdate() {
|
|
13
13
|
return (_, context) => {
|
|
@@ -7,7 +7,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
|
|
|
7
7
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
8
8
|
const changes_1 = require("./changes");
|
|
9
9
|
function default_1() {
|
|
10
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.8.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
11
11
|
}
|
|
12
12
|
function postUpdate() {
|
|
13
13
|
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)('21.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.8.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|