ngx-core-components 0.3.19 → 0.3.21
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/charts/adjacency-matrix/adjacency-matrix.component.d.ts +51 -0
- package/charts/bar-chart/bar-chart.component.d.ts +16 -2
- package/charts/biplot/biplot.component.d.ts +67 -0
- package/charts/bullet-chart/bullet-chart.component.d.ts +37 -0
- package/charts/chord-diagram/chord-diagram.component.d.ts +56 -0
- package/charts/dependency-wheel/dependency-wheel.component.d.ts +56 -0
- package/charts/dumbbell-chart/dumbbell-chart.component.d.ts +61 -0
- package/charts/gantt-chart/gantt-chart.component.d.ts +1 -0
- package/charts/kagi-chart/kagi-chart.component.d.ts +59 -0
- package/charts/line-chart/line-chart.component.d.ts +17 -2
- package/charts/lollipop-chart/lollipop-chart.component.d.ts +46 -0
- package/charts/marimekko-chart/marimekko-chart.component.d.ts +61 -0
- package/charts/pareto-chart/pareto-chart.component.d.ts +52 -0
- package/charts/point-figure-chart/point-figure-chart.component.d.ts +56 -0
- package/charts/polar-area-chart/polar-area-chart.component.d.ts +67 -0
- package/charts/public-api.d.ts +33 -0
- package/charts/renko-chart/renko-chart.component.d.ts +58 -0
- package/charts/ridgeline-chart/ridgeline-chart.component.d.ts +59 -0
- package/charts/sankey-chart/sankey-chart.component.d.ts +74 -0
- package/charts/slope-chart/slope-chart.component.d.ts +52 -0
- package/charts/violin-plot/violin-plot.component.d.ts +64 -0
- package/charts/wind-rose/wind-rose.component.d.ts +68 -0
- package/dialog/dialog-container.component.d.ts +4 -0
- package/dialog/dialog.service.d.ts +1 -0
- package/fesm2022/ngx-core-components-charts.mjs +7795 -48
- package/fesm2022/ngx-core-components-charts.mjs.map +1 -1
- package/fesm2022/ngx-core-components-dialog.mjs +78 -11
- package/fesm2022/ngx-core-components-dialog.mjs.map +1 -1
- package/fesm2022/ngx-core-components-feedback.mjs +8 -4
- package/fesm2022/ngx-core-components-feedback.mjs.map +1 -1
- package/fesm2022/ngx-core-components-grid.mjs +143 -115
- package/fesm2022/ngx-core-components-grid.mjs.map +1 -1
- package/fesm2022/ngx-core-components-i18n.mjs +149 -0
- package/fesm2022/ngx-core-components-i18n.mjs.map +1 -0
- package/fesm2022/ngx-core-components-inputs.mjs +152 -77
- package/fesm2022/ngx-core-components-inputs.mjs.map +1 -1
- package/fesm2022/ngx-core-components-layout.mjs +12 -8
- package/fesm2022/ngx-core-components-layout.mjs.map +1 -1
- package/fesm2022/ngx-core-components-views.mjs +617 -221
- package/fesm2022/ngx-core-components-views.mjs.map +1 -1
- package/fesm2022/ngx-core-components.mjs +2 -1
- package/fesm2022/ngx-core-components.mjs.map +1 -1
- package/grid/data-grid/data-grid.component.d.ts +4 -104
- package/grid/data-grid/grid-export.service.d.ts +26 -0
- package/grid/data-grid/models.d.ts +105 -0
- package/grid/public-api.d.ts +2 -1
- package/i18n/index.d.ts +5 -0
- package/i18n/ngx-core-i18n.d.ts +111 -0
- package/i18n/public-api.d.ts +2 -0
- package/inputs/autocomplete/autocomplete.component.d.ts +3 -1
- package/inputs/date-picker/date-picker.component.d.ts +4 -2
- package/inputs/dropdown/dropdown.component.d.ts +3 -1
- package/inputs/file-upload/file-upload.component.d.ts +1 -0
- package/inputs/multi-select/multi-select.component.d.ts +3 -1
- package/inputs/tag-input/tag-input.component.d.ts +2 -0
- package/layout/accordion/accordion.component.d.ts +1 -0
- package/layout/drawer/drawer.component.d.ts +1 -0
- package/package.json +30 -12
- package/public-api.d.ts +35 -0
- package/schematics/collection.json +7 -1
- package/schematics/grid/index.js +68 -0
- package/schematics/grid/schema.json +19 -0
- package/schematics/ng-add/index.js +177 -9
- package/schematics/ng-add/schema.json +29 -0
- package/themes/theme.css +118 -26
- package/views/calendar/calendar.component.d.ts +28 -1
- package/views/kanban/kanban.component.d.ts +1 -0
- package/views/list-view/list-view.component.d.ts +1 -0
- package/views/scheduler/scheduler.component.d.ts +2 -0
|
@@ -1,7 +1,7 @@
|
|
|
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, MultiSelectComponent, NumericTextBoxComponent, RadioGroupComponent, RatingComponent, SegmentedControlComponent, SignaturePadComponent, SliderComponent, SwitchComponent, TagInputComponent, TextBoxComponent, TextareaComponent, TimePickerComponent } from 'ngx-core-components/inputs';
|
|
4
|
-
export { AreaChartComponent, BarChartComponent, BoxPlotChartComponent, BubbleChartComponent, CHART_COLORS, CandlestickChartComponent, ComboChartComponent, DependencyType, FunnelChartComponent, GanttChartComponent, GanttScaleService, GaugeChartComponent, HeatmapChartComponent, LineChartComponent, PieChartComponent, RadarChartComponent, RadialBarChartComponent, ScatterPlotComponent, SparklineComponent, SunburstChartComponent, TreemapChartComponent, WaterfallChartComponent, ZoomLevel } from 'ngx-core-components/charts';
|
|
4
|
+
export { AdjacencyMatrixComponent, AreaChartComponent, BarChartComponent, BiplotComponent, BoxPlotChartComponent, BubbleChartComponent, BulletChartComponent, CHART_COLORS, CandlestickChartComponent, ChordDiagramComponent, ComboChartComponent, DependencyType, DependencyWheelComponent, DumbbellChartComponent, FunnelChartComponent, GanttChartComponent, GanttScaleService, GaugeChartComponent, HeatmapChartComponent, KagiChartComponent, LineChartComponent, LollipopChartComponent, MarimekkoChartComponent, ParetoChartComponent, PieChartComponent, PointFigureChartComponent, PolarAreaChartComponent, RadarChartComponent, RadialBarChartComponent, RenkoChartComponent, RidgelineChartComponent, SankeyChartComponent, ScatterPlotComponent, SlopeChartComponent, SparklineComponent, SunburstChartComponent, TreemapChartComponent, ViolinPlotComponent, WaterfallChartComponent, WindRoseChartComponent, ZoomLevel } from 'ngx-core-components/charts';
|
|
5
5
|
export { DataGridComponent, NgxGridCellTemplateDirective, NgxGridEditCellTemplateDirective, NgxGridFooterTemplateDirective, NgxGridHeaderTemplateDirective, PivotGridComponent } from 'ngx-core-components/grid';
|
|
6
6
|
export { CalendarComponent, ImageCompareComponent, JsonViewerComponent, KanbanComponent, KeyValueListComponent, ListViewComponent, NgxTimelineCardTemplateDirective, NgxTimelineMarkerTemplateDirective, OrgChartComponent, SchedulerComponent, TimelineComponent, TreeViewComponent, VirtualListComponent } from 'ngx-core-components/views';
|
|
7
7
|
export { DialogContainerComponent, DialogService } from 'ngx-core-components/dialog';
|
|
@@ -11,6 +11,7 @@ export { AvatarComponent, AvatarGroupComponent, BadgeComponent, CountdownCompone
|
|
|
11
11
|
export { BackToTopComponent, BreadcrumbComponent, CommandPaletteComponent, ContextMenuComponent, MenuComponent } from 'ngx-core-components/navigation';
|
|
12
12
|
export { BarcodeComponent, QrCodeComponent } from 'ngx-core-components/barcodes';
|
|
13
13
|
export { AIChatComponent, AIChatWidgetComponent, AIPromptEditorComponent } from 'ngx-core-components/ai';
|
|
14
|
+
export { DEFAULT_EN_I18N, NGX_CORE_I18N, provideNgxI18n } from 'ngx-core-components/i18n';
|
|
14
15
|
|
|
15
16
|
class TooltipDirective {
|
|
16
17
|
ngxTooltip = input('');
|
|
@@ -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 { GanttChartComponent } from 'ngx-core-components/charts';\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// ===== 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 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';\n\n\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,G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FA+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';\nexport { GanttChartComponent } from 'ngx-core-components/charts';\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// ===== 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 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';\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,W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AgB,EAAE,CAAC,QAAQ,CAAC;;;ACxE5C;;;;;AAKG;AAEH;;ACPA;;AAEG;;;;"}
|
|
@@ -1,109 +1,7 @@
|
|
|
1
1
|
import { TemplateRef, OnInit, DestroyRef, QueryList } from '@angular/core';
|
|
2
|
+
import type { GridColumnDef, GridSortState, GridFilterState, GridGroupState, GridPageChangeEvent, GridSortChangeEvent, GridFilterChangeEvent, GridGroupChangeEvent, GridDataStateChangeEvent, GridRowClickEvent, GridRowUpdateEvent, GridGroupResult, GridHeaderTemplateContext, GridCellTemplateContext, GridRowTemplateContext, GridDetailTemplateContext, GridFooterTemplateContext } from './models';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export
|
|
4
|
-
field: string;
|
|
5
|
-
title: string;
|
|
6
|
-
width?: number;
|
|
7
|
-
sortable?: boolean;
|
|
8
|
-
filterable?: boolean;
|
|
9
|
-
groupable?: boolean;
|
|
10
|
-
editable?: boolean;
|
|
11
|
-
align?: 'left' | 'center' | 'right';
|
|
12
|
-
headerTemplate?: TemplateRef<GridHeaderTemplateContext<T>>;
|
|
13
|
-
cellTemplate?: TemplateRef<GridCellTemplateContext<T>>;
|
|
14
|
-
editCellTemplate?: TemplateRef<GridCellTemplateContext<T>>;
|
|
15
|
-
footerTemplate?: TemplateRef<GridFooterTemplateContext<T>>;
|
|
16
|
-
aggregation?: 'sum' | 'avg' | 'count' | 'min' | 'max';
|
|
17
|
-
pinned?: 'left' | 'right' | null;
|
|
18
|
-
hidden?: boolean;
|
|
19
|
-
category?: string;
|
|
20
|
-
mergeRows?: boolean;
|
|
21
|
-
}
|
|
22
|
-
export interface GridSortState {
|
|
23
|
-
field: string;
|
|
24
|
-
dir: 'asc' | 'desc';
|
|
25
|
-
}
|
|
26
|
-
export interface GridFilterState {
|
|
27
|
-
field: string;
|
|
28
|
-
value: string;
|
|
29
|
-
operator?: 'contains' | 'startsWith' | 'endsWith' | 'eq' | 'in';
|
|
30
|
-
selectedValues?: string[];
|
|
31
|
-
}
|
|
32
|
-
export interface GridGroupState {
|
|
33
|
-
field: string;
|
|
34
|
-
dir?: 'asc' | 'desc';
|
|
35
|
-
}
|
|
36
|
-
export interface GridPageChangeEvent {
|
|
37
|
-
page: number;
|
|
38
|
-
pageSize: number;
|
|
39
|
-
}
|
|
40
|
-
export interface GridSortChangeEvent {
|
|
41
|
-
sort: GridSortState | null;
|
|
42
|
-
}
|
|
43
|
-
export interface GridFilterChangeEvent {
|
|
44
|
-
filters: GridFilterState[];
|
|
45
|
-
}
|
|
46
|
-
export interface GridGroupChangeEvent {
|
|
47
|
-
group: GridGroupState | null;
|
|
48
|
-
}
|
|
49
|
-
export interface GridDataStateChangeEvent {
|
|
50
|
-
page: number;
|
|
51
|
-
pageSize: number;
|
|
52
|
-
sort: GridSortState | null;
|
|
53
|
-
filters: GridFilterState[];
|
|
54
|
-
group: GridGroupState | null;
|
|
55
|
-
}
|
|
56
|
-
export interface GridRowClickEvent<T = Record<string, unknown>> {
|
|
57
|
-
row: T;
|
|
58
|
-
index: number;
|
|
59
|
-
}
|
|
60
|
-
export interface GridRowUpdateEvent<T = Record<string, unknown>> {
|
|
61
|
-
previous: T;
|
|
62
|
-
updated: T;
|
|
63
|
-
index: number;
|
|
64
|
-
}
|
|
65
|
-
export interface GridGroupResult<T = Record<string, unknown>> {
|
|
66
|
-
key: string;
|
|
67
|
-
value: unknown;
|
|
68
|
-
field: string;
|
|
69
|
-
count: number;
|
|
70
|
-
items: T[];
|
|
71
|
-
}
|
|
72
|
-
export interface GridHeaderTemplateContext<T = Record<string, unknown>> {
|
|
73
|
-
$implicit: GridColumnDef<T>;
|
|
74
|
-
column: GridColumnDef<T>;
|
|
75
|
-
sort: GridSortState | null;
|
|
76
|
-
filters: GridFilterState[];
|
|
77
|
-
isServerMode: boolean;
|
|
78
|
-
}
|
|
79
|
-
export interface GridCellTemplateContext<T = Record<string, unknown>> {
|
|
80
|
-
$implicit: unknown;
|
|
81
|
-
value: unknown;
|
|
82
|
-
row: T;
|
|
83
|
-
column: GridColumnDef<T>;
|
|
84
|
-
index: number;
|
|
85
|
-
editing: boolean;
|
|
86
|
-
draftValue?: unknown;
|
|
87
|
-
updateDraft?: (val: unknown) => void;
|
|
88
|
-
}
|
|
89
|
-
export interface GridRowTemplateContext<T = Record<string, unknown>> {
|
|
90
|
-
$implicit: T;
|
|
91
|
-
row: T;
|
|
92
|
-
index: number;
|
|
93
|
-
editing: boolean;
|
|
94
|
-
expanded: boolean;
|
|
95
|
-
}
|
|
96
|
-
export interface GridDetailTemplateContext<T = Record<string, unknown>> {
|
|
97
|
-
$implicit: T;
|
|
98
|
-
row: T;
|
|
99
|
-
index: number;
|
|
100
|
-
}
|
|
101
|
-
export interface GridFooterTemplateContext<T = Record<string, unknown>> {
|
|
102
|
-
$implicit: GridColumnDef<T>;
|
|
103
|
-
column: GridColumnDef<T>;
|
|
104
|
-
aggregationValue: string;
|
|
105
|
-
data: T[];
|
|
106
|
-
}
|
|
4
|
+
export type { GridColumnDef, GridSortState, GridFilterState, GridGroupState, GridPageChangeEvent, GridSortChangeEvent, GridFilterChangeEvent, GridGroupChangeEvent, GridDataStateChangeEvent, GridRowClickEvent, GridRowUpdateEvent, GridGroupResult, GridHeaderTemplateContext, GridCellTemplateContext, GridRowTemplateContext, GridDetailTemplateContext, GridFooterTemplateContext, } from './models';
|
|
107
5
|
export declare class NgxGridCellTemplateDirective {
|
|
108
6
|
columnField: string;
|
|
109
7
|
templateRef: TemplateRef<any>;
|
|
@@ -200,8 +98,10 @@ export declare class DataGridComponent<T extends object = Record<string, unknown
|
|
|
200
98
|
editingDraft: import("@angular/core").WritableSignal<Record<string, unknown>>;
|
|
201
99
|
internalPageSize: import("@angular/core").WritableSignal<number>;
|
|
202
100
|
internalGroupBy: import("@angular/core").WritableSignal<GridGroupState | null>;
|
|
101
|
+
i18n: import("ngx-core-components/i18n").NgxCoreI18n;
|
|
203
102
|
private elementRef;
|
|
204
103
|
destroyRef: DestroyRef;
|
|
104
|
+
private gridExportService;
|
|
205
105
|
columnWidths: import("@angular/core").WritableSignal<Record<string, number>>;
|
|
206
106
|
filterStates: import("@angular/core").WritableSignal<Map<string, GridFilterState>>;
|
|
207
107
|
sortStates: import("@angular/core").WritableSignal<GridSortState[]>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { GridColumnDef } from './models';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Standalone injectable service for exporting grid data to JSON, CSV, and Excel formats.
|
|
5
|
+
* Extracted from DataGridComponent to enable reuse and reduce component size.
|
|
6
|
+
*/
|
|
7
|
+
export declare class GridExportService {
|
|
8
|
+
/**
|
|
9
|
+
* Export data as a JSON file download.
|
|
10
|
+
*/
|
|
11
|
+
exportToJson<T>(data: T[], filename?: string): void;
|
|
12
|
+
/**
|
|
13
|
+
* Export data as a CSV file download.
|
|
14
|
+
*/
|
|
15
|
+
exportToCsv<T extends object>(data: T[], columns: GridColumnDef<T>[], filename?: string): void;
|
|
16
|
+
/**
|
|
17
|
+
* Export data as an Excel (.xls) file download using an HTML table template.
|
|
18
|
+
*/
|
|
19
|
+
exportToExcel<T extends object>(data: T[], columns: GridColumnDef<T>[], filename?: string): void;
|
|
20
|
+
/**
|
|
21
|
+
* Create a temporary anchor element, trigger a download, and clean up.
|
|
22
|
+
*/
|
|
23
|
+
private triggerDownload;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridExportService, never>;
|
|
25
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GridExportService>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
export interface GridColumnDef<T = Record<string, unknown>> {
|
|
3
|
+
field: string;
|
|
4
|
+
title: string;
|
|
5
|
+
width?: number;
|
|
6
|
+
sortable?: boolean;
|
|
7
|
+
filterable?: boolean;
|
|
8
|
+
groupable?: boolean;
|
|
9
|
+
editable?: boolean;
|
|
10
|
+
align?: 'left' | 'center' | 'right';
|
|
11
|
+
headerTemplate?: TemplateRef<GridHeaderTemplateContext<T>>;
|
|
12
|
+
cellTemplate?: TemplateRef<GridCellTemplateContext<T>>;
|
|
13
|
+
editCellTemplate?: TemplateRef<GridCellTemplateContext<T>>;
|
|
14
|
+
footerTemplate?: TemplateRef<GridFooterTemplateContext<T>>;
|
|
15
|
+
aggregation?: 'sum' | 'avg' | 'count' | 'min' | 'max';
|
|
16
|
+
pinned?: 'left' | 'right' | null;
|
|
17
|
+
hidden?: boolean;
|
|
18
|
+
category?: string;
|
|
19
|
+
mergeRows?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export interface GridSortState {
|
|
22
|
+
field: string;
|
|
23
|
+
dir: 'asc' | 'desc';
|
|
24
|
+
}
|
|
25
|
+
export interface GridFilterState {
|
|
26
|
+
field: string;
|
|
27
|
+
value: string;
|
|
28
|
+
operator?: 'contains' | 'startsWith' | 'endsWith' | 'eq' | 'in';
|
|
29
|
+
selectedValues?: string[];
|
|
30
|
+
}
|
|
31
|
+
export interface GridGroupState {
|
|
32
|
+
field: string;
|
|
33
|
+
dir?: 'asc' | 'desc';
|
|
34
|
+
}
|
|
35
|
+
export interface GridPageChangeEvent {
|
|
36
|
+
page: number;
|
|
37
|
+
pageSize: number;
|
|
38
|
+
}
|
|
39
|
+
export interface GridSortChangeEvent {
|
|
40
|
+
sort: GridSortState | null;
|
|
41
|
+
}
|
|
42
|
+
export interface GridFilterChangeEvent {
|
|
43
|
+
filters: GridFilterState[];
|
|
44
|
+
}
|
|
45
|
+
export interface GridGroupChangeEvent {
|
|
46
|
+
group: GridGroupState | null;
|
|
47
|
+
}
|
|
48
|
+
export interface GridDataStateChangeEvent {
|
|
49
|
+
page: number;
|
|
50
|
+
pageSize: number;
|
|
51
|
+
sort: GridSortState | null;
|
|
52
|
+
filters: GridFilterState[];
|
|
53
|
+
group: GridGroupState | null;
|
|
54
|
+
}
|
|
55
|
+
export interface GridRowClickEvent<T = Record<string, unknown>> {
|
|
56
|
+
row: T;
|
|
57
|
+
index: number;
|
|
58
|
+
}
|
|
59
|
+
export interface GridRowUpdateEvent<T = Record<string, unknown>> {
|
|
60
|
+
previous: T;
|
|
61
|
+
updated: T;
|
|
62
|
+
index: number;
|
|
63
|
+
}
|
|
64
|
+
export interface GridGroupResult<T = Record<string, unknown>> {
|
|
65
|
+
key: string;
|
|
66
|
+
value: unknown;
|
|
67
|
+
field: string;
|
|
68
|
+
count: number;
|
|
69
|
+
items: T[];
|
|
70
|
+
}
|
|
71
|
+
export interface GridHeaderTemplateContext<T = Record<string, unknown>> {
|
|
72
|
+
$implicit: GridColumnDef<T>;
|
|
73
|
+
column: GridColumnDef<T>;
|
|
74
|
+
sort: GridSortState | null;
|
|
75
|
+
filters: GridFilterState[];
|
|
76
|
+
isServerMode: boolean;
|
|
77
|
+
}
|
|
78
|
+
export interface GridCellTemplateContext<T = Record<string, unknown>> {
|
|
79
|
+
$implicit: unknown;
|
|
80
|
+
value: unknown;
|
|
81
|
+
row: T;
|
|
82
|
+
column: GridColumnDef<T>;
|
|
83
|
+
index: number;
|
|
84
|
+
editing: boolean;
|
|
85
|
+
draftValue?: unknown;
|
|
86
|
+
updateDraft?: (val: unknown) => void;
|
|
87
|
+
}
|
|
88
|
+
export interface GridRowTemplateContext<T = Record<string, unknown>> {
|
|
89
|
+
$implicit: T;
|
|
90
|
+
row: T;
|
|
91
|
+
index: number;
|
|
92
|
+
editing: boolean;
|
|
93
|
+
expanded: boolean;
|
|
94
|
+
}
|
|
95
|
+
export interface GridDetailTemplateContext<T = Record<string, unknown>> {
|
|
96
|
+
$implicit: T;
|
|
97
|
+
row: T;
|
|
98
|
+
index: number;
|
|
99
|
+
}
|
|
100
|
+
export interface GridFooterTemplateContext<T = Record<string, unknown>> {
|
|
101
|
+
$implicit: GridColumnDef<T>;
|
|
102
|
+
column: GridColumnDef<T>;
|
|
103
|
+
aggregationValue: string;
|
|
104
|
+
data: T[];
|
|
105
|
+
}
|
package/grid/public-api.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { DataGridComponent, NgxGridCellTemplateDirective, NgxGridEditCellTemplateDirective, NgxGridHeaderTemplateDirective, NgxGridFooterTemplateDirective, } from './data-grid/data-grid.component';
|
|
2
|
-
export type { GridColumnDef, GridFilterState, GridGroupState, GridGroupResult, GridSortState, GridPageChangeEvent, GridSortChangeEvent, GridFilterChangeEvent, GridGroupChangeEvent, GridDataStateChangeEvent, GridRowClickEvent, GridRowUpdateEvent, GridHeaderTemplateContext, GridCellTemplateContext, GridRowTemplateContext, GridDetailTemplateContext, GridFooterTemplateContext, } from './data-grid/
|
|
2
|
+
export type { GridColumnDef, GridFilterState, GridGroupState, GridGroupResult, GridSortState, GridPageChangeEvent, GridSortChangeEvent, GridFilterChangeEvent, GridGroupChangeEvent, GridDataStateChangeEvent, GridRowClickEvent, GridRowUpdateEvent, GridHeaderTemplateContext, GridCellTemplateContext, GridRowTemplateContext, GridDetailTemplateContext, GridFooterTemplateContext, } from './data-grid/models';
|
|
3
|
+
export { GridExportService } from './data-grid/grid-export.service';
|
|
3
4
|
export { PivotGridComponent } from './pivot-grid/pivot-grid.component';
|
|
4
5
|
export type { PivotValueDef } from './pivot-grid/pivot-grid.component';
|
package/i18n/index.d.ts
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
/**
|
|
3
|
+
* Interface representing all user-facing labels in ngx-core-components
|
|
4
|
+
*/
|
|
5
|
+
export interface NgxCoreI18n {
|
|
6
|
+
grid: {
|
|
7
|
+
noData: string;
|
|
8
|
+
filterPlaceholder: string;
|
|
9
|
+
pageOf: (page: number, total: number) => string;
|
|
10
|
+
sortAscending: string;
|
|
11
|
+
sortDescending: string;
|
|
12
|
+
selectAll: string;
|
|
13
|
+
deselectAll: string;
|
|
14
|
+
exportCsv: string;
|
|
15
|
+
groupBy: string;
|
|
16
|
+
};
|
|
17
|
+
datePicker: {
|
|
18
|
+
months: string[];
|
|
19
|
+
shortMonths: string[];
|
|
20
|
+
weekdays: string[];
|
|
21
|
+
shortWeekdays: string[];
|
|
22
|
+
today: string;
|
|
23
|
+
clear: string;
|
|
24
|
+
cancel: string;
|
|
25
|
+
ok: string;
|
|
26
|
+
};
|
|
27
|
+
dialog: {
|
|
28
|
+
close: string;
|
|
29
|
+
confirm: string;
|
|
30
|
+
cancel: string;
|
|
31
|
+
ok: string;
|
|
32
|
+
};
|
|
33
|
+
fileUpload: {
|
|
34
|
+
browse: string;
|
|
35
|
+
dragDrop: string;
|
|
36
|
+
removeFile: string;
|
|
37
|
+
maxSizeError: string;
|
|
38
|
+
invalidTypeError: string;
|
|
39
|
+
};
|
|
40
|
+
autocomplete: {
|
|
41
|
+
noResults: string;
|
|
42
|
+
loading: string;
|
|
43
|
+
clearSelection: string;
|
|
44
|
+
};
|
|
45
|
+
dropdown: {
|
|
46
|
+
noResults: string;
|
|
47
|
+
selectPlaceholder: string;
|
|
48
|
+
clearSelection: string;
|
|
49
|
+
searchPlaceholder: string;
|
|
50
|
+
};
|
|
51
|
+
multiSelect: {
|
|
52
|
+
selectAll: string;
|
|
53
|
+
deselectAll: string;
|
|
54
|
+
selectedCount: (count: number) => string;
|
|
55
|
+
searchPlaceholder: string;
|
|
56
|
+
};
|
|
57
|
+
pagination: {
|
|
58
|
+
of: string;
|
|
59
|
+
page: string;
|
|
60
|
+
nextPage: string;
|
|
61
|
+
previousPage: string;
|
|
62
|
+
firstPage: string;
|
|
63
|
+
lastPage: string;
|
|
64
|
+
itemsPerPage: string;
|
|
65
|
+
};
|
|
66
|
+
scheduler: {
|
|
67
|
+
today: string;
|
|
68
|
+
day: string;
|
|
69
|
+
week: string;
|
|
70
|
+
month: string;
|
|
71
|
+
agenda: string;
|
|
72
|
+
allDay: string;
|
|
73
|
+
noEvents: string;
|
|
74
|
+
};
|
|
75
|
+
gantt: {
|
|
76
|
+
addTask: string;
|
|
77
|
+
deleteTask: string;
|
|
78
|
+
editTask: string;
|
|
79
|
+
zoomIn: string;
|
|
80
|
+
zoomOut: string;
|
|
81
|
+
today: string;
|
|
82
|
+
criticalPath: string;
|
|
83
|
+
baseline: string;
|
|
84
|
+
};
|
|
85
|
+
common: {
|
|
86
|
+
loading: string;
|
|
87
|
+
error: string;
|
|
88
|
+
retry: string;
|
|
89
|
+
save: string;
|
|
90
|
+
delete: string;
|
|
91
|
+
edit: string;
|
|
92
|
+
cancel: string;
|
|
93
|
+
ok: string;
|
|
94
|
+
close: string;
|
|
95
|
+
search: string;
|
|
96
|
+
noData: string;
|
|
97
|
+
required: string;
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Default English translations
|
|
102
|
+
*/
|
|
103
|
+
export declare const DEFAULT_EN_I18N: NgxCoreI18n;
|
|
104
|
+
/**
|
|
105
|
+
* Injection token for library translations
|
|
106
|
+
*/
|
|
107
|
+
export declare const NGX_CORE_I18N: InjectionToken<NgxCoreI18n>;
|
|
108
|
+
/**
|
|
109
|
+
* Provider helper function to configure custom translations
|
|
110
|
+
*/
|
|
111
|
+
export declare function provideNgxI18n(overrides: Partial<NgxCoreI18n>): Provider;
|
|
@@ -4,11 +4,13 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class AutocompleteComponent implements ControlValueAccessor {
|
|
5
5
|
options: import("@angular/core").InputSignal<DropdownOption[]>;
|
|
6
6
|
label: import("@angular/core").InputSignal<string>;
|
|
7
|
-
placeholder: import("@angular/core").InputSignal<string>;
|
|
7
|
+
placeholder: import("@angular/core").InputSignal<string | null>;
|
|
8
8
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
9
9
|
error: import("@angular/core").InputSignal<string>;
|
|
10
10
|
minLength: import("@angular/core").InputSignal<number>;
|
|
11
11
|
valueChange: import("@angular/core").OutputEmitterRef<unknown>;
|
|
12
|
+
i18n: import("ngx-core-components/i18n").NgxCoreI18n;
|
|
13
|
+
effectivePlaceholder: import("@angular/core").Signal<string>;
|
|
12
14
|
_inputText: import("@angular/core").WritableSignal<string>;
|
|
13
15
|
_selectedValue: import("@angular/core").WritableSignal<unknown>;
|
|
14
16
|
isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
@@ -3,13 +3,14 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class DatePickerComponent implements ControlValueAccessor {
|
|
4
4
|
value: import("@angular/core").InputSignal<Date | null>;
|
|
5
5
|
label: import("@angular/core").InputSignal<string>;
|
|
6
|
-
placeholder: import("@angular/core").InputSignal<string>;
|
|
6
|
+
placeholder: import("@angular/core").InputSignal<string | null>;
|
|
7
7
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
8
8
|
min: import("@angular/core").InputSignal<Date | null>;
|
|
9
9
|
max: import("@angular/core").InputSignal<Date | null>;
|
|
10
10
|
format: import("@angular/core").InputSignal<string>;
|
|
11
11
|
valueChange: import("@angular/core").OutputEmitterRef<Date | null>;
|
|
12
|
-
|
|
12
|
+
i18n: import("ngx-core-components/i18n").NgxCoreI18n;
|
|
13
|
+
effectivePlaceholder: import("@angular/core").Signal<string>;
|
|
13
14
|
isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
14
15
|
viewYear: import("@angular/core").WritableSignal<number>;
|
|
15
16
|
viewMonth: import("@angular/core").WritableSignal<number>;
|
|
@@ -32,6 +33,7 @@ export declare class DatePickerComponent implements ControlValueAccessor {
|
|
|
32
33
|
toggle(): void;
|
|
33
34
|
prevMonth(): void;
|
|
34
35
|
nextMonth(): void;
|
|
36
|
+
onInputKeyDown(event: KeyboardEvent): void;
|
|
35
37
|
selectDay(date: Date | null): void;
|
|
36
38
|
selectToday(): void;
|
|
37
39
|
clearValue(): void;
|
|
@@ -9,13 +9,15 @@ export declare class DropdownComponent implements ControlValueAccessor {
|
|
|
9
9
|
options: import("@angular/core").InputSignal<DropdownOption[]>;
|
|
10
10
|
value: import("@angular/core").InputSignal<unknown>;
|
|
11
11
|
label: import("@angular/core").InputSignal<string>;
|
|
12
|
-
placeholder: import("@angular/core").InputSignal<string>;
|
|
12
|
+
placeholder: import("@angular/core").InputSignal<string | null>;
|
|
13
13
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
14
14
|
filterable: import("@angular/core").InputSignal<boolean>;
|
|
15
15
|
required: import("@angular/core").InputSignal<boolean>;
|
|
16
16
|
error: import("@angular/core").InputSignal<string>;
|
|
17
17
|
hint: import("@angular/core").InputSignal<string>;
|
|
18
18
|
valueChange: import("@angular/core").OutputEmitterRef<unknown>;
|
|
19
|
+
i18n: import("ngx-core-components/i18n").NgxCoreI18n;
|
|
20
|
+
effectivePlaceholder: import("@angular/core").Signal<string>;
|
|
19
21
|
isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
20
22
|
filterText: import("@angular/core").WritableSignal<string>;
|
|
21
23
|
focusedIndex: import("@angular/core").WritableSignal<number>;
|
|
@@ -11,6 +11,7 @@ export interface UploadFileItem {
|
|
|
11
11
|
fileObject: File;
|
|
12
12
|
}
|
|
13
13
|
export declare class FileUploadComponent {
|
|
14
|
+
i18n: import("ngx-core-components/i18n").NgxCoreI18n;
|
|
14
15
|
multiple: import("@angular/core").InputSignal<boolean>;
|
|
15
16
|
accept: import("@angular/core").InputSignal<string>;
|
|
16
17
|
maxSize: import("@angular/core").InputSignal<number>;
|
|
@@ -5,11 +5,13 @@ export declare class MultiSelectComponent implements ControlValueAccessor {
|
|
|
5
5
|
options: import("@angular/core").InputSignal<DropdownOption[]>;
|
|
6
6
|
values: import("@angular/core").InputSignal<unknown[]>;
|
|
7
7
|
label: import("@angular/core").InputSignal<string>;
|
|
8
|
-
placeholder: import("@angular/core").InputSignal<string>;
|
|
8
|
+
placeholder: import("@angular/core").InputSignal<string | null>;
|
|
9
9
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
10
10
|
filterable: import("@angular/core").InputSignal<boolean>;
|
|
11
11
|
maxTags: import("@angular/core").InputSignal<number>;
|
|
12
12
|
valuesChange: import("@angular/core").OutputEmitterRef<unknown[]>;
|
|
13
|
+
i18n: import("ngx-core-components/i18n").NgxCoreI18n;
|
|
14
|
+
effectivePlaceholder: import("@angular/core").Signal<string>;
|
|
13
15
|
isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
14
16
|
filterText: import("@angular/core").WritableSignal<string>;
|
|
15
17
|
focusedIndex: import("@angular/core").WritableSignal<number>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class TagInputComponent {
|
|
3
|
+
private elementRef;
|
|
3
4
|
tags: import("@angular/core").InputSignal<string[]>;
|
|
4
5
|
placeholder: import("@angular/core").InputSignal<string>;
|
|
5
6
|
maxTags: import("@angular/core").InputSignal<number>;
|
|
@@ -13,6 +14,7 @@ export declare class TagInputComponent {
|
|
|
13
14
|
isFocused: import("@angular/core").WritableSignal<boolean>;
|
|
14
15
|
inputValue: string;
|
|
15
16
|
isAtMax: import("@angular/core").Signal<boolean>;
|
|
17
|
+
private syncTags;
|
|
16
18
|
/** Native input element reference (grabbed via ViewChild-less approach via the template variable). */
|
|
17
19
|
private _inputEl;
|
|
18
20
|
focusInput(): void;
|
|
@@ -21,6 +21,7 @@ export declare class AccordionComponent {
|
|
|
21
21
|
multi: import("@angular/core").InputSignal<boolean>;
|
|
22
22
|
accordionItems: import("@angular/core").Signal<readonly AccordionItemComponent[]>;
|
|
23
23
|
private expanded;
|
|
24
|
+
private el;
|
|
24
25
|
constructor();
|
|
25
26
|
isExpanded(i: number): boolean;
|
|
26
27
|
toggle(i: number): void;
|
|
@@ -9,6 +9,7 @@ export declare class DrawerComponent implements OnDestroy {
|
|
|
9
9
|
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
10
10
|
title: import("@angular/core").InputSignal<string>;
|
|
11
11
|
close: import("@angular/core").OutputEmitterRef<void>;
|
|
12
|
+
private document;
|
|
12
13
|
constructor();
|
|
13
14
|
ngOnDestroy(): void;
|
|
14
15
|
isHorizontal: import("@angular/core").Signal<boolean>;
|