raise-common-lib 0.0.78 → 0.0.79
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/raise-common-lib.umd.js +19 -5
- package/bundles/raise-common-lib.umd.js.map +1 -1
- package/bundles/raise-common-lib.umd.min.js +2 -2
- package/bundles/raise-common-lib.umd.min.js.map +1 -1
- package/esm2015/lib/layout/grid-box/index.component.js +18 -2
- package/esm5/lib/layout/grid-box/index.component.js +18 -2
- package/fesm2015/raise-common-lib.js +17 -2
- package/fesm2015/raise-common-lib.js.map +1 -1
- package/fesm5/raise-common-lib.js +17 -2
- package/fesm5/raise-common-lib.js.map +1 -1
- package/lib/layout/grid-box/index.component.d.ts +2 -0
- package/package.json +1 -1
- package/raise-common-lib.metadata.json +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { __assign, __read, __spread } from 'tslib';
|
|
2
2
|
import { EventEmitter, Component, ChangeDetectorRef, ViewChild, Input, Output, HostBinding, ContentChild, Injectable, ɵɵdefineInjectable, ɵɵinject, HostListener, ComponentFactoryResolver, ViewContainerRef, ViewChildren, Inject, NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
|
3
|
-
import { GridModule, PagerModule, GridAllModule, PageService, SortService, FilterService, ExcelExportService, EditService, ResizeService, ToolbarService, ColumnChooserService, AggregateService, ColumnMenuService, DetailRowService, SelectionService, GroupService } from '@syncfusion/ej2-angular-grids';
|
|
3
|
+
import { GridComponent, GridModule, PagerModule, GridAllModule, PageService, SortService, FilterService, ExcelExportService, EditService, ResizeService, ToolbarService, ColumnChooserService, AggregateService, ColumnMenuService, DetailRowService, SelectionService, GroupService } from '@syncfusion/ej2-angular-grids';
|
|
4
4
|
import { times, debounce } from 'lodash';
|
|
5
|
+
import { TreeGridComponent } from '@syncfusion/ej2-angular-treegrid';
|
|
5
6
|
import { NavigationEnd, Router, ActivatedRoute, RouteReuseStrategy } from '@angular/router';
|
|
6
7
|
import { filter } from 'rxjs/operators';
|
|
7
8
|
import { Subject, BehaviorSubject } from 'rxjs';
|
|
@@ -1535,7 +1536,15 @@ var GridBoxComponent = /** @class */ (function () {
|
|
|
1535
1536
|
* @return {?}
|
|
1536
1537
|
*/
|
|
1537
1538
|
function () {
|
|
1538
|
-
this.gridContent
|
|
1539
|
+
if (this.gridContent) {
|
|
1540
|
+
this.gridContent.grid.search(this.searchValue);
|
|
1541
|
+
}
|
|
1542
|
+
else if (this.orignGrid) {
|
|
1543
|
+
this.orignGrid.search(this.searchValue);
|
|
1544
|
+
}
|
|
1545
|
+
else if (this.treeGrid) {
|
|
1546
|
+
this.treeGrid.search(this.searchValue);
|
|
1547
|
+
}
|
|
1539
1548
|
};
|
|
1540
1549
|
/**
|
|
1541
1550
|
* @return {?}
|
|
@@ -1555,6 +1564,8 @@ var GridBoxComponent = /** @class */ (function () {
|
|
|
1555
1564
|
];
|
|
1556
1565
|
GridBoxComponent.propDecorators = {
|
|
1557
1566
|
gridContent: [{ type: ContentChild, args: [CommonGridComponent, { static: true },] }],
|
|
1567
|
+
orignGrid: [{ type: ContentChild, args: [GridComponent, { static: true },] }],
|
|
1568
|
+
treeGrid: [{ type: ContentChild, args: [TreeGridComponent, { static: true },] }],
|
|
1558
1569
|
wholeToolbarSlot: [{ type: ContentChild, args: ["wholeToolbarSlot", { static: true },] }],
|
|
1559
1570
|
pageTitle: [{ type: Input }],
|
|
1560
1571
|
customPageTitle: [{ type: Input }],
|
|
@@ -1566,6 +1577,10 @@ if (false) {
|
|
|
1566
1577
|
/** @type {?} */
|
|
1567
1578
|
GridBoxComponent.prototype.gridContent;
|
|
1568
1579
|
/** @type {?} */
|
|
1580
|
+
GridBoxComponent.prototype.orignGrid;
|
|
1581
|
+
/** @type {?} */
|
|
1582
|
+
GridBoxComponent.prototype.treeGrid;
|
|
1583
|
+
/** @type {?} */
|
|
1569
1584
|
GridBoxComponent.prototype.wholeToolbarSlot;
|
|
1570
1585
|
/** @type {?} */
|
|
1571
1586
|
GridBoxComponent.prototype.pageTitle;
|