@conduction/nextcloud-vue 2.154.0 → 2.155.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 (64) hide show
  1. package/dist/esm/components/CnAppRoot/CnAppRoot.vue2.js.map +1 -1
  2. package/dist/esm/components/CnAppRoot/CnAppRoot.vue3.js +2 -2
  3. package/dist/esm/components/CnAppRoot/CnAppRoot.vue3.js.map +1 -1
  4. package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue.js +1 -1
  5. package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue2.js +10 -5
  6. package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue2.js.map +1 -1
  7. package/dist/esm/components/CnAssignDialog/CnAssignDialog.vue3.js.map +1 -1
  8. package/dist/esm/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue.js +1 -1
  9. package/dist/esm/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue2.js.map +1 -1
  10. package/dist/esm/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue3.js +2 -0
  11. package/dist/esm/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue3.js.map +1 -1
  12. package/dist/esm/components/CnChoiceCards/CnChoiceCards.vue.js +1 -1
  13. package/dist/esm/components/CnChoiceCards/CnChoiceCards.vue2.js.map +1 -1
  14. package/dist/esm/components/CnChoiceCards/CnChoiceCards.vue3.js.map +1 -1
  15. package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue.js +1 -1
  16. package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue2.js.map +1 -1
  17. package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue3.js.map +1 -1
  18. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue.js +1 -1
  19. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js.map +1 -1
  20. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js.map +1 -1
  21. package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue.js +1 -1
  22. package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue2.js +9 -8
  23. package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue2.js.map +1 -1
  24. package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue3.js.map +1 -1
  25. package/dist/esm/components/CnMapWidget/CnMapWidget.vue.js +1 -1
  26. package/dist/esm/components/CnMapWidget/CnMapWidget.vue2.js +37 -0
  27. package/dist/esm/components/CnMapWidget/CnMapWidget.vue2.js.map +1 -1
  28. package/dist/esm/components/CnMapWidget/CnMapWidget.vue3.js +16 -7
  29. package/dist/esm/components/CnMapWidget/CnMapWidget.vue3.js.map +1 -1
  30. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue.js +1 -1
  31. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js +2 -1
  32. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js.map +1 -1
  33. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js +1 -1
  34. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js.map +1 -1
  35. package/dist/esm/components/CnSavedViewMenuSettings/CnSavedViewMenuSettings.vue.js +1 -1
  36. package/dist/esm/components/CnSavedViewMenuSettings/CnSavedViewMenuSettings.vue2.js.map +1 -1
  37. package/dist/esm/components/CnSavedViewMenuSettings/CnSavedViewMenuSettings.vue3.js.map +1 -1
  38. package/dist/esm/components/CnUserSettingsDialog/CnUserSettingsDialog.vue.js +1 -1
  39. package/dist/esm/components/CnUserSettingsDialog/CnUserSettingsDialog.vue2.js.map +1 -1
  40. package/dist/esm/components/CnUserSettingsDialog/CnUserSettingsDialog.vue3.js.map +1 -1
  41. package/dist/esm/library-style.js +1 -1
  42. package/dist/esm/nextcloud-vue.css +562 -349
  43. package/dist/esm/utils/groupSublines.js +30 -12
  44. package/dist/esm/utils/groupSublines.js.map +1 -1
  45. package/dist/nextcloud-vue.cjs.js +141 -68
  46. package/dist/nextcloud-vue.cjs.js.map +2 -2
  47. package/dist/nextcloud-vue.css +562 -349
  48. package/package.json +1 -1
  49. package/src/components/CnAppRoot/CnAppRoot.vue +2 -2
  50. package/src/components/CnAssignDialog/CnAssignDialog.vue +10 -5
  51. package/src/components/CnAttentionFlagWidget/CnAttentionFlagWidget.vue +2 -6
  52. package/src/components/CnChoiceCards/CnChoiceCards.vue +9 -0
  53. package/src/components/CnCountdownWidget/CnCountdownWidget.vue +3 -0
  54. package/src/components/CnDashboardPage/CnDashboardPage.vue +4 -1
  55. package/src/components/CnFactsWidget/CnFactsWidget.vue +9 -8
  56. package/src/components/CnMapWidget/CnMapWidget.vue +55 -1
  57. package/src/components/CnRecordListWidget/CnRecordListWidget.vue +3 -2
  58. package/src/components/CnSavedViewMenuSettings/CnSavedViewMenuSettings.vue +3 -1
  59. package/src/components/CnUserSettingsDialog/CnUserSettingsDialog.vue +4 -1
  60. package/src/css/dialog.css +43 -0
  61. package/src/css/look-board-detail.css +42 -0
  62. package/src/css/look-board-index.css +8 -0
  63. package/src/css/look-board.css +96 -3
  64. package/src/utils/groupSublines.js +29 -11
@@ -7438,7 +7438,7 @@ const _hoisted_4$6q = {
7438
7438
  };
7439
7439
  const _hoisted_5$5F = { class: "cn-ai-history-list__edit-actions" };
7440
7440
  const _hoisted_6$5e = ["onClick"];
7441
- const _hoisted_7$4L = { class: "cn-ai-history-list__item-title" };
7441
+ const _hoisted_7$4M = { class: "cn-ai-history-list__item-title" };
7442
7442
  const _hoisted_8$4k = {
7443
7443
  key: 0,
7444
7444
  class: "cn-ai-history-list__item-desc"
@@ -7541,7 +7541,7 @@ function render$8J(_ctx, _cache, $props, $setup, $data, $options) {
7541
7541
  class: "cn-ai-history-list__item-button",
7542
7542
  onClick: $event => (_ctx.$emit('select', conv.uuid))
7543
7543
  }, [
7544
- vue$1.createElementVNode("span", _hoisted_7$4L, vue$1.toDisplayString(conv.title || $options.cnTranslate('New conversation')), 1 /* TEXT */),
7544
+ vue$1.createElementVNode("span", _hoisted_7$4M, vue$1.toDisplayString(conv.title || $options.cnTranslate('New conversation')), 1 /* TEXT */),
7545
7545
  (conv.description)
7546
7546
  ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_8$4k, vue$1.toDisplayString(conv.description), 1 /* TEXT */))
