cps-ui-kit 18.10.0 → 19.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/cps-ui-kit.mjs +281 -319
- package/fesm2022/cps-ui-kit.mjs.map +1 -1
- package/lib/components/cps-autocomplete/cps-autocomplete.component.d.ts +3 -3
- package/lib/components/cps-menu/cps-menu.component.d.ts +4 -3
- package/lib/components/cps-select/cps-select.component.d.ts +2 -2
- package/lib/services/cps-dialog/internal/components/cps-dialog/cps-dialog.component.d.ts +3 -3
- package/lib/services/cps-notification/internal/components/cps-notification-container/cps-notification-container.component.d.ts +3 -3
- package/package.json +6 -8
- package/styles/styles.scss +9 -0
- package/esm2022/cps-ui-kit.mjs +0 -5
- package/esm2022/lib/components/cps-autocomplete/cps-autocomplete.component.mjs +0 -948
- package/esm2022/lib/components/cps-button/cps-button.component.mjs +0 -205
- package/esm2022/lib/components/cps-button-toggle/cps-button-toggle.component.mjs +0 -239
- package/esm2022/lib/components/cps-checkbox/cps-checkbox.component.mjs +0 -154
- package/esm2022/lib/components/cps-chip/cps-chip.component.mjs +0 -94
- package/esm2022/lib/components/cps-datepicker/cps-datepicker.component.mjs +0 -382
- package/esm2022/lib/components/cps-divider/cps-divider.component.mjs +0 -60
- package/esm2022/lib/components/cps-expansion-panel/cps-expansion-panel.component.mjs +0 -213
- package/esm2022/lib/components/cps-file-upload/cps-file-upload.component.mjs +0 -182
- package/esm2022/lib/components/cps-icon/cps-icon.component.mjs +0 -203
- package/esm2022/lib/components/cps-info-circle/cps-info-circle.component.mjs +0 -61
- package/esm2022/lib/components/cps-input/cps-input.component.mjs +0 -385
- package/esm2022/lib/components/cps-loader/cps-loader.component.mjs +0 -58
- package/esm2022/lib/components/cps-menu/cps-menu.component.mjs +0 -572
- package/esm2022/lib/components/cps-paginator/cps-paginator.component.mjs +0 -118
- package/esm2022/lib/components/cps-paginator/pipes/cps-paginate.pipe.mjs +0 -30
- package/esm2022/lib/components/cps-progress-circular/cps-progress-circular.component.mjs +0 -51
- package/esm2022/lib/components/cps-progress-linear/cps-progress-linear.component.mjs +0 -75
- package/esm2022/lib/components/cps-radio-group/cps-radio/cps-radio.component.mjs +0 -42
- package/esm2022/lib/components/cps-radio-group/cps-radio-button/cps-radio-button.component.mjs +0 -77
- package/esm2022/lib/components/cps-radio-group/cps-radio-group.component.mjs +0 -225
- package/esm2022/lib/components/cps-scheduler/cps-scheduler.component.mjs +0 -682
- package/esm2022/lib/components/cps-scheduler/cps-scheduler.utils.mjs +0 -604
- package/esm2022/lib/components/cps-select/cps-select.component.mjs +0 -654
- package/esm2022/lib/components/cps-sidebar-menu/cps-sidebar-menu.component.mjs +0 -110
- package/esm2022/lib/components/cps-switch/cps-switch.component.mjs +0 -131
- package/esm2022/lib/components/cps-tab-group/cps-tab/cps-tab.component.mjs +0 -86
- package/esm2022/lib/components/cps-tab-group/cps-tab-group.component.mjs +0 -308
- package/esm2022/lib/components/cps-table/components/internal/cps-sort-icon/cps-sort-icon.component.mjs +0 -79
- package/esm2022/lib/components/cps-table/components/internal/table-column-filter/table-column-filter.component.mjs +0 -407
- package/esm2022/lib/components/cps-table/components/internal/table-column-filter-constraint/table-column-filter-constraint.component.mjs +0 -147
- package/esm2022/lib/components/cps-table/components/internal/table-row-menu/table-row-menu.component.mjs +0 -105
- package/esm2022/lib/components/cps-table/cps-column-filter-types.mjs +0 -29
- package/esm2022/lib/components/cps-table/cps-table.component.mjs +0 -1022
- package/esm2022/lib/components/cps-table/directives/cps-table-column-filter.directive.mjs +0 -181
- package/esm2022/lib/components/cps-table/directives/cps-table-column-resizable.directive.mjs +0 -22
- package/esm2022/lib/components/cps-table/directives/cps-table-column-sortable.directive.mjs +0 -47
- package/esm2022/lib/components/cps-table/directives/cps-table-header-selectable.directive.mjs +0 -32
- package/esm2022/lib/components/cps-table/directives/cps-table-row-selectable.directive.mjs +0 -35
- package/esm2022/lib/components/cps-table/directives/internal/table-unsort.directive.mjs +0 -212
- package/esm2022/lib/components/cps-table/pipes/cps-table-detect-filter-type.pipe.mjs +0 -29
- package/esm2022/lib/components/cps-tag/cps-tag.component.mjs +0 -121
- package/esm2022/lib/components/cps-textarea/cps-textarea.component.mjs +0 -290
- package/esm2022/lib/components/cps-timepicker/cps-timepicker.component.mjs +0 -370
- package/esm2022/lib/components/cps-tree-autocomplete/cps-tree-autocomplete.component.mjs +0 -273
- package/esm2022/lib/components/cps-tree-select/cps-tree-select.component.mjs +0 -87
- package/esm2022/lib/components/cps-tree-table/cps-tree-table.component.mjs +0 -1279
- package/esm2022/lib/components/cps-tree-table/directives/cps-tree-table-column-filter.directive.mjs +0 -174
- package/esm2022/lib/components/cps-tree-table/directives/cps-tree-table-column-resizable.directive.mjs +0 -22
- package/esm2022/lib/components/cps-tree-table/directives/cps-tree-table-column-sortable.directive.mjs +0 -47
- package/esm2022/lib/components/cps-tree-table/directives/cps-tree-table-header-selectable.directive.mjs +0 -33
- package/esm2022/lib/components/cps-tree-table/directives/cps-tree-table-row-selectable.directive.mjs +0 -36
- package/esm2022/lib/components/cps-tree-table/directives/cps-tree-table-row-toggler.directive.mjs +0 -48
- package/esm2022/lib/components/cps-tree-table/directives/internal/tree-table-unsort.directive.mjs +0 -352
- package/esm2022/lib/components/cps-tree-table/pipes/cps-tree-table-detect-filter-type.pipe.mjs +0 -30
- package/esm2022/lib/components/internal/cps-base-tree-dropdown/cps-base-tree-dropdown.component.mjs +0 -656
- package/esm2022/lib/directives/cps-tooltip/cps-tooltip.directive.mjs +0 -275
- package/esm2022/lib/pipes/internal/check-option-selected.pipe.mjs +0 -24
- package/esm2022/lib/pipes/internal/combine-labels.pipe.mjs +0 -25
- package/esm2022/lib/pipes/internal/label-by-value.pipe.mjs +0 -16
- package/esm2022/lib/services/cps-dialog/cps-dialog.service.mjs +0 -146
- package/esm2022/lib/services/cps-dialog/internal/components/cps-confirmation/cps-confirmation.component.mjs +0 -25
- package/esm2022/lib/services/cps-dialog/internal/components/cps-dialog/cps-dialog.component.mjs +0 -470
- package/esm2022/lib/services/cps-dialog/internal/directives/cps-dialog-content.directive.mjs +0 -18
- package/esm2022/lib/services/cps-dialog/utils/cps-dialog-config.mjs +0 -3
- package/esm2022/lib/services/cps-dialog/utils/cps-dialog-ref.mjs +0 -128
- package/esm2022/lib/services/cps-notification/cps-notification.service.mjs +0 -122
- package/esm2022/lib/services/cps-notification/internal/components/cps-notification-container/cps-notification-container.component.mjs +0 -95
- package/esm2022/lib/services/cps-notification/internal/components/cps-toast/cps-toast.component.mjs +0 -106
- package/esm2022/lib/services/cps-notification/utils/cps-notification-config.mjs +0 -27
- package/esm2022/lib/services/cps-notification/utils/internal/cps-notification-data.mjs +0 -12
- package/esm2022/lib/utils/colors-utils.mjs +0 -59
- package/esm2022/lib/utils/internal/size-utils.mjs +0 -24
- package/esm2022/public-api.mjs +0 -58
|
@@ -2,9 +2,9 @@ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges,
|
|
|
2
2
|
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
3
|
import { IconType, iconSizeType } from '../cps-icon/cps-icon.component';
|
|
4
4
|
import { LabelByValuePipe } from '../../pipes/internal/label-by-value.pipe';
|
|
5
|
-
import { VirtualScroller } from 'primeng/virtualscroller';
|
|
6
5
|
import { CpsTooltipPosition } from '../../directives/cps-tooltip/cps-tooltip.directive';
|
|
7
6
|
import { CpsMenuComponent, CpsMenuHideReason } from '../cps-menu/cps-menu.component';
|
|
7
|
+
import { Scroller } from 'primeng/scroller';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
* CpsAutocompleteAppearanceType is used to define the border of the autocomplete input.
|
|
@@ -264,7 +264,7 @@ export declare class CpsAutocompleteComponent implements ControlValueAccessor, O
|
|
|
264
264
|
blurred: EventEmitter<any>;
|
|
265
265
|
autocompleteBox: ElementRef;
|
|
266
266
|
autocompleteContainer: ElementRef;
|
|
267
|
-
virtualList:
|
|
267
|
+
virtualList: Scroller;
|
|
268
268
|
optionsMenu: CpsMenuComponent;
|
|
269
269
|
optionsList: ElementRef;
|
|
270
270
|
autocompleteInput: ElementRef;
|
|
@@ -313,13 +313,13 @@ export declare class CpsAutocompleteComponent implements ControlValueAccessor, O
|
|
|
313
313
|
focus(): void;
|
|
314
314
|
recalcVirtualListHeight(): void;
|
|
315
315
|
isEmptyValue(): boolean;
|
|
316
|
+
clearInput(): void;
|
|
316
317
|
private _getEmptyValue;
|
|
317
318
|
private _toggleOptions;
|
|
318
319
|
private _clickOption;
|
|
319
320
|
private _checkErrors;
|
|
320
321
|
private updateValue;
|
|
321
322
|
private _getValueLabel;
|
|
322
|
-
private _clearInput;
|
|
323
323
|
private _closeAndClear;
|
|
324
324
|
private _getHTMLOptions;
|
|
325
325
|
private _dehighlightOption;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AnimationEvent } from '@angular/animations';
|
|
2
2
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, Renderer2, SimpleChanges } from '@angular/core';
|
|
3
|
-
import { OverlayService
|
|
3
|
+
import { OverlayService } from 'primeng/api';
|
|
4
4
|
import { ConnectedOverlayScrollHandler } from 'primeng/dom';
|
|
5
5
|
import { Subscription } from 'rxjs';
|
|
6
|
+
import { PrimeNG } from 'primeng/config';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
type Nullable<T = void> = T | null | undefined;
|
|
8
9
|
type VoidListener = () => void | null | undefined;
|
|
@@ -50,7 +51,7 @@ export declare class CpsMenuComponent implements AfterViewInit, OnDestroy, OnCha
|
|
|
50
51
|
renderer: Renderer2;
|
|
51
52
|
cd: ChangeDetectorRef;
|
|
52
53
|
private zone;
|
|
53
|
-
|
|
54
|
+
primeNG: PrimeNG;
|
|
54
55
|
overlayService: OverlayService;
|
|
55
56
|
/**
|
|
56
57
|
* Header title of the menu.
|
|
@@ -141,7 +142,7 @@ export declare class CpsMenuComponent implements AfterViewInit, OnDestroy, OnCha
|
|
|
141
142
|
itemsClasses: string[];
|
|
142
143
|
hideReason: CpsMenuHideReason | undefined;
|
|
143
144
|
private window;
|
|
144
|
-
constructor(document: Document, platformId: any, el: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef, zone: NgZone,
|
|
145
|
+
constructor(document: Document, platformId: any, el: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef, zone: NgZone, primeNG: PrimeNG, overlayService: OverlayService);
|
|
145
146
|
ngOnChanges(changes: SimpleChanges): void;
|
|
146
147
|
ngAfterViewInit(): void;
|
|
147
148
|
private _setItemsClasses;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
3
|
import { iconSizeType, IconType } from '../cps-icon/cps-icon.component';
|
|
4
|
-
import { VirtualScroller } from 'primeng/virtualscroller';
|
|
5
4
|
import { CpsTooltipPosition } from '../../directives/cps-tooltip/cps-tooltip.directive';
|
|
6
5
|
import { CpsMenuComponent } from '../cps-menu/cps-menu.component';
|
|
6
|
+
import { Scroller } from 'primeng/scroller';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* CpsSelectAppearanceType is used to define the border of the select input.
|
|
@@ -213,7 +213,7 @@ export declare class CpsSelectComponent implements ControlValueAccessor, OnInit,
|
|
|
213
213
|
blurred: EventEmitter<any>;
|
|
214
214
|
selectBox: ElementRef;
|
|
215
215
|
selectContainer: ElementRef;
|
|
216
|
-
virtualList:
|
|
216
|
+
virtualList: Scroller;
|
|
217
217
|
optionsMenu: CpsMenuComponent;
|
|
218
218
|
optionsList: ElementRef;
|
|
219
219
|
private _statusChangesSubscription?;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AnimationEvent } from '@angular/animations';
|
|
2
2
|
import { AfterViewInit, ChangeDetectorRef, ComponentRef, ElementRef, EventEmitter, NgZone, OnDestroy, Renderer2, Type } from '@angular/core';
|
|
3
|
-
import { PrimeNGConfig } from 'primeng/api';
|
|
4
3
|
import { CpsDialogContentDirective } from '../../directives/cps-dialog-content.directive';
|
|
5
4
|
import { CpsDialogConfig } from '../../../utils/cps-dialog-config';
|
|
6
5
|
import { CpsDialogRef } from '../../../utils/cps-dialog-ref';
|
|
6
|
+
import { PrimeNG } from 'primeng/config';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
type Nullable<T = void> = T | null | undefined;
|
|
9
9
|
type VoidListener = () => void | null | undefined;
|
|
@@ -15,7 +15,7 @@ export declare class CpsDialogComponent implements AfterViewInit, OnDestroy {
|
|
|
15
15
|
renderer: Renderer2;
|
|
16
16
|
config: CpsDialogConfig;
|
|
17
17
|
zone: NgZone;
|
|
18
|
-
|
|
18
|
+
primeNG: PrimeNG;
|
|
19
19
|
visible: boolean;
|
|
20
20
|
componentRef: Nullable<ComponentRef<any>>;
|
|
21
21
|
resizing: boolean | undefined;
|
|
@@ -55,7 +55,7 @@ export declare class CpsDialogComponent implements AfterViewInit, OnDestroy {
|
|
|
55
55
|
set style(value: any);
|
|
56
56
|
get position(): string;
|
|
57
57
|
get parent(): Element | undefined;
|
|
58
|
-
constructor(document: Document, platformId: any, _dialogRef: CpsDialogRef, _cdRef: ChangeDetectorRef, renderer: Renderer2, config: CpsDialogConfig, zone: NgZone,
|
|
58
|
+
constructor(document: Document, platformId: any, _dialogRef: CpsDialogRef, _cdRef: ChangeDetectorRef, renderer: Renderer2, config: CpsDialogConfig, zone: NgZone, primeNG: PrimeNG);
|
|
59
59
|
ngAfterViewInit(): void;
|
|
60
60
|
loadChildComponent(componentType: Type<any>): void;
|
|
61
61
|
moveOnTop(): void;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnDestroy, Renderer2 } from '@angular/core';
|
|
2
|
-
import { PrimeNGConfig } from 'primeng/api';
|
|
3
2
|
import { CpsNotificationConfig, CpsNotificationPosition } from '../../../utils/cps-notification-config';
|
|
4
3
|
import { CpsNotificationData } from '../../../utils/internal/cps-notification-data';
|
|
4
|
+
import { PrimeNG } from 'primeng/config';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
type Nullable<T = void> = T | null | undefined;
|
|
7
7
|
export declare class CpsNotificationContainerComponent implements AfterViewInit, OnDestroy {
|
|
8
8
|
renderer: Renderer2;
|
|
9
9
|
zone: NgZone;
|
|
10
|
-
|
|
10
|
+
primeNG: PrimeNG;
|
|
11
11
|
private _cdRef;
|
|
12
12
|
/**
|
|
13
13
|
* Position of the notification container.
|
|
@@ -27,7 +27,7 @@ export declare class CpsNotificationContainerComponent implements AfterViewInit,
|
|
|
27
27
|
data: CpsNotificationData;
|
|
28
28
|
config: CpsNotificationConfig;
|
|
29
29
|
}[];
|
|
30
|
-
constructor(renderer: Renderer2, zone: NgZone,
|
|
30
|
+
constructor(renderer: Renderer2, zone: NgZone, primeNG: PrimeNG, _cdRef: ChangeDetectorRef);
|
|
31
31
|
ngAfterViewInit(): void;
|
|
32
32
|
addNotification(config: CpsNotificationConfig, data: CpsNotificationData): void;
|
|
33
33
|
onCloseNotification(index: number): void;
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cps-ui-kit",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "19.1.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^
|
|
6
|
-
"@angular/core": "^
|
|
7
|
-
"@angular/forms": "^
|
|
5
|
+
"@angular/common": "^19.1.0",
|
|
6
|
+
"@angular/core": "^19.1.0",
|
|
7
|
+
"@angular/forms": "^19.1.0",
|
|
8
8
|
"rxjs": "^7.8.1",
|
|
9
|
-
"zone.js": "^0.
|
|
9
|
+
"zone.js": "^0.15.0",
|
|
10
10
|
"@types/lodash-es": "^4.17.12",
|
|
11
11
|
"lodash-es": "^4.17.21",
|
|
12
|
-
"primeng": "^
|
|
12
|
+
"primeng": "^19.0.5",
|
|
13
13
|
"xlsx": "^0.18.5"
|
|
14
14
|
},
|
|
15
15
|
"repository": {
|
|
@@ -30,8 +30,6 @@
|
|
|
30
30
|
},
|
|
31
31
|
".": {
|
|
32
32
|
"types": "./index.d.ts",
|
|
33
|
-
"esm2022": "./esm2022/cps-ui-kit.mjs",
|
|
34
|
-
"esm": "./esm2022/cps-ui-kit.mjs",
|
|
35
33
|
"default": "./fesm2022/cps-ui-kit.mjs"
|
|
36
34
|
}
|
|
37
35
|
}
|
package/styles/styles.scss
CHANGED
package/esm2022/cps-ui-kit.mjs
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3BzLXVpLWtpdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2Nwcy11aS1raXQvc3JjL2Nwcy11aS1raXQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
|