@conduction/nextcloud-vue 2.159.0 → 2.159.1
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/dist/esm/components/CnAppRoot/CnAppRoot.vue2.js +8 -0
- package/dist/esm/components/CnAppRoot/CnAppRoot.vue2.js.map +1 -1
- package/dist/esm/components/CnAppRoot/CnAppRoot.vue3.js.map +1 -1
- package/dist/esm/library-style.js +1 -1
- package/dist/esm/nextcloud-vue.css +14 -0
- package/dist/esm/utils/resolveManifestTokens.js +1 -0
- package/dist/esm/utils/resolveManifestTokens.js.map +1 -1
- package/dist/esm/utils/sentinelTokens.js +9 -0
- package/dist/esm/utils/sentinelTokens.js.map +1 -1
- package/dist/esm/utils/validateManifestV2.compiled.js +3 -3
- package/dist/esm/utils/validateManifestV2.compiled.js.map +1 -1
- package/dist/nextcloud-vue.cjs.js +20 -3
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +14 -0
- package/package.json +1 -1
- package/src/components/CnAppRoot/CnAppRoot.vue +8 -0
- package/src/css/look-board-detail.css +14 -0
- package/src/schemas/app-manifest-v2.schema.json +7 -1
- package/src/utils/resolveManifestTokens.js +1 -0
- package/src/utils/sentinelTokens.js +9 -0
- package/src/utils/validateManifestV2.compiled.js +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/dist/nextcloud-vue.cjs.js.map
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 51272632 bytes
|
|
4
|
+
sha256: ce815b088e4bd8094562888f469f3819310058e6e97650fc3c5010f453949eba
|
package/dist/nextcloud-vue.css
CHANGED
|
@@ -13901,6 +13901,20 @@ li[data-cn-admin-tag] > .action-link::after {
|
|
|
13901
13901
|
border-top: 1px solid var(--cn-board-hairline);
|
|
13902
13902
|
}
|
|
13903
13903
|
|
|
13904
|
+
/* The side cards' texts read at the font's normal leading, as the boards draw
|
|
13905
|
+
them; at Nextcloud's 1.5 each card stood taller and pushed the cards under it.
|
|
13906
|
+
@spec openspec/changes/side-card-text-normal-leading/specs/side-card-text-normal-leading/spec.md#requirement-a-side-cards-texts-read-at-normal-leading */
|
|
13907
|
+
.cn-look-board .cn-detail-page__side .cn-countdown-widget__sub,
|
|
13908
|
+
.cn-look-board .cn-detail-page__side .cn-facts-widget__link,
|
|
13909
|
+
.cn-look-board .cn-detail-page__side .cn-facts-widget__link-note,
|
|
13910
|
+
.cn-look-board .cn-detail-page__side .cn-linked-widget__empty,
|
|
13911
|
+
.cn-look-board .cn-detail-page__side .cn-status-explainer__muted,
|
|
13912
|
+
.cn-look-board .cn-detail-page__side .cn-status-explainer__dwell,
|
|
13913
|
+
.cn-look-board .cn-detail-page__side .cn-attention-flag__heading,
|
|
13914
|
+
.cn-look-board .cn-detail-page__side .cn-attention-flag__hint {
|
|
13915
|
+
line-height: normal;
|
|
13916
|
+
}
|
|
13917
|
+
|
|
13904
13918
|
/* ---- Body cards and side cards ----------------------------------------- */
|
|
13905
13919
|
|
|
13906
13920
|
/* A CnDetailCard takes the board card wherever it sits, not only on a detail
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@conduction/nextcloud-vue",
|
|
3
|
-
"version": "2.159.
|
|
3
|
+
"version": "2.159.1",
|
|
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
|
"homepage": "https://github.com/ConductionNL/nextcloud-vue#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -777,6 +777,7 @@ import { dropOptionalUnresolved, MY_TEAM_TOKEN, resolveFilterTokens } from '../.
|
|
|
777
777
|
import { pageOffersSavedViews } from '../../utils/savedViewHelpers.js'
|
|
778
778
|
import { normalizeSavedViewMenu, SAVED_VIEW_MENU_KEY, SAVED_VIEW_MENU_PREFIX, syncSavedViewMenu, toggleSavedViewMenuEntry, withSavedViewMenu } from '../../utils/savedViewMenu.js'
|
|
779
779
|
import { passesContextPredicates } from '../../utils/visibleIfContext.js'
|
|
780
|
+
import { defaultPageSidebars } from '../CnPageRenderer/pageTypes.js'
|
|
780
781
|
|
|
781
782
|
/**
|
|
782
783
|
* Recognised registry kinds and their required metadata fields.
|
|
@@ -3725,6 +3726,13 @@ export default {
|
|
|
3725
3726
|
return null
|
|
3726
3727
|
}
|
|
3727
3728
|
|
|
3729
|
+
// In the board look a flow page is CnFlowBoard, which carries the
|
|
3730
|
+
// flow's controls behind its own side panel button.
|
|
3731
|
+
const pageLook = page.config?.look === 'board' || page.config?.look === 'nextcloud' ? page.config.look : this.resolvedLook
|
|
3732
|
+
if (pageLook === 'board' && defaultPageSidebars[page.type]) {
|
|
3733
|
+
return null
|
|
3734
|
+
}
|
|
3735
|
+
|
|
3728
3736
|
return this.resolveAdminSettingsComponent(page.sidebarComponent)
|
|
3729
3737
|
},
|
|
3730
3738
|
|
|
@@ -753,6 +753,20 @@
|
|
|
753
753
|
border-top: 1px solid var(--cn-board-hairline);
|
|
754
754
|
}
|
|
755
755
|
|
|
756
|
+
/* The side cards' texts read at the font's normal leading, as the boards draw
|
|
757
|
+
them; at Nextcloud's 1.5 each card stood taller and pushed the cards under it.
|
|
758
|
+
@spec openspec/changes/side-card-text-normal-leading/specs/side-card-text-normal-leading/spec.md#requirement-a-side-cards-texts-read-at-normal-leading */
|
|
759
|
+
.cn-look-board .cn-detail-page__side .cn-countdown-widget__sub,
|
|
760
|
+
.cn-look-board .cn-detail-page__side .cn-facts-widget__link,
|
|
761
|
+
.cn-look-board .cn-detail-page__side .cn-facts-widget__link-note,
|
|
762
|
+
.cn-look-board .cn-detail-page__side .cn-linked-widget__empty,
|
|
763
|
+
.cn-look-board .cn-detail-page__side .cn-status-explainer__muted,
|
|
764
|
+
.cn-look-board .cn-detail-page__side .cn-status-explainer__dwell,
|
|
765
|
+
.cn-look-board .cn-detail-page__side .cn-attention-flag__heading,
|
|
766
|
+
.cn-look-board .cn-detail-page__side .cn-attention-flag__hint {
|
|
767
|
+
line-height: normal;
|
|
768
|
+
}
|
|
769
|
+
|
|
756
770
|
/* ---- Body cards and side cards ----------------------------------------- */
|
|
757
771
|
|
|
758
772
|
/* A CnDetailCard takes the board card wherever it sits, not only on a detail
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"$id": "https://raw.githubusercontent.com/ConductionNL/nextcloud-vue/main/src/schemas/app-manifest-v2.schema.json",
|
|
4
4
|
"title": "Conduction App Manifest v2",
|
|
5
5
|
"description": "v2 schema for the JSON-driven page and navigation manifest consumed by @conduction/nextcloud-vue. Introduces a uniform widgets[] array on every page type with a per-slot grid coordinate system, a typed actions[] discriminator, and the required $schema field for version detection. v1 manifests continue to validate against app-manifest.schema.json (unchanged).",
|
|
6
|
-
"version": "2.
|
|
6
|
+
"version": "2.161.0",
|
|
7
7
|
"type": "object",
|
|
8
8
|
"required": ["$schema", "version"],
|
|
9
9
|
"allOf": [
|
|
@@ -966,6 +966,11 @@
|
|
|
966
966
|
"pattern": "^@source\\.[A-Za-z][A-Za-z0-9_.@]*$",
|
|
967
967
|
"description": "Facts source: a field of the object a facts widget shows (@source.<field>, dot path allowed), read by a fact row's `route` params. Mirrors SENTINEL_TOKEN_PATTERNS.source."
|
|
968
968
|
},
|
|
969
|
+
"sentinelInputToken": {
|
|
970
|
+
"type": "string",
|
|
971
|
+
"pattern": "^@input\\.[A-Za-z][A-Za-z0-9_]*$",
|
|
972
|
+
"description": "Facts input: what the user typed into a facts widget's `input` field (@input.<key>), read by its actions' url and payload ('' when nothing was typed). Mirrors SENTINEL_TOKEN_PATTERNS.input."
|
|
973
|
+
},
|
|
969
974
|
"sentinelSubjectToken": {
|
|
970
975
|
"type": "string",
|
|
971
976
|
"pattern": "^@subject\\.[A-Za-z][A-Za-z0-9_.]*$",
|
|
@@ -987,6 +992,7 @@
|
|
|
987
992
|
{ "$ref": "#/$defs/sentinelSubjectToken" },
|
|
988
993
|
{ "$ref": "#/$defs/sentinelContextToken" },
|
|
989
994
|
{ "$ref": "#/$defs/sentinelSourceToken" },
|
|
995
|
+
{ "$ref": "#/$defs/sentinelInputToken" },
|
|
990
996
|
{ "$ref": "#/$defs/sentinelDeprecatedToken" }
|
|
991
997
|
]
|
|
992
998
|
},
|
|
@@ -58,6 +58,7 @@ export const SENTINEL_RESOLVERS = Object.freeze({
|
|
|
58
58
|
subject: 'CnBannerWidget (action route)',
|
|
59
59
|
context: 'detailWidgetVisible (utils/detailWidgetVisibility.js)',
|
|
60
60
|
source: 'CnFactsWidget (a fact row\'s route params)',
|
|
61
|
+
input: 'CnFactsWidget (action url and payload)',
|
|
61
62
|
})
|
|
62
63
|
|
|
63
64
|
/**
|
|
@@ -97,6 +97,9 @@ export const SENTINEL_TOKEN_PATTERNS = Object.freeze({
|
|
|
97
97
|
// A field of the object a facts widget shows (`@source.<field>`, dot path), read by a
|
|
98
98
|
// fact row's `route` params.
|
|
99
99
|
source: '^@source\\.[A-Za-z][A-Za-z0-9_.@]*$',
|
|
100
|
+
// What was typed into a facts widget's `input` field (`@input.<key>`), read by
|
|
101
|
+
// its actions' url and payload.
|
|
102
|
+
input: '^@input\\.[A-Za-z][A-Za-z0-9_]*$',
|
|
100
103
|
// Deprecated-but-not-yet-removed tokens. Kept in the schema union so
|
|
101
104
|
// deployed manifests still validate during the migration window; the gate
|
|
102
105
|
// downgrades them to a WARN (see SENTINEL_DEPRECATIONS).
|
|
@@ -122,6 +125,7 @@ export const SENTINEL_CONTEXTS = Object.freeze([
|
|
|
122
125
|
'subject',
|
|
123
126
|
'context',
|
|
124
127
|
'source',
|
|
128
|
+
'input',
|
|
125
129
|
])
|
|
126
130
|
|
|
127
131
|
/**
|
|
@@ -197,6 +201,11 @@ export const SENTINEL_VOCABULARY = Object.freeze({
|
|
|
197
201
|
description: 'A field of the object a facts widget shows, read when a fact row builds its link. Dot paths are allowed (`@source.caseType.parentCaseType`).',
|
|
198
202
|
members: ['@source.<field>'],
|
|
199
203
|
},
|
|
204
|
+
input: {
|
|
205
|
+
resolver: 'CnFactsWidget (action url and payload)',
|
|
206
|
+
description: 'What the user typed into a facts widget\'s `input` field, read when one of its actions runs; \'\' when nothing was typed.',
|
|
207
|
+
members: ['@input.<key>'],
|
|
208
|
+
},
|
|
200
209
|
})
|
|
201
210
|
|
|
202
211
|
/**
|