pict-section-form 1.0.144 → 1.0.146
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/.config/code-server/config.yaml +4 -0
- package/.vscode/settings.json +1 -1
- package/Dockerfile_LUXURYCode +31 -0
- package/debug/BuildHarnessTestApp.sh +1 -0
- package/debug/Harness.js +12 -3
- package/debug/PICTSection-TabularManifests.json +164 -38
- package/debug/Step-4-ConvertToCSV.js +3 -0
- package/debug/TabularManifestCSV.csv +70 -69
- package/debug/data/DefaultFormManifest.json +164 -38
- package/debug/data/MathExampleForm-Reconstituted.csv +70 -0
- package/debug/data/MathExampleForm.json +164 -38
- package/debug/data/index.html +2 -0
- package/package.json +7 -4
- package/source/Pict-Section-Form.js +1 -0
- package/source/providers/Pict-Provider-DynamicTabularData.js +60 -41
- package/source/services/ManifestConversionToCSV.js +657 -0
- package/source/services/ManifestFactory.js +39 -2
- package/source/views/Pict-View-DynamicForm.js +13 -1
- package/types/source/Pict-Section-Form.d.ts +1 -0
- package/types/source/providers/Pict-Provider-DynamicTabularData.d.ts.map +1 -1
- package/types/source/services/ManifestConversionToCSV.d.ts +17 -0
- package/types/source/services/ManifestConversionToCSV.d.ts.map +1 -0
- package/types/source/services/ManifestFactory.d.ts.map +1 -1
- package/types/source/views/Pict-View-DynamicForm.d.ts +5 -0
- package/types/source/views/Pict-View-DynamicForm.d.ts.map +1 -1
- package/utility/csvparser/ParseCSV-Program.js +2 -1
- package/utility/csvparser/ParseJSON-Command-GenerateCSV.js +116 -0
package/.vscode/settings.json
CHANGED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Use the codercom/code-server image
|
|
2
|
+
FROM codercom/code-server:latest
|
|
3
|
+
LABEL org.opencontainers.image.authors="steven@velozo.com"
|
|
4
|
+
|
|
5
|
+
VOLUME /home/coder/.config
|
|
6
|
+
VOLUME /home/coder/.vscode
|
|
7
|
+
|
|
8
|
+
RUN echo "...installing debian dependencies..."
|
|
9
|
+
RUN sudo apt update
|
|
10
|
+
RUN sudo apt install vim curl tmux -y
|
|
11
|
+
|
|
12
|
+
RUN echo "Building development image..."
|
|
13
|
+
|
|
14
|
+
RUN echo "...mapping library specific volumes..."
|
|
15
|
+
|
|
16
|
+
# Volume mapping for code
|
|
17
|
+
VOLUME /home/coder/pict-section-form
|
|
18
|
+
|
|
19
|
+
SHELL ["/bin/bash", "-c"]
|
|
20
|
+
USER coder
|
|
21
|
+
|
|
22
|
+
RUN echo "...installing node version manager..."
|
|
23
|
+
# Because there is a .bashrc chicken/egg problem, we will create one here to simulate logging in. This is not great.
|
|
24
|
+
RUN touch ~/.bashrc && chmod +x ~/.bashrc
|
|
25
|
+
RUN curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
|
|
26
|
+
|
|
27
|
+
RUN echo "...installing node version 14 as the default..."
|
|
28
|
+
RUN . ~/.nvm/nvm.sh && source ~/.bashrc && nvm install 20
|
|
29
|
+
RUN . ~/.nvm/nvm.sh && source ~/.bashrc && nvm alias default 20
|
|
30
|
+
|
|
31
|
+
WORKDIR /home/coder/pict-section-form
|
package/debug/Harness.js
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
|
-
const libParseCSV = require('../utility/csvparser/ParseCSV-Program.js');
|
|
1
|
+
// const libParseCSV = require('../utility/csvparser/ParseCSV-Program.js');
|
|
2
2
|
|
|
3
3
|
// This command takes the `TabularManifestCSV.csv` file and imports it into a JSON file
|
|
4
4
|
//libParseCSV.run(['node', 'Harness.js', 'import']);
|
|
5
5
|
// This command takes the `data/MathExampleForm.json` file and injects any sidecare files in the `input_data` folder into the JSON file
|
|
6
|
-
libParseCSV.run(['node', 'Harness.js', 'inject']);
|
|
7
|
-
//libParseCSV.run(['node', 'Harness.js', 'intersect']);
|
|
6
|
+
//libParseCSV.run(['node', 'Harness.js', 'inject']);
|
|
7
|
+
//libParseCSV.run(['node', 'Harness.js', 'intersect']);
|
|
8
|
+
//libParseCSV.run(['node', 'Harness.js', 'converttocsv', 'data/MathExampleForm.json', '-o', 'data/MathExampleForm-Reconstituted.csv', '-d', 'data/']);
|
|
9
|
+
|
|
10
|
+
const libStep1 = require('./Step-1-GenerateJSON.js');
|
|
11
|
+
|
|
12
|
+
// const libStep2 = require('./Step-2-InjectContent.js');
|
|
13
|
+
|
|
14
|
+
// const libStep3 = require('./Step-3-BuildDistilling.js');
|
|
15
|
+
|
|
16
|
+
// const libStep4 = require('./Step-4-ConvertToCSV.js');
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
"InputType": "Option",
|
|
60
60
|
"Row": "3",
|
|
61
61
|
"Width": "6",
|
|
62
|
+
"Units": "planetary",
|
|
62
63
|
"Section": "Header",
|
|
63
64
|
"Group": "General_Info"
|
|
64
65
|
}
|
|
@@ -72,6 +73,7 @@
|
|
|
72
73
|
"InputType": "Option",
|
|
73
74
|
"Row": "3",
|
|
74
75
|
"Width": "6",
|
|
76
|
+
"Units": "planetary",
|
|
75
77
|
"Section": "Header",
|
|
76
78
|
"Group": "General_Info"
|
|
77
79
|
}
|
|
@@ -89,17 +91,28 @@
|
|
|
89
91
|
},
|
|
90
92
|
"Default": "50000"
|
|
91
93
|
},
|
|
92
|
-
"
|
|
93
|
-
"Hash": "
|
|
94
|
-
"Name": "
|
|
95
|
-
"DataAddress": "
|
|
94
|
+
"BookData.CurrentIDBook": {
|
|
95
|
+
"Hash": "CurrentIDBook",
|
|
96
|
+
"Name": "IDBook",
|
|
97
|
+
"DataAddress": "BookData.CurrentIDBook",
|
|
96
98
|
"DataType": "Number",
|
|
97
99
|
"PictForm": {
|
|
98
100
|
"Row": "1",
|
|
99
101
|
"Width": "6",
|
|
100
|
-
"SpreadsheetNotes": "
|
|
101
|
-
"
|
|
102
|
-
|
|
102
|
+
"SpreadsheetNotes": "Book from REST request",
|
|
103
|
+
"Providers": [
|
|
104
|
+
"Pict-Input-AutofillTriggerGroup"
|
|
105
|
+
],
|
|
106
|
+
"EntitiesBundle": [
|
|
107
|
+
{
|
|
108
|
+
"Entity": "Book",
|
|
109
|
+
"Filter": "FBV~IDBook~EQ~{~D:Record.Value~}",
|
|
110
|
+
"Destination": "LoadedBook",
|
|
111
|
+
"SingleRecord": false
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
"Section": "REST_Request",
|
|
115
|
+
"Group": "Book_Data"
|
|
103
116
|
}
|
|
104
117
|
},
|
|
105
118
|
"HelpContent.Math": {
|
|
@@ -149,9 +162,11 @@
|
|
|
149
162
|
"PictForm": {
|
|
150
163
|
"Row": "2",
|
|
151
164
|
"Width": "3",
|
|
165
|
+
"Units": "unrounded",
|
|
152
166
|
"Section": "Basic_Geometry",
|
|
153
167
|
"Group": "BasicGeoGrp"
|
|
154
|
-
}
|
|
168
|
+
},
|
|
169
|
+
"Description": "Area of the Rectangle."
|
|
155
170
|
},
|
|
156
171
|
"Geometry.Rectangle.AreaRoundedDefault": {
|
|
157
172
|
"Hash": "RectangleAreaRoundedDefault",
|
|
@@ -161,6 +176,7 @@
|
|
|
161
176
|
"PictForm": {
|
|
162
177
|
"Row": "2",
|
|
163
178
|
"Width": "3",
|
|
179
|
+
"Units": "default",
|
|
164
180
|
"Section": "Basic_Geometry",
|
|
165
181
|
"Group": "BasicGeoGrp"
|
|
166
182
|
}
|
|
@@ -173,6 +189,7 @@
|
|
|
173
189
|
"PictForm": {
|
|
174
190
|
"Row": "2",
|
|
175
191
|
"Width": "3",
|
|
192
|
+
"Units": "3",
|
|
176
193
|
"Section": "Basic_Geometry",
|
|
177
194
|
"Group": "BasicGeoGrp"
|
|
178
195
|
}
|
|
@@ -185,6 +202,7 @@
|
|
|
185
202
|
"PictForm": {
|
|
186
203
|
"Row": "2",
|
|
187
204
|
"Width": "3",
|
|
205
|
+
"Units": "5",
|
|
188
206
|
"Section": "Basic_Geometry",
|
|
189
207
|
"Group": "BasicGeoGrp"
|
|
190
208
|
}
|
|
@@ -197,6 +215,7 @@
|
|
|
197
215
|
"PictForm": {
|
|
198
216
|
"Row": "1",
|
|
199
217
|
"Width": "12",
|
|
218
|
+
"DecimalPrecision": 4,
|
|
200
219
|
"Section": "Basic_Geometry",
|
|
201
220
|
"Group": "Circle"
|
|
202
221
|
},
|
|
@@ -210,6 +229,7 @@
|
|
|
210
229
|
"PictForm": {
|
|
211
230
|
"Row": "2",
|
|
212
231
|
"Width": "3",
|
|
232
|
+
"Units": "unrounded",
|
|
213
233
|
"Section": "Basic_Geometry",
|
|
214
234
|
"Group": "Circle"
|
|
215
235
|
}
|
|
@@ -222,6 +242,7 @@
|
|
|
222
242
|
"PictForm": {
|
|
223
243
|
"Row": "2",
|
|
224
244
|
"Width": "3",
|
|
245
|
+
"Units": "default",
|
|
225
246
|
"Section": "Basic_Geometry",
|
|
226
247
|
"Group": "Circle"
|
|
227
248
|
}
|
|
@@ -234,6 +255,7 @@
|
|
|
234
255
|
"PictForm": {
|
|
235
256
|
"Row": "2",
|
|
236
257
|
"Width": "3",
|
|
258
|
+
"Units": "4",
|
|
237
259
|
"Section": "Basic_Geometry",
|
|
238
260
|
"Group": "Circle"
|
|
239
261
|
}
|
|
@@ -246,6 +268,7 @@
|
|
|
246
268
|
"PictForm": {
|
|
247
269
|
"Row": "2",
|
|
248
270
|
"Width": "3",
|
|
271
|
+
"Units": "6",
|
|
249
272
|
"Section": "Basic_Geometry",
|
|
250
273
|
"Group": "Circle"
|
|
251
274
|
}
|
|
@@ -254,25 +277,17 @@
|
|
|
254
277
|
"Hash": "Boxes",
|
|
255
278
|
"Name": "Boxes",
|
|
256
279
|
"DataAddress": "Boxes",
|
|
257
|
-
"DataType": "Array"
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
"Hash": "BoxesFloorspaceSet",
|
|
261
|
-
"Name": "BoxesFloorspaceSet",
|
|
262
|
-
"DataAddress": "Boxes[].Floorspace",
|
|
263
|
-
"DataType": "Number"
|
|
280
|
+
"DataType": "Array",
|
|
281
|
+
"FormGroup": "BoxCollGrp",
|
|
282
|
+
"FormSection": "BoxCollSec"
|
|
264
283
|
},
|
|
265
|
-
"
|
|
266
|
-
"Hash": "
|
|
267
|
-
"Name": "
|
|
268
|
-
"DataAddress": "
|
|
269
|
-
"DataType": "
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
"Hash": "BoxesDepthSet",
|
|
273
|
-
"Name": "BoxesDepthSet",
|
|
274
|
-
"DataAddress": "Boxes[].Depth",
|
|
275
|
-
"DataType": "Number"
|
|
284
|
+
"BoxDecorationSet": {
|
|
285
|
+
"Hash": "BoxDecorationSet",
|
|
286
|
+
"Name": "BoxDecorationSet",
|
|
287
|
+
"DataAddress": "BoxDecorationSet",
|
|
288
|
+
"DataType": "Array",
|
|
289
|
+
"FormGroup": "BoxDecorationGroup",
|
|
290
|
+
"FormSection": "BoxDecroations"
|
|
276
291
|
},
|
|
277
292
|
"BoxAggregate.Count": {
|
|
278
293
|
"Hash": "BoxesCount",
|
|
@@ -478,6 +493,7 @@
|
|
|
478
493
|
"PictForm": {
|
|
479
494
|
"Row": "1",
|
|
480
495
|
"Width": "4",
|
|
496
|
+
"Tooltip": "The PR is *very* important.",
|
|
481
497
|
"Section": "Complex_Equation",
|
|
482
498
|
"Group": "Complex_Equation"
|
|
483
499
|
},
|
|
@@ -491,6 +507,7 @@
|
|
|
491
507
|
"PictForm": {
|
|
492
508
|
"Row": "1",
|
|
493
509
|
"Width": "4",
|
|
510
|
+
"Tooltip": "Z _is not_ the z-index.",
|
|
494
511
|
"Section": "Complex_Equation",
|
|
495
512
|
"Group": "Complex_Equation"
|
|
496
513
|
},
|
|
@@ -504,6 +521,7 @@
|
|
|
504
521
|
"PictForm": {
|
|
505
522
|
"Row": "1",
|
|
506
523
|
"Width": "4",
|
|
524
|
+
"Tooltip": "C is the universal constant.",
|
|
507
525
|
"Section": "Complex_Equation",
|
|
508
526
|
"Group": "Complex_Equation"
|
|
509
527
|
},
|
|
@@ -537,13 +555,17 @@
|
|
|
537
555
|
"Hash": "Rectangles",
|
|
538
556
|
"Name": "Rectangles",
|
|
539
557
|
"DataAddress": "Rectangle",
|
|
540
|
-
"DataType": "Array"
|
|
558
|
+
"DataType": "Array",
|
|
559
|
+
"FormGroup": "Rectangle_Set",
|
|
560
|
+
"FormSection": "Rectangle_Aggregation"
|
|
541
561
|
},
|
|
542
562
|
"Cylinders": {
|
|
543
563
|
"Hash": "Cylinders",
|
|
544
564
|
"Name": "Cylinders",
|
|
545
565
|
"DataAddress": "Cylinders",
|
|
546
|
-
"DataType": "Array"
|
|
566
|
+
"DataType": "Array",
|
|
567
|
+
"FormGroup": "Cylinders",
|
|
568
|
+
"FormSection": "Cylinders"
|
|
547
569
|
},
|
|
548
570
|
"Listopia.Filters.Colour": {
|
|
549
571
|
"Hash": "ColourFilter",
|
|
@@ -633,13 +655,13 @@
|
|
|
633
655
|
]
|
|
634
656
|
},
|
|
635
657
|
{
|
|
636
|
-
"Name": "
|
|
637
|
-
"Hash": "
|
|
658
|
+
"Name": "REST Request",
|
|
659
|
+
"Hash": "REST_Request",
|
|
638
660
|
"Solvers": [],
|
|
639
661
|
"Groups": [
|
|
640
662
|
{
|
|
641
|
-
"Name": "
|
|
642
|
-
"Hash": "
|
|
663
|
+
"Name": "Book Data",
|
|
664
|
+
"Hash": "Book_Data",
|
|
643
665
|
"Rows": [],
|
|
644
666
|
"RecordSetSolvers": []
|
|
645
667
|
}
|
|
@@ -708,14 +730,41 @@
|
|
|
708
730
|
}
|
|
709
731
|
]
|
|
710
732
|
},
|
|
733
|
+
{
|
|
734
|
+
"Name": "Box Decoration",
|
|
735
|
+
"Hash": "BoxDecroations",
|
|
736
|
+
"Solvers": [],
|
|
737
|
+
"Groups": [
|
|
738
|
+
{
|
|
739
|
+
"Name": "Box Decorations",
|
|
740
|
+
"Hash": "BoxDecorationGroup",
|
|
741
|
+
"Rows": [],
|
|
742
|
+
"RecordSetSolvers": [],
|
|
743
|
+
"HideTabularEditingControls": true,
|
|
744
|
+
"ShowTitle": true,
|
|
745
|
+
"Layout": "Tabular",
|
|
746
|
+
"RecordSetAddress": "Boxes",
|
|
747
|
+
"RecordManifest": "BoxCollectionSecondaryTable"
|
|
748
|
+
}
|
|
749
|
+
]
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"Name": "Box Decoration",
|
|
753
|
+
"Hash": "BoxDecorations",
|
|
754
|
+
"Solvers": [],
|
|
755
|
+
"Groups": [
|
|
756
|
+
{
|
|
757
|
+
"Name": "Box Decorations",
|
|
758
|
+
"Hash": "BoxDecorationGroup",
|
|
759
|
+
"Rows": [],
|
|
760
|
+
"RecordSetSolvers": []
|
|
761
|
+
}
|
|
762
|
+
]
|
|
763
|
+
},
|
|
711
764
|
{
|
|
712
765
|
"Name": "Box Summary Data",
|
|
713
766
|
"Hash": "Box_Summary_Data",
|
|
714
767
|
"Solvers": [
|
|
715
|
-
{
|
|
716
|
-
"Ordinal": 10,
|
|
717
|
-
"Expression": "SUBTRACTINGSUMMATION(Boxes, \"Volume\", \"WarehouseSpaceLeft\", GETVALUE(\"AppData.Header.WarehouseVolume\"))"
|
|
718
|
-
},
|
|
719
768
|
"BoxesCount = COUNT(BoxesFloorspaceSet)",
|
|
720
769
|
"BoxesAverageFloorspace = AVG(BoxesFloorspaceSet)",
|
|
721
770
|
"BoxesTotalFloorspace = SUM(BoxesFloorspaceSet)",
|
|
@@ -817,7 +866,8 @@
|
|
|
817
866
|
"Name": "Occlusion Lists",
|
|
818
867
|
"Hash": "OcclusionLists",
|
|
819
868
|
"Rows": [],
|
|
820
|
-
"RecordSetSolvers": []
|
|
869
|
+
"RecordSetSolvers": [],
|
|
870
|
+
"CSSClass": "CustomCSSClass"
|
|
821
871
|
}
|
|
822
872
|
]
|
|
823
873
|
}
|
|
@@ -966,6 +1016,78 @@
|
|
|
966
1016
|
"Sections": [],
|
|
967
1017
|
"ReferenceManifests": {}
|
|
968
1018
|
},
|
|
1019
|
+
"BoxCollectionSecondaryTable": {
|
|
1020
|
+
"Scope": "BoxCollectionSecondaryTable",
|
|
1021
|
+
"Descriptors": {
|
|
1022
|
+
"Identifier": {
|
|
1023
|
+
"Hash": "BoxIdentifier",
|
|
1024
|
+
"Name": "Identifier",
|
|
1025
|
+
"DataAddress": "Identifier",
|
|
1026
|
+
"DataType": "String",
|
|
1027
|
+
"PictForm": {
|
|
1028
|
+
"InputType": "DataOnly",
|
|
1029
|
+
"Row": "1",
|
|
1030
|
+
"Width": "1",
|
|
1031
|
+
"Providers": [
|
|
1032
|
+
"Pict-Input-AutofillTriggerGroup"
|
|
1033
|
+
],
|
|
1034
|
+
"AutofillTriggerGroup": {
|
|
1035
|
+
"TriggerGroupHash": "Box",
|
|
1036
|
+
"MarshalEmptyValues": false,
|
|
1037
|
+
"TriggerAllInputs": true
|
|
1038
|
+
},
|
|
1039
|
+
"Section": "BoxDecorations",
|
|
1040
|
+
"Group": "BoxDecorationGroup"
|
|
1041
|
+
},
|
|
1042
|
+
"IsTabular": true
|
|
1043
|
+
},
|
|
1044
|
+
"Volume": {
|
|
1045
|
+
"Hash": "BoxVolume",
|
|
1046
|
+
"Name": "Volume",
|
|
1047
|
+
"DataAddress": "Volume",
|
|
1048
|
+
"DataType": "PreciseNumber",
|
|
1049
|
+
"PictForm": {
|
|
1050
|
+
"InputType": "DataOnly",
|
|
1051
|
+
"Row": "1",
|
|
1052
|
+
"Width": "1",
|
|
1053
|
+
"Providers": [
|
|
1054
|
+
"Pict-Input-AutofillTriggerGroup"
|
|
1055
|
+
],
|
|
1056
|
+
"AutofillTriggerGroup": {
|
|
1057
|
+
"TriggerGroupHash": "Box",
|
|
1058
|
+
"MarshalEmptyValues": false,
|
|
1059
|
+
"TriggerAllInputs": true
|
|
1060
|
+
},
|
|
1061
|
+
"Section": "BoxDecorations",
|
|
1062
|
+
"Group": "BoxDecorationGroup"
|
|
1063
|
+
},
|
|
1064
|
+
"IsTabular": true
|
|
1065
|
+
},
|
|
1066
|
+
"DecorativeText": {
|
|
1067
|
+
"Hash": "DecorativeText",
|
|
1068
|
+
"Name": "Decorative Text",
|
|
1069
|
+
"DataAddress": "DecorativeText",
|
|
1070
|
+
"DataType": "String",
|
|
1071
|
+
"PictForm": {
|
|
1072
|
+
"Row": "1",
|
|
1073
|
+
"Width": "1",
|
|
1074
|
+
"Providers": [
|
|
1075
|
+
"Pict-Input-AutofillTriggerGroup"
|
|
1076
|
+
],
|
|
1077
|
+
"AutofillTriggerGroup": {
|
|
1078
|
+
"TriggerGroupHash": "Box",
|
|
1079
|
+
"MarshalEmptyValues": false,
|
|
1080
|
+
"TriggerAllInputs": true
|
|
1081
|
+
},
|
|
1082
|
+
"Section": "BoxDecorations",
|
|
1083
|
+
"Group": "BoxDecorationGroup"
|
|
1084
|
+
},
|
|
1085
|
+
"IsTabular": true
|
|
1086
|
+
}
|
|
1087
|
+
},
|
|
1088
|
+
"Sections": [],
|
|
1089
|
+
"ReferenceManifests": {}
|
|
1090
|
+
},
|
|
969
1091
|
"Rectangles": {
|
|
970
1092
|
"Scope": "Rectangles",
|
|
971
1093
|
"Descriptors": {
|
|
@@ -990,6 +1112,7 @@
|
|
|
990
1112
|
"PictForm": {
|
|
991
1113
|
"Row": "1",
|
|
992
1114
|
"Width": "1",
|
|
1115
|
+
"Units": "meters",
|
|
993
1116
|
"Section": "Rectangle_Aggregation",
|
|
994
1117
|
"Group": "Rectangle_Set"
|
|
995
1118
|
},
|
|
@@ -1003,6 +1126,7 @@
|
|
|
1003
1126
|
"PictForm": {
|
|
1004
1127
|
"Row": "1",
|
|
1005
1128
|
"Width": "1",
|
|
1129
|
+
"Units": "meters",
|
|
1006
1130
|
"Section": "Rectangle_Aggregation",
|
|
1007
1131
|
"Group": "Rectangle_Set"
|
|
1008
1132
|
},
|
|
@@ -1062,6 +1186,7 @@
|
|
|
1062
1186
|
"PictForm": {
|
|
1063
1187
|
"Row": "1",
|
|
1064
1188
|
"Width": "1",
|
|
1189
|
+
"DecimalPrecision": 2,
|
|
1065
1190
|
"Section": "Cylinders",
|
|
1066
1191
|
"Group": "Cylinders"
|
|
1067
1192
|
},
|
|
@@ -1110,6 +1235,7 @@
|
|
|
1110
1235
|
"Sections": [],
|
|
1111
1236
|
"ReferenceManifests": {}
|
|
1112
1237
|
}
|
|
1113
|
-
}
|
|
1238
|
+
},
|
|
1239
|
+
"FormName": "Math Example Form"
|
|
1114
1240
|
}
|
|
1115
1241
|
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
const libParseCSV = require('../utility/csvparser/ParseCSV-Program.js');
|
|
2
|
+
// This command takes the `data/MathExampleForm.json` file and injects any sidecar files in the `input_data` folder into the JSON file
|
|
3
|
+
libParseCSV.run(['node', 'Harness.js', 'converttocsv', 'data/MathExampleForm.json', '-o', 'data/MathExampleForm-Reconstituted.csv', '-d', 'data/']);
|