@gen3/frontend 0.12.61 → 0.12.62

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 (32) hide show
  1. package/LICENSE +201 -0
  2. package/dist/dts/components/Providers/Gen3Provider.d.ts +1 -1
  3. package/dist/dts/lib/session/session.d.ts +4 -1
  4. package/dist/dts/lib/session/session.d.ts.map +1 -1
  5. package/dist/dts/lib/session/session.js +18 -8
  6. package/dist/dts/lib/session/session.js.map +1 -1
  7. package/dist/dts/lib/session/tests/utils.unit.test.js +8 -8
  8. package/dist/dts/lib/session/tests/utils.unit.test.js.map +1 -1
  9. package/dist/dts/lib/session/types.d.ts +13 -0
  10. package/dist/dts/lib/session/types.d.ts.map +1 -1
  11. package/dist/index/cjs/QueryPanel-D4j2aMz8.js +43 -0
  12. package/dist/index/cjs/QueryPanel-D4j2aMz8.js.map +1 -0
  13. package/dist/index/cjs/QueryPanel-DkR_7bUC.js +43 -0
  14. package/dist/index/cjs/QueryPanel-DkR_7bUC.js.map +1 -0
  15. package/dist/index/cjs/index-CBuD1Lcd.js +41982 -0
  16. package/dist/index/cjs/index-CBuD1Lcd.js.map +1 -0
  17. package/dist/index/cjs/index-Dd_3GoUb.js +41981 -0
  18. package/dist/index/cjs/index-Dd_3GoUb.js.map +1 -0
  19. package/dist/index/cjs/index.js +1 -1
  20. package/dist/index/esm/QueryPanel-CDmhYGQc.js +37 -0
  21. package/dist/index/esm/QueryPanel-CDmhYGQc.js.map +1 -0
  22. package/dist/index/esm/QueryPanel-D9ygSNMe.js +37 -0
  23. package/dist/index/esm/QueryPanel-D9ygSNMe.js.map +1 -0
  24. package/dist/index/esm/index-DJsCP8v-.js +41695 -0
  25. package/dist/index/esm/index-DJsCP8v-.js.map +1 -0
  26. package/dist/index/esm/index-OObTGKDf.js +41694 -0
  27. package/dist/index/esm/index-OObTGKDf.js.map +1 -0
  28. package/dist/index/esm/index.js +1 -1
  29. package/dist/index.d.ts +14 -1
  30. package/dist/pages/cjs/index-C1PAwqq-.js.map +1 -1
  31. package/dist/pages/esm/index-CN67ZTi4.js.map +1 -1
  32. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-1ADKM3g-.js');
3
+ var index = require('./index-Dd_3GoUb.js');
4
4
  require('@gen3/core');
5
5
  require('react/jsx-runtime');
6
6
  require('react');
