@colijnit/corecomponents_v12 261.20.5 → 261.20.6
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.
|
@@ -11676,6 +11676,7 @@ class BaseSimpleGridComponent {
|
|
|
11676
11676
|
deleteRow = new EventEmitter();
|
|
11677
11677
|
addRow = new EventEmitter();
|
|
11678
11678
|
rowVisible = new EventEmitter();
|
|
11679
|
+
paginationPageChange = new EventEmitter();
|
|
11679
11680
|
handleMouseMove(event) {
|
|
11680
11681
|
if (this.resizable && event.buttons === 1 && this._columnForResize) {
|
|
11681
11682
|
// this._columnForResize.width = this._columnForResize.originalWidth - (this._startMousePositionX - event.clientX);
|
|
@@ -11789,7 +11790,7 @@ class BaseSimpleGridComponent {
|
|
|
11789
11790
|
});
|
|
11790
11791
|
}
|
|
11791
11792
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: BaseSimpleGridComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
11792
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: BaseSimpleGridComponent, isStandalone: true, inputs: { data: "data", exportData: "exportData", dragDropEnabled: "dragDropEnabled", resizable: "resizable", inlineEdit: "inlineEdit", showEdit: "showEdit", showToolbar: "showToolbar", autoAddRow: "autoAddRow", emitDragDrop: "emitDragDrop", extraColumns: "extraColumns" }, outputs: { onDrop: "onDrop", selectRow: "selectRow", deselectRow: "deselectRow", dblClickRow: "dblClickRow", saveRow: "saveRow", deleteRow: "deleteRow", addRow: "addRow", rowVisible: "rowVisible" }, host: { listeners: { "document:mousemove": "handleMouseMove($event)", "document:mouseup": "handleMouseUp($event)" } }, queries: [{ propertyName: "content", predicate: SimpleGridColumnDirective }], ngImport: i0 });
|
|
11793
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: BaseSimpleGridComponent, isStandalone: true, inputs: { data: "data", exportData: "exportData", dragDropEnabled: "dragDropEnabled", resizable: "resizable", inlineEdit: "inlineEdit", showEdit: "showEdit", showToolbar: "showToolbar", autoAddRow: "autoAddRow", emitDragDrop: "emitDragDrop", extraColumns: "extraColumns" }, outputs: { onDrop: "onDrop", selectRow: "selectRow", deselectRow: "deselectRow", dblClickRow: "dblClickRow", saveRow: "saveRow", deleteRow: "deleteRow", addRow: "addRow", rowVisible: "rowVisible", paginationPageChange: "paginationPageChange" }, host: { listeners: { "document:mousemove": "handleMouseMove($event)", "document:mouseup": "handleMouseUp($event)" } }, queries: [{ propertyName: "content", predicate: SimpleGridColumnDirective }], ngImport: i0 });
|
|
11793
11794
|
}
|
|
11794
11795
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: BaseSimpleGridComponent, decorators: [{
|
|
11795
11796
|
type: Directive
|
|
@@ -11832,6 +11833,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
11832
11833
|
type: Output
|
|
11833
11834
|
}], rowVisible: [{
|
|
11834
11835
|
type: Output
|
|
11836
|
+
}], paginationPageChange: [{
|
|
11837
|
+
type: Output
|
|
11835
11838
|
}], handleMouseMove: [{
|
|
11836
11839
|
type: HostListener,
|
|
11837
11840
|
args: ['document:mousemove', ['$event']]
|
|
@@ -13159,9 +13162,9 @@ class SimpleGridComponent extends BaseSimpleGridComponent {
|
|
|
13159
13162
|
[currentPage]="currentPage"
|
|
13160
13163
|
[totalItems]="data.length"
|
|
13161
13164
|
[autoHide]="true"
|
|
13162
|
-
(previousClick)="goToPreviousPage()"
|
|
13163
|
-
(nextClick)="goToNextPage()"
|
|
13164
|
-
(pageClick)="setCurrentPage($event)">
|
|
13165
|
+
(previousClick)="goToPreviousPage(); this.paginationPageChange.emit()"
|
|
13166
|
+
(nextClick)="goToNextPage(); this.paginationPageChange.emit()"
|
|
13167
|
+
(pageClick)="setCurrentPage($event); this.paginationPageChange.emit()">
|
|
13165
13168
|
</co-pagination-bar>
|
|
13166
13169
|
}
|
|
13167
13170
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer", "cdkDropListHasAnchor"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i3.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "component", type: GridToolbarComponent, selector: "co-grid-toolbar", inputs: ["showEdit", "showAdd", "showDelete", "deleteEnabled"], outputs: ["editClick", "cancelClick", "saveClick", "addClick", "deleteClick"] }, { kind: "component", type: FormComponent, selector: "co-form", inputs: ["readonly", "keepInView"], outputs: ["onChange", "validSubmit", "anySubmit", "validityChange", "readonlyChange", "invalidSubmit"] }, { kind: "directive", type: ObserveVisibilityDirective, selector: "[observeVisibility]", inputs: ["threshold"], outputs: ["visibilityChange"], exportAs: ["visibilityObserve"] }, { kind: "component", type: PaginationBarComponent, selector: "co-pagination-bar", inputs: ["directionLinks", "previousLabel", "nextLabel", "currentPage", "itemsPerPage", "totalItems", "paginationRange", "autoHide"], outputs: ["previousClick", "nextClick", "pageClick"] }, { kind: "directive", type: ClickOutsideDirective, selector: "[clickOutside]", inputs: ["clickOutside", "alwaysTrigger"], outputs: ["clickOutside"], exportAs: ["clickOutside"] }, { kind: "component", type: ButtonComponent, selector: "co-button", inputs: ["label", "iconData", "iconDataRight", "isToggleButton", "isToggled", "hidden", "disabled"], outputs: ["onClick", "clickedWhileDisabled", "isToggledChange"] }, { kind: "component", type: IconComponent, selector: "co-icon", inputs: ["icon", "iconData"] }, { kind: "component", type: SimpleGridCellComponent, selector: "co-simple-grid-cell", inputs: ["editMode", "column", "row", "fieldEditMode"], outputs: ["cellClick"] }, { kind: "pipe", type: PaginatePipe, name: "paginate" }, { kind: "pipe", type: CoreLocalizePipe, name: "coreLocalize" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
@@ -13365,9 +13368,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
13365
13368
|
[currentPage]="currentPage"
|
|
13366
13369
|
[totalItems]="data.length"
|
|
13367
13370
|
[autoHide]="true"
|
|
13368
|
-
(previousClick)="goToPreviousPage()"
|
|
13369
|
-
(nextClick)="goToNextPage()"
|
|
13370
|
-
(pageClick)="setCurrentPage($event)">
|
|
13371
|
+
(previousClick)="goToPreviousPage(); this.paginationPageChange.emit()"
|
|
13372
|
+
(nextClick)="goToNextPage(); this.paginationPageChange.emit()"
|
|
13373
|
+
(pageClick)="setCurrentPage($event); this.paginationPageChange.emit()">
|
|
13371
13374
|
</co-pagination-bar>
|
|
13372
13375
|
}
|
|
13373
13376
|
`,
|