@conduction/nextcloud-vue 2.169.0 → 2.171.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue.js +1 -1
- package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue2.js +7 -2
- package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue2.js.map +1 -1
- package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue3.js.map +1 -1
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroup.vue.js +9 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroup.vue.js.map +1 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroup.vue2.js +242 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroup.vue2.js.map +1 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroup.vue3.js +200 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroup.vue3.js.map +1 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroupEditor.vue.js +9 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroupEditor.vue.js.map +1 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroupEditor.vue2.js +186 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroupEditor.vue2.js.map +1 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroupEditor.vue3.js +24 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroupEditor.vue3.js.map +1 -0
- package/dist/esm/components/CnConditionListEditor/CnConditionListEditor.vue.js +1 -1
- package/dist/esm/components/CnConditionListEditor/CnConditionListEditor.vue2.js +3 -15
- package/dist/esm/components/CnConditionListEditor/CnConditionListEditor.vue2.js.map +1 -1
- package/dist/esm/components/CnConditionListEditor/CnConditionListEditor.vue3.js +16 -61
- package/dist/esm/components/CnConditionListEditor/CnConditionListEditor.vue3.js.map +1 -1
- package/dist/esm/components/CnConditionListEditor/CnConditionRow.vue.js +9 -0
- package/dist/esm/components/CnConditionListEditor/CnConditionRow.vue.js.map +1 -0
- package/dist/esm/components/CnConditionListEditor/CnConditionRow.vue2.js +120 -0
- package/dist/esm/components/CnConditionListEditor/CnConditionRow.vue2.js.map +1 -0
- package/dist/esm/components/CnConditionListEditor/CnConditionRow.vue3.js +86 -0
- package/dist/esm/components/CnConditionListEditor/CnConditionRow.vue3.js.map +1 -0
- package/dist/esm/components/CnDashboardGrid/CnDashboardGrid.vue.js +1 -1
- package/dist/esm/components/CnDashboardGrid/CnDashboardGrid.vue2.js +88 -0
- package/dist/esm/components/CnDashboardGrid/CnDashboardGrid.vue2.js.map +1 -1
- package/dist/esm/components/CnDashboardGrid/CnDashboardGrid.vue3.js +4 -3
- package/dist/esm/components/CnDashboardGrid/CnDashboardGrid.vue3.js.map +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue.js +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js +46 -3
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js.map +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js +2 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js.map +1 -1
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js +1 -1
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js.map +1 -1
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue3.js +9 -9
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue3.js.map +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue.js +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue2.js.map +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue3.js.map +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue.js +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue2.js +9 -3
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue2.js.map +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue3.js.map +1 -1
- package/dist/esm/components/CnDialogActions/CnDialogActions.vue.js +8 -0
- package/dist/esm/components/CnDialogActions/CnDialogActions.vue.js.map +1 -0
- package/dist/esm/components/CnDialogActions/CnDialogActions.vue2.js +101 -0
- package/dist/esm/components/CnDialogActions/CnDialogActions.vue2.js.map +1 -0
- package/dist/esm/components/CnDialogActions/CnDialogActions.vue3.js +54 -0
- package/dist/esm/components/CnDialogActions/CnDialogActions.vue3.js.map +1 -0
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue.js +1 -1
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue2.js +14 -2
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue2.js.map +1 -1
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue3.js +1 -1
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue3.js.map +1 -1
- package/dist/esm/components/CnFilesBrowser/filesBrowser.js +21 -2
- package/dist/esm/components/CnFilesBrowser/filesBrowser.js.map +1 -1
- package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue.js +1 -1
- package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue2.js +7 -0
- package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue2.js.map +1 -1
- package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue3.js +2 -2
- package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue3.js.map +1 -1
- package/dist/esm/components/CnFlowsPage/CnFlowEditorPage.vue2.js +11 -0
- package/dist/esm/components/CnFlowsPage/CnFlowEditorPage.vue2.js.map +1 -1
- package/dist/esm/components/CnFlowsPage/CnFlowEditorPage.vue3.js +2 -1
- package/dist/esm/components/CnFlowsPage/CnFlowEditorPage.vue3.js.map +1 -1
- package/dist/esm/components/CnLinkedWidget/CnLinkedWidget.vue.js +1 -1
- package/dist/esm/components/CnLinkedWidget/CnLinkedWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnLinkedWidget/CnLinkedWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnMassActionDialog/CnMassActionDialog.vue.js +9 -0
- package/dist/esm/components/CnMassActionDialog/CnMassActionDialog.vue.js.map +1 -0
- package/dist/esm/components/CnMassActionDialog/CnMassActionDialog.vue2.js +248 -0
- package/dist/esm/components/CnMassActionDialog/CnMassActionDialog.vue2.js.map +1 -0
- package/dist/esm/components/{CnMassDeleteDialog/CnMassDeleteDialog.vue3.js → CnMassActionDialog/CnMassActionDialog.vue3.js} +66 -52
- package/dist/esm/components/CnMassActionDialog/CnMassActionDialog.vue3.js.map +1 -0
- package/dist/esm/components/CnMassDeleteDialog/CnMassDeleteDialog.vue.js +0 -3
- package/dist/esm/components/CnMassDeleteDialog/CnMassDeleteDialog.vue.js.map +1 -1
- package/dist/esm/components/CnMassDeleteDialog/CnMassDeleteDialog.vue2.js +25 -121
- package/dist/esm/components/CnMassDeleteDialog/CnMassDeleteDialog.vue2.js.map +1 -1
- package/dist/esm/components/CnNotesCard/CnNotesCard.vue.js +1 -1
- package/dist/esm/components/CnNotesCard/CnNotesCard.vue2.js +11 -3
- package/dist/esm/components/CnNotesCard/CnNotesCard.vue2.js.map +1 -1
- package/dist/esm/components/CnNotesCard/CnNotesCard.vue3.js +1 -1
- package/dist/esm/components/CnNotesCard/CnNotesCard.vue3.js.map +1 -1
- package/dist/esm/components/CnObjectPartiesWidget/CnObjectPartiesWidget.vue.js +1 -1
- package/dist/esm/components/CnObjectPartiesWidget/CnObjectPartiesWidget.vue2.js +13 -6
- package/dist/esm/components/CnObjectPartiesWidget/CnObjectPartiesWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnObjectPartiesWidget/CnObjectPartiesWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue.js +1 -1
- package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue2.js +21 -1
- package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue2.js.map +1 -1
- package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue3.js +2 -2
- package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue3.js.map +1 -1
- package/dist/esm/components/CnTreeView/CnTreeNode.vue.js +1 -1
- package/dist/esm/components/CnTreeView/CnTreeNode.vue2.js.map +1 -1
- package/dist/esm/components/CnTreeView/CnTreeNode.vue3.js +23 -5
- package/dist/esm/components/CnTreeView/CnTreeNode.vue3.js.map +1 -1
- package/dist/esm/components/CnTreeView/CnTreeView.vue.js +1 -1
- package/dist/esm/components/CnTreeView/CnTreeView.vue2.js +3 -0
- package/dist/esm/components/CnTreeView/CnTreeView.vue2.js.map +1 -1
- package/dist/esm/components/CnTreeView/CnTreeView.vue3.js +14 -4
- package/dist/esm/components/CnTreeView/CnTreeView.vue3.js.map +1 -1
- package/dist/esm/dialogs/CnConfirmDialog.vue.js +1 -1
- package/dist/esm/dialogs/CnConfirmDialog.vue2.js.map +1 -1
- package/dist/esm/dialogs/CnConfirmDialog.vue3.js +5 -3
- package/dist/esm/dialogs/CnConfirmDialog.vue3.js.map +1 -1
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/integrations/builtin/contacts/CnContactsTab.vue.js +1 -1
- package/dist/esm/integrations/builtin/contacts/CnContactsTab.vue2.js +14 -3
- package/dist/esm/integrations/builtin/contacts/CnContactsTab.vue2.js.map +1 -1
- package/dist/esm/integrations/builtin/contacts/CnContactsTab.vue3.js.map +1 -1
- package/dist/esm/l10n/en.json.js +16 -1
- package/dist/esm/l10n/en.json.js.map +1 -1
- package/dist/esm/l10n/nl.json.js +16 -1
- package/dist/esm/l10n/nl.json.js.map +1 -1
- package/dist/esm/library-style.js +1 -1
- package/dist/esm/nextcloud-vue.css +874 -496
- package/dist/esm/utils/noteThreads.js +14 -2
- package/dist/esm/utils/noteThreads.js.map +1 -1
- package/dist/esm/utils/objectParties.js +50 -5
- package/dist/esm/utils/objectParties.js.map +1 -1
- package/dist/nextcloud-vue.cjs.js +11549 -10100
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +874 -496
- package/l10n/en.json +16 -1
- package/l10n/nl.json +16 -1
- package/package.json +1 -1
- package/scripts/.jsdoc-baselines.json +1 -1
- package/src/components/CnCellRenderer/CnCellRenderer.vue +7 -2
- package/src/components/CnConditionGroupEditor/CnConditionGroup.vue +528 -0
- package/src/components/CnConditionGroupEditor/CnConditionGroupEditor.vue +211 -0
- package/src/components/CnConditionGroupEditor/index.js +9 -0
- package/src/components/CnConditionListEditor/CnConditionListEditor.vue +15 -78
- package/src/components/CnConditionListEditor/CnConditionRow.vue +226 -0
- package/src/components/CnDashboardGrid/CnDashboardGrid.md +1 -0
- package/src/components/CnDashboardGrid/CnDashboardGrid.vue +100 -2
- package/src/components/CnDashboardPage/CnDashboardPage.vue +47 -3
- package/src/components/CnDetailPage/CnDetailPage.vue +8 -8
- package/src/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue +6 -0
- package/src/components/CnDetailWidgetHost/CnDetailWidgetHost.vue +9 -9
- package/src/components/CnDialogActions/CnDialogActions.vue +124 -0
- package/src/components/CnDialogActions/index.js +7 -0
- package/src/components/CnFilesBrowser/CnFilesBrowser.vue +15 -3
- package/src/components/CnFilesBrowser/filesBrowser.js +21 -2
- package/src/components/CnFlowsPage/CnFlowBoard.vue +10 -3
- package/src/components/CnFlowsPage/CnFlowEditorPage.vue +12 -0
- package/src/components/CnLinkedWidget/CnLinkedWidget.vue +7 -0
- package/src/components/CnMassActionDialog/CnMassActionDialog.vue +382 -0
- package/src/components/CnMassActionDialog/index.js +7 -0
- package/src/components/CnMassDeleteDialog/CnMassDeleteDialog.md +4 -0
- package/src/components/CnMassDeleteDialog/CnMassDeleteDialog.vue +25 -254
- package/src/components/CnNotesCard/CnNotesCard.vue +12 -4
- package/src/components/CnObjectPartiesWidget/CnObjectPartiesWidget.vue +14 -5
- package/src/components/CnObjectSidebar/CnNotesTab.vue +23 -3
- package/src/components/CnTreeView/CnTreeNode.vue +10 -1
- package/src/components/CnTreeView/CnTreeView.vue +9 -0
- package/src/components/index.js +3 -0
- package/src/css/context-menu.css +7 -0
- package/src/css/dialog.css +7 -5
- package/src/css/look-board-detail.css +120 -1
- package/src/css/look-board-index.css +21 -2
- package/src/css/look-board.css +55 -2
- package/src/dialogs/CnConfirmDialog.vue +3 -1
- package/src/index.js +3 -0
- package/src/integrations/builtin/contacts/CnContactsTab.vue +14 -3
- package/src/integrations/builtin/contacts/__tests__/CnContactsTabBoardRows.spec.js +17 -2
- package/src/utils/noteThreads.js +13 -1
- package/src/utils/objectParties.js +49 -4
- package/dist/esm/components/CnMassDeleteDialog/CnMassDeleteDialog.vue3.js.map +0 -1
|
@@ -1,113 +1,8 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<CnDialog
|
|
3
|
-
:look="look"
|
|
4
|
-
:width="width"
|
|
5
|
-
defaultWidth="confirm"
|
|
6
|
-
:eyebrow="eyebrow"
|
|
7
|
-
:subtitle="subtitle"
|
|
8
|
-
:name="dialogTitle"
|
|
9
|
-
size="normal"
|
|
10
|
-
:noClose="loading"
|
|
11
|
-
@closing="$emit('close')">
|
|
12
|
-
<!-- Review phase -->
|
|
13
|
-
<div v-if="result === null"
|
|
14
|
-
class="cn-mass-delete__review"
|
|
15
|
-
data-testid="cn-modal"
|
|
16
|
-
data-testid-modal="cn-mass-delete-dialog"
|
|
17
|
-
data-testid-phase="review">
|
|
18
|
-
<template v-if="isBoardLook">
|
|
19
|
-
<p class="cn-dialog__sentence" data-testid="cn-mass-delete-sentence">
|
|
20
|
-
{{ sentenceParts[0] }}<strong class="cn-dialog__name">{{ countLabel }}</strong>{{ sentenceParts[1] }}
|
|
21
|
-
<template v-if="irreversible">
|
|
22
|
-
{{ irreversibleText }}
|
|
23
|
-
</template>
|
|
24
|
-
</p>
|
|
25
|
-
<p class="cn-dialog__note"
|
|
26
|
-
role="note"
|
|
27
|
-
data-testid="cn-mass-delete-note">
|
|
28
|
-
<AlertOutline :size="20" aria-hidden="true" />
|
|
29
|
-
<span>{{ warningText }}</span>
|
|
30
|
-
</p>
|
|
31
|
-
</template>
|
|
32
|
-
<NcNoteCard v-else type="warning">
|
|
33
|
-
{{ warningText }}
|
|
34
|
-
</NcNoteCard>
|
|
35
|
-
|
|
36
|
-
<div class="cn-mass-delete__list">
|
|
37
|
-
<div
|
|
38
|
-
v-for="item in localItems"
|
|
39
|
-
:key="item.id"
|
|
40
|
-
class="cn-mass-delete__item">
|
|
41
|
-
<span class="cn-mass-delete__item-name">
|
|
42
|
-
{{ getItemName(item) }}
|
|
43
|
-
</span>
|
|
44
|
-
<NcButton
|
|
45
|
-
variant="tertiary"
|
|
46
|
-
:aria-label="removeLabel"
|
|
47
|
-
@click="removeItem(item.id)">
|
|
48
|
-
<template #icon>
|
|
49
|
-
<Close :size="16" />
|
|
50
|
-
</template>
|
|
51
|
-
</NcButton>
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
54
|
-
|
|
55
|
-
<p v-if="localItems.length === 0" class="cn-mass-delete__empty">
|
|
56
|
-
{{ emptyText }}
|
|
57
|
-
</p>
|
|
58
|
-
<CnConfirmValueField v-if="confirmValue !== ''"
|
|
59
|
-
v-model="typedConfirmValue"
|
|
60
|
-
:value="confirmValue"
|
|
61
|
-
:label="confirmFieldLabel" />
|
|
62
|
-
</div>
|
|
63
|
-
|
|
64
|
-
<!-- Result phase -->
|
|
65
|
-
<div v-else
|
|
66
|
-
class="cn-mass-delete__result"
|
|
67
|
-
data-testid="cn-modal"
|
|
68
|
-
data-testid-modal="cn-mass-delete-dialog"
|
|
69
|
-
data-testid-phase="result">
|
|
70
|
-
<NcNoteCard v-if="result.success" type="success">
|
|
71
|
-
{{ successText }}
|
|
72
|
-
</NcNoteCard>
|
|
73
|
-
<NcNoteCard v-if="result.error" type="error">
|
|
74
|
-
{{ result.error }}
|
|
75
|
-
</NcNoteCard>
|
|
76
|
-
</div>
|
|
77
|
-
|
|
78
|
-
<template #actions>
|
|
79
|
-
<NcButton @click="$emit('close')">
|
|
80
|
-
{{ result === null ? cancelLabel : closeLabel }}
|
|
81
|
-
</NcButton>
|
|
82
|
-
<NcButton
|
|
83
|
-
v-if="result === null"
|
|
84
|
-
variant="error"
|
|
85
|
-
:class="{ 'cn-dialog__confirm-pending': confirmValuePending }"
|
|
86
|
-
:disabled="loading || localItems.length === 0 || confirmValuePending"
|
|
87
|
-
:aria-disabled="confirmValuePending ? 'true' : undefined"
|
|
88
|
-
data-testid="cn-mass-delete-dialog-confirm"
|
|
89
|
-
@click="executeDelete">
|
|
90
|
-
<template #icon>
|
|
91
|
-
<NcLoadingIcon v-if="loading" :size="20" />
|
|
92
|
-
<TrashCanOutline v-else :size="20" />
|
|
93
|
-
</template>
|
|
94
|
-
{{ confirmLabel }}
|
|
95
|
-
</NcButton>
|
|
96
|
-
</template>
|
|
97
|
-
</CnDialog>
|
|
98
|
-
</template>
|
|
99
|
-
|
|
100
1
|
<script>
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import AlertOutline from 'vue-material-design-icons/AlertOutline.vue'
|
|
104
|
-
import Close from 'vue-material-design-icons/Close.vue'
|
|
2
|
+
import { translate as t } from '@nextcloud/l10n'
|
|
3
|
+
import { markRaw } from 'vue'
|
|
105
4
|
import TrashCanOutline from 'vue-material-design-icons/TrashCanOutline.vue'
|
|
106
|
-
import
|
|
107
|
-
import CnDialog from '../CnDialog/CnDialog.vue'
|
|
108
|
-
import { confirmValueMixin } from '../../mixins/confirmValue.js'
|
|
109
|
-
import { dialogBoardMixin } from '../../mixins/dialogBoard.js'
|
|
110
|
-
import { splitAroundPlaceholder } from '../../utils/dialogSentence.js'
|
|
5
|
+
import CnMassActionDialog from '../CnMassActionDialog/CnMassActionDialog.vue'
|
|
111
6
|
|
|
112
7
|
/**
|
|
113
8
|
* CnMassDeleteDialog — Two-phase mass delete confirmation dialog.
|
|
@@ -119,6 +14,9 @@ import { splitAroundPlaceholder } from '../../utils/dialogSentence.js'
|
|
|
119
14
|
* with the item IDs. The parent component performs the actual API call and
|
|
120
15
|
* calls `setResult()` via a ref.
|
|
121
16
|
*
|
|
17
|
+
* It is `CnMassActionDialog` with the delete texts, the `error` variant and a
|
|
18
|
+
* trash icon as defaults; every prop of that dialog applies here too.
|
|
19
|
+
*
|
|
122
20
|
* ```vue
|
|
123
21
|
* <CnMassDeleteDialog
|
|
124
22
|
* v-if="showDeleteDialog"
|
|
@@ -143,38 +41,11 @@ import { splitAroundPlaceholder } from '../../utils/dialogSentence.js'
|
|
|
143
41
|
export default {
|
|
144
42
|
name: 'CnMassDeleteDialog',
|
|
145
43
|
|
|
146
|
-
|
|
147
|
-
CnDialog,
|
|
148
|
-
NcButton,
|
|
149
|
-
NcNoteCard,
|
|
150
|
-
NcLoadingIcon,
|
|
151
|
-
TrashCanOutline,
|
|
152
|
-
Close,
|
|
153
|
-
AlertOutline,
|
|
154
|
-
CnConfirmValueField,
|
|
155
|
-
},
|
|
44
|
+
extends: CnMassActionDialog,
|
|
156
45
|
|
|
157
|
-
|
|
46
|
+
testidPrefix: 'cn-mass-delete',
|
|
158
47
|
|
|
159
48
|
props: {
|
|
160
|
-
/** Items to delete. Each must have an `id` property. */
|
|
161
|
-
items: {
|
|
162
|
-
type: Array,
|
|
163
|
-
required: true,
|
|
164
|
-
},
|
|
165
|
-
|
|
166
|
-
/** Property name used for display (e.g., 'title', 'name') */
|
|
167
|
-
nameField: {
|
|
168
|
-
type: String,
|
|
169
|
-
default: 'title',
|
|
170
|
-
},
|
|
171
|
-
|
|
172
|
-
/** Optional function to format the item name. Receives the item, returns a string. Overrides nameField when provided. */
|
|
173
|
-
nameFormatter: {
|
|
174
|
-
type: Function,
|
|
175
|
-
default: null,
|
|
176
|
-
},
|
|
177
|
-
|
|
178
49
|
/** Dialog title */
|
|
179
50
|
dialogTitle: {
|
|
180
51
|
type: String,
|
|
@@ -199,132 +70,32 @@ export default {
|
|
|
199
70
|
default: () => t('nextcloud-vue', 'Items successfully deleted.'),
|
|
200
71
|
},
|
|
201
72
|
|
|
202
|
-
/** Label for the cancel button (visible before the delete runs). */
|
|
203
|
-
cancelLabel: { type: String, default: () => t('nextcloud-vue', 'Cancel') },
|
|
204
|
-
/** Label for the close button (visible after delete completes). */
|
|
205
|
-
closeLabel: { type: String, default: () => t('nextcloud-vue', 'Close') },
|
|
206
73
|
/** Label for the primary confirm button that triggers the delete. */
|
|
207
74
|
confirmLabel: { type: String, default: () => t('nextcloud-vue', 'Delete') },
|
|
208
|
-
/** Aria label for the per-row "remove from list" icon button. */
|
|
209
|
-
removeLabel: { type: String, default: () => t('nextcloud-vue', 'Remove from list') },
|
|
210
75
|
|
|
211
|
-
/**
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
data() {
|
|
218
|
-
return {
|
|
219
|
-
localItems: [...this.items],
|
|
220
|
-
loading: false,
|
|
221
|
-
result: null,
|
|
222
|
-
closeTimeout: null,
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
|
|
226
|
-
computed: {
|
|
227
|
-
/** The board sentence around the bold item count. */
|
|
228
|
-
sentenceParts() {
|
|
229
|
-
return splitAroundPlaceholder(t('nextcloud-vue', 'Are you sure you want to permanently delete {count}?'), 'count')
|
|
230
|
-
},
|
|
231
|
-
|
|
232
|
-
countLabel() {
|
|
233
|
-
return n('nextcloud-vue', '%n item', '%n items', this.localItems.length)
|
|
234
|
-
},
|
|
235
|
-
|
|
236
|
-
irreversibleText() {
|
|
237
|
-
return t('nextcloud-vue', 'This action cannot be undone.')
|
|
238
|
-
},
|
|
239
|
-
},
|
|
240
|
-
|
|
241
|
-
watch: {
|
|
242
|
-
items(val) {
|
|
243
|
-
this.localItems = [...val]
|
|
244
|
-
},
|
|
245
|
-
},
|
|
246
|
-
|
|
247
|
-
beforeUnmount() {
|
|
248
|
-
if (this.closeTimeout) {
|
|
249
|
-
clearTimeout(this.closeTimeout)
|
|
250
|
-
}
|
|
251
|
-
},
|
|
252
|
-
|
|
253
|
-
methods: {
|
|
254
|
-
getItemName(item) {
|
|
255
|
-
if (this.nameFormatter) {
|
|
256
|
-
return this.nameFormatter(item)
|
|
257
|
-
}
|
|
258
|
-
return item[this.nameField] || item.name || item.title || item.id
|
|
259
|
-
},
|
|
260
|
-
|
|
261
|
-
removeItem(id) {
|
|
262
|
-
this.localItems = this.localItems.filter((i) => i.id !== id)
|
|
263
|
-
},
|
|
264
|
-
|
|
265
|
-
executeDelete() {
|
|
266
|
-
if (!this.confirmValueMatches) {
|
|
267
|
-
return
|
|
268
|
-
}
|
|
269
|
-
this.loading = true
|
|
270
|
-
const ids = this.localItems.map((i) => i.id)
|
|
271
|
-
/**
|
|
272
|
-
* @event confirm Emitted when the user confirms deletion.
|
|
273
|
-
* Payload: array of item IDs to delete.
|
|
274
|
-
*/
|
|
275
|
-
this.$emit('confirm', ids)
|
|
76
|
+
/** Visual variant of the primary button. */
|
|
77
|
+
variant: {
|
|
78
|
+
type: String,
|
|
79
|
+
default: 'error',
|
|
80
|
+
validator: (v) => ['primary', 'error', 'warning', 'success'].includes(v),
|
|
276
81
|
},
|
|
277
82
|
|
|
278
83
|
/**
|
|
279
|
-
*
|
|
280
|
-
*
|
|
84
|
+
* Icon on the primary button: a CnIcon name or an icon component.
|
|
85
|
+
* Defaults to a trash can.
|
|
281
86
|
*
|
|
282
|
-
* @
|
|
283
|
-
* @public
|
|
87
|
+
* @type {string|object}
|
|
284
88
|
*/
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
}, 2000)
|
|
292
|
-
}
|
|
89
|
+
confirmIcon: { type: [String, Object], default: () => markRaw(TrashCanOutline) },
|
|
90
|
+
|
|
91
|
+
/** Board look: the question above the list, with `{count}` where the bold item count goes. */
|
|
92
|
+
sentence: {
|
|
93
|
+
type: String,
|
|
94
|
+
default: () => t('nextcloud-vue', 'Are you sure you want to permanently delete {count}?'),
|
|
293
95
|
},
|
|
96
|
+
|
|
97
|
+
/** Board look: end the sentence with "This action cannot be undone." */
|
|
98
|
+
irreversible: { type: Boolean, default: true },
|
|
294
99
|
},
|
|
295
100
|
}
|
|
296
101
|
</script>
|
|
297
|
-
|
|
298
|
-
<style scoped>
|
|
299
|
-
.cn-mass-delete__list {
|
|
300
|
-
max-height: 300px;
|
|
301
|
-
overflow-y: auto;
|
|
302
|
-
margin-top: 12px;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
.cn-mass-delete__item {
|
|
306
|
-
display: flex;
|
|
307
|
-
align-items: center;
|
|
308
|
-
justify-content: space-between;
|
|
309
|
-
padding: 8px 12px;
|
|
310
|
-
border-bottom: 1px solid var(--color-border);
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
.cn-mass-delete__item:last-child {
|
|
314
|
-
border-bottom: none;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
.cn-mass-delete__item-name {
|
|
318
|
-
font-weight: 500;
|
|
319
|
-
overflow: hidden;
|
|
320
|
-
text-overflow: ellipsis;
|
|
321
|
-
white-space: nowrap;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
.cn-mass-delete__empty {
|
|
325
|
-
text-align: center;
|
|
326
|
-
color: var(--color-text-maxcontrast);
|
|
327
|
-
font-style: italic;
|
|
328
|
-
padding: 20px;
|
|
329
|
-
}
|
|
330
|
-
</style>
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
<strong v-else class="cn-notes-card__author cn-notes-card__author--self">
|
|
108
108
|
{{ getNoteAuthorName(row.note) }}
|
|
109
109
|
</strong>
|
|
110
|
-
<span class="cn-notes-card__time">{{ formatDate(row.note
|
|
110
|
+
<span class="cn-notes-card__time">{{ formatDate(noteCreatedAt(row.note)) }}</span>
|
|
111
111
|
</div>
|
|
112
112
|
<div v-if="visibilityShown" class="cn-notes-card__visibility">
|
|
113
113
|
<CnVisibilityChip :visibility="row.note.visibility" />
|
|
@@ -182,7 +182,7 @@ import { buildHeaders, prefixUrl } from '../../utils/index.js'
|
|
|
182
182
|
import { initialsOf } from '../../utils/initials.js'
|
|
183
183
|
import { leafSourceUrl } from '../../utils/leafSourceUrl.js'
|
|
184
184
|
import { extractMentionedGroupIds, extractMentionedIds } from '../../utils/mentions.js'
|
|
185
|
-
import { quoteFor, supportsReplies, threadNotes, threadRootId } from '../../utils/noteThreads.js'
|
|
185
|
+
import { noteCreatedAt, quoteFor, supportsReplies, threadNotes, threadRootId } from '../../utils/noteThreads.js'
|
|
186
186
|
import { serverErrorMessage } from '../../utils/serverErrorMessage.js'
|
|
187
187
|
import { userLocale } from '../../utils/userLocale.js'
|
|
188
188
|
|
|
@@ -493,11 +493,17 @@ export default {
|
|
|
493
493
|
return this.replyTo ? t('nextcloud-vue', 'Replying to {author}', { author: this.getNoteAuthorName(this.replyTo) }) : ''
|
|
494
494
|
},
|
|
495
495
|
|
|
496
|
+
/**
|
|
497
|
+
* The notes newest first, up to the card's limit.
|
|
498
|
+
*
|
|
499
|
+
* @return {Array<object>} The notes shown.
|
|
500
|
+
* @spec openspec/changes/notes-tab-authored-rows/specs/notes-tab-authored-rows/spec.md#requirement-the-notes-tab-can-draw-a-note-as-an-authored-row
|
|
501
|
+
*/
|
|
496
502
|
displayedNotes() {
|
|
497
503
|
// Reverse chronological, limited to maxDisplay
|
|
498
504
|
const sorted = [...this.allNotes].sort((a, b) => {
|
|
499
|
-
const dateA = new Date(a
|
|
500
|
-
const dateB = new Date(b
|
|
505
|
+
const dateA = new Date(noteCreatedAt(a) || 0)
|
|
506
|
+
const dateB = new Date(noteCreatedAt(b) || 0)
|
|
501
507
|
return dateB - dateA
|
|
502
508
|
})
|
|
503
509
|
return sorted.slice(0, this.maxDisplay)
|
|
@@ -534,6 +540,8 @@ export default {
|
|
|
534
540
|
},
|
|
535
541
|
|
|
536
542
|
methods: {
|
|
543
|
+
noteCreatedAt,
|
|
544
|
+
|
|
537
545
|
/**
|
|
538
546
|
* A note's visibility; an entry with no value reads as internal.
|
|
539
547
|
*
|
|
@@ -262,8 +262,10 @@ import {
|
|
|
262
262
|
kindCode,
|
|
263
263
|
newPartyRecord,
|
|
264
264
|
partyKindAccepted,
|
|
265
|
+
partyNoteOf,
|
|
265
266
|
representedByMap,
|
|
266
267
|
roleLabel,
|
|
268
|
+
roleRowsByParticipant,
|
|
267
269
|
rolesInOrder,
|
|
268
270
|
savedUuid,
|
|
269
271
|
showsNoSecrecy,
|
|
@@ -374,7 +376,9 @@ export default {
|
|
|
374
376
|
* The configuration: `rolesSource` (the listing URL, default
|
|
375
377
|
* OpenRegister's `/parties` of this record), `partySource` (one
|
|
376
378
|
* party, `{uuid}` filled in), `rolesObjects` (`{ register, schema,
|
|
377
|
-
* field }`, the role rows that say who represents whom), `
|
|
379
|
+
* field }`, the role rows that say who represents whom), `note`
|
|
380
|
+
* (`{ from: "roles", field }`: a board row prints that field of the
|
|
381
|
+
* party's role row instead of the link's note), `roleLabels`,
|
|
378
382
|
* `kindsSource` (`{ url, enforce?, sourceText? }`), `extraLines`
|
|
379
383
|
* (`[{ endpoint, path?, valueLabels?, lines }]`, one request per
|
|
380
384
|
* party, `{party}` filled in), `correspondence` (`{ endpoint, path?,
|
|
@@ -417,6 +421,7 @@ export default {
|
|
|
417
421
|
failed: false,
|
|
418
422
|
listing: null,
|
|
419
423
|
partyRecords: {},
|
|
424
|
+
roleRows: {},
|
|
420
425
|
represented: {},
|
|
421
426
|
kinds: null,
|
|
422
427
|
extra: {},
|
|
@@ -826,6 +831,7 @@ export default {
|
|
|
826
831
|
this.failed = false
|
|
827
832
|
this.partyRecords = {}
|
|
828
833
|
this.represented = {}
|
|
834
|
+
this.roleRows = {}
|
|
829
835
|
this.extra = {}
|
|
830
836
|
this.documents = []
|
|
831
837
|
const listing = await this.read(this.urlOf(this.content?.rolesSource || '/apps/openregister/api/objects/@register/@schema/@objectId/parties'))
|
|
@@ -864,6 +870,7 @@ export default {
|
|
|
864
870
|
const data = await this.read(`/apps/openregister/api/objects/${encodeURIComponent(source.register)}/${encodeURIComponent(source.schema)}`, { [source.field || 'object']: String(this.objectId), _limit: 200 })
|
|
865
871
|
const rows = Array.isArray(data?.results) ? data.results : (Array.isArray(data) ? data : [])
|
|
866
872
|
this.represented = representedByMap(rows)
|
|
873
|
+
this.roleRows = roleRowsByParticipant(rows)
|
|
867
874
|
},
|
|
868
875
|
|
|
869
876
|
/** @return {Promise<void>} The kinds this record accepts. */
|
|
@@ -1040,8 +1047,9 @@ export default {
|
|
|
1040
1047
|
*/
|
|
1041
1048
|
/**
|
|
1042
1049
|
* The board row's meta line (design-system #811): the primary mark,
|
|
1043
|
-
* the role, the link's
|
|
1044
|
-
*
|
|
1050
|
+
* the role, the note (the link's, or the role row's field named by
|
|
1051
|
+
* `content.note`), whom the party represents when no note says it,
|
|
1052
|
+
* its extra lines, e-mail and documents.
|
|
1045
1053
|
*
|
|
1046
1054
|
* @param {object} party The party.
|
|
1047
1055
|
* @param {object} group Its role group.
|
|
@@ -1050,15 +1058,16 @@ export default {
|
|
|
1050
1058
|
*/
|
|
1051
1059
|
boardMetaOf(party, group) {
|
|
1052
1060
|
const extras = []
|
|
1061
|
+
const note = partyNoteOf(party, this.roleRows, this.content?.note)
|
|
1053
1062
|
const represented = this.representedBy(party)
|
|
1054
|
-
if (represented && !
|
|
1063
|
+
if (represented && !note) {
|
|
1055
1064
|
extras.push(`${this.label('representedBy')}: ${represented}`)
|
|
1056
1065
|
}
|
|
1057
1066
|
extras.push(...this.extraLinesOf(party), party.email, this.correspondenceOf(party))
|
|
1058
1067
|
return boardMetaLine({
|
|
1059
1068
|
primary: this.primary && party.partyUuid === this.primary ? this.label('primary') : '',
|
|
1060
1069
|
role: group.label,
|
|
1061
|
-
note
|
|
1070
|
+
note,
|
|
1062
1071
|
extras,
|
|
1063
1072
|
})
|
|
1064
1073
|
},
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
</template>
|
|
102
102
|
<template v-if="authoredRows" #subname>
|
|
103
103
|
<span v-if="row.quote" class="cn-notes-tab__quote" data-testid="cn-note-quote">{{ row.quote }}</span>
|
|
104
|
-
<span class="cn-notes-tab__meta">{{ authorOf(row.note) }} · {{
|
|
104
|
+
<span class="cn-notes-tab__meta">{{ authorOf(row.note) }} · {{ authoredTime(row.note) }}</span>
|
|
105
105
|
<span
|
|
106
106
|
v-if="wasEdited(row.note)"
|
|
107
107
|
class="cn-notes-tab__edited"
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
</span>
|
|
115
115
|
</template>
|
|
116
116
|
<template v-if="!authoredRows" #details>
|
|
117
|
-
{{ formatDate(row.note
|
|
117
|
+
{{ formatDate(noteCreatedAt(row.note)) }}
|
|
118
118
|
<!-- An edited note says so where its time is, because that
|
|
119
119
|
is where a reader already looks to date what they are
|
|
120
120
|
reading. The line names the editor, so nobody has to
|
|
@@ -204,10 +204,11 @@ import CnIcon from '../CnIcon/CnIcon.vue'
|
|
|
204
204
|
import CnNoteBody from '../CnNoteBody/CnNoteBody.vue'
|
|
205
205
|
import CnNoteComposer from '../CnNoteComposer/CnNoteComposer.vue'
|
|
206
206
|
import { interpolateUrlTokens } from '../../composables/useEndpointSource.js'
|
|
207
|
+
import { formatBoardDate, formatTimeOfDay } from '../../utils/boardDate.js'
|
|
207
208
|
import { buildHeaders, prefixUrl } from '../../utils/index.js'
|
|
208
209
|
import { initialsOf } from '../../utils/initials.js'
|
|
209
210
|
import { extractMentionedGroupIds, extractMentionedIds } from '../../utils/mentions.js'
|
|
210
|
-
import { quoteFor, supportsReplies, threadNotes, threadRootId } from '../../utils/noteThreads.js'
|
|
211
|
+
import { noteCreatedAt, quoteFor, supportsReplies, threadNotes, threadRootId } from '../../utils/noteThreads.js'
|
|
211
212
|
import { searchNextcloudUsers } from '../../utils/userAutocomplete.js'
|
|
212
213
|
import { userLocale } from '../../utils/userLocale.js'
|
|
213
214
|
|
|
@@ -768,6 +769,25 @@ export default {
|
|
|
768
769
|
}
|
|
769
770
|
},
|
|
770
771
|
|
|
772
|
+
noteCreatedAt,
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* The time on an authored row, as the boards write it: "6 okt 15:52",
|
|
776
|
+
* with the year outside the current one.
|
|
777
|
+
*
|
|
778
|
+
* @param {object} note The note.
|
|
779
|
+
* @return {string} The time, or '' when the note has none.
|
|
780
|
+
* @spec openspec/changes/notes-tab-authored-rows/specs/notes-tab-authored-rows/spec.md#requirement-the-notes-tab-can-draw-a-note-as-an-authored-row
|
|
781
|
+
*/
|
|
782
|
+
authoredTime(note) {
|
|
783
|
+
const value = noteCreatedAt(note)
|
|
784
|
+
const date = value ? new Date(value) : null
|
|
785
|
+
if (date === null || Number.isNaN(date.getTime())) {
|
|
786
|
+
return ''
|
|
787
|
+
}
|
|
788
|
+
return formatBoardDate(date) + ' ' + formatTimeOfDay(date)
|
|
789
|
+
},
|
|
790
|
+
|
|
771
791
|
formatDate(dateStr) {
|
|
772
792
|
if (!dateStr) {
|
|
773
793
|
return ''
|
|
@@ -21,7 +21,13 @@
|
|
|
21
21
|
<span v-else class="cn-tree-node__toggle cn-tree-node__toggle--leaf" />
|
|
22
22
|
|
|
23
23
|
<span v-if="node.icon" class="cn-tree-node__icon">{{ node.icon }}</span>
|
|
24
|
-
<span class="cn-tree-node__label">
|
|
24
|
+
<span class="cn-tree-node__label">
|
|
25
|
+
<!-- @slot label The row's label. Scope: { node, depth, expanded }. Defaults to the node's label text. -->
|
|
26
|
+
<slot name="label"
|
|
27
|
+
:node="node"
|
|
28
|
+
:depth="depth"
|
|
29
|
+
:expanded="isExpanded">{{ node[labelKey] }}</slot>
|
|
30
|
+
</span>
|
|
25
31
|
<span v-if="node.badge !== undefined" class="cn-tree-node__badge">{{ node.badge }}</span>
|
|
26
32
|
|
|
27
33
|
<!-- @slot actions Inline per-row actions slot. Scope:
|
|
@@ -47,6 +53,9 @@
|
|
|
47
53
|
<template #actions="scope">
|
|
48
54
|
<slot name="actions" v-bind="scope" />
|
|
49
55
|
</template>
|
|
56
|
+
<template v-if="$slots.label" #label="scope">
|
|
57
|
+
<slot name="label" v-bind="scope" />
|
|
58
|
+
</template>
|
|
50
59
|
</CnTreeNode>
|
|
51
60
|
</ul>
|
|
52
61
|
</li>
|
|
@@ -33,6 +33,12 @@
|
|
|
33
33
|
{ node, depth }. -->
|
|
34
34
|
<slot name="actions" v-bind="scope" />
|
|
35
35
|
</template>
|
|
36
|
+
<template v-if="$slots.label" #label="scope">
|
|
37
|
+
<!-- @slot label Replaces the label text of every row. Scope:
|
|
38
|
+
{ node, depth, expanded }. Unused, the row shows
|
|
39
|
+
`node[labelKey]`. -->
|
|
40
|
+
<slot name="label" v-bind="scope" />
|
|
41
|
+
</template>
|
|
36
42
|
</CnTreeNode>
|
|
37
43
|
</ul>
|
|
38
44
|
</div>
|
|
@@ -69,6 +75,9 @@ import CnTreeNode from './CnTreeNode.vue'
|
|
|
69
75
|
* Slots:
|
|
70
76
|
* - `#actions` — inline per-row actions (e.g. edit / delete
|
|
71
77
|
* buttons). Scope: `{ node, depth }`.
|
|
78
|
+
* - `#label` — the label of every row, for an icon, a marker or a test id
|
|
79
|
+
* next to the text. Scope: `{ node, depth, expanded }`. Unused, the row
|
|
80
|
+
* shows `node[labelKey]`.
|
|
72
81
|
*/
|
|
73
82
|
export default {
|
|
74
83
|
name: 'CnTreeView',
|
package/src/components/index.js
CHANGED
|
@@ -8,6 +8,7 @@ export { CnDataTable } from './CnDataTable/index.js'
|
|
|
8
8
|
export { CnDataMatrix } from './CnDataMatrix/index.js'
|
|
9
9
|
export { CnFilterBar } from './CnFilterBar/index.js'
|
|
10
10
|
export { CnConditionListEditor } from './CnConditionListEditor/index.js'
|
|
11
|
+
export { CnConditionGroupEditor } from './CnConditionGroupEditor/index.js'
|
|
11
12
|
export { CnCronField } from './CnCronField/index.js'
|
|
12
13
|
export { CnFileField } from './CnFileField/index.js'
|
|
13
14
|
export { CnOfflineQueue } from './CnOfflineQueue/index.js'
|
|
@@ -61,9 +62,11 @@ export { CnCopyDialog } from './CnCopyDialog/index.js'
|
|
|
61
62
|
export { CnFieldHelper } from './CnFieldHelper/index.js'
|
|
62
63
|
export { CnFormDialog } from './CnFormDialog/index.js'
|
|
63
64
|
export { CnDialog } from './CnDialog/index.js'
|
|
65
|
+
export { CnDialogActions } from './CnDialogActions/index.js'
|
|
64
66
|
export { CnDialogHeader } from './CnDialogHeader/index.js'
|
|
65
67
|
export { CnFormBuilder } from './CnFormBuilder/index.js'
|
|
66
68
|
export { CnAdvancedFormDialog, CnMetadataTab, CnPropertiesTab, CnPropertyValueCell } from './CnAdvancedFormDialog/index.js'
|
|
69
|
+
export { CnMassActionDialog } from './CnMassActionDialog/index.js'
|
|
67
70
|
export { CnMassDeleteDialog } from './CnMassDeleteDialog/index.js'
|
|
68
71
|
export { CnMassCopyDialog } from './CnMassCopyDialog/index.js'
|
|
69
72
|
export { CnKpiGrid } from './CnKpiGrid/index.js'
|
package/src/css/context-menu.css
CHANGED
|
@@ -39,3 +39,10 @@
|
|
|
39
39
|
.cn-row-action--destructive {
|
|
40
40
|
color: var(--color-error) !important;
|
|
41
41
|
}
|
|
42
|
+
|
|
43
|
+
/* Nextcloud gives the button or link inside the <li> its own ink, so the
|
|
44
|
+
colour names them as well. */
|
|
45
|
+
.cn-row-action--destructive > .action-button,
|
|
46
|
+
.cn-row-action--destructive > .action-link {
|
|
47
|
+
color: var(--color-error) !important;
|
|
48
|
+
}
|
package/src/css/dialog.css
CHANGED
|
@@ -571,16 +571,18 @@ body:has(.cn-look-board):not(:has(.cn-look-nextcloud)) .modal-mask {
|
|
|
571
571
|
}
|
|
572
572
|
|
|
573
573
|
/* A field's help line sits right under the control in 13px muted ink, flush
|
|
574
|
-
with the label,
|
|
575
|
-
eenmalige code gaat naar dit adres.",
|
|
576
|
-
`!important` against a
|
|
577
|
-
|
|
574
|
+
with the label, on the font's own leading, as the boards draw it
|
|
575
|
+
(PtUitnodigen "De uitnodiging met een eenmalige code gaat naar dit adres.",
|
|
576
|
+
PtAccountUitgeven, DqZaakLocatie). The ink carries `!important` against a
|
|
577
|
+
theme that colours every span and p (thematiq).
|
|
578
|
+
@spec openspec/changes/board-dialog-field-help/specs/board-dialog-field-help/spec.md#requirement-a-board-dialog-fields-help-line-is-13px-muted-under-the-control
|
|
579
|
+
@spec openspec/changes/board-dialog-help-normal-leading/specs/board-dialog-help-normal-leading/spec.md#requirement-a-board-dialog-fields-help-line-stands-on-the-fonts-own-leading */
|
|
578
580
|
.cn-dialog-board .dialog__content .input-field__helper-text-message,
|
|
579
581
|
.cn-dialog-board .dialog__content .textarea__helper-text-message {
|
|
580
582
|
padding: 4px 0 0;
|
|
581
583
|
color: var(--color-text-maxcontrast) !important;
|
|
582
584
|
font-size: 13px;
|
|
583
|
-
line-height:
|
|
585
|
+
line-height: normal;
|
|
584
586
|
}
|
|
585
587
|
|
|
586
588
|
.cn-dialog-board .dialog__content .input-field:has(.input-field__label) .input-field__input:not(:focus)::placeholder,
|