@conduction/nextcloud-vue 2.154.0 → 2.156.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 (98) 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/CnAppRoot/CnAppRoot.vue2.js.map +1 -1
  5. package/dist/esm/components/CnAppRoot/CnAppRoot.vue3.js +2 -2
  6. package/dist/esm/components/CnAppRoot/CnAppRoot.vue3.js.map +1 -1
  7. package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue.js +1 -1
  8. package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue2.js +10 -5
  9. package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue2.js.map +1 -1
  10. package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue3.js.map +1 -1
  11. package/dist/esm/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue.js +1 -1
  12. package/dist/esm/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue2.js.map +1 -1
  13. package/dist/esm/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue3.js +2 -0
  14. package/dist/esm/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue3.js.map +1 -1
  15. package/dist/esm/components/CnChoiceCards/CnChoiceCards.vue.js +1 -1
  16. package/dist/esm/components/CnChoiceCards/CnChoiceCards.vue2.js.map +1 -1
  17. package/dist/esm/components/CnChoiceCards/CnChoiceCards.vue3.js.map +1 -1
  18. package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue.js +1 -1
  19. package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue2.js.map +1 -1
  20. package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue3.js.map +1 -1
  21. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue.js +1 -1
  22. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js.map +1 -1
  23. package/dist/esm/components/CnDashboardPage/CnDashboardPage.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 +9 -8
  26. package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue2.js.map +1 -1
  27. package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue3.js.map +1 -1
  28. package/dist/esm/components/CnIndexSidebar/CnIndexSidebar.vue2.js +13 -4
  29. package/dist/esm/components/CnIndexSidebar/CnIndexSidebar.vue2.js.map +1 -1
  30. package/dist/esm/components/CnIndexSidebar/CnIndexSidebar.vue3.js.map +1 -1
  31. package/dist/esm/components/CnLinkedWidget/CnLinkedWidget.vue.js +1 -1
  32. package/dist/esm/components/CnLinkedWidget/CnLinkedWidget.vue2.js +91 -7
  33. package/dist/esm/components/CnLinkedWidget/CnLinkedWidget.vue2.js.map +1 -1
  34. package/dist/esm/components/CnLinkedWidget/CnLinkedWidget.vue3.js.map +1 -1
  35. package/dist/esm/components/CnMapWidget/CnMapWidget.vue.js +1 -1
  36. package/dist/esm/components/CnMapWidget/CnMapWidget.vue2.js +37 -0
  37. package/dist/esm/components/CnMapWidget/CnMapWidget.vue2.js.map +1 -1
  38. package/dist/esm/components/CnMapWidget/CnMapWidget.vue3.js +16 -7
  39. package/dist/esm/components/CnMapWidget/CnMapWidget.vue3.js.map +1 -1
  40. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue.js +1 -1
  41. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js +2 -1
  42. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js.map +1 -1
  43. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js +1 -1
  44. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js.map +1 -1
  45. package/dist/esm/components/CnSavedViewMenuSettings/CnSavedViewMenuSettings.vue.js +1 -1
  46. package/dist/esm/components/CnSavedViewMenuSettings/CnSavedViewMenuSettings.vue2.js.map +1 -1
  47. package/dist/esm/components/CnSavedViewMenuSettings/CnSavedViewMenuSettings.vue3.js.map +1 -1
  48. package/dist/esm/components/CnSchemaFormDialog/CnSchemaConfigurationTab.vue2.js +25 -0
  49. package/dist/esm/components/CnSchemaFormDialog/CnSchemaConfigurationTab.vue2.js.map +1 -1
  50. package/dist/esm/components/CnSchemaFormDialog/CnSchemaConfigurationTab.vue3.js +40 -8
  51. package/dist/esm/components/CnSchemaFormDialog/CnSchemaConfigurationTab.vue3.js.map +1 -1
  52. package/dist/esm/components/CnSchemaFormDialog/CnSchemaFormDialog.vue2.js +10 -0
  53. package/dist/esm/components/CnSchemaFormDialog/CnSchemaFormDialog.vue2.js.map +1 -1
  54. package/dist/esm/components/CnSchemaFormDialog/CnSchemaFormDialog.vue3.js.map +1 -1
  55. package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue.js +1 -1
  56. package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue2.js +24 -1
  57. package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue2.js.map +1 -1
  58. package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue3.js +9 -0
  59. package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue3.js.map +1 -1
  60. package/dist/esm/components/CnUserSettingsDialog/CnUserSettingsDialog.vue.js +1 -1
  61. package/dist/esm/components/CnUserSettingsDialog/CnUserSettingsDialog.vue2.js.map +1 -1
  62. package/dist/esm/components/CnUserSettingsDialog/CnUserSettingsDialog.vue3.js.map +1 -1
  63. package/dist/esm/l10n/en.json.js +12 -7
  64. package/dist/esm/l10n/en.json.js.map +1 -1
  65. package/dist/esm/l10n/nl.json.js +14 -9
  66. package/dist/esm/l10n/nl.json.js.map +1 -1
  67. package/dist/esm/library-style.js +1 -1
  68. package/dist/esm/nextcloud-vue.css +604 -375
  69. package/dist/esm/utils/groupSublines.js +30 -12
  70. package/dist/esm/utils/groupSublines.js.map +1 -1
  71. package/dist/nextcloud-vue.cjs.js +1783 -1509
  72. package/dist/nextcloud-vue.cjs.js.map +2 -2
  73. package/dist/nextcloud-vue.css +604 -375
  74. package/l10n/en.json +12 -7
  75. package/l10n/nl.json +14 -9
  76. package/package.json +1 -1
  77. package/src/components/CnAiCompanion/CnAiInput.vue +3 -1
  78. package/src/components/CnAppRoot/CnAppRoot.vue +2 -2
  79. package/src/components/CnAssignDialog/CnAssignDialog.vue +10 -5
  80. package/src/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue +2 -6
  81. package/src/components/CnChoiceCards/CnChoiceCards.vue +9 -0
  82. package/src/components/CnCountdownWidget/CnCountdownWidget.vue +3 -0
  83. package/src/components/CnDashboardPage/CnDashboardPage.vue +7 -2
  84. package/src/components/CnFactsWidget/CnFactsWidget.vue +9 -8
  85. package/src/components/CnIndexSidebar/CnIndexSidebar.vue +13 -4
  86. package/src/components/CnLinkedWidget/CnLinkedWidget.vue +91 -7
  87. package/src/components/CnMapWidget/CnMapWidget.vue +55 -1
  88. package/src/components/CnRecordListWidget/CnRecordListWidget.vue +3 -2
  89. package/src/components/CnSavedViewMenuSettings/CnSavedViewMenuSettings.vue +3 -1
  90. package/src/components/CnSchemaFormDialog/CnSchemaConfigurationTab.vue +42 -0
  91. package/src/components/CnSchemaFormDialog/CnSchemaFormDialog.vue +10 -0
  92. package/src/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue +37 -1
  93. package/src/components/CnUserSettingsDialog/CnUserSettingsDialog.vue +4 -1
  94. package/src/css/dialog.css +43 -0
  95. package/src/css/look-board-detail.css +42 -0
  96. package/src/css/look-board-index.css +8 -0
  97. package/src/css/look-board.css +107 -3
  98. package/src/utils/groupSublines.js +29 -11
