@conduction/nextcloud-vue 2.151.0 → 2.153.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 (147) hide show
  1. package/dist/esm/components/CnAiCompanion/CnAiFloatingButton.vue2.js +13 -1
  2. package/dist/esm/components/CnAiCompanion/CnAiFloatingButton.vue2.js.map +1 -1
  3. package/dist/esm/components/CnAiCompanion/CnAiFloatingButton.vue3.js +1 -1
  4. package/dist/esm/components/CnAiCompanion/CnAiFloatingButton.vue3.js.map +1 -1
  5. package/dist/esm/components/CnAiCompanion/CnAiInput.vue2.js.map +1 -1
  6. package/dist/esm/components/CnAiCompanion/CnAiInput.vue3.js.map +1 -1
  7. package/dist/esm/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue.js +1 -1
  8. package/dist/esm/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue2.js.map +1 -1
  9. package/dist/esm/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue3.js +1 -1
  10. package/dist/esm/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue3.js.map +1 -1
  11. package/dist/esm/components/CnAuditTrailCard/CnAuditTrailCard.vue.js +1 -1
  12. package/dist/esm/components/CnAuditTrailCard/CnAuditTrailCard.vue2.js +30 -5
  13. package/dist/esm/components/CnAuditTrailCard/CnAuditTrailCard.vue2.js.map +1 -1
  14. package/dist/esm/components/CnAuditTrailCard/CnAuditTrailCard.vue3.js.map +1 -1
  15. package/dist/esm/components/CnBannerWidget/CnBannerWidget.vue.js +1 -1
  16. package/dist/esm/components/CnBannerWidget/CnBannerWidget.vue2.js +38 -0
  17. package/dist/esm/components/CnBannerWidget/CnBannerWidget.vue2.js.map +1 -1
  18. package/dist/esm/components/CnBannerWidget/CnBannerWidget.vue3.js.map +1 -1
  19. package/dist/esm/components/CnConversationThread/CnConversationThread.vue.js +1 -1
  20. package/dist/esm/components/CnConversationThread/CnConversationThread.vue2.js +2 -1
  21. package/dist/esm/components/CnConversationThread/CnConversationThread.vue2.js.map +1 -1
  22. package/dist/esm/components/CnConversationThread/CnConversationThread.vue3.js +33 -25
  23. package/dist/esm/components/CnConversationThread/CnConversationThread.vue3.js.map +1 -1
  24. package/dist/esm/components/CnConversationThread/CnConversationWidget.vue.js +1 -1
  25. package/dist/esm/components/CnConversationThread/CnConversationWidget.vue2.js +22 -2
  26. package/dist/esm/components/CnConversationThread/CnConversationWidget.vue2.js.map +1 -1
  27. package/dist/esm/components/CnConversationThread/CnConversationWidget.vue3.js.map +1 -1
  28. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue.js +1 -1
  29. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js.map +1 -1
  30. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js.map +1 -1
  31. package/dist/esm/components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue.js +1 -1
  32. package/dist/esm/components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue2.js +7 -1
  33. package/dist/esm/components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue2.js.map +1 -1
  34. package/dist/esm/components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue3.js.map +1 -1
  35. package/dist/esm/components/CnExportsWidget/CnExportsWidget.vue.js +1 -1
  36. package/dist/esm/components/CnExportsWidget/CnExportsWidget.vue2.js +2 -1
  37. package/dist/esm/components/CnExportsWidget/CnExportsWidget.vue2.js.map +1 -1
  38. package/dist/esm/components/CnExportsWidget/CnExportsWidget.vue3.js +6 -2
  39. package/dist/esm/components/CnExportsWidget/CnExportsWidget.vue3.js.map +1 -1
  40. package/dist/esm/components/CnFeaturesBoard/CnFeaturesBoard.vue.js +1 -1
  41. package/dist/esm/components/CnFeaturesBoard/CnFeaturesBoard.vue2.js.map +1 -1
  42. package/dist/esm/components/CnFeaturesBoard/CnFeaturesBoard.vue3.js.map +1 -1
  43. package/dist/esm/components/CnFieldListWidget/CnFieldListWidget.vue.js +1 -1
  44. package/dist/esm/components/CnFieldListWidget/CnFieldListWidget.vue2.js +3 -1
  45. package/dist/esm/components/CnFieldListWidget/CnFieldListWidget.vue2.js.map +1 -1
  46. package/dist/esm/components/CnFieldListWidget/CnFieldListWidget.vue3.js +31 -9
  47. package/dist/esm/components/CnFieldListWidget/CnFieldListWidget.vue3.js.map +1 -1
  48. package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js +21 -3
  49. package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js.map +1 -1
  50. package/dist/esm/components/CnIndexPage/CnIndexPage.vue3.js.map +1 -1
  51. package/dist/esm/components/CnMapWidget/CnMapWidget.vue.js +1 -1
  52. package/dist/esm/components/CnMapWidget/CnMapWidget.vue2.js +20 -0
  53. package/dist/esm/components/CnMapWidget/CnMapWidget.vue2.js.map +1 -1
  54. package/dist/esm/components/CnMapWidget/CnMapWidget.vue3.js.map +1 -1
  55. package/dist/esm/components/CnNotificationMatrix/CnNotificationMatrix.vue.js +1 -1
  56. package/dist/esm/components/CnNotificationMatrix/CnNotificationMatrix.vue2.js.map +1 -1
  57. package/dist/esm/components/CnNotificationMatrix/CnNotificationMatrix.vue3.js.map +1 -1
  58. package/dist/esm/components/CnPlanWidget/CnPlanWidget.vue.js +1 -1
  59. package/dist/esm/components/CnPlanWidget/CnPlanWidget.vue2.js +18 -1
  60. package/dist/esm/components/CnPlanWidget/CnPlanWidget.vue2.js.map +1 -1
  61. package/dist/esm/components/CnPlanWidget/CnPlanWidget.vue3.js +4 -2
  62. package/dist/esm/components/CnPlanWidget/CnPlanWidget.vue3.js.map +1 -1
  63. package/dist/esm/components/CnPlanWidget/CnPlanWidgetRow.vue.js +1 -1
  64. package/dist/esm/components/CnPlanWidget/CnPlanWidgetRow.vue2.js +25 -3
  65. package/dist/esm/components/CnPlanWidget/CnPlanWidgetRow.vue2.js.map +1 -1
  66. package/dist/esm/components/CnPlanWidget/CnPlanWidgetRow.vue3.js +1 -1
  67. package/dist/esm/components/CnPlanWidget/CnPlanWidgetRow.vue3.js.map +1 -1
  68. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue.js +1 -1
  69. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js +31 -1
  70. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js.map +1 -1
  71. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js +102 -97
  72. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js.map +1 -1
  73. package/dist/esm/components/CnSavedViewLookFields/CnSavedViewLookFields.vue.js +1 -1
  74. package/dist/esm/components/CnSavedViewLookFields/CnSavedViewLookFields.vue2.js +33 -0
  75. package/dist/esm/components/CnSavedViewLookFields/CnSavedViewLookFields.vue2.js.map +1 -1
  76. package/dist/esm/components/CnSavedViewLookFields/CnSavedViewLookFields.vue3.js +2 -2
  77. package/dist/esm/components/CnSavedViewLookFields/CnSavedViewLookFields.vue3.js.map +1 -1
  78. package/dist/esm/components/CnSettingsField/CnSettingsField.vue.js +1 -1
  79. package/dist/esm/components/CnSettingsField/CnSettingsField.vue2.js +2 -1
  80. package/dist/esm/components/CnSettingsField/CnSettingsField.vue2.js.map +1 -1
  81. package/dist/esm/components/CnSettingsField/CnSettingsField.vue3.js +15 -13
  82. package/dist/esm/components/CnSettingsField/CnSettingsField.vue3.js.map +1 -1
  83. package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue.js +1 -1
  84. package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue2.js +27 -0
  85. package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue2.js.map +1 -1
  86. package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue3.js +6 -6
  87. package/dist/esm/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue3.js.map +1 -1
  88. package/dist/esm/components/CnStepper/CnStepper.vue.js +1 -1
  89. package/dist/esm/components/CnStepper/CnStepper.vue2.js.map +1 -1
  90. package/dist/esm/components/CnStepper/CnStepper.vue3.js.map +1 -1
  91. package/dist/esm/components/CnTimelineWidget/CnTimelineManage.vue.js +1 -1
  92. package/dist/esm/components/CnTimelineWidget/CnTimelineManage.vue2.js.map +1 -1
  93. package/dist/esm/components/CnTimelineWidget/CnTimelineManage.vue3.js +14 -14
  94. package/dist/esm/components/CnTimelineWidget/CnTimelineManage.vue3.js.map +1 -1
  95. package/dist/esm/composables/indexSources.js +4 -1
  96. package/dist/esm/composables/indexSources.js.map +1 -1
  97. package/dist/esm/l10n/en.json.js +30 -1
  98. package/dist/esm/l10n/en.json.js.map +1 -1
  99. package/dist/esm/l10n/nl.json.js +31 -2
  100. package/dist/esm/l10n/nl.json.js.map +1 -1
  101. package/dist/esm/library-style.js +1 -1
  102. package/dist/esm/nextcloud-vue.css +1129 -567
  103. package/dist/esm/utils/fillTemplate.js +12 -2
  104. package/dist/esm/utils/fillTemplate.js.map +1 -1
  105. package/dist/esm/utils/libraryTranslate.js +19 -1
  106. package/dist/esm/utils/libraryTranslate.js.map +1 -1
  107. package/dist/esm/utils/savedViewSummary.js +109 -4
  108. package/dist/esm/utils/savedViewSummary.js.map +1 -1
  109. package/dist/nextcloud-vue.cjs.js +1096 -592
  110. package/dist/nextcloud-vue.cjs.js.map +2 -2
  111. package/dist/nextcloud-vue.css +1129 -567
  112. package/l10n/en.json +30 -1
  113. package/l10n/nl.json +31 -2
  114. package/package.json +1 -1
  115. package/src/components/CnAiCompanion/CnAiFloatingButton.vue +14 -2
  116. package/src/components/CnAiCompanion/CnAiInput.vue +19 -0
  117. package/src/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue +7 -1
  118. package/src/components/CnAuditTrailCard/CnAuditTrailCard.vue +30 -5
  119. package/src/components/CnBannerWidget/CnBannerWidget.vue +38 -0
  120. package/src/components/CnConversationThread/CnConversationThread.vue +7 -1
  121. package/src/components/CnConversationThread/CnConversationWidget.vue +22 -2
  122. package/src/components/CnDashboardPage/CnDashboardPage.vue +17 -0
  123. package/src/components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue +16 -1
  124. package/src/components/CnExportsWidget/CnExportsWidget.vue +5 -1
  125. package/src/components/CnFeaturesBoard/CnFeaturesBoard.vue +2 -0
  126. package/src/components/CnFieldListWidget/CnFieldListWidget.vue +18 -4
  127. package/src/components/CnIndexPage/CnIndexPage.vue +21 -3
  128. package/src/components/CnMapWidget/CnMapWidget.vue +20 -0
  129. package/src/components/CnNotificationMatrix/CnNotificationMatrix.vue +23 -0
  130. package/src/components/CnPlanWidget/CnPlanWidget.vue +20 -1
  131. package/src/components/CnPlanWidget/CnPlanWidgetRow.vue +26 -4
  132. package/src/components/CnRecordListWidget/CnRecordListWidget.vue +73 -5
  133. package/src/components/CnSavedViewLookFields/CnSavedViewLookFields.vue +35 -2
  134. package/src/components/CnSettingsField/CnSettingsField.vue +5 -3
  135. package/src/components/CnSettingsFieldsSection/CnSettingsFieldsSection.vue +31 -4
  136. package/src/components/CnStepper/CnStepper.vue +7 -5
  137. package/src/components/CnTimelineWidget/CnTimelineManage.vue +9 -4
  138. package/src/composables/indexSources.js +4 -1
  139. package/src/css/dialog.css +18 -3
  140. package/src/css/form-field.css +11 -0
  141. package/src/css/look-board-detail.css +124 -1
  142. package/src/css/look-board-index.css +75 -9
  143. package/src/css/look-board.css +242 -6
  144. package/src/css/patches.css +5 -5
  145. package/src/utils/fillTemplate.js +12 -2
  146. package/src/utils/libraryTranslate.js +18 -0
  147. package/src/utils/savedViewSummary.js +109 -4
@@ -146,6 +146,7 @@ var TrendingDown = require('vue-material-design-icons/TrendingDown.vue');
146
146
  var TrendingNeutral = require('vue-material-design-icons/TrendingNeutral.vue');
147
147
  var TrendingUpIcon = require('vue-material-design-icons/TrendingUp.vue');
148
148
  var MapMarkerOff = require('vue-material-design-icons/MapMarkerOff.vue');
149
+ var DownloadOutline = require('vue-material-design-icons/DownloadOutline.vue');
149
150
  var Video = require('vue-material-design-icons/Video.vue');
150
151
  var CheckCircle = require('vue-material-design-icons/CheckCircle.vue');
151
152
  var CircleOutline = require('vue-material-design-icons/CircleOutline.vue');
