@vertesia/ui 1.6.0-dev.20261014.015055Z → 1.6.0-dev.20261019.172735Z
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/lib/features/agent/PayloadBuilder.d.ts +1 -1
- package/lib/features/oauth/useMcpConnections.d.ts.map +1 -1
- package/lib/features/oauth/useMcpConnections.js +21 -8
- package/lib/features/oauth/useMcpConnections.js.map +1 -1
- package/lib/features/store/objects/DocumentTable.d.ts.map +1 -1
- package/lib/features/store/objects/DocumentTable.js +0 -9
- package/lib/features/store/objects/DocumentTable.js.map +1 -1
- package/lib/features/store/objects/components/ContentOverview.d.ts.map +1 -1
- package/lib/features/store/objects/components/ContentOverview.js +2 -30
- package/lib/features/store/objects/components/ContentOverview.js.map +1 -1
- package/lib/features/store/objects/components/VectorSearchWidget.d.ts.map +1 -1
- package/lib/features/store/objects/components/VectorSearchWidget.js +1 -1
- package/lib/features/store/objects/components/VectorSearchWidget.js.map +1 -1
- package/lib/features/store/objects/components/textPanelSource.d.ts +14 -0
- package/lib/features/store/objects/components/textPanelSource.d.ts.map +1 -0
- package/lib/features/store/objects/components/textPanelSource.js +52 -0
- package/lib/features/store/objects/components/textPanelSource.js.map +1 -0
- package/lib/features/store/objects/upload/DocumentUploadModal.d.ts.map +1 -1
- package/lib/features/store/objects/upload/DocumentUploadModal.js +13 -9
- package/lib/features/store/objects/upload/DocumentUploadModal.js.map +1 -1
- package/lib/session/auth/oauth.d.ts.map +1 -1
- package/lib/session/auth/oauth.js +18 -10
- package/lib/session/auth/oauth.js.map +1 -1
- package/lib/vertesia-ui-core.js +68 -68
- package/lib/vertesia-ui-core.js.map +1 -1
- package/lib/vertesia-ui-features.js +339 -339
- package/lib/vertesia-ui-features.js.map +1 -1
- package/lib/vertesia-ui-layout.js +15 -15
- package/lib/vertesia-ui-layout.js.map +1 -1
- package/lib/vertesia-ui-rich-text.js +118 -118
- package/lib/vertesia-ui-rich-text.js.map +1 -1
- package/lib/vertesia-ui-session.js +1 -1
- package/lib/vertesia-ui-session.js.map +1 -1
- package/lib/vertesia-ui-shell.js +21 -21
- package/lib/vertesia-ui-shell.js.map +1 -1
- package/lib/vertesia-ui-widgets.js +148 -148
- package/lib/vertesia-ui-widgets.js.map +1 -1
- package/lib/widgets/upload/DropZone.d.ts.map +1 -1
- package/lib/widgets/upload/DropZone.js +1 -0
- package/lib/widgets/upload/DropZone.js.map +1 -1
- package/package.json +28 -28
- package/src/features/oauth/useMcpConnections.ts +26 -8
- package/src/features/store/objects/DocumentTable.tsx +0 -9
- package/src/features/store/objects/components/ContentOverview.tsx +2 -34
- package/src/features/store/objects/components/VectorSearchWidget.tsx +4 -2
- package/src/features/store/objects/components/textPanelSource.ts +58 -0
- package/src/features/store/objects/upload/DocumentUploadModal.tsx +14 -10
- package/src/session/auth/oauth.ts +18 -9
- package/src/widgets/upload/DropZone.tsx +1 -0
package/lib/vertesia-ui-shell.js
CHANGED
|
@@ -29,145 +29,145 @@ ${t} { ${i}${lt(e.colors?.light)}${a?`font-family:${ct(a.family)};`:``} }
|
|
|
29
29
|
}
|
|
30
30
|
`}),e||t(mt,{})]})}const gt=f({name:``});function _t({brand:r}){return r.loadingIcon?n(e,{children:[t(`img`,{src:r.loadingIcon.light,alt:``,className:`vertesia-loading-icon block dark:hidden`}),t(`img`,{src:r.loadingIcon.dark??r.loadingIcon.light,alt:``,className:`vertesia-loading-icon hidden dark:block`})]}):null}function vt({loadingIcon:e,delayMs:n=0}){let r=g(gt),[i,a]=x(n<=0);return _(()=>{if(n<=0){a(!0);return}a(!1);let e=setTimeout(()=>a(!0),n);return()=>clearTimeout(e)},[n]),i?t(`div`,{role:`status`,"aria-label":r.copy?.loading??`Loading`,children:t(ht,{loadingIcon:e??(r.loadingIcon?t(_t,{brand:r}):void 0)})}):null}
|
|
31
31
|
/**
|
|
32
|
-
* @license lucide-react v1.
|
|
32
|
+
* @license lucide-react v1.57.0 - ISC
|
|
33
33
|
*
|
|
34
34
|
* This source code is licensed under the ISC license.
|
|
35
35
|
* See the LICENSE file in the root directory of this source tree.
|
|
36
36
|
*/
|
|
37
37
|
const yt=e=>e?.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase();
|
|
38
38
|
/**
|
|
39
|
-
* @license lucide-react v1.
|
|
39
|
+
* @license lucide-react v1.57.0 - ISC
|
|
40
40
|
*
|
|
41
41
|
* This source code is licensed under the ISC license.
|
|
42
42
|
* See the LICENSE file in the root directory of this source tree.
|
|
43
43
|
*/
|
|
44
44
|
function bt(e,t,n=[]){if(t==null)throw Error(`[lucide]: iconNode is required when icon name is used`);return{name:yt(e),size:24,node:t,...n.length>0?{aliases:n}:{}}}
|
|
45
45
|
/**
|
|
46
|
-
* @license lucide-react v1.
|
|
46
|
+
* @license lucide-react v1.57.0 - ISC
|
|
47
47
|
*
|
|
48
48
|
* This source code is licensed under the ISC license.
|
|
49
49
|
* See the LICENSE file in the root directory of this source tree.
|
|
50
50
|
*/
|
|
51
51
|
const xt=e=>{let t=``,n=!1;for(let r of e){if(r===`-`||r===`_`||r<=` `){n=t.length>0;continue}t.length===0?t+=r.toLowerCase():t+=n?r.toUpperCase():r,n=!1}return t},St=e=>{
|
|
52
52
|
/**
|
|
53
|
-
* @license lucide-react v1.
|
|
53
|
+
* @license lucide-react v1.57.0 - ISC
|
|
54
54
|
*
|
|
55
55
|
* This source code is licensed under the ISC license.
|
|
56
56
|
* See the LICENSE file in the root directory of this source tree.
|
|
57
57
|
*/
|
|
58
58
|
let t=xt(e);return t.charAt(0).toUpperCase()+t.slice(1)},Ct=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),wt={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`}
|
|
59
59
|
/**
|
|
60
|
-
* @license lucide-react v1.
|
|
60
|
+
* @license lucide-react v1.57.0 - ISC
|
|
61
61
|
*
|
|
62
62
|
* This source code is licensed under the ISC license.
|
|
63
63
|
* See the LICENSE file in the root directory of this source tree.
|
|
64
64
|
*/
|
|
65
65
|
/**
|
|
66
|
-
* @license lucide-react v1.
|
|
66
|
+
* @license lucide-react v1.57.0 - ISC
|
|
67
67
|
*
|
|
68
68
|
* This source code is licensed under the ISC license.
|
|
69
69
|
* See the LICENSE file in the root directory of this source tree.
|
|
70
70
|
*/
|
|
71
71
|
;
|
|
72
72
|
/**
|
|
73
|
-
* @license lucide-react v1.
|
|
73
|
+
* @license lucide-react v1.57.0 - ISC
|
|
74
74
|
*
|
|
75
75
|
* This source code is licensed under the ISC license.
|
|
76
76
|
* See the LICENSE file in the root directory of this source tree.
|
|
77
77
|
*/
|
|
78
78
|
function Tt(e){return e!=null}function Et(e,t={}){let n=t.attributeNames??{},r=e=>n[e]??e,i=e.size??e.width??wt.width,a=e.size??e.height??wt.height,o=e.aliases?.filter(e=>typeof e==`string`&&e.trim()!==``).map(e=>`lucide-${e}`)??[],s=[...e.name?[`lucide-${e.name}`]:[],...o],c=t.className?.split(` `).filter(Boolean)??[],l=t.includeDefaultClasses===!1?Ct(...c):Ct(`lucide`,...s,...c),u=t.absoluteStrokeWidth?Number(t.strokeWidth??wt[`stroke-width`])*Number(e.size??e.width??wt.width)/Number(t.size??t.width??wt.width):t.strokeWidth??wt[`stroke-width`];return[`svg`,{...Object.entries(wt).reduce((e,[t,n])=>(e[r(t)]=n,e),{}),...`color`in t&&t.color&&{[r(`stroke`)]:t.color},...`size`in t&&Tt(t.size)&&{[r(`width`)]:t.size,[r(`height`)]:t.size},...`width`in t&&Tt(t.width)&&{[r(`width`)]:t.width},...`height`in t&&Tt(t.height)&&{[r(`height`)]:t.height},[r(`stroke-width`)]:u,...l&&{[r(`class`)]:l},[r(`viewBox`)]:`0 0 ${i} ${a}`,...t.hasA11yProp===!1?{[r(`aria-hidden`)]:`true`}:{},...`attributes`in t&&t.attributes},e.node.map(e=>{let[n,i,a]=e,o=t.nonScalingStroke?{[r(`vector-effect`)]:`non-scaling-stroke`,...i}:i;return a?[n,o,a]:[n,o]})]}
|
|
79
79
|
/**
|
|
80
|
-
* @license lucide-react v1.
|
|
80
|
+
* @license lucide-react v1.57.0 - ISC
|
|
81
81
|
*
|
|
82
82
|
* This source code is licensed under the ISC license.
|
|
83
83
|
* See the LICENSE file in the root directory of this source tree.
|
|
84
84
|
*/
|
|
85
85
|
function Dt(e,t={}){return Et(e,{...t,attributeNames:{...t.attributeNames,class:`className`,"stroke-width":`strokeWidth`,"stroke-linecap":`strokeLinecap`,"stroke-linejoin":`strokeLinejoin`,"vector-effect":`vectorEffect`}})}
|
|
86
86
|
/**
|
|
87
|
-
* @license lucide-react v1.
|
|
87
|
+
* @license lucide-react v1.57.0 - ISC
|
|
88
88
|
*
|
|
89
89
|
* This source code is licensed under the ISC license.
|
|
90
90
|
* See the LICENSE file in the root directory of this source tree.
|
|
91
91
|
*/
|
|
92
92
|
const Ot=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},kt=f({}),At=()=>g(kt),jt=m(({color:e,size:t,width:n,height:r,strokeWidth:i,absoluteStrokeWidth:a,nonScalingStroke:o,className:s=``,children:c,iconNode:l=[],icon:u={node:l,aliases:[],size:24},...d},f)=>{
|
|
93
93
|
/**
|
|
94
|
-
* @license lucide-react v1.
|
|
94
|
+
* @license lucide-react v1.57.0 - ISC
|
|
95
95
|
*
|
|
96
96
|
* This source code is licensed under the ISC license.
|
|
97
97
|
* See the LICENSE file in the root directory of this source tree.
|
|
98
98
|
*/
|
|
99
99
|
/**
|
|
100
|
-
* @license lucide-react v1.
|
|
100
|
+
* @license lucide-react v1.57.0 - ISC
|
|
101
101
|
*
|
|
102
102
|
* This source code is licensed under the ISC license.
|
|
103
103
|
* See the LICENSE file in the root directory of this source tree.
|
|
104
104
|
*/
|
|
105
105
|
let{size:m=24,strokeWidth:h=2,absoluteStrokeWidth:g=!1,nonScalingStroke:_=!1,color:v=`currentColor`,className:y=``}=At()??{},b=!!c||Ot(d),[x,ee,te=[]]=Dt(u,{color:e??v,width:n??t??m,height:r??t??m,strokeWidth:i??h,absoluteStrokeWidth:a??g,nonScalingStroke:o??_,className:Ct(y,s),hasA11yProp:b,attributes:d});return p(x,{ref:f,...ee},[...te.map(([e,t])=>p(e,t)),...Array.isArray(c)?c:[c]])});
|
|
106
106
|
/**
|
|
107
|
-
* @license lucide-react v1.
|
|
107
|
+
* @license lucide-react v1.57.0 - ISC
|
|
108
108
|
*
|
|
109
109
|
* This source code is licensed under the ISC license.
|
|
110
110
|
* See the LICENSE file in the root directory of this source tree.
|
|
111
111
|
*/
|
|
112
112
|
function Mt(e,t=[],n=[]){let r=typeof e==`string`?bt(e,t,n):e,i=m(({className:e,...t},n)=>p(jt,{ref:n,icon:r,className:e,...t}));return r.name&&(i.displayName=St(r.name)),i}
|
|
113
113
|
/**
|
|
114
|
-
* @license lucide-react v1.
|
|
114
|
+
* @license lucide-react v1.57.0 - ISC
|
|
115
115
|
*
|
|
116
116
|
* This source code is licensed under the ISC license.
|
|
117
117
|
* See the LICENSE file in the root directory of this source tree.
|
|
118
118
|
*/
|
|
119
119
|
const E={name:`arrow-right`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]};E.node;const Nt=Mt(E),Pt={name:`check`,size:24,node:[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]}
|
|
120
120
|
/**
|
|
121
|
-
* @license lucide-react v1.
|
|
121
|
+
* @license lucide-react v1.57.0 - ISC
|
|
122
122
|
*
|
|
123
123
|
* This source code is licensed under the ISC license.
|
|
124
124
|
* See the LICENSE file in the root directory of this source tree.
|
|
125
125
|
*/
|
|
126
126
|
;Pt.node;const Ft=Mt(Pt),It={name:`copy`,size:24,node:[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]}
|
|
127
127
|
/**
|
|
128
|
-
* @license lucide-react v1.
|
|
128
|
+
* @license lucide-react v1.57.0 - ISC
|
|
129
129
|
*
|
|
130
130
|
* This source code is licensed under the ISC license.
|
|
131
131
|
* See the LICENSE file in the root directory of this source tree.
|
|
132
132
|
*/
|
|
133
133
|
;It.node;const Lt=Mt(It),Rt={name:`key-round`,size:24,node:[[`path`,{d:`M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z`,key:`1s6t7t`}],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`w0ekpg`}]]}
|
|
134
134
|
/**
|
|
135
|
-
* @license lucide-react v1.
|
|
135
|
+
* @license lucide-react v1.57.0 - ISC
|
|
136
136
|
*
|
|
137
137
|
* This source code is licensed under the ISC license.
|
|
138
138
|
* See the LICENSE file in the root directory of this source tree.
|
|
139
139
|
*/
|
|
140
140
|
;Rt.node;const zt=Mt(Rt),Bt={name:`lock-keyhole`,size:24,node:[[`circle`,{cx:`12`,cy:`16`,r:`1`,key:`1au0dj`}],[`rect`,{x:`3`,y:`10`,width:`18`,height:`12`,rx:`2`,key:`6s8ecr`}],[`path`,{d:`M7 10V7a5 5 0 0 1 10 0v3`,key:`1pqi11`}]]}
|
|
141
141
|
/**
|
|
142
|
-
* @license lucide-react v1.
|
|
142
|
+
* @license lucide-react v1.57.0 - ISC
|
|
143
143
|
*
|
|
144
144
|
* This source code is licensed under the ISC license.
|
|
145
145
|
* See the LICENSE file in the root directory of this source tree.
|
|
146
146
|
*/
|
|
147
147
|
;Bt.node;const Vt=Mt(Bt),Ht={name:`lock`,size:24,node:[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]}
|
|
148
148
|
/**
|
|
149
|
-
* @license lucide-react v1.
|
|
149
|
+
* @license lucide-react v1.57.0 - ISC
|
|
150
150
|
*
|
|
151
151
|
* This source code is licensed under the ISC license.
|
|
152
152
|
* See the LICENSE file in the root directory of this source tree.
|
|
153
153
|
*/
|
|
154
154
|
;Ht.node;const Ut=Mt(Ht),Wt={name:`mail`,size:24,node:[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`,key:`132q7q`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}]]}
|
|
155
155
|
/**
|
|
156
|
-
* @license lucide-react v1.
|
|
156
|
+
* @license lucide-react v1.57.0 - ISC
|
|
157
157
|
*
|
|
158
158
|
* This source code is licensed under the ISC license.
|
|
159
159
|
* See the LICENSE file in the root directory of this source tree.
|
|
160
160
|
*/
|
|
161
161
|
;Wt.node;const Gt=Mt(Wt),D={name:`shield-off`,size:24,node:[[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M5 5a1 1 0 0 0-1 1v7c0 5 3.5 7.5 7.67 8.94a1 1 0 0 0 .67.01c2.35-.82 4.48-1.97 5.9-3.71`,key:`1jlk70`}],[`path`,{d:`M9.309 3.652A12.252 12.252 0 0 0 11.24 2.28a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1v7a9.784 9.784 0 0 1-.08 1.264`,key:`18rp1v`}]]}
|
|
162
162
|
/**
|
|
163
|
-
* @license lucide-react v1.
|
|
163
|
+
* @license lucide-react v1.57.0 - ISC
|
|
164
164
|
*
|
|
165
165
|
* This source code is licensed under the ISC license.
|
|
166
166
|
* See the LICENSE file in the root directory of this source tree.
|
|
167
167
|
*/
|
|
168
168
|
;D.node;const Kt=Mt(D),qt={name:`triangle-alert`,size:24,node:[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,key:`wmoenq`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]],aliases:[`alert-triangle`]}
|
|
169
169
|
/**
|
|
170
|
-
* @license lucide-react v1.
|
|
170
|
+
* @license lucide-react v1.57.0 - ISC
|
|
171
171
|
*
|
|
172
172
|
* This source code is licensed under the ISC license.
|
|
173
173
|
* See the LICENSE file in the root directory of this source tree.
|