@conduction/nextcloud-vue 2.155.0 → 2.157.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.
Files changed (133) hide show
  1. package/dist/esm/components/CnAiCompanion/CnAiInput.vue2.js +3 -1
  2. package/dist/esm/components/CnAiCompanion/CnAiInput.vue2.js.map +1 -1
  3. package/dist/esm/components/CnAiCompanion/CnAiInput.vue3.js.map +1 -1
  4. package/dist/esm/components/CnBannerWidget/CnBannerWidget.vue.js +1 -1
  5. package/dist/esm/components/CnBannerWidget/CnBannerWidget.vue2.js.map +1 -1
  6. package/dist/esm/components/CnBannerWidget/CnBannerWidget.vue3.js.map +1 -1
  7. package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue.js +1 -1
  8. package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue2.js.map +1 -1
  9. package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue3.js.map +1 -1
  10. package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue.js +1 -1
  11. package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue2.js.map +1 -1
  12. package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue3.js.map +1 -1
  13. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue.js +1 -1
  14. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js.map +1 -1
  15. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js.map +1 -1
  16. package/dist/esm/components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue.js +1 -1
  17. package/dist/esm/components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue2.js.map +1 -1
  18. package/dist/esm/components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue3.js.map +1 -1
  19. package/dist/esm/components/CnDuplicateWarning/CnDuplicateWarning.vue.js +1 -1
  20. package/dist/esm/components/CnDuplicateWarning/CnDuplicateWarning.vue2.js +2 -1
  21. package/dist/esm/components/CnDuplicateWarning/CnDuplicateWarning.vue2.js.map +1 -1
  22. package/dist/esm/components/CnDuplicateWarning/CnDuplicateWarning.vue3.js +10 -3
  23. package/dist/esm/components/CnDuplicateWarning/CnDuplicateWarning.vue3.js.map +1 -1
  24. package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue.js +1 -1
  25. package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue2.js +14 -4
  26. package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue2.js.map +1 -1
  27. package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue3.js +3 -3
  28. package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue3.js.map +1 -1
  29. package/dist/esm/components/CnFeaturesBoard/CnFeaturesBoard.vue.js +1 -1
  30. package/dist/esm/components/CnFeaturesBoard/CnFeaturesBoard.vue2.js.map +1 -1
  31. package/dist/esm/components/CnFeaturesBoard/CnFeaturesBoard.vue3.js.map +1 -1
  32. package/dist/esm/components/CnFormDialog/CnFormDialog.vue.js +1 -1
  33. package/dist/esm/components/CnFormDialog/CnFormDialog.vue2.js.map +1 -1
  34. package/dist/esm/components/CnFormDialog/CnFormDialog.vue3.js +2 -1
  35. package/dist/esm/components/CnFormDialog/CnFormDialog.vue3.js.map +1 -1
  36. package/dist/esm/components/CnIndexSidebar/CnIndexSidebar.vue2.js +13 -4
  37. package/dist/esm/components/CnIndexSidebar/CnIndexSidebar.vue2.js.map +1 -1
  38. package/dist/esm/components/CnIndexSidebar/CnIndexSidebar.vue3.js.map +1 -1
  39. package/dist/esm/components/CnLinkedWidget/CnLinkedWidget.vue.js +1 -1
  40. package/dist/esm/components/CnLinkedWidget/CnLinkedWidget.vue2.js +91 -7
  41. package/dist/esm/components/CnLinkedWidget/CnLinkedWidget.vue2.js.map +1 -1
  42. package/dist/esm/components/CnLinkedWidget/CnLinkedWidget.vue3.js.map +1 -1
  43. package/dist/esm/components/CnMailTab/CnMailTab.vue.js +1 -1
  44. package/dist/esm/components/CnMailTab/CnMailTab.vue2.js +4 -4
  45. package/dist/esm/components/CnMailTab/CnMailTab.vue2.js.map +1 -1
  46. package/dist/esm/components/CnMailTab/CnMailTab.vue3.js.map +1 -1
  47. package/dist/esm/components/CnNotificationMatrix/CnNotificationMatrix.vue.js +1 -1
  48. package/dist/esm/components/CnNotificationMatrix/CnNotificationMatrix.vue2.js +3 -0
  49. package/dist/esm/components/CnNotificationMatrix/CnNotificationMatrix.vue2.js.map +1 -1
  50. package/dist/esm/components/CnNotificationMatrix/CnNotificationMatrix.vue3.js +10 -2
  51. package/dist/esm/components/CnNotificationMatrix/CnNotificationMatrix.vue3.js.map +1 -1
  52. package/dist/esm/components/CnPartyPicker/CnPartyPicker.vue.js +1 -1
  53. package/dist/esm/components/CnPartyPicker/CnPartyPicker.vue2.js +6 -0
  54. package/dist/esm/components/CnPartyPicker/CnPartyPicker.vue2.js.map +1 -1
  55. package/dist/esm/components/CnPartyPicker/CnPartyPicker.vue3.js +2 -1
  56. package/dist/esm/components/CnPartyPicker/CnPartyPicker.vue3.js.map +1 -1
  57. package/dist/esm/components/CnSavedViewLookFields/CnSavedViewLookFields.vue.js +1 -1
  58. package/dist/esm/components/CnSavedViewLookFields/CnSavedViewLookFields.vue2.js.map +1 -1
  59. package/dist/esm/components/CnSavedViewLookFields/CnSavedViewLookFields.vue3.js +27 -24
  60. package/dist/esm/components/CnSavedViewLookFields/CnSavedViewLookFields.vue3.js.map +1 -1
  61. package/dist/esm/components/CnSchemaFormDialog/CnSchemaConfigurationTab.vue2.js +25 -0
  62. package/dist/esm/components/CnSchemaFormDialog/CnSchemaConfigurationTab.vue2.js.map +1 -1
  63. package/dist/esm/components/CnSchemaFormDialog/CnSchemaConfigurationTab.vue3.js +40 -8
  64. package/dist/esm/components/CnSchemaFormDialog/CnSchemaConfigurationTab.vue3.js.map +1 -1
  65. package/dist/esm/components/CnSchemaFormDialog/CnSchemaFormDialog.vue2.js +10 -0
  66. package/dist/esm/components/CnSchemaFormDialog/CnSchemaFormDialog.vue2.js.map +1 -1
  67. package/dist/esm/components/CnSchemaFormDialog/CnSchemaFormDialog.vue3.js.map +1 -1
  68. package/dist/esm/components/CnSearchSelect/CnSearchSelect.vue.js +1 -1
  69. package/dist/esm/components/CnSearchSelect/CnSearchSelect.vue2.js.map +1 -1
  70. package/dist/esm/components/CnSearchSelect/CnSearchSelect.vue3.js.map +1 -1
  71. package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue.js +1 -1
  72. package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue2.js +24 -1
  73. package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue2.js.map +1 -1
  74. package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue3.js +9 -0
  75. package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue3.js.map +1 -1
  76. package/dist/esm/components/CnStagesWidget/CnStagesWidget.vue.js +1 -1
  77. package/dist/esm/components/CnStagesWidget/CnStagesWidget.vue2.js +4 -1
  78. package/dist/esm/components/CnStagesWidget/CnStagesWidget.vue2.js.map +1 -1
  79. package/dist/esm/components/CnStagesWidget/CnStagesWidget.vue3.js.map +1 -1
  80. package/dist/esm/components/CnStagesWidget/stagesModel.js +10 -2
  81. package/dist/esm/components/CnStagesWidget/stagesModel.js.map +1 -1
  82. package/dist/esm/components/CnTimelineWidget/CnTimelineManage.vue.js +1 -1
  83. package/dist/esm/components/CnTimelineWidget/CnTimelineManage.vue2.js +61 -2
  84. package/dist/esm/components/CnTimelineWidget/CnTimelineManage.vue2.js.map +1 -1
  85. package/dist/esm/components/CnTimelineWidget/CnTimelineManage.vue3.js +68 -44
  86. package/dist/esm/components/CnTimelineWidget/CnTimelineManage.vue3.js.map +1 -1
  87. package/dist/esm/integrations/builtin/email/CnEmailTab.vue.js +1 -1
  88. package/dist/esm/integrations/builtin/email/CnEmailTab.vue2.js +13 -3
  89. package/dist/esm/integrations/builtin/email/CnEmailTab.vue2.js.map +1 -1
  90. package/dist/esm/integrations/builtin/email/CnEmailTab.vue3.js.map +1 -1
  91. package/dist/esm/l10n/en.json.js +12 -7
  92. package/dist/esm/l10n/en.json.js.map +1 -1
  93. package/dist/esm/l10n/nl.json.js +14 -9
  94. package/dist/esm/l10n/nl.json.js.map +1 -1
  95. package/dist/esm/library-style.js +1 -1
  96. package/dist/esm/nextcloud-vue.css +777 -469
  97. package/dist/esm/utils/dynamicProperties.js +14 -2
  98. package/dist/esm/utils/dynamicProperties.js.map +1 -1
  99. package/dist/nextcloud-vue.cjs.js +2472 -2120
  100. package/dist/nextcloud-vue.cjs.js.map +2 -2
  101. package/dist/nextcloud-vue.css +777 -469
  102. package/l10n/en.json +12 -7
  103. package/l10n/nl.json +14 -9
  104. package/package.json +1 -1
  105. package/src/components/CnAiCompanion/CnAiInput.vue +3 -1
  106. package/src/components/CnBannerWidget/CnBannerWidget.vue +5 -1
  107. package/src/components/CnChecklistRunWidget/CnChecklistRunWidget.vue +12 -5
  108. package/src/components/CnCountdownWidget/CnCountdownWidget.vue +12 -0
  109. package/src/components/CnDashboardPage/CnDashboardPage.vue +3 -1
  110. package/src/components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue +1 -0
  111. package/src/components/CnDuplicateWarning/CnDuplicateWarning.vue +8 -4
  112. package/src/components/CnFactsWidget/CnFactsWidget.vue +31 -6
  113. package/src/components/CnFeaturesBoard/CnFeaturesBoard.vue +4 -2
  114. package/src/components/CnFormDialog/CnFormDialog.vue +1 -0
  115. package/src/components/CnIndexSidebar/CnIndexSidebar.vue +13 -4
  116. package/src/components/CnLinkedWidget/CnLinkedWidget.vue +91 -7
  117. package/src/components/CnMailTab/CnMailTab.vue +4 -4
  118. package/src/components/CnNotificationMatrix/CnNotificationMatrix.vue +20 -0
  119. package/src/components/CnPartyPicker/CnPartyPicker.vue +7 -0
  120. package/src/components/CnSavedViewLookFields/CnSavedViewLookFields.vue +27 -20
  121. package/src/components/CnSchemaFormDialog/CnSchemaConfigurationTab.vue +42 -0
  122. package/src/components/CnSchemaFormDialog/CnSchemaFormDialog.vue +10 -0
  123. package/src/components/CnSearchSelect/CnSearchSelect.vue +3 -1
  124. package/src/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue +37 -1
  125. package/src/components/CnStagesWidget/CnStagesWidget.vue +4 -1
  126. package/src/components/CnStagesWidget/stagesModel.js +10 -2
  127. package/src/components/CnTimelineWidget/CnTimelineManage.vue +69 -4
  128. package/src/css/dialog.css +33 -0
  129. package/src/css/look-board-detail.css +4 -3
  130. package/src/css/look-board-index.css +34 -3
  131. package/src/css/look-board.css +181 -4
  132. package/src/integrations/builtin/email/CnEmailTab.vue +13 -3
  133. package/src/utils/dynamicProperties.js +13 -1
