@progress/kendo-react-pivotgrid 12.0.2-develop.1 → 12.0.2-develop.2
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/dist/cdn/js/kendo-react-pivotgrid.js +1 -1
- package/index.d.mts +383 -0
- package/index.d.ts +383 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +10 -10
package/index.d.mts
CHANGED
|
@@ -117,8 +117,17 @@ export declare const PivotGrid: React_2.ForwardRefExoticComponent<PivotGridProps
|
|
|
117
117
|
* Represents the event arguments of the [`onColumnAxesChange`]({% slug api_pivotgrid_pivotgridprops %}#toc-oncolumnaxeschange) and [`onRowAxesChange`]({% slug api_pivotgrid_pivotgridprops %}#toc-onrowaxeschange) callbacks of the [`PivotGrid`]({% slug api_pivotgrid_pivotgrid %}) component.
|
|
118
118
|
*/
|
|
119
119
|
export declare interface PivotGridAxesChangeEvent {
|
|
120
|
+
/**
|
|
121
|
+
* The new axes configuration value.
|
|
122
|
+
*/
|
|
120
123
|
value: PivotGridAxis[];
|
|
124
|
+
/**
|
|
125
|
+
* The handle of the PivotGrid component.
|
|
126
|
+
*/
|
|
121
127
|
target: PivotGridHandle | null;
|
|
128
|
+
/**
|
|
129
|
+
* The DOM event that triggered the change.
|
|
130
|
+
*/
|
|
122
131
|
syntheticEvent: React.SyntheticEvent;
|
|
123
132
|
}
|
|
124
133
|
|
|
@@ -131,7 +140,13 @@ export declare const PivotGridAxesEditor: React_2.ForwardRefExoticComponent<Pivo
|
|
|
131
140
|
* Represents the object which is passed to the [`ref`](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) callback of the PivotGridAxesEditor component.
|
|
132
141
|
*/
|
|
133
142
|
export declare interface PivotGridAxesEditorHandle {
|
|
143
|
+
/**
|
|
144
|
+
* The properties passed to the PivotGridAxesEditor component.
|
|
145
|
+
*/
|
|
134
146
|
props: PivotGridAxesEditorProps;
|
|
147
|
+
/**
|
|
148
|
+
* The DOM element of the PivotGridAxesEditor component.
|
|
149
|
+
*/
|
|
135
150
|
element: HTMLDivElement | null;
|
|
136
151
|
}
|
|
137
152
|
|
|
@@ -175,7 +190,13 @@ export declare const PivotGridAxisEditor: React_2.ForwardRefExoticComponent<Pivo
|
|
|
175
190
|
* Represents the object which is passed to the [`ref`](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) callback of the PivotGridAxisEditor component.
|
|
176
191
|
*/
|
|
177
192
|
export declare interface PivotGridAxisEditorHandle {
|
|
193
|
+
/**
|
|
194
|
+
* The properties passed to the PivotGridAxisEditor component.
|
|
195
|
+
*/
|
|
178
196
|
props: PivotGridAxisEditorProps;
|
|
197
|
+
/**
|
|
198
|
+
* The DOM element of the PivotGridAxisEditor component.
|
|
199
|
+
*/
|
|
179
200
|
element: HTMLSpanElement | null;
|
|
180
201
|
}
|
|
181
202
|
|
|
@@ -219,8 +240,17 @@ export declare interface PivotGridAxisEditorProps extends ChipProps {
|
|
|
219
240
|
* Represents the event arguments of the `PivotGridAxisFilterField` expand event.
|
|
220
241
|
*/
|
|
221
242
|
export declare interface PivotGridAxisFilterFieldExpandEvent {
|
|
243
|
+
/**
|
|
244
|
+
* The handle of the component that triggered the event.
|
|
245
|
+
*/
|
|
222
246
|
target: PivotGridAxisFilterFieldsEditorHandle;
|
|
247
|
+
/**
|
|
248
|
+
* The field that was expanded.
|
|
249
|
+
*/
|
|
223
250
|
value: PivotGridField;
|
|
251
|
+
/**
|
|
252
|
+
* The DOM event that triggered the expand.
|
|
253
|
+
*/
|
|
224
254
|
syntheticEvent: React_2.SyntheticEvent;
|
|
225
255
|
}
|
|
226
256
|
|
|
@@ -233,7 +263,13 @@ export declare const PivotGridAxisFilterFieldsEditor: React_2.ForwardRefExoticCo
|
|
|
233
263
|
* Represents the object which is passed to the [`ref`](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) callback of the PivotGridAxisFilterFieldsEditor component.
|
|
234
264
|
*/
|
|
235
265
|
export declare interface PivotGridAxisFilterFieldsEditorHandle {
|
|
266
|
+
/**
|
|
267
|
+
* The properties passed to the PivotGridAxisFilterFieldsEditor component.
|
|
268
|
+
*/
|
|
236
269
|
props: PivotGridAxisFilterFieldsEditorProps;
|
|
270
|
+
/**
|
|
271
|
+
* The DOM element of the PivotGridAxisFilterFieldsEditor component.
|
|
272
|
+
*/
|
|
237
273
|
element: HTMLDivElement | null;
|
|
238
274
|
}
|
|
239
275
|
|
|
@@ -322,8 +358,17 @@ export declare interface PivotGridAxisFilterFieldsEditorProps {
|
|
|
322
358
|
* Represents the event arguments of the `PivotGridAxisFilterFields` expand-change event.
|
|
323
359
|
*/
|
|
324
360
|
export declare interface PivotGridAxisFilterFieldsExpandChangeEvent {
|
|
361
|
+
/**
|
|
362
|
+
* The handle of the component that triggered the event.
|
|
363
|
+
*/
|
|
325
364
|
target: PivotGridAxisFilterFieldsEditorHandle;
|
|
365
|
+
/**
|
|
366
|
+
* The expand state value.
|
|
367
|
+
*/
|
|
326
368
|
value: boolean;
|
|
369
|
+
/**
|
|
370
|
+
* The DOM event that triggered the change.
|
|
371
|
+
*/
|
|
327
372
|
syntheticEvent: React_2.SyntheticEvent;
|
|
328
373
|
}
|
|
329
374
|
|
|
@@ -336,7 +381,13 @@ export declare const PivotGridCell: React_2.ForwardRefExoticComponent<PivotGridC
|
|
|
336
381
|
* Represents the object which is passed to the [`ref`](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) callback of the PivotGridCell component.
|
|
337
382
|
*/
|
|
338
383
|
export declare interface PivotGridCellHandle {
|
|
384
|
+
/**
|
|
385
|
+
* The properties passed to the PivotGridCell component.
|
|
386
|
+
*/
|
|
339
387
|
props: PivotGridCellProps;
|
|
388
|
+
/**
|
|
389
|
+
* The DOM element of the PivotGridCell component.
|
|
390
|
+
*/
|
|
340
391
|
element: HTMLTableCellElement | null;
|
|
341
392
|
}
|
|
342
393
|
|
|
@@ -390,6 +441,42 @@ export declare interface PivotGridCellProps extends KendoMouse<PivotGridCellHand
|
|
|
390
441
|
* Sets the `aria-describedby` property of the top-most element of the PivotGridCell.
|
|
391
442
|
*/
|
|
392
443
|
ariaDescribedby?: string;
|
|
444
|
+
/**
|
|
445
|
+
* Fires when the user clicks the PivotGridCell.
|
|
446
|
+
*/
|
|
447
|
+
onClick?: (args: any) => void;
|
|
448
|
+
/**
|
|
449
|
+
* Fires when the user double-clicks the PivotGridCell.
|
|
450
|
+
*/
|
|
451
|
+
onDoubleClick?: (args: any) => void;
|
|
452
|
+
/**
|
|
453
|
+
* Fires when the user presses a mouse button while the cursor is over the PivotGridCell.
|
|
454
|
+
*/
|
|
455
|
+
onMouseDown?: (args: any) => void;
|
|
456
|
+
/**
|
|
457
|
+
* Fires when the cursor enters the PivotGridCell area.
|
|
458
|
+
*/
|
|
459
|
+
onMouseEnter?: (args: any) => void;
|
|
460
|
+
/**
|
|
461
|
+
* Fires when the cursor leaves the PivotGridCell area.
|
|
462
|
+
*/
|
|
463
|
+
onMouseLeave?: (args: any) => void;
|
|
464
|
+
/**
|
|
465
|
+
* Fires when the cursor moves within the PivotGridCell area.
|
|
466
|
+
*/
|
|
467
|
+
onMouseMove?: (args: any) => void;
|
|
468
|
+
/**
|
|
469
|
+
* Fires when the cursor moves outside the PivotGridCell area.
|
|
470
|
+
*/
|
|
471
|
+
onMouseOut?: (args: any) => void;
|
|
472
|
+
/**
|
|
473
|
+
* Fires when the cursor moves over the PivotGridCell area.
|
|
474
|
+
*/
|
|
475
|
+
onMouseOver?: (args: any) => void;
|
|
476
|
+
/**
|
|
477
|
+
* Fires when the user releases a mouse button while the cursor is over the PivotGridCell.
|
|
478
|
+
*/
|
|
479
|
+
onMouseUp?: (args: any) => void;
|
|
393
480
|
}
|
|
394
481
|
|
|
395
482
|
/**
|
|
@@ -401,7 +488,13 @@ export declare const PivotGridColumn: React_2.ForwardRefExoticComponent<PivotGri
|
|
|
401
488
|
* Represents the object which is passed to the [`ref`](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) callback of the PivotGridColumn component.
|
|
402
489
|
*/
|
|
403
490
|
export declare interface PivotGridColumnHandle {
|
|
491
|
+
/**
|
|
492
|
+
* The properties passed to the PivotGridColumn component.
|
|
493
|
+
*/
|
|
404
494
|
props: PivotGridColumnProps;
|
|
495
|
+
/**
|
|
496
|
+
* The DOM element of the PivotGridColumn component.
|
|
497
|
+
*/
|
|
405
498
|
element: HTMLTableColElement | null;
|
|
406
499
|
}
|
|
407
500
|
|
|
@@ -433,6 +526,42 @@ export declare interface PivotGridColumnProps extends KendoMouse<PivotGridColumn
|
|
|
433
526
|
* Represents the `path` leading to the current `column`.
|
|
434
527
|
*/
|
|
435
528
|
path?: string[];
|
|
529
|
+
/**
|
|
530
|
+
* Fires when the user clicks the PivotGridColumn.
|
|
531
|
+
*/
|
|
532
|
+
onClick?: (args: any) => void;
|
|
533
|
+
/**
|
|
534
|
+
* Fires when the user double-clicks the PivotGridColumn.
|
|
535
|
+
*/
|
|
536
|
+
onDoubleClick?: (args: any) => void;
|
|
537
|
+
/**
|
|
538
|
+
* Fires when the user presses a mouse button while the cursor is over the PivotGridColumn.
|
|
539
|
+
*/
|
|
540
|
+
onMouseDown?: (args: any) => void;
|
|
541
|
+
/**
|
|
542
|
+
* Fires when the cursor enters the PivotGridColumn area.
|
|
543
|
+
*/
|
|
544
|
+
onMouseEnter?: (args: any) => void;
|
|
545
|
+
/**
|
|
546
|
+
* Fires when the cursor leaves the PivotGridColumn area.
|
|
547
|
+
*/
|
|
548
|
+
onMouseLeave?: (args: any) => void;
|
|
549
|
+
/**
|
|
550
|
+
* Fires when the cursor moves within the PivotGridColumn area.
|
|
551
|
+
*/
|
|
552
|
+
onMouseMove?: (args: any) => void;
|
|
553
|
+
/**
|
|
554
|
+
* Fires when the cursor moves outside the PivotGridColumn area.
|
|
555
|
+
*/
|
|
556
|
+
onMouseOut?: (args: any) => void;
|
|
557
|
+
/**
|
|
558
|
+
* Fires when the cursor moves over the PivotGridColumn area.
|
|
559
|
+
*/
|
|
560
|
+
onMouseOver?: (args: any) => void;
|
|
561
|
+
/**
|
|
562
|
+
* Fires when the user releases a mouse button while the cursor is over the PivotGridColumn.
|
|
563
|
+
*/
|
|
564
|
+
onMouseUp?: (args: any) => void;
|
|
436
565
|
}
|
|
437
566
|
|
|
438
567
|
/**
|
|
@@ -473,8 +602,17 @@ declare interface PivotGridConfiguratorAction {
|
|
|
473
602
|
* Represents the event arguments of the [`onColumnAxesChange`]({% slug api_pivotgrid_pivotgridconfiguratorprops %}#toc-oncolumnaxeschange), [`onRowAxesChange`]({% slug api_pivotgrid_pivotgridconfiguratorprops %}#toc-onrowaxeschange) and [`onMeasureAxesChange`]({% slug api_pivotgrid_pivotgridconfiguratorprops %}#toc-onmeasureaxeschange) callbacks of the [`PivotGridConfigurator`]({% slug api_pivotgrid_pivotgridconfigurator %}) component.
|
|
474
603
|
*/
|
|
475
604
|
export declare interface PivotGridConfiguratorAxesChangeEvent {
|
|
605
|
+
/**
|
|
606
|
+
* The new axes configuration value.
|
|
607
|
+
*/
|
|
476
608
|
value: PivotGridAxis[];
|
|
609
|
+
/**
|
|
610
|
+
* The handle of the PivotGridConfigurator component.
|
|
611
|
+
*/
|
|
477
612
|
target: PivotGridConfiguratorHandle | null;
|
|
613
|
+
/**
|
|
614
|
+
* The DOM event that triggered the change.
|
|
615
|
+
*/
|
|
478
616
|
syntheticEvent: React.SyntheticEvent;
|
|
479
617
|
}
|
|
480
618
|
|
|
@@ -487,7 +625,13 @@ export declare const PivotGridConfiguratorButton: React_2.ForwardRefExoticCompon
|
|
|
487
625
|
* Represents the object which is passed to the [`ref`](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) callback of the PivotGridConfiguratorButton component.
|
|
488
626
|
*/
|
|
489
627
|
export declare interface PivotGridConfiguratorButtonHandle {
|
|
628
|
+
/**
|
|
629
|
+
* The properties passed to the PivotGridConfiguratorButton component.
|
|
630
|
+
*/
|
|
490
631
|
props: PivotGridConfiguratorButtonProps;
|
|
632
|
+
/**
|
|
633
|
+
* The DOM element of the PivotGridConfiguratorButton component.
|
|
634
|
+
*/
|
|
491
635
|
element: HTMLDivElement | null;
|
|
492
636
|
}
|
|
493
637
|
|
|
@@ -517,6 +661,42 @@ export declare interface PivotGridConfiguratorButtonProps extends KendoMouse<Piv
|
|
|
517
661
|
* The default component is: [KendoReactIcon]({% slug api_common_icon %}).
|
|
518
662
|
*/
|
|
519
663
|
icon?: CustomComponent<IconProps & SvgIconProps>;
|
|
664
|
+
/**
|
|
665
|
+
* Fires when the user clicks the PivotGridConfiguratorButton.
|
|
666
|
+
*/
|
|
667
|
+
onClick?: (args: any) => void;
|
|
668
|
+
/**
|
|
669
|
+
* Fires when the user double-clicks the PivotGridConfiguratorButton.
|
|
670
|
+
*/
|
|
671
|
+
onDoubleClick?: (args: any) => void;
|
|
672
|
+
/**
|
|
673
|
+
* Fires when the user presses a mouse button while the cursor is over the PivotGridConfiguratorButton.
|
|
674
|
+
*/
|
|
675
|
+
onMouseDown?: (args: any) => void;
|
|
676
|
+
/**
|
|
677
|
+
* Fires when the cursor enters the PivotGridConfiguratorButton area.
|
|
678
|
+
*/
|
|
679
|
+
onMouseEnter?: (args: any) => void;
|
|
680
|
+
/**
|
|
681
|
+
* Fires when the cursor leaves the PivotGridConfiguratorButton area.
|
|
682
|
+
*/
|
|
683
|
+
onMouseLeave?: (args: any) => void;
|
|
684
|
+
/**
|
|
685
|
+
* Fires when the cursor moves within the PivotGridConfiguratorButton area.
|
|
686
|
+
*/
|
|
687
|
+
onMouseMove?: (args: any) => void;
|
|
688
|
+
/**
|
|
689
|
+
* Fires when the cursor moves outside the PivotGridConfiguratorButton area.
|
|
690
|
+
*/
|
|
691
|
+
onMouseOut?: (args: any) => void;
|
|
692
|
+
/**
|
|
693
|
+
* Fires when the cursor moves over the PivotGridConfiguratorButton area.
|
|
694
|
+
*/
|
|
695
|
+
onMouseOver?: (args: any) => void;
|
|
696
|
+
/**
|
|
697
|
+
* Fires when the user releases a mouse button while the cursor is over the PivotGridConfiguratorButton.
|
|
698
|
+
*/
|
|
699
|
+
onMouseUp?: (args: any) => void;
|
|
520
700
|
}
|
|
521
701
|
|
|
522
702
|
/**
|
|
@@ -528,8 +708,17 @@ export declare const PivotGridConfiguratorEditor: React_2.ForwardRefExoticCompon
|
|
|
528
708
|
* Represents the object which is passed to the [`ref`](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) callback of the PivotGridConfiguratorEditor component.
|
|
529
709
|
*/
|
|
530
710
|
export declare interface PivotGridConfiguratorEditorHandle {
|
|
711
|
+
/**
|
|
712
|
+
* The properties passed to the PivotGridConfiguratorEditor component.
|
|
713
|
+
*/
|
|
531
714
|
props: PivotGridConfiguratorEditorProps;
|
|
715
|
+
/**
|
|
716
|
+
* The current state of the PivotGridConfiguratorEditor component.
|
|
717
|
+
*/
|
|
532
718
|
state: PivotGridConfiguratorState;
|
|
719
|
+
/**
|
|
720
|
+
* The DOM element of the PivotGridConfiguratorEditor component.
|
|
721
|
+
*/
|
|
533
722
|
element: HTMLDivElement;
|
|
534
723
|
}
|
|
535
724
|
|
|
@@ -545,6 +734,8 @@ export declare interface PivotGridConfiguratorEditorProps extends FormRenderProp
|
|
|
545
734
|
data: PivotGridField[];
|
|
546
735
|
/**
|
|
547
736
|
* Renders the PivotGridConfiguratorEditor in `horizontal` orientation.
|
|
737
|
+
*
|
|
738
|
+
* @default false
|
|
548
739
|
*/
|
|
549
740
|
horizontal?: boolean;
|
|
550
741
|
/**
|
|
@@ -650,8 +841,17 @@ declare interface PivotGridConfiguratorEditorState extends PivotGridConfigurator
|
|
|
650
841
|
* Represents the event arguments of the [`onFilterChange`]({% slug api_pivotgrid_pivotgridconfiguratorprops %}#toc-onfilterchange) callbacks of the [`PivotGridConfigurator`]({% slug api_pivotgrid_pivotgridconfigurator %}) component.
|
|
651
842
|
*/
|
|
652
843
|
export declare interface PivotGridConfiguratorFilterChangeEvent {
|
|
844
|
+
/**
|
|
845
|
+
* The new filter descriptors value.
|
|
846
|
+
*/
|
|
653
847
|
value: FilterDescriptor[];
|
|
848
|
+
/**
|
|
849
|
+
* The handle of the PivotGridConfigurator component.
|
|
850
|
+
*/
|
|
654
851
|
target: PivotGridConfiguratorHandle | null;
|
|
852
|
+
/**
|
|
853
|
+
* The DOM event that triggered the change.
|
|
854
|
+
*/
|
|
655
855
|
syntheticEvent: React.SyntheticEvent;
|
|
656
856
|
}
|
|
657
857
|
|
|
@@ -659,7 +859,13 @@ export declare interface PivotGridConfiguratorFilterChangeEvent {
|
|
|
659
859
|
* Represents the object which is passed to the [`ref`](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) callback of the PivotGridConfigurator component.
|
|
660
860
|
*/
|
|
661
861
|
export declare interface PivotGridConfiguratorHandle {
|
|
862
|
+
/**
|
|
863
|
+
* The properties passed to the PivotGridConfigurator component.
|
|
864
|
+
*/
|
|
662
865
|
props: PivotGridConfiguratorProps;
|
|
866
|
+
/**
|
|
867
|
+
* The DOM element of the PivotGridConfigurator component.
|
|
868
|
+
*/
|
|
663
869
|
element: HTMLDivElement | null;
|
|
664
870
|
}
|
|
665
871
|
|
|
@@ -685,6 +891,8 @@ export declare interface PivotGridConfiguratorProps {
|
|
|
685
891
|
style?: React_2.CSSProperties;
|
|
686
892
|
/**
|
|
687
893
|
* Renders the PivotGridConfigurator in `horizontal` orientation.
|
|
894
|
+
*
|
|
895
|
+
* @default false
|
|
688
896
|
*/
|
|
689
897
|
horizontal?: boolean;
|
|
690
898
|
/**
|
|
@@ -773,8 +981,17 @@ export declare interface PivotGridConfiguratorProps {
|
|
|
773
981
|
* Represents the event arguments of the [`onSortChange`]({% slug api_pivotgrid_pivotgridconfiguratorprops %}#toc-onsortchange) callbacks of the [`PivotGridConfigurator`]({% slug api_pivotgrid_pivotgridconfigurator %}) component.
|
|
774
982
|
*/
|
|
775
983
|
export declare interface PivotGridConfiguratorSortChangeEvent {
|
|
984
|
+
/**
|
|
985
|
+
* The new sort descriptors value.
|
|
986
|
+
*/
|
|
776
987
|
value: SortDescriptor[];
|
|
988
|
+
/**
|
|
989
|
+
* The handle of the PivotGridConfigurator component.
|
|
990
|
+
*/
|
|
777
991
|
target: PivotGridConfiguratorHandle | null;
|
|
992
|
+
/**
|
|
993
|
+
* The DOM event that triggered the change.
|
|
994
|
+
*/
|
|
778
995
|
syntheticEvent: React.SyntheticEvent;
|
|
779
996
|
}
|
|
780
997
|
|
|
@@ -790,7 +1007,13 @@ export declare const PivotGridContainer: React_2.ForwardRefExoticComponent<Pivot
|
|
|
790
1007
|
* Represents the object which is passed to the [`ref`](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) callback of the PivotGridContainer component.
|
|
791
1008
|
*/
|
|
792
1009
|
export declare interface PivotGridContainerHandle {
|
|
1010
|
+
/**
|
|
1011
|
+
* The DOM element of the PivotGridContainer component.
|
|
1012
|
+
*/
|
|
793
1013
|
element: HTMLDivElement | null;
|
|
1014
|
+
/**
|
|
1015
|
+
* The properties passed to the PivotGridContainer component.
|
|
1016
|
+
*/
|
|
794
1017
|
props: PivotGridContainerProps;
|
|
795
1018
|
}
|
|
796
1019
|
|
|
@@ -825,6 +1048,8 @@ export declare interface PivotGridContainerProps {
|
|
|
825
1048
|
* - left
|
|
826
1049
|
* - right
|
|
827
1050
|
* - bottom
|
|
1051
|
+
*
|
|
1052
|
+
* @default 'right'
|
|
828
1053
|
*/
|
|
829
1054
|
configuratorPosition?: 'top' | 'left' | 'right' | 'bottom';
|
|
830
1055
|
}
|
|
@@ -856,7 +1081,13 @@ export declare interface PivotGridFieldsEditorFieldExpandEvent {
|
|
|
856
1081
|
* Represents the object which is passed to the [`ref`](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) callback of the PivotGridFieldsEditor component.
|
|
857
1082
|
*/
|
|
858
1083
|
export declare interface PivotGridFieldsEditorHandle {
|
|
1084
|
+
/**
|
|
1085
|
+
* The properties passed to the PivotGridFieldsEditor component.
|
|
1086
|
+
*/
|
|
859
1087
|
props: PivotGridFieldsEditorProps;
|
|
1088
|
+
/**
|
|
1089
|
+
* The DOM element of the PivotGridFieldsEditor component.
|
|
1090
|
+
*/
|
|
860
1091
|
element: HTMLDivElement | null;
|
|
861
1092
|
}
|
|
862
1093
|
|
|
@@ -908,15 +1139,36 @@ export declare interface PivotGridFieldsEditorProps {
|
|
|
908
1139
|
* Represents the object which is passed to the [`ref`](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) callback of the PivotGrid component.
|
|
909
1140
|
*/
|
|
910
1141
|
export declare interface PivotGridHandle {
|
|
1142
|
+
/**
|
|
1143
|
+
* The DOM element of the PivotGrid component.
|
|
1144
|
+
*/
|
|
911
1145
|
element: HTMLDivElement | null;
|
|
1146
|
+
/**
|
|
1147
|
+
* The current properties of the PivotGrid component.
|
|
1148
|
+
*/
|
|
912
1149
|
props: PivotGridProps;
|
|
1150
|
+
/**
|
|
1151
|
+
* The rows that make up the column headers.
|
|
1152
|
+
*/
|
|
913
1153
|
columnHeaderRows: AxisRow[];
|
|
1154
|
+
/**
|
|
1155
|
+
* The rows that make up the row headers.
|
|
1156
|
+
*/
|
|
914
1157
|
rowHeaderRows: AxisRow[];
|
|
1158
|
+
/**
|
|
1159
|
+
* The data cells organized by row and column.
|
|
1160
|
+
*/
|
|
915
1161
|
dataCells: {
|
|
916
1162
|
row: string[];
|
|
917
1163
|
cells: PivotDataItem[];
|
|
918
1164
|
}[];
|
|
1165
|
+
/**
|
|
1166
|
+
* The width of the row header area in pixels.
|
|
1167
|
+
*/
|
|
919
1168
|
rowHeaderBreadth: number;
|
|
1169
|
+
/**
|
|
1170
|
+
* The height of the column header area in pixels.
|
|
1171
|
+
*/
|
|
920
1172
|
columnHeaderBreadth: number;
|
|
921
1173
|
}
|
|
922
1174
|
|
|
@@ -929,7 +1181,13 @@ export declare const PivotGridHeaderCell: React_2.ForwardRefExoticComponent<Pivo
|
|
|
929
1181
|
* Represents the object which is passed to the [`ref`](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) callback of the PivotGridHeaderCell component.
|
|
930
1182
|
*/
|
|
931
1183
|
export declare interface PivotGridHeaderCellHandle {
|
|
1184
|
+
/**
|
|
1185
|
+
* The properties passed to the PivotGridHeaderCell component.
|
|
1186
|
+
*/
|
|
932
1187
|
props: PivotGridHeaderCellProps;
|
|
1188
|
+
/**
|
|
1189
|
+
* The DOM element of the PivotGridHeaderCell component.
|
|
1190
|
+
*/
|
|
933
1191
|
element: HTMLTableHeaderCellElement | null;
|
|
934
1192
|
}
|
|
935
1193
|
|
|
@@ -1013,6 +1271,42 @@ export declare interface PivotGridHeaderCellProps extends KendoMouse<PivotGridHe
|
|
|
1013
1271
|
* Sets the `role` property of the top-most element of the PivotGridHeaderCell.
|
|
1014
1272
|
*/
|
|
1015
1273
|
role?: string;
|
|
1274
|
+
/**
|
|
1275
|
+
* Fires when the user clicks the PivotGridHeaderCell.
|
|
1276
|
+
*/
|
|
1277
|
+
onClick?: (args: any) => void;
|
|
1278
|
+
/**
|
|
1279
|
+
* Fires when the user double-clicks the PivotGridHeaderCell.
|
|
1280
|
+
*/
|
|
1281
|
+
onDoubleClick?: (args: any) => void;
|
|
1282
|
+
/**
|
|
1283
|
+
* Fires when the user presses a mouse button while the cursor is over the PivotGridHeaderCell.
|
|
1284
|
+
*/
|
|
1285
|
+
onMouseDown?: (args: any) => void;
|
|
1286
|
+
/**
|
|
1287
|
+
* Fires when the cursor enters the PivotGridHeaderCell area.
|
|
1288
|
+
*/
|
|
1289
|
+
onMouseEnter?: (args: any) => void;
|
|
1290
|
+
/**
|
|
1291
|
+
* Fires when the cursor leaves the PivotGridHeaderCell area.
|
|
1292
|
+
*/
|
|
1293
|
+
onMouseLeave?: (args: any) => void;
|
|
1294
|
+
/**
|
|
1295
|
+
* Fires when the cursor moves within the PivotGridHeaderCell area.
|
|
1296
|
+
*/
|
|
1297
|
+
onMouseMove?: (args: any) => void;
|
|
1298
|
+
/**
|
|
1299
|
+
* Fires when the cursor moves outside the PivotGridHeaderCell area.
|
|
1300
|
+
*/
|
|
1301
|
+
onMouseOut?: (args: any) => void;
|
|
1302
|
+
/**
|
|
1303
|
+
* Fires when the cursor moves over the PivotGridHeaderCell area.
|
|
1304
|
+
*/
|
|
1305
|
+
onMouseOver?: (args: any) => void;
|
|
1306
|
+
/**
|
|
1307
|
+
* Fires when the user releases a mouse button while the cursor is over the PivotGridHeaderCell.
|
|
1308
|
+
*/
|
|
1309
|
+
onMouseUp?: (args: any) => void;
|
|
1016
1310
|
}
|
|
1017
1311
|
|
|
1018
1312
|
/**
|
|
@@ -1059,6 +1353,8 @@ export declare interface PivotGridProps {
|
|
|
1059
1353
|
* If set to `true`, the user can use dedicated shortcuts to interact with the PivotGrid.
|
|
1060
1354
|
* By default, navigation is disabled.
|
|
1061
1355
|
*
|
|
1356
|
+
* @default false
|
|
1357
|
+
*
|
|
1062
1358
|
* @example
|
|
1063
1359
|
* ```jsx
|
|
1064
1360
|
* <PivotGrid navigatable={true} />
|
|
@@ -1271,7 +1567,13 @@ export declare const PivotGridRow: React_2.ForwardRefExoticComponent<PivotGridRo
|
|
|
1271
1567
|
* Represents the object which is passed to the [`ref`](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) callback of the PivotGridRow component.
|
|
1272
1568
|
*/
|
|
1273
1569
|
export declare interface PivotGridRowHandle {
|
|
1570
|
+
/**
|
|
1571
|
+
* The properties passed to the PivotGridRow component.
|
|
1572
|
+
*/
|
|
1274
1573
|
props: PivotGridRowProps;
|
|
1574
|
+
/**
|
|
1575
|
+
* The DOM element of the PivotGridRow component.
|
|
1576
|
+
*/
|
|
1275
1577
|
element: HTMLTableRowElement | null;
|
|
1276
1578
|
}
|
|
1277
1579
|
|
|
@@ -1311,14 +1613,59 @@ export declare interface PivotGridRowProps extends KendoMouse<PivotGridRowHandle
|
|
|
1311
1613
|
* Sets the `aria-owns` property of the top-most element of the PivotGridRow.
|
|
1312
1614
|
*/
|
|
1313
1615
|
ariaOwns?: string;
|
|
1616
|
+
/**
|
|
1617
|
+
* Fires when the user clicks the PivotGridRow.
|
|
1618
|
+
*/
|
|
1619
|
+
onClick?: (args: any) => void;
|
|
1620
|
+
/**
|
|
1621
|
+
* Fires when the user double-clicks the PivotGridRow.
|
|
1622
|
+
*/
|
|
1623
|
+
onDoubleClick?: (args: any) => void;
|
|
1624
|
+
/**
|
|
1625
|
+
* Fires when the user presses a mouse button while the cursor is over the PivotGridRow.
|
|
1626
|
+
*/
|
|
1627
|
+
onMouseDown?: (args: any) => void;
|
|
1628
|
+
/**
|
|
1629
|
+
* Fires when the cursor enters the PivotGridRow area.
|
|
1630
|
+
*/
|
|
1631
|
+
onMouseEnter?: (args: any) => void;
|
|
1632
|
+
/**
|
|
1633
|
+
* Fires when the cursor leaves the PivotGridRow area.
|
|
1634
|
+
*/
|
|
1635
|
+
onMouseLeave?: (args: any) => void;
|
|
1636
|
+
/**
|
|
1637
|
+
* Fires when the cursor moves within the PivotGridRow area.
|
|
1638
|
+
*/
|
|
1639
|
+
onMouseMove?: (args: any) => void;
|
|
1640
|
+
/**
|
|
1641
|
+
* Fires when the cursor moves outside the PivotGridRow area.
|
|
1642
|
+
*/
|
|
1643
|
+
onMouseOut?: (args: any) => void;
|
|
1644
|
+
/**
|
|
1645
|
+
* Fires when the cursor moves over the PivotGridRow area.
|
|
1646
|
+
*/
|
|
1647
|
+
onMouseOver?: (args: any) => void;
|
|
1648
|
+
/**
|
|
1649
|
+
* Fires when the user releases a mouse button while the cursor is over the PivotGridRow.
|
|
1650
|
+
*/
|
|
1651
|
+
onMouseUp?: (args: any) => void;
|
|
1314
1652
|
}
|
|
1315
1653
|
|
|
1316
1654
|
/**
|
|
1317
1655
|
* represents the `data` structure of the [TreeView]({% slug api_treeview_treeview %}) component inside the `PivotGrid`.
|
|
1318
1656
|
*/
|
|
1319
1657
|
export declare interface PivotGridTreeViewData {
|
|
1658
|
+
/**
|
|
1659
|
+
* Indicates whether the item is checked.
|
|
1660
|
+
*/
|
|
1320
1661
|
checked?: boolean;
|
|
1662
|
+
/**
|
|
1663
|
+
* The string value of the item.
|
|
1664
|
+
*/
|
|
1321
1665
|
value?: string;
|
|
1666
|
+
/**
|
|
1667
|
+
* The data item associated with the tree view node.
|
|
1668
|
+
*/
|
|
1322
1669
|
dataItem?: PivotGridField[];
|
|
1323
1670
|
}
|
|
1324
1671
|
|
|
@@ -1406,13 +1753,37 @@ export declare const PivotOLAPService: (props: PivotOLAPServiceProps) => any;
|
|
|
1406
1753
|
* Represents the arguments of the [usePivotOLAPService]({% slug api_pivotgrid_usepivotolapservice %}) hook.
|
|
1407
1754
|
*/
|
|
1408
1755
|
export declare interface PivotOLAPServiceArgs {
|
|
1756
|
+
/**
|
|
1757
|
+
* The URL of the OLAP service endpoint.
|
|
1758
|
+
*/
|
|
1409
1759
|
url: string;
|
|
1760
|
+
/**
|
|
1761
|
+
* The name of the cube to connect to.
|
|
1762
|
+
*/
|
|
1410
1763
|
cube: string;
|
|
1764
|
+
/**
|
|
1765
|
+
* The name of the catalog containing the cube.
|
|
1766
|
+
*/
|
|
1411
1767
|
catalog: string;
|
|
1768
|
+
/**
|
|
1769
|
+
* The default configuration of the column axes.
|
|
1770
|
+
*/
|
|
1412
1771
|
defaultColumnAxes?: PivotGridAxis[];
|
|
1772
|
+
/**
|
|
1773
|
+
* The default configuration of the row axes.
|
|
1774
|
+
*/
|
|
1413
1775
|
defaultRowAxes?: PivotGridAxis[];
|
|
1776
|
+
/**
|
|
1777
|
+
* The default configuration of the measure axes.
|
|
1778
|
+
*/
|
|
1414
1779
|
defaultMeasureAxes?: PivotGridAxis[];
|
|
1780
|
+
/**
|
|
1781
|
+
* The default sort descriptors.
|
|
1782
|
+
*/
|
|
1415
1783
|
defaultSort?: SortDescriptor[];
|
|
1784
|
+
/**
|
|
1785
|
+
* The default filter descriptors.
|
|
1786
|
+
*/
|
|
1416
1787
|
defaultFilter?: FilterDescriptor[];
|
|
1417
1788
|
}
|
|
1418
1789
|
|
|
@@ -1420,6 +1791,9 @@ export declare interface PivotOLAPServiceArgs {
|
|
|
1420
1791
|
* Represents the properties of the [PivotOLAPService]({% slug api_pivotgrid_pivotolapservice %}) component.
|
|
1421
1792
|
*/
|
|
1422
1793
|
export declare interface PivotOLAPServiceProps extends PivotOLAPServiceArgs {
|
|
1794
|
+
/**
|
|
1795
|
+
* A render prop function that receives the service state and returns JSX elements.
|
|
1796
|
+
*/
|
|
1423
1797
|
children: (args: PivotOLAPServiceState) => any;
|
|
1424
1798
|
}
|
|
1425
1799
|
|
|
@@ -1427,8 +1801,17 @@ export declare interface PivotOLAPServiceProps extends PivotOLAPServiceArgs {
|
|
|
1427
1801
|
* Represents the `state` of the [usePivotOLAPService]({% slug api_pivotgrid_usepivotolapservice %}) hook and the [PivotOLAPService]({% slug api_pivotgrid_pivotolapservice %}) component.
|
|
1428
1802
|
*/
|
|
1429
1803
|
export declare interface PivotOLAPServiceState {
|
|
1804
|
+
/**
|
|
1805
|
+
* Properties to pass to the `PivotGrid` component.
|
|
1806
|
+
*/
|
|
1430
1807
|
pivotProps: PivotGridProps;
|
|
1808
|
+
/**
|
|
1809
|
+
* Properties to pass to the `PivotGridConfigurator` component.
|
|
1810
|
+
*/
|
|
1431
1811
|
configuratorProps: PivotGridConfiguratorProps;
|
|
1812
|
+
/**
|
|
1813
|
+
* The loading state and other status information.
|
|
1814
|
+
*/
|
|
1432
1815
|
state: {
|
|
1433
1816
|
loading: boolean;
|
|
1434
1817
|
};
|