@pareto-engineering/design-system 4.0.0-alpha.62 → 4.0.0-alpha.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 (192) hide show
  1. package/dist/cjs/f/FormInput/FormInput.js +43 -13
  2. package/dist/cjs/f/common/V2/Description/Description.js +76 -0
  3. package/dist/cjs/f/common/V2/Description/index.js +13 -0
  4. package/dist/cjs/f/common/V2/Description/styles.scss +10 -0
  5. package/dist/cjs/f/common/V2/Label/Label.js +84 -0
  6. package/dist/cjs/f/common/V2/Label/index.js +13 -0
  7. package/dist/cjs/f/common/V2/Label/styles.scss +9 -0
  8. package/dist/cjs/f/common/V2/index.js +19 -0
  9. package/dist/cjs/f/common/index.js +12 -0
  10. package/dist/cjs/f/fields/V2/Checkbox/Checkbox.js +122 -0
  11. package/dist/cjs/f/fields/V2/Checkbox/index.js +13 -0
  12. package/dist/cjs/f/fields/V2/Checkbox/styles.scss +16 -0
  13. package/dist/cjs/f/fields/V2/ChoicesInput/ChoicesInput.js +154 -0
  14. package/dist/cjs/f/fields/V2/ChoicesInput/common/Choice/Choice.js +104 -0
  15. package/dist/cjs/f/fields/V2/ChoicesInput/common/Choice/index.js +13 -0
  16. package/dist/cjs/f/fields/V2/ChoicesInput/common/index.js +12 -0
  17. package/dist/cjs/f/fields/V2/ChoicesInput/index.js +13 -0
  18. package/dist/cjs/f/fields/V2/ChoicesInput/styles.scss +79 -0
  19. package/dist/cjs/f/fields/V2/EditorInput/EditorInput.js +197 -0
  20. package/dist/cjs/f/fields/V2/EditorInput/common/Toolbar.js +257 -0
  21. package/dist/cjs/f/fields/V2/EditorInput/common/TreeViewPlugin.js +18 -0
  22. package/dist/cjs/f/fields/V2/EditorInput/common/index.js +20 -0
  23. package/dist/cjs/f/fields/V2/EditorInput/index.js +13 -0
  24. package/dist/cjs/f/fields/V2/EditorInput/styles.scss +149 -0
  25. package/dist/cjs/f/fields/V2/LinkInput/LinkInput.js +156 -0
  26. package/dist/cjs/f/fields/V2/LinkInput/index.js +13 -0
  27. package/dist/cjs/f/fields/V2/LinkInput/styles.scss +90 -0
  28. package/dist/cjs/f/fields/V2/QueryChoices/QueryChoices.js +137 -0
  29. package/dist/cjs/f/fields/V2/QueryChoices/index.js +13 -0
  30. package/dist/cjs/f/fields/V2/QueryCombobox/QueryCombobox.js +229 -0
  31. package/dist/cjs/f/fields/V2/QueryCombobox/common/Combobox/Combobox.js +236 -0
  32. package/dist/cjs/f/fields/V2/QueryCombobox/common/Combobox/index.js +13 -0
  33. package/dist/cjs/f/fields/V2/QueryCombobox/common/Menu/Menu.js +83 -0
  34. package/dist/cjs/f/fields/V2/QueryCombobox/common/Menu/index.js +13 -0
  35. package/dist/cjs/f/fields/V2/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +300 -0
  36. package/dist/cjs/f/fields/V2/QueryCombobox/common/MultipleCombobox/index.js +13 -0
  37. package/dist/cjs/f/fields/V2/QueryCombobox/common/index.js +26 -0
  38. package/dist/cjs/f/fields/V2/QueryCombobox/index.js +13 -0
  39. package/dist/cjs/f/fields/V2/QueryCombobox/styles.scss +127 -0
  40. package/dist/cjs/f/fields/V2/QuerySelect/QuerySelect.js +198 -0
  41. package/dist/cjs/f/fields/V2/QuerySelect/index.js +13 -0
  42. package/dist/cjs/f/fields/V2/RatingsInput/RatingsInput.js +130 -0
  43. package/dist/cjs/f/fields/V2/RatingsInput/common/Rating/Rating.js +117 -0
  44. package/dist/cjs/f/fields/V2/RatingsInput/common/Rating/index.js +13 -0
  45. package/dist/cjs/f/fields/V2/RatingsInput/common/index.js +12 -0
  46. package/dist/cjs/f/fields/V2/RatingsInput/index.js +13 -0
  47. package/dist/cjs/f/fields/V2/RatingsInput/styles.scss +48 -0
  48. package/dist/cjs/f/fields/V2/SelectInput/SelectInput.js +154 -0
  49. package/dist/cjs/f/fields/V2/SelectInput/index.js +13 -0
  50. package/dist/cjs/f/fields/V2/SelectInput/styles.scss +87 -0
  51. package/dist/cjs/f/fields/V2/TextInput/TextInput.js +155 -0
  52. package/dist/cjs/f/fields/V2/TextInput/index.js +13 -0
  53. package/dist/cjs/f/fields/V2/TextInput/styles.scss +78 -0
  54. package/dist/cjs/f/fields/V2/TextareaInput/TextareaInput.js +152 -0
  55. package/dist/cjs/f/fields/V2/TextareaInput/index.js +13 -0
  56. package/dist/cjs/f/fields/V2/TextareaInput/styles.scss +53 -0
  57. package/dist/cjs/f/fields/V2/index.js +82 -0
  58. package/dist/cjs/f/fields/index.js +26 -1
  59. package/dist/es/f/FormInput/FormInput.js +33 -3
  60. package/dist/es/f/common/V2/Description/Description.js +68 -0
  61. package/dist/es/f/common/V2/Description/index.js +2 -0
  62. package/dist/es/f/common/V2/Description/styles.scss +10 -0
  63. package/dist/es/f/common/V2/Label/Label.js +76 -0
  64. package/dist/es/f/common/V2/Label/index.js +2 -0
  65. package/dist/es/f/common/V2/Label/styles.scss +9 -0
  66. package/dist/es/f/common/V2/index.js +2 -0
  67. package/dist/es/f/common/index.js +2 -1
  68. package/dist/es/f/fields/V2/Checkbox/Checkbox.js +114 -0
  69. package/dist/es/f/fields/V2/Checkbox/index.js +2 -0
  70. package/dist/es/f/fields/V2/Checkbox/styles.scss +16 -0
  71. package/dist/es/f/fields/V2/ChoicesInput/ChoicesInput.js +148 -0
  72. package/dist/es/f/fields/V2/ChoicesInput/common/Choice/Choice.js +97 -0
  73. package/dist/es/f/fields/V2/ChoicesInput/common/Choice/index.js +2 -0
  74. package/dist/es/f/fields/V2/ChoicesInput/common/index.js +1 -0
  75. package/dist/es/f/fields/V2/ChoicesInput/index.js +2 -0
  76. package/dist/es/f/fields/V2/ChoicesInput/styles.scss +79 -0
  77. package/dist/es/f/fields/V2/EditorInput/EditorInput.js +192 -0
  78. package/dist/es/f/fields/V2/EditorInput/common/Toolbar.js +246 -0
  79. package/dist/es/f/fields/V2/EditorInput/common/TreeViewPlugin.js +11 -0
  80. package/dist/es/f/fields/V2/EditorInput/common/index.js +2 -0
  81. package/dist/es/f/fields/V2/EditorInput/index.js +2 -0
  82. package/dist/es/f/fields/V2/EditorInput/styles.scss +149 -0
  83. package/dist/es/f/fields/V2/LinkInput/LinkInput.js +148 -0
  84. package/dist/es/f/fields/V2/LinkInput/index.js +2 -0
  85. package/dist/es/f/fields/V2/LinkInput/styles.scss +90 -0
  86. package/dist/es/f/fields/V2/QueryChoices/QueryChoices.js +126 -0
  87. package/dist/es/f/fields/V2/QueryChoices/index.js +2 -0
  88. package/dist/es/f/fields/V2/QueryCombobox/QueryCombobox.js +221 -0
  89. package/dist/es/f/fields/V2/QueryCombobox/common/Combobox/Combobox.js +229 -0
  90. package/dist/es/f/fields/V2/QueryCombobox/common/Combobox/index.js +2 -0
  91. package/dist/es/f/fields/V2/QueryCombobox/common/Menu/Menu.js +73 -0
  92. package/dist/es/f/fields/V2/QueryCombobox/common/Menu/index.js +2 -0
  93. package/dist/es/f/fields/V2/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +293 -0
  94. package/dist/es/f/fields/V2/QueryCombobox/common/MultipleCombobox/index.js +2 -0
  95. package/dist/es/f/fields/V2/QueryCombobox/common/index.js +3 -0
  96. package/dist/es/f/fields/V2/QueryCombobox/index.js +2 -0
  97. package/dist/es/f/fields/V2/QueryCombobox/styles.scss +127 -0
  98. package/dist/es/f/fields/V2/QuerySelect/QuerySelect.js +186 -0
  99. package/dist/es/f/fields/V2/QuerySelect/index.js +2 -0
  100. package/dist/es/f/fields/V2/RatingsInput/RatingsInput.js +124 -0
  101. package/dist/es/f/fields/V2/RatingsInput/common/Rating/Rating.js +109 -0
  102. package/dist/es/f/fields/V2/RatingsInput/common/Rating/index.js +2 -0
  103. package/dist/es/f/fields/V2/RatingsInput/common/index.js +1 -0
  104. package/dist/es/f/fields/V2/RatingsInput/index.js +2 -0
  105. package/dist/es/f/fields/V2/RatingsInput/styles.scss +48 -0
  106. package/dist/es/f/fields/V2/SelectInput/SelectInput.js +146 -0
  107. package/dist/es/f/fields/V2/SelectInput/index.js +2 -0
  108. package/dist/es/f/fields/V2/SelectInput/styles.scss +87 -0
  109. package/dist/es/f/fields/V2/TextInput/TextInput.js +147 -0
  110. package/dist/es/f/fields/V2/TextInput/index.js +2 -0
  111. package/dist/es/f/fields/V2/TextInput/styles.scss +78 -0
  112. package/dist/es/f/fields/V2/TextareaInput/TextareaInput.js +146 -0
  113. package/dist/es/f/fields/V2/TextareaInput/index.js +2 -0
  114. package/dist/es/f/fields/V2/TextareaInput/styles.scss +53 -0
  115. package/dist/es/f/fields/V2/index.js +11 -0
  116. package/dist/es/f/fields/index.js +2 -1
  117. package/package.json +3 -3
  118. package/src/stories/f/v2/Checkbox.stories.jsx +102 -0
  119. package/src/stories/f/v2/ChoicesInput.stories.jsx +139 -0
  120. package/src/stories/f/v2/EditorInput.stories.jsx +81 -0
  121. package/src/stories/f/v2/LinkInput.stories.jsx +93 -0
  122. package/src/stories/f/v2/QueryChoices.stories.jsx +144 -0
  123. package/src/stories/f/v2/QueryCombobox.stories.jsx +301 -0
  124. package/src/stories/f/v2/QuerySelect.stories.jsx +150 -0
  125. package/src/stories/f/v2/RatingsInput.stories.jsx +77 -0
  126. package/src/stories/f/v2/SelectInput.stories.jsx +95 -0
  127. package/src/stories/f/v2/TextInput.stories.jsx +120 -0
  128. package/src/stories/f/v2/TextareaInput.stories.jsx +107 -0
  129. package/src/stories/f/v2/__generated__/FormInputAllTaskStatusesQuery.graphql.js +122 -0
  130. package/src/stories/f/v2/__generated__/FormInputAllTeamsQuery.graphql.js +139 -0
  131. package/src/stories/f/v2/__generated__/QueryChoicesAllTaskStatusesQuery.graphql.js +122 -0
  132. package/src/stories/f/v2/__generated__/QueryComboboxAllTeamsQuery.graphql.js +139 -0
  133. package/src/stories/f/v2/__generated__/QuerySelectAllTaskStatusesQuery.graphql.js +122 -0
  134. package/src/ui/f/FormInput/FormInput.jsx +57 -12
  135. package/src/ui/f/common/V2/Description/Description.jsx +94 -0
  136. package/src/ui/f/common/V2/Description/index.js +2 -0
  137. package/src/ui/f/common/V2/Description/styles.scss +10 -0
  138. package/src/ui/f/common/V2/Label/Label.jsx +102 -0
  139. package/src/ui/f/common/V2/Label/index.js +2 -0
  140. package/src/ui/f/common/V2/Label/styles.scss +9 -0
  141. package/src/ui/f/common/V2/index.js +2 -0
  142. package/src/ui/f/common/index.js +1 -0
  143. package/src/ui/f/fields/V2/Checkbox/Checkbox.jsx +146 -0
  144. package/src/ui/f/fields/V2/Checkbox/index.js +2 -0
  145. package/src/ui/f/fields/V2/Checkbox/styles.scss +16 -0
  146. package/src/ui/f/fields/V2/ChoicesInput/ChoicesInput.jsx +183 -0
  147. package/src/ui/f/fields/V2/ChoicesInput/common/Choice/Choice.jsx +125 -0
  148. package/src/ui/f/fields/V2/ChoicesInput/common/Choice/index.js +2 -0
  149. package/src/ui/f/fields/V2/ChoicesInput/common/index.js +1 -0
  150. package/src/ui/f/fields/V2/ChoicesInput/index.js +2 -0
  151. package/src/ui/f/fields/V2/ChoicesInput/styles.scss +79 -0
  152. package/src/ui/f/fields/V2/EditorInput/EditorInput.jsx +244 -0
  153. package/src/ui/f/fields/V2/EditorInput/common/Toolbar.jsx +356 -0
  154. package/src/ui/f/fields/V2/EditorInput/common/TreeViewPlugin.jsx +16 -0
  155. package/src/ui/f/fields/V2/EditorInput/common/index.jsx +2 -0
  156. package/src/ui/f/fields/V2/EditorInput/index.js +2 -0
  157. package/src/ui/f/fields/V2/EditorInput/styles.scss +149 -0
  158. package/src/ui/f/fields/V2/LinkInput/LinkInput.jsx +187 -0
  159. package/src/ui/f/fields/V2/LinkInput/index.js +2 -0
  160. package/src/ui/f/fields/V2/LinkInput/styles.scss +90 -0
  161. package/src/ui/f/fields/V2/QueryChoices/QueryChoices.jsx +153 -0
  162. package/src/ui/f/fields/V2/QueryChoices/index.js +2 -0
  163. package/src/ui/f/fields/V2/QueryCombobox/QueryCombobox.jsx +254 -0
  164. package/src/ui/f/fields/V2/QueryCombobox/common/Combobox/Combobox.jsx +276 -0
  165. package/src/ui/f/fields/V2/QueryCombobox/common/Combobox/index.js +2 -0
  166. package/src/ui/f/fields/V2/QueryCombobox/common/Menu/Menu.jsx +103 -0
  167. package/src/ui/f/fields/V2/QueryCombobox/common/Menu/index.js +2 -0
  168. package/src/ui/f/fields/V2/QueryCombobox/common/MultipleCombobox/MultipleCombobox.jsx +362 -0
  169. package/src/ui/f/fields/V2/QueryCombobox/common/MultipleCombobox/index.js +2 -0
  170. package/src/ui/f/fields/V2/QueryCombobox/common/index.js +3 -0
  171. package/src/ui/f/fields/V2/QueryCombobox/index.js +2 -0
  172. package/src/ui/f/fields/V2/QueryCombobox/styles.scss +127 -0
  173. package/src/ui/f/fields/V2/QuerySelect/QuerySelect.jsx +220 -0
  174. package/src/ui/f/fields/V2/QuerySelect/index.js +2 -0
  175. package/src/ui/f/fields/V2/RatingsInput/RatingsInput.jsx +152 -0
  176. package/src/ui/f/fields/V2/RatingsInput/common/Rating/Rating.jsx +142 -0
  177. package/src/ui/f/fields/V2/RatingsInput/common/Rating/index.js +2 -0
  178. package/src/ui/f/fields/V2/RatingsInput/common/index.js +1 -0
  179. package/src/ui/f/fields/V2/RatingsInput/index.js +2 -0
  180. package/src/ui/f/fields/V2/RatingsInput/styles.scss +48 -0
  181. package/src/ui/f/fields/V2/SelectInput/SelectInput.jsx +187 -0
  182. package/src/ui/f/fields/V2/SelectInput/index.js +2 -0
  183. package/src/ui/f/fields/V2/SelectInput/styles.scss +87 -0
  184. package/src/ui/f/fields/V2/TextInput/TextInput.jsx +192 -0
  185. package/src/ui/f/fields/V2/TextInput/index.js +2 -0
  186. package/src/ui/f/fields/V2/TextInput/styles.scss +78 -0
  187. package/src/ui/f/fields/V2/TextareaInput/TextareaInput.jsx +180 -0
  188. package/src/ui/f/fields/V2/TextareaInput/index.js +2 -0
  189. package/src/ui/f/fields/V2/TextareaInput/styles.scss +53 -0
  190. package/src/ui/f/fields/V2/index.js +11 -0
  191. package/src/ui/f/fields/index.js +1 -0
  192. package/tests/__snapshots__/Storyshots.test.js.snap +5909 -0
