pict-section-form 1.0.113 → 1.0.115
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/example_applications/complex_table/Complex-Tabular-Application.js +7 -0
- package/example_applications/simple_form/Simple-Form_Default_Manifest.json +1 -0
- package/package.json +2 -2
- package/source/providers/Pict-Provider-DynamicFormSolverBehaviors.js +1 -0
- package/types/source/providers/Pict-Provider-DynamicFormSolverBehaviors.d.ts.map +1 -1
|
@@ -80,6 +80,7 @@ module.exports.default_configuration.pict_configuration = {
|
|
|
80
80
|
"RecipeCounterSurfaceArea = RecipeCounterWidth * RecipeCounterDepth",
|
|
81
81
|
"RecipeCounterVolume = RecipeCounterSurfaceArea * RecipeVerticalClearance",
|
|
82
82
|
`InspirationLink = CONCAT("https://www.google.com/search?q=", RecipeName, " recipe")`,
|
|
83
|
+
'cumulativeSummationResult = cumulativeSummation(getvalue("AppData.FruitData.FruityVice"), "nutritions.calories", "SummedCalories")'
|
|
83
84
|
],
|
|
84
85
|
|
|
85
86
|
MetaTemplates:
|
|
@@ -649,6 +650,12 @@ module.exports.default_configuration.pict_configuration = {
|
|
|
649
650
|
DataType: "Number",
|
|
650
651
|
PictForm: { Section: "FruitGrid", Group: "FruitGrid"},
|
|
651
652
|
},
|
|
653
|
+
"SummedCalories": {
|
|
654
|
+
Name: "Summed Calories (cumulative)",
|
|
655
|
+
Hash: "SummedCalories",
|
|
656
|
+
DataType: "Number",
|
|
657
|
+
PictForm: { Section: "FruitGrid", Group: "FruitGrid" },
|
|
658
|
+
},
|
|
652
659
|
"nutritions.fat": {
|
|
653
660
|
Name: "Fat",
|
|
654
661
|
Hash: "Fat",
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"ITDRO = Height * Width",
|
|
21
21
|
"ITPRO = Height * Width",
|
|
22
22
|
"LoggedValues = logvalues(\"ITPRO\", ITPRO)",
|
|
23
|
+
"VisibleMarshalingGroup = SetGroupVisibility(\"Area\", \"Help\", if(Height,\"GT\", 99, \"\", 1))",
|
|
23
24
|
"VisibleMarshalingSection = SetSectionVisibility(\"Marshaling\", if(ITPRO,\"LT\", 10000, \"\", 1))"
|
|
24
25
|
],
|
|
25
26
|
"MetaTemplates":
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pict-section-form",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.115",
|
|
4
4
|
"description": "Pict dynamic form sections",
|
|
5
5
|
"main": "source/Pict-Section-Form.js",
|
|
6
6
|
"directories": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"browser-env": "^3.3.0",
|
|
32
32
|
"eslint": "^9.36.0",
|
|
33
33
|
"jquery": "^3.7.1",
|
|
34
|
-
"pict": "^1.0.
|
|
34
|
+
"pict": "^1.0.303",
|
|
35
35
|
"pict-application": "^1.0.27",
|
|
36
36
|
"pict-service-commandlineutility": "^1.0.15",
|
|
37
37
|
"quackage": "^1.0.42",
|
|
@@ -74,6 +74,7 @@ class PictDynamicFormsSolverBehaviors extends libPictProvider
|
|
|
74
74
|
// Wire up the solver functions.
|
|
75
75
|
this.addSolverFunction(pExpressionParser, 'logValues', 'fable.providers.DynamicFormSolverBehaviors.logValues', 'Logs a set of values to the console and returns the last one.');
|
|
76
76
|
this.addSolverFunction(pExpressionParser, 'setSectionVisibility', 'fable.providers.DynamicFormSolverBehaviors.setSectionVisibility', 'Sets a sections visiblity to true or fales based on the second parameter.');
|
|
77
|
+
this.addSolverFunction(pExpressionParser, 'setGroupVisibility', 'fable.providers.DynamicFormSolverBehaviors.setGroupVisibility', 'Sets a group visiblity to true or fales based on the third parameter.');
|
|
77
78
|
return false;
|
|
78
79
|
}
|
|
79
80
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pict-Provider-DynamicFormSolverBehaviors.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-DynamicFormSolverBehaviors.js"],"names":[],"mappings":";AAaA;;;;;GAKG;AACH;IAEC;;;;;OAKG;IACH,oBAJW,MAAM,YACN,MAAM,gBACN,MAAM,EAqBhB;IAbA,kBAAkB;IAClB,SADW,GAAG,CACF;IACZ,qFAAqF;IACrF,MADW,OAAO,MAAM,CAAC,GAAG;QAAE,WAAW,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,OAAO,UAAU,CAAC,CAAA;KAAE,CACxE;IAIT,qBAAqB;IACrB,qBADW,MAAM,CAC4C;IAC7D,0BAAyD;IACzD,mBAA2H;IAK5H,2DAMC;IAJA,kBAAsD;IAMvD,kHAaC;IAED,
|
|
1
|
+
{"version":3,"file":"Pict-Provider-DynamicFormSolverBehaviors.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-DynamicFormSolverBehaviors.js"],"names":[],"mappings":";AAaA;;;;;GAKG;AACH;IAEC;;;;;OAKG;IACH,oBAJW,MAAM,YACN,MAAM,gBACN,MAAM,EAqBhB;IAbA,kBAAkB;IAClB,SADW,GAAG,CACF;IACZ,qFAAqF;IACrF,MADW,OAAO,MAAM,CAAC,GAAG;QAAE,WAAW,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,OAAO,UAAU,CAAC,CAAA;KAAE,CACxE;IAIT,qBAAqB;IACrB,qBADW,MAAM,CAC4C;IAC7D,0BAAyD;IACzD,mBAA2H;IAK5H,2DAMC;IAJA,kBAAsD;IAMvD,kHAaC;IAED,iDAOC;IAED,gDAGC;IAED,gEAUC;IAGD,wCAiBC;IAED,wCAiBC;IAED,+DAGC;IAED,+EAUC;IAED,uDAiBC;IAED,uDAiBC;IAED,+BAWC;CACD;;;;;AAxMD,kCAAkC;AAClC,6CADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAQ3B"}
|