7547
7547
  : vue$1.createCommentVNode("v-if", true),
@@ -10193,7 +10193,7 @@ const _hoisted_3$75 = ["aria-label", "disabled", "data-testid", "onClick"];
10193
10193
  const _hoisted_4$6p = { class: "cn-ai-input__row" };
10194
10194
  const _hoisted_5$5E = ["aria-label", "title", "aria-pressed", "aria-disabled", "disabled", "data-engine"];
10195
10195
  const _hoisted_6$5d = ["aria-label", "title", "aria-pressed", "disabled"];
10196
- const _hoisted_7$4K = ["aria-label", "disabled", "placeholder"];
10196
+ const _hoisted_7$4L = ["aria-label", "disabled", "placeholder"];
10197
10197
  const _hoisted_8$4j = ["aria-label", "disabled"];
10198
10198
 
10199
10199
  function render$8I(_ctx, _cache, $props, $setup, $data, $options) {
@@ -10394,7 +10394,7 @@ function render$8I(_ctx, _cache, $props, $setup, $data, $options) {
10394
10394
  _cache[5] || (_cache[5] = vue$1.withKeys(vue$1.withModifiers((...args) => ($options.handleShiftEnter && $options.handleShiftEnter(...args)), ["shift","exact"]), ["enter"]))
10395
10395
  ],
10396
10396
  onInput: _cache[6] || (_cache[6] = (...args) => ($options.autoGrow && $options.autoGrow(...args)))
10397
- }, null, 40 /* PROPS, NEED_HYDRATION */, _hoisted_7$4K), [
10397
+ }, null, 40 /* PROPS, NEED_HYDRATION */, _hoisted_7$4L), [
10398
10398
  [vue$1.vModelText, $data.inputText]
10399
10399
  ]),
10400
10400
  vue$1.createElementVNode("button", {
@@ -10625,7 +10625,7 @@ const _hoisted_6$5c = {
10625
10625
  class: "cn-ai-message-list__attachments",
10626
10626
  "data-testid": "cn-ai-message-attachments"
10627
10627
  };
10628
- const _hoisted_7$4J = ["href"];
10628
+ const _hoisted_7$4K = ["href"];
10629
10629
  const _hoisted_8$4i = {
10630
10630
  key: 1,
10631
10631
  class: "cn-ai-message-list__chip"
@@ -10703,7 +10703,7 @@ function render$8H(_ctx, _cache, $props, $setup, $data, $options) {
10703
10703
  href: $options.fileHref(file),
10704
10704
  target: "_blank",
10705
10705
  rel: "noopener noreferrer"
10706
- }, vue$1.toDisplayString(file.name), 9 /* TEXT, PROPS */, _hoisted_7$4J))
10706
+ }, vue$1.toDisplayString(file.name), 9 /* TEXT, PROPS */, _hoisted_7$4K))
10707
10707
  : (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_8$4i, vue$1.toDisplayString(file.name), 1 /* TEXT */))
10708
10708
  ]))
10709
10709
  }), 128 /* KEYED_FRAGMENT */))
@@ -11900,7 +11900,7 @@ const _hoisted_6$5b = {
11900
11900
  key: 1,
11901
11901
  class: "cn-ai-chat-window__body"
11902
11902
  };
