@cubejs-client/playground 0.29.50 → 0.29.54

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.
Files changed (45) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/build/asset-manifest.json +11 -10
  3. package/build/chart-renderers/react/index.html +1 -1
  4. package/build/chart-renderers/react/static/css/main.f4f17f15.css +9 -0
  5. package/build/chart-renderers/react/static/js/main.0caf8a08.js +2 -0
  6. package/build/index.html +1 -1
  7. package/build/static/js/11.a877b2f6.chunk.js +2 -0
  8. package/build/static/js/{11.58591f1d.chunk.js.LICENSE.txt → 11.a877b2f6.chunk.js.LICENSE.txt} +0 -0
  9. package/build/static/js/{12.9b92168e.chunk.js → 12.a4612a2d.chunk.js} +2 -2
  10. package/build/static/js/{12.9b92168e.chunk.js.LICENSE.txt → 12.a4612a2d.chunk.js.LICENSE.txt} +0 -0
  11. package/build/static/js/{19.e3889e4b.chunk.js → 19.4e2d9933.chunk.js} +1 -1
  12. package/build/static/js/main.bafd8a7e.chunk.js +1 -0
  13. package/build/static/js/{runtime-main.6eb60c79.js → runtime-main.091d2af0.js} +1 -1
  14. package/build/static/media/materialize.102ab165.svg +7 -0
  15. package/lib/.tsbuildinfo +1 -1
  16. package/lib/App.d.ts +1 -1
  17. package/lib/{GraphiQLSandbox-6f08cb7e.js → GraphiQLSandbox-67f22447.js} +3 -4
  18. package/lib/GraphiQLSandbox-67f22447.js.map +1 -0
  19. package/lib/atoms/FatalError.d.ts +2 -1
  20. package/lib/{index-5c2e0c88.js → index-4252fb86.js} +21 -15
  21. package/lib/index-4252fb86.js.map +1 -0
  22. package/lib/index.js +1 -2
  23. package/lib/index.js.map +1 -1
  24. package/lib/pages/Schema/SchemaPage.d.ts +1 -1
  25. package/lib/playground/components/QueryBuilder.d.ts +2 -2
  26. package/package.json +4 -5
  27. package/public/chart-renderers/react/index.html +1 -1
  28. package/public/chart-renderers/react/static/css/main.f4f17f15.css +9 -0
  29. package/public/chart-renderers/react/static/js/main.0caf8a08.js +2 -0
  30. package/build/chart-renderers/react/static/css/2.a1e3eec8.chunk.css +0 -9
  31. package/build/chart-renderers/react/static/css/main.85b3ce99.chunk.css +0 -1
  32. package/build/chart-renderers/react/static/js/2.d64f5fb2.chunk.js +0 -2
  33. package/build/chart-renderers/react/static/js/3.fe29d25e.chunk.js +0 -1
  34. package/build/chart-renderers/react/static/js/main.439f0768.chunk.js +0 -1
  35. package/build/chart-renderers/react/static/js/runtime-main.32b7ee91.js +0 -1
  36. package/build/static/js/11.58591f1d.chunk.js +0 -2
  37. package/build/static/js/main.d781bd64.chunk.js +0 -1
  38. package/lib/GraphiQLSandbox-6f08cb7e.js.map +0 -1
  39. package/lib/index-5c2e0c88.js.map +0 -1
  40. package/public/chart-renderers/react/static/css/2.a1e3eec8.chunk.css +0 -9
  41. package/public/chart-renderers/react/static/css/main.85b3ce99.chunk.css +0 -1
  42. package/public/chart-renderers/react/static/js/2.d64f5fb2.chunk.js +0 -2
  43. package/public/chart-renderers/react/static/js/3.fe29d25e.chunk.js +0 -1
  44. package/public/chart-renderers/react/static/js/main.439f0768.chunk.js +0 -1
  45. package/public/chart-renderers/react/static/js/runtime-main.32b7ee91.js +0 -1
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { C as CloudProvider, j as Context, Q as QueryBuilder, R as RollupDesignerContext, g as fetchPoll, h as setTelemetry, s as setTracker, l as useAppContext, i as useCloud, p as useCubejsApi, q as useDeepCompareMemoize, r as useDeepDependencies, t as useDeepEffect, e as useDeepMemo, v as useIdentifier, o as useIsCloud, w as useIsMounted, x as useLivePreviewContext, y as useLocalStorage, n as usePlaygroundContext, k as useRollupDesignerContext, c as useSecurityContext, z as useServerCoreVersionGte, A as useSetter, B as useToggle, d as useToken, D as useWindowSize } from './index-5c2e0c88.js';
1
+ export { C as CloudProvider, j as Context, Q as QueryBuilder, R as RollupDesignerContext, g as fetchPoll, h as setTelemetry, s as setTracker, l as useAppContext, i as useCloud, p as useCubejsApi, q as useDeepCompareMemoize, r as useDeepDependencies, t as useDeepEffect, e as useDeepMemo, v as useIdentifier, o as useIsCloud, w as useIsMounted, x as useLivePreviewContext, y as useLocalStorage, n as usePlaygroundContext, k as useRollupDesignerContext, c as useSecurityContext, z as useServerCoreVersionGte, A as useSetter, B as useToggle, d as useToken, D as useWindowSize } from './index-4252fb86.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import 'fast-deep-equal';
@@ -10,7 +10,6 @@ import '@ant-design/icons';
10
10
  import '@cubejs-client/core';
