@mescius/wijmo.react.olap 5.20241.9-rc → 5.20241.9-temp1-nightly.d20240524.t154527

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20241.9
3
+ * Wijmo Library 5.20241.9-temp1-nightly.d20240524.t154527
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -11,4 +11,4 @@
11
11
  *
12
12
  */
13
13
 
14
- "use strict";var __importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);t.default=e;return t};Object.defineProperty(exports,"__esModule",{value:!0});const wijmo_react_base_1=require("@mescius/wijmo.react.base"),wjcOlap=__importStar(require("@mescius/wijmo.olap"));class PivotGrid extends wijmo_react_base_1.ComponentBase{constructor(e){super(e,wjcOlap.PivotGrid,{objectProps:["childItemsPath","mergeManager","itemsSource","virtualizationThreshold","columnGroups"]})}}exports.PivotGrid=PivotGrid;class PivotChart extends wijmo_react_base_1.ComponentBase{constructor(e){super(e,wjcOlap.PivotChart,{objectProps:["itemsSource","headerStyle","footerStyle"]})}}exports.PivotChart=PivotChart;class PivotPanel extends wijmo_react_base_1.ComponentBase{constructor(e){super(e,wjcOlap.PivotPanel,{objectProps:["engine","itemsSource"]})}}exports.PivotPanel=PivotPanel;class Slicer extends wijmo_react_base_1.ComponentBase{constructor(e){super(e,wjcOlap.Slicer,{objectProps:["field"]})}}exports.Slicer=Slicer;
14
+ "use strict";var __importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);t.default=e;return t};Object.defineProperty(exports,"__esModule",{value:!0});const react_1=require("react"),wijmo_react_base_1=require("@mescius/wijmo.react.base"),wjGrid=__importStar(require("@mescius/wijmo.react.grid")),wjcOlap=__importStar(require("@mescius/wijmo.olap"));exports.PivotGridMeta={inputs:[...wjGrid.FlexGridMeta.inputs,"centerHeadersVertically","collapsibleSubtotals","customContextMenu","outlineMode","showColumnFieldHeaders","showDetailOnDoubleClick","showRowFieldHeaders","showRowFieldSort","showValueFieldHeaders"],events:[...wjGrid.FlexGridMeta.events]};exports.PivotGrid=react_1.forwardRef((function(e,t){return wijmo_react_base_1.useWjComponentBase({ref:t,properties:exports.PivotGridMeta.inputs,events:exports.PivotGridMeta.events,props:e,constructor:wjcOlap.PivotGrid}).renderResult}));exports.PivotChartMeta={inputs:[...wijmo_react_base_1.ControlBaseMeta.inputs,"chartType","footer","footerStyle","header","headerStyle","itemsSource","legendPosition","maxPoints","maxSeries","showHierarchicalAxes","showLegend","showTitle","showTotals","stacking"],events:[...wijmo_react_base_1.ControlBaseMeta.events]};exports.PivotChart=react_1.forwardRef((function(e,t){return wijmo_react_base_1.useWjComponentBase({ref:t,properties:exports.PivotChartMeta.inputs,events:exports.PivotChartMeta.events,props:e,constructor:wjcOlap.PivotChart}).renderResult}));exports.PivotPanelMeta={inputs:[...wijmo_react_base_1.ControlBaseMeta.inputs,"autoGenerateFields","deferredUpdate","engine","itemsSource","restrictDragging","showFieldIcons","viewDefinition"],events:[...wijmo_react_base_1.ControlBaseMeta.events,"deferredUpdateChanged","itemsSourceChanged","updatedView","updatingView","viewDefinitionChanged"]};exports.PivotPanel=react_1.forwardRef((function(e,t){return wijmo_react_base_1.useWjComponentBase({ref:t,properties:exports.PivotPanelMeta.inputs,events:exports.PivotPanelMeta.events,props:e,constructor:wjcOlap.PivotPanel}).renderResult}));exports.SlicerMeta={inputs:[...wijmo_react_base_1.ControlBaseMeta.inputs,"field","header","multiSelect","showCheckboxes","showHeader"],events:[...wijmo_react_base_1.ControlBaseMeta.events]};exports.Slicer=react_1.forwardRef((function(e,t){return wijmo_react_base_1.useWjComponentBase({ref:t,properties:exports.SlicerMeta.inputs,events:exports.SlicerMeta.events,props:e,constructor:wjcOlap.Slicer}).renderResult}));
package/es2015-esm.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20241.9
3
+ * Wijmo Library 5.20241.9-temp1-nightly.d20240524.t154527
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -11,4 +11,4 @@
11
11
  *
