7 | Installed-Size: 8328
8 | Pre-Depends:
9 | Depends: libwebkit2gtk-4.0-37
10 | Section: default
11 | Priority: extra
12 | Homepage: https://github.com/obity/hiposter
13 | Description:
14 | hiposter is a simple and efficient http API testing client tool. Based on Wails, Go and sveltejs.
15 |
--------------------------------------------------------------------------------
/build/debian/arm64/DEBIAN/postinst:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # Link to the binary
4 |
--------------------------------------------------------------------------------
/build/debian/arm64/DEBIAN/postrm:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # Delete the link to the binary
4 |
--------------------------------------------------------------------------------
/build/debian/arm64/DEBIAN/preinst:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
--------------------------------------------------------------------------------
/build/debian/arm64/usr/share/applications/hiposter.desktop:
--------------------------------------------------------------------------------
1 | [Desktop Entry]
2 | Name=hiposter
3 | Exec="/usr/bin/hiposter" %U
4 | Terminal=false
5 | Type=Application
6 | Icon=/usr/share/icons/hiposter.png
7 | StartupWMClass=hiposter
8 | Comment= hiposter is a simple and efficient http API testing client tool. Based on Wails, Go and sveltejs.
9 | Categories=Application;Development;Network
10 |
--------------------------------------------------------------------------------
/build/debian/arm64/usr/share/icons/hiposter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/obity/hiposter/13a750436fdfc774c2c3a824512d9ce6e5702d8e/build/debian/arm64/usr/share/icons/hiposter.png
--------------------------------------------------------------------------------
/build/pack/pack_cross_darwin_amd64.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | help()
3 | {
4 | echo "Help:"
5 | echo "pack_xxxx.sh v0.0.x -- must have version!"
6 | }
7 | if [ "$1" = "" ]
8 | then
9 | help
10 | else
11 | cd ../../
12 | echo "cd $PWD"
13 | wails build -clean -platform darwin/amd64
14 |
15 | cd build/pack/
16 | TempDir="macos"
17 | AppName="hiposter"
18 | Version=$1
19 | Machine="amd64"
20 | OutFile=${AppName}_macos_${Machine}_${Version}.dmg
21 | rm -rf $TempDir
22 | mkdir $TempDir
23 | cp -r ../bin/${AppName}.app ./${TempDir}
24 | ln -sf /Applications macos/Applications
25 | hdiutil create ./$OutFile -volname "$AppName" -fs HFS+ -srcfolder $TempDir -ov -format UDZO
26 | md5 $OutFile> $OutFile.md5
27 | fi
28 |
--------------------------------------------------------------------------------
/build/pack/pack_cross_darwin_arm64.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | help()
3 | {
4 | echo "Help:"
5 | echo "pack_xxxx.sh v0.0.x -- must have version!"
6 | }
7 | if [ "$1" = "" ]
8 | then
9 | help
10 | else
11 | cd ../../
12 | wails build -clean -platform darwin/arm64
13 | echo "cd $PWD"
14 | cd build/pack/
15 | TempDir="macos"
16 | AppName="hiposter"
17 | Version=$1
18 | Machine="arm64"
19 | OutFile=${AppName}_macos_${Machine}_${Version}.dmg
20 | rm -rf $TempDir
21 | mkdir $TempDir
22 | cp -r ../bin/${AppName}.app ./${TempDir}
23 | ln -sf /Applications macos/Applications
24 | hdiutil create ./$OutFile -volname "$AppName" -fs HFS+ -srcfolder $TempDir -ov -format UDZO
25 | md5 $OutFile> $OutFile.md5
26 | fi
--------------------------------------------------------------------------------
/build/pack/pack_cross_debian_amd64.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | help()
3 | {
4 | echo "Help:"
5 | echo "pack_xxxx.sh v0.0.x -- must have version!"
6 | }
7 | if [ "$1" = "" ]
8 | then
9 | help
10 | else
11 | cd ../../
12 | echo "cd $PWD"
13 | wails build -clean -platform linux/amd64
14 |
15 | cd build/pack/
16 | echo $PWD
17 | TempDir="debian"
18 | AppName="hiposter"
19 | Version=$1
20 | Machine="amd64"
21 | OutFile=${AppName}_linux_${Machine}_${Version}.deb
22 | rm -rf $TempDir
23 | mkdir $TempDir
24 | cp -r ../debian/amd64/* ./${TempDir}
25 | mkdir -p ${TempDir}/usr/bin
26 | cp ../bin/${AppName} ${TempDir}/usr/bin
27 | dpkg -b ${TempDir} $OutFile && \
28 | echo "created: $PWD/$OutFile"
29 | md5sum $OutFile > $OutFile.md5
30 | fi
31 |
--------------------------------------------------------------------------------
/build/pack/pack_cross_debian_arm64.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | help()
3 | {
4 | echo "Help:"
5 | echo "pack_xxxx.sh v0.0.x -- must have version!"
6 | }
7 | if [ "$1" = "" ]
8 | then
9 | help
10 | else
11 | cd ../../
12 | echo "cd $PWD"
13 | wails build -clean -platform linux/arm64
14 |
15 | cd build/pack/
16 | echo $PWD
17 | TempDir="debian"
18 | AppName="hiposter"
19 | Version=$1
20 | Machine="arm64"
21 | OutFile=${AppName}_linux_${Machine}_${Version}.deb
22 | rm -rf $TempDir
23 | mkdir $TempDir
24 | cp -r ../debian/arm64/* ./${TempDir}
25 | mkdir -p ${TempDir}/usr/bin
26 | cp ../bin/${AppName} ${TempDir}/usr/bin
27 | dpkg -b ${TempDir} $OutFile && \
28 | echo "created: $PWD/$OutFile"
29 | md5sum $OutFile > $OutFile.md5
30 | fi
31 |
--------------------------------------------------------------------------------
/build/pack/pack_cross_windows10_amd64.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | help()
3 | {
4 | echo "Help:"
5 | echo "pack_xxxx.sh v0.0.x -- must have version!"
6 | }
7 | if [ "$1" = "" ]
8 | then
9 | help
10 | else
11 | cd ../../
12 | wails build -clean -platform windows/amd64 -nsis
13 | echo "cd $PWD"
14 | cd build/pack/
15 | TempDir="windows10"
16 | AppName="hiposter"
17 | Version=$1
18 | Machine="amd64"
19 | OutFile=${TempDir}/${AppName}_windows10+_${Machine}_${Version}.exe
20 | rm -rf $TempDir
21 | mkdir $TempDir
22 | cp -r ../bin/${AppName}*installer.exe ./${TempDir}
23 | mv ./${TempDir}/*installer.exe $OutFile
24 | echo "created: $PWD/$OutFile"
25 | md5 $OutFile > $OutFile.md5
26 | fi
--------------------------------------------------------------------------------
/build/pack/pack_cross_windows10_arm64.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | help()
3 | {
4 | echo "Help:"
5 | echo "pack_xxxx.sh v0.0.x -- must have version!"
6 | }
7 | if [ "$1" = "" ]
8 | then
9 | help
10 | else
11 | cd ../../
12 | wails build -clean -platform windows/arm64 -nsis
13 | echo "cd $PWD"
14 | cd build/pack/
15 | TempDir="windows10"
16 | AppName="hiposter"
17 | Version=$1
18 | Machine="arm64"
19 | OutFile=${TempDir}/${AppName}_windows10+_${Machine}_${Version}.exe
20 | rm -rf $TempDir
21 | mkdir $TempDir
22 | cp -r ../bin/${AppName}*installer.exe ./${TempDir}
23 | mv ./${TempDir}/*installer.exe $OutFile
24 | echo "created: $PWD/$OutFile"
25 | md5 $OutFile > $OutFile.md5
26 | fi
--------------------------------------------------------------------------------
/build/pack/pack_darwin.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | help()
3 | {
4 | echo "Help:"
5 | echo "pack_xxxx.sh v0.0.x -- must have version!"
6 | }
7 | if [ "$1" = "" ]
8 | then
9 | help
10 | else
11 | cd ../../
12 | wails build -clean
13 | echo "cd $PWD"
14 | cd build/pack/
15 | TempDir="macos"
16 | AppName="hiposter"
17 | Version=$1
18 | Machine=$(uname -m)
19 | OutFile=${AppName}_macos_${Machine}_${Version}.dmg
20 | rm -rf $TempDir
21 | mkdir $TempDir
22 | cp -r ../bin/${AppName}.app ./${TempDir}
23 | ln -sf /Applications macos/Applications
24 | hdiutil create ./$OutFile -volname "$AppName" -fs HFS+ -srcfolder $TempDir -ov -format UDZO
25 | md5 $OutFile> $OutFile.md5
26 | fi
--------------------------------------------------------------------------------
/build/pack/pack_debian.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | help()
3 | {
4 | echo "Help:"
5 | echo "pack_xxxx.sh v0.0.x -- must have version!"
6 | }
7 | if [ "$1" = "" ]
8 | then
9 | help
10 | else
11 | cd ../../
12 | echo "cd $PWD"
13 | wails build -clean
14 |
15 | cd build/pack/
16 | echo $PWD
17 | TempDir="debian"
18 | AppName="hiposter"
19 | Version=$1
20 | Machine=$(uname -r|cut -d '-' -f3)
21 | OutFile=${AppName}_linux_${Machine}_${Version}.deb
22 | rm -rf $TempDir
23 | mkdir $TempDir
24 | cp -r ../debian/arm64/* ./${TempDir}
25 | mkdir -p ${TempDir}/usr/bin
26 | cp ../bin/${AppName} ${TempDir}/usr/bin
27 | dpkg -b ${TempDir} $OutFile && \
28 | echo "created: $PWD/$OutFile"
29 | md5sum $OutFile > $OutFile.md5
30 | fi
31 |
--------------------------------------------------------------------------------
/build/windows/icon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/obity/hiposter/13a750436fdfc774c2c3a824512d9ce6e5702d8e/build/windows/icon.ico
--------------------------------------------------------------------------------
/build/windows/info.json:
--------------------------------------------------------------------------------
1 | {
2 | "fixed": {
3 | "file_version": "{{.Info.ProductVersion}}"
4 | },
5 | "info": {
6 | "0000": {
7 | "ProductVersion": "{{.Info.ProductVersion}}",
8 | "CompanyName": "{{.Info.CompanyName}}",
9 | "FileDescription": "{{.Info.ProductName}}",
10 | "LegalCopyright": "{{.Info.Copyright}}",
11 | "ProductName": "{{.Info.ProductName}}",
12 | "Comments": "{{.Info.Comments}}"
13 | }
14 | }
15 | }
--------------------------------------------------------------------------------
/build/windows/installer/project.nsi:
--------------------------------------------------------------------------------
1 | Unicode true
2 |
3 | ####
4 | ## Please note: Template replacements don't work in this file. They are provided with default defines like
5 | ## mentioned underneath.
6 | ## If the keyword is not defined, "wails_tools.nsh" will populate them with the values from ProjectInfo.
7 | ## If they are defined here, "wails_tools.nsh" will not touch them. This allows to use this project.nsi manually
8 | ## from outside of Wails for debugging and development of the installer.
9 | ##
10 | ## For development first make a wails nsis build to populate the "wails_tools.nsh":
11 | ## > wails build --target windows/amd64 --nsis
12 | ## Then you can call makensis on this file with specifying the path to your binary:
13 | ## For a AMD64 only installer:
14 | ## > makensis -DARG_WAILS_AMD64_BINARY=..\..\bin\app.exe
15 | ## For a ARM64 only installer:
16 | ## > makensis -DARG_WAILS_ARM64_BINARY=..\..\bin\app.exe
17 | ## For a installer with both architectures:
18 | ## > makensis -DARG_WAILS_AMD64_BINARY=..\..\bin\app-amd64.exe -DARG_WAILS_ARM64_BINARY=..\..\bin\app-arm64.exe
19 | ####
20 | ## The following information is taken from the ProjectInfo file, but they can be overwritten here.
21 | ####
22 | ## !define INFO_PROJECTNAME "MyProject" # Default "{{.Name}}"
23 | ## !define INFO_COMPANYNAME "MyCompany" # Default "{{.Info.CompanyName}}"
24 | ## !define INFO_PRODUCTNAME "MyProduct" # Default "{{.Info.ProductName}}"
25 | ## !define INFO_PRODUCTVERSION "1.0.0" # Default "{{.Info.ProductVersion}}"
26 | ## !define INFO_COPYRIGHT "Copyright" # Default "{{.Info.Copyright}}"
27 | ###
28 | ## !define PRODUCT_EXECUTABLE "Application.exe" # Default "${INFO_PROJECTNAME}.exe"
29 | ## !define UNINST_KEY_NAME "UninstKeyInRegistry" # Default "${INFO_COMPANYNAME}${INFO_PRODUCTNAME}"
30 | ####
31 | ## !define REQUEST_EXECUTION_LEVEL "admin" # Default "admin" see also https://nsis.sourceforge.io/Docs/Chapter4.html
32 | ####
33 | ## Include the wails tools
34 | ####
35 | !include "wails_tools.nsh"
36 |
37 | # The version information for this two must consist of 4 parts
38 | VIProductVersion "${INFO_PRODUCTVERSION}.0"
39 | VIFileVersion "${INFO_PRODUCTVERSION}.0"
40 |
41 | VIAddVersionKey "CompanyName" "${INFO_COMPANYNAME}"
42 | VIAddVersionKey "FileDescription" "${INFO_PRODUCTNAME} Installer"
43 | VIAddVersionKey "ProductVersion" "${INFO_PRODUCTVERSION}"
44 | VIAddVersionKey "FileVersion" "${INFO_PRODUCTVERSION}"
45 | VIAddVersionKey "LegalCopyright" "${INFO_COPYRIGHT}"
46 | VIAddVersionKey "ProductName" "${INFO_PRODUCTNAME}"
47 |
48 | !include "MUI.nsh"
49 |
50 | !define MUI_ICON "..\icon.ico"
51 | !define MUI_UNICON "..\icon.ico"
52 | # !define MUI_WELCOMEFINISHPAGE_BITMAP "resources\leftimage.bmp" #Include this to add a bitmap on the left side of the Welcome Page. Must be a size of 164x314
53 | !define MUI_FINISHPAGE_NOAUTOCLOSE # Wait on the INSTFILES page so the user can take a look into the details of the installation steps
54 | !define MUI_ABORTWARNING # This will warn the user if they exit from the installer.
55 |
56 | !insertmacro MUI_PAGE_WELCOME # Welcome to the installer page.
57 | # !insertmacro MUI_PAGE_LICENSE "resources\eula.txt" # Adds a EULA page to the installer
58 | !insertmacro MUI_PAGE_DIRECTORY # In which folder install page.
59 | !insertmacro MUI_PAGE_INSTFILES # Installing page.
60 | !insertmacro MUI_PAGE_FINISH # Finished installation page.
61 |
62 | !insertmacro MUI_UNPAGE_INSTFILES # Uinstalling page
63 |
64 | !insertmacro MUI_LANGUAGE "English" # Set the Language of the installer
65 |
66 | ## The following two statements can be used to sign the installer and the uninstaller. The path to the binaries are provided in %1
67 | #!uninstfinalize 'signtool --file "%1"'
68 | #!finalize 'signtool --file "%1"'
69 |
70 | Name "${INFO_PRODUCTNAME}"
71 | OutFile "..\..\bin\${INFO_PROJECTNAME}-${ARCH}-installer.exe" # Name of the installer's file.
72 | InstallDir "$PROGRAMFILES64\${INFO_COMPANYNAME}\${INFO_PRODUCTNAME}" # Default installing folder ($PROGRAMFILES is Program Files folder).
73 | ShowInstDetails show # This will always show the installation details.
74 |
75 | Function .onInit
76 | !insertmacro wails.checkArchitecture
77 | FunctionEnd
78 |
79 | Section
80 | !insertmacro wails.webview2runtime
81 |
82 | SetOutPath $INSTDIR
83 |
84 | !insertmacro wails.files
85 |
86 | CreateShortcut "$SMPROGRAMS\${INFO_PRODUCTNAME}.lnk" "$INSTDIR\${PRODUCT_EXECUTABLE}"
87 | CreateShortCut "$DESKTOP\${INFO_PRODUCTNAME}.lnk" "$INSTDIR\${PRODUCT_EXECUTABLE}"
88 |
89 | !insertmacro wails.writeUninstaller
90 | SectionEnd
91 |
92 | Section "uninstall"
93 | RMDir /r "$AppData\${PRODUCT_EXECUTABLE}" # Remove the WebView2 DataPath
94 |
95 | RMDir /r $INSTDIR
96 |
97 | Delete "$SMPROGRAMS\${INFO_PRODUCTNAME}.lnk"
98 | Delete "$DESKTOP\${INFO_PRODUCTNAME}.lnk"
99 |
100 | !insertmacro wails.deleteUninstaller
101 | SectionEnd
102 |
--------------------------------------------------------------------------------
/build/windows/installer/wails_tools.nsh:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT - Generated automatically by `wails build`
2 |
3 | !include "x64.nsh"
4 | !include "WinVer.nsh"
5 | !include "FileFunc.nsh"
6 |
7 | !ifndef INFO_PROJECTNAME
8 | !define INFO_PROJECTNAME "hiposter"
9 | !endif
10 | !ifndef INFO_COMPANYNAME
11 | !define INFO_COMPANYNAME "ffactory.org"
12 | !endif
13 | !ifndef INFO_PRODUCTNAME
14 | !define INFO_PRODUCTNAME "hiposter"
15 | !endif
16 | !ifndef INFO_PRODUCTVERSION
17 | !define INFO_PRODUCTVERSION "0.0.9"
18 | !endif
19 | !ifndef INFO_COPYRIGHT
20 | !define INFO_COPYRIGHT "Copyright © 2023-present wander@ffactory.org , hiposter is under GPL-3.0 license"
21 | !endif
22 | !ifndef PRODUCT_EXECUTABLE
23 | !define PRODUCT_EXECUTABLE "${INFO_PROJECTNAME}.exe"
24 | !endif
25 | !ifndef UNINST_KEY_NAME
26 | !define UNINST_KEY_NAME "${INFO_COMPANYNAME}${INFO_PRODUCTNAME}"
27 | !endif
28 | !define UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${UNINST_KEY_NAME}"
29 |
30 | !ifndef REQUEST_EXECUTION_LEVEL
31 | !define REQUEST_EXECUTION_LEVEL "admin"
32 | !endif
33 |
34 | RequestExecutionLevel "${REQUEST_EXECUTION_LEVEL}"
35 |
36 | !ifdef ARG_WAILS_AMD64_BINARY
37 | !define SUPPORTS_AMD64
38 | !endif
39 |
40 | !ifdef ARG_WAILS_ARM64_BINARY
41 | !define SUPPORTS_ARM64
42 | !endif
43 |
44 | !ifdef SUPPORTS_AMD64
45 | !ifdef SUPPORTS_ARM64
46 | !define ARCH "amd64_arm64"
47 | !else
48 | !define ARCH "amd64"
49 | !endif
50 | !else
51 | !ifdef SUPPORTS_ARM64
52 | !define ARCH "arm64"
53 | !else
54 | !error "Wails: Undefined ARCH, please provide at least one of ARG_WAILS_AMD64_BINARY or ARG_WAILS_ARM64_BINARY"
55 | !endif
56 | !endif
57 |
58 | !macro wails.checkArchitecture
59 | !ifndef WAILS_WIN10_REQUIRED
60 | !define WAILS_WIN10_REQUIRED "This product is only supported on Windows 10 (Server 2016) and later."
61 | !endif
62 |
63 | !ifndef WAILS_ARCHITECTURE_NOT_SUPPORTED
64 | !define WAILS_ARCHITECTURE_NOT_SUPPORTED "This product can't be installed on the current Windows architecture. Supports: ${ARCH}"
65 | !endif
66 |
67 | ${If} ${AtLeastWin10}
68 | !ifdef SUPPORTS_AMD64
69 | ${if} ${IsNativeAMD64}
70 | Goto ok
71 | ${EndIf}
72 | !endif
73 |
74 | !ifdef SUPPORTS_ARM64
75 | ${if} ${IsNativeARM64}
76 | Goto ok
77 | ${EndIf}
78 | !endif
79 |
80 | IfSilent silentArch notSilentArch
81 | silentArch:
82 | SetErrorLevel 65
83 | Abort
84 | notSilentArch:
85 | MessageBox MB_OK "${WAILS_ARCHITECTURE_NOT_SUPPORTED}"
86 | Quit
87 | ${else}
88 | IfSilent silentWin notSilentWin
89 | silentWin:
90 | SetErrorLevel 64
91 | Abort
92 | notSilentWin:
93 | MessageBox MB_OK "${WAILS_WIN10_REQUIRED}"
94 | Quit
95 | ${EndIf}
96 |
97 | ok:
98 | !macroend
99 |
100 | !macro wails.files
101 | !ifdef SUPPORTS_AMD64
102 | ${if} ${IsNativeAMD64}
103 | File "/oname=${PRODUCT_EXECUTABLE}" "${ARG_WAILS_AMD64_BINARY}"
104 | ${EndIf}
105 | !endif
106 |
107 | !ifdef SUPPORTS_ARM64
108 | ${if} ${IsNativeARM64}
109 | File "/oname=${PRODUCT_EXECUTABLE}" "${ARG_WAILS_ARM64_BINARY}"
110 | ${EndIf}
111 | !endif
112 | !macroend
113 |
114 | !macro wails.writeUninstaller
115 | WriteUninstaller "$INSTDIR\uninstall.exe"
116 |
117 | SetRegView 64
118 | WriteRegStr HKLM "${UNINST_KEY}" "Publisher" "${INFO_COMPANYNAME}"
119 | WriteRegStr HKLM "${UNINST_KEY}" "DisplayName" "${INFO_PRODUCTNAME}"
120 | WriteRegStr HKLM "${UNINST_KEY}" "DisplayVersion" "${INFO_PRODUCTVERSION}"
121 | WriteRegStr HKLM "${UNINST_KEY}" "DisplayIcon" "$INSTDIR\${PRODUCT_EXECUTABLE}"
122 | WriteRegStr HKLM "${UNINST_KEY}" "UninstallString" "$\"$INSTDIR\uninstall.exe$\""
123 | WriteRegStr HKLM "${UNINST_KEY}" "QuietUninstallString" "$\"$INSTDIR\uninstall.exe$\" /S"
124 |
125 | ${GetSize} "$INSTDIR" "/S=0K" $0 $1 $2
126 | IntFmt $0 "0x%08X" $0
127 | WriteRegDWORD HKLM "${UNINST_KEY}" "EstimatedSize" "$0"
128 | !macroend
129 |
130 | !macro wails.deleteUninstaller
131 | Delete "$INSTDIR\uninstall.exe"
132 |
133 | SetRegView 64
134 | DeleteRegKey HKLM "${UNINST_KEY}"
135 | !macroend
136 |
137 | !macro wails.setShellContext
138 | ${If} ${REQUEST_EXECUTION_LEVEL} == "admin"
139 | SetShellVarContext all
140 | ${else}
141 | SetShellVarContext current
142 | ${EndIf}
143 | !macroend
144 |
145 | # Install webview2 by launching the bootstrapper
146 | # See https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution#online-only-deployment
147 | !macro wails.webview2runtime
148 | !ifndef WAILS_INSTALL_WEBVIEW_DETAILPRINT
149 | !define WAILS_INSTALL_WEBVIEW_DETAILPRINT "Installing: WebView2 Runtime"
150 | !endif
151 |
152 | SetRegView 64
153 | # If the admin key exists and is not empty then webview2 is already installed
154 | ReadRegStr $0 HKLM "SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}" "pv"
155 | ${If} $0 != ""
156 | Goto ok
157 | ${EndIf}
158 |
159 | ${If} ${REQUEST_EXECUTION_LEVEL} == "user"
160 | # If the installer is run in user level, check the user specific key exists and is not empty then webview2 is already installed
161 | ReadRegStr $0 HKCU "Software\Microsoft\EdgeUpdate\Clients{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}" "pv"
162 | ${If} $0 != ""
163 | Goto ok
164 | ${EndIf}
165 | ${EndIf}
166 |
167 | SetDetailsPrint both
168 | DetailPrint "${WAILS_INSTALL_WEBVIEW_DETAILPRINT}"
169 | SetDetailsPrint listonly
170 |
171 | InitPluginsDir
172 | CreateDirectory "$pluginsdir\webview2bootstrapper"
173 | SetOutPath "$pluginsdir\webview2bootstrapper"
174 | File "tmp\MicrosoftEdgeWebview2Setup.exe"
175 | ExecWait '"$pluginsdir\webview2bootstrapper\MicrosoftEdgeWebview2Setup.exe" /silent /install'
176 |
177 | SetDetailsPrint both
178 | ok:
179 | !macroend
--------------------------------------------------------------------------------
/build/windows/wails.exe.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | true/pm
12 | permonitorv2,permonitor
13 |
14 |
15 |
--------------------------------------------------------------------------------
/docs/get.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/obity/hiposter/13a750436fdfc774c2c3a824512d9ce6e5702d8e/docs/get.jpg
--------------------------------------------------------------------------------
/docs/hiposter1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/obity/hiposter/13a750436fdfc774c2c3a824512d9ce6e5702d8e/docs/hiposter1.jpg
--------------------------------------------------------------------------------
/frontend/.vscode/extensions.json:
--------------------------------------------------------------------------------
1 | {
2 | "recommendations": [
3 | "svelte.svelte-vscode"
4 | ]
5 | }
6 |
--------------------------------------------------------------------------------
/frontend/README.md:
--------------------------------------------------------------------------------
1 | # Svelte + Vite
2 |
3 | This template should help get you started developing with Svelte in Vite.
4 |
5 | ## Recommended IDE Setup
6 |
7 | [VS Code](https://code.visualstudio.com/)
8 |
9 | + [Svelte](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode).
10 |
11 | ## Need an official Svelte framework?
12 |
13 | Check out [SvelteKit](https://github.com/sveltejs/kit#readme), which is also powered by Vite. Deploy anywhere with its
14 | serverless-first approach and adapt to various platforms, with out of the box support for TypeScript, SCSS, and Less,
15 | and easily-added support for mdsvex, GraphQL, PostCSS, Tailwind CSS, and more.
16 |
17 | ## Technical considerations
18 |
19 | **Why use this over SvelteKit?**
20 |
21 | - It brings its own routing solution which might not be preferable for some users.
22 | - It is first and foremost a framework that just happens to use Vite under the hood, not a Vite app.
23 | `vite dev` and `vite build` wouldn't work in a SvelteKit environment, for example.
24 |
25 | This template contains as little as possible to get started with Vite + Svelte, while taking into account the developer
26 | experience with regards to HMR and intellisense. It demonstrates capabilities on par with the other `create-vite`
27 | templates and is a good starting point for beginners dipping their toes into a Vite + Svelte project.
28 |
29 | Should you later need the extended capabilities and extensibility provided by SvelteKit, the template has been
30 | structured similarly to SvelteKit so that it is easy to migrate.
31 |
32 | **Why `global.d.ts` instead of `compilerOptions.types` inside `jsconfig.json` or `tsconfig.json`?**
33 |
34 | Setting `compilerOptions.types` shuts out all other types not explicitly listed in the configuration. Using triple-slash
35 | references keeps the default TypeScript setting of accepting type information from the entire workspace, while also
36 | adding `svelte` and `vite/client` type information.
37 |
38 | **Why include `.vscode/extensions.json`?**
39 |
40 | Other templates indirectly recommend extensions via the README, but this file allows VS Code to prompt the user to
41 | install the recommended extension upon opening the project.
42 |
43 | **Why enable `checkJs` in the JS template?**
44 |
45 | It is likely that most cases of changing variable types in runtime are likely to be accidental, rather than deliberate.
46 | This provides advanced typechecking out of the box. Should you like to take advantage of the dynamically-typed nature of
47 | JavaScript, it is trivial to change the configuration.
48 |
49 | **Why is HMR not preserving my local component state?**
50 |
51 | HMR state preservation comes with a number of gotchas! It has been disabled by default in both `svelte-hmr`
52 | and `@sveltejs/vite-plugin-svelte` due to its often surprising behavior. You can read the
53 | details [here](https://github.com/rixo/svelte-hmr#svelte-hmr).
54 |
55 | If you have state that's important to retain within a component, consider creating an external store which would not be
56 | replaced by HMR.
57 |
58 | ```js
59 | // store.js
60 | // An extremely simple external store
61 | import { writable } from 'svelte/store'
62 | export default writable(0)
63 | ```
64 |
--------------------------------------------------------------------------------
/frontend/dist/assets/nunito-v16-latin-regular.06f3af3f.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/obity/hiposter/13a750436fdfc774c2c3a824512d9ce6e5702d8e/frontend/dist/assets/nunito-v16-latin-regular.06f3af3f.woff2
--------------------------------------------------------------------------------
/frontend/dist/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | hiposter
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/frontend/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | hiposter
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/frontend/jsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "moduleResolution": "Node",
4 | "target": "ESNext",
5 | "module": "ESNext",
6 | /**
7 | * svelte-preprocess cannot figure out whether you have
8 | * a value or a type, so tell TypeScript to enforce using
9 | * `import type` instead of `import` for Types.
10 | */
11 | "importsNotUsedAsValues": "error",
12 | "isolatedModules": true,
13 | "resolveJsonModule": true,
14 | /**
15 | * To have warnings / errors of the Svelte compiler at the
16 | * correct position, enable source maps by default.
17 | */
18 | "sourceMap": true,
19 | "esModuleInterop": true,
20 | "skipLibCheck": true,
21 | "forceConsistentCasingInFileNames": true,
22 | "baseUrl": ".",
23 | /**
24 | * Typecheck JS in `.svelte` and `.js` files by default.
25 | * Disable this if you'd like to use dynamic types.
26 | */
27 | "checkJs": true
28 | },
29 | /**
30 | * Use global.d.ts instead of compilerOptions.types
31 | * to avoid limiting type declarations.
32 | */
33 | "include": [
34 | "src/**/*.d.ts",
35 | "src/**/*.js",
36 | "src/**/*.svelte"
37 | ]
38 | }
39 |
--------------------------------------------------------------------------------
/frontend/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "frontend",
3 | "version": "0.0.0",
4 | "lockfileVersion": 2,
5 | "requires": true,
6 | "packages": {
7 | "": {
8 | "name": "frontend",
9 | "version": "0.0.0",
10 | "devDependencies": {
11 | "@codemirror/lang-html": "^6.4.2",
12 | "@codemirror/lang-javascript": "^6.1.4",
13 | "@codemirror/lang-json": "^6.0.1",
14 | "@codemirror/lang-xml": "^6.0.2",
15 | "@sveltejs/vite-plugin-svelte": "^1.0.1",
16 | "carbon-components-svelte": "^0.72.3",
17 | "carbon-icons-svelte": "^11.4.0",
18 | "svelte": "^3.49.0",
19 | "svelte-codemirror-editor": "^1.1.0",
20 | "vite": "^3.0.0",
21 | "yootils": "^0.3.1"
22 | }
23 | },
24 | "node_modules/@codemirror/autocomplete": {
25 | "version": "6.4.2",
26 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/autocomplete/-/autocomplete-6.4.2.tgz",
27 | "integrity": "sha512-8WE2xp+D0MpWEv5lZ6zPW1/tf4AGb358T5GWYiKEuCP8MvFfT3tH2mIF9Y2yr2e3KbHuSvsVhosiEyqCpiJhZQ==",
28 | "dev": true,
29 | "license": "MIT",
30 | "dependencies": {
31 | "@codemirror/language": "^6.0.0",
32 | "@codemirror/state": "^6.0.0",
33 | "@codemirror/view": "^6.6.0",
34 | "@lezer/common": "^1.0.0"
35 | },
36 | "peerDependencies": {
37 | "@codemirror/language": "^6.0.0",
38 | "@codemirror/state": "^6.0.0",
39 | "@codemirror/view": "^6.0.0",
40 | "@lezer/common": "^1.0.0"
41 | }
42 | },
43 | "node_modules/@codemirror/commands": {
44 | "version": "6.2.1",
45 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/commands/-/commands-6.2.1.tgz",
46 | "integrity": "sha512-FFiNKGuHA5O8uC6IJE5apI5rT9gyjlw4whqy4vlcX0wE/myxL6P1s0upwDhY4HtMWLOwzwsp0ap3bjdQhvfDOA==",
47 | "dev": true,
48 | "license": "MIT",
49 | "peer": true,
50 | "dependencies": {
51 | "@codemirror/language": "^6.0.0",
52 | "@codemirror/state": "^6.2.0",
53 | "@codemirror/view": "^6.0.0",
54 | "@lezer/common": "^1.0.0"
55 | }
56 | },
57 | "node_modules/@codemirror/lang-css": {
58 | "version": "6.1.1",
59 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/lang-css/-/lang-css-6.1.1.tgz",
60 | "integrity": "sha512-P6jdNEHyRcqqDgbvHYyC9Wxkek0rnG3a9aVSRi4a7WrjPbQtBTaOmvYpXmm13zZMAatO4Oqpac+0QZs7sy+LnQ==",
61 | "dev": true,
62 | "license": "MIT",
63 | "dependencies": {
64 | "@codemirror/autocomplete": "^6.0.0",
65 | "@codemirror/language": "^6.0.0",
66 | "@codemirror/state": "^6.0.0",
67 | "@lezer/css": "^1.0.0"
68 | }
69 | },
70 | "node_modules/@codemirror/lang-html": {
71 | "version": "6.4.2",
72 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/lang-html/-/lang-html-6.4.2.tgz",
73 | "integrity": "sha512-bqCBASkteKySwtIbiV/WCtGnn/khLRbbiV5TE+d9S9eQJD7BA4c5dTRm2b3bVmSpilff5EYxvB4PQaZzM/7cNw==",
74 | "dev": true,
75 | "license": "MIT",
76 | "dependencies": {
77 | "@codemirror/autocomplete": "^6.0.0",
78 | "@codemirror/lang-css": "^6.0.0",
79 | "@codemirror/lang-javascript": "^6.0.0",
80 | "@codemirror/language": "^6.4.0",
81 | "@codemirror/state": "^6.0.0",
82 | "@codemirror/view": "^6.2.2",
83 | "@lezer/common": "^1.0.0",
84 | "@lezer/css": "^1.1.0",
85 | "@lezer/html": "^1.3.0"
86 | }
87 | },
88 | "node_modules/@codemirror/lang-javascript": {
89 | "version": "6.1.4",
90 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/lang-javascript/-/lang-javascript-6.1.4.tgz",
91 | "integrity": "sha512-OxLf7OfOZBTMRMi6BO/F72MNGmgOd9B0vetOLvHsDACFXayBzW8fm8aWnDM0yuy68wTK03MBf4HbjSBNRG5q7A==",
92 | "dev": true,
93 | "license": "MIT",
94 | "dependencies": {
95 | "@codemirror/autocomplete": "^6.0.0",
96 | "@codemirror/language": "^6.6.0",
97 | "@codemirror/lint": "^6.0.0",
98 | "@codemirror/state": "^6.0.0",
99 | "@codemirror/view": "^6.0.0",
100 | "@lezer/common": "^1.0.0",
101 | "@lezer/javascript": "^1.0.0"
102 | }
103 | },
104 | "node_modules/@codemirror/lang-json": {
105 | "version": "6.0.1",
106 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/lang-json/-/lang-json-6.0.1.tgz",
107 | "integrity": "sha512-+T1flHdgpqDDlJZ2Lkil/rLiRy684WMLc74xUnjJH48GQdfJo/pudlTRreZmKwzP8/tGdKf83wlbAdOCzlJOGQ==",
108 | "dev": true,
109 | "license": "MIT",
110 | "dependencies": {
111 | "@codemirror/language": "^6.0.0",
112 | "@lezer/json": "^1.0.0"
113 | }
114 | },
115 | "node_modules/@codemirror/lang-xml": {
116 | "version": "6.0.2",
117 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/lang-xml/-/lang-xml-6.0.2.tgz",
118 | "integrity": "sha512-JQYZjHL2LAfpiZI2/qZ/qzDuSqmGKMwyApYmEUUCTxLM4MWS7sATUEfIguZQr9Zjx/7gcdnewb039smF6nC2zw==",
119 | "dev": true,
120 | "license": "MIT",
121 | "dependencies": {
122 | "@codemirror/autocomplete": "^6.0.0",
123 | "@codemirror/language": "^6.4.0",
124 | "@codemirror/state": "^6.0.0",
125 | "@lezer/common": "^1.0.0",
126 | "@lezer/xml": "^1.0.0"
127 | }
128 | },
129 | "node_modules/@codemirror/language": {
130 | "version": "6.6.0",
131 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/language/-/language-6.6.0.tgz",
132 | "integrity": "sha512-cwUd6lzt3MfNYOobdjf14ZkLbJcnv4WtndYaoBkbor/vF+rCNguMPK0IRtvZJG4dsWiaWPcK8x1VijhvSxnstg==",
133 | "dev": true,
134 | "license": "MIT",
135 | "dependencies": {
136 | "@codemirror/state": "^6.0.0",
137 | "@codemirror/view": "^6.0.0",
138 | "@lezer/common": "^1.0.0",
139 | "@lezer/highlight": "^1.0.0",
140 | "@lezer/lr": "^1.0.0",
141 | "style-mod": "^4.0.0"
142 | }
143 | },
144 | "node_modules/@codemirror/lint": {
145 | "version": "6.1.1",
146 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/lint/-/lint-6.1.1.tgz",
147 | "integrity": "sha512-e+M543x0NVHGayNHQzLP4XByJsvbu/ojY6+0VF2Y4Uu66Rt1nADuxNflZwECLf7gS009smIsptSUa6bUj/U/rw==",
148 | "dev": true,
149 | "license": "MIT",
150 | "dependencies": {
151 | "@codemirror/state": "^6.0.0",
152 | "@codemirror/view": "^6.0.0",
153 | "crelt": "^1.0.5"
154 | }
155 | },
156 | "node_modules/@codemirror/search": {
157 | "version": "6.2.3",
158 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/search/-/search-6.2.3.tgz",
159 | "integrity": "sha512-V9n9233lopQhB1dyjsBK2Wc1i+8hcCqxl1wQ46c5HWWLePoe4FluV3TGHoZ04rBRlGjNyz9DTmpJErig8UE4jw==",
160 | "dev": true,
161 | "license": "MIT",
162 | "peer": true,
163 | "dependencies": {
164 | "@codemirror/state": "^6.0.0",
165 | "@codemirror/view": "^6.0.0",
166 | "crelt": "^1.0.5"
167 | }
168 | },
169 | "node_modules/@codemirror/state": {
170 | "version": "6.2.0",
171 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/state/-/state-6.2.0.tgz",
172 | "integrity": "sha512-69QXtcrsc3RYtOtd+GsvczJ319udtBf1PTrr2KbLWM/e2CXUPnh0Nz9AUo8WfhSQ7GeL8dPVNUmhQVgpmuaNGA==",
173 | "dev": true,
174 | "license": "MIT"
175 | },
176 | "node_modules/@codemirror/view": {
177 | "version": "6.9.1",
178 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/view/-/view-6.9.1.tgz",
179 | "integrity": "sha512-bzfSjJn9dAADVpabLKWKNmMG4ibyTV2e3eOGowjElNPTdTkSbi6ixPYHm2u0ADcETfKsi2/R84Rkmi91dH9yEg==",
180 | "dev": true,
181 | "license": "MIT",
182 | "dependencies": {
183 | "@codemirror/state": "^6.1.4",
184 | "style-mod": "^4.0.0",
185 | "w3c-keyname": "^2.2.4"
186 | }
187 | },
188 | "node_modules/@esbuild/android-arm": {
189 | "version": "0.15.18",
190 | "resolved": "https://repo.huaweicloud.com/repository/npm/@esbuild/android-arm/-/android-arm-0.15.18.tgz",
191 | "integrity": "sha512-5GT+kcs2WVGjVs7+boataCkO5Fg0y4kCjzkB5bAip7H4jfnOS3dA6KPiww9W1OEKTKeAcUVhdZGvgI65OXmUnw==",
192 | "cpu": [
193 | "arm"
194 | ],
195 | "dev": true,
196 | "license": "MIT",
197 | "optional": true,
198 | "os": [
199 | "android"
200 | ],
201 | "engines": {
202 | "node": ">=12"
203 | }
204 | },
205 | "node_modules/@esbuild/linux-loong64": {
206 | "version": "0.15.18",
207 | "resolved": "https://repo.huaweicloud.com/repository/npm/@esbuild/linux-loong64/-/linux-loong64-0.15.18.tgz",
208 | "integrity": "sha512-L4jVKS82XVhw2nvzLg/19ClLWg0y27ulRwuP7lcyL6AbUWB5aPglXY3M21mauDQMDfRLs8cQmeT03r/+X3cZYQ==",
209 | "cpu": [
210 | "loong64"
211 | ],
212 | "dev": true,
213 | "license": "MIT",
214 | "optional": true,
215 | "os": [
216 | "linux"
217 | ],
218 | "engines": {
219 | "node": ">=12"
220 | }
221 | },
222 | "node_modules/@lezer/common": {
223 | "version": "1.0.2",
224 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/common/-/common-1.0.2.tgz",
225 | "integrity": "sha512-SVgiGtMnMnW3ActR8SXgsDhw7a0w0ChHSYAyAUxxrOiJ1OqYWEKk/xJd84tTSPo1mo6DXLObAJALNnd0Hrv7Ng==",
226 | "dev": true,
227 | "license": "MIT"
228 | },
229 | "node_modules/@lezer/css": {
230 | "version": "1.1.1",
231 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/css/-/css-1.1.1.tgz",
232 | "integrity": "sha512-mSjx+unLLapEqdOYDejnGBokB5+AiJKZVclmud0MKQOKx3DLJ5b5VTCstgDDknR6iIV4gVrN6euzsCnj0A2gQA==",
233 | "dev": true,
234 | "license": "MIT",
235 | "dependencies": {
236 | "@lezer/highlight": "^1.0.0",
237 | "@lezer/lr": "^1.0.0"
238 | }
239 | },
240 | "node_modules/@lezer/highlight": {
241 | "version": "1.1.3",
242 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/highlight/-/highlight-1.1.3.tgz",
243 | "integrity": "sha512-3vLKLPThO4td43lYRBygmMY18JN3CPh9w+XS2j8WC30vR4yZeFG4z1iFe4jXE43NtGqe//zHW5q8ENLlHvz9gw==",
244 | "dev": true,
245 | "license": "MIT",
246 | "dependencies": {
247 | "@lezer/common": "^1.0.0"
248 | }
249 | },
250 | "node_modules/@lezer/html": {
251 | "version": "1.3.2",
252 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/html/-/html-1.3.2.tgz",
253 | "integrity": "sha512-LKGyDdqqDugXR/lKM9FwaKEfMerbZ/aqvhLf0P1FLLK/pVP7wKHXGcg6g3cJ7ckvFidn0tXA8jioG0irVsCBAQ==",
254 | "dev": true,
255 | "license": "MIT",
256 | "dependencies": {
257 | "@lezer/common": "^1.0.0",
258 | "@lezer/highlight": "^1.0.0",
259 | "@lezer/lr": "^1.0.0"
260 | }
261 | },
262 | "node_modules/@lezer/javascript": {
263 | "version": "1.4.1",
264 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/javascript/-/javascript-1.4.1.tgz",
265 | "integrity": "sha512-Hqx36DJeYhKtdpc7wBYPR0XF56ZzIp0IkMO/zNNj80xcaFOV4Oj/P7TQc/8k2TxNhzl7tV5tXS8ZOCPbT4L3nA==",
266 | "dev": true,
267 | "license": "MIT",
268 | "dependencies": {
269 | "@lezer/highlight": "^1.1.3",
270 | "@lezer/lr": "^1.3.0"
271 | }
272 | },
273 | "node_modules/@lezer/json": {
274 | "version": "1.0.0",
275 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/json/-/json-1.0.0.tgz",
276 | "integrity": "sha512-zbAuUY09RBzCoCA3lJ1+ypKw5WSNvLqGMtasdW6HvVOqZoCpPr8eWrsGnOVWGKGn8Rh21FnrKRVlJXrGAVUqRw==",
277 | "dev": true,
278 | "license": "MIT",
279 | "dependencies": {
280 | "@lezer/highlight": "^1.0.0",
281 | "@lezer/lr": "^1.0.0"
282 | }
283 | },
284 | "node_modules/@lezer/lr": {
285 | "version": "1.3.3",
286 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/lr/-/lr-1.3.3.tgz",
287 | "integrity": "sha512-JPQe3mwJlzEVqy67iQiiGozhcngbO8QBgpqZM6oL1Wj/dXckrEexpBLeFkq0edtW5IqnPRFxA24BHJni8Js69w==",
288 | "dev": true,
289 | "license": "MIT",
290 | "dependencies": {
291 | "@lezer/common": "^1.0.0"
292 | }
293 | },
294 | "node_modules/@lezer/xml": {
295 | "version": "1.0.1",
296 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/xml/-/xml-1.0.1.tgz",
297 | "integrity": "sha512-jMDXrV953sDAUEMI25VNrI9dz94Ai96FfeglytFINhhwQ867HKlCE2jt3AwZTCT7M528WxdDWv/Ty8e9wizwmQ==",
298 | "dev": true,
299 | "license": "MIT",
300 | "dependencies": {
301 | "@lezer/highlight": "^1.0.0",
302 | "@lezer/lr": "^1.0.0"
303 | }
304 | },
305 | "node_modules/@sveltejs/vite-plugin-svelte": {
306 | "version": "1.4.0",
307 | "resolved": "https://repo.huaweicloud.com/repository/npm/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-1.4.0.tgz",
308 | "integrity": "sha512-6QupI/jemMfK+yI2pMtJcu5iO2gtgTfcBdGwMZZt+lgbFELhszbDl6Qjh000HgAV8+XUA+8EY8DusOFk8WhOIg==",
309 | "dev": true,
310 | "license": "MIT",
311 | "dependencies": {
312 | "debug": "^4.3.4",
313 | "deepmerge": "^4.2.2",
314 | "kleur": "^4.1.5",
315 | "magic-string": "^0.26.7",
316 | "svelte-hmr": "^0.15.1",
317 | "vitefu": "^0.2.2"
318 | },
319 | "engines": {
320 | "node": "^14.18.0 || >= 16"
321 | },
322 | "peerDependencies": {
323 | "svelte": "^3.44.0",
324 | "vite": "^3.0.0"
325 | }
326 | },
327 | "node_modules/carbon-components-svelte": {
328 | "version": "0.72.3",
329 | "resolved": "https://repo.huaweicloud.com/repository/npm/carbon-components-svelte/-/carbon-components-svelte-0.72.3.tgz",
330 | "integrity": "sha512-ill4KeWH7THXDLRfuxg0panknTvl75U54+6366yNmtkPbzmCqp/gw5aW3JPlJcOyYny1F9X+fTYY3kQkEigORA==",
331 | "dev": true,
332 | "license": "Apache-2.0",
333 | "dependencies": {
334 | "flatpickr": "4.6.9"
335 | }
336 | },
337 | "node_modules/carbon-icons-svelte": {
338 | "version": "11.4.0",
339 | "resolved": "https://repo.huaweicloud.com/repository/npm/carbon-icons-svelte/-/carbon-icons-svelte-11.4.0.tgz",
340 | "integrity": "sha512-p/llZde2kP2BI9SOqM+QFKGfQnYrW+4dVxF1rAYriEADXDsjt9EYlh+KpQ5qf4JpXAq+e2+TB/r/lIG1xdUbAQ==",
341 | "dev": true,
342 | "license": "Apache-2.0"
343 | },
344 | "node_modules/codemirror": {
345 | "version": "6.0.1",
346 | "resolved": "https://repo.huaweicloud.com/repository/npm/codemirror/-/codemirror-6.0.1.tgz",
347 | "integrity": "sha512-J8j+nZ+CdWmIeFIGXEFbFPtpiYacFMDR8GlHK3IyHQJMCaVRfGx9NT+Hxivv1ckLWPvNdZqndbr/7lVhrf/Svg==",
348 | "dev": true,
349 | "license": "MIT",
350 | "peer": true,
351 | "dependencies": {
352 | "@codemirror/autocomplete": "^6.0.0",
353 | "@codemirror/commands": "^6.0.0",
354 | "@codemirror/language": "^6.0.0",
355 | "@codemirror/lint": "^6.0.0",
356 | "@codemirror/search": "^6.0.0",
357 | "@codemirror/state": "^6.0.0",
358 | "@codemirror/view": "^6.0.0"
359 | }
360 | },
361 | "node_modules/crelt": {
362 | "version": "1.0.5",
363 | "resolved": "https://repo.huaweicloud.com/repository/npm/crelt/-/crelt-1.0.5.tgz",
364 | "integrity": "sha512-+BO9wPPi+DWTDcNYhr/W90myha8ptzftZT+LwcmUbbok0rcP/fequmFYCw8NMoH7pkAZQzU78b3kYrlua5a9eA==",
365 | "dev": true,
366 | "license": "MIT"
367 | },
368 | "node_modules/debug": {
369 | "version": "4.3.4",
370 | "resolved": "https://repo.huaweicloud.com/repository/npm/debug/-/debug-4.3.4.tgz",
371 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
372 | "dev": true,
373 | "license": "MIT",
374 | "dependencies": {
375 | "ms": "2.1.2"
376 | },
377 | "engines": {
378 | "node": ">=6.0"
379 | },
380 | "peerDependenciesMeta": {
381 | "supports-color": {
382 | "optional": true
383 | }
384 | }
385 | },
386 | "node_modules/deepmerge": {
387 | "version": "4.3.0",
388 | "resolved": "https://repo.huaweicloud.com/repository/npm/deepmerge/-/deepmerge-4.3.0.tgz",
389 | "integrity": "sha512-z2wJZXrmeHdvYJp/Ux55wIjqo81G5Bp4c+oELTW+7ar6SogWHajt5a9gO3s3IDaGSAXjDk0vlQKN3rms8ab3og==",
390 | "dev": true,
391 | "license": "MIT",
392 | "engines": {
393 | "node": ">=0.10.0"
394 | }
395 | },
396 | "node_modules/esbuild": {
397 | "version": "0.15.18",
398 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild/-/esbuild-0.15.18.tgz",
399 | "integrity": "sha512-x/R72SmW3sSFRm5zrrIjAhCeQSAWoni3CmHEqfQrZIQTM3lVCdehdwuIqaOtfC2slvpdlLa62GYoN8SxT23m6Q==",
400 | "dev": true,
401 | "hasInstallScript": true,
402 | "license": "MIT",
403 | "bin": {
404 | "esbuild": "bin/esbuild"
405 | },
406 | "engines": {
407 | "node": ">=12"
408 | },
409 | "optionalDependencies": {
410 | "@esbuild/android-arm": "0.15.18",
411 | "@esbuild/linux-loong64": "0.15.18",
412 | "esbuild-android-64": "0.15.18",
413 | "esbuild-android-arm64": "0.15.18",
414 | "esbuild-darwin-64": "0.15.18",
415 | "esbuild-darwin-arm64": "0.15.18",
416 | "esbuild-freebsd-64": "0.15.18",
417 | "esbuild-freebsd-arm64": "0.15.18",
418 | "esbuild-linux-32": "0.15.18",
419 | "esbuild-linux-64": "0.15.18",
420 | "esbuild-linux-arm": "0.15.18",
421 | "esbuild-linux-arm64": "0.15.18",
422 | "esbuild-linux-mips64le": "0.15.18",
423 | "esbuild-linux-ppc64le": "0.15.18",
424 | "esbuild-linux-riscv64": "0.15.18",
425 | "esbuild-linux-s390x": "0.15.18",
426 | "esbuild-netbsd-64": "0.15.18",
427 | "esbuild-openbsd-64": "0.15.18",
428 | "esbuild-sunos-64": "0.15.18",
429 | "esbuild-windows-32": "0.15.18",
430 | "esbuild-windows-64": "0.15.18",
431 | "esbuild-windows-arm64": "0.15.18"
432 | }
433 | },
434 | "node_modules/esbuild-android-64": {
435 | "version": "0.15.18",
436 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-android-64/-/esbuild-android-64-0.15.18.tgz",
437 | "integrity": "sha512-wnpt3OXRhcjfIDSZu9bnzT4/TNTDsOUvip0foZOUBG7QbSt//w3QV4FInVJxNhKc/ErhUxc5z4QjHtMi7/TbgA==",
438 | "cpu": [
439 | "x64"
440 | ],
441 | "dev": true,
442 | "license": "MIT",
443 | "optional": true,
444 | "os": [
445 | "android"
446 | ],
447 | "engines": {
448 | "node": ">=12"
449 | }
450 | },
451 | "node_modules/esbuild-android-arm64": {
452 | "version": "0.15.18",
453 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-android-arm64/-/esbuild-android-arm64-0.15.18.tgz",
454 | "integrity": "sha512-G4xu89B8FCzav9XU8EjsXacCKSG2FT7wW9J6hOc18soEHJdtWu03L3TQDGf0geNxfLTtxENKBzMSq9LlbjS8OQ==",
455 | "cpu": [
456 | "arm64"
457 | ],
458 | "dev": true,
459 | "license": "MIT",
460 | "optional": true,
461 | "os": [
462 | "android"
463 | ],
464 | "engines": {
465 | "node": ">=12"
466 | }
467 | },
468 | "node_modules/esbuild-darwin-64": {
469 | "version": "0.15.18",
470 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-darwin-64/-/esbuild-darwin-64-0.15.18.tgz",
471 | "integrity": "sha512-2WAvs95uPnVJPuYKP0Eqx+Dl/jaYseZEUUT1sjg97TJa4oBtbAKnPnl3b5M9l51/nbx7+QAEtuummJZW0sBEmg==",
472 | "cpu": [
473 | "x64"
474 | ],
475 | "dev": true,
476 | "license": "MIT",
477 | "optional": true,
478 | "os": [
479 | "darwin"
480 | ],
481 | "engines": {
482 | "node": ">=12"
483 | }
484 | },
485 | "node_modules/esbuild-darwin-arm64": {
486 | "version": "0.15.18",
487 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.18.tgz",
488 | "integrity": "sha512-tKPSxcTJ5OmNb1btVikATJ8NftlyNlc8BVNtyT/UAr62JFOhwHlnoPrhYWz09akBLHI9nElFVfWSTSRsrZiDUA==",
489 | "cpu": [
490 | "arm64"
491 | ],
492 | "dev": true,
493 | "license": "MIT",
494 | "optional": true,
495 | "os": [
496 | "darwin"
497 | ],
498 | "engines": {
499 | "node": ">=12"
500 | }
501 | },
502 | "node_modules/esbuild-freebsd-64": {
503 | "version": "0.15.18",
504 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.18.tgz",
505 | "integrity": "sha512-TT3uBUxkteAjR1QbsmvSsjpKjOX6UkCstr8nMr+q7zi3NuZ1oIpa8U41Y8I8dJH2fJgdC3Dj3CXO5biLQpfdZA==",
506 | "cpu": [
507 | "x64"
508 | ],
509 | "dev": true,
510 | "license": "MIT",
511 | "optional": true,
512 | "os": [
513 | "freebsd"
514 | ],
515 | "engines": {
516 | "node": ">=12"
517 | }
518 | },
519 | "node_modules/esbuild-freebsd-arm64": {
520 | "version": "0.15.18",
521 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.18.tgz",
522 | "integrity": "sha512-R/oVr+X3Tkh+S0+tL41wRMbdWtpWB8hEAMsOXDumSSa6qJR89U0S/PpLXrGF7Wk/JykfpWNokERUpCeHDl47wA==",
523 | "cpu": [
524 | "arm64"
525 | ],
526 | "dev": true,
527 | "license": "MIT",
528 | "optional": true,
529 | "os": [
530 | "freebsd"
531 | ],
532 | "engines": {
533 | "node": ">=12"
534 | }
535 | },
536 | "node_modules/esbuild-linux-32": {
537 | "version": "0.15.18",
538 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-32/-/esbuild-linux-32-0.15.18.tgz",
539 | "integrity": "sha512-lphF3HiCSYtaa9p1DtXndiQEeQDKPl9eN/XNoBf2amEghugNuqXNZA/ZovthNE2aa4EN43WroO0B85xVSjYkbg==",
540 | "cpu": [
541 | "ia32"
542 | ],
543 | "dev": true,
544 | "license": "MIT",
545 | "optional": true,
546 | "os": [
547 | "linux"
548 | ],
549 | "engines": {
550 | "node": ">=12"
551 | }
552 | },
553 | "node_modules/esbuild-linux-64": {
554 | "version": "0.15.18",
555 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-64/-/esbuild-linux-64-0.15.18.tgz",
556 | "integrity": "sha512-hNSeP97IviD7oxLKFuii5sDPJ+QHeiFTFLoLm7NZQligur8poNOWGIgpQ7Qf8Balb69hptMZzyOBIPtY09GZYw==",
557 | "cpu": [
558 | "x64"
559 | ],
560 | "dev": true,
561 | "license": "MIT",
562 | "optional": true,
563 | "os": [
564 | "linux"
565 | ],
566 | "engines": {
567 | "node": ">=12"
568 | }
569 | },
570 | "node_modules/esbuild-linux-arm": {
571 | "version": "0.15.18",
572 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-arm/-/esbuild-linux-arm-0.15.18.tgz",
573 | "integrity": "sha512-UH779gstRblS4aoS2qpMl3wjg7U0j+ygu3GjIeTonCcN79ZvpPee12Qun3vcdxX+37O5LFxz39XeW2I9bybMVA==",
574 | "cpu": [
575 | "arm"
576 | ],
577 | "dev": true,
578 | "license": "MIT",
579 | "optional": true,
580 | "os": [
581 | "linux"
582 | ],
583 | "engines": {
584 | "node": ">=12"
585 | }
586 | },
587 | "node_modules/esbuild-linux-arm64": {
588 | "version": "0.15.18",
589 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.18.tgz",
590 | "integrity": "sha512-54qr8kg/6ilcxd+0V3h9rjT4qmjc0CccMVWrjOEM/pEcUzt8X62HfBSeZfT2ECpM7104mk4yfQXkosY8Quptug==",
591 | "cpu": [
592 | "arm64"
593 | ],
594 | "dev": true,
595 | "license": "MIT",
596 | "optional": true,
597 | "os": [
598 | "linux"
599 | ],
600 | "engines": {
601 | "node": ">=12"
602 | }
603 | },
604 | "node_modules/esbuild-linux-mips64le": {
605 | "version": "0.15.18",
606 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.18.tgz",
607 | "integrity": "sha512-Mk6Ppwzzz3YbMl/ZZL2P0q1tnYqh/trYZ1VfNP47C31yT0K8t9s7Z077QrDA/guU60tGNp2GOwCQnp+DYv7bxQ==",
608 | "cpu": [
609 | "mips64el"
610 | ],
611 | "dev": true,
612 | "license": "MIT",
613 | "optional": true,
614 | "os": [
615 | "linux"
616 | ],
617 | "engines": {
618 | "node": ">=12"
619 | }
620 | },
621 | "node_modules/esbuild-linux-ppc64le": {
622 | "version": "0.15.18",
623 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.18.tgz",
624 | "integrity": "sha512-b0XkN4pL9WUulPTa/VKHx2wLCgvIAbgwABGnKMY19WhKZPT+8BxhZdqz6EgkqCLld7X5qiCY2F/bfpUUlnFZ9w==",
625 | "cpu": [
626 | "ppc64"
627 | ],
628 | "dev": true,
629 | "license": "MIT",
630 | "optional": true,
631 | "os": [
632 | "linux"
633 | ],
634 | "engines": {
635 | "node": ">=12"
636 | }
637 | },
638 | "node_modules/esbuild-linux-riscv64": {
639 | "version": "0.15.18",
640 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.18.tgz",
641 | "integrity": "sha512-ba2COaoF5wL6VLZWn04k+ACZjZ6NYniMSQStodFKH/Pu6RxzQqzsmjR1t9QC89VYJxBeyVPTaHuBMCejl3O/xg==",
642 | "cpu": [
643 | "riscv64"
644 | ],
645 | "dev": true,
646 | "license": "MIT",
647 | "optional": true,
648 | "os": [
649 | "linux"
650 | ],
651 | "engines": {
652 | "node": ">=12"
653 | }
654 | },
655 | "node_modules/esbuild-linux-s390x": {
656 | "version": "0.15.18",
657 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.18.tgz",
658 | "integrity": "sha512-VbpGuXEl5FCs1wDVp93O8UIzl3ZrglgnSQ+Hu79g7hZu6te6/YHgVJxCM2SqfIila0J3k0csfnf8VD2W7u2kzQ==",
659 | "cpu": [
660 | "s390x"
661 | ],
662 | "dev": true,
663 | "license": "MIT",
664 | "optional": true,
665 | "os": [
666 | "linux"
667 | ],
668 | "engines": {
669 | "node": ">=12"
670 | }
671 | },
672 | "node_modules/esbuild-netbsd-64": {
673 | "version": "0.15.18",
674 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.18.tgz",
675 | "integrity": "sha512-98ukeCdvdX7wr1vUYQzKo4kQ0N2p27H7I11maINv73fVEXt2kyh4K4m9f35U1K43Xc2QGXlzAw0K9yoU7JUjOg==",
676 | "cpu": [
677 | "x64"
678 | ],
679 | "dev": true,
680 | "license": "MIT",
681 | "optional": true,
682 | "os": [
683 | "netbsd"
684 | ],
685 | "engines": {
686 | "node": ">=12"
687 | }
688 | },
689 | "node_modules/esbuild-openbsd-64": {
690 | "version": "0.15.18",
691 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.18.tgz",
692 | "integrity": "sha512-yK5NCcH31Uae076AyQAXeJzt/vxIo9+omZRKj1pauhk3ITuADzuOx5N2fdHrAKPxN+zH3w96uFKlY7yIn490xQ==",
693 | "cpu": [
694 | "x64"
695 | ],
696 | "dev": true,
697 | "license": "MIT",
698 | "optional": true,
699 | "os": [
700 | "openbsd"
701 | ],
702 | "engines": {
703 | "node": ">=12"
704 | }
705 | },
706 | "node_modules/esbuild-sunos-64": {
707 | "version": "0.15.18",
708 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-sunos-64/-/esbuild-sunos-64-0.15.18.tgz",
709 | "integrity": "sha512-On22LLFlBeLNj/YF3FT+cXcyKPEI263nflYlAhz5crxtp3yRG1Ugfr7ITyxmCmjm4vbN/dGrb/B7w7U8yJR9yw==",
710 | "cpu": [
711 | "x64"
712 | ],
713 | "dev": true,
714 | "license": "MIT",
715 | "optional": true,
716 | "os": [
717 | "sunos"
718 | ],
719 | "engines": {
720 | "node": ">=12"
721 | }
722 | },
723 | "node_modules/esbuild-windows-32": {
724 | "version": "0.15.18",
725 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-windows-32/-/esbuild-windows-32-0.15.18.tgz",
726 | "integrity": "sha512-o+eyLu2MjVny/nt+E0uPnBxYuJHBvho8vWsC2lV61A7wwTWC3jkN2w36jtA+yv1UgYkHRihPuQsL23hsCYGcOQ==",
727 | "cpu": [
728 | "ia32"
729 | ],
730 | "dev": true,
731 | "license": "MIT",
732 | "optional": true,
733 | "os": [
734 | "win32"
735 | ],
736 | "engines": {
737 | "node": ">=12"
738 | }
739 | },
740 | "node_modules/esbuild-windows-64": {
741 | "version": "0.15.18",
742 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-windows-64/-/esbuild-windows-64-0.15.18.tgz",
743 | "integrity": "sha512-qinug1iTTaIIrCorAUjR0fcBk24fjzEedFYhhispP8Oc7SFvs+XeW3YpAKiKp8dRpizl4YYAhxMjlftAMJiaUw==",
744 | "cpu": [
745 | "x64"
746 | ],
747 | "dev": true,
748 | "license": "MIT",
749 | "optional": true,
750 | "os": [
751 | "win32"
752 | ],
753 | "engines": {
754 | "node": ">=12"
755 | }
756 | },
757 | "node_modules/esbuild-windows-arm64": {
758 | "version": "0.15.18",
759 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.18.tgz",
760 | "integrity": "sha512-q9bsYzegpZcLziq0zgUi5KqGVtfhjxGbnksaBFYmWLxeV/S1fK4OLdq2DFYnXcLMjlZw2L0jLsk1eGoB522WXQ==",
761 | "cpu": [
762 | "arm64"
763 | ],
764 | "dev": true,
765 | "license": "MIT",
766 | "optional": true,
767 | "os": [
768 | "win32"
769 | ],
770 | "engines": {
771 | "node": ">=12"
772 | }
773 | },
774 | "node_modules/flatpickr": {
775 | "version": "4.6.9",
776 | "resolved": "https://repo.huaweicloud.com/repository/npm/flatpickr/-/flatpickr-4.6.9.tgz",
777 | "integrity": "sha512-F0azNNi8foVWKSF+8X+ZJzz8r9sE1G4hl06RyceIaLvyltKvDl6vqk9Lm/6AUUCi5HWaIjiUbk7UpeE/fOXOpw==",
778 | "dev": true,
779 | "license": "MIT"
780 | },
781 | "node_modules/fsevents": {
782 | "version": "2.3.2",
783 | "resolved": "https://repo.huaweicloud.com/repository/npm/fsevents/-/fsevents-2.3.2.tgz",
784 | "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
785 | "dev": true,
786 | "hasInstallScript": true,
787 | "license": "MIT",
788 | "optional": true,
789 | "os": [
790 | "darwin"
791 | ],
792 | "engines": {
793 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
794 | }
795 | },
796 | "node_modules/function-bind": {
797 | "version": "1.1.1",
798 | "resolved": "https://repo.huaweicloud.com/repository/npm/function-bind/-/function-bind-1.1.1.tgz",
799 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
800 | "dev": true,
801 | "license": "MIT"
802 | },
803 | "node_modules/has": {
804 | "version": "1.0.3",
805 | "resolved": "https://repo.huaweicloud.com/repository/npm/has/-/has-1.0.3.tgz",
806 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
807 | "dev": true,
808 | "license": "MIT",
809 | "dependencies": {
810 | "function-bind": "^1.1.1"
811 | },
812 | "engines": {
813 | "node": ">= 0.4.0"
814 | }
815 | },
816 | "node_modules/is-core-module": {
817 | "version": "2.11.0",
818 | "resolved": "https://repo.huaweicloud.com/repository/npm/is-core-module/-/is-core-module-2.11.0.tgz",
819 | "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==",
820 | "dev": true,
821 | "license": "MIT",
822 | "dependencies": {
823 | "has": "^1.0.3"
824 | },
825 | "funding": {
826 | "url": "https://github.com/sponsors/ljharb"
827 | }
828 | },
829 | "node_modules/kleur": {
830 | "version": "4.1.5",
831 | "resolved": "https://repo.huaweicloud.com/repository/npm/kleur/-/kleur-4.1.5.tgz",
832 | "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==",
833 | "dev": true,
834 | "license": "MIT",
835 | "engines": {
836 | "node": ">=6"
837 | }
838 | },
839 | "node_modules/magic-string": {
840 | "version": "0.26.7",
841 | "resolved": "https://repo.huaweicloud.com/repository/npm/magic-string/-/magic-string-0.26.7.tgz",
842 | "integrity": "sha512-hX9XH3ziStPoPhJxLq1syWuZMxbDvGNbVchfrdCtanC7D13888bMFow61x8axrx+GfHLtVeAx2kxL7tTGRl+Ow==",
843 | "dev": true,
844 | "license": "MIT",
845 | "dependencies": {
846 | "sourcemap-codec": "^1.4.8"
847 | },
848 | "engines": {
849 | "node": ">=12"
850 | }
851 | },
852 | "node_modules/ms": {
853 | "version": "2.1.2",
854 | "resolved": "https://repo.huaweicloud.com/repository/npm/ms/-/ms-2.1.2.tgz",
855 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
856 | "dev": true,
857 | "license": "MIT"
858 | },
859 | "node_modules/nanoid": {
860 | "version": "3.3.4",
861 | "resolved": "https://repo.huaweicloud.com/repository/npm/nanoid/-/nanoid-3.3.4.tgz",
862 | "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==",
863 | "dev": true,
864 | "license": "MIT",
865 | "bin": {
866 | "nanoid": "bin/nanoid.cjs"
867 | },
868 | "engines": {
869 | "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
870 | }
871 | },
872 | "node_modules/path-parse": {
873 | "version": "1.0.7",
874 | "resolved": "https://repo.huaweicloud.com/repository/npm/path-parse/-/path-parse-1.0.7.tgz",
875 | "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
876 | "dev": true,
877 | "license": "MIT"
878 | },
879 | "node_modules/picocolors": {
880 | "version": "1.0.0",
881 | "resolved": "https://repo.huaweicloud.com/repository/npm/picocolors/-/picocolors-1.0.0.tgz",
882 | "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
883 | "dev": true,
884 | "license": "ISC"
885 | },
886 | "node_modules/postcss": {
887 | "version": "8.4.21",
888 | "resolved": "https://repo.huaweicloud.com/repository/npm/postcss/-/postcss-8.4.21.tgz",
889 | "integrity": "sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==",
890 | "dev": true,
891 | "funding": [
892 | {
893 | "type": "opencollective",
894 | "url": "https://opencollective.com/postcss/"
895 | },
896 | {
897 | "type": "tidelift",
898 | "url": "https://tidelift.com/funding/github/npm/postcss"
899 | }
900 | ],
901 | "license": "MIT",
902 | "dependencies": {
903 | "nanoid": "^3.3.4",
904 | "picocolors": "^1.0.0",
905 | "source-map-js": "^1.0.2"
906 | },
907 | "engines": {
908 | "node": "^10 || ^12 || >=14"
909 | }
910 | },
911 | "node_modules/resolve": {
912 | "version": "1.22.1",
913 | "resolved": "https://repo.huaweicloud.com/repository/npm/resolve/-/resolve-1.22.1.tgz",
914 | "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==",
915 | "dev": true,
916 | "license": "MIT",
917 | "dependencies": {
918 | "is-core-module": "^2.9.0",
919 | "path-parse": "^1.0.7",
920 | "supports-preserve-symlinks-flag": "^1.0.0"
921 | },
922 | "bin": {
923 | "resolve": "bin/resolve"
924 | },
925 | "funding": {
926 | "url": "https://github.com/sponsors/ljharb"
927 | }
928 | },
929 | "node_modules/rollup": {
930 | "version": "2.79.1",
931 | "resolved": "https://repo.huaweicloud.com/repository/npm/rollup/-/rollup-2.79.1.tgz",
932 | "integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==",
933 | "dev": true,
934 | "license": "MIT",
935 | "bin": {
936 | "rollup": "dist/bin/rollup"
937 | },
938 | "engines": {
939 | "node": ">=10.0.0"
940 | },
941 | "optionalDependencies": {
942 | "fsevents": "~2.3.2"
943 | }
944 | },
945 | "node_modules/source-map-js": {
946 | "version": "1.0.2",
947 | "resolved": "https://repo.huaweicloud.com/repository/npm/source-map-js/-/source-map-js-1.0.2.tgz",
948 | "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
949 | "dev": true,
950 | "license": "BSD-3-Clause",
951 | "engines": {
952 | "node": ">=0.10.0"
953 | }
954 | },
955 | "node_modules/sourcemap-codec": {
956 | "version": "1.4.8",
957 | "resolved": "https://repo.huaweicloud.com/repository/npm/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz",
958 | "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==",
959 | "deprecated": "Please use @jridgewell/sourcemap-codec instead",
960 | "dev": true,
961 | "license": "MIT"
962 | },
963 | "node_modules/style-mod": {
964 | "version": "4.0.0",
965 | "resolved": "https://repo.huaweicloud.com/repository/npm/style-mod/-/style-mod-4.0.0.tgz",
966 | "integrity": "sha512-OPhtyEjyyN9x3nhPsu76f52yUGXiZcgvsrFVtvTkyGRQJ0XK+GPc6ov1z+lRpbeabka+MYEQxOYRnt5nF30aMw==",
967 | "dev": true,
968 | "license": "MIT"
969 | },
970 | "node_modules/supports-preserve-symlinks-flag": {
971 | "version": "1.0.0",
972 | "resolved": "https://repo.huaweicloud.com/repository/npm/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
973 | "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
974 | "dev": true,
975 | "license": "MIT",
976 | "engines": {
977 | "node": ">= 0.4"
978 | },
979 | "funding": {
980 | "url": "https://github.com/sponsors/ljharb"
981 | }
982 | },
983 | "node_modules/svelte": {
984 | "version": "3.55.1",
985 | "resolved": "https://repo.huaweicloud.com/repository/npm/svelte/-/svelte-3.55.1.tgz",
986 | "integrity": "sha512-S+87/P0Ve67HxKkEV23iCdAh/SX1xiSfjF1HOglno/YTbSTW7RniICMCofWGdJJbdjw3S+0PfFb1JtGfTXE0oQ==",
987 | "dev": true,
988 | "license": "MIT",
989 | "engines": {
990 | "node": ">= 8"
991 | }
992 | },
993 | "node_modules/svelte-codemirror-editor": {
994 | "version": "1.1.0",
995 | "resolved": "https://repo.huaweicloud.com/repository/npm/svelte-codemirror-editor/-/svelte-codemirror-editor-1.1.0.tgz",
996 | "integrity": "sha512-wFdMIsZds5qzn3x2NbFUxDVU6Cn3rwFdq0035ypaFVgzTjJ90bnPm6IbrFA4OJz1ngIyfbIuPAPDjm7rJIr0gg==",
997 | "dev": true,
998 | "license": "MIT",
999 | "peerDependencies": {
1000 | "codemirror": "^6.0.0"
1001 | }
1002 | },
1003 | "node_modules/svelte-hmr": {
1004 | "version": "0.15.1",
1005 | "resolved": "https://repo.huaweicloud.com/repository/npm/svelte-hmr/-/svelte-hmr-0.15.1.tgz",
1006 | "integrity": "sha512-BiKB4RZ8YSwRKCNVdNxK/GfY+r4Kjgp9jCLEy0DuqAKfmQtpL38cQK3afdpjw4sqSs4PLi3jIPJIFp259NkZtA==",
1007 | "dev": true,
1008 | "license": "ISC",
1009 | "engines": {
1010 | "node": "^12.20 || ^14.13.1 || >= 16"
1011 | },
1012 | "peerDependencies": {
1013 | "svelte": ">=3.19.0"
1014 | }
1015 | },
1016 | "node_modules/vite": {
1017 | "version": "3.2.5",
1018 | "resolved": "https://repo.huaweicloud.com/repository/npm/vite/-/vite-3.2.5.tgz",
1019 | "integrity": "sha512-4mVEpXpSOgrssFZAOmGIr85wPHKvaDAcXqxVxVRZhljkJOMZi1ibLibzjLHzJvcok8BMguLc7g1W6W/GqZbLdQ==",
1020 | "dev": true,
1021 | "license": "MIT",
1022 | "dependencies": {
1023 | "esbuild": "^0.15.9",
1024 | "postcss": "^8.4.18",
1025 | "resolve": "^1.22.1",
1026 | "rollup": "^2.79.1"
1027 | },
1028 | "bin": {
1029 | "vite": "bin/vite.js"
1030 | },
1031 | "engines": {
1032 | "node": "^14.18.0 || >=16.0.0"
1033 | },
1034 | "optionalDependencies": {
1035 | "fsevents": "~2.3.2"
1036 | },
1037 | "peerDependencies": {
1038 | "@types/node": ">= 14",
1039 | "less": "*",
1040 | "sass": "*",
1041 | "stylus": "*",
1042 | "sugarss": "*",
1043 | "terser": "^5.4.0"
1044 | },
1045 | "peerDependenciesMeta": {
1046 | "@types/node": {
1047 | "optional": true
1048 | },
1049 | "less": {
1050 | "optional": true
1051 | },
1052 | "sass": {
1053 | "optional": true
1054 | },
1055 | "stylus": {
1056 | "optional": true
1057 | },
1058 | "sugarss": {
1059 | "optional": true
1060 | },
1061 | "terser": {
1062 | "optional": true
1063 | }
1064 | }
1065 | },
1066 | "node_modules/vitefu": {
1067 | "version": "0.2.4",
1068 | "resolved": "https://repo.huaweicloud.com/repository/npm/vitefu/-/vitefu-0.2.4.tgz",
1069 | "integrity": "sha512-fanAXjSaf9xXtOOeno8wZXIhgia+CZury481LsDaV++lSvcU2R9Ch2bPh3PYFyoHW+w9LqAeYRISVQjUIew14g==",
1070 | "dev": true,
1071 | "license": "MIT",
1072 | "peerDependencies": {
1073 | "vite": "^3.0.0 || ^4.0.0"
1074 | },
1075 | "peerDependenciesMeta": {
1076 | "vite": {
1077 | "optional": true
1078 | }
1079 | }
1080 | },
1081 | "node_modules/w3c-keyname": {
1082 | "version": "2.2.6",
1083 | "resolved": "https://repo.huaweicloud.com/repository/npm/w3c-keyname/-/w3c-keyname-2.2.6.tgz",
1084 | "integrity": "sha512-f+fciywl1SJEniZHD6H+kUO8gOnwIr7f4ijKA6+ZvJFjeGi1r4PDLl53Ayud9O/rk64RqgoQine0feoeOU0kXg==",
1085 | "dev": true,
1086 | "license": "MIT"
1087 | },
1088 | "node_modules/yootils": {
1089 | "version": "0.3.1",
1090 | "resolved": "https://mirrors.cloud.tencent.com/npm/yootils/-/yootils-0.3.1.tgz",
1091 | "integrity": "sha512-A7AMeJfGefk317I/3tBoUYRcDcNavKEkpiPN/nQsBz/viI2GvT7BtrqdPD6rGqBFN8Ax7v4obf+Cl32JF9DDVw==",
1092 | "dev": true
1093 | }
1094 | },
1095 | "dependencies": {
1096 | "@codemirror/autocomplete": {
1097 | "version": "6.4.2",
1098 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/autocomplete/-/autocomplete-6.4.2.tgz",
1099 | "integrity": "sha512-8WE2xp+D0MpWEv5lZ6zPW1/tf4AGb358T5GWYiKEuCP8MvFfT3tH2mIF9Y2yr2e3KbHuSvsVhosiEyqCpiJhZQ==",
1100 | "dev": true,
1101 | "requires": {
1102 | "@codemirror/language": "^6.0.0",
1103 | "@codemirror/state": "^6.0.0",
1104 | "@codemirror/view": "^6.6.0",
1105 | "@lezer/common": "^1.0.0"
1106 | }
1107 | },
1108 | "@codemirror/commands": {
1109 | "version": "6.2.1",
1110 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/commands/-/commands-6.2.1.tgz",
1111 | "integrity": "sha512-FFiNKGuHA5O8uC6IJE5apI5rT9gyjlw4whqy4vlcX0wE/myxL6P1s0upwDhY4HtMWLOwzwsp0ap3bjdQhvfDOA==",
1112 | "dev": true,
1113 | "peer": true,
1114 | "requires": {
1115 | "@codemirror/language": "^6.0.0",
1116 | "@codemirror/state": "^6.2.0",
1117 | "@codemirror/view": "^6.0.0",
1118 | "@lezer/common": "^1.0.0"
1119 | }
1120 | },
1121 | "@codemirror/lang-css": {
1122 | "version": "6.1.1",
1123 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/lang-css/-/lang-css-6.1.1.tgz",
1124 | "integrity": "sha512-P6jdNEHyRcqqDgbvHYyC9Wxkek0rnG3a9aVSRi4a7WrjPbQtBTaOmvYpXmm13zZMAatO4Oqpac+0QZs7sy+LnQ==",
1125 | "dev": true,
1126 | "requires": {
1127 | "@codemirror/autocomplete": "^6.0.0",
1128 | "@codemirror/language": "^6.0.0",
1129 | "@codemirror/state": "^6.0.0",
1130 | "@lezer/css": "^1.0.0"
1131 | }
1132 | },
1133 | "@codemirror/lang-html": {
1134 | "version": "6.4.2",
1135 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/lang-html/-/lang-html-6.4.2.tgz",
1136 | "integrity": "sha512-bqCBASkteKySwtIbiV/WCtGnn/khLRbbiV5TE+d9S9eQJD7BA4c5dTRm2b3bVmSpilff5EYxvB4PQaZzM/7cNw==",
1137 | "dev": true,
1138 | "requires": {
1139 | "@codemirror/autocomplete": "^6.0.0",
1140 | "@codemirror/lang-css": "^6.0.0",
1141 | "@codemirror/lang-javascript": "^6.0.0",
1142 | "@codemirror/language": "^6.4.0",
1143 | "@codemirror/state": "^6.0.0",
1144 | "@codemirror/view": "^6.2.2",
1145 | "@lezer/common": "^1.0.0",
1146 | "@lezer/css": "^1.1.0",
1147 | "@lezer/html": "^1.3.0"
1148 | }
1149 | },
1150 | "@codemirror/lang-javascript": {
1151 | "version": "6.1.4",
1152 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/lang-javascript/-/lang-javascript-6.1.4.tgz",
1153 | "integrity": "sha512-OxLf7OfOZBTMRMi6BO/F72MNGmgOd9B0vetOLvHsDACFXayBzW8fm8aWnDM0yuy68wTK03MBf4HbjSBNRG5q7A==",
1154 | "dev": true,
1155 | "requires": {
1156 | "@codemirror/autocomplete": "^6.0.0",
1157 | "@codemirror/language": "^6.6.0",
1158 | "@codemirror/lint": "^6.0.0",
1159 | "@codemirror/state": "^6.0.0",
1160 | "@codemirror/view": "^6.0.0",
1161 | "@lezer/common": "^1.0.0",
1162 | "@lezer/javascript": "^1.0.0"
1163 | }
1164 | },
1165 | "@codemirror/lang-json": {
1166 | "version": "6.0.1",
1167 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/lang-json/-/lang-json-6.0.1.tgz",
1168 | "integrity": "sha512-+T1flHdgpqDDlJZ2Lkil/rLiRy684WMLc74xUnjJH48GQdfJo/pudlTRreZmKwzP8/tGdKf83wlbAdOCzlJOGQ==",
1169 | "dev": true,
1170 | "requires": {
1171 | "@codemirror/language": "^6.0.0",
1172 | "@lezer/json": "^1.0.0"
1173 | }
1174 | },
1175 | "@codemirror/lang-xml": {
1176 | "version": "6.0.2",
1177 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/lang-xml/-/lang-xml-6.0.2.tgz",
1178 | "integrity": "sha512-JQYZjHL2LAfpiZI2/qZ/qzDuSqmGKMwyApYmEUUCTxLM4MWS7sATUEfIguZQr9Zjx/7gcdnewb039smF6nC2zw==",
1179 | "dev": true,
1180 | "requires": {
1181 | "@codemirror/autocomplete": "^6.0.0",
1182 | "@codemirror/language": "^6.4.0",
1183 | "@codemirror/state": "^6.0.0",
1184 | "@lezer/common": "^1.0.0",
1185 | "@lezer/xml": "^1.0.0"
1186 | }
1187 | },
1188 | "@codemirror/language": {
1189 | "version": "6.6.0",
1190 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/language/-/language-6.6.0.tgz",
1191 | "integrity": "sha512-cwUd6lzt3MfNYOobdjf14ZkLbJcnv4WtndYaoBkbor/vF+rCNguMPK0IRtvZJG4dsWiaWPcK8x1VijhvSxnstg==",
1192 | "dev": true,
1193 | "requires": {
1194 | "@codemirror/state": "^6.0.0",
1195 | "@codemirror/view": "^6.0.0",
1196 | "@lezer/common": "^1.0.0",
1197 | "@lezer/highlight": "^1.0.0",
1198 | "@lezer/lr": "^1.0.0",
1199 | "style-mod": "^4.0.0"
1200 | }
1201 | },
1202 | "@codemirror/lint": {
1203 | "version": "6.1.1",
1204 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/lint/-/lint-6.1.1.tgz",
1205 | "integrity": "sha512-e+M543x0NVHGayNHQzLP4XByJsvbu/ojY6+0VF2Y4Uu66Rt1nADuxNflZwECLf7gS009smIsptSUa6bUj/U/rw==",
1206 | "dev": true,
1207 | "requires": {
1208 | "@codemirror/state": "^6.0.0",
1209 | "@codemirror/view": "^6.0.0",
1210 | "crelt": "^1.0.5"
1211 | }
1212 | },
1213 | "@codemirror/search": {
1214 | "version": "6.2.3",
1215 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/search/-/search-6.2.3.tgz",
1216 | "integrity": "sha512-V9n9233lopQhB1dyjsBK2Wc1i+8hcCqxl1wQ46c5HWWLePoe4FluV3TGHoZ04rBRlGjNyz9DTmpJErig8UE4jw==",
1217 | "dev": true,
1218 | "peer": true,
1219 | "requires": {
1220 | "@codemirror/state": "^6.0.0",
1221 | "@codemirror/view": "^6.0.0",
1222 | "crelt": "^1.0.5"
1223 | }
1224 | },
1225 | "@codemirror/state": {
1226 | "version": "6.2.0",
1227 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/state/-/state-6.2.0.tgz",
1228 | "integrity": "sha512-69QXtcrsc3RYtOtd+GsvczJ319udtBf1PTrr2KbLWM/e2CXUPnh0Nz9AUo8WfhSQ7GeL8dPVNUmhQVgpmuaNGA==",
1229 | "dev": true
1230 | },
1231 | "@codemirror/view": {
1232 | "version": "6.9.1",
1233 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/view/-/view-6.9.1.tgz",
1234 | "integrity": "sha512-bzfSjJn9dAADVpabLKWKNmMG4ibyTV2e3eOGowjElNPTdTkSbi6ixPYHm2u0ADcETfKsi2/R84Rkmi91dH9yEg==",
1235 | "dev": true,
1236 | "requires": {
1237 | "@codemirror/state": "^6.1.4",
1238 | "style-mod": "^4.0.0",
1239 | "w3c-keyname": "^2.2.4"
1240 | }
1241 | },
1242 | "@esbuild/android-arm": {
1243 | "version": "0.15.18",
1244 | "resolved": "https://repo.huaweicloud.com/repository/npm/@esbuild/android-arm/-/android-arm-0.15.18.tgz",
1245 | "integrity": "sha512-5GT+kcs2WVGjVs7+boataCkO5Fg0y4kCjzkB5bAip7H4jfnOS3dA6KPiww9W1OEKTKeAcUVhdZGvgI65OXmUnw==",
1246 | "dev": true,
1247 | "optional": true
1248 | },
1249 | "@esbuild/linux-loong64": {
1250 | "version": "0.15.18",
1251 | "resolved": "https://repo.huaweicloud.com/repository/npm/@esbuild/linux-loong64/-/linux-loong64-0.15.18.tgz",
1252 | "integrity": "sha512-L4jVKS82XVhw2nvzLg/19ClLWg0y27ulRwuP7lcyL6AbUWB5aPglXY3M21mauDQMDfRLs8cQmeT03r/+X3cZYQ==",
1253 | "dev": true,
1254 | "optional": true
1255 | },
1256 | "@lezer/common": {
1257 | "version": "1.0.2",
1258 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/common/-/common-1.0.2.tgz",
1259 | "integrity": "sha512-SVgiGtMnMnW3ActR8SXgsDhw7a0w0ChHSYAyAUxxrOiJ1OqYWEKk/xJd84tTSPo1mo6DXLObAJALNnd0Hrv7Ng==",
1260 | "dev": true
1261 | },
1262 | "@lezer/css": {
1263 | "version": "1.1.1",
1264 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/css/-/css-1.1.1.tgz",
1265 | "integrity": "sha512-mSjx+unLLapEqdOYDejnGBokB5+AiJKZVclmud0MKQOKx3DLJ5b5VTCstgDDknR6iIV4gVrN6euzsCnj0A2gQA==",
1266 | "dev": true,
1267 | "requires": {
1268 | "@lezer/highlight": "^1.0.0",
1269 | "@lezer/lr": "^1.0.0"
1270 | }
1271 | },
1272 | "@lezer/highlight": {
1273 | "version": "1.1.3",
1274 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/highlight/-/highlight-1.1.3.tgz",
1275 | "integrity": "sha512-3vLKLPThO4td43lYRBygmMY18JN3CPh9w+XS2j8WC30vR4yZeFG4z1iFe4jXE43NtGqe//zHW5q8ENLlHvz9gw==",
1276 | "dev": true,
1277 | "requires": {
1278 | "@lezer/common": "^1.0.0"
1279 | }
1280 | },
1281 | "@lezer/html": {
1282 | "version": "1.3.2",
1283 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/html/-/html-1.3.2.tgz",
1284 | "integrity": "sha512-LKGyDdqqDugXR/lKM9FwaKEfMerbZ/aqvhLf0P1FLLK/pVP7wKHXGcg6g3cJ7ckvFidn0tXA8jioG0irVsCBAQ==",
1285 | "dev": true,
1286 | "requires": {
1287 | "@lezer/common": "^1.0.0",
1288 | "@lezer/highlight": "^1.0.0",
1289 | "@lezer/lr": "^1.0.0"
1290 | }
1291 | },
1292 | "@lezer/javascript": {
1293 | "version": "1.4.1",
1294 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/javascript/-/javascript-1.4.1.tgz",
1295 | "integrity": "sha512-Hqx36DJeYhKtdpc7wBYPR0XF56ZzIp0IkMO/zNNj80xcaFOV4Oj/P7TQc/8k2TxNhzl7tV5tXS8ZOCPbT4L3nA==",
1296 | "dev": true,
1297 | "requires": {
1298 | "@lezer/highlight": "^1.1.3",
1299 | "@lezer/lr": "^1.3.0"
1300 | }
1301 | },
1302 | "@lezer/json": {
1303 | "version": "1.0.0",
1304 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/json/-/json-1.0.0.tgz",
1305 | "integrity": "sha512-zbAuUY09RBzCoCA3lJ1+ypKw5WSNvLqGMtasdW6HvVOqZoCpPr8eWrsGnOVWGKGn8Rh21FnrKRVlJXrGAVUqRw==",
1306 | "dev": true,
1307 | "requires": {
1308 | "@lezer/highlight": "^1.0.0",
1309 | "@lezer/lr": "^1.0.0"
1310 | }
1311 | },
1312 | "@lezer/lr": {
1313 | "version": "1.3.3",
1314 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/lr/-/lr-1.3.3.tgz",
1315 | "integrity": "sha512-JPQe3mwJlzEVqy67iQiiGozhcngbO8QBgpqZM6oL1Wj/dXckrEexpBLeFkq0edtW5IqnPRFxA24BHJni8Js69w==",
1316 | "dev": true,
1317 | "requires": {
1318 | "@lezer/common": "^1.0.0"
1319 | }
1320 | },
1321 | "@lezer/xml": {
1322 | "version": "1.0.1",
1323 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/xml/-/xml-1.0.1.tgz",
1324 | "integrity": "sha512-jMDXrV953sDAUEMI25VNrI9dz94Ai96FfeglytFINhhwQ867HKlCE2jt3AwZTCT7M528WxdDWv/Ty8e9wizwmQ==",
1325 | "dev": true,
1326 | "requires": {
1327 | "@lezer/highlight": "^1.0.0",
1328 | "@lezer/lr": "^1.0.0"
1329 | }
1330 | },
1331 | "@sveltejs/vite-plugin-svelte": {
1332 | "version": "1.4.0",
1333 | "resolved": "https://repo.huaweicloud.com/repository/npm/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-1.4.0.tgz",
1334 | "integrity": "sha512-6QupI/jemMfK+yI2pMtJcu5iO2gtgTfcBdGwMZZt+lgbFELhszbDl6Qjh000HgAV8+XUA+8EY8DusOFk8WhOIg==",
1335 | "dev": true,
1336 | "requires": {
1337 | "debug": "^4.3.4",
1338 | "deepmerge": "^4.2.2",
1339 | "kleur": "^4.1.5",
1340 | "magic-string": "^0.26.7",
1341 | "svelte-hmr": "^0.15.1",
1342 | "vitefu": "^0.2.2"
1343 | }
1344 | },
1345 | "carbon-components-svelte": {
1346 | "version": "0.72.3",
1347 | "resolved": "https://repo.huaweicloud.com/repository/npm/carbon-components-svelte/-/carbon-components-svelte-0.72.3.tgz",
1348 | "integrity": "sha512-ill4KeWH7THXDLRfuxg0panknTvl75U54+6366yNmtkPbzmCqp/gw5aW3JPlJcOyYny1F9X+fTYY3kQkEigORA==",
1349 | "dev": true,
1350 | "requires": {
1351 | "flatpickr": "4.6.9"
1352 | }
1353 | },
1354 | "carbon-icons-svelte": {
1355 | "version": "11.4.0",
1356 | "resolved": "https://repo.huaweicloud.com/repository/npm/carbon-icons-svelte/-/carbon-icons-svelte-11.4.0.tgz",
1357 | "integrity": "sha512-p/llZde2kP2BI9SOqM+QFKGfQnYrW+4dVxF1rAYriEADXDsjt9EYlh+KpQ5qf4JpXAq+e2+TB/r/lIG1xdUbAQ==",
1358 | "dev": true
1359 | },
1360 | "codemirror": {
1361 | "version": "6.0.1",
1362 | "resolved": "https://repo.huaweicloud.com/repository/npm/codemirror/-/codemirror-6.0.1.tgz",
1363 | "integrity": "sha512-J8j+nZ+CdWmIeFIGXEFbFPtpiYacFMDR8GlHK3IyHQJMCaVRfGx9NT+Hxivv1ckLWPvNdZqndbr/7lVhrf/Svg==",
1364 | "dev": true,
1365 | "peer": true,
1366 | "requires": {
1367 | "@codemirror/autocomplete": "^6.0.0",
1368 | "@codemirror/commands": "^6.0.0",
1369 | "@codemirror/language": "^6.0.0",
1370 | "@codemirror/lint": "^6.0.0",
1371 | "@codemirror/search": "^6.0.0",
1372 | "@codemirror/state": "^6.0.0",
1373 | "@codemirror/view": "^6.0.0"
1374 | }
1375 | },
1376 | "crelt": {
1377 | "version": "1.0.5",
1378 | "resolved": "https://repo.huaweicloud.com/repository/npm/crelt/-/crelt-1.0.5.tgz",
1379 | "integrity": "sha512-+BO9wPPi+DWTDcNYhr/W90myha8ptzftZT+LwcmUbbok0rcP/fequmFYCw8NMoH7pkAZQzU78b3kYrlua5a9eA==",
1380 | "dev": true
1381 | },
1382 | "debug": {
1383 | "version": "4.3.4",
1384 | "resolved": "https://repo.huaweicloud.com/repository/npm/debug/-/debug-4.3.4.tgz",
1385 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
1386 | "dev": true,
1387 | "requires": {
1388 | "ms": "2.1.2"
1389 | }
1390 | },
1391 | "deepmerge": {
1392 | "version": "4.3.0",
1393 | "resolved": "https://repo.huaweicloud.com/repository/npm/deepmerge/-/deepmerge-4.3.0.tgz",
1394 | "integrity": "sha512-z2wJZXrmeHdvYJp/Ux55wIjqo81G5Bp4c+oELTW+7ar6SogWHajt5a9gO3s3IDaGSAXjDk0vlQKN3rms8ab3og==",
1395 | "dev": true
1396 | },
1397 | "esbuild": {
1398 | "version": "0.15.18",
1399 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild/-/esbuild-0.15.18.tgz",
1400 | "integrity": "sha512-x/R72SmW3sSFRm5zrrIjAhCeQSAWoni3CmHEqfQrZIQTM3lVCdehdwuIqaOtfC2slvpdlLa62GYoN8SxT23m6Q==",
1401 | "dev": true,
1402 | "requires": {
1403 | "@esbuild/android-arm": "0.15.18",
1404 | "@esbuild/linux-loong64": "0.15.18",
1405 | "esbuild-android-64": "0.15.18",
1406 | "esbuild-android-arm64": "0.15.18",
1407 | "esbuild-darwin-64": "0.15.18",
1408 | "esbuild-darwin-arm64": "0.15.18",
1409 | "esbuild-freebsd-64": "0.15.18",
1410 | "esbuild-freebsd-arm64": "0.15.18",
1411 | "esbuild-linux-32": "0.15.18",
1412 | "esbuild-linux-64": "0.15.18",
1413 | "esbuild-linux-arm": "0.15.18",
1414 | "esbuild-linux-arm64": "0.15.18",
1415 | "esbuild-linux-mips64le": "0.15.18",
1416 | "esbuild-linux-ppc64le": "0.15.18",
1417 | "esbuild-linux-riscv64": "0.15.18",
1418 | "esbuild-linux-s390x": "0.15.18",
1419 | "esbuild-netbsd-64": "0.15.18",
1420 | "esbuild-openbsd-64": "0.15.18",
1421 | "esbuild-sunos-64": "0.15.18",
1422 | "esbuild-windows-32": "0.15.18",
1423 | "esbuild-windows-64": "0.15.18",
1424 | "esbuild-windows-arm64": "0.15.18"
1425 | }
1426 | },
1427 | "esbuild-android-64": {
1428 | "version": "0.15.18",
1429 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-android-64/-/esbuild-android-64-0.15.18.tgz",
1430 | "integrity": "sha512-wnpt3OXRhcjfIDSZu9bnzT4/TNTDsOUvip0foZOUBG7QbSt//w3QV4FInVJxNhKc/ErhUxc5z4QjHtMi7/TbgA==",
1431 | "dev": true,
1432 | "optional": true
1433 | },
1434 | "esbuild-android-arm64": {
1435 | "version": "0.15.18",
1436 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-android-arm64/-/esbuild-android-arm64-0.15.18.tgz",
1437 | "integrity": "sha512-G4xu89B8FCzav9XU8EjsXacCKSG2FT7wW9J6hOc18soEHJdtWu03L3TQDGf0geNxfLTtxENKBzMSq9LlbjS8OQ==",
1438 | "dev": true,
1439 | "optional": true
1440 | },
1441 | "esbuild-darwin-64": {
1442 | "version": "0.15.18",
1443 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-darwin-64/-/esbuild-darwin-64-0.15.18.tgz",
1444 | "integrity": "sha512-2WAvs95uPnVJPuYKP0Eqx+Dl/jaYseZEUUT1sjg97TJa4oBtbAKnPnl3b5M9l51/nbx7+QAEtuummJZW0sBEmg==",
1445 | "dev": true,
1446 | "optional": true
1447 | },
1448 | "esbuild-darwin-arm64": {
1449 | "version": "0.15.18",
1450 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.18.tgz",
1451 | "integrity": "sha512-tKPSxcTJ5OmNb1btVikATJ8NftlyNlc8BVNtyT/UAr62JFOhwHlnoPrhYWz09akBLHI9nElFVfWSTSRsrZiDUA==",
1452 | "dev": true,
1453 | "optional": true
1454 | },
1455 | "esbuild-freebsd-64": {
1456 | "version": "0.15.18",
1457 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.18.tgz",
1458 | "integrity": "sha512-TT3uBUxkteAjR1QbsmvSsjpKjOX6UkCstr8nMr+q7zi3NuZ1oIpa8U41Y8I8dJH2fJgdC3Dj3CXO5biLQpfdZA==",
1459 | "dev": true,
1460 | "optional": true
1461 | },
1462 | "esbuild-freebsd-arm64": {
1463 | "version": "0.15.18",
1464 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.18.tgz",
1465 | "integrity": "sha512-R/oVr+X3Tkh+S0+tL41wRMbdWtpWB8hEAMsOXDumSSa6qJR89U0S/PpLXrGF7Wk/JykfpWNokERUpCeHDl47wA==",
1466 | "dev": true,
1467 | "optional": true
1468 | },
1469 | "esbuild-linux-32": {
1470 | "version": "0.15.18",
1471 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-32/-/esbuild-linux-32-0.15.18.tgz",
1472 | "integrity": "sha512-lphF3HiCSYtaa9p1DtXndiQEeQDKPl9eN/XNoBf2amEghugNuqXNZA/ZovthNE2aa4EN43WroO0B85xVSjYkbg==",
1473 | "dev": true,
1474 | "optional": true
1475 | },
1476 | "esbuild-linux-64": {
1477 | "version": "0.15.18",
1478 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-64/-/esbuild-linux-64-0.15.18.tgz",
1479 | "integrity": "sha512-hNSeP97IviD7oxLKFuii5sDPJ+QHeiFTFLoLm7NZQligur8poNOWGIgpQ7Qf8Balb69hptMZzyOBIPtY09GZYw==",
1480 | "dev": true,
1481 | "optional": true
1482 | },
1483 | "esbuild-linux-arm": {
1484 | "version": "0.15.18",
1485 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-arm/-/esbuild-linux-arm-0.15.18.tgz",
1486 | "integrity": "sha512-UH779gstRblS4aoS2qpMl3wjg7U0j+ygu3GjIeTonCcN79ZvpPee12Qun3vcdxX+37O5LFxz39XeW2I9bybMVA==",
1487 | "dev": true,
1488 | "optional": true
1489 | },
1490 | "esbuild-linux-arm64": {
1491 | "version": "0.15.18",
1492 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.18.tgz",
1493 | "integrity": "sha512-54qr8kg/6ilcxd+0V3h9rjT4qmjc0CccMVWrjOEM/pEcUzt8X62HfBSeZfT2ECpM7104mk4yfQXkosY8Quptug==",
1494 | "dev": true,
1495 | "optional": true
1496 | },
1497 | "esbuild-linux-mips64le": {
1498 | "version": "0.15.18",
1499 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.18.tgz",
1500 | "integrity": "sha512-Mk6Ppwzzz3YbMl/ZZL2P0q1tnYqh/trYZ1VfNP47C31yT0K8t9s7Z077QrDA/guU60tGNp2GOwCQnp+DYv7bxQ==",
1501 | "dev": true,
1502 | "optional": true
1503 | },
1504 | "esbuild-linux-ppc64le": {
1505 | "version": "0.15.18",
1506 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.18.tgz",
1507 | "integrity": "sha512-b0XkN4pL9WUulPTa/VKHx2wLCgvIAbgwABGnKMY19WhKZPT+8BxhZdqz6EgkqCLld7X5qiCY2F/bfpUUlnFZ9w==",
1508 | "dev": true,
1509 | "optional": true
1510 | },
1511 | "esbuild-linux-riscv64": {
1512 | "version": "0.15.18",
1513 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.18.tgz",
1514 | "integrity": "sha512-ba2COaoF5wL6VLZWn04k+ACZjZ6NYniMSQStodFKH/Pu6RxzQqzsmjR1t9QC89VYJxBeyVPTaHuBMCejl3O/xg==",
1515 | "dev": true,
1516 | "optional": true
1517 | },
1518 | "esbuild-linux-s390x": {
1519 | "version": "0.15.18",
1520 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.18.tgz",
1521 | "integrity": "sha512-VbpGuXEl5FCs1wDVp93O8UIzl3ZrglgnSQ+Hu79g7hZu6te6/YHgVJxCM2SqfIila0J3k0csfnf8VD2W7u2kzQ==",
1522 | "dev": true,
1523 | "optional": true
1524 | },
1525 | "esbuild-netbsd-64": {
1526 | "version": "0.15.18",
1527 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.18.tgz",
1528 | "integrity": "sha512-98ukeCdvdX7wr1vUYQzKo4kQ0N2p27H7I11maINv73fVEXt2kyh4K4m9f35U1K43Xc2QGXlzAw0K9yoU7JUjOg==",
1529 | "dev": true,
1530 | "optional": true
1531 | },
1532 | "esbuild-openbsd-64": {
1533 | "version": "0.15.18",
1534 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.18.tgz",
1535 | "integrity": "sha512-yK5NCcH31Uae076AyQAXeJzt/vxIo9+omZRKj1pauhk3ITuADzuOx5N2fdHrAKPxN+zH3w96uFKlY7yIn490xQ==",
1536 | "dev": true,
1537 | "optional": true
1538 | },
1539 | "esbuild-sunos-64": {
1540 | "version": "0.15.18",
1541 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-sunos-64/-/esbuild-sunos-64-0.15.18.tgz",
1542 | "integrity": "sha512-On22LLFlBeLNj/YF3FT+cXcyKPEI263nflYlAhz5crxtp3yRG1Ugfr7ITyxmCmjm4vbN/dGrb/B7w7U8yJR9yw==",
1543 | "dev": true,
1544 | "optional": true
1545 | },
1546 | "esbuild-windows-32": {
1547 | "version": "0.15.18",
1548 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-windows-32/-/esbuild-windows-32-0.15.18.tgz",
1549 | "integrity": "sha512-o+eyLu2MjVny/nt+E0uPnBxYuJHBvho8vWsC2lV61A7wwTWC3jkN2w36jtA+yv1UgYkHRihPuQsL23hsCYGcOQ==",
1550 | "dev": true,
1551 | "optional": true
1552 | },
1553 | "esbuild-windows-64": {
1554 | "version": "0.15.18",
1555 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-windows-64/-/esbuild-windows-64-0.15.18.tgz",
1556 | "integrity": "sha512-qinug1iTTaIIrCorAUjR0fcBk24fjzEedFYhhispP8Oc7SFvs+XeW3YpAKiKp8dRpizl4YYAhxMjlftAMJiaUw==",
1557 | "dev": true,
1558 | "optional": true
1559 | },
1560 | "esbuild-windows-arm64": {
1561 | "version": "0.15.18",
1562 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.18.tgz",
1563 | "integrity": "sha512-q9bsYzegpZcLziq0zgUi5KqGVtfhjxGbnksaBFYmWLxeV/S1fK4OLdq2DFYnXcLMjlZw2L0jLsk1eGoB522WXQ==",
1564 | "dev": true,
1565 | "optional": true
1566 | },
1567 | "flatpickr": {
1568 | "version": "4.6.9",
1569 | "resolved": "https://repo.huaweicloud.com/repository/npm/flatpickr/-/flatpickr-4.6.9.tgz",
1570 | "integrity": "sha512-F0azNNi8foVWKSF+8X+ZJzz8r9sE1G4hl06RyceIaLvyltKvDl6vqk9Lm/6AUUCi5HWaIjiUbk7UpeE/fOXOpw==",
1571 | "dev": true
1572 | },
1573 | "fsevents": {
1574 | "version": "2.3.2",
1575 | "resolved": "https://repo.huaweicloud.com/repository/npm/fsevents/-/fsevents-2.3.2.tgz",
1576 | "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
1577 | "dev": true,
1578 | "optional": true
1579 | },
1580 | "function-bind": {
1581 | "version": "1.1.1",
1582 | "resolved": "https://repo.huaweicloud.com/repository/npm/function-bind/-/function-bind-1.1.1.tgz",
1583 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
1584 | "dev": true
1585 | },
1586 | "has": {
1587 | "version": "1.0.3",
1588 | "resolved": "https://repo.huaweicloud.com/repository/npm/has/-/has-1.0.3.tgz",
1589 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
1590 | "dev": true,
1591 | "requires": {
1592 | "function-bind": "^1.1.1"
1593 | }
1594 | },
1595 | "is-core-module": {
1596 | "version": "2.11.0",
1597 | "resolved": "https://repo.huaweicloud.com/repository/npm/is-core-module/-/is-core-module-2.11.0.tgz",
1598 | "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==",
1599 | "dev": true,
1600 | "requires": {
1601 | "has": "^1.0.3"
1602 | }
1603 | },
1604 | "kleur": {
1605 | "version": "4.1.5",
1606 | "resolved": "https://repo.huaweicloud.com/repository/npm/kleur/-/kleur-4.1.5.tgz",
1607 | "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==",
1608 | "dev": true
1609 | },
1610 | "magic-string": {
1611 | "version": "0.26.7",
1612 | "resolved": "https://repo.huaweicloud.com/repository/npm/magic-string/-/magic-string-0.26.7.tgz",
1613 | "integrity": "sha512-hX9XH3ziStPoPhJxLq1syWuZMxbDvGNbVchfrdCtanC7D13888bMFow61x8axrx+GfHLtVeAx2kxL7tTGRl+Ow==",
1614 | "dev": true,
1615 | "requires": {
1616 | "sourcemap-codec": "^1.4.8"
1617 | }
1618 | },
1619 | "ms": {
1620 | "version": "2.1.2",
1621 | "resolved": "https://repo.huaweicloud.com/repository/npm/ms/-/ms-2.1.2.tgz",
1622 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
1623 | "dev": true
1624 | },
1625 | "nanoid": {
1626 | "version": "3.3.4",
1627 | "resolved": "https://repo.huaweicloud.com/repository/npm/nanoid/-/nanoid-3.3.4.tgz",
1628 | "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==",
1629 | "dev": true
1630 | },
1631 | "path-parse": {
1632 | "version": "1.0.7",
1633 | "resolved": "https://repo.huaweicloud.com/repository/npm/path-parse/-/path-parse-1.0.7.tgz",
1634 | "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
1635 | "dev": true
1636 | },
1637 | "picocolors": {
1638 | "version": "1.0.0",
1639 | "resolved": "https://repo.huaweicloud.com/repository/npm/picocolors/-/picocolors-1.0.0.tgz",
1640 | "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
1641 | "dev": true
1642 | },
1643 | "postcss": {
1644 | "version": "8.4.21",
1645 | "resolved": "https://repo.huaweicloud.com/repository/npm/postcss/-/postcss-8.4.21.tgz",
1646 | "integrity": "sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==",
1647 | "dev": true,
1648 | "requires": {
1649 | "nanoid": "^3.3.4",
1650 | "picocolors": "^1.0.0",
1651 | "source-map-js": "^1.0.2"
1652 | }
1653 | },
1654 | "resolve": {
1655 | "version": "1.22.1",
1656 | "resolved": "https://repo.huaweicloud.com/repository/npm/resolve/-/resolve-1.22.1.tgz",
1657 | "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==",
1658 | "dev": true,
1659 | "requires": {
1660 | "is-core-module": "^2.9.0",
1661 | "path-parse": "^1.0.7",
1662 | "supports-preserve-symlinks-flag": "^1.0.0"
1663 | }
1664 | },
1665 | "rollup": {
1666 | "version": "2.79.1",
1667 | "resolved": "https://repo.huaweicloud.com/repository/npm/rollup/-/rollup-2.79.1.tgz",
1668 | "integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==",
1669 | "dev": true,
1670 | "requires": {
1671 | "fsevents": "~2.3.2"
1672 | }
1673 | },
1674 | "source-map-js": {
1675 | "version": "1.0.2",
1676 | "resolved": "https://repo.huaweicloud.com/repository/npm/source-map-js/-/source-map-js-1.0.2.tgz",
1677 | "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
1678 | "dev": true
1679 | },
1680 | "sourcemap-codec": {
1681 | "version": "1.4.8",
1682 | "resolved": "https://repo.huaweicloud.com/repository/npm/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz",
1683 | "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==",
1684 | "dev": true
1685 | },
1686 | "style-mod": {
1687 | "version": "4.0.0",
1688 | "resolved": "https://repo.huaweicloud.com/repository/npm/style-mod/-/style-mod-4.0.0.tgz",
1689 | "integrity": "sha512-OPhtyEjyyN9x3nhPsu76f52yUGXiZcgvsrFVtvTkyGRQJ0XK+GPc6ov1z+lRpbeabka+MYEQxOYRnt5nF30aMw==",
1690 | "dev": true
1691 | },
1692 | "supports-preserve-symlinks-flag": {
1693 | "version": "1.0.0",
1694 | "resolved": "https://repo.huaweicloud.com/repository/npm/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
1695 | "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
1696 | "dev": true
1697 | },
1698 | "svelte": {
1699 | "version": "3.55.1",
1700 | "resolved": "https://repo.huaweicloud.com/repository/npm/svelte/-/svelte-3.55.1.tgz",
1701 | "integrity": "sha512-S+87/P0Ve67HxKkEV23iCdAh/SX1xiSfjF1HOglno/YTbSTW7RniICMCofWGdJJbdjw3S+0PfFb1JtGfTXE0oQ==",
1702 | "dev": true
1703 | },
1704 | "svelte-codemirror-editor": {
1705 | "version": "1.1.0",
1706 | "resolved": "https://repo.huaweicloud.com/repository/npm/svelte-codemirror-editor/-/svelte-codemirror-editor-1.1.0.tgz",
1707 | "integrity": "sha512-wFdMIsZds5qzn3x2NbFUxDVU6Cn3rwFdq0035ypaFVgzTjJ90bnPm6IbrFA4OJz1ngIyfbIuPAPDjm7rJIr0gg==",
1708 | "dev": true,
1709 | "requires": {}
1710 | },
1711 | "svelte-hmr": {
1712 | "version": "0.15.1",
1713 | "resolved": "https://repo.huaweicloud.com/repository/npm/svelte-hmr/-/svelte-hmr-0.15.1.tgz",
1714 | "integrity": "sha512-BiKB4RZ8YSwRKCNVdNxK/GfY+r4Kjgp9jCLEy0DuqAKfmQtpL38cQK3afdpjw4sqSs4PLi3jIPJIFp259NkZtA==",
1715 | "dev": true,
1716 | "requires": {}
1717 | },
1718 | "vite": {
1719 | "version": "3.2.5",
1720 | "resolved": "https://repo.huaweicloud.com/repository/npm/vite/-/vite-3.2.5.tgz",
1721 | "integrity": "sha512-4mVEpXpSOgrssFZAOmGIr85wPHKvaDAcXqxVxVRZhljkJOMZi1ibLibzjLHzJvcok8BMguLc7g1W6W/GqZbLdQ==",
1722 | "dev": true,
1723 | "requires": {
1724 | "esbuild": "^0.15.9",
1725 | "fsevents": "~2.3.2",
1726 | "postcss": "^8.4.18",
1727 | "resolve": "^1.22.1",
1728 | "rollup": "^2.79.1"
1729 | }
1730 | },
1731 | "vitefu": {
1732 | "version": "0.2.4",
1733 | "resolved": "https://repo.huaweicloud.com/repository/npm/vitefu/-/vitefu-0.2.4.tgz",
1734 | "integrity": "sha512-fanAXjSaf9xXtOOeno8wZXIhgia+CZury481LsDaV++lSvcU2R9Ch2bPh3PYFyoHW+w9LqAeYRISVQjUIew14g==",
1735 | "dev": true,
1736 | "requires": {}
1737 | },
1738 | "w3c-keyname": {
1739 | "version": "2.2.6",
1740 | "resolved": "https://repo.huaweicloud.com/repository/npm/w3c-keyname/-/w3c-keyname-2.2.6.tgz",
1741 | "integrity": "sha512-f+fciywl1SJEniZHD6H+kUO8gOnwIr7f4ijKA6+ZvJFjeGi1r4PDLl53Ayud9O/rk64RqgoQine0feoeOU0kXg==",
1742 | "dev": true
1743 | },
1744 | "yootils": {
1745 | "version": "0.3.1",
1746 | "resolved": "https://mirrors.cloud.tencent.com/npm/yootils/-/yootils-0.3.1.tgz",
1747 | "integrity": "sha512-A7AMeJfGefk317I/3tBoUYRcDcNavKEkpiPN/nQsBz/viI2GvT7BtrqdPD6rGqBFN8Ax7v4obf+Cl32JF9DDVw==",
1748 | "dev": true
1749 | }
1750 | }
1751 | }
1752 |
--------------------------------------------------------------------------------
/frontend/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "frontend",
3 | "private": true,
4 | "version": "0.0.0",
5 | "type": "module",
6 | "scripts": {
7 | "dev": "vite",
8 | "build": "vite build",
9 | "preview": "vite preview"
10 | },
11 | "devDependencies": {
12 | "@codemirror/lang-html": "^6.4.2",
13 | "@codemirror/lang-javascript": "^6.1.4",
14 | "@codemirror/lang-json": "^6.0.1",
15 | "@codemirror/lang-xml": "^6.0.2",
16 | "@sveltejs/vite-plugin-svelte": "^1.0.1",
17 | "carbon-components-svelte": "^0.72.3",
18 | "carbon-icons-svelte": "^11.4.0",
19 | "svelte": "^3.49.0",
20 | "svelte-codemirror-editor": "^1.1.0",
21 | "vite": "^3.0.0",
22 | "yootils": "^0.3.1"
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/frontend/package.json.md5:
--------------------------------------------------------------------------------
1 | b2f00d2f5c2b4a7722bd7bf3bd2fecff
--------------------------------------------------------------------------------
/frontend/src/App.svelte:
--------------------------------------------------------------------------------
1 |
84 |
85 |
88 |
89 |
94 | {#each options as op}
95 |
96 | {/each}
97 |
98 |
99 |
100 |
109 |
120 |
121 |
122 |
123 |
125 |
--------------------------------------------------------------------------------
/frontend/src/Head.svelte:
--------------------------------------------------------------------------------
1 |
15 |
16 | {url}
17 |
18 |
console.log("theMethod", theMethod)}
22 | bind:selected={theMethod}
23 | >
24 | {#each methods as m}
25 |
26 | {/each}
27 |
28 |
29 |
36 |
37 |
{btnValue}
38 |
39 |
40 |
66 |
--------------------------------------------------------------------------------
/frontend/src/Request.svelte:
--------------------------------------------------------------------------------
1 |
17 |
18 |
19 | {#if selectOption == "Body"}
20 |
21 | {/if}
22 |
23 | {#if selectOption == "Headers"}
24 | Headers
25 |
26 | {/if}
27 | {#if selectOption == "Params"}
28 | Query Params
29 |
30 | {/if}
31 |
32 |
33 |
48 |
--------------------------------------------------------------------------------
/frontend/src/Response.svelte:
--------------------------------------------------------------------------------
1 |
25 |
26 |
27 | {#if result}
28 |
29 | Status: {responseStatus}
31 | Time: {time}
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 | (outputType = "raw")}
43 | kind="tertiary"
44 | size="small"
45 | style="font-size: small;width:10px;border-radius: 20px;text-align:center"
46 | >Raw
48 | (outputType = "pretty")}
50 | kind="tertiary"
51 | size="small"
52 | style="font-size: small;width:10px; margin-bottom: 5px;border-radius: 20px;text-align:center"
53 | >Pretty
55 |
56 | {#if outputType == "pretty" && responseContentType.startsWith("application/json")}
57 |
64 | {:else}
65 |
66 | {/if}
67 |
68 |
69 |
74 |
75 |
76 |
77 | {:else if isLoading}
78 |
79 | {:else}
80 | Response
81 | {#if isError}
82 |
89 | {/if}
90 |
91 | {/if}
92 |
93 |
94 |
110 |
--------------------------------------------------------------------------------
/frontend/src/assets/fonts/OFL.txt:
--------------------------------------------------------------------------------
1 | Copyright 2016 The Nunito Project Authors (contact@sansoxygen.com),
2 |
3 | This Font Software is licensed under the SIL Open Font License, Version 1.1.
4 | This license is copied below, and is also available with a FAQ at:
5 | http://scripts.sil.org/OFL
6 |
7 |
8 | -----------------------------------------------------------
9 | SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10 | -----------------------------------------------------------
11 |
12 | PREAMBLE
13 | The goals of the Open Font License (OFL) are to stimulate worldwide
14 | development of collaborative font projects, to support the font creation
15 | efforts of academic and linguistic communities, and to provide a free and
16 | open framework in which fonts may be shared and improved in partnership
17 | with others.
18 |
19 | The OFL allows the licensed fonts to be used, studied, modified and
20 | redistributed freely as long as they are not sold by themselves. The
21 | fonts, including any derivative works, can be bundled, embedded,
22 | redistributed and/or sold with any software provided that any reserved
23 | names are not used by derivative works. The fonts and derivatives,
24 | however, cannot be released under any other type of license. The
25 | requirement for fonts to remain under this license does not apply
26 | to any document created using the fonts or their derivatives.
27 |
28 | DEFINITIONS
29 | "Font Software" refers to the set of files released by the Copyright
30 | Holder(s) under this license and clearly marked as such. This may
31 | include source files, build scripts and documentation.
32 |
33 | "Reserved Font Name" refers to any names specified as such after the
34 | copyright statement(s).
35 |
36 | "Original Version" refers to the collection of Font Software components as
37 | distributed by the Copyright Holder(s).
38 |
39 | "Modified Version" refers to any derivative made by adding to, deleting,
40 | or substituting -- in part or in whole -- any of the components of the
41 | Original Version, by changing formats or by porting the Font Software to a
42 | new environment.
43 |
44 | "Author" refers to any designer, engineer, programmer, technical
45 | writer or other person who contributed to the Font Software.
46 |
47 | PERMISSION & CONDITIONS
48 | Permission is hereby granted, free of charge, to any person obtaining
49 | a copy of the Font Software, to use, study, copy, merge, embed, modify,
50 | redistribute, and sell modified and unmodified copies of the Font
51 | Software, subject to the following conditions:
52 |
53 | 1) Neither the Font Software nor any of its individual components,
54 | in Original or Modified Versions, may be sold by itself.
55 |
56 | 2) Original or Modified Versions of the Font Software may be bundled,
57 | redistributed and/or sold with any software, provided that each copy
58 | contains the above copyright notice and this license. These can be
59 | included either as stand-alone text files, human-readable headers or
60 | in the appropriate machine-readable metadata fields within text or
61 | binary files as long as those fields can be easily viewed by the user.
62 |
63 | 3) No Modified Version of the Font Software may use the Reserved Font
64 | Name(s) unless explicit written permission is granted by the corresponding
65 | Copyright Holder. This restriction only applies to the primary font name as
66 | presented to the users.
67 |
68 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69 | Software shall not be used to promote, endorse or advertise any
70 | Modified Version, except to acknowledge the contribution(s) of the
71 | Copyright Holder(s) and the Author(s) or with their explicit written
72 | permission.
73 |
74 | 5) The Font Software, modified or unmodified, in part or in whole,
75 | must be distributed entirely under this license, and must not be
76 | distributed under any other license. The requirement for fonts to
77 | remain under this license does not apply to any document created
78 | using the Font Software.
79 |
80 | TERMINATION
81 | This license becomes null and void if any of the above conditions are
82 | not met.
83 |
84 | DISCLAIMER
85 | THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88 | OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89 | COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90 | INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91 | DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92 | FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93 | OTHER DEALINGS IN THE FONT SOFTWARE.
94 |
--------------------------------------------------------------------------------
/frontend/src/assets/fonts/nunito-v16-latin-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/obity/hiposter/13a750436fdfc774c2c3a824512d9ce6e5702d8e/frontend/src/assets/fonts/nunito-v16-latin-regular.woff2
--------------------------------------------------------------------------------
/frontend/src/assets/images/logo-universal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/obity/hiposter/13a750436fdfc774c2c3a824512d9ce6e5702d8e/frontend/src/assets/images/logo-universal.png
--------------------------------------------------------------------------------
/frontend/src/components/CodeEditor.svelte:
--------------------------------------------------------------------------------
1 |
31 |
32 |
33 |
48 |
49 |
50 |
58 |
--------------------------------------------------------------------------------
/frontend/src/components/HtmlEditor.svelte:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/frontend/src/components/JavaScriptEditor.svelte:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/frontend/src/components/JsonEditor.svelte:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/frontend/src/components/SplitPane.svelte:
--------------------------------------------------------------------------------
1 |
111 |
112 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 | {#if !fixed}
127 |
133 | {/if}
134 |
135 | {#if dragging}
136 |
137 | {/if}
138 |
139 |
140 |
236 |
--------------------------------------------------------------------------------
/frontend/src/components/XmlEditor.svelte:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/frontend/src/main.js:
--------------------------------------------------------------------------------
1 | import './style.css'
2 | import App from './App.svelte'
3 |
4 | const app = new App({
5 | target: document.getElementById('app')
6 | })
7 |
8 | export default app
9 |
--------------------------------------------------------------------------------
/frontend/src/requests/Body.svelte:
--------------------------------------------------------------------------------
1 |
25 |
26 | (value = "")}
28 | bind:selected={contentType}
29 | style="position:absolute;height:30px;"
30 | >
31 | {#each contentTypes as { k, v }}
32 |
33 | {/each}
34 |
35 |
53 |
54 |
62 |
--------------------------------------------------------------------------------
/frontend/src/requests/Headers.svelte:
--------------------------------------------------------------------------------
1 |
27 |
28 |
29 |
30 |
KEY
31 |
32 | VALUE
33 |
34 |
35 | {#each headers as { id, key, value } (id)}
36 |
37 |
45 |
46 |
54 |
55 | {/each}
56 |
57 |
66 |
73 |
74 |
75 |
106 |
--------------------------------------------------------------------------------
/frontend/src/requests/Params.svelte:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/frontend/src/requests/binaryInput.svelte:
--------------------------------------------------------------------------------
1 |
15 |
16 |
17 |
26 |
27 | (files = [])}
34 | icon={TrashCan}
35 | />
36 |
37 |
38 |
40 |
--------------------------------------------------------------------------------
/frontend/src/requests/otherInput.svelte:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
16 |
--------------------------------------------------------------------------------
/frontend/src/requests/urlencodedInput.svelte:
--------------------------------------------------------------------------------
1 |
38 |
39 |
40 |
41 |
KEY
42 |
43 | VALUE
44 |
45 |
46 | {#each headers as { id, key, value } (id)}
47 |
48 |
56 |
57 |
65 |
66 | {/each}
67 |
76 |
83 |
84 |
85 |
116 |
--------------------------------------------------------------------------------
/frontend/src/responses/bodyOutput.svelte:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
16 |
--------------------------------------------------------------------------------
/frontend/src/responses/headersOutput.svelte:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
KEY
10 |
11 | VALUE
12 |
13 |
14 | {#each headers as { key, value } (key)}
15 |
16 |
24 |
25 |
33 |
34 | {/each}
35 |
36 |
37 |
68 |
--------------------------------------------------------------------------------
/frontend/src/style.css:
--------------------------------------------------------------------------------
1 | html {
2 | /* background-color: rgba(27, 38, 54, 1); */
3 | text-align: center;
4 | /* color: white; */
5 | overflow: hidden;
6 | background: transparent;
7 |
8 | }
9 |
10 | body {
11 | margin: 0;
12 | /* color: white; */
13 | font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
14 | "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
15 | sans-serif;
16 | background: transparent;
17 |
18 | }
19 |
20 | @font-face {
21 | font-family: "Nunito";
22 | font-style: normal;
23 | font-weight: 400;
24 | src: local(""),
25 | url("assets/fonts/nunito-v16-latin-regular.woff2") format("woff2");
26 | }
27 |
28 | #app {
29 | height: 100vh;
30 | text-align: center;
31 | background: transparent;
32 | }
33 |
--------------------------------------------------------------------------------
/frontend/src/vite-env.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
--------------------------------------------------------------------------------
/frontend/vite.config.js:
--------------------------------------------------------------------------------
1 | import {defineConfig} from 'vite'
2 | import {svelte} from '@sveltejs/vite-plugin-svelte'
3 |
4 | // https://vitejs.dev/config/
5 | export default defineConfig({
6 | plugins: [svelte()]
7 | })
8 |
--------------------------------------------------------------------------------
/frontend/wailsjs/go/main/App.d.ts:
--------------------------------------------------------------------------------
1 | // Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
2 | // This file is automatically generated. DO NOT EDIT
3 | import {main} from '../models';
4 |
5 | export function Run(arg1:string,arg2:string,arg3:string,arg4:string,arg5:Array):Promise;
6 |
--------------------------------------------------------------------------------
/frontend/wailsjs/go/main/App.js:
--------------------------------------------------------------------------------
1 | // @ts-check
2 | // Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
3 | // This file is automatically generated. DO NOT EDIT
4 |
5 | export function Run(arg1, arg2, arg3, arg4, arg5) {
6 | return window['go']['main']['App']['Run'](arg1, arg2, arg3, arg4, arg5);
7 | }
8 |
--------------------------------------------------------------------------------
/frontend/wailsjs/go/models.ts:
--------------------------------------------------------------------------------
1 | export namespace main {
2 |
3 | export class Header {
4 | key: string;
5 | value: string;
6 |
7 | static createFrom(source: any = {}) {
8 | return new Header(source);
9 | }
10 |
11 | constructor(source: any = {}) {
12 | if ('string' === typeof source) source = JSON.parse(source);
13 | this.key = source["key"];
14 | this.value = source["value"];
15 | }
16 | }
17 | export class Result {
18 | statusCode: number;
19 | httpStatus: string;
20 | bodyContent: string;
21 | errorContent: string;
22 | contentType: string;
23 | headers: Header[];
24 |
25 | static createFrom(source: any = {}) {
26 | return new Result(source);
27 | }
28 |
29 | constructor(source: any = {}) {
30 | if ('string' === typeof source) source = JSON.parse(source);
31 | this.statusCode = source["statusCode"];
32 | this.httpStatus = source["httpStatus"];
33 | this.bodyContent = source["bodyContent"];
34 | this.errorContent = source["errorContent"];
35 | this.contentType = source["contentType"];
36 | this.headers = this.convertValues(source["headers"], Header);
37 | }
38 |
39 | convertValues(a: any, classs: any, asMap: boolean = false): any {
40 | if (!a) {
41 | return a;
42 | }
43 | if (a.slice) {
44 | return (a as any[]).map(elem => this.convertValues(elem, classs));
45 | } else if ("object" === typeof a) {
46 | if (asMap) {
47 | for (const key of Object.keys(a)) {
48 | a[key] = new classs(a[key]);
49 | }
50 | return a;
51 | }
52 | return new classs(a);
53 | }
54 | return a;
55 | }
56 | }
57 |
58 | }
59 |
60 |
--------------------------------------------------------------------------------
/frontend/wailsjs/runtime/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@wailsapp/runtime",
3 | "version": "2.0.0",
4 | "description": "Wails Javascript runtime library",
5 | "main": "runtime.js",
6 | "types": "runtime.d.ts",
7 | "scripts": {
8 | },
9 | "repository": {
10 | "type": "git",
11 | "url": "git+https://github.com/wailsapp/wails.git"
12 | },
13 | "keywords": [
14 | "Wails",
15 | "Javascript",
16 | "Go"
17 | ],
18 | "author": "Lea Anthony ",
19 | "license": "MIT",
20 | "bugs": {
21 | "url": "https://github.com/wailsapp/wails/issues"
22 | },
23 | "homepage": "https://github.com/wailsapp/wails#readme"
24 | }
25 |
--------------------------------------------------------------------------------
/frontend/wailsjs/runtime/runtime.d.ts:
--------------------------------------------------------------------------------
1 | /*
2 | _ __ _ __
3 | | | / /___ _(_) /____
4 | | | /| / / __ `/ / / ___/
5 | | |/ |/ / /_/ / / (__ )
6 | |__/|__/\__,_/_/_/____/
7 | The electron alternative for Go
8 | (c) Lea Anthony 2019-present
9 | */
10 |
11 | export interface Position {
12 | x: number;
13 | y: number;
14 | }
15 |
16 | export interface Size {
17 | w: number;
18 | h: number;
19 | }
20 |
21 | export interface Screen {
22 | isCurrent: boolean;
23 | isPrimary: boolean;
24 | width : number
25 | height : number
26 | }
27 |
28 | // Environment information such as platform, buildtype, ...
29 | export interface EnvironmentInfo {
30 | buildType: string;
31 | platform: string;
32 | arch: string;
33 | }
34 |
35 | // [EventsEmit](https://wails.io/docs/reference/runtime/events#eventsemit)
36 | // emits the given event. Optional data may be passed with the event.
37 | // This will trigger any event listeners.
38 | export function EventsEmit(eventName: string, ...data: any): void;
39 |
40 | // [EventsOn](https://wails.io/docs/reference/runtime/events#eventson) sets up a listener for the given event name.
41 | export function EventsOn(eventName: string, callback: (...data: any) => void): () => void;
42 |
43 | // [EventsOnMultiple](https://wails.io/docs/reference/runtime/events#eventsonmultiple)
44 | // sets up a listener for the given event name, but will only trigger a given number times.
45 | export function EventsOnMultiple(eventName: string, callback: (...data: any) => void, maxCallbacks: number): () => void;
46 |
47 | // [EventsOnce](https://wails.io/docs/reference/runtime/events#eventsonce)
48 | // sets up a listener for the given event name, but will only trigger once.
49 | export function EventsOnce(eventName: string, callback: (...data: any) => void): () => void;
50 |
51 | // [EventsOff](https://wails.io/docs/reference/runtime/events#eventsoff)
52 | // unregisters the listener for the given event name.
53 | export function EventsOff(eventName: string, ...additionalEventNames: string[]): void;
54 |
55 | // [EventsOffAll](https://wails.io/docs/reference/runtime/events#eventsoffall)
56 | // unregisters all listeners.
57 | export function EventsOffAll(): void;
58 |
59 | // [LogPrint](https://wails.io/docs/reference/runtime/log#logprint)
60 | // logs the given message as a raw message
61 | export function LogPrint(message: string): void;
62 |
63 | // [LogTrace](https://wails.io/docs/reference/runtime/log#logtrace)
64 | // logs the given message at the `trace` log level.
65 | export function LogTrace(message: string): void;
66 |
67 | // [LogDebug](https://wails.io/docs/reference/runtime/log#logdebug)
68 | // logs the given message at the `debug` log level.
69 | export function LogDebug(message: string): void;
70 |
71 | // [LogError](https://wails.io/docs/reference/runtime/log#logerror)
72 | // logs the given message at the `error` log level.
73 | export function LogError(message: string): void;
74 |
75 | // [LogFatal](https://wails.io/docs/reference/runtime/log#logfatal)
76 | // logs the given message at the `fatal` log level.
77 | // The application will quit after calling this method.
78 | export function LogFatal(message: string): void;
79 |
80 | // [LogInfo](https://wails.io/docs/reference/runtime/log#loginfo)
81 | // logs the given message at the `info` log level.
82 | export function LogInfo(message: string): void;
83 |
84 | // [LogWarning](https://wails.io/docs/reference/runtime/log#logwarning)
85 | // logs the given message at the `warning` log level.
86 | export function LogWarning(message: string): void;
87 |
88 | // [WindowReload](https://wails.io/docs/reference/runtime/window#windowreload)
89 | // Forces a reload by the main application as well as connected browsers.
90 | export function WindowReload(): void;
91 |
92 | // [WindowReloadApp](https://wails.io/docs/reference/runtime/window#windowreloadapp)
93 | // Reloads the application frontend.
94 | export function WindowReloadApp(): void;
95 |
96 | // [WindowSetAlwaysOnTop](https://wails.io/docs/reference/runtime/window#windowsetalwaysontop)
97 | // Sets the window AlwaysOnTop or not on top.
98 | export function WindowSetAlwaysOnTop(b: boolean): void;
99 |
100 | // [WindowSetSystemDefaultTheme](https://wails.io/docs/next/reference/runtime/window#windowsetsystemdefaulttheme)
101 | // *Windows only*
102 | // Sets window theme to system default (dark/light).
103 | export function WindowSetSystemDefaultTheme(): void;
104 |
105 | // [WindowSetLightTheme](https://wails.io/docs/next/reference/runtime/window#windowsetlighttheme)
106 | // *Windows only*
107 | // Sets window to light theme.
108 | export function WindowSetLightTheme(): void;
109 |
110 | // [WindowSetDarkTheme](https://wails.io/docs/next/reference/runtime/window#windowsetdarktheme)
111 | // *Windows only*
112 | // Sets window to dark theme.
113 | export function WindowSetDarkTheme(): void;
114 |
115 | // [WindowCenter](https://wails.io/docs/reference/runtime/window#windowcenter)
116 | // Centers the window on the monitor the window is currently on.
117 | export function WindowCenter(): void;
118 |
119 | // [WindowSetTitle](https://wails.io/docs/reference/runtime/window#windowsettitle)
120 | // Sets the text in the window title bar.
121 | export function WindowSetTitle(title: string): void;
122 |
123 | // [WindowFullscreen](https://wails.io/docs/reference/runtime/window#windowfullscreen)
124 | // Makes the window full screen.
125 | export function WindowFullscreen(): void;
126 |
127 | // [WindowUnfullscreen](https://wails.io/docs/reference/runtime/window#windowunfullscreen)
128 | // Restores the previous window dimensions and position prior to full screen.
129 | export function WindowUnfullscreen(): void;
130 |
131 | // [WindowIsFullscreen](https://wails.io/docs/reference/runtime/window#windowisfullscreen)
132 | // Returns the state of the window, i.e. whether the window is in full screen mode or not.
133 | export function WindowIsFullscreen(): Promise;
134 |
135 | // [WindowSetSize](https://wails.io/docs/reference/runtime/window#windowsetsize)
136 | // Sets the width and height of the window.
137 | export function WindowSetSize(width: number, height: number): Promise;
138 |
139 | // [WindowGetSize](https://wails.io/docs/reference/runtime/window#windowgetsize)
140 | // Gets the width and height of the window.
141 | export function WindowGetSize(): Promise;
142 |
143 | // [WindowSetMaxSize](https://wails.io/docs/reference/runtime/window#windowsetmaxsize)
144 | // Sets the maximum window size. Will resize the window if the window is currently larger than the given dimensions.
145 | // Setting a size of 0,0 will disable this constraint.
146 | export function WindowSetMaxSize(width: number, height: number): void;
147 |
148 | // [WindowSetMinSize](https://wails.io/docs/reference/runtime/window#windowsetminsize)
149 | // Sets the minimum window size. Will resize the window if the window is currently smaller than the given dimensions.
150 | // Setting a size of 0,0 will disable this constraint.
151 | export function WindowSetMinSize(width: number, height: number): void;
152 |
153 | // [WindowSetPosition](https://wails.io/docs/reference/runtime/window#windowsetposition)
154 | // Sets the window position relative to the monitor the window is currently on.
155 | export function WindowSetPosition(x: number, y: number): void;
156 |
157 | // [WindowGetPosition](https://wails.io/docs/reference/runtime/window#windowgetposition)
158 | // Gets the window position relative to the monitor the window is currently on.
159 | export function WindowGetPosition(): Promise;
160 |
161 | // [WindowHide](https://wails.io/docs/reference/runtime/window#windowhide)
162 | // Hides the window.
163 | export function WindowHide(): void;
164 |
165 | // [WindowShow](https://wails.io/docs/reference/runtime/window#windowshow)
166 | // Shows the window, if it is currently hidden.
167 | export function WindowShow(): void;
168 |
169 | // [WindowMaximise](https://wails.io/docs/reference/runtime/window#windowmaximise)
170 | // Maximises the window to fill the screen.
171 | export function WindowMaximise(): void;
172 |
173 | // [WindowToggleMaximise](https://wails.io/docs/reference/runtime/window#windowtogglemaximise)
174 | // Toggles between Maximised and UnMaximised.
175 | export function WindowToggleMaximise(): void;
176 |
177 | // [WindowUnmaximise](https://wails.io/docs/reference/runtime/window#windowunmaximise)
178 | // Restores the window to the dimensions and position prior to maximising.
179 | export function WindowUnmaximise(): void;
180 |
181 | // [WindowIsMaximised](https://wails.io/docs/reference/runtime/window#windowismaximised)
182 | // Returns the state of the window, i.e. whether the window is maximised or not.
183 | export function WindowIsMaximised(): Promise;
184 |
185 | // [WindowMinimise](https://wails.io/docs/reference/runtime/window#windowminimise)
186 | // Minimises the window.
187 | export function WindowMinimise(): void;
188 |
189 | // [WindowUnminimise](https://wails.io/docs/reference/runtime/window#windowunminimise)
190 | // Restores the window to the dimensions and position prior to minimising.
191 | export function WindowUnminimise(): void;
192 |
193 | // [WindowIsMinimised](https://wails.io/docs/reference/runtime/window#windowisminimised)
194 | // Returns the state of the window, i.e. whether the window is minimised or not.
195 | export function WindowIsMinimised(): Promise;
196 |
197 | // [WindowIsNormal](https://wails.io/docs/reference/runtime/window#windowisnormal)
198 | // Returns the state of the window, i.e. whether the window is normal or not.
199 | export function WindowIsNormal(): Promise;
200 |
201 | // [WindowSetBackgroundColour](https://wails.io/docs/reference/runtime/window#windowsetbackgroundcolour)
202 | // Sets the background colour of the window to the given RGBA colour definition. This colour will show through for all transparent pixels.
203 | export function WindowSetBackgroundColour(R: number, G: number, B: number, A: number): void;
204 |
205 | // [ScreenGetAll](https://wails.io/docs/reference/runtime/window#screengetall)
206 | // Gets the all screens. Call this anew each time you want to refresh data from the underlying windowing system.
207 | export function ScreenGetAll(): Promise;
208 |
209 | // [BrowserOpenURL](https://wails.io/docs/reference/runtime/browser#browseropenurl)
210 | // Opens the given URL in the system browser.
211 | export function BrowserOpenURL(url: string): void;
212 |
213 | // [Environment](https://wails.io/docs/reference/runtime/intro#environment)
214 | // Returns information about the environment
215 | export function Environment(): Promise;
216 |
217 | // [Quit](https://wails.io/docs/reference/runtime/intro#quit)
218 | // Quits the application.
219 | export function Quit(): void;
220 |
221 | // [Hide](https://wails.io/docs/reference/runtime/intro#hide)
222 | // Hides the application.
223 | export function Hide(): void;
224 |
225 | // [Show](https://wails.io/docs/reference/runtime/intro#show)
226 | // Shows the application.
227 | export function Show(): void;
228 |
229 | // [ClipboardGetText](https://wails.io/docs/reference/runtime/clipboard#clipboardgettext)
230 | // Returns the current text stored on clipboard
231 | export function ClipboardGetText(): Promise;
232 |
233 | // [ClipboardSetText](https://wails.io/docs/reference/runtime/clipboard#clipboardsettext)
234 | // Sets a text on the clipboard
235 | export function ClipboardSetText(text: string): Promise;
236 |
--------------------------------------------------------------------------------
/frontend/wailsjs/runtime/runtime.js:
--------------------------------------------------------------------------------
1 | /*
2 | _ __ _ __
3 | | | / /___ _(_) /____
4 | | | /| / / __ `/ / / ___/
5 | | |/ |/ / /_/ / / (__ )
6 | |__/|__/\__,_/_/_/____/
7 | The electron alternative for Go
8 | (c) Lea Anthony 2019-present
9 | */
10 |
11 | export function LogPrint(message) {
12 | window.runtime.LogPrint(message);
13 | }
14 |
15 | export function LogTrace(message) {
16 | window.runtime.LogTrace(message);
17 | }
18 |
19 | export function LogDebug(message) {
20 | window.runtime.LogDebug(message);
21 | }
22 |
23 | export function LogInfo(message) {
24 | window.runtime.LogInfo(message);
25 | }
26 |
27 | export function LogWarning(message) {
28 | window.runtime.LogWarning(message);
29 | }
30 |
31 | export function LogError(message) {
32 | window.runtime.LogError(message);
33 | }
34 |
35 | export function LogFatal(message) {
36 | window.runtime.LogFatal(message);
37 | }
38 |
39 | export function EventsOnMultiple(eventName, callback, maxCallbacks) {
40 | return window.runtime.EventsOnMultiple(eventName, callback, maxCallbacks);
41 | }
42 |
43 | export function EventsOn(eventName, callback) {
44 | return EventsOnMultiple(eventName, callback, -1);
45 | }
46 |
47 | export function EventsOff(eventName, ...additionalEventNames) {
48 | return window.runtime.EventsOff(eventName, ...additionalEventNames);
49 | }
50 |
51 | export function EventsOnce(eventName, callback) {
52 | return EventsOnMultiple(eventName, callback, 1);
53 | }
54 |
55 | export function EventsEmit(eventName) {
56 | let args = [eventName].slice.call(arguments);
57 | return window.runtime.EventsEmit.apply(null, args);
58 | }
59 |
60 | export function WindowReload() {
61 | window.runtime.WindowReload();
62 | }
63 |
64 | export function WindowReloadApp() {
65 | window.runtime.WindowReloadApp();
66 | }
67 |
68 | export function WindowSetAlwaysOnTop(b) {
69 | window.runtime.WindowSetAlwaysOnTop(b);
70 | }
71 |
72 | export function WindowSetSystemDefaultTheme() {
73 | window.runtime.WindowSetSystemDefaultTheme();
74 | }
75 |
76 | export function WindowSetLightTheme() {
77 | window.runtime.WindowSetLightTheme();
78 | }
79 |
80 | export function WindowSetDarkTheme() {
81 | window.runtime.WindowSetDarkTheme();
82 | }
83 |
84 | export function WindowCenter() {
85 | window.runtime.WindowCenter();
86 | }
87 |
88 | export function WindowSetTitle(title) {
89 | window.runtime.WindowSetTitle(title);
90 | }
91 |
92 | export function WindowFullscreen() {
93 | window.runtime.WindowFullscreen();
94 | }
95 |
96 | export function WindowUnfullscreen() {
97 | window.runtime.WindowUnfullscreen();
98 | }
99 |
100 | export function WindowIsFullscreen() {
101 | return window.runtime.WindowIsFullscreen();
102 | }
103 |
104 | export function WindowGetSize() {
105 | return window.runtime.WindowGetSize();
106 | }
107 |
108 | export function WindowSetSize(width, height) {
109 | window.runtime.WindowSetSize(width, height);
110 | }
111 |
112 | export function WindowSetMaxSize(width, height) {
113 | window.runtime.WindowSetMaxSize(width, height);
114 | }
115 |
116 | export function WindowSetMinSize(width, height) {
117 | window.runtime.WindowSetMinSize(width, height);
118 | }
119 |
120 | export function WindowSetPosition(x, y) {
121 | window.runtime.WindowSetPosition(x, y);
122 | }
123 |
124 | export function WindowGetPosition() {
125 | return window.runtime.WindowGetPosition();
126 | }
127 |
128 | export function WindowHide() {
129 | window.runtime.WindowHide();
130 | }
131 |
132 | export function WindowShow() {
133 | window.runtime.WindowShow();
134 | }
135 |
136 | export function WindowMaximise() {
137 | window.runtime.WindowMaximise();
138 | }
139 |
140 | export function WindowToggleMaximise() {
141 | window.runtime.WindowToggleMaximise();
142 | }
143 |
144 | export function WindowUnmaximise() {
145 | window.runtime.WindowUnmaximise();
146 | }
147 |
148 | export function WindowIsMaximised() {
149 | return window.runtime.WindowIsMaximised();
150 | }
151 |
152 | export function WindowMinimise() {
153 | window.runtime.WindowMinimise();
154 | }
155 |
156 | export function WindowUnminimise() {
157 | window.runtime.WindowUnminimise();
158 | }
159 |
160 | export function WindowSetBackgroundColour(R, G, B, A) {
161 | window.runtime.WindowSetBackgroundColour(R, G, B, A);
162 | }
163 |
164 | export function ScreenGetAll() {
165 | return window.runtime.ScreenGetAll();
166 | }
167 |
168 | export function WindowIsMinimised() {
169 | return window.runtime.WindowIsMinimised();
170 | }
171 |
172 | export function WindowIsNormal() {
173 | return window.runtime.WindowIsNormal();
174 | }
175 |
176 | export function BrowserOpenURL(url) {
177 | window.runtime.BrowserOpenURL(url);
178 | }
179 |
180 | export function Environment() {
181 | return window.runtime.Environment();
182 | }
183 |
184 | export function Quit() {
185 | window.runtime.Quit();
186 | }
187 |
188 | export function Hide() {
189 | window.runtime.Hide();
190 | }
191 |
192 | export function Show() {
193 | window.runtime.Show();
194 | }
195 |
196 | export function ClipboardGetText() {
197 | return window.runtime.ClipboardGetText();
198 | }
199 |
200 | export function ClipboardSetText(text) {
201 | return window.runtime.ClipboardSetText(text);
202 | }
--------------------------------------------------------------------------------
/go.mod:
--------------------------------------------------------------------------------
1 | module hiposter
2 |
3 | go 1.18
4 |
5 | require github.com/wailsapp/wails/v2 v2.5.1
6 |
7 | require (
8 | github.com/bep/debounce v1.2.1 // indirect
9 | github.com/go-ole/go-ole v1.2.6 // indirect
10 | github.com/google/uuid v1.3.0 // indirect
11 | github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e // indirect
12 | github.com/labstack/echo/v4 v4.10.2 // indirect
13 | github.com/labstack/gommon v0.4.0 // indirect
14 | github.com/leaanthony/go-ansi-parser v1.6.0 // indirect
15 | github.com/leaanthony/gosod v1.0.3 // indirect
16 | github.com/leaanthony/slicer v1.6.0 // indirect
17 | github.com/mattn/go-colorable v0.1.13 // indirect
18 | github.com/mattn/go-isatty v0.0.17 // indirect
19 | github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 // indirect
20 | github.com/pkg/errors v0.9.1 // indirect
21 | github.com/rivo/uniseg v0.4.4 // indirect
22 | github.com/samber/lo v1.37.0 // indirect
23 | github.com/tkrajina/go-reflector v0.5.6 // indirect
24 | github.com/valyala/bytebufferpool v1.0.0 // indirect
25 | github.com/valyala/fasttemplate v1.2.2 // indirect
26 | github.com/wailsapp/mimetype v1.4.1 // indirect
27 | golang.org/x/crypto v0.7.0 // indirect
28 | golang.org/x/exp v0.0.0-20230310171629-522b1b587ee0 // indirect
29 | golang.org/x/net v0.8.0 // indirect
30 | golang.org/x/sys v0.6.0 // indirect
31 | golang.org/x/text v0.8.0 // indirect
32 | )
33 |
34 | // replace github.com/wailsapp/wails/v2 v2.3.1 => /Users/lsmiao/workspace/pkg/mod
35 |
--------------------------------------------------------------------------------
/go.sum:
--------------------------------------------------------------------------------
1 | github.com/bep/debounce v1.2.1 h1:v67fRdBA9UQu2NhLFXrSg0Brw7CexQekrBwDMM8bzeY=
2 | github.com/bep/debounce v1.2.1/go.mod h1:H8yggRPQKLUhUoqrJC1bO2xNya7vanpDl7xR3ISbCJ0=
3 | github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
4 | github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
5 | github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
6 | github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
7 | github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
8 | github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
9 | github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
10 | github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e h1:Q3+PugElBCf4PFpxhErSzU3/PY5sFL5Z6rfv4AbGAck=
11 | github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e/go.mod h1:alcuEEnZsY1WQsagKhZDsoPCRoOijYqhZvPwLG0kzVs=
12 | github.com/labstack/echo/v4 v4.10.2 h1:n1jAhnq/elIFTHr1EYpiYtyKgx4RW9ccVgkqByZaN2M=
13 | github.com/labstack/echo/v4 v4.10.2/go.mod h1:OEyqf2//K1DFdE57vw2DRgWY0M7s65IVQO2FzvI4J5k=
14 | github.com/labstack/gommon v0.4.0 h1:y7cvthEAEbU0yHOf4axH8ZG2NH8knB9iNSoTO8dyIk8=
15 | github.com/labstack/gommon v0.4.0/go.mod h1:uW6kP17uPlLJsD3ijUYn3/M5bAxtlZhMI6m3MFxTMTM=
16 | github.com/leaanthony/debme v1.2.1 h1:9Tgwf+kjcrbMQ4WnPcEIUcQuIZYqdWftzZkBr+i/oOc=
17 | github.com/leaanthony/debme v1.2.1/go.mod h1:3V+sCm5tYAgQymvSOfYQ5Xx2JCr+OXiD9Jkw3otUjiA=
18 | github.com/leaanthony/go-ansi-parser v1.6.0 h1:T8TuMhFB6TUMIUm0oRrSbgJudTFw9csT3ZK09w0t4Pg=
19 | github.com/leaanthony/go-ansi-parser v1.6.0/go.mod h1:+vva/2y4alzVmmIEpk9QDhA7vLC5zKDTRwfZGOp3IWU=
20 | github.com/leaanthony/gosod v1.0.3 h1:Fnt+/B6NjQOVuCWOKYRREZnjGyvg+mEhd1nkkA04aTQ=
21 | github.com/leaanthony/gosod v1.0.3/go.mod h1:BJ2J+oHsQIyIQpnLPjnqFGTMnOZXDbvWtRCSG7jGxs4=
22 | github.com/leaanthony/slicer v1.5.0/go.mod h1:FwrApmf8gOrpzEWM2J/9Lh79tyq8KTX5AzRtwV7m4AY=
23 | github.com/leaanthony/slicer v1.6.0 h1:1RFP5uiPJvT93TAHi+ipd3NACobkW53yUiBqZheE/Js=
24 | github.com/leaanthony/slicer v1.6.0/go.mod h1:o/Iz29g7LN0GqH3aMjWAe90381nyZlDNquK+mtH2Fj8=
25 | github.com/matryer/is v1.4.0 h1:sosSmIWwkYITGrxZ25ULNDeKiMNzFSr4V/eqBQP0PeE=
26 | github.com/matryer/is v1.4.0/go.mod h1:8I/i5uYgLzgsgEloJE1U6xx5HkBQpAZvepWuujKwMRU=
27 | github.com/mattn/go-colorable v0.1.11/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4=
28 | github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
29 | github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
30 | github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
31 | github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
32 | github.com/mattn/go-isatty v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng=
33 | github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
34 | github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 h1:KoWmjvw+nsYOo29YJK9vDA65RGE3NrOnUtO7a+RF9HU=
35 | github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI=
36 | github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
37 | github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
38 | github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
39 | github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
40 | github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
41 | github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis=
42 | github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
43 | github.com/samber/lo v1.37.0 h1:XjVcB8g6tgUp8rsPsJ2CvhClfImrpL04YpQHXeHPhRw=
44 | github.com/samber/lo v1.37.0/go.mod h1:9vaz2O4o8oOnK23pd2TrXufcbdbJIa3b6cstBWKpopA=
45 | github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
46 | github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
47 | github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
48 | github.com/tkrajina/go-reflector v0.5.6 h1:hKQ0gyocG7vgMD2M3dRlYN6WBBOmdoOzJ6njQSepKdE=
49 | github.com/tkrajina/go-reflector v0.5.6/go.mod h1:ECbqLgccecY5kPmPmXg1MrHW585yMcDkVl6IvJe64T4=
50 | github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw=
51 | github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc=
52 | github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ=
53 | github.com/valyala/fasttemplate v1.2.2 h1:lxLXG0uE3Qnshl9QyaK6XJxMXlQZELvChBOCmQD0Loo=
54 | github.com/valyala/fasttemplate v1.2.2/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ=
55 | github.com/wailsapp/mimetype v1.4.1 h1:pQN9ycO7uo4vsUUuPeHEYoUkLVkaRntMnHJxVwYhwHs=
56 | github.com/wailsapp/mimetype v1.4.1/go.mod h1:9aV5k31bBOv5z6u+QP8TltzvNGJPmNJD4XlAL3U+j3o=
57 | github.com/wailsapp/wails/v2 v2.5.1 h1:mfG+2kWqQXYOwdgI43HEILjOZDXbk5woPYI3jP2b+js=
58 | github.com/wailsapp/wails/v2 v2.5.1/go.mod h1:jbOZbcr/zm79PxXxAjP8UoVlDd9wLW3uDs+isIthDfs=
59 | golang.org/x/crypto v0.7.0 h1:AvwMYaRytfdeVt3u6mLaxYtErKYjxA2OXjJ1HHq6t3A=
60 | golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
61 | golang.org/x/exp v0.0.0-20230310171629-522b1b587ee0 h1:LGJsf5LRplCck6jUCH3dBL2dmycNruWNF5xugkSlfXw=
62 | golang.org/x/exp v0.0.0-20230310171629-522b1b587ee0/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc=
63 | golang.org/x/net v0.0.0-20210505024714-0287a6fb4125/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
64 | golang.org/x/net v0.8.0 h1:Zrh2ngAOFYneWTAIAPethzeaQLuHwhuBkuV6ZiRnUaQ=
65 | golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc=
66 | golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
67 | golang.org/x/sys v0.0.0-20200810151505-1b9f1253b3ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
68 | golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
69 | golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
70 | golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
71 | golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
72 | golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
73 | golang.org/x/sys v0.0.0-20211103235746-7861aae1554b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
74 | golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
75 | golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ=
76 | golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
77 | golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
78 | golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
79 | golang.org/x/text v0.8.0 h1:57P1ETyNKtuIjB4SRd15iJxuhj8Gc416Y78H3qgMh68=
80 | golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
81 | golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
82 | gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
83 | gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
84 | gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
85 | gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
86 |
--------------------------------------------------------------------------------
/main.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import (
4 | "embed"
5 |
6 | "github.com/wailsapp/wails/v2"
7 | "github.com/wailsapp/wails/v2/pkg/options"
8 | "github.com/wailsapp/wails/v2/pkg/options/assetserver"
9 | "github.com/wailsapp/wails/v2/pkg/options/mac"
10 | "github.com/wailsapp/wails/v2/pkg/options/windows"
11 | )
12 |
13 | //go:embed all:frontend/dist
14 | var assets embed.FS
15 |
16 | func main() {
17 | // Create an instance of the app structure
18 | app := NewApp()
19 |
20 | // Create application with options
21 | err := wails.Run(&options.App{
22 | Title: "hiposter",
23 | Width: 1024,
24 | Height: 768,
25 | WindowStartState: options.Normal,
26 | AssetServer: &assetserver.Options{
27 | Assets: assets,
28 | },
29 |
30 | BackgroundColour: &options.RGBA{R: 27, G: 38, B: 54, A: 1},
31 | OnStartup: app.startup,
32 | Bind: []interface{}{
33 | app,
34 | },
35 | Windows: &windows.Options{
36 | WebviewIsTransparent: false,
37 | WindowIsTranslucent: false,
38 | BackdropType: windows.Mica,
39 | DisableWindowIcon: false,
40 | DisableFramelessWindowDecorations: false,
41 | WebviewUserDataPath: "",
42 | WebviewBrowserPath: "",
43 | Theme: windows.SystemDefault,
44 | CustomTheme: &windows.ThemeSettings{
45 | DarkModeTitleBar: windows.RGB(20, 20, 20),
46 | DarkModeTitleText: windows.RGB(200, 200, 200),
47 | DarkModeBorder: windows.RGB(20, 0, 20),
48 | LightModeTitleBar: windows.RGB(200, 200, 200),
49 | LightModeTitleText: windows.RGB(20, 20, 20),
50 | LightModeBorder: windows.RGB(200, 200, 200),
51 | },
52 | },
53 | Mac: &mac.Options{
54 | TitleBar: &mac.TitleBar{
55 | TitlebarAppearsTransparent: false,
56 | HideTitle: false,
57 | HideTitleBar: false,
58 | FullSizeContent: false,
59 | UseToolbar: false,
60 | HideToolbarSeparator: true,
61 | },
62 | Appearance: mac.DefaultAppearance,
63 | WebviewIsTransparent: true,
64 | WindowIsTranslucent: false,
65 | About: &mac.AboutInfo{
66 | Title: "hiposter v0.0.9",
67 | Message: "© 2023 wander@ffactory.org",
68 | // Icon: icon,
69 | },
70 | },
71 | })
72 | if err != nil {
73 | println("Error:", err.Error())
74 | }
75 |
76 | }
77 |
--------------------------------------------------------------------------------
/wails.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://wails.io/schemas/config.v2.json",
3 | "name": "hiposter",
4 | "outputfilename": "hiposter",
5 | "frontend:install": "npm install",
6 | "frontend:build": "npm run build",
7 | "frontend:dev:watcher": "npm run dev",
8 | "frontend:dev:serverUrl": "auto",
9 | "author": {
10 | "name": "wander",
11 | "email": "wander@ffactory.org"
12 | },
13 | "Info": {
14 | "companyName": "ffactory.org",
15 | "productName": "hiposter",
16 | "productVersion": "0.0.9",
17 | "copyright": "Copyright © 2023-present wander@ffactory.org , hiposter is under GPL-3.0 license",
18 | "comments": "hiposter is a simple and efficient http API testing client tool. Based on Wails, Go and sveltejs."
19 | }
20 | }
21 |
--------------------------------------------------------------------------------