@colijnit/corecomponents_v12 12.0.89 → 12.0.91
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/bundles/colijnit-corecomponents_v12.umd.js +9 -2
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/lib/components/input-combo-box/input-combo-box.component.js +9 -2
- package/esm2015/lib/components/simple-grid/base-simple-grid.component.js +3 -1
- package/esm2015/lib/components/simple-grid/simple-grid.component.js +2 -2
- package/fesm2015/colijnit-corecomponents_v12.js +11 -2
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/input-combo-box/input-combo-box.component.d.ts +4 -1
- package/lib/components/simple-grid/base-simple-grid.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -6593,6 +6593,8 @@
|
|
|
6593
6593
|
_this.formUserChangeListener = formUserChangeListener;
|
|
6594
6594
|
_this.ngZoneWrapper = ngZoneWrapper;
|
|
6595
6595
|
_this.elementRef = elementRef;
|
|
6596
|
+
_this.autofill = true;
|
|
6597
|
+
_this.allowFiltering = false;
|
|
6596
6598
|
_this.shopPopup = true;
|
|
6597
6599
|
_this.valueChange = new i0.EventEmitter();
|
|
6598
6600
|
_this.isSmall = false;
|
|
@@ -6612,7 +6614,7 @@
|
|
|
6612
6614
|
InputComboBoxComponent.decorators = [
|
|
6613
6615
|
{ type: i0.Component, args: [{
|
|
6614
6616
|
selector: "co-input-combo-box",
|
|
6615
|
-
template: "\n <ejs-combobox #combo [dataSource]=\"collection\"\n [fields]=\"fields\"\n [disabled]=\"readonly\"\n [placeholder]=\"placeholder\"\n [autofill]=\"
|
|
6617
|
+
template: "\n <ejs-combobox #combo [dataSource]=\"collection\"\n [fields]=\"fields\"\n [disabled]=\"readonly\"\n [placeholder]=\"placeholder\"\n [autofill]=\"autofill\"\n [ngModel]=\"model\"\n (ngModelChange)=\"modelChange.emit($event)\"\n (valueChange)=\"valueChange.emit($event)\"\n (focus)=\"onFocus()\"\n [popupWidth]=\"popupWidth\"\n [popupHeight]=\"popupHeight\"\n [filterType]=\"filterType\"\n [allowFiltering]=\"allowFiltering\"\n showClearButton=\"true\"\n floatLabelType=\"Auto\"\n >\n </ejs-combobox>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
|
|
6616
6618
|
providers: [{
|
|
6617
6619
|
provide: COMPONENT_INTERFACE_NAME,
|
|
6618
6620
|
useExisting: i0.forwardRef(function () { return InputComboBoxComponent; })
|
|
@@ -6633,6 +6635,9 @@
|
|
|
6633
6635
|
]; };
|
|
6634
6636
|
InputComboBoxComponent.propDecorators = {
|
|
6635
6637
|
combo: [{ type: i0.ViewChild, args: ["combo",] }],
|
|
6638
|
+
autofill: [{ type: i0.Input }],
|
|
6639
|
+
allowFiltering: [{ type: i0.Input }],
|
|
6640
|
+
filterType: [{ type: i0.Input }],
|
|
6636
6641
|
collection: [{ type: i0.Input }],
|
|
6637
6642
|
fields: [{ type: i0.Input }],
|
|
6638
6643
|
selected: [{ type: i0.Input }],
|
|
@@ -9748,6 +9753,7 @@
|
|
|
9748
9753
|
this.dragDropEnabled = false;
|
|
9749
9754
|
this.resizable = false;
|
|
9750
9755
|
this.inlineEdit = false;
|
|
9756
|
+
this.showEdit = false;
|
|
9751
9757
|
this.showToolbar = false;
|
|
9752
9758
|
this.autoAddRow = false;
|
|
9753
9759
|
/**
|
|
@@ -9893,6 +9899,7 @@
|
|
|
9893
9899
|
dragDropEnabled: [{ type: i0.Input }],
|
|
9894
9900
|
resizable: [{ type: i0.Input }],
|
|
9895
9901
|
inlineEdit: [{ type: i0.Input }],
|
|
9902
|
+
showEdit: [{ type: i0.Input }],
|
|
9896
9903
|
showToolbar: [{ type: i0.Input }],
|
|
9897
9904
|
autoAddRow: [{ type: i0.Input }],
|
|
9898
9905
|
emitDragDrop: [{ type: i0.Input }],
|
|
@@ -10210,7 +10217,7 @@
|
|
|
10210
10217
|
SimpleGridComponent.decorators = [
|
|
10211
10218
|
{ type: i0.Component, args: [{
|
|
10212
10219
|
selector: 'co-simple-grid',
|
|
10213
|
-
template: "\n <co-grid-toolbar *ngIf=\"showToolbar\" [class.right]=\"rightToolbar\"\n [showEdit]=\"
|
|
10220
|
+
template: "\n <co-grid-toolbar *ngIf=\"showToolbar\" [class.right]=\"rightToolbar\"\n [showEdit]=\"showEdit\"\n [showAdd]=\"showAdd\"\n [showDelete]=\"showDelete\"\n [deleteEnabled]=\"selectedRowIndex > -1\"\n (addClick)=\"addNewRow()\"\n (editClick)=\"editRow($event)\"\n (saveClick)=\"validateAndSave()\"\n (cancelClick)=\"cancelEditRow()\"\n (deleteClick)=\"removeRow()\"\n ></co-grid-toolbar>\n <table class=\"simple-grid-table\">\n <colgroup>\n <col *ngFor=\"let column of headerColumns; let index = index\"\n [class.simple-grid-column-auto-fit]=\"column.autoFit\"\n [style.width.px]=\"column.width\"\n [style.min-width.px]=\"MIN_COLUMN_WIDTH\">\n </colgroup>\n <thead>\n <tr>\n <th scope=\"col\" #headerCell class=\"simple-grid-column-header\" *ngFor=\"let column of headerColumns; let index = index\">\n <div class=\"simple-grid-column-header-wrapper\" [class.resizable]=\"resizable\"\n [ngClass]=\"column.textAlign ? column.textAlign : defaultTextAlign\">\n <ng-container *ngIf=\"column.headerTemplate; else noHeaderTemplate\">\n <ng-container [ngTemplateOutlet]=\"column.headerTemplate\"></ng-container>\n </ng-container>\n <ng-template #noHeaderTemplate>\n <div class=\"simple-grid-column-header-label\" [ngClass]=\"column.textAlign ? column.textAlign : defaultTextAlign\"\n [textContent]=\"column.headerText || ' '\"\n ></div>\n </ng-template>\n <div *ngIf=\"resizable && column.resizable\" class=\"simple-grid-column-sizer\"\n (mousedown)=\"handleSizerMouseDown($event, column)\"\n ></div>\n </div>\n </th>\n </tr>\n </thead>\n <tbody #dropList cdkDropList cdkDropListOrientation=\"vertical\"\n class=\"simple-grid-drag-drop-list\"\n [cdkDropListDisabled]=\"!dragDropEnabled\"\n [cdkDropListData]=\"data\"\n [cdkDropListEnterPredicate]=\"handleCanDragDrop\"\n (cdkDropListDropped)=\"handleDrop($event)\">\n <tr class=\"simple-grid-row\" [class.selected]=\"rowIndex === selectedRowIndex && !editing\" observeVisibility\n [class.editing]=\"rowIndex === editRowIndex\" *ngFor=\"let row of (!!rowsPerPage ? (data | paginate: {itemsPerPage: rowsPerPage, currentPage: currentPage}) : data); last as last; let rowIndex = index\" cdkDrag\n (click)=\"handleClickRow($event, rowIndex)\" (dblclick)=\"handleDblClickRow($event, rowIndex)\" (visible)=\"rowVisible.next(row)\">\n <co-form class=\"simple-grid-row-form\">\n <ng-container *ngIf=\"isSingleColumnRow(row)\">\n <td class=\"simple-grid-single-column-cell\" [attr.colspan]=\"headerColumns.length\">\n <co-simple-grid-cell\n [column]=\"columns[singleColumnIndex(row)]\"\n [row]=\"row\"\n [editMode]=\"false\"\n ></co-simple-grid-cell>\n </td>\n </ng-container>\n <ng-container *ngIf=\"!isSingleColumnRow(row)\">\n <ng-container *ngFor=\"let column of headerColumns; let columnIndex = index\">\n <td class=\"simple-grid-column-cell\" *ngIf=\"columnIndex !== singleColumnIndex(row)\">\n <co-simple-grid-cell\n [column]=\"column\"\n [row]=\"row\"\n [editMode]=\"inlineEdit && editing && rowIndex === editRowIndex\"\n [fieldEditMode]=\"editCellIndex === columnIndex\"\n (cellClick)=\"handleCellClick(columnIndex)\"\n ></co-simple-grid-cell>\n <div *ngIf=\"column.resizable\" class=\"simple-grid-column-sizer-placeholder\"></div>\n </td>\n </ng-container>\n </ng-container>\n </co-form>\n </tr>\n </tbody>\n </table>\n <co-pagination-bar *ngIf=\"data?.length > rowsPerPage\" class=\"pagination-bar\"\n [itemsPerPage]=\"rowsPerPage\"\n [currentPage]=\"currentPage\"\n [totalItems]=\"data.length\"\n [autoHide]=\"true\"\n (previousClick)=\"goToPreviousPage()\"\n (nextClick)=\"goToNextPage()\"\n (pageClick)=\"setCurrentPage($event)\"\n ></co-pagination-bar>\n ",
|
|
10214
10221
|
providers: [
|
|
10215
10222
|
FormMasterService
|
|
10216
10223
|
],
|