@@ -123,6 +123,23 @@
123
123
  :clearable="true"
124
124
  :inputLabel="t('nextcloud-vue', 'Object summary field')"
125
125
  :placeholder="t('nextcloud-vue', 'Select a property to use as object summary. e.g. summary, abstract, or excerpt')" />
126
+ <NcSelect
127
+ v-model="schema.configuration.objectSlugField"
128
+ :disabled="loading"
129
+ :options="slugFieldOptions"
130
+ :reduce="option => option.id"
131
+ label="label"
132
+ :clearable="true"
133
+ :inputLabel="t('nextcloud-vue', 'Object slug field')"
134
+ :placeholder="t('nextcloud-vue', 'Select a property to build object slugs from')" />
135
+ <NcCheckboxRadioSwitch
136
+ v-model="schema.configuration.objectSlugSuffix"
137
+ :disabled="loading || !schema.configuration.objectSlugField">
138
+ {{ t('nextcloud-vue', 'Append a date-time suffix when a slug is already taken') }}
139
+ </NcCheckboxRadioSwitch>
140
+ <NcNoteCard v-if="schema.configuration.objectSlugField" type="info">
141
+ <p>{{ t('nextcloud-vue', '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>.') }}</p>
142
+ </NcNoteCard>
126
143
  <NcCheckboxRadioSwitch
127
144
  v-model="schema.configuration.allowFiles"
128
145
  :disabled="loading">
@@ -217,6 +234,21 @@ export default {
217
234
  },
218
235
 
