@cubejs-client/playground 0.29.48 → 0.29.53

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 (80) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/build/asset-manifest.json +41 -15
  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/css/{2.b984234c.chunk.css → 11.b984234c.chunk.css} +1 -1
  8. package/build/static/css/11.b984234c.chunk.css.map +1 -0
  9. package/build/static/css/12.ea0ece1a.chunk.css +2 -0
  10. package/build/static/css/12.ea0ece1a.chunk.css.map +1 -0
  11. package/build/static/js/0.b54326b0.chunk.js +1 -0
  12. package/build/static/js/1.9d9ab345.chunk.js +1 -0
  13. package/build/static/js/11.a877b2f6.chunk.js +2 -0
  14. package/build/static/js/{2.423113bb.chunk.js.LICENSE.txt → 11.a877b2f6.chunk.js.LICENSE.txt} +0 -0
  15. package/build/static/js/12.a4612a2d.chunk.js +2 -0
  16. package/build/static/js/{3.d6210325.chunk.js.LICENSE.txt → 12.a4612a2d.chunk.js.LICENSE.txt} +28 -0
  17. package/build/static/js/13.6d3110b5.chunk.js +1 -0
  18. package/build/static/js/14.1920a2b0.chunk.js +1 -0
  19. package/build/static/js/15.340ce750.chunk.js +1 -0
  20. package/build/static/js/16.f7339eee.chunk.js +1 -0
  21. package/build/static/js/17.f8caaeba.chunk.js +1 -0
  22. package/build/static/js/18.d0f413e3.chunk.js +1 -0
  23. package/build/static/js/19.4e2d9933.chunk.js +1 -0
  24. package/build/static/js/2.c807d1e1.chunk.js +1 -0
  25. package/build/static/js/20.d1f7d9c3.chunk.js +1 -0
  26. package/build/static/js/21.05ee64dd.chunk.js +1 -0
  27. package/build/static/js/22.36de0e3d.chunk.js +1 -0
  28. package/build/static/js/23.fbb40500.chunk.js +1 -0
  29. package/build/static/js/24.cc29bbe7.chunk.js +1 -0
  30. package/build/static/js/25.2ce3a50b.chunk.js +1 -0
  31. package/build/static/js/26.1c78ec58.chunk.js +1 -0
  32. package/build/static/js/27.54ec55b1.chunk.js +1 -0
  33. package/build/static/js/28.ec979d0e.chunk.js +1 -0
  34. package/build/static/js/29.67ff83b9.chunk.js +1 -0
  35. package/build/static/js/3.5a159973.chunk.js +1 -0
  36. package/build/static/js/4.59594e0b.chunk.js +1 -0
  37. package/build/static/js/5.b30de4e9.chunk.js +1 -0
  38. package/build/static/js/6.232ed74d.chunk.js +1 -0
  39. package/build/static/js/7.7cedaa52.chunk.js +1 -0
  40. package/build/static/js/8.6435ca8a.chunk.js +1 -0
  41. package/build/static/js/main.bafd8a7e.chunk.js +1 -0
  42. package/build/static/js/runtime-main.091d2af0.js +1 -0
  43. package/build/static/media/materialize.102ab165.svg +7 -0
  44. package/lib/.tsbuildinfo +1 -1
  45. package/lib/App.d.ts +1 -1
  46. package/lib/{GraphiQLSandbox-bf955426.js → GraphiQLSandbox-67f22447.js} +3 -4
  47. package/lib/GraphiQLSandbox-67f22447.js.map +1 -0
  48. package/lib/atoms/FatalError.d.ts +2 -1
  49. package/lib/{index-8c4dbf47.js → index-4252fb86.js} +38 -24
  50. package/lib/index-4252fb86.js.map +1 -0
  51. package/lib/index.js +1 -2
  52. package/lib/index.js.map +1 -1
  53. package/lib/pages/Schema/SchemaPage.d.ts +1 -1
  54. package/lib/playground/components/QueryBuilder.d.ts +2 -2
  55. package/package.json +9 -9
  56. package/public/chart-renderers/react/index.html +1 -1
  57. package/public/chart-renderers/react/static/css/main.f4f17f15.css +9 -0
  58. package/public/chart-renderers/react/static/js/main.0caf8a08.js +2 -0
  59. package/build/chart-renderers/react/static/css/2.a1e3eec8.chunk.css +0 -9
  60. package/build/chart-renderers/react/static/css/main.85b3ce99.chunk.css +0 -1
  61. package/build/chart-renderers/react/static/js/2.d64f5fb2.chunk.js +0 -2
  62. package/build/chart-renderers/react/static/js/3.fe29d25e.chunk.js +0 -1
  63. package/build/chart-renderers/react/static/js/main.439f0768.chunk.js +0 -1
  64. package/build/chart-renderers/react/static/js/runtime-main.32b7ee91.js +0 -1
  65. package/build/static/css/2.b984234c.chunk.css.map +0 -1
  66. package/build/static/css/3.fe75100a.chunk.css +0 -2
  67. package/build/static/css/3.fe75100a.chunk.css.map +0 -1
  68. package/build/static/js/2.423113bb.chunk.js +0 -2
  69. package/build/static/js/3.d6210325.chunk.js +0 -2
  70. package/build/static/js/4.2d19fca1.chunk.js +0 -1
  71. package/build/static/js/main.a986e072.chunk.js +0 -1
  72. package/build/static/js/runtime-main.0bebce59.js +0 -1
  73. package/lib/GraphiQLSandbox-bf955426.js.map +0 -1
  74. package/lib/index-8c4dbf47.js.map +0 -1
  75. package/public/chart-renderers/react/static/css/2.a1e3eec8.chunk.css +0 -9
  76. package/public/chart-renderers/react/static/css/main.85b3ce99.chunk.css +0 -1
  77. package/public/chart-renderers/react/static/js/2.d64f5fb2.chunk.js +0 -2
  78. package/public/chart-renderers/react/static/js/3.fe29d25e.chunk.js +0 -1
  79. package/public/chart-renderers/react/static/js/main.439f0768.chunk.js +0 -1
  80. 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-8c4dbf47.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.48",
