@conduction/nextcloud-vue 2.171.0 → 2.173.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/CnActionDialog/CnActionDialog.vue.js +1 -1
- package/dist/esm/components/CnActionDialog/CnActionDialog.vue2.js.map +1 -1
- package/dist/esm/components/CnActionDialog/CnActionDialog.vue3.js.map +1 -1
- package/dist/esm/components/CnAiCompanion/CnAiChatWidget.vue2.js +3 -2
- package/dist/esm/components/CnAiCompanion/CnAiChatWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnAiCompanion/CnAiChatWidget.vue3.js +2 -1
- package/dist/esm/components/CnAiCompanion/CnAiChatWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnAiCompanion/CnAiCompanion.vue2.js +39 -0
- package/dist/esm/components/CnAiCompanion/CnAiCompanion.vue2.js.map +1 -1
- package/dist/esm/components/CnAiCompanion/CnAiCompanion.vue3.js.map +1 -1
- package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue.js +1 -1
- package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue2.js +22 -3
- 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/CnDashboardGrid/CnDashboardGrid.vue.js +1 -1
- package/dist/esm/components/CnDashboardGrid/CnDashboardGrid.vue2.js.map +1 -1
- package/dist/esm/components/CnDashboardGrid/CnDashboardGrid.vue3.js.map +1 -1
- package/dist/esm/components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue.js +1 -1
- package/dist/esm/components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue2.js +75 -4
- package/dist/esm/components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue.js +1 -1
- package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue2.js +7 -3
- package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue.js +1 -1
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue2.js +34 -4
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue2.js.map +1 -1
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue3.js +42 -34
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue3.js.map +1 -1
- package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue.js +1 -1
- package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue2.js +21 -6
- package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue2.js.map +1 -1
- package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue3.js.map +1 -1
- package/dist/esm/components/CnTreeView/CnTreeNode.vue.js +1 -1
- package/dist/esm/components/CnTreeView/CnTreeNode.vue2.js +54 -4
- package/dist/esm/components/CnTreeView/CnTreeNode.vue2.js.map +1 -1
- package/dist/esm/components/CnTreeView/CnTreeNode.vue3.js +32 -26
- package/dist/esm/components/CnTreeView/CnTreeNode.vue3.js.map +1 -1
- package/dist/esm/components/CnTreeView/CnTreeView.vue.js +1 -1
- package/dist/esm/components/CnTreeView/CnTreeView.vue2.js +28 -4
- package/dist/esm/components/CnTreeView/CnTreeView.vue2.js.map +1 -1
- package/dist/esm/components/CnTreeView/CnTreeView.vue3.js +4 -1
- package/dist/esm/components/CnTreeView/CnTreeView.vue3.js.map +1 -1
- package/dist/esm/composables/aiChatConfig.js +13 -1
- package/dist/esm/composables/aiChatConfig.js.map +1 -1
- package/dist/esm/composables/useAiChatStream.js +53 -1
- package/dist/esm/composables/useAiChatStream.js.map +1 -1
- package/dist/esm/library-style.js +1 -1
- package/dist/esm/nextcloud-vue.css +745 -403
- package/dist/esm/utils/builtInFormatters.js +19 -1
- package/dist/esm/utils/builtInFormatters.js.map +1 -1
- package/dist/nextcloud-vue.cjs.js +919 -569
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +745 -403
- package/package.json +1 -1
- package/src/components/CnActionDialog/CnActionDialog.vue +4 -1
- package/src/components/CnAiCompanion/CnAiChatWidget.md +1 -0
- package/src/components/CnAiCompanion/CnAiChatWidget.vue +4 -2
- package/src/components/CnAiCompanion/CnAiCompanion.md +1 -0
- package/src/components/CnAiCompanion/CnAiCompanion.vue +39 -0
- package/src/components/CnChecklistRunWidget/CnChecklistRunWidget.vue +24 -3
- package/src/components/CnDashboardGrid/CnDashboardGrid.vue +5 -2
- package/src/components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue +75 -4
- package/src/components/CnFactsWidget/CnFactsWidget.vue +7 -3
- package/src/components/CnFilesBrowser/CnFilesBrowser.vue +45 -4
- package/src/components/CnFlowsPage/CnFlowBoard.vue +27 -6
- package/src/components/CnTreeView/CnTreeNode.vue +69 -6
- package/src/components/CnTreeView/CnTreeView.vue +31 -4
- package/src/composables/aiChatConfig.js +12 -0
- package/src/composables/useAiChatStream.js +53 -0
- package/src/css/look-board-detail.css +200 -6
- package/src/css/look-board-index.css +7 -6
- package/src/css/look-board.css +118 -0
- package/src/css/patches.css +4 -1
- package/src/utils/builtInFormatters.js +18 -0
|
@@ -2,7 +2,7 @@ import script from './CnFilesBrowser.vue2.js';
|
|
|
2
2
|
import { render } from './CnFilesBrowser.vue3.js';
|
|
3
3
|
|
|
4
4
|
script.render = render;
|
|
5
|
-
script.__scopeId = "data-v-
|
|
5
|
+
script.__scopeId = "data-v-e76d7678";
|
|
6
6
|
const __sfc_main = script;
|
|
7
7
|
|
|
8
8
|
export { __sfc_main as default };
|
|
@@ -425,9 +425,12 @@ var script = {
|
|
|
425
425
|
* The columns this browser shows, in order. An entry is a built-in name
|
|
426
426
|
* (`name`, `size`, `modified`, `owner`, `type`, `tags`) or an object
|
|
427
427
|
* declaring its own: `{ key, label, source, attribute, formatter,
|
|
428
|
-
* sortable }`, where `source` is `node` (a property of the node),
|
|
428
|
+
* sortable, subline }`, where `source` is `node` (a property of the node),
|
|
429
429
|
* `attribute` (a DAV property, added to the PROPFIND before listing) or
|
|
430
|
-
* `row` (a value from `rowData`).
|
|
430
|
+
* `row` (a value from `rowData`). `subline` is a template drawn as a
|
|
431
|
+
* muted second line under the value, filled from the file's `rowData`
|
|
432
|
+
* entry ("ground {reviewGrounds|values}"); it is left out when it
|
|
433
|
+
* names no value.
|
|
431
434
|
*
|
|
432
435
|
* Declaring none keeps today's table: name, size and modified.
|
|
433
436
|
*
|
|
@@ -1459,8 +1462,7 @@ var script = {
|
|
|
1459
1462
|
if ((!this.nameSecondary && fields === null) || this.isFolder(node)) {
|
|
1460
1463
|
return ''
|
|
1461
1464
|
}
|
|
1462
|
-
const
|
|
1463
|
-
const entry = byId[node.fileid] ?? byId[String(node.fileid)] ?? {};
|
|
1465
|
+
const entry = this.rowEntryOf(node);
|
|
1464
1466
|
const owner = node.attributes ? node.attributes['owner-display-name'] : undefined;
|
|
1465
1467
|
const object = {
|
|
1466
1468
|
...entry,
|
|
@@ -2011,6 +2013,34 @@ var script = {
|
|
|
2011
2013
|
return fileColumnValue(column, node, this.resolvedRowData)
|
|
2012
2014
|
},
|
|
2013
2015
|
|
|
2016
|
+
/**
|
|
2017
|
+
* The host's row data for one file (`rowData`, by file id), `{}` without it.
|
|
2018
|
+
*
|
|
2019
|
+
* @param {object} node The node.
|
|
2020
|
+
* @return {object} The row entry.
|
|
2021
|
+
*/
|
|
2022
|
+
rowEntryOf(node) {
|
|
2023
|
+
const byId = this.resolvedRowData && typeof this.resolvedRowData === 'object' ? this.resolvedRowData : {};
|
|
2024
|
+
return byId[node.fileid] ?? byId[String(node.fileid)] ?? {}
|
|
2025
|
+
},
|
|
2026
|
+
|
|
2027
|
+
/**
|
|
2028
|
+
* A declared column's second line under its value: the column's
|
|
2029
|
+
* `subline` template, translated and filled from the file's row data
|
|
2030
|
+
* ("ground {reviewGrounds|values}"), '' when it names no value.
|
|
2031
|
+
*
|
|
2032
|
+
* @param {object} column A resolved column.
|
|
2033
|
+
* @param {object} node The node.
|
|
2034
|
+
* @return {string} The line, or ''.
|
|
2035
|
+
* @spec openspec/changes/files-column-subline/specs/files-column-subline/spec.md#requirement-a-declared-column-can-draw-a-second-line-under-its-value
|
|
2036
|
+
*/
|
|
2037
|
+
cellSubline(column, node) {
|
|
2038
|
+
if (!column || typeof column.subline !== 'string' || column.subline === '') {
|
|
2039
|
+
return ''
|
|
2040
|
+
}
|
|
2041
|
+
return fillTemplate(this.cnTranslate(column.subline), this.rowEntryOf(node))
|
|
2042
|
+
},
|
|
2043
|
+
|
|
2014
2044
|
/**
|
|
2015
2045
|
* The tone a column or card field draws a value in: its `colorMap`
|
|
2016
2046
|
* entry for the value (case-insensitive), read from the `colorKey` field
|