pict-section-form 1.0.10 → 1.0.13
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/.vscode/settings.json +3 -0
- package/example_applications/Build-Examples.sh +41 -0
- package/example_applications/Clean-Examples.sh +10 -0
- package/example_applications/Open-Examples.sh +8 -0
- package/example_applications/README.md +57 -0
- package/example_applications/complex_table/Complex-Tabular-Application.js +219 -0
- package/example_applications/complex_table/FruitData.json +695 -0
- package/example_applications/complex_table/README-ComplexTable.md +31 -0
- package/example_applications/complex_table/html/index.html +13 -0
- package/example_applications/complex_table/package.json +26 -0
- package/example_applications/gradebook/source/Gradebook-Application.js +2 -1
- package/example_applications/gradebook/source/manifests/Assignment-Manifest.json +36 -1
- package/example_applications/gradebook/source/manifests/Gradebook-Manifest.js +20 -3
- package/example_applications/gradebook/source/manifests/Student-Manifest.json +34 -23
- package/example_applications/gradebook/source/views/BasicContent-View-Templates.json +42 -0
- package/example_applications/postcard_example/Pict-Application-Postcard.js +15 -0
- package/example_applications/postcard_example/providers/PictProvider-BestPostcardTheme.js +19 -46
- package/example_applications/postcard_example/providers/PictProvider-Dynamic-Sections-MockServerResponse.json +8 -4
- package/example_applications/simple_form/html/index.html +1 -1
- package/example_applications/simple_table/FruitData.json +693 -692
- package/example_applications/simple_table/Simple-Tabular-Application.js +6 -18
- package/example_applications/simple_table_from_object/FruitDataInAnObject.json +692 -2
- package/example_applications/simple_table_from_object/MigrateThatFruit.js +2 -2
- package/example_applications/simple_table_from_object/Simple-Tabular-Application-FromObject.js +5 -18
- package/package.json +3 -2
- package/source/Pict-Section-Form.js +6 -10
- package/source/{Pict-Section-Form-Application.js → application/Pict-Application-Form.js} +1 -1
- package/source/providers/Pict-Provider-DynamicSolver.js +264 -0
- package/source/{Pict-Section-Form-Provider-Templates-DefaultFormTemplates.js → providers/Pict-Provider-DynamicTemplates-DefaultFormTemplates.js} +88 -77
- package/source/{Pict-Section-Form-Provider-Templates.js → providers/Pict-Provider-DynamicTemplates.js} +4 -1
- package/source/{Pict-Service-Informary.js → providers/Pict-Provider-Informary.js} +13 -4
- package/source/templates/Pict-Template-Base.js +87 -0
- package/source/{Pict-Template-MetacontrollerValueSetWithGroup.js → templates/Pict-Template-Metacontroller-ValueSetWithGroup.js} +1 -1
- package/source/{Pict-Section-Form-View-DefaultConfiguration.json → views/Pict-View-DynamicForm-DefaultConfiguration.json} +1 -0
- package/source/{Pict-Section-Form-View.js → views/Pict-View-DynamicForm.js} +149 -38
- package/source/{Pict-Form-Metacontroller.js → views/Pict-View-Form-Metacontroller.js} +45 -15
- /package/source/{Pict-Section-Form-MetatemplateGenerator.js → providers/Pict-Provider-MetatemplateGenerator.js} +0 -0
|
@@ -1,27 +1,14 @@
|
|
|
1
1
|
const libPictSectionForm = require('../../source/Pict-Section-Form.js');
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
{
|
|
5
|
-
constructor(pFable, pOptions, pServiceHash)
|
|
6
|
-
{
|
|
7
|
-
super(pFable, pOptions, pServiceHash);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
onBeforeInitialize()
|
|
11
|
-
{
|
|
12
|
-
this.log.trace(`Loading the fruitiest data ever!`);
|
|
13
|
-
this.AppData.FruitData = require('./FruitData.json');
|
|
14
|
-
this.log.trace(`... LOADED THE FRUIT!`);
|
|
15
|
-
return super.onBeforeInitialize();
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
module.exports = FruityGrid;
|
|
3
|
+
module.exports = libPictSectionForm.PictFormApplication;
|
|
20
4
|
|
|
21
5
|
module.exports.default_configuration = libPictSectionForm.PictFormApplication.default_configuration;
|
|
22
6
|
module.exports.default_configuration.pict_configuration = (
|
|
23
7
|
{
|
|
24
8
|
"Product": "SimpleTable",
|
|
9
|
+
|
|
10
|
+
"DefaultAppData": require('./FruitData.json'),
|
|
11
|
+
|
|
25
12
|
"DefaultFormManifest":
|
|
26
13
|
{
|
|
27
14
|
"Scope": "SuperSimpleTabularForm",
|
|
@@ -36,6 +23,7 @@ module.exports.default_configuration.pict_configuration = (
|
|
|
36
23
|
"Name": "FruitGrid",
|
|
37
24
|
|
|
38
25
|
"Layout": "Tabular",
|
|
26
|
+
|
|
39
27
|
"RecordSetAddress": "FruitData.FruityVice",
|
|
40
28
|
"RecordManifest": "FruitEditor"
|
|
41
29
|
}
|
|
@@ -45,7 +33,7 @@ module.exports.default_configuration.pict_configuration = (
|
|
|
45
33
|
|
|
46
34
|
"Descriptors":
|
|
47
35
|
{
|
|
48
|
-
"FruityVice":
|
|
36
|
+
"FruitData.FruityVice":
|
|
49
37
|
{
|
|
50
38
|
"Name": "Fruits of the Earth",
|
|
51
39
|
"Hash": "FruitGrid",
|