@coolon/angular-ui-powerups 16.1.0-aplpha.137 → 16.1.0-aplpha.139
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/esm2022/lib/components/commands/button-renderer/button-renderer.component.mjs +17 -27
- package/esm2022/lib/components/commands/command/command.component.mjs +8 -14
- package/esm2022/lib/components/commands/group/popup-aware.component.mjs +32 -8
- package/esm2022/lib/components/commands/group/popup-menu/abstract-popup-menu.component.mjs +7 -11
- package/esm2022/lib/components/commands/group/popup-menu/more-menu.component.mjs +6 -13
- package/esm2022/lib/components/commands/group/popup-menu/popup-menu.component.mjs +6 -13
- package/esm2022/lib/components/commands/separator.component.mjs +6 -12
- package/esm2022/lib/components/file/file-download/file-download.component.mjs +13 -32
- package/fesm2022/coolon-angular-ui-powerups.mjs +148 -178
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/components/commands/button-renderer/button-renderer.component.d.ts +5 -8
- package/lib/components/commands/command/command.component.d.ts +2 -4
- package/lib/components/commands/group/popup-aware.component.d.ts +9 -4
- package/lib/components/commands/group/popup-menu/abstract-popup-menu.component.d.ts +2 -2
- package/lib/components/commands/group/popup-menu/more-menu.component.d.ts +2 -4
- package/lib/components/commands/group/popup-menu/popup-menu.component.d.ts +2 -4
- package/lib/components/commands/separator.component.d.ts +2 -4
- package/lib/components/file/file-download/file-download.component.d.ts +2 -9
- package/package.json +1 -1
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import { MatButton } from "@angular/material/button";
|
|
2
2
|
import { ThemePalette } from "@angular/material/core";
|
|
3
|
-
import {
|
|
3
|
+
import { MatMenuItem } from "@angular/material/menu";
|
|
4
4
|
import { BooleanValueModelChain, CommandFace, ListModel, ValueModel, ValueModelChain } from "@coolon/pectin";
|
|
5
5
|
import { HorizontalAlignment } from "../../alignment";
|
|
6
|
-
import { DisposableComponent } from "../../disposable-component";
|
|
7
6
|
import { CommandFace as CommandFaceUtils } from '../command-face';
|
|
8
|
-
import {
|
|
7
|
+
import { PopupAwareComponent } from "../group/popup-aware.component";
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class ButtonRendererComponent extends
|
|
11
|
-
private readonly popupContainer;
|
|
12
|
-
private readonly matMenu;
|
|
9
|
+
export declare class ButtonRendererComponent extends PopupAwareComponent {
|
|
13
10
|
accessor faces$: ListModel<CommandFace>;
|
|
14
11
|
accessor faces: CommandFace[];
|
|
15
12
|
accessor enabled$: ValueModel<boolean>;
|
|
@@ -25,9 +22,9 @@ export declare class ButtonRendererComponent extends DisposableComponent {
|
|
|
25
22
|
readonly iconOnly$: BooleanValueModelChain;
|
|
26
23
|
readonly tooltip$: ValueModelChain<string>;
|
|
27
24
|
CommandFaceUtils: typeof CommandFaceUtils;
|
|
28
|
-
constructor(
|
|
25
|
+
constructor();
|
|
29
26
|
get renderAsMenuItem(): boolean;
|
|
30
27
|
focus(): void;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonRendererComponent,
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonRendererComponent, never>;
|
|
32
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonRendererComponent, "aup-button-renderer", never, { "faces$": { "alias": "faces$"; "required": false; }; "faces": { "alias": "faces"; "required": false; }; "enabled$": { "alias": "enabled$"; "required": false; }; "enabled": { "alias": "enabled"; "required": false; }; "busy$": { "alias": "busy$"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; "alignFace": { "alias": "alignFace"; "required": false; }; "forceRenderAsButton": { "alias": "forceRenderAsButton"; "required": false; }; }, {}, never, never, false, never>;
|
|
33
30
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { ElementRef } from "@angular/core";
|
|
2
1
|
import { ThemePalette } from "@angular/material/core";
|
|
3
2
|
import { BooleanValueModelChain, Command, ListModelChain, ValueModel, ValueModelChain } from "@coolon/pectin";
|
|
4
3
|
import { HorizontalAlignment } from '../../alignment';
|
|
5
4
|
import { ButtonRendererComponent } from "../button-renderer/button-renderer.component";
|
|
6
5
|
import { CommandFace } from '../command-face';
|
|
7
6
|
import { PopupAwareComponent } from '../group/popup-aware.component';
|
|
8
|
-
import { PopupContainer } from '../group/popup-container';
|
|
9
7
|
import * as i0 from "@angular/core";
|
|
10
8
|
/**
|
|
11
9
|
*
|
|
@@ -26,10 +24,10 @@ export declare class CommandComponent extends PopupAwareComponent {
|
|
|
26
24
|
readonly iconOnly$: BooleanValueModelChain;
|
|
27
25
|
readonly tooltip$: ValueModelChain<string>;
|
|
28
26
|
readonly visible$: ValueModelChain<boolean>;
|
|
29
|
-
constructor(
|
|
27
|
+
constructor();
|
|
30
28
|
get cssDisplayProperty(): string;
|
|
31
29
|
isActive(face: CommandFace): boolean;
|
|
32
30
|
requestFocus(): void;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CommandComponent,
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommandComponent, never>;
|
|
34
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<CommandComponent, "aup-command", never, { "command": { "alias": "command"; "required": false; }; "face$": { "alias": "face$"; "required": false; }; "face": { "alias": "face"; "required": false; }; "busyFace$": { "alias": "busyFace$"; "required": false; }; "busyFace": { "alias": "busyFace"; "required": false; }; "alignFace": { "alias": "alignFace"; "required": false; }; }, {}, never, never, false, never>;
|
|
35
33
|
}
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { MatMenu } from "@angular/material/menu";
|
|
2
3
|
import { DisposableComponent } from '../../disposable-component';
|
|
3
4
|
import { CommandFace } from '../command-face';
|
|
4
|
-
import
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare abstract class PopupAwareComponent extends DisposableComponent {
|
|
6
|
-
readonly element: ElementRef
|
|
7
|
-
readonly
|
|
8
|
-
|
|
7
|
+
protected readonly element: ElementRef<any>;
|
|
8
|
+
protected readonly popupContainer?: import("./popup-container").PopupContainer;
|
|
9
|
+
protected readonly menu?: MatMenu;
|
|
10
|
+
constructor();
|
|
11
|
+
get inPopup(): boolean;
|
|
9
12
|
get componentIndex(): number;
|
|
10
13
|
private computeComponentIndex;
|
|
11
14
|
getFace(): CommandFace | undefined;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopupAwareComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PopupAwareComponent, "aup-popup-aware", never, {}, {}, never, never, false, never>;
|
|
12
17
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterContentChecked,
|
|
1
|
+
import { AfterContentChecked, QueryList } from '@angular/core';
|
|
2
2
|
import { MatMenuTrigger } from '@angular/material/menu';
|
|
3
3
|
import { DelegatingValueModel, Disposable, ListModelChain, ValueModel } from '@coolon/pectin';
|
|
4
4
|
import { CommandFace } from '../../command-face';
|
|
@@ -19,7 +19,7 @@ export declare class AbstractPopupMenuComponent extends PopupAwareComponent impl
|
|
|
19
19
|
accessor enabled: boolean;
|
|
20
20
|
readonly children: ListModelChain<PopupAwareComponent>;
|
|
21
21
|
readonly faces$: ListModelChain<CommandFace>;
|
|
22
|
-
constructor(
|
|
22
|
+
constructor();
|
|
23
23
|
ngAfterContentChecked(): void;
|
|
24
24
|
get faceAdapter(): CommandFace.Adapter;
|
|
25
25
|
isRoot(): boolean;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { PopupContainer } from '../popup-container';
|
|
3
1
|
import { AbstractPopupMenuComponent } from './abstract-popup-menu.component';
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
3
|
/**
|
|
@@ -8,8 +6,8 @@ import * as i0 from "@angular/core";
|
|
|
8
6
|
export declare class MoreMenuComponent extends AbstractPopupMenuComponent {
|
|
9
7
|
private tooltip$;
|
|
10
8
|
accessor tooltip: string;
|
|
11
|
-
constructor(
|
|
9
|
+
constructor();
|
|
12
10
|
get face(): import("@coolon/angular-ui-powerups").CommandFace;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MoreMenuComponent,
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MoreMenuComponent, never>;
|
|
14
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<MoreMenuComponent, "aup-more-menu", never, { "tooltip": { "alias": "tooltip"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
15
13
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
1
|
import { ValueModel } from '@coolon/pectin';
|
|
3
2
|
import { CommandFace } from '../../command-face';
|
|
4
|
-
import { PopupContainer } from '../popup-container';
|
|
5
3
|
import { AbstractPopupMenuComponent } from './abstract-popup-menu.component';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
5
|
/**
|
|
@@ -10,7 +8,7 @@ import * as i0 from "@angular/core";
|
|
|
10
8
|
export declare class PopupMenuComponent extends AbstractPopupMenuComponent {
|
|
11
9
|
accessor face$: ValueModel<CommandFace>;
|
|
12
10
|
accessor face: CommandFace;
|
|
13
|
-
constructor(
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PopupMenuComponent,
|
|
11
|
+
constructor();
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopupMenuComponent, never>;
|
|
15
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<PopupMenuComponent, "aup-popup-menu", never, { "face$": { "alias": "face$"; "required": false; }; "face": { "alias": "face"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
16
14
|
}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
1
|
import { CommandContainer } from './group/command-container';
|
|
3
2
|
import { PopupAwareComponent } from './group/popup-aware.component';
|
|
4
|
-
import { PopupContainer } from './group/popup-container';
|
|
5
3
|
import * as i0 from "@angular/core";
|
|
6
4
|
/**
|
|
7
5
|
*
|
|
8
6
|
*/
|
|
9
7
|
export declare class SeparatorComponent extends PopupAwareComponent {
|
|
10
8
|
private readonly containerParent?;
|
|
11
|
-
constructor(
|
|
9
|
+
constructor(containerParent?: CommandContainer);
|
|
12
10
|
isHorizontalContainer(): boolean;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SeparatorComponent, [
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeparatorComponent, [{ optional: true; }]>;
|
|
14
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<SeparatorComponent, "aup-separator", never, {}, {}, never, never, false, never>;
|
|
15
13
|
}
|
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
1
|
import { ThemePalette } from "@angular/material/core";
|
|
3
|
-
import { MatMenu } from "@angular/material/menu";
|
|
4
2
|
import { CommandFace, ListModel, ValueModel, ValueModelChain } from '@coolon/pectin';
|
|
5
3
|
import { HorizontalAlignment } from "../../alignment";
|
|
6
4
|
import { CommandFace as CommandFaceUtil } from '../../commands/command-face';
|
|
7
|
-
import { CommandContainer } from '../../commands/group/command-container';
|
|
8
5
|
import { PopupAwareComponent } from '../../commands/group/popup-aware.component';
|
|
9
|
-
import { PopupContainer } from '../../commands/group/popup-container';
|
|
10
6
|
import * as i0 from "@angular/core";
|
|
11
7
|
/**
|
|
12
8
|
*
|
|
13
9
|
*/
|
|
14
10
|
export declare class FileDownloadComponent extends PopupAwareComponent {
|
|
15
|
-
private readonly containerParent?;
|
|
16
|
-
protected readonly matMenu?: MatMenu;
|
|
17
11
|
protected readonly CommandFaceUtil: typeof CommandFaceUtil;
|
|
18
12
|
accessor download$: ValueModel<FileDownloadComponent.DownloadInfo>;
|
|
19
13
|
accessor download: FileDownloadComponent.DownloadInfo;
|
|
@@ -22,9 +16,8 @@ export declare class FileDownloadComponent extends PopupAwareComponent {
|
|
|
22
16
|
protected readonly buttonStyle$: ValueModelChain<string>;
|
|
23
17
|
protected readonly color$: ValueModelChain<ThemePalette>;
|
|
24
18
|
protected readonly tooltip$: ValueModelChain<string>;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileDownloadComponent, [null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
19
|
+
constructor();
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileDownloadComponent, never>;
|
|
28
21
|
static ɵcmp: i0.ɵɵComponentDeclaration<FileDownloadComponent, "aup-file-download", never, { "download$": { "alias": "download$"; "required": false; }; "download": { "alias": "download"; "required": false; }; "alignFace": { "alias": "alignFace"; "required": false; }; }, {}, never, never, false, never>;
|
|
29
22
|
}
|
|
30
23
|
export declare namespace FileDownloadComponent {
|