12
12
  */
13
13
 
14
- import{ComponentBase}from"@mescius/wijmo.react.base";import*as wjcOlap from"@mescius/wijmo.olap";export class PivotGrid extends ComponentBase{constructor(e){super(e,wjcOlap.PivotGrid,{objectProps:["childItemsPath","mergeManager","itemsSource","virtualizationThreshold","columnGroups"]})}}export class PivotChart extends ComponentBase{constructor(e){super(e,wjcOlap.PivotChart,{objectProps:["itemsSource","headerStyle","footerStyle"]})}}export class PivotPanel extends ComponentBase{constructor(e){super(e,wjcOlap.PivotPanel,{objectProps:["engine","itemsSource"]})}}export class Slicer extends ComponentBase{constructor(e){super(e,wjcOlap.Slicer,{objectProps:["field"]})}}
14
+ import{forwardRef}from"react";import{ControlBaseMeta,useWjComponentBase}from"@mescius/wijmo.react.base";import*as wjGrid from"@mescius/wijmo.react.grid";import*as wjcOlap from"@mescius/wijmo.olap";export const PivotGridMeta={inputs:[...wjGrid.FlexGridMeta.inputs,"centerHeadersVertically","collapsibleSubtotals","customContextMenu","outlineMode","showColumnFieldHeaders","showDetailOnDoubleClick","showRowFieldHeaders","showRowFieldSort","showValueFieldHeaders"],events:[...wjGrid.FlexGridMeta.events]};export const PivotGrid=forwardRef((function(e,t){return useWjComponentBase({ref:t,properties:PivotGridMeta.inputs,events:PivotGridMeta.events,props:e,constructor:wjcOlap.PivotGrid}).renderResult}));export const PivotChartMeta={inputs:[...ControlBaseMeta.inputs,"chartType","footer","footerStyle","header","headerStyle","itemsSource","legendPosition","maxPoints","maxSeries","showHierarchicalAxes","showLegend","showTitle","showTotals","stacking"],events:[...ControlBaseMeta.events]};export const PivotChart=forwardRef((function(e,t){return useWjComponentBase({ref:t,properties:PivotChartMeta.inputs,events:PivotChartMeta.events,props:e,constructor:wjcOlap.PivotChart}).renderResult}));export const PivotPanelMeta={inputs:[...ControlBaseMeta.inputs,"autoGenerateFields","deferredUpdate","engine","itemsSource","restrictDragging","showFieldIcons","viewDefinition"],events:[...ControlBaseMeta.events,"deferredUpdateChanged","itemsSourceChanged","updatedView","updatingView","viewDefinitionChanged"]};export const PivotPanel=forwardRef((function(e,t){return useWjComponentBase({ref:t,properties:PivotPanelMeta.inputs,events:PivotPanelMeta.events,props:e,constructor:wjcOlap.PivotPanel}).renderResult}));export const SlicerMeta={inputs:[...ControlBaseMeta.inputs,"field","header","multiSelect","showCheckboxes","showHeader"],events:[...ControlBaseMeta.events]};export const Slicer=forwardRef((function(e,t){return useWjComponentBase({ref:t,properties:SlicerMeta.inputs,events:SlicerMeta.events,props:e,constructor:wjcOlap.Slicer}).renderResult}));
package/es5-esm.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20241.9
3
+ * Wijmo Library 5.20241.9-temp1-nightly.d20240524.t154527
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -11,4 +11,4 @@
11
11
  *
