@conduction/nextcloud-vue 0.1.0-beta.11 → 0.1.0-beta.12

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 (78) hide show
  1. package/dist/nextcloud-vue.cjs +67614 -0
  2. package/dist/nextcloud-vue.cjs.js +13518 -13617
  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 +1796 -1800
  6. package/dist/nextcloud-vue.esm.js +13518 -13617
  7. package/dist/nextcloud-vue.esm.js.map +1 -1
  8. package/package.json +3 -2
  9. package/src/components/CnActionsBar/CnActionsBar.vue +254 -254
  10. package/src/components/CnAdvancedFormDialog/CnAdvancedFormDialog.vue +570 -570
  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 +422 -422
  14. package/src/components/CnAdvancedFormDialog/CnPropertyValueCell.vue +247 -247
  15. package/src/components/CnCard/CnCard.vue +415 -415
  16. package/src/components/CnCardGrid/CnCardGrid.vue +156 -156
  17. package/src/components/CnCellRenderer/CnCellRenderer.vue +132 -132
  18. package/src/components/CnChartWidget/CnChartWidget.vue +346 -346
  19. package/src/components/CnConfigurationCard/CnConfigurationCard.vue +77 -77
  20. package/src/components/CnContextMenu/CnContextMenu.vue +142 -142
  21. package/src/components/CnCopyDialog/CnCopyDialog.vue +266 -266
  22. package/src/components/CnDashboardGrid/CnDashboardGrid.vue +229 -229
  23. package/src/components/CnDashboardPage/CnDashboardPage.vue +397 -397
  24. package/src/components/CnDataTable/CnDataTable.vue +362 -362
  25. package/src/components/CnDeleteDialog/CnDeleteDialog.vue +177 -177
  26. package/src/components/CnDetailCard/CnDetailCard.vue +225 -225
  27. package/src/components/CnDetailGrid/CnDetailGrid.vue +256 -256
  28. package/src/components/CnDetailPage/CnDetailPage.vue +432 -432
  29. package/src/components/CnFacetSidebar/CnFacetSidebar.vue +234 -234
  30. package/src/components/CnFilterBar/CnFilterBar.vue +153 -153
  31. package/src/components/CnFormDialog/CnFormDialog.vue +1047 -1047
  32. package/src/components/CnIcon/CnIcon.vue +89 -89
  33. package/src/components/CnIndexPage/CnIndexPage.vue +981 -980
  34. package/src/components/CnIndexSidebar/CnIndexSidebar.vue +536 -536
  35. package/src/components/CnInfoWidget/CnInfoWidget.vue +219 -219
  36. package/src/components/CnItemCard/CnItemCard.vue +134 -134
  37. package/src/components/CnJsonViewer/CnJsonViewer.vue +312 -312
  38. package/src/components/CnKpiGrid/CnKpiGrid.vue +93 -93
  39. package/src/components/CnMassActionBar/CnMassActionBar.vue +161 -161
  40. package/src/components/CnMassCopyDialog/CnMassCopyDialog.vue +327 -327
  41. package/src/components/CnMassDeleteDialog/CnMassDeleteDialog.vue +245 -245
  42. package/src/components/CnMassExportDialog/CnMassExportDialog.vue +191 -191
  43. package/src/components/CnMassImportDialog/CnMassImportDialog.vue +494 -494
  44. package/src/components/CnNoteCard/CnNoteCard.vue +149 -149
  45. package/src/components/CnNotesCard/CnNotesCard.vue +416 -416
  46. package/src/components/CnObjectCard/CnObjectCard.vue +294 -294
  47. package/src/components/CnObjectDataWidget/CnObjectDataWidget.vue +854 -854
  48. package/src/components/CnObjectMetadataWidget/CnObjectMetadataWidget.vue +289 -289
  49. package/src/components/CnObjectSidebar/CnAuditTrailTab.vue +369 -369
  50. package/src/components/CnObjectSidebar/CnFilesTab.vue +287 -287
  51. package/src/components/CnObjectSidebar/CnNotesTab.vue +250 -250
  52. package/src/components/CnObjectSidebar/CnObjectSidebar.vue +255 -255
  53. package/src/components/CnObjectSidebar/CnTagsTab.vue +259 -259
  54. package/src/components/CnObjectSidebar/CnTasksTab.vue +483 -483
  55. package/src/components/CnPageHeader/CnPageHeader.vue +61 -61
  56. package/src/components/CnPagination/CnPagination.vue +253 -253
  57. package/src/components/CnProgressBar/CnProgressBar.vue +262 -262
  58. package/src/components/CnRegisterMapping/CnRegisterMapping.vue +793 -793
  59. package/src/components/CnRowActions/CnRowActions.vue +95 -95
  60. package/src/components/CnSchemaFormDialog/CnSchemaConfigurationTab.vue +226 -226
  61. package/src/components/CnSchemaFormDialog/CnSchemaFormDialog.vue +788 -788
  62. package/src/components/CnSchemaFormDialog/CnSchemaPropertiesTab.vue +305 -305
  63. package/src/components/CnSchemaFormDialog/CnSchemaPropertyActions.vue +1398 -1398
  64. package/src/components/CnSchemaFormDialog/CnSchemaSecurityTab.vue +236 -236
  65. package/src/components/CnSettingsCard/CnSettingsCard.vue +92 -92
  66. package/src/components/CnSettingsSection/CnSettingsSection.vue +267 -267
  67. package/src/components/CnStatsBlock/CnStatsBlock.vue +437 -437
  68. package/src/components/CnStatsPanel/CnStatsPanel.vue +321 -321
  69. package/src/components/CnStatusBadge/CnStatusBadge.vue +90 -90
  70. package/src/components/CnTabbedFormDialog/CnTabbedFormDialog.vue +545 -545
  71. package/src/components/CnTableWidget/CnTableWidget.vue +333 -333
  72. package/src/components/CnTasksCard/CnTasksCard.vue +374 -374
  73. package/src/components/CnTileWidget/CnTileWidget.vue +159 -159
  74. package/src/components/CnTimelineStages/CnTimelineStages.vue +294 -294
  75. package/src/components/CnUserActionMenu/CnUserActionMenu.vue +436 -436
  76. package/src/components/CnVersionInfoCard/CnVersionInfoCard.vue +313 -313
  77. package/src/components/CnWidgetRenderer/CnWidgetRenderer.vue +180 -180
  78. package/src/components/CnWidgetWrapper/CnWidgetWrapper.vue +248 -248
