Skip to content

Commit f3be19a

Browse files
committed
'[CHECKPOINT]' updated package to conform with @windmillcode/wml-components-base version 19.2.5100
1 parent 6db6177 commit f3be19a

File tree

24 files changed

+74
-75
lines changed

24 files changed

+74
-75
lines changed

projects/wml-accordion/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"peerDependencies": {
1010
"@angular/common": "^19.2.5",
1111
"@angular/core": "^19.2.5",
12-
"@windmillcode/angular-wml-components-base": "^19.2.5001",
13-
"@windmillcode/wml-components-base": "^19.2.5001"
12+
"@windmillcode/angular-wml-components-base": "^19.2.5100",
13+
"@windmillcode/wml-components-base": "^19.2.5100"
1414
},
1515
"private": false,
1616
"repository": {
@@ -20,5 +20,5 @@
2020
"scripts": {
2121
"build": "npx ng build"
2222
},
23-
"version": "19.2.5001"
23+
"version": "19.2.5100"
2424
}

projects/wml-angular-components-base/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"peerDependencies": {
1010
"@angular/common": "^19.2.5",
1111
"@angular/core": "^19.2.5",
12-
"@windmillcode/wml-components-base": "^19.2.5001"
12+
"@windmillcode/wml-components-base": "^19.2.5100"
1313
},
1414
"private": false,
1515
"repository": {
@@ -19,5 +19,5 @@
1919
"scripts": {
2020
"build": "npx ng build"
2121
},
22-
"version": "19.2.5001"
22+
"version": "19.2.5100"
2323
}

projects/wml-button/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"peerDependencies": {
1010
"@angular/common": "^19.2.5",
1111
"@angular/core": "^19.2.5",
12-
"@windmillcode/angular-wml-components-base": "^19.2.5001",
13-
"@windmillcode/wml-components-base": "^19.2.5001"
12+
"@windmillcode/angular-wml-components-base": "^19.2.5100",
13+
"@windmillcode/wml-components-base": "^19.2.5100"
1414
},
1515
"private": false,
1616
"repository": {
@@ -20,5 +20,5 @@
2020
"scripts": {
2121
"build": "npx ng build"
2222
},
23-
"version": "19.2.5001"
23+
"version": "19.2.5100"
2424
}

projects/wml-carousel/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"peerDependencies": {
1010
"@angular/common": "^19.2.5",
1111
"@angular/core": "^19.2.5",
12-
"@windmillcode/angular-wml-components-base": "^19.2.5001",
13-
"@windmillcode/wml-components-base": "^19.2.5001"
12+
"@windmillcode/angular-wml-components-base": "^19.2.5100",
13+
"@windmillcode/wml-components-base": "^19.2.5100"
1414
},
1515
"private": false,
1616
"repository": {
@@ -20,5 +20,5 @@
2020
"scripts": {
2121
"build": "npx ng build"
2222
},
23-
"version": "19.2.5001"
23+
"version": "19.2.5100"
2424
}

projects/wml-chips/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
"@angular/cdk": "^19.2.5",
1212
"@angular/common": "^19.2.5",
1313
"@angular/core": "^19.2.5",
14-
"@windmillcode/angular-wml-button": "^19.2.5001",
15-
"@windmillcode/angular-wml-components-base": "^19.2.5001",
16-
"@windmillcode/wml-components-base": "^19.2.5001"
14+
"@windmillcode/angular-wml-button": "^19.2.5100",
15+
"@windmillcode/angular-wml-components-base": "^19.2.5100",
16+
"@windmillcode/wml-components-base": "^19.2.5100"
1717
},
1818
"private": false,
1919
"repository": {
@@ -24,5 +24,5 @@
2424
"build": "npx ng build",
2525
"test": "npx ng test wml-chips --code-coverage"
2626
},
27-
"version": "19.2.5001"
27+
"version": "19.2.5100"
2828
}

projects/wml-components-base/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
"scripts": {
1414
"build": "npx ng build"
1515
},
16-
"version": "19.2.5001"
16+
"version": "19.2.5100"
1717
}

