@po-ui/ng-components 17.26.3 → 17.26.5
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/esm2022/lib/components/po-accordion/po-accordion-item-header/po-accordion-item-header.component.mjs +31 -13
- package/esm2022/lib/components/po-accordion/po-accordion-manager/po-accordion-manager.component.mjs +47 -12
- package/esm2022/lib/components/po-accordion/po-accordion.module.mjs +5 -4
- package/esm2022/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-base.component.mjs +2 -2
- package/esm2022/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-field.interface.mjs +1 -1
- package/esm2022/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields.component.mjs +118 -7
- package/esm2022/lib/components/po-field/po-switch/po-switch.component.mjs +18 -4
- package/esm2022/lib/components/po-page/po-page-default/po-page-default-base.component.mjs +2 -2
- package/esm2022/lib/components/po-page/po-page-default/po-page-default.component.mjs +9 -1
- package/esm2022/lib/components/po-table/po-table-base.component.mjs +31 -3
- package/esm2022/lib/components/po-table/po-table-detail/po-table-detail.component.mjs +43 -37
- package/esm2022/lib/components/po-table/po-table-list-manager/po-table-list-manager.component.mjs +5 -5
- package/esm2022/lib/components/po-table/po-table.component.mjs +8 -8
- package/fesm2022/po-ui-ng-components.mjs +313 -94
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/po-accordion/po-accordion-item-header/po-accordion-item-header.component.d.ts +2 -0
- package/lib/components/po-accordion/po-accordion-manager/po-accordion-manager.component.d.ts +8 -2
- package/lib/components/po-accordion/po-accordion.module.d.ts +2 -1
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-base.component.d.ts +1 -1
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-field.interface.d.ts +2 -0
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields.component.d.ts +7 -2
- package/lib/components/po-field/po-switch/po-switch.component.d.ts +13 -1
- package/lib/components/po-page/po-page-default/po-page-default-base.component.d.ts +1 -0
- package/lib/components/po-page/po-page-default/po-page-default.component.d.ts +2 -0
- package/lib/components/po-table/po-table-base.component.d.ts +2 -1
- package/lib/components/po-table/po-table-detail/po-table-detail.component.d.ts +6 -1
- package/package.json +4 -4
- package/po-ui-ng-components-17.26.5.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/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/po-ui-ng-components-17.26.3.tgz +0 -0
package/lib/components/po-accordion/po-accordion-item-header/po-accordion-item-header.component.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class PoAccordionItemHeaderComponent {
|
|
5
5
|
private language;
|
|
6
6
|
accordionElement: ElementRef;
|
|
7
|
+
accordionHeaderElement: ElementRef;
|
|
7
8
|
expanded: boolean;
|
|
8
9
|
label: string;
|
|
9
10
|
labelTag: string;
|
|
@@ -12,6 +13,7 @@ export declare class PoAccordionItemHeaderComponent {
|
|
|
12
13
|
toggle: EventEmitter<boolean>;
|
|
13
14
|
constructor(languageService: PoLanguageService);
|
|
14
15
|
onClick(): void;
|
|
16
|
+
getTooltip(): string;
|
|
15
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoAccordionItemHeaderComponent, never>;
|
|
16
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<PoAccordionItemHeaderComponent, "po-accordion-item-header", never, { "expanded": { "alias": "p-expanded"; "required": false; }; "label": { "alias": "p-label"; "required": false; }; "labelTag": { "alias": "p-label-tag"; "required": false; }; "typeTag": { "alias": "p-type-tag"; "required": false; }; "disabledItem": { "alias": "p-disabled"; "required": false; }; }, { "toggle": "p-toggle"; }, never, never, false, never>;
|
|
17
19
|
}
|
package/lib/components/po-accordion/po-accordion-manager/po-accordion-manager.component.d.ts
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { PoAccordionLiterals } from '../interfaces/po-accordion-literals.interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class PoAccordionManagerComponent {
|
|
4
|
+
export declare class PoAccordionManagerComponent implements OnChanges {
|
|
5
|
+
labelValue: string;
|
|
6
|
+
changeDetector: ChangeDetectorRef;
|
|
7
|
+
accordionElement: ElementRef;
|
|
8
|
+
accordionHeaderElement: ElementRef;
|
|
5
9
|
expandedAllItems: boolean;
|
|
6
10
|
literals: PoAccordionLiterals;
|
|
7
11
|
clickManager: EventEmitter<boolean>;
|
|
12
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
8
13
|
onClick(): void;
|
|
14
|
+
getTooltip(): string;
|
|
9
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoAccordionManagerComponent, never>;
|
|
10
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<PoAccordionManagerComponent, "po-accordion-manager", never, { "expandedAllItems": { "alias": "p-expanded-all-items"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; }, { "clickManager": "p-click"; }, never, never, false, never>;
|
|
11
17
|
}
|
|
@@ -8,6 +8,7 @@ import * as i6 from "@angular/common";
|
|
|
8
8
|
import * as i7 from "../po-tag/po-tag.module";
|
|
9
9
|
import * as i8 from "../po-icon/po-icon.module";
|
|
10
10
|
import * as i9 from "../po-divider/po-divider.module";
|
|
11
|
+
import * as i10 from "../../directives/po-tooltip/po-tooltip.module";
|
|
11
12
|
/**
|
|
12
13
|
* @description
|
|
13
14
|
*
|
|
@@ -41,6 +42,6 @@ import * as i9 from "../po-divider/po-divider.module";
|
|
|
41
42
|
*/
|
|
42
43
|
export declare class PoAccordionModule {
|
|
43
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoAccordionModule, never>;
|
|
44
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PoAccordionModule, [typeof i1.PoAccordionComponent, typeof i2.PoAccordionItemBodyComponent, typeof i3.PoAccordionItemComponent, typeof i4.PoAccordionItemHeaderComponent, typeof i5.PoAccordionManagerComponent], [typeof i6.CommonModule, typeof i7.PoTagModule, typeof i8.PoIconModule, typeof i9.PoDividerModule], [typeof i1.PoAccordionComponent, typeof i3.PoAccordionItemComponent]>;
|
|
45
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PoAccordionModule, [typeof i1.PoAccordionComponent, typeof i2.PoAccordionItemBodyComponent, typeof i3.PoAccordionItemComponent, typeof i4.PoAccordionItemHeaderComponent, typeof i5.PoAccordionManagerComponent], [typeof i6.CommonModule, typeof i7.PoTagModule, typeof i8.PoIconModule, typeof i9.PoDividerModule, typeof i10.PoTooltipModule], [typeof i1.PoAccordionComponent, typeof i3.PoAccordionItemComponent]>;
|
|
45
46
|
static ɵinj: i0.ɵɵInjectorDeclaration<PoAccordionModule>;
|
|
46
47
|
}
|
|
@@ -46,7 +46,7 @@ export declare class PoDynamicFormBaseComponent {
|
|
|
46
46
|
* o `po-textarea`, caso o valor da propriedade `rows` seja menor que 3 o componente criado será o `po-input`.
|
|
47
47
|
* - Caso seja informada a propriedade `secret` o componente criado será o `po-password`.
|
|
48
48
|
* - Caso o *type* informado seja *string* o componente criado será o `po-input`.
|
|
49
|
-
*
|
|
49
|
+
* > Ao alterar o valor das `properties` e/ou agrupamentos via container, os `fields` que utilizam serviço podem refazer as chamadas para as API's.
|
|
50
50
|
* @default `[]`
|
|
51
51
|
*/
|
|
52
52
|
fields: Array<PoDynamicFormField>;
|
|
@@ -124,6 +124,8 @@ export interface PoDynamicFormField extends PoDynamicField {
|
|
|
124
124
|
booleanTrue?: string;
|
|
125
125
|
/** Texto exibido quando o valor do componente for *false*. */
|
|
126
126
|
booleanFalse?: string;
|
|
127
|
+
/** Indica se o status do `model` será escondido visualmente ao lado do switch */
|
|
128
|
+
hideLabelStatus?: boolean;
|
|
127
129
|
/**
|
|
128
130
|
* Indica se o `model` receberá o valor formatado pelas propriedades `p-label-on` e `p-label-off` ou
|
|
129
131
|
* apenas o valor puro (sem formatação).
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { TitleCasePipe } from '@angular/common';
|
|
1
2
|
import { ChangeDetectorRef, OnChanges, QueryList, SimpleChanges } from '@angular/core';
|
|
2
3
|
import { NgForm } from '@angular/forms';
|
|
3
|
-
import { TitleCasePipe } from '@angular/common';
|
|
4
4
|
import { PoDynamicFormField } from '../po-dynamic-form-field.interface';
|
|
5
|
-
import { PoDynamicFormFieldsBaseComponent } from './po-dynamic-form-fields-base.component';
|
|
6
5
|
import { PoDynamicFormValidationService } from '../po-dynamic-form-validation/po-dynamic-form-validation.service';
|
|
6
|
+
import { PoDynamicFormFieldsBaseComponent } from './po-dynamic-form-fields-base.component';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* @docsPrivate
|
|
@@ -35,6 +35,11 @@ export declare class PoDynamicFormFieldsComponent extends PoDynamicFormFieldsBas
|
|
|
35
35
|
private updateFields;
|
|
36
36
|
private validateFieldsChecker;
|
|
37
37
|
private validateField;
|
|
38
|
+
private hasChangeContainer;
|
|
39
|
+
private updateFieldContainer;
|
|
40
|
+
private diffObjectsArray;
|
|
41
|
+
private hasContainer;
|
|
42
|
+
private handleChangesContainer;
|
|
38
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoDynamicFormFieldsComponent, never>;
|
|
39
44
|
static ɵcmp: i0.ɵɵComponentDeclaration<PoDynamicFormFieldsComponent, "po-dynamic-form-fields", never, {}, {}, never, never, false, never>;
|
|
40
45
|
}
|
|
@@ -99,6 +99,17 @@ export declare class PoSwitchComponent extends PoFieldModel<any> {
|
|
|
99
99
|
*/
|
|
100
100
|
set formatModel(format: boolean);
|
|
101
101
|
get formatModel(): boolean;
|
|
102
|
+
/**
|
|
103
|
+
* @optional
|
|
104
|
+
*
|
|
105
|
+
* @description
|
|
106
|
+
*
|
|
107
|
+
* Indica se o status do `model` será escondido visualmente ao lado do switch.
|
|
108
|
+
*
|
|
109
|
+
* > Por padrão será atribuído `false`.
|
|
110
|
+
* @default `false`
|
|
111
|
+
*/
|
|
112
|
+
hideLabelStatus: boolean;
|
|
102
113
|
/**
|
|
103
114
|
* @optional
|
|
104
115
|
*
|
|
@@ -150,7 +161,8 @@ export declare class PoSwitchComponent extends PoFieldModel<any> {
|
|
|
150
161
|
eventClick(): void;
|
|
151
162
|
onWriteValue(value: any): void;
|
|
152
163
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoSwitchComponent, never>;
|
|
153
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PoSwitchComponent, "po-switch", never, { "value": { "alias": "p-value"; "required": false; }; "formatModel": { "alias": "p-format-model"; "required": false; }; "labelPosition": { "alias": "p-label-position"; "required": false; }; "labelOff": { "alias": "p-label-off"; "required": false; }; "labelOn": { "alias": "p-label-on"; "required": false; }; }, {}, never, never, false, never>;
|
|
164
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoSwitchComponent, "po-switch", never, { "value": { "alias": "p-value"; "required": false; }; "formatModel": { "alias": "p-format-model"; "required": false; }; "hideLabelStatus": { "alias": "p-hide-label-status"; "required": false; }; "labelPosition": { "alias": "p-label-position"; "required": false; }; "labelOff": { "alias": "p-label-off"; "required": false; }; "labelOn": { "alias": "p-label-on"; "required": false; }; }, {}, never, never, false, never>;
|
|
154
165
|
static ngAcceptInputType_value: any;
|
|
155
166
|
static ngAcceptInputType_formatModel: any;
|
|
167
|
+
static ngAcceptInputType_hideLabelStatus: any;
|
|
156
168
|
}
|
|
@@ -81,6 +81,7 @@ export declare abstract class PoPageDefaultBaseComponent {
|
|
|
81
81
|
subtitle: string;
|
|
82
82
|
constructor(languageService: PoLanguageService);
|
|
83
83
|
abstract setDropdownActions(): any;
|
|
84
|
+
abstract getVisibleActions(): any;
|
|
84
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoPageDefaultBaseComponent, never>;
|
|
85
86
|
static ɵdir: i0.ɵɵDirectiveDeclaration<PoPageDefaultBaseComponent, never, never, { "breadcrumb": { "alias": "p-breadcrumb"; "required": false; }; "actions": { "alias": "p-actions"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "title": { "alias": "p-title"; "required": false; }; "subtitle": { "alias": "p-subtitle"; "required": false; }; }, {}, never, never, false, never>;
|
|
86
87
|
}
|
|
@@ -38,9 +38,11 @@ export declare class PoPageDefaultComponent extends PoPageDefaultBaseComponent i
|
|
|
38
38
|
[propName: string]: SimpleChange;
|
|
39
39
|
}): void;
|
|
40
40
|
actionIsDisabled(action: any): any;
|
|
41
|
+
actionIsVisible(action: any): any;
|
|
41
42
|
callAction(item: PoPageAction): void;
|
|
42
43
|
hasPageHeader(): boolean;
|
|
43
44
|
setDropdownActions(): void;
|
|
45
|
+
getVisibleActions(): PoPageAction[];
|
|
44
46
|
private onResize;
|
|
45
47
|
private setIsMobile;
|
|
46
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoPageDefaultComponent, never>;
|
|
@@ -693,7 +693,8 @@ export declare abstract class PoTableBaseComponent implements OnChanges, OnDestr
|
|
|
693
693
|
selectAllRows(): void;
|
|
694
694
|
selectRow(row: any): void;
|
|
695
695
|
hasSelectableRow(): boolean;
|
|
696
|
-
selectDetailRow(
|
|
696
|
+
selectDetailRow(event: any): void;
|
|
697
|
+
updateParentRowSelection(parentRow: any): void;
|
|
697
698
|
setSelectedList(): void;
|
|
698
699
|
getClassColor(row: any, column: any): string;
|
|
699
700
|
toggleDetail(row: any): void;
|
|
@@ -16,6 +16,11 @@ export declare class PoTableDetailComponent {
|
|
|
16
16
|
* Lista de itens do _detail_ da tabela.
|
|
17
17
|
*/
|
|
18
18
|
items: Array<any>;
|
|
19
|
+
/**
|
|
20
|
+
* Linha do registro pai correspondente ao item de detalhe selecionado. Utilizado para gerenciar o estado de seleção do elemento pai,
|
|
21
|
+
* permitindo que o mesmo seja atualizado para refletir a seleção de todos os filhos ou estado indeterminado.
|
|
22
|
+
*/
|
|
23
|
+
parentRow: PoTableDetail;
|
|
19
24
|
/**
|
|
20
25
|
* Define se a tabela possui a opção de `selectable` habilitada.
|
|
21
26
|
*/
|
|
@@ -44,5 +49,5 @@ export declare class PoTableDetailComponent {
|
|
|
44
49
|
onSelectRow(item: any): void;
|
|
45
50
|
private returnPoTableDetailObject;
|
|
46
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoTableDetailComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PoTableDetailComponent, "po-table-detail", never, { "items": { "alias": "p-items"; "required": false; }; "isSelectable": { "alias": "p-selectable"; "required": false; }; "detail": { "alias": "p-detail"; "required": false; }; }, { "selectRow": "p-select-row"; }, never, never, false, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoTableDetailComponent, "po-table-detail", never, { "items": { "alias": "p-items"; "required": false; }; "parentRow": { "alias": "p-parent-row"; "required": false; }; "isSelectable": { "alias": "p-selectable"; "required": false; }; "detail": { "alias": "p-detail"; "required": false; }; }, { "selectRow": "p-select-row"; }, never, never, false, never>;
|
|
48
53
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@po-ui/ng-components",
|
|
3
|
-
"version": "17.26.
|
|
3
|
+
"version": "17.26.5",
|
|
4
4
|
"description": "PO UI - Components",
|
|
5
5
|
"author": "PO UI",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@angular/cdk": "~17.0.1",
|
|
24
|
-
"@po-ui/style": "17.26.
|
|
25
|
-
"@po-ui/ng-schematics": "17.26.
|
|
24
|
+
"@po-ui/style": "17.26.5",
|
|
25
|
+
"@po-ui/ng-schematics": "17.26.5",
|
|
26
26
|
"tslib": "^2.6.2"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@angular/platform-browser-dynamic": "^17",
|
|
37
37
|
"@angular/router": "^17",
|
|
38
38
|
"@angular-devkit/schematics": "^17",
|
|
39
|
-
"@po-ui/style": "17.26.
|
|
39
|
+
"@po-ui/style": "17.26.5",
|
|
40
40
|
"rxjs": "~7.8.1",
|
|
41
41
|
"zone.js": "~0.14.4"
|
|
42
42
|
},
|
|
Binary file
|
|
@@ -18,7 +18,7 @@ function default_1(options) {
|
|
|
18
18
|
exports.default = default_1;
|
|
19
19
|
function addPoPackageAndInstall() {
|
|
20
20
|
return (tree, context) => {
|
|
21
|
-
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '17.26.
|
|
21
|
+
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '17.26.5');
|
|
22
22
|
// install packages
|
|
23
23
|
context.addTask(new tasks_1.NodePackageInstallTask());
|
|
24
24
|
};
|
|
@@ -5,7 +5,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
5
5
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
6
6
|
const changes_1 = require("./changes");
|
|
7
7
|
function default_1() {
|
|
8
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.
|
|
8
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.5', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
9
9
|
}
|
|
10
10
|
exports.default = default_1;
|
|
11
11
|
function postUpdate() {
|
|
@@ -10,7 +10,7 @@ const changes_1 = require("./changes");
|
|
|
10
10
|
const httpClientModuleName = 'HttpClientModule';
|
|
11
11
|
const httpClientModuleSourcePath = '@angular/common/http';
|
|
12
12
|
function default_1() {
|
|
13
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.
|
|
13
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.5', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
14
14
|
}
|
|
15
15
|
exports.default = default_1;
|
|
16
16
|
function postUpdate() {
|
|
@@ -5,7 +5,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
5
5
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
6
6
|
const changes_1 = require("./changes");
|
|
7
7
|
function default_1() {
|
|
8
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.
|
|
8
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.5', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
9
9
|
}
|
|
10
10
|
exports.default = default_1;
|
|
11
11
|
function postUpdate() {
|
|
@@ -5,7 +5,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
5
5
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
6
6
|
const changes_1 = require("./changes");
|
|
7
7
|
function default_1() {
|
|
8
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.
|
|
8
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.5', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
9
9
|
}
|
|
10
10
|
exports.default = default_1;
|
|
11
11
|
function postUpdate() {
|
|
@@ -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('17.26.
|
|
13
|
+
updatePackageJson('17.26.5', 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(),
|
|
@@ -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)('17.26.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.5', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
11
11
|
}
|
|
12
12
|
exports.updateToV3 = updateToV3;
|
|
13
13
|
function postUpdate() {
|
|
@@ -6,7 +6,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
|
|
|
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)('17.26.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.5', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
exports.default = default_1;
|
|
12
12
|
function postUpdate() {
|
|
@@ -6,7 +6,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
|
|
|
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)('17.26.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.5', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
exports.default = default_1;
|
|
12
12
|
function postUpdate() {
|
|
@@ -5,7 +5,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
5
5
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
6
6
|
const changes_1 = require("./changes");
|
|
7
7
|
function default_1() {
|
|
8
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.
|
|
8
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.5', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
9
9
|
}
|
|
10
10
|
exports.default = default_1;
|
|
11
11
|
function postUpdate() {
|
|
Binary file
|