219
236
  computed: {
237
+ /**
238
+ * The choices for the object slug field: every schema property, and first the
239
+ * reserved source `@schema.name` that OpenRegister turns into
240
+ * `<schema slug>-<object name>` (the second choice Robert Zondervan asked for
241
+ * next to a property, 2026-10-26). Stored as the id, shown by its label.
242
+ *
243
+ * @return {Array<{id: string, label: string}>}
244
+ */
245
+ slugFieldOptions() {
246
+ return [
247
+ { id: '@schema.name', label: t('nextcloud-vue', 'Schema name + object name') },
248
+ ...this.propertyOptions.map((property) => ({ id: property, label: property })),
249
+ ]
250
+ },
251
+
220
252
  /** Local alias to avoid vue/no-mutating-props on template bindings */
221
253
  schema() {
222
254
  return this.schemaItem
@@ -224,6 +256,16 @@ export default {
224
256
  },
225
257
 
226
258
  watch: {
259
+ // The suffix only applies together with a slug field; drop it when the
260
+ // field is cleared so it cannot silently re-activate on a later pick.
261
+ 'schema.configuration.objectSlugField': {
262
+ handler(value) {
263
+ if (!value && this.schema.configuration.objectSlugSuffix) {
264
+ this.schema.configuration.objectSlugSuffix = false
265
+ }
266
+ },
267
+ },
268
+
227
269
  'schema.configuration.allowedTags': {
228
270
  immediate: true,
229
271
  handler(tags) {
@@ -342,6 +342,8 @@ export default {
342
342
  objectDescriptionField: '',
343
343
  objectImageField: '',
344
344
  objectSummaryField: '',
345
+ objectSlugField: '',
346
+ objectSlugSuffix: false,
345
347
  allowFiles: false,
346
348
  allowedTags: [],
347
349
  autoPublish: false,
@@ -606,6 +608,8 @@ export default {
606
608
  objectDescriptionField: '',
607
609
  objectImageField: '',
608
610
  objectSummaryField: '',
611
+ objectSlugField: '',
612
+ objectSlugSuffix: false,
609
613
  allowFiles: false,
610
614
  allowedTags: [],
611
615
  autoPublish: false,
@@ -640,6 +644,12 @@ export default {
640
644
  if (!this.schemaItem.configuration.objectSummaryField) {
641
645
  this.schemaItem.configuration.objectSummaryField = ''
642
646
  }
647
+ if (!this.schemaItem.configuration.objectSlugField) {
648
+ this.schemaItem.configuration.objectSlugField = ''
649
+ }
650
+ if (this.schemaItem.configuration.objectSlugSuffix === undefined) {
651
+ this.schemaItem.configuration.objectSlugSuffix = false
652
+ }
643
653
  if (this.schemaItem.configuration.allowFiles === undefined) {
644
654
  this.schemaItem.configuration.allowFiles = false
645
655
  }
@@ -121,6 +121,15 @@
121
121
  <span v-if="dirty" class="cn-settings-fields__dirty" data-testid="cn-settings-fields-dirty">
122
122
  {{ t('nextcloud-vue', 'Unsaved changes') }}
123
123
  </span>
124
+ <!-- An action field with `placement: 'save'` stands beside Save
125
+ (DqBeheerGeavanceerd "Willekeurig geheim genereren"). -->
126
+ <CnSettingsField
127
+ v-for="field in saveRowFields"
128
+ :key="field.key"
129
+ class="cn-settings-fields__save-action"
130
+ :field="field"
131
+ :modelValue="form[field.key]"
132
+ @action="runAction(field)" />
124
133
  <NcButton
125
134
  :variant="saveVariant"
126
135
  type="submit"
@@ -740,7 +749,17 @@ export default {
740
749
  * @return {Array<object>}
741
750
  */
742
751
  mainFields() {
743
- return this.visibleFields.filter((field) => field.advanced !== true)
752
+ return this.visibleFields.filter((field) => field.advanced !== true && !this.inSaveRow(field))
753
+ },
754
+
755
+ /**
756
+ * The visible action fields drawn in the save row, beside Save.
757
+ *
758
+ * @return {Array<object>}
759
+ * @spec openspec/changes/settings-action-in-save-row/specs/settings-action-in-save-row/spec.md#requirement-an-action-field-can-stand-beside-save
760
+ */
761
+ saveRowFields() {
762
+ return this.visibleFields.filter((field) => field.advanced !== true && this.inSaveRow(field))
744
763
  },
745
764
 
746
765
  /**
@@ -870,6 +889,19 @@ export default {
870
889
  return Object.hasOwn(this.form, key) ? this.form[key] : literalFirst(this.values, key)
871
890
  },
872
891
 
892
+ /**
893
+ * Whether an action field stands in the save row: it asks for
894
+ * `placement: 'save'` and the form draws a save row at all.
895
+ *
896
+ * @param {object} field The field.
897
+ * @return {boolean}
898
+ * @spec openspec/changes/settings-action-in-save-row/specs/settings-action-in-save-row/spec.md#requirement-an-action-field-can-stand-beside-save
899
+ */
900
+ inSaveRow(field) {
901
+ return field.type === 'action' && field.placement === 'save'
902
+ && !this.autoSave && this.hasInputs && !this.inlineSave
903
+ },
904
+
873
905
  /**
874
906
  * Whether a field's `visibleWhen` holds; a field without one is always shown.
875
907
  *
@@ -1566,6 +1598,10 @@ export default {
1566
1598
  gap: 12px;
1567
1599
  }
1568
1600
 
1601
+ .cn-settings-fields__save-action {
1602
+ flex: none;
1603
+ }
1604
+
1569
1605
  .cn-settings-fields__dirty {
1570
1606
  font-size: 14px;
1571
1607
  color: var(--color-text-maxcontrast);
@@ -344,6 +344,7 @@ export default {
344
344
 
345
345
  .cn-user-settings-dialog__nav-label {
346
346
  overflow: hidden;
347
+ white-space: nowrap;
347
348
  text-overflow: ellipsis;
348
349
  }
349
350
 
@@ -382,7 +383,9 @@ export default {
382
383
  color: var(--color-main-text);
383
384
  }
384
385
 
385
- .cn-user-settings-dialog__group-sections {
386
+ /* The app's sections sit 10px in under its name; the `ul` reset above
387
+ carries the nav class too, so this repeats it to outrank that. */
388
+ .cn-user-settings-dialog__nav ul.cn-user-settings-dialog__group-sections {
386
389
  padding-inline-start: 10px;
387
390
  }
388
391
 
@@ -267,6 +267,17 @@ body:has(.cn-look-board):not(:has(.cn-look-nextcloud)) .modal-mask {
267
267
  line-height: 1.2;
268
268
  }
269
269
 
270
+ /* A help line sits 6px under its field on the normal line height (DqOverdragen
271
+ "Nu bij Woo en informatie...", 15px): it took the body's 1.5, and under the
272
+ team search NcSelect's 4px margin past its 2px ring put it 12px down. */
273
+ .cn-dialog-board .cn-assign-dialog__hint:not(.cn-assign-dialog__toggle-note) {
274
+ line-height: normal;
275
+ }
276
+
277
+ .cn-dialog-board .dialog__content .cn-assign-dialog__field > .cn-search-select .v-select.select {
278
+ margin-block-end: -2px;
279
+ }
280
+
270
281
  /* Body: padding 20px 24px, 18px between blocks. */
271
282
  .cn-dialog-board .dialog__content {
272
283
  display: flex;
@@ -664,3 +675,35 @@ body:has(.cn-look-board):not(:has(.cn-look-nextcloud)) .modal-mask {
664
675
  .cn-dialog-board .cn-wizard-dialog__step-body .cn-setup-step .notecard.notecard {
665
676
  margin: 0;
666
677
  }
678
+
679
+ /* A board dialog's checkbox is the boards' native one: an 18px square with a
680
+ 2px corner and a grey 1px edge while open, filled in the primary colour with
681
+ a white tick once checked (DqZaakSamenwerken "Alleen een deel van de
682
+ zaakvelden delen" drew NcCheckboxRadioSwitch's primary outline glyph, r32).
683
+ The glyph keeps its place but is hidden.
684
+ @spec openspec/changes/board-dialog-checkbox-native-box/specs/dialog/spec.md */
685
+ .cn-dialog-board .dialog__content .checkbox-radio-switch-checkbox:not(.checkbox-radio-switch--button-variant) .checkbox-content__icon {
686
+ position: relative;
687
+ flex: none;
688
+ width: 18px;
689
+ height: 18px;
690
+ }
691
+
692
+ .cn-dialog-board .dialog__content .checkbox-radio-switch-checkbox:not(.checkbox-radio-switch--button-variant) .checkbox-content__icon svg {
693
+ visibility: hidden;
694
+ }
695
+
696
+ .cn-dialog-board .dialog__content .checkbox-radio-switch-checkbox:not(.checkbox-radio-switch--button-variant) .checkbox-content__icon::before {
697
+ position: absolute;
698
+ inset: 0;
699
+ box-sizing: border-box;
700
+ border: 1px solid var(--color-border-maxcontrast);
701
+ border-radius: 2px;
702
+ background: var(--color-main-background);
703
+ content: '';
704
+ }
705
+
706
+ .cn-dialog-board .dialog__content .checkbox-radio-switch-checkbox.checkbox-radio-switch--checked:not(.checkbox-radio-switch--button-variant) .checkbox-content__icon::before {
707
+ border-color: var(--color-primary-element);
708
+ background: var(--color-primary-element) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9,20.42L2.79,14.21L5.62,11.38L9,14.77L18.88,4.88L21.71,7.71L9,20.42Z'/%3E%3C/svg%3E") center / 14px no-repeat;
709
+ }
@@ -821,6 +821,13 @@
821
821
  padding-top: 14px;
822
822
  }
823
823
 
824
+ /* Facts that open on plain rows (DqZaak "Prioriteit": Afgeleid, Overschreven)
825
+ sit 12px below the title's box: the rows are set at the normal line height,
826
+ so no leading comes off (r32 9.8 against 12). */
827
+ .cn-look-board .cn-detail-page .cn-widget-wrapper__content:has(> .cn-facts-widget > .cn-facts-widget__rows:not(.cn-facts-widget__rows--columns):first-child):not(.cn-detail-page__side *) {
828
+ padding-top: 12px;
829
+ }
830
+
824
831
  /* A table (an object list) starts 12px below the title's box: its head has
825
832
  a fill and no leading, so the glyph-to-glyph gap above left it 2px short
826
833
  (DqZaaktypeStatussen "Statussen", "Resultaten"). */
@@ -1608,6 +1615,12 @@
1608
1615
  vertical-align: middle;
1609
1616
  }
1610
1617
 
1618
+ /* The task menu sits 4px after the row's button, as drawn ("Afronden" then
1619
+ the menu); the compiled template keeps no space between them. */
1620
+ .cn-look-board .cn-detail-page .cn-widget-wrapper__content > .cn-tasks-widget .cn-tasks-widget__table .cn-tasks-widget__cell-actions > * + * {
1621
+ margin-inline-start: 4px;
1622
+ }
1623
+
1611
1624
  /* ---- An object list table edge to edge (`content.tableBleed`) ------------ */
1612
1625
  /* The case-tab boards draw a list's table edge to edge in its card
1613
1626
  (DqZaakContact "Contactmomenten op deze zaak", DqZaakGerelateerd): it runs
@@ -2189,10 +2202,25 @@
2189
2202
  padding: 0;
2190
2203
  }
2191
2204
 
2205
+ /* Its rows are titled as links: bold, in the link colour, underlined
2206
+ (DqOrganisatie "Subsidie buurtfeest Oosthaven"). */
2207
+ .cn-look-board .cn-detail-page__side .cn-record-list--stacked.cn-record-list--rows:not(.cn-look-nextcloud *) .cn-record-list__title {
2208
+ color: var(--color-primary-element);
2209
+ font-weight: 700;
2210
+ text-decoration: underline;
2211
+ }
2212
+
2192
2213
  .cn-look-board .cn-detail-page__side .cn-object-parties__main-text {
2193
2214
  line-height: normal;
2194
2215
  }
2195
2216
 
2217
+ /* Main contact (DqOrganisatie Hoofdcontact): the e-mail and the link to all
2218
+ contact persons are 14px lines under the 15px name. */
2219
+ .cn-look-board .cn-detail-page__side .cn-object-parties__main-email,
2220
+ .cn-look-board .cn-detail-page__side .cn-object-parties__main-link {
2221
+ font-size: 14px;
2222
+ }
2223
+
2196
2224
  /* Appointment and note rows (DqTaak Afspraken, Notities): a hairline above
2197
2225
  every row including the first, 12px 0 padding, a 32px round tile (the day
2198
2226
  an appointment starts, the author's initials) 12px before the text, the
@@ -2841,3 +2869,17 @@
2841
2869
  color: var(--cn-board-text-soft);
2842
2870
  font-size: 16px;
2843
2871
  }
2872
+
2873
+ /* A card table on a detail page keeps the sorted column's label in the head's
2874
+ muted ink, as the case boards draw it (DqZaakGerelateerd Deelzaken
2875
+ "Termijn", Objecten "Identificatie"); the chevron marks the sort. */
2876
+ .cn-look-board .cn-detail-page .cn-object-list-widget .cn-data-table th[aria-sort] .cn-table-header__sort:not(.cn-look-nextcloud *) {
2877
+ color: inherit;
2878
+ }
2879
+
2880
+ /* A done task reads muted on the board, its status tag too (DqZaakTaken
2881
+ "Klaar" in the muted ink where an open task's tag keeps the soft ink). */
2882
+ .cn-look-board .cn-tasks-widget__table-row--done .cn-status-badge--default:not(.cn-look-nextcloud *) {
2883
+ --cn-status-badge-ink: var(--color-text-maxcontrast);
2884
+ color: var(--cn-status-badge-ink);
2885
+ }
@@ -1094,6 +1094,14 @@
1094
1094
  line-height: normal;
1095
1095
  }
1096
1096
 
1097
+ /* Another wrapping column's secondary line (DqTaken Onderwerp "2026-4853")
1098
+ is a 14px muted line 2px under its value. */
1099
+ .cn-look-board .cn-table-container--board .cn-data-table td.cn-cell--wrap:not(.cn-table-col--title) .cn-table-cell__secondary {
1100
+ margin-top: 2px;
1101
+ font-size: 14px;
1102
+ line-height: normal;
1103
+ }
1104
+
1097
1105
  /* `rowTitle: "plain"` (PqTickets, OcPublicaties): the title is bold text in
1098
1106
  the main text colour without an underline, the secondary line 13px muted,
1099
1107
  2px under it. The row stays clickable through its stretched row link. */
@@ -366,6 +366,17 @@
366
366
  text-transform: none;
367
367
  }
368
368
 
369
+ /* A dashboard banner's reason line is 15px at the font's normal line height
370
+ (DqMijnWerk "2026-4837 · Woo-verzoek · de termijn loopt vandaag af"; live
371
+ 14px at 1.5). The stacked banner keeps its 14px.
372
+ @spec openspec/changes/board-banner-reason-15/specs/board-banner-reason-15/spec.md#requirement-a-board-dashboard-banners-reason-is-15px-at-normal-leading */
373
+ .cn-look-board .cn-dashboard-page:not(.cn-look-nextcloud *) .cn-banner-widget:not(.cn-banner-widget--stacked) .cn-banner-widget__reason {
374
+ --nldesign-component-paragraph-font-size: 15px;
375
+ --nldesign-component-paragraph-line-height: normal;
376
+ font-size: 15px;
377
+ line-height: normal;
378
+ }
379
+
369
380
  /* ---- A workspace filter form (CnWorkspaceFilterWidget) ----------------- */
370
381
  /* The boards draw the form's field and its load button 40px tall, the button
371
382
  16px in at both sides (DqTermijnen "Jaar" with "Rapport laden"); the form
@@ -473,6 +484,16 @@
473
484
  .cn-look-board .cn-dashboard-page__description:not(.cn-look-nextcloud *) .v-select.select.cn-dashboard-page__description-select {
474
485
  min-width: 0;
475
486
  width: auto;
487
+ margin: 0;
488
+ }
489
+
490
+ /* A description that holds the page's filters is one 40px row, without
491
+ NcSelect's own 6px above and 4px under it, and ends the header 8px under it
492
+ as the boards pad it (DqDoorlooptijd, DqProcesanalyse: 50 and 100; DqTermijnen
493
+ 90; the boards 98).
494
+ @spec openspec/changes/board-description-filter-row-40/specs/board-description-filter-row-40/spec.md#requirement-a-filter-description-is-a-40px-row-8px-above-the-headers-end */
495
+ .cn-look-board .cn-dashboard-page:not(.cn-look-nextcloud *) .cn-dashboard-page__description--with-period {
496
+ padding-bottom: 8px;
476
497
  }
477
498
 
478
499
  /* Its search box sizes to the placeholder or choice instead of the input's 20
@@ -670,13 +691,30 @@
670
691
  box-sizing: border-box;
671
692
  height: 34px;
672
693
  min-height: 34px;
673
- padding: 0 14px;
694
+ padding: 0 12px;
674
695
  border: 1px solid var(--cn-board-control-border);
675
696
  background: var(--color-main-background);
676
697
  color: var(--color-main-text);
677
698
  font-size: 14px;
678
699
  }
679
700
 
701
+ /* A row is 10px 12px in with 12px between its parts, the drag handle a
702
+ plain 20px column at the row's edge (DqPersoonlijkeInstellingen: content
703
+ 13px in and 11.6px down; live sat 17px in and 5px down).
704
+ @spec openspec/changes/board-ordered-list-field/specs/board-ordered-list-field/spec.md */
705
+ .cn-look-board .cn-ordered-list-field__row:not(.cn-look-nextcloud *) {
706
+ gap: 12px;
707
+ padding: 10px 12px;
708
+ }
709
+
710
+ .cn-look-board .cn-ordered-list-field__handle:not(.cn-look-nextcloud *) {
711
+ width: 20px;
712
+ min-width: 20px;
713
+ height: 20px;
714
+ min-height: 20px;
715
+ margin: 0;
716
+ }
717
+
680
718
  .cn-look-board .cn-ordered-list-field__button--text:not(.cn-look-nextcloud *):hover:not(:disabled) {
681
719
  background: var(--color-background-hover);
682
720
  }
@@ -1904,6 +1942,17 @@ body:has(.cn-look-board):not(:has(.cn-look-nextcloud)) .v-popper__popper.action-
1904
1942
  margin-block-start: 22px;
1905
1943
  }
1906
1944
 
1945
+ /* A settings card's text area sets its lines at 1.5, 8px 12px in, as the
1946
+ boards draw them (56 board textareas; NcTextArea took the browser's
1947
+ leading, ~1.13).
1948
+ @spec openspec/changes/board-settings-textarea-leading/specs/board-settings-textarea-leading/spec.md#requirement-a-board-settings-text-area-sets-its-lines-at-15 */
1949
+ .cn-look-board .settings-section:not(.cn-look-nextcloud *) .textarea__input {
1950
+ box-sizing: border-box;
1951
+ padding: 8px 12px;
1952
+ font-size: 15px;
1953
+ line-height: 1.5;
1954
+ }
1955
+
1907
1956
  /* A save button beside a one-field form (`saveInline`) lines up with the
1908
1957
  control under that label, not with the label. */
1909
1958
  .cn-look-board .settings-section:not(.cn-look-nextcloud *) .cn-settings-fields__inline-save {
@@ -2047,10 +2096,12 @@ body:has(.cn-look-board):not(:has(.cn-look-nextcloud)) .v-popper__popper.action-
2047
2096
  font-weight: 600;
2048
2097
  }
2049
2098
 
2050
- /* `compact` (dossiq's boards): 15px facts, values at weight 500, wider gaps. */
2099
+ /* `compact` (dossiq's boards): 15px facts at the font's own leading, rows
2100
+ 24px apart, values at weight 500, wider gaps. */
2051
2101
  .cn-look-board .cn-version-info--compact .cn-version-info__details {
2052
2102
  gap: 6px 24px;
2053
2103
  font-size: 15px;
2104
+ line-height: normal;
2054
2105
  }
2055
2106
 
2056
2107
  .cn-look-board .cn-version-info--compact .cn-version-info__label {
@@ -2134,6 +2185,9 @@ body:has(.cn-look-board):not(:has(.cn-look-nextcloud)) .v-popper__popper.action-
2134
2185
  font-size: 13px;
2135
2186
  font-weight: 600;
2136
2187
  line-height: normal;
2188
+ /* One line, as every board tag (DqBeheerGeavanceerd AWB "Verschuift van een
2189
+ gesloten dag" wrapped to 51px and made its row 71.4, board 55). */
2190
+ white-space: nowrap;
2137
2191
  }
2138
2192
 
2139
2193
  /* A neutral board tag ("Normaal", "Uit") is the soft text on the chip ground,
@@ -2509,6 +2563,12 @@ body:has(.cn-look-board):not(:has(.cn-look-nextcloud)) .v-popper__popper.action-
2509
2563
  line-height: normal;
2510
2564
  }
2511
2565
 
2566
+ /* A list whose rows lead with a description the board sets in bold
2567
+ (DqZaakTaken "Incidenten", `strongTitle: true`). */
2568
+ .cn-look-board .cn-record-list--rows.cn-record-list--strong-title:not(.cn-dashboard-page *):not(.cn-look-nextcloud *) .cn-record-list__title {
2569
+ font-weight: 600;
2570
+ }
2571
+
2512
2572
  .cn-look-board .cn-macros-widget__row:not(.cn-look-nextcloud *) .cn-macros-widget__hint {
2513
2573
  line-height: normal;
2514
2574
  }
@@ -2872,6 +2932,21 @@ body:has(.cn-look-board):not(:has(.cn-look-nextcloud)) .v-popper__popper.action-
2872
2932
  margin-inline-start: auto;
2873
2933
  }
2874
2934
 
2935
+ /* A row's lone trailing line (DqDashboard "12 dagen stil") wraps under the text
2936
+ at its start, at the font's normal line height, as the boards draw it: an
2937
+ 83px row, not the text's 77 with the line squeezed in as a second meta.
2938
+ @spec openspec/changes/board-lone-trailing-wraps-at-start/specs/board-lone-trailing-wraps-at-start/spec.md#requirement-a-lone-trailing-line-wraps-under-the-text-at-its-start */
2939
+ .cn-look-board .cn-dashboard-page:not(.cn-look-nextcloud *) .cn-record-list__aside:has(> .cn-record-list__trailing:only-child) {
2940
+ margin-inline-start: 0;
2941
+ line-height: normal;
2942
+ }
2943
+
2944
+ /* Beside such a line the text keeps 260px, as the Dq boards size it, so a short
2945
+ line ("vandaag") wraps under it in a 360px card too. */
2946
+ .cn-look-board .cn-dashboard-page:not(.cn-look-nextcloud *) .cn-record-list__row:has(> .cn-record-list__aside > .cn-record-list__trailing:only-child) > .cn-record-list__main {
2947
+ flex-basis: 260px;
2948
+ }
2949
+
2875
2950
  /* The title and meta take the room the pill and the date leave, and a long
2876
2951
  title wraps inside it: the pill and the date stay on the title line, as the
2877
2952
  board draws them. They drop under the text only when the card is too narrow
@@ -3412,6 +3487,18 @@ body:has(.cn-look-board):not(:has(.cn-look-nextcloud)) .v-popper__popper.action-
3412
3487
  padding-inline: 0;
3413
3488
  }
3414
3489
 
3490
+ /* A button in a table row on a settings card is 34px, 12px in at both sides
3491
+ (DqBeheerGeavanceerd ZGW "Bewerken" / "Opnieuw instellen", AWB "Nieuwe
3492
+ versie"; every in-table button on the Dq settings boards). The repeated
3493
+ class outranks the 40px body-button and 16px padding rules above.
3494
+ @spec openspec/changes/board-settings-row-buttons/specs/board-settings-row-buttons/spec.md#requirement-a-button-in-a-settings-table-row-is-34px */
3495
+ .cn-look-board .settings-section:not(.cn-look-nextcloud *) td .button-vue.button-vue.button-vue:has(> .button-vue__wrapper > .button-vue__text:not(:empty)):not(.cn-settings-section__actions *):not(.cn-settings-field__image-row *) {
3496
+ --button-size: 34px;
3497
+ --button-padding: 12px;
3498
+ min-height: 34px;
3499
+ height: 34px;
3500
+ }
3501
+
3415
3502
  .cn-look-board .cn-settings-section__save:not(.cn-look-nextcloud *) .button-vue,
3416
3503
  .cn-look-board .cn-version-info--board:not(.cn-look-nextcloud *) .cn-version-info__footer-row .button-vue {
3417
3504
  height: var(--cn-field-height, 40px);
@@ -3439,6 +3526,22 @@ body:has(.cn-look-board):not(:has(.cn-look-nextcloud)) .v-popper__popper.action-
3439
3526
  color: var(--color-text-maxcontrast) !important;
3440
3527
  }
3441
3528
 
3529
+ /* ---- A settings card's image field -------------------------------------- */
3530
+ /* The logo is a 56px tile with a 10px radius and no edge, 16px before its
3531
+ upload button (DqInstellingenAlgemeen "Huisstijl"; live drew 64px).
3532
+ @spec openspec/changes/board-settings-logo-tile/specs/board-settings-logo-tile/spec.md#requirement-a-board-settings-logo-is-a-56px-tile */
3533
+ .cn-look-board .cn-settings-field__image-row:not(.cn-look-nextcloud *) {
3534
+ gap: 16px;
3535
+ }
3536
+
3537
+ .cn-look-board .cn-settings-field__image-tile:not(.cn-look-nextcloud *) {
3538
+ box-sizing: border-box;
3539
+ width: 56px;
3540
+ height: 56px;
3541
+ border: 0;
3542
+ border-radius: 10px;
3543
+ }
3544
+
3442
3545
  /* ---- A setup step's choice radio ---------------------------------------- */
3443
3546
  /* The setup wizard's choice cards draw their radio 20px square in the primary
3444
3547
  colour (DqInstellen "Voorbeeldgegevens laden"); the browser draws 13px, and
@@ -3879,7 +3982,8 @@ html :where(.cn-look-board) :is(h2, h3, h5, h6):where(.cn-inner-heading) {
3879
3982
  }
3880
3983
 
3881
3984
  .cn-look-board .checkbox-radio-switch-switch:not(.cn-look-nextcloud *) .checkbox-content__icon > * {
3882
- display: none;
3985
+ /* NcIconSvgWrapper's inline icon sets display inline-flex !important. */
3986
+ display: none !important;
3883
3987
  }
3884
3988
 
3885
3989
  .cn-look-board .checkbox-radio-switch-switch:not(.cn-look-nextcloud *) .checkbox-content__icon::after {
@@ -52,15 +52,16 @@ async function memberCounts(query) {
52
52
  }
53
53
 
54
54
  /**
55
- * Descriptions by group id from the app's records. Read once per source.
55
+ * The app's records about groups, read once per source: the description by
56
+ * group id, and every group id a record names (with or without a text).
56
57
  *
57
58
  * @param {{register?: string, schema?: string, groupField?: string, textField?: string}|null} describe The source.
58
- * @return {Promise<Record<string, string>>} Descriptions by group id.
59
+ * @return {Promise<{texts: Record<string, string>, ids: Set<string>}>} What the records say.
59
60
  * @spec openspec/changes/assign-team-option-subline/specs/assign-dialog/spec.md
60
61
  */
61
- async function descriptions(describe) {
62
+ async function groupRecords(describe) {
62
63
  if (!describe || !describe.register || !describe.schema) {
63
- return {}
64
+ return { texts: {}, ids: new Set() }
64
65
  }
65
66
  const groupField = describe.groupField || 'ncGroupId'
66
67
  const textField = describe.textField || 'description'
@@ -68,24 +69,41 @@ async function descriptions(describe) {
68
69
  if (!descriptionCache.has(key)) {
69
70
  descriptionCache.set(key, fetchReferenceObjects({ register: describe.register, schema: describe.schema, limit: 500 })
70
71
  .then((rows) => {
71
- const out = {}
72
+ const texts = {}
73
+ const ids = new Set()
72
74
  for (const row of rows) {
73
75
  const gid = row && row[groupField]
74
- const text = row && typeof row[textField] === 'string' ? row[textField].trim() : ''
75
- if (gid && text && out[String(gid)] === undefined) {
76
- out[String(gid)] = text
76
+ if (!gid) {
77
+ continue
78
+ }
79
+ ids.add(String(gid))
80
+ const text = typeof row[textField] === 'string' ? row[textField].trim() : ''
81
+ if (text && texts[String(gid)] === undefined) {
82
+ texts[String(gid)] = text
77
83
  }
78
84
  }
79
- return out
85
+ return { texts, ids }
80
86
  })
81
87
  .catch(() => {
82
88
  descriptionCache.delete(key)
83
- return {}
89
+ return { texts: {}, ids: new Set() }
84
90
  }))
85
91
  }
86
92
  return descriptionCache.get(key)
87
93
  }
88
94
 
95
+ /**
96
+ * The groups an app keeps a record for (its teams), for a picker that lists
97
+ * only those. Empty when the app names no source or holds no record.
98
+ *
99
+ * @param {object|null} describe Where the app keeps its groups' records.
100
+ * @return {Promise<Set<string>>} The group ids.
101
+ * @spec openspec/changes/assign-team-option-subline/specs/assign-dialog/spec.md
102
+ */
103
+ export async function describedGroupIds(describe) {
104
+ return (await groupRecords(describe)).ids
105
+ }
106
+
89
107
  /**
90
108
  * The line under each group: its member count and its description, joined by
91
109
  * " · ", either left out when unknown.
@@ -100,7 +118,7 @@ export async function groupSublines(ids, query, describe = null) {
100
118
  if (!Array.isArray(ids) || ids.length === 0) {
101
119
  return {}
102
120
  }
103
- const [counts, texts] = await Promise.all([memberCounts(query), descriptions(describe)])
121
+ const [counts, { texts }] = await Promise.all([memberCounts(query), groupRecords(describe)])
104
122
  const out = {}
105
123
  for (const id of ids) {
106
124
  const parts = []