@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.
- package/dist/esm/components/CnAiCompanion/CnAiInput.vue2.js +3 -1
- package/dist/esm/components/CnAiCompanion/CnAiInput.vue2.js.map +1 -1
- package/dist/esm/components/CnAiCompanion/CnAiInput.vue3.js.map +1 -1
- package/dist/esm/components/CnAppRoot/CnAppRoot.vue2.js.map +1 -1
- package/dist/esm/components/CnAppRoot/CnAppRoot.vue3.js +2 -2
- package/dist/esm/components/CnAppRoot/CnAppRoot.vue3.js.map +1 -1
- package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue.js +1 -1
- package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue2.js +10 -5
- package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue2.js.map +1 -1
- package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue3.js.map +1 -1
- package/dist/esm/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue.js +1 -1
- package/dist/esm/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue3.js +2 -0
- package/dist/esm/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnChoiceCards/CnChoiceCards.vue.js +1 -1
- package/dist/esm/components/CnChoiceCards/CnChoiceCards.vue2.js.map +1 -1
- package/dist/esm/components/CnChoiceCards/CnChoiceCards.vue3.js.map +1 -1
- package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue.js +1 -1
- package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue.js +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js.map +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js.map +1 -1
- package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue.js +1 -1
- package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue2.js +9 -8
- package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnIndexSidebar/CnIndexSidebar.vue2.js +13 -4
- package/dist/esm/components/CnIndexSidebar/CnIndexSidebar.vue2.js.map +1 -1
- package/dist/esm/components/CnIndexSidebar/CnIndexSidebar.vue3.js.map +1 -1
- package/dist/esm/components/CnLinkedWidget/CnLinkedWidget.vue.js +1 -1
- package/dist/esm/components/CnLinkedWidget/CnLinkedWidget.vue2.js +91 -7
- 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/CnMapWidget/CnMapWidget.vue.js +1 -1
- package/dist/esm/components/CnMapWidget/CnMapWidget.vue2.js +37 -0
- package/dist/esm/components/CnMapWidget/CnMapWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnMapWidget/CnMapWidget.vue3.js +16 -7
- package/dist/esm/components/CnMapWidget/CnMapWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue.js +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js +2 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnSavedViewMenuSettings/CnSavedViewMenuSettings.vue.js +1 -1
- package/dist/esm/components/CnSavedViewMenuSettings/CnSavedViewMenuSettings.vue2.js.map +1 -1
- package/dist/esm/components/CnSavedViewMenuSettings/CnSavedViewMenuSettings.vue3.js.map +1 -1
- package/dist/esm/components/CnSchemaFormDialog/CnSchemaConfigurationTab.vue2.js +25 -0
- package/dist/esm/components/CnSchemaFormDialog/CnSchemaConfigurationTab.vue2.js.map +1 -1
- package/dist/esm/components/CnSchemaFormDialog/CnSchemaConfigurationTab.vue3.js +40 -8
- package/dist/esm/components/CnSchemaFormDialog/CnSchemaConfigurationTab.vue3.js.map +1 -1
- package/dist/esm/components/CnSchemaFormDialog/CnSchemaFormDialog.vue2.js +10 -0
- package/dist/esm/components/CnSchemaFormDialog/CnSchemaFormDialog.vue2.js.map +1 -1
- package/dist/esm/components/CnSchemaFormDialog/CnSchemaFormDialog.vue3.js.map +1 -1
- package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue.js +1 -1
- package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue2.js +24 -1
- package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue2.js.map +1 -1
- package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue3.js +9 -0
- package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue3.js.map +1 -1
- package/dist/esm/components/CnUserSettingsDialog/CnUserSettingsDialog.vue.js +1 -1
- package/dist/esm/components/CnUserSettingsDialog/CnUserSettingsDialog.vue2.js.map +1 -1
- package/dist/esm/components/CnUserSettingsDialog/CnUserSettingsDialog.vue3.js.map +1 -1
- package/dist/esm/l10n/en.json.js +12 -7
- package/dist/esm/l10n/en.json.js.map +1 -1
- package/dist/esm/l10n/nl.json.js +14 -9
- package/dist/esm/l10n/nl.json.js.map +1 -1
- package/dist/esm/library-style.js +1 -1
- package/dist/esm/nextcloud-vue.css +604 -375
- package/dist/esm/utils/groupSublines.js +30 -12
- package/dist/esm/utils/groupSublines.js.map +1 -1
- package/dist/nextcloud-vue.cjs.js +1783 -1509
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +604 -375
- package/l10n/en.json +12 -7
- package/l10n/nl.json +14 -9
- package/package.json +1 -1
- package/src/components/CnAiCompanion/CnAiInput.vue +3 -1
- package/src/components/CnAppRoot/CnAppRoot.vue +2 -2
- package/src/components/CnAssignDialog/CnAssignDialog.vue +10 -5
- package/src/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue +2 -6
- package/src/components/CnChoiceCards/CnChoiceCards.vue +9 -0
- package/src/components/CnCountdownWidget/CnCountdownWidget.vue +3 -0
- package/src/components/CnDashboardPage/CnDashboardPage.vue +7 -2
- package/src/components/CnFactsWidget/CnFactsWidget.vue +9 -8
- package/src/components/CnIndexSidebar/CnIndexSidebar.vue +13 -4
- package/src/components/CnLinkedWidget/CnLinkedWidget.vue +91 -7
- package/src/components/CnMapWidget/CnMapWidget.vue +55 -1
- package/src/components/CnRecordListWidget/CnRecordListWidget.vue +3 -2
- package/src/components/CnSavedViewMenuSettings/CnSavedViewMenuSettings.vue +3 -1
- package/src/components/CnSchemaFormDialog/CnSchemaConfigurationTab.vue +42 -0
- package/src/components/CnSchemaFormDialog/CnSchemaFormDialog.vue +10 -0
- package/src/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue +37 -1
- package/src/components/CnUserSettingsDialog/CnUserSettingsDialog.vue +4 -1
- package/src/css/dialog.css +43 -0
- package/src/css/look-board-detail.css +42 -0
- package/src/css/look-board-index.css +8 -0
- package/src/css/look-board.css +107 -3
- package/src/utils/groupSublines.js +29 -11
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.
|
|
3
|
+
"version": "2.156.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)
|
|
@@ -666,11 +666,11 @@
|
|
|
666
666
|
-->
|
|
667
667
|
<NcButton variant="tertiary"
|
|
668
668
|
:href="entry.href"
|
|
669
|
-
:aria-label="entry.label">
|
|
669
|
+
:aria-label="manifestTranslate(entry.label)">
|
|
670
670
|
<template #icon>
|
|
671
671
|
<OpenInNew :size="20" />
|
|
672
672
|
</template>
|
|
673
|
-
{{ entry.label }}
|
|
673
|
+
{{ manifestTranslate(entry.label) }}
|
|
674
674
|
</NcButton>
|
|
675
675
|
</li>
|
|
676
676
|
</ul>
|
|
@@ -89,7 +89,7 @@ import { generateUrl } from '@nextcloud/router'
|
|
|
89
89
|
import { NcButton, NcCheckboxRadioSwitch, NcTextArea } from '@nextcloud/vue'
|
|
90
90
|
import { fetchEndpointSource, interpolateUrlTokens } from '../../composables/useEndpointSource.js'
|
|
91
91
|
import { fillTemplate } from '../../utils/fillTemplate.js'
|
|
92
|
-
import { groupSublines } from '../../utils/groupSublines.js'
|
|
92
|
+
import { describedGroupIds, groupSublines } from '../../utils/groupSublines.js'
|
|
93
93
|
import { readPath } from '../../utils/readPath.js'
|
|
94
94
|
import { searchNextcloudGroups, searchNextcloudUsers } from '../../utils/userAutocomplete.js'
|
|
95
95
|
import { CnDialog } from '../CnDialog/index.js'
|
|
@@ -136,9 +136,11 @@ export function withTypedAssignee(found, typed, label) {
|
|
|
136
136
|
* - `source`: an endpointSource to read the record from, else `object`.
|
|
137
137
|
* - `assignee`: `{ kinds?, label?, placeholder?, hint?, currentPath?,
|
|
138
138
|
* currentHint?, currentAs?, allowTyped?, field?, kindField?, describe? }`.
|
|
139
|
-
* `describe` (`{ register, schema, groupField?, textField? }`) names the
|
|
139
|
+
* `describe` (`{ register, schema, groupField?, textField?, only? }`) names the
|
|
140
140
|
* records that hold a team's description; each team option then reads
|
|
141
|
-
* "{count} members · {description}", the count where the viewer may read it.
|
|
141
|
+
* "{count} members · {description}", the count where the viewer may read it.
|
|
142
|
+
* With `only` the search lists just the groups such a record names (the
|
|
143
|
+
* app's teams, not every Nextcloud group); with no record at all it lists every group. `kinds` is `["group"]`
|
|
142
144
|
* (default), `["user"]` or both; `currentPath` reads who has it now from the
|
|
143
145
|
* record and `currentHint` ("Now with {current}.", the placeholder named
|
|
144
146
|
* by `currentAs`) says so, in place of `hint`; `allowTyped`
|
|
@@ -402,12 +404,15 @@ export default {
|
|
|
402
404
|
if (seq !== this.searchSeq) {
|
|
403
405
|
return
|
|
404
406
|
}
|
|
405
|
-
const
|
|
407
|
+
const describe = this.assigneeConfig.describe || null
|
|
408
|
+
const teams = describe && describe.only ? await describedGroupIds(describe) : null
|
|
409
|
+
const listed = teams && teams.size > 0 ? groups.filter((g) => teams.has(String(g.id))) : groups
|
|
410
|
+
const lines = await groupSublines(listed.map((g) => g.id), typed, describe)
|
|
406
411
|
if (seq !== this.searchSeq) {
|
|
407
412
|
return
|
|
408
413
|
}
|
|
409
414
|
const found = [
|
|
410
|
-
...
|
|
415
|
+
...listed.map((g) => ({ id: g.id, label: g.label, secondary: lines[g.id] || g.subline || '', icon: 'AccountGroupOutline', kind: 'group' })),
|
|
411
416
|
...users.map((u) => ({ id: u.id, label: u.label, secondary: u.subline || '', avatar: true, kind: 'user' })),
|
|
412
417
|
]
|
|
413
418
|
this.options = this.assigneeConfig.allowTyped ? withTypedAssignee(found, typed, t('nextcloud-vue', 'Use "{name}"', { name: typed })) : found
|
|
@@ -50,6 +50,8 @@
|
|
|
50
50
|
<NcButton
|
|
51
51
|
class="cn-attention-flag__compose"
|
|
52
52
|
variant="secondary"
|
|
53
|
+
wide
|
|
54
|
+
alignment="start"
|
|
53
55
|
data-testid="cn-attention-flag-compose"
|
|
54
56
|
@click="composing = true">
|
|
55
57
|
<template #icon>
|
|
@@ -458,12 +460,6 @@ function hasPassed(date) {
|
|
|
458
460
|
padding: 4px 0;
|
|
459
461
|
}
|
|
460
462
|
|
|
461
|
-
/* The button is as wide as its label, as the boards draw it (DqZaakAssistent
|
|
462
|
-
"Markeer voor aandacht"), not stretched across the card. */
|
|
463
|
-
.cn-attention-flag__compose {
|
|
464
|
-
align-self: flex-start;
|
|
465
|
-
}
|
|
466
|
-
|
|
467
463
|
.cn-attention-flag__line,
|
|
468
464
|
.cn-attention-flag__act {
|
|
469
465
|
display: flex;
|
|
@@ -540,6 +540,15 @@ export default {
|
|
|
540
540
|
border-color: var(--color-border-dark);
|
|
541
541
|
}
|
|
542
542
|
|
|
543
|
+
/* Rows side by side (`columns` above 1) are as high as the tallest: a grid
|
|
544
|
+
cell stretches, and its row fills it, as the boards draw "Delen" beside
|
|
545
|
+
"Overdragen" (DqZaakSamenwerken). A cell with details keeps its row at its
|
|
546
|
+
own height, the fields under it. In a single column the cell is as high as
|
|
547
|
+
its row, so nothing changes there. */
|
|
548
|
+
.cn-choice-cards__cell:not(.cn-choice-cards__cell--with-details) > .cn-choice-cards__row {
|
|
549
|
+
flex-grow: 1;
|
|
550
|
+
}
|
|
551
|
+
|
|
543
552
|
.cn-choice-cards__row--selected,
|
|
544
553
|
.cn-choice-cards__row--selected:hover {
|
|
545
554
|
border-color: var(--color-primary-element);
|
|
@@ -468,7 +468,10 @@ export default {
|
|
|
468
468
|
white-space: nowrap;
|
|
469
469
|
}
|
|
470
470
|
|
|
471
|
+
/* The bar spans the card: the KPI body aligns its items to the start, which
|
|
472
|
+
left the empty track 0px wide. */
|
|
471
473
|
.cn-countdown-widget__progress {
|
|
474
|
+
align-self: stretch;
|
|
472
475
|
background: var(--color-border);
|
|
473
476
|
border-radius: 3px;
|
|
474
477
|
display: block;
|
|
@@ -5477,18 +5477,23 @@ export default {
|
|
|
5477
5477
|
/* The same under the KPI row: the cards stand the row's 20px under the tiles,
|
|
5478
5478
|
not that plus the grid margin (DqDashboard: 32, the board 20).
|
|
5479
5479
|
@spec openspec/changes/board-kpi-row-to-grid-gap/specs/board-kpi-row-to-grid-gap/spec.md#requirement-the-board-grid-stands-the-section-gap-under-the-kpi-row */
|
|
5480
|
-
|
|
5480
|
+
/* And under the view switch: the cards stand the switch row's 20px under it
|
|
5481
|
+
(DqMijnWerk, DqMijnTeam: 32, the board 20). */
|
|
5482
|
+
.cn-dashboard-page--board .cn-dashboard-page__kpi-row + :deep(.cn-dashboard-grid),
|
|
5483
|
+
.cn-dashboard-page--board .cn-dashboard-page__switch-row + :deep(.cn-dashboard-grid) {
|
|
5481
5484
|
margin-top: calc(-1 * var(--cn-dashboard-grid-margin, 12px));
|
|
5482
5485
|
}
|
|
5483
5486
|
|
|
5484
5487
|
/* A header with a breadcrumb trail ends 8px under it, as the boards pad
|
|
5485
|
-
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). */
|
|
5486
5490
|
.cn-dashboard-page--board .cn-dashboard-page__header:has(.cn-header-trail) {
|
|
5487
5491
|
padding-bottom: 8px;
|
|
5488
5492
|
}
|
|
5489
5493
|
|
|
5490
5494
|
.cn-dashboard-page--board .cn-dashboard-page__header :deep(.cn-header-trail) {
|
|
5491
5495
|
margin-bottom: 0;
|
|
5496
|
+
line-height: normal;
|
|
5492
5497
|
}
|
|
5493
5498
|
|
|
5494
5499
|
.cn-dashboard-page__kpi-cell {
|
|
@@ -1695,27 +1695,28 @@ export default {
|
|
|
1695
1695
|
|
|
1696
1696
|
/**
|
|
1697
1697
|
* Every entry or part that carries `resolve`, with the record's value at its path.
|
|
1698
|
+
* A `from: "object"` entry reads the page's own object.
|
|
1698
1699
|
*
|
|
1699
|
-
* @param {object} record The object.
|
|
1700
|
+
* @param {object|null} record The object.
|
|
1700
1701
|
* @return {Array<{spec: object, raw: unknown}>}
|
|
1701
1702
|
*/
|
|
1702
1703
|
refSpecs(record) {
|
|
1703
1704
|
const fields = this.entries
|
|
1704
1705
|
const specs = []
|
|
1705
|
-
const visit = (spec) => {
|
|
1706
|
+
const visit = (spec, from) => {
|
|
1706
1707
|
if (!spec || typeof spec !== 'object') {
|
|
1707
1708
|
return
|
|
1708
1709
|
}
|
|
1709
|
-
if (spec.resolve && typeof spec.resolve === 'object' && spec.path) {
|
|
1710
|
-
specs.push({ spec, raw: readPath(
|
|
1710
|
+
if (from && spec.resolve && typeof spec.resolve === 'object' && spec.path) {
|
|
1711
|
+
specs.push({ spec, raw: readPath(from, spec.path) })
|
|
1711
1712
|
if (toneSpec(spec)) {
|
|
1712
|
-
specs.push({ spec: toneSpec(spec), raw: readPath(
|
|
1713
|
+
specs.push({ spec: toneSpec(spec), raw: readPath(from, spec.path) })
|
|
1713
1714
|
}
|
|
1714
1715
|
}
|
|
1715
1716
|
const nested = [...(Array.isArray(spec.parts) ? spec.parts : []), ...(Array.isArray(spec.firstOf) ? spec.firstOf : []), ...(Array.isArray(spec.title) ? spec.title : [spec.title]), ...(Array.isArray(spec.subtitle) ? spec.subtitle : [spec.subtitle])]
|
|
1716
|
-
nested.forEach(visit)
|
|
1717
|
+
nested.forEach((part) => visit(part, from))
|
|
1717
1718
|
}
|
|
1718
|
-
fields.forEach(visit)
|
|
1719
|
+
fields.forEach((field) => visit(field, field && field.from === 'object' && this.objectData ? this.objectData : record))
|
|
1719
1720
|
return specs
|
|
1720
1721
|
},
|
|
1721
1722
|
|
|
@@ -1727,7 +1728,7 @@ export default {
|
|
|
1727
1728
|
* @return {Promise<void>}
|
|
1728
1729
|
*/
|
|
1729
1730
|
async loadLabels(record = this.record) {
|
|
1730
|
-
if (!record) {
|
|
1731
|
+
if (!record && !this.objectData) {
|
|
1731
1732
|
return
|
|
1732
1733
|
}
|
|
1733
1734
|
const groups = new Map()
|
|
@@ -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.
|
|
1455
|
-
*
|
|
1456
|
-
*
|
|
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
|
|
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
|
|
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
|
|
150
|
-
|
|
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
|
|
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.
|
|
182
|
-
.filter((
|
|
183
|
-
.map((
|
|
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
|
*
|
|
@@ -36,11 +36,13 @@
|
|
|
36
36
|
<div
|
|
37
37
|
class="cn-map-widget"
|
|
38
38
|
:class="{ 'cn-map-widget--fullscreen': isFullscreen }"
|
|
39
|
-
:style="{ height: isFullscreen ? null : resolvedHeight }">
|
|
39
|
+
:style="{ height: isFullscreen || markerCaption ? null : resolvedHeight }">
|
|
40
40
|
<div
|
|
41
41
|
v-if="leafletAvailable"
|
|
42
42
|
ref="mapEl"
|
|
43
43
|
class="cn-map-widget__leaflet"
|
|
44
|
+
:class="{ 'cn-map-widget__leaflet--captioned': markerCaption && !isFullscreen }"
|
|
45
|
+
:style="markerCaption && !isFullscreen ? { height: resolvedHeight } : null"
|
|
44
46
|
role="application"
|
|
45
47
|
:aria-label="resolvedAriaLabel"
|
|
46
48
|
tabindex="0" />
|
|
@@ -64,6 +66,9 @@
|
|
|
64
66
|
:data-testid="markersFailed ? 'cn-map-markers-failed' : 'cn-map-markers-empty'">
|
|
65
67
|
{{ markerStatusText }}
|
|
66
68
|
</p>
|
|
69
|
+
<p v-if="markerCaption && !isFullscreen" class="cn-map-widget__caption" data-testid="cn-map-caption">
|
|
70
|
+
{{ markerCaption }}
|
|
71
|
+
</p>
|
|
67
72
|
<p v-if="unplottedCount > 0" class="cn-map-widget__note" data-testid="cn-map-unplotted">
|
|
68
73
|
{{ unplottedLabel }}
|
|
69
74
|
</p>
|
|
@@ -427,6 +432,8 @@ export default {
|
|
|
427
432
|
* `clustering`, `height`, `autoFit`, `layers`, `basemaps`) overrides the
|
|
428
433
|
* matching flat prop. Direct (non-dashboard) consumers omit this and pass
|
|
429
434
|
* the flat props instead. See the `cfg` computed for the merge rules.
|
|
435
|
+
* `labelsBelow: true` writes the markers' `popupField` values on a line
|
|
436
|
+
* under the map ("Fietspad Lindelaan, tussen nummer 2 en 40").
|
|
430
437
|
*
|
|
431
438
|
* @type {object|null}
|
|
432
439
|
*/
|
|
@@ -500,6 +507,8 @@ export default {
|
|
|
500
507
|
// Whether the marker source has answered, and with how many markers.
|
|
501
508
|
markersLoaded: false,
|
|
502
509
|
markerCount: 0,
|
|
510
|
+
// The markers' `popupField` values, for `content.labelsBelow`.
|
|
511
|
+
markerLabels: [],
|
|
503
512
|
// Whether the marker source could not be read (not: read and empty).
|
|
504
513
|
markersFailed: false,
|
|
505
514
|
// Set once the user has framed the view themselves; stops autoFit.
|
|
@@ -612,6 +621,21 @@ export default {
|
|
|
612
621
|
return countLine(this.content?.headerNote, this)
|
|
613
622
|
},
|
|
614
623
|
|
|
624
|
+
/**
|
|
625
|
+
* The line under the map naming its places (`content.labelsBelow: true`):
|
|
626
|
+
* each marker's `markers.popupField` value, joined by ", ", as the case
|
|
627
|
+
* boards draw "Fietspad Lindelaan, tussen nummer 2 en 40" under the
|
|
628
|
+
* Locaties map. Empty until the source answered with labelled markers.
|
|
629
|
+
*
|
|
630
|
+
* @return {string}
|
|
631
|
+
*/
|
|
632
|
+
markerCaption() {
|
|
633
|
+
if (this.content?.labelsBelow !== true || !this.markersLoaded || this.markersFailed) {
|
|
634
|
+
return ''
|
|
635
|
+
}
|
|
636
|
+
return (this.markerLabels || []).join(', ')
|
|
637
|
+
},
|
|
638
|
+
|
|
615
639
|
markerStatusText() {
|
|
616
640
|
const markers = this.cfg.markers
|
|
617
641
|
if (!markers || !markers.dataSource || !this.markersLoaded) {
|
|
@@ -1037,6 +1061,23 @@ export default {
|
|
|
1037
1061
|
})
|
|
1038
1062
|
},
|
|
1039
1063
|
|
|
1064
|
+
/**
|
|
1065
|
+
* The non-empty `markers.popupField` values of the features, in order.
|
|
1066
|
+
*
|
|
1067
|
+
* @param {Array|null} features The features.
|
|
1068
|
+
* @return {string[]}
|
|
1069
|
+
*/
|
|
1070
|
+
labelsOf(features) {
|
|
1071
|
+
const field = this.cfg.markers && this.cfg.markers.popupField
|
|
1072
|
+
if (!field || !Array.isArray(features)) {
|
|
1073
|
+
return []
|
|
1074
|
+
}
|
|
1075
|
+
return features
|
|
1076
|
+
.map((feature) => (feature && feature.properties ? feature.properties[field] : null))
|
|
1077
|
+
.filter((label) => typeof label === 'string' && label.trim() !== '')
|
|
1078
|
+
.map((label) => label.trim())
|
|
1079
|
+
},
|
|
1080
|
+
|
|
1040
1081
|
/**
|
|
1041
1082
|
* Mount the configured `markers` onto the Leaflet map. Reads from
|
|
1042
1083
|
* `features[]` (inline) OR `dataSource.url` (HTTP fetch). When
|
|
@@ -1065,6 +1106,7 @@ export default {
|
|
|
1065
1106
|
this.markersFailed = false
|
|
1066
1107
|
const features = await this.collectFeatures()
|
|
1067
1108
|
this.markerCount = Array.isArray(features) ? features.length : 0
|
|
1109
|
+
this.markerLabels = this.labelsOf(features)
|
|
1068
1110
|
this.markersLoaded = true
|
|
1069
1111
|
if (!features || features.length === 0) {
|
|
1070
1112
|
return
|
|
@@ -1720,6 +1762,18 @@ export default {
|
|
|
1720
1762
|
background: var(--color-background-dark);
|
|
1721
1763
|
}
|
|
1722
1764
|
|
|
1765
|
+
/* With a caption the map keeps its own height and the caption sits under it. */
|
|
1766
|
+
.cn-map-widget__leaflet--captioned {
|
|
1767
|
+
min-height: 200px;
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1770
|
+
.cn-map-widget__caption {
|
|
1771
|
+
margin: 12px 0 0;
|
|
1772
|
+
font-size: 15px;
|
|
1773
|
+
line-height: 1.2;
|
|
1774
|
+
color: var(--color-main-text);
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1723
1777
|
.cn-map-widget__note {
|
|
1724
1778
|
margin: 4px 0 0;
|
|
1725
1779
|
font-size: 13px;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<template>
|
|
7
7
|
<div
|
|
8
8
|
class="cn-record-list"
|
|
9
|
-
:class="[`cn-record-list--${presentation}`, { 'cn-record-list--compact': content.density === 'compact', 'cn-record-list--pill-aside': presentation === 'cards' && content.cardPillAside === true, 'cn-record-list--stacked': content.density === 'stacked', 'cn-record-list--tiles': presentation === 'rows' && content.tiles === true, 'cn-record-list--rule-above': content.ruleAbove === true, 'cn-record-list--data-table': presentation === 'table' && content.tableLook === 'data' }]"
|
|
9
|
+
:class="[`cn-record-list--${presentation}`, { 'cn-record-list--compact': content.density === 'compact', 'cn-record-list--pill-aside': presentation === 'cards' && content.cardPillAside === true, 'cn-record-list--stacked': content.density === 'stacked', 'cn-record-list--tiles': presentation === 'rows' && content.tiles === true, 'cn-record-list--rule-above': content.ruleAbove === true, 'cn-record-list--strong-title': content.strongTitle === true, 'cn-record-list--data-table': presentation === 'table' && content.tableLook === 'data' }]"
|
|
10
10
|
data-testid="cn-record-list">
|
|
11
11
|
<p v-if="intro && !absent" class="cn-record-list__intro" data-testid="cn-record-list-intro">
|
|
12
12
|
{{ intro }}
|
|
@@ -770,7 +770,8 @@ export default {
|
|
|
770
770
|
* lopende zaken").
|
|
771
771
|
* In `rows`, `ruleAbove: true` rules above the first row too, and
|
|
772
772
|
* `pillAt: "start"` draws the pill before the title (DqZaakDocumenten
|
|
773
|
-
* "Weigeringsgronden tot nu toe").
|
|
773
|
+
* "Weigeringsgronden tot nu toe"). `strongTitle: true` sets a row's
|
|
774
|
+
* title at 600 in the board look (DqZaakTaken "Incidenten").
|
|
774
775
|
*
|
|
775
776
|
* @type {object}
|
|
776
777
|
*/
|
|
@@ -442,8 +442,10 @@ export default {
|
|
|
442
442
|
</script>
|
|
443
443
|
|
|
444
444
|
<style scoped>
|
|
445
|
+
/* The description sits 16px above the list, as a board section's does
|
|
446
|
+
(DqPersoonlijkeInstellingen "Weergaven in mijn menu"). */
|
|
445
447
|
.cn-saved-view-menu-settings__intro {
|
|
446
|
-
margin: 0 0
|
|
448
|
+
margin: 0 0 16px;
|
|
447
449
|
color: var(--color-text-maxcontrast);
|
|
448
450
|
}
|
|
449
451
|
</style>
|