ngx-core-components 0.3.29 → 0.3.30

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 (34) hide show
  1. package/charts/bar-chart/bar-chart.component.d.ts +2 -1
  2. package/charts/calendar-heatmap/calendar-heatmap.component.d.ts +49 -0
  3. package/charts/multi-needle-gauge/multi-needle-gauge.component.d.ts +74 -0
  4. package/charts/nested-donut-chart/nested-donut-chart.component.d.ts +70 -0
  5. package/charts/org-chart/org-chart.component.d.ts +69 -0
  6. package/charts/pie-chart/pie-chart.component.d.ts +3 -1
  7. package/charts/public-api.d.ts +24 -0
  8. package/charts/pyramid-chart/pyramid-chart.component.d.ts +58 -0
  9. package/charts/range-bar-chart/range-bar-chart.component.d.ts +61 -0
  10. package/charts/shared/chart-annotations.d.ts +26 -0
  11. package/charts/shared/chart-brush-zoom.component.d.ts +53 -0
  12. package/charts/shared/chart-skeleton.component.d.ts +10 -0
  13. package/charts/shared/chart-sync-group.directive.d.ts +14 -0
  14. package/charts/shared/chart-theme.service.d.ts +21 -0
  15. package/charts/shared/chart-tooltip.service.d.ts +28 -0
  16. package/charts/step-line-chart/step-line-chart.component.d.ts +71 -0
  17. package/charts/timeline-chart/timeline-chart.component.d.ts +63 -0
  18. package/fesm2022/ngx-core-components-charts.mjs +3074 -4
  19. package/fesm2022/ngx-core-components-charts.mjs.map +1 -1
  20. package/fesm2022/ngx-core-components-inputs.mjs +839 -529
  21. package/fesm2022/ngx-core-components-inputs.mjs.map +1 -1
  22. package/fesm2022/ngx-core-components.mjs +2 -2
  23. package/fesm2022/ngx-core-components.mjs.map +1 -1
  24. package/inputs/date-picker/date-picker.component.d.ts +32 -33
  25. package/inputs/directives/mask.directive.d.ts +9 -0
  26. package/inputs/form-builder/form-builder.component.d.ts +22 -31
  27. package/inputs/numeric-textbox/numeric-textbox.component.d.ts +33 -23
  28. package/inputs/pipes/form-error.pipe.d.ts +9 -0
  29. package/inputs/public-api.d.ts +8 -1
  30. package/inputs/services/form-error.service.d.ts +33 -0
  31. package/inputs/textbox/textbox.component.d.ts +3 -1
  32. package/inputs/utils/mask.util.d.ts +16 -0
  33. package/package.json +1 -1
  34. package/public-api.d.ts +18 -1
@@ -1,9 +1,9 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { input, inject, ElementRef, Renderer2, HostListener, Directive, signal, ChangeDetectionStrategy, Component } from '@angular/core';
3
3
  export { AutocompleteComponent, CheckboxComponent, ColorPickerComponent, DatePickerComponent, DateRangePickerComponent, DropdownComponent, FilePreviewComponent, FileUploadComponent, FormBuilderComponent, FormDesignerComponent, MultiSelectComponent, NumericTextBoxComponent, RadioGroupComponent, RatingComponent, SegmentedControlComponent, SignaturePadComponent, SliderComponent, SwitchComponent, TagInputComponent, TextBoxComponent, TextareaComponent, TimePickerComponent } from 'ngx-core-components/inputs';
4
- export { AdjacencyMatrixComponent, AgenticCognitiveTopologyComponent, ArcDiagramComponent, AreaChartComponent, AreaRangeChartComponent, AreaSplineRangeChartComponent, BarChartComponent, BellCurveChartComponent, BiplotComponent, BoxPlotChartComponent, BubbleChartComponent, BulletChartComponent, CHART_COLORS, CandlestickChartComponent, ChordDiagramComponent, ColumnPyramidChartComponent, ColumnRangeChartComponent, ComboChartComponent, DependencyType, DependencyWheelComponent, DumbbellChartComponent, EmbeddingSpaceProjectionComponent, ErrorBarComponent, FlagsComponent, FlowmapComponent, FunnelChartComponent, GanttChartComponent, GanttScaleService, GaugeChartComponent, GeoHeatmapComponent, HLCChartComponent, HeatmapChartComponent, HeikinAshiChartComponent, HistogramComponent, HollowCandlestickChartComponent, KagiChartComponent, LineChartComponent, LollipopChartComponent, MapBubbleComponent, MapChoroplethComponent, MapLinePointComponent, MarimekkoChartComponent, NetworkGraphComponent, OHLCChartComponent, PackedBubbleChartComponent, ParallelCoordinatesComponent, ParetoChartComponent, PictorialChartComponent, PieChartComponent, PointFigureChartComponent, PolarAreaChartComponent, RadarChartComponent, RadialBarChartComponent, RenkoChartComponent, RidgelineChartComponent, SankeyChartComponent, ScatterPlotComponent, SlopeChartComponent, SparklineComponent, StreamgraphComponent, SunburstChartComponent, TiledWebMapComponent, TilemapComponent, TokenStreamingChartComponent, TransformerAttentionHeatmapComponent, TreeGraphComponent, TreemapChartComponent, VariablePieChartComponent, VariwideChartComponent, VectorPlotComponent, VennDiagramComponent, ViolinPlotComponent, WaterfallChartComponent, WindRoseChartComponent, WordCloudComponent, ZoomLevel } from 'ngx-core-components/charts';
4
+ export { AdjacencyMatrixComponent, AgenticCognitiveTopologyComponent, ArcDiagramComponent, AreaChartComponent, AreaRangeChartComponent, AreaSplineRangeChartComponent, BarChartComponent, BellCurveChartComponent, BiplotComponent, BoxPlotChartComponent, BubbleChartComponent, BulletChartComponent, CHART_COLORS, CalendarHeatmapComponent, CandlestickChartComponent, ChartBrushZoomComponent, ChartSkeletonComponent, ChordDiagramComponent, ColumnPyramidChartComponent, ColumnRangeChartComponent, ComboChartComponent, DependencyType, DependencyWheelComponent, DumbbellChartComponent, EmbeddingSpaceProjectionComponent, ErrorBarComponent, FlagsComponent, FlowmapComponent, FunnelChartComponent, GanttChartComponent, GanttScaleService, GaugeChartComponent, GeoHeatmapComponent, HLCChartComponent, HeatmapChartComponent, HeikinAshiChartComponent, HistogramComponent, HollowCandlestickChartComponent, KagiChartComponent, LineChartComponent, LollipopChartComponent, MapBubbleComponent, MapChoroplethComponent, MapLinePointComponent, MarimekkoChartComponent, MultiNeedleGaugeComponent, NestedDonutChartComponent, NetworkGraphComponent, OHLCChartComponent, OrgChartComponent, PackedBubbleChartComponent, ParallelCoordinatesComponent, ParetoChartComponent, PictorialChartComponent, PieChartComponent, PointFigureChartComponent, PolarAreaChartComponent, PyramidChartComponent, RadarChartComponent, RadialBarChartComponent, RangeBarChartComponent, RenkoChartComponent, RidgelineChartComponent, SankeyChartComponent, ScatterPlotComponent, SlopeChartComponent, SparklineComponent, StepLineChartComponent, StreamgraphComponent, SunburstChartComponent, TiledWebMapComponent, TilemapComponent, TimelineChartComponent, TokenStreamingChartComponent, TransformerAttentionHeatmapComponent, TreeGraphComponent, TreemapChartComponent, VariablePieChartComponent, VariwideChartComponent, VectorPlotComponent, VennDiagramComponent, ViolinPlotComponent, WaterfallChartComponent, WindRoseChartComponent, WordCloudComponent, ZoomLevel } from 'ngx-core-components/charts';
5
5
  export { DataGridComponent, NgxGridCellTemplateDirective, NgxGridEditCellTemplateDirective, NgxGridFooterTemplateDirective, NgxGridHeaderTemplateDirective, PivotGridComponent } from 'ngx-core-components/grid';
6
- export { CalendarComponent, ImageCompareComponent, JsonViewerComponent, KanbanComponent, KeyValueListComponent, ListViewComponent, NgxTimelineCardTemplateDirective, NgxTimelineMarkerTemplateDirective, OrgChartComponent, SchedulerComponent, TimelineComponent, TreeViewComponent, VirtualListComponent } from 'ngx-core-components/views';
6
+ export { CalendarComponent, ImageCompareComponent, JsonViewerComponent, KanbanComponent, KeyValueListComponent, ListViewComponent, NgxTimelineCardTemplateDirective, NgxTimelineMarkerTemplateDirective, SchedulerComponent, TimelineComponent, TreeViewComponent, VirtualListComponent } from 'ngx-core-components/views';
7
7
  export { DialogContainerComponent, DialogService } from 'ngx-core-components/dialog';
8
8
  export { ButtonComponent, ButtonGroupComponent, ChipComponent, ChipListComponent, DropDownButtonComponent, SpeedDialComponent, SplitButtonComponent } from 'ngx-core-components/buttons';
