pict-section-recordset 1.0.20 → 1.0.22
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 +2 -0
- package/package.json +3 -3
- package/source/views/RecordSet-Filter.js +7 -0
- package/source/views/dashboard/RecordSet-Dashboard.js +84 -46
- package/types/providers/RecordSet-DynamicRecordsetSolver.d.ts +2 -7
- package/types/providers/RecordSet-DynamicRecordsetSolver.d.ts.map +1 -1
- package/types/providers/RecordSet-Link-Manager.d.ts +2 -3
- package/types/providers/RecordSet-Link-Manager.d.ts.map +1 -1
- package/types/providers/RecordSet-RecordProvider-Base.d.ts +2 -12
- package/types/providers/RecordSet-RecordProvider-Base.d.ts.map +1 -1
- package/types/providers/RecordSet-RecordProvider-MeadowEndpoints.d.ts +0 -4
- package/types/providers/RecordSet-RecordProvider-MeadowEndpoints.d.ts.map +1 -1
- package/types/providers/RecordSet-Router.d.ts +2 -4
- package/types/providers/RecordSet-Router.d.ts.map +1 -1
- package/types/views/RecordSet-Filter.d.ts.map +1 -1
- package/types/views/dashboard/RecordSet-Dashboard.d.ts.map +1 -1
|
@@ -222,6 +222,8 @@ module.exports.default_configuration.pict_configuration = (
|
|
|
222
222
|
"RecordSetType": "MeadowEndpoint", // Could be "Custom" which would require a provider to already be created for the record set.
|
|
223
223
|
"RecordSetMeadowEntity": "Book", // This leverages the /Schema endpoint to get the record set columns.
|
|
224
224
|
|
|
225
|
+
"RecordSetListManifestOnly": true,
|
|
226
|
+
|
|
225
227
|
"RecordSetDashboardManifests": [ "Bestsellers", "Underdogs", "NewReleases" ],
|
|
226
228
|
|
|
227
229
|
"RecordDecorationConfiguration":
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pict-section-recordset",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.22",
|
|
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.27.0",
|
|
35
35
|
"jquery": "^3.7.1",
|
|
36
|
-
"pict": "^1.0.
|
|
36
|
+
"pict": "^1.0.270",
|
|
37
37
|
"pict-application": "^1.0.25",
|
|
38
38
|
"pict-service-commandlineutility": "^1.0.15",
|
|
39
39
|
"quackage": "^1.0.41",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"fable-serviceproviderbase": "^3.0.15",
|
|
44
|
-
"pict-provider": "^1.0.
|
|
44
|
+
"pict-provider": "^1.0.4",
|
|
45
45
|
"pict-router": "^1.0.4",
|
|
46
46
|
"pict-section-form": "^1.0.97",
|
|
47
47
|
"pict-template": "^1.0.10",
|
|
@@ -117,6 +117,13 @@ class viewRecordSetSUBSETFilter extends libPictView
|
|
|
117
117
|
filterExpr = searchFields.map((filterField) => `FBVOR~${filterField}~LK~${encodeURIComponent(`%${pFilterString}%`)}`).join('~');
|
|
118
118
|
}
|
|
119
119
|
let tmpURLTemplate = tmpProviderConfiguration[`RecordSetFilterURLTemplate-${pViewContext}`] || tmpProviderConfiguration[`RecordSetFilterURLTemplate-Default`];
|
|
120
|
+
if (!tmpURLTemplate)
|
|
121
|
+
{
|
|
122
|
+
if (pViewContext === 'Dashboard' || pViewContext === 'List')
|
|
123
|
+
{
|
|
124
|
+
tmpURLTemplate = `/PSRS/${pRecordSet}/${pViewContext}/FilteredTo/{~D:Record.FilterString~}`;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
120
127
|
let tmpURL;
|
|
121
128
|
if (tmpURLTemplate)
|
|
122
129
|
{
|
|
@@ -220,15 +220,15 @@ class viewRecordSetDashboard extends libPictRecordSetRecordView
|
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
let
|
|
223
|
+
let tmpManifestDefinition;
|
|
224
224
|
if (pDashboardHash)
|
|
225
225
|
{
|
|
226
|
-
|
|
226
|
+
tmpManifestDefinition = this.pict.PictSectionRecordSet.manifestDefinitions[pDashboardHash];
|
|
227
227
|
}
|
|
228
228
|
let tmpTitle = pRecordSetConfiguration.Title || pRecordSetConfiguration.RecordSet;
|
|
229
|
-
if (
|
|
229
|
+
if (tmpManifestDefinition && tmpManifestDefinition.TitleTemplate)
|
|
230
230
|
{
|
|
231
|
-
tmpTitle = this.pict.parseTemplate(
|
|
231
|
+
tmpTitle = this.pict.parseTemplate(tmpManifestDefinition.TitleTemplate, pRecordSetConfiguration);
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
let tmpRecordDashboardData =
|
|
@@ -262,7 +262,8 @@ class viewRecordSetDashboard extends libPictRecordSetRecordView
|
|
|
262
262
|
tmpRecordDashboardData.GUIDAddress = `GUID${this.pict.providers[pProviderHash].options.Entity}`;
|
|
263
263
|
|
|
264
264
|
// Get the "page end record number" for the current page (e.g. for messaging like Record 700 to 800 of 75,000)
|
|
265
|
-
|
|
265
|
+
const tmpOffset = typeof(tmpRecordDashboardData.Offset) === 'number' ? tmpRecordDashboardData.Offset : parseInt(tmpRecordDashboardData.Offset);
|
|
266
|
+
tmpRecordDashboardData.PageEnd = tmpOffset + tmpRecordDashboardData.Records.Records.length;
|
|
266
267
|
|
|
267
268
|
// Compute the number of pages total
|
|
268
269
|
tmpRecordDashboardData.PageCount = Math.ceil(tmpRecordDashboardData.TotalRecordCount.Count / tmpRecordDashboardData.PageSize);
|
|
@@ -369,11 +370,10 @@ class viewRecordSetDashboard extends libPictRecordSetRecordView
|
|
|
369
370
|
|
|
370
371
|
if (pDashboardHash)
|
|
371
372
|
{
|
|
372
|
-
tmpRecordDashboardData.TableCells =
|
|
373
|
+
tmpRecordDashboardData.TableCells = tmpManifestDefinition?.TableCells;
|
|
373
374
|
}
|
|
374
375
|
if (!tmpRecordDashboardData.TableCells)
|
|
375
376
|
{
|
|
376
|
-
tmpRecordDashboardData.TableCells = [];
|
|
377
377
|
// Put code here to preprocess columns into other data parts.
|
|
378
378
|
/*
|
|
379
379
|
"RecordSetListManifestOnly": false,
|
|
@@ -381,42 +381,58 @@ class viewRecordSetDashboard extends libPictRecordSetRecordView
|
|
|
381
381
|
"RecordSetListManifests": [ "Bestsellers", "Underdogs", "NewReleases" ],
|
|
382
382
|
"RecordSetDashboardManifests": [ "Bestsellers" ],
|
|
383
383
|
*/
|
|
384
|
-
if (
|
|
384
|
+
if (pRecordSetConfiguration.RecordSetListManifestOnly)
|
|
385
385
|
{
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
386
|
+
const tmpManifestHash = pRecordSetConfiguration.RecordSetDashboardDefaultManifest || pRecordSetConfiguration.RecordSetDashboardManifests?.[0];
|
|
387
|
+
const tmpManifest = this.pict.PictSectionRecordSet.getManifest(tmpManifestHash);
|
|
388
|
+
if (!tmpManifest)
|
|
389
|
+
{
|
|
390
|
+
this.pict.log.error(`RecordSetDashboard: No manifest found for ${pRecordSetConfiguration.RecordSet}. List Render failed.`);
|
|
391
|
+
}
|
|
392
|
+
else
|
|
393
|
+
{
|
|
394
|
+
tmpRecordDashboardData.TableCells = tmpManifest.TableCells;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
if (!tmpRecordDashboardData.TableCells)
|
|
398
|
+
{
|
|
399
|
+
if (tmpRecordDashboardData.RecordSetConfiguration.hasOwnProperty('RecordSetListColumns'))
|
|
400
|
+
{
|
|
401
|
+
tmpRecordDashboardData.TableCells = tmpRecordDashboardData.RecordSetConfiguration.RecordSetListColumns.map((key) =>
|
|
389
402
|
{
|
|
390
|
-
if (
|
|
391
|
-
{
|
|
392
|
-
key.DisplayName = key.Key; //FIXME: use schema?
|
|
393
|
-
}
|
|
394
|
-
if (!key.ManifestHash)
|
|
403
|
+
if (typeof key === 'object')
|
|
395
404
|
{
|
|
396
|
-
key.
|
|
405
|
+
if (!key.DisplayName)
|
|
406
|
+
{
|
|
407
|
+
key.DisplayName = key.Key; //FIXME: use schema?
|
|
408
|
+
}
|
|
409
|
+
if (!key.ManifestHash)
|
|
410
|
+
{
|
|
411
|
+
key.ManifestHash = 'Default';
|
|
412
|
+
}
|
|
413
|
+
return key;
|
|
397
414
|
}
|
|
398
|
-
return
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
this.dynamicallyGenerateColumns(tmpRecordDashboardData);
|
|
415
|
+
return {
|
|
416
|
+
Key: key,
|
|
417
|
+
DisplayName: key, //FIXME: use schema?
|
|
418
|
+
ManifestHash: 'Default',
|
|
419
|
+
PictDashboard:
|
|
420
|
+
{
|
|
421
|
+
ValueTemplate: '{~DVBK:Record.Payload:Record.Data.Key~}',
|
|
422
|
+
},
|
|
423
|
+
};
|
|
424
|
+
});
|
|
425
|
+
}
|
|
426
|
+
else
|
|
427
|
+
{
|
|
428
|
+
this.dynamicallyGenerateColumns(tmpRecordDashboardData);
|
|
429
|
+
}
|
|
414
430
|
}
|
|
415
431
|
}
|
|
416
432
|
|
|
417
433
|
tmpRecordDashboardData = this.onBeforeRenderList(tmpRecordDashboardData);
|
|
418
434
|
|
|
419
|
-
this.pict.providers.DynamicRecordsetSolver.solveDashboard(
|
|
435
|
+
this.pict.providers.DynamicRecordsetSolver.solveDashboard(tmpManifestDefinition, tmpRecordDashboardData.Records.Records);
|
|
420
436
|
|
|
421
437
|
this.renderAsync('PRSP_Renderable_List', tmpRecordDashboardData.RenderDestination, tmpRecordDashboardData,
|
|
422
438
|
function (pError)
|
|
@@ -460,6 +476,19 @@ class viewRecordSetDashboard extends libPictRecordSetRecordView
|
|
|
460
476
|
this.pict.log.error(`RecordSetDashboard: No provider found for ${pProviderHash} in ${pRecordSetConfiguration.RecordSet}. List Render failed.`);
|
|
461
477
|
return;
|
|
462
478
|
}
|
|
479
|
+
if (pRecordSetConfiguration.RecordSetListManifestOnly)
|
|
480
|
+
{
|
|
481
|
+
const tmpManifestHash = pRecordSetConfiguration.RecordSetDashboardDefaultManifest || pRecordSetConfiguration.RecordSetDashboardManifests?.[0];
|
|
482
|
+
const tmpManifest = this.pict.PictSectionRecordSet.getManifest(tmpManifestHash);
|
|
483
|
+
if (!tmpManifest)
|
|
484
|
+
{
|
|
485
|
+
this.pict.log.error(`RecordSetDashboard: No manifest found for ${pRecordSetConfiguration.RecordSet}. List Render failed.`);
|
|
486
|
+
}
|
|
487
|
+
else
|
|
488
|
+
{
|
|
489
|
+
return this.renderSpecificDashboard(tmpManifestHash, pRecordSetConfiguration, pProviderHash, pFilterString, pOffset, pPageSize);
|
|
490
|
+
}
|
|
491
|
+
}
|
|
463
492
|
|
|
464
493
|
let tmpRecordDashboardData =
|
|
465
494
|
{
|
|
@@ -482,7 +511,7 @@ class viewRecordSetDashboard extends libPictRecordSetRecordView
|
|
|
482
511
|
// TODO: There are still problems with the way these have nested data. Discuss how we might move that around
|
|
483
512
|
// Fetch the records
|
|
484
513
|
const [ tmpRecords, tmpTotalRecordCount, tmpRecordSchema ] = await Promise.all([
|
|
485
|
-
this.pict.providers[pProviderHash].
|
|
514
|
+
this.pict.providers[pProviderHash].getDecoratedRecords(tmpRecordDashboardData),
|
|
486
515
|
this.pict.providers[pProviderHash].getRecordSetCount(tmpRecordDashboardData),
|
|
487
516
|
this.pict.providers[pProviderHash].getRecordSchema(),
|
|
488
517
|
]);
|
|
@@ -496,7 +525,8 @@ class viewRecordSetDashboard extends libPictRecordSetRecordView
|
|
|
496
525
|
tmpRecordDashboardData.GUIDAddress = `GUID${this.pict.providers[pProviderHash].options.Entity}`;
|
|
497
526
|
|
|
498
527
|
// Get the "page end record number" for the current page (e.g. for messaging like Record 700 to 800 of 75,000)
|
|
499
|
-
|
|
528
|
+
const tmpOffset = typeof(tmpRecordDashboardData.Offset) === 'number' ? tmpRecordDashboardData.Offset : parseInt(tmpRecordDashboardData.Offset);
|
|
529
|
+
tmpRecordDashboardData.PageEnd = tmpOffset + tmpRecordDashboardData.Records.Records.length;
|
|
500
530
|
|
|
501
531
|
// Compute the number of pages total
|
|
502
532
|
tmpRecordDashboardData.PageCount = Math.ceil(tmpRecordDashboardData.TotalRecordCount.Count / tmpRecordDashboardData.PageSize);
|
|
@@ -601,7 +631,6 @@ class viewRecordSetDashboard extends libPictRecordSetRecordView
|
|
|
601
631
|
tmpRecordDashboardData.PageLinkBookmarks.NextLink = tmpRecordDashboardData.PageLinks[tmpRecordDashboardData.PageLinkBookmarks.Next];
|
|
602
632
|
}
|
|
603
633
|
|
|
604
|
-
tmpRecordDashboardData.TableCells = [];
|
|
605
634
|
// Put code here to preprocess columns into other data parts.
|
|
606
635
|
/*
|
|
607
636
|
"RecordSetListManifestOnly": false,
|
|
@@ -611,23 +640,32 @@ class viewRecordSetDashboard extends libPictRecordSetRecordView
|
|
|
611
640
|
*/
|
|
612
641
|
if (tmpRecordDashboardData.RecordSetConfiguration.hasOwnProperty('RecordSetListColumns'))
|
|
613
642
|
{
|
|
614
|
-
tmpRecordDashboardData.TableCells = tmpRecordDashboardData.RecordSetConfiguration.RecordSetListColumns.map((
|
|
643
|
+
tmpRecordDashboardData.TableCells = tmpRecordDashboardData.RecordSetConfiguration.RecordSetListColumns.map((pKey) =>
|
|
615
644
|
{
|
|
616
|
-
if (typeof
|
|
645
|
+
if (typeof pKey === 'object')
|
|
617
646
|
{
|
|
618
|
-
|
|
647
|
+
const tmpTableCell = pKey;
|
|
648
|
+
if (!tmpTableCell.DisplayName)
|
|
649
|
+
{
|
|
650
|
+
tmpTableCell.DisplayName = tmpTableCell.Key; //FIXME: use schema?
|
|
651
|
+
}
|
|
652
|
+
if (!tmpTableCell.ManifestHash)
|
|
653
|
+
{
|
|
654
|
+
tmpTableCell.ManifestHash = 'Default';
|
|
655
|
+
}
|
|
656
|
+
if (!tmpTableCell.PictDashboard)
|
|
619
657
|
{
|
|
620
|
-
|
|
658
|
+
tmpTableCell.PictDashboard = {};
|
|
621
659
|
}
|
|
622
|
-
if (!
|
|
660
|
+
if (!tmpTableCell.PictDashboard.ValueTemplate)
|
|
623
661
|
{
|
|
624
|
-
|
|
662
|
+
tmpTableCell.PictDashboard.ValueTemplate = '{~DVBK:Record.Payload:Record.Data.Key~}';
|
|
625
663
|
}
|
|
626
|
-
return
|
|
664
|
+
return tmpTableCell;
|
|
627
665
|
}
|
|
628
666
|
return {
|
|
629
|
-
Key:
|
|
630
|
-
DisplayName:
|
|
667
|
+
Key: pKey,
|
|
668
|
+
DisplayName: pKey, //FIXME: use schema?
|
|
631
669
|
ManifestHash: 'Default',
|
|
632
670
|
PictDashboard:
|
|
633
671
|
{
|
|
@@ -2,7 +2,7 @@ export = RecordSetDynamicRecordsetSolver;
|
|
|
2
2
|
/**
|
|
3
3
|
* The PictDynamicSolver class is a provider that solves configuration-generated dynamic views.
|
|
4
4
|
*/
|
|
5
|
-
declare class RecordSetDynamicRecordsetSolver {
|
|
5
|
+
declare class RecordSetDynamicRecordsetSolver extends libPictProvider {
|
|
6
6
|
/**
|
|
7
7
|
* Creates an instance of the PictDynamicSolver class.
|
|
8
8
|
*
|
|
@@ -32,12 +32,6 @@ declare class RecordSetDynamicRecordsetSolver {
|
|
|
32
32
|
instantiateServiceProviderIfNotExists: (hash: string) => any;
|
|
33
33
|
ExpressionParser: any;
|
|
34
34
|
};
|
|
35
|
-
/** @type {any} */
|
|
36
|
-
log: any;
|
|
37
|
-
/** @type {string} */
|
|
38
|
-
UUID: string;
|
|
39
|
-
/** @type {string} */
|
|
40
|
-
Hash: string;
|
|
41
35
|
/**
|
|
42
36
|
* Checks the solver and returns the solver object if it passes the checks.
|
|
43
37
|
*
|
|
@@ -153,6 +147,7 @@ declare class RecordSetDynamicRecordsetSolver {
|
|
|
153
147
|
declare namespace RecordSetDynamicRecordsetSolver {
|
|
154
148
|
export { _DefaultProviderConfiguration as default_configuration };
|
|
155
149
|
}
|
|
150
|
+
import libPictProvider = require("pict-provider");
|
|
156
151
|
/** @type {Record<string, any>} */
|
|
157
152
|
declare const _DefaultProviderConfiguration: Record<string, any>;
|
|
158
153
|
//# sourceMappingURL=RecordSet-DynamicRecordsetSolver.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-DynamicRecordsetSolver.d.ts","sourceRoot":"","sources":["../../source/providers/RecordSet-DynamicRecordsetSolver.js"],"names":[],"mappings":";AAaA;;GAEG;AACH;IAEC;;;;;;OAMG;IACH,oBAJW,MAAM,YACN,MAAM,gBACN,MAAM,EAwBhB;IAjBA;;;;YAIQ;IACR,MALW,OAAO,MAAM,CAAC,GAAG;QACxB,qCAAqC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,GAAG,CAAC;QAC7D,gBAAgB,EAAE,GAAG,CAAC;QACtB,oBAAoB,EAAE,YAAY,CAAC;;;;;;SAAsC,CAAC,CAAA;KAC1E,CACK;IACT,uHAAuH;IACvH,OADW,OAAO,MAAM,CAAC,GAAG;QAAE,qCAAqC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,GAAG,CAAC;QAAC,gBAAgB,EAAE,GAAG,CAAA;KAAE,CACzG;
|
|
1
|
+
{"version":3,"file":"RecordSet-DynamicRecordsetSolver.d.ts","sourceRoot":"","sources":["../../source/providers/RecordSet-DynamicRecordsetSolver.js"],"names":[],"mappings":";AAaA;;GAEG;AACH;IAEC;;;;;;OAMG;IACH,oBAJW,MAAM,YACN,MAAM,gBACN,MAAM,EAwBhB;IAjBA;;;;YAIQ;IACR,MALW,OAAO,MAAM,CAAC,GAAG;QACxB,qCAAqC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,GAAG,CAAC;QAC7D,gBAAgB,EAAE,GAAG,CAAC;QACtB,oBAAoB,EAAE,YAAY,CAAC;;;;;;SAAsC,CAAC,CAAA;KAC1E,CACK;IACT,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SetRouter;
|
|
2
|
-
declare class PictRecordSetRouter {
|
|
2
|
+
declare class PictRecordSetRouter extends libPictProvider {
|
|
3
3
|
constructor(pFable: any, pOptions: any, pServiceHash: any);
|
|
4
|
-
/** @type {Record<string, any>} */
|
|
5
|
-
options: Record<string, any>;
|
|
6
4
|
/** @type {import('pict')} */
|
|
7
5
|
pict: import("pict");
|
|
8
6
|
linkTemplates: any[];
|
|
@@ -15,6 +13,7 @@ declare class PictRecordSetRouter {
|
|
|
15
13
|
declare namespace PictRecordSetRouter {
|
|
16
14
|
export { _DEFAULT_PROVIDER_CONFIGURATION as default_configuration };
|
|
17
15
|
}
|
|
16
|
+
import libPictProvider = require("pict-provider");
|
|
18
17
|
/** @type {Record<string, any>} */
|
|
19
18
|
declare const _DEFAULT_PROVIDER_CONFIGURATION: Record<string, any>;
|
|
20
19
|
//# sourceMappingURL=RecordSet-Link-Manager.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-Link-Manager.d.ts","sourceRoot":"","sources":["../../source/providers/RecordSet-Link-Manager.js"],"names":[],"mappings":";AAWA;IAEC,2DAkBC;
|
|
1
|
+
{"version":3,"file":"RecordSet-Link-Manager.d.ts","sourceRoot":"","sources":["../../source/providers/RecordSet-Link-Manager.js"],"names":[],"mappings":";AAWA;IAEC,2DAkBC;IAXA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IAST,qBAAuB;IAIxB;;;;MAcC;CACD;;;;;AA/CD,kCAAkC;AAClC,+CADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAO7B"}
|
|
@@ -31,18 +31,7 @@ export = RecordSetProviderBase;
|
|
|
31
31
|
* Base record set provider.
|
|
32
32
|
* @extends libPictProvider
|
|
33
33
|
*/
|
|
34
|
-
declare class RecordSetProviderBase {
|
|
35
|
-
/**
|
|
36
|
-
* Creates an instance of RecordSetProvider.
|
|
37
|
-
* @param {import('fable')} pFable - The Fable object.
|
|
38
|
-
* @param {Record<string, any>} [pOptions] - Custom options for the provider.
|
|
39
|
-
* @param {string} [pServiceHash] - The service hash.
|
|
40
|
-
*/
|
|
41
|
-
constructor(pFable: any, pOptions?: Record<string, any>, pServiceHash?: string);
|
|
42
|
-
/** @type {Record<string, any>} */
|
|
43
|
-
options: Record<string, any>;
|
|
44
|
-
/** @type {import('fable')} */
|
|
45
|
-
fable: any;
|
|
34
|
+
declare class RecordSetProviderBase extends libPictProvider {
|
|
46
35
|
/** @type {import('pict')} */
|
|
47
36
|
pict: import("pict");
|
|
48
37
|
/**
|
|
@@ -151,6 +140,7 @@ declare class RecordSetProviderBase {
|
|
|
151
140
|
declare namespace RecordSetProviderBase {
|
|
152
141
|
export { _DefaultProviderConfiguration as default_configuration, RecordSetSearchRangeFacet, RecordSetSearchFacetPayload, RecordSetResult, RecordSetFilter };
|
|
153
142
|
}
|
|
143
|
+
import libPictProvider = require("pict-provider");
|
|
154
144
|
/**
|
|
155
145
|
* Default configuration for the RecordSetProvider provider.
|
|
156
146
|
* @type {Record<string, any>}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-RecordProvider-Base.d.ts","sourceRoot":"","sources":["../../source/providers/RecordSet-RecordProvider-Base.js"],"names":[],"mappings":";AAcA;;;;;;;GAOG;AAEH;;;;;;GAMG;AAEH;;;;GAIG;AAEH;;;;;;;GAOG;AAEH;;;GAGG;AACH;
|
|
1
|
+
{"version":3,"file":"RecordSet-RecordProvider-Base.d.ts","sourceRoot":"","sources":["../../source/providers/RecordSet-RecordProvider-Base.js"],"names":[],"mappings":";AAcA;;;;;;;GAOG;AAEH;;;;;;GAMG;AAEH;;;;GAIG;AAEH;;;;;;;GAOG;AAEH;;;GAGG;AACH;IAkBE,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IAGV;;;;OAIG;IACH,qBAFW,MAAM,GAAC,MAAM,eAMvB;IAED;;;;OAIG;IACH,uBAFW,MAAM,GAAC,MAAM,eAMvB;I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;WAIY,MAAM;;;;WACN,GAAG;;;;SACH,GAAG;;;;;SACH,GAAG;;;;;;oBAMH,OAAO;;;;YACP,KAAK,CAAC,MAAM,CAAC;;;;;YACb,KAAK,CAAC,yBAAyB,CAAC;;;;;;aAMhC,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;YAC1B,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG;QAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;KAAE;;;;;;aAK7E,MAAM;;;;mBACN,MAAM;;;;aACN,MAAM;;;;eACN,MAAM;;;;aACN,2BAA2B"}
|
|
@@ -39,10 +39,6 @@ declare class MeadowEndpointsRecordSetProvider extends libRecordSetProviderBase
|
|
|
39
39
|
RecordSetProviderMeadowEndpoints: typeof MeadowEndpointsRecordSetProvider;
|
|
40
40
|
}>;
|
|
41
41
|
};
|
|
42
|
-
/** @type {string} */
|
|
43
|
-
Hash: string;
|
|
44
|
-
/** @type {string} */
|
|
45
|
-
UUID: string;
|
|
46
42
|
/** @type {Record<string, any>} */
|
|
47
43
|
_Schema: Record<string, any>;
|
|
48
44
|
/** @return {import('pict/types/source/Pict-Meadow-EntityProvider.js')} */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-RecordProvider-MeadowEndpoints.d.ts","sourceRoot":"","sources":["../../source/providers/RecordSet-RecordProvider-MeadowEndpoints.js"],"names":[],"mappings":";AAGA;;;GAGG;AAEH;;;GAGG;AACH;IAgBE;;;;;;;;;aASS;IACT,MAVW,OAAO,MAAM,CAAC,GAAG;QACpB,GAAG,EAAE,GAAG,CAAC;QACT,QAAQ,EACf;YACI,oBAAoB,EAAE,YAAY,CAAC;;;;;;aAAsC,CAAC,CAAC;YAC/E,CAAK,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;SACnB,CAAC;QACE,6CAA6C,EAAE,CAAC,IAAI,QAAQ,KAAK,GAAG,CAAC;QACrE,oBAAoB,EAAE,YAAY,CAAC;;;;;;SAAsC,CAAC,CAAA;KAC7E,CACI;
|
|
1
|
+
{"version":3,"file":"RecordSet-RecordProvider-MeadowEndpoints.d.ts","sourceRoot":"","sources":["../../source/providers/RecordSet-RecordProvider-MeadowEndpoints.js"],"names":[],"mappings":";AAGA;;;GAGG;AAEH;;;GAGG;AACH;IAgBE;;;;;;;;;aASS;IACT,MAVW,OAAO,MAAM,CAAC,GAAG;QACpB,GAAG,EAAE,GAAG,CAAC;QACT,QAAQ,EACf;YACI,oBAAoB,EAAE,YAAY,CAAC;;;;;;aAAsC,CAAC,CAAC;YAC/E,CAAK,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;SACnB,CAAC;QACE,6CAA6C,EAAE,CAAC,IAAI,QAAQ,KAAK,GAAG,CAAC;QACrE,oBAAoB,EAAE,YAAY,CAAC;;;;;;SAAsC,CAAC,CAAA;KAC7E,CACI;IAMT,kCAAkC;IAClC,SADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CACZ;IAGnB,0EAA0E;IAC1E,sBADa,OAAO,iDAAiD,CAAC,CAWrE;IARA,wEAAwE;IAExE,iBAFW,OAAO,iDAAiD,CAAC,CAE4B;IAQjG;;;OAGG;IAEH;;;;OAIG;IACH,qBAFW,MAAM,GAAC,MAAM,gBA4BvB;IAED;;;;OAIG;IACH,uBAFW,MAAM,GAAC,MAAM,gBA2BvB;IA8CD;;;;OAIG;IACH,4BAFW,eAAe,gBAyBzB;IAED;;;;OAIG;IACH,sBAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBAsB7B;IAED;;;;OAIG;IACH,sBAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBAsB7B;IAED;;;;OAIG;IACH,sBAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBAsB7B;IAED;;;;OAIG;IACH,sBAFW,MAAM,GAAC,MAAM,gBAKvB;IAaD;;;;OAIG;IACH,qBAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBAK7B;IAcD;;OAEG;IACH,6BAFW,CAAC,KAAK,CAAC,EAAE,KAAK,KAAK,IAAI,QA2BjC;IAED,gDAcC;CAsCD;;;;;uBAvZY,OAAO,oCAAoC,EAAE,eAAe;uBAC5D,OAAO,oCAAoC,EAAE,eAAe"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export = PictRecordSetRouter;
|
|
2
|
-
declare class PictRecordSetRouter {
|
|
2
|
+
declare class PictRecordSetRouter extends libPictProvider {
|
|
3
3
|
constructor(pFable: any, pOptions: any, pServiceHash: any);
|
|
4
|
-
/** @type {Record<string, any>} */
|
|
5
|
-
options: Record<string, any>;
|
|
6
4
|
/** @type {import('pict') & { PictSectionRecordSet: InstanceType<import('../Pict-Section-RecordSet.js')> }} */
|
|
7
5
|
pict: import("pict") & {
|
|
8
6
|
PictSectionRecordSet: InstanceType<{
|
|
@@ -14,7 +12,6 @@ declare class PictRecordSetRouter {
|
|
|
14
12
|
}>;
|
|
15
13
|
};
|
|
16
14
|
pictRouter: any;
|
|
17
|
-
onInitialize(): any;
|
|
18
15
|
addRoutes(pRouter: any): void;
|
|
19
16
|
/**
|
|
20
17
|
* Navigate to a given route (set the browser URL string, add to history, trigger router)
|
|
@@ -26,6 +23,7 @@ declare class PictRecordSetRouter {
|
|
|
26
23
|
declare namespace PictRecordSetRouter {
|
|
27
24
|
export { _DEFAULT_PROVIDER_CONFIGURATION as default_configuration };
|
|
28
25
|
}
|
|
26
|
+
import libPictProvider = require("pict-provider");
|
|
29
27
|
/** @type {Record<string, any>} */
|
|
30
28
|
declare const _DEFAULT_PROVIDER_CONFIGURATION: Record<string, any>;
|
|
31
29
|
//# sourceMappingURL=RecordSet-Router.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-Router.d.ts","sourceRoot":"","sources":["../../source/providers/RecordSet-Router.js"],"names":[],"mappings":";AAYA;IAEC,2DAWC;
|
|
1
|
+
{"version":3,"file":"RecordSet-Router.d.ts","sourceRoot":"","sources":["../../source/providers/RecordSet-Router.js"],"names":[],"mappings":";AAYA;IAEC,2DAWC;IAJA,8GAA8G;IAC9G,MADW,OAAO,MAAM,CAAC,GAAG;QAAE,oBAAoB,EAAE,YAAY,CAAC;;;;;;SAAsC,CAAC,CAAA;KAAE,CACjG;IAET,gBAAsB;IAgBvB,8BAYC;IAED;;;;OAIG;IACH,iBAFW,MAAM,QAKhB;CACD;;;;;AA5DD,kCAAkC;AAClC,+CADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAO7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-Filter.d.ts","sourceRoot":"","sources":["../../source/views/RecordSet-Filter.js"],"names":[],"mappings":";AA+EA;IAEC,2DAMC;IAFA,kHAAkH;IAClH,MADW,GAAe,GAAG,OAAO,MAAM,CAAC,GAAG;QAAE,oBAAoB,EAAE;;;;;;SAAsC,CAAA;KAAE,CACrG;IAGV;;;;OAIG;IACH,qBAJW,KAAK,cACL,MAAM,gBACN,MAAM,QAQhB;IAED;;;;OAIG;IACH,0BAJW,MAAM,gBACN,MAAM,kBACN,MAAM,
|
|
1
|
+
{"version":3,"file":"RecordSet-Filter.d.ts","sourceRoot":"","sources":["../../source/views/RecordSet-Filter.js"],"names":[],"mappings":";AA+EA;IAEC,2DAMC;IAFA,kHAAkH;IAClH,MADW,GAAe,GAAG,OAAO,MAAM,CAAC,GAAG;QAAE,oBAAoB,EAAE;;;;;;SAAsC,CAAA;KAAE,CACrG;IAGV;;;;OAIG;IACH,qBAJW,KAAK,cACL,MAAM,gBACN,MAAM,QAQhB;IAED;;;;OAIG;IACH,0BAJW,MAAM,gBACN,MAAM,kBACN,MAAM,QAmChB;IAED;;;;OAIG;IACH,oBAJW,KAAK,cACL,MAAM,gBACN,MAAM,QAOhB;CACD;;;;;AAvJD,kCAAkC;AAClC,oDADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CA2E5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-Dashboard.d.ts","sourceRoot":"","sources":["../../../source/views/dashboard/RecordSet-Dashboard.js"],"names":[],"mappings":";AA0EA;IAOE;;;;;;;;MAQC;IAGF,iEAsCC;IAED;;OAEG;IACH,qCAeC;IAED,8CAGC;IAED,sDAuCC;IAnCA,iCAUC;IA2BF;;;;;;;;;OASG;IACH,wCATW,MAAM,2BACN,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,iBACnB,MAAM,iBACN,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":";AA0EA;IAOE;;;;;;;;MAQC;IAGF,iEAsCC;IAED;;OAEG;IACH,qCAeC;IAED,8CAGC;IAED,sDAuCC;IAnCA,iCAUC;IA2BF;;;;;;;;;OASG;IACH,wCATW,MAAM,2BACN,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,iBACnB,MAAM,iBACN,MAAM,WACN,MAAM,aACN,MAAM,GAEL,OAAO,CAAC,IAAI,CAAC,CAwPxB;IAED;;;;;;;;OAQG;IACH,yCARW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,iBACnB,MAAM,iBACN,MAAM,WACN,MAAM,aACN,MAAM,GAEL,OAAO,CAAC,IAAI,CAAC,CAqPxB;CAwBD;;;;;AAjtBD,kCAAkC;AAClC,iDADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CA6D1B"}
|