@conduction/nextcloud-vue 2.100.0 → 2.101.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/CnChoiceCards/CnChoiceCards.vue.js +1 -1
- package/dist/esm/components/CnChoiceCards/CnChoiceCards.vue2.js +22 -1
- package/dist/esm/components/CnChoiceCards/CnChoiceCards.vue2.js.map +1 -1
- package/dist/esm/components/CnChoiceCards/CnChoiceCards.vue3.js +26 -16
- package/dist/esm/components/CnChoiceCards/CnChoiceCards.vue3.js.map +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue.js +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js +51 -7
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js.map +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js +104 -73
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js.map +1 -1
- package/dist/esm/components/CnExportsWidget/CnExportsWidget.vue.js +9 -0
- package/dist/esm/components/CnExportsWidget/CnExportsWidget.vue.js.map +1 -0
- package/dist/esm/components/CnExportsWidget/CnExportsWidget.vue2.js +139 -0
- package/dist/esm/components/CnExportsWidget/CnExportsWidget.vue2.js.map +1 -0
- package/dist/esm/components/CnExportsWidget/CnExportsWidget.vue3.js +76 -0
- package/dist/esm/components/CnExportsWidget/CnExportsWidget.vue3.js.map +1 -0
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue.js +1 -1
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue2.js +160 -2
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue2.js.map +1 -1
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue3.js +206 -94
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue3.js.map +1 -1
- package/dist/esm/components/CnFilesBrowser/filesReview.js +61 -0
- package/dist/esm/components/CnFilesBrowser/filesReview.js.map +1 -0
- package/dist/esm/components/CnGroupedCardsWidget/CnGroupedCardsWidget.vue.js +9 -0
- package/dist/esm/components/CnGroupedCardsWidget/CnGroupedCardsWidget.vue.js.map +1 -0
- package/dist/esm/components/CnGroupedCardsWidget/CnGroupedCardsWidget.vue2.js +279 -0
- package/dist/esm/components/CnGroupedCardsWidget/CnGroupedCardsWidget.vue2.js.map +1 -0
- package/dist/esm/components/CnGroupedCardsWidget/CnGroupedCardsWidget.vue3.js +122 -0
- package/dist/esm/components/CnGroupedCardsWidget/CnGroupedCardsWidget.vue3.js.map +1 -0
- package/dist/esm/components/CnGroupedCardsWidget/index.js +29 -0
- package/dist/esm/components/CnGroupedCardsWidget/index.js.map +1 -0
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js +251 -71
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js.map +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue3.js +317 -209
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue3.js.map +1 -1
- package/dist/esm/components/CnIndexPage/useNamedSource.js +4 -1
- package/dist/esm/components/CnIndexPage/useNamedSource.js.map +1 -1
- package/dist/esm/components/CnMapWidget/CnMapWidget.vue.js +1 -1
- package/dist/esm/components/CnMapWidget/CnMapWidget.vue2.js +15 -0
- package/dist/esm/components/CnMapWidget/CnMapWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnMapWidget/CnMapWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue.js +1 -1
- package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue2.js +14 -1
- package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue3.js +14 -6
- package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnObjectSidebar/CnFilesTab.vue.js +1 -1
- package/dist/esm/components/CnObjectSidebar/CnFilesTab.vue2.js +10 -0
- package/dist/esm/components/CnObjectSidebar/CnFilesTab.vue2.js.map +1 -1
- package/dist/esm/components/CnObjectSidebar/CnFilesTab.vue3.js +6 -1
- package/dist/esm/components/CnObjectSidebar/CnFilesTab.vue3.js.map +1 -1
- package/dist/esm/components/CnOrderedListField/CnOrderedListField.vue.js +1 -1
- package/dist/esm/components/CnOrderedListField/CnOrderedListField.vue2.js +91 -4
- package/dist/esm/components/CnOrderedListField/CnOrderedListField.vue2.js.map +1 -1
- package/dist/esm/components/CnOrderedListField/CnOrderedListField.vue3.js +63 -38
- package/dist/esm/components/CnOrderedListField/CnOrderedListField.vue3.js.map +1 -1
- package/dist/esm/components/CnSavedViewAlertWidget/CnSavedViewAlertWidget.vue.js +9 -0
- package/dist/esm/components/CnSavedViewAlertWidget/CnSavedViewAlertWidget.vue.js.map +1 -0
- package/dist/esm/components/CnSavedViewAlertWidget/CnSavedViewAlertWidget.vue2.js +175 -0
- package/dist/esm/components/CnSavedViewAlertWidget/CnSavedViewAlertWidget.vue2.js.map +1 -0
- package/dist/esm/components/CnSavedViewAlertWidget/CnSavedViewAlertWidget.vue3.js +77 -0
- package/dist/esm/components/CnSavedViewAlertWidget/CnSavedViewAlertWidget.vue3.js.map +1 -0
- package/dist/esm/components/CnSetupWizard/CnSetupWizard.vue.js +1 -1
- package/dist/esm/components/CnSetupWizard/CnSetupWizard.vue2.js +35 -2
- package/dist/esm/components/CnSetupWizard/CnSetupWizard.vue2.js.map +1 -1
- package/dist/esm/components/CnSetupWizard/CnSetupWizard.vue3.js.map +1 -1
- package/dist/esm/components/CnWidgetGrid/builtInWidgets.js +4 -0
- package/dist/esm/components/CnWidgetGrid/builtInWidgets.js.map +1 -1
- package/dist/esm/components/CnWidgetGrid/registerDashboardWidgets.js +1 -0
- package/dist/esm/components/CnWidgetGrid/registerDashboardWidgets.js.map +1 -1
- package/dist/esm/composables/indexSources.js +167 -20
- package/dist/esm/composables/indexSources.js.map +1 -1
- package/dist/esm/composables/useEndpointSource.js +28 -6
- package/dist/esm/composables/useEndpointSource.js.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/l10n/en.json.js +37 -1
- package/dist/esm/l10n/en.json.js.map +1 -1
- package/dist/esm/l10n/nl.json.js +35 -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 +769 -251
- package/dist/esm/utils/languageMapText.js +50 -0
- package/dist/esm/utils/languageMapText.js.map +1 -0
- package/dist/esm/utils/libraryWidgetKeys.js +3 -0
- package/dist/esm/utils/libraryWidgetKeys.js.map +1 -1
- package/dist/esm/utils/mapList.js +71 -0
- package/dist/esm/utils/mapList.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 +8977 -6843
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +769 -251
- package/l10n/en.json +37 -1
- package/l10n/nl.json +35 -1
- package/package.json +1 -1
- package/src/components/CnChoiceCards/CnChoiceCards.md +39 -0
- package/src/components/CnChoiceCards/CnChoiceCards.vue +93 -16
- package/src/components/CnDashboardPage/CnDashboardPage.vue +89 -20
- package/src/components/CnExportsWidget/CnExportsWidget.vue +233 -0
- package/src/components/CnExportsWidget/index.js +7 -0
- package/src/components/CnFilesBrowser/CnFilesBrowser.vue +324 -0
- package/src/components/CnFilesBrowser/filesReview.js +57 -0
- package/src/components/CnGroupedCardsWidget/CnGroupedCardsWidget.vue +433 -0
- package/src/components/CnGroupedCardsWidget/index.js +28 -0
- package/src/components/CnIndexPage/CnIndexPage.vue +240 -4
- package/src/components/CnIndexPage/useNamedSource.js +4 -1
- package/src/components/CnMapWidget/CnMapWidget.vue +37 -0
- package/src/components/CnObjectListWidget/CnObjectListWidget.vue +29 -1
- package/src/components/CnObjectSidebar/CnFilesTab.vue +15 -0
- package/src/components/CnOrderedListField/CnOrderedListField.vue +151 -5
- package/src/components/CnSavedViewAlertWidget/CnSavedViewAlertWidget.vue +272 -0
- package/src/components/CnSavedViewAlertWidget/index.js +7 -0
- package/src/components/CnSetupWizard/CnSetupWizard.vue +35 -2
- package/src/components/CnWidgetGrid/builtInWidgets.js +4 -0
- package/src/components/CnWidgetGrid/registerDashboardWidgets.js +1 -0
- package/src/components/index.js +3 -0
- package/src/composables/indexSources.js +166 -19
- package/src/composables/useEndpointSource.js +28 -6
- package/src/css/index-page.css +117 -0
- package/src/css/look-board.css +44 -0
- package/src/index.js +1 -0
- package/src/schemas/app-manifest-v2.schema.json +31 -1
- package/src/utils/languageMapText.js +46 -0
- package/src/utils/libraryWidgetKeys.js +3 -0
- package/src/utils/mapList.js +67 -0
- package/src/utils/validateManifestV2.compiled.js +3 -3
|
@@ -62,21 +62,52 @@ const _hoisted_23 = {
|
|
|
62
62
|
class: "cn-index-page__empty"
|
|
63
63
|
};
|
|
64
64
|
const _hoisted_24 = {
|
|
65
|
-
key:
|
|
65
|
+
key: 4,
|
|
66
|
+
class: "cn-index-page__map-card",
|
|
67
|
+
"data-testid": "cn-index-map-card"
|
|
68
|
+
};
|
|
69
|
+
const _hoisted_25 = { class: "cn-index-page__map-side" };
|
|
70
|
+
const _hoisted_26 = ["aria-label"];
|
|
71
|
+
const _hoisted_27 = ["onMouseenter", "onFocusin"];
|
|
72
|
+
const _hoisted_28 = {
|
|
73
|
+
class: "cn-index-page__map-number",
|
|
74
|
+
"aria-hidden": "true"
|
|
75
|
+
};
|
|
76
|
+
const _hoisted_29 = { class: "cn-index-page__map-text" };
|
|
77
|
+
const _hoisted_30 = ["onClick"];
|
|
78
|
+
const _hoisted_31 = {
|
|
79
|
+
key: 0,
|
|
80
|
+
class: "cn-index-page__map-sub"
|
|
81
|
+
};
|
|
82
|
+
const _hoisted_32 = {
|
|
83
|
+
key: 1,
|
|
84
|
+
class: "cn-index-page__map-pills"
|
|
85
|
+
};
|
|
86
|
+
const _hoisted_33 = {
|
|
87
|
+
key: 0,
|
|
88
|
+
class: "cn-index-page__map-due"
|
|
89
|
+
};
|
|
90
|
+
const _hoisted_34 = {
|
|
91
|
+
key: 0,
|
|
92
|
+
class: "cn-index-page__map-missing",
|
|
93
|
+
"data-testid": "cn-index-map-missing"
|
|
94
|
+
};
|
|
95
|
+
const _hoisted_35 = {
|
|
96
|
+
key: 11,
|
|
66
97
|
class: "cn-index-page__content-search-note",
|
|
67
98
|
"data-testid": "cn-index-content-search-note"
|
|
68
99
|
};
|
|
69
|
-
const
|
|
70
|
-
key:
|
|
100
|
+
const _hoisted_36 = {
|
|
101
|
+
key: 12,
|
|
71
102
|
class: "cn-index-page__board-load",
|
|
72
103
|
"data-testid": "cn-index-board-load"
|
|
73
104
|
};
|
|
74
|
-
const
|
|
105
|
+
const _hoisted_37 = {
|
|
75
106
|
class: "cn-index-page__board-load-count",
|
|
76
107
|
"data-testid": "cn-index-board-load-count"
|
|
77
108
|
};
|
|
78
|
-
const
|
|
79
|
-
const
|
|
109
|
+
const _hoisted_38 = ["data-split-layout"];
|
|
110
|
+
const _hoisted_39 = ["href", "title"];
|
|
80
111
|
|
|
81
112
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
82
113
|
const _component_CnBuildiqEditButton = resolveComponent("CnBuildiqEditButton");
|
|
@@ -123,6 +154,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
123
154
|
const _component_ViewColumnOutline = resolveComponent("ViewColumnOutline");
|
|
124
155
|
const _component_CnDataTable = resolveComponent("CnDataTable");
|
|
125
156
|
const _component_CnMapWidget = resolveComponent("CnMapWidget");
|
|
157
|
+
const _component_CnStatusBadge = resolveComponent("CnStatusBadge");
|
|
126
158
|
const _component_CnBoardView = resolveComponent("CnBoardView");
|
|
127
159
|
const _component_CnDateAxisView = resolveComponent("CnDateAxisView");
|
|
128
160
|
const _component_CnObjectCalendar = resolveComponent("CnObjectCalendar");
|
|
@@ -137,16 +169,16 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
137
169
|
return (openBlock(), createElementBlock("div", {
|
|
138
170
|
class: normalizeClass(["cn-index-page", [$setup.lookClass, { 'cn-index-page--with-side-panel': $options.hasSidePanel }]]),
|
|
139
171
|
"data-testid": "cn-index-page",
|
|
140
|
-
onKeydown: _cache[
|
|
172
|
+
onKeydown: _cache[32] || (_cache[32] = (...args) => ($options.onListKeydown && $options.onListKeydown(...args)))
|
|
141
173
|
}, [
|
|
142
174
|
renderSlot(_ctx.$slots, "header", {
|
|
143
|
-
title: $options.
|
|
175
|
+
title: $options.shownTitle,
|
|
144
176
|
description: $options.headerDescription,
|
|
145
177
|
icon: $options.resolvedIcon,
|
|
146
178
|
showTitle: $props.showTitle
|
|
147
179
|
}, () => [
|
|
148
180
|
createVNode(_component_CnPageHeader, {
|
|
149
|
-
title: $options.
|
|
181
|
+
title: $options.shownTitle,
|
|
150
182
|
description: $options.headerDescription,
|
|
151
183
|
icon: $props.showTitleIcon && !$setup.isBoardLook ? $options.resolvedIcon : '',
|
|
152
184
|
breadcrumb: $options.presented('breadcrumb'),
|
|
@@ -705,7 +737,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
705
737
|
onClick: $event => ($options.onFilterStripPick(entry.value))
|
|
706
738
|
}, [
|
|
707
739
|
createElementVNode("span", null, toDisplayString(entry.label), 1 /* TEXT */),
|
|
708
|
-
_cache[
|
|
740
|
+
_cache[33] || (_cache[33] = createTextVNode()),
|
|
709
741
|
(entry.count !== null)
|
|
710
742
|
? (openBlock(), createElementBlock("span", _hoisted_18, toDisplayString(entry.count), 1 /* TEXT */))
|
|
711
743
|
: createCommentVNode("v-if", true)
|
|
@@ -979,7 +1011,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
979
1011
|
'cn-index-page__main--table': $data.currentViewMode === 'table',
|
|
980
1012
|
'cn-index-page__main--split': $options.splitLayout === 'split',
|
|
981
1013
|
}]),
|
|
982
|
-
onScroll: _cache[
|
|
1014
|
+
onScroll: _cache[29] || (_cache[29] = (...args) => ($options.onListScroll && $options.onListScroll(...args)))
|
|
983
1015
|
}, [
|
|
984
1016
|
renderSlot(_ctx.$slots, "before-collection"),
|
|
985
1017
|
($options.showInitialLoader)
|
|
@@ -1041,6 +1073,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1041
1073
|
sortOrder: $options.effectiveSortOrder,
|
|
1042
1074
|
sortKeys: $options.effectiveSortKeys,
|
|
1043
1075
|
selectable: $props.selectable,
|
|
1076
|
+
hideHeader: $props.hideTableHeader,
|
|
1044
1077
|
rowClickToView: $options.rowClickOpens,
|
|
1045
1078
|
selectedIds: $data.internalSelectedIds,
|
|
1046
1079
|
rowKey: $props.rowKey,
|
|
@@ -1178,229 +1211,304 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1178
1211
|
key: "2"
|
|
1179
1212
|
}
|
|
1180
1213
|
: undefined
|
|
1181
|
-
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["schema", "columns", "pinnedCount", "rowIcon", "rowIndicators", "rowIndicatorCap", "rows", "sortKey", "sortOrder", "sortKeys", "selectable", "rowClickToView", "selectedIds", "rowKey", "emptyText", "excludeColumns", "includeColumns", "columnOverrides", "rowClass", "rowTitle", "showUnread", "filterable", "activeFilters", "filterRegister", "onColumnFilter", "onSort", "onSelect", "onRowClick", "onRowAuxClick", "onRowContextMenu"]))
|
|
1182
|
-
: ($data.currentViewMode === 'map')
|
|
1183
|
-
? (openBlock(),
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1214
|
+
]), 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"]))
|
|
1215
|
+
: ($data.currentViewMode === 'map' && $options.mapListEnabled)
|
|
1216
|
+
? (openBlock(), createElementBlock("div", _hoisted_24, [
|
|
1217
|
+
createVNode(_component_CnMapWidget, {
|
|
1218
|
+
class: "cn-index-page__map",
|
|
1219
|
+
center: $options.mapCenter,
|
|
1220
|
+
zoom: $options.mapZoom,
|
|
1221
|
+
layers: $options.mapLayers,
|
|
1222
|
+
basemaps: $options.mapBasemaps,
|
|
1223
|
+
markers: $options.mapMarkers,
|
|
1224
|
+
clustering: $options.mapClustering,
|
|
1225
|
+
autoFit: true,
|
|
1226
|
+
height: "100%",
|
|
1227
|
+
onMarkerClick: $options.onMarkerClick
|
|
1228
|
+
}, null, 8 /* PROPS */, ["center", "zoom", "layers", "basemaps", "markers", "clustering", "onMarkerClick"]),
|
|
1229
|
+
createElementVNode("div", _hoisted_25, [
|
|
1230
|
+
createElementVNode("ol", {
|
|
1231
|
+
class: "cn-index-page__map-list",
|
|
1232
|
+
"aria-label": $options.mapListLabel,
|
|
1233
|
+
"data-testid": "cn-index-map-list"
|
|
1234
|
+
}, [
|
|
1235
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.mapList.items, (item) => {
|
|
1236
|
+
return (openBlock(), createElementBlock("li", {
|
|
1237
|
+
key: item.key,
|
|
1238
|
+
class: normalizeClass(["cn-index-page__map-item", { 'cn-index-page__map-item--active': $data.activeMapKey === item.key }]),
|
|
1239
|
+
"data-testid": "cn-index-map-item",
|
|
1240
|
+
onMouseenter: $event => ($data.activeMapKey = item.key),
|
|
1241
|
+
onMouseleave: _cache[26] || (_cache[26] = $event => ($data.activeMapKey = '')),
|
|
1242
|
+
onFocusin: $event => ($data.activeMapKey = item.key)
|
|
1243
|
+
}, [
|
|
1244
|
+
createElementVNode("span", _hoisted_28, toDisplayString(item.n), 1 /* TEXT */),
|
|
1245
|
+
createElementVNode("div", _hoisted_29, [
|
|
1246
|
+
createElementVNode("button", {
|
|
1247
|
+
type: "button",
|
|
1248
|
+
class: "cn-index-page__map-title",
|
|
1249
|
+
onClick: $event => ($options.onRowClick(item.row))
|
|
1250
|
+
}, toDisplayString(item.title), 9 /* TEXT, PROPS */, _hoisted_30),
|
|
1251
|
+
(item.sub)
|
|
1252
|
+
? (openBlock(), createElementBlock("span", _hoisted_31, toDisplayString(item.sub), 1 /* TEXT */))
|
|
1253
|
+
: createCommentVNode("v-if", true),
|
|
1254
|
+
(item.pills.length > 0 || item.due)
|
|
1255
|
+
? (openBlock(), createElementBlock("span", _hoisted_32, [
|
|
1256
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(item.pills, (pill, index) => {
|
|
1257
|
+
return (openBlock(), createBlock(_component_CnStatusBadge, {
|
|
1258
|
+
key: index,
|
|
1259
|
+
label: pill.label,
|
|
1260
|
+
variant: pill.variant
|
|
1261
|
+
}, null, 8 /* PROPS */, ["label", "variant"]))
|
|
1262
|
+
}), 128 /* KEYED_FRAGMENT */)),
|
|
1263
|
+
(item.due)
|
|
1264
|
+
? (openBlock(), createElementBlock("span", _hoisted_33, toDisplayString(item.due), 1 /* TEXT */))
|
|
1265
|
+
: createCommentVNode("v-if", true)
|
|
1266
|
+
]))
|
|
1267
|
+
: createCommentVNode("v-if", true)
|
|
1268
|
+
])
|
|
1269
|
+
], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_27))
|
|
1270
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
1271
|
+
], 8 /* PROPS */, _hoisted_26),
|
|
1272
|
+
($options.mapList.missing.length > 0)
|
|
1273
|
+
? (openBlock(), createElementBlock("div", _hoisted_34, [
|
|
1274
|
+
createElementVNode("strong", null, toDisplayString($options.mapMissingTitle), 1 /* TEXT */),
|
|
1275
|
+
createVNode(_component_NcButton, {
|
|
1276
|
+
variant: "tertiary-no-background",
|
|
1277
|
+
"data-testid": "cn-index-map-missing-table",
|
|
1278
|
+
onClick: _cache[27] || (_cache[27] = $event => ($options.onViewModeChange('table')))
|
|
1279
|
+
}, {
|
|
1280
|
+
default: withCtx(() => [
|
|
1281
|
+
createTextVNode(toDisplayString($options.mapMissingLink), 1 /* TEXT */)
|
|
1282
|
+
]),
|
|
1283
|
+
_: 1 /* STABLE */
|
|
1284
|
+
})
|
|
1285
|
+
]))
|
|
1286
|
+
: createCommentVNode("v-if", true)
|
|
1287
|
+
])
|
|
1288
|
+
]))
|
|
1289
|
+
: ($data.currentViewMode === 'map')
|
|
1290
|
+
? (openBlock(), createBlock(_component_CnMapWidget, {
|
|
1197
1291
|
key: 5,
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
sumField: $props.board.sumField || '',
|
|
1212
|
-
sumFormat: $options.boardSumFormat,
|
|
1213
|
-
columnLimit: $props.board.columnLimit || 0,
|
|
1214
|
-
rowKey: $props.rowKey,
|
|
1215
|
-
runTransition: $options.boardRunTransition,
|
|
1216
|
-
paged: $options.isPaged,
|
|
1217
|
-
onSelect: $options.onSelect,
|
|
1218
|
-
onLoadMore: $options.onBoardLoadMore,
|
|
1219
|
-
onCardClick: $options.onRowClick,
|
|
1220
|
-
onCardAuxClick: $options.onRowAuxClick,
|
|
1221
|
-
onMoved: $options.onBoardMoved
|
|
1222
|
-
}, 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"]))
|
|
1223
|
-
: ($data.currentViewMode === 'dateAxis')
|
|
1224
|
-
? (openBlock(), createBlock(_component_CnDateAxisView, {
|
|
1292
|
+
class: "cn-index-page__map",
|
|
1293
|
+
zoom: $options.mapZoom,
|
|
1294
|
+
center: $options.mapCenter,
|
|
1295
|
+
layers: $options.mapLayers,
|
|
1296
|
+
basemaps: $options.mapBasemaps,
|
|
1297
|
+
markers: $options.mapMarkers,
|
|
1298
|
+
clustering: $options.mapClustering,
|
|
1299
|
+
autoFit: true,
|
|
1300
|
+
height: "100%",
|
|
1301
|
+
onMarkerClick: $options.onMarkerClick
|
|
1302
|
+
}, null, 8 /* PROPS */, ["zoom", "center", "layers", "basemaps", "markers", "clustering", "onMarkerClick"]))
|
|
1303
|
+
: ($data.currentViewMode === 'board')
|
|
1304
|
+
? (openBlock(), createBlock(_component_CnBoardView, {
|
|
1225
1305
|
key: 6,
|
|
1226
1306
|
rows: $options.displayObjects,
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1307
|
+
statusFieldSchema: $options.boardFieldSchema,
|
|
1308
|
+
statusField: $options.boardColumnField,
|
|
1309
|
+
columnKeyOf: $options.boardColumnKeyOf,
|
|
1310
|
+
wrapColumns: $props.board.wrap === true,
|
|
1311
|
+
selectable: $props.selectable,
|
|
1312
|
+
selectedIds: $data.internalSelectedIds,
|
|
1313
|
+
allowedMoves: $options.boardAllowedMoves,
|
|
1314
|
+
cardFields: $props.board.cardFields || [],
|
|
1315
|
+
swimlaneField: $props.board.swimlaneField || '',
|
|
1316
|
+
dueRule: $props.board.dueRule || null,
|
|
1317
|
+
cardRoles: $props.board.card || null,
|
|
1318
|
+
colorField: $props.board.colorField || '',
|
|
1319
|
+
sumField: $props.board.sumField || '',
|
|
1320
|
+
sumFormat: $options.boardSumFormat,
|
|
1321
|
+
columnLimit: $props.board.columnLimit || 0,
|
|
1231
1322
|
rowKey: $props.rowKey,
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1323
|
+
runTransition: $options.boardRunTransition,
|
|
1324
|
+
paged: $options.isPaged,
|
|
1325
|
+
onSelect: $options.onSelect,
|
|
1326
|
+
onLoadMore: $options.onBoardLoadMore,
|
|
1327
|
+
onCardClick: $options.onRowClick,
|
|
1328
|
+
onCardAuxClick: $options.onRowAuxClick,
|
|
1329
|
+
onMoved: $options.onBoardMoved
|
|
1330
|
+
}, 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"]))
|
|
1331
|
+
: ($data.currentViewMode === 'dateAxis')
|
|
1332
|
+
? (openBlock(), createBlock(_component_CnDateAxisView, {
|
|
1237
1333
|
key: 7,
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1334
|
+
rows: $options.displayObjects,
|
|
1335
|
+
startField: $props.dateAxis.startField || '',
|
|
1336
|
+
endField: $props.dateAxis.endField || '',
|
|
1337
|
+
laneField: $props.dateAxis.laneField || '',
|
|
1338
|
+
labelField: $props.dateAxis.labelField || '',
|
|
1242
1339
|
rowKey: $props.rowKey,
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
: ($data.currentViewMode === 'list')
|
|
1249
|
-
? (openBlock(), createBlock(_component_CnObjectList, {
|
|
1340
|
+
onRowClick: $options.onRowClick,
|
|
1341
|
+
onRowAuxClick: $options.onRowAuxClick
|
|
1342
|
+
}, null, 8 /* PROPS */, ["rows", "startField", "endField", "laneField", "labelField", "rowKey", "onRowClick", "onRowAuxClick"]))
|
|
1343
|
+
: ($data.currentViewMode === 'calendar')
|
|
1344
|
+
? (openBlock(), createBlock(_component_CnObjectCalendar, {
|
|
1250
1345
|
key: 8,
|
|
1251
1346
|
objects: $options.displayObjects,
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
selectedIds: $data.internalSelectedIds,
|
|
1347
|
+
dateField: $props.calendar.dateField || '',
|
|
1348
|
+
endDateField: $props.calendar.endDateField || null,
|
|
1349
|
+
titleField: $props.calendar.titleField || null,
|
|
1256
1350
|
rowKey: $props.rowKey,
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
},
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
:
|
|
1351
|
+
loading: $options.effectiveLoading,
|
|
1352
|
+
onRangeChange: $options.onCalendarRange,
|
|
1353
|
+
onObjectClick: $options.onRowClick,
|
|
1354
|
+
onDaySelect: $options.onCalendarDaySelect
|
|
1355
|
+
}, null, 8 /* PROPS */, ["objects", "dateField", "endDateField", "titleField", "rowKey", "loading", "onRangeChange", "onObjectClick", "onDaySelect"]))
|
|
1356
|
+
: ($data.currentViewMode === 'list')
|
|
1357
|
+
? (openBlock(), createBlock(_component_CnObjectList, {
|
|
1358
|
+
key: 9,
|
|
1359
|
+
objects: $options.displayObjects,
|
|
1360
|
+
schema: $options.effectiveSchema,
|
|
1361
|
+
config: $props.listConfig,
|
|
1362
|
+
selectable: $props.selectable,
|
|
1363
|
+
selectedIds: $data.internalSelectedIds,
|
|
1364
|
+
rowKey: $props.rowKey,
|
|
1365
|
+
emptyText: $props.emptyText,
|
|
1366
|
+
onClick: $options.onRowClick,
|
|
1367
|
+
onAuxClick: $options.onRowAuxClick,
|
|
1368
|
+
onSelect: $options.onSelect
|
|
1369
|
+
}, createSlots({ _: 2 /* DYNAMIC */ }, [
|
|
1370
|
+
(_ctx.$slots['list-item'])
|
|
1274
1371
|
? {
|
|
1275
1372
|
name: "list-item",
|
|
1276
1373
|
fn: withCtx(({ object, selected }) => [
|
|
1277
|
-
(
|
|
1278
|
-
item: object,
|
|
1374
|
+
renderSlot(_ctx.$slots, "list-item", {
|
|
1279
1375
|
object: object,
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1376
|
+
selected: selected
|
|
1377
|
+
})
|
|
1378
|
+
]),
|
|
1379
|
+
key: "0"
|
|
1380
|
+
}
|
|
1381
|
+
: ($options.resolvedListComponent)
|
|
1382
|
+
? {
|
|
1383
|
+
name: "list-item",
|
|
1384
|
+
fn: withCtx(({ object, selected }) => [
|
|
1385
|
+
(openBlock(), createBlock(resolveDynamicComponent($options.resolvedListComponent), {
|
|
1386
|
+
item: object,
|
|
1387
|
+
object: object,
|
|
1388
|
+
schema: $options.effectiveSchema,
|
|
1389
|
+
register: $props.register,
|
|
1390
|
+
selected: selected,
|
|
1391
|
+
onClick: (...args) => $options.onRowClick(object, args.find($options.isDomEvent)),
|
|
1392
|
+
onMousedown: $options.onCustomItemMouseDown,
|
|
1393
|
+
onAuxclick: $event => ($options.onCustomItemAuxClick(object, $event)),
|
|
1394
|
+
onSelect: $event => ($options.onSelect($options.toggleIdInArray($data.internalSelectedIds, object[$props.rowKey])))
|
|
1395
|
+
}, null, 40 /* PROPS, NEED_HYDRATION */, ["item", "object", "schema", "register", "selected", "onClick", "onMousedown", "onAuxclick", "onSelect"]))
|
|
1396
|
+
]),
|
|
1397
|
+
key: "1"
|
|
1398
|
+
}
|
|
1399
|
+
: undefined,
|
|
1400
|
+
(_ctx.$slots['row-icon'])
|
|
1401
|
+
? {
|
|
1402
|
+
name: "row-icon",
|
|
1403
|
+
fn: withCtx(({ object }) => [
|
|
1404
|
+
renderSlot(_ctx.$slots, "row-icon", { object: object })
|
|
1288
1405
|
]),
|
|
1289
|
-
key: "
|
|
1406
|
+
key: "2"
|
|
1290
1407
|
}
|
|
1291
1408
|
: undefined,
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
:
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
accentOf: $props.cardAccent,
|
|
1335
|
-
selectedIds: $data.internalSelectedIds,
|
|
1336
|
-
rowKey: $props.rowKey,
|
|
1337
|
-
emptyText: $props.emptyText,
|
|
1338
|
-
onClick: $options.onRowClick,
|
|
1339
|
-
onAuxClick: $options.onRowAuxClick,
|
|
1340
|
-
onSelect: $options.onSelect
|
|
1341
|
-
}, createSlots({ _: 2 /* DYNAMIC */ }, [
|
|
1342
|
-
(_ctx.$slots.card)
|
|
1343
|
-
? {
|
|
1344
|
-
name: "card",
|
|
1345
|
-
fn: withCtx(({ object, selected }) => [
|
|
1346
|
-
renderSlot(_ctx.$slots, "card", {
|
|
1347
|
-
object: object,
|
|
1348
|
-
selected: selected
|
|
1349
|
-
})
|
|
1350
|
-
]),
|
|
1351
|
-
key: "0"
|
|
1352
|
-
}
|
|
1353
|
-
: ($options.resolvedCardComponent)
|
|
1409
|
+
(_ctx.$slots['row-badges'])
|
|
1410
|
+
? {
|
|
1411
|
+
name: "row-badges",
|
|
1412
|
+
fn: withCtx(({ object }) => [
|
|
1413
|
+
renderSlot(_ctx.$slots, "row-badges", { object: object })
|
|
1414
|
+
]),
|
|
1415
|
+
key: "3"
|
|
1416
|
+
}
|
|
1417
|
+
: undefined,
|
|
1418
|
+
($options.hasRowActions || _ctx.$slots['row-actions'])
|
|
1419
|
+
? {
|
|
1420
|
+
name: "row-actions",
|
|
1421
|
+
fn: withCtx(({ object }) => [
|
|
1422
|
+
renderSlot(_ctx.$slots, "row-actions", { row: object }, () => [
|
|
1423
|
+
createVNode(_component_CnRowActions, {
|
|
1424
|
+
actions: $options.rowActionsFor(object),
|
|
1425
|
+
row: object,
|
|
1426
|
+
rowLabel: $options.rowTitleFor(object),
|
|
1427
|
+
onAction: $options.onRowAction
|
|
1428
|
+
}, null, 8 /* PROPS */, ["actions", "row", "rowLabel", "onAction"])
|
|
1429
|
+
])
|
|
1430
|
+
]),
|
|
1431
|
+
key: "4"
|
|
1432
|
+
}
|
|
1433
|
+
: undefined
|
|
1434
|
+
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["objects", "schema", "config", "selectable", "selectedIds", "rowKey", "emptyText", "onClick", "onAuxClick", "onSelect"]))
|
|
1435
|
+
: (openBlock(), createBlock(_component_CnCardGrid, {
|
|
1436
|
+
key: 10,
|
|
1437
|
+
objects: $options.displayObjects,
|
|
1438
|
+
schema: $options.effectiveSchema,
|
|
1439
|
+
selectable: $props.selectable,
|
|
1440
|
+
clickToView: $options.rowClickOpens,
|
|
1441
|
+
cardFields: $options.resolvedCardFields,
|
|
1442
|
+
accentOf: $props.cardAccent,
|
|
1443
|
+
selectedIds: $data.internalSelectedIds,
|
|
1444
|
+
rowKey: $props.rowKey,
|
|
1445
|
+
emptyText: $props.emptyText,
|
|
1446
|
+
onClick: $options.onRowClick,
|
|
1447
|
+
onAuxClick: $options.onRowAuxClick,
|
|
1448
|
+
onSelect: $options.onSelect
|
|
1449
|
+
}, createSlots({ _: 2 /* DYNAMIC */ }, [
|
|
1450
|
+
(_ctx.$slots.card)
|
|
1354
1451
|
? {
|
|
1355
1452
|
name: "card",
|
|
1356
1453
|
fn: withCtx(({ object, selected }) => [
|
|
1357
|
-
(
|
|
1358
|
-
item: object,
|
|
1454
|
+
renderSlot(_ctx.$slots, "card", {
|
|
1359
1455
|
object: object,
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
selected: selected,
|
|
1363
|
-
onClick: (...args) => $options.onRowClick(object, args.find($options.isDomEvent)),
|
|
1364
|
-
onMousedown: $options.onCustomItemMouseDown,
|
|
1365
|
-
onAuxclick: $event => ($options.onCustomItemAuxClick(object, $event)),
|
|
1366
|
-
onSelect: $event => ($options.onSelect($options.toggleIdInArray($data.internalSelectedIds, object[$props.rowKey])))
|
|
1367
|
-
}, null, 40 /* PROPS, NEED_HYDRATION */, ["item", "object", "schema", "register", "selected", "onClick", "onMousedown", "onAuxclick", "onSelect"]))
|
|
1456
|
+
selected: selected
|
|
1457
|
+
})
|
|
1368
1458
|
]),
|
|
1369
|
-
key: "
|
|
1459
|
+
key: "0"
|
|
1370
1460
|
}
|
|
1371
|
-
:
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1461
|
+
: ($options.resolvedCardComponent)
|
|
1462
|
+
? {
|
|
1463
|
+
name: "card",
|
|
1464
|
+
fn: withCtx(({ object, selected }) => [
|
|
1465
|
+
(openBlock(), createBlock(resolveDynamicComponent($options.resolvedCardComponent), {
|
|
1466
|
+
item: object,
|
|
1467
|
+
object: object,
|
|
1468
|
+
schema: $options.effectiveSchema,
|
|
1469
|
+
register: $props.register,
|
|
1470
|
+
selected: selected,
|
|
1471
|
+
onClick: (...args) => $options.onRowClick(object, args.find($options.isDomEvent)),
|
|
1472
|
+
onMousedown: $options.onCustomItemMouseDown,
|
|
1473
|
+
onAuxclick: $event => ($options.onCustomItemAuxClick(object, $event)),
|
|
1474
|
+
onSelect: $event => ($options.onSelect($options.toggleIdInArray($data.internalSelectedIds, object[$props.rowKey])))
|
|
1475
|
+
}, null, 40 /* PROPS, NEED_HYDRATION */, ["item", "object", "schema", "register", "selected", "onClick", "onMousedown", "onAuxclick", "onSelect"]))
|
|
1476
|
+
]),
|
|
1477
|
+
key: "1"
|
|
1478
|
+
}
|
|
1479
|
+
: undefined,
|
|
1480
|
+
($options.hasRowActions)
|
|
1481
|
+
? {
|
|
1482
|
+
name: "card-actions",
|
|
1483
|
+
fn: withCtx(({ object }) => [
|
|
1484
|
+
renderSlot(_ctx.$slots, "row-actions", { row: object }, () => [
|
|
1485
|
+
createVNode(_component_CnRowActions, {
|
|
1486
|
+
actions: $options.rowActionsFor(object),
|
|
1487
|
+
row: object,
|
|
1488
|
+
rowLabel: $options.rowTitleFor(object),
|
|
1489
|
+
triggerLabel: $setup.isBoardLook ? _ctx.t('nextcloud-vue', 'More actions for {name}', { name: $options.rowTitleFor(object) }) : '',
|
|
1490
|
+
onAction: $options.onRowAction
|
|
1491
|
+
}, null, 8 /* PROPS */, ["actions", "row", "rowLabel", "triggerLabel", "onAction"])
|
|
1492
|
+
])
|
|
1493
|
+
]),
|
|
1494
|
+
key: "2"
|
|
1495
|
+
}
|
|
1496
|
+
: undefined
|
|
1497
|
+
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["objects", "schema", "selectable", "clickToView", "cardFields", "accentOf", "selectedIds", "rowKey", "emptyText", "onClick", "onAuxClick", "onSelect"])),
|
|
1390
1498
|
createVNode(_component_CnContextMenu, {
|
|
1391
1499
|
open: $setup.contextMenuOpen,
|
|
1392
|
-
"onUpdate:open": _cache[
|
|
1500
|
+
"onUpdate:open": _cache[28] || (_cache[28] = $event => (($setup.contextMenuOpen) = $event)),
|
|
1393
1501
|
actions: $options.rowActionsFor($data.contextMenuShownRow),
|
|
1394
1502
|
targetItem: $data.contextMenuShownRow,
|
|
1395
1503
|
onAction: $options.onRowAction,
|
|
1396
1504
|
onClose: $setup.closeContextMenu
|
|
1397
1505
|
}, null, 8 /* PROPS */, ["open", "actions", "targetItem", "onAction", "onClose"]),
|
|
1398
1506
|
($props.searchInFiles && $setup.contentSearch)
|
|
1399
|
-
? (openBlock(), createElementBlock("p",
|
|
1507
|
+
? (openBlock(), createElementBlock("p", _hoisted_35, toDisplayString(_ctx.t('nextcloud-vue', 'File matches are limited to the best 50.')), 1 /* TEXT */))
|
|
1400
1508
|
: createCommentVNode("v-if", true),
|
|
1401
1509
|
($options.boardLoadsAll && $options.boardLoadCounts.total > 0)
|
|
1402
|
-
? (openBlock(), createElementBlock("div",
|
|
1403
|
-
createElementVNode("span",
|
|
1510
|
+
? (openBlock(), createElementBlock("div", _hoisted_36, [
|
|
1511
|
+
createElementVNode("span", _hoisted_37, toDisplayString(_ctx.t('nextcloud-vue', 'Showing {count} of {total}', { count: $options.boardLoadCounts.shown, total: $options.boardLoadCounts.total })), 1 /* TEXT */),
|
|
1404
1512
|
($options.isPaged)
|
|
1405
1513
|
? (openBlock(), createBlock(_component_NcButton, {
|
|
1406
1514
|
key: 0,
|
|
@@ -1417,7 +1525,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1417
1525
|
]))
|
|
1418
1526
|
: ($options.effectivePagination && ($options.effectivePagination.pages > 1 || ($setup.isBoardLook && $options.effectivePagination.total > 0)))
|
|
1419
1527
|
? (openBlock(), createBlock(_component_CnPagination, {
|
|
1420
|
-
key:
|
|
1528
|
+
key: 13,
|
|
1421
1529
|
variant: $setup.isBoardLook ? 'board' : '',
|
|
1422
1530
|
footerNote: $options.effectiveFooterNote,
|
|
1423
1531
|
currentPage: $options.effectivePagination.page || 1,
|
|
@@ -1431,7 +1539,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1431
1539
|
: createCommentVNode("v-if", true),
|
|
1432
1540
|
($props.notice && $props.notice.text)
|
|
1433
1541
|
? (openBlock(), createBlock(_component_NcNoteCard, {
|
|
1434
|
-
key:
|
|
1542
|
+
key: 14,
|
|
1435
1543
|
class: "cn-index-page__notice",
|
|
1436
1544
|
type: $options.noticeType,
|
|
1437
1545
|
"data-testid": "cn-index-page-notice"
|
|
@@ -1444,7 +1552,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1444
1552
|
: createCommentVNode("v-if", true),
|
|
1445
1553
|
($options.presentedAfterList.length > 0)
|
|
1446
1554
|
? (openBlock(), createBlock(_component_CnIndexPageWidgets, {
|
|
1447
|
-
key:
|
|
1555
|
+
key: 15,
|
|
1448
1556
|
class: "cn-index-page__after-list",
|
|
1449
1557
|
variant: "after-list",
|
|
1450
1558
|
widgets: $options.presentedAfterList
|
|
@@ -1468,11 +1576,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1468
1576
|
href: $options.splitCloseHref,
|
|
1469
1577
|
title: $options.splitCloseTitle,
|
|
1470
1578
|
"data-testid": "cn-index-page-split-close",
|
|
1471
|
-
onClick: _cache[
|
|
1579
|
+
onClick: _cache[30] || (_cache[30] = withModifiers((...args) => ($options.closeSplitPane && $options.closeSplitPane(...args)), ["prevent"]))
|
|
1472
1580
|
}, [
|
|
1473
1581
|
createVNode(_component_Close, { size: 16 }),
|
|
1474
1582
|
createElementVNode("span", null, toDisplayString($options.splitCloseTitle), 1 /* TEXT */)
|
|
1475
|
-
], 8 /* PROPS */,
|
|
1583
|
+
], 8 /* PROPS */, _hoisted_39))
|
|
1476
1584
|
: createCommentVNode("v-if", true),
|
|
1477
1585
|
renderSlot(_ctx.$slots, "split-pane", {
|
|
1478
1586
|
id: $props.splitId,
|
|
@@ -1480,7 +1588,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1480
1588
|
close: $options.closeSplitPane,
|
|
1481
1589
|
saved: $options.onSplitPaneSaved
|
|
1482
1590
|
})
|
|
1483
|
-
], 14 /* CLASS, STYLE, PROPS */,
|
|
1591
|
+
], 14 /* CLASS, STYLE, PROPS */, _hoisted_38))
|
|
1484
1592
|
: createCommentVNode("v-if", true)
|
|
1485
1593
|
], 2 /* CLASS */),
|
|
1486
1594
|
($options.shouldRenderInlineSidebar)
|
|
@@ -1500,7 +1608,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1500
1608
|
personalColumns: $props.personalColumns,
|
|
1501
1609
|
pinnedCount: $options.pinnedColumnCount
|
|
1502
1610
|
}, $options.sidebarSearchProps, {
|
|
1503
|
-
"onUpdate:open": _cache[
|
|
1611
|
+
"onUpdate:open": _cache[31] || (_cache[31] = $event => ($data.sidebarOpen = $event)),
|
|
1504
1612
|
onSearch: $options.onSearchEvent,
|
|
1505
1613
|
onColumnsChange: $options.onColumnsEvent,
|
|
1506
1614
|
onColumnsReorder: $options.onColumnsReorder,
|