@@ -0,0 +1,37 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import dynamic from 'next/dynamic';
3
+ import 'react';
4
+ import { LoadingOverlay } from '@mantine/core';
5
+
6
+ // Wrapper function for displaying loading element before GqlQueryEditor renders
7
+ const GqlQueryEditor = dynamic(()=>import('./index-OObTGKDf.js').then(function (n) { return n.cX; }), {
8
+ loading: ()=>/*#__PURE__*/ jsx(LoadingOverlay, {
9
+ visible: true
10
+ }),
11
+ ssr: false
12
+ });
13
+ /**
14
+ * Represents the QueryPanel component responsible for rendering a GraphQL query editor.
15
+ *
16
+ * @param {QueryPanelConfiguration} config - The configuration object for the QueryPanel.
17
+ * @param {Array<{ url: string, label: string }>} [config.graphQLEndpoints=[{ url: 'guppy/graphql', label: 'Flat' }]]
18
+ * An array of GraphQL endpoint objects. Each endpoint object contains the following:
19
+ * - `url` (string): The URL of the GraphQL endpoint. Note this should only be the Gen3 service path (e.g., 'guppy/graphql').
20
+ * - `label` (string): A label for the GraphQL endpoint.
21
+ *
22
+ * @returns {React.Element} The rendered GraphQL query editor.
23
+ */ const QueryPanel = ({ graphQLEndpoints = [
24
+ {
25
+ url: 'guppy/graphql',
26
+ label: 'Flat'
27
+ }
28
+ ] })=>{
29
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
30
+ // @ts-ignore
31
+ return /*#__PURE__*/ jsx(GqlQueryEditor, {
32
+ graphQLEndpoints: graphQLEndpoints
33
+ });
34
+ };
35
+
36
+ export { QueryPanel as default };
37
+ //# sourceMappingURL=QueryPanel-CDmhYGQc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryPanel-CDmhYGQc.js","sources":["../../../src/features/Query/QueryPanel.tsx"],"sourcesContent":["import dynamic from 'next/dynamic';\nimport React from 'react';\nimport { LoadingOverlay } from '@mantine/core';\nimport type { QueryPanelConfiguration } from './types';\n\n// Wrapper function for displaying loading element before GqlQueryEditor renders\nconst GqlQueryEditor = dynamic(() => import('./GqlQueryEditor'), {\n loading: () => <LoadingOverlay visible={true} />,\n ssr: false,\n});\n\n/**\n * Represents the QueryPanel component responsible for rendering a GraphQL query editor.\n *\n * @param {QueryPanelConfiguration} config - The configuration object for the QueryPanel.\n * @param {Array<{ url: string, label: string }>} [config.graphQLEndpoints=[{ url: 'guppy/graphql', label: 'Flat' }]]\n * An array of GraphQL endpoint objects. Each endpoint object contains the following:\n * - `url` (string): The URL of the GraphQL endpoint. Note this should only be the Gen3 service path (e.g., 'guppy/graphql').\n * - `label` (string): A label for the GraphQL endpoint.\n *\n * @returns {React.Element} The rendered GraphQL query editor.\n */\n\nconst QueryPanel = ({\n graphQLEndpoints = [{ url: 'guppy/graphql', label: 'Flat' }],\n}: QueryPanelConfiguration) => {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n return <GqlQueryEditor graphQLEndpoints={graphQLEndpoints} />;\n};\n\nexport default QueryPanel;\n"],"names":["GqlQueryEditor","dynamic","loading","_jsx","LoadingOverlay","visible","ssr","QueryPanel","graphQLEndpoints","url","label"],"mappings":";;;;;AAKA;AACA,MAAMA,cAAAA,GAAiBC,OAAAA,CAAQ,IAAM,OAAO,qBAAA,qCAAA,EAAqB;AAC/DC,IAAAA,OAAAA,EAAS,kBAAMC,GAAA,CAACC,cAAAA,EAAAA;YAAeC,OAAAA,EAAS;;IACxCC,GAAAA,EAAK;AACP,CAAA,CAAA;AAEA;;;;;;;;;;AAUC,IAED,MAAMC,UAAAA,GAAa,CAAC,EAClBC,gBAAAA,GAAmB;AAAC,IAAA;QAAEC,GAAAA,EAAK,eAAA;QAAiBC,KAAAA,EAAO;AAAO;CAAE,EACpC,GAAA;;;AAGxB,IAAA,qBAAOP,GAAA,CAACH,cAAAA,EAAAA;QAAeQ,gBAAAA,EAAkBA;;AAC3C;;;;"}
@@ -0,0 +1,37 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import dynamic from 'next/dynamic';
3
+ import 'react';
4
+ import { LoadingOverlay } from '@mantine/core';
5
+
6
+ // Wrapper function for displaying loading element before GqlQueryEditor renders
7
+ const GqlQueryEditor = dynamic(()=>import('./index-DJsCP8v-.js').then(function (n) { return n.cX; }), {
8
+ loading: ()=>/*#__PURE__*/ jsx(LoadingOverlay, {
9
+ visible: true
10
+ }),
11
+ ssr: false
12
+ });
13
+ /**
14
+ * Represents the QueryPanel component responsible for rendering a GraphQL query editor.
15
+ *
16
+ * @param {QueryPanelConfiguration} config - The configuration object for the QueryPanel.
17
+ * @param {Array<{ url: string, label: string }>} [config.graphQLEndpoints=[{ url: 'guppy/graphql', label: 'Flat' }]]
18
+ * An array of GraphQL endpoint objects. Each endpoint object contains the following:
19
+ * - `url` (string): The URL of the GraphQL endpoint. Note this should only be the Gen3 service path (e.g., 'guppy/graphql').
20
+ * - `label` (string): A label for the GraphQL endpoint.
21
+ *
22
+ * @returns {React.Element} The rendered GraphQL query editor.
23
+ */ const QueryPanel = ({ graphQLEndpoints = [
24
+ {
25
+ url: 'guppy/graphql',
26
+ label: 'Flat'
27
+ }
28
+ ] })=>{
29
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
30
+ // @ts-ignore
31
+ return /*#__PURE__*/ jsx(GqlQueryEditor, {
32
+ graphQLEndpoints: graphQLEndpoints
33
+ });
34
+ };
35
+
36
+ export { QueryPanel as default };
37
+ //# sourceMappingURL=QueryPanel-D9ygSNMe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryPanel-D9ygSNMe.js","sources":["../../../src/features/Query/QueryPanel.tsx"],"sourcesContent":["import dynamic from 'next/dynamic';\nimport React from 'react';\nimport { LoadingOverlay } from '@mantine/core';\nimport type { QueryPanelConfiguration } from './types';\n\n// Wrapper function for displaying loading element before GqlQueryEditor renders\nconst GqlQueryEditor = dynamic(() => import('./GqlQueryEditor'), {\n loading: () => <LoadingOverlay visible={true} />,\n ssr: false,\n});\n\n/**\n * Represents the QueryPanel component responsible for rendering a GraphQL query editor.\n *\n * @param {QueryPanelConfiguration} config - The configuration object for the QueryPanel.\n * @param {Array<{ url: string, label: string }>} [config.graphQLEndpoints=[{ url: 'guppy/graphql', label: 'Flat' }]]\n * An array of GraphQL endpoint objects. Each endpoint object contains the following:\n * - `url` (string): The URL of the GraphQL endpoint. Note this should only be the Gen3 service path (e.g., 'guppy/graphql').\n * - `label` (string): A label for the GraphQL endpoint.\n *\n * @returns {React.Element} The rendered GraphQL query editor.\n */\n\nconst QueryPanel = ({\n graphQLEndpoints = [{ url: 'guppy/graphql', label: 'Flat' }],\n}: QueryPanelConfiguration) => {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n return <GqlQueryEditor graphQLEndpoints={graphQLEndpoints} />;\n};\n\nexport default QueryPanel;\n"],"names":["GqlQueryEditor","dynamic","loading","_jsx","LoadingOverlay","visible","ssr","QueryPanel","graphQLEndpoints","url","label"],"mappings":";;;;;AAKA;AACA,MAAMA,cAAAA,GAAiBC,OAAAA,CAAQ,IAAM,OAAO,qBAAA,qCAAA,EAAqB;AAC/DC,IAAAA,OAAAA,EAAS,kBAAMC,GAAA,CAACC,cAAAA,EAAAA;YAAeC,OAAAA,EAAS;;IACxCC,GAAAA,EAAK;AACP,CAAA,CAAA;AAEA;;;;;;;;;;AAUC,IAED,MAAMC,UAAAA,GAAa,CAAC,EAClBC,gBAAAA,GAAmB;AAAC,IAAA;QAAEC,GAAAA,EAAK,eAAA;QAAiBC,KAAAA,EAAO;AAAO;CAAE,EACpC,GAAA;;;AAGxB,IAAA,qBAAOP,GAAA,CAACH,cAAAA,EAAAA;QAAeQ,gBAAAA,EAAkBA;;AAC3C;;;;"}