pict-section-recordset 1.0.5 → 1.0.7
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/simple_entity/Simple-RecordSet-Application.js +1 -0
- package/package.json +1 -1
- package/source/providers/RecordSet-RecordProvider-MeadowEndpoints.js +31 -8
- package/source/services/RecordsSet-MetaController.js +13 -0
- package/source/views/RecordSet-Filter.js +58 -57
- package/source/views/dashboard/RecordSet-Dashboard-HeaderDashboard.js +50 -50
- package/source/views/dashboard/RecordSet-Dashboard-RecordSetDashboard.js +51 -51
- package/source/views/dashboard/RecordSet-Dashboard-TabBarDashboard.js +50 -50
- package/source/views/dashboard/RecordSet-Dashboard.js +50 -50
- package/source/views/edit/RecordSet-Edit-HeaderEdit.js +51 -51
- package/source/views/edit/RecordSet-Edit-RecordEdit.js +51 -51
- package/source/views/edit/RecordSet-Edit-RecordEditControls.js +51 -51
- package/source/views/edit/RecordSet-Edit-RecordEditExtra.js +51 -51
- package/source/views/edit/RecordSet-Edit-TabBarEdit.js +51 -51
- package/source/views/edit/RecordSet-Edit.js +51 -51
- package/source/views/list/RecordSet-List-HeaderList.js +51 -51
- package/source/views/list/RecordSet-List-PaginationTop.js +2 -2
- package/source/views/list/RecordSet-List-RecordList.js +57 -57
- package/source/views/list/RecordSet-List-Title.js +47 -47
- package/source/views/list/RecordSet-List.js +8 -4
- package/source/views/read/RecordSet-Read-HeaderRead.js +51 -51
- package/source/views/read/RecordSet-Read-RecordRead.js +42 -42
- package/source/views/read/RecordSet-Read-RecordReadExtra.js +51 -51
- package/source/views/read/RecordSet-Read-TabBarRead.js +51 -51
- package/source/views/read/RecordSet-Read.js +1 -1
- package/test/PictSectionRecordSet-RecordProvider-Meadow_tests.js +1 -1
- package/types/providers/RecordSet-RecordProvider-MeadowEndpoints.d.ts +3 -0
- package/types/providers/RecordSet-RecordProvider-MeadowEndpoints.d.ts.map +1 -1
- package/types/services/RecordsSet-MetaController.d.ts +2 -0
- package/types/services/RecordsSet-MetaController.d.ts.map +1 -1
- package/types/views/RecordSet-Filter.d.ts.map +1 -1
- package/types/views/dashboard/RecordSet-Dashboard-HeaderDashboard.d.ts.map +1 -1
- package/types/views/dashboard/RecordSet-Dashboard-RecordSetDashboard.d.ts.map +1 -1
- package/types/views/dashboard/RecordSet-Dashboard-TabBarDashboard.d.ts.map +1 -1
- package/types/views/edit/RecordSet-Edit-HeaderEdit.d.ts.map +1 -1
- package/types/views/edit/RecordSet-Edit-RecordEdit.d.ts.map +1 -1
- package/types/views/edit/RecordSet-Edit-RecordEditControls.d.ts.map +1 -1
- package/types/views/edit/RecordSet-Edit-RecordEditExtra.d.ts.map +1 -1
- package/types/views/edit/RecordSet-Edit-TabBarEdit.d.ts.map +1 -1
- package/types/views/list/RecordSet-List-HeaderList.d.ts.map +1 -1
- package/types/views/list/RecordSet-List-RecordList.d.ts.map +1 -1
- package/types/views/list/RecordSet-List-Title.d.ts.map +1 -1
- package/types/views/list/RecordSet-List.d.ts.map +1 -1
- package/types/views/read/RecordSet-Read-HeaderRead.d.ts.map +1 -1
- package/types/views/read/RecordSet-Read-RecordReadExtra.d.ts.map +1 -1
- 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
|
@@ -40,7 +40,7 @@ class RecordSetProvider extends libRecordSetProviderBase
|
|
|
40
40
|
this.options;
|
|
41
41
|
/** @type {import('fable')} */
|
|
42
42
|
this.fable;
|
|
43
|
-
/** @type {import('pict')} */
|
|
43
|
+
/** @type {import('fable') & import('pict')} */
|
|
44
44
|
this.pict;
|
|
45
45
|
//TODO: make this typedef better
|
|
46
46
|
/** @type {Record<string, any>} */
|
|
@@ -319,20 +319,43 @@ class RecordSetProvider extends libRecordSetProviderBase
|
|
|
319
319
|
{
|
|
320
320
|
this.fable.log.info('Initializing RecordSetProvider-MeadowEndpoints');
|
|
321
321
|
this.restClient = this.fable.RestClient;
|
|
322
|
-
this.
|
|
322
|
+
const checkSession = this.pict.services.PictSectionRecordSet ? this.pict.services.PictSectionRecordSet.checkSession.bind(this.pict.services.PictSectionRecordSet) : async () => true;
|
|
323
|
+
checkSession('Schema').then(async (supported) =>
|
|
323
324
|
{
|
|
324
|
-
if (
|
|
325
|
+
if (!supported)
|
|
325
326
|
{
|
|
326
|
-
|
|
327
|
-
return fCallback(error);
|
|
327
|
+
return fCallback();
|
|
328
328
|
}
|
|
329
|
-
this.
|
|
330
|
-
|
|
329
|
+
this.restClient.getJSON(`${this.options.URLPrefix}${this.options.Entity}/Schema`, (error, response, result) =>
|
|
330
|
+
{
|
|
331
|
+
if (error)
|
|
332
|
+
{
|
|
333
|
+
throw error;
|
|
334
|
+
}
|
|
335
|
+
this._Schema = result;
|
|
336
|
+
return fCallback(null);
|
|
337
|
+
});
|
|
338
|
+
}).catch((error) =>
|
|
339
|
+
{
|
|
340
|
+
this._Schema = null;
|
|
341
|
+
this.fable.log.error('Error checking session for schema', error);
|
|
342
|
+
return fCallback(error);
|
|
331
343
|
});
|
|
332
344
|
}
|
|
333
345
|
|
|
334
|
-
|
|
346
|
+
async getRecordSchema()
|
|
335
347
|
{
|
|
348
|
+
if (!this._Schema)
|
|
349
|
+
{
|
|
350
|
+
await new Promise((resolve, reject) => this.onInitializeAsync((pError) =>
|
|
351
|
+
{
|
|
352
|
+
if (pError)
|
|
353
|
+
{
|
|
354
|
+
return reject(pError);
|
|
355
|
+
}
|
|
356
|
+
resolve();
|
|
357
|
+
}));
|
|
358
|
+
}
|
|
336
359
|
return this._Schema;
|
|
337
360
|
}
|
|
338
361
|
}
|
|
@@ -45,6 +45,7 @@ class RecordSetMetacontroller extends libFableServiceProviderBase
|
|
|
45
45
|
this.recordSetProviderConfigurations = {};
|
|
46
46
|
|
|
47
47
|
this.recordSetListConfigurations = {};
|
|
48
|
+
this.sessionProviders = [];
|
|
48
49
|
|
|
49
50
|
this.has_initialized = false;
|
|
50
51
|
}
|
|
@@ -254,6 +255,18 @@ class RecordSetMetacontroller extends libFableServiceProviderBase
|
|
|
254
255
|
return true;
|
|
255
256
|
}
|
|
256
257
|
|
|
258
|
+
async checkSession(pCapability)
|
|
259
|
+
{
|
|
260
|
+
for (const sessionProvider of this.sessionProviders)
|
|
261
|
+
{
|
|
262
|
+
if (!await sessionProvider(pCapability))
|
|
263
|
+
{
|
|
264
|
+
return false;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
return true;
|
|
268
|
+
}
|
|
269
|
+
|
|
257
270
|
addRecordLinkTemplate(pNameTemplate, pURLTemplate, pDefault)
|
|
258
271
|
{
|
|
259
272
|
return this.fable.providers.RecordSetLinkManager.addRecordLinkTemplate(pNameTemplate, pURLTemplate, pDefault);
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
const libPictView = require('pict-view');
|
|
2
2
|
|
|
3
|
-
const _DEFAULT_CONFIGURATION_SUBSET_Filter =
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
const _DEFAULT_CONFIGURATION_SUBSET_Filter =
|
|
4
|
+
{
|
|
5
|
+
ViewIdentifier: 'PRSP-SUBSET-Filter',
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
DefaultRenderable: 'PRSP_Renderable_Filter',
|
|
8
|
+
DefaultDestinationAddress: '#PRSP_Filter_Container',
|
|
9
|
+
DefaultTemplateRecordAddress: false,
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
|
-
|
|
22
|
-
|
|
21
|
+
AutoSolveWithApp: false,
|
|
22
|
+
AutoSolveOrdinal: 0,
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
CSS: false,
|
|
25
|
+
CSSPriority: 500,
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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
|
-
|
|
44
|
-
|
|
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
|
-
|
|
55
|
-
|
|
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
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
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
|
-
|
|
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
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
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
|
-
|
|
95
|
-
|
|
96
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
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
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
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
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
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
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
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;
|