cps-ui-kit 0.12.0 → 0.14.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.
@@ -28,11 +28,10 @@ export declare class CpsAutocompleteComponent implements ControlValueAccessor, O
28
28
  prefixIconSize: iconSizeType;
29
29
  loading: boolean;
30
30
  _value: any;
31
- set value(value: any);
32
31
  get value(): any;
32
+ set value(value: any);
33
33
  valueChanged: EventEmitter<any>;
34
34
  autocompleteContainer: ElementRef;
35
- private _statusChangesSubscription;
36
35
  error: string;
37
36
  cvtWidth: string;
38
37
  isOpened: boolean;
@@ -41,40 +40,41 @@ export declare class CpsAutocompleteComponent implements ControlValueAccessor, O
41
40
  backspaceClickedOnce: boolean;
42
41
  activeSingle: boolean;
43
42
  optionHighlightedIndex: number;
43
+ private _statusChangesSubscription;
44
44
  constructor(_control: NgControl, _labelByValue: LabelByValuePipe);
45
45
  ngOnInit(): void;
46
46
  ngOnDestroy(): void;
47
- private _toggleOptions;
48
47
  select(option: any, byValue: boolean): void;
49
48
  onOptionClick(option: any, dd: HTMLElement): void;
50
49
  toggleAll(): void;
51
- private _clickOption;
52
- private _checkErrors;
53
50
  onChange: (event: any) => void;
54
51
  onTouched: () => void;
55
52
  registerOnChange(fn: any): void;
56
53
  registerOnTouched(fn: any): void;
57
54
  filterOptions(event: any): void;
58
55
  writeValue(value: any): void;
59
- private updateValue;
60
- private _getValueLabel;
61
56
  clear(dd: HTMLElement, event: any): void;
62
57
  setDisabledState(disabled: boolean): void;
63
58
  onBlur(): void;
59
+ onClickOutside(dd: HTMLElement): void;
60
+ onBoxClick(): void;
61
+ onContainerKeyDown(event: any, dd: HTMLElement): void;
62
+ onInputKeyDown(event: any): void;
63
+ focusInput(): void;
64
+ focus(): void;
65
+ private _toggleOptions;
66
+ private _clickOption;
67
+ private _checkErrors;
68
+ private updateValue;
69
+ private _getValueLabel;
64
70
  private _clearInput;
65
71
  private _closeAndClear;
66
- onClickOutside(dd: HTMLElement): void;
67
72
  private _getHTMLOptions;
68
73
  private _dehighlightOption;
69
74
  private _highlightOption;
70
- onBoxClick(): void;
71
- onContainerKeyDown(event: any, dd: HTMLElement): void;
72
- onInputKeyDown(event: any): void;
73
75
  private _navigateOptionsByArrows;
74
76
  private _confirmInput;
75
77
  private _removeLastValue;
76
- focusInput(): void;
77
- focus(): void;
78
78
  static ɵfac: i0.ɵɵFactoryDeclaration<CpsAutocompleteComponent, [{ optional: true; self: true; }, null]>;
79
79
  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"; "_value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
80
80
  }
@@ -0,0 +1,18 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CpsExpansionPanelComponent implements OnInit {
4
+ headerTitle: string;
5
+ backgroundColor: string;
6
+ showChevron: boolean;
7
+ isExpanded: boolean;
8
+ disabled: boolean;
9
+ bordered: boolean;
10
+ borderRadius: number | string;
11
+ width: number | string;
12
+ afterCollapse: EventEmitter<void>;
13
+ afterExpand: EventEmitter<void>;
14
+ ngOnInit(): void;
15
+ toggleExpansion(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<CpsExpansionPanelComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<CpsExpansionPanelComponent, "cps-expansion-panel", never, { "headerTitle": "headerTitle"; "backgroundColor": "backgroundColor"; "showChevron": "showChevron"; "isExpanded": "isExpanded"; "disabled": "disabled"; "bordered": "bordered"; "borderRadius": "borderRadius"; "width": "width"; }, { "afterCollapse": "afterCollapse"; "afterExpand": "afterExpand"; }, never, ["*"], true, never>;
18
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cps-ui-kit",
3
- "version": "0.12.0",
3
+ "version": "0.14.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "15 - 16",
6
6
  "@angular/core": "15 - 16",
package/public-api.d.ts CHANGED
@@ -8,6 +8,7 @@ export * from './lib/components/cps-radio/cps-radio.component';
8
8
  export * from './lib/components/cps-tag/cps-tag.component';
9
9
  export * from './lib/components/cps-chip/cps-chip.component';
10
10
  export * from './lib/components/cps-loader/cps-loader.component';
11
+ export * from './lib/components/cps-expansion-panel/cps-expansion-panel.component';
11
12
  export * from './lib/components/cps-progress-linear/cps-progress-linear.component';
12
13
  export * from './lib/components/cps-datepicker/cps-datepicker.component';
13
14
  export * from './lib/components/cps-button-toggle/cps-button-toggle.component';