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.
- package/README.md +988 -601
- package/barcodes/barcode/barcode-encoding.d.ts +1 -0
- package/barcodes/barcode/barcode.component.d.ts +4 -4
- package/barcodes/public-api.d.ts +1 -0
- package/charts/bar-chart/bar-chart.component.d.ts +5 -1
- package/charts/box-plot-chart/box-plot-chart.component.d.ts +6 -0
- package/charts/bubble-chart/bubble-chart.component.d.ts +4 -0
- package/charts/bullet-chart/bullet-chart.component.d.ts +3 -0
- package/charts/column-range-chart/column-range-chart.component.d.ts +5 -1
- package/charts/dumbbell-chart/dumbbell-chart.component.d.ts +5 -1
- package/charts/funnel-chart/funnel-chart.component.d.ts +4 -0
- package/charts/heatmap-chart/heatmap-chart.component.d.ts +4 -0
- package/charts/line-chart/line-chart.component.d.ts +2 -0
- package/charts/lollipop-chart/lollipop-chart.component.d.ts +5 -1
- package/charts/marimekko-chart/marimekko-chart.component.d.ts +25 -1
- package/charts/pie-chart/pie-chart.component.d.ts +9 -0
- package/charts/pyramid-chart/pyramid-chart.component.d.ts +5 -0
- package/charts/radial-bar-chart/radial-bar-chart.component.d.ts +4 -0
- package/charts/range-bar-chart/range-bar-chart.component.d.ts +4 -0
- package/charts/scatter-plot/scatter-plot.component.d.ts +4 -0
- package/charts/shared/chart-accessible-mark.directive.d.ts +9 -0
- package/charts/shared/chart-export-menu.component.d.ts +7 -0
- package/charts/shared/chart-skeleton.component.d.ts +1 -1
- package/charts/sunburst-chart/sunburst-chart.component.d.ts +6 -3
- package/charts/treemap-chart/treemap-chart.component.d.ts +6 -4
- package/charts/waterfall-chart/waterfall-chart.component.d.ts +8 -0
- package/fesm2022/ngx-core-components-barcodes.mjs +196 -42
- package/fesm2022/ngx-core-components-barcodes.mjs.map +1 -1
- package/fesm2022/ngx-core-components-charts.mjs +1399 -875
- package/fesm2022/ngx-core-components-charts.mjs.map +1 -1
- package/fesm2022/ngx-core-components-grid.mjs +2075 -545
- package/fesm2022/ngx-core-components-grid.mjs.map +1 -1
- package/fesm2022/ngx-core-components-i18n.mjs +129 -35
- package/fesm2022/ngx-core-components-i18n.mjs.map +1 -1
- package/fesm2022/ngx-core-components-inputs.mjs +297 -39
- package/fesm2022/ngx-core-components-inputs.mjs.map +1 -1
- package/fesm2022/ngx-core-components-layout.mjs +71 -53
- package/fesm2022/ngx-core-components-layout.mjs.map +1 -1
- package/fesm2022/ngx-core-components-testing.mjs +30 -0
- package/fesm2022/ngx-core-components-testing.mjs.map +1 -0
- package/fesm2022/ngx-core-components-views.mjs +69 -29
- package/fesm2022/ngx-core-components-views.mjs.map +1 -1
- package/fesm2022/ngx-core-components.mjs +2 -2
- package/fesm2022/ngx-core-components.mjs.map +1 -1
- package/grid/data-grid/components/grid-filter-builder/grid-filter-builder.component.d.ts +6 -1
- package/grid/data-grid/data-grid.component.d.ts +19 -1
- package/grid/data-grid/grid-data-source.d.ts +22 -0
- package/grid/data-grid/services/grid-state.service.d.ts +7 -0
- package/grid/public-api.d.ts +6 -3
- package/i18n/ngx-core-i18n.d.ts +94 -1
- package/i18n/public-api.d.ts +1 -1
- package/inputs/form-builder/form-builder.component.d.ts +17 -1
- package/package.json +6 -2
- package/public-api.d.ts +8 -7
- package/testing/component-test-harness.d.ts +10 -0
- package/testing/index.d.ts +5 -0
- package/testing/public-api.d.ts +1 -0
- package/views/kanban/kanban.component.d.ts +1 -0
|
@@ -2,14 +2,14 @@ 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
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
|
-
export { DataGridComponent, NgxGridCellTemplateDirective, NgxGridEditCellTemplateDirective, NgxGridFooterTemplateDirective, NgxGridHeaderTemplateDirective, PivotGridComponent } from 'ngx-core-components/grid';
|
|
5
|
+
export { DataGridComponent, GridRemoteDataController, GridStateService, NgxGridCellTemplateDirective, NgxGridEditCellTemplateDirective, NgxGridFooterTemplateDirective, NgxGridHeaderTemplateDirective, PivotGridComponent } from 'ngx-core-components/grid';
|
|
6
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';
|
|
10
10
|
export { AvatarComponent, AvatarGroupComponent, BadgeComponent, CountdownComponent, EmptyStateComponent, NotificationContainerComponent, NotificationService, ProgressBarComponent, SkeletonComponent, StatCardComponent } from 'ngx-core-components/feedback';
|
|
11
11
|
export { BackToTopComponent, BreadcrumbComponent, CommandPaletteComponent, ContextMenuComponent, MenuComponent } from 'ngx-core-components/navigation';
|
|
12
|
-
export { BarcodeComponent, QrCodeComponent } from 'ngx-core-components/barcodes';
|
|
12
|
+
export { BarcodeComponent, QrCodeComponent, encodeCode128B } from 'ngx-core-components/barcodes';
|
|
13
13
|
export { AIChatComponent, AIChatWidgetComponent, AIFormCopilotComponent, AIPromptEditorComponent, NgxWebLlmService } from 'ngx-core-components/ai';
|
|
14
14
|
export { DEFAULT_EN_I18N, NGX_CORE_I18N, provideNgxI18n } from 'ngx-core-components/i18n';
|
|
15
15
|
|
|
@@ -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()\">✕</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;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;;;;;;;;;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()\">✕</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\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 { GridRemoteDataController, GridStateService } from 'ngx-core-components/grid';\nexport type {\n GridDataSource,\n GridDataSourceRequest,\n GridDataSourceResult,\n GridDataSourceState,\n GridPersistedState,\n GridSavedView,\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 {\n TimelineComponent,\n NgxTimelineMarkerTemplateDirective,\n NgxTimelineCardTemplateDirective,\n} from 'ngx-core-components/views';\nexport type { TimelineItem } from 'ngx-core-components/views';\nexport { SchedulerComponent } from 'ngx-core-components/views';\nexport type {\n SchedulerEvent,\n SchedulerRecurrence,\n SchedulerSlotClickEvent,\n SchedulerEventChangeEvent,\n} 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// ===== 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 { BreadcrumbItem, MenuItem, CommandItem, ContextMenuItem } 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, encodeCode128B } 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 { AIMessage, AgentStep, AICard, AICardAction, QuickReply } 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 { DeepPartial, 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,GAAG,IAAI;AACtB,QAAA,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC;AAC9B,QAAA,IAAI,CAAC,SAAS,GAAG,GAAG;QAEpB,MAAM,IAAI,GAAG,IAAI,CAAC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html
|
|
11
11
|
* <ngx-grid-filter-builder
|
|
12
|
+
* [gridInstanceId]="gridInstanceId"
|
|
12
13
|
* [columns]="filterableColumns()"
|
|
13
14
|
* [expression]="currentFilterExpression()"
|
|
14
15
|
* (expressionChange)="onFilterExpressionChange($event)"
|
|
@@ -17,6 +18,9 @@ import * as i0 from "@angular/core";
|
|
|
17
18
|
* ```
|
|
18
19
|
*/
|
|
19
20
|
export declare class GridFilterBuilderComponent {
|
|
21
|
+
readonly i18n: import("ngx-core-components/i18n").NgxCoreI18n;
|
|
22
|
+
private readonly host;
|
|
23
|
+
gridInstanceId: import("@angular/core").InputSignal<string | null>;
|
|
20
24
|
/** Available columns for filter field selection */
|
|
21
25
|
columns: import("@angular/core").InputSignal<GridColumnDef<Record<string, unknown>>[]>;
|
|
22
26
|
/** Current filter expression to edit */
|
|
@@ -61,10 +65,11 @@ export declare class GridFilterBuilderComponent {
|
|
|
61
65
|
applyFilter(): void;
|
|
62
66
|
/** Clear all conditions */
|
|
63
67
|
clearAll(): void;
|
|
68
|
+
onDialogKeydown(event: KeyboardEvent): void;
|
|
64
69
|
private createEmptyGroup;
|
|
65
70
|
private getGroupAtPath;
|
|
66
71
|
private updateConditionProp;
|
|
67
72
|
private deepClone;
|
|
68
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<GridFilterBuilderComponent, never>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GridFilterBuilderComponent, "ngx-grid-filter-builder", never, { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "expression": { "alias": "expression"; "required": false; "isSignal": true; }; }, { "expressionChange": "expressionChange"; "close": "close"; }, never, never, true, never>;
|
|
74
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridFilterBuilderComponent, "ngx-grid-filter-builder", never, { "gridInstanceId": { "alias": "gridInstanceId"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "expression": { "alias": "expression"; "required": false; "isSignal": true; }; }, { "expressionChange": "expressionChange"; "close": "close"; }, never, never, true, never>;
|
|
70
75
|
}
|
|
@@ -28,6 +28,8 @@ export declare class NgxGridFooterTemplateDirective {
|
|
|
28
28
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxGridFooterTemplateDirective, "[ngxGridFooterTemplate]", never, { "columnField": { "alias": "ngxGridFooterTemplate"; "required": false; }; }, {}, never, never, true, never>;
|
|
29
29
|
}
|
|
30
30
|
export declare class DataGridComponent<T extends object = Record<string, unknown>> implements OnInit {
|
|
31
|
+
private static nextInstanceId;
|
|
32
|
+
readonly instanceId: string;
|
|
31
33
|
cellTemplates: QueryList<NgxGridCellTemplateDirective>;
|
|
32
34
|
editCellTemplates: QueryList<NgxGridEditCellTemplateDirective>;
|
|
33
35
|
headerTemplates: QueryList<NgxGridHeaderTemplateDirective>;
|
|
@@ -65,6 +67,7 @@ export declare class DataGridComponent<T extends object = Record<string, unknown
|
|
|
65
67
|
infiniteScrollLoad: import("@angular/core").OutputEmitterRef<GridInfiniteScrollEvent>;
|
|
66
68
|
private xlsxExportService;
|
|
67
69
|
isFilterBuilderOpen: import("@angular/core").WritableSignal<boolean>;
|
|
70
|
+
private filterBuilderTrigger;
|
|
68
71
|
internalFilterExpression: import("@angular/core").WritableSignal<FilterExpression | null>;
|
|
69
72
|
/** Live selection aggregates for status bar */
|
|
70
73
|
selectionAggregates: import("@angular/core").Signal<GridStatusBarAggregates>;
|
|
@@ -145,6 +148,7 @@ export declare class DataGridComponent<T extends object = Record<string, unknown
|
|
|
145
148
|
sortState: import("@angular/core").WritableSignal<GridSortState | null>;
|
|
146
149
|
currentPage: import("@angular/core").WritableSignal<number>;
|
|
147
150
|
selectedRows: import("@angular/core").WritableSignal<Set<string>>;
|
|
151
|
+
selectionAnnouncement: import("@angular/core").WritableSignal<string>;
|
|
148
152
|
expandedRows: import("@angular/core").WritableSignal<Set<string>>;
|
|
149
153
|
collapsedGroups: import("@angular/core").WritableSignal<Set<string>>;
|
|
150
154
|
editingRowKey: import("@angular/core").WritableSignal<string | null>;
|
|
@@ -158,6 +162,7 @@ export declare class DataGridComponent<T extends object = Record<string, unknown
|
|
|
158
162
|
endIndex: import("@angular/core").Signal<number>;
|
|
159
163
|
visibleRows: import("@angular/core").Signal<T[]>;
|
|
160
164
|
i18n: import("ngx-core-components/i18n").NgxCoreI18n;
|
|
165
|
+
private injector;
|
|
161
166
|
private elementRef;
|
|
162
167
|
destroyRef: DestroyRef;
|
|
163
168
|
private gridExportService;
|
|
@@ -170,6 +175,7 @@ export declare class DataGridComponent<T extends object = Record<string, unknown
|
|
|
170
175
|
top: number;
|
|
171
176
|
left: number;
|
|
172
177
|
} | null>;
|
|
178
|
+
visibleColumnsCount: import("@angular/core").Signal<number>;
|
|
173
179
|
selectedCellStart: import("@angular/core").WritableSignal<{
|
|
174
180
|
row: T;
|
|
175
181
|
colField: string;
|
|
@@ -204,6 +210,8 @@ export declare class DataGridComponent<T extends object = Record<string, unknown
|
|
|
204
210
|
top: number;
|
|
205
211
|
left: number;
|
|
206
212
|
} | null>;
|
|
213
|
+
private filterPopoverTrigger;
|
|
214
|
+
private contextMenuTrigger;
|
|
207
215
|
tempFilterValue: import("@angular/core").WritableSignal<string>;
|
|
208
216
|
tempFilterOperator: import("@angular/core").WritableSignal<"contains" | "startsWith" | "endsWith" | "eq">;
|
|
209
217
|
tempSelectedValues: import("@angular/core").WritableSignal<Set<string>>;
|
|
@@ -247,6 +255,7 @@ export declare class DataGridComponent<T extends object = Record<string, unknown
|
|
|
247
255
|
renderedRowsList: import("@angular/core").Signal<T[]>;
|
|
248
256
|
isCellSelected(row: T, colField: string): boolean;
|
|
249
257
|
onCellContextMenu(event: MouseEvent, row: T, colField: string): void;
|
|
258
|
+
closeContextMenu(restoreFocus?: boolean): void;
|
|
250
259
|
isColumnPinned(field: string | null): boolean;
|
|
251
260
|
contextMenuTogglePin(field: string | null): void;
|
|
252
261
|
contextMenuHideColumn(field: string | null): void;
|
|
@@ -255,6 +264,12 @@ export declare class DataGridComponent<T extends object = Record<string, unknown
|
|
|
255
264
|
onCellMouseDown(event: MouseEvent, row: T, colField: string): void;
|
|
256
265
|
onCellMouseEnter(row: T, colField: string): void;
|
|
257
266
|
openColumnChooser(event: MouseEvent): void;
|
|
267
|
+
closeColumnChooser(restoreFocus?: boolean): void;
|
|
268
|
+
openFilterBuilder(event: MouseEvent): void;
|
|
269
|
+
closeFilterBuilder(): void;
|
|
270
|
+
columnIndex(field: string): number;
|
|
271
|
+
moveColumn(field: string, direction: -1 | 1): void;
|
|
272
|
+
private fullColumnOrder;
|
|
258
273
|
toggleColumnVisibility(field: string): void;
|
|
259
274
|
getSelectedCellsText(): string | null;
|
|
260
275
|
getFilter(field: string): string;
|
|
@@ -271,6 +286,7 @@ export declare class DataGridComponent<T extends object = Record<string, unknown
|
|
|
271
286
|
pinColumnPopover(field: string, pin: 'left' | 'right' | null): void;
|
|
272
287
|
getRowCustomClass(row: T): string;
|
|
273
288
|
openFilterPopover(event: MouseEvent, field: string): void;
|
|
289
|
+
closeFilterPopover(restoreFocus?: boolean): void;
|
|
274
290
|
getDistinctValues(field: string): string[];
|
|
275
291
|
getFilteredDistinctValues(field: string): string[];
|
|
276
292
|
toggleChecklistItem(val: string): void;
|
|
@@ -316,6 +332,7 @@ export declare class DataGridComponent<T extends object = Record<string, unknown
|
|
|
316
332
|
isRowSelected(row: T): boolean;
|
|
317
333
|
toggleRow(row: T): void;
|
|
318
334
|
toggleAll(): void;
|
|
335
|
+
rowSelectionKey(row: T): string;
|
|
319
336
|
toggleDetail(row: T): void;
|
|
320
337
|
isExpanded(row: T): boolean;
|
|
321
338
|
beginEdit(row: T, _index: number): void;
|
|
@@ -342,8 +359,9 @@ export declare class DataGridComponent<T extends object = Record<string, unknown
|
|
|
342
359
|
private resolveSelectedRows;
|
|
343
360
|
private keyOf;
|
|
344
361
|
private emitDataState;
|
|
345
|
-
onCellClick(row: T, colField: string): void;
|
|
362
|
+
onCellClick(row: T, colField: string, event?: MouseEvent): void;
|
|
346
363
|
handleKeyDown(event: KeyboardEvent): void;
|
|
364
|
+
private focusCell;
|
|
347
365
|
getCellRowSpan(row: T, colField: string, rowIndex: number, groupItems?: T[]): number;
|
|
348
366
|
isGroupAllSelected(group: GridGroupResult<T>): boolean;
|
|
349
367
|
toggleGroupSelection(group: GridGroupResult<T>, event: Event): void;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { GridDataStateChangeEvent } from './models';
|
|
2
|
+
export type GridDataSourceRequest = GridDataStateChangeEvent;
|
|
3
|
+
export interface GridDataSourceResult<T> {
|
|
4
|
+
items: T[];
|
|
5
|
+
total: number;
|
|
6
|
+
}
|
|
7
|
+
export interface GridDataSource<T> {
|
|
8
|
+
load(request: GridDataSourceRequest, signal: AbortSignal): Promise<GridDataSourceResult<T>>;
|
|
9
|
+
}
|
|
10
|
+
export interface GridDataSourceState<T> {
|
|
11
|
+
items: T[];
|
|
12
|
+
total: number;
|
|
13
|
+
loading: boolean;
|
|
14
|
+
error: unknown | null;
|
|
15
|
+
}
|
|
16
|
+
export declare class GridRemoteDataController<T> {
|
|
17
|
+
readonly state: import("@angular/core").WritableSignal<GridDataSourceState<T>>;
|
|
18
|
+
private activeRequest;
|
|
19
|
+
private requestId;
|
|
20
|
+
load(source: GridDataSource<T>, request: GridDataSourceRequest): Promise<GridDataSourceState<T> | null>;
|
|
21
|
+
cancel(): void;
|
|
22
|
+
}
|
|
@@ -11,7 +11,14 @@ export interface GridPersistedState {
|
|
|
11
11
|
hiddenColumns: string[];
|
|
12
12
|
pinnedColumns: Record<string, 'left' | 'right' | null>;
|
|
13
13
|
}
|
|
14
|
+
export interface GridSavedView {
|
|
15
|
+
version: 1;
|
|
16
|
+
name: string;
|
|
17
|
+
state: GridPersistedState;
|
|
18
|
+
}
|
|
14
19
|
export declare class GridStateService {
|
|
20
|
+
exportSavedView(name: string, state: GridPersistedState): string;
|
|
21
|
+
importSavedView(serialized: string): GridSavedView;
|
|
15
22
|
/**
|
|
16
23
|
* Save grid state to localStorage
|
|
17
24
|
* @param key Storage key
|
package/grid/public-api.d.ts
CHANGED
|
@@ -1,21 +1,24 @@
|
|
|
1
|
+
export { GridRemoteDataController } from './data-grid/grid-data-source';
|
|
2
|
+
export type { GridDataSource, GridDataSourceRequest, GridDataSourceResult, GridDataSourceState, } from './data-grid/grid-data-source';
|
|
1
3
|
export { DataGridComponent, NgxGridCellTemplateDirective, NgxGridEditCellTemplateDirective, NgxGridHeaderTemplateDirective, NgxGridFooterTemplateDirective, } from './data-grid/data-grid.component';
|
|
2
4
|
export type { GridColumnDef, GridFilterState, GridGroupState, GridGroupResult, GridSortState, GridPageChangeEvent, GridSortChangeEvent, GridFilterChangeEvent, GridGroupChangeEvent, GridDataStateChangeEvent, GridRowClickEvent, GridRowUpdateEvent, GridHeaderTemplateContext, GridCellTemplateContext, GridRowTemplateContext, GridDetailTemplateContext, GridFooterTemplateContext, GridCellValidator, TreeDataConfig, FilterExpression, FilterCondition, GridInfiniteScrollEvent, GridCellValidationError, GridEditChangeset, GridStatusBarAggregates, } from './data-grid/models';
|
|
3
5
|
export { GridExportService } from './data-grid/grid-export.service';
|
|
4
6
|
export { GridExportXlsxService } from './data-grid/services/grid-export-xlsx.service';
|
|
5
7
|
export type { XlsxExportOptions, PdfExportOptions } from './data-grid/services/grid-export-xlsx.service';
|
|
6
8
|
export { GridStateService } from './data-grid/services/grid-state.service';
|
|
9
|
+
export type { GridPersistedState, GridSavedView } from './data-grid/services/grid-state.service';
|
|
7
10
|
export { GridSelectionService } from './data-grid/services/grid-selection.service';
|
|
8
11
|
export { GridEditService } from './data-grid/services/grid-edit.service';
|
|
9
12
|
export { GridClipboardService } from './data-grid/services/grid-clipboard.service';
|
|
10
13
|
export { GridVirtualizationService } from './data-grid/services/grid-virtualization.service';
|
|
11
14
|
export { GridKeyboardService } from './data-grid/services/grid-keyboard.service';
|
|
12
|
-
export type { GridKeyboardConfig, GridKeyboardAction, GridKeyboardHandlers } from './data-grid/services/grid-keyboard.service';
|
|
15
|
+
export type { GridKeyboardConfig, GridKeyboardAction, GridKeyboardHandlers, } from './data-grid/services/grid-keyboard.service';
|
|
13
16
|
export { GridStatusBarComponent } from './data-grid/components/grid-status-bar/grid-status-bar.component';
|
|
14
17
|
export { GridFilterBuilderComponent } from './data-grid/components/grid-filter-builder/grid-filter-builder.component';
|
|
15
18
|
export { naturalCompare, compareValues, sortByField, sortByMultipleFields } from './data-grid/utils/grid-sort.util';
|
|
16
19
|
export type { SortDirection, SortDescriptor } from './data-grid/utils/grid-sort.util';
|
|
17
|
-
export { evaluateCondition, evaluateExpression, applyLegacyFilters, applyFilterExpression, applyGlobalSearch } from './data-grid/utils/grid-filter.util';
|
|
18
|
-
export { computeAggregate, computeStatusBarAggregates, computeGroupAggregates, formatAggregateValue } from './data-grid/utils/grid-aggregate.util';
|
|
20
|
+
export { evaluateCondition, evaluateExpression, applyLegacyFilters, applyFilterExpression, applyGlobalSearch, } from './data-grid/utils/grid-filter.util';
|
|
21
|
+
export { computeAggregate, computeStatusBarAggregates, computeGroupAggregates, formatAggregateValue, } from './data-grid/utils/grid-aggregate.util';
|
|
19
22
|
export type { AggregateFunction } from './data-grid/utils/grid-aggregate.util';
|
|
20
23
|
export { PivotGridComponent } from './pivot-grid/pivot-grid.component';
|
|
21
24
|
export type { PivotValueDef } from './pivot-grid/pivot-grid.component';
|
package/i18n/ngx-core-i18n.d.ts
CHANGED
|
@@ -13,6 +13,66 @@ export interface NgxCoreI18n {
|
|
|
13
13
|
deselectAll: string;
|
|
14
14
|
exportCsv: string;
|
|
15
15
|
groupBy: string;
|
|
16
|
+
dataGrid: string;
|
|
17
|
+
toolbar: string;
|
|
18
|
+
selectRow: (row: string) => string;
|
|
19
|
+
selectedRows: (count: number) => string;
|
|
20
|
+
chooseColumns: string;
|
|
21
|
+
visibleColumns: string;
|
|
22
|
+
pinColumn: string;
|
|
23
|
+
pinLeft: string;
|
|
24
|
+
pinRight: string;
|
|
25
|
+
noPin: string;
|
|
26
|
+
moveColumnLeft: (column: string) => string;
|
|
27
|
+
moveColumnRight: (column: string) => string;
|
|
28
|
+
closeColumnChooser: string;
|
|
29
|
+
apply: string;
|
|
30
|
+
groupedBy: string;
|
|
31
|
+
groupColumnsHint: string;
|
|
32
|
+
clearSearch: string;
|
|
33
|
+
clearFilters: string;
|
|
34
|
+
advancedFilterBuilder: string;
|
|
35
|
+
closeFilterBuilder: string;
|
|
36
|
+
clearAll: string;
|
|
37
|
+
applyFilter: string;
|
|
38
|
+
filterField: string;
|
|
39
|
+
filterOperator: string;
|
|
40
|
+
filterGroupAnd: string;
|
|
41
|
+
filterGroupOr: string;
|
|
42
|
+
addCondition: string;
|
|
43
|
+
addGroup: string;
|
|
44
|
+
removeFilterGroup: string;
|
|
45
|
+
removeFilterCondition: string;
|
|
46
|
+
noFilterConditions: string;
|
|
47
|
+
filterValuePlaceholder: string;
|
|
48
|
+
filterRangeEndPlaceholder: string;
|
|
49
|
+
filterRangeAnd: string;
|
|
50
|
+
operatorIsEmpty: string;
|
|
51
|
+
operatorIsNotEmpty: string;
|
|
52
|
+
operatorNotEquals: string;
|
|
53
|
+
operatorGreaterThan: string;
|
|
54
|
+
operatorGreaterOrEqual: string;
|
|
55
|
+
operatorLessThan: string;
|
|
56
|
+
operatorLessOrEqual: string;
|
|
57
|
+
operatorBetween: string;
|
|
58
|
+
operatorBefore: string;
|
|
59
|
+
operatorAfter: string;
|
|
60
|
+
operatorIsTrue: string;
|
|
61
|
+
operatorIsFalse: string;
|
|
62
|
+
exportJson: string;
|
|
63
|
+
exportXlsx: string;
|
|
64
|
+
exportExcel: string;
|
|
65
|
+
exportPdf: string;
|
|
66
|
+
filterColumn: string;
|
|
67
|
+
dragRowToReorder: string;
|
|
68
|
+
toggleDetails: string;
|
|
69
|
+
textFilter: string;
|
|
70
|
+
contains: string;
|
|
71
|
+
equals: string;
|
|
72
|
+
startsWith: string;
|
|
73
|
+
endsWith: string;
|
|
74
|
+
checklistFilter: string;
|
|
75
|
+
contextMenu: string;
|
|
16
76
|
};
|
|
17
77
|
datePicker: {
|
|
18
78
|
months: string[];
|
|
@@ -96,6 +156,36 @@ export interface NgxCoreI18n {
|
|
|
96
156
|
noData: string;
|
|
97
157
|
required: string;
|
|
98
158
|
};
|
|
159
|
+
chart: {
|
|
160
|
+
barChart: string;
|
|
161
|
+
viewDataTable: string;
|
|
162
|
+
category: string;
|
|
163
|
+
dataTableAvailable: string;
|
|
164
|
+
export: string;
|
|
165
|
+
exportFormat: (format: string) => string;
|
|
166
|
+
exportMenu: string;
|
|
167
|
+
lineChartDescription: (seriesNames: string, categoryCount: number) => string;
|
|
168
|
+
lineChartNoData: string;
|
|
169
|
+
linePointDescription: (category: string, series: string, value: string) => string;
|
|
170
|
+
pieSliceDescription: (label: string, value: string, percentage: number) => string;
|
|
171
|
+
scatterChartDescription: (xTitle: string, yTitle: string, pointCount: number) => string;
|
|
172
|
+
scatterPointDescription: (label: string | undefined, group: string | undefined, xTitle: string, xValue: string, yTitle: string, yValue: string) => string;
|
|
173
|
+
waterfallMarkDescription: (label: string, value: string, balance: string) => string;
|
|
174
|
+
dataMarkDescription: (label: string, value: string) => string;
|
|
175
|
+
bubblePointDescription: (label: string | undefined, group: string | undefined, xTitle: string, xValue: string, yTitle: string, yValue: string, zTitle: string, zValue: string) => string;
|
|
176
|
+
};
|
|
177
|
+
formBuilder: {
|
|
178
|
+
steps: string;
|
|
179
|
+
stepProgress: (current: number, total: number) => string;
|
|
180
|
+
previousStep: string;
|
|
181
|
+
nextStep: string;
|
|
182
|
+
validating: string;
|
|
183
|
+
validationFailed: string;
|
|
184
|
+
required: string;
|
|
185
|
+
missingConditionField: (field: string, dependency: string) => string;
|
|
186
|
+
duplicateFieldKey: (field: string) => string;
|
|
187
|
+
conditionCycle: (fields: string) => string;
|
|
188
|
+
};
|
|
99
189
|
}
|
|
100
190
|
/**
|
|
101
191
|
* Default English translations
|
|
@@ -108,4 +198,7 @@ export declare const NGX_CORE_I18N: InjectionToken<NgxCoreI18n>;
|
|
|
108
198
|
/**
|
|
109
199
|
* Provider helper function to configure custom translations
|
|
110
200
|
*/
|
|
111
|
-
export
|
|
201
|
+
export type DeepPartial<T> = T extends readonly unknown[] ? T : T extends (...args: infer Args) => infer Result ? (...args: Args) => Result : T extends object ? {
|
|
202
|
+
[Key in keyof T]?: DeepPartial<T[Key]>;
|
|
203
|
+
} : T;
|
|
204
|
+
export declare function provideNgxI18n(overrides: DeepPartial<NgxCoreI18n>): Provider;
|
package/i18n/public-api.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { NGX_CORE_I18N, DEFAULT_EN_I18N, provideNgxI18n } from './ngx-core-i18n';
|
|
2
|
-
export type { NgxCoreI18n } from './ngx-core-i18n';
|
|
2
|
+
export type { DeepPartial, NgxCoreI18n } from './ngx-core-i18n';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type NgxCoreI18n } from 'ngx-core-components/i18n';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export interface FormBuilderOption {
|
|
3
4
|
label: string;
|
|
@@ -24,8 +25,11 @@ export interface FormBuilderField {
|
|
|
24
25
|
colSpan?: number;
|
|
25
26
|
conditions?: FormBuilderCondition[];
|
|
26
27
|
hint?: string;
|
|
28
|
+
formStep?: number;
|
|
29
|
+
asyncValidator?: (value: unknown, formValue: Readonly<Record<string, unknown>>) => Promise<string | null>;
|
|
27
30
|
}
|
|
28
31
|
export declare class FormBuilderComponent {
|
|
32
|
+
readonly i18n: NgxCoreI18n;
|
|
29
33
|
fields: import("@angular/core").InputSignal<FormBuilderField[]>;
|
|
30
34
|
value: import("@angular/core").InputSignal<Record<string, unknown>>;
|
|
31
35
|
submitLabel: import("@angular/core").InputSignal<string>;
|
|
@@ -33,12 +37,24 @@ export declare class FormBuilderComponent {
|
|
|
33
37
|
formSubmit: import("@angular/core").OutputEmitterRef<Record<string, unknown>>;
|
|
34
38
|
formChange: import("@angular/core").OutputEmitterRef<Record<string, unknown>>;
|
|
35
39
|
private formState;
|
|
40
|
+
readonly validationErrors: import("@angular/core").WritableSignal<Record<string, string>>;
|
|
41
|
+
readonly pending: import("@angular/core").WritableSignal<boolean>;
|
|
42
|
+
readonly stepIndex: import("@angular/core").WritableSignal<number>;
|
|
43
|
+
readonly schemaErrors: import("@angular/core").Signal<string[]>;
|
|
44
|
+
private validationRun;
|
|
36
45
|
visibleFields: import("@angular/core").Signal<FormBuilderField[]>;
|
|
46
|
+
readonly steps: import("@angular/core").Signal<number[]>;
|
|
47
|
+
readonly currentStep: import("@angular/core").Signal<number>;
|
|
48
|
+
readonly currentStepFields: import("@angular/core").Signal<FormBuilderField[]>;
|
|
49
|
+
readonly isLastStep: import("@angular/core").Signal<boolean>;
|
|
37
50
|
constructor();
|
|
38
51
|
valueFor(key: string): unknown;
|
|
39
52
|
isFieldDisabled(field: FormBuilderField): boolean;
|
|
40
53
|
updateValue(key: string, val: unknown): void;
|
|
41
|
-
|
|
54
|
+
nextStep(): Promise<void>;
|
|
55
|
+
previousStep(): void;
|
|
56
|
+
submit(event: Event): Promise<void>;
|
|
57
|
+
private validateFields;
|
|
42
58
|
coerceInputValue(field: FormBuilderField, val: string): unknown;
|
|
43
59
|
readOptionValue(field: FormBuilderField, valStr: string): unknown;
|
|
44
60
|
private evaluateCondition;
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-core-components",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.32",
|
|
4
4
|
"schematics": "./schematics/collection.json",
|
|
5
|
-
"description": "Angular
|
|
5
|
+
"description": "Angular component library with standalone UI components including Data Grid, Gantt Chart, SVG charts, AI Chat, Kanban, Form Builder, and more. Signals-first, zero runtime dependencies.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"angular",
|
|
8
8
|
"components",
|
|
@@ -101,6 +101,10 @@
|
|
|
101
101
|
"types": "./navigation/index.d.ts",
|
|
102
102
|
"default": "./fesm2022/ngx-core-components-navigation.mjs"
|
|
103
103
|
},
|
|
104
|
+
"./testing": {
|
|
105
|
+
"types": "./testing/index.d.ts",
|
|
106
|
+
"default": "./fesm2022/ngx-core-components-testing.mjs"
|
|
107
|
+
},
|
|
104
108
|
"./views": {
|
|
105
109
|
"types": "./views/index.d.ts",
|
|
106
110
|
"default": "./fesm2022/ngx-core-components-views.mjs"
|
package/public-api.d.ts
CHANGED
|
@@ -162,17 +162,18 @@ export { ChartSkeletonComponent } from 'ngx-core-components/charts';
|
|
|
162
162
|
export { OrgChartComponent } from 'ngx-core-components/charts';
|
|
163
163
|
export type { OrgNode } from 'ngx-core-components/charts';
|
|
164
164
|
export { DataGridComponent, PivotGridComponent, NgxGridCellTemplateDirective, NgxGridEditCellTemplateDirective, NgxGridHeaderTemplateDirective, NgxGridFooterTemplateDirective, } from 'ngx-core-components/grid';
|
|
165
|
-
export
|
|
165
|
+
export { GridRemoteDataController, GridStateService } from 'ngx-core-components/grid';
|
|
166
|
+
export type { GridDataSource, GridDataSourceRequest, GridDataSourceResult, GridDataSourceState, GridPersistedState, GridSavedView, GridColumnDef, GridFilterState, GridGroupState, GridGroupResult, GridSortState, GridPageChangeEvent, GridSortChangeEvent, GridFilterChangeEvent, GridGroupChangeEvent, GridDataStateChangeEvent, GridRowClickEvent, GridRowUpdateEvent, GridHeaderTemplateContext, GridCellTemplateContext, GridRowTemplateContext, GridDetailTemplateContext, GridFooterTemplateContext, PivotValueDef, } from 'ngx-core-components/grid';
|
|
166
167
|
export { TreeViewComponent } from 'ngx-core-components/views';
|
|
167
168
|
export type { TreeNode, TreeNodeEvent } from 'ngx-core-components/views';
|
|
168
169
|
export { ListViewComponent } from 'ngx-core-components/views';
|
|
169
170
|
export type { ListViewItemClickEvent, ListViewSelectionEvent, ListViewPageChangeEvent, } from 'ngx-core-components/views';
|
|
170
171
|
export { KanbanComponent } from 'ngx-core-components/views';
|
|
171
172
|
export type { KanbanCard, KanbanColumn, KanbanSwimlane, KanbanCardMoveEvent, KanbanMoveRejectedEvent, } from 'ngx-core-components/views';
|
|
172
|
-
export { TimelineComponent, NgxTimelineMarkerTemplateDirective, NgxTimelineCardTemplateDirective } from 'ngx-core-components/views';
|
|
173
|
+
export { TimelineComponent, NgxTimelineMarkerTemplateDirective, NgxTimelineCardTemplateDirective, } from 'ngx-core-components/views';
|
|
173
174
|
export type { TimelineItem } from 'ngx-core-components/views';
|
|
174
175
|
export { SchedulerComponent } from 'ngx-core-components/views';
|
|
175
|
-
export type { SchedulerEvent, SchedulerRecurrence, SchedulerSlotClickEvent, SchedulerEventChangeEvent } from 'ngx-core-components/views';
|
|
176
|
+
export type { SchedulerEvent, SchedulerRecurrence, SchedulerSlotClickEvent, SchedulerEventChangeEvent, } from 'ngx-core-components/views';
|
|
176
177
|
export { VirtualListComponent } from 'ngx-core-components/views';
|
|
177
178
|
export type { VirtualListItem, VirtualListItemClickEvent } from 'ngx-core-components/views';
|
|
178
179
|
export { ImageCompareComponent } from 'ngx-core-components/views';
|
|
@@ -190,15 +191,15 @@ export type { CardVariant, AccordionItem, StepperStep, DashboardItem, DashboardL
|
|
|
190
191
|
export { BadgeComponent, ProgressBarComponent, SkeletonComponent, NotificationService, NotificationContainerComponent, AvatarComponent, AvatarGroupComponent, StatCardComponent, CountdownComponent, EmptyStateComponent, } from 'ngx-core-components/feedback';
|
|
191
192
|
export type { BadgeVariant, BadgePosition, ProgressVariant, SkeletonShape, NotificationOptions, NotificationType, NotificationPosition, AvatarSize, AvatarShape, AvatarStatus, AvatarItem, StatCardVariant, CountdownVariant, } from 'ngx-core-components/feedback';
|
|
192
193
|
export { BreadcrumbComponent, MenuComponent, CommandPaletteComponent, ContextMenuComponent, BackToTopComponent, } from 'ngx-core-components/navigation';
|
|
193
|
-
export type { BreadcrumbItem, MenuItem, CommandItem, ContextMenuItem
|
|
194
|
+
export type { BreadcrumbItem, MenuItem, CommandItem, ContextMenuItem } from 'ngx-core-components/navigation';
|
|
194
195
|
export { SliderComponent, SwitchComponent, RatingComponent, NumericTextBoxComponent, TextareaComponent, ColorPickerComponent, TimePickerComponent, DateRangePickerComponent, FileUploadComponent, TagInputComponent, FilePreviewComponent, SegmentedControlComponent, FormBuilderComponent, FormDesignerComponent, SignaturePadComponent, } from 'ngx-core-components/inputs';
|
|
195
196
|
export type { UploadFileItem, PreviewFileItem, SegmentedOption, FormBuilderField, FormBuilderOption, } from 'ngx-core-components/inputs';
|
|
196
|
-
export { QrCodeComponent, BarcodeComponent } from 'ngx-core-components/barcodes';
|
|
197
|
+
export { QrCodeComponent, BarcodeComponent, encodeCode128B } from 'ngx-core-components/barcodes';
|
|
197
198
|
export { AIChatComponent } from 'ngx-core-components/ai';
|
|
198
|
-
export type { AIMessage, AgentStep, AICard, AICardAction, QuickReply
|
|
199
|
+
export type { AIMessage, AgentStep, AICard, AICardAction, QuickReply } from 'ngx-core-components/ai';
|
|
199
200
|
export { AIChatWidgetComponent } from 'ngx-core-components/ai';
|
|
200
201
|
export { AIPromptEditorComponent } from 'ngx-core-components/ai';
|
|
201
202
|
export { NgxWebLlmService, AIFormCopilotComponent } from 'ngx-core-components/ai';
|
|
202
203
|
export type { WebLlmMessage } from 'ngx-core-components/ai';
|
|
203
204
|
export { NGX_CORE_I18N, DEFAULT_EN_I18N, provideNgxI18n } from 'ngx-core-components/i18n';
|
|
204
|
-
export type { NgxCoreI18n } from 'ngx-core-components/i18n';
|
|
205
|
+
export type { DeepPartial, NgxCoreI18n } from 'ngx-core-components/i18n';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ComponentFixture } from '@angular/core/testing';
|
|
2
|
+
export declare class NgxComponentTestHarness<T> {
|
|
3
|
+
readonly fixture: ComponentFixture<T>;
|
|
4
|
+
constructor(fixture: ComponentFixture<T>);
|
|
5
|
+
get instance(): T;
|
|
6
|
+
setInput(name: string, value: unknown): void;
|
|
7
|
+
detectChanges(): void;
|
|
8
|
+
query<TElement extends Element = HTMLElement>(selector: string): TElement | null;
|
|
9
|
+
queryAll<TElement extends Element = HTMLElement>(selector: string): TElement[];
|
|
10
|
+
}
|