@@ -157,6 +158,7 @@ var CloudCheckOutline = require('vue-material-design-icons/CloudCheckOutline.vue
157
158
  var CloudOffOutline = require('vue-material-design-icons/CloudOffOutline.vue');
158
159
  var EmailOffOutline = require('vue-material-design-icons/EmailOffOutline.vue');
159
160
  var AlertOutline = require('vue-material-design-icons/AlertOutline.vue');
161
+ var DeleteOutline = require('vue-material-design-icons/DeleteOutline.vue');
160
162
  var FlagOutline = require('vue-material-design-icons/FlagOutline.vue');
161
163
  var CheckDecagram = require('vue-material-design-icons/CheckDecagram.vue');
162
164
  var ContentPaste = require('vue-material-design-icons/ContentPaste.vue');
@@ -276,7 +278,6 @@ var CalendarRemoveOutlineIcon = require('vue-material-design-icons/CalendarRemov
276
278
  var TuneVariant = require('vue-material-design-icons/TuneVariant.vue');
277
279
  var ViewColumn = require('vue-material-design-icons/ViewColumn.vue');
278
280
  var SquareOutline = require('vue-material-design-icons/SquareOutline.vue');
279
- var DeleteOutline = require('vue-material-design-icons/DeleteOutline.vue');
280
281
  var PackageVariantClosed = require('vue-material-design-icons/PackageVariantClosed.vue');
281
282
  var js = require('@mdi/js');
282
283
  var NcButton = require('@nextcloud/vue/components/NcButton');
@@ -3626,7 +3627,24 @@ var translations$s = {
3626
3627
  "Move {item}, use the arrow keys": "Move {item}, use the arrow keys",
3627
3628
  Invited: "Invited",
3628
3629
  Accepted: "Accepted",
3629
- Declined: "Declined"
3630
+ Declined: "Declined",
3631
+ Clock: "Clock",
3632
+ "Clock with warning": "Clock with warning",
3633
+ "Calendar with clock": "Calendar with clock",
3634
+ Attention: "Attention",
3635
+ Label: "Label",
3636
+ Bell: "Bell",
3637
+ Scales: "Scales",
3638
+ Briefcase: "Briefcase",
3639
+ Eye: "Eye",
3640
+ Euro: "Euro",
3641
+ Ready: "Ready",
3642
+ "Map layers": "Map layers",
3643
+ you: "you",
3644
+ "my team": "my team",
3645
+ "Subject: {subject}": "Subject: {subject}",
3646
+ Optional: "Optional",
3647
+ Reached: "Reached"
3630
3648
  };
3631
3649
  var plurals$1 = {
3632
3650
  "{count} member": [
@@ -3835,6 +3853,18 @@ var plurals$1 = {
3835
3853
  "{names} has no location, so it is not on the map.": [
3836
3854
  "{names} has no location, so it is not on the map.",
3837
3855
  "{names} have no location, so they are not on the map."
3856
+ ],
3857
+ "in %n day": [
3858
+ "in %n day",
3859
+ "in %n days"
3860
+ ],
3861
+ "%n day ago": [
3862
+ "%n day ago",
3863
+ "%n days ago"
3864
+ ],
3865
+ "%n attachment": [
3866
+ "%n attachment",
3867
+ "%n attachments"
3838
3868
  ]
3839
3869
  };
3840
3870
  var en = {
@@ -4145,7 +4175,7 @@ var translations$c = {
4145
4175
  Advanced: "Geavanceerd",
4146
4176
  "The item could not be created.": "Het item kon niet worden aangemaakt.",
4147
4177
  "Start over": "Opnieuw beginnen",
4148
- "Continue where you left off": "Ga verder waar je was",
4178
+ "Continue where you left off": "Verder met de rondleiding",
4149
4179
  Active: "Actief",
4150
4180
  Appraisal: "Waardering",
4151
4181
  Archiving: "Archivering",
@@ -6665,7 +6695,24 @@ var translations$c = {
6665
6695
  "Move {item}, use the arrow keys": "{item} verplaatsen, gebruik de pijltjestoetsen",
6666
6696
  Invited: "Uitgenodigd",
6667
6697
  Accepted: "Geaccepteerd",
6668
- Declined: "Afgewezen"
6698
+ Declined: "Afgewezen",
6699
+ Clock: "Klok",
6700
+ "Clock with warning": "Klok met waarschuwing",
6701
+ "Calendar with clock": "Agenda met klok",
6702
+ Attention: "Let op",
6703
+ Label: "Label",
6704
+ Bell: "Bel",
6705
+ Scales: "Weegschaal",
6706
+ Briefcase: "Koffer",
6707
+ Eye: "Oog",
6708
+ Euro: "Euro",
6709
+ Ready: "Gereed",
6710
+ "Map layers": "Kaartlagen",
6711
+ you: "jij",
6712
+ "my team": "mijn team",
6713
+ "Subject: {subject}": "Onderwerp: {subject}",
6714
+ Optional: "Optioneel",
6715
+ Reached: "Bereikt"
6669
6716
  };
6670
6717
  var plurals = {
6671
6718
  "{count} member": [
@@ -6891,6 +6938,18 @@ var plurals = {
6891
6938
  "{names} has no location, so it is not on the map.": [
6892
6939
  "{names} heeft geen locatie, dus staat niet op de kaart.",
6893
6940
  "{names} hebben geen locatie, dus staan ze niet op de kaart."
6941
+ ],
6942
+ "in %n day": [
6943
+ "over %n dag",
6944
+ "over %n dagen"
6945
+ ],
6946
+ "%n day ago": [
6947
+ "%n dag geleden",
6948
+ "%n dagen geleden"
6949
+ ],
6950
+ "%n attachment": [
6951
+ "%n bijlage",
6952
+ "%n bijlagen"
6894
6953
  ]
6895
6954
  };
6896
6955
  var nl = {
@@ -7156,6 +7215,24 @@ function libraryTranslate(text, vars) {
7156
7215
  return l10n.translate('nextcloud-vue', text, vars)
7157
7216
  }
7158
7217
 
7218
+ /**
7219
+ * Translate a library string through the host app's catalogue, falling back
7220
+ * to the library's own when the host has no translation for it. An app's
7221
+ * `cnTranslate` answers the English string back for a string its catalogue
7222
+ * lacks, so library chrome (the AI button's "Open AI chat") read English in
7223
+ * an app that never copied the string.
7224
+ *
7225
+ * @param {Function} hostTranslate The injected `cnTranslate`.
7226
+ * @param {string} text The English string.
7227
+ * @param {object} [vars] Placeholder values.
7228
+ * @return {string} The string in the user's language.
7229
+ * @spec openspec/changes/library-string-host-fallback/specs/i18n/spec.md
7230
+ */
7231
+ function translateLibraryString(hostTranslate, text, vars) {
7232
+ const viaHost = typeof hostTranslate === 'function' ? hostTranslate(text, vars) : text;
7233
+ return viaHost !== text ? viaHost : libraryTranslate(text, vars)
7234
+ }
7235
+
7159
7236
  var script$8H = {
7160
7237
  name: 'CnAiHistoryList',
7161
7238
 
@@ -12194,6 +12271,18 @@ var script$8D = {
12194
12271
  },
12195
12272
 
12196
12273
  emits: ['click'],
12274
+
12275
+ computed: {
12276
+ /**
12277
+ * The button's name: the app's translation, else the library's.
12278
+ *
12279
+ * @return {string}
12280
+ * @spec openspec/changes/library-string-host-fallback/specs/i18n/spec.md
12281
+ */
12282
+ label() {
12283
+ return translateLibraryString(this.cnTranslate, 'Open AI chat')
12284
+ },
12285
+ },
12197
12286
  };
12198
12287
 
12199
12288
  const _hoisted_1$8b = ["aria-label"];
@@ -12208,7 +12297,7 @@ function render$8C(_ctx, _cache, $props, $setup, $data, $options) {
12208
12297
  class: vue$1.normalizeClass(["cn-ai-floating-button", [
12209
12298
  `cn-ai-floating-button--${$props.position}`,
12210
12299
  ]]),
12211
- "aria-label": $options.cnTranslate('Open AI chat'),
12300
+ "aria-label": $options.label,
12212
12301
  type: "button",
12213
12302
  "data-testid": "cn-ai-fab",
12214
12303
  onClick: _cache[0] || (_cache[0] = $event => (_ctx.$emit('click')))
@@ -29719,7 +29808,7 @@ var script$8r = {
29719
29808
 
29720
29809
  props: {
29721
29810
  /**
29722
- * The messages, oldest first: `{ id?, author?, time?, text, side?, channel?, channelIcon?, status?, actions?, note? }`.
29811
+ * The messages, oldest first: `{ id?, author?, time?, text, side?, channel?, channelIcon?, status?, subject?, actions?, note? }`.
29723
29812
  * `status` is shown after the channel ("Failed"); `actions` are
29724
29813
  * `{ id, label, disabled? }` buttons under the text, each emitting
29725
29814
  * `message-action`.
@@ -29905,6 +29994,7 @@ var script$8r = {
29905
29994
  channel: typeof message.channel === 'string' ? message.channel : '',
29906
29995
  channelIcon: typeof message.channelIcon === 'string' ? message.channelIcon : '',
29907
29996
  status: typeof message.status === 'string' ? message.status : '',
29997
+ subjectLine: typeof message.subject === 'string' && message.subject !== '' ? l10n.translate('nextcloud-vue', 'Subject: {subject}', { subject: message.subject }) : '',
29908
29998
  actions: Array.isArray(message.actions) ? message.actions.filter((action) => action && action.id && action.label) : [],
29909
29999
  directionLabel: side === 'us' ? l10n.translate('nextcloud-vue', 'Sent message') : l10n.translate('nextcloud-vue', 'Received message'),
29910
30000
  directionWord: side === 'us' ? l10n.translate('nextcloud-vue', 'Outgoing') : l10n.translate('nextcloud-vue', 'Incoming'),
@@ -30171,33 +30261,38 @@ const _hoisted_18$1t = {
30171
30261
  "aria-hidden": "true"
30172
30262
  };
30173
30263
  const _hoisted_19$1n = ["datetime"];
30174
- const _hoisted_20$1d = { class: "cn-conversation-thread__text" };
30175
- const _hoisted_21$1b = {
30264
+ const _hoisted_20$1d = {
30176
30265
  key: 0,
30177
- class: "cn-conversation-thread__note",
30178
- "data-testid": "cn-conversation-note"
30266
+ class: "cn-conversation-thread__subject",
30267
+ "data-testid": "cn-conversation-subject"
30179
30268
  };
30269
+ const _hoisted_21$1b = { class: "cn-conversation-thread__text" };
30180
30270
  const _hoisted_22$1a = {
30181
30271
  key: 1,
30272
+ class: "cn-conversation-thread__note",
30273
+ "data-testid": "cn-conversation-note"
30274
+ };
30275
+ const _hoisted_23$11 = {
30276
+ key: 2,
30182
30277
  class: "cn-conversation-thread__message-actions"
30183
30278
  };
30184
- const _hoisted_23$11 = { class: "cn-conversation-thread__reply-head" };
30185
- const _hoisted_24$U = ["for"];
30186
- const _hoisted_25$O = {
30279
+ const _hoisted_24$U = { class: "cn-conversation-thread__reply-head" };
30280
+ const _hoisted_25$O = ["for"];
30281
+ const _hoisted_26$I = {
30187
30282
  key: 0,
30188
30283
  class: "cn-conversation-thread__reply-hint",
30189
30284
  "data-testid": "cn-conversation-reply-hint"
30190
30285
  };
30191
- const _hoisted_26$I = ["id", "placeholder", "disabled", "aria-describedby"];
30192
- const _hoisted_27$A = ["id"];
30193
- const _hoisted_28$y = { class: "cn-conversation-thread__reply-foot" };
30194
- const _hoisted_29$x = {
30286
+ const _hoisted_27$A = ["id", "placeholder", "disabled", "aria-describedby"];
30287
+ const _hoisted_28$y = ["id"];
30288
+ const _hoisted_29$x = { class: "cn-conversation-thread__reply-foot" };
30289
+ const _hoisted_30$v = {
30195
30290
  key: 0,
30196
30291
  class: "cn-conversation-thread__reply-option",
30197
30292
  "data-testid": "cn-conversation-reply-option"
30198
30293
  };
30199
- const _hoisted_30$v = ["disabled"];
30200
- const _hoisted_31$u = { class: "cn-conversation-thread__reply-actions" };
30294
+ const _hoisted_31$u = ["disabled"];
30295
+ const _hoisted_32$s = { class: "cn-conversation-thread__reply-actions" };
30201
30296
 
30202
30297
  function render$8q(_ctx, _cache, $props, $setup, $data, $options) {
30203
30298
  const _component_CnQuickFilterBar = vue$1.resolveComponent("CnQuickFilterBar");
@@ -30292,12 +30387,15 @@ function render$8q(_ctx, _cache, $props, $setup, $data, $options) {
30292
30387
  }, vue$1.toDisplayString(row.timeLabel), 9 /* TEXT, PROPS */, _hoisted_19$1n))
30293
30388
  : vue$1.createCommentVNode("v-if", true)
30294
30389
  ]),
30295
- vue$1.createElementVNode("span", _hoisted_20$1d, vue$1.toDisplayString(row.text), 1 /* TEXT */),
30390
+ (row.subjectLine)
30391
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_20$1d, vue$1.toDisplayString(row.subjectLine), 1 /* TEXT */))
30392
+ : vue$1.createCommentVNode("v-if", true),
30393
+ vue$1.createElementVNode("span", _hoisted_21$1b, vue$1.toDisplayString(row.text), 1 /* TEXT */),
30296
30394
  (row.note)
30297
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_21$1b, vue$1.toDisplayString(row.note), 1 /* TEXT */))
30395
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_22$1a, vue$1.toDisplayString(row.note), 1 /* TEXT */))
30298
30396
  : vue$1.createCommentVNode("v-if", true),
30299
30397
  (row.actions.length > 0)
30300
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_22$1a, [
30398
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_23$11, [
30301
30399
  (vue$1.openBlock(true), vue$1.createElementBlock(vue$1.Fragment, null, vue$1.renderList(row.actions, (action) => {
30302
30400
  return (vue$1.openBlock(), vue$1.createBlock(_component_NcButton, {
30303
30401
  key: action.id,
@@ -30326,13 +30424,13 @@ function render$8q(_ctx, _cache, $props, $setup, $data, $options) {
30326
30424
  onSubmit: _cache[4] || (_cache[4] = vue$1.withModifiers((...args) => ($options.onSend && $options.onSend(...args)), ["prevent"]))
30327
30425
  }, [
30328
30426
  vue$1.renderSlot(_ctx.$slots, "reply-tools", { setDraft: $options.setDraft }),
30329
- vue$1.createElementVNode("div", _hoisted_23$11, [
30427
+ vue$1.createElementVNode("div", _hoisted_24$U, [
30330
30428
  vue$1.createElementVNode("label", {
30331
30429
  for: $data.inputId,
30332
30430
  class: "cn-conversation-thread__reply-label"
30333
- }, vue$1.toDisplayString($props.replyLabel), 9 /* TEXT, PROPS */, _hoisted_24$U),
30431
+ }, vue$1.toDisplayString($props.replyLabel), 9 /* TEXT, PROPS */, _hoisted_25$O),
30334
30432
  ($props.replyHint)
30335
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_25$O, vue$1.toDisplayString($props.replyHint), 1 /* TEXT */))
30433
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_26$I, vue$1.toDisplayString($props.replyHint), 1 /* TEXT */))
30336
30434
  : vue$1.createCommentVNode("v-if", true)
30337
30435
  ]),
30338
30436
  vue$1.withDirectives(vue$1.createElementVNode("textarea", {
@@ -30348,7 +30446,7 @@ function render$8q(_ctx, _cache, $props, $setup, $data, $options) {
30348
30446
  _cache[1] || (_cache[1] = vue$1.withKeys(vue$1.withModifiers((...args) => ($options.onSend && $options.onSend(...args)), ["ctrl","prevent"]), ["enter"])),
30349
30447
  _cache[2] || (_cache[2] = vue$1.withKeys(vue$1.withModifiers((...args) => ($options.onSend && $options.onSend(...args)), ["meta","prevent"]), ["enter"]))
30350
30448
  ]
30351
- }, null, 40 /* PROPS, NEED_HYDRATION */, _hoisted_26$I), [
30449
+ }, null, 40 /* PROPS, NEED_HYDRATION */, _hoisted_27$A), [
30352
30450
  [vue$1.vModelText, $data.draft]
30353
30451
  ]),
30354
30452
  ($data.errorMessage)
@@ -30358,22 +30456,22 @@ function render$8q(_ctx, _cache, $props, $setup, $data, $options) {
30358
30456
  class: "cn-conversation-thread__error",
30359
30457
  role: "alert",
30360
30458
  "data-testid": "cn-conversation-error"
30361
- }, vue$1.toDisplayString($data.errorMessage), 9 /* TEXT, PROPS */, _hoisted_27$A))
30459
+ }, vue$1.toDisplayString($data.errorMessage), 9 /* TEXT, PROPS */, _hoisted_28$y))
30362
30460
  : vue$1.createCommentVNode("v-if", true),
30363
- vue$1.createElementVNode("div", _hoisted_28$y, [
30461
+ vue$1.createElementVNode("div", _hoisted_29$x, [
30364
30462
  ($options.optionShown)
30365
- ? (vue$1.openBlock(), vue$1.createElementBlock("label", _hoisted_29$x, [
30463
+ ? (vue$1.openBlock(), vue$1.createElementBlock("label", _hoisted_30$v, [
30366
30464
  vue$1.withDirectives(vue$1.createElementVNode("input", {
30367
30465
  "onUpdate:modelValue": _cache[3] || (_cache[3] = $event => (($data.optionOn) = $event)),
30368
30466
  type: "checkbox",
30369
30467
  disabled: $data.sending
30370
- }, null, 8 /* PROPS */, _hoisted_30$v), [
30468
+ }, null, 8 /* PROPS */, _hoisted_31$u), [
30371
30469
  [vue$1.vModelCheckbox, $data.optionOn]
30372
30470
  ]),
30373
30471
  vue$1.createElementVNode("span", null, vue$1.toDisplayString($props.replyOption.label), 1 /* TEXT */)
30374
30472
  ]))
30375
30473
  : vue$1.createCommentVNode("v-if", true),
30376
- vue$1.createElementVNode("div", _hoisted_31$u, [
30474
+ vue$1.createElementVNode("div", _hoisted_32$s, [
30377
30475
  vue$1.renderSlot(_ctx.$slots, "reply-actions", { draft: $data.draft }),
30378
30476
  vue$1.createVNode(_component_NcButton, {
30379
30477
  variant: "primary",
@@ -30397,7 +30495,7 @@ function render$8q(_ctx, _cache, $props, $setup, $data, $options) {
30397
30495
  }
30398
30496
 
30399
30497
  script$8r.render = render$8q;
30400
- script$8r.__scopeId = "data-v-40f702bd";
30498
+ script$8r.__scopeId = "data-v-b96e5732";
30401
30499
  const __sfc_main$8l = script$8r;
30402
30500
 
30403
30501
  /**
@@ -30666,6 +30764,9 @@ function userDisplayName(uid) {
30666
30764
  * `outValue`) for the messages the organisation sent, and `channelField` with
30667
30765
  * an optional `channelMap` from stored value to label ("email" to "E-mail")
30668
30766
  * and `channelIcons` from stored value to an icon name, drawn before the label.
30767
+ * `subjectField` shows a message's subject on a line of its own above its
30768
+ * text ("Subject: ..."); `noteField` a grey line under it, followed by the
30769
+ * count `attachmentCountField` holds ("1 attachment").
30669
30770
  *
30670
30771
  * The reply box posts to `endpoint` (`@objectId` filled in), or runs
30671
30772
  * `replyAction`, an action descriptor the app decides the meaning of: it is
@@ -30862,7 +30963,8 @@ var script$8q = {
30862
30963
  return {
30863
30964
  id: key,
30864
30965
  author: this.authorOf(message, sideOf),
30865
- note: c.noteField ? this.textOf(readPath$8(message, c.noteField)) : '',
30966
+ subject: c.subjectField ? this.textOf(readPath$8(message, c.subjectField)) : '',
30967
+ note: this.noteOf(message),
30866
30968
  time: readPath$8(message, c.timestampField || c.timeField || 'time'),
30867
30969
  text: readPath$8(message, c.bodyField || c.textField || 'text'),
30868
30970
  side: sideOf,
@@ -31249,6 +31351,22 @@ var script$8q = {
31249
31351
  return format === 'user' && text !== '' ? (userDisplayName(text) || text) : text
31250
31352
  },
31251
31353
 
31354
+ /**
31355
+ * The grey line under a message: its note, then its attachment count,
31356
+ * joined with a comma ("Binnengekomen op het Woo-postvak, 1 bijlage").
31357
+ *
31358
+ * @param {object} message The stored message.
31359
+ * @return {string} The line, or '' when it has neither.
31360
+ * @spec openspec/changes/conversation-subject-attachments/specs/conversation-subject-attachments/spec.md#requirement-a-message-can-show-its-subject-note-and-attachment-count
31361
+ */
31362
+ noteOf(message) {
31363
+ const c = this.content || {};
31364
+ const note = c.noteField ? this.textOf(readPath$8(message, c.noteField)) : '';
31365
+ const count = c.attachmentCountField ? Number(readPath$8(message, c.attachmentCountField)) : 0;
31366
+ const attachments = Number.isFinite(count) && count > 0 ? l10n.translatePlural('nextcloud-vue', '%n attachment', '%n attachments', count) : '';
31367
+ return [note, attachments].filter((part) => part !== '').join(', ')
31368
+ },
31369
+
31252
31370
  /**
31253
31371
  * @param {unknown} value A stored value.
31254
31372
  * @return {string} It as text, or '' for none.
@@ -31526,7 +31644,7 @@ function render$8p(_ctx, _cache, $props, $setup, $data, $options) {
31526
31644
  }
31527
31645
 
31528
31646
  script$8q.render = render$8p;
31529
- script$8q.__scopeId = "data-v-f7f83cfa";
31647
+ script$8q.__scopeId = "data-v-50a6dc5e";
31530
31648
  const __sfc_main$8k = script$8q;
31531
31649
 
31532
31650
  /**
@@ -39946,9 +40064,29 @@ var script$8f = {
39946
40064
  // The board look keeps the top right for its control column.
39947
40065
  this.layersControl = L.control.layers(baseLayers, {}, { position: this.isBoardLook ? 'topleft' : 'topright' });
39948
40066
  this.layersControl.addTo(this.map);
40067
+ this.labelLayersToggle();
39949
40068
  }
39950
40069
  },
39951
40070
 
40071
+ /**
40072
+ * Name the base-map switch in the user's language: Leaflet titles its
40073
+ * toggle "Layers" and gives it no accessible name of its own.
40074
+ *
40075
+ * @spec openspec/changes/board-map-layers-button/specs/board-map-layers-button/spec.md#requirement-the-base-map-switch-is-a-named-board-button
40076
+ */
40077
+ labelLayersToggle() {
40078
+ const container = this.layersControl && typeof this.layersControl.getContainer === 'function'
40079
+ ? this.layersControl.getContainer()
40080
+ : null;
40081
+ const toggle = container ? container.querySelector('.leaflet-control-layers-toggle') : null;
40082
+ if (!toggle) {
40083
+ return
40084
+ }
40085
+ const label = l10n.translate('nextcloud-vue', 'Map layers');
40086
+ toggle.setAttribute('title', label);
40087
+ toggle.setAttribute('aria-label', label);
40088
+ },
40089
+
39952
40090
  /**
39953
40091
  * Mount the custom control bar (fit-all / locate / fullscreen). Leaflet's own
39954
40092
  * zoom + attribution controls are enabled separately in `initMap`; in the
@@ -40412,7 +40550,7 @@ function render$8e(_ctx, _cache, $props, $setup, $data, $options) {
40412
40550
  }
40413
40551
 
40414
40552
  script$8f.render = render$8e;
40415
- script$8f.__scopeId = "data-v-e92438e2";
40553
+ script$8f.__scopeId = "data-v-6a02ff20";
40416
40554
  const __sfc_main$89 = script$8f;
40417
40555
 
40418
40556
  // The Netherlands, roughly — a sane default centre for a Dutch-government library.
@@ -41814,6 +41952,185 @@ function resolveCountPill(config, count, translate = (text) => text) {
41814
41952
  }
41815
41953
  }
41816
41954
 
41955
+ /**
41956
+ * Nextcloud group search for the schema-driven form's group picker
41957
+ * (a property marked `format: 'nc-group'` or `referenceType: 'nextcloud-group'`).
41958
+ *
41959
+ * Asks the core autocomplete OCS endpoint for groups first: every signed-in
41960
+ * user may call it, and it returns the group's display name. The provisioning
41961
+ * endpoint `cloud/groups` is the fallback; it also answers non-admins, but it
41962
+ * returns only group ids, so the id doubles as the label there.
41963
+ *
41964
+ * Options are `{ id: <gid>, label: <display name> }`: the form stores the gid.
41965
+ *
41966
+ * @module utils/groupAutocomplete
41967
+ */
41968
+
41969
+
41970
+ const OCS_HEADERS$1 = {
41971
+ 'OCS-APIRequest': 'true',
41972
+ Accept: 'application/json',
41973
+ };
41974
+
41975
+ /**
41976
+ * Read the `ocs.data` payload, tolerating a bare body.
41977
+ *
41978
+ * @param {object} response An axios response.
41979
+ * @return {unknown} The data.
41980
+ */
41981
+ function ocsData$1(response) {
41982
+ const body = response && response.data;
41983
+ return body && body.ocs ? body.ocs.data : body
41984
+ }
41985
+
41986
+ /**
41987
+ * Map one autocomplete suggestion to an option, keeping only groups.
41988
+ *
41989
+ * @param {object} suggestion An autocomplete suggestion.
41990
+ * @return {{id: string, label: string}|null} The option, or null when it is not a group.
41991
+ */
41992
+ function toGroupOption(suggestion) {
41993
+ if (!suggestion || typeof suggestion !== 'object') {
41994
+ return null
41995
+ }
41996
+ const isGroup = suggestion.source === 'groups'
41997
+ || suggestion.shareType === 1
41998
+ || (suggestion.value && suggestion.value.shareType === 1);
41999
+ if (!isGroup) {
42000
+ return null
42001
+ }
42002
+ const gid = suggestion.id || (suggestion.value && suggestion.value.shareWith);
42003
+ if (gid === undefined || gid === null || gid === '') {
42004
+ return null
42005
+ }
42006
+ return { id: String(gid), label: suggestion.label || String(gid) }
42007
+ }
42008
+
42009
+ /**
42010
+ * Search Nextcloud groups by name or id. Fails soft: an error yields `[]`.
42011
+ *
42012
+ * @spec openspec/changes/form-pickers-from-schema/specs/schema-utilities/spec.md
42013
+ * @param {string} [query] The search term (empty loads a first page).
42014
+ * @param {object} [options] Tuning options.
42015
+ * @param {number} [options.limit] Max results (default 25).
42016
+ * @return {Promise<Array<{id: string, label: string}>>} Picker options.
42017
+ */
42018
+ async function searchNextcloudGroups(query = '', options = {}) {
42019
+ const { limit = 25 } = options;
42020
+ try {
42021
+ const response = await axios$1.get(router.generateOcsUrl('core/autocomplete/get'), {
42022
+ headers: OCS_HEADERS$1,
42023
+ params: {
42024
+ search: query || '',
42025
+ itemType: ' ',
42026
+ itemId: ' ',
42027
+ 'shareTypes[]': 1,
42028
+ limit,
42029
+ },
42030
+ });
42031
+ const list = ocsData$1(response);
42032
+ const groups = (Array.isArray(list) ? list : [])
42033
+ .map(toGroupOption)
42034
+ .filter((opt) => opt !== null);
42035
+ if (groups.length > 0) {
42036
+ return groups
42037
+ }
42038
+ } catch {
42039
+ // Fall through to the provisioning endpoint.
42040
+ }
42041
+ try {
42042
+ const response = await axios$1.get(router.generateOcsUrl('cloud/groups'), {
42043
+ headers: OCS_HEADERS$1,
42044
+ params: { search: query || '', limit },
42045
+ });
42046
+ const data = ocsData$1(response);
42047
+ const gids = data && Array.isArray(data.groups) ? data.groups : [];
42048
+ return gids
42049
+ .filter((gid) => typeof gid === 'string' && gid !== '')
42050
+ .map((gid) => ({ id: gid, label: gid }))
42051
+ } catch {
42052
+ return []
42053
+ }
42054
+ }
42055
+
42056
+ /**
42057
+ * Resolve a stored gid to `{ id, label }` for edit-mode display. Falls back
42058
+ * to the gid itself when the name cannot be looked up.
42059
+ *
42060
+ * @spec openspec/changes/form-pickers-from-schema/specs/schema-utilities/spec.md
42061
+ * @param {string} gid The stored group id.
42062
+ * @return {Promise<{id: string, label: string}>} The resolved option.
42063
+ */
42064
+ async function resolveNextcloudGroup(gid) {
42065
+ const fallback = { id: String(gid), label: String(gid) };
42066
+ if (gid === undefined || gid === null || gid === '') {
42067
+ return fallback
42068
+ }
42069
+ const results = await searchNextcloudGroups(String(gid));
42070
+ return results.find((opt) => opt.id === String(gid)) || fallback
42071
+ }
42072
+
42073
+ /**
42074
+ * Display names already looked up, by group id. Reactive, so every cell that
42075
+ * shows the same group updates when its name arrives.
42076
+ *
42077
+ * @type {Record<string, string>}
42078
+ */
42079
+ const groupNames = vue$1.reactive({});
42080
+
42081
+ /** In-flight lookups by group id, so one id is asked for once. */
42082
+ const pendingNames = new Map();
42083
+
42084
+ /**
42085
+ * The cached display name of a group, or `null` when it has not been looked
42086
+ * up yet. Reactive: read in a computed or a render, it updates when
42087
+ * {@link loadGroupDisplayName} finishes.
42088
+ *
42089
+ * @spec openspec/changes/nextcloud-group-surfaces/specs/data-display/spec.md#requirement-a-group-cell-shows-the-groups-display-name
42090
+ * @param {string} gid The group id.
42091
+ * @return {string|null} The display name, or null when unknown.
42092
+ */
42093
+ function groupDisplayName(gid) {
42094
+ if (gid === undefined || gid === null || gid === '') {
42095
+ return null
42096
+ }
42097
+ const name = groupNames[String(gid)];
42098
+ return typeof name === 'string' ? name : null
42099
+ }
42100
+
42101
+ /**
42102
+ * Look a group's display name up once per page and cache it. Concurrent
42103
+ * callers for the same id share one request. A failed or empty lookup caches
42104
+ * the id itself, so the cell shows the id and does not ask again.
42105
+ *
42106
+ * @spec openspec/changes/nextcloud-group-surfaces/specs/data-display/spec.md#requirement-a-group-cell-shows-the-groups-display-name
42107
+ * @param {string} gid The group id.
42108
+ * @return {Promise<string>} The display name, or the id.
42109
+ */
42110
+ function loadGroupDisplayName(gid) {
42111
+ if (gid === undefined || gid === null || gid === '') {
42112
+ return Promise.resolve('')
42113
+ }
42114
+ const key = String(gid);
42115
+ const known = groupDisplayName(key);
42116
+ if (known !== null) {
42117
+ return Promise.resolve(known)
42118
+ }
42119
+ if (pendingNames.has(key)) {
42120
+ return pendingNames.get(key)
42121
+ }
42122
+ const request = resolveNextcloudGroup(key)
42123
+ .then((option) => (option && option.label) || key)
42124
+ .catch(() => key)
42125
+ .then((label) => {
42126
+ groupNames[key] = label;
42127
+ pendingNames.delete(key);
42128
+ return label
42129
+ });
42130
+ pendingNames.set(key, request);
42131
+ return request
42132
+ }
42133
+
41817
42134
  // SPDX-FileCopyrightText: 2026 Conduction B.V.
41818
42135
  // SPDX-License-Identifier: EUPL-1.2
41819
42136
 
@@ -41890,7 +42207,7 @@ function countEntries(list, key) {
41890
42207
  * Format one token value.
41891
42208
  *
41892
42209
  * @param {unknown} value The raw value.
41893
- * @param {string} format `date`, `datetime`, `weekday`, `longdate`, `time`, `user`, `currency`, `relative`, `relativetime`, `ago`, `week`, `days`, `lower`, `mailbox` or '' (as is).
42210
+ * @param {string} format `date`, `datetime`, `weekday`, `longdate`, `time`, `user`, `group`, `currency`, `relative`, `relativetime`, `ago`, `week`, `days`, `lower`, `mailbox` or '' (as is).
41894
42211
  * @param {Date} now The reference moment.
41895
42212
  * @param {string} [arg] The format's argument (`currency:EUR`, or a row path holding the code).
41896
42213
  * @param {object|null} [object] The row, for a currency read from a field.
@@ -41931,6 +42248,14 @@ function formatValue(value, format, now, arg = '', object = null, config = null,
41931
42248
  if (format === 'user') {
41932
42249
  return userDisplayName(value)
41933
42250
  }
42251
+ if (format === 'group') {
42252
+ const name = groupDisplayName(value);
42253
+ if (name === null) {
42254
+ loadGroupDisplayName(value);
42255
+ return ''
42256
+ }
42257
+ return name
42258
+ }
41934
42259
  if (format === 'time') {
41935
42260
  const date = parseDateValue(value);
41936
42261
  return date === null ? '' : formatTimeOfDay(date)
@@ -41978,7 +42303,8 @@ function formatValue(value, format, now, arg = '', object = null, config = null,
41978
42303
  * for today), `{path|longdate}` writes the month out ("7 oktober";
41979
42304
  * `{path|longdate:year}` always adds the year), `{path|time}` is the time
41980
42305
  * of day ("08:45"), `{path|user}` is a user id's display name (looked up
41981
- * once, '' until it arrives), `{path|currency}`,
42306
+ * once, '' until it arrives), `{path|group}` is a group id's display name
42307
+ * (the same, through the group name cache), `{path|currency}`,
41982
42308
  * `{path|currency:EUR}` and `{path|currency:field}` write an amount in a
41983
42309
  * currency (a code, or the row field that holds it; without either, or when
41984
42310
  * the row field is empty, the app's reporting currency), `{path|relative}` and
@@ -44396,185 +44722,6 @@ script$87.render = render$86;
44396
44722
  script$87.__scopeId = "data-v-0d05d86a";
44397
44723
  const __sfc_main$81 = script$87;
44398
44724
 
44399
- /**
44400
- * Nextcloud group search for the schema-driven form's group picker
44401
- * (a property marked `format: 'nc-group'` or `referenceType: 'nextcloud-group'`).
44402
- *
44403
- * Asks the core autocomplete OCS endpoint for groups first: every signed-in
44404
- * user may call it, and it returns the group's display name. The provisioning
44405
- * endpoint `cloud/groups` is the fallback; it also answers non-admins, but it
44406
- * returns only group ids, so the id doubles as the label there.
44407
- *
44408
- * Options are `{ id: <gid>, label: <display name> }`: the form stores the gid.
44409
- *
44410
- * @module utils/groupAutocomplete
44411
- */
44412
-
44413
-
44414
- const OCS_HEADERS$1 = {
44415
- 'OCS-APIRequest': 'true',
44416
- Accept: 'application/json',
44417
- };
44418
-
44419
- /**
44420
- * Read the `ocs.data` payload, tolerating a bare body.
44421
- *
44422
- * @param {object} response An axios response.
44423
- * @return {unknown} The data.
44424
- */
44425
- function ocsData$1(response) {
44426
- const body = response && response.data;
44427
- return body && body.ocs ? body.ocs.data : body
44428
- }
44429
-
44430
- /**
44431
- * Map one autocomplete suggestion to an option, keeping only groups.
44432
- *
44433
- * @param {object} suggestion An autocomplete suggestion.
44434
- * @return {{id: string, label: string}|null} The option, or null when it is not a group.
44435
- */
44436
- function toGroupOption(suggestion) {
44437
- if (!suggestion || typeof suggestion !== 'object') {
44438
- return null
44439
- }
44440
- const isGroup = suggestion.source === 'groups'
44441
- || suggestion.shareType === 1
44442
- || (suggestion.value && suggestion.value.shareType === 1);
44443
- if (!isGroup) {
44444
- return null
44445
- }
44446
- const gid = suggestion.id || (suggestion.value && suggestion.value.shareWith);
44447
- if (gid === undefined || gid === null || gid === '') {
44448
- return null
44449
- }
44450
- return { id: String(gid), label: suggestion.label || String(gid) }
44451
- }
44452
-
44453
- /**
44454
- * Search Nextcloud groups by name or id. Fails soft: an error yields `[]`.
44455
- *
44456
- * @spec openspec/changes/form-pickers-from-schema/specs/schema-utilities/spec.md
44457
- * @param {string} [query] The search term (empty loads a first page).
44458
- * @param {object} [options] Tuning options.
44459
- * @param {number} [options.limit] Max results (default 25).
44460
- * @return {Promise<Array<{id: string, label: string}>>} Picker options.
44461
- */
44462
- async function searchNextcloudGroups(query = '', options = {}) {
44463
- const { limit = 25 } = options;
44464
- try {
44465
- const response = await axios$1.get(router.generateOcsUrl('core/autocomplete/get'), {
44466
- headers: OCS_HEADERS$1,
44467
- params: {
44468
- search: query || '',
44469
- itemType: ' ',
44470
- itemId: ' ',
44471
- 'shareTypes[]': 1,
44472
- limit,
44473
- },
44474
- });
44475
- const list = ocsData$1(response);
44476
- const groups = (Array.isArray(list) ? list : [])
44477
- .map(toGroupOption)
44478
- .filter((opt) => opt !== null);
44479
- if (groups.length > 0) {
44480
- return groups
44481
- }
44482
- } catch {
44483
- // Fall through to the provisioning endpoint.
44484
- }
44485
- try {
44486
- const response = await axios$1.get(router.generateOcsUrl('cloud/groups'), {
44487
- headers: OCS_HEADERS$1,
44488
- params: { search: query || '', limit },
44489
- });
44490
- const data = ocsData$1(response);
44491
- const gids = data && Array.isArray(data.groups) ? data.groups : [];
44492
- return gids
44493
- .filter((gid) => typeof gid === 'string' && gid !== '')
44494
- .map((gid) => ({ id: gid, label: gid }))
44495
- } catch {
44496
- return []
44497
- }
44498
- }
44499
-
44500
- /**
44501
- * Resolve a stored gid to `{ id, label }` for edit-mode display. Falls back
44502
- * to the gid itself when the name cannot be looked up.
44503
- *
44504
- * @spec openspec/changes/form-pickers-from-schema/specs/schema-utilities/spec.md
44505
- * @param {string} gid The stored group id.
44506
- * @return {Promise<{id: string, label: string}>} The resolved option.
44507
- */
44508
- async function resolveNextcloudGroup(gid) {
44509
- const fallback = { id: String(gid), label: String(gid) };
44510
- if (gid === undefined || gid === null || gid === '') {
44511
- return fallback
44512
- }
44513
- const results = await searchNextcloudGroups(String(gid));
44514
- return results.find((opt) => opt.id === String(gid)) || fallback
44515
- }
44516
-
44517
- /**
44518
- * Display names already looked up, by group id. Reactive, so every cell that
44519
- * shows the same group updates when its name arrives.
44520
- *
44521
- * @type {Record<string, string>}
44522
- */
44523
- const groupNames = vue$1.reactive({});
44524
-
44525
- /** In-flight lookups by group id, so one id is asked for once. */
44526
- const pendingNames = new Map();
44527
-
44528
- /**
44529
- * The cached display name of a group, or `null` when it has not been looked
44530
- * up yet. Reactive: read in a computed or a render, it updates when
44531
- * {@link loadGroupDisplayName} finishes.
44532
- *
44533
- * @spec openspec/changes/nextcloud-group-surfaces/specs/data-display/spec.md#requirement-a-group-cell-shows-the-groups-display-name
44534
- * @param {string} gid The group id.
44535
- * @return {string|null} The display name, or null when unknown.
44536
- */
44537
- function groupDisplayName(gid) {
44538
- if (gid === undefined || gid === null || gid === '') {
44539
- return null
44540
- }
44541
- const name = groupNames[String(gid)];
44542
- return typeof name === 'string' ? name : null
44543
- }
44544
-
44545
- /**
44546
- * Look a group's display name up once per page and cache it. Concurrent
44547
- * callers for the same id share one request. A failed or empty lookup caches
44548
- * the id itself, so the cell shows the id and does not ask again.
44549
- *
44550
- * @spec openspec/changes/nextcloud-group-surfaces/specs/data-display/spec.md#requirement-a-group-cell-shows-the-groups-display-name
44551
- * @param {string} gid The group id.
44552
- * @return {Promise<string>} The display name, or the id.
44553
- */
44554
- function loadGroupDisplayName(gid) {
44555
- if (gid === undefined || gid === null || gid === '') {
44556
- return Promise.resolve('')
44557
- }
44558
- const key = String(gid);
44559
- const known = groupDisplayName(key);
44560
- if (known !== null) {
44561
- return Promise.resolve(known)
44562
- }
44563
- if (pendingNames.has(key)) {
44564
- return pendingNames.get(key)
44565
- }
44566
- const request = resolveNextcloudGroup(key)
44567
- .then((option) => (option && option.label) || key)
44568
- .catch(() => key)
44569
- .then((label) => {
44570
- groupNames[key] = label;
44571
- pendingNames.delete(key);
44572
- return label
44573
- });
44574
- pendingNames.set(key, request);
44575
- return request
44576
- }
44577
-
44578
44725
  /**
44579
44726
  * CnGroupNameCell renders a Nextcloud group id as its display name.
44580
44727
  *
@@ -98945,6 +99092,26 @@ function entryTime(entry) {
98945
99092
  * surface="detail-page" />
98946
99093
  * ```
98947
99094
  */
99095
+ /**
99096
+ * Whether an audit entry is an update that changed no field: its `changed`
99097
+ * map holds only `@self` bookkeeping or pairs whose old and new are equal.
99098
+ * An entry without a `changed` map is kept, since nothing says it was empty.
99099
+ *
99100
+ * @param {object} entry The audit entry.
99101
+ * @return {boolean}
99102
+ */
99103
+ function isEmptyUpdate(entry) {
99104
+ if (String((entry && (entry.action || entry.event)) || '').toLowerCase() !== 'update') {
99105
+ return false
99106
+ }
99107
+ const changed = entry.changed;
99108
+ if (!changed || typeof changed !== 'object' || Array.isArray(changed)) {
99109
+ return false
99110
+ }
99111
+ return Object.entries(changed).every(([field, pair]) => field.startsWith('@')
99112
+ || (pair && typeof pair === 'object' && JSON.stringify(pair.old ?? null) === JSON.stringify(pair.new ?? null)))
99113
+ }
99114
+
98948
99115
  var script$7D = {
98949
99116
  name: 'CnAuditTrailCard',
98950
99117
 
@@ -99107,15 +99274,20 @@ var script$7D = {
99107
99274
  return this.title || l10n.translate('nextcloud-vue', 'Audit trail')
99108
99275
  },
99109
99276
 
99110
- /** @return {Array<object>} The entries without the excluded actions. */
99277
+ /**
99278
+ * The entries without the excluded actions and actors, and without an
99279
+ * update that changed nothing: a re-save whose `changed` holds no field
99280
+ * whose old and new value differ (only `@self` bookkeeping) is not
99281
+ * something that happened to the record.
99282
+ *
99283
+ * @return {Array<object>}
99284
+ */
99111
99285
  shownEntries() {
99112
99286
  const excluded = this.excludeActions.map((action) => String(action).toLowerCase());
99113
99287
  const actors = this.excludeActors.map((actor) => String(actor).toLowerCase());
99114
- if (excluded.length === 0 && actors.length === 0) {
99115
- return this.entries
99116
- }
99117
99288
  return this.entries.filter((entry) => !excluded.includes(String(entry.action || entry.event || '').toLowerCase())
99118
- && !actors.includes(String(entry.user || '').toLowerCase()))
99289
+ && !actors.includes(String(entry.user || '').toLowerCase())
99290
+ && !isEmptyUpdate(entry))
99119
99291
  },
99120
99292
 
99121
99293
  /** @return {boolean} Whether the card leaves entries out, and so reads more than it shows. */
@@ -99525,7 +99697,7 @@ function render$7C(_ctx, _cache, $props, $setup, $data, $options) {
99525
99697
  }
99526
99698
 
99527
99699
  script$7D.render = render$7C;
99528
- script$7D.__scopeId = "data-v-bd3033c8";
99700
+ script$7D.__scopeId = "data-v-64b18d66";
99529
99701
  const __sfc_main$7x = script$7D;
99530
99702
 
99531
99703
  // SPDX-FileCopyrightText: 2026 Conduction B.V.
@@ -143976,6 +144148,9 @@ function usersSource() {
143976
144148
  today = until
143977
144149
  ? l10n.translate('nextcloud-vue', 'Absent until {date}', { date: until.toLocaleDateString(l10n.getCanonicalLocale() || undefined, { day: 'numeric', month: 'short' }) })
143978
144150
  : l10n.translate('nextcloud-vue', 'Absent');
144151
+ // An absence reads as a warning; any other line (a status
144152
+ // message such as "Buiten") as information, as the boards draw it.
144153
+ presenceColors[today] = 'warning';
143979
144154
  } else if (presence.message) {
143980
144155
  today = presence.message;
143981
144156
  } else if (presenceLabels[presence.state]) {
@@ -144043,7 +144218,7 @@ function usersSource() {
144043
144218
  { key: 'displayname', label: l10n.translate('nextcloud-vue', 'Employee'), secondary: 'function', sortable: true, cellClass: 'cn-cell--lead' },
144044
144219
  { key: 'roles', label: l10n.translate('nextcloud-vue', 'Roles'), sortable: true },
144045
144220
  { key: 'email', label: l10n.translate('nextcloud-vue', 'E-mail'), sortable: true },
144046
- { key: 'today', label: l10n.translate('nextcloud-vue', 'Today'), widget: 'badge', widgetProps: { colorMap: presenceColors, variant: 'warning' }, sortable: true },
144221
+ { key: 'today', label: l10n.translate('nextcloud-vue', 'Today'), widget: 'badge', widgetProps: { colorMap: presenceColors, variant: 'info' }, sortable: true },
144047
144222
  ],
144048
144223
 
144049
144224
  searchFields: {
@@ -161550,6 +161725,16 @@ var script$69 = {
161550
161725
  required: true,
161551
161726
  },
161552
161727
 
161728
+ /**
161729
+ * The word per state that replaces the default, already translated.
161730
+ *
161731
+ * @type {object}
161732
+ */
161733
+ labels: {
161734
+ type: Object,
161735
+ default: () => ({}),
161736
+ },
161737
+
161553
161738
  /** A move is running. */
161554
161739
  busy: {
161555
161740
  type: Boolean,
@@ -161570,12 +161755,24 @@ var script$69 = {
161570
161755
  t: l10n.translate,
161571
161756
 
161572
161757
  /**
161573
- * The word for a state.
161758
+ * The word for an item's state. A completed milestone is reached, and
161759
+ * an optional item nobody has started reads as optional rather than
161760
+ * waiting. `labels` replaces the word for a state.
161574
161761
  *
161575
- * @param {string} state The state.
161762
+ * @param {object} item The plan item.
161576
161763
  * @return {string}
161577
161764
  */
161578
- stateLabel(state) {
161765
+ stateLabel(item) {
161766
+ const state = item.state;
161767
+ if (typeof this.labels[state] === 'string' && this.labels[state] !== '') {
161768
+ return this.labels[state]
161769
+ }
161770
+ if (state === 'completed' && item.type === 'milestone') {
161771
+ return l10n.translate('nextcloud-vue', 'Reached')
161772
+ }
161773
+ if (item.discretionary && (state === 'available' || state === 'enabled')) {
161774
+ return l10n.translate('nextcloud-vue', 'Optional')
161775
+ }
161579
161776
  const labels = {
161580
161777
  available: l10n.translate('nextcloud-vue', 'Waiting'),
161581
161778
  enabled: l10n.translate('nextcloud-vue', 'Can start'),
@@ -161615,7 +161812,7 @@ function render$68(_ctx, _cache, $props, $setup, $data, $options) {
161615
161812
  vue$1.createElementVNode("span", {
161616
161813
  class: "cn-plan-row__state",
161617
161814
  "data-state": $props.item.state
161618
- }, vue$1.toDisplayString($options.stateLabel($props.item.state)), 9 /* TEXT, PROPS */, _hoisted_5$40),
161815
+ }, vue$1.toDisplayString($options.stateLabel($props.item)), 9 /* TEXT, PROPS */, _hoisted_5$40),
161619
161816
  ($props.item.state === 'enabled' && $props.item.discretionary)
161620
161817
  ? (vue$1.openBlock(), vue$1.createBlock(_component_NcButton, {
161621
161818
  key: 0,
@@ -161646,7 +161843,7 @@ function render$68(_ctx, _cache, $props, $setup, $data, $options) {
161646
161843
  }
161647
161844
 
161648
161845
  script$69.render = render$68;
161649
- script$69.__scopeId = "data-v-45566f45";
161846
+ script$69.__scopeId = "data-v-3c7f161a";
161650
161847
  const __sfc_main$63 = script$69;
161651
161848
 
161652
161849
  /** The page refresh channel the built-in widgets listen on. */
@@ -161662,7 +161859,8 @@ const PAGE_REFRESH$4 = 'cn:page:refresh';
161662
161859
  * retry, never an empty plan. Any app whose records run on OpenRegister's
161663
161860
  * case layer uses it; dossiq's case plan is the first.
161664
161861
  *
161665
- * `content`: `emptyText`, through the host translate.
161862
+ * `content`: `emptyText`, and `stateLabels` (`{ active: 'Active' }`, the word
161863
+ * for a state), both through the host translate.
161666
161864
  *
161667
161865
  * The record's id comes from `objectId`, else the bound record.
161668
161866
  */
@@ -161714,6 +161912,22 @@ var script$68 = {
161714
161912
  },
161715
161913
 
161716
161914
  computed: {
161915
+ /** @return {object} The configured word per state, translated. */
161916
+ stateLabels() {
161917
+ const map = this.content?.stateLabels;
161918
+ if (!map || typeof map !== 'object') {
161919
+ return {}
161920
+ }
161921
+ const out = {};
161922
+ for (const [state, label] of Object.entries(map)) {
161923
+ const text = this.text(label);
161924
+ if (text !== '') {
161925
+ out[state] = text;
161926
+ }
161927
+ }
161928
+ return out
161929
+ },
161930
+
161717
161931
  /** @return {string} The record id. */
161718
161932
  id() {
161719
161933
  const bound = this.objectData || {};
@@ -161888,10 +162102,11 @@ function render$67(_ctx, _cache, $props, $setup, $data, $options) {
161888
162102
  }, [
161889
162103
  vue$1.createVNode(_component_CnPlanWidgetRow, {
161890
162104
  item: node,
162105
+ labels: $options.stateLabels,
161891
162106
  busy: $data.busy,
161892
162107
  onEnable: $options.enable,
161893
162108
  onTransition: $options.transition
161894
- }, null, 8 /* PROPS */, ["item", "busy", "onEnable", "onTransition"]),
162109
+ }, null, 8 /* PROPS */, ["item", "labels", "busy", "onEnable", "onTransition"]),
161895
162110
  (node.children.length > 0)
161896
162111
  ? (vue$1.openBlock(), vue$1.createElementBlock("ul", _hoisted_3$58, [
161897
162112
  (vue$1.openBlock(true), vue$1.createElementBlock(vue$1.Fragment, null, vue$1.renderList(node.children, (child) => {
@@ -161901,10 +162116,11 @@ function render$67(_ctx, _cache, $props, $setup, $data, $options) {
161901
162116
  }, [
161902
162117
  vue$1.createVNode(_component_CnPlanWidgetRow, {
161903
162118
  item: child,
162119
+ labels: $options.stateLabels,
161904
162120
  busy: $data.busy,
161905
162121
  onEnable: $options.enable,
161906
162122
  onTransition: $options.transition
161907
- }, null, 8 /* PROPS */, ["item", "busy", "onEnable", "onTransition"])
162123
+ }, null, 8 /* PROPS */, ["item", "labels", "busy", "onEnable", "onTransition"])
161908
162124
  ]))
161909
162125
  }), 128 /* KEYED_FRAGMENT */))
161910
162126
  ]))
@@ -161917,7 +162133,7 @@ function render$67(_ctx, _cache, $props, $setup, $data, $options) {
161917
162133
  }
161918
162134
 
161919
162135
  script$68.render = render$67;
161920
- script$68.__scopeId = "data-v-425e0d90";
162136
+ script$68.__scopeId = "data-v-06146e95";
161921
162137
  const __sfc_main$62 = script$68;
161922
162138
 
161923
162139
  /**
@@ -186864,6 +187080,8 @@ var script$5E = {
186864
187080
  conditionFailed: false,
186865
187081
  /** Why it failed, as the request reported it. */
186866
187082
  conditionFailureReason: '',
187083
+ /** Whether the browser says it is online, for `content.connection`. */
187084
+ online: typeof navigator === 'undefined' || navigator.onLine !== false,
186867
187085
  }
186868
187086
  },
186869
187087
 
@@ -186919,6 +187137,24 @@ var script$5E = {
186919
187137
  return normalizeLook(this.cnLook) === 'board' ? this.resolvedActions.slice(0, 1) : []
186920
187138
  },
186921
187139
 
187140
+ /**
187141
+ * `content.connection`: `offline` shows the banner only while the
187142
+ * device is offline, `online` only while it is online (DqInspectie
187143
+ * "3 wijzigingen wachten op bereik"); unset shows it either way.
187144
+ *
187145
+ * @return {boolean}
187146
+ */
187147
+ connectionAllows() {
187148
+ const connection = this.content && this.content.connection;
187149
+ if (connection === 'offline') {
187150
+ return !this.online
187151
+ }
187152
+ if (connection === 'online') {
187153
+ return this.online
187154
+ }
187155
+ return true
187156
+ },
187157
+
186922
187158
  /** The effective visibleWhen condition (prop → content → null). */
186923
187159
  resolvedVisibleWhen() {
186924
187160
  return this.visibleWhen || (this.content && this.content.visibleWhen) || null
@@ -187092,6 +187328,9 @@ var script$5E = {
187092
187328
  * @spec openspec/changes/workplace-dashboard-primitives/specs/workplace-dashboard-primitives/spec.md#requirement-attention-card
187093
187329
  */
187094
187330
  visible() {
187331
+ if (!this.connectionAllows) {
187332
+ return false
187333
+ }
187095
187334
  const title = this.title || (this.content && this.content.title) || '';
187096
187335
  if (this.resolvedText === '' && this.resolvedLead === '' && !(this.isAttention && title !== '')) {
187097
187336
  return false
@@ -187194,7 +187433,22 @@ var script$5E = {
187194
187433
  },
187195
187434
  },
187196
187435
 
187436
+ mounted() {
187437
+ window.addEventListener('online', this.onConnection);
187438
+ window.addEventListener('offline', this.onConnection);
187439
+ },
187440
+
187441
+ beforeUnmount() {
187442
+ window.removeEventListener('online', this.onConnection);
187443
+ window.removeEventListener('offline', this.onConnection);
187444
+ },
187445
+
187197
187446
  methods: {
187447
+ /** Follow the browser's connection, for `content.connection`. */
187448
+ onConnection() {
187449
+ this.online = typeof navigator === 'undefined' || navigator.onLine !== false;
187450
+ },
187451
+
187198
187452
  /**
187199
187453
  * A manifest string through the host's label lookup (`cnTranslate`), so a key
187200
187454
  * such as "Mine" reads in the user's language.
@@ -187543,7 +187797,7 @@ function render$5D(_ctx, _cache, $props, $setup, $data, $options) {
187543
187797
  }
187544
187798
 
187545
187799
  script$5E.render = render$5D;
187546
- script$5E.__scopeId = "data-v-0efd62ad";
187800
+ script$5E.__scopeId = "data-v-64b8fd50";
187547
187801
  const __sfc_main$5y = script$5E;
187548
187802
 
187549
187803
  /**
@@ -188169,7 +188423,7 @@ const __sfc_main$5w = script$5C;
188169
188423
  var script$5B = {
188170
188424
  name: 'CnExportsWidget',
188171
188425
 
188172
- components: { NcButton: vue.NcButton },
188426
+ components: { DownloadOutline, NcButton: vue.NcButton },
188173
188427
 
188174
188428
  inject: {
188175
188429
  /** Host translate function provided by CnAppRoot. */
@@ -188312,6 +188566,7 @@ const _hoisted_9$2t = {
188312
188566
  };
188313
188567
 
188314
188568
  function render$5A(_ctx, _cache, $props, $setup, $data, $options) {
188569
+ const _component_DownloadOutline = vue$1.resolveComponent("DownloadOutline");
188315
188570
  const _component_NcButton = vue$1.resolveComponent("NcButton");
188316
188571
 
188317
188572
  return (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_1$5r, [
@@ -188340,8 +188595,11 @@ function render$5A(_ctx, _cache, $props, $setup, $data, $options) {
188340
188595
  href: run.href,
188341
188596
  "data-testid": "cn-exports-download"
188342
188597
  }, {
188598
+ icon: vue$1.withCtx(() => [
188599
+ vue$1.createVNode(_component_DownloadOutline, { size: 16 })
188600
+ ]),
188343
188601
  default: vue$1.withCtx(() => [
188344
- vue$1.createTextVNode(vue$1.toDisplayString($options.t('nextcloud-vue', 'Download')), 1 /* TEXT */)
188602
+ vue$1.createTextVNode(" " + vue$1.toDisplayString($options.t('nextcloud-vue', 'Download')), 1 /* TEXT */)
188345
188603
  ]),
188346
188604
  _: 1 /* STABLE */
188347
188605
  }, 8 /* PROPS */, ["href"]))
@@ -188353,7 +188611,7 @@ function render$5A(_ctx, _cache, $props, $setup, $data, $options) {
188353
188611
  }
188354
188612
 
188355
188613
  script$5B.render = render$5A;
188356
- script$5B.__scopeId = "data-v-1a295cca";
188614
+ script$5B.__scopeId = "data-v-9d27adf2";
188357
188615
  const __sfc_main$5v = script$5B;
188358
188616
 
188359
188617
  /**
@@ -193182,21 +193440,21 @@ const _hoisted_10$2a = {
193182
193440
  "data-testid": "cn-timeline-list"
193183
193441
  };
193184
193442
  const _hoisted_11$1W = ["data-kind"];
193185
- const _hoisted_12$1J = { class: "cn-timeline-manage__head" };
193186
- const _hoisted_13$1x = { class: "cn-timeline-manage__kind" };
193187
- const _hoisted_14$1s = { class: "cn-timeline-manage__author" };
193188
- const _hoisted_15$1m = { class: "cn-timeline-manage__moment" };
193189
- const _hoisted_16$1d = {
193443
+ const _hoisted_12$1J = { class: "cn-timeline-manage__message" };
193444
+ const _hoisted_13$1x = { class: "cn-timeline-manage__head" };
193445
+ const _hoisted_14$1s = { class: "cn-timeline-manage__kind" };
193446
+ const _hoisted_15$1m = { class: "cn-timeline-manage__author" };
193447
+ const _hoisted_16$1d = { class: "cn-timeline-manage__moment" };
193448
+ const _hoisted_17$15 = {
193190
193449
  key: 0,
193191
193450
  class: "cn-timeline-manage__badge cn-timeline-manage__badge--public",
193192
193451
  "data-testid": "cn-timeline-public"
193193
193452
  };
193194
- const _hoisted_17$15 = {
193453
+ const _hoisted_18$X = {
193195
193454
  key: 1,
193196
193455
  class: "cn-timeline-manage__badge cn-timeline-manage__badge--open",
193197
193456
  "data-testid": "cn-timeline-followup-open"
193198
193457
  };
193199
- const _hoisted_18$X = { class: "cn-timeline-manage__message" };
193200
193458
  const _hoisted_19$U = {
193201
193459
  key: 0,
193202
193460
  class: "cn-timeline-manage__siblings",
@@ -193353,18 +193611,18 @@ function render$5r(_ctx, _cache, $props, $setup, $data, $options) {
193353
193611
  "data-kind": entry.kind || 'note',
193354
193612
  "data-testid": "cn-timeline-entry"
193355
193613
  }, [
193356
- vue$1.createElementVNode("div", _hoisted_12$1J, [
193357
- vue$1.createElementVNode("span", _hoisted_13$1x, vue$1.toDisplayString($options.kindLabel(entry)), 1 /* TEXT */),
193358
- vue$1.createElementVNode("span", _hoisted_14$1s, vue$1.toDisplayString(entry.author), 1 /* TEXT */),
193359
- vue$1.createElementVNode("span", _hoisted_15$1m, vue$1.toDisplayString($options.moment(entry.created)), 1 /* TEXT */),
193614
+ vue$1.createElementVNode("p", _hoisted_12$1J, vue$1.toDisplayString(entry.message), 1 /* TEXT */),
193615
+ vue$1.createElementVNode("div", _hoisted_13$1x, [
193616
+ vue$1.createElementVNode("span", _hoisted_14$1s, vue$1.toDisplayString($options.kindLabel(entry)), 1 /* TEXT */),
193617
+ vue$1.createElementVNode("span", _hoisted_15$1m, vue$1.toDisplayString(entry.author), 1 /* TEXT */),
193618
+ vue$1.createElementVNode("span", _hoisted_16$1d, vue$1.toDisplayString($options.moment(entry.created)), 1 /* TEXT */),
193360
193619
  (entry.visibility === 'public')
193361
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_16$1d, vue$1.toDisplayString($options.publicLabel), 1 /* TEXT */))
193620
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_17$15, vue$1.toDisplayString($options.publicLabel), 1 /* TEXT */))
193362
193621
  : vue$1.createCommentVNode("v-if", true),
193363
193622
  (entry.followUp === 'open')
193364
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_17$15, vue$1.toDisplayString($options.t('nextcloud-vue', 'Needs an answer')), 1 /* TEXT */))
193623
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_18$X, vue$1.toDisplayString($options.t('nextcloud-vue', 'Needs an answer')), 1 /* TEXT */))
193365
193624
  : vue$1.createCommentVNode("v-if", true)
193366
193625
  ]),
193367
- vue$1.createElementVNode("p", _hoisted_18$X, vue$1.toDisplayString(entry.message), 1 /* TEXT */),
193368
193626
  (entry.siblings && entry.siblings.length)
193369
193627
  ? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_19$U, vue$1.toDisplayString($options.n('nextcloud-vue', 'Also written on %n other record', 'Also written on %n other records', entry.siblings.length)), 1 /* TEXT */))
193370
193628
  : vue$1.createCommentVNode("v-if", true),
@@ -193555,7 +193813,7 @@ function render$5r(_ctx, _cache, $props, $setup, $data, $options) {
193555
193813
  }
193556
193814
 
193557
193815
  script$5s.render = render$5r;
193558
- script$5s.__scopeId = "data-v-0cd291df";
193816
+ script$5s.__scopeId = "data-v-702cb3dc";
193559
193817
  const __sfc_main$5m = script$5s;
193560
193818
 
193561
193819
  /**
@@ -196221,7 +196479,7 @@ function render$5l(_ctx, _cache, $props, $setup, $data, $options) {
196221
196479
  }
196222
196480
 
196223
196481
  script$5m.render = render$5l;
196224
- script$5m.__scopeId = "data-v-3d784176";
196482
+ script$5m.__scopeId = "data-v-485ec8e1";
196225
196483
  const __sfc_main$5g = script$5m;
196226
196484
 
196227
196485
  /**
@@ -242061,6 +242319,7 @@ var script$45 = {
242061
242319
  * `offlineText` while the device is offline and `onlineText` otherwise. `tone` is `warning`
242062
242320
  * (default while offline), `success` or `info`.
242063
242321
  * - `width` — the frame width in pixels (default 350).
242322
+ * - `height` — the frame height in pixels (at least 400); what does not fit scrolls inside it. Without it the frame grows with its content.
242064
242323
  *
242065
242324
  * @type {{frames?: Array<object>, status?: object, width?: number}}
242066
242325
  */
@@ -242148,7 +242407,12 @@ var script$45 = {
242148
242407
  /** @return {object} The frame width. */
242149
242408
  frameStyle() {
242150
242409
  const width = Number(this.content?.width);
242151
- return { '--cn-device-frame-width': `${Number.isFinite(width) && width >= 240 ? width : 350}px` }
242410
+ const height = Number(this.content?.height);
242411
+ const style = { '--cn-device-frame-width': `${Number.isFinite(width) && width >= 240 ? width : 350}px` };
242412
+ if (Number.isFinite(height) && height >= 400) {
242413
+ style['--cn-device-frame-height'] = `${height}px`;
242414
+ }
242415
+ return style
242152
242416
  },
242153
242417
 
242154
242418
  /**
@@ -242303,7 +242567,7 @@ function render$44(_ctx, _cache, $props, $setup, $data, $options) {
242303
242567
  }
242304
242568
 
242305
242569
  script$45.render = render$44;
242306
- script$45.__scopeId = "data-v-64bde7d3";
242570
+ script$45.__scopeId = "data-v-9442557e";
242307
242571
  const __sfc_main$45 = script$45;
242308
242572
 
242309
242573
  /**
@@ -246870,7 +247134,7 @@ function rowHref(entry, spec) {
246870
247134
  var script$3_ = {
246871
247135
  name: 'CnFieldListWidget',
246872
247136
 
246873
- components: { CnStatusBadge: __sfc_main$8g, DragVertical, NcActionButton: vue.NcActionButton, NcActions: vue.NcActions, NcButton: vue.NcButton, NcCheckboxRadioSwitch: vue.NcCheckboxRadioSwitch, NcNoteCard: vue.NcNoteCard, NcSelect: vue.NcSelect, NcTextField: vue.NcTextField },
247137
+ components: { CnStatusBadge: __sfc_main$8g, DeleteOutline, DragVertical, NcActionButton: vue.NcActionButton, NcActions: vue.NcActions, NcButton: vue.NcButton, NcCheckboxRadioSwitch: vue.NcCheckboxRadioSwitch, NcNoteCard: vue.NcNoteCard, NcSelect: vue.NcSelect, NcTextField: vue.NcTextField, Plus },
246874
247138
 
246875
247139
  inject: {
246876
247140
  cnTranslate: { default: () => (key) => key },
@@ -248052,6 +248316,7 @@ const _hoisted_31$g = {
248052
248316
  };
248053
248317
 
248054
248318
  function render$3Z(_ctx, _cache, $props, $setup, $data, $options) {
248319
+ const _component_Plus = vue$1.resolveComponent("Plus");
248055
248320
  const _component_NcButton = vue$1.resolveComponent("NcButton");
248056
248321
  const _component_NcSelect = vue$1.resolveComponent("NcSelect");
248057
248322
  const _component_NcCheckboxRadioSwitch = vue$1.resolveComponent("NcCheckboxRadioSwitch");
@@ -248060,6 +248325,7 @@ function render$3Z(_ctx, _cache, $props, $setup, $data, $options) {
248060
248325
  const _component_NcActionButton = vue$1.resolveComponent("NcActionButton");
248061
248326
  const _component_NcActions = vue$1.resolveComponent("NcActions");
248062
248327
  const _component_DragVertical = vue$1.resolveComponent("DragVertical");
248328
+ const _component_DeleteOutline = vue$1.resolveComponent("DeleteOutline");
248063
248329
  const _component_NcNoteCard = vue$1.resolveComponent("NcNoteCard");
248064
248330
 
248065
248331
  return (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_1$3Y, [
@@ -248071,8 +248337,11 @@ function render$3Z(_ctx, _cache, $props, $setup, $data, $options) {
248071
248337
  "data-testid": "cn-field-list-open-add",
248072
248338
  onClick: _cache[0] || (_cache[0] = $event => ($data.adding = !$data.adding))
248073
248339
  }, {
248340
+ icon: vue$1.withCtx(() => [
248341
+ vue$1.createVNode(_component_Plus, { size: 16 })
248342
+ ]),
248074
248343
  default: vue$1.withCtx(() => [
248075
- vue$1.createTextVNode(" + " + vue$1.toDisplayString($options.addLabel), 1 /* TEXT */)
248344
+ vue$1.createTextVNode(" " + vue$1.toDisplayString($options.addLabel), 1 /* TEXT */)
248076
248345
  ]),
248077
248346
  _: 1 /* STABLE */
248078
248347
  }, 8 /* PROPS */, ["disabled"])
@@ -248399,12 +248668,26 @@ function render$3Z(_ctx, _cache, $props, $setup, $data, $options) {
248399
248668
  "aria-label": $options.removeAriaLabel(row),
248400
248669
  "data-testid": `cn-field-list-remove-${row.key}`,
248401
248670
  onClick: $event => ($options.remove(row))
248402
- }, {
248403
- default: vue$1.withCtx(() => [
248404
- vue$1.createTextVNode(vue$1.toDisplayString($options.removeLabel), 1 /* TEXT */)
248405
- ]),
248406
- _: 1 /* STABLE */
248407
- }, 8 /* PROPS */, ["disabled", "aria-label", "data-testid", "onClick"]))
248671
+ }, vue$1.createSlots({ _: 2 /* DYNAMIC */ }, [
248672
+ ($options.isOptions)
248673
+ ? {
248674
+ name: "icon",
248675
+ fn: vue$1.withCtx(() => [
248676
+ vue$1.createVNode(_component_DeleteOutline, { size: 18 })
248677
+ ]),
248678
+ key: "0"
248679
+ }
248680
+ : undefined,
248681
+ (!$options.isOptions)
248682
+ ? {
248683
+ name: "default",
248684
+ fn: vue$1.withCtx(() => [
248685
+ vue$1.createTextVNode(vue$1.toDisplayString($options.removeLabel), 1 /* TEXT */)
248686
+ ]),
248687
+ key: "1"
248688
+ }
248689
+ : undefined
248690
+ ]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled", "aria-label", "data-testid", "onClick"]))
248408
248691
  : vue$1.createCommentVNode("v-if", true)
248409
248692
  ]),
248410
248693
  (row.detail)
@@ -248441,8 +248724,11 @@ function render$3Z(_ctx, _cache, $props, $setup, $data, $options) {
248441
248724
  "data-testid": "cn-field-list-open-add",
248442
248725
  onClick: _cache[3] || (_cache[3] = $event => ($data.adding = true))
248443
248726
  }, {
248727
+ icon: vue$1.withCtx(() => [
248728
+ vue$1.createVNode(_component_Plus, { size: 16 })
248729
+ ]),
248444
248730
  default: vue$1.withCtx(() => [
248445
- vue$1.createTextVNode(" + " + vue$1.toDisplayString($options.addLabel), 1 /* TEXT */)
248731
+ vue$1.createTextVNode(" " + vue$1.toDisplayString($options.addLabel), 1 /* TEXT */)
248446
248732
  ]),
248447
248733
  _: 1 /* STABLE */
248448
248734
  }, 8 /* PROPS */, ["disabled"])
@@ -248548,7 +248834,7 @@ function render$3Z(_ctx, _cache, $props, $setup, $data, $options) {
248548
248834
  }
248549
248835
 
248550
248836
  script$3_.render = render$3Z;
248551
- script$3_.__scopeId = "data-v-80d5a77a";
248837
+ script$3_.__scopeId = "data-v-aaeabe74";
248552
248838
  const __sfc_main$3_ = script$3_;
248553
248839
 
248554
248840
  /**
@@ -253874,6 +254160,18 @@ var script$3Q = {
253874
254160
  return Boolean(avatar && typeof avatar === 'object' && Number(avatar.size) === 32)
253875
254161
  },
253876
254162
 
254163
+ /**
254164
+ * Whether the avatar is tinted with the primary colour (`avatar.tone:
254165
+ * "primary"`), as DqZaakGerelateerd draws a related case's type initials.
254166
+ *
254167
+ * @return {boolean}
254168
+ * @spec openspec/changes/record-list-avatar-tone/specs/record-list-avatar/spec.md#requirement-a-record-list-avatar-can-carry-the-primary-tint
254169
+ */
254170
+ avatarPrimary() {
254171
+ const avatar = this.content?.avatar;
254172
+ return Boolean(avatar && typeof avatar === 'object' && avatar.tone === 'primary')
254173
+ },
254174
+
253877
254175
  /** @return {boolean} Whether a row's pill comes before its title (`pillAt: "start"`). */
253878
254176
  pillFirst() {
253879
254177
  return this.content?.pillAt === 'start'
@@ -254134,6 +254432,7 @@ var script$3Q = {
254134
254432
  tag: link ? 'router-link' : 'div',
254135
254433
  attrs: link ? { to: link } : {},
254136
254434
  initials: this.initialsFor(row),
254435
+ avatarTone: this.avatarToneFor(row),
254137
254436
  title: this.fill(c.title || (row !== raw ? '{value}' : ''), row),
254138
254437
  meta: this.metaOf(row),
254139
254438
  text: this.fill(c.text, row),
@@ -254852,6 +255151,23 @@ var script$3Q = {
254852
255151
  return { value, max, share, over }
254853
255152
  },
254854
255153
 
255154
+ /**
255155
+ * The tone of a row's initials, from `avatar.tone: { field, map }`
255156
+ * (`{ field: "status", map: { requested: "warning" } }`: an open advice
255157
+ * request's initials on the warning tint, DqZaakBesluiten); '' without.
255158
+ *
255159
+ * @param {object} row The row.
255160
+ * @return {string} A status variant, or ''.
255161
+ */
255162
+ avatarToneFor(row) {
255163
+ const tone = this.content?.avatar?.tone;
255164
+ if (!tone || typeof tone !== 'object' || typeof tone.field !== 'string' || !tone.map || typeof tone.map !== 'object') {
255165
+ return ''
255166
+ }
255167
+ const variant = tone.map[String(readPath$8(row, tone.field) ?? '')];
255168
+ return ['default', 'success', 'warning', 'error', 'info', 'purple', 'teal'].includes(variant) ? variant : ''
255169
+ },
255170
+
254855
255171
  /**
254856
255172
  * The initials of the row's avatar (`avatar`: a name template such as
254857
255173
  * `"{client.name}"`, or `{ text }`), or '' without one.
@@ -255001,7 +255317,7 @@ var script$3Q = {
255001
255317
  ? { label, tag: 'a', attrs: { href: link.href, target: '_blank', rel: 'noopener' } }
255002
255318
  : { label, tag: 'router-link', attrs: { to: link.to } }
255003
255319
  }
255004
- return { label, tag: 'button', attrs: { type: 'button' } }
255320
+ return { label, tag: 'button', attrs: { type: 'button' }, icon: typeof action.icon === 'string' ? action.icon : '' }
255005
255321
  },
255006
255322
 
255007
255323
  /**
@@ -256021,158 +256337,146 @@ const _hoisted_25$o = {
256021
256337
  class: "cn-record-list__leading",
256022
256338
  "data-testid": "cn-record-list-leading"
256023
256339
  };
256024
- const _hoisted_26$m = {
256025
- key: 1,
256026
- class: "cn-record-list__avatar",
256027
- "aria-hidden": "true",
256028
- "data-testid": "cn-record-list-avatar"
256029
- };
256030
- const _hoisted_27$i = { class: "cn-record-list__main" };
256031
- const _hoisted_28$h = {
256340
+ const _hoisted_26$m = { class: "cn-record-list__main" };
256341
+ const _hoisted_27$i = {
256032
256342
  key: 1,
256033
256343
  class: "cn-record-list__meta"
256034
256344
  };
256035
- const _hoisted_29$g = {
256345
+ const _hoisted_28$h = {
256036
256346
  key: 3,
256037
256347
  class: "cn-record-list__flag",
256038
256348
  "data-testid": "cn-record-list-flag"
256039
256349
  };
256040
- const _hoisted_30$g = {
256350
+ const _hoisted_29$g = {
256041
256351
  key: 4,
256042
256352
  class: "cn-record-list__pills"
256043
256353
  };
256044
- const _hoisted_31$f = {
256354
+ const _hoisted_30$g = {
256045
256355
  key: 6,
256046
256356
  class: "cn-record-list__trailing"
256047
256357
  };
256048
- const _hoisted_32$f = {
256358
+ const _hoisted_31$f = {
256049
256359
  key: 0,
256050
256360
  class: "cn-record-list__leading",
256051
256361
  "data-testid": "cn-record-list-leading"
256052
256362
  };
256053
- const _hoisted_33$d = {
256363
+ const _hoisted_32$f = {
256054
256364
  key: 1,
256055
256365
  class: "cn-record-list__pill-start"
256056
256366
  };
256057
- const _hoisted_34$d = {
256058
- key: 2,
256059
- class: "cn-record-list__avatar",
256060
- "aria-hidden": "true",
256061
- "data-testid": "cn-record-list-avatar"
256062
- };
256063
- const _hoisted_35$c = {
256367
+ const _hoisted_33$d = {
256064
256368
  key: 4,
256065
256369
  class: "cn-record-list__icon-tile",
256066
256370
  "aria-hidden": "true",
256067
256371
  "data-testid": "cn-record-list-icon-tile"
256068
256372
  };
256069
- const _hoisted_36$c = { class: "cn-record-list__main" };
256070
- const _hoisted_37$b = {
256373
+ const _hoisted_34$d = { class: "cn-record-list__main" };
256374
+ const _hoisted_35$c = {
256071
256375
  key: 0,
256072
256376
  class: "cn-record-list__title"
256073
256377
  };
256074
- const _hoisted_38$b = {
256378
+ const _hoisted_36$c = {
256075
256379
  key: 1,
256076
256380
  class: "cn-record-list__meta"
256077
256381
  };
256078
- const _hoisted_39$9 = {
256382
+ const _hoisted_37$b = {
256079
256383
  key: 2,
256080
256384
  class: "cn-record-list__meta",
256081
256385
  "data-testid": "cn-record-list-text"
256082
256386
  };
256083
- const _hoisted_40$7 = {
256387
+ const _hoisted_38$b = {
256084
256388
  key: 4,
256085
256389
  class: "cn-record-list__meta",
256086
256390
  "data-testid": "cn-record-list-links"
256087
256391
  };
256088
- const _hoisted_41$5 = { key: 1 };
256089
- const _hoisted_42$5 = { key: 2 };
256090
- const _hoisted_43$5 = {
256392
+ const _hoisted_39$9 = { key: 1 };
256393
+ const _hoisted_40$7 = { key: 2 };
256394
+ const _hoisted_41$5 = {
256091
256395
  key: 5,
256092
256396
  class: "cn-record-list__aside"
256093
256397
  };
256094
- const _hoisted_44$5 = {
256398
+ const _hoisted_42$5 = {
256095
256399
  key: 0,
256096
256400
  class: "cn-record-list__flag",
256097
256401
  "data-testid": "cn-record-list-flag"
256098
256402
  };
256099
- const _hoisted_45$4 = {
256403
+ const _hoisted_43$5 = {
256100
256404
  key: 3,
256101
256405
  class: "cn-record-list__trailing"
256102
256406
  };
256103
- const _hoisted_46$4 = { class: "cn-record-list__card-head" };
256104
- const _hoisted_47$4 = { class: "cn-record-list__card-title" };
256105
- const _hoisted_48$3 = {
256407
+ const _hoisted_44$5 = { class: "cn-record-list__card-head" };
256408
+ const _hoisted_45$4 = { class: "cn-record-list__card-title" };
256409
+ const _hoisted_46$4 = {
256106
256410
  key: 1,
256107
256411
  class: "cn-record-list__title"
256108
256412
  };
256109
- const _hoisted_49$3 = {
256413
+ const _hoisted_47$4 = {
256110
256414
  key: 0,
256111
256415
  class: "cn-record-list__card-pills"
256112
256416
  };
256113
- const _hoisted_50$3 = {
256417
+ const _hoisted_48$3 = {
256114
256418
  key: 0,
256115
256419
  class: "cn-record-list__meta"
256116
256420
  };
256117
- const _hoisted_51$2 = {
256421
+ const _hoisted_49$3 = {
256118
256422
  key: 1,
256119
256423
  class: "cn-record-list__card-value",
256120
256424
  "data-testid": "cn-record-list-card-value"
256121
256425
  };
256122
- const _hoisted_52$2 = {
256426
+ const _hoisted_50$3 = {
256123
256427
  key: 3,
256124
256428
  class: "cn-record-list__feed-row"
256125
256429
  };
256126
- const _hoisted_53$2 = {
256430
+ const _hoisted_51$2 = {
256127
256431
  class: "cn-record-list__feed-icon",
256128
256432
  "aria-hidden": "true"
256129
256433
  };
256130
- const _hoisted_54$2 = {
256434
+ const _hoisted_52$2 = {
256131
256435
  key: 0,
256132
256436
  class: "cn-record-list__meta"
256133
256437
  };
256134
- const _hoisted_55$2 = {
256438
+ const _hoisted_53$2 = {
256135
256439
  key: 1,
256136
256440
  class: "cn-record-list__text"
256137
256441
  };
256138
- const _hoisted_56$2 = {
256442
+ const _hoisted_54$2 = {
256139
256443
  key: 4,
256140
256444
  class: "cn-record-list__inline-row"
256141
256445
  };
256142
- const _hoisted_57$2 = {
256446
+ const _hoisted_55$2 = {
256143
256447
  key: 0,
256144
256448
  class: "cn-record-list__label"
256145
256449
  };
256146
- const _hoisted_58$2 = ["aria-label", "aria-valuenow", "aria-valuemax"];
256147
- const _hoisted_59$2 = {
256450
+ const _hoisted_56$2 = ["aria-label", "aria-valuenow", "aria-valuemax"];
256451
+ const _hoisted_57$2 = {
256148
256452
  key: 10,
256149
256453
  class: "cn-record-list__error",
256150
256454
  role: "alert",
256151
256455
  "data-testid": "cn-record-list-action-error"
256152
256456
  };
256153
- const _hoisted_60$2 = { class: "cn-record-list__notice-text" };
256154
- const _hoisted_61$2 = {
256457
+ const _hoisted_58$2 = { class: "cn-record-list__notice-text" };
256458
+ const _hoisted_59$2 = {
256155
256459
  key: 12,
256156
256460
  class: "cn-record-list__footnote",
256157
256461
  "data-testid": "cn-record-list-footnote"
256158
256462
  };
256159
- const _hoisted_62$1 = ["href"];
256160
- const _hoisted_63$1 = {
256463
+ const _hoisted_60$2 = ["href"];
256464
+ const _hoisted_61$2 = {
256161
256465
  key: 15,
256162
256466
  class: "cn-record-list__group-head",
256163
256467
  "data-testid": "cn-record-list-group-head"
256164
256468
  };
256165
- const _hoisted_64$1 = {
256469
+ const _hoisted_62$1 = {
256166
256470
  class: "cn-record-list__group-heading",
256167
256471
  "data-testid": "cn-record-list-group-heading"
256168
256472
  };
256169
- const _hoisted_65$1 = ["id"];
256170
- const _hoisted_66$1 = {
256473
+ const _hoisted_63$1 = ["id"];
256474
+ const _hoisted_64$1 = {
256171
256475
  key: 0,
256172
256476
  class: "cn-record-list__footer-note",
256173
256477
  "data-testid": "cn-record-list-footer-note"
256174
256478
  };
256175
- const _hoisted_67$1 = ["id"];
256479
+ const _hoisted_65$1 = ["id"];
256176
256480
 
256177
256481
  function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256178
256482
  const _component_NcLoadingIcon = vue$1.resolveComponent("NcLoadingIcon");
@@ -256192,7 +256496,7 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256192
256496
  const _component_ChevronRight = vue$1.resolveComponent("ChevronRight");
256193
256497
 
256194
256498
  return (vue$1.openBlock(), vue$1.createElementBlock("div", {
256195
- class: vue$1.normalizeClass(["cn-record-list", [`cn-record-list--${$options.presentation}`, { 'cn-record-list--compact': $props.content.density === 'compact', 'cn-record-list--stacked': $props.content.density === 'stacked', 'cn-record-list--tiles': $options.presentation === 'rows' && $props.content.tiles === true, 'cn-record-list--rule-above': $props.content.ruleAbove === true, 'cn-record-list--data-table': $options.presentation === 'table' && $props.content.tableLook === 'data' }]]),
256499
+ class: vue$1.normalizeClass(["cn-record-list", [`cn-record-list--${$options.presentation}`, { 'cn-record-list--compact': $props.content.density === 'compact', 'cn-record-list--pill-aside': $options.presentation === 'cards' && $props.content.cardPillAside === true, 'cn-record-list--stacked': $props.content.density === 'stacked', 'cn-record-list--tiles': $options.presentation === 'rows' && $props.content.tiles === true, 'cn-record-list--rule-above': $props.content.ruleAbove === true, 'cn-record-list--data-table': $options.presentation === 'table' && $props.content.tableLook === 'data' }]]),
256196
256500
  "data-testid": "cn-record-list"
256197
256501
  }, [
256198
256502
  ($options.intro && !$options.absent)
@@ -256490,7 +256794,7 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256490
256794
  (group.items.length > 0)
256491
256795
  ? (vue$1.openBlock(), vue$1.createElementBlock("ul", {
256492
256796
  key: 2,
256493
- class: vue$1.normalizeClass(["cn-record-list__list", { 'cn-record-list__list--avatar-small': $options.avatarSmall }]),
256797
+ class: vue$1.normalizeClass(["cn-record-list__list", { 'cn-record-list__list--avatar-small': $options.avatarSmall, 'cn-record-list__list--avatar-primary': $options.avatarPrimary }]),
256494
256798
  "aria-labelledby": group.label ? group.headingId : null,
256495
256799
  "data-testid": $options.isGrouped ? 'cn-record-list-group' : null
256496
256800
  }, [
@@ -256506,7 +256810,12 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256506
256810
  ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_25$o, vue$1.toDisplayString(item.leading), 1 /* TEXT */))
256507
256811
  : vue$1.createCommentVNode("v-if", true),
256508
256812
  (item.initials)
256509
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_26$m, vue$1.toDisplayString(item.initials), 1 /* TEXT */))
256813
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", {
256814
+ key: 1,
256815
+ class: vue$1.normalizeClass(["cn-record-list__avatar", item.avatarTone ? 'cn-status-badge--' + item.avatarTone : '']),
256816
+ "aria-hidden": "true",
256817
+ "data-testid": "cn-record-list-avatar"
256818
+ }, vue$1.toDisplayString(item.initials), 3 /* TEXT, CLASS */))
256510
256819
  : vue$1.createCommentVNode("v-if", true),
