@conduction/nextcloud-vue 2.140.0 → 2.141.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/CnAssignDialog/CnAssignDialog.vue.js +1 -1
- package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue2.js +10 -2
- package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue2.js.map +1 -1
- package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue3.js.map +1 -1
- package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue.js +1 -1
- package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue2.js +11 -3
- package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue2.js.map +1 -1
- package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue3.js.map +1 -1
- package/dist/esm/components/CnChartWidget/CnChartWidget.vue.js +1 -1
- package/dist/esm/components/CnChartWidget/CnChartWidget.vue2.js +12 -0
- package/dist/esm/components/CnChartWidget/CnChartWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnChartWidget/CnChartWidget.vue3.js +57 -40
- package/dist/esm/components/CnChartWidget/CnChartWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue.js +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js +1 -0
- 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/CnDataTable/CnDataTable.vue2.js +5 -3
- package/dist/esm/components/CnDataTable/CnDataTable.vue2.js.map +1 -1
- package/dist/esm/components/CnDataTable/CnDataTable.vue3.js +1 -0
- package/dist/esm/components/CnDataTable/CnDataTable.vue3.js.map +1 -1
- package/dist/esm/components/CnIndexSidebar/CnIndexSidebar.vue2.js +65 -1
- package/dist/esm/components/CnIndexSidebar/CnIndexSidebar.vue2.js.map +1 -1
- package/dist/esm/components/CnIndexSidebar/CnIndexSidebar.vue3.js +120 -69
- package/dist/esm/components/CnIndexSidebar/CnIndexSidebar.vue3.js.map +1 -1
- package/dist/esm/components/CnMapWidget/CnMapWidget.vue.js +1 -1
- package/dist/esm/components/CnMapWidget/CnMapWidget.vue2.js +47 -9
- 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/CnObjectListWidget/CnObjectListWidget.vue.js +1 -1
- package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue2.js +3 -3
- package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue.js +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js +2 -0
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordNoteRows.vue.js +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordNoteRows.vue2.js +10 -0
- package/dist/esm/components/CnRecordListWidget/CnRecordNoteRows.vue2.js.map +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordNoteRows.vue3.js +34 -26
- package/dist/esm/components/CnRecordListWidget/CnRecordNoteRows.vue3.js.map +1 -1
- package/dist/esm/l10n/en.json.js +2 -1
- package/dist/esm/l10n/en.json.js.map +1 -1
- package/dist/esm/l10n/nl.json.js +2 -1
- package/dist/esm/l10n/nl.json.js.map +1 -1
- package/dist/esm/library-style.js +1 -1
- package/dist/esm/nextcloud-vue.css +652 -391
- package/dist/esm/utils/groupSublines.js +120 -0
- package/dist/esm/utils/groupSublines.js.map +1 -0
- package/dist/nextcloud-vue.cjs.js +974 -638
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +652 -391
- package/l10n/en.json +2 -1
- package/l10n/nl.json +2 -1
- package/package.json +1 -1
- package/src/components/CnAssignDialog/CnAssignDialog.vue +10 -2
- package/src/components/CnCellRenderer/CnCellRenderer.vue +11 -3
- package/src/components/CnChartWidget/CnChartWidget.md +1 -0
- package/src/components/CnChartWidget/CnChartWidget.vue +49 -4
- package/src/components/CnDashboardPage/CnDashboardPage.vue +1 -0
- package/src/components/CnDataTable/CnDataTable.vue +6 -3
- package/src/components/CnIndexSidebar/CnIndexSidebar.vue +101 -3
- package/src/components/CnMapWidget/CnMapWidget.vue +47 -9
- package/src/components/CnObjectListWidget/CnObjectListWidget.vue +3 -3
- package/src/components/CnRecordListWidget/CnRecordListWidget.vue +20 -1
- package/src/components/CnRecordListWidget/CnRecordNoteRows.vue +33 -9
- package/src/css/dialog.css +13 -1
- package/src/css/look-board-detail.css +12 -9
- package/src/css/look-board-index.css +90 -7
- package/src/css/look-board.css +92 -0
- package/src/css/table.css +12 -0
- package/src/utils/groupSublines.js +125 -0
|
@@ -12,52 +12,56 @@ const _hoisted_4 = {
|
|
|
12
12
|
class: "cn-chart-widget__html",
|
|
13
13
|
"data-testid": "cn-chart-widget-bar-list"
|
|
14
14
|
};
|
|
15
|
-
const _hoisted_5 = { class: "cn-chart-widget__bar-
|
|
16
|
-
const _hoisted_6 = {
|
|
17
|
-
|
|
15
|
+
const _hoisted_5 = { class: "cn-chart-widget__bar-label" };
|
|
16
|
+
const _hoisted_6 = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "cn-chart-widget__bar-track"
|
|
19
|
+
};
|
|
20
|
+
const _hoisted_7 = { class: "cn-chart-widget__bar-value" };
|
|
21
|
+
const _hoisted_8 = {
|
|
18
22
|
class: "cn-chart-widget__bar-track",
|
|
19
23
|
"aria-hidden": "true"
|
|
20
24
|
};
|
|
21
|
-
const
|
|
22
|
-
const
|
|
25
|
+
const _hoisted_9 = { class: "cn-chart-widget__bar-value" };
|
|
26
|
+
const _hoisted_10 = {
|
|
23
27
|
key: 0,
|
|
24
28
|
class: "cn-chart-widget__footnote"
|
|
25
29
|
};
|
|
26
|
-
const
|
|
30
|
+
const _hoisted_11 = {
|
|
27
31
|
key: 6,
|
|
28
32
|
class: "cn-chart-widget__html",
|
|
29
33
|
"data-testid": "cn-chart-widget-matrix"
|
|
30
34
|
};
|
|
31
|
-
const
|
|
32
|
-
const
|
|
35
|
+
const _hoisted_12 = ["aria-label"];
|
|
36
|
+
const _hoisted_13 = {
|
|
33
37
|
role: "row",
|
|
34
38
|
class: "cn-chart-widget__matrix-row"
|
|
35
39
|
};
|
|
36
|
-
const
|
|
40
|
+
const _hoisted_14 = {
|
|
37
41
|
role: "rowheader",
|
|
38
42
|
class: "cn-chart-widget__matrix-label"
|
|
39
43
|
};
|
|
40
|
-
const
|
|
41
|
-
const
|
|
44
|
+
const _hoisted_15 = ["aria-current"];
|
|
45
|
+
const _hoisted_16 = {
|
|
42
46
|
key: 0,
|
|
43
47
|
class: "cn-chart-widget__footnote"
|
|
44
48
|
};
|
|
45
|
-
const
|
|
49
|
+
const _hoisted_17 = {
|
|
46
50
|
key: 7,
|
|
47
51
|
class: "cn-chart-widget__canvas"
|
|
48
52
|
};
|
|
49
|
-
const
|
|
53
|
+
const _hoisted_18 = {
|
|
50
54
|
key: 8,
|
|
51
55
|
class: "cn-chart-widget__fallback"
|
|
52
56
|
};
|
|
53
|
-
const
|
|
54
|
-
const
|
|
57
|
+
const _hoisted_19 = { class: "cn-chart-widget__error" };
|
|
58
|
+
const _hoisted_20 = {
|
|
55
59
|
key: 9,
|
|
56
60
|
class: "cn-chart-widget__footnote",
|
|
57
61
|
"data-testid": "cn-chart-widget-footnote"
|
|
58
62
|
};
|
|
59
|
-
const
|
|
60
|
-
const
|
|
63
|
+
const _hoisted_21 = { class: "cn-chart-widget__notice-text" };
|
|
64
|
+
const _hoisted_22 = { key: 0 };
|
|
61
65
|
|
|
62
66
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
63
67
|
const _component_CnEndpointNotice = resolveComponent("CnEndpointNotice");
|
|
@@ -111,7 +115,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
111
115
|
? (openBlock(), createElementBlock("div", _hoisted_3, toDisplayString($options.hostTranslate($props.emptyLabel)), 1 /* TEXT */))
|
|
112
116
|
: ($props.type === 'bar-list')
|
|
113
117
|
? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
114
|
-
createElementVNode("ul",
|
|
118
|
+
createElementVNode("ul", {
|
|
119
|
+
class: normalizeClass(["cn-chart-widget__bar-list", { 'cn-chart-widget__bar-list--value-at-end': $props.barValueAtEnd }])
|
|
120
|
+
}, [
|
|
115
121
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.barListRows, (row) => {
|
|
116
122
|
return (openBlock(), createElementBlock("li", {
|
|
117
123
|
key: row.index,
|
|
@@ -124,33 +130,44 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
124
130
|
onClick: $event => (row.drill ? $options.onDataPointSelection(null, null, { dataPointIndex: row.index }) : null)
|
|
125
131
|
}, {
|
|
126
132
|
default: withCtx(() => [
|
|
127
|
-
createElementVNode("span",
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
createElementVNode("span", _hoisted_5, toDisplayString(row.label), 1 /* TEXT */),
|
|
134
|
+
($props.barValueAtEnd)
|
|
135
|
+
? (openBlock(), createElementBlock("span", _hoisted_6, [
|
|
136
|
+
createElementVNode("span", {
|
|
137
|
+
class: "cn-chart-widget__bar-fill",
|
|
138
|
+
"aria-hidden": "true",
|
|
139
|
+
style: normalizeStyle({ flexBasis: `${row.share}%` })
|
|
140
|
+
}, null, 4 /* STYLE */),
|
|
141
|
+
createElementVNode("span", _hoisted_7, toDisplayString(row.text), 1 /* TEXT */)
|
|
142
|
+
]))
|
|
143
|
+
: (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
144
|
+
createElementVNode("span", _hoisted_8, [
|
|
145
|
+
createElementVNode("span", {
|
|
146
|
+
class: "cn-chart-widget__bar-fill",
|
|
147
|
+
style: normalizeStyle({ width: `${row.share}%` })
|
|
148
|
+
}, null, 4 /* STYLE */)
|
|
149
|
+
]),
|
|
150
|
+
createElementVNode("span", _hoisted_9, toDisplayString(row.text), 1 /* TEXT */)
|
|
151
|
+
], 64 /* STABLE_FRAGMENT */))
|
|
135
152
|
]),
|
|
136
153
|
_: 2 /* DYNAMIC */
|
|
137
154
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["type", "class", "onClick"]))
|
|
138
155
|
]))
|
|
139
156
|
}), 128 /* KEYED_FRAGMENT */))
|
|
140
|
-
]),
|
|
157
|
+
], 2 /* CLASS */),
|
|
141
158
|
($props.footnote)
|
|
142
|
-
? (openBlock(), createElementBlock("p",
|
|
159
|
+
? (openBlock(), createElementBlock("p", _hoisted_10, toDisplayString($options.hostTranslate($props.footnote)), 1 /* TEXT */))
|
|
143
160
|
: createCommentVNode("v-if", true)
|
|
144
161
|
]))
|
|
145
162
|
: ($props.type === 'matrix')
|
|
146
|
-
? (openBlock(), createElementBlock("div",
|
|
163
|
+
? (openBlock(), createElementBlock("div", _hoisted_11, [
|
|
147
164
|
createElementVNode("div", {
|
|
148
165
|
role: "table",
|
|
149
166
|
class: "cn-chart-widget__matrix",
|
|
150
167
|
"aria-label": $options.matrixLabel,
|
|
151
168
|
style: normalizeStyle({ gridTemplateColumns: `${$options.matrixLabelColumn} repeat(${$options.matrix.columns.length}, minmax(0, 1fr))` })
|
|
152
169
|
}, [
|
|
153
|
-
createElementVNode("div",
|
|
170
|
+
createElementVNode("div", _hoisted_13, [
|
|
154
171
|
_cache[0] || (_cache[0] = createElementVNode("span", {
|
|
155
172
|
role: "columnheader",
|
|
156
173
|
class: "cn-chart-widget__matrix-corner"
|
|
@@ -169,7 +186,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
169
186
|
role: "row",
|
|
170
187
|
class: "cn-chart-widget__matrix-row"
|
|
171
188
|
}, [
|
|
172
|
-
createElementVNode("span",
|
|
189
|
+
createElementVNode("span", _hoisted_14, toDisplayString(row.label), 1 /* TEXT */),
|
|
173
190
|
(openBlock(true), createElementBlock(Fragment, null, renderList(row.cells, (cell, column) => {
|
|
174
191
|
return (openBlock(), createElementBlock("span", {
|
|
175
192
|
key: column,
|
|
@@ -178,17 +195,17 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
178
195
|
style: normalizeStyle(cell.color ? { background: cell.color } : null),
|
|
179
196
|
"aria-current": cell.current ? 'true' : null,
|
|
180
197
|
"data-testid": "cn-chart-widget-matrix-cell"
|
|
181
|
-
}, toDisplayString(cell.text), 15 /* TEXT, CLASS, STYLE, PROPS */,
|
|
198
|
+
}, toDisplayString(cell.text), 15 /* TEXT, CLASS, STYLE, PROPS */, _hoisted_15))
|
|
182
199
|
}), 128 /* KEYED_FRAGMENT */))
|
|
183
200
|
]))
|
|
184
201
|
}), 128 /* KEYED_FRAGMENT */))
|
|
185
|
-
], 12 /* STYLE, PROPS */,
|
|
202
|
+
], 12 /* STYLE, PROPS */, _hoisted_12),
|
|
186
203
|
($props.footnote)
|
|
187
|
-
? (openBlock(), createElementBlock("p",
|
|
204
|
+
? (openBlock(), createElementBlock("p", _hoisted_16, toDisplayString($options.hostTranslate($props.footnote)), 1 /* TEXT */))
|
|
188
205
|
: createCommentVNode("v-if", true)
|
|
189
206
|
]))
|
|
190
207
|
: ($data.chartComponent)
|
|
191
|
-
? (openBlock(), createElementBlock("div",
|
|
208
|
+
? (openBlock(), createElementBlock("div", _hoisted_17, [
|
|
192
209
|
(openBlock(), createBlock(resolveDynamicComponent($data.chartComponent), {
|
|
193
210
|
ref: "chart",
|
|
194
211
|
type: $props.type,
|
|
@@ -198,13 +215,13 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
198
215
|
series: $options.plottedSeries
|
|
199
216
|
}, null, 8 /* PROPS */, ["type", "height", "width", "options", "series"]))
|
|
200
217
|
]))
|
|
201
|
-
: (openBlock(), createElementBlock("div",
|
|
218
|
+
: (openBlock(), createElementBlock("div", _hoisted_18, [
|
|
202
219
|
renderSlot(_ctx.$slots, "fallback", {}, () => [
|
|
203
|
-
createElementVNode("p",
|
|
220
|
+
createElementVNode("p", _hoisted_19, toDisplayString($props.unavailableLabel), 1 /* TEXT */)
|
|
204
221
|
])
|
|
205
222
|
])),
|
|
206
223
|
($props.footnote && $data.chartComponent && !$options.showEmptyState && $props.type !== 'bar-list' && $props.type !== 'matrix')
|
|
207
|
-
? (openBlock(), createElementBlock("p",
|
|
224
|
+
? (openBlock(), createElementBlock("p", _hoisted_20, toDisplayString($options.hostTranslate($props.footnote)), 1 /* TEXT */))
|
|
208
225
|
: createCommentVNode("v-if", true),
|
|
209
226
|
($options.noticeParts)
|
|
210
227
|
? (openBlock(), createBlock(_component_NcNoteCard, {
|
|
@@ -215,9 +232,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
215
232
|
"data-testid": "cn-chart-widget-notice"
|
|
216
233
|
}, {
|
|
217
234
|
default: withCtx(() => [
|
|
218
|
-
createElementVNode("p",
|
|
235
|
+
createElementVNode("p", _hoisted_21, [
|
|
219
236
|
($options.noticeParts.lead)
|
|
220
|
-
? (openBlock(), createElementBlock("strong",
|
|
237
|
+
? (openBlock(), createElementBlock("strong", _hoisted_22, toDisplayString($options.noticeParts.lead), 1 /* TEXT */))
|
|
221
238
|
: createCommentVNode("v-if", true),
|
|
222
239
|
createTextVNode(toDisplayString($options.noticeParts.lead && $options.noticeParts.text ? ' ' : '') + toDisplayString($options.noticeParts.text), 1 /* TEXT */)
|
|
223
240
|
])
|