cps-ui-kit 19.3.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 +562 -565
  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 -90
  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,51 +0,0 @@
1
- import { EventEmitter, OnChanges } from '@angular/core';
2
- import { IconType } from '../cps-icon/cps-icon.component';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * CpsChipComponent represents a chip element.
6
- * @group Components
7
- */
8
- export declare class CpsChipComponent implements OnChanges {
9
- /**
10
- * Label of the chip element.
11
- * @group Props
12
- */
13
- label: string;
14
- /**
15
- * Name of the icon.
16
- * @group Props
17
- */
18
- icon: IconType;
19
- /**
20
- * Color of the icon.
21
- * @group Props
22
- */
23
- iconColor: string;
24
- /**
25
- * Position of the icon, it can be 'before' or 'after'.
26
- * @group Props
27
- */
28
- iconPosition: 'before' | 'after';
29
- /**
30
- * Option for closing a chip element.
31
- * @group Props
32
- */
33
- closable: boolean;
34
- /**
35
- * Determines whether chip is disabled.
36
- * @group Props
37
- */
38
- disabled: boolean;
39
- /**
40
- * Callback to invoke on chip close.
41
- * @param {string} string - Chip closed.
42
- * @group Emits
43
- */
44
- closed: EventEmitter<string>;
45
- classesList: string[];
46
- ngOnChanges(): void;
47
- setClasses(): void;
48
- onCloseClick(event: any): void;
49
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsChipComponent, never>;
50
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsChipComponent, "cps-chip", never, { "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "closed": "closed"; }, never, never, true, never>;
51
- }
@@ -1,158 +0,0 @@
1
- import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
- import { ControlValueAccessor, NgControl } from '@angular/forms';
3
- import { CpsInputComponent } from '../cps-input/cps-input.component';
4
- import { CpsTooltipPosition } from '../../directives/cps-tooltip/cps-tooltip.directive';
5
- import { CpsMenuComponent } from '../cps-menu/cps-menu.component';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * CpsDatepickerAppearanceType is used to define the border of the datepicker input.
9
- * @group Types
10
- */
11
- export type CpsDatepickerAppearanceType = 'outlined' | 'underlined' | 'borderless';
12
- /**
13
- * CpsDatepickerComponent is an input component to provide date input.
14
- * @group Components
15
- */
16
- export declare class CpsDatepickerComponent implements ControlValueAccessor, OnInit, OnDestroy {
17
- private _control;
18
- /**
19
- * Label of the datepicker element.
20
- * @group Props
21
- */
22
- label: string;
23
- /**
24
- * Determines whether datepicker is disabled.
25
- * @group Props
26
- */
27
- disabled: boolean;
28
- /**
29
- * Width of the datepicker of type number denoting pixels or string.
30
- * @group Props
31
- */
32
- width: number | string;
33
- /**
34
- * Placeholder text.
35
- * @group Props
36
- */
37
- placeholder: string;
38
- /**
39
- * Bottom hint text for the input field.
40
- * @group Props
41
- */
42
- hint: string;
43
- /**
44
- * When enabled, a clear icon is displayed to clear the value.
45
- * @group Props
46
- */
47
- clearable: boolean;
48
- /**
49
- * Hides hint and validation errors.
50
- * @group Props
51
- */
52
- hideDetails: boolean;
53
- /**
54
- * Determines whether the component should have persistent clear icon.
55
- * @group Props
56
- */
57
- persistentClear: boolean;
58
- /**
59
- * Determines whether to show button to be able to select today's date.
60
- * @group Props
61
- */
62
- showTodayButton: boolean;
63
- /**
64
- * Determines whether the datepicker dropdown should open on input focus.
65
- * @group Props
66
- */
67
- openOnInputFocus: boolean;
68
- /**
69
- * When it is not an empty string, an info icon is displayed to show text for more info.
70
- * @group Props
71
- */
72
- infoTooltip: string;
73
- /**
74
- * InfoTooltip class for styling.
75
- * @group Props
76
- */
77
- infoTooltipClass: string;
78
- /**
79
- * Size of infoTooltip, of type number denoting pixels or string.
80
- * @group Props
81
- */
82
- infoTooltipMaxWidth: number | string;
83
- /**
84
- * Determines whether the infoTooltip is persistent.
85
- * @group Props
86
- */
87
- infoTooltipPersistent: boolean;
88
- /**
89
- * Position of infoTooltip, it can be "top", "bottom", "left" or "right".
90
- * @group Props
91
- */
92
- infoTooltipPosition: CpsTooltipPosition;
93
- /**
94
- * Styling appearance of datepicker input, it can be 'outlined', 'underlined' or 'borderless.
95
- * @group Props
96
- */
97
- appearance: CpsDatepickerAppearanceType;
98
- /**
99
- * Minimal date availalbe for selection.
100
- * @group Props
101
- */
102
- minDate: Date;
103
- /**
104
- * Maximal date availalbe for selection.
105
- * @group Props
106
- */
107
- maxDate: Date;
108
- /**
109
- * Value of the datepicker.
110
- * @default null
111
- * @group Props
112
- */
113
- set value(value: Date | null);
114
- get value(): Date | null;
115
- /**
116
- * Callback to invoke on value change.
117
- * @param {Date | null} value - value change.
118
- * @group Emits
119
- */
120
- valueChanged: EventEmitter<Date | null>;
121
- datepickerInput: CpsInputComponent;
122
- calendarMenu: CpsMenuComponent;
123
- stringDate: string;
124
- isOpened: boolean;
125
- error: string;
126
- cvtWidth: string;
127
- private _statusChangesSubscription?;
128
- private _value;
129
- constructor(_control: NgControl);
130
- ngOnInit(): void;
131
- ngOnDestroy(): void;
132
- onChange: (event: any) => void;
133
- onTouched: () => void;
134
- registerOnChange(fn: any): void;
135
- registerOnTouched(fn: any): void;
136
- onInputValueChanged(val: string): void;
137
- writeValue(value: Date | null): void;
138
- private _updateValue;
139
- private _updateValueFromInputString;
140
- private _checkDateFormat;
141
- private _checkDateInRange;
142
- private _dateToString;
143
- private _stringToDate;
144
- private _checkErrors;
145
- onClearCalendarDate(): void;
146
- onSelectCalendarDate(dateVal: Date | null): void;
147
- onInputBlur(): void;
148
- onInputFocus(): void;
149
- onInputEnterClicked(): void;
150
- onClickCalendarIcon(): void;
151
- onBeforeCalendarHidden(): void;
152
- onInputClear(): void;
153
- onCalendarContentClick(): void;
154
- focusInput(): void;
155
- toggleCalendar(show?: boolean): void;
156
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsDatepickerComponent, [{ optional: true; self: true; }]>;
157
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsDatepickerComponent, "cps-datepicker", never, { "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "width": { "alias": "width"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "hideDetails": { "alias": "hideDetails"; "required": false; }; "persistentClear": { "alias": "persistentClear"; "required": false; }; "showTodayButton": { "alias": "showTodayButton"; "required": false; }; "openOnInputFocus": { "alias": "openOnInputFocus"; "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; }; "appearance": { "alias": "appearance"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
158
- }
@@ -1,39 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * CpsDividerType is used to define the type of the divider.
4
- * @group Types
5
- */
6
- export type CpsDividerType = 'solid' | 'dashed' | 'dotted';
7
- /**
8
- * CpsDividerComponent is a component that can be used to separate content.
9
- * @group Components
10
- */
11
- export declare class CpsDividerComponent {
12
- private document;
13
- /**
14
- * Determines whether the divider is vertically aligned.
15
- * @group Props
16
- */
17
- vertical: import("@angular/core").InputSignal<boolean>;
18
- /**
19
- * Color of the divider.
20
- * @group Props
21
- */
22
- color: import("@angular/core").InputSignal<string>;
23
- /**
24
- * Type of the divider.
25
- * @group Props
26
- */
27
- type: import("@angular/core").InputSignal<CpsDividerType>;
28
- /**
29
- * Thickness of the divider, a number denoting pixels or a string.
30
- * @group Props
31
- */
32
- thickness: import("@angular/core").InputSignal<string | number>;
33
- constructor(document: Document);
34
- private _borderTop;
35
- private _borderRight;
36
- private _constructBorder;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsDividerComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsDividerComponent, "cps-divider", never, { "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "thickness": { "alias": "thickness"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
39
- }
@@ -1,86 +0,0 @@
1
- import { AfterViewInit, ElementRef, EventEmitter, OnInit, Renderer2 } from '@angular/core';
2
- import { IconType } from '../cps-icon/cps-icon.component';
3
- import { AnimationBuilder } from '@angular/animations';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * CpsExpansionPanelComponent is a component that provides content on expansion.
7
- * @group Components
8
- */
9
- export declare class CpsExpansionPanelComponent implements OnInit, AfterViewInit {
10
- private _animationBuilder;
11
- private document;
12
- private _renderer;
13
- /**
14
- * Title of the expansionPanel element.
15
- * @group Props
16
- */
17
- headerTitle: string;
18
- /**
19
- * Background color of the expansion panel element.
20
- * @group Props
21
- */
22
- backgroundColor: string;
23
- /**
24
- * Determines whether to show the chevron icon.
25
- * @group Props
26
- */
27
- showChevron: boolean;
28
- /**
29
- * Indicates current expansion state.
30
- * @group Props
31
- */
32
- isExpanded: boolean;
33
- /**
34
- * Determines whether expansion panel is disabled.
35
- * @group Props
36
- */
37
- disabled: boolean;
38
- /**
39
- * If true, expansion panel element will have borders.
40
- * @group Props
41
- */
42
- bordered: boolean;
43
- /**
44
- * The border radius of the component.
45
- * @group Props
46
- */
47
- borderRadius: number | string;
48
- /**
49
- * Border color of the expansion panel.
50
- * @group Props
51
- */
52
- borderColor: string;
53
- /**
54
- * The width of the expansion panel of type number denoting pixels or string.
55
- * @group Props
56
- */
57
- width: number | string;
58
- /**
59
- * Name of the icon in front of the title.
60
- * @group Props
61
- */
62
- prefixIcon: IconType;
63
- /**
64
- * Callback to invoke after a tab gets collapsed.
65
- * @param {void}
66
- * @group Emits
67
- */
68
- afterCollapse: EventEmitter<void>;
69
- /**
70
- * Callback to invoke after a tab gets expanded.
71
- * @param {void}
72
- * @group Emits
73
- */
74
- afterExpand: EventEmitter<void>;
75
- panelContentElem: ElementRef;
76
- private _contentExpandAnimation;
77
- private _contentCollapseAnimation;
78
- private _contentAnimationPlayer;
79
- constructor(_animationBuilder: AnimationBuilder, document: Document, _renderer: Renderer2);
80
- ngOnInit(): void;
81
- ngAfterViewInit(): void;
82
- toggleExpansion(): void;
83
- private _updateContentVisibilityStyles;
84
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsExpansionPanelComponent, never>;
85
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsExpansionPanelComponent, "cps-expansion-panel", never, { "headerTitle": { "alias": "headerTitle"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "showChevron": { "alias": "showChevron"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "bordered": { "alias": "bordered"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "width": { "alias": "width"; "required": false; }; "prefixIcon": { "alias": "prefixIcon"; "required": false; }; }, { "afterCollapse": "afterCollapse"; "afterExpand": "afterExpand"; }, never, ["*"], true, never>;
86
- }
@@ -1,79 +0,0 @@
1
- import { ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import { CpsTooltipPosition } from '../../directives/cps-tooltip/cps-tooltip.directive';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * CpsFileUploadComponent is an advanced uploader with dragdrop support.
7
- * @group Components
8
- */
9
- export declare class CpsFileUploadComponent implements OnInit, OnChanges {
10
- /**
11
- * Expected extensions of a file to be uploaded. E.g. 'doc or .doc'.
12
- * @group Props
13
- */
14
- extensions: string[];
15
- /**
16
- * Expected file description. E.g. 'Word document'.
17
- * @group Props
18
- */
19
- fileDesc: string;
20
- /**
21
- * Width of the component, a number denoting pixels or a string.
22
- * @group Props
23
- */
24
- width: number | string;
25
- /**
26
- * Expected file info block, explaining some extra stuff about file.
27
- * @group Props
28
- */
29
- fileInfo: string;
30
- /**
31
- * Callback for uploaded file processing.
32
- * @group Props
33
- */
34
- fileProcessingCallback?: (file: File) => Observable<boolean>;
35
- /**
36
- * Position of file name tooltip, it can be 'top', 'bottom', 'left' or 'right'.
37
- * @group Props
38
- */
39
- fileNameTooltipPosition: CpsTooltipPosition;
40
- /**
41
- * File name tooltip offset for styling.
42
- * @group Props
43
- */
44
- fileNameTooltipOffset: number;
45
- /**
46
- * Callback to invoke when file is uploaded.
47
- * @param {File} File
48
- * @group Emits
49
- */
50
- fileUploaded: EventEmitter<File>;
51
- /**
52
- * Callback to invoke when file upload fails.
53
- * @param {string} - file name
54
- * @group Emits
55
- */
56
- fileUploadFailed: EventEmitter<string>;
57
- /**
58
- * Callback to invoke when uploaded file is removed.
59
- * @param {string} - file name
60
- * @group Emits
61
- */
62
- uploadedFileRemoved: EventEmitter<string>;
63
- fileInput?: ElementRef<HTMLInputElement>;
64
- isDragoverFile: boolean;
65
- uploadedFile?: File;
66
- extensionsString: string;
67
- extensionsStringAsterisks: string;
68
- cvtWidth: string;
69
- isProcessingFile: boolean;
70
- ngOnInit(): void;
71
- ngOnChanges(changes: SimpleChanges): void;
72
- updateExtensionsString(): void;
73
- tryUploadFile(event: Event): void;
74
- removeUploadedFile(): void;
75
- private _isFileExtensionValid;
76
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsFileUploadComponent, never>;
77
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsFileUploadComponent, "cps-file-upload", never, { "extensions": { "alias": "extensions"; "required": false; }; "fileDesc": { "alias": "fileDesc"; "required": false; }; "width": { "alias": "width"; "required": false; }; "fileInfo": { "alias": "fileInfo"; "required": false; }; "fileProcessingCallback": { "alias": "fileProcessingCallback"; "required": false; }; "fileNameTooltipPosition": { "alias": "fileNameTooltipPosition"; "required": false; }; "fileNameTooltipOffset": { "alias": "fileNameTooltipOffset"; "required": false; }; }, { "fileUploaded": "fileUploaded"; "fileUploadFailed": "fileUploadFailed"; "uploadedFileRemoved": "uploadedFileRemoved"; }, never, never, true, never>;
78
- static ngAcceptInputType_fileNameTooltipOffset: unknown;
79
- }
@@ -1,44 +0,0 @@
1
- import { OnChanges } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare const iconNames: string[];
4
- /**
5
- * IconType is used to define the type of the icon.
6
- * @group Types
7
- */
8
- export type IconType = (typeof iconNames)[number];
9
- /**
10
- * iconSizeType is used to define the size of the icon.
11
- * @group Types
12
- */
13
- export type iconSizeType = number | string | 'fill' | 'xsmall' | 'small' | 'normal' | 'large';
14
- /**
15
- * CpsIconComponent is a component that is used for icons.
16
- * @group Components
17
- */
18
- export declare class CpsIconComponent implements OnChanges {
19
- private document;
20
- /**
21
- * Name of the icon.
22
- * @group Props
23
- */
24
- icon: IconType;
25
- /**
26
- * Size of the icon, it can be of type number denoting pixels, string or 'fill', 'xsmall', 'small', 'normal' or 'large'.
27
- * @group Props
28
- */
29
- size: iconSizeType;
30
- /**
31
- * Color of the icon.
32
- * @group Props
33
- */
34
- color: string;
35
- iconColor: string;
36
- url: string;
37
- cvtSize: string;
38
- classesList: string[];
39
- constructor(document: Document);
40
- ngOnChanges(): void;
41
- setClasses(): void;
42
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsIconComponent, never>;
43
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsIconComponent, "cps-icon", never, { "icon": { "alias": "icon"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
44
- }
@@ -1,41 +0,0 @@
1
- import { iconSizeType } from '../cps-icon/cps-icon.component';
2
- import { CpsTooltipPosition } from '../../directives/cps-tooltip/cps-tooltip.directive';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * CpsInfoCircleComponent is a component that provides information by means of the info icon with the tooltip on hover.
6
- * @group Components
7
- */
8
- export declare class CpsInfoCircleComponent {
9
- /**
10
- * Size of the icon, it can be of type number denoting pixels, string or 'fill', 'xsmall', 'small', 'normal' or 'large'.
11
- * @group Props
12
- */
13
- size: iconSizeType;
14
- /**
15
- * Tooltip text to provide more info.
16
- * @group Props
17
- */
18
- tooltipText: string;
19
- /**
20
- * Position of the tooltip, it can be 'top', 'bottom', 'left' or 'right'.
21
- * @group Props
22
- */
23
- tooltipPosition: CpsTooltipPosition;
24
- /**
25
- * Info tooltip class for styling.
26
- * @group Props
27
- */
28
- tooltipContentClass: string;
29
- /**
30
- * Max width of the tooltip of type number denoting pixels or string.
31
- * @group Props
32
- */
33
- tooltipMaxWidth: number | string;
34
- /**
35
- * Determines whether the tooltip is persistent.
36
- * @group Props
37
- */
38
- tooltipPersistent: boolean;
39
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsInfoCircleComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsInfoCircleComponent, "cps-info-circle", never, { "size": { "alias": "size"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "tooltipContentClass": { "alias": "tooltipContentClass"; "required": false; }; "tooltipMaxWidth": { "alias": "tooltipMaxWidth"; "required": false; }; "tooltipPersistent": { "alias": "tooltipPersistent"; "required": false; }; }, {}, never, never, true, never>;
41
- }