@conduction/nextcloud-vue 2.70.0 → 2.71.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/CnAppRoot/CnAppRoot.vue2.js +151 -13
- package/dist/esm/components/CnAppRoot/CnAppRoot.vue2.js.map +1 -1
- package/dist/esm/components/CnAppRoot/CnAppRoot.vue3.js +3 -1
- package/dist/esm/components/CnAppRoot/CnAppRoot.vue3.js.map +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js.map +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js +38 -42
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js.map +1 -1
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue2.js +29 -2
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue2.js.map +1 -1
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue3.js +71 -34
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue3.js.map +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js +22 -0
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js.map +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue3.js +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue3.js.map +1 -1
- package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue2.js +1 -1
- package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue2.js.map +1 -1
- package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue3.js.map +1 -1
- package/dist/esm/components/CnSetupWizard/CnSetupWizard.vue2.js.map +1 -1
- package/dist/esm/components/CnSetupWizard/CnSetupWizard.vue3.js +46 -32
- package/dist/esm/components/CnSetupWizard/CnSetupWizard.vue3.js.map +1 -1
- package/dist/esm/components/CnWalkthrough/CnWalkthrough.vue2.js +30 -9
- package/dist/esm/components/CnWalkthrough/CnWalkthrough.vue2.js.map +1 -1
- package/dist/esm/components/CnWalkthrough/CnWalkthrough.vue3.js.map +1 -1
- package/dist/esm/composables/useWalkthrough.js +11 -3
- package/dist/esm/composables/useWalkthrough.js.map +1 -1
- package/dist/esm/nextcloud-vue.css +53 -0
- package/dist/esm/utils/columnFilters.js +54 -4
- package/dist/esm/utils/columnFilters.js.map +1 -1
- package/dist/esm/utils/userAutocomplete.js +69 -3
- package/dist/esm/utils/userAutocomplete.js.map +1 -1
- 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 +615 -235
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +53 -0
- package/package.json +1 -1
- package/src/components/CnAppRoot/CnAppRoot.vue +153 -13
- package/src/components/CnDashboardPage/CnDashboardPage.vue +20 -18
- package/src/components/CnFormDialog/CnFormDialog.vue +62 -2
- package/src/components/CnIndexPage/CnIndexPage.vue +23 -1
- package/src/components/CnObjectSidebar/CnNotesTab.vue +1 -1
- package/src/components/CnSetupWizard/CnSetupWizard.vue +7 -0
- package/src/components/CnWalkthrough/CnWalkthrough.vue +30 -9
- package/src/composables/useWalkthrough.js +11 -3
- package/src/css/dashboard.css +44 -0
- package/src/schemas/app-manifest-v2.schema.json +2 -1
- package/src/utils/columnFilters.js +54 -4
- package/src/utils/userAutocomplete.js +68 -2
- package/src/utils/validateManifestV2.compiled.js +2 -2
|
@@ -55,27 +55,32 @@ const _hoisted_16 = {
|
|
|
55
55
|
key: 0,
|
|
56
56
|
class: "cn-dashboard-page__widget-edit"
|
|
57
57
|
};
|
|
58
|
-
const _hoisted_17 =
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
class: "cn-dashboard-page__date-chip-preset-spacer"
|
|
58
|
+
const _hoisted_17 = {
|
|
59
|
+
class: "cn-dashboard-page__requires-app cn-requires-app cn-requires-app--compact",
|
|
60
|
+
"data-testid": "cn-requires-app"
|
|
62
61
|
};
|
|
62
|
+
const _hoisted_18 = { class: "cn-requires-app__description" };
|
|
63
63
|
const _hoisted_19 = ["title"];
|
|
64
64
|
const _hoisted_20 = {
|
|
65
65
|
key: 1,
|
|
66
66
|
class: "cn-dashboard-page__date-chip-preset-spacer"
|
|
67
67
|
};
|
|
68
|
-
const _hoisted_21 =
|
|
68
|
+
const _hoisted_21 = ["title"];
|
|
69
|
+
const _hoisted_22 = {
|
|
70
|
+
key: 1,
|
|
71
|
+
class: "cn-dashboard-page__date-chip-preset-spacer"
|
|
72
|
+
};
|
|
73
|
+
const _hoisted_23 = {
|
|
69
74
|
key: 2,
|
|
70
75
|
class: "cn-dashboard-page__unknown"
|
|
71
76
|
};
|
|
72
|
-
const
|
|
73
|
-
const
|
|
77
|
+
const _hoisted_24 = ["title"];
|
|
78
|
+
const _hoisted_25 = {
|
|
74
79
|
key: 1,
|
|
75
80
|
class: "cn-dashboard-page__date-chip-preset-spacer"
|
|
76
81
|
};
|
|
77
|
-
const
|
|
78
|
-
const
|
|
82
|
+
const _hoisted_26 = { class: "cn-dashboard-page__unknown" };
|
|
83
|
+
const _hoisted_27 = ["id", "aria-label"];
|
|
79
84
|
|
|
80
85
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
81
86
|
const _component_CnSegmentedControl = resolveComponent("CnSegmentedControl");
|
|
@@ -394,30 +399,21 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
394
399
|
showTitle: $options.widgetShowTitle(item)
|
|
395
400
|
}, {
|
|
396
401
|
default: withCtx(() => [
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
]),
|
|
413
|
-
default: withCtx(() => [
|
|
414
|
-
createTextVNode(" " + toDisplayString($options.installAppLabel($options.missingRequiredApp(item))), 1 /* TEXT */)
|
|
415
|
-
]),
|
|
416
|
-
_: 2 /* DYNAMIC */
|
|
417
|
-
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["href"])
|
|
418
|
-
]),
|
|
419
|
-
_: 2 /* DYNAMIC */
|
|
420
|
-
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["name", "description"])
|
|
402
|
+
createElementVNode("div", _hoisted_17, [
|
|
403
|
+
createElementVNode("p", _hoisted_18, toDisplayString(_ctx.t('nextcloud-vue', 'This widget shows data from another app that isn\'t installed yet.')), 1 /* TEXT */),
|
|
404
|
+
createVNode(_component_NcButton, {
|
|
405
|
+
variant: "primary",
|
|
406
|
+
href: $options.appInstallUrl($options.missingRequiredApp(item))
|
|
407
|
+
}, {
|
|
408
|
+
icon: withCtx(() => [
|
|
409
|
+
createVNode(_component_Download, { size: 18 })
|
|
410
|
+
]),
|
|
411
|
+
default: withCtx(() => [
|
|
412
|
+
createTextVNode(" " + toDisplayString($options.installAppLabel($options.missingRequiredApp(item))), 1 /* TEXT */)
|
|
413
|
+
]),
|
|
414
|
+
_: 2 /* DYNAMIC */
|
|
415
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["href"])
|
|
416
|
+
])
|
|
421
417
|
]),
|
|
422
418
|
_: 2 /* DYNAMIC */
|
|
423
419
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["title", "showTitle"]))
|
|
@@ -497,7 +493,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
497
493
|
createElementVNode("span", {
|
|
498
494
|
class: "cn-dashboard-page__date-chip",
|
|
499
495
|
title: $data.dateChipTitle
|
|
500
|
-
}, toDisplayString($options.dashboardRangeChipLabel), 9 /* TEXT, PROPS */,
|
|
496
|
+
}, toDisplayString($options.dashboardRangeChipLabel), 9 /* TEXT, PROPS */, _hoisted_19)
|
|
501
497
|
]),
|
|
502
498
|
default: withCtx(() => [
|
|
503
499
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.effectivePresets, (preset) => {
|
|
@@ -512,7 +508,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
512
508
|
key: 0,
|
|
513
509
|
size: 16
|
|
514
510
|
}))
|
|
515
|
-
: (openBlock(), createElementBlock("span",
|
|
511
|
+
: (openBlock(), createElementBlock("span", _hoisted_20))
|
|
516
512
|
]),
|
|
517
513
|
default: withCtx(() => [
|
|
518
514
|
createTextVNode(" " + toDisplayString(preset.label), 1 /* TEXT */)
|
|
@@ -591,7 +587,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
591
587
|
createElementVNode("span", {
|
|
592
588
|
class: "cn-dashboard-page__date-chip",
|
|
593
589
|
title: $data.dateChipTitle
|
|
594
|
-
}, toDisplayString($options.formatChartDateRange(item) || $options.dashboardRangeChipLabel), 9 /* TEXT, PROPS */,
|
|
590
|
+
}, toDisplayString($options.formatChartDateRange(item) || $options.dashboardRangeChipLabel), 9 /* TEXT, PROPS */, _hoisted_21)
|
|
595
591
|
]),
|
|
596
592
|
default: withCtx(() => [
|
|
597
593
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.effectivePresets, (preset) => {
|
|
@@ -606,7 +602,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
606
602
|
key: 0,
|
|
607
603
|
size: 16
|
|
608
604
|
}))
|
|
609
|
-
: (openBlock(), createElementBlock("span",
|
|
605
|
+
: (openBlock(), createElementBlock("span", _hoisted_22))
|
|
610
606
|
]),
|
|
611
607
|
default: withCtx(() => [
|
|
612
608
|
createTextVNode(" " + toDisplayString(preset.label), 1 /* TEXT */)
|
|
@@ -700,7 +696,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
700
696
|
key: 1,
|
|
701
697
|
ref_for: true
|
|
702
698
|
}, $options.getIntegrationProps(item)), null, 16 /* FULL_PROPS */))
|
|
703
|
-
: (openBlock(), createElementBlock("div",
|
|
699
|
+
: (openBlock(), createElementBlock("div", _hoisted_23, toDisplayString($props.unavailableLabel), 1 /* TEXT */))
|
|
704
700
|
]),
|
|
705
701
|
_: 2 /* DYNAMIC */
|
|
706
702
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["widgetId", "title", "iconUrl", "iconClass", "showTitle", "showActions", "borderless", "flush", "buttons", "headerLink", "styleConfig", "titleIconPosition", "titleIconColor", "titleIconVariant", "showRefresh", "documentationUrl", "docsAnchor", "onRefresh", "onRequestFeature"]))
|
|
@@ -776,7 +772,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
776
772
|
createElementVNode("span", {
|
|
777
773
|
class: "cn-dashboard-page__date-chip",
|
|
778
774
|
title: $data.dateChipTitle
|
|
779
|
-
}, toDisplayString($options.dashboardRangeChipLabel), 9 /* TEXT, PROPS */,
|
|
775
|
+
}, toDisplayString($options.dashboardRangeChipLabel), 9 /* TEXT, PROPS */, _hoisted_24)
|
|
780
776
|
]),
|
|
781
777
|
default: withCtx(() => [
|
|
782
778
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.effectivePresets, (preset) => {
|
|
@@ -791,7 +787,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
791
787
|
key: 0,
|
|
792
788
|
size: 16
|
|
793
789
|
}))
|
|
794
|
-
: (openBlock(), createElementBlock("span",
|
|
790
|
+
: (openBlock(), createElementBlock("span", _hoisted_25))
|
|
795
791
|
]),
|
|
796
792
|
default: withCtx(() => [
|
|
797
793
|
createTextVNode(" " + toDisplayString(preset.label), 1 /* TEXT */)
|
|
@@ -829,7 +825,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
829
825
|
showRefresh: false
|
|
830
826
|
}, {
|
|
831
827
|
default: withCtx(() => [
|
|
832
|
-
createElementVNode("div",
|
|
828
|
+
createElementVNode("div", _hoisted_26, toDisplayString($props.unavailableLabel), 1 /* TEXT */)
|
|
833
829
|
]),
|
|
834
830
|
_: 1 /* STABLE */
|
|
835
831
|
}, 8 /* PROPS */, ["title", "showTitle"]))
|
|
@@ -852,7 +848,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
852
848
|
]),
|
|
853
849
|
_: 1 /* STABLE */
|
|
854
850
|
}, 8 /* PROPS */, ["description"])
|
|
855
|
-
], 8 /* PROPS */,
|
|
851
|
+
], 8 /* PROPS */, _hoisted_27))
|
|
856
852
|
: createCommentVNode("v-if", true),
|
|
857
853
|
($options.hasBodyWidgets)
|
|
858
854
|
? (openBlock(), createBlock(_component_CnBodySections, {
|