embeddedaichatux 1.0.6 → 1.0.7

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.
Files changed (67) hide show
  1. package/AIChat.npm.csproj +11 -0
  2. package/AIChat.npm.csproj.user +6 -0
  3. package/AIChat.npm.sln +25 -0
  4. package/EmbeddedChat.js +54 -17
  5. package/EmbeddedChatOLD.js +77 -0
  6. package/bin/Debug/net7.0/AIChat.npm.deps.json +23 -0
  7. package/bin/Debug/net7.0/AIChat.npm.dll +0 -0
  8. package/bin/Debug/net7.0/AIChat.npm.exe +0 -0
  9. package/bin/Debug/net7.0/AIChat.npm.pdb +0 -0
  10. package/bin/Debug/net7.0/AIChat.npm.runtimeconfig.json +19 -0
  11. package/bin/Debug/net7.0/appsettings.Development.json +9 -0
  12. package/bin/Debug/net7.0/appsettings.json +9 -0
  13. package/bin/Debug/net7.0/package.json +11 -0
  14. package/obj/AIChat.npm.csproj.nuget.dgspec.json +67 -0
  15. package/obj/AIChat.npm.csproj.nuget.g.props +15 -0
  16. package/obj/AIChat.npm.csproj.nuget.g.targets +2 -0
  17. package/obj/AIChatEmbed.csproj.nuget.dgspec.json +67 -0
  18. package/obj/AIChatEmbed.csproj.nuget.g.props +15 -0
  19. package/obj/AIChatEmbed.csproj.nuget.g.targets +2 -0
  20. package/obj/AIChatEmbedded.csproj.nuget.dgspec.json +67 -0
  21. package/obj/AIChatEmbedded.csproj.nuget.g.props +15 -0
  22. package/obj/AIChatEmbedded.csproj.nuget.g.targets +2 -0
  23. package/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs +4 -0
  24. package/obj/Debug/net7.0/AIChat.npm.AssemblyInfo.cs +23 -0
  25. package/obj/Debug/net7.0/AIChat.npm.AssemblyInfoInputs.cache +1 -0
  26. package/obj/Debug/net7.0/AIChat.npm.GeneratedMSBuildEditorConfig.editorconfig +17 -0
  27. package/obj/Debug/net7.0/AIChat.npm.GlobalUsings.g.cs +17 -0
  28. package/obj/Debug/net7.0/AIChat.npm.MvcApplicationPartsAssemblyInfo.cache +0 -0
  29. package/obj/Debug/net7.0/AIChat.npm.RazorAssemblyInfo.cache +1 -0
  30. package/obj/Debug/net7.0/AIChat.npm.RazorAssemblyInfo.cs +18 -0
  31. package/obj/Debug/net7.0/AIChat.npm.assets.cache +0 -0
  32. package/obj/Debug/net7.0/AIChat.npm.csproj.CoreCompileInputs.cache +1 -0
  33. package/obj/Debug/net7.0/AIChat.npm.csproj.FileListAbsolute.txt +26 -0
  34. package/obj/Debug/net7.0/AIChat.npm.dll +0 -0
  35. package/obj/Debug/net7.0/AIChat.npm.genruntimeconfig.cache +1 -0
  36. package/obj/Debug/net7.0/AIChat.npm.pdb +0 -0
  37. package/obj/Debug/net7.0/AIChatEmbed.AssemblyInfo.cs +23 -0
  38. package/obj/Debug/net7.0/AIChatEmbed.AssemblyInfoInputs.cache +1 -0
  39. package/obj/Debug/net7.0/AIChatEmbed.GeneratedMSBuildEditorConfig.editorconfig +45 -0
  40. package/obj/Debug/net7.0/AIChatEmbed.GlobalUsings.g.cs +17 -0
  41. package/obj/Debug/net7.0/AIChatEmbed.RazorAssemblyInfo.cache +1 -0
  42. package/obj/Debug/net7.0/AIChatEmbed.RazorAssemblyInfo.cs +18 -0
  43. package/obj/Debug/net7.0/AIChatEmbed.assets.cache +0 -0
  44. package/obj/Debug/net7.0/AIChatEmbedded.AssemblyInfo.cs +23 -0
  45. package/obj/Debug/net7.0/AIChatEmbedded.AssemblyInfoInputs.cache +1 -0
  46. package/obj/Debug/net7.0/AIChatEmbedded.GeneratedMSBuildEditorConfig.editorconfig +45 -0
  47. package/obj/Debug/net7.0/AIChatEmbedded.GlobalUsings.g.cs +17 -0
  48. package/obj/Debug/net7.0/AIChatEmbedded.RazorAssemblyInfo.cache +1 -0
  49. package/obj/Debug/net7.0/AIChatEmbedded.RazorAssemblyInfo.cs +18 -0
  50. package/obj/Debug/net7.0/AIChatEmbedded.assets.cache +0 -0
  51. package/obj/Debug/net7.0/apphost.exe +0 -0
  52. package/obj/Debug/net7.0/project.razor.vs.json +1 -0
  53. package/obj/Debug/net7.0/ref/AIChat.npm.dll +0 -0
  54. package/obj/Debug/net7.0/refint/AIChat.npm.dll +0 -0
  55. package/obj/Debug/net7.0/staticwebassets/msbuild.build.AIChat.npm.props +3 -0
  56. package/obj/Debug/net7.0/staticwebassets/msbuild.buildMultiTargeting.AIChat.npm.props +3 -0
  57. package/obj/Debug/net7.0/staticwebassets/msbuild.buildTransitive.AIChat.npm.props +3 -0
  58. package/obj/Debug/net7.0/staticwebassets.build.json +11 -0
  59. package/obj/Release/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs +4 -0
  60. package/obj/Release/net7.0/AIChat.npm.AssemblyInfo.cs +23 -0
  61. package/obj/Release/net7.0/AIChat.npm.AssemblyInfoInputs.cache +1 -0
  62. package/obj/Release/net7.0/AIChat.npm.GeneratedMSBuildEditorConfig.editorconfig +17 -0
  63. package/obj/Release/net7.0/AIChat.npm.GlobalUsings.g.cs +17 -0
  64. package/obj/Release/net7.0/AIChat.npm.assets.cache +0 -0
  65. package/obj/project.assets.json +72 -0
  66. package/obj/project.nuget.cache +8 -0
  67. package/package.json +1 -1
