@coolon/angular-ui-powerups 3.10.2 → 3.10.4
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/CHANGELOG.md +15 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +78 -60
- 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/angular-ui-powerups.module.ngfactory.js.map +1 -1
- package/esm2015/lib/{place/components → components}/busy-overlay/busy-overlay.component.js +3 -2
- package/esm2015/lib/components/busy-overlay/busy-overlay.component.js.map +1 -0
- package/esm2015/lib/components/busy-overlay/busy-overlay.component.metadata.json +1 -0
- package/esm2015/lib/components/busy-overlay/busy-overlay.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/busy-overlay/busy-overlay.component.scss.shim.ngstyle.js.map +1 -0
- package/esm2015/lib/components/components.module.js +11 -3
- package/esm2015/lib/components/components.module.js.map +1 -1
- package/esm2015/lib/components/components.module.metadata.json +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/empty-state/empty-state.component.js.map +1 -0
- package/esm2015/lib/components/empty-state/empty-state.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/empty-state/empty-state.component.scss.shim.ngstyle.js.map +1 -0
- package/esm2015/lib/components/exports.js +2 -0
- package/esm2015/lib/components/exports.js.map +1 -1
- package/esm2015/lib/components/exports.metadata.json +1 -1
- package/esm2015/lib/components/switch-case/switch-case.component.js +3 -1
- package/esm2015/lib/components/switch-case/switch-case.component.js.map +1 -1
- package/esm2015/lib/interaction/activity-ref.js +7 -1
- package/esm2015/lib/interaction/activity-ref.js.map +1 -1
- package/esm2015/lib/interaction/activity-ref.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.js +6 -3
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.metadata.json +1 -1
- package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/esm2015/lib/place/exports.js +0 -2
- package/esm2015/lib/place/exports.js.map +1 -1
- package/esm2015/lib/place/exports.metadata.json +1 -1
- package/esm2015/lib/place/place-router.js +1 -1
- package/esm2015/lib/place/place-router.js.map +1 -1
- package/esm2015/lib/place/place.module.js +1 -7
- package/esm2015/lib/place/place.module.js.map +1 -1
- package/esm2015/lib/place/place.module.metadata.json +1 -1
- package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +73 -60
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/busy-overlay/busy-overlay.component.d.ts +8 -0
- package/lib/components/exports.d.ts +2 -0
- package/lib/interaction/activity-ref.d.ts +3 -1
- package/lib/interaction/components/activity-container/activity-container.component.d.ts +2 -1
- package/lib/place/exports.d.ts +0 -2
- package/lib/place/place-router.d.ts +1 -1
- package/package.json +1 -1
- package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.js.map +0 -1
- package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.metadata.json +0 -1
- package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.ngfactory.js.map +0 -1
- package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/place/components/empty-state/empty-state.component.js.map +0 -1
- package/esm2015/lib/place/components/empty-state/empty-state.component.ngfactory.js.map +0 -1
- package/esm2015/lib/place/components/empty-state/empty-state.component.scss.shim.ngstyle.js.map +0 -1
- package/lib/place/components/busy-overlay/busy-overlay.component.d.ts +0 -8
- /package/esm2015/lib/{place/components → components}/empty-state/empty-state.component.js +0 -0
- /package/esm2015/lib/{place/components → components}/empty-state/empty-state.component.metadata.json +0 -0
- /package/lib/{place/components → components}/empty-state/empty-state.component.d.ts +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { GarbageCollector, ValueModel } from '@coolon/pectin';
|
|
3
|
+
export declare class BusyOverlayComponent extends GarbageCollector implements OnInit {
|
|
4
|
+
busyModel: ValueModel<boolean>;
|
|
5
|
+
busy: boolean;
|
|
6
|
+
constructor();
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
}
|
|
@@ -6,6 +6,7 @@ export * from "./disposable-component";
|
|
|
6
6
|
export * from "./focusable.component";
|
|
7
7
|
export * from "./resize-aware.component";
|
|
8
8
|
export * from "./track-by";
|
|
9
|
+
export * from "./busy-overlay/busy-overlay.component";
|
|
9
10
|
export * from "./card-container/card-container.component";
|
|
10
11
|
export * from "./commands/command-face";
|
|
11
12
|
export * from "./commands/flex.component";
|
|
@@ -20,6 +21,7 @@ export * from "./commands/group/popup-menu/more-menu.component";
|
|
|
20
21
|
export * from "./commands/group/popup-menu/popup-menu.component";
|
|
21
22
|
export * from "./commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component";
|
|
22
23
|
export * from "./commands/group/tool-bar/tool-bar.component";
|
|
24
|
+
export * from "./empty-state/empty-state.component";
|
|
23
25
|
export * from "./focus-container/focus-container.component";
|
|
24
26
|
export * from "./forms/abstract-input.component";
|
|
25
27
|
export * from "./forms/abstract-list-input.component";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Constructable, Deferred } from '@coolon/pectin';
|
|
1
|
+
import { Constructable, Deferred, ValueModel } from '@coolon/pectin';
|
|
2
2
|
import { Activity } from './activity';
|
|
3
3
|
import { InteractionContext } from './interaction-context';
|
|
4
4
|
export declare class ActivityRef<D, R, E> {
|
|
@@ -9,6 +9,7 @@ export declare class ActivityRef<D, R, E> {
|
|
|
9
9
|
private _activity;
|
|
10
10
|
private deferredResult;
|
|
11
11
|
private readonly focusedModel;
|
|
12
|
+
private readonly _activityBusy;
|
|
12
13
|
constructor(activityClass: Constructable<Activity<D, R, E>>, activityData: D, onComplete: (activityRef: ActivityRef<D, R, E>) => void);
|
|
13
14
|
isActivityRealised(): boolean;
|
|
14
15
|
isComplete(): boolean;
|
|
@@ -19,4 +20,5 @@ export declare class ActivityRef<D, R, E> {
|
|
|
19
20
|
protected finishActivity(resolveOrReject: (deferred: Deferred<R>) => void): void;
|
|
20
21
|
cancel(): void;
|
|
21
22
|
get activityResult(): Promise<R>;
|
|
23
|
+
get activityBusy(): ValueModel<boolean>;
|
|
22
24
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AfterViewInit, OnInit, QueryList } from '@angular/core';
|
|
2
2
|
import { MatTabGroup } from '@angular/material/tabs';
|
|
3
|
-
import { Constructable, Disposable, MutableValueModel } from '@coolon/pectin';
|
|
3
|
+
import { Constructable, DelegatingValueModel, Disposable, MutableValueModel } from '@coolon/pectin';
|
|
4
4
|
import { AbstractInteractionContext } from '../../abstract-interaction-context';
|
|
5
5
|
import { Activity } from '../../activity';
|
|
6
6
|
import { ActivityRef } from '../../activity-ref';
|
|
@@ -18,6 +18,7 @@ export declare class ActivityContainerComponent<D, R, E> extends AbstractInterac
|
|
|
18
18
|
private syncSelectedTabTimeout;
|
|
19
19
|
private onAnimationFinishedJob;
|
|
20
20
|
readonly inAnimation: MutableValueModel<boolean>;
|
|
21
|
+
readonly busy: DelegatingValueModel<boolean>;
|
|
21
22
|
constructor();
|
|
22
23
|
ngOnInit(): void;
|
|
23
24
|
ngAfterViewInit(): void;
|
package/lib/place/exports.d.ts
CHANGED
|
@@ -14,8 +14,6 @@ export * from "./url-service";
|
|
|
14
14
|
export * from "./url-snapshot";
|
|
15
15
|
export * from "./visit";
|
|
16
16
|
export * from "./components/abstract-place-navigation.component";
|
|
17
|
-
export * from "./components/busy-overlay/busy-overlay.component";
|
|
18
|
-
export * from "./components/empty-state/empty-state.component";
|
|
19
17
|
export * from "./components/list-place-nav/list-place-nav.component";
|
|
20
18
|
export * from "./components/place-outlet/place-outlet.component";
|
|
21
19
|
export * from "./components/place-outlet/route-animations";
|
|
@@ -37,7 +37,7 @@ export declare class PlaceRouter extends GarbageCollector {
|
|
|
37
37
|
get navigationSession(): NavigationSession;
|
|
38
38
|
get currentSession(): NavigationSession;
|
|
39
39
|
isNavigating(): boolean;
|
|
40
|
-
waitUntilIdle(): Promise<
|
|
40
|
+
waitUntilIdle(): Promise<this>;
|
|
41
41
|
onPopState(event: NavigationStart): void;
|
|
42
42
|
onRouterStarted(event: NavigationStart): void;
|
|
43
43
|
onUrlChanged(newUrl: string): void;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"busy-overlay.component.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/place/components/busy-overlay/busy-overlay.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAU,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAO9E,MAAM,OAAO,oBAAoB;IAQ/B;IACA,CAAC;IAED,QAAQ;IACR,CAAC;;;YAjBF,SAAS,SAAC;gBACT,QAAQ,EAAE,kBAAkB;gBAC5B,0MAA4C;;aAE7C;;;;wBAGE,KAAK;mBAGL,KAAK;;AAFN;IADU,aAAa,EAAE;8BACd,UAAU;uDAAU;AAG/B;IADU,iBAAiB,CAAC,WAAW,CAAC;;kDAC1B","sourcesContent":["import { Component, Input, OnInit } from '@angular/core';\nimport { StoreInValueModel, TrackExternal, ValueModel } from '@coolon/pectin';\n\n@Component({\n selector: 'aup-busy-overlay',\n templateUrl: `./busy-overlay.component.html`,\n styleUrls: ['./busy-overlay.component.scss']\n})\nexport class BusyOverlayComponent implements OnInit {\n\n @Input() @TrackExternal()\n busyModel: ValueModel<boolean>;\n\n @Input() @StoreInValueModel('busyModel')\n busy: boolean;\n\n constructor() {\n }\n\n ngOnInit() {\n }\n\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"BusyOverlayComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"aup-busy-overlay","template":"<ng-content></ng-content>\n<div class=\"busy-overlay-backdrop\" *ngIf=\"busyModel.value\">\n <mat-progress-spinner mode=\"indeterminate\" [diameter]=\"52\"></mat-progress-spinner>\n</div>\n","styles":[":host{position:relative}div.busy-overlay-backdrop{-ms-grid-columns:auto;-ms-grid-rows:auto;background-color:rgba(0,0,0,.2);bottom:0;display:-ms-grid;display:grid;grid-template-columns:auto;grid-template-rows:auto;left:0;place-content:center;position:absolute;right:0;top:0}"]}]}],"members":{"busyModel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@coolon/pectin","name":"TrackExternal","line":10,"character":12}}]}],"busy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@coolon/pectin","name":"StoreInValueModel","line":13,"character":12},"arguments":["busyModel"]}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"busy-overlay.component.ngfactory.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/place/components/busy-overlay/busy-overlay.component.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
|
package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.scss.shim.ngstyle.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"busy-overlay.component.scss.shim.ngstyle.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/place/components/busy-overlay/busy-overlay.component.scss.shim.ngstyle.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"empty-state.component.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/place/components/empty-state/empty-state.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,MAAM,eAAe,CAAC;AAWlD,MAAM,OAAO,mBAAmB;IAE9B;IACA,CAAC;IAED,QAAQ;IACR,CAAC;;;YAfF,SAAS,SAAC;gBACT,QAAQ,EAAE,iBAAiB;gBAC3B,QAAQ,EAAE;;;;GAIT;;aAEF","sourcesContent":["import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'aup-empty-state',\n template: `\n <div class=\"container\">\n <ng-content></ng-content>\n </div>\n `,\n styleUrls: ['./empty-state.component.scss']\n})\nexport class EmptyStateComponent implements OnInit {\n\n constructor() {\n }\n\n ngOnInit() {\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"empty-state.component.ngfactory.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/place/components/empty-state/empty-state.component.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
|
package/esm2015/lib/place/components/empty-state/empty-state.component.scss.shim.ngstyle.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"empty-state.component.scss.shim.ngstyle.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/place/components/empty-state/empty-state.component.scss.shim.ngstyle.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
|
|
File without changes
|
/package/esm2015/lib/{place/components → components}/empty-state/empty-state.component.metadata.json
RENAMED
|
File without changes
|
|
File without changes
|