11903
- const _hoisted_7$4I = { class: "cn-ai-chat-window__messages" };
11903
+ const _hoisted_7$4J = { class: "cn-ai-chat-window__messages" };
11904
11904
  const _hoisted_8$4h = {
11905
11905
  class: "cn-ai-chat-window__start",
11906
11906
  "data-testid": "cn-ai-chat-tab-start"
@@ -12142,7 +12142,7 @@ function render$8G(_ctx, _cache, $props, $setup, $data, $options) {
12142
12142
  : vue$1.createCommentVNode("v-if", true),
12143
12143
  ($data.activeView === 'chat')
12144
12144
  ? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_6$5b, [
12145
- vue$1.createElementVNode("div", _hoisted_7$4I, [
12145
+ vue$1.createElementVNode("div", _hoisted_7$4J, [
12146
12146
  vue$1.createVNode(_component_CnAiMessageList, {
12147
12147
  messages: $props.streamState.messages,
12148
12148
  currentText: $props.streamState.currentText,
@@ -26996,7 +26996,7 @@ const _hoisted_6$5a = {
26996
26996
  key: 0,
26997
26997
  class: "cn-chart-widget__bar-track"
26998
26998
  };
26999
- const _hoisted_7$4H = { class: "cn-chart-widget__bar-value" };
26999
+ const _hoisted_7$4I = { class: "cn-chart-widget__bar-value" };
27000
27000
  const _hoisted_8$4g = {
27001
27001
  class: "cn-chart-widget__bar-track",
27002
27002
  "aria-hidden": "true"
@@ -27117,7 +27117,7 @@ function render$8B(_ctx, _cache, $props, $setup, $data, $options) {
27117
27117
  "aria-hidden": "true",
27118
27118
  style: vue$1.normalizeStyle({ flexBasis: `${row.share}%` })
27119
27119
  }, null, 4 /* STYLE */),
27120
- vue$1.createElementVNode("span", _hoisted_7$4H, vue$1.toDisplayString(row.text), 1 /* TEXT */)
27120
+ vue$1.createElementVNode("span", _hoisted_7$4I, vue$1.toDisplayString(row.text), 1 /* TEXT */)
27121
27121
  ]))
27122
27122
  : (vue$1.openBlock(), vue$1.createElementBlock(vue$1.Fragment, { key: 1 }, [
27123
27123
  vue$1.createElementVNode("span", _hoisted_8$4g, [
@@ -28155,7 +28155,7 @@ const _hoisted_6$59 = {
28155
28155
  key: 0,
28156
28156
  class: "cn-chart-widget-form__row2"
28157
28157
  };
28158
- const _hoisted_7$4G = {
28158
+ const _hoisted_7$4H = {
28159
28159
  key: 1,
28160
28160
  class: "cn-chart-widget-form__row2"
28161
28161
  };
@@ -28224,7 +28224,7 @@ function render$8x(_ctx, _cache, $props, $setup, $data, $options) {
28224
28224
  "onUpdate:modelValue": _cache[5] || (_cache[5] = $event => ($options.updateBucket('interval', $event)))
28225
28225
  }, null, 8 /* PROPS */, ["modelValue", "options", "inputLabel"])
28226
28226
  ]))
28227
- : (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_7$4G, [
28227
+ : (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_7$4H, [
28228
28228
  vue$1.createVNode(_component_CnFieldPicker, {
28229
28229
  value: $data.group.field,
28230
28230
  label: $options.t('nextcloud-vue', 'Group by field'),
@@ -29640,7 +29640,7 @@ const _hoisted_5$5z = {
29640
29640
  class: "cn-quick-filter-bar__label"
29641
29641
  };
29642
29642
  const _hoisted_6$58 = ["role", "aria-label"];
29643
- const _hoisted_7$4F = ["role", "aria-selected", "aria-pressed", "onClick"];
29643
+ const _hoisted_7$4G = ["role", "aria-selected", "aria-pressed", "onClick"];
29644
29644
  const _hoisted_8$4e = { class: "cn-quick-filter-bar__label" };
29645
29645
  const _hoisted_9$3U = {
29646
29646
  key: 1,
@@ -29744,7 +29744,7 @@ function render$8u(_ctx, _cache, $props, $setup, $data, $options) {
29744
29744
  ($options.countOf(entry) !== null)
29745
29745
  ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_9$3U, vue$1.toDisplayString(' ' + $options.countOf(entry)), 1 /* TEXT */))
29746
29746
  : vue$1.createCommentVNode("v-if", true)
29747
- ], 10 /* CLASS, PROPS */, _hoisted_7$4F))
29747
+ ], 10 /* CLASS, PROPS */, _hoisted_7$4G))
29748
29748
  }), 128 /* KEYED_FRAGMENT */))
29749
29749
  ], 8 /* PROPS */, _hoisted_6$58),
29750
29750
  ($options.overflowEntries.length > 0)
@@ -30279,7 +30279,7 @@ const _hoisted_6$57 = {
30279
30279
  role: "status",
30280
30280
  "data-testid": "cn-conversation-loading"
30281
30281
  };
30282
- const _hoisted_7$4E = {
30282
+ const _hoisted_7$4F = {
30283
30283
  key: 3,
30284
30284
  class: "cn-conversation-thread__empty",
30285
30285
  "data-testid": "cn-conversation-empty"
@@ -30402,7 +30402,7 @@ function render$8t(_ctx, _cache, $props, $setup, $data, $options) {
30402
30402
  ($props.loading && $options.rows.length === 0)
30403
30403
  ? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_6$57, vue$1.toDisplayString($options.loadingText), 1 /* TEXT */))
30404
30404
  : ($options.rows.length === 0)
30405
- ? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_7$4E, vue$1.toDisplayString($props.emptyText), 1 /* TEXT */))
30405
+ ? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_7$4F, vue$1.toDisplayString($props.emptyText), 1 /* TEXT */))
30406
30406
  : ($options.shownRows.length === 0)
30407
30407
  ? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_8$4d, vue$1.toDisplayString($props.emptyText), 1 /* TEXT */))
30408
30408
  : (vue$1.openBlock(), vue$1.createElementBlock("ol", _hoisted_9$3T, [
@@ -32343,7 +32343,7 @@ function render$8q(_ctx, _cache, $props, $setup, $data, $options) {
32343
32343
  }
32344
32344
 
32345
32345
  script$8r.render = render$8q;
32346
- script$8r.__scopeId = "data-v-081b0e75";
32346
+ script$8r.__scopeId = "data-v-29f1b6fe";
32347
32347
  const __sfc_main$8l = script$8r;
32348
32348
 
32349
32349
  /**
@@ -32887,7 +32887,7 @@ const _hoisted_5$5w = {
32887
32887
  class: "cn-document-review-list__rows"
32888
32888
  };
32889
32889
  const _hoisted_6$56 = { class: "cn-document-review-list__text" };
32890
- const _hoisted_7$4D = ["href"];
32890
+ const _hoisted_7$4E = ["href"];
32891
32891
  const _hoisted_8$4c = {
32892
32892
  key: 1,
32893
32893
  class: "cn-document-review-list__name"
@@ -32947,7 +32947,7 @@ function render$8n(_ctx, _cache, $props, $setup, $data, $options) {
32947
32947
  key: 0,
32948
32948
  class: "cn-document-review-list__name",
32949
32949
  href: row.href
32950
- }, vue$1.toDisplayString(row.name), 9 /* TEXT, PROPS */, _hoisted_7$4D))
32950
+ }, vue$1.toDisplayString(row.name), 9 /* TEXT, PROPS */, _hoisted_7$4E))
32951
32951
  : (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_8$4c, vue$1.toDisplayString(row.name), 1 /* TEXT */)),
