@conduction/nextcloud-vue 1.0.0-beta.34 → 1.0.0-beta.35

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conduction/nextcloud-vue",
3
- "version": "1.0.0-beta.34",
3
+ "version": "1.0.0-beta.35",
4
4
  "description": "Shared Vue component library for Conduction Nextcloud apps — complements @nextcloud/vue with higher-level components, OpenRegister integration, and NL Design System support",
5
5
  "license": "EUPL-1.2",
6
6
  "author": "Conduction B.V. <info@conduction.nl>",
@@ -103,3 +103,9 @@ Empty state — custom message via the `empty` slot when `items` is empty:
103
103
  | `label-{index}` | `{ item, index }` | Override the label cell for a specific item |
104
104
  | `item-actions-{index}` | `{ item, index }` | Add action buttons after the value for a specific item |
105
105
  | default | — | Append extra items after the data-driven ones |
106
+
107
+ ## Integration props (AD-18)
108
+
109
+ | Prop | Default | Description |
110
+ |---|---|---|
111
+ | `referenceContext` (`reference-context`) | `null` | Object context `{ register, schema, objectId }` forwarded to the integration single-entity widget rendered for items that declare a `referenceType`. Optional. |
@@ -214,3 +214,10 @@ export default {
214
214
  | `sections` | Additional content below the main content area |
215
215
  | `footer` | Footer content rendered below the body |
216
216
  | `widget-{widgetId}` | Widget slot in grid layout mode. Scope: `{ item, widget }` |
217
+
218
+ ## Integration props (AD-19)
219
+
220
+ | Prop | Default | Description |
221
+ |---|---|---|
222
+ | `surface` | `'detail-page'` | Rendering surface forwarded to integration widgets (`type === 'integration'`) in the grid layout. Drives the AD-19 surface fallback. |
223
+ | `integrationContext` (`integration-context`) | `null` | Object context `{ register, schema, objectId }` forwarded to integration widgets. Derived from `sidebarProps` + `objectId` when omitted. |
@@ -123,3 +123,9 @@ All user-visible strings have props so they can be pre-translated by the consume
123
123
  | `cancelLabel` | `'Cancel'` | Label for the dismiss button before the action is confirmed. |
124
124
  | `closeLabel` | `'Close'` | Label for the dismiss button after the result is shown. |
125
125
  | `confirmLabel` | `''` | Confirm button label. Defaults to `'Create'` or `'Save'` depending on mode. |
126
+
127
+ ## Integration single-entity widgets (AD-18)
128
+
129
+ | Prop | Default | Description |
130
+ |---|---|---|
131
+ | `referenceContext` (`reference-context`) | `null` | Object context `{ register, schema, objectId }` forwarded to the integration single-entity widget rendered for fields that declare a `referenceType`. Optional. |
@@ -93,3 +93,5 @@ export default {
93
93
  | `subscribe` | Boolean | `true` | When `true` and `objectStore` is provided, auto-subscribes to live updates for `objectType` + `objectId` via `useObjectSubscription`. |
94
94
  | `objectStore` | Object | `null` | Pinia store instance (typically `useObjectStore()`). Required for `subscribe` to take effect. |
95
95
  | `customComponents` | Object | `null` | Custom-component registry for tab `component` names and unknown widget `type` values. Falls back to the injected `cnCustomComponents` from a `CnAppRoot` ancestor. |
96
+ | `useRegistry` (`use-registry`) | Boolean | `false` | Opt into the pluggable integration registry — replaces the built-in tabs with one tab per registered provider. `#tab-<id>` overrides and `hiddenTabs` / `excludeIntegrations` still apply. Mutually exclusive with `tabs` (which wins when both are set). |
97
+ | `excludeIntegrations` (`exclude-integrations`) | String[] | `[]` | Integration ids to exclude when rendering registry-driven tabs. Mirrors `hiddenTabs` for the legacy mode. |