@@ -0,0 +1,120 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+ import * as React from 'react'
3
+ import { Formik, Form } from 'formik'
4
+
5
+ import {
6
+ TextInputV2,
7
+ FormDebugger,
8
+ } from 'ui'
9
+
10
+ export default {
11
+ title :'f/fields/V2/TextInput',
12
+ component :TextInputV2,
13
+ subcomponents:{
14
+ // Item:TextInput.Item
15
+ },
16
+ decorators:[
17
+ (storyfn) => (
18
+ <Formik
19
+ initialValues={{ email: '', name: '', company: '' }}
20
+ >
21
+ <Form>
22
+
23
+ { storyfn() }
24
+ </Form>
25
+ </Formik>
26
+ ),
27
+ ],
28
+ argTypes:{
29
+ // backgroundColor:{ control: 'color' },
30
+ placeholder :{ control: 'text' },
31
+ autoComplete:{ control: 'select', options: ['off', 'on'] },
32
+ disabled :{ control: 'boolean' },
33
+ type :{ control: 'text' },
34
+ name :{ control: 'text' },
35
+ label :{ control: 'text' },
36
+ labelColor :{ control: 'text' },
37
+ optional :{ control: 'boolean' },
38
+ symbol :{ control: 'text' },
39
+ },
40
+ }
41
+
42
+ // eslint-disable-next-line react/prop-types
43
+ const Template = (args) => (
44
+ <div
45
+ style={{
46
+ display :'flex',
47
+ flexDirection:'column',
48
+ gap :'1rem',
49
+ }}
50
+ >
51
+ <TextInputV2 {...args} />
52
+ <FormDebugger />
53
+ </div>
54
+ )
55
+
56
+ export const Base = Template.bind({})
57
+ Base.args = {
58
+ name :'email',
59
+ label:'How can we reach you ?',
60
+ }
61
+
62
+ export const Optional = Template.bind({})
63
+ Optional.args = {
64
+ ...Base.args,
65
+ optional:true,
66
+ }
67
+
68
+ const validate = (value) => {
69
+ let errorMessage = ''
70
+ const isValid = value.length > 3
71
+
72
+ if (!isValid) {
73
+ errorMessage = 'Value should be greater than 3 characters'
74
+ }
75
+ return errorMessage
76
+ }
77
+
78
+ export const WithValidation = Template.bind({})
79
+ WithValidation.args = {
80
+ ...Base.args,
81
+ validate,
82
+ }
83
+
84
+ export const WithPlaceholder = Template.bind({})
85
+ WithPlaceholder.args = {
86
+ ...Base.args,
87
+ placeholder:'Email address',
88
+ }
89
+
90
+ export const WithAutoCompleteOff = Template.bind({})
91
+ WithAutoCompleteOff.args = {
92
+ ...Base.args,
93
+ autoComplete:'off',
94
+ }
95
+
96
+ export const WithDisabled = Template.bind({})
97
+ WithDisabled.args = {
98
+ ...Base.args,
99
+ disabled:true,
100
+ }
101
+
102
+ export const Date = Template.bind({})
103
+ Date.args = {
104
+ type :'date',
105
+ name :'date',
106
+ label:'Select date',
107
+ }
108
+
109
+ export const Time = Template.bind({})
110
+ Time.args = {
111
+ type :'time',
112
+ name :'time',
113
+ label:'Select time',
114
+ }
115
+
116
+ export const HasSymbol = Template.bind({})
117
+ HasSymbol.args = {
118
+ ...Base.args,
119
+ symbol:"'$'",
120
+ }
@@ -0,0 +1,107 @@
1
+ /* @pareto-engineering/generator-front 1.0.12 */
2
+ import * as React from 'react'
3
+
4
+ import { Formik, Form } from 'formik'
5
+
6
+ import { TextareaInputV2, FormDebugger } from 'ui'
7
+
8
+ export default {
9
+ title :'f/fields/V2/TextareaInputV2',
10
+ component :TextareaInputV2,
11
+ subcomponents:{
12
+ // Item:TextareaInputV2.Item
13
+ },
14
+ decorators:[
15
+ (storyfn) => (
16
+ <Formik
17
+ initialValues={{ feedback: '' }}
18
+ >
19
+ <Form>
20
+
21
+ { storyfn() }
22
+ </Form>
23
+ </Formik>
24
+ ),
25
+ ],
26
+ argTypes:{
27
+ // backgroundColor:{ control: 'color' },
28
+ name :{ control: 'text' },
29
+ label :{ control: 'text' },
30
+ labelColor :{ control: 'text' },
31
+ placeholder :{ control: 'text' },
32
+ disabled :{ control: 'boolean' },
33
+ labelAsDescription:{ control: 'boolean' },
34
+ optional :{ control: 'boolean' },
35
+ },
36
+ }
37
+
38
+ const Template = (args) => (
39
+ <div
40
+ style={{
41
+ display :'flex',
42
+ flexDirection:'column',
43
+ gap :'1rem',
44
+ }}
45
+ >
46
+ <TextareaInputV2 {...args} />
47
+ <FormDebugger />
48
+ </div>
49
+ )
50
+
51
+ export const Base = Template.bind({})
52
+ Base.args = {
53
+ name :'feedback',
54
+ label:'What can we improve on?',
55
+ }
56
+
57
+ export const Optional = Template.bind({})
58
+ Optional.args = {
59
+ ...Base.args,
60
+ optional:true,
61
+ }
62
+
63
+ export const Placeholder = Template.bind({})
64
+ Placeholder.args = {
65
+ ...Base.args,
66
+ placeholder:'Type your feedback here...',
67
+ }
68
+
69
+ const validate = (value) => {
70
+ let errorMessage = ''
71
+ const isValid = value.length > 3
72
+
73
+ if (!isValid) {
74
+ errorMessage = 'Value should be greater than 3 characters'
75
+ }
76
+ return errorMessage
77
+ }
78
+
79
+ export const Validation = Template.bind({})
80
+ Validation.args = {
81
+ ...Base.args,
82
+ validate,
83
+ }
84
+
85
+ export const Disabled = Template.bind({})
86
+ Disabled.args = {
87
+ ...Base.args,
88
+ disabled:true,
89
+ }
90
+
91
+ export const VerticalResize = Template.bind({})
92
+ VerticalResize.args = {
93
+ ...Base.args,
94
+ resize:'vertical',
95
+ }
96
+
97
+ export const HorizontalResize = Template.bind({})
98
+ HorizontalResize.args = {
99
+ ...Base.args,
100
+ resize:'horizontal',
101
+ }
102
+
103
+ export const DisableResize = Template.bind({})
104
+ DisableResize.args = {
105
+ ...Base.args,
106
+ resize:'none',
107
+ }
@@ -0,0 +1,122 @@
1
+ /**
2
+ * @flow
3
+ */
4
+
5
+ /* eslint-disable */
6
+
7
+ 'use strict';
8
+
9
+ /*::
10
+ import type { ConcreteRequest } from 'relay-runtime';
11
+ export type FormInputAllTaskStatusesQueryVariables = {||};
12
+ export type FormInputAllTaskStatusesQueryResponse = {|
13
+ +allTaskStatuses: ?{|
14
+ +edges: $ReadOnlyArray<?{|
15
+ +node: ?{|
16
+ +id: string,
17
+ +status: string,
18
+ |}
19
+ |}>
20
+ |}
21
+ |};
22
+ export type FormInputAllTaskStatusesQuery = {|
23
+ variables: FormInputAllTaskStatusesQueryVariables,
24
+ response: FormInputAllTaskStatusesQueryResponse,
25
+ |};
26
+ */
27
+
28
+
29
+ /*
30
+ query FormInputAllTaskStatusesQuery {
31
+ allTaskStatuses {
32
+ edges {
33
+ node {
34
+ id
35
+ status
36
+ }
37
+ }
38
+ }
39
+ }
40
+ */
41
+
42
+ const node/*: ConcreteRequest*/ = (function(){
43
+ var v0 = [
44
+ {
45
+ "alias": null,
46
+ "args": null,
47
+ "concreteType": "TaskStatusNodeConnection",
48
+ "kind": "LinkedField",
49
+ "name": "allTaskStatuses",
50
+ "plural": false,
51
+ "selections": [
52
+ {
53
+ "alias": null,
54
+ "args": null,
55
+ "concreteType": "TaskStatusNodeEdge",
56
+ "kind": "LinkedField",
57
+ "name": "edges",
58
+ "plural": true,
59
+ "selections": [
60
+ {
61
+ "alias": null,
62
+ "args": null,
63
+ "concreteType": "TaskStatusNode",
64
+ "kind": "LinkedField",
65
+ "name": "node",
66
+ "plural": false,
67
+ "selections": [
68
+ {
69
+ "alias": null,
70
+ "args": null,
71
+ "kind": "ScalarField",
72
+ "name": "id",
73
+ "storageKey": null
74
+ },
75
+ {
76
+ "alias": null,
77
+ "args": null,
78
+ "kind": "ScalarField",
79
+ "name": "status",
80
+ "storageKey": null
81
+ }
82
+ ],
83
+ "storageKey": null
84
+ }
85
+ ],
86
+ "storageKey": null
87
+ }
88
+ ],
89
+ "storageKey": null
90
+ }
91
+ ];
92
+ return {
93
+ "fragment": {
94
+ "argumentDefinitions": [],
95
+ "kind": "Fragment",
96
+ "metadata": null,
97
+ "name": "FormInputAllTaskStatusesQuery",
98
+ "selections": (v0/*: any*/),
99
+ "type": "Query",
100
+ "abstractKey": null
101
+ },
102
+ "kind": "Request",
103
+ "operation": {
104
+ "argumentDefinitions": [],
105
+ "kind": "Operation",
106
+ "name": "FormInputAllTaskStatusesQuery",
107
+ "selections": (v0/*: any*/)
108
+ },
109
+ "params": {
110
+ "cacheID": "54ce3d351c6ef9fa16c73a954fc5cfea",
111
+ "id": null,
112
+ "metadata": {},
113
+ "name": "FormInputAllTaskStatusesQuery",
114
+ "operationKind": "query",
115
+ "text": "query FormInputAllTaskStatusesQuery {\n allTaskStatuses {\n edges {\n node {\n id\n status\n }\n }\n }\n}\n"
116
+ }
117
+ };
118
+ })();
119
+ // prettier-ignore
120
+ (node/*: any*/).hash = 'a86a4a669c61db10cd2bd9b72b3eeb12';
121
+
122
+ module.exports = node;
@@ -0,0 +1,139 @@
1
+ /**
2
+ * @flow
3
+ */
4
+
5
+ /* eslint-disable */
6
+
7
+ 'use strict';
8
+
9
+ /*::
10
+ import type { ConcreteRequest } from 'relay-runtime';
11
+ export type FormInputAllTeamsQueryVariables = {|
12
+ name_Icontains?: ?string
13
+ |};
14
+ export type FormInputAllTeamsQueryResponse = {|
15
+ +allTeams: ?{|
16
+ +edges: $ReadOnlyArray<?{|
17
+ +node: ?{|
18
+ +id: string,
19
+ +name: string,
20
+ |}
21
+ |}>
22
+ |}
23
+ |};
24
+ export type FormInputAllTeamsQuery = {|
25
+ variables: FormInputAllTeamsQueryVariables,
26
+ response: FormInputAllTeamsQueryResponse,
27
+ |};
28
+ */
29
+
30
+
31
+ /*
32
+ query FormInputAllTeamsQuery(
33
+ $name_Icontains: String
34
+ ) {
35
+ allTeams(name_Icontains: $name_Icontains) {
36
+ edges {
37
+ node {
38
+ id
39
+ name
40
+ }
41
+ }
42
+ }
43
+ }
44
+ */
45
+
46
+ const node/*: ConcreteRequest*/ = (function(){
47
+ var v0 = [
48
+ {
49
+ "defaultValue": null,
50
+ "kind": "LocalArgument",
51
+ "name": "name_Icontains"
52
+ }
53
+ ],
54
+ v1 = [
55
+ {
56
+ "alias": null,
57
+ "args": [
58
+ {
59
+ "kind": "Variable",
60
+ "name": "name_Icontains",
61
+ "variableName": "name_Icontains"
62
+ }
63
+ ],
64
+ "concreteType": "TeamNodeConnection",
65
+ "kind": "LinkedField",
66
+ "name": "allTeams",
67
+ "plural": false,
68
+ "selections": [
69
+ {
70
+ "alias": null,
71
+ "args": null,
72
+ "concreteType": "TeamNodeEdge",
73
+ "kind": "LinkedField",
74
+ "name": "edges",
75
+ "plural": true,
76
+ "selections": [
77
+ {
78
+ "alias": null,
79
+ "args": null,
80
+ "concreteType": "TeamNode",
81
+ "kind": "LinkedField",
82
+ "name": "node",
83
+ "plural": false,
84
+ "selections": [
85
+ {
86
+ "alias": null,
87
+ "args": null,
88
+ "kind": "ScalarField",
89
+ "name": "id",
90
+ "storageKey": null
91
+ },
92
+ {
93
+ "alias": null,
94
+ "args": null,
95
+ "kind": "ScalarField",
96
+ "name": "name",
97
+ "storageKey": null
98
+ }
99
+ ],
100
+ "storageKey": null
101
+ }
102
+ ],
103
+ "storageKey": null
104
+ }
105
+ ],
106
+ "storageKey": null
107
+ }
108
+ ];
109
+ return {
110
+ "fragment": {
111
+ "argumentDefinitions": (v0/*: any*/),
112
+ "kind": "Fragment",
113
+ "metadata": null,
114
+ "name": "FormInputAllTeamsQuery",
115
+ "selections": (v1/*: any*/),
116
+ "type": "Query",
117
+ "abstractKey": null
118
+ },
119
+ "kind": "Request",
120
+ "operation": {
121
+ "argumentDefinitions": (v0/*: any*/),
122
+ "kind": "Operation",
123
+ "name": "FormInputAllTeamsQuery",
124
+ "selections": (v1/*: any*/)
125
+ },
126
+ "params": {
127
+ "cacheID": "dc9287c6d087d0f0e1be2e8ef405cb1f",
128
+ "id": null,
129
+ "metadata": {},
130
+ "name": "FormInputAllTeamsQuery",
131
+ "operationKind": "query",
132
+ "text": "query FormInputAllTeamsQuery(\n $name_Icontains: String\n) {\n allTeams(name_Icontains: $name_Icontains) {\n edges {\n node {\n id\n name\n }\n }\n }\n}\n"
133
+ }
134
+ };
135
+ })();
136
+ // prettier-ignore
137
+ (node/*: any*/).hash = 'c76b6f84436895e8a6d0725bdd41cfe0';
138
+
139
+ module.exports = node;
@@ -0,0 +1,122 @@
1
+ /**
2
+ * @flow
3
+ */
4
+
5
+ /* eslint-disable */
6
+
7
+ 'use strict';
8
+
9
+ /*::
10
+ import type { ConcreteRequest } from 'relay-runtime';
11
+ export type QueryChoicesAllTaskStatusesQueryVariables = {||};
12
+ export type QueryChoicesAllTaskStatusesQueryResponse = {|
13
+ +allTaskStatuses: ?{|
14
+ +edges: $ReadOnlyArray<?{|
15
+ +node: ?{|
16
+ +id: string,
17
+ +status: string,
18
+ |}
19
+ |}>
20
+ |}
21
+ |};
22
+ export type QueryChoicesAllTaskStatusesQuery = {|
23
+ variables: QueryChoicesAllTaskStatusesQueryVariables,
24
+ response: QueryChoicesAllTaskStatusesQueryResponse,
25
+ |};
26
+ */
27
+
28
+
29
+ /*
30
+ query QueryChoicesAllTaskStatusesQuery {
31
+ allTaskStatuses {
32
+ edges {
33
+ node {
34
+ id
35
+ status
36
+ }
37
+ }
38
+ }
39
+ }
40
+ */
41
+
42
+ const node/*: ConcreteRequest*/ = (function(){
43
+ var v0 = [
44
+ {
45
+ "alias": null,
46
+ "args": null,
47
+ "concreteType": "TaskStatusNodeConnection",
48
+ "kind": "LinkedField",
49
+ "name": "allTaskStatuses",
50
+ "plural": false,
51
+ "selections": [
52
+ {
53
+ "alias": null,
54
+ "args": null,
55
+ "concreteType": "TaskStatusNodeEdge",
56
+ "kind": "LinkedField",
57
+ "name": "edges",
58
+ "plural": true,
59
+ "selections": [
60
+ {
61
+ "alias": null,
62
+ "args": null,
63
+ "concreteType": "TaskStatusNode",
64
+ "kind": "LinkedField",
65
+ "name": "node",
66
+ "plural": false,
67
+ "selections": [
68
+ {
69
+ "alias": null,
70
+ "args": null,
71
+ "kind": "ScalarField",
72
+ "name": "id",
73
+ "storageKey": null
74
+ },
75
+ {
76
+ "alias": null,
77
+ "args": null,
78
+ "kind": "ScalarField",
79
+ "name": "status",
80
+ "storageKey": null
81
+ }
82
+ ],
83
+ "storageKey": null
84
+ }
85
+ ],
86
+ "storageKey": null
87
+ }
88
+ ],
89
+ "storageKey": null
90
+ }
91
+ ];
92
+ return {
93
+ "fragment": {
94
+ "argumentDefinitions": [],
95
+ "kind": "Fragment",
96
+ "metadata": null,
97
+ "name": "QueryChoicesAllTaskStatusesQuery",
98
+ "selections": (v0/*: any*/),
99
+ "type": "Query",
100
+ "abstractKey": null
101
+ },
102
+ "kind": "Request",
103
+ "operation": {
104
+ "argumentDefinitions": [],
105
+ "kind": "Operation",
106
+ "name": "QueryChoicesAllTaskStatusesQuery",
107
+ "selections": (v0/*: any*/)
108
+ },
109
+ "params": {
110
+ "cacheID": "6e05a3755df9f90893fa2a1a2759788b",
111
+ "id": null,
112
+ "metadata": {},
113
+ "name": "QueryChoicesAllTaskStatusesQuery",
114
+ "operationKind": "query",
115
+ "text": "query QueryChoicesAllTaskStatusesQuery {\n allTaskStatuses {\n edges {\n node {\n id\n status\n }\n }\n }\n}\n"
116
+ }
117
+ };
118
+ })();
119
+ // prettier-ignore
120
+ (node/*: any*/).hash = 'c71c37c5254bb38906c56c4ccd382a39';
121
+
122
+ module.exports = node;