pict-section-recordset 1.1.0 → 1.2.0

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 (67) hide show
  1. package/package.json +5 -1
  2. package/source/views/RecordSet-Filters.js +20 -2
  3. package/source/views/filters/RecordSet-Filter-Base.js +86 -8
  4. package/source/views/read/RecordSet-Read.js +308 -2
  5. package/types/providers/Filter-Data-Provider.d.ts +1 -1
  6. package/types/providers/Filter-Data-Provider.d.ts.map +1 -1
  7. package/types/views/Filter-PersistenceView.d.ts +23 -2
  8. package/types/views/Filter-PersistenceView.d.ts.map +1 -1
  9. package/types/views/RecordSet-Filters.d.ts +26 -1
  10. package/types/views/RecordSet-Filters.d.ts.map +1 -1
  11. package/types/views/filters/RecordSet-Filter-Base.d.ts +14 -0
  12. package/types/views/filters/RecordSet-Filter-Base.d.ts.map +1 -1
  13. package/types/views/list/RecordSet-List.d.ts.map +1 -1
  14. package/types/views/read/RecordSet-Read.d.ts +51 -0
  15. package/types/views/read/RecordSet-Read.d.ts.map +1 -1
  16. package/.vscode/launch.json +0 -46
  17. package/CONTRIBUTING.md +0 -50
  18. package/debug/Harness.js +0 -0
  19. package/docs/.nojekyll +0 -0
  20. package/docs/README.md +0 -76
  21. package/docs/_brand.json +0 -18
  22. package/docs/_cover.md +0 -11
  23. package/docs/_sidebar.md +0 -19
  24. package/docs/_version.json +0 -7
  25. package/docs/api-reference.md +0 -233
  26. package/docs/filters.md +0 -151
  27. package/docs/index.html +0 -38
  28. package/docs/record-providers.md +0 -155
  29. package/docs/retold-catalog.json +0 -87
  30. package/docs/retold-keyword-index.json +0 -5227
  31. package/docs/views/create/README.md +0 -181
  32. package/docs/views/dashboard/README.md +0 -308
  33. package/docs/views/list/README.md +0 -260
  34. package/docs/views/read/README.md +0 -216
  35. package/eslint.config.mjs +0 -10
  36. package/example_applications/README.md +0 -39
  37. package/example_applications/ServeExamples.js +0 -82
  38. package/example_applications/bookstore/.quackage.json +0 -9
  39. package/example_applications/bookstore/Bookstore-Application-Configuration.json +0 -4
  40. package/example_applications/bookstore/Bookstore-Application.js +0 -671
  41. package/example_applications/bookstore/css/bookstore.css +0 -729
  42. package/example_applications/bookstore/css/pure.min.css +0 -11
  43. package/example_applications/bookstore/html/index.html +0 -46
  44. package/example_applications/bookstore/package.json +0 -34
  45. package/example_applications/bookstore/providers/PictRouter-Bookstore.json +0 -32
  46. package/example_applications/bookstore/views/PictView-Bookstore-Content-About.json +0 -21
  47. package/example_applications/bookstore/views/PictView-Bookstore-Content-Legal.json +0 -21
  48. package/example_applications/bookstore/views/PictView-Bookstore-Dashboard.js +0 -147
  49. package/example_applications/bookstore/views/PictView-Bookstore-Layout.js +0 -85
  50. package/example_applications/bookstore/views/PictView-Bookstore-Login.js +0 -58
  51. package/example_applications/bookstore/views/PictView-Bookstore-Navigation.js +0 -228
  52. package/example_applications/index.html +0 -50
  53. package/example_applications/mocks/book-edit-view.html +0 -173
  54. package/example_applications/mocks/book-read-view.html +0 -166
  55. package/example_applications/mocks/list-view.html +0 -185
  56. package/example_applications/package.json +0 -16
  57. package/example_applications/simple_entity/.quackage.json +0 -9
  58. package/example_applications/simple_entity/README-Simple-RecordSet.md +0 -8
  59. package/example_applications/simple_entity/Simple-RecordSet-Application.js +0 -887
  60. package/example_applications/simple_entity/html/index.html +0 -207
  61. package/example_applications/simple_entity/package.json +0 -27
  62. package/test/PictSectionRecordSet-Basic_tests.js +0 -205
  63. package/test/PictSectionRecordSet-Filter-Data-Provider_tests.js +0 -263
  64. package/test/PictSectionRecordSet-Filter-InstanceViews-Render_tests.js +0 -328
  65. package/test/PictSectionRecordSet-RecordProvider-Meadow_tests.js +0 -216
  66. package/tsconfig.build.json +0 -16
  67. package/tsconfig.json +0 -16
