ngx-core-components 0.3.30 → 0.3.32

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.
Files changed (58) hide show
  1. package/README.md +988 -601
  2. package/barcodes/barcode/barcode-encoding.d.ts +1 -0
  3. package/barcodes/barcode/barcode.component.d.ts +4 -4
  4. package/barcodes/public-api.d.ts +1 -0
  5. package/charts/bar-chart/bar-chart.component.d.ts +5 -1
  6. package/charts/box-plot-chart/box-plot-chart.component.d.ts +6 -0
  7. package/charts/bubble-chart/bubble-chart.component.d.ts +4 -0
  8. package/charts/bullet-chart/bullet-chart.component.d.ts +3 -0
  9. package/charts/column-range-chart/column-range-chart.component.d.ts +5 -1
  10. package/charts/dumbbell-chart/dumbbell-chart.component.d.ts +5 -1
  11. package/charts/funnel-chart/funnel-chart.component.d.ts +4 -0
  12. package/charts/heatmap-chart/heatmap-chart.component.d.ts +4 -0
  13. package/charts/line-chart/line-chart.component.d.ts +2 -0
  14. package/charts/lollipop-chart/lollipop-chart.component.d.ts +5 -1
  15. package/charts/marimekko-chart/marimekko-chart.component.d.ts +25 -1
  16. package/charts/pie-chart/pie-chart.component.d.ts +9 -0
  17. package/charts/pyramid-chart/pyramid-chart.component.d.ts +5 -0
  18. package/charts/radial-bar-chart/radial-bar-chart.component.d.ts +4 -0
  19. package/charts/range-bar-chart/range-bar-chart.component.d.ts +4 -0
  20. package/charts/scatter-plot/scatter-plot.component.d.ts +4 -0
  21. package/charts/shared/chart-accessible-mark.directive.d.ts +9 -0
  22. package/charts/shared/chart-export-menu.component.d.ts +7 -0
  23. package/charts/shared/chart-skeleton.component.d.ts +1 -1
  24. package/charts/sunburst-chart/sunburst-chart.component.d.ts +6 -3
  25. package/charts/treemap-chart/treemap-chart.component.d.ts +6 -4
  26. package/charts/waterfall-chart/waterfall-chart.component.d.ts +8 -0
  27. package/fesm2022/ngx-core-components-barcodes.mjs +196 -42
  28. package/fesm2022/ngx-core-components-barcodes.mjs.map +1 -1
  29. package/fesm2022/ngx-core-components-charts.mjs +1399 -875
  30. package/fesm2022/ngx-core-components-charts.mjs.map +1 -1
  31. package/fesm2022/ngx-core-components-grid.mjs +2075 -545
  32. package/fesm2022/ngx-core-components-grid.mjs.map +1 -1
  33. package/fesm2022/ngx-core-components-i18n.mjs +129 -35
  34. package/fesm2022/ngx-core-components-i18n.mjs.map +1 -1
  35. package/fesm2022/ngx-core-components-inputs.mjs +297 -39
  36. package/fesm2022/ngx-core-components-inputs.mjs.map +1 -1
  37. package/fesm2022/ngx-core-components-layout.mjs +71 -53
  38. package/fesm2022/ngx-core-components-layout.mjs.map +1 -1
  39. package/fesm2022/ngx-core-components-testing.mjs +30 -0
  40. package/fesm2022/ngx-core-components-testing.mjs.map +1 -0
  41. package/fesm2022/ngx-core-components-views.mjs +69 -29
  42. package/fesm2022/ngx-core-components-views.mjs.map +1 -1
  43. package/fesm2022/ngx-core-components.mjs +2 -2
  44. package/fesm2022/ngx-core-components.mjs.map +1 -1
  45. package/grid/data-grid/components/grid-filter-builder/grid-filter-builder.component.d.ts +6 -1
  46. package/grid/data-grid/data-grid.component.d.ts +19 -1
  47. package/grid/data-grid/grid-data-source.d.ts +22 -0
  48. package/grid/data-grid/services/grid-state.service.d.ts +7 -0
  49. package/grid/public-api.d.ts +6 -3
  50. package/i18n/ngx-core-i18n.d.ts +94 -1
  51. package/i18n/public-api.d.ts +1 -1
  52. package/inputs/form-builder/form-builder.component.d.ts +17 -1
  53. package/package.json +6 -2
  54. package/public-api.d.ts +8 -7
  55. package/testing/component-test-harness.d.ts +10 -0
  56. package/testing/index.d.ts +5 -0
  57. package/testing/public-api.d.ts +1 -0
  58. package/views/kanban/kanban.component.d.ts +1 -0
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ngx-core-components
2
2
 
3
- Angular 19 / 20 / 21 standalone component library with enterprise-ready UI building blocks including a full-featured **SVG Gantt Chart**, inputs, data grid, dialogs, charts, navigation, layout, feedback, and barcode components.
3
+ Angular 19–21 standalone component library with enterprise-ready UI building blocks including a full-featured **SVG Gantt Chart**, inputs, data grid, dialogs, charts, navigation, layout, feedback, and barcode components.
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/ngx-core-components.svg)](https://www.npmjs.com/package/ngx-core-components)
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
@@ -50,7 +50,189 @@ import { TreeViewComponent, ListViewComponent } from 'ngx-core-components/views'
50
50
  import { QrCodeComponent, BarcodeComponent } from 'ngx-core-components/barcodes';
51
51
  ```
52
52
 
53
- ## Included Components
53
+ ## Integration Guides
54
+
55
+ The inputs that implement `ControlValueAccessor` work with Angular Reactive Forms.
56
+ Import `ReactiveFormsModule` and the control from its secondary entry point:
57
+
58
+ ```typescript
59
+ import { Component } from '@angular/core';
60
+ import { FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';
61
+ import { TextBoxComponent } from 'ngx-core-components/inputs';
62
+
63
+ @Component({
64
+ standalone: true,
65
+ imports: [ReactiveFormsModule, TextBoxComponent],
66
+ template: `
67
+ <form [formGroup]="form">
68
+ <ngx-textbox formControlName="email" label="Email" type="email" />
69
+ </form>
70
+ `,
71
+ })
72
+ export class ProfileFormComponent {
73
+ readonly form = new FormGroup({
74
+ email: new FormControl('', { nonNullable: true }),
75
+ });
76
+ }
77
+ ```
78
+
79
+ The library can be rendered in Angular SSR applications. Guard browser-only
80
+ consumer code (for example clipboard, storage, or direct DOM work) with Angular's
81
+ platform check:
82
+
83
+ ```typescript
84
+ import { isPlatformBrowser } from '@angular/common';
85
+ import { inject, Injectable, PLATFORM_ID } from '@angular/core';
86
+
87
+ @Injectable({ providedIn: 'root' })
88
+ export class BrowserFeature {
89
+ private readonly platformId = inject(PLATFORM_ID);
90
+
91
+ copyText(text: string): Promise<void> | undefined {
92
+ if (!isPlatformBrowser(this.platformId)) return undefined;
93
+ return navigator.clipboard.writeText(text);
94
+ }
95
+ }
96
+ ```
97
+
98
+ For global tokens, presets, and generated CSS, see the
99
+ [theming guide](../../THEMING.md). The focused imports above demonstrate
100
+ tree-shakable secondary entry points.
101
+
102
+ ## Accessible Charts, Remote Grids, and Form Flows
103
+
104
+ Bar charts expose an accessible summary and a native data-table alternative. A
105
+ custom label can replace the generated summary:
106
+
107
+ ```html
108
+ <ngx-bar-chart [categories]="quarters" [series]="revenue" ariaLabel="Quarterly revenue by region" />
109
+ ```
110
+
111
+ Line charts expose a named SVG summary and keyboard-operable, labelled data
112
+ points. Pie and donut slices expose keyboard-focusable graphics with accessible
113
+ labels; focusing a slice reveals the same value tooltip as pointer hover. Both
114
+ charts honor reduced-motion preferences. Text can be customized via the
115
+ `chart.lineChartDescription`, `chart.lineChartNoData`,
116
+ `chart.linePointDescription`, and `chart.pieSliceDescription` translations.
117
+
118
+ Scatter plots expose a localized summary and keyboard-focusable data points.
119
+ Focusing a point reveals its tooltip; its accessible name includes the point
120
+ label, group, and formatted axis values. Scatter-point animations honor reduced
121
+ motion. Customize this text with `chart.scatterChartDescription` and
122
+ `chart.scatterPointDescription`.
123
+
124
+ Waterfall bars and sunburst slices expose localized accessible names and focus
125
+ tooltips. Treemap cells are keyboard-operable buttons with focus feedback and
126
+ the same tooltip and activation behavior as pointer interaction. Treemap and
127
+ sunburst exports use the shared localized, keyboard-accessible chart export menu.
128
+ Heatmap cells expose row/column/value labels, focus tooltips, and keyboard
129
+ activation through the same cell-selection output as pointer clicks. The
130
+ `chart.dataMarkDescription` and `chart.waterfallMarkDescription` translations
131
+ customize the generated data-mark names. Bubble points expose localized names
132
+ including their label, group, coordinates, and size, with tooltips on focus;
133
+ customize them with `chart.bubblePointDescription`. Lollipop marks are
134
+ keyboard-focusable with localized data names, focus feedback, and tooltips.
135
+ Dumbbell rows expose both endpoint values in their accessible names, with focus
136
+ feedback and the same tooltip as pointer hover. Range bars expose keyboard-
137
+ operable buttons whose activation emits the existing `barClick` output.
138
+ Pyramid segments are named, keyboard-operable buttons with visible focus
139
+ feedback and focus-triggered tooltips. Funnel stages expose localized names,
140
+ keyboard focus, visible focus feedback, and the existing stage tooltip.
141
+ Column-range marks expose series/category names with localized low/high values,
142
+ focus feedback, and the existing tooltip on keyboard focus.
143
+ Box-plot summaries expose all five statistical values to keyboard users; outlier
144
+ marks are independently named and reveal their value tooltip on focus.
145
+ Bullet charts make their actual-value and target marks individually named and
146
+ keyboard-focusable. Radial progress rings expose their percentage and actual
147
+ versus target values in an accessible name, and show the existing tooltip on
148
+ focus. Marimekko segments expose column/category names, values, and a focus-
149
+ triggered tooltip with visible keyboard focus feedback.
150
+
151
+ Use `GridRemoteDataController` for paged or server-filtered data. It exposes signal
152
+ state for rows, totals, loading, and errors; a newer request cancels and supersedes
153
+ an older request:
154
+
155
+ ```typescript
156
+ const controller = new GridRemoteDataController<Customer>();
157
+ const source: GridDataSource<Customer> = {
158
+ load: async (request, signal) => {
159
+ const response = await fetchCustomers(request, signal);
160
+ return { items: response.items, total: response.total };
161
+ },
162
+ };
163
+
164
+ await controller.load(source, {
165
+ page: 1,
166
+ pageSize: 25,
167
+ sort: null,
168
+ filters: [],
169
+ group: null,
170
+ });
171
+ ```
172
+
173
+ Grid saved views use versioned JSON and reject malformed or unsupported schemas
174
+ when imported. `FormBuilderField.formStep` groups fields into steps, and an optional
175
+ `asyncValidator` returns `null` when valid or a message to show next to the field:
176
+
177
+ ```typescript
178
+ {
179
+ key: 'username',
180
+ label: 'Username',
181
+ formStep: 0,
182
+ asyncValidator: async (value) =>
183
+ (await usernameAvailable(String(value))) ? null : 'Username is unavailable',
184
+ }
185
+ ```
186
+
187
+ Field conditions can show, hide, enable, or disable fields based on typed field
188
+ values. Missing condition references and dependency cycles are announced above the
189
+ form and block validation/submission until the schema is corrected.
190
+
191
+ With `[showColumnChooser]="true"`, the grid exposes labelled controls to toggle
192
+ column visibility, pin columns to either side, and move columns left or right
193
+ without drag-and-drop. Keyboard users can Tab to each action and use the native
194
+ button controls; Escape closes the chooser and restores focus to its trigger.
195
+ Selectable grids give row checkboxes accessible names and announce the selected
196
+ row count to screen readers. With `dir="rtl"`, grid arrows and Kanban card
197
+ movement follow the visual left/right direction. When `[keyboardNavigation]="true"`, the labelled grid
198
+ region can receive focus and arrow keys move focus between cells. Tab moves
199
+ between cells but exits the grid at either end; toolbar buttons and other
200
+ interactive controls retain their native key behavior. Filter and context
201
+ popovers receive focus when opened and return focus to their trigger or cell on
202
+ Escape. The Advanced Filter Builder is exposed as a labelled modal dialog with
203
+ focus trapping and Escape dismissal, and restores focus to its trigger when
204
+ closed. Grid toolbar, grouping, filter, export, and row-action labels are
205
+ provided by the `grid` translations in `NGX_CORE_I18N`.
206
+
207
+ The barcode component renders standards-compliant Code 128-B for printable ASCII
208
+ values (space through `~`), including the weighted checksum. Unsupported input
209
+ produces an accessible error instead of a pseudo-barcode. The library test suite
210
+ also decodes generated module patterns with ZXing, a development-only dependency;
211
+ the published component has no added runtime dependency.
212
+
213
+ `provideNgxI18n` accepts nested partial translations, merges them with the English
214
+ fallback, and is exported alongside `DeepPartial` for locale definitions from
215
+ `ngx-core-components/i18n`.
216
+
217
+ Consumer tests can import `NgxComponentTestHarness` from
218
+ `ngx-core-components/testing` to set component inputs and query rendered elements
219
+ without depending on private component internals:
220
+
221
+ ```typescript
222
+ import { NgxComponentTestHarness } from 'ngx-core-components/testing';
223
+
224
+ const fixture = TestBed.createComponent(MyComponent);
225
+ const harness = new NgxComponentTestHarness(fixture);
226
+ harness.setInput('disabled', true);
227
+ harness.detectChanges();
228
+ expect(harness.query('button')?.hasAttribute('disabled')).toBeTrue();
229
+ ```
230
+
231
+ ## Component Highlights
232
+
233
+ This is a representative component index, not an exhaustive catalogue. The root
234
+ [README](../../README.md) is the source of truth for the complete component list
235
+ by public secondary entry point, including i18n and testing.
54
236
 
55
237
  ### Charts
56
238
 
@@ -151,30 +333,46 @@ import { GanttChartComponent, GanttTask, GanttDependency, DependencyType } from
151
333
  (taskClick)="onTaskClick($event)"
152
334
  />
153
335
  `,
154
- styles: [`
155
- ngx-gantt-chart { height: 500px; }
156
- `]
336
+ styles: [
337
+ `
338
+ ngx-gantt-chart {
339
+ height: 500px;
340
+ }
341
+ `,
342
+ ],
157
343
  })
