cps-ui-kit 0.31.0 → 0.33.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.
Files changed (29) hide show
  1. package/esm2020/lib/base_components/cps-tree-dropdown-base.component.mjs +17 -2
  2. package/esm2020/lib/components/cps-autocomplete/cps-autocomplete.component.mjs +20 -3
  3. package/esm2020/lib/components/cps-button-toggle/cps-button-toggle.component.mjs +25 -3
  4. package/esm2020/lib/components/cps-checkbox/cps-checkbox.component.mjs +19 -3
  5. package/esm2020/lib/components/cps-datepicker/cps-datepicker.component.mjs +18 -3
  6. package/esm2020/lib/components/cps-info-circle/cps-info-circle.component.mjs +9 -3
  7. package/esm2020/lib/components/cps-input/cps-input.component.mjs +24 -3
  8. package/esm2020/lib/components/cps-radio/cps-radio.component.mjs +20 -3
  9. package/esm2020/lib/components/cps-select/cps-select.component.mjs +20 -3
  10. package/esm2020/lib/components/cps-table/cps-table.component.mjs +24 -5
  11. package/esm2020/lib/components/cps-textarea/cps-textarea.component.mjs +20 -4
  12. package/esm2020/lib/components/cps-tree-autocomplete/cps-tree-autocomplete.component.mjs +6 -4
  13. package/esm2020/lib/components/cps-tree-select/cps-tree-select.component.mjs +5 -3
  14. package/fesm2015/cps-ui-kit.mjs +563 -389
  15. package/fesm2015/cps-ui-kit.mjs.map +1 -1
  16. package/fesm2020/cps-ui-kit.mjs +570 -397
  17. package/fesm2020/cps-ui-kit.mjs.map +1 -1
  18. package/lib/base_components/cps-tree-dropdown-base.component.d.ts +7 -1
  19. package/lib/components/cps-autocomplete/cps-autocomplete.component.d.ts +7 -1
  20. package/lib/components/cps-button-toggle/cps-button-toggle.component.d.ts +8 -1
  21. package/lib/components/cps-checkbox/cps-checkbox.component.d.ts +7 -1
  22. package/lib/components/cps-datepicker/cps-datepicker.component.d.ts +7 -1
  23. package/lib/components/cps-info-circle/cps-info-circle.component.d.ts +3 -1
  24. package/lib/components/cps-input/cps-input.component.d.ts +7 -1
  25. package/lib/components/cps-radio/cps-radio.component.d.ts +8 -1
  26. package/lib/components/cps-select/cps-select.component.d.ts +7 -1
  27. package/lib/components/cps-table/cps-table.component.d.ts +5 -1
  28. package/lib/components/cps-textarea/cps-textarea.component.d.ts +7 -1
  29. package/package.json +1 -1
@@ -3,6 +3,7 @@ import { ControlValueAccessor, NgControl } from '@angular/forms';
3
3
  import { TreeNode } from 'primeng/api';
4
4
  import { IconType, iconSizeType } from '../components/cps-icon/cps-icon.component';
5
5
  import { Tree } from 'primeng/tree';
