@conduction/nextcloud-vue 2.108.0 → 2.109.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/CnAddressSearch/CnAddressSearch.vue.js +10 -0
- package/dist/esm/components/CnAddressSearch/CnAddressSearch.vue.js.map +1 -0
- package/dist/esm/components/CnAddressSearch/CnAddressSearch.vue2.js +305 -0
- package/dist/esm/components/CnAddressSearch/CnAddressSearch.vue2.js.map +1 -0
- package/dist/esm/components/CnAddressSearch/CnAddressSearch.vue3.js +38 -0
- package/dist/esm/components/CnAddressSearch/CnAddressSearch.vue3.js.map +1 -0
- package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue.js +10 -0
- package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue.js.map +1 -0
- package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue2.js +398 -0
- package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue2.js.map +1 -0
- package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue3.js +155 -0
- package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue3.js.map +1 -0
- package/dist/esm/components/CnDecisionListWidget/CnDecisionListWidget.vue.js +9 -0
- package/dist/esm/components/CnDecisionListWidget/CnDecisionListWidget.vue.js.map +1 -0
- package/dist/esm/components/CnDecisionListWidget/CnDecisionListWidget.vue2.js +281 -0
- package/dist/esm/components/CnDecisionListWidget/CnDecisionListWidget.vue2.js.map +1 -0
- package/dist/esm/components/CnDecisionListWidget/CnDecisionListWidget.vue3.js +137 -0
- package/dist/esm/components/CnDecisionListWidget/CnDecisionListWidget.vue3.js.map +1 -0
- package/dist/esm/components/CnDuplicateWarning/CnDuplicateWarning.vue.js +9 -0
- package/dist/esm/components/CnDuplicateWarning/CnDuplicateWarning.vue.js.map +1 -0
- package/dist/esm/components/CnDuplicateWarning/CnDuplicateWarning.vue2.js +225 -0
- package/dist/esm/components/CnDuplicateWarning/CnDuplicateWarning.vue2.js.map +1 -0
- package/dist/esm/components/CnDuplicateWarning/CnDuplicateWarning.vue3.js +110 -0
- package/dist/esm/components/CnDuplicateWarning/CnDuplicateWarning.vue3.js.map +1 -0
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue.js +1 -1
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue2.js +19 -3
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue2.js.map +1 -1
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue3.js.map +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js +30 -0
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js.map +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue3.js +513 -481
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue3.js.map +1 -1
- package/dist/esm/components/CnNcDashboardList/CnNcDashboardList.vue.js +9 -0
- package/dist/esm/components/CnNcDashboardList/CnNcDashboardList.vue.js.map +1 -0
- package/dist/esm/components/CnNcDashboardList/CnNcDashboardList.vue2.js +181 -0
- package/dist/esm/components/CnNcDashboardList/CnNcDashboardList.vue2.js.map +1 -0
- package/dist/esm/components/CnNcDashboardList/CnNcDashboardList.vue3.js +50 -0
- package/dist/esm/components/CnNcDashboardList/CnNcDashboardList.vue3.js.map +1 -0
- package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue.js +1 -1
- package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue2.js +102 -1
- package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue3.js +6 -6
- package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnPlanWidget/CnPlanWidget.vue.js +9 -0
- package/dist/esm/components/CnPlanWidget/CnPlanWidget.vue.js.map +1 -0
- package/dist/esm/components/CnPlanWidget/CnPlanWidget.vue2.js +190 -0
- package/dist/esm/components/CnPlanWidget/CnPlanWidget.vue2.js.map +1 -0
- package/dist/esm/components/CnPlanWidget/CnPlanWidget.vue3.js +91 -0
- package/dist/esm/components/CnPlanWidget/CnPlanWidget.vue3.js.map +1 -0
- package/dist/esm/components/CnPlanWidget/CnPlanWidgetRow.vue.js +9 -0
- package/dist/esm/components/CnPlanWidget/CnPlanWidgetRow.vue.js.map +1 -0
- package/dist/esm/components/CnPlanWidget/CnPlanWidgetRow.vue2.js +64 -0
- package/dist/esm/components/CnPlanWidget/CnPlanWidgetRow.vue2.js.map +1 -0
- package/dist/esm/components/CnPlanWidget/CnPlanWidgetRow.vue3.js +49 -0
- package/dist/esm/components/CnPlanWidget/CnPlanWidgetRow.vue3.js.map +1 -0
- package/dist/esm/components/CnRedactionEditor/CnRedactionEditor.vue.js +9 -0
- package/dist/esm/components/CnRedactionEditor/CnRedactionEditor.vue.js.map +1 -0
- package/dist/esm/components/CnRedactionEditor/CnRedactionEditor.vue2.js +382 -0
- package/dist/esm/components/CnRedactionEditor/CnRedactionEditor.vue2.js.map +1 -0
- package/dist/esm/components/CnRedactionEditor/CnRedactionEditor.vue3.js +285 -0
- package/dist/esm/components/CnRedactionEditor/CnRedactionEditor.vue3.js.map +1 -0
- package/dist/esm/components/CnRetentionWidget/CnRetentionWidget.vue.js +9 -0
- package/dist/esm/components/CnRetentionWidget/CnRetentionWidget.vue.js.map +1 -0
- package/dist/esm/components/CnRetentionWidget/CnRetentionWidget.vue2.js +277 -0
- package/dist/esm/components/CnRetentionWidget/CnRetentionWidget.vue2.js.map +1 -0
- package/dist/esm/components/CnRetentionWidget/CnRetentionWidget.vue3.js +183 -0
- package/dist/esm/components/CnRetentionWidget/CnRetentionWidget.vue3.js.map +1 -0
- package/dist/esm/components/CnWidgetGrid/builtInWidgets.js +16 -14
- package/dist/esm/components/CnWidgetGrid/builtInWidgets.js.map +1 -1
- package/dist/esm/components/CnWidgetGrid/registerDashboardWidgets.js +53 -22
- package/dist/esm/components/CnWidgetGrid/registerDashboardWidgets.js.map +1 -1
- package/dist/esm/components/CnWorkQueue/CnWorkQueue.vue.js +9 -0
- package/dist/esm/components/CnWorkQueue/CnWorkQueue.vue.js.map +1 -0
- package/dist/esm/components/CnWorkQueue/CnWorkQueue.vue2.js +246 -0
- package/dist/esm/components/CnWorkQueue/CnWorkQueue.vue2.js.map +1 -0
- package/dist/esm/components/CnWorkQueue/CnWorkQueue.vue3.js +197 -0
- package/dist/esm/components/CnWorkQueue/CnWorkQueue.vue3.js.map +1 -0
- package/dist/esm/index.js +12 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/l10n/en.json.js +106 -1
- package/dist/esm/l10n/en.json.js.map +1 -1
- package/dist/esm/l10n/nl.json.js +105 -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 +495 -61
- package/dist/esm/utils/actionsDispatcher.js +6 -1
- package/dist/esm/utils/actionsDispatcher.js.map +1 -1
- package/dist/esm/utils/builtInModals.js +3 -1
- package/dist/esm/utils/builtInModals.js.map +1 -1
- package/dist/esm/utils/duplicateWarning.js +62 -0
- package/dist/esm/utils/duplicateWarning.js.map +1 -0
- package/dist/esm/utils/errors.js +4 -0
- package/dist/esm/utils/errors.js.map +1 -1
- package/dist/esm/utils/libraryWidgetKeys.js +4 -0
- package/dist/esm/utils/libraryWidgetKeys.js.map +1 -1
- package/dist/esm/utils/openDuplicateWarning.js +39 -0
- package/dist/esm/utils/openDuplicateWarning.js.map +1 -0
- package/dist/esm/utils/optionsFrom.js +69 -2
- package/dist/esm/utils/optionsFrom.js.map +1 -1
- package/dist/esm/utils/planTree.js +57 -0
- package/dist/esm/utils/planTree.js.map +1 -0
- package/dist/esm/utils/redactionSegments.js +53 -0
- package/dist/esm/utils/redactionSegments.js.map +1 -0
- package/dist/esm/utils/registerNcDashboardWidgets.js +61 -0
- package/dist/esm/utils/registerNcDashboardWidgets.js.map +1 -0
- package/dist/esm/utils/searchRefusal.js +62 -0
- package/dist/esm/utils/searchRefusal.js.map +1 -0
- 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 +17409 -12832
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +495 -61
- package/l10n/en.json +106 -1
- package/l10n/nl.json +105 -1
- package/package.json +1 -1
- package/src/components/CnAddressSearch/CnAddressSearch.vue +343 -0
- package/src/components/CnAddressSearch/index.js +12 -0
- package/src/components/CnAssignDialog/CnAssignDialog.vue +525 -0
- package/src/components/CnAssignDialog/index.js +12 -0
- package/src/components/CnDecisionListWidget/CnDecisionListWidget.vue +388 -0
- package/src/components/CnDecisionListWidget/index.js +12 -0
- package/src/components/CnDuplicateWarning/CnDuplicateWarning.vue +318 -0
- package/src/components/CnDuplicateWarning/index.js +12 -0
- package/src/components/CnFormDialog/CnFormDialog.vue +19 -3
- package/src/components/CnIndexPage/CnIndexPage.vue +52 -0
- package/src/components/CnNcDashboardList/CnNcDashboardList.vue +218 -0
- package/src/components/CnNcDashboardList/index.js +12 -0
- package/src/components/CnObjectListWidget/CnObjectListWidget.vue +107 -6
- package/src/components/CnPlanWidget/CnPlanWidget.vue +246 -0
- package/src/components/CnPlanWidget/CnPlanWidgetRow.vue +117 -0
- package/src/components/CnPlanWidget/index.js +12 -0
- package/src/components/CnRedactionEditor/CnRedactionEditor.vue +655 -0
- package/src/components/CnRedactionEditor/index.js +13 -0
- package/src/components/CnRetentionWidget/CnRetentionWidget.vue +413 -0
- package/src/components/CnRetentionWidget/index.js +12 -0
- package/src/components/CnWidgetGrid/builtInWidgets.js +2 -0
- package/src/components/CnWidgetGrid/registerDashboardWidgets.js +31 -0
- package/src/components/CnWorkQueue/CnWorkQueue.vue +456 -0
- package/src/components/CnWorkQueue/index.js +12 -0
- package/src/components/index.js +9 -0
- package/src/css/index-page.css +24 -0
- package/src/index.js +12 -0
- package/src/schemas/app-manifest-v2.schema.json +119 -3
- package/src/utils/actionsDispatcher.js +6 -1
- package/src/utils/builtInModals.js +3 -1
- package/src/utils/duplicateWarning.js +59 -0
- package/src/utils/errors.js +4 -0
- package/src/utils/libraryWidgetKeys.js +4 -0
- package/src/utils/openDuplicateWarning.js +35 -0
- package/src/utils/optionsFrom.js +68 -1
- package/src/utils/planTree.js +54 -0
- package/src/utils/redactionSegments.js +50 -0
- package/src/utils/registerNcDashboardWidgets.js +57 -0
- package/src/utils/searchRefusal.js +59 -0
- package/src/utils/validateManifestV2.compiled.js +3 -3
|
@@ -75,75 +75,89 @@ const _hoisted_26 = {
|
|
|
75
75
|
};
|
|
76
76
|
const _hoisted_27 = {
|
|
77
77
|
key: 3,
|
|
78
|
+
class: "cn-index-page__search-refusal",
|
|
79
|
+
role: "status",
|
|
80
|
+
"data-testid": "cn-index-page-search-refusal"
|
|
81
|
+
};
|
|
82
|
+
const _hoisted_28 = { class: "cn-index-page__search-refusal-headline" };
|
|
83
|
+
const _hoisted_29 = {
|
|
84
|
+
class: "cn-index-page__search-refusal-term",
|
|
85
|
+
"data-testid": "cn-index-page-search-refusal-term"
|
|
86
|
+
};
|
|
87
|
+
const _hoisted_30 = { key: 0 };
|
|
88
|
+
const _hoisted_31 = { class: "cn-index-page__search-refusal-muted" };
|
|
89
|
+
const _hoisted_32 = { class: "cn-index-page__search-refusal-muted" };
|
|
90
|
+
const _hoisted_33 = {
|
|
91
|
+
key: 4,
|
|
78
92
|
class: "cn-index-page__empty",
|
|
79
93
|
role: "status",
|
|
80
94
|
"data-testid": "cn-index-page-fetch-error"
|
|
81
95
|
};
|
|
82
|
-
const
|
|
83
|
-
key:
|
|
96
|
+
const _hoisted_34 = {
|
|
97
|
+
key: 5,
|
|
84
98
|
class: "cn-index-page__empty"
|
|
85
99
|
};
|
|
86
|
-
const
|
|
87
|
-
key:
|
|
100
|
+
const _hoisted_35 = {
|
|
101
|
+
key: 7,
|
|
88
102
|
class: "cn-index-page__map-card",
|
|
89
103
|
"data-testid": "cn-index-map-card"
|
|
90
104
|
};
|
|
91
|
-
const
|
|
92
|
-
const
|
|
93
|
-
const
|
|
94
|
-
const
|
|
105
|
+
const _hoisted_36 = { class: "cn-index-page__map-side" };
|
|
106
|
+
const _hoisted_37 = ["aria-label"];
|
|
107
|
+
const _hoisted_38 = ["onMouseenter", "onFocusin"];
|
|
108
|
+
const _hoisted_39 = {
|
|
95
109
|
class: "cn-index-page__map-number",
|
|
96
110
|
"aria-hidden": "true"
|
|
97
111
|
};
|
|
98
|
-
const
|
|
99
|
-
const
|
|
100
|
-
const
|
|
112
|
+
const _hoisted_40 = { class: "cn-index-page__map-text" };
|
|
113
|
+
const _hoisted_41 = ["onClick"];
|
|
114
|
+
const _hoisted_42 = {
|
|
101
115
|
key: 0,
|
|
102
116
|
class: "cn-index-page__map-sub"
|
|
103
117
|
};
|
|
104
|
-
const
|
|
118
|
+
const _hoisted_43 = {
|
|
105
119
|
key: 1,
|
|
106
120
|
class: "cn-index-page__map-pills"
|
|
107
121
|
};
|
|
108
|
-
const
|
|
122
|
+
const _hoisted_44 = {
|
|
109
123
|
key: 0,
|
|
110
124
|
class: "cn-index-page__map-due"
|
|
111
125
|
};
|
|
112
|
-
const
|
|
126
|
+
const _hoisted_45 = {
|
|
113
127
|
key: 0,
|
|
114
128
|
class: "cn-index-page__map-missing",
|
|
115
129
|
"data-testid": "cn-index-map-missing"
|
|
116
130
|
};
|
|
117
|
-
const
|
|
118
|
-
key:
|
|
131
|
+
const _hoisted_46 = {
|
|
132
|
+
key: 14,
|
|
119
133
|
class: "cn-index-page__content-search-note",
|
|
120
134
|
"data-testid": "cn-index-content-search-note"
|
|
121
135
|
};
|
|
122
|
-
const
|
|
123
|
-
key:
|
|
136
|
+
const _hoisted_47 = {
|
|
137
|
+
key: 15,
|
|
124
138
|
class: "cn-index-page__map-count",
|
|
125
139
|
"data-testid": "cn-index-map-count"
|
|
126
140
|
};
|
|
127
|
-
const
|
|
141
|
+
const _hoisted_48 = {
|
|
128
142
|
key: 0,
|
|
129
143
|
"data-testid": "cn-index-map-count-line"
|
|
130
144
|
};
|
|
131
|
-
const
|
|
145
|
+
const _hoisted_49 = {
|
|
132
146
|
key: 1,
|
|
133
147
|
class: "cn-index-page__map-cap",
|
|
134
148
|
"data-testid": "cn-index-map-cap"
|
|
135
149
|
};
|
|
136
|
-
const
|
|
137
|
-
key:
|
|
150
|
+
const _hoisted_50 = {
|
|
151
|
+
key: 16,
|
|
138
152
|
class: "cn-index-page__board-load",
|
|
139
153
|
"data-testid": "cn-index-board-load"
|
|
140
154
|
};
|
|
141
|
-
const
|
|
155
|
+
const _hoisted_51 = {
|
|
142
156
|
class: "cn-index-page__board-load-count",
|
|
143
157
|
"data-testid": "cn-index-board-load-count"
|
|
144
158
|
};
|
|
145
|
-
const
|
|
146
|
-
const
|
|
159
|
+
const _hoisted_52 = ["data-split-layout"];
|
|
160
|
+
const _hoisted_53 = ["href", "title"];
|
|
147
161
|
|
|
148
162
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
149
163
|
const _component_CnBuildiqEditButton = resolveComponent("CnBuildiqEditButton");
|
|
@@ -182,6 +196,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
182
196
|
const _component_CnAdvancedFormDialog = resolveComponent("CnAdvancedFormDialog");
|
|
183
197
|
const _component_CnFolderSidebar = resolveComponent("CnFolderSidebar");
|
|
184
198
|
const _component_NcLoadingIcon = resolveComponent("NcLoadingIcon");
|
|
199
|
+
const _component_NcNoteCard = resolveComponent("NcNoteCard");
|
|
185
200
|
const _component_AlertCircleOutline = resolveComponent("AlertCircleOutline");
|
|
186
201
|
const _component_CnEmptyContent = resolveComponent("CnEmptyContent");
|
|
187
202
|
const _component_DatabaseSearch = resolveComponent("DatabaseSearch");
|
|
@@ -199,7 +214,6 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
199
214
|
const _component_CnCardGrid = resolveComponent("CnCardGrid");
|
|
200
215
|
const _component_CnContextMenu = resolveComponent("CnContextMenu");
|
|
201
216
|
const _component_CnPagination = resolveComponent("CnPagination");
|
|
202
|
-
const _component_NcNoteCard = resolveComponent("NcNoteCard");
|
|
203
217
|
const _component_Close = resolveComponent("Close");
|
|
204
218
|
const _component_CnIndexSidebar = resolveComponent("CnIndexSidebar");
|
|
205
219
|
|
|
@@ -1089,482 +1103,500 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1089
1103
|
name: $props.loadingText
|
|
1090
1104
|
}, null, 8 /* PROPS */, ["name"])
|
|
1091
1105
|
]))
|
|
1092
|
-
: ($options.
|
|
1106
|
+
: ($options.searchRefusal)
|
|
1093
1107
|
? (openBlock(), createElementBlock("div", _hoisted_27, [
|
|
1094
|
-
createVNode(
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1108
|
+
createVNode(_component_NcNoteCard, { type: "warning" }, {
|
|
1109
|
+
default: withCtx(() => [
|
|
1110
|
+
createElementVNode("p", _hoisted_28, toDisplayString(_ctx.t('nextcloud-vue', 'This search could not be read from character {position}.', { position: $options.searchRefusal.position })), 1 /* TEXT */),
|
|
1111
|
+
createElementVNode("p", _hoisted_29, [
|
|
1112
|
+
createElementVNode("span", null, toDisplayString($options.searchRefusal.before), 1 /* TEXT */),
|
|
1113
|
+
($options.searchRefusal.at)
|
|
1114
|
+
? (openBlock(), createElementBlock("mark", _hoisted_30, toDisplayString($options.searchRefusal.at), 1 /* TEXT */))
|
|
1115
|
+
: createCommentVNode("v-if", true),
|
|
1116
|
+
createElementVNode("span", null, toDisplayString($options.searchRefusal.after), 1 /* TEXT */)
|
|
1117
|
+
]),
|
|
1118
|
+
createElementVNode("p", _hoisted_31, toDisplayString($options.searchRefusal.message), 1 /* TEXT */),
|
|
1119
|
+
createElementVNode("p", _hoisted_32, toDisplayString($options.searchRefusalHintText), 1 /* TEXT */)
|
|
1103
1120
|
]),
|
|
1104
1121
|
_: 1 /* STABLE */
|
|
1105
|
-
}
|
|
1122
|
+
})
|
|
1106
1123
|
]))
|
|
1107
|
-
: ($options.
|
|
1108
|
-
? (openBlock(), createElementBlock("div",
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
: (openBlock(), createBlock(_component_DatabaseSearch, {
|
|
1122
|
-
key: 1,
|
|
1123
|
-
size: 64
|
|
1124
|
-
}))
|
|
1125
|
-
]),
|
|
1126
|
-
_: 1 /* STABLE */
|
|
1127
|
-
}, 8 /* PROPS */, ["name", "data-lens-unavailable"])
|
|
1128
|
-
])
|
|
1124
|
+
: ($options.selfFetchFailed)
|
|
1125
|
+
? (openBlock(), createElementBlock("div", _hoisted_33, [
|
|
1126
|
+
createVNode(_component_CnEmptyContent, {
|
|
1127
|
+
error: "",
|
|
1128
|
+
name: _ctx.t('nextcloud-vue', 'An error occurred'),
|
|
1129
|
+
description: $options.effectiveSearchValue
|
|
1130
|
+
? _ctx.t('nextcloud-vue', 'Change the search or try again.')
|
|
1131
|
+
: _ctx.t('nextcloud-vue', 'Try again later.')
|
|
1132
|
+
}, {
|
|
1133
|
+
icon: withCtx(() => [
|
|
1134
|
+
createVNode(_component_AlertCircleOutline, { size: 64 })
|
|
1135
|
+
]),
|
|
1136
|
+
_: 1 /* STABLE */
|
|
1137
|
+
}, 8 /* PROPS */, ["name", "description"])
|
|
1129
1138
|
]))
|
|
1130
|
-
: ($
|
|
1131
|
-
? (openBlock(),
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
:
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1139
|
+
: ($options.effectiveObjects.length === 0)
|
|
1140
|
+
? (openBlock(), createElementBlock("div", _hoisted_34, [
|
|
1141
|
+
renderSlot(_ctx.$slots, "empty", {}, () => [
|
|
1142
|
+
createVNode(_component_CnEmptyContent, {
|
|
1143
|
+
name: $options.lensReasonText || $options.resolvedEmptyText,
|
|
1144
|
+
"data-lens-unavailable": $options.lensReasonText ? 'true' : null
|
|
1145
|
+
}, {
|
|
1146
|
+
icon: withCtx(() => [
|
|
1147
|
+
($options.resolvedIcon)
|
|
1148
|
+
? (openBlock(), createBlock(_component_CnIcon, {
|
|
1149
|
+
key: 0,
|
|
1150
|
+
name: $options.resolvedIcon,
|
|
1151
|
+
size: 64
|
|
1152
|
+
}, null, 8 /* PROPS */, ["name"]))
|
|
1153
|
+
: (openBlock(), createBlock(_component_DatabaseSearch, {
|
|
1154
|
+
key: 1,
|
|
1155
|
+
size: 64
|
|
1156
|
+
}))
|
|
1157
|
+
]),
|
|
1158
|
+
_: 1 /* STABLE */
|
|
1159
|
+
}, 8 /* PROPS */, ["name", "data-lens-unavailable"])
|
|
1160
|
+
])
|
|
1161
|
+
]))
|
|
1162
|
+
: ($data.currentViewMode === 'table')
|
|
1163
|
+
? (openBlock(), createBlock(_component_CnDataTable, {
|
|
1164
|
+
key: 6,
|
|
1165
|
+
schema: $options.effectiveSchema,
|
|
1166
|
+
columns: $options.renderedColumns,
|
|
1167
|
+
pinnedCount: $options.pinnedColumnCount,
|
|
1168
|
+
rowIcon: $props.rowIcon,
|
|
1169
|
+
rowIndicators: $props.rowIndicators,
|
|
1170
|
+
rowIndicatorCap: $props.rowIndicatorCap,
|
|
1171
|
+
rows: $options.displayObjects,
|
|
1172
|
+
sortKey: $options.effectiveSortKey,
|
|
1173
|
+
sortOrder: $options.effectiveSortOrder,
|
|
1174
|
+
sortKeys: $options.effectiveSortKeys,
|
|
1175
|
+
selectable: $props.selectable,
|
|
1176
|
+
hideHeader: $props.hideTableHeader,
|
|
1177
|
+
rowClickToView: $options.rowClickOpens,
|
|
1178
|
+
selectedIds: $data.internalSelectedIds,
|
|
1179
|
+
rowKey: $props.rowKey,
|
|
1180
|
+
emptyText: $props.emptyText,
|
|
1181
|
+
excludeColumns: $props.excludeColumns,
|
|
1182
|
+
includeColumns: $props.includeColumns,
|
|
1183
|
+
columnOverrides: $props.columnOverrides,
|
|
1184
|
+
rowClass: $options.compiledRowClass,
|
|
1185
|
+
rowTitle: $props.rowTitle,
|
|
1186
|
+
showUnread: $options.showUnreadRows,
|
|
1187
|
+
filterable: $options.tableHeaderFilters,
|
|
1188
|
+
activeFilters: $options.tableActiveFilters,
|
|
1189
|
+
filterRegister: typeof $props.register === 'string' ? $props.register : '',
|
|
1190
|
+
onColumnFilter: $options.onColumnFilterEvent,
|
|
1191
|
+
onSort: $options.onSortEvent,
|
|
1192
|
+
onSelect: $options.onSelect,
|
|
1193
|
+
onRowClick: $options.onRowClick,
|
|
1194
|
+
onRowAuxClick: $options.onRowAuxClick,
|
|
1195
|
+
onRowContextMenu: $options.onRowContextMenu
|
|
1196
|
+
}, createSlots({ _: 2 /* DYNAMIC */ }, [
|
|
1197
|
+
($options.followColumnOn)
|
|
1198
|
+
? {
|
|
1199
|
+
name: "column-__follow",
|
|
1200
|
+
fn: withCtx(({ row }) => [
|
|
1201
|
+
(row && row['@self'] && typeof row['@self'].watching === 'boolean')
|
|
1202
|
+
? (openBlock(), createBlock(_component_CnFollowToggle, {
|
|
1203
|
+
key: 0,
|
|
1204
|
+
compact: "",
|
|
1205
|
+
register: typeof $props.register === 'string' ? $props.register : '',
|
|
1206
|
+
schema: $options.favouriteSchemaSlug,
|
|
1207
|
+
objectId: String(row['@self'].id || row.id || ''),
|
|
1208
|
+
watching: row['@self'].watching === true
|
|
1209
|
+
}, null, 8 /* PROPS */, ["register", "schema", "objectId", "watching"]))
|
|
1210
|
+
: createCommentVNode("v-if", true)
|
|
1211
|
+
]),
|
|
1212
|
+
key: "0"
|
|
1213
|
+
}
|
|
1214
|
+
: undefined,
|
|
1215
|
+
renderList($options.slotColumns, (col) => {
|
|
1216
|
+
return {
|
|
1217
|
+
name: `column-${col}`,
|
|
1218
|
+
fn: withCtx(({ row, value }) => [
|
|
1219
|
+
renderSlot(_ctx.$slots, 'column-' + col, {
|
|
1220
|
+
row: row,
|
|
1221
|
+
value: value
|
|
1222
|
+
})
|
|
1223
|
+
])
|
|
1208
1224
|
}
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1225
|
+
}),
|
|
1226
|
+
($options.hasRowActions)
|
|
1227
|
+
? {
|
|
1228
|
+
name: "row-actions",
|
|
1229
|
+
fn: withCtx(({ row }) => [
|
|
1230
|
+
renderSlot(_ctx.$slots, "row-actions", { row: row }, () => [
|
|
1231
|
+
createVNode(_component_CnRowActions, {
|
|
1232
|
+
actions: $options.rowActionsFor(row),
|
|
1233
|
+
row: row,
|
|
1234
|
+
rowLabel: $options.rowTitleFor(row),
|
|
1235
|
+
onAction: $options.onRowAction
|
|
1236
|
+
}, null, 8 /* PROPS */, ["actions", "row", "rowLabel", "onAction"])
|
|
1237
|
+
])
|
|
1238
|
+
]),
|
|
1239
|
+
key: "1"
|
|
1240
|
+
}
|
|
1241
|
+
: undefined,
|
|
1242
|
+
(($options.showHeaderFilterMenu) || ($props.columnMenu && $options.governedColumns.length))
|
|
1243
|
+
? {
|
|
1244
|
+
name: "actions-header",
|
|
1245
|
+
fn: withCtx(() => [
|
|
1246
|
+
($options.showHeaderFilterMenu)
|
|
1247
|
+
? (openBlock(), createBlock(_component_NcActions, {
|
|
1248
|
+
key: 0,
|
|
1249
|
+
forceMenu: true,
|
|
1250
|
+
"aria-label": _ctx.t('nextcloud-vue', 'Filter')
|
|
1251
|
+
}, {
|
|
1252
|
+
icon: withCtx(() => [
|
|
1253
|
+
createVNode(_component_FilterOutline, { size: 20 })
|
|
1254
|
+
]),
|
|
1255
|
+
default: withCtx(() => [
|
|
1256
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.filterableFields, (field) => {
|
|
1257
|
+
return (openBlock(), createElementBlock(Fragment, {
|
|
1258
|
+
key: field.key
|
|
1259
|
+
}, [
|
|
1260
|
+
createVNode(_component_NcActionCaption, {
|
|
1261
|
+
name: field.label
|
|
1262
|
+
}, null, 8 /* PROPS */, ["name"]),
|
|
1263
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(field.values, (val) => {
|
|
1264
|
+
return (openBlock(), createBlock(_component_NcActionCheckbox, {
|
|
1265
|
+
key: `${field.key}-${val}`,
|
|
1266
|
+
modelValue: $options.isFilterActive(field.key, val),
|
|
1267
|
+
"onUpdate:modelValue": $event => ($options.toggleFilter(field.key, val))
|
|
1268
|
+
}, {
|
|
1269
|
+
default: withCtx(() => [
|
|
1270
|
+
createTextVNode(toDisplayString(val), 1 /* TEXT */)
|
|
1271
|
+
]),
|
|
1272
|
+
_: 2 /* DYNAMIC */
|
|
1273
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["modelValue", "onUpdate:modelValue"]))
|
|
1274
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
1275
|
+
], 64 /* STABLE_FRAGMENT */))
|
|
1276
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
1277
|
+
]),
|
|
1278
|
+
_: 1 /* STABLE */
|
|
1279
|
+
}, 8 /* PROPS */, ["aria-label"]))
|
|
1280
|
+
: createCommentVNode("v-if", true),
|
|
1281
|
+
($props.columnMenu && $options.governedColumns.length)
|
|
1282
|
+
? (openBlock(), createBlock(_component_NcActions, {
|
|
1283
|
+
key: 1,
|
|
1284
|
+
forceMenu: true,
|
|
1285
|
+
"aria-label": _ctx.t('nextcloud-vue', 'Columns')
|
|
1286
|
+
}, {
|
|
1287
|
+
icon: withCtx(() => [
|
|
1288
|
+
createVNode(_component_ViewColumnOutline, { size: 20 })
|
|
1289
|
+
]),
|
|
1290
|
+
default: withCtx(() => [
|
|
1291
|
+
createVNode(_component_NcActionCaption, {
|
|
1292
|
+
name: _ctx.t('nextcloud-vue', 'Columns')
|
|
1293
|
+
}, null, 8 /* PROPS */, ["name"]),
|
|
1294
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.governedColumns, (col) => {
|
|
1295
|
+
return (openBlock(), createBlock(_component_NcActionCheckbox, {
|
|
1296
|
+
key: `col-${col.key}`,
|
|
1297
|
+
modelValue: $options.isColumnVisible(col.key),
|
|
1298
|
+
"onUpdate:modelValue": $event => ($options.toggleColumn(col.key))
|
|
1299
|
+
}, {
|
|
1300
|
+
default: withCtx(() => [
|
|
1301
|
+
createTextVNode(toDisplayString($options.cnTranslate(col.label || col.key)), 1 /* TEXT */)
|
|
1302
|
+
]),
|
|
1303
|
+
_: 2 /* DYNAMIC */
|
|
1304
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["modelValue", "onUpdate:modelValue"]))
|
|
1305
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
1306
|
+
]),
|
|
1307
|
+
_: 1 /* STABLE */
|
|
1308
|
+
}, 8 /* PROPS */, ["aria-label"]))
|
|
1309
|
+
: createCommentVNode("v-if", true)
|
|
1310
|
+
]),
|
|
1311
|
+
key: "2"
|
|
1312
|
+
}
|
|
1313
|
+
: undefined
|
|
1314
|
+
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["schema", "columns", "pinnedCount", "rowIcon", "rowIndicators", "rowIndicatorCap", "rows", "sortKey", "sortOrder", "sortKeys", "selectable", "hideHeader", "rowClickToView", "selectedIds", "rowKey", "emptyText", "excludeColumns", "includeColumns", "columnOverrides", "rowClass", "rowTitle", "showUnread", "filterable", "activeFilters", "filterRegister", "onColumnFilter", "onSort", "onSelect", "onRowClick", "onRowAuxClick", "onRowContextMenu"]))
|
|
1315
|
+
: ($data.currentViewMode === 'map' && $options.mapListEnabled)
|
|
1316
|
+
? (openBlock(), createElementBlock("div", _hoisted_35, [
|
|
1317
|
+
createVNode(_component_CnMapWidget, {
|
|
1318
|
+
class: "cn-index-page__map",
|
|
1319
|
+
center: $options.mapCenter,
|
|
1320
|
+
zoom: $options.mapZoom,
|
|
1321
|
+
layers: $options.mapLayers,
|
|
1322
|
+
basemaps: $options.mapBasemaps,
|
|
1323
|
+
markers: $options.mapMarkers,
|
|
1324
|
+
clustering: $options.mapClustering,
|
|
1325
|
+
autoFit: true,
|
|
1326
|
+
height: "100%",
|
|
1327
|
+
onMarkerClick: $options.onMarkerClick
|
|
1328
|
+
}, null, 8 /* PROPS */, ["center", "zoom", "layers", "basemaps", "markers", "clustering", "onMarkerClick"]),
|
|
1329
|
+
createElementVNode("div", _hoisted_36, [
|
|
1330
|
+
createElementVNode("ol", {
|
|
1331
|
+
class: "cn-index-page__map-list",
|
|
1332
|
+
"aria-label": $options.mapListLabel,
|
|
1333
|
+
"data-testid": "cn-index-map-list"
|
|
1334
|
+
}, [
|
|
1335
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.mapList.items, (item) => {
|
|
1336
|
+
return (openBlock(), createElementBlock("li", {
|
|
1337
|
+
key: item.key,
|
|
1338
|
+
class: normalizeClass(["cn-index-page__map-item", { 'cn-index-page__map-item--active': $data.activeMapKey === item.key }]),
|
|
1339
|
+
"data-testid": "cn-index-map-item",
|
|
1340
|
+
onMouseenter: $event => ($data.activeMapKey = item.key),
|
|
1341
|
+
onMouseleave: _cache[26] || (_cache[26] = $event => ($data.activeMapKey = '')),
|
|
1342
|
+
onFocusin: $event => ($data.activeMapKey = item.key)
|
|
1343
|
+
}, [
|
|
1344
|
+
createElementVNode("span", _hoisted_39, toDisplayString(item.n), 1 /* TEXT */),
|
|
1345
|
+
createElementVNode("div", _hoisted_40, [
|
|
1346
|
+
createElementVNode("button", {
|
|
1347
|
+
type: "button",
|
|
1348
|
+
class: "cn-index-page__map-title",
|
|
1349
|
+
onClick: $event => ($options.onRowClick(item.row))
|
|
1350
|
+
}, toDisplayString(item.title), 9 /* TEXT, PROPS */, _hoisted_41),
|
|
1351
|
+
(item.sub)
|
|
1352
|
+
? (openBlock(), createElementBlock("span", _hoisted_42, toDisplayString(item.sub), 1 /* TEXT */))
|
|
1353
|
+
: createCommentVNode("v-if", true),
|
|
1354
|
+
(item.pills.length > 0 || item.due)
|
|
1355
|
+
? (openBlock(), createElementBlock("span", _hoisted_43, [
|
|
1356
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(item.pills, (pill, index) => {
|
|
1357
|
+
return (openBlock(), createBlock(_component_CnStatusBadge, {
|
|
1358
|
+
key: index,
|
|
1359
|
+
label: pill.label,
|
|
1360
|
+
variant: pill.variant
|
|
1361
|
+
}, null, 8 /* PROPS */, ["label", "variant"]))
|
|
1362
|
+
}), 128 /* KEYED_FRAGMENT */)),
|
|
1363
|
+
(item.due)
|
|
1364
|
+
? (openBlock(), createElementBlock("span", _hoisted_44, toDisplayString(item.due), 1 /* TEXT */))
|
|
1365
|
+
: createCommentVNode("v-if", true)
|
|
1366
|
+
]))
|
|
1367
|
+
: createCommentVNode("v-if", true)
|
|
1368
|
+
])
|
|
1369
|
+
], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_38))
|
|
1370
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
1371
|
+
], 8 /* PROPS */, _hoisted_37),
|
|
1372
|
+
($options.mapList.missing.length > 0)
|
|
1373
|
+
? (openBlock(), createElementBlock("div", _hoisted_45, [
|
|
1374
|
+
createElementVNode("strong", null, toDisplayString($options.mapMissingTitle), 1 /* TEXT */),
|
|
1375
|
+
createVNode(_component_NcButton, {
|
|
1376
|
+
variant: "tertiary-no-background",
|
|
1377
|
+
"data-testid": "cn-index-map-missing-table",
|
|
1378
|
+
onClick: _cache[27] || (_cache[27] = $event => ($options.onViewModeChange('table')))
|
|
1254
1379
|
}, {
|
|
1255
|
-
icon: withCtx(() => [
|
|
1256
|
-
createVNode(_component_ViewColumnOutline, { size: 20 })
|
|
1257
|
-
]),
|
|
1258
1380
|
default: withCtx(() => [
|
|
1259
|
-
|
|
1260
|
-
name: _ctx.t('nextcloud-vue', 'Columns')
|
|
1261
|
-
}, null, 8 /* PROPS */, ["name"]),
|
|
1262
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList($options.governedColumns, (col) => {
|
|
1263
|
-
return (openBlock(), createBlock(_component_NcActionCheckbox, {
|
|
1264
|
-
key: `col-${col.key}`,
|
|
1265
|
-
modelValue: $options.isColumnVisible(col.key),
|
|
1266
|
-
"onUpdate:modelValue": $event => ($options.toggleColumn(col.key))
|
|
1267
|
-
}, {
|
|
1268
|
-
default: withCtx(() => [
|
|
1269
|
-
createTextVNode(toDisplayString($options.cnTranslate(col.label || col.key)), 1 /* TEXT */)
|
|
1270
|
-
]),
|
|
1271
|
-
_: 2 /* DYNAMIC */
|
|
1272
|
-
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["modelValue", "onUpdate:modelValue"]))
|
|
1273
|
-
}), 128 /* KEYED_FRAGMENT */))
|
|
1381
|
+
createTextVNode(toDisplayString($options.mapMissingLink), 1 /* TEXT */)
|
|
1274
1382
|
]),
|
|
1275
1383
|
_: 1 /* STABLE */
|
|
1276
|
-
}
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
: ($data.currentViewMode === 'map' && $options.mapListEnabled)
|
|
1284
|
-
? (openBlock(), createElementBlock("div", _hoisted_29, [
|
|
1285
|
-
createVNode(_component_CnMapWidget, {
|
|
1286
|
-
class: "cn-index-page__map",
|
|
1287
|
-
center: $options.mapCenter,
|
|
1288
|
-
zoom: $options.mapZoom,
|
|
1289
|
-
layers: $options.mapLayers,
|
|
1290
|
-
basemaps: $options.mapBasemaps,
|
|
1291
|
-
markers: $options.mapMarkers,
|
|
1292
|
-
clustering: $options.mapClustering,
|
|
1293
|
-
autoFit: true,
|
|
1294
|
-
height: "100%",
|
|
1295
|
-
onMarkerClick: $options.onMarkerClick
|
|
1296
|
-
}, null, 8 /* PROPS */, ["center", "zoom", "layers", "basemaps", "markers", "clustering", "onMarkerClick"]),
|
|
1297
|
-
createElementVNode("div", _hoisted_30, [
|
|
1298
|
-
createElementVNode("ol", {
|
|
1299
|
-
class: "cn-index-page__map-list",
|
|
1300
|
-
"aria-label": $options.mapListLabel,
|
|
1301
|
-
"data-testid": "cn-index-map-list"
|
|
1302
|
-
}, [
|
|
1303
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList($options.mapList.items, (item) => {
|
|
1304
|
-
return (openBlock(), createElementBlock("li", {
|
|
1305
|
-
key: item.key,
|
|
1306
|
-
class: normalizeClass(["cn-index-page__map-item", { 'cn-index-page__map-item--active': $data.activeMapKey === item.key }]),
|
|
1307
|
-
"data-testid": "cn-index-map-item",
|
|
1308
|
-
onMouseenter: $event => ($data.activeMapKey = item.key),
|
|
1309
|
-
onMouseleave: _cache[26] || (_cache[26] = $event => ($data.activeMapKey = '')),
|
|
1310
|
-
onFocusin: $event => ($data.activeMapKey = item.key)
|
|
1311
|
-
}, [
|
|
1312
|
-
createElementVNode("span", _hoisted_33, toDisplayString(item.n), 1 /* TEXT */),
|
|
1313
|
-
createElementVNode("div", _hoisted_34, [
|
|
1314
|
-
createElementVNode("button", {
|
|
1315
|
-
type: "button",
|
|
1316
|
-
class: "cn-index-page__map-title",
|
|
1317
|
-
onClick: $event => ($options.onRowClick(item.row))
|
|
1318
|
-
}, toDisplayString(item.title), 9 /* TEXT, PROPS */, _hoisted_35),
|
|
1319
|
-
(item.sub)
|
|
1320
|
-
? (openBlock(), createElementBlock("span", _hoisted_36, toDisplayString(item.sub), 1 /* TEXT */))
|
|
1321
|
-
: createCommentVNode("v-if", true),
|
|
1322
|
-
(item.pills.length > 0 || item.due)
|
|
1323
|
-
? (openBlock(), createElementBlock("span", _hoisted_37, [
|
|
1324
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(item.pills, (pill, index) => {
|
|
1325
|
-
return (openBlock(), createBlock(_component_CnStatusBadge, {
|
|
1326
|
-
key: index,
|
|
1327
|
-
label: pill.label,
|
|
1328
|
-
variant: pill.variant
|
|
1329
|
-
}, null, 8 /* PROPS */, ["label", "variant"]))
|
|
1330
|
-
}), 128 /* KEYED_FRAGMENT */)),
|
|
1331
|
-
(item.due)
|
|
1332
|
-
? (openBlock(), createElementBlock("span", _hoisted_38, toDisplayString(item.due), 1 /* TEXT */))
|
|
1333
|
-
: createCommentVNode("v-if", true)
|
|
1334
|
-
]))
|
|
1335
|
-
: createCommentVNode("v-if", true)
|
|
1336
|
-
])
|
|
1337
|
-
], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_32))
|
|
1338
|
-
}), 128 /* KEYED_FRAGMENT */))
|
|
1339
|
-
], 8 /* PROPS */, _hoisted_31),
|
|
1340
|
-
($options.mapList.missing.length > 0)
|
|
1341
|
-
? (openBlock(), createElementBlock("div", _hoisted_39, [
|
|
1342
|
-
createElementVNode("strong", null, toDisplayString($options.mapMissingTitle), 1 /* TEXT */),
|
|
1343
|
-
createVNode(_component_NcButton, {
|
|
1344
|
-
variant: "tertiary-no-background",
|
|
1345
|
-
"data-testid": "cn-index-map-missing-table",
|
|
1346
|
-
onClick: _cache[27] || (_cache[27] = $event => ($options.onViewModeChange('table')))
|
|
1347
|
-
}, {
|
|
1348
|
-
default: withCtx(() => [
|
|
1349
|
-
createTextVNode(toDisplayString($options.mapMissingLink), 1 /* TEXT */)
|
|
1350
|
-
]),
|
|
1351
|
-
_: 1 /* STABLE */
|
|
1352
|
-
})
|
|
1353
|
-
]))
|
|
1354
|
-
: createCommentVNode("v-if", true)
|
|
1355
|
-
])
|
|
1356
|
-
]))
|
|
1357
|
-
: ($data.currentViewMode === 'map')
|
|
1358
|
-
? (openBlock(), createBlock(_component_CnMapWidget, {
|
|
1359
|
-
key: 7,
|
|
1360
|
-
class: "cn-index-page__map",
|
|
1361
|
-
zoom: $options.mapZoom,
|
|
1362
|
-
center: $options.mapCenter,
|
|
1363
|
-
layers: $options.mapLayers,
|
|
1364
|
-
basemaps: $options.mapBasemaps,
|
|
1365
|
-
markers: $options.mapMarkers,
|
|
1366
|
-
clustering: $options.mapClustering,
|
|
1367
|
-
autoFit: true,
|
|
1368
|
-
height: "100%",
|
|
1369
|
-
onMarkerClick: $options.onMarkerClick
|
|
1370
|
-
}, null, 8 /* PROPS */, ["zoom", "center", "layers", "basemaps", "markers", "clustering", "onMarkerClick"]))
|
|
1371
|
-
: ($data.currentViewMode === 'board')
|
|
1372
|
-
? (openBlock(), createBlock(_component_CnBoardView, {
|
|
1384
|
+
})
|
|
1385
|
+
]))
|
|
1386
|
+
: createCommentVNode("v-if", true)
|
|
1387
|
+
])
|
|
1388
|
+
]))
|
|
1389
|
+
: ($data.currentViewMode === 'map')
|
|
1390
|
+
? (openBlock(), createBlock(_component_CnMapWidget, {
|
|
1373
1391
|
key: 8,
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
sumField: $props.board.sumField || '',
|
|
1388
|
-
sumFormat: $options.boardSumFormat,
|
|
1389
|
-
columnLimit: $props.board.columnLimit || 0,
|
|
1390
|
-
rowKey: $props.rowKey,
|
|
1391
|
-
runTransition: $options.boardRunTransition,
|
|
1392
|
-
paged: $options.isPaged,
|
|
1393
|
-
onSelect: $options.onSelect,
|
|
1394
|
-
onLoadMore: $options.onBoardLoadMore,
|
|
1395
|
-
onCardClick: $options.onRowClick,
|
|
1396
|
-
onCardAuxClick: $options.onRowAuxClick,
|
|
1397
|
-
onMoved: $options.onBoardMoved
|
|
1398
|
-
}, null, 8 /* PROPS */, ["rows", "statusFieldSchema", "statusField", "columnKeyOf", "wrapColumns", "selectable", "selectedIds", "allowedMoves", "cardFields", "swimlaneField", "dueRule", "cardRoles", "colorField", "sumField", "sumFormat", "columnLimit", "rowKey", "runTransition", "paged", "onSelect", "onLoadMore", "onCardClick", "onCardAuxClick", "onMoved"]))
|
|
1399
|
-
: ($data.currentViewMode === 'dateAxis')
|
|
1400
|
-
? (openBlock(), createBlock(_component_CnDateAxisView, {
|
|
1392
|
+
class: "cn-index-page__map",
|
|
1393
|
+
zoom: $options.mapZoom,
|
|
1394
|
+
center: $options.mapCenter,
|
|
1395
|
+
layers: $options.mapLayers,
|
|
1396
|
+
basemaps: $options.mapBasemaps,
|
|
1397
|
+
markers: $options.mapMarkers,
|
|
1398
|
+
clustering: $options.mapClustering,
|
|
1399
|
+
autoFit: true,
|
|
1400
|
+
height: "100%",
|
|
1401
|
+
onMarkerClick: $options.onMarkerClick
|
|
1402
|
+
}, null, 8 /* PROPS */, ["zoom", "center", "layers", "basemaps", "markers", "clustering", "onMarkerClick"]))
|
|
1403
|
+
: ($data.currentViewMode === 'board')
|
|
1404
|
+
? (openBlock(), createBlock(_component_CnBoardView, {
|
|
1401
1405
|
key: 9,
|
|
1402
1406
|
rows: $options.displayObjects,
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
+
statusFieldSchema: $options.boardFieldSchema,
|
|
1408
|
+
statusField: $options.boardColumnField,
|
|
1409
|
+
columnKeyOf: $options.boardColumnKeyOf,
|
|
1410
|
+
wrapColumns: $props.board.wrap === true,
|
|
1411
|
+
selectable: $props.selectable,
|
|
1412
|
+
selectedIds: $data.internalSelectedIds,
|
|
1413
|
+
allowedMoves: $options.boardAllowedMoves,
|
|
1414
|
+
cardFields: $props.board.cardFields || [],
|
|
1415
|
+
swimlaneField: $props.board.swimlaneField || '',
|
|
1416
|
+
dueRule: $props.board.dueRule || null,
|
|
1417
|
+
cardRoles: $props.board.card || null,
|
|
1418
|
+
colorField: $props.board.colorField || '',
|
|
1419
|
+
sumField: $props.board.sumField || '',
|
|
1420
|
+
sumFormat: $options.boardSumFormat,
|
|
1421
|
+
columnLimit: $props.board.columnLimit || 0,
|
|
1407
1422
|
rowKey: $props.rowKey,
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1423
|
+
runTransition: $options.boardRunTransition,
|
|
1424
|
+
paged: $options.isPaged,
|
|
1425
|
+
onSelect: $options.onSelect,
|
|
1426
|
+
onLoadMore: $options.onBoardLoadMore,
|
|
1427
|
+
onCardClick: $options.onRowClick,
|
|
1428
|
+
onCardAuxClick: $options.onRowAuxClick,
|
|
1429
|
+
onMoved: $options.onBoardMoved
|
|
1430
|
+
}, null, 8 /* PROPS */, ["rows", "statusFieldSchema", "statusField", "columnKeyOf", "wrapColumns", "selectable", "selectedIds", "allowedMoves", "cardFields", "swimlaneField", "dueRule", "cardRoles", "colorField", "sumField", "sumFormat", "columnLimit", "rowKey", "runTransition", "paged", "onSelect", "onLoadMore", "onCardClick", "onCardAuxClick", "onMoved"]))
|
|
1431
|
+
: ($data.currentViewMode === 'dateAxis')
|
|
1432
|
+
? (openBlock(), createBlock(_component_CnDateAxisView, {
|
|
1413
1433
|
key: 10,
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1434
|
+
rows: $options.displayObjects,
|
|
1435
|
+
startField: $props.dateAxis.startField || '',
|
|
1436
|
+
endField: $props.dateAxis.endField || '',
|
|
1437
|
+
laneField: $props.dateAxis.laneField || '',
|
|
1438
|
+
labelField: $props.dateAxis.labelField || '',
|
|
1418
1439
|
rowKey: $props.rowKey,
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
: ($data.currentViewMode === 'list')
|
|
1425
|
-
? (openBlock(), createBlock(_component_CnObjectList, {
|
|
1440
|
+
onRowClick: $options.onRowClick,
|
|
1441
|
+
onRowAuxClick: $options.onRowAuxClick
|
|
1442
|
+
}, null, 8 /* PROPS */, ["rows", "startField", "endField", "laneField", "labelField", "rowKey", "onRowClick", "onRowAuxClick"]))
|
|
1443
|
+
: ($data.currentViewMode === 'calendar')
|
|
1444
|
+
? (openBlock(), createBlock(_component_CnObjectCalendar, {
|
|
1426
1445
|
key: 11,
|
|
1427
1446
|
objects: $options.displayObjects,
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
selectedIds: $data.internalSelectedIds,
|
|
1447
|
+
dateField: $props.calendar.dateField || '',
|
|
1448
|
+
endDateField: $props.calendar.endDateField || null,
|
|
1449
|
+
titleField: $props.calendar.titleField || null,
|
|
1432
1450
|
rowKey: $props.rowKey,
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
},
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
:
|
|
1451
|
+
loading: $options.effectiveLoading,
|
|
1452
|
+
onRangeChange: $options.onCalendarRange,
|
|
1453
|
+
onObjectClick: $options.onRowClick,
|
|
1454
|
+
onDaySelect: $options.onCalendarDaySelect
|
|
1455
|
+
}, null, 8 /* PROPS */, ["objects", "dateField", "endDateField", "titleField", "rowKey", "loading", "onRangeChange", "onObjectClick", "onDaySelect"]))
|
|
1456
|
+
: ($data.currentViewMode === 'list')
|
|
1457
|
+
? (openBlock(), createBlock(_component_CnObjectList, {
|
|
1458
|
+
key: 12,
|
|
1459
|
+
objects: $options.displayObjects,
|
|
1460
|
+
schema: $options.effectiveSchema,
|
|
1461
|
+
config: $props.listConfig,
|
|
1462
|
+
selectable: $props.selectable,
|
|
1463
|
+
selectedIds: $data.internalSelectedIds,
|
|
1464
|
+
rowKey: $props.rowKey,
|
|
1465
|
+
emptyText: $props.emptyText,
|
|
1466
|
+
onClick: $options.onRowClick,
|
|
1467
|
+
onAuxClick: $options.onRowAuxClick,
|
|
1468
|
+
onSelect: $options.onSelect
|
|
1469
|
+
}, createSlots({ _: 2 /* DYNAMIC */ }, [
|
|
1470
|
+
(_ctx.$slots['list-item'])
|
|
1450
1471
|
? {
|
|
1451
1472
|
name: "list-item",
|
|
1452
1473
|
fn: withCtx(({ object, selected }) => [
|
|
1453
|
-
(
|
|
1454
|
-
item: object,
|
|
1474
|
+
renderSlot(_ctx.$slots, "list-item", {
|
|
1455
1475
|
object: object,
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1476
|
+
selected: selected
|
|
1477
|
+
})
|
|
1478
|
+
]),
|
|
1479
|
+
key: "0"
|
|
1480
|
+
}
|
|
1481
|
+
: ($options.resolvedListComponent)
|
|
1482
|
+
? {
|
|
1483
|
+
name: "list-item",
|
|
1484
|
+
fn: withCtx(({ object, selected }) => [
|
|
1485
|
+
(openBlock(), createBlock(resolveDynamicComponent($options.resolvedListComponent), {
|
|
1486
|
+
item: object,
|
|
1487
|
+
object: object,
|
|
1488
|
+
schema: $options.effectiveSchema,
|
|
1489
|
+
register: $props.register,
|
|
1490
|
+
selected: selected,
|
|
1491
|
+
onClick: (...args) => $options.onRowClick(object, args.find($options.isDomEvent)),
|
|
1492
|
+
onMousedown: $options.onCustomItemMouseDown,
|
|
1493
|
+
onAuxclick: $event => ($options.onCustomItemAuxClick(object, $event)),
|
|
1494
|
+
onSelect: $event => ($options.onSelect($options.toggleIdInArray($data.internalSelectedIds, object[$props.rowKey])))
|
|
1495
|
+
}, null, 40 /* PROPS, NEED_HYDRATION */, ["item", "object", "schema", "register", "selected", "onClick", "onMousedown", "onAuxclick", "onSelect"]))
|
|
1496
|
+
]),
|
|
1497
|
+
key: "1"
|
|
1498
|
+
}
|
|
1499
|
+
: undefined,
|
|
1500
|
+
(_ctx.$slots['row-icon'])
|
|
1501
|
+
? {
|
|
1502
|
+
name: "row-icon",
|
|
1503
|
+
fn: withCtx(({ object }) => [
|
|
1504
|
+
renderSlot(_ctx.$slots, "row-icon", { object: object })
|
|
1464
1505
|
]),
|
|
1465
|
-
key: "
|
|
1506
|
+
key: "2"
|
|
1466
1507
|
}
|
|
1467
1508
|
: undefined,
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
:
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
accentOf: $props.cardAccent,
|
|
1513
|
-
selectedIds: $data.internalSelectedIds,
|
|
1514
|
-
rowKey: $props.rowKey,
|
|
1515
|
-
emptyText: $props.emptyText,
|
|
1516
|
-
onClick: $options.onRowClick,
|
|
1517
|
-
onAuxClick: $options.onRowAuxClick,
|
|
1518
|
-
onSelect: $options.onSelect
|
|
1519
|
-
}, createSlots({ _: 2 /* DYNAMIC */ }, [
|
|
1520
|
-
(_ctx.$slots.card)
|
|
1521
|
-
? {
|
|
1522
|
-
name: "card",
|
|
1523
|
-
fn: withCtx(({ object, selected }) => [
|
|
1524
|
-
renderSlot(_ctx.$slots, "card", {
|
|
1525
|
-
object: object,
|
|
1526
|
-
selected: selected
|
|
1527
|
-
})
|
|
1528
|
-
]),
|
|
1529
|
-
key: "0"
|
|
1530
|
-
}
|
|
1531
|
-
: ($options.resolvedCardComponent)
|
|
1509
|
+
(_ctx.$slots['row-badges'])
|
|
1510
|
+
? {
|
|
1511
|
+
name: "row-badges",
|
|
1512
|
+
fn: withCtx(({ object }) => [
|
|
1513
|
+
renderSlot(_ctx.$slots, "row-badges", { object: object })
|
|
1514
|
+
]),
|
|
1515
|
+
key: "3"
|
|
1516
|
+
}
|
|
1517
|
+
: undefined,
|
|
1518
|
+
($options.hasRowActions || _ctx.$slots['row-actions'])
|
|
1519
|
+
? {
|
|
1520
|
+
name: "row-actions",
|
|
1521
|
+
fn: withCtx(({ object }) => [
|
|
1522
|
+
renderSlot(_ctx.$slots, "row-actions", { row: object }, () => [
|
|
1523
|
+
createVNode(_component_CnRowActions, {
|
|
1524
|
+
actions: $options.rowActionsFor(object),
|
|
1525
|
+
row: object,
|
|
1526
|
+
rowLabel: $options.rowTitleFor(object),
|
|
1527
|
+
onAction: $options.onRowAction
|
|
1528
|
+
}, null, 8 /* PROPS */, ["actions", "row", "rowLabel", "onAction"])
|
|
1529
|
+
])
|
|
1530
|
+
]),
|
|
1531
|
+
key: "4"
|
|
1532
|
+
}
|
|
1533
|
+
: undefined
|
|
1534
|
+
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["objects", "schema", "config", "selectable", "selectedIds", "rowKey", "emptyText", "onClick", "onAuxClick", "onSelect"]))
|
|
1535
|
+
: (openBlock(), createBlock(_component_CnCardGrid, {
|
|
1536
|
+
key: 13,
|
|
1537
|
+
objects: $options.displayObjects,
|
|
1538
|
+
schema: $options.effectiveSchema,
|
|
1539
|
+
selectable: $props.selectable,
|
|
1540
|
+
clickToView: $options.rowClickOpens,
|
|
1541
|
+
cardFields: $options.resolvedCardFields,
|
|
1542
|
+
cardLayout: $props.cardLayout,
|
|
1543
|
+
cardFieldColumns: $options.cardFieldColumns,
|
|
1544
|
+
accentOf: $props.cardAccent,
|
|
1545
|
+
selectedIds: $data.internalSelectedIds,
|
|
1546
|
+
rowKey: $props.rowKey,
|
|
1547
|
+
emptyText: $props.emptyText,
|
|
1548
|
+
onClick: $options.onRowClick,
|
|
1549
|
+
onAuxClick: $options.onRowAuxClick,
|
|
1550
|
+
onSelect: $options.onSelect
|
|
1551
|
+
}, createSlots({ _: 2 /* DYNAMIC */ }, [
|
|
1552
|
+
(_ctx.$slots.card)
|
|
1532
1553
|
? {
|
|
1533
1554
|
name: "card",
|
|
1534
1555
|
fn: withCtx(({ object, selected }) => [
|
|
1535
|
-
(
|
|
1536
|
-
item: object,
|
|
1556
|
+
renderSlot(_ctx.$slots, "card", {
|
|
1537
1557
|
object: object,
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
selected: selected,
|
|
1541
|
-
onClick: (...args) => $options.onRowClick(object, args.find($options.isDomEvent)),
|
|
1542
|
-
onMousedown: $options.onCustomItemMouseDown,
|
|
1543
|
-
onAuxclick: $event => ($options.onCustomItemAuxClick(object, $event)),
|
|
1544
|
-
onSelect: $event => ($options.onSelect($options.toggleIdInArray($data.internalSelectedIds, object[$props.rowKey])))
|
|
1545
|
-
}, null, 40 /* PROPS, NEED_HYDRATION */, ["item", "object", "schema", "register", "selected", "onClick", "onMousedown", "onAuxclick", "onSelect"]))
|
|
1558
|
+
selected: selected
|
|
1559
|
+
})
|
|
1546
1560
|
]),
|
|
1547
|
-
key: "
|
|
1561
|
+
key: "0"
|
|
1548
1562
|
}
|
|
1549
|
-
:
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1563
|
+
: ($options.resolvedCardComponent)
|
|
1564
|
+
? {
|
|
1565
|
+
name: "card",
|
|
1566
|
+
fn: withCtx(({ object, selected }) => [
|
|
1567
|
+
(openBlock(), createBlock(resolveDynamicComponent($options.resolvedCardComponent), {
|
|
1568
|
+
item: object,
|
|
1569
|
+
object: object,
|
|
1570
|
+
schema: $options.effectiveSchema,
|
|
1571
|
+
register: $props.register,
|
|
1572
|
+
selected: selected,
|
|
1573
|
+
onClick: (...args) => $options.onRowClick(object, args.find($options.isDomEvent)),
|
|
1574
|
+
onMousedown: $options.onCustomItemMouseDown,
|
|
1575
|
+
onAuxclick: $event => ($options.onCustomItemAuxClick(object, $event)),
|
|
1576
|
+
onSelect: $event => ($options.onSelect($options.toggleIdInArray($data.internalSelectedIds, object[$props.rowKey])))
|
|
1577
|
+
}, null, 40 /* PROPS, NEED_HYDRATION */, ["item", "object", "schema", "register", "selected", "onClick", "onMousedown", "onAuxclick", "onSelect"]))
|
|
1578
|
+
]),
|
|
1579
|
+
key: "1"
|
|
1580
|
+
}
|
|
1581
|
+
: undefined,
|
|
1582
|
+
($options.hasRowActions)
|
|
1583
|
+
? {
|
|
1584
|
+
name: "card-actions",
|
|
1585
|
+
fn: withCtx(({ object }) => [
|
|
1586
|
+
renderSlot(_ctx.$slots, "row-actions", { row: object }, () => [
|
|
1587
|
+
createVNode(_component_CnRowActions, {
|
|
1588
|
+
actions: $options.rowActionsFor(object),
|
|
1589
|
+
row: object,
|
|
1590
|
+
rowLabel: $options.rowTitleFor(object),
|
|
1591
|
+
triggerLabel: $setup.isBoardLook ? _ctx.t('nextcloud-vue', 'More actions for {name}', { name: $options.rowTitleFor(object) }) : '',
|
|
1592
|
+
onAction: $options.onRowAction
|
|
1593
|
+
}, null, 8 /* PROPS */, ["actions", "row", "rowLabel", "triggerLabel", "onAction"])
|
|
1594
|
+
])
|
|
1595
|
+
]),
|
|
1596
|
+
key: "2"
|
|
1597
|
+
}
|
|
1598
|
+
: undefined
|
|
1599
|
+
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["objects", "schema", "selectable", "clickToView", "cardFields", "cardLayout", "cardFieldColumns", "accentOf", "selectedIds", "rowKey", "emptyText", "onClick", "onAuxClick", "onSelect"])),
|
|
1568
1600
|
createVNode(_component_CnContextMenu, {
|
|
1569
1601
|
open: $setup.contextMenuOpen,
|
|
1570
1602
|
"onUpdate:open": _cache[28] || (_cache[28] = $event => (($setup.contextMenuOpen) = $event)),
|
|
@@ -1574,21 +1606,21 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1574
1606
|
onClose: $setup.closeContextMenu
|
|
1575
1607
|
}, null, 8 /* PROPS */, ["open", "actions", "targetItem", "onAction", "onClose"]),
|
|
1576
1608
|
($props.searchInFiles && $setup.contentSearch)
|
|
1577
|
-
? (openBlock(), createElementBlock("p",
|
|
1609
|
+
? (openBlock(), createElementBlock("p", _hoisted_46, toDisplayString(_ctx.t('nextcloud-vue', 'File matches are limited to the best 50.')), 1 /* TEXT */))
|
|
1578
1610
|
: createCommentVNode("v-if", true),
|
|
1579
1611
|
($options.mapCountLine || $options.mapCapNote)
|
|
1580
|
-
? (openBlock(), createElementBlock("div",
|
|
1612
|
+
? (openBlock(), createElementBlock("div", _hoisted_47, [
|
|
1581
1613
|
($options.mapCountLine)
|
|
1582
|
-
? (openBlock(), createElementBlock("span",
|
|
1614
|
+
? (openBlock(), createElementBlock("span", _hoisted_48, toDisplayString($options.mapCountLine), 1 /* TEXT */))
|
|
1583
1615
|
: createCommentVNode("v-if", true),
|
|
1584
1616
|
($options.mapCapNote)
|
|
1585
|
-
? (openBlock(), createElementBlock("span",
|
|
1617
|
+
? (openBlock(), createElementBlock("span", _hoisted_49, toDisplayString($options.mapCapNote), 1 /* TEXT */))
|
|
1586
1618
|
: createCommentVNode("v-if", true)
|
|
1587
1619
|
]))
|
|
1588
1620
|
: createCommentVNode("v-if", true),
|
|
1589
1621
|
($options.boardLoadsAll && $options.boardLoadCounts.total > 0)
|
|
1590
|
-
? (openBlock(), createElementBlock("div",
|
|
1591
|
-
createElementVNode("span",
|
|
1622
|
+
? (openBlock(), createElementBlock("div", _hoisted_50, [
|
|
1623
|
+
createElementVNode("span", _hoisted_51, toDisplayString(_ctx.t('nextcloud-vue', 'Showing {count} of {total}', { count: $options.boardLoadCounts.shown, total: $options.boardLoadCounts.total })), 1 /* TEXT */),
|
|
1592
1624
|
($options.isPaged)
|
|
1593
1625
|
? (openBlock(), createBlock(_component_NcButton, {
|
|
1594
1626
|
key: 0,
|
|
@@ -1605,7 +1637,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1605
1637
|
]))
|
|
1606
1638
|
: ($options.effectivePagination && ($options.effectivePagination.pages > 1 || ($setup.isBoardLook && $options.effectivePagination.total > 0)))
|
|
1607
1639
|
? (openBlock(), createBlock(_component_CnPagination, {
|
|
1608
|
-
key:
|
|
1640
|
+
key: 17,
|
|
1609
1641
|
variant: $setup.isBoardLook ? 'board' : '',
|
|
1610
1642
|
footerNote: $options.effectiveFooterNote,
|
|
1611
1643
|
currentPage: $options.effectivePagination.page || 1,
|
|
@@ -1619,7 +1651,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1619
1651
|
: createCommentVNode("v-if", true),
|
|
1620
1652
|
($props.notice && $props.notice.text)
|
|
1621
1653
|
? (openBlock(), createBlock(_component_NcNoteCard, {
|
|
1622
|
-
key:
|
|
1654
|
+
key: 18,
|
|
1623
1655
|
class: "cn-index-page__notice",
|
|
1624
1656
|
type: $options.noticeType,
|
|
1625
1657
|
"data-testid": "cn-index-page-notice"
|
|
@@ -1632,7 +1664,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1632
1664
|
: createCommentVNode("v-if", true),
|
|
1633
1665
|
($options.presentedAfterList.length > 0)
|
|
1634
1666
|
? (openBlock(), createBlock(_component_CnIndexPageWidgets, {
|
|
1635
|
-
key:
|
|
1667
|
+
key: 19,
|
|
1636
1668
|
class: "cn-index-page__after-list",
|
|
1637
1669
|
variant: "after-list",
|
|
1638
1670
|
widgets: $options.presentedAfterList
|
|
@@ -1660,7 +1692,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1660
1692
|
}, [
|
|
1661
1693
|
createVNode(_component_Close, { size: 16 }),
|
|
1662
1694
|
createElementVNode("span", null, toDisplayString($options.splitCloseTitle), 1 /* TEXT */)
|
|
1663
|
-
], 8 /* PROPS */,
|
|
1695
|
+
], 8 /* PROPS */, _hoisted_53))
|
|
1664
1696
|
: createCommentVNode("v-if", true),
|
|
1665
1697
|
renderSlot(_ctx.$slots, "split-pane", {
|
|
1666
1698
|
id: $props.splitId,
|
|
@@ -1668,7 +1700,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1668
1700
|
close: $options.closeSplitPane,
|
|
1669
1701
|
saved: $options.onSplitPaneSaved
|
|
1670
1702
|
})
|
|
1671
|
-
], 14 /* CLASS, STYLE, PROPS */,
|
|
1703
|
+
], 14 /* CLASS, STYLE, PROPS */, _hoisted_52))
|
|
1672
1704
|
: createCommentVNode("v-if", true)
|
|
1673
1705
|
], 2 /* CLASS */),
|
|
1674
1706
|
($options.shouldRenderInlineSidebar)
|