12
12
  */
13
13
 
14
- 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 __)}}();import{ComponentBase}from"@mescius/wijmo.react.base";import*as wjcOlap from"@mescius/wijmo.olap";var PivotGrid=function(t){__extends(PivotGrid,t);function PivotGrid(e){return t.call(this,e,wjcOlap.PivotGrid,{objectProps:["childItemsPath","mergeManager","itemsSource","virtualizationThreshold","columnGroups"]})||this}return PivotGrid}(ComponentBase);export{PivotGrid};var PivotChart=function(t){__extends(PivotChart,t);function PivotChart(e){return t.call(this,e,wjcOlap.PivotChart,{objectProps:["itemsSource","headerStyle","footerStyle"]})||this}return PivotChart}(ComponentBase);export{PivotChart};var PivotPanel=function(t){__extends(PivotPanel,t);function PivotPanel(e){return t.call(this,e,wjcOlap.PivotPanel,{objectProps:["engine","itemsSource"]})||this}return PivotPanel}(ComponentBase);export{PivotPanel};var Slicer=function(t){__extends(Slicer,t);function Slicer(e){return t.call(this,e,wjcOlap.Slicer,{objectProps:["field"]})||this}return Slicer}(ComponentBase);export{Slicer};
14
+ import{forwardRef}from"react";import{ControlBaseMeta,useWjComponentBase}from"@mescius/wijmo.react.base";import*as wjGrid from"@mescius/wijmo.react.grid";import*as wjcOlap from"@mescius/wijmo.olap";export var PivotGridMeta={inputs:wjGrid.FlexGridMeta.inputs.concat(["centerHeadersVertically","collapsibleSubtotals","customContextMenu","outlineMode","showColumnFieldHeaders","showDetailOnDoubleClick","showRowFieldHeaders","showRowFieldSort","showValueFieldHeaders"]),events:wjGrid.FlexGridMeta.events.slice()};export var PivotGrid=forwardRef((function(e,t){return useWjComponentBase({ref:t,properties:PivotGridMeta.inputs,events:PivotGridMeta.events,props:e,constructor:wjcOlap.PivotGrid}).renderResult}));export var PivotChartMeta={inputs:ControlBaseMeta.inputs.concat(["chartType","footer","footerStyle","header","headerStyle","itemsSource","legendPosition","maxPoints","maxSeries","showHierarchicalAxes","showLegend","showTitle","showTotals","stacking"]),events:ControlBaseMeta.events.slice()};export var PivotChart=forwardRef((function(e,t){return useWjComponentBase({ref:t,properties:PivotChartMeta.inputs,events:PivotChartMeta.events,props:e,constructor:wjcOlap.PivotChart}).renderResult}));export var PivotPanelMeta={inputs:ControlBaseMeta.inputs.concat(["autoGenerateFields","deferredUpdate","engine","itemsSource","restrictDragging","showFieldIcons","viewDefinition"]),events:ControlBaseMeta.events.concat(["deferredUpdateChanged","itemsSourceChanged","updatedView","updatingView","viewDefinitionChanged"])};export var PivotPanel=forwardRef((function(e,t){return useWjComponentBase({ref:t,properties:PivotPanelMeta.inputs,events:PivotPanelMeta.events,props:e,constructor:wjcOlap.PivotPanel}).renderResult}));export var SlicerMeta={inputs:ControlBaseMeta.inputs.concat(["field","header","multiSelect","showCheckboxes","showHeader"]),events:ControlBaseMeta.events.slice()};export var Slicer=forwardRef((function(e,t){return useWjComponentBase({ref:t,properties:SlicerMeta.inputs,events:SlicerMeta.events,props:e,constructor:wjcOlap.Slicer}).renderResult}));
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20241.9
3
+ * Wijmo Library 5.20241.9-temp1-nightly.d20240524.t154527
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -18,7 +18,29 @@
18
18
  *
