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