package/l10n/en.json CHANGED
@@ -554,7 +554,6 @@
554
554
  "No widgets configured": "No widgets configured",
555
555
  "Not configured": "Not configured",
556
556
  "Not set": "Not set",
557
- "Not done yet": "Not done yet",
558
557
  "Not run": "Not run",
559
558
  "Load": "Load",
560
559
  "Load again": "Load again",
@@ -607,6 +606,11 @@
607
606
  "Object image field": "Object image field",
608
607
  "Object name field": "Object name field",
609
608
  "Object summary field": "Object summary field",
609
+ "Object slug field": "Object slug field",
610
+ "Select a property to build object slugs from": "Select a property to build object slugs from",
611
+ "Schema name + object name": "Schema name + object name",
612
+ "Append a date-time suffix when a slug is already taken": "Append a date-time suffix when a slug is already taken",
613
+ "A slug is unique within the register and schema and does not change once it is set, also not after the slug field is switched. Objects without a slug get one from the new field on their next save or with occ openregister:backfill-slugs <register> <schema>.": "A slug is unique within the register and schema and does not change once it is set, also not after the slug field is switched. Objects without a slug get one from the new field on their next save or with occ openregister:backfill-slugs <register> <schema>.",
610
614
  "Objects": "Objects",
611
615
  "objects": "objects",
