@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.
Files changed (74) hide show
  1. package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue.js +1 -1
  2. package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue2.js +10 -2
  3. package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue2.js.map +1 -1
  4. package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue3.js.map +1 -1
  5. package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue.js +1 -1
  6. package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue2.js +11 -3
  7. package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue2.js.map +1 -1
  8. package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue3.js.map +1 -1
  9. package/dist/esm/components/CnChartWidget/CnChartWidget.vue.js +1 -1
  10. package/dist/esm/components/CnChartWidget/CnChartWidget.vue2.js +12 -0
  11. package/dist/esm/components/CnChartWidget/CnChartWidget.vue2.js.map +1 -1
  12. package/dist/esm/components/CnChartWidget/CnChartWidget.vue3.js +57 -40
  13. package/dist/esm/components/CnChartWidget/CnChartWidget.vue3.js.map +1 -1
  14. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue.js +1 -1
  15. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js +1 -0
  16. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js.map +1 -1
  17. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js.map +1 -1
  18. package/dist/esm/components/CnDataTable/CnDataTable.vue2.js +5 -3
  19. package/dist/esm/components/CnDataTable/CnDataTable.vue2.js.map +1 -1
  20. package/dist/esm/components/CnDataTable/CnDataTable.vue3.js +1 -0
  21. package/dist/esm/components/CnDataTable/CnDataTable.vue3.js.map +1 -1
  22. package/dist/esm/components/CnIndexSidebar/CnIndexSidebar.vue2.js +65 -1
  23. package/dist/esm/components/CnIndexSidebar/CnIndexSidebar.vue2.js.map +1 -1
  24. package/dist/esm/components/CnIndexSidebar/CnIndexSidebar.vue3.js +120 -69
  25. package/dist/esm/components/CnIndexSidebar/CnIndexSidebar.vue3.js.map +1 -1
  26. package/dist/esm/components/CnMapWidget/CnMapWidget.vue.js +1 -1
  27. package/dist/esm/components/CnMapWidget/CnMapWidget.vue2.js +47 -9
  28. package/dist/esm/components/CnMapWidget/CnMapWidget.vue2.js.map +1 -1
  29. package/dist/esm/components/CnMapWidget/CnMapWidget.vue3.js.map +1 -1
  30. package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue.js +1 -1
  31. package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue2.js +3 -3
  32. package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue2.js.map +1 -1
  33. package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue3.js.map +1 -1
  34. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue.js +1 -1
  35. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js +2 -0
  36. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js.map +1 -1
  37. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js +1 -1
  38. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js.map +1 -1
  39. package/dist/esm/components/CnRecordListWidget/CnRecordNoteRows.vue.js +1 -1
  40. package/dist/esm/components/CnRecordListWidget/CnRecordNoteRows.vue2.js +10 -0
  41. package/dist/esm/components/CnRecordListWidget/CnRecordNoteRows.vue2.js.map +1 -1
  42. package/dist/esm/components/CnRecordListWidget/CnRecordNoteRows.vue3.js +34 -26
  43. package/dist/esm/components/CnRecordListWidget/CnRecordNoteRows.vue3.js.map +1 -1
  44. package/dist/esm/l10n/en.json.js +2 -1
  45. package/dist/esm/l10n/en.json.js.map +1 -1
  46. package/dist/esm/l10n/nl.json.js +2 -1
  47. package/dist/esm/l10n/nl.json.js.map +1 -1
  48. package/dist/esm/library-style.js +1 -1
  49. package/dist/esm/nextcloud-vue.css +652 -391
  50. package/dist/esm/utils/groupSublines.js +120 -0
  51. package/dist/esm/utils/groupSublines.js.map +1 -0
  52. package/dist/nextcloud-vue.cjs.js +974 -638
  53. package/dist/nextcloud-vue.cjs.js.map +2 -2
  54. package/dist/nextcloud-vue.css +652 -391
  55. package/l10n/en.json +2 -1
  56. package/l10n/nl.json +2 -1
  57. package/package.json +1 -1
  58. package/src/components/CnAssignDialog/CnAssignDialog.vue +10 -2
  59. package/src/components/CnCellRenderer/CnCellRenderer.vue +11 -3
  60. package/src/components/CnChartWidget/CnChartWidget.md +1 -0
  61. package/src/components/CnChartWidget/CnChartWidget.vue +49 -4
  62. package/src/components/CnDashboardPage/CnDashboardPage.vue +1 -0
  63. package/src/components/CnDataTable/CnDataTable.vue +6 -3
  64. package/src/components/CnIndexSidebar/CnIndexSidebar.vue +101 -3
  65. package/src/components/CnMapWidget/CnMapWidget.vue +47 -9
  66. package/src/components/CnObjectListWidget/CnObjectListWidget.vue +3 -3
  67. package/src/components/CnRecordListWidget/CnRecordListWidget.vue +20 -1
  68. package/src/components/CnRecordListWidget/CnRecordNoteRows.vue +33 -9
  69. package/src/css/dialog.css +13 -1
  70. package/src/css/look-board-detail.css +12 -9
  71. package/src/css/look-board-index.css +90 -7
  72. package/src/css/look-board.css +92 -0
  73. package/src/css/table.css +12 -0
  74. 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-list" };