@@ -1,313 +1,313 @@
1
- <template>
2
- <CnSettingsSection
3
- :name="title"
4
- :description="description"
5
- :doc-url="docUrl"
6
- :loading="loading"
7
- loading-message="Loading version information...">
8
- <!-- Actions slot -->
9
- <template #actions>
10
- <!-- Update Button -->
11
- <NcButton
12
- v-if="showUpdateButton"
13
- :type="updateButtonType"
14
- :disabled="updateButtonDisabled"
15
- @click="handleUpdateClick">
16
- <template #icon>
17
- <NcLoadingIcon v-if="updating" :size="20" />
18
- <Check v-else-if="isUpToDate" :size="20" />
19
- <Update v-else :size="20" />
20
- </template>
21
- {{ updateButtonText }}
22
- </NcButton>
23
-
24
- <!-- Additional Actions (slot) -->
25
- <slot name="actions" />
26
- </template>
27
-
28
- <!-- Main content (only shown when not loading) -->
29
- <div v-if="!loading" class="cn-version-info">
30
- <!-- Version card with gray background -->
31
- <div class="cn-version-info__card">
32
- <h4>{{ cardTitle }}</h4>
33
- <div class="cn-version-info__details">
34
- <!-- Application Name -->
35
- <div class="cn-version-info__item">
36
- <span class="cn-version-info__label">{{ labels.appName }}:</span>
37
- <span class="cn-version-info__value">{{ appName }}</span>
38
- </div>
39
-
40
- <!-- Version -->
41
- <div class="cn-version-info__item">
42
- <span class="cn-version-info__label">{{ labels.version }}:</span>
43
- <span class="cn-version-info__value">{{ appVersion }}</span>
44
- </div>
45
-
46
- <!-- Configured Version (if provided) -->
47
- <div v-if="configuredVersion" class="cn-version-info__item">
48
- <span class="cn-version-info__label">{{ labels.configuredVersion }}:</span>
49
- <span class="cn-version-info__value">{{ configuredVersion }}</span>
50
- </div>
51
-
52
- <!-- Additional items -->
53
- <div v-for="item in additionalItems" :key="item.label" class="cn-version-info__item">
54
- <span class="cn-version-info__label">{{ item.label }}:</span>
55
- <span class="cn-version-info__value" :class="item.statusClass">{{ item.value }}</span>
56
- </div>
57
-
58
- <!-- Optional additional items slot -->
59
- <slot name="additional-items" />
60
- </div>
61
-
62
- <!-- Optional footer slot -->
63
- <slot name="footer" />
64
- </div>
65
-
66
- <!-- Optional extra cards slot -->
67
- <slot name="extra-cards" />
68
- </div>
69
- </CnSettingsSection>
70
- </template>
71
-
72
- <script>
73
- import { translate as t } from '@nextcloud/l10n'
74
- import { CnSettingsSection } from '../CnSettingsSection/index.js'
75
- import { NcLoadingIcon, NcButton } from '@nextcloud/vue'
76
- import Check from 'vue-material-design-icons/Check.vue'
77
- import Update from 'vue-material-design-icons/Update.vue'
78
-
79
- /**
80
- * CnVersionInfoCard - App version information card for admin settings pages.
81
- *
82
- * Displays application name, version, and optional configured version with an
83
- * update button. Wraps CnSettingsSection for consistent admin settings layout.
84
- *
85
- * Every Conduction Nextcloud app should show this as the first section on its
86
- * admin settings page.
87
- *
88
- * @example Basic usage
89
- * <CnVersionInfoCard app-name="Open Register" app-version="0.2.3" />
90
- *
91
- * @example With update button
92
- * <CnVersionInfoCard
93
- * app-name="Open Register"
94
- * app-version="0.2.3"
95
- * configured-version="0.2.2"
96
- * :is-up-to-date="false"
97
- * :show-update-button="true"
98
- * :updating="isUpdating"
99
- * @update="runUpdate" />
100
- *
101
- * @example With additional items and actions
102
- * <CnVersionInfoCard
103
- * app-name="Pipelinq"
104
- * app-version="0.1.7"
105
- * :additional-items="[{ label: 'Database', value: 'Connected', statusClass: 'cn-version-info__status--ok' }]">
106
- * <template #actions>
107
- * <NcButton @click="clearCache">Clear App Store Cache</NcButton>
108
- * </template>
109
- * </CnVersionInfoCard>
110
- */
111
- export default {
112
- name: 'CnVersionInfoCard',
113
-
114
- components: {
115
- CnSettingsSection,
116
- NcLoadingIcon,
117
- NcButton,
118
- Check,
119
- Update,
120
- },
121
-
122
- props: {
123
- /** Section title */
124
- title: {
125
- type: String,
126
- default: () => t('nextcloud-vue', 'Version information'),
127
- },
128
- /** Section description */
129
- description: {
130
- type: String,
131
- default: () => t('nextcloud-vue', 'Information about the current application installation'),
132
- },
133
- /** Documentation URL (shows info icon next to title) */
134
- docUrl: {
135
- type: String,
136
- default: '',
137
- },
138
- /** Card heading text */
139
- cardTitle: {
140
- type: String,
141
- default: () => t('nextcloud-vue', 'Application information'),
142
- },
143
- /** Application name to display */
144
- appName: {
145
- type: String,
146
- required: true,
147
- },
148
- /** Application version string */
149
- appVersion: {
150
- type: String,
151
- required: true,
152
- },
153
- /** Configured version (optional, for apps that track configuration versions separately) */
154
- configuredVersion: {
155
- type: String,
156
- default: '',
157
- },
158
- /** Whether the app configuration is up to date */
159
- isUpToDate: {
160
- type: Boolean,
161
- default: true,
162
- },
163
- /** Whether to show the update button */
164
- showUpdateButton: {
165
- type: Boolean,
166
- default: false,
167
- },
168
- /** Whether an update is currently in progress */
169
- updating: {
170
- type: Boolean,
171
- default: false,
172
- },
173
- /**
174
- * Additional key-value items to display.
175
- * Format: [{ label: 'Label', value: 'Value', statusClass: 'cn-version-info__status--ok' }]
176
- */
177
- additionalItems: {
178
- type: Array,
179
- default: () => [],
180
- },
181
- /** Whether version info is loading */
182
- loading: {
183
- type: Boolean,
184
- default: false,
185
- },
186
- /** Custom labels for the standard fields */
187
- labels: {
188
- type: Object,
189
- default: () => ({
190
- appName: 'Application Name',
191
- version: 'Version',
192
- configuredVersion: 'Configured Version',
193
- }),
194
- },
195
- },
196
-
197
- emits: ['update'],
198
-
199
- computed: {
200
- /** @return {string} Button type based on update status */
201
- updateButtonType() {
202
- if (this.isUpToDate) {
203
- return 'success'
204
- }
205
- return 'error'
206
- },
207
-
208
- /** @return {boolean} Whether the update button should be disabled */
209
- updateButtonDisabled() {
210
- return this.isUpToDate || this.updating
211
- },
212
-
213
- /** @return {string} Update button label text */
214
- updateButtonText() {
215
- if (this.updating) {
216
- return 'Updating...'
217
- }
218
- if (this.isUpToDate) {
219
- return 'Up to date'
220
- }
221
- return 'Update'
222
- },
223
- },
224
-
225
- methods: {
226
- handleUpdateClick() {
227
- if (!this.updateButtonDisabled) {
228
- this.$emit('update')
229
- }
230
- },
231
- },
232
- }
233
- </script>
234
-
235
- <style scoped>
236
- .cn-version-info__card {
237
- background: var(--color-background-hover);
238
- border: 1px solid var(--color-border);
239
- border-radius: var(--border-radius-large);
240
- padding: 20px;
241
- margin-bottom: 20px;
242
- }
243
-
244
- .cn-version-info__card h4 {
245
- margin: 0 0 16px 0;
246
- font-size: 16px;
247
- font-weight: 600;
248
- color: var(--color-main-text);
249
- }
250
-
251
- .cn-version-info__details {
252
- display: flex;
253
- flex-direction: column;
254
- gap: 12px;
255
- }
256
-
257
- .cn-version-info__item {
258
- display: flex;
259
- justify-content: space-between;
260
- align-items: center;
261
- padding: 8px 0;
262
- border-bottom: 1px solid var(--color-border);
263
- }
264
-
265
- .cn-version-info__item:last-child {
266
- border-bottom: none;
267
- }
268
-
269
- .cn-version-info__label {
270
- font-weight: 500;
271
- color: var(--color-text-maxcontrast);
272
- font-size: 14px;
273
- }
274
-
275
- .cn-version-info__value {
276
- font-family: 'Courier New', Courier, monospace;
277
- font-weight: 600;
278
- color: var(--color-main-text);
279
- font-size: 14px;
280
- }
281
-
282
- /* Status classes for values */
283
- .cn-version-info__status--ok {
284
- color: var(--color-success);
285
- font-weight: 600;
286
- }
287
-
288
- .cn-version-info__status--warning {
289
- color: var(--color-warning);
290
- font-weight: 600;
291
- }
292
-
293
- .cn-version-info__status--error {
294
- color: var(--color-error);
295
- font-weight: 600;
296
- }
297
-
298
- @media (max-width: 768px) {
299
- .cn-version-info__item {
300
- flex-direction: column;
301
- align-items: flex-start;
302
- gap: 4px;
303
- }
304
-
305
- .cn-version-info__label {
306
- font-weight: 600;
307
- }
308
-
309
- .cn-version-info__value {
310
- word-break: break-all;
311
- }
312
- }
313
- </style>
1
+ <template>
2
+ <CnSettingsSection
3
+ :name="title"
4
+ :description="description"
5
+ :doc-url="docUrl"
6
+ :loading="loading"
7
+ loading-message="Loading version information...">
8
+ <!-- Actions slot -->
9
+ <template #actions>
10
+ <!-- Update Button -->
11
+ <NcButton
12
+ v-if="showUpdateButton"
13
+ :type="updateButtonType"
14
+ :disabled="updateButtonDisabled"
15
+ @click="handleUpdateClick">
16
+ <template #icon>
17
+ <NcLoadingIcon v-if="updating" :size="20" />
18
+ <Check v-else-if="isUpToDate" :size="20" />
19
+ <Update v-else :size="20" />
20
+ </template>
21
+ {{ updateButtonText }}
22
+ </NcButton>
23
+
24
+ <!-- Additional Actions (slot) -->
25
+ <slot name="actions" />
26
+ </template>
27
+
28
+ <!-- Main content (only shown when not loading) -->
29
+ <div v-if="!loading" class="cn-version-info">
30
+ <!-- Version card with gray background -->
31
+ <div class="cn-version-info__card">
32
+ <h4>{{ cardTitle }}</h4>
33
+ <div class="cn-version-info__details">
34
+ <!-- Application Name -->
35
+ <div class="cn-version-info__item">
36
+ <span class="cn-version-info__label">{{ labels.appName }}:</span>
37
+ <span class="cn-version-info__value">{{ appName }}</span>
38
+ </div>
39
+
40
+ <!-- Version -->
41
+ <div class="cn-version-info__item">
42
+ <span class="cn-version-info__label">{{ labels.version }}:</span>
43
+ <span class="cn-version-info__value">{{ appVersion }}</span>
44
+ </div>
45
+
46
+ <!-- Configured Version (if provided) -->
47
+ <div v-if="configuredVersion" class="cn-version-info__item">
48
+ <span class="cn-version-info__label">{{ labels.configuredVersion }}:</span>
49
+ <span class="cn-version-info__value">{{ configuredVersion }}</span>
50
+ </div>
51
+
52
+ <!-- Additional items -->
53
+ <div v-for="item in additionalItems" :key="item.label" class="cn-version-info__item">
54
+ <span class="cn-version-info__label">{{ item.label }}:</span>
55
+ <span class="cn-version-info__value" :class="item.statusClass">{{ item.value }}</span>
56
+ </div>
57
+
58
+ <!-- Optional additional items slot -->
59
+ <slot name="additional-items" />
60
+ </div>
61
+
62
+ <!-- Optional footer slot -->
63
+ <slot name="footer" />
64
+ </div>
65
+
66
+ <!-- Optional extra cards slot -->
67
+ <slot name="extra-cards" />
68
+ </div>
69
+ </CnSettingsSection>
70
+ </template>
71
+
72
+ <script>
73
+ import { translate as t } from '@nextcloud/l10n'
74
+ import { CnSettingsSection } from '../CnSettingsSection/index.js'
75
+ import { NcLoadingIcon, NcButton } from '@nextcloud/vue'
76
+ import Check from 'vue-material-design-icons/Check.vue'
77
+ import Update from 'vue-material-design-icons/Update.vue'
78
+
79
+ /**
80
+ * CnVersionInfoCard - App version information card for admin settings pages.
81
+ *
82
+ * Displays application name, version, and optional configured version with an
83
+ * update button. Wraps CnSettingsSection for consistent admin settings layout.
84
+ *
85
+ * Every Conduction Nextcloud app should show this as the first section on its
86
+ * admin settings page.
87
+ *
88
+ * @example Basic usage
89
+ * <CnVersionInfoCard app-name="Open Register" app-version="0.2.3" />
90
+ *
91
+ * @example With update button
92
+ * <CnVersionInfoCard
93
+ * app-name="Open Register"
94
+ * app-version="0.2.3"
95
+ * configured-version="0.2.2"
96
+ * :is-up-to-date="false"
97
+ * :show-update-button="true"
98
+ * :updating="isUpdating"
99
+ * @update="runUpdate" />
100
+ *
101
+ * @example With additional items and actions
102
+ * <CnVersionInfoCard
103
+ * app-name="Pipelinq"
104
+ * app-version="0.1.7"
105
+ * :additional-items="[{ label: 'Database', value: 'Connected', statusClass: 'cn-version-info__status--ok' }]">
106
+ * <template #actions>
107
+ * <NcButton @click="clearCache">Clear App Store Cache</NcButton>
108
+ * </template>
109
+ * </CnVersionInfoCard>
110
+ */
111
+ export default {
112
+ name: 'CnVersionInfoCard',
113
+
114
+ components: {
115
+ CnSettingsSection,
116
+ NcLoadingIcon,
117
+ NcButton,
118
+ Check,
119
+ Update,
120
+ },
121
+
122
+ props: {
123
+ /** Section title */
124
+ title: {
125
+ type: String,
126
+ default: () => t('nextcloud-vue', 'Version information'),
127
+ },
128
+ /** Section description */
129
+ description: {
130
+ type: String,
131
+ default: () => t('nextcloud-vue', 'Information about the current application installation'),
132
+ },
133
+ /** Documentation URL (shows info icon next to title) */
134
+ docUrl: {
135
+ type: String,
136
+ default: '',
137
+ },
138
+ /** Card heading text */
139
+ cardTitle: {
140
+ type: String,
141
+ default: () => t('nextcloud-vue', 'Application information'),
142
+ },
143
+ /** Application name to display */
144
+ appName: {
145
+ type: String,
146
+ required: true,
147
+ },
148
+ /** Application version string */
149
+ appVersion: {
150
+ type: String,
151
+ required: true,
152
+ },
153
+ /** Configured version (optional, for apps that track configuration versions separately) */
154
+ configuredVersion: {
155
+ type: String,
156
+ default: '',
157
+ },
158
+ /** Whether the app configuration is up to date */
159
+ isUpToDate: {
160
+ type: Boolean,
161
+ default: true,
162
+ },
163
+ /** Whether to show the update button */
164
+ showUpdateButton: {
165
+ type: Boolean,
166
+ default: false,
167
+ },
168
+ /** Whether an update is currently in progress */
169
+ updating: {
170
+ type: Boolean,
171
+ default: false,
172
+ },
173
+ /**
174
+ * Additional key-value items to display.
175
+ * Format: [{ label: 'Label', value: 'Value', statusClass: 'cn-version-info__status--ok' }]
176
+ */
177
+ additionalItems: {
178
+ type: Array,
179
+ default: () => [],
180
+ },
181
+ /** Whether version info is loading */
182
+ loading: {
183
+ type: Boolean,
184
+ default: false,
185
+ },
186
+ /** Custom labels for the standard fields */
187
+ labels: {
188
+ type: Object,
189
+ default: () => ({
190
+ appName: 'Application Name',
191
+ version: 'Version',
192
+ configuredVersion: 'Configured Version',
193
+ }),
194
+ },
195
+ },
196
+
197
+ emits: ['update'],
198
+
199
+ computed: {
200
+ /** @return {string} Button type based on update status */
201
+ updateButtonType() {
202
+ if (this.isUpToDate) {
203
+ return 'success'
204
+ }
205
+ return 'error'
206
+ },
207
+
208
+ /** @return {boolean} Whether the update button should be disabled */
209
+ updateButtonDisabled() {
210
+ return this.isUpToDate || this.updating
211
+ },
212
+
213
+ /** @return {string} Update button label text */
214
+ updateButtonText() {
215
+ if (this.updating) {
216
+ return 'Updating...'
217
+ }
218
+ if (this.isUpToDate) {
219
+ return 'Up to date'
220
+ }
221
+ return 'Update'
222
+ },
223
+ },
224
+
225
+ methods: {
226
+ handleUpdateClick() {
227
+ if (!this.updateButtonDisabled) {
228
+ this.$emit('update')
229
+ }
230
+ },
231
+ },
232
+ }
233
+ </script>
234
+
235
+ <style scoped>
236
+ .cn-version-info__card {
237
+ background: var(--color-background-hover);
238
+ border: 1px solid var(--color-border);
239
+ border-radius: var(--border-radius-large);
240
+ padding: 20px;
241
+ margin-bottom: 20px;
242
+ }
243
+
244
+ .cn-version-info__card h4 {
245
+ margin: 0 0 16px 0;
246
+ font-size: 16px;
247
+ font-weight: 600;
248
+ color: var(--color-main-text);
249
+ }
250
+
251
+ .cn-version-info__details {
252
+ display: flex;
253
+ flex-direction: column;
254
+ gap: 12px;
255
+ }
256
+
257
+ .cn-version-info__item {
258
+ display: flex;
259
+ justify-content: space-between;
260
+ align-items: center;
261
+ padding: 8px 0;
262
+ border-bottom: 1px solid var(--color-border);
263
+ }
264
+
265
+ .cn-version-info__item:last-child {
266
+ border-bottom: none;
267
+ }
268
+
269
+ .cn-version-info__label {
270
+ font-weight: 500;
271
+ color: var(--color-text-maxcontrast);
272
+ font-size: 14px;
273
+ }
274
+
275
+ .cn-version-info__value {
276
+ font-family: 'Courier New', Courier, monospace;
277
+ font-weight: 600;
278
+ color: var(--color-main-text);
279
+ font-size: 14px;
280
+ }
281
+
282
+ /* Status classes for values */
283
+ .cn-version-info__status--ok {
284
+ color: var(--color-success);
285
+ font-weight: 600;
286
+ }
287
+
288
+ .cn-version-info__status--warning {
289
+ color: var(--color-warning);
290
+ font-weight: 600;
291
+ }
292
+
293
+ .cn-version-info__status--error {
294
+ color: var(--color-error);
295
+ font-weight: 600;
296
+ }
297
+
298
+ @media (max-width: 768px) {
299
+ .cn-version-info__item {
300
+ flex-direction: column;
301
+ align-items: flex-start;
302
+ gap: 4px;
303
+ }
304
+
305
+ .cn-version-info__label {
306
+ font-weight: 600;
307
+ }
308
+
309
+ .cn-version-info__value {
310
+ word-break: break-all;
311
+ }
312
+ }
313
+ </style>