256511
256820
  (item.dot)
256512
256821
  ? (vue$1.openBlock(), vue$1.createElementBlock("span", {
@@ -256517,7 +256826,7 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256517
256826
  "data-testid": "cn-record-list-dot"
256518
256827
  }, null, 4 /* STYLE */))
256519
256828
  : vue$1.createCommentVNode("v-if", true),
256520
- vue$1.createElementVNode("span", _hoisted_27$i, [
256829
+ vue$1.createElementVNode("span", _hoisted_26$m, [
256521
256830
  (item.title)
256522
256831
  ? (vue$1.openBlock(), vue$1.createBlock(vue$1.resolveDynamicComponent(item.tag), vue$1.mergeProps({
256523
256832
  key: 0,
@@ -256530,14 +256839,14 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256530
256839
  }, 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["class"]))
256531
256840
  : vue$1.createCommentVNode("v-if", true),
256532
256841
  (item.meta)
256533
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_28$h, vue$1.toDisplayString(item.meta), 1 /* TEXT */))
256842
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_27$i, vue$1.toDisplayString(item.meta), 1 /* TEXT */))
256534
256843
  : vue$1.createCommentVNode("v-if", true)
256535
256844
  ]),
256536
256845
  (item.flag)
256537
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_29$g, vue$1.toDisplayString(item.flag), 1 /* TEXT */))
256846
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_28$h, vue$1.toDisplayString(item.flag), 1 /* TEXT */))
256538
256847
  : vue$1.createCommentVNode("v-if", true),
