@conduction/nextcloud-vue 2.184.0 → 2.185.1
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/CnTabsWidget/CnTabsWidget.vue.js +1 -1
- package/dist/esm/components/CnTabsWidget/CnTabsWidget2.vue.js +7 -0
- package/dist/esm/components/CnTabsWidget/CnTabsWidget2.vue.js.map +1 -1
- package/dist/esm/components/CnTabsWidget/CnTabsWidget3.vue.js.map +1 -1
- package/dist/esm/dialogs/CnAddWidgetModal.vue.js +1 -1
- package/dist/esm/dialogs/CnAddWidgetModal2.vue.js +27 -1
- package/dist/esm/dialogs/CnAddWidgetModal2.vue.js.map +1 -1
- package/dist/esm/dialogs/CnAddWidgetModal3.vue.js +38 -19
- package/dist/esm/dialogs/CnAddWidgetModal3.vue.js.map +1 -1
- package/dist/esm/library-style.js +1 -1
- package/dist/esm/nextcloud-vue.css +42 -36
- package/dist/nextcloud-vue.cjs.js +261 -210
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +42 -36
- package/package.json +1 -1
- package/src/components/CnTabsWidget/CnTabsWidget.vue +7 -0
- package/src/dialogs/CnAddWidgetModal.vue +50 -1
|
@@ -2,7 +2,7 @@ import script from './CnTabsWidget2.vue.js';
|
|
|
2
2
|
import { render } from './CnTabsWidget3.vue.js';
|
|
3
3
|
|
|
4
4
|
script.render = render;
|
|
5
|
-
script.__scopeId = "data-v-
|
|
5
|
+
script.__scopeId = "data-v-96acf6e2";
|
|
6
6
|
const __sfc_main = script;
|
|
7
7
|
|
|
8
8
|
export { __sfc_main as default };
|
|
@@ -9,6 +9,7 @@ import __sfc_main$2 from '../CnTabs/CnTabs.vue.js';
|
|
|
9
9
|
import __sfc_main$1 from '../CnWidgetWrapper/CnWidgetHeaderActionButtons.vue.js';
|
|
10
10
|
import { normalizeLook } from '../../composables/useLook.js';
|
|
11
11
|
import { dispatchAction } from '../../utils/actionsDispatcher.js';
|
|
12
|
+
import { isAppInstalled } from '../../utils/appInstalled.js';
|
|
12
13
|
import { auditExclusionParams, keepAuditEntries } from '../../utils/auditEntries.js';
|
|
13
14
|
import { headerLinkTarget, resolveHeaderLink, widgetHeaderLink } from '../../utils/contentHeaderLink.js';
|
|
14
15
|
import { resolveTabCount } from '../../utils/detailActionModel.js';
|
|
@@ -1290,6 +1291,12 @@ var script = {
|
|
|
1290
1291
|
* @spec openspec/changes/screens-tab-counts-parity/specs/tab-counts/spec.md#requirement-a-tab-can-count-its-list
|
|
1291
1292
|
*/
|
|
1292
1293
|
countSourceOf(tab) {
|
|
1294
|
+
// A tab shown only with another app installed counts nothing without it:
|
|
1295
|
+
// its list lives in that app, and asking would answer 404.
|
|
1296
|
+
const needs = tab && typeof tab === 'object' && tab.visibleWhen ? tab.visibleWhen.appInstalled : null;
|
|
1297
|
+
if (typeof needs === 'string' && needs !== '' && !isAppInstalled(needs)) {
|
|
1298
|
+
return null
|
|
1299
|
+
}
|
|
1293
1300
|
const from = tab && typeof tab === 'object' ? tab.countFrom : null;
|
|
1294
1301
|
let source = null;
|
|
1295
1302
|
if (from === 'widget') {
|