@po-ui/ng-components 21.6.0 → 21.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/po-ui-ng-components.mjs +729 -191
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/po-accordion/po-accordion-base.component.d.ts +1 -1
- package/lib/components/po-accordion/po-accordion-item/po-accordion-item.component.d.ts +3 -3
- package/lib/components/po-accordion/po-accordion-item-header/po-accordion-item-header.component.d.ts +1 -1
- package/lib/components/po-accordion/po-accordion.component.d.ts +1 -1
- package/lib/components/po-accordion/services/po-accordion.service.d.ts +1 -1
- package/lib/components/po-badge/po-badge.component.d.ts +1 -1
- package/lib/components/po-breadcrumb/po-breadcrumb-favorite/po-breadcrumb-favorite.component.d.ts +2 -2
- package/lib/components/po-breadcrumb/po-breadcrumb-favorite/po-breadcrumb-favorite.service.d.ts +1 -1
- package/lib/components/po-breadcrumb/po-breadcrumb.component.d.ts +2 -2
- package/lib/components/po-button/po-button-base.component.d.ts +0 -8
- package/lib/components/po-button-group/po-button-group-base.component.d.ts +0 -2
- package/lib/components/po-calendar/po-calendar-base.component.d.ts +2 -2
- package/lib/components/po-calendar/po-calendar-wrapper/po-calendar-wrapper.component.d.ts +3 -3
- package/lib/components/po-calendar/po-calendar.component.d.ts +1 -1
- package/lib/components/po-calendar/services/po-calendar.lang.service.d.ts +7 -7
- package/lib/components/po-context-menu/index.d.ts +3 -0
- package/lib/components/po-context-menu/po-context-menu-base.component.d.ts +92 -0
- package/lib/components/po-context-menu/po-context-menu-item.interface.d.ts +15 -0
- package/lib/components/po-context-menu/po-context-menu.component.d.ts +51 -0
- package/lib/components/po-context-menu/po-context-menu.module.d.ts +7 -0
- package/lib/components/po-disclaimer/po-disclaimer-base.component.d.ts +1 -1
- package/lib/components/po-disclaimer-group/po-disclaimer-group-base.component.d.ts +1 -1
- package/lib/components/po-disclaimer-group/po-disclaimer-group.component.d.ts +1 -1
- package/lib/components/po-dropdown/po-dropdown.component.d.ts +3 -3
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields-base.component.d.ts +1 -1
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-operation/po-dynamic-form-operation.d.ts +1 -1
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form.component.d.ts +4 -4
- package/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view-base.component.d.ts +5 -5
- package/lib/components/po-dynamic/po-dynamic-view/services/po-dynamic-view.service.d.ts +1 -1
- package/lib/components/po-field/po-checkbox/po-checkbox-base.component.d.ts +0 -6
- package/lib/components/po-field/po-checkbox-group/po-checkbox-group-base.component.d.ts +0 -6
- package/lib/components/po-field/po-checkbox-group/po-checkbox-group.component.d.ts +2 -2
- package/lib/components/po-field/po-combo/po-combo-base.component.d.ts +1 -7
- package/lib/components/po-field/po-combo/po-combo-filter.service.d.ts +1 -1
- package/lib/components/po-field/po-combo/po-combo.component.d.ts +3 -3
- package/lib/components/po-field/po-datepicker/po-datepicker-base.component.d.ts +0 -6
- package/lib/components/po-field/po-datepicker/po-datepicker.component.d.ts +3 -3
- package/lib/components/po-field/po-datepicker-range/po-datepicker-range-base.component.d.ts +2 -8
- package/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.d.ts +6 -6
- package/lib/components/po-field/po-decimal/po-decimal.component.d.ts +4 -4
- package/lib/components/po-field/po-email/po-email.component.d.ts +1 -1
- package/lib/components/po-field/po-field-container/po-field-container-bottom/po-field-container-bottom.component.d.ts +1 -1
- package/lib/components/po-field/po-field-container/po-field-container.component.d.ts +0 -2
- package/lib/components/po-field/po-input/po-input-base.component.d.ts +0 -6
- package/lib/components/po-field/po-lookup/po-lookup-base.component.d.ts +0 -6
- package/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal-base.component.d.ts +1 -1
- package/lib/components/po-field/po-lookup/po-lookup.component.d.ts +3 -3
- package/lib/components/po-field/po-lookup/services/po-lookup-filter.service.d.ts +1 -1
- package/lib/components/po-field/po-lookup/services/po-lookup-modal.service.d.ts +1 -1
- package/lib/components/po-field/po-multiselect/po-multiselect-base.component.d.ts +1 -7
- package/lib/components/po-field/po-multiselect/po-multiselect-dropdown/po-multiselect-dropdown.component.d.ts +1 -1
- package/lib/components/po-field/po-multiselect/po-multiselect-filter.service.d.ts +2 -2
- package/lib/components/po-field/po-multiselect/po-multiselect.component.d.ts +5 -5
- package/lib/components/po-field/po-radio/po-radio.component.d.ts +2 -2
- package/lib/components/po-field/po-radio-group/po-radio-group-base.component.d.ts +1 -7
- package/lib/components/po-field/po-radio-group/po-radio-group.component.d.ts +1 -1
- package/lib/components/po-field/po-rich-text/po-rich-text-base.component.d.ts +27 -9
- package/lib/components/po-field/po-rich-text/po-rich-text-body/po-rich-text-body.component.d.ts +17 -4
- package/lib/components/po-field/po-rich-text/po-rich-text-image-modal/po-rich-text-image-modal.component.d.ts +1 -1
- package/lib/components/po-field/po-rich-text/po-rich-text-link-modal/po-rich-text-link-modal.component.d.ts +1 -1
- package/lib/components/po-field/po-rich-text/po-rich-text-toolbar/po-rich-text-toolbar.component.d.ts +2 -1
- package/lib/components/po-field/po-rich-text/po-rich-text.component.d.ts +2 -2
- package/lib/components/po-field/po-rich-text/po-rich-text.service.d.ts +1 -1
- package/lib/components/po-field/po-select/po-select.component.d.ts +1 -7
- package/lib/components/po-field/po-switch/po-switch.component.d.ts +0 -7
- package/lib/components/po-field/po-textarea/po-textarea-base.component.d.ts +14 -6
- package/lib/components/po-field/po-textarea/po-textarea.component.d.ts +12 -3
- package/lib/components/po-field/po-upload/po-upload-base.component.d.ts +15 -7
- package/lib/components/po-field/po-upload/po-upload-base.service.d.ts +1 -1
- package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop-area-overlay/po-upload-drag-drop-area-overlay.component.d.ts +1 -1
- package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.component.d.ts +1 -1
- package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.directive.d.ts +2 -2
- package/lib/components/po-field/po-upload/po-upload-file-restrictions/po-upload-file-restrictions.component.d.ts +2 -2
- package/lib/components/po-field/po-upload/po-upload.component.d.ts +6 -4
- package/lib/components/po-field/po-url/po-url.component.d.ts +1 -1
- package/lib/components/po-grid/po-grid-cell/po-grid-cell.component.d.ts +1 -1
- package/lib/components/po-grid/po-grid.component.d.ts +3 -3
- package/lib/components/po-header/interfaces/po-header-action-tool.interface.d.ts +10 -2
- package/lib/components/po-header/po-header-base.component.d.ts +31 -5
- package/lib/components/po-header/po-header-brand/po-header-brand.component.d.ts +3 -2
- package/lib/components/po-header/po-header-customer/po-header-customer.component.d.ts +1 -0
- package/lib/components/po-header/po-header-menu-item/po-header-menu-item.component.d.ts +3 -2
- package/lib/components/po-header/po-header-tools/po-header-tools.component.d.ts +3 -2
- package/lib/components/po-header/po-header.component.d.ts +4 -4
- package/lib/components/po-helper/po-helper-base.component.d.ts +0 -8
- package/lib/components/po-icon/po-icon.component.d.ts +1 -1
- package/lib/components/po-list-view/po-list-view-base.component.d.ts +1 -1
- package/lib/components/po-list-view/po-list-view.component.d.ts +2 -2
- package/lib/components/po-listbox/po-item-list/po-item-list-base.component.d.ts +2 -2
- package/lib/components/po-listbox/po-listbox-base.component.d.ts +1 -1
- package/lib/components/po-listbox/po-search-list/po-search-list.component.d.ts +1 -1
- package/lib/components/po-loading/po-loading-overlay/po-loading-overlay-base.component.d.ts +1 -1
- package/lib/components/po-menu/po-menu-base.component.d.ts +13 -1
- package/lib/components/po-menu/po-menu-item/po-menu-item.component.d.ts +1 -1
- package/lib/components/po-menu/po-menu.component.d.ts +5 -4
- package/lib/components/po-menu/services/po-menu-global.service.d.ts +5 -5
- package/lib/components/po-menu/services/po-menu-items.service.d.ts +2 -2
- package/lib/components/po-menu/services/po-menu.service.d.ts +1 -1
- package/lib/components/po-menu-panel/po-menu-panel-item/po-menu-panel-item.component.d.ts +1 -1
- package/lib/components/po-menu-panel/po-menu-panel.component.d.ts +3 -3
- package/lib/components/po-menu-panel/services/po-menu-panel-items.service.d.ts +2 -2
- package/lib/components/po-modal/po-modal.component.d.ts +3 -3
- package/lib/components/po-navbar/po-navbar-actions/po-navbar-action/po-navbar-action.component.d.ts +1 -1
- package/lib/components/po-navbar/po-navbar-base.component.d.ts +1 -1
- package/lib/components/po-navbar/po-navbar-items/po-navbar-items.component.d.ts +1 -1
- package/lib/components/po-navbar/po-navbar.component.d.ts +7 -7
- package/lib/components/po-page/po-page-default/po-page-default.component.d.ts +3 -3
- package/lib/components/po-page/po-page-detail/po-page-detail-base.component.d.ts +1 -1
- package/lib/components/po-page/po-page-edit/po-page-edit-base.component.d.ts +1 -1
- package/lib/components/po-page/po-page-list/po-page-list.component.d.ts +3 -3
- package/lib/components/po-page/po-page-slide/po-page-slide.component.d.ts +4 -4
- package/lib/components/po-popover/po-popover-base.component.d.ts +2 -2
- package/lib/components/po-popover/po-popover.component.d.ts +6 -1
- package/lib/components/po-popup/po-popup.component.d.ts +4 -4
- package/lib/components/po-progress/po-progress.component.d.ts +2 -2
- package/lib/components/po-skeleton/po-skeleton-base.component.d.ts +0 -23
- package/lib/components/po-slide/po-slide.component.d.ts +4 -4
- package/lib/components/po-stepper/po-step/po-step.component.d.ts +1 -1
- package/lib/components/po-stepper/po-stepper-label/po-stepper-label.component.d.ts +3 -3
- package/lib/components/po-stepper/po-stepper.component.d.ts +1 -1
- package/lib/components/po-table/po-table-base.component.d.ts +3 -3
- package/lib/components/po-table/po-table-column-frozen/po-table-column-frozen.directive.d.ts +2 -2
- package/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.d.ts +2 -2
- package/lib/components/po-table/po-table-detail/po-table-detail.component.d.ts +1 -1
- package/lib/components/po-table/po-table-list-manager/po-table-list-manager.component.d.ts +2 -2
- package/lib/components/po-table/po-table-subtitle-circle/po-table-subtitle-circle.component.d.ts +1 -1
- package/lib/components/po-table/po-table-subtitle-footer/po-table-subtitle-footer.component.d.ts +1 -1
- package/lib/components/po-table/po-table.component.d.ts +6 -6
- package/lib/components/po-table/services/po-table.service.d.ts +1 -1
- package/lib/components/po-tabs/po-tab/po-tab-base.component.d.ts +11 -1
- package/lib/components/po-tabs/po-tab/po-tab.component.d.ts +1 -1
- package/lib/components/po-tabs/po-tab-button/po-tab-button.component.d.ts +1 -1
- package/lib/components/po-tabs/po-tab-dropdown/po-tab-dropdown.component.d.ts +1 -1
- package/lib/components/po-tabs/po-tabs.component.d.ts +22 -2
- package/lib/components/po-tabs/po-tabs.service.d.ts +2 -2
- package/lib/components/po-tag/po-tag-base.component.d.ts +1 -1
- package/lib/components/po-tag/po-tag.component.d.ts +2 -2
- package/lib/components/po-toaster/po-toaster-base.component.d.ts +1 -1
- package/lib/components/po-toaster/po-toaster.component.d.ts +1 -1
- package/lib/components/po-toolbar/po-toolbar-notification/po-toolbar-notification.component.d.ts +1 -1
- package/lib/components/po-toolbar/po-toolbar.component.d.ts +1 -1
- package/lib/components/po-tree-view/po-tree-view-item/po-tree-view-item.component.d.ts +1 -1
- package/lib/components/po-tree-view/po-tree-view.component.d.ts +1 -1
- package/lib/components/po-tree-view/services/po-tree-view.service.d.ts +2 -2
- package/lib/components/po-widget/po-widget-base.component.d.ts +0 -4
- package/lib/directives/po-tooltip/po-tooltip.directive.d.ts +4 -4
- package/lib/interceptors/po-http-interceptor/po-http-interceptor-base.service.d.ts +3 -3
- package/lib/interceptors/po-http-interceptor/po-http-interceptor-detail/po-http-interceptor-detail.component.d.ts +3 -3
- package/lib/interceptors/po-http-request/po-http-request-interceptor.service.d.ts +2 -2
- package/lib/services/po-component-injector/po-component-injector.service.d.ts +3 -3
- package/lib/services/po-control-position/po-control-position.service.d.ts +3 -3
- package/lib/services/po-dialog/po-dialog.component.d.ts +1 -1
- package/lib/services/po-dialog/po-dialog.service.d.ts +1 -1
- package/lib/services/po-i18n/po-i18n-base.service.d.ts +3 -3
- package/lib/services/po-media-query/po-media-query.service.d.ts +1 -1
- package/lib/services/po-notification/po-notification.service.d.ts +1 -1
- package/lib/services/po-theme/po-theme.service.d.ts +2 -2
- package/package.json +4 -4
- package/po-ui-ng-components-21.8.0.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-update/v14/index.js +1 -1
- package/schematics/ng-update/v15/index.js +1 -1
- package/schematics/ng-update/v16/index.js +1 -1
- package/schematics/ng-update/v17/index.js +1 -1
- package/schematics/ng-update/v18/index.js +2 -2
- package/schematics/ng-update/v19/index.js +2 -2
- package/schematics/ng-update/v2/index.js +1 -1
- package/schematics/ng-update/v20/index.js +2 -2
- package/schematics/ng-update/v21/index.js +1 -1
- package/schematics/ng-update/v3/index.js +1 -1
- package/schematics/ng-update/v4/index.js +1 -1
- package/schematics/ng-update/v5/index.js +1 -1
- package/schematics/ng-update/v6/index.js +1 -1
- package/types/po-ui-ng-components.d.ts +634 -413
- package/po-ui-ng-components-21.6.0.tgz +0 -0
|
@@ -70,8 +70,8 @@ import { PoTableColumnSpacing } from './enums/po-table-spacing.enum';
|
|
|
70
70
|
* </example>
|
|
71
71
|
*/
|
|
72
72
|
export declare class PoTableComponent extends PoTableBaseComponent implements AfterViewInit, DoCheck, OnDestroy, OnInit {
|
|
73
|
-
private changeDetector;
|
|
74
|
-
private decimalPipe;
|
|
73
|
+
private readonly changeDetector;
|
|
74
|
+
private readonly decimalPipe;
|
|
75
75
|
private readonly defaultService;
|
|
76
76
|
tableRowTemplate: PoTableRowTemplateDirective;
|
|
77
77
|
tableCellTemplate: PoTableCellTemplateDirective;
|
|
@@ -111,15 +111,15 @@ export declare class PoTableComponent extends PoTableBaseComponent implements Af
|
|
|
111
111
|
confirm: PoModalAction;
|
|
112
112
|
private _columnManagerTarget;
|
|
113
113
|
private _columnManagerTargetFixed;
|
|
114
|
-
private differ;
|
|
114
|
+
private readonly differ;
|
|
115
115
|
private footerHeight;
|
|
116
116
|
private timeoutResize;
|
|
117
117
|
private visibleElement;
|
|
118
118
|
private scrollEvent$;
|
|
119
119
|
private subscriptionScrollEvent;
|
|
120
|
-
private subscriptionService;
|
|
121
|
-
private clickListener;
|
|
122
|
-
private resizeListener;
|
|
120
|
+
private readonly subscriptionService;
|
|
121
|
+
private readonly clickListener;
|
|
122
|
+
private readonly resizeListener;
|
|
123
123
|
set columnManagerTarget(value: ElementRef);
|
|
124
124
|
get columnManagerTarget(): ElementRef;
|
|
125
125
|
set columnManagerTargetFixed(value: ElementRef);
|
|
@@ -3,7 +3,7 @@ import { Observable } from 'rxjs';
|
|
|
3
3
|
import { PoTableFilter } from '../interfaces/po-table-filter.interface';
|
|
4
4
|
import { PoTableFilteredItemsParams } from '../interfaces/po-table-filtered-items-params.interface';
|
|
5
5
|
export declare class PoTableService implements PoTableFilter {
|
|
6
|
-
private http;
|
|
6
|
+
private readonly http;
|
|
7
7
|
readonly headers: HttpHeaders;
|
|
8
8
|
private url;
|
|
9
9
|
private urlDelete;
|
|
@@ -24,6 +24,8 @@ export declare abstract class PoTabBaseComponent {
|
|
|
24
24
|
* @default `false`
|
|
25
25
|
*/
|
|
26
26
|
hideClose: boolean;
|
|
27
|
+
/** ID da Tab */
|
|
28
|
+
id: string;
|
|
27
29
|
/** Método disparado ao clicar na aba. */
|
|
28
30
|
click: EventEmitter<any>;
|
|
29
31
|
/**
|
|
@@ -37,7 +39,15 @@ export declare abstract class PoTabBaseComponent {
|
|
|
37
39
|
*
|
|
38
40
|
*/
|
|
39
41
|
closeTab: EventEmitter<any>;
|
|
40
|
-
|
|
42
|
+
/**
|
|
43
|
+
* @optional
|
|
44
|
+
*
|
|
45
|
+
* @description
|
|
46
|
+
*
|
|
47
|
+
* Evento emitido quando a aba é ativada.
|
|
48
|
+
* Emite a instância do componente da aba que foi ativada.
|
|
49
|
+
*/
|
|
50
|
+
activatedTab: import("@angular/core").OutputEmitterRef<PoTabBaseComponent>;
|
|
41
51
|
private _active?;
|
|
42
52
|
private _disabled?;
|
|
43
53
|
private _hide?;
|
|
@@ -5,7 +5,7 @@ import { PoTabBaseComponent } from './po-tab-base.component';
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class PoTabComponent extends PoTabBaseComponent implements AfterContentInit, OnChanges {
|
|
7
7
|
elementRef: ElementRef<any>;
|
|
8
|
-
private tabsService;
|
|
8
|
+
private readonly tabsService;
|
|
9
9
|
removed: boolean;
|
|
10
10
|
showTooltip: boolean;
|
|
11
11
|
ngAfterContentInit(): void;
|
|
@@ -8,7 +8,7 @@ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges,
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class PoTabButtonComponent implements OnChanges, AfterViewInit {
|
|
10
10
|
changeDetector: ChangeDetectorRef;
|
|
11
|
-
private elementRef;
|
|
11
|
+
private readonly elementRef;
|
|
12
12
|
tabButtom: ElementRef;
|
|
13
13
|
disabled: boolean;
|
|
14
14
|
id: string;
|
|
@@ -11,7 +11,7 @@ import { PoTabComponent } from '../po-tab/po-tab.component';
|
|
|
11
11
|
* no formato de lista.
|
|
12
12
|
*/
|
|
13
13
|
export declare class PoTabDropdownComponent implements AfterViewInit {
|
|
14
|
-
private elementRef;
|
|
14
|
+
private readonly elementRef;
|
|
15
15
|
popover: PoPopoverComponent;
|
|
16
16
|
button: PoButtonComponent;
|
|
17
17
|
label: string;
|
|
@@ -49,8 +49,8 @@ export declare const poTabsLiterals: object;
|
|
|
49
49
|
*/
|
|
50
50
|
export declare class PoTabsComponent extends PoTabsBaseComponent implements OnInit, AfterViewInit, OnDestroy, AfterContentInit {
|
|
51
51
|
changeDetector: ChangeDetectorRef;
|
|
52
|
-
private languageService;
|
|
53
|
-
private tabsService;
|
|
52
|
+
private readonly languageService;
|
|
53
|
+
private readonly tabsService;
|
|
54
54
|
tabsChildren: QueryList<PoTabComponent>;
|
|
55
55
|
tabButton: QueryList<any>;
|
|
56
56
|
tabDropdown: PoTabDropdownComponent;
|
|
@@ -118,4 +118,24 @@ export declare class PoTabsComponent extends PoTabsBaseComponent implements OnIn
|
|
|
118
118
|
private handleHomeKey;
|
|
119
119
|
private handleEndKey;
|
|
120
120
|
private handleArrowRight;
|
|
121
|
+
/**
|
|
122
|
+
* Ativa a aba correspondente ao `id` informado.
|
|
123
|
+
*
|
|
124
|
+
* Para utilizá-la é necessário ter a instância do componente no DOM, podendo ser utilizado o ViewChild da seguinte forma:
|
|
125
|
+
*
|
|
126
|
+
* ```
|
|
127
|
+
* import { PoTabsComponent } from '@po-ui/ng-components';
|
|
128
|
+
*
|
|
129
|
+
* ...
|
|
130
|
+
*
|
|
131
|
+
* @ViewChild('poTab', { static: true }) poTab: PoTabsComponent;
|
|
132
|
+
*
|
|
133
|
+
* focusOnTab() {
|
|
134
|
+
* this.poTab.activateTab('meu-id-da-aba');
|
|
135
|
+
* }
|
|
136
|
+
* ```
|
|
137
|
+
*
|
|
138
|
+
* @param id Identificador único da aba a ser ativada.
|
|
139
|
+
*/
|
|
140
|
+
activateTab(id: string): void;
|
|
121
141
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PoTabComponent } from './po-tab/po-tab.component';
|
|
2
2
|
export declare class PoTabsService {
|
|
3
|
-
private onChangesTriggeredSource;
|
|
4
|
-
private onChangesTriggeredActiveSource;
|
|
3
|
+
private readonly onChangesTriggeredSource;
|
|
4
|
+
private readonly onChangesTriggeredActiveSource;
|
|
5
5
|
onChangesTriggered$: import("rxjs").Observable<any>;
|
|
6
6
|
triggerActiveOnChanges$: import("rxjs").Observable<any>;
|
|
7
7
|
triggerOnChanges(tab?: PoTabComponent): void;
|
|
@@ -22,7 +22,7 @@ import { PoTagBaseComponent } from './po-tag-base.component';
|
|
|
22
22
|
* </example>
|
|
23
23
|
*/
|
|
24
24
|
export declare class PoTagComponent extends PoTagBaseComponent implements OnInit {
|
|
25
|
-
private el;
|
|
25
|
+
private readonly el;
|
|
26
26
|
tagContainer: ElementRef;
|
|
27
27
|
tagClose: ElementRef;
|
|
28
28
|
poTag: ElementRef;
|
|
@@ -40,7 +40,7 @@ export declare class PoTagComponent extends PoTagBaseComponent implements OnInit
|
|
|
40
40
|
} | {
|
|
41
41
|
'background-color'?: undefined;
|
|
42
42
|
};
|
|
43
|
-
private applyTextColorByContrast;
|
|
43
|
+
private readonly applyTextColorByContrast;
|
|
44
44
|
getWidthTag(): boolean;
|
|
45
45
|
setAriaLabel(): string;
|
|
46
46
|
private onRemove;
|
|
@@ -20,7 +20,7 @@ import { PoToasterBaseComponent } from './po-toaster-base.component';
|
|
|
20
20
|
*/
|
|
21
21
|
export declare class PoToasterComponent extends PoToasterBaseComponent implements AfterViewInit, OnDestroy, OnChanges {
|
|
22
22
|
changeDetector: ChangeDetectorRef;
|
|
23
|
-
private renderer;
|
|
23
|
+
private readonly renderer;
|
|
24
24
|
toaster: ElementRef;
|
|
25
25
|
buttonClose: PoButtonComponent;
|
|
26
26
|
alive: boolean;
|
package/lib/components/po-toolbar/po-toolbar-notification/po-toolbar-notification.component.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import { PoToolbarAction } from '../po-toolbar-action.interface';
|
|
|
14
14
|
* ícone de notificações.
|
|
15
15
|
*/
|
|
16
16
|
export declare class PoToolbarNotificationComponent implements AfterViewInit {
|
|
17
|
-
private cdr;
|
|
17
|
+
private readonly cdr;
|
|
18
18
|
notificationRef: ElementRef;
|
|
19
19
|
notificationActions?: Array<PoToolbarAction>;
|
|
20
20
|
private _notificationNumber?;
|
|
@@ -21,7 +21,7 @@ import { PoToolbarBaseComponent } from './po-toolbar-base.component';
|
|
|
21
21
|
* </example>
|
|
22
22
|
*/
|
|
23
23
|
export declare class PoToolbarComponent extends PoToolbarBaseComponent implements OnInit {
|
|
24
|
-
private titleService;
|
|
24
|
+
private readonly titleService;
|
|
25
25
|
ngOnInit(): void;
|
|
26
26
|
private setTitle;
|
|
27
27
|
}
|
|
@@ -26,7 +26,7 @@ import { PoTreeViewBaseComponent } from './po-tree-view-base.component';
|
|
|
26
26
|
* </example>
|
|
27
27
|
*/
|
|
28
28
|
export declare class PoTreeViewComponent extends PoTreeViewBaseComponent implements OnInit, OnChanges {
|
|
29
|
-
private treeViewService;
|
|
29
|
+
private readonly treeViewService;
|
|
30
30
|
get hasItems(): boolean;
|
|
31
31
|
ngOnInit(): void;
|
|
32
32
|
ngOnChanges(changes?: SimpleChanges): void;
|
|
@@ -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.
|
|
@@ -27,7 +27,7 @@ export declare class PoControlPositionService {
|
|
|
27
27
|
* @param targetElement elemento de onde deve partir a exibição
|
|
28
28
|
* @param customPositions posições que sobrescreve as posições padrões
|
|
29
29
|
* @param isSetElementWidth indica se deve definir o tamanho do elemento a ser exibido, caso for verdadeiro será igual do targetElement
|
|
30
|
-
* @param isCornerAligned indica se o elemento filho será alinhado nos cantos do
|
|
30
|
+
* @param isCornerAligned indica se o elemento filho será alinhado nos cantos do elemento pai.
|
|
31
31
|
*/
|
|
32
32
|
setElements(element: ElementRef | HTMLElement, elementOffset: number, targetElement: ElementRef | HTMLElement, customPositions?: Array<string>, isSetElementWidth?: boolean, isCornerAligned?: boolean): void;
|
|
33
33
|
private adjustCustomPosition;
|
|
@@ -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) => {
|