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,28 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type AIAudioState = 'idle' | 'listening' | 'thinking' | 'speaking';
|
|
3
|
+
export declare class AIAudioWaveComponent {
|
|
4
|
+
state: import("@angular/core").InputSignal<AIAudioState>;
|
|
5
|
+
color: import("@angular/core").InputSignal<string>;
|
|
6
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
7
|
+
muted: import("@angular/core").InputSignal<boolean>;
|
|
8
|
+
stateChange: import("@angular/core").OutputEmitterRef<AIAudioState>;
|
|
9
|
+
mutedChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
10
|
+
micToggle: import("@angular/core").OutputEmitterRef<boolean>;
|
|
11
|
+
micEnabled: import("@angular/core").WritableSignal<boolean>;
|
|
12
|
+
localMuted: import("@angular/core").WritableSignal<boolean>;
|
|
13
|
+
speedMultiplier: import("@angular/core").WritableSignal<number>;
|
|
14
|
+
bars: {
|
|
15
|
+
height: number;
|
|
16
|
+
delay: string;
|
|
17
|
+
}[];
|
|
18
|
+
isMuted: import("@angular/core").Signal<boolean>;
|
|
19
|
+
stateLabel: import("@angular/core").Signal<"Listening..." | "Thinking..." | "Speaking..." | "Assistant Idle">;
|
|
20
|
+
volumePercent: import("@angular/core").Signal<0 | 5 | 45 | 12 | 78>;
|
|
21
|
+
barDuration: import("@angular/core").Signal<string>;
|
|
22
|
+
barColor: import("@angular/core").Signal<string>;
|
|
23
|
+
onSpeedChange(event: Event): void;
|
|
24
|
+
toggleMic(): void;
|
|
25
|
+
toggleMute(): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIAudioWaveComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIAudioWaveComponent, "ngx-ai-audio-wave", never, { "state": { "alias": "state"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "muted": { "alias": "muted"; "required": false; "isSignal": true; }; }, { "stateChange": "stateChange"; "mutedChange": "mutedChange"; "micToggle": "micToggle"; }, never, never, true, never>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface WidgetMessage {
|
|
4
|
+
sender: 'user' | 'assistant';
|
|
5
|
+
text: string;
|
|
6
|
+
timestamp: Date;
|
|
7
|
+
}
|
|
8
|
+
export declare class AIChatWidgetComponent {
|
|
9
|
+
agentName: import("@angular/core").InputSignal<string>;
|
|
10
|
+
icon: import("@angular/core").InputSignal<string>;
|
|
11
|
+
placeholder: import("@angular/core").InputSignal<string>;
|
|
12
|
+
welcomeMessage: import("@angular/core").InputSignal<string>;
|
|
13
|
+
quickReplies: import("@angular/core").InputSignal<string[]>;
|
|
14
|
+
messageSent: import("@angular/core").OutputEmitterRef<string>;
|
|
15
|
+
isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
16
|
+
messages: import("@angular/core").WritableSignal<WidgetMessage[]>;
|
|
17
|
+
scrollContainer: ElementRef<HTMLDivElement>;
|
|
18
|
+
toggleOpen(): void;
|
|
19
|
+
closeOpen(): void;
|
|
20
|
+
sendMessage(text: string): void;
|
|
21
|
+
selectReply(reply: string): void;
|
|
22
|
+
addAssistantReply(text: string): void;
|
|
23
|
+
private scrollToBottom;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIChatWidgetComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIChatWidgetComponent, "ngx-ai-chat-widget", never, { "agentName": { "alias": "agentName"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "welcomeMessage": { "alias": "welcomeMessage"; "required": false; "isSignal": true; }; "quickReplies": { "alias": "quickReplies"; "required": false; "isSignal": true; }; }, { "messageSent": "messageSent"; }, never, never, true, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class AICodeEditorComponent {
|
|
3
|
+
code: import("@angular/core").InputSignal<string>;
|
|
4
|
+
suggestion: import("@angular/core").InputSignal<string>;
|
|
5
|
+
language: import("@angular/core").InputSignal<string>;
|
|
6
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
7
|
+
disabled: import("@angular/core").InputSignal<boolean>;
|
|
8
|
+
explanation: import("@angular/core").InputSignal<string>;
|
|
9
|
+
codeChange: import("@angular/core").OutputEmitterRef<string>;
|
|
10
|
+
acceptSuggestion: import("@angular/core").OutputEmitterRef<void>;
|
|
11
|
+
declineSuggestion: import("@angular/core").OutputEmitterRef<void>;
|
|
12
|
+
regenerate: import("@angular/core").OutputEmitterRef<void>;
|
|
13
|
+
isFocused: import("@angular/core").WritableSignal<boolean>;
|
|
14
|
+
suggestionAccepted: import("@angular/core").WritableSignal<boolean>;
|
|
15
|
+
showExplanation: import("@angular/core").WritableSignal<boolean>;
|
|
16
|
+
copyText: import("@angular/core").WritableSignal<string>;
|
|
17
|
+
copyTooltip: import("@angular/core").WritableSignal<string>;
|
|
18
|
+
lines: () => string[];
|
|
19
|
+
editorInput: any;
|
|
20
|
+
focusTextarea(): void;
|
|
21
|
+
onCodeChange(newVal: string): void;
|
|
22
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
23
|
+
accept(): void;
|
|
24
|
+
decline(): void;
|
|
25
|
+
triggerRegenerate(): void;
|
|
26
|
+
explainSuggestedCode(): void;
|
|
27
|
+
copyCode(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AICodeEditorComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AICodeEditorComponent, "ngx-ai-code-editor", never, { "code": { "alias": "code"; "required": false; "isSignal": true; }; "suggestion": { "alias": "suggestion"; "required": false; "isSignal": true; }; "language": { "alias": "language"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "explanation": { "alias": "explanation"; "required": false; "isSignal": true; }; }, { "codeChange": "codeChange"; "acceptSuggestion": "acceptSuggestion"; "declineSuggestion": "declineSuggestion"; "regenerate": "regenerate"; }, never, never, true, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface AIModel {
|
|
3
|
+
name: string;
|
|
4
|
+
provider: string;
|
|
5
|
+
parameters: string;
|
|
6
|
+
contextWindow: string;
|
|
7
|
+
pricingInput: number;
|
|
8
|
+
pricingOutput: number;
|
|
9
|
+
avgLatency: number;
|
|
10
|
+
capabilities: ('text' | 'code' | 'vision' | 'audio')[];
|
|
11
|
+
rating: number;
|
|
12
|
+
status: 'stable' | 'beta' | 'deprecated';
|
|
13
|
+
recommended?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare class AIModelCompareComponent {
|
|
16
|
+
models: import("@angular/core").InputSignal<AIModel[]>;
|
|
17
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
18
|
+
modelSelected: import("@angular/core").OutputEmitterRef<AIModel>;
|
|
19
|
+
searchQuery: import("@angular/core").WritableSignal<string>;
|
|
20
|
+
activeTag: import("@angular/core").WritableSignal<string>;
|
|
21
|
+
selectedModel: import("@angular/core").WritableSignal<AIModel | null>;
|
|
22
|
+
tags: {
|
|
23
|
+
label: string;
|
|
24
|
+
value: string;
|
|
25
|
+
}[];
|
|
26
|
+
getLatencyPercentage(val: number): number;
|
|
27
|
+
filteredModels: import("@angular/core").Signal<AIModel[]>;
|
|
28
|
+
selectModel(model: AIModel): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIModelCompareComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIModelCompareComponent, "ngx-ai-model-compare", never, { "models": { "alias": "models"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; }, { "modelSelected": "modelSelected"; }, never, never, true, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class AIPromptEditorComponent {
|
|
3
|
+
initialTemplate: import("@angular/core").InputSignal<string>;
|
|
4
|
+
initialSystem: import("@angular/core").InputSignal<string>;
|
|
5
|
+
systemPrompt: string;
|
|
6
|
+
templateText: import("@angular/core").WritableSignal<string>;
|
|
7
|
+
temperature: import("@angular/core").WritableSignal<number>;
|
|
8
|
+
maxTokens: number;
|
|
9
|
+
varValues: import("@angular/core").WritableSignal<Record<string, string>>;
|
|
10
|
+
isRunning: import("@angular/core").WritableSignal<boolean>;
|
|
11
|
+
simulatedResponse: import("@angular/core").WritableSignal<string>;
|
|
12
|
+
constructor();
|
|
13
|
+
parsedVariables: import("@angular/core").Signal<string[]>;
|
|
14
|
+
compiledPrompt: import("@angular/core").Signal<string>;
|
|
15
|
+
onTemplateChange(text: string): void;
|
|
16
|
+
onTempChange(event: Event): void;
|
|
17
|
+
getVarValue(vName: string): string;
|
|
18
|
+
setVarValue(vName: string, event: Event): void;
|
|
19
|
+
triggerRun(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptEditorComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIPromptEditorComponent, "ngx-ai-prompt-editor", never, { "initialTemplate": { "alias": "initialTemplate"; "required": false; "isSignal": true; }; "initialSystem": { "alias": "initialSystem"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
22
|
+
}
|
package/ai/public-api.d.ts
CHANGED
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
export { AIChatComponent } from './ai-chat/ai-chat.component';
|
|
2
2
|
export type { AIMessage, AgentStep, AICard, AICardAction, QuickReply, } from './ai-chat/models';
|
|
3
|
+
export { AIChatWidgetComponent } from './ai-chat-widget/ai-chat-widget.component';
|
|
4
|
+
export { AIPromptEditorComponent } from './ai-prompt-editor/ai-prompt-editor.component';
|
|
5
|
+
export { AICodeEditorComponent } from './ai-code-editor/ai-code-editor.component';
|
|
6
|
+
export { AIAudioWaveComponent } from './ai-audio-wave/ai-audio-wave.component';
|
|
7
|
+
export type { AIAudioState } from './ai-audio-wave/ai-audio-wave.component';
|
|
8
|
+
export { AIModelCompareComponent } from './ai-model-compare/ai-model-compare.component';
|
|
9
|
+
export type { AIModel } from './ai-model-compare/ai-model-compare.component';
|
package/buttons/public-api.d.ts
CHANGED
|
@@ -7,3 +7,5 @@ export { SplitButtonComponent } from './split-button/split-button.component';
|
|
|
7
7
|
export type { SplitButtonItem } from './split-button/split-button.component';
|
|
8
8
|
export { DropDownButtonComponent } from './dropdown-button/dropdown-button.component';
|
|
9
9
|
export type { DropDownButtonItem } from './dropdown-button/dropdown-button.component';
|
|
10
|
+
export { SpeedDialComponent } from './speed-dial/speed-dial.component';
|
|
11
|
+
export type { SpeedDialItem } from './speed-dial/speed-dial.component';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface SpeedDialItem {
|
|
3
|
+
icon: string;
|
|
4
|
+
label: string;
|
|
5
|
+
id: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare class SpeedDialComponent {
|
|
9
|
+
items: import("@angular/core").InputSignal<SpeedDialItem[]>;
|
|
10
|
+
icon: import("@angular/core").InputSignal<string>;
|
|
11
|
+
activeIcon: import("@angular/core").InputSignal<string>;
|
|
12
|
+
direction: import("@angular/core").InputSignal<"top" | "bottom" | "left" | "right">;
|
|
13
|
+
theme: import("@angular/core").InputSignal<"primary" | "secondary" | "accent" | "dark">;
|
|
14
|
+
showLabels: import("@angular/core").InputSignal<boolean>;
|
|
15
|
+
closeOnSelect: import("@angular/core").InputSignal<boolean>;
|
|
16
|
+
collapseOnLeaveMouse: import("@angular/core").InputSignal<boolean>;
|
|
17
|
+
itemClick: import("@angular/core").OutputEmitterRef<SpeedDialItem>;
|
|
18
|
+
isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
19
|
+
toggleOpen(): void;
|
|
20
|
+
collapseOnLeave(): void;
|
|
21
|
+
onItemClick(item: SpeedDialItem): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpeedDialComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpeedDialComponent, "ngx-speed-dial", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "activeIcon": { "alias": "activeIcon"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; "isSignal": true; }; "collapseOnLeaveMouse": { "alias": "collapseOnLeaveMouse"; "required": false; "isSignal": true; }; }, { "itemClick": "itemClick"; }, never, never, true, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ChartSeries, fmtNum } from '../shared/chart-utils';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AreaChartComponent {
|
|
4
|
+
readonly PAD_LEFT = 48;
|
|
5
|
+
readonly PAD_TOP = 12;
|
|
6
|
+
readonly PAD_RIGHT = 16;
|
|
7
|
+
readonly PAD_BOTTOM = 32;
|
|
8
|
+
series: import("@angular/core").InputSignal<ChartSeries[]>;
|
|
9
|
+
categories: import("@angular/core").InputSignal<string[]>;
|
|
10
|
+
height: import("@angular/core").InputSignal<number>;
|
|
11
|
+
showGrid: import("@angular/core").InputSignal<boolean>;
|
|
12
|
+
showMarkers: import("@angular/core").InputSignal<boolean>;
|
|
13
|
+
showLegend: import("@angular/core").InputSignal<boolean>;
|
|
14
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
15
|
+
crosshair: import("@angular/core").WritableSignal<{
|
|
16
|
+
x: number;
|
|
17
|
+
} | null>;
|
|
18
|
+
tooltip: import("@angular/core").WritableSignal<{
|
|
19
|
+
x: number;
|
|
20
|
+
y: number;
|
|
21
|
+
cat: string;
|
|
22
|
+
rows: {
|
|
23
|
+
name: string;
|
|
24
|
+
value: number;
|
|
25
|
+
color: string;
|
|
26
|
+
}[];
|
|
27
|
+
} | null>;
|
|
28
|
+
innerW: import("@angular/core").Signal<number>;
|
|
29
|
+
innerH: import("@angular/core").Signal<number>;
|
|
30
|
+
private allValues;
|
|
31
|
+
private yMin;
|
|
32
|
+
private yMax;
|
|
33
|
+
yTicks: import("@angular/core").Signal<number[]>;
|
|
34
|
+
yPos(v: number): number;
|
|
35
|
+
xPos(i: number): number;
|
|
36
|
+
seriesColor(i: number, s: ChartSeries): string;
|
|
37
|
+
linePath(s: ChartSeries): string;
|
|
38
|
+
areaPath(s: ChartSeries): string;
|
|
39
|
+
onMouseMove(event: MouseEvent): void;
|
|
40
|
+
readonly fmtNum: typeof fmtNum;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AreaChartComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AreaChartComponent, "ngx-area-chart", never, { "series": { "alias": "series"; "required": false; "isSignal": true; }; "categories": { "alias": "categories"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "showMarkers": { "alias": "showMarkers"; "required": false; "isSignal": true; }; "showLegend": { "alias": "showLegend"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { fmtNum } from '../shared/chart-utils';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface FunnelItem {
|
|
4
|
+
name: string;
|
|
5
|
+
value: number;
|
|
6
|
+
color?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class FunnelChartComponent {
|
|
9
|
+
data: import("@angular/core").InputSignal<FunnelItem[]>;
|
|
10
|
+
height: import("@angular/core").InputSignal<number>;
|
|
11
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
12
|
+
hoveredIndex: import("@angular/core").WritableSignal<number | null>;
|
|
13
|
+
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
14
|
+
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
15
|
+
funnelStages: import("@angular/core").Signal<{
|
|
16
|
+
name: string;
|
|
17
|
+
value: number;
|
|
18
|
+
points: string;
|
|
19
|
+
color: string;
|
|
20
|
+
yCenter: number;
|
|
21
|
+
}[]>;
|
|
22
|
+
onMouseMove(event: MouseEvent, index: number): void;
|
|
23
|
+
readonly fmtNum: typeof fmtNum;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FunnelChartComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FunnelChartComponent, "ngx-funnel-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface GaugeThreshold {
|
|
3
|
+
value: number;
|
|
4
|
+
color: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class GaugeChartComponent {
|
|
7
|
+
value: import("@angular/core").InputSignal<number>;
|
|
8
|
+
min: import("@angular/core").InputSignal<number>;
|
|
9
|
+
max: import("@angular/core").InputSignal<number>;
|
|
10
|
+
label: import("@angular/core").InputSignal<string>;
|
|
11
|
+
type: import("@angular/core").InputSignal<"full" | "semi">;
|
|
12
|
+
showNeedle: import("@angular/core").InputSignal<boolean>;
|
|
13
|
+
color: import("@angular/core").InputSignal<string>;
|
|
14
|
+
thresholds: import("@angular/core").InputSignal<GaugeThreshold[]>;
|
|
15
|
+
startAngle: import("@angular/core").Signal<180 | 135>;
|
|
16
|
+
endAngle: import("@angular/core").Signal<360 | 405>;
|
|
17
|
+
backgroundArcPath: import("@angular/core").Signal<string>;
|
|
18
|
+
progressArcPath: import("@angular/core").Signal<string>;
|
|
19
|
+
needleTransformString: import("@angular/core").Signal<string>;
|
|
20
|
+
gaugeColor: import("@angular/core").Signal<string>;
|
|
21
|
+
private polarToCartesian;
|
|
22
|
+
private describeArc;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GaugeChartComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GaugeChartComponent, "ngx-gauge-chart", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "showNeedle": { "alias": "showNeedle"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "thresholds": { "alias": "thresholds"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class HeatmapChartComponent {
|
|
3
|
+
data: import("@angular/core").InputSignal<number[][]>;
|
|
4
|
+
xAxisLabels: import("@angular/core").InputSignal<string[]>;
|
|
5
|
+
yAxisLabels: import("@angular/core").InputSignal<string[]>;
|
|
6
|
+
colorRange: import("@angular/core").InputSignal<string[]>;
|
|
7
|
+
cellClick: import("@angular/core").OutputEmitterRef<{
|
|
8
|
+
row: number;
|
|
9
|
+
col: number;
|
|
10
|
+
value: number;
|
|
11
|
+
}>;
|
|
12
|
+
leftOffset: number;
|
|
13
|
+
topOffset: number;
|
|
14
|
+
cellSpacing: number;
|
|
15
|
+
tooltip: import("@angular/core").WritableSignal<{
|
|
16
|
+
show: boolean;
|
|
17
|
+
title: string;
|
|
18
|
+
value: string;
|
|
19
|
+
x: number;
|
|
20
|
+
y: number;
|
|
21
|
+
}>;
|
|
22
|
+
cellWidth: import("@angular/core").Signal<number>;
|
|
23
|
+
cellHeight: import("@angular/core").Signal<number>;
|
|
24
|
+
viewBoxString: import("@angular/core").Signal<string>;
|
|
25
|
+
getColX(colIdx: number): number;
|
|
26
|
+
getRowY(rowIdx: number): number;
|
|
27
|
+
getCellColor(val: number): string;
|
|
28
|
+
private interpolateColor;
|
|
29
|
+
onCellEnter(rIdx: number, cIdx: number, val: number, event: MouseEvent): void;
|
|
30
|
+
onCellLeave(): void;
|
|
31
|
+
onCellClick(rIdx: number, cIdx: number, val: number): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeatmapChartComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeatmapChartComponent, "ngx-heatmap-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "xAxisLabels": { "alias": "xAxisLabels"; "required": false; "isSignal": true; }; "yAxisLabels": { "alias": "yAxisLabels"; "required": false; "isSignal": true; }; "colorRange": { "alias": "colorRange"; "required": false; "isSignal": true; }; }, { "cellClick": "cellClick"; }, never, never, true, never>;
|
|
34
|
+
}
|
package/charts/public-api.d.ts
CHANGED
|
@@ -10,3 +10,13 @@ export { GanttScaleService } from './gantt-chart/services/gantt-scale.service';
|
|
|
10
10
|
export { GanttPrintService } from './gantt-chart/services/gantt-print.service';
|
|
11
11
|
export type { FlatRow } from './gantt-chart/services/gantt-layout.service';
|
|
12
12
|
export * from './gantt-chart/utils/date-utils';
|
|
13
|
+
export { GaugeChartComponent } from './gauge-chart/gauge-chart.component';
|
|
14
|
+
export type { GaugeThreshold } from './gauge-chart/gauge-chart.component';
|
|
15
|
+
export { RadarChartComponent } from './radar-chart/radar-chart.component';
|
|
16
|
+
export type { RadarSeries } from './radar-chart/radar-chart.component';
|
|
17
|
+
export { HeatmapChartComponent } from './heatmap-chart/heatmap-chart.component';
|
|
18
|
+
export { TreemapChartComponent } from './treemap-chart/treemap-chart.component';
|
|
19
|
+
export type { TreemapItem } from './treemap-chart/treemap-chart.component';
|
|
20
|
+
export { AreaChartComponent } from './area-chart/area-chart.component';
|
|
21
|
+
export { FunnelChartComponent } from './funnel-chart/funnel-chart.component';
|
|
22
|
+
export type { FunnelItem } from './funnel-chart/funnel-chart.component';
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface RadarSeries {
|
|
3
|
+
label: string;
|
|
4
|
+
values: number[];
|
|
5
|
+
}
|
|
6
|
+
export declare class RadarChartComponent {
|
|
7
|
+
seriesData: import("@angular/core").InputSignal<RadarSeries[]>;
|
|
8
|
+
categories: import("@angular/core").InputSignal<string[]>;
|
|
9
|
+
max: import("@angular/core").InputSignal<number>;
|
|
10
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
11
|
+
hoveredSeries: import("@angular/core").WritableSignal<string | null>;
|
|
12
|
+
hoveredPoint: import("@angular/core").WritableSignal<{
|
|
13
|
+
seriesLabel: string;
|
|
14
|
+
index: number;
|
|
15
|
+
} | null>;
|
|
16
|
+
tooltip: import("@angular/core").WritableSignal<{
|
|
17
|
+
show: boolean;
|
|
18
|
+
series: string;
|
|
19
|
+
category: string;
|
|
20
|
+
value: string;
|
|
21
|
+
x: number;
|
|
22
|
+
y: number;
|
|
23
|
+
}>;
|
|
24
|
+
gridRings: import("@angular/core").WritableSignal<number[]>;
|
|
25
|
+
centerX: number;
|
|
26
|
+
centerY: number;
|
|
27
|
+
maxRadius: number;
|
|
28
|
+
axes: import("@angular/core").Signal<{
|
|
29
|
+
x: number;
|
|
30
|
+
y: number;
|
|
31
|
+
labelX: number;
|
|
32
|
+
labelY: number;
|
|
33
|
+
align: "end" | "start" | "middle";
|
|
34
|
+
}[]>;
|
|
35
|
+
getRingPoints(ringFraction: number): string;
|
|
36
|
+
getSeriesPoints(series: RadarSeries): string;
|
|
37
|
+
getSeriesPointList(series: RadarSeries): Array<{
|
|
38
|
+
x: number;
|
|
39
|
+
y: number;
|
|
40
|
+
value: number;
|
|
41
|
+
}>;
|
|
42
|
+
getSeriesColor(index: number, opacity: number): string;
|
|
43
|
+
onPointEnter(series: RadarSeries, index: number, pt: {
|
|
44
|
+
x: number;
|
|
45
|
+
y: number;
|
|
46
|
+
value: number;
|
|
47
|
+
}, event: MouseEvent): void;
|
|
48
|
+
onPointLeave(): void;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadarChartComponent, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadarChartComponent, "ngx-radar-chart", never, { "seriesData": { "alias": "seriesData"; "required": true; "isSignal": true; }; "categories": { "alias": "categories"; "required": true; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
51
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface TreemapItem {
|
|
3
|
+
label: string;
|
|
4
|
+
value: number;
|
|
5
|
+
color?: string;
|
|
6
|
+
}
|
|
7
|
+
interface LayoutItem extends TreemapItem {
|
|
8
|
+
x: number;
|
|
9
|
+
y: number;
|
|
10
|
+
w: number;
|
|
11
|
+
h: number;
|
|
12
|
+
displayColor: string;
|
|
13
|
+
}
|
|
14
|
+
export declare class TreemapChartComponent {
|
|
15
|
+
data: import("@angular/core").InputSignal<TreemapItem[]>;
|
|
16
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
17
|
+
itemClick: import("@angular/core").OutputEmitterRef<TreemapItem>;
|
|
18
|
+
tooltip: import("@angular/core").WritableSignal<{
|
|
19
|
+
show: boolean;
|
|
20
|
+
title: string;
|
|
21
|
+
value: string;
|
|
22
|
+
x: number;
|
|
23
|
+
y: number;
|
|
24
|
+
}>;
|
|
25
|
+
layoutRects: import("@angular/core").Signal<LayoutItem[]>;
|
|
26
|
+
private subdivide;
|
|
27
|
+
onItemEnter(item: LayoutItem, event: MouseEvent): void;
|
|
28
|
+
onItemLeave(): void;
|
|
29
|
+
onItemClick(item: LayoutItem): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreemapChartComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreemapChartComponent, "ngx-treemap-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; }, { "itemClick": "itemClick"; }, never, never, true, never>;
|
|
32
|
+
}
|
|
33
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type AlertVariant = 'info' | 'success' | 'warning' | 'error';
|
|
3
|
+
export declare class AlertComponent {
|
|
4
|
+
variant: import("@angular/core").InputSignal<AlertVariant>;
|
|
5
|
+
title: import("@angular/core").InputSignal<string>;
|
|
6
|
+
message: import("@angular/core").InputSignal<string>;
|
|
7
|
+
dismissible: import("@angular/core").InputSignal<boolean>;
|
|
8
|
+
actionLabel: import("@angular/core").InputSignal<string>;
|
|
9
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
10
|
+
dismissed: import("@angular/core").OutputEmitterRef<void>;
|
|
11
|
+
actionClick: import("@angular/core").OutputEmitterRef<void>;
|
|
12
|
+
visible: import("@angular/core").WritableSignal<boolean>;
|
|
13
|
+
isDismissing: import("@angular/core").WritableSignal<boolean>;
|
|
14
|
+
variantClass: import("@angular/core").Signal<string>;
|
|
15
|
+
dismiss(): void;
|
|
16
|
+
onActionClick(event: Event): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "ngx-alert", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; "actionLabel": { "alias": "actionLabel"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; }, { "dismissed": "dismissed"; "actionClick": "actionClick"; }, never, ["*"], true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3
|
+
export type AvatarShape = 'circle' | 'square' | 'rounded';
|
|
4
|
+
export type AvatarStatus = 'online' | 'offline' | 'busy' | 'away' | 'none';
|
|
5
|
+
export interface AvatarItem {
|
|
6
|
+
id?: string | number;
|
|
7
|
+
name?: string;
|
|
8
|
+
src?: string;
|
|
9
|
+
color?: string;
|
|
10
|
+
}
|
|
11
|
+
/** Single avatar */
|
|
12
|
+
export declare class AvatarComponent {
|
|
13
|
+
name: import("@angular/core").InputSignal<string>;
|
|
14
|
+
src: import("@angular/core").InputSignal<string>;
|
|
15
|
+
size: import("@angular/core").InputSignal<AvatarSize>;
|
|
16
|
+
shape: import("@angular/core").InputSignal<AvatarShape>;
|
|
17
|
+
status: import("@angular/core").InputSignal<AvatarStatus>;
|
|
18
|
+
badge: import("@angular/core").InputSignal<string | number | null>;
|
|
19
|
+
color: import("@angular/core").InputSignal<string>;
|
|
20
|
+
imgError: import("@angular/core").WritableSignal<boolean>;
|
|
21
|
+
displayInitials: import("@angular/core").Signal<string>;
|
|
22
|
+
bgColor: import("@angular/core").Signal<string>;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "ngx-avatar", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "src": { "alias": "src"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "badge": { "alias": "badge"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
25
|
+
}
|
|
26
|
+
/** Avatar group with overlap + overflow count */
|
|
27
|
+
export declare class AvatarGroupComponent {
|
|
28
|
+
avatars: import("@angular/core").InputSignal<AvatarItem[]>;
|
|
29
|
+
maxShow: import("@angular/core").InputSignal<number>;
|
|
30
|
+
size: import("@angular/core").InputSignal<AvatarSize>;
|
|
31
|
+
shape: import("@angular/core").InputSignal<AvatarShape>;
|
|
32
|
+
overlapPx: import("@angular/core").Signal<number>;
|
|
33
|
+
visibleAvatars: import("@angular/core").Signal<AvatarItem[]>;
|
|
34
|
+
overflowCount: import("@angular/core").Signal<number>;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarGroupComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarGroupComponent, "ngx-avatar-group", never, { "avatars": { "alias": "avatars"; "required": false; "isSignal": true; }; "maxShow": { "alias": "maxShow"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type CountdownVariant = 'default' | 'success' | 'danger' | 'warning' | 'info';
|
|
4
|
+
export declare class CountdownComponent implements OnDestroy {
|
|
5
|
+
targetDate: import("@angular/core").InputSignal<string | Date | null>;
|
|
6
|
+
duration: import("@angular/core").InputSignal<number | null>;
|
|
7
|
+
showRing: import("@angular/core").InputSignal<boolean>;
|
|
8
|
+
ringColor: import("@angular/core").InputSignal<string>;
|
|
9
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
10
|
+
variant: import("@angular/core").InputSignal<CountdownVariant>;
|
|
11
|
+
autoStart: import("@angular/core").InputSignal<boolean>;
|
|
12
|
+
showControls: import("@angular/core").InputSignal<boolean>;
|
|
13
|
+
compactOnly: import("@angular/core").InputSignal<boolean>;
|
|
14
|
+
forceShowDays: import("@angular/core").InputSignal<boolean>;
|
|
15
|
+
id: import("@angular/core").InputSignal<string>;
|
|
16
|
+
finished: import("@angular/core").OutputEmitterRef<void>;
|
|
17
|
+
tick: import("@angular/core").OutputEmitterRef<{
|
|
18
|
+
days: number;
|
|
19
|
+
hours: number;
|
|
20
|
+
minutes: number;
|
|
21
|
+
seconds: number;
|
|
22
|
+
totalSeconds: number;
|
|
23
|
+
}>;
|
|
24
|
+
remainingSeconds: import("@angular/core").WritableSignal<number>;
|
|
25
|
+
initialTotalSeconds: import("@angular/core").WritableSignal<number>;
|
|
26
|
+
isRunning: import("@angular/core").WritableSignal<boolean>;
|
|
27
|
+
private timerId;
|
|
28
|
+
days: import("@angular/core").Signal<number>;
|
|
29
|
+
hours: import("@angular/core").Signal<number>;
|
|
30
|
+
minutes: import("@angular/core").Signal<number>;
|
|
31
|
+
seconds: import("@angular/core").Signal<number>;
|
|
32
|
+
isFinished: import("@angular/core").Signal<boolean>;
|
|
33
|
+
progressRatio: import("@angular/core").Signal<number>;
|
|
34
|
+
strokeDashoffset: import("@angular/core").Signal<number>;
|
|
35
|
+
formattedCompactTime: import("@angular/core").Signal<string>;
|
|
36
|
+
variantClass: import("@angular/core").Signal<"" | CountdownVariant>;
|
|
37
|
+
constructor();
|
|
38
|
+
ngOnDestroy(): void;
|
|
39
|
+
start(): void;
|
|
40
|
+
pause(): void;
|
|
41
|
+
reset(): void;
|
|
42
|
+
formatNumber(val: number): string;
|
|
43
|
+
private clearTimer;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CountdownComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CountdownComponent, "ngx-countdown", never, { "targetDate": { "alias": "targetDate"; "required": false; "isSignal": true; }; "duration": { "alias": "duration"; "required": false; "isSignal": true; }; "showRing": { "alias": "showRing"; "required": false; "isSignal": true; }; "ringColor": { "alias": "ringColor"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "autoStart": { "alias": "autoStart"; "required": false; "isSignal": true; }; "showControls": { "alias": "showControls"; "required": false; "isSignal": true; }; "compactOnly": { "alias": "compactOnly"; "required": false; "isSignal": true; }; "forceShowDays": { "alias": "forceShowDays"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, { "finished": "finished"; "tick": "tick"; }, never, never, true, never>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class EmptyStateComponent {
|
|
3
|
+
title: import("@angular/core").InputSignal<string>;
|
|
4
|
+
description: import("@angular/core").InputSignal<string>;
|
|
5
|
+
illustration: import("@angular/core").InputSignal<"error" | "none" | "search" | "data" | "chat">;
|
|
6
|
+
primaryActionText: import("@angular/core").InputSignal<string>;
|
|
7
|
+
secondaryActionText: import("@angular/core").InputSignal<string>;
|
|
8
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
9
|
+
id: import("@angular/core").InputSignal<string>;
|
|
10
|
+
primaryAction: import("@angular/core").OutputEmitterRef<void>;
|
|
11
|
+
secondaryAction: import("@angular/core").OutputEmitterRef<void>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmptyStateComponent, "ngx-empty-state", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "illustration": { "alias": "illustration"; "required": false; "isSignal": true; }; "primaryActionText": { "alias": "primaryActionText"; "required": false; "isSignal": true; }; "secondaryActionText": { "alias": "secondaryActionText"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, { "primaryAction": "primaryAction"; "secondaryAction": "secondaryAction"; }, never, ["[empty-media]", "*"], true, never>;
|
|
14
|
+
}
|
package/feedback/public-api.d.ts
CHANGED
|
@@ -6,3 +6,12 @@ export { SkeletonComponent } from './skeleton/skeleton.component';
|
|
|
6
6
|
export type { SkeletonShape } from './skeleton/skeleton.component';
|
|
7
7
|
export { NotificationService, NotificationContainerComponent } from './notification/notification.service';
|
|
8
8
|
export type { NotificationOptions, NotificationItem, NotificationType, NotificationPosition } from './notification/notification.service';
|
|
9
|
+
export { AlertComponent } from './alert/alert.component';
|
|
10
|
+
export type { AlertVariant } from './alert/alert.component';
|
|
11
|
+
export { StatCardComponent } from './stat-card/stat-card.component';
|
|
12
|
+
export type { StatCardVariant } from './stat-card/stat-card.component';
|
|
13
|
+
export { AvatarComponent, AvatarGroupComponent } from './avatar/avatar.component';
|
|
14
|
+
export type { AvatarSize, AvatarShape, AvatarStatus, AvatarItem } from './avatar/avatar.component';
|
|
15
|
+
export { CountdownComponent } from './countdown/countdown.component';
|
|
16
|
+
export type { CountdownVariant } from './countdown/countdown.component';
|
|
17
|
+
export { EmptyStateComponent } from './empty-state/empty-state.component';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type StatCardVariant = 'default' | 'success' | 'danger' | 'warning' | 'info';
|
|
3
|
+
export declare class StatCardComponent {
|
|
4
|
+
label: import("@angular/core").InputSignal<string>;
|
|
5
|
+
value: import("@angular/core").InputSignal<string | number>;
|
|
6
|
+
subtitle: import("@angular/core").InputSignal<string>;
|
|
7
|
+
trend: import("@angular/core").InputSignal<"up" | "down" | "neutral">;
|
|
8
|
+
trendValue: import("@angular/core").InputSignal<string>;
|
|
9
|
+
icon: import("@angular/core").InputSignal<string>;
|
|
10
|
+
variant: import("@angular/core").InputSignal<StatCardVariant>;
|
|
11
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
12
|
+
loading: import("@angular/core").InputSignal<boolean>;
|
|
13
|
+
variantClass: import("@angular/core").Signal<string>;
|
|
14
|
+
trendClass: import("@angular/core").Signal<string>;
|
|
15
|
+
trendArrow: import("@angular/core").Signal<"▲" | "▼" | "—">;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StatCardComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StatCardComponent, "ngx-stat-card", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "trend": { "alias": "trend"; "required": false; "isSignal": true; }; "trendValue": { "alias": "trendValue"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
18
|
+
}
|