@conduction/nextcloud-vue 2.65.0 → 2.66.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.vue2.js +99 -2
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js.map +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js +438 -383
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js.map +1 -1
- package/dist/esm/components/CnDataTable/CnColumnFilterPopover.vue2.js +9 -3
- package/dist/esm/components/CnDataTable/CnColumnFilterPopover.vue2.js.map +1 -1
- package/dist/esm/components/CnDataTable/CnColumnFilterPopover.vue3.js +1 -1
- package/dist/esm/components/CnDataTable/CnColumnFilterPopover.vue3.js.map +1 -1
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js +78 -21
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js.map +1 -1
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue3.js +129 -96
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue3.js.map +1 -1
- package/dist/esm/components/CnFkResolveCell/CnFkResolveCell.vue2.js +3 -1
- package/dist/esm/components/CnFkResolveCell/CnFkResolveCell.vue2.js.map +1 -1
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue2.js +144 -4
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue2.js.map +1 -1
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue3.js.map +1 -1
- package/dist/esm/components/CnHeaderWidget/CnHeaderWidget.vue2.js +63 -7
- package/dist/esm/components/CnHeaderWidget/CnHeaderWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnHeaderWidget/CnHeaderWidget.vue3.js +2 -1
- package/dist/esm/components/CnHeaderWidget/CnHeaderWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnSegmentedControl/CnSegmentedControl.vue2.js +11 -0
- package/dist/esm/components/CnSegmentedControl/CnSegmentedControl.vue2.js.map +1 -1
- package/dist/esm/components/CnSegmentedControl/CnSegmentedControl.vue3.js +2 -1
- package/dist/esm/components/CnSegmentedControl/CnSegmentedControl.vue3.js.map +1 -1
- package/dist/esm/l10n/en.json.js +3 -0
- package/dist/esm/l10n/en.json.js.map +1 -1
- package/dist/esm/l10n/nl.json.js +3 -0
- package/dist/esm/l10n/nl.json.js.map +1 -1
- package/dist/esm/mixins/pageViews.js +400 -0
- package/dist/esm/mixins/pageViews.js.map +1 -0
- package/dist/esm/nextcloud-vue.css +18 -0
- package/dist/esm/utils/actionsDispatcher.js +11 -2
- package/dist/esm/utils/actionsDispatcher.js.map +1 -1
- package/dist/esm/utils/columnFilters.js +27 -3
- package/dist/esm/utils/columnFilters.js.map +1 -1
- package/dist/esm/utils/schema.js +40 -2
- package/dist/esm/utils/schema.js.map +1 -1
- package/dist/esm/utils/validateManifestV2.compiled.js +2 -2
- package/dist/esm/utils/validateManifestV2.compiled.js.map +1 -1
- package/dist/nextcloud-vue.cjs.js +1521 -596
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +18 -0
- package/l10n/en.json +3 -0
- package/l10n/nl.json +3 -0
- package/package.json +1 -1
- package/src/components/CnDashboardPage/CnDashboardPage.vue +165 -8
- package/src/components/CnDataTable/CnColumnFilterPopover.vue +11 -5
- package/src/components/CnDetailPage/CnDetailPage.vue +94 -5
- package/src/components/CnFkResolveCell/CnFkResolveCell.vue +3 -1
- package/src/components/CnFormDialog/CnFormDialog.vue +144 -4
- package/src/components/CnHeaderWidget/CnHeaderWidget.vue +67 -8
- package/src/components/CnSegmentedControl/CnSegmentedControl.md +1 -1
- package/src/components/CnSegmentedControl/CnSegmentedControl.vue +12 -0
- package/src/css/detail-page.css +5 -0
- package/src/mixins/pageViews.js +396 -0
- package/src/schemas/app-manifest-v2.schema.json +29 -1
- package/src/utils/actionsDispatcher.js +11 -2
- package/src/utils/columnFilters.js +29 -2
- package/src/utils/schema.js +40 -2
- package/src/utils/validateManifestV2.compiled.js +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, toDisplayString, createCommentVNode, createBlock, renderSlot, createElementVNode, Fragment, renderList, createVNode, withCtx, createTextVNode, createSlots } from 'vue';
|
|
1
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, toDisplayString, createCommentVNode, createBlock, renderSlot, createElementVNode, Fragment, renderList, createVNode, withCtx, createTextVNode, createSlots, mergeProps } from 'vue';
|
|
2
2
|
|
|
3
3
|
const _hoisted_1 = ["href"];
|
|
4
4
|
const _hoisted_2 = { class: "cn-detail-page__header-left" };
|
|
@@ -20,7 +20,7 @@ const _hoisted_7 = {
|
|
|
20
20
|
};
|
|
21
21
|
const _hoisted_8 = { class: "cn-detail-page__header-actions" };
|
|
22
22
|
const _hoisted_9 = {
|
|
23
|
-
key:
|
|
23
|
+
key: 1,
|
|
24
24
|
class: "cn-detail-page__list-nav",
|
|
25
25
|
"data-testid": "cn-detail-page-list-nav"
|
|
26
26
|
};
|
|
@@ -70,42 +70,43 @@ const _hoisted_20 = {
|
|
|
70
70
|
class: "cn-detail-page__widget-edit"
|
|
71
71
|
};
|
|
72
72
|
const _hoisted_21 = ["id"];
|
|
73
|
-
const _hoisted_22 =
|
|
73
|
+
const _hoisted_22 = ["id", "aria-label"];
|
|
74
|
+
const _hoisted_23 = {
|
|
74
75
|
key: 3,
|
|
75
76
|
class: "cn-detail-page__stats"
|
|
76
77
|
};
|
|
77
|
-
const
|
|
78
|
+
const _hoisted_24 = {
|
|
78
79
|
key: 0,
|
|
79
80
|
class: "cn-detail-page__section-title"
|
|
80
81
|
};
|
|
81
|
-
const
|
|
82
|
-
const
|
|
83
|
-
const
|
|
82
|
+
const _hoisted_25 = { class: "cn-detail-page__stats-table" };
|
|
83
|
+
const _hoisted_26 = { key: 0 };
|
|
84
|
+
const _hoisted_27 = {
|
|
84
85
|
key: 4,
|
|
85
86
|
class: "cn-detail-page__content"
|
|
86
87
|
};
|
|
87
|
-
const
|
|
88
|
+
const _hoisted_28 = {
|
|
88
89
|
key: 0,
|
|
89
90
|
class: "cn-detail-page__content"
|
|
90
91
|
};
|
|
91
|
-
const
|
|
92
|
+
const _hoisted_29 = {
|
|
92
93
|
key: 1,
|
|
93
94
|
class: "cn-detail-page__sections"
|
|
94
95
|
};
|
|
95
|
-
const
|
|
96
|
+
const _hoisted_30 = {
|
|
96
97
|
key: 6,
|
|
97
98
|
class: "cn-detail-page__related-collections"
|
|
98
99
|
};
|
|
99
|
-
const
|
|
100
|
+
const _hoisted_31 = {
|
|
100
101
|
key: 0,
|
|
101
102
|
class: "cn-detail-page__relation-links"
|
|
102
103
|
};
|
|
103
|
-
const
|
|
104
|
+
const _hoisted_32 = {
|
|
104
105
|
key: 9,
|
|
105
106
|
class: "cn-detail-page__footer"
|
|
106
107
|
};
|
|
107
|
-
const
|
|
108
|
-
const
|
|
108
|
+
const _hoisted_33 = ["aria-label"];
|
|
109
|
+
const _hoisted_34 = ["data-testid"];
|
|
109
110
|
|
|
110
111
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
111
112
|
const _component_CnBreadcrumbs = resolveComponent("CnBreadcrumbs");
|
|
@@ -113,6 +114,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
113
114
|
const _component_CnStatusBadge = resolveComponent("CnStatusBadge");
|
|
114
115
|
const _component_CnTranslatedBadge = resolveComponent("CnTranslatedBadge");
|
|
115
116
|
const _component_CnSummaryAggregates = resolveComponent("CnSummaryAggregates");
|
|
117
|
+
const _component_CnSegmentedControl = resolveComponent("CnSegmentedControl");
|
|
116
118
|
const _component_ChevronLeft = resolveComponent("ChevronLeft");
|
|
117
119
|
const _component_NcButton = resolveComponent("NcButton");
|
|
118
120
|
const _component_ChevronRight = resolveComponent("ChevronRight");
|
|
@@ -138,6 +140,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
138
140
|
const _component_CnBodySections = resolveComponent("CnBodySections");
|
|
139
141
|
const _component_Cog = resolveComponent("Cog");
|
|
140
142
|
const _component_CnDashboardGrid = resolveComponent("CnDashboardGrid");
|
|
143
|
+
const _component_ViewDashboardOutline = resolveComponent("ViewDashboardOutline");
|
|
141
144
|
const _component_Plus = resolveComponent("Plus");
|
|
142
145
|
const _component_CnRelatedCollections = resolveComponent("CnRelatedCollections");
|
|
143
146
|
const _component_CnWidgetStyleEditorModal = resolveComponent("CnWidgetStyleEditorModal");
|
|
@@ -236,6 +239,18 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
236
239
|
])
|
|
237
240
|
]),
|
|
238
241
|
createElementVNode("div", _hoisted_8, [
|
|
242
|
+
(_ctx.showsPageViewSwitch)
|
|
243
|
+
? (openBlock(), createBlock(_component_CnSegmentedControl, {
|
|
244
|
+
key: 0,
|
|
245
|
+
class: "cn-page-view-switch",
|
|
246
|
+
options: _ctx.viewSwitchOptions,
|
|
247
|
+
modelValue: _ctx.activeViewId,
|
|
248
|
+
ariaLabel: _ctx.viewSwitchLabel,
|
|
249
|
+
controls: _ctx.viewRegionId,
|
|
250
|
+
"data-testid": "cn-detail-page-view-switch",
|
|
251
|
+
"onUpdate:modelValue": _ctx.selectView
|
|
252
|
+
}, null, 8 /* PROPS */, ["options", "modelValue", "ariaLabel", "controls", "onUpdate:modelValue"]))
|
|
253
|
+
: createCommentVNode("v-if", true),
|
|
239
254
|
($props.listNavigation && $props.listNavigation.available)
|
|
240
255
|
? (openBlock(), createElementBlock("div", _hoisted_9, [
|
|
241
256
|
createVNode(_component_NcButton, {
|
|
@@ -271,7 +286,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
271
286
|
: createCommentVNode("v-if", true),
|
|
272
287
|
($options.effectivePrimaryLabel && !$options.showsNextStepCard)
|
|
273
288
|
? (openBlock(), createBlock(_component_NcButton, {
|
|
274
|
-
key:
|
|
289
|
+
key: 2,
|
|
275
290
|
id: $options.primaryActionAnchorId,
|
|
276
291
|
ref: "primaryActionButton",
|
|
277
292
|
variant: "primary",
|
|
@@ -318,7 +333,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
318
333
|
}), 128 /* KEYED_FRAGMENT */)),
|
|
319
334
|
($options.showsLifecycleActions)
|
|
320
335
|
? (openBlock(), createBlock(_component_CnLifecycleActions, {
|
|
321
|
-
key:
|
|
336
|
+
key: 3,
|
|
322
337
|
objectId: $props.objectId,
|
|
323
338
|
object: $options.currentObject,
|
|
324
339
|
config: $props.lifecycleActions,
|
|
@@ -331,7 +346,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
331
346
|
: createCommentVNode("v-if", true),
|
|
332
347
|
($options.effectiveHeaderActions.length > 0)
|
|
333
348
|
? (openBlock(), createBlock(_component_CnActionButtons, {
|
|
334
|
-
key:
|
|
349
|
+
key: 4,
|
|
335
350
|
actions: $options.effectiveHeaderActions,
|
|
336
351
|
display: "menu",
|
|
337
352
|
"data-testid": "cn-detail-page-header-actions",
|
|
@@ -350,7 +365,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
350
365
|
}),
|
|
351
366
|
($options.canEditRecord && !$options.foldsEditIntoActions)
|
|
352
367
|
? (openBlock(), createBlock(_component_NcButton, {
|
|
353
|
-
key:
|
|
368
|
+
key: 5,
|
|
354
369
|
variant: "secondary",
|
|
355
370
|
"data-testid": "cn-detail-page-edit",
|
|
356
371
|
"aria-label": $options.editActionLabel,
|
|
@@ -669,87 +684,105 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
669
684
|
"data-testid": "cn-detail-body-sections-before-body"
|
|
670
685
|
}, null, 8 /* PROPS */, ["sections", "context"]))
|
|
671
686
|
: createCommentVNode("v-if", true),
|
|
672
|
-
($options.
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
])
|
|
700
|
-
|
|
701
|
-
(
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
687
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.bodyGridSections, (section) => {
|
|
688
|
+
return (openBlock(), createBlock(_component_CnDashboardGrid, mergeProps({
|
|
689
|
+
key: `cn-detail-grid-${section.key}-${$options.editingBody ? 'editing' : 'live'}`
|
|
690
|
+
}, { ref_for: true }, section.attrs, {
|
|
691
|
+
layout: section.layout,
|
|
692
|
+
editable: $options.editingBody,
|
|
693
|
+
columns: 12,
|
|
694
|
+
columnOpts: $props.columnOpts,
|
|
695
|
+
class: "cn-detail-page__grid",
|
|
696
|
+
onLayoutChange: $event => (section.view ? _ctx.onViewLayoutChange($event) : $options.onBodyLayoutChange($event))
|
|
697
|
+
}), {
|
|
698
|
+
widget: withCtx(({ item }) => [
|
|
699
|
+
createElementVNode("div", {
|
|
700
|
+
class: normalizeClass(["cn-detail-page__grid-item", { 'cn-detail-page__grid-item--fit': !!item.sizeToContent }]),
|
|
701
|
+
"aria-labelledby": $options.showGridTitle(item) ? `widget-title-${item.id}` : undefined
|
|
702
|
+
}, [
|
|
703
|
+
($options.showsCog(item))
|
|
704
|
+
? (openBlock(), createElementBlock("div", _hoisted_20, [
|
|
705
|
+
createVNode(_component_NcButton, {
|
|
706
|
+
variant: "tertiary",
|
|
707
|
+
"aria-label": _ctx.t('nextcloud-vue', 'Configure widget'),
|
|
708
|
+
onClick: $event => ($options.configureWidget(item))
|
|
709
|
+
}, {
|
|
710
|
+
icon: withCtx(() => [
|
|
711
|
+
createVNode(_component_Cog, { size: 18 })
|
|
712
|
+
]),
|
|
713
|
+
_: 1 /* STABLE */
|
|
714
|
+
}, 8 /* PROPS */, ["aria-label", "onClick"])
|
|
715
|
+
]))
|
|
716
|
+
: createCommentVNode("v-if", true),
|
|
717
|
+
($options.showGridTitle(item))
|
|
718
|
+
? (openBlock(), createElementBlock("h3", {
|
|
719
|
+
key: 1,
|
|
720
|
+
id: `widget-title-${item.id}`,
|
|
721
|
+
class: "cn-detail-page__widget-title"
|
|
722
|
+
}, toDisplayString($options.gridTitle(item)), 9 /* TEXT, PROPS */, _hoisted_21))
|
|
723
|
+
: createCommentVNode("v-if", true),
|
|
724
|
+
renderSlot(_ctx.$slots, `widget-${item.widgetId}`, {
|
|
725
|
+
item: item,
|
|
726
|
+
widget: $options.findWidget(item),
|
|
727
|
+
objectId: $props.objectId,
|
|
728
|
+
object: $options.resolvedObject,
|
|
729
|
+
objectData: $options.resolvedObject,
|
|
730
|
+
objectType: $options.resolvedObjectType,
|
|
731
|
+
register: $props.register,
|
|
732
|
+
schema: $props.schema
|
|
733
|
+
}, () => [
|
|
734
|
+
createVNode(_component_CnDetailWidgetHost, {
|
|
710
735
|
widget: $options.findWidget(item),
|
|
736
|
+
chrome: "card",
|
|
737
|
+
showCardTitle: $options.showCardTitle(item),
|
|
711
738
|
objectId: $props.objectId,
|
|
712
|
-
object: $options.
|
|
713
|
-
objectData: $options.resolvedObject,
|
|
739
|
+
object: $options.currentObject,
|
|
714
740
|
objectType: $options.resolvedObjectType,
|
|
741
|
+
schemaObject: $options.currentSchema,
|
|
715
742
|
register: $props.register,
|
|
716
|
-
schema: $props.schema
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
743
|
+
schema: $props.schema,
|
|
744
|
+
store: $options.effectiveObjectStore,
|
|
745
|
+
surface: $props.surface,
|
|
746
|
+
integrationContext: $options.effectiveIntegrationContext,
|
|
747
|
+
hideEmpty: $props.hideEmpty,
|
|
748
|
+
cnRegistry: $options.cnRegistry,
|
|
749
|
+
availableWidgets: $options.bodyGridWidgets,
|
|
750
|
+
onGeoSaved: $options.onGeoSaved,
|
|
751
|
+
onOpenIntegration: $options.onAutoBodyOpenIntegration
|
|
752
|
+
}, null, 8 /* PROPS */, ["widget", "showCardTitle", "objectId", "object", "objectType", "schemaObject", "register", "schema", "store", "surface", "integrationContext", "hideEmpty", "cnRegistry", "availableWidgets", "onGeoSaved", "onOpenIntegration"])
|
|
753
|
+
])
|
|
754
|
+
], 10 /* CLASS, PROPS */, _hoisted_19)
|
|
755
|
+
]),
|
|
756
|
+
_: 3 /* FORWARDED */
|
|
757
|
+
}, 16 /* FULL_PROPS */, ["layout", "editable", "columnOpts", "onLayoutChange"]))
|
|
758
|
+
}), 128 /* KEYED_FRAGMENT */)),
|
|
759
|
+
($options.viewIsEmpty)
|
|
760
|
+
? (openBlock(), createElementBlock("div", {
|
|
761
|
+
key: 2,
|
|
762
|
+
id: _ctx.viewRegionId,
|
|
763
|
+
role: "region",
|
|
764
|
+
"aria-label": _ctx.activeView ? _ctx.activeView.label : null,
|
|
765
|
+
class: "cn-page-view-region cn-page-view-region--empty",
|
|
766
|
+
"data-testid": "cn-detail-page-view-empty"
|
|
767
|
+
}, [
|
|
768
|
+
createVNode(_component_NcEmptyContent, { description: _ctx.viewEmptyText }, {
|
|
769
|
+
icon: withCtx(() => [
|
|
770
|
+
createVNode(_component_ViewDashboardOutline, { size: 48 })
|
|
771
|
+
]),
|
|
772
|
+
_: 1 /* STABLE */
|
|
773
|
+
}, 8 /* PROPS */, ["description"])
|
|
774
|
+
], 8 /* PROPS */, _hoisted_22))
|
|
742
775
|
: createCommentVNode("v-if", true),
|
|
743
776
|
($options.hasStats)
|
|
744
|
-
? (openBlock(), createElementBlock("div",
|
|
777
|
+
? (openBlock(), createElementBlock("div", _hoisted_23, [
|
|
745
778
|
renderSlot(_ctx.$slots, "stats-header", {}, () => [
|
|
746
779
|
($props.statsTitle)
|
|
747
|
-
? (openBlock(), createElementBlock("h3",
|
|
780
|
+
? (openBlock(), createElementBlock("h3", _hoisted_24, toDisplayString($options.resolvedStatsTitle), 1 /* TEXT */))
|
|
748
781
|
: createCommentVNode("v-if", true)
|
|
749
782
|
]),
|
|
750
|
-
createElementVNode("table",
|
|
783
|
+
createElementVNode("table", _hoisted_25, [
|
|
751
784
|
($props.statsColumns.length > 0)
|
|
752
|
-
? (openBlock(), createElementBlock("thead",
|
|
785
|
+
? (openBlock(), createElementBlock("thead", _hoisted_26, [
|
|
753
786
|
createElementVNode("tr", null, [
|
|
754
787
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.statsColumns, (col) => {
|
|
755
788
|
return (openBlock(), createElementBlock("th", {
|
|
@@ -780,14 +813,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
780
813
|
])
|
|
781
814
|
])
|
|
782
815
|
]))
|
|
783
|
-
: (openBlock(), createElementBlock("div",
|
|
816
|
+
: (openBlock(), createElementBlock("div", _hoisted_27, [
|
|
784
817
|
(!$options.hasBodyGrid)
|
|
785
|
-
? (openBlock(), createElementBlock("div",
|
|
818
|
+
? (openBlock(), createElementBlock("div", _hoisted_28, [
|
|
786
819
|
renderSlot(_ctx.$slots, "default")
|
|
787
820
|
]))
|
|
788
821
|
: createCommentVNode("v-if", true),
|
|
789
822
|
(_ctx.$slots.sections)
|
|
790
|
-
? (openBlock(), createElementBlock("div",
|
|
823
|
+
? (openBlock(), createElementBlock("div", _hoisted_29, [
|
|
791
824
|
renderSlot(_ctx.$slots, "sections")
|
|
792
825
|
]))
|
|
793
826
|
: createCommentVNode("v-if", true)
|
|
@@ -802,9 +835,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
802
835
|
}, null, 8 /* PROPS */, ["sections", "context"]))
|
|
803
836
|
: createCommentVNode("v-if", true),
|
|
804
837
|
(($props.relatedCollections && $props.relatedCollections.length > 0) || ($props.relationLinks && $props.relationLinks.length > 0))
|
|
805
|
-
? (openBlock(), createElementBlock("div",
|
|
838
|
+
? (openBlock(), createElementBlock("div", _hoisted_30, [
|
|
806
839
|
($props.relationLinks && $props.relationLinks.length > 0)
|
|
807
|
-
? (openBlock(), createElementBlock("div",
|
|
840
|
+
? (openBlock(), createElementBlock("div", _hoisted_31, [
|
|
808
841
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.relationLinks, (link, li) => {
|
|
809
842
|
return (openBlock(), createBlock(_component_NcButton, {
|
|
810
843
|
key: li,
|
|
@@ -851,7 +884,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
851
884
|
}, null, 8 /* PROPS */, ["sections", "context"]))
|
|
852
885
|
: createCommentVNode("v-if", true),
|
|
853
886
|
(_ctx.$slots.footer)
|
|
854
|
-
? (openBlock(), createElementBlock("div",
|
|
887
|
+
? (openBlock(), createElementBlock("div", _hoisted_32, [
|
|
855
888
|
renderSlot(_ctx.$slots, "footer")
|
|
856
889
|
]))
|
|
857
890
|
: createCommentVNode("v-if", true)
|
|
@@ -899,9 +932,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
899
932
|
onOpenIntegration: $options.onAutoBodyOpenIntegration
|
|
900
933
|
}, null, 8 /* PROPS */, ["widget", "objectId", "object", "objectType", "schemaObject", "register", "schema", "store", "surface", "integrationContext", "hideEmpty", "cnRegistry", "availableWidgets", "onGeoSaved", "onOpenIntegration"])
|
|
901
934
|
])
|
|
902
|
-
], 8 /* PROPS */,
|
|
935
|
+
], 8 /* PROPS */, _hoisted_34))
|
|
903
936
|
}), 128 /* KEYED_FRAGMENT */))
|
|
904
|
-
], 8 /* PROPS */,
|
|
937
|
+
], 8 /* PROPS */, _hoisted_33))
|
|
905
938
|
: createCommentVNode("v-if", true),
|
|
906
939
|
($data.showWidgetConfig)
|
|
907
940
|
? (openBlock(), createBlock(_component_CnWidgetStyleEditorModal, {
|