@conduction/nextcloud-vue 2.135.0 → 2.136.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/CnActionDialog/CnActionDialog.vue.js +1 -1
- package/dist/esm/components/CnActionDialog/CnActionDialog.vue2.js +2 -1
- package/dist/esm/components/CnActionDialog/CnActionDialog.vue2.js.map +1 -1
- package/dist/esm/components/CnActionDialog/CnActionDialog.vue3.js +65 -50
- package/dist/esm/components/CnActionDialog/CnActionDialog.vue3.js.map +1 -1
- package/dist/esm/components/CnAuditTrailCard/CnAuditTrailCard.vue.js +1 -1
- package/dist/esm/components/CnAuditTrailCard/CnAuditTrailCard.vue2.js +6 -0
- package/dist/esm/components/CnAuditTrailCard/CnAuditTrailCard.vue2.js.map +1 -1
- package/dist/esm/components/CnAuditTrailCard/CnAuditTrailCard.vue3.js +9 -1
- package/dist/esm/components/CnAuditTrailCard/CnAuditTrailCard.vue3.js.map +1 -1
- package/dist/esm/components/CnAuditTrailWidget/CnAuditTrailWidget.vue.js +1 -1
- package/dist/esm/components/CnAuditTrailWidget/CnAuditTrailWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnAuditTrailWidget/CnAuditTrailWidget.vue3.js +4 -11
- package/dist/esm/components/CnAuditTrailWidget/CnAuditTrailWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnDataTable/CnDataTable.vue2.js +12 -0
- package/dist/esm/components/CnDataTable/CnDataTable.vue2.js.map +1 -1
- package/dist/esm/components/CnDataTable/CnDataTable.vue3.js +1 -1
- package/dist/esm/components/CnDataTable/CnDataTable.vue3.js.map +1 -1
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js +11 -0
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js.map +1 -1
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue3.js +1 -1
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue3.js.map +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js +3 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js.map +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue3.js +2 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue3.js.map +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue.js +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js +18 -0
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js +38 -23
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnWorkingCalendarWidget/CnWorkingCalendarWidget.vue.js +1 -1
- package/dist/esm/components/CnWorkingCalendarWidget/CnWorkingCalendarWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnWorkingCalendarWidget/CnWorkingCalendarWidget.vue3.js.map +1 -1
- package/dist/esm/composables/indexSources.js +69 -3
- package/dist/esm/composables/indexSources.js.map +1 -1
- package/dist/esm/l10n/en.json.js +20 -20
- package/dist/esm/l10n/nl.json.js +21 -21
- package/dist/esm/library-style.js +1 -1
- package/dist/esm/nextcloud-vue.css +322 -164
- package/dist/esm/utils/widgetDispatch.js +3 -1
- package/dist/esm/utils/widgetDispatch.js.map +1 -1
- package/dist/nextcloud-vue.cjs.js +739 -589
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +322 -164
- package/l10n/en.json +20 -20
- package/l10n/nl.json +21 -21
- package/package.json +1 -1
- package/src/components/CnActionDialog/CnActionDialog.vue +45 -4
- package/src/components/CnAuditTrailCard/CnAuditTrailCard.vue +15 -0
- package/src/components/CnAuditTrailWidget/CnAuditTrailWidget.vue +2 -10
- package/src/components/CnDataTable/CnDataTable.md +1 -0
- package/src/components/CnDataTable/CnDataTable.vue +13 -1
- package/src/components/CnDetailPage/CnDetailPage.md +1 -0
- package/src/components/CnDetailPage/CnDetailPage.vue +12 -1
- package/src/components/CnIndexPage/CnIndexPage.vue +4 -1
- package/src/components/CnRecordListWidget/CnRecordListWidget.vue +38 -2
- package/src/components/CnWorkingCalendarWidget/CnWorkingCalendarWidget.vue +7 -0
- package/src/composables/indexSources.js +69 -3
- package/src/css/look-board-detail.css +47 -1
- package/src/css/look-board-index.css +26 -1
- package/src/css/look-board.css +46 -3
- package/src/utils/widgetDispatch.js +3 -1
|
@@ -204,28 +204,29 @@ const _hoisted_58 = {
|
|
|
204
204
|
role: "alert",
|
|
205
205
|
"data-testid": "cn-record-list-action-error"
|
|
206
206
|
};
|
|
207
|
-
const _hoisted_59 = {
|
|
208
|
-
|
|
207
|
+
const _hoisted_59 = { class: "cn-record-list__notice-text" };
|
|
208
|
+
const _hoisted_60 = {
|
|
209
|
+
key: 12,
|
|
209
210
|
class: "cn-record-list__footnote",
|
|
210
211
|
"data-testid": "cn-record-list-footnote"
|
|
211
212
|
};
|
|
212
|
-
const
|
|
213
|
-
const
|
|
214
|
-
key:
|
|
213
|
+
const _hoisted_61 = ["href"];
|
|
214
|
+
const _hoisted_62 = {
|
|
215
|
+
key: 15,
|
|
215
216
|
class: "cn-record-list__group-head",
|
|
216
217
|
"data-testid": "cn-record-list-group-head"
|
|
217
218
|
};
|
|
218
|
-
const
|
|
219
|
+
const _hoisted_63 = {
|
|
219
220
|
class: "cn-record-list__group-heading",
|
|
220
221
|
"data-testid": "cn-record-list-group-heading"
|
|
221
222
|
};
|
|
222
|
-
const
|
|
223
|
-
const
|
|
223
|
+
const _hoisted_64 = ["id"];
|
|
224
|
+
const _hoisted_65 = {
|
|
224
225
|
key: 0,
|
|
225
226
|
class: "cn-record-list__footer-note",
|
|
226
227
|
"data-testid": "cn-record-list-footer-note"
|
|
227
228
|
};
|
|
228
|
-
const
|
|
229
|
+
const _hoisted_66 = ["id"];
|
|
229
230
|
|
|
230
231
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
231
232
|
const _component_NcLoadingIcon = resolveComponent("NcLoadingIcon");
|
|
@@ -241,7 +242,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
241
242
|
const _component_ChevronRight = resolveComponent("ChevronRight");
|
|
242
243
|
|
|
243
244
|
return (openBlock(), createElementBlock("div", {
|
|
244
|
-
class: normalizeClass(["cn-record-list", [`cn-record-list--${$options.presentation}`, { 'cn-record-list--compact': $props.content.density === 'compact', 'cn-record-list--tiles': $options.presentation === 'rows' && $props.content.tiles === true, 'cn-record-list--rule-above': $props.content.ruleAbove === true }]]),
|
|
245
|
+
class: normalizeClass(["cn-record-list", [`cn-record-list--${$options.presentation}`, { 'cn-record-list--compact': $props.content.density === 'compact', 'cn-record-list--tiles': $options.presentation === 'rows' && $props.content.tiles === true, 'cn-record-list--rule-above': $props.content.ruleAbove === true, 'cn-record-list--data-table': $options.presentation === 'table' && $props.content.tableLook === 'data' }]]),
|
|
245
246
|
"data-testid": "cn-record-list"
|
|
246
247
|
}, [
|
|
247
248
|
($options.intro && !$options.absent)
|
|
@@ -872,12 +873,26 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
872
873
|
($data.actionError)
|
|
873
874
|
? (openBlock(), createElementBlock("p", _hoisted_58, toDisplayString($data.actionError), 1 /* TEXT */))
|
|
874
875
|
: createCommentVNode("v-if", true),
|
|
875
|
-
($options.footnote && !$data.error && !$options.absent && ($data.rows.length > 0 || $options.footnoteFromAnswer))
|
|
876
|
-
? (openBlock(), createElementBlock("
|
|
877
|
-
|
|
876
|
+
($options.footnoteTone && $options.footnote && !$data.error && !$options.absent && ($data.rows.length > 0 || $options.footnoteFromAnswer))
|
|
877
|
+
? (openBlock(), createElementBlock("div", {
|
|
878
|
+
key: 11,
|
|
879
|
+
class: normalizeClass(["cn-record-list__notice cn-record-list__notice--footnote", `cn-record-list__notice--${$options.footnoteTone}`]),
|
|
880
|
+
"data-testid": "cn-record-list-footnote"
|
|
881
|
+
}, [
|
|
882
|
+
createVNode(_component_CnIcon, {
|
|
883
|
+
name: $options.footnoteTone === 'info' ? 'InformationOutline' : 'AlertOutline',
|
|
884
|
+
size: 16,
|
|
885
|
+
class: "cn-record-list__notice-icon",
|
|
886
|
+
"aria-hidden": "true"
|
|
887
|
+
}, null, 8 /* PROPS */, ["name"]),
|
|
888
|
+
createElementVNode("p", _hoisted_59, toDisplayString($options.footnote), 1 /* TEXT */)
|
|
889
|
+
], 2 /* CLASS */))
|
|
890
|
+
: ($options.footnote && !$data.error && !$options.absent && ($data.rows.length > 0 || $options.footnoteFromAnswer))
|
|
891
|
+
? (openBlock(), createElementBlock("p", _hoisted_60, toDisplayString($options.footnote), 1 /* TEXT */))
|
|
892
|
+
: createCommentVNode("v-if", true),
|
|
878
893
|
($options.footerLink && $options.footerLink.to)
|
|
879
894
|
? (openBlock(), createBlock(_component_router_link, {
|
|
880
|
-
key:
|
|
895
|
+
key: 13,
|
|
881
896
|
class: "cn-record-list__footer-link",
|
|
882
897
|
to: $options.footerLink.to,
|
|
883
898
|
"data-testid": "cn-record-list-footer-link"
|
|
@@ -889,15 +904,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
889
904
|
}, 8 /* PROPS */, ["to"]))
|
|
890
905
|
: ($options.footerLink)
|
|
891
906
|
? (openBlock(), createElementBlock("a", {
|
|
892
|
-
key:
|
|
907
|
+
key: 14,
|
|
893
908
|
class: "cn-record-list__footer-link",
|
|
894
909
|
href: $options.footerLink.href,
|
|
895
910
|
"data-testid": "cn-record-list-footer-link"
|
|
896
|
-
}, toDisplayString($options.footerLink.label), 9 /* TEXT, PROPS */,
|
|
911
|
+
}, toDisplayString($options.footerLink.label), 9 /* TEXT, PROPS */, _hoisted_61))
|
|
897
912
|
: createCommentVNode("v-if", true),
|
|
898
913
|
($options.footerGroupHead && $data.rows.length === 0 && !$data.error && !$data.loading)
|
|
899
|
-
? (openBlock(), createElementBlock("div",
|
|
900
|
-
createElementVNode("h3",
|
|
914
|
+
? (openBlock(), createElementBlock("div", _hoisted_62, [
|
|
915
|
+
createElementVNode("h3", _hoisted_63, toDisplayString($options.footerGroupHead), 1 /* TEXT */),
|
|
901
916
|
createVNode(_component_NcButton, {
|
|
902
917
|
variant: "secondary",
|
|
903
918
|
class: normalizeClass({ 'cn-record-list__action--tonal': $options.footerTonal }),
|
|
@@ -928,20 +943,20 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
928
943
|
: createCommentVNode("v-if", true),
|
|
929
944
|
($options.footerGroup !== '' && $data.footerDisabled && $options.footerAction && $options.footerAction.reason && !$data.error)
|
|
930
945
|
? (openBlock(), createElementBlock("p", {
|
|
931
|
-
key:
|
|
946
|
+
key: 16,
|
|
932
947
|
id: $data.footerReasonId,
|
|
933
948
|
class: "cn-record-list__footer-reason",
|
|
934
949
|
"data-testid": "cn-record-list-footer-reason"
|
|
935
|
-
}, toDisplayString($options.footerAction.reason), 9 /* TEXT, PROPS */,
|
|
950
|
+
}, toDisplayString($options.footerAction.reason), 9 /* TEXT, PROPS */, _hoisted_64))
|
|
936
951
|
: createCommentVNode("v-if", true),
|
|
937
952
|
($options.footerAction && $options.footerGroup === '' && !$data.error)
|
|
938
953
|
? (openBlock(), createElementBlock("div", {
|
|
939
|
-
key:
|
|
954
|
+
key: 17,
|
|
940
955
|
class: normalizeClass(["cn-record-list__footer", { 'cn-record-list__footer--wide': $options.footerAction.wide }]),
|
|
941
956
|
"data-testid": "cn-record-list-footer"
|
|
942
957
|
}, [
|
|
943
958
|
($options.footerAction.note)
|
|
944
|
-
? (openBlock(), createElementBlock("p",
|
|
959
|
+
? (openBlock(), createElementBlock("p", _hoisted_65, toDisplayString($options.footerAction.note), 1 /* TEXT */))
|
|
945
960
|
: createCommentVNode("v-if", true),
|
|
946
961
|
createVNode(_component_NcButton, {
|
|
947
962
|
variant: "secondary",
|
|
@@ -976,7 +991,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
976
991
|
id: $data.footerReasonId,
|
|
977
992
|
class: "cn-record-list__footer-reason",
|
|
978
993
|
"data-testid": "cn-record-list-footer-reason"
|
|
979
|
-
}, toDisplayString($options.footerAction.reason), 9 /* TEXT, PROPS */,
|
|
994
|
+
}, toDisplayString($options.footerAction.reason), 9 /* TEXT, PROPS */, _hoisted_66))
|
|
980
995
|
: createCommentVNode("v-if", true)
|
|
981
996
|
], 2 /* CLASS */))
|
|
982
997
|
: createCommentVNode("v-if", true)
|