256539
256848
  (item.pill || item.badges.length > 0)
256540
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_30$g, [
256849
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_29$g, [
256541
256850
  (item.pill)
256542
256851
  ? (vue$1.openBlock(), vue$1.createBlock(_component_CnStatusBadge, {
256543
256852
  key: 0,
@@ -256565,13 +256874,20 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256565
256874
  }, vue$1.toDisplayString(item.due.text), 3 /* TEXT, CLASS */))
256566
256875
  : vue$1.createCommentVNode("v-if", true),
256567
256876
  (item.trailing)
256568
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_31$f, vue$1.toDisplayString(item.trailing), 1 /* TEXT */))
256877
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_30$g, vue$1.toDisplayString(item.trailing), 1 /* TEXT */))
256569
256878
  : vue$1.createCommentVNode("v-if", true),
256570
256879
  (vue$1.openBlock(), vue$1.createBlock(vue$1.resolveDynamicComponent(item.action.tag), vue$1.mergeProps({
256571
256880
  class: ["cn-record-list__action", { 'cn-record-list__action--outlined': $options.rowActionOutlined }]
256572
256881
  }, { ref_for: true }, item.action.attrs, { "data-testid": "cn-record-list-action" }, vue$1.toHandlers(item.action.tag === 'button' ? { click: () => $options.runRowAction(item.row) } : {})), {
256573
256882
  default: vue$1.withCtx(() => [
256574
- vue$1.createTextVNode(vue$1.toDisplayString(item.action.label), 1 /* TEXT */)
256883
+ (item.action.icon)
256884
+ ? (vue$1.openBlock(), vue$1.createBlock(_component_CnIcon, {
256885
+ key: 0,
256886
+ name: item.action.icon,
256887
+ size: 16
256888
+ }, null, 8 /* PROPS */, ["name"]))
256889
+ : vue$1.createCommentVNode("v-if", true),
256890
+ vue$1.createTextVNode(" " + vue$1.toDisplayString(item.action.label), 1 /* TEXT */)
256575
256891
  ]),
256576
256892
  _: 2 /* DYNAMIC */
256577
256893
  }, 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["class"]))
