pict-section-form 1.0.89 → 1.0.90
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.
|
@@ -144,6 +144,10 @@ module.exports.default_configuration.pict_configuration = {
|
|
|
144
144
|
Ordinal: 0,
|
|
145
145
|
Expression: "PercentTotalFat = (Fat * 9) / Calories",
|
|
146
146
|
},
|
|
147
|
+
{
|
|
148
|
+
Ordinal: 1,
|
|
149
|
+
Expression: "ProteinFatRatio = Protein / Fat * 100",
|
|
150
|
+
},
|
|
147
151
|
],
|
|
148
152
|
|
|
149
153
|
PickLists:
|
|
@@ -617,6 +621,12 @@ module.exports.default_configuration.pict_configuration = {
|
|
|
617
621
|
DataType: "Number",
|
|
618
622
|
PictForm: { Section: "FruitGrid", Group: "FruitGrid" },
|
|
619
623
|
},
|
|
624
|
+
"nutritions.protein_fat_ratio": {
|
|
625
|
+
Name: "Protein Fat Ratio",
|
|
626
|
+
Hash: "ProteinFatRatio",
|
|
627
|
+
DataType: "Number",
|
|
628
|
+
PictForm: { Section: "FruitGrid", Group: "FruitGrid", TabularHidden: true },
|
|
629
|
+
},
|
|
620
630
|
"nutritions.percent_total_fat": {
|
|
621
631
|
Name: "PercentTotalFat",
|
|
622
632
|
Hash: "PercentTotalFat",
|
package/package.json
CHANGED
|
@@ -53,6 +53,10 @@ class TabularLayout extends libPictSectionGroupLayout
|
|
|
53
53
|
{
|
|
54
54
|
tmpInput.PictForm = {};
|
|
55
55
|
}
|
|
56
|
+
if (tmpInput.PictForm.TabularHidden)
|
|
57
|
+
{
|
|
58
|
+
continue;
|
|
59
|
+
}
|
|
56
60
|
tmpInput.PictForm.InputIndex = k;
|
|
57
61
|
tmpInput.PictForm.GroupIndex = pGroup.GroupIndex;
|
|
58
62
|
tmpInput.PictForm.RowIndex = 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pict-Layout-Tabular.d.ts","sourceRoot":"","sources":["../../../../source/providers/layouts/Pict-Layout-Tabular.js"],"names":[],"mappings":";AAEA;IAEC,2DAUC;IANA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,6BAA6B;IAC7B,OADW,OAAO,MAAM,CAAC,CACf;IACV,kBAAkB;IAClB,KADW,GAAG,CACN;
|
|
1
|
+
{"version":3,"file":"Pict-Layout-Tabular.d.ts","sourceRoot":"","sources":["../../../../source/providers/layouts/Pict-Layout-Tabular.js"],"names":[],"mappings":";AAEA;IAEC,2DAUC;IANA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,6BAA6B;IAC7B,OADW,OAAO,MAAM,CAAC,CACf;IACV,kBAAkB;IAClB,KADW,GAAG,CACN;CAiFT"}
|