19
19
  */
20
20
  export declare var ___keepComment: any;
21
- import { ComponentBase } from '@mescius/wijmo.react.base';
21
+ import { ControlBaseEvents, ControlBaseProps, Overwrite } from '@mescius/wijmo.react.base';
22
+ import { Position, Stacking } from '@mescius/wijmo.chart';
23
+ import * as React from 'react';
24
+ import * as wjcCore from '@mescius/wijmo';
25
+ import * as wjGrid from '@mescius/wijmo.react.grid';
26
+ import * as wjcOlap from '@mescius/wijmo.olap';
27
+ export declare type PivotGridProps = Overwrite<wjGrid.FlexGridProps, {
28
+ itemsSource?: any[] | wjcCore.ICollectionView | wjcOlap.PivotEngine;
29
+ centerHeadersVertically?: boolean;
30
+ collapsibleSubtotals?: boolean;
31
+ customContextMenu?: boolean;
32
+ outlineMode?: boolean;
33
+ showColumnFieldHeaders?: boolean;
34
+ showDetailOnDoubleClick?: boolean;
35
+ showRowFieldHeaders?: boolean;
36
+ showRowFieldSort?: boolean;
37
+ showValueFieldHeaders?: boolean;
38
+ }>;
39
+ export declare type PivotGridEvents<T> = wjGrid.FlexGridEvents<T> & {};
40
+ export declare const PivotGridMeta: {
41
+ inputs: string[];
42
+ events: string[];
43
+ };
22
44
  /**
23
45
  * React component for the {@link wijmo.olap.PivotGrid} control.
24
46
  *
@@ -28,141 +50,28 @@ import { ComponentBase } from '@mescius/wijmo.react.base';
28
50
  * You can use this event to perform further initialization in addition to setting properties in JSX.
29
51
  * The signature of the handler function is the same as any other Wijmo event handlers.
30
52
  */
