@conduction/nextcloud-vue 2.74.0 → 2.75.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.
- package/dist/esm/components/CnAppNav/CnAppNav.vue2.js +19 -14
- package/dist/esm/components/CnAppNav/CnAppNav.vue2.js.map +1 -1
- package/dist/esm/components/CnAppNav/CnAppNav.vue3.js +2 -2
- package/dist/esm/components/CnAppNav/CnAppNav.vue3.js.map +1 -1
- package/dist/esm/components/CnAppRoot/CnAppRoot.vue2.js +77 -26
- package/dist/esm/components/CnAppRoot/CnAppRoot.vue2.js.map +1 -1
- package/dist/esm/components/CnAppRoot/CnAppRoot.vue3.js +22 -14
- package/dist/esm/components/CnAppRoot/CnAppRoot.vue3.js.map +1 -1
- package/dist/esm/components/CnBannerWidget/CnBannerWidget.vue2.js +23 -4
- package/dist/esm/components/CnBannerWidget/CnBannerWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnBannerWidget/CnBannerWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnBrandBar/CnBrandBar.vue.js +9 -0
- package/dist/esm/components/CnBrandBar/CnBrandBar.vue.js.map +1 -0
- package/dist/esm/components/CnBrandBar/CnBrandBar.vue2.js +107 -0
- package/dist/esm/components/CnBrandBar/CnBrandBar.vue2.js.map +1 -0
- package/dist/esm/components/CnBrandBar/CnBrandBar.vue3.js +79 -0
- package/dist/esm/components/CnBrandBar/CnBrandBar.vue3.js.map +1 -0
- package/dist/esm/components/CnEnvironmentBanner/CnEnvironmentBanner.vue2.js +4 -1
- package/dist/esm/components/CnEnvironmentBanner/CnEnvironmentBanner.vue2.js.map +1 -1
- package/dist/esm/components/CnEnvironmentBanner/CnEnvironmentBanner.vue3.js.map +1 -1
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue2.js +7 -0
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue2.js.map +1 -1
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue3.js +14 -7
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue3.js.map +1 -1
- package/dist/esm/components/CnFormPage/CnFormPage.vue2.js +32 -0
- package/dist/esm/components/CnFormPage/CnFormPage.vue2.js.map +1 -1
- package/dist/esm/components/CnFormPage/CnFormPage.vue3.js +6 -3
- package/dist/esm/components/CnFormPage/CnFormPage.vue3.js.map +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js.map +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue3.js +2 -2
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue3.js.map +1 -1
- package/dist/esm/components/CnQuickFilterBar/CnQuickFilterBar.vue2.js +18 -2
- package/dist/esm/components/CnQuickFilterBar/CnQuickFilterBar.vue2.js.map +1 -1
- package/dist/esm/components/CnQuickFilterBar/CnQuickFilterBar.vue3.js +2 -2
- package/dist/esm/components/CnQuickFilterBar/CnQuickFilterBar.vue3.js.map +1 -1
- package/dist/esm/components/CnStatsBlock/CnStatsBlock.vue2.js +16 -0
- package/dist/esm/components/CnStatsBlock/CnStatsBlock.vue2.js.map +1 -1
- package/dist/esm/components/CnStatsBlock/CnStatsBlock.vue3.js +2 -2
- package/dist/esm/components/CnStatsBlock/CnStatsBlock.vue3.js.map +1 -1
- package/dist/esm/directives/cnSelectAria.js +55 -0
- package/dist/esm/directives/cnSelectAria.js.map +1 -0
- package/dist/esm/nextcloud-vue.css +66 -1
- package/dist/esm/utils/cnFetch.js +17 -2
- package/dist/esm/utils/cnFetch.js.map +1 -1
- package/dist/esm/utils/resolveBrand.js +38 -0
- package/dist/esm/utils/resolveBrand.js.map +1 -0
- package/dist/esm/utils/validateManifestV2.compiled.js +2 -2
- package/dist/esm/utils/validateManifestV2.compiled.js.map +1 -1
- package/dist/nextcloud-vue.cjs.js +8775 -8327
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +66 -1
- package/package.json +1 -1
- package/src/components/CnAppNav/CnAppNav.vue +21 -16
- package/src/components/CnAppRoot/CnAppRoot.vue +53 -0
- package/src/components/CnBannerWidget/CnBannerWidget.vue +23 -4
- package/src/components/CnBrandBar/CnBrandBar.vue +230 -0
- package/src/components/CnEnvironmentBanner/CnEnvironmentBanner.vue +4 -1
- package/src/components/CnFormDialog/CnFormDialog.vue +10 -0
- package/src/components/CnFormPage/CnFormPage.vue +33 -0
- package/src/components/CnIndexPage/CnIndexPage.vue +2 -2
- package/src/components/CnQuickFilterBar/CnQuickFilterBar.vue +20 -4
- package/src/components/CnStatsBlock/CnStatsBlock.vue +18 -2
- package/src/css/form-field.css +1 -1
- package/src/directives/cnSelectAria.js +54 -0
- package/src/schemas/app-manifest-v2.schema.json +6 -1
- package/src/utils/cnFetch.js +16 -1
- package/src/utils/resolveBrand.js +37 -0
- package/src/utils/validateManifestV2.compiled.js +2 -2
|
@@ -29,7 +29,7 @@ const _hoisted_11 = {
|
|
|
29
29
|
class: "cn-app-root__soft-dep-error"
|
|
30
30
|
};
|
|
31
31
|
const _hoisted_12 = {
|
|
32
|
-
key:
|
|
32
|
+
key: 6,
|
|
33
33
|
class: "cn-app-root__setup-optional"
|
|
34
34
|
};
|
|
35
35
|
const _hoisted_13 = { class: "cn-app-root__walkthrough-hint" };
|
|
@@ -46,6 +46,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
46
46
|
const _component_CnAppLoading = resolveComponent("CnAppLoading");
|
|
47
47
|
const _component_CnDependencyMissing = resolveComponent("CnDependencyMissing");
|
|
48
48
|
const _component_CnSetupWizard = resolveComponent("CnSetupWizard");
|
|
49
|
+
const _component_CnBrandBar = resolveComponent("CnBrandBar");
|
|
49
50
|
const _component_CnAppNav = resolveComponent("CnAppNav");
|
|
50
51
|
const _component_NcNoteCard = resolveComponent("NcNoteCard");
|
|
51
52
|
const _component_router_view = resolveComponent("router-view");
|
|
@@ -160,6 +161,13 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
160
161
|
])
|
|
161
162
|
], undefined, 5)
|
|
162
163
|
: (openBlock(), createElementBlock(Fragment, { key: 6 }, [
|
|
164
|
+
($options.brandInHeader)
|
|
165
|
+
? (openBlock(), createBlock(_component_CnBrandBar, {
|
|
166
|
+
key: 0,
|
|
167
|
+
brand: $options.resolvedBrandBlock,
|
|
168
|
+
onUnavailable: _cache[1] || (_cache[1] = $event => ($data.headerMissing = true))
|
|
169
|
+
}, null, 8 /* PROPS */, ["brand"]))
|
|
170
|
+
: createCommentVNode("v-if", true),
|
|
163
171
|
(!$props.hideMenu)
|
|
164
172
|
? renderSlot(_ctx.$slots, "menu", {
|
|
165
173
|
manifest: $options.menuManifest,
|
|
@@ -175,7 +183,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
175
183
|
isAdmin: $options.isAdmin,
|
|
176
184
|
appId: $props.appId
|
|
177
185
|
}, null, 8 /* PROPS */, ["manifest", "permissions", "isOwner", "isAdmin", "appId"])
|
|
178
|
-
], undefined,
|
|
186
|
+
], undefined, 1)
|
|
179
187
|
: createCommentVNode("v-if", true),
|
|
180
188
|
createVNode(_component_NcAppContent, null, {
|
|
181
189
|
default: withCtx(() => [
|
|
@@ -246,14 +254,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
246
254
|
($options.pageSidebarComponent)
|
|
247
255
|
? (openBlock(), createBlock(resolveDynamicComponent($options.pageSidebarComponent), { key: 0 }))
|
|
248
256
|
: createCommentVNode("v-if", true)
|
|
249
|
-
], undefined,
|
|
257
|
+
], undefined, 2)
|
|
250
258
|
: createCommentVNode("v-if", true),
|
|
251
259
|
($data.cnIndexSidebarConfig.value)
|
|
252
|
-
? (openBlock(), createBlock(resolveDynamicComponent($data.cnIndexSidebarConfig.value.component), mergeProps({ key:
|
|
260
|
+
? (openBlock(), createBlock(resolveDynamicComponent($data.cnIndexSidebarConfig.value.component), mergeProps({ key: 3 }, $data.cnIndexSidebarConfig.value.props, toHandlers($data.cnIndexSidebarConfig.value.listeners)), null, 16 /* FULL_PROPS */))
|
|
253
261
|
: createCommentVNode("v-if", true),
|
|
254
262
|
($options.shouldAutoMountObjectSidebar)
|
|
255
263
|
? (openBlock(), createBlock(_component_CnObjectSidebar, {
|
|
256
|
-
key:
|
|
264
|
+
key: 4,
|
|
257
265
|
open: $options.effectiveObjectSidebarState.open === true,
|
|
258
266
|
tabs: $options.effectiveObjectSidebarState.tabs,
|
|
259
267
|
useRegistry: $options.objectSidebarUseRegistry,
|
|
@@ -267,12 +275,12 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
267
275
|
subtitle: $options.effectiveObjectSidebarState.subtitle,
|
|
268
276
|
hiddenTabs: $options.effectiveObjectSidebarState.hiddenTabs,
|
|
269
277
|
requestedTab: $options.effectiveObjectSidebarState.requestedTab,
|
|
270
|
-
"onUpdate:open": _cache[
|
|
278
|
+
"onUpdate:open": _cache[2] || (_cache[2] = $event => ($options.effectiveObjectSidebarState.open = $event))
|
|
271
279
|
}, null, 8 /* PROPS */, ["open", "tabs", "useRegistry", "objectType", "objectId", "objectData", "objectSchema", "register", "schema", "title", "subtitle", "hiddenTabs", "requestedTab"]))
|
|
272
280
|
: createCommentVNode("v-if", true),
|
|
273
281
|
($props.aiCompanion)
|
|
274
282
|
? (openBlock(), createBlock(_component_CnAiCompanion, {
|
|
275
|
-
key:
|
|
283
|
+
key: 5,
|
|
276
284
|
chatAppId: $props.chatAppId
|
|
277
285
|
}, null, 8 /* PROPS */, ["chatAppId"]))
|
|
278
286
|
: createCommentVNode("v-if", true),
|
|
@@ -291,7 +299,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
291
299
|
: createCommentVNode("v-if", true),
|
|
292
300
|
($options.cnCommandPaletteVisible)
|
|
293
301
|
? (openBlock(), createBlock(_component_CnCommandPalette, mergeProps({
|
|
294
|
-
key:
|
|
302
|
+
key: 7,
|
|
295
303
|
manifest: $props.manifest,
|
|
296
304
|
router: _ctx.$router,
|
|
297
305
|
appId: $props.appId
|
|
@@ -299,7 +307,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
299
307
|
: createCommentVNode("v-if", true),
|
|
300
308
|
(_ctx.cnSupportVisible && $data.setupStatusSettled)
|
|
301
309
|
? (openBlock(), createBlock(_component_CnSupportDialog, mergeProps({
|
|
302
|
-
key:
|
|
310
|
+
key: 8,
|
|
303
311
|
appName: $options.cnSupportAppName,
|
|
304
312
|
appSlug: $props.appId,
|
|
305
313
|
appStoreUrl: $options.cnSupportAppStoreUrl,
|
|
@@ -322,13 +330,13 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
322
330
|
onPause: $options.onWalkthroughPause,
|
|
323
331
|
onProgress: $options.onWalkthroughProgress
|
|
324
332
|
}, null, 8 /* PROPS */, ["appId", "manifest", "seenVersion", "resume", "autoStart", "translate", "onComplete", "onPause", "onProgress"])
|
|
325
|
-
], undefined,
|
|
333
|
+
], undefined, 9)
|
|
326
334
|
: createCommentVNode("v-if", true),
|
|
327
335
|
createVNode(_component_NcAppSettingsDialog, {
|
|
328
336
|
open: $data.userSettingsOpen,
|
|
329
337
|
showNavigation: true,
|
|
330
338
|
name: $options.resolvedUserSettingsTitle,
|
|
331
|
-
"onUpdate:open": _cache[
|
|
339
|
+
"onUpdate:open": _cache[3] || (_cache[3] = $event => ($data.userSettingsOpen = $event))
|
|
332
340
|
}, {
|
|
333
341
|
default: withCtx(() => [
|
|
334
342
|
renderSlot(_ctx.$slots, "user-settings", {}, () => [
|
|
@@ -433,9 +441,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
433
441
|
_: 3 /* FORWARDED */
|
|
434
442
|
}, 8 /* PROPS */, ["open", "name"]),
|
|
435
443
|
($options.activeModalComponent)
|
|
436
|
-
? (openBlock(), createBlock(resolveDynamicComponent($options.activeModalComponent), mergeProps({ key:
|
|
437
|
-
onClose: _cache[
|
|
438
|
-
"onUpdate:open": _cache[
|
|
444
|
+
? (openBlock(), createBlock(resolveDynamicComponent($options.activeModalComponent), mergeProps({ key: 10 }, $data.activeModalProps, {
|
|
445
|
+
onClose: _cache[4] || (_cache[4] = $event => ($data.activeModalKey = null)),
|
|
446
|
+
"onUpdate:open": _cache[5] || (_cache[5] = $event => ($data.activeModalKey = null))
|
|
439
447
|
}), null, 16 /* FULL_PROPS */))
|
|
440
448
|
: createCommentVNode("v-if", true)
|
|
441
449
|
], 64 /* STABLE_FRAGMENT */))
|