pict-section-recordset 1.0.35 → 1.0.36
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.
|
@@ -7,6 +7,12 @@
|
|
|
7
7
|
<script type="text/javascript">Pict.safeOnDocumentReady(() => { Pict.safeLoadPictApplication(SimpleApplication, 1)});</script>
|
|
8
8
|
</head>
|
|
9
9
|
<body>
|
|
10
|
+
<nav>
|
|
11
|
+
<ul>
|
|
12
|
+
<li><a href="#/PSRS/Book/List">Book List</a></li>
|
|
13
|
+
<li><a href="#/PSRS/Author/List">Author List</a></li>
|
|
14
|
+
</ul>
|
|
15
|
+
</nav>
|
|
10
16
|
<div id="PRSP_Container"></div>
|
|
11
17
|
<script src="./simple_application.js" type="text/javascript"></script>
|
|
12
18
|
</body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pict-section-recordset",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.36",
|
|
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.28.0",
|
|
35
35
|
"jquery": "^3.7.1",
|
|
36
|
-
"pict": "^1.0.
|
|
36
|
+
"pict": "^1.0.295",
|
|
37
37
|
"pict-application": "^1.0.27",
|
|
38
38
|
"pict-service-commandlineutility": "^1.0.15",
|
|
39
39
|
"quackage": "^1.0.42",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"fable-serviceproviderbase": "^3.0.15",
|
|
44
44
|
"pict-provider": "^1.0.6",
|
|
45
45
|
"pict-router": "^1.0.4",
|
|
46
|
-
"pict-section-form": "^1.0.
|
|
46
|
+
"pict-section-form": "^1.0.110",
|
|
47
47
|
"pict-template": "^1.0.13",
|
|
48
48
|
"pict-view": "^1.0.63"
|
|
49
49
|
},
|
|
@@ -166,7 +166,7 @@ class MeadowEndpointsRecordSetProvider extends libRecordSetProviderBase
|
|
|
166
166
|
return new Promise((resolve, reject) =>
|
|
167
167
|
{
|
|
168
168
|
const [ tmpClauses, tmpExperience ] = this._prepareFilterState(tmpEntity, pOptions);
|
|
169
|
-
this.pict.providers.FilterManager.
|
|
169
|
+
this.pict.providers.FilterManager.loadRecordPageByFilterUsingProvider(this._EntityProvider, tmpClauses, tmpExperience, pOptions.Offset || 0, pOptions.PageSize || 250, (pError) =>
|
|
170
170
|
{
|
|
171
171
|
if (pError)
|
|
172
172
|
{
|
|
@@ -211,7 +211,7 @@ class MeadowEndpointsRecordSetProvider extends libRecordSetProviderBase
|
|
|
211
211
|
return new Promise((resolve, reject) =>
|
|
212
212
|
{
|
|
213
213
|
const [ tmpClauses, tmpExperience ] = this._prepareFilterState(tmpEntity, pOptions, 'Count');
|
|
214
|
-
this.pict.providers.FilterManager.
|
|
214
|
+
this.pict.providers.FilterManager.countRecordsByFilterUsingProivider(this._EntityProvider, tmpClauses, tmpExperience, (pError) =>
|
|
215
215
|
{
|
|
216
216
|
if (pError)
|
|
217
217
|
{
|
|
@@ -22,7 +22,11 @@ const _DEFAULT_CONFIGURATION_List_RecordList =
|
|
|
22
22
|
AutoSolveWithApp: false,
|
|
23
23
|
AutoSolveOrdinal: 0,
|
|
24
24
|
|
|
25
|
-
CSS:
|
|
25
|
+
CSS: /*css*/`
|
|
26
|
+
tr#PRSP_List_Table_Empty:not(:first-child) {
|
|
27
|
+
display: none;
|
|
28
|
+
}
|
|
29
|
+
`,
|
|
26
30
|
CSSPriority: 500,
|
|
27
31
|
|
|
28
32
|
Templates:
|
|
@@ -45,9 +49,20 @@ const _DEFAULT_CONFIGURATION_List_RecordList =
|
|
|
45
49
|
<thead>{~T:PRSP-List-RecordListHeader-Template~}</thead>
|
|
46
50
|
<tbody id="PRSP_RecordList_Container_Entries">
|
|
47
51
|
{~T:PRSP-List-RecordListEntry-Template~}
|
|
52
|
+
{~T:PRSP-List-RecordList-Template-EmptyTable~}
|
|
48
53
|
</tbody>
|
|
49
54
|
</table>
|
|
50
55
|
<!-- DefaultPackage end view template: [PRSP-List-RecordList-Template-Table] -->
|
|
56
|
+
`
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
Hash: 'PRSP-List-RecordList-Template-EmptyTable',
|
|
60
|
+
Template: /*html*/`
|
|
61
|
+
<!-- DefaultPackage pict view template: [PRSP-List-RecordList-Template-EmptyTable] -->
|
|
62
|
+
<tr id="PRSP_List_Table_Empty">
|
|
63
|
+
<td colspan="100%" style="text-align: center; padding: 10px;">No records found.</td>
|
|
64
|
+
</tr>
|
|
65
|
+
<!-- DefaultPackage end view template: [PRSP-List-RecordList-Template-EmptyTable] -->
|
|
51
66
|
`
|
|
52
67
|
}
|
|
53
68
|
],
|