cps-ui-kit 17.9.0 → 17.11.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/assets/icons.svg +4 -0
- package/esm2022/lib/components/cps-autocomplete/cps-autocomplete.component.mjs +1 -1
- package/esm2022/lib/components/cps-button/cps-button.component.mjs +12 -4
- package/esm2022/lib/components/cps-button-toggle/cps-button-toggle.component.mjs +1 -1
- package/esm2022/lib/components/cps-datepicker/cps-datepicker.component.mjs +1 -1
- package/esm2022/lib/components/cps-icon/cps-icon.component.mjs +2 -1
- package/esm2022/lib/components/cps-input/cps-input.component.mjs +1 -1
- package/esm2022/lib/components/cps-menu/cps-menu.component.mjs +1 -1
- package/esm2022/lib/components/cps-radio-group/cps-radio-group.component.mjs +1 -1
- package/esm2022/lib/components/cps-select/cps-select.component.mjs +1 -1
- package/esm2022/lib/components/cps-sidebar-menu/cps-sidebar-menu.component.mjs +1 -1
- package/esm2022/lib/components/cps-tab-group/cps-tab-group.component.mjs +3 -3
- package/esm2022/lib/components/cps-table/components/internal/table-column-filter/table-column-filter.component.mjs +2 -3
- package/esm2022/lib/components/cps-table/components/internal/table-column-filter-constraint/table-column-filter-constraint.component.mjs +1 -2
- package/esm2022/lib/components/cps-table/components/internal/table-row-menu/table-row-menu.component.mjs +1 -2
- package/esm2022/lib/components/cps-table/cps-column-filter-types.mjs +1 -1
- package/esm2022/lib/components/cps-table/cps-table.component.mjs +2 -2
- package/esm2022/lib/components/cps-tag/cps-tag.component.mjs +6 -26
- package/esm2022/lib/components/cps-timepicker/cps-timepicker.component.mjs +1 -1
- package/esm2022/lib/components/cps-tree-autocomplete/cps-tree-autocomplete.component.mjs +1 -1
- package/esm2022/lib/components/cps-tree-select/cps-tree-select.component.mjs +1 -1
- package/esm2022/lib/components/cps-tree-table/cps-tree-table.component.mjs +2 -2
- package/esm2022/lib/directives/cps-tooltip/cps-tooltip.directive.mjs +1 -1
- package/esm2022/lib/services/cps-dialog/internal/components/cps-confirmation/cps-confirmation.component.mjs +1 -1
- package/esm2022/lib/services/cps-dialog/internal/components/cps-dialog/cps-dialog.component.mjs +2 -2
- package/esm2022/lib/services/cps-notification/internal/components/cps-toast/cps-toast.component.mjs +2 -2
- package/esm2022/lib/services/cps-notification/utils/cps-notification-config.mjs +1 -1
- package/esm2022/lib/services/cps-notification/utils/internal/cps-notification-data.mjs +1 -1
- package/fesm2022/cps-ui-kit.mjs +25 -39
- package/fesm2022/cps-ui-kit.mjs.map +1 -1
- package/lib/components/cps-autocomplete/cps-autocomplete.component.d.ts +4 -0
- package/lib/components/cps-button/cps-button.component.d.ts +9 -4
- package/lib/components/cps-button-toggle/cps-button-toggle.component.d.ts +4 -0
- package/lib/components/cps-datepicker/cps-datepicker.component.d.ts +4 -0
- package/lib/components/cps-icon/cps-icon.component.d.ts +8 -0
- package/lib/components/cps-input/cps-input.component.d.ts +4 -0
- package/lib/components/cps-menu/cps-menu.component.d.ts +8 -0
- package/lib/components/cps-radio-group/cps-radio-group.component.d.ts +4 -0
- package/lib/components/cps-select/cps-select.component.d.ts +4 -0
- package/lib/components/cps-sidebar-menu/cps-sidebar-menu.component.d.ts +4 -0
- package/lib/components/cps-tab-group/cps-tab-group.component.d.ts +18 -0
- package/lib/components/cps-table/components/internal/table-column-filter/table-column-filter.component.d.ts +0 -1
- package/lib/components/cps-table/components/internal/table-column-filter-constraint/table-column-filter-constraint.component.d.ts +0 -1
- package/lib/components/cps-table/components/internal/table-row-menu/table-row-menu.component.d.ts +0 -1
- package/lib/components/cps-table/cps-column-filter-types.d.ts +8 -0
- package/lib/components/cps-table/cps-table.component.d.ts +16 -0
- package/lib/components/cps-tag/cps-tag.component.d.ts +1 -7
- package/lib/components/cps-timepicker/cps-timepicker.component.d.ts +4 -0
- package/lib/components/cps-tree-autocomplete/cps-tree-autocomplete.component.d.ts +4 -0
- package/lib/components/cps-tree-select/cps-tree-select.component.d.ts +4 -0
- package/lib/components/cps-tree-table/cps-tree-table.component.d.ts +12 -0
- package/lib/directives/cps-tooltip/cps-tooltip.directive.d.ts +8 -0
- package/lib/services/cps-notification/utils/cps-notification-config.d.ts +4 -0
- package/lib/services/cps-notification/utils/internal/cps-notification-data.d.ts +3 -0
- package/package.json +1 -1
|
@@ -6,6 +6,10 @@ import { VirtualScroller } from 'primeng/virtualscroller';
|
|
|
6
6
|
import { CpsTooltipPosition } from '../../directives/cps-tooltip/cps-tooltip.directive';
|
|
7
7
|
import { CpsMenuComponent } from '../cps-menu/cps-menu.component';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
+
/**
|
|
10
|
+
* CpsAutocompleteAppearanceType is used to define the border of the autocomplete input.
|
|
11
|
+
* @group Types
|
|
12
|
+
*/
|
|
9
13
|
export type CpsAutocompleteAppearanceType = 'outlined' | 'underlined' | 'borderless';
|
|
10
14
|
/**
|
|
11
15
|
* CpsAutocompleteComponent is an input component that provides real-time suggestions when being typed.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { EventEmitter,
|
|
1
|
+
import { EventEmitter, OnChanges } from '@angular/core';
|
|
2
2
|
import { IconType } from '../cps-icon/cps-icon.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* CpsButtonComponent is a button element.
|
|
6
6
|
* @group Components
|
|
7
7
|
*/
|
|
8
|
-
export declare class CpsButtonComponent implements
|
|
8
|
+
export declare class CpsButtonComponent implements OnChanges {
|
|
9
9
|
/**
|
|
10
10
|
* Color of the button.
|
|
11
11
|
* @group Props
|
|
@@ -16,6 +16,11 @@ export declare class CpsButtonComponent implements OnInit {
|
|
|
16
16
|
* @group Props
|
|
17
17
|
*/
|
|
18
18
|
contentColor: string;
|
|
19
|
+
/**
|
|
20
|
+
* Border radius of the button, of type number denoting pixels or string.
|
|
21
|
+
* @group Props
|
|
22
|
+
*/
|
|
23
|
+
borderRadius: number | string;
|
|
19
24
|
/**
|
|
20
25
|
* Type of the button in terms of appearance, it can be 'solid' or 'outlined' or 'borderless'.
|
|
21
26
|
* @group Props
|
|
@@ -74,9 +79,9 @@ export declare class CpsButtonComponent implements OnInit {
|
|
|
74
79
|
cvtFontSize: string;
|
|
75
80
|
cvtIconSize: string;
|
|
76
81
|
classesList: string[];
|
|
77
|
-
|
|
82
|
+
ngOnChanges(): void;
|
|
78
83
|
setClasses(): void;
|
|
79
84
|
onClick(event: Event): void;
|
|
80
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<CpsButtonComponent, never>;
|
|
81
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CpsButtonComponent, "cps-button", never, { "color": { "alias": "color"; "required": false; }; "contentColor": { "alias": "contentColor"; "required": false; }; "type": { "alias": "type"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "size": { "alias": "size"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CpsButtonComponent, "cps-button", never, { "color": { "alias": "color"; "required": false; }; "contentColor": { "alias": "contentColor"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "type": { "alias": "type"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "size": { "alias": "size"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
82
87
|
}
|
|
@@ -2,6 +2,10 @@ import { EventEmitter, OnInit, Renderer2 } from '@angular/core';
|
|
|
2
2
|
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
3
|
import { CpsTooltipPosition } from '../../directives/cps-tooltip/cps-tooltip.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* CpsButtonToggleOption is used to define the options of the CpsButtonToggleComponent.
|
|
7
|
+
* @group Types
|
|
8
|
+
*/
|
|
5
9
|
export type CpsButtonToggleOption = {
|
|
6
10
|
value: any;
|
|
7
11
|
label?: string;
|
|
@@ -4,6 +4,10 @@ import { CpsInputComponent } from '../cps-input/cps-input.component';
|
|
|
4
4
|
import { CpsTooltipPosition } from '../../directives/cps-tooltip/cps-tooltip.directive';
|
|
5
5
|
import { CpsMenuComponent } from '../cps-menu/cps-menu.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* CpsDatepickerAppearanceType is used to define the border of the datepicker input.
|
|
9
|
+
* @group Types
|
|
10
|
+
*/
|
|
7
11
|
export type CpsDatepickerAppearanceType = 'outlined' | 'underlined' | 'borderless';
|
|
8
12
|
/**
|
|
9
13
|
* CpsDatepickerComponent is an input component to provide date input.
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import { OnChanges } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare const iconNames: string[];
|
|
4
|
+
/**
|
|
5
|
+
* IconType is used to define the type of the icon.
|
|
6
|
+
* @group Types
|
|
7
|
+
*/
|
|
4
8
|
export type IconType = (typeof iconNames)[number];
|
|
9
|
+
/**
|
|
10
|
+
* iconSizeType is used to define the size of the icon.
|
|
11
|
+
* @group Types
|
|
12
|
+
*/
|
|
5
13
|
export type iconSizeType = number | string | 'fill' | 'xsmall' | 'small' | 'normal' | 'large';
|
|
6
14
|
/**
|
|
7
15
|
* CpsIconComponent is a component that is used for icons.
|
|
@@ -3,6 +3,10 @@ import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
|
3
3
|
import { IconType, iconSizeType } from '../cps-icon/cps-icon.component';
|
|
4
4
|
import { CpsTooltipPosition } from '../../directives/cps-tooltip/cps-tooltip.directive';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* CpsInputAppearanceType is used to define the border of the input field.
|
|
8
|
+
* @group Types
|
|
9
|
+
*/
|
|
6
10
|
export type CpsInputAppearanceType = 'outlined' | 'underlined' | 'borderless';
|
|
7
11
|
/**
|
|
8
12
|
* CpsInputComponent is used to enter values in a certain formats such as numeric, text or password.
|
|
@@ -6,6 +6,10 @@ import { Subscription } from 'rxjs';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
type Nullable<T = void> = T | null | undefined;
|
|
8
8
|
type VoidListener = () => void | null | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* CpsMenuItem is used to define the items of the CpsMenuComponent.
|
|
11
|
+
* @group Types
|
|
12
|
+
*/
|
|
9
13
|
export type CpsMenuItem = {
|
|
10
14
|
title?: string;
|
|
11
15
|
action?: (event?: any) => void;
|
|
@@ -16,6 +20,10 @@ export type CpsMenuItem = {
|
|
|
16
20
|
disabled?: boolean;
|
|
17
21
|
loading?: boolean;
|
|
18
22
|
};
|
|
23
|
+
/**
|
|
24
|
+
* CpsMenuAttachPosition is used to define attachment position of the CpsMenuComponent.
|
|
25
|
+
* @group Types
|
|
26
|
+
*/
|
|
19
27
|
export type CpsMenuAttachPosition = 'tr' | 'br' | 'tl' | 'bl' | 'default';
|
|
20
28
|
/**
|
|
21
29
|
* CpsMenuComponent is a popup element, that contains menu items or arbitrary content.
|
|
@@ -2,6 +2,10 @@ import { EventEmitter, InjectionToken, OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
3
|
import { CpsTooltipPosition } from '../../directives/cps-tooltip/cps-tooltip.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* CpsRadioOption is used to define the options of the CpsRadioGroupComponent.
|
|
7
|
+
* @group Types
|
|
8
|
+
*/
|
|
5
9
|
export type CpsRadioOption = {
|
|
6
10
|
value: any;
|
|
7
11
|
label?: string;
|
|
@@ -5,6 +5,10 @@ import { VirtualScroller } from 'primeng/virtualscroller';
|
|
|
5
5
|
import { CpsTooltipPosition } from '../../directives/cps-tooltip/cps-tooltip.directive';
|
|
6
6
|
import { CpsMenuComponent } from '../cps-menu/cps-menu.component';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* CpsSelectAppearanceType is used to define the border of the select input.
|
|
10
|
+
* @group Types
|
|
11
|
+
*/
|
|
8
12
|
export type CpsSelectAppearanceType = 'outlined' | 'underlined' | 'borderless';
|
|
9
13
|
/**
|
|
10
14
|
* CpsSelectComponent is used to select items from a collection.
|
|
@@ -2,6 +2,10 @@ import { OnInit, QueryList } from '@angular/core';
|
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
3
|
import { CpsMenuComponent, CpsMenuItem } from '../cps-menu/cps-menu.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* CpsSidebarMenuItem is used to define the items of the CpsSidebarMenuComponent.
|
|
7
|
+
* @group Types
|
|
8
|
+
*/
|
|
5
9
|
export type CpsSidebarMenuItem = {
|
|
6
10
|
title: string;
|
|
7
11
|
icon: string;
|
|
@@ -2,11 +2,29 @@ import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEm
|
|
|
2
2
|
import { CpsTabComponent } from './cps-tab/cps-tab.component';
|
|
3
3
|
import { Subscription } from 'rxjs';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* CpsTabChangeEvent is used to define the tab change event.
|
|
7
|
+
* @group Interface
|
|
8
|
+
*/
|
|
5
9
|
export interface CpsTabChangeEvent {
|
|
10
|
+
/**
|
|
11
|
+
* Index of the previous tab.
|
|
12
|
+
*/
|
|
6
13
|
previousIndex: number;
|
|
14
|
+
/**
|
|
15
|
+
* Index of the new tab.
|
|
16
|
+
*/
|
|
7
17
|
newIndex: number;
|
|
8
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* CpsTabsAnimationType is used to define the transition options of how content appears.
|
|
21
|
+
* @group Types
|
|
22
|
+
*/
|
|
9
23
|
export type CpsTabsAnimationType = 'slide' | 'fade';
|
|
24
|
+
/**
|
|
25
|
+
* CpsTabsAlignmentType is used to define the horizontal alignment of tabs.
|
|
26
|
+
* @group Types
|
|
27
|
+
*/
|
|
10
28
|
export type CpsTabsAlignmentType = 'left' | 'center' | 'right';
|
|
11
29
|
/**
|
|
12
30
|
* CpsTabGroupComponent is a navigation component that displays items as tab headers.
|
|
@@ -8,7 +8,6 @@ import { TableColumnFilterConstraintComponent } from '../table-column-filter-con
|
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
* TableColumnFilterComponent is an internal filter component in table and treetable.
|
|
11
|
-
* @group Components
|
|
12
11
|
*/
|
|
13
12
|
export declare class TableColumnFilterComponent implements OnInit, OnDestroy {
|
|
14
13
|
elementRef: ElementRef;
|
|
@@ -8,7 +8,6 @@ import { CpsColumnFilterCategoryOption, CpsColumnFilterType } from '../../../cps
|
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
* TableColumnFilterConstraintComponent is an internal filtering constraint component in table and treetable.
|
|
11
|
-
* @group Components
|
|
12
11
|
*/
|
|
13
12
|
export declare class TableColumnFilterConstraintComponent implements OnChanges {
|
|
14
13
|
dt: Table;
|
package/lib/components/cps-table/components/internal/table-row-menu/table-row-menu.component.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { CpsMenuItem } from '../../../../cps-menu/cps-menu.component';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* TableRowMenuComponent is an internal component which applies the menu to each row.
|
|
6
|
-
* @group Components
|
|
7
6
|
*/
|
|
8
7
|
export declare class TableRowMenuComponent implements OnInit {
|
|
9
8
|
/**
|
|
@@ -20,6 +20,10 @@ export declare enum CpsColumnFilterMatchMode {
|
|
|
20
20
|
DATE_BEFORE = "dateBefore",
|
|
21
21
|
DATE_AFTER = "dateAfter"
|
|
22
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* CpsColumnFilterCategoryOption is used to define the options of the CpsColumnFilterCategoryComponent.
|
|
25
|
+
* @group Types
|
|
26
|
+
*/
|
|
23
27
|
export type CpsColumnFilterCategoryOption = {
|
|
24
28
|
value: any;
|
|
25
29
|
label?: string;
|
|
@@ -27,4 +31,8 @@ export type CpsColumnFilterCategoryOption = {
|
|
|
27
31
|
disabled?: boolean;
|
|
28
32
|
tooltip?: string;
|
|
29
33
|
};
|
|
34
|
+
/**
|
|
35
|
+
* CpsColumnFilterType is used to define the type of the column filter.
|
|
36
|
+
* @group Types
|
|
37
|
+
*/
|
|
30
38
|
export type CpsColumnFilterType = 'text' | 'number' | 'date' | 'boolean' | 'category';
|
|
@@ -6,9 +6,25 @@ import { CpsMenuComponent, CpsMenuItem } from '../cps-menu/cps-menu.component';
|
|
|
6
6
|
import { TableUnsortDirective } from './directives/internal/table-unsort.directive';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare function tableFactory(tableComponent: CpsTableComponent): Table;
|
|
9
|
+
/**
|
|
10
|
+
* CpsTableExportFormat is used to define the format of the exported file.
|
|
11
|
+
* @group Types
|
|
12
|
+
*/
|
|
9
13
|
export type CpsTableExportFormat = 'csv' | 'xlsx';
|
|
14
|
+
/**
|
|
15
|
+
* CpsTableAppearanceType is used to define the border of the table.
|
|
16
|
+
* @group Types
|
|
17
|
+
*/
|
|
10
18
|
export type CpsTableSize = 'small' | 'normal' | 'large';
|
|
19
|
+
/**
|
|
20
|
+
* CpsTableToolbarSize is used to define the size of the toolbar.
|
|
21
|
+
* @group Types
|
|
22
|
+
*/
|
|
11
23
|
export type CpsTableToolbarSize = 'small' | 'normal';
|
|
24
|
+
/**
|
|
25
|
+
* CpsTableSortMode is used to define the sorting mode of the table.
|
|
26
|
+
* @group Types
|
|
27
|
+
*/
|
|
12
28
|
export type CpsTableSortMode = 'single' | 'multiple';
|
|
13
29
|
/**
|
|
14
30
|
* CpsTableComponent displays data in tabular format.
|
|
@@ -7,11 +7,6 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class CpsTagComponent implements ControlValueAccessor, OnChanges {
|
|
9
9
|
private _control;
|
|
10
|
-
/**
|
|
11
|
-
* Type of the tag. It can be security, classification or custom, has higher precedence over color.
|
|
12
|
-
* @group Props
|
|
13
|
-
*/
|
|
14
|
-
type: 'security' | 'classification' | 'custom';
|
|
15
10
|
/**
|
|
16
11
|
* Label of the tag.
|
|
17
12
|
* @group Props
|
|
@@ -45,7 +40,6 @@ export declare class CpsTagComponent implements ControlValueAccessor, OnChanges
|
|
|
45
40
|
*/
|
|
46
41
|
valueChanged: EventEmitter<boolean>;
|
|
47
42
|
classesList: string[];
|
|
48
|
-
tagColor: string;
|
|
49
43
|
private _value;
|
|
50
44
|
constructor(_control: NgControl);
|
|
51
45
|
ngOnChanges(): void;
|
|
@@ -58,5 +52,5 @@ export declare class CpsTagComponent implements ControlValueAccessor, OnChanges
|
|
|
58
52
|
toggleSelected(): void;
|
|
59
53
|
private _updateValue;
|
|
60
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<CpsTagComponent, [{ optional: true; self: true; }]>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CpsTagComponent, "cps-tag", never, { "
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CpsTagComponent, "cps-tag", never, { "label": { "alias": "label"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
|
|
62
56
|
}
|
|
@@ -4,6 +4,10 @@ import { CpsButtonToggleOption } from '../cps-button-toggle/cps-button-toggle.co
|
|
|
4
4
|
import { CpsAutocompleteComponent } from '../cps-autocomplete/cps-autocomplete.component';
|
|
5
5
|
import { CpsTooltipPosition } from '../../directives/cps-tooltip/cps-tooltip.directive';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* CpsTime is used to define the time format.
|
|
9
|
+
* @group Interface
|
|
10
|
+
*/
|
|
7
11
|
export interface CpsTime {
|
|
8
12
|
hours: string;
|
|
9
13
|
minutes: string;
|
|
@@ -3,6 +3,10 @@ import { NgControl } from '@angular/forms';
|
|
|
3
3
|
import { TreeNode } from 'primeng/api';
|
|
4
4
|
import { CpsBaseTreeDropdownComponent } from '../internal/cps-base-tree-dropdown/cps-base-tree-dropdown.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* CpsTreeAutocompleteAppearanceType is used to define the border of the tree autocomplete input field.
|
|
8
|
+
* @group Types
|
|
9
|
+
*/
|
|
6
10
|
export type CpsTreeAutocompleteAppearanceType = 'outlined' | 'underlined' | 'borderless';
|
|
7
11
|
/**
|
|
8
12
|
* CpsTreeAutocompleteComponent allows to choose items from hierarchical data dropdown and provides real-time suggestions when being typed.
|
|
@@ -2,6 +2,10 @@ import { AfterViewInit, ChangeDetectorRef, OnDestroy, OnInit } from '@angular/co
|
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
3
|
import { CpsBaseTreeDropdownComponent } from '../internal/cps-base-tree-dropdown/cps-base-tree-dropdown.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* CpsTreeSelectAppearanceType is used to define the border of the tree select input field.
|
|
7
|
+
* @group Types
|
|
8
|
+
*/
|
|
5
9
|
export type CpsTreeSelectAppearanceType = 'outlined' | 'underlined' | 'borderless';
|
|
6
10
|
/**
|
|
7
11
|
* CpsTreeSelectComponent allows to select items from hierarchical data dropdown.
|
|
@@ -5,8 +5,20 @@ import { CpsInputComponent } from '../cps-input/cps-input.component';
|
|
|
5
5
|
import { CpsMenuComponent } from '../cps-menu/cps-menu.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare function treeTableFactory(tableComponent: CpsTreeTableComponent): TreeTable;
|
|
8
|
+
/**
|
|
9
|
+
* CpsTreeTableSize is used to define the size of the tree table.
|
|
10
|
+
* @group Types
|
|
11
|
+
*/
|
|
8
12
|
export type CpsTreeTableSize = 'small' | 'normal' | 'large';
|
|
13
|
+
/**
|
|
14
|
+
* CpsTreeTableToolbarSize is used to define the size of the tree table toolbar.
|
|
15
|
+
* @group Types
|
|
16
|
+
*/
|
|
9
17
|
export type CpsTreeTableToolbarSize = 'small' | 'normal';
|
|
18
|
+
/**
|
|
19
|
+
* CpsTreeTableSortMode is used to define the sorting mode of the tree table.
|
|
20
|
+
* @group Types
|
|
21
|
+
*/
|
|
10
22
|
export type CpsTreeTableSortMode = 'single' | 'multiple';
|
|
11
23
|
/**
|
|
12
24
|
* CpsTreeTableComponent is used to display hierarchical data in tabular format.
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* CpsTooltipPosition is used to define the position of the tooltip.
|
|
5
|
+
* @group Types
|
|
6
|
+
*/
|
|
3
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
|
+
*/
|
|
4
12
|
export type CpsTooltipOpenOn = 'hover' | 'click' | 'focus';
|
|
5
13
|
/**
|
|
6
14
|
* CpsTooltipDirective provides advisory information for a target element.
|
|
@@ -19,6 +19,10 @@ export declare enum CpsNotificationPosition {
|
|
|
19
19
|
BOTTOMLEFT = "bottom-left",
|
|
20
20
|
BOTTOMRIGHT = "bottom-right"
|
|
21
21
|
}
|
|
22
|
+
/**
|
|
23
|
+
* Configuration for the notification service.
|
|
24
|
+
* @group Interface
|
|
25
|
+
*/
|
|
22
26
|
export interface CpsNotificationConfig {
|
|
23
27
|
/**
|
|
24
28
|
* Position of the notification, options are "center", "top", "bottom", "left", "right", "top-left", "top-right", "bottom-left" or "bottom-right".
|