@coolon/angular-ui-powerups 14.12.0 → 14.14.0
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/esm2020/lib/components/tables/abstract-table-model.mjs +2 -2
- package/esm2020/lib/components/tables/table-row-menu/table-row-menu.component.mjs +22 -22
- package/esm2020/lib/directives/directives.module.mjs +10 -5
- package/esm2020/lib/directives/exports.mjs +2 -1
- package/esm2020/lib/directives/garbage-collector.directive.mjs +32 -0
- package/esm2020/lib/place/components/list-place-nav/list-place-nav.component.mjs +6 -5
- package/esm2020/lib/place/components/side-place-navigation/side-place-navigation.component.mjs +5 -4
- package/esm2020/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.mjs +5 -4
- package/esm2020/lib/place/guards/place.guard.mjs +5 -11
- package/fesm2015/coolon-angular-ui-powerups.mjs +71 -43
- package/fesm2015/coolon-angular-ui-powerups.mjs.map +1 -1
- package/fesm2020/coolon-angular-ui-powerups.mjs +71 -43
- package/fesm2020/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/directives/directives.module.d.ts +9 -8
- package/lib/directives/exports.d.ts +1 -0
- package/lib/directives/garbage-collector.directive.d.ts +20 -0
- package/package.json +2 -2
|
@@ -3,15 +3,16 @@ import * as i1 from "./command.directive";
|
|
|
3
3
|
import * as i2 from "./focus-binding.directive";
|
|
4
4
|
import * as i3 from "./highlight.pipe";
|
|
5
5
|
import * as i4 from "./highlight-text-model.directive";
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "@angular/
|
|
8
|
-
import * as i7 from "@angular/
|
|
9
|
-
import * as i8 from "@angular/
|
|
10
|
-
import * as i9 from "@angular/material/
|
|
11
|
-
import * as i10 from "@angular/material/
|
|
12
|
-
import * as i11 from "@angular/material/
|
|
6
|
+
import * as i5 from "./garbage-collector.directive";
|
|
7
|
+
import * as i6 from "@angular/common";
|
|
8
|
+
import * as i7 from "@angular/platform-browser/animations";
|
|
9
|
+
import * as i8 from "@angular/forms";
|
|
10
|
+
import * as i9 from "@angular/material/input";
|
|
11
|
+
import * as i10 from "@angular/material/form-field";
|
|
12
|
+
import * as i11 from "@angular/material/select";
|
|
13
|
+
import * as i12 from "@angular/material/tabs";
|
|
13
14
|
export declare class DirectivesModule {
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<DirectivesModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DirectivesModule, [typeof i1.CommandDirective, typeof i2.FocusBindingDirective, typeof i3.HighlightPipe, typeof i4.HighlightTextModelDirective], [typeof
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DirectivesModule, [typeof i1.CommandDirective, typeof i2.FocusBindingDirective, typeof i3.HighlightPipe, typeof i4.HighlightTextModelDirective, typeof i5.GarbageCollectorDirective], [typeof i6.CommonModule, typeof i7.BrowserAnimationsModule, typeof i8.FormsModule, typeof i9.MatInputModule, typeof i10.MatFormFieldModule, typeof i11.MatSelectModule, typeof i12.MatTabsModule], [typeof i1.CommandDirective, typeof i2.FocusBindingDirective, typeof i3.HighlightPipe, typeof i4.HighlightTextModelDirective, typeof i5.GarbageCollectorDirective]>;
|
|
16
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<DirectivesModule>;
|
|
17
18
|
}
|
|
@@ -6,5 +6,6 @@ export * from "./directives.module";
|
|
|
6
6
|
export * from "./focus-binding-factory";
|
|
7
7
|
export * from "./focus-binding.directive";
|
|
8
8
|
export * from "./focus-binding";
|
|
9
|
+
export * from "./garbage-collector.directive";
|
|
9
10
|
export * from "./highlight-text-model.directive";
|
|
10
11
|
export * from "./highlight.pipe";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { GarbageCollector } from "@coolon/pectin";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Attaches a garbage collector that will be disposed with the directive. The main use case for it is
|
|
6
|
+
* providing a disposal hook when using command factories.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* <a *ngFor="let item of menuItems.value"
|
|
10
|
+
* aup-gc #gc="aup-gc"
|
|
11
|
+
* [pectinCommand]="commandFactory.create(item.place, gc)"
|
|
12
|
+
* </a>
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
export declare class GarbageCollectorDirective extends GarbageCollector implements OnDestroy {
|
|
16
|
+
constructor();
|
|
17
|
+
ngOnDestroy(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GarbageCollectorDirective, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GarbageCollectorDirective, "[aup-gc]", ["aup-gc"], {}, {}, never, never, false>;
|
|
20
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coolon/angular-ui-powerups",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.14.0",
|
|
4
4
|
"schematics": "./schematics/collection.json",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/animations": "^14.1.2",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"@angular/material": "^14.1.2",
|
|
12
12
|
"@angular/platform-browser": "^14.1.2",
|
|
13
13
|
"@angular/router": "^14.1.2",
|
|
14
|
-
"@coolon/pectin": "^3.
|
|
14
|
+
"@coolon/pectin": "^3.29.0",
|
|
15
15
|
"@typescript-plus/fast-memoize-decorator": "^0.2.1",
|
|
16
16
|
"lodash-es": "^4.17.21",
|
|
17
17
|
"marked": "4.0.2",
|