31
- export declare class PivotGrid extends ComponentBase {
32
- props: {
33
- template?: any;
34
- children?: any;
35
- isDisabled?: any;
36
- tabOrder?: any;
37
- newRowAtTop?: any;
38
- allowAddNew?: any;
39
- allowDelete?: any;
40
- allowDragging?: any;
41
- allowMerging?: any;
42
- allowResizing?: any;
43
- allowSorting?: any;
44
- allowPinning?: any;
45
- autoScroll?: any;
46
- autoRowHeights?: any;
47
- autoSizeMode?: any;
48
- autoGenerateColumns?: any;
49
- autoSearch?: any;
50
- caseSensitiveSearch?: any;
51
- quickAutoSize?: any;
52
- bigCheckboxes?: any;
53
- childItemsPath?: any;
54
- groupHeaderFormat?: any;
55
- headersVisibility?: any;
56
- showSelectedHeaders?: any;
57
- showMarquee?: any;
58
- showPlaceholders?: any;
59
- itemFormatter?: any;
60
- isReadOnly?: any;
61
- imeEnabled?: any;
62
- mergeManager?: any;
63
- selectionMode?: any;
64
- showGroups?: any;
65
- showSort?: any;
66
- showDropDown?: any;
67
- showAlternatingRows?: any;
68
- showErrors?: any;
69
- alternatingRowStep?: any;
70
- itemValidator?: any;
71
- validateEdits?: any;
72
- treeIndent?: any;
73
- itemsSource?: any;
74
- autoClipboard?: any;
75
- expandSelectionOnCopyPaste?: any;
76
- frozenRows?: any;
77
- frozenColumns?: any;
78
- cloneFrozenCells?: any;
79
- deferResizing?: any;
80
- sortRowIndex?: any;
81
- editColumnIndex?: any;
82
- stickyHeaders?: any;
83
- preserveSelectedState?: any;
84
- preserveOutlineState?: any;
85
- preserveWhiteSpace?: any;
86
- keyActionTab?: any;
87
- keyActionEnter?: any;
88
- rowHeaderPath?: any;
89
- virtualizationThreshold?: any;
90
- anchorCursor?: any;
91
- lazyRender?: any;
92
- refreshOnEdit?: any;
93
- copyHeaders?: any;
94
- columnGroups?: any;
95
- showDetailOnDoubleClick?: any;
96
- customContextMenu?: any;
97
- collapsibleSubtotals?: any;
98
- centerHeadersVertically?: any;
99
- showColumnFieldHeaders?: any;
100
- showRowFieldHeaders?: any;
101
- showValueFieldHeaders?: any;
102
- outlineMode?: any;
103
- initialized?: any;
104
- gotFocus?: any;
105
- lostFocus?: any;
106
- refreshing?: any;
107
- refreshed?: any;
108
- invalidInput?: any;
109
- beginningEdit?: any;
110
- cellEditEnded?: any;
111
- cellEditEnding?: any;
112
- prepareCellForEdit?: any;
113
- formatItem?: any;
114
- resizingColumn?: any;
115
- resizedColumn?: any;
116
- autoSizingColumn?: any;
117
- autoSizedColumn?: any;
118
- draggingColumn?: any;
119
- draggingColumnOver?: any;
120
- draggedColumn?: any;
121
- sortingColumn?: any;
122
- sortedColumn?: any;
123
- pinningColumn?: any;
124
- pinnedColumn?: any;
125
- resizingRow?: any;
126
- resizedRow?: any;
127
- autoSizingRow?: any;
128
- autoSizedRow?: any;
129
- draggingRow?: any;
130
- draggingRowOver?: any;
131
- draggedRow?: any;
132
- deletingRow?: any;
133
- deletedRow?: any;
134
- loadingRows?: any;
135
- loadedRows?: any;
136
- rowEditStarting?: any;
137
- rowEditStarted?: any;
138
- rowEditEnding?: any;
139
- rowEditEnded?: any;
140
- rowAdded?: any;
141
- groupCollapsedChanging?: any;
142
- groupCollapsedChanged?: any;
143
- columnGroupCollapsedChanging?: any;
144
- columnGroupCollapsedChanged?: any;
145
- itemsSourceChanging?: any;
146
- itemsSourceChanged?: any;
147
- selectionChanging?: any;
148
- selectionChanged?: any;
149
- scrollPositionChanged?: any;
150
- updatingView?: any;
151
- updatedView?: any;
152
- updatingLayout?: any;
153
- updatedLayout?: any;
154
- pasting?: any;
155
- pasted?: any;
156
- pastingCell?: any;
157
- pastedCell?: any;
158
- copying?: any;
159
- copied?: any;
160
- commitEmptyEdits?: any;
161
- headersFocusability?: any;
162
- [key: string]: any;
163
- };
164
- constructor(props: any);
165
- }
53
+ export declare const PivotGrid: React.ForwardRefExoticComponent<PivotGridProps & PivotGridEvents<wjcOlap.PivotGrid>>;
54
+ export declare type PivotChartProps = ControlBaseProps & {
55
+ chartType?: wjcOlap.PivotChartType | string;
56
+ footer?: string;
57
+ footerStyle?: any;
58
+ header?: string;
59
+ headerStyle?: any;
60
+ itemsSource?: any;
61
+ legendPosition?: Position | string;
62
+ maxPoints?: number;
63
+ maxSeries?: number;
64
+ showHierarchicalAxes?: boolean;
65
+ showLegend?: wjcOlap.LegendVisibility | string;
66
+ showTitle?: boolean;
67
+ showTotals?: boolean;
68
+ stacking?: Stacking | string;
69
+ };
70
+ export declare type PivotChartEvents<T> = ControlBaseEvents<T> & {};
71
+ export declare const PivotChartMeta: {
72
+ inputs: string[];
73
+ events: string[];
74
+ };
166
75
  /**
167
76
  * React component for the {@link wijmo.olap.PivotChart} control.
168
77
  *
@@ -172,36 +81,27 @@ export declare class PivotGrid extends ComponentBase {
172
81
  * You can use this event to perform further initialization in addition to setting properties in JSX.
173
82
  * The signature of the handler function is the same as any other Wijmo event handlers.
174
83
  */
