@omniumretail/component-library 1.0.70 → 1.0.72

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 (175) hide show
  1. package/.storybook/main.js +16 -16
  2. package/.storybook/preview-head.html +20 -20
  3. package/.storybook/preview.js +27 -27
  4. package/README.md +54 -54
  5. package/bitbucket-pipelines.yml +94 -94
  6. package/dist/bundle.js +246 -290
  7. package/dist/types/components/AnalyticsBar/AnalyticsBar.stories.d.ts +5 -5
  8. package/dist/types/components/AnalyticsBar/helpers/codeMutation.d.ts +4 -4
  9. package/dist/types/components/AnalyticsBar/index.d.ts +2 -2
  10. package/dist/types/components/AnalyticsBar/interfaces/analyticsBar.d.ts +12 -12
  11. package/dist/types/components/Button/Button.stories.d.ts +6 -6
  12. package/dist/types/components/Button/index.d.ts +7 -7
  13. package/dist/types/components/Category/Category.stories.d.ts +4 -4
  14. package/dist/types/components/Category/CategoryContent/index.d.ts +7 -7
  15. package/dist/types/components/Category/CategorySidebar/index.d.ts +26 -26
  16. package/dist/types/components/Category/index.d.ts +7 -7
  17. package/dist/types/components/CategoryReadOnly/CategoryReadOnly.stories.d.ts +4 -4
  18. package/dist/types/components/CategoryReadOnly/evaluationOptions.d.ts +10 -10
  19. package/dist/types/components/CategoryReadOnly/index.d.ts +9 -9
  20. package/dist/types/components/CategoryResponse/CategoryResponse.stories.d.ts +4 -4
  21. package/dist/types/components/CategoryResponse/evaluationOptions.d.ts +10 -10
  22. package/dist/types/components/CategoryResponse/index.d.ts +9 -9
  23. package/dist/types/components/DatePicker/DatePicker.stories.d.ts +5 -5
  24. package/dist/types/components/DatePicker/index.d.ts +8 -8
  25. package/dist/types/components/DatePickerTag/DatePickerTag.stories.d.ts +5 -5
  26. package/dist/types/components/DatePickerTag/index.d.ts +6 -6
  27. package/dist/types/components/Footer/Footer.stories.d.ts +5 -5
  28. package/dist/types/components/Footer/index.d.ts +4 -4
  29. package/dist/types/components/Input/Input.stories.d.ts +5 -5
  30. package/dist/types/components/Input/index.d.ts +10 -10
  31. package/dist/types/components/InputCountryCode/index.d.ts +10 -10
  32. package/dist/types/components/InputCountryCode/inputCountryCode.stories.d.ts +5 -5
  33. package/dist/types/components/Label/Label.stories.d.ts +6 -6
  34. package/dist/types/components/Label/index.d.ts +7 -7
  35. package/dist/types/components/Link/Link.stories.d.ts +7 -7
  36. package/dist/types/components/Link/index.d.ts +7 -7
  37. package/dist/types/components/Menu/Menu.stories.d.ts +5 -5
  38. package/dist/types/components/Menu/helpers/codeMutation.d.ts +4 -4
  39. package/dist/types/components/Menu/index.d.ts +3 -2
  40. package/dist/types/components/ModalConfirmation/ModalConfirmation.stories.d.ts +5 -5
  41. package/dist/types/components/ModalConfirmation/ModalStatusList.d.ts +5 -5
  42. package/dist/types/components/ModalConfirmation/index.d.ts +9 -9
  43. package/dist/types/components/ModalWithTable/ModalWithTable.stories.d.ts +5 -5
  44. package/dist/types/components/ModalWithTable/index.d.ts +13 -13
  45. package/dist/types/components/Navigation/Navigation.stories.d.ts +5 -5
  46. package/dist/types/components/Navigation/index.d.ts +10 -10
  47. package/dist/types/components/Notification/Notification.stories.d.ts +5 -5
  48. package/dist/types/components/Notification/index.d.ts +9 -9
  49. package/dist/types/components/Questions/Questions.stories.d.ts +4 -4
  50. package/dist/types/components/Questions/SingleQuestion/index.d.ts +1 -1
  51. package/dist/types/components/Questions/index.d.ts +5 -5
  52. package/dist/types/components/Radio/Radio.stories.d.ts +5 -5
  53. package/dist/types/components/Radio/index.d.ts +10 -10
  54. package/dist/types/components/Select/Select.stories.d.ts +6 -6
  55. package/dist/types/components/Select/index.d.ts +5 -5
  56. package/dist/types/components/Separator/Separator.stories.d.ts +6 -6
  57. package/dist/types/components/Separator/index.d.ts +11 -11
  58. package/dist/types/components/Sidebar/Sidebar.stories.d.ts +6 -6
  59. package/dist/types/components/Sidebar/index.d.ts +15 -15
  60. package/dist/types/components/Switch/Switch.stories.d.ts +5 -5
  61. package/dist/types/components/Switch/index.d.ts +2 -2
  62. package/dist/types/components/Table/Table.stories.d.ts +9 -9
  63. package/dist/types/components/Table/index.d.ts +37 -36
  64. package/dist/types/components/Tag/Tag.stories.d.ts +5 -5
  65. package/dist/types/components/Tag/index.d.ts +8 -8
  66. package/dist/types/components/Upload/Upload.stories.d.ts +4 -4
  67. package/dist/types/components/Upload/index.d.ts +8 -8
  68. package/dist/types/components/UserInfo/UserInfo.stories.d.ts +4 -4
  69. package/dist/types/components/UserInfo/index.d.ts +8 -8
  70. package/dist/types/components/index.d.ts +25 -25
  71. package/dist/types/constants/i18n.d.ts +1 -1
  72. package/dist/types/constants/translationHelper.d.ts +2 -2
  73. package/dist/types/index.d.ts +2 -2
  74. package/package.json +198 -198
  75. package/src/assets/scss/_global.scss +89 -89
  76. package/src/assets/scss/index.scss +2 -2
  77. package/src/components/AnalyticsBar/AnalyticsBar.stories.tsx +236 -236
  78. package/src/components/AnalyticsBar/helpers/codeMutation.tsx +19 -19
  79. package/src/components/AnalyticsBar/index.tsx +76 -76
  80. package/src/components/AnalyticsBar/interfaces/analyticsBar.tsx +13 -13
  81. package/src/components/AnalyticsBar/styles.module.scss +108 -108
  82. package/src/components/Button/Button.stories.tsx +26 -26
  83. package/src/components/Button/index.tsx +24 -24
  84. package/src/components/Button/styles.module.scss +65 -65
  85. package/src/components/Category/Category.stories.tsx +88 -88
  86. package/src/components/Category/CategoryContent/index.tsx +188 -188
  87. package/src/components/Category/CategoryContent/styles.module.scss +51 -51
  88. package/src/components/Category/CategorySidebar/index.tsx +268 -268
  89. package/src/components/Category/CategorySidebar/styles.module.scss +28 -28
  90. package/src/components/Category/index.tsx +76 -76
  91. package/src/components/Category/styles.module.scss +13 -13
  92. package/src/components/CategoryReadOnly/CategoryReadOnly.stories.tsx +270 -270
  93. package/src/components/CategoryReadOnly/evaluationOptions.tsx +81 -81
  94. package/src/components/CategoryReadOnly/index.tsx +254 -254
  95. package/src/components/CategoryReadOnly/styles.module.scss +184 -184
  96. package/src/components/CategoryResponse/CategoryResponse.stories.tsx +251 -251
  97. package/src/components/CategoryResponse/evaluationOptions.tsx +81 -81
  98. package/src/components/CategoryResponse/index.tsx +277 -277
  99. package/src/components/CategoryResponse/styles.module.scss +180 -180
  100. package/src/components/DatePicker/DatePicker.stories.tsx +16 -16
  101. package/src/components/DatePicker/index.tsx +38 -38
  102. package/src/components/DatePicker/styles.module.scss +3 -3
  103. package/src/components/DatePickerTag/DatePickerTag.stories.tsx +19 -19
  104. package/src/components/DatePickerTag/index.tsx +89 -89
  105. package/src/components/DatePickerTag/styles.module.scss +31 -31
  106. package/src/components/Footer/Footer.stories.tsx +14 -14
  107. package/src/components/Footer/index.tsx +38 -38
  108. package/src/components/Footer/styles.module.scss +38 -38
  109. package/src/components/Input/Input.stories.tsx +13 -13
  110. package/src/components/Input/index.tsx +31 -31
  111. package/src/components/Input/styles.module.scss +8 -8
  112. package/src/components/InputCountryCode/index.tsx +75 -75
  113. package/src/components/InputCountryCode/inputCountryCode.stories.tsx +55 -55
  114. package/src/components/InputCountryCode/styles.module.scss +3 -3
  115. package/src/components/Label/Label.stories.tsx +21 -21
  116. package/src/components/Label/index.tsx +19 -19
  117. package/src/components/Label/styles.module.scss +16 -16
  118. package/src/components/Link/Link.stories.tsx +30 -30
  119. package/src/components/Link/index.tsx +21 -21
  120. package/src/components/Link/styles.module.scss +24 -24
  121. package/src/components/Menu/Menu.stories.tsx +178 -178
  122. package/src/components/Menu/helpers/codeMutation.tsx +19 -19
  123. package/src/components/Menu/index.tsx +23 -23
  124. package/src/components/ModalConfirmation/ModalConfirmation.stories.tsx +40 -40
  125. package/src/components/ModalConfirmation/ModalStatusList.tsx +5 -5
  126. package/src/components/ModalConfirmation/index.tsx +70 -70
  127. package/src/components/ModalConfirmation/styles.module.scss +62 -62
  128. package/src/components/ModalWithTable/ModalWithTable.stories.tsx +96 -96
  129. package/src/components/ModalWithTable/index.tsx +232 -232
  130. package/src/components/ModalWithTable/styles.module.scss +77 -77
  131. package/src/components/Navigation/Navigation.stories.tsx +17 -17
  132. package/src/components/Navigation/index.tsx +33 -33
  133. package/src/components/Navigation/styles.module.scss +58 -58
  134. package/src/components/Notification/Notification.stories.tsx +29 -29
  135. package/src/components/Notification/index.tsx +21 -21
  136. package/src/components/Questions/Questions.stories.tsx +37 -37
  137. package/src/components/Questions/SingleQuestion/index.tsx +84 -84
  138. package/src/components/Questions/SingleQuestion/styles.module.scss +81 -81
  139. package/src/components/Questions/index.tsx +78 -78
  140. package/src/components/Radio/Radio.stories.tsx +43 -43
  141. package/src/components/Radio/index.tsx +26 -26
  142. package/src/components/Radio/styles.module.scss +23 -23
  143. package/src/components/Select/Select.stories.tsx +39 -39
  144. package/src/components/Select/index.tsx +27 -27
  145. package/src/components/Select/styles.module.scss +13 -13
  146. package/src/components/Separator/Separator.stories.tsx +22 -22
  147. package/src/components/Separator/index.tsx +27 -27
  148. package/src/components/Separator/styles.module.scss +25 -25
  149. package/src/components/Sidebar/Sidebar.stories.tsx +85 -85
  150. package/src/components/Sidebar/index.tsx +103 -103
  151. package/src/components/Sidebar/styles.module.scss +85 -85
  152. package/src/components/Switch/Switch.stories.tsx +14 -14
  153. package/src/components/Switch/index.tsx +8 -8
  154. package/src/components/Switch/styles.module.scss +7 -7
  155. package/src/components/Table/Table.stories.tsx +222 -221
  156. package/src/components/Table/index.tsx +275 -271
  157. package/src/components/Table/styles.module.scss +75 -75
  158. package/src/components/Tag/Tag.stories.tsx +22 -22
  159. package/src/components/Tag/index.tsx +189 -189
  160. package/src/components/Tag/styles.module.scss +60 -60
  161. package/src/components/Upload/Upload.stories.tsx +45 -45
  162. package/src/components/Upload/index.tsx +91 -91
  163. package/src/components/UserInfo/UserInfo.stories.tsx +37 -37
  164. package/src/components/UserInfo/index.tsx +62 -62
  165. package/src/components/UserInfo/styles.module.scss +29 -29
  166. package/src/components/index.tsx +25 -25
  167. package/src/constants/i18n.ts +25 -25
  168. package/src/constants/translationHelper.ts +7 -7
  169. package/src/index.ts +2 -2
  170. package/src/locales/en.json +86 -86
  171. package/src/locales/es.json +86 -86
  172. package/src/locales/pt.json +86 -86
  173. package/src/types/Global.d.ts +4 -4
  174. package/tsconfig.json +29 -29
  175. package/webpack.config.js +51 -51