@@ -1,185 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>List View Mock - Pict Example</title>
7
- <!-- Red Rock Mesa Theme — Pict Example App -->
8
- <style>
9
- *, *::before, *::after { box-sizing: border-box; }
10
- body { margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background: #FAEDCD; color: #264653; }
11
-
12
- /* --- Header Bar --- */
13
- .pict-example-header { display: flex; align-items: stretch; background: #264653; border-bottom: 3px solid #E76F51; }
14
- .pict-example-badge { background: #E76F51; color: var(--theme-color-background-panel, #fff); padding: 0.6rem 1rem; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; display: flex; align-items: center; gap: 0.5rem; }
15
- .pict-example-badge svg { width: 14px; height: 14px; fill: var(--theme-color-background-panel, #fff); flex-shrink: 0; }
16
- .pict-example-app-name { padding: 0.6rem 1rem; color: #FAEDCD; font-size: 1.1rem; font-weight: 600; display: flex; align-items: center; }
17
- .pict-example-module { margin-left: auto; padding: 0.6rem 1rem; color: #D4A373; font-size: 0.75rem; display: flex; align-items: center; letter-spacing: 0.03em; }
18
-
19
- /* --- Content Area --- */
20
- .pict-example-content { padding: 1.5rem; }
21
-
22
- /* --- Page Header --- */
23
- #RSP-Header-Container { margin-bottom: 1rem; }
24
- #RSP-Header-Container h1 { color: #264653; font-size: 1.5rem; margin: 0 0 0.25rem; }
25
- #RSP-Header-Container h2 { color: #D4A373; font-size: 1rem; font-weight: 400; margin: 0; }
26
-
27
- /* --- Filter Section --- */
28
- #RSP-Filter-Container { background: var(--theme-color-background-panel, #fff); border: 1px solid #D4A373; border-top: 4px solid #E76F51; border-radius: 6px; padding: 1.25rem; margin-bottom: 1rem; box-shadow: 0 2px 8px rgba(38,70,83,0.08); }
29
- #RSP-Filter-Form { display: flex; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
30
- #RSP-Filter-Form fieldset { border: none; padding: 0; margin: 0; flex: 1; min-width: 200px; }
31
- #RSP-Filter-Form label { display: block; color: #264653; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.3rem; }
32
- #RSP-Filter-Form input[type="text"] { border: 1px solid #D4C4A8; background: #FFFCF7; padding: 0.45rem 0.6rem; border-radius: 4px; font-size: 0.9rem; color: #264653; width: 100%; }
33
- #RSP-Filter-Form input[type="text"]:focus { outline: none; border-color: #E76F51; box-shadow: 0 0 0 2px rgba(231,111,81,0.15); }
34
- #RSP-Filter-Button-Container { display: flex; gap: 0.5rem; flex: none; }
35
- #RSP-Filter-Button-Reset { background: #264653; color: #FAEDCD; border: none; padding: 0.5rem 1.25rem; border-radius: 4px; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
36
- #RSP-Filter-Button-Reset:hover { background: #1A3340; }
37
- #RSP-Filter-Button-Apply { background: #E76F51; color: var(--theme-color-background-panel, #fff); border: none; padding: 0.5rem 1.25rem; border-radius: 4px; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
38
- #RSP-Filter-Button-Apply:hover { background: #C45A3E; }
39
-
40
- /* --- Pagination --- */
41
- #RSP-Upper-Pagination-Container, #RSP-Lower-Pagination-Container { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0; margin-bottom: 0.5rem; }
42
- #RSP-Upper-Pagination-Container p, #RSP-Lower-Pagination-Container p { margin: 0; font-size: 0.85rem; color: #264653; }
43
- #RSP-Upper-Pagination-Container ul, #RSP-Lower-Pagination-Container ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
44
- #RSP-Upper-Pagination-Container li a, #RSP-Lower-Pagination-Container li a { display: block; padding: 0.35rem 0.75rem; border: 1px solid #D4A373; border-radius: 4px; text-decoration: none; color: #264653; font-size: 0.8rem; font-weight: 500; }
45
- #RSP-Upper-Pagination-Container li a:hover, #RSP-Lower-Pagination-Container li a:hover { background: #E76F51; color: var(--theme-color-background-panel, #fff); border-color: #E76F51; }
46
-
47
- /* --- List Table --- */
48
- #RSP-List-Container { background: var(--theme-color-background-panel, #fff); border: 1px solid #D4A373; border-top: 4px solid #E76F51; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 8px rgba(38,70,83,0.08); }
49
- #RSP-List-Table { width: 100%; border-collapse: collapse; }
50
- #RSP-List-Table th { background: #264653; color: #FAEDCD; padding: 0.6rem 0.75rem; text-align: left; font-size: 0.8rem; font-weight: 600; }
51
- #RSP-List-Table td { padding: 0.6rem 0.75rem; border-bottom: 1px solid #E8D9C0; font-size: 0.85rem; }
52
- #RSP-List-Table tr:nth-child(even) td { background: #FFF9F0; }
53
- #RSP-List-Table tr:hover td { background: #FFF0E0; }
54
-
55
- /* --- Footer --- */
56
- #RSP-Footer-Container { padding: 1rem 0 0; }
57
- </style>
58
- </head>
59
- <body>
60
- <div class="pict-example-header">
61
- <div class="pict-example-badge">
62
- <svg viewBox="0 0 16 16"><polygon points="8,1 10,6 16,6 11,9.5 13,15 8,11.5 3,15 5,9.5 0,6 6,6"/></svg>
63
- Pict Example
64
- </div>
65
- <div class="pict-example-app-name">List View Mock</div>
66
- <div class="pict-example-module">pict-section-recordset</div>
67
- </div>
68
- <div class="pict-example-content">
69
- <!-- START Header template -->
70
- <header id="RSP-Header-Container">
71
- <!-- START Header-Title template -->
72
- <h1>Title of Entity</h1>
73
- <!-- END Header-Title template -->
74
- <!-- START Header-Subtitle template -->
75
- <h2>Subtitle of Entity</h2>
76
- <!-- END Header-Subtitle template -->
77
- </header>
78
- <!-- END Header template -->
79
-
80
- <!-- START Filter template-->
81
- <section id="RSP-Filter-Container">
82
- <form id="RSP-Filter-Form">
83
- <!-- START Filter-Input-Container template -->
84
- <fieldset>
85
- <!-- START Filter-Input-Label template -->
86
- <label for="filter">Filter:</label>
87
- <!-- END Filter-Input-Label template -->
88
- <!-- START Filter-Input template -->
89
- <input type="text" id="filter" name="filter">
90
- <!-- END Filter-Input template -->
91
- </fieldset>
92
- <!-- END Filter-Input-Container template -->
93
- <!-- START Filter-Button-Container template -->
94
- <fieldset id="RSP-Filter-Button-Container">
95
- <!-- START Filter-Button-Reset template -->
96
- <button type="button" id="RSP-Filter-Button-Reset">Reset</button>
97
- <!-- END Filter-Button-Reset template -->
98
- <!-- START Filter-Button-Apply template -->
99
- <button type="submit" id="RSP-Filter-Button-Apply">Apply</button>
100
- <!-- END Filter-Button-Apply template -->
101
- </fieldset>
102
- <!-- END Filter-Button-Container template -->
103
- </form>
104
- </section>
105
- <!-- END Filter template-->
106
-
107
- <!-- START Upper Pagination template -->
108
- <nav id="RSP-Upper-Pagination-Container">
109
- <!-- START Upper Pagination-Description template -->
110
- <p>Showing 1-25 of 100</p>
111
- <!-- END Upper Pagination-Description template -->
112
- <!-- START Upper Pagination-Button-Container template -->
113
- <ul>
114
- <!-- START Upper Pagination Button Previous template -->
115
- <li><a href="#">&laquo; Previous</a></li>
116
- <!-- END Upper Pagination Button Previous template -->
117
- <!-- START Upper Pagination Button Page template -->
118
- <li><a href="#">1</a></li>
119
- <!-- END Upper Pagination Button Page template -->
120
- <!-- NOTE: more as needed (for examples)-->
121
- <li><a href="#">2</a></li>
122
- <li><a href="#">3</a></li>
123
- <li><a href="#">4</a></li>
124
- <!-- START Upper Pagination Button Next template -->
125
- <li><a href="#">Next &raquo;</a></li>
126
- <!-- END Upper Pagination Button Next template -->
127
- <!-- START Upper Pagination Button Page template -->
128
- </ul>
129
- <!-- END Upper Pagination Button Page template -->
130
- </nav>
131
- <!-- END Upper Pagination template -->
132
-
133
- <!-- START List template -->
134
- <section id="RSP-List-Container">
135
- <!-- START List-Table template -->
136
- <table id="RSP-List-Table">
137
- <!-- START List-Table-Header template -->
138
- <thead>
139
- <tr>
140
- <!-- START List-Table-Header-Cell -->
141
- <th>Column 1</th>
142
- <!-- END List-Table-Header-Cell -->
143
- <!-- NOTE: more cells as needed -->
144
- <th>Column 2</th>
145
- <th>Column 3</th>
146
- </tr>
147
- </thead>
148
- <!-- END List-Table-Header template -->
149
- <!-- START List-Table-Body template -->
150
- <tbody>
151
- <!-- START List-Table-Body-Row -->
152
- <tr>
153
- <!-- START List-Table-Body-Cell -->
154
- <td>Row 1, Cell 1</td>
155
- <!-- END List-Table-Body-Cell -->
156
- <!-- NOTE: more cells as needed -->
157
- <td>Row 1, Cell 2</td>
158
- <td>Row 1, Cell 3</td>
159
- <!-- START List-Table-Body-Extra-Cell -->
160
- <td><!-- NOTE: slot for extra columns--></td>
161
- <!-- END List-Table-Body-Extra-Cell -->
162
- </tr>
163
- <!-- END List-Table-Body-Row -->
164
- <!-- Note: more rows as needed -->
165
- </tbody>
166
- <!-- END List-Table-Body template -->
167
- </table>
168
- <!-- END List-Table template -->
169
- </section>
170
- <!-- END List template -->
171
-
172
- <!-- START Lower Pagination template -->
173
- <nav id="RSP-Lower-Pagination-Container">
174
- <!-- NOTE: Re-apply "RSP-Upper-Pagination-Container" content here to avoid duplication. -->
175
- </nav>
176
- <!-- END Lower Pagination template -->
177
-
178
- <!-- Footer template -->
179
- <footer id="RSP-Footer-Container">
180
- <!-- NOTE: slot for additional set actions -->
181
- </footer>
182
- <!-- END Footer template -->
183
- </div>
184
- </body>
185
- </html>
@@ -1,16 +0,0 @@
1
- {
2
- "name": "example_applications",
3
- "version": "1.0.0",
4
- "description": "Simple static server and API pass-through to Bookstore API.",
5
- "main": "ServeExamples.js",
6
- "scripts": {
7
- "start": "node ServeExamples.js"
8
- },
9
- "author": "",
10
- "license": "ISC",
11
- "dependencies": {
12
- "orator": "^5.0.1",
13
- "orator-http-proxy": "^1.0.1",
14
- "orator-serviceserver-restify": "^2.0.3"
15
- }
16
- }
@@ -1,9 +0,0 @@
1
- {
2
- "GulpExecutions": [
3
- {
4
- "Hash": "default",
5
- "Name": "Default standard build.",
6
- "BuildFileLabel": "",
7
- "BrowsersListRC": "since 2022"
8
- }]
9
- }
@@ -1,8 +0,0 @@
1
- # Minimum Viable Record Set Forms Edit Application
2
-
3
- To run this, install dependencies in the root of this repository with a `npm install`
4
- and then navigate to this folder and run `npm run build` to build the dist files
5
- (which are not checked in). Then, you should be able to open dist/index.html from
6
- your favorite browser.
7
-
8
- This form exercises a configuration-only form that has CRUD for the Book entity.