16
- const _hoisted_6 = { class: "cn-chart-widget__bar-label" };
17
- const _hoisted_7 = {
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 _hoisted_8 = { class: "cn-chart-widget__bar-value" };
22
- const _hoisted_9 = {
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 _hoisted_10 = {
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 _hoisted_11 = ["aria-label"];
32
- const _hoisted_12 = {
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 _hoisted_13 = {
40
+ const _hoisted_14 = {
37
41
  role: "rowheader",
38
42
  class: "cn-chart-widget__matrix-label"
39
43
  };
40
- const _hoisted_14 = ["aria-current"];
41
- const _hoisted_15 = {
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 _hoisted_16 = {
49
+ const _hoisted_17 = {
46
50
  key: 7,
47
51
  class: "cn-chart-widget__canvas"
48
52
  };
49
- const _hoisted_17 = {
53
+ const _hoisted_18 = {
50
54
  key: 8,
51
55
  class: "cn-chart-widget__fallback"
52
56
  };
53
- const _hoisted_18 = { class: "cn-chart-widget__error" };
54
- const _hoisted_19 = {
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 _hoisted_20 = { class: "cn-chart-widget__notice-text" };
60
- const _hoisted_21 = { key: 0 };
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", _hoisted_5, [
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", _hoisted_6, toDisplayString(row.label), 1 /* TEXT */),
128
- createElementVNode("span", _hoisted_7, [
129
- createElementVNode("span", {
130
- class: "cn-chart-widget__bar-fill",
131
- style: normalizeStyle({ width: `${row.share}%` })
132
- }, null, 4 /* STYLE */)
133
- ]),
134
- createElementVNode("span", _hoisted_8, toDisplayString(row.text), 1 /* TEXT */)
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", _hoisted_9, toDisplayString($options.hostTranslate($props.footnote)), 1 /* TEXT */))
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", _hoisted_10, [
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", _hoisted_12, [
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", _hoisted_13, toDisplayString(row.label), 1 /* TEXT */),
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 */, _hoisted_14))
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 */, _hoisted_11),
202
+ ], 12 /* STYLE, PROPS */, _hoisted_12),
186
203
  ($props.footnote)
187
- ? (openBlock(), createElementBlock("p", _hoisted_15, toDisplayString($options.hostTranslate($props.footnote)), 1 /* TEXT */))
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", _hoisted_16, [
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", _hoisted_17, [
218
+ : (openBlock(), createElementBlock("div", _hoisted_18, [
202
219
  renderSlot(_ctx.$slots, "fallback", {}, () => [
203
- createElementVNode("p", _hoisted_18, toDisplayString($props.unavailableLabel), 1 /* TEXT */)
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", _hoisted_19, toDisplayString($options.hostTranslate($props.footnote)), 1 /* TEXT */))
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", _hoisted_20, [
235
+ createElementVNode("p", _hoisted_21, [
219
236
  ($options.noticeParts.lead)
220
- ? (openBlock(), createElementBlock("strong", _hoisted_21, toDisplayString($options.noticeParts.lead), 1 /* TEXT */))
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
  ])