32952
32952
  (row.meta)
32953
32953
  ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_9$3S, vue$1.toDisplayString(row.meta), 1 /* TEXT */))
@@ -37591,7 +37591,7 @@ const _hoisted_5$5v = {
37591
37591
  class: "cn-calendar-event-picker__calendar-list"
37592
37592
  };
37593
37593
  const _hoisted_6$55 = ["onClick", "onKeyup"];
37594
- const _hoisted_7$4C = { class: "cn-calendar-event-picker__calendar-name" };
37594
+ const _hoisted_7$4D = { class: "cn-calendar-event-picker__calendar-name" };
37595
37595
  const _hoisted_8$4b = {
37596
37596
  key: 3,
37597
37597
  class: "cn-calendar-event-picker__empty"
@@ -37687,7 +37687,7 @@ function render$8k(_ctx, _cache, $props, $setup, $data, $options) {
37687
37687
  class: "cn-calendar-event-picker__color-swatch",
37688
37688
  style: vue$1.normalizeStyle({ backgroundColor: cal.color || 'var(--color-primary-element)' })
37689
37689
  }, null, 4 /* STYLE */),
37690
- vue$1.createElementVNode("span", _hoisted_7$4C, vue$1.toDisplayString(cal.displayName), 1 /* TEXT */)
37690
+ vue$1.createElementVNode("span", _hoisted_7$4D, vue$1.toDisplayString(cal.displayName), 1 /* TEXT */)
37691
37691
  ], 40 /* PROPS, NEED_HYDRATION */, _hoisted_6$55))
37692
37692
  }), 128 /* KEYED_FRAGMENT */))
37693
37693
  ]))
@@ -38292,7 +38292,7 @@ const _hoisted_4$6d = {
38292
38292
  };
38293
38293
  const _hoisted_5$5u = { class: "cn-events-card__text" };
38294
38294
  const _hoisted_6$54 = { class: "cn-events-card__summary" };
