diff --git a/projects/wml-accordion/README.md b/projects/wml-accordion/README.md index 463d509..7116242 100644 --- a/projects/wml-accordion/README.md +++ b/projects/wml-accordion/README.md @@ -469,6 +469,10 @@ updated package to conform with @windmillcode/angular-wml-components-base ### v18.2.2200 [9/3/24] -updated package to conform with @windmillcode/angular-wml-components-base[Previous +updated package to conform with @windmillcode/angular-wml-components-base + +### v18.2.3000 [9/4/24] + +updated package to reflect the version 18.2.3 of @angular/core package[Previous WML Schematics](/Windmillcode-Angular-CDK-Docs/schematics/wml-schematics/)[Next WML Button](/Windmillcode-Angular-CDK-Docs/components/wml-button/) \ No newline at end of file diff --git a/projects/wml-accordion/package.json b/projects/wml-accordion/package.json index 930a611..fa7c6db 100644 --- a/projects/wml-accordion/package.json +++ b/projects/wml-accordion/package.json @@ -9,13 +9,13 @@ "peerDependencies": { "@angular/common": "^18.0.0", "@angular/core": "^18.0.0", - "@windmillcode/wml-components-base": "^18.2.3000", - "@windmillcode/angular-wml-components-base": "^18.2.3000" + "@windmillcode/angular-wml-components-base": "^18.2.3100", + "@windmillcode/wml-components-base": "^18.2.3100" }, "private": false, "schematics": "", "scripts": { "build": "npx ng build" }, - "version": "18.2.3000" -} + "version": "18.2.3100" +} \ No newline at end of file diff --git a/projects/wml-accordion/src/lib/test-utils/test-utils.ts b/projects/wml-accordion/src/lib/test-utils/test-utils.ts index f49471e..340d19f 100644 --- a/projects/wml-accordion/src/lib/test-utils/test-utils.ts +++ b/projects/wml-accordion/src/lib/test-utils/test-utils.ts @@ -1,7 +1,7 @@ -import { WMLTestUtils } from "@windmillcode/angular-wml-components-base"; +import { WMLAngularTestUtils } from "@windmillcode/angular-wml-components-base"; -export let wmlTestUtils= new WMLTestUtils() +export let wmlTestUtils= new WMLAngularTestUtils() diff --git a/projects/wml-angular-components-base/README.md b/projects/wml-angular-components-base/README.md index 967dc44..e69de29 100644 --- a/projects/wml-angular-components-base/README.md +++ b/projects/wml-angular-components-base/README.md @@ -1,781 +0,0 @@ -# WML Components Base - -When working on web applications, there is no standard baseline. The Angular WML Components Base Library establishes a foundation for your application, ensuring consistency and scalability. The core of this library is the WMLUIProperty , which represents the basic building block of every element in a web application. This property encapsulates all the essential features, and there are several subclasses like WMLRoute for routes, WMLView to leverage change detection, WMLImage for images and WMLMotionUIProperty for CSS animations and transitions. Each class has properties and methods to optimize your work in those features of your application. You can use this package and leave out the rest of the library and you will get very far building very robust and scalable applications - - - -## Installation - -Terminal window
npm install -s --verbose @windmillcode/angular-wml-components-base
- -## Usage - - - -### [WMLUIProperty](#wml-ui-property) - -**The Building Blocks Of Web Apps** - - - -### [WMLMotionUIProperty](#wml-motion-ui-property) - -**Using CSS Animations** - -**[Decent Example](#wml-animate-ui-property-decent-example)** - -if you want a different animation for you animation states simply use a different keyframe mabye suffixing the keyframes with open and close for organization - -### WMLCustomComponent - -**Custom Components** - - - -## References - - - -### WMLUIProperty - -
PropertyTypeDescription
isPresentbooleanIndicates whether the target HTMLElement is present. Default is true.
valueVThe value property. Default is an empty string ("").
textstringOptional text.
classstringGets or sets the CSS class of the target HTMLElement.
stylePartial<CSSStyleDeclaration>Partial CSS styles for the target HTMLElement.
typeTType property for when an entity can have more than one type.
click(evt?: Event) => voidClick event handler for the target HTMLElement.
idstringIdentifier for the target HTMLElement. Default is an empty string ("").
- - - -### WMLView - -
PropertyTypeDescription
cdrefChangeDetectorRefAngular ChangeDetectorRef associated with the component.
- - - -### WMLRoute - -
PropertyTypeDescription
routestringRoute property specific to WMLRoute. Default is "/".
- - - -### WMLMotionUIProperty - -
PropertyTypeDescription
helperStylesWMLUIProperty["style"]Helper styles to prevent animation jank. Can be overwritten with {} if it interferes with your work.
keyFrameStyles{[k: string]: WMLUIProperty["style"]}Object containing keyframe styles for the motion. Keys represent the percentage of the motion (e.g., "0%", "100%").
keyFrameName`stringundefined`
motionStateWMLMotionUIPropertyStateCurrent state of the motion.
motionEndEventSubject<WMLMotionUIPropertyState>Triggers when the motion is finally opened or closed.
autoOpenbooleanAutomatically start the open motion when the component is initialized. Defaults to false.
- - - -### Methods - -
MethodSignatureDescription
getGroupMotionState() => WMLMotionUIPropertyStateReturns the current state of the motion.
animationEnd(evt?: AnimationEvent) => voidHandles the animation end event. Updates the motion state and applies final styles.
openMotion() => voidTriggers the open motion.
closeMotion() => voidTriggers the close motion.
toggleMotion(val: 'forward' | 'reverse') => voidToggles the motion based on the direction (forward for opening, reverse for closing).
injectKeyframes() => voidGenerates and injects keyframes into the document based on keyFrameStyles and keyFrameName.
- - - -### WMLImage - -
PropertyTypeDescription
srcstringSource URL for the image.
altstringAlternative text for the image.
ariaLabelstringARIA label for accessibility.
ariaExpandedbooleanARIA expanded state for accessibility. Default is false.
onErrorFunctionError handler for the image.
routestringRoute property specific to WMLRoute. Default is "/".
linkstringOptional link URL.
routerLinkstringOptional Angular router link.
cdrefChangeDetectorRefAngular ChangeDetectorRef associated with the component.
- - - -### Functions - -addCustomComponent
ParameterTypeDescription
vcfViewContainerRefAngular ViewContainerRef for creating the component.
cpntType<any>Component type to be created.
propsanyProperties to be passed to the component.
returnComponentRef<any>Returns a reference to the created component.
,
- - - -## Changelog - -v0.9.4 -added WMLQueue just a regular Queue data structure thats all - -v0.9.5 -added index accessing for WMLQueue - - - -### 0.10.0 - -add generateRandomNumber, generateRandomColor,and selectRandomOptionFromArraywml - - - -### 0.10.1 - -returned the ref created by addCustomComponent - - - -### 0.10.2 - -WMLAPIPaginationRequestModel[“sort”][number][“direction”] enums are now “ASC” |“DESC” | "" - - - -### 0.10.3 - -add WMLAPIPaginationResponseModel[“columns”] of type - -
Array<{
value:string,
type?:string
}>
- -to provide the developer column information - - - -### 0.10.4 - -made WMLAPIPaginationResponseModel[“data”] Array generic - - - -### 0.10.5 - -added generateClassPrefix method to functions - - - -### 0.10.6 - -updated Function signatuire on WMLUIProperty##click so the event option is optional - -### 0.11.0 - -provided WMLNGXTranslateLoader to work with ngx-translateprovided WMLModuleForRootProps to work with - -### 0.11.1 - -attempting to deal with an issue where numbers are being returned if no feature is present - -### 1.0.0 - -major change -functions##addCustomComponent ref.instance.ngOnInit?.() only gets called if the angular versions is less than 14.1.0 - -### 1.1.0 - -minor changeadded WMLDeepPartial, a utility types that will make all your nested properties optionalmodified WMLNGXTranslateLoader##i18nLocation to return undefined so numbers dont turn to the indexes of the string - -### 2.0.0 - -MAJOR rename to angular-wml-components-base - -### 2.1.1 - -added fn replaceValuesWithPaths which will recursively go through an object and return a new obj with its values in path representation great for i18n - -### 2.1.2 - -made a fix in genearate random color, where some times 5 digits where returned - -### 2.2.0 - -WMLUIProperty.id by default is "" should help with type should hurt if your code depends on it it is still optional - -### 2.2.3 - -generateClassPrefix prefix parameter supports ="" as default use case,ids and will remove the subsequent _ if its thereWMLUIProperty[“id”] default param is "" - -### 16.2.5-0 - -provided access to WMLOptionsProps to the the container cpnt - -### 16.2.70 - -wmlapipaginationrequestmodel##filter[].value is now the any type -%!(EXTRA string= - -### v16.2.80 - -updated package to reflect the version 16.2.80 of @angular/core package), - -### v16.2.80 - -updated package to reflect the version 16.2.80 of @angular/core package, - -### v16.2.90 - -updated package to reflect the version 16.2.90 of @angular/core package, - -### v16.2.91 - -updated package to reflect the version 16.2.91 of @angular/core package - -### 16.2.92 - -provided spyOnForES6Imports, which finally allows you to spyOnFunctions on es6 imports however refer to the stack overflow project on how to[configure your angular app](https://stackoverflow.com/a/77298152/7513181)in order to get this to work it will not work alone*in test.ts - -
...
const { defineProperty } = Object;
Object.defineProperty = function(object, name, meta) {
if (meta.get && !meta.configurable) {
// it might be an ES6 exports object
return defineProperty(object, name, {
...meta,
configurable: true,
});
}
-
return defineProperty(object, name, meta);
};
-
...
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
);
- -tsconfig.spec.json
...
"compilerOptions": {
"outDir": "./out-tsc/spec",
"types": [
"jasmine","node"
],
"module": "commonjs"
},
...
- - - -### 16.2.93 - -added mockDeclarations to wmltestutils so users can add their declarations -, - -### v16.2.93 - -updated package to conform with @windmillcode/angular-wml-components-base for unit testing features , - -### v16.2.100 - -updated package to conform with @windmillcode/angular-wml-components-base for unit testing features , - -### v16.2.110 - -updated package to conform with @windmillcode/angular-wml-components-base for unit testing features - -### v16.2.112 - -update type inference for replaceValuesWithPaths to be more friendly - -### v16.2.113 - -added createBasicObservableError and WMLTestHttpHandler for interceptor test cases and throwing observable errors -, - -### v16.2.120 - -updated package to conform with @windmillcode/angular-wml-components-base for unit testing features , - -### v17.0.10 - -updated package to conform with @windmillcode/angular-wml-components-base for unit testing features , - -### v17.0.11 - -updated package to conform with @windmillcode/angular-wml-components-base for unit testing features , - -### v17.0.20 - -updated package to reflect the version ^17.0.2 of @angular/core package - -### v17.0.21 - -added data-source-utils.ts to help with pagination and data source logic -, - -### v17.0.40 - -updated package to reflect the version ^17.0.4 of @angular/core package, - -### v17.0.50 - -updated package to reflect the version ^17.0.5 of @angular/core package, - -### v17.0.60 - -updated package to reflect the version ^17.0.6 of @angular/core package, - -### v17.0.70 - -updated package to reflect the version ^17.0.7 of @angular/core package - -### v17.0.7300 - -added WMLAnimateUIProperty as the basis for all entities meant to be animated, - - - -### v17.0.7300 - -updated package to conform with @windmillcode/angular-wml-components-base -, - -### v17.0.8300 - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v17.0.7300 - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v17.0.80 - -updated package to reflect the version ^17.0.8 of @angular/core package - -### v17.0.8100 - -prevented animation end event from propagating to child events, given the children are not exactly the same as the parent, -, - -### v17.0.8100 - -updated package to conform with @windmillcode/angular-wml-components-base - -### v17.0.8102 - -added WMLAnimateUIProperty[“helperStyles”] to help animations run more smootly its value is
helperStyles:WMLUIProperty["style"]={
transform:"translate3d(0,0,0)"
}
- -and you can overwrite it as necessary -, - - - -### v17.0.8103 - -updated package to conform with @windmillcode/angular-wml-components-base -, - -### v17.0.9000 - -updated package to conform with @windmillcode/angular-wml-components-base - -### v17.0.9001 - -added generateIdPrefix -, - -### v17.0.9000 - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v17.0.9001 - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v17.1.0000 - -updated package to reflect the version ^17.1.0 of @angular/core package - -### v17.1.2 - -[BREAKING CHANGE] added WMLAnimateUIProperty.autoOpen, by default animations dont don anything -if you need your animations to autoOpen simply go through all your class instances and make the update, - - - -### v17.1.2 - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v17.1.1000 - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v17.1.2000 [2/5/24] - -updated package to reflect the version ^17.1.2 of @angular/core package - -### v17.1.2001 [2/8/24] - -added toggle functionality for updateClassString -, - -### v17.1.2001 [2/8/24] - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v17.1.3001 [2/8/24] - -updated package to reflect the version ^17.1.3 of @angular/core package, - -### v17.1.3000 [2/8/24] - -updated package to reflect the version ^17.1.3 of @angular/core package, - -### v17.2.1000 [2/17/24] - -updated package to reflect the version ^17.2.1 of @angular/core package, - -### v17.2.2000 [2/23/24] - -updated package to reflect the version ^17.2.2 of @angular/core package, - -### v17.2.2001 [2/23/24] - -updated package to reflect the version ^17.2.2 of @angular/core package, - -### v17.2.3000 [2/28/24] - -updated package to reflect the version ^17.2.3 of @angular/core package - -### v17.2.3001 [3/22/24] - -created WMLComponentBaseZero which shortens and hides the complex logic of -our WMLComponentsNew FeaturesIntroduced WMLComponentBaseZero , a new base class designed to simplify and encapsulate the complex logic associated with WML components. This enhancement aims to provide a cleaner and more intuitive interface for working with WML components.Enhancements in component-base.ts :**Refactored WMLComponentBaseZeroProps :** - -Transitioned from a traditional class-based approach to a mixin-based pattern using WMLComponentBaseZeroPropsMixin . This change is intended to enhance flexibility and reusability across different component implementations.The mixin WMLComponentBaseZeroPropsMixin is now used to dynamically extend a base class, incorporating custom properties and methods essential for WML components.Introduced a new setState method within the mixin, providing a streamlined way to update component state.**Introduced WMLComponentBaseZero :** - -This new base class leverages WMLComponentBaseZeroProps to offer a robust foundation for component development.The constructor now initializes class and ID prefixes if they are provided, enabling more consistent and predictable styling and DOM structure.Enhanced the listenForSetState method to work seamlessly with the new state management approach, ensuring changes are propagated efficiently and reliably.Key Changes to Note:The listenForSetState method now listens to changes from setStateSubj , aligning with the new state management strategy.Destructor ( ngOnDestroy ) logic has been updated to ensure proper cleanup, reducing the risk of memory leaks and ensuring better resource management.Usage:To leverage the new WMLComponentBaseZero , extend your components from this base class and utilize the provided mechanisms for state management and lifecycle handling.The mixin approach offers enhanced customization, allowing developers to inject additional properties or methods as needed.Recommendations:Review the updated implementation details in WMLComponentBaseZero and WMLComponentBaseZeroPropsMixin to fully understand the new component structure and behavior.Test your components thoroughly to ensure compatibility with the new base class and to leverage the improvements in state management and lifecycle handling.This update signifies our commitment to improving the developer experience and streamlining component development within the WML ecosystem. -, - - - -### v17.2.3001 [3/2/24] - -updated package to conform with @windmillcode/angular-wml-components-base - -### v17.2.3002 [3/5/24] - -[UPDATE] Added a new fields array of type Array<{value:any}> to the WMLAPIPaginationRequestModel class in data-source-utils.ts . This new field is designed to hold additional data fields that may be required during pagination requests. - -[PATCH] Modified the animationEnd method in the WMLAnimateUIProperty class within models.ts . The condition now removes any spaces from this.animationClass before checking its presence in the event target’s className. This ensures the animation end logic accurately identifies the target regardless of space characters in the class name. -, - - - -### v17.2.3002 [3/5/24] - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v17.2.4000 [3/8/24] - -updated package to reflect the version ^17.2.4 of @angular/core package - -### v17.2.4002 [3/12/24] - -[PATCH] In wml-components-base/src/lib/component-base.ts , added a new ReplaySubject called setStateEvent , which enhances state management within the component. Also adjusted the RxJS pipe in the setState method to include an additional operation that emits the updated state to setStateEvent , improving the reactivity of the component state., - - - -### v17.2.4002 [3/12/24] - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v17.2.4003 [3/13/24] - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v17.2.4004 [3/13/24] - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v17.3.0 [3/17/24] - -updated package to reflect the version ^17.3.0 of @angular/core package -, - -### v17.3.1000 [3/22/24] - -updated package to reflect the version ^17.3.1 of @angular/core package, - -### v17.3.2000 [3/28/24] - -updated package to reflect the version ^17.3.2 of @angular/core package, - -### v17.3.3000 [4/4/24] - -updated package to reflect the version ^17.3.3 of @angular/core package, - -### v17.3.4000 [4/11/24] - -updated package to reflect the version ^17.3.4 of @angular/core package - -### v17.3.4001 [4/16/24] - -added onError to wmlimage prperty -, - -### v17.3.4001 [4/16/24] - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v17.3.5000 [4/20/24] - -updated package to reflect the version ^17.3.5 of @angular/core package - -### v17.3.5110 [4/20/24] - -[UPDATE] ensure dervied class passed type to base classes -Updated models.ts by add the WMLConstructorDecorator function, to streamline and optimize object initialization practices within the framework.
constructor(props:Partial<T>={}){
let origProps = Object.entries(props).filter(([key, val]) => {
return !key.startsWith('param');
});
Object.assign(this, { ...Object.fromEntries(origProps) });
}
- -so as not to overwhelm developers -to use - -
@WMLConstructorDecorator
export class T {
constructor(props: Partial<T> = {}) { }
}
- -, - - - -### v17.3.5110 [5/1/24] - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v17.3.6000 [5/1/24] - -updated package to reflect the version ^17.3.6 of @angular/core package, - -### v17.3.7000 [5/4/24] - -updated package to reflect the version ^17.3.7 of @angular/core package, - -### v17.3.7000 [5/9/24] - -updated package to reflect the version ^17.3.7 of @angular/core package, - -### v17.3.8000 [5/9/24] - -updated package to reflect the version ^17.3.8 of @angular/core package, - -### v17.3.9000 [5/16/24] - -updated package to reflect the version ^17.3.9 of @angular/core package, - -### v18.0.0 [5/22/24] - -updated package to reflect the version ^18.0.0 of @angular/core package, - -### v18.0.1 [5/22/24] - -updated package to reflect the version ^18.0.0 of @angular/core package - -### v18.0.4 [5/25/2024 12:50:12 AM EST] - -[UPDATE] Modified replaceValuesWithPaths function in functions.ts to include a predicate for custom assignments. - -File: functions.ts -Section: replaceValuesWithPaths -Function: replaceValuesWithPaths() -, - - - -### v18.0.4 [5/25/24] - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v18.0.1000 [5/29/24] - -updated package to reflect the version ^18.0.1 of @angular/core package -, - -### v18.0.2000 [6/6/24] - -updated package to reflect the version ^18.0.2 of @angular/core package, - -### v18.0.3000 [6/13/24] - -updated package to reflect the version ^18.0.3 of @angular/core package, - -### v18.0.3000 [6/13/24] - -updated package to reflect the version ^18.0.3 of @angular/core package, - -### v18.0.3000 [6/13/24] - -updated package to reflect the version ^18.0.3 of @angular/core package - -### v18.0.3010 [6/18/2024 ] - -[FIX] projects/wml-components-base/src/lib/models.ts - WMLConstructorDecorator function: Added props to this.wmlInit?.(props) . This means developers can now pass props to wmlInit . -, - -### v18.0.3010 [6/18/24] - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v18.0.3010 [6/18/24] - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v18.0.4010 [6/23/24] - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v18.0.4000 [6/23/24] - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v18.0.4000 [6/23/24] - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v18.0.5000 [6/26/24] - -updated package to reflect the version ^18.0.5 of @angular/core package, - -### v18.0.6000 [7/5/24] - -updated package to reflect the version ^18.0.6 of @angular/core package, - -### v18.1.0 [7/10/24] - -updated package to reflect the version ^18.1.0 of @angular/core package, - -### v18.1.0 [7/13/24] - -updated package to reflect the version ^18.1.0 of @angular/core package, - -### v18.1.3000 [7/13/24] - -updated package to reflect the version ^18.1.0 of @angular/core package, - -### v18.1.3 [7/13/24] - -updated package to reflect the version ^18.1.0 of @angular/core package, - -### v18.1.4 [7/13/24] - -updated package to reflect the version ^18.1.0 of @angular/core package, - -### v18.1.4 [7/13/24] - -updated package to reflect the version ^18.1.0 of @angular/core package - -### v18.1.6 [7/14/24] - -[FIX] fixed an error with WMLConstructorDecorator where WMLInit was not being called -, - -### v18.1.6 [7/14/24] - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v18.1.6 [7/14/24] - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v18.1.1000 [7/18/24] - -updated package to reflect the version ^18.1.1 of @angular/core package, - -### v18.1.2000 [7/24/24] - -updated package to reflect the version ^18.1.2 of @angular/core package - -### v18.1.2300 - -7/27/2024 02:15:42 PM EST - -[update] WMLRoute now extends WMLView in models.ts. If you were using WMLRoute, you now have access to WMLView’s properties, like cdref. - -[update] Added new properties link and routerLink to WMLRoute in models.ts. This gives more flexibility for routing in your components. - -[UPDATE] Changed WMLImage class to extend WMLRoute instead of WMLUIProperty in models.ts. This means WMLImage now includes routing properties route, link, and routerLink as well as cdref from WMLView -, - - - -### v18.1.2230 [7/27/24] - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v18.1.2300 [7/27/24] - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v18.1.2301 [7/30/24] - -updated package to conform with @windmillcode/angular-wml-components-base - -### v18.1.3000 [] - -[MAJOR BREAKING CHANGES]WMLUIProperty id attribute is undefined by default this is for accessbility and QA so values are not all defined with "" -, - -### v18.1.3000-beta0 [8/1/24] - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v18.1.3000-beta1 [8/1/24] - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v18.1.3000-beta2 [8/1/24] - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v18.1.3000-beta3 [8/1/24] - -updated package to conform with @windmillcode/angular-wml-components-base , - -### v18.1.3000-beta4 [8/1/24] - - - -### v18.1.3000-beta13 [8/4/24] - -updated package to conform with @windmillcode/angular-wml-components-base - -### v18.1.3001 [8/4/24] - -updated package to conform with @windmillcode/angular-wml-components-base - -### v18.1.3001 [8/4/24] - -updated package to conform with @windmillcode/angular-wml-components-base - -### v18.1.3002 [8/4/24] - -updated package to conform with @windmillcode/angular-wml-components-base - -### v18.1.3002 [8/5/24] - -updated package to conform with @windmillcode/angular-wml-components-base - -### v18.1.3003 [8/5/24] - -updated package to conform with @windmillcode/angular-wml-components-base - -### v18.1.3004 [8/5/24] - -updated package to conform with @windmillcode/angular-wml-components-base - -### v18.1.3005 [8/5/24] - -updated package to conform with @windmillcode/angular-wml-components-base - -### v18.1.3006 [8/5/24] - -updated package to conform with @windmillcode/angular-wml-components-base - -### v18.1.3007 [8/5/24] - -updated package to conform with @windmillcode/angular-wml-components-base - -### v18.1.4000 [8/14/24] - -updated package to conform with @windmillcode/angular-wml-components-base - -### v18.1.4001 [8/14/24] - -updated package to conform with @windmillcode/angular-wml-components-base - -### v18.2.0 [8/15/24] - -updated package to conform with @windmillcode/angular-wml-components-base - -### v18.2.1 [8/20/24] - -[BREAKING CHANGE] removed WMLButton and WMLButton2 use WMLButtonOneProps for WMLButton and WMLButtonZeroProps for WMLButton2 - -### v18.2.1 [8/20/24] - -updated package to reflect the version 18.2.0 of @angular/core package - -### v18.2.1 [8/20/24] - -updated package to conform with @windmillcode/angular-wml-components-base - -### v18.2.1000 [8/22/24] - -updated package to reflect the version 18.2.1 of @angular/core package - -### v18.2.2000 [8/30/24] - -updated package to reflect the version 18.2.2 of @angular/core package - -### v18.2.2100 [9/1/2024] - -[BREAKING CHANGE] projects/wml-components-base/src/lib/models.ts WMLAnimateUIProperty logic has changed to become more compact. Removed animationClass,beginOpenStyles beginCloseStyles endOpenStyles endCloseStyles animationClass , now using keyFrameName and keyFrameStyles instead. Your animations might break if you were relying on the class name. Update your code to use keyFrameName . - -[UPDATE] projects/wml-components-base/src/lib/models.ts Added keyFrameName to name your keyframe. Every keyframe name must be unique. If you don’t follow this rule, you’ll get an error. - -[UPDATE] projects/wml-components-base/src/lib/models.ts WMLAnimateUIProperty has injectKeyframes method now generates and inserts keyframes based on keyFrameName . - - - -### v18.2.2101 [9/1/2024] - -[UPDATE] IF WMLAnimateUIProperty.keyFrameName is left out an internal one is generated - - - -### v18.2.2200 [9/3/24] - -[BREAKING CHANGE] WMLAnimateUIProperty is now WMLMotionUIProperty and anywhere you see animate on the class (careful not to confuse with css) change to motion - -### v18.2.2200 [9/3/24] - -updated package to conform with @windmillcode/angular-wml-components-base[Next -WML Schematics](/Windmillcode-Angular-CDK-Docs/schematics/wml-schematics/) \ No newline at end of file diff --git a/projects/wml-angular-components-base/ng-package.json b/projects/wml-angular-components-base/ng-package.json index a7e6dcb..799f67b 100644 --- a/projects/wml-angular-components-base/ng-package.json +++ b/projects/wml-angular-components-base/ng-package.json @@ -1,6 +1,6 @@ { "$schema": "../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../dist/angular-wml-components-base", + "dest": "../../dist/wml-angular-components-base", "lib": { "entryFile": "src/public-api.ts" }, diff --git a/projects/wml-angular-components-base/package.json b/projects/wml-angular-components-base/package.json index 1d363b1..b036bd6 100644 --- a/projects/wml-angular-components-base/package.json +++ b/projects/wml-angular-components-base/package.json @@ -4,17 +4,17 @@ "tslib": "^2.3.0" }, "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", - "homepage": "https://windmillcode.github.io/Windmillcode-Angular-CDK-Docs//intro/wml-components-base", + "homepage": "https://windmillcode.github.io/Windmillcode-Angular-CDK-Docs//components/wml-angular-components-base", "name": "@windmillcode/angular-wml-components-base", "peerDependencies": { "@angular/common": "^18.0.0", "@angular/core": "^18.0.0", - "@windmillcode/wml-components-base": "^18.2.3000" + "@windmillcode/wml-components-base": "^18.2.3100" }, "private": false, "schematics": "", "scripts": { "build": "npx ng build" }, - "version": "18.2.3000" -} + "version": "18.2.3100" +} \ No newline at end of file diff --git a/projects/wml-angular-components-base/src/lib/models.ts b/projects/wml-angular-components-base/src/lib/models.ts index cc0034b..2df3600 100644 --- a/projects/wml-angular-components-base/src/lib/models.ts +++ b/projects/wml-angular-components-base/src/lib/models.ts @@ -1,7 +1,7 @@ import { Type } from "@angular/core"; import { TranslateLoader } from "@ngx-translate/core"; import { Subject, of } from "rxjs"; -import {WMLMotionUIProperty,WMLMotionUIPropertyState,WMLConstructorDecorator} from "@windmillcode/wml-components-base"; +import {WMLMotionUIProperty,WMLMotionUIPropertyState} from "@windmillcode/wml-components-base"; export class WMLAngularMotionUIProperty extends WMLMotionUIProperty{ @@ -9,10 +9,15 @@ export class WMLAngularMotionUIProperty extends WMLMotionUIProperty } -@WMLConstructorDecorator export class WMLAngularCustomComponent { - constructor(props:Partial = {}){ + constructor(params: Partial = {}) { + let origParams = Object.entries(params) + .filter(([key,val]) => { + return !key.startsWith('param'); + }); + Object.assign(this, { ...Object.fromEntries(origParams) }); } + cpnt!:Type props!:P } diff --git a/projects/wml-angular-components-base/src/lib/test-utils.ts b/projects/wml-angular-components-base/src/lib/test-utils.ts index 8871037..4a27b51 100644 --- a/projects/wml-angular-components-base/src/lib/test-utils.ts +++ b/projects/wml-angular-components-base/src/lib/test-utils.ts @@ -10,8 +10,8 @@ import { throwError, Observable, of } from "rxjs"; // i18n -export class WMLTestUtils { - constructor(props: Partial = {}) { +export class WMLAngularTestUtils { + constructor(props: Partial = {}) { this.checkForSingleton(); let origProps = Object.entries(props) .filter(([key,val]) => { @@ -27,11 +27,11 @@ export class WMLTestUtils { mockDeclarations:any[] = [] private checkForSingleton() { - if (WMLTestUtils.isInit) { + if (WMLAngularTestUtils.isInit) { throw new SingletonError(); } else { - WMLTestUtils.isInit = true; + WMLAngularTestUtils.isInit = true; } } @@ -167,8 +167,8 @@ export let createBasicObservableError = (err= new Error())=>{ } -export class WMLTestHttpHandler extends HttpHandler { - constructor(props: Partial = {}) { +export class WMLAngularTestHttpHandler extends HttpHandler { + constructor(props: Partial = {}) { super() let origProps = Object.entries(props) .filter(([key,val]) => { diff --git a/projects/wml-angular-components-base/src/lib/test-utils/test-utils.ts b/projects/wml-angular-components-base/src/lib/test-utils/test-utils.ts index 7b1514c..664e7bd 100644 --- a/projects/wml-angular-components-base/src/lib/test-utils/test-utils.ts +++ b/projects/wml-angular-components-base/src/lib/test-utils/test-utils.ts @@ -2,8 +2,8 @@ // i18n -import { WMLTestUtils } from "@windmillcode/angular-wml-components-base"; +import { WMLAngularTestUtils } from "@windmillcode/angular-wml-components-base"; -export let wmlTestUtils= new WMLTestUtils() +export let wmlTestUtils= new WMLAngularTestUtils() diff --git a/projects/wml-button/README.md b/projects/wml-button/README.md index 6bdb353..2ac7da9 100644 --- a/projects/wml-button/README.md +++ b/projects/wml-button/README.md @@ -507,6 +507,10 @@ updated package to conform with @windmillcode/angular-wml-components-base ### v18.2.2200 [9/3/24] -updated package to conform with @windmillcode/angular-wml-components-base[Previous +updated package to conform with @windmillcode/angular-wml-components-base + +### v18.2.3000 [9/4/24] + +updated package to reflect the version 18.2.3 of @angular/core package[Previous WML Accordion](/Windmillcode-Angular-CDK-Docs/components/wml-accordion/)[Next WML Chips](/Windmillcode-Angular-CDK-Docs/components/wml-chips/) \ No newline at end of file diff --git a/projects/wml-button/package.json b/projects/wml-button/package.json index 826a700..e41541d 100644 --- a/projects/wml-button/package.json +++ b/projects/wml-button/package.json @@ -9,13 +9,13 @@ "peerDependencies": { "@angular/common": "^18.0.0", "@angular/core": "^18.0.0", - "@windmillcode/wml-components-base": "^18.2.3000", - "@windmillcode/angular-wml-components-base": "^18.2.3000" + "@windmillcode/angular-wml-components-base": "^18.2.3100", + "@windmillcode/wml-components-base": "^18.2.3100" }, "private": false, "schematics": "", "scripts": { "build": "npx ng build" }, - "version": "18.2.3000" -} + "version": "18.2.3100" +} \ No newline at end of file diff --git a/projects/wml-button/src/lib/test-utils/test-utils.ts b/projects/wml-button/src/lib/test-utils/test-utils.ts index 7b1514c..664e7bd 100644 --- a/projects/wml-button/src/lib/test-utils/test-utils.ts +++ b/projects/wml-button/src/lib/test-utils/test-utils.ts @@ -2,8 +2,8 @@ // i18n -import { WMLTestUtils } from "@windmillcode/angular-wml-components-base"; +import { WMLAngularTestUtils } from "@windmillcode/angular-wml-components-base"; -export let wmlTestUtils= new WMLTestUtils() +export let wmlTestUtils= new WMLAngularTestUtils() diff --git a/projects/wml-chips/README.md b/projects/wml-chips/README.md index 9cf9adb..0393c5e 100644 --- a/projects/wml-chips/README.md +++ b/projects/wml-chips/README.md @@ -451,6 +451,10 @@ updated package to conform with @windmillcode/angular-wml-components-base ### v18.2.2200 [9/3/24] -updated package to conform with @windmillcode/angular-wml-components-base[Previous +updated package to conform with @windmillcode/angular-wml-components-base + +### v18.2.3000 [9/4/24] + +updated package to reflect the version 18.2.3 of @angular/core package[Previous WML Button](/Windmillcode-Angular-CDK-Docs/components/wml-button/)[Next WML Field](/Windmillcode-Angular-CDK-Docs/components/wml-field/) \ No newline at end of file diff --git a/projects/wml-chips/package.json b/projects/wml-chips/package.json index b31fea5..f8b0873 100644 --- a/projects/wml-chips/package.json +++ b/projects/wml-chips/package.json @@ -11,9 +11,9 @@ "@angular/cdk": "^18.0.0", "@angular/common": "^18.0.0", "@angular/core": "^18.0.0", - "@windmillcode/angular-wml-button": "^18.2.3000", - "@windmillcode/wml-components-base": "^18.2.3000", - "@windmillcode/angular-wml-components-base": "^18.2.3000" + "@windmillcode/angular-wml-button": "^18.2.3100", + "@windmillcode/angular-wml-components-base": "^18.2.3100", + "@windmillcode/wml-components-base": "^18.2.3100" }, "private": false, "schematics": "", @@ -21,5 +21,5 @@ "build": "npx ng build", "test": "npx ng test wml-chips --code-coverage" }, - "version": "18.2.3000" -} + "version": "18.2.3100" +} \ No newline at end of file diff --git a/projects/wml-chips/src/lib/test-utils/test-utils.ts b/projects/wml-chips/src/lib/test-utils/test-utils.ts index 7b1514c..664e7bd 100644 --- a/projects/wml-chips/src/lib/test-utils/test-utils.ts +++ b/projects/wml-chips/src/lib/test-utils/test-utils.ts @@ -2,8 +2,8 @@ // i18n -import { WMLTestUtils } from "@windmillcode/angular-wml-components-base"; +import { WMLAngularTestUtils } from "@windmillcode/angular-wml-components-base"; -export let wmlTestUtils= new WMLTestUtils() +export let wmlTestUtils= new WMLAngularTestUtils() diff --git a/projects/wml-components-base/README.md b/projects/wml-components-base/README.md index 967dc44..5c0cb4b 100644 --- a/projects/wml-components-base/README.md +++ b/projects/wml-components-base/README.md @@ -777,5 +777,9 @@ updated package to reflect the version 18.2.2 of @angular/core package ### v18.2.2200 [9/3/24] -updated package to conform with @windmillcode/angular-wml-components-base[Next +updated package to conform with @windmillcode/angular-wml-components-base + +### v18.2.3000 [9/4/24] + +updated package to reflect the version 18.2.3 of @angular/core package[Next WML Schematics](/Windmillcode-Angular-CDK-Docs/schematics/wml-schematics/) \ No newline at end of file diff --git a/projects/wml-components-base/package.json b/projects/wml-components-base/package.json index afc8c2b..3eb7df8 100644 --- a/projects/wml-components-base/package.json +++ b/projects/wml-components-base/package.json @@ -10,5 +10,5 @@ "scripts": { "build": "npx ng build" }, - "version": "18.2.3000" -} + "version": "18.2.3100" +} \ No newline at end of file diff --git a/projects/wml-components-base/src/lib/models.ts b/projects/wml-components-base/src/lib/models.ts index 19a2ca7..d56e728 100644 --- a/projects/wml-components-base/src/lib/models.ts +++ b/projects/wml-components-base/src/lib/models.ts @@ -3,6 +3,27 @@ import { detectFramework, updateClassString } from "./functions"; export type WMLUIFramework='React' | 'Angular' | 'Vue.js' | 'Svelte' | 'Ember.js' | 'Backbone.js' | 'Preact' | 'Next.js' | 'Nuxt.js' | 'Gatsby' | 'Remix' | 'NestJS' | 'VanillaJS'| 'Lit' | 'Alpine.js' | 'Mithril.js' | 'Aurelia' | 'Riot.js' | 'Inferno' | 'Stencil' +export function WMLConstructorDecorator(ReversedBase: T) { + + return class extends ReversedBase { + constructor(...args: any[]) { + const props: Partial = args[0] || {}; + super(props); + Object.entries(props).forEach(([key, value]) => { + if (!key.startsWith('prop')) { + this[key] = value; + } + }); + // @ts-ignore + this.wmlInit?.(props) + + } + + // wmlInit?:Function + } ; +} + + export class WMLUIProperty{ constructor(props:Partial> = {}){ Object.assign( @@ -49,26 +70,6 @@ export class WMLUIProperty{ } -export function WMLConstructorDecorator(ReversedBase: T) { - - return class extends ReversedBase { - constructor(...args: any[]) { - const props: Partial = args[0] || {}; - super(props); - Object.entries(props).forEach(([key, value]) => { - if (!key.startsWith('prop')) { - this[key] = value; - } - }); - // @ts-ignore - this.wmlInit?.(props) - - } - - // wmlInit?:Function - } ; -} - export class WMLEndpoint { constructor(props:Partial={}){ Object.assign( @@ -96,16 +97,18 @@ export class WMLView extends WMLUIProperty{ /** * @deprecated use angular.cdref instead */ - cdref?:any - angular = { - // ChangeDetectorRef - get cdref(){ - return this.cdref - }, + get cdref(){ + return this.angular.cdref + } + /** + * @deprecated use angular.cdref instead + */ + set cdref(val){ + this.angular.cdref = val + } + angular:any = { // ChangeDetectorRef - set cdref(val){ - this.cdref = val - } + cdref:null } } @@ -193,7 +196,7 @@ export class WMLMotionUIProperty extends WMLView { getGroupMotionState:()=> WMLMotionUIPropertyState =()=>{ return this.motionState } - motionEndEvent:any = (WMLMotionUIPropertyState)=>{ + motionEndEvent:any = (state:WMLMotionUIPropertyState)=>{ } readonly animationEnd:(evt?:AnimationEvent)=> void =(evt)=>{ @@ -213,13 +216,13 @@ export class WMLMotionUIProperty extends WMLView { }) if(["Angular"].includes(WMLMotionUIProperty.framework )){ // @ts-ignore - this.motionEndEvent?.next(this.motionState) + this.motionEndEvent.next?.(this.motionState) } else{ this.motionEndEvent(this.motionState) } if(["Angular"].includes(WMLMotionUIProperty.framework )){ - this.cdref?.detectChanges() + this.angular.cdref?.detectChanges() } } diff --git a/projects/wml-field/README.md b/projects/wml-field/README.md index d155b52..ac0d2bc 100644 --- a/projects/wml-field/README.md +++ b/projects/wml-field/README.md @@ -476,6 +476,10 @@ updated package to conform with @windmillcode/angular-wml-components-base ### v18.2.2200 [9/3/24] -updated package to conform with @windmillcode/angular-wml-components-base[Previous +updated package to conform with @windmillcode/angular-wml-components-base + +### v18.2.3000 [9/4/24] + +updated package to reflect the version 18.2.3 of @angular/core package[Previous WML Chips](/Windmillcode-Angular-CDK-Docs/components/wml-chips/)[Next WML File Manager](/Windmillcode-Angular-CDK-Docs/components/wml-file-manager/) \ No newline at end of file diff --git a/projects/wml-field/package.json b/projects/wml-field/package.json index 2930a28..226f73a 100644 --- a/projects/wml-field/package.json +++ b/projects/wml-field/package.json @@ -9,13 +9,13 @@ "peerDependencies": { "@angular/common": "^18.0.0", "@angular/core": "^18.0.0", - "@windmillcode/wml-components-base": "^18.2.3000", - "@windmillcode/angular-wml-components-base": "^18.2.3000" + "@windmillcode/angular-wml-components-base": "^18.2.3100", + "@windmillcode/wml-components-base": "^18.2.3100" }, "private": false, "schematics": "", "scripts": { "build": "npx ng build" }, - "version": "18.2.3000" -} + "version": "18.2.3100" +} \ No newline at end of file diff --git a/projects/wml-field/src/lib/test-utils/test-utils.ts b/projects/wml-field/src/lib/test-utils/test-utils.ts index 7b1514c..664e7bd 100644 --- a/projects/wml-field/src/lib/test-utils/test-utils.ts +++ b/projects/wml-field/src/lib/test-utils/test-utils.ts @@ -2,8 +2,8 @@ // i18n -import { WMLTestUtils } from "@windmillcode/angular-wml-components-base"; +import { WMLAngularTestUtils } from "@windmillcode/angular-wml-components-base"; -export let wmlTestUtils= new WMLTestUtils() +export let wmlTestUtils= new WMLAngularTestUtils() diff --git a/projects/wml-file-manager/README.md b/projects/wml-file-manager/README.md index d13347e..b3b4e38 100644 --- a/projects/wml-file-manager/README.md +++ b/projects/wml-file-manager/README.md @@ -441,6 +441,10 @@ updated package to conform with @windmillcode/angular-wml-components-base ### v18.2.2200 [9/3/24] -updated package to conform with @windmillcode/angular-wml-components-base[Previous +updated package to conform with @windmillcode/angular-wml-components-base + +### v18.2.3000 [9/4/24] + +updated package to reflect the version 18.2.3 of @angular/core package[Previous WML Field](/Windmillcode-Angular-CDK-Docs/components/wml-field/)[Next WML Form](/Windmillcode-Angular-CDK-Docs/components/wml-form/) \ No newline at end of file diff --git a/projects/wml-file-manager/package.json b/projects/wml-file-manager/package.json index 9561276..e07e7db 100644 --- a/projects/wml-file-manager/package.json +++ b/projects/wml-file-manager/package.json @@ -9,13 +9,13 @@ "peerDependencies": { "@angular/common": "^18.0.0", "@angular/core": "^18.0.0", - "@windmillcode/wml-components-base": "^18.2.3000", - "@windmillcode/angular-wml-components-base": "^18.2.3000" + "@windmillcode/angular-wml-components-base": "^18.2.3100", + "@windmillcode/wml-components-base": "^18.2.3100" }, "private": false, "schematics": "", "scripts": { "build": "npx ng build" }, - "version": "18.2.3000" -} + "version": "18.2.3100" +} \ No newline at end of file diff --git a/projects/wml-file-manager/src/lib/test-utils/test-utils.ts b/projects/wml-file-manager/src/lib/test-utils/test-utils.ts index 7b1514c..664e7bd 100644 --- a/projects/wml-file-manager/src/lib/test-utils/test-utils.ts +++ b/projects/wml-file-manager/src/lib/test-utils/test-utils.ts @@ -2,8 +2,8 @@ // i18n -import { WMLTestUtils } from "@windmillcode/angular-wml-components-base"; +import { WMLAngularTestUtils } from "@windmillcode/angular-wml-components-base"; -export let wmlTestUtils= new WMLTestUtils() +export let wmlTestUtils= new WMLAngularTestUtils() diff --git a/projects/wml-form/README.md b/projects/wml-form/README.md index f7d3f24..e0f03f4 100644 --- a/projects/wml-form/README.md +++ b/projects/wml-form/README.md @@ -162,6 +162,10 @@ updated package to conform with @windmillcode/angular-wml-components-base ### v18.2.2200 [9/3/24] -updated package to conform with @windmillcode/angular-wml-components-base[Previous +updated package to conform with @windmillcode/angular-wml-components-base + +### v18.2.3000 [9/4/24] + +updated package to reflect the version 18.2.3 of @angular/core package[Previous WML File Manager](/Windmillcode-Angular-CDK-Docs/components/wml-file-manager/)[Next WML Infinite Dropdown](/Windmillcode-Angular-CDK-Docs/components/wml-infinite-dropdown/) \ No newline at end of file diff --git a/projects/wml-form/package.json b/projects/wml-form/package.json index fba9bb9..c9b8a2d 100644 --- a/projects/wml-form/package.json +++ b/projects/wml-form/package.json @@ -9,13 +9,13 @@ "peerDependencies": { "@angular/common": "^18.0.0", "@angular/core": "^18.0.0", - "@windmillcode/wml-components-base": "^18.2.3000", - "@windmillcode/angular-wml-components-base": "^18.2.3000" + "@windmillcode/angular-wml-components-base": "^18.2.3100", + "@windmillcode/wml-components-base": "^18.2.3100" }, "private": false, "schematics": "", "scripts": { "build": "npx ng build" }, - "version": "18.2.3000" -} + "version": "18.2.3100" +} \ No newline at end of file diff --git a/projects/wml-form/src/lib/test-utils/test-utils.ts b/projects/wml-form/src/lib/test-utils/test-utils.ts index 7b1514c..664e7bd 100644 --- a/projects/wml-form/src/lib/test-utils/test-utils.ts +++ b/projects/wml-form/src/lib/test-utils/test-utils.ts @@ -2,8 +2,8 @@ // i18n -import { WMLTestUtils } from "@windmillcode/angular-wml-components-base"; +import { WMLAngularTestUtils } from "@windmillcode/angular-wml-components-base"; -export let wmlTestUtils= new WMLTestUtils() +export let wmlTestUtils= new WMLAngularTestUtils() diff --git a/projects/wml-infinite-dropdown/README.md b/projects/wml-infinite-dropdown/README.md index 0284b37..c029e6a 100644 --- a/projects/wml-infinite-dropdown/README.md +++ b/projects/wml-infinite-dropdown/README.md @@ -511,6 +511,10 @@ updated package to conform with @windmillcode/angular-wml-components-base ### v18.2.2200 [9/3/24] -updated package to conform with @windmillcode/angular-wml-components-base[Previous +updated package to conform with @windmillcode/angular-wml-components-base + +### v18.2.3000 [9/4/24] + +updated package to reflect the version 18.2.3 of @angular/core package[Previous WML Form](/Windmillcode-Angular-CDK-Docs/components/wml-form/)[Next WML Input](/Windmillcode-Angular-CDK-Docs/components/wml-input/) \ No newline at end of file diff --git a/projects/wml-infinite-dropdown/package.json b/projects/wml-infinite-dropdown/package.json index c3cf37a..e5da3a7 100644 --- a/projects/wml-infinite-dropdown/package.json +++ b/projects/wml-infinite-dropdown/package.json @@ -9,13 +9,13 @@ "peerDependencies": { "@angular/common": "^18.0.0", "@angular/core": "^18.0.0", - "@windmillcode/wml-components-base": "^18.2.3000", - "@windmillcode/angular-wml-components-base": "^18.2.3000" + "@windmillcode/angular-wml-components-base": "^18.2.3100", + "@windmillcode/wml-components-base": "^18.2.3100" }, "private": false, "schematics": "", "scripts": { "build": "npx ng build" }, - "version": "18.2.3000" -} + "version": "18.2.3100" +} \ No newline at end of file diff --git a/projects/wml-infinite-dropdown/src/lib/test-utils/test-utils.ts b/projects/wml-infinite-dropdown/src/lib/test-utils/test-utils.ts index 7b1514c..664e7bd 100644 --- a/projects/wml-infinite-dropdown/src/lib/test-utils/test-utils.ts +++ b/projects/wml-infinite-dropdown/src/lib/test-utils/test-utils.ts @@ -2,8 +2,8 @@ // i18n -import { WMLTestUtils } from "@windmillcode/angular-wml-components-base"; +import { WMLAngularTestUtils } from "@windmillcode/angular-wml-components-base"; -export let wmlTestUtils= new WMLTestUtils() +export let wmlTestUtils= new WMLAngularTestUtils() diff --git a/projects/wml-input/README.md b/projects/wml-input/README.md index 9af7724..67acd9a 100644 --- a/projects/wml-input/README.md +++ b/projects/wml-input/README.md @@ -464,6 +464,10 @@ updated package to conform with @windmillcode/angular-wml-components-base ### v18.2.2200 [9/3/24] -updated package to conform with @windmillcode/angular-wml-components-base[Previous +updated package to conform with @windmillcode/angular-wml-components-base + +### v18.2.3000 [9/4/24] + +updated package to reflect the version 18.2.3 of @angular/core package[Previous WML Infinite Dropdown](/Windmillcode-Angular-CDK-Docs/components/wml-infinite-dropdown/)[Next WML Mobile Nav](/Windmillcode-Angular-CDK-Docs/components/wml-mobile-nav/) \ No newline at end of file diff --git a/projects/wml-input/package.json b/projects/wml-input/package.json index 9ec6c56..a17174c 100644 --- a/projects/wml-input/package.json +++ b/projects/wml-input/package.json @@ -9,13 +9,13 @@ "peerDependencies": { "@angular/common": "^18.0.0", "@angular/core": "^18.0.0", - "@windmillcode/wml-components-base": "^18.2.3000", - "@windmillcode/angular-wml-components-base": "^18.2.3000" + "@windmillcode/angular-wml-components-base": "^18.2.3100", + "@windmillcode/wml-components-base": "^18.2.3100" }, "private": false, "schematics": "", "scripts": { "build": "npx ng build" }, - "version": "18.2.3000" -} + "version": "18.2.3100" +} \ No newline at end of file diff --git a/projects/wml-input/src/lib/test-utils/test-utils.ts b/projects/wml-input/src/lib/test-utils/test-utils.ts index 7b1514c..664e7bd 100644 --- a/projects/wml-input/src/lib/test-utils/test-utils.ts +++ b/projects/wml-input/src/lib/test-utils/test-utils.ts @@ -2,8 +2,8 @@ // i18n -import { WMLTestUtils } from "@windmillcode/angular-wml-components-base"; +import { WMLAngularTestUtils } from "@windmillcode/angular-wml-components-base"; -export let wmlTestUtils= new WMLTestUtils() +export let wmlTestUtils= new WMLAngularTestUtils() diff --git a/projects/wml-mobile-nav/README.md b/projects/wml-mobile-nav/README.md index 3759dd6..930cb34 100644 --- a/projects/wml-mobile-nav/README.md +++ b/projects/wml-mobile-nav/README.md @@ -437,6 +437,10 @@ updated package to conform with @windmillcode/angular-wml-components-base ### v18.2.2200 [9/3/24] -updated package to conform with @windmillcode/angular-wml-components-base[Previous +updated package to conform with @windmillcode/angular-wml-components-base + +### v18.2.3000 [9/4/24] + +updated package to reflect the version 18.2.3 of @angular/core package[Previous WML Input](/Windmillcode-Angular-CDK-Docs/components/wml-input/)[Next WML Notify](/Windmillcode-Angular-CDK-Docs/components/wml-notify/) \ No newline at end of file diff --git a/projects/wml-mobile-nav/package.json b/projects/wml-mobile-nav/package.json index b4b1317..29363c4 100644 --- a/projects/wml-mobile-nav/package.json +++ b/projects/wml-mobile-nav/package.json @@ -10,14 +10,14 @@ "@angular/common": "^18.0.0", "@angular/core": "^18.0.0", "@angular/forms": "^18.0.0", - "@windmillcode/wml-components-base": "^18.2.3000", - "@windmillcode/angular-wml-components-base": "^18.2.3000", - "@windmillcode/angular-wml-infinite-dropdown": "^18.2.3000" + "@windmillcode/angular-wml-components-base": "^18.2.3100", + "@windmillcode/angular-wml-infinite-dropdown": "^18.2.3100", + "@windmillcode/wml-components-base": "^18.2.3100" }, "private": false, "schematics": "", "scripts": { "build": "npx ng build" }, - "version": "18.2.3000" -} + "version": "18.2.3100" +} \ No newline at end of file diff --git a/projects/wml-mobile-nav/src/lib/test-utils/test-utils.ts b/projects/wml-mobile-nav/src/lib/test-utils/test-utils.ts index 7b1514c..664e7bd 100644 --- a/projects/wml-mobile-nav/src/lib/test-utils/test-utils.ts +++ b/projects/wml-mobile-nav/src/lib/test-utils/test-utils.ts @@ -2,8 +2,8 @@ // i18n -import { WMLTestUtils } from "@windmillcode/angular-wml-components-base"; +import { WMLAngularTestUtils } from "@windmillcode/angular-wml-components-base"; -export let wmlTestUtils= new WMLTestUtils() +export let wmlTestUtils= new WMLAngularTestUtils() diff --git a/projects/wml-notify/README.md b/projects/wml-notify/README.md index 7b8547c..96bc65c 100644 --- a/projects/wml-notify/README.md +++ b/projects/wml-notify/README.md @@ -430,6 +430,10 @@ updated package to conform with @windmillcode/angular-wml-components-base ### v18.2.2200 [9/3/24] -updated package to conform with @windmillcode/angular-wml-components-base[Previous +updated package to conform with @windmillcode/angular-wml-components-base + +### v18.2.3000 [9/4/24] + +updated package to reflect the version 18.2.3 of @angular/core package[Previous WML Mobile Nav](/Windmillcode-Angular-CDK-Docs/components/wml-mobile-nav/)[Next WML Options](/Windmillcode-Angular-CDK-Docs/components/wml-options/) \ No newline at end of file diff --git a/projects/wml-notify/package.json b/projects/wml-notify/package.json index 87ee25c..18bdd18 100644 --- a/projects/wml-notify/package.json +++ b/projects/wml-notify/package.json @@ -9,13 +9,13 @@ "peerDependencies": { "@angular/common": "^18.0.0", "@angular/core": "^18.0.0", - "@windmillcode/wml-components-base": "^18.2.3000", - "@windmillcode/angular-wml-components-base": "^18.2.3000" + "@windmillcode/angular-wml-components-base": "^18.2.3100", + "@windmillcode/wml-components-base": "^18.2.3100" }, "private": false, "schematics": "", "scripts": { "build": "npx ng build" }, - "version": "18.2.3000" -} + "version": "18.2.3100" +} \ No newline at end of file diff --git a/projects/wml-notify/src/lib/test-utils/test-utils.ts b/projects/wml-notify/src/lib/test-utils/test-utils.ts index 7b1514c..664e7bd 100644 --- a/projects/wml-notify/src/lib/test-utils/test-utils.ts +++ b/projects/wml-notify/src/lib/test-utils/test-utils.ts @@ -2,8 +2,8 @@ // i18n -import { WMLTestUtils } from "@windmillcode/angular-wml-components-base"; +import { WMLAngularTestUtils } from "@windmillcode/angular-wml-components-base"; -export let wmlTestUtils= new WMLTestUtils() +export let wmlTestUtils= new WMLAngularTestUtils() diff --git a/projects/wml-options/README.md b/projects/wml-options/README.md index d02cc43..3248182 100644 --- a/projects/wml-options/README.md +++ b/projects/wml-options/README.md @@ -152,6 +152,10 @@ updated package to conform with @windmillcode/angular-wml-components-base ### v18.2.2200 [9/3/24] -updated package to conform with @windmillcode/angular-wml-components-base[Previous +updated package to conform with @windmillcode/angular-wml-components-base + +### v18.2.3000 [9/4/24] + +updated package to reflect the version 18.2.3 of @angular/core package[Previous WML Notify](/Windmillcode-Angular-CDK-Docs/components/wml-notify/)[Next WML Panel](/Windmillcode-Angular-CDK-Docs/components/wml-panel/) \ No newline at end of file diff --git a/projects/wml-options/package.json b/projects/wml-options/package.json index a859138..f7868c1 100644 --- a/projects/wml-options/package.json +++ b/projects/wml-options/package.json @@ -9,12 +9,12 @@ "peerDependencies": { "@angular/common": "^18.0.0", "@angular/core": "^18.0.0", - "@windmillcode/angular-wml-button": "^18.2.3000" + "@windmillcode/angular-wml-button": "^18.2.3100" }, "private": false, "schematics": "", "scripts": { "build": "npx ng build" }, - "version": "18.2.3000" + "version": "18.2.3100" } \ No newline at end of file diff --git a/projects/wml-panel/README.md b/projects/wml-panel/README.md index 4e89647..0601d2f 100644 --- a/projects/wml-panel/README.md +++ b/projects/wml-panel/README.md @@ -433,6 +433,10 @@ updated package to conform with @windmillcode/angular-wml-components-base ### v18.2.2200 [9/3/24] -updated package to conform with @windmillcode/angular-wml-components-base[Previous +updated package to conform with @windmillcode/angular-wml-components-base + +### v18.2.3000 [9/4/24] + +updated package to reflect the version 18.2.3 of @angular/core package[Previous WML Options](/Windmillcode-Angular-CDK-Docs/components/wml-options/)[Next WML Popup](/Windmillcode-Angular-CDK-Docs/components/wml-popup/) \ No newline at end of file diff --git a/projects/wml-panel/package.json b/projects/wml-panel/package.json index 3960c5c..82ab0a8 100644 --- a/projects/wml-panel/package.json +++ b/projects/wml-panel/package.json @@ -9,13 +9,13 @@ "peerDependencies": { "@angular/common": "^18.0.0", "@angular/core": "^18.0.0", - "@windmillcode/wml-components-base": "^18.2.3000", - "@windmillcode/angular-wml-components-base": "^18.2.3000" + "@windmillcode/angular-wml-components-base": "^18.2.3100", + "@windmillcode/wml-components-base": "^18.2.3100" }, "private": false, "schematics": "", "scripts": { "build": "npx ng build" }, - "version": "18.2.3000" -} + "version": "18.2.3100" +} \ No newline at end of file diff --git a/projects/wml-panel/src/lib/test-utils/test-utils.ts b/projects/wml-panel/src/lib/test-utils/test-utils.ts index 7b1514c..664e7bd 100644 --- a/projects/wml-panel/src/lib/test-utils/test-utils.ts +++ b/projects/wml-panel/src/lib/test-utils/test-utils.ts @@ -2,8 +2,8 @@ // i18n -import { WMLTestUtils } from "@windmillcode/angular-wml-components-base"; +import { WMLAngularTestUtils } from "@windmillcode/angular-wml-components-base"; -export let wmlTestUtils= new WMLTestUtils() +export let wmlTestUtils= new WMLAngularTestUtils() diff --git a/projects/wml-penrose/package.json b/projects/wml-penrose/package.json index e08f2a9..ec53786 100644 --- a/projects/wml-penrose/package.json +++ b/projects/wml-penrose/package.json @@ -9,13 +9,13 @@ "peerDependencies": { "@angular/common": "^18.0.0", "@angular/core": "^18.0.0", - "@windmillcode/wml-components-base": "^18.2.3000", - "@windmillcode/angular-wml-components-base": "^18.2.3000" + "@windmillcode/angular-wml-components-base": "^18.2.3100", + "@windmillcode/wml-components-base": "^18.2.3100" }, "private": false, "schematics": "", "scripts": { "build": "npx ng build" }, - "version": "18.2.3000" -} + "version": "18.2.3100" +} \ No newline at end of file diff --git a/projects/wml-penrose/src/lib/test-utils/test-utils.ts b/projects/wml-penrose/src/lib/test-utils/test-utils.ts index 7b1514c..664e7bd 100644 --- a/projects/wml-penrose/src/lib/test-utils/test-utils.ts +++ b/projects/wml-penrose/src/lib/test-utils/test-utils.ts @@ -2,8 +2,8 @@ // i18n -import { WMLTestUtils } from "@windmillcode/angular-wml-components-base"; +import { WMLAngularTestUtils } from "@windmillcode/angular-wml-components-base"; -export let wmlTestUtils= new WMLTestUtils() +export let wmlTestUtils= new WMLAngularTestUtils() diff --git a/projects/wml-popup/README.md b/projects/wml-popup/README.md index 5853c12..3d03987 100644 --- a/projects/wml-popup/README.md +++ b/projects/wml-popup/README.md @@ -423,6 +423,10 @@ updated package to conform with @windmillcode/angular-wml-components-base ### v18.2.2200 [9/3/24] -updated package to conform with @windmillcode/angular-wml-components-base[Previous +updated package to conform with @windmillcode/angular-wml-components-base + +### v18.2.3000 [9/4/24] + +updated package to reflect the version 18.2.3 of @angular/core package[Previous WML Panel](/Windmillcode-Angular-CDK-Docs/components/wml-panel/)[Next WML Select](/Windmillcode-Angular-CDK-Docs/components/wml-select/) \ No newline at end of file diff --git a/projects/wml-popup/package.json b/projects/wml-popup/package.json index 609365b..1c45912 100644 --- a/projects/wml-popup/package.json +++ b/projects/wml-popup/package.json @@ -9,13 +9,13 @@ "peerDependencies": { "@angular/common": "^18.0.0", "@angular/core": "^18.0.0", - "@windmillcode/wml-components-base": "^18.2.3000", - "@windmillcode/angular-wml-components-base": "^18.2.3000" + "@windmillcode/angular-wml-components-base": "^18.2.3100", + "@windmillcode/wml-components-base": "^18.2.3100" }, "private": false, "schematics": "", "scripts": { "build": "npx ng build" }, - "version": "18.2.3000" -} + "version": "18.2.3100" +} \ No newline at end of file diff --git a/projects/wml-popup/src/lib/test-utils/test-utils.ts b/projects/wml-popup/src/lib/test-utils/test-utils.ts index 7b1514c..664e7bd 100644 --- a/projects/wml-popup/src/lib/test-utils/test-utils.ts +++ b/projects/wml-popup/src/lib/test-utils/test-utils.ts @@ -2,8 +2,8 @@ // i18n -import { WMLTestUtils } from "@windmillcode/angular-wml-components-base"; +import { WMLAngularTestUtils } from "@windmillcode/angular-wml-components-base"; -export let wmlTestUtils= new WMLTestUtils() +export let wmlTestUtils= new WMLAngularTestUtils() diff --git a/projects/wml-schematics/README.md b/projects/wml-schematics/README.md index b17a401..ef3da52 100644 --- a/projects/wml-schematics/README.md +++ b/projects/wml-schematics/README.md @@ -169,6 +169,10 @@ updated package to conform with @windmillcode/angular-wml-components-base ### v18.2.2200 [9/3/24] -updated package to conform with @windmillcode/angular-wml-components-base[Previous +updated package to conform with @windmillcode/angular-wml-components-base + +### v18.2.3000 [9/4/24] + +updated package to reflect the version 18.2.3 of @angular/cli package[Previous WML Components Base](/Windmillcode-Angular-CDK-Docs/intro/wml-components-base/)[Next WML Accordion](/Windmillcode-Angular-CDK-Docs/components/wml-accordion/) \ No newline at end of file diff --git a/projects/wml-schematics/package.json b/projects/wml-schematics/package.json index 6f797b0..96475d2 100644 --- a/projects/wml-schematics/package.json +++ b/projects/wml-schematics/package.json @@ -8,8 +8,8 @@ "peerDependencies": { "@angular/common": "^18.0.0", "@angular/core": "^18.0.0", - "@windmillcode/wml-components-base": "^18.2.3000", - "@windmillcode/angular-wml-components-base": "^18.2.3000" + "@windmillcode/angular-wml-components-base": "^18.2.3100", + "@windmillcode/wml-components-base": "^18.2.3100" }, "private": false, "schematics": "./schematics/collection.json", @@ -19,5 +19,5 @@ "postbuild": "npx copyfiles schematics/collection.json schematics/*/schema.json schematics/*/files/** ../../dist/wml-schematics/", "test": "npx ng test templates --code-coverage" }, - "version": "18.2.3000" -} + "version": "18.2.3100" +} \ No newline at end of file diff --git a/projects/wml-schematics/schematics/template-module/my_helper.ts b/projects/wml-schematics/schematics/template-module/my_helper.ts index 4826dba..e5c814c 100644 --- a/projects/wml-schematics/schematics/template-module/my_helper.ts +++ b/projects/wml-schematics/schematics/template-module/my_helper.ts @@ -132,7 +132,6 @@ export function addRouteDeclarationToModuleOrRoutesFileOnChildrenProperty( if(correctEntry.length>0){ return true; } - debugger return false; } diff --git a/projects/wml-schematics/src/lib/test-utils/test-utils.ts b/projects/wml-schematics/src/lib/test-utils/test-utils.ts index 7b1514c..664e7bd 100644 --- a/projects/wml-schematics/src/lib/test-utils/test-utils.ts +++ b/projects/wml-schematics/src/lib/test-utils/test-utils.ts @@ -2,8 +2,8 @@ // i18n -import { WMLTestUtils } from "@windmillcode/angular-wml-components-base"; +import { WMLAngularTestUtils } from "@windmillcode/angular-wml-components-base"; -export let wmlTestUtils= new WMLTestUtils() +export let wmlTestUtils= new WMLAngularTestUtils() diff --git a/projects/wml-select/README.md b/projects/wml-select/README.md index 48a7db2..6c11bcf 100644 --- a/projects/wml-select/README.md +++ b/projects/wml-select/README.md @@ -400,6 +400,10 @@ updated package to conform with @windmillcode/angular-wml-components-base ### v18.2.2200 [9/3/24] -updated package to conform with @windmillcode/angular-wml-components-base[Previous +updated package to conform with @windmillcode/angular-wml-components-base + +### v18.2.3000 [9/4/24] + +updated package to reflect the version 18.2.3 of @angular/core package[Previous WML Popup](/Windmillcode-Angular-CDK-Docs/components/wml-popup/)[Next WML Slicebox](/Windmillcode-Angular-CDK-Docs/components/wml-slicebox/) \ No newline at end of file diff --git a/projects/wml-select/package.json b/projects/wml-select/package.json index f667a2c..b6ce3ba 100644 --- a/projects/wml-select/package.json +++ b/projects/wml-select/package.json @@ -9,15 +9,15 @@ "peerDependencies": { "@angular/common": "^18.0.0", "@angular/core": "^18.0.0", - "@windmillcode/wml-components-base": "^18.2.3000", - "@windmillcode/angular-wml-components-base": "^18.2.3000", - "@windmillcode/angular-wml-field": "^18.2.3000", - "@windmillcode/angular-wml-infinite-dropdown": "^18.2.3000" + "@windmillcode/angular-wml-components-base": "^18.2.3100", + "@windmillcode/angular-wml-field": "^18.2.3100", + "@windmillcode/angular-wml-infinite-dropdown": "^18.2.3100", + "@windmillcode/wml-components-base": "^18.2.3100" }, "private": false, "schematics": "", "scripts": { "build": "npx ng build" }, - "version": "18.2.3000" -} + "version": "18.2.3100" +} \ No newline at end of file diff --git a/projects/wml-select/src/lib/test-utils/test-utils.ts b/projects/wml-select/src/lib/test-utils/test-utils.ts index 7b1514c..664e7bd 100644 --- a/projects/wml-select/src/lib/test-utils/test-utils.ts +++ b/projects/wml-select/src/lib/test-utils/test-utils.ts @@ -2,8 +2,8 @@ // i18n -import { WMLTestUtils } from "@windmillcode/angular-wml-components-base"; +import { WMLAngularTestUtils } from "@windmillcode/angular-wml-components-base"; -export let wmlTestUtils= new WMLTestUtils() +export let wmlTestUtils= new WMLAngularTestUtils() diff --git a/projects/wml-select/src/lib/wml-select-zero/wml-select-zero-select/wml-select-zero-select.component.ts b/projects/wml-select/src/lib/wml-select-zero/wml-select-zero-select/wml-select-zero-select.component.ts index 2bff7a0..722dd48 100644 --- a/projects/wml-select/src/lib/wml-select-zero/wml-select-zero-select/wml-select-zero-select.component.ts +++ b/projects/wml-select/src/lib/wml-select-zero/wml-select-zero-select/wml-select-zero-select.component.ts @@ -1,8 +1,6 @@ // angular import { ChangeDetectionStrategy, ChangeDetectorRef, Component, HostBinding, Input , ViewEncapsulation } from '@angular/core'; - - // rxjs import { Subject } from 'rxjs'; @@ -10,11 +8,9 @@ import { Subject } from 'rxjs'; import { generateClassPrefix } from '@windmillcode/wml-components-base'; import { WMLSelectZeroProps } from '../wml-select-zero/wml-select-zero.component'; - // misc - @Component({ selector: 'wml-select-zero-select', templateUrl: './wml-select-zero-select.component.html', @@ -44,17 +40,3 @@ export class WMLSelectZeroSelectComponent { } - - -export class WMLSelectZeroSelectProps { - constructor(props:Partial={}){ - Object.assign( - this, - { - ...props - } - ) - } -} - - diff --git a/projects/wml-select/src/lib/wml-select-zero/wml-select-zero/wml-select-zero.component.ts b/projects/wml-select/src/lib/wml-select-zero/wml-select-zero/wml-select-zero.component.ts index e4febfa..e3f0c37 100644 --- a/projects/wml-select/src/lib/wml-select-zero/wml-select-zero/wml-select-zero.component.ts +++ b/projects/wml-select/src/lib/wml-select-zero/wml-select-zero/wml-select-zero.component.ts @@ -1,24 +1,20 @@ // angular import { ChangeDetectionStrategy, ChangeDetectorRef, Component, HostBinding, Input , ViewEncapsulation } from '@angular/core'; - - // rxjs import { BehaviorSubject, Subject } from 'rxjs'; import { takeUntil,tap } from 'rxjs/operators'; // wml-components -import { WMLAngularCustomComponent } from '@windmillcode/angular-wml-components-base'; import { WMLInfiniteDropdownZeroInputOptions, WMLInfiniteDropdownZeroOption, WMLInfiniteDropdownZeroProps } from '@windmillcode/angular-wml-infinite-dropdown'; import {WMLSelectZeroSelectComponent} from "../wml-select-zero-select/wml-select-zero-select.component"; import { FormControl } from '@angular/forms'; import { WMLFieldZeroProps } from '@windmillcode/angular-wml-field'; -import { generateClassPrefix } from '@windmillcode/wml-components-base'; +import { generateClassPrefix,WMLCustomComponent } from '@windmillcode/wml-components-base'; // misc - @Component({ selector: 'wml-select-zero', @@ -100,6 +96,7 @@ export class WMLSelectZeroComponent { type WMLSelectZeroConstructorProps = Partial & {select:string | WMLInfiniteDropdownZeroOption;resetDropdown:boolean }> + export class WMLSelectZeroProps { constructor(props:WMLSelectZeroConstructorProps={}){ Object.assign( @@ -122,13 +119,15 @@ export class WMLSelectZeroProps { return this.formControl.value.text } readonly selectText ="Please Select" - select = new WMLInfiniteDropdownZeroOption({ - text:this.selectText, - custom:new WMLAngularCustomComponent({ - cpnt:WMLSelectZeroSelectComponent, - props:this + select = (()=>{ + return new WMLInfiniteDropdownZeroOption({ + text:this.selectText, + custom:new WMLCustomComponent({ + cpnt:WMLSelectZeroSelectComponent, + props:this + }) }) - }) + })() // @ts-ignore options :WMLInfiniteDropdownZeroInputOptions[]=["Please","Provide","Options","To","The","Options","Array"] .map((text,i)=>{ @@ -183,7 +182,7 @@ export class WMLSelectZeroProps { if (typeof props.select === "string") { this.select = new WMLInfiniteDropdownZeroOption({ text: props.select, - custom: new WMLAngularCustomComponent({ + custom: new WMLCustomComponent({ cpnt: WMLSelectZeroSelectComponent, props: this }) diff --git a/projects/wml-slicebox/README.md b/projects/wml-slicebox/README.md index 213c04b..1bdc058 100644 --- a/projects/wml-slicebox/README.md +++ b/projects/wml-slicebox/README.md @@ -396,6 +396,10 @@ updated package to conform with @windmillcode/angular-wml-components-base ### v18.2.2200 [9/3/24] -updated package to conform with @windmillcode/angular-wml-components-base[Previous +updated package to conform with @windmillcode/angular-wml-components-base + +### v18.2.3000 [9/4/24] + +updated package to reflect the version 18.2.3 of @angular/core package[Previous WML Select](/Windmillcode-Angular-CDK-Docs/components/wml-select/)[Next WML Table (Beta Unstable Unmaintainable)](/Windmillcode-Angular-CDK-Docs/components/wml-table/) \ No newline at end of file diff --git a/projects/wml-slicebox/package.json b/projects/wml-slicebox/package.json index 1ed244c..f7b10d9 100644 --- a/projects/wml-slicebox/package.json +++ b/projects/wml-slicebox/package.json @@ -9,14 +9,14 @@ "peerDependencies": { "@angular/common": "^18.0.0", "@angular/core": "^18.0.0", - "@windmillcode/angular-wml-button": "^18.2.3000", - "@windmillcode/wml-components-base": "^18.2.3000", - "@windmillcode/angular-wml-components-base": "^18.2.3000" + "@windmillcode/angular-wml-button": "^18.2.3100", + "@windmillcode/angular-wml-components-base": "^18.2.3100", + "@windmillcode/wml-components-base": "^18.2.3100" }, "private": false, "schematics": "", "scripts": { "build": "npx ng build" }, - "version": "18.2.3000" -} + "version": "18.2.3100" +} \ No newline at end of file diff --git a/projects/wml-slicebox/src/lib/test-utils/test-utils.ts b/projects/wml-slicebox/src/lib/test-utils/test-utils.ts index 7b1514c..664e7bd 100644 --- a/projects/wml-slicebox/src/lib/test-utils/test-utils.ts +++ b/projects/wml-slicebox/src/lib/test-utils/test-utils.ts @@ -2,8 +2,8 @@ // i18n -import { WMLTestUtils } from "@windmillcode/angular-wml-components-base"; +import { WMLAngularTestUtils } from "@windmillcode/angular-wml-components-base"; -export let wmlTestUtils= new WMLTestUtils() +export let wmlTestUtils= new WMLAngularTestUtils() diff --git a/projects/wml-table/src/lib/test-utils/test-utils.ts b/projects/wml-table/src/lib/test-utils/test-utils.ts index 7b1514c..664e7bd 100644 --- a/projects/wml-table/src/lib/test-utils/test-utils.ts +++ b/projects/wml-table/src/lib/test-utils/test-utils.ts @@ -2,8 +2,8 @@ // i18n -import { WMLTestUtils } from "@windmillcode/angular-wml-components-base"; +import { WMLAngularTestUtils } from "@windmillcode/angular-wml-components-base"; -export let wmlTestUtils= new WMLTestUtils() +export let wmlTestUtils= new WMLAngularTestUtils() diff --git a/projects/wml-tabs/README.md b/projects/wml-tabs/README.md index 98cc5ef..2f99980 100644 --- a/projects/wml-tabs/README.md +++ b/projects/wml-tabs/README.md @@ -426,6 +426,10 @@ updated package to conform with @windmillcode/angular-wml-components-base ### v18.2.2200 [9/3/24] -updated package to conform with @windmillcode/angular-wml-components-base[Previous +updated package to conform with @windmillcode/angular-wml-components-base + +### v18.2.3000 [9/4/24] + +updated package to reflect the version 18.2.3 of @angular/core package[Previous WML Table (Beta Unstable Unmaintainable)](/Windmillcode-Angular-CDK-Docs/components/wml-table/)[Next WML Toggle](/Windmillcode-Angular-CDK-Docs/components/wml-toggle/) \ No newline at end of file diff --git a/projects/wml-tabs/package.json b/projects/wml-tabs/package.json index ddb8b22..5f945c5 100644 --- a/projects/wml-tabs/package.json +++ b/projects/wml-tabs/package.json @@ -9,13 +9,13 @@ "peerDependencies": { "@angular/common": "^18.0.0", "@angular/core": "^18.0.0", - "@windmillcode/wml-components-base": "^18.2.3000", - "@windmillcode/angular-wml-components-base": "^18.2.3000" + "@windmillcode/angular-wml-components-base": "^18.2.3100", + "@windmillcode/wml-components-base": "^18.2.3100" }, "private": false, "schematics": "", "scripts": { "build": "npx ng build" }, - "version": "18.2.3000" -} + "version": "18.2.3100" +} \ No newline at end of file diff --git a/projects/wml-tabs/src/lib/test-utils/test-utils.ts b/projects/wml-tabs/src/lib/test-utils/test-utils.ts index 7b1514c..664e7bd 100644 --- a/projects/wml-tabs/src/lib/test-utils/test-utils.ts +++ b/projects/wml-tabs/src/lib/test-utils/test-utils.ts @@ -2,8 +2,8 @@ // i18n -import { WMLTestUtils } from "@windmillcode/angular-wml-components-base"; +import { WMLAngularTestUtils } from "@windmillcode/angular-wml-components-base"; -export let wmlTestUtils= new WMLTestUtils() +export let wmlTestUtils= new WMLAngularTestUtils() diff --git a/projects/wml-toggle/README.md b/projects/wml-toggle/README.md index 62c2740..b582980 100644 --- a/projects/wml-toggle/README.md +++ b/projects/wml-toggle/README.md @@ -368,5 +368,9 @@ updated package to conform with @windmillcode/angular-wml-components-base ### v18.2.2200 [9/3/24] -updated package to conform with @windmillcode/angular-wml-components-base[Previous +updated package to conform with @windmillcode/angular-wml-components-base + +### v18.2.3000 [9/4/24] + +updated package to reflect the version 18.2.3 of @angular/core package[Previous WML Tabs](/Windmillcode-Angular-CDK-Docs/components/wml-tabs/) \ No newline at end of file diff --git a/projects/wml-toggle/package.json b/projects/wml-toggle/package.json index 718f0b4..f72ef6f 100644 --- a/projects/wml-toggle/package.json +++ b/projects/wml-toggle/package.json @@ -9,14 +9,14 @@ "peerDependencies": { "@angular/common": "^18.0.0", "@angular/core": "^18.0.0", - "@windmillcode/wml-components-base": "^18.2.3000", - "@windmillcode/angular-wml-components-base": "^18.2.3000", - "@windmillcode/angular-wml-field": "^18.2.3000" + "@windmillcode/angular-wml-components-base": "^18.2.3100", + "@windmillcode/angular-wml-field": "^18.2.3100", + "@windmillcode/wml-components-base": "^18.2.3100" }, "private": false, "schematics": "", "scripts": { "build": "npx ng build" }, - "version": "18.2.3000" -} + "version": "18.2.3100" +} \ No newline at end of file diff --git a/projects/wml-toggle/src/lib/test-utils/test-utils.ts b/projects/wml-toggle/src/lib/test-utils/test-utils.ts index 7b1514c..664e7bd 100644 --- a/projects/wml-toggle/src/lib/test-utils/test-utils.ts +++ b/projects/wml-toggle/src/lib/test-utils/test-utils.ts @@ -2,8 +2,8 @@ // i18n -import { WMLTestUtils } from "@windmillcode/angular-wml-components-base"; +import { WMLAngularTestUtils } from "@windmillcode/angular-wml-components-base"; -export let wmlTestUtils= new WMLTestUtils() +export let wmlTestUtils= new WMLAngularTestUtils() diff --git a/tsconfig.json b/tsconfig.json index 45e233a..721604b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -44,7 +44,7 @@ "dist/wml-components-base" ], "@windmillcode/angular-wml-components-base": [ - "dist/angular-wml-components-base" + "dist/wml-angular-components-base" ], "@windmillcode/angular-wml-field": [ "dist/wml-field" @@ -67,9 +67,6 @@ "@windmillcode/angular-wml-popup": [ "dist/wml-popup" ], - // "@windmillcode/angular-wml-schematics": [ - // "../../../../../My_Notebook/WindMillCode/projects/angular-templates/angular-libraries/dist/wml-schematics" - // ], "@windmillcode/angular-wml-select": [ "dist/wml-select" ]