@@ -256583,10 +256899,10 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256583
256899
  }, { ref_for: true }, item.attrs), {
256584
256900
  default: vue$1.withCtx(() => [
256585
256901
  (item.leading)
256586
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_32$f, vue$1.toDisplayString(item.leading), 1 /* TEXT */))
256902
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_31$f, vue$1.toDisplayString(item.leading), 1 /* TEXT */))
256587
256903
  : vue$1.createCommentVNode("v-if", true),
256588
256904
  ($options.pillFirst && item.pill)
256589
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_33$d, [
256905
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_32$f, [
256590
256906
  vue$1.createVNode(_component_CnStatusBadge, {
256591
256907
  label: item.pill.label,
256592
256908
  variant: item.pill.variant,
@@ -256595,7 +256911,12 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256595
256911
  ]))
256596
256912
  : vue$1.createCommentVNode("v-if", true),
256597
256913
  (item.initials)
256598
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_34$d, vue$1.toDisplayString(item.initials), 1 /* TEXT */))
256914
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", {
256915
+ key: 2,
256916
+ class: vue$1.normalizeClass(["cn-record-list__avatar", item.avatarTone ? 'cn-status-badge--' + item.avatarTone : '']),
256917
+ "aria-hidden": "true",
256918
+ "data-testid": "cn-record-list-avatar"
256919
+ }, vue$1.toDisplayString(item.initials), 3 /* TEXT, CLASS */))
256599
256920
  : vue$1.createCommentVNode("v-if", true),
