ngx-core-components 0.3.21 → 0.3.22
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-chat/ai-chat.component.d.ts +2 -1
- package/ai/ngx-web-llm.service.d.ts +22 -0
- package/ai/public-api.d.ts +2 -0
- package/charts/gantt-chart/gantt-chart.component.d.ts +4 -1
- package/charts/line-chart/line-chart.component.d.ts +19 -1
- package/fesm2022/ngx-core-components-ai.mjs +173 -9
- package/fesm2022/ngx-core-components-ai.mjs.map +1 -1
- package/fesm2022/ngx-core-components-charts.mjs +119 -12
- package/fesm2022/ngx-core-components-charts.mjs.map +1 -1
- package/fesm2022/ngx-core-components-grid.mjs +119 -38
- package/fesm2022/ngx-core-components-grid.mjs.map +1 -1
- package/fesm2022/ngx-core-components-inputs.mjs +714 -3
- package/fesm2022/ngx-core-components-inputs.mjs.map +1 -1
- package/fesm2022/ngx-core-components-navigation.mjs +19 -13
- package/fesm2022/ngx-core-components-navigation.mjs.map +1 -1
- package/fesm2022/ngx-core-components.mjs +2 -2
- package/fesm2022/ngx-core-components.mjs.map +1 -1
- package/grid/data-grid/data-grid.component.d.ts +40 -1
- package/inputs/form-builder/form-builder.component.d.ts +20 -0
- package/inputs/form-builder/form-designer.component.d.ts +42 -0
- package/inputs/public-api.d.ts +1 -0
- package/package.json +9 -9
- package/public-api.d.ts +3 -1
- package/themes/theme.css +22 -0
|
@@ -31,7 +31,13 @@ export declare class DataGridComponent<T extends object = Record<string, unknown
|
|
|
31
31
|
editCellTemplates: QueryList<NgxGridEditCellTemplateDirective>;
|
|
32
32
|
headerTemplates: QueryList<NgxGridHeaderTemplateDirective>;
|
|
33
33
|
footerTemplates: QueryList<NgxGridFooterTemplateDirective>;
|
|
34
|
+
/**
|
|
35
|
+
* The tabular dataset to render in the grid.
|
|
36
|
+
*/
|
|
34
37
|
data: import("@angular/core").InputSignal<T[]>;
|
|
38
|
+
/**
|
|
39
|
+
* The column definition metadata specifying header labels, fields, sorting/filtering settings, and templates.
|
|
40
|
+
*/
|
|
35
41
|
columns: import("@angular/core").InputSignal<GridColumnDef<T>[]>;
|
|
36
42
|
stateKey: import("@angular/core").InputSignal<string>;
|
|
37
43
|
reorderable: import("@angular/core").InputSignal<boolean>;
|
|
@@ -47,12 +53,28 @@ export declare class DataGridComponent<T extends object = Record<string, unknown
|
|
|
47
53
|
currentIndex: number;
|
|
48
54
|
data: T[];
|
|
49
55
|
}>;
|
|
56
|
+
/**
|
|
57
|
+
* Number of rows to render per page in paginated mode.
|
|
58
|
+
* @default 10
|
|
59
|
+
*/
|
|
50
60
|
pageSize: import("@angular/core").InputSignal<number>;
|
|
61
|
+
/**
|
|
62
|
+
* The current active 1-indexed page number.
|
|
63
|
+
* @default 1
|
|
64
|
+
*/
|
|
51
65
|
page: import("@angular/core").InputSignal<number>;
|
|
52
66
|
total: import("@angular/core").InputSignal<number>;
|
|
67
|
+
/**
|
|
68
|
+
* Whether row selection is enabled.
|
|
69
|
+
* @default false
|
|
70
|
+
*/
|
|
53
71
|
selectable: import("@angular/core").InputSignal<boolean>;
|
|
54
72
|
striped: import("@angular/core").InputSignal<boolean>;
|
|
55
73
|
loading: import("@angular/core").InputSignal<boolean>;
|
|
74
|
+
/**
|
|
75
|
+
* Whether inline cell/row editing is enabled.
|
|
76
|
+
* @default false
|
|
77
|
+
*/
|
|
56
78
|
editable: import("@angular/core").InputSignal<boolean>;
|
|
57
79
|
sortMode: import("@angular/core").InputSignal<"client" | "server">;
|
|
58
80
|
filterMode: import("@angular/core").InputSignal<"client" | "server">;
|
|
@@ -89,6 +111,17 @@ export declare class DataGridComponent<T extends object = Record<string, unknown
|
|
|
89
111
|
enableContextMenu: import("@angular/core").InputSignal<boolean>;
|
|
90
112
|
keyboardNavigation: import("@angular/core").InputSignal<boolean>;
|
|
91
113
|
groupAggregations: import("@angular/core").InputSignal<boolean>;
|
|
114
|
+
/**
|
|
115
|
+
* Whether to render only the visible rows using high-performance row virtualization.
|
|
116
|
+
* Useful when rendering large datasets (1,000+ items).
|
|
117
|
+
* @default false
|
|
118
|
+
*/
|
|
119
|
+
virtualScroll: import("@angular/core").InputSignal<boolean>;
|
|
120
|
+
/**
|
|
121
|
+
* The height of each row in pixels. Required for virtual scrolling viewport calculations.
|
|
122
|
+
* @default 49
|
|
123
|
+
*/
|
|
124
|
+
rowHeight: import("@angular/core").InputSignal<number>;
|
|
92
125
|
sortState: import("@angular/core").WritableSignal<GridSortState | null>;
|
|
93
126
|
currentPage: import("@angular/core").WritableSignal<number>;
|
|
94
127
|
selectedRows: import("@angular/core").WritableSignal<Set<string>>;
|
|
@@ -98,6 +131,11 @@ export declare class DataGridComponent<T extends object = Record<string, unknown
|
|
|
98
131
|
editingDraft: import("@angular/core").WritableSignal<Record<string, unknown>>;
|
|
99
132
|
internalPageSize: import("@angular/core").WritableSignal<number>;
|
|
100
133
|
internalGroupBy: import("@angular/core").WritableSignal<GridGroupState | null>;
|
|
134
|
+
scrollTop: import("@angular/core").WritableSignal<number>;
|
|
135
|
+
viewportHeight: import("@angular/core").WritableSignal<number>;
|
|
136
|
+
startIndex: import("@angular/core").Signal<number>;
|
|
137
|
+
endIndex: import("@angular/core").Signal<number>;
|
|
138
|
+
visibleRows: import("@angular/core").Signal<T[]>;
|
|
101
139
|
i18n: import("ngx-core-components/i18n").NgxCoreI18n;
|
|
102
140
|
private elementRef;
|
|
103
141
|
destroyRef: DestroyRef;
|
|
@@ -225,6 +263,7 @@ export declare class DataGridComponent<T extends object = Record<string, unknown
|
|
|
225
263
|
onRowDragStart(event: DragEvent, index: number): void;
|
|
226
264
|
onRowDragOver(event: DragEvent, index: number): void;
|
|
227
265
|
onRowDrop(event: DragEvent, targetIndex: number): void;
|
|
266
|
+
onViewportScroll(event: Event): void;
|
|
228
267
|
onRowDragEnd(): void;
|
|
229
268
|
getRowTranslation(index: number): string;
|
|
230
269
|
getSortIndex(col: GridColumnDef<T>): number;
|
|
@@ -279,5 +318,5 @@ export declare class DataGridComponent<T extends object = Record<string, unknown
|
|
|
279
318
|
toggleGroupSelection(group: GridGroupResult<T>, event: Event): void;
|
|
280
319
|
getGroupAggregationValue(group: GridGroupResult<T>, col: GridColumnDef<T>): string;
|
|
281
320
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataGridComponent<any>, never>;
|
|
282
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataGridComponent<any>, "ngx-data-grid", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "stateKey": { "alias": "stateKey"; "required": false; "isSignal": true; }; "reorderable": { "alias": "reorderable"; "required": false; "isSignal": true; }; "multiSort": { "alias": "multiSort"; "required": false; "isSignal": true; }; "rowReorderable": { "alias": "rowReorderable"; "required": false; "isSignal": true; }; "showGlobalSearch": { "alias": "showGlobalSearch"; "required": false; "isSignal": true; }; "globalSearchPlaceholder": { "alias": "globalSearchPlaceholder"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "page": { "alias": "page"; "required": false; "isSignal": true; }; "total": { "alias": "total"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "striped": { "alias": "striped"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "editable": { "alias": "editable"; "required": false; "isSignal": true; }; "sortMode": { "alias": "sortMode"; "required": false; "isSignal": true; }; "filterMode": { "alias": "filterMode"; "required": false; "isSignal": true; }; "groupMode": { "alias": "groupMode"; "required": false; "isSignal": true; }; "pagingMode": { "alias": "pagingMode"; "required": false; "isSignal": true; }; "groupBy": { "alias": "groupBy"; "required": false; "isSignal": true; }; "groupedData": { "alias": "groupedData"; "required": false; "isSignal": true; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; "isSignal": true; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; "isSignal": true; }; "editCellTemplate": { "alias": "editCellTemplate"; "required": false; "isSignal": true; }; "rowTemplate": { "alias": "rowTemplate"; "required": false; "isSignal": true; }; "detailRowTemplate": { "alias": "detailRowTemplate"; "required": false; "isSignal": true; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; "isSignal": true; }; "showColumnChooser": { "alias": "showColumnChooser"; "required": false; "isSignal": true; }; "cellSelection": { "alias": "cellSelection"; "required": false; "isSignal": true; }; "enableContextMenu": { "alias": "enableContextMenu"; "required": false; "isSignal": true; }; "keyboardNavigation": { "alias": "keyboardNavigation"; "required": false; "isSignal": true; }; "groupAggregations": { "alias": "groupAggregations"; "required": false; "isSignal": true; }; }, { "columnReorder": "columnReorder"; "rowReorder": "rowReorder"; "rowClick": "rowClick"; "selectionChange": "selectionChange"; "sortChange": "sortChange"; "filterChange": "filterChange"; "groupChange": "groupChange"; "pageChange": "pageChange"; "dataStateChange": "dataStateChange"; "rowUpdate": "rowUpdate"; "cellSelectionChange": "cellSelectionChange"; }, ["cellTemplates", "editCellTemplates", "headerTemplates", "footerTemplates"], never, true, never>;
|
|
321
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataGridComponent<any>, "ngx-data-grid", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "stateKey": { "alias": "stateKey"; "required": false; "isSignal": true; }; "reorderable": { "alias": "reorderable"; "required": false; "isSignal": true; }; "multiSort": { "alias": "multiSort"; "required": false; "isSignal": true; }; "rowReorderable": { "alias": "rowReorderable"; "required": false; "isSignal": true; }; "showGlobalSearch": { "alias": "showGlobalSearch"; "required": false; "isSignal": true; }; "globalSearchPlaceholder": { "alias": "globalSearchPlaceholder"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "page": { "alias": "page"; "required": false; "isSignal": true; }; "total": { "alias": "total"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "striped": { "alias": "striped"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "editable": { "alias": "editable"; "required": false; "isSignal": true; }; "sortMode": { "alias": "sortMode"; "required": false; "isSignal": true; }; "filterMode": { "alias": "filterMode"; "required": false; "isSignal": true; }; "groupMode": { "alias": "groupMode"; "required": false; "isSignal": true; }; "pagingMode": { "alias": "pagingMode"; "required": false; "isSignal": true; }; "groupBy": { "alias": "groupBy"; "required": false; "isSignal": true; }; "groupedData": { "alias": "groupedData"; "required": false; "isSignal": true; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; "isSignal": true; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; "isSignal": true; }; "editCellTemplate": { "alias": "editCellTemplate"; "required": false; "isSignal": true; }; "rowTemplate": { "alias": "rowTemplate"; "required": false; "isSignal": true; }; "detailRowTemplate": { "alias": "detailRowTemplate"; "required": false; "isSignal": true; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; "isSignal": true; }; "showColumnChooser": { "alias": "showColumnChooser"; "required": false; "isSignal": true; }; "cellSelection": { "alias": "cellSelection"; "required": false; "isSignal": true; }; "enableContextMenu": { "alias": "enableContextMenu"; "required": false; "isSignal": true; }; "keyboardNavigation": { "alias": "keyboardNavigation"; "required": false; "isSignal": true; }; "groupAggregations": { "alias": "groupAggregations"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "rowHeight": { "alias": "rowHeight"; "required": false; "isSignal": true; }; }, { "columnReorder": "columnReorder"; "rowReorder": "rowReorder"; "rowClick": "rowClick"; "selectionChange": "selectionChange"; "sortChange": "sortChange"; "filterChange": "filterChange"; "groupChange": "groupChange"; "pageChange": "pageChange"; "dataStateChange": "dataStateChange"; "rowUpdate": "rowUpdate"; "cellSelectionChange": "cellSelectionChange"; }, ["cellTemplates", "editCellTemplates", "headerTemplates", "footerTemplates"], never, true, never>;
|
|
283
322
|
}
|
|
@@ -17,11 +17,31 @@ export interface FormBuilderField {
|
|
|
17
17
|
step?: number;
|
|
18
18
|
}
|
|
19
19
|
export declare class FormBuilderComponent {
|
|
20
|
+
/**
|
|
21
|
+
* The schema definition list of form fields to render dynamically.
|
|
22
|
+
*/
|
|
20
23
|
fields: import("@angular/core").InputSignal<FormBuilderField[]>;
|
|
24
|
+
/**
|
|
25
|
+
* The initial/controlled form value dictionary mapping field keys to values.
|
|
26
|
+
*/
|
|
21
27
|
value: import("@angular/core").InputSignal<Record<string, unknown>>;
|
|
28
|
+
/**
|
|
29
|
+
* Whether to render the default form submit button at the bottom.
|
|
30
|
+
* @default true
|
|
31
|
+
*/
|
|
22
32
|
showSubmit: import("@angular/core").InputSignal<boolean>;
|
|
33
|
+
/**
|
|
34
|
+
* The text label to display on the default form submit button.
|
|
35
|
+
* @default 'Submit'
|
|
36
|
+
*/
|
|
23
37
|
submitLabel: import("@angular/core").InputSignal<string>;
|
|
38
|
+
/**
|
|
39
|
+
* Emits when any field value in the form changes.
|
|
40
|
+
*/
|
|
24
41
|
valueChange: import("@angular/core").OutputEmitterRef<Record<string, unknown>>;
|
|
42
|
+
/**
|
|
43
|
+
* Emits the entire form value dictionary when the form is submitted successfully.
|
|
44
|
+
*/
|
|
25
45
|
formSubmit: import("@angular/core").OutputEmitterRef<Record<string, unknown>>;
|
|
26
46
|
formValue: import("@angular/core").WritableSignal<Record<string, unknown>>;
|
|
27
47
|
private syncValue;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { FormBuilderField } from './form-builder.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FormDesignerComponent {
|
|
4
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
5
|
+
schemaChange: import("@angular/core").OutputEmitterRef<FormBuilderField[]>;
|
|
6
|
+
designerFields: import("@angular/core").WritableSignal<FormBuilderField[]>;
|
|
7
|
+
selectedField: import("@angular/core").WritableSignal<FormBuilderField | null>;
|
|
8
|
+
activeTab: import("@angular/core").WritableSignal<"properties" | "schema" | "preview">;
|
|
9
|
+
isDraggingFromToolbox: boolean;
|
|
10
|
+
draggingToolboxField: FormBuilderField | null;
|
|
11
|
+
isDraggingOverCanvas: boolean;
|
|
12
|
+
draggingIndex: import("@angular/core").WritableSignal<number | null>;
|
|
13
|
+
dragOverIndex: import("@angular/core").WritableSignal<number | null>;
|
|
14
|
+
importSchemaPopupOpen: import("@angular/core").WritableSignal<boolean>;
|
|
15
|
+
importSchemaText: string;
|
|
16
|
+
importError: import("@angular/core").WritableSignal<string | null>;
|
|
17
|
+
previewSubmitData: import("@angular/core").WritableSignal<Record<string, unknown> | null>;
|
|
18
|
+
toolboxFields: FormBuilderField[];
|
|
19
|
+
schemaJsonString: import("@angular/core").Signal<string>;
|
|
20
|
+
constructor();
|
|
21
|
+
getIconForType(type?: string): string;
|
|
22
|
+
onToolboxDragStart(event: DragEvent, field: FormBuilderField): void;
|
|
23
|
+
onCanvasDragOver(event: DragEvent): void;
|
|
24
|
+
onCanvasDragLeave(): void;
|
|
25
|
+
onCanvasDrop(event: DragEvent): void;
|
|
26
|
+
onCanvasFieldDragStart(event: DragEvent, idx: number): void;
|
|
27
|
+
onCanvasFieldDragOver(event: DragEvent, idx: number): void;
|
|
28
|
+
onCanvasFieldDragLeave(): void;
|
|
29
|
+
onCanvasFieldDrop(event: DragEvent, targetIdx: number): void;
|
|
30
|
+
onDragEnd(): void;
|
|
31
|
+
selectField(field: FormBuilderField): void;
|
|
32
|
+
onFieldPropertyChange(): void;
|
|
33
|
+
deleteField(field: FormBuilderField, event: MouseEvent): void;
|
|
34
|
+
clearAll(): void;
|
|
35
|
+
addOption(): void;
|
|
36
|
+
deleteOption(idx: number): void;
|
|
37
|
+
copySchema(): Promise<void>;
|
|
38
|
+
importSchema(): void;
|
|
39
|
+
onPreviewSubmit(data: Record<string, unknown>): void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormDesignerComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormDesignerComponent, "ngx-form-designer", never, { "theme": { "alias": "theme"; "required": false; "isSignal": true; }; }, { "schemaChange": "schemaChange"; }, never, never, true, never>;
|
|
42
|
+
}
|
package/inputs/public-api.d.ts
CHANGED
|
@@ -24,4 +24,5 @@ export { SegmentedControlComponent } from './segmented-control/segmented-control
|
|
|
24
24
|
export type { SegmentedOption } from './segmented-control/segmented-control.component';
|
|
25
25
|
export { FormBuilderComponent } from './form-builder/form-builder.component';
|
|
26
26
|
export type { FormBuilderField, FormBuilderOption } from './form-builder/form-builder.component';
|
|
27
|
+
export { FormDesignerComponent } from './form-builder/form-designer.component';
|
|
27
28
|
export { SignaturePadComponent } from './signature-pad/signature-pad.component';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-core-components",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.22",
|
|
4
4
|
"schematics": "./schematics/collection.json",
|
|
5
5
|
"description": "Angular 19+ component library — 100+ production-ready UI components including Data Grid, Gantt Chart, 35+ SVG Charts, AI Chat, Kanban, Form Builder, and more. Signals-first, fully standalone, zero runtime dependencies.",
|
|
6
6
|
"keywords": [
|
|
@@ -61,14 +61,14 @@
|
|
|
61
61
|
"types": "./ai/index.d.ts",
|
|
62
62
|
"default": "./fesm2022/ngx-core-components-ai.mjs"
|
|
63
63
|
},
|
|
64
|
-
"./barcodes": {
|
|
65
|
-
"types": "./barcodes/index.d.ts",
|
|
66
|
-
"default": "./fesm2022/ngx-core-components-barcodes.mjs"
|
|
67
|
-
},
|
|
68
64
|
"./buttons": {
|
|
69
65
|
"types": "./buttons/index.d.ts",
|
|
70
66
|
"default": "./fesm2022/ngx-core-components-buttons.mjs"
|
|
71
67
|
},
|
|
68
|
+
"./barcodes": {
|
|
69
|
+
"types": "./barcodes/index.d.ts",
|
|
70
|
+
"default": "./fesm2022/ngx-core-components-barcodes.mjs"
|
|
71
|
+
},
|
|
72
72
|
"./charts": {
|
|
73
73
|
"types": "./charts/index.d.ts",
|
|
74
74
|
"default": "./fesm2022/ngx-core-components-charts.mjs"
|
|
@@ -77,14 +77,14 @@
|
|
|
77
77
|
"types": "./dialog/index.d.ts",
|
|
78
78
|
"default": "./fesm2022/ngx-core-components-dialog.mjs"
|
|
79
79
|
},
|
|
80
|
-
"./grid": {
|
|
81
|
-
"types": "./grid/index.d.ts",
|
|
82
|
-
"default": "./fesm2022/ngx-core-components-grid.mjs"
|
|
83
|
-
},
|
|
84
80
|
"./feedback": {
|
|
85
81
|
"types": "./feedback/index.d.ts",
|
|
86
82
|
"default": "./fesm2022/ngx-core-components-feedback.mjs"
|
|
87
83
|
},
|
|
84
|
+
"./grid": {
|
|
85
|
+
"types": "./grid/index.d.ts",
|
|
86
|
+
"default": "./fesm2022/ngx-core-components-grid.mjs"
|
|
87
|
+
},
|
|
88
88
|
"./i18n": {
|
|
89
89
|
"types": "./i18n/index.d.ts",
|
|
90
90
|
"default": "./fesm2022/ngx-core-components-i18n.mjs"
|
package/public-api.d.ts
CHANGED
|
@@ -109,12 +109,14 @@ export { BadgeComponent, ProgressBarComponent, SkeletonComponent, NotificationSe
|
|
|
109
109
|
export type { BadgeVariant, BadgePosition, ProgressVariant, SkeletonShape, NotificationOptions, NotificationType, NotificationPosition, AvatarSize, AvatarShape, AvatarStatus, AvatarItem, StatCardVariant, CountdownVariant, } from 'ngx-core-components/feedback';
|
|
110
110
|
export { BreadcrumbComponent, MenuComponent, CommandPaletteComponent, ContextMenuComponent, BackToTopComponent, } from 'ngx-core-components/navigation';
|
|
111
111
|
export type { BreadcrumbItem, MenuItem, CommandItem, ContextMenuItem, } from 'ngx-core-components/navigation';
|
|
112
|
-
export { SliderComponent, SwitchComponent, RatingComponent, NumericTextBoxComponent, TextareaComponent, ColorPickerComponent, TimePickerComponent, DateRangePickerComponent, FileUploadComponent, TagInputComponent, FilePreviewComponent, SegmentedControlComponent, FormBuilderComponent, SignaturePadComponent, } from 'ngx-core-components/inputs';
|
|
112
|
+
export { SliderComponent, SwitchComponent, RatingComponent, NumericTextBoxComponent, TextareaComponent, ColorPickerComponent, TimePickerComponent, DateRangePickerComponent, FileUploadComponent, TagInputComponent, FilePreviewComponent, SegmentedControlComponent, FormBuilderComponent, FormDesignerComponent, SignaturePadComponent, } from 'ngx-core-components/inputs';
|
|
113
113
|
export type { UploadFileItem, PreviewFileItem, SegmentedOption, FormBuilderField, FormBuilderOption, } from 'ngx-core-components/inputs';
|
|
114
114
|
export { QrCodeComponent, BarcodeComponent } from 'ngx-core-components/barcodes';
|
|
115
115
|
export { AIChatComponent } from 'ngx-core-components/ai';
|
|
116
116
|
export type { AIMessage, AgentStep, AICard, AICardAction, QuickReply, } from 'ngx-core-components/ai';
|
|
117
117
|
export { AIChatWidgetComponent } from 'ngx-core-components/ai';
|
|
118
118
|
export { AIPromptEditorComponent } from 'ngx-core-components/ai';
|
|
119
|
+
export { NgxWebLlmService } from 'ngx-core-components/ai';
|
|
120
|
+
export type { WebLlmMessage } from 'ngx-core-components/ai';
|
|
119
121
|
export { NGX_CORE_I18N, DEFAULT_EN_I18N, provideNgxI18n } from 'ngx-core-components/i18n';
|
|
120
122
|
export type { NgxCoreI18n } from 'ngx-core-components/i18n';
|
package/themes/theme.css
CHANGED
|
@@ -124,3 +124,25 @@ body.dark, [data-theme="dark"] {
|
|
|
124
124
|
|
|
125
125
|
--ngx-dialog-overlay-bg: rgba(0, 0, 0, 0.6);
|
|
126
126
|
}
|
|
127
|
+
|
|
128
|
+
/* ── 11. Accessibility Enhancements ── */
|
|
129
|
+
@media (prefers-reduced-motion: reduce) {
|
|
130
|
+
*,
|
|
131
|
+
*::before,
|
|
132
|
+
*::after {
|
|
133
|
+
animation-duration: 0.01ms !important;
|
|
134
|
+
animation-iteration-count: 1 !important;
|
|
135
|
+
transition-duration: 0.01ms !important;
|
|
136
|
+
scroll-behavior: auto !important;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
@media (forced-colors: active) {
|
|
141
|
+
:root {
|
|
142
|
+
--ngx-color-primary: SelectedText;
|
|
143
|
+
--ngx-color-primary-hover: SelectedText;
|
|
144
|
+
--ngx-color-border: CanvasText;
|
|
145
|
+
--ngx-focus-ring-color: Highlight;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|