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

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 (68) hide show
  1. package/dist/nextcloud-vue.cjs +67614 -0
  2. package/dist/nextcloud-vue.cjs.js +9554 -8980
  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 +9554 -8980
  7. package/dist/nextcloud-vue.esm.js.map +1 -1
  8. package/package.json +11 -4
  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/CnObjectSidebar/CnObjectSidebar.vue +876 -876
  43. package/src/components/CnPageHeader/CnPageHeader.vue +57 -57
  44. package/src/components/CnPagination/CnPagination.vue +252 -252
  45. package/src/components/CnRegisterMapping/CnRegisterMapping.vue +792 -792
  46. package/src/components/CnRowActions/CnRowActions.vue +95 -73
  47. package/src/components/CnSchemaFormDialog/CnSchemaConfigurationTab.vue +226 -226
  48. package/src/components/CnSchemaFormDialog/CnSchemaFormDialog.vue +787 -787
  49. package/src/components/CnSchemaFormDialog/CnSchemaPropertiesTab.vue +305 -305
  50. package/src/components/CnSchemaFormDialog/CnSchemaPropertyActions.vue +1398 -1398
  51. package/src/components/CnSchemaFormDialog/CnSchemaSecurityTab.vue +236 -236
  52. package/src/components/CnSettingsCard/CnSettingsCard.vue +92 -92
  53. package/src/components/CnSettingsSection/CnSettingsSection.vue +266 -266
  54. package/src/components/CnStatsBlock/CnStatsBlock.vue +420 -420
  55. package/src/components/CnStatusBadge/CnStatusBadge.vue +77 -77
  56. package/src/components/CnTabbedFormDialog/CnTabbedFormDialog.vue +540 -540
  57. package/src/components/CnTasksCard/CnTasksCard.vue +373 -373
  58. package/src/components/CnTileWidget/CnTileWidget.vue +159 -159
  59. package/src/components/CnTimelineStages/CnTimelineStages.vue +292 -292
  60. package/src/components/CnUserActionMenu/CnUserActionMenu.vue +435 -435
  61. package/src/components/CnVersionInfoCard/CnVersionInfoCard.vue +312 -312
  62. package/src/components/CnWidgetRenderer/CnWidgetRenderer.vue +180 -180
  63. package/src/components/CnWidgetWrapper/CnWidgetWrapper.vue +211 -211
  64. package/src/index.js +1 -1
  65. package/src/types/notification.d.ts +13 -13
  66. package/src/types/organisation.d.ts +15 -15
  67. package/src/types/schema.d.ts +13 -13
  68. package/src/types/task.d.ts +6 -6