256600
256921
  (item.dot)
256601
256922
  ? (vue$1.openBlock(), vue$1.createElementBlock("span", {
@@ -256607,22 +256928,22 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256607
256928
  }, null, 4 /* STYLE */))
256608
256929
  : vue$1.createCommentVNode("v-if", true),
256609
256930
  ($options.iconTiles)
256610
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_35$c, [
256931
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_33$d, [
256611
256932
  vue$1.createVNode(_component_CnIcon, {
256612
256933
  name: item.icon,
256613
256934
  size: 18
256614
256935
  }, null, 8 /* PROPS */, ["name"])
256615
256936
  ]))
256616
256937
  : vue$1.createCommentVNode("v-if", true),
256617
- vue$1.createElementVNode("span", _hoisted_36$c, [
256938
+ vue$1.createElementVNode("span", _hoisted_34$d, [
256618
256939
  (item.title)
256619
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_37$b, vue$1.toDisplayString(item.title), 1 /* TEXT */))
256940
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_35$c, vue$1.toDisplayString(item.title), 1 /* TEXT */))
256620
256941
  : vue$1.createCommentVNode("v-if", true),
256621
256942
  (item.meta)
256622
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_38$b, vue$1.toDisplayString(item.meta), 1 /* TEXT */))
256943
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_36$c, vue$1.toDisplayString(item.meta), 1 /* TEXT */))
256623
256944
  : vue$1.createCommentVNode("v-if", true),
256624
256945
  (item.text)
256625
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_39$9, vue$1.toDisplayString(item.text), 1 /* TEXT */))
256946
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_37$b, vue$1.toDisplayString(item.text), 1 /* TEXT */))
256626
256947
  : vue$1.createCommentVNode("v-if", true),
256627
256948
  (item.due && $options.dueBelow)
256628
256949
  ? (vue$1.openBlock(), vue$1.createElementBlock("span", {
@@ -256632,7 +256953,7 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256632
256953
  }, vue$1.toDisplayString(item.due.text), 3 /* TEXT, CLASS */))
256633
256954
  : vue$1.createCommentVNode("v-if", true),
256634
256955
  (item.links.length > 0)
256635
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_40$7, [
256956
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_38$b, [
256636
256957
  vue$1.createTextVNode(vue$1.toDisplayString($options.linksLabel) + " ", 1 /* TEXT */),
256637
256958
  (vue$1.openBlock(true), vue$1.createElementBlock(vue$1.Fragment, null, vue$1.renderList(item.links, (link, linkIndex) => {
256638
256959
  return (vue$1.openBlock(), vue$1.createElementBlock(vue$1.Fragment, {
@@ -256648,9 +256969,9 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256648
256969
  ]),
256649
256970
  _: 2 /* DYNAMIC */
256650
256971
  }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["to"]))
256651
- : (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_41$5, vue$1.toDisplayString(link.label), 1 /* TEXT */)),
256972
+ : (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_39$9, vue$1.toDisplayString(link.label), 1 /* TEXT */)),
256652
256973
  (linkIndex < item.links.length - 1)
256653
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_42$5, ", "))
256974
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_40$7, ", "))
256654
256975
  : vue$1.createCommentVNode("v-if", true)
256655
256976
  ], 64 /* STABLE_FRAGMENT */))
256656
256977
  }), 128 /* KEYED_FRAGMENT */))
@@ -256658,9 +256979,9 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256658
256979
  : vue$1.createCommentVNode("v-if", true)
256659
256980
  ]),
256660
256981
  ((item.pill && !$options.pillFirst) || item.badges.length > 0 || (item.due && !$options.dueBelow) || item.trailing || item.flag)
256661
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_43$5, [
256982
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_41$5, [
256662
256983
  (item.flag)
256663
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_44$5, vue$1.toDisplayString(item.flag), 1 /* TEXT */))
256984
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_42$5, vue$1.toDisplayString(item.flag), 1 /* TEXT */))
256664
256985
  : vue$1.createCommentVNode("v-if", true),
256665
256986
  (item.pill && !$options.pillFirst)
256666
256987
  ? (vue$1.openBlock(), vue$1.createBlock(_component_CnStatusBadge, {
@@ -256687,7 +257008,7 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256687
257008
  }, vue$1.toDisplayString(item.due.text), 3 /* TEXT, CLASS */))
256688
257009
  : vue$1.createCommentVNode("v-if", true),
256689
257010
  (item.trailing)
256690
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_45$4, vue$1.toDisplayString(item.trailing), 1 /* TEXT */))
257011
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_43$5, vue$1.toDisplayString(item.trailing), 1 /* TEXT */))
256691
257012
  : vue$1.createCommentVNode("v-if", true)
256692
257013
  ]))
256693
257014
  : vue$1.createCommentVNode("v-if", true),
@@ -256778,8 +257099,8 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256778
257099
  class: ["cn-record-list__card", { 'cn-record-list__card--link': item.tag !== 'div' }]
256779
257100
  }, { ref_for: true }, item.attrs, { "data-testid": "cn-record-list-card" }), {
256780
257101
  default: vue$1.withCtx(() => [
256781
- vue$1.createElementVNode("span", _hoisted_46$4, [
256782
- vue$1.createElementVNode("span", _hoisted_47$4, [
257102
+ vue$1.createElementVNode("span", _hoisted_44$5, [
257103
+ vue$1.createElementVNode("span", _hoisted_45$4, [
256783
257104
  ($options.cardIcons)
256784
257105
  ? (vue$1.openBlock(), vue$1.createBlock(_component_CnIcon, {
256785
257106
  key: 0,
@@ -256789,11 +257110,11 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256789
257110
  }, null, 8 /* PROPS */, ["name"]))
256790
257111
  : vue$1.createCommentVNode("v-if", true),
256791
257112
  (item.title)
256792
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_48$3, vue$1.toDisplayString(item.title), 1 /* TEXT */))
257113
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_46$4, vue$1.toDisplayString(item.title), 1 /* TEXT */))
256793
257114
  : vue$1.createCommentVNode("v-if", true)
256794
257115
  ]),
256795
257116
  (item.pill || item.badges.length > 0)
256796
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_49$3, [
257117
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_47$4, [
256797
257118
  (item.pill)
256798
257119
  ? (vue$1.openBlock(), vue$1.createBlock(_component_CnStatusBadge, {
256799
257120
  key: 0,
@@ -256815,17 +257136,17 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256815
257136
  : vue$1.createCommentVNode("v-if", true)
256816
257137
  ]),
256817
257138
  (item.meta)
256818
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_50$3, vue$1.toDisplayString(item.meta), 1 /* TEXT */))
257139
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_48$3, vue$1.toDisplayString(item.meta), 1 /* TEXT */))
256819
257140
  : vue$1.createCommentVNode("v-if", true),
256820
257141
  (item.trailing)
256821
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_51$2, vue$1.toDisplayString(item.trailing), 1 /* TEXT */))
257142
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_49$3, vue$1.toDisplayString(item.trailing), 1 /* TEXT */))
256822
257143
  : vue$1.createCommentVNode("v-if", true)
256823
257144
  ]),
256824
257145
  _: 2 /* DYNAMIC */
256825
257146
  }, 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["class"]))
256826
257147
  : ($options.presentation === 'feed')
256827
- ? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_52$2, [
256828
- vue$1.createElementVNode("span", _hoisted_53$2, [
257148
+ ? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_50$3, [
257149
+ vue$1.createElementVNode("span", _hoisted_51$2, [
256829
257150
  vue$1.createVNode(_component_CnIcon, {
256830
257151
  name: item.icon,
256831
257152
  size: 18
@@ -256834,18 +257155,18 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256834
257155
  (vue$1.openBlock(), vue$1.createBlock(vue$1.resolveDynamicComponent(item.tag), vue$1.mergeProps({ class: "cn-record-list__main" }, { ref_for: true }, item.attrs), {
256835
257156
  default: vue$1.withCtx(() => [
256836
257157
  (item.meta)
256837
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_54$2, vue$1.toDisplayString(item.meta), 1 /* TEXT */))
257158
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_52$2, vue$1.toDisplayString(item.meta), 1 /* TEXT */))
256838
257159
  : vue$1.createCommentVNode("v-if", true),
256839
257160
  (item.text)
256840
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_55$2, vue$1.toDisplayString(item.text), 1 /* TEXT */))
257161
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_53$2, vue$1.toDisplayString(item.text), 1 /* TEXT */))
256841
257162
  : vue$1.createCommentVNode("v-if", true)
256842
257163
  ]),
256843
257164
  _: 2 /* DYNAMIC */
256844
257165
  }, 1040 /* FULL_PROPS, DYNAMIC_SLOTS */))
256845
257166
  ]))
256846
- : (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_56$2, [
257167
+ : (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_54$2, [
256847
257168
  (item.label)
256848
- ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_57$2, vue$1.toDisplayString(item.label), 1 /* TEXT */))
257169
+ ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_55$2, vue$1.toDisplayString(item.label), 1 /* TEXT */))
256849
257170
  : vue$1.createCommentVNode("v-if", true),
256850
257171
  (vue$1.openBlock(), vue$1.createBlock(vue$1.resolveDynamicComponent(item.tag), vue$1.mergeProps({ class: "cn-record-list__inline-title" }, { ref_for: true }, item.attrs), {
256851
257172
  default: vue$1.withCtx(() => [
@@ -256869,7 +257190,7 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256869
257190
  class: "cn-record-list__bar-fill",
256870
257191
  style: vue$1.normalizeStyle({ width: `${item.bar.share}%` })
256871
257192
  }, null, 4 /* STYLE */)
256872
- ], 10 /* CLASS, PROPS */, _hoisted_58$2))
257193
+ ], 10 /* CLASS, PROPS */, _hoisted_56$2))
256873
257194
  : vue$1.createCommentVNode("v-if", true)
256874
257195
  ]))
256875
257196
  }), 128 /* KEYED_FRAGMENT */))
@@ -256878,7 +257199,7 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256878
257199
  ], 64 /* STABLE_FRAGMENT */))
256879
257200
  }), 128 /* KEYED_FRAGMENT */)),
256880
257201
  ($data.actionError)
256881
- ? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_59$2, vue$1.toDisplayString($data.actionError), 1 /* TEXT */))
257202
+ ? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_57$2, vue$1.toDisplayString($data.actionError), 1 /* TEXT */))
256882
257203
  : vue$1.createCommentVNode("v-if", true),
256883
257204
  ($options.footnoteTone && $options.footnote && !$data.error && !$options.absent && ($data.rows.length > 0 || $options.footnoteFromAnswer))
256884
257205
  ? (vue$1.openBlock(), vue$1.createElementBlock("div", {
@@ -256892,10 +257213,10 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256892
257213
  class: "cn-record-list__notice-icon",
256893
257214
  "aria-hidden": "true"
256894
257215
  }, null, 8 /* PROPS */, ["name"]),
256895
- vue$1.createElementVNode("p", _hoisted_60$2, vue$1.toDisplayString($options.footnote), 1 /* TEXT */)
257216
+ vue$1.createElementVNode("p", _hoisted_58$2, vue$1.toDisplayString($options.footnote), 1 /* TEXT */)
256896
257217
  ], 2 /* CLASS */))
256897
257218
  : ($options.footnote && !$data.error && !$options.absent && ($data.rows.length > 0 || $options.footnoteFromAnswer))
256898
- ? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_61$2, vue$1.toDisplayString($options.footnote), 1 /* TEXT */))
257219
+ ? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_59$2, vue$1.toDisplayString($options.footnote), 1 /* TEXT */))
256899
257220
  : vue$1.createCommentVNode("v-if", true),
256900
257221
  ($options.footerLink && $options.footerLink.to)
256901
257222
  ? (vue$1.openBlock(), vue$1.createBlock(_component_router_link, {
@@ -256915,11 +257236,11 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256915
257236
  class: "cn-record-list__footer-link",
256916
257237
  href: $options.footerLink.href,
256917
257238
  "data-testid": "cn-record-list-footer-link"
256918
- }, vue$1.toDisplayString($options.footerLink.label), 9 /* TEXT, PROPS */, _hoisted_62$1))
257239
+ }, vue$1.toDisplayString($options.footerLink.label), 9 /* TEXT, PROPS */, _hoisted_60$2))
256919
257240
  : vue$1.createCommentVNode("v-if", true),
256920
257241
  ($options.footerGroupHead && $data.rows.length === 0 && !$data.error && !$data.loading)
256921
- ? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_63$1, [
256922
- vue$1.createElementVNode("h3", _hoisted_64$1, vue$1.toDisplayString($options.footerGroupHead), 1 /* TEXT */),
257242
+ ? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_61$2, [
257243
+ vue$1.createElementVNode("h3", _hoisted_62$1, vue$1.toDisplayString($options.footerGroupHead), 1 /* TEXT */),
256923
257244
  vue$1.createVNode(_component_NcButton, {
256924
257245
  variant: "secondary",
256925
257246
  class: vue$1.normalizeClass({ 'cn-record-list__action--tonal': $options.footerTonal }),
@@ -256954,7 +257275,7 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256954
257275
  id: $data.footerReasonId,
256955
257276
  class: "cn-record-list__footer-reason",
256956
257277
  "data-testid": "cn-record-list-footer-reason"
256957
- }, vue$1.toDisplayString($options.footerAction.reason), 9 /* TEXT, PROPS */, _hoisted_65$1))
257278
+ }, vue$1.toDisplayString($options.footerAction.reason), 9 /* TEXT, PROPS */, _hoisted_63$1))
256958
257279
  : vue$1.createCommentVNode("v-if", true),
256959
257280
  ($options.footerAction && $options.footerGroup === '' && !$data.error)
256960
257281
  ? (vue$1.openBlock(), vue$1.createElementBlock("div", {
@@ -256963,7 +257284,7 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256963
257284
  "data-testid": "cn-record-list-footer"
256964
257285
  }, [
256965
257286
  ($options.footerAction.note)
256966
- ? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_66$1, vue$1.toDisplayString($options.footerAction.note), 1 /* TEXT */))
257287
+ ? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_64$1, vue$1.toDisplayString($options.footerAction.note), 1 /* TEXT */))
256967
257288
  : vue$1.createCommentVNode("v-if", true),
256968
257289
  vue$1.createVNode(_component_NcButton, {
256969
257290
  variant: "secondary",
@@ -256998,7 +257319,7 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
256998
257319
  id: $data.footerReasonId,
256999
257320
  class: "cn-record-list__footer-reason",
257000
257321
  "data-testid": "cn-record-list-footer-reason"
257001
- }, vue$1.toDisplayString($options.footerAction.reason), 9 /* TEXT, PROPS */, _hoisted_67$1))
257322
+ }, vue$1.toDisplayString($options.footerAction.reason), 9 /* TEXT, PROPS */, _hoisted_65$1))
257002
257323
  : vue$1.createCommentVNode("v-if", true)
257003
257324
  ], 2 /* CLASS */))
257004
257325
  : vue$1.createCommentVNode("v-if", true)
@@ -257006,7 +257327,7 @@ function render$3P(_ctx, _cache, $props, $setup, $data, $options) {
257006
257327
  }
257007
257328
 
257008
257329
  script$3Q.render = render$3P;
257009
- script$3Q.__scopeId = "data-v-60a08dcb";
257330
+ script$3Q.__scopeId = "data-v-2d6d1351";
257010
257331
  const __sfc_main$3Q = script$3Q;
257011
257332
 
257012
257333
  /**
@@ -261122,8 +261443,8 @@ function render$3D(_ctx, _cache, $props, $setup, $data, $options) {
261122
261443
  })),
261123
261444
  vue$1.createElementVNode("p", _hoisted_14$X, vue$1.toDisplayString($data.raised ? $options.label('hintClear') : $options.label('hintRaise')), 1 /* TEXT */),
261124
261445
  vue$1.createVNode(_component_NcButton, {
261446
+ class: "cn-attention-flag__compose",
261125
261447
  variant: "secondary",
261126
- wide: "",
261127
261448
  "data-testid": "cn-attention-flag-compose",
261128
261449
  onClick: _cache[0] || (_cache[0] = $event => ($data.composing = true))
261129
261450
  }, {
@@ -261176,7 +261497,7 @@ function render$3D(_ctx, _cache, $props, $setup, $data, $options) {
261176
261497
  }
261177
261498
 
261178
261499
  script$3E.render = render$3D;
261179
- script$3E.__scopeId = "data-v-a1c69dec";
261500
+ script$3E.__scopeId = "data-v-6a02b0b8";
261180
261501
  const __sfc_main$3E = script$3E;
261181
261502
 
261182
261503
  /**
@@ -270124,7 +270445,7 @@ const INPUT_TYPES = ['password', 'date', 'datetime-local', 'email', 'url'];
270124
270445
  var script$3p = {
270125
270446
  name: 'CnSettingsField',
270126
270447
 
270127
- components: { Close, NcButton: vue.NcButton, NcCheckboxRadioSwitch: vue.NcCheckboxRadioSwitch, NcLoadingIcon: vue.NcLoadingIcon, NcNoteCard: vue.NcNoteCard, NcSelect: vue.NcSelect, NcTextArea: vue.NcTextArea, NcTextField: vue.NcTextField, Plus },
270448
+ components: { Close, NcButton: vue.NcButton, NcCheckboxRadioSwitch: vue.NcCheckboxRadioSwitch, NcLoadingIcon: vue.NcLoadingIcon, NcNoteCard: vue.NcNoteCard, NcSelect: vue.NcSelect, NcTextArea: vue.NcTextArea, NcTextField: vue.NcTextField, Plus, Upload },
270128
270449
 
270129
270450
  props: {
270130
270451
  /**
@@ -270640,6 +270961,7 @@ function render$3o(_ctx, _cache, $props, $setup, $data, $options) {
270640
270961
  const _component_NcSelect = vue$1.resolveComponent("NcSelect");
270641
270962
  const _component_Close = vue$1.resolveComponent("Close");
270642
270963
  const _component_Plus = vue$1.resolveComponent("Plus");
270964
+ const _component_Upload = vue$1.resolveComponent("Upload");
270643
270965
  const _component_NcTextArea = vue$1.resolveComponent("NcTextArea");
270644
270966
 
270645
270967
  return (vue$1.openBlock(), vue$1.createElementBlock("div", {
@@ -270914,22 +271236,23 @@ function render$3o(_ctx, _cache, $props, $setup, $data, $options) {
270914
271236
  "aria-describedby": $options.describedBy,
270915
271237
  "data-testid": `cn-settings-field-upload-${$props.field.key}`,
270916
271238
  onClick: _cache[2] || (_cache[2] = $event => (_ctx.$refs.file && _ctx.$refs.file.click()))
270917
- }, vue$1.createSlots({
271239
+ }, {
271240
+ icon: vue$1.withCtx(() => [
271241
+ ($data.uploading)
271242
+ ? (vue$1.openBlock(), vue$1.createBlock(_component_NcLoadingIcon, {
271243
+ key: 0,
271244
+ size: 20
271245
+ }))
271246
+ : (vue$1.openBlock(), vue$1.createBlock(_component_Upload, {
271247
+ key: 1,
271248
+ size: 16
271249
+ }))
271250
+ ]),
270918
271251
  default: vue$1.withCtx(() => [
270919
271252
  vue$1.createTextVNode(" " + vue$1.toDisplayString($props.field.uploadLabel || $options.t('nextcloud-vue', 'Upload {name}', { name: $options.label })), 1 /* TEXT */)
270920
271253
  ]),
