pict-section-recordset 1.0.1 → 1.0.2

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.
Files changed (46) hide show
  1. package/example_applications/ServeExamples.js +1 -1
  2. package/example_applications/mocks/book-edit-view.html +145 -0
  3. package/example_applications/mocks/book-read-view.html +139 -0
  4. package/example_applications/simple_entity/Simple-RecordSet-Application.js +3 -3
  5. package/package.json +5 -4
  6. package/source/application/Pict-Application-RecordSet.js +12 -4
  7. package/source/providers/RecordSet-Router.js +64 -0
  8. package/source/services/RecordsSet-MetaController.js +89 -17
  9. package/source/views/RecordSet-RecordBaseView.js +84 -0
  10. package/source/views/RecordsSet-MacroView.js +63 -0
  11. package/source/views/dashboard/RecordSet-Dashboard.js +2 -2
  12. package/source/views/edit/RecordSet-Edit.js +2 -2
  13. package/source/views/list/RecordSet-List-PaginationBottom.js +42 -42
  14. package/source/views/list/RecordSet-List-PaginationTop.js +102 -90
  15. package/source/views/list/RecordSet-List-RecordList.js +3 -3
  16. package/source/views/list/RecordSet-List-RecordListEntry.js +15 -21
  17. package/source/views/list/RecordSet-List-RecordListHeader.js +3 -13
  18. package/source/views/list/RecordSet-List-Title.js +0 -1
  19. package/source/views/list/RecordSet-List.js +163 -20
  20. package/source/views/read/RecordSet-Read.js +150 -51
  21. package/test/PictSectionRecordSet-Basic_tests.js +5 -1
  22. package/test/PictSectionRecordSet-RecordProvider-Meadow_tests.js +1 -1
  23. package/types/Pict-Section-RecordSet.d.ts +5 -1
  24. package/types/application/Pict-Application-RecordSet.d.ts +5 -5
  25. package/types/application/Pict-Application-RecordSet.d.ts.map +1 -1
  26. package/types/providers/RecordSet-Router.d.ts +36 -0
  27. package/types/providers/RecordSet-Router.d.ts.map +1 -0
  28. package/types/services/RecordsSet-MetaController.d.ts +12 -6
  29. package/types/services/RecordsSet-MetaController.d.ts.map +1 -1
  30. package/types/views/RecordSet-RecordBaseView.d.ts +49 -0
  31. package/types/views/RecordSet-RecordBaseView.d.ts.map +1 -0
  32. package/types/views/RecordsSet-MacroView.d.ts +33 -0
  33. package/types/views/RecordsSet-MacroView.d.ts.map +1 -1
  34. package/types/views/dashboard/RecordSet-Dashboard.d.ts +2 -3
  35. package/types/views/dashboard/RecordSet-Dashboard.d.ts.map +1 -1
  36. package/types/views/edit/RecordSet-Edit.d.ts +2 -3
  37. package/types/views/edit/RecordSet-Edit.d.ts.map +1 -1
  38. package/types/views/list/RecordSet-List-PaginationBottom.d.ts.map +1 -1
  39. package/types/views/list/RecordSet-List-PaginationTop.d.ts.map +1 -1
  40. package/types/views/list/RecordSet-List-RecordListEntry.d.ts.map +1 -1
  41. package/types/views/list/RecordSet-List-RecordListHeader.d.ts.map +1 -1
  42. package/types/views/list/RecordSet-List.d.ts +7 -3
  43. package/types/views/list/RecordSet-List.d.ts.map +1 -1
  44. package/types/views/read/RecordSet-Read.d.ts +13 -3
  45. package/types/views/read/RecordSet-Read.d.ts.map +1 -1
  46. /package/example_applications/{list_view/index.html → mocks/list-view.html} +0 -0
@@ -1 +1,34 @@
1
+ export = viewPictSectionRecordSetMain;
2
+ declare class viewPictSectionRecordSetMain extends libPictView {
3
+ constructor(pFable: any, pOptions: any, pServiceHash: any);
4
+ }
5
+ declare namespace viewPictSectionRecordSetMain {
6
+ export { _DEFAULT_CONFIGURATION_Dashboard_HeaderDashboard as default_configuration };
7
+ }
8
+ import libPictView = require("pict-view");
9
+ declare namespace _DEFAULT_CONFIGURATION_Dashboard_HeaderDashboard {
10
+ let ViewIdentifier: string;
11
+ let DefaultRenderable: string;
12
+ let DefaultDestinationAddress: string;
13
+ let DefaultTemplateRecordAddress: boolean;
14
+ let AutoInitialize: boolean;
15
+ let AutoInitializeOrdinal: number;
16
+ let AutoRender: boolean;
17
+ let AutoRenderOrdinal: number;
18
+ let AutoSolveWithApp: boolean;
19
+ let AutoSolveOrdinal: number;
20
+ let CSS: boolean;
21
+ let CSSPriority: number;
22
+ let Templates: {
23
+ Hash: string;
24
+ Template: string;
25
+ }[];
26
+ let Renderables: {
27
+ RenderableHash: string;
28
+ TemplateHash: string;
29
+ DestinationAddress: string;
30
+ RenderMethod: string;
31
+ }[];
32
+ let Manifests: {};
33
+ }
1
34
  //# sourceMappingURL=RecordsSet-MacroView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RecordsSet-MacroView.d.ts","sourceRoot":"","sources":["../../source/views/RecordsSet-MacroView.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"RecordsSet-MacroView.d.ts","sourceRoot":"","sources":["../../source/views/RecordsSet-MacroView.js"],"names":[],"mappings":";AAkDA;IAEC,2DAIC;CACD"}