4
+ "version": "0.29.53",
5
5
  "engines": {},
6
6
  "repository": {
7
7
  "type": "git",
@@ -34,9 +34,9 @@
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",
39
- "@graphiql/toolkit": "^0.4.2",
37
+ "@cubejs-client/core": "^0.29.53",
38
+ "@cubejs-client/react": "^0.29.53",
39
+ "@graphiql/toolkit": "^0.4.3",
40
40
  "camel-case": "^4.1.2",
41
41
  "codesandbox-import-utils": "^2.1.1",
42
42
  "cron-validator": "^1.2.1",
@@ -44,7 +44,8 @@
44
44
  "fast-deep-equal": "^3.1.3",
45
45
  "fetch-retry": "^4.0.1",
46
46
  "flexsearch": "^0.6.32",
47
- "graphiql": "^1.5.15",
47
+ "graphiql": "^1.8.6",
48
+ "graphql-ws": "^5.7.0",
48
49
  "history": "^4.9.0",
49
50
  "js-cookie": "^2.2.1",
50
51
  "js-object-pretty-print": "^0.3.0",
@@ -60,7 +61,6 @@
60
61
  "react-hotkeys-hook": "^3.3.0",
61
62
  "react-is": "^16.8.4",
62
63
  "react-responsive": "^8.0.1",
63
- "react-router": "^5.1.2",
64
64
  "react-router-dom": "^5.1.2",
65
65
  "react-scripts": "4.0.3",
66
66
  "react-source-render": "4.0.0-1",
@@ -88,7 +88,7 @@
88
88
  "eslint-plugin-jsx-a11y": "^6.2.1",
89
89
  "eslint-plugin-react": "^7.20.0",
90
90
  "fs-extra": "^8.1.0",
91
- "graphql": "^15.3.0",
91
+ "graphql": "^15.8.0",
92
92
  "less-loader": "^8.1.1",
93
93
  "react": "^17.0.1",
94
94
  "react-app-rewire-yarn-workspaces": "^1.0.3",
@@ -105,10 +105,10 @@
105
105
  },
106
106
  "peerDependencies": {
107
107
  "antd": ">=4.16.13",
108
- "graphql": ">=15.3.0",
108
+ "graphql": ">=15.8.0",
109
109
  "react": ">=17.0.1",
110
110
  "react-dom": ">=17.0.1",
111
111
  "styled-components": ">=5.2.0"
112
112
  },
113
- "gitHead": "1fa9b5fe1c15ae2e790c101381d127d691c944ac"
113
+ "gitHead": "b2815b43b973199420267695877b57eb6d744978"
114
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>