612
616
  "oneOf - Exactly one schema must match": "oneOf - Exactly one schema must match",
@@ -1706,12 +1710,6 @@
1706
1710
  "expires {date}": "expires {date}",
1707
1711
  "Loading …": "Loading …",
1708
1712
  "Reorder {item}: drag, or press the up and down arrow keys": "Reorder {item}: drag, or press the up and down arrow keys",
1709
- "Board {name}": "Board {name}",
1710
- "list {name}": "list {name}",
1711
- "Tentative": "Tentative",
1712
- "Confirmed": "Confirmed",
1713
- "Cancelled": "Cancelled",
1714
- "{start} until {end}": "{start} until {end}",
1715
1713
  "No contacts linked": "No contacts linked",
1716
1714
  "No relations yet": "No relations yet",
1717
1715
  "Period": "Period",
@@ -2240,6 +2238,7 @@
2240
2238
  "Due by": "Due by",
2241
2239
  "Incoming": "Incoming",
2242
2240
  "Outgoing": "Outgoing",
2241
+ "Not done yet": "Not done yet",
2243
2242
  "{from} through {to}": "{from} through {to}",
2244
2243
  "from {from}": "from {from}",
2245
2244
  "up to {to}": "up to {to}",
@@ -2340,6 +2339,12 @@
2340
2339
  "More default views": "More default views",
2341
2340
  "Fewer default views": "Fewer default views",
2342
2341
  "More steps": "More steps",
2342
+ "Board {name}": "Board {name}",
2343
+ "list {name}": "list {name}",
2344
+ "Tentative": "Tentative",
2345
+ "Confirmed": "Confirmed",
2346
+ "Cancelled": "Cancelled",
2347
+ "{start} until {end}": "{start} until {end}",
2343
2348
  "More views": "More views",
2344
2349
  "{type} from {app}": "{type} from {app}",
2345
2350
  "Start step": "Start step",
package/l10n/nl.json CHANGED
@@ -576,7 +576,6 @@
576
576
  "No widgets configured": "Geen widgets geconfigureerd",
577
577
  "Not configured": "Niet geconfigureerd",
578
578
  "Not set": "Niet ingesteld",
579
- "Not done yet": "Nog niet klaar",
580
579
  "Not run": "Niet uitgevoerd",
581
580
  "Load": "Laden",
582
581
  "Load again": "Opnieuw laden",
@@ -629,6 +628,11 @@
629
628
  "Object image field": "Objectafbeeldingsveld",
630
629
  "Object name field": "Objectnaamveld",
631
630
  "Object summary field": "Objectsamenvattingsveld",
631
+ "Object slug field": "Objectslugveld",
632
+ "Select a property to build object slugs from": "Selecteer een eigenschap waaruit objectslugs worden opgebouwd",
633
+ "Schema name + object name": "Schemanaam + objectnaam",
634
+ "Append a date-time suffix when a slug is already taken": "Een datum-tijd-achtervoegsel toevoegen als een slug al in gebruik is",
635
+ "A slug is unique within the register and schema and does not change once it is set, also not after the slug field is switched. Objects without a slug get one from the new field on their next save or with occ openregister:backfill-slugs <register> <schema>.": "Een slug is uniek binnen het register en schema en verandert niet meer zodra hij is gezet, ook niet na het wisselen van het slugveld. Objecten zonder slug krijgen er een uit het nieuwe veld bij hun volgende opslag of met occ openregister:backfill-slugs <register> <schema>.",
632
636
  "Objects": "Objecten",
633
637
  "objects": "objecten",
634
638
  "oneOf - Exactly one schema must match": "oneOf - Precies één schema moet overeenkomen",
@@ -1919,12 +1923,6 @@
1919
1923
  "Made {date}": "Gemaakt {date}",
1920
1924
  "expires {date}": "verloopt {date}",
1921
1925
  "Reorder {item}: drag, or press the up and down arrow keys": "{item} verplaatsen: slepen, of de pijltoetsen omhoog en omlaag",
1922
- "Board {name}": "Bord {name}",
1923
- "list {name}": "lijst {name}",
1924
- "Tentative": "Voorlopig",
1925
- "Confirmed": "Bevestigd",
1926
- "Cancelled": "Geannuleerd",
1927
- "{start} until {end}": "{start} tot {end}",
1928
1926
  "No contacts linked": "Geen contacten gekoppeld",
