@gen3/frontend 0.12.62 → 0.12.63

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 (40) hide show
  1. package/dist/dts/components/Providers/Gen3Provider.d.ts +7 -7
  2. package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts +22 -22
  3. package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.d.ts +1 -1
  4. package/dist/dts/features/Navigation/Footer/Footer.d.ts +1 -1
  5. package/dist/dts/features/Navigation/Footer/Footer.d.ts.map +1 -1
  6. package/dist/dts/features/Navigation/Footer/Footer.js +6 -4
  7. package/dist/dts/features/Navigation/Footer/Footer.js.map +1 -1
  8. package/dist/dts/features/Navigation/Footer/Footer.stories.d.ts.map +1 -1
  9. package/dist/dts/features/Navigation/Footer/Footer.stories.js +1 -0
  10. package/dist/dts/features/Navigation/Footer/Footer.stories.js.map +1 -1
  11. package/dist/dts/features/Navigation/Footer/types.d.ts +7 -10
  12. package/dist/dts/features/Navigation/Footer/types.d.ts.map +1 -1
  13. package/dist/index/cjs/QueryPanel-BkZX0-_P.js +43 -0
  14. package/dist/index/cjs/QueryPanel-BkZX0-_P.js.map +1 -0
  15. package/dist/index/cjs/index-B0unKps0.js +42005 -0
  16. package/dist/index/cjs/index-B0unKps0.js.map +1 -0
  17. package/dist/index/cjs/index.js +1 -1
  18. package/dist/index/esm/QueryPanel-fMsXRgg4.js +37 -0
  19. package/dist/index/esm/QueryPanel-fMsXRgg4.js.map +1 -0
  20. package/dist/index/esm/index-DY7tWl1F.js +41718 -0
  21. package/dist/index/esm/index-DY7tWl1F.js.map +1 -0
  22. package/dist/index/esm/index.js +1 -1
  23. package/dist/index.d.ts +14 -24
  24. package/dist/pages/cjs/CohortBuilder-iRUJA2S8.js +576 -0
  25. package/dist/pages/cjs/CohortBuilder-iRUJA2S8.js.map +1 -0
  26. package/dist/pages/cjs/QueryPanel-BoWM9SCp.js +43 -0
  27. package/dist/pages/cjs/QueryPanel-BoWM9SCp.js.map +1 -0
  28. package/dist/pages/cjs/index-pY4GejhP.js +32387 -0
  29. package/dist/pages/cjs/index-pY4GejhP.js.map +1 -0
  30. package/dist/pages/cjs/index.js +1 -1
  31. package/dist/pages/esm/CohortBuilder-CmQMmWfA.js +573 -0
  32. package/dist/pages/esm/CohortBuilder-CmQMmWfA.js.map +1 -0
  33. package/dist/pages/esm/QueryPanel-D5wm96P3.js +37 -0
  34. package/dist/pages/esm/QueryPanel-D5wm96P3.js.map +1 -0
  35. package/dist/pages/esm/index-CcQqYrhI.js +32277 -0
  36. package/dist/pages/esm/index-CcQqYrhI.js.map +1 -0
  37. package/dist/pages/esm/index.js +1 -1
  38. package/dist/pages.d.ts +7 -17
  39. package/package.json +4 -5
  40. package/LICENSE +0 -201
@@ -87,8 +87,8 @@ export declare const createMantineTheme: (fonts: Fonts, colors: Record<string, T
87
87
  } | undefined;