38295
- const _hoisted_7$4B = { class: "cn-events-card__when" };
38295
+ const _hoisted_7$4C = { class: "cn-events-card__when" };
38296
38296
  const _hoisted_8$4a = {
38297
38297
  key: 0,
38298
38298
  class: "cn-events-card__where"
@@ -38340,7 +38340,7 @@ function render$8j(_ctx, _cache, $props, $setup, $data, $options) {
38340
38340
  : vue$1.createCommentVNode("v-if", true),
38341
38341
  vue$1.createElementVNode("span", _hoisted_5$5u, [
38342
38342
  vue$1.createElementVNode("span", _hoisted_6$54, vue$1.toDisplayString($options.summaryOf(event)), 1 /* TEXT */),
38343
- vue$1.createElementVNode("span", _hoisted_7$4B, vue$1.toDisplayString($options.whenOf(event)), 1 /* TEXT */),
38343
+ vue$1.createElementVNode("span", _hoisted_7$4C, vue$1.toDisplayString($options.whenOf(event)), 1 /* TEXT */),
38344
38344
  (event.location)
38345
38345
  ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_8$4a, vue$1.toDisplayString(event.location), 1 /* TEXT */))
38346
38346
  : vue$1.createCommentVNode("v-if", true),
@@ -38682,7 +38682,7 @@ const _hoisted_5$5t = {
38682
38682
  class: "cn-macros-widget__list"
38683
38683
  };
38684
38684
  const _hoisted_6$53 = ["data-testid"];
38685
- const _hoisted_7$4A = { class: "cn-macros-widget__text" };
38685
+ const _hoisted_7$4B = { class: "cn-macros-widget__text" };
38686
38686
  const _hoisted_8$49 = { class: "cn-macros-widget__name" };
38687
38687
  const _hoisted_9$3P = {
38688
38688
  key: 0,
@@ -38708,7 +38708,7 @@ function render$8i(_ctx, _cache, $props, $setup, $data, $options) {
38708
38708
  class: "cn-macros-widget__row",
38709
38709
  "data-testid": `cn-macros-widget-row-${macro.key}`
38710
38710
  }, [
38711
- vue$1.createElementVNode("div", _hoisted_7$4A, [
38711
+ vue$1.createElementVNode("div", _hoisted_7$4B, [
38712
38712
  vue$1.createElementVNode("span", _hoisted_8$49, vue$1.toDisplayString($options.tr(macro.name)), 1 /* TEXT */),
38713
38713
  (macro.description)
38714
38714
  ? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_9$3P, vue$1.toDisplayString($options.tr(macro.description)), 1 /* TEXT */))
@@ -39471,6 +39471,8 @@ var script$8i = {
39471
39471
  * `clustering`, `height`, `autoFit`, `layers`, `basemaps`) overrides the
39472
39472
  * matching flat prop. Direct (non-dashboard) consumers omit this and pass
39473
39473
  * the flat props instead. See the `cfg` computed for the merge rules.
39474
+ * `labelsBelow: true` writes the markers' `popupField` values on a line
39475
+ * under the map ("Fietspad Lindelaan, tussen nummer 2 en 40").
39474
39476
  *
39475
39477
  * @type {object|null}
39476
39478
  */
@@ -39544,6 +39546,8 @@ var script$8i = {
39544
39546
  // Whether the marker source has answered, and with how many markers.
39545
39547
  markersLoaded: false,
39546
39548
  markerCount: 0,
39549
+ // The markers' `popupField` values, for `content.labelsBelow`.
39550
+ markerLabels: [],
39547
39551
  // Whether the marker source could not be read (not: read and empty).
39548
39552
  markersFailed: false,
39549
39553
  // Set once the user has framed the view themselves; stops autoFit.
@@ -39656,6 +39660,21 @@ var script$8i = {
39656
39660
  return countLine$1(this.content?.headerNote, this)
39657
39661
  },
39658
39662
 
39663
+ /**
39664
+ * The line under the map naming its places (`content.labelsBelow: true`):
39665
+ * each marker's `markers.popupField` value, joined by ", ", as the case
39666
+ * boards draw "Fietspad Lindelaan, tussen nummer 2 en 40" under the
39667
+ * Locaties map. Empty until the source answered with labelled markers.
39668
+ *
39669
+ * @return {string}
39670
+ */
39671
+ markerCaption() {
39672
+ if (this.content?.labelsBelow !== true || !this.markersLoaded || this.markersFailed) {
39673
+ return ''
39674
+ }
39675
+ return (this.markerLabels || []).join(', ')
39676
+ },
39677
+
39659
39678
  markerStatusText() {
39660
39679
  const markers = this.cfg.markers;
39661
39680
  if (!markers || !markers.dataSource || !this.markersLoaded) {
@@ -40081,6 +40100,23 @@ var script$8i = {
40081
40100
  });
40082
40101
  },
40083
40102
 
40103
+ /**
40104
+ * The non-empty `markers.popupField` values of the features, in order.
40105
+ *
40106
+ * @param {Array|null} features The features.
40107
+ * @return {string[]}
40108
+ */
40109
+ labelsOf(features) {
40110
+ const field = this.cfg.markers && this.cfg.markers.popupField;
40111
+ if (!field || !Array.isArray(features)) {
40112
+ return []
40113
+ }
40114
+ return features
40115
+ .map((feature) => (feature && feature.properties ? feature.properties[field] : null))
40116
+ .filter((label) => typeof label === 'string' && label.trim() !== '')
40117
+ .map((label) => label.trim())
40118
+ },
40119
+
40084
40120
  /**
40085
40121
  * Mount the configured `markers` onto the Leaflet map. Reads from
40086
40122
  * `features[]` (inline) OR `dataSource.url` (HTTP fetch). When
@@ -40109,6 +40145,7 @@ var script$8i = {
40109
40145
  this.markersFailed = false;
40110
40146
  const features = await this.collectFeatures();
40111
40147
  this.markerCount = Array.isArray(features) ? features.length : 0;
40148
+ this.markerLabels = this.labelsOf(features);
40112
40149
  this.markersLoaded = true;
40113
40150
  if (!features || features.length === 0) {
40114
40151
  return
@@ -40757,28 +40794,34 @@ const _hoisted_3$6Q = { class: "cn-map-widget__error" };
40757
40794
  const _hoisted_4$6b = ["role", "data-testid"];
40758
40795
  const _hoisted_5$5s = {
40759
40796
  key: 3,
40760
- class: "cn-map-widget__note",
40761
- "data-testid": "cn-map-unplotted"
40797
+ class: "cn-map-widget__caption",
40798
+ "data-testid": "cn-map-caption"
40762
40799
  };
40763
40800
  const _hoisted_6$52 = {
40764
40801
  key: 4,
40802
+ class: "cn-map-widget__note",
40803
+ "data-testid": "cn-map-unplotted"
40804
+ };
40805
+ const _hoisted_7$4A = {
40806
+ key: 5,
40765
40807
  class: "cn-map-widget__legend"
40766
40808
  };
40767
40809
 
40768
40810
  function render$8h(_ctx, _cache, $props, $setup, $data, $options) {
40769
40811
  return (vue$1.openBlock(), vue$1.createElementBlock("div", {
40770
40812
  class: vue$1.normalizeClass(["cn-map-widget", { 'cn-map-widget--fullscreen': $data.isFullscreen }]),
40771
- style: vue$1.normalizeStyle({ height: $data.isFullscreen ? null : $options.resolvedHeight })
40813
+ style: vue$1.normalizeStyle({ height: $data.isFullscreen || $options.markerCaption ? null : $options.resolvedHeight })
40772
40814
  }, [
40773
40815
  ($data.leafletAvailable)
40774
40816
  ? (vue$1.openBlock(), vue$1.createElementBlock("div", {
40775
40817
  key: 0,
40776
40818
  ref: "mapEl",
40777
- class: "cn-map-widget__leaflet",
40819
+ class: vue$1.normalizeClass(["cn-map-widget__leaflet", { 'cn-map-widget__leaflet--captioned': $options.markerCaption && !$data.isFullscreen }]),
40820
+ style: vue$1.normalizeStyle($options.markerCaption && !$data.isFullscreen ? { height: $options.resolvedHeight } : null),
40778
40821
  role: "application",
40779
40822
  "aria-label": $options.resolvedAriaLabel,
40780
40823
  tabindex: "0"
40781
- }, null, 8 /* PROPS */, _hoisted_1$7V))
40824
+ }, null, 14 /* CLASS, STYLE, PROPS */, _hoisted_1$7V))
40782
40825
  : (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_2$7D, [
40783
40826
  vue$1.renderSlot(_ctx.$slots, "fallback", {}, () => [
40784
40827
  vue$1.createElementVNode("p", _hoisted_3$6Q, vue$1.toDisplayString($props.unavailableLabel), 1 /* TEXT */)
@@ -40792,11 +40835,14 @@ function render$8h(_ctx, _cache, $props, $setup, $data, $options) {
40792
40835
  "data-testid": $data.markersFailed ? 'cn-map-markers-failed' : 'cn-map-markers-empty'
40793
40836
  }, vue$1.toDisplayString($options.markerStatusText), 11 /* TEXT, CLASS, PROPS */, _hoisted_4$6b))
40794
40837
  : vue$1.createCommentVNode("v-if", true),
40838
+ ($options.markerCaption && !$data.isFullscreen)
40839
+ ? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_5$5s, vue$1.toDisplayString($options.markerCaption), 1 /* TEXT */))
40840
+ : vue$1.createCommentVNode("v-if", true),
40795
40841
  ($data.unplottedCount > 0)
40796
- ? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_5$5s, vue$1.toDisplayString($options.unplottedLabel), 1 /* TEXT */))
40842
+ ? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_6$52, vue$1.toDisplayString($options.unplottedLabel), 1 /* TEXT */))
40797
40843
  : vue$1.createCommentVNode("v-if", true),
