pict-section-recordset 1.0.50 → 1.0.53
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 +19 -4
- package/package.json +2 -2
- package/source/providers/RecordSet-RecordProvider-MeadowEndpoints.js +17 -2
- package/source/services/RecordsSet-MetaController.js +67 -2
- package/source/views/RecordSet-Filters.js +5 -2
- package/source/views/dashboard/RecordSet-Dashboard-RecordListEntry.js +0 -1
- package/source/views/dashboard/RecordSet-Dashboard.js +8 -4
- package/source/views/list/RecordSet-List-RecordListEntry.js +1 -2
- package/source/views/list/RecordSet-List.js +16 -2
- package/types/services/RecordsSet-MetaController.d.ts +3 -1
- package/types/services/RecordsSet-MetaController.d.ts.map +1 -1
- package/types/views/RecordSet-Filters.d.ts.map +1 -1
- package/types/views/dashboard/RecordSet-Dashboard-RecordListEntry.d.ts.map +1 -1
- package/types/views/dashboard/RecordSet-Dashboard.d.ts.map +1 -1
- package/types/views/list/RecordSet-List-RecordListEntry.d.ts.map +1 -1
- package/types/views/list/RecordSet-List.d.ts +12 -0
- package/types/views/list/RecordSet-List.d.ts.map +1 -1
|
@@ -204,7 +204,7 @@ module.exports.default_configuration.pict_configuration = (
|
|
|
204
204
|
"IDBook":
|
|
205
205
|
{
|
|
206
206
|
"Name": "Book Identifier",
|
|
207
|
-
"Hash": "
|
|
207
|
+
"Hash": "BookIdentifier",
|
|
208
208
|
},
|
|
209
209
|
"PublicationYear":
|
|
210
210
|
{
|
|
@@ -266,7 +266,7 @@ module.exports.default_configuration.pict_configuration = (
|
|
|
266
266
|
"DataType": "Number",
|
|
267
267
|
"PictDashboard":
|
|
268
268
|
{
|
|
269
|
-
"Equation": "AuthorSineWave = ROUND(SIN(
|
|
269
|
+
"Equation": "AuthorSineWave = ROUND(SIN(BookIdentifier / 100)^3,5)", //FIXME: having to + 0 here seems sketchy
|
|
270
270
|
//"ValueTemplate": "{~D:Record.Payload.AuthorsInOrbit~}",
|
|
271
271
|
"Solvers": [ "AuthorsInOrbit = SIN(Authors.length)" ],
|
|
272
272
|
}
|
|
@@ -283,14 +283,19 @@ module.exports.default_configuration.pict_configuration = (
|
|
|
283
283
|
{
|
|
284
284
|
"Name": "Title",
|
|
285
285
|
"Hash": "Title",
|
|
286
|
-
"DataType": "String"
|
|
286
|
+
"DataType": "String",
|
|
287
|
+
"PictDashboard":
|
|
288
|
+
{
|
|
289
|
+
}
|
|
287
290
|
},
|
|
288
291
|
"Authors":
|
|
289
292
|
{
|
|
290
293
|
"Name": "Authors",
|
|
291
|
-
"Hash": "
|
|
294
|
+
"Hash": "BookAuthors",
|
|
295
|
+
"DataType": "Array",
|
|
292
296
|
"PictDashboard":
|
|
293
297
|
{
|
|
298
|
+
"ValueTemplate": "{~PJU:, ^Name^Record.Payload.Authors~}"
|
|
294
299
|
}
|
|
295
300
|
},
|
|
296
301
|
"AuthorCount":
|
|
@@ -300,6 +305,16 @@ module.exports.default_configuration.pict_configuration = (
|
|
|
300
305
|
"DataType": "Number",
|
|
301
306
|
"PictDashboard":
|
|
302
307
|
{
|
|
308
|
+
"EquationNamespaceScope": "Full",
|
|
309
|
+
"Equation": "Payload.Authors.length + 0", //FIXME: having to + 0 here seems sketchy
|
|
310
|
+
"Solvers":
|
|
311
|
+
[
|
|
312
|
+
{
|
|
313
|
+
"Ordinal": 0,
|
|
314
|
+
"Expression": "Price = ROUND(RANDOMFLOATBETWEEN(0.5, 40), 2)",
|
|
315
|
+
},
|
|
316
|
+
"AuthorCount = COS(Authors.length)",
|
|
317
|
+
],
|
|
303
318
|
}
|
|
304
319
|
}
|
|
305
320
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pict-section-recordset",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.53",
|
|
4
4
|
"description": "Pict dynamic record set management views",
|
|
5
5
|
"main": "source/Pict-Section-RecordSet.js",
|
|
6
6
|
"directories": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"browser-env": "^3.3.0",
|
|
34
34
|
"eslint": "^9.28.0",
|
|
35
35
|
"jquery": "^3.7.1",
|
|
36
|
-
"pict": "^1.0.
|
|
36
|
+
"pict": "^1.0.324",
|
|
37
37
|
"pict-application": "^1.0.27",
|
|
38
38
|
"pict-service-commandlineutility": "^1.0.15",
|
|
39
39
|
"quackage": "^1.0.42",
|
|
@@ -145,7 +145,7 @@ class MeadowEndpointsRecordSetProvider extends libRecordSetProviderBase
|
|
|
145
145
|
|
|
146
146
|
_prepareFilterState(pEntity, pOptions, pFilterExperienceResultAddress = 'Records')
|
|
147
147
|
{
|
|
148
|
-
const tmpClauses = [].concat(this.pict.Bundle._ActiveFilterState?.[pOptions.Entity || this.options.Entity]?.FilterClauses || []);
|
|
148
|
+
const tmpClauses = [].concat(this.pict.Bundle._ActiveFilterState?.[pOptions.RecordSet || pOptions.Entity || this.options.Entity]?.FilterClauses || []);
|
|
149
149
|
const tmpExperience = Object.assign({}, this.pict.Bundle._ActiveFilterState?.[pOptions.Entity || this.options.Entity]?.Experience || {});
|
|
150
150
|
if (!tmpExperience.ResultDestinationAddress)
|
|
151
151
|
{
|
|
@@ -188,7 +188,22 @@ class MeadowEndpointsRecordSetProvider extends libRecordSetProviderBase
|
|
|
188
188
|
{
|
|
189
189
|
return reject(pError);
|
|
190
190
|
}
|
|
191
|
-
|
|
191
|
+
const recordsReturn = this.pict.resolveStateFromAddress(tmpExperience.ResultDestinationAddress);
|
|
192
|
+
const IDFields = ['CreatingIDUser', 'UpdatingIDUser'];
|
|
193
|
+
if (recordsReturn.length)
|
|
194
|
+
{
|
|
195
|
+
for (const k of Object.keys(recordsReturn[0]))
|
|
196
|
+
{
|
|
197
|
+
if (k.startsWith('ID') && k !== `ID${ tmpEntity }`)
|
|
198
|
+
{
|
|
199
|
+
IDFields.push(k);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
this.pict.EntityProvider.cacheConnectedEntityRecords(recordsReturn, IDFields, ['User', 'User'], false, () =>
|
|
204
|
+
{
|
|
205
|
+
resolve({ Records: recordsReturn, Facets: { } });
|
|
206
|
+
});
|
|
192
207
|
});
|
|
193
208
|
// using a space here, otherwise you get a `//` in the URL which breaks some stuff
|
|
194
209
|
});
|
|
@@ -29,7 +29,7 @@ class RecordSetMetacontroller extends libFableServiceProviderBase
|
|
|
29
29
|
let tmpOptions = Object.assign({}, _DEFAULT_CONFIGURATION, pOptions);
|
|
30
30
|
super(pFable, tmpOptions, pServiceHash);
|
|
31
31
|
|
|
32
|
-
/** @type {import('pict') & { addAndInstantiateSingletonService: (hash: string, options: any, prototype: any) => any, newManyfest: (rec: any) => any }} */
|
|
32
|
+
/** @type {import('pict') & { PictSectionRecordSet: any, addAndInstantiateSingletonService: (hash: string, options: any, prototype: any) => any, newManyfest: (rec: any) => any }} */
|
|
33
33
|
this.fable;
|
|
34
34
|
this.pict = this.fable;
|
|
35
35
|
/** @type {any} */
|
|
@@ -66,6 +66,71 @@ class RecordSetMetacontroller extends libFableServiceProviderBase
|
|
|
66
66
|
|
|
67
67
|
//FIXME: this duplicates a behavior in pict-section-form - figure out how we want this coupled dependency to work.
|
|
68
68
|
this.fable.addProviderSingleton('PictFormSectionDefaultTemplateProvider', libFormsTemplateProvider.default_configuration, libFormsTemplateProvider);
|
|
69
|
+
|
|
70
|
+
this.pict.MetaTemplate.addPatternBoth('{~ProcessCell:', '~}', (pHash, pData, fCallback)=>
|
|
71
|
+
{
|
|
72
|
+
const field = this.pict.resolveStateFromAddress(pHash, pData, fCallback);
|
|
73
|
+
return fCallback(null, this.pict.manifest.getValueByHash(pData.Payload, field));
|
|
74
|
+
}, async (pHash, pData, fCallback) =>
|
|
75
|
+
{
|
|
76
|
+
const field = this.pict.resolveStateFromAddress(pHash, pData, fCallback);
|
|
77
|
+
let value = this.pict.manifest.getValueByHash(pData.Payload, field);
|
|
78
|
+
const IDPrefixes = ['Parent', 'Child', 'Creating', 'Updating', 'Deleting'];
|
|
79
|
+
let sanitizedField = field;
|
|
80
|
+
for (let p of IDPrefixes)
|
|
81
|
+
{
|
|
82
|
+
sanitizedField = sanitizedField.replace(`${ p }ID`, 'ID');
|
|
83
|
+
}
|
|
84
|
+
if (sanitizedField?.startsWith('ID'))
|
|
85
|
+
{
|
|
86
|
+
if (!value)
|
|
87
|
+
{
|
|
88
|
+
return fCallback(null, '');
|
|
89
|
+
}
|
|
90
|
+
const remote = field.split('ID')[1];
|
|
91
|
+
try
|
|
92
|
+
{
|
|
93
|
+
const entity = await new Promise((resolve, reject) =>
|
|
94
|
+
{
|
|
95
|
+
this.pict.EntityProvider.getEntity(remote, value, (pError, pResult) =>
|
|
96
|
+
{
|
|
97
|
+
if (pError)
|
|
98
|
+
{
|
|
99
|
+
return reject(pError);
|
|
100
|
+
}
|
|
101
|
+
resolve(pResult);
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
if (remote === 'User')
|
|
105
|
+
{
|
|
106
|
+
value = `${ entity.NameFirst } ${ entity.NameLast }`;
|
|
107
|
+
}
|
|
108
|
+
else if (entity?.Name)
|
|
109
|
+
{
|
|
110
|
+
value = entity.Name;
|
|
111
|
+
}
|
|
112
|
+
else if (entity?.Title)
|
|
113
|
+
{
|
|
114
|
+
value = entity.Title;
|
|
115
|
+
}
|
|
116
|
+
else if (entity?.Hash)
|
|
117
|
+
{
|
|
118
|
+
value = entity.Hash;
|
|
119
|
+
}
|
|
120
|
+
if (this.pict.PictSectionRecordSet.recordSetProviderConfigurations[remote])
|
|
121
|
+
{
|
|
122
|
+
const url = this.pict.parseTemplateByHash('PRSP-Read-Link-URL-Template', { Payload: { Payload: { RecordSet: remote, GUIDAddress: `GUID${ remote }` }, Data: entity }});
|
|
123
|
+
value = `<a href="${ url }">${ value }</a>`;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
catch (e)
|
|
127
|
+
{
|
|
128
|
+
this.pict.log.error(`[RecordSet-MetaController] Unable to fetch entity: ${ e }`);
|
|
129
|
+
return fCallback(e, '');
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
return fCallback(null, value);
|
|
133
|
+
});
|
|
69
134
|
}
|
|
70
135
|
|
|
71
136
|
/*
|
|
@@ -472,7 +537,7 @@ class RecordSetMetacontroller extends libFableServiceProviderBase
|
|
|
472
537
|
}
|
|
473
538
|
if (!tmpPictDashboard.ValueTemplate)
|
|
474
539
|
{
|
|
475
|
-
tmpPictDashboard.ValueTemplate = '{~
|
|
540
|
+
tmpPictDashboard.ValueTemplate = '{~ProcessCell:Record.Data.Key~}';
|
|
476
541
|
}
|
|
477
542
|
return {
|
|
478
543
|
Key: key,
|
|
@@ -80,8 +80,9 @@ const _DEFAULT_CONFIGURATION_SUBSET_Filter =
|
|
|
80
80
|
Template: /*html*/`
|
|
81
81
|
<!-- DefaultPackage pict view template: [PRSP-SUBSET-Filters-Template-AddFilter-Dropdown] -->
|
|
82
82
|
<div>
|
|
83
|
-
<select id="PRSP-SUBSET-Filters-Template-AddFilter-Dropdown-Select" onchange="event.preventDefault(); _Pict.views['PRSP-Filters'].render('PRSP-SUBSET-Filters-Template-AddFilter-Dropdown-AddFilterClauseDropdown', undefined,
|
|
83
|
+
<select id="PRSP-SUBSET-Filters-Template-AddFilter-Dropdown-Select" data-i-view-context="{~D:Record.ViewContext~}" onchange="event.preventDefault(); _Pict.views['PRSP-Filters'].render('PRSP-SUBSET-Filters-Template-AddFilter-Dropdown-AddFilterClauseDropdown', undefined,
|
|
84
84
|
{
|
|
85
|
+
ViewContext: '{~D:Record.ViewContext~}',
|
|
85
86
|
RecordSet: event.target.querySelector('option:checked').getAttribute('data-i-recordset'),
|
|
86
87
|
FilterKey: event.target.querySelector('option:checked').getAttribute('data-i-filter-key'),
|
|
87
88
|
AvailableClauses: _Pict.providers[\`RSP-Provider-\${event.target.querySelector('option:checked').getAttribute('data-i-recordset')}\`].getFilterClauseSchemaForKey(event.target.querySelector('option:checked').getAttribute('data-i-filter-key')).AvailableClauses,
|
|
@@ -382,7 +383,7 @@ class ViewRecordSetSUBSETFilters extends libPictView
|
|
|
382
383
|
pEvent.preventDefault();
|
|
383
384
|
//const tmpRecordsetProvider = this.pict.providers['RSP-Provider-' + pRecordSet];
|
|
384
385
|
//this.pict.log.info(`Selecting filter to add for record set: ${pRecordSet} in view context: ${pViewContext}`, tmpRecordsetProvider.getFilterSchema())
|
|
385
|
-
this.renderWithScope(this.pict.providers[`RSP-Provider-${pRecordSet}`], 'PRSP-SUBSET-Filters-Template-AddFilter-Dropdown');
|
|
386
|
+
this.renderWithScope(this.pict.providers[`RSP-Provider-${pRecordSet}`], 'PRSP-SUBSET-Filters-Template-AddFilter-Dropdown', undefined, { RecordSet: pRecordSet, ViewContext: pViewContext });
|
|
386
387
|
}
|
|
387
388
|
|
|
388
389
|
addFilter(pEvent, pRecordSet, pViewContext, pFilterKey, pClauseKey)
|
|
@@ -428,6 +429,7 @@ class ViewRecordSetSUBSETFilters extends libPictView
|
|
|
428
429
|
const tmpActiveOption = document.getElementById('PRSP-SUBSET-Filters-Template-AddFilter-Dropdown-Select')?.querySelector('option:checked')
|
|
429
430
|
const tmpRecordSet = tmpActiveOption?.getAttribute('data-i-recordset');
|
|
430
431
|
const tmpFilterKey = tmpActiveOption?.getAttribute('data-i-filter-key');
|
|
432
|
+
const tmpViewContext = tmpSelect?.getAttribute('data-i-view-context');
|
|
431
433
|
if (tmpRecordSet && tmpFilterKey)
|
|
432
434
|
{
|
|
433
435
|
const tmpProvider = this.pict.providers[`RSP-Provider-${tmpRecordSet}`];
|
|
@@ -435,6 +437,7 @@ class ViewRecordSetSUBSETFilters extends libPictView
|
|
|
435
437
|
{
|
|
436
438
|
tmpRecord.RecordSet = tmpRecordSet;
|
|
437
439
|
tmpRecord.FilterKey = tmpFilterKey;
|
|
440
|
+
tmpRecord.ViewContext = tmpViewContext;
|
|
438
441
|
tmpRecord.AvailableClauses = tmpProvider.getFilterClauseSchemaForKey(tmpFilterKey).AvailableClauses;
|
|
439
442
|
if (Array.isArray(tmpRecord.AvailableClauses))
|
|
440
443
|
{
|
|
@@ -195,7 +195,7 @@ class viewRecordSetDashboard extends libPictRecordSetRecordView
|
|
|
195
195
|
ManifestHash: 'Default',
|
|
196
196
|
PictDashboard:
|
|
197
197
|
{
|
|
198
|
-
ValueTemplate: '{~
|
|
198
|
+
ValueTemplate: '{~ProcessCell:Record.Data.Key~}',
|
|
199
199
|
},
|
|
200
200
|
});
|
|
201
201
|
}
|
|
@@ -442,6 +442,10 @@ class viewRecordSetDashboard extends libPictRecordSetRecordView
|
|
|
442
442
|
{
|
|
443
443
|
key.ManifestHash = 'Default';
|
|
444
444
|
}
|
|
445
|
+
if (key.PictDashboard && !key.PictDashboard.ValueTemplate)
|
|
446
|
+
{
|
|
447
|
+
key.PictDashboard.ValueTemplate = '{~ProcessCell:Record.Data.Key~}';
|
|
448
|
+
}
|
|
445
449
|
return key;
|
|
446
450
|
}
|
|
447
451
|
return {
|
|
@@ -450,7 +454,7 @@ class viewRecordSetDashboard extends libPictRecordSetRecordView
|
|
|
450
454
|
ManifestHash: 'Default',
|
|
451
455
|
PictDashboard:
|
|
452
456
|
{
|
|
453
|
-
ValueTemplate: '{~
|
|
457
|
+
ValueTemplate: '{~ProcessCell:Record.Data.Key~}',
|
|
454
458
|
},
|
|
455
459
|
};
|
|
456
460
|
});
|
|
@@ -715,7 +719,7 @@ class viewRecordSetDashboard extends libPictRecordSetRecordView
|
|
|
715
719
|
}
|
|
716
720
|
if (!tmpTableCell.PictDashboard.ValueTemplate)
|
|
717
721
|
{
|
|
718
|
-
tmpTableCell.PictDashboard.ValueTemplate = '{~
|
|
722
|
+
tmpTableCell.PictDashboard.ValueTemplate = '{~ProcessCell:Record.Data.Key~}';
|
|
719
723
|
}
|
|
720
724
|
return tmpTableCell;
|
|
721
725
|
}
|
|
@@ -725,7 +729,7 @@ class viewRecordSetDashboard extends libPictRecordSetRecordView
|
|
|
725
729
|
ManifestHash: 'Default',
|
|
726
730
|
PictDashboard:
|
|
727
731
|
{
|
|
728
|
-
ValueTemplate: '{~
|
|
732
|
+
ValueTemplate: '{~ProcessCell:Record.Data.Key~}',
|
|
729
733
|
},
|
|
730
734
|
};
|
|
731
735
|
});
|
|
@@ -62,7 +62,7 @@ const _DEFAULT_CONFIGURATION_List_RecordListEntry = (
|
|
|
62
62
|
Hash: 'PRSP-List-RecordListEntry-Template-Row-Cell',
|
|
63
63
|
Template: /*html*/`
|
|
64
64
|
<td style="border-bottom: 1px solid #ccc; padding: 5px;">
|
|
65
|
-
{~
|
|
65
|
+
{~TBDA:Record.Data.PictDashboard.ValueTemplate~}
|
|
66
66
|
</td>
|
|
67
67
|
`
|
|
68
68
|
},
|
|
@@ -90,7 +90,6 @@ const _DEFAULT_CONFIGURATION_List_RecordListEntry = (
|
|
|
90
90
|
Template: /*html*/`
|
|
91
91
|
<li><a href="{~TBR:Record.Data.URL~}">{~TBR:Record.Data.Name~}</a></li>
|
|
92
92
|
`
|
|
93
|
-
// {~Breakpoint~}
|
|
94
93
|
|
|
95
94
|
},
|
|
96
95
|
],
|
|
@@ -167,6 +167,9 @@ class viewRecordSetList extends libPictRecordSetRecordView
|
|
|
167
167
|
pRecordListData.TableCells.push({
|
|
168
168
|
'Key': tmpColumn,
|
|
169
169
|
'DisplayName': tmpProperties?.[tmpColumn].title || tmpColumn,
|
|
170
|
+
'PictDashboard': {
|
|
171
|
+
'ValueTemplate': '{~ProcessCell:Record.Data.Key~}'
|
|
172
|
+
}
|
|
170
173
|
});
|
|
171
174
|
}
|
|
172
175
|
}
|
|
@@ -385,6 +388,13 @@ class viewRecordSetList extends libPictRecordSetRecordView
|
|
|
385
388
|
{
|
|
386
389
|
key.ManifestHash = 'Default';
|
|
387
390
|
}
|
|
391
|
+
if (!key.PictDashboard)
|
|
392
|
+
{
|
|
393
|
+
key.PictDashboard =
|
|
394
|
+
{
|
|
395
|
+
ValueTemplate: '{~ProcessCell:Record.Data.Key~}',
|
|
396
|
+
};
|
|
397
|
+
}
|
|
388
398
|
return key;
|
|
389
399
|
}
|
|
390
400
|
return {
|
|
@@ -393,7 +403,7 @@ class viewRecordSetList extends libPictRecordSetRecordView
|
|
|
393
403
|
ManifestHash: 'Default',
|
|
394
404
|
PictDashboard:
|
|
395
405
|
{
|
|
396
|
-
ValueTemplate: '{~
|
|
406
|
+
ValueTemplate: '{~ProcessCell:Record.Data.Key~}',
|
|
397
407
|
},
|
|
398
408
|
};
|
|
399
409
|
});
|
|
@@ -633,6 +643,10 @@ class viewRecordSetList extends libPictRecordSetRecordView
|
|
|
633
643
|
{
|
|
634
644
|
key.ManifestHash = 'Default';
|
|
635
645
|
}
|
|
646
|
+
if (key.PictDashboard && !key.PictDashboard.ValueTemplate)
|
|
647
|
+
{
|
|
648
|
+
key.PictDashboard.ValueTemplate = '{~ProcessCell:Record.Data.Key~}';
|
|
649
|
+
}
|
|
636
650
|
return key;
|
|
637
651
|
}
|
|
638
652
|
return {
|
|
@@ -641,7 +655,7 @@ class viewRecordSetList extends libPictRecordSetRecordView
|
|
|
641
655
|
ManifestHash: 'Default',
|
|
642
656
|
PictDashboard:
|
|
643
657
|
{
|
|
644
|
-
ValueTemplate: '{~
|
|
658
|
+
ValueTemplate: '{~ProcessCell:Record.Data.Key~}',
|
|
645
659
|
},
|
|
646
660
|
};
|
|
647
661
|
});
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
export = RecordSetMetacontroller;
|
|
2
2
|
declare class RecordSetMetacontroller {
|
|
3
3
|
constructor(pFable: any, pOptions: any, pServiceHash: any);
|
|
4
|
-
/** @type {import('pict') & { addAndInstantiateSingletonService: (hash: string, options: any, prototype: any) => any, newManyfest: (rec: any) => any }} */
|
|
4
|
+
/** @type {import('pict') & { PictSectionRecordSet: any, addAndInstantiateSingletonService: (hash: string, options: any, prototype: any) => any, newManyfest: (rec: any) => any }} */
|
|
5
5
|
fable: import("pict") & {
|
|
6
|
+
PictSectionRecordSet: any;
|
|
6
7
|
addAndInstantiateSingletonService: (hash: string, options: any, prototype: any) => any;
|
|
7
8
|
newManyfest: (rec: any) => any;
|
|
8
9
|
};
|
|
9
10
|
pict: import("pict") & {
|
|
11
|
+
PictSectionRecordSet: any;
|
|
10
12
|
addAndInstantiateSingletonService: (hash: string, options: any, prototype: any) => any;
|
|
11
13
|
newManyfest: (rec: any) => any;
|
|
12
14
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordsSet-MetaController.d.ts","sourceRoot":"","sources":["../../source/services/RecordsSet-MetaController.js"],"names":[],"mappings":";AAwBA;IAEC,
|
|
1
|
+
{"version":3,"file":"RecordsSet-MetaController.d.ts","sourceRoot":"","sources":["../../source/services/RecordsSet-MetaController.js"],"names":[],"mappings":";AAwBA;IAEC,2DA2GC;IAtGA,qLAAqL;IACrL,OADW,OAAO,MAAM,CAAC,GAAG;QAAE,oBAAoB,EAAE,GAAG,CAAC;QAAC,iCAAiC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,KAAK,GAAG,CAAC;QAAC,WAAW,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,GAAG,CAAA;KAAE,CACvK;IACV;8BAFoD,GAAG;2CAAqC,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,KAAK,GAAG;qBAAe,CAAC,GAAG,EAAE,GAAG,KAAK,GAAG;MAEzJ;IACtB,kBAAkB;IAClB,KADW,GAAG,CACN;IACR,kBAAkB;IAClB,SADW,GAAG,CACF;IACZ,qBAAqB;IACrB,MADW,MAAM,CACR;IAET;;;;;MAKC;IAED,sDAAsD;IACtD,oBADW,MAAM,CAAC,MAAM,EAAE,OAAO,eAAe,CAAC,CAAC,CACtB;IAC5B,kDAAkD;IAClD,iCADW,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CACL;IAEzC,kDAAkD;IAClD,yBADW,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CACb;IAEjC,+DAA+D;IAC/D,kBADW,KAAK,CAAC,CAAC,WAAW,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC,CACjC;IAE1B,kDAAkD;IAClD,qBADW,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CACjB;IAC7B,iDAAiD;IACjD,WADW,MAAM,CAAC,MAAM,EAAE,OAAO,UAAU,CAAC,CAAC,CACG;IAEhD,yBAA4B;IAkG7B;;;;OAIG;IACH,sCAJW,MAAM,GAEL,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAK9B;IAED;;OAEG;IACH,oDAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,WAyG7B;IAED;;OAEG;IACH,8DAFW,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,WAqBpC;IAED;;;;OAIG;IACH,qCAJW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,YAC5B,MAAM,mBACN,MAAM,OAqDhB;IAED;;OAEG;IACH,+CAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,OAe7B;IAED;;OAEG;IACH,qCAMC;IAED;;OAEG;IACH,0BAFW,MAAM,oBAYhB;IAED;;;;;;OAMG;IACH,qCANW,MAAM,gBACN,MAAM,YACN,OAAO,GAEN,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAK9B;IAED,0BAmFC;IAED,6CAGC;IAED;;OAEG;IACH,sCAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAwC7B;CAED;;;;AAvhBD,kCAAkC;AAClC,sCADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAI3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-Filters.d.ts","sourceRoot":"","sources":["../../source/views/RecordSet-Filters.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"RecordSet-Filters.d.ts","sourceRoot":"","sources":["../../source/views/RecordSet-Filters.js"],"names":[],"mappings":";AAgMA;IAEC,2DA4BC;IAxBA,kHAAkH;IAClH,MADW,GAAe,GAAG,OAAO,MAAM,CAAC,GAAG;QAAE,oBAAoB,EAAE;;;;;;SAAsC,CAAA;KAAE,CACrG;IAeT,cAA+E;IAG/E,wCAA0E;IAO3E;;OAEG;IACH,6BAFY,MAAM,CAKjB;IAED;;;;OAIG;IACH,kCAJW,MAAM,GAEL,GAAG,CAMd;IAKD;;;;OAIG;IACH,qBAFa,GAAG,CAaf;IAED;;;;OAIG;IACH,mBAFa,GAAG,CAaf;IAED;;;;OAIG;IACH,qBAJW,KAAK,cACL,MAAM,gBACN,MAAM,QAShB;IAED;;;;OAIG;IACH,0BAJW,MAAM,gBACN,MAAM,kBACN,MAAM,QAgDhB;IAED;;;;OAIG;IACH,oBAJW,KAAK,cACL,MAAM,gBACN,MAAM,QAqBhB;IAED;;;;OAIG;IACH,0BAJW,KAAK,cACL,MAAM,gBACN,MAAM,QAQhB;IAED,mGAOC;IAED,6FAOC;IAED,wCAIC;IA0CD,6DAeC;IAED;;;;OAIG;IACH,yCAJW,MAAM,GAEL,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAUvC;IAED;;;;;OAKG;IACH,iBALW,MAAM,aACN,iBAAiB,GAEhB,OAAO,CAAC,WAAW,CAAC,CAU/B;IAED;;;OAGG;IACH,sBAHW,UAAU,aACV,iBAAiB,mBAY3B;IAED;;;;OAIG;IACH,oBAJW,WAAW,GAEV,MAAM,CA2BjB;IAED;;;;OAIG;IACH,eAJW,MAAM,GAEL,WAAW,CAsCtB;CACD;;;;;AA5kBD,kCAAkC;AAClC,oDADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAgJ5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-Dashboard-RecordListEntry.d.ts","sourceRoot":"","sources":["../../../source/views/dashboard/RecordSet-Dashboard-RecordListEntry.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"RecordSet-Dashboard-RecordListEntry.d.ts","sourceRoot":"","sources":["../../../source/views/dashboard/RecordSet-Dashboard-RecordListEntry.js"],"names":[],"mappings":";AA2GA;IAEC,2DAIC;CACD;;;;;AAhHD,kCAAkC;AAClC,2DADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAuG1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-Dashboard.d.ts","sourceRoot":"","sources":["../../../source/views/dashboard/RecordSet-Dashboard.js"],"names":[],"mappings":";AA4EA;IAOE;;;;;;;;MAQC;IAGF,iEAuCC;IA2BD,8CAGC;IAED,sDAuCC;IAnCA,iCAUC;IA2BF;;;;;;;;;;OAUG;IACH,wCAVW,MAAM,2BACN,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,iBACnB,MAAM,iBACN,MAAM,+BACN,MAAM,WACN,MAAM,aACN,MAAM,GAEL,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"RecordSet-Dashboard.d.ts","sourceRoot":"","sources":["../../../source/views/dashboard/RecordSet-Dashboard.js"],"names":[],"mappings":";AA4EA;IAOE;;;;;;;;MAQC;IAGF,iEAuCC;IA2BD,8CAGC;IAED,sDAuCC;IAnCA,iCAUC;IA2BF;;;;;;;;;;OAUG;IACH,wCAVW,MAAM,2BACN,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,iBACnB,MAAM,iBACN,MAAM,+BACN,MAAM,WACN,MAAM,aACN,MAAM,GAEL,OAAO,CAAC,IAAI,CAAC,CAmRxB;IAED;;;;;;;;;OASG;IACH,yCATW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,iBACnB,MAAM,iBACN,MAAM,+BACN,MAAM,WACN,MAAM,aACN,MAAM,GAEL,OAAO,CAAC,IAAI,CAAC,CA4QxB;CAwBD;;;;;AA7wBD,kCAAkC;AAClC,iDADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CA+D1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-List-RecordListEntry.d.ts","sourceRoot":"","sources":["../../../source/views/list/RecordSet-List-RecordListEntry.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"RecordSet-List-RecordListEntry.d.ts","sourceRoot":"","sources":["../../../source/views/list/RecordSet-List-RecordListEntry.js"],"names":[],"mappings":";AA6GA;IAEC,2DAIC;CACD;;;;;AAlHD,kCAAkC;AAClC,2DADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAyG1B"}
|
|
@@ -24,6 +24,18 @@ declare class viewRecordSetList extends libPictRecordSetRecordView {
|
|
|
24
24
|
* @return {Promise<void>}
|
|
25
25
|
*/
|
|
26
26
|
renderList(pRecordSetConfiguration: Record<string, any>, pProviderHash: string, pFilterString: string, pSerializedFilterExperience: string, pOffset: number, pPageSize: number): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* @param {object} pManifest
|
|
29
|
+
* @param {Record<string, any>} pRecordSetConfiguration
|
|
30
|
+
* @param {string} pProviderHash
|
|
31
|
+
* @param {string} pFilterString
|
|
32
|
+
* @param {string} pSerializedFilterExperience
|
|
33
|
+
* @param {number} pOffset
|
|
34
|
+
* @param {number} pPageSize
|
|
35
|
+
*
|
|
36
|
+
* @return {Promise<void>}
|
|
37
|
+
*/
|
|
38
|
+
renderListFromManifest(pManifest: object, pRecordSetConfiguration: Record<string, any>, pProviderHash: string, pFilterString: string, pSerializedFilterExperience: string, pOffset: number, pPageSize: number): Promise<void>;
|
|
27
39
|
}
|
|
28
40
|
declare namespace viewRecordSetList {
|
|
29
41
|
export { _DEFAULT_CONFIGURATION__List as default_configuration };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-List.d.ts","sourceRoot":"","sources":["../../../source/views/list/RecordSet-List.js"],"names":[],"mappings":";AA4EA;IAOE;;;;;;;;MAQC;IAGF,4DAwBC;IAiBD,8CAGC;IAED,
|
|
1
|
+
{"version":3,"file":"RecordSet-List.d.ts","sourceRoot":"","sources":["../../../source/views/list/RecordSet-List.js"],"names":[],"mappings":";AA4EA;IAOE;;;;;;;;MAQC;IAGF,4DAwBC;IAiBD,8CAGC;IAED,sDAqCC;IAjCA,iCAUC;IAyBF;;;;;;;;;OASG;IACH,oCATW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,iBACnB,MAAM,iBACN,MAAM,+BACN,MAAM,WACN,MAAM,aACN,MAAM,GAEL,OAAO,CAAC,IAAI,CAAC,CAwPxB;IAED;;;;;;;;;;OAUG;IACH,kCAVW,MAAM,2BACN,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,iBACnB,MAAM,iBACN,MAAM,+BACN,MAAM,WACN,MAAM,aACN,MAAM,GAEL,OAAO,CAAC,IAAI,CAAC,CAoPxB;CAwBD;;;;;AA/rBD,kCAAkC;AAClC,4CADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CA+D1B"}
|