package/AIChat.npm.csproj CHANGED
@@ -14,5 +14,16 @@
14
14
  <Copy SourceFiles="@(_CommonWebJsFiles)" DestinationFolder="$(MSBuildProjectDirectory)" SkipUnchangedFiles="true" />
15
15
  </Target>
16
16
 
17
+ <ItemGroup>
18
+ <None Remove="EmbeddedChat.js" />
19
+ </ItemGroup>
20
+
21
+ <ItemGroup>
22
+ <Content Include="EmbeddedChat.js">
23
+ <ExcludeFromSingleFile>true</ExcludeFromSingleFile>
24
+ <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
25
+ </Content>
26
+ </ItemGroup>
27
+
17
28
 
18
29
  </Project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <PropertyGroup>
4
+ <ActiveDebugProfile>https</ActiveDebugProfile>
5
+ </PropertyGroup>
6
+ </Project>
package/AIChat.npm.sln ADDED
@@ -0,0 +1,25 @@
1
+ 
2
+ Microsoft Visual Studio Solution File, Format Version 12.00
3
+ # Visual Studio Version 17
4
+ VisualStudioVersion = 17.7.34024.191
5
+ MinimumVisualStudioVersion = 10.0.40219.1
6
+ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AIChat.npm", "AIChat.npm.csproj", "{37DB7D9F-39C4-428D-A205-7E78FAB8BB25}"
7
+ EndProject
8
+ Global
9
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
10
+ Debug|Any CPU = Debug|Any CPU
11
+ Release|Any CPU = Release|Any CPU
12
+ EndGlobalSection
13
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
14
+ {37DB7D9F-39C4-428D-A205-7E78FAB8BB25}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15
+ {37DB7D9F-39C4-428D-A205-7E78FAB8BB25}.Debug|Any CPU.Build.0 = Debug|Any CPU
16
+ {37DB7D9F-39C4-428D-A205-7E78FAB8BB25}.Release|Any CPU.ActiveCfg = Release|Any CPU
17
+ {37DB7D9F-39C4-428D-A205-7E78FAB8BB25}.Release|Any CPU.Build.0 = Release|Any CPU
18
+ EndGlobalSection
19
+ GlobalSection(SolutionProperties) = preSolution
20
+ HideSolutionNode = FALSE
21
+ EndGlobalSection
22
+ GlobalSection(ExtensibilityGlobals) = postSolution
23
+ SolutionGuid = {33D9F6CE-532F-4C22-AAAD-2D8B3BB56596}
24
+ EndGlobalSection
25
+ EndGlobal
package/EmbeddedChat.js CHANGED
@@ -10,22 +10,25 @@ class EmbeddedChat {
10
10
  this.isPreview = this.options.isPreview || false;
11
11
  this.previewParam = this.isPreview ? "?isPreview=true" : "";
12
12
  this.serverUrl = this.options.serverUrl || 'https://embedgpt.chat/';
13
- this.positionStyle = this.containerDiv.dataset.position === 'in-place' ? 'width:100%; height:600px' : 'position: fixed; right: 0; bottom: 0; width: 300px; height: 600px';
13
+ this.positionStyle = this.containerDiv.dataset.position === 'in-place' ? 'width:100%; height:600px' : 'position: fixed; right: 0; bottom: 0; width: 300px; height: 600px; z-index: 100000';
14
+ this.mode = options.mode || 'Chat'; // default to 'chat' if mode isn't provided
15
+ if (this.mode === 'ContactForm') {
16
+ // Adjust position style for contact form if mode is 'ContactForm'
17
+ this.positionStyle = 'width:100%; height:600px';
18
+ this.containerDiv.style.height = '600px';
19
+ }
14
20
  this.init();
15
21
  }