88
88
  radius?: {
89
89
  [x: string & {}]: string | undefined;
90
- xs?: string | undefined;
91
90
  sm?: string | undefined;
91
+ xs?: string | undefined;
92
92
  md?: string | undefined;
93
93
  lg?: string | undefined;
94
94
  xl?: string | undefined;
@@ -97,24 +97,24 @@ export declare const createMantineTheme: (fonts: Fonts, colors: Record<string, T
97
97
  spacing?: {
98
98
  [x: number]: string | undefined;
99
99
  [x: string & {}]: string | undefined;
100
- xs?: string | undefined;
101
100
  sm?: string | undefined;
101
+ xs?: string | undefined;
102
102
  md?: string | undefined;
103
103
  lg?: string | undefined;
104
104
  xl?: string | undefined;
105
105
  } | undefined;
106
106
  fontSizes?: {
107
107
  [x: string & {}]: string | undefined;
108
- xs?: string | undefined;
109
108
  sm?: string | undefined;
109
+ xs?: string | undefined;
110
110
  md?: string | undefined;
111
111
  lg?: string | undefined;
112
112
  xl?: string | undefined;
113
113
  } | undefined;
114
114
  lineHeights?: {
115
115
  [x: string & {}]: string | undefined;
116
- xs?: string | undefined;
117
116
  sm?: string | undefined;
117
+ xs?: string | undefined;
118
118
  md?: string | undefined;
119
119
  lg?: string | undefined;
120
120
  xl?: string | undefined;
@@ -127,22 +127,22 @@ export declare const createMantineTheme: (fonts: Fonts, colors: Record<string, T
127
127
  } | undefined;
128
128
  breakpoints?: {
129
129
  [x: string & {}]: string | undefined;
130
- xs?: string | undefined;
131
130
  sm?: string | undefined;
131
+ xs?: string | undefined;
132
132
  md?: string | undefined;
133
133
  lg?: string | undefined;
134
134
  xl?: string | undefined;
135
135
  } | undefined;
136
136
  shadows?: {
137
137
  [x: string & {}]: string | undefined;
138
- xs?: string | undefined;
139
138
  sm?: string | undefined;
139
+ xs?: string | undefined;
140
140
  md?: string | undefined;
141
141
  lg?: string | undefined;
142
142
  xl?: string | undefined;
143
143
  } | undefined;
144
144
  respectReducedMotion?: boolean | undefined;
145
- cursorType?: "default" | "pointer" | undefined;
145
+ cursorType?: "pointer" | "default" | undefined;
146
146
  defaultGradient?: {
147
147
  from?: string | undefined;
148
148
  to?: string | undefined;
@@ -2,58 +2,58 @@ import React from 'react';
2
2
  import type { StoryObj } from '@storybook/nextjs';
3
3
  declare const meta: {
4
4
  component: React.FC<{
5
- type?: string | undefined;
6
5
  classNames?: import("../..").StylingOverrideWithMergeControl | undefined;
6
+ type?: string | undefined;
7
7
  title: string;
8
8
  height?: string | undefined;
9
- icon?: (string | React.ReactElement) | undefined;
10
- href: string;
11
9
  description: string;
10
+ href: string;
12
11
  count?: number | undefined;
13
- loginRequired: boolean;
14
- tags?: Array<string> | undefined;
15
- onButtonClick?: import("./types").AnalysisCardSelectionFunction | undefined;
12
+ icon?: (string | React.ReactElement) | undefined;
13
+ readonly rightComponent?: React.FC | undefined;
14
+ readonly selectionScreen?: React.FC | undefined;
16
15
  hasDemo?: boolean | undefined;
16
+ loginRequired: boolean;
17
17
  demoHref?: string | undefined;
18
- btnText?: string | undefined;
19
18
  appId?: string | undefined;
20
- noDataTooltip?: string | undefined;
21
- hideCounts?: boolean | undefined;
22
19
  componentName?: string | undefined;
23
20
  countFunction?: (() => string) | undefined;
24
21
  countIndex?: string | undefined;
25
22
  countUnits?: string | undefined;
23
+ hideCounts?: boolean | undefined;
24
+ noDataTooltip?: string | undefined;
26
25
  cardType?: "regular" | "compact" | undefined;
26
+ btnText?: string | undefined;
27
+ onButtonClick?: import("./types").AnalysisCardSelectionFunction | undefined;
28
+ tags?: Array<string> | undefined;
27
29
  readonly leftComponent?: React.FC | undefined;
28
- readonly rightComponent?: React.FC | undefined;
29
- readonly selectionScreen?: React.FC | undefined;
30
30
  }>;
31
31
  decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
32
- type?: string | undefined;
33
32
  classNames?: import("../..").StylingOverrideWithMergeControl | undefined;
33
+ type?: string | undefined;
34
34
  title: string;
35
35
  height?: string | undefined;
36
- icon?: (string | React.ReactElement) | undefined;
37
- href: string;
38
36
  description: string;
37
+ href: string;
39
38
  count?: number | undefined;
40
- loginRequired: boolean;
41
- tags?: Array<string> | undefined;
42
- onButtonClick?: import("./types").AnalysisCardSelectionFunction | undefined;
39
+ icon?: (string | React.ReactElement) | undefined;
40
+ readonly rightComponent?: React.FC | undefined;
41
+ readonly selectionScreen?: React.FC | undefined;
43
42
  hasDemo?: boolean | undefined;
43
+ loginRequired: boolean;
44
44
  demoHref?: string | undefined;
45
- btnText?: string | undefined;
46
45
  appId?: string | undefined;
47
- noDataTooltip?: string | undefined;
48
- hideCounts?: boolean | undefined;
49
46
  componentName?: string | undefined;
50
47
  countFunction?: (() => string) | undefined;
51
48
  countIndex?: string | undefined;
52
49
  countUnits?: string | undefined;
50
+ hideCounts?: boolean | undefined;
51
+ noDataTooltip?: string | undefined;
53
52
  cardType?: "regular" | "compact" | undefined;
53
+ btnText?: string | undefined;
54
+ onButtonClick?: import("./types").AnalysisCardSelectionFunction | undefined;
55
+ tags?: Array<string> | undefined;
54
56
  readonly leftComponent?: React.FC | undefined;
55
- readonly rightComponent?: React.FC | undefined;
56
- readonly selectionScreen?: React.FC | undefined;
57
57
  }>) => React.JSX.Element)[];
58
58
  };
59
59
  export default meta;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { JSONObject } from '@gen3/core';
3
3
  import { CellRendererFunction, CellRendererFunctionProps } from './types';
4
- export declare const ArrayCellRenderer: (cellRenderFunction: CellRendererFunction, props: CellRendererFunctionProps<JSONObject>, ...args: any[]) => string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.JSX.Element | null | undefined;
4
+ export declare const ArrayCellRenderer: (cellRenderFunction: CellRendererFunction, props: CellRendererFunctionProps<JSONObject>, ...args: any[]) => string | number | bigint | boolean | React.JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined;
5
5
  //# sourceMappingURL=ArrayCellRenderer.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { FooterProps } from './types';
2
+ import type { FooterProps } from './types';
3
3
  declare const Footer: React.ForwardRefExoticComponent<FooterProps & React.RefAttributes<HTMLElement>>;
4
4
  export default Footer;
5
5
  //# sourceMappingURL=Footer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../../../src/features/Navigation/Footer/Footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAetC,QAAA,MAAM,MAAM,iFAkCX,CAAC;AAIF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../../../src/features/Navigation/Footer/Footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAmB3C,QAAA,MAAM,MAAM,iFAuDX,CAAC;AAIF,eAAe,MAAM,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from 'react';
3
- import { Transition } from '@mantine/core';
3
+ import { Text, Transition } from '@mantine/core';
4
4
  import { extractClassName } from '../utils';
5
5
  import { mergeDefaultTailwindClassnames } from '../../../utils/mergeDefaultTailwindClassnames';
6
6
  import FooterSection from './FooterColumn';
@@ -11,15 +11,17 @@ const scaleY = {
11
11
  transitionProperty: 'transform, opacity',
12
12
  };
13
13
  const STYLING_DEFAULTS = {
14
- root: 'bg-primary-lighter text-primary-contrast p-4 shadow-sm',
14
+ root: 'bg-primary-lighter text-primary-contrast-lighter p-4 shadow-sm',
15
15
  layout: 'flex items-center justify-between',
16
+ version: 'flex justify-start items-center gap-x-2 text-primary-contrast-lighter',
16
17
  };
17
- const Footer = React.forwardRef(({ rightSection, leftSection, classNames = {}, hideFooter = false }, ref) => {
18
+ const GEN3_VERSION = process.env.NEXT_PUBLIC_GEN3_VERSION;
19
+ const Footer = React.forwardRef(({ rightSection, leftSection, classNames = {}, hideFooter = false, showVersion = true, }, ref) => {
18
20
  const mergedClassNames = mergeDefaultTailwindClassnames(STYLING_DEFAULTS, classNames);
19
21
  if (hideFooter) {
20
22
  return null;
21
23
  }
22
- return (_jsx("footer", { ref: ref, children: _jsx(Transition, { mounted: !hideFooter, transition: scaleY, duration: 1000, timingFunction: "ease", keepMounted: true, children: (transitionStyle) => (_jsx("div", { style: transitionStyle, children: _jsx("div", { className: extractClassName('root', mergedClassNames), children: _jsxs("div", { className: extractClassName('layout', mergedClassNames), children: [leftSection && _jsx(FooterSection, { ...leftSection }), rightSection && _jsx(FooterSection, { ...rightSection })] }) }) })) }) }));
24
+ return (_jsx("footer", { ref: ref, children: _jsx(Transition, { mounted: !hideFooter, transition: scaleY, duration: 1000, timingFunction: "ease", keepMounted: true, children: (transitionStyle) => (_jsx("div", { style: transitionStyle, children: _jsx("div", { className: extractClassName('root', mergedClassNames), children: _jsxs("div", { className: "flex flex-col", children: [_jsxs("div", { className: extractClassName('layout', mergedClassNames), children: [leftSection && _jsx(FooterSection, { ...leftSection }), rightSection && _jsx(FooterSection, { ...rightSection })] }), GEN3_VERSION && showVersion ? (_jsxs("div", { className: extractClassName('version', mergedClassNames), children: [_jsx(Text, { size: "0.625rem", children: "UI" }), _jsxs(Text, { size: "0.625rem", fw: 600, children: ["v", GEN3_VERSION] })] })) : null] }) }) })) }) }));
23
25
  });
24
26
  Footer.displayName = 'Footer';
25
27
  export default Footer;
@@ -1 +1 @@
1
- {"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../../../../src/features/Navigation/Footer/Footer.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AAE/F,OAAO,aAAa,MAAM,gBAAgB,CAAC;AAE3C,MAAM,MAAM,GAAG;IACb,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE;IAC1C,GAAG,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE;IAC3C,MAAM,EAAE,EAAE,eAAe,EAAE,QAAQ,EAAE;IACrC,kBAAkB,EAAE,oBAAoB;CACzC,CAAC;AAEF,MAAM,gBAAgB,GAAG;IACvB,IAAI,EAAE,wDAAwD;IAC9D,MAAM,EAAE,mCAAmC;CAC5C,CAAC;AAEF,MAAM,MAAM,GAAG,KAAK,CAAC,UAAU,CAC7B,CAAC,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,GAAG,EAAE,EAAE,UAAU,GAAG,KAAK,EAAE,EAAE,GAAG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C,IAAI,EAAC,UAAU,mBAAU,EAC/B,MAAC,IAAI,IAAC,IAAI,EAAC,UAAU,EAAC,EAAE,EAAE,GAAG,kBACzB,YAAY,IACT,IACH,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,GACF,GACF,CACP,GACU,GACN,CACV,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,WAAW,GAAG,QAAQ,CAAC;AAE9B,eAAe,MAAM,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Footer.stories.d.ts","sourceRoot":"","sources":["../../../../../src/features/Navigation/Footer/Footer.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAIxD,QAAA,MAAM,IAAI;;;;;;;;CAMqB,CAAC;AAEhC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAmCrB,CAAC"}
1
+ {"version":3,"file":"Footer.stories.d.ts","sourceRoot":"","sources":["../../../../../src/features/Navigation/Footer/Footer.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAIxD,QAAA,MAAM,IAAI;;;;;;;;CAMqB,CAAC;AAEhC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAoCrB,CAAC"}
@@ -12,6 +12,7 @@ export const Default = {
12
12
  classNames: {
13
13
  root: 'bg-base-min',
14
14
  layout: 'flex items-center justify-end',
15
+ version: 'text-primary-contrast-lighter',
15
16
  },
16
17
  rightSection: {
17
18
  columns: [
@@ -1 +1 @@
1
- {"version":3,"file":"Footer.stories.js","sourceRoot":"","sources":["../../../../../src/features/Navigation/Footer/Footer.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,MAAM,IAAI,GAAG;IACX,SAAS,EAAE,MAAM;IACjB,KAAK,EAAE,4BAA4B;IACnC,UAAU,EAAE;QACV,YAAY,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAChC;CAC4B,CAAC;AAEhC,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,UAAU,EAAE;YACV,IAAI,EAAE,aAAa;YACnB,MAAM,EAAE,+BAA+B;SACxC;QACD,YAAY,EAAE;YACZ,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE;wBACJ;4BACE,IAAI,EAAE;gCACJ,IAAI,EAAE,iBAAiB;gCACvB,KAAK,EAAE,GAAG;gCACV,MAAM,EAAE,EAAE;gCACV,WAAW,EAAE,WAAW;6BACzB;yBACF;qBACF;iBACF;gBACD;oBACE,IAAI,EAAE;wBACJ;4BACE,IAAI,EAAE;gCACJ,IAAI,EAAE,sBAAsB;gCAC5B,KAAK,EAAE,GAAG;gCACV,MAAM,EAAE,EAAE;gCACV,WAAW,EAAE,iBAAiB;6BAC/B;yBACF;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAC"}
1
+ {"version":3,"file":"Footer.stories.js","sourceRoot":"","sources":["../../../../../src/features/Navigation/Footer/Footer.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,MAAM,IAAI,GAAG;IACX,SAAS,EAAE,MAAM;IACjB,KAAK,EAAE,4BAA4B;IACnC,UAAU,EAAE;QACV,YAAY,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAChC;CAC4B,CAAC;AAEhC,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,UAAU,EAAE;YACV,IAAI,EAAE,aAAa;YACnB,MAAM,EAAE,+BAA+B;YACvC,OAAO,EAAE,+BAA+B;SACzC;QACD,YAAY,EAAE;YACZ,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE;wBACJ;4BACE,IAAI,EAAE;gCACJ,IAAI,EAAE,iBAAiB;gCACvB,KAAK,EAAE,GAAG;gCACV,MAAM,EAAE,EAAE;gCACV,WAAW,EAAE,WAAW;6BACzB;yBACF;qBACF;iBACF;gBACD;oBACE,IAAI,EAAE;wBACJ;4BACE,IAAI,EAAE;gCACJ,IAAI,EAAE,sBAAsB;gCAC5B,KAAK,EAAE,GAAG;gCACV,MAAM,EAAE,EAAE;gCACV,WAAW,EAAE,iBAAiB;6BAC/B;yBACF;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAC"}
@@ -8,10 +8,6 @@ export interface ColumnLinks {
8
8
  linkType?: 'gen3ff' | 'portal';
9
9
  }>;
10
10
  }
11
- interface BottomLinks {
12
- text: string;
13
- href: string;
14
- }
15
11
  /**
16
12
  * A Text items for the footer
17
13
  *
@@ -50,16 +46,17 @@ export interface FooterSectionProps {
50
46
  columns?: ReadonlyArray<FooterColumnProps>;
51
47
  className?: string;
52
48
  }
49
+ export type FooterClassnames = StylingOverrideWithMergeControl & {
50
+ root: string;
51
+ layout: string;
52
+ version: string;
53
+ };
53
54
  export interface FooterProps {
54
- bottomLinks?: ReadonlyArray<BottomLinks>;
55
- columnLinks?: ReadonlyArray<ColumnLinks>;
56
- footerLogos?: ReadonlyArray<FooterLogo>;
57
- footerRightLogos?: ReadonlyArray<FooterLogo>;
58
55
  rightSection?: FooterSectionProps;
59
56
  leftSection?: FooterSectionProps;
60
- classNames?: StylingOverrideWithMergeControl;
57
+ classNames?: FooterClassnames;
61
58
  customFooter?: ReactElement;
62
59
  hideFooter?: boolean;
60
+ showVersion?: boolean;
63
61
  }
64
- export {};
65
62
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/features/Navigation/Footer/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY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C,EAAE,gBAAgB,CAAC;IAC9B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
@@ -0,0 +1,43 @@
1
+ 'use strict';
2
+
3
+ var jsxRuntime = require('react/jsx-runtime');
4
+ var dynamic = require('next/dynamic');
5
+ require('react');
6
+ var core = require('@mantine/core');
7
+
8
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
9
+
10
+ var dynamic__default = /*#__PURE__*/_interopDefault(dynamic);
11
+
12
+ // Wrapper function for displaying loading element before GqlQueryEditor renders
13
+ const GqlQueryEditor = dynamic__default.default(()=>Promise.resolve().then(function () { return require('./index-B0unKps0.js'); }).then(function (n) { return n.GqlQueryEditor$1; }), {
14
+ loading: ()=>/*#__PURE__*/ jsxRuntime.jsx(core.LoadingOverlay, {
15
+ visible: true
16
+ }),
17
+ ssr: false
18
+ });
19
+ /**
20
+ * Represents the QueryPanel component responsible for rendering a GraphQL query editor.
21
+ *
22
+ * @param {QueryPanelConfiguration} config - The configuration object for the QueryPanel.
23
+ * @param {Array<{ url: string, label: string }>} [config.graphQLEndpoints=[{ url: 'guppy/graphql', label: 'Flat' }]]
24
+ * An array of GraphQL endpoint objects. Each endpoint object contains the following:
25
+ * - `url` (string): The URL of the GraphQL endpoint. Note this should only be the Gen3 service path (e.g., 'guppy/graphql').
26
+ * - `label` (string): A label for the GraphQL endpoint.
27
+ *
28
+ * @returns {React.Element} The rendered GraphQL query editor.
29
+ */ const QueryPanel = ({ graphQLEndpoints = [
30
+ {
31
+ url: 'guppy/graphql',
32
+ label: 'Flat'
33
+ }
34
+ ] })=>{
35
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
36
+ // @ts-ignore
37
+ return /*#__PURE__*/ jsxRuntime.jsx(GqlQueryEditor, {
38
+ graphQLEndpoints: graphQLEndpoints
39
+ });
40
+ };
41
+
42
+ exports.default = QueryPanel;
43
+ //# sourceMappingURL=QueryPanel-BkZX0-_P.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryPanel-BkZX0-_P.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,wBAAAA,CAAQ,IAAM,oDAAO,qBAAA,uDAAA,EAAqB;AAC/DC,IAAAA,OAAAA,EAAS,kBAAMC,cAAA,CAACC,mBAAAA,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,cAAA,CAACH,cAAAA,EAAAA;QAAeQ,gBAAAA,EAAkBA;;AAC3C;;;;"}