ngx-core-components 0.3.4 → 0.3.6
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/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 +7 -0
- package/feedback/stat-card/stat-card.component.d.ts +18 -0
- package/fesm2022/ngx-core-components-feedback.mjs +789 -5
- package/fesm2022/ngx-core-components-feedback.mjs.map +1 -1
- package/fesm2022/ngx-core-components-inputs.mjs +611 -3
- 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 +162 -2
- package/fesm2022/ngx-core-components-navigation.mjs.map +1 -1
- package/fesm2022/ngx-core-components-views.mjs +1120 -2
- package/fesm2022/ngx-core-components-views.mjs.map +1 -1
- package/fesm2022/ngx-core-components.mjs +5 -5
- package/fesm2022/ngx-core-components.mjs.map +1 -1
- package/inputs/file-preview/file-preview.component.d.ts +61 -0
- package/inputs/public-api.d.ts +5 -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/public-api.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +14 -6
- package/views/image-compare/image-compare.component.d.ts +26 -0
- package/views/key-value-list/key-value-list.component.d.ts +36 -0
- package/views/public-api.d.ts +7 -0
- package/views/scheduler/models.d.ts +18 -0
- package/views/scheduler/scheduler.component.d.ts +36 -0
- package/views/virtual-list/virtual-list.component.d.ts +42 -0
|
@@ -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
|
@@ -8,3 +8,10 @@ export { NotificationService, NotificationContainerComponent } from './notificat
|
|
|
8
8
|
export type { NotificationOptions, NotificationItem, NotificationType, NotificationPosition } from './notification/notification.service';
|
|
9
9
|
export { AlertComponent } from './alert/alert.component';
|
|
10
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
|
+
}
|