40798
40844
  (_ctx.$slots.legend || _ctx.$slots.legend)
40799
- ? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_6$52, [
40845
+ ? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_7$4A, [
40800
40846
  vue$1.renderSlot(_ctx.$slots, "legend", {
40801
40847
  layers: $options.cfg.layers,
40802
40848
  markers: $options.cfg.markers
@@ -40807,7 +40853,7 @@ function render$8h(_ctx, _cache, $props, $setup, $data, $options) {
40807
40853
  }
40808
40854
 
40809
40855
  script$8i.render = render$8h;
40810
- script$8i.__scopeId = "data-v-75fef05e";
40856
+ script$8i.__scopeId = "data-v-e2f8f29c";
40811
40857
  const __sfc_main$8c = script$8i;
40812
40858
 
40813
40859
  // The Netherlands, roughly — a sane default centre for a Dutch-government library.
@@ -240973,27 +241019,28 @@ var script$4b = {
240973
241019
 
240974
241020
  /**
240975
241021
  * Every entry or part that carries `resolve`, with the record's value at its path.
241022
+ * A `from: "object"` entry reads the page's own object.
240976
241023
  *
240977
- * @param {object} record The object.
241024
+ * @param {object|null} record The object.
240978
241025
  * @return {Array<{spec: object, raw: unknown}>}
240979
241026
  */
240980
241027
  refSpecs(record) {
240981
241028
  const fields = this.entries;
240982
241029
  const specs = [];
240983
- const visit = (spec) => {
241030
+ const visit = (spec, from) => {
240984
241031
  if (!spec || typeof spec !== 'object') {
240985
241032
  return
240986
241033
  }
240987
- if (spec.resolve && typeof spec.resolve === 'object' && spec.path) {
240988
- specs.push({ spec, raw: readPath$9(record, spec.path) });
241034
+ if (from && spec.resolve && typeof spec.resolve === 'object' && spec.path) {
241035
+ specs.push({ spec, raw: readPath$9(from, spec.path) });
240989
241036
  if (toneSpec(spec)) {
240990
- specs.push({ spec: toneSpec(spec), raw: readPath$9(record, spec.path) });
241037
+ specs.push({ spec: toneSpec(spec), raw: readPath$9(from, spec.path) });
240991
241038
  }
240992
241039
  }
240993
241040
  const nested = [...(Array.isArray(spec.parts) ? spec.parts : []), ...(Array.isArray(spec.firstOf) ? spec.firstOf : []), ...(Array.isArray(spec.title) ? spec.title : [spec.title]), ...(Array.isArray(spec.subtitle) ? spec.subtitle : [spec.subtitle])];
240994
- nested.forEach(visit);
241041
+ nested.forEach((part) => visit(part, from));
240995
241042
  };
240996
- fields.forEach(visit);
241043
+ fields.forEach((field) => visit(field, field && field.from === 'object' && this.objectData ? this.objectData : record));
240997
241044
  return specs
240998
241045
  },
240999
241046
 
@@ -241005,7 +241052,7 @@ var script$4b = {
241005
241052
  * @return {Promise<void>}
241006
241053
  */
241007
241054
  async loadLabels(record = this.record) {
241008
- if (!record) {
241055
+ if (!record && !this.objectData) {
241009
241056
  return
241010
241057
  }
241011
241058
  const groups = new Map();
@@ -241796,7 +241843,7 @@ function render$4a(_ctx, _cache, $props, $setup, $data, $options) {
241796
241843
  }
241797
241844
 
241798
241845
  script$4b.render = render$4a;
241799
- script$4b.__scopeId = "data-v-8bbc31d4";
241846
+ script$4b.__scopeId = "data-v-531080cb";
241800
241847
  const __sfc_main$4b = script$4b;
241801
241848
 
241802
241849
  /**
@@ -254453,7 +254500,8 @@ var script$3T = {
254453
254500
  * lopende zaken").
254454
254501
  * In `rows`, `ruleAbove: true` rules above the first row too, and
254455
254502
  * `pillAt: "start"` draws the pill before the title (DqZaakDocumenten
254456
- * "Weigeringsgronden tot nu toe").
254503
+ * "Weigeringsgronden tot nu toe"). `strongTitle: true` sets a row's
254504
+ * title at 600 in the board look (DqZaakTaken "Incidenten").
254457
254505
  *
254458
254506
  * @type {object}
254459
254507
  */
@@ -256902,7 +256950,7 @@ function render$3S(_ctx, _cache, $props, $setup, $data, $options) {
256902
256950
  const _component_ChevronRight = vue$1.resolveComponent("ChevronRight");
256903
256951
 
256904
256952
  return (vue$1.openBlock(), vue$1.createElementBlock("div", {
256905
- 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' }]]),
256953
+ 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--strong-title': $props.content.strongTitle === true, 'cn-record-list--data-table': $options.presentation === 'table' && $props.content.tableLook === 'data' }]]),
256906
256954
  "data-testid": "cn-record-list"
256907
256955
  }, [
256908
256956
  ($options.intro && !$options.absent)
@@ -257733,7 +257781,7 @@ function render$3S(_ctx, _cache, $props, $setup, $data, $options) {
257733
257781
  }
257734
257782
 
257735
257783
  script$3T.render = render$3S;
257736
- script$3T.__scopeId = "data-v-7f3a2220";
257784
+ script$3T.__scopeId = "data-v-20627211";
257737
257785
  const __sfc_main$3T = script$3T;
257738
257786
 
257739
257787
  /**
@@ -262505,6 +262553,8 @@ function render$3E(_ctx, _cache, $props, $setup, $data, $options) {
262505
262553
  vue$1.createVNode(_component_NcButton, {
262506
262554
  class: "cn-attention-flag__compose",
262507
262555
  variant: "secondary",
262556
+ wide: "",
262557
+ alignment: "start",
262508
262558
  "data-testid": "cn-attention-flag-compose",
262509
262559
  onClick: _cache[0] || (_cache[0] = $event => ($data.composing = true))
262510
262560
  }, {
@@ -262557,7 +262607,7 @@ function render$3E(_ctx, _cache, $props, $setup, $data, $options) {
262557
262607
  }
262558
262608
 
262559
262609
  script$3F.render = render$3E;
262560
- script$3F.__scopeId = "data-v-a3f4189e";
262610
+ script$3F.__scopeId = "data-v-25e8ede7";
262561
262611
  const __sfc_main$3F = script$3F;
262562
262612
 
262563
262613
  /**
@@ -322270,7 +322320,7 @@ function render$2D(_ctx, _cache, $props, $setup, $data, $options) {
322270
322320
  }
322271
322321
 
322272
322322
  script$2E.render = render$2D;
322273
- script$2E.__scopeId = "data-v-51150930";
322323
+ script$2E.__scopeId = "data-v-272c67a2";
322274
322324
  const __sfc_main$2E = script$2E;
322275
322325
 
322276
322326
  /**
@@ -331523,7 +331573,7 @@ function render$2t(_ctx, _cache, $props, $setup, $data, $options) {
331523
331573
  }
331524
331574
 
331525
331575
  script$2u.render = render$2t;
331526
- script$2u.__scopeId = "data-v-962f985c";
331576
+ script$2u.__scopeId = "data-v-527dbad5";
331527
331577
  const __sfc_main$2u = script$2u;
331528
331578
 
331529
331579
  /**
@@ -381654,15 +381704,16 @@ async function memberCounts(query) {
381654
381704
  }
381655
381705
 
381656
381706
  /**
381657
- * Descriptions by group id from the app's records. Read once per source.
381707
+ * The app's records about groups, read once per source: the description by
381708
+ * group id, and every group id a record names (with or without a text).
381658
381709
  *
381659
381710
  * @param {{register?: string, schema?: string, groupField?: string, textField?: string}|null} describe The source.
381660
- * @return {Promise<Record<string, string>>} Descriptions by group id.
381711
+ * @return {Promise<{texts: Record<string, string>, ids: Set<string>}>} What the records say.
381661
381712
  * @spec openspec/changes/assign-team-option-subline/specs/assign-dialog/spec.md
381662
381713
  */
381663
- async function descriptions(describe) {
381714
+ async function groupRecords(describe) {
381664
381715
  if (!describe || !describe.register || !describe.schema) {
381665
- return {}
381716
+ return { texts: {}, ids: new Set() }
381666
381717
  }
381667
381718
  const groupField = describe.groupField || 'ncGroupId';
381668
381719
  const textField = describe.textField || 'description';
@@ -381670,24 +381721,41 @@ async function descriptions(describe) {
381670
381721
  if (!descriptionCache.has(key)) {
381671
381722
  descriptionCache.set(key, fetchReferenceObjects({ register: describe.register, schema: describe.schema, limit: 500 })
381672
381723
  .then((rows) => {
381673
- const out = {};
381724
+ const texts = {};
381725
+ const ids = new Set();
381674
381726
  for (const row of rows) {
381675
381727
  const gid = row && row[groupField];
381676
- const text = row && typeof row[textField] === 'string' ? row[textField].trim() : '';
381677
- if (gid && text && out[String(gid)] === undefined) {
381678
- out[String(gid)] = text;
381728
+ if (!gid) {
381729
+ continue
381730
+ }
381731
+ ids.add(String(gid));
381732
+ const text = typeof row[textField] === 'string' ? row[textField].trim() : '';
381733
+ if (text && texts[String(gid)] === undefined) {
381734
+ texts[String(gid)] = text;
381679
381735
  }
381680
381736
  }
381681
- return out
381737
+ return { texts, ids }
381682
381738
  })
381683
381739
  .catch(() => {
381684
381740
  descriptionCache.delete(key);
381685
- return {}
381741
+ return { texts: {}, ids: new Set() }
381686
381742
  }));
381687
381743
  }
381688
381744
  return descriptionCache.get(key)
381689
381745
  }
381690
381746
 
381747
+ /**
381748
+ * The groups an app keeps a record for (its teams), for a picker that lists
381749
+ * only those. Empty when the app names no source or holds no record.
381750
+ *
381751
+ * @param {object|null} describe Where the app keeps its groups' records.
381752
+ * @return {Promise<Set<string>>} The group ids.
381753
+ * @spec openspec/changes/assign-team-option-subline/specs/assign-dialog/spec.md
381754
+ */
381755
+ async function describedGroupIds(describe) {
381756
+ return (await groupRecords(describe)).ids
381757
+ }
381758
+
381691
381759
  /**
381692
381760
  * The line under each group: its member count and its description, joined by
381693
381761
  * " · ", either left out when unknown.
@@ -381702,7 +381770,7 @@ async function groupSublines(ids, query, describe = null) {
381702
381770
  if (!Array.isArray(ids) || ids.length === 0) {
381703
381771
  return {}
381704
381772
  }
381705
- const [counts, texts] = await Promise.all([memberCounts(query), descriptions(describe)]);
381773
+ const [counts, { texts }] = await Promise.all([memberCounts(query), groupRecords(describe)]);
381706
381774
  const out = {};
381707
381775
  for (const id of ids) {
381708
381776
  const parts = [];
@@ -381757,9 +381825,11 @@ function withTypedAssignee(found, typed, label) {
381757
381825
  * - `source`: an endpointSource to read the record from, else `object`.
381758
381826
  * - `assignee`: `{ kinds?, label?, placeholder?, hint?, currentPath?,
381759
381827
  * currentHint?, currentAs?, allowTyped?, field?, kindField?, describe? }`.
381760
- * `describe` (`{ register, schema, groupField?, textField? }`) names the
381828
+ * `describe` (`{ register, schema, groupField?, textField?, only? }`) names the
381761
381829
  * records that hold a team's description; each team option then reads
381762
- * "{count} members · {description}", the count where the viewer may read it. `kinds` is `["group"]`
381830
+ * "{count} members · {description}", the count where the viewer may read it.
381831
+ * With `only` the search lists just the groups such a record names (the
381832
+ * app's teams, not every Nextcloud group); with no record at all it lists every group. `kinds` is `["group"]`
381763
381833
  * (default), `["user"]` or both; `currentPath` reads who has it now from the
381764
381834
  * record and `currentHint` ("Now with {current}.", the placeholder named
381765
381835
  * by `currentAs`) says so, in place of `hint`; `allowTyped`
@@ -382023,12 +382093,15 @@ var script$1M = {
382023
382093
  if (seq !== this.searchSeq) {
382024
382094
  return
382025
382095
  }
382026
- const lines = await groupSublines(groups.map((g) => g.id), typed, this.assigneeConfig.describe || null);
382096
+ const describe = this.assigneeConfig.describe || null;
382097
+ const teams = describe && describe.only ? await describedGroupIds(describe) : null;
382098
+ const listed = teams && teams.size > 0 ? groups.filter((g) => teams.has(String(g.id))) : groups;
382099
+ const lines = await groupSublines(listed.map((g) => g.id), typed, describe);
382027
382100
  if (seq !== this.searchSeq) {
382028
382101
  return
382029
382102
  }
382030
382103
  const found = [
382031
- ...groups.map((g) => ({ id: g.id, label: g.label, secondary: lines[g.id] || g.subline || '', icon: 'AccountGroupOutline', kind: 'group' })),
382104
+ ...listed.map((g) => ({ id: g.id, label: g.label, secondary: lines[g.id] || g.subline || '', icon: 'AccountGroupOutline', kind: 'group' })),
382032
382105
  ...users.map((u) => ({ id: u.id, label: u.label, secondary: u.subline || '', avatar: true, kind: 'user' })),
382033
382106
  ];
382034
382107
  this.options = this.assigneeConfig.allowTyped ? withTypedAssignee(found, typed, l10n.translate('nextcloud-vue', 'Use "{name}"', { name: typed })) : found;
@@ -382263,7 +382336,7 @@ function render$1L(_ctx, _cache, $props, $setup, $data, $options) {
382263
382336
  }
382264
382337
 
382265
382338
  script$1M.render = render$1L;
382266
- script$1M.__scopeId = "data-v-7a19bf99";
382339
+ script$1M.__scopeId = "data-v-6ea0c632";
382267
382340
  const __sfc_main$1M = script$1M;
382268
382341
 
382269
382342
  var CnAssignDialog = /*#__PURE__*/Object.freeze({
@@ -402831,7 +402904,7 @@ function render$1t(_ctx, _cache, $props, $setup, $data, $options) {
402831
402904
  }
402832
402905
 
402833
402906
  script$1u.render = render$1t;
402834
- script$1u.__scopeId = "data-v-53f08eea";
402907
+ script$1u.__scopeId = "data-v-1aca5958";
402835
402908
  const __sfc_main$1u = script$1u;
402836
402909
 
402837
402910
  var CnDashboardPage = /*#__PURE__*/Object.freeze({
@@ -437942,7 +438015,7 @@ function render$o(_ctx, _cache, $props, $setup, $data, $options) {
437942
438015
  }
437943
438016
 
437944
438017
  script$o.render = render$o;
437945
- script$o.__scopeId = "data-v-2743a776";
438018
+ script$o.__scopeId = "data-v-2f761c83";
437946
438019
  const __sfc_main$o = script$o;
437947
438020
 
437948
438021
  /**
@@ -442568,13 +442641,13 @@ function render$n(_ctx, _cache, $props, $setup, $data, $options) {
442568
442641
  vue$1.createVNode(_component_NcButton, {
442569
442642
  variant: "tertiary",
442570
442643
  href: entry.href,
442571
- "aria-label": entry.label
442644
+ "aria-label": $options.manifestTranslate(entry.label)
442572
442645
  }, {
442573
442646
  icon: vue$1.withCtx(() => [
442574
442647
  vue$1.createVNode(_component_OpenInNew, { size: 20 })
442575
442648
  ]),
442576
442649
  default: vue$1.withCtx(() => [
442577
- vue$1.createTextVNode(" " + vue$1.toDisplayString(entry.label), 1 /* TEXT */)
442650
+ vue$1.createTextVNode(" " + vue$1.toDisplayString($options.manifestTranslate(entry.label)), 1 /* TEXT */)
442578
442651
  ]),
442579
442652
  _: 2 /* DYNAMIC */
442580
442653
  }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["href", "aria-label"])
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist/nextcloud-vue.cjs.js.map
3
- size: 50461625 bytes
4
- sha256: d5575738b639fe4ac32664bdaaf31a6ec310b7b319482e6b497dd8708374425b
3
+ size: 50472309 bytes
4
+ sha256: 8abc2be90995ec92b55f49cb70836fb1619a53f210acd91dcb62d30d2094be88