@conduction/nextcloud-vue 0.1.0-beta.4 → 0.1.0-beta.6

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 (71) hide show
  1. package/dist/nextcloud-vue.cjs +67614 -0
  2. package/dist/nextcloud-vue.cjs.js +9559 -8983
  3. package/dist/nextcloud-vue.cjs.js.map +1 -1
  4. package/dist/nextcloud-vue.cjs.map +1 -0
  5. package/dist/nextcloud-vue.css +1231 -1231
  6. package/dist/nextcloud-vue.esm.js +9559 -8983
  7. package/dist/nextcloud-vue.esm.js.map +1 -1
  8. package/package.json +14 -5
  9. package/src/components/CnActionsBar/CnActionsBar.vue +235 -235
  10. package/src/components/CnAdvancedFormDialog/CnAdvancedFormDialog.vue +579 -579
  11. package/src/components/CnAdvancedFormDialog/CnDataTab.vue +217 -217
  12. package/src/components/CnAdvancedFormDialog/CnMetadataTab.vue +121 -121
  13. package/src/components/CnAdvancedFormDialog/CnPropertiesTab.vue +418 -418
  14. package/src/components/CnAdvancedFormDialog/CnPropertyValueCell.vue +247 -247
  15. package/src/components/CnCardGrid/CnCardGrid.vue +152 -152
  16. package/src/components/CnCellRenderer/CnCellRenderer.vue +132 -132
  17. package/src/components/CnChartWidget/CnChartWidget.vue +320 -320
  18. package/src/components/CnConfigurationCard/CnConfigurationCard.vue +77 -77
  19. package/src/components/CnCopyDialog/CnCopyDialog.vue +250 -250
  20. package/src/components/CnDashboardGrid/CnDashboardGrid.vue +225 -225
  21. package/src/components/CnDashboardPage/CnDashboardPage.vue +390 -390
  22. package/src/components/CnDataTable/CnDataTable.vue +349 -349
  23. package/src/components/CnDeleteDialog/CnDeleteDialog.vue +170 -170
  24. package/src/components/CnDetailCard/CnDetailCard.vue +214 -214
  25. package/src/components/CnDetailPage/CnDetailPage.vue +285 -281
  26. package/src/components/CnFacetSidebar/CnFacetSidebar.vue +231 -231
  27. package/src/components/CnFilterBar/CnFilterBar.vue +152 -152
  28. package/src/components/CnFormDialog/CnFormDialog.vue +302 -11
  29. package/src/components/CnIcon/CnIcon.vue +89 -89
  30. package/src/components/CnIndexPage/CnIndexPage.vue +884 -874
  31. package/src/components/CnIndexSidebar/CnIndexSidebar.vue +503 -503
  32. package/src/components/CnItemCard/CnItemCard.vue +132 -132
  33. package/src/components/CnKpiGrid/CnKpiGrid.vue +89 -89
  34. package/src/components/CnMassActionBar/CnMassActionBar.vue +160 -160
  35. package/src/components/CnMassCopyDialog/CnMassCopyDialog.vue +320 -320
  36. package/src/components/CnMassDeleteDialog/CnMassDeleteDialog.vue +238 -238
  37. package/src/components/CnMassExportDialog/CnMassExportDialog.vue +190 -190
  38. package/src/components/CnMassImportDialog/CnMassImportDialog.vue +491 -491
  39. package/src/components/CnNoteCard/CnNoteCard.vue +149 -149
  40. package/src/components/CnNotesCard/CnNotesCard.vue +413 -413
  41. package/src/components/CnObjectCard/CnObjectCard.vue +292 -292
  42. package/src/components/CnObjectCard/eslint-setup.md +235 -0
  43. package/src/components/CnObjectCard/package.json-or.json +132 -0
  44. package/src/components/CnObjectSidebar/CnObjectSidebar.vue +876 -876
  45. package/src/components/CnPageHeader/CnPageHeader.vue +57 -57
  46. package/src/components/CnPagination/CnPagination.vue +252 -252
  47. package/src/components/CnRegisterMapping/CnRegisterMapping.vue +792 -792
  48. package/src/components/CnRowActions/CnRowActions.vue +95 -73
  49. package/src/components/CnSchemaFormDialog/CnSchemaConfigurationTab.vue +226 -226
  50. package/src/components/CnSchemaFormDialog/CnSchemaFormDialog.vue +787 -787
  51. package/src/components/CnSchemaFormDialog/CnSchemaPropertiesTab.vue +305 -305
  52. package/src/components/CnSchemaFormDialog/CnSchemaPropertyActions.vue +1398 -1398
  53. package/src/components/CnSchemaFormDialog/CnSchemaSecurityTab.vue +236 -236
  54. package/src/components/CnSettingsCard/CnSettingsCard.vue +92 -92
  55. package/src/components/CnSettingsSection/CnSettingsSection.vue +266 -266
  56. package/src/components/CnStatsBlock/CnStatsBlock.vue +420 -420
  57. package/src/components/CnStatusBadge/CnStatusBadge.vue +77 -77
  58. package/src/components/CnTabbedFormDialog/CnTabbedFormDialog.vue +540 -540
  59. package/src/components/CnTasksCard/CnTasksCard.vue +373 -373
  60. package/src/components/CnTileWidget/CnTileWidget.vue +159 -159
  61. package/src/components/CnTimelineStages/CnTimelineStages.vue +292 -292
  62. package/src/components/CnUserActionMenu/CnUserActionMenu.vue +435 -435
  63. package/src/components/CnVersionInfoCard/CnVersionInfoCard.vue +312 -312
  64. package/src/components/CnWidgetRenderer/CnWidgetRenderer.vue +180 -180
  65. package/src/components/CnWidgetWrapper/CnWidgetWrapper.vue +211 -211
  66. package/src/index.js +1 -1
  67. package/src/types/notification.d.ts +13 -13
  68. package/src/types/organisation.d.ts +15 -15
  69. package/src/types/schema.d.ts +13 -13
  70. package/src/types/task.d.ts +6 -6
  71. package/src/utils/headers.js +5 -3
