ngx-core-components 0.3.16 → 0.3.18
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/README.md +1 -0
- package/ai/ai-audio-wave/ai-audio-wave.component.d.ts +18 -4
- package/ai/ai-chat/ai-chat.component.d.ts +35 -2
- package/ai/ai-chat/models.d.ts +6 -0
- package/ai/ai-code-editor/ai-code-editor.component.d.ts +15 -1
- package/ai/ai-rag-inspector/ai-rag-inspector.component.d.ts +22 -0
- package/ai/ai-rag-inspector/models.d.ts +15 -0
- package/ai/public-api.d.ts +2 -0
- package/buttons/button/button.component.d.ts +15 -1
- package/buttons/split-button/split-button.component.d.ts +4 -0
- package/charts/bubble-chart/bubble-chart.component.d.ts +75 -0
- package/charts/public-api.d.ts +4 -0
- package/charts/sunburst-chart/sunburst-chart.component.d.ts +63 -0
- package/fesm2022/ngx-core-components-ai.mjs +910 -48
- package/fesm2022/ngx-core-components-ai.mjs.map +1 -1
- package/fesm2022/ngx-core-components-buttons.mjs +231 -30
- package/fesm2022/ngx-core-components-buttons.mjs.map +1 -1
- package/fesm2022/ngx-core-components-charts.mjs +940 -1
- package/fesm2022/ngx-core-components-charts.mjs.map +1 -1
- package/fesm2022/ngx-core-components-inputs.mjs +858 -237
- package/fesm2022/ngx-core-components-inputs.mjs.map +1 -1
- package/fesm2022/ngx-core-components-layout.mjs +172 -25
- package/fesm2022/ngx-core-components-layout.mjs.map +1 -1
- package/fesm2022/ngx-core-components-views.mjs +422 -2
- package/fesm2022/ngx-core-components-views.mjs.map +1 -1
- package/fesm2022/ngx-core-components.mjs +2 -2
- package/fesm2022/ngx-core-components.mjs.map +1 -1
- package/inputs/checkbox/checkbox.component.d.ts +6 -2
- package/inputs/date-range-picker/date-range-picker.component.d.ts +1 -1
- package/inputs/dropdown/dropdown.component.d.ts +1 -0
- package/inputs/file-preview/file-preview.component.d.ts +1 -1
- package/inputs/file-upload/file-upload.component.d.ts +1 -0
- package/inputs/numeric-textbox/numeric-textbox.component.d.ts +5 -1
- package/inputs/radio/radio-group.component.d.ts +12 -2
- package/inputs/rating/rating.component.d.ts +17 -4
- package/inputs/segmented-control/segmented-control.component.d.ts +2 -2
- package/inputs/switch/switch.component.d.ts +14 -4
- package/inputs/textarea/textarea.component.d.ts +3 -1
- package/inputs/textbox/textbox.component.d.ts +4 -1
- package/layout/accordion/accordion.component.d.ts +2 -0
- package/layout/tab-strip/tab-strip.component.d.ts +5 -1
- package/package.json +2 -1
- package/public-api.d.ts +6 -2
- package/schematics/collection.json +9 -0
- package/schematics/ng-add/index.js +64 -0
- package/themes/theme.css +34 -0
- package/views/calendar/calendar.component.d.ts +54 -0
- package/views/public-api.d.ts +2 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { TemplateRef, ElementRef, QueryList } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface CalendarEvent {
|
|
4
|
+
id?: string;
|
|
5
|
+
title: string;
|
|
6
|
+
date: Date | string;
|
|
7
|
+
color?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface CalendarCell {
|
|
11
|
+
date: Date;
|
|
12
|
+
dayNumber: number;
|
|
13
|
+
isCurrentMonth: boolean;
|
|
14
|
+
isToday: boolean;
|
|
15
|
+
isSelected: boolean;
|
|
16
|
+
isFocused: boolean;
|
|
17
|
+
events: CalendarEvent[];
|
|
18
|
+
}
|
|
19
|
+
export declare class CalendarComponent {
|
|
20
|
+
value: import("@angular/core").ModelSignal<Date | null>;
|
|
21
|
+
events: import("@angular/core").InputSignal<CalendarEvent[]>;
|
|
22
|
+
readonly: import("@angular/core").InputSignal<boolean>;
|
|
23
|
+
dayTemplateSignal?: TemplateRef<{
|
|
24
|
+
$implicit: Date;
|
|
25
|
+
events: CalendarEvent[];
|
|
26
|
+
}>;
|
|
27
|
+
dayTemplate: import("@angular/core").Signal<TemplateRef<{
|
|
28
|
+
$implicit: Date;
|
|
29
|
+
events: CalendarEvent[];
|
|
30
|
+
}> | undefined>;
|
|
31
|
+
activeMonthDate: import("@angular/core").WritableSignal<Date>;
|
|
32
|
+
focusedDate: import("@angular/core").WritableSignal<Date>;
|
|
33
|
+
dateSelect: import("@angular/core").OutputEmitterRef<Date>;
|
|
34
|
+
monthChange: import("@angular/core").OutputEmitterRef<{
|
|
35
|
+
year: number;
|
|
36
|
+
month: number;
|
|
37
|
+
}>;
|
|
38
|
+
weekDays: import("@angular/core").WritableSignal<string[]>;
|
|
39
|
+
cellElements: QueryList<ElementRef<HTMLDivElement>>;
|
|
40
|
+
monthLabel: import("@angular/core").Signal<string>;
|
|
41
|
+
gridCells: import("@angular/core").Signal<CalendarCell[]>;
|
|
42
|
+
gridRows: import("@angular/core").Signal<CalendarCell[][]>;
|
|
43
|
+
private createCellObj;
|
|
44
|
+
private isSameDay;
|
|
45
|
+
private getEventsForDate;
|
|
46
|
+
prevMonth(): void;
|
|
47
|
+
nextMonth(): void;
|
|
48
|
+
goToToday(): void;
|
|
49
|
+
selectCell(cell: CalendarCell): void;
|
|
50
|
+
private emitMonthChange;
|
|
51
|
+
onCellKeyDown(event: KeyboardEvent, cell: CalendarCell): void;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarComponent, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "ngx-calendar", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "events": { "alias": "events"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "dateSelect": "dateSelect"; "monthChange": "monthChange"; }, ["dayTemplateSignal"], never, true, never>;
|
|
54
|
+
}
|
package/views/public-api.d.ts
CHANGED
|
@@ -16,3 +16,5 @@ export type { KeyValueItem } from './key-value-list/key-value-list.component';
|
|
|
16
16
|
export { OrgChartComponent } from './org-chart/org-chart.component';
|
|
17
17
|
export type { OrgChartNode } from './org-chart/org-chart.component';
|
|
18
18
|
export { JsonViewerComponent } from './json-viewer/json-viewer.component';
|
|
19
|
+
export { CalendarComponent } from './calendar/calendar.component';
|
|
20
|
+
export type { CalendarEvent, CalendarCell } from './calendar/calendar.component';
|