@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.
- package/dist/nextcloud-vue.cjs +67614 -0
- package/dist/nextcloud-vue.cjs.js +13518 -13617
- package/dist/nextcloud-vue.cjs.js.map +1 -1
- package/dist/nextcloud-vue.cjs.map +1 -0
- package/dist/nextcloud-vue.css +1796 -1800
- package/dist/nextcloud-vue.esm.js +13518 -13617
- package/dist/nextcloud-vue.esm.js.map +1 -1
- package/package.json +3 -2
- package/src/components/CnActionsBar/CnActionsBar.vue +254 -254
- package/src/components/CnAdvancedFormDialog/CnAdvancedFormDialog.vue +570 -570
- package/src/components/CnAdvancedFormDialog/CnDataTab.vue +217 -217
- package/src/components/CnAdvancedFormDialog/CnMetadataTab.vue +121 -121
- package/src/components/CnAdvancedFormDialog/CnPropertiesTab.vue +422 -422
- package/src/components/CnAdvancedFormDialog/CnPropertyValueCell.vue +247 -247
- package/src/components/CnCard/CnCard.vue +415 -415
- package/src/components/CnCardGrid/CnCardGrid.vue +156 -156
- package/src/components/CnCellRenderer/CnCellRenderer.vue +132 -132
- package/src/components/CnChartWidget/CnChartWidget.vue +346 -346
- package/src/components/CnConfigurationCard/CnConfigurationCard.vue +77 -77
- package/src/components/CnContextMenu/CnContextMenu.vue +142 -142
- package/src/components/CnCopyDialog/CnCopyDialog.vue +266 -266
- package/src/components/CnDashboardGrid/CnDashboardGrid.vue +229 -229
- package/src/components/CnDashboardPage/CnDashboardPage.vue +397 -397
- package/src/components/CnDataTable/CnDataTable.vue +362 -362
- package/src/components/CnDeleteDialog/CnDeleteDialog.vue +177 -177
- package/src/components/CnDetailCard/CnDetailCard.vue +225 -225
- package/src/components/CnDetailGrid/CnDetailGrid.vue +256 -256
- package/src/components/CnDetailPage/CnDetailPage.vue +432 -432
- package/src/components/CnFacetSidebar/CnFacetSidebar.vue +234 -234
- package/src/components/CnFilterBar/CnFilterBar.vue +153 -153
- package/src/components/CnFormDialog/CnFormDialog.vue +1047 -1047
- package/src/components/CnIcon/CnIcon.vue +89 -89
- package/src/components/CnIndexPage/CnIndexPage.vue +981 -980
- package/src/components/CnIndexSidebar/CnIndexSidebar.vue +536 -536
- package/src/components/CnInfoWidget/CnInfoWidget.vue +219 -219
- package/src/components/CnItemCard/CnItemCard.vue +134 -134
- package/src/components/CnJsonViewer/CnJsonViewer.vue +312 -312
- package/src/components/CnKpiGrid/CnKpiGrid.vue +93 -93
- package/src/components/CnMassActionBar/CnMassActionBar.vue +161 -161
- package/src/components/CnMassCopyDialog/CnMassCopyDialog.vue +327 -327
- package/src/components/CnMassDeleteDialog/CnMassDeleteDialog.vue +245 -245
- package/src/components/CnMassExportDialog/CnMassExportDialog.vue +191 -191
- package/src/components/CnMassImportDialog/CnMassImportDialog.vue +494 -494
- package/src/components/CnNoteCard/CnNoteCard.vue +149 -149
- package/src/components/CnNotesCard/CnNotesCard.vue +416 -416
- package/src/components/CnObjectCard/CnObjectCard.vue +294 -294
- package/src/components/CnObjectDataWidget/CnObjectDataWidget.vue +854 -854
- package/src/components/CnObjectMetadataWidget/CnObjectMetadataWidget.vue +289 -289
- package/src/components/CnObjectSidebar/CnAuditTrailTab.vue +369 -369
- package/src/components/CnObjectSidebar/CnFilesTab.vue +287 -287
- package/src/components/CnObjectSidebar/CnNotesTab.vue +250 -250
- package/src/components/CnObjectSidebar/CnObjectSidebar.vue +255 -255
- package/src/components/CnObjectSidebar/CnTagsTab.vue +259 -259
- package/src/components/CnObjectSidebar/CnTasksTab.vue +483 -483
- package/src/components/CnPageHeader/CnPageHeader.vue +61 -61
- package/src/components/CnPagination/CnPagination.vue +253 -253
- package/src/components/CnProgressBar/CnProgressBar.vue +262 -262
- package/src/components/CnRegisterMapping/CnRegisterMapping.vue +793 -793
- package/src/components/CnRowActions/CnRowActions.vue +95 -95
- package/src/components/CnSchemaFormDialog/CnSchemaConfigurationTab.vue +226 -226
- package/src/components/CnSchemaFormDialog/CnSchemaFormDialog.vue +788 -788
- package/src/components/CnSchemaFormDialog/CnSchemaPropertiesTab.vue +305 -305
- package/src/components/CnSchemaFormDialog/CnSchemaPropertyActions.vue +1398 -1398
- package/src/components/CnSchemaFormDialog/CnSchemaSecurityTab.vue +236 -236
- package/src/components/CnSettingsCard/CnSettingsCard.vue +92 -92
- package/src/components/CnSettingsSection/CnSettingsSection.vue +267 -267
- package/src/components/CnStatsBlock/CnStatsBlock.vue +437 -437
- package/src/components/CnStatsPanel/CnStatsPanel.vue +321 -321
- package/src/components/CnStatusBadge/CnStatusBadge.vue +90 -90
- package/src/components/CnTabbedFormDialog/CnTabbedFormDialog.vue +545 -545
- package/src/components/CnTableWidget/CnTableWidget.vue +333 -333
- package/src/components/CnTasksCard/CnTasksCard.vue +374 -374
- package/src/components/CnTileWidget/CnTileWidget.vue +159 -159
- package/src/components/CnTimelineStages/CnTimelineStages.vue +294 -294
- package/src/components/CnUserActionMenu/CnUserActionMenu.vue +436 -436
- package/src/components/CnVersionInfoCard/CnVersionInfoCard.vue +313 -313
- package/src/components/CnWidgetRenderer/CnWidgetRenderer.vue +180 -180
- package/src/components/CnWidgetWrapper/CnWidgetWrapper.vue +248 -248
|
@@ -1,134 +1,134 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="cn-item-card" @click="$emit('click', $event)">
|
|
3
|
-
<div class="cn-item-card__header">
|
|
4
|
-
<div class="cn-item-card__title-row">
|
|
5
|
-
<slot name="icon">
|
|
6
|
-
<component :is="icon" v-if="icon" :size="iconSize" />
|
|
7
|
-
</slot>
|
|
8
|
-
<div class="cn-item-card__title-content">
|
|
9
|
-
<h3 class="cn-item-card__title">
|
|
10
|
-
{{ title }}
|
|
11
|
-
</h3>
|
|
12
|
-
<span v-if="subtitle" class="cn-item-card__subtitle">{{ subtitle }}</span>
|
|
13
|
-
</div>
|
|
14
|
-
</div>
|
|
15
|
-
<div v-if="$slots.actions || $scopedSlots.actions" class="cn-item-card__actions">
|
|
16
|
-
<slot name="actions" />
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
<div v-if="$slots.default || $scopedSlots.default" class="cn-item-card__content">
|
|
20
|
-
<slot />
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
</template>
|
|
24
|
-
|
|
25
|
-
<script>
|
|
26
|
-
/**
|
|
27
|
-
* CnItemCard — Compact card for displaying an item in a sidebar list.
|
|
28
|
-
*
|
|
29
|
-
* Provides a card with a header (icon + title + optional actions) and
|
|
30
|
-
* a flexible content area. Designed for use in sidebar lists such as
|
|
31
|
-
* schema listings, source listings, etc.
|
|
32
|
-
*
|
|
33
|
-
* @example Basic usage
|
|
34
|
-
* <CnItemCard title="My Schema" :icon="FileCodeOutline">
|
|
35
|
-
* <p>Schema content here</p>
|
|
36
|
-
* </CnItemCard>
|
|
37
|
-
*
|
|
38
|
-
* @example With actions and stats
|
|
39
|
-
* <CnItemCard title="My Schema" :icon="FileCodeOutline" subtitle="v1.0">
|
|
40
|
-
* <template #actions>
|
|
41
|
-
* <NcActions>
|
|
42
|
-
* <NcActionButton @click="edit">Edit</NcActionButton>
|
|
43
|
-
* </NcActions>
|
|
44
|
-
* </template>
|
|
45
|
-
* <CnKpiGrid :columns="2">
|
|
46
|
-
* <CnStatsBlock title="Objects" :count="42" />
|
|
47
|
-
* <CnStatsBlock title="Size" :count="0" :breakdown="{ size: '1.2 MB' }" />
|
|
48
|
-
* </CnKpiGrid>
|
|
49
|
-
* </CnItemCard>
|
|
50
|
-
*/
|
|
51
|
-
export default {
|
|
52
|
-
name: 'CnItemCard',
|
|
53
|
-
|
|
54
|
-
props: {
|
|
55
|
-
/** Card title */
|
|
56
|
-
title: {
|
|
57
|
-
type: String,
|
|
58
|
-
default: '',
|
|
59
|
-
},
|
|
60
|
-
/** Optional subtitle below the title */
|
|
61
|
-
subtitle: {
|
|
62
|
-
type: String,
|
|
63
|
-
default: '',
|
|
64
|
-
},
|
|
65
|
-
/** Icon component (e.g., imported MDI icon) */
|
|
66
|
-
icon: {
|
|
67
|
-
type: [Object, Function],
|
|
68
|
-
default: null,
|
|
69
|
-
},
|
|
70
|
-
/** Icon size in pixels */
|
|
71
|
-
iconSize: {
|
|
72
|
-
type: Number,
|
|
73
|
-
default: 20,
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
}
|
|
77
|
-
</script>
|
|
78
|
-
|
|
79
|
-
<style scoped>
|
|
80
|
-
.cn-item-card {
|
|
81
|
-
background: var(--color-main-background);
|
|
82
|
-
border: 1px solid var(--color-border);
|
|
83
|
-
border-radius: var(--border-radius-large, 10px);
|
|
84
|
-
padding: 12px;
|
|
85
|
-
margin-bottom: 12px;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.cn-item-card:last-child {
|
|
89
|
-
margin-bottom: 0;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.cn-item-card__header {
|
|
93
|
-
display: flex;
|
|
94
|
-
align-items: center;
|
|
95
|
-
justify-content: space-between;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.cn-item-card__title-row {
|
|
99
|
-
display: flex;
|
|
100
|
-
align-items: center;
|
|
101
|
-
gap: 8px;
|
|
102
|
-
min-width: 0;
|
|
103
|
-
flex: 1;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.cn-item-card__title-content {
|
|
107
|
-
display: flex;
|
|
108
|
-
flex-direction: column;
|
|
109
|
-
min-width: 0;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.cn-item-card__title {
|
|
113
|
-
margin: 0;
|
|
114
|
-
font-size: 1em;
|
|
115
|
-
font-weight: 600;
|
|
116
|
-
color: var(--color-main-text);
|
|
117
|
-
overflow: hidden;
|
|
118
|
-
text-overflow: ellipsis;
|
|
119
|
-
white-space: nowrap;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.cn-item-card__subtitle {
|
|
123
|
-
font-size: 0.85em;
|
|
124
|
-
color: var(--color-text-maxcontrast);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.cn-item-card__actions {
|
|
128
|
-
flex-shrink: 0;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.cn-item-card__content {
|
|
132
|
-
margin-top: 8px;
|
|
133
|
-
}
|
|
134
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="cn-item-card" @click="$emit('click', $event)">
|
|
3
|
+
<div class="cn-item-card__header">
|
|
4
|
+
<div class="cn-item-card__title-row">
|
|
5
|
+
<slot name="icon">
|
|
6
|
+
<component :is="icon" v-if="icon" :size="iconSize" />
|
|
7
|
+
</slot>
|
|
8
|
+
<div class="cn-item-card__title-content">
|
|
9
|
+
<h3 class="cn-item-card__title">
|
|
10
|
+
{{ title }}
|
|
11
|
+
</h3>
|
|
12
|
+
<span v-if="subtitle" class="cn-item-card__subtitle">{{ subtitle }}</span>
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
<div v-if="$slots.actions || $scopedSlots.actions" class="cn-item-card__actions">
|
|
16
|
+
<slot name="actions" />
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
<div v-if="$slots.default || $scopedSlots.default" class="cn-item-card__content">
|
|
20
|
+
<slot />
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</template>
|
|
24
|
+
|
|
25
|
+
<script>
|
|
26
|
+
/**
|
|
27
|
+
* CnItemCard — Compact card for displaying an item in a sidebar list.
|
|
28
|
+
*
|
|
29
|
+
* Provides a card with a header (icon + title + optional actions) and
|
|
30
|
+
* a flexible content area. Designed for use in sidebar lists such as
|
|
31
|
+
* schema listings, source listings, etc.
|
|
32
|
+
*
|
|
33
|
+
* @example Basic usage
|
|
34
|
+
* <CnItemCard title="My Schema" :icon="FileCodeOutline">
|
|
35
|
+
* <p>Schema content here</p>
|
|
36
|
+
* </CnItemCard>
|
|
37
|
+
*
|
|
38
|
+
* @example With actions and stats
|
|
39
|
+
* <CnItemCard title="My Schema" :icon="FileCodeOutline" subtitle="v1.0">
|
|
40
|
+
* <template #actions>
|
|
41
|
+
* <NcActions>
|
|
42
|
+
* <NcActionButton @click="edit">Edit</NcActionButton>
|
|
43
|
+
* </NcActions>
|
|
44
|
+
* </template>
|
|
45
|
+
* <CnKpiGrid :columns="2">
|
|
46
|
+
* <CnStatsBlock title="Objects" :count="42" />
|
|
47
|
+
* <CnStatsBlock title="Size" :count="0" :breakdown="{ size: '1.2 MB' }" />
|
|
48
|
+
* </CnKpiGrid>
|
|
49
|
+
* </CnItemCard>
|
|
50
|
+
*/
|
|
51
|
+
export default {
|
|
52
|
+
name: 'CnItemCard',
|
|
53
|
+
|
|
54
|
+
props: {
|
|
55
|
+
/** Card title */
|
|
56
|
+
title: {
|
|
57
|
+
type: String,
|
|
58
|
+
default: '',
|
|
59
|
+
},
|
|
60
|
+
/** Optional subtitle below the title */
|
|
61
|
+
subtitle: {
|
|
62
|
+
type: String,
|
|
63
|
+
default: '',
|
|
64
|
+
},
|
|
65
|
+
/** Icon component (e.g., imported MDI icon) */
|
|
66
|
+
icon: {
|
|
67
|
+
type: [Object, Function],
|
|
68
|
+
default: null,
|
|
69
|
+
},
|
|
70
|
+
/** Icon size in pixels */
|
|
71
|
+
iconSize: {
|
|
72
|
+
type: Number,
|
|
73
|
+
default: 20,
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
}
|
|
77
|
+
</script>
|
|
78
|
+
|
|
79
|
+
<style scoped>
|
|
80
|
+
.cn-item-card {
|
|
81
|
+
background: var(--color-main-background);
|
|
82
|
+
border: 1px solid var(--color-border);
|
|
83
|
+
border-radius: var(--border-radius-large, 10px);
|
|
84
|
+
padding: 12px;
|
|
85
|
+
margin-bottom: 12px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.cn-item-card:last-child {
|
|
89
|
+
margin-bottom: 0;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.cn-item-card__header {
|
|
93
|
+
display: flex;
|
|
94
|
+
align-items: center;
|
|
95
|
+
justify-content: space-between;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.cn-item-card__title-row {
|
|
99
|
+
display: flex;
|
|
100
|
+
align-items: center;
|
|
101
|
+
gap: 8px;
|
|
102
|
+
min-width: 0;
|
|
103
|
+
flex: 1;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.cn-item-card__title-content {
|
|
107
|
+
display: flex;
|
|
108
|
+
flex-direction: column;
|
|
109
|
+
min-width: 0;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.cn-item-card__title {
|
|
113
|
+
margin: 0;
|
|
114
|
+
font-size: 1em;
|
|
115
|
+
font-weight: 600;
|
|
116
|
+
color: var(--color-main-text);
|
|
117
|
+
overflow: hidden;
|
|
118
|
+
text-overflow: ellipsis;
|
|
119
|
+
white-space: nowrap;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.cn-item-card__subtitle {
|
|
123
|
+
font-size: 0.85em;
|
|
124
|
+
color: var(--color-text-maxcontrast);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.cn-item-card__actions {
|
|
128
|
+
flex-shrink: 0;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.cn-item-card__content {
|
|
132
|
+
margin-top: 8px;
|
|
133
|
+
}
|
|
134
|
+
</style>
|