@colijnit/corecomponents_v12 261.20.5 → 261.20.7
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 +584 -239
- package/fesm2022/colijnit-corecomponents_v12.mjs.map +1 -1
- package/index.d.ts +50 -27
- package/lib/components/input-text-chips/style/_layout.scss +76 -0
- package/lib/components/input-text-chips/style/_material-definition.scss +13 -0
- package/lib/components/input-text-chips/style/_theme.scss +4 -0
- package/lib/components/input-text-chips/style/material.scss +4 -0
- package/lib/style/_input.mixins.scss +19 -1
- package/lib/style/_variables.scss +1 -1
- package/package.json +5 -5
package/index.d.ts
CHANGED
|
@@ -440,7 +440,6 @@ declare class OverlayService {
|
|
|
440
440
|
*/
|
|
441
441
|
declare abstract class BaseInputComponent<T> implements OnInit, OnDestroy, AfterViewInit, ScreenConfigAdapterComponent {
|
|
442
442
|
protected changeDetector: ChangeDetectorRef;
|
|
443
|
-
protected componentFactoryResolver: ComponentFactoryResolver;
|
|
444
443
|
protected overlayService: OverlayService;
|
|
445
444
|
protected formUserChangeListener?: FormInputUserModelChangeListenerService;
|
|
446
445
|
protected ngZoneWrapper?: NgZoneWrapperService;
|
|
@@ -561,7 +560,7 @@ declare abstract class BaseInputComponent<T> implements OnInit, OnDestroy, After
|
|
|
561
560
|
private _canSaveOrCancel;
|
|
562
561
|
private _commitButtonsComponentRef;
|
|
563
562
|
private _validationComponentRef;
|
|
564
|
-
constructor(changeDetector: ChangeDetectorRef,
|
|
563
|
+
constructor(changeDetector: ChangeDetectorRef, overlayService: OverlayService, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
565
564
|
ngOnInit(): void;
|
|
566
565
|
ngAfterViewInit(): void;
|
|
567
566
|
ngOnDestroy(): void;
|
|
@@ -613,7 +612,7 @@ declare abstract class BaseInputComponent<T> implements OnInit, OnDestroy, After
|
|
|
613
612
|
protected _handleKeyDown(event: KeyboardEvent): Promise<any>;
|
|
614
613
|
private _createNewFocusEvent;
|
|
615
614
|
private _setFocusOnNextPossibleInput;
|
|
616
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseInputComponent<any>, [null, null,
|
|
615
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseInputComponent<any>, [null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
617
616
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseInputComponent<any>, never, never, { "showSaveCancel": { "alias": "showSaveCancel"; "required": false; }; "model": { "alias": "model"; "required": false; }; "label": { "alias": "label"; "required": false; }; "noValidation": { "alias": "noValidation"; "required": false; }; "initFocus": { "alias": "initFocus"; "required": false; }; "noClickFocus": { "alias": "noClickFocus"; "required": false; }; "businessObjectId": { "alias": "businessObjectId"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "forcedMaxLength": { "alias": "forcedMaxLength"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "forceReadonly": { "alias": "forceReadonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "forceRequired": { "alias": "forceRequired"; "required": false; }; "validators": { "alias": "validators"; "required": false; }; "asyncValidators": { "alias": "asyncValidators"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "decimals": { "alias": "decimals"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "customCssClass": { "alias": "customCssClass"; "required": false; }; "redErrorBackground": { "alias": "redErrorBackground"; "required": false; }; "myFormInputInstance": { "alias": "myFormInputInstance"; "required": false; }; "commitOnBlur": { "alias": "commitOnBlur"; "required": false; }; "customWidth": { "alias": "customWidth"; "required": false; }; "customHeight": { "alias": "customHeight"; "required": false; }; "noTriangleGraphic": { "alias": "noTriangleGraphic"; "required": false; }; "keepFocussed": { "alias": "keepFocussed"; "required": false; }; "halfWidth": { "alias": "halfWidth"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "excludeUserModelChange": { "alias": "excludeUserModelChange"; "required": false; }; "noFormGroupControl": { "alias": "noFormGroupControl"; "required": false; }; }, { "nativeBlur": "nativeBlur"; "blur": "blur"; "enter": "enter"; "focus": "focus"; "keyDown": "keyDown"; "keyUp": "keyUp"; "modelChange": "modelChange"; "selectedValueChange": "selectedValueChange"; "userModelChange": "userModelChange"; "hiddenChange": "hiddenChange"; "cancelClicked": "cancelClicked"; }, never, never, true, never>;
|
|
618
617
|
static ɵprov: i0.ɵɵInjectableDeclaration<BaseInputComponent<any>>;
|
|
619
618
|
}
|
|
@@ -1345,10 +1344,8 @@ declare enum FilterItemMode {
|
|
|
1345
1344
|
|
|
1346
1345
|
declare class InputCheckboxComponent extends BaseInputComponent<boolean> {
|
|
1347
1346
|
formComponent: FormComponent;
|
|
1348
|
-
iconCacheService: IconCacheService;
|
|
1349
1347
|
protected changeDetector: ChangeDetectorRef;
|
|
1350
1348
|
protected overlayService: OverlayService;
|
|
1351
|
-
protected componentFactoryResolver: ComponentFactoryResolver;
|
|
1352
1349
|
protected formUserChangeListener?: FormInputUserModelChangeListenerService;
|
|
1353
1350
|
protected ngZoneWrapper?: NgZoneWrapperService;
|
|
1354
1351
|
elementRef?: ElementRef;
|
|
@@ -1357,9 +1354,9 @@ declare class InputCheckboxComponent extends BaseInputComponent<boolean> {
|
|
|
1357
1354
|
modelChange: EventEmitter<boolean>;
|
|
1358
1355
|
showClass(): boolean;
|
|
1359
1356
|
handleClick(event: MouseEvent): void;
|
|
1360
|
-
constructor(formComponent: FormComponent,
|
|
1357
|
+
constructor(formComponent: FormComponent, changeDetector: ChangeDetectorRef, overlayService: OverlayService, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
1361
1358
|
handleModelChange(event: MouseEvent): void;
|
|
1362
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputCheckboxComponent, [{ optional: true; }, null, null, null, null, null
|
|
1359
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputCheckboxComponent, [{ optional: true; }, null, null, null, null, null]>;
|
|
1363
1360
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputCheckboxComponent, "co-input-checkbox", never, { "cssClass": { "alias": "cssClass"; "required": false; }; "clickableLabel": { "alias": "clickableLabel"; "required": false; }; }, { "modelChange": "modelChange"; }, never, never, false, never>;
|
|
1364
1361
|
}
|
|
1365
1362
|
|
|
@@ -1393,7 +1390,6 @@ declare class InputDatePickerComponent extends BaseInputDatePickerDirective {
|
|
|
1393
1390
|
formComponent: FormComponent;
|
|
1394
1391
|
protected changeDetector: ChangeDetectorRef;
|
|
1395
1392
|
protected overlayService: OverlayService;
|
|
1396
|
-
protected componentFactoryResolver: ComponentFactoryResolver;
|
|
1397
1393
|
protected formUserChangeListener?: FormInputUserModelChangeListenerService;
|
|
1398
1394
|
protected ngZoneWrapper?: NgZoneWrapperService;
|
|
1399
1395
|
elementRef?: ElementRef;
|
|
@@ -1402,7 +1398,7 @@ declare class InputDatePickerComponent extends BaseInputDatePickerDirective {
|
|
|
1402
1398
|
firstDayOfWeek: string;
|
|
1403
1399
|
showClearButton: boolean;
|
|
1404
1400
|
showClass(): boolean;
|
|
1405
|
-
constructor(formComponent: FormComponent, changeDetector: ChangeDetectorRef, overlayService: OverlayService,
|
|
1401
|
+
constructor(formComponent: FormComponent, changeDetector: ChangeDetectorRef, overlayService: OverlayService, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
1406
1402
|
handleDateSelected(date: Date): void;
|
|
1407
1403
|
toggleCalendar(show: boolean): void;
|
|
1408
1404
|
finalizeDate(): void;
|
|
@@ -1412,7 +1408,7 @@ declare class InputDatePickerComponent extends BaseInputDatePickerDirective {
|
|
|
1412
1408
|
protected modelSet(): void;
|
|
1413
1409
|
private setModelAsString;
|
|
1414
1410
|
handleClearIconClicked(): void;
|
|
1415
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputDatePickerComponent, [{ optional: true; }, null, null, null, null, null
|
|
1411
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputDatePickerComponent, [{ optional: true; }, null, null, null, null, null]>;
|
|
1416
1412
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputDatePickerComponent, "co-input-date", never, { "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "showClearButton": { "alias": "showClearButton"; "required": false; }; }, {}, never, never, false, never>;
|
|
1417
1413
|
}
|
|
1418
1414
|
|
|
@@ -1490,10 +1486,8 @@ declare enum KeyboardCode {
|
|
|
1490
1486
|
|
|
1491
1487
|
declare class InputTextComponent extends BaseInputComponent<any> implements AfterViewInit {
|
|
1492
1488
|
formComponent: FormComponent;
|
|
1493
|
-
protected injector: Injector;
|
|
1494
1489
|
protected changeDetector: ChangeDetectorRef;
|
|
1495
1490
|
protected overlayService: OverlayService;
|
|
1496
|
-
protected componentFactoryResolver: ComponentFactoryResolver;
|
|
1497
1491
|
protected formUserChangeListener?: FormInputUserModelChangeListenerService;
|
|
1498
1492
|
protected ngZoneWrapper?: NgZoneWrapperService;
|
|
1499
1493
|
elementRef?: ElementRef;
|
|
@@ -1541,7 +1535,7 @@ declare class InputTextComponent extends BaseInputComponent<any> implements Afte
|
|
|
1541
1535
|
isWeekInputMode: boolean;
|
|
1542
1536
|
private _isLeftIconMouseDown;
|
|
1543
1537
|
private _isRightIconMouseDown;
|
|
1544
|
-
constructor(formComponent: FormComponent,
|
|
1538
|
+
constructor(formComponent: FormComponent, changeDetector: ChangeDetectorRef, overlayService: OverlayService, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
1545
1539
|
handleLeftIconClick(event: MouseEvent): void;
|
|
1546
1540
|
handleLeftIconMouseDown(event: MouseEvent): void;
|
|
1547
1541
|
handleLeftIconMouseUp(event: MouseEvent): void;
|
|
@@ -1556,7 +1550,7 @@ declare class InputTextComponent extends BaseInputComponent<any> implements Afte
|
|
|
1556
1550
|
clearInput(event: MouseEvent): void;
|
|
1557
1551
|
handleKeyDownInput(event: KeyboardEvent): void;
|
|
1558
1552
|
private convertWeekToDate;
|
|
1559
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputTextComponent, [{ optional: true; }, null, null, null, null, null
|
|
1553
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputTextComponent, [{ optional: true; }, null, null, null, null, null]>;
|
|
1560
1554
|
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>;
|
|
1561
1555
|
}
|
|
1562
1556
|
|
|
@@ -1982,7 +1976,6 @@ declare class InputNumberPickerComponent extends BaseInputComponent<number> impl
|
|
|
1982
1976
|
iconCacheService: IconCacheService;
|
|
1983
1977
|
protected overlayService: OverlayService;
|
|
1984
1978
|
private _ngZone;
|
|
1985
|
-
protected componentFactoryResolver: ComponentFactoryResolver;
|
|
1986
1979
|
protected ngZoneWrapper?: NgZoneWrapperService;
|
|
1987
1980
|
elementRef?: ElementRef;
|
|
1988
1981
|
set model(model: number);
|
|
@@ -2021,7 +2014,7 @@ declare class InputNumberPickerComponent extends BaseInputComponent<number> impl
|
|
|
2021
2014
|
private _autoCountTimeout;
|
|
2022
2015
|
private _stepIncrementTimeout;
|
|
2023
2016
|
private _startAutocountTimeout;
|
|
2024
|
-
constructor(formComponent: FormComponent, iconCacheService: IconCacheService, overlayService: OverlayService, _ngZone: NgZone,
|
|
2017
|
+
constructor(formComponent: FormComponent, iconCacheService: IconCacheService, overlayService: OverlayService, _ngZone: NgZone, changeDetector: ChangeDetectorRef, formUserChangeListener: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
2025
2018
|
ngOnInit(): void;
|
|
2026
2019
|
ngOnDestroy(): void;
|
|
2027
2020
|
doIncrementAuto(): void;
|
|
@@ -2038,7 +2031,7 @@ declare class InputNumberPickerComponent extends BaseInputComponent<number> impl
|
|
|
2038
2031
|
private _doIncreaseStepFactor;
|
|
2039
2032
|
private _getNextStepFactorMouseDown;
|
|
2040
2033
|
private _updateButtonsShowState;
|
|
2041
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputNumberPickerComponent, [{ optional: true; }, null, null, null, null, null, null, null
|
|
2034
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputNumberPickerComponent, [{ optional: true; }, null, null, null, null, null, null, null]>;
|
|
2042
2035
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputNumberPickerComponent, "co-input-number-picker", never, { "model": { "alias": "model"; "required": false; }; "modelChangeOnEnter": { "alias": "modelChangeOnEnter"; "required": false; }; "showPermanentLabel": { "alias": "showPermanentLabel"; "required": false; }; "leftIconData": { "alias": "leftIconData"; "required": false; }; "min": { "alias": "min"; "required": false; }; "step": { "alias": "step"; "required": false; }; "max": { "alias": "max"; "required": false; }; "ngModelOptions": { "alias": "ngModelOptions"; "required": false; }; "minusIcon": { "alias": "minusIcon"; "required": false; }; "plusIcon": { "alias": "plusIcon"; "required": false; }; "buttonShowMode": { "alias": "buttonShowMode"; "required": false; }; "noValidation": { "alias": "noValidation"; "required": false; }; "decimals": { "alias": "decimals"; "required": false; }; }, { "modelChange": "modelChange"; "iconClick": "iconClick"; }, never, never, false, never>;
|
|
2043
2036
|
}
|
|
2044
2037
|
|
|
@@ -2052,15 +2045,14 @@ declare class InputRadioButtonComponent extends BaseInputComponent<any> {
|
|
|
2052
2045
|
formComponent: FormComponent;
|
|
2053
2046
|
protected changeDetector: ChangeDetectorRef;
|
|
2054
2047
|
protected overlayService: OverlayService;
|
|
2055
|
-
protected componentFactoryResolver: ComponentFactoryResolver;
|
|
2056
2048
|
protected formUserChangeListener?: FormInputUserModelChangeListenerService;
|
|
2057
2049
|
protected ngZoneWrapper?: NgZoneWrapperService;
|
|
2058
2050
|
elementRef?: ElementRef;
|
|
2059
2051
|
get isModelSelected(): boolean;
|
|
2060
2052
|
showClass(): boolean;
|
|
2061
2053
|
handleClick(event: MouseEvent): void;
|
|
2062
|
-
constructor(formComponent: FormComponent, changeDetector: ChangeDetectorRef, overlayService: OverlayService,
|
|
2063
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputRadioButtonComponent, [{ optional: true; }, null, null, null, null, null
|
|
2054
|
+
constructor(formComponent: FormComponent, changeDetector: ChangeDetectorRef, overlayService: OverlayService, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
2055
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputRadioButtonComponent, [{ optional: true; }, null, null, null, null, null]>;
|
|
2064
2056
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputRadioButtonComponent, "co-input-radio-button", never, {}, {}, never, never, false, never>;
|
|
2065
2057
|
}
|
|
2066
2058
|
|
|
@@ -2101,15 +2093,14 @@ declare class InputTextareaComponent extends BaseInputComponent<any> implements
|
|
|
2101
2093
|
formComponent: FormComponent;
|
|
2102
2094
|
protected changeDetector: ChangeDetectorRef;
|
|
2103
2095
|
protected overlayService: OverlayService;
|
|
2104
|
-
protected componentFactoryResolver: ComponentFactoryResolver;
|
|
2105
2096
|
protected formUserChangeListener?: FormInputUserModelChangeListenerService;
|
|
2106
2097
|
protected ngZoneWrapper?: NgZoneWrapperService;
|
|
2107
2098
|
elementRef?: ElementRef;
|
|
2108
2099
|
placeholder: string;
|
|
2109
2100
|
showClass(): boolean;
|
|
2110
2101
|
hasOwnLabel: boolean;
|
|
2111
|
-
constructor(formComponent: FormComponent, changeDetector: ChangeDetectorRef, overlayService: OverlayService,
|
|
2112
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputTextareaComponent, [{ optional: true; }, null, null, null, null, null
|
|
2102
|
+
constructor(formComponent: FormComponent, changeDetector: ChangeDetectorRef, overlayService: OverlayService, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
2103
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputTextareaComponent, [{ optional: true; }, null, null, null, null, null]>;
|
|
2113
2104
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputTextareaComponent, "co-input-textarea", never, { "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, false, never>;
|
|
2114
2105
|
}
|
|
2115
2106
|
|
|
@@ -2406,6 +2397,7 @@ declare abstract class BaseSimpleGridComponent {
|
|
|
2406
2397
|
deleteRow: EventEmitter<{}>;
|
|
2407
2398
|
addRow: EventEmitter<void>;
|
|
2408
2399
|
rowVisible: EventEmitter<{}>;
|
|
2400
|
+
paginationPageChange: EventEmitter<void>;
|
|
2409
2401
|
handleMouseMove(event: MouseEvent): void;
|
|
2410
2402
|
handleMouseUp(event: MouseEvent): void;
|
|
2411
2403
|
columns: SimpleGridColumnDirective[];
|
|
@@ -2429,7 +2421,7 @@ declare abstract class BaseSimpleGridComponent {
|
|
|
2429
2421
|
private _resizeColumnsToFit;
|
|
2430
2422
|
private _setWidthOfAllColumns;
|
|
2431
2423
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseSimpleGridComponent, never>;
|
|
2432
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseSimpleGridComponent, never, never, { "data": { "alias": "data"; "required": false; }; "exportData": { "alias": "exportData"; "required": false; }; "dragDropEnabled": { "alias": "dragDropEnabled"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "inlineEdit": { "alias": "inlineEdit"; "required": false; }; "showEdit": { "alias": "showEdit"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "autoAddRow": { "alias": "autoAddRow"; "required": false; }; "emitDragDrop": { "alias": "emitDragDrop"; "required": false; }; "extraColumns": { "alias": "extraColumns"; "required": false; }; }, { "onDrop": "onDrop"; "selectRow": "selectRow"; "deselectRow": "deselectRow"; "dblClickRow": "dblClickRow"; "saveRow": "saveRow"; "deleteRow": "deleteRow"; "addRow": "addRow"; "rowVisible": "rowVisible"; }, ["content"], never, true, never>;
|
|
2424
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseSimpleGridComponent, never, never, { "data": { "alias": "data"; "required": false; }; "exportData": { "alias": "exportData"; "required": false; }; "dragDropEnabled": { "alias": "dragDropEnabled"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "inlineEdit": { "alias": "inlineEdit"; "required": false; }; "showEdit": { "alias": "showEdit"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "autoAddRow": { "alias": "autoAddRow"; "required": false; }; "emitDragDrop": { "alias": "emitDragDrop"; "required": false; }; "extraColumns": { "alias": "extraColumns"; "required": false; }; }, { "onDrop": "onDrop"; "selectRow": "selectRow"; "deselectRow": "deselectRow"; "dblClickRow": "dblClickRow"; "saveRow": "saveRow"; "deleteRow": "deleteRow"; "addRow": "addRow"; "rowVisible": "rowVisible"; "paginationPageChange": "paginationPageChange"; }, ["content"], never, true, never>;
|
|
2433
2425
|
}
|
|
2434
2426
|
|
|
2435
2427
|
declare class SimpleGridComponent extends BaseSimpleGridComponent {
|
|
@@ -2755,7 +2747,6 @@ declare class ListOfValuesComponent extends BaseInputComponent<any> implements O
|
|
|
2755
2747
|
iconCacheService: IconCacheService;
|
|
2756
2748
|
protected changeDetector: ChangeDetectorRef;
|
|
2757
2749
|
protected overlayService: OverlayService;
|
|
2758
|
-
protected componentFactoryResolver: ComponentFactoryResolver;
|
|
2759
2750
|
protected formUserChangeListener?: FormInputUserModelChangeListenerService;
|
|
2760
2751
|
protected ngZoneWrapper?: NgZoneWrapperService;
|
|
2761
2752
|
elementRef?: ElementRef;
|
|
@@ -2787,7 +2778,7 @@ declare class ListOfValuesComponent extends BaseInputComponent<any> implements O
|
|
|
2787
2778
|
private _collection;
|
|
2788
2779
|
private debounceTimeout;
|
|
2789
2780
|
private _lovPopupComponentRef;
|
|
2790
|
-
constructor(formComponent: FormComponent, iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, overlayService: OverlayService,
|
|
2781
|
+
constructor(formComponent: FormComponent, iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, overlayService: OverlayService, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
2791
2782
|
ngOnInit(): void;
|
|
2792
2783
|
handleInputModelChange(model: string): void;
|
|
2793
2784
|
onModelChange(model: string): void;
|
|
@@ -2801,7 +2792,7 @@ declare class ListOfValuesComponent extends BaseInputComponent<any> implements O
|
|
|
2801
2792
|
closePopup(): void;
|
|
2802
2793
|
checkModel(): void;
|
|
2803
2794
|
private _setSelectedModel;
|
|
2804
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ListOfValuesComponent, [{ optional: true; }, null, null, null, null, null, null
|
|
2795
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListOfValuesComponent, [{ optional: true; }, null, null, null, null, null, null]>;
|
|
2805
2796
|
static ɵcmp: i0.ɵɵComponentDeclaration<ListOfValuesComponent, "co-list-of-values", never, { "model": { "alias": "model"; "required": false; }; "multiselect": { "alias": "multiselect"; "required": false; }; "showToggleAll": { "alias": "showToggleAll"; "required": false; }; "largeCollection": { "alias": "largeCollection"; "required": false; }; "displayField": { "alias": "displayField"; "required": false; }; "optionIcon": { "alias": "optionIcon"; "required": false; }; "collection": { "alias": "collection"; "required": false; }; "collectionLoadFn": { "alias": "collectionLoadFn"; "required": false; }; "collectionLoadFnProp": { "alias": "collectionLoadFnProp"; "required": false; }; "leftIconData": { "alias": "leftIconData"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "searchDisabled": { "alias": "searchDisabled"; "required": false; }; "showChips": { "alias": "showChips"; "required": false; }; }, {}, never, never, false, never>;
|
|
2806
2797
|
}
|
|
2807
2798
|
|
|
@@ -3588,12 +3579,44 @@ declare class TemplateWrapperModule {
|
|
|
3588
3579
|
|
|
3589
3580
|
declare const SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME: InjectionToken<ScreenConfigAdapterComponent>;
|
|
3590
3581
|
|
|
3582
|
+
declare class Color {
|
|
3583
|
+
colorCode: string;
|
|
3584
|
+
description: string;
|
|
3585
|
+
rgbColor: string;
|
|
3586
|
+
get cssColor(): string;
|
|
3587
|
+
constructor();
|
|
3588
|
+
getId(): string;
|
|
3589
|
+
getTransparentCssColor(opacity?: number): string;
|
|
3590
|
+
}
|
|
3591
|
+
|
|
3592
|
+
declare enum ColorSequenceName {
|
|
3593
|
+
Regular = "REGULAR",
|
|
3594
|
+
Variant = "VARIANT"
|
|
3595
|
+
}
|
|
3596
|
+
|
|
3597
|
+
declare class ColorSequence {
|
|
3598
|
+
colors: Color[];
|
|
3599
|
+
name: ColorSequenceName;
|
|
3600
|
+
addColor(color: Color): void;
|
|
3601
|
+
getColor(index: number): Color;
|
|
3602
|
+
getId(): string;
|
|
3603
|
+
getRandomColor(): Color;
|
|
3604
|
+
}
|
|
3605
|
+
|
|
3591
3606
|
declare class ColorSequenceService {
|
|
3592
3607
|
colors: Map<number, string>;
|
|
3608
|
+
private _colorSequences;
|
|
3609
|
+
private _regularColSeq;
|
|
3610
|
+
private _variantColSeq;
|
|
3611
|
+
private readonly _regularColorsRgb;
|
|
3612
|
+
private readonly _variantColorsRgb;
|
|
3613
|
+
constructor();
|
|
3614
|
+
getColorSequenceByName(sequenceName: ColorSequenceName): ColorSequence;
|
|
3593
3615
|
getRandomColor(id: number): string;
|
|
3594
3616
|
GetRandomColorWithSettings(h?: number[], s?: number[], l?: number[], a?: number[]): string;
|
|
3595
3617
|
GetRandomNumber(low: any, high: any): number;
|
|
3596
3618
|
GetHSLAColor(h: number, s: number, l: number, a: number): string;
|
|
3619
|
+
private _buildColorSequences;
|
|
3597
3620
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorSequenceService, never>;
|
|
3598
3621
|
static ɵprov: i0.ɵɵInjectableDeclaration<ColorSequenceService>;
|
|
3599
3622
|
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
@include export-module('co-input-text-chips-layout') {
|
|
2
|
+
.co-input-text-chips {
|
|
3
|
+
display: block;
|
|
4
|
+
&:not(.no-style) {
|
|
5
|
+
@include input;
|
|
6
|
+
}
|
|
7
|
+
&.cc-input-focused {
|
|
8
|
+
@include focus($cc-input-focused-border-style, $cc-input-focused-border-width, $cc-input-focused-border-color, $cc-input-border-radius);
|
|
9
|
+
}
|
|
10
|
+
.chips-wrap {
|
|
11
|
+
padding: $co-input-text-chips-padding;
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-wrap: wrap;
|
|
14
|
+
align-items: center;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
cursor: text;
|
|
17
|
+
width: 100%;
|
|
18
|
+
gap: $co-input-text-chips-gap;
|
|
19
|
+
}
|
|
20
|
+
.co-chip-render {
|
|
21
|
+
margin: 0;
|
|
22
|
+
cursor: text; // because clicking on it would auto-select the text of that chip
|
|
23
|
+
.co-icon {
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.right-in-between {
|
|
29
|
+
flex-shrink: 0;
|
|
30
|
+
height: 30px;
|
|
31
|
+
width: 10px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.co-input-text {
|
|
35
|
+
height: 100%;
|
|
36
|
+
@include noBorderHover;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// chips
|
|
40
|
+
.co-chip-render {
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
white-space: nowrap;
|
|
44
|
+
padding: $co-input-text-chips-render-padding;
|
|
45
|
+
border-radius: $co-input-text-chips-render-border-radius;
|
|
46
|
+
height: $co-input-text-chips-render-height;
|
|
47
|
+
|
|
48
|
+
&.active {
|
|
49
|
+
background-color: $cc-color-action-accent;
|
|
50
|
+
}
|
|
51
|
+
&.inactive {
|
|
52
|
+
background-color: $cc-color-light-accent;
|
|
53
|
+
span.text {
|
|
54
|
+
color: $co-input-text-chips-render-inactive-font-color;
|
|
55
|
+
}
|
|
56
|
+
co-icon [fill] {
|
|
57
|
+
fill: $cc-color-dark;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
span.text {
|
|
62
|
+
color: $co-input-text-chips-render-font-color;
|
|
63
|
+
padding: $co-input-text-chips-render-padding;
|
|
64
|
+
user-select: none;
|
|
65
|
+
font-size: 13px;
|
|
66
|
+
border-right: 1px solid rgba(white, 0.5);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.co-icon {
|
|
70
|
+
width: $co-input-text-chips-render-icon-size;
|
|
71
|
+
height: $co-input-text-chips-render-icon-size;
|
|
72
|
+
margin: $co-input-text-chips-render-icon-margin;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
$co-input-text-chips-icon-size: 50px !default;
|
|
2
|
+
$co-input-text-chips-padding: 0 0 0 5px !default;
|
|
3
|
+
$co-input-text-chips-gap: 2px !default;
|
|
4
|
+
|
|
5
|
+
$co-input-text-chips-render-icon-size: 25px !default;
|
|
6
|
+
$co-input-text-chips-render-icon-margin: 0 3px 0 2px !default;
|
|
7
|
+
$co-input-text-chips-render-padding: 0 5px !default;
|
|
8
|
+
$co-input-text-chips-render-border-radius: 5px !default;
|
|
9
|
+
$co-input-text-chips-render-height: 30px !default;
|
|
10
|
+
$co-input-text-chips-render-font-color: $cc-color-light !default;
|
|
11
|
+
$co-input-text-chips-render-inactive-font-color: $cc-color-light !default;
|
|
12
|
+
|
|
13
|
+
$co-input-text-chips-distance-medium: 10px !default;
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
&:not(.read-only):hover {
|
|
81
|
+
&:not(.read-only):not(.no-hover-line):hover {
|
|
82
82
|
@include hover($cc-input-border-hover-style, $cc-input-border-hover-width, $cc-input-border-hover-color, $cc-input-border-radius);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
@@ -119,6 +119,24 @@
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
+
@mixin noBorderHover() {
|
|
123
|
+
&:before {
|
|
124
|
+
box-shadow: none;
|
|
125
|
+
}
|
|
126
|
+
&:hover {
|
|
127
|
+
border: none;
|
|
128
|
+
&:before {
|
|
129
|
+
box-shadow: none;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
&:focus {
|
|
133
|
+
border: none;
|
|
134
|
+
&:before {
|
|
135
|
+
box-shadow: none;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
122
140
|
.co-input-text.form-submitted.invalid.required:not(.hasvalue) {
|
|
123
141
|
.input-text-wrapper {
|
|
124
142
|
background-color: $cc-color-validation-error-background;
|
|
@@ -113,7 +113,7 @@ $cc-input-placeholder-font-style: normal !default;
|
|
|
113
113
|
$cc-input-width: 300px !default;
|
|
114
114
|
$cc-input-margin-left: 10px !default;
|
|
115
115
|
$cc-input-input-padding: 0 0 5px 10px !default;
|
|
116
|
-
$cc-input-content-padding:
|
|
116
|
+
$cc-input-content-padding: 30px 0 15px 0 !default;
|
|
117
117
|
$cc-input-margin-top: 16px !default;
|
|
118
118
|
$cc-input-show-focus-line: true !default;
|
|
119
119
|
$cc-input-focus-line-color: $cc-color-action !default;
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/corecomponents_v12",
|
|
3
|
-
"version": "261.20.
|
|
3
|
+
"version": "261.20.7",
|
|
4
4
|
"description": "Colijn IT core components for Angular 12",
|
|
5
5
|
"private": false,
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"@angular/common": ">=20.3.16",
|
|
8
8
|
"@angular/core": ">=20.3.16",
|
|
9
9
|
"@colijnit/ioneconnector": ">=261.1.0",
|
|
10
|
-
"@types/three": ">=0.166.0",
|
|
11
|
-
"@tweenjs/tween.js": ">=17.2.0",
|
|
12
|
-
"three": ">=0.166.1",
|
|
13
10
|
"xlsx": "^0.18.5"
|
|
14
11
|
},
|
|
15
12
|
"dependencies": {
|
|
13
|
+
"@tweenjs/tween.js": "^17.2.0",
|
|
16
14
|
"@types/hammerjs": "2.0.35",
|
|
15
|
+
"@types/three": "0.166.0",
|
|
16
|
+
"three": "0.166.1",
|
|
17
17
|
"tslib": "^2.3.0",
|
|
18
|
-
"hammerjs": "
|
|
18
|
+
"hammerjs": "2.0.8"
|
|
19
19
|
},
|
|
20
20
|
"module": "fesm2022/colijnit-corecomponents_v12.mjs",
|
|
21
21
|
"typings": "index.d.ts",
|