@graphiql/plugin-query-builder 1.0.0-beta.1 → 1.0.0-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/LICENSE +21 -0
- package/dist/components/arg-input/arg-input-by-type.js +441 -444
- package/dist/components/arg-input/arg-input-by-type.js.map +1 -1
- package/dist/components/arg-input/enum-arg-control.js +49 -52
- package/dist/components/arg-input/enum-arg-control.js.map +1 -1
- package/dist/components/arg-input/index.js +44 -36
- package/dist/components/arg-input/index.js.map +1 -1
- package/dist/components/arg-input/scalar-arg-control.js +58 -63
- package/dist/components/arg-input/scalar-arg-control.js.map +1 -1
- package/dist/components/field-row.js +212 -197
- package/dist/components/field-row.js.map +1 -1
- package/dist/components/field-tree-context.js +23 -27
- package/dist/components/field-tree-context.js.map +1 -1
- package/dist/components/field-tree-node.js +128 -105
- package/dist/components/field-tree-node.js.map +1 -1
- package/dist/components/field-tree.js +178 -199
- package/dist/components/field-tree.js.map +1 -1
- package/dist/components/fragment-editor.js +157 -151
- package/dist/components/fragment-editor.js.map +1 -1
- package/dist/components/fragment-section.js +215 -203
- package/dist/components/fragment-section.js.map +1 -1
- package/dist/components/query-builder.js +205 -181
- package/dist/components/query-builder.js.map +1 -1
- package/dist/components/type-condition-selector.js +417 -462
- package/dist/components/type-condition-selector.js.map +1 -1
- package/dist/components/use-cursor-path.js +69 -70
- package/dist/components/use-cursor-path.js.map +1 -1
- package/dist/components/use-cursor-reveal.js +83 -89
- package/dist/components/use-cursor-reveal.js.map +1 -1
- package/dist/components/use-working-document.js +432 -527
- package/dist/components/use-working-document.js.map +1 -1
- package/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/dist/lib/arg-value.js +132 -139
- package/dist/lib/arg-value.js.map +1 -1
- package/dist/lib/arguments.js +54 -55
- package/dist/lib/arguments.js.map +1 -1
- package/dist/lib/ast-path.js +266 -291
- package/dist/lib/ast-path.js.map +1 -1
- package/dist/lib/field-list-view.js +33 -43
- package/dist/lib/field-list-view.js.map +1 -1
- package/dist/lib/field-selection.js +63 -67
- package/dist/lib/field-selection.js.map +1 -1
- package/dist/lib/fragments.js +166 -152
- package/dist/lib/fragments.js.map +1 -1
- package/dist/lib/inline-fragments.js +64 -62
- package/dist/lib/inline-fragments.js.map +1 -1
- package/dist/lib/schema-walk.js +141 -158
- package/dist/lib/schema-walk.js.map +1 -1
- package/dist/lib/variables.js +96 -90
- package/dist/lib/variables.js.map +1 -1
- package/dist/style.css +4 -22
- package/package.json +21 -18
|
@@ -1,154 +1,160 @@
|
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { c } from "react-compiler-runtime";
|
|
3
|
-
import { ChevronLeftIcon } from "@graphiql/react";
|
|
4
|
-
import { Kind, isObjectType, isInterfaceType } from "graphql";
|
|
5
1
|
import { findDefinition } from "../lib/ast-path.js";
|
|
6
2
|
import { FieldTree } from "./field-tree.js";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
3
|
+
import { ChevronLeftIcon } from "@graphiql/react";
|
|
4
|
+
import { c } from "react-compiler-runtime";
|
|
5
|
+
import { Kind, isInterfaceType, isObjectType } from "graphql";
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
//#region src/components/fragment-editor.tsx
|
|
8
|
+
/**
|
|
9
|
+
* The focused view for editing one named fragment. The tree is rooted at the
|
|
10
|
+
* fragment's type condition, so ticking fields edits the fragment itself (and,
|
|
11
|
+
* with it, every field that spreads it). "Back to query" returns to the
|
|
12
|
+
* operation.
|
|
13
|
+
*/
|
|
14
|
+
var FragmentEditor = (t0) => {
|
|
15
|
+
const $ = c(38);
|
|
16
|
+
const { fragmentName, doc, schema, target, cursorPath, onBack, onToggle, onSetArg, onAddInlineFragment, onRemoveInlineFragment, onRemoveFragmentSpread, onExtractFragment, onRenameFragment, onFocusFragment } = t0;
|
|
17
|
+
let rootType;
|
|
18
|
+
let t1;
|
|
19
|
+
let typeName;
|
|
20
|
+
if ($[0] !== doc || $[1] !== schema || $[2] !== target) {
|
|
21
|
+
const definition = findDefinition(doc, target);
|
|
22
|
+
typeName = definition?.kind === Kind.FRAGMENT_DEFINITION ? definition.typeCondition.name.value : void 0;
|
|
23
|
+
rootType = typeName ? schema.getType(typeName) : void 0;
|
|
24
|
+
t1 = rootType != null && (isObjectType(rootType) || isInterfaceType(rootType));
|
|
25
|
+
$[0] = doc;
|
|
26
|
+
$[1] = schema;
|
|
27
|
+
$[2] = target;
|
|
28
|
+
$[3] = rootType;
|
|
29
|
+
$[4] = t1;
|
|
30
|
+
$[5] = typeName;
|
|
31
|
+
} else {
|
|
32
|
+
rootType = $[3];
|
|
33
|
+
t1 = $[4];
|
|
34
|
+
typeName = $[5];
|
|
35
|
+
}
|
|
36
|
+
const editable = t1;
|
|
37
|
+
let t2;
|
|
38
|
+
let t3;
|
|
39
|
+
if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
|
|
40
|
+
t2 = /* @__PURE__ */ jsx(ChevronLeftIcon, {});
|
|
41
|
+
t3 = /* @__PURE__ */ jsx("span", { children: "Back to query" });
|
|
42
|
+
$[6] = t2;
|
|
43
|
+
$[7] = t3;
|
|
44
|
+
} else {
|
|
45
|
+
t2 = $[6];
|
|
46
|
+
t3 = $[7];
|
|
47
|
+
}
|
|
48
|
+
let t4;
|
|
49
|
+
if ($[8] !== onBack) {
|
|
50
|
+
t4 = /* @__PURE__ */ jsxs("button", {
|
|
51
|
+
type: "button",
|
|
52
|
+
className: "graphiql-qb-fragment-back",
|
|
53
|
+
onClick: onBack,
|
|
54
|
+
"aria-label": "Back to query",
|
|
55
|
+
children: [t2, t3]
|
|
56
|
+
});
|
|
57
|
+
$[8] = onBack;
|
|
58
|
+
$[9] = t4;
|
|
59
|
+
} else t4 = $[9];
|
|
60
|
+
let t5;
|
|
61
|
+
if ($[10] !== fragmentName) {
|
|
62
|
+
t5 = /* @__PURE__ */ jsxs("span", {
|
|
63
|
+
className: "graphiql-qb-fragment-editor-heading",
|
|
64
|
+
children: [
|
|
65
|
+
"Editing",
|
|
66
|
+
" ",
|
|
67
|
+
/* @__PURE__ */ jsx("span", {
|
|
68
|
+
className: "graphiql-qb-fragment-editor-name",
|
|
69
|
+
children: fragmentName
|
|
70
|
+
}),
|
|
71
|
+
" ",
|
|
72
|
+
"fragment"
|
|
73
|
+
]
|
|
74
|
+
});
|
|
75
|
+
$[10] = fragmentName;
|
|
76
|
+
$[11] = t5;
|
|
77
|
+
} else t5 = $[11];
|
|
78
|
+
let t6;
|
|
79
|
+
if ($[12] !== typeName) {
|
|
80
|
+
t6 = typeName && /* @__PURE__ */ jsxs("span", {
|
|
81
|
+
className: "graphiql-qb-fragment-editor-type",
|
|
82
|
+
children: ["on ", typeName]
|
|
83
|
+
});
|
|
84
|
+
$[12] = typeName;
|
|
85
|
+
$[13] = t6;
|
|
86
|
+
} else t6 = $[13];
|
|
87
|
+
let t7;
|
|
88
|
+
if ($[14] !== t5 || $[15] !== t6) {
|
|
89
|
+
t7 = /* @__PURE__ */ jsxs("div", {
|
|
90
|
+
className: "graphiql-qb-fragment-editor-title",
|
|
91
|
+
children: [t5, t6]
|
|
92
|
+
});
|
|
93
|
+
$[14] = t5;
|
|
94
|
+
$[15] = t6;
|
|
95
|
+
$[16] = t7;
|
|
96
|
+
} else t7 = $[16];
|
|
97
|
+
let t8;
|
|
98
|
+
if ($[17] !== t4 || $[18] !== t7) {
|
|
99
|
+
t8 = /* @__PURE__ */ jsxs("div", {
|
|
100
|
+
className: "graphiql-qb-fragment-editor-header",
|
|
101
|
+
children: [t4, t7]
|
|
102
|
+
});
|
|
103
|
+
$[17] = t4;
|
|
104
|
+
$[18] = t7;
|
|
105
|
+
$[19] = t8;
|
|
106
|
+
} else t8 = $[19];
|
|
107
|
+
let t9;
|
|
108
|
+
if ($[20] !== cursorPath || $[21] !== doc || $[22] !== editable || $[23] !== onAddInlineFragment || $[24] !== onExtractFragment || $[25] !== onFocusFragment || $[26] !== onRemoveFragmentSpread || $[27] !== onRemoveInlineFragment || $[28] !== onRenameFragment || $[29] !== onSetArg || $[30] !== onToggle || $[31] !== rootType || $[32] !== schema || $[33] !== target) {
|
|
109
|
+
t9 = editable ? /* @__PURE__ */ jsx(FieldTree, {
|
|
110
|
+
type: rootType,
|
|
111
|
+
path: [],
|
|
112
|
+
doc,
|
|
113
|
+
schema,
|
|
114
|
+
target,
|
|
115
|
+
cursorPath,
|
|
116
|
+
onToggle,
|
|
117
|
+
onSetArg,
|
|
118
|
+
onAddInlineFragment,
|
|
119
|
+
onRemoveInlineFragment,
|
|
120
|
+
onRemoveFragmentSpread,
|
|
121
|
+
onExtractFragment,
|
|
122
|
+
onRenameFragment,
|
|
123
|
+
onFocusFragment
|
|
124
|
+
}) : /* @__PURE__ */ jsx("p", {
|
|
125
|
+
className: "graphiql-qb-empty",
|
|
126
|
+
children: "This fragment’s type has no editable fields."
|
|
127
|
+
});
|
|
128
|
+
$[20] = cursorPath;
|
|
129
|
+
$[21] = doc;
|
|
130
|
+
$[22] = editable;
|
|
131
|
+
$[23] = onAddInlineFragment;
|
|
132
|
+
$[24] = onExtractFragment;
|
|
133
|
+
$[25] = onFocusFragment;
|
|
134
|
+
$[26] = onRemoveFragmentSpread;
|
|
135
|
+
$[27] = onRemoveInlineFragment;
|
|
136
|
+
$[28] = onRenameFragment;
|
|
137
|
+
$[29] = onSetArg;
|
|
138
|
+
$[30] = onToggle;
|
|
139
|
+
$[31] = rootType;
|
|
140
|
+
$[32] = schema;
|
|
141
|
+
$[33] = target;
|
|
142
|
+
$[34] = t9;
|
|
143
|
+
} else t9 = $[34];
|
|
144
|
+
let t10;
|
|
145
|
+
if ($[35] !== t8 || $[36] !== t9) {
|
|
146
|
+
t10 = /* @__PURE__ */ jsxs("section", {
|
|
147
|
+
className: "graphiql-qb-fragment-editor",
|
|
148
|
+
"aria-label": "Fragment editor",
|
|
149
|
+
children: [t8, t9]
|
|
150
|
+
});
|
|
151
|
+
$[35] = t8;
|
|
152
|
+
$[36] = t9;
|
|
153
|
+
$[37] = t10;
|
|
154
|
+
} else t10 = $[37];
|
|
155
|
+
return t10;
|
|
153
156
|
};
|
|
154
|
-
//#
|
|
157
|
+
//#endregion
|
|
158
|
+
export { FragmentEditor };
|
|
159
|
+
|
|
160
|
+
//# sourceMappingURL=fragment-editor.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fragment-editor.js","sources":["../../src/components/fragment-editor.tsx"],"sourcesContent":["import { ChevronLeftIcon } from '@graphiql/react';\nimport {\n Kind,\n isInterfaceType,\n isObjectType,\n type DocumentNode,\n type GraphQLInterfaceType,\n type GraphQLObjectType,\n type GraphQLSchema,\n} from 'graphql';\nimport type { FC } from 'react';\nimport {\n findDefinition,\n type DefinitionTarget,\n type PathSegment,\n} from '../lib/ast-path';\nimport type { ArgValue } from '../lib/document-mutator';\nimport { FieldTree } from './field-tree';\n\ntype FragmentEditorProps = {\n fragmentName: string;\n doc: DocumentNode;\n schema: GraphQLSchema;\n target: DefinitionTarget;\n cursorPath?: PathSegment[];\n onBack: () => void;\n onToggle: (path: PathSegment[]) => void;\n onSetArg: (path: PathSegment[], argName: string, value: ArgValue) => void;\n onAddInlineFragment: (path: PathSegment[], typeName: string) => void;\n onRemoveInlineFragment: (path: PathSegment[], typeName: string) => void;\n onRemoveFragmentSpread: (path: PathSegment[], fragmentName: string) => void;\n onExtractFragment: (path: PathSegment[], typeName: string) => void;\n onRenameFragment: (oldName: string, newName: string) => void;\n onFocusFragment: (fragmentName: string) => void;\n};\n\n/**\n * The focused view for editing one named fragment. The tree is rooted at the\n * fragment's type condition, so ticking fields edits the fragment itself (and,\n * with it, every field that spreads it). \"Back to query\" returns to the\n * operation.\n */\nexport const FragmentEditor: FC<FragmentEditorProps> = ({\n fragmentName,\n doc,\n schema,\n target,\n cursorPath,\n onBack,\n onToggle,\n onSetArg,\n onAddInlineFragment,\n onRemoveInlineFragment,\n onRemoveFragmentSpread,\n onExtractFragment,\n onRenameFragment,\n onFocusFragment,\n}) => {\n const definition = findDefinition(doc, target);\n const typeName =\n definition?.kind === Kind.FRAGMENT_DEFINITION\n ? definition.typeCondition.name.value\n : undefined;\n const rootType = typeName ? schema.getType(typeName) : undefined;\n const editable =\n rootType != null && (isObjectType(rootType) || isInterfaceType(rootType));\n\n return (\n <section\n className=\"graphiql-qb-fragment-editor\"\n aria-label=\"Fragment editor\"\n >\n <div className=\"graphiql-qb-fragment-editor-header\">\n <button\n type=\"button\"\n className=\"graphiql-qb-fragment-back\"\n onClick={onBack}\n aria-label=\"Back to query\"\n >\n <ChevronLeftIcon />\n <span>Back to query</span>\n </button>\n <div className=\"graphiql-qb-fragment-editor-title\">\n <span className=\"graphiql-qb-fragment-editor-heading\">\n Editing{' '}\n <span className=\"graphiql-qb-fragment-editor-name\">\n {fragmentName}\n </span>{' '}\n fragment\n </span>\n {typeName && (\n <span className=\"graphiql-qb-fragment-editor-type\">\n on {typeName}\n </span>\n )}\n </div>\n </div>\n {editable ? (\n <FieldTree\n type={rootType as GraphQLObjectType | GraphQLInterfaceType}\n path={[]}\n doc={doc}\n schema={schema}\n target={target}\n cursorPath={cursorPath}\n onToggle={onToggle}\n onSetArg={onSetArg}\n onAddInlineFragment={onAddInlineFragment}\n onRemoveInlineFragment={onRemoveInlineFragment}\n onRemoveFragmentSpread={onRemoveFragmentSpread}\n onExtractFragment={onExtractFragment}\n onRenameFragment={onRenameFragment}\n onFocusFragment={onFocusFragment}\n />\n ) : (\n <p className=\"graphiql-qb-empty\">\n This fragment’s type has no editable fields.\n </p>\n )}\n </section>\n );\n};\n"],"
|
|
1
|
+
{"version":3,"file":"fragment-editor.js","names":["ChevronLeftIcon","Kind","isInterfaceType","isObjectType","DocumentNode","GraphQLInterfaceType","GraphQLObjectType","GraphQLSchema","FC","findDefinition","DefinitionTarget","PathSegment","ArgValue","FieldTree","FragmentEditorProps","fragmentName","doc","schema","target","cursorPath","onBack","onToggle","path","onSetArg","argName","value","onAddInlineFragment","typeName","onRemoveInlineFragment","onRemoveFragmentSpread","onExtractFragment","onRenameFragment","oldName","newName","onFocusFragment","FragmentEditor","t0","$","_c","rootType","t1","definition","kind","FRAGMENT_DEFINITION","typeCondition","name","undefined","getType","editable","t2","t3","Symbol","for","t4","t5","t6","t7","t8","t9","t10"],"sources":["../../src/components/fragment-editor.tsx"],"sourcesContent":["import { ChevronLeftIcon } from '@graphiql/react';\nimport {\n Kind,\n isInterfaceType,\n isObjectType,\n type DocumentNode,\n type GraphQLInterfaceType,\n type GraphQLObjectType,\n type GraphQLSchema,\n} from 'graphql';\nimport type { FC } from 'react';\nimport {\n findDefinition,\n type DefinitionTarget,\n type PathSegment,\n} from '../lib/ast-path';\nimport type { ArgValue } from '../lib/document-mutator';\nimport { FieldTree } from './field-tree';\n\ntype FragmentEditorProps = {\n fragmentName: string;\n doc: DocumentNode;\n schema: GraphQLSchema;\n target: DefinitionTarget;\n cursorPath?: PathSegment[];\n onBack: () => void;\n onToggle: (path: PathSegment[]) => void;\n onSetArg: (path: PathSegment[], argName: string, value: ArgValue) => void;\n onAddInlineFragment: (path: PathSegment[], typeName: string) => void;\n onRemoveInlineFragment: (path: PathSegment[], typeName: string) => void;\n onRemoveFragmentSpread: (path: PathSegment[], fragmentName: string) => void;\n onExtractFragment: (path: PathSegment[], typeName: string) => void;\n onRenameFragment: (oldName: string, newName: string) => void;\n onFocusFragment: (fragmentName: string) => void;\n};\n\n/**\n * The focused view for editing one named fragment. The tree is rooted at the\n * fragment's type condition, so ticking fields edits the fragment itself (and,\n * with it, every field that spreads it). \"Back to query\" returns to the\n * operation.\n */\nexport const FragmentEditor: FC<FragmentEditorProps> = ({\n fragmentName,\n doc,\n schema,\n target,\n cursorPath,\n onBack,\n onToggle,\n onSetArg,\n onAddInlineFragment,\n onRemoveInlineFragment,\n onRemoveFragmentSpread,\n onExtractFragment,\n onRenameFragment,\n onFocusFragment,\n}) => {\n const definition = findDefinition(doc, target);\n const typeName =\n definition?.kind === Kind.FRAGMENT_DEFINITION\n ? definition.typeCondition.name.value\n : undefined;\n const rootType = typeName ? schema.getType(typeName) : undefined;\n const editable =\n rootType != null && (isObjectType(rootType) || isInterfaceType(rootType));\n\n return (\n <section\n className=\"graphiql-qb-fragment-editor\"\n aria-label=\"Fragment editor\"\n >\n <div className=\"graphiql-qb-fragment-editor-header\">\n <button\n type=\"button\"\n className=\"graphiql-qb-fragment-back\"\n onClick={onBack}\n aria-label=\"Back to query\"\n >\n <ChevronLeftIcon />\n <span>Back to query</span>\n </button>\n <div className=\"graphiql-qb-fragment-editor-title\">\n <span className=\"graphiql-qb-fragment-editor-heading\">\n Editing{' '}\n <span className=\"graphiql-qb-fragment-editor-name\">\n {fragmentName}\n </span>{' '}\n fragment\n </span>\n {typeName && (\n <span className=\"graphiql-qb-fragment-editor-type\">\n on {typeName}\n </span>\n )}\n </div>\n </div>\n {editable ? (\n <FieldTree\n type={rootType as GraphQLObjectType | GraphQLInterfaceType}\n path={[]}\n doc={doc}\n schema={schema}\n target={target}\n cursorPath={cursorPath}\n onToggle={onToggle}\n onSetArg={onSetArg}\n onAddInlineFragment={onAddInlineFragment}\n onRemoveInlineFragment={onRemoveInlineFragment}\n onRemoveFragmentSpread={onRemoveFragmentSpread}\n onExtractFragment={onExtractFragment}\n onRenameFragment={onRenameFragment}\n onFocusFragment={onFocusFragment}\n />\n ) : (\n <p className=\"graphiql-qb-empty\">\n This fragment’s type has no editable fields.\n </p>\n )}\n </section>\n );\n};\n"],"mappings":";;;;;;;;;;;;;AA0CA,IAAamC,kBAA0CC,OAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CAAC,MAAA,EAAAvB,cAAAC,KAAAC,QAAAC,QAAAC,YAAAC,QAAAC,UAAAE,UAAAG,qBAAAE,wBAAAC,wBAAAC,mBAAAC,kBAAAG,oBAAAE;CAevD,IAAAG;CAAA,IAAAC;CAAA,IAAAb;CAAA,IAAAU,EAAA,OAAArB,OAAAqB,EAAA,OAAApB,UAAAoB,EAAA,OAAAnB,QAAA;EACC,MAAAuB,aAAmBhC,eAAeO,KAAKE,MAAM;EAC7CS,WACEc,YAAUC,SAAAzC,KAAA0C,sBACNF,WAAUG,cAAAC,KAAApB,QAAAqB,KAAAA;EAEhBP,WAAiBZ,WAAWV,OAAM8B,QAASpB,QAAQ,IAACmB,KAAAA;EAElDN,KAAAD,YAAQ,SAAapC,aAAaoC,QAAQ,KAAKrC,gBAAgBqC,QAAQ;EAAEF,EAAA,KAAArB;EAAAqB,EAAA,KAAApB;EAAAoB,EAAA,KAAAnB;EAAAmB,EAAA,KAAAE;EAAAF,EAAA,KAAAG;EAAAH,EAAA,KAAAV;CAAA,OAAA;EAAAY,WAAAF,EAAA;EAAAG,KAAAH,EAAA;EAAAV,WAAAU,EAAA;CAAA;CAD3E,MAAAW,WACER;CAA0E,IAAAS;CAAA,IAAAC;CAAA,IAAAb,EAAA,OAAAc,OAAAC,IAAA,2BAAA,GAAA;EAcpEH,KAAA,oBAAC,iBAAD,CAAgB,CAAA;EAChBC,KAAA,oBAAA,QAAA,EAAA,UAAM,gBAAoB,CAAA;EAAAb,EAAA,KAAAY;EAAAZ,EAAA,KAAAa;CAAA,OAAA;EAAAD,KAAAZ,EAAA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