158
344
  export class MyComponent {
159
345
  tasks: GanttTask[] = [
160
346
  {
161
- id: '1', name: 'Design', progress: 100,
162
- start: new Date('2026-04-01'), end: new Date('2026-04-05'),
163
- parentId: null, collapsed: false, isMilestone: false,
347
+ id: '1',
348
+ name: 'Design',
349
+ progress: 100,
350
+ start: new Date('2026-04-01'),
351
+ end: new Date('2026-04-05'),
352
+ parentId: null,
353
+ collapsed: false,
354
+ isMilestone: false,
164
355
  },
165
356
  {
166
- id: '2', name: 'Development', progress: 40,
167
- start: new Date('2026-04-06'), end: new Date('2026-04-15'),
168
- parentId: null, collapsed: false, isMilestone: false,
357
+ id: '2',
358
+ name: 'Development',
359
+ progress: 40,
360
+ start: new Date('2026-04-06'),
361
+ end: new Date('2026-04-15'),
362
+ parentId: null,
363
+ collapsed: false,
364
+ isMilestone: false,
169
365
  },
170
366
  ];
171
367
 
172
- dependencies: GanttDependency[] = [
173
- { fromId: '1', toId: '2', type: DependencyType.FinishToStart },
174
- ];
368
+ dependencies: GanttDependency[] = [{ fromId: '1', toId: '2', type: DependencyType.FinishToStart }];
175
369
 
176
- onTaskChange(event: any) { /* handle drag/resize */ }
177
- onTaskClick(event: any) { /* handle click */ }
370
+ onTaskChange(event: any) {
371
+ /* handle drag/resize */
372
+ }
373
+ onTaskClick(event: any) {
374
+ /* handle click */
375
+ }
178
376
  }
179
377
  ```
180
378
 
@@ -188,12 +386,7 @@ import { TextBoxComponent, DropdownComponent, type DropdownOption } from 'ngx-co
188
386
  standalone: true,
189
387
  imports: [TextBoxComponent, DropdownComponent],
190
388
  template: `
191
- <ngx-textbox
192
- [value]="name()"
193
- label="Full Name"
194
- placeholder="Enter your name"
195
- (valueChange)="name.set($event)"
196
- />
389
+ <ngx-textbox [value]="name()" label="Full Name" placeholder="Enter your name" (valueChange)="name.set($event)" />
197
390
 
198
391
  <ngx-dropdown
199
392
  [options]="countries"