1929
1927
  "No relations yet": "Nog geen relaties",
1930
1928
  "Period": "Periode",
@@ -1946,8 +1944,6 @@
1946
1944
  "Absent today": "Vandaag afwezig",
1947
1945
  "{message} until {time}": "{message} tot {time}",
1948
1946
  "Away": "Afwezig",
1949
- "Present": "Aanwezig",
1950
- "Absent until {date}": "Afwezig tot {date}",
1951
1947
  "Busy": "Bezet",
1952
1948
  "No one in the team": "Niemand in het team",
1953
1949
  "Also replace the criteria with the current filters": "Vervang ook de criteria door de huidige filters",
@@ -2492,6 +2488,7 @@
2492
2488
  "Due by": "Uiterlijk op",
2493
2489
  "Incoming": "Inkomend",
2494
2490
  "Outgoing": "Uitgaand",
2491
+ "Not done yet": "Nog niet klaar",
2495
2492
  "{from} through {to}": "{from} tot en met {to}",
2496
2493
  "from {from}": "vanaf {from}",
2497
2494
  "up to {to}": "tot en met {to}",
@@ -2592,6 +2589,14 @@
2592
2589
  "More default views": "Meer standaardweergaven",
2593
2590
  "Fewer default views": "Minder standaardweergaven",
2594
2591
  "More steps": "Meer stappen",
2592
+ "Board {name}": "Bord {name}",
2593
+ "list {name}": "lijst {name}",
2594
+ "Tentative": "Voorlopig",
2595
+ "Confirmed": "Bevestigd",
2596
+ "Cancelled": "Geannuleerd",
2597
+ "{start} until {end}": "{start} tot {end}",
2598
+ "Present": "Aanwezig",
2599
+ "Absent until {date}": "Afwezig tot {date}",
2595
2600
  "More views": "Meer weergaven",
2596
2601
  "{type} from {app}": "{type} van {app}",
2597
2602
  "Start step": "Start",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conduction/nextcloud-vue",
3
- "version": "2.155.0",
3
+ "version": "2.157.0",
4
4
  "description": "Shared Vue component library for Conduction Nextcloud apps — complements @nextcloud/vue with higher-level components, OpenRegister integration, and NL Design System support",
5
5
  "homepage": "https://github.com/ConductionNL/nextcloud-vue#readme",
