pict-section-recordset 1.0.30 → 1.0.32
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/package.json +5 -5
- package/source/templates/Pict-Template-FilterInstanceViews.js +6 -4
- package/source/templates/Pict-Template-FilterView.js +6 -4
- package/source/views/RecordSet-Filters.js +25 -51
- package/source/views/RecordSet-RecordBaseView.js +6 -4
- package/source/views/dashboard/RecordSet-Dashboard.js +0 -3
- package/source/views/filters/RecordSet-Filter-Base.js +0 -2
- package/source/views/filters/RecordSet-Filter-DateMatch.js +2 -1
- package/source/views/filters/RecordSet-Filter-ExternalJoinDateMatch.js +2 -0
- package/types/templates/Pict-Template-FilterInstanceViews.d.ts.map +1 -1
- package/types/templates/Pict-Template-FilterView.d.ts.map +1 -1
- package/types/views/RecordSet-Filters.d.ts.map +1 -1
- package/types/views/RecordSet-RecordBaseView.d.ts +8 -4
- package/types/views/RecordSet-RecordBaseView.d.ts.map +1 -1
- package/types/views/dashboard/RecordSet-Dashboard.d.ts +0 -4
- package/types/views/dashboard/RecordSet-Dashboard.d.ts.map +1 -1
- package/types/views/filters/RecordSet-Filter-Base.d.ts +0 -12
- package/types/views/filters/RecordSet-Filter-Base.d.ts.map +1 -1
- package/types/views/filters/RecordSet-Filter-DateMatch.d.ts.map +1 -1
- package/types/views/filters/RecordSet-Filter-ExternalJoinDateMatch.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pict-section-recordset",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.32",
|
|
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.293",
|
|
37
37
|
"pict-application": "^1.0.27",
|
|
38
38
|
"pict-service-commandlineutility": "^1.0.15",
|
|
39
39
|
"quackage": "^1.0.42",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"fable-serviceproviderbase": "^3.0.15",
|
|
44
44
|
"pict-provider": "^1.0.6",
|
|
45
45
|
"pict-router": "^1.0.4",
|
|
46
|
-
"pict-section-form": "^1.0.
|
|
47
|
-
"pict-template": "^1.0.
|
|
48
|
-
"pict-view": "^1.0.
|
|
46
|
+
"pict-section-form": "^1.0.108",
|
|
47
|
+
"pict-template": "^1.0.13",
|
|
48
|
+
"pict-view": "^1.0.63"
|
|
49
49
|
},
|
|
50
50
|
"mocha": {
|
|
51
51
|
"diff": true,
|
|
@@ -56,10 +56,11 @@ class PictTemplateFilterInstanceViewInstruction extends libPictTemplate
|
|
|
56
56
|
* @param {any} pRecord - The json object to be used as the Record for the template render
|
|
57
57
|
* @param {Array<any>} pContextArray - An array of context objects accessible from the template; safe to leave empty
|
|
58
58
|
* @param {any} [pScope] - A sticky scope that can be used to carry state and simplify template
|
|
59
|
+
* @param {any} [pState] - A catchall state object for plumbing data through template processing.
|
|
59
60
|
*
|
|
60
61
|
* @return {string} The rendered template
|
|
61
62
|
*/
|
|
62
|
-
render(pTemplateHash, pRecord, pContextArray, pScope)
|
|
63
|
+
render(pTemplateHash, pRecord, pContextArray, pScope, pState)
|
|
63
64
|
{
|
|
64
65
|
const tmpRecordSet = pRecord.RecordSet || '';
|
|
65
66
|
if (!tmpRecordSet)
|
|
@@ -116,7 +117,7 @@ class PictTemplateFilterInstanceViewInstruction extends libPictTemplate
|
|
|
116
117
|
//tmpRecord.ClauseAddress = `Bundle._ActiveFilterState['${pRecord.RecordSet}'].FilterClauses[${i}]`;
|
|
117
118
|
tmpRecord.ClauseAddress = `_ActiveFilterState[\`${pRecord.RecordSet}\`].FilterClauses[${i}]`;
|
|
118
119
|
tmpView.prepareRecord(tmpRecord);
|
|
119
|
-
tmpView.renderWithScope(tmpClause, '__Virtual', `__TemplateOutputCache.${tmpRenderGUID}`, tmpRecord);
|
|
120
|
+
tmpView.renderWithScope(tmpClause, '__Virtual', `__TemplateOutputCache.${tmpRenderGUID}`, tmpRecord, pState && pState.RootRenderable);
|
|
120
121
|
|
|
121
122
|
tmpResult += this.pict.__TemplateOutputCache[tmpRenderGUID];
|
|
122
123
|
// TODO: Uncomment this when we like how it's working
|
|
@@ -132,9 +133,10 @@ class PictTemplateFilterInstanceViewInstruction extends libPictTemplate
|
|
|
132
133
|
* @param {(pError?: Error, pResult?: string) => void} fCallback - The callback function to call with the result
|
|
133
134
|
* @param {Array<any>} pContextArray - An array of context objects accessible from the template; safe to leave empty
|
|
134
135
|
* @param {any} [pScope] - A sticky scope that can be used to carry state and simplify template
|
|
136
|
+
* @param {any} [pState] - A catchall state object for plumbing data through template processing.
|
|
135
137
|
* @return {void}
|
|
136
138
|
*/
|
|
137
|
-
renderAsync(pTemplateHash, pRecord, fCallback, pContextArray, pScope)
|
|
139
|
+
renderAsync(pTemplateHash, pRecord, fCallback, pContextArray, pScope, pState)
|
|
138
140
|
{
|
|
139
141
|
const tmpRecordSet = pRecord.RecordSet || '';
|
|
140
142
|
if (!tmpRecordSet)
|
|
@@ -193,7 +195,7 @@ class PictTemplateFilterInstanceViewInstruction extends libPictTemplate
|
|
|
193
195
|
tmpRecord.ClauseAddress = `_ActiveFilterState[${pRecord.RecordSet}].FilterClauses[${i}]`;
|
|
194
196
|
tmpView.prepareRecord(tmpRecord);
|
|
195
197
|
|
|
196
|
-
return tmpView.renderWithScopeAsync(tmpClause, '__Virtual', `__TemplateOutputCache.${tmpRenderGUID}`, tmpRecord,
|
|
198
|
+
return tmpView.renderWithScopeAsync(tmpClause, '__Virtual', `__TemplateOutputCache.${tmpRenderGUID}`, tmpRecord, pState && pState.RootRenderable,
|
|
197
199
|
(pError, pResult) =>
|
|
198
200
|
{
|
|
199
201
|
if (pError)
|
|
@@ -36,10 +36,11 @@ class PictTemplateFilterViewInstruction extends libPictTemplate
|
|
|
36
36
|
* @param {any} pRecord - The json object to be used as the Record for the template render
|
|
37
37
|
* @param {Array<any>} pContextArray - An array of context objects accessible from the template; safe to leave empty
|
|
38
38
|
* @param {any} [pScope] - A sticky scope that can be used to carry state and simplify template
|
|
39
|
+
* @param {any} [pState] - A catchall state object for plumbing data through template processing.
|
|
39
40
|
*
|
|
40
41
|
* @return {string} The rendered template
|
|
41
42
|
*/
|
|
42
|
-
render(pTemplateHash, pRecord, pContextArray, pScope)
|
|
43
|
+
render(pTemplateHash, pRecord, pContextArray, pScope, pState)
|
|
43
44
|
{
|
|
44
45
|
let [ tmpViewHash, tmpViewContext ] = pTemplateHash.split(':');
|
|
45
46
|
tmpViewHash = tmpViewHash.trim();
|
|
@@ -88,7 +89,7 @@ class PictTemplateFilterViewInstruction extends libPictTemplate
|
|
|
88
89
|
/** @type {import('pict-view')} */
|
|
89
90
|
const tmpView = this.pict.views[tmpViewHash];
|
|
90
91
|
|
|
91
|
-
tmpView.render('__Virtual', `__TemplateOutputCache.${tmpRenderGUID}`, pRecord);
|
|
92
|
+
tmpView.render('__Virtual', `__TemplateOutputCache.${tmpRenderGUID}`, pRecord, pState && pState.RootRenderable);
|
|
92
93
|
|
|
93
94
|
let tmpResult = this.pict.__TemplateOutputCache[tmpRenderGUID];
|
|
94
95
|
// TODO: Uncomment this when we like how it's working
|
|
@@ -103,9 +104,10 @@ class PictTemplateFilterViewInstruction extends libPictTemplate
|
|
|
103
104
|
* @param {(pError?: Error, pResult?: string) => void} fCallback - The callback function to call with the result
|
|
104
105
|
* @param {Array<any>} pContextArray - An array of context objects accessible from the template; safe to leave empty
|
|
105
106
|
* @param {any} [pScope] - A sticky scope that can be used to carry state and simplify template
|
|
107
|
+
* @param {any} [pState] - A catchall state object for plumbing data through template processing.
|
|
106
108
|
* @return {void}
|
|
107
109
|
*/
|
|
108
|
-
renderAsync(pTemplateHash, pRecord, fCallback, pContextArray, pScope)
|
|
110
|
+
renderAsync(pTemplateHash, pRecord, fCallback, pContextArray, pScope, pState)
|
|
109
111
|
{
|
|
110
112
|
let [ tmpViewHash, tmpViewContext ] = pTemplateHash.split(':');
|
|
111
113
|
tmpViewHash = tmpViewHash.trim();
|
|
@@ -153,7 +155,7 @@ class PictTemplateFilterViewInstruction extends libPictTemplate
|
|
|
153
155
|
/** @type {import('pict-view')} */
|
|
154
156
|
const tmpView = this.pict.views[tmpViewHash];
|
|
155
157
|
|
|
156
|
-
return tmpView.renderAsync('__Virtual', `__TemplateOutputCache.${tmpRenderGUID}`, pRecord,
|
|
158
|
+
return tmpView.renderAsync('__Virtual', `__TemplateOutputCache.${tmpRenderGUID}`, pRecord, pState && pState.RootRenderable,
|
|
157
159
|
(pError, pResult) =>
|
|
158
160
|
{
|
|
159
161
|
if (pError)
|
|
@@ -364,10 +364,11 @@ class ViewRecordSetSUBSETFilters extends libPictView
|
|
|
364
364
|
|
|
365
365
|
addFilter(pEvent, pRecordSet, pViewContext, pFilterKey, pClauseKey)
|
|
366
366
|
{
|
|
367
|
+
pEvent?.preventDefault();
|
|
367
368
|
this.pict.log.info(`Adding filter: ${pFilterKey} with clause: ${pClauseKey} to record set: ${pRecordSet} in view context: ${pViewContext}`);
|
|
368
369
|
this.pict.providers[`RSP-Provider-${pRecordSet}`].addFilterClause(pFilterKey, pClauseKey);
|
|
369
370
|
//FIXME: we need the record from the original render here but no longer have it...
|
|
370
|
-
|
|
371
|
+
this.render(undefined, undefined, { RecordSet: pRecordSet, ViewContext: pViewContext });
|
|
371
372
|
}
|
|
372
373
|
|
|
373
374
|
getFilterSchema(pRecordSet)
|
|
@@ -380,65 +381,38 @@ class ViewRecordSetSUBSETFilters extends libPictView
|
|
|
380
381
|
* Lifecycle hook that triggers after the view is rendered.
|
|
381
382
|
*
|
|
382
383
|
* @param {import('pict-view').Renderable} pRenderable - The renderable that was rendered.
|
|
383
|
-
* @param {string} pRenderDestinationAddress - The address where the renderable was rendered.
|
|
384
|
-
* @param {any} pRecord - The record (data) that was used by the renderable.
|
|
385
|
-
* @param {string} pContent - The content that was rendered.
|
|
386
384
|
*/
|
|
387
|
-
onAfterRender(pRenderable
|
|
385
|
+
onAfterRender(pRenderable)
|
|
388
386
|
{
|
|
389
|
-
|
|
390
|
-
|
|
387
|
+
const res = super.onAfterRender(pRenderable);
|
|
388
|
+
if (pRenderable?.RenderableHash === 'PRSP-SUBSET-Filters-Template-AddFilter-Dropdown-AddFilterClauseDropdown')
|
|
391
389
|
{
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
390
|
+
return;
|
|
391
|
+
}
|
|
392
|
+
const tmpRecord = { };
|
|
393
|
+
const tmpSelect = document.getElementById('PRSP-SUBSET-Filters-Template-AddFilter-Dropdown-Select');
|
|
394
|
+
if (tmpSelect)
|
|
395
|
+
{
|
|
396
|
+
const tmpActiveOption = document.getElementById('PRSP-SUBSET-Filters-Template-AddFilter-Dropdown-Select')?.querySelector('option:checked')
|
|
397
|
+
const tmpRecordSet = tmpActiveOption?.getAttribute('data-i-recordset');
|
|
398
|
+
const tmpFilterKey = tmpActiveOption?.getAttribute('data-i-filter-key');
|
|
399
|
+
if (tmpRecordSet && tmpFilterKey)
|
|
397
400
|
{
|
|
398
|
-
const
|
|
399
|
-
if (
|
|
401
|
+
const tmpProvider = this.pict.providers[`RSP-Provider-${tmpRecordSet}`];
|
|
402
|
+
if (tmpProvider)
|
|
400
403
|
{
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
if (
|
|
404
|
+
tmpRecord.RecordSet = tmpRecordSet;
|
|
405
|
+
tmpRecord.FilterKey = tmpFilterKey;
|
|
406
|
+
tmpRecord.AvailableClauses = tmpProvider.getFilterClauseSchemaForKey(tmpFilterKey).AvailableClauses;
|
|
407
|
+
if (Array.isArray(tmpRecord.AvailableClauses))
|
|
405
408
|
{
|
|
406
|
-
|
|
407
|
-
if (tmpProvider)
|
|
408
|
-
{
|
|
409
|
-
pRecord.AvailableClauses = tmpProvider.getFilterClauseSchemaForKey(tmpFilterKey).AvailableClauses;
|
|
410
|
-
if (Array.isArray(pRecord.AvailableClauses))
|
|
411
|
-
{
|
|
412
|
-
this.render('PRSP-SUBSET-Filters-Template-AddFilter-Dropdown-AddFilterClauseDropdown', undefined, pRecord);
|
|
413
|
-
}
|
|
414
|
-
}
|
|
409
|
+
this.render('PRSP-SUBSET-Filters-Template-AddFilter-Dropdown-AddFilterClauseDropdown', undefined, tmpRecord, pRenderable);
|
|
415
410
|
}
|
|
416
411
|
}
|
|
417
412
|
}
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
}, 1);
|
|
422
|
-
}, 1);
|
|
423
|
-
return super.onAfterRender(pRenderable, pRenderDestinationAddress, pRecord, pContent);
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
/**
|
|
427
|
-
* Lifecycle hook that triggers after the view is rendered (async flow).
|
|
428
|
-
*
|
|
429
|
-
* @param {import('pict-view').ErrorCallback} fCallback - The callback to call when the async operation is complete.
|
|
430
|
-
*/
|
|
431
|
-
onAfterRenderAsync(fCallback)
|
|
432
|
-
{
|
|
433
|
-
return super.onAfterRenderAsync((pError) =>
|
|
434
|
-
{
|
|
435
|
-
//FIXME: since this is rendering to the DOM indirectly, can't marshal right after render; need to fix this better, if this even works
|
|
436
|
-
setTimeout(() =>
|
|
437
|
-
{
|
|
438
|
-
this.onMarshalToView();
|
|
439
|
-
}, 1);
|
|
440
|
-
fCallback(pError);
|
|
441
|
-
});
|
|
413
|
+
}
|
|
414
|
+
this.onMarshalToView();
|
|
415
|
+
return res;
|
|
442
416
|
}
|
|
443
417
|
|
|
444
418
|
async serializeFilterExperience(pExperience)
|
|
@@ -66,10 +66,12 @@ class viewPictSectionRecordSetViewBase extends libPictView
|
|
|
66
66
|
let tmpOptions = Object.assign({}, _DEFAULT_CONFIGURATION_Base_View, pOptions);
|
|
67
67
|
super(pFable, tmpOptions, pServiceHash);
|
|
68
68
|
/** @type {import('pict') & {
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
69
|
+
* log: any,
|
|
70
|
+
* instantiateServiceProviderWithoutRegistration: (hash: String) => any,
|
|
71
|
+
* instantiateServiceProviderIfNotExists: (hash: string) => any,
|
|
72
|
+
* TransactionTracking: import('pict/types/source/services/Fable-Service-TransactionTracking'),
|
|
73
|
+
* PictSectionRecordSet: InstanceType<import('../Pict-Section-RecordSet.js')>,
|
|
74
|
+
* }} */
|
|
73
75
|
this.pict;
|
|
74
76
|
}
|
|
75
77
|
|
|
@@ -131,9 +131,6 @@ class viewRecordSetDashboard extends libPictRecordSetRecordView
|
|
|
131
131
|
return this.renderDashboard(tmpProviderConfiguration, tmpProviderHash, tmpFilterString, tmpSerializedFilterExperience, tmpOffset, tmpPageSize);
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
/**
|
|
135
|
-
* @param {import('pict-router')} pPictRouter
|
|
136
|
-
*/
|
|
137
134
|
addRoutes(pPictRouter)
|
|
138
135
|
{
|
|
139
136
|
pPictRouter.router.on('/PSRS/:RecordSet/Dashboard/FilterExperience/:FilterExperience', this.handleRecordSetDashboardRoute.bind(this));
|
|
@@ -66,8 +66,6 @@ class ViewRecordSetSUBSETFilterBase extends libPictView
|
|
|
66
66
|
{
|
|
67
67
|
let tmpOptions = Object.assign({}, _DEFAULT_CONFIGURATION_SUBSET_Filter, pOptions);
|
|
68
68
|
super(pFable, tmpOptions, pServiceHash);
|
|
69
|
-
/** @type {import('pict') & { log: any, instantiateServiceProviderWithoutRegistration: (hash: String) => any, PictSectionRecordSet: import('../../Pict-Section-RecordSet.js') }} */
|
|
70
|
-
this.pict;
|
|
71
69
|
}
|
|
72
70
|
|
|
73
71
|
/**
|
|
@@ -33,7 +33,8 @@ class ViewRecordSetSUBSETFilterDateMatch extends ViewRecordSetSUBSETFilterBase
|
|
|
33
33
|
*/
|
|
34
34
|
prepareRecord(pRecord)
|
|
35
35
|
{
|
|
36
|
-
|
|
36
|
+
super.prepareRecord(pRecord);
|
|
37
|
+
|
|
37
38
|
pRecord.ClauseDescriptor.DataType = 'DateTime';
|
|
38
39
|
}
|
|
39
40
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pict-Template-FilterInstanceViews.d.ts","sourceRoot":"","sources":["../../source/templates/Pict-Template-FilterInstanceViews.js"],"names":[],"mappings":";AAGA;;;;GAIG;AACH;IAEC;;;;OAIG;IACH,8DAeC;IAXA,kBAAkB;IAClB,KADW,GAAG,CACN;IAYT,6FAiBC;
|
|
1
|
+
{"version":3,"file":"Pict-Template-FilterInstanceViews.d.ts","sourceRoot":"","sources":["../../source/templates/Pict-Template-FilterInstanceViews.js"],"names":[],"mappings":";AAGA;;;;GAIG;AACH;IAEC;;;;OAIG;IACH,8DAeC;IAXA,kBAAkB;IAClB,KADW,GAAG,CACN;IAYT,6FAiBC;CA4KD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pict-Template-FilterView.d.ts","sourceRoot":"","sources":["../../source/templates/Pict-Template-FilterView.js"],"names":[],"mappings":";AAEA;;;;GAIG;AACH;IAEC;;;;OAIG;IACH,8DAeC;IAXA,kBAAkB;IAClB,KADW,GAAG,CACN;
|
|
1
|
+
{"version":3,"file":"Pict-Template-FilterView.d.ts","sourceRoot":"","sources":["../../source/templates/Pict-Template-FilterView.js"],"names":[],"mappings":";AAEA;;;;GAIG;AACH;IAEC;;;;OAIG;IACH,8DAeC;IAXA,kBAAkB;IAClB,KADW,GAAG,CACN;CA0JT"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-Filters.d.ts","sourceRoot":"","sources":["../../source/views/RecordSet-Filters.js"],"names":[],"mappings":";AAwJA;IAEC,2DAqEC;IAjEA,kHAAkH;IAClH,MADW,GAAe,GAAG,OAAO,MAAM,CAAC,GAAG;QAAE,oBAAoB,EAAE;;;;;;SAAsC,CAAA;KAAE,CACrG;IAwDT,cAA+E;IAG/E,wCAA0E;IAU3E;;;;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,QA+ChB;IAED;;;;OAIG;IACH,oBAJW,KAAK,cACL,MAAM,gBACN,MAAM,QAgBhB;IAED;;;;OAIG;IACH,0BAJW,KAAK,cACL,MAAM,gBACN,MAAM,QAQhB;IAED,
|
|
1
|
+
{"version":3,"file":"RecordSet-Filters.d.ts","sourceRoot":"","sources":["../../source/views/RecordSet-Filters.js"],"names":[],"mappings":";AAwJA;IAEC,2DAqEC;IAjEA,kHAAkH;IAClH,MADW,GAAe,GAAG,OAAO,MAAM,CAAC,GAAG;QAAE,oBAAoB,EAAE;;;;;;SAAsC,CAAA;KAAE,CACrG;IAwDT,cAA+E;IAG/E,wCAA0E;IAU3E;;;;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,QA+ChB;IAED;;;;OAIG;IACH,oBAJW,KAAK,cACL,MAAM,gBACN,MAAM,QAgBhB;IAED;;;;OAIG;IACH,0BAJW,KAAK,cACL,MAAM,gBACN,MAAM,QAQhB;IAED,mGAOC;IAED,wCAIC;IAwCD,6DAOC;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;;;;;AAjiBD,kCAAkC;AAClC,oDADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAiJ5B"}
|
|
@@ -2,13 +2,17 @@ export = viewPictSectionRecordSetViewBase;
|
|
|
2
2
|
declare class viewPictSectionRecordSetViewBase extends libPictView {
|
|
3
3
|
constructor(pFable: any, pOptions: any, pServiceHash: any);
|
|
4
4
|
/** @type {import('pict') & {
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
5
|
+
* log: any,
|
|
6
|
+
* instantiateServiceProviderWithoutRegistration: (hash: String) => any,
|
|
7
|
+
* instantiateServiceProviderIfNotExists: (hash: string) => any,
|
|
8
|
+
* TransactionTracking: import('pict/types/source/services/Fable-Service-TransactionTracking'),
|
|
9
|
+
* PictSectionRecordSet: InstanceType<import('../Pict-Section-RecordSet.js')>,
|
|
10
|
+
* }} */
|
|
9
11
|
pict: import("pict") & {
|
|
10
12
|
log: any;
|
|
11
13
|
instantiateServiceProviderWithoutRegistration: (hash: string) => any;
|
|
14
|
+
instantiateServiceProviderIfNotExists: (hash: string) => any;
|
|
15
|
+
TransactionTracking: import("pict/types/source/services/Fable-Service-TransactionTracking");
|
|
12
16
|
PictSectionRecordSet: InstanceType<{
|
|
13
17
|
new (pFable: any, pOptions: any, pServiceHash: any): import("../services/RecordsSet-MetaController.js");
|
|
14
18
|
default_configuration: Record<string, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-RecordBaseView.d.ts","sourceRoot":"","sources":["../../source/views/RecordSet-RecordBaseView.js"],"names":[],"mappings":";AA6DA;IAEC,
|
|
1
|
+
{"version":3,"file":"RecordSet-RecordBaseView.d.ts","sourceRoot":"","sources":["../../source/views/RecordSet-RecordBaseView.js"],"names":[],"mappings":";AA6DA;IAEC,2DAYC;IARA;;;;;;YAMQ;IACR,MAPW,OAAO,MAAM,CAAC,GAAG;QACvB,GAAG,EAAE,GAAG,CAAC;QACT,6CAA6C,EAAE,CAAC,IAAI,QAAQ,KAAK,GAAG,CAAC;QACrE,qCAAqC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,GAAG,CAAC;QAC7D,mBAAmB,EAAE,OAAO,8DAA8D,CAAC,CAAC;QAC5F,oBAAoB,EAAE,YAAY,CAAC;;;;;;SAAsC,CAAC,CAAC;KAC5E,CACK;IAGV,qCAIC;CACD;;;;;AAhFD,kCAAkC;AAClC,gDADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAyD3B"}
|
|
@@ -10,10 +10,6 @@ declare class viewRecordSetDashboard extends libPictRecordSetRecordView {
|
|
|
10
10
|
paginationBottom: any;
|
|
11
11
|
};
|
|
12
12
|
handleRecordSetDashboardRoute(pRoutePayload: any): Promise<void>;
|
|
13
|
-
/**
|
|
14
|
-
* @param {import('pict-router')} pPictRouter
|
|
15
|
-
*/
|
|
16
|
-
addRoutes(pPictRouter: any): boolean;
|
|
17
13
|
onBeforeRenderList(pRecordListData: any): any;
|
|
18
14
|
dynamicallyGenerateColumns(pRecordListData: any): any;
|
|
19
15
|
excludedByDefaultCells: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-Dashboard.d.ts","sourceRoot":"","sources":["../../../source/views/dashboard/RecordSet-Dashboard.js"],"names":[],"mappings":";AA0EA;IAOE;;;;;;;;MAQC;IAGF,iEAuCC;
|
|
1
|
+
{"version":3,"file":"RecordSet-Dashboard.d.ts","sourceRoot":"","sources":["../../../source/views/dashboard/RecordSet-Dashboard.js"],"names":[],"mappings":";AA0EA;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,CA+QxB;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;;;;;AAvwBD,kCAAkC;AAClC,iDADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CA6D1B"}
|
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
export = ViewRecordSetSUBSETFilterBase;
|
|
2
2
|
declare class ViewRecordSetSUBSETFilterBase extends libPictView {
|
|
3
3
|
constructor(pFable: any, pOptions: any, pServiceHash: any);
|
|
4
|
-
/** @type {import('pict') & { log: any, instantiateServiceProviderWithoutRegistration: (hash: String) => any, PictSectionRecordSet: import('../../Pict-Section-RecordSet.js') }} */
|
|
5
|
-
pict: import("pict") & {
|
|
6
|
-
log: any;
|
|
7
|
-
instantiateServiceProviderWithoutRegistration: (hash: string) => any;
|
|
8
|
-
PictSectionRecordSet: {
|
|
9
|
-
new (pFable: any, pOptions: any, pServiceHash: any): import("../../services/RecordsSet-MetaController.js");
|
|
10
|
-
default_configuration: Record<string, any>;
|
|
11
|
-
PictRecordSetApplication: typeof import("../../application/Pict-Application-RecordSet.js");
|
|
12
|
-
RecordSetProviderBase: typeof import("../../providers/RecordSet-RecordProvider-Base.js");
|
|
13
|
-
RecordSetProviderMeadowEndpoints: typeof import("../../providers/RecordSet-RecordProvider-MeadowEndpoints.js");
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
4
|
/**
|
|
17
5
|
* Hook to prepare state on the render record before rendering.
|
|
18
6
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-Filter-Base.d.ts","sourceRoot":"","sources":["../../../source/views/filters/RecordSet-Filter-Base.js"],"names":[],"mappings":";AA8DA;IAEC,
|
|
1
|
+
{"version":3,"file":"RecordSet-Filter-Base.d.ts","sourceRoot":"","sources":["../../../source/views/filters/RecordSet-Filter-Base.js"],"names":[],"mappings":";AA8DA;IAEC,2DAIC;IAED;;;;OAIG;IACH,uBAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAe7B;IAED,gCAGC;CACD;;;;;AA5FD,kCAAkC;AAClC,oDADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CA0D5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-Filter-DateMatch.d.ts","sourceRoot":"","sources":["../../../source/views/filters/RecordSet-Filter-DateMatch.js"],"names":[],"mappings":";AAqBA;
|
|
1
|
+
{"version":3,"file":"RecordSet-Filter-DateMatch.d.ts","sourceRoot":"","sources":["../../../source/views/filters/RecordSet-Filter-DateMatch.js"],"names":[],"mappings":";AAqBA;CAuBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-Filter-ExternalJoinDateMatch.d.ts","sourceRoot":"","sources":["../../../source/views/filters/RecordSet-Filter-ExternalJoinDateMatch.js"],"names":[],"mappings":";AAqBA;
|
|
1
|
+
{"version":3,"file":"RecordSet-Filter-ExternalJoinDateMatch.d.ts","sourceRoot":"","sources":["../../../source/views/filters/RecordSet-Filter-ExternalJoinDateMatch.js"],"names":[],"mappings":";AAqBA;CAuBC"}
|