270921
- _: 2 /* DYNAMIC */
270922
- }, [
270923
- ($data.uploading)
270924
- ? {
270925
- name: "icon",
270926
- fn: vue$1.withCtx(() => [
270927
- vue$1.createVNode(_component_NcLoadingIcon, { size: 20 })
270928
- ]),
270929
- key: "0"
270930
- }
270931
- : undefined
270932
- ]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled", "aria-describedby", "data-testid"]))
271254
+ _: 1 /* STABLE */
271255
+ }, 8 /* PROPS */, ["disabled", "aria-describedby", "data-testid"]))
270933
271256
  : vue$1.createCommentVNode("v-if", true)
270934
271257
  ])
270935
271258
  ], 8 /* PROPS */, _hoisted_15$Q))
@@ -271084,7 +271407,7 @@ function render$3o(_ctx, _cache, $props, $setup, $data, $options) {
271084
271407
  }
271085
271408
 
271086
271409
  script$3p.render = render$3o;
271087
- script$3p.__scopeId = "data-v-d11dd994";
271410
+ script$3p.__scopeId = "data-v-2c11c1cc";
271088
271411
  const __sfc_main$3p = script$3p;
271089
271412
 
271090
271413
  /**
@@ -271332,9 +271655,21 @@ var script$3o = {
271332
271655
  inject: {
271333
271656
  /** The app's translate function; identity outside CnAppRoot. */
271334
271657
  cnTranslate: { default: () => (key) => key },
271658
+ /** The look the page is drawn in (a string or a ref). */
271659
+ cnLook: { default: 'nextcloud' },
271335
271660
  },
271336
271661
 
271337
271662
  props: {
271663
+ /**
271664
+ * The Save button's variant: `primary`, or `secondary` for a card
271665
+ * whose Save is one choice among others, as a board draws it
271666
+ * (DqBeheerinstellingen "Dit account gebruiken").
271667
+ */
271668
+ saveVariant: {
271669
+ type: String,
271670
+ default: 'primary',
271671
+ },
271672
+
271338
271673
  /** The section title. */
271339
271674
  name: {
271340
271675
  type: String,
@@ -271565,6 +271900,20 @@ var script$3o = {
271565
271900
  },
271566
271901
 
271567
271902
  computed: {
271903
+ /**
271904
+ * Whether Save is unavailable: while saving, and, in the Nextcloud
271905
+ * look, while nothing changed. The boards draw a settings card's Save
271906
+ * ready to press (r31: every board settings card's "Opslaan" read
271907
+ * grey on live); pressing it with nothing changed sends nothing.
271908
+ *
271909
+ * @return {boolean}
271910
+ * @spec openspec/changes/board-settings-save-ready/specs/settings-board-look/spec.md
271911
+ */
271912
+ saveDisabled() {
271913
+ const look = this.cnLook && typeof this.cnLook === 'object' && 'value' in this.cnLook ? this.cnLook.value : this.cnLook;
271914
+ return this.saving || (!this.dirty && normalizeLook(look) !== 'board')
271915
+ },
271916
+
271568
271917
  /** @return {number} The column count, 1 to 4. */
271569
271918
  columnCount() {
271570
271919
  return [1, 2, 3, 4].includes(this.columns) ? this.columns : 1
@@ -272492,9 +272841,9 @@ function render$3n(_ctx, _cache, $props, $setup, $data, $options) {
272492
272841
  ], 2 /* CLASS */),
272493
272842
  vue$1.createElementVNode("div", _hoisted_3$2Y, [
272494
272843
  vue$1.createVNode(_component_NcButton, {
272495
- variant: "primary",
272844
+ variant: $props.saveVariant,
272496
272845
  type: "submit",
272497
- disabled: $data.saving || !$options.dirty,
272846
+ disabled: $options.saveDisabled,
272498
272847
  "data-testid": "cn-settings-fields-save"
272499
272848
  }, vue$1.createSlots({
272500
272849
  default: vue$1.withCtx(() => [
@@ -272511,7 +272860,7 @@ function render$3n(_ctx, _cache, $props, $setup, $data, $options) {
272511
272860
  key: "0"
272512
272861
  }
272513
272862
  : undefined
272514
- ]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])
272863
+ ]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["variant", "disabled"])
272515
272864
  ])
272516
272865
  ]))
272517
272866
  : (vue$1.openBlock(), vue$1.createElementBlock("div", {
@@ -272600,9 +272949,9 @@ function render$3n(_ctx, _cache, $props, $setup, $data, $options) {
272600
272949
  ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_7$1T, vue$1.toDisplayString($options.t('nextcloud-vue', 'Unsaved changes')), 1 /* TEXT */))
272601
272950
  : vue$1.createCommentVNode("v-if", true),
272602
272951
  vue$1.createVNode(_component_NcButton, {
272603
- variant: "primary",
272952
+ variant: $props.saveVariant,
272604
272953
  type: "submit",
272605
- disabled: $data.saving || !$options.dirty,
272954
+ disabled: $options.saveDisabled,
272606
272955
  "data-testid": "cn-settings-fields-save"
272607
272956
  }, vue$1.createSlots({
272608
272957
  default: vue$1.withCtx(() => [
@@ -272619,7 +272968,7 @@ function render$3n(_ctx, _cache, $props, $setup, $data, $options) {
272619
272968
  key: "0"
272620
272969
  }
272621
272970
  : undefined
272622
- ]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])
272971
+ ]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["variant", "disabled"])
272623
272972
  ]))
272624
272973
  : vue$1.createCommentVNode("v-if", true)
272625
272974
  ], 32 /* NEED_HYDRATION */))
@@ -272630,7 +272979,7 @@ function render$3n(_ctx, _cache, $props, $setup, $data, $options) {
272630
272979
  }
272631
272980
 
272632
272981
  script$3o.render = render$3n;
272633
- script$3o.__scopeId = "data-v-e6a15fa2";
272982
+ script$3o.__scopeId = "data-v-336ee94a";
272634
272983
  const __sfc_main$3o = script$3o;
272635
272984
 
272636
272985
  /*!
@@ -329197,10 +329546,206 @@ function byOrder(a, b) {
329197
329546
  return aHas ? a.order - b.order : 0
329198
329547
  }
329199
329548
 
329549
+ /**
329550
+ * SPDX-FileCopyrightText: 2026 Conduction B.V.
329551
+ * SPDX-License-Identifier: EUPL-1.2
329552
+ *
329553
+ * The text of one range filter on the Active line ("1 tot en met 31 oktober")
329554
+ * and of several values of one filter ("actief en verlopend").
329555
+ *
329556
+ * @spec openspec/changes/index-filter-labels/specs/active-filter-line-board-look/spec.md#requirement-a-range-is-one-chip
329557
+ */
329558
+
329559
+ const DATE_PATTERN = /^\d{4}-\d{2}-\d{2}(?:$|T)/;
329560
+
329561
+ /**
329562
+ * The two ends of a range value, or null when the value is not a range.
329563
+ *
329564
+ * @param {unknown} value A filter value: `{from, to}`, `{gte, lte}` or `{gt, lt}`.
329565
+ * @return {{from: unknown, to: unknown}|null} The ends, an open end as null.
329566
+ */
329567
+ function rangeEnds(value) {
329568
+ if (!value || typeof value !== 'object' || Array.isArray(value)) {
329569
+ return null
329570
+ }
329571
+ const pick = (...keys) => {
329572
+ for (const key of keys) {
329573
+ if (value[key] !== undefined && value[key] !== null && value[key] !== '') {
329574
+ return value[key]
329575
+ }
329576
+ }
329577
+ return null
329578
+ };
329579
+ const from = pick('from', 'gte', 'gt');
329580
+ const to = pick('to', 'lte', 'lt');
329581
+ return from === null && to === null ? null : { from, to }
329582
+ }
329583
+
329584
+ /**
329585
+ * A date-only string as a local date, or null when the value is not one.
329586
+ *
329587
+ * @param {unknown} value The value.
329588
+ * @return {Date|null} The date.
329589
+ */
329590
+ function asDate$1(value) {
329591
+ if (typeof value !== 'string' || !DATE_PATTERN.test(value)) {
329592
+ return null
329593
+ }
329594
+ const [y, m, d] = value.slice(0, 10).split('-').map(Number);
329595
+ const date = new Date(y, m - 1, d);
329596
+ return Number.isNaN(date.getTime()) ? null : date
329597
+ }
329598
+
329599
+ /**
329600
+ * One end written in the locale.
329601
+ *
329602
+ * @param {Date} date The date.
329603
+ * @param {string|undefined} locale BCP 47 locale.
329604
+ * @param {object} options `Intl.DateTimeFormat` options.
329605
+ * @return {string} The text.
329606
+ */
329607
+ function formatEnd(date, locale, options) {
329608
+ try {
329609
+ return new Intl.DateTimeFormat(locale, options).format(date)
329610
+ } catch {
329611
+ return date.toISOString().slice(0, 10)
329612
+ }
329613
+ }
329614
+
329615
+ /**
329616
+ * The chip text for a range: "{from} through {to}", "from {from}" or "up to {to}".
329617
+ * Date ends get day and month in the locale; the month is written once when
329618
+ * both ends share month and year, the year only when an end is not in the
329619
+ * current one. Other values are written as they are.
329620
+ *
329621
+ * @param {unknown} from The lower end, or null.
329622
+ * @param {unknown} to The upper end, or null.
329623
+ * @param {object} options Options.
329624
+ * @param {(text: string, vars: object) => string} options.translate Translate with placeholders.
329625
+ * @param {string} [options.locale] BCP 47 locale; the environment's when omitted.
329626
+ * @param {Date} [options.now] What counts as now, for the current year.
329627
+ * @return {string} The text.
329628
+ */
329629
+ function rangeChipText(from, to, { translate, locale, now = new Date() }) {
329630
+ const fromDate = asDate$1(from);
329631
+ const toDate = asDate$1(to);
329632
+ const year = now.getFullYear();
329633
+ const withYear = (fromDate && fromDate.getFullYear() !== year) || (toDate && toDate.getFullYear() !== year);
329634
+ const full = withYear ? { day: 'numeric', month: 'long', year: 'numeric' } : { day: 'numeric', month: 'long' };
329635
+ const sameMonth = fromDate && toDate
329636
+ && fromDate.getFullYear() === toDate.getFullYear()
329637
+ && fromDate.getMonth() === toDate.getMonth();
329638
+
329639
+ const fromText = fromDate
329640
+ ? formatEnd(fromDate, locale, sameMonth ? { day: 'numeric' } : full)
329641
+ : (from === null || from === undefined ? null : String(from));
329642
+ const toText = toDate
329643
+ ? formatEnd(toDate, locale, full)
329644
+ : (to === null || to === undefined ? null : String(to));
329645
+
329646
+ if (fromText !== null && toText !== null) {
329647
+ return translate('{from} through {to}', { from: fromText, to: toText })
329648
+ }
329649
+ if (fromText !== null) {
329650
+ return translate('from {from}', { from: fromText })
329651
+ }
329652
+ return translate('up to {to}', { to: toText })
329653
+ }
329654
+
329655
+ /**
329656
+ * Several value names as one list in the locale: "actief en verlopend",
329657
+ * "a, b en c". Joined with ", " where `Intl.ListFormat` is missing.
329658
+ *
329659
+ * @param {string[]} names The value names.
329660
+ * @param {string} [locale] BCP 47 locale; the environment's when omitted.
329661
+ * @return {string} The text.
329662
+ * @spec openspec/changes/index-filter-labels/specs/active-filter-line-board-look/spec.md#requirement-several-values-read-as-a-list
329663
+ */
329664
+ function listText(names, locale) {
329665
+ if (names.length < 2 || typeof Intl.ListFormat !== 'function') {
329666
+ return names.join(', ')
329667
+ }
329668
+ try {
329669
+ return new Intl.ListFormat(locale, { type: 'conjunction' }).format(names)
329670
+ } catch {
329671
+ return names.join(', ')
329672
+ }
329673
+ }
329674
+
329675
+ const TODAY_TOKEN = /^@today(?:([+-])(\d+)d)?$/;
329676
+
329677
+ /**
329678
+ * A range end as a local date at midnight: a date string or an `@today`
329679
+ * token, read against `now`. Null for anything else.
329680
+ *
329681
+ * @param {unknown} value The end.
329682
+ * @param {Date} now What counts as now.
329683
+ * @return {Date|null} The date.
329684
+ */
329685
+ function endDay(value, now) {
329686
+ if (typeof value === 'string') {
329687
+ const token = TODAY_TOKEN.exec(value);
329688
+ if (token) {
329689
+ const shift = token[1] ? Number(token[2]) * (token[1] === '-' ? -1 : 1) : 0;
329690
+ return new Date(now.getFullYear(), now.getMonth(), now.getDate() + shift)
329691
+ }
329692
+ }
329693
+ return asDate$1(value)
329694
+ }
329695
+
329696
+ /**
329697
+ * Whole days from one local date to another.
329698
+ *
329699
+ * @param {Date} a The first date.
329700
+ * @param {Date} b The second date.
329701
+ * @return {number} The days from `a` to `b`.
329702
+ */
329703
+ function daysBetween(a, b) {
329704
+ return Math.round((Date.UTC(b.getFullYear(), b.getMonth(), b.getDate()) - Date.UTC(a.getFullYear(), a.getMonth(), a.getDate())) / 86400000)
329705
+ }
329706
+
329707
+ /**
329708
+ * A range from today named in words: "today", "within {n} days" or "this
329709
+ * week" (Monday to Sunday, or to next Monday). Null for any other range, so
329710
+ * the caller writes it as dates.
329711
+ *
329712
+ * @param {unknown} from The lower end: a date or an `@today` token.
329713
+ * @param {unknown} to The upper end: a date or an `@today` token.
329714
+ * @param {object} options Options.
329715
+ * @param {(text: string) => string} options.translate Translate.
329716
+ * @param {(one: string, many: string, count: number) => string} options.translatePlural Translate with a count.
329717
+ * @param {Date} [options.now] What counts as now.
329718
+ * @return {string|null} The words, or null.
329719
+ * @spec openspec/changes/index-filter-labels/specs/active-filter-line-board-look/spec.md#requirement-a-range-from-today-is-named-in-words
329720
+ */
329721
+ function relativeRangeText(from, to, { translate, translatePlural, now = new Date() }) {
329722
+ const start = endDay(from, now);
329723
+ const end = endDay(to, now);
329724
+ if (!start || !end) {
329725
+ return null
329726
+ }
329727
+ const fromToday = daysBetween(now, start);
329728
+ const span = daysBetween(start, end);
329729
+ if (fromToday === 0 && (span === 0 || span === 1)) {
329730
+ return translate('today')
329731
+ }
329732
+ if (fromToday === 0 && span > 1) {
329733
+ return translatePlural('within %n day', 'within %n days', span)
329734
+ }
329735
+ const monday = new Date(now.getFullYear(), now.getMonth(), now.getDate() - ((now.getDay() + 6) % 7));
329736
+ if (daysBetween(monday, start) === 0 && (span === 6 || span === 7)) {
329737
+ return translate('this week')
329738
+ }
329739
+ return null
329740
+ }
329741
+
329200
329742
  // SPDX-FileCopyrightText: 2026 Conduction B.V.
329201
329743
  // SPDX-License-Identifier: EUPL-1.2
329202
329744
 
329203
329745
 