9
9
  export { AccordionComponent, CardComponent, CarouselComponent, DashboardLayoutComponent, DrawerComponent, SplitterComponent, StepperComponent, TabComponent, TabStripComponent } from 'ngx-core-components/layout';
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-core-components.mjs","sources":["../../../projects/ngx-core-components/src/lib/tooltip/tooltip.directive.ts","../../../projects/ngx-core-components/src/lib/tooltip/popover.component.ts","../../../projects/ngx-core-components/src/public-api.ts","../../../projects/ngx-core-components/src/ngx-core-components.ts"],"sourcesContent":["import {\n Directive, input, signal, ElementRef, HostListener, inject,\n computed, effect, Renderer2\n} from '@angular/core';\n\nexport type TooltipPosition = 'top' | 'bottom' | 'left' | 'right';\n\n@Directive({\n selector: '[ngxTooltip]',\n standalone: true,\n})\nexport class TooltipDirective {\n ngxTooltip = input<string>('');\n tooltipPosition = input<TooltipPosition>('top');\n\n private el = inject(ElementRef);\n private renderer = inject(Renderer2);\n private tooltipEl: HTMLElement | null = null;\n\n @HostListener('mouseenter')\n onMouseEnter(): void {\n const text = this.ngxTooltip();\n if (!text) return;\n this.showTooltip(text);\n }\n\n @HostListener('mouseleave')\n onMouseLeave(): void {\n this.hideTooltip();\n }\n\n private showTooltip(text: string): void {\n this.hideTooltip();\n const tip = this.renderer.createElement('div') as HTMLElement;\n tip.className = 'ngx-tooltip';\n tip.setAttribute('role', 'tooltip');\n tip.textContent = text;\n document.body.appendChild(tip);\n this.tooltipEl = tip;\n\n const rect = this.el.nativeElement.getBoundingClientRect();\n const tipRect = tip.getBoundingClientRect();\n const pos = this.tooltipPosition();\n const scrollX = window.scrollX;\n const scrollY = window.scrollY;\n const OFFSET = 8;\n let top = 0, left = 0;\n\n switch (pos) {\n case 'top':\n top = rect.top + scrollY - tipRect.height - OFFSET;\n left = rect.left + scrollX + rect.width / 2 - tipRect.width / 2;\n break;\n case 'bottom':\n top = rect.bottom + scrollY + OFFSET;\n left = rect.left + scrollX + rect.width / 2 - tipRect.width / 2;\n break;\n case 'left':\n top = rect.top + scrollY + rect.height / 2 - tipRect.height / 2;\n left = rect.left + scrollX - tipRect.width - OFFSET;\n break;\n case 'right':\n top = rect.top + scrollY + rect.height / 2 - tipRect.height / 2;\n left = rect.right + scrollX + OFFSET;\n break;\n }\n\n // Auto-flip if outside viewport\n if (top < 0) top = rect.bottom + scrollY + OFFSET;\n if (left < 0) left = 4;\n if (left + tipRect.width > window.innerWidth) left = window.innerWidth - tipRect.width - 4;\n\n tip.style.top = top + 'px';\n tip.style.left = left + 'px';\n tip.style.setProperty('--pos', pos);\n requestAnimationFrame(() => { if (tip) tip.classList.add('visible'); });\n }\n\n private hideTooltip(): void {\n if (this.tooltipEl) {\n this.tooltipEl.remove();\n this.tooltipEl = null;\n }\n }\n}\n","import {\n Component, ChangeDetectionStrategy, input, output, signal,\n HostListener, ElementRef, inject\n} from '@angular/core';\n\n@Component({\n selector: 'ngx-popover',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n <div class=\"ngx-popover-wrapper\">\n <!-- Trigger slot -->\n <div class=\"popover-trigger\" (click)=\"toggle()\">\n <ng-content select=\"[popoverTrigger]\"/>\n </div>\n\n <!-- Popup -->\n @if (isOpen()) {\n <div class=\"popover-panel\" [class]=\"'popover-' + position()\">\n @if (title()) {\n <div class=\"popover-header\">\n <span class=\"popover-title\">{{ title() }}</span>\n <button class=\"popover-close\" (click)=\"close()\">&#10005;</button>\n </div>\n }\n <div class=\"popover-body\">\n <ng-content select=\"[popoverBody]\"/>\n </div>\n </div>\n }\n </div>\n `,\n styles: [`\n :host {\n display: inline-block;\n }\n .ngx-popover-wrapper { position: relative; display: inline-block; }\n .popover-trigger { cursor: pointer; }\n .popover-panel {\n position: absolute; z-index: 1000; min-width: 200px; max-width: 320px;\n background: var(--ngx-popover-bg, #fff); border: 1px solid var(--ngx-popover-border, #dee2e6);\n border-radius: var(--ngx-popover-radius, 6px); box-shadow: var(--ngx-popover-shadow, 0 4px 16px rgba(0,0,0,0.12));\n animation: fadeIn 0.12s ease;\n }\n @keyframes fadeIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }\n .popover-bottom { top: calc(100% + 8px); left: 50%; transform: translateX(-50%); }\n .popover-top { bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); }\n .popover-right { left: calc(100% + 8px); top: 50%; transform: translateY(-50%); }\n .popover-left { right: calc(100% + 8px); top: 50%; transform: translateY(-50%); }\n .popover-header {\n display: flex; align-items: center; justify-content: space-between;\n padding: 10px 14px 8px; border-bottom: 1px solid var(--ngx-popover-border, #dee2e6);\n }\n .popover-title { font-size: 14px; font-weight: 600; color: #212529; }\n .popover-close {\n background: none; border: none; cursor: pointer; font-size: 12px;\n color: #6c757d; padding: 2px 4px; border-radius: 3px;\n }\n .popover-close:hover { background: #f1f3f5; }\n .popover-body { padding: 12px 14px; font-size: 13px; color: #495057; }\n `]\n})\nexport class PopoverComponent {\n title = input<string>('');\n position = input<'top' | 'bottom' | 'left' | 'right'>('bottom');\n\n isOpen = signal(false);\n toggle(): void { this.isOpen.update(v => !v); }\n close(): void { this.isOpen.set(false); }\n\n private el = inject(ElementRef);\n\n @HostListener('document:click', ['$event'])\n onDocClick(e: MouseEvent): void {\n if (!this.el.nativeElement.contains(e.target)) this.isOpen.set(false);\n }\n}\n","/*\n * Public API Surface of ngx-core-components\n *\n * Components are organized into secondary entry points.\n * All exports are re-exported here for convenience/backward compatibility.\n */\n\n// ===== Tooltip & Popover (primary entry only) =====\nexport { TooltipDirective } from './lib/tooltip/tooltip.directive';\nexport type { TooltipPosition } from './lib/tooltip/tooltip.directive';\nexport { PopoverComponent } from './lib/tooltip/popover.component';\n\n// ===== Input Components (also available via ngx-core-components/inputs) =====\nexport { TextBoxComponent } from 'ngx-core-components/inputs';\nexport { CheckboxComponent } from 'ngx-core-components/inputs';\nexport { RadioGroupComponent } from 'ngx-core-components/inputs';\nexport type { RadioOption } from 'ngx-core-components/inputs';\nexport { DropdownComponent } from 'ngx-core-components/inputs';\nexport type { DropdownOption } from 'ngx-core-components/inputs';\nexport { MultiSelectComponent } from 'ngx-core-components/inputs';\nexport { AutocompleteComponent } from 'ngx-core-components/inputs';\nexport { DatePickerComponent } from 'ngx-core-components/inputs';\n\n// ===== Charts & Gantt (also available via ngx-core-components/charts) =====\nexport { BarChartComponent } from 'ngx-core-components/charts';\nexport { LineChartComponent } from 'ngx-core-components/charts';\nexport { PieChartComponent } from 'ngx-core-components/charts';\nexport { SparklineComponent } from 'ngx-core-components/charts';\nexport { GaugeChartComponent } from 'ngx-core-components/charts';\nexport type { GaugeThreshold } from 'ngx-core-components/charts';\nexport { RadarChartComponent } from 'ngx-core-components/charts';\nexport type { RadarSeries } from 'ngx-core-components/charts';\nexport { HeatmapChartComponent } from 'ngx-core-components/charts';\nexport { TreemapChartComponent } from 'ngx-core-components/charts';\nexport type { TreemapItem } from 'ngx-core-components/charts';\nexport { AreaChartComponent } from 'ngx-core-components/charts';\nexport { FunnelChartComponent } from 'ngx-core-components/charts';\nexport type { FunnelItem } from 'ngx-core-components/charts';\nexport type { ChartSeries, ChartDataPoint } from 'ngx-core-components/charts';\nexport { CHART_COLORS } from 'ngx-core-components/charts';\nexport { ComboChartComponent } from 'ngx-core-components/charts';\nexport { ScatterPlotComponent } from 'ngx-core-components/charts';\nexport type { ScatterPoint } from 'ngx-core-components/charts';\nexport { BubbleChartComponent } from 'ngx-core-components/charts';\nexport type { BubblePoint } from 'ngx-core-components/charts';\nexport { SunburstChartComponent } from 'ngx-core-components/charts';\nexport type { SunburstNode } from 'ngx-core-components/charts';\nexport { WaterfallChartComponent } from 'ngx-core-components/charts';\nexport type { WaterfallItem } from 'ngx-core-components/charts';\nexport { BoxPlotChartComponent } from 'ngx-core-components/charts';\nexport type { BoxPlotItem } from 'ngx-core-components/charts';\nexport { RadialBarChartComponent } from 'ngx-core-components/charts';\nexport type { RadialBarItem } from 'ngx-core-components/charts';\nexport { CandlestickChartComponent } from 'ngx-core-components/charts';\nexport type { CandlestickItem } from 'ngx-core-components/charts';\nexport { PolarAreaChartComponent } from 'ngx-core-components/charts';\nexport { BulletChartComponent } from 'ngx-core-components/charts';\nexport { DumbbellChartComponent } from 'ngx-core-components/charts';\nexport type { DumbbellItem } from 'ngx-core-components/charts';\nexport { LollipopChartComponent } from 'ngx-core-components/charts';\nexport { SlopeChartComponent } from 'ngx-core-components/charts';\nexport type { SlopeDataPoint } from 'ngx-core-components/charts';\nexport { SankeyChartComponent } from 'ngx-core-components/charts';\nexport type { SankeyNode, SankeyLink } from 'ngx-core-components/charts';\nexport { ViolinPlotComponent } from 'ngx-core-components/charts';\nexport type { ViolinItem } from 'ngx-core-components/charts';\nexport { RidgelineChartComponent } from 'ngx-core-components/charts';\nexport type { RidgelineItem } from 'ngx-core-components/charts';\nexport { ParetoChartComponent } from 'ngx-core-components/charts';\nexport type { ParetoItem } from 'ngx-core-components/charts';\nexport { MarimekkoChartComponent } from 'ngx-core-components/charts';\nexport type { MarimekkoItem, MarimekkoSegment } from 'ngx-core-components/charts';\nexport { ChordDiagramComponent } from 'ngx-core-components/charts';\nexport type { ChordItem } from 'ngx-core-components/charts';\nexport { DependencyWheelComponent } from 'ngx-core-components/charts';\nexport type { DependencyItem } from 'ngx-core-components/charts';\nexport { AdjacencyMatrixComponent } from 'ngx-core-components/charts';\nexport type { MatrixItem } from 'ngx-core-components/charts';\nexport { BiplotComponent } from 'ngx-core-components/charts';\nexport type { BiplotPoint, BiplotVector } from 'ngx-core-components/charts';\nexport { RenkoChartComponent } from 'ngx-core-components/charts';\nexport type { RenkoBrick } from 'ngx-core-components/charts';\nexport { KagiChartComponent } from 'ngx-core-components/charts';\nexport type { KagiSegment } from 'ngx-core-components/charts';\nexport { PointFigureChartComponent } from 'ngx-core-components/charts';\nexport type { PFCell } from 'ngx-core-components/charts';\nexport { WindRoseChartComponent } from 'ngx-core-components/charts';\nexport type { WindRoseItem, WindRoseSpeedBin } from 'ngx-core-components/charts';\n\n// Batch 1: Line, Area, Spline & Bar Ranges\nexport { AreaRangeChartComponent } from 'ngx-core-components/charts';\nexport type { AreaRangeSeries, AreaRangeDataPoint } from 'ngx-core-components/charts';\nexport { AreaSplineRangeChartComponent } from 'ngx-core-components/charts';\nexport { StreamgraphComponent } from 'ngx-core-components/charts';\nexport type { StreamgraphSeries } from 'ngx-core-components/charts';\nexport { ColumnRangeChartComponent } from 'ngx-core-components/charts';\nexport type { ColumnRangeSeries, ColumnRangePoint } from 'ngx-core-components/charts';\nexport { ColumnPyramidChartComponent } from 'ngx-core-components/charts';\nexport type { ColumnPyramidSeries } from 'ngx-core-components/charts';\nexport { VariwideChartComponent } from 'ngx-core-components/charts';\nexport type { VariwidePoint } from 'ngx-core-components/charts';\n\n// Batch 2: Pie, Bubbles & Network Diagrams\nexport { VariablePieChartComponent } from 'ngx-core-components/charts';\nexport type { VariablePieDataPoint } from 'ngx-core-components/charts';\nexport { PackedBubbleChartComponent } from 'ngx-core-components/charts';\nexport type { BubbleNode } from 'ngx-core-components/charts';\nexport { NetworkGraphComponent } from 'ngx-core-components/charts';\nexport type { NetworkNode, NetworkLink } from 'ngx-core-components/charts';\nexport { TreeGraphComponent } from 'ngx-core-components/charts';\nexport type { TreeGraphNode } from 'ngx-core-components/charts';\nexport { ArcDiagramComponent } from 'ngx-core-components/charts';\nexport type { ArcNode, ArcLink } from 'ngx-core-components/charts';\n\n// Batch 3: Statistical & Advanced Visualizations\nexport { HistogramComponent } from 'ngx-core-components/charts';\nexport type { HistogramBin } from 'ngx-core-components/charts';\nexport { BellCurveChartComponent } from 'ngx-core-components/charts';\nexport type { CurvePoint } from 'ngx-core-components/charts';\nexport { ErrorBarComponent } from 'ngx-core-components/charts';\nexport type { ErrorBarPoint } from 'ngx-core-components/charts';\nexport { TilemapComponent } from 'ngx-core-components/charts';\nexport type { TileItem } from 'ngx-core-components/charts';\nexport { VennDiagramComponent } from 'ngx-core-components/charts';\nexport type { VennRegion } from 'ngx-core-components/charts';\nexport { ParallelCoordinatesComponent } from 'ngx-core-components/charts';\nexport type { ParallelLine, AxisDimension } from 'ngx-core-components/charts';\nexport { WordCloudComponent } from 'ngx-core-components/charts';\nexport type { WordItem } from 'ngx-core-components/charts';\nexport { PictorialChartComponent } from 'ngx-core-components/charts';\nexport type { PictorialIcon } from 'ngx-core-components/charts';\nexport { VectorPlotComponent } from 'ngx-core-components/charts';\nexport type { VectorItem } from 'ngx-core-components/charts';\n\n// Batch 4: Financial Indicators & Stock Options\nexport { OHLCChartComponent } from 'ngx-core-components/charts';\nexport type { OHLCItem } from 'ngx-core-components/charts';\nexport { HLCChartComponent } from 'ngx-core-components/charts';\nexport type { HLCItem } from 'ngx-core-components/charts';\nexport { HollowCandlestickChartComponent } from 'ngx-core-components/charts';\nexport { HeikinAshiChartComponent } from 'ngx-core-components/charts';\nexport { FlagsComponent } from 'ngx-core-components/charts';\nexport type { ChartFlag } from 'ngx-core-components/charts';\n\n// Batch 5: Geographical Maps\nexport { MapChoroplethComponent } from 'ngx-core-components/charts';\nexport type { ChoroplethDataPoint } from 'ngx-core-components/charts';\nexport { MapBubbleComponent } from 'ngx-core-components/charts';\nexport type { MapBubblePoint } from 'ngx-core-components/charts';\nexport { MapLinePointComponent } from 'ngx-core-components/charts';\nexport type { MapPoint, MapLine } from 'ngx-core-components/charts';\nexport { FlowmapComponent } from 'ngx-core-components/charts';\nexport type { FlowNode, FlowConnection } from 'ngx-core-components/charts';\nexport { GeoHeatmapComponent } from 'ngx-core-components/charts';\nexport type { GeoHeatmapPoint } from 'ngx-core-components/charts';\nexport { TiledWebMapComponent } from 'ngx-core-components/charts';\nexport type { MapMarker } from 'ngx-core-components/charts';\n\n\nexport { GanttChartComponent } from 'ngx-core-components/charts';\n\nexport type { FlatRow } from 'ngx-core-components/charts';\nexport { GanttScaleService } from 'ngx-core-components/charts';\n// Gantt model types\nexport type {\n GanttTask,\n GanttDependency,\n GanttConfig,\n GanttColumnDef,\n GanttTaskChangeEvent,\n GanttTaskClickEvent,\n GanttDependencyClickEvent,\n GanttScrollEvent,\n GanttGroup,\n GanttBaselineItem,\n GanttDragEvent,\n GanttLinkDragEvent,\n GanttLineClickEvent,\n GanttBarClickEvent,\n GanttSelectedEvent,\n GanttTableDragStartedEvent,\n GanttTableDragEndedEvent,\n GanttTableDragDroppedEvent,\n GanttLoadOnScrollEvent,\n GanttVirtualScrolledIndexChangeEvent,\n GanttViewChangeEvent,\n GanttExpandChangeEvent,\n GanttTooltipContext,\n} from 'ngx-core-components/charts';\nexport { ZoomLevel, DependencyType } from 'ngx-core-components/charts';\n\n// AI-Native Chart Types\nexport { TokenStreamingChartComponent } from 'ngx-core-components/charts';\nexport { EmbeddingSpaceProjectionComponent } from 'ngx-core-components/charts';\nexport type { EmbeddingPoint } from 'ngx-core-components/charts';\nexport { AgenticCognitiveTopologyComponent } from 'ngx-core-components/charts';\nexport type { TopologyNode, TopologyLink } from 'ngx-core-components/charts';\nexport { TransformerAttentionHeatmapComponent } from 'ngx-core-components/charts';\n\n// ===== Data Grid (also available via ngx-core-components/grid) =====\nexport {\n DataGridComponent,\n PivotGridComponent,\n NgxGridCellTemplateDirective,\n NgxGridEditCellTemplateDirective,\n NgxGridHeaderTemplateDirective,\n NgxGridFooterTemplateDirective,\n} from 'ngx-core-components/grid';\nexport type {\n GridColumnDef,\n GridFilterState,\n GridGroupState,\n GridGroupResult,\n GridSortState,\n GridPageChangeEvent,\n GridSortChangeEvent,\n GridFilterChangeEvent,\n GridGroupChangeEvent,\n GridDataStateChangeEvent,\n GridRowClickEvent,\n GridRowUpdateEvent,\n GridHeaderTemplateContext,\n GridCellTemplateContext,\n GridRowTemplateContext,\n GridDetailTemplateContext,\n GridFooterTemplateContext,\n PivotValueDef,\n} from 'ngx-core-components/grid';\n\n// ===== Hierarchical Views (also available via ngx-core-components/views) =====\nexport { TreeViewComponent } from 'ngx-core-components/views';\nexport type { TreeNode, TreeNodeEvent } from 'ngx-core-components/views';\nexport { ListViewComponent } from 'ngx-core-components/views';\nexport type {\n ListViewItemClickEvent,\n ListViewSelectionEvent,\n ListViewPageChangeEvent,\n} from 'ngx-core-components/views';\nexport { KanbanComponent } from 'ngx-core-components/views';\nexport type {\n KanbanCard,\n KanbanColumn,\n KanbanSwimlane,\n KanbanCardMoveEvent,\n KanbanMoveRejectedEvent,\n} from 'ngx-core-components/views';\nexport { TimelineComponent, NgxTimelineMarkerTemplateDirective, NgxTimelineCardTemplateDirective } from 'ngx-core-components/views';\nexport type { TimelineItem } from 'ngx-core-components/views';\nexport { SchedulerComponent } from 'ngx-core-components/views';\nexport type { SchedulerEvent, SchedulerRecurrence, SchedulerSlotClickEvent, SchedulerEventChangeEvent } from 'ngx-core-components/views';\nexport { VirtualListComponent } from 'ngx-core-components/views';\nexport type { VirtualListItem, VirtualListItemClickEvent } from 'ngx-core-components/views';\nexport { ImageCompareComponent } from 'ngx-core-components/views';\nexport { KeyValueListComponent } from 'ngx-core-components/views';\nexport type { KeyValueItem } from 'ngx-core-components/views';\nexport { OrgChartComponent, JsonViewerComponent, CalendarComponent } from 'ngx-core-components/views';\nexport type { OrgChartNode, CalendarEvent, CalendarCell } from 'ngx-core-components/views';\n\n\n\n\n// ===== Dialog (also available via ngx-core-components/dialog) =====\nexport { DialogService } from 'ngx-core-components/dialog';\nexport type { DialogRef, DialogConfig } from 'ngx-core-components/dialog';\nexport { DialogContainerComponent } from 'ngx-core-components/dialog';\n\nexport {\n ButtonComponent,\n ButtonGroupComponent,\n ChipComponent,\n ChipListComponent,\n SplitButtonComponent,\n DropDownButtonComponent,\n SpeedDialComponent,\n} from 'ngx-core-components/buttons';\nexport type {\n ButtonVariant,\n ButtonSize,\n ButtonShape,\n ChipVariant,\n SplitButtonItem,\n DropDownButtonItem,\n SpeedDialItem,\n} from 'ngx-core-components/buttons';\n\n// ===== Layout (also available via ngx-core-components/layout) =====\nexport {\n CardComponent,\n TabStripComponent,\n TabComponent,\n AccordionComponent,\n StepperComponent,\n SplitterComponent,\n DashboardLayoutComponent,\n CarouselComponent,\n DrawerComponent,\n} from 'ngx-core-components/layout';\nexport type {\n CardVariant,\n AccordionItem,\n StepperStep,\n DashboardItem,\n DashboardLayoutChangeEvent,\n DashboardPanelActionEvent,\n} from 'ngx-core-components/layout';\n\n// ===== Feedback (also available via ngx-core-components/feedback) =====\nexport {\n BadgeComponent,\n ProgressBarComponent,\n SkeletonComponent,\n NotificationService,\n NotificationContainerComponent,\n AvatarComponent,\n AvatarGroupComponent,\n StatCardComponent,\n CountdownComponent,\n EmptyStateComponent,\n} from 'ngx-core-components/feedback';\nexport type {\n BadgeVariant,\n BadgePosition,\n ProgressVariant,\n SkeletonShape,\n NotificationOptions,\n NotificationType,\n NotificationPosition,\n AvatarSize,\n AvatarShape,\n AvatarStatus,\n AvatarItem,\n StatCardVariant,\n CountdownVariant,\n} from 'ngx-core-components/feedback';\n\n// ===== Navigation (also available via ngx-core-components/navigation) =====\nexport {\n BreadcrumbComponent,\n MenuComponent,\n CommandPaletteComponent,\n ContextMenuComponent,\n BackToTopComponent,\n} from 'ngx-core-components/navigation';\nexport type {\n BreadcrumbItem,\n MenuItem,\n CommandItem,\n ContextMenuItem,\n} from 'ngx-core-components/navigation';\n\n// ===== Additional Inputs (also available via ngx-core-components/inputs) =====\nexport {\n SliderComponent,\n SwitchComponent,\n RatingComponent,\n NumericTextBoxComponent,\n TextareaComponent,\n ColorPickerComponent,\n TimePickerComponent,\n DateRangePickerComponent,\n FileUploadComponent,\n TagInputComponent,\n FilePreviewComponent,\n SegmentedControlComponent,\n FormBuilderComponent,\n FormDesignerComponent,\n SignaturePadComponent,\n} from 'ngx-core-components/inputs';\nexport type {\n UploadFileItem,\n PreviewFileItem,\n SegmentedOption,\n FormBuilderField,\n FormBuilderOption,\n} from 'ngx-core-components/inputs';\n\n// ===== Barcodes (also available via ngx-core-components/barcodes) =====\nexport { QrCodeComponent, BarcodeComponent } from 'ngx-core-components/barcodes';\n\n// ===== AI & Agentic Components (also available via ngx-core-components/ai) =====\nexport { AIChatComponent } from 'ngx-core-components/ai';\nexport type {\n AIMessage,\n AgentStep,\n AICard,\n AICardAction,\n QuickReply,\n} from 'ngx-core-components/ai';\nexport { AIChatWidgetComponent } from 'ngx-core-components/ai';\nexport { AIPromptEditorComponent } from 'ngx-core-components/ai';\nexport { NgxWebLlmService, AIFormCopilotComponent } from 'ngx-core-components/ai';\nexport type { WebLlmMessage } from 'ngx-core-components/ai';\n\n// ===== i18n =====\nexport { NGX_CORE_I18N, DEFAULT_EN_I18N, provideNgxI18n } from 'ngx-core-components/i18n';\nexport type { NgxCoreI18n } from 'ngx-core-components/i18n';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;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AA,EAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,UAAA,EAAA,UAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,gBAAA,EAAA,oBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EArDjB;;;;;;;;;;;;;;;;;;;;;;AAsBT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,2tCAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FA+BU,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAzD5B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,cACX,IAAI,EAAA,eAAA,EACC,uBAAuB,CAAC,MAAM,EAAA,QAAA,EACrC;;;;;;;;;;;;;;;;;;;;;;AAsBT,EAAA,CAAA,EAAA,MAAA,EAAA,CAAA,2tCAAA,CAAA,EAAA;8BA0CD,UAAU,EAAA,CAAA;sBADT,YAAY;uBAAC,gBAAgB,EAAE,CAAC,QAAQ,CAAC;;;ACxE5C;;;;;AAKG;AAEH;;ACPA;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-core-components.mjs","sources":["../../../projects/ngx-core-components/src/lib/tooltip/tooltip.directive.ts","../../../projects/ngx-core-components/src/lib/tooltip/popover.component.ts","../../../projects/ngx-core-components/src/public-api.ts","../../../projects/ngx-core-components/src/ngx-core-components.ts"],"sourcesContent":["import {\n Directive, input, signal, ElementRef, HostListener, inject,\n computed, effect, Renderer2\n} from '@angular/core';\n\nexport type TooltipPosition = 'top' | 'bottom' | 'left' | 'right';\n\n@Directive({\n selector: '[ngxTooltip]',\n standalone: true,\n})\nexport class TooltipDirective {\n ngxTooltip = input<string>('');\n tooltipPosition = input<TooltipPosition>('top');\n\n private el = inject(ElementRef);\n private renderer = inject(Renderer2);\n private tooltipEl: HTMLElement | null = null;\n\n @HostListener('mouseenter')\n onMouseEnter(): void {\n const text = this.ngxTooltip();\n if (!text) return;\n this.showTooltip(text);\n }\n\n @HostListener('mouseleave')\n onMouseLeave(): void {\n this.hideTooltip();\n }\n\n private showTooltip(text: string): void {\n this.hideTooltip();\n const tip = this.renderer.createElement('div') as HTMLElement;\n tip.className = 'ngx-tooltip';\n tip.setAttribute('role', 'tooltip');\n tip.textContent = text;\n document.body.appendChild(tip);\n this.tooltipEl = tip;\n\n const rect = this.el.nativeElement.getBoundingClientRect();\n const tipRect = tip.getBoundingClientRect();\n const pos = this.tooltipPosition();\n const scrollX = window.scrollX;\n const scrollY = window.scrollY;\n const OFFSET = 8;\n let top = 0, left = 0;\n\n switch (pos) {\n case 'top':\n top = rect.top + scrollY - tipRect.height - OFFSET;\n left = rect.left + scrollX + rect.width / 2 - tipRect.width / 2;\n break;\n case 'bottom':\n top = rect.bottom + scrollY + OFFSET;\n left = rect.left + scrollX + rect.width / 2 - tipRect.width / 2;\n break;\n case 'left':\n top = rect.top + scrollY + rect.height / 2 - tipRect.height / 2;\n left = rect.left + scrollX - tipRect.width - OFFSET;\n break;\n case 'right':\n top = rect.top + scrollY + rect.height / 2 - tipRect.height / 2;\n left = rect.right + scrollX + OFFSET;\n break;\n }\n\n // Auto-flip if outside viewport\n if (top < 0) top = rect.bottom + scrollY + OFFSET;\n if (left < 0) left = 4;\n if (left + tipRect.width > window.innerWidth) left = window.innerWidth - tipRect.width - 4;\n\n tip.style.top = top + 'px';\n tip.style.left = left + 'px';\n tip.style.setProperty('--pos', pos);\n requestAnimationFrame(() => { if (tip) tip.classList.add('visible'); });\n }\n\n private hideTooltip(): void {\n if (this.tooltipEl) {\n this.tooltipEl.remove();\n this.tooltipEl = null;\n }\n }\n}\n","import {\n Component, ChangeDetectionStrategy, input, output, signal,\n HostListener, ElementRef, inject\n} from '@angular/core';\n\n@Component({\n selector: 'ngx-popover',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n <div class=\"ngx-popover-wrapper\">\n <!-- Trigger slot -->\n <div class=\"popover-trigger\" (click)=\"toggle()\">\n <ng-content select=\"[popoverTrigger]\"/>\n </div>\n\n <!-- Popup -->\n @if (isOpen()) {\n <div class=\"popover-panel\" [class]=\"'popover-' + position()\">\n @if (title()) {\n <div class=\"popover-header\">\n <span class=\"popover-title\">{{ title() }}</span>\n <button class=\"popover-close\" (click)=\"close()\">&#10005;</button>\n </div>\n }\n <div class=\"popover-body\">\n <ng-content select=\"[popoverBody]\"/>\n </div>\n </div>\n }\n </div>\n `,\n styles: [`\n :host {\n display: inline-block;\n }\n .ngx-popover-wrapper { position: relative; display: inline-block; }\n .popover-trigger { cursor: pointer; }\n .popover-panel {\n position: absolute; z-index: 1000; min-width: 200px; max-width: 320px;\n background: var(--ngx-popover-bg, #fff); border: 1px solid var(--ngx-popover-border, #dee2e6);\n border-radius: var(--ngx-popover-radius, 6px); box-shadow: var(--ngx-popover-shadow, 0 4px 16px rgba(0,0,0,0.12));\n animation: fadeIn 0.12s ease;\n }\n @keyframes fadeIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }\n .popover-bottom { top: calc(100% + 8px); left: 50%; transform: translateX(-50%); }\n .popover-top { bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); }\n .popover-right { left: calc(100% + 8px); top: 50%; transform: translateY(-50%); }\n .popover-left { right: calc(100% + 8px); top: 50%; transform: translateY(-50%); }\n .popover-header {\n display: flex; align-items: center; justify-content: space-between;\n padding: 10px 14px 8px; border-bottom: 1px solid var(--ngx-popover-border, #dee2e6);\n }\n .popover-title { font-size: 14px; font-weight: 600; color: #212529; }\n .popover-close {\n background: none; border: none; cursor: pointer; font-size: 12px;\n color: #6c757d; padding: 2px 4px; border-radius: 3px;\n }\n .popover-close:hover { background: #f1f3f5; }\n .popover-body { padding: 12px 14px; font-size: 13px; color: #495057; }\n `]\n})\nexport class PopoverComponent {\n title = input<string>('');\n position = input<'top' | 'bottom' | 'left' | 'right'>('bottom');\n\n isOpen = signal(false);\n toggle(): void { this.isOpen.update(v => !v); }\n close(): void { this.isOpen.set(false); }\n\n private el = inject(ElementRef);\n\n @HostListener('document:click', ['$event'])\n onDocClick(e: MouseEvent): void {\n if (!this.el.nativeElement.contains(e.target)) this.isOpen.set(false);\n }\n}\n","/*\n * Public API Surface of ngx-core-components\n *\n * Components are organized into secondary entry points.\n * All exports are re-exported here for convenience/backward compatibility.\n */\n\n// ===== Tooltip & Popover (primary entry only) =====\nexport { TooltipDirective } from './lib/tooltip/tooltip.directive';\nexport type { TooltipPosition } from './lib/tooltip/tooltip.directive';\nexport { PopoverComponent } from './lib/tooltip/popover.component';\n\n// ===== Input Components (also available via ngx-core-components/inputs) =====\nexport { TextBoxComponent } from 'ngx-core-components/inputs';\nexport { CheckboxComponent } from 'ngx-core-components/inputs';\nexport { RadioGroupComponent } from 'ngx-core-components/inputs';\nexport type { RadioOption } from 'ngx-core-components/inputs';\nexport { DropdownComponent } from 'ngx-core-components/inputs';\nexport type { DropdownOption } from 'ngx-core-components/inputs';\nexport { MultiSelectComponent } from 'ngx-core-components/inputs';\nexport { AutocompleteComponent } from 'ngx-core-components/inputs';\nexport { DatePickerComponent } from 'ngx-core-components/inputs';\n\n// ===== Charts & Gantt (also available via ngx-core-components/charts) =====\nexport { BarChartComponent } from 'ngx-core-components/charts';\nexport { LineChartComponent } from 'ngx-core-components/charts';\nexport { PieChartComponent } from 'ngx-core-components/charts';\nexport { SparklineComponent } from 'ngx-core-components/charts';\nexport { GaugeChartComponent } from 'ngx-core-components/charts';\nexport type { GaugeThreshold } from 'ngx-core-components/charts';\nexport { RadarChartComponent } from 'ngx-core-components/charts';\nexport type { RadarSeries } from 'ngx-core-components/charts';\nexport { HeatmapChartComponent } from 'ngx-core-components/charts';\nexport { TreemapChartComponent } from 'ngx-core-components/charts';\nexport type { TreemapItem } from 'ngx-core-components/charts';\nexport { AreaChartComponent } from 'ngx-core-components/charts';\nexport { FunnelChartComponent } from 'ngx-core-components/charts';\nexport type { FunnelItem } from 'ngx-core-components/charts';\nexport type { ChartSeries, ChartDataPoint } from 'ngx-core-components/charts';\nexport { CHART_COLORS } from 'ngx-core-components/charts';\nexport { ComboChartComponent } from 'ngx-core-components/charts';\nexport { ScatterPlotComponent } from 'ngx-core-components/charts';\nexport type { ScatterPoint } from 'ngx-core-components/charts';\nexport { BubbleChartComponent } from 'ngx-core-components/charts';\nexport type { BubblePoint } from 'ngx-core-components/charts';\nexport { SunburstChartComponent } from 'ngx-core-components/charts';\nexport type { SunburstNode } from 'ngx-core-components/charts';\nexport { WaterfallChartComponent } from 'ngx-core-components/charts';\nexport type { WaterfallItem } from 'ngx-core-components/charts';\nexport { BoxPlotChartComponent } from 'ngx-core-components/charts';\nexport type { BoxPlotItem } from 'ngx-core-components/charts';\nexport { RadialBarChartComponent } from 'ngx-core-components/charts';\nexport type { RadialBarItem } from 'ngx-core-components/charts';\nexport { CandlestickChartComponent } from 'ngx-core-components/charts';\nexport type { CandlestickItem } from 'ngx-core-components/charts';\nexport { PolarAreaChartComponent } from 'ngx-core-components/charts';\nexport { BulletChartComponent } from 'ngx-core-components/charts';\nexport { DumbbellChartComponent } from 'ngx-core-components/charts';\nexport type { DumbbellItem } from 'ngx-core-components/charts';\nexport { LollipopChartComponent } from 'ngx-core-components/charts';\nexport { SlopeChartComponent } from 'ngx-core-components/charts';\nexport type { SlopeDataPoint } from 'ngx-core-components/charts';\nexport { SankeyChartComponent } from 'ngx-core-components/charts';\nexport type { SankeyNode, SankeyLink } from 'ngx-core-components/charts';\nexport { ViolinPlotComponent } from 'ngx-core-components/charts';\nexport type { ViolinItem } from 'ngx-core-components/charts';\nexport { RidgelineChartComponent } from 'ngx-core-components/charts';\nexport type { RidgelineItem } from 'ngx-core-components/charts';\nexport { ParetoChartComponent } from 'ngx-core-components/charts';\nexport type { ParetoItem } from 'ngx-core-components/charts';\nexport { MarimekkoChartComponent } from 'ngx-core-components/charts';\nexport type { MarimekkoItem, MarimekkoSegment } from 'ngx-core-components/charts';\nexport { ChordDiagramComponent } from 'ngx-core-components/charts';\nexport type { ChordItem } from 'ngx-core-components/charts';\nexport { DependencyWheelComponent } from 'ngx-core-components/charts';\nexport type { DependencyItem } from 'ngx-core-components/charts';\nexport { AdjacencyMatrixComponent } from 'ngx-core-components/charts';\nexport type { MatrixItem } from 'ngx-core-components/charts';\nexport { BiplotComponent } from 'ngx-core-components/charts';\nexport type { BiplotPoint, BiplotVector } from 'ngx-core-components/charts';\nexport { RenkoChartComponent } from 'ngx-core-components/charts';\nexport type { RenkoBrick } from 'ngx-core-components/charts';\nexport { KagiChartComponent } from 'ngx-core-components/charts';\nexport type { KagiSegment } from 'ngx-core-components/charts';\nexport { PointFigureChartComponent } from 'ngx-core-components/charts';\nexport type { PFCell } from 'ngx-core-components/charts';\nexport { WindRoseChartComponent } from 'ngx-core-components/charts';\nexport type { WindRoseItem, WindRoseSpeedBin } from 'ngx-core-components/charts';\n\n// Batch 1: Line, Area, Spline & Bar Ranges\nexport { AreaRangeChartComponent } from 'ngx-core-components/charts';\nexport type { AreaRangeSeries, AreaRangeDataPoint } from 'ngx-core-components/charts';\nexport { AreaSplineRangeChartComponent } from 'ngx-core-components/charts';\nexport { StreamgraphComponent } from 'ngx-core-components/charts';\nexport type { StreamgraphSeries } from 'ngx-core-components/charts';\nexport { ColumnRangeChartComponent } from 'ngx-core-components/charts';\nexport type { ColumnRangeSeries, ColumnRangePoint } from 'ngx-core-components/charts';\nexport { ColumnPyramidChartComponent } from 'ngx-core-components/charts';\nexport type { ColumnPyramidSeries } from 'ngx-core-components/charts';\nexport { VariwideChartComponent } from 'ngx-core-components/charts';\nexport type { VariwidePoint } from 'ngx-core-components/charts';\n\n// Batch 2: Pie, Bubbles & Network Diagrams\nexport { VariablePieChartComponent } from 'ngx-core-components/charts';\nexport type { VariablePieDataPoint } from 'ngx-core-components/charts';\nexport { PackedBubbleChartComponent } from 'ngx-core-components/charts';\nexport type { BubbleNode } from 'ngx-core-components/charts';\nexport { NetworkGraphComponent } from 'ngx-core-components/charts';\nexport type { NetworkNode, NetworkLink } from 'ngx-core-components/charts';\nexport { TreeGraphComponent } from 'ngx-core-components/charts';\nexport type { TreeGraphNode } from 'ngx-core-components/charts';\nexport { ArcDiagramComponent } from 'ngx-core-components/charts';\nexport type { ArcNode, ArcLink } from 'ngx-core-components/charts';\n\n// Batch 3: Statistical & Advanced Visualizations\nexport { HistogramComponent } from 'ngx-core-components/charts';\nexport type { HistogramBin } from 'ngx-core-components/charts';\nexport { BellCurveChartComponent } from 'ngx-core-components/charts';\nexport type { CurvePoint } from 'ngx-core-components/charts';\nexport { ErrorBarComponent } from 'ngx-core-components/charts';\nexport type { ErrorBarPoint } from 'ngx-core-components/charts';\nexport { TilemapComponent } from 'ngx-core-components/charts';\nexport type { TileItem } from 'ngx-core-components/charts';\nexport { VennDiagramComponent } from 'ngx-core-components/charts';\nexport type { VennRegion } from 'ngx-core-components/charts';\nexport { ParallelCoordinatesComponent } from 'ngx-core-components/charts';\nexport type { ParallelLine, AxisDimension } from 'ngx-core-components/charts';\nexport { WordCloudComponent } from 'ngx-core-components/charts';\nexport type { WordItem } from 'ngx-core-components/charts';\nexport { PictorialChartComponent } from 'ngx-core-components/charts';\nexport type { PictorialIcon } from 'ngx-core-components/charts';\nexport { VectorPlotComponent } from 'ngx-core-components/charts';\nexport type { VectorItem } from 'ngx-core-components/charts';\n\n// Batch 4: Financial Indicators & Stock Options\nexport { OHLCChartComponent } from 'ngx-core-components/charts';\nexport type { OHLCItem } from 'ngx-core-components/charts';\nexport { HLCChartComponent } from 'ngx-core-components/charts';\nexport type { HLCItem } from 'ngx-core-components/charts';\nexport { HollowCandlestickChartComponent } from 'ngx-core-components/charts';\nexport { HeikinAshiChartComponent } from 'ngx-core-components/charts';\nexport { FlagsComponent } from 'ngx-core-components/charts';\nexport type { ChartFlag } from 'ngx-core-components/charts';\n\n// Batch 5: Geographical Maps\nexport { MapChoroplethComponent } from 'ngx-core-components/charts';\nexport type { ChoroplethDataPoint } from 'ngx-core-components/charts';\nexport { MapBubbleComponent } from 'ngx-core-components/charts';\nexport type { MapBubblePoint } from 'ngx-core-components/charts';\nexport { MapLinePointComponent } from 'ngx-core-components/charts';\nexport type { MapPoint, MapLine } from 'ngx-core-components/charts';\nexport { FlowmapComponent } from 'ngx-core-components/charts';\nexport type { FlowNode, FlowConnection } from 'ngx-core-components/charts';\nexport { GeoHeatmapComponent } from 'ngx-core-components/charts';\nexport type { GeoHeatmapPoint } from 'ngx-core-components/charts';\nexport { TiledWebMapComponent } from 'ngx-core-components/charts';\nexport type { MapMarker } from 'ngx-core-components/charts';\n\n\nexport { GanttChartComponent } from 'ngx-core-components/charts';\n\nexport type { FlatRow } from 'ngx-core-components/charts';\nexport { GanttScaleService } from 'ngx-core-components/charts';\n// Gantt model types\nexport type {\n GanttTask,\n GanttDependency,\n GanttConfig,\n GanttColumnDef,\n GanttTaskChangeEvent,\n GanttTaskClickEvent,\n GanttDependencyClickEvent,\n GanttScrollEvent,\n GanttGroup,\n GanttBaselineItem,\n GanttDragEvent,\n GanttLinkDragEvent,\n GanttLineClickEvent,\n GanttBarClickEvent,\n GanttSelectedEvent,\n GanttTableDragStartedEvent,\n GanttTableDragEndedEvent,\n GanttTableDragDroppedEvent,\n GanttLoadOnScrollEvent,\n GanttVirtualScrolledIndexChangeEvent,\n GanttViewChangeEvent,\n GanttExpandChangeEvent,\n GanttTooltipContext,\n} from 'ngx-core-components/charts';\nexport { ZoomLevel, DependencyType } from 'ngx-core-components/charts';\n\n// AI-Native Chart Types\nexport { TokenStreamingChartComponent } from 'ngx-core-components/charts';\nexport { EmbeddingSpaceProjectionComponent } from 'ngx-core-components/charts';\nexport type { EmbeddingPoint } from 'ngx-core-components/charts';\nexport { AgenticCognitiveTopologyComponent } from 'ngx-core-components/charts';\nexport type { TopologyNode, TopologyLink } from 'ngx-core-components/charts';\nexport { TransformerAttentionHeatmapComponent } from 'ngx-core-components/charts';\n\n// New Chart Types & Shared Infrastructure\nexport { StepLineChartComponent } from 'ngx-core-components/charts';\nexport { CalendarHeatmapComponent } from 'ngx-core-components/charts';\nexport type { CalendarHeatmapData } from 'ngx-core-components/charts';\nexport { NestedDonutChartComponent } from 'ngx-core-components/charts';\nexport type { DonutRing } from 'ngx-core-components/charts';\nexport { PyramidChartComponent } from 'ngx-core-components/charts';\nexport type { PyramidItem } from 'ngx-core-components/charts';\nexport { RangeBarChartComponent } from 'ngx-core-components/charts';\nexport type { RangeBarItem } from 'ngx-core-components/charts';\nexport { TimelineChartComponent } from 'ngx-core-components/charts';\nexport type { TimelineEvent } from 'ngx-core-components/charts';\nexport { MultiNeedleGaugeComponent } from 'ngx-core-components/charts';\nexport type { MultiGaugeNeedle } from 'ngx-core-components/charts';\nexport { ChartBrushZoomComponent } from 'ngx-core-components/charts';\nexport { ChartSkeletonComponent } from 'ngx-core-components/charts';\nexport { OrgChartComponent } from 'ngx-core-components/charts';\nexport type { OrgNode } from 'ngx-core-components/charts';\n\n// ===== Data Grid (also available via ngx-core-components/grid) =====\nexport {\n DataGridComponent,\n PivotGridComponent,\n NgxGridCellTemplateDirective,\n NgxGridEditCellTemplateDirective,\n NgxGridHeaderTemplateDirective,\n NgxGridFooterTemplateDirective,\n} from 'ngx-core-components/grid';\nexport type {\n GridColumnDef,\n GridFilterState,\n GridGroupState,\n GridGroupResult,\n GridSortState,\n GridPageChangeEvent,\n GridSortChangeEvent,\n GridFilterChangeEvent,\n GridGroupChangeEvent,\n GridDataStateChangeEvent,\n GridRowClickEvent,\n GridRowUpdateEvent,\n GridHeaderTemplateContext,\n GridCellTemplateContext,\n GridRowTemplateContext,\n GridDetailTemplateContext,\n GridFooterTemplateContext,\n PivotValueDef,\n} from 'ngx-core-components/grid';\n\n// ===== Hierarchical Views (also available via ngx-core-components/views) =====\nexport { TreeViewComponent } from 'ngx-core-components/views';\nexport type { TreeNode, TreeNodeEvent } from 'ngx-core-components/views';\nexport { ListViewComponent } from 'ngx-core-components/views';\nexport type {\n ListViewItemClickEvent,\n ListViewSelectionEvent,\n ListViewPageChangeEvent,\n} from 'ngx-core-components/views';\nexport { KanbanComponent } from 'ngx-core-components/views';\nexport type {\n KanbanCard,\n KanbanColumn,\n KanbanSwimlane,\n KanbanCardMoveEvent,\n KanbanMoveRejectedEvent,\n} from 'ngx-core-components/views';\nexport { TimelineComponent, NgxTimelineMarkerTemplateDirective, NgxTimelineCardTemplateDirective } from 'ngx-core-components/views';\nexport type { TimelineItem } from 'ngx-core-components/views';\nexport { SchedulerComponent } from 'ngx-core-components/views';\nexport type { SchedulerEvent, SchedulerRecurrence, SchedulerSlotClickEvent, SchedulerEventChangeEvent } from 'ngx-core-components/views';\nexport { VirtualListComponent } from 'ngx-core-components/views';\nexport type { VirtualListItem, VirtualListItemClickEvent } from 'ngx-core-components/views';\nexport { ImageCompareComponent } from 'ngx-core-components/views';\nexport { KeyValueListComponent } from 'ngx-core-components/views';\nexport type { KeyValueItem } from 'ngx-core-components/views';\nexport { JsonViewerComponent, CalendarComponent } from 'ngx-core-components/views';\nexport type { OrgChartNode, CalendarEvent, CalendarCell } from 'ngx-core-components/views';\n\n\n\n\n// ===== Dialog (also available via ngx-core-components/dialog) =====\nexport { DialogService } from 'ngx-core-components/dialog';\nexport type { DialogRef, DialogConfig } from 'ngx-core-components/dialog';\nexport { DialogContainerComponent } from 'ngx-core-components/dialog';\n\nexport {\n ButtonComponent,\n ButtonGroupComponent,\n ChipComponent,\n ChipListComponent,\n SplitButtonComponent,\n DropDownButtonComponent,\n SpeedDialComponent,\n} from 'ngx-core-components/buttons';\nexport type {\n ButtonVariant,\n ButtonSize,\n ButtonShape,\n ChipVariant,\n SplitButtonItem,\n DropDownButtonItem,\n SpeedDialItem,\n} from 'ngx-core-components/buttons';\n\n// ===== Layout (also available via ngx-core-components/layout) =====\nexport {\n CardComponent,\n TabStripComponent,\n TabComponent,\n AccordionComponent,\n StepperComponent,\n SplitterComponent,\n DashboardLayoutComponent,\n CarouselComponent,\n DrawerComponent,\n} from 'ngx-core-components/layout';\nexport type {\n CardVariant,\n AccordionItem,\n StepperStep,\n DashboardItem,\n DashboardLayoutChangeEvent,\n DashboardPanelActionEvent,\n} from 'ngx-core-components/layout';\n\n// ===== Feedback (also available via ngx-core-components/feedback) =====\nexport {\n BadgeComponent,\n ProgressBarComponent,\n SkeletonComponent,\n NotificationService,\n NotificationContainerComponent,\n AvatarComponent,\n AvatarGroupComponent,\n StatCardComponent,\n CountdownComponent,\n EmptyStateComponent,\n} from 'ngx-core-components/feedback';\nexport type {\n BadgeVariant,\n BadgePosition,\n ProgressVariant,\n SkeletonShape,\n NotificationOptions,\n NotificationType,\n NotificationPosition,\n AvatarSize,\n AvatarShape,\n AvatarStatus,\n AvatarItem,\n StatCardVariant,\n CountdownVariant,\n} from 'ngx-core-components/feedback';\n\n// ===== Navigation (also available via ngx-core-components/navigation) =====\nexport {\n BreadcrumbComponent,\n MenuComponent,\n CommandPaletteComponent,\n ContextMenuComponent,\n BackToTopComponent,\n} from 'ngx-core-components/navigation';\nexport type {\n BreadcrumbItem,\n MenuItem,\n CommandItem,\n ContextMenuItem,\n} from 'ngx-core-components/navigation';\n\n// ===== Additional Inputs (also available via ngx-core-components/inputs) =====\nexport {\n SliderComponent,\n SwitchComponent,\n RatingComponent,\n NumericTextBoxComponent,\n TextareaComponent,\n ColorPickerComponent,\n TimePickerComponent,\n DateRangePickerComponent,\n FileUploadComponent,\n TagInputComponent,\n FilePreviewComponent,\n SegmentedControlComponent,\n FormBuilderComponent,\n FormDesignerComponent,\n SignaturePadComponent,\n} from 'ngx-core-components/inputs';\nexport type {\n UploadFileItem,\n PreviewFileItem,\n SegmentedOption,\n FormBuilderField,\n FormBuilderOption,\n} from 'ngx-core-components/inputs';\n\n// ===== Barcodes (also available via ngx-core-components/barcodes) =====\nexport { QrCodeComponent, BarcodeComponent } from 'ngx-core-components/barcodes';\n\n// ===== AI & Agentic Components (also available via ngx-core-components/ai) =====\nexport { AIChatComponent } from 'ngx-core-components/ai';\nexport type {\n AIMessage,\n AgentStep,\n AICard,\n AICardAction,\n QuickReply,\n} from 'ngx-core-components/ai';\nexport { AIChatWidgetComponent } from 'ngx-core-components/ai';\nexport { AIPromptEditorComponent } from 'ngx-core-components/ai';\nexport { NgxWebLlmService, AIFormCopilotComponent } from 'ngx-core-components/ai';\nexport type { WebLlmMessage } from 'ngx-core-components/ai';\n\n// ===== i18n =====\nexport { NGX_CORE_I18N, DEFAULT_EN_I18N, provideNgxI18n } from 'ngx-core-components/i18n';\nexport type { NgxCoreI18n } from 'ngx-core-components/i18n';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;MAWa,gBAAgB,CAAA;AAC3B,IAAA,UAAU,GAAG,KAAK,CAAS,EAAE,CAAC;AAC9B,IAAA,eAAe,GAAG,KAAK,CAAkB,KAAK,CAAC;AAEvC,IAAA,EAAE,GAAG,MAAM,CAAC,UAAU,CAAC;AACvB,IAAA,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC;IAC5B,SAAS,GAAuB,IAAI;IAG5C,YAAY,GAAA;AACV,QAAA,MAAM,IAAI,GAAG,IAAI,CAAC,UAAU,EAAE;AAC9B,QAAA,IAAI,CAAC,IAAI;YAAE;AACX,QAAA,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACxB;IAGA,YAAY,GAAA;QACV,IAAI,CAAC,WAAW,EAAE;IACpB;AAEQ,IAAA,WAAW,CAAC,IAAY,EAAA;QAC9B,IAAI,CAAC,WAAW,EAAE;QAClB,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAgB;AAC7D,QAAA,GAAG,CAAC,SAAS,GAAG,aAAa;AAC7B,QAAA,GAAG,CAAC,YAAY,CAAC,MAAM,EAAE,SAAS,CAAC;AACnC,QAAA,GAAG,CAAC,WAAW,GA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AE,CAAC,QAAQ,CAAC;;;ACxE5C;;;;;AAKG;AAEH;;ACPA;;AAEG;;;;"}
@@ -1,47 +1,46 @@
1
1
  import { ControlValueAccessor } from '@angular/forms';
2
2
  import * as i0 from "@angular/core";
3
+ export interface DatePreset {
4
+ label: string;
5
+ getValue: () => Date;
6
+ }
3
7
  export declare class DatePickerComponent implements ControlValueAccessor {
4
- value: import("@angular/core").InputSignal<Date | null>;
8
+ value: import("@angular/core").InputSignal<string | Date | null>;
5
9
  label: import("@angular/core").InputSignal<string>;
6
- placeholder: import("@angular/core").InputSignal<string | null>;
10
+ placeholder: import("@angular/core").InputSignal<string>;
7
11
  disabled: import("@angular/core").InputSignal<boolean>;
8
- min: import("@angular/core").InputSignal<Date | null>;
9
- max: import("@angular/core").InputSignal<Date | null>;
10
- format: import("@angular/core").InputSignal<string>;
11
- valueChange: import("@angular/core").OutputEmitterRef<Date | null>;
12
- i18n: import("ngx-core-components/i18n").NgxCoreI18n;
13
- effectivePlaceholder: import("@angular/core").Signal<string>;
12
+ status: import("@angular/core").InputSignal<"success" | "warning" | "error" | "normal">;
13
+ error: import("@angular/core").InputSignal<string>;
14
+ hint: import("@angular/core").InputSignal<string>;
15
+ clearable: import("@angular/core").InputSignal<boolean>;
16
+ showPresets: import("@angular/core").InputSignal<boolean>;
17
+ valueChange: import("@angular/core").OutputEmitterRef<any>;
14
18
  isOpen: import("@angular/core").WritableSignal<boolean>;
15
- viewYear: import("@angular/core").WritableSignal<number>;
16
- viewMonth: import("@angular/core").WritableSignal<number>;
17
- _cvaValue: import("@angular/core").WritableSignal<Date | null>;
19
+ currentMonth: import("@angular/core").WritableSignal<number>;
20
+ currentYear: import("@angular/core").WritableSignal<number>;
21
+ private _cvaValue;
18
22
  private _cvaActive;
19
- private _onChange;
20
- private _onTouched;
21
- private el;
22
- _activeValue: import("@angular/core").Signal<Date | null>;
23
+ _resolvedValue: import("@angular/core").Signal<Date | null>;
24
+ activePresets: import("@angular/core").Signal<DatePreset[]>;
23
25
  displayValue: import("@angular/core").Signal<string>;
24
- monthTitle: import("@angular/core").Signal<string>;
26
+ monthName: import("@angular/core").Signal<string>;
25
27
  calendarDays: import("@angular/core").Signal<{
26
- date: Date | null;
27
- label: string;
28
- current: boolean;
29
- isToday: boolean;
30
- isSelected: boolean;
31
- disabled: boolean;
28
+ date: Date;
29
+ inMonth: boolean;
32
30
  }[]>;
33
- toggle(): void;
31
+ private onChange;
32
+ private onTouched;
33
+ writeValue(val: Date | string | null): void;
34
+ registerOnChange(fn: (val: Date | null) => void): void;
35
+ registerOnTouched(fn: () => void): void;
36
+ toggleCalendar(): void;
37
+ selectDate(d: Date): void;
38
+ selectPreset(preset: DatePreset): void;
39
+ clearValue(e: MouseEvent): void;
34
40
  prevMonth(): void;
35
41
  nextMonth(): void;
36
- onInputKeyDown(event: KeyboardEvent): void;
37
- selectDay(date: Date | null): void;
38
- selectToday(): void;
39
- clearValue(): void;
40
- onDocClick(e: MouseEvent): void;
41
- writeValue(val: Date | null): void;
42
- registerOnChange(fn: (v: Date | null) => void): void;
43
- registerOnTouched(fn: () => void): void;
44
- setDisabledState(_isDisabled: boolean): void;
42
+ isSelected(d: Date): boolean;
43
+ isToday(d: Date): boolean;
45
44
  static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "ngx-date-picker", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "ngx-date-picker", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "showPresets": { "alias": "showPresets"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
47
46
  }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class NgxMaskDirective {
3
+ ngxMask: import("@angular/core").InputSignal<string>;
4
+ unmaskedValueChange: import("@angular/core").OutputEmitterRef<string>;
5
+ private el;
6
+ onInput(event: InputEvent): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgxMaskDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgxMaskDirective, "input[ngxMask]", never, { "ngxMask": { "alias": "ngxMask"; "required": true; "isSignal": true; }; }, { "unmaskedValueChange": "unmaskedValueChange"; }, never, never, true, never>;
9
+ }
@@ -3,10 +3,16 @@ export interface FormBuilderOption {
3
3
  label: string;
4
4
  value: string | number | boolean;
5
5
  }
6
+ export interface FormBuilderCondition {
7
+ field: string;
8
+ operator: 'eq' | 'neq' | 'contains' | 'gt' | 'lt' | 'isTrue' | 'isFalse';
9
+ value?: unknown;
10
+ action: 'show' | 'hide' | 'enable' | 'disable';
11
+ }
6
12
  export interface FormBuilderField {
7
13
  key: string;
8
14
  label: string;
9
- type?: 'text' | 'email' | 'password' | 'number' | 'textarea' | 'select' | 'checkbox' | 'date';
15
+ type?: 'text' | 'email' | 'password' | 'number' | 'textarea' | 'select' | 'checkbox' | 'date' | 'date-range' | 'time' | 'file-upload' | 'multi-select' | 'rating' | 'color-picker' | 'switch' | 'segmented-control' | 'signature-pad' | 'slider' | 'range' | 'autocomplete' | 'tag-input';
10
16
  placeholder?: string;
11
17
  required?: boolean;
12
18
  disabled?: boolean;
@@ -15,42 +21,27 @@ export interface FormBuilderField {
15
21
  min?: number | string;
16
22
  max?: number | string;
17
23
  step?: number;
24
+ colSpan?: number;
25
+ conditions?: FormBuilderCondition[];
26
+ hint?: string;
18
27
  }
19
28
  export declare class FormBuilderComponent {
20
- /**
21
- * The schema definition list of form fields to render dynamically.
22
- */
23
29
  fields: import("@angular/core").InputSignal<FormBuilderField[]>;
24
- /**
25
- * The initial/controlled form value dictionary mapping field keys to values.
26
- */
27
30
  value: import("@angular/core").InputSignal<Record<string, unknown>>;
28
- /**
29
- * Whether to render the default form submit button at the bottom.
30
- * @default true
31
- */
32
- showSubmit: import("@angular/core").InputSignal<boolean>;
33
- /**
34
- * The text label to display on the default form submit button.
35
- * @default 'Submit'
36
- */
37
31
  submitLabel: import("@angular/core").InputSignal<string>;
38
- /**
39
- * Emits when any field value in the form changes.
40
- */
41
- valueChange: import("@angular/core").OutputEmitterRef<Record<string, unknown>>;
42
- /**
43
- * Emits the entire form value dictionary when the form is submitted successfully.
44
- */
32
+ showSubmit: import("@angular/core").InputSignal<boolean>;
45
33
  formSubmit: import("@angular/core").OutputEmitterRef<Record<string, unknown>>;
46
- formValue: import("@angular/core").WritableSignal<Record<string, unknown>>;
47
- private syncValue;
48
- filledValue: import("@angular/core").Signal<Record<string, unknown>>;
34
+ formChange: import("@angular/core").OutputEmitterRef<Record<string, unknown>>;
35
+ private formState;
36
+ visibleFields: import("@angular/core").Signal<FormBuilderField[]>;
37
+ constructor();
49
38
  valueFor(key: string): unknown;
50
- updateValue(key: string, value: unknown): void;
51
- submit(event: SubmitEvent): void;
52
- coerceInputValue(field: FormBuilderField, value: string): unknown;
53
- readOptionValue(field: FormBuilderField, rawValue: string): unknown;
39
+ isFieldDisabled(field: FormBuilderField): boolean;
40
+ updateValue(key: string, val: unknown): void;
41
+ submit(event: Event): void;
42
+ coerceInputValue(field: FormBuilderField, val: string): unknown;
43
+ readOptionValue(field: FormBuilderField, valStr: string): unknown;
44
+ private evaluateCondition;
54
45
  static ɵfac: i0.ɵɵFactoryDeclaration<FormBuilderComponent, never>;
55
- static ɵcmp: i0.ɵɵComponentDeclaration<FormBuilderComponent, "ngx-form-builder", never, { "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "showSubmit": { "alias": "showSubmit"; "required": false; "isSignal": true; }; "submitLabel": { "alias": "submitLabel"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "formSubmit": "formSubmit"; }, never, never, true, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormBuilderComponent, "ngx-form-builder", never, { "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "submitLabel": { "alias": "submitLabel"; "required": false; "isSignal": true; }; "showSubmit": { "alias": "showSubmit"; "required": false; "isSignal": true; }; }, { "formSubmit": "formSubmit"; "formChange": "formChange"; }, never, never, true, never>;
56
47
  }
@@ -1,35 +1,45 @@
1
1
  import { ControlValueAccessor } from '@angular/forms';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class NumericTextBoxComponent implements ControlValueAccessor {
4
- label: import("@angular/core").InputSignal<string>;
5
- value: import("@angular/core").InputSignal<number>;
6
- min: import("@angular/core").InputSignal<number>;
7
- max: import("@angular/core").InputSignal<number>;
4
+ value: import("@angular/core").InputSignal<number | null>;
5
+ min: import("@angular/core").InputSignal<number | null>;
6
+ max: import("@angular/core").InputSignal<number | null>;
8
7
  step: import("@angular/core").InputSignal<number>;
9
- currentValue: import("@angular/core").WritableSignal<number>;
10
- disabled: import("@angular/core").InputSignal<boolean>;
8
+ decimals: import("@angular/core").InputSignal<number | null>;
9
+ useGrouping: import("@angular/core").InputSignal<boolean>;
10
+ currency: import("@angular/core").InputSignal<string>;
11
+ currencyPosition: import("@angular/core").InputSignal<"prefix" | "suffix">;
12
+ label: import("@angular/core").InputSignal<string>;
11
13
  placeholder: import("@angular/core").InputSignal<string>;
12
- prefix: import("@angular/core").InputSignal<string>;
13
- suffix: import("@angular/core").InputSignal<string>;
14
- focused: import("@angular/core").WritableSignal<boolean>;
15
- status: import("@angular/core").InputSignal<"default" | "success" | "warning" | "error">;
14
+ disabled: import("@angular/core").InputSignal<boolean>;
15
+ readonly: import("@angular/core").InputSignal<boolean>;
16
+ status: import("@angular/core").InputSignal<"success" | "warning" | "error" | "normal">;
16
17
  error: import("@angular/core").InputSignal<string>;
17
18
  hint: import("@angular/core").InputSignal<string>;
18
- valueChange: import("@angular/core").OutputEmitterRef<number>;
19
- _resolvedStatus: import("@angular/core").Signal<"default" | "success" | "warning" | "error">;
20
- private onChangeFn;
21
- private onTouchedFn;
22
- constructor();
23
- onChange(e: Event): void;
19
+ prefixIcon: import("@angular/core").InputSignal<string>;
20
+ showSpinners: import("@angular/core").InputSignal<boolean>;
21
+ clearable: import("@angular/core").InputSignal<boolean>;
22
+ valueChange: import("@angular/core").OutputEmitterRef<any>;
23
+ isFocused: import("@angular/core").WritableSignal<boolean>;
24
+ private _cvaValue;
25
+ private _cvaActive;
26
+ _resolvedValue: import("@angular/core").Signal<number | null>;
27
+ formattedValue: import("@angular/core").Signal<string>;
28
+ private onChange;
29
+ private onTouched;
30
+ writeValue(val: number | null): void;
31
+ registerOnChange(fn: (val: number | null) => void): void;
32
+ registerOnTouched(fn: () => void): void;
33
+ setDisabledState?(isDisabled: boolean): void;
34
+ onInput(event: Event): void;
35
+ onFocus(): void;
24
36
  onBlur(): void;
25
37
  onKeyDown(event: KeyboardEvent): void;
26
- spin(dir: 1 | -1): void;
27
- setValue(v: number): void;
38
+ stepUp(): void;
39
+ stepDown(): void;
40
+ clearValue(): void;
28
41
  private clamp;
29
- writeValue(val: number): void;
30
- registerOnChange(fn: (v: number) => void): void;
31
- registerOnTouched(fn: () => void): void;
32
- setDisabledState(_isDisabled: boolean): void;
42
+ private updateValue;
33
43
  static ɵfac: i0.ɵɵFactoryDeclaration<NumericTextBoxComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<NumericTextBoxComponent, "ngx-numeric-textbox", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "prefix": { "alias": "prefix"; "required": false; "isSignal": true; }; "suffix": { "alias": "suffix"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, ["[prefix]", "[suffix]"], true, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<NumericTextBoxComponent, "ngx-numeric-textbox", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "decimals": { "alias": "decimals"; "required": false; "isSignal": true; }; "useGrouping": { "alias": "useGrouping"; "required": false; "isSignal": true; }; "currency": { "alias": "currency"; "required": false; "isSignal": true; }; "currencyPosition": { "alias": "currencyPosition"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "prefixIcon": { "alias": "prefixIcon"; "required": false; "isSignal": true; }; "showSpinners": { "alias": "showSpinners"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
35
45
  }
@@ -0,0 +1,9 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { ValidationErrors } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class NgxFormErrorPipe implements PipeTransform {
5
+ private errorService;
6
+ transform(errors: ValidationErrors | null | undefined): string | null;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgxFormErrorPipe, never>;
8
+ static ɵpipe: i0.ɵɵPipeDeclaration<NgxFormErrorPipe, "ngxFormError", true>;
9
+ }
@@ -23,6 +23,13 @@ export type { PreviewFileItem } from './file-preview/file-preview.component';
23
23
  export { SegmentedControlComponent } from './segmented-control/segmented-control.component';
24
24
  export type { SegmentedOption } from './segmented-control/segmented-control.component';
25
25
  export { FormBuilderComponent } from './form-builder/form-builder.component';
26
- export type { FormBuilderField, FormBuilderOption } from './form-builder/form-builder.component';
26
+ export type { FormBuilderField, FormBuilderOption, FormBuilderCondition } from './form-builder/form-builder.component';
27
27
  export { FormDesignerComponent } from './form-builder/form-designer.component';
28
28
  export { SignaturePadComponent } from './signature-pad/signature-pad.component';
29
+ export { NgxFormErrorService, DEFAULT_FORM_ERROR_MESSAGES, NGX_FORM_ERROR_MESSAGES } from './services/form-error.service';
30
+ export type { FormErrorMessages } from './services/form-error.service';
31
+ export { NgxFormErrorPipe } from './pipes/form-error.pipe';
32
+ export { NgxMaskDirective } from './directives/mask.directive';
33
+ export { applyMask, getPresetMask, unmaskValue } from './utils/mask.util';
34
+ export type { MaskResult } from './utils/mask.util';
35
+ export type { DatePreset } from './date-picker/date-picker.component';
@@ -0,0 +1,33 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export interface FormErrorMessages {
4
+ required?: string;
5
+ email?: string;
6
+ minlength?: (err: {
7
+ requiredLength: number;
8
+ actualLength: number;
9
+ }) => string;
10
+ maxlength?: (err: {
11
+ requiredLength: number;
12
+ actualLength: number;
13
+ }) => string;
14
+ min?: (err: {
15
+ min: number;
16
+ actual: number;
17
+ }) => string;
18
+ max?: (err: {
19
+ max: number;
20
+ actual: number;
21
+ }) => string;
22
+ pattern?: string;
23
+ [key: string]: unknown;
24
+ }
25
+ export declare const DEFAULT_FORM_ERROR_MESSAGES: FormErrorMessages;
26
+ export declare const NGX_FORM_ERROR_MESSAGES: InjectionToken<FormErrorMessages>;
27
+ export declare class NgxFormErrorService {
28
+ private messages;
29
+ setMessageTemplates(customMessages: Partial<FormErrorMessages>): void;
30
+ resolveError(errorKey: string, errorValue: unknown): string;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgxFormErrorService, never>;
32
+ static ɵprov: i0.ɵɵInjectableDeclaration<NgxFormErrorService>;
33
+ }
@@ -15,8 +15,10 @@ export declare class TextBoxComponent implements ControlValueAccessor {
15
15
  prefixIcon: import("@angular/core").InputSignal<string>;
16
16
  suffixIcon: import("@angular/core").InputSignal<string>;
17
17
  passwordToggle: import("@angular/core").InputSignal<boolean>;
18
+ mask: import("@angular/core").InputSignal<string>;
18
19
  status: import("@angular/core").InputSignal<"default" | "success" | "warning" | "error">;
19
20
  valueChange: import("@angular/core").OutputEmitterRef<string>;
21
+ unmaskedValueChange: import("@angular/core").OutputEmitterRef<string>;
20
22
  focusChange: import("@angular/core").OutputEmitterRef<boolean>;
21
23
  isFocused: import("@angular/core").WritableSignal<boolean>;
22
24
  showPassword: import("@angular/core").WritableSignal<boolean>;
@@ -39,5 +41,5 @@ export declare class TextBoxComponent implements ControlValueAccessor {
39
41
  registerOnTouched(fn: () => void): void;
40
42
  setDisabledState(_isDisabled: boolean): void;
41
43
  static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxComponent, never>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<TextBoxComponent, "ngx-textbox", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "maxlength": { "alias": "maxlength"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "showCharCount": { "alias": "showCharCount"; "required": false; "isSignal": true; }; "prefixIcon": { "alias": "prefixIcon"; "required": false; "isSignal": true; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; "isSignal": true; }; "passwordToggle": { "alias": "passwordToggle"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "focusChange": "focusChange"; }, never, ["[prefix]", "[suffix]"], true, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextBoxComponent, "ngx-textbox", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "maxlength": { "alias": "maxlength"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "showCharCount": { "alias": "showCharCount"; "required": false; "isSignal": true; }; "prefixIcon": { "alias": "prefixIcon"; "required": false; "isSignal": true; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; "isSignal": true; }; "passwordToggle": { "alias": "passwordToggle"; "required": false; "isSignal": true; }; "mask": { "alias": "mask"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "unmaskedValueChange": "unmaskedValueChange"; "focusChange": "focusChange"; }, never, ["[prefix]", "[suffix]"], true, never>;
43
45
  }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Pure pattern masking utility functions.
3
+ * Built-in presets: 'phone', 'ssn', 'credit-card', 'date-iso', or custom pattern string (e.g., '(###) ###-####')
4
+ * Tokens:
5
+ * '#' = digit (0-9)
6
+ * 'A' = uppercase letter (A-Z)
7
+ * 'a' = lowercase letter (a-z)
8
+ * '*' = alphanumeric (0-9, A-Z, a-z)
9
+ */
10
+ export interface MaskResult {
11
+ masked: string;
12
+ unmasked: string;
13
+ }
14
+ export declare function getPresetMask(preset: string): string;
15
+ export declare function applyMask(value: string, pattern: string): MaskResult;
16
+ export declare function unmaskValue(value: string, pattern: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-core-components",
3
- "version": "0.3.29",
3
+ "version": "0.3.30",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "description": "Angular 19+ component library — 100+ production-ready UI components including Data Grid, Gantt Chart, 35+ SVG Charts, AI Chat, Kanban, Form Builder, and more. Signals-first, fully standalone, zero runtime dependencies.",
6
6
  "keywords": [
package/public-api.d.ts CHANGED
@@ -144,6 +144,23 @@ export type { EmbeddingPoint } from 'ngx-core-components/charts';
144
144
  export { AgenticCognitiveTopologyComponent } from 'ngx-core-components/charts';
145
145
  export type { TopologyNode, TopologyLink } from 'ngx-core-components/charts';
146
146
  export { TransformerAttentionHeatmapComponent } from 'ngx-core-components/charts';
147
+ export { StepLineChartComponent } from 'ngx-core-components/charts';
148
+ export { CalendarHeatmapComponent } from 'ngx-core-components/charts';
149
+ export type { CalendarHeatmapData } from 'ngx-core-components/charts';
150
+ export { NestedDonutChartComponent } from 'ngx-core-components/charts';
151
+ export type { DonutRing } from 'ngx-core-components/charts';
152
+ export { PyramidChartComponent } from 'ngx-core-components/charts';
153
+ export type { PyramidItem } from 'ngx-core-components/charts';
154
+ export { RangeBarChartComponent } from 'ngx-core-components/charts';
155
+ export type { RangeBarItem } from 'ngx-core-components/charts';
156
+ export { TimelineChartComponent } from 'ngx-core-components/charts';
157
+ export type { TimelineEvent } from 'ngx-core-components/charts';
158
+ export { MultiNeedleGaugeComponent } from 'ngx-core-components/charts';
159
+ export type { MultiGaugeNeedle } from 'ngx-core-components/charts';
160
+ export { ChartBrushZoomComponent } from 'ngx-core-components/charts';
161
+ export { ChartSkeletonComponent } from 'ngx-core-components/charts';
162
+ export { OrgChartComponent } from 'ngx-core-components/charts';
163
+ export type { OrgNode } from 'ngx-core-components/charts';
147
164
  export { DataGridComponent, PivotGridComponent, NgxGridCellTemplateDirective, NgxGridEditCellTemplateDirective, NgxGridHeaderTemplateDirective, NgxGridFooterTemplateDirective, } from 'ngx-core-components/grid';
148
165
  export type { GridColumnDef, GridFilterState, GridGroupState, GridGroupResult, GridSortState, GridPageChangeEvent, GridSortChangeEvent, GridFilterChangeEvent, GridGroupChangeEvent, GridDataStateChangeEvent, GridRowClickEvent, GridRowUpdateEvent, GridHeaderTemplateContext, GridCellTemplateContext, GridRowTemplateContext, GridDetailTemplateContext, GridFooterTemplateContext, PivotValueDef, } from 'ngx-core-components/grid';
149
166
  export { TreeViewComponent } from 'ngx-core-components/views';
@@ -161,7 +178,7 @@ export type { VirtualListItem, VirtualListItemClickEvent } from 'ngx-core-compon
161
178
  export { ImageCompareComponent } from 'ngx-core-components/views';
162
179
  export { KeyValueListComponent } from 'ngx-core-components/views';
163
180
  export type { KeyValueItem } from 'ngx-core-components/views';
164
- export { OrgChartComponent, JsonViewerComponent, CalendarComponent } from 'ngx-core-components/views';
181
+ export { JsonViewerComponent, CalendarComponent } from 'ngx-core-components/views';
165
182
  export type { OrgChartNode, CalendarEvent, CalendarCell } from 'ngx-core-components/views';
166
183
  export { DialogService } from 'ngx-core-components/dialog';
167
184
  export type { DialogRef, DialogConfig } from 'ngx-core-components/dialog';