@conduction/nextcloud-vue 2.151.0 → 2.153.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/CnAiCompanion/CnAiFloatingButton.vue2.js +13 -1
- package/dist/esm/components/CnAiCompanion/CnAiFloatingButton.vue2.js.map +1 -1
- package/dist/esm/components/CnAiCompanion/CnAiFloatingButton.vue3.js +1 -1
- package/dist/esm/components/CnAiCompanion/CnAiFloatingButton.vue3.js.map +1 -1
- package/dist/esm/components/CnAiCompanion/CnAiInput.vue2.js.map +1 -1
- package/dist/esm/components/CnAiCompanion/CnAiInput.vue3.js.map +1 -1
- package/dist/esm/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue.js +1 -1
- package/dist/esm/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue3.js +1 -1
- package/dist/esm/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnAuditTrailCard/CnAuditTrailCard.vue.js +1 -1
- package/dist/esm/components/CnAuditTrailCard/CnAuditTrailCard.vue2.js +30 -5
- package/dist/esm/components/CnAuditTrailCard/CnAuditTrailCard.vue2.js.map +1 -1
- package/dist/esm/components/CnAuditTrailCard/CnAuditTrailCard.vue3.js.map +1 -1
- package/dist/esm/components/CnBannerWidget/CnBannerWidget.vue.js +1 -1
- package/dist/esm/components/CnBannerWidget/CnBannerWidget.vue2.js +38 -0
- package/dist/esm/components/CnBannerWidget/CnBannerWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnBannerWidget/CnBannerWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnConversationThread/CnConversationThread.vue.js +1 -1
- package/dist/esm/components/CnConversationThread/CnConversationThread.vue2.js +2 -1
- package/dist/esm/components/CnConversationThread/CnConversationThread.vue2.js.map +1 -1
- package/dist/esm/components/CnConversationThread/CnConversationThread.vue3.js +33 -25
- package/dist/esm/components/CnConversationThread/CnConversationThread.vue3.js.map +1 -1
- package/dist/esm/components/CnConversationThread/CnConversationWidget.vue.js +1 -1
- package/dist/esm/components/CnConversationThread/CnConversationWidget.vue2.js +22 -2
- package/dist/esm/components/CnConversationThread/CnConversationWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnConversationThread/CnConversationWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue.js +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js.map +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js.map +1 -1
- package/dist/esm/components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue.js +1 -1
- package/dist/esm/components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue2.js +7 -1
- package/dist/esm/components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnExportsWidget/CnExportsWidget.vue.js +1 -1
- package/dist/esm/components/CnExportsWidget/CnExportsWidget.vue2.js +2 -1
- package/dist/esm/components/CnExportsWidget/CnExportsWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnExportsWidget/CnExportsWidget.vue3.js +6 -2
- package/dist/esm/components/CnExportsWidget/CnExportsWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnFeaturesBoard/CnFeaturesBoard.vue.js +1 -1
- package/dist/esm/components/CnFeaturesBoard/CnFeaturesBoard.vue2.js.map +1 -1
- package/dist/esm/components/CnFeaturesBoard/CnFeaturesBoard.vue3.js.map +1 -1
- package/dist/esm/components/CnFieldListWidget/CnFieldListWidget.vue.js +1 -1
- package/dist/esm/components/CnFieldListWidget/CnFieldListWidget.vue2.js +3 -1
- package/dist/esm/components/CnFieldListWidget/CnFieldListWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnFieldListWidget/CnFieldListWidget.vue3.js +31 -9
- package/dist/esm/components/CnFieldListWidget/CnFieldListWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js +21 -3
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js.map +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue3.js.map +1 -1
- package/dist/esm/components/CnMapWidget/CnMapWidget.vue.js +1 -1
- package/dist/esm/components/CnMapWidget/CnMapWidget.vue2.js +20 -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/CnNotificationMatrix/CnNotificationMatrix.vue.js +1 -1
- package/dist/esm/components/CnNotificationMatrix/CnNotificationMatrix.vue2.js.map +1 -1
- package/dist/esm/components/CnNotificationMatrix/CnNotificationMatrix.vue3.js.map +1 -1
- package/dist/esm/components/CnPlanWidget/CnPlanWidget.vue.js +1 -1
- package/dist/esm/components/CnPlanWidget/CnPlanWidget.vue2.js +18 -1
- package/dist/esm/components/CnPlanWidget/CnPlanWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnPlanWidget/CnPlanWidget.vue3.js +4 -2
- package/dist/esm/components/CnPlanWidget/CnPlanWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnPlanWidget/CnPlanWidgetRow.vue.js +1 -1
- package/dist/esm/components/CnPlanWidget/CnPlanWidgetRow.vue2.js +25 -3
- package/dist/esm/components/CnPlanWidget/CnPlanWidgetRow.vue2.js.map +1 -1
- package/dist/esm/components/CnPlanWidget/CnPlanWidgetRow.vue3.js +1 -1
- package/dist/esm/components/CnPlanWidget/CnPlanWidgetRow.vue3.js.map +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue.js +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js +31 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js +102 -97
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnSavedViewLookFields/CnSavedViewLookFields.vue.js +1 -1
- package/dist/esm/components/CnSavedViewLookFields/CnSavedViewLookFields.vue2.js +33 -0
- package/dist/esm/components/CnSavedViewLookFields/CnSavedViewLookFields.vue2.js.map +1 -1
- package/dist/esm/components/CnSavedViewLookFields/CnSavedViewLookFields.vue3.js +2 -2
- package/dist/esm/components/CnSavedViewLookFields/CnSavedViewLookFields.vue3.js.map +1 -1
- package/dist/esm/components/CnSettingsField/CnSettingsField.vue.js +1 -1
- package/dist/esm/components/CnSettingsField/CnSettingsField.vue2.js +2 -1
- package/dist/esm/components/CnSettingsField/CnSettingsField.vue2.js.map +1 -1
- package/dist/esm/components/CnSettingsField/CnSettingsField.vue3.js +15 -13
- package/dist/esm/components/CnSettingsField/CnSettingsField.vue3.js.map +1 -1
- package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue.js +1 -1
- package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue2.js +27 -0
- package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue2.js.map +1 -1
- package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue3.js +6 -6
- package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue3.js.map +1 -1
- package/dist/esm/components/CnStepper/CnStepper.vue.js +1 -1
- package/dist/esm/components/CnStepper/CnStepper.vue2.js.map +1 -1
- package/dist/esm/components/CnStepper/CnStepper.vue3.js.map +1 -1
- package/dist/esm/components/CnTimelineWidget/CnTimelineManage.vue.js +1 -1
- package/dist/esm/components/CnTimelineWidget/CnTimelineManage.vue2.js.map +1 -1
- package/dist/esm/components/CnTimelineWidget/CnTimelineManage.vue3.js +14 -14
- package/dist/esm/components/CnTimelineWidget/CnTimelineManage.vue3.js.map +1 -1
- package/dist/esm/composables/indexSources.js +4 -1
- package/dist/esm/composables/indexSources.js.map +1 -1
- package/dist/esm/l10n/en.json.js +30 -1
- package/dist/esm/l10n/en.json.js.map +1 -1
- package/dist/esm/l10n/nl.json.js +31 -2
- package/dist/esm/l10n/nl.json.js.map +1 -1
- package/dist/esm/library-style.js +1 -1
- package/dist/esm/nextcloud-vue.css +1129 -567
- package/dist/esm/utils/fillTemplate.js +12 -2
- package/dist/esm/utils/fillTemplate.js.map +1 -1
- package/dist/esm/utils/libraryTranslate.js +19 -1
- package/dist/esm/utils/libraryTranslate.js.map +1 -1
- package/dist/esm/utils/savedViewSummary.js +109 -4
- package/dist/esm/utils/savedViewSummary.js.map +1 -1
- package/dist/nextcloud-vue.cjs.js +1096 -592
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +1129 -567
- package/l10n/en.json +30 -1
- package/l10n/nl.json +31 -2
- package/package.json +1 -1
- package/src/components/CnAiCompanion/CnAiFloatingButton.vue +14 -2
- package/src/components/CnAiCompanion/CnAiInput.vue +19 -0
- package/src/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue +7 -1
- package/src/components/CnAuditTrailCard/CnAuditTrailCard.vue +30 -5
- package/src/components/CnBannerWidget/CnBannerWidget.vue +38 -0
- package/src/components/CnConversationThread/CnConversationThread.vue +7 -1
- package/src/components/CnConversationThread/CnConversationWidget.vue +22 -2
- package/src/components/CnDashboardPage/CnDashboardPage.vue +17 -0
- package/src/components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue +16 -1
- package/src/components/CnExportsWidget/CnExportsWidget.vue +5 -1
- package/src/components/CnFeaturesBoard/CnFeaturesBoard.vue +2 -0
- package/src/components/CnFieldListWidget/CnFieldListWidget.vue +18 -4
- package/src/components/CnIndexPage/CnIndexPage.vue +21 -3
- package/src/components/CnMapWidget/CnMapWidget.vue +20 -0
- package/src/components/CnNotificationMatrix/CnNotificationMatrix.vue +23 -0
- package/src/components/CnPlanWidget/CnPlanWidget.vue +20 -1
- package/src/components/CnPlanWidget/CnPlanWidgetRow.vue +26 -4
- package/src/components/CnRecordListWidget/CnRecordListWidget.vue +73 -5
- package/src/components/CnSavedViewLookFields/CnSavedViewLookFields.vue +35 -2
- package/src/components/CnSettingsField/CnSettingsField.vue +5 -3
- package/src/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue +31 -4
- package/src/components/CnStepper/CnStepper.vue +7 -5
- package/src/components/CnTimelineWidget/CnTimelineManage.vue +9 -4
- package/src/composables/indexSources.js +4 -1
- package/src/css/dialog.css +18 -3
- package/src/css/form-field.css +11 -0
- package/src/css/look-board-detail.css +124 -1
- package/src/css/look-board-index.css +75 -9
- package/src/css/look-board.css +242 -6
- package/src/css/patches.css +5 -5
- package/src/utils/fillTemplate.js +12 -2
- package/src/utils/libraryTranslate.js +18 -0
- package/src/utils/savedViewSummary.js +109 -4
|
@@ -81,158 +81,146 @@ const _hoisted_25 = {
|
|
|
81
81
|
class: "cn-record-list__leading",
|
|
82
82
|
"data-testid": "cn-record-list-leading"
|
|
83
83
|
};
|
|
84
|
-
const _hoisted_26 = {
|
|
85
|
-
|
|
86
|
-
class: "cn-record-list__avatar",
|
|
87
|
-
"aria-hidden": "true",
|
|
88
|
-
"data-testid": "cn-record-list-avatar"
|
|
89
|
-
};
|
|
90
|
-
const _hoisted_27 = { class: "cn-record-list__main" };
|
|
91
|
-
const _hoisted_28 = {
|
|
84
|
+
const _hoisted_26 = { class: "cn-record-list__main" };
|
|
85
|
+
const _hoisted_27 = {
|
|
92
86
|
key: 1,
|
|
93
87
|
class: "cn-record-list__meta"
|
|
94
88
|
};
|
|
95
|
-
const
|
|
89
|
+
const _hoisted_28 = {
|
|
96
90
|
key: 3,
|
|
97
91
|
class: "cn-record-list__flag",
|
|
98
92
|
"data-testid": "cn-record-list-flag"
|
|
99
93
|
};
|
|
100
|
-
const
|
|
94
|
+
const _hoisted_29 = {
|
|
101
95
|
key: 4,
|
|
102
96
|
class: "cn-record-list__pills"
|
|
103
97
|
};
|
|
104
|
-
const
|
|
98
|
+
const _hoisted_30 = {
|
|
105
99
|
key: 6,
|
|
106
100
|
class: "cn-record-list__trailing"
|
|
107
101
|
};
|
|
108
|
-
const
|
|
102
|
+
const _hoisted_31 = {
|
|
109
103
|
key: 0,
|
|
110
104
|
class: "cn-record-list__leading",
|
|
111
105
|
"data-testid": "cn-record-list-leading"
|
|
112
106
|
};
|
|
113
|
-
const
|
|
107
|
+
const _hoisted_32 = {
|
|
114
108
|
key: 1,
|
|
115
109
|
class: "cn-record-list__pill-start"
|
|
116
110
|
};
|
|
117
|
-
const
|
|
118
|
-
key: 2,
|
|
119
|
-
class: "cn-record-list__avatar",
|
|
120
|
-
"aria-hidden": "true",
|
|
121
|
-
"data-testid": "cn-record-list-avatar"
|
|
122
|
-
};
|
|
123
|
-
const _hoisted_35 = {
|
|
111
|
+
const _hoisted_33 = {
|
|
124
112
|
key: 4,
|
|
125
113
|
class: "cn-record-list__icon-tile",
|
|
126
114
|
"aria-hidden": "true",
|
|
127
115
|
"data-testid": "cn-record-list-icon-tile"
|
|
128
116
|
};
|
|
129
|
-
const
|
|
130
|
-
const
|
|
117
|
+
const _hoisted_34 = { class: "cn-record-list__main" };
|
|
118
|
+
const _hoisted_35 = {
|
|
131
119
|
key: 0,
|
|
132
120
|
class: "cn-record-list__title"
|
|
133
121
|
};
|
|
134
|
-
const
|
|
122
|
+
const _hoisted_36 = {
|
|
135
123
|
key: 1,
|
|
136
124
|
class: "cn-record-list__meta"
|
|
137
125
|
};
|
|
138
|
-
const
|
|
126
|
+
const _hoisted_37 = {
|
|
139
127
|
key: 2,
|
|
140
128
|
class: "cn-record-list__meta",
|
|
141
129
|
"data-testid": "cn-record-list-text"
|
|
142
130
|
};
|
|
143
|
-
const
|
|
131
|
+
const _hoisted_38 = {
|
|
144
132
|
key: 4,
|
|
145
133
|
class: "cn-record-list__meta",
|
|
146
134
|
"data-testid": "cn-record-list-links"
|
|
147
135
|
};
|
|
148
|
-
const
|
|
149
|
-
const
|
|
150
|
-
const
|
|
136
|
+
const _hoisted_39 = { key: 1 };
|
|
137
|
+
const _hoisted_40 = { key: 2 };
|
|
138
|
+
const _hoisted_41 = {
|
|
151
139
|
key: 5,
|
|
152
140
|
class: "cn-record-list__aside"
|
|
153
141
|
};
|
|
154
|
-
const
|
|
142
|
+
const _hoisted_42 = {
|
|
155
143
|
key: 0,
|
|
156
144
|
class: "cn-record-list__flag",
|
|
157
145
|
"data-testid": "cn-record-list-flag"
|
|
158
146
|
};
|
|
159
|
-
const
|
|
147
|
+
const _hoisted_43 = {
|
|
160
148
|
key: 3,
|
|
161
149
|
class: "cn-record-list__trailing"
|
|
162
150
|
};
|
|
163
|
-
const
|
|
164
|
-
const
|
|
165
|
-
const
|
|
151
|
+
const _hoisted_44 = { class: "cn-record-list__card-head" };
|
|
152
|
+
const _hoisted_45 = { class: "cn-record-list__card-title" };
|
|
153
|
+
const _hoisted_46 = {
|
|
166
154
|
key: 1,
|
|
167
155
|
class: "cn-record-list__title"
|
|
168
156
|
};
|
|
169
|
-
const
|
|
157
|
+
const _hoisted_47 = {
|
|
170
158
|
key: 0,
|
|
171
159
|
class: "cn-record-list__card-pills"
|
|
172
160
|
};
|
|
173
|
-
const
|
|
161
|
+
const _hoisted_48 = {
|
|
174
162
|
key: 0,
|
|
175
163
|
class: "cn-record-list__meta"
|
|
176
164
|
};
|
|
177
|
-
const
|
|
165
|
+
const _hoisted_49 = {
|
|
178
166
|
key: 1,
|
|
179
167
|
class: "cn-record-list__card-value",
|
|
180
168
|
"data-testid": "cn-record-list-card-value"
|
|
181
169
|
};
|
|
182
|
-
const
|
|
170
|
+
const _hoisted_50 = {
|
|
183
171
|
key: 3,
|
|
184
172
|
class: "cn-record-list__feed-row"
|
|
185
173
|
};
|
|
186
|
-
const
|
|
174
|
+
const _hoisted_51 = {
|
|
187
175
|
class: "cn-record-list__feed-icon",
|
|
188
176
|
"aria-hidden": "true"
|
|
189
177
|
};
|
|
190
|
-
const
|
|
178
|
+
const _hoisted_52 = {
|
|
191
179
|
key: 0,
|
|
192
180
|
class: "cn-record-list__meta"
|
|
193
181
|
};
|
|
194
|
-
const
|
|
182
|
+
const _hoisted_53 = {
|
|
195
183
|
key: 1,
|
|
196
184
|
class: "cn-record-list__text"
|
|
197
185
|
};
|
|
198
|
-
const
|
|
186
|
+
const _hoisted_54 = {
|
|
199
187
|
key: 4,
|
|
200
188
|
class: "cn-record-list__inline-row"
|
|
201
189
|
};
|
|
202
|
-
const
|
|
190
|
+
const _hoisted_55 = {
|
|
203
191
|
key: 0,
|
|
204
192
|
class: "cn-record-list__label"
|
|
205
193
|
};
|
|
206
|
-
const
|
|
207
|
-
const
|
|
194
|
+
const _hoisted_56 = ["aria-label", "aria-valuenow", "aria-valuemax"];
|
|
195
|
+
const _hoisted_57 = {
|
|
208
196
|
key: 10,
|
|
209
197
|
class: "cn-record-list__error",
|
|
210
198
|
role: "alert",
|
|
211
199
|
"data-testid": "cn-record-list-action-error"
|
|
212
200
|
};
|
|
213
|
-
const
|
|
214
|
-
const
|
|
201
|
+
const _hoisted_58 = { class: "cn-record-list__notice-text" };
|
|
202
|
+
const _hoisted_59 = {
|
|
215
203
|
key: 12,
|
|
216
204
|
class: "cn-record-list__footnote",
|
|
217
205
|
"data-testid": "cn-record-list-footnote"
|
|
218
206
|
};
|
|
219
|
-
const
|
|
220
|
-
const
|
|
207
|
+
const _hoisted_60 = ["href"];
|
|
208
|
+
const _hoisted_61 = {
|
|
221
209
|
key: 15,
|
|
222
210
|
class: "cn-record-list__group-head",
|
|
223
211
|
"data-testid": "cn-record-list-group-head"
|
|
224
212
|
};
|
|
225
|
-
const
|
|
213
|
+
const _hoisted_62 = {
|
|
226
214
|
class: "cn-record-list__group-heading",
|
|
227
215
|
"data-testid": "cn-record-list-group-heading"
|
|
228
216
|
};
|
|
229
|
-
const
|
|
230
|
-
const
|
|
217
|
+
const _hoisted_63 = ["id"];
|
|
218
|
+
const _hoisted_64 = {
|
|
231
219
|
key: 0,
|
|
232
220
|
class: "cn-record-list__footer-note",
|
|
233
221
|
"data-testid": "cn-record-list-footer-note"
|
|
234
222
|
};
|
|
235
|
-
const
|
|
223
|
+
const _hoisted_65 = ["id"];
|
|
236
224
|
|
|
237
225
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
238
226
|
const _component_NcLoadingIcon = resolveComponent("NcLoadingIcon");
|
|
@@ -252,7 +240,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
252
240
|
const _component_ChevronRight = resolveComponent("ChevronRight");
|
|
253
241
|
|
|
254
242
|
return (openBlock(), createElementBlock("div", {
|
|
255
|
-
class: normalizeClass(["cn-record-list", [`cn-record-list--${$options.presentation}`, { 'cn-record-list--compact': $props.content.density === 'compact', 'cn-record-list--stacked': $props.content.density === 'stacked', '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' }]]),
|
|
243
|
+
class: normalizeClass(["cn-record-list", [`cn-record-list--${$options.presentation}`, { 'cn-record-list--compact': $props.content.density === 'compact', 'cn-record-list--pill-aside': $options.presentation === 'cards' && $props.content.cardPillAside === true, 'cn-record-list--stacked': $props.content.density === 'stacked', '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' }]]),
|
|
256
244
|
"data-testid": "cn-record-list"
|
|
257
245
|
}, [
|
|
258
246
|
($options.intro && !$options.absent)
|
|
@@ -550,7 +538,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
550
538
|
(group.items.length > 0)
|
|
551
539
|
? (openBlock(), createElementBlock("ul", {
|
|
552
540
|
key: 2,
|
|
553
|
-
class: normalizeClass(["cn-record-list__list", { 'cn-record-list__list--avatar-small': $options.avatarSmall }]),
|
|
541
|
+
class: normalizeClass(["cn-record-list__list", { 'cn-record-list__list--avatar-small': $options.avatarSmall, 'cn-record-list__list--avatar-primary': $options.avatarPrimary }]),
|
|
554
542
|
"aria-labelledby": group.label ? group.headingId : null,
|
|
555
543
|
"data-testid": $options.isGrouped ? 'cn-record-list-group' : null
|
|
556
544
|
}, [
|
|
@@ -566,7 +554,12 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
566
554
|
? (openBlock(), createElementBlock("span", _hoisted_25, toDisplayString(item.leading), 1 /* TEXT */))
|
|
567
555
|
: createCommentVNode("v-if", true),
|
|
568
556
|
(item.initials)
|
|
569
|
-
? (openBlock(), createElementBlock("span",
|
|
557
|
+
? (openBlock(), createElementBlock("span", {
|
|
558
|
+
key: 1,
|
|
559
|
+
class: normalizeClass(["cn-record-list__avatar", item.avatarTone ? 'cn-status-badge--' + item.avatarTone : '']),
|
|
560
|
+
"aria-hidden": "true",
|
|
561
|
+
"data-testid": "cn-record-list-avatar"
|
|
562
|
+
}, toDisplayString(item.initials), 3 /* TEXT, CLASS */))
|
|
570
563
|
: createCommentVNode("v-if", true),
|
|
571
564
|
(item.dot)
|
|
572
565
|
? (openBlock(), createElementBlock("span", {
|
|
@@ -577,7 +570,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
577
570
|
"data-testid": "cn-record-list-dot"
|
|
578
571
|
}, null, 4 /* STYLE */))
|
|
579
572
|
: createCommentVNode("v-if", true),
|
|
580
|
-
createElementVNode("span",
|
|
573
|
+
createElementVNode("span", _hoisted_26, [
|
|
581
574
|
(item.title)
|
|
582
575
|
? (openBlock(), createBlock(resolveDynamicComponent(item.tag), mergeProps({
|
|
583
576
|
key: 0,
|
|
@@ -590,14 +583,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
590
583
|
}, 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["class"]))
|
|
591
584
|
: createCommentVNode("v-if", true),
|
|
592
585
|
(item.meta)
|
|
593
|
-
? (openBlock(), createElementBlock("span",
|
|
586
|
+
? (openBlock(), createElementBlock("span", _hoisted_27, toDisplayString(item.meta), 1 /* TEXT */))
|
|
594
587
|
: createCommentVNode("v-if", true)
|
|
595
588
|
]),
|
|
596
589
|
(item.flag)
|
|
597
|
-
? (openBlock(), createElementBlock("span",
|
|
590
|
+
? (openBlock(), createElementBlock("span", _hoisted_28, toDisplayString(item.flag), 1 /* TEXT */))
|
|
598
591
|
: createCommentVNode("v-if", true),
|
|
599
592
|
(item.pill || item.badges.length > 0)
|
|
600
|
-
? (openBlock(), createElementBlock("span",
|
|
593
|
+
? (openBlock(), createElementBlock("span", _hoisted_29, [
|
|
601
594
|
(item.pill)
|
|
602
595
|
? (openBlock(), createBlock(_component_CnStatusBadge, {
|
|
603
596
|
key: 0,
|
|
@@ -625,13 +618,20 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
625
618
|
}, toDisplayString(item.due.text), 3 /* TEXT, CLASS */))
|
|
626
619
|
: createCommentVNode("v-if", true),
|
|
627
620
|
(item.trailing)
|
|
628
|
-
? (openBlock(), createElementBlock("span",
|
|
621
|
+
? (openBlock(), createElementBlock("span", _hoisted_30, toDisplayString(item.trailing), 1 /* TEXT */))
|
|
629
622
|
: createCommentVNode("v-if", true),
|
|
630
623
|
(openBlock(), createBlock(resolveDynamicComponent(item.action.tag), mergeProps({
|
|
631
624
|
class: ["cn-record-list__action", { 'cn-record-list__action--outlined': $options.rowActionOutlined }]
|
|
632
625
|
}, { ref_for: true }, item.action.attrs, { "data-testid": "cn-record-list-action" }, toHandlers(item.action.tag === 'button' ? { click: () => $options.runRowAction(item.row) } : {})), {
|
|
633
626
|
default: withCtx(() => [
|
|
634
|
-
|
|
627
|
+
(item.action.icon)
|
|
628
|
+
? (openBlock(), createBlock(_component_CnIcon, {
|
|
629
|
+
key: 0,
|
|
630
|
+
name: item.action.icon,
|
|
631
|
+
size: 16
|
|
632
|
+
}, null, 8 /* PROPS */, ["name"]))
|
|
633
|
+
: createCommentVNode("v-if", true),
|
|
634
|
+
createTextVNode(" " + toDisplayString(item.action.label), 1 /* TEXT */)
|
|
635
635
|
]),
|
|
636
636
|
_: 2 /* DYNAMIC */
|
|
637
637
|
}, 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["class"]))
|
|
@@ -643,10 +643,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
643
643
|
}, { ref_for: true }, item.attrs), {
|
|
644
644
|
default: withCtx(() => [
|
|
645
645
|
(item.leading)
|
|
646
|
-
? (openBlock(), createElementBlock("span",
|
|
646
|
+
? (openBlock(), createElementBlock("span", _hoisted_31, toDisplayString(item.leading), 1 /* TEXT */))
|
|
647
647
|
: createCommentVNode("v-if", true),
|
|
648
648
|
($options.pillFirst && item.pill)
|
|
649
|
-
? (openBlock(), createElementBlock("span",
|
|
649
|
+
? (openBlock(), createElementBlock("span", _hoisted_32, [
|
|
650
650
|
createVNode(_component_CnStatusBadge, {
|
|
651
651
|
label: item.pill.label,
|
|
652
652
|
variant: item.pill.variant,
|
|
@@ -655,7 +655,12 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
655
655
|
]))
|
|
656
656
|
: createCommentVNode("v-if", true),
|
|
657
657
|
(item.initials)
|
|
658
|
-
? (openBlock(), createElementBlock("span",
|
|
658
|
+
? (openBlock(), createElementBlock("span", {
|
|
659
|
+
key: 2,
|
|
660
|
+
class: normalizeClass(["cn-record-list__avatar", item.avatarTone ? 'cn-status-badge--' + item.avatarTone : '']),
|
|
661
|
+
"aria-hidden": "true",
|
|
662
|
+
"data-testid": "cn-record-list-avatar"
|
|
663
|
+
}, toDisplayString(item.initials), 3 /* TEXT, CLASS */))
|
|
659
664
|
: createCommentVNode("v-if", true),
|
|
660
665
|
(item.dot)
|
|
661
666
|
? (openBlock(), createElementBlock("span", {
|
|
@@ -667,22 +672,22 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
667
672
|
}, null, 4 /* STYLE */))
|
|
668
673
|
: createCommentVNode("v-if", true),
|
|
669
674
|
($options.iconTiles)
|
|
670
|
-
? (openBlock(), createElementBlock("span",
|
|
675
|
+
? (openBlock(), createElementBlock("span", _hoisted_33, [
|
|
671
676
|
createVNode(_component_CnIcon, {
|
|
672
677
|
name: item.icon,
|
|
673
678
|
size: 18
|
|
674
679
|
}, null, 8 /* PROPS */, ["name"])
|
|
675
680
|
]))
|
|
676
681
|
: createCommentVNode("v-if", true),
|
|
677
|
-
createElementVNode("span",
|
|
682
|
+
createElementVNode("span", _hoisted_34, [
|
|
678
683
|
(item.title)
|
|
679
|
-
? (openBlock(), createElementBlock("span",
|
|
684
|
+
? (openBlock(), createElementBlock("span", _hoisted_35, toDisplayString(item.title), 1 /* TEXT */))
|
|
680
685
|
: createCommentVNode("v-if", true),
|
|
681
686
|
(item.meta)
|
|
682
|
-
? (openBlock(), createElementBlock("span",
|
|
687
|
+
? (openBlock(), createElementBlock("span", _hoisted_36, toDisplayString(item.meta), 1 /* TEXT */))
|
|
683
688
|
: createCommentVNode("v-if", true),
|
|
684
689
|
(item.text)
|
|
685
|
-
? (openBlock(), createElementBlock("span",
|
|
690
|
+
? (openBlock(), createElementBlock("span", _hoisted_37, toDisplayString(item.text), 1 /* TEXT */))
|
|
686
691
|
: createCommentVNode("v-if", true),
|
|
687
692
|
(item.due && $options.dueBelow)
|
|
688
693
|
? (openBlock(), createElementBlock("span", {
|
|
@@ -692,7 +697,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
692
697
|
}, toDisplayString(item.due.text), 3 /* TEXT, CLASS */))
|
|
693
698
|
: createCommentVNode("v-if", true),
|
|
694
699
|
(item.links.length > 0)
|
|
695
|
-
? (openBlock(), createElementBlock("span",
|
|
700
|
+
? (openBlock(), createElementBlock("span", _hoisted_38, [
|
|
696
701
|
createTextVNode(toDisplayString($options.linksLabel) + " ", 1 /* TEXT */),
|
|
697
702
|
(openBlock(true), createElementBlock(Fragment, null, renderList(item.links, (link, linkIndex) => {
|
|
698
703
|
return (openBlock(), createElementBlock(Fragment, {
|
|
@@ -708,9 +713,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
708
713
|
]),
|
|
709
714
|
_: 2 /* DYNAMIC */
|
|
710
715
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["to"]))
|
|
711
|
-
: (openBlock(), createElementBlock("span",
|
|
716
|
+
: (openBlock(), createElementBlock("span", _hoisted_39, toDisplayString(link.label), 1 /* TEXT */)),
|
|
712
717
|
(linkIndex < item.links.length - 1)
|
|
713
|
-
? (openBlock(), createElementBlock("span",
|
|
718
|
+
? (openBlock(), createElementBlock("span", _hoisted_40, ", "))
|
|
714
719
|
: createCommentVNode("v-if", true)
|
|
715
720
|
], 64 /* STABLE_FRAGMENT */))
|
|
716
721
|
}), 128 /* KEYED_FRAGMENT */))
|
|
@@ -718,9 +723,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
718
723
|
: createCommentVNode("v-if", true)
|
|
719
724
|
]),
|
|
720
725
|
((item.pill && !$options.pillFirst) || item.badges.length > 0 || (item.due && !$options.dueBelow) || item.trailing || item.flag)
|
|
721
|
-
? (openBlock(), createElementBlock("span",
|
|
726
|
+
? (openBlock(), createElementBlock("span", _hoisted_41, [
|
|
722
727
|
(item.flag)
|
|
723
|
-
? (openBlock(), createElementBlock("span",
|
|
728
|
+
? (openBlock(), createElementBlock("span", _hoisted_42, toDisplayString(item.flag), 1 /* TEXT */))
|
|
724
729
|
: createCommentVNode("v-if", true),
|
|
725
730
|
(item.pill && !$options.pillFirst)
|
|
726
731
|
? (openBlock(), createBlock(_component_CnStatusBadge, {
|
|
@@ -747,7 +752,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
747
752
|
}, toDisplayString(item.due.text), 3 /* TEXT, CLASS */))
|
|
748
753
|
: createCommentVNode("v-if", true),
|
|
749
754
|
(item.trailing)
|
|
750
|
-
? (openBlock(), createElementBlock("span",
|
|
755
|
+
? (openBlock(), createElementBlock("span", _hoisted_43, toDisplayString(item.trailing), 1 /* TEXT */))
|
|
751
756
|
: createCommentVNode("v-if", true)
|
|
752
757
|
]))
|
|
753
758
|
: createCommentVNode("v-if", true),
|
|
@@ -838,8 +843,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
838
843
|
class: ["cn-record-list__card", { 'cn-record-list__card--link': item.tag !== 'div' }]
|
|
839
844
|
}, { ref_for: true }, item.attrs, { "data-testid": "cn-record-list-card" }), {
|
|
840
845
|
default: withCtx(() => [
|
|
841
|
-
createElementVNode("span",
|
|
842
|
-
createElementVNode("span",
|
|
846
|
+
createElementVNode("span", _hoisted_44, [
|
|
847
|
+
createElementVNode("span", _hoisted_45, [
|
|
843
848
|
($options.cardIcons)
|
|
844
849
|
? (openBlock(), createBlock(_component_CnIcon, {
|
|
845
850
|
key: 0,
|
|
@@ -849,11 +854,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
849
854
|
}, null, 8 /* PROPS */, ["name"]))
|
|
850
855
|
: createCommentVNode("v-if", true),
|
|
851
856
|
(item.title)
|
|
852
|
-
? (openBlock(), createElementBlock("span",
|
|
857
|
+
? (openBlock(), createElementBlock("span", _hoisted_46, toDisplayString(item.title), 1 /* TEXT */))
|
|
853
858
|
: createCommentVNode("v-if", true)
|
|
854
859
|
]),
|
|
855
860
|
(item.pill || item.badges.length > 0)
|
|
856
|
-
? (openBlock(), createElementBlock("span",
|
|
861
|
+
? (openBlock(), createElementBlock("span", _hoisted_47, [
|
|
857
862
|
(item.pill)
|
|
858
863
|
? (openBlock(), createBlock(_component_CnStatusBadge, {
|
|
859
864
|
key: 0,
|
|
@@ -875,17 +880,17 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
875
880
|
: createCommentVNode("v-if", true)
|
|
876
881
|
]),
|
|
877
882
|
(item.meta)
|
|
878
|
-
? (openBlock(), createElementBlock("span",
|
|
883
|
+
? (openBlock(), createElementBlock("span", _hoisted_48, toDisplayString(item.meta), 1 /* TEXT */))
|
|
879
884
|
: createCommentVNode("v-if", true),
|
|
880
885
|
(item.trailing)
|
|
881
|
-
? (openBlock(), createElementBlock("span",
|
|
886
|
+
? (openBlock(), createElementBlock("span", _hoisted_49, toDisplayString(item.trailing), 1 /* TEXT */))
|
|
882
887
|
: createCommentVNode("v-if", true)
|
|
883
888
|
]),
|
|
884
889
|
_: 2 /* DYNAMIC */
|
|
885
890
|
}, 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["class"]))
|
|
886
891
|
: ($options.presentation === 'feed')
|
|
887
|
-
? (openBlock(), createElementBlock("div",
|
|
888
|
-
createElementVNode("span",
|
|
892
|
+
? (openBlock(), createElementBlock("div", _hoisted_50, [
|
|
893
|
+
createElementVNode("span", _hoisted_51, [
|
|
889
894
|
createVNode(_component_CnIcon, {
|
|
890
895
|
name: item.icon,
|
|
891
896
|
size: 18
|
|
@@ -894,18 +899,18 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
894
899
|
(openBlock(), createBlock(resolveDynamicComponent(item.tag), mergeProps({ class: "cn-record-list__main" }, { ref_for: true }, item.attrs), {
|
|
895
900
|
default: withCtx(() => [
|
|
896
901
|
(item.meta)
|
|
897
|
-
? (openBlock(), createElementBlock("span",
|
|
902
|
+
? (openBlock(), createElementBlock("span", _hoisted_52, toDisplayString(item.meta), 1 /* TEXT */))
|
|
898
903
|
: createCommentVNode("v-if", true),
|
|
899
904
|
(item.text)
|
|
900
|
-
? (openBlock(), createElementBlock("span",
|
|
905
|
+
? (openBlock(), createElementBlock("span", _hoisted_53, toDisplayString(item.text), 1 /* TEXT */))
|
|
901
906
|
: createCommentVNode("v-if", true)
|
|
902
907
|
]),
|
|
903
908
|
_: 2 /* DYNAMIC */
|
|
904
909
|
}, 1040 /* FULL_PROPS, DYNAMIC_SLOTS */))
|
|
905
910
|
]))
|
|
906
|
-
: (openBlock(), createElementBlock("div",
|
|
911
|
+
: (openBlock(), createElementBlock("div", _hoisted_54, [
|
|
907
912
|
(item.label)
|
|
908
|
-
? (openBlock(), createElementBlock("span",
|
|
913
|
+
? (openBlock(), createElementBlock("span", _hoisted_55, toDisplayString(item.label), 1 /* TEXT */))
|
|
909
914
|
: createCommentVNode("v-if", true),
|
|
910
915
|
(openBlock(), createBlock(resolveDynamicComponent(item.tag), mergeProps({ class: "cn-record-list__inline-title" }, { ref_for: true }, item.attrs), {
|
|
911
916
|
default: withCtx(() => [
|
|
@@ -929,7 +934,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
929
934
|
class: "cn-record-list__bar-fill",
|
|
930
935
|
style: normalizeStyle({ width: `${item.bar.share}%` })
|
|
931
936
|
}, null, 4 /* STYLE */)
|
|
932
|
-
], 10 /* CLASS, PROPS */,
|
|
937
|
+
], 10 /* CLASS, PROPS */, _hoisted_56))
|
|
933
938
|
: createCommentVNode("v-if", true)
|
|
934
939
|
]))
|
|
935
940
|
}), 128 /* KEYED_FRAGMENT */))
|
|
@@ -938,7 +943,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
938
943
|
], 64 /* STABLE_FRAGMENT */))
|
|
939
944
|
}), 128 /* KEYED_FRAGMENT */)),
|
|
940
945
|
($data.actionError)
|
|
941
|
-
? (openBlock(), createElementBlock("p",
|
|
946
|
+
? (openBlock(), createElementBlock("p", _hoisted_57, toDisplayString($data.actionError), 1 /* TEXT */))
|
|
942
947
|
: createCommentVNode("v-if", true),
|
|
943
948
|
($options.footnoteTone && $options.footnote && !$data.error && !$options.absent && ($data.rows.length > 0 || $options.footnoteFromAnswer))
|
|
944
949
|
? (openBlock(), createElementBlock("div", {
|
|
@@ -952,10 +957,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
952
957
|
class: "cn-record-list__notice-icon",
|
|
953
958
|
"aria-hidden": "true"
|
|
954
959
|
}, null, 8 /* PROPS */, ["name"]),
|
|
955
|
-
createElementVNode("p",
|
|
960
|
+
createElementVNode("p", _hoisted_58, toDisplayString($options.footnote), 1 /* TEXT */)
|
|
956
961
|
], 2 /* CLASS */))
|
|
957
962
|
: ($options.footnote && !$data.error && !$options.absent && ($data.rows.length > 0 || $options.footnoteFromAnswer))
|
|
958
|
-
? (openBlock(), createElementBlock("p",
|
|
963
|
+
? (openBlock(), createElementBlock("p", _hoisted_59, toDisplayString($options.footnote), 1 /* TEXT */))
|
|
959
964
|
: createCommentVNode("v-if", true),
|
|
960
965
|
($options.footerLink && $options.footerLink.to)
|
|
961
966
|
? (openBlock(), createBlock(_component_router_link, {
|
|
@@ -975,11 +980,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
975
980
|
class: "cn-record-list__footer-link",
|
|
976
981
|
href: $options.footerLink.href,
|
|
977
982
|
"data-testid": "cn-record-list-footer-link"
|
|
978
|
-
}, toDisplayString($options.footerLink.label), 9 /* TEXT, PROPS */,
|
|
983
|
+
}, toDisplayString($options.footerLink.label), 9 /* TEXT, PROPS */, _hoisted_60))
|
|
979
984
|
: createCommentVNode("v-if", true),
|
|
980
985
|
($options.footerGroupHead && $data.rows.length === 0 && !$data.error && !$data.loading)
|
|
981
|
-
? (openBlock(), createElementBlock("div",
|
|
982
|
-
createElementVNode("h3",
|
|
986
|
+
? (openBlock(), createElementBlock("div", _hoisted_61, [
|
|
987
|
+
createElementVNode("h3", _hoisted_62, toDisplayString($options.footerGroupHead), 1 /* TEXT */),
|
|
983
988
|
createVNode(_component_NcButton, {
|
|
984
989
|
variant: "secondary",
|
|
985
990
|
class: normalizeClass({ 'cn-record-list__action--tonal': $options.footerTonal }),
|
|
@@ -1014,7 +1019,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1014
1019
|
id: $data.footerReasonId,
|
|
1015
1020
|
class: "cn-record-list__footer-reason",
|
|
1016
1021
|
"data-testid": "cn-record-list-footer-reason"
|
|
1017
|
-
}, toDisplayString($options.footerAction.reason), 9 /* TEXT, PROPS */,
|
|
1022
|
+
}, toDisplayString($options.footerAction.reason), 9 /* TEXT, PROPS */, _hoisted_63))
|
|
1018
1023
|
: createCommentVNode("v-if", true),
|
|
1019
1024
|
($options.footerAction && $options.footerGroup === '' && !$data.error)
|
|
1020
1025
|
? (openBlock(), createElementBlock("div", {
|
|
@@ -1023,7 +1028,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1023
1028
|
"data-testid": "cn-record-list-footer"
|
|
1024
1029
|
}, [
|
|
1025
1030
|
($options.footerAction.note)
|
|
1026
|
-
? (openBlock(), createElementBlock("p",
|
|
1031
|
+
? (openBlock(), createElementBlock("p", _hoisted_64, toDisplayString($options.footerAction.note), 1 /* TEXT */))
|
|
1027
1032
|
: createCommentVNode("v-if", true),
|
|
1028
1033
|
createVNode(_component_NcButton, {
|
|
1029
1034
|
variant: "secondary",
|
|
@@ -1058,7 +1063,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1058
1063
|
id: $data.footerReasonId,
|
|
1059
1064
|
class: "cn-record-list__footer-reason",
|
|
1060
1065
|
"data-testid": "cn-record-list-footer-reason"
|
|
1061
|
-
}, toDisplayString($options.footerAction.reason), 9 /* TEXT, PROPS */,
|
|
1066
|
+
}, toDisplayString($options.footerAction.reason), 9 /* TEXT, PROPS */, _hoisted_65))
|
|
1062
1067
|
: createCommentVNode("v-if", true)
|
|
1063
1068
|
], 2 /* CLASS */))
|
|
1064
1069
|
: createCommentVNode("v-if", true)
|