175
- export declare class PivotChart extends ComponentBase {
176
- props: {
177
- template?: any;
178
- children?: any;
179
- isDisabled?: any;
180
- tabOrder?: any;
181
- chartType?: any;
182
- showHierarchicalAxes?: any;
183
- showTotals?: any;
184
- showTitle?: any;
185
- showLegend?: any;
186
- legendPosition?: any;
187
- stacking?: any;
188
- maxSeries?: any;
189
- maxPoints?: any;
190
- itemsSource?: any;
191
- header?: any;
192
- footer?: any;
193
- headerStyle?: any;
194
- footerStyle?: any;
195
- initialized?: any;
196
- gotFocus?: any;
197
- lostFocus?: any;
198
- refreshing?: any;
199
- refreshed?: any;
200
- invalidInput?: any;
201
- [key: string]: any;
202
- };
203
- constructor(props: any);
204
- }
84
+ export declare const PivotChart: React.ForwardRefExoticComponent<PivotChartProps & PivotChartEvents<wjcOlap.PivotChart>>;
85
+ export declare type PivotPanelProps = ControlBaseProps & {
86
+ autoGenerateFields?: boolean;
87
+ deferredUpdate?: boolean;
88
+ engine?: wjcOlap.PivotEngine;
89
+ itemsSource?: any;
90
+ restrictDragging?: boolean | null;
91
+ showFieldIcons?: boolean;
92
+ viewDefinition?: string;
93
+ };
94
+ export declare type PivotPanelEvents<T> = ControlBaseEvents<T> & {
95
+ deferredUpdateChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
96
+ itemsSourceChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
97
+ updatedView?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
98
+ updatingView?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
99
+ viewDefinitionChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
100
+ };
101
+ export declare const PivotPanelMeta: {
102
+ inputs: string[];
103
+ events: string[];
104
+ };
205
105
  /**
206
106
  * React component for the {@link wijmo.olap.PivotPanel} control.
207
107
  *
@@ -211,33 +111,19 @@ export declare class PivotChart extends ComponentBase {
211
111
  * You can use this event to perform further initialization in addition to setting properties in JSX.
212
112
  * The signature of the handler function is the same as any other Wijmo event handlers.
213
113
  */
214
- export declare class PivotPanel extends ComponentBase {
215
- props: {
216
- template?: any;
217
- children?: any;
218
- isDisabled?: any;
219
- tabOrder?: any;
220
- autoGenerateFields?: any;
221
- viewDefinition?: any;
222
- engine?: any;
223
- itemsSource?: any;
224
- showFieldIcons?: any;
225
- restrictDragging?: any;
226
- deferredUpdate?: any;
227
- initialized?: any;
228
- gotFocus?: any;
229
- lostFocus?: any;
230
- refreshing?: any;
231
- refreshed?: any;
232
- invalidInput?: any;
233
- itemsSourceChanged?: any;
234
- viewDefinitionChanged?: any;
235
- updatingView?: any;
236
- updatedView?: any;
237
- [key: string]: any;
238
- };
239
- constructor(props: any);
240
- }
114
+ export declare const PivotPanel: React.ForwardRefExoticComponent<PivotPanelProps & PivotPanelEvents<wjcOlap.PivotPanel>>;
115
+ export declare type SlicerProps = ControlBaseProps & {
116
+ field?: wjcOlap.PivotField;
117
+ header?: string | null;
118
+ multiSelect?: boolean;
119
+ showCheckboxes?: boolean;
120
+ showHeader?: boolean;
121
+ };
122
+ export declare type SlicerEvents<T> = ControlBaseEvents<T> & {};
123
+ export declare const SlicerMeta: {
124
+ inputs: string[];
125
+ events: string[];
126
+ };
241
127
  /**
242
128
  * React component for the {@link wijmo.olap.Slicer} control.
243
129
  *
@@ -247,24 +133,4 @@ export declare class PivotPanel extends ComponentBase {
247
133
  * You can use this event to perform further initialization in addition to setting properties in JSX.
248
134
  * The signature of the handler function is the same as any other Wijmo event handlers.
249
135
  */
