embeddedaichatux 1.0.9 → 1.1.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/EmbeddedChat.js CHANGED
@@ -71,7 +71,16 @@ init() {
71
71
  });
72
72
  }
73
73
 
74
-
74
+ showChat() {
75
+ if (this.iframe) {
76
+ this.iframe.style.display = "block";
77
+ this.minimizedIframe.style.display = "none";
78
+ }
79
+ if (this.minimizedIframe) {
80
+ this.minimizedIframe.style.display = "block";
81
+ this.iframe.style.display = "none";
82
+ }
83
+ }
75
84
 
76
85
  createChatContainer() {
77
86
  const chatContainer = document.createElement('div');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "embeddedaichatux",
3
- "version": "1.0.9",
3
+ "version": "1.1.0",
4
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
5
  "main": "EmbeddedChat.js",
6
6
  "scripts": {
@@ -1,67 +0,0 @@
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
- }
@@ -1,15 +0,0 @@
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>
@@ -1,2 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
2
- <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
@@ -1,4 +0,0 @@
1
- // <autogenerated />
2
- using System;
3
- using System.Reflection;
4
- [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")]
@@ -1,23 +0,0 @@
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
-
@@ -1 +0,0 @@
1
- ab3110831e63c044b8c5f7f8e204a490bedaa709
@@ -1,17 +0,0 @@
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 =
@@ -1,17 +0,0 @@
1
- // <auto-generated/>
2
- global using global::Microsoft.AspNetCore.Builder;
3
- global using global::Microsoft.AspNetCore.Hosting;
4
- global using global::Microsoft.AspNetCore.Http;
5
- global using global::Microsoft.AspNetCore.Routing;
6
- global using global::Microsoft.Extensions.Configuration;
7
- global using global::Microsoft.Extensions.DependencyInjection;
8
- global using global::Microsoft.Extensions.Hosting;
9
- global using global::Microsoft.Extensions.Logging;
10
- global using global::System;
11
- global using global::System.Collections.Generic;
12
- global using global::System.IO;
13
- global using global::System.Linq;
14
- global using global::System.Net.Http;
15
- global using global::System.Net.Http.Json;
16
- global using global::System.Threading;
17
- global using global::System.Threading.Tasks;
@@ -1 +0,0 @@
1
- 071cf2c6734c65e7e6f8a119ed2e7a843e5a8ba7
@@ -1,5 +0,0 @@
1
- C:\Git\AIChat\AIChat.npm\obj\Debug\net7.0\AIChat.npm.GeneratedMSBuildEditorConfig.editorconfig
2
- C:\Git\AIChat\AIChat.npm\obj\Debug\net7.0\AIChat.npm.AssemblyInfoInputs.cache
3
- C:\Git\AIChat\AIChat.npm\obj\Debug\net7.0\AIChat.npm.AssemblyInfo.cs
4
- C:\Git\AIChat\AIChat.npm\obj\Debug\net7.0\AIChat.npm.csproj.CoreCompileInputs.cache
5
- C:\Git\AIChat\AIChat.npm\obj\Debug\net7.0\AIChat.npm.MvcApplicationPartsAssemblyInfo.cache
@@ -1,72 +0,0 @@
1
- {
2
- "version": 3,
3
- "targets": {
4
- "net7.0": {}
5
- },
6
- "libraries": {},
7
- "projectFileDependencyGroups": {
8
- "net7.0": []
9
- },
10
- "packageFolders": {
11
- "C:\\Users\\esipo\\.nuget\\packages\\": {}
12
- },
13
- "project": {
14
- "version": "1.0.0",
15
- "restore": {
16
- "projectUniqueName": "C:\\Git\\AIChat\\AIChat.npm\\AIChat.npm.csproj",
17
- "projectName": "AIChat.npm",
18
- "projectPath": "C:\\Git\\AIChat\\AIChat.npm\\AIChat.npm.csproj",
19
- "packagesPath": "C:\\Users\\esipo\\.nuget\\packages\\",
20
- "outputPath": "C:\\Git\\AIChat\\AIChat.npm\\obj\\",
21
- "projectStyle": "PackageReference",
22
- "configFilePaths": [
23
- "C:\\Users\\esipo\\AppData\\Roaming\\NuGet\\NuGet.Config",
24
- "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
25
- ],
26
- "originalTargetFrameworks": [
27
- "net7.0"
28
- ],
29
- "sources": {
30
- "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
31
- "https://api.nuget.org/v3/index.json": {},
32
- "https://cosmosdbmongodbvcore.pkgs.visualstudio.com/_packaging/CosmosDBMongoDBvCore/nuget/v3/index.json": {}
33
- },
34
- "frameworks": {
35
- "net7.0": {
36
- "targetAlias": "net7.0",
37
- "projectReferences": {}
38
- }
39
- },
40
- "warningProperties": {
41
- "warnAsError": [
42
- "NU1605"
43
- ]
44
- }
45
- },
46
- "frameworks": {
47
- "net7.0": {
48
- "targetAlias": "net7.0",
49
- "imports": [
50
- "net461",
51
- "net462",
52
- "net47",
53
- "net471",
54
- "net472",
55
- "net48",
56
- "net481"
57
- ],
58
- "assetTargetFallback": true,
59
- "warn": true,
60
- "frameworkReferences": {
61
- "Microsoft.AspNetCore.App": {
62
- "privateAssets": "none"
63
- },
64
- "Microsoft.NETCore.App": {
65
- "privateAssets": "all"
66
- }
67
- },
68
- "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.400\\RuntimeIdentifierGraph.json"
69
- }
70
- }
71
- }
72
- }
@@ -1,8 +0,0 @@
1
- {
2
- "version": 2,
3
- "dgSpecHash": "ahEdC02p3de/UeoplM8LFYKHE3zCR3aNLU/9DaO2Zpc56G+lqMFQoe4eK+a/lnZ9YHs0G/mrSB2bi5pPxOHTQw==",
4
- "success": true,
5
- "projectFilePath": "C:\\Git\\AIChat\\AIChat.npm\\AIChat.npm.csproj",
6
- "expectedPackageFiles": [],
7
- "logs": []
8
- }