@evergis/react 4.0.23-alpha.0 → 4.0.23-alpha.1

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/index.js CHANGED
@@ -10817,7 +10817,7 @@ const useDataSources = ({ type: widgetType, config, attributes, filters, layerPa
10817
10817
  const json = await response.json();
10818
10818
  return {
10819
10819
  items: json.result.items,
10820
- attributes: json.result.attributeDefinition,
10820
+ attributes: json.result.attributes,
10821
10821
  };
10822
10822
  }
10823
10823
  catch (error) {
@@ -10909,7 +10909,7 @@ const useDataSources = ({ type: widgetType, config, attributes, filters, layerPa
10909
10909
  properties: item.properties || item.attributes,
10910
10910
  }))
10911
10911
  : items;
10912
- newDataSources[index].attributeDefinition =
10912
+ newDataSources[index].attributes =
10913
10913
  response.status === "rejected" ||
10914
10914
  (!isQueryDataSource && !isPythonDataSource)
10915
10915
  ? null
@@ -11194,7 +11194,7 @@ const useRelatedDataSourceAttributes = ({ type = exports.WidgetType.Dashboard, e
11194
11194
  {
11195
11195
  configuration: {
11196
11196
  attributesConfiguration: {
11197
- attributes: dataSource?.attributes || {},
11197
+ attributes: dataSource?.attributes || [],
11198
11198
  },
11199
11199
  },
11200
11200
  }, [currentPage?.dataSources, dataSource?.attributes, layerInfos, relatedDataSource]);
package/dist/react.esm.js CHANGED
@@ -10815,7 +10815,7 @@ const useDataSources = ({ type: widgetType, config, attributes, filters, layerPa
10815
10815
  const json = await response.json();
10816
10816
  return {
10817
10817
  items: json.result.items,
10818
- attributes: json.result.attributeDefinition,
10818
+ attributes: json.result.attributes,
10819
10819
  };
10820
10820
  }
10821
10821
  catch (error) {
@@ -10907,7 +10907,7 @@ const useDataSources = ({ type: widgetType, config, attributes, filters, layerPa
10907
10907
  properties: item.properties || item.attributes,
10908
10908
  }))
10909
10909
  : items;
10910
- newDataSources[index].attributeDefinition =
10910
+ newDataSources[index].attributes =
10911
10911
  response.status === "rejected" ||
10912
10912
  (!isQueryDataSource && !isPythonDataSource)
10913
10913
  ? null
@@ -11192,7 +11192,7 @@ const useRelatedDataSourceAttributes = ({ type = WidgetType.Dashboard, elementCo
11192
11192
  {
11193
11193
  configuration: {
11194
11194
  attributesConfiguration: {
11195
- attributes: dataSource?.attributes || {},
11195
+ attributes: dataSource?.attributes || [],
11196
11196
  },
11197
11197
  },
11198
11198
  }, [currentPage?.dataSources, dataSource?.attributes, layerInfos, relatedDataSource]);
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.0.23-alpha.0",
2
+ "version": "4.0.23-alpha.1",
3
3
  "name": "@evergis/react",
4
4
  "author": "Everpoint",
5
5
  "license": "MIT",
@@ -54,8 +54,8 @@
54
54
  "storybook": "^7.6.14"
55
55
  },
56
56
  "dependencies": {
57
- "@evergis/api": "^5.0.9-alpha.6",
58
- "@evergis/charts": "^4.0.8-alpha.6",
57
+ "@evergis/api": "^5.0.9-alpha.7",
58
+ "@evergis/charts": "^4.0.8-alpha.7",
59
59
  "@evergis/color": "^1.0.0-alpha.1",
60
60
  "@evergis/uilib-gl": "^1.0.83",
61
61
  "@mapbox/mapbox-gl-draw": "^1.5.0",
@@ -87,5 +87,5 @@
87
87
  "uuid": "^13.0.0",
88
88
  "wkt": "^0.1.1"
89
89
  },
90
- "gitHead": "2f7b244dd7a4d98fb6ccd1690fdb40ee4cdc4077"
90
+ "gitHead": "527597be6d419f0919d34d126ed60cb85ca7c486"
91
91
  }