@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.
- package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue.js +1 -1
- package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue2.js +67 -1
- package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnDataMatrix/CnDataMatrix.vue.js +1 -1
- package/dist/esm/components/CnDataMatrix/CnDataMatrix.vue2.js +93 -1
- package/dist/esm/components/CnDataMatrix/CnDataMatrix.vue2.js.map +1 -1
- package/dist/esm/components/CnDataMatrix/CnDataMatrix.vue3.js +11 -9
- package/dist/esm/components/CnDataMatrix/CnDataMatrix.vue3.js.map +1 -1
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js +55 -6
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js.map +1 -1
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue3.js.map +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js +40 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js.map +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue3.js.map +1 -1
- package/dist/esm/components/CnStorePage/CnStorePage.vue.js +1 -1
- package/dist/esm/components/CnStorePage/CnStorePage.vue2.js +3 -3
- package/dist/esm/components/CnStorePage/CnStorePage.vue2.js.map +1 -1
- package/dist/esm/components/CnStorePage/CnStorePage.vue3.js +5 -5
- package/dist/esm/components/CnStorePage/CnStorePage.vue3.js.map +1 -1
- package/dist/esm/components/CnStorePage/CnStorePublishDialog.vue.js +1 -1
- package/dist/esm/components/CnStorePage/CnStorePublishDialog.vue2.js +6 -6
- package/dist/esm/components/CnStorePage/CnStorePublishDialog.vue2.js.map +1 -1
- package/dist/esm/components/CnStorePage/CnStorePublishDialog.vue3.js +1 -1
- package/dist/esm/components/CnStorePage/CnStorePublishDialog.vue3.js.map +1 -1
- package/dist/esm/l10n/en.json.js +62 -59
- package/dist/esm/l10n/en.json.js.map +1 -1
- package/dist/esm/l10n/nl.json.js +62 -59
- package/dist/esm/l10n/nl.json.js.map +1 -1
- package/dist/esm/library-style.js +1 -1
- package/dist/esm/nextcloud-vue.css +82 -78
- package/dist/esm/utils/parentCrumb.js +86 -0
- package/dist/esm/utils/parentCrumb.js.map +1 -0
- package/dist/nextcloud-vue.cjs.js +923 -586
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +82 -78
- package/l10n/en.json +62 -59
- package/l10n/nl.json +62 -59
- package/package.json +1 -1
- package/src/components/CnChecklistRunWidget/CnChecklistRunWidget.vue +67 -1
- package/src/components/CnDataMatrix/CnDataMatrix.vue +105 -4
- package/src/components/CnDetailPage/CnDetailPage.vue +55 -6
- package/src/components/CnIndexPage/CnIndexPage.vue +40 -1
- package/src/components/CnStorePage/CnStorePage.vue +8 -8
- package/src/components/CnStorePage/CnStorePublishDialog.vue +7 -7
- 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
|
|
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).
|