250
- export declare class Slicer extends ComponentBase {
251
- props: {
252
- template?: any;
253
- children?: any;
254
- isDisabled?: any;
255
- tabOrder?: any;
256
- field?: any;
257
- showHeader?: any;
258
- header?: any;
259
- showCheckboxes?: any;
260
- multiSelect?: any;
261
- initialized?: any;
262
- gotFocus?: any;
263
- lostFocus?: any;
264
- refreshing?: any;
265
- refreshed?: any;
266
- invalidInput?: any;
267
- [key: string]: any;
268
- };
269
- constructor(props: any);
270
- }
136
+ export declare const Slicer: React.ForwardRefExoticComponent<SlicerProps & SlicerEvents<wjcOlap.Slicer>>;
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20241.9
3
+ * Wijmo Library 5.20241.9-temp1-nightly.d20240524.t154527
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -11,4 +11,4 @@
11
11
  *
12
12
  */
13
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 r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(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 r in t)Object.hasOwnProperty.call(t,r)&&(e[r]=t[r]);e.default=t;return e};Object.defineProperty(exports,"__esModule",{value:!0});var wijmo_react_base_1=require("@mescius/wijmo.react.base"),wjcOlap=__importStar(require("@mescius/wijmo.olap")),PivotGrid=function(t){__extends(PivotGrid,t);function PivotGrid(e){return t.call(this,e,wjcOlap.PivotGrid,{objectProps:["childItemsPath","mergeManager","itemsSource","virtualizationThreshold","columnGroups"]})||this}return PivotGrid}(wijmo_react_base_1.ComponentBase);exports.PivotGrid=PivotGrid;var PivotChart=function(t){__extends(PivotChart,t);function PivotChart(e){return t.call(this,e,wjcOlap.PivotChart,{objectProps:["itemsSource","headerStyle","footerStyle"]})||this}return PivotChart}(wijmo_react_base_1.ComponentBase);exports.PivotChart=PivotChart;var PivotPanel=function(t){__extends(PivotPanel,t);function PivotPanel(e){return t.call(this,e,wjcOlap.PivotPanel,{objectProps:["engine","itemsSource"]})||this}return PivotPanel}(wijmo_react_base_1.ComponentBase);exports.PivotPanel=PivotPanel;var Slicer=function(t){__extends(Slicer,t);function Slicer(e){return t.call(this,e,wjcOlap.Slicer,{objectProps:["field"]})||this}return Slicer}(wijmo_react_base_1.ComponentBase);exports.Slicer=Slicer;
14
+ "use strict";var __importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);t.default=e;return t};Object.defineProperty(exports,"__esModule",{value:!0});var react_1=require("react"),wijmo_react_base_1=require("@mescius/wijmo.react.base"),wjGrid=__importStar(require("@mescius/wijmo.react.grid")),wjcOlap=__importStar(require("@mescius/wijmo.olap"));exports.PivotGridMeta={inputs:wjGrid.FlexGridMeta.inputs.concat(["centerHeadersVertically","collapsibleSubtotals","customContextMenu","outlineMode","showColumnFieldHeaders","showDetailOnDoubleClick","showRowFieldHeaders","showRowFieldSort","showValueFieldHeaders"]),events:wjGrid.FlexGridMeta.events.slice()};exports.PivotGrid=react_1.forwardRef((function(e,t){return wijmo_react_base_1.useWjComponentBase({ref:t,properties:exports.PivotGridMeta.inputs,events:exports.PivotGridMeta.events,props:e,constructor:wjcOlap.PivotGrid}).renderResult}));exports.PivotChartMeta={inputs:wijmo_react_base_1.ControlBaseMeta.inputs.concat(["chartType","footer","footerStyle","header","headerStyle","itemsSource","legendPosition","maxPoints","maxSeries","showHierarchicalAxes","showLegend","showTitle","showTotals","stacking"]),events:wijmo_react_base_1.ControlBaseMeta.events.slice()};exports.PivotChart=react_1.forwardRef((function(e,t){return wijmo_react_base_1.useWjComponentBase({ref:t,properties:exports.PivotChartMeta.inputs,events:exports.PivotChartMeta.events,props:e,constructor:wjcOlap.PivotChart}).renderResult}));exports.PivotPanelMeta={inputs:wijmo_react_base_1.ControlBaseMeta.inputs.concat(["autoGenerateFields","deferredUpdate","engine","itemsSource","restrictDragging","showFieldIcons","viewDefinition"]),events:wijmo_react_base_1.ControlBaseMeta.events.concat(["deferredUpdateChanged","itemsSourceChanged","updatedView","updatingView","viewDefinitionChanged"])};exports.PivotPanel=react_1.forwardRef((function(e,t){return wijmo_react_base_1.useWjComponentBase({ref:t,properties:exports.PivotPanelMeta.inputs,events:exports.PivotPanelMeta.events,props:e,constructor:wjcOlap.PivotPanel}).renderResult}));exports.SlicerMeta={inputs:wijmo_react_base_1.ControlBaseMeta.inputs.concat(["field","header","multiSelect","showCheckboxes","showHeader"]),events:wijmo_react_base_1.ControlBaseMeta.events.slice()};exports.Slicer=react_1.forwardRef((function(e,t){return wijmo_react_base_1.useWjComponentBase({ref:t,properties:exports.SlicerMeta.inputs,events:exports.SlicerMeta.events,props:e,constructor:wjcOlap.Slicer}).renderResult}));
package/package.json CHANGED
@@ -1,15 +1,18 @@
1
1
  {
2
2
  "name": "@mescius/wijmo.react.olap",
3
- "version": "5.20241.9-rc",
3
+ "version": "5.20241.9-temp1-nightly.d20240524.t154527",
4
4
  "description": "UI library for pure JS, Angular, React, Vue and more...",
5
5
  "author": "MESCIUS inc",
6
6
  "license": "Commercial",
7
7
  "main": "./index.js",
8
8
  "types": "./index.d.ts",
9
9
  "dependencies": {
10
- "@mescius/wijmo": "5.20241.9-rc",
11
- "@mescius/wijmo.olap": "5.20241.9-rc",
12
- "@mescius/wijmo.react.base": "5.20241.9-rc"
10
+ "@mescius/wijmo": "5.20241.9-temp1-nightly.d20240524.t154527",
11
+ "@mescius/wijmo.olap": "5.20241.9-temp1-nightly.d20240524.t154527",
12
+ "@mescius/wijmo.grid": "5.20241.9-temp1-nightly.d20240524.t154527",
13
+ "@mescius/wijmo.chart": "5.20241.9-temp1-nightly.d20240524.t154527",
14
+ "@mescius/wijmo.react.base": "5.20241.9-temp1-nightly.d20240524.t154527",
15
+ "@mescius/wijmo.react.grid": "5.20241.9-temp1-nightly.d20240524.t154527"
13
16
  },
14
17
  "homepage": "https://developer.mescius.com/wijmo",
15
18
  "bugs": {