cabloy 5.1.170 → 5.1.172

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/.cabloy-version CHANGED
@@ -1 +1 @@
1
- 5.1.170
1
+ 5.1.172
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.1.172
4
+
5
+ ### Features
6
+
7
+ - Add action refresh capabilities.
8
+ - Add update functionality.
9
+
10
+ ### Improvements
11
+
12
+ - Update the table guide documentation.
13
+ - Improve REST build handling in the CLI.
14
+
15
+ ## 5.1.171
16
+
17
+ ### Features
18
+
19
+ - Update functionality.
20
+ - Update functionality.
21
+
3
22
  ## 5.1.170
4
23
 
5
24
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cabloy",
3
- "version": "5.1.170",
3
+ "version": "5.1.172",
4
4
  "gitHead": "2c5c19284bab738e492856189acb6fad74b8a7b7",
5
5
  "description": "A Node.js fullstack framework",
6
6
  "keywords": [
@@ -245,6 +245,32 @@ In the shared table CEL scope, `getValue(name)` reads the current row value and
245
245
 
246
246
  For the schema side of that contract, also see [API Schema Guide](/frontend/api-schema-guide).
247
247
 
248
+ ## Persisted per-user column layouts
249
+
250
+ `ZovaRender.column(...)` defines the schema defaults for column visibility, order, width, and fixed regions. On a standard resource list page, an authenticated user can personalize those defaults through the **Column Configuration** toolbar action. The saved layout is scoped to that user and the current page route path, then restored on later visits.
251
+
252
+ | Edition | Toolbar block | Column-configuration action |
253
+ | ------------ | ----------------------------- | -------------------------------- |
254
+ | Cabloy Basic | `basic-page:blockToolbarBulk` | `basic-table:actionColumnConfig` |
255
+ | Cabloy Start | `start-page:blockToolbarBulk` | `start-table:actionColumnConfig` |
256
+
257
+ For example, in Cabloy Basic:
258
+
259
+ ```ts
260
+ ZovaRender.tableActionBulk('basic-table:actionColumnConfig', {
261
+ permission: { public: true },
262
+ placement: 'end',
263
+ });
264
+ ```
265
+
266
+ In Cabloy Start, use `start-table:actionColumnConfig` in the corresponding `start-page:blockToolbarBulk`. `permission: { public: true }` controls action discoverability in the toolbar; loading and saving a personal layout still require an authenticated user.
267
+
268
+ The dialog lets the user show or hide eligible columns, choose a numeric or automatic width, and reorder columns within their schema-defined left, center, or right fixed region. **Save** persists the layout. **Reset** removes the saved profile and restores the current schema defaults.
269
+
270
+ Schema metadata remains authoritative. When the schema changes, stale or malformed saved entries are discarded, newly eligible schema columns are appended with their defaults, fixed regions are preserved, and the synthetic row-selection column is never persisted.
271
+
272
+ Automatic loading, saving, and resetting belong to the standard resource-page `blockPage` flow. A direct `ZTable` consumer can pass a `layout`, but it owns any persistence workflow itself. Current CRUD generators add the edition-appropriate column-configuration action.
273
+
248
274
  ## Step 5: Use built-in or custom `tableCell` render resources
249
275
 
250
276
  A column render is usually chosen through schema metadata such as:
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vona-cli",
3
- "version": "1.1.148",
3
+ "version": "1.1.149",
4
4
  "gitHead": "a79189b882c17af5911573896a781bbb0046d37d",
5
5
  "description": "vona cli",
6
6
  "keywords": [
@@ -44,6 +44,10 @@ export interface IDtoOptions<%=argv.resourceNameCapitalize%>SelectResItem extend
44
44
  requiresSelection: true,
45
45
  selectedMaxIds: 100,
46
46
  }),
47
+ ZovaRender.tableActionBulk('basic-table:actionRefresh', {
48
+ permission: { public: true },
49
+ placement: 'end',
50
+ }),
47
51
  ZovaRender.tableActionBulk('basic-table:actionColumnConfig', {
48
52
  permission: { public: true },
49
53
  placement: 'end',
@@ -44,6 +44,10 @@ export interface IDtoOptions<%=argv.resourceNameCapitalize%>SelectResItem extend
44
44
  requiresSelection: true,
45
45
  selectedMaxIds: 100,
46
46
  }),
47
+ ZovaRender.tableActionBulk('start-table:actionRefresh', {
48
+ permission: { public: true },
49
+ placement: 'end',
50
+ }),
47
51
  ZovaRender.tableActionBulk('start-table:actionColumnConfig', {
48
52
  permission: { public: true },
49
53
  placement: 'end',
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vona-cli-set-api",
3
- "version": "1.1.146",
3
+ "version": "1.1.147",
4
4
  "gitHead": "a79189b882c17af5911573896a781bbb0046d37d",
5
5
  "description": "vona cli-set-api",
6
6
  "keywords": [