devexpress-reporting-react 25.2.9-build-26191-1127 → 25.2.9

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.
@@ -1,27 +1,13 @@
1
1
  import React from 'react';
2
2
  import CollectionEditor from '../../../../analytics/Properties/CollectionEditor';
3
3
  import Template from '../../../../core/Template';
4
- import { getLocalization } from '@devexpress/analytics-core/property-grid/localization/_localization';
4
+ import { wrapOptions } from '@devexpress/analytics-core/property-grid/widgets/collectioneditor/_editor';
5
5
  import { useEditorOptions } from '../../../../analytics/Properties/Editors/editorHooks';
6
6
  const properties = ({ data }) => React.createElement(Template, { data: data.getProperties({ engineType: 'native' }), template: "dx-propertieseditor" });
7
7
  const MultiValueEditable = ({ data }) => {
8
8
  const getEditorOptions = () => {
9
- const editor = data.getModel();
10
- const getOptionsInfoProperty = (propertyName) => !propertyName ? data.info
11
- : data.info && data.info[propertyName];
12
- const addHandler = () => (getOptionsInfoProperty('addHandler')).call({ data });
13
9
  return {
14
- data: {
15
- values: [...editor.value],
16
- addHandler: () => {
17
- return addHandler();
18
- },
19
- onValueChanged: (array) => {
20
- editor._set('value', [...array]);
21
- },
22
- info: data.info,
23
- level: data.level, displayName: getLocalization(data.displayName)
24
- },
10
+ data: wrapOptions(data),
25
11
  contentTemplate: properties
26
12
  };
27
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devexpress-reporting-react",
3
- "version": "25.2.9-build-26191-1127",
3
+ "version": "25.2.9",
4
4
  "homepage": "https://www.devexpress.com/",
5
5
  "bugs": "https://www.devexpress.com/support/",
6
6
  "author": "Developer Express Inc.",
@@ -21,13 +21,13 @@
21
21
  "@types/prop-types": "15.7.13",
22
22
  "@types/react": ">=18.0.0",
23
23
  "@types/react-dom": ">=18.0.0",
24
- "devextreme-react": "25.2.9-build-26181-1848",
24
+ "devextreme-react": "25.2.9",
25
25
  "react": ">=18.0.0",
26
26
  "react-dom": ">=18.0.0",
27
- "@devexpress/analytics-core": "25.2.9-build-26191-1127",
28
- "devexpress-reporting": "25.2.9-build-26191-1127"
27
+ "devexpress-reporting": "25.2.9",
28
+ "@devexpress/analytics-core": "25.2.9"
29
29
  },
30
- "commitSHA": "5b1dabff238cdbf3317edbb9512503b4d05b5839",
30
+ "commitSHA": "05720aab2e9355f1a40fbf85cbc0d164f838aad3",
31
31
  "scripts": {
32
32
  "build": "echo done"
33
33
  }