@vertesia/ui 0.79.1 → 0.80.0-dev.20251121
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/esm/core/components/TagsInput.js +194 -0
- package/lib/esm/core/components/TagsInput.js.map +1 -0
- package/lib/esm/core/components/index.js +2 -1
- package/lib/esm/core/components/index.js.map +1 -1
- package/lib/esm/core/components/shadcn/popover.js +1 -1
- package/lib/esm/core/components/shadcn/popover.js.map +1 -1
- package/lib/esm/env/index.js +1 -1
- package/lib/esm/env/index.js.map +1 -1
- package/lib/esm/features/store/collections/EditCollectionView.js +18 -7
- package/lib/esm/features/store/collections/EditCollectionView.js.map +1 -1
- package/lib/esm/features/store/collections/SelectCollection.js +104 -39
- package/lib/esm/features/store/collections/SelectCollection.js.map +1 -1
- package/lib/esm/features/store/collections/SharedPropsEditor.js +40 -0
- package/lib/esm/features/store/collections/SharedPropsEditor.js.map +1 -0
- package/lib/esm/features/store/collections/SyncMemberHeadsToggle.js +35 -0
- package/lib/esm/features/store/collections/SyncMemberHeadsToggle.js.map +1 -0
- package/lib/esm/features/store/collections/index.js +2 -0
- package/lib/esm/features/store/collections/index.js.map +1 -1
- package/lib/esm/features/store/objects/upload/useSmartFileUploadProcessing.js +10 -9
- package/lib/esm/features/store/objects/upload/useSmartFileUploadProcessing.js.map +1 -1
- package/lib/esm/session/UserSessionProvider.js +2 -2
- package/lib/esm/session/UserSessionProvider.js.map +1 -1
- package/lib/esm/shell/apps/AppProjectSelector.js +2 -2
- package/lib/esm/shell/apps/AppProjectSelector.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/core/components/TagsInput.d.ts +16 -0
- package/lib/types/core/components/TagsInput.d.ts.map +1 -0
- package/lib/types/core/components/index.d.ts +2 -1
- package/lib/types/core/components/index.d.ts.map +1 -1
- package/lib/types/core/components/shadcn/popover.d.ts +7 -0
- package/lib/types/core/components/shadcn/popover.d.ts.map +1 -1
- package/lib/types/features/store/collections/EditCollectionView.d.ts.map +1 -1
- package/lib/types/features/store/collections/SelectCollection.d.ts +2 -1
- package/lib/types/features/store/collections/SelectCollection.d.ts.map +1 -1
- package/lib/types/features/store/collections/SharedPropsEditor.d.ts +7 -0
- package/lib/types/features/store/collections/SharedPropsEditor.d.ts.map +1 -0
- package/lib/types/features/store/collections/SyncMemberHeadsToggle.d.ts +7 -0
- package/lib/types/features/store/collections/SyncMemberHeadsToggle.d.ts.map +1 -0
- package/lib/types/features/store/collections/index.d.ts +2 -0
- package/lib/types/features/store/collections/index.d.ts.map +1 -1
- package/lib/types/features/store/objects/upload/useSmartFileUploadProcessing.d.ts.map +1 -1
- package/lib/vertesia-ui-core.js +1 -1
- package/lib/vertesia-ui-core.js.map +1 -1
- package/lib/vertesia-ui-env.js +1 -1
- package/lib/vertesia-ui-env.js.map +1 -1
- package/lib/vertesia-ui-features.js +1 -1
- package/lib/vertesia-ui-features.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 +1 -1
- package/lib/vertesia-ui-shell.js.map +1 -1
- package/package.json +171 -166
- package/src/core/components/SelectBox.tsx +1 -1
- package/src/core/components/TagsInput.tsx +388 -0
- package/src/core/components/index.ts +2 -1
- package/src/core/components/shadcn/popover.tsx +2 -2
- package/src/core/hooks/CompositeState.tsx +156 -6
- package/src/env/index.ts +5 -4
- package/src/features/agent/PayloadBuilder.tsx +92 -65
- package/src/features/agent/chat/ModernAgentOutput/AllMessagesMixed.tsx +1 -1
- package/src/features/agent/chat/ModernAgentOutput/Header.tsx +2 -2
- package/src/features/agent/chat/ModernAgentOutput/WorkstreamTabs.tsx +3 -3
- package/src/features/store/collections/EditCollectionView.tsx +31 -10
- package/src/features/store/collections/SharedPropsEditor.tsx +61 -0
- package/src/features/store/collections/SyncMemberHeadsToggle.tsx +48 -0
- package/src/features/store/collections/index.ts +3 -1
- package/src/features/store/objects/DocumentSearchResults.tsx +11 -2
- package/src/features/store/objects/components/useDownloadObject.ts +7 -2
- package/src/features/store/objects/upload/useSmartFileUploadProcessing.ts +1 -3
- package/src/features/user/UserInfo.tsx +2 -0
- package/src/session/UserSession.ts +1 -0
- package/src/session/UserSessionProvider.tsx +10 -2
- package/src/session/auth/composable.ts +71 -70
- package/src/shell/apps/AppProjectSelector.tsx +2 -2
- package/src/widgets/form/Form.tsx +1 -1
- package/src/widgets/form/ManagedObject.ts +4 -0
package/lib/vertesia-ui-env.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
class t{_props;constructor(t){this._props=t}init(t){return this._props=t,this}prop(t){if(!this._props)throw new Error("VertesiaEnvironment was not initialized");return this._props[t]}get version(){return this.prop("version")}get name(){return this.prop("name")}get type(){return this.prop("type")}get isProd(){return"production"===this.type}get isStable(){return"production"===this.type||"preview"===this.type||"
|
|
1
|
+
class t{_props;constructor(t){this._props=t}init(t){return this._props=t,this}prop(t){if(!this._props)throw new Error("VertesiaEnvironment was not initialized");return this._props[t]}get version(){return this.prop("version")}get name(){return this.prop("name")}get type(){return this.prop("type")}get isProd(){return"production"===this.type}get isStable(){return"production"===this.type||"preview"===this.type||"disaster-recovery"===this.type}get isDev(){return!this.isStable}get isPreview(){return"preview"===this.type}get isLocalDev(){return this.prop("isLocalDev")}get isDocker(){return this.prop("isDocker")}get endpoints(){return this.prop("endpoints")}get firebase(){return this.prop("firebase")}get datadog(){return this._props?.datadog??!1}get logger(){return this._props?.logger??console}onLogin(t){this._props?.onLogin?.(t)}onLogout(){this._props?.onLogout?.()}}const r=new t;export{r as Env,t as VertesiaEnvironment};
|
|
2
2
|
//# sourceMappingURL=vertesia-ui-env.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vertesia-ui-env.js","sources":["esm/env/index.js"],"sourcesContent":["// hook to initialize the environment and auth session\n// the main app must call this hook before rendering the page.\nexport class VertesiaEnvironment {\n _props;\n constructor(_props) {\n this._props = _props;\n }\n init(props) {\n this._props = props;\n return this;\n }\n prop(name) {\n if (!this._props) {\n throw new Error(\"VertesiaEnvironment was not initialized\");\n }\n return this._props[name];\n }\n get version() {\n return this.prop(\"version\");\n }\n get name() {\n return this.prop(\"name\");\n }\n get type() {\n return this.prop(\"type\");\n }\n get isProd() {\n return this.type === \"production\";\n }\n get isStable() {\n return this.type === \"production\" || this.type === \"preview\" || this.type === \"
|
|
1
|
+
{"version":3,"file":"vertesia-ui-env.js","sources":["esm/env/index.js"],"sourcesContent":["// hook to initialize the environment and auth session\n// the main app must call this hook before rendering the page.\nexport class VertesiaEnvironment {\n _props;\n constructor(_props) {\n this._props = _props;\n }\n init(props) {\n this._props = props;\n return this;\n }\n prop(name) {\n if (!this._props) {\n throw new Error(\"VertesiaEnvironment was not initialized\");\n }\n return this._props[name];\n }\n get version() {\n return this.prop(\"version\");\n }\n get name() {\n return this.prop(\"name\");\n }\n get type() {\n return this.prop(\"type\");\n }\n get isProd() {\n return this.type === \"production\";\n }\n get isStable() {\n return this.type === \"production\" || this.type === \"preview\" || this.type === \"disaster-recovery\";\n }\n get isDev() {\n return !this.isStable;\n }\n get isPreview() {\n return this.type === \"preview\";\n }\n get isLocalDev() {\n return this.prop(\"isLocalDev\");\n }\n get isDocker() {\n return this.prop(\"isDocker\");\n }\n get endpoints() {\n return this.prop(\"endpoints\");\n }\n get firebase() {\n return this.prop(\"firebase\");\n }\n get datadog() {\n return this._props?.datadog ?? false;\n }\n get logger() {\n return this._props?.logger ?? console;\n }\n /**\n * Callback to notify the host app when the user logs in.\n */\n onLogin(token) {\n this._props?.onLogin?.(token);\n }\n /**\n * Callback to notify the host app when the user logs out\n */\n onLogout() {\n this._props?.onLogout?.();\n }\n}\nconst Env = new VertesiaEnvironment();\nexport { Env };\n//# sourceMappingURL=index.js.map"],"names":["VertesiaEnvironment","_props","constructor","this","init","props","prop","name","Error","version","type","isProd","isStable","isDev","isPreview","isLocalDev","isDocker","endpoints","firebase","datadog","logger","console","onLogin","token","onLogout","Env"],"mappings":"AAEO,MAAMA,EACTC,OACA,WAAAC,CAAYD,GACRE,KAAKF,OAASA,CAClB,CACA,IAAAG,CAAKC,GAED,OADAF,KAAKF,OAASI,EACPF,IACX,CACA,IAAAG,CAAKC,GACD,IAAKJ,KAAKF,OACN,MAAM,IAAIO,MAAM,2CAEpB,OAAOL,KAAKF,OAAOM,EACvB,CACA,WAAIE,GACA,OAAON,KAAKG,KAAK,UACrB,CACA,QAAIC,GACA,OAAOJ,KAAKG,KAAK,OACrB,CACA,QAAII,GACA,OAAOP,KAAKG,KAAK,OACrB,CACA,UAAIK,GACA,MAAqB,eAAdR,KAAKO,IAChB,CACA,YAAIE,GACA,MAAqB,eAAdT,KAAKO,MAAuC,YAAdP,KAAKO,MAAoC,sBAAdP,KAAKO,IACzE,CACA,SAAIG,GACA,OAAQV,KAAKS,QACjB,CACA,aAAIE,GACA,MAAqB,YAAdX,KAAKO,IAChB,CACA,cAAIK,GACA,OAAOZ,KAAKG,KAAK,aACrB,CACA,YAAIU,GACA,OAAOb,KAAKG,KAAK,WACrB,CACA,aAAIW,GACA,OAAOd,KAAKG,KAAK,YACrB,CACA,YAAIY,GACA,OAAOf,KAAKG,KAAK,WACrB,CACA,WAAIa,GACA,OAAOhB,KAAKF,QAAQkB,UAAW,CACnC,CACA,UAAIC,GACA,OAAOjB,KAAKF,QAAQmB,QAAUC,OAClC,CAIA,OAAAC,CAAQC,GACJpB,KAAKF,QAAQqB,UAAUC,EAC3B,CAIA,QAAAC,GACIrB,KAAKF,QAAQuB,YACjB,EAEC,MAACC,EAAM,IAAIzB"}
|