pict-section-recordset 1.0.69 → 1.0.70
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/README.md +6 -4
- package/docs/README.md +6 -6
- package/docs/_cover.md +1 -1
- package/docs/_version.json +3 -3
- package/docs/index.html +6 -5
- package/docs/retold-catalog.json +84 -216
- package/docs/retold-keyword-index.json +3177 -1215
- package/example_applications/ServeExamples.js +1 -1
- package/package.json +6 -6
- package/source/views/list/RecordSet-List.js +16 -0
|
@@ -59,7 +59,7 @@ tmpAnticipate.anticipate(
|
|
|
59
59
|
const libOratorHTTPProxy = require(`orator-http-proxy`);
|
|
60
60
|
_Fable.serviceManager.addServiceType('OratorHTTPProxy', libOratorHTTPProxy);
|
|
61
61
|
_Fable.serviceManager.instantiateServiceProvider('OratorHTTPProxy', {LogLevel: 2});
|
|
62
|
-
// Proxy all /1.0/ requests to the locally-running bookstore service (you need to run this from https://github.com/
|
|
62
|
+
// Proxy all /1.0/ requests to the locally-running bookstore service (you need to run this from https://github.com/fable-retold/retold-harness ... it's a one-liner to start the service)
|
|
63
63
|
tmpAnticipate.anticipate(
|
|
64
64
|
(fNext)=>
|
|
65
65
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pict-section-recordset",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.70",
|
|
4
4
|
"description": "Pict dynamic record set management views",
|
|
5
5
|
"main": "source/Pict-Section-RecordSet.js",
|
|
6
6
|
"directories": {
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
},
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/
|
|
11
|
+
"url": "git+https://github.com/fable-retold/pict-section-recordset.git"
|
|
12
12
|
},
|
|
13
13
|
"bugs": {
|
|
14
|
-
"url": "https://github.com/
|
|
14
|
+
"url": "https://github.com/fable-retold/pict-section-recordset/issues"
|
|
15
15
|
},
|
|
16
|
-
"homepage": "https://github.com/
|
|
16
|
+
"homepage": "https://github.com/fable-retold/pict-section-recordset#readme",
|
|
17
17
|
"scripts": {
|
|
18
18
|
"start": "node source/Pict-Section-RecordSet.js",
|
|
19
19
|
"tests": "npx quack test -g",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"jquery": "^3.7.1",
|
|
36
36
|
"pict": "^1.0.372",
|
|
37
37
|
"pict-application": "^1.0.34",
|
|
38
|
-
"pict-docuserve": "^1.
|
|
38
|
+
"pict-docuserve": "^1.4.4",
|
|
39
39
|
"pict-service-commandlineutility": "^1.0.19",
|
|
40
|
-
"quackage": "^1.
|
|
40
|
+
"quackage": "^1.3.0",
|
|
41
41
|
"typescript": "^5.9.3"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
@@ -373,6 +373,14 @@ class viewRecordSetList extends libPictRecordSetRecordView
|
|
|
373
373
|
tmpRecordListData.PageLinkBookmarks.NextLink = tmpRecordListData.PageLinks[tmpRecordListData.PageLinkBookmarks.Next];
|
|
374
374
|
}
|
|
375
375
|
|
|
376
|
+
// When there is only a single page there is nothing to paginate: hide the page
|
|
377
|
+
// buttons and the previous/next links. The "Showing X to Y of Z" summary stays.
|
|
378
|
+
if (tmpRecordListData.PageCount <= 1)
|
|
379
|
+
{
|
|
380
|
+
tmpRecordListData.PageLinksLimited = [];
|
|
381
|
+
tmpRecordListData.PageLinkBookmarks.ShowPreviousLink = false;
|
|
382
|
+
tmpRecordListData.PageLinkBookmarks.ShowNextLink = false;
|
|
383
|
+
}
|
|
376
384
|
// Put code here to preprocess columns into other data parts.
|
|
377
385
|
if (tmpRecordListData.RecordSetConfiguration.hasOwnProperty('RecordSetListColumns'))
|
|
378
386
|
{
|
|
@@ -625,6 +633,14 @@ class viewRecordSetList extends libPictRecordSetRecordView
|
|
|
625
633
|
tmpRecordListData.PageLinkBookmarks.NextLink = tmpRecordListData.PageLinks[tmpRecordListData.PageLinkBookmarks.Next];
|
|
626
634
|
}
|
|
627
635
|
|
|
636
|
+
// When there is only a single page there is nothing to paginate: hide the page
|
|
637
|
+
// buttons and the previous/next links. The "Showing X to Y of Z" summary stays.
|
|
638
|
+
if (tmpRecordListData.PageCount <= 1)
|
|
639
|
+
{
|
|
640
|
+
tmpRecordListData.PageLinksLimited = [];
|
|
641
|
+
tmpRecordListData.PageLinkBookmarks.ShowPreviousLink = false;
|
|
642
|
+
tmpRecordListData.PageLinkBookmarks.ShowNextLink = false;
|
|
643
|
+
}
|
|
628
644
|
tmpRecordListData.TableCells = pManifest?.TableCells;
|
|
629
645
|
|
|
630
646
|
if (!tmpRecordListData.TableCells)
|