@progress/kendo-react-pivotgrid 9.4.0-develop.23 → 9.4.0-develop.3
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/NOTICE.txt +51 -40
- package/PivotGrid.js +1 -1
- package/PivotGrid.mjs +45 -56
- package/components/AxesEditor.js +1 -1
- package/components/AxesEditor.mjs +4 -3
- package/components/AxisEditor.js +1 -1
- package/components/AxisEditor.mjs +1 -0
- package/components/AxisFilterFieldsEditor.js +1 -1
- package/components/AxisFilterFieldsEditor.mjs +20 -19
- package/components/Cell.js +1 -1
- package/components/Cell.mjs +1 -0
- package/components/Column.js +1 -1
- package/components/Column.mjs +11 -10
- package/components/Configurator.js +1 -1
- package/components/Configurator.mjs +1 -0
- package/components/ConfiguratorButton.js +1 -1
- package/components/ConfiguratorButton.mjs +1 -0
- package/components/ConfiguratorEditor.js +1 -1
- package/components/ConfiguratorEditor.mjs +1 -0
- package/components/Container.js +1 -1
- package/components/Container.mjs +5 -4
- package/components/EditorContext.js +1 -1
- package/components/EditorContext.mjs +3 -2
- package/components/FieldsEditor.js +1 -1
- package/components/FieldsEditor.mjs +1 -0
- package/components/HeaderCell.js +1 -1
- package/components/HeaderCell.mjs +8 -7
- package/components/Row.js +1 -1
- package/components/Row.mjs +8 -7
- package/dist/cdn/js/kendo-react-pivotgrid.js +1 -8
- package/hooks/useExpansion.js +1 -1
- package/hooks/useExpansion.mjs +12 -11
- package/hooks/useHeaders.js +1 -1
- package/hooks/useHeaders.mjs +8 -7
- package/hooks/useHorizontalScrollSync.js +1 -1
- package/hooks/useHorizontalScrollSync.mjs +5 -4
- package/hooks/usePivotConfiguratorEditor.js +1 -1
- package/hooks/usePivotConfiguratorEditor.mjs +6 -5
- package/hooks/usePivotLocalDataService.js +1 -1
- package/hooks/usePivotLocalDataService.mjs +11 -10
- package/hooks/usePivotOLAPService.js +1 -1
- package/hooks/usePivotOLAPService.mjs +1 -0
- package/hooks/useVerticalScrollSync.js +1 -1
- package/hooks/useVerticalScrollSync.mjs +6 -5
- package/index.js +1 -2
- package/index.mjs +4 -4
- package/messages/index.js +1 -1
- package/messages/index.mjs +6 -5
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +3 -2
- package/package.json +11 -11
- package/shared/PivotGridConfiguratorEditorEventsContext.js +1 -1
- package/shared/PivotGridConfiguratorEditorEventsContext.mjs +1 -0
- package/shared/PivotGridConfiguratorEditorStateContext.js +1 -1
- package/shared/PivotGridConfiguratorEditorStateContext.mjs +3 -2
- package/utils/index.js +1 -1
- package/utils/index.mjs +1 -0
package/messages/index.mjs
CHANGED
|
@@ -5,18 +5,19 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
"use client";
|
|
9
|
+
const o = "pivotgrid.emptyCellAriaLabel", t = "pivotgrid.fieldMenuReset", i = "pivotgrid.fieldMenuApply", r = "pivotgrid.configuratorTitle", e = "pivotgrid.configuratorCancel", n = "pivotgrid.configuratorApply", c = "pivotgrid.configuratorColumnsTitle", s = "pivotgrid.configuratorRowsTitle", l = "pivotgrid.configuratorMeasuresTitle", a = "pivotgrid.configuratorEditorSearchTitle", g = "pivotgrid.configuratorEditorSearchPlaceholder", u = "pivotgrid.configuratorMissingFields", p = "pivotgrid.configuratorButtonLabel", d = {
|
|
9
10
|
[o]: "PivotGrid component. Use the arrow keys to navigate.",
|
|
10
11
|
[t]: "Reset",
|
|
11
12
|
[i]: "Apply",
|
|
12
13
|
[e]: "Cancel",
|
|
13
14
|
[n]: "Apply",
|
|
14
15
|
[r]: "Settings",
|
|
15
|
-
[
|
|
16
|
+
[a]: "Fields",
|
|
16
17
|
[g]: "Search...",
|
|
17
18
|
[c]: "Columns",
|
|
18
19
|
[s]: "Rows",
|
|
19
|
-
[
|
|
20
|
+
[l]: "Values",
|
|
20
21
|
[p]: "Change settings",
|
|
21
22
|
[u]: "Select some fields to begin setup"
|
|
22
23
|
};
|
|
@@ -26,8 +27,8 @@ export {
|
|
|
26
27
|
e as configuratorCancel,
|
|
27
28
|
c as configuratorColumnsTitle,
|
|
28
29
|
g as configuratorEditorSearchPlaceholder,
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
a as configuratorEditorSearchTitle,
|
|
31
|
+
l as configuratorMeasuresTitle,
|
|
31
32
|
u as configuratorMissingFields,
|
|
32
33
|
s as configuratorRowsTitle,
|
|
33
34
|
r as configuratorTitle,
|
package/package-metadata.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-react-pivotgrid",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate:
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-react-pivotgrid",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1737720420,version:"9.4.0-develop.3",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"};exports.packageMetadata=e;
|
package/package-metadata.mjs
CHANGED
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
+
"use client";
|
|
8
9
|
const e = {
|
|
9
10
|
name: "@progress/kendo-react-pivotgrid",
|
|
10
11
|
productName: "KendoReact",
|
|
11
12
|
productCode: "KENDOUIREACT",
|
|
12
13
|
productCodes: ["KENDOUIREACT"],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: "9.4.0-develop.
|
|
14
|
+
publishDate: 1737720420,
|
|
15
|
+
version: "9.4.0-develop.3",
|
|
15
16
|
licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
16
17
|
};
|
|
17
18
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-pivotgrid",
|
|
3
|
-
"version": "9.4.0-develop.
|
|
3
|
+
"version": "9.4.0-develop.3",
|
|
4
4
|
"description": "React PivotGrid (also called Pivot Table) can be data-bound to an OLAP service and customized extensively. KendoReact PivotGrid package",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@progress/kendo-data-query": "^1.5.5",
|
|
29
|
-
"@progress/kendo-licensing": "^1.4
|
|
29
|
+
"@progress/kendo-licensing": "^1.3.4",
|
|
30
30
|
"@progress/kendo-pivotgrid-common": "0.6.2",
|
|
31
|
-
"@progress/kendo-react-buttons": "9.4.0-develop.
|
|
32
|
-
"@progress/kendo-react-common": "9.4.0-develop.
|
|
33
|
-
"@progress/kendo-react-data-tools": "9.4.0-develop.
|
|
34
|
-
"@progress/kendo-react-form": "9.4.0-develop.
|
|
35
|
-
"@progress/kendo-react-indicators": "9.4.0-develop.
|
|
36
|
-
"@progress/kendo-react-intl": "9.4.0-develop.
|
|
37
|
-
"@progress/kendo-react-labels": "9.4.0-develop.
|
|
38
|
-
"@progress/kendo-react-treeview": "9.4.0-develop.
|
|
31
|
+
"@progress/kendo-react-buttons": "9.4.0-develop.3",
|
|
32
|
+
"@progress/kendo-react-common": "9.4.0-develop.3",
|
|
33
|
+
"@progress/kendo-react-data-tools": "9.4.0-develop.3",
|
|
34
|
+
"@progress/kendo-react-form": "9.4.0-develop.3",
|
|
35
|
+
"@progress/kendo-react-indicators": "9.4.0-develop.3",
|
|
36
|
+
"@progress/kendo-react-intl": "9.4.0-develop.3",
|
|
37
|
+
"@progress/kendo-react-labels": "9.4.0-develop.3",
|
|
38
|
+
"@progress/kendo-react-treeview": "9.4.0-develop.3",
|
|
39
39
|
"@progress/kendo-svg-icons": "^4.0.0",
|
|
40
40
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
|
|
41
41
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"package": {
|
|
62
62
|
"productName": "KendoReact",
|
|
63
63
|
"productCode": "KENDOUIREACT",
|
|
64
|
-
"publishDate":
|
|
64
|
+
"publishDate": 1737720420,
|
|
65
65
|
"licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
66
66
|
}
|
|
67
67
|
},
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react");function c(t){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(o,e,r.get?r:{enumerable:!0,get:()=>t[e]})}}return o.default=t,Object.freeze(o)}const i=c(n),a=i.createContext({});exports.PivotGridConfiguratorEditorEventsContext=a;
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react");function c(t){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(o,e,r.get?r:{enumerable:!0,get:()=>t[e]})}}return o.default=t,Object.freeze(o)}const i=c(n),a=i.createContext({});exports.PivotGridConfiguratorEditorEventsContext=a;
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
+
"use client";
|
|
8
9
|
import * as t from "react";
|
|
9
10
|
const o = t.createContext({});
|
|
10
11
|
export {
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react"),a=require("@progress/kendo-react-common");function c(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const i=c(n),u=i.createContext([{expanded:[],rowAxes:[],columnAxes:[],measureAxes:[],dragItem:null,dropZone:null,dropDirection:null,dropTarget:null},a.noop]);exports.PivotGridConfiguratorEditorStateContext=u;
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react"),a=require("@progress/kendo-react-common");function c(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const i=c(n),u=i.createContext([{expanded:[],rowAxes:[],columnAxes:[],measureAxes:[],dragItem:null,dropZone:null,dropDirection:null,dropTarget:null},a.noop]);exports.PivotGridConfiguratorEditorStateContext=u;
|
|
@@ -5,9 +5,10 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
+
"use client";
|
|
8
9
|
import * as o from "react";
|
|
9
10
|
import { noop as e } from "@progress/kendo-react-common";
|
|
10
|
-
const
|
|
11
|
+
const r = o.createContext([
|
|
11
12
|
{
|
|
12
13
|
expanded: [],
|
|
13
14
|
rowAxes: [],
|
|
@@ -21,5 +22,5 @@ const t = o.createContext([
|
|
|
21
22
|
e
|
|
22
23
|
]);
|
|
23
24
|
export {
|
|
24
|
-
|
|
25
|
+
r as PivotGridConfiguratorEditorStateContext
|
|
25
26
|
};
|
package/utils/index.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("@progress/kendo-pivotgrid-common"),g=(e,t,r)=>{const n=JSON.parse(JSON.stringify(e||[])),a=JSON.parse(JSON.stringify(t||[])),o=JSON.parse(JSON.stringify(r||[])),s=c.toTree(n),[,u,d]=c.toRows(s),f=c.toTree(a),[,p,,m]=c.toColumns(f);return c.toData(o,p,u,m,d)},h=(e=[],t={},r=null)=>e.map(n=>{const a={dataItem:n};return Object.keys(t).forEach(o=>{a[o]=t[o](a,r)}),a}),i=(e=[])=>{let t=[...e];return(e||[]).forEach(r=>{t=t.concat(i(r.children))}),t},y=(e=[])=>{const t=new Set;return e.forEach(r=>{t.add(String(r.name))}),Array.from(t)},l=(e=[])=>`${e.join(",")}`,O=(e,t)=>`${l(e.map(r=>r.name))}|${l(t.map(r=>r.name))}`,S=(e,t,r)=>{if(!e)return;let n=0,a;const o=e.length;let s;for(;n<o;n++)s=e[n].operator,s===r&&e[n].field===t&&(a=e[n]);return a},F=(e,t,r)=>{if(!e)return[];let n=0;const a=[],o=e.length;let s;for(;n<o;n++)s=e[n].operator,(!r&&s!=="in"||s===r)&&e[n].field===t&&a.push(e[n]);return a},N=(e,t)=>e.uniqueName===t.uniqueName;exports.compareFields=N;exports.dataCells=g;exports.extractDefaultFields=y;exports.findFilter=S;exports.findFilters=F;exports.flatMap=i;exports.generateDataKey=O;exports.generateKey=l;exports.recursiveMap=h;
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("@progress/kendo-pivotgrid-common"),g=(e,t,r)=>{const n=JSON.parse(JSON.stringify(e||[])),a=JSON.parse(JSON.stringify(t||[])),o=JSON.parse(JSON.stringify(r||[])),s=c.toTree(n),[,u,d]=c.toRows(s),f=c.toTree(a),[,p,,m]=c.toColumns(f);return c.toData(o,p,u,m,d)},h=(e=[],t={},r=null)=>e.map(n=>{const a={dataItem:n};return Object.keys(t).forEach(o=>{a[o]=t[o](a,r)}),a}),i=(e=[])=>{let t=[...e];return(e||[]).forEach(r=>{t=t.concat(i(r.children))}),t},y=(e=[])=>{const t=new Set;return e.forEach(r=>{t.add(String(r.name))}),Array.from(t)},l=(e=[])=>`${e.join(",")}`,O=(e,t)=>`${l(e.map(r=>r.name))}|${l(t.map(r=>r.name))}`,S=(e,t,r)=>{if(!e)return;let n=0,a;const o=e.length;let s;for(;n<o;n++)s=e[n].operator,s===r&&e[n].field===t&&(a=e[n]);return a},F=(e,t,r)=>{if(!e)return[];let n=0;const a=[],o=e.length;let s;for(;n<o;n++)s=e[n].operator,(!r&&s!=="in"||s===r)&&e[n].field===t&&a.push(e[n]);return a},N=(e,t)=>e.uniqueName===t.uniqueName;exports.compareFields=N;exports.dataCells=g;exports.extractDefaultFields=y;exports.findFilter=S;exports.findFilters=F;exports.flatMap=i;exports.generateDataKey=O;exports.generateKey=l;exports.recursiveMap=h;
|
package/utils/index.mjs
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
+
"use client";
|
|
8
9
|
import { toTree as c, toRows as f, toColumns as h, toData as g } from "@progress/kendo-pivotgrid-common";
|
|
9
10
|
const S = (e, t, r) => {
|
|
10
11
|
const n = JSON.parse(JSON.stringify(e || [])), o = JSON.parse(JSON.stringify(t || [])), s = JSON.parse(JSON.stringify(r || [])), a = c(n), [, u, i] = f(a), p = c(o), [, d, , m] = h(p);
|