6
+ import { TooltipPosition } from '../directives/cps-tooltip.directive';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class CpsTreeDropdownBaseComponent implements ControlValueAccessor, OnInit, AfterViewInit, OnDestroy {
8
9
  control: NgControl;
@@ -25,6 +26,11 @@ export declare class CpsTreeDropdownBaseComponent implements ControlValueAccesso
25
26
  prefixIconSize: iconSizeType;
26
27
  loading: boolean;
27
28
  virtualScroll: boolean;
29
+ infoTooltip: string;
30
+ infoTooltipClass: string;
31
+ infoTooltipMaxWidth: number | string;
32
+ infoTooltipPersistent: boolean;
33
+ infoTooltipPosition: TooltipPosition;
28
34
  set options(options: any[]);
29
35
  get options(): TreeNode[];
30
36
  _value: any;
@@ -77,5 +83,5 @@ export declare class CpsTreeDropdownBaseComponent implements ControlValueAccesso
77
83
  private _valueToTreeSelection;
78
84
  updateOptions(): void;
79
85
  static ɵfac: i0.ɵɵFactoryDeclaration<CpsTreeDropdownBaseComponent, [{ optional: true; self: true; }, null]>;
80
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsTreeDropdownBaseComponent, "ng-component", never, { "label": "label"; "placeholder": "placeholder"; "hint": "hint"; "multiple": "multiple"; "disabled": "disabled"; "width": "width"; "chips": "chips"; "closableChips": "closableChips"; "clearable": "clearable"; "openOnClear": "openOnClear"; "optionLabel": "optionLabel"; "optionInfo": "optionInfo"; "hideDetails": "hideDetails"; "persistentClear": "persistentClear"; "prefixIcon": "prefixIcon"; "prefixIconSize": "prefixIconSize"; "loading": "loading"; "virtualScroll": "virtualScroll"; "options": "options"; "_value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, false, never>;
86
+ static ɵcmp: i0.ɵɵComponentDeclaration<CpsTreeDropdownBaseComponent, "ng-component", never, { "label": "label"; "placeholder": "placeholder"; "hint": "hint"; "multiple": "multiple"; "disabled": "disabled"; "width": "width"; "chips": "chips"; "closableChips": "closableChips"; "clearable": "clearable"; "openOnClear": "openOnClear"; "optionLabel": "optionLabel"; "optionInfo": "optionInfo"; "hideDetails": "hideDetails"; "persistentClear": "persistentClear"; "prefixIcon": "prefixIcon"; "prefixIconSize": "prefixIconSize"; "loading": "loading"; "virtualScroll": "virtualScroll"; "infoTooltip": "infoTooltip"; "infoTooltipClass": "infoTooltipClass"; "infoTooltipMaxWidth": "infoTooltipMaxWidth"; "infoTooltipPersistent": "infoTooltipPersistent"; "infoTooltipPosition": "infoTooltipPosition"; "options": "options"; "_value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, false, never>;
81
87
  }
@@ -3,6 +3,7 @@ import { ControlValueAccessor, NgControl } from '@angular/forms';
3
3
  import { IconType, iconSizeType } from '../cps-icon/cps-icon.component';
4
4
  import { LabelByValuePipe } from '../../pipes/label-by-value.pipe';
5
5
  import { VirtualScroller } from 'primeng/virtualscroller';
6
+ import { TooltipPosition } from '../../directives/cps-tooltip.directive';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class CpsAutocompleteComponent implements ControlValueAccessor, OnInit, OnDestroy {
8
9
  private _control;
@@ -30,6 +31,11 @@ export declare class CpsAutocompleteComponent implements ControlValueAccessor, O
30
31
  loading: boolean;
31
32
  emptyMessage: string;
32
33
  virtualScroll: boolean;
34
+ infoTooltip: string;
35
+ infoTooltipClass: string;
36
+ infoTooltipMaxWidth: number | string;
37
+ infoTooltipPersistent: boolean;
38
+ infoTooltipPosition: TooltipPosition;
33
39
  _value: any;
34
40
  get value(): any;
35
41
  set value(value: any);
@@ -83,5 +89,5 @@ export declare class CpsAutocompleteComponent implements ControlValueAccessor, O
83
89
  private _confirmInput;
84
90
  private _removeLastValue;
85
91
  static ɵfac: i0.ɵɵFactoryDeclaration<CpsAutocompleteComponent, [{ optional: true; self: true; }, null]>;
86
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsAutocompleteComponent, "cps-autocomplete", never, { "label": "label"; "placeholder": "placeholder"; "hint": "hint"; "returnObject": "returnObject"; "multiple": "multiple"; "disabled": "disabled"; "width": "width"; "selectAll": "selectAll"; "chips": "chips"; "closableChips": "closableChips"; "clearable": "clearable"; "openOnClear": "openOnClear"; "options": "options"; "optionLabel": "optionLabel"; "optionValue": "optionValue"; "optionInfo": "optionInfo"; "hideDetails": "hideDetails"; "persistentClear": "persistentClear"; "prefixIcon": "prefixIcon"; "prefixIconSize": "prefixIconSize"; "loading": "loading"; "emptyMessage": "emptyMessage"; "virtualScroll": "virtualScroll"; "_value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
92
+ static ɵcmp: i0.ɵɵComponentDeclaration<CpsAutocompleteComponent, "cps-autocomplete", never, { "label": "label"; "placeholder": "placeholder"; "hint": "hint"; "returnObject": "returnObject"; "multiple": "multiple"; "disabled": "disabled"; "width": "width"; "selectAll": "selectAll"; "chips": "chips"; "closableChips": "closableChips"; "clearable": "clearable"; "openOnClear": "openOnClear"; "options": "options"; "optionLabel": "optionLabel"; "optionValue": "optionValue"; "optionInfo": "optionInfo"; "hideDetails": "hideDetails"; "persistentClear": "persistentClear"; "prefixIcon": "prefixIcon"; "prefixIconSize": "prefixIconSize"; "loading": "loading"; "emptyMessage": "emptyMessage"; "virtualScroll": "virtualScroll"; "infoTooltip": "infoTooltip"; "infoTooltipClass": "infoTooltipClass"; "infoTooltipMaxWidth": "infoTooltipMaxWidth"; "infoTooltipPersistent": "infoTooltipPersistent"; "infoTooltipPosition": "infoTooltipPosition"; "_value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
87
93
  }
@@ -1,10 +1,12 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { ControlValueAccessor, NgControl } from '@angular/forms';
3
+ import { TooltipPosition } from '../../directives/cps-tooltip.directive';
3
4
  import * as i0 from "@angular/core";
4
5
  export type BtnToggleOption = {
5
6
  value: any;
6
7
  label: string;
7
8
  disabled?: boolean;
9
+ tooltip?: string;
8
10
  };
9
11
  export declare class CpsButtonToggleComponent implements ControlValueAccessor, OnInit {
10
12
  private _control;
@@ -13,6 +15,11 @@ export declare class CpsButtonToggleComponent implements ControlValueAccessor, O
13
15
  multiple: boolean;
14
16
  disabled: boolean;
15
17
  mandatory: boolean;
18
+ infoTooltip: string;
19
+ infoTooltipClass: string;
20
+ infoTooltipMaxWidth: number | string;
21
+ infoTooltipPersistent: boolean;
22
+ infoTooltipPosition: TooltipPosition;
16
23
  _value: any;
17
24
  set value(value: any);
18
25
  get value(): any;
@@ -28,5 +35,5 @@ export declare class CpsButtonToggleComponent implements ControlValueAccessor, O
28
35
  private _updateValue;
29
36
  setDisabledState(disabled: boolean): void;
30
37
  static ɵfac: i0.ɵɵFactoryDeclaration<CpsButtonToggleComponent, [{ optional: true; self: true; }]>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsButtonToggleComponent, "cps-button-toggle", never, { "label": "label"; "options": "options"; "multiple": "multiple"; "disabled": "disabled"; "mandatory": "mandatory"; "_value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<CpsButtonToggleComponent, "cps-button-toggle", never, { "label": "label"; "options": "options"; "multiple": "multiple"; "disabled": "disabled"; "mandatory": "mandatory"; "infoTooltip": "infoTooltip"; "infoTooltipClass": "infoTooltipClass"; "infoTooltipMaxWidth": "infoTooltipMaxWidth"; "infoTooltipPersistent": "infoTooltipPersistent"; "infoTooltipPosition": "infoTooltipPosition"; "_value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
32
39
  }
@@ -1,11 +1,17 @@
1
1
  import { ElementRef, EventEmitter } from '@angular/core';
2
2
  import { ControlValueAccessor, NgControl } from '@angular/forms';
3
+ import { TooltipPosition } from '../../directives/cps-tooltip.directive';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class CpsCheckboxComponent implements ControlValueAccessor {
5
6
  private _control;
6
7
  private _elementRef;
7
8
  label: string;
8
9
  disabled: boolean;
10
+ infoTooltip: string;
11
+ infoTooltipClass: string;
12
+ infoTooltipMaxWidth: number | string;
13
+ infoTooltipPersistent: boolean;
14
+ infoTooltipPosition: TooltipPosition;
9
15
  set value(value: boolean);
10
16
  get value(): boolean;
11
17
  valueChanged: EventEmitter<boolean>;
@@ -21,5 +27,5 @@ export declare class CpsCheckboxComponent implements ControlValueAccessor {
21
27
  setDisabledState(disabled: boolean): void;
22
28
  focus(): void;
23
29
  static ɵfac: i0.ɵɵFactoryDeclaration<CpsCheckboxComponent, [{ optional: true; self: true; }, null]>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsCheckboxComponent, "cps-checkbox", never, { "label": "label"; "disabled": "disabled"; "value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<CpsCheckboxComponent, "cps-checkbox", never, { "label": "label"; "disabled": "disabled"; "infoTooltip": "infoTooltip"; "infoTooltipClass": "infoTooltipClass"; "infoTooltipMaxWidth": "infoTooltipMaxWidth"; "infoTooltipPersistent": "infoTooltipPersistent"; "infoTooltipPosition": "infoTooltipPosition"; "value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
25
31
  }
@@ -1,5 +1,6 @@
1
1
  import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { ControlValueAccessor, NgControl } from '@angular/forms';
3
+ import { TooltipPosition } from '../../directives/cps-tooltip.directive';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class CpsDatepickerComponent implements ControlValueAccessor, OnInit, OnDestroy {
5
6
  private _control;
@@ -13,6 +14,11 @@ export declare class CpsDatepickerComponent implements ControlValueAccessor, OnI
13
14
  persistentClear: boolean;
14
15
  showTodayButton: boolean;
15
16
  openOnInputFocus: boolean;
17
+ infoTooltip: string;
18
+ infoTooltipClass: string;
19
+ infoTooltipMaxWidth: number | string;
20
+ infoTooltipPersistent: boolean;
21
+ infoTooltipPosition: TooltipPosition;
16
22
  minDate: Date;
17
23
  maxDate: Date;
18
24
  set value(value: Date | null);
@@ -48,5 +54,5 @@ export declare class CpsDatepickerComponent implements ControlValueAccessor, OnI
48
54
  onInputFocus(): void;
49
55
  toggleCalendar(show?: boolean): void;
50
56
  static ɵfac: i0.ɵɵFactoryDeclaration<CpsDatepickerComponent, [{ optional: true; self: true; }]>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsDatepickerComponent, "cps-datepicker", never, { "label": "label"; "disabled": "disabled"; "width": "width"; "placeholder": "placeholder"; "hint": "hint"; "clearable": "clearable"; "hideDetails": "hideDetails"; "persistentClear": "persistentClear"; "showTodayButton": "showTodayButton"; "openOnInputFocus": "openOnInputFocus"; "minDate": "minDate"; "maxDate": "maxDate"; "value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<CpsDatepickerComponent, "cps-datepicker", never, { "label": "label"; "disabled": "disabled"; "width": "width"; "placeholder": "placeholder"; "hint": "hint"; "clearable": "clearable"; "hideDetails": "hideDetails"; "persistentClear": "persistentClear"; "showTodayButton": "showTodayButton"; "openOnInputFocus": "openOnInputFocus"; "infoTooltip": "infoTooltip"; "infoTooltipClass": "infoTooltipClass"; "infoTooltipMaxWidth": "infoTooltipMaxWidth"; "infoTooltipPersistent": "infoTooltipPersistent"; "infoTooltipPosition": "infoTooltipPosition"; "minDate": "minDate"; "maxDate": "maxDate"; "value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
52
58
  }
@@ -6,6 +6,8 @@ export declare class CpsInfoCircleComponent {
6
6
  tooltipText: string;
7
7
  tooltipPosition: TooltipPosition;
8
8
  tooltipContentClass: string;
9
+ tooltipMaxWidth: number | string;
10
+ tooltipPersistent: boolean;
9
11
  static ɵfac: i0.ɵɵFactoryDeclaration<CpsInfoCircleComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsInfoCircleComponent, "cps-info-circle", never, { "size": "size"; "tooltipText": "tooltipText"; "tooltipPosition": "tooltipPosition"; "tooltipContentClass": "tooltipContentClass"; }, {}, never, never, true, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<CpsInfoCircleComponent, "cps-info-circle", never, { "size": "size"; "tooltipText": "tooltipText"; "tooltipPosition": "tooltipPosition"; "tooltipContentClass": "tooltipContentClass"; "tooltipMaxWidth": "tooltipMaxWidth"; "tooltipPersistent": "tooltipPersistent"; }, {}, never, never, true, never>;
11
13
  }
@@ -1,6 +1,7 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { ControlValueAccessor, NgControl } from '@angular/forms';
3
3
  import { IconType, iconSizeType } from '../cps-icon/cps-icon.component';
4
+ import { TooltipPosition } from '../../directives/cps-tooltip.directive';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class CpsInputComponent implements ControlValueAccessor, OnInit, AfterViewInit, OnDestroy {
6
7
  private _control;
@@ -21,6 +22,11 @@ export declare class CpsInputComponent implements ControlValueAccessor, OnInit,
21
22
  hideDetails: boolean;
22
23
  persistentClear: boolean;
23
24
  error: string;
25
+ infoTooltip: string;
26
+ infoTooltipClass: string;
27
+ infoTooltipMaxWidth: number | string;
28
+ infoTooltipPersistent: boolean;
29
+ infoTooltipPosition: TooltipPosition;
24
30
  set value(value: string);
25
31
  get value(): string;
26
32
  valueChanged: EventEmitter<string>;
@@ -53,5 +59,5 @@ export declare class CpsInputComponent implements ControlValueAccessor, OnInit,
53
59
  onFocus(): void;
54
60
  focus(): void;
55
61
  static ɵfac: i0.ɵɵFactoryDeclaration<CpsInputComponent, [{ optional: true; self: true; }, null, null]>;
56
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsInputComponent, "cps-input", never, { "label": "label"; "hint": "hint"; "placeholder": "placeholder"; "disabled": "disabled"; "width": "width"; "type": "type"; "loading": "loading"; "clearable": "clearable"; "prefixIcon": "prefixIcon"; "prefixIconClickable": "prefixIconClickable"; "prefixIconSize": "prefixIconSize"; "prefixText": "prefixText"; "hideDetails": "hideDetails"; "persistentClear": "persistentClear"; "error": "error"; "value": "value"; }, { "valueChanged": "valueChanged"; "focused": "focused"; "prefixIconClicked": "prefixIconClicked"; "blurred": "blurred"; }, never, never, true, never>;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<CpsInputComponent, "cps-input", never, { "label": "label"; "hint": "hint"; "placeholder": "placeholder"; "disabled": "disabled"; "width": "width"; "type": "type"; "loading": "loading"; "clearable": "clearable"; "prefixIcon": "prefixIcon"; "prefixIconClickable": "prefixIconClickable"; "prefixIconSize": "prefixIconSize"; "prefixText": "prefixText"; "hideDetails": "hideDetails"; "persistentClear": "persistentClear"; "error": "error"; "infoTooltip": "infoTooltip"; "infoTooltipClass": "infoTooltipClass"; "infoTooltipMaxWidth": "infoTooltipMaxWidth"; "infoTooltipPersistent": "infoTooltipPersistent"; "infoTooltipPosition": "infoTooltipPosition"; "value": "value"; }, { "valueChanged": "valueChanged"; "focused": "focused"; "prefixIconClicked": "prefixIconClicked"; "blurred": "blurred"; }, never, never, true, never>;
57
63
  }
@@ -1,10 +1,12 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { ControlValueAccessor, NgControl } from '@angular/forms';
3
+ import { TooltipPosition } from '../../directives/cps-tooltip.directive';
3
4
  import * as i0 from "@angular/core";
4
5
  export type RadioOption = {
5
6
  value: any;
6
7
  label: string;
7
8
  disabled?: boolean;
9
+ tooltip?: string;
8
10
  };
9
11
  export declare class CpsRadioComponent implements ControlValueAccessor {
10
12
  private _control;
@@ -12,6 +14,11 @@ export declare class CpsRadioComponent implements ControlValueAccessor {
12
14
  groupLabel: string;
13
15
  vertical: boolean;
14
16
  disabled: boolean;
17
+ infoTooltip: string;
18
+ infoTooltipClass: string;
19
+ infoTooltipMaxWidth: number | string;
20
+ infoTooltipPersistent: boolean;
21
+ infoTooltipPosition: TooltipPosition;
15
22
  set value(value: any);
16
23
  get value(): any;
17
24
  valueChanged: EventEmitter<boolean>;
@@ -26,5 +33,5 @@ export declare class CpsRadioComponent implements ControlValueAccessor {
26
33
  private _updateValue;
27
34
  setDisabledState(disabled: boolean): void;
28
35
  static ɵfac: i0.ɵɵFactoryDeclaration<CpsRadioComponent, [{ optional: true; self: true; }]>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsRadioComponent, "cps-radio", never, { "options": "options"; "groupLabel": "groupLabel"; "vertical": "vertical"; "disabled": "disabled"; "value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<CpsRadioComponent, "cps-radio", never, { "options": "options"; "groupLabel": "groupLabel"; "vertical": "vertical"; "disabled": "disabled"; "infoTooltip": "infoTooltip"; "infoTooltipClass": "infoTooltipClass"; "infoTooltipMaxWidth": "infoTooltipMaxWidth"; "infoTooltipPersistent": "infoTooltipPersistent"; "infoTooltipPosition": "infoTooltipPosition"; "value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
30
37
  }
@@ -2,6 +2,7 @@ import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { ControlValueAccessor, NgControl } from '@angular/forms';
3
3
  import { iconSizeType, IconType } from '../cps-icon/cps-icon.component';
4
4
  import { VirtualScroller } from 'primeng/virtualscroller';
5
+ import { TooltipPosition } from '../../directives/cps-tooltip.directive';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class CpsSelectComponent implements ControlValueAccessor, OnInit, OnDestroy {
7
8
  private _control;
@@ -27,6 +28,11 @@ export declare class CpsSelectComponent implements ControlValueAccessor, OnInit,
27
28
  prefixIconSize: iconSizeType;
28
29
  loading: boolean;
29
30
  virtualScroll: boolean;
31
+ infoTooltip: string;
32
+ infoTooltipClass: string;
33
+ infoTooltipMaxWidth: number | string;
34
+ infoTooltipPersistent: boolean;
35
+ infoTooltipPosition: TooltipPosition;
30
36
  _value: any;
31
37
  set value(value: any);
32
38
  get value(): any;
@@ -68,5 +74,5 @@ export declare class CpsSelectComponent implements ControlValueAccessor, OnInit,
68
74
  onBlur(): void;
69
75
  focus(): void;
70
76
  static ɵfac: i0.ɵɵFactoryDeclaration<CpsSelectComponent, [{ optional: true; self: true; }]>;
71
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsSelectComponent, "cps-select", never, { "label": "label"; "placeholder": "placeholder"; "hint": "hint"; "returnObject": "returnObject"; "multiple": "multiple"; "disabled": "disabled"; "width": "width"; "selectAll": "selectAll"; "chips": "chips"; "closableChips": "closableChips"; "clearable": "clearable"; "openOnClear": "openOnClear"; "options": "options"; "optionLabel": "optionLabel"; "optionValue": "optionValue"; "optionInfo": "optionInfo"; "hideDetails": "hideDetails"; "persistentClear": "persistentClear"; "prefixIcon": "prefixIcon"; "prefixIconSize": "prefixIconSize"; "loading": "loading"; "virtualScroll": "virtualScroll"; "_value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
77
+ static ɵcmp: i0.ɵɵComponentDeclaration<CpsSelectComponent, "cps-select", never, { "label": "label"; "placeholder": "placeholder"; "hint": "hint"; "returnObject": "returnObject"; "multiple": "multiple"; "disabled": "disabled"; "width": "width"; "selectAll": "selectAll"; "chips": "chips"; "closableChips": "closableChips"; "clearable": "clearable"; "openOnClear": "openOnClear"; "options": "options"; "optionLabel": "optionLabel"; "optionValue": "optionValue"; "optionInfo": "optionInfo"; "hideDetails": "hideDetails"; "persistentClear": "persistentClear"; "prefixIcon": "prefixIcon"; "prefixIconSize": "prefixIconSize"; "loading": "loading"; "virtualScroll": "virtualScroll"; "infoTooltip": "infoTooltip"; "infoTooltipClass": "infoTooltipClass"; "infoTooltipMaxWidth": "infoTooltipMaxWidth"; "infoTooltipPersistent": "infoTooltipPersistent"; "infoTooltipPosition": "infoTooltipPosition"; "_value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
72
78
  }
@@ -23,6 +23,9 @@ export declare class CpsTableComponent implements OnInit, AfterViewInit {
23
23
  rowHover: boolean;
24
24
  scrollable: boolean;
25
25
  virtualScroll: boolean;
26
+ showGlobalFilter: boolean;
27
+ globalFilterPlaceholder: string;
28
+ globalFilterFields: string[];
26
29
  resizableColumns: boolean;
27
30
  reorderableColumns: boolean;
28
31
  selectionChanged: EventEmitter<any[]>;
@@ -40,10 +43,11 @@ export declare class CpsTableComponent implements OnInit, AfterViewInit {
40
43
  ngAfterViewInit(): void;
41
44
  onSelectionChanged(selection: any[]): void;
42
45
  onSortFunction(event: SortEvent): void;
46
+ onFilterGlobal(value: string): void;
43
47
  toolbarTemplate: TemplateRef<any>;
44
48
  headerTemplate: TemplateRef<any>;
45
49
  bodyTemplate: TemplateRef<any>;
46
50
  primengTable: Table;
47
51
  static ɵfac: i0.ɵɵFactoryDeclaration<CpsTableComponent, never>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsTableComponent, "cps-table", never, { "headers": "headers"; "data": "data"; "columns": "columns"; "striped": "striped"; "bordered": "bordered"; "size": "size"; "selectable": "selectable"; "emptyMessage": "emptyMessage"; "hasToolbar": "hasToolbar"; "toolbarSize": "toolbarSize"; "toolbarTitle": "toolbarTitle"; "sortMode": "sortMode"; "customSort": "customSort"; "rowHover": "rowHover"; "scrollable": "scrollable"; "virtualScroll": "virtualScroll"; }, { "selectionChanged": "selectionChanged"; "customSortFunction": "customSortFunction"; }, ["toolbarTemplate", "headerTemplate", "bodyTemplate"], never, true, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<CpsTableComponent, "cps-table", never, { "headers": "headers"; "data": "data"; "columns": "columns"; "striped": "striped"; "bordered": "bordered"; "size": "size"; "selectable": "selectable"; "emptyMessage": "emptyMessage"; "hasToolbar": "hasToolbar"; "toolbarSize": "toolbarSize"; "toolbarTitle": "toolbarTitle"; "sortMode": "sortMode"; "customSort": "customSort"; "rowHover": "rowHover"; "scrollable": "scrollable"; "virtualScroll": "virtualScroll"; "showGlobalFilter": "showGlobalFilter"; "globalFilterPlaceholder": "globalFilterPlaceholder"; "globalFilterFields": "globalFilterFields"; }, { "selectionChanged": "selectionChanged"; "customSortFunction": "customSortFunction"; }, ["toolbarTemplate", "headerTemplate", "bodyTemplate"], never, true, never>;
49
53
  }
@@ -1,5 +1,6 @@
1
1
  import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { NgControl } from '@angular/forms';
3
+ import { TooltipPosition } from '../../directives/cps-tooltip.directive';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class CpsTextareaComponent implements OnInit, OnDestroy {
5
6
  private _control;
@@ -17,6 +18,11 @@ export declare class CpsTextareaComponent implements OnInit, OnDestroy {
17
18
  persistentClear: boolean;
18
19
  error: string;
19
20
  resizable: 'vertical' | 'none';
21
+ infoTooltip: string;
22
+ infoTooltipClass: string;
23
+ infoTooltipMaxWidth: number | string;
24
+ infoTooltipPersistent: boolean;
25
+ infoTooltipPosition: TooltipPosition;
20
26
  set value(value: string);
21
27
  get value(): string;
22
28
  valueChanged: EventEmitter<string>;
@@ -43,5 +49,5 @@ export declare class CpsTextareaComponent implements OnInit, OnDestroy {
43
49
  onFocus(): void;
44
50
  focus(): void;
45
51
  static ɵfac: i0.ɵɵFactoryDeclaration<CpsTextareaComponent, [{ optional: true; self: true; }, null]>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsTextareaComponent, "cps-textarea", never, { "label": "label"; "placeholder": "placeholder"; "rows": "rows"; "cols": "cols"; "autofocus": "autofocus"; "hint": "hint"; "disabled": "disabled"; "width": "width"; "clearable": "clearable"; "hideDetails": "hideDetails"; "persistentClear": "persistentClear"; "error": "error"; "resizable": "resizable"; "value": "value"; }, { "valueChanged": "valueChanged"; "focused": "focused"; "prefixIconClicked": "prefixIconClicked"; "blurred": "blurred"; }, never, never, true, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<CpsTextareaComponent, "cps-textarea", never, { "label": "label"; "placeholder": "placeholder"; "rows": "rows"; "cols": "cols"; "autofocus": "autofocus"; "hint": "hint"; "disabled": "disabled"; "width": "width"; "clearable": "clearable"; "hideDetails": "hideDetails"; "persistentClear": "persistentClear"; "error": "error"; "resizable": "resizable"; "infoTooltip": "infoTooltip"; "infoTooltipClass": "infoTooltipClass"; "infoTooltipMaxWidth": "infoTooltipMaxWidth"; "infoTooltipPersistent": "infoTooltipPersistent"; "infoTooltipPosition": "infoTooltipPosition"; "value": "value"; }, { "valueChanged": "valueChanged"; "focused": "focused"; "prefixIconClicked": "prefixIconClicked"; "blurred": "blurred"; }, never, never, true, never>;
47
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cps-ui-kit",
3
- "version": "0.31.0",
3
+ "version": "0.33.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "15 - 16",
6
6
  "@angular/core": "15 - 16",