pict-section-recordset 1.0.29 → 1.0.31
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 +7 -5
- package/source/templates/Pict-Template-FilterView.js +6 -4
- package/source/views/RecordSet-Filters.js +26 -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 +1 -3
- package/source/views/filters/RecordSet-Filter-DateMatch.js +1 -1
- package/source/views/filters/RecordSet-Filter-DateRange.js +1 -1
- package/source/views/filters/RecordSet-Filter-ExternalJoinDateMatch.js +1 -1
- package/source/views/filters/RecordSet-Filter-ExternalJoinDateRange.js +1 -1
- package/source/views/filters/RecordSet-Filter-ExternalJoinNumericMatch.js +1 -1
- package/source/views/filters/RecordSet-Filter-ExternalJoinNumericRange.js +1 -1
- package/source/views/filters/RecordSet-Filter-ExternalJoinStringMatch.js +1 -1
- package/source/views/filters/RecordSet-Filter-ExternalJoinStringRange.js +1 -1
- package/source/views/filters/RecordSet-Filter-InternalJoinDateMatch.js +1 -1
- package/source/views/filters/RecordSet-Filter-InternalJoinDateRange.js +1 -1
- package/source/views/filters/RecordSet-Filter-InternalJoinNumericMatch.js +1 -1
- package/source/views/filters/RecordSet-Filter-InternalJoinNumericRange.js +1 -1
- package/source/views/filters/RecordSet-Filter-InternalJoinStringMatch.js +1 -1
- package/source/views/filters/RecordSet-Filter-InternalJoinStringRange.js +1 -1
- package/source/views/filters/RecordSet-Filter-NumericMatch.js +1 -1
- package/source/views/filters/RecordSet-Filter-NumericRange.js +1 -1
- package/source/views/filters/RecordSet-Filter-StringMatch.js +1 -1
- package/source/views/filters/RecordSet-Filter-StringRange.js +1 -1
- 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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pict-section-recordset",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.31",
|
|
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,
|
|
@@ -32,7 +32,7 @@ class PictTemplateFilterInstanceViewInstruction extends libPictTemplate
|
|
|
32
32
|
|
|
33
33
|
_getViewForFilterClauses(pClauses)
|
|
34
34
|
{
|
|
35
|
-
const tmpViewHash =`
|
|
35
|
+
const tmpViewHash =`PRSP-FilterType-${pClauses.Type}`;
|
|
36
36
|
/** @type {import('../views/filters/RecordSet-Filter-Base.js')} */
|
|
37
37
|
let tmpView = this.pict.views[tmpViewHash];
|
|
38
38
|
if (!tmpView)
|
|
@@ -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)
|
|
@@ -206,6 +206,13 @@ class ViewRecordSetSUBSETFilters extends libPictView
|
|
|
206
206
|
this.pict.addView(tmpViewConfiguration.ViewHash, tmpViewConfiguration, libPictViewDynamicForm);
|
|
207
207
|
this.pict.views[tmpDynamicInputViewSection.ViewHash].viewMarshalDestination = 'Bundle';
|
|
208
208
|
}
|
|
209
|
+
for (const tmpView of Object.values(require('./filters')))
|
|
210
|
+
{
|
|
211
|
+
if (tmpView.default_configuration.ViewIdentifier && !this.pict.views[tmpView.default_configuration.ViewIdentifier])
|
|
212
|
+
{
|
|
213
|
+
this.pict.addView(tmpView.default_configuration.ViewIdentifier, {}, tmpView);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
209
216
|
this.chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
|
|
210
217
|
|
|
211
218
|
// Use a lookup table to find the index.
|
|
@@ -357,6 +364,7 @@ class ViewRecordSetSUBSETFilters extends libPictView
|
|
|
357
364
|
|
|
358
365
|
addFilter(pEvent, pRecordSet, pViewContext, pFilterKey, pClauseKey)
|
|
359
366
|
{
|
|
367
|
+
pEvent?.preventDefault();
|
|
360
368
|
this.pict.log.info(`Adding filter: ${pFilterKey} with clause: ${pClauseKey} to record set: ${pRecordSet} in view context: ${pViewContext}`);
|
|
361
369
|
this.pict.providers[`RSP-Provider-${pRecordSet}`].addFilterClause(pFilterKey, pClauseKey);
|
|
362
370
|
//FIXME: we need the record from the original render here but no longer have it...
|
|
@@ -373,65 +381,32 @@ class ViewRecordSetSUBSETFilters extends libPictView
|
|
|
373
381
|
* Lifecycle hook that triggers after the view is rendered.
|
|
374
382
|
*
|
|
375
383
|
* @param {import('pict-view').Renderable} pRenderable - The renderable that was rendered.
|
|
376
|
-
* @param {string} pRenderDestinationAddress - The address where the renderable was rendered.
|
|
377
|
-
* @param {any} pRecord - The record (data) that was used by the renderable.
|
|
378
|
-
* @param {string} pContent - The content that was rendered.
|
|
379
384
|
*/
|
|
380
|
-
onAfterRender(pRenderable
|
|
385
|
+
onAfterRender(pRenderable)
|
|
381
386
|
{
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
387
|
+
const res = super.onAfterRender(pRenderable);
|
|
388
|
+
const tmpRecord = { };
|
|
389
|
+
const tmpSelect = document.getElementById('PRSP-SUBSET-Filters-Template-AddFilter-Dropdown-Select');
|
|
390
|
+
if (tmpSelect)
|
|
391
|
+
{
|
|
392
|
+
const tmpActiveOption = document.getElementById('PRSP-SUBSET-Filters-Template-AddFilter-Dropdown-Select')?.querySelector('option:checked')
|
|
393
|
+
const tmpRecordSet = tmpActiveOption?.getAttribute('data-i-recordset');
|
|
394
|
+
const tmpFilterKey = tmpActiveOption?.getAttribute('data-i-filter-key');
|
|
395
|
+
if (tmpRecordSet && tmpFilterKey)
|
|
386
396
|
{
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
if (!Array.isArray(pRecord.AvailableClauses))
|
|
390
|
-
{
|
|
391
|
-
const tmpSelect = document.getElementById('PRSP-SUBSET-Filters-Template-AddFilter-Dropdown-Select');
|
|
392
|
-
if (tmpSelect)
|
|
397
|
+
const tmpProvider = this.pict.providers[`RSP-Provider-${tmpRecordSet}`];
|
|
398
|
+
if (tmpProvider)
|
|
393
399
|
{
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
const tmpFilterKey = tmpActiveOption?.getAttribute('data-i-filter-key');
|
|
397
|
-
if (tmpRecordSet && tmpFilterKey)
|
|
400
|
+
tmpRecord.AvailableClauses = tmpProvider.getFilterClauseSchemaForKey(tmpFilterKey).AvailableClauses;
|
|
401
|
+
if (Array.isArray(tmpRecord.AvailableClauses))
|
|
398
402
|
{
|
|
399
|
-
|
|
400
|
-
if (tmpProvider)
|
|
401
|
-
{
|
|
402
|
-
pRecord.AvailableClauses = tmpProvider.getFilterClauseSchemaForKey(tmpFilterKey).AvailableClauses;
|
|
403
|
-
if (Array.isArray(pRecord.AvailableClauses))
|
|
404
|
-
{
|
|
405
|
-
this.render('PRSP-SUBSET-Filters-Template-AddFilter-Dropdown-AddFilterClauseDropdown', undefined, pRecord);
|
|
406
|
-
}
|
|
407
|
-
}
|
|
403
|
+
this.render('PRSP-SUBSET-Filters-Template-AddFilter-Dropdown-AddFilterClauseDropdown', undefined, tmpRecord, pRenderable);
|
|
408
404
|
}
|
|
409
405
|
}
|
|
410
406
|
}
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
}, 1);
|
|
415
|
-
}, 1);
|
|
416
|
-
return super.onAfterRender(pRenderable, pRenderDestinationAddress, pRecord, pContent);
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
/**
|
|
420
|
-
* Lifecycle hook that triggers after the view is rendered (async flow).
|
|
421
|
-
*
|
|
422
|
-
* @param {import('pict-view').ErrorCallback} fCallback - The callback to call when the async operation is complete.
|
|
423
|
-
*/
|
|
424
|
-
onAfterRenderAsync(fCallback)
|
|
425
|
-
{
|
|
426
|
-
return super.onAfterRenderAsync((pError) =>
|
|
427
|
-
{
|
|
428
|
-
//FIXME: since this is rendering to the DOM indirectly, can't marshal right after render; need to fix this better, if this even works
|
|
429
|
-
setTimeout(() =>
|
|
430
|
-
{
|
|
431
|
-
this.onMarshalToView();
|
|
432
|
-
}, 1);
|
|
433
|
-
fCallback(pError);
|
|
434
|
-
});
|
|
407
|
+
}
|
|
408
|
+
this.onMarshalToView();
|
|
409
|
+
return res;
|
|
435
410
|
}
|
|
436
411
|
|
|
437
412
|
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));
|
|
@@ -3,7 +3,7 @@ const libPictView = require('pict-view');
|
|
|
3
3
|
/** @type {Record<string, any>} */
|
|
4
4
|
const _DEFAULT_CONFIGURATION_SUBSET_Filter =
|
|
5
5
|
{
|
|
6
|
-
ViewIdentifier: 'PRSP-
|
|
6
|
+
ViewIdentifier: 'PRSP-FilterType-Base',
|
|
7
7
|
|
|
8
8
|
DefaultTemplateRecordAddress: false,
|
|
9
9
|
|
|
@@ -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
|
/**
|
|
@@ -4,7 +4,7 @@ const ViewRecordSetSUBSETFilterBase = require('./RecordSet-Filter-Base');
|
|
|
4
4
|
/** @type {Record<string, any>} */
|
|
5
5
|
const _DEFAULT_CONFIGURATION_Filter_DateMatch =
|
|
6
6
|
{
|
|
7
|
-
ViewIdentifier: 'PRSP-
|
|
7
|
+
ViewIdentifier: 'PRSP-FilterType-DateMatch',
|
|
8
8
|
|
|
9
9
|
Templates:
|
|
10
10
|
[
|
|
@@ -4,7 +4,7 @@ const ViewRecordSetSUBSETFilterBaseRange = require('./RecordSet-Filter-Base-Rang
|
|
|
4
4
|
/** @type {Record<string, any>} */
|
|
5
5
|
const _DEFAULT_CONFIGURATION_Filter_DateRange =
|
|
6
6
|
{
|
|
7
|
-
ViewIdentifier: 'PRSP-
|
|
7
|
+
ViewIdentifier: 'PRSP-FilterType-DateRange',
|
|
8
8
|
|
|
9
9
|
Templates:
|
|
10
10
|
[
|
|
@@ -4,7 +4,7 @@ const ViewRecordSetSUBSETFilterBase = require('./RecordSet-Filter-Base');
|
|
|
4
4
|
/** @type {Record<string, any>} */
|
|
5
5
|
const _DEFAULT_CONFIGURATION_Filter_ExternalJoin_DateMatch =
|
|
6
6
|
{
|
|
7
|
-
ViewIdentifier: 'PRSP-
|
|
7
|
+
ViewIdentifier: 'PRSP-FilterType-ExternalJoinDateMatch',
|
|
8
8
|
|
|
9
9
|
Templates:
|
|
10
10
|
[
|
|
@@ -4,7 +4,7 @@ const ViewRecordSetSUBSETFilterBaseRange = require('./RecordSet-Filter-Base-Rang
|
|
|
4
4
|
/** @type {Record<string, any>} */
|
|
5
5
|
const _DEFAULT_CONFIGURATION_Filter_ExternalJoin_DateRange =
|
|
6
6
|
{
|
|
7
|
-
ViewIdentifier: 'PRSP-
|
|
7
|
+
ViewIdentifier: 'PRSP-FilterType-ExternalJoinDateRange',
|
|
8
8
|
|
|
9
9
|
Templates:
|
|
10
10
|
[
|
|
@@ -3,7 +3,7 @@ const ViewRecordSetSUBSETFilterBase = require('./RecordSet-Filter-Base');
|
|
|
3
3
|
|
|
4
4
|
const _DEFAULT_CONFIGURATION_Filter_ExternalJoin_NumericMatch =
|
|
5
5
|
{
|
|
6
|
-
ViewIdentifier: 'PRSP-
|
|
6
|
+
ViewIdentifier: 'PRSP-FilterType-ExternalJoinNumericMatch',
|
|
7
7
|
|
|
8
8
|
Templates:
|
|
9
9
|
[
|
|
@@ -4,7 +4,7 @@ const ViewRecordSetSUBSETFilterBaseRange = require('./RecordSet-Filter-Base-Rang
|
|
|
4
4
|
/** @type {Record<string, any>} */
|
|
5
5
|
const _DEFAULT_CONFIGURATION_Filter_ExternalJoin_NumericRange =
|
|
6
6
|
{
|
|
7
|
-
ViewIdentifier: 'PRSP-
|
|
7
|
+
ViewIdentifier: 'PRSP-FilterType-ExternalJoinNumericRange',
|
|
8
8
|
|
|
9
9
|
Templates:
|
|
10
10
|
[
|
|
@@ -4,7 +4,7 @@ const ViewRecordSetSUBSETFilterBase = require('./RecordSet-Filter-Base.js');
|
|
|
4
4
|
/** @type {Record<string, any>} */
|
|
5
5
|
const _DEFAULT_CONFIGURATION_Filter_ExternalJoinStringMatch =
|
|
6
6
|
{
|
|
7
|
-
ViewIdentifier: 'PRSP-
|
|
7
|
+
ViewIdentifier: 'PRSP-FilterType-ExternalJoinStringMatch',
|
|
8
8
|
|
|
9
9
|
Templates:
|
|
10
10
|
[
|
|
@@ -4,7 +4,7 @@ const ViewRecordSetSUBSETFilterBaseRange = require('./RecordSet-Filter-Base-Rang
|
|
|
4
4
|
/** @type {Record<string, any>} */
|
|
5
5
|
const _DEFAULT_CONFIGURATION_Filter_ExternalJoin_StringRange =
|
|
6
6
|
{
|
|
7
|
-
ViewIdentifier: 'PRSP-
|
|
7
|
+
ViewIdentifier: 'PRSP-FilterType-ExternalJoinStringRange',
|
|
8
8
|
|
|
9
9
|
Templates:
|
|
10
10
|
[
|
|
@@ -4,7 +4,7 @@ const ViewRecordSetSUBSETFilterBase = require('./RecordSet-Filter-Base');
|
|
|
4
4
|
/** @type {Record<string, any>} */
|
|
5
5
|
const _DEFAULT_CONFIGURATION_Filter_InternalJoin_DateMatch =
|
|
6
6
|
{
|
|
7
|
-
ViewIdentifier: 'PRSP-
|
|
7
|
+
ViewIdentifier: 'PRSP-FilterType-InternalJoinDateMatch',
|
|
8
8
|
|
|
9
9
|
Templates:
|
|
10
10
|
[
|
|
@@ -4,7 +4,7 @@ const ViewRecordSetSUBSETFilterBaseRange = require('./RecordSet-Filter-Base-Rang
|
|
|
4
4
|
/** @type {Record<string, any>} */
|
|
5
5
|
const _DEFAULT_CONFIGURATION_Filter_InternalJoin_DateRange =
|
|
6
6
|
{
|
|
7
|
-
ViewIdentifier: 'PRSP-
|
|
7
|
+
ViewIdentifier: 'PRSP-FilterType-InternalJoinDateRange',
|
|
8
8
|
|
|
9
9
|
Templates:
|
|
10
10
|
[
|
|
@@ -4,7 +4,7 @@ const ViewRecordSetSUBSETFilterBase = require('./RecordSet-Filter-Base');
|
|
|
4
4
|
/** @type {Record<string, any>} */
|
|
5
5
|
const _DEFAULT_CONFIGURATION_Filter_InternalJoin_NumericMatch =
|
|
6
6
|
{
|
|
7
|
-
ViewIdentifier: 'PRSP-
|
|
7
|
+
ViewIdentifier: 'PRSP-FilterType-InternalJoinNumericMatch',
|
|
8
8
|
|
|
9
9
|
Templates:
|
|
10
10
|
[
|
|
@@ -4,7 +4,7 @@ const ViewRecordSetSUBSETFilterBaseRange = require('./RecordSet-Filter-Base-Rang
|
|
|
4
4
|
/** @type {Record<string, any>} */
|
|
5
5
|
const _DEFAULT_CONFIGURATION_Filter_InternalJoin_NumericRange =
|
|
6
6
|
{
|
|
7
|
-
ViewIdentifier: 'PRSP-
|
|
7
|
+
ViewIdentifier: 'PRSP-FilterType-InternalJoinNumericRange',
|
|
8
8
|
|
|
9
9
|
Templates:
|
|
10
10
|
[
|
|
@@ -4,7 +4,7 @@ const ViewRecordSetSUBSETFilterBase = require('./RecordSet-Filter-Base');
|
|
|
4
4
|
/** @type {Record<string, any>} */
|
|
5
5
|
const _DEFAULT_CONFIGURATION_Filter_InternalJoin_StringMatch =
|
|
6
6
|
{
|
|
7
|
-
ViewIdentifier: 'PRSP-
|
|
7
|
+
ViewIdentifier: 'PRSP-FilterType-InternalJoinStringMatch',
|
|
8
8
|
|
|
9
9
|
Templates:
|
|
10
10
|
[
|
|
@@ -4,7 +4,7 @@ const ViewRecordSetSUBSETFilterBaseRange = require('./RecordSet-Filter-Base-Rang
|
|
|
4
4
|
/** @type {Record<string, any>} */
|
|
5
5
|
const _DEFAULT_CONFIGURATION_Filter_InternalJoin_StringRange =
|
|
6
6
|
{
|
|
7
|
-
ViewIdentifier: 'PRSP-
|
|
7
|
+
ViewIdentifier: 'PRSP-FilterType-InternalJoinStringRange',
|
|
8
8
|
|
|
9
9
|
Templates:
|
|
10
10
|
[
|
|
@@ -4,7 +4,7 @@ const ViewRecordSetSUBSETFilterBase = require('./RecordSet-Filter-Base');
|
|
|
4
4
|
/** @type {Record<string, any>} */
|
|
5
5
|
const _DEFAULT_CONFIGURATION_Filter_NumericMatch =
|
|
6
6
|
{
|
|
7
|
-
ViewIdentifier: 'PRSP-
|
|
7
|
+
ViewIdentifier: 'PRSP-FilterType-NumericMatch',
|
|
8
8
|
|
|
9
9
|
Templates:
|
|
10
10
|
[
|
|
@@ -4,7 +4,7 @@ const ViewRecordSetSUBSETFilterBaseRange = require('./RecordSet-Filter-Base-Rang
|
|
|
4
4
|
/** @type {Record<string, any>} */
|
|
5
5
|
const _DEFAULT_CONFIGURATION_Filter_NumericRange =
|
|
6
6
|
{
|
|
7
|
-
ViewIdentifier: 'PRSP-
|
|
7
|
+
ViewIdentifier: 'PRSP-FilterType-NumericRange',
|
|
8
8
|
|
|
9
9
|
Templates:
|
|
10
10
|
[
|
|
@@ -4,7 +4,7 @@ const ViewRecordSetSUBSETFilterBase = require('./RecordSet-Filter-Base');
|
|
|
4
4
|
/** @type {Record<string, any>} */
|
|
5
5
|
const _DEFAULT_CONFIGURATION_Filter_StringMatch =
|
|
6
6
|
{
|
|
7
|
-
ViewIdentifier: 'PRSP-
|
|
7
|
+
ViewIdentifier: 'PRSP-FilterType-StringMatch',
|
|
8
8
|
|
|
9
9
|
Templates:
|
|
10
10
|
[
|
|
@@ -4,7 +4,7 @@ const ViewRecordSetSUBSETFilterBaseRange = require('./RecordSet-Filter-Base-Rang
|
|
|
4
4
|
/** @type {Record<string, any>} */
|
|
5
5
|
const _DEFAULT_CONFIGURATION_Filter_StringRange =
|
|
6
6
|
{
|
|
7
|
-
ViewIdentifier: 'PRSP-
|
|
7
|
+
ViewIdentifier: 'PRSP-FilterType-StringRange',
|
|
8
8
|
|
|
9
9
|
Templates:
|
|
10
10
|
[
|
|
@@ -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,
|
|
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;IAkCD,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;;;;;AA3hBD,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"}
|