ag-grid-aurelia-plugin 31.3.7 → 31.3.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/lib/agGridAurelia.d.ts +2 -3
- package/lib/agGridAurelia.js +3 -6
- package/lib/agGridColumn.d.ts +1 -1
- package/lib/agGridColumn.js +1 -1
- package/lib/agTemplate.d.ts +1 -1
- package/lib/agTemplate.js +1 -1
- package/lib/agUtils.d.ts +1 -1
- package/lib/agUtils.js +1 -1
- package/lib/aureliaFrameworkComponentWrapper.d.ts +1 -1
- package/lib/aureliaFrameworkComponentWrapper.js +1 -1
- package/lib/aureliaFrameworkFactory.d.ts +1 -1
- package/lib/aureliaFrameworkFactory.js +1 -1
- package/package.json +1 -1
- package/src/agGridAurelia.ts +2 -7
package/lib/agGridAurelia.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// ag-grid-aurelia-plugin v31.3.
|
|
2
|
-
import type {
|
|
1
|
+
// ag-grid-aurelia-plugin v31.3.8
|
|
2
|
+
import type { GridApi, GridOptions } from "ag-grid-community";
|
|
3
3
|
import { ComponentAttached, ComponentDetached, Container, TaskQueue, ViewResources } from "aurelia-framework";
|
|
4
4
|
import { AureliaFrameworkFactory } from "./aureliaFrameworkFactory";
|
|
5
5
|
import { AgGridColumn } from "./agGridColumn";
|
|
@@ -18,7 +18,6 @@ export declare class AgGridAurelia implements ComponentAttached, ComponentDetach
|
|
|
18
18
|
context: any;
|
|
19
19
|
private gridParams;
|
|
20
20
|
api: GridApi;
|
|
21
|
-
columnApi: ColumnApi;
|
|
22
21
|
columns: AgGridColumn[];
|
|
23
22
|
fullWidthRowTemplate: AgFullWidthRowTemplate;
|
|
24
23
|
dateTemplate: AgDateTemplate;
|
package/lib/agGridAurelia.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ag-grid-aurelia-plugin v31.3.
|
|
1
|
+
// ag-grid-aurelia-plugin v31.3.8
|
|
2
2
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
3
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
4
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
import { autoinject, bindable, child, children, Container, customElement, inlineView, TaskQueue, ViewResources } from "aurelia-framework";
|
|
12
|
-
import { ComponentUtil,
|
|
12
|
+
import { ComponentUtil, createGrid } from "ag-grid-community";
|
|
13
13
|
import { AureliaFrameworkFactory } from "./aureliaFrameworkFactory";
|
|
14
14
|
import { generateBindables } from "./agUtils";
|
|
15
15
|
import { AgDateTemplate, AgFullWidthRowTemplate } from './agTemplate';
|
|
@@ -30,7 +30,6 @@ let AgGridAurelia = class AgGridAurelia {
|
|
|
30
30
|
gridParams;
|
|
31
31
|
// making these public, so they are accessible to people using the aurelia component references
|
|
32
32
|
api;
|
|
33
|
-
columnApi;
|
|
34
33
|
columns = [];
|
|
35
34
|
fullWidthRowTemplate;
|
|
36
35
|
dateTemplate;
|
|
@@ -89,9 +88,7 @@ let AgGridAurelia = class AgGridAurelia {
|
|
|
89
88
|
}
|
|
90
89
|
};
|
|
91
90
|
}
|
|
92
|
-
|
|
93
|
-
this.api = this.gridOptions.api;
|
|
94
|
-
this.columnApi = this.gridOptions.columnApi;
|
|
91
|
+
this.api = createGrid(this._nativeElement, this.gridOptions, this.gridParams);
|
|
95
92
|
this._initialised = true;
|
|
96
93
|
}
|
|
97
94
|
/**
|
package/lib/agGridColumn.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ag-grid-aurelia-plugin v31.3.
|
|
1
|
+
// ag-grid-aurelia-plugin v31.3.8
|
|
2
2
|
import { ColDef } from "ag-grid-community";
|
|
3
3
|
import { AgCellTemplate, AgEditorTemplate, AgFilterTemplate, AgHeaderGroupTemplate, AgHeaderTemplate, AgPinnedRowTemplate } from "./agTemplate";
|
|
4
4
|
export declare class AgGridColumn {
|
package/lib/agGridColumn.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ag-grid-aurelia-plugin v31.3.
|
|
1
|
+
// ag-grid-aurelia-plugin v31.3.8
|
|
2
2
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
3
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
4
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
package/lib/agTemplate.d.ts
CHANGED
package/lib/agTemplate.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ag-grid-aurelia-plugin v31.3.
|
|
1
|
+
// ag-grid-aurelia-plugin v31.3.8
|
|
2
2
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
3
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
4
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
package/lib/agUtils.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
// ag-grid-aurelia-plugin v31.3.
|
|
1
|
+
// ag-grid-aurelia-plugin v31.3.8
|
|
2
2
|
export declare function generateBindables(names: string[], bindingModeToUse?: any): any;
|
package/lib/agUtils.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ag-grid-aurelia-plugin v31.3.
|
|
1
|
+
// ag-grid-aurelia-plugin v31.3.8
|
|
2
2
|
import { Container, TaskQueue, ViewCompiler, ViewResources } from "aurelia-framework";
|
|
3
3
|
import { BaseComponentWrapper, FrameworkComponentWrapper, WrappableInterface } from 'ag-grid-community';
|
|
4
4
|
export declare class AureliaFrameworkComponentWrapper extends BaseComponentWrapper<WrappableInterface> implements FrameworkComponentWrapper {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ag-grid-aurelia-plugin v31.3.
|
|
1
|
+
// ag-grid-aurelia-plugin v31.3.8
|
|
2
2
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
3
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
4
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ag-grid-aurelia-plugin v31.3.
|
|
1
|
+
// ag-grid-aurelia-plugin v31.3.8
|
|
2
2
|
import { Container, ViewResources } from "aurelia-framework";
|
|
3
3
|
import { IFrameworkOverrides, AgPromise } from "ag-grid-community";
|
|
4
4
|
export declare class AureliaFrameworkFactory implements IFrameworkOverrides {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ag-grid-aurelia-plugin v31.3.
|
|
1
|
+
// ag-grid-aurelia-plugin v31.3.8
|
|
2
2
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
3
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
4
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
package/package.json
CHANGED
package/src/agGridAurelia.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type {
|
|
2
|
-
ColumnApi,
|
|
3
2
|
GridApi,
|
|
4
3
|
GridOptions,
|
|
5
4
|
GridParams
|
|
@@ -18,7 +17,7 @@ import {
|
|
|
18
17
|
TaskQueue,
|
|
19
18
|
ViewResources
|
|
20
19
|
} from "aurelia-framework";
|
|
21
|
-
import {ComponentUtil,
|
|
20
|
+
import {ComponentUtil, createGrid} from "ag-grid-community";
|
|
22
21
|
import {AureliaFrameworkFactory} from "./aureliaFrameworkFactory";
|
|
23
22
|
import {AgGridColumn} from "./agGridColumn";
|
|
24
23
|
import {generateBindables} from "./agUtils";
|
|
@@ -49,7 +48,6 @@ export class AgGridAurelia implements ComponentAttached, ComponentDetached {
|
|
|
49
48
|
|
|
50
49
|
// making these public, so they are accessible to people using the aurelia component references
|
|
51
50
|
public api: GridApi;
|
|
52
|
-
public columnApi: ColumnApi;
|
|
53
51
|
|
|
54
52
|
@children('ag-grid-column')
|
|
55
53
|
public columns: AgGridColumn[] = [];
|
|
@@ -124,10 +122,7 @@ export class AgGridAurelia implements ComponentAttached, ComponentDetached {
|
|
|
124
122
|
};
|
|
125
123
|
}
|
|
126
124
|
|
|
127
|
-
|
|
128
|
-
this.api = this.gridOptions.api;
|
|
129
|
-
this.columnApi = this.gridOptions.columnApi;
|
|
130
|
-
|
|
125
|
+
this.api = createGrid(this._nativeElement, this.gridOptions, this.gridParams);
|
|
131
126
|
this._initialised = true;
|
|
132
127
|
}
|
|
133
128
|
|