pict-section-recordset 1.0.66 → 1.0.67
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/docs/_cover.md +1 -1
- package/docs/_version.json +7 -0
- package/docs/css/docuserve.css +277 -23
- package/docs/index.html +2 -2
- package/docs/retold-catalog.json +33 -1
- package/docs/retold-keyword-index.json +1 -1
- package/package.json +4 -3
- package/source/services/RecordsSet-MetaController.js +22 -0
- package/source/templates/Pict-Template-FilterInstanceViews.js +1 -0
- package/test/PictSectionRecordSet-Basic_tests.js +83 -0
- package/types/Pict-Section-RecordSet.d.ts +2 -0
- package/types/providers/Filter-Data-Provider.d.ts +1 -0
- package/types/providers/Filter-Data-Provider.d.ts.map +1 -1
- package/types/providers/RecordSet-DynamicRecordsetSolver.d.ts +6 -0
- package/types/providers/RecordSet-DynamicRecordsetSolver.d.ts.map +1 -1
- package/types/providers/RecordSet-RecordProvider-MeadowEndpoints.d.ts +8 -0
- package/types/providers/RecordSet-RecordProvider-MeadowEndpoints.d.ts.map +1 -1
- package/types/providers/RecordSet-Router.d.ts +2 -0
- package/types/providers/RecordSet-Router.d.ts.map +1 -1
- package/types/services/RecordsSet-MetaController.d.ts +10 -5
- package/types/services/RecordsSet-MetaController.d.ts.map +1 -1
- package/types/templates/Pict-Template-FilterInstanceViews.d.ts +42 -2
- package/types/templates/Pict-Template-FilterInstanceViews.d.ts.map +1 -1
- package/types/templates/Pict-Template-FilterView.d.ts +0 -2
- package/types/templates/Pict-Template-FilterView.d.ts.map +1 -1
- package/types/views/Filter-PersistenceView.d.ts +31 -6
- package/types/views/Filter-PersistenceView.d.ts.map +1 -1
- package/types/views/RecordSet-Filters.d.ts +31 -0
- package/types/views/RecordSet-Filters.d.ts.map +1 -1
- package/types/views/RecordSet-RecordBaseView.d.ts +2 -0
- package/types/views/RecordSet-RecordBaseView.d.ts.map +1 -1
- package/types/views/dashboard/RecordSet-Dashboard.d.ts +2 -0
- package/types/views/dashboard/RecordSet-Dashboard.d.ts.map +1 -1
package/docs/_cover.md
CHANGED
package/docs/css/docuserve.css
CHANGED
|
@@ -1,73 +1,327 @@
|
|
|
1
1
|
/* ============================================================================
|
|
2
|
-
Pict Docuserve - Base Styles
|
|
2
|
+
Pict Docuserve - Base Styles & Theme Variables
|
|
3
3
|
============================================================================ */
|
|
4
4
|
|
|
5
|
-
/*
|
|
6
|
-
|
|
5
|
+
/* ----------------------------------------------------------------------------
|
|
6
|
+
Theme variables — light defaults on :root.
|
|
7
|
+
Dark mode applies when either:
|
|
8
|
+
(a) the user explicitly selected dark via <html data-theme="dark">
|
|
9
|
+
(b) the user hasn't chosen anything AND the system prefers dark
|
|
10
|
+
An explicit <html data-theme="light"> pins the light palette regardless.
|
|
11
|
+
---------------------------------------------------------------------------- */
|
|
12
|
+
|
|
13
|
+
:root
|
|
14
|
+
{
|
|
15
|
+
/* Surfaces */
|
|
16
|
+
--docuserve-bg: #FDFBF7;
|
|
17
|
+
--docuserve-bg-elevated: #FFFFFF;
|
|
18
|
+
--docuserve-border: #DDD6CA;
|
|
19
|
+
--docuserve-border-soft: #EAE3D8;
|
|
20
|
+
|
|
21
|
+
/* Text */
|
|
22
|
+
--docuserve-text: #2A241E;
|
|
23
|
+
--docuserve-text-strong: #3D3229;
|
|
24
|
+
--docuserve-text-muted: #5E5549;
|
|
25
|
+
--docuserve-text-dim: #8A7F72;
|
|
26
|
+
|
|
27
|
+
/* Accent / links */
|
|
28
|
+
--docuserve-accent: #2E7D74;
|
|
29
|
+
--docuserve-accent-hover: #236660;
|
|
30
|
+
|
|
31
|
+
/* Top bar */
|
|
32
|
+
--docuserve-topbar-bg: #3D3229;
|
|
33
|
+
--docuserve-topbar-text: #E8E0D4;
|
|
34
|
+
--docuserve-topbar-text-muted: #B5AA9A;
|
|
35
|
+
--docuserve-topbar-text-dim: #8A7F72;
|
|
36
|
+
--docuserve-topbar-hover-bg: #524438;
|
|
37
|
+
--docuserve-topbar-version-bg: rgba(255, 255, 255, 0.06);
|
|
38
|
+
--docuserve-topbar-version-border: rgba(255, 255, 255, 0.08);
|
|
39
|
+
--docuserve-topbar-version-text: #B5AA9A;
|
|
40
|
+
|
|
41
|
+
/* Sidebar */
|
|
42
|
+
--docuserve-sidebar-bg: #FAF7F1;
|
|
43
|
+
--docuserve-sidebar-border: #DDD6CA;
|
|
44
|
+
--docuserve-sidebar-border-soft: #E5DED1;
|
|
45
|
+
--docuserve-sidebar-text: #423D37;
|
|
46
|
+
--docuserve-sidebar-group-title: #3D3229;
|
|
47
|
+
--docuserve-sidebar-module-text: #5E5549;
|
|
48
|
+
--docuserve-sidebar-hover-bg: #EAE3D8;
|
|
49
|
+
--docuserve-sidebar-hover-text: #2E7D74;
|
|
50
|
+
--docuserve-sidebar-active-bg: #E5DED1;
|
|
51
|
+
--docuserve-sidebar-active-text: #2E7D74;
|
|
52
|
+
--docuserve-sidebar-search-bg: #FFFFFF;
|
|
53
|
+
--docuserve-sidebar-search-border: #DDD6CA;
|
|
54
|
+
|
|
55
|
+
/* Inline code */
|
|
56
|
+
--docuserve-inline-code-bg: #F0ECE4;
|
|
57
|
+
--docuserve-inline-code-text: #9E3A50;
|
|
58
|
+
|
|
59
|
+
/* Code block panel */
|
|
60
|
+
--docuserve-code-bg: #F6F3EE;
|
|
61
|
+
--docuserve-code-border: #E5DED1;
|
|
62
|
+
--docuserve-code-gutter-bg: #EFEAE0;
|
|
63
|
+
--docuserve-code-gutter-border: #DDD6CA;
|
|
64
|
+
--docuserve-code-gutter-text: #A59986;
|
|
65
|
+
--docuserve-code-text: #2A241E;
|
|
66
|
+
|
|
67
|
+
/* Syntax tokens — low-chroma dark-on-light palette */
|
|
68
|
+
--docuserve-tok-keyword: #A03472;
|
|
69
|
+
--docuserve-tok-string: #1A6640;
|
|
70
|
+
--docuserve-tok-number: #B25A00;
|
|
71
|
+
--docuserve-tok-comment: #8A7F72;
|
|
72
|
+
--docuserve-tok-operator: #2E7D74;
|
|
73
|
+
--docuserve-tok-punctuation: #2A241E;
|
|
74
|
+
--docuserve-tok-function: #2A5DB0;
|
|
75
|
+
--docuserve-tok-property: #9E3A50;
|
|
76
|
+
--docuserve-tok-tag: #9E3A50;
|
|
77
|
+
--docuserve-tok-attr-name: #B25A00;
|
|
78
|
+
--docuserve-tok-attr-value: #1A6640;
|
|
79
|
+
|
|
80
|
+
/* Tables, blockquotes, mermaid */
|
|
81
|
+
--docuserve-table-header-bg: #F5F0E8;
|
|
82
|
+
--docuserve-table-row-alt-bg: #F9F6F0;
|
|
83
|
+
--docuserve-blockquote-bg: #F7F5F0;
|
|
84
|
+
--docuserve-blockquote-border: #2E7D74;
|
|
85
|
+
--docuserve-blockquote-text: #5E5549;
|
|
86
|
+
--docuserve-mermaid-bg: #FFFFFF;
|
|
87
|
+
|
|
88
|
+
/* Scrollbars */
|
|
89
|
+
--docuserve-scrollbar-track: #F5F0E8;
|
|
90
|
+
--docuserve-scrollbar-thumb: #D4CCBE;
|
|
91
|
+
--docuserve-scrollbar-thumb-hover: #B5AA9A;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@media (prefers-color-scheme: dark)
|
|
95
|
+
{
|
|
96
|
+
:root:not([data-theme="light"])
|
|
97
|
+
{
|
|
98
|
+
--docuserve-bg: #15120F;
|
|
99
|
+
--docuserve-bg-elevated: #1B1814;
|
|
100
|
+
--docuserve-border: #2F2823;
|
|
101
|
+
--docuserve-border-soft: #26211C;
|
|
102
|
+
|
|
103
|
+
--docuserve-text: #E8E0D4;
|
|
104
|
+
--docuserve-text-strong: #F2ECE0;
|
|
105
|
+
--docuserve-text-muted: #B5AA9A;
|
|
106
|
+
--docuserve-text-dim: #7A6F62;
|
|
107
|
+
|
|
108
|
+
--docuserve-accent: #5DB8A8;
|
|
109
|
+
--docuserve-accent-hover: #7FCCB8;
|
|
110
|
+
|
|
111
|
+
--docuserve-topbar-bg: #1A1612;
|
|
112
|
+
--docuserve-topbar-text: #E8E0D4;
|
|
113
|
+
--docuserve-topbar-text-muted: #B5AA9A;
|
|
114
|
+
--docuserve-topbar-text-dim: #7A6F62;
|
|
115
|
+
--docuserve-topbar-hover-bg: #2A241E;
|
|
116
|
+
--docuserve-topbar-version-bg: rgba(255, 255, 255, 0.05);
|
|
117
|
+
--docuserve-topbar-version-border: rgba(255, 255, 255, 0.09);
|
|
118
|
+
--docuserve-topbar-version-text: #B5AA9A;
|
|
119
|
+
|
|
120
|
+
--docuserve-sidebar-bg: #1B1814;
|
|
121
|
+
--docuserve-sidebar-border: #2F2823;
|
|
122
|
+
--docuserve-sidebar-border-soft: #26211C;
|
|
123
|
+
--docuserve-sidebar-text: #C9C0B3;
|
|
124
|
+
--docuserve-sidebar-group-title: #F2ECE0;
|
|
125
|
+
--docuserve-sidebar-module-text: #B5AA9A;
|
|
126
|
+
--docuserve-sidebar-hover-bg: #2A241E;
|
|
127
|
+
--docuserve-sidebar-hover-text: #7FCCB8;
|
|
128
|
+
--docuserve-sidebar-active-bg: #2F2823;
|
|
129
|
+
--docuserve-sidebar-active-text: #7FCCB8;
|
|
130
|
+
--docuserve-sidebar-search-bg: #26211C;
|
|
131
|
+
--docuserve-sidebar-search-border: #2F2823;
|
|
132
|
+
|
|
133
|
+
--docuserve-inline-code-bg: #2A241E;
|
|
134
|
+
--docuserve-inline-code-text: #E8B07A;
|
|
135
|
+
|
|
136
|
+
--docuserve-code-bg: #1E1A17;
|
|
137
|
+
--docuserve-code-border: #2F2823;
|
|
138
|
+
--docuserve-code-gutter-bg: #17130F;
|
|
139
|
+
--docuserve-code-gutter-border: #2F2823;
|
|
140
|
+
--docuserve-code-gutter-text: #6A6052;
|
|
141
|
+
--docuserve-code-text: #E8E0D4;
|
|
142
|
+
|
|
143
|
+
--docuserve-tok-keyword: #C678DD;
|
|
144
|
+
--docuserve-tok-string: #98C379;
|
|
145
|
+
--docuserve-tok-number: #D19A66;
|
|
146
|
+
--docuserve-tok-comment: #7F848E;
|
|
147
|
+
--docuserve-tok-operator: #56B6C2;
|
|
148
|
+
--docuserve-tok-punctuation: #E8E0D4;
|
|
149
|
+
--docuserve-tok-function: #61AFEF;
|
|
150
|
+
--docuserve-tok-property: #E06C75;
|
|
151
|
+
--docuserve-tok-tag: #E06C75;
|
|
152
|
+
--docuserve-tok-attr-name: #D19A66;
|
|
153
|
+
--docuserve-tok-attr-value: #98C379;
|
|
154
|
+
|
|
155
|
+
--docuserve-table-header-bg: #26211C;
|
|
156
|
+
--docuserve-table-row-alt-bg: #1F1B17;
|
|
157
|
+
--docuserve-blockquote-bg: #1F1B17;
|
|
158
|
+
--docuserve-blockquote-border: #5DB8A8;
|
|
159
|
+
--docuserve-blockquote-text: #C9C0B3;
|
|
160
|
+
--docuserve-mermaid-bg: #E8E0D4;
|
|
161
|
+
|
|
162
|
+
--docuserve-scrollbar-track: #1B1814;
|
|
163
|
+
--docuserve-scrollbar-thumb: #3A322B;
|
|
164
|
+
--docuserve-scrollbar-thumb-hover: #524438;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
:root[data-theme="dark"]
|
|
169
|
+
{
|
|
170
|
+
--docuserve-bg: #15120F;
|
|
171
|
+
--docuserve-bg-elevated: #1B1814;
|
|
172
|
+
--docuserve-border: #2F2823;
|
|
173
|
+
--docuserve-border-soft: #26211C;
|
|
174
|
+
|
|
175
|
+
--docuserve-text: #E8E0D4;
|
|
176
|
+
--docuserve-text-strong: #F2ECE0;
|
|
177
|
+
--docuserve-text-muted: #B5AA9A;
|
|
178
|
+
--docuserve-text-dim: #7A6F62;
|
|
179
|
+
|
|
180
|
+
--docuserve-accent: #5DB8A8;
|
|
181
|
+
--docuserve-accent-hover: #7FCCB8;
|
|
182
|
+
|
|
183
|
+
--docuserve-topbar-bg: #1A1612;
|
|
184
|
+
--docuserve-topbar-text: #E8E0D4;
|
|
185
|
+
--docuserve-topbar-text-muted: #B5AA9A;
|
|
186
|
+
--docuserve-topbar-text-dim: #7A6F62;
|
|
187
|
+
--docuserve-topbar-hover-bg: #2A241E;
|
|
188
|
+
--docuserve-topbar-version-bg: rgba(255, 255, 255, 0.05);
|
|
189
|
+
--docuserve-topbar-version-border: rgba(255, 255, 255, 0.09);
|
|
190
|
+
--docuserve-topbar-version-text: #B5AA9A;
|
|
191
|
+
|
|
192
|
+
--docuserve-sidebar-bg: #1B1814;
|
|
193
|
+
--docuserve-sidebar-border: #2F2823;
|
|
194
|
+
--docuserve-sidebar-border-soft: #26211C;
|
|
195
|
+
--docuserve-sidebar-text: #C9C0B3;
|
|
196
|
+
--docuserve-sidebar-group-title: #F2ECE0;
|
|
197
|
+
--docuserve-sidebar-module-text: #B5AA9A;
|
|
198
|
+
--docuserve-sidebar-hover-bg: #2A241E;
|
|
199
|
+
--docuserve-sidebar-hover-text: #7FCCB8;
|
|
200
|
+
--docuserve-sidebar-active-bg: #2F2823;
|
|
201
|
+
--docuserve-sidebar-active-text: #7FCCB8;
|
|
202
|
+
--docuserve-sidebar-search-bg: #26211C;
|
|
203
|
+
--docuserve-sidebar-search-border: #2F2823;
|
|
204
|
+
|
|
205
|
+
--docuserve-inline-code-bg: #2A241E;
|
|
206
|
+
--docuserve-inline-code-text: #E8B07A;
|
|
207
|
+
|
|
208
|
+
--docuserve-code-bg: #1E1A17;
|
|
209
|
+
--docuserve-code-border: #2F2823;
|
|
210
|
+
--docuserve-code-gutter-bg: #17130F;
|
|
211
|
+
--docuserve-code-gutter-border: #2F2823;
|
|
212
|
+
--docuserve-code-gutter-text: #6A6052;
|
|
213
|
+
--docuserve-code-text: #E8E0D4;
|
|
214
|
+
|
|
215
|
+
--docuserve-tok-keyword: #C678DD;
|
|
216
|
+
--docuserve-tok-string: #98C379;
|
|
217
|
+
--docuserve-tok-number: #D19A66;
|
|
218
|
+
--docuserve-tok-comment: #7F848E;
|
|
219
|
+
--docuserve-tok-operator: #56B6C2;
|
|
220
|
+
--docuserve-tok-punctuation: #E8E0D4;
|
|
221
|
+
--docuserve-tok-function: #61AFEF;
|
|
222
|
+
--docuserve-tok-property: #E06C75;
|
|
223
|
+
--docuserve-tok-tag: #E06C75;
|
|
224
|
+
--docuserve-tok-attr-name: #D19A66;
|
|
225
|
+
--docuserve-tok-attr-value: #98C379;
|
|
226
|
+
|
|
227
|
+
--docuserve-table-header-bg: #26211C;
|
|
228
|
+
--docuserve-table-row-alt-bg: #1F1B17;
|
|
229
|
+
--docuserve-blockquote-bg: #1F1B17;
|
|
230
|
+
--docuserve-blockquote-border: #5DB8A8;
|
|
231
|
+
--docuserve-blockquote-text: #C9C0B3;
|
|
232
|
+
--docuserve-mermaid-bg: #E8E0D4;
|
|
233
|
+
|
|
234
|
+
--docuserve-scrollbar-track: #1B1814;
|
|
235
|
+
--docuserve-scrollbar-thumb: #3A322B;
|
|
236
|
+
--docuserve-scrollbar-thumb-hover: #524438;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/* ----------------------------------------------------------------------------
|
|
240
|
+
Reset and base
|
|
241
|
+
---------------------------------------------------------------------------- */
|
|
242
|
+
|
|
243
|
+
*, *::before, *::after
|
|
244
|
+
{
|
|
7
245
|
box-sizing: border-box;
|
|
8
246
|
}
|
|
9
247
|
|
|
10
|
-
html, body
|
|
248
|
+
html, body
|
|
249
|
+
{
|
|
11
250
|
margin: 0;
|
|
12
251
|
padding: 0;
|
|
13
252
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
14
253
|
font-size: 16px;
|
|
15
254
|
line-height: 1.5;
|
|
16
|
-
color:
|
|
17
|
-
background-color:
|
|
255
|
+
color: var(--docuserve-text);
|
|
256
|
+
background-color: var(--docuserve-bg);
|
|
18
257
|
-webkit-font-smoothing: antialiased;
|
|
19
258
|
-moz-osx-font-smoothing: grayscale;
|
|
259
|
+
transition: background-color 0.15s ease, color 0.15s ease;
|
|
20
260
|
}
|
|
21
261
|
|
|
22
262
|
/* Typography */
|
|
23
|
-
h1, h2, h3, h4, h5, h6
|
|
263
|
+
h1, h2, h3, h4, h5, h6
|
|
264
|
+
{
|
|
24
265
|
margin-top: 0;
|
|
25
266
|
line-height: 1.3;
|
|
267
|
+
color: var(--docuserve-text-strong);
|
|
26
268
|
}
|
|
27
269
|
|
|
28
|
-
a
|
|
29
|
-
|
|
270
|
+
a
|
|
271
|
+
{
|
|
272
|
+
color: var(--docuserve-accent);
|
|
30
273
|
text-decoration: none;
|
|
31
274
|
}
|
|
32
275
|
|
|
33
|
-
a:hover
|
|
34
|
-
|
|
276
|
+
a:hover
|
|
277
|
+
{
|
|
278
|
+
color: var(--docuserve-accent-hover);
|
|
35
279
|
}
|
|
36
280
|
|
|
37
281
|
/* Application container */
|
|
38
|
-
#Docuserve-Application-Container
|
|
282
|
+
#Docuserve-Application-Container
|
|
283
|
+
{
|
|
39
284
|
min-height: 100vh;
|
|
40
285
|
}
|
|
41
286
|
|
|
42
287
|
/* Utility: scrollbar styling */
|
|
43
|
-
::-webkit-scrollbar
|
|
288
|
+
::-webkit-scrollbar
|
|
289
|
+
{
|
|
44
290
|
width: 8px;
|
|
291
|
+
height: 8px;
|
|
45
292
|
}
|
|
46
293
|
|
|
47
|
-
::-webkit-scrollbar-track
|
|
48
|
-
|
|
294
|
+
::-webkit-scrollbar-track
|
|
295
|
+
{
|
|
296
|
+
background: var(--docuserve-scrollbar-track);
|
|
49
297
|
}
|
|
50
298
|
|
|
51
|
-
::-webkit-scrollbar-thumb
|
|
52
|
-
|
|
299
|
+
::-webkit-scrollbar-thumb
|
|
300
|
+
{
|
|
301
|
+
background: var(--docuserve-scrollbar-thumb);
|
|
53
302
|
border-radius: 4px;
|
|
54
303
|
}
|
|
55
304
|
|
|
56
|
-
::-webkit-scrollbar-thumb:hover
|
|
57
|
-
|
|
305
|
+
::-webkit-scrollbar-thumb:hover
|
|
306
|
+
{
|
|
307
|
+
background: var(--docuserve-scrollbar-thumb-hover);
|
|
58
308
|
}
|
|
59
309
|
|
|
60
310
|
/* Responsive adjustments */
|
|
61
|
-
@media (max-width: 768px)
|
|
62
|
-
|
|
311
|
+
@media (max-width: 768px)
|
|
312
|
+
{
|
|
313
|
+
html
|
|
314
|
+
{
|
|
63
315
|
font-size: 14px;
|
|
64
316
|
}
|
|
65
317
|
|
|
66
|
-
#Docuserve-Sidebar-Container
|
|
318
|
+
#Docuserve-Sidebar-Container
|
|
319
|
+
{
|
|
67
320
|
display: none;
|
|
68
321
|
}
|
|
69
322
|
|
|
70
|
-
.docuserve-body
|
|
323
|
+
.docuserve-body
|
|
324
|
+
{
|
|
71
325
|
flex-direction: column;
|
|
72
326
|
}
|
|
73
327
|
}
|
package/docs/index.html
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
7
|
-
<meta name="description" content="Documentation
|
|
7
|
+
<meta name="description" content="Pict-Section-RecordSet v1.0.66 Documentation — Pict dynamic record set management views">
|
|
8
8
|
|
|
9
|
-
<title>Documentation</title>
|
|
9
|
+
<title>Pict-Section-RecordSet v1.0.66 Documentation</title>
|
|
10
10
|
|
|
11
11
|
<!-- Application Stylesheet -->
|
|
12
12
|
<link href="css/docuserve.css" rel="stylesheet">
|
package/docs/retold-catalog.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"Generated": "2026-
|
|
2
|
+
"Generated": "2026-04-10T17:25:54.387Z",
|
|
3
3
|
"GitHubOrg": "stevenvelozo",
|
|
4
4
|
"DefaultBranch": "master",
|
|
5
5
|
"Groups": [
|
|
@@ -25,6 +25,18 @@
|
|
|
25
25
|
"Key": "docs",
|
|
26
26
|
"Description": "",
|
|
27
27
|
"Modules": [
|
|
28
|
+
{
|
|
29
|
+
"Name": "css",
|
|
30
|
+
"Repo": "css",
|
|
31
|
+
"Group": "docs",
|
|
32
|
+
"Branch": "master",
|
|
33
|
+
"HasDocs": true,
|
|
34
|
+
"HasCover": false,
|
|
35
|
+
"Sidebar": [],
|
|
36
|
+
"DocFiles": [
|
|
37
|
+
"css/docuserve.css"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
28
40
|
{
|
|
29
41
|
"Name": "views",
|
|
30
42
|
"Repo": "views",
|
|
@@ -47,6 +59,26 @@
|
|
|
47
59
|
"Key": "example_applications",
|
|
48
60
|
"Description": "",
|
|
49
61
|
"Modules": [
|
|
62
|
+
{
|
|
63
|
+
"Name": ".data",
|
|
64
|
+
"Repo": ".data",
|
|
65
|
+
"Group": "example_applications",
|
|
66
|
+
"Branch": "master",
|
|
67
|
+
"HasDocs": false,
|
|
68
|
+
"HasCover": false,
|
|
69
|
+
"Sidebar": [],
|
|
70
|
+
"DocFiles": []
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"Name": "bookstore",
|
|
74
|
+
"Repo": "bookstore",
|
|
75
|
+
"Group": "example_applications",
|
|
76
|
+
"Branch": "master",
|
|
77
|
+
"HasDocs": false,
|
|
78
|
+
"HasCover": false,
|
|
79
|
+
"Sidebar": [],
|
|
80
|
+
"DocFiles": []
|
|
81
|
+
},
|
|
50
82
|
{
|
|
51
83
|
"Name": "mocks",
|
|
52
84
|
"Repo": "mocks",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pict-section-recordset",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.67",
|
|
4
4
|
"description": "Pict dynamic record set management views",
|
|
5
5
|
"main": "source/Pict-Section-RecordSet.js",
|
|
6
6
|
"directories": {
|
|
@@ -33,10 +33,11 @@
|
|
|
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.366",
|
|
37
37
|
"pict-application": "^1.0.33",
|
|
38
|
+
"pict-docuserve": "^0.1.5",
|
|
38
39
|
"pict-service-commandlineutility": "^1.0.19",
|
|
39
|
-
"quackage": "^1.
|
|
40
|
+
"quackage": "^1.2.3",
|
|
40
41
|
"typescript": "^5.9.3"
|
|
41
42
|
},
|
|
42
43
|
"dependencies": {
|
|
@@ -517,6 +517,28 @@ class RecordSetMetacontroller extends libFableServiceProviderBase
|
|
|
517
517
|
return this.manifests[pScope];
|
|
518
518
|
}
|
|
519
519
|
|
|
520
|
+
/**
|
|
521
|
+
* Register a manifest at runtime, after initialization. This is the
|
|
522
|
+
* equivalent of adding a manifest to `fable.settings.Manifests` before
|
|
523
|
+
* init, but callable after the fact.
|
|
524
|
+
*
|
|
525
|
+
* @param {Record<string, any>} pManifest - The manifest to register. Must have `Scope` and `Descriptors`.
|
|
526
|
+
*/
|
|
527
|
+
addManifest(pManifest)
|
|
528
|
+
{
|
|
529
|
+
if (!pManifest || !pManifest.Scope || !pManifest.Descriptors)
|
|
530
|
+
{
|
|
531
|
+
this.pict.log.error(`RecordSetMetacontroller: addManifest called with invalid manifest.`, pManifest);
|
|
532
|
+
return;
|
|
533
|
+
}
|
|
534
|
+
if (!pManifest.Form)
|
|
535
|
+
{
|
|
536
|
+
this.generateManifestTableCells(pManifest);
|
|
537
|
+
}
|
|
538
|
+
this.manifestDefinitions[pManifest.Scope] = pManifest;
|
|
539
|
+
this.manifests[pManifest.Scope] = pManifest.Form ? pManifest : this.pict.newManyfest(pManifest);
|
|
540
|
+
}
|
|
541
|
+
|
|
520
542
|
/**
|
|
521
543
|
* @param {Record<string, any>} pManifest - The manifest to generate table cells for.
|
|
522
544
|
*/
|
|
@@ -296,6 +296,7 @@ class PictTemplateFilterInstanceViewInstruction extends libPictTemplate
|
|
|
296
296
|
// transaction queue instead of the dashboard's.
|
|
297
297
|
const tmpFilterTransactionHash = `FilterInstance-${tmpView.Hash}-${tmpRenderGUID}`;
|
|
298
298
|
this.pict.TransactionTracking.registerTransaction(tmpFilterTransactionHash);
|
|
299
|
+
/** @type {import('pict-view').Renderable} */
|
|
299
300
|
const tmpFilterRootRenderable =
|
|
300
301
|
{
|
|
301
302
|
RenderableHash: '__Virtual',
|
|
@@ -118,5 +118,88 @@ suite
|
|
|
118
118
|
}
|
|
119
119
|
);
|
|
120
120
|
});
|
|
121
|
+
suite
|
|
122
|
+
(
|
|
123
|
+
'MetaController addManifest',
|
|
124
|
+
() =>
|
|
125
|
+
{
|
|
126
|
+
test(
|
|
127
|
+
'should register a manifest at runtime',
|
|
128
|
+
(fDone) =>
|
|
129
|
+
{
|
|
130
|
+
let _Pict = new libPict();
|
|
131
|
+
_Pict.LogNoisiness = 0;
|
|
132
|
+
localStorage = originalLocalStorage;
|
|
133
|
+
|
|
134
|
+
let _Application = new DoNothingApplication(_Pict, {});
|
|
135
|
+
_Application.testDone = () =>
|
|
136
|
+
{
|
|
137
|
+
let _MetaController = _Pict.services.PictSectionRecordSet;
|
|
138
|
+
|
|
139
|
+
Expect(_MetaController).to.be.an('object', 'MetaController should exist.');
|
|
140
|
+
Expect(_MetaController.addManifest).to.be.a('function', 'addManifest should be a function.');
|
|
141
|
+
|
|
142
|
+
// Before adding, manifest should not exist
|
|
143
|
+
Expect(_MetaController.getManifest('TestDashboard')).to.equal(undefined);
|
|
144
|
+
|
|
145
|
+
// Add a manifest
|
|
146
|
+
_MetaController.addManifest({
|
|
147
|
+
Scope: 'TestDashboard',
|
|
148
|
+
CoreEntity: 'PhysicalAsset',
|
|
149
|
+
TitleTemplate: 'Test Dashboard',
|
|
150
|
+
Descriptors:
|
|
151
|
+
{
|
|
152
|
+
'Name':
|
|
153
|
+
{
|
|
154
|
+
'Name': 'Name',
|
|
155
|
+
'Hash': 'Name',
|
|
156
|
+
'PictDashboard': {}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
|
|
161
|
+
// After adding, manifest should be retrievable
|
|
162
|
+
let tmpManifest = _MetaController.getManifest('TestDashboard');
|
|
163
|
+
Expect(tmpManifest).to.be.an('object', 'Manifest should be retrievable after addManifest.');
|
|
164
|
+
|
|
165
|
+
// The manifest definition should also be registered
|
|
166
|
+
Expect(_MetaController.manifestDefinitions['TestDashboard']).to.be.an('object');
|
|
167
|
+
Expect(_MetaController.manifestDefinitions['TestDashboard'].Scope).to.equal('TestDashboard');
|
|
168
|
+
Expect(_MetaController.manifestDefinitions['TestDashboard'].TitleTemplate).to.equal('Test Dashboard');
|
|
169
|
+
|
|
170
|
+
fDone();
|
|
171
|
+
};
|
|
172
|
+
_Application.initialize();
|
|
173
|
+
}
|
|
174
|
+
);
|
|
175
|
+
|
|
176
|
+
test(
|
|
177
|
+
'should reject invalid manifests',
|
|
178
|
+
(fDone) =>
|
|
179
|
+
{
|
|
180
|
+
let _Pict = new libPict();
|
|
181
|
+
_Pict.LogNoisiness = 0;
|
|
182
|
+
localStorage = originalLocalStorage;
|
|
183
|
+
|
|
184
|
+
let _Application = new DoNothingApplication(_Pict, {});
|
|
185
|
+
_Application.testDone = () =>
|
|
186
|
+
{
|
|
187
|
+
let _MetaController = _Pict.services.PictSectionRecordSet;
|
|
188
|
+
|
|
189
|
+
// Should not throw on invalid input
|
|
190
|
+
_MetaController.addManifest(null);
|
|
191
|
+
_MetaController.addManifest({});
|
|
192
|
+
_MetaController.addManifest({ Scope: 'NoDescriptors' });
|
|
193
|
+
|
|
194
|
+
// None of these should have been registered
|
|
195
|
+
Expect(_MetaController.getManifest('NoDescriptors')).to.equal(undefined);
|
|
196
|
+
|
|
197
|
+
fDone();
|
|
198
|
+
};
|
|
199
|
+
_Application.initialize();
|
|
200
|
+
}
|
|
201
|
+
);
|
|
202
|
+
}
|
|
203
|
+
);
|
|
121
204
|
}
|
|
122
205
|
);
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
declare const _exports: {
|
|
2
2
|
new (pFable: any, pOptions: any, pServiceHash: any): import("./services/RecordsSet-MetaController.js");
|
|
3
3
|
default_configuration: Record<string, any>;
|
|
4
|
+
isFableService: boolean;
|
|
5
|
+
CoreServiceProviderBase: typeof import("fable-serviceproviderbase");
|
|
4
6
|
PictRecordSetApplication: typeof import("./application/Pict-Application-RecordSet.js");
|
|
5
7
|
RecordSetProviderBase: typeof import("./providers/RecordSet-RecordProvider-Base.js");
|
|
6
8
|
RecordSetProviderMeadowEndpoints: typeof import("./providers/RecordSet-RecordProvider-MeadowEndpoints.js");
|
|
@@ -48,6 +48,7 @@ declare class FilterDataProvider extends libPictProvider {
|
|
|
48
48
|
constructor(pFable: import("pict"), pOptions?: Record<string, any>, pServiceHash?: string);
|
|
49
49
|
storageProvider: any;
|
|
50
50
|
keyCache: {};
|
|
51
|
+
filterExperienceModifiedFromURLHash: boolean;
|
|
51
52
|
/** ===== UTILITY for Filter Experience ============= */
|
|
52
53
|
/**
|
|
53
54
|
* Using the information in the FilterClauses, try to generate a contextual default filter name for the display name of the current experience.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Filter-Data-Provider.d.ts","sourceRoot":"","sources":["../../source/providers/Filter-Data-Provider.js"],"names":[],"mappings":";AASA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuCE;AAIF;IAEC;;;;OAIG;IACH,oBAJW,OAAO,MAAM,CAAC,aACd,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,iBACnB,MAAM,
|
|
1
|
+
{"version":3,"file":"Filter-Data-Provider.d.ts","sourceRoot":"","sources":["../../source/providers/Filter-Data-Provider.js"],"names":[],"mappings":";AASA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuCE;AAIF;IAEC;;;;OAIG;IACH,oBAJW,OAAO,MAAM,CAAC,aACd,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,iBACnB,MAAM,EAgBhB;IARA,qBAA2B;IAC3B,aAAkB;IAMlB,6CAAgD;IAQjD,wDAAwD;IAExD;;;;;;;OAOG;IACH,uDALW,MAAM,eACN,MAAM,iBACN,MAAM,GACL,MAAM,CAgCjB;IAED;;;;;OAKG;IACH,qDAJW,MAAM,cACN,MAAM,gBACN,MAAM,QAchB;IAED;;;;;;OAMG;IACH,0CAJW,MAAM,gBACN,MAAM,GACL,OAAO,CA4ClB;IAED,kDAAkD;IAElD;;;;;;OAMG;IACH,+CALW,MAAM,gBACN,MAAM,wBACN,MAAM,GACL,MAAM,CA6BjB;IAED;;;;;;OAMG;IACH,sDALW,MAAM,gBACN,MAAM,aACN,MAAM,GACL,MAAM,CAoBjB;IAED;;;;;;OAMG;IACH,sCALW,MAAM,gBACN,MAAM,yBACN,MAAM,GACL,MAAM,CAkBjB;IAED;;;;;OAKG;IACH,iDAJW,MAAM,gBACN,MAAM,GACL,KAAK,CAAC,MAAM,CAAC,CAkBxB;IAED;;;;;;;OAOG;IACH,gCANW,MAAM,gBACN,MAAM,yBACN,MAAM,GAEL,MAAM,CAWjB;IAED;;;;;;OAMG;IACH,0CALW,MAAM,gBACN,MAAM,yBACN,MAAM,GACL,OAAO,CAOlB;IAED;;;;;;;OAOG;IACH,2BANW,MAAM,gBACN,MAAM,yBACN,MAAM,uBACN,OAAO,GACN,OAAO,CAsClB;IAED;;;;;;OAMG;IACH,6BALW,MAAM,gBACN,MAAM,yBACN,MAAM,GACL,OAAO,CAkClB;IAED;;;;;OAKG;IACH,2BAJW,MAAM,gBACN,MAAM,GACL,OAAO,CAgClB;IAED,sDAAsD;IAEtD;;;;;;OAMG;IACH,+CALW,MAAM,cACN,MAAM,gBACN,MAAM,GACL,OAAO,CAgBlB;IAED;;;;;OAKG;IACH,2CAJW,MAAM,gBACN,MAAM,GACL,OAAO,CAMlB;IAED;;;;;OAKG;IACH,wCAJW,MAAM,gBACN,MAAM,GACL,MAAM,CAmBjB;IAED;;;;;;OAMG;IACH,2CALW,MAAM,gBACN,MAAM,yBACN,MAAM,GACL,OAAO,CAUlB;IAED;;;;;OAKG;IACH,gDAJW,MAAM,gBACN,MAAM,aACN,OAAO,WAMjB;IAED;;;;;OAKG;IACH,gDAJW,MAAM,gBACN,MAAM,GACL,OAAO,CAWlB;IAED,oDAAoD;IAEpD;;;;;;OAMG;IACH,sCALW,MAAM,gBACN,MAAM,yBACN,MAAM,GACL,OAAO,CAclB;IAED;;;;;;OAMG;IACH,wCALW,MAAM,cACN,MAAM,gBACN,MAAM,GACL,MAAM,CAWjB;IAED;;;;;;;OAOG;IACH,yCANW,MAAM,eACN,MAAM,iBACN,MAAM,aACN,MAAM,GACL,OAAO,CAOlB;IAED,oDAAoD;IAEpD;;;;;;;OAOG;IACH,uCANW,MAAM,gBACN,MAAM,yBACN,MAAM,iBACN,OAAO,GACN,OAAO,CA4BlB;IAED;;;;;OAKG;IACH,0CAJW,MAAM,gBACN,MAAM,GACL,OAAO,CAMlB;IAED;;;;;OAKG;IACH,uCAJW,MAAM,gBACN,MAAM,GACL,MAAM,CAiBjB;IAED;;;;;;OAMG;IACH,sCALW,MAAM,gBACN,MAAM,yBACN,MAAM,GACL,OAAO,CAWlB;IAED;;;;;OAKG;IACH,uDAJW,MAAM,gBACN,MAAM,GACL,MAAM,GAAC,IAAI,CAWtB;IAED;;;;;;OAMG;IACH,uDALW,MAAM,gBACN,MAAM,aACN,MAAM,GACL,OAAO,CAMlB;IAED,iDAAiD;IAEjD;;;OAGG;IACH,cAHW,MAAM,GACL,GAAG,CASd;IAED;;;OAGG;IACH,cAHW,MAAM,UACN,GAAG,WAMb;IAED;;;OAGG;IACH,iBAHW,MAAM,GACL,OAAO,CAUlB;CACD"}
|
|
@@ -22,6 +22,8 @@ declare class RecordSetDynamicRecordsetSolver extends libPictProvider {
|
|
|
22
22
|
PictSectionRecordSet: InstanceType<{
|
|
23
23
|
new (pFable: any, pOptions: any, pServiceHash: any): import("../services/RecordsSet-MetaController.js");
|
|
24
24
|
default_configuration: Record<string, any>;
|
|
25
|
+
isFableService: boolean;
|
|
26
|
+
CoreServiceProviderBase: typeof import("fable-serviceproviderbase");
|
|
25
27
|
PictRecordSetApplication: typeof import("../application/Pict-Application-RecordSet.js");
|
|
26
28
|
RecordSetProviderBase: typeof import("./RecordSet-RecordProvider-Base.js");
|
|
27
29
|
RecordSetProviderMeadowEndpoints: typeof import("./RecordSet-RecordProvider-MeadowEndpoints.js");
|
|
@@ -66,6 +68,8 @@ declare class RecordSetDynamicRecordsetSolver extends libPictProvider {
|
|
|
66
68
|
PictSectionRecordSet: InstanceType<{
|
|
67
69
|
new (pFable: any, pOptions: any, pServiceHash: any): import("../services/RecordsSet-MetaController.js");
|
|
68
70
|
default_configuration: Record<string, any>;
|
|
71
|
+
isFableService: boolean;
|
|
72
|
+
CoreServiceProviderBase: typeof import("fable-serviceproviderbase");
|
|
69
73
|
PictRecordSetApplication: typeof import("../application/Pict-Application-RecordSet.js");
|
|
70
74
|
RecordSetProviderBase: typeof import("./RecordSet-RecordProvider-Base.js");
|
|
71
75
|
RecordSetProviderMeadowEndpoints: typeof import("./RecordSet-RecordProvider-MeadowEndpoints.js");
|
|
@@ -87,6 +91,8 @@ declare class RecordSetDynamicRecordsetSolver extends libPictProvider {
|
|
|
87
91
|
PictSectionRecordSet: InstanceType<{
|
|
88
92
|
new (pFable: any, pOptions: any, pServiceHash: any): import("../services/RecordsSet-MetaController.js");
|
|
89
93
|
default_configuration: Record<string, any>;
|
|
94
|
+
isFableService: boolean;
|
|
95
|
+
CoreServiceProviderBase: typeof import("fable-serviceproviderbase");
|
|
90
96
|
PictRecordSetApplication: typeof import("../application/Pict-Application-RecordSet.js");
|
|
91
97
|
RecordSetProviderBase: typeof import("./RecordSet-RecordProvider-Base.js");
|
|
92
98
|
RecordSetProviderMeadowEndpoints: typeof import("./RecordSet-RecordProvider-MeadowEndpoints.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-DynamicRecordsetSolver.d.ts","sourceRoot":"","sources":["../../source/providers/RecordSet-DynamicRecordsetSolver.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
|
|
1
|
+
{"version":3,"file":"RecordSet-DynamicRecordsetSolver.d.ts","sourceRoot":"","sources":["../../source/providers/RecordSet-DynamicRecordsetSolver.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;IAYX;;;;;;;;;OASG;IACH,qBALW,MAAM,GAAC,MAAM,cACb,OAAO,aACP,MAAM,GACJ,MAAM,GAAC,SAAS,CA8B5B;IAED;;;;;;;;;OASG;IACH,8BALW,OAAO,UAAU,CAAC,qCAElB,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,aAC1B,OAAO,UAAU,CAAC;;mDA9Ge,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,aAC1B,OAAO,UAAU,CAAC;;mDAvHe,CAAC,IAAI,EAAE,MAAM,KAAK,GAAG;8BAC1C,GAAG;kCACC,YAAY,CAAC;;;;;;;;aAAsC,CAAC;;;;;;MAgI9E;IAED;;;;;;;OAOG;IACH,mCALW,OAAO,UAAU,CAAC,uCAElB,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;;;;;AA5SD,kCAAkC;AAClC,6CADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAS3B"}
|
|
@@ -24,6 +24,8 @@ declare class MeadowEndpointsRecordSetProvider extends libRecordSetProviderBase
|
|
|
24
24
|
PictSectionRecordSet: InstanceType<{
|
|
25
25
|
new (pFable: any, pOptions: any, pServiceHash: any): import("../services/RecordsSet-MetaController.js");
|
|
26
26
|
default_configuration: Record<string, any>;
|
|
27
|
+
isFableService: boolean;
|
|
28
|
+
CoreServiceProviderBase: typeof import("fable-serviceproviderbase");
|
|
27
29
|
PictRecordSetApplication: typeof import("../application/Pict-Application-RecordSet.js");
|
|
28
30
|
RecordSetProviderBase: typeof libRecordSetProviderBase;
|
|
29
31
|
RecordSetProviderMeadowEndpoints: typeof MeadowEndpointsRecordSetProvider;
|
|
@@ -34,6 +36,8 @@ declare class MeadowEndpointsRecordSetProvider extends libRecordSetProviderBase
|
|
|
34
36
|
PictSectionRecordSet: InstanceType<{
|
|
35
37
|
new (pFable: any, pOptions: any, pServiceHash: any): import("../services/RecordsSet-MetaController.js");
|
|
36
38
|
default_configuration: Record<string, any>;
|
|
39
|
+
isFableService: boolean;
|
|
40
|
+
CoreServiceProviderBase: typeof import("fable-serviceproviderbase");
|
|
37
41
|
PictRecordSetApplication: typeof import("../application/Pict-Application-RecordSet.js");
|
|
38
42
|
RecordSetProviderBase: typeof libRecordSetProviderBase;
|
|
39
43
|
RecordSetProviderMeadowEndpoints: typeof MeadowEndpointsRecordSetProvider;
|
|
@@ -45,6 +49,8 @@ declare class MeadowEndpointsRecordSetProvider extends libRecordSetProviderBase
|
|
|
45
49
|
PictSectionRecordSet: InstanceType<{
|
|
46
50
|
new (pFable: any, pOptions: any, pServiceHash: any): import("../services/RecordsSet-MetaController.js");
|
|
47
51
|
default_configuration: Record<string, any>;
|
|
52
|
+
isFableService: boolean;
|
|
53
|
+
CoreServiceProviderBase: typeof import("fable-serviceproviderbase");
|
|
48
54
|
PictRecordSetApplication: typeof import("../application/Pict-Application-RecordSet.js");
|
|
49
55
|
RecordSetProviderBase: typeof libRecordSetProviderBase;
|
|
50
56
|
RecordSetProviderMeadowEndpoints: typeof MeadowEndpointsRecordSetProvider;
|
|
@@ -55,6 +61,8 @@ declare class MeadowEndpointsRecordSetProvider extends libRecordSetProviderBase
|
|
|
55
61
|
PictSectionRecordSet: InstanceType<{
|
|
56
62
|
new (pFable: any, pOptions: any, pServiceHash: any): import("../services/RecordsSet-MetaController.js");
|
|
57
63
|
default_configuration: Record<string, any>;
|
|
64
|
+
isFableService: boolean;
|
|
65
|
+
CoreServiceProviderBase: typeof import("fable-serviceproviderbase");
|
|
58
66
|
PictRecordSetApplication: typeof import("../application/Pict-Application-RecordSet.js");
|
|
59
67
|
RecordSetProviderBase: typeof libRecordSetProviderBase;
|
|
60
68
|
RecordSetProviderMeadowEndpoints: typeof MeadowEndpointsRecordSetProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-RecordProvider-MeadowEndpoints.d.ts","sourceRoot":"","sources":["../../source/providers/RecordSet-RecordProvider-MeadowEndpoints.js"],"names":[],"mappings":";AAGA;;;GAGG;AAEH;;;GAGG;AACH;IAcE;;;;;;;;;aASS;IACT,MAVW,OAAO,MAAM,CAAC,GAAG;QACpB,GAAG,EAAE,GAAG,CAAC;QACT,QAAQ,EACf;YACI,oBAAoB,EAAE,YAAY,CAAC
|
|
1
|
+
{"version":3,"file":"RecordSet-RecordProvider-MeadowEndpoints.d.ts","sourceRoot":"","sources":["../../source/providers/RecordSet-RecordProvider-MeadowEndpoints.js"],"names":[],"mappings":";AAGA;;;GAGG;AAEH;;;GAGG;AACH;IAcE;;;;;;;;;aASS;IACT,MAVW,OAAO,MAAM,CAAC,GAAG;QACpB,GAAG,EAAE,GAAG,CAAC;QACT,QAAQ,EACf;YACI,oBAAoB,EAAE,YAAY,CAAC;;;;;;;;aAAsC,CAAC,CAAC;YAC/E,CAAK,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;SACnB,CAAC;QACE,6CAA6C,EAAE,CAAC,IAAI,QAAQ,KAAK,GAAG,CAAC;QACrE,oBAAoB,EAAE,YAAY,CAAC;;;;;;;;SAAsC,CAAC,CAAA;KAC7E,CACI;IACT;aAVa,GAAG;kBAEf;YACI,oBAAoB,EAAE,YAAY,CAAC;;;;;;;;aAAsC,CAAC,CAAC;YAC/E,CAAK,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;SACnB;uDACkD,CAAC,IAAI,QAAQ,KAAK,GAAG;8BAC9C,YAAY,CAAC;;;;;;;;SAAsC,CAAC;MAG5D;IAMtB,kCAAkC;IAClC,SADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAClB;IACZ,kDAAkD;IAClD,cADW,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CACvB;IACvB,kDAAkD;IAClD,iBADW,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CACpB;IAG3B,0EAA0E;IAC1E,sBADa,OAAO,iDAAiD,CAAC,CAerE;IAVC,wEAAwE;IAExE,iBAFW,OAAO,iDAAiD,CAAC,CAE4B;IAUlG;;OAEG;IACH,0BAFY,KAAK,CAAC,MAAM,CAAC,CASxB;IAED;;;;OAIG;IACH,qBAFW,MAAM,GAAC,MAAM,gBA4BvB;IAED,oBAaC;IAED,kBAaC;IAED;;;;OAIG;IACH,uBAFW,MAAM,GAAC,MAAM,gBA2BvB;IAED,iGAiBC;IA8FD;;;;OAIG;IACH,4BAFW,eAAe,gBA2CzB;IAED;;;;OAIG;IACH,sBAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBAsB7B;IAED;;;;OAIG;IACH,sBAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBAsB7B;IAED;;;;OAIG;IACH,sBAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBAsB7B;IAED;;;;OAIG;IACH,sBAFW,MAAM,GAAC,MAAM,gBAKvB;IAaD;;;;OAIG;IACH,qBAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBAK7B;IAcD;;;;OAIG;IACH,oCAJW,MAAM,WACN,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,uBACnB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,OAsF7B;IAgGD;;;OAGG;IACH,qCAHW,MAAM,GACL,MAAM,CAKjB;IAED;;;OAGG;IACH,wCAHW,MAAM,GACL,MAAM,CAyCjB;IAED;;OAEG;IACH,kCAFW,CAAC,KAAK,CAAC,EAAE,KAAK,KAAK,IAAI,QA6BjC;IAED,+BA8HC;CA0DD;;;;;uBA74BY,OAAO,oCAAoC,EAAE,eAAe;uBAC5D,OAAO,oCAAoC,EAAE,eAAe"}
|
|
@@ -6,6 +6,8 @@ declare class PictRecordSetRouter extends libPictProvider {
|
|
|
6
6
|
PictSectionRecordSet: InstanceType<{
|
|
7
7
|
new (pFable: any, pOptions: any, pServiceHash: any): import("../services/RecordsSet-MetaController.js");
|
|
8
8
|
default_configuration: Record<string, any>;
|
|
9
|
+
isFableService: boolean;
|
|
10
|
+
CoreServiceProviderBase: typeof import("fable-serviceproviderbase");
|
|
9
11
|
PictRecordSetApplication: typeof import("../application/Pict-Application-RecordSet.js");
|
|
10
12
|
RecordSetProviderBase: typeof import("./RecordSet-RecordProvider-Base.js");
|
|
11
13
|
RecordSetProviderMeadowEndpoints: typeof import("./RecordSet-RecordProvider-MeadowEndpoints.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-Router.d.ts","sourceRoot":"","sources":["../../source/providers/RecordSet-Router.js"],"names":[],"mappings":";AAYA;IAEC,2DAWC;IAJA,8GAA8G;IAC9G,MADW,OAAO,MAAM,CAAC,GAAG;QAAE,oBAAoB,EAAE,YAAY,CAAC
|
|
1
|
+
{"version":3,"file":"RecordSet-Router.d.ts","sourceRoot":"","sources":["../../source/providers/RecordSet-Router.js"],"names":[],"mappings":";AAYA;IAEC,2DAWC;IAJA,8GAA8G;IAC9G,MADW,OAAO,MAAM,CAAC,GAAG;QAAE,oBAAoB,EAAE,YAAY,CAAC;;;;;;;;SAAsC,CAAC,CAAA;KAAE,CACjG;IAET,gBAAsB;IAgBvB,8BAYC;IAED;;;;OAIG;IACH,iBAFW,MAAM,QAKhB;CACD;;;;;AA5DD,kCAAkC;AAClC,+CADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAO7B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export = RecordSetMetacontroller;
|
|
2
|
-
declare class RecordSetMetacontroller {
|
|
2
|
+
declare class RecordSetMetacontroller extends libFableServiceProviderBase {
|
|
3
3
|
constructor(pFable: any, pOptions: any, pServiceHash: any);
|
|
4
4
|
/** @type {import('pict') & { PictSectionRecordSet: any, addAndInstantiateSingletonService: (hash: string, options: any, prototype: any) => any, newManyfest: (rec: any) => any }} */
|
|
5
5
|
fable: import("pict") & {
|
|
@@ -13,11 +13,7 @@ declare class RecordSetMetacontroller {
|
|
|
13
13
|
newManyfest: (rec: any) => any;
|
|
14
14
|
};
|
|
15
15
|
/** @type {any} */
|
|
16
|
-
log: any;
|
|
17
|
-
/** @type {any} */
|
|
18
16
|
options: any;
|
|
19
|
-
/** @type {string} */
|
|
20
|
-
UUID: string;
|
|
21
17
|
childViews: {
|
|
22
18
|
list: any;
|
|
23
19
|
create: any;
|
|
@@ -79,6 +75,14 @@ declare class RecordSetMetacontroller {
|
|
|
79
75
|
addRecordLinkTemplate(pNameTemplate: string, pURLTemplate: string, pDefault: boolean): Record<string, any>;
|
|
80
76
|
initialize(): true | this;
|
|
81
77
|
getManifest(pScope: any): import("manyfest");
|
|
78
|
+
/**
|
|
79
|
+
* Register a manifest at runtime, after initialization. This is the
|
|
80
|
+
* equivalent of adding a manifest to `fable.settings.Manifests` before
|
|
81
|
+
* init, but callable after the fact.
|
|
82
|
+
*
|
|
83
|
+
* @param {Record<string, any>} pManifest - The manifest to register. Must have `Scope` and `Descriptors`.
|
|
84
|
+
*/
|
|
85
|
+
addManifest(pManifest: Record<string, any>): void;
|
|
82
86
|
/**
|
|
83
87
|
* @param {Record<string, any>} pManifest - The manifest to generate table cells for.
|
|
84
88
|
*/
|
|
@@ -87,6 +91,7 @@ declare class RecordSetMetacontroller {
|
|
|
87
91
|
declare namespace RecordSetMetacontroller {
|
|
88
92
|
export { _DEFAULT_CONFIGURATION as default_configuration };
|
|
89
93
|
}
|
|
94
|
+
import libFableServiceProviderBase = require("fable-serviceproviderbase");
|
|
90
95
|
/** @type {Record<string, any>} */
|
|
91
96
|
declare const _DEFAULT_CONFIGURATION: Record<string, any>;
|
|
92
97
|
//# sourceMappingURL=RecordsSet-MetaController.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordsSet-MetaController.d.ts","sourceRoot":"","sources":["../../source/services/RecordsSet-MetaController.js"],"names":[],"mappings":";AAwBA;IAEC,2DA2GC;IAtGA,qLAAqL;IACrL,OADW,OAAO,MAAM,CAAC,GAAG;QAAE,oBAAoB,EAAE,GAAG,CAAC;QAAC,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,CACvK;IACV;8BAFoD,GAAG;2CAAqC,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,KAAK,GAAG;qBAAe,CAAC,GAAG,EAAE,GAAG,KAAK,GAAG;MAEzJ;
|
|
1
|
+
{"version":3,"file":"RecordsSet-MetaController.d.ts","sourceRoot":"","sources":["../../source/services/RecordsSet-MetaController.js"],"names":[],"mappings":";AAwBA;IAEC,2DA2GC;IAtGA,qLAAqL;IACrL,OADW,OAAO,MAAM,CAAC,GAAG;QAAE,oBAAoB,EAAE,GAAG,CAAC;QAAC,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,CACvK;IACV;8BAFoD,GAAG;2CAAqC,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,KAAK,GAAG;qBAAe,CAAC,GAAG,EAAE,GAAG,KAAK,GAAG;MAEzJ;IAGtB,kBAAkB;IAClB,SADW,GAAG,CACF;IAIZ;;;;;MAKC;IAED,sDAAsD;IACtD,oBADW,MAAM,CAAC,MAAM,EAAE,OAAO,eAAe,CAAC,CAAC,CACtB;IAC5B,kDAAkD;IAClD,iCADW,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CACL;IAEzC,kDAAkD;IAClD,yBADW,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CACb;IAEjC,+DAA+D;IAC/D,kBADW,KAAK,CAAC,CAAC,WAAW,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC,CACjC;IAE1B,kDAAkD;IAClD,qBADW,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CACjB;IAC7B,iDAAiD;IACjD,WADW,MAAM,CAAC,MAAM,EAAE,OAAO,UAAU,CAAC,CAAC,CACG;IAEhD,yBAA4B;IAkG7B;;;;OAIG;IACH,sCAJW,MAAM,GAEL,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAK9B;IAED;;OAEG;IACH,oDAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,WAiH7B;IAED;;OAEG;IACH,8DAFW,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,WAqBpC;IAED;;;;OAIG;IACH,qCAJW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,YAC5B,MAAM,mBACN,MAAM,OAqDhB;IAED;;OAEG;IACH,+CAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,OAe7B;IAED;;OAEG;IACH,qCAMC;IAED;;OAEG;IACH,0BAFW,MAAM,oBAYhB;IAED;;;;;;OAMG;IACH,qCANW,MAAM,gBACN,MAAM,YACN,OAAO,GAEN,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAK9B;IAED,0BAsFC;IAED,6CAGC;IAED;;;;;;OAMG;IACH,uBAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAe7B;IAED;;OAEG;IACH,sCAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAwC7B;CAED;;;;;AAxjBD,kCAAkC;AAClC,sCADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAI3B"}
|
|
@@ -3,6 +3,48 @@ export = PictTemplateFilterInstanceViewInstruction;
|
|
|
3
3
|
* Specialized instruction for rendering the filter view and plumbing in required context.
|
|
4
4
|
*
|
|
5
5
|
* Based on the Pict base {~V:...~} template instruction.
|
|
6
|
+
*
|
|
7
|
+
* ## Async render architecture (see renderAsync below)
|
|
8
|
+
*
|
|
9
|
+
* The async path is tuned to get the dashboard records list painted before any
|
|
10
|
+
* speculative filter-list REST lookups complete. Three things collaborate to
|
|
11
|
+
* make that happen:
|
|
12
|
+
*
|
|
13
|
+
* 1. **Parallel filter fan-out.** Every filter clause starts its own
|
|
14
|
+
* `renderWithScopeAsync` in a single pass, instead of chaining through a
|
|
15
|
+
* sequential `Anticipate` queue. Template parsing, `onBefore*`/`onProject*`
|
|
16
|
+
* microtask hops, and the synchronous DOM walks done inside each filter's
|
|
17
|
+
* `onAfterRender` all happen concurrently rather than serialized across N
|
|
18
|
+
* filters. Results are collected into an indexed array so final output
|
|
19
|
+
* order still matches the clause order.
|
|
20
|
+
*
|
|
21
|
+
* 2. **Per-filter transaction isolation.** Each filter render gets its own
|
|
22
|
+
* synthetic `RootRenderable` carrying a fresh `TransactionHash`. Any
|
|
23
|
+
* `virtual-assignment` sub-renders that the filter's dynamic form spawns
|
|
24
|
+
* (notably `PSRSFilterProxyView`, which pict-section-form uses to host
|
|
25
|
+
* each filter's input) push into THIS transaction's queue, not the
|
|
26
|
+
* dashboard's. The dashboard's outer `renderAsync` callback fires as soon
|
|
27
|
+
* as every filter has its template string - without waiting on any of
|
|
28
|
+
* the nested input-initialize work.
|
|
29
|
+
*
|
|
30
|
+
* 3. **Deferred post-render drain.** The filter's post-render pipeline
|
|
31
|
+
* (`onAfterRenderAsync`, which is what runs pict-section-form's
|
|
32
|
+
* `runInputProviderFunctions('onInputInitialize', ...)` and therefore
|
|
33
|
+
* triggers `EntityBundleRequest.gatherDataFromServer` for any
|
|
34
|
+
* speculative-load inputs) is intentionally NOT run inline. It is queued
|
|
35
|
+
* via `setTimeout(..., 0)` so it fires on the next macrotask, giving the
|
|
36
|
+
* browser a tick to paint the dashboard first.
|
|
37
|
+
*
|
|
38
|
+
* ### Render-epoch race guard
|
|
39
|
+
*
|
|
40
|
+
* Between the dashboard callback firing and the setTimeout actually running,
|
|
41
|
+
* the user may have navigated away / applied a different filter experience /
|
|
42
|
+
* cleared filters. The `PRSP-Filters` view owns a monotonic `_renderEpoch`
|
|
43
|
+
* counter that gets bumped on every mutating action (`performSearch`,
|
|
44
|
+
* `handleClear`, `handleReset`, `addFilter`, `removeFilter`). Each scheduled
|
|
45
|
+
* drain captures the epoch at schedule time and bails out if a newer render
|
|
46
|
+
* has invalidated it, so a stale REST response can never clobber a filter
|
|
47
|
+
* container that now belongs to a different experience.
|
|
6
48
|
*/
|
|
7
49
|
declare class PictTemplateFilterInstanceViewInstruction extends libPictTemplate {
|
|
8
50
|
/**
|
|
@@ -11,8 +53,6 @@ declare class PictTemplateFilterInstanceViewInstruction extends libPictTemplate
|
|
|
11
53
|
* @param {String} pServiceHash - The hash of the service
|
|
12
54
|
*/
|
|
13
55
|
constructor(pFable: any, pOptions: any, pServiceHash: string);
|
|
14
|
-
/** @type {any} */
|
|
15
|
-
log: any;
|
|
16
56
|
_getViewForFilterClause(pClause: any): import("../views/filters/RecordSet-Filter-Base.js");
|
|
17
57
|
}
|
|
18
58
|
import libPictTemplate = require("pict-template");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pict-Template-FilterInstanceViews.d.ts","sourceRoot":"","sources":["../../source/templates/Pict-Template-FilterInstanceViews.js"],"names":[],"mappings":";AAGA
|
|
1
|
+
{"version":3,"file":"Pict-Template-FilterInstanceViews.d.ts","sourceRoot":"","sources":["../../source/templates/Pict-Template-FilterInstanceViews.js"],"names":[],"mappings":";AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH;IAEC;;;;OAIG;IACH,8DAeC;IAED,2FAsBC;CAuPD"}
|
|
@@ -11,8 +11,6 @@ declare class PictTemplateFilterViewInstruction extends libPictTemplate {
|
|
|
11
11
|
* @param {String} pServiceHash - The hash of the service
|
|
12
12
|
*/
|
|
13
13
|
constructor(pFable: any, pOptions: any, pServiceHash: string);
|
|
14
|
-
/** @type {any} */
|
|
15
|
-
log: any;
|
|
16
14
|
}
|
|
17
15
|
import libPictTemplate = require("pict-template");
|
|
18
16
|
//# sourceMappingURL=Pict-Template-FilterView.d.ts.map
|
|
@@ -1 +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;
|
|
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;CAgJD"}
|
|
@@ -4,13 +4,35 @@ declare class viewFilterPersistenceView extends libPictView {
|
|
|
4
4
|
currentRecordSet: string;
|
|
5
5
|
currentViewContext: string;
|
|
6
6
|
filterExperienceSelection: any;
|
|
7
|
+
filterExperienceInitialized: boolean;
|
|
7
8
|
/**
|
|
8
|
-
*
|
|
9
|
+
* Initializes the filter persistence view UI for a given record set and view context. This will render the UI and populate it with the relevant filter experiences for the given context.
|
|
9
10
|
* @param {string} pRecordSet - The identifier of the record set.
|
|
10
11
|
* @param {string} pViewContext - The context of the view.
|
|
12
|
+
* @param {function} pCallback - A callback function to be executed after initializing the UI.
|
|
13
|
+
* @returns {boolean} - Returns true when the UI has been initialized.
|
|
14
|
+
*/
|
|
15
|
+
initializeFilterPersistenceViewUI(pRecordSet: string, pViewContext: string, pCallback: Function): boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Updates the current filter experience name in the input field based on the current filter experience applied for the given record set and view context. This is used to ensure that if the filter experience was modified outside of the UI (ex: through the URL hash), we can reflect that in the input field and also handle the button states accordingly to prevent unintended consequences of saving in an invalid state.
|
|
18
|
+
* @param {string} pRecordSet - The identifier of the record set.
|
|
19
|
+
* @param {string} pViewContext - The context of the view.
|
|
20
|
+
* @param {boolean} pIgnoreCurrentExperienceURLParam - Whether to ignore the current experience when updating the input field, use this when in a modified state and the url is now outdated, to generate a new name.
|
|
21
|
+
*/
|
|
22
|
+
updateDisplayNameInputWithCurrentFilterExperience(pRecordSet: string, pViewContext: string, pIgnoreCurrentExperienceURLParam?: boolean): void;
|
|
23
|
+
/**
|
|
24
|
+
* Toggles the filter persistence UI for a given record set and view context
|
|
25
|
+
* @param {string} pRecordSet - The identifier of the record set.
|
|
26
|
+
* @param {string} pViewContext - The context of the view.
|
|
27
|
+
* @param {function} pCallback - A callback function to be executed after toggling the UI.
|
|
11
28
|
* @returns {boolean} - Returns true when the UI has been toggled.
|
|
12
29
|
*/
|
|
13
|
-
openFilterPersistenceUI(pRecordSet: string, pViewContext: string): boolean;
|
|
30
|
+
openFilterPersistenceUI(pRecordSet: string, pViewContext: string, pCallback: Function): boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Handles the state of the filter experience when it has been modified from the URL hash instead of through the UI, which can lead to an invalid state for saving if the user tries to save without realizing the current experience was modified outside of the UI.
|
|
33
|
+
* This method will show a warning message and disable the save/set as default/remove as default/delete buttons to prevent unintended consequences of saving in that state, and will prompt the user to load a filter experience through the UI or refresh the page to reset the state before they can save. It will also disable the current filter name input and set a warning message in it to indicate that the user needs to apply or reset filters changes to be able to save settings. If the filter experience is not in that modified state, it will ensure the buttons are enabled and the current filter name input is enabled and populated with the current filter experience name for better visibility when saving.
|
|
34
|
+
*/
|
|
35
|
+
handleModifiedFiltersState(): void;
|
|
14
36
|
/**
|
|
15
37
|
* Updates the filter experience settings for a given record set and view context.
|
|
16
38
|
* @param {string} pRecordSet - The identifier of the record set.
|
|
@@ -46,20 +68,22 @@ declare class viewFilterPersistenceView extends libPictView {
|
|
|
46
68
|
* @param {Event} event - The event object.
|
|
47
69
|
* @returns {boolean} - Returns true when the settings have been loaded.
|
|
48
70
|
*/
|
|
49
|
-
loadFilterPersistenceSettings(event: Event): boolean;
|
|
71
|
+
loadFilterPersistenceSettings(event: Event, pCallback: any): boolean;
|
|
50
72
|
/**
|
|
51
73
|
* Saves the filter persistence settings for the current selection of filter experiences.
|
|
52
74
|
* @param {Event} event - The event object.
|
|
75
|
+
* @param {function} [pCallback] - A callback function to be executed after saving the settings.
|
|
53
76
|
* @returns {boolean} - Returns true when the settings have been saved.
|
|
54
77
|
*/
|
|
55
|
-
saveFilterPersistenceSettings(event: Event): boolean;
|
|
78
|
+
saveFilterPersistenceSettings(event: Event, pCallback?: Function): boolean;
|
|
56
79
|
/**
|
|
57
80
|
* Sets the filter experience as the default for the current record set and view context.
|
|
58
81
|
* @param {Event} event - The event object.
|
|
59
82
|
* @param {boolean} isDefault - Whether to set as default or not.
|
|
83
|
+
* @param {function} [pCallback] - A callback function to be executed after toggling the default setting.
|
|
60
84
|
* @returns {boolean} - Returns true when the settings have been set as default.
|
|
61
85
|
*/
|
|
62
|
-
toggleFilterExperienceAsTheDefault(event: Event, isDefault: boolean): boolean;
|
|
86
|
+
toggleFilterExperienceAsTheDefault(event: Event, isDefault: boolean, pCallback?: Function): boolean;
|
|
63
87
|
/**
|
|
64
88
|
* Handles the button states for the filter experience selection.
|
|
65
89
|
* @param {boolean} isDefault - Whether the filter experience is set as default or not.
|
|
@@ -68,9 +92,10 @@ declare class viewFilterPersistenceView extends libPictView {
|
|
|
68
92
|
/**
|
|
69
93
|
* Deletes the filter persistence settings for the current selection of filter experiences.
|
|
70
94
|
* @param {Event} event - The event object.
|
|
95
|
+
* @param {function} [pCallback] - A callback function to be executed after deleting the settings.
|
|
71
96
|
* @returns {boolean} - Returns true when the settings have been deleted.
|
|
72
97
|
*/
|
|
73
|
-
deleteFilterPersistenceSettings(event: Event): boolean;
|
|
98
|
+
deleteFilterPersistenceSettings(event: Event, pCallback?: Function): boolean;
|
|
74
99
|
}
|
|
75
100
|
declare namespace viewFilterPersistenceView {
|
|
76
101
|
export { _DEFAULT_CONFIGURATION_FilterPersistenceView as default_configuration };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Filter-PersistenceView.d.ts","sourceRoot":"","sources":["../../source/views/Filter-PersistenceView.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Filter-PersistenceView.d.ts","sourceRoot":"","sources":["../../source/views/Filter-PersistenceView.js"],"names":[],"mappings":";AAuFA;IAEC,2DASC;IAJA,yBAA4B;IAC5B,2BAA8B;IAC9B,+BAAqC;IACrC,qCAAwC;IAIzC;;;;;;OAMG;IACH,8CALW,MAAM,gBACN,MAAM,wBAEJ,OAAO,CAqCnB;IAED;;;;;OAKG;IACH,8DAJW,MAAM,gBACN,MAAM,qCACN,OAAO,QA0BjB;IAED;;;;;;OAMG;IACH,oCALW,MAAM,gBACN,MAAM,wBAEJ,OAAO,CAYnB;IAED;;;OAGG;IACH,mCA2BC;IAED;;;;;;OAMG;IACH,2CALW,MAAM,gBACN,MAAM,aACN,MAAM,GACJ,OAAO,CAenB;IAED;;;;OAIG;IACH,sCAHW,KAAK,GACH,OAAO,CA6BnB;IAED;;;OAGG;IACH,4BAFa,OAAO,CAmBnB;IAED;;;OAGG;IACH,mDAFa,OAAO,CA+CnB;IAED;;;;OAIG;IACH,8CAHW,KAAK,GACH,OAAO,CAcnB;IAED;;;;OAIG;IACH,qCAHW,KAAK,mBACH,OAAO,CAqBnB;IAED;;;;;OAKG;IACH,qCAJW,KAAK,yBAEH,OAAO,CA4BnB;IAED;;;;;;OAMG;IACH,0CALW,KAAK,aACL,OAAO,yBAEL,OAAO,CAyBnB;IAED;;;OAGG;IACH,uCAFW,OAAO,QA4BjB;IAED;;;;;OAKG;IACH,uCAJW,KAAK,yBAEH,OAAO,CAsBnB;CACD"}
|
|
@@ -6,6 +6,8 @@ declare class ViewRecordSetSUBSETFilters extends libPictView {
|
|
|
6
6
|
PictSectionRecordSet: {
|
|
7
7
|
new (pFable: any, pOptions: any, pServiceHash: any): import("../services/RecordsSet-MetaController.js");
|
|
8
8
|
default_configuration: Record<string, any>;
|
|
9
|
+
isFableService: boolean;
|
|
10
|
+
CoreServiceProviderBase: typeof import("fable-serviceproviderbase");
|
|
9
11
|
PictRecordSetApplication: typeof import("../application/Pict-Application-RecordSet.js");
|
|
10
12
|
RecordSetProviderBase: typeof import("../providers/RecordSet-RecordProvider-Base.js");
|
|
11
13
|
RecordSetProviderMeadowEndpoints: typeof import("../providers/RecordSet-RecordProvider-MeadowEndpoints.js");
|
|
@@ -13,6 +15,35 @@ declare class ViewRecordSetSUBSETFilters extends libPictView {
|
|
|
13
15
|
};
|
|
14
16
|
chars: string;
|
|
15
17
|
lookup: any[] | Uint8Array<ArrayBuffer>;
|
|
18
|
+
newFilterSearchApplied: boolean;
|
|
19
|
+
addFilterCallback: Function;
|
|
20
|
+
removeFilterCallback: Function;
|
|
21
|
+
_renderEpoch: number;
|
|
22
|
+
/**
|
|
23
|
+
* Bump the render epoch. Call this whenever the active filter clauses are
|
|
24
|
+
* about to change in a way that would invalidate in-flight filter renders.
|
|
25
|
+
*
|
|
26
|
+
* @return {number} The new epoch value.
|
|
27
|
+
*/
|
|
28
|
+
bumpRenderEpoch(): number;
|
|
29
|
+
/**
|
|
30
|
+
* Sets a callback function to be executed after a filter is added.
|
|
31
|
+
* @param {function} pCallback - The callback function to be executed after a filter is added.
|
|
32
|
+
*/
|
|
33
|
+
setAddFilterCallback(pCallback: Function): void;
|
|
34
|
+
/**
|
|
35
|
+
* Sets a callback function to be executed after a filter is removed.
|
|
36
|
+
* @param {function} pCallback - The callback function to be executed after a filter is removed.
|
|
37
|
+
*/
|
|
38
|
+
setRemoveFilterCallback(pCallback: Function): void;
|
|
39
|
+
/**
|
|
40
|
+
* Removes the callback function for adding a filter.
|
|
41
|
+
*/
|
|
42
|
+
removeAddFilterCallback(): void;
|
|
43
|
+
/**
|
|
44
|
+
* Removes the callback function for removing a filter.
|
|
45
|
+
*/
|
|
46
|
+
removeRemoveFilterCallback(): void;
|
|
16
47
|
/**
|
|
17
48
|
* @return {string} - The marshalling prefix configured for filters. Usually 'Bundle.'
|
|
18
49
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-Filters.d.ts","sourceRoot":"","sources":["../../source/views/RecordSet-Filters.js"],"names":[],"mappings":";AA6MA;IAEC,
|
|
1
|
+
{"version":3,"file":"RecordSet-Filters.d.ts","sourceRoot":"","sources":["../../source/views/RecordSet-Filters.js"],"names":[],"mappings":";AA6MA;IAEC,2DAuCC;IAnCA,kHAAkH;IAClH,MADW,GAAe,GAAG,OAAO,MAAM,CAAC,GAAG;QAAE,oBAAoB,EAAE;;;;;;;;SAAsC,CAAA;KAAE,CACrG;IAeT,cAA+E;IAG/E,wCAA0E;IAK1E,gCAAmC;IACnC,4BAA6B;IAC7B,+BAAgC;IAQhC,qBAAqB;IAGtB;;;;;OAKG;IACH,mBAFY,MAAM,CAMjB;IAED;;;OAGG;IACH,gDAGC;IAED;;;OAGG;IACH,mDAGC;IAED;;OAEG;IACH,gCAGC;IAED;;OAEG;IACH,mCAGC;IAED;;OAEG;IACH,6BAFY,MAAM,CAKjB;IAED;;;;OAIG;IACH,kCAJW,MAAM,GAEL,GAAG,CAMd;IAKD;;;OAGG;IACH,qBAFa,GAAG,CAaf;IAED;;;OAGG;IACH,mBAFa,GAAG,CAaf;IAED;;;;OAIG;IACH,qBAJW,KAAK,cACL,MAAM,gBACN,MAAM,QAUhB;IAED;;;;OAIG;IACH,0BAJW,MAAM,gBACN,MAAM,kBACN,MAAM,QAsDhB;IAED;;;;;OAKG;IACH,oBAJW,KAAK,cACL,MAAM,gBACN,MAAM,QAUhB;IAGD;;;;;OAKG;IACH,oBAJW,KAAK,cACL,MAAM,gBACN,MAAM,QAoBhB;IAED;;;;;MAKE;IACF,qBALW,KAAK,cACL,MAAM,gBACN,MAAM,GACJ,OAAO,CAQnB;IAED;;;;OAIG;IACH,0BAJW,KAAK,cACL,MAAM,gBACN,MAAM,QAQhB;IAED;;;;;;OAMG;IACH,kBANW,KAAK,cACL,MAAM,gBACN,MAAM,cACN,MAAM,cACN,MAAM,QAWhB;IAED;;;;;OAKG;IACH,qBALW,KAAK,cACL,MAAM,gBACN,MAAM,sBACN,MAAM,QAWhB;IAED;;;;OAIG;IACH,4BAHW,MAAM,GACL,KAAK,CAAC,GAAG,CAAC,CAMrB;IAmDD;;;;OAIG;IACH,uCAHW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAClB,OAAO,CAAC,MAAM,CAAC,CAiB1B;IAED;;;;OAIG;IACH,yCAHW,MAAM,GACL,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAUvC;IAED;;;;OAIG;IACH,iBAJW,MAAM,aACN,iBAAiB,GAChB,OAAO,CAAC,WAAW,CAAC,CAU/B;IAED;;;OAGG;IACH,sBAHW,UAAU,aACV,iBAAiB,mBAa3B;IAED;;;OAGG;IACH,oBAHW,WAAW,GACV,MAAM,CA2BjB;IAED;;;OAGG;IACH,eAHW,MAAM,GACL,WAAW,CAsCtB;CACD;;;;;AAxtBD,kCAAkC;AAClC,oDADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CA6J5B"}
|
|
@@ -16,6 +16,8 @@ declare class viewPictSectionRecordSetViewBase extends libPictView {
|
|
|
16
16
|
PictSectionRecordSet: InstanceType<{
|
|
17
17
|
new (pFable: any, pOptions: any, pServiceHash: any): import("../services/RecordsSet-MetaController.js");
|
|
18
18
|
default_configuration: Record<string, any>;
|
|
19
|
+
isFableService: boolean;
|
|
20
|
+
CoreServiceProviderBase: typeof import("fable-serviceproviderbase");
|
|
19
21
|
PictRecordSetApplication: typeof import("../application/Pict-Application-RecordSet.js");
|
|
20
22
|
RecordSetProviderBase: typeof import("../providers/RecordSet-RecordProvider-Base.js");
|
|
21
23
|
RecordSetProviderMeadowEndpoints: typeof import("../providers/RecordSet-RecordProvider-MeadowEndpoints.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSet-RecordBaseView.d.ts","sourceRoot":"","sources":["../../source/views/RecordSet-RecordBaseView.js"],"names":[],"mappings":";AA6DA;IAEC,2DAYC;IARA;;;;;;YAMQ;IACR,MAPW,OAAO,MAAM,CAAC,GAAG;QACvB,GAAG,EAAE,GAAG,CAAC;QACT,6CAA6C,EAAE,CAAC,IAAI,QAAQ,KAAK,GAAG,CAAC;QACrE,qCAAqC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,GAAG,CAAC;QAC7D,mBAAmB,EAAE,OAAO,8DAA8D,CAAC,CAAC;QAC5F,oBAAoB,EAAE,YAAY,CAAC
|
|
1
|
+
{"version":3,"file":"RecordSet-RecordBaseView.d.ts","sourceRoot":"","sources":["../../source/views/RecordSet-RecordBaseView.js"],"names":[],"mappings":";AA6DA;IAEC,2DAYC;IARA;;;;;;YAMQ;IACR,MAPW,OAAO,MAAM,CAAC,GAAG;QACvB,GAAG,EAAE,GAAG,CAAC;QACT,6CAA6C,EAAE,CAAC,IAAI,QAAQ,KAAK,GAAG,CAAC;QACrE,qCAAqC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,GAAG,CAAC;QAC7D,mBAAmB,EAAE,OAAO,8DAA8D,CAAC,CAAC;QAC5F,oBAAoB,EAAE,YAAY,CAAC;;;;;;;;SAAsC,CAAC,CAAC;KAC5E,CACK;IAGV,qCAIC;CACD;;;;;AAhFD,kCAAkC;AAClC,gDADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAyD3B"}
|
|
@@ -25,6 +25,8 @@ declare class viewRecordSetDashboard extends libPictRecordSetRecordView {
|
|
|
25
25
|
* @return {Promise<void>}
|
|
26
26
|
*/
|
|
27
27
|
renderSpecificDashboard(pDashboardHash: string, pRecordSetConfiguration: Record<string, any>, pProviderHash: string, pFilterString: string, pSerializedFilterExperience: string, pOffset: number, pPageSize: number): Promise<void>;
|
|
28
|
+
_generateFormManifestTemplate(tmpManifest: any, section: any): string;
|
|
29
|
+
manifest: any;
|
|
28
30
|
/**
|
|
29
31
|
* @param {Record<string, any>} pRecordSetConfiguration
|
|
30
32
|
* @param {string} pProviderHash
|
|
@@ -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":";AAqHA;IAOE;;;;;;;;MAQC;IAGF,iEAuCC;IA2BD,8CAGC;IAED,sDAuCC;IAnCA,iCAUC;IA2BF;;;;;;;;;;OAUG;IACH,wCAVW,MAAM,2BACN,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,iBACnB,MAAM,iBACN,MAAM,+BACN,MAAM,WACN,MAAM,aACN,MAAM,GAEL,OAAO,CAAC,IAAI,CAAC,CAqSxB;IAED,sEAoCC;IAvBA,cAA2B;IAyB5B;;;;;;;;;OASG;IACH,yCATW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,iBACnB,MAAM,iBACN,MAAM,+BACN,MAAM,WACN,MAAM,aACN,MAAM,GAEL,OAAO,CAAC,IAAI,CAAC,CA4QxB;CAwBD;;;;;AA92BD,kCAAkC;AAClC,iDADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAwG1B"}
|