@conduction/nextcloud-vue 2.56.0-beta.70 → 2.56.0-beta.72

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 (46) hide show
  1. package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue.js +1 -1
  2. package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue2.js +67 -1
  3. package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue2.js.map +1 -1
  4. package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue3.js.map +1 -1
  5. package/dist/esm/components/CnDataMatrix/CnDataMatrix.vue.js +1 -1
  6. package/dist/esm/components/CnDataMatrix/CnDataMatrix.vue2.js +93 -1
  7. package/dist/esm/components/CnDataMatrix/CnDataMatrix.vue2.js.map +1 -1
  8. package/dist/esm/components/CnDataMatrix/CnDataMatrix.vue3.js +11 -9
  9. package/dist/esm/components/CnDataMatrix/CnDataMatrix.vue3.js.map +1 -1
  10. package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js +55 -6
  11. package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js.map +1 -1
  12. package/dist/esm/components/CnDetailPage/CnDetailPage.vue3.js.map +1 -1
  13. package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js +40 -1
  14. package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js.map +1 -1
  15. package/dist/esm/components/CnIndexPage/CnIndexPage.vue3.js.map +1 -1
  16. package/dist/esm/components/CnStorePage/CnStorePage.vue.js +1 -1
  17. package/dist/esm/components/CnStorePage/CnStorePage.vue2.js +3 -3
  18. package/dist/esm/components/CnStorePage/CnStorePage.vue2.js.map +1 -1
  19. package/dist/esm/components/CnStorePage/CnStorePage.vue3.js +5 -5
  20. package/dist/esm/components/CnStorePage/CnStorePage.vue3.js.map +1 -1
  21. package/dist/esm/components/CnStorePage/CnStorePublishDialog.vue.js +1 -1
  22. package/dist/esm/components/CnStorePage/CnStorePublishDialog.vue2.js +6 -6
  23. package/dist/esm/components/CnStorePage/CnStorePublishDialog.vue2.js.map +1 -1
  24. package/dist/esm/components/CnStorePage/CnStorePublishDialog.vue3.js +1 -1
  25. package/dist/esm/components/CnStorePage/CnStorePublishDialog.vue3.js.map +1 -1
  26. package/dist/esm/l10n/en.json.js +62 -59
  27. package/dist/esm/l10n/en.json.js.map +1 -1
  28. package/dist/esm/l10n/nl.json.js +62 -59
  29. package/dist/esm/l10n/nl.json.js.map +1 -1
  30. package/dist/esm/library-style.js +1 -1
  31. package/dist/esm/nextcloud-vue.css +82 -78
  32. package/dist/esm/utils/parentCrumb.js +86 -0
  33. package/dist/esm/utils/parentCrumb.js.map +1 -0
  34. package/dist/nextcloud-vue.cjs.js +923 -586
  35. package/dist/nextcloud-vue.cjs.js.map +2 -2
  36. package/dist/nextcloud-vue.css +82 -78
  37. package/l10n/en.json +62 -59
  38. package/l10n/nl.json +62 -59
  39. package/package.json +1 -1
  40. package/src/components/CnChecklistRunWidget/CnChecklistRunWidget.vue +67 -1
  41. package/src/components/CnDataMatrix/CnDataMatrix.vue +105 -4
  42. package/src/components/CnDetailPage/CnDetailPage.vue +55 -6
  43. package/src/components/CnIndexPage/CnIndexPage.vue +40 -1
  44. package/src/components/CnStorePage/CnStorePage.vue +8 -8
  45. package/src/components/CnStorePage/CnStorePublishDialog.vue +7 -7
  46. package/src/utils/parentCrumb.js +83 -0
@@ -952,6 +952,21 @@ var script = {
952
952
  default: null,
953
953
  },
954
954
 
955
+ /**
956
+ * Text added to the count line after a middle dot while a quick filter
957
+ * or lens is selected (manifest `config.countSuffixByFilter`),
958
+ * `{ <tab id or label>: text }`: a lens that sorts by waiting time
959
+ * says "longest waiting first". A quick filter tab can also carry
960
+ * its own `countSuffix`, which comes first. The text goes through the
961
+ * host translate function. Null (the default) adds nothing.
962
+ *
963
+ * @spec openspec/changes/index-count-suffix-per-filter/specs/index-page/spec.md#requirement-the-count-line-can-say-what-the-selected-quick-filter-does
964
+ */
965
+ countSuffixByFilter: {
966
+ type: Object,
967
+ default: null,
968
+ },
969
+
955
970
  /**
956
971
  * The property keys the card's facts list shows, in order (manifest key
957
972
  * `config.cardFields`). Without it the board look shows the first four
@@ -7870,7 +7885,8 @@ var script = {
7870
7885
  * @return {string}
7871
7886
  */
7872
7887
  headerDescription() {
7873
- const base = this.headerDescriptionBase;
7888
+ const suffix = this.quickFilterCountSuffix;
7889
+ const base = suffix && this.headerDescriptionBase ? `${this.headerDescriptionBase} · ${suffix}` : this.headerDescriptionBase;
7874
7890
  if (this.currentViewMode !== 'map' || !this.mapListEnabled) {
7875
7891
  return base
7876
7892
  }
@@ -7892,6 +7908,29 @@ var script = {
7892
7908
  return active || this.quickFilterNarrows
7893
7909
  },
7894
7910
 
7911
+ /**
7912
+ * The count line text of the selected quick filters or lenses: each
7913
+ * tab's `countSuffix`, else its entry in `countSuffixByFilter` (by
7914
+ * id, then by label), translated and joined by a middle dot.
7915
+ *
7916
+ * @return {string}
7917
+ * @spec openspec/changes/index-count-suffix-per-filter/specs/index-page/spec.md#requirement-the-count-line-can-say-what-the-selected-quick-filter-does
7918
+ */
7919
+ quickFilterCountSuffix() {
7920
+ const tabs = this.tabStripEntries || [];
7921
+ const byFilter = this.countSuffixByFilter && typeof this.countSuffixByFilter === 'object' ? this.countSuffixByFilter : {};
7922
+ const indices = this.quickFilterMultiple
7923
+ ? (this.selectedQuickFilterIndices || [])
7924
+ : [this.activeQuickFilterIndex];
7925
+ return indices
7926
+ .map((index) => (typeof index === 'number' ? tabs[index] : null))
7927
+ .filter(Boolean)
7928
+ .map((tab) => [tab.countSuffix, byFilter[tab.id], byFilter[tab.label]].find((text) => typeof text === 'string' && text !== ''))
7929
+ .filter(Boolean)
7930
+ .map((text) => this.cnTranslate(text))
7931
+ .join(' · ')
7932
+ },
7933
+
7895
7934
  /**
7896
7935
  * Whether a selected quick filter tab carries a filter (an "All" tab
7897
7936
  * does not).