@@ -1,251 +1,251 @@
1
- import { Meta, Story } from "@storybook/react";
2
- import { Button } from "components/Button";
3
- import { useEffect, useRef, useState } from "react";
4
- import { CategoryResponse } from '.';
5
-
6
- export default {
7
- title: 'CategoryResponse',
8
- component: CategoryResponse,
9
- } as Meta;
10
-
11
- const Template: Story<any> = (args) => {
12
- const [serverData, setServerData] = useState<any>();
13
- const categoryResponseRef = useRef(null);
14
- const [hasNext, setHasNext] = useState(true);
15
- const [hasPrevious, setHasPrevious] = useState(false);
16
-
17
- const handleNextCategoryAvailabilityChange = (hasNext: boolean) => {
18
- setHasNext(hasNext);
19
- };
20
-
21
- const handlePreviousCategoryAvailabilityChange = (hasPrevious: boolean) => {
22
- setHasPrevious(hasPrevious);
23
- };
24
-
25
- const handleNextClickOutside = () => {
26
- (categoryResponseRef.current as any).handleNextClick();
27
- }
28
-
29
- const handlePreviousClickOutside = () => {
30
- (categoryResponseRef.current as any).handlePreviousClick();
31
- }
32
-
33
- useEffect(() => {
34
- console.log(serverData);
35
- }, [serverData])
36
-
37
- return (
38
- <div style={{ height: '600px' }}>
39
- <div>
40
- <CategoryResponse
41
- {...args}
42
- serverReadyData={setServerData}
43
- ref={categoryResponseRef}
44
- onNextCategoryAvailabilityChange={handleNextCategoryAvailabilityChange}
45
- onPreviousCategoryAvailabilityChange={handlePreviousCategoryAvailabilityChange}
46
- >
47
- </CategoryResponse>
48
- </div>
49
- <div>
50
-
51
- {hasPrevious && (
52
- <Button onClick={handlePreviousClickOutside}>Previous on Parent</Button>
53
- )}
54
-
55
- {hasNext && (
56
- <Button onClick={handleNextClickOutside}>Next on Parent</Button>
57
- )}
58
- </div>
59
- </div>
60
- )
61
- };
62
-
63
- export const Primary = Template.bind({});
64
- Primary.args = {
65
- data: {
66
- "Id": "E985B66B-5EA4-4A6F-81B9-0B12CAA99343",
67
- "EvaluationCycleId": "A3FE0C73-E771-40BB-B87D-1E40597841A6",
68
- "QuestionnaireId": "4C15A0A0-7DDF-4952-810C-B46105807CB7",
69
- "UserId": "A200F4C5-8E41-41D4-A90C-B15EEC448517",
70
- "TargetUserId": "A200F4C5-8E41-41D4-A90C-B15EEC448517",
71
- "StartDate": 1678707055,
72
- "EndDate": 1679707055,
73
- "Status": "A",
74
- "CategoryAnswers": [
75
- {
76
- "Title": "Competências",
77
- "Key": "1",
78
- "Data": {
79
- "Id": "57A06838-67F9-4726-BC36-719A0C797484",
80
- "CategoryId": "CATEGORYID1",
81
- "CategoryName": "Competências",
82
- "OpenAnswer": false,
83
- "GeneralEvaluationLevel": 2,
84
- "Grade": "0",
85
- "Description": "Inserir resposta numa escala numérica entre 1 e 5, sendo que 1 corresponde a “Mau” e 5 corresponde a “Excelente”",
86
- "Score": "0.000",
87
- "Questions": [
88
- {
89
- "Id": "65562A64-A24B-425A-A345-560238CA2468",
90
- "QuestionId": "7D17A8A5-E299-47D3-AB49-684135DB23A3",
91
- "Subject": "Lorem ipsum dolor sit amet, consectetur adipiscing elit Lorem ipsum dolor sit amet, consectetur adipiscing elit",
92
- "Description": "This is a description",
93
- "Grade": "0",
94
- "Answer": null
95
- },
96
- {
97
- "Id": "85562A64-A24B-425A-A345-560238CA2468",
98
- "QuestionId": "8D17A8A5-E299-47D3-AB49-684135DB23A3",
99
- "Subject": "Lorem ipsum dolor sit amet, consectetur adipiscing elit Lorem ipsum dolor sit amet, consectetur adipiscing elitLorem ipsum dolor sit amet, consectetur adipiscing elit",
100
- "Description": "This is a description ",
101
- "Grade": "0",
102
- "Answer": null
103
- }
104
- ]
105
- }
106
- },
107
- {
108
- "Title": "Category 2",
109
- "Key": "2",
110
- "Data": {
111
- "Id": "57A06838-67F9-4726-BC36-719A0C797484",
112
- "CategoryId": "CATEGORYID2",
113
- "CategoryName": "Category 2",
114
- "OpenAnswer": false,
115
- "GeneralEvaluationLevel": 0,
116
- "Grade": "100",
117
- "Description": "This is a description",
118
- "Score": "0.000",
119
- "Questions": []
120
- },
121
- "Children": [
122
- {
123
- "Title": "Category 2.1",
124
- "Key": "2.1",
125
- "Data": {
126
- "Id": "57A06838-67F9-4726-BC36-719A0C797484",
127
- "CategoryId": "1CDED10D-0984-46D4-A9B3-7EC518D74A63",
128
- "CategoryName": "Category 2.1",
129
- "OpenAnswer": false,
130
- "GeneralEvaluationLevel": 0,
131
- "Grade": "50",
132
- "Description": "This is a description",
133
- "Score": "0.000",
134
- "Questions": []
135
- },
136
- "Children": [
137
- {
138
- "Title": "Category 2.1.1",
139
- "Key": "2.1.1",
140
- "Data": {
141
- "Id": "37A06838-67F9-4726-BC36-719A0C797484",
142
- "CategoryId": "3CDED10D-0984-46D4-A9B3-7EC518D74A63",
143
- "CategoryName": "Category 2.1.1",
144
- "OpenAnswer": false,
145
- "GeneralEvaluationLevel": 0,
146
- "Grade": "50",
147
- "Description": "This is a description",
148
- "Score": "0.000",
149
- "Questions": [
150
- {
151
- "Id": "365562A64-A24B-425A-A345-560238CA2468",
152
- "QuestionId": "3D17A8A5-E299-47D3-AB49-684135DB23A3",
153
- "Subject": "This is a Subject",
154
- "Description": "This is a description",
155
- "Grade": "50",
156
- "Answer": null
157
- },
158
- {
159
- "Id": "35562A64-A24B-425A-A345-560238CA2468",
160
- "QuestionId": "3D17A8A5-E299-47D3-AB49-684135DB23A3",
161
- "Subject": "This is a Subject",
162
- "Description": "This is a description",
163
- "Grade": "25",
164
- "Answer": null
165
- },
166
- {
167
- "Id": "35562A64-A24B-425A-A345-560238CA2468",
168
- "QuestionId": "3D17A8A5-E299-47D3-AB49-684135DB23A3",
169
- "Subject": "This is a Subject",
170
- "Description": "This is a description",
171
- "Grade": "25",
172
- "Answer": null
173
- }
174
- ]
175
- }
176
- }
177
- ]
178
- },
179
- {
180
- "Title": "Category 2.2",
181
- "Key": "2.2",
182
- "Data": {
183
- "Id": "57A06838-67F9-4726-BC36-719A0C797484",
184
- "CategoryId": "PCDED10D-0984-46D4-A9B3-7EC518D74A63",
185
- "CategoryName": "Category 2.2",
186
- "OpenAnswer": false,
187
- "GeneralEvaluationLevel": 0,
188
- "Grade": "50",
189
- "Description": "This is a description",
190
- "Score": "0.000",
191
- "Questions": [
192
- {
193
- "Id": "P5562A64-A24B-425A-A345-560238CA2468",
194
- "QuestionId": "PD17A8A5-E299-47D3-AB49-684135DB23A3",
195
- "Subject": "This is a Subject",
196
- "Description": "This is a description",
197
- "Grade": "50",
198
- "Answer": "2"
199
- },
200
- {
201
- "Id": "P5562A64-A24B-425A-A345-560238CA2468",
202
- "QuestionId": "PD17A8A5-E299-47D3-AB49-684135DB23A3",
203
- "Subject": "This is a Subject",
204
- "Description": "This is a description",
205
- "Grade": "50",
206
- "Answer": "5"
207
- }
208
- ]
209
- },
210
- "Children": []
211
- }
212
- ]
213
- },
214
- {
215
- "Title": "Category 3",
216
- "Key": "3",
217
- "Data": {
218
- "Id": "97A06838-67F9-4726-BC36-719A0C797484",
219
- "CategoryId": "CATEGORYID3",
220
- "CategoryName": "Category 3",
221
- "OpenAnswer": true,
222
- "GeneralEvaluationLevel": 0,
223
- "Grade": "0",
224
- "Description": "This is a description",
225
- "Score": "0.000",
226
- "Questions": [
227
- {
228
- "Id": "95562A64-A24B-425A-A345-560238CA2468",
229
- "QuestionId": "9D17A8A5-E299-47D3-AB49-684135DB23A3",
230
- "Subject": "This is a Subject",
231
- "Description": "This is a description",
232
- "Grade": "0",
233
- "Answer": null
234
- },
235
- {
236
- "Id": "93862A64-A24B-425A-A345-560238CA2468",
237
- "QuestionId": "9D38A8A5-E299-47D3-AB49-684135DB23A3",
238
- "Subject": "This is a Subject",
239
- "Description": "This is a description",
240
- "Grade": "0",
241
- "Answer": null
242
- }
243
- ]
244
- }
245
- },
246
- ]
247
- }
248
- };
249
-
250
-
251
-
1
+ import { Meta, Story } from "@storybook/react";
2
+ import { Button } from "components/Button";
3
+ import { useEffect, useRef, useState } from "react";
4
+ import { CategoryResponse } from '.';
5
+
6
+ export default {
7
+ title: 'CategoryResponse',
8
+ component: CategoryResponse,
9
+ } as Meta;
10
+
11
+ const Template: Story<any> = (args) => {
12
+ const [serverData, setServerData] = useState<any>();
13
+ const categoryResponseRef = useRef(null);
14
+ const [hasNext, setHasNext] = useState(true);
15
+ const [hasPrevious, setHasPrevious] = useState(false);
16
+
17
+ const handleNextCategoryAvailabilityChange = (hasNext: boolean) => {
18
+ setHasNext(hasNext);
19
+ };
20
+
21
+ const handlePreviousCategoryAvailabilityChange = (hasPrevious: boolean) => {
22
+ setHasPrevious(hasPrevious);
23
+ };
24
+
25
+ const handleNextClickOutside = () => {
26
+ (categoryResponseRef.current as any).handleNextClick();
27
+ }
28
+
29
+ const handlePreviousClickOutside = () => {
30
+ (categoryResponseRef.current as any).handlePreviousClick();
31
+ }
32
+
33
+ useEffect(() => {
34
+ console.log(serverData);
35
+ }, [serverData])
36
+
37
+ return (
38
+ <div style={{ height: '600px' }}>
39
+ <div>
40
+ <CategoryResponse
41
+ {...args}
42
+ serverReadyData={setServerData}
43
+ ref={categoryResponseRef}
44
+ onNextCategoryAvailabilityChange={handleNextCategoryAvailabilityChange}
45
+ onPreviousCategoryAvailabilityChange={handlePreviousCategoryAvailabilityChange}
46
+ >
47
+ </CategoryResponse>
48
+ </div>
49
+ <div>
50
+
51
+ {hasPrevious && (
52
+ <Button onClick={handlePreviousClickOutside}>Previous on Parent</Button>
53
+ )}
54
+
55
+ {hasNext && (
56
+ <Button onClick={handleNextClickOutside}>Next on Parent</Button>
57
+ )}
58
+ </div>
59
+ </div>
60
+ )
61
+ };
62
+
63
+ export const Primary = Template.bind({});
64
+ Primary.args = {
65
+ data: {
66
+ "Id": "E985B66B-5EA4-4A6F-81B9-0B12CAA99343",
67
+ "EvaluationCycleId": "A3FE0C73-E771-40BB-B87D-1E40597841A6",
68
+ "QuestionnaireId": "4C15A0A0-7DDF-4952-810C-B46105807CB7",
69
+ "UserId": "A200F4C5-8E41-41D4-A90C-B15EEC448517",
70
+ "TargetUserId": "A200F4C5-8E41-41D4-A90C-B15EEC448517",
71
+ "StartDate": 1678707055,
72
+ "EndDate": 1679707055,
73
+ "Status": "A",
74
+ "CategoryAnswers": [
75
+ {
76
+ "Title": "Competências",
77
+ "Key": "1",
78
+ "Data": {
79
+ "Id": "57A06838-67F9-4726-BC36-719A0C797484",
80
+ "CategoryId": "CATEGORYID1",
81
+ "CategoryName": "Competências",
82
+ "OpenAnswer": false,
83
+ "GeneralEvaluationLevel": 2,
84
+ "Grade": "0",
85
+ "Description": "Inserir resposta numa escala numérica entre 1 e 5, sendo que 1 corresponde a “Mau” e 5 corresponde a “Excelente”",
86
+ "Score": "0.000",
87
+ "Questions": [
88
+ {
89
+ "Id": "65562A64-A24B-425A-A345-560238CA2468",
90
+ "QuestionId": "7D17A8A5-E299-47D3-AB49-684135DB23A3",
91
+ "Subject": "Lorem ipsum dolor sit amet, consectetur adipiscing elit Lorem ipsum dolor sit amet, consectetur adipiscing elit",
92
+ "Description": "This is a description",
93
+ "Grade": "0",
94
+ "Answer": null
95
+ },
96
+ {
97
+ "Id": "85562A64-A24B-425A-A345-560238CA2468",
98
+ "QuestionId": "8D17A8A5-E299-47D3-AB49-684135DB23A3",
99
+ "Subject": "Lorem ipsum dolor sit amet, consectetur adipiscing elit Lorem ipsum dolor sit amet, consectetur adipiscing elitLorem ipsum dolor sit amet, consectetur adipiscing elit",
100
+ "Description": "This is a description ",
101
+ "Grade": "0",
102
+ "Answer": null
103
+ }
104
+ ]
105
+ }
106
+ },
107
+ {
108
+ "Title": "Category 2",
109
+ "Key": "2",
110
+ "Data": {
111
+ "Id": "57A06838-67F9-4726-BC36-719A0C797484",
112
+ "CategoryId": "CATEGORYID2",
113
+ "CategoryName": "Category 2",
114
+ "OpenAnswer": false,
115
+ "GeneralEvaluationLevel": 0,
116
+ "Grade": "100",
117
+ "Description": "This is a description",
118
+ "Score": "0.000",
119
+ "Questions": []
120
+ },
121
+ "Children": [
122
+ {
123
+ "Title": "Category 2.1",
124
+ "Key": "2.1",
125
+ "Data": {
126
+ "Id": "57A06838-67F9-4726-BC36-719A0C797484",
127
+ "CategoryId": "1CDED10D-0984-46D4-A9B3-7EC518D74A63",
128
+ "CategoryName": "Category 2.1",
129
+ "OpenAnswer": false,
130
+ "GeneralEvaluationLevel": 0,
131
+ "Grade": "50",
132
+ "Description": "This is a description",
133
+ "Score": "0.000",
134
+ "Questions": []
135
+ },
136
+ "Children": [
137
+ {
138
+ "Title": "Category 2.1.1",
139
+ "Key": "2.1.1",
140
+ "Data": {
141
+ "Id": "37A06838-67F9-4726-BC36-719A0C797484",
142
+ "CategoryId": "3CDED10D-0984-46D4-A9B3-7EC518D74A63",
143
+ "CategoryName": "Category 2.1.1",
144
+ "OpenAnswer": false,
145
+ "GeneralEvaluationLevel": 0,
146
+ "Grade": "50",
147
+ "Description": "This is a description",
148
+ "Score": "0.000",
149
+ "Questions": [
150
+ {
151
+ "Id": "365562A64-A24B-425A-A345-560238CA2468",
152
+ "QuestionId": "3D17A8A5-E299-47D3-AB49-684135DB23A3",
153
+ "Subject": "This is a Subject",
154
+ "Description": "This is a description",
155
+ "Grade": "50",
156
+ "Answer": null
157
+ },
158
+ {
159
+ "Id": "35562A64-A24B-425A-A345-560238CA2468",
160
+ "QuestionId": "3D17A8A5-E299-47D3-AB49-684135DB23A3",
161
+ "Subject": "This is a Subject",
162
+ "Description": "This is a description",
163
+ "Grade": "25",
164
+ "Answer": null
165
+ },
166
+ {
167
+ "Id": "35562A64-A24B-425A-A345-560238CA2468",
168
+ "QuestionId": "3D17A8A5-E299-47D3-AB49-684135DB23A3",
169
+ "Subject": "This is a Subject",
170
+ "Description": "This is a description",
171
+ "Grade": "25",
172
+ "Answer": null
173
+ }
174
+ ]
175
+ }
176
+ }
177
+ ]
178
+ },
179
+ {
180
+ "Title": "Category 2.2",
181
+ "Key": "2.2",
182
+ "Data": {
183
+ "Id": "57A06838-67F9-4726-BC36-719A0C797484",
184
+ "CategoryId": "PCDED10D-0984-46D4-A9B3-7EC518D74A63",
185
+ "CategoryName": "Category 2.2",
186
+ "OpenAnswer": false,
187
+ "GeneralEvaluationLevel": 0,
188
+ "Grade": "50",
189
+ "Description": "This is a description",
190
+ "Score": "0.000",
191
+ "Questions": [
192
+ {
193
+ "Id": "P5562A64-A24B-425A-A345-560238CA2468",
194
+ "QuestionId": "PD17A8A5-E299-47D3-AB49-684135DB23A3",
195
+ "Subject": "This is a Subject",
196
+ "Description": "This is a description",
197
+ "Grade": "50",
198
+ "Answer": "2"
199
+ },
200
+ {
201
+ "Id": "P5562A64-A24B-425A-A345-560238CA2468",
202
+ "QuestionId": "PD17A8A5-E299-47D3-AB49-684135DB23A3",
203
+ "Subject": "This is a Subject",
204
+ "Description": "This is a description",
205
+ "Grade": "50",
206
+ "Answer": "5"
207
+ }
208
+ ]
209
+ },
210
+ "Children": []
211
+ }
212
+ ]
213
+ },
214
+ {
215
+ "Title": "Category 3",
216
+ "Key": "3",
217
+ "Data": {
218
+ "Id": "97A06838-67F9-4726-BC36-719A0C797484",
219
+ "CategoryId": "CATEGORYID3",
220
+ "CategoryName": "Category 3",
221
+ "OpenAnswer": true,
222
+ "GeneralEvaluationLevel": 0,
223
+ "Grade": "0",
224
+ "Description": "This is a description",
225
+ "Score": "0.000",
226
+ "Questions": [
227
+ {
228
+ "Id": "95562A64-A24B-425A-A345-560238CA2468",
229
+ "QuestionId": "9D17A8A5-E299-47D3-AB49-684135DB23A3",
230
+ "Subject": "This is a Subject",
231
+ "Description": "This is a description",
232
+ "Grade": "0",
233
+ "Answer": null
234
+ },
235
+ {
236
+ "Id": "93862A64-A24B-425A-A345-560238CA2468",
237
+ "QuestionId": "9D38A8A5-E299-47D3-AB49-684135DB23A3",
238
+ "Subject": "This is a Subject",
239
+ "Description": "This is a description",
240
+ "Grade": "0",
241
+ "Answer": null
242
+ }
243
+ ]
244
+ }
245
+ },
246
+ ]
247
+ }
248
+ };
249
+
250
+
251
+