cps-ui-kit 0.54.0 → 0.56.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/README.md +1 -0
- package/assets/fonts/SourceSansPro-Regular.ttf +0 -0
- package/esm2020/lib/components/cps-autocomplete/cps-autocomplete.component.mjs +6 -3
- package/esm2020/lib/components/cps-button-toggle/cps-button-toggle.component.mjs +3 -3
- package/esm2020/lib/components/cps-checkbox/cps-checkbox.component.mjs +3 -3
- package/esm2020/lib/components/cps-chip/cps-chip.component.mjs +3 -3
- package/esm2020/lib/components/cps-datepicker/cps-datepicker.component.mjs +6 -3
- package/esm2020/lib/components/cps-input/cps-input.component.mjs +6 -3
- package/esm2020/lib/components/cps-loader/cps-loader.component.mjs +3 -3
- package/esm2020/lib/components/cps-menu/cps-menu.component.mjs +48 -8
- package/esm2020/lib/components/cps-paginator/cps-paginator.component.mjs +1 -1
- package/esm2020/lib/components/cps-radio/cps-radio.component.mjs +3 -3
- package/esm2020/lib/components/cps-select/cps-select.component.mjs +6 -3
- package/esm2020/lib/components/cps-sidebar-menu/cps-sidebar-menu.component.mjs +60 -0
- package/esm2020/lib/components/cps-tab-group/cps-tab-group.component.mjs +3 -3
- package/esm2020/lib/components/cps-table/cps-table.component.mjs +3 -3
- package/esm2020/lib/components/cps-table/table-column-filter/table-column-filter-constraint/table-column-filter-constraint.component.mjs +2 -2
- package/esm2020/lib/components/cps-table/table-column-filter/table-column-filter.component.mjs +2 -2
- package/esm2020/lib/components/cps-tag/cps-tag.component.mjs +3 -3
- package/esm2020/lib/components/cps-textarea/cps-textarea.component.mjs +3 -3
- package/esm2020/lib/components/cps-tree-autocomplete/cps-tree-autocomplete.component.mjs +6 -3
- package/esm2020/lib/components/cps-tree-select/cps-tree-select.component.mjs +8 -5
- package/esm2020/lib/utils/internal/size-utils.mjs +3 -1
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/cps-ui-kit.mjs +157 -43
- package/fesm2015/cps-ui-kit.mjs.map +1 -1
- package/fesm2020/cps-ui-kit.mjs +156 -43
- package/fesm2020/cps-ui-kit.mjs.map +1 -1
- package/lib/components/cps-autocomplete/cps-autocomplete.component.d.ts +3 -1
- package/lib/components/cps-datepicker/cps-datepicker.component.d.ts +3 -1
- package/lib/components/cps-input/cps-input.component.d.ts +3 -1
- package/lib/components/cps-menu/cps-menu.component.d.ts +7 -2
- package/lib/components/cps-select/cps-select.component.d.ts +3 -1
- package/lib/components/cps-sidebar-menu/cps-sidebar-menu.component.d.ts +27 -0
- package/lib/components/cps-tree-autocomplete/cps-tree-autocomplete.component.d.ts +3 -1
- package/lib/components/cps-tree-select/cps-tree-select.component.d.ts +3 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/styles/fonts.scss +4 -0
- package/styles/styles.scss +1 -0
- package/styles/variables.scss +1 -1
- /package/styles/{_colors.scss → colors.scss} +0 -0
|
@@ -6,6 +6,7 @@ import { VirtualScroller } from 'primeng/virtualscroller';
|
|
|
6
6
|
import { TooltipPosition } from '../../directives/cps-tooltip.directive';
|
|
7
7
|
import { CpsMenuComponent } from '../cps-menu/cps-menu.component';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
+
export type CpsAutocompleteAppearanceType = 'outlined' | 'underlined' | 'borderless';
|
|
9
10
|
export declare class CpsAutocompleteComponent implements ControlValueAccessor, OnInit, AfterViewInit, OnDestroy {
|
|
10
11
|
private _control;
|
|
11
12
|
private _labelByValue;
|
|
@@ -37,6 +38,7 @@ export declare class CpsAutocompleteComponent implements ControlValueAccessor, O
|
|
|
37
38
|
infoTooltipMaxWidth: number | string;
|
|
38
39
|
infoTooltipPersistent: boolean;
|
|
39
40
|
infoTooltipPosition: TooltipPosition;
|
|
41
|
+
appearance: CpsAutocompleteAppearanceType;
|
|
40
42
|
_value: any;
|
|
41
43
|
get value(): any;
|
|
42
44
|
set value(value: any);
|
|
@@ -97,5 +99,5 @@ export declare class CpsAutocompleteComponent implements ControlValueAccessor, O
|
|
|
97
99
|
private _confirmInput;
|
|
98
100
|
private _removeLastValue;
|
|
99
101
|
static ɵfac: i0.ɵɵFactoryDeclaration<CpsAutocompleteComponent, [{ optional: true; self: true; }, null]>;
|
|
100
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CpsAutocompleteComponent, "cps-autocomplete", never, { "label": "label"; "placeholder": "placeholder"; "hint": "hint"; "returnObject": "returnObject"; "multiple": "multiple"; "disabled": "disabled"; "width": "width"; "selectAll": "selectAll"; "chips": "chips"; "closableChips": "closableChips"; "clearable": "clearable"; "openOnClear": "openOnClear"; "options": "options"; "optionLabel": "optionLabel"; "optionValue": "optionValue"; "optionInfo": "optionInfo"; "hideDetails": "hideDetails"; "persistentClear": "persistentClear"; "prefixIcon": "prefixIcon"; "prefixIconSize": "prefixIconSize"; "loading": "loading"; "emptyMessage": "emptyMessage"; "virtualScroll": "virtualScroll"; "infoTooltip": "infoTooltip"; "infoTooltipClass": "infoTooltipClass"; "infoTooltipMaxWidth": "infoTooltipMaxWidth"; "infoTooltipPersistent": "infoTooltipPersistent"; "infoTooltipPosition": "infoTooltipPosition"; "_value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
|
|
102
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CpsAutocompleteComponent, "cps-autocomplete", never, { "label": "label"; "placeholder": "placeholder"; "hint": "hint"; "returnObject": "returnObject"; "multiple": "multiple"; "disabled": "disabled"; "width": "width"; "selectAll": "selectAll"; "chips": "chips"; "closableChips": "closableChips"; "clearable": "clearable"; "openOnClear": "openOnClear"; "options": "options"; "optionLabel": "optionLabel"; "optionValue": "optionValue"; "optionInfo": "optionInfo"; "hideDetails": "hideDetails"; "persistentClear": "persistentClear"; "prefixIcon": "prefixIcon"; "prefixIconSize": "prefixIconSize"; "loading": "loading"; "emptyMessage": "emptyMessage"; "virtualScroll": "virtualScroll"; "infoTooltip": "infoTooltip"; "infoTooltipClass": "infoTooltipClass"; "infoTooltipMaxWidth": "infoTooltipMaxWidth"; "infoTooltipPersistent": "infoTooltipPersistent"; "infoTooltipPosition": "infoTooltipPosition"; "appearance": "appearance"; "_value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
|
|
101
103
|
}
|
|
@@ -4,6 +4,7 @@ import { CpsInputComponent } from '../cps-input/cps-input.component';
|
|
|
4
4
|
import { TooltipPosition } from '../../directives/cps-tooltip.directive';
|
|
5
5
|
import { CpsMenuComponent } from '../cps-menu/cps-menu.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
export type CpsDatepickerAppearanceType = 'outlined' | 'underlined' | 'borderless';
|
|
7
8
|
export declare class CpsDatepickerComponent implements ControlValueAccessor, OnInit, OnDestroy {
|
|
8
9
|
private _control;
|
|
9
10
|
label: string;
|
|
@@ -21,6 +22,7 @@ export declare class CpsDatepickerComponent implements ControlValueAccessor, OnI
|
|
|
21
22
|
infoTooltipMaxWidth: number | string;
|
|
22
23
|
infoTooltipPersistent: boolean;
|
|
23
24
|
infoTooltipPosition: TooltipPosition;
|
|
25
|
+
appearance: CpsDatepickerAppearanceType;
|
|
24
26
|
minDate: Date;
|
|
25
27
|
maxDate: Date;
|
|
26
28
|
set value(value: Date | null);
|
|
@@ -61,5 +63,5 @@ export declare class CpsDatepickerComponent implements ControlValueAccessor, OnI
|
|
|
61
63
|
focusInput(): void;
|
|
62
64
|
toggleCalendar(show?: boolean): void;
|
|
63
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<CpsDatepickerComponent, [{ optional: true; self: true; }]>;
|
|
64
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CpsDatepickerComponent, "cps-datepicker", never, { "label": "label"; "disabled": "disabled"; "width": "width"; "placeholder": "placeholder"; "hint": "hint"; "clearable": "clearable"; "hideDetails": "hideDetails"; "persistentClear": "persistentClear"; "showTodayButton": "showTodayButton"; "openOnInputFocus": "openOnInputFocus"; "infoTooltip": "infoTooltip"; "infoTooltipClass": "infoTooltipClass"; "infoTooltipMaxWidth": "infoTooltipMaxWidth"; "infoTooltipPersistent": "infoTooltipPersistent"; "infoTooltipPosition": "infoTooltipPosition"; "minDate": "minDate"; "maxDate": "maxDate"; "value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CpsDatepickerComponent, "cps-datepicker", never, { "label": "label"; "disabled": "disabled"; "width": "width"; "placeholder": "placeholder"; "hint": "hint"; "clearable": "clearable"; "hideDetails": "hideDetails"; "persistentClear": "persistentClear"; "showTodayButton": "showTodayButton"; "openOnInputFocus": "openOnInputFocus"; "infoTooltip": "infoTooltip"; "infoTooltipClass": "infoTooltipClass"; "infoTooltipMaxWidth": "infoTooltipMaxWidth"; "infoTooltipPersistent": "infoTooltipPersistent"; "infoTooltipPosition": "infoTooltipPosition"; "appearance": "appearance"; "minDate": "minDate"; "maxDate": "maxDate"; "value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
|
|
65
67
|
}
|
|
@@ -3,6 +3,7 @@ import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
|
3
3
|
import { IconType, iconSizeType } from '../cps-icon/cps-icon.component';
|
|
4
4
|
import { TooltipPosition } from '../../directives/cps-tooltip.directive';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
export type CpsInputAppearanceType = 'outlined' | 'underlined' | 'borderless';
|
|
6
7
|
export declare class CpsInputComponent implements ControlValueAccessor, OnInit, AfterViewInit, OnDestroy {
|
|
7
8
|
private _control;
|
|
8
9
|
elementRef: ElementRef<HTMLElement>;
|
|
@@ -27,6 +28,7 @@ export declare class CpsInputComponent implements ControlValueAccessor, OnInit,
|
|
|
27
28
|
infoTooltipMaxWidth: number | string;
|
|
28
29
|
infoTooltipPersistent: boolean;
|
|
29
30
|
infoTooltipPosition: TooltipPosition;
|
|
31
|
+
appearance: CpsInputAppearanceType;
|
|
30
32
|
set value(value: string);
|
|
31
33
|
get value(): string;
|
|
32
34
|
valueChanged: EventEmitter<string>;
|
|
@@ -63,5 +65,5 @@ export declare class CpsInputComponent implements ControlValueAccessor, OnInit,
|
|
|
63
65
|
onFocus(): void;
|
|
64
66
|
focus(): void;
|
|
65
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<CpsInputComponent, [{ optional: true; self: true; }, null, null]>;
|
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CpsInputComponent, "cps-input", never, { "label": "label"; "hint": "hint"; "placeholder": "placeholder"; "disabled": "disabled"; "width": "width"; "type": "type"; "loading": "loading"; "clearable": "clearable"; "prefixIcon": "prefixIcon"; "prefixIconClickable": "prefixIconClickable"; "prefixIconSize": "prefixIconSize"; "prefixText": "prefixText"; "hideDetails": "hideDetails"; "persistentClear": "persistentClear"; "error": "error"; "infoTooltip": "infoTooltip"; "infoTooltipClass": "infoTooltipClass"; "infoTooltipMaxWidth": "infoTooltipMaxWidth"; "infoTooltipPersistent": "infoTooltipPersistent"; "infoTooltipPosition": "infoTooltipPosition"; "value": "value"; }, { "valueChanged": "valueChanged"; "focused": "focused"; "prefixIconClicked": "prefixIconClicked"; "blurred": "blurred"; "cleared": "cleared"; "enterClicked": "enterClicked"; }, never, never, true, never>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CpsInputComponent, "cps-input", never, { "label": "label"; "hint": "hint"; "placeholder": "placeholder"; "disabled": "disabled"; "width": "width"; "type": "type"; "loading": "loading"; "clearable": "clearable"; "prefixIcon": "prefixIcon"; "prefixIconClickable": "prefixIconClickable"; "prefixIconSize": "prefixIconSize"; "prefixText": "prefixText"; "hideDetails": "hideDetails"; "persistentClear": "persistentClear"; "error": "error"; "infoTooltip": "infoTooltip"; "infoTooltipClass": "infoTooltipClass"; "infoTooltipMaxWidth": "infoTooltipMaxWidth"; "infoTooltipPersistent": "infoTooltipPersistent"; "infoTooltipPosition": "infoTooltipPosition"; "appearance": "appearance"; "value": "value"; }, { "valueChanged": "valueChanged"; "focused": "focused"; "prefixIconClicked": "prefixIconClicked"; "blurred": "blurred"; "cleared": "cleared"; "enterClicked": "enterClicked"; }, never, never, true, never>;
|
|
67
69
|
}
|
|
@@ -11,8 +11,11 @@ export type CpsMenuItem = {
|
|
|
11
11
|
action?: (event?: any) => void;
|
|
12
12
|
icon?: string;
|
|
13
13
|
desc?: string;
|
|
14
|
+
url?: string;
|
|
15
|
+
target?: string;
|
|
14
16
|
disabled?: boolean;
|
|
15
17
|
};
|
|
18
|
+
export type CpsMenuAttachPosition = 'tr' | 'br' | 'tl' | 'bl' | 'default';
|
|
16
19
|
export declare class CpsMenuComponent implements AfterViewInit, OnDestroy {
|
|
17
20
|
private document;
|
|
18
21
|
private platformId;
|
|
@@ -45,6 +48,7 @@ export declare class CpsMenuComponent implements AfterViewInit, OnDestroy {
|
|
|
45
48
|
selfClick: boolean;
|
|
46
49
|
target: any;
|
|
47
50
|
scrollHandler: Nullable<ConnectedOverlayScrollHandler>;
|
|
51
|
+
position: CpsMenuAttachPosition;
|
|
48
52
|
documentResizeListener: VoidListener | null;
|
|
49
53
|
overlayEventListener: Nullable<(event?: any) => void>;
|
|
50
54
|
documentClickListener: VoidListener | null;
|
|
@@ -54,8 +58,8 @@ export declare class CpsMenuComponent implements AfterViewInit, OnDestroy {
|
|
|
54
58
|
targetResizeObserver: ResizeObserver;
|
|
55
59
|
constructor(document: Document, platformId: any, el: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef, zone: NgZone, config: PrimeNGConfig, overlayService: OverlayService);
|
|
56
60
|
ngAfterViewInit(): void;
|
|
57
|
-
toggle(event?: any, target?: any): void;
|
|
58
|
-
show(event?: any, target?: any): void;
|
|
61
|
+
toggle(event?: any, target?: any, pos?: CpsMenuAttachPosition): void;
|
|
62
|
+
show(event?: any, target?: any, pos?: CpsMenuAttachPosition): void;
|
|
59
63
|
hide(): void;
|
|
60
64
|
isVisible(): boolean;
|
|
61
65
|
onItemClick(event: any, item: CpsMenuItem): void;
|
|
@@ -68,6 +72,7 @@ export declare class CpsMenuComponent implements AfterViewInit, OnDestroy {
|
|
|
68
72
|
hasTargetChanged(event?: any, target?: any): any;
|
|
69
73
|
appendContainer(): void;
|
|
70
74
|
restoreAppend(): void;
|
|
75
|
+
private _setPosition;
|
|
71
76
|
align(): void;
|
|
72
77
|
onAnimationStart(event: AnimationEvent): void;
|
|
73
78
|
onAnimationEnd(event: AnimationEvent): void;
|
|
@@ -5,6 +5,7 @@ import { VirtualScroller } from 'primeng/virtualscroller';
|
|
|
5
5
|
import { TooltipPosition } from '../../directives/cps-tooltip.directive';
|
|
6
6
|
import { CpsMenuComponent } from '../cps-menu/cps-menu.component';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
+
export type CpsSelectAppearanceType = 'outlined' | 'underlined' | 'borderless';
|
|
8
9
|
export declare class CpsSelectComponent implements ControlValueAccessor, OnInit, AfterViewInit, OnDestroy {
|
|
9
10
|
private _control;
|
|
10
11
|
label: string;
|
|
@@ -35,6 +36,7 @@ export declare class CpsSelectComponent implements ControlValueAccessor, OnInit,
|
|
|
35
36
|
infoTooltipPersistent: boolean;
|
|
36
37
|
infoTooltipPosition: TooltipPosition;
|
|
37
38
|
optionsClass: string;
|
|
39
|
+
appearance: CpsSelectAppearanceType;
|
|
38
40
|
_value: any;
|
|
39
41
|
set value(value: any);
|
|
40
42
|
get value(): any;
|
|
@@ -82,5 +84,5 @@ export declare class CpsSelectComponent implements ControlValueAccessor, OnInit,
|
|
|
82
84
|
onBlur(): void;
|
|
83
85
|
focus(): void;
|
|
84
86
|
static ɵfac: i0.ɵɵFactoryDeclaration<CpsSelectComponent, [{ optional: true; self: true; }]>;
|
|
85
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CpsSelectComponent, "cps-select", never, { "label": "label"; "placeholder": "placeholder"; "hint": "hint"; "returnObject": "returnObject"; "multiple": "multiple"; "disabled": "disabled"; "width": "width"; "selectAll": "selectAll"; "chips": "chips"; "closableChips": "closableChips"; "clearable": "clearable"; "openOnClear": "openOnClear"; "options": "options"; "optionLabel": "optionLabel"; "optionValue": "optionValue"; "optionInfo": "optionInfo"; "hideDetails": "hideDetails"; "persistentClear": "persistentClear"; "prefixIcon": "prefixIcon"; "prefixIconSize": "prefixIconSize"; "loading": "loading"; "virtualScroll": "virtualScroll"; "infoTooltip": "infoTooltip"; "infoTooltipClass": "infoTooltipClass"; "infoTooltipMaxWidth": "infoTooltipMaxWidth"; "infoTooltipPersistent": "infoTooltipPersistent"; "infoTooltipPosition": "infoTooltipPosition"; "optionsClass": "optionsClass"; "_value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
|
|
87
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CpsSelectComponent, "cps-select", never, { "label": "label"; "placeholder": "placeholder"; "hint": "hint"; "returnObject": "returnObject"; "multiple": "multiple"; "disabled": "disabled"; "width": "width"; "selectAll": "selectAll"; "chips": "chips"; "closableChips": "closableChips"; "clearable": "clearable"; "openOnClear": "openOnClear"; "options": "options"; "optionLabel": "optionLabel"; "optionValue": "optionValue"; "optionInfo": "optionInfo"; "hideDetails": "hideDetails"; "persistentClear": "persistentClear"; "prefixIcon": "prefixIcon"; "prefixIconSize": "prefixIconSize"; "loading": "loading"; "virtualScroll": "virtualScroll"; "infoTooltip": "infoTooltip"; "infoTooltipClass": "infoTooltipClass"; "infoTooltipMaxWidth": "infoTooltipMaxWidth"; "infoTooltipPersistent": "infoTooltipPersistent"; "infoTooltipPosition": "infoTooltipPosition"; "optionsClass": "optionsClass"; "appearance": "appearance"; "_value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
|
|
86
88
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OnInit, QueryList } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { CpsMenuComponent, CpsMenuItem } from '../cps-menu/cps-menu.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export type CpsSidebarMenuItem = {
|
|
6
|
+
title: string;
|
|
7
|
+
icon: string;
|
|
8
|
+
url?: string;
|
|
9
|
+
target?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
items?: CpsMenuItem[];
|
|
12
|
+
};
|
|
13
|
+
export declare class CpsSidebarMenuComponent implements OnInit {
|
|
14
|
+
private _router;
|
|
15
|
+
items: CpsSidebarMenuItem[];
|
|
16
|
+
expanded: boolean;
|
|
17
|
+
height: string;
|
|
18
|
+
allMenus?: QueryList<CpsMenuComponent>;
|
|
19
|
+
showLabel: boolean;
|
|
20
|
+
constructor(_router: Router);
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
toggleMenu(event: any, menu: CpsMenuComponent): void;
|
|
23
|
+
isActive(item: CpsSidebarMenuItem): boolean;
|
|
24
|
+
toggleSidebar(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CpsSidebarMenuComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CpsSidebarMenuComponent, "cps-sidebar-menu", never, { "items": "items"; "expanded": "expanded"; "height": "height"; }, {}, never, never, true, never>;
|
|
27
|
+
}
|
|
@@ -3,10 +3,12 @@ import { NgControl } from '@angular/forms';
|
|
|
3
3
|
import { TreeNode } from 'primeng/api';
|
|
4
4
|
import { CpsTreeDropdownBaseComponent } from '../../base_components/cps-tree-dropdown-base.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
export type CpsTreeAutocompleteAppearanceType = 'outlined' | 'underlined' | 'borderless';
|
|
6
7
|
export declare class CpsTreeAutocompleteComponent extends CpsTreeDropdownBaseComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
7
8
|
control: NgControl;
|
|
8
9
|
cdRef: ChangeDetectorRef;
|
|
9
10
|
emptyMessage: string;
|
|
11
|
+
appearance: CpsTreeAutocompleteAppearanceType;
|
|
10
12
|
inputText: string;
|
|
11
13
|
backspaceClickedOnce: boolean;
|
|
12
14
|
activeSingle: boolean;
|
|
@@ -33,5 +35,5 @@ export declare class CpsTreeAutocompleteComponent extends CpsTreeDropdownBaseCom
|
|
|
33
35
|
private _confirmInput;
|
|
34
36
|
private _removeLastValue;
|
|
35
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<CpsTreeAutocompleteComponent, [{ optional: true; }, null]>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CpsTreeAutocompleteComponent, "cps-tree-autocomplete", never, { "emptyMessage": "emptyMessage"; }, {}, never, never, true, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CpsTreeAutocompleteComponent, "cps-tree-autocomplete", never, { "emptyMessage": "emptyMessage"; "appearance": "appearance"; }, {}, never, never, true, never>;
|
|
37
39
|
}
|
|
@@ -2,9 +2,11 @@ import { AfterViewInit, ChangeDetectorRef, OnDestroy, OnInit } from '@angular/co
|
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
3
|
import { CpsTreeDropdownBaseComponent } from '../../base_components/cps-tree-dropdown-base.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
export type CpsTreeSelectAppearanceType = 'outlined' | 'underlined' | 'borderless';
|
|
5
6
|
export declare class CpsTreeSelectComponent extends CpsTreeDropdownBaseComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
6
7
|
control: NgControl;
|
|
7
8
|
cdRef: ChangeDetectorRef;
|
|
9
|
+
appearance: CpsTreeSelectAppearanceType;
|
|
8
10
|
constructor(control: NgControl, cdRef: ChangeDetectorRef);
|
|
9
11
|
ngOnInit(): void;
|
|
10
12
|
ngAfterViewInit(): void;
|
|
@@ -13,5 +15,5 @@ export declare class CpsTreeSelectComponent extends CpsTreeDropdownBaseComponent
|
|
|
13
15
|
onBoxClick(): void;
|
|
14
16
|
onKeyDown(event: any): void;
|
|
15
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<CpsTreeSelectComponent, [{ optional: true; }, null]>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CpsTreeSelectComponent, "cps-tree-select", never, {}, {}, never, never, true, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CpsTreeSelectComponent, "cps-tree-select", never, { "appearance": "appearance"; }, {}, never, never, true, never>;
|
|
17
19
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export * from './lib/components/cps-expansion-panel/cps-expansion-panel.componen
|
|
|
21
21
|
export * from './lib/components/cps-progress-circular/cps-progress-circular.component';
|
|
22
22
|
export * from './lib/components/cps-progress-linear/cps-progress-linear.component';
|
|
23
23
|
export * from './lib/components/cps-datepicker/cps-datepicker.component';
|
|
24
|
+
export * from './lib/components/cps-sidebar-menu/cps-sidebar-menu.component';
|
|
24
25
|
export * from './lib/components/cps-textarea/cps-textarea.component';
|
|
25
26
|
export * from './lib/components/cps-button-toggle/cps-button-toggle.component';
|
|
26
27
|
export * from './lib/components/cps-tab-group/cps-tab-group.component';
|
package/styles/styles.scss
CHANGED
package/styles/variables.scss
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import '
|
|
1
|
+
@import 'colors.scss';
|
|
File without changes
|