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,206 +0,0 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
- import { ControlValueAccessor, NgControl } from '@angular/forms';
3
- import { IconType, iconSizeType } from '../cps-icon/cps-icon.component';
4
- import { CpsTooltipPosition } from '../../directives/cps-tooltip/cps-tooltip.directive';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * CpsInputAppearanceType is used to define the border of the input field.
8
- * @group Types
9
- */
10
- export type CpsInputAppearanceType = 'outlined' | 'underlined' | 'borderless';
11
- /**
12
- * CpsInputComponent is used to enter values in a certain formats such as numeric, text or password.
13
- * @group Components
14
- */
15
- export declare class CpsInputComponent implements ControlValueAccessor, OnInit, AfterViewInit, OnDestroy {
16
- private _control;
17
- elementRef: ElementRef<HTMLElement>;
18
- private cdRef;
19
- /**
20
- * Label of the input element.
21
- * @group Props
22
- */
23
- label: string;
24
- /**
25
- * Bottom hint text for the input field.
26
- * @group Props
27
- */
28
- hint: string;
29
- /**
30
- * Placeholder text for the input field.
31
- * @group Props
32
- */
33
- placeholder: string;
34
- /**
35
- * Determines whether input is disabled.
36
- * @group Props
37
- */
38
- disabled: boolean;
39
- /**
40
- * Determines whether input is readonly.
41
- * @group Props
42
- */
43
- readonly: boolean;
44
- /**
45
- * Width of the input field, of type number denoting pixels or string.
46
- * @group Props
47
- */
48
- width: number | string;
49
- /**
50
- * Type of the input of type 'text', 'number' or 'password'.
51
- * @group Props
52
- */
53
- type: 'text' | 'number' | 'password';
54
- /**
55
- * When enabled, a loading bar is displayed.
56
- * @group Props
57
- */
58
- loading: boolean;
59
- /**
60
- * When enabled, a clear icon is displayed to clear the value.
61
- * @group Props
62
- */
63
- clearable: boolean;
64
- /**
65
- * Icon before input value.
66
- * @group Props
67
- */
68
- prefixIcon: IconType;
69
- /**
70
- * When enabled, prefixIcon is clickable.
71
- * @group Props
72
- */
73
- prefixIconClickable: boolean;
74
- /**
75
- * Size of icon before input value.
76
- * @group Props
77
- */
78
- prefixIconSize: iconSizeType;
79
- /**
80
- * Text before input value.
81
- * @group Props
82
- */
83
- prefixText: string;
84
- /**
85
- * Hides hint and validation errors.
86
- * @group Props
87
- */
88
- hideDetails: boolean;
89
- /**
90
- * Determines whether the component should have persistent clear icon.
91
- * @group Props
92
- */
93
- persistentClear: boolean;
94
- /**
95
- * Error message.
96
- * @group Props
97
- */
98
- error: string;
99
- /**
100
- * When it is not an empty string, an info icon is displayed to show text for more info.
101
- * @group Props
102
- */
103
- infoTooltip: string;
104
- /**
105
- * InfoTooltip class for styling.
106
- * @group Props
107
- */
108
- infoTooltipClass: string;
109
- /**
110
- * Max width of infoTooltip, of type number denoting pixels or string.
111
- * @group Props
112
- */
113
- infoTooltipMaxWidth: number | string;
114
- /**
115
- * Determines whether the infoTooltip is persistent.
116
- * @group Props
117
- */
118
- infoTooltipPersistent: boolean;
119
- /**
120
- * Position of infoTooltip, it can be 'top', 'bottom', 'left' or 'right'.
121
- * @group Props
122
- */
123
- infoTooltipPosition: CpsTooltipPosition;
124
- /**
125
- * Styling appearance of input field, it can be "outlined" or "underlined" or "borderless".
126
- * @group Props
127
- */
128
- appearance: CpsInputAppearanceType;
129
- /**
130
- * Readonly value to display inside of input field.
131
- * @group Props
132
- */
133
- valueToDisplay: string;
134
- /**
135
- * Value of the input.
136
- * @default ''
137
- * @group Props
138
- */
139
- set value(value: string);
140
- get value(): string;
141
- /**
142
- * Callback to invoke on value change.
143
- * @param {string} string - value changed.
144
- * @group Emits
145
- */
146
- valueChanged: EventEmitter<string>;
147
- /**
148
- * Callback to invoke when the component receives focus.
149
- * @param {any}
150
- * @group Emits
151
- */
152
- focused: EventEmitter<any>;
153
- /**
154
- * Callback to invoke when the prefix icon is clicked.
155
- * @param {any}
156
- * @group Emits
157
- */
158
- prefixIconClicked: EventEmitter<any>;
159
- /**
160
- * Callback to invoke when the component loses focus.
161
- * @param {any}
162
- * @group Emits
163
- */
164
- blurred: EventEmitter<any>;
165
- /**
166
- * Callback to invoke when x icon is clicked.
167
- * @param {any}
168
- * @group Emits
169
- */
170
- cleared: EventEmitter<any>;
171
- /**
172
- * Callback to invoke when enter is clicked.
173
- * @param {any}
174
- * @group Emits
175
- */
176
- enterClicked: EventEmitter<any>;
177
- prefixTextSpan: ElementRef | undefined;
178
- currentType: string;
179
- prefixWidth: string;
180
- cvtWidth: string;
181
- private _statusChangesSubscription?;
182
- private _value;
183
- constructor(_control: NgControl, elementRef: ElementRef<HTMLElement>, cdRef: ChangeDetectorRef);
184
- ngOnInit(): void;
185
- ngAfterViewInit(): void;
186
- ngOnDestroy(): void;
187
- private _checkErrors;
188
- onChange: (event: any) => void;
189
- onTouched: () => void;
190
- onInputEnterKeyDown(): void;
191
- registerOnChange(fn: any): void;
192
- registerOnTouched(fn: any): void;
193
- writeValue(value: string): void;
194
- updateValueEvent(event: any): void;
195
- private _updateValue;
196
- onClear(): void;
197
- clear(): void;
198
- togglePassword(): void;
199
- setDisabledState(disabled: boolean): void;
200
- onClickPrefixIcon(): void;
201
- onBlur(): void;
202
- onFocus(): void;
203
- focus(): void;
204
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsInputComponent, [{ optional: true; self: true; }, null, null]>;
205
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsInputComponent, "cps-input", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "width": { "alias": "width"; "required": false; }; "type": { "alias": "type"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "prefixIcon": { "alias": "prefixIcon"; "required": false; }; "prefixIconClickable": { "alias": "prefixIconClickable"; "required": false; }; "prefixIconSize": { "alias": "prefixIconSize"; "required": false; }; "prefixText": { "alias": "prefixText"; "required": false; }; "hideDetails": { "alias": "hideDetails"; "required": false; }; "persistentClear": { "alias": "persistentClear"; "required": false; }; "error": { "alias": "error"; "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; }; "valueToDisplay": { "alias": "valueToDisplay"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChanged": "valueChanged"; "focused": "focused"; "prefixIconClicked": "prefixIconClicked"; "blurred": "blurred"; "cleared": "cleared"; "enterClicked": "enterClicked"; }, never, never, true, never>;
206
- }
@@ -1,34 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * CpsLoaderComponent is a fetch data indicator.
5
- * @group Components
6
- */
7
- export declare class CpsLoaderComponent implements OnInit {
8
- private document;
9
- /**
10
- * Option for loader component to take up the whole screen.
11
- * @group Props
12
- */
13
- fullScreen: boolean;
14
- /**
15
- * Option to control the opacity of the loader component.
16
- * @group Props
17
- */
18
- opacity: number | string;
19
- /**
20
- * Color of the label.
21
- * @group Props
22
- */
23
- labelColor: string;
24
- /**
25
- * Determines whether to show 'Loading...' label.
26
- * @group Props
27
- */
28
- showLabel: boolean;
29
- backgroundColor: string;
30
- constructor(document: Document);
31
- ngOnInit(): void;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsLoaderComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsLoaderComponent, "cps-loader", never, { "fullScreen": { "alias": "fullScreen"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; "labelColor": { "alias": "labelColor"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; }, {}, never, never, true, never>;
34
- }
@@ -1,179 +0,0 @@
1
- import { AnimationEvent } from '@angular/animations';
2
- import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, Renderer2, SimpleChanges } from '@angular/core';
3
- import { OverlayService } from 'primeng/api';
4
- import { ConnectedOverlayScrollHandler } from 'primeng/dom';
5
- import { Subscription } from 'rxjs';
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
- /**
11
- * CpsMenuItem is used to define the items of the CpsMenuComponent.
12
- * @group Types
13
- */
14
- export type CpsMenuItem = {
15
- title?: string;
16
- action?: (event?: any) => void;
17
- icon?: string;
18
- desc?: string;
19
- url?: string;
20
- target?: string;
21
- disabled?: boolean;
22
- loading?: boolean;
23
- };
24
- /**
25
- * An enumeration of the different reasons for hiding the menu.
26
- * @group Enums
27
- */
28
- export declare enum CpsMenuHideReason {
29
- FORCED = "forced",
30
- TOGGLE = "toggle",
31
- CLICK_ITEM = "click-item",
32
- CLICK_OUTSIDE = "click-outside",
33
- KEYDOWN_ESCAPE = "keydown-escape",
34
- SCROLL = "scroll",
35
- RESIZE = "resize",
36
- TARGET_NOT_CONNECTED = "target-not-connected"
37
- }
38
- /**
39
- * CpsMenuAttachPosition is used to define attachment position of the CpsMenuComponent.
40
- * @group Types
41
- */
42
- export type CpsMenuAttachPosition = 'tr' | 'br' | 'tl' | 'bl' | 'default';
43
- /**
44
- * CpsMenuComponent is a popup element, that contains menu items or arbitrary content.
45
- * @group Components
46
- */
47
- export declare class CpsMenuComponent implements AfterViewInit, OnDestroy, OnChanges {
48
- private document;
49
- private platformId;
50
- el: ElementRef;
51
- renderer: Renderer2;
52
- cd: ChangeDetectorRef;
53
- private zone;
54
- primeNG: PrimeNG;
55
- overlayService: OverlayService;
56
- /**
57
- * Header title of the menu.
58
- * @group Props
59
- */
60
- header: string;
61
- /**
62
- * An array of menu items.
63
- * @group Props
64
- */
65
- items: CpsMenuItem[];
66
- /**
67
- * Determines whether to include top pointing arrow on the menu.
68
- * @group Props
69
- */
70
- withArrow: boolean;
71
- /**
72
- * Menu with prepared-colored items, without header and items description.
73
- * @group Props
74
- */
75
- compressed: boolean;
76
- /**
77
- * Determines whether the menu should show on target element focus.
78
- * @group Props
79
- */
80
- focusOnShow: boolean;
81
- /**
82
- * Determines whether the menu should be persistent.
83
- * @group Props
84
- */
85
- persistent: boolean;
86
- /**
87
- * Styling class of the menu container.
88
- * @group Props
89
- */
90
- containerClass: string;
91
- /**
92
- * Transition options of the show animation.
93
- * @group Props
94
- */
95
- showTransitionOptions: string;
96
- /**
97
- * Transition options of the hide animation.
98
- * @group Props
99
- */
100
- hideTransitionOptions: string;
101
- /**
102
- * Callback to invoke when menu is shown.
103
- * @group Emits
104
- */
105
- menuShown: EventEmitter<any>;
106
- /**
107
- * Callback to invoke when menu is hidden.
108
- * @param {CpsMenuHideReason} CpsMenuHideReason - reason for hiding the menu.
109
- * @group Emits
110
- */
111
- menuHidden: EventEmitter<CpsMenuHideReason>;
112
- /**
113
- * Callback to invoke before menu is hidden.
114
- * @param {CpsMenuHideReason} CpsMenuHideReason - reason for hiding the menu.
115
- * @group Emits
116
- */
117
- beforeMenuHidden: EventEmitter<CpsMenuHideReason>;
118
- /**
119
- * Callback to invoke when content is clicked.
120
- * @group Emits
121
- */
122
- contentClicked: EventEmitter<any>;
123
- withIcons: boolean;
124
- autoZIndex: boolean;
125
- baseZIndex: number;
126
- dismissable: boolean;
127
- container: Nullable<HTMLDivElement>;
128
- overlayVisible: boolean;
129
- render: boolean;
130
- isOverlayAnimationInProgress: boolean;
131
- selfClick: boolean;
132
- target: any;
133
- scrollHandler: Nullable<ConnectedOverlayScrollHandler>;
134
- position: CpsMenuAttachPosition;
135
- documentResizeListener: VoidListener | null;
136
- overlayEventListener: Nullable<(event?: any) => void>;
137
- documentClickListener: VoidListener | null;
138
- documentKeydownListener: VoidListener | null;
139
- destroyCallback: Nullable<Function>;
140
- overlaySubscription: Subscription | undefined;
141
- resizeObserver: ResizeObserver;
142
- itemsClasses: string[];
143
- hideReason: CpsMenuHideReason | undefined;
144
- private window;
145
- constructor(document: Document, platformId: any, el: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef, zone: NgZone, primeNG: PrimeNG, overlayService: OverlayService);
146
- ngOnChanges(changes: SimpleChanges): void;
147
- ngAfterViewInit(): void;
148
- private _setItemsClasses;
149
- toggle(event?: any, target?: any, pos?: CpsMenuAttachPosition): void;
150
- show(event?: any, target?: any, pos?: CpsMenuAttachPosition): void;
151
- hide(reason?: CpsMenuHideReason): void;
152
- isVisible(): boolean;
153
- onItemClick(event: any, item: CpsMenuItem): void;
154
- bindDocumentKeydownListener(): void;
155
- unbindDocumentKeydownListener(): void;
156
- bindDocumentClickListener(): void;
157
- unbindDocumentClickListener(): void;
158
- onOverlayClick(event: MouseEvent): void;
159
- onContentClick(): void;
160
- hasTargetChanged(event?: any, target?: any): any;
161
- appendContainer(): void;
162
- restoreAppend(): void;
163
- private _setPosition;
164
- align(): void;
165
- onAnimationStart(event: AnimationEvent): void;
166
- onAnimationEnd(event: AnimationEvent): void;
167
- focus(): void;
168
- onWindowResize(): void;
169
- bindDocumentResizeListener(): void;
170
- unbindDocumentResizeListener(): void;
171
- bindScrollListener(): void;
172
- unbindScrollListener(): void;
173
- onContainerDestroy(): void;
174
- private _destroy;
175
- ngOnDestroy(): void;
176
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsMenuComponent, never>;
177
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsMenuComponent, "cps-menu", never, { "header": { "alias": "header"; "required": false; }; "items": { "alias": "items"; "required": false; }; "withArrow": { "alias": "withArrow"; "required": false; }; "compressed": { "alias": "compressed"; "required": false; }; "focusOnShow": { "alias": "focusOnShow"; "required": false; }; "persistent": { "alias": "persistent"; "required": false; }; "containerClass": { "alias": "containerClass"; "required": false; }; "showTransitionOptions": { "alias": "showTransitionOptions"; "required": false; }; "hideTransitionOptions": { "alias": "hideTransitionOptions"; "required": false; }; }, { "menuShown": "menuShown"; "menuHidden": "menuHidden"; "beforeMenuHidden": "beforeMenuHidden"; "contentClicked": "contentClicked"; }, never, ["*"], true, never>;
178
- }
179
- export {};
@@ -1,62 +0,0 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { Paginator } from 'primeng/paginator';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * CpsPaginatorComponent is a generic component to display content in paged format.
6
- * @group Components
7
- */
8
- export declare class CpsPaginatorComponent implements OnInit {
9
- private document;
10
- /**
11
- * Zero-relative number of the first row to be displayed.
12
- * @group Props
13
- */
14
- first: number;
15
- /**
16
- * Rows count to display per page.
17
- * @group Props
18
- */
19
- rows: number;
20
- /**
21
- * Number of total records.
22
- * @group Props
23
- */
24
- totalRecords: number;
25
- /**
26
- * Array of integer values to display inside rows per page dropdown.
27
- * @group Props
28
- */
29
- rowsPerPageOptions: number[];
30
- /**
31
- * Determines whether to show it even there is only one page.
32
- * @group Props
33
- */
34
- alwaysShow: boolean;
35
- /**
36
- * Color of paginator background.
37
- * @group Props
38
- */
39
- backgroundColor: string;
40
- /**
41
- * Determines whether to reset page index when the number of rows per page changes.
42
- * @group Props
43
- */
44
- resetPageOnRowsChange: boolean;
45
- /**
46
- * Callback to invoke when page changes, the event object contains information about the new state.
47
- * @param {any} any - page changed.
48
- * @group Emits
49
- */
50
- pageChanged: EventEmitter<any>;
51
- paginator: Paginator;
52
- rowOptions: {
53
- label: string;
54
- value: number;
55
- }[];
56
- constructor(document: Document);
57
- ngOnInit(): void;
58
- onPageChange(event: any): void;
59
- onRowsPerPageChange(rows: number): void;
60
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsPaginatorComponent, never>;
61
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsPaginatorComponent, "cps-paginator", never, { "first": { "alias": "first"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; }; "alwaysShow": { "alias": "alwaysShow"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "resetPageOnRowsChange": { "alias": "resetPageOnRowsChange"; "required": false; }; }, { "pageChanged": "pageChanged"; }, never, never, true, never>;
62
- }
@@ -1,14 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * The CpsPaginatePipe is a pipe designed to provide a set of items in batches, taking into account specified pagination parameters.
5
- * @group Pipes
6
- */
7
- export declare class CpsPaginatePipe implements PipeTransform {
8
- transform(items: any[], config: {
9
- first: number;
10
- rows: number;
11
- }): any[];
12
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsPaginatePipe, never>;
13
- static ɵpipe: i0.ɵɵPipeDeclaration<CpsPaginatePipe, "cpsPaginate", true>;
14
- }
@@ -1,28 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * CpsProgressCircularComponent is a process status indicator in a form of a spinner.
5
- * @group Components
6
- */
7
- export declare class CpsProgressCircularComponent implements OnInit {
8
- private document;
9
- /**
10
- * Diameter of the progress bar, of type number denoting pixels or string.
11
- * @group Props
12
- */
13
- diameter: number | string;
14
- /**
15
- * Thickness of the progress bar, of type number denoting pixels or string.
16
- * @group Props
17
- */
18
- strokeWidth: number | string;
19
- /**
20
- * Color of the progress bar.
21
- * @group Props
22
- */
23
- color: string;
24
- constructor(document: Document);
25
- ngOnInit(): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsProgressCircularComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsProgressCircularComponent, "cps-progress-circular", never, { "diameter": { "alias": "diameter"; "required": false; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
28
- }
@@ -1,43 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * CpsProgressLinearComponent is a process status indicator of a rectangular form.
5
- * @group Components
6
- */
7
- export declare class CpsProgressLinearComponent implements OnInit {
8
- private document;
9
- /**
10
- * Width of the progress bar, of type number denoting pixels or string.
11
- * @group Props
12
- */
13
- width: number | string;
14
- /**
15
- * Height of the progress bar, of type number denoting pixels or string.
16
- * @group Props
17
- */
18
- height: number | string;
19
- /**
20
- * Color of the progress bar.
21
- * @group Props
22
- */
23
- color: string;
24
- /**
25
- * Background color of the progress bar.
26
- * @group Props
27
- */
28
- bgColor: string;
29
- /**
30
- * Option to control the opacity of the progress bar.
31
- * @group Props
32
- */
33
- opacity: number | string;
34
- /**
35
- * Border radius of the progress bar, of type number denoting pixels or string.
36
- * @group Props
37
- */
38
- radius: number | string;
39
- constructor(document: Document);
40
- ngOnInit(): void;
41
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsProgressLinearComponent, never>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsProgressLinearComponent, "cps-progress-linear", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "color": { "alias": "color"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; "radius": { "alias": "radius"; "required": false; }; }, {}, never, never, true, never>;
43
- }
@@ -1,21 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { CpsRadioGroupComponent, CpsRadioOption } from '../cps-radio-group.component';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * CpsRadioComponent is a radio button with arbitrary content.
6
- * @group Components
7
- */
8
- export declare class CpsRadioComponent implements OnInit {
9
- /**
10
- * An option.
11
- * @group Props
12
- */
13
- option: CpsRadioOption;
14
- radioGroup?: CpsRadioGroupComponent;
15
- groupDisabled: boolean;
16
- constructor(radioGroup: CpsRadioGroupComponent);
17
- ngOnInit(): void;
18
- updateValueEvent(value: any): void;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsRadioComponent, [{ optional: true; }]>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsRadioComponent, "cps-radio", never, { "option": { "alias": "option"; "required": false; }; }, {}, never, ["*"], true, never>;
21
- }
@@ -1,49 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { CpsRadioOption } from '../cps-radio-group.component';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * CpsRadioButtonComponent is an internal radio button component.
6
- * @group Components
7
- */
8
- export declare class CpsRadioButtonComponent {
9
- private _uniqueId;
10
- /**
11
- * An option.
12
- * @group Props
13
- */
14
- option: CpsRadioOption;
15
- /**
16
- * Determines whether the radio button is checked.
17
- * @group Props
18
- */
19
- checked: boolean;
20
- /**
21
- * Determines whether the radio button is disabled.
22
- * @group Props
23
- */
24
- groupDisabled: boolean;
25
- /**
26
- * Callback to invoke on value update.
27
- * @param {Event} event - Custom update value event.
28
- * @group Emits
29
- */
30
- updateValueEvent: EventEmitter<Event>;
31
- /**
32
- * Callback to invoke when the radio button loses focus.
33
- * @param {any}
34
- * @group Emits
35
- */
36
- blurred: EventEmitter<any>;
37
- /**
38
- * Callback to invoke when the radio button receives focus.
39
- * @param {any}
40
- * @group Emits
41
- */
42
- focused: EventEmitter<any>;
43
- get inputId(): string;
44
- updateValue(event: Event): void;
45
- onBlur(): void;
46
- onFocus(): void;
47
- static ɵfac: i0.ɵɵFactoryDeclaration<CpsRadioButtonComponent, never>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsRadioButtonComponent, "cps-radio-button", never, { "option": { "alias": "option"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "groupDisabled": { "alias": "groupDisabled"; "required": false; }; }, { "updateValueEvent": "updateValueEvent"; "blurred": "blurred"; "focused": "focused"; }, never, ["*"], true, never>;
49
- }