11
11
  import 'mitt';
12
12
  import '@cubejs-client/react';
13
- import 'react-router';
14
13
  import 'uuid';
15
14
  import 'flexsearch';
16
15
  import 'cron-validator';
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"}
@@ -1,5 +1,5 @@
1
1
  import { Component } from 'react';
2
- import { RouterProps } from 'react-router';
2
+ import { RouterProps } from 'react-router-dom';
3
3
  declare type SchemaPageProps = RouterProps;
4
4
  export default class SchemaPage extends Component<SchemaPageProps, any> {
5
5
  constructor(props: any);
@@ -8,6 +8,6 @@ declare type QueryBuilderProps = {
8
8
  identifier?: string;
9
9
  playgroundContext?: Partial<PlaygroundContext>;
10
10
  } & Pick<PlaygroundQueryBuilderProps, 'apiUrl' | 'defaultQuery' | 'initialVizState' | 'schemaVersion' | 'onVizStateChanged' | 'onSchemaChange' | 'extra'> & Pick<SecurityContextProps, 'onTokenPayloadChange'> & Pick<SecurityContextProviderProps, 'tokenUpdater'> & Pick<QueryTabsProps, 'onTabChange'>;
11
- declare function QueryBuilderComponent({ token, identifier, ...props }: QueryBuilderProps): JSX.Element;
12
- export declare const QueryBuilder: import("react").MemoExoticComponent<typeof QueryBuilderComponent>;
11
+ declare function _QueryBuilder({ token, identifier, ...props }: QueryBuilderProps): JSX.Element;
12
+ export declare const QueryBuilder: import("react").MemoExoticComponent<typeof _QueryBuilder>;
13
13
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cubejs-client/playground",
3
3
  "author": "Cube Dev, Inc.",
4
- "version": "0.29.50",
4
+ "version": "0.29.54",
5
5
  "engines": {},
6
6
  "repository": {
7
7
  "type": "git",
@@ -34,8 +34,8 @@
34
34
  "license": "MIT",
35
35
  "dependencies": {
36
36
  "@ant-design/icons": "^4.1.0",
37
- "@cubejs-client/core": "^0.29.48",
38
- "@cubejs-client/react": "^0.29.48",
37
+ "@cubejs-client/core": "^0.29.54",
38
+ "@cubejs-client/react": "^0.29.54",
39
39
  "@graphiql/toolkit": "^0.4.3",
40
40
  "camel-case": "^4.1.2",
41
41
  "codesandbox-import-utils": "^2.1.1",
@@ -61,7 +61,6 @@
61
61
  "react-hotkeys-hook": "^3.3.0",
62
62
  "react-is": "^16.8.4",
63
63
  "react-responsive": "^8.0.1",
64
- "react-router": "^5.1.2",
65
64
  "react-router-dom": "^5.1.2",
66
65
  "react-scripts": "4.0.3",
67
66
  "react-source-render": "4.0.0-1",
@@ -111,5 +110,5 @@
111
110
  "react-dom": ">=17.0.1",
112
111
  "styled-components": ">=5.2.0"
113
112
  },
114
- "gitHead": "23b2f8d057c6190563522090207e89376e3229d6"
113
+ "gitHead": "c5383fcfaaa088e6ca09cee3384da163d3ad6af5"
115
114
  }
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><head><base href="/"/><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>React App</title><link href="/chart-renderers/react/static/css/2.a1e3eec8.chunk.css" rel="stylesheet"><link href="/chart-renderers/react/static/css/main.85b3ce99.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,a,i=r[0],c=r[1],l=r[2],s=0,p=[];s<i.length;s++)a=i[s],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&p.push(o[a][0]),o[a]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(r);p.length;)p.shift()();return u.push.apply(u,l||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,i=1;i<t.length;i++){var c=t[i];0!==o[c]&&(n=!1)}n&&(u.splice(r--,1),e=a(a.s=t[0]))}return e}var n={},o={1:0},u=[];function a(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.e=function(e){var r=[],t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise((function(r,n){t=o[e]=[r,n]}));r.push(t[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.src=function(e){return a.p+"static/js/"+({}[e]||e)+"."+{3:"fe29d25e"}[e]+".chunk.js"}(e);var c=new Error;u=function(r){i.onerror=i.onload=null,clearTimeout(l);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),u=r&&r.target&&r.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,t[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(r)},a.m=e,a.c=n,a.d=function(e,r,t){a.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,r){if(1&r&&(e=a(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)a.d(t,n,function(r){return e[r]}.bind(null,n));return t},a.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(r,"a",r),r},a.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},a.p="/",a.oe=function(e){throw console.error(e),e};var i=this["webpackJsonpreact-charts"]=this["webpackJsonpreact-charts"]||[],c=i.push.bind(i);i.push=r,i=i.slice();for(var l=0;l<i.length;l++)r(i[l]);var f=c;t()}([])</script><script src="/chart-renderers/react/static/js/2.d64f5fb2.chunk.js"></script><script src="/chart-renderers/react/static/js/main.439f0768.chunk.js"></script></body></html>
1
+ <!doctype html><html lang="en"><head><base href="/"/><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>React App</title><script defer="defer" src="/chart-renderers/react/static/js/main.0caf8a08.js"></script><link href="/chart-renderers/react/static/css/main.f4f17f15.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>