@mescius/wijmo.angular2.grid.multirow 5.20232.939
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/COMMERCIAL-LICENSE.html +485 -0
- package/README.md +363 -0
- package/es2015-commonjs.js +14 -0
- package/es2015-esm.js +136 -0
- package/es5-esm.js +136 -0
- package/index.d.ts +784 -0
- package/index.js +137 -0
- package/package.json +47 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,784 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* Wijmo Library 5.20232.939
|
|
4
|
+
* https://developer.mescius.com/wijmo
|
|
5
|
+
*
|
|
6
|
+
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the End-User License Agreement For MESCIUS Wijmo Software.
|
|
9
|
+
* us.sales@mescius.com
|
|
10
|
+
* https://developer.mescius.com/wijmo/licensing
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* {@module wijmo.angular2.grid.multirow}
|
|
15
|
+
* Contains Angular 2 components for the <b>wijmo.grid.multirow</b> module.
|
|
16
|
+
*
|
|
17
|
+
* <b>wijmo.angular2.grid.multirow</b> is an external TypeScript module that can be imported to your code
|
|
18
|
+
* using its ambient module name. For example:
|
|
19
|
+
*
|
|
20
|
+
* <pre>import * as wjMultiRow from 'wijmo/wijmo.angular2.grid.multirow';
|
|
21
|
+
*
|
|
22
|
+
* @Component({
|
|
23
|
+
* directives: [wjMultiRow.WjMultiRow],
|
|
24
|
+
* template: `<wj-multi-row></wj-multi-row>`,
|
|
25
|
+
* selector: 'my-cmp',
|
|
26
|
+
* })
|
|
27
|
+
* export class MyCmp {
|
|
28
|
+
* }</pre>
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
import * as ɵngcc0 from '@angular/core';
|
|
35
|
+
import * as ɵngcc1 from '@angular/common';
|
|
36
|
+
export declare var ___keepComment: any;
|
|
37
|
+
import { EventEmitter, AfterViewInit, ElementRef, Injector, ViewContainerRef, TemplateRef, OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
38
|
+
import { IWjComponentMetadata, IWjComponentMeta } from '@grapecity/wijmo.angular2.directivebase';
|
|
39
|
+
import * as wjcGridMultirow from '@grapecity/wijmo.grid.multirow';
|
|
40
|
+
import * as wjcGrid from '@grapecity/wijmo.grid';
|
|
41
|
+
import * as wjGrid from '@grapecity/wijmo.angular2.grid';
|
|
42
|
+
declare var wjMultiRowMeta: IWjComponentMeta;
|
|
43
|
+
export { wjMultiRowMeta };
|
|
44
|
+
/**
|
|
45
|
+
* Angular 2 component for the {@link wijmo.grid.multirow.MultiRow} control.
|
|
46
|
+
*
|
|
47
|
+
* Use the <b>wj-multi-row</b> component to add <b>MultiRow</b> controls to your
|
|
48
|
+
* Angular 2 applications. For details about Angular 2 markup syntax, see
|
|
49
|
+
* <a href="/wijmo/docs/GettingStarted/Angular-Components">Angular 2 Markup</a>.
|
|
50
|
+
*
|
|
51
|
+
* The <b>WjMultiRow</b> component is derived from the <b>MultiRow</b> control and
|
|
52
|
+
* inherits all its properties, events and methods.
|
|
53
|
+
*
|
|
54
|
+
* The <b>wj-multi-row</b> component may contain the following child components:
|
|
55
|
+
* {@link wijmo.angular2.grid.multirow.WjMultiRowCellGroup}
|
|
56
|
+
* and {@link wijmo.angular2.grid.multirow.WjMultiRowCellTemplate}.
|
|
57
|
+
*/
|
|
58
|
+
export declare class WjMultiRow extends wjcGridMultirow.MultiRow implements OnInit, OnDestroy, AfterViewInit {
|
|
59
|
+
cdRef: ChangeDetectorRef;
|
|
60
|
+
static readonly meta: IWjComponentMetadata;
|
|
61
|
+
private _wjBehaviour;
|
|
62
|
+
/**
|
|
63
|
+
* Indicates whether the component has been initialized by Angular.
|
|
64
|
+
* Changes its value from false to true right before triggering the <b>initialized</b> event.
|
|
65
|
+
*/
|
|
66
|
+
isInitialized: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* This event is triggered after the component has been initialized by Angular, that is
|
|
69
|
+
* all bound properties have been assigned and child components (if any) have been initialized.
|
|
70
|
+
*/
|
|
71
|
+
initialized: EventEmitter<any>;
|
|
72
|
+
/**
|
|
73
|
+
* Defines a name of a property represented by [(ngModel)] directive (if specified).
|
|
74
|
+
* Default value is ''.
|
|
75
|
+
*/
|
|
76
|
+
wjModelProperty: string;
|
|
77
|
+
/**
|
|
78
|
+
* Allows you to override the global <b>WjOptions.asyncBindings</b> setting for this specific component.
|
|
79
|
+
* See the <b>WjOptions.</b>{@link WjOptions.asyncBindings} property description for details.
|
|
80
|
+
*/
|
|
81
|
+
asyncBindings: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Angular (EventEmitter) version of the Wijmo <b>gotFocus</b> event for programmatic access.
|
|
84
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
85
|
+
* In template bindings use the conventional <b>gotFocus</b> Wijmo event name.
|
|
86
|
+
*/
|
|
87
|
+
gotFocusNg: EventEmitter<any>;
|
|
88
|
+
/**
|
|
89
|
+
* Angular (EventEmitter) version of the Wijmo <b>lostFocus</b> event for programmatic access.
|
|
90
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
91
|
+
* In template bindings use the conventional <b>lostFocus</b> Wijmo event name.
|
|
92
|
+
*/
|
|
93
|
+
lostFocusNg: EventEmitter<any>;
|
|
94
|
+
/**
|
|
95
|
+
* Angular (EventEmitter) version of the Wijmo <b>refreshing</b> event for programmatic access.
|
|
96
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
97
|
+
* In template bindings use the conventional <b>refreshing</b> Wijmo event name.
|
|
98
|
+
*/
|
|
99
|
+
refreshingNg: EventEmitter<any>;
|
|
100
|
+
/**
|
|
101
|
+
* Angular (EventEmitter) version of the Wijmo <b>refreshed</b> event for programmatic access.
|
|
102
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
103
|
+
* In template bindings use the conventional <b>refreshed</b> Wijmo event name.
|
|
104
|
+
*/
|
|
105
|
+
refreshedNg: EventEmitter<any>;
|
|
106
|
+
/**
|
|
107
|
+
* Angular (EventEmitter) version of the Wijmo <b>invalidInput</b> event for programmatic access.
|
|
108
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
109
|
+
* In template bindings use the conventional <b>invalidInput</b> Wijmo event name.
|
|
110
|
+
*/
|
|
111
|
+
invalidInputNg: EventEmitter<any>;
|
|
112
|
+
/**
|
|
113
|
+
* Angular (EventEmitter) version of the Wijmo <b>beginningEdit</b> event for programmatic access.
|
|
114
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
115
|
+
* In template bindings use the conventional <b>beginningEdit</b> Wijmo event name.
|
|
116
|
+
*/
|
|
117
|
+
beginningEditNg: EventEmitter<any>;
|
|
118
|
+
/**
|
|
119
|
+
* Angular (EventEmitter) version of the Wijmo <b>cellEditEnded</b> event for programmatic access.
|
|
120
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
121
|
+
* In template bindings use the conventional <b>cellEditEnded</b> Wijmo event name.
|
|
122
|
+
*/
|
|
123
|
+
cellEditEndedNg: EventEmitter<any>;
|
|
124
|
+
/**
|
|
125
|
+
* Angular (EventEmitter) version of the Wijmo <b>cellEditEnding</b> event for programmatic access.
|
|
126
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
127
|
+
* In template bindings use the conventional <b>cellEditEnding</b> Wijmo event name.
|
|
128
|
+
*/
|
|
129
|
+
cellEditEndingNg: EventEmitter<any>;
|
|
130
|
+
/**
|
|
131
|
+
* Angular (EventEmitter) version of the Wijmo <b>prepareCellForEdit</b> event for programmatic access.
|
|
132
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
133
|
+
* In template bindings use the conventional <b>prepareCellForEdit</b> Wijmo event name.
|
|
134
|
+
*/
|
|
135
|
+
prepareCellForEditNg: EventEmitter<any>;
|
|
136
|
+
/**
|
|
137
|
+
* Angular (EventEmitter) version of the Wijmo <b>formatItem</b> event for programmatic access.
|
|
138
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
139
|
+
* In template bindings use the conventional <b>formatItem</b> Wijmo event name.
|
|
140
|
+
*/
|
|
141
|
+
formatItemNg: EventEmitter<any>;
|
|
142
|
+
/**
|
|
143
|
+
* Angular (EventEmitter) version of the Wijmo <b>resizingColumn</b> event for programmatic access.
|
|
144
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
145
|
+
* In template bindings use the conventional <b>resizingColumn</b> Wijmo event name.
|
|
146
|
+
*/
|
|
147
|
+
resizingColumnNg: EventEmitter<any>;
|
|
148
|
+
/**
|
|
149
|
+
* Angular (EventEmitter) version of the Wijmo <b>resizedColumn</b> event for programmatic access.
|
|
150
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
151
|
+
* In template bindings use the conventional <b>resizedColumn</b> Wijmo event name.
|
|
152
|
+
*/
|
|
153
|
+
resizedColumnNg: EventEmitter<any>;
|
|
154
|
+
/**
|
|
155
|
+
* Angular (EventEmitter) version of the Wijmo <b>autoSizingColumn</b> event for programmatic access.
|
|
156
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
157
|
+
* In template bindings use the conventional <b>autoSizingColumn</b> Wijmo event name.
|
|
158
|
+
*/
|
|
159
|
+
autoSizingColumnNg: EventEmitter<any>;
|
|
160
|
+
/**
|
|
161
|
+
* Angular (EventEmitter) version of the Wijmo <b>autoSizedColumn</b> event for programmatic access.
|
|
162
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
163
|
+
* In template bindings use the conventional <b>autoSizedColumn</b> Wijmo event name.
|
|
164
|
+
*/
|
|
165
|
+
autoSizedColumnNg: EventEmitter<any>;
|
|
166
|
+
/**
|
|
167
|
+
* Angular (EventEmitter) version of the Wijmo <b>draggingColumn</b> event for programmatic access.
|
|
168
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
169
|
+
* In template bindings use the conventional <b>draggingColumn</b> Wijmo event name.
|
|
170
|
+
*/
|
|
171
|
+
draggingColumnNg: EventEmitter<any>;
|
|
172
|
+
/**
|
|
173
|
+
* Angular (EventEmitter) version of the Wijmo <b>draggingColumnOver</b> event for programmatic access.
|
|
174
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
175
|
+
* In template bindings use the conventional <b>draggingColumnOver</b> Wijmo event name.
|
|
176
|
+
*/
|
|
177
|
+
draggingColumnOverNg: EventEmitter<any>;
|
|
178
|
+
/**
|
|
179
|
+
* Angular (EventEmitter) version of the Wijmo <b>draggedColumn</b> event for programmatic access.
|
|
180
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
181
|
+
* In template bindings use the conventional <b>draggedColumn</b> Wijmo event name.
|
|
182
|
+
*/
|
|
183
|
+
draggedColumnNg: EventEmitter<any>;
|
|
184
|
+
/**
|
|
185
|
+
* Angular (EventEmitter) version of the Wijmo <b>sortingColumn</b> event for programmatic access.
|
|
186
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
187
|
+
* In template bindings use the conventional <b>sortingColumn</b> Wijmo event name.
|
|
188
|
+
*/
|
|
189
|
+
sortingColumnNg: EventEmitter<any>;
|
|
190
|
+
/**
|
|
191
|
+
* Angular (EventEmitter) version of the Wijmo <b>sortedColumn</b> event for programmatic access.
|
|
192
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
193
|
+
* In template bindings use the conventional <b>sortedColumn</b> Wijmo event name.
|
|
194
|
+
*/
|
|
195
|
+
sortedColumnNg: EventEmitter<any>;
|
|
196
|
+
/**
|
|
197
|
+
* Angular (EventEmitter) version of the Wijmo <b>pinningColumn</b> event for programmatic access.
|
|
198
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
199
|
+
* In template bindings use the conventional <b>pinningColumn</b> Wijmo event name.
|
|
200
|
+
*/
|
|
201
|
+
pinningColumnNg: EventEmitter<any>;
|
|
202
|
+
/**
|
|
203
|
+
* Angular (EventEmitter) version of the Wijmo <b>pinnedColumn</b> event for programmatic access.
|
|
204
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
205
|
+
* In template bindings use the conventional <b>pinnedColumn</b> Wijmo event name.
|
|
206
|
+
*/
|
|
207
|
+
pinnedColumnNg: EventEmitter<any>;
|
|
208
|
+
/**
|
|
209
|
+
* Angular (EventEmitter) version of the Wijmo <b>resizingRow</b> event for programmatic access.
|
|
210
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
211
|
+
* In template bindings use the conventional <b>resizingRow</b> Wijmo event name.
|
|
212
|
+
*/
|
|
213
|
+
resizingRowNg: EventEmitter<any>;
|
|
214
|
+
/**
|
|
215
|
+
* Angular (EventEmitter) version of the Wijmo <b>resizedRow</b> event for programmatic access.
|
|
216
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
217
|
+
* In template bindings use the conventional <b>resizedRow</b> Wijmo event name.
|
|
218
|
+
*/
|
|
219
|
+
resizedRowNg: EventEmitter<any>;
|
|
220
|
+
/**
|
|
221
|
+
* Angular (EventEmitter) version of the Wijmo <b>autoSizingRow</b> event for programmatic access.
|
|
222
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
223
|
+
* In template bindings use the conventional <b>autoSizingRow</b> Wijmo event name.
|
|
224
|
+
*/
|
|
225
|
+
autoSizingRowNg: EventEmitter<any>;
|
|
226
|
+
/**
|
|
227
|
+
* Angular (EventEmitter) version of the Wijmo <b>autoSizedRow</b> event for programmatic access.
|
|
228
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
229
|
+
* In template bindings use the conventional <b>autoSizedRow</b> Wijmo event name.
|
|
230
|
+
*/
|
|
231
|
+
autoSizedRowNg: EventEmitter<any>;
|
|
232
|
+
/**
|
|
233
|
+
* Angular (EventEmitter) version of the Wijmo <b>draggingRow</b> event for programmatic access.
|
|
234
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
235
|
+
* In template bindings use the conventional <b>draggingRow</b> Wijmo event name.
|
|
236
|
+
*/
|
|
237
|
+
draggingRowNg: EventEmitter<any>;
|
|
238
|
+
/**
|
|
239
|
+
* Angular (EventEmitter) version of the Wijmo <b>draggingRowOver</b> event for programmatic access.
|
|
240
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
241
|
+
* In template bindings use the conventional <b>draggingRowOver</b> Wijmo event name.
|
|
242
|
+
*/
|
|
243
|
+
draggingRowOverNg: EventEmitter<any>;
|
|
244
|
+
/**
|
|
245
|
+
* Angular (EventEmitter) version of the Wijmo <b>draggedRow</b> event for programmatic access.
|
|
246
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
247
|
+
* In template bindings use the conventional <b>draggedRow</b> Wijmo event name.
|
|
248
|
+
*/
|
|
249
|
+
draggedRowNg: EventEmitter<any>;
|
|
250
|
+
/**
|
|
251
|
+
* Angular (EventEmitter) version of the Wijmo <b>deletingRow</b> event for programmatic access.
|
|
252
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
253
|
+
* In template bindings use the conventional <b>deletingRow</b> Wijmo event name.
|
|
254
|
+
*/
|
|
255
|
+
deletingRowNg: EventEmitter<any>;
|
|
256
|
+
/**
|
|
257
|
+
* Angular (EventEmitter) version of the Wijmo <b>deletedRow</b> event for programmatic access.
|
|
258
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
259
|
+
* In template bindings use the conventional <b>deletedRow</b> Wijmo event name.
|
|
260
|
+
*/
|
|
261
|
+
deletedRowNg: EventEmitter<any>;
|
|
262
|
+
/**
|
|
263
|
+
* Angular (EventEmitter) version of the Wijmo <b>loadingRows</b> event for programmatic access.
|
|
264
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
265
|
+
* In template bindings use the conventional <b>loadingRows</b> Wijmo event name.
|
|
266
|
+
*/
|
|
267
|
+
loadingRowsNg: EventEmitter<any>;
|
|
268
|
+
/**
|
|
269
|
+
* Angular (EventEmitter) version of the Wijmo <b>loadedRows</b> event for programmatic access.
|
|
270
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
271
|
+
* In template bindings use the conventional <b>loadedRows</b> Wijmo event name.
|
|
272
|
+
*/
|
|
273
|
+
loadedRowsNg: EventEmitter<any>;
|
|
274
|
+
/**
|
|
275
|
+
* Angular (EventEmitter) version of the Wijmo <b>rowEditStarting</b> event for programmatic access.
|
|
276
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
277
|
+
* In template bindings use the conventional <b>rowEditStarting</b> Wijmo event name.
|
|
278
|
+
*/
|
|
279
|
+
rowEditStartingNg: EventEmitter<any>;
|
|
280
|
+
/**
|
|
281
|
+
* Angular (EventEmitter) version of the Wijmo <b>rowEditStarted</b> event for programmatic access.
|
|
282
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
283
|
+
* In template bindings use the conventional <b>rowEditStarted</b> Wijmo event name.
|
|
284
|
+
*/
|
|
285
|
+
rowEditStartedNg: EventEmitter<any>;
|
|
286
|
+
/**
|
|
287
|
+
* Angular (EventEmitter) version of the Wijmo <b>rowEditEnding</b> event for programmatic access.
|
|
288
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
289
|
+
* In template bindings use the conventional <b>rowEditEnding</b> Wijmo event name.
|
|
290
|
+
*/
|
|
291
|
+
rowEditEndingNg: EventEmitter<any>;
|
|
292
|
+
/**
|
|
293
|
+
* Angular (EventEmitter) version of the Wijmo <b>rowEditEnded</b> event for programmatic access.
|
|
294
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
295
|
+
* In template bindings use the conventional <b>rowEditEnded</b> Wijmo event name.
|
|
296
|
+
*/
|
|
297
|
+
rowEditEndedNg: EventEmitter<any>;
|
|
298
|
+
/**
|
|
299
|
+
* Angular (EventEmitter) version of the Wijmo <b>rowAdded</b> event for programmatic access.
|
|
300
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
301
|
+
* In template bindings use the conventional <b>rowAdded</b> Wijmo event name.
|
|
302
|
+
*/
|
|
303
|
+
rowAddedNg: EventEmitter<any>;
|
|
304
|
+
/**
|
|
305
|
+
* Angular (EventEmitter) version of the Wijmo <b>groupCollapsedChanging</b> event for programmatic access.
|
|
306
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
307
|
+
* In template bindings use the conventional <b>groupCollapsedChanging</b> Wijmo event name.
|
|
308
|
+
*/
|
|
309
|
+
groupCollapsedChangingNg: EventEmitter<any>;
|
|
310
|
+
/**
|
|
311
|
+
* Angular (EventEmitter) version of the Wijmo <b>groupCollapsedChanged</b> event for programmatic access.
|
|
312
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
313
|
+
* In template bindings use the conventional <b>groupCollapsedChanged</b> Wijmo event name.
|
|
314
|
+
*/
|
|
315
|
+
groupCollapsedChangedNg: EventEmitter<any>;
|
|
316
|
+
/**
|
|
317
|
+
* Angular (EventEmitter) version of the Wijmo <b>columnGroupCollapsedChanging</b> event for programmatic access.
|
|
318
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
319
|
+
* In template bindings use the conventional <b>columnGroupCollapsedChanging</b> Wijmo event name.
|
|
320
|
+
*/
|
|
321
|
+
columnGroupCollapsedChangingNg: EventEmitter<any>;
|
|
322
|
+
/**
|
|
323
|
+
* Angular (EventEmitter) version of the Wijmo <b>columnGroupCollapsedChanged</b> event for programmatic access.
|
|
324
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
325
|
+
* In template bindings use the conventional <b>columnGroupCollapsedChanged</b> Wijmo event name.
|
|
326
|
+
*/
|
|
327
|
+
columnGroupCollapsedChangedNg: EventEmitter<any>;
|
|
328
|
+
/**
|
|
329
|
+
* Angular (EventEmitter) version of the Wijmo <b>itemsSourceChanging</b> event for programmatic access.
|
|
330
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
331
|
+
* In template bindings use the conventional <b>itemsSourceChanging</b> Wijmo event name.
|
|
332
|
+
*/
|
|
333
|
+
itemsSourceChangingNg: EventEmitter<any>;
|
|
334
|
+
/**
|
|
335
|
+
* Angular (EventEmitter) version of the Wijmo <b>itemsSourceChanged</b> event for programmatic access.
|
|
336
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
337
|
+
* In template bindings use the conventional <b>itemsSourceChanged</b> Wijmo event name.
|
|
338
|
+
*/
|
|
339
|
+
itemsSourceChangedNg: EventEmitter<any>;
|
|
340
|
+
/**
|
|
341
|
+
* Angular (EventEmitter) version of the Wijmo <b>selectionChanging</b> event for programmatic access.
|
|
342
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
343
|
+
* In template bindings use the conventional <b>selectionChanging</b> Wijmo event name.
|
|
344
|
+
*/
|
|
345
|
+
selectionChangingNg: EventEmitter<any>;
|
|
346
|
+
/**
|
|
347
|
+
* Angular (EventEmitter) version of the Wijmo <b>selectionChanged</b> event for programmatic access.
|
|
348
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
349
|
+
* In template bindings use the conventional <b>selectionChanged</b> Wijmo event name.
|
|
350
|
+
*/
|
|
351
|
+
selectionChangedNg: EventEmitter<any>;
|
|
352
|
+
/**
|
|
353
|
+
* Angular (EventEmitter) version of the Wijmo <b>scrollPositionChanged</b> event for programmatic access.
|
|
354
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
355
|
+
* In template bindings use the conventional <b>scrollPositionChanged</b> Wijmo event name.
|
|
356
|
+
*/
|
|
357
|
+
scrollPositionChangedNg: EventEmitter<any>;
|
|
358
|
+
/**
|
|
359
|
+
* Angular (EventEmitter) version of the Wijmo <b>updatingView</b> event for programmatic access.
|
|
360
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
361
|
+
* In template bindings use the conventional <b>updatingView</b> Wijmo event name.
|
|
362
|
+
*/
|
|
363
|
+
updatingViewNg: EventEmitter<any>;
|
|
364
|
+
/**
|
|
365
|
+
* Angular (EventEmitter) version of the Wijmo <b>updatedView</b> event for programmatic access.
|
|
366
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
367
|
+
* In template bindings use the conventional <b>updatedView</b> Wijmo event name.
|
|
368
|
+
*/
|
|
369
|
+
updatedViewNg: EventEmitter<any>;
|
|
370
|
+
/**
|
|
371
|
+
* Angular (EventEmitter) version of the Wijmo <b>updatingLayout</b> event for programmatic access.
|
|
372
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
373
|
+
* In template bindings use the conventional <b>updatingLayout</b> Wijmo event name.
|
|
374
|
+
*/
|
|
375
|
+
updatingLayoutNg: EventEmitter<any>;
|
|
376
|
+
/**
|
|
377
|
+
* Angular (EventEmitter) version of the Wijmo <b>updatedLayout</b> event for programmatic access.
|
|
378
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
379
|
+
* In template bindings use the conventional <b>updatedLayout</b> Wijmo event name.
|
|
380
|
+
*/
|
|
381
|
+
updatedLayoutNg: EventEmitter<any>;
|
|
382
|
+
/**
|
|
383
|
+
* Angular (EventEmitter) version of the Wijmo <b>pasting</b> event for programmatic access.
|
|
384
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
385
|
+
* In template bindings use the conventional <b>pasting</b> Wijmo event name.
|
|
386
|
+
*/
|
|
387
|
+
pastingNg: EventEmitter<any>;
|
|
388
|
+
/**
|
|
389
|
+
* Angular (EventEmitter) version of the Wijmo <b>pasted</b> event for programmatic access.
|
|
390
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
391
|
+
* In template bindings use the conventional <b>pasted</b> Wijmo event name.
|
|
392
|
+
*/
|
|
393
|
+
pastedNg: EventEmitter<any>;
|
|
394
|
+
/**
|
|
395
|
+
* Angular (EventEmitter) version of the Wijmo <b>pastingCell</b> event for programmatic access.
|
|
396
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
397
|
+
* In template bindings use the conventional <b>pastingCell</b> Wijmo event name.
|
|
398
|
+
*/
|
|
399
|
+
pastingCellNg: EventEmitter<any>;
|
|
400
|
+
/**
|
|
401
|
+
* Angular (EventEmitter) version of the Wijmo <b>pastedCell</b> event for programmatic access.
|
|
402
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
403
|
+
* In template bindings use the conventional <b>pastedCell</b> Wijmo event name.
|
|
404
|
+
*/
|
|
405
|
+
pastedCellNg: EventEmitter<any>;
|
|
406
|
+
/**
|
|
407
|
+
* Angular (EventEmitter) version of the Wijmo <b>copying</b> event for programmatic access.
|
|
408
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
409
|
+
* In template bindings use the conventional <b>copying</b> Wijmo event name.
|
|
410
|
+
*/
|
|
411
|
+
copyingNg: EventEmitter<any>;
|
|
412
|
+
/**
|
|
413
|
+
* Angular (EventEmitter) version of the Wijmo <b>copied</b> event for programmatic access.
|
|
414
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
415
|
+
* In template bindings use the conventional <b>copied</b> Wijmo event name.
|
|
416
|
+
*/
|
|
417
|
+
copiedNg: EventEmitter<any>;
|
|
418
|
+
/**
|
|
419
|
+
* Angular (EventEmitter) version of the Wijmo <b>collapsedHeadersChanging</b> event for programmatic access.
|
|
420
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
421
|
+
* In template bindings use the conventional <b>collapsedHeadersChanging</b> Wijmo event name.
|
|
422
|
+
*/
|
|
423
|
+
collapsedHeadersChangingNg: EventEmitter<any>;
|
|
424
|
+
/**
|
|
425
|
+
* Angular (EventEmitter) version of the Wijmo <b>collapsedHeadersChanged</b> event for programmatic access.
|
|
426
|
+
* Use this event name if you want to subscribe to the Angular version of the event in code.
|
|
427
|
+
* In template bindings use the conventional <b>collapsedHeadersChanged</b> Wijmo event name.
|
|
428
|
+
*/
|
|
429
|
+
collapsedHeadersChangedNg: EventEmitter<any>;
|
|
430
|
+
/**
|
|
431
|
+
* This event is used to implement two-way binding to the <b>collapsedHeaders</b> property.
|
|
432
|
+
* It's triggered when the property value changes, with the event argument holding the new property value.
|
|
433
|
+
* You can bind handlers to this event in templates using the <b>collapsedHeadersChange</b> event name.
|
|
434
|
+
*/
|
|
435
|
+
collapsedHeadersChangePC: EventEmitter<any>;
|
|
436
|
+
constructor(elRef: ElementRef, injector: Injector, parentCmp: any, cdRef: ChangeDetectorRef);
|
|
437
|
+
/**
|
|
438
|
+
* If you create a custom component inherited from a Wijmo component, you can override this
|
|
439
|
+
* method and perform necessary initializations that you usually do in a class constructor.
|
|
440
|
+
* This method is called in the last line of a Wijmo component constructor and allows you
|
|
441
|
+
* to not declare your custom component's constructor at all, thus preventing you from a necessity
|
|
442
|
+
* to maintain constructor parameters and keep them in synch with Wijmo component's constructor parameters.
|
|
443
|
+
*/
|
|
444
|
+
created(): void;
|
|
445
|
+
ngOnInit(): void;
|
|
446
|
+
ngAfterViewInit(): void;
|
|
447
|
+
ngOnDestroy(): void;
|
|
448
|
+
addEventListener(target: EventTarget, type: string, fn: any, capture?: boolean): void;
|
|
449
|
+
_edtFocus: boolean;
|
|
450
|
+
startEditing(fullEdit?: boolean, r?: number, c?: number, focus?: boolean, evt?: any): boolean;
|
|
451
|
+
onCellEditEnding(e: wjcGrid.CellEditEndingEventArgs): boolean;
|
|
452
|
+
static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<WjMultiRow, [null, null, { optional: true; skipSelf: true; }, null]>;
|
|
453
|
+
static ɵcmp: ɵngcc0.ɵɵComponentDeclaration<WjMultiRow, "wj-multi-row", never, { "asyncBindings": "asyncBindings"; "wjModelProperty": "wjModelProperty"; "isDisabled": "isDisabled"; "tabOrder": "tabOrder"; "newRowAtTop": "newRowAtTop"; "allowAddNew": "allowAddNew"; "allowDelete": "allowDelete"; "allowDragging": "allowDragging"; "allowMerging": "allowMerging"; "allowResizing": "allowResizing"; "allowSorting": "allowSorting"; "allowPinning": "allowPinning"; "autoScroll": "autoScroll"; "autoRowHeights": "autoRowHeights"; "autoSizeMode": "autoSizeMode"; "autoGenerateColumns": "autoGenerateColumns"; "autoSearch": "autoSearch"; "caseSensitiveSearch": "caseSensitiveSearch"; "quickAutoSize": "quickAutoSize"; "bigCheckboxes": "bigCheckboxes"; "childItemsPath": "childItemsPath"; "groupHeaderFormat": "groupHeaderFormat"; "headersVisibility": "headersVisibility"; "showSelectedHeaders": "showSelectedHeaders"; "showMarquee": "showMarquee"; "showPlaceholders": "showPlaceholders"; "itemFormatter": "itemFormatter"; "isReadOnly": "isReadOnly"; "imeEnabled": "imeEnabled"; "mergeManager": "mergeManager"; "selectionMode": "selectionMode"; "showGroups": "showGroups"; "showSort": "showSort"; "showDropDown": "showDropDown"; "showAlternatingRows": "showAlternatingRows"; "showErrors": "showErrors"; "alternatingRowStep": "alternatingRowStep"; "itemValidator": "itemValidator"; "validateEdits": "validateEdits"; "treeIndent": "treeIndent"; "itemsSource": "itemsSource"; "autoClipboard": "autoClipboard"; "expandSelectionOnCopyPaste": "expandSelectionOnCopyPaste"; "frozenRows": "frozenRows"; "frozenColumns": "frozenColumns"; "cloneFrozenCells": "cloneFrozenCells"; "deferResizing": "deferResizing"; "sortRowIndex": "sortRowIndex"; "editColumnIndex": "editColumnIndex"; "stickyHeaders": "stickyHeaders"; "preserveSelectedState": "preserveSelectedState"; "preserveOutlineState": "preserveOutlineState"; "preserveWhiteSpace": "preserveWhiteSpace"; "keyActionTab": "keyActionTab"; "keyActionEnter": "keyActionEnter"; "rowHeaderPath": "rowHeaderPath"; "virtualizationThreshold": "virtualizationThreshold"; "anchorCursor": "anchorCursor"; "lazyRender": "lazyRender"; "refreshOnEdit": "refreshOnEdit"; "copyHeaders": "copyHeaders"; "columnGroups": "columnGroups"; "layoutDefinition": "layoutDefinition"; "headerLayoutDefinition": "headerLayoutDefinition"; "centerHeadersVertically": "centerHeadersVertically"; "collapsedHeaders": "collapsedHeaders"; "showHeaderCollapseButton": "showHeaderCollapseButton"; "multiRowGroupHeaders": "multiRowGroupHeaders"; "commitEmptyEdits": "commitEmptyEdits"; "headersFocusability": "headersFocusability"; }, { "initialized": "initialized"; "gotFocusNg": "gotFocus"; "lostFocusNg": "lostFocus"; "refreshingNg": "refreshing"; "refreshedNg": "refreshed"; "invalidInputNg": "invalidInput"; "beginningEditNg": "beginningEdit"; "cellEditEndedNg": "cellEditEnded"; "cellEditEndingNg": "cellEditEnding"; "prepareCellForEditNg": "prepareCellForEdit"; "formatItemNg": "formatItem"; "resizingColumnNg": "resizingColumn"; "resizedColumnNg": "resizedColumn"; "autoSizingColumnNg": "autoSizingColumn"; "autoSizedColumnNg": "autoSizedColumn"; "draggingColumnNg": "draggingColumn"; "draggingColumnOverNg": "draggingColumnOver"; "draggedColumnNg": "draggedColumn"; "sortingColumnNg": "sortingColumn"; "sortedColumnNg": "sortedColumn"; "pinningColumnNg": "pinningColumn"; "pinnedColumnNg": "pinnedColumn"; "resizingRowNg": "resizingRow"; "resizedRowNg": "resizedRow"; "autoSizingRowNg": "autoSizingRow"; "autoSizedRowNg": "autoSizedRow"; "draggingRowNg": "draggingRow"; "draggingRowOverNg": "draggingRowOver"; "draggedRowNg": "draggedRow"; "deletingRowNg": "deletingRow"; "deletedRowNg": "deletedRow"; "loadingRowsNg": "loadingRows"; "loadedRowsNg": "loadedRows"; "rowEditStartingNg": "rowEditStarting"; "rowEditStartedNg": "rowEditStarted"; "rowEditEndingNg": "rowEditEnding"; "rowEditEndedNg": "rowEditEnded"; "rowAddedNg": "rowAdded"; "groupCollapsedChangingNg": "groupCollapsedChanging"; "groupCollapsedChangedNg": "groupCollapsedChanged"; "columnGroupCollapsedChangingNg": "columnGroupCollapsedChanging"; "columnGroupCollapsedChangedNg": "columnGroupCollapsedChanged"; "itemsSourceChangingNg": "itemsSourceChanging"; "itemsSourceChangedNg": "itemsSourceChanged"; "selectionChangingNg": "selectionChanging"; "selectionChangedNg": "selectionChanged"; "scrollPositionChangedNg": "scrollPositionChanged"; "updatingViewNg": "updatingView"; "updatedViewNg": "updatedView"; "updatingLayoutNg": "updatingLayout"; "updatedLayoutNg": "updatedLayout"; "pastingNg": "pasting"; "pastedNg": "pasted"; "pastingCellNg": "pastingCell"; "pastedCellNg": "pastedCell"; "copyingNg": "copying"; "copiedNg": "copied"; "collapsedHeadersChangingNg": "collapsedHeadersChanging"; "collapsedHeadersChangedNg": "collapsedHeadersChanged"; "collapsedHeadersChangePC": "collapsedHeadersChange"; }, never, ["*"], false, never>;
|
|
454
|
+
}
|
|
455
|
+
declare var wjMultiRowCellMeta: IWjComponentMeta;
|
|
456
|
+
export { wjMultiRowCellMeta };
|
|
457
|
+
/**
|
|
458
|
+
* Angular 2 component for the {@link wijmo.grid.multirow.MultiRowCell} class.
|
|
459
|
+
*
|
|
460
|
+
* The <b>wj-multi-row-cell</b> component must be
|
|
461
|
+
* contained in a {@link wijmo.angular2.grid.multirow.WjMultiRowCellGroup} component.
|
|
462
|
+
*
|
|
463
|
+
* Use the <b>wj-multi-row-cell</b> component to add <b>MultiRowCell</b> controls to your
|
|
464
|
+
* Angular 2 applications. For details about Angular 2 markup syntax, see
|
|
465
|
+
* <a href="/wijmo/docs/GettingStarted/Angular-Components">Angular 2 Markup</a>.
|
|
466
|
+
*
|
|
467
|
+
* The <b>WjMultiRowCell</b> component is derived from the <b>MultiRowCell</b> class and
|
|
468
|
+
* inherits all its properties, events and methods.
|
|
469
|
+
*
|
|
470
|
+
* The <b>wj-multi-row-cell</b> component may contain a {@link wijmo.angular2.grid.multirow.WjMultiRowCellTemplate} child component.
|
|
471
|
+
*/
|
|
472
|
+
export declare class WjMultiRowCell extends wjcGridMultirow.MultiRowCell implements OnInit, OnDestroy, AfterViewInit {
|
|
473
|
+
cdRef: ChangeDetectorRef;
|
|
474
|
+
static readonly meta: IWjComponentMetadata;
|
|
475
|
+
private _wjBehaviour;
|
|
476
|
+
/**
|
|
477
|
+
* Indicates whether the component has been initialized by Angular.
|
|
478
|
+
* Changes its value from false to true right before triggering the <b>initialized</b> event.
|
|
479
|
+
*/
|
|
480
|
+
isInitialized: boolean;
|
|
481
|
+
/**
|
|
482
|
+
* This event is triggered after the component has been initialized by Angular, that is
|
|
483
|
+
* all bound properties have been assigned and child components (if any) have been initialized.
|
|
484
|
+
*/
|
|
485
|
+
initialized: EventEmitter<any>;
|
|
486
|
+
/**
|
|
487
|
+
* Gets or sets a name of a property that this component is assigned to.
|
|
488
|
+
* Default value is 'cells'.
|
|
489
|
+
*/
|
|
490
|
+
wjProperty: string;
|
|
491
|
+
constructor(elRef: ElementRef, injector: Injector, parentCmp: any, cdRef: ChangeDetectorRef);
|
|
492
|
+
/**
|
|
493
|
+
* If you create a custom component inherited from a Wijmo component, you can override this
|
|
494
|
+
* method and perform necessary initializations that you usually do in a class constructor.
|
|
495
|
+
* This method is called in the last line of a Wijmo component constructor and allows you
|
|
496
|
+
* to not declare your custom component's constructor at all, thus preventing you from a necessity
|
|
497
|
+
* to maintain constructor parameters and keep them in synch with Wijmo component's constructor parameters.
|
|
498
|
+
*/
|
|
499
|
+
created(): void;
|
|
500
|
+
ngOnInit(): void;
|
|
501
|
+
ngAfterViewInit(): void;
|
|
502
|
+
ngOnDestroy(): void;
|
|
503
|
+
static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<WjMultiRowCell, [null, null, { optional: true; skipSelf: true; }, null]>;
|
|
504
|
+
static ɵcmp: ɵngcc0.ɵɵComponentDeclaration<WjMultiRowCell, "wj-multi-row-cell", never, { "wjProperty": "wjProperty"; "name": "name"; "dataMap": "dataMap"; "dataType": "dataType"; "binding": "binding"; "sortMemberPath": "sortMemberPath"; "format": "format"; "cellTemplate": "cellTemplate"; "header": "header"; "width": "width"; "maxLength": "maxLength"; "minWidth": "minWidth"; "maxWidth": "maxWidth"; "align": "align"; "allowDragging": "allowDragging"; "allowSorting": "allowSorting"; "allowResizing": "allowResizing"; "allowMerging": "allowMerging"; "aggregate": "aggregate"; "isReadOnly": "isReadOnly"; "cssClass": "cssClass"; "cssClassAll": "cssClassAll"; "isContentHtml": "isContentHtml"; "visible": "visible"; "wordWrap": "wordWrap"; "multiLine": "multiLine"; "mask": "mask"; "inputType": "inputType"; "isRequired": "isRequired"; "showDropDown": "showDropDown"; "dataMapEditor": "dataMapEditor"; "dropDownCssClass": "dropDownCssClass"; "quickAutoSize": "quickAutoSize"; "editor": "editor"; "colspan": "colspan"; "rowspan": "rowspan"; }, { "initialized": "initialized"; }, never, ["*"], false, never>;
|
|
505
|
+
}
|
|
506
|
+
declare var wjMultiRowCellGroupMeta: IWjComponentMeta;
|
|
507
|
+
export { wjMultiRowCellGroupMeta };
|
|
508
|
+
/**
|
|
509
|
+
* Angular 2 component for the {@link wijmo.grid.multirow.MultiRowCellGroup} class.
|
|
510
|
+
*
|
|
511
|
+
* The <b>wj-multi-row-cell-group</b> component must be
|
|
512
|
+
* contained in a {@link wijmo.angular2.grid.multirow.WjMultiRow} component.
|
|
513
|
+
*
|
|
514
|
+
* Use the <b>wj-multi-row-cell-group</b> component to add <b>MultiRowCellGroup</b> controls to your
|
|
515
|
+
* Angular 2 applications. For details about Angular 2 markup syntax, see
|
|
516
|
+
* <a href="/wijmo/docs/GettingStarted/Angular-Components">Angular 2 Markup</a>.
|
|
517
|
+
*
|
|
518
|
+
* The <b>WjMultiRowCellGroup</b> component is derived from the <b>MultiRowCellGroup</b> class and
|
|
519
|
+
* inherits all its properties, events and methods.
|
|
520
|
+
*
|
|
521
|
+
* The <b>wj-multi-row-cell-group</b> component may contain a {@link wijmo.angular2.grid.multirow.WjMultiRowCell} child component.
|
|
522
|
+
*/
|
|
523
|
+
export declare class WjMultiRowCellGroup extends wjcGridMultirow.MultiRowCellGroup implements OnInit, OnDestroy, AfterViewInit {
|
|
524
|
+
cdRef: ChangeDetectorRef;
|
|
525
|
+
static readonly meta: IWjComponentMetadata;
|
|
526
|
+
private _wjBehaviour;
|
|
527
|
+
/**
|
|
528
|
+
* Indicates whether the component has been initialized by Angular.
|
|
529
|
+
* Changes its value from false to true right before triggering the <b>initialized</b> event.
|
|
530
|
+
*/
|
|
531
|
+
isInitialized: boolean;
|
|
532
|
+
/**
|
|
533
|
+
* This event is triggered after the component has been initialized by Angular, that is
|
|
534
|
+
* all bound properties have been assigned and child components (if any) have been initialized.
|
|
535
|
+
*/
|
|
536
|
+
initialized: EventEmitter<any>;
|
|
537
|
+
/**
|
|
538
|
+
* Gets or sets a name of a property that this component is assigned to.
|
|
539
|
+
* Default value is 'layoutDefinition'.
|
|
540
|
+
*/
|
|
541
|
+
wjProperty: string;
|
|
542
|
+
constructor(elRef: ElementRef, injector: Injector, parentCmp: any, cdRef: ChangeDetectorRef);
|
|
543
|
+
/**
|
|
544
|
+
* If you create a custom component inherited from a Wijmo component, you can override this
|
|
545
|
+
* method and perform necessary initializations that you usually do in a class constructor.
|
|
546
|
+
* This method is called in the last line of a Wijmo component constructor and allows you
|
|
547
|
+
* to not declare your custom component's constructor at all, thus preventing you from a necessity
|
|
548
|
+
* to maintain constructor parameters and keep them in synch with Wijmo component's constructor parameters.
|
|
549
|
+
*/
|
|
550
|
+
created(): void;
|
|
551
|
+
ngOnInit(): void;
|
|
552
|
+
ngAfterViewInit(): void;
|
|
553
|
+
ngOnDestroy(): void;
|
|
554
|
+
static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<WjMultiRowCellGroup, [null, null, { optional: true; skipSelf: true; }, null]>;
|
|
555
|
+
static ɵcmp: ɵngcc0.ɵɵComponentDeclaration<WjMultiRowCellGroup, "wj-multi-row-cell-group", never, { "wjProperty": "wjProperty"; "name": "name"; "dataMap": "dataMap"; "dataType": "dataType"; "binding": "binding"; "sortMemberPath": "sortMemberPath"; "format": "format"; "cellTemplate": "cellTemplate"; "header": "header"; "width": "width"; "maxLength": "maxLength"; "minWidth": "minWidth"; "maxWidth": "maxWidth"; "align": "align"; "allowDragging": "allowDragging"; "allowSorting": "allowSorting"; "allowResizing": "allowResizing"; "allowMerging": "allowMerging"; "aggregate": "aggregate"; "isReadOnly": "isReadOnly"; "cssClass": "cssClass"; "cssClassAll": "cssClassAll"; "isContentHtml": "isContentHtml"; "visible": "visible"; "wordWrap": "wordWrap"; "multiLine": "multiLine"; "mask": "mask"; "inputType": "inputType"; "isRequired": "isRequired"; "showDropDown": "showDropDown"; "dataMapEditor": "dataMapEditor"; "dropDownCssClass": "dropDownCssClass"; "quickAutoSize": "quickAutoSize"; "editor": "editor"; "colspan": "colspan"; "rowspan": "rowspan"; }, { "initialized": "initialized"; }, never, ["*"], false, never>;
|
|
556
|
+
}
|
|
557
|
+
/**
|
|
558
|
+
* Angular 2 directive for the {@link MultiRow} cell templates.
|
|
559
|
+
*
|
|
560
|
+
* The <b>wjMultiRowCellTemplate</b> directive defines a template for a certain
|
|
561
|
+
* cell type in {@link MultiRow}. The template should be defined on a <b><ng-template></b> element
|
|
562
|
+
* and must contain a <b>cellType</b> attribute that
|
|
563
|
+
* specifies the {@link wijmo.angular2.grid.CellTemplateType}. Depending on the template's cell type,
|
|
564
|
+
* the <b><ng-template></b> element with the <b>wjMultiRowCellTemplate</b> directive must be a child
|
|
565
|
+
* of either {@link wijmo.angular2.grid.multirow.WjMultiRow}
|
|
566
|
+
* or {@link wijmo.angular2.grid.multirow.WjMultiRowCell} components.
|
|
567
|
+
*
|
|
568
|
+
* Column-specific cell templates must be contained in <b>wj-multi-row-cell</b>
|
|
569
|
+
* components, and cells that are not column-specific (like row header or top left cells)
|
|
570
|
+
* must be contained in the <b>wj-multi-row</b> component.
|
|
571
|
+
*
|
|
572
|
+
* The <b><ng-template></b> element with the <b>wjMultiRowCellTemplate</b> directive
|
|
573
|
+
* may contain an arbitrary HTML fragment with Angular 2 interpolation expressions and
|
|
574
|
+
* other components and directives.
|
|
575
|
+
*
|
|
576
|
+
* Bindings in HTML fragment can use the <b>cell</b> local template variable containing the cell context object,
|
|
577
|
+
* with <b>col</b>, <b>row</b>, and <b>item</b> properties that refer to the {@link MultiRowCell},
|
|
578
|
+
* {@link Row}, and <b>Row.dataItem</b> objects pertaining to the cell.
|
|
579
|
+
*
|
|
580
|
+
* For cell types like <b>Group</b> and <b>CellEdit</b>, an additional <b>value</b>
|
|
581
|
+
* property containing an unformatted cell value is provided. For example, here is a
|
|
582
|
+
* {@link MultiRow} control with templates for row header cells and, regular
|
|
583
|
+
* and column header cells of the Country column:
|
|
584
|
+
*
|
|
585
|
+
* ```typescript
|
|
586
|
+
* // component.ts
|
|
587
|
+
* import * as wjMultiRow from '@grapecity/wijmo.angular2.grid.multirow';
|
|
588
|
+
*
|
|
589
|
+
* @Component({
|
|
590
|
+
* templateUrl: './component.html',
|
|
591
|
+
* selector: 'my-cmp',
|
|
592
|
+
* })
|
|
593
|
+
* export class MyCmp {
|
|
594
|
+
* data: any[];
|
|
595
|
+
* }
|
|
596
|
+
* ```
|
|
597
|
+
* ```html
|
|
598
|
+
* <!-- component.html -->
|
|
599
|
+
* <wj-multi-row [itemsSource]="data">
|
|
600
|
+
* <ng-template wjMultiRowCellTemplate [cellType]="'RowHeader'" let-cell="cell">
|
|
601
|
+
* {{cell.row.index}}
|
|
602
|
+
* </ng-template>
|
|
603
|
+
* <ng-template wjMultiRowCellTemplate [cellType]="'RowHeaderEdit'">
|
|
604
|
+
* ...
|
|
605
|
+
* </ng-template>
|
|
606
|
+
*
|
|
607
|
+
* <wj-multi-row-cell-group header="Statistics">
|
|
608
|
+
* <wj-multi-row-cell [header]="'Country'" [binding]="'country'">
|
|
609
|
+
* <ng-template wjMultiRowCellTemplate [cellType]="'ColumnHeader'" let-cell="cell">
|
|
610
|
+
* <img src="resources/globe.png" />
|
|
611
|
+
* {{cell.col.header}}
|
|
612
|
+
* </ng-template>
|
|
613
|
+
* <ng-template wjMultiRowCellTemplate [cellType]="'Cell'" let-cell="cell">
|
|
614
|
+
* <img src="resources/{{cell.item.country}}.png" />
|
|
615
|
+
* {{cell.item.country}}
|
|
616
|
+
* </ng-template>
|
|
617
|
+
* </wj-multi-row-cell>
|
|
618
|
+
* <wj-multi-row-cell [header]="'Sales'" [binding]="'sales'"></wj-multi-row-cell>
|
|
619
|
+
* </wj-multi-row-cell-group>
|
|
620
|
+
* </wj-multi-row>
|
|
621
|
+
* ```
|
|
622
|
+
*
|
|
623
|
+
* The <b>cellType</b> attribute takes any of the following enumerated values:
|
|
624
|
+
*
|
|
625
|
+
* <b>Cell</b>
|
|
626
|
+
*
|
|
627
|
+
* Defines a regular (data) cell template. Must be a child of the {@link wijmo.angular2.grid.multirow.WjMultiRowCell} component.
|
|
628
|
+
* For example, this cell template shows flags in the cells of Country column:
|
|
629
|
+
*
|
|
630
|
+
* ```html
|
|
631
|
+
* <wj-multi-row-cell [header]="'Country'" [binding]="'country'">
|
|
632
|
+
* <ng-template wjMultiRowCellTemplate [cellType]="'Cell'" let-cell="cell">
|
|
633
|
+
* <img src="resources/{{cell.item.country}}.png" />
|
|
634
|
+
* {{cell.item.country}}
|
|
635
|
+
* </ng-template>
|
|
636
|
+
* </wj-multi-row-cell>
|
|
637
|
+
* ```
|
|
638
|
+
*
|
|
639
|
+
* <b>CellEdit</b>
|
|
640
|
+
*
|
|
641
|
+
* Defines a template for a cell in edit mode. Must be a child of the {@link wijmo.angular2.grid.multirow.WjMultiRowCell} component.
|
|
642
|
+
* This cell type has an additional <b>cell.value</b> property available for binding. It contains the
|
|
643
|
+
* original cell value before editing, and the updated value after editing.
|
|
644
|
+
|
|
645
|
+
* For example, here is a template that uses the Wijmo {@link InputNumber} control as an editor
|
|
646
|
+
* for the "Sales" column:
|
|
647
|
+
*
|
|
648
|
+
* ```html
|
|
649
|
+
* <wj-multi-row-cell [header]="'Sales'" [binding]="'sales'">
|
|
650
|
+
* <ng-template wjMultiRowCellTemplate [cellType]="'CellEdit'">
|
|
651
|
+
* <wj-input-number [(value)]="cell.value" [step]="1"></wj-input-number>
|
|
652
|
+
* </ng-template>
|
|
653
|
+
* </wj-multi-row-cell>
|
|
654
|
+
* ```
|
|
655
|
+
*
|
|
656
|
+
* <b>ColumnHeader</b>
|
|
657
|
+
*
|
|
658
|
+
* Defines a template for a column header cell. Must be a child of the {@link wijmo.angular2.grid.multirow.WjMultiRowCell} component.
|
|
659
|
+
* For example, this template adds an image to the header of the "Country" column:
|
|
660
|
+
*
|
|
661
|
+
* ```html
|
|
662
|
+
* <wj-multi-row-cell [header]="'Country'" [binding]="'country'">
|
|
663
|
+
* <ng-template wjMultiRowCellTemplate [cellType]="'ColumnHeader'" let-cell="cell">
|
|
664
|
+
* <img src="resources/globe.png" />
|
|
665
|
+
* {{cell.col.header}}
|
|
666
|
+
* </ng-template>
|
|
667
|
+
* </wj-multi-row-cell>
|
|
668
|
+
* ```
|
|
669
|
+
*
|
|
670
|
+
* <b>RowHeader</b>
|
|
671
|
+
*
|
|
672
|
+
* Defines a template for a row header cell. Must be a child of the {@link wijmo.angular2.grid.multirow.WjMultiRow} component.
|
|
673
|
+
* For example, this template shows row indices in the row headers:
|
|
674
|
+
*
|
|
675
|
+
* ```html
|
|
676
|
+
* <wj-multi-row #mr [itemsSource]="data">
|
|
677
|
+
* <ng-template wjMultiRowCellTemplate [cellType]="'RowHeader'" let-cell="cell">
|
|
678
|
+
* {{cell.row.index / mr.rowsPerItem + 1}}
|
|
679
|
+
* </ng-template>
|
|
680
|
+
* </wj-multi-row>
|
|
681
|
+
* ```
|
|
682
|
+
*
|
|
683
|
+
* Note that this template is applied to a row header cell, even if it is in a row that is
|
|
684
|
+
* in edit mode. In order to provide an edit-mode version of a row header cell with alternate
|
|
685
|
+
* content, define the <b>RowHeaderEdit</b> template.
|
|
686
|
+
*
|
|
687
|
+
* <b>RowHeaderEdit</b>
|
|
688
|
+
*
|
|
689
|
+
* Defines a template for a row header cell in edit mode. Must be a child of the
|
|
690
|
+
* {@link wijmo.angular2.grid.multirow.WjMultiRow} component. For example, this template shows dots in the header
|
|
691
|
+
* of rows being edited:
|
|
692
|
+
*
|
|
693
|
+
* ```html
|
|
694
|
+
* <wj-multi-row [itemsSource]="data">
|
|
695
|
+
* <ng-template wjMultiRowCellTemplate [cellType]="'RowHeaderEdit'">
|
|
696
|
+
* ...
|
|
697
|
+
* </ng-template>
|
|
698
|
+
* </wj-multi-row>
|
|
699
|
+
* ```
|
|
700
|
+
*
|
|
701
|
+
* Use the following <b>RowHeaderEdit</b> template to add the standard edit-mode indicator to cells where the <b>RowHeader</b> template
|
|
702
|
+
* applies:
|
|
703
|
+
*
|
|
704
|
+
* ```html
|
|
705
|
+
* <wj-multi-row [itemsSource]="data">
|
|
706
|
+
* <ng-template wjMultiRowCellTemplate [cellType]="'RowHeaderEdit'">
|
|
707
|
+
* {{&#x270e;}}
|
|
708
|
+
* </ng-template>
|
|
709
|
+
* </wj-multi-row>
|
|
710
|
+
* ```
|
|
711
|
+
*
|
|
712
|
+
* <b>TopLeft</b>
|
|
713
|
+
*
|
|
714
|
+
* Defines a template for the top left cell. Must be a child of the {@link wijmo.angular2.grid.multirow.WjMultiRow} component.
|
|
715
|
+
* For example, this template shows a down/right glyph in the top-left cell of the grid:
|
|
716
|
+
*
|
|
717
|
+
* ```html
|
|
718
|
+
* <wj-multi-row [itemsSource]="data">
|
|
719
|
+
* <ng-template wjMultiRowCellTemplate [cellType]="'TopLeft'">
|
|
720
|
+
* <span class="wj-glyph-down-right"></span>
|
|
721
|
+
* </ng-template>
|
|
722
|
+
* </wj-multi-row>
|
|
723
|
+
* ```
|
|
724
|
+
*
|
|
725
|
+
* <b>GroupHeader</b>
|
|
726
|
+
*
|
|
727
|
+
* Defines a template for a group header cell in a {@link GroupRow}. Must be a child of the {@link wijmo.angular2.grid.multirow.WjMultiRowCell} component.
|
|
728
|
+
*
|
|
729
|
+
* The <b>cell.row</b> property contains an instance of the <b>GroupRow</b> class. If the grouping comes
|
|
730
|
+
* from {@link CollectionView}, the <b>cell.item</b> property references the {@link CollectionViewGroup} object.
|
|
731
|
+
*
|
|
732
|
+
* For example, this template uses a checkbox element as an expand/collapse toggle:
|
|
733
|
+
*
|
|
734
|
+
* ```html
|
|
735
|
+
* <wj-multi-row-cell [header]="'Country'" [binding]="'country'">
|
|
736
|
+
* <ng-template wjMultiRowCellTemplate [cellType]="'GroupHeader'" let-cell="cell">
|
|
737
|
+
* <input type="checkbox" [(ngModel)]="cell.row.isCollapsed"/>
|
|
738
|
+
* {{cell.item.name}} ({{cell.item.items.length}} items)
|
|
739
|
+
* </ng-template>
|
|
740
|
+
* </wj-multi-row-cell>
|
|
741
|
+
* ```
|
|
742
|
+
*
|
|
743
|
+
* <b>Group</b>
|
|
744
|
+
*
|
|
745
|
+
* Defines a template for a regular cell (not a group header) in a {@link GroupRow}. Must be a child of the
|
|
746
|
+
* {@link wijmo.angular2.grid.multirow.WjMultiRowCell} component. This cell type has an additional <b>cell.value</b> property available for
|
|
747
|
+
* binding. In cases where columns have the <b>aggregate</b> property specified, it contains the unformatted
|
|
748
|
+
* aggregate value.
|
|
749
|
+
*
|
|
750
|
+
* For example, this template shows aggregate's value and kind for group row cells in the "Sales"
|
|
751
|
+
* column:
|
|
752
|
+
*
|
|
753
|
+
* ```html
|
|
754
|
+
* <wj-multi-row-cell [header]="'Sales'" [binding]="'sales'" [aggregate]="'Avg'">
|
|
755
|
+
* <ng-template wjMultiRowCellTemplate [cellType]="'Group'" let-cell="cell">
|
|
756
|
+
* Average: {{cell.value | number:'1.0-0'}}
|
|
757
|
+
* </ng-template>
|
|
758
|
+
* </wj-multi-row-cell>
|
|
759
|
+
* ```
|
|
760
|
+
*
|
|
761
|
+
* <b>NewCellTemplate</b>
|
|
762
|
+
*
|
|
763
|
+
* Defines a cell in a new row template. Must be a child of the {@link wijmo.angular2.grid.multirow.WjMultiRowCell} component.
|
|
764
|
+
* Note that the <b>cell.item</b> property is undefined for this type of a cell.
|
|
765
|
+
* For example, this cell template shows a placeholder in the Date column's cell in the "new row" item:
|
|
766
|
+
*
|
|
767
|
+
* ```html
|
|
768
|
+
* <wj-multi-row-cell [header]="'Date'" [binding]="'date'">
|
|
769
|
+
* <ng-template wjMultiRowCellTemplate [cellType]="'NewCellTemplate'">
|
|
770
|
+
* Enter a date here
|
|
771
|
+
* </ng-template>
|
|
772
|
+
* </wj-multi-row-cell>
|
|
773
|
+
* ```
|
|
774
|
+
*/
|
|
775
|
+
export declare class WjMultiRowCellTemplate extends wjGrid.WjFlexGridCellTemplate {
|
|
776
|
+
constructor(viewContainerRef: ViewContainerRef, templateRef: TemplateRef<any>, elRef: ElementRef, parentCmp: any, injector: Injector, cdRef: ChangeDetectorRef);
|
|
777
|
+
static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<WjMultiRowCellTemplate, [null, { optional: true; }, null, { optional: true; skipSelf: true; }, null, null]>;
|
|
778
|
+
static ɵdir: ɵngcc0.ɵɵDirectiveDeclaration<WjMultiRowCellTemplate, "[wjMultiRowCellTemplate]", ["wjMultiRowCellTemplate"], { "wjMultiRowCellTemplate": "wjMultiRowCellTemplate"; "cellTypeStr": "cellType"; "cellOverflow": "cellOverflow"; "valuePaths": "valuePaths"; "autoSizeRows": "autoSizeRows"; "forceFullEdit": "forceFullEdit"; }, {}, never, never, false, never>;
|
|
779
|
+
}
|
|
780
|
+
export declare class WjGridMultirowModule {
|
|
781
|
+
static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<WjGridMultirowModule, never>;
|
|
782
|
+
static ɵmod: ɵngcc0.ɵɵNgModuleDeclaration<WjGridMultirowModule, [typeof WjMultiRow, typeof WjMultiRowCell, typeof WjMultiRowCellGroup, typeof WjMultiRowCellTemplate], [typeof ɵngcc1.CommonModule], [typeof WjMultiRow, typeof WjMultiRowCell, typeof WjMultiRowCellGroup, typeof WjMultiRowCellTemplate]>;
|
|
783
|
+
static ɵinj: ɵngcc0.ɵɵInjectorDeclaration<WjGridMultirowModule>;
|
|
784
|
+
}
|