pict-section-recordset 1.0.15 → 1.0.16
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 +113 -0
- package/package.json +3 -3
- package/source/providers/RecordSet-RecordProvider-Base.js +28 -0
- package/source/providers/RecordSet-RecordProvider-MeadowEndpoints.js +53 -3
- package/source/services/RecordsSet-MetaController.js +84 -1
- package/source/templates/Pict-Template-FilterView.js +172 -0
- package/source/views/RecordSet-Filter.js +46 -9
- package/source/views/dashboard/RecordSet-Dashboard-HeaderDashboard.js +17 -17
- package/source/views/dashboard/RecordSet-Dashboard-PaginationBottom.js +68 -0
- package/source/views/dashboard/RecordSet-Dashboard-PaginationTop.js +128 -0
- package/source/views/dashboard/RecordSet-Dashboard-RecordList.js +80 -0
- package/source/views/dashboard/RecordSet-Dashboard-RecordListEntry.js +121 -0
- package/source/views/dashboard/RecordSet-Dashboard-RecordListHeader.js +99 -0
- package/source/views/dashboard/RecordSet-Dashboard-Title.js +67 -0
- package/source/views/dashboard/RecordSet-Dashboard.js +354 -37
- package/source/views/list/RecordSet-List.js +11 -34
- package/types/providers/RecordSet-RecordProvider-Base.d.ts +19 -0
- package/types/providers/RecordSet-RecordProvider-Base.d.ts.map +1 -1
- package/types/providers/RecordSet-RecordProvider-MeadowEndpoints.d.ts +38 -5
- package/types/providers/RecordSet-RecordProvider-MeadowEndpoints.d.ts.map +1 -1
- package/types/services/RecordsSet-MetaController.d.ts +18 -1
- package/types/services/RecordsSet-MetaController.d.ts.map +1 -1
- package/types/templates/Pict-Template-FilterView.d.ts +18 -0
- package/types/templates/Pict-Template-FilterView.d.ts.map +1 -0
- package/types/views/RecordSet-Filter.d.ts +28 -2
- package/types/views/RecordSet-Filter.d.ts.map +1 -1
- package/types/views/dashboard/RecordSet-Dashboard-HeaderDashboard.d.ts +5 -5
- package/types/views/dashboard/RecordSet-Dashboard-HeaderDashboard.d.ts.map +1 -1
- package/types/views/dashboard/RecordSet-Dashboard-PaginationBottom.d.ts +11 -0
- package/types/views/dashboard/RecordSet-Dashboard-PaginationBottom.d.ts.map +1 -0
- package/types/views/dashboard/RecordSet-Dashboard-PaginationTop.d.ts +11 -0
- package/types/views/dashboard/RecordSet-Dashboard-PaginationTop.d.ts.map +1 -0
- package/types/views/dashboard/RecordSet-Dashboard-RecordList.d.ts +11 -0
- package/types/views/dashboard/RecordSet-Dashboard-RecordList.d.ts.map +1 -0
- package/types/views/dashboard/RecordSet-Dashboard-RecordListEntry.d.ts +11 -0
- package/types/views/dashboard/RecordSet-Dashboard-RecordListEntry.d.ts.map +1 -0
- package/types/views/dashboard/RecordSet-Dashboard-RecordListHeader.d.ts +11 -0
- package/types/views/dashboard/RecordSet-Dashboard-RecordListHeader.d.ts.map +1 -0
- package/types/views/dashboard/RecordSet-Dashboard-Title.d.ts +11 -0
- package/types/views/dashboard/RecordSet-Dashboard-Title.d.ts.map +1 -0
- package/types/views/dashboard/RecordSet-Dashboard.d.ts +18 -0
- package/types/views/dashboard/RecordSet-Dashboard.d.ts.map +1 -1
- package/types/views/list/RecordSet-List.d.ts +0 -1
- package/types/views/list/RecordSet-List.d.ts.map +1 -1
- package/source/views/dashboard/RecordSet-Dashboard-RecordSetDashboard.js +0 -64
|
@@ -5,6 +5,9 @@ declare class RecordSetMetacontroller {
|
|
|
5
5
|
fable: import("pict") & {
|
|
6
6
|
addAndInstantiateSingletonService: (hash: string, options: any, prototype: any) => any;
|
|
7
7
|
};
|
|
8
|
+
pict: import("pict") & {
|
|
9
|
+
addAndInstantiateSingletonService: (hash: string, options: any, prototype: any) => any;
|
|
10
|
+
};
|
|
8
11
|
/** @type {any} */
|
|
9
12
|
log: any;
|
|
10
13
|
/** @type {any} */
|
|
@@ -19,11 +22,25 @@ declare class RecordSetMetacontroller {
|
|
|
19
22
|
};
|
|
20
23
|
recordSetProviders: {};
|
|
21
24
|
recordSetProviderConfigurations: {};
|
|
22
|
-
|
|
25
|
+
dashboardConfigurations: {};
|
|
23
26
|
sessionProviders: any[];
|
|
24
27
|
has_initialized: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* @return {Record<string, any>} - The registered configuration for the RecordSet
|
|
30
|
+
*/
|
|
31
|
+
getRecordSetConfiguration(pRecordSet: any): Record<string, any>;
|
|
25
32
|
loadRecordSetConfiguration(pRecordSetConfiguration: any): boolean;
|
|
26
33
|
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;
|
|
27
44
|
loadRecordSetDynamcally(pRecordSet: any, pEntity: any, pDefaultFilter: any): any;
|
|
28
45
|
handleLoadDynamicRecordSetRoute(pRoutePayload: any): any;
|
|
29
46
|
addRoutes(pPictRouter: any): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordsSet-MetaController.d.ts","sourceRoot":"","sources":["../../source/services/RecordsSet-MetaController.js"],"names":[],"mappings":";AAqBA;IAEC,
|
|
1
|
+
{"version":3,"file":"RecordsSet-MetaController.d.ts","sourceRoot":"","sources":["../../source/services/RecordsSet-MetaController.js"],"names":[],"mappings":";AAqBA;IAEC,2DA8BC;IAzBA,0HAA0H;IAC1H,OADW,OAAO,MAAM,CAAC,GAAG;QAAE,iCAAiC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,KAAK,GAAG,CAAA;KAAE,CAC5G;IACV;2CAFiE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,KAAK,GAAG;MAE9F;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,yBAA4B;IA8B7B;;OAEG;IACH,4CAFY,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAK9B;IAED,kEA0FC;IAED,4EAmBC;IAED;;OAEG;IACH,8DAFW,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,WAqBpC;IAED;;;;OAIG;IACH,mDAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,WAqC7B;IAED,iFAyCC;IAED,yDAaC;IAED,qCAMC;IAED,iDAUC;IAED,iFAGC;IAED,0BA6CC;CACD;;;;AA/XD,kCAAkC;AAClC,sCADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAI3B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export = PictTemplateFilterViewInstruction;
|
|
2
|
+
/**
|
|
3
|
+
* Specialized instruction for rendering the filter view and plumbing in required context.
|
|
4
|
+
*
|
|
5
|
+
* Based on the Pict base {~V:...~} template instruction.
|
|
6
|
+
*/
|
|
7
|
+
declare class PictTemplateFilterViewInstruction extends libPictTemplate {
|
|
8
|
+
/**
|
|
9
|
+
* @param {Object} pFable - The Fable Framework instance
|
|
10
|
+
* @param {Object} pOptions - The options for the service
|
|
11
|
+
* @param {String} pServiceHash - The hash of the service
|
|
12
|
+
*/
|
|
13
|
+
constructor(pFable: any, pOptions: any, pServiceHash: string);
|
|
14
|
+
/** @type {any} */
|
|
15
|
+
log: any;
|
|
16
|
+
}
|
|
17
|
+
import libPictTemplate = require("pict-template");
|
|
18
|
+
//# sourceMappingURL=Pict-Template-FilterView.d.ts.map
|
|
@@ -0,0 +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;CAsJT"}
|
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
export = viewRecordSetSUBSETFilter;
|
|
2
2
|
declare class viewRecordSetSUBSETFilter extends libPictView {
|
|
3
3
|
constructor(pFable: any, pOptions: any, pServiceHash: any);
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
/** @type {import('fable') & import('pict') & { PictSectionRecordSet: import('../Pict-Section-RecordSet.js') }} */
|
|
5
|
+
pict: any & import("pict") & {
|
|
6
|
+
PictSectionRecordSet: {
|
|
7
|
+
new (pFable: any, pOptions: any, pServiceHash: any): import("../services/RecordsSet-MetaController.js");
|
|
8
|
+
default_configuration: Record<string, any>;
|
|
9
|
+
PictRecordSetApplication: typeof import("../application/Pict-Application-RecordSet.js");
|
|
10
|
+
RecordSetProviderBase: typeof import("../providers/RecordSet-RecordProvider-Base.js");
|
|
11
|
+
RecordSetProviderMeadowEndpoints: typeof import("../providers/RecordSet-RecordProvider-MeadowEndpoints.js");
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* @param {Event} pEvent - The DOM event that triggered the search
|
|
16
|
+
* @param {string} pRecordSet - The record set being filtered
|
|
17
|
+
* @param {string} pViewContext - The view context for the filter (ex. List, Dashboard)
|
|
18
|
+
*/
|
|
19
|
+
handleSearch(pEvent: Event, pRecordSet: string, pViewContext: string): void;
|
|
20
|
+
/**
|
|
21
|
+
* @param {string} pRecordSet - The record set being filtered
|
|
22
|
+
* @param {string} pViewContext - The view context for the filter (ex. List, Dashboard)
|
|
23
|
+
* @param {string} [pFilterString] - The filter string to apply, defaults to a single space if not provided
|
|
24
|
+
*/
|
|
25
|
+
performSearch(pRecordSet: string, pViewContext: string, pFilterString?: string): void;
|
|
26
|
+
/**
|
|
27
|
+
* @param {Event} pEvent - The DOM event that triggered the search
|
|
28
|
+
* @param {string} pRecordSet - The record set being filtered
|
|
29
|
+
* @param {string} pViewContext - The view context for the filter (ex. List, Dashboard)
|
|
30
|
+
*/
|
|
31
|
+
handleReset(pEvent: Event, pRecordSet: string, pViewContext: string): void;
|
|
6
32
|
}
|
|
7
33
|
declare namespace viewRecordSetSUBSETFilter {
|
|
8
34
|
export { _DEFAULT_CONFIGURATION_SUBSET_Filter as default_configuration };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-Filter.d.ts","sourceRoot":"","sources":["../../source/views/RecordSet-Filter.js"],"names":[],"mappings":";AA+EA;IAEC,
|
|
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,QAmBhB;IAED;;;;OAIG;IACH,oBAJW,KAAK,cACL,MAAM,gBACN,MAAM,QAOhB;CACD;;;;;AAvID,kCAAkC;AAClC,oDADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CA2E5B"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export =
|
|
2
|
-
declare class
|
|
1
|
+
export = viewRecordSetListHeaderList;
|
|
2
|
+
declare class viewRecordSetListHeaderList extends libPictView {
|
|
3
3
|
constructor(pFable: any, pOptions: any, pServiceHash: any);
|
|
4
4
|
}
|
|
5
|
-
declare namespace
|
|
6
|
-
export {
|
|
5
|
+
declare namespace viewRecordSetListHeaderList {
|
|
6
|
+
export { _DEFAULT_CONFIGURATION_Dashboard_HeaderList as default_configuration };
|
|
7
7
|
}
|
|
8
8
|
import libPictView = require("pict-view");
|
|
9
9
|
/** @type {Record<string, any>} */
|
|
10
|
-
declare const
|
|
10
|
+
declare const _DEFAULT_CONFIGURATION_Dashboard_HeaderList: Record<string, any>;
|
|
11
11
|
//# sourceMappingURL=RecordSet-Dashboard-HeaderDashboard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-Dashboard-HeaderDashboard.d.ts","sourceRoot":"","sources":["../../../source/views/dashboard/RecordSet-Dashboard-HeaderDashboard.js"],"names":[],"mappings":";AAmDA;IAEC,2DAIC;CACD;;;;;AAxDD,kCAAkC;AAClC,
|
|
1
|
+
{"version":3,"file":"RecordSet-Dashboard-HeaderDashboard.d.ts","sourceRoot":"","sources":["../../../source/views/dashboard/RecordSet-Dashboard-HeaderDashboard.js"],"names":[],"mappings":";AAmDA;IAEC,2DAIC;CACD;;;;;AAxDD,kCAAkC;AAClC,2DADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CA+C5B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export = viewRecordSetListPaginationBottom;
|
|
2
|
+
declare class viewRecordSetListPaginationBottom extends libPictView {
|
|
3
|
+
constructor(pFable: any, pOptions: any, pServiceHash: any);
|
|
4
|
+
}
|
|
5
|
+
declare namespace viewRecordSetListPaginationBottom {
|
|
6
|
+
export { _DEFAULT_CONFIGURATION_List_PaginationBottom as default_configuration };
|
|
7
|
+
}
|
|
8
|
+
import libPictView = require("pict-view");
|
|
9
|
+
/** @type {Record<string, any>} */
|
|
10
|
+
declare const _DEFAULT_CONFIGURATION_List_PaginationBottom: Record<string, any>;
|
|
11
|
+
//# sourceMappingURL=RecordSet-Dashboard-PaginationBottom.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordSet-Dashboard-PaginationBottom.d.ts","sourceRoot":"","sources":["../../../source/views/dashboard/RecordSet-Dashboard-PaginationBottom.js"],"names":[],"mappings":";AAuDA;IAEC,2DAIC;CACD;;;;;AA5DD,kCAAkC;AAClC,4DADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAmD1B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export = viewRecordSetListPaginationTop;
|
|
2
|
+
declare class viewRecordSetListPaginationTop extends libPictView {
|
|
3
|
+
constructor(pFable: any, pOptions: any, pServiceHash: any);
|
|
4
|
+
}
|
|
5
|
+
declare namespace viewRecordSetListPaginationTop {
|
|
6
|
+
export { _DEFAULT_CONFIGURATION_List_PaginationTop as default_configuration };
|
|
7
|
+
}
|
|
8
|
+
import libPictView = require("pict-view");
|
|
9
|
+
/** @type {Record<string, any>} */
|
|
10
|
+
declare const _DEFAULT_CONFIGURATION_List_PaginationTop: Record<string, any>;
|
|
11
|
+
//# sourceMappingURL=RecordSet-Dashboard-PaginationTop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordSet-Dashboard-PaginationTop.d.ts","sourceRoot":"","sources":["../../../source/views/dashboard/RecordSet-Dashboard-PaginationTop.js"],"names":[],"mappings":";AAmHA;IAEC,2DAIC;CACD;;;;;AAxHD,kCAAkC;AAClC,yDADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CA+G1B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export = viewRecordSetListRecordList;
|
|
2
|
+
declare class viewRecordSetListRecordList extends libPictView {
|
|
3
|
+
constructor(pFable: any, pOptions: any, pServiceHash: any);
|
|
4
|
+
}
|
|
5
|
+
declare namespace viewRecordSetListRecordList {
|
|
6
|
+
export { _DEFAULT_CONFIGURATION_List_RecordList as default_configuration };
|
|
7
|
+
}
|
|
8
|
+
import libPictView = require("pict-view");
|
|
9
|
+
/** @type {Record<string, any>} */
|
|
10
|
+
declare const _DEFAULT_CONFIGURATION_List_RecordList: Record<string, any>;
|
|
11
|
+
//# sourceMappingURL=RecordSet-Dashboard-RecordList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordSet-Dashboard-RecordList.d.ts","sourceRoot":"","sources":["../../../source/views/dashboard/RecordSet-Dashboard-RecordList.js"],"names":[],"mappings":";AAmEA;IAEC,2DAIC;CACD;;;;;AAxED,kCAAkC;AAClC,sDADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CA+D5B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export = viewRecordSetListRecordListEntry;
|
|
2
|
+
declare class viewRecordSetListRecordListEntry extends libPictView {
|
|
3
|
+
constructor(pFable: any, pOptions: any, pServiceHash: any);
|
|
4
|
+
}
|
|
5
|
+
declare namespace viewRecordSetListRecordListEntry {
|
|
6
|
+
export { _DEFAULT_CONFIGURATION_List_RecordListEntry as default_configuration };
|
|
7
|
+
}
|
|
8
|
+
import libPictView = require("pict-view");
|
|
9
|
+
/** @type {Record<string, any>} */
|
|
10
|
+
declare const _DEFAULT_CONFIGURATION_List_RecordListEntry: Record<string, any>;
|
|
11
|
+
//# sourceMappingURL=RecordSet-Dashboard-RecordListEntry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordSet-Dashboard-RecordListEntry.d.ts","sourceRoot":"","sources":["../../../source/views/dashboard/RecordSet-Dashboard-RecordListEntry.js"],"names":[],"mappings":";AA4GA;IAEC,2DAIC;CACD;;;;;AAjHD,kCAAkC;AAClC,2DADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAwG1B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export = viewRecordSetListRecordListHeader;
|
|
2
|
+
declare class viewRecordSetListRecordListHeader extends libPictView {
|
|
3
|
+
constructor(pFable: any, pOptions: any, pServiceHash: any);
|
|
4
|
+
}
|
|
5
|
+
declare namespace viewRecordSetListRecordListHeader {
|
|
6
|
+
export { _DEFAULT_CONFIGURATION_List_RecordListHeader as default_configuration };
|
|
7
|
+
}
|
|
8
|
+
import libPictView = require("pict-view");
|
|
9
|
+
/** @type {Record<string, any>} */
|
|
10
|
+
declare const _DEFAULT_CONFIGURATION_List_RecordListHeader: Record<string, any>;
|
|
11
|
+
//# sourceMappingURL=RecordSet-Dashboard-RecordListHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordSet-Dashboard-RecordListHeader.d.ts","sourceRoot":"","sources":["../../../source/views/dashboard/RecordSet-Dashboard-RecordListHeader.js"],"names":[],"mappings":";AAsFA;IAEC,2DAIC;CACD;;;;;AA3FD,kCAAkC;AAClC,4DADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAkF1B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export = viewRecordSetListTitle;
|
|
2
|
+
declare class viewRecordSetListTitle extends libPictView {
|
|
3
|
+
constructor(pFable: any, pOptions: any, pServiceHash: any);
|
|
4
|
+
}
|
|
5
|
+
declare namespace viewRecordSetListTitle {
|
|
6
|
+
export { _DEFAULT_CONFIGURATION_List_Title as default_configuration };
|
|
7
|
+
}
|
|
8
|
+
import libPictView = require("pict-view");
|
|
9
|
+
/** @type {Record<string, any>} */
|
|
10
|
+
declare const _DEFAULT_CONFIGURATION_List_Title: Record<string, any>;
|
|
11
|
+
//# sourceMappingURL=RecordSet-Dashboard-Title.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordSet-Dashboard-Title.d.ts","sourceRoot":"","sources":["../../../source/views/dashboard/RecordSet-Dashboard-Title.js"],"names":[],"mappings":";AAuDA;IAEC,2DAIC;CACD;;;;;AA5DD,kCAAkC;AAClC,iDADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAmD5B"}
|
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
export = viewRecordSetDashboard;
|
|
2
2
|
declare class viewRecordSetDashboard extends libPictRecordSetRecordView {
|
|
3
|
+
childViews: {
|
|
4
|
+
headerList: any;
|
|
5
|
+
title: any;
|
|
6
|
+
paginationTop: any;
|
|
7
|
+
recordList: any;
|
|
8
|
+
recordListHeader: any;
|
|
9
|
+
recordListEntry: any;
|
|
10
|
+
paginationBottom: any;
|
|
11
|
+
};
|
|
12
|
+
handleRecordSetDashboardRoute(pRoutePayload: any): Promise<boolean>;
|
|
13
|
+
/**
|
|
14
|
+
* @param {import('pict-router')} pPictRouter
|
|
15
|
+
*/
|
|
16
|
+
addRoutes(pPictRouter: any): boolean;
|
|
17
|
+
onBeforeRenderList(pRecordListData: any): any;
|
|
18
|
+
dynamicallyGenerateColumns(pRecordListData: any): any;
|
|
19
|
+
excludedByDefaultCells: string[];
|
|
20
|
+
renderList(pRecordSetConfiguration: any, pProviderHash: any, pFilterString: any, pOffset: any, pPageSize: any): Promise<boolean>;
|
|
3
21
|
}
|
|
4
22
|
declare namespace viewRecordSetDashboard {
|
|
5
23
|
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":";AA8EA;IAOE;;;;;;;;MAQC;IAGF,oEAuBC;IAED;;OAEG;IACH,qCASC;IAED,8CAGC;IAED,sDAkCC;IA9BA,iCAUC;IAsBF,iIA+KC;CAwBD;;;;;AA5WD,kCAAkC;AAClC,iDADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAiE1B"}
|
|
@@ -9,7 +9,6 @@ declare class viewRecordSetList extends libPictRecordSetRecordView {
|
|
|
9
9
|
recordListEntry: any;
|
|
10
10
|
paginationBottom: any;
|
|
11
11
|
};
|
|
12
|
-
handleSearch(pSearchString: any): void;
|
|
13
12
|
handleRecordSetListRoute(pRoutePayload: any): Promise<boolean>;
|
|
14
13
|
onBeforeRenderList(pRecordListData: any): any;
|
|
15
14
|
dynamicallyGenerateColumns(pRecordListData: any): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-List.d.ts","sourceRoot":"","sources":["../../../source/views/list/RecordSet-List.js"],"names":[],"mappings":";AA0EA;IAOE;;;;;;;;MAQC;IAGF
|
|
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,iIA+KC;CAwBD;;;;;AArWD,kCAAkC;AAClC,4CADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CA6D1B"}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
const libPictView = require('pict-view');
|
|
2
|
-
|
|
3
|
-
/** @type {Record<string, any>} */
|
|
4
|
-
const _DEFAULT_CONFIGURATION_Dashboard_RecordSetDashboard =
|
|
5
|
-
{
|
|
6
|
-
ViewIdentifier: 'PRSP-Dashboard-RecordSetDashboard',
|
|
7
|
-
|
|
8
|
-
DefaultRenderable: 'PRSP_Renderable_RecordSetDashboard',
|
|
9
|
-
DefaultDestinationAddress: '#PRSP_RecordSetDashboard_Container',
|
|
10
|
-
DefaultTemplateRecordAddress: false,
|
|
11
|
-
|
|
12
|
-
// If this is set to true, when the App initializes this will.
|
|
13
|
-
// While the App initializes, initialize will be called.
|
|
14
|
-
AutoInitialize: false,
|
|
15
|
-
AutoInitializeOrdinal: 0,
|
|
16
|
-
|
|
17
|
-
// If this is set to true, when the App autorenders (on load) this will.
|
|
18
|
-
// After the App initializes, render will be called.
|
|
19
|
-
AutoRender: false,
|
|
20
|
-
AutoRenderOrdinal: 0,
|
|
21
|
-
|
|
22
|
-
AutoSolveWithApp: false,
|
|
23
|
-
AutoSolveOrdinal: 0,
|
|
24
|
-
|
|
25
|
-
CSS: false,
|
|
26
|
-
CSSPriority: 500,
|
|
27
|
-
|
|
28
|
-
Templates:
|
|
29
|
-
[
|
|
30
|
-
{
|
|
31
|
-
Hash: 'PRSP-Dashboard-RecordSetDashboard-Template',
|
|
32
|
-
Template: /*html*/`
|
|
33
|
-
<!-- DefaultPackage pict view template: [PRSP-Dashboard-RecordSetDashboard-Template] -->
|
|
34
|
-
<!-- DefaultPackage end view template: [PRSP-Dashboard-RecordSetDashboard-Template] -->
|
|
35
|
-
`
|
|
36
|
-
}
|
|
37
|
-
],
|
|
38
|
-
|
|
39
|
-
Renderables:
|
|
40
|
-
[
|
|
41
|
-
{
|
|
42
|
-
RenderableHash: 'PRSP_Renderable_RecordSetDashboard',
|
|
43
|
-
TemplateHash: 'PRSP-Dashboard-RecordSetDashboard-Template',
|
|
44
|
-
DestinationAddress: '#PRSP_RecordSetDashboard_Container',
|
|
45
|
-
RenderMethod: 'replace'
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
|
|
49
|
-
Manifests: {}
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
class viewRecordSetDashboardRecordSetDashboard extends libPictView
|
|
53
|
-
{
|
|
54
|
-
constructor(pFable, pOptions, pServiceHash)
|
|
55
|
-
{
|
|
56
|
-
let tmpOptions = Object.assign({}, _DEFAULT_CONFIGURATION_Dashboard_RecordSetDashboard, pOptions);
|
|
57
|
-
super(pFable, tmpOptions, pServiceHash);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
module.exports = viewRecordSetDashboardRecordSetDashboard;
|
|
62
|
-
|
|
63
|
-
module.exports.default_configuration = _DEFAULT_CONFIGURATION_Dashboard_RecordSetDashboard;
|
|
64
|
-
|