Skip to content

Commit 2d39b81

Browse files
committed
'[CHECKPOINT]' updated package to reflect the version 18.2.3 of @angular/core package
1 parent b82c825 commit 2d39b81

File tree

69 files changed

+283
-1003
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+283
-1003
lines changed

projects/wml-accordion/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,10 @@ updated package to conform with @windmillcode/angular-wml-components-base
469469

470470
### v18.2.2200 [9/3/24]
471471

472-
updated package to conform with @windmillcode/angular-wml-components-base[Previous
472+
updated package to conform with @windmillcode/angular-wml-components-base
473+
474+
### v18.2.3000 [9/4/24]
475+
476+
updated package to reflect the version 18.2.3 of @angular/core package[Previous
473477
WML Schematics](/Windmillcode-Angular-CDK-Docs/schematics/wml-schematics/)[Next
474478
WML Button](/Windmillcode-Angular-CDK-Docs/components/wml-button/)

projects/wml-accordion/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
"peerDependencies": {
1010
"@angular/common": "^18.0.0",
1111
"@angular/core": "^18.0.0",
12-
"@windmillcode/wml-components-base": "^18.2.3000",
13-
"@windmillcode/angular-wml-components-base": "^18.2.3000"
12+
"@windmillcode/angular-wml-components-base": "^18.2.3100",
13+
"@windmillcode/wml-components-base": "^18.2.3100"
1414
},
1515
"private": false,
1616
"schematics": "",
1717
"scripts": {
1818
"build": "npx ng build"
1919
},
20-
"version": "18.2.3000"
21-
}
20+
"version": "18.2.3100"
21+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22

3-
import { WMLTestUtils } from "@windmillcode/angular-wml-components-base";
3+
import { WMLAngularTestUtils } from "@windmillcode/angular-wml-components-base";
44

5-
export let wmlTestUtils= new WMLTestUtils()
5+
export let wmlTestUtils= new WMLAngularTestUtils()
66

77

projects/wml-angular-components-base/README.md

Lines changed: 0 additions & 781 deletions
Large diffs are not rendered by default.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3-
"dest": "../../dist/angular-wml-components-base",
3+
"dest": "../../dist/wml-angular-components-base",
44
"lib": {
55
"entryFile": "src/public-api.ts"
66
},

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
"tslib": "^2.3.0"
55
},
66
"funding": "https://www.gofundme.com/f/strengthen-our-business-to-take-on-bigger-initiati?utm_campaign=p_lico+share-sheet-first-launch&utm_medium=copy_link&utm_source=customer",
7-
"homepage": "https://windmillcode.github.io/Windmillcode-Angular-CDK-Docs//intro/wml-components-base",
7+
"homepage": "https://windmillcode.github.io/Windmillcode-Angular-CDK-Docs//components/wml-angular-components-base",
88
"name": "@windmillcode/angular-wml-components-base",
99
"peerDependencies": {
1010
"@angular/common": "^18.0.0",
1111
"@angular/core": "^18.0.0",
12-
"@windmillcode/wml-components-base": "^18.2.3000"
12+
"@windmillcode/wml-components-base": "^18.2.3100"
1313
},
1414
"private": false,
1515
"schematics": "",
1616
"scripts": {
1717
"build": "npx ng build"
1818
},
19-
"version": "18.2.3000"
20-
}
19+
"version": "18.2.3100"
20+
}

projects/wml-angular-components-base/src/lib/models.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
11
import { Type } from "@angular/core";
22
import { TranslateLoader } from "@ngx-translate/core";
33
import { Subject, of } from "rxjs";
4-
import {WMLMotionUIProperty,WMLMotionUIPropertyState,WMLConstructorDecorator} from "@windmillcode/wml-components-base";
4+
import {WMLMotionUIProperty,WMLMotionUIPropertyState} from "@windmillcode/wml-components-base";
55

66

77
export class WMLAngularMotionUIProperty<V=any,T=any> extends WMLMotionUIProperty<V,T>{
88
override motionEndEvent = new Subject<WMLMotionUIPropertyState>();
99
}
1010

1111

12-
@WMLConstructorDecorator
1312
export class WMLAngularCustomComponent<C=any,P=any> {
14-
constructor(props:Partial<WMLAngularCustomComponent> = {}){
13+
constructor(params: Partial<WMLAngularCustomComponent> = {}) {
14+
let origParams = Object.entries(params)
15+
.filter(([key,val]) => {
16+
return !key.startsWith('param');
17+
});
18+
Object.assign(this, { ...Object.fromEntries(origParams) });
1519
}
20+
1621
cpnt!:Type<C>
1722
props!:P
1823
}

projects/wml-angular-components-base/src/lib/test-utils.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import { throwError, Observable, of } from "rxjs";
1010
// i18n
1111

1212

13-
export class WMLTestUtils {
14-
constructor(props: Partial<WMLTestUtils> = {}) {
13+
export class WMLAngularTestUtils {
14+
constructor(props: Partial<WMLAngularTestUtils> = {}) {
1515
this.checkForSingleton();
1616
let origProps = Object.entries(props)
1717
.filter(([key,val]) => {
@@ -27,11 +27,11 @@ export class WMLTestUtils {
2727
mockDeclarations:any[] = []
2828

2929
private checkForSingleton() {
30-
if (WMLTestUtils.isInit) {
30+
if (WMLAngularTestUtils.isInit) {
3131
throw new SingletonError();
3232
}
3333
else {
34-
WMLTestUtils.isInit = true;
34+
WMLAngularTestUtils.isInit = true;
3535
}
3636
}
3737

@@ -167,8 +167,8 @@ export let createBasicObservableError = (err= new Error())=>{
167167
}
168168

169169

170-
export class WMLTestHttpHandler extends HttpHandler {
171-
constructor(props: Partial<WMLTestHttpHandler> = {}) {
170+
export class WMLAngularTestHttpHandler extends HttpHandler {
171+
constructor(props: Partial<WMLAngularTestHttpHandler> = {}) {
172172
super()
173173
let origProps = Object.entries(props)
174174
.filter(([key,val]) => {

projects/wml-angular-components-base/src/lib/test-utils/test-utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// i18n
33

44

5-
import { WMLTestUtils } from "@windmillcode/angular-wml-components-base";
5+
import { WMLAngularTestUtils } from "@windmillcode/angular-wml-components-base";
66

7-
export let wmlTestUtils= new WMLTestUtils()
7+
export let wmlTestUtils= new WMLAngularTestUtils()
88

99

projects/wml-button/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,10 @@ updated package to conform with @windmillcode/angular-wml-components-base
507507

508508
### v18.2.2200 [9/3/24]
509509

510-
updated package to conform with @windmillcode/angular-wml-components-base[Previous
510+
updated package to conform with @windmillcode/angular-wml-components-base
511+
512+
### v18.2.3000 [9/4/24]
513+
514+
updated package to reflect the version 18.2.3 of @angular/core package[Previous
511515
WML Accordion](/Windmillcode-Angular-CDK-Docs/components/wml-accordion/)[Next
512516
WML Chips](/Windmillcode-Angular-CDK-Docs/components/wml-chips/)

0 commit comments

Comments
 (0)