valtech-components 2.0.410 → 2.0.412

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.
@@ -1,30 +1,22 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
- import { LangService } from '../../../services/lang-provider/lang-provider.service';
4
3
  import { PrompterMetadata } from './types';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class PrompterComponent implements OnInit {
7
6
  private langService;
7
+ /** Observable for reactive content - follows val-text/val-button pattern */
8
+ displayContent$: Observable<string>;
8
9
  /**
9
10
  * Prompter configuration object.
10
- * @type {PrompterMetadata}
11
- * @property content - The main text content.
12
- * @property buttons - Array of button configurations (optional).
13
- * @property hrefs - Array of link configurations (optional).
14
- * @property color - The background color of the box.
15
- * @property size - The size of the text and box.
16
- * @property bordered - Whether the box has a border.
17
- * @property padding - Custom padding for the box.
18
- * @property teleprompter - Whether to use teleprompter style (optional).
19
- * @property contentClass - i18n content class (optional).
20
- * @property contentKey - i18n content key (optional).
21
11
  */
22
12
  props: PrompterMetadata;
23
13
  onClick: EventEmitter<string>;
24
- /** Observable for reactive i18n content */
25
- displayContent$: Observable<string>;
26
- constructor(langService: LangService);
27
14
  ngOnInit(): void;
15
+ /**
16
+ * Set up content Observable.
17
+ * Follows the same pattern as val-text and val-button for consistency.
18
+ */
19
+ private setupContent;
28
20
  clickHandler(token?: string): void;
29
21
  static ɵfac: i0.ɵɵFactoryDeclaration<PrompterComponent, never>;
30
22
  static ɵcmp: i0.ɵɵComponentDeclaration<PrompterComponent, "val-prompter", never, { "props": { "alias": "props"; "required": false; }; }, { "onClick": "onClick"; }, never, never, true, never>;
@@ -10,7 +10,10 @@ export declare class DataTableComponent<T = any> implements OnInit, OnChanges {
10
10
  displayedData: T[];
11
11
  currentSort: DataTableSort | null;
12
12
  selectedRows: Set<any>;
13
+ /** Cached visible columns for performance */
14
+ private _visibleColumns;
13
15
  private langService;
16
+ private cdr;
14
17
  ngOnInit(): void;
15
18
  ngOnChanges(changes: SimpleChanges): void;
16
19
  private initializeState;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.410",
3
+ "version": "2.0.412",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",