@vizzly/dashboard 0.15.0-dev-db7e4a949b12879998b7c556b6e335f69df1c037 → 0.15.0-dev-dff507f80d240e8e0f91b6d6c4eec2c82f49374f
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/dashboard.esm.js
CHANGED
|
@@ -31513,7 +31513,7 @@ var ViewWrapper = function ViewWrapper(_ref) {
|
|
|
31513
31513
|
"data-component": "view-wrapper",
|
|
31514
31514
|
"data-idfordownload": "true",
|
|
31515
31515
|
children: children
|
|
31516
|
-
});
|
|
31516
|
+
}, id);
|
|
31517
31517
|
};
|
|
31518
31518
|
var styles$1 = /*#__PURE__*/buildStyleOverrides({
|
|
31519
31519
|
display: 'flex',
|
|
@@ -63571,10 +63571,11 @@ var StaticCustomView = function StaticCustomView(_ref) {
|
|
|
63571
63571
|
});
|
|
63572
63572
|
};
|
|
63573
63573
|
|
|
63574
|
-
var uniqueId = function uniqueId(dashboardId, rowIndex, cellIndex) {
|
|
63574
|
+
var uniqueId = function uniqueId(dashboardId, rowIndex, cellIndex, viewId) {
|
|
63575
63575
|
// Do not make ID too long as long IDs aren't supported everywhere.
|
|
63576
63576
|
// e.g Area chart gradient references break when the ID is too long... don't ask.
|
|
63577
|
-
|
|
63577
|
+
|
|
63578
|
+
return dashboardId.slice(-10) + "_" + rowIndex + "_" + cellIndex + (viewId ? "_" + viewId.slice(-10) : '');
|
|
63578
63579
|
};
|
|
63579
63580
|
var ResizableRowCell = function ResizableRowCell(props) {
|
|
63580
63581
|
var _onCreateNew = props.onCreateNew,
|
|
@@ -63656,7 +63657,7 @@ var ResizableRowCell = function ResizableRowCell(props) {
|
|
|
63656
63657
|
rowIndex: rowIndex,
|
|
63657
63658
|
colWidth: props.colWidth,
|
|
63658
63659
|
cellIndex: cellIndex,
|
|
63659
|
-
id: uniqueId(dashboard.id, rowIndex, cellIndex),
|
|
63660
|
+
id: uniqueId(dashboard.id, rowIndex, cellIndex, component.attributes.viewId),
|
|
63660
63661
|
componentValidWithDataSet: true,
|
|
63661
63662
|
generatingPDF: props.generatingPDF,
|
|
63662
63663
|
setComponentReports: function setComponentReports(reports) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizzly/dashboard",
|
|
3
3
|
"author": "james@vizzly.co",
|
|
4
|
-
"version": "0.15.0-dev-
|
|
4
|
+
"version": "0.15.0-dev-dff507f80d240e8e0f91b6d6c4eec2c82f49374f",
|
|
5
5
|
"source": "src/index.tsx",
|
|
6
6
|
"types": "./dist/dashboard/src/index.d.ts",
|
|
7
7
|
"module": "./dist/dashboard.esm.js",
|