chrv-components 1.3.6 → 1.4.0

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,6 +1,6 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { ControlValueAccessor, FormControl } from '@angular/forms';
3
- import { Observable } from 'rxjs';
1
+ import { EventEmitter } from "@angular/core";
2
+ import { ControlValueAccessor, FormControl } from "@angular/forms";
3
+ import { Observable } from "rxjs";
4
4
  import * as i0 from "@angular/core";
5
5
  export interface IInputSearchFilter {
6
6
  display: string;
@@ -12,11 +12,13 @@ export declare class ChrSearchSelectComponent implements ControlValueAccessor {
12
12
  searchSelect: FormControl;
13
13
  filteredModelOptions?: Observable<any>;
14
14
  onTouched: any;
15
+ name?: string;
15
16
  placeholder?: string;
16
17
  data: any[] | null;
17
18
  display?: Function;
18
19
  disabled: boolean;
19
20
  model: any | null;
21
+ id: any;
20
22
  modelChange: EventEmitter<any>;
21
23
  keyup: EventEmitter<KeyboardEvent>;
22
24
  filters?: IInputSearchFilter[];
@@ -40,5 +42,5 @@ export declare class ChrSearchSelectComponent implements ControlValueAccessor {
40
42
  private _doFilterModelString;
41
43
  private _filterValues;
42
44
  static ɵfac: i0.ɵɵFactoryDeclaration<ChrSearchSelectComponent, never>;
43
- static ɵcmp: i0.ɵɵComponentDeclaration<ChrSearchSelectComponent, "app-chr-search-select", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "data": { "alias": "data"; "required": false; }; "display": { "alias": "display"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "model": { "alias": "model"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; }, { "modelChange": "modelChange"; "keyup": "keyup"; }, never, never, true, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChrSearchSelectComponent, "app-chr-search-select, [app-chr-search-select]", never, { "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "data": { "alias": "data"; "required": false; }; "display": { "alias": "display"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "model": { "alias": "model"; "required": false; }; "id": { "alias": "id"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; }, { "modelChange": "modelChange"; "keyup": "keyup"; }, never, ["*"], true, never>;
44
46
  }
@@ -1,9 +1,9 @@
1
- import { AfterViewInit, EventEmitter, ChangeDetectorRef } from '@angular/core';
2
- import { DatePipe } from '@angular/common';
1
+ import { AfterViewInit, EventEmitter, ChangeDetectorRef } from "@angular/core";
2
+ import { DatePipe } from "@angular/common";
3
3
  import * as i0 from "@angular/core";
4
4
  export interface IColumn {
5
5
  display: string;
6
- alignment?: 'left' | 'center' | 'right';
6
+ alignment?: "left" | "center" | "right";
7
7
  chipsTarget?: string[];
8
8
  chipsDisplay?: string[];
9
9
  chipsCallback?: Function;
@@ -20,15 +20,16 @@ export interface IComputedColumn {
20
20
  label?: string;
21
21
  value?: any;
22
22
  callback?: Function;
23
- alignment?: 'left' | 'center' | 'right';
23
+ alignment?: "left" | "center" | "right";
24
24
  after?: string;
25
25
  }
26
26
  export interface IAction {
27
- display: string;
27
+ display?: string;
28
+ icon?: string;
28
29
  callback: Function;
29
30
  disabled?: boolean;
30
31
  disabledCallback?: Function;
31
- color: 'accent' | 'primary' | 'warn';
32
+ color: "accent" | "primary" | "warn";
32
33
  }
33
34
  export declare class ChrTableComponent implements AfterViewInit {
34
35
  private _date;
@@ -1,4 +1,4 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { EventEmitter } from "@angular/core";
2
2
  import * as i0 from "@angular/core";
3
3
  /**
4
4
  * This should only be used as a directive
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chrv-components",
3
- "version": "1.3.6",
3
+ "version": "1.4.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.0",
6
6
  "@angular/core": "^17.3.0",
Binary file