@spryker/actions
Advanced tools
Comparing version 0.2.0-rc.3 to 0.2.0-rc.4
@@ -47,11 +47,8 @@ (function (global, factory) { | ||
}()); | ||
/** @nocollapse */ ActionsModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ActionsModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule }); | ||
/** @nocollapse */ ActionsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ActionsModule, imports: [common.CommonModule] }); | ||
/** @nocollapse */ ActionsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ActionsModule, imports: [[common.CommonModule]] }); | ||
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ActionsModule, decorators: [{ | ||
type: i0.NgModule, | ||
args: [{ | ||
imports: [common.CommonModule], | ||
}] | ||
}] }); | ||
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
ActionsModule.decorators = [ | ||
{ type: i0.NgModule, args: [{ | ||
imports: [common.CommonModule], | ||
},] } | ||
]; | ||
@@ -77,17 +74,20 @@ var ActionsService = /** @class */ (function () { | ||
}()); | ||
/** @nocollapse */ ActionsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ActionsService, deps: [{ token: i0__namespace.Injector }, { token: ActionTypesToken, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); | ||
/** @nocollapse */ ActionsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ActionsService, providedIn: 'root' }); | ||
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ActionsService, decorators: [{ | ||
type: i0.Injectable, | ||
args: [{ | ||
providedIn: 'root', | ||
}] | ||
}], ctorParameters: function () { | ||
return [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{ | ||
type: i0.Optional | ||
}, { | ||
type: i0.Inject, | ||
args: [ActionTypesToken] | ||
}] }]; | ||
} }); | ||
/** @nocollapse */ ActionsService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function ActionsService_Factory() { return new ActionsService(i0__namespace.ɵɵinject(i0__namespace.INJECTOR), i0__namespace.ɵɵinject(ActionTypesToken, 8)); }, token: ActionsService, providedIn: "root" }); | ||
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
ActionsService.decorators = [ | ||
{ type: i0.Injectable, args: [{ | ||
providedIn: 'root', | ||
},] } | ||
]; | ||
/** | ||
* @type {function(): !Array<(null|{ | ||
* type: ?, | ||
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>), | ||
* })>} | ||
* @nocollapse | ||
*/ | ||
ActionsService.ctorParameters = function () { return [ | ||
{ type: i0.Injector }, | ||
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [ActionTypesToken,] }] } | ||
]; }; | ||
@@ -94,0 +94,0 @@ /** |
@@ -6,2 +6,13 @@ # Change Log | ||
# [0.2.0-rc.4](https://github.com/spryker/ui-components/compare/@spryker/actions@0.2.0-rc.3...@spryker/actions@0.2.0-rc.4) (2022-01-20) | ||
### Bug Fixes | ||
* disabled `ivy` compilation mode ([b73c8cd](https://github.com/spryker/ui-components/commit/b73c8cd6990e72e74b9f5c1a5ee0a76ba740c109)) | ||
# [0.2.0-rc.3](https://github.com/spryker/ui-components/compare/@spryker/actions@0.2.0-rc.2...@spryker/actions@0.2.0-rc.3) (2022-01-17) | ||
@@ -8,0 +19,0 @@ |
import { NgModule } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
import { provideActions } from './token'; | ||
import * as i0 from "@angular/core"; | ||
export class ActionsModule { | ||
@@ -13,11 +12,8 @@ static withActions(actions) { | ||
} | ||
/** @nocollapse */ ActionsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ActionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); | ||
/** @nocollapse */ ActionsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ActionsModule, imports: [CommonModule] }); | ||
/** @nocollapse */ ActionsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ActionsModule, imports: [[CommonModule]] }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ActionsModule, decorators: [{ | ||
type: NgModule, | ||
args: [{ | ||
imports: [CommonModule], | ||
}] | ||
}] }); | ||
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
ActionsModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
imports: [CommonModule], | ||
},] } | ||
]; | ||
//# sourceMappingURL=actions.module.js.map |
import { Inject, Injectable, Injector, Optional } from '@angular/core'; | ||
import { ActionTypesToken } from './token'; | ||
import * as i0 from "@angular/core"; | ||
import * as i1 from "./token"; | ||
export class ActionsService { | ||
@@ -22,15 +23,20 @@ constructor(injector, actionHandlers) { | ||
} | ||
/** @nocollapse */ ActionsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ActionsService, deps: [{ token: i0.Injector }, { token: ActionTypesToken, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); | ||
/** @nocollapse */ ActionsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ActionsService, providedIn: 'root' }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ActionsService, decorators: [{ | ||
type: Injectable, | ||
args: [{ | ||
providedIn: 'root', | ||
}] | ||
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: undefined, decorators: [{ | ||
type: Optional | ||
}, { | ||
type: Inject, | ||
args: [ActionTypesToken] | ||
}] }]; } }); | ||
/** @nocollapse */ ActionsService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ActionsService_Factory() { return new ActionsService(i0.ɵɵinject(i0.INJECTOR), i0.ɵɵinject(i1.ActionTypesToken, 8)); }, token: ActionsService, providedIn: "root" }); | ||
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
ActionsService.decorators = [ | ||
{ type: Injectable, args: [{ | ||
providedIn: 'root', | ||
},] } | ||
]; | ||
/** | ||
* @type {function(): !Array<(null|{ | ||
* type: ?, | ||
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>), | ||
* })>} | ||
* @nocollapse | ||
*/ | ||
ActionsService.ctorParameters = () => [ | ||
{ type: Injector }, | ||
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [ActionTypesToken,] }] } | ||
]; | ||
//# sourceMappingURL=actions.service.js.map |
import * as i0 from '@angular/core'; | ||
import { InjectionToken, NgModule, Injectable, Optional, Inject } from '@angular/core'; | ||
import { InjectionToken, NgModule, Injectable, Injector, Optional, Inject } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
@@ -22,11 +22,8 @@ | ||
} | ||
/** @nocollapse */ ActionsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ActionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); | ||
/** @nocollapse */ ActionsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ActionsModule, imports: [CommonModule] }); | ||
/** @nocollapse */ ActionsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ActionsModule, imports: [[CommonModule]] }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ActionsModule, decorators: [{ | ||
type: NgModule, | ||
args: [{ | ||
imports: [CommonModule], | ||
}] | ||
}] }); | ||
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
ActionsModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
imports: [CommonModule], | ||
},] } | ||
]; | ||
@@ -51,15 +48,20 @@ class ActionsService { | ||
} | ||
/** @nocollapse */ ActionsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ActionsService, deps: [{ token: i0.Injector }, { token: ActionTypesToken, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); | ||
/** @nocollapse */ ActionsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ActionsService, providedIn: 'root' }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ActionsService, decorators: [{ | ||
type: Injectable, | ||
args: [{ | ||
providedIn: 'root', | ||
}] | ||
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: undefined, decorators: [{ | ||
type: Optional | ||
}, { | ||
type: Inject, | ||
args: [ActionTypesToken] | ||
}] }]; } }); | ||
/** @nocollapse */ ActionsService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ActionsService_Factory() { return new ActionsService(i0.ɵɵinject(i0.INJECTOR), i0.ɵɵinject(ActionTypesToken, 8)); }, token: ActionsService, providedIn: "root" }); | ||
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
ActionsService.decorators = [ | ||
{ type: Injectable, args: [{ | ||
providedIn: 'root', | ||
},] } | ||
]; | ||
/** | ||
* @type {function(): !Array<(null|{ | ||
* type: ?, | ||
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>), | ||
* })>} | ||
* @nocollapse | ||
*/ | ||
ActionsService.ctorParameters = () => [ | ||
{ type: Injector }, | ||
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [ActionTypesToken,] }] } | ||
]; | ||
@@ -66,0 +68,0 @@ /** |
import { ModuleWithProviders } from '@angular/core'; | ||
import { ActionTypesDeclaration } from './types'; | ||
import * as i0 from "@angular/core"; | ||
import * as i1 from "@angular/common"; | ||
export declare class ActionsModule { | ||
static withActions(actions: ActionTypesDeclaration): ModuleWithProviders<ActionsModule>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ActionsModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<ActionsModule, never, [typeof i1.CommonModule], never>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<ActionsModule>; | ||
} |
@@ -6,3 +6,2 @@ import { Injector } from '@angular/core'; | ||
import { Observable } from 'rxjs'; | ||
import * as i0 from "@angular/core"; | ||
export declare class ActionsService { | ||
@@ -15,4 +14,2 @@ private injector; | ||
isActionRegisteredType(type: ActionType): type is keyof ActionsRegistry; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ActionsService, [null, { optional: true; }]>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<ActionsService>; | ||
} |
{ | ||
"name": "@spryker/actions", | ||
"version": "0.2.0-rc.3", | ||
"version": "0.2.0-rc.4", | ||
"peerDependencies": { | ||
@@ -24,3 +24,4 @@ "@angular/common": ">=9.1.12", | ||
"typings": "spryker-actions.d.ts", | ||
"metadata": "spryker-actions.metadata.json", | ||
"sideEffects": false | ||
} |
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
/// <amd-module name="@spryker/actions" /> | ||
export * from './index'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
41489
33
0
284