@po-ui/ng-components 17.1.1 → 17.3.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/esm2022/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view-base.component.mjs +10 -14
- package/esm2022/lib/components/po-page/po-page-slide/po-page-slide.component.mjs +1 -2
- package/fesm2022/po-ui-ng-components.mjs +9 -14
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view-base.component.d.ts +1 -5
- package/package.json +4 -4
- package/po-ui-ng-components-17.3.0.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-generate/po-page-default/files-standalone/__path__/__name@dasherize__/__name@dasherize__.component.__style__.template +0 -0
- package/schematics/ng-generate/po-page-default/files-standalone/__path__/__name@dasherize__/__name@dasherize__.component.html.template +3 -0
- package/schematics/ng-generate/po-page-default/files-standalone/__path__/__name@dasherize__/__name@dasherize__.component.spec.ts.template +32 -0
- package/schematics/ng-generate/po-page-default/files-standalone/__path__/__name@dasherize__/__name@dasherize__.component.ts.template +24 -0
- package/schematics/ng-generate/po-page-detail/files-standalone/__path__/__name@dasherize__/__name@dasherize__.component.__style__.template +0 -0
- package/schematics/ng-generate/po-page-detail/files-standalone/__path__/__name@dasherize__/__name@dasherize__.component.html.template +8 -0
- package/schematics/ng-generate/po-page-detail/files-standalone/__path__/__name@dasherize__/__name@dasherize__.component.spec.ts.template +32 -0
- package/schematics/ng-generate/po-page-detail/files-standalone/__path__/__name@dasherize__/__name@dasherize__.component.ts.template +34 -0
- package/schematics/ng-generate/po-page-edit/files-standalone/__path__/__name@dasherize__/__name@dasherize__-routing.module.ts.template +14 -0
- package/schematics/ng-generate/po-page-edit/files-standalone/__path__/__name@dasherize__/__name@dasherize__.component.__style__.template +0 -0
- package/schematics/ng-generate/po-page-edit/files-standalone/__path__/__name@dasherize__/__name@dasherize__.component.html.template +8 -0
- package/schematics/ng-generate/po-page-edit/files-standalone/__path__/__name@dasherize__/__name@dasherize__.component.spec.ts.template +32 -0
- package/schematics/ng-generate/po-page-edit/files-standalone/__path__/__name@dasherize__/__name@dasherize__.component.ts.template +34 -0
- package/schematics/ng-generate/po-page-list/files-standalone/__path__/__name@dasherize__/__name@dasherize__-routing.module.ts.template +14 -0
- package/schematics/ng-generate/po-page-list/files-standalone/__path__/__name@dasherize__/__name@dasherize__.component.__style__.template +0 -0
- package/schematics/ng-generate/po-page-list/files-standalone/__path__/__name@dasherize__/__name@dasherize__.component.html.template +28 -0
- package/schematics/ng-generate/po-page-list/files-standalone/__path__/__name@dasherize__/__name@dasherize__.component.spec.ts.template +35 -0
- package/schematics/ng-generate/po-page-list/files-standalone/__path__/__name@dasherize__/__name@dasherize__.component.ts.template +43 -0
- 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.1.1.tgz +0 -0
|
@@ -108,11 +108,7 @@ export declare class PoDynamicViewBaseComponent {
|
|
|
108
108
|
set value(value: object);
|
|
109
109
|
get value(): object;
|
|
110
110
|
constructor(currencyPipe: CurrencyPipe, datePipe: DatePipe, decimalPipe: DecimalPipe, timePipe: PoTimePipe, titleCasePipe: TitleCasePipe, dynamicViewService: PoDynamicViewService, comboFilterService: PoComboFilterService, multiselectFilterService: PoMultiselectFilterService);
|
|
111
|
-
|
|
112
|
-
* Verifica se já existe algum outro campo com a order da posição dele no array,
|
|
113
|
-
* se houver ele adiciona +1 até achar uma proxima posição
|
|
114
|
-
*/
|
|
115
|
-
protected getOrdertoField(field: PoDynamicViewField, index: number): any;
|
|
111
|
+
protected getFieldOrder(field: PoDynamicViewField, index: number): any;
|
|
116
112
|
protected getConfiguredFields(useSearchService?: boolean): any[];
|
|
117
113
|
protected getMergedFields(): any[];
|
|
118
114
|
protected getValueFields(): {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@po-ui/ng-components",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.3.0",
|
|
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.
|
|
25
|
-
"@po-ui/ng-schematics": "17.
|
|
24
|
+
"@po-ui/style": "17.3.0",
|
|
25
|
+
"@po-ui/ng-schematics": "17.3.0",
|
|
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.
|
|
39
|
+
"@po-ui/style": "17.3.0",
|
|
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.
|
|
21
|
+
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '17.3.0');
|
|
22
22
|
// install packages
|
|
23
23
|
context.addTask(new tasks_1.NodePackageInstallTask());
|
|
24
24
|
};
|
|
File without changes
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
import { RouterTestingModule } from '@angular/router/testing';
|
|
3
|
+
|
|
4
|
+
import { PoPageModule } from '@po-ui/ng-components';
|
|
5
|
+
|
|
6
|
+
import { <%= classify(name) %>Component } from './<%= dasherize(name) %>.component';
|
|
7
|
+
|
|
8
|
+
describe('<%= classify(name) %>Component', () => {
|
|
9
|
+
let component: <%= classify(name) %>Component;
|
|
10
|
+
let fixture: ComponentFixture<<%= classify(name) %>Component>;
|
|
11
|
+
|
|
12
|
+
beforeEach(async(() => {
|
|
13
|
+
TestBed.configureTestingModule({
|
|
14
|
+
imports: [
|
|
15
|
+
RouterTestingModule,
|
|
16
|
+
PoPageModule
|
|
17
|
+
],
|
|
18
|
+
declarations: [ <%= classify(name) %>Component ]
|
|
19
|
+
})
|
|
20
|
+
.compileComponents();
|
|
21
|
+
}));
|
|
22
|
+
|
|
23
|
+
beforeEach(() => {
|
|
24
|
+
fixture = TestBed.createComponent(<%= classify(name) %>Component);
|
|
25
|
+
component = fixture.componentInstance;
|
|
26
|
+
fixture.detectChanges();
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
it('should create', () => {
|
|
30
|
+
expect(component).toBeTruthy();
|
|
31
|
+
});
|
|
32
|
+
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Component, OnInit } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
|
|
4
|
+
import { PoPageAction, PoPageModule } from '@po-ui/ng-components';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: '<%= selector %>',
|
|
8
|
+
standalone: true,
|
|
9
|
+
imports: [
|
|
10
|
+
CommonModule,
|
|
11
|
+
PoPageModule,
|
|
12
|
+
],
|
|
13
|
+
templateUrl: './<%= dasherize(name) %>.component.html',
|
|
14
|
+
styleUrls: ['./<%= dasherize(name) %>.component.<%= style %>']
|
|
15
|
+
})
|
|
16
|
+
export class <%= classify(name) %>Component implements OnInit {
|
|
17
|
+
|
|
18
|
+
readonly pageActions: Array<PoPageAction> = [];
|
|
19
|
+
|
|
20
|
+
constructor() { }
|
|
21
|
+
|
|
22
|
+
ngOnInit() { }
|
|
23
|
+
|
|
24
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
import { RouterTestingModule } from '@angular/router/testing';
|
|
3
|
+
|
|
4
|
+
import { PoPageModule } from '@po-ui/ng-components';
|
|
5
|
+
|
|
6
|
+
import { <%= classify(name) %>Component } from './<%= dasherize(name) %>.component';
|
|
7
|
+
|
|
8
|
+
describe('<%= classify(name) %>Component', () => {
|
|
9
|
+
let component: <%= classify(name) %>Component;
|
|
10
|
+
let fixture: ComponentFixture<<%= classify(name) %>Component>;
|
|
11
|
+
|
|
12
|
+
beforeEach(async(() => {
|
|
13
|
+
TestBed.configureTestingModule({
|
|
14
|
+
imports: [
|
|
15
|
+
RouterTestingModule,
|
|
16
|
+
PoPageModule
|
|
17
|
+
],
|
|
18
|
+
declarations: [ <%= classify(name) %>Component ]
|
|
19
|
+
})
|
|
20
|
+
.compileComponents();
|
|
21
|
+
}));
|
|
22
|
+
|
|
23
|
+
beforeEach(() => {
|
|
24
|
+
fixture = TestBed.createComponent(<%= classify(name) %>Component);
|
|
25
|
+
component = fixture.componentInstance;
|
|
26
|
+
fixture.detectChanges();
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
it('should create', () => {
|
|
30
|
+
expect(component).toBeTruthy();
|
|
31
|
+
});
|
|
32
|
+
});
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Component, OnInit } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
|
|
4
|
+
import { PoPageModule } from '@po-ui/ng-components';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: '<%= selector %>',
|
|
8
|
+
standalone: true,
|
|
9
|
+
imports: [
|
|
10
|
+
CommonModule,
|
|
11
|
+
PoPageModule,
|
|
12
|
+
],
|
|
13
|
+
templateUrl: './<%= dasherize(name) %>.component.html',
|
|
14
|
+
styleUrls: ['./<%= dasherize(name) %>.component.<%= style %>']
|
|
15
|
+
})
|
|
16
|
+
export class <%= classify(name) %>Component implements OnInit {
|
|
17
|
+
|
|
18
|
+
constructor() { }
|
|
19
|
+
|
|
20
|
+
ngOnInit() { }
|
|
21
|
+
|
|
22
|
+
back() {
|
|
23
|
+
// back action here
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
edit() {
|
|
27
|
+
// edit action here
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
remove() {
|
|
31
|
+
// remove action here
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { Routes, RouterModule } from '@angular/router';
|
|
3
|
+
|
|
4
|
+
import { <%= classify(name) %>Component } from './<%= dasherize(name) %>.component';
|
|
5
|
+
|
|
6
|
+
const routes: Routes = [
|
|
7
|
+
{ path: '', component: <%= classify(name) %>Component }
|
|
8
|
+
];
|
|
9
|
+
|
|
10
|
+
@NgModule({
|
|
11
|
+
imports: [RouterModule.forChild(routes)],
|
|
12
|
+
exports: [RouterModule]
|
|
13
|
+
})
|
|
14
|
+
export class <%= classify(name) %>RoutingModule { }
|
|
File without changes
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
import { RouterTestingModule } from '@angular/router/testing';
|
|
3
|
+
|
|
4
|
+
import { PoPageModule } from '@po-ui/ng-components';
|
|
5
|
+
|
|
6
|
+
import { <%= classify(name) %>Component } from './<%= dasherize(name) %>.component';
|
|
7
|
+
|
|
8
|
+
describe('<%= classify(name) %>Component', () => {
|
|
9
|
+
let component: <%= classify(name) %>Component;
|
|
10
|
+
let fixture: ComponentFixture<<%= classify(name) %>Component>;
|
|
11
|
+
|
|
12
|
+
beforeEach(async(() => {
|
|
13
|
+
TestBed.configureTestingModule({
|
|
14
|
+
imports: [
|
|
15
|
+
RouterTestingModule,
|
|
16
|
+
PoPageModule
|
|
17
|
+
],
|
|
18
|
+
declarations: [ <%= classify(name) %>Component ]
|
|
19
|
+
})
|
|
20
|
+
.compileComponents();
|
|
21
|
+
}));
|
|
22
|
+
|
|
23
|
+
beforeEach(() => {
|
|
24
|
+
fixture = TestBed.createComponent(<%= classify(name) %>Component);
|
|
25
|
+
component = fixture.componentInstance;
|
|
26
|
+
fixture.detectChanges();
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
it('should create', () => {
|
|
30
|
+
expect(component).toBeTruthy();
|
|
31
|
+
});
|
|
32
|
+
});
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Component, OnInit } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
|
|
4
|
+
import { PoPageModule } from '@po-ui/ng-components';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: '<%= selector %>',
|
|
8
|
+
standalone: true,
|
|
9
|
+
imports: [
|
|
10
|
+
CommonModule,
|
|
11
|
+
PoPageModule,
|
|
12
|
+
],
|
|
13
|
+
templateUrl: './<%= dasherize(name) %>.component.html',
|
|
14
|
+
styleUrls: ['./<%= dasherize(name) %>.component.<%= style %>']
|
|
15
|
+
})
|
|
16
|
+
export class <%= classify(name) %>Component implements OnInit {
|
|
17
|
+
|
|
18
|
+
constructor() { }
|
|
19
|
+
|
|
20
|
+
ngOnInit() { }
|
|
21
|
+
|
|
22
|
+
cancel() {
|
|
23
|
+
// cancel action here
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
save() {
|
|
27
|
+
// save action here
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
saveNew() {
|
|
31
|
+
// saveNew action here
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { Routes, RouterModule } from '@angular/router';
|
|
3
|
+
|
|
4
|
+
import { <%= classify(name) %>Component } from './<%= dasherize(name) %>.component';
|
|
5
|
+
|
|
6
|
+
const routes: Routes = [
|
|
7
|
+
{ path: '', component: <%= classify(name) %>Component }
|
|
8
|
+
];
|
|
9
|
+
|
|
10
|
+
@NgModule({
|
|
11
|
+
imports: [RouterModule.forChild(routes)],
|
|
12
|
+
exports: [RouterModule]
|
|
13
|
+
})
|
|
14
|
+
export class <%= classify(name) %>RoutingModule { }
|
|
File without changes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<po-page-list p-title="<%= classify(name) %>" [p-actions]="actions">
|
|
2
|
+
<% if(dataView === 'table') { %>
|
|
3
|
+
<po-table
|
|
4
|
+
[p-columns]="columns"
|
|
5
|
+
p-container="true"
|
|
6
|
+
[p-items]="items"
|
|
7
|
+
[p-height]="400"
|
|
8
|
+
[p-sort]="true"
|
|
9
|
+
[p-striped]="true">
|
|
10
|
+
</po-table>
|
|
11
|
+
<% } else { %>
|
|
12
|
+
<po-list-view
|
|
13
|
+
p-property-title="name"
|
|
14
|
+
[p-items]="items">
|
|
15
|
+
|
|
16
|
+
<ng-template p-list-view-content-template let-item>
|
|
17
|
+
<div class="po-row">
|
|
18
|
+
<po-info class="po-md-6" p-label="Age" [p-value]="item.age">
|
|
19
|
+
</po-info>
|
|
20
|
+
|
|
21
|
+
<po-info class="po-md-6" p-label="Email" [p-value]="item.email">
|
|
22
|
+
</po-info>
|
|
23
|
+
</div>
|
|
24
|
+
</ng-template>
|
|
25
|
+
|
|
26
|
+
</po-list-view>
|
|
27
|
+
<% }%>
|
|
28
|
+
</po-page-list>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
import { RouterTestingModule } from '@angular/router/testing';
|
|
3
|
+
|
|
4
|
+
import { PoPageModule, PoInfoModule<% if(dataView === 'table') { %>, PoTableModule <% } else { %>, PoListViewModule <% } %>} from '@po-ui/ng-components';
|
|
5
|
+
|
|
6
|
+
import { <%= classify(name) %>Component } from './<%= dasherize(name) %>.component';
|
|
7
|
+
|
|
8
|
+
describe('<%= classify(name) %>Component', () => {
|
|
9
|
+
let component: <%= classify(name) %>Component;
|
|
10
|
+
let fixture: ComponentFixture<<%= classify(name) %>Component>;
|
|
11
|
+
|
|
12
|
+
beforeEach(async(() => {
|
|
13
|
+
TestBed.configureTestingModule({
|
|
14
|
+
imports: [
|
|
15
|
+
RouterTestingModule,
|
|
16
|
+
PoPageModule,
|
|
17
|
+
PoInfoModule,<% if(dataView === 'table') { %>
|
|
18
|
+
PoTableModule<% } else {%>
|
|
19
|
+
PoListViewModule<% } %>
|
|
20
|
+
],
|
|
21
|
+
declarations: [ <%= classify(name) %>Component ]
|
|
22
|
+
})
|
|
23
|
+
.compileComponents();
|
|
24
|
+
}));
|
|
25
|
+
|
|
26
|
+
beforeEach(() => {
|
|
27
|
+
fixture = TestBed.createComponent(<%= classify(name) %>Component);
|
|
28
|
+
component = fixture.componentInstance;
|
|
29
|
+
fixture.detectChanges();
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
it('should create', () => {
|
|
33
|
+
expect(component).toBeTruthy();
|
|
34
|
+
});
|
|
35
|
+
});
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Component, OnInit } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
|
|
4
|
+
import { PoPageAction<% if(dataView === 'table') { %>, PoTableColumn<%} %> } from '@po-ui/ng-components';
|
|
5
|
+
import { PoPageModule } from '@po-ui/ng-components';
|
|
6
|
+
import { PoModule } from '@po-ui/ng-components';
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
@Component({
|
|
10
|
+
selector: '<%= selector %>',
|
|
11
|
+
standalone: true,
|
|
12
|
+
imports: [
|
|
13
|
+
CommonModule,
|
|
14
|
+
PoPageModule,
|
|
15
|
+
PoModule
|
|
16
|
+
],
|
|
17
|
+
templateUrl: './<%= dasherize(name) %>.component.html',
|
|
18
|
+
styleUrls: ['./<%= dasherize(name) %>.component.<%= style %>']
|
|
19
|
+
})
|
|
20
|
+
export class <%= classify(name) %>Component implements OnInit {
|
|
21
|
+
|
|
22
|
+
readonly actions: Array<PoPageAction> = [
|
|
23
|
+
// actions of table here
|
|
24
|
+
];<% if(dataView === 'table') { %>
|
|
25
|
+
|
|
26
|
+
readonly columns: Array<PoTableColumn> = [
|
|
27
|
+
// columns of table here
|
|
28
|
+
{ property: 'name', width: '50%' },
|
|
29
|
+
{ property: 'age', width: '15%' },
|
|
30
|
+
{ property: 'email', width: '35%' }
|
|
31
|
+
];
|
|
32
|
+
<%} %>
|
|
33
|
+
items: Array<any> = [];
|
|
34
|
+
|
|
35
|
+
constructor() { }
|
|
36
|
+
|
|
37
|
+
ngOnInit() {
|
|
38
|
+
this.items = [
|
|
39
|
+
{ name: 'John Doe', age: 33, email: 'johndoe@example.com' }
|
|
40
|
+
];
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
}
|
|
@@ -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.
|
|
8
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.3.0', 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.
|
|
13
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.3.0', 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.
|
|
8
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.3.0', 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.
|
|
8
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.3.0', 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.
|
|
13
|
+
updatePackageJson('17.3.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(),
|
|
@@ -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.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.3.0', 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.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.3.0', 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.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.3.0', 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.
|
|
8
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.3.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
9
9
|
}
|
|
10
10
|
exports.default = default_1;
|
|
11
11
|
function postUpdate() {
|
|
Binary file
|