@@ -1,11 +1,10 @@
1
1
  export = viewRecordSetDashboard;
2
- declare class viewRecordSetDashboard extends libPictView {
3
- constructor(pFable: any, pOptions: any, pServiceHash: any);
2
+ declare class viewRecordSetDashboard extends libPictRecordSetRecordView {
4
3
  }
5
4
  declare namespace viewRecordSetDashboard {
6
5
  export { _DEFAULT_CONFIGURATION__Dashboard as default_configuration };
7
6
  }
8
- import libPictView = require("pict-view");
7
+ import libPictRecordSetRecordView = require("../RecordSet-RecordBaseView.js");
9
8
  declare namespace _DEFAULT_CONFIGURATION__Dashboard {
10
9
  let ViewIdentifier: string;
11
10
  let DefaultRenderable: string;
@@ -1 +1 @@
1
- {"version":3,"file":"RecordSet-Dashboard.d.ts","sourceRoot":"","sources":["../../../source/views/dashboard/RecordSet-Dashboard.js"],"names":[],"mappings":";AAkDA;IAEE,2DAIC;CACF"}
1
+ {"version":3,"file":"RecordSet-Dashboard.d.ts","sourceRoot":"","sources":["../../../source/views/dashboard/RecordSet-Dashboard.js"],"names":[],"mappings":";AAkDA;CAOC"}
@@ -1,11 +1,10 @@
1
1
  export = viewRecordSetEdit;
2
- declare class viewRecordSetEdit extends libPictView {
3
- constructor(pFable: any, pOptions: any, pServiceHash: any);
2
+ declare class viewRecordSetEdit extends libPictRecordSetRecordView {
4
3
  }
5
4
  declare namespace viewRecordSetEdit {
6
5
  export { _DEFAULT_CONFIGURATION__Edit as default_configuration };
7
6
  }
8
- import libPictView = require("pict-view");
7
+ import libPictRecordSetRecordView = require("../RecordSet-RecordBaseView.js");
9
8
  declare namespace _DEFAULT_CONFIGURATION__Edit {
10
9
  let ViewIdentifier: string;
11
10
  let DefaultRenderable: string;
@@ -1 +1 @@
1
- {"version":3,"file":"RecordSet-Edit.d.ts","sourceRoot":"","sources":["../../../source/views/edit/RecordSet-Edit.js"],"names":[],"mappings":";AAkDA;IAEE,2DAIC;CACF"}
1
+ {"version":3,"file":"RecordSet-Edit.d.ts","sourceRoot":"","sources":["../../../source/views/edit/RecordSet-Edit.js"],"names":[],"mappings":";AAkDA;CAOC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RecordSet-List-PaginationBottom.d.ts","sourceRoot":"","sources":["../../../source/views/list/RecordSet-List-PaginationBottom.js"],"names":[],"mappings":";AAsDA;IAEE,2DAIC;CACF"}
1
+ {"version":3,"file":"RecordSet-List-PaginationBottom.d.ts","sourceRoot":"","sources":["../../../source/views/list/RecordSet-List-PaginationBottom.js"],"names":[],"mappings":";AAsDA;IAEC,2DAIC;CACD"}
@@ -1 +1 @@
1
- {"version":3,"file":"RecordSet-List-PaginationTop.d.ts","sourceRoot":"","sources":["../../../source/views/list/RecordSet-List-PaginationTop.js"],"names":[],"mappings":";AAsGA;IAEE,2DAIC;CACF"}
1
+ {"version":3,"file":"RecordSet-List-PaginationTop.d.ts","sourceRoot":"","sources":["../../../source/views/list/RecordSet-List-PaginationTop.js"],"names":[],"mappings":";AAkHA;IAEC,2DAIC;CACD"}
@@ -1 +1 @@
1
- {"version":3,"file":"RecordSet-List-RecordListEntry.d.ts","sourceRoot":"","sources":["../../../source/views/list/RecordSet-List-RecordListEntry.js"],"names":[],"mappings":";AA+EA;IAEE,2DAIC;CACF"}
1
+ {"version":3,"file":"RecordSet-List-RecordListEntry.d.ts","sourceRoot":"","sources":["../../../source/views/list/RecordSet-List-RecordListEntry.js"],"names":[],"mappings":";AAyEA;IAEE,2DAIC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"RecordSet-List-RecordListHeader.d.ts","sourceRoot":"","sources":["../../../source/views/list/RecordSet-List-RecordListHeader.js"],"names":[],"mappings":";AA0EA;IAEE,2DAIC;CACF"}
1
+ {"version":3,"file":"RecordSet-List-RecordListHeader.d.ts","sourceRoot":"","sources":["../../../source/views/list/RecordSet-List-RecordListHeader.js"],"names":[],"mappings":";AAgEA;IAEE,2DAIC;CACF"}
@@ -1,6 +1,5 @@
1
1
  export = viewRecordSetList;
2
- declare class viewRecordSetList extends libPictView {
3
- constructor(pFable: any, pOptions: any, pServiceHash: any);
2
+ declare class viewRecordSetList extends libPictRecordSetRecordView {
4
3
  childViews: {
5
4
  headerList: any;
6
5
  title: any;
@@ -10,11 +9,16 @@ declare class viewRecordSetList extends libPictView {
10
9
  recordListEntry: any;
11
10
  paginationBottom: any;
12
11
  };
12
+ handleRecordSetListRoute(pRoutePayload: any): Promise<boolean>;
13
+ onBeforeRenderList(pRecordListData: any): any;
14
+ formatDisplayData(pRecordListData: any): any;
15
+ excludedByDefaultCells: string[];
16
+ renderList(pRecordSetConfiguration: any, pProviderHash: any, pFilterString: any, pOffset: any, pPageSize: any): Promise<boolean>;
13
17
  }
14
18
  declare namespace viewRecordSetList {
15
19
  export { _DEFAULT_CONFIGURATION__List as default_configuration };
16
20
  }
17
- import libPictView = require("pict-view");
21
+ import libPictRecordSetRecordView = require("../RecordSet-RecordBaseView.js");
18
22
  declare namespace _DEFAULT_CONFIGURATION__List {
19
23
  let ViewIdentifier: string;
20
24
  let DefaultRenderable: string;
@@ -1 +1 @@
1
- {"version":3,"file":"RecordSet-List.d.ts","sourceRoot":"","sources":["../../../source/views/list/RecordSet-List.js"],"names":[],"mappings":";AAuEA;IAEC,2DAcC;IATA;;;;;;;;MAQC;CAwBF"}
1
+ {"version":3,"file":"RecordSet-List.d.ts","sourceRoot":"","sources":["../../../source/views/list/RecordSet-List.js"],"names":[],"mappings":";AAuEA;IAOE;;;;;;;;MAQC;IAGF,+DAuBC;IAWD,8CAMC;IAED,6CAkCC;IA9BA,iCAUC;IAsBF,iIAkHC;CAuBD"}
@@ -1,11 +1,21 @@
1
1
  export = viewRecordSetRead;
2
- declare class viewRecordSetRead extends libPictView {
3
- constructor(pFable: any, pOptions: any, pServiceHash: any);
2
+ declare class viewRecordSetRead 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
+ onBeforeRenderRead(pRecordReadData: any): any;
13
+ renderRead(pRecordConfiguration: any, pProviderHash: any, pFilterString: any, pOffset: any, pPageSize: any): Promise<boolean>;
4
14
  }
5
15
  declare namespace viewRecordSetRead {
6
16
  export { _DEFAULT_CONFIGURATION__Read as default_configuration };
7
17
  }
8
- import libPictView = require("pict-view");
18
+ import libPictRecordSetRecordView = require("../RecordSet-RecordBaseView.js");
9
19
  declare namespace _DEFAULT_CONFIGURATION__Read {
10
20
  let ViewIdentifier: string;
11
21
  let DefaultRenderable: string;
@@ -1 +1 @@
1
- {"version":3,"file":"RecordSet-Read.d.ts","sourceRoot":"","sources":["../../../source/views/read/RecordSet-Read.js"],"names":[],"mappings":";AAkDA;IAEE,2DAIC;CACF"}
1
+ {"version":3,"file":"RecordSet-Read.d.ts","sourceRoot":"","sources":["../../../source/views/read/RecordSet-Read.js"],"names":[],"mappings":";AAwDA;IAOE;;;;;;;;MAQC;IAGF,8CAGC;IAED,8HA4DC;CAiBD"}