cps-ui-kit 19.4.0 → 20.0.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 (80) hide show
  1. package/assets/icons.svg +6 -0
  2. package/fesm2022/cps-ui-kit.mjs +736 -740
  3. package/fesm2022/cps-ui-kit.mjs.map +1 -1
  4. package/index.d.ts +5547 -3
  5. package/package.json +8 -6
  6. package/styles/styles.scss +6 -5
  7. package/lib/components/cps-autocomplete/cps-autocomplete.component.d.ts +0 -332
  8. package/lib/components/cps-button/cps-button.component.d.ts +0 -89
  9. package/lib/components/cps-button-toggle/cps-button-toggle.component.d.ts +0 -111
  10. package/lib/components/cps-checkbox/cps-checkbox.component.d.ts +0 -86
  11. package/lib/components/cps-chip/cps-chip.component.d.ts +0 -51
  12. package/lib/components/cps-datepicker/cps-datepicker.component.d.ts +0 -158
  13. package/lib/components/cps-divider/cps-divider.component.d.ts +0 -39
  14. package/lib/components/cps-expansion-panel/cps-expansion-panel.component.d.ts +0 -86
  15. package/lib/components/cps-file-upload/cps-file-upload.component.d.ts +0 -79
  16. package/lib/components/cps-icon/cps-icon.component.d.ts +0 -44
  17. package/lib/components/cps-info-circle/cps-info-circle.component.d.ts +0 -41
  18. package/lib/components/cps-input/cps-input.component.d.ts +0 -206
  19. package/lib/components/cps-loader/cps-loader.component.d.ts +0 -34
  20. package/lib/components/cps-menu/cps-menu.component.d.ts +0 -179
  21. package/lib/components/cps-paginator/cps-paginator.component.d.ts +0 -62
  22. package/lib/components/cps-paginator/pipes/cps-paginate.pipe.d.ts +0 -14
  23. package/lib/components/cps-progress-circular/cps-progress-circular.component.d.ts +0 -28
  24. package/lib/components/cps-progress-linear/cps-progress-linear.component.d.ts +0 -43
  25. package/lib/components/cps-radio-group/cps-radio/cps-radio.component.d.ts +0 -21
  26. package/lib/components/cps-radio-group/cps-radio-button/cps-radio-button.component.d.ts +0 -49
  27. package/lib/components/cps-radio-group/cps-radio-group.component.d.ts +0 -120
  28. package/lib/components/cps-scheduler/cps-scheduler.component.d.ts +0 -151
  29. package/lib/components/cps-scheduler/cps-scheduler.utils.d.ts +0 -1
  30. package/lib/components/cps-select/cps-select.component.d.ts +0 -260
  31. package/lib/components/cps-sidebar-menu/cps-sidebar-menu.component.d.ts +0 -51
  32. package/lib/components/cps-switch/cps-switch.component.d.ts +0 -73
  33. package/lib/components/cps-tab-group/cps-tab/cps-tab.component.d.ts +0 -57
  34. package/lib/components/cps-tab-group/cps-tab-group.component.d.ts +0 -124
  35. package/lib/components/cps-table/components/internal/cps-sort-icon/cps-sort-icon.component.d.ts +0 -24
  36. package/lib/components/cps-table/components/internal/table-column-filter/table-column-filter.component.d.ts +0 -140
  37. package/lib/components/cps-table/components/internal/table-column-filter-constraint/table-column-filter-constraint.component.d.ts +0 -67
  38. package/lib/components/cps-table/components/internal/table-row-menu/table-row-menu.component.d.ts +0 -46
  39. package/lib/components/cps-table/cps-column-filter-types.d.ts +0 -42
  40. package/lib/components/cps-table/cps-table.component.d.ts +0 -561
  41. package/lib/components/cps-table/directives/cps-table-column-filter.directive.d.ts +0 -103
  42. package/lib/components/cps-table/directives/cps-table-column-resizable.directive.d.ts +0 -15
  43. package/lib/components/cps-table/directives/cps-table-column-sortable.directive.d.ts +0 -24
  44. package/lib/components/cps-table/directives/cps-table-header-selectable.directive.d.ts +0 -17
  45. package/lib/components/cps-table/directives/cps-table-row-selectable.directive.d.ts +0 -22
  46. package/lib/components/cps-table/directives/internal/table-unsort.directive.d.ts +0 -13
  47. package/lib/components/cps-table/pipes/cps-table-detect-filter-type.pipe.d.ts +0 -10
  48. package/lib/components/cps-tag/cps-tag.component.d.ts +0 -58
  49. package/lib/components/cps-textarea/cps-textarea.component.d.ts +0 -154
  50. package/lib/components/cps-timepicker/cps-timepicker.component.d.ts +0 -156
  51. package/lib/components/cps-tree-autocomplete/cps-tree-autocomplete.component.d.ts +0 -65
  52. package/lib/components/cps-tree-select/cps-tree-select.component.d.ts +0 -36
  53. package/lib/components/cps-tree-table/cps-tree-table.component.d.ts +0 -587
  54. package/lib/components/cps-tree-table/directives/cps-tree-table-column-filter.directive.d.ts +0 -98
  55. package/lib/components/cps-tree-table/directives/cps-tree-table-column-resizable.directive.d.ts +0 -15
  56. package/lib/components/cps-tree-table/directives/cps-tree-table-column-sortable.directive.d.ts +0 -24
  57. package/lib/components/cps-tree-table/directives/cps-tree-table-header-selectable.directive.d.ts +0 -17
  58. package/lib/components/cps-tree-table/directives/cps-tree-table-row-selectable.directive.d.ts +0 -22
  59. package/lib/components/cps-tree-table/directives/cps-tree-table-row-toggler.directive.d.ts +0 -23
  60. package/lib/components/cps-tree-table/directives/internal/tree-table-unsort.directive.d.ts +0 -15
  61. package/lib/components/cps-tree-table/pipes/cps-tree-table-detect-filter-type.pipe.d.ts +0 -12
  62. package/lib/components/internal/cps-base-tree-dropdown/cps-base-tree-dropdown.component.d.ts +0 -237
  63. package/lib/directives/cps-tooltip/cps-tooltip.directive.d.ts +0 -91
  64. package/lib/pipes/internal/check-option-selected.pipe.d.ts +0 -7
  65. package/lib/pipes/internal/combine-labels.pipe.d.ts +0 -7
  66. package/lib/pipes/internal/label-by-value.pipe.d.ts +0 -7
  67. package/lib/services/cps-dialog/cps-dialog.service.d.ts +0 -47
  68. package/lib/services/cps-dialog/internal/components/cps-confirmation/cps-confirmation.component.d.ts +0 -12
  69. package/lib/services/cps-dialog/internal/components/cps-dialog/cps-dialog.component.d.ts +0 -93
  70. package/lib/services/cps-dialog/internal/directives/cps-dialog-content.directive.d.ts +0 -8
  71. package/lib/services/cps-dialog/utils/cps-dialog-config.d.ts +0 -155
  72. package/lib/services/cps-dialog/utils/cps-dialog-ref.d.ts +0 -101
  73. package/lib/services/cps-notification/cps-notification.service.d.ts +0 -56
  74. package/lib/services/cps-notification/internal/components/cps-notification-container/cps-notification-container.component.d.ts +0 -39
  75. package/lib/services/cps-notification/internal/components/cps-toast/cps-toast.component.d.ts +0 -28
  76. package/lib/services/cps-notification/utils/cps-notification-config.d.ts +0 -60
  77. package/lib/services/cps-notification/utils/internal/cps-notification-data.d.ts +0 -26
  78. package/lib/utils/colors-utils.d.ts +0 -3
  79. package/lib/utils/internal/size-utils.d.ts +0 -5
  80. package/public-api.d.ts +0 -54
