pict-section-recordset 1.0.5 → 1.0.6

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.
Files changed (38) hide show
  1. package/example_applications/simple_entity/Simple-RecordSet-Application.js +1 -0
  2. package/package.json +1 -1
  3. package/source/views/RecordSet-Filter.js +58 -57
  4. package/source/views/dashboard/RecordSet-Dashboard-HeaderDashboard.js +50 -50
  5. package/source/views/dashboard/RecordSet-Dashboard-RecordSetDashboard.js +51 -51
  6. package/source/views/dashboard/RecordSet-Dashboard-TabBarDashboard.js +50 -50
  7. package/source/views/dashboard/RecordSet-Dashboard.js +50 -50
  8. package/source/views/edit/RecordSet-Edit-HeaderEdit.js +51 -51
  9. package/source/views/edit/RecordSet-Edit-RecordEdit.js +51 -51
  10. package/source/views/edit/RecordSet-Edit-RecordEditControls.js +51 -51
  11. package/source/views/edit/RecordSet-Edit-RecordEditExtra.js +51 -51
  12. package/source/views/edit/RecordSet-Edit-TabBarEdit.js +51 -51
  13. package/source/views/edit/RecordSet-Edit.js +51 -51
  14. package/source/views/list/RecordSet-List-HeaderList.js +51 -51
  15. package/source/views/list/RecordSet-List-PaginationTop.js +2 -2
  16. package/source/views/list/RecordSet-List-RecordList.js +57 -57
  17. package/source/views/list/RecordSet-List-Title.js +47 -47
  18. package/source/views/list/RecordSet-List.js +7 -3
  19. package/source/views/read/RecordSet-Read-HeaderRead.js +51 -51
  20. package/source/views/read/RecordSet-Read-RecordRead.js +42 -42
  21. package/source/views/read/RecordSet-Read-RecordReadExtra.js +51 -51
  22. package/source/views/read/RecordSet-Read-TabBarRead.js +51 -51
  23. package/types/views/RecordSet-Filter.d.ts.map +1 -1
  24. package/types/views/dashboard/RecordSet-Dashboard-HeaderDashboard.d.ts.map +1 -1
  25. package/types/views/dashboard/RecordSet-Dashboard-RecordSetDashboard.d.ts.map +1 -1
  26. package/types/views/dashboard/RecordSet-Dashboard-TabBarDashboard.d.ts.map +1 -1
  27. package/types/views/edit/RecordSet-Edit-HeaderEdit.d.ts.map +1 -1
  28. package/types/views/edit/RecordSet-Edit-RecordEdit.d.ts.map +1 -1
  29. package/types/views/edit/RecordSet-Edit-RecordEditControls.d.ts.map +1 -1
  30. package/types/views/edit/RecordSet-Edit-RecordEditExtra.d.ts.map +1 -1
  31. package/types/views/edit/RecordSet-Edit-TabBarEdit.d.ts.map +1 -1
  32. package/types/views/list/RecordSet-List-HeaderList.d.ts.map +1 -1
  33. package/types/views/list/RecordSet-List-RecordList.d.ts.map +1 -1
  34. package/types/views/list/RecordSet-List-Title.d.ts.map +1 -1
  35. package/types/views/list/RecordSet-List.d.ts.map +1 -1
  36. package/types/views/read/RecordSet-Read-HeaderRead.d.ts.map +1 -1
  37. package/types/views/read/RecordSet-Read-RecordReadExtra.d.ts.map +1 -1
  38. package/types/views/read/RecordSet-Read-TabBarRead.d.ts.map +1 -1
