cps-ui-kit 0.140.0 → 0.141.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.
- package/esm2020/lib/components/cps-autocomplete/cps-autocomplete.component.mjs +137 -4
- package/esm2020/lib/components/cps-button/cps-button.component.mjs +55 -2
- package/esm2020/lib/components/cps-button-toggle/cps-button-toggle.component.mjs +63 -2
- package/esm2020/lib/components/cps-checkbox/cps-checkbox.component.mjs +50 -1
- package/esm2020/lib/components/cps-chip/cps-chip.component.mjs +34 -1
- package/esm2020/lib/components/cps-datepicker/cps-datepicker.component.mjs +78 -1
- package/esm2020/lib/components/cps-expansion-panel/cps-expansion-panel.component.mjs +51 -1
- package/esm2020/lib/components/cps-icon/cps-icon.component.mjs +17 -1
- package/esm2020/lib/components/cps-info-circle/cps-info-circle.component.mjs +29 -1
- package/esm2020/lib/components/cps-input/cps-input.component.mjs +131 -1
- package/esm2020/lib/components/cps-loader/cps-loader.component.mjs +21 -1
- package/esm2020/lib/components/cps-menu/cps-menu.component.mjs +58 -2
- package/esm2020/lib/components/cps-paginator/cps-paginator.component.mjs +38 -1
- package/esm2020/lib/components/cps-paginator/pipes/cps-paginate.pipe.mjs +5 -1
- package/esm2020/lib/components/cps-progress-circular/cps-progress-circular.component.mjs +17 -1
- package/esm2020/lib/components/cps-progress-linear/cps-progress-linear.component.mjs +29 -1
- package/esm2020/lib/components/cps-radio-group/cps-radio/cps-radio.component.mjs +5 -1
- package/esm2020/lib/components/cps-radio-group/cps-radio-button/cps-radio-button.component.mjs +18 -1
- package/esm2020/lib/components/cps-radio-group/cps-radio-group.component.mjs +50 -1
- package/esm2020/lib/components/cps-select/cps-select.component.mjs +137 -4
- package/esm2020/lib/components/cps-sidebar-menu/cps-sidebar-menu.component.mjs +21 -1
- package/esm2020/lib/components/cps-tab-group/cps-tab/cps-tab.component.mjs +41 -1
- package/esm2020/lib/components/cps-tab-group/cps-tab-group.component.mjs +32 -2
- package/esm2020/lib/components/cps-table/components/internal/table-column-filter/table-column-filter.component.mjs +67 -3
- package/esm2020/lib/components/cps-table/components/internal/table-column-filter-constraint/table-column-filter-constraint.component.mjs +31 -3
- package/esm2020/lib/components/cps-table/components/internal/table-row-menu/table-row-menu.component.mjs +51 -0
- package/esm2020/lib/components/cps-table/cps-table.component.mjs +312 -8
- package/esm2020/lib/components/cps-table/directives/cps-table-column-filter.directive.mjs +67 -3
- package/esm2020/lib/components/cps-table/directives/cps-table-column-sortable.directive.mjs +9 -1
- package/esm2020/lib/components/cps-table/directives/cps-table-header-selectable.directive.mjs +5 -1
- package/esm2020/lib/components/cps-table/directives/cps-table-row-selectable.directive.mjs +5 -1
- package/esm2020/lib/components/cps-tag/cps-tag.component.mjs +35 -2
- package/esm2020/lib/components/cps-textarea/cps-textarea.component.mjs +101 -1
- package/esm2020/lib/components/cps-tree-autocomplete/cps-tree-autocomplete.component.mjs +17 -1
- package/esm2020/lib/components/cps-tree-select/cps-tree-select.component.mjs +13 -1
- package/esm2020/lib/components/cps-tree-table/cps-tree-table.component.mjs +314 -7
- package/esm2020/lib/components/cps-tree-table/directives/cps-tree-table-column-filter.directive.mjs +63 -3
- package/esm2020/lib/components/cps-tree-table/directives/cps-tree-table-column-sortable.directive.mjs +9 -1
- package/esm2020/lib/components/cps-tree-table/directives/cps-tree-table-header-selectable.directive.mjs +5 -1
- package/esm2020/lib/components/cps-tree-table/directives/cps-tree-table-row-selectable.directive.mjs +5 -1
- package/esm2020/lib/components/cps-tree-table/directives/cps-tree-table-row-toggler.directive.mjs +5 -1
- package/esm2020/lib/components/internal/cps-base-tree-dropdown/cps-base-tree-dropdown.component.mjs +118 -1
- package/esm2020/lib/directives/cps-tooltip.directive.mjs +37 -1
- package/esm2020/lib/services/cps-dialog/cps-dialog.service.mjs +2 -2
- package/fesm2015/cps-ui-kit.mjs +2312 -37
- package/fesm2015/cps-ui-kit.mjs.map +1 -1
- package/fesm2020/cps-ui-kit.mjs +2312 -37
- package/fesm2020/cps-ui-kit.mjs.map +1 -1
- package/lib/components/cps-autocomplete/cps-autocomplete.component.d.ts +133 -0
- package/lib/components/cps-button/cps-button.component.d.ts +53 -0
- package/lib/components/cps-button-toggle/cps-button-toggle.component.d.ts +61 -0
- package/lib/components/cps-checkbox/cps-checkbox.component.d.ts +49 -0
- package/lib/components/cps-chip/cps-chip.component.d.ts +33 -0
- package/lib/components/cps-datepicker/cps-datepicker.component.d.ts +85 -0
- package/lib/components/cps-expansion-panel/cps-expansion-panel.component.d.ts +50 -0
- package/lib/components/cps-icon/cps-icon.component.d.ts +16 -0
- package/lib/components/cps-info-circle/cps-info-circle.component.d.ts +28 -0
- package/lib/components/cps-input/cps-input.component.d.ts +130 -0
- package/lib/components/cps-loader/cps-loader.component.d.ts +20 -0
- package/lib/components/cps-menu/cps-menu.component.d.ts +56 -0
- package/lib/components/cps-paginator/cps-paginator.component.d.ts +37 -0
- package/lib/components/cps-paginator/pipes/cps-paginate.pipe.d.ts +4 -0
- package/lib/components/cps-progress-circular/cps-progress-circular.component.d.ts +16 -0
- package/lib/components/cps-progress-linear/cps-progress-linear.component.d.ts +28 -0
- package/lib/components/cps-radio-group/cps-radio/cps-radio.component.d.ts +8 -0
- package/lib/components/cps-radio-group/cps-radio-button/cps-radio-button.component.d.ts +21 -0
- package/lib/components/cps-radio-group/cps-radio-group.component.d.ts +49 -0
- package/lib/components/cps-select/cps-select.component.d.ts +133 -0
- package/lib/components/cps-sidebar-menu/cps-sidebar-menu.component.d.ts +21 -1
- package/lib/components/cps-tab-group/cps-tab/cps-tab.component.d.ts +40 -0
- package/lib/components/cps-tab-group/cps-tab-group.component.d.ts +30 -0
- package/lib/components/cps-table/components/internal/table-column-filter/table-column-filter.component.d.ts +68 -0
- package/lib/components/cps-table/components/internal/table-column-filter-constraint/table-column-filter-constraint.component.d.ts +36 -0
- package/lib/components/cps-table/{table-row-menu → components/internal/table-row-menu}/table-row-menu.component.d.ts +15 -1
- package/lib/components/cps-table/cps-table.component.d.ts +304 -0
- package/lib/components/cps-table/directives/cps-table-column-filter.directive.d.ts +68 -0
- package/lib/components/cps-table/directives/cps-table-column-sortable.directive.d.ts +8 -0
- package/lib/components/cps-table/directives/cps-table-header-selectable.directive.d.ts +4 -0
- package/lib/components/cps-table/directives/cps-table-row-selectable.directive.d.ts +8 -0
- package/lib/components/cps-tag/cps-tag.component.d.ts +33 -0
- package/lib/components/cps-textarea/cps-textarea.component.d.ts +100 -0
- package/lib/components/cps-tree-autocomplete/cps-tree-autocomplete.component.d.ts +16 -0
- package/lib/components/cps-tree-select/cps-tree-select.component.d.ts +12 -0
- package/lib/components/cps-tree-table/cps-tree-table.component.d.ts +307 -0
- package/lib/components/cps-tree-table/directives/cps-tree-table-column-filter.directive.d.ts +64 -0
- package/lib/components/cps-tree-table/directives/cps-tree-table-column-sortable.directive.d.ts +8 -0
- package/lib/components/cps-tree-table/directives/cps-tree-table-header-selectable.directive.d.ts +4 -0
- package/lib/components/cps-tree-table/directives/cps-tree-table-row-selectable.directive.d.ts +8 -0
- package/lib/components/cps-tree-table/directives/cps-tree-table-row-toggler.directive.d.ts +8 -0
- package/lib/components/internal/cps-base-tree-dropdown/cps-base-tree-dropdown.component.d.ts +117 -0
- package/lib/directives/cps-tooltip.directive.d.ts +40 -0
- package/lib/services/cps-dialog/cps-dialog.service.d.ts +1 -1
- package/package.json +1 -1
- package/esm2020/lib/components/cps-table/table-row-menu/table-row-menu.component.mjs +0 -37
|
@@ -2,24 +2,92 @@ import { ComponentRef, ElementRef, OnDestroy, OnInit, OnChanges, ViewContainerRe
|
|
|
2
2
|
import { CpsColumnFilterCategoryOption, CpsColumnFilterMatchMode, CpsColumnFilterType } from '../cps-column-filter-types';
|
|
3
3
|
import { TableColumnFilterComponent } from '../components/internal/table-column-filter/table-column-filter.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* CpsTableColumnFilterDirective is a filtering directive used to filter single or multiple columns in table.
|
|
7
|
+
* @group Directives
|
|
8
|
+
*/
|
|
5
9
|
export declare class CpsTableColumnFilterDirective implements OnInit, OnChanges, OnDestroy {
|
|
6
10
|
private elementRef;
|
|
7
11
|
private viewContainerRef;
|
|
12
|
+
/**
|
|
13
|
+
* Name of the column to be filtered.
|
|
14
|
+
* @group Props
|
|
15
|
+
*/
|
|
8
16
|
field: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Type of a filter in table, it can be of type "number", "boolean", "text", "date" or "category".
|
|
19
|
+
* @group Props
|
|
20
|
+
*/
|
|
9
21
|
filterType: CpsColumnFilterType;
|
|
22
|
+
/**
|
|
23
|
+
* Whether the filter menu should be persistent.
|
|
24
|
+
* @group Props
|
|
25
|
+
*/
|
|
10
26
|
filterPersistent: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Whether the filter should have clear button.
|
|
29
|
+
* @group Props
|
|
30
|
+
*/
|
|
11
31
|
filterShowClearButton: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Whether the filter should have apply button.
|
|
34
|
+
* @group Props
|
|
35
|
+
*/
|
|
12
36
|
filterShowApplyButton: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Whether the filter should have close button.
|
|
39
|
+
* @group Props
|
|
40
|
+
*/
|
|
13
41
|
filterShowCloseButton: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Whether the filter should have match modes.
|
|
44
|
+
* @group Props
|
|
45
|
+
*/
|
|
14
46
|
filterShowMatchModes: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Match modes for filter.
|
|
49
|
+
* @group Props
|
|
50
|
+
*/
|
|
15
51
|
filterMatchModes: CpsColumnFilterMatchMode[];
|
|
52
|
+
/**
|
|
53
|
+
* Whether the filter should have operator.
|
|
54
|
+
* @group Props
|
|
55
|
+
*/
|
|
16
56
|
filterShowOperator: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Maximum number of constraints.
|
|
59
|
+
* @group Props
|
|
60
|
+
*/
|
|
17
61
|
filterMaxConstraints: number;
|
|
62
|
+
/**
|
|
63
|
+
* Title of the filter.
|
|
64
|
+
* @group Props
|
|
65
|
+
*/
|
|
18
66
|
filterHeaderTitle: string;
|
|
67
|
+
/**
|
|
68
|
+
* Whether the filter should hide on clear.
|
|
69
|
+
* @group Props
|
|
70
|
+
*/
|
|
19
71
|
filterHideOnClear: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Options for category filter.
|
|
74
|
+
* @group Props
|
|
75
|
+
*/
|
|
20
76
|
filterCategoryOptions: CpsColumnFilterCategoryOption[] | string[];
|
|
77
|
+
/**
|
|
78
|
+
* Whether to show category filter as button toggles.
|
|
79
|
+
* @group Props
|
|
80
|
+
*/
|
|
21
81
|
filterAsButtonToggle: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Single selection for category filter.
|
|
84
|
+
* @group Props
|
|
85
|
+
*/
|
|
22
86
|
filterSingleSelection: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Placeholder for filter constraints.
|
|
89
|
+
* @group Props
|
|
90
|
+
*/
|
|
23
91
|
filterPlaceholder: string;
|
|
24
92
|
filterCompRef: ComponentRef<TableColumnFilterComponent>;
|
|
25
93
|
constructor(elementRef: ElementRef, viewContainerRef: ViewContainerRef);
|
|
@@ -2,10 +2,18 @@ import { ComponentRef, ElementRef, OnDestroy, OnInit, ViewContainerRef } from '@
|
|
|
2
2
|
import { SortableColumn, Table } from 'primeng/table';
|
|
3
3
|
import { CpsSortIconComponent } from '../components/internal/cps-sort-icon/cps-sort-icon.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* CpsTableColumnSortableDirective is a sorting directive used to sort single or multiple columns in table.
|
|
7
|
+
* @group Directives
|
|
8
|
+
*/
|
|
5
9
|
export declare class CpsTableColumnSortableDirective extends SortableColumn implements OnInit, OnDestroy {
|
|
6
10
|
private elementRef;
|
|
7
11
|
private viewContainerRef;
|
|
8
12
|
dt: Table;
|
|
13
|
+
/**
|
|
14
|
+
* Name of the column to be sorted.
|
|
15
|
+
* @group Props
|
|
16
|
+
*/
|
|
9
17
|
field: string;
|
|
10
18
|
sortIconRef: ComponentRef<CpsSortIconComponent>;
|
|
11
19
|
constructor(elementRef: ElementRef, viewContainerRef: ViewContainerRef, dt: Table);
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { ComponentRef, ElementRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { TableHeaderCheckbox } from 'primeng/table';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* CpsTableHeaderSelectableDirective is a directive used to apply a checkbox to a header cell.
|
|
6
|
+
* @group Directives
|
|
7
|
+
*/
|
|
4
8
|
export declare class CpsTableHeaderSelectableDirective implements OnInit, OnDestroy {
|
|
5
9
|
private elementRef;
|
|
6
10
|
private viewContainerRef;
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { ComponentRef, ElementRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { TableCheckbox } from 'primeng/table';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* CpsTableRowSelectableDirective is a directive used to apply a checkbox to a body cell.
|
|
6
|
+
* @group Directives
|
|
7
|
+
*/
|
|
4
8
|
export declare class CpsTableRowSelectableDirective implements OnInit, OnDestroy {
|
|
5
9
|
private elementRef;
|
|
6
10
|
private viewContainerRef;
|
|
11
|
+
/**
|
|
12
|
+
* Cell value.
|
|
13
|
+
* @group Props
|
|
14
|
+
*/
|
|
7
15
|
value: any;
|
|
8
16
|
checkboxCompRef: ComponentRef<TableCheckbox>;
|
|
9
17
|
constructor(elementRef: ElementRef, viewContainerRef: ViewContainerRef);
|
|
@@ -1,15 +1,48 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* CpsTagComponent is used to categorize content.
|
|
6
|
+
* @group Components
|
|
7
|
+
*/
|
|
4
8
|
export declare class CpsTagComponent implements ControlValueAccessor, OnChanges {
|
|
5
9
|
private _control;
|
|
10
|
+
/**
|
|
11
|
+
* Type of the tag. It can be security, classification or custom, has higher precedence over color.
|
|
12
|
+
* @group Props
|
|
13
|
+
*/
|
|
6
14
|
type: 'security' | 'classification' | 'custom';
|
|
15
|
+
/**
|
|
16
|
+
* Label of the tag.
|
|
17
|
+
* @group Props
|
|
18
|
+
*/
|
|
7
19
|
label: string;
|
|
20
|
+
/**
|
|
21
|
+
* Color of the tag.
|
|
22
|
+
* @group Props
|
|
23
|
+
*/
|
|
8
24
|
color: string;
|
|
25
|
+
/**
|
|
26
|
+
* Whether the tag should be disabled.
|
|
27
|
+
* @group Props
|
|
28
|
+
*/
|
|
9
29
|
disabled: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Whether the tag should be selectable.
|
|
32
|
+
* @group Props
|
|
33
|
+
*/
|
|
10
34
|
selectable: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Tag value.
|
|
37
|
+
* @group Props
|
|
38
|
+
*/
|
|
11
39
|
set value(value: boolean);
|
|
12
40
|
get value(): boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Callback to invoke on value change.
|
|
43
|
+
* @param {boolean} boolean - value change.
|
|
44
|
+
* @group Emits
|
|
45
|
+
*/
|
|
13
46
|
valueChanged: EventEmitter<boolean>;
|
|
14
47
|
classesList: string[];
|
|
15
48
|
tagColor: string;
|
|
@@ -2,32 +2,132 @@ import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
3
|
import { CpsTooltipPosition } from '../../directives/cps-tooltip.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* CpsTextareaComponent is a textarea component.
|
|
7
|
+
* @group Components
|
|
8
|
+
*/
|
|
5
9
|
export declare class CpsTextareaComponent implements ControlValueAccessor, OnInit, OnDestroy {
|
|
6
10
|
private _control;
|
|
7
11
|
private _elementRef;
|
|
12
|
+
/**
|
|
13
|
+
* Label of the textarea.
|
|
14
|
+
* @group Props
|
|
15
|
+
*/
|
|
8
16
|
label: string;
|
|
17
|
+
/**
|
|
18
|
+
* Placeholder text for the textarea.
|
|
19
|
+
* @group Props
|
|
20
|
+
*/
|
|
9
21
|
placeholder: string;
|
|
22
|
+
/**
|
|
23
|
+
* Number of rows in the textarea.
|
|
24
|
+
* @group Props
|
|
25
|
+
*/
|
|
10
26
|
rows: number;
|
|
27
|
+
/**
|
|
28
|
+
* The cols attribute specifies the visible width of a textarea.
|
|
29
|
+
* @group Props
|
|
30
|
+
*/
|
|
11
31
|
cols: number;
|
|
32
|
+
/**
|
|
33
|
+
* Whether the textarea can auto focus.
|
|
34
|
+
* @group Props
|
|
35
|
+
*/
|
|
12
36
|
autofocus: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Bottom hint text for the textarea.
|
|
39
|
+
* @group Props
|
|
40
|
+
*/
|
|
13
41
|
hint: string;
|
|
42
|
+
/**
|
|
43
|
+
* Whether the textarea is disabled.
|
|
44
|
+
* @group Props
|
|
45
|
+
*/
|
|
14
46
|
disabled: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Width of the textarea, it can be of type number denoting pixels or string.
|
|
49
|
+
* @group Props
|
|
50
|
+
*/
|
|
15
51
|
width: number | string;
|
|
52
|
+
/**
|
|
53
|
+
* When enabled, a clear icon is displayed to clear the value.
|
|
54
|
+
* @group Props
|
|
55
|
+
*/
|
|
16
56
|
clearable: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Hides hint and validation errors.
|
|
59
|
+
* @group Props
|
|
60
|
+
*/
|
|
17
61
|
hideDetails: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Whether the textarea should have persistent clear icon.
|
|
64
|
+
* @group Props
|
|
65
|
+
*/
|
|
18
66
|
persistentClear: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Error message.
|
|
69
|
+
* @group Props
|
|
70
|
+
*/
|
|
19
71
|
error: string;
|
|
72
|
+
/**
|
|
73
|
+
* Whether the component can be resized vertically or not.
|
|
74
|
+
* @group Props
|
|
75
|
+
*/
|
|
20
76
|
resizable: 'vertical' | 'none';
|
|
77
|
+
/**
|
|
78
|
+
* When it is not an empty string, an info icon is displayed to show text for more info.
|
|
79
|
+
* @group Props
|
|
80
|
+
*/
|
|
21
81
|
infoTooltip: string;
|
|
82
|
+
/**
|
|
83
|
+
* Info tooltip class for styling.
|
|
84
|
+
* @group Props
|
|
85
|
+
*/
|
|
22
86
|
infoTooltipClass: string;
|
|
87
|
+
/**
|
|
88
|
+
* Max width of infoTooltip, of type number denoting pixels or string.
|
|
89
|
+
* @group Props
|
|
90
|
+
*/
|
|
23
91
|
infoTooltipMaxWidth: number | string;
|
|
92
|
+
/**
|
|
93
|
+
* Whether the infoTooltip is persistent.
|
|
94
|
+
* @group Props
|
|
95
|
+
*/
|
|
24
96
|
infoTooltipPersistent: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Position of infoTooltip, it can be 'top', 'bottom', 'left' or 'right'.
|
|
99
|
+
* @group Props
|
|
100
|
+
*/
|
|
25
101
|
infoTooltipPosition: CpsTooltipPosition;
|
|
102
|
+
/**
|
|
103
|
+
* Value of the textarea.
|
|
104
|
+
* @group Props
|
|
105
|
+
*/
|
|
26
106
|
set value(value: string);
|
|
27
107
|
get value(): string;
|
|
108
|
+
/**
|
|
109
|
+
* Callback to invoke on value change.
|
|
110
|
+
* @param {string} string - value changed.
|
|
111
|
+
* @group Emits
|
|
112
|
+
*/
|
|
28
113
|
valueChanged: EventEmitter<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Callback to invoke when the component receives focus.
|
|
116
|
+
* @param {any}
|
|
117
|
+
* @group Emits
|
|
118
|
+
*/
|
|
29
119
|
focused: EventEmitter<any>;
|
|
120
|
+
/**
|
|
121
|
+
* Callback to invoke when the prefixIcon is clicked.
|
|
122
|
+
* @param {any}
|
|
123
|
+
* @group Emits
|
|
124
|
+
*/
|
|
30
125
|
prefixIconClicked: EventEmitter<any>;
|
|
126
|
+
/**
|
|
127
|
+
* Callback to invoke when the component loses focus.
|
|
128
|
+
* @param {any}
|
|
129
|
+
* @group Emits
|
|
130
|
+
*/
|
|
31
131
|
blurred: EventEmitter<any>;
|
|
32
132
|
private _statusChangesSubscription;
|
|
33
133
|
private _value;
|
|
@@ -4,11 +4,27 @@ import { TreeNode } from 'primeng/api';
|
|
|
4
4
|
import { CpsBaseTreeDropdownComponent } from '../internal/cps-base-tree-dropdown/cps-base-tree-dropdown.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export type CpsTreeAutocompleteAppearanceType = 'outlined' | 'underlined' | 'borderless';
|
|
7
|
+
/**
|
|
8
|
+
* CpsTreeAutocompleteComponent allows to choose items from hierarchical data dropdown and provides real-time suggestions when being typed.
|
|
9
|
+
* @group Components
|
|
10
|
+
*/
|
|
7
11
|
export declare class CpsTreeAutocompleteComponent extends CpsBaseTreeDropdownComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
8
12
|
control: NgControl;
|
|
9
13
|
cdRef: ChangeDetectorRef;
|
|
14
|
+
/**
|
|
15
|
+
* Message if array of items is empty.
|
|
16
|
+
* @group Props
|
|
17
|
+
*/
|
|
10
18
|
emptyMessage: string;
|
|
19
|
+
/**
|
|
20
|
+
* Styling appearance of tree autocomplete, it can be 'outlined', 'underlined' or 'borderless'.
|
|
21
|
+
* @group Props
|
|
22
|
+
*/
|
|
11
23
|
appearance: CpsTreeAutocompleteAppearanceType;
|
|
24
|
+
/**
|
|
25
|
+
* Placeholder text.
|
|
26
|
+
* @group Props
|
|
27
|
+
*/
|
|
12
28
|
placeholder: string;
|
|
13
29
|
inputText: string;
|
|
14
30
|
backspaceClickedOnce: boolean;
|
|
@@ -3,10 +3,22 @@ import { NgControl } from '@angular/forms';
|
|
|
3
3
|
import { CpsBaseTreeDropdownComponent } from '../internal/cps-base-tree-dropdown/cps-base-tree-dropdown.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export type CpsTreeSelectAppearanceType = 'outlined' | 'underlined' | 'borderless';
|
|
6
|
+
/**
|
|
7
|
+
* CpsTreeSelectComponent allows to select items from hierarchical data dropdown.
|
|
8
|
+
* @group Components
|
|
9
|
+
*/
|
|
6
10
|
export declare class CpsTreeSelectComponent extends CpsBaseTreeDropdownComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
7
11
|
control: NgControl;
|
|
8
12
|
cdRef: ChangeDetectorRef;
|
|
13
|
+
/**
|
|
14
|
+
* Styling appearance of tree select, it can be "outlined", "underlined" or "borderless".
|
|
15
|
+
* @group Props
|
|
16
|
+
*/
|
|
9
17
|
appearance: CpsTreeSelectAppearanceType;
|
|
18
|
+
/**
|
|
19
|
+
* Placeholder text.
|
|
20
|
+
* @group Props
|
|
21
|
+
*/
|
|
10
22
|
placeholder: string;
|
|
11
23
|
constructor(control: NgControl, cdRef: ChangeDetectorRef);
|
|
12
24
|
ngOnInit(): void;
|