@conduction/nextcloud-vue 2.172.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/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/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/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 +475 -241
- package/dist/nextcloud-vue.cjs.js +797 -556
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +475 -241
- package/package.json +1 -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/CnDashboardGrid/CnDashboardGrid.vue +5 -2
- 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 +100 -5
- package/src/css/look-board.css +118 -0
|
@@ -100,45 +100,50 @@ const _hoisted_41 = {
|
|
|
100
100
|
"data-testid": "cn-files-browser-name-secondary"
|
|
101
101
|
};
|
|
102
102
|
const _hoisted_42 = {
|
|
103
|
+
key: 5,
|
|
104
|
+
class: "cn-files-browser__cell-subline",
|
|
105
|
+
"data-testid": "cn-files-browser-cell-subline"
|
|
106
|
+
};
|
|
107
|
+
const _hoisted_43 = {
|
|
103
108
|
key: 0,
|
|
104
109
|
class: "cn-files-browser__no-match-row"
|
|
105
110
|
};
|
|
106
|
-
const
|
|
107
|
-
const
|
|
108
|
-
const
|
|
111
|
+
const _hoisted_44 = ["colspan"];
|
|
112
|
+
const _hoisted_45 = ["data-name", "onClick", "onAuxclick"];
|
|
113
|
+
const _hoisted_46 = {
|
|
109
114
|
key: 0,
|
|
110
115
|
class: "cn-files-browser__col-select"
|
|
111
116
|
};
|
|
112
|
-
const
|
|
113
|
-
const
|
|
114
|
-
const
|
|
115
|
-
const
|
|
117
|
+
const _hoisted_47 = { class: "cn-files-browser__col-icon" };
|
|
118
|
+
const _hoisted_48 = ["src"];
|
|
119
|
+
const _hoisted_49 = { class: "cn-files-browser__name" };
|
|
120
|
+
const _hoisted_50 = {
|
|
116
121
|
key: 0,
|
|
117
122
|
class: "cn-files-browser__note"
|
|
118
123
|
};
|
|
119
|
-
const
|
|
120
|
-
const
|
|
121
|
-
const
|
|
122
|
-
const
|
|
123
|
-
const
|
|
124
|
+
const _hoisted_51 = ["href"];
|
|
125
|
+
const _hoisted_52 = ["aria-label"];
|
|
126
|
+
const _hoisted_53 = ["data-testid"];
|
|
127
|
+
const _hoisted_54 = { class: "cn-files-browser__side-title" };
|
|
128
|
+
const _hoisted_55 = {
|
|
124
129
|
key: 0,
|
|
125
130
|
class: "cn-files-browser__side-facts"
|
|
126
131
|
};
|
|
127
|
-
const
|
|
132
|
+
const _hoisted_56 = {
|
|
128
133
|
key: 1,
|
|
129
134
|
class: "cn-files-browser__side-actions"
|
|
130
135
|
};
|
|
131
|
-
const
|
|
136
|
+
const _hoisted_57 = {
|
|
132
137
|
key: 10,
|
|
133
138
|
class: "cn-files-browser__drop-hint",
|
|
134
139
|
"data-testid": "cn-files-browser-drop-hint"
|
|
135
140
|
};
|
|
136
|
-
const
|
|
141
|
+
const _hoisted_58 = {
|
|
137
142
|
key: 11,
|
|
138
143
|
class: "cn-files-browser__footnote",
|
|
139
144
|
"data-testid": "cn-files-browser-footnote"
|
|
140
145
|
};
|
|
141
|
-
const
|
|
146
|
+
const _hoisted_59 = {
|
|
142
147
|
key: 0,
|
|
143
148
|
class: "cn-files-browser__upload-error",
|
|
144
149
|
role: "alert"
|
|
@@ -730,7 +735,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
730
735
|
widget: column.widget || null,
|
|
731
736
|
widgetProps: $options.cellWidgetProps(column, node),
|
|
732
737
|
row: node
|
|
733
|
-
}, null, 8 /* PROPS */, ["class", "value", "formatter", "formatterOptions", "widget", "widgetProps", "row"]))
|
|
738
|
+
}, null, 8 /* PROPS */, ["class", "value", "formatter", "formatterOptions", "widget", "widgetProps", "row"])),
|
|
739
|
+
(column.key !== 'name' && $options.cellSubline(column, node))
|
|
740
|
+
? (openBlock(), createElementBlock("span", _hoisted_42, toDisplayString($options.cellSubline(column, node)), 1 /* TEXT */))
|
|
741
|
+
: createCommentVNode("v-if", true)
|
|
734
742
|
], 10 /* CLASS, PROPS */, _hoisted_39))
|
|
735
743
|
}), 128 /* KEYED_FRAGMENT */)),
|
|
736
744
|
createElementVNode("td", {
|
|
@@ -874,12 +882,12 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
874
882
|
], 64 /* STABLE_FRAGMENT */))
|
|
875
883
|
}), 128 /* KEYED_FRAGMENT */)),
|
|
876
884
|
($options.facetActive && $options.filteredFiles.length === 0)
|
|
877
|
-
? (openBlock(), createElementBlock("tr",
|
|
885
|
+
? (openBlock(), createElementBlock("tr", _hoisted_43, [
|
|
878
886
|
createElementVNode("td", {
|
|
879
887
|
colspan: $options.columnCount,
|
|
880
888
|
class: "cn-files-browser__no-match",
|
|
881
889
|
"data-testid": "cn-files-browser-no-match"
|
|
882
|
-
}, toDisplayString($options.t('nextcloud-vue', 'No files match the filter.')), 9 /* TEXT, PROPS */,
|
|
890
|
+
}, toDisplayString($options.t('nextcloud-vue', 'No files match the filter.')), 9 /* TEXT, PROPS */, _hoisted_44)
|
|
883
891
|
]))
|
|
884
892
|
: createCommentVNode("v-if", true),
|
|
885
893
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.linkedItems, (item) => {
|
|
@@ -893,16 +901,16 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
893
901
|
onAuxclick: $event => ($options.onLinkedAuxClick(item, $event))
|
|
894
902
|
}, [
|
|
895
903
|
($options.bulkEnabled)
|
|
896
|
-
? (openBlock(), createElementBlock("td",
|
|
904
|
+
? (openBlock(), createElementBlock("td", _hoisted_46))
|
|
897
905
|
: createCommentVNode("v-if", true),
|
|
898
|
-
createElementVNode("td",
|
|
906
|
+
createElementVNode("td", _hoisted_47, [
|
|
899
907
|
($options.mimeIconFor({ mime: item.mime }))
|
|
900
908
|
? (openBlock(), createElementBlock("img", {
|
|
901
909
|
key: 0,
|
|
902
910
|
class: "cn-files-browser__mime",
|
|
903
911
|
src: $options.mimeIconFor({ mime: item.mime }),
|
|
904
912
|
alt: ""
|
|
905
|
-
}, null, 8 /* PROPS */,
|
|
913
|
+
}, null, 8 /* PROPS */, _hoisted_48))
|
|
906
914
|
: (openBlock(), createBlock(_component_FileOutline, {
|
|
907
915
|
key: 1,
|
|
908
916
|
size: 32
|
|
@@ -915,16 +923,16 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
915
923
|
}, [
|
|
916
924
|
(column.key === 'name')
|
|
917
925
|
? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
918
|
-
createElementVNode("span",
|
|
926
|
+
createElementVNode("span", _hoisted_49, toDisplayString(item.name), 1 /* TEXT */),
|
|
919
927
|
(item.note)
|
|
920
|
-
? (openBlock(), createElementBlock("span",
|
|
928
|
+
? (openBlock(), createElementBlock("span", _hoisted_50, [
|
|
921
929
|
(item.noteHref)
|
|
922
930
|
? (openBlock(), createElementBlock("a", {
|
|
923
931
|
key: 0,
|
|
924
932
|
href: item.noteHref,
|
|
925
933
|
class: "cn-files-browser__note-link",
|
|
926
934
|
onClick: _cache[7] || (_cache[7] = withModifiers(() => {}, ["stop"]))
|
|
927
|
-
}, toDisplayString(item.note), 9 /* TEXT, PROPS */,
|
|
935
|
+
}, toDisplayString(item.note), 9 /* TEXT, PROPS */, _hoisted_51))
|
|
928
936
|
: (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
929
937
|
createTextVNode(toDisplayString(item.note), 1 /* TEXT */)
|
|
930
938
|
], 64 /* STABLE_FRAGMENT */))
|
|
@@ -993,7 +1001,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
993
1001
|
_: 2 /* DYNAMIC */
|
|
994
1002
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["ariaLabel"])
|
|
995
1003
|
], 32 /* NEED_HYDRATION */)
|
|
996
|
-
], 40 /* PROPS, NEED_HYDRATION */,
|
|
1004
|
+
], 40 /* PROPS, NEED_HYDRATION */, _hoisted_45))
|
|
997
1005
|
}), 128 /* KEYED_FRAGMENT */))
|
|
998
1006
|
])
|
|
999
1007
|
]),
|
|
@@ -1015,9 +1023,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1015
1023
|
class: "cn-files-browser__side-card",
|
|
1016
1024
|
"data-testid": `cn-files-browser-side-card-${card.id}`
|
|
1017
1025
|
}, [
|
|
1018
|
-
createElementVNode("h3",
|
|
1026
|
+
createElementVNode("h3", _hoisted_54, toDisplayString(card.title), 1 /* TEXT */),
|
|
1019
1027
|
(card.fields.length > 0)
|
|
1020
|
-
? (openBlock(), createElementBlock("dl",
|
|
1028
|
+
? (openBlock(), createElementBlock("dl", _hoisted_55, [
|
|
1021
1029
|
(openBlock(true), createElementBlock(Fragment, null, renderList(card.fields, (field) => {
|
|
1022
1030
|
return (openBlock(), createElementBlock(Fragment, {
|
|
1023
1031
|
key: field.key
|
|
@@ -1038,7 +1046,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1038
1046
|
]))
|
|
1039
1047
|
: createCommentVNode("v-if", true),
|
|
1040
1048
|
(card.actions.length > 0)
|
|
1041
|
-
? (openBlock(), createElementBlock("div",
|
|
1049
|
+
? (openBlock(), createElementBlock("div", _hoisted_56, [
|
|
1042
1050
|
(openBlock(true), createElementBlock(Fragment, null, renderList(card.actions, (action) => {
|
|
1043
1051
|
return (openBlock(), createBlock(_component_NcButton, {
|
|
1044
1052
|
key: action.id,
|
|
@@ -1066,20 +1074,20 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1066
1074
|
}), 128 /* KEYED_FRAGMENT */))
|
|
1067
1075
|
]))
|
|
1068
1076
|
: createCommentVNode("v-if", true)
|
|
1069
|
-
], 8 /* PROPS */,
|
|
1077
|
+
], 8 /* PROPS */, _hoisted_53))
|
|
1070
1078
|
}), 128 /* KEYED_FRAGMENT */))
|
|
1071
|
-
], 10 /* CLASS, PROPS */,
|
|
1079
|
+
], 10 /* CLASS, PROPS */, _hoisted_52)
|
|
1072
1080
|
], 8 /* PROPS */, ["to", "disabled"]))
|
|
1073
1081
|
: createCommentVNode("v-if", true)
|
|
1074
1082
|
], 2 /* CLASS */)),
|
|
1075
1083
|
($props.dropHint && $options.canChange && !$data.loading && $data.error === '')
|
|
1076
|
-
? (openBlock(), createElementBlock("p",
|
|
1084
|
+
? (openBlock(), createElementBlock("p", _hoisted_57, [
|
|
1077
1085
|
createVNode(_component_Upload, { size: 16 }),
|
|
1078
1086
|
createTextVNode(" " + toDisplayString($props.dropHintLabel), 1 /* TEXT */)
|
|
1079
1087
|
]))
|
|
1080
1088
|
: createCommentVNode("v-if", true),
|
|
1081
1089
|
($props.footnote && !$data.loading && $data.error === '')
|
|
1082
|
-
? (openBlock(), createElementBlock("p",
|
|
1090
|
+
? (openBlock(), createElementBlock("p", _hoisted_58, toDisplayString($options.cnTranslate($props.footnote)), 1 /* TEXT */))
|
|
1083
1091
|
: createCommentVNode("v-if", true),
|
|
1084
1092
|
($data.renaming !== null)
|
|
1085
1093
|
? (openBlock(), createBlock(_component_NcDialog, {
|
|
@@ -1159,7 +1167,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1159
1167
|
default: withCtx(() => [
|
|
1160
1168
|
createElementVNode("p", null, toDisplayString($options.t('nextcloud-vue', 'Delete {name}? This cannot be undone here.', { name: $data.removing.basename })), 1 /* TEXT */),
|
|
1161
1169
|
($data.removeError)
|
|
1162
|
-
? (openBlock(), createElementBlock("p",
|
|
1170
|
+
? (openBlock(), createElementBlock("p", _hoisted_59, toDisplayString($data.removeError), 1 /* TEXT */))
|
|
1163
1171
|
: createCommentVNode("v-if", true)
|
|
1164
1172
|
]),
|
|
1165
1173
|
_: 1 /* STABLE */
|