@conduction/nextcloud-vue 2.169.0 → 2.171.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.
- package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue.js +1 -1
- package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue2.js +7 -2
- package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue2.js.map +1 -1
- package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue3.js.map +1 -1
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroup.vue.js +9 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroup.vue.js.map +1 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroup.vue2.js +242 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroup.vue2.js.map +1 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroup.vue3.js +200 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroup.vue3.js.map +1 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroupEditor.vue.js +9 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroupEditor.vue.js.map +1 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroupEditor.vue2.js +186 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroupEditor.vue2.js.map +1 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroupEditor.vue3.js +24 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroupEditor.vue3.js.map +1 -0
- package/dist/esm/components/CnConditionListEditor/CnConditionListEditor.vue.js +1 -1
- package/dist/esm/components/CnConditionListEditor/CnConditionListEditor.vue2.js +3 -15
- package/dist/esm/components/CnConditionListEditor/CnConditionListEditor.vue2.js.map +1 -1
- package/dist/esm/components/CnConditionListEditor/CnConditionListEditor.vue3.js +16 -61
- package/dist/esm/components/CnConditionListEditor/CnConditionListEditor.vue3.js.map +1 -1
- package/dist/esm/components/CnConditionListEditor/CnConditionRow.vue.js +9 -0
- package/dist/esm/components/CnConditionListEditor/CnConditionRow.vue.js.map +1 -0
- package/dist/esm/components/CnConditionListEditor/CnConditionRow.vue2.js +120 -0
- package/dist/esm/components/CnConditionListEditor/CnConditionRow.vue2.js.map +1 -0
- package/dist/esm/components/CnConditionListEditor/CnConditionRow.vue3.js +86 -0
- package/dist/esm/components/CnConditionListEditor/CnConditionRow.vue3.js.map +1 -0
- package/dist/esm/components/CnDashboardGrid/CnDashboardGrid.vue.js +1 -1
- package/dist/esm/components/CnDashboardGrid/CnDashboardGrid.vue2.js +88 -0
- package/dist/esm/components/CnDashboardGrid/CnDashboardGrid.vue2.js.map +1 -1
- package/dist/esm/components/CnDashboardGrid/CnDashboardGrid.vue3.js +4 -3
- package/dist/esm/components/CnDashboardGrid/CnDashboardGrid.vue3.js.map +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue.js +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js +46 -3
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js.map +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js +2 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js.map +1 -1
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js +1 -1
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js.map +1 -1
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue3.js +9 -9
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue3.js.map +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue.js +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue2.js.map +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue3.js.map +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue.js +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue2.js +9 -3
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue2.js.map +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue3.js.map +1 -1
- package/dist/esm/components/CnDialogActions/CnDialogActions.vue.js +8 -0
- package/dist/esm/components/CnDialogActions/CnDialogActions.vue.js.map +1 -0
- package/dist/esm/components/CnDialogActions/CnDialogActions.vue2.js +101 -0
- package/dist/esm/components/CnDialogActions/CnDialogActions.vue2.js.map +1 -0
- package/dist/esm/components/CnDialogActions/CnDialogActions.vue3.js +54 -0
- package/dist/esm/components/CnDialogActions/CnDialogActions.vue3.js.map +1 -0
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue.js +1 -1
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue2.js +14 -2
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue2.js.map +1 -1
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue3.js +1 -1
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue3.js.map +1 -1
- package/dist/esm/components/CnFilesBrowser/filesBrowser.js +21 -2
- package/dist/esm/components/CnFilesBrowser/filesBrowser.js.map +1 -1
- package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue.js +1 -1
- package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue2.js +7 -0
- package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue2.js.map +1 -1
- package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue3.js +2 -2
- package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue3.js.map +1 -1
- package/dist/esm/components/CnFlowsPage/CnFlowEditorPage.vue2.js +11 -0
- package/dist/esm/components/CnFlowsPage/CnFlowEditorPage.vue2.js.map +1 -1
- package/dist/esm/components/CnFlowsPage/CnFlowEditorPage.vue3.js +2 -1
- package/dist/esm/components/CnFlowsPage/CnFlowEditorPage.vue3.js.map +1 -1
- package/dist/esm/components/CnLinkedWidget/CnLinkedWidget.vue.js +1 -1
- package/dist/esm/components/CnLinkedWidget/CnLinkedWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnLinkedWidget/CnLinkedWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnMassActionDialog/CnMassActionDialog.vue.js +9 -0
- package/dist/esm/components/CnMassActionDialog/CnMassActionDialog.vue.js.map +1 -0
- package/dist/esm/components/CnMassActionDialog/CnMassActionDialog.vue2.js +248 -0
- package/dist/esm/components/CnMassActionDialog/CnMassActionDialog.vue2.js.map +1 -0
- package/dist/esm/components/{CnMassDeleteDialog/CnMassDeleteDialog.vue3.js → CnMassActionDialog/CnMassActionDialog.vue3.js} +66 -52
- package/dist/esm/components/CnMassActionDialog/CnMassActionDialog.vue3.js.map +1 -0
- package/dist/esm/components/CnMassDeleteDialog/CnMassDeleteDialog.vue.js +0 -3
- package/dist/esm/components/CnMassDeleteDialog/CnMassDeleteDialog.vue.js.map +1 -1
- package/dist/esm/components/CnMassDeleteDialog/CnMassDeleteDialog.vue2.js +25 -121
- package/dist/esm/components/CnMassDeleteDialog/CnMassDeleteDialog.vue2.js.map +1 -1
- package/dist/esm/components/CnNotesCard/CnNotesCard.vue.js +1 -1
- package/dist/esm/components/CnNotesCard/CnNotesCard.vue2.js +11 -3
- package/dist/esm/components/CnNotesCard/CnNotesCard.vue2.js.map +1 -1
- package/dist/esm/components/CnNotesCard/CnNotesCard.vue3.js +1 -1
- package/dist/esm/components/CnNotesCard/CnNotesCard.vue3.js.map +1 -1
- package/dist/esm/components/CnObjectPartiesWidget/CnObjectPartiesWidget.vue.js +1 -1
- package/dist/esm/components/CnObjectPartiesWidget/CnObjectPartiesWidget.vue2.js +13 -6
- package/dist/esm/components/CnObjectPartiesWidget/CnObjectPartiesWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnObjectPartiesWidget/CnObjectPartiesWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue.js +1 -1
- package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue2.js +21 -1
- package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue2.js.map +1 -1
- package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue3.js +2 -2
- package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue3.js.map +1 -1
- package/dist/esm/components/CnTreeView/CnTreeNode.vue.js +1 -1
- package/dist/esm/components/CnTreeView/CnTreeNode.vue2.js.map +1 -1
- package/dist/esm/components/CnTreeView/CnTreeNode.vue3.js +23 -5
- package/dist/esm/components/CnTreeView/CnTreeNode.vue3.js.map +1 -1
- package/dist/esm/components/CnTreeView/CnTreeView.vue.js +1 -1
- package/dist/esm/components/CnTreeView/CnTreeView.vue2.js +3 -0
- package/dist/esm/components/CnTreeView/CnTreeView.vue2.js.map +1 -1
- package/dist/esm/components/CnTreeView/CnTreeView.vue3.js +14 -4
- package/dist/esm/components/CnTreeView/CnTreeView.vue3.js.map +1 -1
- package/dist/esm/dialogs/CnConfirmDialog.vue.js +1 -1
- package/dist/esm/dialogs/CnConfirmDialog.vue2.js.map +1 -1
- package/dist/esm/dialogs/CnConfirmDialog.vue3.js +5 -3
- package/dist/esm/dialogs/CnConfirmDialog.vue3.js.map +1 -1
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/integrations/builtin/contacts/CnContactsTab.vue.js +1 -1
- package/dist/esm/integrations/builtin/contacts/CnContactsTab.vue2.js +14 -3
- package/dist/esm/integrations/builtin/contacts/CnContactsTab.vue2.js.map +1 -1
- package/dist/esm/integrations/builtin/contacts/CnContactsTab.vue3.js.map +1 -1
- package/dist/esm/l10n/en.json.js +16 -1
- package/dist/esm/l10n/en.json.js.map +1 -1
- package/dist/esm/l10n/nl.json.js +16 -1
- package/dist/esm/l10n/nl.json.js.map +1 -1
- package/dist/esm/library-style.js +1 -1
- package/dist/esm/nextcloud-vue.css +874 -496
- package/dist/esm/utils/noteThreads.js +14 -2
- package/dist/esm/utils/noteThreads.js.map +1 -1
- package/dist/esm/utils/objectParties.js +50 -5
- package/dist/esm/utils/objectParties.js.map +1 -1
- package/dist/nextcloud-vue.cjs.js +11549 -10100
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +874 -496
- package/l10n/en.json +16 -1
- package/l10n/nl.json +16 -1
- package/package.json +1 -1
- package/scripts/.jsdoc-baselines.json +1 -1
- package/src/components/CnCellRenderer/CnCellRenderer.vue +7 -2
- package/src/components/CnConditionGroupEditor/CnConditionGroup.vue +528 -0
- package/src/components/CnConditionGroupEditor/CnConditionGroupEditor.vue +211 -0
- package/src/components/CnConditionGroupEditor/index.js +9 -0
- package/src/components/CnConditionListEditor/CnConditionListEditor.vue +15 -78
- package/src/components/CnConditionListEditor/CnConditionRow.vue +226 -0
- package/src/components/CnDashboardGrid/CnDashboardGrid.md +1 -0
- package/src/components/CnDashboardGrid/CnDashboardGrid.vue +100 -2
- package/src/components/CnDashboardPage/CnDashboardPage.vue +47 -3
- package/src/components/CnDetailPage/CnDetailPage.vue +8 -8
- package/src/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue +6 -0
- package/src/components/CnDetailWidgetHost/CnDetailWidgetHost.vue +9 -9
- package/src/components/CnDialogActions/CnDialogActions.vue +124 -0
- package/src/components/CnDialogActions/index.js +7 -0
- package/src/components/CnFilesBrowser/CnFilesBrowser.vue +15 -3
- package/src/components/CnFilesBrowser/filesBrowser.js +21 -2
- package/src/components/CnFlowsPage/CnFlowBoard.vue +10 -3
- package/src/components/CnFlowsPage/CnFlowEditorPage.vue +12 -0
- package/src/components/CnLinkedWidget/CnLinkedWidget.vue +7 -0
- package/src/components/CnMassActionDialog/CnMassActionDialog.vue +382 -0
- package/src/components/CnMassActionDialog/index.js +7 -0
- package/src/components/CnMassDeleteDialog/CnMassDeleteDialog.md +4 -0
- package/src/components/CnMassDeleteDialog/CnMassDeleteDialog.vue +25 -254
- package/src/components/CnNotesCard/CnNotesCard.vue +12 -4
- package/src/components/CnObjectPartiesWidget/CnObjectPartiesWidget.vue +14 -5
- package/src/components/CnObjectSidebar/CnNotesTab.vue +23 -3
- package/src/components/CnTreeView/CnTreeNode.vue +10 -1
- package/src/components/CnTreeView/CnTreeView.vue +9 -0
- package/src/components/index.js +3 -0
- package/src/css/context-menu.css +7 -0
- package/src/css/dialog.css +7 -5
- package/src/css/look-board-detail.css +120 -1
- package/src/css/look-board-index.css +21 -2
- package/src/css/look-board.css +55 -2
- package/src/dialogs/CnConfirmDialog.vue +3 -1
- package/src/index.js +3 -0
- package/src/integrations/builtin/contacts/CnContactsTab.vue +14 -3
- package/src/integrations/builtin/contacts/__tests__/CnContactsTabBoardRows.spec.js +17 -2
- package/src/utils/noteThreads.js +13 -1
- package/src/utils/objectParties.js +49 -4
- package/dist/esm/components/CnMassDeleteDialog/CnMassDeleteDialog.vue3.js.map +0 -1
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
margin-top: 16px;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
/* Row 2: pills, breadcrumb, dot, meta
|
|
180
|
+
/* Row 2: pills, breadcrumb, chips, dot, meta. */
|
|
181
181
|
.cn-look-board .cn-detail-page__header-row2 {
|
|
182
182
|
align-items: center;
|
|
183
183
|
display: flex;
|
|
@@ -206,6 +206,15 @@
|
|
|
206
206
|
margin-bottom: 0;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
+
/* The header chips sit on row 2's own line, after the breadcrumb (DqTenant
|
|
210
|
+
"Gemeente Waterland waterland · een van ..."), so the list drops the 6px
|
|
211
|
+
top margin it keeps under the title outside this look. The doubled class
|
|
212
|
+
outranks the component's scoped rule.
|
|
213
|
+
@spec openspec/changes/board-header-chips-after-breadcrumb/specs/detail-page-board-look/spec.md#requirement-board-header-chips-follow-the-breadcrumb */
|
|
214
|
+
.cn-look-board .cn-detail-page__header-row2 .cn-detail-header-chips.cn-detail-header-chips {
|
|
215
|
+
margin: 0;
|
|
216
|
+
}
|
|
217
|
+
|
|
209
218
|
/* The breadcrumb is a line of 14px text between the pills and the meta, as
|
|
210
219
|
the boards draw it (screens-detail-header-row-parity). NcBreadcrumbs grows to
|
|
211
220
|
the full row and draws each crumb as a 34px tertiary button, which pushed the
|
|
@@ -883,6 +892,20 @@
|
|
|
883
892
|
padding: calc(12px - var(--cn-board-first-line-leading)) var(--cn-board-card-inline-padding) 20px;
|
|
884
893
|
}
|
|
885
894
|
|
|
895
|
+
/* A plan card's rows carry their own 10px padding and a map has no text, so
|
|
896
|
+
no half-leading comes off the 12px under the title; a Doelen footer row
|
|
897
|
+
placed under the plan stands 4px under it (DqZaak "Zaakplan", DqZaakMeer
|
|
898
|
+
"Locaties").
|
|
899
|
+
@spec openspec/changes/board-plan-card-as-drawn/specs/plan/spec.md */
|
|
900
|
+
.cn-look-board .cn-detail-page .cn-widget-wrapper__content:has(> .cn-plan:first-child):not(.cn-look-nextcloud *),
|
|
901
|
+
.cn-look-board .cn-detail-page .cn-widget-wrapper__content:has(> .cn-map-widget:first-child):not(.cn-look-nextcloud *) {
|
|
902
|
+
padding-top: 12px;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
.cn-look-board .cn-detail-page .cn-plan + .cn-detail-widget-host--bare > .cn-record-list--rows > .cn-record-list__footer--row:first-child:not(.cn-look-nextcloud *) {
|
|
906
|
+
margin-top: 4px;
|
|
907
|
+
}
|
|
908
|
+
|
|
886
909
|
/* A card that opens on a record-list table starts 12px under its title: the
|
|
887
910
|
table's head row sets its own padding and line height, so no first line
|
|
888
911
|
carries the half-leading the rule above takes off (r31 DqZaaktype
|
|
@@ -1181,6 +1204,14 @@
|
|
|
1181
1204
|
margin-inline: 8px;
|
|
1182
1205
|
}
|
|
1183
1206
|
|
|
1207
|
+
/* A Gekoppeld side card's rows and empty line read at the normal leading, so
|
|
1208
|
+
the first one starts the board's 10px under the title with no half-leading
|
|
1209
|
+
to take off (DqZaak "Gekoppeld").
|
|
1210
|
+
@spec openspec/changes/side-card-text-normal-leading/specs/side-card-text-normal-leading/spec.md#requirement-a-side-cards-texts-read-at-normal-leading */
|
|
1211
|
+
.cn-look-board .cn-detail-page__side .cn-widget-wrapper__content:has(> .cn-linked-widget):not(.cn-look-nextcloud *) {
|
|
1212
|
+
padding-top: 10px;
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1184
1215
|
/* A side card that opens on a list draws its first row's hairline 10px below
|
|
1185
1216
|
the title box; the row has no leading for the glyph gap above to subtract
|
|
1186
1217
|
(DqZaaktypeRegels, DqZaaktypeStatussen "Versies").
|
|
@@ -1891,6 +1922,23 @@
|
|
|
1891
1922
|
padding-inline-end: var(--cn-board-card-inline-padding);
|
|
1892
1923
|
}
|
|
1893
1924
|
|
|
1925
|
+
/* A bleed table with nothing under it closes its card: it runs through the
|
|
1926
|
+
card's 20px bottom padding to the bottom edge, its last row rounded with
|
|
1927
|
+
the card (DqZaakContact "Contactmomenten op deze zaak"). A pager, a view
|
|
1928
|
+
all link, a footnote or a total under the table keeps the padding.
|
|
1929
|
+
@spec openspec/changes/object-list-table-bleed/specs/object-list-table-bleed/spec.md#requirement-an-object-list-can-run-its-table-edge-to-edge-in-its-card */
|
|
1930
|
+
.cn-look-board .cn-detail-page .cn-widget-wrapper__content > .cn-object-list-widget--bleed:last-child:has(> .cn-object-list-widget__table):not(:has(> :is(.cn-object-list-widget__pager, .cn-object-list-widget__view-all, .cn-object-list-widget__more, .cn-object-list-widget__summary, .cn-object-list-widget__footnote, .cn-object-list-widget__foot, .cn-object-list-widget__links, .cn-object-list-widget__hidden-note))) {
|
|
1931
|
+
margin-block-end: -20px;
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
|
+
.cn-look-board .cn-detail-page .cn-widget-wrapper__content > .cn-object-list-widget--bleed:last-child:has(> .cn-object-list-widget__table):not(:has(> :is(.cn-object-list-widget__pager, .cn-object-list-widget__view-all, .cn-object-list-widget__more, .cn-object-list-widget__summary, .cn-object-list-widget__footnote, .cn-object-list-widget__foot, .cn-object-list-widget__links, .cn-object-list-widget__hidden-note))) .cn-table-container tbody tr:last-child > :first-child {
|
|
1935
|
+
border-end-start-radius: var(--cn-board-card-radius);
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1938
|
+
.cn-look-board .cn-detail-page .cn-widget-wrapper__content > .cn-object-list-widget--bleed:last-child:has(> .cn-object-list-widget__table):not(:has(> :is(.cn-object-list-widget__pager, .cn-object-list-widget__view-all, .cn-object-list-widget__more, .cn-object-list-widget__summary, .cn-object-list-widget__footnote, .cn-object-list-widget__foot, .cn-object-list-widget__links, .cn-object-list-widget__hidden-note))) .cn-table-container tbody tr:last-child > :last-child {
|
|
1939
|
+
border-end-end-radius: var(--cn-board-card-radius);
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1894
1942
|
/* A row menu in the last column keeps its 34px button and 16px start
|
|
1895
1943
|
padding beside the card's end padding, so it is not cut off. */
|
|
1896
1944
|
.cn-look-board .cn-detail-page .cn-widget-wrapper__content > .cn-object-list-widget--bleed .cn-table-container .cn-data-table .cn-table-col--actions:last-child {
|
|
@@ -2362,6 +2410,21 @@
|
|
|
2362
2410
|
border-top: 1px solid var(--cn-board-hairline);
|
|
2363
2411
|
}
|
|
2364
2412
|
|
|
2413
|
+
/* An authored note row reads in the main ink with no underline, its
|
|
2414
|
+
"author · time" line muted (DqZaakEmail "Notities"). NcListItem draws the
|
|
2415
|
+
row as an anchor, and a theme's `a { color; text-decoration }` carries
|
|
2416
|
+
`!important` (thematiq), hence the same here.
|
|
2417
|
+
@spec openspec/changes/notes-tab-authored-rows/specs/notes-tab-authored-rows/spec.md#requirement-the-notes-tab-can-draw-a-note-as-an-authored-row */
|
|
2418
|
+
.cn-look-board .cn-detail-widget-host .cn-notes-tab__row--authored .list-item__anchor:not(.cn-look-nextcloud *) {
|
|
2419
|
+
color: var(--color-main-text) !important;
|
|
2420
|
+
text-decoration: none !important;
|
|
2421
|
+
}
|
|
2422
|
+
|
|
2423
|
+
.cn-look-board .cn-detail-widget-host .cn-notes-tab__row--authored .cn-notes-tab__meta:not(.cn-look-nextcloud *) {
|
|
2424
|
+
color: var(--color-text-maxcontrast) !important;
|
|
2425
|
+
text-decoration: none !important;
|
|
2426
|
+
}
|
|
2427
|
+
|
|
2365
2428
|
/* The notes tab's "Add note" button, when the add form waits behind it, is
|
|
2366
2429
|
the board's 40px control (DqZaakEmail "Notitie toevoegen").
|
|
2367
2430
|
@spec openspec/changes/notes-tab-composer-button/specs/notes-tab-composer-button/spec.md#requirement-the-notes-tab-can-keep-its-composer-behind-a-button */
|
|
@@ -2669,6 +2732,32 @@
|
|
|
2669
2732
|
font-weight: 600;
|
|
2670
2733
|
}
|
|
2671
2734
|
|
|
2735
|
+
/* A record-list checklist (DqTenant "Inrichten") as the board draws it: rows
|
|
2736
|
+
20px high and 8px apart, the 20px mark 10px before a 15px label, a done mark
|
|
2737
|
+
on the soft green with a 12px tick, the bar 12px above the rows. The
|
|
2738
|
+
component's own rows are 28px tall with a 14px tick. The doubled classes
|
|
2739
|
+
outrank its scoped rules.
|
|
2740
|
+
@spec openspec/changes/board-record-list-checklist-rows/specs/record-list/spec.md#requirement-a-board-checklist-row-is-drawn-as-the-board */
|
|
2741
|
+
.cn-look-board .cn-record-list__check.cn-record-list__check {
|
|
2742
|
+
min-height: 20px;
|
|
2743
|
+
gap: 10px;
|
|
2744
|
+
font-size: 15px;
|
|
2745
|
+
}
|
|
2746
|
+
|
|
2747
|
+
.cn-look-board .cn-record-list__checklist-bar.cn-record-list__checklist-bar {
|
|
2748
|
+
margin-block-end: 12px;
|
|
2749
|
+
}
|
|
2750
|
+
|
|
2751
|
+
.cn-look-board .cn-record-list__check--done .cn-record-list__check-mark.cn-record-list__check-mark {
|
|
2752
|
+
background: var(--cn-board-success-tint);
|
|
2753
|
+
color: var(--cn-board-success-ink);
|
|
2754
|
+
}
|
|
2755
|
+
|
|
2756
|
+
.cn-look-board .cn-record-list__check-mark svg {
|
|
2757
|
+
width: 12px;
|
|
2758
|
+
height: 12px;
|
|
2759
|
+
}
|
|
2760
|
+
|
|
2672
2761
|
/* The parties widget's "Dit zaaktype accepteert" strip as DqZaakBetrokkenen
|
|
2673
2762
|
draws it: a sunken strip rounded at 8px, the label 14px bold, the kinds
|
|
2674
2763
|
as outlined 13px chips.
|
|
@@ -3206,6 +3295,36 @@
|
|
|
3206
3295
|
line-height: 1.2;
|
|
3207
3296
|
}
|
|
3208
3297
|
|
|
3298
|
+
/* The visibility select stands 8px under the kind chips without NcSelect's
|
|
3299
|
+
6px above and 4px under it, so the first entry starts 60px under the
|
|
3300
|
+
chips' foot as DqZaakHistorie draws it. The footer starts 16px under the
|
|
3301
|
+
last entry on one 20px line: the checkbox box without its 3px top margin,
|
|
3302
|
+
the audit trail as a 20px link, as drawn, not a 34px button.
|
|
3303
|
+
@spec openspec/changes/board-history-controls-and-footer/specs/timeline/spec.md */
|
|
3304
|
+
.cn-look-board .cn-timeline-manage__chips:not(.cn-look-nextcloud *) {
|
|
3305
|
+
margin-block-end: 8px;
|
|
3306
|
+
}
|
|
3307
|
+
|
|
3308
|
+
.cn-look-board .cn-timeline-manage__controls .v-select.select:not(.cn-look-nextcloud *) {
|
|
3309
|
+
margin: 0;
|
|
3310
|
+
}
|
|
3311
|
+
|
|
3312
|
+
.cn-look-board .cn-timeline-manage .cn-timeline-manage__footer:not(.cn-look-nextcloud *) {
|
|
3313
|
+
margin-block-start: 16px;
|
|
3314
|
+
}
|
|
3315
|
+
|
|
3316
|
+
.cn-look-board .cn-timeline-manage__footer .checkbox-content__icon:not(.cn-look-nextcloud *) {
|
|
3317
|
+
margin-block-start: 0;
|
|
3318
|
+
}
|
|
3319
|
+
|
|
3320
|
+
.cn-look-board .cn-timeline-manage__footer .cn-timeline-manage__audit-link.button-vue:not(.cn-look-nextcloud *) {
|
|
3321
|
+
--button-size: 20px;
|
|
3322
|
+
--button-padding: 0;
|
|
3323
|
+
min-height: 20px;
|
|
3324
|
+
height: 20px;
|
|
3325
|
+
padding: 0;
|
|
3326
|
+
}
|
|
3327
|
+
|
|
3209
3328
|
/* A facts card's link with an icon (Werkinstructie) sets the icon beside its
|
|
3210
3329
|
text, 10px apart, the text on the normal line starting 10px under the
|
|
3211
3330
|
title, as the Dq boards draw it. The anchor was a block, so the icon stood
|
|
@@ -1201,8 +1201,10 @@
|
|
|
1201
1201
|
}
|
|
1202
1202
|
|
|
1203
1203
|
/* `rowTitle: "plain"` (PqTickets, OcPublicaties): the title is bold text in
|
|
1204
|
-
the main text colour without an underline, the secondary line 13px muted
|
|
1205
|
-
2px under it. The row stays clickable
|
|
1204
|
+
the main text colour without an underline, the secondary line 13px muted
|
|
1205
|
+
at a normal line height, 2px under it (PqTaken). The row stays clickable
|
|
1206
|
+
through its stretched row link.
|
|
1207
|
+
@spec openspec/changes/board-plain-title-secondary-normal-leading/specs/board-plain-title-secondary-normal-leading/spec.md */
|
|
1206
1208
|
.cn-look-board .cn-table-container--board.cn-table-container--title-plain .cn-data-table td.cn-table-col--title {
|
|
1207
1209
|
font-weight: 700;
|
|
1208
1210
|
text-decoration: none;
|
|
@@ -1211,6 +1213,7 @@
|
|
|
1211
1213
|
.cn-look-board .cn-table-container--board.cn-table-container--title-plain .cn-data-table td.cn-table-col--title .cn-table-cell__secondary {
|
|
1212
1214
|
margin-top: 2px;
|
|
1213
1215
|
font-size: 13px;
|
|
1216
|
+
line-height: normal;
|
|
1214
1217
|
}
|
|
1215
1218
|
|
|
1216
1219
|
/* `rowTitle: "text"` (DqZaakContact's contact moments): the title column is
|
|
@@ -1368,6 +1371,22 @@
|
|
|
1368
1371
|
line-height: normal;
|
|
1369
1372
|
}
|
|
1370
1373
|
|
|
1374
|
+
/* A list in a table cell draws the boards' small tags, 18px tall and 4px
|
|
1375
|
+
apart (PqServices "Geboekt op", PqBiExport "Dataset", DqContacten
|
|
1376
|
+
"Geheimhouding"), not the 21px status tag.
|
|
1377
|
+
@spec openspec/changes/badge-list-labels-and-tags/specs/badge-cell-list/spec.md#requirement-a-badge-list-draws-the-boards-small-tags */
|
|
1378
|
+
.cn-look-board .cn-cell-renderer__badges:not(.cn-look-nextcloud *) {
|
|
1379
|
+
gap: 4px;
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
.cn-look-board .cn-table-container--board .cn-data-table .cn-cell-renderer__badges .cn-status-badge {
|
|
1383
|
+
padding: 2px 8px;
|
|
1384
|
+
border-radius: 10px;
|
|
1385
|
+
font-size: 12px;
|
|
1386
|
+
font-weight: 600;
|
|
1387
|
+
line-height: normal;
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1371
1390
|
/* The row menu column holds one 34px button between 16px of padding, so 66px
|
|
1372
1391
|
border to border (see the selection column for why the box model is forced). */
|
|
1373
1392
|
.cn-look-board .cn-table-container--board .cn-data-table .cn-table-col--actions {
|
package/src/css/look-board.css
CHANGED
|
@@ -224,6 +224,15 @@
|
|
|
224
224
|
border-width: 0;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
+
/* A stacked board tile keeps its label on its top inset when its row is
|
|
228
|
+
taller than the tile itself (a `sameHeight` row where another tile has a
|
|
229
|
+
caption), as the boards draw every tile; centred, the label sat 10px low
|
|
230
|
+
(DqProcesanalyse).
|
|
231
|
+
@spec openspec/changes/board-stat-tile-content-from-top/specs/kpi-card/spec.md#requirement-a-board-stat-tile-holds-its-content-at-the-top */
|
|
232
|
+
.cn-look-board .cn-dashboard-page:not(.cn-look-nextcloud *) .cn-kpi-card--board.cn-kpi-card--stacked {
|
|
233
|
+
justify-content: flex-start;
|
|
234
|
+
}
|
|
235
|
+
|
|
227
236
|
/* ---- Dashboard switch row --------------------------------------------- */
|
|
228
237
|
/* The switch row under a board dashboard's header (DqMijnWerk, DqMijnTeam).
|
|
229
238
|
The link pills take the deep primary ink of the boards' primary pills: the
|
|
@@ -809,6 +818,29 @@
|
|
|
809
818
|
background: var(--color-background-hover);
|
|
810
819
|
}
|
|
811
820
|
|
|
821
|
+
/* ---- The flow page head (cards layout) ---------------------------------- */
|
|
822
|
+
/* Board DqFlow stacks the page head, the notice and the cards 20px apart, and
|
|
823
|
+
the head is one block: the title row 4px under its top, the path 6px under
|
|
824
|
+
the title row and 8px of the head below the path. The canvas layout keeps
|
|
825
|
+
its own head (PqFlow).
|
|
826
|
+
@spec openspec/changes/flow-board-cards-header/specs/flow-board/spec.md#requirement-the-cards-layout-spaces-its-head-as-the-board */
|
|
827
|
+
.cn-look-board .cn-flow-board:not(.cn-flow-board--canvas):not(.cn-look-nextcloud *) {
|
|
828
|
+
gap: 20px;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
.cn-look-board .cn-flow-board:not(.cn-flow-board--canvas):not(.cn-look-nextcloud *) > .cn-flow-board__header {
|
|
832
|
+
padding-top: 4px;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
.cn-look-board .cn-flow-board:not(.cn-flow-board--canvas):not(.cn-look-nextcloud *) > .cn-flow-board__path {
|
|
836
|
+
margin-top: -14px;
|
|
837
|
+
padding-bottom: 8px;
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
.cn-look-board .cn-flow-board:not(.cn-flow-board--canvas):not(.cn-look-nextcloud *) > .cn-flow-board__notice {
|
|
841
|
+
margin: 0;
|
|
842
|
+
}
|
|
843
|
+
|
|
812
844
|
/* ---- An ordered list field ----------------------------------------------- */
|
|
813
845
|
/* DqPersoonlijkeInstellingen "Weergaven in mijn menu": a row's labelled remove
|
|
814
846
|
button ("Uit menu halen") is an outlined secondary button, and the select
|
|
@@ -1277,6 +1309,14 @@ body:has(.cn-look-board):not(:has(.cn-look-nextcloud)) .v-popper__popper.action-
|
|
|
1277
1309
|
color: var(--nldesign-component-status-badge-error-color, var(--nl-color-red-text, var(--color-error-text)));
|
|
1278
1310
|
}
|
|
1279
1311
|
|
|
1312
|
+
/* A destructive row action (CnRowActions `destructive`) is the same red, the
|
|
1313
|
+
error tag's #a30000 (PtUitnodigingen "Uitnodiging intrekken", PtPortals
|
|
1314
|
+
"Verwijderen"); it outranks the menu-wide error colour in context-menu.css. */
|
|
1315
|
+
body:has(.cn-look-board):not(:has(.cn-look-nextcloud)) .v-popper__popper.action-item__popper li.action.cn-row-action--destructive > .action-button,
|
|
1316
|
+
body:has(.cn-look-board):not(:has(.cn-look-nextcloud)) .v-popper__popper.action-item__popper li.action.cn-row-action--destructive > .action-link {
|
|
1317
|
+
color: var(--nldesign-component-status-badge-error-color, var(--nl-color-red-text, var(--color-error-text))) !important;
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1280
1320
|
/* ---- A search select's open list (CnSearchSelect) ------------------------ */
|
|
1281
1321
|
/* NcSelect teleports its list to <body>, so the rules key on the body as the
|
|
1282
1322
|
menus above do. The board draws the list as a card 4px under the field: a
|
|
@@ -3342,9 +3382,10 @@ body:has(.cn-look-board):not(:has(.cn-look-nextcloud)) .vs__dropdown-menu:has(.c
|
|
|
3342
3382
|
}
|
|
3343
3383
|
|
|
3344
3384
|
/* The placed sentence replaces the card's own text, which stays as the
|
|
3345
|
-
sentence for a library without placement.
|
|
3385
|
+
sentence for a library without placement. Important: the text widget sets
|
|
3386
|
+
its display in its style attribute. */
|
|
3346
3387
|
.cn-look-board .cn-dashboard-page:not(.cn-look-nextcloud *) .cn-widget-wrapper__content:has(> .cn-record-notes__all-sentence--placed) > .cn-text-widget {
|
|
3347
|
-
display: none;
|
|
3388
|
+
display: none !important;
|
|
3348
3389
|
}
|
|
3349
3390
|
|
|
3350
3391
|
/* The card holding that pair draws its title and sentence 24px in, as the
|
|
@@ -4887,3 +4928,15 @@ body:has(.cn-look-board):not(:has(.cn-look-nextcloud)) .vs__dropdown-menu:has(.c
|
|
|
4887
4928
|
.cn-look-board .cn-button--tonal.cn-button--tonal .action-item__menutoggle.button-vue:not(.cn-look-nextcloud *):hover:not(:disabled) {
|
|
4888
4929
|
background-color: var(--color-primary-element-light-hover);
|
|
4889
4930
|
}
|
|
4931
|
+
|
|
4932
|
+
/* Action tiles: 10px from the icon to a 14px label at normal leading, so a
|
|
4933
|
+
tile is 97px high as the boards draw it (PqWerkplekKlant "Snelle acties").
|
|
4934
|
+
@spec openspec/changes/board-action-tiles-as-drawn/specs/board-action-tiles-as-drawn/spec.md */
|
|
4935
|
+
.cn-look-board .cn-action-tiles .cn-action-tiles__tile:not(.cn-look-nextcloud *) {
|
|
4936
|
+
gap: 10px;
|
|
4937
|
+
}
|
|
4938
|
+
|
|
4939
|
+
.cn-look-board .cn-action-tiles .cn-action-tiles__label:not(.cn-look-nextcloud *) {
|
|
4940
|
+
font-size: 14px;
|
|
4941
|
+
line-height: normal;
|
|
4942
|
+
}
|
|
@@ -41,6 +41,8 @@
|
|
|
41
41
|
<NcNoteCard v-else :type="variant === 'error' ? 'warning' : 'info'">
|
|
42
42
|
{{ message }}
|
|
43
43
|
</NcNoteCard>
|
|
44
|
+
<!-- @slot default Extra body content below the message in the confirm phase, such as a checkbox, a list or a note. -->
|
|
45
|
+
<slot />
|
|
44
46
|
<CnConfirmValueField v-if="confirmValue !== ''"
|
|
45
47
|
v-model="typedConfirmValue"
|
|
46
48
|
:value="confirmValue"
|
|
@@ -48,7 +50,7 @@
|
|
|
48
50
|
</div>
|
|
49
51
|
|
|
50
52
|
<template #actions>
|
|
51
|
-
<NcButton @click="$emit('close')">
|
|
53
|
+
<NcButton :disabled="loading" @click="$emit('close')">
|
|
52
54
|
{{ result !== null ? closeLabel : cancelLabel }}
|
|
53
55
|
</NcButton>
|
|
54
56
|
<NcButton
|
package/src/index.js
CHANGED
|
@@ -78,6 +78,7 @@ export {
|
|
|
78
78
|
CnChoicePickerWidget,
|
|
79
79
|
CnColorPicker,
|
|
80
80
|
CnCommandPalette,
|
|
81
|
+
CnConditionGroupEditor,
|
|
81
82
|
CnConditionListEditor,
|
|
82
83
|
CnConfigurationCard,
|
|
83
84
|
CnConnectionsPanel,
|
|
@@ -118,6 +119,7 @@ export {
|
|
|
118
119
|
CnDetailWidgetHost,
|
|
119
120
|
CnDeviceFramesWidget,
|
|
120
121
|
CnDialog,
|
|
122
|
+
CnDialogActions,
|
|
121
123
|
CnDialogHeader,
|
|
122
124
|
CnDividerWidget,
|
|
123
125
|
CnDividerWidgetForm,
|
|
@@ -226,6 +228,7 @@ export {
|
|
|
226
228
|
CnMarkdownWidget,
|
|
227
229
|
CnMarkdownWidgetForm,
|
|
228
230
|
CnMassActionBar,
|
|
231
|
+
CnMassActionDialog,
|
|
229
232
|
CnMassCopyDialog,
|
|
230
233
|
CnMassDeleteDialog,
|
|
231
234
|
CnMassExportDialog,
|
|
@@ -322,6 +322,13 @@ export default {
|
|
|
322
322
|
handlerRoleLabel: { type: String, default: () => t('nextcloud-vue', 'Handler') },
|
|
323
323
|
/** Role badge shown on an advisor. */
|
|
324
324
|
advisorRoleLabel: { type: String, default: () => t('nextcloud-vue', 'Advisor') },
|
|
325
|
+
/**
|
|
326
|
+
* The word that leads a board row's details per kind of person: keyed
|
|
327
|
+
* by the link's `partyKind` (`person`, `organisation`, `colleague`)
|
|
328
|
+
* or else its `kind` (`user`, `contact`). A kind without a word leads
|
|
329
|
+
* with nothing.
|
|
330
|
+
*/
|
|
331
|
+
kindLabels: { type: Object, default: () => ({}) },
|
|
325
332
|
},
|
|
326
333
|
|
|
327
334
|
emits: ['open-reverse-lookup'],
|
|
@@ -639,14 +646,18 @@ export default {
|
|
|
639
646
|
* @return {string} The window.
|
|
640
647
|
*/
|
|
641
648
|
/**
|
|
642
|
-
* A person's details on one line for the board look:
|
|
643
|
-
* organisation and note,
|
|
649
|
+
* A person's details on one line for the board look: the word for
|
|
650
|
+
* their kind (`kindLabels`), e-mail, phone, organisation and note,
|
|
651
|
+
* separated by middots.
|
|
644
652
|
*
|
|
645
653
|
* @param {object} contact The contact link.
|
|
646
654
|
* @return {string}
|
|
655
|
+
* @spec openspec/changes/parties-role-line-from-the-role-record/specs/record-widgets/spec.md#requirement-a-board-contact-row-can-lead-with-the-word-for-its-kind
|
|
647
656
|
*/
|
|
648
657
|
boardMetaOf(contact) {
|
|
649
|
-
|
|
658
|
+
const words = this.kindLabels || {}
|
|
659
|
+
const kind = words[contact?.partyKind] || words[contact?.kind] || ''
|
|
660
|
+
return [kind, contact?.email, contact?.phone, contact?.org, contact?.note].filter((part) => typeof part === 'string' && part !== '').join(' · ')
|
|
650
661
|
},
|
|
651
662
|
|
|
652
663
|
/**
|
|
@@ -25,9 +25,9 @@ const ROWS = [{
|
|
|
25
25
|
validFrom: '2026-10-03',
|
|
26
26
|
}]
|
|
27
27
|
|
|
28
|
-
function mountTab(look) {
|
|
28
|
+
function mountTab(look, props = {}) {
|
|
29
29
|
return mount(CnContactsTab, {
|
|
30
|
-
propsData: { objectId: 'o1', register: 'r1', schema: 's1' },
|
|
30
|
+
propsData: { objectId: 'o1', register: 'r1', schema: 's1', ...props },
|
|
31
31
|
global: { provide: { cnLook: look } },
|
|
32
32
|
})
|
|
33
33
|
}
|
|
@@ -55,6 +55,21 @@ describe('CnContactsTab board rows', () => {
|
|
|
55
55
|
w.unmount()
|
|
56
56
|
})
|
|
57
57
|
|
|
58
|
+
it('leads the details with the word for the party\'s kind the app gives (DqZaakBetrokkenen "Contact", "Organisatie", "Collega")', async () => {
|
|
59
|
+
const rows = [
|
|
60
|
+
{ id: 1, contactUid: 'c1', displayName: 'Sanne de Vries', role: 'r', kind: 'party', partyKind: 'person', note: 'Lindelaan 14 · ingelogd met DigiD' },
|
|
61
|
+
{ id: 2, contactUid: 'c2', displayName: 'Van Wijk B.V.', role: 'r', kind: 'party', partyKind: 'organisation', note: 'KvK 00001005' },
|
|
62
|
+
{ id: 3, contactUid: 'c3', displayName: 'Lars de Koning', role: 'r', kind: 'user', note: 'Mobiliteit en verkeer' },
|
|
63
|
+
{ id: 4, contactUid: 'c4', displayName: 'Iemand', role: 'r', kind: 'party', partyKind: 'unknown', note: 'Zonder soort' },
|
|
64
|
+
]
|
|
65
|
+
global.fetch = jest.fn().mockResolvedValue({ ok: true, json: () => Promise.resolve({ results: rows, total: 4 }) })
|
|
66
|
+
const w = mountTab('board', { kindLabels: { person: 'Contact', organisation: 'Organisatie', user: 'Collega' } })
|
|
67
|
+
await flushPromises()
|
|
68
|
+
const metas = w.findAll('[data-testid="cn-contacts-tab-meta"]').map((meta) => meta.text())
|
|
69
|
+
expect(metas).toEqual(['Contact · Lindelaan 14 · ingelogd met DigiD', 'Organisatie · KvK 00001005', 'Collega · Mobiliteit en verkeer', 'Zonder soort'])
|
|
70
|
+
w.unmount()
|
|
71
|
+
})
|
|
72
|
+
|
|
58
73
|
it('keeps the Nextcloud row in the Nextcloud look', async () => {
|
|
59
74
|
const w = mountTab('nextcloud')
|
|
60
75
|
await flushPromises()
|
package/src/utils/noteThreads.js
CHANGED
|
@@ -12,7 +12,19 @@
|
|
|
12
12
|
/** A reply this many notes (or more) below its parent shows a one-line quote of it. */
|
|
13
13
|
export const QUOTE_DISTANCE = 5
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
/**
|
|
16
|
+
* When a note was written. OpenRegister's notes endpoint sends `createdAt`;
|
|
17
|
+
* older backends sent `creationDateTime` or `created`.
|
|
18
|
+
*
|
|
19
|
+
* @param {object} note The note.
|
|
20
|
+
* @return {string} The moment as the backend wrote it, or '' when unknown.
|
|
21
|
+
* @spec openspec/changes/notes-tab-authored-rows/specs/notes-tab-authored-rows/spec.md#requirement-the-notes-tab-can-draw-a-note-as-an-authored-row
|
|
22
|
+
*/
|
|
23
|
+
export function noteCreatedAt(note) {
|
|
24
|
+
return note?.createdAt || note?.creationDateTime || note?.created || ''
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
const created = (note) => new Date(noteCreatedAt(note) || 0).getTime()
|
|
16
28
|
|
|
17
29
|
/**
|
|
18
30
|
* Whether the notes response says the backend supports replies: its notes carry
|
|
@@ -283,12 +283,51 @@ export function savedUuid(saved) {
|
|
|
283
283
|
return String(saved?.['@self']?.id || saved?.uuid || saved?.id || '')
|
|
284
284
|
}
|
|
285
285
|
|
|
286
|
+
/**
|
|
287
|
+
* The role rows of a record keyed by their participant.
|
|
288
|
+
*
|
|
289
|
+
* @param {Array<object>} rows The role rows.
|
|
290
|
+
* @return {object} participant uuid → row.
|
|
291
|
+
* @spec openspec/changes/parties-role-line-from-the-role-record/specs/record-widgets/spec.md#requirement-a-board-party-row-can-read-its-note-from-the-role-record
|
|
292
|
+
*/
|
|
293
|
+
export function roleRowsByParticipant(rows) {
|
|
294
|
+
const map = {}
|
|
295
|
+
for (const row of Array.isArray(rows) ? rows : []) {
|
|
296
|
+
const participant = String(row?.participant || '').trim()
|
|
297
|
+
if (participant !== '') {
|
|
298
|
+
map[participant] = row
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
return map
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* The note a board row prints: the link's note, or with `spec`
|
|
306
|
+
* (`{ from: 'roles', field }`) that field of the party's role row, and
|
|
307
|
+
* nothing when the party has no role row.
|
|
308
|
+
*
|
|
309
|
+
* @param {object} party The listing row (`partyUuid` or `contactUid`, `note`).
|
|
310
|
+
* @param {object} rolesByParticipant The role rows by participant.
|
|
311
|
+
* @param {{from?: string, field?: string}|undefined} spec Where the note comes from.
|
|
312
|
+
* @return {string} The note, or ''.
|
|
313
|
+
* @spec openspec/changes/parties-role-line-from-the-role-record/specs/record-widgets/spec.md#requirement-a-board-party-row-can-read-its-note-from-the-role-record
|
|
314
|
+
*/
|
|
315
|
+
export function partyNoteOf(party, rolesByParticipant, spec) {
|
|
316
|
+
if (spec?.from === 'roles' && typeof spec.field === 'string' && spec.field !== '') {
|
|
317
|
+
const row = (rolesByParticipant || {})[party?.partyUuid || party?.contactUid || '']
|
|
318
|
+
const value = row ? row[spec.field] : ''
|
|
319
|
+
return typeof value === 'string' ? value.trim() : ''
|
|
320
|
+
}
|
|
321
|
+
return typeof party?.note === 'string' ? party.note : ''
|
|
322
|
+
}
|
|
323
|
+
|
|
286
324
|
/**
|
|
287
325
|
* The board row's meta line (DqZaakBetrokkenen "Rollen", design-system #811):
|
|
288
|
-
* the primary mark, the role, the
|
|
326
|
+
* the primary mark, the role, the note and the extra lines, by middots.
|
|
289
327
|
* A role that follows the primary mark reads in lower case ("Primaire partij ·
|
|
290
|
-
* verzoeker"), unless it is an abbreviation.
|
|
291
|
-
*
|
|
328
|
+
* verzoeker"), unless it is an abbreviation. A note that starts in lower case
|
|
329
|
+
* continues the role ("Gemachtigde namens Van Wijk B.V."). No kind word: the
|
|
330
|
+
* row's role and note already say what the party is.
|
|
292
331
|
*
|
|
293
332
|
* @param {{primary: string, role: string, note: string, extras: Array<string>}} parts The parts.
|
|
294
333
|
* @return {string} The line.
|
|
@@ -300,7 +339,13 @@ export function boardMetaLine({ primary = '', role = '', note = '', extras = []
|
|
|
300
339
|
if (primary && shownRole !== '' && !abbreviation) {
|
|
301
340
|
shownRole = shownRole[0].toLowerCase() + shownRole.slice(1)
|
|
302
341
|
}
|
|
303
|
-
|
|
342
|
+
let shownNote = typeof note === 'string' ? note.trim() : ''
|
|
343
|
+
const continues = shownRole !== '' && shownNote !== '' && shownNote[0] !== shownNote[0].toUpperCase()
|
|
344
|
+
if (continues) {
|
|
345
|
+
shownRole = `${shownRole} ${shownNote}`
|
|
346
|
+
shownNote = ''
|
|
347
|
+
}
|
|
348
|
+
return [primary, shownRole, shownNote, ...(Array.isArray(extras) ? extras : [])]
|
|
304
349
|
.filter((part) => typeof part === 'string' && part.trim() !== '')
|
|
305
350
|
.join(' · ')
|
|
306
351
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CnMassDeleteDialog.vue3.js","sources":["../../../../src/components/CnMassDeleteDialog/CnMassDeleteDialog.vue?vue&type=template&id=be5c1658&lang.js"],"sourcesContent":["<template>\n\t<CnDialog\n\t\t:look=\"look\"\n\t\t:width=\"width\"\n\t\tdefaultWidth=\"confirm\"\n\t\t:eyebrow=\"eyebrow\"\n\t\t:subtitle=\"subtitle\"\n\t\t:name=\"dialogTitle\"\n\t\tsize=\"normal\"\n\t\t:noClose=\"loading\"\n\t\t@closing=\"$emit('close')\">\n\t\t<!-- Review phase -->\n\t\t<div v-if=\"result === null\"\n\t\t\tclass=\"cn-mass-delete__review\"\n\t\t\tdata-testid=\"cn-modal\"\n\t\t\tdata-testid-modal=\"cn-mass-delete-dialog\"\n\t\t\tdata-testid-phase=\"review\">\n\t\t\t<template v-if=\"isBoardLook\">\n\t\t\t\t<p class=\"cn-dialog__sentence\" data-testid=\"cn-mass-delete-sentence\">\n\t\t\t\t\t{{ sentenceParts[0] }}<strong class=\"cn-dialog__name\">{{ countLabel }}</strong>{{ sentenceParts[1] }}\n\t\t\t\t\t<template v-if=\"irreversible\">\n\t\t\t\t\t\t{{ irreversibleText }}\n\t\t\t\t\t</template>\n\t\t\t\t</p>\n\t\t\t\t<p class=\"cn-dialog__note\"\n\t\t\t\t\trole=\"note\"\n\t\t\t\t\tdata-testid=\"cn-mass-delete-note\">\n\t\t\t\t\t<AlertOutline :size=\"20\" aria-hidden=\"true\" />\n\t\t\t\t\t<span>{{ warningText }}</span>\n\t\t\t\t</p>\n\t\t\t</template>\n\t\t\t<NcNoteCard v-else type=\"warning\">\n\t\t\t\t{{ warningText }}\n\t\t\t</NcNoteCard>\n\n\t\t\t<div class=\"cn-mass-delete__list\">\n\t\t\t\t<div\n\t\t\t\t\tv-for=\"item in localItems\"\n\t\t\t\t\t:key=\"item.id\"\n\t\t\t\t\tclass=\"cn-mass-delete__item\">\n\t\t\t\t\t<span class=\"cn-mass-delete__item-name\">\n\t\t\t\t\t\t{{ getItemName(item) }}\n\t\t\t\t\t</span>\n\t\t\t\t\t<NcButton\n\t\t\t\t\t\tvariant=\"tertiary\"\n\t\t\t\t\t\t:aria-label=\"removeLabel\"\n\t\t\t\t\t\t@click=\"removeItem(item.id)\">\n\t\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t\t<Close :size=\"16\" />\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</NcButton>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t\t<p v-if=\"localItems.length === 0\" class=\"cn-mass-delete__empty\">\n\t\t\t\t{{ emptyText }}\n\t\t\t</p>\n\t\t\t<CnConfirmValueField v-if=\"confirmValue !== ''\"\n\t\t\t\tv-model=\"typedConfirmValue\"\n\t\t\t\t:value=\"confirmValue\"\n\t\t\t\t:label=\"confirmFieldLabel\" />\n\t\t</div>\n\n\t\t<!-- Result phase -->\n\t\t<div v-else\n\t\t\tclass=\"cn-mass-delete__result\"\n\t\t\tdata-testid=\"cn-modal\"\n\t\t\tdata-testid-modal=\"cn-mass-delete-dialog\"\n\t\t\tdata-testid-phase=\"result\">\n\t\t\t<NcNoteCard v-if=\"result.success\" type=\"success\">\n\t\t\t\t{{ successText }}\n\t\t\t</NcNoteCard>\n\t\t\t<NcNoteCard v-if=\"result.error\" type=\"error\">\n\t\t\t\t{{ result.error }}\n\t\t\t</NcNoteCard>\n\t\t</div>\n\n\t\t<template #actions>\n\t\t\t<NcButton @click=\"$emit('close')\">\n\t\t\t\t{{ result === null ? cancelLabel : closeLabel }}\n\t\t\t</NcButton>\n\t\t\t<NcButton\n\t\t\t\tv-if=\"result === null\"\n\t\t\t\tvariant=\"error\"\n\t\t\t\t:class=\"{ 'cn-dialog__confirm-pending': confirmValuePending }\"\n\t\t\t\t:disabled=\"loading || localItems.length === 0 || confirmValuePending\"\n\t\t\t\t:aria-disabled=\"confirmValuePending ? 'true' : undefined\"\n\t\t\t\tdata-testid=\"cn-mass-delete-dialog-confirm\"\n\t\t\t\t@click=\"executeDelete\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<NcLoadingIcon v-if=\"loading\" :size=\"20\" />\n\t\t\t\t\t<TrashCanOutline v-else :size=\"20\" />\n\t\t\t\t</template>\n\t\t\t\t{{ confirmLabel }}\n\t\t\t</NcButton>\n\t\t</template>\n\t</CnDialog>\n</template>\n\n<script>\nimport { translatePlural as n, translate as t } from '@nextcloud/l10n'\nimport { NcButton, NcLoadingIcon, NcNoteCard } from '@nextcloud/vue'\nimport AlertOutline from 'vue-material-design-icons/AlertOutline.vue'\nimport Close from 'vue-material-design-icons/Close.vue'\nimport TrashCanOutline from 'vue-material-design-icons/TrashCanOutline.vue'\nimport CnConfirmValueField from '../CnConfirmValueField/CnConfirmValueField.vue'\nimport CnDialog from '../CnDialog/CnDialog.vue'\nimport { confirmValueMixin } from '../../mixins/confirmValue.js'\nimport { dialogBoardMixin } from '../../mixins/dialogBoard.js'\nimport { splitAroundPlaceholder } from '../../utils/dialogSentence.js'\n\n/**\n * CnMassDeleteDialog — Two-phase mass delete confirmation dialog.\n *\n * Phase 1 (review): Shows the items to be deleted with the ability to remove\n * individual items before confirming. Phase 2 (result): Shows success or error.\n *\n * The dialog does NOT perform the delete itself — it emits a `confirm` event\n * with the item IDs. The parent component performs the actual API call and\n * calls `setResult()` via a ref.\n *\n * ```vue\n * <CnMassDeleteDialog\n * v-if=\"showDeleteDialog\"\n * :items=\"selectedObjects\"\n * :name-field=\"'title'\"\n * @confirm=\"onDeleteConfirm\"\n * @close=\"showDeleteDialog = false\" />\n * ```\n *\n * // In methods:\n * async onDeleteConfirm(ids) {\n * try {\n * await store.massDelete(ids)\n * this.$refs.deleteDialog.setResult({ success: true })\n * } catch (e) {\n * this.$refs.deleteDialog.setResult({ error: e.message })\n * }\n * }\n *\n * @event close Emitted when the dialog should be closed (cancel, close button, or auto-close after success).\n */\nexport default {\n\tname: 'CnMassDeleteDialog',\n\n\tcomponents: {\n\t\tCnDialog,\n\t\tNcButton,\n\t\tNcNoteCard,\n\t\tNcLoadingIcon,\n\t\tTrashCanOutline,\n\t\tClose,\n\t\tAlertOutline,\n\t\tCnConfirmValueField,\n\t},\n\n\tmixins: [dialogBoardMixin, confirmValueMixin],\n\n\tprops: {\n\t\t/** Items to delete. Each must have an `id` property. */\n\t\titems: {\n\t\t\ttype: Array,\n\t\t\trequired: true,\n\t\t},\n\n\t\t/** Property name used for display (e.g., 'title', 'name') */\n\t\tnameField: {\n\t\t\ttype: String,\n\t\t\tdefault: 'title',\n\t\t},\n\n\t\t/** Optional function to format the item name. Receives the item, returns a string. Overrides nameField when provided. */\n\t\tnameFormatter: {\n\t\t\ttype: Function,\n\t\t\tdefault: null,\n\t\t},\n\n\t\t/** Dialog title */\n\t\tdialogTitle: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Delete items'),\n\t\t},\n\n\t\t/** Warning text shown above the item list */\n\t\twarningText: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'The following items will be permanently deleted. Remove any items you want to keep.'),\n\t\t},\n\n\t\t/** Text when all items removed from list */\n\t\temptyText: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'No items selected for deletion.'),\n\t\t},\n\n\t\t/** Success message */\n\t\tsuccessText: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Items successfully deleted.'),\n\t\t},\n\n\t\t/** Label for the cancel button (visible before the delete runs). */\n\t\tcancelLabel: { type: String, default: () => t('nextcloud-vue', 'Cancel') },\n\t\t/** Label for the close button (visible after delete completes). */\n\t\tcloseLabel: { type: String, default: () => t('nextcloud-vue', 'Close') },\n\t\t/** Label for the primary confirm button that triggers the delete. */\n\t\tconfirmLabel: { type: String, default: () => t('nextcloud-vue', 'Delete') },\n\t\t/** Aria label for the per-row \"remove from list\" icon button. */\n\t\tremoveLabel: { type: String, default: () => t('nextcloud-vue', 'Remove from list') },\n\n\t\t/** Board look: end the sentence with \"This action cannot be undone.\" */\n\t\tirreversible: { type: Boolean, default: true },\n\t},\n\n\temits: ['close', 'confirm'],\n\n\tdata() {\n\t\treturn {\n\t\t\tlocalItems: [...this.items],\n\t\t\tloading: false,\n\t\t\tresult: null,\n\t\t\tcloseTimeout: null,\n\t\t}\n\t},\n\n\tcomputed: {\n\t\t/** The board sentence around the bold item count. */\n\t\tsentenceParts() {\n\t\t\treturn splitAroundPlaceholder(t('nextcloud-vue', 'Are you sure you want to permanently delete {count}?'), 'count')\n\t\t},\n\n\t\tcountLabel() {\n\t\t\treturn n('nextcloud-vue', '%n item', '%n items', this.localItems.length)\n\t\t},\n\n\t\tirreversibleText() {\n\t\t\treturn t('nextcloud-vue', 'This action cannot be undone.')\n\t\t},\n\t},\n\n\twatch: {\n\t\titems(val) {\n\t\t\tthis.localItems = [...val]\n\t\t},\n\t},\n\n\tbeforeUnmount() {\n\t\tif (this.closeTimeout) {\n\t\t\tclearTimeout(this.closeTimeout)\n\t\t}\n\t},\n\n\tmethods: {\n\t\tgetItemName(item) {\n\t\t\tif (this.nameFormatter) {\n\t\t\t\treturn this.nameFormatter(item)\n\t\t\t}\n\t\t\treturn item[this.nameField] || item.name || item.title || item.id\n\t\t},\n\n\t\tremoveItem(id) {\n\t\t\tthis.localItems = this.localItems.filter((i) => i.id !== id)\n\t\t},\n\n\t\texecuteDelete() {\n\t\t\tif (!this.confirmValueMatches) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.loading = true\n\t\t\tconst ids = this.localItems.map((i) => i.id)\n\t\t\t/**\n\t\t\t * @event confirm Emitted when the user confirms deletion.\n\t\t\t * Payload: array of item IDs to delete.\n\t\t\t */\n\t\t\tthis.$emit('confirm', ids)\n\t\t},\n\n\t\t/**\n\t\t * Set the result of the delete operation. Call this from the parent\n\t\t * after the API call completes.\n\t\t *\n\t\t * @param {{ success?: boolean, error?: string }} resultData - Result data to pass to the dialog\n\t\t * @public\n\t\t */\n\t\tsetResult(resultData) {\n\t\t\tthis.loading = false\n\t\t\tthis.result = resultData\n\t\t\tif (resultData.success) {\n\t\t\t\tthis.closeTimeout = setTimeout(() => {\n\t\t\t\t\tthis.$emit('close')\n\t\t\t\t}, 2000)\n\t\t\t}\n\t\t},\n\t},\n}\n</script>\n\n<style scoped>\n.cn-mass-delete__list {\n\tmax-height: 300px;\n\toverflow-y: auto;\n\tmargin-top: 12px;\n}\n\n.cn-mass-delete__item {\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: space-between;\n\tpadding: 8px 12px;\n\tborder-bottom: 1px solid var(--color-border);\n}\n\n.cn-mass-delete__item:last-child {\n\tborder-bottom: none;\n}\n\n.cn-mass-delete__item-name {\n\tfont-weight: 500;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\twhite-space: nowrap;\n}\n\n.cn-mass-delete__empty {\n\ttext-align: center;\n\tcolor: var(--color-text-maxcontrast);\n\tfont-style: italic;\n\tpadding: 20px;\n}\n</style>\n"],"names":["_createBlock","_createVNode","_createTextVNode","_openBlock","_createElementBlock","_Fragment","_createElementVNode","_toDisplayString","_renderList"],"mappings":"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"}
|