ngx-core-components 0.3.3 → 0.3.5
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/ai/ai-audio-wave/ai-audio-wave.component.d.ts +28 -0
- package/ai/ai-chat-widget/ai-chat-widget.component.d.ts +26 -0
- package/ai/ai-code-editor/ai-code-editor.component.d.ts +30 -0
- package/ai/ai-model-compare/ai-model-compare.component.d.ts +31 -0
- package/ai/ai-prompt-editor/ai-prompt-editor.component.d.ts +22 -0
- package/ai/public-api.d.ts +7 -0
- package/buttons/public-api.d.ts +2 -0
- package/buttons/speed-dial/speed-dial.component.d.ts +24 -0
- package/charts/area-chart/area-chart.component.d.ts +43 -0
- package/charts/funnel-chart/funnel-chart.component.d.ts +26 -0
- package/charts/gauge-chart/gauge-chart.component.d.ts +25 -0
- package/charts/heatmap-chart/heatmap-chart.component.d.ts +34 -0
- package/charts/public-api.d.ts +10 -0
- package/charts/radar-chart/radar-chart.component.d.ts +51 -0
- package/charts/treemap-chart/treemap-chart.component.d.ts +33 -0
- package/feedback/alert/alert.component.d.ts +19 -0
- package/feedback/avatar/avatar.component.d.ts +37 -0
- package/feedback/countdown/countdown.component.d.ts +46 -0
- package/feedback/empty-state/empty-state.component.d.ts +14 -0
- package/feedback/public-api.d.ts +9 -0
- package/feedback/stat-card/stat-card.component.d.ts +18 -0
- package/fesm2022/ngx-core-components-ai.mjs +1418 -2
- package/fesm2022/ngx-core-components-ai.mjs.map +1 -1
- package/fesm2022/ngx-core-components-buttons.mjs +133 -1
- package/fesm2022/ngx-core-components-buttons.mjs.map +1 -1
- package/fesm2022/ngx-core-components-charts.mjs +1474 -2
- package/fesm2022/ngx-core-components-charts.mjs.map +1 -1
- package/fesm2022/ngx-core-components-feedback.mjs +973 -5
- package/fesm2022/ngx-core-components-feedback.mjs.map +1 -1
- package/fesm2022/ngx-core-components-inputs.mjs +1050 -12
- package/fesm2022/ngx-core-components-inputs.mjs.map +1 -1
- package/fesm2022/ngx-core-components-layout.mjs +930 -2
- package/fesm2022/ngx-core-components-layout.mjs.map +1 -1
- package/fesm2022/ngx-core-components-navigation.mjs +442 -2
- package/fesm2022/ngx-core-components-navigation.mjs.map +1 -1
- package/fesm2022/ngx-core-components-views.mjs +1626 -3
- package/fesm2022/ngx-core-components-views.mjs.map +1 -1
- package/fesm2022/ngx-core-components.mjs +8 -8
- package/fesm2022/ngx-core-components.mjs.map +1 -1
- package/inputs/file-preview/file-preview.component.d.ts +61 -0
- package/inputs/file-upload/file-upload.component.d.ts +51 -0
- package/inputs/public-api.d.ts +7 -0
- package/inputs/segmented-control/segmented-control.component.d.ts +20 -0
- package/inputs/tag-input/tag-input.component.d.ts +25 -0
- package/layout/carousel/carousel.component.d.ts +39 -0
- package/layout/dashboard-layout/dashboard-layout.component.d.ts +43 -0
- package/layout/dashboard-layout/models.d.ts +26 -0
- package/layout/drawer/drawer.component.d.ts +21 -0
- package/layout/public-api.d.ts +4 -0
- package/navigation/back-to-top/back-to-top.component.d.ts +15 -0
- package/navigation/command-palette/command-palette.component.d.ts +34 -0
- package/navigation/public-api.d.ts +3 -0
- package/package.json +1 -1
- package/public-api.d.ts +33 -9
- package/views/image-compare/image-compare.component.d.ts +26 -0
- package/views/kanban/kanban.component.d.ts +41 -0
- package/views/kanban/models.d.ts +19 -0
- package/views/key-value-list/key-value-list.component.d.ts +36 -0
- package/views/public-api.d.ts +11 -0
- package/views/scheduler/models.d.ts +18 -0
- package/views/scheduler/scheduler.component.d.ts +36 -0
- package/views/timeline/timeline.component.d.ts +19 -0
- package/views/virtual-list/virtual-list.component.d.ts +42 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { UploadFileItem } from '../file-upload/file-upload.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface PreviewFileItem {
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
size: number;
|
|
8
|
+
type: string;
|
|
9
|
+
status: 'pending' | 'uploading' | 'success' | 'error';
|
|
10
|
+
progress: number;
|
|
11
|
+
errorMessage?: string;
|
|
12
|
+
formattedSize: string;
|
|
13
|
+
thumbnailUrl?: string;
|
|
14
|
+
fileObject?: File;
|
|
15
|
+
}
|
|
16
|
+
export declare class FilePreviewComponent implements OnDestroy {
|
|
17
|
+
files: import("@angular/core").InputSignal<File[] | UploadFileItem[] | null>;
|
|
18
|
+
layout: import("@angular/core").InputSignal<"list" | "grid">;
|
|
19
|
+
allowDelete: import("@angular/core").InputSignal<boolean>;
|
|
20
|
+
allowDownload: import("@angular/core").InputSignal<boolean>;
|
|
21
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
22
|
+
delete: import("@angular/core").OutputEmitterRef<any>;
|
|
23
|
+
download: import("@angular/core").OutputEmitterRef<any>;
|
|
24
|
+
private objectUrlCache;
|
|
25
|
+
previewFiles: import("@angular/core").Signal<({
|
|
26
|
+
id: string;
|
|
27
|
+
name: string;
|
|
28
|
+
size: number;
|
|
29
|
+
type: string;
|
|
30
|
+
progress: number;
|
|
31
|
+
status: "success";
|
|
32
|
+
formattedSize: string;
|
|
33
|
+
fileObject: File;
|
|
34
|
+
thumbnailUrl: string | undefined;
|
|
35
|
+
errorMessage?: undefined;
|
|
36
|
+
} | {
|
|
37
|
+
id: string;
|
|
38
|
+
name: string;
|
|
39
|
+
size: number;
|
|
40
|
+
type: string;
|
|
41
|
+
progress: number;
|
|
42
|
+
status: "pending" | "uploading" | "success" | "error";
|
|
43
|
+
errorMessage: string | undefined;
|
|
44
|
+
formattedSize: string;
|
|
45
|
+
fileObject: File;
|
|
46
|
+
thumbnailUrl: string | undefined;
|
|
47
|
+
})[]>;
|
|
48
|
+
ngOnDestroy(): void;
|
|
49
|
+
onDelete(item: PreviewFileItem): void;
|
|
50
|
+
onDownload(item: PreviewFileItem): void;
|
|
51
|
+
getFileDetails(item: PreviewFileItem): {
|
|
52
|
+
label: string;
|
|
53
|
+
color: string;
|
|
54
|
+
icon: string;
|
|
55
|
+
};
|
|
56
|
+
private getObjectUrl;
|
|
57
|
+
private findOriginal;
|
|
58
|
+
private formatBytes;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilePreviewComponent, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilePreviewComponent, "ngx-file-preview", never, { "files": { "alias": "files"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "allowDelete": { "alias": "allowDelete"; "required": false; "isSignal": true; }; "allowDownload": { "alias": "allowDownload"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; }, { "delete": "delete"; "download": "download"; }, never, never, true, never>;
|
|
61
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface UploadFileItem {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
size: number;
|
|
6
|
+
type: string;
|
|
7
|
+
progress: number;
|
|
8
|
+
status: 'pending' | 'uploading' | 'success' | 'error';
|
|
9
|
+
errorMessage?: string;
|
|
10
|
+
formattedSize: string;
|
|
11
|
+
fileObject: File;
|
|
12
|
+
}
|
|
13
|
+
export declare class FileUploadComponent {
|
|
14
|
+
multiple: import("@angular/core").InputSignal<boolean>;
|
|
15
|
+
accept: import("@angular/core").InputSignal<string>;
|
|
16
|
+
maxSize: import("@angular/core").InputSignal<number>;
|
|
17
|
+
disabled: import("@angular/core").InputSignal<boolean>;
|
|
18
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
19
|
+
uploadUrl: import("@angular/core").InputSignal<string>;
|
|
20
|
+
filesSelected: import("@angular/core").OutputEmitterRef<File[]>;
|
|
21
|
+
fileRemoved: import("@angular/core").OutputEmitterRef<File>;
|
|
22
|
+
uploadProgress: import("@angular/core").OutputEmitterRef<{
|
|
23
|
+
file: File;
|
|
24
|
+
progress: number;
|
|
25
|
+
}>;
|
|
26
|
+
uploadComplete: import("@angular/core").OutputEmitterRef<{
|
|
27
|
+
file: File;
|
|
28
|
+
response: any;
|
|
29
|
+
}>;
|
|
30
|
+
uploadError: import("@angular/core").OutputEmitterRef<{
|
|
31
|
+
file: File;
|
|
32
|
+
error: any;
|
|
33
|
+
}>;
|
|
34
|
+
isDragOver: import("@angular/core").WritableSignal<boolean>;
|
|
35
|
+
fileQueue: import("@angular/core").WritableSignal<UploadFileItem[]>;
|
|
36
|
+
onDragOver(event: DragEvent): void;
|
|
37
|
+
onDragLeave(event: DragEvent): void;
|
|
38
|
+
onDrop(event: DragEvent): void;
|
|
39
|
+
onFileSelected(event: Event): void;
|
|
40
|
+
private handleFiles;
|
|
41
|
+
private validateFile;
|
|
42
|
+
private uploadFile;
|
|
43
|
+
retryUpload(item: UploadFileItem): void;
|
|
44
|
+
removeFile(item: UploadFileItem): void;
|
|
45
|
+
clearAll(): void;
|
|
46
|
+
private updateItemStatus;
|
|
47
|
+
getHelperText(): string;
|
|
48
|
+
private formatBytes;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ngx-file-upload", never, { "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "accept": { "alias": "accept"; "required": false; "isSignal": true; }; "maxSize": { "alias": "maxSize"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "uploadUrl": { "alias": "uploadUrl"; "required": false; "isSignal": true; }; }, { "filesSelected": "filesSelected"; "fileRemoved": "fileRemoved"; "uploadProgress": "uploadProgress"; "uploadComplete": "uploadComplete"; "uploadError": "uploadError"; }, never, never, true, never>;
|
|
51
|
+
}
|
package/inputs/public-api.d.ts
CHANGED
|
@@ -15,3 +15,10 @@ export { TextareaComponent } from './textarea/textarea.component';
|
|
|
15
15
|
export { ColorPickerComponent } from './color-picker/color-picker.component';
|
|
16
16
|
export { TimePickerComponent } from './time-picker/time-picker.component';
|
|
17
17
|
export { DateRangePickerComponent } from './date-range-picker/date-range-picker.component';
|
|
18
|
+
export { FileUploadComponent } from './file-upload/file-upload.component';
|
|
19
|
+
export type { UploadFileItem } from './file-upload/file-upload.component';
|
|
20
|
+
export { TagInputComponent } from './tag-input/tag-input.component';
|
|
21
|
+
export { FilePreviewComponent } from './file-preview/file-preview.component';
|
|
22
|
+
export type { PreviewFileItem } from './file-preview/file-preview.component';
|
|
23
|
+
export { SegmentedControlComponent } from './segmented-control/segmented-control.component';
|
|
24
|
+
export type { SegmentedOption } from './segmented-control/segmented-control.component';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface SegmentedOption {
|
|
3
|
+
label: string;
|
|
4
|
+
value: any;
|
|
5
|
+
badge?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class SegmentedControlComponent {
|
|
8
|
+
options: import("@angular/core").InputSignal<SegmentedOption[]>;
|
|
9
|
+
value: import("@angular/core").ModelSignal<any>;
|
|
10
|
+
disabled: import("@angular/core").InputSignal<boolean>;
|
|
11
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
12
|
+
variant: import("@angular/core").InputSignal<"success" | "default" | "primary" | "danger" | "warning" | "info">;
|
|
13
|
+
id: import("@angular/core").InputSignal<string>;
|
|
14
|
+
valueChange: import("@angular/core").OutputEmitterRef<any>;
|
|
15
|
+
selectedIndex: import("@angular/core").Signal<number>;
|
|
16
|
+
variantClass: import("@angular/core").Signal<"" | "success" | "default" | "primary" | "danger" | "warning" | "info">;
|
|
17
|
+
selectOption(val: any): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SegmentedControlComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SegmentedControlComponent, "ngx-segmented-control", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "valueChange": "valueChange"; }, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TagInputComponent {
|
|
3
|
+
tags: import("@angular/core").InputSignal<string[]>;
|
|
4
|
+
placeholder: import("@angular/core").InputSignal<string>;
|
|
5
|
+
maxTags: import("@angular/core").InputSignal<number>;
|
|
6
|
+
allowDuplicates: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
disabled: import("@angular/core").InputSignal<boolean>;
|
|
8
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
9
|
+
tagsChange: import("@angular/core").OutputEmitterRef<string[]>;
|
|
10
|
+
tagAdded: import("@angular/core").OutputEmitterRef<string>;
|
|
11
|
+
tagRemoved: import("@angular/core").OutputEmitterRef<string>;
|
|
12
|
+
internalTags: import("@angular/core").WritableSignal<string[]>;
|
|
13
|
+
isFocused: import("@angular/core").WritableSignal<boolean>;
|
|
14
|
+
inputValue: string;
|
|
15
|
+
isAtMax: import("@angular/core").Signal<boolean>;
|
|
16
|
+
/** Native input element reference (grabbed via ViewChild-less approach via the template variable). */
|
|
17
|
+
private _inputEl;
|
|
18
|
+
focusInput(): void;
|
|
19
|
+
onKeydown(event: KeyboardEvent): void;
|
|
20
|
+
onBlur(): void;
|
|
21
|
+
private commitTag;
|
|
22
|
+
removeTag(tag: string, event?: MouseEvent): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TagInputComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TagInputComponent, "ngx-tag-input", never, { "tags": { "alias": "tags"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "maxTags": { "alias": "maxTags"; "required": false; "isSignal": true; }; "allowDuplicates": { "alias": "allowDuplicates"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; }, { "tagsChange": "tagsChange"; "tagAdded": "tagAdded"; "tagRemoved": "tagRemoved"; }, never, never, true, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { OnInit, OnDestroy, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CarouselComponent implements OnInit, OnDestroy {
|
|
4
|
+
items: import("@angular/core").InputSignal<any[]>;
|
|
5
|
+
autoplay: import("@angular/core").InputSignal<boolean>;
|
|
6
|
+
interval: import("@angular/core").InputSignal<number>;
|
|
7
|
+
transition: import("@angular/core").InputSignal<"slide" | "fade">;
|
|
8
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
9
|
+
showIndicators: import("@angular/core").InputSignal<boolean>;
|
|
10
|
+
showControls: import("@angular/core").InputSignal<boolean>;
|
|
11
|
+
itemTemplate: import("@angular/core").InputSignal<TemplateRef<any> | null>;
|
|
12
|
+
id: import("@angular/core").InputSignal<string>;
|
|
13
|
+
slideChange: import("@angular/core").OutputEmitterRef<{
|
|
14
|
+
index: number;
|
|
15
|
+
item: any;
|
|
16
|
+
}>;
|
|
17
|
+
activeIndex: import("@angular/core").WritableSignal<number>;
|
|
18
|
+
lastActiveIndex: import("@angular/core").WritableSignal<number>;
|
|
19
|
+
navDirection: import("@angular/core").WritableSignal<"next" | "prev">;
|
|
20
|
+
constructor();
|
|
21
|
+
private autoplayTimer;
|
|
22
|
+
private touchStartX;
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
goToSlide(index: number): void;
|
|
26
|
+
nextSlide(): void;
|
|
27
|
+
prevSlide(): void;
|
|
28
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
29
|
+
onTouchStart(event: TouchEvent): void;
|
|
30
|
+
onTouchEnd(event: TouchEvent): void;
|
|
31
|
+
onMouseEnter(): void;
|
|
32
|
+
onMouseLeave(): void;
|
|
33
|
+
private startAutoplay;
|
|
34
|
+
private stopAutoplay;
|
|
35
|
+
private resetAutoplay;
|
|
36
|
+
getSlideClass(index: number): string;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "ngx-carousel", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "autoplay": { "alias": "autoplay"; "required": false; "isSignal": true; }; "interval": { "alias": "interval"; "required": false; "isSignal": true; }; "transition": { "alias": "transition"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "showIndicators": { "alias": "showIndicators"; "required": false; "isSignal": true; }; "showControls": { "alias": "showControls"; "required": false; "isSignal": true; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, { "slideChange": "slideChange"; }, never, never, true, never>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { DashboardItem, DashboardLayoutChangeEvent, DashboardPanelActionEvent } from './models';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DashboardLayoutComponent {
|
|
4
|
+
items: import("@angular/core").InputSignal<DashboardItem[]>;
|
|
5
|
+
columns: import("@angular/core").InputSignal<number>;
|
|
6
|
+
rowHeight: import("@angular/core").InputSignal<string>;
|
|
7
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
8
|
+
allowDragging: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
allowResizing: import("@angular/core").InputSignal<boolean>;
|
|
10
|
+
layoutChange: import("@angular/core").OutputEmitterRef<DashboardLayoutChangeEvent>;
|
|
11
|
+
panelAction: import("@angular/core").OutputEmitterRef<DashboardPanelActionEvent>;
|
|
12
|
+
itemsState: import("@angular/core").WritableSignal<DashboardItem[]>;
|
|
13
|
+
isDragging: import("@angular/core").WritableSignal<boolean>;
|
|
14
|
+
activeDraggingId: import("@angular/core").WritableSignal<string | null>;
|
|
15
|
+
dragPlaceholder: import("@angular/core").WritableSignal<{
|
|
16
|
+
col: number;
|
|
17
|
+
row: number;
|
|
18
|
+
colSpan: number;
|
|
19
|
+
rowSpan: number;
|
|
20
|
+
} | null>;
|
|
21
|
+
constructor();
|
|
22
|
+
hasMaximizedPanel: import("@angular/core").Signal<boolean>;
|
|
23
|
+
maxRows: import("@angular/core").Signal<number>;
|
|
24
|
+
bgCells: import("@angular/core").Signal<{
|
|
25
|
+
key: string;
|
|
26
|
+
col: number;
|
|
27
|
+
row: number;
|
|
28
|
+
}[]>;
|
|
29
|
+
getCategoryColor(cat?: string): string;
|
|
30
|
+
onDragStart(event: DragEvent, item: DashboardItem): void;
|
|
31
|
+
onDragEnd(): void;
|
|
32
|
+
onDragOverGrid(event: DragEvent): void;
|
|
33
|
+
onDragOverCell(event: DragEvent): void;
|
|
34
|
+
onDragEnterCell(event: DragEvent, col: number, row: number): void;
|
|
35
|
+
onDrop(event: DragEvent): void;
|
|
36
|
+
onResizeStart(event: MouseEvent, item: DashboardItem): void;
|
|
37
|
+
toggleCollapse(item: DashboardItem): void;
|
|
38
|
+
toggleMaximize(item: DashboardItem): void;
|
|
39
|
+
closePanel(item: DashboardItem): void;
|
|
40
|
+
emitPanelAction(item: DashboardItem, action: 'settings'): void;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardLayoutComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardLayoutComponent, "ngx-dashboard-layout", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "rowHeight": { "alias": "rowHeight"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "allowDragging": { "alias": "allowDragging"; "required": false; "isSignal": true; }; "allowResizing": { "alias": "allowResizing"; "required": false; "isSignal": true; }; }, { "layoutChange": "layoutChange"; "panelAction": "panelAction"; }, never, ["*"], true, never>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface DashboardItem {
|
|
2
|
+
id: string;
|
|
3
|
+
title: string;
|
|
4
|
+
row: number;
|
|
5
|
+
col: number;
|
|
6
|
+
rowSpan: number;
|
|
7
|
+
colSpan: number;
|
|
8
|
+
draggable?: boolean;
|
|
9
|
+
resizable?: boolean;
|
|
10
|
+
maximized?: boolean;
|
|
11
|
+
collapsed?: boolean;
|
|
12
|
+
category?: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
minColSpan?: number;
|
|
15
|
+
maxColSpan?: number;
|
|
16
|
+
minRowSpan?: number;
|
|
17
|
+
maxRowSpan?: number;
|
|
18
|
+
}
|
|
19
|
+
export interface DashboardLayoutChangeEvent {
|
|
20
|
+
items: DashboardItem[];
|
|
21
|
+
}
|
|
22
|
+
export interface DashboardPanelActionEvent {
|
|
23
|
+
panelId: string;
|
|
24
|
+
action: 'close' | 'minimize' | 'maximize' | 'restore' | 'settings';
|
|
25
|
+
item: DashboardItem;
|
|
26
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DrawerComponent implements OnDestroy {
|
|
4
|
+
isOpen: import("@angular/core").ModelSignal<boolean>;
|
|
5
|
+
position: import("@angular/core").InputSignal<"top" | "bottom" | "left" | "right">;
|
|
6
|
+
size: import("@angular/core").InputSignal<string>;
|
|
7
|
+
closeOnBackdrop: import("@angular/core").InputSignal<boolean>;
|
|
8
|
+
closeOnEscape: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
10
|
+
title: import("@angular/core").InputSignal<string>;
|
|
11
|
+
close: import("@angular/core").OutputEmitterRef<void>;
|
|
12
|
+
constructor();
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
isHorizontal: import("@angular/core").Signal<boolean>;
|
|
15
|
+
isVertical: import("@angular/core").Signal<boolean>;
|
|
16
|
+
closeDrawer(): void;
|
|
17
|
+
onBackdropClick(): void;
|
|
18
|
+
onEscapeKey(event: KeyboardEvent): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrawerComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DrawerComponent, "ngx-drawer", never, { "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "closeOnBackdrop": { "alias": "closeOnBackdrop"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; }, { "isOpen": "isOpenChange"; "close": "close"; }, never, ["[drawer-header]", "*", "[drawer-footer]"], true, never>;
|
|
21
|
+
}
|
package/layout/public-api.d.ts
CHANGED
|
@@ -6,3 +6,7 @@ export type { AccordionItem } from './accordion/accordion.component';
|
|
|
6
6
|
export { StepperComponent } from './stepper/stepper.component';
|
|
7
7
|
export type { StepperStep } from './stepper/stepper.component';
|
|
8
8
|
export { SplitterComponent } from './splitter/splitter.component';
|
|
9
|
+
export { DashboardLayoutComponent } from './dashboard-layout/dashboard-layout.component';
|
|
10
|
+
export type { DashboardItem, DashboardLayoutChangeEvent, DashboardPanelActionEvent, } from './dashboard-layout/models';
|
|
11
|
+
export { CarouselComponent } from './carousel/carousel.component';
|
|
12
|
+
export { DrawerComponent } from './drawer/drawer.component';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BackToTopComponent {
|
|
3
|
+
threshold: import("@angular/core").InputSignal<number>;
|
|
4
|
+
target: import("@angular/core").InputSignal<string | HTMLElement | null>;
|
|
5
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
6
|
+
showProgress: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
isVisible: import("@angular/core").WritableSignal<boolean>;
|
|
8
|
+
scrollPercent: import("@angular/core").WritableSignal<number>;
|
|
9
|
+
strokeDashoffset: import("@angular/core").Signal<number>;
|
|
10
|
+
constructor();
|
|
11
|
+
private checkScroll;
|
|
12
|
+
scrollToTop(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BackToTopComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BackToTopComponent, "ngx-back-to-top", never, { "threshold": { "alias": "threshold"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "showProgress": { "alias": "showProgress"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface CommandItem {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
desc?: string;
|
|
7
|
+
shortcut?: string;
|
|
8
|
+
icon?: string;
|
|
9
|
+
category?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class CommandPaletteComponent {
|
|
12
|
+
commands: import("@angular/core").InputSignal<CommandItem[]>;
|
|
13
|
+
placeholder: import("@angular/core").InputSignal<string>;
|
|
14
|
+
commandSelected: import("@angular/core").OutputEmitterRef<CommandItem>;
|
|
15
|
+
searchInput: ElementRef<HTMLInputElement>;
|
|
16
|
+
isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
17
|
+
filterQuery: import("@angular/core").WritableSignal<string>;
|
|
18
|
+
activeItem: import("@angular/core").WritableSignal<CommandItem | null>;
|
|
19
|
+
constructor();
|
|
20
|
+
filteredCommands: import("@angular/core").Signal<CommandItem[]>;
|
|
21
|
+
groupedResults: import("@angular/core").Signal<{
|
|
22
|
+
category: string;
|
|
23
|
+
items: CommandItem[];
|
|
24
|
+
}[]>;
|
|
25
|
+
flatResultsList: import("@angular/core").Signal<CommandItem[]>;
|
|
26
|
+
onSearchInput(event: Event): void;
|
|
27
|
+
openPalette(): void;
|
|
28
|
+
closePalette(): void;
|
|
29
|
+
toggleOpen(): void;
|
|
30
|
+
executeCommand(cmd: CommandItem): void;
|
|
31
|
+
handleKeyDown(event: KeyboardEvent): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommandPaletteComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CommandPaletteComponent, "ngx-command-palette", never, { "commands": { "alias": "commands"; "required": true; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; }, { "commandSelected": "commandSelected"; }, never, never, true, never>;
|
|
34
|
+
}
|
|
@@ -2,3 +2,6 @@ export { BreadcrumbComponent } from './breadcrumb/breadcrumb.component';
|
|
|
2
2
|
export type { BreadcrumbItem } from './breadcrumb/breadcrumb.component';
|
|
3
3
|
export { MenuComponent } from './menu/menu.component';
|
|
4
4
|
export type { MenuItem } from './menu/menu.component';
|
|
5
|
+
export { CommandPaletteComponent } from './command-palette/command-palette.component';
|
|
6
|
+
export type { CommandItem } from './command-palette/command-palette.component';
|
|
7
|
+
export { BackToTopComponent } from './back-to-top/back-to-top.component';
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -14,6 +14,16 @@ export { BarChartComponent } from 'ngx-core-components/charts';
|
|
|
14
14
|
export { LineChartComponent } from 'ngx-core-components/charts';
|
|
15
15
|
export { PieChartComponent } from 'ngx-core-components/charts';
|
|
16
16
|
export { SparklineComponent } from 'ngx-core-components/charts';
|
|
17
|
+
export { GaugeChartComponent } from 'ngx-core-components/charts';
|
|
18
|
+
export type { GaugeThreshold } from 'ngx-core-components/charts';
|
|
19
|
+
export { RadarChartComponent } from 'ngx-core-components/charts';
|
|
20
|
+
export type { RadarSeries } from 'ngx-core-components/charts';
|
|
21
|
+
export { HeatmapChartComponent } from 'ngx-core-components/charts';
|
|
22
|
+
export { TreemapChartComponent } from 'ngx-core-components/charts';
|
|
23
|
+
export type { TreemapItem } from 'ngx-core-components/charts';
|
|
24
|
+
export { AreaChartComponent } from 'ngx-core-components/charts';
|
|
25
|
+
export { FunnelChartComponent } from 'ngx-core-components/charts';
|
|
26
|
+
export type { FunnelItem } from 'ngx-core-components/charts';
|
|
17
27
|
export type { ChartSeries, ChartDataPoint } from 'ngx-core-components/charts';
|
|
18
28
|
export { CHART_COLORS } from 'ngx-core-components/charts';
|
|
19
29
|
export { GanttChartComponent } from 'ngx-core-components/charts';
|
|
@@ -27,18 +37,32 @@ export { TreeViewComponent } from 'ngx-core-components/views';
|
|
|
27
37
|
export type { TreeNode, TreeNodeEvent } from 'ngx-core-components/views';
|
|
28
38
|
export { ListViewComponent } from 'ngx-core-components/views';
|
|
29
39
|
export type { ListViewItemClickEvent, ListViewSelectionEvent, ListViewPageChangeEvent, } from 'ngx-core-components/views';
|
|
40
|
+
export { KanbanComponent } from 'ngx-core-components/views';
|
|
41
|
+
export type { KanbanCard, KanbanColumn } from 'ngx-core-components/views';
|
|
42
|
+
export { TimelineComponent } from 'ngx-core-components/views';
|
|
43
|
+
export type { TimelineItem } from 'ngx-core-components/views';
|
|
44
|
+
export { SchedulerComponent } from 'ngx-core-components/views';
|
|
45
|
+
export type { SchedulerEvent, SchedulerSlotClickEvent, SchedulerEventChangeEvent } from 'ngx-core-components/views';
|
|
46
|
+
export { VirtualListComponent } from 'ngx-core-components/views';
|
|
47
|
+
export type { VirtualListItem, VirtualListItemClickEvent } from 'ngx-core-components/views';
|
|
48
|
+
export { ImageCompareComponent } from 'ngx-core-components/views';
|
|
49
|
+
export { KeyValueListComponent } from 'ngx-core-components/views';
|
|
50
|
+
export type { KeyValueItem } from 'ngx-core-components/views';
|
|
30
51
|
export { DialogService } from 'ngx-core-components/dialog';
|
|
31
52
|
export type { DialogRef, DialogConfig } from 'ngx-core-components/dialog';
|
|
32
53
|
export { DialogContainerComponent } from 'ngx-core-components/dialog';
|
|
33
|
-
export { ButtonComponent, ButtonGroupComponent, ChipComponent, ChipListComponent, SplitButtonComponent, DropDownButtonComponent, } from 'ngx-core-components/buttons';
|
|
34
|
-
export type { ButtonVariant, ButtonSize, ButtonShape, ChipVariant, SplitButtonItem, DropDownButtonItem, } from 'ngx-core-components/buttons';
|
|
35
|
-
export { CardComponent, TabStripComponent, TabComponent, AccordionComponent, StepperComponent, SplitterComponent, } from 'ngx-core-components/layout';
|
|
36
|
-
export type { CardVariant, AccordionItem, StepperStep } from 'ngx-core-components/layout';
|
|
37
|
-
export { BadgeComponent, ProgressBarComponent, SkeletonComponent, NotificationService, NotificationContainerComponent, } from 'ngx-core-components/feedback';
|
|
38
|
-
export type { BadgeVariant, BadgePosition, ProgressVariant, SkeletonShape, NotificationOptions, NotificationType, NotificationPosition, } from 'ngx-core-components/feedback';
|
|
39
|
-
export { BreadcrumbComponent, MenuComponent } from 'ngx-core-components/navigation';
|
|
40
|
-
export type { BreadcrumbItem, MenuItem } from 'ngx-core-components/navigation';
|
|
41
|
-
export { SliderComponent, SwitchComponent, RatingComponent, NumericTextBoxComponent, TextareaComponent, ColorPickerComponent, TimePickerComponent, DateRangePickerComponent, } from 'ngx-core-components/inputs';
|
|
54
|
+
export { ButtonComponent, ButtonGroupComponent, ChipComponent, ChipListComponent, SplitButtonComponent, DropDownButtonComponent, SpeedDialComponent, } from 'ngx-core-components/buttons';
|
|
55
|
+
export type { ButtonVariant, ButtonSize, ButtonShape, ChipVariant, SplitButtonItem, DropDownButtonItem, SpeedDialItem, } from 'ngx-core-components/buttons';
|
|
56
|
+
export { CardComponent, TabStripComponent, TabComponent, AccordionComponent, StepperComponent, SplitterComponent, DashboardLayoutComponent, CarouselComponent, DrawerComponent, } from 'ngx-core-components/layout';
|
|
57
|
+
export type { CardVariant, AccordionItem, StepperStep, DashboardItem, DashboardLayoutChangeEvent, DashboardPanelActionEvent, } from 'ngx-core-components/layout';
|
|
58
|
+
export { BadgeComponent, ProgressBarComponent, SkeletonComponent, NotificationService, NotificationContainerComponent, AvatarComponent, AvatarGroupComponent, StatCardComponent, CountdownComponent, EmptyStateComponent, } from 'ngx-core-components/feedback';
|
|
59
|
+
export type { BadgeVariant, BadgePosition, ProgressVariant, SkeletonShape, NotificationOptions, NotificationType, NotificationPosition, AvatarSize, AvatarShape, AvatarStatus, AvatarItem, StatCardVariant, CountdownVariant, } from 'ngx-core-components/feedback';
|
|
60
|
+
export { BreadcrumbComponent, MenuComponent, CommandPaletteComponent, BackToTopComponent, } from 'ngx-core-components/navigation';
|
|
61
|
+
export type { BreadcrumbItem, MenuItem, CommandItem, } from 'ngx-core-components/navigation';
|
|
62
|
+
export { SliderComponent, SwitchComponent, RatingComponent, NumericTextBoxComponent, TextareaComponent, ColorPickerComponent, TimePickerComponent, DateRangePickerComponent, FileUploadComponent, TagInputComponent, FilePreviewComponent, SegmentedControlComponent, } from 'ngx-core-components/inputs';
|
|
63
|
+
export type { UploadFileItem, PreviewFileItem, SegmentedOption } from 'ngx-core-components/inputs';
|
|
42
64
|
export { QrCodeComponent, BarcodeComponent } from 'ngx-core-components/barcodes';
|
|
43
65
|
export { AIChatComponent } from 'ngx-core-components/ai';
|
|
44
66
|
export type { AIMessage, AgentStep, AICard, AICardAction, QuickReply, } from 'ngx-core-components/ai';
|
|
67
|
+
export { AIChatWidgetComponent } from 'ngx-core-components/ai';
|
|
68
|
+
export { AIPromptEditorComponent } from 'ngx-core-components/ai';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ImageCompareComponent implements OnInit {
|
|
4
|
+
beforeImage: import("@angular/core").InputSignal<string>;
|
|
5
|
+
afterImage: import("@angular/core").InputSignal<string>;
|
|
6
|
+
beforeLabel: import("@angular/core").InputSignal<string>;
|
|
7
|
+
afterLabel: import("@angular/core").InputSignal<string>;
|
|
8
|
+
startOffset: import("@angular/core").InputSignal<number>;
|
|
9
|
+
orientation: import("@angular/core").InputSignal<"vertical" | "horizontal">;
|
|
10
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
11
|
+
id: import("@angular/core").InputSignal<string>;
|
|
12
|
+
sliderPos: import("@angular/core").WritableSignal<number>;
|
|
13
|
+
isDragging: import("@angular/core").WritableSignal<boolean>;
|
|
14
|
+
clipPathStyle: import("@angular/core").Signal<string>;
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
onDragStart(event: MouseEvent): void;
|
|
17
|
+
onTouchStart(event: TouchEvent): void;
|
|
18
|
+
onMouseMove(event: MouseEvent): void;
|
|
19
|
+
onTouchMove(event: TouchEvent): void;
|
|
20
|
+
onDragEnd(): void;
|
|
21
|
+
private updatePositionFromEvent;
|
|
22
|
+
private updateSliderPosition;
|
|
23
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageCompareComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageCompareComponent, "ngx-image-compare", never, { "beforeImage": { "alias": "beforeImage"; "required": true; "isSignal": true; }; "afterImage": { "alias": "afterImage"; "required": true; "isSignal": true; }; "beforeLabel": { "alias": "beforeLabel"; "required": false; "isSignal": true; }; "afterLabel": { "alias": "afterLabel"; "required": false; "isSignal": true; }; "startOffset": { "alias": "startOffset"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { KanbanCard, KanbanColumn } from './models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class KanbanComponent {
|
|
5
|
+
columns: import("@angular/core").InputSignal<KanbanColumn[]>;
|
|
6
|
+
cards: import("@angular/core").InputSignal<KanbanCard[]>;
|
|
7
|
+
cardMoved: import("@angular/core").OutputEmitterRef<{
|
|
8
|
+
cardId: string;
|
|
9
|
+
fromColumnId: string;
|
|
10
|
+
toColumnId: string;
|
|
11
|
+
}>;
|
|
12
|
+
cardClicked: import("@angular/core").OutputEmitterRef<KanbanCard>;
|
|
13
|
+
cardAdded: import("@angular/core").OutputEmitterRef<{
|
|
14
|
+
columnId: string;
|
|
15
|
+
title: string;
|
|
16
|
+
}>;
|
|
17
|
+
cardDeleted: import("@angular/core").OutputEmitterRef<string>;
|
|
18
|
+
cardsState: import("@angular/core").WritableSignal<KanbanCard[]>;
|
|
19
|
+
columnAddStates: import("@angular/core").WritableSignal<Record<string, boolean>>;
|
|
20
|
+
newCardTitles: import("@angular/core").WritableSignal<Record<string, string>>;
|
|
21
|
+
activeDraggingCardId: import("@angular/core").WritableSignal<string | null>;
|
|
22
|
+
activeDragColumnId: import("@angular/core").WritableSignal<string | null>;
|
|
23
|
+
titleInput?: ElementRef<HTMLInputElement>;
|
|
24
|
+
constructor();
|
|
25
|
+
getCardsForColumn(columnId: string): KanbanCard[];
|
|
26
|
+
onDragStart(event: DragEvent, card: KanbanCard): void;
|
|
27
|
+
onDragEnd(): void;
|
|
28
|
+
onDragOver(event: DragEvent): void;
|
|
29
|
+
onDragEnter(event: DragEvent, columnId: string): void;
|
|
30
|
+
onDragLeave(event: DragEvent, columnId: string): void;
|
|
31
|
+
onDrop(event: DragEvent, targetColumnId: string): void;
|
|
32
|
+
onCardClick(card: KanbanCard): void;
|
|
33
|
+
toggleAddInput(columnId: string): void;
|
|
34
|
+
updateNewTitle(columnId: string, value: string): void;
|
|
35
|
+
addCard(columnId: string): void;
|
|
36
|
+
deleteCard(event: MouseEvent, cardId: string): void;
|
|
37
|
+
isOverdue(dueDate: Date): boolean;
|
|
38
|
+
formatDueDate(date: Date): string;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KanbanComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KanbanComponent, "ngx-kanban", never, { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "cards": { "alias": "cards"; "required": false; "isSignal": true; }; }, { "cardMoved": "cardMoved"; "cardClicked": "cardClicked"; "cardAdded": "cardAdded"; "cardDeleted": "cardDeleted"; }, never, never, true, never>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface KanbanCard {
|
|
2
|
+
id: string;
|
|
3
|
+
title: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
columnId: string;
|
|
6
|
+
priority?: 'low' | 'medium' | 'high';
|
|
7
|
+
tags?: string[];
|
|
8
|
+
assignee?: {
|
|
9
|
+
name: string;
|
|
10
|
+
avatarUrl?: string;
|
|
11
|
+
initials: string;
|
|
12
|
+
};
|
|
13
|
+
dueDate?: Date;
|
|
14
|
+
}
|
|
15
|
+
export interface KanbanColumn {
|
|
16
|
+
id: string;
|
|
17
|
+
title: string;
|
|
18
|
+
color?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface KeyValueItem {
|
|
3
|
+
key: string;
|
|
4
|
+
value: any;
|
|
5
|
+
label: string;
|
|
6
|
+
group?: string;
|
|
7
|
+
type?: 'text' | 'badge' | 'code';
|
|
8
|
+
badgeVariant?: 'default' | 'success' | 'danger' | 'warning' | 'info';
|
|
9
|
+
copyable?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare class KeyValueListComponent {
|
|
12
|
+
items: import("@angular/core").InputSignal<KeyValueItem[]>;
|
|
13
|
+
layout: import("@angular/core").InputSignal<"vertical" | "horizontal">;
|
|
14
|
+
striped: import("@angular/core").InputSignal<boolean>;
|
|
15
|
+
searchable: import("@angular/core").InputSignal<boolean>;
|
|
16
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
17
|
+
id: import("@angular/core").InputSignal<string>;
|
|
18
|
+
valueClick: import("@angular/core").OutputEmitterRef<{
|
|
19
|
+
key: string;
|
|
20
|
+
value: any;
|
|
21
|
+
}>;
|
|
22
|
+
searchTerm: import("@angular/core").WritableSignal<string>;
|
|
23
|
+
copiedKey: import("@angular/core").WritableSignal<string | null>;
|
|
24
|
+
collapsedGroups: import("@angular/core").WritableSignal<Set<string>>;
|
|
25
|
+
filteredItems: import("@angular/core").Signal<KeyValueItem[]>;
|
|
26
|
+
groupedFilteredItems: import("@angular/core").Signal<{
|
|
27
|
+
[key: string]: KeyValueItem[];
|
|
28
|
+
}>;
|
|
29
|
+
groupKeys: import("@angular/core").Signal<string[]>;
|
|
30
|
+
toggleGroup(group: string): void;
|
|
31
|
+
isGroupExpanded(group: string): boolean;
|
|
32
|
+
copyValue(val: any, key: string, event: MouseEvent): void;
|
|
33
|
+
onRowClick(item: KeyValueItem): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KeyValueListComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KeyValueListComponent, "ngx-key-value-list", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "striped": { "alias": "striped"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, { "valueClick": "valueClick"; }, never, never, true, never>;
|
|
36
|
+
}
|
package/views/public-api.d.ts
CHANGED
|
@@ -2,3 +2,14 @@ export { TreeViewComponent } from './tree-view/tree-view.component';
|
|
|
2
2
|
export type { TreeNode, TreeNodeEvent } from './tree-view/tree-view.component';
|
|
3
3
|
export { ListViewComponent } from './list-view/list-view.component';
|
|
4
4
|
export type { ListViewItemClickEvent, ListViewSelectionEvent, ListViewPageChangeEvent, } from './list-view/list-view.component';
|
|
5
|
+
export { KanbanComponent } from './kanban/kanban.component';
|
|
6
|
+
export type { KanbanCard, KanbanColumn } from './kanban/models';
|
|
7
|
+
export { TimelineComponent } from './timeline/timeline.component';
|
|
8
|
+
export type { TimelineItem } from './timeline/timeline.component';
|
|
9
|
+
export { SchedulerComponent } from './scheduler/scheduler.component';
|
|
10
|
+
export type { SchedulerEvent, SchedulerSlotClickEvent, SchedulerEventChangeEvent } from './scheduler/models';
|
|
11
|
+
export { VirtualListComponent } from './virtual-list/virtual-list.component';
|
|
12
|
+
export type { VirtualListItem, VirtualListItemClickEvent } from './virtual-list/virtual-list.component';
|
|
13
|
+
export { ImageCompareComponent } from './image-compare/image-compare.component';
|
|
14
|
+
export { KeyValueListComponent } from './key-value-list/key-value-list.component';
|
|
15
|
+
export type { KeyValueItem } from './key-value-list/key-value-list.component';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface SchedulerEvent {
|
|
2
|
+
id: string;
|
|
3
|
+
title: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
start: Date;
|
|
6
|
+
end: Date;
|
|
7
|
+
category?: 'meeting' | 'task' | 'milestone' | 'personal' | 'important';
|
|
8
|
+
color?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface SchedulerSlotClickEvent {
|
|
11
|
+
date: Date;
|
|
12
|
+
hour: number;
|
|
13
|
+
}
|
|
14
|
+
export interface SchedulerEventChangeEvent {
|
|
15
|
+
event: SchedulerEvent;
|
|
16
|
+
start: Date;
|
|
17
|
+
end: Date;
|
|
18
|
+
}
|