pict-section-recordset 1.0.16 → 1.0.18
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 +163 -30
- package/package.json +3 -3
- package/source/application/Pict-Application-RecordSet.js +2 -0
- package/source/providers/RecordSet-DynamicSolver.js +305 -0
- package/source/providers/RecordSet-Router.js +2 -0
- package/source/services/RecordsSet-MetaController.js +68 -69
- package/source/templates/Pict-Template-FilterView.js +2 -2
- package/source/views/RecordSet-Filter.js +2 -1
- package/source/views/dashboard/RecordSet-Dashboard-RecordListEntry.js +1 -1
- package/source/views/dashboard/RecordSet-Dashboard-RecordListHeader.js +12 -0
- package/source/views/dashboard/RecordSet-Dashboard.js +345 -72
- package/source/views/error/RecordSet-Error-NotFound.json +22 -0
- package/source/views/list/RecordSet-List.js +9 -5
- package/types/application/Pict-Application-RecordSet.d.ts.map +1 -1
- package/types/providers/RecordSet-DynamicSolver.d.ts +158 -0
- package/types/providers/RecordSet-DynamicSolver.d.ts.map +1 -0
- package/types/providers/RecordSet-Router.d.ts.map +1 -1
- package/types/services/RecordsSet-MetaController.d.ts +12 -11
- package/types/services/RecordsSet-MetaController.d.ts.map +1 -1
- package/types/views/RecordSet-Filter.d.ts.map +1 -1
- package/types/views/dashboard/RecordSet-Dashboard-RecordListHeader.d.ts.map +1 -1
- package/types/views/dashboard/RecordSet-Dashboard.d.ts +22 -2
- package/types/views/dashboard/RecordSet-Dashboard.d.ts.map +1 -1
- package/types/views/list/RecordSet-List.d.ts.map +1 -1
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
export = RecordSetDynamicSolver;
|
|
2
|
+
/**
|
|
3
|
+
* The PictDynamicSolver class is a provider that solves configuration-generated dynamic views.
|
|
4
|
+
*/
|
|
5
|
+
declare class RecordSetDynamicSolver {
|
|
6
|
+
/**
|
|
7
|
+
* Creates an instance of the PictDynamicSolver class.
|
|
8
|
+
*
|
|
9
|
+
* @param {object} pFable - The fable object.
|
|
10
|
+
* @param {object} pOptions - The options object.
|
|
11
|
+
* @param {object} pServiceHash - The service hash object.
|
|
12
|
+
*/
|
|
13
|
+
constructor(pFable: object, pOptions: object, pServiceHash: object);
|
|
14
|
+
/** @type {import('pict') & {
|
|
15
|
+
* instantiateServiceProviderIfNotExists: (hash: string) => any,
|
|
16
|
+
* ExpressionParser: any,
|
|
17
|
+
* PictSectionRecordSet: InstanceType<import('../Pict-Section-RecordSet.js')>
|
|
18
|
+
* }} */
|
|
19
|
+
pict: import("pict") & {
|
|
20
|
+
instantiateServiceProviderIfNotExists: (hash: string) => any;
|
|
21
|
+
ExpressionParser: any;
|
|
22
|
+
PictSectionRecordSet: InstanceType<{
|
|
23
|
+
new (pFable: any, pOptions: any, pServiceHash: any): import("../services/RecordsSet-MetaController.js");
|
|
24
|
+
default_configuration: Record<string, any>;
|
|
25
|
+
PictRecordSetApplication: typeof import("../application/Pict-Application-RecordSet.js");
|
|
26
|
+
RecordSetProviderBase: typeof import("./RecordSet-RecordProvider-Base.js");
|
|
27
|
+
RecordSetProviderMeadowEndpoints: typeof import("./RecordSet-RecordProvider-MeadowEndpoints.js");
|
|
28
|
+
}>;
|
|
29
|
+
};
|
|
30
|
+
/** @type {import('pict') & { instantiateServiceProviderIfNotExists: (hash: string) => any, ExpressionParser: any }} */
|
|
31
|
+
fable: import("pict") & {
|
|
32
|
+
instantiateServiceProviderIfNotExists: (hash: string) => any;
|
|
33
|
+
ExpressionParser: any;
|
|
34
|
+
};
|
|
35
|
+
/** @type {any} */
|
|
36
|
+
log: any;
|
|
37
|
+
/** @type {string} */
|
|
38
|
+
UUID: string;
|
|
39
|
+
/** @type {string} */
|
|
40
|
+
Hash: string;
|
|
41
|
+
/**
|
|
42
|
+
* Checks the solver and returns the solver object if it passes the checks.
|
|
43
|
+
*
|
|
44
|
+
* Automatically converts string solvers to have an Ordinal of 1.
|
|
45
|
+
*
|
|
46
|
+
* @param {string|object} pSolver - The solver to be checked. It can be either a string or an object.
|
|
47
|
+
* @param {boolean} [pFiltered=false] - Indicates whether the solvers should be filtered.
|
|
48
|
+
* @param {number} [pOrdinal] - The ordinal value to compare with the solver's ordinal value when filtered.
|
|
49
|
+
* @returns {object|undefined} - The solver object if it passes the checks, otherwise undefined.
|
|
50
|
+
*/
|
|
51
|
+
checkSolver(pSolver: string | object, pFiltered?: boolean, pOrdinal?: number): object | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Runs each RecordSet solver formulae for a dynamic view group at a given ordinal.
|
|
54
|
+
*
|
|
55
|
+
* Or for all ordinals if no ordinal is passed.
|
|
56
|
+
*
|
|
57
|
+
* @param {import('manyfest')} pManifest - The manifest for the RecordSet.
|
|
58
|
+
* @param {array} pCellSolverArray - An array of Solvers from the groups to solve.
|
|
59
|
+
* @param {number} pOrdinal - The ordinal value to filter to. Optional.
|
|
60
|
+
* @param {Array<Record<string, any>>} pRecords - The records to solve against.
|
|
61
|
+
*/
|
|
62
|
+
executeCellSolvers(pManifest: any, pCellSolverArray: any[], pOrdinal: number, pRecords: Array<Record<string, any>>): void;
|
|
63
|
+
/**
|
|
64
|
+
* @param {Record<string, any>} pRecord - The record to build the context for.
|
|
65
|
+
* @param {Array<Record<string, any>>} pRecords - The records to build the context from.
|
|
66
|
+
* @param {import('manyfest')} pManifest - The manifest for the RecordSet.
|
|
67
|
+
*/
|
|
68
|
+
buildCellContextRecord(pRecord: Record<string, any>, pRecords: Array<Record<string, any>>, pManifest: any): Record<string, any> & {
|
|
69
|
+
Pict: import("pict") & {
|
|
70
|
+
instantiateServiceProviderIfNotExists: (hash: string) => any;
|
|
71
|
+
ExpressionParser: any;
|
|
72
|
+
PictSectionRecordSet: InstanceType<{
|
|
73
|
+
new (pFable: any, pOptions: any, pServiceHash: any): import("../services/RecordsSet-MetaController.js");
|
|
74
|
+
default_configuration: Record<string, any>;
|
|
75
|
+
PictRecordSetApplication: typeof import("../application/Pict-Application-RecordSet.js");
|
|
76
|
+
RecordSetProviderBase: typeof import("./RecordSet-RecordProvider-Base.js");
|
|
77
|
+
RecordSetProviderMeadowEndpoints: typeof import("./RecordSet-RecordProvider-MeadowEndpoints.js");
|
|
78
|
+
}>;
|
|
79
|
+
};
|
|
80
|
+
AppData: any;
|
|
81
|
+
RecordSubset: Record<string, any>[];
|
|
82
|
+
Manifest: any;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* @param {Array<Record<string, any>>} pRecords - The records to build the context from.
|
|
86
|
+
* @param {import('manyfest')} pManifest - The manifest for the RecordSet.
|
|
87
|
+
*/
|
|
88
|
+
buildGlobalContextRecord(pRecords: Array<Record<string, any>>, pManifest: any): {
|
|
89
|
+
Pict: import("pict") & {
|
|
90
|
+
instantiateServiceProviderIfNotExists: (hash: string) => any;
|
|
91
|
+
ExpressionParser: any;
|
|
92
|
+
PictSectionRecordSet: InstanceType<{
|
|
93
|
+
new (pFable: any, pOptions: any, pServiceHash: any): import("../services/RecordsSet-MetaController.js");
|
|
94
|
+
default_configuration: Record<string, any>;
|
|
95
|
+
PictRecordSetApplication: typeof import("../application/Pict-Application-RecordSet.js");
|
|
96
|
+
RecordSetProviderBase: typeof import("./RecordSet-RecordProvider-Base.js");
|
|
97
|
+
RecordSetProviderMeadowEndpoints: typeof import("./RecordSet-RecordProvider-MeadowEndpoints.js");
|
|
98
|
+
}>;
|
|
99
|
+
};
|
|
100
|
+
AppData: any;
|
|
101
|
+
RecordSubset: Record<string, any>[];
|
|
102
|
+
Manifest: any;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Executes the section solvers at a given ordinal (or all if no ordinal is passed).
|
|
106
|
+
*
|
|
107
|
+
* @param {import('manyfest')} pManifest - The manifest for the RecordSet.
|
|
108
|
+
* @param {Array} pGlobalSolverArray - The array of view section solvers.
|
|
109
|
+
* @param {number} pOrdinal - The ordinal value.
|
|
110
|
+
* @param {Array<Record<string, any>>} pRecords - The records to solve against.
|
|
111
|
+
*/
|
|
112
|
+
executeDashboardSolvers(pManifest: any, pGlobalSolverArray: any[], pOrdinal: number, pRecords: Array<Record<string, any>>): void;
|
|
113
|
+
/**
|
|
114
|
+
* Checks if the given ordinal exists in the provided ordinal set.
|
|
115
|
+
*
|
|
116
|
+
* If not, it adds the ordinal to the set.
|
|
117
|
+
*
|
|
118
|
+
* @param {number} pOrdinal - The ordinal to check.
|
|
119
|
+
* @param {Object} pOrdinalSet - The ordinal set to check against.
|
|
120
|
+
* @returns {Object} - The ordinal object from the ordinal set.
|
|
121
|
+
*/
|
|
122
|
+
checkAutoSolveOrdinal(pOrdinal: number, pOrdinalSet: any): any;
|
|
123
|
+
/**
|
|
124
|
+
* Solves the views based on the provided view hashes or all views in pict.
|
|
125
|
+
*
|
|
126
|
+
* If non-dynamic views are also passed in, they are solved as well.
|
|
127
|
+
*
|
|
128
|
+
* This algorithm is particularly complex because it solves views in
|
|
129
|
+
* order across two dimensions:
|
|
130
|
+
*
|
|
131
|
+
* 1. The order of the views in the view hash array.
|
|
132
|
+
* 2. Precedence order (based on Ordinal)
|
|
133
|
+
*
|
|
134
|
+
* The way it manages the precedence order solving is by enumerating the
|
|
135
|
+
* view hash array multiple times until it exhausts the solution set.
|
|
136
|
+
*
|
|
137
|
+
* In dynamic views, when there are collisions in precedence order between
|
|
138
|
+
* Section Solvers and Group RecordSet Solvers, it prefers the RecordSet
|
|
139
|
+
* solvers first. The thinking behind this is that a RecordSet solver is
|
|
140
|
+
* a "tier down" from the core Section it resides within. These are
|
|
141
|
+
* leaves on the tree.
|
|
142
|
+
*
|
|
143
|
+
* @param {Record<string, any>} pManifestDefinition
|
|
144
|
+
* @param {Array<Record<string, any>>} pRecords - The records to solve against.
|
|
145
|
+
*/
|
|
146
|
+
solveDashboard(pManifestDefinition: Record<string, any>, pRecords: Array<Record<string, any>>): void;
|
|
147
|
+
lastSolveOutcome: {
|
|
148
|
+
StartTimeStamp: number;
|
|
149
|
+
SolveOrdinals: {};
|
|
150
|
+
EndTimeStamp: number;
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
declare namespace RecordSetDynamicSolver {
|
|
154
|
+
export { _DefaultProviderConfiguration as default_configuration };
|
|
155
|
+
}
|
|
156
|
+
/** @type {Record<string, any>} */
|
|
157
|
+
declare const _DefaultProviderConfiguration: Record<string, any>;
|
|
158
|
+
//# sourceMappingURL=RecordSet-DynamicSolver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordSet-DynamicSolver.d.ts","sourceRoot":"","sources":["../../source/providers/RecordSet-DynamicSolver.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;IACV,kBAAkB;IAClB,KADW,GAAG,CACN;IACR,qBAAqB;IACrB,MADW,MAAM,CACR;IACT,qBAAqB;IACrB,MADW,MAAM,CACR;IAMV;;;;;;;;;OASG;IACH,qBALW,MAAM,GAAC,MAAM,cACb,OAAO,aACP,MAAM,GACJ,MAAM,GAAC,SAAS,CA8B5B;IAED;;;;;;;;;OASG;IACH,sEAHW,MAAM,YACN,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,QAuCpC;IAED;;;;OAIG;IACH,gCAJW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,YACnB,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;mDA7GO,CAAC,IAAI,EAAE,MAAM,KAAK,GAAG;8BAC1C,GAAG;kCACC,YAAY,CAAC;;;;;;aAAsC,CAAC;;;;;MAiH9E;IAED;;;OAGG;IACH,mCAHW,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;mDAtHO,CAAC,IAAI,EAAE,MAAM,KAAK,GAAG;8BAC1C,GAAG;kCACC,YAAY,CAAC;;;;;;aAAsC,CAAC;;;;;MA+H9E;IAED;;;;;;;OAOG;IACH,6EAHW,MAAM,YACN,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,QA+BpC;IAED;;;;;;;;OAQG;IACH,gCAJW,MAAM,yBAWhB;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,oCAHW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,YACnB,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,QA4DpC;IADA;;;;MAAuC;CAExC;;;;AA3SD,kCAAkC;AAClC,6CADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAS3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-Router.d.ts","sourceRoot":"","sources":["../../source/providers/RecordSet-Router.js"],"names":[],"mappings":";AAYA;IAEC,2DAWC;IANA,kCAAkC;IAClC,SADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAClB;IACZ,8GAA8G;IAC9G,MADW,OAAO,MAAM,CAAC,GAAG;QAAE,oBAAoB,EAAE,YAAY,CAAC;;;;;;SAAsC,CAAC,CAAA;KAAE,CACjG;IAET,gBAAsB;IAGvB,oBAWC;IAED,
|
|
1
|
+
{"version":3,"file":"RecordSet-Router.d.ts","sourceRoot":"","sources":["../../source/providers/RecordSet-Router.js"],"names":[],"mappings":";AAYA;IAEC,2DAWC;IANA,kCAAkC;IAClC,SADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAClB;IACZ,8GAA8G;IAC9G,MADW,OAAO,MAAM,CAAC,GAAG;QAAE,oBAAoB,EAAE,YAAY,CAAC;;;;;;SAAsC,CAAC,CAAA;KAAE,CACjG;IAET,gBAAsB;IAGvB,oBAWC;IAED,8BAYC;IAED;;;;OAIG;IACH,iBAFW,MAAM,QAKhB;CACD;;;;AA5DD,kCAAkC;AAClC,+CADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAO7B"}
|
|
@@ -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 }} */
|
|
4
|
+
/** @type {import('pict') & { addAndInstantiateSingletonService: (hash: string, options: any, prototype: any) => any, newManyfest: (rec: any) => any }} */
|
|
5
5
|
fable: import("pict") & {
|
|
6
6
|
addAndInstantiateSingletonService: (hash: string, options: any, prototype: any) => any;
|
|
7
|
+
newManyfest: (rec: any) => any;
|
|
7
8
|
};
|
|
8
9
|
pict: import("pict") & {
|
|
9
10
|
addAndInstantiateSingletonService: (hash: string, options: any, prototype: any) => any;
|
|
11
|
+
newManyfest: (rec: any) => any;
|
|
10
12
|
};
|
|
11
13
|
/** @type {any} */
|
|
12
14
|
log: any;
|
|
@@ -24,6 +26,10 @@ declare class RecordSetMetacontroller {
|
|
|
24
26
|
recordSetProviderConfigurations: {};
|
|
25
27
|
dashboardConfigurations: {};
|
|
26
28
|
sessionProviders: any[];
|
|
29
|
+
manifestDefinitions: {};
|
|
30
|
+
manifests: {
|
|
31
|
+
Default: any;
|
|
32
|
+
};
|
|
27
33
|
has_initialized: boolean;
|
|
28
34
|
/**
|
|
29
35
|
* @return {Record<string, any>} - The registered configuration for the RecordSet
|
|
@@ -31,22 +37,17 @@ declare class RecordSetMetacontroller {
|
|
|
31
37
|
getRecordSetConfiguration(pRecordSet: any): Record<string, any>;
|
|
32
38
|
loadRecordSetConfiguration(pRecordSetConfiguration: any): boolean;
|
|
33
39
|
loadRecordSetConfigurationArray(pRecordSetConfigurationArray: any): boolean;
|
|
34
|
-
/**
|
|
35
|
-
* @param {Array<Record<string, any>>} pDashboardConfigurationArray - An array of dashboard configurations.
|
|
36
|
-
*/
|
|
37
|
-
loadDashboardConfigurationArray(pDashboardConfigurationArray: Array<Record<string, any>>): boolean;
|
|
38
|
-
/**
|
|
39
|
-
* TODO: This method is still incomplete.
|
|
40
|
-
*
|
|
41
|
-
* @param {Record<string, any>} pDashboardConfiguration - The dashboard configuration to add.
|
|
42
|
-
*/
|
|
43
|
-
addDashboardConfiguration(pDashboardConfiguration: Record<string, any>): boolean;
|
|
44
40
|
loadRecordSetDynamcally(pRecordSet: any, pEntity: any, pDefaultFilter: any): any;
|
|
45
41
|
handleLoadDynamicRecordSetRoute(pRoutePayload: any): any;
|
|
46
42
|
addRoutes(pPictRouter: any): boolean;
|
|
47
43
|
checkSession(pCapability: any): Promise<boolean>;
|
|
48
44
|
addRecordLinkTemplate(pNameTemplate: any, pURLTemplate: any, pDefault: any): any;
|
|
49
45
|
initialize(): true | this;
|
|
46
|
+
getManifest(pScope: any): any;
|
|
47
|
+
/**
|
|
48
|
+
* @param {Record<string, any>} pManifest - The manifest to generate table cells for.
|
|
49
|
+
*/
|
|
50
|
+
generateManifestTableCells(pManifest: Record<string, any>): void;
|
|
50
51
|
}
|
|
51
52
|
declare namespace RecordSetMetacontroller {
|
|
52
53
|
export { _DEFAULT_CONFIGURATION as default_configuration };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordsSet-MetaController.d.ts","sourceRoot":"","sources":["../../source/services/RecordsSet-MetaController.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"RecordsSet-MetaController.d.ts","sourceRoot":"","sources":["../../source/services/RecordsSet-MetaController.js"],"names":[],"mappings":";AAsBA;IAEC,2DAiCC;IA5BA,0JAA0J;IAC1J,OADW,OAAO,MAAM,CAAC,GAAG;QAAE,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,CAC5I;IACV;2CAFiE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,KAAK,GAAG;qBAAe,CAAC,GAAG,EAAE,GAAG,KAAK,GAAG;MAE9H;IACtB,kBAAkB;IAClB,KADW,GAAG,CACN;IACR,kBAAkB;IAClB,SADW,GAAG,CACF;IACZ,qBAAqB;IACrB,MADW,MAAM,CACR;IAET;;;;;MAKC;IAED,uBAA4B;IAC5B,oCAAyC;IAEzC,4BAAiC;IAEjC,wBAA0B;IAE1B,wBAA6B;IAC7B;;MAAgD;IAEhD,yBAA4B;IA8B7B;;OAEG;IACH,4CAFY,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAK9B;IAED,kEA0FC;IAED,4EAmBC;IAED,iFAyCC;IAED,yDAaC;IAED,qCAMC;IAED,iDAUC;IAED,iFAGC;IAED,0BAyDC;IAED,8BAGC;IAED;;OAEG;IACH,sCAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAwC7B;CAED;;;;AA7XD,kCAAkC;AAClC,sCADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAI3B"}
|
|
@@ -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,QAoBhB;IAED;;;;OAIG;IACH,oBAJW,KAAK,cACL,MAAM,gBACN,MAAM,QAOhB;CACD;;;;;AAxID,kCAAkC;AAClC,oDADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CA2E5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-Dashboard-RecordListHeader.d.ts","sourceRoot":"","sources":["../../../source/views/dashboard/RecordSet-Dashboard-RecordListHeader.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"RecordSet-Dashboard-RecordListHeader.d.ts","sourceRoot":"","sources":["../../../source/views/dashboard/RecordSet-Dashboard-RecordListHeader.js"],"names":[],"mappings":";AAkGA;IAEC,2DAIC;CACD;;;;;AAvGD,kCAAkC;AAClC,4DADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CA8F1B"}
|
|
@@ -9,7 +9,7 @@ declare class viewRecordSetDashboard extends libPictRecordSetRecordView {
|
|
|
9
9
|
recordListEntry: any;
|
|
10
10
|
paginationBottom: any;
|
|
11
11
|
};
|
|
12
|
-
handleRecordSetDashboardRoute(pRoutePayload: any): Promise<
|
|
12
|
+
handleRecordSetDashboardRoute(pRoutePayload: any): Promise<void>;
|
|
13
13
|
/**
|
|
14
14
|
* @param {import('pict-router')} pPictRouter
|
|
15
15
|
*/
|
|
@@ -17,7 +17,27 @@ declare class viewRecordSetDashboard extends libPictRecordSetRecordView {
|
|
|
17
17
|
onBeforeRenderList(pRecordListData: any): any;
|
|
18
18
|
dynamicallyGenerateColumns(pRecordListData: any): any;
|
|
19
19
|
excludedByDefaultCells: string[];
|
|
20
|
-
|
|
20
|
+
/**
|
|
21
|
+
* @param {string} pDashboardHash
|
|
22
|
+
* @param {Record<string, any>} pRecordSetConfiguration
|
|
23
|
+
* @param {string} pProviderHash
|
|
24
|
+
* @param {string} pFilterString
|
|
25
|
+
* @param {number} pOffset
|
|
26
|
+
* @param {number} pPageSize
|
|
27
|
+
*
|
|
28
|
+
* @return {Promise<void>}
|
|
29
|
+
*/
|
|
30
|
+
renderSpecificDashboard(pDashboardHash: string, pRecordSetConfiguration: Record<string, any>, pProviderHash: string, pFilterString: string, pOffset: number, pPageSize: number): Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
* @param {Record<string, any>} pRecordSetConfiguration
|
|
33
|
+
* @param {string} pProviderHash
|
|
34
|
+
* @param {string} pFilterString
|
|
35
|
+
* @param {number} pOffset
|
|
36
|
+
* @param {number} pPageSize
|
|
37
|
+
*
|
|
38
|
+
* @return {Promise<void>}
|
|
39
|
+
*/
|
|
40
|
+
renderDashboard(pRecordSetConfiguration: Record<string, any>, pProviderHash: string, pFilterString: string, pOffset: number, pPageSize: number): Promise<void>;
|
|
21
41
|
}
|
|
22
42
|
declare namespace viewRecordSetDashboard {
|
|
23
43
|
export { _DEFAULT_CONFIGURATION__Dashboard as default_configuration };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-Dashboard.d.ts","sourceRoot":"","sources":["../../../source/views/dashboard/RecordSet-Dashboard.js"],"names":[],"mappings":";
|
|
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,CAiNxB;IAED;;;;;;;;OAQG;IACH,yCARW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,iBACnB,MAAM,iBACN,MAAM,WACN,MAAM,aACN,MAAM,GAEL,OAAO,CAAC,IAAI,CAAC,CAwMxB;CAwBD;;;;;AA7nBD,kCAAkC;AAClC,iDADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CA6D1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-List.d.ts","sourceRoot":"","sources":["../../../source/views/list/RecordSet-List.js"],"names":[],"mappings":";AA0EA;IAOE;;;;;;;;MAQC;IAGF,+DAuBC;IAaD,8CAGC;IAED,sDAkCC;IA9BA,iCAUC;IAsBF,
|
|
1
|
+
{"version":3,"file":"RecordSet-List.d.ts","sourceRoot":"","sources":["../../../source/views/list/RecordSet-List.js"],"names":[],"mappings":";AA0EA;IAOE;;;;;;;;MAQC;IAGF,+DAuBC;IAaD,8CAGC;IAED,sDAkCC;IA9BA,iCAUC;IAsBF,iIAmLC;CAwBD;;;;;AAzWD,kCAAkC;AAClC,4CADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CA6D1B"}
|