projects/wml-components-base/src/lib/data-source-utils.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class WMLAPIPaginationResponseModel<DT=any> {
5858
startOrderValue?:number
5959
}={}
6060
pageNum:number = 0
61-
pageSize:number = 0
61+
pageSize:number = 5
6262
totalPages:number = 0
6363
totalItems:number = 0
6464
getIndexInfo (){
@@ -67,13 +67,12 @@ export class WMLAPIPaginationResponseModel<DT=any> {
6767
calculateCurrentState(totalPages?: number, totalItems?: number, pageSize?: number) {
6868
let displayPageNum = this.pageNum + 1;
6969

70+
this.pageSize = pageSize ?? this.data.length;
7071
if (totalItems) {
71-
this.pageSize = this.data.length;
7272
this.totalItems = totalItems;
73-
this.totalPages = Math.ceil(totalItems / (pageSize || this.pageSize));
73+
this.totalPages = Math.ceil(totalItems / this.pageSize);
7474
} else {
75-
totalPages = totalPages || displayPageNum;
76-
this.pageSize = this.data.length;
75+
totalPages = totalPages ?? displayPageNum;
7776
this.totalPages = totalPages;
7877
this.totalItems = totalPages * this.pageSize;
7978
}

projects/wml-field/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"peerDependencies": {
1010
"@angular/common": "^19.2.5",
1111
"@angular/core": "^19.2.5",
12-
"@windmillcode/angular-wml-components-base": "^19.2.5001",
13-
"@windmillcode/wml-components-base": "^19.2.5001"
12+
"@windmillcode/angular-wml-components-base": "^19.2.5100",
13+
"@windmillcode/wml-components-base": "^19.2.5100"
1414
},
1515
"private": false,
1616
"repository": {
@@ -20,5 +20,5 @@
2020
"scripts": {
2121
"build": "npx ng build"
2222
},
23-
"version": "19.2.5001"
23+
"version": "19.2.5100"
2424
}

projects/wml-file-manager/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"peerDependencies": {
1010
"@angular/common": "^19.2.5",
1111
"@angular/core": "^19.2.5",
12-
"@windmillcode/angular-wml-components-base": "^19.2.5001",
13-
"@windmillcode/wml-components-base": "^19.2.5001"
12+
"@windmillcode/angular-wml-components-base": "^19.2.5100",
13+
"@windmillcode/wml-components-base": "^19.2.5100"
1414
},
1515
"private": false,
1616
"repository": {
@@ -20,5 +20,5 @@
2020
"scripts": {
2121
"build": "npx ng build"
2222
},
23-
"version": "19.2.5001"
23+
"version": "19.2.5100"
2424
}

projects/wml-form/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"peerDependencies": {
1010
"@angular/common": "^19.2.5",
1111
"@angular/core": "^19.2.5",
12-
"@windmillcode/angular-wml-components-base": "^19.2.5001",
13-
"@windmillcode/wml-components-base": "^19.2.5001"
12+
"@windmillcode/angular-wml-components-base": "^19.2.5100",
13+
"@windmillcode/wml-components-base": "^19.2.5100"
1414
},
1515
"private": false,
1616
"repository": {
@@ -20,5 +20,5 @@
2020
"scripts": {
2121
"build": "npx ng build"
2222
},
23-
"version": "19.2.5001"
23+
"version": "19.2.5100"
2424
}

projects/wml-infinite-dropdown/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"peerDependencies": {
1010
"@angular/common": "^19.2.5",
1111
"@angular/core": "^19.2.5",
12-
"@windmillcode/angular-wml-components-base": "^19.2.5001",
13-
"@windmillcode/wml-components-base": "^19.2.5001"
12+
"@windmillcode/angular-wml-components-base": "^19.2.5100",
13+
"@windmillcode/wml-components-base": "^19.2.5100"
1414
},
1515
"private": false,
1616
"repository": {
@@ -20,5 +20,5 @@
2020
"scripts": {
2121
"build": "npx ng build"
2222
},
23-
"version": "19.2.5001"
23+
"version": "19.2.5100"
2424
}

projects/wml-input/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"peerDependencies": {
1010
"@angular/common": "^19.2.5",
1111
"@angular/core": "^19.2.5",
12-
"@windmillcode/angular-wml-components-base": "^19.2.5001",
13-
"@windmillcode/wml-components-base": "^19.2.5001"
12+
"@windmillcode/angular-wml-components-base": "^19.2.5100",
13+
"@windmillcode/wml-components-base": "^19.2.5100"
1414
},
1515
"private": false,
1616
"repository": {
@@ -20,5 +20,5 @@
2020
"scripts": {
2121
"build": "npx ng build"
2222
},
23-
"version": "19.2.5001"
23+
"version": "19.2.5100"
2424
}

projects/wml-mobile-nav/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"@angular/common": "^19.2.5",
1111
"@angular/core": "^19.2.5",
1212
"@angular/forms": "^19.2.5",
13-
"@windmillcode/angular-wml-components-base": "^19.2.5001",
14-
"@windmillcode/angular-wml-infinite-dropdown": "^19.2.5001",
15-
"@windmillcode/wml-components-base": "^19.2.5001"
13+
"@windmillcode/angular-wml-components-base": "^19.2.5100",
14+
"@windmillcode/angular-wml-infinite-dropdown": "^19.2.5100",
15+
"@windmillcode/wml-components-base": "^19.2.5100"
1616
},
1717
"private": false,
1818
"repository": {
@@ -22,5 +22,5 @@
2222
"scripts": {
2323
"build": "npx ng build"
2424
},
25-
"version": "19.2.5001"
25+
"version": "19.2.5100"
2626
}

projects/wml-notify/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"peerDependencies": {
1010
"@angular/common": "^19.2.5",
1111
"@angular/core": "^19.2.5",
12-
"@windmillcode/angular-wml-components-base": "^19.2.5001",
13-
"@windmillcode/wml-components-base": "^19.2.5001"
12+
"@windmillcode/angular-wml-components-base": "^19.2.5100",
13+
"@windmillcode/wml-components-base": "^19.2.5100"
1414
},
1515
"private": false,
1616
"repository": {
@@ -20,5 +20,5 @@
2020
"scripts": {
2121
"build": "npx ng build"
2222
},
23-
"version": "19.2.5001"
23+
"version": "19.2.5100"
2424
}

projects/wml-options/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"peerDependencies": {
1010
"@angular/common": "^19.2.5",
1111
"@angular/core": "^19.2.5",
12-
"@windmillcode/angular-wml-button": "^19.2.5001"
12+
"@windmillcode/angular-wml-button": "^19.2.5100"
1313
},
1414
"private": false,
1515
"repository": {
@@ -19,5 +19,5 @@
1919
"scripts": {
2020
"build": "npx ng build"
2121
},
22-
"version": "19.2.5001"
22+
"version": "19.2.5100"
2323
}

projects/wml-panel/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"peerDependencies": {
1010
"@angular/common": "^19.2.5",
1111
"@angular/core": "^19.2.5",
12-
"@windmillcode/angular-wml-components-base": "^19.2.5001",
13-
"@windmillcode/wml-components-base": "^19.2.5001"
12+
"@windmillcode/angular-wml-components-base": "^19.2.5100",
13+
"@windmillcode/wml-components-base": "^19.2.5100"
1414
},
1515
"private": false,
1616
"repository": {
@@ -20,5 +20,5 @@
2020
"scripts": {
2121
"build": "npx ng build"
2222
},
23-
"version": "19.2.5001"
23+
"version": "19.2.5100"
2424
}

projects/wml-penrose/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"peerDependencies": {
1010
"@angular/common": "^19.2.5",
1111
"@angular/core": "^19.2.5",
12-
"@windmillcode/angular-wml-components-base": "^19.2.5001",
13-
"@windmillcode/wml-components-base": "^19.2.5001"
12+
"@windmillcode/angular-wml-components-base": "^19.2.5100",
13+
"@windmillcode/wml-components-base": "^19.2.5100"
1414
},
1515
"private": false,
1616
"repository": {
@@ -20,5 +20,5 @@
2020
"scripts": {
2121
"build": "npx ng build"
2222
},
23-
"version": "19.2.5001"
23+
"version": "19.2.5100"
2424
}

projects/wml-popup/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"peerDependencies": {
1010
"@angular/common": "^19.2.5",
1111
"@angular/core": "^19.2.5",
12-
"@windmillcode/angular-wml-components-base": "^19.2.5001",
13-
"@windmillcode/wml-components-base": "^19.2.5001"
12+
"@windmillcode/angular-wml-components-base": "^19.2.5100",
13+
"@windmillcode/wml-components-base": "^19.2.5100"
1414
},
1515
"private": false,
1616
"repository": {
@@ -20,5 +20,5 @@
2020
"scripts": {
2121
"build": "npx ng build"
2222
},
23-
"version": "19.2.5001"
23+
"version": "19.2.5100"
2424
}

projects/wml-schematics/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"peerDependencies": {
99
"@angular/common": "^19.2.5",
1010
"@angular/core": "^19.2.5",
11-
"@windmillcode/angular-wml-components-base": "^19.2.5001",
12-
"@windmillcode/wml-components-base": "^19.2.5001"
11+
"@windmillcode/angular-wml-components-base": "^19.2.5100",
12+
"@windmillcode/wml-components-base": "^19.2.5100"
1313
},
1414
"private": false,
1515
"repository": {
@@ -22,5 +22,5 @@
2222
"postbuild": "npx copyfiles schematics/collection.json schematics/*/schema.json schematics/*/files/** ../../dist/wml-schematics/",
2323
"test": "npx ng test templates --code-coverage"
2424
},
25-
"version": "19.2.5001"
25+
"version": "19.2.5100"
2626
}

projects/wml-select/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
"peerDependencies": {
1010
"@angular/common": "^19.2.5",
1111
"@angular/core": "^19.2.5",
12-
"@windmillcode/angular-wml-components-base": "^19.2.5001",
13-
"@windmillcode/angular-wml-field": "^19.2.5001",
14-
"@windmillcode/angular-wml-infinite-dropdown": "^19.2.5001",
15-
"@windmillcode/wml-components-base": "^19.2.5001"
12+
"@windmillcode/angular-wml-components-base": "^19.2.5100",
13+
"@windmillcode/angular-wml-field": "^19.2.5100",
14+
"@windmillcode/angular-wml-infinite-dropdown": "^19.2.5100",
15+
"@windmillcode/wml-components-base": "^19.2.5100"
1616
},
1717
"private": false,
1818
"repository": {
@@ -22,5 +22,5 @@
2222
"scripts": {
2323
"build": "npx ng build"
2424
},
25-
"version": "19.2.5001"
25+
"version": "19.2.5100"
2626
}

0 commit comments

Comments
 (0)