@conduction/nextcloud-vue 2.110.0 → 2.112.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/CnActionDialog/CnActionDialog.vue.js +1 -1
- package/dist/esm/components/CnActionDialog/CnActionDialog.vue2.js +3 -2
- package/dist/esm/components/CnActionDialog/CnActionDialog.vue2.js.map +1 -1
- package/dist/esm/components/CnActionDialog/CnActionDialog.vue3.js +4 -2
- package/dist/esm/components/CnActionDialog/CnActionDialog.vue3.js.map +1 -1
- package/dist/esm/components/CnAppRoot/CnAppRoot.vue2.js +2 -1
- 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/components/CnAssignDialog/CnAssignDialog.vue.js +1 -1
- package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue2.js +3 -2
- package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue2.js.map +1 -1
- package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue3.js +2 -1
- package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue3.js.map +1 -1
- package/dist/esm/components/CnBoardView/CnBoardView.vue.js +1 -1
- package/dist/esm/components/CnBoardView/CnBoardView.vue2.js +54 -5
- package/dist/esm/components/CnBoardView/CnBoardView.vue2.js.map +1 -1
- package/dist/esm/components/CnBoardView/CnBoardView.vue3.js +16 -2
- package/dist/esm/components/CnBoardView/CnBoardView.vue3.js.map +1 -1
- package/dist/esm/components/CnCardGrid/CnCardGrid.vue.js +1 -1
- package/dist/esm/components/CnCardGrid/CnCardGrid.vue2.js +10 -0
- package/dist/esm/components/CnCardGrid/CnCardGrid.vue2.js.map +1 -1
- package/dist/esm/components/CnCardGrid/CnCardGrid.vue3.js +2 -1
- package/dist/esm/components/CnCardGrid/CnCardGrid.vue3.js.map +1 -1
- package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue.js +1 -1
- package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue2.js +22 -2
- package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue2.js.map +1 -1
- package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue3.js +17 -3
- package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue3.js.map +1 -1
- package/dist/esm/components/CnChartWidget/CnChartWidget.vue.js +1 -1
- package/dist/esm/components/CnChartWidget/CnChartWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnChartWidget/CnChartWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js +52 -8
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js.map +1 -1
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue3.js +98 -63
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue3.js.map +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue.js +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue2.js +48 -11
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue2.js.map +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue3.js +160 -97
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue3.js.map +1 -1
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue.js +1 -1
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue2.js.map +1 -1
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue3.js +2 -2
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue3.js.map +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js +203 -14
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js.map +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue3.js +19 -4
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue3.js.map +1 -1
- package/dist/esm/components/CnIndexSidebar/CnIndexSidebar.vue2.js.map +1 -1
- package/dist/esm/components/CnIndexSidebar/CnIndexSidebar.vue3.js +1 -1
- package/dist/esm/components/CnIndexSidebar/CnIndexSidebar.vue3.js.map +1 -1
- package/dist/esm/components/CnNcDashboardList/CnNcDashboardList.vue.js +1 -1
- package/dist/esm/components/CnNcDashboardList/CnNcDashboardList.vue2.js +21 -1
- package/dist/esm/components/CnNcDashboardList/CnNcDashboardList.vue2.js.map +1 -1
- package/dist/esm/components/CnNcDashboardList/CnNcDashboardList.vue3.js.map +1 -1
- package/dist/esm/components/CnObjectCard/CnObjectCard.vue.js +1 -1
- package/dist/esm/components/CnObjectCard/CnObjectCard.vue2.js +36 -2
- package/dist/esm/components/CnObjectCard/CnObjectCard.vue2.js.map +1 -1
- package/dist/esm/components/CnObjectCard/CnObjectCard.vue3.js +44 -5
- package/dist/esm/components/CnObjectCard/CnObjectCard.vue3.js.map +1 -1
- package/dist/esm/components/CnPartyPicker/CnPartyPicker.vue.js +1 -0
- package/dist/esm/components/CnPartyPicker/CnPartyPicker.vue.js.map +1 -1
- package/dist/esm/components/CnPartyPicker/CnPartyPicker.vue2.js +22 -2
- package/dist/esm/components/CnPartyPicker/CnPartyPicker.vue2.js.map +1 -1
- package/dist/esm/components/CnPartyPicker/CnPartyPicker.vue3.js +36 -16
- package/dist/esm/components/CnPartyPicker/CnPartyPicker.vue3.js.map +1 -1
- package/dist/esm/components/CnSearchSelect/CnSearchSelect.vue.js +1 -1
- package/dist/esm/components/CnSearchSelect/CnSearchSelect.vue2.js.map +1 -1
- package/dist/esm/components/CnSearchSelect/CnSearchSelect.vue3.js.map +1 -1
- package/dist/esm/composables/useRefLabels.js +26 -6
- package/dist/esm/composables/useRefLabels.js.map +1 -1
- package/dist/esm/integrations/registry.js +4 -0
- package/dist/esm/integrations/registry.js.map +1 -1
- package/dist/esm/l10n/en.json.js +3 -1
- package/dist/esm/l10n/en.json.js.map +1 -1
- package/dist/esm/l10n/nl.json.js +3 -1
- package/dist/esm/l10n/nl.json.js.map +1 -1
- package/dist/esm/library-style.js +1 -1
- package/dist/esm/nextcloud-vue.css +630 -303
- package/dist/esm/store/plugins/liveUpdates.js +3 -1
- package/dist/esm/store/plugins/liveUpdates.js.map +1 -1
- package/dist/esm/store/plugins/logs.js +2 -1
- package/dist/esm/store/plugins/logs.js.map +1 -1
- package/dist/esm/utils/detailActionModel.js +28 -1
- package/dist/esm/utils/detailActionModel.js.map +1 -1
- package/dist/esm/utils/fillTemplate.js +13 -5
- package/dist/esm/utils/fillTemplate.js.map +1 -1
- package/dist/esm/utils/headerFieldChips.js +21 -2
- package/dist/esm/utils/headerFieldChips.js.map +1 -1
- package/dist/esm/utils/mapList.js +26 -11
- package/dist/esm/utils/mapList.js.map +1 -1
- package/dist/esm/utils/savedViewHelpers.js +40 -3
- package/dist/esm/utils/savedViewHelpers.js.map +1 -1
- package/dist/esm/utils/savedViewMenu.js +12 -5
- package/dist/esm/utils/savedViewMenu.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 +2760 -1995
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +630 -303
- package/l10n/en.json +3 -1
- package/l10n/nl.json +3 -1
- package/package.json +1 -1
- package/src/components/CnActionDialog/CnActionDialog.vue +32 -9
- package/src/components/CnAppRoot/CnAppRoot.vue +2 -1
- package/src/components/CnAssignDialog/CnAssignDialog.vue +4 -2
- package/src/components/CnBoardView/CnBoardView.vue +58 -5
- package/src/components/CnCardGrid/CnCardGrid.md +1 -0
- package/src/components/CnCardGrid/CnCardGrid.vue +11 -0
- package/src/components/CnCellRenderer/CnCellRenderer.vue +27 -3
- package/src/components/CnChartWidget/CnChartWidget.vue +6 -0
- package/src/components/CnDetailPage/CnDetailPage.vue +77 -20
- package/src/components/CnDetailWidgetHost/CnDetailWidgetHost.vue +100 -5
- package/src/components/CnFormDialog/CnFormDialog.vue +1 -1
- package/src/components/CnIndexPage/CnIndexPage.md +1 -1
- package/src/components/CnIndexPage/CnIndexPage.vue +211 -16
- package/src/components/CnIndexSidebar/CnIndexSidebar.md +1 -1
- package/src/components/CnIndexSidebar/CnIndexSidebar.vue +2 -2
- package/src/components/CnNcDashboardList/CnNcDashboardList.vue +21 -1
- package/src/components/CnObjectCard/CnObjectCard.md +1 -0
- package/src/components/CnObjectCard/CnObjectCard.vue +51 -5
- package/src/components/CnPartyPicker/CnPartyPicker.vue +62 -16
- package/src/components/CnSearchSelect/CnSearchSelect.vue +8 -0
- package/src/composables/useRefLabels.js +25 -5
- package/src/css/board.css +5 -2
- package/src/css/dialog.css +53 -3
- package/src/css/index-page.css +26 -1
- package/src/css/look-board-detail.css +55 -22
- package/src/css/look-board-index.css +82 -12
- package/src/css/look-board-reports.css +1 -1
- package/src/css/look-board.css +84 -11
- package/src/integrations/registry.js +4 -0
- package/src/schemas/app-manifest-v2.schema.json +11 -5
- package/src/store/plugins/liveUpdates.js +3 -1
- package/src/store/plugins/logs.js +2 -1
- package/src/utils/detailActionModel.js +27 -0
- package/src/utils/fillTemplate.js +13 -5
- package/src/utils/headerFieldChips.js +21 -2
- package/src/utils/mapList.js +26 -11
- package/src/utils/savedViewHelpers.js +39 -2
- package/src/utils/savedViewMenu.js +12 -5
- package/src/utils/validateManifestV2.compiled.js +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, toDisplayString, createCommentVNode, createBlock, renderSlot, createElementVNode, Fragment, renderList,
|
|
1
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, toDisplayString, createCommentVNode, createBlock, renderSlot, createElementVNode, Fragment, renderList, createSlots, withCtx, createVNode, resolveDynamicComponent, createTextVNode, normalizeProps, guardReactiveProps, mergeProps } from 'vue';
|
|
2
2
|
|
|
3
3
|
const _hoisted_1 = ["href"];
|
|
4
4
|
const _hoisted_2 = { class: "cn-detail-page__header-left" };
|
|
@@ -59,84 +59,93 @@ const _hoisted_15 = {
|
|
|
59
59
|
};
|
|
60
60
|
const _hoisted_16 = {
|
|
61
61
|
key: 1,
|
|
62
|
+
class: "cn-detail-page__header-row3",
|
|
63
|
+
"data-testid": "cn-detail-page-header-row3"
|
|
64
|
+
};
|
|
65
|
+
const _hoisted_17 = {
|
|
66
|
+
class: "cn-detail-page__interactions",
|
|
67
|
+
"data-testid": "cn-detail-page-interactions"
|
|
68
|
+
};
|
|
69
|
+
const _hoisted_18 = {
|
|
70
|
+
key: 2,
|
|
62
71
|
class: "cn-detail-page__header-widget",
|
|
63
72
|
"data-testid": "cn-detail-page-header-widget"
|
|
64
73
|
};
|
|
65
|
-
const
|
|
74
|
+
const _hoisted_19 = {
|
|
66
75
|
key: 4,
|
|
67
76
|
class: "cn-detail-page__lock-refusal",
|
|
68
77
|
role: "alert",
|
|
69
78
|
"data-testid": "cn-detail-page-lock-refusal"
|
|
70
79
|
};
|
|
71
|
-
const
|
|
80
|
+
const _hoisted_20 = {
|
|
72
81
|
key: 6,
|
|
73
82
|
class: "cn-detail-page__not-found",
|
|
74
83
|
"data-testid": "cn-detail-page-not-found"
|
|
75
84
|
};
|
|
76
|
-
const
|
|
85
|
+
const _hoisted_21 = {
|
|
77
86
|
key: 7,
|
|
78
87
|
class: "cn-detail-page__loading"
|
|
79
88
|
};
|
|
80
|
-
const
|
|
89
|
+
const _hoisted_22 = {
|
|
81
90
|
key: 8,
|
|
82
91
|
class: "cn-detail-page__error"
|
|
83
92
|
};
|
|
84
|
-
const
|
|
93
|
+
const _hoisted_23 = {
|
|
85
94
|
key: 9,
|
|
86
95
|
class: "cn-detail-page__empty"
|
|
87
96
|
};
|
|
88
|
-
const
|
|
97
|
+
const _hoisted_24 = {
|
|
89
98
|
key: 10,
|
|
90
99
|
class: "cn-detail-page__body"
|
|
91
100
|
};
|
|
92
|
-
const
|
|
101
|
+
const _hoisted_25 = {
|
|
93
102
|
key: 0,
|
|
94
103
|
class: "cn-detail-page__before-body"
|
|
95
104
|
};
|
|
96
|
-
const
|
|
97
|
-
const
|
|
105
|
+
const _hoisted_26 = ["aria-labelledby"];
|
|
106
|
+
const _hoisted_27 = {
|
|
98
107
|
key: 0,
|
|
99
108
|
class: "cn-detail-page__widget-edit"
|
|
100
109
|
};
|
|
101
|
-
const
|
|
102
|
-
const
|
|
103
|
-
const
|
|
110
|
+
const _hoisted_28 = ["id"];
|
|
111
|
+
const _hoisted_29 = ["id", "aria-label"];
|
|
112
|
+
const _hoisted_30 = {
|
|
104
113
|
key: 3,
|
|
105
114
|
class: "cn-detail-page__stats"
|
|
106
115
|
};
|
|
107
|
-
const
|
|
116
|
+
const _hoisted_31 = {
|
|
108
117
|
key: 0,
|
|
109
118
|
class: "cn-detail-page__section-title"
|
|
110
119
|
};
|
|
111
|
-
const
|
|
112
|
-
const
|
|
113
|
-
const
|
|
120
|
+
const _hoisted_32 = { class: "cn-detail-page__stats-table" };
|
|
121
|
+
const _hoisted_33 = { key: 0 };
|
|
122
|
+
const _hoisted_34 = {
|
|
114
123
|
key: 4,
|
|
115
124
|
class: "cn-detail-page__content"
|
|
116
125
|
};
|
|
117
|
-
const
|
|
126
|
+
const _hoisted_35 = {
|
|
118
127
|
key: 0,
|
|
119
128
|
class: "cn-detail-page__content"
|
|
120
129
|
};
|
|
121
|
-
const
|
|
130
|
+
const _hoisted_36 = {
|
|
122
131
|
key: 1,
|
|
123
132
|
class: "cn-detail-page__sections"
|
|
124
133
|
};
|
|
125
|
-
const
|
|
134
|
+
const _hoisted_37 = {
|
|
126
135
|
key: 6,
|
|
127
136
|
class: "cn-detail-page__related-collections"
|
|
128
137
|
};
|
|
129
|
-
const
|
|
138
|
+
const _hoisted_38 = {
|
|
130
139
|
key: 0,
|
|
131
140
|
class: "cn-detail-page__relation-links"
|
|
132
141
|
};
|
|
133
|
-
const
|
|
142
|
+
const _hoisted_39 = {
|
|
134
143
|
key: 9,
|
|
135
144
|
class: "cn-detail-page__footer"
|
|
136
145
|
};
|
|
137
|
-
const
|
|
138
|
-
const
|
|
139
|
-
const
|
|
146
|
+
const _hoisted_40 = ["aria-label"];
|
|
147
|
+
const _hoisted_41 = ["data-testid"];
|
|
148
|
+
const _hoisted_42 = {
|
|
140
149
|
key: 0,
|
|
141
150
|
class: "cn-detail-page__side-identifier",
|
|
142
151
|
"data-testid": "cn-detail-page-side-identifier"
|
|
@@ -245,7 +254,21 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
245
254
|
colorMap: pill.colorMap,
|
|
246
255
|
variant: pill.variant,
|
|
247
256
|
"data-testid": `cn-detail-page-pill-${pill.key}`
|
|
248
|
-
},
|
|
257
|
+
}, createSlots({ _: 2 /* DYNAMIC */ }, [
|
|
258
|
+
(pill.icon)
|
|
259
|
+
? {
|
|
260
|
+
name: "icon",
|
|
261
|
+
fn: withCtx(() => [
|
|
262
|
+
createVNode(_component_CnIcon, {
|
|
263
|
+
name: pill.icon,
|
|
264
|
+
size: 14,
|
|
265
|
+
class: "cn-detail-page__pill-icon"
|
|
266
|
+
}, null, 8 /* PROPS */, ["name"])
|
|
267
|
+
]),
|
|
268
|
+
key: "0"
|
|
269
|
+
}
|
|
270
|
+
: undefined
|
|
271
|
+
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["label", "colorKey", "colorMap", "variant", "data-testid"]))
|
|
249
272
|
}), 128 /* KEYED_FRAGMENT */))
|
|
250
273
|
]))
|
|
251
274
|
: createCommentVNode("v-if", true),
|
|
@@ -266,18 +289,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
266
289
|
_: 1 /* STABLE */
|
|
267
290
|
}, 8 /* PROPS */, ["title"]))
|
|
268
291
|
: createCommentVNode("v-if", true),
|
|
269
|
-
($options.showFollowToggle)
|
|
292
|
+
($options.showFollowToggle && !$options.isBoard)
|
|
270
293
|
? (openBlock(), createElementBlock("span", _hoisted_7, [
|
|
271
|
-
createVNode(_component_CnFollowToggle,
|
|
272
|
-
register: $props.register,
|
|
273
|
-
schema: $props.schema,
|
|
274
|
-
objectId: String($props.objectId),
|
|
275
|
-
watching: $options.resolvedSelf.watching === true,
|
|
276
|
-
notify: typeof $options.resolvedSelf.watchNotify === 'boolean' ? $options.resolvedSelf.watchNotify : null,
|
|
277
|
-
watcherCount: typeof $options.resolvedSelf.watcherCount === 'number' ? $options.resolvedSelf.watcherCount : null,
|
|
278
|
-
canManage: !!($options.resolvedSelf.can && $options.resolvedSelf.can.manage === true),
|
|
279
|
-
notifies: $props.followNotifies
|
|
280
|
-
}, null, 8 /* PROPS */, ["register", "schema", "objectId", "watching", "notify", "watcherCount", "canManage", "notifies"])
|
|
294
|
+
createVNode(_component_CnFollowToggle, normalizeProps(guardReactiveProps($options.followToggleProps)), null, 16 /* FULL_PROPS */)
|
|
281
295
|
]))
|
|
282
296
|
: createCommentVNode("v-if", true)
|
|
283
297
|
]))
|
|
@@ -658,7 +672,21 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
658
672
|
colorMap: pill.colorMap,
|
|
659
673
|
variant: pill.variant,
|
|
660
674
|
"data-testid": `cn-detail-page-pill-${pill.key}`
|
|
661
|
-
},
|
|
675
|
+
}, createSlots({ _: 2 /* DYNAMIC */ }, [
|
|
676
|
+
(pill.icon)
|
|
677
|
+
? {
|
|
678
|
+
name: "icon",
|
|
679
|
+
fn: withCtx(() => [
|
|
680
|
+
createVNode(_component_CnIcon, {
|
|
681
|
+
name: pill.icon,
|
|
682
|
+
size: 14,
|
|
683
|
+
class: "cn-detail-page__pill-icon"
|
|
684
|
+
}, null, 8 /* PROPS */, ["name"])
|
|
685
|
+
]),
|
|
686
|
+
key: "0"
|
|
687
|
+
}
|
|
688
|
+
: undefined
|
|
689
|
+
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["label", "colorKey", "colorMap", "variant", "data-testid"]))
|
|
662
690
|
}), 128 /* KEYED_FRAGMENT */))
|
|
663
691
|
]))
|
|
664
692
|
: createCommentVNode("v-if", true),
|
|
@@ -689,8 +717,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
689
717
|
: createCommentVNode("v-if", true)
|
|
690
718
|
]))
|
|
691
719
|
: createCommentVNode("v-if", true),
|
|
692
|
-
($options.
|
|
720
|
+
($options.isBoard && $options.showFollowToggle)
|
|
693
721
|
? (openBlock(), createElementBlock("div", _hoisted_16, [
|
|
722
|
+
createElementVNode("span", _hoisted_17, [
|
|
723
|
+
createVNode(_component_CnFollowToggle, normalizeProps(guardReactiveProps($options.followToggleProps)), null, 16 /* FULL_PROPS */)
|
|
724
|
+
])
|
|
725
|
+
]))
|
|
726
|
+
: createCommentVNode("v-if", true),
|
|
727
|
+
($options.headerWidgetDef !== null)
|
|
728
|
+
? (openBlock(), createElementBlock("div", _hoisted_18, [
|
|
694
729
|
renderSlot(_ctx.$slots, `widget-${$options.headerWidgetDef.id}`, {
|
|
695
730
|
item: { id: $options.headerWidgetDef.id, widgetId: $options.headerWidgetDef.id },
|
|
696
731
|
widget: $options.headerWidgetDef,
|
|
@@ -736,7 +771,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
736
771
|
}, null, 8 /* PROPS */, ["lockedBy", "lockedByMe", "expiresAt", "unlocking", "onUnlock"]))
|
|
737
772
|
: createCommentVNode("v-if", true),
|
|
738
773
|
($data.editLockRefusal)
|
|
739
|
-
? (openBlock(), createElementBlock("p",
|
|
774
|
+
? (openBlock(), createElementBlock("p", _hoisted_19, toDisplayString($data.editLockRefusal), 1 /* TEXT */))
|
|
740
775
|
: createCommentVNode("v-if", true),
|
|
741
776
|
($options.showsNextStepCard)
|
|
742
777
|
? (openBlock(), createBlock(_component_CnNextStepCard, {
|
|
@@ -774,7 +809,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
774
809
|
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["title", "items", "after"]))
|
|
775
810
|
: createCommentVNode("v-if", true),
|
|
776
811
|
($data.objectNotFound)
|
|
777
|
-
? (openBlock(), createElementBlock("div",
|
|
812
|
+
? (openBlock(), createElementBlock("div", _hoisted_20, [
|
|
778
813
|
renderSlot(_ctx.$slots, "not-found", { target: $options.notFoundTarget }, () => [
|
|
779
814
|
createVNode(_component_NcEmptyContent, {
|
|
780
815
|
name: $options.notFoundLabels.name,
|
|
@@ -810,12 +845,12 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
810
845
|
])
|
|
811
846
|
]))
|
|
812
847
|
: ($options.showLoadingState)
|
|
813
|
-
? (openBlock(), createElementBlock("div",
|
|
848
|
+
? (openBlock(), createElementBlock("div", _hoisted_21, [
|
|
814
849
|
createVNode(_component_NcLoadingIcon, { size: 32 }),
|
|
815
850
|
createElementVNode("span", null, toDisplayString($props.loadingLabel), 1 /* TEXT */)
|
|
816
851
|
]))
|
|
817
852
|
: ($props.error)
|
|
818
|
-
? (openBlock(), createElementBlock("div",
|
|
853
|
+
? (openBlock(), createElementBlock("div", _hoisted_22, [
|
|
819
854
|
renderSlot(_ctx.$slots, "error", {}, () => [
|
|
820
855
|
createVNode(_component_NcEmptyContent, { name: $props.errorMessage }, {
|
|
821
856
|
icon: withCtx(() => [
|
|
@@ -844,7 +879,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
844
879
|
])
|
|
845
880
|
]))
|
|
846
881
|
: ($props.empty)
|
|
847
|
-
? (openBlock(), createElementBlock("div",
|
|
882
|
+
? (openBlock(), createElementBlock("div", _hoisted_23, [
|
|
848
883
|
renderSlot(_ctx.$slots, "empty", {}, () => [
|
|
849
884
|
createVNode(_component_NcEmptyContent, { name: $props.emptyLabel }, {
|
|
850
885
|
icon: withCtx(() => [
|
|
@@ -857,9 +892,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
857
892
|
}, 8 /* PROPS */, ["name"])
|
|
858
893
|
])
|
|
859
894
|
]))
|
|
860
|
-
: (openBlock(), createElementBlock("div",
|
|
895
|
+
: (openBlock(), createElementBlock("div", _hoisted_24, [
|
|
861
896
|
(_ctx.$slots['before-body'] || _ctx.$slots['before-body'])
|
|
862
|
-
? (openBlock(), createElementBlock("div",
|
|
897
|
+
? (openBlock(), createElementBlock("div", _hoisted_25, [
|
|
863
898
|
renderSlot(_ctx.$slots, "before-body", {
|
|
864
899
|
object: $options.resolvedObject,
|
|
865
900
|
schema: $options.currentSchema,
|
|
@@ -895,7 +930,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
895
930
|
"aria-labelledby": $options.showGridTitle(item) ? `widget-title-${item.id}` : undefined
|
|
896
931
|
}, [
|
|
897
932
|
($options.showsCog(item))
|
|
898
|
-
? (openBlock(), createElementBlock("div",
|
|
933
|
+
? (openBlock(), createElementBlock("div", _hoisted_27, [
|
|
899
934
|
createVNode(_component_NcButton, {
|
|
900
935
|
variant: "tertiary",
|
|
901
936
|
"aria-label": _ctx.t('nextcloud-vue', 'Configure widget'),
|
|
@@ -913,7 +948,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
913
948
|
key: 1,
|
|
914
949
|
id: `widget-title-${item.id}`,
|
|
915
950
|
class: "cn-detail-page__widget-title"
|
|
916
|
-
}, toDisplayString($options.gridTitle(item)), 9 /* TEXT, PROPS */,
|
|
951
|
+
}, toDisplayString($options.gridTitle(item)), 9 /* TEXT, PROPS */, _hoisted_28))
|
|
917
952
|
: createCommentVNode("v-if", true),
|
|
918
953
|
renderSlot(_ctx.$slots, `widget-${item.widgetId}`, {
|
|
919
954
|
item: item,
|
|
@@ -948,7 +983,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
948
983
|
onSelectObject: $options.onRelatedObjectSelect
|
|
949
984
|
}, null, 8 /* PROPS */, ["widget", "showCardTitle", "showActions", "objectId", "object", "objectType", "schemaObject", "register", "schema", "store", "surface", "integrationContext", "hideEmpty", "cnRegistry", "availableWidgets", "onGeoSaved", "onOpenIntegration", "onSelectObject"])
|
|
950
985
|
])
|
|
951
|
-
], 10 /* CLASS, PROPS */,
|
|
986
|
+
], 10 /* CLASS, PROPS */, _hoisted_26)
|
|
952
987
|
]),
|
|
953
988
|
_: 3 /* FORWARDED */
|
|
954
989
|
}, 16 /* FULL_PROPS */, ["layout", "editable", "columnOpts", "onLayoutChange"]))
|
|
@@ -968,18 +1003,18 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
968
1003
|
]),
|
|
969
1004
|
_: 1 /* STABLE */
|
|
970
1005
|
}, 8 /* PROPS */, ["description"])
|
|
971
|
-
], 8 /* PROPS */,
|
|
1006
|
+
], 8 /* PROPS */, _hoisted_29))
|
|
972
1007
|
: createCommentVNode("v-if", true),
|
|
973
1008
|
($options.hasStats)
|
|
974
|
-
? (openBlock(), createElementBlock("div",
|
|
1009
|
+
? (openBlock(), createElementBlock("div", _hoisted_30, [
|
|
975
1010
|
renderSlot(_ctx.$slots, "stats-header", {}, () => [
|
|
976
1011
|
($props.statsTitle)
|
|
977
|
-
? (openBlock(), createElementBlock("h3",
|
|
1012
|
+
? (openBlock(), createElementBlock("h3", _hoisted_31, toDisplayString($options.resolvedStatsTitle), 1 /* TEXT */))
|
|
978
1013
|
: createCommentVNode("v-if", true)
|
|
979
1014
|
]),
|
|
980
|
-
createElementVNode("table",
|
|
1015
|
+
createElementVNode("table", _hoisted_32, [
|
|
981
1016
|
($props.statsColumns.length > 0)
|
|
982
|
-
? (openBlock(), createElementBlock("thead",
|
|
1017
|
+
? (openBlock(), createElementBlock("thead", _hoisted_33, [
|
|
983
1018
|
createElementVNode("tr", null, [
|
|
984
1019
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.statsColumns, (col) => {
|
|
985
1020
|
return (openBlock(), createElementBlock("th", {
|
|
@@ -1010,14 +1045,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1010
1045
|
])
|
|
1011
1046
|
])
|
|
1012
1047
|
]))
|
|
1013
|
-
: (openBlock(), createElementBlock("div",
|
|
1048
|
+
: (openBlock(), createElementBlock("div", _hoisted_34, [
|
|
1014
1049
|
(!$options.hasBodyGrid)
|
|
1015
|
-
? (openBlock(), createElementBlock("div",
|
|
1050
|
+
? (openBlock(), createElementBlock("div", _hoisted_35, [
|
|
1016
1051
|
renderSlot(_ctx.$slots, "default")
|
|
1017
1052
|
]))
|
|
1018
1053
|
: createCommentVNode("v-if", true),
|
|
1019
1054
|
(_ctx.$slots.sections)
|
|
1020
|
-
? (openBlock(), createElementBlock("div",
|
|
1055
|
+
? (openBlock(), createElementBlock("div", _hoisted_36, [
|
|
1021
1056
|
renderSlot(_ctx.$slots, "sections")
|
|
1022
1057
|
]))
|
|
1023
1058
|
: createCommentVNode("v-if", true)
|
|
@@ -1032,9 +1067,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1032
1067
|
}, null, 8 /* PROPS */, ["sections", "context"]))
|
|
1033
1068
|
: createCommentVNode("v-if", true),
|
|
1034
1069
|
(($props.relatedCollections && $props.relatedCollections.length > 0) || ($props.relationLinks && $props.relationLinks.length > 0))
|
|
1035
|
-
? (openBlock(), createElementBlock("div",
|
|
1070
|
+
? (openBlock(), createElementBlock("div", _hoisted_37, [
|
|
1036
1071
|
($props.relationLinks && $props.relationLinks.length > 0)
|
|
1037
|
-
? (openBlock(), createElementBlock("div",
|
|
1072
|
+
? (openBlock(), createElementBlock("div", _hoisted_38, [
|
|
1038
1073
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.relationLinks, (link, li) => {
|
|
1039
1074
|
return (openBlock(), createBlock(_component_NcButton, {
|
|
1040
1075
|
key: li,
|
|
@@ -1081,7 +1116,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1081
1116
|
}, null, 8 /* PROPS */, ["sections", "context"]))
|
|
1082
1117
|
: createCommentVNode("v-if", true),
|
|
1083
1118
|
(_ctx.$slots.footer)
|
|
1084
|
-
? (openBlock(), createElementBlock("div",
|
|
1119
|
+
? (openBlock(), createElementBlock("div", _hoisted_39, [
|
|
1085
1120
|
renderSlot(_ctx.$slots, "footer")
|
|
1086
1121
|
]))
|
|
1087
1122
|
: createCommentVNode("v-if", true)
|
|
@@ -1132,11 +1167,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1132
1167
|
}, null, 8 /* PROPS */, ["widget", "showActions", "objectId", "object", "objectType", "schemaObject", "register", "schema", "store", "surface", "integrationContext", "hideEmpty", "cnRegistry", "availableWidgets", "onGeoSaved", "onOpenIntegration", "onSelectObject"])
|
|
1133
1168
|
]),
|
|
1134
1169
|
($options.isBoard && widget.id === $options.sideHistoryId && $options.identifierLine !== '')
|
|
1135
|
-
? (openBlock(), createElementBlock("p",
|
|
1170
|
+
? (openBlock(), createElementBlock("p", _hoisted_42, toDisplayString($options.identifierLine), 1 /* TEXT */))
|
|
1136
1171
|
: createCommentVNode("v-if", true)
|
|
1137
|
-
], 10 /* CLASS, PROPS */,
|
|
1172
|
+
], 10 /* CLASS, PROPS */, _hoisted_41))
|
|
1138
1173
|
}), 128 /* KEYED_FRAGMENT */))
|
|
1139
|
-
], 8 /* PROPS */,
|
|
1174
|
+
], 8 /* PROPS */, _hoisted_40))
|
|
1140
1175
|
: createCommentVNode("v-if", true),
|
|
1141
1176
|
($data.showWidgetConfig)
|
|
1142
1177
|
? (openBlock(), createBlock(_component_CnWidgetStyleEditorModal, {
|