@@ -343,9 +536,16 @@ This section provides complete documentation, detailed API reference tables (Inp
343
536
  ### Charts
344
537
 
345
538
  #### How to Use Charts
539
+
346
540
  ```typescript
347
541
  import { Component } from '@angular/core';
348
- import { BarChartComponent, LineChartComponent, PieChartComponent, SparklineComponent, GanttChartComponent } from 'ngx-core-components/charts';
542
+ import {
543
+ BarChartComponent,
544
+ LineChartComponent,
545
+ PieChartComponent,
546
+ SparklineComponent,
547
+ GanttChartComponent,
548
+ } from 'ngx-core-components/charts';
349
549
 
350
550
  @Component({
351
551
  standalone: true,
@@ -362,7 +562,7 @@ import { BarChartComponent, LineChartComponent, PieChartComponent, SparklineComp
362
562
 
363
563
  <!-- Sparkline -->
364
564
  <ngx-sparkline [data]="[10, 15, 8, 22, 14, 25]" type="area" color="#2ecc71" />
365
- `
565
+ `,
366
566
  })
367
567
  export class ChartsExampleComponent {
368
568
  categories = ['Q1', 'Q2', 'Q3', 'Q4'];
@@ -371,50 +571,55 @@ export class ChartsExampleComponent {
371
571
  pieData = [
372
572
  { label: 'Search', value: 55 },
373
573
  { label: 'Direct', value: 30 },
374
- { label: 'Social', value: 15 }
574
+ { label: 'Social', value: 15 },
375
575
  ];
376
576
  }
377
577
  ```
378
578
 
379
579
  #### GanttChartComponent (`ngx-gantt-chart`)
580
+
380
581
  ##### Inputs
381
- | Input | Type | Default | Description |
382
- |---|---|---|---|
383
- | `tasks` | `GanttTask[]` | **required** | Array of tasks to display |
384
- | `dependencies` | `GanttDependency[]` | `[]` | Predecessor/successor dependencies |
385
- | `config` | `Partial<GanttConfig>` | `{}` | Config settings (zoom level, column/row sizes) |
386
- | `groups` | `GanttGroup[]` | `[]` | Group tasks by category or assignee |
387
- | `baselineItems` | `GanttBaselineItem[]` | `[]` | Baseline bars for progress comparisons |
388
- | `tooltipTemplate` | `TemplateRef<...>` | `null` | Custom tooltip template reference |
389
- | `enableDragToZoom` | `boolean` | `false` | Enable drag-to-zoom timeline selection |
582
+
583
+ | Input | Type | Default | Description |
584
+ | ------------------ | ---------------------- | ------------ | ---------------------------------------------- |
585
+ | `tasks` | `GanttTask[]` | **required** | Array of tasks to display |
586
+ | `dependencies` | `GanttDependency[]` | `[]` | Predecessor/successor dependencies |
587
+ | `config` | `Partial<GanttConfig>` | `{}` | Config settings (zoom level, column/row sizes) |
588
+ | `groups` | `GanttGroup[]` | `[]` | Group tasks by category or assignee |
589
+ | `baselineItems` | `GanttBaselineItem[]` | `[]` | Baseline bars for progress comparisons |
590
+ | `tooltipTemplate` | `TemplateRef<...>` | `null` | Custom tooltip template reference |
591
+ | `enableDragToZoom` | `boolean` | `false` | Enable drag-to-zoom timeline selection |
390
592
 
391
593
  ##### Outputs
392
- | Output | Type | Description |
393
- |---|---|---|
394
- | `taskChange` | `GanttTaskChangeEvent` | Emitted when task dates or progress are changed via dragging/resizing |
395
- | `taskClick` | `GanttTaskClickEvent` | Emitted when a task bar is clicked |
396
- | `taskDblClick` | `GanttTaskClickEvent` | Emitted when a task bar is double clicked |
397
- | `dependencyClick` | `GanttDependencyClickEvent` | Emitted when a dependency connector line is clicked |
398
- | `zoomChange` | `ZoomLevel` | Emitted when the active zoom level shifts |
399
- | `zoomRangeChange` | `{ start: Date; end: Date }` | Emitted when a drag-zoom range is selected |
400
- | `selectedChange` | `GanttSelectedEvent` | Emitted when selected tasks change |
401
- | `expandChange` | `GanttExpandChangeEvent` | Emitted when a task or group node collapses/expands |
402
- | `loadOnScroll` | `GanttLoadOnScrollEvent` | Emitted when horizontal scroll reaches close to ends (lazy loading) |
594
+
595
+ | Output | Type | Description |
596
+ | ----------------- | ---------------------------- | --------------------------------------------------------------------- |
597
+ | `taskChange` | `GanttTaskChangeEvent` | Emitted when task dates or progress are changed via dragging/resizing |
598
+ | `taskClick` | `GanttTaskClickEvent` | Emitted when a task bar is clicked |
599
+ | `taskDblClick` | `GanttTaskClickEvent` | Emitted when a task bar is double clicked |
600
+ | `dependencyClick` | `GanttDependencyClickEvent` | Emitted when a dependency connector line is clicked |
601
+ | `zoomChange` | `ZoomLevel` | Emitted when the active zoom level shifts |
602
+ | `zoomRangeChange` | `{ start: Date; end: Date }` | Emitted when a drag-zoom range is selected |
603
+ | `selectedChange` | `GanttSelectedEvent` | Emitted when selected tasks change |
604
+ | `expandChange` | `GanttExpandChangeEvent` | Emitted when a task or group node collapses/expands |
605
+ | `loadOnScroll` | `GanttLoadOnScrollEvent` | Emitted when horizontal scroll reaches close to ends (lazy loading) |
403
606
 
404
607
  ##### Public Methods
405
- | Method | Signature | Description |
406
- |---|---|---|
407
- | `scrollToToday` | `(): void` | Scroll view to current date |
408
- | `scrollToDate` | `(date: Date): void` | Scroll view to a specific date |
409
- | `scrollToTask` | `(taskId: string): void` | Scroll vertically to focus a specific task row |
410
- | `expandAll` | `(): void` | Expand all collapsed rows |
411
- | `collapseAll` | `(): void` | Collapse all expandable rows |
412
- | `toggleCriticalPath` | `(): void` | Toggle visibility of critical path tasks |
413
- | `toggleAreaZoomMode` | `(): void` | Toggle crosshair area-zoom selector |
414
- | `resetZoom` | `(): void` | Reset zoom to standard scale |
415
- | `exportAsImage` | `(filename?: string): Promise<void>` | Export Gantt view to PNG download |
608
+
609
+ | Method | Signature | Description |
610
+ | -------------------- | ------------------------------------ | ---------------------------------------------- |
611
+ | `scrollToToday` | `(): void` | Scroll view to current date |
612
+ | `scrollToDate` | `(date: Date): void` | Scroll view to a specific date |
613
+ | `scrollToTask` | `(taskId: string): void` | Scroll vertically to focus a specific task row |
614
+ | `expandAll` | `(): void` | Expand all collapsed rows |
615
+ | `collapseAll` | `(): void` | Collapse all expandable rows |
616
+ | `toggleCriticalPath` | `(): void` | Toggle visibility of critical path tasks |
617
+ | `toggleAreaZoomMode` | `(): void` | Toggle crosshair area-zoom selector |
618
+ | `resetZoom` | `(): void` | Reset zoom to standard scale |
619
+ | `exportAsImage` | `(filename?: string): Promise<void>` | Export Gantt view to PNG download |
416
620
 
417
621
  ##### GanttConfig Interface
622
+
418
623
  ```typescript
419
624
  interface GanttConfig {
420
625
  zoomLevel: 'hour' | 'day' | 'week' | 'month' | 'quarter' | 'year';
@@ -431,6 +636,7 @@ interface GanttConfig {
431
636
  ```
432
637
 
433
638
  ##### GanttTask Interface
639
+
434
640
  ```typescript
435
641
  interface GanttTask {
436
642
  id: string;
@@ -449,132 +655,153 @@ interface GanttTask {
449
655
  ```
450
656
 
451
657
  #### BarChartComponent (`ngx-bar-chart`)
658
+
452
659
  ##### Inputs
453
- | Input | Type | Default | Description |
454
- |---|---|---|---|
455
- | `series` | `ChartSeries[]` | `[]` | Array of series data objects |
456
- | `categories` | `string[]` | `[]` | X-axis labels |
457
- | `height` | `number` | `260` | SVG height in pixels |
458
- | `showGrid` | `boolean` | `true` | Show horizontal grid lines |
459
- | `showLabels` | `boolean` | `false` | Show value label above bars |
460
- | `showLegend` | `boolean` | `true` | Show color legend indicators |
461
- | `colors` | `string[]` | _theme_ | Custom color palette overrides |
660
+
661
+ | Input | Type | Default | Description |
662
+ | ------------ | --------------- | ------- | ------------------------------ |
663
+ | `series` | `ChartSeries[]` | `[]` | Array of series data objects |
664
+ | `categories` | `string[]` | `[]` | X-axis labels |
665
+ | `height` | `number` | `260` | SVG height in pixels |
666
+ | `showGrid` | `boolean` | `true` | Show horizontal grid lines |
667
+ | `showLabels` | `boolean` | `false` | Show value label above bars |
668
+ | `showLegend` | `boolean` | `true` | Show color legend indicators |
669
+ | `colors` | `string[]` | _theme_ | Custom color palette overrides |
462
670
 
463
671
  #### LineChartComponent (`ngx-line-chart`)
672
+
464
673
  ##### Inputs
465
- | Input | Type | Default | Description |
466
- |---|---|---|---|
467
- | `series` | `ChartSeries[]` | `[]` | Array of line series data |
468
- | `categories` | `string[]` | `[]` | X-axis labels |
469
- | `height` | `number` | `260` | SVG height |
470
- | `showGrid` | `boolean` | `true` | Show horizontal grid lines |
471
- | `showArea` | `boolean` | `false` | Show area fill gradients below lines |
472
- | `showMarkers` | `boolean` | `true` | Show circles on data points |
473
- | `showLegend` | `boolean` | `true` | Show color legends |
474
- | `colors` | `string[]` | _theme_ | Custom color palette |
674
+
675
+ | Input | Type | Default | Description |
676
+ | ------------- | --------------- | ------- | ------------------------------------ |
677
+ | `series` | `ChartSeries[]` | `[]` | Array of line series data |
678
+ | `categories` | `string[]` | `[]` | X-axis labels |
679
+ | `height` | `number` | `260` | SVG height |
680
+ | `showGrid` | `boolean` | `true` | Show horizontal grid lines |
681
+ | `showArea` | `boolean` | `false` | Show area fill gradients below lines |
682
+ | `showMarkers` | `boolean` | `true` | Show circles on data points |
683
+ | `showLegend` | `boolean` | `true` | Show color legends |
684
+ | `colors` | `string[]` | _theme_ | Custom color palette |
475
685
 
476
686
  #### PieChartComponent (`ngx-pie-chart`)
687
+
477
688
  ##### Inputs
478
- | Input | Type | Default | Description |
479
- |---|---|---|---|
480
- | `data` | `ChartDataPoint[]` | `[]` | Array of slice data objects |
481
- | `mode` | `'pie' \| 'donut'` | `'pie'` | Chart layout variant |
482
- | `donutHoleSize` | `number` | `0.55` | Inner circle size ratio for donut charts |
483
- | `height` | `number` | `240` | SVG size (width & height) |
484
- | `showLegend` | `boolean` | `true` | Show Legend beside chart |
485
- | `showLabels` | `boolean` | `true` | Show percentage label on slices |
486
- | `centerTitle` | `string` | `'Total'` | Donut center placeholder text |
487
- | `colors` | `string[]` | _theme_ | Color palette overrides |
689
+
690
+ | Input | Type | Default | Description |
691
+ | --------------- | ------------------ | --------- | ---------------------------------------- |
692
+ | `data` | `ChartDataPoint[]` | `[]` | Array of slice data objects |
693
+ | `mode` | `'pie' \| 'donut'` | `'pie'` | Chart layout variant |
694
+ | `donutHoleSize` | `number` | `0.55` | Inner circle size ratio for donut charts |
695
+ | `height` | `number` | `240` | SVG size (width & height) |
696
+ | `showLegend` | `boolean` | `true` | Show Legend beside chart |
697
+ | `showLabels` | `boolean` | `true` | Show percentage label on slices |
698
+ | `centerTitle` | `string` | `'Total'` | Donut center placeholder text |
699
+ | `colors` | `string[]` | _theme_ | Color palette overrides |
488
700
 
489
701
  #### SparklineComponent (`ngx-sparkline`)
702
+
490
703
  ##### Inputs
491
- | Input | Type | Default | Description |
492
- |---|---|---|---|
493
- | `data` | `number[]` | `[]` | Numeric trend values |
494
- | `type` | `'line' \| 'bar' \| 'area'` | `'line'` | Display style |
495
- | `color` | `string` | `'#4a90d9'` | Stroke or fill color |
496
- | `width` | `number` | `120` | SVG width |
497
- | `height` | `number` | `36` | SVG height |
704
+
705
+ | Input | Type | Default | Description |
706
+ | -------- | --------------------------- | ----------- | -------------------- |
707
+ | `data` | `number[]` | `[]` | Numeric trend values |
708
+ | `type` | `'line' \| 'bar' \| 'area'` | `'line'` | Display style |
709
+ | `color` | `string` | `'#4a90d9'` | Stroke or fill color |
710
+ | `width` | `number` | `120` | SVG width |
711
+ | `height` | `number` | `36` | SVG height |
498
712
 
499
713
  #### AgenticCognitiveTopologyComponent (`ngx-agentic-cognitive-topology`)
714
+
500
715
  A dynamic visual representation of an agentic cognitive workflow (directed acyclic graph) supporting real-time interaction, automatic level sorting layouts, snapping grid alignment, properties modal editing, and drag-and-drop link creation.
501
716
 
502
717
  ##### Inputs
503
- | Input | Type | Default | Description |
504
- |---|---|---|---|
505
- | `nodes` | `TopologyNode[]` | **required** | List of workflow nodes |
506
- | `links` | `TopologyLink[]` | **required** | Directed edges between nodes |
507
- | `width` | `number` | `650` | SVG width |
508
- | `height` | `number` | `450` | SVG height |
509
- | `colors` | `string[]` | `CHART_COLORS` | Custom node color palette |
510
- | `showExport` | `boolean` | `true` | Show export options dropdown |
511
- | `editable` | `boolean` | `false` | Enable interactive canvas editor |
512
- | `gridSize` | `number` | `20` | Size of snap-to-grid alignment |
718
+
719
+ | Input | Type | Default | Description |
720
+ | ------------ | ---------------- | -------------- | -------------------------------- |
721
+ | `nodes` | `TopologyNode[]` | **required** | List of workflow nodes |
722
+ | `links` | `TopologyLink[]` | **required** | Directed edges between nodes |
723
+ | `width` | `number` | `650` | SVG width |
724
+ | `height` | `number` | `450` | SVG height |
725
+ | `colors` | `string[]` | `CHART_COLORS` | Custom node color palette |
726
+ | `showExport` | `boolean` | `true` | Show export options dropdown |
727
+ | `editable` | `boolean` | `false` | Enable interactive canvas editor |
728
+ | `gridSize` | `number` | `20` | Size of snap-to-grid alignment |
513
729
 
514
730
  ##### Outputs
515
- | Output | Type | Description |
516
- |---|---|---|
517
- | `nodeActionClick` | `{ nodeId: string; action: string }` | Emitted when an action is selected in the node tooltip |
518
- | `nodePositionChange` | `{ nodeId: string; x: number; y: number }` | Emitted when a node is dragged and repositioned |
519
- | `nodesChange` | `TopologyNode[]` | Emitted in edit mode when nodes are added, edited, or deleted |
520
- | `linksChange` | `TopologyLink[]` | Emitted in edit mode when links are added or deleted |
521
- | `validationError` | `string` | Emitted when editor validations (e.g. cycles) are violated or copy notices occur |
731
+
732
+ | Output | Type | Description |
733
+ | -------------------- | ------------------------------------------ | -------------------------------------------------------------------------------- |
734
+ | `nodeActionClick` | `{ nodeId: string; action: string }` | Emitted when an action is selected in the node tooltip |
735
+ | `nodePositionChange` | `{ nodeId: string; x: number; y: number }` | Emitted when a node is dragged and repositioned |
736
+ | `nodesChange` | `TopologyNode[]` | Emitted in edit mode when nodes are added, edited, or deleted |
737
+ | `linksChange` | `TopologyLink[]` | Emitted in edit mode when links are added or deleted |
738
+ | `validationError` | `string` | Emitted when editor validations (e.g. cycles) are violated or copy notices occur |
522
739
 
523
740
  ##### Public Methods
524
- | Method | Signature | Description |
525
- |---|---|---|
526
- | `autoLayout` | `(): void` | Clear all overrides and automatically arrange nodes using topological layer sorting |
527
- | `undo` | `(): void` | Undo the last editor action |
528
- | `redo` | `(): void` | Redo the last undone editor action |
529
- | `exportWorkflowSchema` | `(): void` | Copies the current workflow layout as a LangGraph-compatible JSON schema |
741
+
742
+ | Method | Signature | Description |
743
+ | ---------------------- | ---------- | ----------------------------------------------------------------------------------- |
744
+ | `autoLayout` | `(): void` | Clear all overrides and automatically arrange nodes using topological layer sorting |
745
+ | `undo` | `(): void` | Undo the last editor action |
746
+ | `redo` | `(): void` | Redo the last undone editor action |
747
+ | `exportWorkflowSchema` | `(): void` | Copies the current workflow layout as a LangGraph-compatible JSON schema |
530
748
 
531
749
  #### TokenStreamingChartComponent (`ngx-token-streaming-chart`)
750
+
532
751
  Real-time streaming chart optimized for rendering active LLM token generation metrics, showing speed (tokens per second), latency, and dynamic target highlights.
533
752
 
534
753
  ##### Inputs
535
- | Input | Type | Default | Description |
536
- |---|---|---|---|
537
- | `data` | `number[]` | `[]` | Sequential generation speed values |
538
- | `height` | `number` | `180` | Chart height in pixels |
539
- | `threshold` | `number \| null` | `null` | Optional threshold alert limit |
540
- | `showGrid` | `boolean` | `true` | Render horizontal grid lines |
754
+
755
+ | Input | Type | Default | Description |
756
+ | ----------- | ---------------- | ------- | ---------------------------------- |
757
+ | `data` | `number[]` | `[]` | Sequential generation speed values |
758
+ | `height` | `number` | `180` | Chart height in pixels |
759
+ | `threshold` | `number \| null` | `null` | Optional threshold alert limit |
760
+ | `showGrid` | `boolean` | `true` | Render horizontal grid lines |
541
761
 
542
762
  ##### Public Methods
543
- | Method | Signature | Description |
544
- |---|---|---|
545
- | `setPoints` | `(newPoints: number[]): void` | Reset streaming points |
546
- | `clearPoints` | `(): void` | Clear all points and reset charts |
763
+
764
+ | Method | Signature | Description |
765
+ | ------------- | ----------------------------- | --------------------------------- |
766
+ | `setPoints` | `(newPoints: number[]): void` | Reset streaming points |
767
+ | `clearPoints` | `(): void` | Clear all points and reset charts |
547
768
 
548
769
  #### EmbeddingSpaceProjectionComponent (`ngx-embedding-space-projection`)
770
+
549
771
  Interactive multi-dimensional vector space projection (scatterplot layout) supporting visual cluster selection, lasso path tracing, and target distance query helpers.
550
772
 
551
773
  ##### Inputs
552
- | Input | Type | Default | Description |
553
- |---|---|---|---|
774
+
775
+ | Input | Type | Default | Description |
776
+ | -------- | ------------------ | ------------ | -------------------------------------- |
554
777
  | `points` | `EmbeddingPoint[]` | **required** | Coordinates and metadata of embeddings |
555
- | `height` | `number` | `360` | SVG container height |
778
+ | `height` | `number` | `360` | SVG container height |
556
779
 
557
780
  ##### Outputs
558
- | Output | Type | Description |
559
- |---|---|---|
560
- | `lassoSelected` | `string[]` | Emitted with list of selected point IDs after drawing a lasso path |
781
+
782
+ | Output | Type | Description |
783
+ | ------------------- | ---------------------------------------------- | ---------------------------------------------------------------------- |
784
+ | `lassoSelected` | `string[]` | Emitted with list of selected point IDs after drawing a lasso path |
561
785
  | `agentQueryRequest` | `{ selectedIds: string[]; queryType: string }` | Emitted when triggering semantic action queries on selected embeddings |
562
786
 
563
787
  #### TransformerAttentionHeatmapComponent (`ngx-transformer-attention-heatmap`)
788
+
564
789
  Interactive visualization mapping matrix weights between input and output tokens across selected transformer attention heads, highlighting key focus weights.
565
790
 
566
791
  ##### Inputs
567
- | Input | Type | Default | Description |
568
- |---|---|---|---|
569
- | `tokensX` | `string[]` | **required** | Horizontal axis token strings |
570
- | `tokensY` | `string[]` | **required** | Vertical axis token strings |
792
+
793
+ | Input | Type | Default | Description |
794
+ | --------- | ------------ | ------------ | ----------------------------------------------- |
795
+ | `tokensX` | `string[]` | **required** | Horizontal axis token strings |
796
+ | `tokensY` | `string[]` | **required** | Vertical axis token strings |
571
797
  | `weights` | `number[][]` | **required** | M x N matrix representing attention intensities |
572
- | `height` | `number` | `300` | Grid container height |
798
+ | `height` | `number` | `300` | Grid container height |
573
799
 
574
800
  ##### Outputs
575
- | Output | Type | Description |
576
- |---|---|---|
577
- | `cellClick` | `{ row: number; col: number; weight: number }` | Emitted when clicking an individual weight square |
801
+
802
+ | Output | Type | Description |
803
+ | ------------ | ------------------------------------------------------------------- | ----------------------------------------------------- |
804
+ | `cellClick` | `{ row: number; col: number; weight: number }` | Emitted when clicking an individual weight square |
578
805
  | `agentQuery` | `{ query: string; tokenY: string; tokenX: string; weight: number }` | Emitted when triggering AI queries on cell highlights |
579
806
 
580
807
  ---
@@ -582,10 +809,16 @@ Interactive visualization mapping matrix weights between input and output tokens
582
809
  ### Inputs
583
810
 
584
811
  #### How to Use Inputs (with Reactive Forms)
812
+
585
813
  ```typescript
586
814
  import { Component } from '@angular/core';
587
815
  import { FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';
588
- import { TextBoxComponent, DropdownComponent, DatePickerComponent, NumericTextBoxComponent } from 'ngx-core-components/inputs';
816
+ import {
817
+ TextBoxComponent,
818
+ DropdownComponent,
819
+ DatePickerComponent,
820
+ NumericTextBoxComponent,
821
+ } from 'ngx-core-components/inputs';
589
822
 
590
823
  @Component({
591
824
  standalone: true,
@@ -597,277 +830,326 @@ import { TextBoxComponent, DropdownComponent, DatePickerComponent, NumericTextBo
597
830
  <ngx-date-picker formControlName="birthDate" label="Birth Date" />
598
831
  <ngx-numeric-textbox formControlName="age" label="Age" [min]="18" [max]="99" />
599
832
  </form>
600
- `
833
+ `,
601
834
  })
602
835
  export class FormComponent {
603
- roles = [{ label: 'Admin', value: 'admin' }, { label: 'User', value: 'user' }];
836
+ roles = [
837
+ { label: 'Admin', value: 'admin' },
838
+ { label: 'User', value: 'user' },
839
+ ];
604
840
  form = new FormGroup({
605
841
  username: new FormControl(''),
606
842
  role: new FormControl('user'),
607
843
  birthDate: new FormControl<Date | null>(null),
608
- age: new FormControl(18)
844
+ age: new FormControl(18),
609
845
  });
610
846
  }
611
847
  ```
612
848
 
613
849
  #### TextBoxComponent (`ngx-textbox`)
850
+
614
851
  ##### Inputs
615
- | Input | Type | Default | Description |
616
- |---|---|---|---|
617
- | `value` | `string` | `''` | Current string value |
618
- | `label` | `string` | `''` | Floating/static label |
619
- | `placeholder` | `string` | `''` | Placeholder text |
620
- | `type` | `string` | `'text'` | HTML input type attribute |
621
- | `disabled` | `boolean` | `false` | Disabled state |
622
- | `readonly` | `boolean` | `false` | Read-only mode |
623
- | `error` | `string` | `''` | Error message displayed below input |
624
- | `hint` | `string` | `''` | Hint text displayed below input |
625
- | `maxlength` | `number` | `0` | Max characters allowed |
626
- | `clearable` | `boolean` | `false` | Show clear button |
627
- | `showCharCount` | `boolean` | `false` | Display character counter |
628
- | `prefixIcon` | `string` | `''` | Text/icon shown before text |
629
- | `suffixIcon` | `string` | `''` | Text/icon shown after text |
630
- | `passwordToggle` | `boolean` | `false` | Show password visibility eye icon |
852
+
853
+ | Input | Type | Default | Description |
854
+ | ---------------- | --------- | -------- | ----------------------------------- |
855
+ | `value` | `string` | `''` | Current string value |
856
+ | `label` | `string` | `''` | Floating/static label |
857
+ | `placeholder` | `string` | `''` | Placeholder text |
858
+ | `type` | `string` | `'text'` | HTML input type attribute |
859
+ | `disabled` | `boolean` | `false` | Disabled state |
860
+ | `readonly` | `boolean` | `false` | Read-only mode |
861
+ | `error` | `string` | `''` | Error message displayed below input |
862
+ | `hint` | `string` | `''` | Hint text displayed below input |
863
+ | `maxlength` | `number` | `0` | Max characters allowed |
864
+ | `clearable` | `boolean` | `false` | Show clear button |
865
+ | `showCharCount` | `boolean` | `false` | Display character counter |
866
+ | `prefixIcon` | `string` | `''` | Text/icon shown before text |
867
+ | `suffixIcon` | `string` | `''` | Text/icon shown after text |
868
+ | `passwordToggle` | `boolean` | `false` | Show password visibility eye icon |
631
869
 
632
870
  ##### Outputs
633
- | Output | Type | Description |
634
- |---|---|---|
635
- | `valueChange` | `string` | Emitted when value is changed |
871
+
872
+ | Output | Type | Description |
873
+ | ------------- | --------- | -------------------------------------------- |
874
+ | `valueChange` | `string` | Emitted when value is changed |
636
875
  | `focusChange` | `boolean` | Emitted on focus (`true`) and blur (`false`) |
637
876
 
638
877
  #### CheckboxComponent (`ngx-checkbox`)
878
+
639
879
  ##### Inputs
640
- | Input | Type | Default | Description |
641
- |---|---|---|---|
642
- | `label` | `string` | `''` | Label next to checkbox |
643
- | `checked` | `boolean` | `false` | Checked state |
644
- | `disabled` | `boolean` | `false` | Disabled state |
880
+
881
+ | Input | Type | Default | Description |
882
+ | --------------- | --------- | ------- | ------------------------ |
883
+ | `label` | `string` | `''` | Label next to checkbox |
884
+ | `checked` | `boolean` | `false` | Checked state |
885
+ | `disabled` | `boolean` | `false` | Disabled state |
645
886
  | `indeterminate` | `boolean` | `false` | Indeterminate line state |
646
887
 
647
888
  ##### Outputs
648
- | Output | Type | Description |
649
- |---|---|---|
889
+
890
+ | Output | Type | Description |
891
+ | --------------- | --------- | --------------------- |
650
892
  | `checkedChange` | `boolean` | Checked state changed |
651
893
 
652
894
  #### RadioGroupComponent (`ngx-radio-group`)
895
+
653
896
  ##### Inputs
654
- | Input | Type | Default | Description |
655
- |---|---|---|---|
656
- | `options` | `RadioOption[]` | `[]` | Array of radio options |
657
- | `label` | `string` | `''` | Radio group header label |
658
- | `value` | `unknown` | `null` | Selected option value |
659
- | `disabled` | `boolean` | `false` | Disable all controls |
660
- | `inline` | `boolean` | `false` | Render horizontally |
897
+
898
+ | Input | Type | Default | Description |
899
+ | ---------- | --------------- | ------- | ------------------------ |
900
+ | `options` | `RadioOption[]` | `[]` | Array of radio options |
901
+ | `label` | `string` | `''` | Radio group header label |
902
+ | `value` | `unknown` | `null` | Selected option value |
903
+ | `disabled` | `boolean` | `false` | Disable all controls |
904
+ | `inline` | `boolean` | `false` | Render horizontally |
661
905
 
662
906
  ##### Outputs
663
- | Output | Type | Description |
664
- |---|---|---|
907
+
908
+ | Output | Type | Description |
909
+ | ------------- | --------- | ------------- |
665
910
  | `valueChange` | `unknown` | Value changed |
666
911
 
667
912
  #### DropdownComponent (`ngx-dropdown`)
913
+
668
914
  ##### Inputs
669
- | Input | Type | Default | Description |
670
- |---|---|---|---|
671
- | `options` | `DropdownOption[]` | `[]` | Selectable options list |
672
- | `value` | `unknown` | `null` | Selected item value |
673
- | `label` | `string` | `''` | Header label |
674
- | `placeholder` | `string` | `'Select...'` | Empty selection placeholder |
675
- | `disabled` | `boolean` | `false` | Disabled state |
676
- | `filterable` | `boolean` | `false` | Add filter search box |
677
- | `required` | `boolean` | `false` | Show required red asterisk |
678
- | `error` | `string` | `''` | Error message |
679
- | `hint` | `string` | `''` | Hint text |
915
+
916
+ | Input | Type | Default | Description |
917
+ | ------------- | ------------------ | ------------- | --------------------------- |
918
+ | `options` | `DropdownOption[]` | `[]` | Selectable options list |
919
+ | `value` | `unknown` | `null` | Selected item value |
920
+ | `label` | `string` | `''` | Header label |
921
+ | `placeholder` | `string` | `'Select...'` | Empty selection placeholder |
922
+ | `disabled` | `boolean` | `false` | Disabled state |
923
+ | `filterable` | `boolean` | `false` | Add filter search box |
924
+ | `required` | `boolean` | `false` | Show required red asterisk |
925
+ | `error` | `string` | `''` | Error message |
926
+ | `hint` | `string` | `''` | Hint text |
680
927
 
681
928
  ##### Outputs
682
- | Output | Type | Description |
683
- |---|---|---|
929
+
930
+ | Output | Type | Description |
931
+ | ------------- | --------- | ------------------------------ |
684
932
  | `valueChange` | `unknown` | Emitted when selection changes |
685
933
 
686
934
  #### MultiSelectComponent (`ngx-multi-select`)
935
+
687
936
  ##### Inputs
688
- | Input | Type | Default | Description |
689
- |---|---|---|---|
690
- | `options` | `DropdownOption[]` | `[]` | Selectable options |
691
- | `values` | `unknown[]` | `[]` | Array of selected values |
692
- | `label` | `string` | `''` | Header label |
693
- | `placeholder` | `string` | `'Select...'` | Input placeholder |
694
- | `disabled` | `boolean` | `false` | Disable component |
695
- | `filterable` | `boolean` | `false` | Show input filter search |
696
- | `maxTags` | `number` | `Infinity` | Max tag chips visible before overflow indicator |
937
+
938
+ | Input | Type | Default | Description |
939
+ | ------------- | ------------------ | ------------- | ----------------------------------------------- |
940
+ | `options` | `DropdownOption[]` | `[]` | Selectable options |
941
+ | `values` | `unknown[]` | `[]` | Array of selected values |
942
+ | `label` | `string` | `''` | Header label |
943
+ | `placeholder` | `string` | `'Select...'` | Input placeholder |
944
+ | `disabled` | `boolean` | `false` | Disable component |
945
+ | `filterable` | `boolean` | `false` | Show input filter search |
946
+ | `maxTags` | `number` | `Infinity` | Max tag chips visible before overflow indicator |
697
947
 
698
948
  ##### Outputs
699
- | Output | Type | Description |
700
- |---|---|---|
949
+
950
+ | Output | Type | Description |
951
+ | -------------- | ----------- | ---------------------- |
701
952
  | `valuesChange` | `unknown[]` | Selected items changed |
702
953
 
703
954
  #### AutocompleteComponent (`ngx-autocomplete`)
955
+
704
956
  ##### Inputs
705
- | Input | Type | Default | Description |
706
- |---|---|---|---|
707
- | `options` | `DropdownOption[]` | `[]` | Search recommendation list |
708
- | `label` | `string` | `''` | Header label |
709
- | `placeholder` | `string` | `'Type to search...'` | Input placeholder |
710
- | `disabled` | `boolean` | `false` | Disable autocomplete |
711
- | `error` | `string` | `''` | Error text |
712
- | `minLength` | `number` | `1` | Min characters typed before suggesting options |
957
+
958
+ | Input | Type | Default | Description |
959
+ | ------------- | ------------------ | --------------------- | ---------------------------------------------- |
960
+ | `options` | `DropdownOption[]` | `[]` | Search recommendation list |
961
+ | `label` | `string` | `''` | Header label |
962
+ | `placeholder` | `string` | `'Type to search...'` | Input placeholder |
963
+ | `disabled` | `boolean` | `false` | Disable autocomplete |
964
+ | `error` | `string` | `''` | Error text |
965
+ | `minLength` | `number` | `1` | Min characters typed before suggesting options |
713
966
 
714
967
  ##### Outputs
715
- | Output | Type | Description |
716
- |---|---|---|
968
+
969
+ | Output | Type | Description |
970
+ | ------------- | --------- | ------------------------------ |
717
971
  | `valueChange` | `unknown` | Suggestion selected or cleared |
718
972
 
719
973
  #### DatePickerComponent (`ngx-date-picker`)
974
+
720
975
  ##### Inputs
721
- | Input | Type | Default | Description |
722
- |---|---|---|---|
723
- | `value` | `Date \| null` | `null` | Selected Date |
724
- | `label` | `string` | `''` | Input label |
725
- | `placeholder` | `string` | `'Select date...'` | Input placeholder |
726
- | `disabled` | `boolean` | `false` | Disable datepicker |
727
- | `min` | `Date \| null` | `null` | Earliest selection limit |
728
- | `max` | `Date \| null` | `null` | Latest selection limit |
729
- | `format` | `string` | `'MM/dd/yyyy'` | Format layout |
976
+
977
+ | Input | Type | Default | Description |
978
+ | ------------- | -------------- | ------------------ | ------------------------ |
979
+ | `value` | `Date \| null` | `null` | Selected Date |
980
+ | `label` | `string` | `''` | Input label |
981
+ | `placeholder` | `string` | `'Select date...'` | Input placeholder |
982
+ | `disabled` | `boolean` | `false` | Disable datepicker |
983
+ | `min` | `Date \| null` | `null` | Earliest selection limit |
984
+ | `max` | `Date \| null` | `null` | Latest selection limit |
985
+ | `format` | `string` | `'MM/dd/yyyy'` | Format layout |
730
986
 
731
987
  ##### Outputs
732
- | Output | Type | Description |
733
- |---|---|---|
988
+
989
+ | Output | Type | Description |
990
+ | ------------- | -------------- | ---------------------- |
734
991
  | `valueChange` | `Date \| null` | Date selection changed |
735
992
 
736
993
  #### DateRangePickerComponent (`ngx-date-range-picker`)
994
+
737
995
  ##### Inputs
738
- | Input | Type | Default | Description |
739
- |---|---|---|---|
740
- | `label` | `string` | `''` | Input label |
741
- | `start` | `Date \| string \| null` | `null` | Selection start date |
742
- | `end` | `Date \| string \| null` | `null` | Selection end date |
743
- | `min` | `Date \| string \| null` | `null` | Min limits |
744
- | `max` | `Date \| string \| null` | `null` | Max limits |
745
- | `disabledDates` | `(Date \| string)[]` | `[]` | Disabled date values |
746
- | `presets` | `DateRangePreset[]` | _defaults_ | Fast presets (Today, Last 7 days, This Month) |
747
- | `weekStartsOn` | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6` | `0` | First day of week (0=Sunday) |
748
- | `disabled` | `boolean` | `false` | Disabled state |
996
+
997
+ | Input | Type | Default | Description |
998
+ | --------------- | --------------------------------- | ---------- | --------------------------------------------- |
999
+ | `label` | `string` | `''` | Input label |
1000
+ | `start` | `Date \| string \| null` | `null` | Selection start date |
1001
+ | `end` | `Date \| string \| null` | `null` | Selection end date |
1002
+ | `min` | `Date \| string \| null` | `null` | Min limits |
1003
+ | `max` | `Date \| string \| null` | `null` | Max limits |
1004
+ | `disabledDates` | `(Date \| string)[]` | `[]` | Disabled date values |
1005
+ | `presets` | `DateRangePreset[]` | _defaults_ | Fast presets (Today, Last 7 days, This Month) |
1006
+ | `weekStartsOn` | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6` | `0` | First day of week (0=Sunday) |
1007
+ | `disabled` | `boolean` | `false` | Disabled state |
749
1008
 
750
1009
  ##### Outputs
751
- | Output | Type | Description |
752
- |---|---|---|
1010
+
1011
+ | Output | Type | Description |
1012
+ | ------------- | -------------------------------- | -------------------------------------------------- |
753
1013
  | `rangeChange` | `{ start: string; end: string }` | Date range selection completed (YYYY-MM-DD format) |
754
- | `openChange` | `boolean` | Emitted when calendar overlay is opened/closed |
1014
+ | `openChange` | `boolean` | Emitted when calendar overlay is opened/closed |
755
1015
 
756
1016
  #### SliderComponent (`ngx-slider`)
1017
+
757
1018
  ##### Inputs
758
- | Input | Type | Default | Description |
759
- |---|---|---|---|
760
- | `label` | `string` | `''` | Slider label |
761
- | `min` | `number` | `0` | Min slider limit |
762
- | `max` | `number` | `100` | Max slider limit |
763
- | `step` | `number` | `1` | Drag interval size |
764
- | `range` | `boolean` | `false` | Enable double-handle range mode |
765
- | `disabled` | `boolean` | `false` | Disable component |
766
- | `showValue` | `boolean` | `true` | Display active values |
767
- | `showTicks` | `boolean` | `false` | Show min/max value indicators |
768
- | `initialValue` | `number` | `0` | Initial single value |
769
- | `initialLow` | `number` | `20` | Initial low value in range mode |
770
- | `initialHigh` | `number` | `80` | Initial high value in range mode |
1019
+
1020
+ | Input | Type | Default | Description |
1021
+ | -------------- | --------- | ------- | -------------------------------- |
1022
+ | `label` | `string` | `''` | Slider label |
1023
+ | `min` | `number` | `0` | Min slider limit |
1024
+ | `max` | `number` | `100` | Max slider limit |
1025
+ | `step` | `number` | `1` | Drag interval size |
1026
+ | `range` | `boolean` | `false` | Enable double-handle range mode |
1027
+ | `disabled` | `boolean` | `false` | Disable component |
1028
+ | `showValue` | `boolean` | `true` | Display active values |
1029
+ | `showTicks` | `boolean` | `false` | Show min/max value indicators |
1030
+ | `initialValue` | `number` | `0` | Initial single value |
1031
+ | `initialLow` | `number` | `20` | Initial low value in range mode |
1032
+ | `initialHigh` | `number` | `80` | Initial high value in range mode |
771
1033
 
772
1034
  ##### Outputs
773
- | Output | Type | Description |
774
- |---|---|---|
775
- | `valueChange` | `number` | Value changed (single handle) |
1035
+
1036
+ | Output | Type | Description |
1037
+ | ------------- | ------------------ | -------------------------------- |
1038
+ | `valueChange` | `number` | Value changed (single handle) |
776
1039
  | `rangeChange` | `[number, number]` | Emitted when range bounds change |
777
1040
 
778
1041
  #### SwitchComponent (`ngx-switch`)
1042
+
779
1043
  ##### Inputs
780
- | Input | Type | Default | Description |
781
- |---|---|---|---|
782
- | `onLabel` | `string` | `'On'` | Label when active |
783
- | `offLabel` | `string` | `'Off'` | Label when inactive |
784
- | `size` | `'sm' \| 'md' \| 'lg'` | `'md'` | Toggle size |
785
- | `disabled` | `boolean` | `false` | Disabled state |
1044
+
1045
+ | Input | Type | Default | Description |
1046
+ | ---------- | ---------------------- | ------- | ------------------- |
1047
+ | `onLabel` | `string` | `'On'` | Label when active |
1048
+ | `offLabel` | `string` | `'Off'` | Label when inactive |
1049
+ | `size` | `'sm' \| 'md' \| 'lg'` | `'md'` | Toggle size |
1050
+ | `disabled` | `boolean` | `false` | Disabled state |
786
1051
 
787
1052
  ##### Outputs
788
- | Output | Type | Description |
789
- |---|---|---|
1053
+
1054
+ | Output | Type | Description |
1055
+ | --------------- | --------- | ------------- |
790
1056
  | `checkedChange` | `boolean` | State toggled |
791
1057
 
792
1058
  #### RatingComponent (`ngx-rating`)
1059
+
793
1060
  ##### Inputs
794
- | Input | Type | Default | Description |
795
- |---|---|---|---|
796
- | `max` | `number` | `5` | Total stars to display |
797
- | `label` | `string` | `''` | Header label |
798
- | `readonly` | `boolean` | `false` | Disabled interactive selection |
799
- | `showValue` | `boolean` | `false` | Show text scale (e.g. "4/5") |
1061
+
1062
+ | Input | Type | Default | Description |
1063
+ | ----------- | --------- | ------- | ------------------------------ |
1064
+ | `max` | `number` | `5` | Total stars to display |
1065
+ | `label` | `string` | `''` | Header label |
1066
+ | `readonly` | `boolean` | `false` | Disabled interactive selection |
1067
+ | `showValue` | `boolean` | `false` | Show text scale (e.g. "4/5") |
800
1068
 
801
1069
  ##### Outputs
802
- | Output | Type | Description |
803
- |---|---|---|
1070
+
1071
+ | Output | Type | Description |
1072
+ | -------------- | -------- | ---------------------- |
804
1073
  | `ratingChange` | `number` | Star selection changed |
805
1074
 
806
1075
  #### NumericTextBoxComponent (`ngx-numeric-textbox`)
1076
+
807
1077
  ##### Inputs
808
- | Input | Type | Default | Description |
809
- |---|---|---|---|
810
- | `label` | `string` | `''` | Label text |
811
- | `value` | `number` | `0` | Current value |
812
- | `min` | `number` | `-Infinity` | Lower bound |
813
- | `max` | `number` | `Infinity` | Upper bound |
814
- | `step` | `number` | `1` | Increment value on step up/down |
815
- | `disabled` | `boolean` | `false` | Disabled state |
816
- | `placeholder` | `string` | `''` | Input placeholder |
817
- | `prefix` | `string` | `''` | Prepend character (e.g., "$") |
818
- | `suffix` | `string` | `''` | Append character (e.g., "kg") |
1078
+
1079
+ | Input | Type | Default | Description |
1080
+ | ------------- | --------- | ----------- | ------------------------------- |
1081
+ | `label` | `string` | `''` | Label text |
1082
+ | `value` | `number` | `0` | Current value |
1083
+ | `min` | `number` | `-Infinity` | Lower bound |
1084
+ | `max` | `number` | `Infinity` | Upper bound |
1085
+ | `step` | `number` | `1` | Increment value on step up/down |
1086
+ | `disabled` | `boolean` | `false` | Disabled state |
1087
+ | `placeholder` | `string` | `''` | Input placeholder |
1088
+ | `prefix` | `string` | `''` | Prepend character (e.g., "$") |
1089
+ | `suffix` | `string` | `''` | Append character (e.g., "kg") |
819
1090
 
820
1091
  ##### Outputs
821
- | Output | Type | Description |
822
- |---|---|---|
1092
+
1093
+ | Output | Type | Description |
1094
+ | ------------- | -------- | ------------- |
823
1095
  | `valueChange` | `number` | Value changed |
824
1096
 
825
1097
  ##### Public Methods
826
- | Method | Signature | Description |
827
- |---|---|---|
828
- | `spin` | `(dir: 1 \| -1): void` | Step value up or down |
829
- | `setValue` | `(v: number): void` | Set clamped numeric value |
1098
+
1099
+ | Method | Signature | Description |
1100
+ | ---------- | ---------------------- | ------------------------- |
1101
+ | `spin` | `(dir: 1 \| -1): void` | Step value up or down |
1102
+ | `setValue` | `(v: number): void` | Set clamped numeric value |
830
1103
 
831
1104
  #### TextareaComponent (`ngx-textarea`)
1105
+
832
1106
  ##### Inputs
833
- | Input | Type | Default | Description |
834
- |---|---|---|---|
835
- | `label` | `string` | `''` | Label text |
836
- | `placeholder` | `string` | `''` | Textarea placeholder |
837
- | `rows` | `number` | `4` | Rows high |
838
- | `maxlength` | `number` | `0` | Max character length limits |
839
- | `disabled` | `boolean` | `false` | Disabled state |
840
- | `autoResize` | `boolean` | `false` | Automatically adjust size with lines |
841
- | `hint` | `string` | `''` | Instruction note below input |
842
- | `error` | `string` | `''` | Error alert below input |
1107
+
1108
+ | Input | Type | Default | Description |
1109
+ | ------------- | --------- | ------- | ------------------------------------ |
1110
+ | `label` | `string` | `''` | Label text |
1111
+ | `placeholder` | `string` | `''` | Textarea placeholder |
1112
+ | `rows` | `number` | `4` | Rows high |
1113
+ | `maxlength` | `number` | `0` | Max character length limits |
1114
+ | `disabled` | `boolean` | `false` | Disabled state |
1115
+ | `autoResize` | `boolean` | `false` | Automatically adjust size with lines |
1116
+ | `hint` | `string` | `''` | Instruction note below input |
1117
+ | `error` | `string` | `''` | Error alert below input |
843
1118
 
844
1119
  ##### Outputs
845
- | Output | Type | Description |
846
- |---|---|---|
1120
+
1121
+ | Output | Type | Description |
1122
+ | ------------- | -------- | ----------------------- |
847
1123
  | `valueChange` | `string` | Character value changed |
848
1124
 
849
1125
  #### ColorPickerComponent (`ngx-color-picker`)
1126
+
850
1127
  ##### Inputs
851
- | Input | Type | Default | Description |
852
- |---|---|---|---|
853
- | `label` | `string` | `''` | Input label |
1128
+
1129
+ | Input | Type | Default | Description |
1130
+ | ------- | -------- | ------- | ----------- |
1131
+ | `label` | `string` | `''` | Input label |
854
1132
 
855
1133
  ##### Outputs
856
- | Output | Type | Description |
857
- |---|---|---|
1134
+
1135
+ | Output | Type | Description |
1136
+ | ------------- | -------- | --------------------------------------- |
858
1137
  | `colorChange` | `string` | Emitted with hex color code when picked |
859
1138
 
860
1139
  #### TimePickerComponent (`ngx-time-picker`)
1140
+
861
1141
  ##### Inputs
862
- | Input | Type | Default | Description |
863
- |---|---|---|---|
864
- | `label` | `string` | `''` | Label text |
865
- | `use12h` | `boolean` | `false` | Enable 12h clock mode |
866
- | `value` | `string` | `'09:00'` | Selected time (HH:mm format) |
1142
+
1143
+ | Input | Type | Default | Description |
1144
+ | -------- | --------- | --------- | ---------------------------- |
1145
+ | `label` | `string` | `''` | Label text |
1146
+ | `use12h` | `boolean` | `false` | Enable 12h clock mode |
1147
+ | `value` | `string` | `'09:00'` | Selected time (HH:mm format) |
867
1148
 
868
1149
  ##### Outputs
869
- | Output | Type | Description |
870
- |---|---|---|
1150
+
1151
+ | Output | Type | Description |
1152
+ | ------------ | -------- | ---------------------------------------- |
871
1153
  | `timeChange` | `string` | Emitted when time changes (HH:mm format) |
872
1154
 
873
1155
  ---
@@ -875,6 +1157,7 @@ export class FormComponent {
875
1157
  ### Data Grid & Views
876
1158
 
877
1159
  #### How to Use Grid & Views
1160
+
878
1161
  ```typescript
879
1162
  import { Component } from '@angular/core';
880
1163
  import { DataGridComponent, GridColumnDef } from 'ngx-core-components/grid';
@@ -889,17 +1172,17 @@ import { TreeViewComponent, ListViewComponent, TreeNode } from 'ngx-core-compone
889
1172
 
890
1173
  <!-- Tree View -->
891
1174
  <ngx-tree-view [nodes]="treeNodes" [checkable]="true" />
892
- `
1175
+ `,
893
1176
  })
894
1177
  export class GridViewsExampleComponent {
895
1178
  columns: GridColumnDef<any>[] = [
896
1179
  { field: 'id', title: 'ID', width: 80 },
897
1180
  { field: 'name', title: 'Name', sortable: true },
898
- { field: 'role', title: 'Role' }
1181
+ { field: 'role', title: 'Role' },
899
1182
  ];
900
1183
  gridData = [
901
1184
  { id: 1, name: 'Alice Smith', role: 'Developer' },
902
- { id: 2, name: 'Bob Jones', role: 'Designer' }
1185
+ { id: 2, name: 'Bob Jones', role: 'Designer' },
903
1186
  ];
904
1187
 
905
1188
  treeNodes: TreeNode[] = [
@@ -908,114 +1191,126 @@ export class GridViewsExampleComponent {
908
1191
  label: 'My Project',
909
1192
  children: [
910
1193
  { id: 'src', label: 'src' },
911
- { id: 'tests', label: 'tests' }
912
- ]
913
- }
1194
+ { id: 'tests', label: 'tests' },
1195
+ ],
1196
+ },
914
1197
  ];
915
1198
  }
916
1199
  ```
917
1200
 
918
1201
  #### DataGridComponent (`ngx-data-grid`)
1202
+
919
1203
  ##### Inputs
920
- | Input | Type | Default | Description |
921
- |---|---|---|---|
922
- | `data` | `T[]` | `[]` | Table row data |
923
- | `columns` | `GridColumnDef<T>[]` | `[]` | Columns configuration |
924
- | `stateKey` | `string` | `''` | LocalStorage key to save grid column preferences |
925
- | `reorderable` | `boolean` | `false` | Enable column drag reordering |
926
- | `rowReorderable`| `boolean` | `false` | Enable row drag reordering |
927
- | `multiSort` | `boolean` | `false` | Support multi-column sorting (Ctrl+Click) |
928
- | `showGlobalSearch` | `boolean` | `false` | Show global search input |
929
- | `pageSize` | `number` | `10` | Rows per page |
930
- | `page` | `number` | `1` | Active page index |
931
- | `total` | `number` | `0` | Total records (server paging) |
932
- | `selectable` | `boolean` | `false` | Render checkbox column for selections |
933
- | `striped` | `boolean` | `true` | Alternating row backgrounds |
934
- | `loading` | `boolean` | `false` | Show loading blur spinner |
935
- | `editable` | `boolean` | `false` | Enable double-click inline editor |
936
- | `sortMode` | `'client' \| 'server'` | `'client'` | Sorting location |
937
- | `filterMode` | `'client' \| 'server'` | `'client'` | Filtering location |
938
- | `groupMode` | `'client' \| 'server'` | `'client'` | Grouping location |
939
- | `pagingMode` | `'client' \| 'server'` | `'client'` | Pagination calculations |
940
- | `groupBy` | `GridGroupState \| null` | `null` | Column to group by |
941
- | `groupedData` | `GridGroupResult<T>[]` | `[]` | Grouped items (server mode) |
942
- | `showColumnChooser` | `boolean` | `false` | Show column hiding menu |
943
- | `cellSelection` | `boolean` | `false` | Enable grid cell click selection ranges |
944
- | `enableContextMenu` | `boolean` | `false` | Right-click context menus |
945
- | `keyboardNavigation` | `boolean` | `false` | Arrow key cell navigation |
946
- | `groupAggregations` | `boolean` | `false` | Calculate aggregate footers on groups |
1204
+
1205
+ | Input | Type | Default | Description |
1206
+ | -------------------- | ------------------------ | ---------- | ------------------------------------------------ |
1207
+ | `data` | `T[]` | `[]` | Table row data |
1208
+ | `columns` | `GridColumnDef<T>[]` | `[]` | Columns configuration |
1209
+ | `stateKey` | `string` | `''` | LocalStorage key to save grid column preferences |
1210
+ | `reorderable` | `boolean` | `false` | Enable column drag reordering |
1211
+ | `rowReorderable` | `boolean` | `false` | Enable row drag reordering |
1212
+ | `multiSort` | `boolean` | `false` | Support multi-column sorting (Ctrl+Click) |
1213
+ | `showGlobalSearch` | `boolean` | `false` | Show global search input |
1214
+ | `pageSize` | `number` | `10` | Rows per page |
1215
+ | `page` | `number` | `1` | Active page index |
1216
+ | `total` | `number` | `0` | Total records (server paging) |
1217
+ | `selectable` | `boolean` | `false` | Render checkbox column for selections |
1218
+ | `striped` | `boolean` | `true` | Alternating row backgrounds |
1219
+ | `loading` | `boolean` | `false` | Show loading blur spinner |
1220
+ | `editable` | `boolean` | `false` | Enable double-click inline editor |
1221
+ | `sortMode` | `'client' \| 'server'` | `'client'` | Sorting location |
1222
+ | `filterMode` | `'client' \| 'server'` | `'client'` | Filtering location |
1223
+ | `groupMode` | `'client' \| 'server'` | `'client'` | Grouping location |
1224
+ | `pagingMode` | `'client' \| 'server'` | `'client'` | Pagination calculations |
1225
+ | `groupBy` | `GridGroupState \| null` | `null` | Column to group by |
1226
+ | `groupedData` | `GridGroupResult<T>[]` | `[]` | Grouped items (server mode) |
1227
+ | `showColumnChooser` | `boolean` | `false` | Show column hiding menu |
1228
+ | `cellSelection` | `boolean` | `false` | Enable grid cell click selection ranges |
1229
+ | `enableContextMenu` | `boolean` | `false` | Right-click context menus |
1230
+ | `keyboardNavigation` | `boolean` | `false` | Arrow key cell navigation |
1231
+ | `groupAggregations` | `boolean` | `false` | Calculate aggregate footers on groups |
947
1232
 
948
1233
  ##### Outputs
949
- | Output | Type | Description |
950
- |---|---|---|
951
- | `columnReorder` | `{ columns: GridColumnDef<T>[] }` | Emitted when column positions change |
952
- | `rowReorder` | `{ previousIndex: number; currentIndex: number; data: T[] }` | Emitted when rows are dragged and dropped |
953
- | `rowClick` | `GridRowClickEvent<T>` | Emitted when a row is clicked |
954
- | `selectionChange` | `T[]` | Emitted with list of selected row items |
955
- | `sortChange` | `GridSortChangeEvent` | Emitted on sort changes |
956
- | `filterChange` | `GridFilterChangeEvent` | Emitted on filter changes |
957
- | `groupChange` | `GridGroupChangeEvent` | Emitted on grouping changes |
958
- | `pageChange` | `GridPageChangeEvent` | Emitted on page navigations |
959
- | `rowUpdate` | `GridRowUpdateEvent<T>` | Emitted when inline row changes are saved |
960
- | `cellSelectionChange`| `{ start, end }` | Emitted when range selection changes |
1234
+
1235
+ | Output | Type | Description |
1236
+ | --------------------- | ------------------------------------------------------------ | ----------------------------------------- |
1237
+ | `columnReorder` | `{ columns: GridColumnDef<T>[] }` | Emitted when column positions change |
1238
+ | `rowReorder` | `{ previousIndex: number; currentIndex: number; data: T[] }` | Emitted when rows are dragged and dropped |
1239
+ | `rowClick` | `GridRowClickEvent<T>` | Emitted when a row is clicked |
1240
+ | `selectionChange` | `T[]` | Emitted with list of selected row items |
1241
+ | `sortChange` | `GridSortChangeEvent` | Emitted on sort changes |
1242
+ | `filterChange` | `GridFilterChangeEvent` | Emitted on filter changes |
1243
+ | `groupChange` | `GridGroupChangeEvent` | Emitted on grouping changes |
1244
+ | `pageChange` | `GridPageChangeEvent` | Emitted on page navigations |
1245
+ | `rowUpdate` | `GridRowUpdateEvent<T>` | Emitted when inline row changes are saved |
1246
+ | `cellSelectionChange` | `{ start, end }` | Emitted when range selection changes |
961
1247
 
962
1248
  ##### Public Methods
963
- | Method | Signature | Description |
964
- |---|---|---|
965
- | `goPage` | `(page: number): void` | Navigate to specific page |
966
- | `exportToJson` | `(): void` | Trigger JSON data export download |
967
- | `exportToCsv` | `(): void` | Trigger CSV format export download |
968
- | `beginEdit` | `(row: T, index: number): void` | Open inline row editor |
969
- | `saveEdit` | `(row: T, index: number): void` | Commit inline row editing changes |
970
- | `cancelEdit` | `(): void` | Discard inline editing draft changes |
1249
+
1250
+ | Method | Signature | Description |
1251
+ | -------------- | ------------------------------- | ------------------------------------ |
1252
+ | `goPage` | `(page: number): void` | Navigate to specific page |
1253
+ | `exportToJson` | `(): void` | Trigger JSON data export download |
1254
+ | `exportToCsv` | `(): void` | Trigger CSV format export download |
1255
+ | `beginEdit` | `(row: T, index: number): void` | Open inline row editor |
1256
+ | `saveEdit` | `(row: T, index: number): void` | Commit inline row editing changes |
1257
+ | `cancelEdit` | `(): void` | Discard inline editing draft changes |
971
1258
 
972
1259
  #### TreeViewComponent (`ngx-tree-view`)
1260
+
973
1261
  ##### Inputs
974
- | Input | Type | Default | Description |
975
- |---|---|---|---|
976
- | `nodes` | `TreeNode[]` | `[]` | Hierarchical nodes list |
977
- | `selectable` | `boolean` | `true` | Click selection active |
978
- | `checkable` | `boolean` | `false` | Show checkbox selectors next to titles |
979
- | `selectedId` | `string \| null` | `null` | Highlighted node ID |
980
- | `expandedIds` | `string[]` | `[]` | Initially expanded node IDs |
1262
+
1263
+ | Input | Type | Default | Description |
1264
+ | ------------- | ---------------- | ------- | -------------------------------------- |
1265
+ | `nodes` | `TreeNode[]` | `[]` | Hierarchical nodes list |
1266
+ | `selectable` | `boolean` | `true` | Click selection active |
1267
+ | `checkable` | `boolean` | `false` | Show checkbox selectors next to titles |
1268
+ | `selectedId` | `string \| null` | `null` | Highlighted node ID |
1269
+ | `expandedIds` | `string[]` | `[]` | Initially expanded node IDs |
981
1270
 
982
1271
  ##### Outputs
983
- | Output | Type | Description |
984
- |---|---|---|
985
- | `nodeSelect` | `TreeNodeEvent` | Emitted on node click |
986
- | `nodeExpand` | `TreeNodeEvent` | Emitted on node expansion |
987
- | `nodeCollapse` | `TreeNodeEvent` | Emitted on node collapse |
988
- | `checkChange` | `{ node, checked }` | Emitted when check state changes |
1272
+
1273
+ | Output | Type | Description |
1274
+ | -------------- | ------------------- | -------------------------------- |
1275
+ | `nodeSelect` | `TreeNodeEvent` | Emitted on node click |
1276
+ | `nodeExpand` | `TreeNodeEvent` | Emitted on node expansion |
1277
+ | `nodeCollapse` | `TreeNodeEvent` | Emitted on node collapse |
1278
+ | `checkChange` | `{ node, checked }` | Emitted when check state changes |
989
1279
 
990
1280
  ##### Public Methods
991
- | Method | Signature | Description |
992
- |---|---|---|
993
- | `expandAll` | `(): void` | Expand all expandable tree branches |
994
- | `collapseAll` | `(): void` | Collapse all open tree branches |
1281
+
1282
+ | Method | Signature | Description |
1283
+ | ------------- | ---------- | ----------------------------------- |
1284
+ | `expandAll` | `(): void` | Expand all expandable tree branches |
1285
+ | `collapseAll` | `(): void` | Collapse all open tree branches |
995
1286
 
996
1287
  #### ListViewComponent (`ngx-list-view`)
1288
+
997
1289
  ##### Inputs
998
- | Input | Type | Default | Description |
999
- |---|---|---|---|
1000
- | `items` | `T[]` | `[]` | Items array |
1001
- | `selectable` | `boolean` | `true` | Row selection active |
1002
- | `multiselect` | `boolean` | `false` | Support multi-item selections |
1003
- | `loading` | `boolean` | `false` | Show loading overlay |
1004
- | `labelField` | `string` | `'label'` | Object key property for item labels |
1005
- | `pageSize` | `number` | `0` | Enable pagination when > 0 |
1290
+
1291
+ | Input | Type | Default | Description |
1292
+ | ------------- | --------- | --------- | ----------------------------------- |
1293
+ | `items` | `T[]` | `[]` | Items array |
1294
+ | `selectable` | `boolean` | `true` | Row selection active |
1295
+ | `multiselect` | `boolean` | `false` | Support multi-item selections |
1296
+ | `loading` | `boolean` | `false` | Show loading overlay |
1297
+ | `labelField` | `string` | `'label'` | Object key property for item labels |
1298
+ | `pageSize` | `number` | `0` | Enable pagination when > 0 |
1006
1299
 
1007
1300
  ##### Outputs
1008
- | Output | Type | Description |
1009
- |---|---|---|
1010
- | `itemClick` | `ListViewItemClickEvent<T>` | Emitted when item clicked |
1301
+
1302
+ | Output | Type | Description |
1303
+ | ----------------- | --------------------------- | ---------------------------- |
1304
+ | `itemClick` | `ListViewItemClickEvent<T>` | Emitted when item clicked |
1011
1305
  | `selectionChange` | `ListViewSelectionEvent<T>` | Emitted on selection toggles |
1012
- | `pageChange` | `ListViewPageChangeEvent` | Emitted on page navigations |
1306
+ | `pageChange` | `ListViewPageChangeEvent` | Emitted on page navigations |
1013
1307
 
1014
1308
  ---
1015
1309
 
1016
1310
  ### Dialog and Overlay
1017
1311
 
1018
1312
  #### How to Use Dialog and Overlay
1313
+
1019
1314
  ```typescript
1020
1315
  import { Component } from '@angular/core';
1021
1316
  import { DialogService } from 'ngx-core-components/dialog';
@@ -1033,14 +1328,14 @@ import { TooltipDirective, PopoverComponent } from 'ngx-core-components/dialog';
1033
1328
  <ngx-popover [anchor]="btn" title="Information">
1034
1329
  <p>This is a popover overlay.</p>
1035
1330
  </ngx-popover>
1036
- `
1331
+ `,
1037
1332
  })
1038
1333
  export class OverlayExampleComponent {
1039
1334
  constructor(private dialogService: DialogService) {}
1040
1335
 
1041
1336
  openModal() {
1042
1337
  const ref = this.dialogService.open(MyDialogContent, {
1043
- data: { name: 'Admin' }
1338
+ data: { name: 'Admin' },
1044
1339
  });
1045
1340
  ref.closed.subscribe(result => console.log('Closed:', result));
1046
1341
  }
@@ -1048,54 +1343,62 @@ export class OverlayExampleComponent {
1048
1343
 
1049
1344
  @Component({
1050
1345
  standalone: true,
1051
- template: `<h3>Hello {{ dialogData.name }}</h3>`
1346
+ template: `<h3>Hello {{ dialogData.name }}</h3>`,
1052
1347
  })
1053
1348
  export class MyDialogContent {
1054
1349
  // Inject properties inside standalone dialog components using standard inputs
1055
- dialogData: any;
1350
+ dialogData: any;
1056
1351
  dialogRef: any;
1057
1352
  }
1058
1353
  ```
1059
1354
 
1060
1355
  #### DialogService (Injectable)
1356
+
1061
1357
  ##### Methods
1062
- | Method | Signature | Description |
1063
- |---|---|---|
1358
+
1359
+ | Method | Signature | Description |
1360
+ | ------ | --------------------------------------------------------------------------- | ---------------------------- |
1064
1361
  | `open` | `open<C, D, R>(component: Type<C>, config?: DialogConfig<D>): DialogRef<R>` | Open floating overlay window |
1065
1362
 
1066
1363
  ##### DialogConfig Interface
1067
- | Property | Type | Default | Description |
1068
- |---|---|---|---|
1069
- | `data` | `D` | `undefined` | Custom data inputs passed to dialog component |
1070
- | `closeOnBackdrop` | `boolean` | `true` | Close modal on background mouse click |
1071
- | `panelClass` | `string \| string[]` | `[]` | Dialog container class customizations |
1072
- | `maxWidth` | `string` | `'560px'` | Max CSS size limits |
1073
- | `ariaLabel` | `string` | `'Dialog'` | Screen reader description |
1364
+
1365
+ | Property | Type | Default | Description |
1366
+ | ----------------- | -------------------- | ----------- | --------------------------------------------- |
1367
+ | `data` | `D` | `undefined` | Custom data inputs passed to dialog component |
1368
+ | `closeOnBackdrop` | `boolean` | `true` | Close modal on background mouse click |
1369
+ | `panelClass` | `string \| string[]` | `[]` | Dialog container class customizations |
1370
+ | `maxWidth` | `string` | `'560px'` | Max CSS size limits |
1371
+ | `ariaLabel` | `string` | `'Dialog'` | Screen reader description |
1074
1372
 
1075
1373
  #### TooltipDirective (`ngxTooltip`)
1374
+
1076
1375
  ##### Inputs
1077
- | Input | Type | Default | Description |
1078
- |---|---|---|---|
1079
- | `ngxTooltip` | `string` | `''` | Text contents of the popup tooltip box |
1080
- | `tooltipPosition` | `'top' \| 'bottom' \| 'left' \| 'right'` | `'top'` | Placement side |
1081
- | `tooltipDelay` | `number` | `300` | Delay in milliseconds before showing tooltip |
1082
- | `tooltipDisabled` | `boolean` | `false` | Disable hover behavior |
1376
+
1377
+ | Input | Type | Default | Description |
1378
+ | ----------------- | ---------------------------------------- | ------- | -------------------------------------------- |
1379
+ | `ngxTooltip` | `string` | `''` | Text contents of the popup tooltip box |
1380
+ | `tooltipPosition` | `'top' \| 'bottom' \| 'left' \| 'right'` | `'top'` | Placement side |
1381
+ | `tooltipDelay` | `number` | `300` | Delay in milliseconds before showing tooltip |
1382
+ | `tooltipDisabled` | `boolean` | `false` | Disable hover behavior |
1083
1383
 
1084
1384
  #### PopoverComponent (`ngx-popover`)
1385
+
1085
1386
  ##### Inputs
1086
- | Input | Type | Default | Description |
1087
- |---|---|---|---|
1088
- | `anchor` | `ElementRef \| HTMLElement` | **required** | Relative positioning anchor element |
1089
- | `title` | `string` | `''` | Popover header header text |
1090
- | `position` | `'top' \| 'bottom' \| 'left' \| 'right'` | `'bottom'` | Alignment layout |
1091
- | `width` | `string` | `'250px'` | CSS popup width limits |
1092
- | `closable` | `boolean` | `true` | Show close X button |
1093
- | `showOn` | `'click' \| 'hover'` | `'click'` | Trigger event action |
1387
+
1388
+ | Input | Type | Default | Description |
1389
+ | ---------- | ---------------------------------------- | ------------ | ----------------------------------- |
1390
+ | `anchor` | `ElementRef \| HTMLElement` | **required** | Relative positioning anchor element |
1391
+ | `title` | `string` | `''` | Popover header header text |
1392
+ | `position` | `'top' \| 'bottom' \| 'left' \| 'right'` | `'bottom'` | Alignment layout |
1393
+ | `width` | `string` | `'250px'` | CSS popup width limits |
1394
+ | `closable` | `boolean` | `true` | Show close X button |
1395
+ | `showOn` | `'click' \| 'hover'` | `'click'` | Trigger event action |
1094
1396
 
1095
1397
  ##### Outputs
1096
- | Output | Type | Description |
1097
- |---|---|---|
1098
- | `open` | `void` | Emitted when popup opens |
1398
+
1399
+ | Output | Type | Description |
1400
+ | ------- | ------ | ------------------------- |
1401
+ | `open` | `void` | Emitted when popup opens |
1099
1402
  | `close` | `void` | Emitted when popup closes |
1100
1403
 
1101
1404
  ---
@@ -1103,9 +1406,16 @@ export class MyDialogContent {
1103
1406
  ### Buttons and Actions
1104
1407
 
1105
1408
  #### How to Use Buttons & Actions
1409
+
1106
1410
  ```typescript
1107
1411
  import { Component, signal } from '@angular/core';
1108
- import { ButtonComponent, ChipComponent, ChipListComponent, DropDownButtonComponent, SpeedDialComponent } from 'ngx-core-components/buttons';
1412
+ import {
1413
+ ButtonComponent,
1414
+ ChipComponent,
1415
+ ChipListComponent,
1416
+ DropDownButtonComponent,
1417
+ SpeedDialComponent,
1418
+ } from 'ngx-core-components/buttons';
1109
1419
 
1110
1420
  @Component({
1111
1421
  standalone: true,
@@ -1116,78 +1426,91 @@ import { ButtonComponent, ChipComponent, ChipListComponent, DropDownButtonCompon
1116
1426
 
1117
1427
  <!-- Speed Dial FAB -->
1118
1428
  <ngx-speed-dial [items]="actions" direction="top" (itemClick)="onFabClick($event)" />
1119
- `
1429
+ `,
1120
1430
  })
1121
1431
  export class ButtonExampleComponent {
1122
1432
  loading = signal(false);
1123
1433
  actions = [
1124
1434
  { id: 'pdf', icon: '📄', label: 'Export PDF' },
1125
- { id: 'email', icon: '✉️', label: 'Send Email' }
1435
+ { id: 'email', icon: '✉️', label: 'Send Email' },
1126
1436
  ];
1127
- onFabClick(ev: any) { console.log('FAB Clicked:', ev.id); }
1437
+ onFabClick(ev: any) {
1438
+ console.log('FAB Clicked:', ev.id);
1439
+ }
1128
1440
  }
1129
1441
  ```
1130
1442
 
1131
1443
  #### ButtonComponent (`ngx-button` / Attribute selector)
1444
+
1132
1445
  ##### Inputs
1133
- | Input | Type | Default | Description |
1134
- |---|---|---|---|
1135
- | `variant` | `ButtonVariant` | `'primary'` | Visual style variant (primary, danger, ghost, link, success) |
1136
- | `size` | `ButtonSize` | `'md'` | Button height size (sm, md, lg) |
1137
- | `shape` | `ButtonShape` | `'rectangle'` | Button curves (rectangle, rounded, pill, square) |
1138
- | `type` | `'button' \| 'submit' \| 'reset'` | `'button'` | Button type |
1139
- | `disabled` | `boolean` | `false` | Disabled status |
1140
- | `loading` | `boolean` | `false` | Loading status (replaces text/icon with spinner) |
1141
- | `prefixIcon` | `string` | `''` | Icon identifier displayed before label |
1142
- | `suffixIcon` | `string` | `''` | Icon identifier displayed after label |
1143
- | `ariaLabel` | `string` | `''` | Accessibility label description |
1446
+
1447
+ | Input | Type | Default | Description |
1448
+ | ------------ | --------------------------------- | ------------- | ------------------------------------------------------------ |
1449
+ | `variant` | `ButtonVariant` | `'primary'` | Visual style variant (primary, danger, ghost, link, success) |
1450
+ | `size` | `ButtonSize` | `'md'` | Button height size (sm, md, lg) |
1451
+ | `shape` | `ButtonShape` | `'rectangle'` | Button curves (rectangle, rounded, pill, square) |
1452
+ | `type` | `'button' \| 'submit' \| 'reset'` | `'button'` | Button type |
1453
+ | `disabled` | `boolean` | `false` | Disabled status |
1454
+ | `loading` | `boolean` | `false` | Loading status (replaces text/icon with spinner) |
1455
+ | `prefixIcon` | `string` | `''` | Icon identifier displayed before label |
1456
+ | `suffixIcon` | `string` | `''` | Icon identifier displayed after label |
1457
+ | `ariaLabel` | `string` | `''` | Accessibility label description |
1144
1458
 
1145
1459
  ##### Outputs
1146
- | Output | Type | Description |
1147
- |---|---|---|
1460
+
1461
+ | Output | Type | Description |
1462
+ | --------- | ------------ | ---------------------------- |
1148
1463
  | `clicked` | `MouseEvent` | Native click event emissions |
1149
1464
 
1150
1465
  #### ButtonGroupComponent (`ngx-button-group`)
1466
+
1151
1467
  ##### Inputs
1152
- | Input | Type | Default | Description |
1153
- |---|---|---|---|
1154
- | `vertical` | `boolean` | `false` | Stack buttons vertically |
1155
- | `ariaLabel` | `string` | `'Button group'` | Group accessibility labels |
1468
+
1469
+ | Input | Type | Default | Description |
1470
+ | ----------- | --------- | ---------------- | -------------------------- |
1471
+ | `vertical` | `boolean` | `false` | Stack buttons vertically |
1472
+ | `ariaLabel` | `string` | `'Button group'` | Group accessibility labels |
1156
1473
 
1157
1474
  #### ChipComponent (`ngx-chip`)
1475
+
1158
1476
  ##### Inputs
1159
- | Input | Type | Default | Description |
1160
- |---|---|---|---|
1161
- | `variant` | `ChipVariant` | `'default'` | Visual style variant (success, error, warning, outlined) |
1162
- | `icon` | `string` | `''` | Lead icon |
1163
- | `selected` | `boolean` | `false` | Highlighted selection state |
1164
- | `removable` | `boolean` | `false` | Render ✕ icon on right |
1165
- | `disabled` | `boolean` | `false` | Disable interactions |
1166
- | `selectable` | `boolean` | `false` | Enable selection click behaviors |
1167
- | `label` | `string` | `''` | Chip display text |
1477
+
1478
+ | Input | Type | Default | Description |
1479
+ | ------------ | ------------- | ----------- | -------------------------------------------------------- |
1480
+ | `variant` | `ChipVariant` | `'default'` | Visual style variant (success, error, warning, outlined) |
1481
+ | `icon` | `string` | `''` | Lead icon |
1482
+ | `selected` | `boolean` | `false` | Highlighted selection state |
1483
+ | `removable` | `boolean` | `false` | Render ✕ icon on right |
1484
+ | `disabled` | `boolean` | `false` | Disable interactions |
1485
+ | `selectable` | `boolean` | `false` | Enable selection click behaviors |
1486
+ | `label` | `string` | `''` | Chip display text |
1168
1487
 
1169
1488
  ##### Outputs
1170
- | Output | Type | Description |
1171
- |---|---|---|
1172
- | `removed` | `void` | Emitted when ✕ is clicked |
1489
+
1490
+ | Output | Type | Description |
1491
+ | ---------------- | --------- | ------------------------------ |
1492
+ | `removed` | `void` | Emitted when ✕ is clicked |
1173
1493
  | `selectedChange` | `boolean` | Toggled selection state change |
1174
1494
 
1175
1495
  #### SpeedDialComponent (`ngx-speed-dial`)
1496
+
1176
1497
  ##### Inputs
1177
- | Input | Type | Default | Description |
1178
- |---|---|---|---|
1179
- | `items` | `SpeedDialItem[]` | **required** | Float actions list |
1180
- | `icon` | `string` | `'+'` | FAB closed icon |
1181
- | `activeIcon` | `string` | `'✕'` | FAB opened icon |
1182
- | `direction` | `'top' \| 'bottom' \| 'left' \| 'right'` | `'top'` | Direction of menu flyouts |
1183
- | `theme` | `'primary' \| 'secondary' \| 'accent' \| 'dark'` | `'primary'` | Main FAB color theme |
1184
- | `showLabels` | `boolean` | `true` | Show button labels |
1185
- | `closeOnSelect` | `boolean` | `true` | Auto collapse after clicking a subaction item |
1186
- | `collapseOnLeaveMouse`| `boolean` | `true` | Auto collapse when mouse pointer leaves scope |
1498
+
1499
+ | Input | Type | Default | Description |
1500
+ | ---------------------- | ------------------------------------------------ | ------------ | --------------------------------------------- |
1501
+ | `items` | `SpeedDialItem[]` | **required** | Float actions list |
1502
+ | `icon` | `string` | `'+'` | FAB closed icon |
1503
+ | `activeIcon` | `string` | `'✕'` | FAB opened icon |
1504
+ | `direction` | `'top' \| 'bottom' \| 'left' \| 'right'` | `'top'` | Direction of menu flyouts |
1505
+ | `theme` | `'primary' \| 'secondary' \| 'accent' \| 'dark'` | `'primary'` | Main FAB color theme |
1506
+ | `showLabels` | `boolean` | `true` | Show button labels |
1507
+ | `closeOnSelect` | `boolean` | `true` | Auto collapse after clicking a subaction item |
1508
+ | `collapseOnLeaveMouse` | `boolean` | `true` | Auto collapse when mouse pointer leaves scope |
1187
1509
 
1188
1510
  ##### Outputs
1189
- | Output | Type | Description |
1190
- |---|---|---|
1511
+
1512
+ | Output | Type | Description |
1513
+ | ----------- | --------------- | -------------------- |
1191
1514
  | `itemClick` | `SpeedDialItem` | Action item selected |
1192
1515
 
1193
1516
  ---
@@ -1195,9 +1518,16 @@ export class ButtonExampleComponent {
1195
1518
  ### Layout
1196
1519
 
1197
1520
  #### How to Use Layout Components
1521
+
1198
1522
  ```typescript
1199
1523
  import { Component } from '@angular/core';
1200
- import { CardComponent, TabStripComponent, TabComponent, AccordionComponent, SplitterComponent } from 'ngx-core-components/layout';
1524
+ import {
1525
+ CardComponent,
1526
+ TabStripComponent,
1527
+ TabComponent,
1528
+ AccordionComponent,
1529
+ SplitterComponent,
1530
+ } from 'ngx-core-components/layout';
1201
1531
 
1202
1532
  @Component({
1203
1533
  standalone: true,
@@ -1212,92 +1542,109 @@ import { CardComponent, TabStripComponent, TabComponent, AccordionComponent, Spl
1212
1542
  <ngx-tab-strip>
1213
1543
  <ngx-tab title="Project Info">
1214
1544
  <!-- Card Component -->
1215
- <ngx-card title="Dashboard Details" variant="outlined">
1216
- Welcome to layout dashboard.
1217
- </ngx-card>
1545
+ <ngx-card title="Dashboard Details" variant="outlined"> Welcome to layout dashboard. </ngx-card>
1218
1546
  </ngx-tab>
1219
1547
  <ngx-tab title="Settings">Settings Area</ngx-tab>
1220
1548
  </ngx-tab-strip>
1221
1549
  </div>
1222
1550
  </ngx-splitter>
1223
1551
  </div>
1224
- `
1552
+ `,
1225
1553
  })
1226
1554
  export class LayoutExampleComponent {}
1227
1555
  ```
1228
1556
 
1229
1557
  #### CardComponent (`ngx-card`)
1558
+
1230
1559
  ##### Inputs
1231
- | Input | Type | Default | Description |
1232
- |---|---|---|---|
1233
- | `title` | `string` | `''` | Header title |
1234
- | `subtitle` | `string` | `''` | Header subtitle |
1235
- | `headerIcon` | `string` | `''` | Header title icon |
1236
- | `imageUrl` | `string` | `''` | Large hero image URL |
1237
- | `imageAlt` | `string` | `''` | Alt tag description |
1238
- | `variant` | `CardVariant` | `'default'` | Visual outline style (elevated, outlined, filled) |
1239
- | `hoverable` | `boolean` | `false` | Shadow hover/lift interactive behaviors |
1240
- | `selectable` | `boolean` | `false` | Card selection active click behaviors |
1241
- | `selected` | `boolean` | `false` | Highlighted selection state |
1560
+
1561
+ | Input | Type | Default | Description |
1562
+ | ------------ | ------------- | ----------- | ------------------------------------------------- |
1563
+ | `title` | `string` | `''` | Header title |
1564
+ | `subtitle` | `string` | `''` | Header subtitle |
1565
+ | `headerIcon` | `string` | `''` | Header title icon |
1566
+ | `imageUrl` | `string` | `''` | Large hero image URL |
1567
+ | `imageAlt` | `string` | `''` | Alt tag description |
1568
+ | `variant` | `CardVariant` | `'default'` | Visual outline style (elevated, outlined, filled) |
1569
+ | `hoverable` | `boolean` | `false` | Shadow hover/lift interactive behaviors |
1570
+ | `selectable` | `boolean` | `false` | Card selection active click behaviors |
1571
+ | `selected` | `boolean` | `false` | Highlighted selection state |
1242
1572
 
1243
1573
  ##### Outputs
1244
- | Output | Type | Description |
1245
- |---|---|---|
1574
+
1575
+ | Output | Type | Description |
1576
+ | ----------- | ------------ | -------------------------------------------------------- |
1246
1577
  | `cardClick` | `MouseEvent` | Click events (only if hoverable or selectable is active) |
1247
1578
 
1248
1579
  #### TabStripComponent (`ngx-tab-strip`)
1580
+
1249
1581
  ##### Inputs
1250
- | Input | Type | Default | Description |
1251
- |---|---|---|---|
1582
+
1583
+ | Input | Type | Default | Description |
1584
+ | ---------- | ---------------------------------------- | ------- | --------------------------------------- |
1252
1585
  | `position` | `'top' \| 'bottom' \| 'left' \| 'right'` | `'top'` | Side position alignment of strip labels |
1253
1586
 
1254
1587
  ##### Outputs
1255
- | Output | Type | Description |
1256
- |---|---|---|
1588
+
1589
+ | Output | Type | Description |
1590
+ | ----------- | -------- | ------------------------ |
1257
1591
  | `tabChange` | `number` | Active tab index changed |
1258
1592
 
1593
+ Horizontal tab lists reverse `ArrowLeft` and `ArrowRight` navigation under
1594
+ `dir="rtl"` so keyboard movement follows the visual direction.
1595
+
1259
1596
  #### TabComponent (`ngx-tab`)
1597
+
1260
1598
  ##### Inputs
1261
- | Input | Type | Default | Description |
1262
- |---|---|---|---|
1263
- | `title` | `string` | **required** | Tab selection title text |
1264
- | `icon` | `string` | `''` | Title prefix icon |
1265
- | `disabled` | `boolean` | `false` | Disables selecting tab |
1266
- | `badge` | `string \| number` | `''` | Text/counter badge after label |
1599
+
1600
+ | Input | Type | Default | Description |
1601
+ | ---------- | ------------------ | ------------ | ------------------------------ |
1602
+ | `title` | `string` | **required** | Tab selection title text |
1603
+ | `icon` | `string` | `''` | Title prefix icon |
1604
+ | `disabled` | `boolean` | `false` | Disables selecting tab |
1605
+ | `badge` | `string \| number` | `''` | Text/counter badge after label |
1267
1606
 
1268
1607
  #### AccordionComponent (`ngx-accordion`)
1608
+
1269
1609
  ##### Inputs
1270
- | Input | Type | Default | Description |
1271
- |---|---|---|---|
1272
- | `items` | `AccordionItem[]` | `[]` | Content details |
1273
- | `multi` | `boolean` | `false` | Expand multiple panels simultaneously |
1610
+
1611
+ | Input | Type | Default | Description |
1612
+ | ------- | ----------------- | ------- | ------------------------------------- |
1613
+ | `items` | `AccordionItem[]` | `[]` | Content details |
1614
+ | `multi` | `boolean` | `false` | Expand multiple panels simultaneously |
1274
1615
 
1275
1616
  #### StepperComponent (`ngx-stepper`)
1617
+
1276
1618
  ##### Inputs
1277
- | Input | Type | Default | Description |
1278
- |---|---|---|---|
1279
- | `steps` | `StepperStep[]` | `[]` | Workflow stage labels |
1280
- | `orientation` | `'horizontal' \| 'vertical'` | `'horizontal'` | Stepper header alignment layout |
1281
- | `showContent` | `boolean` | `true` | Render inner projected content block |
1282
- | `showActions` | `boolean` | `true` | Show default Back/Next buttons |
1619
+
1620
+ | Input | Type | Default | Description |
1621
+ | ------------- | ---------------------------- | -------------- | ------------------------------------ |
1622
+ | `steps` | `StepperStep[]` | `[]` | Workflow stage labels |
1623
+ | `orientation` | `'horizontal' \| 'vertical'` | `'horizontal'` | Stepper header alignment layout |
1624
+ | `showContent` | `boolean` | `true` | Render inner projected content block |
1625
+ | `showActions` | `boolean` | `true` | Show default Back/Next buttons |
1283
1626
 
1284
1627
  ##### Outputs
1285
- | Output | Type | Description |
1286
- |---|---|---|
1628
+
1629
+ | Output | Type | Description |
1630
+ | ------------ | -------- | -------------------------------- |
1287
1631
  | `stepChange` | `number` | Emitted when active step changes |
1288
1632
 
1289
1633
  #### SplitterComponent (`ngx-splitter`)
1634
+
1290
1635
  ##### Inputs
1291
- | Input | Type | Default | Description |
1292
- |---|---|---|---|
1293
- | `orientation` | `'horizontal' \| 'vertical'` | `'horizontal'` | Resizing splitter direction |
1294
- | `size` | `string \| number \| null` | `null` | Hardcoded programmatic size width/height of pane1 |
1295
- | `initialSize` | `string \| number` | `'50%'` | First load default split percentage |
1296
- | `min` | `number` | `60` | Min bounds constraint in pixels |
1636
+
1637
+ | Input | Type | Default | Description |
1638
+ | ------------- | ---------------------------- | -------------- | ------------------------------------------------- |
1639
+ | `orientation` | `'horizontal' \| 'vertical'` | `'horizontal'` | Resizing splitter direction |
1640
+ | `size` | `string \| number \| null` | `null` | Hardcoded programmatic size width/height of pane1 |
1641
+ | `initialSize` | `string \| number` | `'50%'` | First load default split percentage |
1642
+ | `min` | `number` | `60` | Min bounds constraint in pixels |
1297
1643
 
1298
1644
  ##### Outputs
1299
- | Output | Type | Description |
1300
- |---|---|---|
1645
+
1646
+ | Output | Type | Description |
1647
+ | ------------ | -------- | --------------------------------------- |
1301
1648
  | `sizeChange` | `string` | Emitted during partition drag movements |
1302
1649
 
1303
1650
  ---
@@ -1305,9 +1652,16 @@ export class LayoutExampleComponent {}
1305
1652
  ### Feedback
1306
1653
 
1307
1654
  #### How to Use Feedback Components
1655
+
1308
1656
  ```typescript
1309
1657
  import { Component } from '@angular/core';
1310
- import { BadgeComponent, ProgressBarComponent, SkeletonComponent, AlertComponent, StatCardComponent } from 'ngx-core-components/feedback';
1658
+ import {
1659
+ BadgeComponent,
1660
+ ProgressBarComponent,
1661
+ SkeletonComponent,
1662
+ AlertComponent,
1663
+ StatCardComponent,
1664
+ } from 'ngx-core-components/feedback';
1311
1665
  import { NotificationService } from 'ngx-core-components/feedback';
1312
1666
 
1313
1667
  @Component({
@@ -1322,7 +1676,7 @@ import { NotificationService } from 'ngx-core-components/feedback';
1322
1676
 
1323
1677
  <!-- Alert -->
1324
1678
  <ngx-alert variant="warning" title="Warning Action" message="Process takes longer than expected." />
1325
- `
1679
+ `,
1326
1680
  })
1327
1681
  export class FeedbackExampleComponent {
1328
1682
  progress = 75;
@@ -1335,62 +1689,77 @@ export class FeedbackExampleComponent {
1335
1689
  ```
1336
1690
 
1337
1691
  #### BadgeComponent (`ngx-badge`)
1692
+
1338
1693
  ##### Inputs
1339
- | Input | Type | Default | Description |
1340
- |---|---|---|---|
1341
- | `content` | `string \| number` | `''` | Label contents |
1342
- | `variant` | `BadgeVariant` | `'primary'` | Color state variants (success, danger, info, warning, dark) |
1343
- | `dot` | `boolean` | `false` | Small indicator dot mode (hides content labels) |
1344
- | `positioned` | `boolean` | `false` | Absolute corner positioning relative to parent context |
1345
- | `position` | `BadgePosition` | `'top-right'` | Corner alignments |
1694
+
1695
+ | Input | Type | Default | Description |
1696
+ | ------------ | ------------------ | ------------- | ----------------------------------------------------------- |
1697
+ | `content` | `string \| number` | `''` | Label contents |
1698
+ | `variant` | `BadgeVariant` | `'primary'` | Color state variants (success, danger, info, warning, dark) |
1699
+ | `dot` | `boolean` | `false` | Small indicator dot mode (hides content labels) |
1700
+ | `positioned` | `boolean` | `false` | Absolute corner positioning relative to parent context |
1701
+ | `position` | `BadgePosition` | `'top-right'` | Corner alignments |
1346
1702
 
1347
1703
  #### ProgressBarComponent (`ngx-progress-bar`)
1704
+
1348
1705
  ##### Inputs
1349
- | Input | Type | Default | Description |
1350
- |---|---|---|---|
1351
- | `value` | `number` | `0` | Current scale |
1352
- | `min` | `number` | `0` | Min bounds |
1353
- | `max` | `number` | `100` | Max bounds |
1354
- | `label` | `string` | `''` | Descriptive header text |
1355
- | `variant` | `ProgressVariant` | `'primary'` | Theme color |
1356
- | `height` | `number` | `8` | Height height in pixels |
1357
- | `showValue` | `boolean` | `false` | Display percentage layout text |
1358
- | `indeterminate` | `boolean` | `false` | Continuous sliding animations mode (ignores values) |
1706
+
1707
+ | Input | Type | Default | Description |
1708
+ | --------------- | ----------------- | ----------- | --------------------------------------------------- |
1709
+ | `value` | `number` | `0` | Current scale |
1710
+ | `min` | `number` | `0` | Min bounds |
1711
+ | `max` | `number` | `100` | Max bounds |
1712
+ | `label` | `string` | `''` | Descriptive header text |
1713
+ | `variant` | `ProgressVariant` | `'primary'` | Theme color |
1714
+ | `height` | `number` | `8` | Height height in pixels |
1715
+ | `showValue` | `boolean` | `false` | Display percentage layout text |
1716
+ | `indeterminate` | `boolean` | `false` | Continuous sliding animations mode (ignores values) |
1359
1717
 
1360
1718
  #### AlertComponent (`ngx-alert`)
1719
+
1361
1720
  ##### Inputs
1362
- | Input | Type | Default | Description |
1363
- |---|---|---|---|
1364
- | `variant` | `AlertVariant` | `'info'` | Theme variations (info, success, warning, error) |
1365
- | `title` | `string` | `''` | Large bold header text |
1366
- | `message` | `string` | `''` | Paragraph text |
1367
- | `dismissible` | `boolean` | `true` | Render closing ✕ button |
1368
- | `actionLabel` | `string` | `''` | CTA button label |
1369
- | `theme` | `'light' \| 'dark'` | `'light'` | Dark mode options |
1721
+
1722
+ | Input | Type | Default | Description |
1723
+ | ------------- | ------------------- | --------- | ------------------------------------------------ |
1724
+ | `variant` | `AlertVariant` | `'info'` | Theme variations (info, success, warning, error) |
1725
+ | `title` | `string` | `''` | Large bold header text |
1726
+ | `message` | `string` | `''` | Paragraph text |
1727
+ | `dismissible` | `boolean` | `true` | Render closing ✕ button |
1728
+ | `actionLabel` | `string` | `''` | CTA button label |
1729
+ | `theme` | `'light' \| 'dark'` | `'light'` | Dark mode options |
1370
1730
 
1371
1731
  ##### Outputs
1372
- | Output | Type | Description |
1373
- |---|---|---|
1374
- | `dismissed` | `void` | Alert closed after transition completed |
1375
- | `actionClick` | `void` | Action button clicked |
1732
+
1733
+ | Output | Type | Description |
1734
+ | ------------- | ------ | --------------------------------------- |
1735
+ | `dismissed` | `void` | Alert closed after transition completed |
1736
+ | `actionClick` | `void` | Action button clicked |
1376
1737
 
1377
1738
  #### NotificationService (Injectable)
1739
+
1378
1740
  ##### Methods
1379
- | Method | Signature | Description |
1380
- |---|---|---|
1381
- | `success` | `(msg: string, title?: string, opts?: options): number` | Success toast |
1382
- | `error` | `(msg: string, title?: string, opts?: options): number` | Error toast |
1383
- | `info` | `(msg: string, title?: string, opts?: options): number` | Informational toast |
1384
- | `warning` | `(msg: string, title?: string, opts?: options): number` | Warning toast |
1741
+
1742
+ | Method | Signature | Description |
1743
+ | --------- | ------------------------------------------------------- | ------------------- |
1744
+ | `success` | `(msg: string, title?: string, opts?: options): number` | Success toast |
1745
+ | `error` | `(msg: string, title?: string, opts?: options): number` | Error toast |
1746
+ | `info` | `(msg: string, title?: string, opts?: options): number` | Informational toast |
1747
+ | `warning` | `(msg: string, title?: string, opts?: options): number` | Warning toast |
1385
1748
 
1386
1749
  ---
1387
1750
 
1388
1751
  ### Navigation
1389
1752
 
1390
1753
  #### How to Use Navigation Components
1754
+
1391
1755
  ```typescript
1392
1756
  import { Component } from '@angular/core';
1393
- import { BreadcrumbComponent, MenuComponent, CommandPaletteComponent, ContextMenuComponent } from 'ngx-core-components/navigation';
1757
+ import {
1758
+ BreadcrumbComponent,
1759
+ MenuComponent,
1760
+ CommandPaletteComponent,
1761
+ ContextMenuComponent,
1762
+ } from 'ngx-core-components/navigation';
1394
1763
 
1395
1764
  @Component({
1396
1765
  standalone: true,
@@ -1401,67 +1770,76 @@ import { BreadcrumbComponent, MenuComponent, CommandPaletteComponent, ContextMen
1401
1770
 
1402
1771
  <!-- Menu -->
1403
1772
  <ngx-menu [items]="menuItems" activeItem="Profile" />
1404
- `
1773
+ `,
1405
1774
  })
1406
1775
  export class NavExampleComponent {
1407
- breadcrumbItems = [
1408
- { label: 'Home', url: '/' },
1409
- { label: 'Admin', url: '/admin' },
1410
- { label: 'System Settings' }
1411
- ];
1776
+ breadcrumbItems = [{ label: 'Home', url: '/' }, { label: 'Admin', url: '/admin' }, { label: 'System Settings' }];
1412
1777
 
1413
1778
  menuItems = [
1414
1779
  { label: 'Dashboard', icon: '📊', url: '/dashboard' },
1415
- { label: 'Settings', icon: '⚙️', children: [
1780
+ {
1781
+ label: 'Settings',
1782
+ icon: '⚙️',
1783
+ children: [
1416
1784
  { label: 'Profile', url: '/profile' },
1417
- { label: 'Security', url: '/security' }
1418
- ]
1419
- }
1785
+ { label: 'Security', url: '/security' },
1786
+ ],
1787
+ },
1420
1788
  ];
1421
1789
  }
1422
1790
  ```
1423
1791
 
1424
1792
  #### BreadcrumbComponent (`ngx-breadcrumb`)
1793
+
1425
1794
  ##### Inputs
1426
- | Input | Type | Default | Description |
1427
- |---|---|---|---|
1428
- | `items` | `BreadcrumbItem[]` | `[]` | Navigation steps |
1429
- | `separator` | `string` | `'/'` | Character division indicator |
1795
+
1796
+ | Input | Type | Default | Description |
1797
+ | ----------- | ------------------ | ------- | ---------------------------- |
1798
+ | `items` | `BreadcrumbItem[]` | `[]` | Navigation steps |
1799
+ | `separator` | `string` | `'/'` | Character division indicator |
1430
1800
 
1431
1801
  ##### Outputs
1432
- | Output | Type | Description |
1433
- |---|---|---|
1802
+
1803
+ | Output | Type | Description |
1804
+ | ----------- | ---------------- | ------------------------------------- |
1434
1805
  | `itemClick` | `BreadcrumbItem` | Emitted when link clicks are selected |
1435
1806
 
1436
1807
  #### MenuComponent (`ngx-menu`)
1808
+
1437
1809
  ##### Inputs
1438
- | Input | Type | Default | Description |
1439
- |---|---|---|---|
1440
- | `items` | `MenuItem[]` | `[]` | Multilevel navigation links |
1441
- | `orientation` | `'horizontal' \| 'vertical'` | `'horizontal'` | Alignment layout |
1442
- | `activeItem` | `string` | `''` | Matching labels to highlight active link |
1810
+
1811
+ | Input | Type | Default | Description |
1812
+ | ------------- | ---------------------------- | -------------- | ---------------------------------------- |
1813
+ | `items` | `MenuItem[]` | `[]` | Multilevel navigation links |
1814
+ | `orientation` | `'horizontal' \| 'vertical'` | `'horizontal'` | Alignment layout |
1815
+ | `activeItem` | `string` | `''` | Matching labels to highlight active link |
1443
1816
 
1444
1817
  ##### Outputs
1445
- | Output | Type | Description |
1446
- |---|---|---|
1818
+
1819
+ | Output | Type | Description |
1820
+ | ----------- | ---------- | -------------------------------------- |
1447
1821
  | `itemClick` | `MenuItem` | Emitted when leaf link item is clicked |
1448
1822
 
1449
1823
  #### CommandPaletteComponent (`ngx-command-palette`)
1824
+
1450
1825
  ##### Inputs
1451
- | Input | Type | Default | Description |
1452
- |---|---|---|---|
1453
- | `commands` | `CommandItem[]` | **required** | Selectable actions list |
1454
- | `placeholder` | `string` | `'Type a command or search...'` | Search input placeholder |
1826
+
1827
+ | Input | Type | Default | Description |
1828
+ | ------------- | --------------- | ------------------------------- | ------------------------ |
1829
+ | `commands` | `CommandItem[]` | **required** | Selectable actions list |
1830
+ | `placeholder` | `string` | `'Type a command or search...'` | Search input placeholder |
1455
1831
 
1456
1832
  ##### Outputs
1457
- | Output | Type | Description |
1458
- |---|---|---|
1833
+
1834
+ | Output | Type | Description |
1835
+ | ----------------- | ------------- | ------------------------------------- |
1459
1836
  | `commandSelected` | `CommandItem` | Emitted when command action is chosen |
1460
1837
 
1461
1838
  ##### Public Methods
1462
- | Method | Signature | Description |
1463
- |---|---|---|
1464
- | `openPalette` | `(): void` | Trigger modal popup display |
1839
+
1840
+ | Method | Signature | Description |
1841
+ | -------------- | ---------- | --------------------------- |
1842
+ | `openPalette` | `(): void` | Trigger modal popup display |
1465
1843
  | `closePalette` | `(): void` | Dismiss modal popup display |
1466
1844
 
1467
1845
  ---
@@ -1469,6 +1847,7 @@ export class NavExampleComponent {
1469
1847
  ### Barcodes
1470
1848
 
1471
1849
  #### How to Use Barcodes
1850
+
1472
1851
  ```typescript
1473
1852
  import { Component } from '@angular/core';
1474
1853
  import { BarcodeComponent, QrCodeComponent } from 'ngx-core-components/barcodes';
@@ -1482,38 +1861,44 @@ import { BarcodeComponent, QrCodeComponent } from 'ngx-core-components/barcodes'
1482
1861
 
1483
1862
  <!-- QR Code -->
1484
1863
  <ngx-qrcode value="https://example.com" [size]="150" label="Scan to Visit Site" />
1485
- `
1864
+ `,
1486
1865
  })
1487
1866
  export class BarcodesExampleComponent {}
1488
1867
  ```
1489
1868
 
1490
1869
  #### BarcodeComponent (`ngx-barcode`)
1870
+
1491
1871
  ##### Inputs
1492
- | Input | Type | Default | Description |
1493
- |---|---|---|---|
1494
- | `value` | `string` | `''` | Numeric/String value encoding |
1495
- | `label` | `string` | `''` | Text displayed above |
1496
- | `height` | `number` | `60` | Height dimensions in pixels |
1497
- | `barWidth` | `number` | `2` | Single bar width in pixels |
1498
- | `foreground` | `string` | `'#000000'` | Stroke fill colors |
1499
- | `background` | `string` | `'#ffffff'` | Canvas background |
1872
+
1873
+ | Input | Type | Default | Description |
1874
+ | ------------ | -------- | ----------- | ----------------------------- |
1875
+ | `value` | `string` | `''` | Numeric/String value encoding |
1876
+ | `label` | `string` | `''` | Text displayed above |
1877
+ | `height` | `number` | `60` | Height dimensions in pixels |
1878
+ | `barWidth` | `number` | `2` | Single bar width in pixels |
1879
+ | `foreground` | `string` | `'#000000'` | Stroke fill colors |
1880
+ | `background` | `string` | `'#ffffff'` | Canvas background |
1500
1881
 
1501
1882
  #### QrCodeComponent (`ngx-qr-code`)
1883
+
1502
1884
  ##### Inputs
1503
- | Input | Type | Default | Description |
1504
- |---|---|---|---|
1505
- | `value` | `string` | `''` | Text URL/String encoding |
1506
- | `size` | `number` | `160` | Width & height sizes in pixels |
1507
- | `label` | `string` | `''` | Header description text |
1508
- | `foreground` | `string` | `'#000000'` | Code grid point color |
1509
- | `background` | `string` | `'#ffffff'` | Grid canvas background |
1885
+
1886
+ | Input | Type | Default | Description |
1887
+ | ------------ | -------- | ----------- | ------------------------------ |
1888
+ | `value` | `string` | `''` | Text URL/String encoding |
1889
+ | `size` | `number` | `160` | Width & height sizes in pixels |
1890
+ | `label` | `string` | `''` | Header description text |
1891
+ | `foreground` | `string` | `'#000000'` | Code grid point color |
1892
+ | `background` | `string` | `'#ffffff'` | Grid canvas background |
1510
1893
 
1511
1894
  ---
1512
1895
 
1513
1896
  ## Advanced Features
1514
1897
 
1515
1898
  ### Draggable Zoom & Area Selection
1899
+
1516
1900
  The Gantt Chart component supports zooming directly into a specific time range by selecting a window on the timeline.
1901
+
1517
1902
  - **Enable Feature**: Add `enableDragToZoom: true` in the `config` object or pass `[enableDragToZoom]="true"`.
1518
1903
  - **Keyboard Shortcut**: Hold **Shift** and click-and-drag across the timeline background to draw a glassmorphic zoom selection window.
1519
1904
  - **Area Zoom Mode**: Click the **Area Zoom Mode** button (or call `toggleAreaZoomMode()` programmatically) to change the cursor to a crosshair and drag-select without holding Shift.
@@ -1523,7 +1908,9 @@ The Gantt Chart component supports zooming directly into a specific time range b
1523
1908
  - **Resetting**: Call the public `resetZoom()` method (or trigger via a button) to reset the timeline back to full scale.
1524
1909
 
1525
1910
  ### Keyboard Rescheduling & Resizing
1911
+
1526
1912
  Tasks can be adjusted using only the keyboard:
1913
+
1527
1914
  - **Rescheduling**: Focus a task bar and use the `ArrowLeft` or `ArrowRight` keys to shift the task start and end dates by 1 unit (1 hour in Hour view, otherwise 1 day).
1528
1915
  - **Resizing**: Focus a task bar and hold `Alt` or `Shift` alongside `ArrowLeft` or `ArrowRight` to extend or shrink the task's duration from the right boundary.
1529
1916