16
22
 
17
- init() {
18
- const cleanedServerUrl = this.serverUrl.endsWith('/') ? this.serverUrl.slice(0, -1) : this.serverUrl;
19
- const baseIframeUrl = `${cleanedServerUrl}/ChatUX/${this.chatId}`;
20
- const previewQueryString = this.isPreview ? "?isPreview=true" : "";
21
- const minimizedQueryString = this.isPreview ? "&isMinimized=true" : "?isMinimized=true";
22
-
23
- const minimizedPositionStyle = 'position: fixed; right: 0; bottom: 0; width: 300px; height: 70px;';
23
+ init() {
24
+ const cleanedServerUrl = this.serverUrl.endsWith('/') ? this.serverUrl.slice(0, -1) : this.serverUrl;
25
+ const baseIframeUrl = `${cleanedServerUrl}/ChatUX/${this.chatId}`;
26
+ const minimizedPositionStyle = 'position: fixed; right: 0; bottom: 0; width: 300px; height: 70px; z-index: 100000';
24
27
 
25
- const iframeHtml = `
26
- <iframe id="embedded-chat" style="${this.positionStyle}; display: none; border:none; overflow:hidden;" frameborder="0" sandbox="allow-same-origin allow-scripts allow-popups allow-forms" src="${baseIframeUrl}${previewQueryString}"></iframe>
27
- <iframe id="embedded-chat-minimized" style="${minimizedPositionStyle}; display: none; border:none; overflow:hidden;" frameborder="0" sandbox="allow-same-origin allow-scripts allow-popups allow-forms" src="${baseIframeUrl}${previewQueryString}${minimizedQueryString}"></iframe>
28
- `;
28
+ const iframeHtml = `
29
+ <iframe id="embedded-chat" style="${this.positionStyle}; display: none; border:none; overflow:hidden;" frameborder="0" sandbox="allow-same-origin allow-scripts allow-popups allow-forms" src="${this.buildIframeUrl(baseIframeUrl, { isPreview: this.isPreview, mode: this.mode })}"></iframe>
30
+ <iframe id="embedded-chat-minimized" style="${minimizedPositionStyle}; display: none; border:none; overflow:hidden;" frameborder="0" sandbox="allow-same-origin allow-scripts allow-popups allow-forms" src="${this.buildIframeUrl(baseIframeUrl, { isPreview: this.isPreview, isMinimized: true })}"></iframe>
31
+ `;
29
32
 
30
33
  this.containerDiv.innerHTML = iframeHtml;
31
34
  this.iframe = this.containerDiv.querySelector("#embedded-chat");
@@ -35,16 +38,23 @@ class EmbeddedChat {
35
38
  // Check if the data is an object and has a message property
36
39
  if (typeof e.data === "object" && e.data.message && (!e.data.chatId || e.data.chatId === this.chatId)) {
37
40
  if (e.data.message === "minimize") {
38
- this.iframe.style.display = "none";
39
- this.minimizedIframe.style.display = "block";
41
+ if (this.mode !== 'ContactForm') {
42
+ // No minimize support for ContactForm
43
+ this.iframe.style.display = "none";
44
+ this.minimizedIframe.style.display = "block";
45
+ }
40
46
  } else if (e.data.message === "show" || e.data.message === "maximize") {
41
47
  this.iframe.style.display = "block";
42
48
  this.minimizedIframe.style.display = "none";
43
49
  // Check if the data has a scale property
44
50
  if (e.data.scale) {
45
- // Resize the iframe according to the scale factor
46
- this.iframe.style.transform = `scale(${e.data.scale})`;
47
- this.iframe.style.transformOrigin = "bottom right";
51
+ if (this.mode !== 'ContactForm') {
52
+ // No scaling support for ContactForm
53
+
54
+ // Resize the iframe according to the scale factor
55
+ this.iframe.style.transform = `scale(${e.data.scale})`;
56
+ this.iframe.style.transformOrigin = "bottom right";
57
+ }
48
58
  }
49
59
  }
50
60
  }
@@ -70,8 +80,35 @@ class EmbeddedChat {
70
80
  document.body.appendChild(chatContainer);
71
81
  return chatContainer;
72
82
  }
83
+
84
+ buildIframeUrl(baseIframeUrl, params = {}) {
85
+ const urlParams = new URLSearchParams(params);
86
+
87
+ // Add parameters as needed, based on values in the params object
88
+ if (params.isPreview) {
89
+ urlParams.set('isPreview', 'true');
90
+ }
91
+
92
+ if (params.mode === 'ContactForm') {
93
+ urlParams.set('mode', 'ContactForm');
94
+ }
95
+
96
+ // Handle other parameters directly from the params object
97
+ for (const [key, value] of Object.entries(params)) {
98
+ if (key !== 'mode' && key !== 'isPreview') { // Avoid duplicates
99
+ urlParams.set(key, value);
100
+ }
101
+ }
102
+
103
+ return `${baseIframeUrl}?${urlParams.toString()}`;
104
+ }
73
105
  }
74
106
 
75
107
  export function initEmbeddedChat(containerDiv, chatId, options) {
76
108
  return new EmbeddedChat(containerDiv, chatId, options);
77
109
  }
110
+
111
+ export function initContactForm(containerDiv, chatId, options) {
112
+ const clonedOptions = { ...options, mode: 'ContactForm' }; // Clone with spread syntax
113
+ return new EmbeddedChat(containerDiv, chatId, clonedOptions);
114
+ }
@@ -0,0 +1,77 @@
1
+ // embeddedChat.js
2
+ class EmbeddedChat {
3
+ constructor(containerDiv, chatId, options) {
4
+ if (!containerDiv) {
5
+ containerDiv = this.createChatContainer();
6
+ }
7
+ this.containerDiv = containerDiv;
8
+ this.chatId = chatId;
9
+ this.options = options || {};
10
+ this.isPreview = this.options.isPreview || false;
11
+ this.previewParam = this.isPreview ? "?isPreview=true" : "";
12
+ this.serverUrl = this.options.serverUrl || 'https://embedgpt.chat/';
13
+ this.positionStyle = this.containerDiv.dataset.position === 'in-place' ? 'width:100%; height:600px' : 'position: fixed; right: 0; bottom: 0; width: 300px; height: 600px';
14
+ this.init();
15
+ }
16
+
17
+ init() {
18
+ const cleanedServerUrl = this.serverUrl.endsWith('/') ? this.serverUrl.slice(0, -1) : this.serverUrl;
19
+ const baseIframeUrl = `${cleanedServerUrl}/ChatUX/${this.chatId}`;
20
+ const previewQueryString = this.isPreview ? "?isPreview=true" : "";
21
+ const minimizedQueryString = this.isPreview ? "&isMinimized=true" : "?isMinimized=true";
22
+
23
+ const minimizedPositionStyle = 'position: fixed; right: 0; bottom: 0; width: 300px; height: 70px;';
24
+
25
+ const iframeHtml = `
26
+ <iframe id="embedded-chat" style="${this.positionStyle}; display: none; border:none; overflow:hidden;" frameborder="0" sandbox="allow-same-origin allow-scripts allow-popups allow-forms" src="${baseIframeUrl}${previewQueryString}"></iframe>
27
+ <iframe id="embedded-chat-minimized" style="${minimizedPositionStyle}; display: none; border:none; overflow:hidden;" frameborder="0" sandbox="allow-same-origin allow-scripts allow-popups allow-forms" src="${baseIframeUrl}${previewQueryString}${minimizedQueryString}"></iframe>
28
+ `;
29
+
30
+ this.containerDiv.innerHTML = iframeHtml;
31
+ this.iframe = this.containerDiv.querySelector("#embedded-chat");
32
+ this.minimizedIframe = this.containerDiv.querySelector("#embedded-chat-minimized");
33
+
34
+ window.addEventListener("message", (e) => {
35
+ // Check if the data is an object and has a message property
36
+ if (typeof e.data === "object" && e.data.message && (!e.data.chatId || e.data.chatId === this.chatId)) {
37
+ if (e.data.message === "minimize") {
38
+ this.iframe.style.display = "none";
39
+ this.minimizedIframe.style.display = "block";
40
+ } else if (e.data.message === "show" || e.data.message === "maximize") {
41
+ this.iframe.style.display = "block";
42
+ this.minimizedIframe.style.display = "none";
43
+ // Check if the data has a scale property
44
+ if (e.data.scale) {
45
+ // Resize the iframe according to the scale factor
46
+ this.iframe.style.transform = `scale(${e.data.scale})`;
47
+ this.iframe.style.transformOrigin = "bottom right";
48
+ }
49
+ }
50
+ }
51
+ // For backward compatibility, handle the case when the data is a string
52
+ else if (typeof e.data === "string") {
53
+ if (e.data === "minimize") {
54
+ this.iframe.style.display = "none";
55
+ this.minimizedIframe.style.display = "block";
56
+ } else if (e.data === "show" || e.data === "maximize") {
57
+ this.iframe.style.display = "block";
58
+ this.minimizedIframe.style.display = "none";
59
+ }
60
+ }
61
+ });
62
+ }
63
+
64
+
65
+
66
+ createChatContainer() {
67
+ const chatContainer = document.createElement('div');
68
+ chatContainer.className = 'embedded-chat-container';
69
+ chatContainer.style.position = 'relative';
70
+ document.body.appendChild(chatContainer);
71
+ return chatContainer;
72
+ }
73
+ }
74
+
75
+ export function initEmbeddedChat(containerDiv, chatId, options) {
76
+ return new EmbeddedChat(containerDiv, chatId, options);
77
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "runtimeTarget": {
3
+ "name": ".NETCoreApp,Version=v7.0",
4
+ "signature": ""
5
+ },
6
+ "compilationOptions": {},
7
+ "targets": {
8
+ ".NETCoreApp,Version=v7.0": {
9
+ "AIChat.npm/1.0.0": {
10
+ "runtime": {
11
+ "AIChat.npm.dll": {}
12
+ }
13
+ }
14
+ }
15
+ },
16
+ "libraries": {
17
+ "AIChat.npm/1.0.0": {
18
+ "type": "project",
19
+ "serviceable": false,
20
+ "sha512": ""
21
+ }
22
+ }
23
+ }
Binary file
Binary file
Binary file
@@ -0,0 +1,19 @@
1
+ {
2
+ "runtimeOptions": {
3
+ "tfm": "net7.0",
4
+ "frameworks": [
5
+ {
6
+ "name": "Microsoft.NETCore.App",
7
+ "version": "7.0.0"
8
+ },
9
+ {
10
+ "name": "Microsoft.AspNetCore.App",
11
+ "version": "7.0.0"
12
+ }
13
+ ],
14
+ "configProperties": {
15
+ "System.GC.Server": true,
16
+ "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
17
+ }
18
+ }
19
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "DetailedErrors": true,
3
+ "Logging": {
4
+ "LogLevel": {
5
+ "Default": "Information",
6
+ "Microsoft.AspNetCore": "Warning"
7
+ }
8
+ }
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "Logging": {
3
+ "LogLevel": {
4
+ "Default": "Information",
5
+ "Microsoft.AspNetCore": "Warning"
6
+ }
7
+ },
8
+ "AllowedHosts": "*"
9
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "embeddedaichatux",
3
+ "version": "1.0.5",
4
+ "description": "A lightweight and customizable embedded AI chat UI component that seamlessly integrates into web applications, offering minimized and expanded views, with iframe-based content rendering.",
5
+ "main": "EmbeddedChat.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "EmbedGPT.chat, LLC",
10
+ "license": "MIT"
11
+ }
@@ -0,0 +1,67 @@
1
+ {
2
+ "format": 1,
3
+ "restore": {
4
+ "C:\\Git\\AIChat\\AIChat.npm\\AIChat.npm.csproj": {}
5
+ },
6
+ "projects": {
7
+ "C:\\Git\\AIChat\\AIChat.npm\\AIChat.npm.csproj": {
8
+ "version": "1.0.0",
9
+ "restore": {
10
+ "projectUniqueName": "C:\\Git\\AIChat\\AIChat.npm\\AIChat.npm.csproj",
11
+ "projectName": "AIChat.npm",
12
+ "projectPath": "C:\\Git\\AIChat\\AIChat.npm\\AIChat.npm.csproj",
13
+ "packagesPath": "C:\\Users\\esipo\\.nuget\\packages\\",
14
+ "outputPath": "C:\\Git\\AIChat\\AIChat.npm\\obj\\",
15
+ "projectStyle": "PackageReference",
16
+ "configFilePaths": [
17
+ "C:\\Users\\esipo\\AppData\\Roaming\\NuGet\\NuGet.Config",
18
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
19
+ ],
20
+ "originalTargetFrameworks": [
21
+ "net7.0"
22
+ ],
23
+ "sources": {
24
+ "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
25
+ "https://api.nuget.org/v3/index.json": {},
26
+ "https://cosmosdbmongodbvcore.pkgs.visualstudio.com/_packaging/CosmosDBMongoDBvCore/nuget/v3/index.json": {}
27
+ },
28
+ "frameworks": {
29
+ "net7.0": {
30
+ "targetAlias": "net7.0",
31
+ "projectReferences": {}
32
+ }
33
+ },
34
+ "warningProperties": {
35
+ "warnAsError": [
36
+ "NU1605"
37
+ ]
38
+ }
39
+ },
40
+ "frameworks": {
41
+ "net7.0": {
42
+ "targetAlias": "net7.0",
43
+ "imports": [
44
+ "net461",
45
+ "net462",
46
+ "net47",
47
+ "net471",
48
+ "net472",
49
+ "net48",
50
+ "net481"
51
+ ],
52
+ "assetTargetFallback": true,
53
+ "warn": true,
54
+ "frameworkReferences": {
55
+ "Microsoft.AspNetCore.App": {
56
+ "privateAssets": "none"
57
+ },
58
+ "Microsoft.NETCore.App": {
59
+ "privateAssets": "all"
60
+ }
61
+ },
62
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.400\\RuntimeIdentifierGraph.json"
63
+ }
64
+ }
65
+ }
66
+ }
67
+ }
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="no"?>
2
+ <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
4
+ <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
5
+ <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
6
+ <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
7
+ <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
8
+ <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\esipo\.nuget\packages\</NuGetPackageFolders>
9
+ <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
10
+ <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.7.0</NuGetToolVersion>
11
+ </PropertyGroup>
12
+ <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
13
+ <SourceRoot Include="C:\Users\esipo\.nuget\packages\" />
14
+ </ItemGroup>
15
+ </Project>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="no"?>
2
+ <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
@@ -0,0 +1,67 @@
1
+ {
2
+ "format": 1,
3
+ "restore": {
4
+ "C:\\Git\\AIChat\\AIChatEmbedded\\AIChatEmbed.csproj": {}
5
+ },
6
+ "projects": {
7
+ "C:\\Git\\AIChat\\AIChatEmbedded\\AIChatEmbed.csproj": {
8
+ "version": "1.0.0",
9
+ "restore": {
10
+ "projectUniqueName": "C:\\Git\\AIChat\\AIChatEmbedded\\AIChatEmbed.csproj",
11
+ "projectName": "AIChatEmbed",
12
+ "projectPath": "C:\\Git\\AIChat\\AIChatEmbedded\\AIChatEmbed.csproj",
13
+ "packagesPath": "C:\\Users\\esipo\\.nuget\\packages\\",
14
+ "outputPath": "C:\\Git\\AIChat\\AIChatEmbedded\\obj\\",
15
+ "projectStyle": "PackageReference",
16
+ "configFilePaths": [
17
+ "C:\\Users\\esipo\\AppData\\Roaming\\NuGet\\NuGet.Config",
18
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
19
+ ],
20
+ "originalTargetFrameworks": [
21
+ "net7.0"
22
+ ],
23
+ "sources": {
24
+ "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
25
+ "https://api.nuget.org/v3/index.json": {},
26
+ "https://cosmosdbmongodbvcore.pkgs.visualstudio.com/_packaging/CosmosDBMongoDBvCore/nuget/v3/index.json": {}
27
+ },
28
+ "frameworks": {
29
+ "net7.0": {
30
+ "targetAlias": "net7.0",
31
+ "projectReferences": {}
32
+ }
33
+ },
34
+ "warningProperties": {
35
+ "warnAsError": [
36
+ "NU1605"
37
+ ]
38
+ }
39
+ },
40
+ "frameworks": {
41
+ "net7.0": {
42
+ "targetAlias": "net7.0",
43
+ "imports": [
44
+ "net461",
45
+ "net462",
46
+ "net47",
47
+ "net471",
48
+ "net472",
49
+ "net48",
50
+ "net481"
51
+ ],
52
+ "assetTargetFallback": true,
53
+ "warn": true,
54
+ "frameworkReferences": {
55
+ "Microsoft.AspNetCore.App": {
56
+ "privateAssets": "none"
57
+ },
58
+ "Microsoft.NETCore.App": {
59
+ "privateAssets": "all"
60
+ }
61
+ },
62
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.400\\RuntimeIdentifierGraph.json"
63
+ }
64
+ }
65
+ }
66
+ }
67
+ }
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="no"?>
2
+ <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
4
+ <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
5
+ <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
6
+ <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
7
+ <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
8
+ <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\esipo\.nuget\packages\</NuGetPackageFolders>
9
+ <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
10
+ <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.7.0</NuGetToolVersion>
11
+ </PropertyGroup>
12
+ <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
13
+ <SourceRoot Include="C:\Users\esipo\.nuget\packages\" />
14
+ </ItemGroup>
15
+ </Project>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="no"?>
2
+ <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
@@ -0,0 +1,67 @@
1
+ {
2
+ "format": 1,
3
+ "restore": {
4
+ "C:\\Git\\AIChat\\AIChatEmbedded\\AIChatEmbedded.csproj": {}
5
+ },
6
+ "projects": {
7
+ "C:\\Git\\AIChat\\AIChatEmbedded\\AIChatEmbedded.csproj": {
8
+ "version": "1.0.0",
9
+ "restore": {
10
+ "projectUniqueName": "C:\\Git\\AIChat\\AIChatEmbedded\\AIChatEmbedded.csproj",
11
+ "projectName": "AIChatEmbedded",
12
+ "projectPath": "C:\\Git\\AIChat\\AIChatEmbedded\\AIChatEmbedded.csproj",
13
+ "packagesPath": "C:\\Users\\esipo\\.nuget\\packages\\",
14
+ "outputPath": "C:\\Git\\AIChat\\AIChatEmbedded\\obj\\",
15
+ "projectStyle": "PackageReference",
16
+ "configFilePaths": [
17
+ "C:\\Users\\esipo\\AppData\\Roaming\\NuGet\\NuGet.Config",
18
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
19
+ ],
20
+ "originalTargetFrameworks": [
21
+ "net7.0"
22
+ ],
23
+ "sources": {
24
+ "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
25
+ "https://api.nuget.org/v3/index.json": {},
26
+ "https://cosmosdbmongodbvcore.pkgs.visualstudio.com/_packaging/CosmosDBMongoDBvCore/nuget/v3/index.json": {}
27
+ },
28
+ "frameworks": {
29
+ "net7.0": {
30
+ "targetAlias": "net7.0",
31
+ "projectReferences": {}
32
+ }
33
+ },
34
+ "warningProperties": {
35
+ "warnAsError": [
36
+ "NU1605"
37
+ ]
38
+ }
39
+ },
40
+ "frameworks": {
41
+ "net7.0": {
42
+ "targetAlias": "net7.0",
43
+ "imports": [
44
+ "net461",
45
+ "net462",
46
+ "net47",
47
+ "net471",
48
+ "net472",
49
+ "net48",
50
+ "net481"
51
+ ],
52
+ "assetTargetFallback": true,
53
+ "warn": true,
54
+ "frameworkReferences": {
55
+ "Microsoft.AspNetCore.App": {
56
+ "privateAssets": "none"
57
+ },
58
+ "Microsoft.NETCore.App": {
59
+ "privateAssets": "all"
60
+ }
61
+ },
62
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.400\\RuntimeIdentifierGraph.json"
63
+ }
64
+ }
65
+ }
66
+ }
67
+ }
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="no"?>
2
+ <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
4
+ <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
5
+ <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
6
+ <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
7
+ <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
8
+ <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\esipo\.nuget\packages\</NuGetPackageFolders>
9
+ <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
10
+ <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.7.0</NuGetToolVersion>
11
+ </PropertyGroup>
12
+ <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
13
+ <SourceRoot Include="C:\Users\esipo\.nuget\packages\" />
14
+ </ItemGroup>
15
+ </Project>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="no"?>
2
+ <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
@@ -0,0 +1,4 @@
1
+ // <autogenerated />
2
+ using System;
3
+ using System.Reflection;
4
+ [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")]
@@ -0,0 +1,23 @@
1
+ //------------------------------------------------------------------------------
2
+ // <auto-generated>
3
+ // This code was generated by a tool.
4
+ // Runtime Version:4.0.30319.42000
5
+ //
6
+ // Changes to this file may cause incorrect behavior and will be lost if
7
+ // the code is regenerated.
8
+ // </auto-generated>
9
+ //------------------------------------------------------------------------------
10
+
11
+ using System;
12
+ using System.Reflection;
13
+
14
+ [assembly: System.Reflection.AssemblyCompanyAttribute("AIChat.npm")]
15
+ [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
16
+ [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
17
+ [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
18
+ [assembly: System.Reflection.AssemblyProductAttribute("AIChat.npm")]
19
+ [assembly: System.Reflection.AssemblyTitleAttribute("AIChat.npm")]
20
+ [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
21
+
22
+ // Generated by the MSBuild WriteCodeFragment class.
23
+
@@ -0,0 +1 @@
1
+ ab3110831e63c044b8c5f7f8e204a490bedaa709
@@ -0,0 +1,17 @@
1
+ is_global = true
2
+ build_property.TargetFramework = net7.0
3
+ build_property.TargetPlatformMinVersion =
4
+ build_property.UsingMicrosoftNETSdkWeb = true
5
+ build_property.ProjectTypeGuids =
6
+ build_property.InvariantGlobalization =
7
+ build_property.PlatformNeutralAssembly =
8
+ build_property.EnforceExtendedAnalyzerRules =
9
+ build_property._SupportedPlatformList = Linux,macOS,Windows
10
+ build_property.RootNamespace = AIChat.npm
11
+ build_property.RootNamespace = AIChat.npm
12
+ build_property.ProjectDir = C:\Git\AIChat\AIChat.npm\
13
+ build_property.RazorLangVersion = 7.0
14
+ build_property.SupportLocalizedComponentNames =
15
+ build_property.GenerateRazorMetadataSourceChecksumAttributes =
16
+ build_property.MSBuildProjectDirectory = C:\Git\AIChat\AIChat.npm
17
+ build_property._RazorSourceGeneratorDebug =