@colijnit/corecomponents_v12 261.20.6 → 261.20.8
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 +634 -280
- package/fesm2022/colijnit-corecomponents_v12.mjs.map +1 -1
- package/index.d.ts +60 -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
|
|
|
@@ -2374,6 +2365,12 @@ declare class SimpleGridColumnDirective implements OnInit, OnDestroy, AfterConte
|
|
|
2374
2365
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SimpleGridColumnDirective, "co-simple-grid-column", never, { "headerText": { "alias": "headerText"; "required": false; }; "field": { "alias": "field"; "required": false; }; "codeField": { "alias": "codeField"; "required": false; }; "displayField": { "alias": "displayField"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; "format": { "alias": "format"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "required": { "alias": "required"; "required": false; }; "autoFit": { "alias": "autoFit"; "required": false; }; "isSelected": { "alias": "isSelected"; "required": false; }; "width": { "alias": "width"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "collection": { "alias": "collection"; "required": false; }; "order": { "alias": "order"; "required": false; }; "singleColumn": { "alias": "singleColumn"; "required": false; }; }, {}, ["templates"], never, false, never>;
|
|
2375
2366
|
}
|
|
2376
2367
|
|
|
2368
|
+
interface ExportColumn {
|
|
2369
|
+
key: string;
|
|
2370
|
+
header: string;
|
|
2371
|
+
width?: number;
|
|
2372
|
+
}
|
|
2373
|
+
|
|
2377
2374
|
declare abstract class BaseSimpleGridComponent {
|
|
2378
2375
|
protected changeDetection: ChangeDetectorRef;
|
|
2379
2376
|
readonly MIN_COLUMN_WIDTH: number;
|
|
@@ -2389,6 +2386,7 @@ declare abstract class BaseSimpleGridComponent {
|
|
|
2389
2386
|
showEdit: boolean;
|
|
2390
2387
|
showToolbar: boolean;
|
|
2391
2388
|
autoAddRow: boolean;
|
|
2389
|
+
useCustomExcelExport: boolean;
|
|
2392
2390
|
/**
|
|
2393
2391
|
* Should component emit drag and drop actions instead of handle
|
|
2394
2392
|
* (update collection) by itself
|
|
@@ -2407,6 +2405,10 @@ declare abstract class BaseSimpleGridComponent {
|
|
|
2407
2405
|
addRow: EventEmitter<void>;
|
|
2408
2406
|
rowVisible: EventEmitter<{}>;
|
|
2409
2407
|
paginationPageChange: EventEmitter<void>;
|
|
2408
|
+
customExcelExport: EventEmitter<{
|
|
2409
|
+
exportData: Object[];
|
|
2410
|
+
columns: ExportColumn[];
|
|
2411
|
+
}>;
|
|
2410
2412
|
handleMouseMove(event: MouseEvent): void;
|
|
2411
2413
|
handleMouseUp(event: MouseEvent): void;
|
|
2412
2414
|
columns: SimpleGridColumnDirective[];
|
|
@@ -2430,7 +2432,7 @@ declare abstract class BaseSimpleGridComponent {
|
|
|
2430
2432
|
private _resizeColumnsToFit;
|
|
2431
2433
|
private _setWidthOfAllColumns;
|
|
2432
2434
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseSimpleGridComponent, never>;
|
|
2433
|
-
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>;
|
|
2435
|
+
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; }; "useCustomExcelExport": { "alias": "useCustomExcelExport"; "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"; "customExcelExport": "customExcelExport"; }, ["content"], never, true, never>;
|
|
2434
2436
|
}
|
|
2435
2437
|
|
|
2436
2438
|
declare class SimpleGridComponent extends BaseSimpleGridComponent {
|
|
@@ -2756,7 +2758,6 @@ declare class ListOfValuesComponent extends BaseInputComponent<any> implements O
|
|
|
2756
2758
|
iconCacheService: IconCacheService;
|
|
2757
2759
|
protected changeDetector: ChangeDetectorRef;
|
|
2758
2760
|
protected overlayService: OverlayService;
|
|
2759
|
-
protected componentFactoryResolver: ComponentFactoryResolver;
|
|
2760
2761
|
protected formUserChangeListener?: FormInputUserModelChangeListenerService;
|
|
2761
2762
|
protected ngZoneWrapper?: NgZoneWrapperService;
|
|
2762
2763
|
elementRef?: ElementRef;
|
|
@@ -2788,7 +2789,7 @@ declare class ListOfValuesComponent extends BaseInputComponent<any> implements O
|
|
|
2788
2789
|
private _collection;
|
|
2789
2790
|
private debounceTimeout;
|
|
2790
2791
|
private _lovPopupComponentRef;
|
|
2791
|
-
constructor(formComponent: FormComponent, iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, overlayService: OverlayService,
|
|
2792
|
+
constructor(formComponent: FormComponent, iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, overlayService: OverlayService, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
2792
2793
|
ngOnInit(): void;
|
|
2793
2794
|
handleInputModelChange(model: string): void;
|
|
2794
2795
|
onModelChange(model: string): void;
|
|
@@ -2802,7 +2803,7 @@ declare class ListOfValuesComponent extends BaseInputComponent<any> implements O
|
|
|
2802
2803
|
closePopup(): void;
|
|
2803
2804
|
checkModel(): void;
|
|
2804
2805
|
private _setSelectedModel;
|
|
2805
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ListOfValuesComponent, [{ optional: true; }, null, null, null, null, null, null
|
|
2806
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListOfValuesComponent, [{ optional: true; }, null, null, null, null, null, null]>;
|
|
2806
2807
|
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>;
|
|
2807
2808
|
}
|
|
2808
2809
|
|
|
@@ -3589,12 +3590,44 @@ declare class TemplateWrapperModule {
|
|
|
3589
3590
|
|
|
3590
3591
|
declare const SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME: InjectionToken<ScreenConfigAdapterComponent>;
|
|
3591
3592
|
|
|
3593
|
+
declare class Color {
|
|
3594
|
+
colorCode: string;
|
|
3595
|
+
description: string;
|
|
3596
|
+
rgbColor: string;
|
|
3597
|
+
get cssColor(): string;
|
|
3598
|
+
constructor();
|
|
3599
|
+
getId(): string;
|
|
3600
|
+
getTransparentCssColor(opacity?: number): string;
|
|
3601
|
+
}
|
|
3602
|
+
|
|
3603
|
+
declare enum ColorSequenceName {
|
|
3604
|
+
Regular = "REGULAR",
|
|
3605
|
+
Variant = "VARIANT"
|
|
3606
|
+
}
|
|
3607
|
+
|
|
3608
|
+
declare class ColorSequence {
|
|
3609
|
+
colors: Color[];
|
|
3610
|
+
name: ColorSequenceName;
|
|
3611
|
+
addColor(color: Color): void;
|
|
3612
|
+
getColor(index: number): Color;
|
|
3613
|
+
getId(): string;
|
|
3614
|
+
getRandomColor(): Color;
|
|
3615
|
+
}
|
|
3616
|
+
|
|
3592
3617
|
declare class ColorSequenceService {
|
|
3593
3618
|
colors: Map<number, string>;
|
|
3619
|
+
private _colorSequences;
|
|
3620
|
+
private _regularColSeq;
|
|
3621
|
+
private _variantColSeq;
|
|
3622
|
+
private readonly _regularColorsRgb;
|
|
3623
|
+
private readonly _variantColorsRgb;
|
|
3624
|
+
constructor();
|
|
3625
|
+
getColorSequenceByName(sequenceName: ColorSequenceName): ColorSequence;
|
|
3594
3626
|
getRandomColor(id: number): string;
|
|
3595
3627
|
GetRandomColorWithSettings(h?: number[], s?: number[], l?: number[], a?: number[]): string;
|
|
3596
3628
|
GetRandomNumber(low: any, high: any): number;
|
|
3597
3629
|
GetHSLAColor(h: number, s: number, l: number, a: number): string;
|
|
3630
|
+
private _buildColorSequences;
|
|
3598
3631
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorSequenceService, never>;
|
|
3599
3632
|
static ɵprov: i0.ɵɵInjectableDeclaration<ColorSequenceService>;
|
|
3600
3633
|
}
|
|
@@ -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.8",
|
|
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",
|