@colijnit/corecomponents_v12 262.1.10 → 262.1.12
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/colijnit-corecomponents_v12.mjs +241 -144
- package/fesm2022/colijnit-corecomponents_v12.mjs.map +1 -1
- package/index.d.ts +15 -2
- package/lib/components/list-of-values/style/_layout.scss +4 -0
- package/lib/components/list-of-values/style/_material-definition.scss +4 -0
- package/lib/components/list-of-values/style/_theme.scss +8 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1451,6 +1451,7 @@ declare class InputTextComponent extends BaseInputComponent<any> implements Afte
|
|
|
1451
1451
|
noStyle: boolean;
|
|
1452
1452
|
hideArrowButtons: boolean;
|
|
1453
1453
|
get isDate(): boolean;
|
|
1454
|
+
get hasValue(): boolean;
|
|
1454
1455
|
leftIconClick: EventEmitter<MouseEvent>;
|
|
1455
1456
|
leftIconMouseDown: EventEmitter<MouseEvent>;
|
|
1456
1457
|
leftIconMouseUp: EventEmitter<MouseEvent>;
|
|
@@ -1473,6 +1474,7 @@ declare class InputTextComponent extends BaseInputComponent<any> implements Afte
|
|
|
1473
1474
|
private _isLeftIconMouseDown;
|
|
1474
1475
|
private _isRightIconMouseDown;
|
|
1475
1476
|
constructor(formComponent: FormComponent, changeDetector: ChangeDetectorRef, overlayService: OverlayService, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
1477
|
+
ngAfterViewInit(): void;
|
|
1476
1478
|
handleLeftIconClick(event: MouseEvent): void;
|
|
1477
1479
|
handleLeftIconMouseDown(event: MouseEvent): void;
|
|
1478
1480
|
handleLeftIconMouseUp(event: MouseEvent): void;
|
|
@@ -1487,6 +1489,7 @@ declare class InputTextComponent extends BaseInputComponent<any> implements Afte
|
|
|
1487
1489
|
clearInput(event: MouseEvent): void;
|
|
1488
1490
|
handleKeyDownInput(event: KeyboardEvent): void;
|
|
1489
1491
|
private convertWeekToDate;
|
|
1492
|
+
private formatDateLocal;
|
|
1490
1493
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputTextComponent, [{ optional: true; }, null, null, null, null, null]>;
|
|
1491
1494
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputTextComponent, "co-input-text", never, { "useContent": { "alias": "useContent"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "align": { "alias": "align"; "required": false; }; "type": { "alias": "type"; "required": false; }; "formatPipe": { "alias": "formatPipe"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "digitsOnly": { "alias": "digitsOnly"; "required": false; }; "excludePlusMinus": { "alias": "excludePlusMinus"; "required": false; }; "showClearButton": { "alias": "showClearButton"; "required": false; }; "keyDownWhiteList": { "alias": "keyDownWhiteList"; "required": false; }; "showPlaceholderOnFocus": { "alias": "showPlaceholderOnFocus"; "required": false; }; "leftIcon": { "alias": "leftIcon"; "required": false; }; "rightIcon": { "alias": "rightIcon"; "required": false; }; "leftIconData": { "alias": "leftIconData"; "required": false; }; "rightIconData": { "alias": "rightIconData"; "required": false; }; "selectOnFocus": { "alias": "selectOnFocus"; "required": false; }; "emptyPlace": { "alias": "emptyPlace"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "noStyle": { "alias": "noStyle"; "required": false; }; "hideArrowButtons": { "alias": "hideArrowButtons"; "required": false; }; "model": { "alias": "model"; "required": false; }; }, { "leftIconClick": "leftIconClick"; "leftIconMouseDown": "leftIconMouseDown"; "leftIconMouseUp": "leftIconMouseUp"; "rightIconClick": "rightIconClick"; "rightIconMouseDown": "rightIconMouseDown"; "rightIconMouseUp": "rightIconMouseUp"; "clearIconClick": "clearIconClick"; "isFocused": "isFocused"; }, never, ["*"], false, never>;
|
|
1492
1495
|
}
|
|
@@ -2720,8 +2723,15 @@ declare class ViewModeButtonsModule {
|
|
|
2720
2723
|
static ɵinj: i0.ɵɵInjectorDeclaration<ViewModeButtonsModule>;
|
|
2721
2724
|
}
|
|
2722
2725
|
|
|
2726
|
+
interface LovHighlightPart {
|
|
2727
|
+
text: string;
|
|
2728
|
+
match: boolean;
|
|
2729
|
+
}
|
|
2730
|
+
|
|
2723
2731
|
declare class LovUtils {
|
|
2724
2732
|
static getDisplayValue(model: any, displayField: string): string;
|
|
2733
|
+
static getHighlightParts(value: string, term: string): LovHighlightPart[];
|
|
2734
|
+
private static _escapeRegExp;
|
|
2725
2735
|
}
|
|
2726
2736
|
|
|
2727
2737
|
declare class ListOfValuesComponent extends BaseInputComponent<any> implements OnInit {
|
|
@@ -2760,12 +2770,15 @@ declare class ListOfValuesComponent extends BaseInputComponent<any> implements O
|
|
|
2760
2770
|
isLoading: boolean;
|
|
2761
2771
|
private _collection;
|
|
2762
2772
|
private debounceTimeout;
|
|
2773
|
+
private _filterRequestId;
|
|
2763
2774
|
private _lovPopupComponentRef;
|
|
2764
2775
|
constructor(formComponent: FormComponent, iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, overlayService: OverlayService, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
2765
2776
|
ngOnInit(): void;
|
|
2777
|
+
get inputModel(): any;
|
|
2778
|
+
handleModelChange(model: string): void;
|
|
2766
2779
|
handleInputModelChange(model: string): void;
|
|
2767
2780
|
onModelChange(model: string): void;
|
|
2768
|
-
applyFilter(text: string): Promise<
|
|
2781
|
+
applyFilter(text: string, requestId?: number): Promise<void>;
|
|
2769
2782
|
handleInputKeyDown(event: KeyboardEvent): boolean;
|
|
2770
2783
|
clearModel(event: MouseEvent): void;
|
|
2771
2784
|
toggleSelect(): void;
|
|
@@ -2782,11 +2795,11 @@ declare class ListOfValuesComponent extends BaseInputComponent<any> implements O
|
|
|
2782
2795
|
interface lovViewModel {
|
|
2783
2796
|
checked: boolean;
|
|
2784
2797
|
model: any;
|
|
2798
|
+
highlightParts?: LovHighlightPart[];
|
|
2785
2799
|
}
|
|
2786
2800
|
declare class ListOfValuesPopupComponent implements OnInit {
|
|
2787
2801
|
iconCacheService: IconCacheService;
|
|
2788
2802
|
private _elementRef;
|
|
2789
|
-
readonly lovUtils: typeof LovUtils;
|
|
2790
2803
|
set lovItems(children: any);
|
|
2791
2804
|
dropDownList: ElementRef;
|
|
2792
2805
|
set inputSearch(component: InputSearchComponent);
|
|
@@ -172,6 +172,10 @@
|
|
|
172
172
|
border-bottom: none;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
+
.lov-highlight {
|
|
176
|
+
font-weight: $cc-co-list-of-values-highlight-font-weight;
|
|
177
|
+
}
|
|
178
|
+
|
|
175
179
|
.lov-options li:hover {
|
|
176
180
|
//color: $cc-co-list-of-values-lov-options-li-hover-text-color;
|
|
177
181
|
background-color: $cc-co-list-of-values-lov-options-li-hover;
|
|
@@ -23,6 +23,10 @@ $cc-co-list-of-values-lov-options-li-hover-text-color: $cc-color-input-lov !defa
|
|
|
23
23
|
$cc-co-list-of-values-lov-options-li-selected: $cc-color-grey !default;
|
|
24
24
|
$cc-co-list-of-values-lov-options-li-selected-text-color: $cc-color-input-lov !default;
|
|
25
25
|
|
|
26
|
+
$cc-co-list-of-values-highlight-font-weight: 700 !default;
|
|
27
|
+
$cc-co-list-of-values-highlight-background-color: transparent !default;
|
|
28
|
+
$cc-co-list-of-values-highlight-text-color: $cc-color-font !default;
|
|
29
|
+
|
|
26
30
|
$cc-co-list-of-values-multiselect-chips-padding: 0 10px 10px 10px !default;
|
|
27
31
|
$cc-co-list-of-values-multiselect-chips-column-gap: 5px !default;
|
|
28
32
|
$cc-co-list-of-values-multiselect-chips-row-gap: 2px !default;
|