@conduction/nextcloud-vue 2.144.0 → 2.145.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.map +1 -1
- package/dist/esm/components/CnActionDialog/CnActionDialog.vue3.js +1 -0
- 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 +55 -2
- 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/CnAuditTrailWidget/CnAuditTrailWidget.vue.js +1 -1
- package/dist/esm/components/CnAuditTrailWidget/CnAuditTrailWidget.vue2.js +16 -0
- package/dist/esm/components/CnAuditTrailWidget/CnAuditTrailWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnAuditTrailWidget/CnAuditTrailWidget.vue3.js +3 -1
- package/dist/esm/components/CnAuditTrailWidget/CnAuditTrailWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue.js +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue2.js +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue2.js.map +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue3.js +3 -3
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue3.js.map +1 -1
- package/dist/esm/components/CnFieldListWidget/CnFieldListWidget.vue.js +1 -1
- package/dist/esm/components/CnFieldListWidget/CnFieldListWidget.vue2.js +2 -2
- package/dist/esm/components/CnFieldListWidget/CnFieldListWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnFieldListWidget/CnFieldListWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js +6 -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/CnMailTab/CnMailTab.vue.js +1 -1
- package/dist/esm/components/CnMailTab/CnMailTab.vue2.js.map +1 -1
- package/dist/esm/components/CnMailTab/CnMailTab.vue3.js +2 -2
- package/dist/esm/components/CnMailTab/CnMailTab.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/CnRecordListWidget/CnRecordListWidget.vue.js +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js +73 -12
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js +165 -126
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnSettingsField/CnSettingsField.vue.js +1 -1
- package/dist/esm/components/CnSettingsField/CnSettingsField.vue2.js +14 -0
- package/dist/esm/components/CnSettingsField/CnSettingsField.vue2.js.map +1 -1
- package/dist/esm/components/CnSettingsField/CnSettingsField.vue3.js +2 -1
- package/dist/esm/components/CnSettingsField/CnSettingsField.vue3.js.map +1 -1
- package/dist/esm/components/CnWidgetObjectTable/CnWidgetObjectTable.vue.js +1 -1
- package/dist/esm/components/CnWidgetObjectTable/CnWidgetObjectTable.vue2.js +13 -8
- package/dist/esm/components/CnWidgetObjectTable/CnWidgetObjectTable.vue2.js.map +1 -1
- package/dist/esm/components/CnWidgetObjectTable/CnWidgetObjectTable.vue3.js.map +1 -1
- package/dist/esm/components/CnWorkspaceFilterWidget/CnWorkspaceFilterWidget.vue.js +1 -1
- package/dist/esm/components/CnWorkspaceFilterWidget/CnWorkspaceFilterWidget.vue2.js +10 -2
- package/dist/esm/components/CnWorkspaceFilterWidget/CnWorkspaceFilterWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnWorkspaceFilterWidget/CnWorkspaceFilterWidget.vue3.js.map +1 -1
- package/dist/esm/composables/indexSources.js +35 -9
- package/dist/esm/composables/indexSources.js.map +1 -1
- package/dist/esm/l10n/nl.json.js +2 -0
- package/dist/esm/l10n/nl.json.js.map +1 -1
- package/dist/esm/library-style.js +1 -1
- package/dist/esm/nextcloud-vue.css +742 -326
- package/dist/esm/utils/builtInFormatters.js +18 -1
- package/dist/esm/utils/builtInFormatters.js.map +1 -1
- package/dist/esm/utils/localHeaderRows.js +95 -0
- package/dist/esm/utils/localHeaderRows.js.map +1 -0
- package/dist/nextcloud-vue.cjs.js +514 -179
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +742 -326
- package/l10n/nl.json +2 -0
- package/package.json +1 -1
- package/src/components/CnActionDialog/CnActionDialog.vue +8 -1
- package/src/components/CnAuditTrailCard/CnAuditTrailCard.vue +55 -2
- package/src/components/CnAuditTrailWidget/CnAuditTrailWidget.vue +18 -0
- package/src/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue +2 -1
- package/src/components/CnFieldListWidget/CnFieldListWidget.vue +2 -2
- package/src/components/CnIndexPage/CnIndexPage.vue +6 -3
- package/src/components/CnMailTab/CnMailTab.vue +6 -4
- package/src/components/CnNotificationMatrix/CnNotificationMatrix.vue +4 -1
- package/src/components/CnRecordListWidget/CnRecordListWidget.vue +131 -20
- package/src/components/CnSettingsField/CnSettingsField.vue +15 -0
- package/src/components/CnWidgetObjectTable/CnWidgetObjectTable.vue +13 -8
- package/src/components/CnWorkspaceFilterWidget/CnWorkspaceFilterWidget.vue +10 -2
- package/src/composables/indexSources.js +35 -9
- package/src/css/dialog.css +18 -9
- package/src/css/look-board-detail.css +219 -23
- package/src/css/look-board-index.css +38 -4
- package/src/css/look-board.css +138 -8
- package/src/css/table.css +8 -1
- package/src/utils/builtInFormatters.js +17 -0
- package/src/utils/localHeaderRows.js +91 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createVNode, Fragment, createElementVNode, renderList, createTextVNode,
|
|
1
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createVNode, Fragment, createElementVNode, renderList, createTextVNode, createBlock, withCtx, normalizeStyle, createSlots, resolveDynamicComponent, mergeProps, toHandlers } from 'vue';
|
|
2
2
|
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
key: 0,
|
|
@@ -31,211 +31,217 @@ const _hoisted_7 = {
|
|
|
31
31
|
"data-testid": "cn-record-list-table"
|
|
32
32
|
};
|
|
33
33
|
const _hoisted_8 = ["aria-sort"];
|
|
34
|
-
const _hoisted_9 =
|
|
35
|
-
|
|
34
|
+
const _hoisted_9 = {
|
|
35
|
+
key: 0,
|
|
36
|
+
class: "cn-record-list__head"
|
|
37
|
+
};
|
|
38
|
+
const _hoisted_10 = ["data-testid", "onClick"];
|
|
39
|
+
const _hoisted_11 = {
|
|
36
40
|
class: "cn-record-list__sort-mark",
|
|
37
41
|
"aria-hidden": "true"
|
|
38
42
|
};
|
|
39
|
-
const
|
|
43
|
+
const _hoisted_12 = {
|
|
40
44
|
key: 0,
|
|
41
45
|
scope: "col",
|
|
42
46
|
class: "cn-record-list__cell--actions"
|
|
43
47
|
};
|
|
44
|
-
const
|
|
48
|
+
const _hoisted_13 = {
|
|
45
49
|
key: 2,
|
|
46
50
|
class: "cn-record-list__cell-text"
|
|
47
51
|
};
|
|
48
|
-
const
|
|
52
|
+
const _hoisted_14 = {
|
|
49
53
|
key: 3,
|
|
50
54
|
class: "cn-record-list__cell-sub"
|
|
51
55
|
};
|
|
52
|
-
const
|
|
56
|
+
const _hoisted_15 = {
|
|
53
57
|
key: 0,
|
|
54
58
|
class: "cn-record-list__cell--actions"
|
|
55
59
|
};
|
|
56
|
-
const
|
|
60
|
+
const _hoisted_16 = {
|
|
57
61
|
key: 7,
|
|
58
62
|
class: "cn-record-list__checklist-wrap"
|
|
59
63
|
};
|
|
60
|
-
const
|
|
61
|
-
const
|
|
64
|
+
const _hoisted_17 = ["aria-valuenow", "aria-valuemax", "aria-label"];
|
|
65
|
+
const _hoisted_18 = {
|
|
62
66
|
class: "cn-record-list__check-mark",
|
|
63
67
|
"aria-hidden": "true"
|
|
64
68
|
};
|
|
65
|
-
const
|
|
66
|
-
const
|
|
67
|
-
const
|
|
69
|
+
const _hoisted_19 = { class: "cn-record-list__check-title" };
|
|
70
|
+
const _hoisted_20 = { class: "hidden-visually" };
|
|
71
|
+
const _hoisted_21 = {
|
|
68
72
|
key: 0,
|
|
69
73
|
class: "cn-record-list__group-head",
|
|
70
74
|
"data-testid": "cn-record-list-group-head"
|
|
71
75
|
};
|
|
72
|
-
const _hoisted_21 = ["id"];
|
|
73
76
|
const _hoisted_22 = ["id"];
|
|
74
|
-
const _hoisted_23 = ["
|
|
75
|
-
const _hoisted_24 =
|
|
77
|
+
const _hoisted_23 = ["id"];
|
|
78
|
+
const _hoisted_24 = ["aria-labelledby", "data-testid"];
|
|
79
|
+
const _hoisted_25 = {
|
|
76
80
|
key: 0,
|
|
77
81
|
class: "cn-record-list__row cn-record-list__row--action"
|
|
78
82
|
};
|
|
79
|
-
const
|
|
83
|
+
const _hoisted_26 = {
|
|
80
84
|
key: 0,
|
|
81
85
|
class: "cn-record-list__leading",
|
|
82
86
|
"data-testid": "cn-record-list-leading"
|
|
83
87
|
};
|
|
84
|
-
const
|
|
88
|
+
const _hoisted_27 = {
|
|
85
89
|
key: 1,
|
|
86
90
|
class: "cn-record-list__avatar",
|
|
87
91
|
"aria-hidden": "true",
|
|
88
92
|
"data-testid": "cn-record-list-avatar"
|
|
89
93
|
};
|
|
90
|
-
const
|
|
91
|
-
const
|
|
94
|
+
const _hoisted_28 = { class: "cn-record-list__main" };
|
|
95
|
+
const _hoisted_29 = {
|
|
92
96
|
key: 1,
|
|
93
97
|
class: "cn-record-list__meta"
|
|
94
98
|
};
|
|
95
|
-
const
|
|
99
|
+
const _hoisted_30 = {
|
|
96
100
|
key: 3,
|
|
97
101
|
class: "cn-record-list__flag",
|
|
98
102
|
"data-testid": "cn-record-list-flag"
|
|
99
103
|
};
|
|
100
|
-
const
|
|
104
|
+
const _hoisted_31 = {
|
|
101
105
|
key: 4,
|
|
102
106
|
class: "cn-record-list__pills"
|
|
103
107
|
};
|
|
104
|
-
const
|
|
108
|
+
const _hoisted_32 = {
|
|
105
109
|
key: 6,
|
|
106
110
|
class: "cn-record-list__trailing"
|
|
107
111
|
};
|
|
108
|
-
const
|
|
112
|
+
const _hoisted_33 = {
|
|
109
113
|
key: 0,
|
|
110
114
|
class: "cn-record-list__leading",
|
|
111
115
|
"data-testid": "cn-record-list-leading"
|
|
112
116
|
};
|
|
113
|
-
const
|
|
117
|
+
const _hoisted_34 = {
|
|
114
118
|
key: 1,
|
|
115
119
|
class: "cn-record-list__pill-start"
|
|
116
120
|
};
|
|
117
|
-
const
|
|
121
|
+
const _hoisted_35 = {
|
|
118
122
|
key: 2,
|
|
119
123
|
class: "cn-record-list__avatar",
|
|
120
124
|
"aria-hidden": "true",
|
|
121
125
|
"data-testid": "cn-record-list-avatar"
|
|
122
126
|
};
|
|
123
|
-
const
|
|
124
|
-
const
|
|
127
|
+
const _hoisted_36 = { class: "cn-record-list__main" };
|
|
128
|
+
const _hoisted_37 = {
|
|
125
129
|
key: 0,
|
|
126
130
|
class: "cn-record-list__title"
|
|
127
131
|
};
|
|
128
|
-
const
|
|
132
|
+
const _hoisted_38 = {
|
|
129
133
|
key: 1,
|
|
130
134
|
class: "cn-record-list__meta"
|
|
131
135
|
};
|
|
132
|
-
const
|
|
136
|
+
const _hoisted_39 = {
|
|
133
137
|
key: 2,
|
|
134
138
|
class: "cn-record-list__meta",
|
|
135
139
|
"data-testid": "cn-record-list-text"
|
|
136
140
|
};
|
|
137
|
-
const
|
|
141
|
+
const _hoisted_40 = {
|
|
138
142
|
key: 4,
|
|
139
143
|
class: "cn-record-list__meta",
|
|
140
144
|
"data-testid": "cn-record-list-links"
|
|
141
145
|
};
|
|
142
|
-
const
|
|
143
|
-
const
|
|
144
|
-
const
|
|
146
|
+
const _hoisted_41 = { key: 1 };
|
|
147
|
+
const _hoisted_42 = { key: 2 };
|
|
148
|
+
const _hoisted_43 = {
|
|
145
149
|
key: 4,
|
|
146
150
|
class: "cn-record-list__aside"
|
|
147
151
|
};
|
|
148
|
-
const
|
|
152
|
+
const _hoisted_44 = {
|
|
149
153
|
key: 0,
|
|
150
154
|
class: "cn-record-list__flag",
|
|
151
155
|
"data-testid": "cn-record-list-flag"
|
|
152
156
|
};
|
|
153
|
-
const
|
|
157
|
+
const _hoisted_45 = {
|
|
154
158
|
key: 3,
|
|
155
159
|
class: "cn-record-list__trailing"
|
|
156
160
|
};
|
|
157
|
-
const
|
|
158
|
-
const
|
|
159
|
-
const
|
|
161
|
+
const _hoisted_46 = { class: "cn-record-list__card-head" };
|
|
162
|
+
const _hoisted_47 = { class: "cn-record-list__card-title" };
|
|
163
|
+
const _hoisted_48 = {
|
|
160
164
|
key: 1,
|
|
161
165
|
class: "cn-record-list__title"
|
|
162
166
|
};
|
|
163
|
-
const
|
|
167
|
+
const _hoisted_49 = {
|
|
164
168
|
key: 0,
|
|
165
169
|
class: "cn-record-list__card-pills"
|
|
166
170
|
};
|
|
167
|
-
const
|
|
171
|
+
const _hoisted_50 = {
|
|
168
172
|
key: 0,
|
|
169
173
|
class: "cn-record-list__meta"
|
|
170
174
|
};
|
|
171
|
-
const
|
|
175
|
+
const _hoisted_51 = {
|
|
172
176
|
key: 1,
|
|
173
177
|
class: "cn-record-list__card-value",
|
|
174
178
|
"data-testid": "cn-record-list-card-value"
|
|
175
179
|
};
|
|
176
|
-
const
|
|
180
|
+
const _hoisted_52 = {
|
|
177
181
|
key: 3,
|
|
178
182
|
class: "cn-record-list__feed-row"
|
|
179
183
|
};
|
|
180
|
-
const
|
|
184
|
+
const _hoisted_53 = {
|
|
181
185
|
class: "cn-record-list__feed-icon",
|
|
182
186
|
"aria-hidden": "true"
|
|
183
187
|
};
|
|
184
|
-
const
|
|
188
|
+
const _hoisted_54 = {
|
|
185
189
|
key: 0,
|
|
186
190
|
class: "cn-record-list__meta"
|
|
187
191
|
};
|
|
188
|
-
const
|
|
192
|
+
const _hoisted_55 = {
|
|
189
193
|
key: 1,
|
|
190
194
|
class: "cn-record-list__text"
|
|
191
195
|
};
|
|
192
|
-
const
|
|
196
|
+
const _hoisted_56 = {
|
|
193
197
|
key: 4,
|
|
194
198
|
class: "cn-record-list__inline-row"
|
|
195
199
|
};
|
|
196
|
-
const
|
|
200
|
+
const _hoisted_57 = {
|
|
197
201
|
key: 0,
|
|
198
202
|
class: "cn-record-list__label"
|
|
199
203
|
};
|
|
200
|
-
const
|
|
201
|
-
const
|
|
204
|
+
const _hoisted_58 = ["aria-label", "aria-valuenow", "aria-valuemax"];
|
|
205
|
+
const _hoisted_59 = {
|
|
202
206
|
key: 10,
|
|
203
207
|
class: "cn-record-list__error",
|
|
204
208
|
role: "alert",
|
|
205
209
|
"data-testid": "cn-record-list-action-error"
|
|
206
210
|
};
|
|
207
|
-
const
|
|
208
|
-
const
|
|
211
|
+
const _hoisted_60 = { class: "cn-record-list__notice-text" };
|
|
212
|
+
const _hoisted_61 = {
|
|
209
213
|
key: 12,
|
|
210
214
|
class: "cn-record-list__footnote",
|
|
211
215
|
"data-testid": "cn-record-list-footnote"
|
|
212
216
|
};
|
|
213
|
-
const
|
|
214
|
-
const
|
|
217
|
+
const _hoisted_62 = ["href"];
|
|
218
|
+
const _hoisted_63 = {
|
|
215
219
|
key: 15,
|
|
216
220
|
class: "cn-record-list__group-head",
|
|
217
221
|
"data-testid": "cn-record-list-group-head"
|
|
218
222
|
};
|
|
219
|
-
const
|
|
223
|
+
const _hoisted_64 = {
|
|
220
224
|
class: "cn-record-list__group-heading",
|
|
221
225
|
"data-testid": "cn-record-list-group-heading"
|
|
222
226
|
};
|
|
223
|
-
const
|
|
224
|
-
const
|
|
227
|
+
const _hoisted_65 = ["id"];
|
|
228
|
+
const _hoisted_66 = {
|
|
225
229
|
key: 0,
|
|
226
230
|
class: "cn-record-list__footer-note",
|
|
227
231
|
"data-testid": "cn-record-list-footer-note"
|
|
228
232
|
};
|
|
229
|
-
const
|
|
233
|
+
const _hoisted_67 = ["id"];
|
|
230
234
|
|
|
231
235
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
232
236
|
const _component_NcLoadingIcon = resolveComponent("NcLoadingIcon");
|
|
233
237
|
const _component_CnIcon = resolveComponent("CnIcon");
|
|
238
|
+
const _component_FilterOutline = resolveComponent("FilterOutline");
|
|
239
|
+
const _component_NcActionCheckbox = resolveComponent("NcActionCheckbox");
|
|
240
|
+
const _component_NcActions = resolveComponent("NcActions");
|
|
234
241
|
const _component_CnStatusBadge = resolveComponent("CnStatusBadge");
|
|
235
242
|
const _component_router_link = resolveComponent("router-link");
|
|
236
243
|
const _component_NcActionLink = resolveComponent("NcActionLink");
|
|
237
244
|
const _component_NcActionButton = resolveComponent("NcActionButton");
|
|
238
|
-
const _component_NcActions = resolveComponent("NcActions");
|
|
239
245
|
const _component_Check = resolveComponent("Check");
|
|
240
246
|
const _component_CnRecordNoteRows = resolveComponent("CnRecordNoteRows");
|
|
241
247
|
const _component_NcButton = resolveComponent("NcButton");
|
|
@@ -291,24 +297,57 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
291
297
|
"aria-sort": col.sortable ? $options.sortStateOf(col.key) : undefined,
|
|
292
298
|
class: normalizeClass({ 'cn-record-list__cell--end': col.align === 'end' })
|
|
293
299
|
}, [
|
|
294
|
-
(col.sortable)
|
|
295
|
-
? (openBlock(), createElementBlock("
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
300
|
+
(col.sortable || $options.tableFilterable)
|
|
301
|
+
? (openBlock(), createElementBlock("span", _hoisted_9, [
|
|
302
|
+
(col.sortable)
|
|
303
|
+
? (openBlock(), createElementBlock("button", {
|
|
304
|
+
key: 0,
|
|
305
|
+
type: "button",
|
|
306
|
+
class: "cn-record-list__sort",
|
|
307
|
+
"data-testid": `cn-record-list-sort-${col.key}`,
|
|
308
|
+
onClick: $event => ($options.toggleTableSort(col.key))
|
|
309
|
+
}, [
|
|
310
|
+
createTextVNode(toDisplayString(col.label) + " ", 1 /* TEXT */),
|
|
311
|
+
createElementVNode("span", _hoisted_11, toDisplayString($options.sortMarkOf(col.key)), 1 /* TEXT */)
|
|
312
|
+
], 8 /* PROPS */, _hoisted_10))
|
|
313
|
+
: (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
314
|
+
createTextVNode(toDisplayString(col.label), 1 /* TEXT */)
|
|
315
|
+
], 64 /* STABLE_FRAGMENT */)),
|
|
316
|
+
($options.tableFilterable)
|
|
317
|
+
? (openBlock(), createBlock(_component_NcActions, {
|
|
318
|
+
key: 2,
|
|
319
|
+
class: "cn-record-list__head-filter",
|
|
320
|
+
"aria-label": $options.filterLabelOf(col.label),
|
|
321
|
+
"data-testid": `cn-record-list-filter-${col.key}`
|
|
322
|
+
}, {
|
|
323
|
+
icon: withCtx(() => [
|
|
324
|
+
createVNode(_component_FilterOutline, { size: 14 })
|
|
325
|
+
]),
|
|
326
|
+
default: withCtx(() => [
|
|
327
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.tableFilterOptions(col.key), (option) => {
|
|
328
|
+
return (openBlock(), createBlock(_component_NcActionCheckbox, {
|
|
329
|
+
key: option,
|
|
330
|
+
modelValue: ($data.tableFilters[col.key] || []).includes(option),
|
|
331
|
+
"onUpdate:modelValue": $event => ($options.toggleTableFilter(col.key, option))
|
|
332
|
+
}, {
|
|
333
|
+
default: withCtx(() => [
|
|
334
|
+
createTextVNode(toDisplayString(option), 1 /* TEXT */)
|
|
335
|
+
]),
|
|
336
|
+
_: 2 /* DYNAMIC */
|
|
337
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["modelValue", "onUpdate:modelValue"]))
|
|
338
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
339
|
+
]),
|
|
340
|
+
_: 2 /* DYNAMIC */
|
|
341
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["aria-label", "data-testid"]))
|
|
342
|
+
: createCommentVNode("v-if", true)
|
|
343
|
+
]))
|
|
305
344
|
: (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
306
345
|
createTextVNode(toDisplayString(col.label), 1 /* TEXT */)
|
|
307
346
|
], 64 /* STABLE_FRAGMENT */))
|
|
308
347
|
], 10 /* CLASS, PROPS */, _hoisted_8))
|
|
309
348
|
}), 128 /* KEYED_FRAGMENT */)),
|
|
310
349
|
($options.rowActions.length > 0)
|
|
311
|
-
? (openBlock(), createElementBlock("th",
|
|
350
|
+
? (openBlock(), createElementBlock("th", _hoisted_12, toDisplayString($options.rowActionsHeader), 1 /* TEXT */))
|
|
312
351
|
: createCommentVNode("v-if", true)
|
|
313
352
|
])
|
|
314
353
|
]),
|
|
@@ -342,14 +381,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
342
381
|
]),
|
|
343
382
|
_: 2 /* DYNAMIC */
|
|
344
383
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["to"]))
|
|
345
|
-
: (openBlock(), createElementBlock("span",
|
|
384
|
+
: (openBlock(), createElementBlock("span", _hoisted_13, toDisplayString(cell.text), 1 /* TEXT */)),
|
|
346
385
|
(cell.sub)
|
|
347
|
-
? (openBlock(), createElementBlock("span",
|
|
386
|
+
? (openBlock(), createElementBlock("span", _hoisted_14, toDisplayString(cell.sub), 1 /* TEXT */))
|
|
348
387
|
: createCommentVNode("v-if", true)
|
|
349
388
|
], 6 /* CLASS, STYLE */))
|
|
350
389
|
}), 128 /* KEYED_FRAGMENT */)),
|
|
351
390
|
($options.rowActions.length > 0)
|
|
352
|
-
? (openBlock(), createElementBlock("td",
|
|
391
|
+
? (openBlock(), createElementBlock("td", _hoisted_15, [
|
|
353
392
|
(item.rowActions.length > 0)
|
|
354
393
|
? (openBlock(), createBlock(_component_NcActions, {
|
|
355
394
|
key: 0,
|
|
@@ -397,7 +436,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
397
436
|
])
|
|
398
437
|
]))
|
|
399
438
|
: ($options.presentation === 'checklist')
|
|
400
|
-
? (openBlock(), createElementBlock("div",
|
|
439
|
+
? (openBlock(), createElementBlock("div", _hoisted_16, [
|
|
401
440
|
($props.content.progress)
|
|
402
441
|
? (openBlock(), createElementBlock("div", {
|
|
403
442
|
key: 0,
|
|
@@ -413,7 +452,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
413
452
|
class: "cn-record-list__checklist-fill",
|
|
414
453
|
style: normalizeStyle({ width: `${$options.checklistPercent}%` })
|
|
415
454
|
}, null, 4 /* STYLE */)
|
|
416
|
-
], 8 /* PROPS */,
|
|
455
|
+
], 8 /* PROPS */, _hoisted_17))
|
|
417
456
|
: createCommentVNode("v-if", true),
|
|
418
457
|
createElementVNode("ul", {
|
|
419
458
|
class: "cn-record-list__checklist",
|
|
@@ -426,7 +465,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
426
465
|
class: normalizeClass(["cn-record-list__check", { 'cn-record-list__check--done': $options.isChecked(item.row) }]),
|
|
427
466
|
"data-testid": "cn-record-list-check"
|
|
428
467
|
}, [
|
|
429
|
-
createElementVNode("span",
|
|
468
|
+
createElementVNode("span", _hoisted_18, [
|
|
430
469
|
($options.isChecked(item.row))
|
|
431
470
|
? (openBlock(), createBlock(_component_Check, {
|
|
432
471
|
key: 0,
|
|
@@ -434,8 +473,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
434
473
|
}))
|
|
435
474
|
: createCommentVNode("v-if", true)
|
|
436
475
|
]),
|
|
437
|
-
createElementVNode("span",
|
|
438
|
-
createElementVNode("span",
|
|
476
|
+
createElementVNode("span", _hoisted_19, toDisplayString(item.title), 1 /* TEXT */),
|
|
477
|
+
createElementVNode("span", _hoisted_20, toDisplayString($options.isChecked(item.row) ? $options.doneLabel : $options.openLabel), 1 /* TEXT */)
|
|
439
478
|
], 2 /* CLASS */))
|
|
440
479
|
}), 128 /* KEYED_FRAGMENT */))
|
|
441
480
|
], 4 /* STYLE */)
|
|
@@ -453,12 +492,12 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
453
492
|
key: group.key
|
|
454
493
|
}, [
|
|
455
494
|
(group.label && $options.footerGroup !== '' && group.value === $options.footerGroup)
|
|
456
|
-
? (openBlock(), createElementBlock("div",
|
|
495
|
+
? (openBlock(), createElementBlock("div", _hoisted_21, [
|
|
457
496
|
createElementVNode("h3", {
|
|
458
497
|
id: group.headingId,
|
|
459
498
|
class: "cn-record-list__group-heading",
|
|
460
499
|
"data-testid": "cn-record-list-group-heading"
|
|
461
|
-
}, toDisplayString(group.label), 9 /* TEXT, PROPS */,
|
|
500
|
+
}, toDisplayString(group.label), 9 /* TEXT, PROPS */, _hoisted_22),
|
|
462
501
|
createVNode(_component_NcButton, {
|
|
463
502
|
variant: "secondary",
|
|
464
503
|
class: normalizeClass({ 'cn-record-list__action--tonal': $options.footerTonal }),
|
|
@@ -492,7 +531,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
492
531
|
id: group.headingId,
|
|
493
532
|
class: "cn-record-list__group-heading",
|
|
494
533
|
"data-testid": "cn-record-list-group-heading"
|
|
495
|
-
}, toDisplayString(group.label), 9 /* TEXT, PROPS */,
|
|
534
|
+
}, toDisplayString(group.label), 9 /* TEXT, PROPS */, _hoisted_23))
|
|
496
535
|
: createCommentVNode("v-if", true),
|
|
497
536
|
(group.items.length > 0)
|
|
498
537
|
? (openBlock(), createElementBlock("ul", {
|
|
@@ -508,12 +547,12 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
508
547
|
"data-testid": "cn-record-list-item"
|
|
509
548
|
}, [
|
|
510
549
|
($options.presentation === 'rows' && item.action)
|
|
511
|
-
? (openBlock(), createElementBlock("div",
|
|
550
|
+
? (openBlock(), createElementBlock("div", _hoisted_25, [
|
|
512
551
|
(item.leading)
|
|
513
|
-
? (openBlock(), createElementBlock("span",
|
|
552
|
+
? (openBlock(), createElementBlock("span", _hoisted_26, toDisplayString(item.leading), 1 /* TEXT */))
|
|
514
553
|
: createCommentVNode("v-if", true),
|
|
515
554
|
(item.initials)
|
|
516
|
-
? (openBlock(), createElementBlock("span",
|
|
555
|
+
? (openBlock(), createElementBlock("span", _hoisted_27, toDisplayString(item.initials), 1 /* TEXT */))
|
|
517
556
|
: createCommentVNode("v-if", true),
|
|
518
557
|
(item.dot)
|
|
519
558
|
? (openBlock(), createElementBlock("span", {
|
|
@@ -524,7 +563,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
524
563
|
"data-testid": "cn-record-list-dot"
|
|
525
564
|
}, null, 4 /* STYLE */))
|
|
526
565
|
: createCommentVNode("v-if", true),
|
|
527
|
-
createElementVNode("span",
|
|
566
|
+
createElementVNode("span", _hoisted_28, [
|
|
528
567
|
(item.title)
|
|
529
568
|
? (openBlock(), createBlock(resolveDynamicComponent(item.tag), mergeProps({
|
|
530
569
|
key: 0,
|
|
@@ -537,14 +576,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
537
576
|
}, 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["class"]))
|
|
538
577
|
: createCommentVNode("v-if", true),
|
|
539
578
|
(item.meta)
|
|
540
|
-
? (openBlock(), createElementBlock("span",
|
|
579
|
+
? (openBlock(), createElementBlock("span", _hoisted_29, toDisplayString(item.meta), 1 /* TEXT */))
|
|
541
580
|
: createCommentVNode("v-if", true)
|
|
542
581
|
]),
|
|
543
582
|
(item.flag)
|
|
544
|
-
? (openBlock(), createElementBlock("span",
|
|
583
|
+
? (openBlock(), createElementBlock("span", _hoisted_30, toDisplayString(item.flag), 1 /* TEXT */))
|
|
545
584
|
: createCommentVNode("v-if", true),
|
|
546
585
|
(item.pill || item.badges.length > 0)
|
|
547
|
-
? (openBlock(), createElementBlock("span",
|
|
586
|
+
? (openBlock(), createElementBlock("span", _hoisted_31, [
|
|
548
587
|
(item.pill)
|
|
549
588
|
? (openBlock(), createBlock(_component_CnStatusBadge, {
|
|
550
589
|
key: 0,
|
|
@@ -572,7 +611,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
572
611
|
}, toDisplayString(item.due.text), 3 /* TEXT, CLASS */))
|
|
573
612
|
: createCommentVNode("v-if", true),
|
|
574
613
|
(item.trailing)
|
|
575
|
-
? (openBlock(), createElementBlock("span",
|
|
614
|
+
? (openBlock(), createElementBlock("span", _hoisted_32, toDisplayString(item.trailing), 1 /* TEXT */))
|
|
576
615
|
: createCommentVNode("v-if", true),
|
|
577
616
|
(openBlock(), createBlock(resolveDynamicComponent(item.action.tag), mergeProps({
|
|
578
617
|
class: ["cn-record-list__action", { 'cn-record-list__action--outlined': $options.rowActionOutlined }]
|
|
@@ -590,10 +629,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
590
629
|
}, { ref_for: true }, item.attrs), {
|
|
591
630
|
default: withCtx(() => [
|
|
592
631
|
(item.leading)
|
|
593
|
-
? (openBlock(), createElementBlock("span",
|
|
632
|
+
? (openBlock(), createElementBlock("span", _hoisted_33, toDisplayString(item.leading), 1 /* TEXT */))
|
|
594
633
|
: createCommentVNode("v-if", true),
|
|
595
634
|
($options.pillFirst && item.pill)
|
|
596
|
-
? (openBlock(), createElementBlock("span",
|
|
635
|
+
? (openBlock(), createElementBlock("span", _hoisted_34, [
|
|
597
636
|
createVNode(_component_CnStatusBadge, {
|
|
598
637
|
label: item.pill.label,
|
|
599
638
|
variant: item.pill.variant,
|
|
@@ -602,7 +641,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
602
641
|
]))
|
|
603
642
|
: createCommentVNode("v-if", true),
|
|
604
643
|
(item.initials)
|
|
605
|
-
? (openBlock(), createElementBlock("span",
|
|
644
|
+
? (openBlock(), createElementBlock("span", _hoisted_35, toDisplayString(item.initials), 1 /* TEXT */))
|
|
606
645
|
: createCommentVNode("v-if", true),
|
|
607
646
|
(item.dot)
|
|
608
647
|
? (openBlock(), createElementBlock("span", {
|
|
@@ -613,15 +652,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
613
652
|
"data-testid": "cn-record-list-dot"
|
|
614
653
|
}, null, 4 /* STYLE */))
|
|
615
654
|
: createCommentVNode("v-if", true),
|
|
616
|
-
createElementVNode("span",
|
|
655
|
+
createElementVNode("span", _hoisted_36, [
|
|
617
656
|
(item.title)
|
|
618
|
-
? (openBlock(), createElementBlock("span",
|
|
657
|
+
? (openBlock(), createElementBlock("span", _hoisted_37, toDisplayString(item.title), 1 /* TEXT */))
|
|
619
658
|
: createCommentVNode("v-if", true),
|
|
620
659
|
(item.meta)
|
|
621
|
-
? (openBlock(), createElementBlock("span",
|
|
660
|
+
? (openBlock(), createElementBlock("span", _hoisted_38, toDisplayString(item.meta), 1 /* TEXT */))
|
|
622
661
|
: createCommentVNode("v-if", true),
|
|
623
662
|
(item.text)
|
|
624
|
-
? (openBlock(), createElementBlock("span",
|
|
663
|
+
? (openBlock(), createElementBlock("span", _hoisted_39, toDisplayString(item.text), 1 /* TEXT */))
|
|
625
664
|
: createCommentVNode("v-if", true),
|
|
626
665
|
(item.due && $options.dueBelow)
|
|
627
666
|
? (openBlock(), createElementBlock("span", {
|
|
@@ -631,7 +670,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
631
670
|
}, toDisplayString(item.due.text), 3 /* TEXT, CLASS */))
|
|
632
671
|
: createCommentVNode("v-if", true),
|
|
633
672
|
(item.links.length > 0)
|
|
634
|
-
? (openBlock(), createElementBlock("span",
|
|
673
|
+
? (openBlock(), createElementBlock("span", _hoisted_40, [
|
|
635
674
|
createTextVNode(toDisplayString($options.linksLabel) + " ", 1 /* TEXT */),
|
|
636
675
|
(openBlock(true), createElementBlock(Fragment, null, renderList(item.links, (link, linkIndex) => {
|
|
637
676
|
return (openBlock(), createElementBlock(Fragment, {
|
|
@@ -647,9 +686,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
647
686
|
]),
|
|
648
687
|
_: 2 /* DYNAMIC */
|
|
649
688
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["to"]))
|
|
650
|
-
: (openBlock(), createElementBlock("span",
|
|
689
|
+
: (openBlock(), createElementBlock("span", _hoisted_41, toDisplayString(link.label), 1 /* TEXT */)),
|
|
651
690
|
(linkIndex < item.links.length - 1)
|
|
652
|
-
? (openBlock(), createElementBlock("span",
|
|
691
|
+
? (openBlock(), createElementBlock("span", _hoisted_42, ", "))
|
|
653
692
|
: createCommentVNode("v-if", true)
|
|
654
693
|
], 64 /* STABLE_FRAGMENT */))
|
|
655
694
|
}), 128 /* KEYED_FRAGMENT */))
|
|
@@ -657,9 +696,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
657
696
|
: createCommentVNode("v-if", true)
|
|
658
697
|
]),
|
|
659
698
|
((item.pill && !$options.pillFirst) || item.badges.length > 0 || (item.due && !$options.dueBelow) || item.trailing || item.flag)
|
|
660
|
-
? (openBlock(), createElementBlock("span",
|
|
699
|
+
? (openBlock(), createElementBlock("span", _hoisted_43, [
|
|
661
700
|
(item.flag)
|
|
662
|
-
? (openBlock(), createElementBlock("span",
|
|
701
|
+
? (openBlock(), createElementBlock("span", _hoisted_44, toDisplayString(item.flag), 1 /* TEXT */))
|
|
663
702
|
: createCommentVNode("v-if", true),
|
|
664
703
|
(item.pill && !$options.pillFirst)
|
|
665
704
|
? (openBlock(), createBlock(_component_CnStatusBadge, {
|
|
@@ -686,7 +725,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
686
725
|
}, toDisplayString(item.due.text), 3 /* TEXT, CLASS */))
|
|
687
726
|
: createCommentVNode("v-if", true),
|
|
688
727
|
(item.trailing)
|
|
689
|
-
? (openBlock(), createElementBlock("span",
|
|
728
|
+
? (openBlock(), createElementBlock("span", _hoisted_45, toDisplayString(item.trailing), 1 /* TEXT */))
|
|
690
729
|
: createCommentVNode("v-if", true)
|
|
691
730
|
]))
|
|
692
731
|
: createCommentVNode("v-if", true),
|
|
@@ -777,8 +816,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
777
816
|
class: ["cn-record-list__card", { 'cn-record-list__card--link': item.tag !== 'div' }]
|
|
778
817
|
}, { ref_for: true }, item.attrs, { "data-testid": "cn-record-list-card" }), {
|
|
779
818
|
default: withCtx(() => [
|
|
780
|
-
createElementVNode("span",
|
|
781
|
-
createElementVNode("span",
|
|
819
|
+
createElementVNode("span", _hoisted_46, [
|
|
820
|
+
createElementVNode("span", _hoisted_47, [
|
|
782
821
|
($options.cardIcons)
|
|
783
822
|
? (openBlock(), createBlock(_component_CnIcon, {
|
|
784
823
|
key: 0,
|
|
@@ -788,11 +827,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
788
827
|
}, null, 8 /* PROPS */, ["name"]))
|
|
789
828
|
: createCommentVNode("v-if", true),
|
|
790
829
|
(item.title)
|
|
791
|
-
? (openBlock(), createElementBlock("span",
|
|
830
|
+
? (openBlock(), createElementBlock("span", _hoisted_48, toDisplayString(item.title), 1 /* TEXT */))
|
|
792
831
|
: createCommentVNode("v-if", true)
|
|
793
832
|
]),
|
|
794
833
|
(item.pill || item.badges.length > 0)
|
|
795
|
-
? (openBlock(), createElementBlock("span",
|
|
834
|
+
? (openBlock(), createElementBlock("span", _hoisted_49, [
|
|
796
835
|
(item.pill)
|
|
797
836
|
? (openBlock(), createBlock(_component_CnStatusBadge, {
|
|
798
837
|
key: 0,
|
|
@@ -814,17 +853,17 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
814
853
|
: createCommentVNode("v-if", true)
|
|
815
854
|
]),
|
|
816
855
|
(item.meta)
|
|
817
|
-
? (openBlock(), createElementBlock("span",
|
|
856
|
+
? (openBlock(), createElementBlock("span", _hoisted_50, toDisplayString(item.meta), 1 /* TEXT */))
|
|
818
857
|
: createCommentVNode("v-if", true),
|
|
819
858
|
(item.trailing)
|
|
820
|
-
? (openBlock(), createElementBlock("span",
|
|
859
|
+
? (openBlock(), createElementBlock("span", _hoisted_51, toDisplayString(item.trailing), 1 /* TEXT */))
|
|
821
860
|
: createCommentVNode("v-if", true)
|
|
822
861
|
]),
|
|
823
862
|
_: 2 /* DYNAMIC */
|
|
824
863
|
}, 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["class"]))
|
|
825
864
|
: ($options.presentation === 'feed')
|
|
826
|
-
? (openBlock(), createElementBlock("div",
|
|
827
|
-
createElementVNode("span",
|
|
865
|
+
? (openBlock(), createElementBlock("div", _hoisted_52, [
|
|
866
|
+
createElementVNode("span", _hoisted_53, [
|
|
828
867
|
createVNode(_component_CnIcon, {
|
|
829
868
|
name: item.icon,
|
|
830
869
|
size: 18
|
|
@@ -833,18 +872,18 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
833
872
|
(openBlock(), createBlock(resolveDynamicComponent(item.tag), mergeProps({ class: "cn-record-list__main" }, { ref_for: true }, item.attrs), {
|
|
834
873
|
default: withCtx(() => [
|
|
835
874
|
(item.meta)
|
|
836
|
-
? (openBlock(), createElementBlock("span",
|
|
875
|
+
? (openBlock(), createElementBlock("span", _hoisted_54, toDisplayString(item.meta), 1 /* TEXT */))
|
|
837
876
|
: createCommentVNode("v-if", true),
|
|
838
877
|
(item.text)
|
|
839
|
-
? (openBlock(), createElementBlock("span",
|
|
878
|
+
? (openBlock(), createElementBlock("span", _hoisted_55, toDisplayString(item.text), 1 /* TEXT */))
|
|
840
879
|
: createCommentVNode("v-if", true)
|
|
841
880
|
]),
|
|
842
881
|
_: 2 /* DYNAMIC */
|
|
843
882
|
}, 1040 /* FULL_PROPS, DYNAMIC_SLOTS */))
|
|
844
883
|
]))
|
|
845
|
-
: (openBlock(), createElementBlock("div",
|
|
884
|
+
: (openBlock(), createElementBlock("div", _hoisted_56, [
|
|
846
885
|
(item.label)
|
|
847
|
-
? (openBlock(), createElementBlock("span",
|
|
886
|
+
? (openBlock(), createElementBlock("span", _hoisted_57, toDisplayString(item.label), 1 /* TEXT */))
|
|
848
887
|
: createCommentVNode("v-if", true),
|
|
849
888
|
(openBlock(), createBlock(resolveDynamicComponent(item.tag), mergeProps({ class: "cn-record-list__inline-title" }, { ref_for: true }, item.attrs), {
|
|
850
889
|
default: withCtx(() => [
|
|
@@ -868,16 +907,16 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
868
907
|
class: "cn-record-list__bar-fill",
|
|
869
908
|
style: normalizeStyle({ width: `${item.bar.share}%` })
|
|
870
909
|
}, null, 4 /* STYLE */)
|
|
871
|
-
], 10 /* CLASS, PROPS */,
|
|
910
|
+
], 10 /* CLASS, PROPS */, _hoisted_58))
|
|
872
911
|
: createCommentVNode("v-if", true)
|
|
873
912
|
]))
|
|
874
913
|
}), 128 /* KEYED_FRAGMENT */))
|
|
875
|
-
], 10 /* CLASS, PROPS */,
|
|
914
|
+
], 10 /* CLASS, PROPS */, _hoisted_24))
|
|
876
915
|
: createCommentVNode("v-if", true)
|
|
877
916
|
], 64 /* STABLE_FRAGMENT */))
|
|
878
917
|
}), 128 /* KEYED_FRAGMENT */)),
|
|
879
918
|
($data.actionError)
|
|
880
|
-
? (openBlock(), createElementBlock("p",
|
|
919
|
+
? (openBlock(), createElementBlock("p", _hoisted_59, toDisplayString($data.actionError), 1 /* TEXT */))
|
|
881
920
|
: createCommentVNode("v-if", true),
|
|
882
921
|
($options.footnoteTone && $options.footnote && !$data.error && !$options.absent && ($data.rows.length > 0 || $options.footnoteFromAnswer))
|
|
883
922
|
? (openBlock(), createElementBlock("div", {
|
|
@@ -891,10 +930,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
891
930
|
class: "cn-record-list__notice-icon",
|
|
892
931
|
"aria-hidden": "true"
|
|
893
932
|
}, null, 8 /* PROPS */, ["name"]),
|
|
894
|
-
createElementVNode("p",
|
|
933
|
+
createElementVNode("p", _hoisted_60, toDisplayString($options.footnote), 1 /* TEXT */)
|
|
895
934
|
], 2 /* CLASS */))
|
|
896
935
|
: ($options.footnote && !$data.error && !$options.absent && ($data.rows.length > 0 || $options.footnoteFromAnswer))
|
|
897
|
-
? (openBlock(), createElementBlock("p",
|
|
936
|
+
? (openBlock(), createElementBlock("p", _hoisted_61, toDisplayString($options.footnote), 1 /* TEXT */))
|
|
898
937
|
: createCommentVNode("v-if", true),
|
|
899
938
|
($options.footerLink && $options.footerLink.to)
|
|
900
939
|
? (openBlock(), createBlock(_component_router_link, {
|
|
@@ -914,11 +953,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
914
953
|
class: "cn-record-list__footer-link",
|
|
915
954
|
href: $options.footerLink.href,
|
|
916
955
|
"data-testid": "cn-record-list-footer-link"
|
|
917
|
-
}, toDisplayString($options.footerLink.label), 9 /* TEXT, PROPS */,
|
|
956
|
+
}, toDisplayString($options.footerLink.label), 9 /* TEXT, PROPS */, _hoisted_62))
|
|
918
957
|
: createCommentVNode("v-if", true),
|
|
919
958
|
($options.footerGroupHead && $data.rows.length === 0 && !$data.error && !$data.loading)
|
|
920
|
-
? (openBlock(), createElementBlock("div",
|
|
921
|
-
createElementVNode("h3",
|
|
959
|
+
? (openBlock(), createElementBlock("div", _hoisted_63, [
|
|
960
|
+
createElementVNode("h3", _hoisted_64, toDisplayString($options.footerGroupHead), 1 /* TEXT */),
|
|
922
961
|
createVNode(_component_NcButton, {
|
|
923
962
|
variant: "secondary",
|
|
924
963
|
class: normalizeClass({ 'cn-record-list__action--tonal': $options.footerTonal }),
|
|
@@ -953,7 +992,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
953
992
|
id: $data.footerReasonId,
|
|
954
993
|
class: "cn-record-list__footer-reason",
|
|
955
994
|
"data-testid": "cn-record-list-footer-reason"
|
|
956
|
-
}, toDisplayString($options.footerAction.reason), 9 /* TEXT, PROPS */,
|
|
995
|
+
}, toDisplayString($options.footerAction.reason), 9 /* TEXT, PROPS */, _hoisted_65))
|
|
957
996
|
: createCommentVNode("v-if", true),
|
|
958
997
|
($options.footerAction && $options.footerGroup === '' && !$data.error)
|
|
959
998
|
? (openBlock(), createElementBlock("div", {
|
|
@@ -962,7 +1001,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
962
1001
|
"data-testid": "cn-record-list-footer"
|
|
963
1002
|
}, [
|
|
964
1003
|
($options.footerAction.note)
|
|
965
|
-
? (openBlock(), createElementBlock("p",
|
|
1004
|
+
? (openBlock(), createElementBlock("p", _hoisted_66, toDisplayString($options.footerAction.note), 1 /* TEXT */))
|
|
966
1005
|
: createCommentVNode("v-if", true),
|
|
967
1006
|
createVNode(_component_NcButton, {
|
|
968
1007
|
variant: "secondary",
|
|
@@ -997,7 +1036,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
997
1036
|
id: $data.footerReasonId,
|
|
998
1037
|
class: "cn-record-list__footer-reason",
|
|
999
1038
|
"data-testid": "cn-record-list-footer-reason"
|
|
1000
|
-
}, toDisplayString($options.footerAction.reason), 9 /* TEXT, PROPS */,
|
|
1039
|
+
}, toDisplayString($options.footerAction.reason), 9 /* TEXT, PROPS */, _hoisted_67))
|
|
1001
1040
|
: createCommentVNode("v-if", true)
|
|
1002
1041
|
], 2 /* CLASS */))
|
|
1003
1042
|
: createCommentVNode("v-if", true)
|