@conduction/nextcloud-vue 2.127.0 → 2.128.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/CnDashboardPage/CnDashboardPage.vue.js +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js +3 -113
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js.map +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js +12 -12
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js.map +1 -1
- package/dist/esm/components/CnDataTable/CnDataTable.vue2.js +34 -1
- package/dist/esm/components/CnDataTable/CnDataTable.vue2.js.map +1 -1
- package/dist/esm/components/CnDataTable/CnDataTable.vue3.js +16 -8
- package/dist/esm/components/CnDataTable/CnDataTable.vue3.js.map +1 -1
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js +153 -8
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js.map +1 -1
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue3.js +169 -58
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue3.js.map +1 -1
- package/dist/esm/components/CnTileWidget/CnTileWidget.vue.js +1 -1
- package/dist/esm/components/CnTileWidget/CnTileWidget.vue2.js +11 -0
- package/dist/esm/components/CnTileWidget/CnTileWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnTileWidget/CnTileWidget.vue3.js +14 -4
- package/dist/esm/components/CnTileWidget/CnTileWidget.vue3.js.map +1 -1
- package/dist/esm/library-style.js +1 -1
- package/dist/esm/mixins/pageFilters.js +142 -0
- package/dist/esm/mixins/pageFilters.js.map +1 -0
- package/dist/esm/nextcloud-vue.css +269 -74
- package/dist/esm/utils/actionLink.js +9 -3
- package/dist/esm/utils/actionLink.js.map +1 -1
- package/dist/esm/utils/validateManifestV2.compiled.js +3 -3
- package/dist/esm/utils/validateManifestV2.compiled.js.map +1 -1
- package/dist/nextcloud-vue.cjs.js +1176 -828
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +269 -74
- package/package.json +1 -1
- package/src/components/CnDashboardPage/CnDashboardPage.vue +3 -113
- package/src/components/CnDataTable/CnDataTable.vue +40 -1
- package/src/components/CnDetailPage/CnDetailPage.md +2 -0
- package/src/components/CnDetailPage/CnDetailPage.vue +237 -8
- package/src/components/CnTileWidget/CnTileWidget.vue +30 -2
- package/src/css/detail-page.css +42 -0
- package/src/css/dialog.css +13 -0
- package/src/css/look-board-detail.css +1 -1
- package/src/css/look-board-index.css +8 -0
- package/src/css/look-board.css +97 -0
- package/src/css/table.css +12 -0
- package/src/mixins/pageFilters.js +138 -0
- package/src/schemas/app-manifest-v2.schema.json +41 -3
- package/src/utils/actionLink.js +9 -3
- package/src/utils/validateManifestV2.compiled.js +3 -3
|
@@ -79,79 +79,106 @@ const _hoisted_19 = {
|
|
|
79
79
|
};
|
|
80
80
|
const _hoisted_20 = {
|
|
81
81
|
key: 6,
|
|
82
|
-
class: "cn-detail-
|
|
83
|
-
"data-testid": "cn-detail-page-
|
|
82
|
+
class: "cn-detail-page__band",
|
|
83
|
+
"data-testid": "cn-detail-page-band"
|
|
84
84
|
};
|
|
85
85
|
const _hoisted_21 = {
|
|
86
|
+
key: 0,
|
|
87
|
+
class: "cn-detail-page__page-filters",
|
|
88
|
+
"data-testid": "cn-detail-page-page-filters"
|
|
89
|
+
};
|
|
90
|
+
const _hoisted_22 = {
|
|
91
|
+
key: 0,
|
|
92
|
+
class: "cn-detail-page__page-filter"
|
|
93
|
+
};
|
|
94
|
+
const _hoisted_23 = {
|
|
95
|
+
key: 0,
|
|
96
|
+
class: "cn-detail-page__page-filter-label"
|
|
97
|
+
};
|
|
98
|
+
const _hoisted_24 = {
|
|
99
|
+
key: 1,
|
|
100
|
+
class: "cn-detail-page__page-filter"
|
|
101
|
+
};
|
|
102
|
+
const _hoisted_25 = {
|
|
103
|
+
key: 0,
|
|
104
|
+
class: "cn-detail-page__page-filter-label"
|
|
105
|
+
};
|
|
106
|
+
const _hoisted_26 = ["data-testid"];
|
|
107
|
+
const _hoisted_27 = {
|
|
86
108
|
key: 7,
|
|
109
|
+
class: "cn-detail-page__not-found",
|
|
110
|
+
"data-testid": "cn-detail-page-not-found"
|
|
111
|
+
};
|
|
112
|
+
const _hoisted_28 = {
|
|
113
|
+
key: 8,
|
|
87
114
|
class: "cn-detail-page__access-purpose",
|
|
88
115
|
"data-testid": "cn-detail-page-access-purpose"
|
|
89
116
|
};
|
|
90
|
-
const
|
|
91
|
-
key:
|
|
117
|
+
const _hoisted_29 = {
|
|
118
|
+
key: 9,
|
|
92
119
|
class: "cn-detail-page__loading"
|
|
93
120
|
};
|
|
94
|
-
const
|
|
95
|
-
key:
|
|
121
|
+
const _hoisted_30 = {
|
|
122
|
+
key: 10,
|
|
96
123
|
class: "cn-detail-page__error"
|
|
97
124
|
};
|
|
98
|
-
const
|
|
99
|
-
key:
|
|
125
|
+
const _hoisted_31 = {
|
|
126
|
+
key: 11,
|
|
100
127
|
class: "cn-detail-page__empty"
|
|
101
128
|
};
|
|
102
|
-
const
|
|
103
|
-
key:
|
|
129
|
+
const _hoisted_32 = {
|
|
130
|
+
key: 12,
|
|
104
131
|
class: "cn-detail-page__body"
|
|
105
132
|
};
|
|
106
|
-
const
|
|
133
|
+
const _hoisted_33 = {
|
|
107
134
|
key: 0,
|
|
108
135
|
class: "cn-detail-page__before-body"
|
|
109
136
|
};
|
|
110
|
-
const
|
|
111
|
-
const
|
|
137
|
+
const _hoisted_34 = ["aria-labelledby"];
|
|
138
|
+
const _hoisted_35 = {
|
|
112
139
|
key: 0,
|
|
113
140
|
class: "cn-detail-page__widget-edit"
|
|
114
141
|
};
|
|
115
|
-
const
|
|
116
|
-
const
|
|
117
|
-
const
|
|
142
|
+
const _hoisted_36 = ["id"];
|
|
143
|
+
const _hoisted_37 = ["id", "aria-label"];
|
|
144
|
+
const _hoisted_38 = {
|
|
118
145
|
key: 3,
|
|
119
146
|
class: "cn-detail-page__stats"
|
|
120
147
|
};
|
|
121
|
-
const
|
|
148
|
+
const _hoisted_39 = {
|
|
122
149
|
key: 0,
|
|
123
150
|
class: "cn-detail-page__section-title"
|
|
124
151
|
};
|
|
125
|
-
const
|
|
126
|
-
const
|
|
127
|
-
const
|
|
152
|
+
const _hoisted_40 = { class: "cn-detail-page__stats-table" };
|
|
153
|
+
const _hoisted_41 = { key: 0 };
|
|
154
|
+
const _hoisted_42 = {
|
|
128
155
|
key: 4,
|
|
129
156
|
class: "cn-detail-page__content"
|
|
130
157
|
};
|
|
131
|
-
const
|
|
158
|
+
const _hoisted_43 = {
|
|
132
159
|
key: 0,
|
|
133
160
|
class: "cn-detail-page__content"
|
|
134
161
|
};
|
|
135
|
-
const
|
|
162
|
+
const _hoisted_44 = {
|
|
136
163
|
key: 1,
|
|
137
164
|
class: "cn-detail-page__sections"
|
|
138
165
|
};
|
|
139
|
-
const
|
|
166
|
+
const _hoisted_45 = {
|
|
140
167
|
key: 6,
|
|
141
168
|
class: "cn-detail-page__related-collections"
|
|
142
169
|
};
|
|
143
|
-
const
|
|
170
|
+
const _hoisted_46 = {
|
|
144
171
|
key: 0,
|
|
145
172
|
class: "cn-detail-page__relation-links"
|
|
146
173
|
};
|
|
147
|
-
const
|
|
174
|
+
const _hoisted_47 = {
|
|
148
175
|
key: 9,
|
|
149
176
|
class: "cn-detail-page__footer"
|
|
150
177
|
};
|
|
151
|
-
const
|
|
152
|
-
const
|
|
153
|
-
const
|
|
154
|
-
const
|
|
178
|
+
const _hoisted_48 = ["aria-label"];
|
|
179
|
+
const _hoisted_49 = ["id"];
|
|
180
|
+
const _hoisted_50 = ["data-testid"];
|
|
181
|
+
const _hoisted_51 = {
|
|
155
182
|
key: 0,
|
|
156
183
|
class: "cn-detail-page__side-identifier",
|
|
157
184
|
"data-testid": "cn-detail-page-side-identifier"
|
|
@@ -185,6 +212,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
185
212
|
const _component_CnDetailWidgetHost = resolveComponent("CnDetailWidgetHost");
|
|
186
213
|
const _component_CnLockedBanner = resolveComponent("CnLockedBanner");
|
|
187
214
|
const _component_CnNextStepCard = resolveComponent("CnNextStepCard");
|
|
215
|
+
const _component_NcSelect = resolveComponent("NcSelect");
|
|
188
216
|
const _component_FileQuestionOutline = resolveComponent("FileQuestionOutline");
|
|
189
217
|
const _component_ArrowLeft = resolveComponent("ArrowLeft");
|
|
190
218
|
const _component_NcEmptyContent = resolveComponent("NcEmptyContent");
|
|
@@ -849,8 +877,91 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
849
877
|
: undefined
|
|
850
878
|
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["title", "items", "after"]))
|
|
851
879
|
: createCommentVNode("v-if", true),
|
|
852
|
-
($
|
|
880
|
+
($options.showsBand)
|
|
853
881
|
? (openBlock(), createElementBlock("div", _hoisted_20, [
|
|
882
|
+
($options.detailPageFilters.length > 0)
|
|
883
|
+
? (openBlock(), createElementBlock("div", _hoisted_21, [
|
|
884
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.detailPageFilters, (pf) => {
|
|
885
|
+
return (openBlock(), createElementBlock(Fragment, {
|
|
886
|
+
key: pf.key
|
|
887
|
+
}, [
|
|
888
|
+
(pf.control === 'segmented')
|
|
889
|
+
? (openBlock(), createElementBlock("div", _hoisted_22, [
|
|
890
|
+
(pf.label)
|
|
891
|
+
? (openBlock(), createElementBlock("span", _hoisted_23, toDisplayString($options.effectiveTranslate(pf.label)), 1 /* TEXT */))
|
|
892
|
+
: createCommentVNode("v-if", true),
|
|
893
|
+
createVNode(_component_CnSegmentedControl, {
|
|
894
|
+
size: "compact",
|
|
895
|
+
mode: "toggle",
|
|
896
|
+
options: _ctx.pageFilterSegments(pf),
|
|
897
|
+
modelValue: $setup.workspaceContext[pf.key],
|
|
898
|
+
ariaLabel: pf.label ? $options.effectiveTranslate(pf.label) : pf.key,
|
|
899
|
+
"data-testid": 'cn-page-filter-' + pf.key,
|
|
900
|
+
"onUpdate:modelValue": $event => (_ctx.onPageFilterChange(pf, $event))
|
|
901
|
+
}, null, 8 /* PROPS */, ["options", "modelValue", "ariaLabel", "data-testid", "onUpdate:modelValue"])
|
|
902
|
+
]))
|
|
903
|
+
: (openBlock(), createElementBlock("label", _hoisted_24, [
|
|
904
|
+
(pf.label)
|
|
905
|
+
? (openBlock(), createElementBlock("span", _hoisted_25, toDisplayString($options.effectiveTranslate(pf.label)), 1 /* TEXT */))
|
|
906
|
+
: createCommentVNode("v-if", true),
|
|
907
|
+
createVNode(_component_NcSelect, {
|
|
908
|
+
modelValue: _ctx.selectedPageFilterOption(pf),
|
|
909
|
+
options: _ctx.pageFilterSegments(pf),
|
|
910
|
+
clearable: pf.clearable === true,
|
|
911
|
+
placeholder: pf.placeholder ? $options.effectiveTranslate(pf.placeholder) : undefined,
|
|
912
|
+
loading: _ctx.pageFilterLoading[pf.key] === true,
|
|
913
|
+
inputLabel: pf.label ? $options.effectiveTranslate(pf.label) : pf.key,
|
|
914
|
+
label: "label",
|
|
915
|
+
"data-testid": 'cn-page-filter-' + pf.key,
|
|
916
|
+
"onUpdate:modelValue": $event => (_ctx.onPageFilterChange(pf, $event))
|
|
917
|
+
}, null, 8 /* PROPS */, ["modelValue", "options", "clearable", "placeholder", "loading", "inputLabel", "data-testid", "onUpdate:modelValue"])
|
|
918
|
+
]))
|
|
919
|
+
], 64 /* STABLE_FRAGMENT */))
|
|
920
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
921
|
+
]))
|
|
922
|
+
: createCommentVNode("v-if", true),
|
|
923
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.bandWidgets, (entry) => {
|
|
924
|
+
return (openBlock(), createElementBlock("div", {
|
|
925
|
+
key: `band-${entry.widget.id}`,
|
|
926
|
+
class: normalizeClass(["cn-detail-page__band-item", { 'cn-detail-page__band-item--full': entry.span === 12 }]),
|
|
927
|
+
style: normalizeStyle({ '--cn-band-span': entry.span }),
|
|
928
|
+
"data-testid": `cn-detail-page-band-${entry.widget.id}`
|
|
929
|
+
}, [
|
|
930
|
+
renderSlot(_ctx.$slots, `widget-${entry.widget.id}`, {
|
|
931
|
+
item: { id: entry.widget.id, widgetId: entry.widget.id },
|
|
932
|
+
widget: entry.widget,
|
|
933
|
+
objectId: $props.objectId,
|
|
934
|
+
object: $options.resolvedObject,
|
|
935
|
+
objectData: $options.resolvedObject,
|
|
936
|
+
objectType: $options.resolvedObjectType,
|
|
937
|
+
register: $props.register,
|
|
938
|
+
schema: $props.schema
|
|
939
|
+
}, () => [
|
|
940
|
+
createVNode(_component_CnDetailWidgetHost, {
|
|
941
|
+
widget: entry.widget,
|
|
942
|
+
chrome: entry.chrome,
|
|
943
|
+
showCardTitle: true,
|
|
944
|
+
showActions: $options.effectiveShowWidgetActions,
|
|
945
|
+
objectId: $props.objectId,
|
|
946
|
+
object: $options.currentObject,
|
|
947
|
+
objectType: $options.resolvedObjectType,
|
|
948
|
+
schemaObject: $options.currentSchema,
|
|
949
|
+
register: $props.register,
|
|
950
|
+
schema: $props.schema,
|
|
951
|
+
store: $options.effectiveObjectStore,
|
|
952
|
+
surface: $props.surface,
|
|
953
|
+
integrationContext: $options.effectiveIntegrationContext,
|
|
954
|
+
hideEmpty: $props.hideEmpty,
|
|
955
|
+
cnRegistry: $options.cnRegistry,
|
|
956
|
+
availableWidgets: _ctx.widgets
|
|
957
|
+
}, null, 8 /* PROPS */, ["widget", "chrome", "showActions", "objectId", "object", "objectType", "schemaObject", "register", "schema", "store", "surface", "integrationContext", "hideEmpty", "cnRegistry", "availableWidgets"])
|
|
958
|
+
])
|
|
959
|
+
], 14 /* CLASS, STYLE, PROPS */, _hoisted_26))
|
|
960
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
961
|
+
]))
|
|
962
|
+
: createCommentVNode("v-if", true),
|
|
963
|
+
($data.objectNotFound)
|
|
964
|
+
? (openBlock(), createElementBlock("div", _hoisted_27, [
|
|
854
965
|
renderSlot(_ctx.$slots, "not-found", { target: $options.notFoundTarget }, () => [
|
|
855
966
|
createVNode(_component_NcEmptyContent, {
|
|
856
967
|
name: $options.notFoundLabels.name,
|
|
@@ -886,7 +997,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
886
997
|
])
|
|
887
998
|
]))
|
|
888
999
|
: ($options.contentWithheld)
|
|
889
|
-
? (openBlock(), createElementBlock("div",
|
|
1000
|
+
? (openBlock(), createElementBlock("div", _hoisted_28, [
|
|
890
1001
|
($data.accessPurposeAsking)
|
|
891
1002
|
? (openBlock(), createBlock(_component_CnAccessPurposeDialog, {
|
|
892
1003
|
key: 0,
|
|
@@ -926,12 +1037,12 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
926
1037
|
}, null, 8 /* PROPS */, ["name"]))
|
|
927
1038
|
]))
|
|
928
1039
|
: ($options.showLoadingState)
|
|
929
|
-
? (openBlock(), createElementBlock("div",
|
|
1040
|
+
? (openBlock(), createElementBlock("div", _hoisted_29, [
|
|
930
1041
|
createVNode(_component_NcLoadingIcon, { size: 32 }),
|
|
931
1042
|
createElementVNode("span", null, toDisplayString($props.loadingLabel), 1 /* TEXT */)
|
|
932
1043
|
]))
|
|
933
1044
|
: ($props.error)
|
|
934
|
-
? (openBlock(), createElementBlock("div",
|
|
1045
|
+
? (openBlock(), createElementBlock("div", _hoisted_30, [
|
|
935
1046
|
renderSlot(_ctx.$slots, "error", {}, () => [
|
|
936
1047
|
createVNode(_component_NcEmptyContent, { name: $props.errorMessage }, {
|
|
937
1048
|
icon: withCtx(() => [
|
|
@@ -960,7 +1071,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
960
1071
|
])
|
|
961
1072
|
]))
|
|
962
1073
|
: ($props.empty)
|
|
963
|
-
? (openBlock(), createElementBlock("div",
|
|
1074
|
+
? (openBlock(), createElementBlock("div", _hoisted_31, [
|
|
964
1075
|
renderSlot(_ctx.$slots, "empty", {}, () => [
|
|
965
1076
|
createVNode(_component_NcEmptyContent, { name: $props.emptyLabel }, {
|
|
966
1077
|
icon: withCtx(() => [
|
|
@@ -973,9 +1084,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
973
1084
|
}, 8 /* PROPS */, ["name"])
|
|
974
1085
|
])
|
|
975
1086
|
]))
|
|
976
|
-
: (openBlock(), createElementBlock("div",
|
|
1087
|
+
: (openBlock(), createElementBlock("div", _hoisted_32, [
|
|
977
1088
|
(_ctx.$slots['before-body'] || _ctx.$slots['before-body'])
|
|
978
|
-
? (openBlock(), createElementBlock("div",
|
|
1089
|
+
? (openBlock(), createElementBlock("div", _hoisted_33, [
|
|
979
1090
|
renderSlot(_ctx.$slots, "before-body", {
|
|
980
1091
|
object: $options.resolvedObject,
|
|
981
1092
|
schema: $options.currentSchema,
|
|
@@ -1011,7 +1122,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1011
1122
|
"aria-labelledby": $options.showGridTitle(item) ? `widget-title-${item.id}` : undefined
|
|
1012
1123
|
}, [
|
|
1013
1124
|
($options.showsCog(item))
|
|
1014
|
-
? (openBlock(), createElementBlock("div",
|
|
1125
|
+
? (openBlock(), createElementBlock("div", _hoisted_35, [
|
|
1015
1126
|
createVNode(_component_NcButton, {
|
|
1016
1127
|
variant: "tertiary",
|
|
1017
1128
|
"aria-label": _ctx.t('nextcloud-vue', 'Configure widget'),
|
|
@@ -1029,7 +1140,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1029
1140
|
key: 1,
|
|
1030
1141
|
id: `widget-title-${item.id}`,
|
|
1031
1142
|
class: "cn-detail-page__widget-title"
|
|
1032
|
-
}, toDisplayString($options.gridTitle(item)), 9 /* TEXT, PROPS */,
|
|
1143
|
+
}, toDisplayString($options.gridTitle(item)), 9 /* TEXT, PROPS */, _hoisted_36))
|
|
1033
1144
|
: createCommentVNode("v-if", true),
|
|
1034
1145
|
renderSlot(_ctx.$slots, `widget-${item.widgetId}`, {
|
|
1035
1146
|
item: item,
|
|
@@ -1064,7 +1175,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1064
1175
|
onSelectObject: $options.onRelatedObjectSelect
|
|
1065
1176
|
}, null, 8 /* PROPS */, ["widget", "showCardTitle", "showActions", "objectId", "object", "objectType", "schemaObject", "register", "schema", "store", "surface", "integrationContext", "hideEmpty", "cnRegistry", "availableWidgets", "onGeoSaved", "onOpenIntegration", "onSelectObject"])
|
|
1066
1177
|
])
|
|
1067
|
-
], 10 /* CLASS, PROPS */,
|
|
1178
|
+
], 10 /* CLASS, PROPS */, _hoisted_34)
|
|
1068
1179
|
]),
|
|
1069
1180
|
_: 3 /* FORWARDED */
|
|
1070
1181
|
}, 16 /* FULL_PROPS */, ["layout", "editable", "columnOpts", "onLayoutChange"]))
|
|
@@ -1084,18 +1195,18 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1084
1195
|
]),
|
|
1085
1196
|
_: 1 /* STABLE */
|
|
1086
1197
|
}, 8 /* PROPS */, ["description"])
|
|
1087
|
-
], 8 /* PROPS */,
|
|
1198
|
+
], 8 /* PROPS */, _hoisted_37))
|
|
1088
1199
|
: createCommentVNode("v-if", true),
|
|
1089
1200
|
($options.hasStats)
|
|
1090
|
-
? (openBlock(), createElementBlock("div",
|
|
1201
|
+
? (openBlock(), createElementBlock("div", _hoisted_38, [
|
|
1091
1202
|
renderSlot(_ctx.$slots, "stats-header", {}, () => [
|
|
1092
1203
|
($props.statsTitle)
|
|
1093
|
-
? (openBlock(), createElementBlock("h3",
|
|
1204
|
+
? (openBlock(), createElementBlock("h3", _hoisted_39, toDisplayString($options.resolvedStatsTitle), 1 /* TEXT */))
|
|
1094
1205
|
: createCommentVNode("v-if", true)
|
|
1095
1206
|
]),
|
|
1096
|
-
createElementVNode("table",
|
|
1207
|
+
createElementVNode("table", _hoisted_40, [
|
|
1097
1208
|
($props.statsColumns.length > 0)
|
|
1098
|
-
? (openBlock(), createElementBlock("thead",
|
|
1209
|
+
? (openBlock(), createElementBlock("thead", _hoisted_41, [
|
|
1099
1210
|
createElementVNode("tr", null, [
|
|
1100
1211
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.statsColumns, (col) => {
|
|
1101
1212
|
return (openBlock(), createElementBlock("th", {
|
|
@@ -1126,14 +1237,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1126
1237
|
])
|
|
1127
1238
|
])
|
|
1128
1239
|
]))
|
|
1129
|
-
: (openBlock(), createElementBlock("div",
|
|
1240
|
+
: (openBlock(), createElementBlock("div", _hoisted_42, [
|
|
1130
1241
|
(!$options.hasBodyGrid)
|
|
1131
|
-
? (openBlock(), createElementBlock("div",
|
|
1242
|
+
? (openBlock(), createElementBlock("div", _hoisted_43, [
|
|
1132
1243
|
renderSlot(_ctx.$slots, "default")
|
|
1133
1244
|
]))
|
|
1134
1245
|
: createCommentVNode("v-if", true),
|
|
1135
1246
|
(_ctx.$slots.sections)
|
|
1136
|
-
? (openBlock(), createElementBlock("div",
|
|
1247
|
+
? (openBlock(), createElementBlock("div", _hoisted_44, [
|
|
1137
1248
|
renderSlot(_ctx.$slots, "sections")
|
|
1138
1249
|
]))
|
|
1139
1250
|
: createCommentVNode("v-if", true)
|
|
@@ -1148,9 +1259,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1148
1259
|
}, null, 8 /* PROPS */, ["sections", "context"]))
|
|
1149
1260
|
: createCommentVNode("v-if", true),
|
|
1150
1261
|
(($props.relatedCollections && $props.relatedCollections.length > 0) || ($props.relationLinks && $props.relationLinks.length > 0))
|
|
1151
|
-
? (openBlock(), createElementBlock("div",
|
|
1262
|
+
? (openBlock(), createElementBlock("div", _hoisted_45, [
|
|
1152
1263
|
($props.relationLinks && $props.relationLinks.length > 0)
|
|
1153
|
-
? (openBlock(), createElementBlock("div",
|
|
1264
|
+
? (openBlock(), createElementBlock("div", _hoisted_46, [
|
|
1154
1265
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.relationLinks, (link, li) => {
|
|
1155
1266
|
return (openBlock(), createBlock(_component_NcButton, {
|
|
1156
1267
|
key: li,
|
|
@@ -1197,14 +1308,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1197
1308
|
}, null, 8 /* PROPS */, ["sections", "context"]))
|
|
1198
1309
|
: createCommentVNode("v-if", true),
|
|
1199
1310
|
(_ctx.$slots.footer)
|
|
1200
|
-
? (openBlock(), createElementBlock("div",
|
|
1311
|
+
? (openBlock(), createElementBlock("div", _hoisted_47, [
|
|
1201
1312
|
renderSlot(_ctx.$slots, "footer")
|
|
1202
1313
|
]))
|
|
1203
1314
|
: createCommentVNode("v-if", true)
|
|
1204
1315
|
])),
|
|
1205
1316
|
($options.showsSideColumn)
|
|
1206
1317
|
? (openBlock(), createElementBlock("aside", {
|
|
1207
|
-
key:
|
|
1318
|
+
key: 13,
|
|
1208
1319
|
class: "cn-detail-page__side",
|
|
1209
1320
|
"aria-label": $options.sideColumnLabel,
|
|
1210
1321
|
"data-testid": "cn-detail-page-side"
|
|
@@ -1213,7 +1324,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1213
1324
|
id: $data.sideTakeoverId,
|
|
1214
1325
|
class: "cn-detail-page__side-takeover",
|
|
1215
1326
|
"data-testid": "cn-detail-page-side-takeover"
|
|
1216
|
-
}, null, 8 /* PROPS */,
|
|
1327
|
+
}, null, 8 /* PROPS */, _hoisted_49),
|
|
1217
1328
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.sideClaims.length > 0 ? [] : $options.sideColumnWidgets, (widget) => {
|
|
1218
1329
|
return (openBlock(), createElementBlock("div", {
|
|
1219
1330
|
key: `side-${widget.id}`,
|
|
@@ -1253,15 +1364,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1253
1364
|
}, null, 40 /* PROPS, NEED_HYDRATION */, ["widget", "showActions", "objectId", "object", "objectType", "schemaObject", "register", "schema", "store", "surface", "integrationContext", "hideEmpty", "cnRegistry", "availableWidgets", "onGeoSaved", "onOpenIntegration", "onSelectObject"]))
|
|
1254
1365
|
]),
|
|
1255
1366
|
($options.isBoard && widget.id === $options.sideHistoryId && $options.identifierLine !== '')
|
|
1256
|
-
? (openBlock(), createElementBlock("p",
|
|
1367
|
+
? (openBlock(), createElementBlock("p", _hoisted_51, toDisplayString($options.identifierLine), 1 /* TEXT */))
|
|
1257
1368
|
: createCommentVNode("v-if", true)
|
|
1258
|
-
], 10 /* CLASS, PROPS */,
|
|
1369
|
+
], 10 /* CLASS, PROPS */, _hoisted_50))
|
|
1259
1370
|
}), 128 /* KEYED_FRAGMENT */))
|
|
1260
|
-
], 8 /* PROPS */,
|
|
1371
|
+
], 8 /* PROPS */, _hoisted_48))
|
|
1261
1372
|
: createCommentVNode("v-if", true),
|
|
1262
1373
|
($data.showWidgetConfig)
|
|
1263
1374
|
? (openBlock(), createBlock(_component_CnWidgetStyleEditorModal, {
|
|
1264
|
-
key:
|
|
1375
|
+
key: 14,
|
|
1265
1376
|
show: $data.showWidgetConfig,
|
|
1266
1377
|
widget: $options.configWidget,
|
|
1267
1378
|
deletable: true,
|
|
@@ -1314,7 +1425,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1314
1425
|
]),
|
|
1315
1426
|
($data.sourceVerbForm)
|
|
1316
1427
|
? (openBlock(), createBlock(_component_CnFormDialog, {
|
|
1317
|
-
key:
|
|
1428
|
+
key: 15,
|
|
1318
1429
|
ref: "sourceVerbFormDialog",
|
|
1319
1430
|
schema: $data.sourceVerbForm.form.schema,
|
|
1320
1431
|
item: $data.sourceVerbForm.form.item || {},
|
|
@@ -1326,7 +1437,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1326
1437
|
: createCommentVNode("v-if", true),
|
|
1327
1438
|
($data.activeRelationLink)
|
|
1328
1439
|
? (openBlock(), createBlock(_component_CnRelationLinkModal, {
|
|
1329
|
-
key:
|
|
1440
|
+
key: 16,
|
|
1330
1441
|
title: $data.activeRelationLink.title || undefined,
|
|
1331
1442
|
selectLabel: $data.activeRelationLink.selectLabel || undefined,
|
|
1332
1443
|
register: $data.activeRelationLink.register,
|