@conduction/nextcloud-vue 2.127.0 → 2.128.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.
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue.js +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js +3 -113
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js.map +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js +12 -12
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js.map +1 -1
- package/dist/esm/components/CnDataTable/CnDataTable.vue2.js +34 -1
- package/dist/esm/components/CnDataTable/CnDataTable.vue2.js.map +1 -1
- package/dist/esm/components/CnDataTable/CnDataTable.vue3.js +16 -8
- package/dist/esm/components/CnDataTable/CnDataTable.vue3.js.map +1 -1
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js +153 -8
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js.map +1 -1
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue3.js +169 -58
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue3.js.map +1 -1
- package/dist/esm/components/CnTileWidget/CnTileWidget.vue.js +1 -1
- package/dist/esm/components/CnTileWidget/CnTileWidget.vue2.js +11 -0
- package/dist/esm/components/CnTileWidget/CnTileWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnTileWidget/CnTileWidget.vue3.js +14 -4
- package/dist/esm/components/CnTileWidget/CnTileWidget.vue3.js.map +1 -1
- package/dist/esm/library-style.js +1 -1
- package/dist/esm/mixins/pageFilters.js +142 -0
- package/dist/esm/mixins/pageFilters.js.map +1 -0
- package/dist/esm/nextcloud-vue.css +269 -74
- package/dist/esm/utils/actionLink.js +9 -3
- package/dist/esm/utils/actionLink.js.map +1 -1
- package/dist/esm/utils/validateManifestV2.compiled.js +3 -3
- package/dist/esm/utils/validateManifestV2.compiled.js.map +1 -1
- package/dist/nextcloud-vue.cjs.js +1176 -828
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +269 -74
- package/package.json +1 -1
- package/src/components/CnDashboardPage/CnDashboardPage.vue +3 -113
- package/src/components/CnDataTable/CnDataTable.vue +40 -1
- package/src/components/CnDetailPage/CnDetailPage.md +2 -0
- package/src/components/CnDetailPage/CnDetailPage.vue +237 -8
- package/src/components/CnTileWidget/CnTileWidget.vue +30 -2
- package/src/css/detail-page.css +42 -0
- package/src/css/dialog.css +13 -0
- package/src/css/look-board-detail.css +1 -1
- package/src/css/look-board-index.css +8 -0
- package/src/css/look-board.css +97 -0
- package/src/css/table.css +12 -0
- package/src/mixins/pageFilters.js +138 -0
- package/src/schemas/app-manifest-v2.schema.json +41 -3
- package/src/utils/actionLink.js +9 -3
- package/src/utils/validateManifestV2.compiled.js +3 -3
|
@@ -1505,7 +1505,40 @@ var script = {
|
|
|
1505
1505
|
* @return {string} The secondary text, or ''.
|
|
1506
1506
|
*/
|
|
1507
1507
|
secondaryValue(row, col) {
|
|
1508
|
-
|
|
1508
|
+
return this.cellLineValue(row, col?.secondary)
|
|
1509
|
+
},
|
|
1510
|
+
|
|
1511
|
+
/**
|
|
1512
|
+
* The muted line above a cell's value, from `col.overline` (read like
|
|
1513
|
+
* `secondary`) or else `col.overlineText`, a fixed text in the host's
|
|
1514
|
+
* translation (PtToegangsverzoeken "Zaken van"). Returns '' when there
|
|
1515
|
+
* is nothing to draw.
|
|
1516
|
+
*
|
|
1517
|
+
* @spec openspec/changes/table-cell-overline/specs/data-table/spec.md#requirement-a-table-column-can-carry-a-muted-line-above-its-value
|
|
1518
|
+
* @param {object} row The row.
|
|
1519
|
+
* @param {object} col The column definition.
|
|
1520
|
+
* @return {string} The overline text, or ''.
|
|
1521
|
+
*/
|
|
1522
|
+
overlineValue(row, col) {
|
|
1523
|
+
const fromRow = this.cellLineValue(row, col?.overline);
|
|
1524
|
+
if (fromRow !== '') {
|
|
1525
|
+
return fromRow
|
|
1526
|
+
}
|
|
1527
|
+
return typeof col?.overlineText === 'string' && col.overlineText !== '' ? this.translateLabel(col.overlineText) : ''
|
|
1528
|
+
},
|
|
1529
|
+
|
|
1530
|
+
/**
|
|
1531
|
+
* One extra line of a cell from its spec: a function is called with the
|
|
1532
|
+
* row; a string with `{field}` placeholders is a template filled from
|
|
1533
|
+
* the row; any other string is a field key. Shared by `secondary` and
|
|
1534
|
+
* `overline`.
|
|
1535
|
+
*
|
|
1536
|
+
* @spec openspec/changes/table-cell-overline/specs/data-table/spec.md#requirement-a-table-column-can-carry-a-muted-line-above-its-value
|
|
1537
|
+
* @param {object} row The row.
|
|
1538
|
+
* @param {Function|string|undefined} spec The line's spec.
|
|
1539
|
+
* @return {string} The text, or ''.
|
|
1540
|
+
*/
|
|
1541
|
+
cellLineValue(row, spec) {
|
|
1509
1542
|
if (typeof spec === 'function') {
|
|
1510
1543
|
const out = spec(row);
|
|
1511
1544
|
return out === null || out === undefined ? '' : String(out)
|