329746
+ /** Marks a filter entry built from `field[gte]` / `field[lt]` keys. */
329747
+ const RANGE = Symbol('range');
329748
+
329204
329749
  /**
329205
329750
  * A saved view's filters as one readable line: "Case type Woo request,
329206
329751
  * status open". Each filter is its field's title and its values' display
@@ -329223,7 +329768,7 @@ function byOrder(a, b) {
329223
329768
  * @param {object} [options] Options.
329224
329769
  * @param {object} [options.properties] The page schema's `properties`.
329225
329770
  * @param {{[key: string]: {[value: string]: string}}} [options.valueLabels] Display names per filter key and value.
329226
- * @param {{[key: string]: {label?: string, values?: object, hidden?: boolean}}} [options.filterLabels] The page's `config.filterLabels`.
329771
+ * @param {{[key: string]: {label?: string, values?: object, hidden?: boolean, valuesAlone?: boolean}}} [options.filterLabels] The page's `config.filterLabels`; with `valuesAlone` a named value reads as the whole part.
329227
329772
  * @param {(text: string) => string} [options.translate] The app's translate, for titles and labels the schema declares.
329228
329773
  * @return {string} The line, or '' for a view without filters or search.
329229
329774
  * @spec openspec/changes/saved-view-summary-reads-like-the-chips/specs/saved-view-menu-settings/spec.md
@@ -329234,9 +329779,19 @@ function summarizeViewFilters(state, options = {}) {
329234
329779
  const valueLabels = (options.valueLabels && typeof options.valueLabels === 'object') ? options.valueLabels : {};
329235
329780
  const filterLabels = (options.filterLabels && typeof options.filterLabels === 'object') ? options.filterLabels : {};
329236
329781
  const tr = typeof options.translate === 'function' ? options.translate : (text) => text;
329237
- const filters = (state && state.filters && typeof state.filters === 'object') ? state.filters : {};
329782
+ const filters = groupRanges((state && state.filters && typeof state.filters === 'object') ? state.filters : {});
329238
329783
  const parts = [];
329239
329784
  for (const [key, raw] of Object.entries(filters)) {
329785
+ if (raw && typeof raw === 'object' && raw[RANGE] === true) {
329786
+ const named = (filterLabels[key] && typeof filterLabels[key] === 'object') ? filterLabels[key] : {};
329787
+ if (named.hidden === true) {
329788
+ continue
329789
+ }
329790
+ const prop = properties[key] || {};
329791
+ const title = typeof named.label === 'string' && named.label !== '' ? named.label : (typeof prop.title === 'string' && prop.title !== '' ? prop.title : key);
329792
+ parts.push(`${tr(title)} ${rangeWords(raw.from, raw.to)}`);
329793
+ continue
329794
+ }
329240
329795
  const named = (filterLabels[key] && typeof filterLabels[key] === 'object') ? filterLabels[key] : {};
329241
329796
  if (named.hidden === true) {
329242
329797
  continue
@@ -329256,7 +329811,11 @@ function summarizeViewFilters(state, options = {}) {
329256
329811
  ? named.label
329257
329812
  : (typeof prop.title === 'string' && prop.title !== '' ? prop.title : key);
329258
329813
  const field = tr(title);
329259
- parts.push(`${field} ${values.join(` ${l10n.translate('nextcloud-vue', 'or')} `)}`);
329814
+ // `valuesAlone: true`: a value the page names reads as the whole part
329815
+ // ("My cases" for assignee @me), not after the field's title.
329816
+ const raws = (Array.isArray(raw) ? raw : [raw]).filter((value) => value !== undefined && value !== '');
329817
+ const alone = named.valuesAlone === true && raws.length === 1 && typeof namedValues[String(raws[0])] === 'string' && namedValues[String(raws[0])] !== '';
329818
+ parts.push(alone ? values[0] : `${field} ${values.join(` ${l10n.translate('nextcloud-vue', 'or')} `)}`);
329260
329819
  }
329261
329820
  if (state && typeof state.search === 'string' && state.search.trim() !== '') {
329262
329821
  parts.push(`"${state.search.trim()}"`);
@@ -329327,6 +329886,10 @@ function valueText(value, prop, labels, tr) {
329327
329886
  .join(' ')
329328
329887
  }
329329
329888
  const id = String(value);
329889
+ const token = tokenWords(id);
329890
+ if (token !== null) {
329891
+ return token
329892
+ }
329330
329893
  if (typeof labels[id] === 'string' && labels[id] !== '') {
329331
329894
  return labels[id]
329332
329895
  }
@@ -329341,6 +329904,89 @@ function valueText(value, prop, labels, tr) {
329341
329904
  return id
329342
329905
  }
329343
329906
 
329907
+ /**
329908
+ * The filters with each `field[op]` pair folded into one range entry under
329909
+ * `field`, in the place of its first part, so "deadline[gte] @today,
329910
+ * deadline[lt] @today+7d" reads as one deadline range.
329911
+ *
329912
+ * @param {object} filters The view's filters.
329913
+ * @return {object} The filters, ranges folded.
329914
+ */
329915
+ function groupRanges(filters) {
329916
+ const out = {};
329917
+ for (const [key, value] of Object.entries(filters)) {
329918
+ const match = /^(.+)\[(gte|gt|lte|lt)\]$/.exec(key);
329919
+ if (!match) {
329920
+ out[key] = value;
329921
+ continue
329922
+ }
329923
+ const field = match[1];
329924
+ const range = out[field] && out[field][RANGE] === true ? out[field] : { [RANGE]: true };
329925
+ if (match[2] === 'gte' || match[2] === 'gt') {
329926
+ range.from = value;
329927
+ } else {
329928
+ range.to = value;
329929
+ }
329930
+ out[field] = range;
329931
+ }
329932
+ return out
329933
+ }
329934
+
329935
+ /**
329936
+ * A range in words: "within 7 days", "today" or "this week" when it starts
329937
+ * today, else "from {from} up to {to}" with each end in words.
329938
+ *
329939
+ * @param {unknown} from The lower end, or undefined.
329940
+ * @param {unknown} to The upper end, or undefined.
329941
+ * @return {string} The words.
329942
+ */
329943
+ function rangeWords(from, to) {
329944
+ if (from !== undefined && to !== undefined) {
329945
+ const relative = relativeRangeText(from, to, {
329946
+ translate: (text, vars) => l10n.translate('nextcloud-vue', text, vars),
329947
+ translatePlural: (one, many, count) => l10n.translatePlural('nextcloud-vue', one, many, count),
329948
+ });
329949
+ if (relative) {
329950
+ return relative
329951
+ }
329952
+ }
329953
+ const words = (value) => tokenWords(String(value)) ?? String(value);
329954
+ if (from !== undefined && to !== undefined) {
329955
+ return `${l10n.translate('nextcloud-vue', 'from {value}', { value: words(from) })} ${l10n.translate('nextcloud-vue', 'up to {value}', { value: words(to) })}`
329956
+ }
329957
+ return from !== undefined
329958
+ ? l10n.translate('nextcloud-vue', 'from {value}', { value: words(from) })
329959
+ : l10n.translate('nextcloud-vue', 'up to {value}', { value: words(to) })
329960
+ }
329961
+
329962
+ /**
329963
+ * A filter token in words: `@me` "you", `@myTeam` "my team", `@today`
329964
+ * "today", `@today+7d` "in 7 days", `@today-7d` "7 days ago". Null for a
329965
+ * value that is not a token.
329966
+ *
329967
+ * @param {string} value The stored value.
329968
+ * @return {string|null} The words, or null.
329969
+ */
329970
+ function tokenWords(value) {
329971
+ if (value === '@me') {
329972
+ return l10n.translate('nextcloud-vue', 'you')
329973
+ }
329974
+ if (value === '@myTeam') {
329975
+ return l10n.translate('nextcloud-vue', 'my team')
329976
+ }
329977
+ const day = /^@today(?:([+-])(\d+)d)?$/.exec(value);
329978
+ if (!day) {
329979
+ return null
329980
+ }
329981
+ if (!day[1] || Number(day[2]) === 0) {
329982
+ return l10n.translate('nextcloud-vue', 'today')
329983
+ }
329984
+ const count = Number(day[2]);
329985
+ return day[1] === '+'
329986
+ ? l10n.translatePlural('nextcloud-vue', 'in %n day', 'in %n days', count)
329987
+ : l10n.translatePlural('nextcloud-vue', '%n day ago', '%n days ago', count)
329988
+ }
329989
+
329344
329990
  /**
329345
329991
  * The text with its first letter in lower case, unless the first word is in
329346
329992
  * capitals (an abbreviation such as "BSN").
@@ -340295,199 +340941,6 @@ const METADATA_COLUMNS = [
340295
340941
  { key: 'updated', label: 'Updated', format: 'date-time' },
340296
340942
  ];
340297
340943
 
340298
- /**
340299
- * SPDX-FileCopyrightText: 2026 Conduction B.V.
340300
- * SPDX-License-Identifier: EUPL-1.2
340301
- *
340302
- * The text of one range filter on the Active line ("1 tot en met 31 oktober")
340303
- * and of several values of one filter ("actief en verlopend").
340304
- *
340305
- * @spec openspec/changes/index-filter-labels/specs/active-filter-line-board-look/spec.md#requirement-a-range-is-one-chip
340306
- */
340307
-
340308
- const DATE_PATTERN = /^\d{4}-\d{2}-\d{2}(?:$|T)/;
340309
-
340310
- /**
340311
- * The two ends of a range value, or null when the value is not a range.
340312
- *
340313
- * @param {unknown} value A filter value: `{from, to}`, `{gte, lte}` or `{gt, lt}`.
340314
- * @return {{from: unknown, to: unknown}|null} The ends, an open end as null.
340315
- */
340316
- function rangeEnds(value) {
340317
- if (!value || typeof value !== 'object' || Array.isArray(value)) {
340318
- return null
340319
- }
340320
- const pick = (...keys) => {
340321
- for (const key of keys) {
340322
- if (value[key] !== undefined && value[key] !== null && value[key] !== '') {
340323
- return value[key]
340324
- }
340325
- }
340326
- return null
340327
- };
340328
- const from = pick('from', 'gte', 'gt');
340329
- const to = pick('to', 'lte', 'lt');
340330
- return from === null && to === null ? null : { from, to }
340331
- }
340332
-
340333
- /**
340334
- * A date-only string as a local date, or null when the value is not one.
340335
- *
340336
- * @param {unknown} value The value.
340337
- * @return {Date|null} The date.
340338
- */
340339
- function asDate$1(value) {
340340
- if (typeof value !== 'string' || !DATE_PATTERN.test(value)) {
340341
- return null
340342
- }
340343
- const [y, m, d] = value.slice(0, 10).split('-').map(Number);
340344
- const date = new Date(y, m - 1, d);
340345
- return Number.isNaN(date.getTime()) ? null : date
340346
- }
340347
-
340348
- /**
340349
- * One end written in the locale.
340350
- *
340351
- * @param {Date} date The date.
340352
- * @param {string|undefined} locale BCP 47 locale.
340353
- * @param {object} options `Intl.DateTimeFormat` options.
340354
- * @return {string} The text.
340355
- */
340356
- function formatEnd(date, locale, options) {
340357
- try {
340358
- return new Intl.DateTimeFormat(locale, options).format(date)
340359
- } catch {
340360
- return date.toISOString().slice(0, 10)
340361
- }
340362
- }
340363
-
340364
- /**
340365
- * The chip text for a range: "{from} through {to}", "from {from}" or "up to {to}".
340366
- * Date ends get day and month in the locale; the month is written once when
340367
- * both ends share month and year, the year only when an end is not in the
340368
- * current one. Other values are written as they are.
340369
- *
340370
- * @param {unknown} from The lower end, or null.
340371
- * @param {unknown} to The upper end, or null.
340372
- * @param {object} options Options.
340373
- * @param {(text: string, vars: object) => string} options.translate Translate with placeholders.
340374
- * @param {string} [options.locale] BCP 47 locale; the environment's when omitted.
340375
- * @param {Date} [options.now] What counts as now, for the current year.
340376
- * @return {string} The text.
340377
- */
340378
- function rangeChipText(from, to, { translate, locale, now = new Date() }) {
340379
- const fromDate = asDate$1(from);
340380
- const toDate = asDate$1(to);
340381
- const year = now.getFullYear();
340382
- const withYear = (fromDate && fromDate.getFullYear() !== year) || (toDate && toDate.getFullYear() !== year);
340383
- const full = withYear ? { day: 'numeric', month: 'long', year: 'numeric' } : { day: 'numeric', month: 'long' };
340384
- const sameMonth = fromDate && toDate
340385
- && fromDate.getFullYear() === toDate.getFullYear()
340386
- && fromDate.getMonth() === toDate.getMonth();
340387
-
340388
- const fromText = fromDate
340389
- ? formatEnd(fromDate, locale, sameMonth ? { day: 'numeric' } : full)
340390
- : (from === null || from === undefined ? null : String(from));
340391
- const toText = toDate
340392
- ? formatEnd(toDate, locale, full)
340393
- : (to === null || to === undefined ? null : String(to));
340394
-
340395
- if (fromText !== null && toText !== null) {
340396
- return translate('{from} through {to}', { from: fromText, to: toText })
340397
- }
340398
- if (fromText !== null) {
340399
- return translate('from {from}', { from: fromText })
340400
- }
340401
- return translate('up to {to}', { to: toText })
340402
- }
340403
-
340404
- /**
340405
- * Several value names as one list in the locale: "actief en verlopend",
340406
- * "a, b en c". Joined with ", " where `Intl.ListFormat` is missing.
340407
- *
340408
- * @param {string[]} names The value names.
340409
- * @param {string} [locale] BCP 47 locale; the environment's when omitted.
340410
- * @return {string} The text.
340411
- * @spec openspec/changes/index-filter-labels/specs/active-filter-line-board-look/spec.md#requirement-several-values-read-as-a-list
340412
- */
340413
- function listText(names, locale) {
340414
- if (names.length < 2 || typeof Intl.ListFormat !== 'function') {
340415
- return names.join(', ')
340416
- }
340417
- try {
340418
- return new Intl.ListFormat(locale, { type: 'conjunction' }).format(names)
340419
- } catch {
340420
- return names.join(', ')
340421
- }
340422
- }
340423
-
340424
- const TODAY_TOKEN = /^@today(?:([+-])(\d+)d)?$/;
340425
-
340426
- /**
340427
- * A range end as a local date at midnight: a date string or an `@today`
340428
- * token, read against `now`. Null for anything else.
340429
- *
340430
- * @param {unknown} value The end.
340431
- * @param {Date} now What counts as now.
340432
- * @return {Date|null} The date.
340433
- */
340434
- function endDay(value, now) {
340435
- if (typeof value === 'string') {
340436
- const token = TODAY_TOKEN.exec(value);
340437
- if (token) {
340438
- const shift = token[1] ? Number(token[2]) * (token[1] === '-' ? -1 : 1) : 0;
340439
- return new Date(now.getFullYear(), now.getMonth(), now.getDate() + shift)
340440
- }
340441
- }
340442
- return asDate$1(value)
340443
- }
340444
-
340445
- /**
340446
- * Whole days from one local date to another.
340447
- *
340448
- * @param {Date} a The first date.
340449
- * @param {Date} b The second date.
340450
- * @return {number} The days from `a` to `b`.
340451
- */
340452
- function daysBetween(a, b) {
340453
- return Math.round((Date.UTC(b.getFullYear(), b.getMonth(), b.getDate()) - Date.UTC(a.getFullYear(), a.getMonth(), a.getDate())) / 86400000)
340454
- }
340455
-
340456
- /**
340457
- * A range from today named in words: "today", "within {n} days" or "this
340458
- * week" (Monday to Sunday, or to next Monday). Null for any other range, so
340459
- * the caller writes it as dates.
340460
- *
340461
- * @param {unknown} from The lower end: a date or an `@today` token.
340462
- * @param {unknown} to The upper end: a date or an `@today` token.
340463
- * @param {object} options Options.
340464
- * @param {(text: string) => string} options.translate Translate.
340465
- * @param {(one: string, many: string, count: number) => string} options.translatePlural Translate with a count.
340466
- * @param {Date} [options.now] What counts as now.
340467
- * @return {string|null} The words, or null.
340468
- * @spec openspec/changes/index-filter-labels/specs/active-filter-line-board-look/spec.md#requirement-a-range-from-today-is-named-in-words
340469
- */
340470
- function relativeRangeText(from, to, { translate, translatePlural, now = new Date() }) {
340471
- const start = endDay(from, now);
340472
- const end = endDay(to, now);
340473
- if (!start || !end) {
340474
- return null
340475
- }
340476
- const fromToday = daysBetween(now, start);
340477
- const span = daysBetween(start, end);
340478
- if (fromToday === 0 && (span === 0 || span === 1)) {
340479
- return translate('today')
340480
- }
340481
- if (fromToday === 0 && span > 1) {
340482
- return translatePlural('within %n day', 'within %n days', span)
340483
- }
340484
- const monday = new Date(now.getFullYear(), now.getMonth(), now.getDate() - ((now.getDay() + 6) % 7));
340485
- if (daysBetween(monday, start) === 0 && (span === 6 || span === 7)) {
340486
- return translate('this week')
340487
- }
340488
- return null
340489
- }
340490
-
340491
340944
  /**
340492
340945
  * SPDX-FileCopyrightText: 2026 Conduction B.V.
340493
340946
  * SPDX-License-Identifier: EUPL-1.2
@@ -350476,6 +350929,39 @@ var script$28 = {
350476
350929
 
350477
350930
  t: l10n.translate,
350478
350931
 
350932
+ /**
350933
+ * The accessible name of an icon option: what it shows, in words.
350934
+ *
350935
+ * @param {string} name An icon name.
350936
+ * @return {string} Its label, or the name when it has none.
350937
+ * @spec openspec/changes/saved-view-icon-labels/specs/saved-view-icon-labels/spec.md#requirement-an-icon-option-is-named-in-words
350938
+ */
350939
+ iconLabel(name) {
350940
+ const labels = {
350941
+ FilterVariant: l10n.translate('nextcloud-vue', 'Filter'),
350942
+ ClockOutline: l10n.translate('nextcloud-vue', 'Clock'),
350943
+ ClockAlertOutline: l10n.translate('nextcloud-vue', 'Clock with warning'),
350944
+ CalendarClockOutline: l10n.translate('nextcloud-vue', 'Calendar with clock'),
350945
+ CalendarOutline: l10n.translate('nextcloud-vue', 'Calendar'),
350946
+ AccountOutline: l10n.translate('nextcloud-vue', 'Person'),
350947
+ AccountGroupOutline: l10n.translate('nextcloud-vue', 'Group'),
350948
+ FolderOutline: l10n.translate('nextcloud-vue', 'Folder'),
350949
+ FileDocumentOutline: l10n.translate('nextcloud-vue', 'Document'),
350950
+ AlertCircleOutline: l10n.translate('nextcloud-vue', 'Attention'),
350951
+ CheckCircleOutline: l10n.translate('nextcloud-vue', 'Ready'),
350952
+ EmailOutline: l10n.translate('nextcloud-vue', 'Email'),
350953
+ MapMarkerOutline: l10n.translate('nextcloud-vue', 'Location'),
350954
+ TagOutline: l10n.translate('nextcloud-vue', 'Label'),
350955
+ BellOutline: l10n.translate('nextcloud-vue', 'Bell'),
350956
+ ScaleBalance: l10n.translate('nextcloud-vue', 'Scales'),
350957
+ BriefcaseOutline: l10n.translate('nextcloud-vue', 'Briefcase'),
350958
+ EyeOutline: l10n.translate('nextcloud-vue', 'Eye'),
350959
+ LockOutline: l10n.translate('nextcloud-vue', 'Lock'),
350960
+ CurrencyEur: l10n.translate('nextcloud-vue', 'Euro'),
350961
+ };
350962
+ return labels[name] || name
350963
+ },
350964
+
350479
350965
  /**
350480
350966
  * @param {string} name An icon name.
350481
350967
  * @return {object|null} Its component.
@@ -350523,8 +351009,8 @@ function render$27(_ctx, _cache, $props, $setup, $data, $options) {
350523
351009
  role: "radio",
350524
351010
  class: vue$1.normalizeClass(["cn-saved-view-look__icon", { 'cn-saved-view-look__icon--chosen': name === $options.chosenIcon }]),
350525
351011
  "aria-checked": name === $options.chosenIcon ? 'true' : 'false',
350526
- "aria-label": name,
350527
- title: name,
351012
+ "aria-label": $options.iconLabel(name),
351013
+ title: $options.iconLabel(name),
350528
351014
  "data-icon": name,
350529
351015
  onClick: $event => ($options.onIcon(name))
350530
351016
  }, [
@@ -350536,7 +351022,7 @@ function render$27(_ctx, _cache, $props, $setup, $data, $options) {
350536
351022
  }
350537
351023
 
350538
351024
  script$28.render = render$27;
350539
- script$28.__scopeId = "data-v-4ca6e8b8";
351025
+ script$28.__scopeId = "data-v-6fab246c";
350540
351026
  const __sfc_main$28 = script$28;
350541
351027
 
350542
351028
  /**
@@ -359041,7 +359527,24 @@ var script$20 = {
359041
359527
  if (declared || !from || typeof from.field !== 'string' || from.field === '') {
359042
359528
  return ''
359043
359529
  }
359044
- return JSON.stringify({ r: this.register, s: this.exportSchemaSlug, f: this.filter || null, q: from })
359530
+ return JSON.stringify({ r: this.register, s: this.exportSchemaSlug, f: this.filter || null, a: this.quickFiltersFromScope, q: from })
359531
+ },
359532
+
359533
+ /**
359534
+ * The active filters the `quickFiltersFrom` values are counted within,
359535
+ * without the field's own: a saved view's or default filters narrow the
359536
+ * tabs as they narrow the list, and picking a tab keeps the others.
359537
+ *
359538
+ * @return {object}
359539
+ * @spec openspec/changes/quick-filters-from-active-scope/specs/quick-filters-from-active-scope/spec.md#requirement-generated-quick-filters-count-within-the-active-filters
359540
+ */
359541
+ quickFiltersFromScope() {
359542
+ const field = this.quickFiltersFrom && this.quickFiltersFrom.field;
359543
+ const scope = { ...(this.effectiveActiveFilters || {}) };
359544
+ if (field) {
359545
+ delete scope[field];
359546
+ }
359547
+ return scope
359045
359548
  },
359046
359549
 
359047
359550
  filterStripCountKey() {
@@ -362498,7 +363001,8 @@ var script$20 = {
362498
363001
 
362499
363002
  /**
362500
363003
  * Build the `quickFiltersFrom` tabs: the field's distinct values with
362501
- * their counts in one grouped request, labelled through the
363004
+ * their counts within the page filter and the active filters (not the
363005
+ * field's own) in one grouped request, labelled through the
362502
363006
  * reference-label resolver when the values are record ids. A failed
362503
363007
  * request draws no tabs.
362504
363008
  *
@@ -362517,7 +363021,7 @@ var script$20 = {
362517
363021
  const ctx = typeof this.selfFetchTokenCtx === 'function' ? this.selfFetchTokenCtx() : {};
362518
363022
  let groups;
362519
363023
  try {
362520
- groups = await fetchGroupedCounts({ register: this.register, schema, groupBy: from.field, filter: resolveFilterMap(this.filter, params, ctx) }, ctx);
363024
+ groups = await fetchGroupedCounts({ register: this.register, schema, groupBy: from.field, filter: { ...resolveFilterMap(this.filter, params, ctx), ...resolveFilterMap(this.quickFiltersFromScope, params, ctx) } }, ctx);
362521
363025
  } catch {
362522
363026
  groups = [];
362523
363027
  }
@@ -400567,7 +401071,7 @@ function render$1s(_ctx, _cache, $props, $setup, $data, $options) {
400567
401071
  }
400568
401072
 
400569
401073
  script$1t.render = render$1s;
400570
- script$1t.__scopeId = "data-v-12df9aea";
401074
+ script$1t.__scopeId = "data-v-1d57c79a";
400571
401075
  const __sfc_main$1t = script$1t;
400572
401076
 
400573
401077
  var CnDashboardPage = /*#__PURE__*/Object.freeze({
@@ -442497,7 +443001,7 @@ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
442497
443001
  }
442498
443002
 
442499
443003
  script$h.render = render$h;
442500
- script$h.__scopeId = "data-v-0eb0ecb8";
443004
+ script$h.__scopeId = "data-v-2f1d34be";
442501
443005
  const __sfc_main$h = script$h;
442502
443006
 
442503
443007
  var script$g = {
@@ -445002,7 +445506,7 @@ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
445002
445506
  }
445003
445507
 
445004
445508
  script$d.render = render$d;
445005
- script$d.__scopeId = "data-v-22022a49";
445509
+ script$d.__scopeId = "data-v-a251060e";
445006
445510
  const __sfc_main$d = script$d;
445007
445511
 
445008
445512
  let titleIdCounter = 0;