@deephaven/chart 0.65.1-beta.0 → 0.65.1-beta.2
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/LazyChart.d.ts +5 -0
- package/dist/LazyChart.d.ts.map +1 -0
- package/dist/LazyChart.js +17 -0
- package/dist/LazyChart.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/plotly/LazyPlot.d.ts +5 -0
- package/dist/plotly/LazyPlot.d.ts.map +1 -0
- package/dist/plotly/LazyPlot.js +17 -0
- package/dist/plotly/LazyPlot.js.map +1 -0
- package/package.json +11 -11
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const Chart: import("react").LazyExoticComponent<typeof import("./Chart.js").default>;
|
|
3
|
+
declare function LazyChart(props: React.ComponentProps<typeof Chart>): JSX.Element;
|
|
4
|
+
export default LazyChart;
|
|
5
|
+
//# sourceMappingURL=LazyChart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LazyChart.d.ts","sourceRoot":"","sources":["../src/LazyChart.tsx"],"names":[],"mappings":";AAGA,QAAA,MAAM,KAAK,0EAAmC,CAAC;AAE/C,iBAAS,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC,GAAG,GAAG,CAAC,OAAO,CAOzE;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
5
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
6
|
+
import { LoadingOverlay } from '@deephaven/components';
|
|
7
|
+
import { lazy, Suspense } from 'react';
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
var Chart = /*#__PURE__*/lazy(() => import('./Chart.js'));
|
|
10
|
+
function LazyChart(props) {
|
|
11
|
+
return /*#__PURE__*/_jsx(Suspense, {
|
|
12
|
+
fallback: /*#__PURE__*/_jsx(LoadingOverlay, {}),
|
|
13
|
+
children: /*#__PURE__*/_jsx(Chart, _objectSpread({}, props))
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
export default LazyChart;
|
|
17
|
+
//# sourceMappingURL=LazyChart.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LazyChart.js","names":["LoadingOverlay","lazy","Suspense","jsx","_jsx","Chart","LazyChart","props","fallback","children","_objectSpread"],"sources":["../src/LazyChart.tsx"],"sourcesContent":["import { LoadingOverlay } from '@deephaven/components';\nimport { lazy, Suspense } from 'react';\n\nconst Chart = lazy(() => import('./Chart.js'));\n\nfunction LazyChart(props: React.ComponentProps<typeof Chart>): JSX.Element {\n return (\n <Suspense fallback={<LoadingOverlay />}>\n {/* eslint-disable-next-line react/jsx-props-no-spreading */}\n <Chart {...props} />\n </Suspense>\n );\n}\n\nexport default LazyChart;\n"],"mappings":";;;;;AAAA,SAASA,cAAc,QAAQ,uBAAuB;AACtD,SAASC,IAAI,EAAEC,QAAQ,QAAQ,OAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEvC,IAAMC,KAAK,gBAAGJ,IAAI,CAAC,MAAM,MAAM,CAAC,YAAY,CAAC,CAAC;AAE9C,SAASK,SAASA,CAACC,KAAyC,EAAe;EACzE,oBACEH,IAAA,CAACF,QAAQ;IAACM,QAAQ,eAAEJ,IAAA,CAACJ,cAAc,IAAE,CAAE;IAAAS,QAAA,eAErCL,IAAA,CAACC,KAAK,EAAAK,aAAA,KAAKH,KAAK,CAAG;EAAC,CACZ,CAAC;AAEf;AAEA,eAAeD,SAAS"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as Chart } from './
|
|
1
|
+
export { default as Chart } from './LazyChart';
|
|
2
2
|
export { default as ChartModelFactory } from './ChartModelFactory';
|
|
3
3
|
export { default as ChartModel } from './ChartModel';
|
|
4
4
|
export { default as ChartUtils } from './ChartUtils';
|
|
@@ -6,7 +6,7 @@ export * from './ChartUtils';
|
|
|
6
6
|
export * from './DownsamplingError';
|
|
7
7
|
export { default as FigureChartModel } from './FigureChartModel';
|
|
8
8
|
export { default as MockChartModel } from './MockChartModel';
|
|
9
|
-
export { default as Plot } from './plotly/
|
|
9
|
+
export { default as Plot } from './plotly/LazyPlot';
|
|
10
10
|
export * from './ChartTheme';
|
|
11
11
|
export * from './ChartThemeProvider';
|
|
12
12
|
export { default as isFigureChartModel } from './isFigureChartModel';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACpD,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACrE,cAAc,iBAAiB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as Chart } from "./
|
|
1
|
+
export { default as Chart } from "./LazyChart.js";
|
|
2
2
|
export { default as ChartModelFactory } from "./ChartModelFactory.js";
|
|
3
3
|
export { default as ChartModel } from "./ChartModel.js";
|
|
4
4
|
export { default as ChartUtils } from "./ChartUtils.js";
|
|
@@ -6,7 +6,7 @@ export * from "./ChartUtils.js";
|
|
|
6
6
|
export * from "./DownsamplingError.js";
|
|
7
7
|
export { default as FigureChartModel } from "./FigureChartModel.js";
|
|
8
8
|
export { default as MockChartModel } from "./MockChartModel.js";
|
|
9
|
-
export { default as Plot } from "./plotly/
|
|
9
|
+
export { default as Plot } from "./plotly/LazyPlot.js";
|
|
10
10
|
export * from "./ChartTheme.js";
|
|
11
11
|
export * from "./ChartThemeProvider.js";
|
|
12
12
|
export { default as isFigureChartModel } from "./isFigureChartModel.js";
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["default","Chart","ChartModelFactory","ChartModel","ChartUtils","FigureChartModel","MockChartModel","Plot","isFigureChartModel"],"sources":["../src/index.ts"],"sourcesContent":["export { default as Chart } from './
|
|
1
|
+
{"version":3,"file":"index.js","names":["default","Chart","ChartModelFactory","ChartModel","ChartUtils","FigureChartModel","MockChartModel","Plot","isFigureChartModel"],"sources":["../src/index.ts"],"sourcesContent":["export { default as Chart } from './LazyChart';\nexport { default as ChartModelFactory } from './ChartModelFactory';\nexport { default as ChartModel } from './ChartModel';\nexport { default as ChartUtils } from './ChartUtils';\nexport * from './ChartUtils';\nexport * from './DownsamplingError';\nexport { default as FigureChartModel } from './FigureChartModel';\nexport { default as MockChartModel } from './MockChartModel';\nexport { default as Plot } from './plotly/LazyPlot';\nexport * from './ChartTheme';\nexport * from './ChartThemeProvider';\nexport { default as isFigureChartModel } from './isFigureChartModel';\nexport * from './useChartTheme';\n"],"mappings":"SAASA,OAAO,IAAIC,KAAK;AAAA,SAChBD,OAAO,IAAIE,iBAAiB;AAAA,SAC5BF,OAAO,IAAIG,UAAU;AAAA,SACrBH,OAAO,IAAII,UAAU;AAAA;AAAA;AAAA,SAGrBJ,OAAO,IAAIK,gBAAgB;AAAA,SAC3BL,OAAO,IAAIM,cAAc;AAAA,SACzBN,OAAO,IAAIO,IAAI;AAAA;AAAA;AAAA,SAGfP,OAAO,IAAIQ,kBAAkB;AAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const PlotBase: import("react").LazyExoticComponent<import("react").ComponentType<import("react-plotly.js").PlotParams>>;
|
|
3
|
+
declare function Plot(props: React.ComponentProps<typeof PlotBase>): JSX.Element;
|
|
4
|
+
export default Plot;
|
|
5
|
+
//# sourceMappingURL=LazyPlot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LazyPlot.d.ts","sourceRoot":"","sources":["../../src/plotly/LazyPlot.tsx"],"names":[],"mappings":";AAGA,QAAA,MAAM,QAAQ,0GAAkC,CAAC;AAEjD,iBAAS,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,GAAG,GAAG,CAAC,OAAO,CAOvE;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
5
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
6
|
+
import { LoadingOverlay } from '@deephaven/components';
|
|
7
|
+
import { lazy, Suspense } from 'react';
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
var PlotBase = /*#__PURE__*/lazy(() => import('./Plot.js'));
|
|
10
|
+
function Plot(props) {
|
|
11
|
+
return /*#__PURE__*/_jsx(Suspense, {
|
|
12
|
+
fallback: /*#__PURE__*/_jsx(LoadingOverlay, {}),
|
|
13
|
+
children: /*#__PURE__*/_jsx(PlotBase, _objectSpread({}, props))
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
export default Plot;
|
|
17
|
+
//# sourceMappingURL=LazyPlot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LazyPlot.js","names":["LoadingOverlay","lazy","Suspense","jsx","_jsx","PlotBase","Plot","props","fallback","children","_objectSpread"],"sources":["../../src/plotly/LazyPlot.tsx"],"sourcesContent":["import { LoadingOverlay } from '@deephaven/components';\nimport { lazy, Suspense } from 'react';\n\nconst PlotBase = lazy(() => import('./Plot.js'));\n\nfunction Plot(props: React.ComponentProps<typeof PlotBase>): JSX.Element {\n return (\n <Suspense fallback={<LoadingOverlay />}>\n {/* eslint-disable react/jsx-props-no-spreading */}\n <PlotBase {...props} />\n </Suspense>\n );\n}\n\nexport default Plot;\n"],"mappings":";;;;;AAAA,SAASA,cAAc,QAAQ,uBAAuB;AACtD,SAASC,IAAI,EAAEC,QAAQ,QAAQ,OAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEvC,IAAMC,QAAQ,gBAAGJ,IAAI,CAAC,MAAM,MAAM,CAAC,WAAW,CAAC,CAAC;AAEhD,SAASK,IAAIA,CAACC,KAA4C,EAAe;EACvE,oBACEH,IAAA,CAACF,QAAQ;IAACM,QAAQ,eAAEJ,IAAA,CAACJ,cAAc,IAAE,CAAE;IAAAS,QAAA,eAErCL,IAAA,CAACC,QAAQ,EAAAK,aAAA,KAAKH,KAAK,CAAG;EAAC,CACf,CAAC;AAEf;AAEA,eAAeD,IAAI"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deephaven/chart",
|
|
3
|
-
"version": "0.65.1-beta.
|
|
3
|
+
"version": "0.65.1-beta.2+25d1c09b",
|
|
4
4
|
"description": "Deephaven Chart",
|
|
5
5
|
"author": "Deephaven Data Labs LLC",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
"build:sass": "sass --embed-sources --load-path=../../node_modules ./src:./dist"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@deephaven/components": "^0.65.1-beta.
|
|
31
|
-
"@deephaven/icons": "^0.65.1-beta.
|
|
32
|
-
"@deephaven/jsapi-types": "^0.65.1-beta.
|
|
33
|
-
"@deephaven/jsapi-utils": "^0.65.1-beta.
|
|
34
|
-
"@deephaven/log": "^0.65.1-beta.
|
|
35
|
-
"@deephaven/react-hooks": "^0.65.1-beta.
|
|
36
|
-
"@deephaven/utils": "^0.65.1-beta.
|
|
30
|
+
"@deephaven/components": "^0.65.1-beta.2+25d1c09b",
|
|
31
|
+
"@deephaven/icons": "^0.65.1-beta.2+25d1c09b",
|
|
32
|
+
"@deephaven/jsapi-types": "^0.65.1-beta.2+25d1c09b",
|
|
33
|
+
"@deephaven/jsapi-utils": "^0.65.1-beta.2+25d1c09b",
|
|
34
|
+
"@deephaven/log": "^0.65.1-beta.2+25d1c09b",
|
|
35
|
+
"@deephaven/react-hooks": "^0.65.1-beta.2+25d1c09b",
|
|
36
|
+
"@deephaven/utils": "^0.65.1-beta.2+25d1c09b",
|
|
37
37
|
"deep-equal": "^2.0.5",
|
|
38
38
|
"lodash.debounce": "^4.0.8",
|
|
39
39
|
"lodash.set": "^4.3.2",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"react": "^17.x"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@deephaven/jsapi-shim": "^0.65.1-beta.
|
|
51
|
-
"@deephaven/mocks": "^0.65.1-beta.
|
|
50
|
+
"@deephaven/jsapi-shim": "^0.65.1-beta.2+25d1c09b",
|
|
51
|
+
"@deephaven/mocks": "^0.65.1-beta.2+25d1c09b",
|
|
52
52
|
"@types/plotly.js": "^2.12.11"
|
|
53
53
|
},
|
|
54
54
|
"files": [
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "25d1c09b2f55f9f10eff5918501d385554f237e6"
|
|
64
64
|
}
|