pict-section-form 1.0.162 → 1.0.163
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/debug/BuildHarnessTestApp.sh +1 -1
- package/debug/PICTSection-TabularManifests.json +28 -16
- package/debug/TabularManifestCSV.csv +4 -3
- package/debug/data/DefaultFormManifest.json +28 -16
- package/debug/data/MathExampleForm-Reconstituted.csv +17 -16
- package/debug/data/MathExampleForm.json +28 -16
- package/package.json +2 -2
- package/source/providers/Pict-Provider-DynamicTabularData.js +6 -7
- package/source/providers/dynamictemplates/Pict-DynamicTemplates-DefaultFormTemplates.js +1 -1
|
@@ -311,7 +311,7 @@
|
|
|
311
311
|
"DataAddress": "BoxDecorationSet",
|
|
312
312
|
"DataType": "Array",
|
|
313
313
|
"FormGroup": "BoxDecorationGroup",
|
|
314
|
-
"FormSection": "
|
|
314
|
+
"FormSection": "BoxDecorations"
|
|
315
315
|
},
|
|
316
316
|
"Boxes[].Floorspace": {
|
|
317
317
|
"Hash": "BoxesFloorspaceSet",
|
|
@@ -809,14 +809,16 @@
|
|
|
809
809
|
},
|
|
810
810
|
{
|
|
811
811
|
"Name": "Box Decoration",
|
|
812
|
-
"Hash": "
|
|
812
|
+
"Hash": "BoxDecorations",
|
|
813
813
|
"Solvers": [],
|
|
814
814
|
"Groups": [
|
|
815
815
|
{
|
|
816
816
|
"Name": "Box Decorations",
|
|
817
817
|
"Hash": "BoxDecorationGroup",
|
|
818
818
|
"Rows": [],
|
|
819
|
-
"RecordSetSolvers": [
|
|
819
|
+
"RecordSetSolvers": [
|
|
820
|
+
"VolumeLessTen = BoxVolume - 10"
|
|
821
|
+
],
|
|
820
822
|
"HideTabularEditingControls": true,
|
|
821
823
|
"ShowTitle": true,
|
|
822
824
|
"Layout": "Tabular",
|
|
@@ -825,23 +827,11 @@
|
|
|
825
827
|
}
|
|
826
828
|
]
|
|
827
829
|
},
|
|
828
|
-
{
|
|
829
|
-
"Name": "Box Decoration",
|
|
830
|
-
"Hash": "BoxDecorations",
|
|
831
|
-
"Solvers": [],
|
|
832
|
-
"Groups": [
|
|
833
|
-
{
|
|
834
|
-
"Name": "Box Decorations",
|
|
835
|
-
"Hash": "BoxDecorationGroup",
|
|
836
|
-
"Rows": [],
|
|
837
|
-
"RecordSetSolvers": []
|
|
838
|
-
}
|
|
839
|
-
]
|
|
840
|
-
},
|
|
841
830
|
{
|
|
842
831
|
"Name": "Box Summary Data",
|
|
843
832
|
"Hash": "Box_Summary_Data",
|
|
844
833
|
"Solvers": [
|
|
834
|
+
"MAP VAR row FROM Boxes: ColorInputBackgroundTabular(\"BoxDecorations\", \"BoxDecorationGroup\", \"VolumeLessTen\", stepIndex, \"#FFCCCC\", 1)",
|
|
845
835
|
"BoxesCount = COUNT(BoxesFloorspaceSet)",
|
|
846
836
|
"BoxesAverageFloorspace = AVG(BoxesFloorspaceSet)",
|
|
847
837
|
"BoxesTotalFloorspace = SUM(BoxesFloorspaceSet)",
|
|
@@ -1140,6 +1130,28 @@
|
|
|
1140
1130
|
},
|
|
1141
1131
|
"IsTabular": true
|
|
1142
1132
|
},
|
|
1133
|
+
"VolumeLessTen": {
|
|
1134
|
+
"Hash": "VolumeLessTen",
|
|
1135
|
+
"Name": "VolumeLessTen",
|
|
1136
|
+
"DataAddress": "VolumeLessTen",
|
|
1137
|
+
"DataType": "PreciseNumber",
|
|
1138
|
+
"PictForm": {
|
|
1139
|
+
"InputType": "DataOnly",
|
|
1140
|
+
"Row": "1",
|
|
1141
|
+
"Width": "1",
|
|
1142
|
+
"Providers": [
|
|
1143
|
+
"Pict-Input-AutofillTriggerGroup"
|
|
1144
|
+
],
|
|
1145
|
+
"AutofillTriggerGroup": {
|
|
1146
|
+
"TriggerGroupHash": "Box",
|
|
1147
|
+
"MarshalEmptyValues": false,
|
|
1148
|
+
"TriggerAllInputs": true
|
|
1149
|
+
},
|
|
1150
|
+
"Section": "BoxDecorations",
|
|
1151
|
+
"Group": "BoxDecorationGroup"
|
|
1152
|
+
},
|
|
1153
|
+
"IsTabular": true
|
|
1154
|
+
},
|
|
1143
1155
|
"DecorativeText": {
|
|
1144
1156
|
"Hash": "DecorativeText",
|
|
1145
1157
|
"Name": "Decorative Text",
|
|
@@ -29,11 +29,12 @@ MathExampleForm,,BoxCollectionData,,,,Box Collection,BoxCollSec,Boxes,BoxCollGrp
|
|
|
29
29
|
MathExampleForm,,BoxCollectionData,,,,Box Collection,BoxCollSec,Boxes,BoxCollGrp,,,,1,1,,,Floorspace,Floorspace,BoxFloorspace,,,Number,,,BoxFloorspace = BoxWidth * BoxDepth,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
|
30
30
|
MathExampleForm,,BoxCollectionData,,,,Box Collection,BoxCollSec,Boxes,BoxCollGrp,,,,1,1,,,Volume,Volume,BoxVolume,,,Number,,,BoxVolume = BoxFloorspace * BoxHeight,,,,,,,,,,Box,,true,,,,,,,,,,,,,,,,,,,,,
|
|
31
31
|
MathExampleForm,,BoxCollectionData,,,,Box Collection,BoxCollSec,Boxes,BoxCollGrp,,,,1,1,,,WarehouseSpaceLeft,Warehouse Space Left,WarehouseSpaceLeft,,,Number,,,,,,,,,,,,,Box,,true,,,,,,,,,,,,,,,,,,,,,
|
|
32
|
-
MathExampleForm,,BoxCollectionSecondaryTable,1,Boxes,1,Box Decoration,
|
|
32
|
+
MathExampleForm,,BoxCollectionSecondaryTable,1,Boxes,1,Box Decoration,BoxDecorations,Box Decorations,BoxDecorationGroup,,,true,1,1,,,BoxDecorationSet,BoxDecorationSet,BoxDecorationSet,,,Array,,TabularAddress,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
|
33
33
|
MathExampleForm,,BoxCollectionSecondaryTable,,,,Box Decoration,BoxDecorations,Box Decorations,BoxDecorationGroup,,,,1,1,,,Identifier,Identifier,BoxIdentifier,,,String,,DataOnly,,,,,,,,,,,Box,,X,,,,,,,,,,,,,,,,,,,,,
|
|
34
|
-
MathExampleForm,,BoxCollectionSecondaryTable,,,,Box Decoration,BoxDecorations,Box Decorations,BoxDecorationGroup,,,,1,1,,,Volume,Volume,BoxVolume,,,PreciseNumber,,DataOnly
|
|
34
|
+
MathExampleForm,,BoxCollectionSecondaryTable,,,,Box Decoration,BoxDecorations,Box Decorations,BoxDecorationGroup,,,,1,1,,,Volume,Volume,BoxVolume,,,PreciseNumber,,DataOnly,VolumeLessTen = BoxVolume - 10,,,,,,,,,,Box,,X,,,,,,,,,,,,,,,,,,,,,
|
|
35
|
+
MathExampleForm,,BoxCollectionSecondaryTable,,,,Box Decoration,BoxDecorations,Box Decorations,BoxDecorationGroup,,,,1,1,,,VolumeLessTen,VolumeLessTen,VolumeLessTen,,,PreciseNumber,,DataOnly,,,,,,,,,,,Box,,X,,,,,,,,,,,,,,,,,,,,,
|
|
35
36
|
MathExampleForm,,BoxCollectionSecondaryTable,,,,Box Decoration,BoxDecorations,Box Decorations,BoxDecorationGroup,,,,1,1,,,DecorativeText,Decorative Text,DecorativeText,,,String,,,,,,,,,,,,,Box,,X,,,,,,,,,,,,,,,,,,,,,
|
|
36
|
-
MathExampleForm,,,,,1,Box Summary Data,,Box Summary Data,,,,,1,1,,,Boxes[].Floorspace,BoxesFloorSpaceSet,BoxesFloorspaceSet,,,Object
|
|
37
|
+
MathExampleForm,,,,,1,Box Summary Data,,Box Summary Data,,,,,1,1,,,Boxes[].Floorspace,BoxesFloorSpaceSet,BoxesFloorspaceSet,,,Object,,,"MAP VAR row FROM Boxes: ColorInputBackgroundTabular(""BoxDecorations"", ""BoxDecorationGroup"", ""VolumeLessTen"", stepIndex, ""#FFCCCC"", 1)",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
|
37
38
|
MathExampleForm,,,,,1,Box Summary Data,,Box Summary Data,,,,,1,1,,,Boxes[].Volume,BoxesVolumeSet,BoxesVolumeSet,,,Object,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
|
38
39
|
MathExampleForm,,,,,1,Box Summary Data,,Box Summary Data,,,,,1,1,,,Boxes[].Depth,BoxesDepthSet,BoxesDepthSet,,,Object,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
|
39
40
|
MathExampleForm,,,,,,Box Summary Data,,Box Summary Data,,,,,1,12,,,BoxAggregate.Count,Box Count,BoxesCount,,,Number,,,BoxesCount = COUNT(BoxesFloorspaceSet),,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
|
@@ -311,7 +311,7 @@
|
|
|
311
311
|
"DataAddress": "BoxDecorationSet",
|
|
312
312
|
"DataType": "Array",
|
|
313
313
|
"FormGroup": "BoxDecorationGroup",
|
|
314
|
-
"FormSection": "
|
|
314
|
+
"FormSection": "BoxDecorations"
|
|
315
315
|
},
|
|
316
316
|
"Boxes[].Floorspace": {
|
|
317
317
|
"Hash": "BoxesFloorspaceSet",
|
|
@@ -958,14 +958,16 @@
|
|
|
958
958
|
},
|
|
959
959
|
{
|
|
960
960
|
"Name": "Box Decoration",
|
|
961
|
-
"Hash": "
|
|
961
|
+
"Hash": "BoxDecorations",
|
|
962
962
|
"Solvers": [],
|
|
963
963
|
"Groups": [
|
|
964
964
|
{
|
|
965
965
|
"Name": "Box Decorations",
|
|
966
966
|
"Hash": "BoxDecorationGroup",
|
|
967
967
|
"Rows": [],
|
|
968
|
-
"RecordSetSolvers": [
|
|
968
|
+
"RecordSetSolvers": [
|
|
969
|
+
"VolumeLessTen = BoxVolume - 10"
|
|
970
|
+
],
|
|
969
971
|
"HideTabularEditingControls": true,
|
|
970
972
|
"ShowTitle": true,
|
|
971
973
|
"Layout": "Tabular",
|
|
@@ -974,23 +976,11 @@
|
|
|
974
976
|
}
|
|
975
977
|
]
|
|
976
978
|
},
|
|
977
|
-
{
|
|
978
|
-
"Name": "Box Decoration",
|
|
979
|
-
"Hash": "BoxDecorations",
|
|
980
|
-
"Solvers": [],
|
|
981
|
-
"Groups": [
|
|
982
|
-
{
|
|
983
|
-
"Name": "Box Decorations",
|
|
984
|
-
"Hash": "BoxDecorationGroup",
|
|
985
|
-
"Rows": [],
|
|
986
|
-
"RecordSetSolvers": []
|
|
987
|
-
}
|
|
988
|
-
]
|
|
989
|
-
},
|
|
990
979
|
{
|
|
991
980
|
"Name": "Box Summary Data",
|
|
992
981
|
"Hash": "Box_Summary_Data",
|
|
993
982
|
"Solvers": [
|
|
983
|
+
"MAP VAR row FROM Boxes: ColorInputBackgroundTabular(\"BoxDecorations\", \"BoxDecorationGroup\", \"VolumeLessTen\", stepIndex, \"#FFCCCC\", 1)",
|
|
994
984
|
"BoxesCount = COUNT(BoxesFloorspaceSet)",
|
|
995
985
|
"BoxesAverageFloorspace = AVG(BoxesFloorspaceSet)",
|
|
996
986
|
"BoxesTotalFloorspace = SUM(BoxesFloorspaceSet)",
|
|
@@ -1859,6 +1849,28 @@
|
|
|
1859
1849
|
},
|
|
1860
1850
|
"IsTabular": true
|
|
1861
1851
|
},
|
|
1852
|
+
"VolumeLessTen": {
|
|
1853
|
+
"Hash": "VolumeLessTen",
|
|
1854
|
+
"Name": "VolumeLessTen",
|
|
1855
|
+
"DataAddress": "VolumeLessTen",
|
|
1856
|
+
"DataType": "PreciseNumber",
|
|
1857
|
+
"PictForm": {
|
|
1858
|
+
"InputType": "DataOnly",
|
|
1859
|
+
"Row": "1",
|
|
1860
|
+
"Width": "1",
|
|
1861
|
+
"Providers": [
|
|
1862
|
+
"Pict-Input-AutofillTriggerGroup"
|
|
1863
|
+
],
|
|
1864
|
+
"AutofillTriggerGroup": {
|
|
1865
|
+
"TriggerGroupHash": "Box",
|
|
1866
|
+
"MarshalEmptyValues": false,
|
|
1867
|
+
"TriggerAllInputs": true
|
|
1868
|
+
},
|
|
1869
|
+
"Section": "BoxDecorations",
|
|
1870
|
+
"Group": "BoxDecorationGroup"
|
|
1871
|
+
},
|
|
1872
|
+
"IsTabular": true
|
|
1873
|
+
},
|
|
1862
1874
|
"DecorativeText": {
|
|
1863
1875
|
"Hash": "DecorativeText",
|
|
1864
1876
|
"Name": "Decorative Text",
|
|
@@ -19,10 +19,11 @@ MathExampleForm,,,,,,Basic Geometry,Basic_Geometry,Circle,Circle,,,,2,3,,,Geomet
|
|
|
19
19
|
MathExampleForm,,,,,,Basic Geometry,Basic_Geometry,Circle,Circle,,,,2,3,,,Geometry.Circle.AreaRoundedDefault,Area Rounded,CircleAreaRoundedDefault,,default,Number,,,,,,,,,,,,,,,,,,,,,,
|
|
20
20
|
MathExampleForm,,,,,,Basic Geometry,Basic_Geometry,Circle,Circle,,,,2,3,,,Geometry.Circle.AreaRoundedThree,Area Rounded 4,CircleAreaRoundedFour,,4,Number,,,,,,,,,,,,,,,,,,,,,,
|
|
21
21
|
MathExampleForm,,,,,,Basic Geometry,Basic_Geometry,Circle,Circle,,,,2,3,,,Geometry.Circle.AreaRoundedFour,Area Rounded 6,CircleAreaRoundedSix,,6,Number,,,,,,,,,,,,,,,,,,,,,,
|
|
22
|
-
MathExampleForm,,BoxCollectionSecondaryTable,true,Boxes,1,Box Decoration,
|
|
23
|
-
MathExampleForm,,BoxCollectionSecondaryTable,,,,Box Decoration,
|
|
24
|
-
MathExampleForm,,BoxCollectionSecondaryTable,,,,Box Decoration,
|
|
25
|
-
MathExampleForm,,BoxCollectionSecondaryTable,,,,Box Decoration,
|
|
22
|
+
MathExampleForm,,BoxCollectionSecondaryTable,true,Boxes,1,Box Decoration,BoxDecorations,Box Decorations,BoxDecorationGroup,Tabular,,true,,,3,10,Boxes,Boxes,Boxes,,,Array,,,BoxFloorspace = BoxWidth * BoxDepth,1,,,,,,,,,,,,,,,,,,
|
|
23
|
+
MathExampleForm,,BoxCollectionSecondaryTable,,,,Box Decoration,BoxDecorations,Box Decorations,BoxDecorationGroup,Tabular,,true,1,1,,,DecorativeText,Decorative Text,DecorativeText,,,String,,,VolumeLessTen = BoxVolume - 10,1,,,,,,,,,Box,,true,,,,,,,
|
|
24
|
+
MathExampleForm,,BoxCollectionSecondaryTable,,,,Box Decoration,BoxDecorations,Box Decorations,BoxDecorationGroup,Tabular,,true,1,1,,,VolumeLessTen,VolumeLessTen,VolumeLessTen,,,PreciseNumber,,DataOnly,,,,,,,,,,,Box,,true,,,,,,,
|
|
25
|
+
MathExampleForm,,BoxCollectionSecondaryTable,,,,Box Decoration,BoxDecorations,Box Decorations,BoxDecorationGroup,Tabular,,true,1,1,,,Volume,Volume,BoxVolume,,,PreciseNumber,,DataOnly,,,,,,,,,,,Box,,true,,,,,,,
|
|
26
|
+
MathExampleForm,,BoxCollectionSecondaryTable,,,,Box Decoration,BoxDecorations,Box Decorations,BoxDecorationGroup,Tabular,,true,1,1,,,Identifier,Identifier,BoxIdentifier,,,String,,DataOnly,,,,,,,,,,,Box,,true,,,,,,,
|
|
26
27
|
MathExampleForm,,BoxCollectionData,,,,Box Collection,BoxCollSec,Boxes,BoxCollGrp,Tabular,,true,1,1,,,WarehouseSpaceLeft,Warehouse Space Left,WarehouseSpaceLeft,,,Number,,,BoxVolume = BoxFloorspace * BoxHeight,1,,,,,,,,,Box,,true,,,,,,,
|
|
27
28
|
MathExampleForm,,BoxCollectionData,,,,Box Collection,BoxCollSec,Boxes,BoxCollGrp,Tabular,,true,1,1,,,Volume,Volume,BoxVolume,,,Number,,,,,,,,,,,,,Box,,true,,,,,,,
|
|
28
29
|
MathExampleForm,,BoxCollectionData,,,,Box Collection,BoxCollSec,Boxes,BoxCollGrp,Tabular,,true,1,1,,,Floorspace,Floorspace,BoxFloorspace,,,Number,,,,,,,,,,,,,,,,,,,,,,
|
|
@@ -31,18 +32,18 @@ MathExampleForm,,BoxCollectionData,,,,Box Collection,BoxCollSec,Boxes,BoxCollGrp
|
|
|
31
32
|
MathExampleForm,,BoxCollectionData,,,,Box Collection,BoxCollSec,Boxes,BoxCollGrp,Tabular,,true,1,1,,,Width,Width,BoxWidth,,,Number,,,,,,,,,,,,,,,,,,,,,,
|
|
32
33
|
MathExampleForm,,BoxCollectionData,,,,Box Collection,BoxCollSec,Boxes,BoxCollGrp,Tabular,,true,1,1,,,BoxCategory,Category,BoxCategory,,,String,,,,,,,,,,,,,Box,,true,,,,,,,
|
|
33
34
|
MathExampleForm,,BoxCollectionData,,,,Box Collection,BoxCollSec,Boxes,BoxCollGrp,Tabular,,true,1,1,,,Identifier,Identifier,BoxIdentifier,,,String,,,,,,,,,,,,,Box,,true,,,,,,,
|
|
34
|
-
MathExampleForm,,,,,1,Box Decoration,
|
|
35
|
-
MathExampleForm,,,,,1,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,,,,,Boxes[].Floorspace,BoxesFloorSpaceSet,BoxesFloorspaceSet,,,Object,,,
|
|
36
|
-
MathExampleForm,,,,,1,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,,,,,Boxes[].Volume,BoxesVolumeSet,BoxesVolumeSet,,,Object,,,
|
|
37
|
-
MathExampleForm,,,,,1,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,,,,,Boxes[].Depth,BoxesDepthSet,BoxesDepthSet,,,Object,,,
|
|
38
|
-
MathExampleForm,,,,,,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,1,12,,,BoxAggregate.Count,Box Count,BoxesCount,,,Number,,,
|
|
39
|
-
MathExampleForm,,,,,,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,2,6,,,BoxAggregate.AverageFloorspace,Average Floorspace,BoxesAverageFloorspace,,,Number,,,
|
|
40
|
-
MathExampleForm,,,,,,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,2,6,,,BoxAggregate.TotalFloorspace,Total Floorspace,BoxesTotalFloorspace,,,Number,,,
|
|
41
|
-
MathExampleForm,,,,,,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,3,4,,,BoxAggregate.AverageVolume,Average Volume,BoxesAverageVolume,,,Number,,,
|
|
42
|
-
MathExampleForm,,,,,,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,3,4,,,BoxAggregate.TotalVolume,Total Volume,BoxesTotalVolume,,,Number,,,
|
|
43
|
-
MathExampleForm,,,,,,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,3,4,,,BoxAggregate.TotalVolumeRounded,Total Volume Rounded,BoxesTotalVolumeRounded,,,Number,,,
|
|
44
|
-
MathExampleForm,,,,,,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,4,3,,,BoxAggregate.MinDepth,Minimum Depth,BoxesMinDepth,,,Number,,,
|
|
45
|
-
MathExampleForm,,,,,,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,4,3,,,BoxAggregate.MeanDepth,Mean Depth,BoxesMeanDepth,,,Number
|
|
35
|
+
MathExampleForm,,,,,1,Box Decoration,BoxDecorations,Box Decorations,BoxDecorationGroup,Tabular,,true,,,,,BoxDecorationSet,BoxDecorationSet,BoxDecorationSet,,,Array,,,,,,,,,,,,,,,,,,,,,,
|
|
36
|
+
MathExampleForm,,,,,1,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,,,,,Boxes[].Floorspace,BoxesFloorSpaceSet,BoxesFloorspaceSet,,,Object,,,"MAP VAR row FROM Boxes: ColorInputBackgroundTabular(""BoxDecorations"", ""BoxDecorationGroup"", ""VolumeLessTen"", stepIndex, ""#FFCCCC"", 1)",1,,,,,,,,,,,,,,,,,,
|
|
37
|
+
MathExampleForm,,,,,1,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,,,,,Boxes[].Volume,BoxesVolumeSet,BoxesVolumeSet,,,Object,,,BoxesCount = COUNT(BoxesFloorspaceSet),1,,,,,,,,,,,,,,,,,,
|
|
38
|
+
MathExampleForm,,,,,1,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,,,,,Boxes[].Depth,BoxesDepthSet,BoxesDepthSet,,,Object,,,BoxesAverageFloorspace = AVG(BoxesFloorspaceSet),1,,,,,,,,,,,,,,,,,,
|
|
39
|
+
MathExampleForm,,,,,,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,1,12,,,BoxAggregate.Count,Box Count,BoxesCount,,,Number,,,BoxesTotalFloorspace = SUM(BoxesFloorspaceSet),1,,,,,,,,,,,,,,,,,,
|
|
40
|
+
MathExampleForm,,,,,,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,2,6,,,BoxAggregate.AverageFloorspace,Average Floorspace,BoxesAverageFloorspace,,,Number,,,BoxesAverageVolume = AVG(BoxesVolumeSet),1,,,,,,,,,,,,,,,,,,
|
|
41
|
+
MathExampleForm,,,,,,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,2,6,,,BoxAggregate.TotalFloorspace,Total Floorspace,BoxesTotalFloorspace,,,Number,,,BoxesTotalVolume = COUNT(BoxesVolumeSet),1,,,,,,,,,,,,,,,,,,
|
|
42
|
+
MathExampleForm,,,,,,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,3,4,,,BoxAggregate.AverageVolume,Average Volume,BoxesAverageVolume,,,Number,,,BoxesTotalVolumeRounded = ROUND(SUM(BoxesVolumeSet)),1,,,,,,,,,,,,,,,,,,
|
|
43
|
+
MathExampleForm,,,,,,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,3,4,,,BoxAggregate.TotalVolume,Total Volume,BoxesTotalVolume,,,Number,,,BoxesMinDepth = MIN(BoxesDepthSet),1,,,,,,,,,,,,,,,,,,
|
|
44
|
+
MathExampleForm,,,,,,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,3,4,,,BoxAggregate.TotalVolumeRounded,Total Volume Rounded,BoxesTotalVolumeRounded,,,Number,,,BoxesMeanDepth = MEAN(BoxesDepthSet),1,,,,,,,,,,,,,,,,,,
|
|
45
|
+
MathExampleForm,,,,,,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,4,3,,,BoxAggregate.MinDepth,Minimum Depth,BoxesMinDepth,,,Number,,,BoxesMedianDepth = MEDIAN(BoxesDepthSet),1,,,,,,,,,,,,,,,,,,
|
|
46
|
+
MathExampleForm,,,,,,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,4,3,,,BoxAggregate.MeanDepth,Mean Depth,BoxesMeanDepth,,,Number,,,BoxesMaxDepth = MAX(BoxesDepthSet),1,,,,,,,,,,,,,,,,,,
|
|
46
47
|
MathExampleForm,,,,,,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,4,3,,,BoxAggregate.MedianDepth,Median Depth,BoxesMedianDepth,,,Number,,,,,,,,,,,,,,,,,,,,,,
|
|
47
48
|
MathExampleForm,,,,,,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,4,3,,,BoxAggregate.MaxDepth,Max Depth,BoxesMaxDepth,,,Number,,,,,,,,,,,,,,,,,,,,,,
|
|
48
49
|
MathExampleForm,,,,,,Box Summary Data,Box_Summary_Data,Box Summary Data,Box_Summary_Data,,,,5,4,,,BoxChart_Sizes,Box Category Volume Comparison,BoxChart_Sizes,,,Object,,Chart,,,,,,,,,,,,,,,pie,,"objectkeystoarray(aggregationhistogrambyobject(Boxes, ""BoxCategory"", ""Volume""))",,Box Categories,"objectvaluestoarray(aggregationhistogrambyobject(Boxes, ""BoxCategory"", ""Volume""))"
|
|
@@ -311,7 +311,7 @@
|
|
|
311
311
|
"DataAddress": "BoxDecorationSet",
|
|
312
312
|
"DataType": "Array",
|
|
313
313
|
"FormGroup": "BoxDecorationGroup",
|
|
314
|
-
"FormSection": "
|
|
314
|
+
"FormSection": "BoxDecorations"
|
|
315
315
|
},
|
|
316
316
|
"Boxes[].Floorspace": {
|
|
317
317
|
"Hash": "BoxesFloorspaceSet",
|
|
@@ -958,14 +958,16 @@
|
|
|
958
958
|
},
|
|
959
959
|
{
|
|
960
960
|
"Name": "Box Decoration",
|
|
961
|
-
"Hash": "
|
|
961
|
+
"Hash": "BoxDecorations",
|
|
962
962
|
"Solvers": [],
|
|
963
963
|
"Groups": [
|
|
964
964
|
{
|
|
965
965
|
"Name": "Box Decorations",
|
|
966
966
|
"Hash": "BoxDecorationGroup",
|
|
967
967
|
"Rows": [],
|
|
968
|
-
"RecordSetSolvers": [
|
|
968
|
+
"RecordSetSolvers": [
|
|
969
|
+
"VolumeLessTen = BoxVolume - 10"
|
|
970
|
+
],
|
|
969
971
|
"HideTabularEditingControls": true,
|
|
970
972
|
"ShowTitle": true,
|
|
971
973
|
"Layout": "Tabular",
|
|
@@ -974,23 +976,11 @@
|
|
|
974
976
|
}
|
|
975
977
|
]
|
|
976
978
|
},
|
|
977
|
-
{
|
|
978
|
-
"Name": "Box Decoration",
|
|
979
|
-
"Hash": "BoxDecorations",
|
|
980
|
-
"Solvers": [],
|
|
981
|
-
"Groups": [
|
|
982
|
-
{
|
|
983
|
-
"Name": "Box Decorations",
|
|
984
|
-
"Hash": "BoxDecorationGroup",
|
|
985
|
-
"Rows": [],
|
|
986
|
-
"RecordSetSolvers": []
|
|
987
|
-
}
|
|
988
|
-
]
|
|
989
|
-
},
|
|
990
979
|
{
|
|
991
980
|
"Name": "Box Summary Data",
|
|
992
981
|
"Hash": "Box_Summary_Data",
|
|
993
982
|
"Solvers": [
|
|
983
|
+
"MAP VAR row FROM Boxes: ColorInputBackgroundTabular(\"BoxDecorations\", \"BoxDecorationGroup\", \"VolumeLessTen\", stepIndex, \"#FFCCCC\", 1)",
|
|
994
984
|
"BoxesCount = COUNT(BoxesFloorspaceSet)",
|
|
995
985
|
"BoxesAverageFloorspace = AVG(BoxesFloorspaceSet)",
|
|
996
986
|
"BoxesTotalFloorspace = SUM(BoxesFloorspaceSet)",
|
|
@@ -1859,6 +1849,28 @@
|
|
|
1859
1849
|
},
|
|
1860
1850
|
"IsTabular": true
|
|
1861
1851
|
},
|
|
1852
|
+
"VolumeLessTen": {
|
|
1853
|
+
"Hash": "VolumeLessTen",
|
|
1854
|
+
"Name": "VolumeLessTen",
|
|
1855
|
+
"DataAddress": "VolumeLessTen",
|
|
1856
|
+
"DataType": "PreciseNumber",
|
|
1857
|
+
"PictForm": {
|
|
1858
|
+
"InputType": "DataOnly",
|
|
1859
|
+
"Row": "1",
|
|
1860
|
+
"Width": "1",
|
|
1861
|
+
"Providers": [
|
|
1862
|
+
"Pict-Input-AutofillTriggerGroup"
|
|
1863
|
+
],
|
|
1864
|
+
"AutofillTriggerGroup": {
|
|
1865
|
+
"TriggerGroupHash": "Box",
|
|
1866
|
+
"MarshalEmptyValues": false,
|
|
1867
|
+
"TriggerAllInputs": true
|
|
1868
|
+
},
|
|
1869
|
+
"Section": "BoxDecorations",
|
|
1870
|
+
"Group": "BoxDecorationGroup"
|
|
1871
|
+
},
|
|
1872
|
+
"IsTabular": true
|
|
1873
|
+
},
|
|
1862
1874
|
"DecorativeText": {
|
|
1863
1875
|
"Hash": "DecorativeText",
|
|
1864
1876
|
"Name": "Decorative Text",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pict-section-form",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.163",
|
|
4
4
|
"description": "Pict dynamic form sections",
|
|
5
5
|
"main": "source/Pict-Section-Form.js",
|
|
6
6
|
"directories": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"browser-env": "^3.3.0",
|
|
35
35
|
"eslint": "^9.39.1",
|
|
36
36
|
"jquery": "^3.7.1",
|
|
37
|
-
"pict": "^1.0.
|
|
37
|
+
"pict": "^1.0.342",
|
|
38
38
|
"pict-application": "^1.0.29",
|
|
39
39
|
"pict-service-commandlineutility": "^1.0.16",
|
|
40
40
|
"quackage": "^1.0.45",
|
|
@@ -212,8 +212,6 @@ class DynamicTabularData extends libPictProvider
|
|
|
212
212
|
tmpRowPrototype = JSON.parse(JSON.stringify(tmpGroup.DefaultRows[tmpDestinationObject.length]));
|
|
213
213
|
}
|
|
214
214
|
tmpDestinationObject.push(tmpGroup.supportingManifest.populateDefaults(tmpRowPrototype));
|
|
215
|
-
// Run the solver
|
|
216
|
-
this.pict.providers.DynamicSolver.solveViews();
|
|
217
215
|
|
|
218
216
|
// Also render any other views that have this as the RecordSetAddress
|
|
219
217
|
// Filter the views by each Group.RecordSetAddress and find the ones with this RecordSetAddress
|
|
@@ -241,6 +239,9 @@ class DynamicTabularData extends libPictProvider
|
|
|
241
239
|
tmpViewsToRender[i].render();
|
|
242
240
|
}
|
|
243
241
|
|
|
242
|
+
// Run the solver
|
|
243
|
+
this.pict.providers.DynamicSolver.solveViews();
|
|
244
|
+
|
|
244
245
|
//pView.render();
|
|
245
246
|
//pView.marshalToView();
|
|
246
247
|
// We've re-rendered but we don't know what needs to be marshaled based on the solve that ran above so marshal everything
|
|
@@ -428,9 +429,6 @@ class DynamicTabularData extends libPictProvider
|
|
|
428
429
|
}
|
|
429
430
|
tmpDestinationObject.splice(tmpRowIndex, 1);
|
|
430
431
|
|
|
431
|
-
// Run the solver
|
|
432
|
-
this.pict.providers.DynamicSolver.solveViews();
|
|
433
|
-
|
|
434
432
|
// Also render any other views that have this as the RecordSetAddress
|
|
435
433
|
// Filter the views by each Group.RecordSetAddress and find the ones with this RecordSetAddress
|
|
436
434
|
let tmpViewsToRender = this.pict.views.PictFormMetacontroller.filterViews(
|
|
@@ -457,8 +455,9 @@ class DynamicTabularData extends libPictProvider
|
|
|
457
455
|
tmpViewsToRender[i].render();
|
|
458
456
|
}
|
|
459
457
|
|
|
460
|
-
//
|
|
461
|
-
|
|
458
|
+
// Run the solver
|
|
459
|
+
this.pict.providers.DynamicSolver.solveViews();
|
|
460
|
+
|
|
462
461
|
// We've re-rendered but we don't know what needs to be marshaled based on the solve that ran above so marshal everything
|
|
463
462
|
this.pict.views.PictFormMetacontroller.marshalFormSections();
|
|
464
463
|
}
|
|
@@ -858,7 +858,7 @@ Glug glug glug Oo... -->
|
|
|
858
858
|
"HashPostfix": "-TabularTemplate-Begin-Input-DataType-PreciseNumber",
|
|
859
859
|
"Template": /*HTML*/`
|
|
860
860
|
<!-- DataType PreciseNumber {~D:Record.Hash~} {~D:Record.DataType~} -->
|
|
861
|
-
<input type="Number" {~D:Record.Macro.HTMLName~} {~D:Record.Macro.InformaryTabular~} `
|
|
861
|
+
<input type="Number" {~D:Record.Macro.HTMLName~} {~D:Record.Macro.InformaryTabular~} id="TABULAR-DATA-{~D:Record.Macro.RawHTMLID~}-{~D:Context[2].Key~}" `
|
|
862
862
|
},
|
|
863
863
|
{
|
|
864
864
|
"HashPostfix": "-TabularTemplate-End-Input-DataType-PreciseNumber",
|