@@ -1,214 +1,214 @@
1
- <!--
2
- CnDetailCard — A card container for detail page sections.
3
-
4
- Visually matches the dashboard widget card style (rounded border, header, content).
5
- Used inside CnDetailPage to organize entity detail information into cards.
6
- -->
7
- <template>
8
- <div class="cn-detail-card" :class="{ 'cn-detail-card--collapsed': isCollapsed }">
9
- <!-- Header -->
10
- <div
11
- v-if="title || $slots.icon"
12
- class="cn-detail-card__header"
13
- :class="{ 'cn-detail-card__header--clickable': collapsible }"
14
- @click="collapsible && toggleCollapse()">
15
- <div class="cn-detail-card__header-left">
16
- <slot name="icon">
17
- <component
18
- :is="icon"
19
- v-if="icon"
20
- :size="20"
21
- class="cn-detail-card__icon" />
22
- </slot>
23
- <h3 class="cn-detail-card__title">
24
- {{ title }}
25
- </h3>
26
- </div>
27
- <div class="cn-detail-card__header-right">
28
- <slot name="header-actions" />
29
- <button
30
- v-if="collapsible"
31
- class="cn-detail-card__collapse-btn"
32
- :aria-label="isCollapsed ? 'Expand' : 'Collapse'">
33
- <ChevronDown
34
- :size="20"
35
- :class="{ 'cn-detail-card__chevron--rotated': isCollapsed }" />
36
- </button>
37
- </div>
38
- </div>
39
-
40
- <!-- Content -->
41
- <div v-show="!isCollapsed" class="cn-detail-card__content">
42
- <slot />
43
- </div>
44
-
45
- <!-- Footer -->
46
- <div v-if="$slots.footer" v-show="!isCollapsed" class="cn-detail-card__footer">
47
- <slot name="footer" />
48
- </div>
49
- </div>
50
- </template>
51
-
52
- <script>
53
- import ChevronDown from 'vue-material-design-icons/ChevronDown.vue'
54
-
55
- /**
56
- * CnDetailCard — Card container for detail page sections.
57
- *
58
- * @example Basic usage
59
- * <CnDetailCard title="Core Info">
60
- * <div class="info-grid">...</div>
61
- * </CnDetailCard>
62
- *
63
- * @example With icon and actions
64
- * <CnDetailCard title="Pipeline" :icon="ChartIcon">
65
- * <template #header-actions>
66
- * <NcButton>Edit</NcButton>
67
- * </template>
68
- * <PipelineProgress :stages="stages" />
69
- * </CnDetailCard>
70
- *
71
- * @example Collapsible
72
- * <CnDetailCard title="Products" :collapsible="true">
73
- * <ProductList :items="products" />
74
- * </CnDetailCard>
75
- */
76
- export default {
77
- name: 'CnDetailCard',
78
-
79
- components: {
80
- ChevronDown,
81
- },
82
-
83
- props: {
84
- /** Card header title */
85
- title: {
86
- type: String,
87
- default: '',
88
- },
89
- /** Optional MDI icon component for the header */
90
- icon: {
91
- type: [Object, Function],
92
- default: null,
93
- },
94
- /** Whether the card can be collapsed */
95
- collapsible: {
96
- type: Boolean,
97
- default: false,
98
- },
99
- /** Initial collapsed state (only relevant when collapsible is true) */
100
- collapsed: {
101
- type: Boolean,
102
- default: false,
103
- },
104
- },
105
-
106
- data() {
107
- return {
108
- isCollapsed: this.collapsed,
109
- }
110
- },
111
-
112
- watch: {
113
- collapsed(val) {
114
- this.isCollapsed = val
115
- },
116
- },
117
-
118
- methods: {
119
- toggleCollapse() {
120
- this.isCollapsed = !this.isCollapsed
121
- this.$emit('update:collapsed', this.isCollapsed)
122
- },
123
- },
124
- }
125
- </script>
126
-
127
- <style scoped>
128
- .cn-detail-card {
129
- background: var(--color-main-background);
130
- border: 1px solid var(--color-border);
131
- border-radius: var(--border-radius-large, 12px);
132
- overflow: hidden;
133
- }
134
-
135
- .cn-detail-card__header {
136
- display: flex;
137
- align-items: center;
138
- justify-content: space-between;
139
- padding: 12px 16px;
140
- border-bottom: 1px solid var(--color-border);
141
- flex-shrink: 0;
142
- }
143
-
144
- .cn-detail-card__header--clickable {
145
- cursor: pointer;
146
- user-select: none;
147
- }
148
-
149
- .cn-detail-card__header--clickable:hover {
150
- background: var(--color-background-hover);
151
- }
152
-
153
- .cn-detail-card--collapsed .cn-detail-card__header {
154
- border-bottom: none;
155
- }
156
-
157
- .cn-detail-card__header-left {
158
- display: flex;
159
- align-items: center;
160
- gap: 8px;
161
- min-width: 0;
162
- }
163
-
164
- .cn-detail-card__header-right {
165
- display: flex;
166
- align-items: center;
167
- gap: 4px;
168
- flex-shrink: 0;
169
- }
170
-
171
- .cn-detail-card__icon {
172
- color: var(--color-primary-element);
173
- flex-shrink: 0;
174
- }
175
-
176
- .cn-detail-card__title {
177
- font-weight: 600;
178
- font-size: 14px;
179
- margin: 0;
180
- white-space: nowrap;
181
- overflow: hidden;
182
- text-overflow: ellipsis;
183
- }
184
-
185
- .cn-detail-card__collapse-btn {
186
- display: flex;
187
- align-items: center;
188
- justify-content: center;
189
- background: none;
190
- border: none;
191
- padding: 4px;
192
- cursor: pointer;
193
- color: var(--color-text-maxcontrast);
194
- border-radius: var(--border-radius);
195
- }
196
-
197
- .cn-detail-card__collapse-btn:hover {
198
- background: var(--color-background-dark);
199
- }
200
-
201
- .cn-detail-card__chevron--rotated {
202
- transform: rotate(-90deg);
203
- transition: transform 0.2s ease;
204
- }
205
-
206
- .cn-detail-card__content {
207
- padding: 16px;
208
- }
209
-
210
- .cn-detail-card__footer {
211
- padding: 8px 16px;
212
- border-top: 1px solid var(--color-border);
213
- }
214
- </style>
1
+ <!--
2
+ CnDetailCard — A card container for detail page sections.
3
+
4
+ Visually matches the dashboard widget card style (rounded border, header, content).
5
+ Used inside CnDetailPage to organize entity detail information into cards.
6
+ -->
7
+ <template>
8
+ <div class="cn-detail-card" :class="{ 'cn-detail-card--collapsed': isCollapsed }">
9
+ <!-- Header -->
10
+ <div
11
+ v-if="title || $slots.icon"
12
+ class="cn-detail-card__header"
13
+ :class="{ 'cn-detail-card__header--clickable': collapsible }"
14
+ @click="collapsible && toggleCollapse()">
15
+ <div class="cn-detail-card__header-left">
16
+ <slot name="icon">
17
+ <component
18
+ :is="icon"
19
+ v-if="icon"
20
+ :size="20"
21
+ class="cn-detail-card__icon" />
22
+ </slot>
23
+ <h3 class="cn-detail-card__title">
24
+ {{ title }}
25
+ </h3>
26
+ </div>
27
+ <div class="cn-detail-card__header-right">
28
+ <slot name="header-actions" />
29
+ <button
30
+ v-if="collapsible"
31
+ class="cn-detail-card__collapse-btn"
32
+ :aria-label="isCollapsed ? 'Expand' : 'Collapse'">
33
+ <ChevronDown
34
+ :size="20"
35
+ :class="{ 'cn-detail-card__chevron--rotated': isCollapsed }" />
36
+ </button>
37
+ </div>
38
+ </div>
39
+
40
+ <!-- Content -->
41
+ <div v-show="!isCollapsed" class="cn-detail-card__content">
42
+ <slot />
43
+ </div>
44
+
45
+ <!-- Footer -->
46
+ <div v-if="$slots.footer" v-show="!isCollapsed" class="cn-detail-card__footer">
47
+ <slot name="footer" />
48
+ </div>
49
+ </div>
50
+ </template>
51
+
52
+ <script>
53
+ import ChevronDown from 'vue-material-design-icons/ChevronDown.vue'
54
+
55
+ /**
56
+ * CnDetailCard — Card container for detail page sections.
57
+ *
58
+ * @example Basic usage
59
+ * <CnDetailCard title="Core Info">
60
+ * <div class="info-grid">...</div>
61
+ * </CnDetailCard>
62
+ *
63
+ * @example With icon and actions
64
+ * <CnDetailCard title="Pipeline" :icon="ChartIcon">
65
+ * <template #header-actions>
66
+ * <NcButton>Edit</NcButton>
67
+ * </template>
68
+ * <PipelineProgress :stages="stages" />
69
+ * </CnDetailCard>
70
+ *
71
+ * @example Collapsible
72
+ * <CnDetailCard title="Products" :collapsible="true">
73
+ * <ProductList :items="products" />
74
+ * </CnDetailCard>
75
+ */
76
+ export default {
77
+ name: 'CnDetailCard',
78
+
79
+ components: {
80
+ ChevronDown,
81
+ },
82
+
83
+ props: {
84
+ /** Card header title */
85
+ title: {
86
+ type: String,
87
+ default: '',
88
+ },
89
+ /** Optional MDI icon component for the header */
90
+ icon: {
91
+ type: [Object, Function],
92
+ default: null,
93
+ },
94
+ /** Whether the card can be collapsed */
95
+ collapsible: {
96
+ type: Boolean,
97
+ default: false,
98
+ },
99
+ /** Initial collapsed state (only relevant when collapsible is true) */
100
+ collapsed: {
101
+ type: Boolean,
102
+ default: false,
103
+ },
104
+ },
105
+
106
+ data() {
107
+ return {
108
+ isCollapsed: this.collapsed,
109
+ }
110
+ },
111
+
112
+ watch: {
113
+ collapsed(val) {
114
+ this.isCollapsed = val
115
+ },
116
+ },
117
+
118
+ methods: {
119
+ toggleCollapse() {
120
+ this.isCollapsed = !this.isCollapsed
121
+ this.$emit('update:collapsed', this.isCollapsed)
122
+ },
123
+ },
124
+ }
125
+ </script>
126
+
127
+ <style scoped>
128
+ .cn-detail-card {
129
+ background: var(--color-main-background);
130
+ border: 1px solid var(--color-border);
131
+ border-radius: var(--border-radius-large, 12px);
132
+ overflow: hidden;
133
+ }
134
+
135
+ .cn-detail-card__header {
136
+ display: flex;
137
+ align-items: center;
138
+ justify-content: space-between;
139
+ padding: 12px 16px;
140
+ border-bottom: 1px solid var(--color-border);
141
+ flex-shrink: 0;
142
+ }
143
+
144
+ .cn-detail-card__header--clickable {
145
+ cursor: pointer;
146
+ user-select: none;
147
+ }
148
+
149
+ .cn-detail-card__header--clickable:hover {
150
+ background: var(--color-background-hover);
151
+ }
152
+
153
+ .cn-detail-card--collapsed .cn-detail-card__header {
154
+ border-bottom: none;
155
+ }
156
+
157
+ .cn-detail-card__header-left {
158
+ display: flex;
159
+ align-items: center;
160
+ gap: 8px;
161
+ min-width: 0;
162
+ }
163
+
164
+ .cn-detail-card__header-right {
165
+ display: flex;
166
+ align-items: center;
167
+ gap: 4px;
168
+ flex-shrink: 0;
169
+ }
170
+
171
+ .cn-detail-card__icon {
172
+ color: var(--color-primary-element);
173
+ flex-shrink: 0;
174
+ }
175
+
176
+ .cn-detail-card__title {
177
+ font-weight: 600;
178
+ font-size: 14px;
179
+ margin: 0;
180
+ white-space: nowrap;
181
+ overflow: hidden;
182
+ text-overflow: ellipsis;
183
+ }
184
+
185
+ .cn-detail-card__collapse-btn {
186
+ display: flex;
187
+ align-items: center;
188
+ justify-content: center;
189
+ background: none;
190
+ border: none;
191
+ padding: 4px;
192
+ cursor: pointer;
193
+ color: var(--color-text-maxcontrast);
194
+ border-radius: var(--border-radius);
195
+ }
196
+
197
+ .cn-detail-card__collapse-btn:hover {
198
+ background: var(--color-background-dark);
199
+ }
200
+
201
+ .cn-detail-card__chevron--rotated {
202
+ transform: rotate(-90deg);
203
+ transition: transform 0.2s ease;
204
+ }
205
+
206
+ .cn-detail-card__content {
207
+ padding: 16px;
208
+ }
209
+
210
+ .cn-detail-card__footer {
211
+ padding: 8px 16px;
212
+ border-top: 1px solid var(--color-border);
213
+ }
214
+ </style>