@coolon/angular-ui-powerups 11.2.0 → 11.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/coolon-angular-ui-powerups.umd.js +13 -11
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/components/forms/abstract-list-input.component.js +1 -1
- package/esm2015/lib/components/forms/abstract-list-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/abstract-value-input.component.js +1 -1
- package/esm2015/lib/components/forms/abstract-value-input.component.js.map +1 -1
- package/esm2015/lib/components/table/abstract-table-model.js +4 -9
- package/esm2015/lib/components/table/abstract-table-model.js.map +1 -1
- package/esm2015/lib/components/table/abstract-table-model.metadata.json +1 -1
- package/esm2015/lib/place/place.decorator.js +5 -1
- package/esm2015/lib/place/place.decorator.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +10 -9
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/forms/abstract-list-input.component.d.ts +1 -1
- package/lib/components/forms/abstract-value-input.component.d.ts +1 -1
- package/lib/place/place.decorator.d.ts +4 -0
- package/package.json +2 -2
- package/schematics/bootstrap-app/templates/src/app/app.component.ts.template +5 -3
- package/schematics/bootstrap-app/templates/src/app/components/components.module.ts.template +16 -0
|
@@ -13,7 +13,7 @@ export declare class AbstractListInputComponent<T> extends AbstractInputComponen
|
|
|
13
13
|
* friendly delegate. We have to use an existing delegate for union types as pectin just
|
|
14
14
|
* gets told it's an Object and can't scan for a base type annotated with @DelegateUsing(..).
|
|
15
15
|
*/
|
|
16
|
-
protected readonly formValueModel: Form.
|
|
16
|
+
protected readonly formValueModel: Form.DelegatingFormListModel<T>;
|
|
17
17
|
readonly componentListModel: MutableListModel<T>;
|
|
18
18
|
private setValueIsInProgress;
|
|
19
19
|
private listHolder;
|
|
@@ -13,7 +13,7 @@ export declare class AbstractValueInputComponent<T> extends AbstractInputCompone
|
|
|
13
13
|
* friendly delegate. We have to use an existing delegate for union types as pectin just
|
|
14
14
|
* gets told it's an Object and can't scan for a base type annotated with @DelegateUsing(..).
|
|
15
15
|
*/
|
|
16
|
-
protected readonly formValueModel: Form.
|
|
16
|
+
protected readonly formValueModel: Form.DelegatingFormValueModel<T>;
|
|
17
17
|
protected setValueInProgress: Guard;
|
|
18
18
|
readonly componentValueModel: MutableValueModel<T>;
|
|
19
19
|
private plainValueHolder;
|
|
@@ -8,6 +8,10 @@ export declare namespace Place {
|
|
|
8
8
|
[key: string]: any;
|
|
9
9
|
};
|
|
10
10
|
authenticate?: boolean;
|
|
11
|
+
role?: any;
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated use #role instead
|
|
14
|
+
*/
|
|
11
15
|
roles?: string[];
|
|
12
16
|
children?: Constructable<PlaceComponent>[];
|
|
13
17
|
defaultChild?: Constructable<PlaceComponent>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coolon/angular-ui-powerups",
|
|
3
|
-
"version": "11.2.
|
|
3
|
+
"version": "11.2.3",
|
|
4
4
|
"schematics": "./schematics/collection.json",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@coolon/typescript-utilities": "^2.2.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"rxjs": "~6.6.3",
|
|
33
33
|
"reflect-metadata": "^0.1.13",
|
|
34
34
|
"zone.js": "~0.10.3",
|
|
35
|
-
"@coolon/pectin": ">=3.
|
|
35
|
+
"@coolon/pectin": ">=3.11.1"
|
|
36
36
|
},
|
|
37
37
|
"main": "bundles/coolon-angular-ui-powerups.umd.js",
|
|
38
38
|
"module": "fesm2015/coolon-angular-ui-powerups.js",
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import {Component} from "@angular/core";
|
|
2
|
-
import {
|
|
2
|
+
import {DisposableComponent} from "@coolon/angular-ui-powerups";
|
|
3
|
+
import {Dsl} from "@coolon/pectin";
|
|
3
4
|
|
|
4
5
|
@Component({
|
|
5
6
|
selector: "<%= dasherize(project)%>-root",
|
|
6
7
|
templateUrl: "./app.component.html",
|
|
7
8
|
styleUrls: ["./app.component.scss"],
|
|
8
9
|
})
|
|
9
|
-
export class AppComponent {
|
|
10
|
+
export class AppComponent extends DisposableComponent {
|
|
10
11
|
|
|
11
12
|
readonly places = [
|
|
12
|
-
HomeComponent
|
|
13
13
|
];
|
|
14
14
|
|
|
15
15
|
constructor() {
|
|
16
|
+
super();
|
|
17
|
+
const {chain} = Dsl.disposeWith(this);
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {NgModule} from '@angular/core';
|
|
2
|
+
import {ComponentsModule as AupComponentsModule, InteractionModule} from "@coolon/angular-ui-powerups";
|
|
3
|
+
|
|
4
|
+
@NgModule({
|
|
5
|
+
declarations: [
|
|
6
|
+
],
|
|
7
|
+
imports: [
|
|
8
|
+
AupComponentsModule,
|
|
9
|
+
InteractionModule
|
|
10
|
+
],
|
|
11
|
+
providers: [],
|
|
12
|
+
})
|
|
13
|
+
export class ComponentsModule {
|
|
14
|
+
constructor() {
|
|
15
|
+
}
|
|
16
|
+
}
|