c3-components 0.14.0 → 0.14.2
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/fesm2022/c3-components.mjs +481 -558
- package/fesm2022/c3-components.mjs.map +1 -1
- package/index.d.ts +862 -3
- package/package.json +1 -1
- package/lib/c3-auto-animate/c3-auto-animate.directive.d.ts +0 -11
- package/lib/c3-dialog/c3-dialog.module.d.ts +0 -20
- package/lib/c3-dialog/components/c3-dialog-alert.component.d.ts +0 -15
- package/lib/c3-dialog/components/c3-dialog-confirm.component.d.ts +0 -23
- package/lib/c3-dialog/components/c3-dialog-embed-child.component.d.ts +0 -60
- package/lib/c3-dialog/components/c3-dialog-prompt.component.d.ts +0 -31
- package/lib/c3-dialog/components/c3-dialog-template/c3-dialog-template.component.d.ts +0 -9
- package/lib/c3-dialog/directives/c3-open-dialog.directive.d.ts +0 -11
- package/lib/c3-dialog/services/c3-dialog.service.d.ts +0 -82
- package/lib/c3-dropdown/c3-dropdown.module.d.ts +0 -10
- package/lib/c3-dropdown/components/c3-dropdown.component.d.ts +0 -13
- package/lib/c3-dropdown/directives/c3-dropdown.trigger.d.ts +0 -41
- package/lib/c3-expansion/c3-expansion.module.d.ts +0 -14
- package/lib/c3-expansion/components/c3-expansion/c3-expansion.component.d.ts +0 -17
- package/lib/c3-expansion/components/c3-expansion-header/c3-expansion-header.component.d.ts +0 -9
- package/lib/c3-file-displayer/c3-file-display-card/c3-file-display-card.component.d.ts +0 -20
- package/lib/c3-file-displayer/c3-file-display-grid/c3-file-display-grid.component.d.ts +0 -24
- package/lib/c3-file-displayer/c3-file-display-icon/c3-file-display-icon.component.d.ts +0 -8
- package/lib/c3-file-displayer/c3-file-display-list/c3-file-display-list-column-def.directive.d.ts +0 -21
- package/lib/c3-file-displayer/c3-file-display-list/c3-file-display-list.component.d.ts +0 -27
- package/lib/c3-file-displayer/c3-file-display-list/tokens.d.ts +0 -2
- package/lib/c3-file-displayer/c3-file-displayer.module.d.ts +0 -12
- package/lib/c3-file-viewer/c3-file-viewer.module.d.ts +0 -20
- package/lib/c3-file-viewer/components/c3-file-viewer-actions/c3-file-viewer-actions.component.d.ts +0 -8
- package/lib/c3-file-viewer/components/c3-file-viewer-default/c3-file-viewer-default.component.d.ts +0 -7
- package/lib/c3-file-viewer/components/c3-file-viewer-image/c3-file-viewer-image.component.d.ts +0 -9
- package/lib/c3-file-viewer/components/c3-file-viewer-pdf/c3-file-viewer-pdf.component.d.ts +0 -9
- package/lib/c3-file-viewer/components/c3-file-viewer-video/c3-file-viewer-video.component.d.ts +0 -7
- package/lib/c3-file-viewer/components/public/c3-file-viewer/c3-file-viewer.component.d.ts +0 -25
- package/lib/c3-file-viewer/components/public/c3-file-viewer-dialog/c3-file-viewer-dialog.component.d.ts +0 -12
- package/lib/c3-file-viewer/components/public/c3-file-viewer-dialog/c3-file-viewer-dialog.d.ts +0 -8
- package/lib/c3-file-viewer/consts/default.config.d.ts +0 -2
- package/lib/c3-file-viewer/consts/supported-type.d.ts +0 -2
- package/lib/c3-file-viewer/directives/full-screen.directive.d.ts +0 -12
- package/lib/c3-file-viewer/models/custom-file-event.model.d.ts +0 -5
- package/lib/c3-file-viewer/models/file-metadata.d.ts +0 -19
- package/lib/c3-file-viewer/models/file-viewer-config.model.d.ts +0 -50
- package/lib/c3-file-viewer/models/file-viewer.d.ts +0 -73
- package/lib/c3-file-viewer/models/http.client.d.ts +0 -14
- package/lib/c3-flowing-menu/c3-flowing-menu.module.d.ts +0 -10
- package/lib/c3-flowing-menu/components/c3-flowing-menu/c3-flowing-menu.component.d.ts +0 -12
- package/lib/c3-flowing-menu/components/c3-flowing-menu-item/c3-flowing-menu-item.component.d.ts +0 -9
- package/lib/c3-flowing-menu/components/c3-flowing-menu-item-content/c3-flowing-menu-item-content.component.d.ts +0 -5
- package/lib/c3-menu/c3-menu.module.d.ts +0 -11
- package/lib/c3-menu/components/c3-menu/c3-menu.component.d.ts +0 -7
- package/lib/c3-menu/components/c3-nav-item/c3-nav-item.component.d.ts +0 -14
- package/lib/c3-menu/services/c3-menu.service.d.ts +0 -14
- package/lib/c3-prevent-event/c3-prevent-click-event.directive.d.ts +0 -13
- package/lib/c3-prevent-event/c3-prevent-keyboard-event.directive.d.ts +0 -17
- package/lib/c3-prevent-event/c3-stop-click-propagation.directive.d.ts +0 -6
- package/lib/c3-prevent-event/index.d.ts +0 -3
- package/lib/c3-safe-url/pipes/c3-safe-url.pipe.d.ts +0 -10
- package/lib/c3-select-on-focus/c3-select-on-focus.directive.d.ts +0 -6
- package/lib/c3-signals/c3-boolean-signal.d.ts +0 -12
- package/lib/c3-trace-card/c3-trace-card.module.d.ts +0 -12
- package/lib/c3-trace-card/components/c3-trace-card/c3-trace-card.component.d.ts +0 -8
- package/lib/c3-trace-card/components/c3-trace-card-content/c3-trace-card-content.component.d.ts +0 -5
- package/lib/c3-trace-card/components/c3-trace-card-title/c3-trace-card-title.component.d.ts +0 -5
- package/lib/c3-trace-card/directives/align-left.directive.d.ts +0 -7
- package/lib/c3-trace-card/directives/align-right.directive.d.ts +0 -7
- package/lib/c3-tree/c3-tree.component.d.ts +0 -28
- package/public-api.d.ts +0 -95
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { C3FileViewerConfig } from '../../../models/file-viewer-config.model';
|
|
3
|
-
import { CustomFileEvent } from '../../../models/custom-file-event.model';
|
|
4
|
-
import { HttpClient } from '@angular/common/http';
|
|
5
|
-
import { C3FileViewer } from '../../../models/file-viewer';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class C3FileViewerComponent implements OnInit {
|
|
8
|
-
moduleConfig: C3FileViewerConfig;
|
|
9
|
-
_http: HttpClient;
|
|
10
|
-
screenHeightOccupied?: 0;
|
|
11
|
-
fileViewer: C3FileViewer;
|
|
12
|
-
indexChange: EventEmitter<number>;
|
|
13
|
-
configChange: EventEmitter<C3FileViewerConfig>;
|
|
14
|
-
customFileEvent: EventEmitter<CustomFileEvent>;
|
|
15
|
-
constructor(moduleConfig: C3FileViewerConfig, _http: HttpClient);
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
onMouseOver(): void;
|
|
18
|
-
onMouseLeave(): void;
|
|
19
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
20
|
-
next(event: KeyboardEvent): void;
|
|
21
|
-
previous(event: KeyboardEvent): void;
|
|
22
|
-
defineStyleHeight(): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<C3FileViewerComponent, [{ optional: true; }, null]>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<C3FileViewerComponent, "c3-file-viewer", never, { "screenHeightOccupied": { "alias": "screenHeightOccupied"; "required": false; }; "fileViewer": { "alias": "fileViewer"; "required": false; }; }, { "indexChange": "indexChange"; "configChange": "configChange"; "customFileEvent": "customFileEvent"; }, never, never, false, never>;
|
|
25
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { MatDialog, MatDialogConfig } from '@angular/material/dialog';
|
|
2
|
-
import { C3FileViewer } from '../../../models/file-viewer';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class C3FileViewerDialogComponent {
|
|
5
|
-
private _dialog;
|
|
6
|
-
fileViewer: C3FileViewer;
|
|
7
|
-
dialogConfig: Partial<MatDialogConfig>;
|
|
8
|
-
constructor(_dialog: MatDialog);
|
|
9
|
-
openDialog(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<C3FileViewerDialogComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<C3FileViewerDialogComponent, "c3-file-viewer-dialog", never, { "fileViewer": { "alias": "fileViewer"; "required": false; }; "dialogConfig": { "alias": "dialogConfig"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
12
|
-
}
|
package/lib/c3-file-viewer/components/public/c3-file-viewer-dialog/c3-file-viewer-dialog.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { C3FileViewer } from '../../../models/file-viewer';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class C3FileViewerDialog {
|
|
4
|
-
fileViewer: C3FileViewer;
|
|
5
|
-
constructor(fileViewer: C3FileViewer);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<C3FileViewerDialog, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<C3FileViewerDialog, "ng-component", never, {}, {}, never, never, false, never>;
|
|
8
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class FullScreenDirective {
|
|
4
|
-
private el;
|
|
5
|
-
set fullscreenState(value: Boolean | null);
|
|
6
|
-
set fullscreenStateSetter(value: Boolean | null);
|
|
7
|
-
private _fullscreenState;
|
|
8
|
-
constructor(el: ElementRef);
|
|
9
|
-
private defineState;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FullScreenDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FullScreenDirective, "[C3FullScreen], [c3-full-screen]", never, { "fullscreenState": { "alias": "c3Screenfull"; "required": false; }; "fullscreenStateSetter": { "alias": "c3-full-screen"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
export type VariantFile = {
|
|
3
|
-
size: number;
|
|
4
|
-
fileName: string;
|
|
5
|
-
contentType: string;
|
|
6
|
-
location: string;
|
|
7
|
-
};
|
|
8
|
-
export interface FileMetadata {
|
|
9
|
-
name: string;
|
|
10
|
-
size?: number;
|
|
11
|
-
type: string;
|
|
12
|
-
lastModified?: Date;
|
|
13
|
-
created?: Date;
|
|
14
|
-
extension?: string;
|
|
15
|
-
location: string;
|
|
16
|
-
objectUrl?: Observable<string>;
|
|
17
|
-
metadata?: Record<string, any>;
|
|
18
|
-
alternativeVersions?: VariantFile[];
|
|
19
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
export interface C3FileViewerConfig {
|
|
3
|
-
btnContainerClass?: string;
|
|
4
|
-
btnClass?: string;
|
|
5
|
-
btnSubClass?: string;
|
|
6
|
-
zoomFactor?: number;
|
|
7
|
-
containerBackgroundColor?: string;
|
|
8
|
-
wheelZoom?: boolean;
|
|
9
|
-
allowFullscreen?: boolean;
|
|
10
|
-
allowKeyboardNavigation?: boolean;
|
|
11
|
-
customClient?: HttpClient['get'];
|
|
12
|
-
minHeight?: number | string;
|
|
13
|
-
minWidth?: number | string;
|
|
14
|
-
width?: number | string;
|
|
15
|
-
maxHeight?: number | string;
|
|
16
|
-
height?: number | string;
|
|
17
|
-
maxWidth?: number | string;
|
|
18
|
-
btnShow?: {
|
|
19
|
-
zoomIn?: boolean;
|
|
20
|
-
zoomOut?: boolean;
|
|
21
|
-
rotateClockwise?: boolean;
|
|
22
|
-
rotateCounterClockwise?: boolean;
|
|
23
|
-
next?: boolean;
|
|
24
|
-
prev?: boolean;
|
|
25
|
-
reset?: boolean;
|
|
26
|
-
download?: boolean;
|
|
27
|
-
};
|
|
28
|
-
btnIcons?: {
|
|
29
|
-
zoomIn?: MultiBtn['btn'];
|
|
30
|
-
zoomOut?: MultiBtn['btn'];
|
|
31
|
-
rotateClockwise?: MultiBtn['btn'];
|
|
32
|
-
rotateCounterClockwise?: MultiBtn['btn'];
|
|
33
|
-
next?: MultiBtn['btn'];
|
|
34
|
-
prev?: MultiBtn['btn'];
|
|
35
|
-
fullscreen?: MultiBtn['btn'];
|
|
36
|
-
reset?: MultiBtn['btn'];
|
|
37
|
-
download?: MultiBtn['btn'];
|
|
38
|
-
};
|
|
39
|
-
customBtns?: Array<{
|
|
40
|
-
name: string;
|
|
41
|
-
icon: MultiBtn['btn'];
|
|
42
|
-
}>;
|
|
43
|
-
}
|
|
44
|
-
interface MultiBtn {
|
|
45
|
-
btn: {
|
|
46
|
-
classes?: string;
|
|
47
|
-
text?: string;
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
export {};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
2
|
-
import { C3FileViewerConfig } from './file-viewer-config.model';
|
|
3
|
-
import { HttpClient } from '@angular/common/http';
|
|
4
|
-
import { FileMetadata, VariantFile } from './file-metadata';
|
|
5
|
-
export declare class C3FileViewer {
|
|
6
|
-
private _config;
|
|
7
|
-
private client;
|
|
8
|
-
get config(): C3FileViewerConfig;
|
|
9
|
-
set config(value: C3FileViewerConfig);
|
|
10
|
-
config$: BehaviorSubject<C3FileViewerConfig>;
|
|
11
|
-
fullscreen$: BehaviorSubject<Boolean>;
|
|
12
|
-
customFile$: BehaviorSubject<any>;
|
|
13
|
-
index$: BehaviorSubject<number>;
|
|
14
|
-
loading: boolean;
|
|
15
|
-
currentIndex: number;
|
|
16
|
-
get currentFile(): FileMetadata;
|
|
17
|
-
style: {
|
|
18
|
-
transform: string;
|
|
19
|
-
msTransform: string;
|
|
20
|
-
oTransform: string;
|
|
21
|
-
webkitTransform: string;
|
|
22
|
-
minHeight: string;
|
|
23
|
-
maxHeight: string;
|
|
24
|
-
height: string;
|
|
25
|
-
minWidth: string;
|
|
26
|
-
maxWidth: string;
|
|
27
|
-
width: string;
|
|
28
|
-
};
|
|
29
|
-
styleHeight: string;
|
|
30
|
-
hovered: boolean;
|
|
31
|
-
set files(newFiles: FileMetadata[]);
|
|
32
|
-
get files(): FileMetadata[];
|
|
33
|
-
private _files;
|
|
34
|
-
filesObjectUrl: Array<FileMetadata & {
|
|
35
|
-
objectUrl?: Observable<string>;
|
|
36
|
-
}>;
|
|
37
|
-
private locationBlobMap;
|
|
38
|
-
private scale;
|
|
39
|
-
private rotation;
|
|
40
|
-
private translateX;
|
|
41
|
-
private translateY;
|
|
42
|
-
private prevX;
|
|
43
|
-
private prevY;
|
|
44
|
-
constructor({ config, files, client }: {
|
|
45
|
-
config?: C3FileViewerConfig;
|
|
46
|
-
files?: FileMetadata[];
|
|
47
|
-
client: HttpClient;
|
|
48
|
-
});
|
|
49
|
-
createObjectURL(file: FileMetadata | VariantFile): Observable<string> | undefined;
|
|
50
|
-
getFile(location: string): Observable<Blob>;
|
|
51
|
-
previousImage(event: KeyboardEvent | MouseEvent): void;
|
|
52
|
-
nextImage(event: KeyboardEvent | MouseEvent): void;
|
|
53
|
-
zoomIn(): void;
|
|
54
|
-
zoomOut(): void;
|
|
55
|
-
scrollZoom(evt: WheelEvent): boolean;
|
|
56
|
-
rotateClockwise(): void;
|
|
57
|
-
rotateCounterClockwise(): void;
|
|
58
|
-
onLoaded(): void;
|
|
59
|
-
onLoadStart(): void;
|
|
60
|
-
imageNotFound(file: FileMetadata): void;
|
|
61
|
-
onDragOver(evt: DragEvent): void;
|
|
62
|
-
onDragStart(evt: DragEvent): void;
|
|
63
|
-
toggleFullscreen(): void;
|
|
64
|
-
reset(): void;
|
|
65
|
-
getOriginalName(file?: FileMetadata): any;
|
|
66
|
-
private canNavigate;
|
|
67
|
-
private updateStyle;
|
|
68
|
-
private valueToCss;
|
|
69
|
-
private mergeConfig;
|
|
70
|
-
download(file?: FileMetadata): void;
|
|
71
|
-
private downloadFromUrl;
|
|
72
|
-
private downloadWithClient;
|
|
73
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { HttpContext, HttpHeaders, HttpParams } from '@angular/common/http';
|
|
2
|
-
export interface HttpClientOptions {
|
|
3
|
-
headers?: HttpHeaders | {
|
|
4
|
-
[header: string]: string | string[];
|
|
5
|
-
};
|
|
6
|
-
context?: HttpContext;
|
|
7
|
-
observe?: 'body';
|
|
8
|
-
params?: HttpParams | {
|
|
9
|
-
[param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
|
|
10
|
-
};
|
|
11
|
-
reportProgress?: boolean;
|
|
12
|
-
responseType: 'blob';
|
|
13
|
-
withCredentials?: boolean;
|
|
14
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./components/c3-flowing-menu/c3-flowing-menu.component";
|
|
3
|
-
import * as i2 from "./components/c3-flowing-menu-item/c3-flowing-menu-item.component";
|
|
4
|
-
import * as i3 from "./components/c3-flowing-menu-item-content/c3-flowing-menu-item-content.component";
|
|
5
|
-
import * as i4 from "@angular/common";
|
|
6
|
-
export declare class C3FlowingMenuModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<C3FlowingMenuModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<C3FlowingMenuModule, [typeof i1.C3FlowingMenuComponent, typeof i2.C3FlowingMenuItemComponent, typeof i3.C3FlowingMenuItemContentComponent], [typeof i4.CommonModule], [typeof i1.C3FlowingMenuComponent, typeof i2.C3FlowingMenuItemComponent, typeof i3.C3FlowingMenuItemContentComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<C3FlowingMenuModule>;
|
|
10
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { C3FlowingMenuItemComponent } from '../c3-flowing-menu-item/c3-flowing-menu-item.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class C3FlowingMenuComponent {
|
|
4
|
-
readonly c3FlowingMenu: import("@angular/core").Signal<readonly C3FlowingMenuItemComponent[]>;
|
|
5
|
-
private readonly targetContentRef;
|
|
6
|
-
readonly selectedIndex: import("@angular/core").ModelSignal<number>;
|
|
7
|
-
constructor();
|
|
8
|
-
selectMenu(index: number): void;
|
|
9
|
-
private updateView;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<C3FlowingMenuComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<C3FlowingMenuComponent, "c3-flowing-menu", never, { "selectedIndex": { "alias": "selectedIndex"; "required": false; "isSignal": true; }; }, { "selectedIndex": "selectedIndexChange"; }, ["c3FlowingMenu"], never, false, never>;
|
|
12
|
-
}
|
package/lib/c3-flowing-menu/components/c3-flowing-menu-item/c3-flowing-menu-item.component.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class C3FlowingMenuItemComponent {
|
|
4
|
-
readonly menuTpl: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
5
|
-
readonly contentTpl: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
6
|
-
readonly active: import("@angular/core").WritableSignal<boolean>;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<C3FlowingMenuItemComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<C3FlowingMenuItemComponent, "c3-flowing-menu-item", never, {}, {}, never, ["[menu-title]", "c3-flowing-menu-item-content"], false, never>;
|
|
9
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class C3FlowingMenuItemContentComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<C3FlowingMenuItemContentComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<C3FlowingMenuItemContentComponent, "c3-flowing-menu-item-content", never, {}, {}, never, ["*"], false, never>;
|
|
5
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./components/c3-menu/c3-menu.component";
|
|
3
|
-
import * as i2 from "./components/c3-nav-item/c3-nav-item.component";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "@angular/router";
|
|
6
|
-
import * as i5 from "@angular/material/core";
|
|
7
|
-
export declare class C3MenuModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<C3MenuModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<C3MenuModule, [typeof i1.C3MenuComponent, typeof i2.C3NavItemComponent], [typeof i3.CommonModule, typeof i4.RouterModule, typeof i5.MatRippleModule], [typeof i1.C3MenuComponent, typeof i2.C3NavItemComponent]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<C3MenuModule>;
|
|
11
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { C3MenuService } from '../../services/c3-menu.service';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class C3MenuComponent {
|
|
4
|
-
readonly _c3Menu: C3MenuService;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<C3MenuComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<C3MenuComponent, "c3-menu", never, {}, {}, never, ["*"], false, never>;
|
|
7
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class C3NavItemComponent {
|
|
3
|
-
readonly route: import("@angular/core").InputSignal<string>;
|
|
4
|
-
readonly itemTitle: import("@angular/core").InputSignal<string>;
|
|
5
|
-
readonly check: import("@angular/core").InputSignal<string | null>;
|
|
6
|
-
readonly isExternal: import("@angular/core").InputSignal<boolean>;
|
|
7
|
-
private readonly element;
|
|
8
|
-
private readonly _menu;
|
|
9
|
-
private readonly destroyRef;
|
|
10
|
-
private readonly currentRouteChangeSubscription;
|
|
11
|
-
constructor();
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<C3NavItemComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<C3NavItemComponent, "c3-nav-item", never, { "route": { "alias": "route"; "required": true; "isSignal": true; }; "itemTitle": { "alias": "itemTitle"; "required": true; "isSignal": true; }; "check": { "alias": "check"; "required": false; "isSignal": true; }; "isExternal": { "alias": "isExternal"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class C3MenuService {
|
|
4
|
-
selectedElement: HTMLElement | null;
|
|
5
|
-
currentRouteChange: Observable<string>;
|
|
6
|
-
readonly currentRoute: import("@angular/core").WritableSignal<string>;
|
|
7
|
-
readonly isHeadless: import("@angular/core").WritableSignal<boolean>;
|
|
8
|
-
private readonly _router;
|
|
9
|
-
private readonly _ar;
|
|
10
|
-
constructor();
|
|
11
|
-
setSelectedItem(element: HTMLElement): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<C3MenuService, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<C3MenuService>;
|
|
14
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* A directive that prevents the default action and stops event propagation on click events.
|
|
4
|
-
*/
|
|
5
|
-
export declare class C3PreventClickDirective {
|
|
6
|
-
/**
|
|
7
|
-
* HostListener for the 'click' event.
|
|
8
|
-
* @param {MouseEvent} event - The MouseEvent object representing the click event.
|
|
9
|
-
*/
|
|
10
|
-
onClick(event: MouseEvent): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<C3PreventClickDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<C3PreventClickDirective, "[c3-prevent-click]", never, {}, {}, never, never, true, never>;
|
|
13
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* A directive that prevents the default action and stops event propagation on specified keyboard events.
|
|
4
|
-
*/
|
|
5
|
-
export declare class C3PreventKeyboardEventDirective {
|
|
6
|
-
/**
|
|
7
|
-
* The keyboard key to prevent the default action and stop event propagation for. Defaults to 'enter'.
|
|
8
|
-
*/
|
|
9
|
-
key: string;
|
|
10
|
-
/**
|
|
11
|
-
* HostListener for the 'keydown' event.
|
|
12
|
-
* @param {KeyboardEvent} event - The KeyboardEvent object representing the keydown event.
|
|
13
|
-
*/
|
|
14
|
-
onKeyDown(event: KeyboardEvent): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<C3PreventKeyboardEventDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<C3PreventKeyboardEventDirective, "[c3-prevent-keyboard-event]", never, { "key": { "alias": "key"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class C3StopPropagationDirective {
|
|
3
|
-
onClick(event: MouseEvent): void;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<C3StopPropagationDirective, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<C3StopPropagationDirective, "[c3-stop-click-propagation]", never, {}, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class C3SafeUrlPipe implements PipeTransform {
|
|
5
|
-
private sanitizer;
|
|
6
|
-
constructor(sanitizer: DomSanitizer);
|
|
7
|
-
transform(url: string | null): import("@angular/platform-browser").SafeResourceUrl;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<C3SafeUrlPipe, never>;
|
|
9
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<C3SafeUrlPipe, "c3SafeUrl", true>;
|
|
10
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class C3SelectOnFocusDirective {
|
|
3
|
-
onFocus(target: HTMLInputElement): void;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<C3SelectOnFocusDirective, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<C3SelectOnFocusDirective, "[c3SelectOnFocus]", never, {}, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare class BooleanSignal {
|
|
2
|
-
private _signal;
|
|
3
|
-
constructor(initialValue: boolean);
|
|
4
|
-
get value(): boolean;
|
|
5
|
-
set value(newValue: boolean);
|
|
6
|
-
toggle(): void;
|
|
7
|
-
reset(): void;
|
|
8
|
-
setToTrue(): void;
|
|
9
|
-
setToFalse(): void;
|
|
10
|
-
}
|
|
11
|
-
export declare function booleanSignal(value: boolean): BooleanSignal;
|
|
12
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./components/c3-trace-card/c3-trace-card.component";
|
|
3
|
-
import * as i2 from "./components/c3-trace-card-title/c3-trace-card-title.component";
|
|
4
|
-
import * as i3 from "./components/c3-trace-card-content/c3-trace-card-content.component";
|
|
5
|
-
import * as i4 from "@angular/common";
|
|
6
|
-
import * as i5 from "./directives/align-left.directive";
|
|
7
|
-
import * as i6 from "./directives/align-right.directive";
|
|
8
|
-
export declare class C3TraceCardModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<C3TraceCardModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<C3TraceCardModule, [typeof i1.C3TraceCardComponent, typeof i2.C3TraceCardTitleComponent, typeof i3.C3TraceCardContentComponent], [typeof i4.CommonModule, typeof i5.C3TraceCardAlignLeftDirective, typeof i6.C3TraceCardAlignRightDirective], [typeof i1.C3TraceCardComponent, typeof i2.C3TraceCardTitleComponent, typeof i3.C3TraceCardContentComponent, typeof i5.C3TraceCardAlignLeftDirective, typeof i6.C3TraceCardAlignRightDirective]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<C3TraceCardModule>;
|
|
12
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class C3TraceCardComponent {
|
|
3
|
-
readonly align: import("@angular/core").WritableSignal<"left" | "right">;
|
|
4
|
-
get alignLeft(): boolean;
|
|
5
|
-
get alignRight(): boolean;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<C3TraceCardComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<C3TraceCardComponent, "c3-trace-card", never, {}, {}, never, ["c3-trace-card-content", "c3-trace-card-title"], false, never>;
|
|
8
|
-
}
|
package/lib/c3-trace-card/components/c3-trace-card-content/c3-trace-card-content.component.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class C3TraceCardContentComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<C3TraceCardContentComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<C3TraceCardContentComponent, "c3-trace-card-content", never, {}, {}, never, ["*"], false, never>;
|
|
5
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class C3TraceCardTitleComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<C3TraceCardTitleComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<C3TraceCardTitleComponent, "c3-trace-card-title", never, {}, {}, never, ["*"], false, never>;
|
|
5
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class C3TraceCardAlignLeftDirective {
|
|
3
|
-
private readonly c3CardTitle;
|
|
4
|
-
constructor();
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<C3TraceCardAlignLeftDirective, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<C3TraceCardAlignLeftDirective, "c3-trace-card[align-left]", never, {}, {}, never, never, true, never>;
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class C3TraceCardAlignRightDirective {
|
|
3
|
-
private readonly c3CardTitle;
|
|
4
|
-
constructor();
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<C3TraceCardAlignRightDirective, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<C3TraceCardAlignRightDirective, "c3-trace-card[align-right]", never, {}, {}, never, never, true, never>;
|
|
7
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { FlatTreeControl } from '@angular/cdk/tree';
|
|
2
|
-
import { MatTreeFlatDataSource, MatTreeFlattener } from '@angular/material/tree';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface TreeType<T> {
|
|
5
|
-
id: number;
|
|
6
|
-
level: number;
|
|
7
|
-
name: string;
|
|
8
|
-
ancestorId?: number;
|
|
9
|
-
ancestor?: TreeType<T>;
|
|
10
|
-
children: TreeType<T>[];
|
|
11
|
-
rawData: T;
|
|
12
|
-
}
|
|
13
|
-
export interface FileNode<RawData> extends TreeType<RawData> {
|
|
14
|
-
expandable: boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare class C3TreeComponent<RawData, T extends TreeType<RawData> = TreeType<RawData>> {
|
|
17
|
-
readonly treeData: import("@angular/core").ModelSignal<T[]>;
|
|
18
|
-
readonly isLoading: import("@angular/core").ModelSignal<boolean>;
|
|
19
|
-
readonly treeDataSelected: import("@angular/core").OutputEmitterRef<T>;
|
|
20
|
-
private _transformer;
|
|
21
|
-
constructor();
|
|
22
|
-
hasChild: (_: number, node: T) => boolean;
|
|
23
|
-
treeControl: FlatTreeControl<FileNode<RawData>, FileNode<RawData>>;
|
|
24
|
-
treeFlattener: MatTreeFlattener<TreeType<RawData>, FileNode<RawData>, FileNode<RawData>>;
|
|
25
|
-
dataSource: MatTreeFlatDataSource<TreeType<RawData>, FileNode<RawData>, FileNode<RawData>>;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<C3TreeComponent<any, any>, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<C3TreeComponent<any, any>, "c3-tree", never, { "treeData": { "alias": "treeData"; "required": true; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; }, { "treeData": "treeDataChange"; "isLoading": "isLoadingChange"; "treeDataSelected": "treeDataSelected"; }, never, ["*"], true, never>;
|
|
28
|
-
}
|
package/public-api.d.ts
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
export * from './lib/c3-file-viewer/models/http.client';
|
|
2
|
-
/**
|
|
3
|
-
* Dropdown
|
|
4
|
-
*/
|
|
5
|
-
export * from './lib/c3-dropdown/components/c3-dropdown.component';
|
|
6
|
-
export * from './lib/c3-dropdown/directives/c3-dropdown.trigger';
|
|
7
|
-
export * from './lib/c3-dropdown/c3-dropdown.module';
|
|
8
|
-
/**
|
|
9
|
-
* Dialog
|
|
10
|
-
*/
|
|
11
|
-
export * from './lib/c3-dialog/components/c3-dialog-alert.component';
|
|
12
|
-
export * from './lib/c3-dialog/components/c3-dialog-confirm.component';
|
|
13
|
-
export * from './lib/c3-dialog/components/c3-dialog-prompt.component';
|
|
14
|
-
export * from './lib/c3-dialog/components/c3-dialog-embed-child.component';
|
|
15
|
-
export * from './lib/c3-dialog/components/c3-dialog-template/c3-dialog-template.component';
|
|
16
|
-
export * from './lib/c3-dialog/services/c3-dialog.service';
|
|
17
|
-
export * from './lib/c3-dialog/directives/c3-open-dialog.directive';
|
|
18
|
-
export * from './lib/c3-dialog/c3-dialog.module';
|
|
19
|
-
/**
|
|
20
|
-
* File Viewer
|
|
21
|
-
*/
|
|
22
|
-
export * from './lib/c3-file-viewer/components/public/c3-file-viewer/c3-file-viewer.component';
|
|
23
|
-
export * from './lib/c3-file-viewer/components/public/c3-file-viewer-dialog/c3-file-viewer-dialog.component';
|
|
24
|
-
export * from './lib/c3-file-viewer/components/public/c3-file-viewer-dialog/c3-file-viewer-dialog';
|
|
25
|
-
export * from './lib/c3-file-viewer/directives/full-screen.directive';
|
|
26
|
-
export * from './lib/c3-file-viewer/models/custom-file-event.model';
|
|
27
|
-
export * from './lib/c3-file-viewer/models/file-viewer-config.model';
|
|
28
|
-
export * from './lib/c3-file-viewer/models/file-viewer';
|
|
29
|
-
export * from './lib/c3-file-viewer/models/file-metadata';
|
|
30
|
-
export * from './lib/c3-file-viewer/c3-file-viewer.module';
|
|
31
|
-
/**
|
|
32
|
-
* File Displayer
|
|
33
|
-
*/
|
|
34
|
-
export * from './lib/c3-file-displayer/c3-file-displayer.module';
|
|
35
|
-
export * from './lib/c3-file-displayer/c3-file-display-list/c3-file-display-list.component';
|
|
36
|
-
export * from './lib/c3-file-displayer/c3-file-display-icon/c3-file-display-icon.component';
|
|
37
|
-
export * from './lib/c3-file-displayer/c3-file-display-grid/c3-file-display-grid.component';
|
|
38
|
-
export * from './lib/c3-file-displayer/c3-file-display-card/c3-file-display-card.component';
|
|
39
|
-
export * from './lib/c3-file-displayer/c3-file-display-list/c3-file-display-list-column-def.directive';
|
|
40
|
-
export * from './lib/c3-file-displayer/c3-file-display-list/tokens';
|
|
41
|
-
/**
|
|
42
|
-
* Safe Url
|
|
43
|
-
*/
|
|
44
|
-
export * from './lib/c3-safe-url/pipes/c3-safe-url.pipe';
|
|
45
|
-
/**
|
|
46
|
-
* Expansion
|
|
47
|
-
*/
|
|
48
|
-
export * from './lib/c3-expansion/c3-expansion.module';
|
|
49
|
-
export * from './lib/c3-expansion/components/c3-expansion/c3-expansion.component';
|
|
50
|
-
export * from './lib/c3-expansion/components/c3-expansion-header/c3-expansion-header.component';
|
|
51
|
-
/**
|
|
52
|
-
* Auto Animate
|
|
53
|
-
*/
|
|
54
|
-
export * from './lib/c3-auto-animate/c3-auto-animate.directive';
|
|
55
|
-
/**
|
|
56
|
-
* Select on Focus
|
|
57
|
-
*/
|
|
58
|
-
export * from './lib/c3-select-on-focus/c3-select-on-focus.directive';
|
|
59
|
-
/**
|
|
60
|
-
* Toggle Signal
|
|
61
|
-
*/
|
|
62
|
-
export * from './lib/c3-signals/c3-boolean-signal';
|
|
63
|
-
/**
|
|
64
|
-
* C3 Tree
|
|
65
|
-
*/
|
|
66
|
-
export * from './lib/c3-tree/c3-tree.component';
|
|
67
|
-
/**
|
|
68
|
-
* C3 flowing menu
|
|
69
|
-
*/
|
|
70
|
-
export * from './lib/c3-flowing-menu/c3-flowing-menu.module';
|
|
71
|
-
export * from './lib/c3-flowing-menu/components/c3-flowing-menu/c3-flowing-menu.component';
|
|
72
|
-
export * from './lib/c3-flowing-menu/components/c3-flowing-menu-item/c3-flowing-menu-item.component';
|
|
73
|
-
export * from './lib/c3-flowing-menu/components/c3-flowing-menu-item-content/c3-flowing-menu-item-content.component';
|
|
74
|
-
/**
|
|
75
|
-
* C3 Trace Card
|
|
76
|
-
*/
|
|
77
|
-
export * from './lib/c3-trace-card/c3-trace-card.module';
|
|
78
|
-
export * from './lib/c3-trace-card/components/c3-trace-card/c3-trace-card.component';
|
|
79
|
-
export * from './lib/c3-trace-card/components/c3-trace-card-content/c3-trace-card-content.component';
|
|
80
|
-
export * from './lib/c3-trace-card/components/c3-trace-card-title/c3-trace-card-title.component';
|
|
81
|
-
export * from './lib/c3-trace-card/directives/align-left.directive';
|
|
82
|
-
export * from './lib/c3-trace-card/directives/align-right.directive';
|
|
83
|
-
/**
|
|
84
|
-
* C3 Prevent Event
|
|
85
|
-
*/
|
|
86
|
-
export * from './lib/c3-prevent-event/index';
|
|
87
|
-
/**
|
|
88
|
-
* C3 Menu
|
|
89
|
-
*/
|
|
90
|
-
export * from './lib/c3-menu/c3-menu.module';
|
|
91
|
-
export * from './lib/c3-menu/components/c3-menu/c3-menu.component';
|
|
92
|
-
export * from './lib/c3-menu/components/c3-nav-item/c3-nav-item.component';
|
|
93
|
-
/**
|
|
94
|
-
* C3 PDF Viewer
|
|
95
|
-
*/
|