6
6
  "bugs": {
@@ -228,7 +228,6 @@
228
228
 
229
229
  <script>
230
230
  import axios from '@nextcloud/axios'
231
- import { FilePickerType, getFilePickerBuilder } from '@nextcloud/dialogs'
232
231
  import { NcActionButton, NcActions, NcLoadingIcon, NcNoteCard } from '@nextcloud/vue'
233
232
  import Close from 'vue-material-design-icons/Close.vue'
234
233
  import FolderOutline from 'vue-material-design-icons/FolderOutline.vue'
@@ -1081,6 +1080,9 @@ export default {
1081
1080
  }
1082
1081
  this.uploadError = ''
1083
1082
  try {
1083
+ // Loaded when someone picks from Files: the dialogs package is a large
1084
+ // share of the chat panel, which hosts load on every page.
1085
+ const { FilePickerType, getFilePickerBuilder } = await import('@nextcloud/dialogs')
1084
1086
  const picker = getFilePickerBuilder(this.cnTranslate('Choose from Files'))
1085
1087
  .setMultiSelect(true)
1086
1088
  .setType(FilePickerType.Choose)
@@ -992,7 +992,11 @@ export default {
992
992
  width: 100%;
993
993
  }
994
994
 
995
- .cn-banner-widget__card {
995
+ /* Doubled: NcNoteCard's own `.notecard` margin (15px above and below) is as
996
+ strong as one scoped class and loads later, so the card kept it and stood
997
+ 15px under its grid cell's top (DqDashboard info line, r33).
998
+ @spec openspec/changes/banner-card-no-margin/specs/banner-card-no-margin/spec.md#requirement-a-banner-card-draws-no-margin-of-its-own */
999
+ .cn-banner-widget__card.cn-banner-widget__card {
996
1000
  margin: 0;
997
1001
  }
998
1002
 
@@ -1263,9 +1263,9 @@ export default {
1263
1263
  }
1264
1264
 
1265
1265
  /* A note is two 15px lines on the normal line height, 8px 12px in: 54px, as
1266
- the board draws it (live 48). */
1266
+ the board draws it. A theme pads every textarea 5px 12px with !important. */
1267
1267
  .cn-checklist-run__text.cn-checklist-run__text {
1268
- padding: 8px 12px;
1268
+ padding: 8px 12px !important;
1269
1269
  line-height: normal;
1270
1270
  }
1271
1271
 
@@ -1298,11 +1298,12 @@ export default {
1298
1298
  padding: 0 14px;
1299
1299
  }
1300
1300
 
1301
- /* A theme sets every label bold and at the body size; the photo button is
1302
- the board's 14px/600 control with a camera before its label (DqInspectie). */
1301
+ /* A theme sets every label bold and at the body size, the weight with
1302
+ !important (thematiq's form-field label token); the photo button is the
1303
+ board's 14px/600 control with a camera before its label (DqInspectie). */
1303
1304
  .cn-checklist-run__photo-button.cn-checklist-run__photo-button {
1304
1305
  font-size: 14px;
1305
- font-weight: 600;
1306
+ font-weight: 600 !important;
1306
1307
  }
1307
1308
 
1308
1309
  .cn-checklist-run__photo-button:focus-within {
@@ -1323,6 +1324,12 @@ export default {
1323
1324
  justify-content: space-between;
1324
1325
  }
1325
1326
 
1327
+ /* Previous and Next are as wide as the board draws them: NcButton pads its
1328
+ label 4px a side inside the button's own padding, the board 2px. */
1329
+ .cn-checklist-run__nav :deep(.button-vue__text) {
1330
+ padding-inline: 2px;
1331
+ }
1332
+
1326
1333
  .cn-checklist-run__error {
1327
1334
  color: var(--color-error-text, var(--color-error));
1328
1335
  margin: 0;
@@ -506,6 +506,18 @@ export default {
506
506
  font-size: 13px;
507
507
  }
508
508
 
509
+ /* The board stacks the term card 10px apart: the days, the date line, the
510
+ bar and the action (DqZaak "Termijn": r33 live 2 / 11.9 / 5 against 10,
511
+ card 182.7 against 188). */
512
+ .cn-countdown-widget--board .cn-kpi-card__body {
513
+ gap: 10px;
514
+ }
515
+
516
+ .cn-countdown-widget--board .cn-countdown-widget__progress.cn-countdown-widget__progress,
517
+ .cn-countdown-widget--board .cn-countdown-widget__action.cn-countdown-widget__action {
518
+ margin: 0;
519
+ }
520
+
509
521
  .cn-countdown-widget__action--primary {
510
522
  background: var(--color-primary-element-light);
511
523
  color: var(--color-primary-element-light-text);
@@ -5485,13 +5485,15 @@ export default {
5485
5485
  }
5486
5486
 
5487
5487
  /* A header with a breadcrumb trail ends 8px under it, as the boards pad
5488
- their header (DqCatalogus: 167). */
5488
+ their header (DqCatalogus: 167), and the trail row sits at normal leading
5489
+ (DqDagAfsluiten: 75, live 79 at 1.5). */
5489
5490
  .cn-dashboard-page--board .cn-dashboard-page__header:has(.cn-header-trail) {
5490
5491
  padding-bottom: 8px;
5491
5492
  }
5492
5493
 
5493
5494
  .cn-dashboard-page--board .cn-dashboard-page__header :deep(.cn-header-trail) {
5494
5495
  margin-bottom: 0;
5496
+ line-height: normal;
5495
5497
  }
5496
5498
 
5497
5499
  .cn-dashboard-page__kpi-cell {
@@ -328,6 +328,7 @@ export default {
328
328
  gap: 6px;
329
329
  font-size: 13px;
330
330
  font-weight: 600;
331
+ line-height: normal;
331
332
  }
332
333
 
333
334
  .cn-device-frames-widget__status--warning {
@@ -6,7 +6,7 @@
6
6
  <CnDialog
7
7
  :name="text(title) || t('nextcloud-vue', 'This may already exist')"
8
8
  :eyebrow="text(eyebrow)"
9
- width="form"
9
+ width="confirm"
10
10
  data-testid="cn-duplicate-warning"
11
11
  @closing="close">
12
12
  <div class="cn-duplicate-warning">
@@ -47,7 +47,7 @@
47
47
  </div>
48
48
 
49
49
  <template #actions>
50
- <NcButton variant="tertiary" data-testid="cn-duplicate-warning-cancel" @click="close">
50
+ <NcButton variant="secondary" data-testid="cn-duplicate-warning-cancel" @click="close">
51
51
  {{ t('nextcloud-vue', 'Cancel') }}
52
52
  </NcButton>
53
53
  <NcButton v-if="affordances.mayContinue"
@@ -55,6 +55,9 @@
55
55
  :disabled="!canFile"
56
56
  data-testid="cn-duplicate-warning-continue"
57
57
  @click="fileAnyway">
58
+ <template #icon>
59
+ <CnIcon name="Plus" :size="20" />
60
+ </template>
58
61
  {{ text(continueLabel) || t('nextcloud-vue', 'File it anyway') }}
59
62
  </NcButton>
60
63
  </template>
@@ -65,6 +68,7 @@
65
68
  import { translatePlural as n, translate as t } from '@nextcloud/l10n'
66
69
  import { generateUrl } from '@nextcloud/router'
67
70
  import { NcButton, NcNoteCard, NcTextField } from '@nextcloud/vue'
71
+ import CnIcon from '../CnIcon/CnIcon.vue'
68
72
  import { duplicateAffordances } from '../../utils/duplicateWarning.js'
69
73
  import { fillTemplate, firstFilled } from '../../utils/fillTemplate.js'
70
74
  import { CnDialog } from '../CnDialog/index.js'
@@ -96,7 +100,7 @@ import { CnDialog } from '../CnDialog/index.js'
96
100
  export default {
97
101
  name: 'CnDuplicateWarning',
98
102
 
99
- components: { CnDialog, NcButton, NcNoteCard, NcTextField },
103
+ components: { CnDialog, CnIcon, NcButton, NcNoteCard, NcTextField },
100
104
 
101
105
  inject: {
102
106
  /** The host app's translate (CnAppRoot `cnTranslate`). */
@@ -364,7 +368,7 @@ export default {
364
368
  gap: 4px 12px;
365
369
  padding: 8px 12px;
366
370
  border: 1px solid var(--color-border);
367
- border-radius: var(--border-radius-large, 8px);
371
+ border-radius: 8px;
368
372
  }
369
373
 
370
374
  .cn-duplicate-warning__title {
@@ -41,7 +41,7 @@
41
41
  <dl
42
42
  v-if="block.kind === 'rows'"
43
43
  class="cn-facts-widget__rows"
44
- :class="{ 'cn-facts-widget__rows--columns': twoColumns, 'cn-facts-widget__rows--stacked': stacked }">
44
+ :class="{ 'cn-facts-widget__rows--columns': twoColumns, 'cn-facts-widget__rows--three': threeColumns, 'cn-facts-widget__rows--stacked': stacked }">
45
45
  <div
46
46
  v-for="row in block.rows"
47
47
  :key="row.key"
@@ -118,6 +118,7 @@
118
118
  <span
119
119
  v-else-if="block.kind === 'text'"
120
120
  class="cn-facts-widget__text"
121
+ :class="{ 'cn-facts-widget__text--joined': block.joined }"
121
122
  :data-testid="`cn-fact-${block.key}`">
122
123
  {{ block.value }}
123
124
  </span>
@@ -474,7 +475,7 @@ export default {
474
475
  * `as` is `row` (default when `label` or `icon` is set), `title`, `line`, `text` (a line in the normal ink), `lead` (an icon tile or initials beside `title` and `subtitle`), `pill` or `meter`.
475
476
  * `countFrom` (`{ register, schema, filter? }`, `@objectId` / `@object.<field>` in the filter) shows how many records that list holds ("Lopende zaken 43"); the row is left out while the count cannot be read.
476
477
  * A `meter` shows the amount at `path` against the limit at `limitPath` (or a constant `limit`) as "12 of 50" with a bar; past the limit the bar turns red and the text says "over the limit"; without a positive limit it shows the amount and no bar.
477
- * A `line` or `text` with `joinPrevious: true` is written on after the line or text just before it, as one paragraph (`joinSeparator`, default a space); with none before it, it stands alone.
478
+ * A `line` or `text` with `joinPrevious: true` is written on after the line or text just before it, as one paragraph (`joinSeparator`, default a space); with none before it, it stands alone. A text joined with a line break (`joinSeparator: "\n"`) keeps it: two address lines as one block.
478
479
  * A row with `inline: true` spans both columns as one line, the label, the value and its buttons side by side (a masked BSN with Show).
479
480
  * A row's `format` may also be `email`, `phone` or `url` (a link) or `masked` (the last four characters; `reveal: true` adds Show, which unmasks the record's value; `reveal: { url, path? }` makes Show ask the server for the value at `url` (tokens resolved), read at `path` (else the entry's path), so a server that answers the mask can check and record the reveal). `copy: true` adds a copy button; `icon` replaces the label.
480
481
  * A part may be `{ text }`, a constant; a `line` or `text` entry without `path` or `parts` shows its `text`.
@@ -499,7 +500,7 @@ export default {
499
500
  * - `emptyWhen` — a path; when the record's value there is truthy the card shows `emptyText` (an endpoint that answers `empty: true`).
500
501
  * - `link` — `{ label, route? | href? }` at the foot. `{ label, icon?, sidebarTab }` instead opens the page's object sidebar on that tab (no link without a sidebar).
501
502
  * - `hideEmpty` — drop an entry whose value is empty (default true).
502
- * - `columns` — `2` lays the rows out in two columns with the label above the value (board DqContact); a row with `parts` joins them like a line (an address on one row). `1` stacks each label above its value in one column, for a narrow card with long labels (board DqHandhaving "Afwijking en definitief").
503
+ * - `columns` — `2` lays the rows out in two columns with the label above the value (board DqContact), `3` in three (board DqSociaalDomein "De melding"); a row with `parts` joins them like a line (an address on one row). `1` stacks each label above its value in one column, for a narrow card with long labels (board DqHandhaving "Afwijking en definitief").
503
504
  * - `emptyText` — shown when no entry has a value.
504
505
  *
505
506
  * @type {{fields?: Array<object>, source?: object, link?: object, hideEmpty?: boolean, emptyText?: string}}
@@ -575,13 +576,23 @@ export default {
575
576
  },
576
577
 
577
578
  /**
578
- * Whether the rows sit in two columns, label above value.
579
+ * Whether the rows sit in columns, label above value: two, or three.
579
580
  *
580
581
  * @spec openspec/changes/facts-columns/specs/facts-widget/spec.md#requirement-facts-rows-can-sit-in-two-columns
581
582
  * @return {boolean}
582
583
  */
583
584
  twoColumns() {
584
- return Number(this.content?.columns) === 2
585
+ return [2, 3].includes(Number(this.content?.columns))
586
+ },
587
+
588
+ /**
589
+ * Whether the rows sit in three columns (board DqSociaalDomein "De melding").
590
+ *
591
+ * @spec openspec/changes/facts-columns/specs/facts-widget/spec.md#requirement-facts-rows-can-sit-in-three-columns
592
+ * @return {boolean}
593
+ */
594
+ threeColumns() {
595
+ return Number(this.content?.columns) === 3
585
596
  },
586
597
 
587
598
  /**
@@ -2283,6 +2294,12 @@ export default {
2283
2294
  font-size: 15px;
2284
2295
  }
2285
2296
 
2297
+ /* Text joined on with a line break (`joinSeparator: "\n"`) keeps the break:
2298
+ an address as two lines of one block (DqOrganisatie "KvK en adres"). */
2299
+ .cn-facts-widget__text--joined {
2300
+ white-space: pre-line;
2301
+ }
2302
+
2286
2303
  /* A lead: an icon tile or initials beside a bold title and a muted subtitle. */
2287
2304
  .cn-facts-widget__lead {
2288
2305
  align-items: center;
@@ -2412,6 +2429,13 @@ export default {
2412
2429
  font-size: 13px;
2413
2430
  }
2414
2431
 
2432
+ /* `columns: 3` (board DqSociaalDomein "De melding"): three columns, 12px
2433
+ between the rows of facts. */
2434
+ .cn-facts-widget__rows--three {
2435
+ grid-template-columns: repeat(3, minmax(0, 1fr));
2436
+ row-gap: 12px;
2437
+ }
2438
+
2415
2439
  /* One column, label above value: 2px under its label, 10px to the next
2416
2440
  label, so a long label never squeezes its value (DqHandhaving). */
2417
2441
  .cn-facts-widget__rows--stacked {
@@ -2424,7 +2448,8 @@ export default {
2424
2448
  }
2425
2449
 
2426
2450
  @media (max-width: 640px) {
2427
- .cn-facts-widget__rows--columns {
2451
+ .cn-facts-widget__rows--columns,
2452
+ .cn-facts-widget__rows--three {
2428
2453
  grid-template-columns: minmax(0, 1fr);
2429
2454
  }
2430
2455
  }
@@ -780,7 +780,7 @@ export default {
780
780
  .cn-features-board__panel {
781
781
  display: flex;
782
782
  flex-direction: column;
783
- gap: 22px;
783
+ gap: 20px;
784
784
  }
785
785
 
786
786
  .cn-features-board__panel--tabbed {
@@ -1105,7 +1105,9 @@ export default {
1105
1105
  color: var(--color-text-maxcontrast);
1106
1106
  }
1107
1107
 
1108
- .cn-features-board__notice {
1108
+ /* The panel's gap is the notice's only space: NcNoteCard's own margin
1109
+ outranks a plain class, so the notice is held by its place in the panel. */
1110
+ .cn-features-board__panel > .cn-features-board__notice {
1109
1111
  margin: 0;
1110
1112
  }
1111
1113
  </style>
@@ -215,6 +215,7 @@
215
215
  `sources`; the form stores the chosen row's id only. -->
216
216
  <div v-if="field.widget === 'party'" class="cn-form-dialog__party-wrapper">
217
217
  <CnPartyPicker
218
+ :inputId="'cn-form-' + field.key"
218
219
  :modelValue="formData[field.key] != null ? formData[field.key] : null"
219
220
  :sources="field.sources || []"
220
221
  :inputLabel="fieldLabelText(field)"
@@ -1451,19 +1451,24 @@ export default {
1451
1451
  /**
1452
1452
  * A field's values as checkbox rows, in the board look and for a short
1453
1453
  * list only: label and count apart, from the facet when there is one,
1454
- * else the field's own options. Null where the picker stays (the
1455
- * Nextcloud look, a single choice, a reference, more than
1456
- * CHECKLIST_MAX values).
1454
+ * else the field's own options. A single choice is a list too (a row
1455
+ * replaces the other); a reference only from its facet, whose buckets
1456
+ * carry the labels. Null where the picker stays (the Nextcloud look, a
1457
+ * reference without a facet, more than CHECKLIST_MAX values).
1457
1458
  *
1458
1459
  * @spec openspec/changes/board-sidebar-filters-as-checkbox-lists/specs/index-sidebar/spec.md#requirement-the-board-look-draws-a-short-filter-as-a-checkbox-list-with-counts
1459
1460
  * @param {object} filter The filter definition.
1460
1461
  * @return {Array<{id: (string|number|boolean), label: string, count: (number|null)}>|null} The rows, or null.
1461
1462
  */
1462
1463
  checklistOptions(filter) {
1463
- if (!this.isBoardLook || filter.multiple === false || filter.type === 'reference') {
1464
+ if (!this.isBoardLook) {
1464
1465
  return null
1465
1466
  }
1466
1467
  const facet = this.facetData[filter.key]
1468
+ const hasBuckets = Boolean(facet && Array.isArray(facet.values) && facet.values.length > 0)
1469
+ if (filter.type === 'reference' && !hasBuckets) {
1470
+ return null
1471
+ }
1467
1472
  let rows
1468
1473
  if (facet && Array.isArray(facet.values) && facet.values.length > 0) {
1469
1474
  rows = facet.values.map((bucket) => ({
@@ -1506,6 +1511,10 @@ export default {
1506
1511
  const value = this.activeFilters[filter.key]
1507
1512
  const current = Array.isArray(value) ? [...value] : (value === undefined || value === null || value === '' ? [] : [value])
1508
1513
  const rest = current.filter((v) => String(v) !== String(id))
1514
+ if (filter.multiple === false) {
1515
+ this.$emit('filter-change', { key: filter.key, values: checked ? [id] : [] })
1516
+ return
1517
+ }
1509
1518
  this.$emit('filter-change', { key: filter.key, values: checked ? [...rest, id] : rest })
1510
1519
  },
1511
1520
 
@@ -74,6 +74,10 @@ import { getLanguage, translate as t } from '@nextcloud/l10n'
74
74
  import CnIcon from '../CnIcon/CnIcon.vue'
75
75
  import CnLeafMountHost from '../CnLeafMountHost/CnLeafMountHost.vue'
76
76
  import { useIntegrationRegistry } from '../../composables/useIntegrationRegistry.js'
77
+ import { isAppInstalled } from '../../utils/appInstalled.js'
78
+ import { fetchReferenceObjects } from '../../utils/boardReferenceColumns.js'
79
+ import { fillTemplate } from '../../utils/fillTemplate.js'
80
+ import { prefixUrl } from '../../utils/headers.js'
77
81
 
78
82
  /**
79
83
  * Join nouns as a sentence list in the user's language ("a, b en c").
@@ -100,6 +104,14 @@ function joinList(items) {
100
104
  * one line ("Leges, contract en projecten: niets gekoppeld") followed by their
101
105
  * actions. A leaf whose app is absent is not registered and is left out.
102
106
  *
107
+ * A leaf may also be a record leaf, written in the manifest instead of
108
+ * registered by an app: `{ id, register, schema, filter?, requiredApp?, noun,
109
+ * label, href?, icon? }`. The card reads that register's records matching
110
+ * `filter` (`@objectId` is this record's id) and lists one row per record,
111
+ * `label` and `href` filled from it (DqZaak "Vraag in pipelinq": the
112
+ * requests whose case reference is this case). It is left out when
113
+ * `requiredApp` is not installed. Texts go through the host translate.
114
+ *
103
115
  * @spec openspec/changes/linked-integrations-card/specs/linked-integrations-card/spec.md#requirement-one-card-lists-the-linked-integrations-of-a-record
104
116
  */
105
117
  export default {
@@ -107,8 +119,13 @@ export default {
107
119
 
108
120
  components: { CnIcon, CnLeafMountHost },
109
121
 
122
+ inject: {
123
+ /** The host app's translate (CnAppRoot `cnTranslate`). */
124
+ cnTranslate: { default: () => (key) => key },
125
+ },
126
+
110
127
  props: {
111
- /** `{ leaves: string[] }`: the integration ids, in the order to list them. */
128
+ /** `{ leaves: Array<string|object> }`: integration ids or record leaves, in the order to list them. */
112
129
  content: {
113
130
  type: Object,
114
131
  default: () => ({}),
@@ -146,10 +163,30 @@ export default {
146
163
  },
147
164
 
148
165
  computed: {
149
- /** @return {string[]} The configured leaf ids. */
150
- leafIds() {
166
+ /** @return {Array<string|object>} The configured leaves. */
167
+ leaves() {
151
168
  const leaves = this.content && this.content.leaves
152
- return Array.isArray(leaves) ? leaves.filter((id) => typeof id === 'string' && id !== '') : []
169
+ return Array.isArray(leaves) ? leaves : []
170
+ },
171
+
172
+ /** @return {string[]} The configured integration ids. */
173
+ leafIds() {
174
+ return this.leaves.filter((id) => typeof id === 'string' && id !== '')
175
+ },
176
+
177
+ /** @return {object[]} The record leaves whose app is here. */
178
+ recordLeaves() {
179
+ return this.leaves.filter((leaf) => leaf && typeof leaf === 'object' && typeof leaf.id === 'string' && leaf.id !== ''
180
+ && leaf.register && leaf.schema && (!leaf.requiredApp || isAppInstalled(leaf.requiredApp)))
181
+ },
182
+
183
+ /** @return {string[]} Every listed leaf's id, in the configured order. */
184
+ orderedIds() {
185
+ const providers = new Set(this.providers.map((p) => p.id))
186
+ const records = new Set(this.recordLeaves.map((leaf) => leaf.id))
187
+ return this.leaves
188
+ .map((leaf) => (typeof leaf === 'string' ? leaf : (leaf && leaf.id)))
189
+ .filter((id) => providers.has(id) || records.has(id))
153
190
  },
154
191
 
155
192
  /** @return {object[]} The registered mount-mode providers, in the configured order. */
@@ -178,9 +215,9 @@ export default {
178
215
 
179
216
  /** @return {Array<{id: string, summary: object}>} The reported summaries, in order. */
180
217
  reported() {
181
- return this.providers
182
- .filter((p) => this.summaries[p.id])
183
- .map((p) => ({ id: p.id, summary: this.summaries[p.id] }))
218
+ return this.orderedIds
219
+ .filter((id) => this.summaries[id])
220
+ .map((id) => ({ id, summary: this.summaries[id] }))
184
221
  },
185
222
 
186
223
  /** @return {object[]} The rows of the leaves that have something linked. */
@@ -223,7 +260,54 @@ export default {
223
260
  },
224
261
  },
225
262
 
263
+ watch: {
264
+ recordLeaves: {
265
+ handler() {
266
+ this.recordLeaves.forEach((leaf) => this.readRecordLeaf(leaf))
267
+ },
268
+
269
+ immediate: true,
270
+ },
271
+
272
+ objectId() {
273
+ this.recordLeaves.forEach((leaf) => this.readRecordLeaf(leaf))
274
+ },
275
+ },
276
+
226
277
  methods: {
278
+ /**
279
+ * Read a record leaf's records and report them as its summary. A
280
+ * failed read reports nothing, so the leaf is not listed as empty.
281
+ *
282
+ * @param {object} leaf The record leaf.
283
+ * @return {Promise<void>}
284
+ */
285
+ async readRecordLeaf(leaf) {
286
+ const objectId = String(this.objectId || '')
287
+ if (objectId === '') {
288
+ return
289
+ }
290
+ const filter = {}
291
+ for (const [key, value] of Object.entries(leaf.filter || {})) {
292
+ filter[key] = value === '@objectId' ? objectId : value
293
+ }
294
+ let rows
295
+ try {
296
+ rows = await fetchReferenceObjects({ register: leaf.register, schema: leaf.schema, filter, limit: leaf.limit || 20 })
297
+ } catch {
298
+ return
299
+ }
300
+ const label = leaf.label ? this.cnTranslate(leaf.label) : ''
301
+ this.onSummary(leaf.id, {
302
+ count: rows.length,
303
+ noun: leaf.noun ? this.cnTranslate(leaf.noun) : '',
304
+ rows: rows.map((row) => {
305
+ const href = leaf.href ? fillTemplate(leaf.href, row) : ''
306
+ return { label: fillTemplate(label, row), href: href ? prefixUrl(href) : undefined, icon: leaf.icon || undefined }
307
+ }),
308
+ })
309
+ },
310
+
227
311
  /**
228
312
  * Keep a leaf's summary, normalised.
229
313
  *
@@ -281,14 +281,14 @@ export default {
281
281
  return keyOf(this.objectId) || keyOf(this.record.id) || keyOf(this.record['@self'] && this.record['@self'].id)
282
282
  },
283
283
 
284
- /** @return {string} The register slug or id. */
284
+ /** @return {string} The register slug or id, from the prop or else the record's own `@self`. */
285
285
  registerKey() {
286
- return keyOf(this.register)
286
+ return keyOf(this.register) || keyOf(this.record['@self'] && this.record['@self'].register)
287
287
  },
288
288
 
289
- /** @return {string} The schema slug or id. */
289
+ /** @return {string} The schema slug or id, from the prop or else the record's own `@self`. */
290
290
  schemaKey() {
291
- return keyOf(this.schema)
291
+ return keyOf(this.schema) || keyOf(this.record['@self'] && this.record['@self'].schema)
292
292
  },
293
293
 
294
294
  /** @return {object} The token context for the URLs. */