@@ -38,6 +38,7 @@ module.exports.default_configuration.pict_configuration = (
38
38
  "RecordSetListHasExtraColumns": true,
39
39
  "RecordSetListExtraColumnsHeaderTemplate": "<th style=\"border-bottom: 1px solid #ccc; padding: 5px; background-color: #f2f2f2; color: #333;\">Cover</th>",
40
40
  "RecordSetListExtraColumnRowTemplate": "<td><img src=\"{~D:Record.Data.ImageURL~}\"></td>",
41
+ "SearchFields": [ "Title" ],
41
42
 
42
43
  "RecordSetURLPrefix": "/1.0/"
43
44
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pict-section-recordset",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Pict dynamic record set management views",
5
5
  "main": "source/Pict-Section-RecordSet.js",
6
6
  "directories": {
@@ -1,34 +1,34 @@
1
1
  const libPictView = require('pict-view');
2
2
 
3
- const _DEFAULT_CONFIGURATION_SUBSET_Filter = (
4
- {
5
- ViewIdentifier: 'PRSP-SUBSET-Filter',
3
+ const _DEFAULT_CONFIGURATION_SUBSET_Filter =
4
+ {
5
+ ViewIdentifier: 'PRSP-SUBSET-Filter',
6
6
 
7
- DefaultRenderable: 'PRSP_Renderable_Filter',
8
- DefaultDestinationAddress: '#PRSP_Filter_Container',
9
- DefaultTemplateRecordAddress: false,
7
+ DefaultRenderable: 'PRSP_Renderable_Filter',
8
+ DefaultDestinationAddress: '#PRSP_Filter_Container',
9
+ DefaultTemplateRecordAddress: false,
10
10
 
11
- // If this is set to true, when the App initializes this will.
12
- // While the App initializes, initialize will be called.
13
- AutoInitialize: false,
14
- AutoInitializeOrdinal: 0,
11
+ // If this is set to true, when the App initializes this will.
12
+ // While the App initializes, initialize will be called.
13
+ AutoInitialize: false,
14
+ AutoInitializeOrdinal: 0,
15
15
 
16
- // If this is set to true, when the App autorenders (on load) this will.
17
- // After the App initializes, render will be called.
18
- AutoRender: false,
19
- AutoRenderOrdinal: 0,
16
+ // If this is set to true, when the App autorenders (on load) this will.
17
+ // After the App initializes, render will be called.
18
+ AutoRender: false,
19
+ AutoRenderOrdinal: 0,
20
20
 
21
- AutoSolveWithApp: false,
22
- AutoSolveOrdinal: 0,
21
+ AutoSolveWithApp: false,
22
+ AutoSolveOrdinal: 0,
23
23
 
24
- CSS: false,
25
- CSSPriority: 500,
24
+ CSS: false,
25
+ CSSPriority: 500,
26
26
 
27
- Templates:
28
- [
29
- {
30
- Hash: 'PRSP-SUBSET-Filter-Template',
31
- Template: /*html*/`
27
+ Templates:
28
+ [
29
+ {
30
+ Hash: 'PRSP-SUBSET-Filter-Template',
31
+ Template: /*html*/`
32
32
  <!-- DefaultPackage pict view template: [PRSP-SUBSET-Filter-Template] -->
33
33
  <section id="PRSP_Filter_Container">
34
34
  <form id="PRSP_Filter_Form" onsubmit="_Pict.views['PRSP-Filters'].handleSearch(event)">
@@ -37,44 +37,44 @@ const _DEFAULT_CONFIGURATION_SUBSET_Filter = (
37
37
  </form>
38
38
  </section>
39
39
  <!-- DefaultPackage end view template: [PRSP-SUBSET-Filter-Template] -->
40
- `
41
- },
42
- {
43
- Hash: 'PRSP-SUBSET-Filter-Template-Input-Fieldset',
44
- Template: /*html*/`
40
+ `
41
+ },
42
+ {
43
+ Hash: 'PRSP-SUBSET-Filter-Template-Input-Fieldset',
44
+ Template: /*html*/`
45
45
  <!-- DefaultPackage pict view template: [PRSP-SUBSET-Filter-Template-Input-Fieldset] -->
46
46
  <fieldset>
47
47
  <label for="filter">Filter:</label>
48
48
  <input type="text" name="filter">
49
49
  </fieldset>
50
50
  <!-- DefaultPackage end view template: [PRSP-SUBSET-Filter-Template-Input-Fieldset] -->
51
- `
52
- },
53
- {
54
- Hash: 'PRSP-SUBSET-Filter-Template-Button-Fieldset',
55
- Template: /*html*/`
51
+ `
52
+ },
53
+ {
54
+ Hash: 'PRSP-SUBSET-Filter-Template-Button-Fieldset',
55
+ Template: /*html*/`
56
56
  <!-- DefaultPackage pict view template: [PRSP-SUBSET-Filter-Template-Button-Fieldset] -->
57
57
  <fieldset>
58
58
  <button type="button" id="PRSP_Filter_Button_Reset" onclick="_Pict.views['PRSP-Filters'].handleReset(event)">Reset</button>
59
59
  <button type="submit" id="PRSP_Filter_Button_Apply">Apply</button>
60
60
  </fieldset>
61
61
  <!-- DefaultPackage end view template: [PRSP-SUBSET-Filter-Template-Button-Fieldset] -->
62
- `
63
- },
64
- ],
62
+ `
63
+ },
64
+ ],
65
65
 
66
- Renderables:
67
- [
68
- {
69
- RenderableHash: 'PRSP_Renderable_Filter',
70
- TemplateHash: 'PRSP-SUBSET-Filter-Template',
71
- DestinationAddress: '#PRSP_Filter_Container',
72
- RenderMethod: 'replace'
73
- }
74
- ],
66
+ Renderables:
67
+ [
68
+ {
69
+ RenderableHash: 'PRSP_Renderable_Filter',
70
+ TemplateHash: 'PRSP-SUBSET-Filter-Template',
71
+ DestinationAddress: '#PRSP_Filter_Container',
72
+ RenderMethod: 'replace'
73
+ },
74
+ ],
75
75
 
76
- Manifests: {}
77
- });
76
+ Manifests: {},
77
+ };
78
78
 
79
79
  class viewRecordSetSUBSETFilter extends libPictView
80
80
  {
@@ -84,18 +84,19 @@ class viewRecordSetSUBSETFilter extends libPictView
84
84
  super(pFable, tmpOptions, pServiceHash);
85
85
  }
86
86
 
87
- handleSearch(event)
88
- {
89
- event.stopPropagation();
90
- event.preventDefault();
91
- this.pict.views['RSP-RecordSet-List']?.handleSearch?.(this.pict.ContentAssignment.readContent('input[name="filter"]'));
92
- }
87
+ handleSearch(event)
88
+ {
89
+ event.preventDefault(); // don't submit the form
90
+ event.stopPropagation();
91
+ this.pict.views['RSP-RecordSet-List']?.handleSearch?.(this.pict.ContentAssignment.readContent('input[name="filter"]'));
92
+ }
93
93
 
94
- handleReset(event)
95
- {
96
- event.stopPropagation();
94
+ handleReset(event)
95
+ {
96
+ event.stopPropagation();
97
97
  this.pict.ContentAssignment.assignContent('input[name="filter"]', '');
98
- }
98
+ this.pict.views['RSP-RecordSet-List']?.handleSearch?.('');
99
+ }
99
100
  }
100
101
 
101
102
  module.exports = viewRecordSetSUBSETFilter;
@@ -1,60 +1,60 @@
1
1
  const libPictView = require('pict-view');
2
2
 
3
- const _DEFAULT_CONFIGURATION_Dashboard_HeaderDashboard = (
4
- {
5
- ViewIdentifier: 'PRSP-Dashboard-HeaderDashboard',
6
-
7
- DefaultRenderable: 'PRSP_Renderable_HeaderDashboard',
8
- DefaultDestinationAddress: '#PRSP_HeaderDashboard_Container',
9
- DefaultTemplateRecordAddress: false,
10
-
11
- // If this is set to true, when the App initializes this will.
12
- // While the App initializes, initialize will be called.
13
- AutoInitialize: false,
14
- AutoInitializeOrdinal: 0,
15
-
16
- // If this is set to true, when the App autorenders (on load) this will.
17
- // After the App initializes, render will be called.
18
- AutoRender: false,
19
- AutoRenderOrdinal: 0,
20
-
21
- AutoSolveWithApp: false,
22
- AutoSolveOrdinal: 0,
23
-
24
- CSS: false,
25
- CSSPriority: 500,
26
-
27
- Templates:
28
- [
29
- {
30
- Hash: 'PRSP-Dashboard-HeaderDashboard-Template',
31
- Template: /*html*/`
3
+ const _DEFAULT_CONFIGURATION_Dashboard_HeaderDashboard =
4
+ {
5
+ ViewIdentifier: 'PRSP-Dashboard-HeaderDashboard',
6
+
7
+ DefaultRenderable: 'PRSP_Renderable_HeaderDashboard',
8
+ DefaultDestinationAddress: '#PRSP_HeaderDashboard_Container',
9
+ DefaultTemplateRecordAddress: false,
10
+
11
+ // If this is set to true, when the App initializes this will.
12
+ // While the App initializes, initialize will be called.
13
+ AutoInitialize: false,
14
+ AutoInitializeOrdinal: 0,
15
+
16
+ // If this is set to true, when the App autorenders (on load) this will.
17
+ // After the App initializes, render will be called.
18
+ AutoRender: false,
19
+ AutoRenderOrdinal: 0,
20
+
21
+ AutoSolveWithApp: false,
22
+ AutoSolveOrdinal: 0,
23
+
24
+ CSS: false,
25
+ CSSPriority: 500,
26
+
27
+ Templates:
28
+ [
29
+ {
30
+ Hash: 'PRSP-Dashboard-HeaderDashboard-Template',
31
+ Template: /*html*/`
32
32
  <!-- DefaultPackage pict view template: [PRSP-Dashboard-HeaderDashboard-Template] -->
33
33
  <!-- DefaultPackage end view template: [PRSP-Dashboard-HeaderDashboard-Template] -->
34
- `
35
- }
36
- ],
37
-
38
- Renderables:
39
- [
40
- {
41
- RenderableHash: 'PRSP_Renderable_HeaderDashboard',
42
- TemplateHash: 'PRSP-Dashboard-HeaderDashboard-Template',
43
- DestinationAddress: '#PRSP_HeaderDashboard_Container',
44
- RenderMethod: 'replace'
45
- }
46
- ],
47
-
48
- Manifests: {}
49
- });
34
+ `
35
+ }
36
+ ],
37
+
38
+ Renderables:
39
+ [
40
+ {
41
+ RenderableHash: 'PRSP_Renderable_HeaderDashboard',
42
+ TemplateHash: 'PRSP-Dashboard-HeaderDashboard-Template',
43
+ DestinationAddress: '#PRSP_HeaderDashboard_Container',
44
+ RenderMethod: 'replace'
45
+ }
46
+ ],
47
+
48
+ Manifests: {}
49
+ };
50
50
 
51
51
  class viewRecordSetDashboardHeaderDashboard extends libPictView
52
52
  {
53
- constructor(pFable, pOptions, pServiceHash)
54
- {
55
- let tmpOptions = Object.assign({}, _DEFAULT_CONFIGURATION_Dashboard_HeaderDashboard, pOptions);
56
- super(pFable, tmpOptions, pServiceHash);
57
- }
53
+ constructor(pFable, pOptions, pServiceHash)
54
+ {
55
+ let tmpOptions = Object.assign({}, _DEFAULT_CONFIGURATION_Dashboard_HeaderDashboard, pOptions);
56
+ super(pFable, tmpOptions, pServiceHash);
57
+ }
58
58
  }
59
59
 
60
60
  module.exports = viewRecordSetDashboardHeaderDashboard;
@@ -1,60 +1,60 @@
1
1
  const libPictView = require('pict-view');
2
2
 
3
- const _DEFAULT_CONFIGURATION_Dashboard_RecordSetDashboard = (
4
- {
5
- ViewIdentifier: 'PRSP-Dashboard-RecordSetDashboard',
6
-
7
- DefaultRenderable: 'PRSP_Renderable_RecordSetDashboard',
8
- DefaultDestinationAddress: '#PRSP_RecordSetDashboard_Container',
9
- DefaultTemplateRecordAddress: false,
10
-
11
- // If this is set to true, when the App initializes this will.
12
- // While the App initializes, initialize will be called.
13
- AutoInitialize: false,
14
- AutoInitializeOrdinal: 0,
15
-
16
- // If this is set to true, when the App autorenders (on load) this will.
17
- // After the App initializes, render will be called.
18
- AutoRender: false,
19
- AutoRenderOrdinal: 0,
20
-
21
- AutoSolveWithApp: false,
22
- AutoSolveOrdinal: 0,
23
-
24
- CSS: false,
25
- CSSPriority: 500,
26
-
27
- Templates:
28
- [
29
- {
30
- Hash: 'PRSP-Dashboard-RecordSetDashboard-Template',
31
- Template: /*html*/`
3
+ const _DEFAULT_CONFIGURATION_Dashboard_RecordSetDashboard =
4
+ {
5
+ ViewIdentifier: 'PRSP-Dashboard-RecordSetDashboard',
6
+
7
+ DefaultRenderable: 'PRSP_Renderable_RecordSetDashboard',
8
+ DefaultDestinationAddress: '#PRSP_RecordSetDashboard_Container',
9
+ DefaultTemplateRecordAddress: false,
10
+
11
+ // If this is set to true, when the App initializes this will.
12
+ // While the App initializes, initialize will be called.
13
+ AutoInitialize: false,
14
+ AutoInitializeOrdinal: 0,
15
+
16
+ // If this is set to true, when the App autorenders (on load) this will.
17
+ // After the App initializes, render will be called.
18
+ AutoRender: false,
19
+ AutoRenderOrdinal: 0,
20
+
21
+ AutoSolveWithApp: false,
22
+ AutoSolveOrdinal: 0,
23
+
24
+ CSS: false,
25
+ CSSPriority: 500,
26
+
27
+ Templates:
28
+ [
29
+ {
30
+ Hash: 'PRSP-Dashboard-RecordSetDashboard-Template',
31
+ Template: /*html*/`
32
32
  <!-- DefaultPackage pict view template: [PRSP-Dashboard-RecordSetDashboard-Template] -->
33
- <!-- DefaultPackage end view template: [PRSP-Dashboard-RecordSetDashboard-Template] -->
34
- `
35
- }
36
- ],
37
-
38
- Renderables:
39
- [
40
- {
41
- RenderableHash: 'PRSP_Renderable_RecordSetDashboard',
42
- TemplateHash: 'PRSP-Dashboard-RecordSetDashboard-Template',
43
- DestinationAddress: '#PRSP_RecordSetDashboard_Container',
44
- RenderMethod: 'replace'
45
- }
46
- ],
47
-
48
- Manifests: {}
49
- });
33
+ <!-- DefaultPackage end view template: [PRSP-Dashboard-RecordSetDashboard-Template] -->
34
+ `
35
+ }
36
+ ],
37
+
38
+ Renderables:
39
+ [
40
+ {
41
+ RenderableHash: 'PRSP_Renderable_RecordSetDashboard',
42
+ TemplateHash: 'PRSP-Dashboard-RecordSetDashboard-Template',
43
+ DestinationAddress: '#PRSP_RecordSetDashboard_Container',
44
+ RenderMethod: 'replace'
45
+ }
46
+ ],
47
+
48
+ Manifests: {}
49
+ };
50
50
 
51
51
  class viewRecordSetDashboardRecordSetDashboard extends libPictView
52
52
  {
53
- constructor(pFable, pOptions, pServiceHash)
54
- {
55
- let tmpOptions = Object.assign({}, _DEFAULT_CONFIGURATION_Dashboard_RecordSetDashboard, pOptions);
56
- super(pFable, tmpOptions, pServiceHash);
57
- }
53
+ constructor(pFable, pOptions, pServiceHash)
54
+ {
55
+ let tmpOptions = Object.assign({}, _DEFAULT_CONFIGURATION_Dashboard_RecordSetDashboard, pOptions);
56
+ super(pFable, tmpOptions, pServiceHash);
57
+ }
58
58
  }
59
59
 
60
60
  module.exports = viewRecordSetDashboardRecordSetDashboard;
@@ -1,60 +1,60 @@
1
1
  const libPictView = require('pict-view');
2
2
 
3
- const _DEFAULT_CONFIGURATION_Dashboard_TabBarDashboard = (
4
- {
5
- ViewIdentifier: 'PRSP-Dashboard-TabBarDashboard',
6
-
7
- DefaultRenderable: 'PRSP_Renderable_TabBarDashboard',
8
- DefaultDestinationAddress: '#PRSP_TabBarDashboard_Container',
9
- DefaultTemplateRecordAddress: false,
10
-
11
- // If this is set to true, when the App initializes this will.
12
- // While the App initializes, initialize will be called.
13
- AutoInitialize: false,
14
- AutoInitializeOrdinal: 0,
15
-
16
- // If this is set to true, when the App autorenders (on load) this will.
17
- // After the App initializes, render will be called.
18
- AutoRender: false,
19
- AutoRenderOrdinal: 0,
20
-
21
- AutoSolveWithApp: false,
22
- AutoSolveOrdinal: 0,
23
-
24
- CSS: false,
25
- CSSPriority: 500,
26
-
27
- Templates:
28
- [
29
- {
30
- Hash: 'PRSP-Dashboard-TabBarDashboard-Template',
31
- Template: /*html*/`
3
+ const _DEFAULT_CONFIGURATION_Dashboard_TabBarDashboard =
4
+ {
5
+ ViewIdentifier: 'PRSP-Dashboard-TabBarDashboard',
6
+
7
+ DefaultRenderable: 'PRSP_Renderable_TabBarDashboard',
8
+ DefaultDestinationAddress: '#PRSP_TabBarDashboard_Container',
9
+ DefaultTemplateRecordAddress: false,
10
+
11
+ // If this is set to true, when the App initializes this will.
12
+ // While the App initializes, initialize will be called.
13
+ AutoInitialize: false,
14
+ AutoInitializeOrdinal: 0,
15
+
16
+ // If this is set to true, when the App autorenders (on load) this will.
17
+ // After the App initializes, render will be called.
18
+ AutoRender: false,
19
+ AutoRenderOrdinal: 0,
20
+
21
+ AutoSolveWithApp: false,
22
+ AutoSolveOrdinal: 0,
23
+
24
+ CSS: false,
25
+ CSSPriority: 500,
26
+
27
+ Templates:
28
+ [
29
+ {
30
+ Hash: 'PRSP-Dashboard-TabBarDashboard-Template',
31
+ Template: /*html*/`
32
32
  <!-- DefaultPackage pict view template: [PRSP-Dashboard-TabBarDashboard-Template] -->
33
33
  <!-- DefaultPackage end view template: [PRSP-Dashboard-TabBarDashboard-Template] -->
34
- `
35
- }
36
- ],
37
-
38
- Renderables:
39
- [
40
- {
41
- RenderableHash: 'PRSP_Renderable_TabBarDashboard',
42
- TemplateHash: 'PRSP-Dashboard-TabBarDashboard-Template',
43
- DestinationAddress: '#PRSP_TabBarDashboard_Container',
44
- RenderMethod: 'replace'
45
- }
46
- ],
47
-
48
- Manifests: {}
49
- });
34
+ `
35
+ }
36
+ ],
37
+
38
+ Renderables:
39
+ [
40
+ {
41
+ RenderableHash: 'PRSP_Renderable_TabBarDashboard',
42
+ TemplateHash: 'PRSP-Dashboard-TabBarDashboard-Template',
43
+ DestinationAddress: '#PRSP_TabBarDashboard_Container',
44
+ RenderMethod: 'replace'
45
+ }
46
+ ],
47
+
48
+ Manifests: {}
49
+ };
50
50
 
51
51
  class viewRecordSetDashboardTabBarDashboard extends libPictView
52
52
  {
53
- constructor(pFable, pOptions, pServiceHash)
54
- {
55
- let tmpOptions = Object.assign({}, _DEFAULT_CONFIGURATION_Dashboard_TabBarDashboard, pOptions);
56
- super(pFable, tmpOptions, pServiceHash);
57
- }
53
+ constructor(pFable, pOptions, pServiceHash)
54
+ {
55
+ let tmpOptions = Object.assign({}, _DEFAULT_CONFIGURATION_Dashboard_TabBarDashboard, pOptions);
56
+ super(pFable, tmpOptions, pServiceHash);
57
+ }
58
58
  }
59
59
 
60
60
  module.exports = viewRecordSetDashboardTabBarDashboard;
@@ -1,60 +1,60 @@
1
1
  const libPictRecordSetRecordView = require('../RecordSet-RecordBaseView.js');
2
2
 
3
- const _DEFAULT_CONFIGURATION__Dashboard = (
4
- {
5
- ViewIdentifier: 'PRSP-Dashboard',
6
-
7
- DefaultRenderable: 'PRSP_Renderable_Dashboard',
8
- DefaultDestinationAddress: '#PRSP_Dashboard_Container',
9
- DefaultTemplateRecordAddress: false,
10
-
11
- // If this is set to true, when the App initializes this will.
12
- // While the App initializes, initialize will be called.
13
- AutoInitialize: false,
14
- AutoInitializeOrdinal: 0,
15
-
16
- // If this is set to true, when the App autorenders (on load) this will.
17
- // After the App initializes, render will be called.
18
- AutoRender: false,
19
- AutoRenderOrdinal: 0,
20
-
21
- AutoSolveWithApp: false,
22
- AutoSolveOrdinal: 0,
23
-
24
- CSS: false,
25
- CSSPriority: 500,
26
-
27
- Templates:
28
- [
29
- {
30
- Hash: 'PRSP-Dashboard-Template',
31
- Template: /*html*/`
3
+ const _DEFAULT_CONFIGURATION__Dashboard =
4
+ {
5
+ ViewIdentifier: 'PRSP-Dashboard',
6
+
7
+ DefaultRenderable: 'PRSP_Renderable_Dashboard',
8
+ DefaultDestinationAddress: '#PRSP_Dashboard_Container',
9
+ DefaultTemplateRecordAddress: false,
10
+
11
+ // If this is set to true, when the App initializes this will.
12
+ // While the App initializes, initialize will be called.
13
+ AutoInitialize: false,
14
+ AutoInitializeOrdinal: 0,
15
+
16
+ // If this is set to true, when the App autorenders (on load) this will.
17
+ // After the App initializes, render will be called.
18
+ AutoRender: false,
19
+ AutoRenderOrdinal: 0,
20
+
21
+ AutoSolveWithApp: false,
22
+ AutoSolveOrdinal: 0,
23
+
24
+ CSS: false,
25
+ CSSPriority: 500,
26
+
27
+ Templates:
28
+ [
29
+ {
30
+ Hash: 'PRSP-Dashboard-Template',
31
+ Template: /*html*/`
32
32
  <!-- DefaultPackage pict view template: [PRSP-Dashboard-Template] -->
33
33
  <!-- DefaultPackage end view template: [PRSP-Dashboard-Template] -->
34
- `
35
- }
36
- ],
37
-
38
- Renderables:
39
- [
40
- {
41
- RenderableHash: 'PRSP_Renderable_Dashboard',
42
- TemplateHash: 'PRSP-Dashboard-Template',
43
- DestinationAddress: '#PRSP_Dashboard_Container',
44
- RenderMethod: 'replace'
45
- }
46
- ],
47
-
48
- Manifests: {}
49
- });
34
+ `
35
+ }
36
+ ],
37
+
38
+ Renderables:
39
+ [
40
+ {
41
+ RenderableHash: 'PRSP_Renderable_Dashboard',
42
+ TemplateHash: 'PRSP-Dashboard-Template',
43
+ DestinationAddress: '#PRSP_Dashboard_Container',
44
+ RenderMethod: 'replace'
45
+ }
46
+ ],
47
+
48
+ Manifests: {}
49
+ };
50
50
 
51
51
  class viewRecordSetDashboard extends libPictRecordSetRecordView
52
52
  {
53
- constructor(pFable, pOptions, pServiceHash)
54
- {
55
- let tmpOptions = Object.assign({}, _DEFAULT_CONFIGURATION__Dashboard, pOptions);
56
- super(pFable, tmpOptions, pServiceHash);
57
- }
53
+ constructor(pFable, pOptions, pServiceHash)
54
+ {
55
+ let tmpOptions = Object.assign({}, _DEFAULT_CONFIGURATION__Dashboard, pOptions);
56
+ super(pFable, tmpOptions, pServiceHash);
57
+ }
58
58
  }
59
59
 
60
60
  module.exports = viewRecordSetDashboard;