@@ -1,15 +0,0 @@
1
- import { TTResizableColumn } from 'primeng/treetable';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * CpsTreeTableColumnResizableDirective is a directive to enable column resizing in a treetable.
5
- * @group Directives
6
- */
7
- export declare class CpsTreeTableColumnResizableDirective extends TTResizableColumn {
8
- /**
9
- * Whether the column resizing should be disabled.
10
- * @group Props
11
- */
12
- ttResizableColumnDisabled: boolean | undefined;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsTreeTableColumnResizableDirective, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<CpsTreeTableColumnResizableDirective, "[cpsTTColResizable]", never, { "ttResizableColumnDisabled": { "alias": "cpsTTColResizableDisabled"; "required": false; }; }, {}, never, never, true, never>;
15
- }
@@ -1,24 +0,0 @@
1
- import { ComponentRef, ElementRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
2
- import { TTSortableColumn, TreeTable } from 'primeng/treetable';
3
- import { CpsSortIconComponent } from '../../cps-table/components/internal/cps-sort-icon/cps-sort-icon.component';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * CpsTreeTableColumnSortableDirective is a sorting directive used to sort single or multiple columns in treetable.
7
- * @group Directives
8
- */
9
- export declare class CpsTreeTableColumnSortableDirective extends TTSortableColumn implements OnInit, OnDestroy {
10
- private elementRef;
11
- private viewContainerRef;
12
- tt: TreeTable;
13
- /**
14
- * Name of the column to be sorted.
15
- * @group Props
16
- */
17
- field: string;
18
- sortIconRef: ComponentRef<CpsSortIconComponent>;
19
- constructor(elementRef: ElementRef, viewContainerRef: ViewContainerRef, tt: TreeTable);
20
- ngOnInit(): void;
21
- ngOnDestroy(): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsTreeTableColumnSortableDirective, never>;
23
- static ɵdir: i0.ɵɵDirectiveDeclaration<CpsTreeTableColumnSortableDirective, "[cpsTTColSortable]", never, { "field": { "alias": "cpsTTColSortable"; "required": false; }; }, {}, never, never, true, never>;
24
- }
@@ -1,17 +0,0 @@
1
- import { ComponentRef, ElementRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
2
- import { TTHeaderCheckbox } from 'primeng/treetable';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * CpsTreeTableHeaderSelectableDirective is a directive used to apply a checkbox to a header cell.
6
- * @group Directives
7
- */
8
- export declare class CpsTreeTableHeaderSelectableDirective implements OnInit, OnDestroy {
9
- private elementRef;
10
- private viewContainerRef;
11
- checkboxCompRef: ComponentRef<TTHeaderCheckbox>;
12
- constructor(elementRef: ElementRef, viewContainerRef: ViewContainerRef);
13
- ngOnInit(): void;
14
- ngOnDestroy(): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsTreeTableHeaderSelectableDirective, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<CpsTreeTableHeaderSelectableDirective, "[cpsTTHdrSelectable]", never, {}, {}, never, never, true, never>;
17
- }
@@ -1,22 +0,0 @@
1
- import { ComponentRef, ElementRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
2
- import { TTCheckbox } from 'primeng/treetable';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * CpsTreeTableRowSelectableDirective is a directive used to apply a checkbox to a body cell.
6
- * @group Directives
7
- */
8
- export declare class CpsTreeTableRowSelectableDirective implements OnInit, OnDestroy {
9
- private elementRef;
10
- private viewContainerRef;
11
- /**
12
- * Cell value.
13
- * @group Props
14
- */
15
- value: any;
16
- checkboxCompRef: ComponentRef<TTCheckbox>;
17
- constructor(elementRef: ElementRef, viewContainerRef: ViewContainerRef);
18
- ngOnInit(): void;
19
- ngOnDestroy(): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsTreeTableRowSelectableDirective, never>;
21
- static ɵdir: i0.ɵɵDirectiveDeclaration<CpsTreeTableRowSelectableDirective, "[cpsTTRowSelectable]", never, { "value": { "alias": "cpsTTRowSelectable"; "required": false; }; }, {}, never, never, true, never>;
22
- }
@@ -1,23 +0,0 @@
1
- import { ComponentRef, ElementRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
2
- import { TreeTableToggler } from 'primeng/treetable';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * CpsTreetableRowTogglerDirective is a directive used to apply a chevron toggler icon to a body cell.
6
- * @group Directives
7
- */
8
- export declare class CpsTreetableRowTogglerDirective implements OnInit, OnDestroy {
9
- private elementRef;
10
- private document;
11
- private viewContainerRef;
12
- /**
13
- * Cell value.
14
- * @group Props
15
- */
16
- rowNode: any;
17
- togglerCompRef: ComponentRef<TreeTableToggler>;
18
- constructor(elementRef: ElementRef, document: Document, viewContainerRef: ViewContainerRef);
19
- ngOnInit(): void;
20
- ngOnDestroy(): void;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsTreetableRowTogglerDirective, never>;
22
- static ɵdir: i0.ɵɵDirectiveDeclaration<CpsTreetableRowTogglerDirective, "[cpsTTRowToggler]", never, { "rowNode": { "alias": "cpsTTRowToggler"; "required": false; }; }, {}, never, never, true, never>;
23
- }
@@ -1,15 +0,0 @@
1
- import { TreeTable } from 'primeng/treetable';
2
- import * as i0 from "@angular/core";
3
- export declare class TreeTableUnsortDirective {
4
- pTreeTable: TreeTable;
5
- constructor(pTreeTable: TreeTable);
6
- sort(pTreeTable: TreeTable): void;
7
- sortNodes(pTreeTable: TreeTable): void;
8
- sortMultipleNodes(pTreeTable: TreeTable): void;
9
- multisortField(pTreeTable: TreeTable): void;
10
- filter(pTreeTable: TreeTable): void;
11
- findFilteredNodes(pTreeTable: TreeTable): void;
12
- private _syncNodesParams;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<TreeTableUnsortDirective, [{ optional: true; host: true; self: true; }]>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<TreeTableUnsortDirective, "[ttWithUnsort]", never, {}, {}, never, never, true, never>;
15
- }
@@ -1,12 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { CpsColumnFilterType } from '../../cps-table/cps-column-filter-types';
3
- import * as i0 from "@angular/core";
4
- export declare class CpsTreeTableDetectFilterTypePipe implements PipeTransform {
5
- transform(nodes: {
6
- data: {
7
- [key: string]: unknown;
8
- };
9
- }[], column: string): CpsColumnFilterType;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsTreeTableDetectFilterTypePipe, never>;
11
- static ɵpipe: i0.ɵɵPipeDeclaration<CpsTreeTableDetectFilterTypePipe, "cpsTTDetectFilterType", true>;
12
- }
@@ -1,237 +0,0 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
- import { ControlValueAccessor, NgControl } from '@angular/forms';
3
- import { TreeNode } from 'primeng/api';
4
- import { Tree } from 'primeng/tree';
5
- import { IconType, iconSizeType } from '../../cps-icon/cps-icon.component';
6
- import { CpsTooltipPosition } from '../../../directives/cps-tooltip/cps-tooltip.directive';
7
- import { CpsMenuComponent } from '../../cps-menu/cps-menu.component';
8
- import * as i0 from "@angular/core";
9
- /**
10
- * BaseTreeDropdownComponent is an internal base component to support hierarchical data dropdown.
11
- * @group Components
12
- */
13
- export declare class CpsBaseTreeDropdownComponent implements ControlValueAccessor, OnInit, OnChanges, AfterViewInit, OnDestroy {
14
- control: NgControl;
15
- cdRef: ChangeDetectorRef;
16
- /**
17
- * Label of the component.
18
- * @group Props
19
- */
20
- label: string;
21
- /**
22
- * Bottom hint text.
23
- * @group Props
24
- */
25
- hint: string;
26
- /**
27
- * Specifies if multiple values can be selected.
28
- * @group Props
29
- */
30
- multiple: boolean;
31
- /**
32
- * Determines whether the component is disabled.
33
- * @group Props
34
- */
35
- disabled: boolean;
36
- /**
37
- * Width of the component, of type number denoting pixels or string.
38
- * @group Props
39
- */
40
- width: number | string;
41
- /**
42
- * When selecting an element, it will appear in a form of a chip.
43
- * @group Props
44
- */
45
- chips: boolean;
46
- /**
47
- * Determines whether the chips can be directly removed.
48
- * @group Props
49
- */
50
- closableChips: boolean;
51
- /**
52
- * When enabled, a clear icon is displayed to clear the value.
53
- * @group Props
54
- */
55
- clearable: boolean;
56
- /**
57
- * Determines whether the dropdown should open on clear.
58
- * @group Props
59
- */
60
- openOnClear: boolean;
61
- /**
62
- * Name of the label field of an option.
63
- * @group Props
64
- */
65
- optionLabel: string;
66
- /**
67
- * Name of the info field of an option, shows the additional information text.
68
- * @group Props
69
- */
70
- optionInfo: string;
71
- /**
72
- * Options for hiding details.
73
- * @group Props
74
- */
75
- hideDetails: boolean;
76
- /**
77
- * Determines whether the component should have persistent clear icon.
78
- * @group Props
79
- */
80
- persistentClear: boolean;
81
- /**
82
- * Icon before input value.
83
- * @group Props
84
- */
85
- prefixIcon: IconType;
86
- /**
87
- * Size of icon before input value, of type number, string, 'fill', 'xsmall', 'small', 'normal' or 'large'.
88
- * @group Props
89
- */
90
- prefixIconSize: iconSizeType;
91
- /**
92
- * When enabled, a loading bar is displayed.
93
- * @group Props
94
- */
95
- loading: boolean;
96
- /**
97
- * Determines whether only the elements within scrollable area should be added into the DOM.
98
- * @group Props
99
- */
100
- virtualScroll: boolean;
101
- /**
102
- * Determines how many additional elements to add to the DOM outside of the view.
103
- * @group Props
104
- */
105
- numToleratedItems: number;
106
- /**
107
- * When it is not an empty string, an info icon is displayed to show text for more info.
108
- * @group Props
109
- */
110
- infoTooltip: string;
111
- /**
112
- * Info tooltip class for styling.
113
- * @group Props
114
- */
115
- infoTooltipClass: string;
116
- /**
117
- * Max width of infoTooltip of type number denoting pixels or string.
118
- * @group Props
119
- */
120
- infoTooltipMaxWidth: number | string;
121
- /**
122
- * Determines whether the infoTooltip is persistent.
123
- * @group Props
124
- */
125
- infoTooltipPersistent: boolean;
126
- /**
127
- * Position of infoTooltip, it can be 'top', 'bottom', 'left' or 'right'.
128
- * @group Props
129
- */
130
- infoTooltipPosition: CpsTooltipPosition;
131
- /**
132
- * When set, it expands all directiories initially.
133
- * @group Props
134
- */
135
- initialExpandDirectories: boolean;
136
- /**
137
- * When set, it expands all options initially.
138
- * @group Props
139
- */
140
- initialExpandAll: boolean;
141
- /**
142
- * Determines whether the chevron icon should be displayed.
143
- * @group Props
144
- */
145
- showChevron: boolean;
146
- /**
147
- * An array of objects to display as the available options.
148
- * @group Props
149
- */
150
- options: any[];
151
- /**
152
- * Value of the component.
153
- * @group Props
154
- */
155
- _value: any;
156
- set value(value: any);
157
- get value(): any;
158
- /**
159
- * Callback to invoke on value change.
160
- * @param {any} any - value changed.
161
- * @group Emits
162
- */
163
- valueChanged: EventEmitter<any>;
164
- /**
165
- * Callback to invoke when the component receives focus.
166
- * @param {any}
167
- * @group Emits
168
- */
169
- focused: EventEmitter<any>;
170
- /**
171
- * Callback to invoke when the component loses focus.
172
- * @param {any}
173
- * @group Emits
174
- */
175
- blurred: EventEmitter<any>;
176
- componentContainer: ElementRef;
177
- optionsMenu: CpsMenuComponent;
178
- treeList: Tree;
179
- boxEl: ElementRef;
180
- private _statusChangesSubscription?;
181
- innerOptions: TreeNode[];
182
- optionsMap: Map<string, TreeNode<any>>;
183
- originalOptionsMap: Map<string, any>;
184
- virtualListHeight: number;
185
- virtualScrollItemSize: number;
186
- error: string;
187
- cvtWidth: string;
188
- isOpened: boolean;
189
- optionFocused: boolean;
190
- isAutocomplete: boolean;
191
- treeContainerElement: HTMLElement;
192
- treeSelection: any;
193
- boxWidth: number;
194
- resizeObserver: ResizeObserver;
195
- constructor(control: NgControl, cdRef: ChangeDetectorRef);
196
- ngOnInit(): void;
197
- ngOnChanges(changes: SimpleChanges): void;
198
- ngAfterViewInit(): void;
199
- ngOnDestroy(): void;
200
- expandAll(): void;
201
- collapseAll(): void;
202
- onChange: (event: any) => void;
203
- onTouched: () => void;
204
- registerOnChange(fn: any): void;
205
- registerOnTouched(fn: any): void;
206
- writeValue(value: any, internal?: boolean): void;
207
- setDisabledState(disabled: boolean): void;
208
- onBlur(): void;
209
- onFocus(): void;
210
- focus(): void;
211
- updateValue(value: any): void;
212
- clear(event?: any): void;
213
- onSelectNode(): void;
214
- onClickFullyExpandable(elem: HTMLElement): void;
215
- treeSelectionChanged(selection: any): void;
216
- recalcVirtualListHeight(): void;
217
- toggleOptions(show?: boolean): void;
218
- remove(option: TreeNode): void;
219
- initArrowsNavigaton(): void;
220
- onNodeExpand(event: any): void;
221
- onNodeCollapse(event: any): void;
222
- treeSelectionToValue(selection: any): any;
223
- updateOptions(): void;
224
- private _initContainerClickListener;
225
- private _handleOnContainerClick;
226
- private _getHTMLElementKey;
227
- private _setTreeListHeight;
228
- private _nodeToggled;
229
- private _nodeToggledWithChevron;
230
- private _checkErrors;
231
- private _expandToNodes;
232
- private _toInnerOptions;
233
- private _buildOptionsMap;
234
- private _valueToTreeSelection;
235
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsBaseTreeDropdownComponent, [{ optional: true; self: true; }, null]>;
236
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsBaseTreeDropdownComponent, "ng-component", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "width": { "alias": "width"; "required": false; }; "chips": { "alias": "chips"; "required": false; }; "closableChips": { "alias": "closableChips"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "openOnClear": { "alias": "openOnClear"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionInfo": { "alias": "optionInfo"; "required": false; }; "hideDetails": { "alias": "hideDetails"; "required": false; }; "persistentClear": { "alias": "persistentClear"; "required": false; }; "prefixIcon": { "alias": "prefixIcon"; "required": false; }; "prefixIconSize": { "alias": "prefixIconSize"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "numToleratedItems": { "alias": "numToleratedItems"; "required": false; }; "infoTooltip": { "alias": "infoTooltip"; "required": false; }; "infoTooltipClass": { "alias": "infoTooltipClass"; "required": false; }; "infoTooltipMaxWidth": { "alias": "infoTooltipMaxWidth"; "required": false; }; "infoTooltipPersistent": { "alias": "infoTooltipPersistent"; "required": false; }; "infoTooltipPosition": { "alias": "infoTooltipPosition"; "required": false; }; "initialExpandDirectories": { "alias": "initialExpandDirectories"; "required": false; }; "initialExpandAll": { "alias": "initialExpandAll"; "required": false; }; "showChevron": { "alias": "showChevron"; "required": false; }; "options": { "alias": "options"; "required": false; }; "_value": { "alias": "value"; "required": false; }; }, { "valueChanged": "valueChanged"; "focused": "focused"; "blurred": "blurred"; }, never, never, false, never>;
237
- }
@@ -1,91 +0,0 @@
1
- import { OnDestroy } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * CpsTooltipPosition is used to define the position of the tooltip.
5
- * @group Types
6
- */
7
- export type CpsTooltipPosition = 'top' | 'bottom' | 'left' | 'right';
8
- /**
9
- * CpsTooltipOpenOn is used to define the event on which the tooltip should open.
10
- * @group Types
11
- */
12
- export type CpsTooltipOpenOn = 'hover' | 'click' | 'focus';
13
- /**
14
- * CpsTooltipDirective provides advisory information for a target element.
15
- * @group Components
16
- */
17
- export declare class CpsTooltipDirective implements OnDestroy {
18
- /**
19
- * Tooltip text or html to show.
20
- * @group Props
21
- */
22
- tooltip: string;
23
- /**
24
- * Delay to show the tooltip in milliseconds, it can be of type string or number.
25
- * @group Props
26
- */
27
- tooltipOpenDelay: string | number;
28
- /**
29
- * Delay to hide the tooltip in milliseconds, it can be of type string or number.
30
- * @group Props
31
- */
32
- tooltipCloseDelay: string | number;
33
- /**
34
- * Determines whether the tooltip should open on hover, click or focus.
35
- * @group Props
36
- */
37
- tooltipOpenOn: CpsTooltipOpenOn;
38
- /**
39
- * Position of the tooltip, it can be 'top', 'bottom', 'left' or 'right'.
40
- * @group Props
41
- */
42
- tooltipPosition: CpsTooltipPosition;
43
- /**
44
- * Determines whether the tooltip is persistent.
45
- * @group Props
46
- */
47
- tooltipPersistent: boolean;
48
- /**
49
- * When present, it specifies that the tooltip should be disabled.
50
- * @group Props
51
- */
52
- tooltipDisabled: boolean;
53
- /**
54
- * Max width of the tooltip of type number denoting pixels or string.
55
- * @group Props
56
- */
57
- tooltipMaxWidth: number | string;
58
- /**
59
- * Tooltip content class for styling.
60
- * @group Props
61
- */
62
- tooltipContentClass: string;
63
- /**
64
- * Tooltip offset for styling.
65
- * @group Props
66
- */
67
- tooltipOffset: number;
68
- private _popup?;
69
- private _showTimeout?;
70
- private _hideTimeout?;
71
- private window;
72
- private _elementRef;
73
- private _document;
74
- private _domSanitizer;
75
- constructor();
76
- ngOnDestroy(): void;
77
- private _createTooltip;
78
- private _destroyTooltip;
79
- private _constructElement;
80
- private _getCoords;
81
- private _getCoordsForPosition;
82
- onMouseEnter(): void;
83
- onMouseLeave(): void;
84
- onFocus(): void;
85
- onBlur(): void;
86
- onClick(): void;
87
- onDocumentClick(target: any): void;
88
- onPageResize(event: Event): void;
89
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsTooltipDirective, never>;
90
- static ɵdir: i0.ɵɵDirectiveDeclaration<CpsTooltipDirective, "[cpsTooltip]", never, { "tooltip": { "alias": "cpsTooltip"; "required": false; }; "tooltipOpenDelay": { "alias": "tooltipOpenDelay"; "required": false; }; "tooltipCloseDelay": { "alias": "tooltipCloseDelay"; "required": false; }; "tooltipOpenOn": { "alias": "tooltipOpenOn"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "tooltipPersistent": { "alias": "tooltipPersistent"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "tooltipMaxWidth": { "alias": "tooltipMaxWidth"; "required": false; }; "tooltipContentClass": { "alias": "tooltipContentClass"; "required": false; }; "tooltipOffset": { "alias": "tooltipOffset"; "required": false; }; }, {}, never, never, true, never>;
91
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class CheckOptionSelectedPipe implements PipeTransform {
4
- transform(option: any, value: any, multiple: boolean, returnObject: boolean, optionValue: string): boolean;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<CheckOptionSelectedPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<CheckOptionSelectedPipe, "checkOptionSelected", true>;
7
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class CombineLabelsPipe implements PipeTransform {
4
- transform(values: any[], options: any[], valueKey: string, labelKey: string, returnObject: boolean): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<CombineLabelsPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<CombineLabelsPipe, "combineLabels", true>;
7
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class LabelByValuePipe implements PipeTransform {
4
- transform(value: any, options: any[], valueKey: string, labelKey: string): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<LabelByValuePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<LabelByValuePipe, "labelByValue", true>;
7
- }
@@ -1,47 +0,0 @@
1
- import { Type, ComponentRef, ApplicationRef, EnvironmentInjector, Injector, OnDestroy } from '@angular/core';
2
- import { CpsDialogRef } from './utils/cps-dialog-ref';
3
- import { CpsDialogConfig } from './utils/cps-dialog-config';
4
- import { CpsDialogComponent } from './internal/components/cps-dialog/cps-dialog.component';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * Service for showing CpsDialog.
8
- * @group Services
9
- */
10
- export declare class CpsDialogService implements OnDestroy {
11
- private _appRef;
12
- private _environmentInjector;
13
- private _injector;
14
- private document;
15
- private _parentDialogService;
16
- get openDialogs(): CpsDialogRef<any>[];
17
- dialogComponentRefMap: Map<CpsDialogRef, ComponentRef<CpsDialogComponent>>;
18
- private _openDialogsAtThisLevel;
19
- constructor(_appRef: ApplicationRef, _environmentInjector: EnvironmentInjector, _injector: Injector, document: Document, _parentDialogService: CpsDialogService);
20
- /**
21
- * Opens a dialog with a dynamically loaded component.
22
- * @param {*} componentType - Dynamic component for content template.
23
- * @param {CpsDialogConfig} config - CpsDialogConfig object.
24
- * @returns {CpsDialogRef} CpsDialogRef instance.
25
- * @group Method
26
- */
27
- open(componentType: Type<any>, config: CpsDialogConfig): CpsDialogRef;
28
- /**
29
- * Opens a confirmation dialog.
30
- * @param {CpsDialogConfig} config - CpsDialogConfig object.
31
- * @returns {CpsDialogRef} CpsDialogRef instance.
32
- * @group Method
33
- */
34
- openConfirmationDialog(config: CpsDialogConfig): CpsDialogRef;
35
- /**
36
- * Closes all dialogs.
37
- * @param {boolean} [force=false] - If true closes all dialogs even if they have disableClose set to true.
38
- * @group Method
39
- */
40
- closeAll(force?: boolean): void;
41
- private appendDialogComponentToBody;
42
- private removeDialogComponentFromBody;
43
- ngOnDestroy(): void;
44
- private _reverseForEach;
45
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsDialogService, [null, null, null, null, { optional: true; skipSelf: true; }]>;
46
- static ɵprov: i0.ɵɵInjectableDeclaration<CpsDialogService>;
47
- }
@@ -1,12 +0,0 @@
1
- import { CpsDialogRef } from '../../../utils/cps-dialog-ref';
2
- import { CpsDialogConfig } from '../../../utils/cps-dialog-config';
3
- import * as i0 from "@angular/core";
4
- export declare class CpsConfirmationComponent {
5
- private _dialogRef;
6
- private _config;
7
- subtitle: string;
8
- constructor(_dialogRef: CpsDialogRef, _config: CpsDialogConfig);
9
- close(confirm: boolean): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsConfirmationComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsConfirmationComponent, "cps-confirmation", never, {}, {}, never, never, true, never>;
12
- }
@@ -1,93 +0,0 @@
1
- import { AnimationEvent } from '@angular/animations';
2
- import { AfterViewInit, ChangeDetectorRef, ComponentRef, ElementRef, EventEmitter, NgZone, OnDestroy, Renderer2, Type } from '@angular/core';
3
- import { CpsDialogContentDirective } from '../../directives/cps-dialog-content.directive';
4
- import { CpsDialogConfig } from '../../../utils/cps-dialog-config';
5
- import { CpsDialogRef } from '../../../utils/cps-dialog-ref';
6
- import { PrimeNG } from 'primeng/config';
7
- import * as i0 from "@angular/core";
8
- type Nullable<T = void> = T | null | undefined;
9
- type VoidListener = () => void | null | undefined;
10
- export declare class CpsDialogComponent implements AfterViewInit, OnDestroy {
11
- private document;
12
- private platformId;
13
- private _dialogRef;
14
- private _cdRef;
15
- renderer: Renderer2;
16
- config: CpsDialogConfig;
17
- zone: NgZone;
18
- primeNG: PrimeNG;
19
- visible: boolean;
20
- componentRef: Nullable<ComponentRef<any>>;
21
- resizing: boolean | undefined;
22
- dragging: boolean | undefined;
23
- maximized: boolean | undefined;
24
- _style: any;
25
- originalStyle: any;
26
- lastPageX: number | undefined;
27
- lastPageY: number | undefined;
28
- insertionPoint: Nullable<CpsDialogContentDirective>;
29
- maskViewChild: Nullable<ElementRef>;
30
- contentViewChild: Nullable<ElementRef>;
31
- headerViewChild: Nullable<ElementRef>;
32
- childComponentType: Nullable<Type<any>>;
33
- container: Nullable<HTMLDivElement>;
34
- wrapper: Nullable<HTMLElement>;
35
- documentEscapeListener: VoidListener | null;
36
- maskClickListener: VoidListener | null;
37
- transformOptions: string;
38
- documentResizeListener: VoidListener | null;
39
- documentResizeEndListener: VoidListener | null;
40
- documentDragListener: VoidListener | null;
41
- documentDragEndListener: VoidListener | null;
42
- _openStateChanged: EventEmitter<void>;
43
- _dragStarted: EventEmitter<MouseEvent>;
44
- _dragEnded: EventEmitter<MouseEvent>;
45
- _resizeStarted: EventEmitter<MouseEvent>;
46
- _resizeEnded: EventEmitter<MouseEvent>;
47
- _maximizedStateChanged: EventEmitter<boolean>;
48
- get minX(): number;
49
- get minY(): number;
50
- get keepInViewport(): boolean;
51
- get maximizable(): boolean;
52
- get draggable(): boolean;
53
- get resizable(): boolean;
54
- get style(): any;
55
- set style(value: any);
56
- get position(): string;
57
- get parent(): Element | undefined;
58
- constructor(document: Document, platformId: any, _dialogRef: CpsDialogRef, _cdRef: ChangeDetectorRef, renderer: Renderer2, config: CpsDialogConfig, zone: NgZone, primeNG: PrimeNG);
59
- ngAfterViewInit(): void;
60
- loadChildComponent(componentType: Type<any>): void;
61
- moveOnTop(): void;
62
- onAnimationStart(event: AnimationEvent): void;
63
- onAnimationEnd(event: AnimationEvent): void;
64
- onContainerDestroy(): void;
65
- close(): void;
66
- hide(): void;
67
- enableModality(): void;
68
- disableModality(): void;
69
- focus(): void;
70
- toggleMaximized(value?: boolean): void;
71
- initResize(event: MouseEvent): void;
72
- onResize(event: MouseEvent): void;
73
- resizeEnd(event: MouseEvent): void;
74
- initDrag(event: MouseEvent): void;
75
- onDrag(event: MouseEvent): void;
76
- endDrag(event: MouseEvent): void;
77
- resetPosition(): void;
78
- bindDocumentDragListener(): void;
79
- bindDocumentDragEndListener(): void;
80
- unbindDocumentDragEndListener(): void;
81
- unbindDocumentDragListener(): void;
82
- bindDocumentResizeListeners(): void;
83
- unbindDocumentResizeListeners(): void;
84
- bindGlobalListeners(): void;
85
- unbindGlobalListeners(): void;
86
- bindDocumentEscapeListener(): void;
87
- unbindDocumentEscapeListener(): void;
88
- unbindMaskClickListener(): void;
89
- ngOnDestroy(): void;
90
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsDialogComponent, never>;
91
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsDialogComponent, "cps-dialog", never, {}, {}, never, never, true, never>;
92
- }
93
- export {};
@@ -1,8 +0,0 @@
1
- import { ViewContainerRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class CpsDialogContentDirective {
4
- viewContainerRef: ViewContainerRef;
5
- constructor(viewContainerRef: ViewContainerRef);
6
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsDialogContentDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<CpsDialogContentDirective, "[cpsDialogContent]", never, {}, {}, never, never, true, never>;
8
- }