ngx-core-components 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/charts/index.d.ts +5 -0
  2. package/charts/public-api.d.ts +11 -0
  3. package/dialog/dialog-container.component.d.ts +24 -0
  4. package/dialog/dialog.service.d.ts +37 -0
  5. package/dialog/index.d.ts +5 -0
  6. package/dialog/public-api.d.ts +3 -0
  7. package/fesm2022/ngx-core-components-charts.mjs +2313 -0
  8. package/fesm2022/ngx-core-components-charts.mjs.map +1 -0
  9. package/fesm2022/ngx-core-components-dialog.mjs +168 -0
  10. package/fesm2022/ngx-core-components-dialog.mjs.map +1 -0
  11. package/fesm2022/ngx-core-components-grid.mjs +335 -0
  12. package/fesm2022/ngx-core-components-grid.mjs.map +1 -0
  13. package/fesm2022/ngx-core-components-inputs.mjs +1320 -0
  14. package/fesm2022/ngx-core-components-inputs.mjs.map +1 -0
  15. package/fesm2022/ngx-core-components-views.mjs +357 -0
  16. package/fesm2022/ngx-core-components-views.mjs.map +1 -0
  17. package/fesm2022/ngx-core-components.mjs +11 -3689
  18. package/fesm2022/ngx-core-components.mjs.map +1 -1
  19. package/grid/index.d.ts +5 -0
  20. package/grid/public-api.d.ts +2 -0
  21. package/inputs/autocomplete/autocomplete.component.d.ts +35 -0
  22. package/inputs/checkbox/checkbox.component.d.ts +21 -0
  23. package/{lib/inputs → inputs}/date-picker/date-picker.component.d.ts +11 -1
  24. package/{lib/inputs → inputs}/dropdown/dropdown.component.d.ts +11 -1
  25. package/inputs/index.d.ts +5 -0
  26. package/{lib/inputs → inputs}/multi-select/multi-select.component.d.ts +11 -1
  27. package/inputs/public-api.d.ts +9 -0
  28. package/inputs/radio/radio-group.component.d.ts +28 -0
  29. package/{lib/inputs → inputs}/textbox/textbox.component.d.ts +12 -1
  30. package/lib/tooltip/popover.component.d.ts +1 -1
  31. package/package.json +21 -1
  32. package/public-api.d.ts +29 -22
  33. package/views/index.d.ts +5 -0
  34. package/views/public-api.d.ts +4 -0
  35. /package/{lib/charts → charts}/bar-chart/bar-chart.component.d.ts +0 -0
  36. /package/{lib → charts}/gantt-chart/gantt-chart.component.d.ts +0 -0
  37. /package/{lib → charts}/gantt-chart/models/gantt-config.model.d.ts +0 -0
  38. /package/{lib → charts}/gantt-chart/models/gantt-dependency.model.d.ts +0 -0
  39. /package/{lib → charts}/gantt-chart/models/gantt-event.model.d.ts +0 -0
  40. /package/{lib → charts}/gantt-chart/models/gantt-task.model.d.ts +0 -0
  41. /package/{lib → charts}/gantt-chart/models/index.d.ts +0 -0
  42. /package/{lib → charts}/gantt-chart/services/gantt-keyboard.service.d.ts +0 -0
  43. /package/{lib → charts}/gantt-chart/services/gantt-layout.service.d.ts +0 -0
  44. /package/{lib → charts}/gantt-chart/services/gantt-scale.service.d.ts +0 -0
  45. /package/{lib → charts}/gantt-chart/utils/date-utils.d.ts +0 -0
  46. /package/{lib → charts}/gantt-chart/utils/svg-utils.d.ts +0 -0
  47. /package/{lib/charts → charts}/line-chart/line-chart.component.d.ts +0 -0
  48. /package/{lib/charts → charts}/pie-chart/pie-chart.component.d.ts +0 -0
  49. /package/{lib/charts → charts}/shared/chart-utils.d.ts +0 -0
  50. /package/{lib/charts → charts}/sparkline/sparkline.component.d.ts +0 -0
  51. /package/{lib → grid}/data-grid/data-grid.component.d.ts +0 -0
  52. /package/{lib → views}/list-view/list-view.component.d.ts +0 -0
  53. /package/{lib → views}/tree-view/tree-view.component.d.ts +0 -0
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="ngx-core-components/charts" />
5
+ export * from './public-api';
@@ -0,0 +1,11 @@
1
+ export { BarChartComponent } from './bar-chart/bar-chart.component';
2
+ export { LineChartComponent } from './line-chart/line-chart.component';
3
+ export { PieChartComponent } from './pie-chart/pie-chart.component';
4
+ export { SparklineComponent } from './sparkline/sparkline.component';
5
+ export type { ChartSeries, ChartDataPoint } from './shared/chart-utils';
6
+ export { CHART_COLORS } from './shared/chart-utils';
7
+ export { GanttChartComponent } from './gantt-chart/gantt-chart.component';
8
+ export * from './gantt-chart/models';
9
+ export { GanttScaleService } from './gantt-chart/services/gantt-scale.service';
10
+ export type { FlatRow } from './gantt-chart/services/gantt-layout.service';
11
+ export * from './gantt-chart/utils/date-utils';
@@ -0,0 +1,24 @@
1
+ import { ViewContainerRef, ViewRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * DialogContainerComponent — the floating shell rendered by DialogService.
5
+ *
6
+ * It renders:
7
+ * • A full-screen semi-transparent backdrop
8
+ * • A centered panel that hosts the user-provided content component
9
+ *
10
+ * The service programmatically attaches a content ViewRef into the
11
+ * `contentOutlet` ViewContainerRef after construction.
12
+ */
13
+ export declare class DialogContainerComponent {
14
+ contentOutlet: ViewContainerRef;
15
+ ariaLabel: string;
16
+ maxWidth: string;
17
+ panelClass: string;
18
+ backdropClick: (() => void) | null;
19
+ private cdr;
20
+ attachContent(view: ViewRef): void;
21
+ onBackdropClick(): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogContainerComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogContainerComponent, "ngx-dialog-container", never, {}, {}, never, never, true, never>;
24
+ }
@@ -0,0 +1,37 @@
1
+ import { signal, Type } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export interface DialogConfig<D = unknown> {
4
+ /** Data passed to the dialog content component via the `dialogData` input. */
5
+ data?: D;
6
+ /** Whether clicking the backdrop closes the dialog. Defaults to true. */
7
+ closeOnBackdrop?: boolean;
8
+ /** Additional CSS class(es) to apply to the dialog panel. */
9
+ panelClass?: string | string[];
10
+ /** ARIA label for the dialog (for screen readers). */
11
+ ariaLabel?: string;
12
+ /** Max width of the dialog panel (CSS value). Defaults to '560px'. */
13
+ maxWidth?: string;
14
+ }
15
+ export interface DialogRef<R = unknown> {
16
+ /** Emits the result value and removes the dialog from the DOM. */
17
+ close(result?: R): void;
18
+ /** Signal that resolves with the result once the dialog closes. */
19
+ readonly closed: ReturnType<typeof signal<R | undefined>>;
20
+ }
21
+ /**
22
+ * DialogService — programmatically opens Angular components inside a floating
23
+ * overlay without requiring NgModule or z-index hacks.
24
+ *
25
+ * Usage:
26
+ * ```ts
27
+ * const ref = this.dialog.open(MyFormComponent, { data: { id: 42 } });
28
+ * ref.closed(); // reactive signal — undefined until dialog closes
29
+ * ```
30
+ */
31
+ export declare class DialogService {
32
+ private appRef;
33
+ private injector;
34
+ open<C, D = unknown, R = unknown>(component: Type<C>, config?: DialogConfig<D>): DialogRef<R>;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
36
+ static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
37
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="ngx-core-components/dialog" />
5
+ export * from './public-api';
@@ -0,0 +1,3 @@
1
+ export { DialogService } from './dialog.service';
2
+ export type { DialogRef, DialogConfig } from './dialog.service';
3
+ export { DialogContainerComponent } from './dialog-container.component';