@@ -1,320 +1,320 @@
1
- <!--
2
- CnChartWidget — Renders charts inside dashboard widgets.
3
-
4
- A thin wrapper around ApexCharts for use in CnDashboardPage widget slots.
5
- Supports area, line, bar, pie, donut, and radialBar chart types.
6
- Automatically adapts to the widget container size.
7
-
8
- ApexCharts is loaded as a peer dependency — consuming apps must
9
- install `apexcharts` and `vue-apexcharts` in their own package.json.
10
- -->
11
- <template>
12
- <div class="cn-chart-widget">
13
- <component
14
- :is="chartComponent"
15
- v-if="chartComponent"
16
- :type="type"
17
- :height="computedHeight"
18
- :width="computedWidth"
19
- :options="mergedOptions"
20
- :series="series" />
21
- <div v-else class="cn-chart-widget__fallback">
22
- <slot name="fallback">
23
- <p class="cn-chart-widget__error">{{ unavailableLabel }}</p>
24
- </slot>
25
- </div>
26
- </div>
27
- </template>
28
-
29
- <script>
30
- /**
31
- * CnChartWidget — Chart component for dashboard widgets.
32
- *
33
- * Wraps ApexCharts with sensible defaults for Nextcloud theming.
34
- * Apps must install `apexcharts` and `vue-apexcharts` as dependencies.
35
- *
36
- * @example Basic area chart
37
- * <CnChartWidget
38
- * type="area"
39
- * :series="[{ name: 'Searches', data: [10, 41, 35, 51] }]"
40
- * :categories="['Mon', 'Tue', 'Wed', 'Thu']"
41
- * :height="250" />
42
- *
43
- * @example Pie chart
44
- * <CnChartWidget
45
- * type="pie"
46
- * :series="[44, 55, 13]"
47
- * :labels="['Active', 'Pending', 'Closed']" />
48
- *
49
- * @example With custom options
50
- * <CnChartWidget
51
- * type="bar"
52
- * :series="barSeries"
53
- * :options="{ plotOptions: { bar: { horizontal: true } } }" />
54
- */
55
- export default {
56
- name: 'CnChartWidget',
57
-
58
- props: {
59
- /**
60
- * Chart type: area, line, bar, pie, donut, radialBar
61
- * @type {string}
62
- */
63
- type: {
64
- type: String,
65
- default: 'area',
66
- validator: (v) => ['area', 'line', 'bar', 'pie', 'donut', 'radialBar'].includes(v),
67
- },
68
- /**
69
- * Chart data series. Format depends on chart type.
70
- * For line/area/bar: [{ name: string, data: number[] }]
71
- * For pie/donut: number[]
72
- * @type {Array}
73
- */
74
- series: {
75
- type: Array,
76
- default: () => [],
77
- },
78
- /**
79
- * X-axis categories (for line, area, bar charts)
80
- * @type {Array<string>}
81
- */
82
- categories: {
83
- type: Array,
84
- default: () => [],
85
- },
86
- /**
87
- * Labels (for pie, donut charts)
88
- * @type {Array<string>}
89
- */
90
- labels: {
91
- type: Array,
92
- default: () => [],
93
- },
94
- /**
95
- * Chart height in pixels. Use 'auto' for container-based sizing.
96
- * @type {number|string}
97
- */
98
- height: {
99
- type: [Number, String],
100
- default: 250,
101
- },
102
- /**
103
- * Chart width. Defaults to '100%' (fills container).
104
- * @type {number|string}
105
- */
106
- width: {
107
- type: [Number, String],
108
- default: '100%',
109
- },
110
- /**
111
- * Custom ApexCharts options (deep-merged with defaults).
112
- * @type {object}
113
- */
114
- options: {
115
- type: Object,
116
- default: () => ({}),
117
- },
118
- /**
119
- * Chart color palette. Defaults to Nextcloud theme colors.
120
- * @type {Array<string>}
121
- */
122
- colors: {
123
- type: Array,
124
- default: () => [],
125
- },
126
- /**
127
- * Show or hide the toolbar (zoom, download, etc.)
128
- * @type {boolean}
129
- */
130
- toolbar: {
131
- type: Boolean,
132
- default: false,
133
- },
134
- /**
135
- * Show or hide the legend
136
- * @type {boolean}
137
- */
138
- legend: {
139
- type: Boolean,
140
- default: true,
141
- },
142
- /**
143
- * Label shown when ApexCharts is not available
144
- * @type {string}
145
- */
146
- unavailableLabel: {
147
- type: String,
148
- default: 'Chart library not available',
149
- },
150
- },
151
-
152
- data() {
153
- return {
154
- chartComponent: null,
155
- }
156
- },
157
-
158
- computed: {
159
- computedHeight() {
160
- return this.height
161
- },
162
- computedWidth() {
163
- return this.width
164
- },
165
- defaultColors() {
166
- if (this.colors.length > 0) return this.colors
167
- // Nextcloud-themed color palette
168
- return [
169
- 'var(--color-primary-element, #0082c9)',
170
- 'var(--color-success, #46ba61)',
171
- 'var(--color-warning, #e9a300)',
172
- 'var(--color-error, #e04224)',
173
- 'var(--color-primary-element-light, #aad2ed)',
174
- 'var(--color-text-maxcontrast, #767676)',
175
- ]
176
- },
177
- mergedOptions() {
178
- const isPieType = ['pie', 'donut', 'radialBar'].includes(this.type)
179
-
180
- const defaults = {
181
- chart: {
182
- type: this.type,
183
- toolbar: { show: this.toolbar },
184
- zoom: { enabled: false },
185
- fontFamily: 'var(--default-font, system-ui, sans-serif)',
186
- foreColor: 'var(--color-main-text, #222)',
187
- background: 'transparent',
188
- },
189
- colors: this.defaultColors,
190
- stroke: {
191
- curve: 'smooth',
192
- width: this.type === 'area' ? 2 : (this.type === 'bar' ? 0 : 2),
193
- },
194
- fill: this.type === 'area'
195
- ? {
196
- type: 'gradient',
197
- gradient: {
198
- shade: 'light',
199
- type: 'vertical',
200
- opacityFrom: 0.5,
201
- opacityTo: 0.1,
202
- },
203
- }
204
- : { opacity: 1 },
205
- grid: {
206
- borderColor: 'var(--color-border, #ededed)',
207
- strokeDashArray: 4,
208
- },
209
- legend: {
210
- show: this.legend,
211
- position: isPieType ? 'bottom' : 'top',
212
- labels: {
213
- colors: 'var(--color-main-text, #222)',
214
- },
215
- },
216
- dataLabels: {
217
- enabled: isPieType,
218
- },
219
- tooltip: {
220
- theme: 'light',
221
- },
222
- }
223
-
224
- // Add categories for cartesian charts
225
- if (!isPieType && this.categories.length > 0) {
226
- defaults.xaxis = {
227
- categories: this.categories,
228
- labels: {
229
- style: {
230
- colors: 'var(--color-text-maxcontrast, #767676)',
231
- },
232
- },
233
- }
234
- defaults.yaxis = {
235
- labels: {
236
- style: {
237
- colors: 'var(--color-text-maxcontrast, #767676)',
238
- },
239
- },
240
- }
241
- }
242
-
243
- // Add labels for pie/donut
244
- if (isPieType && this.labels.length > 0) {
245
- defaults.labels = this.labels
246
- }
247
-
248
- // Bar-specific defaults
249
- if (this.type === 'bar') {
250
- defaults.plotOptions = {
251
- bar: {
252
- horizontal: false,
253
- columnWidth: '55%',
254
- borderRadius: 4,
255
- },
256
- }
257
- }
258
-
259
- return this.deepMerge(defaults, this.options)
260
- },
261
- },
262
-
263
- async created() {
264
- try {
265
- const VueApexCharts = await import('vue-apexcharts')
266
- this.chartComponent = VueApexCharts.default || VueApexCharts
267
- } catch {
268
- console.warn('[CnChartWidget] vue-apexcharts not found. Install it: npm install apexcharts vue-apexcharts')
269
- this.chartComponent = null
270
- }
271
- },
272
-
273
- methods: {
274
- /**
275
- * Deep merge two objects (target wins on conflict)
276
- * @param {object} base Base object
277
- * @param {object} override Override object
278
- * @return {object} Merged result
279
- */
280
- deepMerge(base, override) {
281
- const result = { ...base }
282
- for (const key of Object.keys(override)) {
283
- if (
284
- override[key]
285
- && typeof override[key] === 'object'
286
- && !Array.isArray(override[key])
287
- && base[key]
288
- && typeof base[key] === 'object'
289
- && !Array.isArray(base[key])
290
- ) {
291
- result[key] = this.deepMerge(base[key], override[key])
292
- } else {
293
- result[key] = override[key]
294
- }
295
- }
296
- return result
297
- },
298
- },
299
- }
300
- </script>
301
-
302
- <style scoped>
303
- .cn-chart-widget {
304
- width: 100%;
305
- min-height: 100px;
306
- }
307
-
308
- .cn-chart-widget__fallback {
309
- display: flex;
310
- align-items: center;
311
- justify-content: center;
312
- min-height: 150px;
313
- color: var(--color-text-maxcontrast);
314
- }
315
-
316
- .cn-chart-widget__error {
317
- font-size: 14px;
318
- margin: 0;
319
- }
320
- </style>
1
+ <!--
2
+ CnChartWidget — Renders charts inside dashboard widgets.
3
+
4
+ A thin wrapper around ApexCharts for use in CnDashboardPage widget slots.
5
+ Supports area, line, bar, pie, donut, and radialBar chart types.
6
+ Automatically adapts to the widget container size.
7
+
8
+ ApexCharts is loaded as a peer dependency — consuming apps must
9
+ install `apexcharts` and `vue-apexcharts` in their own package.json.
10
+ -->
11
+ <template>
12
+ <div class="cn-chart-widget">
13
+ <component
14
+ :is="chartComponent"
15
+ v-if="chartComponent"
16
+ :type="type"
17
+ :height="computedHeight"
18
+ :width="computedWidth"
19
+ :options="mergedOptions"
20
+ :series="series" />
21
+ <div v-else class="cn-chart-widget__fallback">
22
+ <slot name="fallback">
23
+ <p class="cn-chart-widget__error">{{ unavailableLabel }}</p>
24
+ </slot>
25
+ </div>
26
+ </div>
27
+ </template>
28
+
29
+ <script>
30
+ /**
31
+ * CnChartWidget — Chart component for dashboard widgets.
32
+ *
33
+ * Wraps ApexCharts with sensible defaults for Nextcloud theming.
34
+ * Apps must install `apexcharts` and `vue-apexcharts` as dependencies.
35
+ *
36
+ * @example Basic area chart
37
+ * <CnChartWidget
38
+ * type="area"
39
+ * :series="[{ name: 'Searches', data: [10, 41, 35, 51] }]"
40
+ * :categories="['Mon', 'Tue', 'Wed', 'Thu']"
41
+ * :height="250" />
42
+ *
43
+ * @example Pie chart
44
+ * <CnChartWidget
45
+ * type="pie"
46
+ * :series="[44, 55, 13]"
47
+ * :labels="['Active', 'Pending', 'Closed']" />
48
+ *
49
+ * @example With custom options
50
+ * <CnChartWidget
51
+ * type="bar"
52
+ * :series="barSeries"
53
+ * :options="{ plotOptions: { bar: { horizontal: true } } }" />
54
+ */
55
+ export default {
56
+ name: 'CnChartWidget',
57
+
58
+ props: {
59
+ /**
60
+ * Chart type: area, line, bar, pie, donut, radialBar
61
+ * @type {string}
62
+ */
63
+ type: {
64
+ type: String,
65
+ default: 'area',
66
+ validator: (v) => ['area', 'line', 'bar', 'pie', 'donut', 'radialBar'].includes(v),
67
+ },
68
+ /**
69
+ * Chart data series. Format depends on chart type.
70
+ * For line/area/bar: [{ name: string, data: number[] }]
71
+ * For pie/donut: number[]
72
+ * @type {Array}
73
+ */
74
+ series: {
75
+ type: Array,
76
+ default: () => [],
77
+ },
78
+ /**
79
+ * X-axis categories (for line, area, bar charts)
80
+ * @type {Array<string>}
81
+ */
82
+ categories: {
83
+ type: Array,
84
+ default: () => [],
85
+ },
86
+ /**
87
+ * Labels (for pie, donut charts)
88
+ * @type {Array<string>}
89
+ */
90
+ labels: {
91
+ type: Array,
92
+ default: () => [],
93
+ },
94
+ /**
95
+ * Chart height in pixels. Use 'auto' for container-based sizing.
96
+ * @type {number|string}
97
+ */
98
+ height: {
99
+ type: [Number, String],
100
+ default: 250,
101
+ },
102
+ /**
103
+ * Chart width. Defaults to '100%' (fills container).
104
+ * @type {number|string}
105
+ */
106
+ width: {
107
+ type: [Number, String],
108
+ default: '100%',
109
+ },
110
+ /**
111
+ * Custom ApexCharts options (deep-merged with defaults).
112
+ * @type {object}
113
+ */
114
+ options: {
115
+ type: Object,
116
+ default: () => ({}),
117
+ },
118
+ /**
119
+ * Chart color palette. Defaults to Nextcloud theme colors.
120
+ * @type {Array<string>}
121
+ */
122
+ colors: {
123
+ type: Array,
124
+ default: () => [],
125
+ },
126
+ /**
127
+ * Show or hide the toolbar (zoom, download, etc.)
128
+ * @type {boolean}
129
+ */
130
+ toolbar: {
131
+ type: Boolean,
132
+ default: false,
133
+ },
134
+ /**
135
+ * Show or hide the legend
136
+ * @type {boolean}
137
+ */
138
+ legend: {
139
+ type: Boolean,
140
+ default: true,
141
+ },
142
+ /**
143
+ * Label shown when ApexCharts is not available
144
+ * @type {string}
145
+ */
146
+ unavailableLabel: {
147
+ type: String,
148
+ default: 'Chart library not available',
149
+ },
150
+ },
151
+
152
+ data() {
153
+ return {
154
+ chartComponent: null,
155
+ }
156
+ },
157
+
158
+ computed: {
159
+ computedHeight() {
160
+ return this.height
161
+ },
162
+ computedWidth() {
163
+ return this.width
164
+ },
165
+ defaultColors() {
166
+ if (this.colors.length > 0) return this.colors
167
+ // Nextcloud-themed color palette
168
+ return [
169
+ 'var(--color-primary-element, #0082c9)',
170
+ 'var(--color-success, #46ba61)',
171
+ 'var(--color-warning, #e9a300)',
172
+ 'var(--color-error, #e04224)',
173
+ 'var(--color-primary-element-light, #aad2ed)',
174
+ 'var(--color-text-maxcontrast, #767676)',
175
+ ]
176
+ },
177
+ mergedOptions() {
178
+ const isPieType = ['pie', 'donut', 'radialBar'].includes(this.type)
179
+
180
+ const defaults = {
181
+ chart: {
182
+ type: this.type,
183
+ toolbar: { show: this.toolbar },
184
+ zoom: { enabled: false },
185
+ fontFamily: 'var(--default-font, system-ui, sans-serif)',
186
+ foreColor: 'var(--color-main-text, #222)',
187
+ background: 'transparent',
188
+ },
189
+ colors: this.defaultColors,
190
+ stroke: {
191
+ curve: 'smooth',
192
+ width: this.type === 'area' ? 2 : (this.type === 'bar' ? 0 : 2),
193
+ },
194
+ fill: this.type === 'area'
195
+ ? {
196
+ type: 'gradient',
197
+ gradient: {
198
+ shade: 'light',
199
+ type: 'vertical',
200
+ opacityFrom: 0.5,
201
+ opacityTo: 0.1,
202
+ },
203
+ }
204
+ : { opacity: 1 },
205
+ grid: {
206
+ borderColor: 'var(--color-border, #ededed)',
207
+ strokeDashArray: 4,
208
+ },
209
+ legend: {
210
+ show: this.legend,
211
+ position: isPieType ? 'bottom' : 'top',
212
+ labels: {
213
+ colors: 'var(--color-main-text, #222)',
214
+ },
215
+ },
216
+ dataLabels: {
217
+ enabled: isPieType,
218
+ },
219
+ tooltip: {
220
+ theme: 'light',
221
+ },
222
+ }
223
+
224
+ // Add categories for cartesian charts
225
+ if (!isPieType && this.categories.length > 0) {
226
+ defaults.xaxis = {
227
+ categories: this.categories,
228
+ labels: {
229
+ style: {
230
+ colors: 'var(--color-text-maxcontrast, #767676)',
231
+ },
232
+ },
233
+ }
234
+ defaults.yaxis = {
235
+ labels: {
236
+ style: {
237
+ colors: 'var(--color-text-maxcontrast, #767676)',
238
+ },
239
+ },
240
+ }
241
+ }
242
+
243
+ // Add labels for pie/donut
244
+ if (isPieType && this.labels.length > 0) {
245
+ defaults.labels = this.labels
246
+ }
247
+
248
+ // Bar-specific defaults
249
+ if (this.type === 'bar') {
250
+ defaults.plotOptions = {
251
+ bar: {
252
+ horizontal: false,
253
+ columnWidth: '55%',
254
+ borderRadius: 4,
255
+ },
256
+ }
257
+ }
258
+
259
+ return this.deepMerge(defaults, this.options)
260
+ },
261
+ },
262
+
263
+ async created() {
264
+ try {
265
+ const VueApexCharts = await import('vue-apexcharts')
266
+ this.chartComponent = VueApexCharts.default || VueApexCharts
267
+ } catch {
268
+ console.warn('[CnChartWidget] vue-apexcharts not found. Install it: npm install apexcharts vue-apexcharts')
269
+ this.chartComponent = null
270
+ }
271
+ },
272
+
273
+ methods: {
274
+ /**
275
+ * Deep merge two objects (target wins on conflict)
276
+ * @param {object} base Base object
277
+ * @param {object} override Override object
278
+ * @return {object} Merged result
279
+ */
280
+ deepMerge(base, override) {
281
+ const result = { ...base }
282
+ for (const key of Object.keys(override)) {
283
+ if (
284
+ override[key]
285
+ && typeof override[key] === 'object'
286
+ && !Array.isArray(override[key])
287
+ && base[key]
288
+ && typeof base[key] === 'object'
289
+ && !Array.isArray(base[key])
290
+ ) {
291
+ result[key] = this.deepMerge(base[key], override[key])
292
+ } else {
293
+ result[key] = override[key]
294
+ }
295
+ }
296
+ return result
297
+ },
298
+ },
299
+ }
300
+ </script>
301
+
302
+ <style scoped>
303
+ .cn-chart-widget {
304
+ width: 100%;
305
+ min-height: 100px;
306
+ }
307
+
308
+ .cn-chart-widget__fallback {
309
+ display: flex;
310
+ align-items: center;
311
+ justify-content: center;
312
+ min-height: 150px;
313
+ color: var(--color-text-maxcontrast);
314
+ }
315
+
316
+ .cn-chart-widget__error {
317
+ font-size: 14px;
318
+ margin: 0;
319
+ }
320
+ </style>