@mescius/wijmo.react.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/index.d.ts ADDED
@@ -0,0 +1,583 @@
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.react.grid.multirow}
15
+ * Contains React components for the <b>wijmo.grid.multirow</b> module.
16
+ */
17
+ /**
18
+ *
19
+ */
20
+ export declare var ___keepComment: any;
21
+ import { ComponentBase } from '@grapecity/wijmo.react.base';
22
+ import * as wjcCore from '@grapecity/wijmo';
23
+ import * as wjcGridMultirow from '@grapecity/wijmo.grid.multirow';
24
+ import * as wjGrid from '@grapecity/wijmo.react.grid';
25
+ /**
26
+ * React component for the {@link wijmo.grid.multirow.MultiRow} control.
27
+ *
28
+ * The <b>multi-row</b> component may contain
29
+ * the following child components:
30
+ * {@link wijmo.react.grid.multirow.MultiRowCellGroup}
31
+ * and {@link wijmo.react.grid.multirow.MultiRowCellTemplate}.
32
+ *
33
+ * The component supports all properties and events of the pure JavaScript {@link wijmo.grid.multirow.MultiRow} control it represents.
34
+ *
35
+ * The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
36
+ * You can use this event to perform further initialization in addition to setting properties in JSX.
37
+ * The signature of the handler function is the same as any other Wijmo event handlers.
38
+ */
39
+ export declare class MultiRow extends ComponentBase {
40
+ props: {
41
+ template?: any;
42
+ children?: any;
43
+ isDisabled?: any;
44
+ tabOrder?: any;
45
+ newRowAtTop?: any;
46
+ allowAddNew?: any;
47
+ allowDelete?: any;
48
+ allowDragging?: any;
49
+ allowMerging?: any;
50
+ allowResizing?: any;
51
+ allowSorting?: any;
52
+ allowPinning?: any;
53
+ autoScroll?: any;
54
+ autoRowHeights?: any;
55
+ autoSizeMode?: any;
56
+ autoGenerateColumns?: any;
57
+ autoSearch?: any;
58
+ caseSensitiveSearch?: any;
59
+ quickAutoSize?: any;
60
+ bigCheckboxes?: any;
61
+ childItemsPath?: any;
62
+ groupHeaderFormat?: any;
63
+ headersVisibility?: any;
64
+ showSelectedHeaders?: any;
65
+ showMarquee?: any;
66
+ showPlaceholders?: any;
67
+ itemFormatter?: any;
68
+ isReadOnly?: any;
69
+ imeEnabled?: any;
70
+ mergeManager?: any;
71
+ selectionMode?: any;
72
+ showGroups?: any;
73
+ showSort?: any;
74
+ showDropDown?: any;
75
+ showAlternatingRows?: any;
76
+ showErrors?: any;
77
+ alternatingRowStep?: any;
78
+ itemValidator?: any;
79
+ validateEdits?: any;
80
+ treeIndent?: any;
81
+ itemsSource?: any;
82
+ autoClipboard?: any;
83
+ expandSelectionOnCopyPaste?: any;
84
+ frozenRows?: any;
85
+ frozenColumns?: any;
86
+ cloneFrozenCells?: any;
87
+ deferResizing?: any;
88
+ sortRowIndex?: any;
89
+ editColumnIndex?: any;
90
+ stickyHeaders?: any;
91
+ preserveSelectedState?: any;
92
+ preserveOutlineState?: any;
93
+ preserveWhiteSpace?: any;
94
+ keyActionTab?: any;
95
+ keyActionEnter?: any;
96
+ rowHeaderPath?: any;
97
+ virtualizationThreshold?: any;
98
+ anchorCursor?: any;
99
+ lazyRender?: any;
100
+ refreshOnEdit?: any;
101
+ copyHeaders?: any;
102
+ columnGroups?: any;
103
+ layoutDefinition?: any;
104
+ headerLayoutDefinition?: any;
105
+ centerHeadersVertically?: any;
106
+ collapsedHeaders?: any;
107
+ showHeaderCollapseButton?: any;
108
+ multiRowGroupHeaders?: any;
109
+ initialized?: any;
110
+ gotFocus?: any;
111
+ lostFocus?: any;
112
+ refreshing?: any;
113
+ refreshed?: any;
114
+ invalidInput?: any;
115
+ beginningEdit?: any;
116
+ cellEditEnded?: any;
117
+ cellEditEnding?: any;
118
+ prepareCellForEdit?: any;
119
+ formatItem?: any;
120
+ resizingColumn?: any;
121
+ resizedColumn?: any;
122
+ autoSizingColumn?: any;
123
+ autoSizedColumn?: any;
124
+ draggingColumn?: any;
125
+ draggingColumnOver?: any;
126
+ draggedColumn?: any;
127
+ sortingColumn?: any;
128
+ sortedColumn?: any;
129
+ pinningColumn?: any;
130
+ pinnedColumn?: any;
131
+ resizingRow?: any;
132
+ resizedRow?: any;
133
+ autoSizingRow?: any;
134
+ autoSizedRow?: any;
135
+ draggingRow?: any;
136
+ draggingRowOver?: any;
137
+ draggedRow?: any;
138
+ deletingRow?: any;
139
+ deletedRow?: any;
140
+ loadingRows?: any;
141
+ loadedRows?: any;
142
+ rowEditStarting?: any;
143
+ rowEditStarted?: any;
144
+ rowEditEnding?: any;
145
+ rowEditEnded?: any;
146
+ rowAdded?: any;
147
+ groupCollapsedChanging?: any;
148
+ groupCollapsedChanged?: any;
149
+ columnGroupCollapsedChanging?: any;
150
+ columnGroupCollapsedChanged?: any;
151
+ itemsSourceChanging?: any;
152
+ itemsSourceChanged?: any;
153
+ selectionChanging?: any;
154
+ selectionChanged?: any;
155
+ scrollPositionChanged?: any;
156
+ updatingView?: any;
157
+ updatedView?: any;
158
+ updatingLayout?: any;
159
+ updatedLayout?: any;
160
+ pasting?: any;
161
+ pasted?: any;
162
+ pastingCell?: any;
163
+ pastedCell?: any;
164
+ copying?: any;
165
+ copied?: any;
166
+ collapsedHeadersChanging?: any;
167
+ collapsedHeadersChanged?: any;
168
+ commitEmptyEdits?: any;
169
+ [key: string]: any;
170
+ };
171
+ constructor(props: any);
172
+ protected _createControl(): any;
173
+ protected _onBeforeWillUnmount(e?: wjcCore.EventArgs): void;
174
+ }
175
+ /**
176
+ * React component for the {@link wijmo.grid.multirow.MultiRowCell} class.
177
+ *
178
+ * The <b>multi-row-cell</b> component should be contained in
179
+ * a {@link wijmo.react.grid.multirow.MultiRowCellGroup} component.
180
+ *
181
+ * The <b>multi-row-cell</b> component may contain
182
+ * a {@link wijmo.react.grid.multirow.MultiRowCellTemplate} child component.
183
+ *
184
+ * The component supports all properties and events of the pure JavaScript {@link wijmo.grid.multirow.MultiRowCell} class it represents.
185
+ *
186
+ * The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
187
+ * You can use this event to perform further initialization in addition to setting properties in JSX.
188
+ * The signature of the handler function is the same as any other Wijmo event handlers.
189
+ */
190
+ export declare class MultiRowCell extends ComponentBase {
191
+ props: {
192
+ template?: any;
193
+ children?: any;
194
+ name?: any;
195
+ dataMap?: any;
196
+ dataType?: any;
197
+ binding?: any;
198
+ sortMemberPath?: any;
199
+ format?: any;
200
+ cellTemplate?: any;
201
+ header?: any;
202
+ width?: any;
203
+ maxLength?: any;
204
+ minWidth?: any;
205
+ maxWidth?: any;
206
+ align?: any;
207
+ allowDragging?: any;
208
+ allowSorting?: any;
209
+ allowResizing?: any;
210
+ allowMerging?: any;
211
+ aggregate?: any;
212
+ isReadOnly?: any;
213
+ cssClass?: any;
214
+ cssClassAll?: any;
215
+ isContentHtml?: any;
216
+ isSelected?: any;
217
+ visible?: any;
218
+ wordWrap?: any;
219
+ multiLine?: any;
220
+ mask?: any;
221
+ inputType?: any;
222
+ isRequired?: any;
223
+ showDropDown?: any;
224
+ dataMapEditor?: any;
225
+ dropDownCssClass?: any;
226
+ quickAutoSize?: any;
227
+ editor?: any;
228
+ colspan?: any;
229
+ rowspan?: any;
230
+ initialized?: any;
231
+ [key: string]: any;
232
+ };
233
+ _parentProp: string;
234
+ constructor(props: any);
235
+ }
236
+ /**
237
+ * React component for the {@link wijmo.grid.multirow.MultiRowCellGroup} class.
238
+ *
239
+ * The <b>multi-row-cell-group</b> component should be contained in
240
+ * a {@link wijmo.react.grid.multirow.MultiRow} component.
241
+ *
242
+ * The <b>multi-row-cell-group</b> component may contain
243
+ * a {@link wijmo.react.grid.multirow.MultiRowCell} child component.
244
+ *
245
+ * The component supports all properties and events of the pure JavaScript {@link wijmo.grid.multirow.MultiRowCellGroup} class it represents.
246
+ *
247
+ * The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
248
+ * You can use this event to perform further initialization in addition to setting properties in JSX.
249
+ * The signature of the handler function is the same as any other Wijmo event handlers.
250
+ */
251
+ export declare class MultiRowCellGroup extends ComponentBase {
252
+ props: {
253
+ template?: any;
254
+ children?: any;
255
+ name?: any;
256
+ dataMap?: any;
257
+ dataType?: any;
258
+ binding?: any;
259
+ sortMemberPath?: any;
260
+ format?: any;
261
+ cellTemplate?: any;
262
+ header?: any;
263
+ width?: any;
264
+ maxLength?: any;
265
+ minWidth?: any;
266
+ maxWidth?: any;
267
+ align?: any;
268
+ allowDragging?: any;
269
+ allowSorting?: any;
270
+ allowResizing?: any;
271
+ allowMerging?: any;
272
+ aggregate?: any;
273
+ isReadOnly?: any;
274
+ cssClass?: any;
275
+ cssClassAll?: any;
276
+ isContentHtml?: any;
277
+ isSelected?: any;
278
+ visible?: any;
279
+ wordWrap?: any;
280
+ multiLine?: any;
281
+ mask?: any;
282
+ inputType?: any;
283
+ isRequired?: any;
284
+ showDropDown?: any;
285
+ dataMapEditor?: any;
286
+ dropDownCssClass?: any;
287
+ quickAutoSize?: any;
288
+ editor?: any;
289
+ colspan?: any;
290
+ rowspan?: any;
291
+ initialized?: any;
292
+ [key: string]: any;
293
+ };
294
+ _parentProp: string;
295
+ constructor(props: any);
296
+ }
297
+ /**
298
+ * React component for the {@link MultiRow} cell templates.
299
+ *
300
+ * The <b>MultiRowCellTemplate</b> component defines a template for a certain
301
+ * cell type in {@link MultiRow}. The template element must contain a <b>cellType</b> property that
302
+ * specifies the {@link wijmo.react.grid.CellTemplateType}. Depending on the template's cell type,
303
+ * the <b>MultiRowCellTemplate</b> element must be a child
304
+ * of either {@link wijmo.react.grid.multirow.MultiRow}
305
+ * or {@link wijmo.react.grid.multirow.MultiRowCell} components.
306
+ *
307
+ * Column-specific cell templates must be contained in <b>MultiRowCell</b>
308
+ * components, and cells that are not column-specific (like row header or top left cells)
309
+ * must be contained in the <b>MultiRow</b> component.
310
+ *
311
+ * The content of cells is defined using the <b>template</b> <i>render prop</i>, which receives
312
+ * a render function that should return a virtual element tree representing the cell content.
313
+ * The function has the <b>context</b> parameter where the data context of each certain cell is
314
+ * passed. This is an object with the <b>col</b>, <b>row</b>, and <b>item</b> properties,
315
+ * which refer to the {@link MultiRowCell}, {@link Row}, and <b>Row.dataItem</b> objects pertaining to the cell.
316
+ *
317
+ * For cell types like <b>Group</b> and <b>CellEdit</b>, an additional <b>value</b>
318
+ * context property containing an unformatted cell value is provided.
319
+ *
320
+ * For example, here is a
321
+ * {@link MultiRow} control with templates for row header cells and, regular
322
+ * and column header cells of the Country column:
323
+ *
324
+ * ```html
325
+ * <!-- component.html -->
326
+ * <MultiRow itemsSource={this.state.data}>
327
+ * <MultiRowCellTemplate
328
+ * cellType="RowHeader"
329
+ * template={ (context) => context.row.index + 1 } />
330
+ * <MultiRowCellTemplate
331
+ * cellType="RowHeaderEdit"
332
+ * template={ (context) => '...' } />
333
+ *
334
+ * <MultiRowCellGroup header="Statistics">
335
+ * <MultiRowCell header="Country" binding="country">
336
+ * <MultiRowCellTemplate
337
+ * cellType="ColumnHeader"
338
+ * template={ (context) => {
339
+ * return <React.Fragment>
340
+ * <img src="resources/globe.png" />
341
+ * {context.col.header}
342
+ * </React.Fragment>
343
+ * }
344
+ * }
345
+ * />
346
+ * <MultiRowCellTemplate
347
+ * cellType="Cell"
348
+ * template={ (context) => {
349
+ * return <React.Fragment>
350
+ * <img src={`resources/${context.item.country}.png`} />
351
+ * {context.item.country}
352
+ * </React.Fragment>
353
+ * } }
354
+ * />
355
+ * </MultiRowCell>
356
+ * <MultiRowCell header="Sales" binding="sales"></MultiRowCell>
357
+ * </MultiRowCellGroup>
358
+ * </MultiRow>
359
+ * ```
360
+ *
361
+ * The <b>MultiRowCellTemplate</b> directive supports the following properties:
362
+ *
363
+ * <dl class="dl-horizontal">
364
+ * <dt>cellType</dt>
365
+ * <dd>
366
+ * The <b>CellTemplateType</b> value defining the type of cell to which the template is applied.
367
+ * </dd>
368
+ * <dt>autoSizeRows</dt>
369
+ * <dd>
370
+ * Indicates whether the cell template will increase grid's default row height
371
+ * to accomodate cells content. Defaults to true.
372
+ * </dd>
373
+ * <dt>cellOverflow</dt>
374
+ * <dd>
375
+ * Defines the <b>style.overflow</b> property value for cells.
376
+ * </dd>
377
+ * <dt>forceFullEdit</dt>
378
+ * <dd>
379
+ * For cell edit templates, indicates whether cell editing forcibly starts in full edit mode,
380
+ * regardless of how the editing was initiated. In full edit mode pressing cursor keys don't finish editing.
381
+ * Defaults to true.
382
+ * </dd>
383
+ * </dl>
384
+ *
385
+ * The <b>cellType</b> attribute takes any of the following enumerated values:
386
+ *
387
+ * <b>Cell</b>
388
+ *
389
+ * Defines a regular (data) cell template. Must be a child of the {@link wijmo.react.grid.multirow.MultiRowCell} component.
390
+ * For example, this cell template shows flags in the cells of Country column:
391
+ *
392
+ * ```html
393
+ * <MultiRowCell header="Country" binding="country">
394
+ * <MultiRowCellTemplate
395
+ * cellType="Cell"
396
+ * template={ (context) => {
397
+ * return <React.Fragment>
398
+ * <img src={`resources/${context.item.country}.png`} />
399
+ * {context.item.country}
400
+ * </React.Fragment>
401
+ * }
402
+ * }
403
+ * />
404
+ * </MultiRowCell>
405
+ * ```
406
+ *
407
+ * <b>CellEdit</b>
408
+ *
409
+ * Defines a template for a cell in edit mode. Must be a child of the {@link wijmo.react.grid.multirow.MultiRowCell} component.
410
+ * This cell type has an additional <b>context.value</b> property. It contains the
411
+ * original cell value before editing, and the updated value after editing.
412
+ *
413
+ * For example, here is a template that uses the Wijmo {@link InputNumber} control as an editor
414
+ * for the "Sales" column:
415
+ * ```html
416
+ * <MultiRowCell header="Sales" binding="sales">
417
+ * <MultiRowCellTemplate
418
+ * cellType="CellEdit"
419
+ * template={ (context) => {
420
+ * return <wjInput.InputNumber
421
+ * step={1}
422
+ * value={context.value}
423
+ * valueChanged={(inpNum: wjcInput.InputNumber) =>
424
+ * context.value = inpNum.value
425
+ * } />
426
+ * }
427
+ * }
428
+ * />
429
+ * </MultiRowCell>
430
+ * ```
431
+ *
432
+ * <b>ColumnHeader</b>
433
+ *
434
+ * Defines a template for a column header cell. Must be a child of the {@link wijmo.react.grid.multirow.MultiRowCell} component.
435
+ * For example, this template adds an image to the header of the "Country" column:
436
+ *
437
+ * ```html
438
+ * <MultiRowCell header="Country" binding="country">
439
+ * <MultiRowCellTemplate
440
+ * cellType="ColumnHeader"
441
+ * template={ (context) => {
442
+ * return <React.Fragment>
443
+ * <img src="resources/globe.png" />
444
+ * {context.col.header}
445
+ * </React.Fragment>
446
+ * }
447
+ * }
448
+ * />
449
+ * </MultiRowCell>
450
+ * ```
451
+ *
452
+ * <b>RowHeader</b>
453
+ *
454
+ * Defines a template for a row header cell. Must be a child of the {@link wijmo.react.grid.multirow.MultiRow} component.
455
+ * For example, this template shows row indices in the row headers:
456
+ *
457
+ * ```html
458
+ * <MultiRow itemsSource={this.state.data}>
459
+ * <MultiRowCellTemplate
460
+ * cellType="RowHeader"
461
+ * template={ (context) => context.row.index / context.row.grid.rowsPerItem + 1 } />
462
+ * </MultiRow>
463
+ * ```
464
+ *
465
+ * Note that this template is applied to a row header cell, even if it is in a row that is
466
+ * in edit mode. In order to provide an edit-mode version of a row header cell with alternate
467
+ * content, define the <b>RowHeaderEdit</b> template.
468
+ *
469
+ * <b>RowHeaderEdit</b>
470
+ *
471
+ * Defines a template for a row header cell in edit mode. Must be a child of the
472
+ * {@link wijmo.react.grid.multirow.MultiRow} component. For example, this template shows dots in the header
473
+ * of rows being edited:
474
+ *
475
+ * ```html
476
+ * <MultiRow itemsSource={this.state.data}>
477
+ * <MultiRowCellTemplate
478
+ * cellType="RowHeaderEdit"
479
+ * template={ (context) => '...' } />
480
+ * </MultiRow>
481
+ * ```
482
+ *
483
+ * Use the following <b>RowHeaderEdit</b> template to add the standard edit-mode indicator to cells where
484
+ * the <b>RowHeader</b> template applies:
485
+ *
486
+ * ```html
487
+ * <MultiRow itemsSource={this.state.data}>
488
+ * <MultiRowCellTemplate
489
+ * cellType="RowHeaderEdit"
490
+ * template={ (context) => '\u270e\ufe0e' } />
491
+ * </MultiRow>
492
+ * ```
493
+ *
494
+ * <b>TopLeft</b>
495
+ *
496
+ * Defines a template for the top left cell. Must be a child of the {@link wijmo.react.grid.multirow.MultiRow} component.
497
+ * For example, this template shows a down/right glyph in the top-left cell of the grid:
498
+ *
499
+ * ```html
500
+ * <MultiRow itemsSource={this.state.data}>
501
+ * <MultiRowCellTemplate
502
+ * cellType="TopLeft"
503
+ * template={ (context) => {
504
+ * return <span class="wj-glyph-down-right"></span>
505
+ * } }
506
+ * />
507
+ * </MultiRow>
508
+ * ```
509
+ *
510
+ * <b>GroupHeader</b>
511
+ *
512
+ * Defines a template for a group header cell in a {@link GroupRow}. Must be a child of
513
+ * the {@link wijmo.react.grid.multirow.MultiRowCell} component.
514
+ *
515
+ * The <b>context.row</b> property contains an instance of the <b>GroupRow</b> class. If the grouping comes
516
+ * from {@link CollectionView}, the <b>context.item</b> property references the {@link CollectionViewGroup} object.
517
+ *
518
+ * For example, this template uses a checkbox element as an expand/collapse toggle:
519
+ *
520
+ * ```html
521
+ * <MultiRowCell header="Country" binding="country">
522
+ * <MultiRowCellTemplate
523
+ * cellType="GroupHeader"
524
+ * template={ (context) => {
525
+ * return <React.Fragment>
526
+ * <input type="checkbox"
527
+ * checked={context.row.isCollapsed}
528
+ * onChange={e =>
529
+ * context.row.isCollapsed = e.target.checked as boolean
530
+ * } />
531
+ * {context.item.name} ({context.item.items.length} items)
532
+ * </React.Fragment>
533
+ * }
534
+ * }
535
+ * />
536
+ * </MultiRowCell>
537
+ * ```
538
+ *
539
+ * <b>Group</b>
540
+ *
541
+ * Defines a template for a regular cell (not a group header) in a {@link GroupRow}. Must be a child of the
542
+ * {@link wijmo.react.grid.multirow.MultiRowCell} component. This cell type has an additional <b>context.value</b>
543
+ * property. In cases where columns have the <b>aggregate</b> property specified, it contains the unformatted
544
+ * aggregate value.
545
+ *
546
+ * For example, this template shows aggregate's value and kind for group row cells in the "Sales"
547
+ * column:
548
+ *
549
+ * ```html
550
+ * <MultiRowCell header="Sales" binding="sales" aggregate="Avg">
551
+ * <MultiRowCellTemplate
552
+ * cellType="Group"
553
+ * template={ (context) => {
554
+ * return <React.Fragment>
555
+ * Average: {wjcCore.Globalize.formatNumber(context.value, 'N0')}
556
+ * </React.Fragment>
557
+ * }
558
+ * }
559
+ * />
560
+ * </MultiRowCell>
561
+ * ```
562
+ *
563
+ * <b>NewCellTemplate</b>
564
+ *
565
+ * Defines a cell in a new row template. Must be a child of the {@link wijmo.react.grid.multirow.MultiRowCell} component.
566
+ * Note that the <b>context.item</b> property is undefined for this type of a cell.
567
+ * For example, this cell template shows a placeholder in the Date column's cell in the "new row" item:
568
+ *
569
+ * ```html
570
+ * <MultiRowCell header="Date" binding="date">
571
+ * <MultiRowCellTemplate
572
+ * cellType="NewCellTemplate"
573
+ * template={ (context) => 'Enter a date here' } />
574
+ * </MultiRowCell>
575
+ * ```
576
+ */
577
+ export declare class MultiRowCellTemplate extends wjGrid.FlexGridCellTemplate {
578
+ readonly template: MultiRowCellTemplateRender;
579
+ }
580
+ export interface IMultiRowCellTemplateContext extends wjGrid.ICellTemplateContext {
581
+ col: wjcGridMultirow.MultiRowCell;
582
+ }
583
+ export declare type MultiRowCellTemplateRender = (context: IMultiRowCellTemplateContext) => any;
package/index.js ADDED
@@ -0,0 +1,14 @@
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
+ "use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(t,e){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)};return function(t,e){extendStatics(t,e);function __(){this.constructor=t}t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}}(),__importStar=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.hasOwnProperty.call(t,o)&&(e[o]=t[o]);e.default=t;return e};Object.defineProperty(exports,"__esModule",{value:!0});var wijmo_react_base_1=require("@mescius/wijmo.react.base"),wjcGridMultirow=__importStar(require("@mescius/wijmo.grid.multirow")),wjGrid=__importStar(require("@mescius/wijmo.react.grid")),MultiRow=function(t){__extends(MultiRow,t);function MultiRow(e){return t.call(this,e,wjcGridMultirow.MultiRow,{objectProps:["childItemsPath","mergeManager","itemsSource","virtualizationThreshold","columnGroups","layoutDefinition","headerLayoutDefinition"]})||this}MultiRow.prototype._createControl=function(){var e=t.prototype._createControl.call(this);new wjGrid.DirectiveCellFactory(this,e);return e};MultiRow.prototype._onBeforeWillUnmount=function(e){t.prototype._onBeforeWillUnmount.call(this,e);wijmo_react_base_1.ComponentBase._reactMajorVersion<18&&this.control._layout._dispose()};return MultiRow}(wijmo_react_base_1.ComponentBase);exports.MultiRow=MultiRow;var MultiRowCell=function(t){__extends(MultiRowCell,t);function MultiRowCell(e){var o=t.call(this,e,wjcGridMultirow.MultiRowCell,{objectProps:["dataMap","cellTemplate","editor"]})||this;o._parentProp="cells";return o}return MultiRowCell}(wijmo_react_base_1.ComponentBase);exports.MultiRowCell=MultiRowCell;var MultiRowCellGroup=function(t){__extends(MultiRowCellGroup,t);function MultiRowCellGroup(e){var o=t.call(this,e,wjcGridMultirow.MultiRowCellGroup,{objectProps:["dataMap","cellTemplate","editor"]})||this;o._parentProp="layoutDefinition";return o}return MultiRowCellGroup}(wijmo_react_base_1.ComponentBase);exports.MultiRowCellGroup=MultiRowCellGroup;var MultiRowCellTemplate=function(t){__extends(MultiRowCellTemplate,t);function MultiRowCellTemplate(){return null!==t&&t.apply(this,arguments)||this}Object.defineProperty(MultiRowCellTemplate.prototype,"template",{get:function(){return this.props[MultiRowCellTemplate._CellRenderFuncProp]},enumerable:!0,configurable:!0});return MultiRowCellTemplate}(wjGrid.FlexGridCellTemplate);exports.MultiRowCellTemplate=MultiRowCellTemplate;
package/package.json ADDED
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "@mescius/wijmo.react.grid.multirow",
3
+ "version": "5.20232.939",
4
+ "description": "UI library for pure JS, Angular, React, Vue and more...",
5
+ "author": "MESCIUS inc",
6
+ "license": "Commercial",
7
+ "main": "./index.js",
8
+ "types": "./index.d.ts",
9
+ "dependencies": {
10
+ "@mescius/wijmo": "5.20232.939",
11
+ "@mescius/wijmo.grid.multirow": "5.20232.939",
12
+ "@mescius/wijmo.grid": "5.20232.939",
13
+ "@mescius/wijmo.react.base": "5.20232.939"
14
+ },
15
+ "homepage": "https://developer.mescius.com/wijmo",
16
+ "bugs": {
17
+ "url": "https://developer.mescius.com/forums/wijmo"
18
+ },
19
+ "keywords": [
20
+ "control",
21
+ "component",
22
+ "ui",
23
+ "control library",
24
+ "component library",
25
+ "ui library",
26
+ "control-library",
27
+ "component-library",
28
+ "ui-library",
29
+ "grid",
30
+ "data grid",
31
+ "data-grid",
32
+ "datagrid",
33
+ "angular grid",
34
+ "react grid",
35
+ "vue grid",
36
+ "angular-grid",
37
+ "react-grid",
38
+ "vue-grid"
39
+ ],
40
+ "module": "./es5-esm.js",
41
+ "esm5": "./es5-esm.js",
42
+ "wj-esm5": "./es5-esm.js",
43
+ "es2015Cjs": "./es2015-commonjs.js",
44
+ "wj-es2015Cjs": "./es2015-commonjs.js",
45
+ "esm2015": "./es2015-esm.js",
46
+ "wj-esm2015": "./es2015-esm.js"
47
+ }