Browse Source

change login

master
godo 2 months ago
parent
commit
1ff30fea0a
  1. 2
      os/.gitignore
  2. 2
      os/android/.gitignore
  3. 44
      os/android/build.gradle.kts
  4. BIN
      os/android/gradle/wrapper/gradle-wrapper.jar
  5. 7
      os/android/gradle/wrapper/gradle-wrapper.properties
  6. 252
      os/android/gradlew
  7. 94
      os/android/gradlew.bat
  8. 8
      os/android/local.properties
  9. 21
      os/android/proguard-rules.pro
  10. 31
      os/android/settings.gradle
  11. 24
      os/android/src/androidTest/java/ExampleInstrumentedTest.kt
  12. 3
      os/android/src/main/AndroidManifest.xml
  13. 10
      os/android/src/main/java/Example.kt
  14. 28
      os/android/src/main/java/ExamplePlugin.kt
  15. 17
      os/android/src/test/java/ExampleUnitTest.kt
  16. 2
      os/components.d.ts
  17. 1
      os/dist/assets/AiChatInfo-da2bb944.css
  18. 10
      os/dist/assets/AiChatInfo.vue_vue_type_script_setup_true_lang-aad2daf0.js
  19. 1
      os/dist/assets/App-04e185d9.js
  20. 4
      os/dist/assets/aiModule-1aadae53.js
  21. 1
      os/dist/assets/aiModule-ac8d0ca9.css
  22. 1
      os/dist/assets/aiSetting-64ca8dc0.css
  23. 1
      os/dist/assets/aiSetting-93fd2cfa.js
  24. 1
      os/dist/assets/assistant-3e886719.css
  25. 1
      os/dist/assets/assistant-bdd72c5e.js
  26. 1
      os/dist/assets/auth-ba1158d4.js
  27. BIN
      os/dist/assets/bg1-6defc6d7.jpg
  28. BIN
      os/dist/assets/bg2-f2fd7a0e.jpg
  29. BIN
      os/dist/assets/bg3-9f8b08ea.jpg
  30. BIN
      os/dist/assets/bg4-efd087d1.jpg
  31. BIN
      os/dist/assets/bg5-50b5cd81.jpg
  32. BIN
      os/dist/assets/bg6-ebf8e654.jpg
  33. BIN
      os/dist/assets/bg7-16ff726f.jpg
  34. BIN
      os/dist/assets/bg8-1a4e5c00.jpg
  35. BIN
      os/dist/assets/bg9-7119c180.jpg
  36. BIN
      os/dist/assets/ch-icon-1a2abb6e.woff
  37. 300
      os/dist/assets/ch-icon-2798ccd5.svg
  38. BIN
      os/dist/assets/ch-icon-4c41f021.ttf
  39. BIN
      os/dist/assets/ch-icon-ab76d968.eot
  40. BIN
      os/dist/assets/ch-icon-ce841461.woff2
  41. 1
      os/dist/assets/computer-7c0c6567.js
  42. 1
      os/dist/assets/computer-8f652448.css
  43. 1
      os/dist/assets/editor-46d872d7.js
  44. 1
      os/dist/assets/el-drawer-978af640.css
  45. 1
      os/dist/assets/el-menu-item-09107b6d.css
  46. 1
      os/dist/assets/el-popover-11b2087f.css
  47. 1
      os/dist/assets/el-row-b2a4ee8c.css
  48. 1
      os/dist/assets/el-space-417b6673.css
  49. 1
      os/dist/assets/files-57fe4531.js
  50. 522
      os/dist/assets/index-4533c179.js
  51. 1
      os/dist/assets/index-c9eeec7b.css
  52. 10
      os/dist/assets/knowledgeChat-2a0d1fc5.js
  53. 1
      os/dist/assets/knowledgeChat-a932f9ba.css
  54. 1
      os/dist/assets/setting-c1ca2938.css
  55. 1
      os/dist/assets/setting-d85cabd4.js
  56. 1
      os/dist/assets/version-3baa1d97.js
  57. 1
      os/dist/assets/version-5153ecb0.css
  58. 1
      os/dist/assets/vue3-lottie-4da93ad5.css
  59. 9
      os/dist/assets/vue3-lottie.es-c66b7bf9.js
  60. 1
      os/dist/assets/workbench-afc0e3da.css
  61. 10
      os/dist/assets/workbench-f14c6664.js
  62. BIN
      os/dist/baiban/assets/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa0ZL7W0Q5n-wU-C0AYSjr9.woff2
  63. BIN
      os/dist/baiban/assets/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7W0Q5nw-DDPelQgH.woff2
  64. BIN
      os/dist/baiban/assets/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1pL7W0Q5n-wU-BmGEiKbX.woff2
  65. BIN
      os/dist/baiban/assets/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa25L7W0Q5n-wU-CWtGf8Wp.woff2
  66. BIN
      os/dist/baiban/assets/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa2JL7W0Q5n-wU-B4FZQ761.woff2
  67. BIN
      os/dist/baiban/assets/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa2ZL7W0Q5n-wU-C9ErYduh.woff2
  68. BIN
      os/dist/baiban/assets/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa2pL7W0Q5n-wU-EzUqW2B9.woff2
  69. 345
      os/dist/baiban/assets/index-B7U9EiEj.js
  70. 345
      os/dist/baiban/assets/index-BBuZupZQ.js
  71. 345
      os/dist/baiban/assets/index-BNkD2q4T.js
  72. 345
      os/dist/baiban/assets/index-C7Nv1nqD.js
  73. 345
      os/dist/baiban/assets/index-CB2-j8Sp.js
  74. 345
      os/dist/baiban/assets/index-CJ22Nh78.js
  75. 1
      os/dist/baiban/assets/index-CbiYJP60.css
  76. 345
      os/dist/baiban/assets/index-CdI7WPm4.js
  77. 345
      os/dist/baiban/assets/index-D7I3m8ha.js
  78. 337
      os/dist/baiban/assets/index-DQ-zJgK-.js
  79. 1
      os/dist/baiban/assets/index-DQ5iesJJ.css
  80. 1
      os/dist/baiban/assets/index-e9sqCFI7.css
  81. 345
      os/dist/baiban/assets/index-kFFNEmpN.js
  82. 14
      os/dist/baiban/index.html
  83. 1
      os/dist/baiban/save.svg
  84. BIN
      os/dist/baiban/static/card-repo.png
  85. 26
      os/dist/baiban/static/card_repo.svg
  86. BIN
      os/dist/baiban/static/embed-icons/codepen.png
  87. BIN
      os/dist/baiban/static/embed-icons/codesandbox.png
  88. BIN
      os/dist/baiban/static/embed-icons/desmos.png
  89. BIN
      os/dist/baiban/static/embed-icons/excalidraw.png
  90. BIN
      os/dist/baiban/static/embed-icons/felt.png
  91. BIN
      os/dist/baiban/static/embed-icons/figma.png
  92. BIN
      os/dist/baiban/static/embed-icons/github_gist.png
  93. BIN
      os/dist/baiban/static/embed-icons/google_calendar.png
  94. BIN
      os/dist/baiban/static/embed-icons/google_maps.png
  95. BIN
      os/dist/baiban/static/embed-icons/google_slides.png
  96. BIN
      os/dist/baiban/static/embed-icons/observable.png
  97. BIN
      os/dist/baiban/static/embed-icons/replit.png
  98. BIN
      os/dist/baiban/static/embed-icons/scratch.png
  99. BIN
      os/dist/baiban/static/embed-icons/spotify.png
  100. BIN
      os/dist/baiban/static/embed-icons/tldraw.png

2
os/.gitignore

@ -6,7 +6,7 @@ yarn-debug.log*
yarn-error.log* yarn-error.log*
pnpm-debug.log* pnpm-debug.log*
lerna-debug.log* lerna-debug.log*
.gradle
node_modules node_modules
.DS_Store .DS_Store
./dist/ ./dist/

2
os/android/.gitignore

@ -0,0 +1,2 @@
/build
/.tauri

44
os/android/build.gradle.kts

@ -0,0 +1,44 @@
plugins {
id("com.android.library")
id("org.jetbrains.kotlin.android")
}
android {
namespace = "os.godoos.com"
compileSdk = 34
defaultConfig {
minSdk = 21
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
}
dependencies {
implementation("androidx.core:core-ktx:1.9.0")
implementation("androidx.appcompat:appcompat:1.6.0")
implementation("com.google.android.material:material:1.7.0")
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.5")
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
implementation(project(":tauri-android"))
}

BIN
os/android/gradle/wrapper/gradle-wrapper.jar

Binary file not shown.

7
os/android/gradle/wrapper/gradle-wrapper.properties

@ -0,0 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

252
os/android/gradlew

@ -0,0 +1,252 @@
#!/bin/sh
#
# Copyright © 2015-2021 the original authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#
##############################################################################
#
# Gradle start up script for POSIX generated by Gradle.
#
# Important for running:
#
# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
# noncompliant, but you have some other compliant shell such as ksh or
# bash, then to run this script, type that shell name before the whole
# command line, like:
#
# ksh Gradle
#
# Busybox and similar reduced shells will NOT work, because this script
# requires all of these POSIX shell features:
# * functions;
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
# * compound commands having a testable exit status, especially «case»;
# * various built-in commands including «command», «set», and «ulimit».
#
# Important for patching:
#
# (2) This script targets any POSIX shell, so it avoids extensions provided
# by Bash, Ksh, etc; in particular arrays are avoided.
#
# The "traditional" practice of packing multiple parameters into a
# space-separated string is a well documented source of bugs and security
# problems, so this is (mostly) avoided, by progressively accumulating
# options in "$@", and eventually passing that to Java.
#
# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
# see the in-line comments for details.
#
# There are tweaks for specific operating systems such as AIX, CygWin,
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
#
##############################################################################
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
app_path=$0
# Need this for daisy-chained symlinks.
while
APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
[ -h "$app_path" ]
do
ls=$( ls -ld "$app_path" )
link=${ls#*' -> '}
case $link in #(
/*) app_path=$link ;; #(
*) app_path=$APP_HOME$link ;;
esac
done
# This is normally unused
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
' "$PWD" ) || exit
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
warn () {
echo "$*"
} >&2
die () {
echo
echo "$*"
echo
exit 1
} >&2
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
nonstop=false
case "$( uname )" in #(
CYGWIN* ) cygwin=true ;; #(
Darwin* ) darwin=true ;; #(
MSYS* | MINGW* ) msys=true ;; #(
NONSTOP* ) nonstop=true ;;
esac
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD=$JAVA_HOME/jre/sh/java
else
JAVACMD=$JAVA_HOME/bin/java
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD=java
if ! command -v java >/dev/null 2>&1
then
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
fi
# Increase the maximum file descriptors if we can.
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #(
max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC2039,SC3045
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
case $MAX_FD in #(
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC2039,SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac
fi
# Collect all arguments for the java command, stacking in reverse order:
# * args from the command line
# * the main class name
# * -classpath
# * -D...appname settings
# * --module-path (only if needed)
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
# For Cygwin or MSYS, switch paths to Windows format before running java
if "$cygwin" || "$msys" ; then
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
JAVACMD=$( cygpath --unix "$JAVACMD" )
# Now convert the arguments - kludge to limit ourselves to /bin/sh
for arg do
if
case $arg in #(
-*) false ;; # don't mess with options #(
/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
[ -e "$t" ] ;; #(
*) false ;;
esac
then
arg=$( cygpath --path --ignore --mixed "$arg" )
fi
# Roll the args list around exactly as many times as the number of
# args, so each arg winds up back in the position where it started, but
# possibly modified.
#
# NB: a `for` loop captures its iteration list before it begins, so
# changing the positional parameters here affects neither the number of
# iterations, nor the values presented in `arg`.
shift # remove old arg
set -- "$@" "$arg" # push replacement arg
done
fi
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Collect all arguments for the java command:
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# and any embedded shellness will be escaped.
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
# treated as '${Hostname}' itself on the command line.
set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \
-classpath "$CLASSPATH" \
org.gradle.wrapper.GradleWrapperMain \
"$@"
# Stop when "xargs" is not available.
if ! command -v xargs >/dev/null 2>&1
then
die "xargs is not available"
fi
# Use "xargs" to parse quoted args.
#
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
#
# In Bash we could simply go:
#
# readarray ARGS < <( xargs -n1 <<<"$var" ) &&
# set -- "${ARGS[@]}" "$@"
#
# but POSIX shell has neither arrays nor command substitution, so instead we
# post-process each arg (as a line of input to sed) to backslash-escape any
# character that might be a shell metacharacter, then use eval to reverse
# that process (while maintaining the separation between arguments), and wrap
# the whole thing up as a single "set" statement.
#
# This will of course break if any of these variables contains a newline or
# an unmatched quote.
#
eval "set -- $(
printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
xargs -n1 |
sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
tr '\n' ' '
)" '"$@"'
exec "$JAVACMD" "$@"

94
os/android/gradlew.bat

@ -0,0 +1,94 @@
@rem
@rem Copyright 2015 the original author or authors.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem https://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@rem SPDX-License-Identifier: Apache-2.0
@rem
@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
set DIRNAME=%~dp0
if "%DIRNAME%"=="" set DIRNAME=.
@rem This is normally unused
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute
echo. 1>&2
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2
goto fail
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto execute
echo. 1>&2
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2
goto fail
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
:end
@rem End local scope for the variables with windows NT shell
if %ERRORLEVEL% equ 0 goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
set EXIT_CODE=%ERRORLEVEL%
if %EXIT_CODE% equ 0 set EXIT_CODE=1
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
exit /b %EXIT_CODE%
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega

8
os/android/local.properties

@ -0,0 +1,8 @@
## This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Sun May 04 14:09:36 CST 2025
sdk.dir=D\:\\Program Files\\Android\\sdk

21
os/android/proguard-rules.pro

@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile

31
os/android/settings.gradle

@ -0,0 +1,31 @@
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
google()
}
resolutionStrategy {
eachPlugin {
switch (requested.id.id) {
case "com.android.library":
useVersion("8.0.2")
break
case "org.jetbrains.kotlin.android":
useVersion("1.8.20")
break
}
}
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
google()
}
}
include ':tauri-android'
project(':tauri-android').projectDir = new File('./.tauri/tauri-api')

24
os/android/src/androidTest/java/ExampleInstrumentedTest.kt

@ -0,0 +1,24 @@
package os.godoos.com
import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.Assert.*
/**
* Instrumented test, which will execute on an Android device.
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
@RunWith(AndroidJUnit4::class)
class ExampleInstrumentedTest {
@Test
fun useAppContext() {
// Context of the app under test.
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
assertEquals("os.godoos.com", appContext.packageName)
}
}

3
os/android/src/main/AndroidManifest.xml

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
</manifest>

10
os/android/src/main/java/Example.kt

@ -0,0 +1,10 @@
package os.godoos.com
import android.util.Log
class Example {
fun pong(value: String): String {
Log.i("Pong", value)
return value
}
}

28
os/android/src/main/java/ExamplePlugin.kt

@ -0,0 +1,28 @@
package os.godoos.com
import android.app.Activity
import app.tauri.annotation.Command
import app.tauri.annotation.InvokeArg
import app.tauri.annotation.TauriPlugin
import app.tauri.plugin.JSObject
import app.tauri.plugin.Plugin
import app.tauri.plugin.Invoke
@InvokeArg
class PingArgs {
var value: String? = null
}
@TauriPlugin
class ExamplePlugin(private val activity: Activity): Plugin(activity) {
private val implementation = Example()
@Command
fun ping(invoke: Invoke) {
val args = invoke.parseArgs(PingArgs::class.java)
val ret = JSObject()
ret.put("value", implementation.pong(args.value ?: "default value :("))
invoke.resolve(ret)
}
}

17
os/android/src/test/java/ExampleUnitTest.kt

@ -0,0 +1,17 @@
package os.godoos.com
import org.junit.Test
import org.junit.Assert.*
/**
* Example local unit test, which will execute on the development machine (host).
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
class ExampleUnitTest {
@Test
fun addition_isCorrect() {
assertEquals(4, 2 + 2)
}
}

2
os/components.d.ts

@ -67,8 +67,6 @@ declare module 'vue' {
ElPagination: typeof import('element-plus/es')['ElPagination'] ElPagination: typeof import('element-plus/es')['ElPagination']
ElPopover: typeof import('element-plus/es')['ElPopover'] ElPopover: typeof import('element-plus/es')['ElPopover']
ElProgress: typeof import('element-plus/es')['ElProgress'] ElProgress: typeof import('element-plus/es')['ElProgress']
ElRadioButton: typeof import('element-plus/es')['ElRadioButton']
ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
ElRow: typeof import('element-plus/es')['ElRow'] ElRow: typeof import('element-plus/es')['ElRow']
ElScrollbar: typeof import('element-plus/es')['ElScrollbar'] ElScrollbar: typeof import('element-plus/es')['ElScrollbar']
ElSelect: typeof import('element-plus/es')['ElSelect'] ElSelect: typeof import('element-plus/es')['ElSelect']

1
os/dist/assets/AiChatInfo-da2bb944.css

@ -0,0 +1 @@
@charset "UTF-8";.message-container[data-v-30beaacf]{display:flex;flex-direction:column;align-items:flex-end;width:99%}.message[data-v-30beaacf]{padding:8px;max-width:80%;font-size:1em;line-height:1.5em;color:#f2f2f2;text-align:left;margin:8px}.text-grey[data-v-30beaacf]{color:#afafaf}.user-message[data-v-30beaacf]{background-color:#0078d7;border-radius:12px 0 0 12px;font-weight:600;font-size:14px;color:#c7e8ff}.assistant-message[data-v-30beaacf]{flex:1;background-color:#fff;border-radius:0 12px 12px 0;font-weight:600;font-size:14px;color:#333;box-shadow:#64646f33 0 7px 29px;padding:10px 20px}.avatar[data-v-30beaacf]{display:flex;align-items:center;width:50px;height:50px}.assistant-avatar[data-v-30beaacf]{display:flex;align-items:center;width:35px;height:35px;padding-left:10px}.icon-container[data-v-30beaacf]{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;overflow:hidden;border:1px solid #afafaf}.rounded-xl[data-v-30beaacf]{border-radius:12px 0 12px 12px}.rounded-al[data-v-30beaacf]{border-radius:0 12px 12px}.align-start[data-v-30beaacf],.align-center[data-v-30beaacf]{display:flex;gap:3px}.align-center[data-v-30beaacf]{justify-content:flex-end}.image-grid[data-v-30beaacf]{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.image-item[data-v-30beaacf]{position:relative;border:1px solid white;overflow:hidden}.image[data-v-30beaacf]{width:100%;height:auto}.reference-source[data-v-30beaacf]{font-size:13px;color:#9b9b9b;margin-top:10px}.reference-source .source-title[data-v-30beaacf]{display:flex;align-items:center}.reference-source .source-list[data-v-30beaacf]{list-style:disc inside none;margin-top:5px}.reference-source .source-list .source-item[data-v-30beaacf]{background-color:#ecebeb;height:30px;padding:0 10px;line-height:30px;border-radius:15px;cursor:pointer;overflow:hidden}

10
os/dist/assets/AiChatInfo.vue_vue_type_script_setup_true_lang-aad2daf0.js

File diff suppressed because one or more lines are too long

1
os/dist/assets/App-04e185d9.js

@ -0,0 +1 @@
import{_ as f}from"./index-4533c179.js";export{f as default};

4
os/dist/assets/aiModule-1aadae53.js

File diff suppressed because one or more lines are too long

1
os/dist/assets/aiModule-ac8d0ca9.css

File diff suppressed because one or more lines are too long

1
os/dist/assets/aiSetting-64ca8dc0.css

File diff suppressed because one or more lines are too long

1
os/dist/assets/aiSetting-93fd2cfa.js

File diff suppressed because one or more lines are too long

1
os/dist/assets/assistant-3e886719.css

@ -0,0 +1 @@
.assistant-main[data-v-bdc6ec53]{width:100%;height:100%;background-color:#fff}.model-list[data-v-bdc6ec53]{height:100%;overflow:scroll}.model-list .model-item[data-v-bdc6ec53]{transition:all .3s;border-bottom:1px solid #eee}.model-list .model-item[data-v-bdc6ec53]:hover{transition:all .3s;background-color:#63636333;box-shadow:#63636333 0 2px 8px!important;cursor:pointer}.button-group[data-v-bdc6ec53]{display:flex;justify-content:flex-end;gap:10px;height:30px;margin:5px 15px}

1
os/dist/assets/assistant-bdd72c5e.js

File diff suppressed because one or more lines are too long

1
os/dist/assets/auth-ba1158d4.js

File diff suppressed because one or more lines are too long

BIN
os/dist/assets/bg1-6defc6d7.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

BIN
os/dist/assets/bg2-f2fd7a0e.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 KiB

BIN
os/dist/assets/bg3-9f8b08ea.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
os/dist/assets/bg4-efd087d1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

BIN
os/dist/assets/bg5-50b5cd81.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
os/dist/assets/bg6-ebf8e654.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 KiB

BIN
os/dist/assets/bg7-16ff726f.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
os/dist/assets/bg8-1a4e5c00.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 KiB

BIN
os/dist/assets/bg9-7119c180.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

BIN
os/dist/assets/ch-icon-1a2abb6e.woff

Binary file not shown.

300
os/dist/assets/ch-icon-2798ccd5.svg

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 284 KiB

BIN
os/dist/assets/ch-icon-4c41f021.ttf

Binary file not shown.

BIN
os/dist/assets/ch-icon-ab76d968.eot

Binary file not shown.

BIN
os/dist/assets/ch-icon-ce841461.woff2

Binary file not shown.

1
os/dist/assets/computer-7c0c6567.js

File diff suppressed because one or more lines are too long

1
os/dist/assets/computer-8f652448.css

File diff suppressed because one or more lines are too long

1
os/dist/assets/editor-46d872d7.js

@ -0,0 +1 @@
import{d as t,o as p,f as r,S as c}from"./index-4533c179.js";const i=t({__name:"editor",props:{win:{type:Object,required:!0}},setup(e){const n=e;return(s,_)=>{const o=c;return p(),r(o,{win:n.win},null,8,["win"])}}});export{i as default};

1
os/dist/assets/el-drawer-978af640.css

@ -0,0 +1 @@
.el-drawer{--el-drawer-bg-color:var(--el-dialog-bg-color,var(--el-bg-color));--el-drawer-padding-primary:var(--el-dialog-padding-primary,20px);background-color:var(--el-drawer-bg-color);box-shadow:var(--el-box-shadow-dark);box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;position:absolute;transition:all var(--el-transition-duration)}.el-drawer .btt,.el-drawer .ltr,.el-drawer .rtl,.el-drawer .ttb{transform:translate(0)}.el-drawer__sr-focus:focus{outline:none!important}.el-drawer__header{align-items:center;color:#72767b;display:flex;margin-bottom:32px;padding:var(--el-drawer-padding-primary);padding-bottom:0}.el-drawer__header>:first-child{flex:1}.el-drawer__title{flex:1;font-size:16px;line-height:inherit;margin:0}.el-drawer__footer{padding:var(--el-drawer-padding-primary);padding-top:10px;text-align:right}.el-drawer__close-btn{background-color:transparent;border:none;color:inherit;cursor:pointer;display:inline-flex;font-size:var(--el-font-size-extra-large);outline:none}.el-drawer__close-btn:focus i,.el-drawer__close-btn:hover i{color:var(--el-color-primary)}.el-drawer__body{flex:1;overflow:auto;padding:var(--el-drawer-padding-primary)}.el-drawer__body>*{box-sizing:border-box}.el-drawer.ltr,.el-drawer.rtl{bottom:0;height:100%;top:0}.el-drawer.btt,.el-drawer.ttb{left:0;right:0;width:100%}.el-drawer.ltr{left:0}.el-drawer.rtl{right:0}.el-drawer.ttb{top:0}.el-drawer.btt{bottom:0}.el-drawer-fade-enter-active,.el-drawer-fade-leave-active{transition:all var(--el-transition-duration)}.el-drawer-fade-enter-active,.el-drawer-fade-enter-from,.el-drawer-fade-enter-to,.el-drawer-fade-leave-active,.el-drawer-fade-leave-from,.el-drawer-fade-leave-to{overflow:hidden!important}.el-drawer-fade-enter-from,.el-drawer-fade-leave-to{background-color:transparent!important}.el-drawer-fade-enter-from .rtl,.el-drawer-fade-leave-to .rtl{transform:translate(100%)}.el-drawer-fade-enter-from .ltr,.el-drawer-fade-leave-to .ltr{transform:translate(-100%)}.el-drawer-fade-enter-from .ttb,.el-drawer-fade-leave-to .ttb{transform:translateY(-100%)}.el-drawer-fade-enter-from .btt,.el-drawer-fade-leave-to .btt{transform:translateY(100%)}

1
os/dist/assets/el-menu-item-09107b6d.css

File diff suppressed because one or more lines are too long

1
os/dist/assets/el-popover-11b2087f.css

@ -0,0 +1 @@
.el-popover{--el-popover-bg-color:var(--el-bg-color-overlay);--el-popover-font-size:var(--el-font-size-base);--el-popover-border-color:var(--el-border-color-lighter);--el-popover-padding:12px;--el-popover-padding-large:18px 20px;--el-popover-title-font-size:16px;--el-popover-title-text-color:var(--el-text-color-primary);--el-popover-border-radius:4px}.el-popover.el-popper{background:var(--el-popover-bg-color);border:1px solid var(--el-popover-border-color);border-radius:var(--el-popover-border-radius);box-shadow:var(--el-box-shadow-light);box-sizing:border-box;color:var(--el-text-color-regular);font-size:var(--el-popover-font-size);line-height:1.4;min-width:150px;overflow-wrap:break-word;padding:var(--el-popover-padding);z-index:var(--el-index-popper)}.el-popover.el-popper--plain{padding:var(--el-popover-padding-large)}.el-popover__title{color:var(--el-popover-title-text-color);font-size:var(--el-popover-title-font-size);line-height:1;margin-bottom:12px}.el-popover__reference:focus:hover,.el-popover__reference:focus:not(.focusing){outline-width:0}.el-popover.el-popper.is-dark{--el-popover-bg-color:var(--el-text-color-primary);--el-popover-border-color:var(--el-text-color-primary);--el-popover-title-text-color:var(--el-bg-color);color:var(--el-bg-color)}.el-popover.el-popper:focus,.el-popover.el-popper:focus:active{outline-width:0}

1
os/dist/assets/el-row-b2a4ee8c.css

@ -0,0 +1 @@
.el-row{box-sizing:border-box;display:flex;flex-wrap:wrap;position:relative}.el-row.is-justify-center{justify-content:center}.el-row.is-justify-end{justify-content:flex-end}.el-row.is-justify-space-between{justify-content:space-between}.el-row.is-justify-space-around{justify-content:space-around}.el-row.is-justify-space-evenly{justify-content:space-evenly}.el-row.is-align-top{align-items:flex-start}.el-row.is-align-middle{align-items:center}.el-row.is-align-bottom{align-items:flex-end}

1
os/dist/assets/el-space-417b6673.css

@ -0,0 +1 @@
.el-space{display:inline-flex;vertical-align:top}.el-space__item{display:flex;flex-wrap:wrap}.el-space__item>*{flex:1}.el-space--vertical{flex-direction:column}

1
os/dist/assets/files-57fe4531.js

File diff suppressed because one or more lines are too long

522
os/dist/assets/index-4533c179.js

File diff suppressed because one or more lines are too long

1
os/dist/assets/index-c9eeec7b.css

File diff suppressed because one or more lines are too long

10
os/dist/assets/knowledgeChat-2a0d1fc5.js

@ -0,0 +1,10 @@
import{d as q,ac as G,r as n,D as A,G as X,a7 as Z,o as i,c as b,b as o,w as r,l as c,a as v,F as R,ag as J,ai as O,X as z,k as Q,f as M,a1 as Y,H as ee,ae,C as te,ah as ne,p as se,aZ as oe,af as B,M as le,v as ce}from"./index-4533c179.js";/* empty css */import{V as ie}from"./vue3-lottie.es-c66b7bf9.js";import{_ as re,a as ue}from"./AiChatInfo.vue_vue_type_script_setup_true_lang-aad2daf0.js";const de={class:"chat-bot"},pe={class:"messsage-area"},me={key:1,class:"no-message-container"},fe={class:"input-area"},ve={class:"input-panel"},_e=q({__name:"knowledgeChat",props:{win:{}},setup(S){const f=G(),u=n(!1),_=n(!1),E=n(null);let I=n(""),g=n(""),C=n("");const h=n(),x=n(),d=n(""),w=n(0),T=S,l=n([]),F=n({}),D=n(0),V=A(()=>[{content:F.value.prompt||"",chatType:"chat",chatId:D.value,role:"system",id:Date.now(),createAt:Date.now()}]);X(async()=>{var t,e;w.value=((e=(t=T.win)==null?void 0:t.props)==null?void 0:e.knowledgeId)||0,D.value=w.value});const K=A(()=>{if(l.value.length<=10)return[...V.value,...l.value];{const e=l.value.slice(-10);return[...V.value,...e]}}),L=async()=>{if(d.value.trim()){if(u.value===!0)return;let t={content:d.value,chatId:w.value,role:"user",id:Date.now(),createdAt:Date.now()};l.value.push(t),await f.addMessages(D.value,t),d.value="",u.value=!0,await N()}},N=async()=>{try{const t=Date.now(),e={content:"",role:"assistant",chatType:"chat",chatId:f.activeId,id:t,createdAt:t};let p={messages:K.value,model:f.chatInfo.model,engine:"ollama",stream:!1,webSearch:_.value,fileContent:g.value,fileName:C.value,knowledgeId:w.value*1};const a=await oe(p);if(I.value="",g.value="",C.value="",!a){B("模型调用失败,请稍后重试!"),u.value=!1;return}if(a&&a.choices&&a.choices.length>0&&a.choices[0].message.content){const m=a.choices[0].message.content;e.content=m,a.documents&&a.documents.length>0&&(e.doc=a.documents),a.web_search&&a.web_search.length>0&&(e.web_search=a.web_search),l.value.push(e)}a&&a.message&&(a.message.content.startsWith(`<think>
</think>
`)&&(a.message.content=a.message.content.replace(`<think>
</think>
`,"")),e.content=a.message.content,l.value.push(e)),u.value=!1}catch(t){u.value=!1,B(t.message)}},P=()=>{le(()=>{h&&h.value&&x.value&&h.value.setScrollTop(x.value.clientHeight)})};Z(()=>l,()=>{P()},{deep:!0});const U=t=>{t.key==="Enter"&&(t.altKey||t.shiftKey)?(t.preventDefault(),d.value+=`
`):t.key==="Enter"&&(t.preventDefault(),L())},H=async()=>{E.value.click()},W=async t=>{const e=t.target.files[0];if(!e)return;const p=new FileReader;p.onload=a=>{const m=a.target.result.split(",")[1];e.type.startsWith("image/")?I.value=m:(g.value=m,C.value=e.name)},p.readAsDataURL(e)};return(t,e)=>{const p=re,a=J,m=ue,y=te,k=ne,$=se,j=O;return i(),b(R,null,[o(a,{modelValue:c(f).showInfo,"onUpdate:modelValue":e[0]||(e[0]=s=>c(f).showInfo=s),width:"600","append-to-body":"",fullscreen:!!c(z)()},{default:r(()=>[o(p)]),_:1},8,["modelValue","fullscreen"]),v("div",de,[v("div",pe,[o(c(Y),{class:"message-container",ref_key:"messageContainerRef",ref:h},{default:r(()=>[l.value.length>0?(i(),b("div",{key:0,ref_key:"messageInnerRef",ref:x},[(i(!0),b(R,null,Q(l.value,s=>(i(),M(m,{key:s.messageId,content:s.content,link:s.link,role:s.role,createdAt:s.createdAt,doc:s.documents||[],web_search:s.web_search||[]},null,8,["content","link","role","createdAt","doc","web_search"]))),128))],512)):(i(),b("div",me,[o(c(ie),{animationLink:"/os/bot/chat.json",height:420,width:420})]))]),_:1},512),v("div",fe,[v("div",ve,[o(j,{gutter:24,style:{"border-bottom":"none"}},{default:r(()=>[o(k,{span:2},{default:r(()=>[o(y,{class:ee(["file-btn",{"selected-image":c(I)!=""||c(g)!=""}]),onClick:H,size:"large",icon:"Paperclip",circle:""},null,8,["class"]),v("input",{type:"file",ref_key:"imageInput",ref:E,accept:"image/*,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/pdf",style:{display:"none"},onChange:W},null,544)]),_:1}),o(k,{span:2},{default:r(()=>[o(y,{class:"websearch-btn",onClick:e[1]||(e[1]=s=>_.value=!_.value),size:"large",icon:"ChromeFilled",circle:"",type:_.value?"primary":"default"},null,8,["type"])]),_:1}),o(k,{span:17},{default:r(()=>[o($,{modelValue:d.value,"onUpdate:modelValue":e[2]||(e[2]=s=>d.value=s),placeholder:c(ae)("aichat.askme"),size:"large",clearable:"",onKeydown:U,autofocus:!c(z)(),class:"ai-input-area"},null,8,["modelValue","placeholder","autofocus"])]),_:1}),o(k,{span:2},{default:r(()=>[u.value?(i(),M(y,{key:1,type:"primary",size:"large","loading-icon":"Eleme",icon:"Loading",loading:"",circle:""})):(i(),M(y,{key:0,onClick:L,icon:"Promotion",type:"info",size:"large",circle:""}))]),_:1})]),_:1})])])])])],64)}}});const ke=ce(_e,[["__scopeId","data-v-7dd101eb"]]);export{ke as default};

1
os/dist/assets/knowledgeChat-a932f9ba.css

@ -0,0 +1 @@
@charset "UTF-8";.chat-bot[data-v-7dd101eb]{height:100%;width:100%;display:flex;flex-direction:column;position:relative;background:#fff}.chat-bot .messsage-area[data-v-7dd101eb]{flex:1;display:flex;flex-direction:column;height:100%;overflow:hidden}.chat-bot .input-area[data-v-7dd101eb]{box-sizing:border-box;padding:.6rem;width:100%}.chat-bot .input-area .input-panel[data-v-7dd101eb]{border-radius:5px;max-width:90%;margin:0 auto}.chat-bot .input-area .input-panel .ai-input-area[data-v-7dd101eb]{margin-left:10px}.user-message[data-v-7dd101eb]{background-color:#f6f6fd;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb}.assitant-message[data-v-7dd101eb]{background-color:#fff;border-bottom:1px solid #e5e7eb}.message[data-v-7dd101eb]{margin:0 auto;max-width:98%;display:flex}.message-container[data-v-7dd101eb]{flex:1}.no-message-container[data-v-7dd101eb]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column}.no-message-container h1[data-v-7dd101eb]{font-size:2rem;font-weight:500}[data-v-7dd101eb] .md-editor-preview-wrapper{padding:0}.top-menu[data-v-7dd101eb]{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:10px}.top-menu-button[data-v-7dd101eb]{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background-color:#fff;box-shadow:0 1px 3px #0000001a;cursor:pointer;transition:background-color .3s,box-shadow .2s}.top-menu-button[data-v-7dd101eb]:hover{background-color:#f0f8ff;box-shadow:0 2px 4px #0000001a}.selected-image[data-v-7dd101eb]{position:relative}.selected-image[data-v-7dd101eb]:after{content:"";position:absolute;top:-5px;right:-5px;width:10px;height:10px;background-color:red;border-radius:50%}@media screen and (max-width: 768px){.chat-bot .input-area[data-v-7dd101eb]{padding:0}.chat-bot .input-area .file-btn[data-v-7dd101eb]{margin-left:vw(-10)}}.think[data-v-7dd101eb]{color:#00f;font-style:italic}

1
os/dist/assets/setting-c1ca2938.css

@ -0,0 +1 @@
.setting-item-title[data-v-0844efff]{display:flex;align-items:center;gap:8px;padding-bottom:20px}.setting-item-title .el-icon[data-v-0844efff]{cursor:pointer}.settings[data-v-0844efff]{display:flex}.sidebar[data-v-0844efff]{width:200px;padding:10px}.profile[data-v-0844efff]{display:flex;align-items:center;margin-bottom:20px}.avatar[data-v-0844efff]{width:40px;height:40px;border-radius:50%;margin-right:10px}.username[data-v-0844efff]{font-weight:700}.search[data-v-0844efff]{width:100%;margin-bottom:20px}.el-menu-item[data-v-0844efff]{background-color:transparent;height:35px}.el-menu-item.is-active[data-v-0844efff]{border-left:2px solid #409eff}.menu[data-v-0844efff]{background-color:transparent;border:none}.content[data-v-0844efff]{flex-grow:1;width:600px;padding:10px}.content-title[data-v-0844efff]{font-size:24px;font-weight:700;margin-bottom:20px}.content-menu[data-v-0844efff]{border:none;background-color:transparent}.content-menu-item[data-v-0844efff]{background-color:#fff;border-radius:10px;margin-top:10px;height:60px;line-height:35px;display:flex;align-items:center;justify-content:space-between}.content-menu-item .child-icon[data-v-0844efff]{font-size:20px}.content-menu-item .content-menu-item-left[data-v-0844efff]{display:flex;align-items:center;gap:10px}.menu-item[data-v-0844efff]{gap:5px;font-size:14px}.menu-item .icon-menu-item[data-v-0844efff]{font-size:16px;width:20px}.menu-item[data-v-0844efff]:hover{background-color:#f0f2f5}

1
os/dist/assets/setting-d85cabd4.js

@ -0,0 +1 @@
import{d as B,u as V,r as _,o,c as i,a as n,b as e,w as a,t as r,F as p,e as f,f as g,g as $,h as D,E as F,i as x,j as M,k as E,l as N,m as R,n as T,p as b,q as P,s as j,v as q}from"./index-4533c179.js";/* empty css */const O={class:"settings"},G={class:"sidebar"},H={class:"profile"},J={class:"content"},K={key:0},Q={class:"content-title"},U={class:"content-menu-item-left"},W={class:"content-menu-item-right"},X={class:"setting-item-title"},Y={style:{display:"flex","align-items":"center",gap:"8px"}},Z=B({__name:"setting",setup(ee){const u=V(),d=_(u.settingList[0]),m=_(null),c=_(!1),h=_(null);function w(l){d.value=u.settingList.find(s=>s.key===l),c.value=!1}const A=async l=>{c.value=!0,m.value=l,h.value=R(()=>j(()=>import(`/src/views/settings/${l.content}.vue`),[],import.meta.url).then(s=>s.default))};return(l,s)=>{const L=T,S=b,v=D,y=P,k=F,I=x("ArrowRight"),C=M,z=x("ArrowLeft");return o(),i("div",O,[n("div",G,[n("div",H,[e(L,{src:"",alt:"Avatar",class:"avatar"}),s[1]||(s[1]=n("div",{class:"username"},"用户名",-1))]),e(S,{placeholder:"Find a setting",class:"search"}),e(k,{class:"menu","default-active":"1",onSelect:w},{default:a(()=>[(o(!0),i(p,null,E(N(u).settingList,t=>(o(),g(y,{class:"menu-item",index:t.key},{default:a(()=>[e(v,{name:t.icon,size:"18"},null,8,["name"]),f(" "+r(t.title),1)]),_:2},1032,["index"]))),256))]),_:1})]),n("div",J,[c.value?(o(),i(p,{key:1},[n("div",X,[e(C,{onClick:s[0]||(s[0]=t=>c.value=!1)},{default:a(()=>[e(z)]),_:1}),n("span",Y,[e(v,{name:m.value.icon,size:"18"},null,8,["name"]),f(" "+r(m.value.title),1)])]),(o(),g($(h.value)))],64)):(o(),i("div",K,[n("h1",Q,r(d.value.title),1),e(k,{class:"content-menu"},{default:a(()=>[(o(!0),i(p,null,E(d.value.children,t=>(o(),g(y,{onClick:te=>A(t),class:"content-menu-item",key:t.key},{default:a(()=>[n("div",U,[e(v,{name:t.icon,size:"18"},null,8,["name"]),f(" "+r(t.title),1)]),n("div",W,[e(C,{size:16},{default:a(()=>[e(I)]),_:1})])]),_:2},1032,["onClick"]))),128))]),_:1})]))])])}}});const oe=q(Z,[["__scopeId","data-v-0844efff"]]);export{oe as default};

1
os/dist/assets/version-3baa1d97.js

@ -0,0 +1 @@
import{v as o,o as s,c as t,aN as d}from"./index-4533c179.js";const a={},n={class:"version"};function i(v,e){return s(),t("div",n,e[0]||(e[0]=[d('<div class="version-item" data-v-d5ef56f2><div class="version-title" data-v-d5ef56f2>Godo OS</div><div class="version-content" data-v-d5ef56f2>Version: 1.0.6</div><div class="version-content" data-v-d5ef56f2> Home:<a href="https://godoos.com" target="_blank" data-v-d5ef56f2>godoos.com</a></div></div>',1)]))}const r=o(a,[["render",i],["__scopeId","data-v-d5ef56f2"]]);export{r as default};

1
os/dist/assets/version-5153ecb0.css

@ -0,0 +1 @@
.version[data-v-d5ef56f2]{width:100%;height:100%;background-color:#f3f2f1;display:flex;flex-direction:column;justify-content:center;align-items:center;border-radius:12px;box-shadow:0 2px 4px #0000003d,0 1px 8px #00000029;-webkit-backdrop-filter:blur(10px) brightness(.95);backdrop-filter:blur(10px) brightness(.95);-webkit-user-select:none;user-select:none}.version-item[data-v-d5ef56f2]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin:10px;padding:30px 50px;border-radius:8px;background-color:#ffffffe6;box-shadow:0 1px 2px #0003,0 1px 4px #00000029;transition:all .2s}.version-item[data-v-d5ef56f2]:hover{box-shadow:0 2px 4px #0000003d,0 1px 8px #00000029;transform:translateY(-2px)}.version-title[data-v-d5ef56f2]{font-size:24px;font-weight:700;color:#1e1e1e;text-shadow:none}.version-content[data-v-d5ef56f2]{font-size:16px;margin-top:10px;color:#1e1e1e;text-shadow:none}

1
os/dist/assets/vue3-lottie-4da93ad5.css

File diff suppressed because one or more lines are too long

9
os/dist/assets/vue3-lottie.es-c66b7bf9.js

File diff suppressed because one or more lines are too long

1
os/dist/assets/workbench-afc0e3da.css

File diff suppressed because one or more lines are too long

10
os/dist/assets/workbench-f14c6664.js

File diff suppressed because one or more lines are too long

BIN
os/dist/baiban/assets/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa0ZL7W0Q5n-wU-C0AYSjr9.woff2

Binary file not shown.

BIN
os/dist/baiban/assets/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7W0Q5nw-DDPelQgH.woff2

Binary file not shown.

BIN
os/dist/baiban/assets/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1pL7W0Q5n-wU-BmGEiKbX.woff2

Binary file not shown.

BIN
os/dist/baiban/assets/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa25L7W0Q5n-wU-CWtGf8Wp.woff2

Binary file not shown.

BIN
os/dist/baiban/assets/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa2JL7W0Q5n-wU-B4FZQ761.woff2

Binary file not shown.

BIN
os/dist/baiban/assets/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa2ZL7W0Q5n-wU-C9ErYduh.woff2

Binary file not shown.

BIN
os/dist/baiban/assets/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa2pL7W0Q5n-wU-EzUqW2B9.woff2

Binary file not shown.

345
os/dist/baiban/assets/index-B7U9EiEj.js

File diff suppressed because one or more lines are too long

345
os/dist/baiban/assets/index-BBuZupZQ.js

File diff suppressed because one or more lines are too long

345
os/dist/baiban/assets/index-BNkD2q4T.js

File diff suppressed because one or more lines are too long

345
os/dist/baiban/assets/index-C7Nv1nqD.js

File diff suppressed because one or more lines are too long

345
os/dist/baiban/assets/index-CB2-j8Sp.js

File diff suppressed because one or more lines are too long

345
os/dist/baiban/assets/index-CJ22Nh78.js

File diff suppressed because one or more lines are too long

1
os/dist/baiban/assets/index-CbiYJP60.css

File diff suppressed because one or more lines are too long

345
os/dist/baiban/assets/index-CdI7WPm4.js

File diff suppressed because one or more lines are too long

345
os/dist/baiban/assets/index-D7I3m8ha.js

File diff suppressed because one or more lines are too long

337
os/dist/baiban/assets/index-DQ-zJgK-.js

File diff suppressed because one or more lines are too long

1
os/dist/baiban/assets/index-DQ5iesJJ.css

File diff suppressed because one or more lines are too long

1
os/dist/baiban/assets/index-e9sqCFI7.css

File diff suppressed because one or more lines are too long

345
os/dist/baiban/assets/index-kFFNEmpN.js

File diff suppressed because one or more lines are too long

14
os/dist/baiban/index.html

@ -0,0 +1,14 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="./vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>draw</title>
<script type="module" crossorigin src="./assets/index-CJ22Nh78.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-DQ5iesJJ.css">
</head>
<body>
<div id="root"></div>
</body>
</html>

1
os/dist/baiban/save.svg

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1717909582361" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4272" width="32" height="32" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M931.882 259.882l-167.764-167.764A96 96 0 0 0 696.236 64H160C106.98 64 64 106.98 64 160v704c0 53.02 42.98 96 96 96h704c53.02 0 96-42.98 96-96V327.764a96 96 0 0 0-28.118-67.882zM512 832c-70.692 0-128-57.308-128-128 0-70.692 57.308-128 128-128s128 57.308 128 128c0 70.692-57.308 128-128 128z m192-609.04V424c0 13.254-10.746 24-24 24H216c-13.254 0-24-10.746-24-24V216c0-13.254 10.746-24 24-24h457.04c6.366 0 12.47 2.528 16.97 7.03l6.96 6.96A23.992 23.992 0 0 1 704 222.96z" p-id="4273"></path></svg>

After

Width:  |  Height:  |  Size: 827 B

BIN
os/dist/baiban/static/card-repo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

26
os/dist/baiban/static/card_repo.svg

@ -0,0 +1,26 @@
<svg width="1080" height="160" viewBox="0 0 1080 160" fill="none" xmlns="http://www.w3.org/2000/svg">
<mask id="path-1-outside-1_3296_32770" maskUnits="userSpaceOnUse" x="364" y="27" width="342" height="106" fill="black">
<rect fill="white" x="364" y="27" width="342" height="106"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M377 48.7912C377 43.936 380.798 40 385.482 40H449.098C453.783 40 457.58 43.936 457.58 48.7912V111.209C457.58 116.064 453.783 120 449.098 120H385.482C380.798 120 377 116.064 377 111.209V48.7912ZM424.571 62.8801C424.571 64.8134 423.905 66.4539 422.574 67.8014C421.243 69.1489 419.622 69.8226 417.712 69.8226C415.744 69.8226 414.095 69.1489 412.764 67.8014C411.433 66.4539 410.767 64.8134 410.767 62.8801C410.767 60.9467 411.433 59.3063 412.764 57.9588C414.095 56.6113 415.744 55.9375 417.712 55.9375C419.622 55.9375 421.243 56.6113 422.574 57.9588C423.905 59.3063 424.571 60.9467 424.571 62.8801ZM410.68 87.2107C410.68 85.2774 411.346 83.6369 412.677 82.2894C414.066 80.8833 415.744 80.1803 417.712 80.1803C419.564 80.1803 421.185 80.8833 422.574 82.2894C423.963 83.6369 424.774 85.1602 425.005 86.8592C425.468 90.0229 424.889 93.1573 423.269 96.2624C421.706 99.3675 419.449 101.74 416.497 103.381C414.876 104.318 413.545 104.289 412.503 103.293C411.519 102.355 411.809 101.242 413.371 99.9534C414.24 99.309 414.963 98.4887 415.542 97.4928C416.121 96.4968 416.497 95.4715 416.671 94.4169C416.728 93.9482 416.526 93.7139 416.063 93.7139C414.905 93.6553 413.719 93.0108 412.503 91.7805C411.288 90.5502 410.68 89.0269 410.68 87.2107Z"/>
<path d="M529.906 104.783C530.387 104.783 530.628 104.543 530.628 104.065V94.3261C530.628 93.3656 529.844 92.587 528.877 92.587H527.607C527.212 92.587 526.906 92.4783 526.687 92.2609C526.512 92.087 526.424 91.8261 526.424 91.4783V56.587C526.424 56.1087 526.183 55.8696 525.701 55.8696H514.644C513.676 55.8696 512.892 56.6482 512.892 57.6087V95.3913C512.892 98.5217 513.79 100.87 515.585 102.435C517.381 104 519.68 104.783 522.483 104.783H529.906Z"/>
<path d="M507.242 94.2609C507.242 93.3004 506.458 92.5217 505.491 92.5217H500.87C499.381 92.5217 498.374 92.2609 497.849 91.7391C497.192 91.1304 496.863 90.1522 496.863 88.8043V83.0435C496.863 82.083 497.648 81.3043 498.615 81.3043H505.491C506.458 81.3043 507.242 80.5257 507.242 79.5652V69.8261C507.242 69.3478 507.002 69.1087 506.52 69.1087H498.615C497.648 69.1087 496.863 68.3301 496.863 67.3696V59.8478C496.863 59.3696 496.622 59.1304 496.141 59.1304H485.477C484.51 59.1304 483.725 59.9091 483.725 60.8696V67.3696C483.725 68.3301 482.941 69.1087 481.973 69.1087H480.353C479.386 69.1087 478.601 69.8873 478.601 70.8478V80.587C478.601 81.0652 478.842 81.3043 479.324 81.3043H481.973C482.941 81.3043 483.725 82.083 483.725 83.0435V89.7826C483.725 94.8261 485.061 98.587 487.732 101.065C490.404 103.543 494.28 104.783 499.36 104.783H506.52C507.002 104.783 507.242 104.543 507.242 104.065V94.2609Z"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M545.711 68.4565C547.726 68.4565 549.456 68.9565 550.901 69.9565C552.262 70.8705 553.385 72.0568 554.27 73.5156C554.426 73.7713 554.701 73.9348 555.001 73.9348C555.458 73.9348 555.828 73.5675 555.828 73.1144V57.6087C555.828 56.6482 556.612 55.8696 557.58 55.8696H568.243C568.725 55.8696 568.966 56.1087 568.966 56.587V103.043C568.966 104.004 568.182 104.783 567.214 104.783H556.55C556.069 104.783 555.828 104.543 555.828 104.065V100.148C555.828 99.6821 555.447 99.3043 554.978 99.3043C554.689 99.3043 554.42 99.4511 554.259 99.6893C553.14 101.339 551.89 102.689 550.507 103.739C549.018 104.87 547.157 105.435 544.923 105.435C541.901 105.435 539.515 104.413 537.763 102.37C536.011 100.326 535.135 97.587 535.135 94.1522V80.4565C535.135 76.7174 536.033 73.7826 537.829 71.6522C539.668 69.5217 542.296 68.4565 545.711 68.4565ZM548.996 93.0435C549.478 93.5652 550.332 93.8261 551.558 93.8261C552.797 93.8261 553.886 93.6774 554.825 93.3801C555.457 93.18 555.828 92.5622 555.828 91.9034V81.5829C555.828 81.0014 555.542 80.4427 555.014 80.1911C554.6 79.9938 554.171 79.8431 553.726 79.7391C552.981 79.5217 552.259 79.413 551.558 79.413C549.324 79.413 548.208 80.5217 548.208 82.7391V90.5652C548.208 91.7391 548.47 92.5652 548.996 93.0435Z"/>
<path d="M588.228 104.783C589.195 104.783 589.98 104.004 589.98 103.043V84.6928C589.98 84.0869 590.292 83.5143 590.842 83.2503C591.381 82.9911 591.947 82.7772 592.542 82.6087C593.461 82.3044 594.49 82.1522 595.629 82.1522C596.461 82.1522 597.249 82.2174 597.994 82.3478C598.726 82.469 599.44 82.6277 600.134 82.8239C600.24 82.8537 600.349 82.8696 600.458 82.8696C601.093 82.8696 601.607 82.3591 601.607 81.7294V69.8261C601.607 69.5217 601.497 69.2609 601.278 69.0435C601.147 68.913 600.906 68.7826 600.556 68.6522C600.205 68.5217 599.68 68.4565 598.979 68.4565C596.921 68.4565 595.279 69.087 594.052 70.3478C592.966 71.4664 592.12 73.0989 591.514 75.2453C591.418 75.5851 591.11 75.8261 590.754 75.8261C590.326 75.8261 589.98 75.4818 589.98 75.057V69.8261C589.98 69.3478 589.739 69.1087 589.257 69.1087H578.396C577.429 69.1087 576.644 69.8873 576.644 70.8478V104.065C576.644 104.543 576.885 104.783 577.367 104.783H588.228Z"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M638.295 81.8261V92.3913C638.295 92.9268 638.482 93.2772 638.855 93.4425C638.96 93.4893 639.069 93.5295 639.178 93.5672C639.3 93.6094 639.422 93.6304 639.544 93.6304H639.631C640.599 93.6304 641.383 94.4091 641.383 95.3696V104.065C641.383 104.543 641.142 104.783 640.66 104.783H636.259C634.113 104.783 632.142 104.348 630.347 103.478C628.788 102.705 627.594 101.587 626.763 100.124C626.573 99.7893 626.224 99.5652 625.837 99.5652C625.46 99.5652 625.118 99.7765 624.931 100.101C624 101.715 622.783 102.993 621.282 103.935C619.661 104.935 617.581 105.435 615.041 105.435C611.975 105.435 609.545 104.609 607.749 102.957C605.954 101.304 605.056 99.0652 605.056 96.2391V93.6957C605.056 90.6522 605.954 88.2609 607.749 86.5217C609.589 84.7826 612.172 83.913 615.501 83.913H624.697C625.205 83.913 625.617 83.5043 625.617 83C625.617 81.4783 625.201 80.4565 624.369 79.9348C623.581 79.3696 622.048 79.087 619.771 79.087C615.972 79.087 612.216 79.6361 608.503 80.7343C608.395 80.7661 608.284 80.7826 608.171 80.7826C607.539 80.7826 607.027 80.2739 607.027 79.6463V71.2609C607.027 70.9565 607.092 70.7391 607.224 70.6087C607.53 70.3043 608.362 69.9783 609.72 69.6304C611.121 69.2826 612.808 68.9783 614.778 68.7174C616.793 68.413 618.851 68.2609 620.953 68.2609C626.953 68.2609 631.332 69.3478 634.091 71.5217C636.894 73.6522 638.295 77.087 638.295 81.8261ZM619.442 96.0435C621.348 96.0435 623.127 95.6161 624.777 94.7612C625.312 94.4845 625.617 93.9194 625.617 93.3211V91.9783C625.617 91.0178 624.833 90.2391 623.865 90.2391H619.574C618.829 90.2391 618.26 90.4348 617.866 90.8261C617.515 91.2609 617.34 91.7826 617.34 92.3913V93.9565C617.34 95.3478 618.041 96.0435 619.442 96.0435Z"/>
<path d="M664.776 69.1087C663.958 69.1087 663.25 69.6696 663.068 70.4605C662.137 74.5177 661.277 78.3279 660.489 81.8913C659.711 85.5887 659.125 89.0962 658.73 92.4139C658.682 92.8093 658.346 93.1087 657.945 93.1087C657.503 93.1087 657.147 92.7472 657.154 92.3083C657.205 88.9664 657.069 85.6245 656.744 82.2826C656.438 78.6739 656.044 74.6522 655.562 70.2174C655.518 69.7391 655.43 69.4348 655.299 69.3043C655.168 69.1739 654.971 69.1087 654.708 69.1087H645.295C644.208 69.1087 643.383 70.0825 643.568 71.1467C644.447 76.2065 645.292 81.2663 646.102 86.3261C647.066 92.0652 648.029 97.587 648.993 102.891C649.143 103.562 649.309 104.041 649.491 104.328C649.548 104.417 649.623 104.493 649.711 104.552C649.938 104.706 650.18 104.783 650.438 104.783H662.158C662.955 104.783 663.651 104.249 663.852 103.484C664.192 102.194 664.494 101.039 664.758 100.022C665.109 98.6739 665.415 97.3478 665.678 96.0435C665.941 94.7391 666.204 93.3043 666.466 91.7391C666.743 90.2865 667.038 88.5325 667.35 86.4772C667.409 86.0907 667.743 85.8043 668.137 85.8043C668.535 85.8043 668.871 86.0965 668.924 86.4877C669.191 88.4532 669.423 90.1385 669.62 91.5435C669.882 93.0652 670.123 94.413 670.342 95.587C670.605 96.7174 670.868 97.8696 671.13 99.0435C671.393 100.174 671.7 101.478 672.05 102.957C672.238 103.59 672.425 104.047 672.613 104.329C672.671 104.417 672.746 104.493 672.834 104.552C673.061 104.706 673.303 104.783 673.561 104.783H685.485C686.338 104.783 687.067 104.172 687.212 103.338L689.984 87.3043C690.991 81.4783 691.976 75.6957 692.94 69.9565C692.983 69.3913 692.786 69.1087 692.349 69.1087H682.245C681.344 69.1087 680.589 69.7887 680.503 70.68C680.125 74.5767 679.782 78.2703 679.473 81.7609C679.189 85.3908 679.055 88.9084 679.072 92.3138C679.074 92.7513 678.719 93.1087 678.278 93.1087C677.874 93.1087 677.535 92.8065 677.489 92.4081C677.091 89.0194 676.482 85.5355 675.663 81.9565C674.831 78.1304 673.911 74.087 672.904 69.8261C672.773 69.3478 672.51 69.1087 672.116 69.1087H664.776Z"/>
</mask>
<path fill-rule="evenodd" clip-rule="evenodd" d="M377 48.7912C377 43.936 380.798 40 385.482 40H449.098C453.783 40 457.58 43.936 457.58 48.7912V111.209C457.58 116.064 453.783 120 449.098 120H385.482C380.798 120 377 116.064 377 111.209V48.7912ZM424.571 62.8801C424.571 64.8134 423.905 66.4539 422.574 67.8014C421.243 69.1489 419.622 69.8226 417.712 69.8226C415.744 69.8226 414.095 69.1489 412.764 67.8014C411.433 66.4539 410.767 64.8134 410.767 62.8801C410.767 60.9467 411.433 59.3063 412.764 57.9588C414.095 56.6113 415.744 55.9375 417.712 55.9375C419.622 55.9375 421.243 56.6113 422.574 57.9588C423.905 59.3063 424.571 60.9467 424.571 62.8801ZM410.68 87.2107C410.68 85.2774 411.346 83.6369 412.677 82.2894C414.066 80.8833 415.744 80.1803 417.712 80.1803C419.564 80.1803 421.185 80.8833 422.574 82.2894C423.963 83.6369 424.774 85.1602 425.005 86.8592C425.468 90.0229 424.889 93.1573 423.269 96.2624C421.706 99.3675 419.449 101.74 416.497 103.381C414.876 104.318 413.545 104.289 412.503 103.293C411.519 102.355 411.809 101.242 413.371 99.9534C414.24 99.309 414.963 98.4887 415.542 97.4928C416.121 96.4968 416.497 95.4715 416.671 94.4169C416.728 93.9482 416.526 93.7139 416.063 93.7139C414.905 93.6553 413.719 93.0108 412.503 91.7805C411.288 90.5502 410.68 89.0269 410.68 87.2107Z" fill="black"/>
<path d="M529.906 104.783C530.387 104.783 530.628 104.543 530.628 104.065V94.3261C530.628 93.3656 529.844 92.587 528.877 92.587H527.607C527.212 92.587 526.906 92.4783 526.687 92.2609C526.512 92.087 526.424 91.8261 526.424 91.4783V56.587C526.424 56.1087 526.183 55.8696 525.701 55.8696H514.644C513.676 55.8696 512.892 56.6482 512.892 57.6087V95.3913C512.892 98.5217 513.79 100.87 515.585 102.435C517.381 104 519.68 104.783 522.483 104.783H529.906Z" fill="black"/>
<path d="M507.242 94.2609C507.242 93.3004 506.458 92.5217 505.491 92.5217H500.87C499.381 92.5217 498.374 92.2609 497.849 91.7391C497.192 91.1304 496.863 90.1522 496.863 88.8043V83.0435C496.863 82.083 497.648 81.3043 498.615 81.3043H505.491C506.458 81.3043 507.242 80.5257 507.242 79.5652V69.8261C507.242 69.3478 507.002 69.1087 506.52 69.1087H498.615C497.648 69.1087 496.863 68.3301 496.863 67.3696V59.8478C496.863 59.3696 496.622 59.1304 496.141 59.1304H485.477C484.51 59.1304 483.725 59.9091 483.725 60.8696V67.3696C483.725 68.3301 482.941 69.1087 481.973 69.1087H480.353C479.386 69.1087 478.601 69.8873 478.601 70.8478V80.587C478.601 81.0652 478.842 81.3043 479.324 81.3043H481.973C482.941 81.3043 483.725 82.083 483.725 83.0435V89.7826C483.725 94.8261 485.061 98.587 487.732 101.065C490.404 103.543 494.28 104.783 499.36 104.783H506.52C507.002 104.783 507.242 104.543 507.242 104.065V94.2609Z" fill="black"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M545.711 68.4565C547.726 68.4565 549.456 68.9565 550.901 69.9565C552.262 70.8705 553.385 72.0568 554.27 73.5156C554.426 73.7713 554.701 73.9348 555.001 73.9348C555.458 73.9348 555.828 73.5675 555.828 73.1144V57.6087C555.828 56.6482 556.612 55.8696 557.58 55.8696H568.243C568.725 55.8696 568.966 56.1087 568.966 56.587V103.043C568.966 104.004 568.182 104.783 567.214 104.783H556.55C556.069 104.783 555.828 104.543 555.828 104.065V100.148C555.828 99.6821 555.447 99.3043 554.978 99.3043C554.689 99.3043 554.42 99.4511 554.259 99.6893C553.14 101.339 551.89 102.689 550.507 103.739C549.018 104.87 547.157 105.435 544.923 105.435C541.901 105.435 539.515 104.413 537.763 102.37C536.011 100.326 535.135 97.587 535.135 94.1522V80.4565C535.135 76.7174 536.033 73.7826 537.829 71.6522C539.668 69.5217 542.296 68.4565 545.711 68.4565ZM548.996 93.0435C549.478 93.5652 550.332 93.8261 551.558 93.8261C552.797 93.8261 553.886 93.6774 554.825 93.3801C555.457 93.18 555.828 92.5622 555.828 91.9034V81.5829C555.828 81.0014 555.542 80.4427 555.014 80.1911C554.6 79.9938 554.171 79.8431 553.726 79.7391C552.981 79.5217 552.259 79.413 551.558 79.413C549.324 79.413 548.208 80.5217 548.208 82.7391V90.5652C548.208 91.7391 548.47 92.5652 548.996 93.0435Z" fill="black"/>
<path d="M588.228 104.783C589.195 104.783 589.98 104.004 589.98 103.043V84.6928C589.98 84.0869 590.292 83.5143 590.842 83.2503C591.381 82.9911 591.947 82.7772 592.542 82.6087C593.461 82.3044 594.49 82.1522 595.629 82.1522C596.461 82.1522 597.249 82.2174 597.994 82.3478C598.726 82.469 599.44 82.6277 600.134 82.8239C600.24 82.8537 600.349 82.8696 600.458 82.8696C601.093 82.8696 601.607 82.3591 601.607 81.7294V69.8261C601.607 69.5217 601.497 69.2609 601.278 69.0435C601.147 68.913 600.906 68.7826 600.556 68.6522C600.205 68.5217 599.68 68.4565 598.979 68.4565C596.921 68.4565 595.279 69.087 594.052 70.3478C592.966 71.4664 592.12 73.0989 591.514 75.2453C591.418 75.5851 591.11 75.8261 590.754 75.8261C590.326 75.8261 589.98 75.4818 589.98 75.057V69.8261C589.98 69.3478 589.739 69.1087 589.257 69.1087H578.396C577.429 69.1087 576.644 69.8873 576.644 70.8478V104.065C576.644 104.543 576.885 104.783 577.367 104.783H588.228Z" fill="black"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M638.295 81.8261V92.3913C638.295 92.9268 638.482 93.2772 638.855 93.4425C638.96 93.4893 639.069 93.5295 639.178 93.5672C639.3 93.6094 639.422 93.6304 639.544 93.6304H639.631C640.599 93.6304 641.383 94.4091 641.383 95.3696V104.065C641.383 104.543 641.142 104.783 640.66 104.783H636.259C634.113 104.783 632.142 104.348 630.347 103.478C628.788 102.705 627.594 101.587 626.763 100.124C626.573 99.7893 626.224 99.5652 625.837 99.5652C625.46 99.5652 625.118 99.7765 624.931 100.101C624 101.715 622.783 102.993 621.282 103.935C619.661 104.935 617.581 105.435 615.041 105.435C611.975 105.435 609.545 104.609 607.749 102.957C605.954 101.304 605.056 99.0652 605.056 96.2391V93.6957C605.056 90.6522 605.954 88.2609 607.749 86.5217C609.589 84.7826 612.172 83.913 615.501 83.913H624.697C625.205 83.913 625.617 83.5043 625.617 83C625.617 81.4783 625.201 80.4565 624.369 79.9348C623.581 79.3696 622.048 79.087 619.771 79.087C615.972 79.087 612.216 79.6361 608.503 80.7343C608.395 80.7661 608.284 80.7826 608.171 80.7826C607.539 80.7826 607.027 80.2739 607.027 79.6463V71.2609C607.027 70.9565 607.092 70.7391 607.224 70.6087C607.53 70.3043 608.362 69.9783 609.72 69.6304C611.121 69.2826 612.808 68.9783 614.778 68.7174C616.793 68.413 618.851 68.2609 620.953 68.2609C626.953 68.2609 631.332 69.3478 634.091 71.5217C636.894 73.6522 638.295 77.087 638.295 81.8261ZM619.442 96.0435C621.348 96.0435 623.127 95.6161 624.777 94.7612C625.312 94.4845 625.617 93.9194 625.617 93.3211V91.9783C625.617 91.0178 624.833 90.2391 623.865 90.2391H619.574C618.829 90.2391 618.26 90.4348 617.866 90.8261C617.515 91.2609 617.34 91.7826 617.34 92.3913V93.9565C617.34 95.3478 618.041 96.0435 619.442 96.0435Z" fill="black"/>
<path d="M664.776 69.1087C663.958 69.1087 663.25 69.6696 663.068 70.4605C662.137 74.5177 661.277 78.3279 660.489 81.8913C659.711 85.5887 659.125 89.0962 658.73 92.4139C658.682 92.8093 658.346 93.1087 657.945 93.1087C657.503 93.1087 657.147 92.7472 657.154 92.3083C657.205 88.9664 657.069 85.6245 656.744 82.2826C656.438 78.6739 656.044 74.6522 655.562 70.2174C655.518 69.7391 655.43 69.4348 655.299 69.3043C655.168 69.1739 654.971 69.1087 654.708 69.1087H645.295C644.208 69.1087 643.383 70.0825 643.568 71.1467C644.447 76.2065 645.292 81.2663 646.102 86.3261C647.066 92.0652 648.029 97.587 648.993 102.891C649.143 103.562 649.309 104.041 649.491 104.328C649.548 104.417 649.623 104.493 649.711 104.552C649.938 104.706 650.18 104.783 650.438 104.783H662.158C662.955 104.783 663.651 104.249 663.852 103.484C664.192 102.194 664.494 101.039 664.758 100.022C665.109 98.6739 665.415 97.3478 665.678 96.0435C665.941 94.7391 666.204 93.3043 666.466 91.7391C666.743 90.2865 667.038 88.5325 667.35 86.4772C667.409 86.0907 667.743 85.8043 668.137 85.8043C668.535 85.8043 668.871 86.0965 668.924 86.4877C669.191 88.4532 669.423 90.1385 669.62 91.5435C669.882 93.0652 670.123 94.413 670.342 95.587C670.605 96.7174 670.868 97.8696 671.13 99.0435C671.393 100.174 671.7 101.478 672.05 102.957C672.238 103.59 672.425 104.047 672.613 104.329C672.671 104.417 672.746 104.493 672.834 104.552C673.061 104.706 673.303 104.783 673.561 104.783H685.485C686.338 104.783 687.067 104.172 687.212 103.338L689.984 87.3043C690.991 81.4783 691.976 75.6957 692.94 69.9565C692.983 69.3913 692.786 69.1087 692.349 69.1087H682.245C681.344 69.1087 680.589 69.7887 680.503 70.68C680.125 74.5767 679.782 78.2703 679.473 81.7609C679.189 85.3908 679.055 88.9084 679.072 92.3138C679.074 92.7513 678.719 93.1087 678.278 93.1087C677.874 93.1087 677.535 92.8065 677.489 92.4081C677.091 89.0194 676.482 85.5355 675.663 81.9565C674.831 78.1304 673.911 74.087 672.904 69.8261C672.773 69.3478 672.51 69.1087 672.116 69.1087H664.776Z" fill="black"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M377 48.7912C377 43.936 380.798 40 385.482 40H449.098C453.783 40 457.58 43.936 457.58 48.7912V111.209C457.58 116.064 453.783 120 449.098 120H385.482C380.798 120 377 116.064 377 111.209V48.7912ZM424.571 62.8801C424.571 64.8134 423.905 66.4539 422.574 67.8014C421.243 69.1489 419.622 69.8226 417.712 69.8226C415.744 69.8226 414.095 69.1489 412.764 67.8014C411.433 66.4539 410.767 64.8134 410.767 62.8801C410.767 60.9467 411.433 59.3063 412.764 57.9588C414.095 56.6113 415.744 55.9375 417.712 55.9375C419.622 55.9375 421.243 56.6113 422.574 57.9588C423.905 59.3063 424.571 60.9467 424.571 62.8801ZM410.68 87.2107C410.68 85.2774 411.346 83.6369 412.677 82.2894C414.066 80.8833 415.744 80.1803 417.712 80.1803C419.564 80.1803 421.185 80.8833 422.574 82.2894C423.963 83.6369 424.774 85.1602 425.005 86.8592C425.468 90.0229 424.889 93.1573 423.269 96.2624C421.706 99.3675 419.449 101.74 416.497 103.381C414.876 104.318 413.545 104.289 412.503 103.293C411.519 102.355 411.809 101.242 413.371 99.9534C414.24 99.309 414.963 98.4887 415.542 97.4928C416.121 96.4968 416.497 95.4715 416.671 94.4169C416.728 93.9482 416.526 93.7139 416.063 93.7139C414.905 93.6553 413.719 93.0108 412.503 91.7805C411.288 90.5502 410.68 89.0269 410.68 87.2107Z" stroke="white" stroke-width="26" mask="url(#path-1-outside-1_3296_32770)"/>
<path d="M529.906 104.783C530.387 104.783 530.628 104.543 530.628 104.065V94.3261C530.628 93.3656 529.844 92.587 528.877 92.587H527.607C527.212 92.587 526.906 92.4783 526.687 92.2609C526.512 92.087 526.424 91.8261 526.424 91.4783V56.587C526.424 56.1087 526.183 55.8696 525.701 55.8696H514.644C513.676 55.8696 512.892 56.6482 512.892 57.6087V95.3913C512.892 98.5217 513.79 100.87 515.585 102.435C517.381 104 519.68 104.783 522.483 104.783H529.906Z" stroke="white" stroke-width="26" mask="url(#path-1-outside-1_3296_32770)"/>
<path d="M507.242 94.2609C507.242 93.3004 506.458 92.5217 505.491 92.5217H500.87C499.381 92.5217 498.374 92.2609 497.849 91.7391C497.192 91.1304 496.863 90.1522 496.863 88.8043V83.0435C496.863 82.083 497.648 81.3043 498.615 81.3043H505.491C506.458 81.3043 507.242 80.5257 507.242 79.5652V69.8261C507.242 69.3478 507.002 69.1087 506.52 69.1087H498.615C497.648 69.1087 496.863 68.3301 496.863 67.3696V59.8478C496.863 59.3696 496.622 59.1304 496.141 59.1304H485.477C484.51 59.1304 483.725 59.9091 483.725 60.8696V67.3696C483.725 68.3301 482.941 69.1087 481.973 69.1087H480.353C479.386 69.1087 478.601 69.8873 478.601 70.8478V80.587C478.601 81.0652 478.842 81.3043 479.324 81.3043H481.973C482.941 81.3043 483.725 82.083 483.725 83.0435V89.7826C483.725 94.8261 485.061 98.587 487.732 101.065C490.404 103.543 494.28 104.783 499.36 104.783H506.52C507.002 104.783 507.242 104.543 507.242 104.065V94.2609Z" stroke="white" stroke-width="26" mask="url(#path-1-outside-1_3296_32770)"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M545.711 68.4565C547.726 68.4565 549.456 68.9565 550.901 69.9565C552.262 70.8705 553.385 72.0568 554.27 73.5156C554.426 73.7713 554.701 73.9348 555.001 73.9348C555.458 73.9348 555.828 73.5675 555.828 73.1144V57.6087C555.828 56.6482 556.612 55.8696 557.58 55.8696H568.243C568.725 55.8696 568.966 56.1087 568.966 56.587V103.043C568.966 104.004 568.182 104.783 567.214 104.783H556.55C556.069 104.783 555.828 104.543 555.828 104.065V100.148C555.828 99.6821 555.447 99.3043 554.978 99.3043C554.689 99.3043 554.42 99.4511 554.259 99.6893C553.14 101.339 551.89 102.689 550.507 103.739C549.018 104.87 547.157 105.435 544.923 105.435C541.901 105.435 539.515 104.413 537.763 102.37C536.011 100.326 535.135 97.587 535.135 94.1522V80.4565C535.135 76.7174 536.033 73.7826 537.829 71.6522C539.668 69.5217 542.296 68.4565 545.711 68.4565ZM548.996 93.0435C549.478 93.5652 550.332 93.8261 551.558 93.8261C552.797 93.8261 553.886 93.6774 554.825 93.3801C555.457 93.18 555.828 92.5622 555.828 91.9034V81.5829C555.828 81.0014 555.542 80.4427 555.014 80.1911C554.6 79.9938 554.171 79.8431 553.726 79.7391C552.981 79.5217 552.259 79.413 551.558 79.413C549.324 79.413 548.208 80.5217 548.208 82.7391V90.5652C548.208 91.7391 548.47 92.5652 548.996 93.0435Z" stroke="white" stroke-width="26" mask="url(#path-1-outside-1_3296_32770)"/>
<path d="M588.228 104.783C589.195 104.783 589.98 104.004 589.98 103.043V84.6928C589.98 84.0869 590.292 83.5143 590.842 83.2503C591.381 82.9911 591.947 82.7772 592.542 82.6087C593.461 82.3044 594.49 82.1522 595.629 82.1522C596.461 82.1522 597.249 82.2174 597.994 82.3478C598.726 82.469 599.44 82.6277 600.134 82.8239C600.24 82.8537 600.349 82.8696 600.458 82.8696C601.093 82.8696 601.607 82.3591 601.607 81.7294V69.8261C601.607 69.5217 601.497 69.2609 601.278 69.0435C601.147 68.913 600.906 68.7826 600.556 68.6522C600.205 68.5217 599.68 68.4565 598.979 68.4565C596.921 68.4565 595.279 69.087 594.052 70.3478C592.966 71.4664 592.12 73.0989 591.514 75.2453C591.418 75.5851 591.11 75.8261 590.754 75.8261C590.326 75.8261 589.98 75.4818 589.98 75.057V69.8261C589.98 69.3478 589.739 69.1087 589.257 69.1087H578.396C577.429 69.1087 576.644 69.8873 576.644 70.8478V104.065C576.644 104.543 576.885 104.783 577.367 104.783H588.228Z" stroke="white" stroke-width="26" mask="url(#path-1-outside-1_3296_32770)"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M638.295 81.8261V92.3913C638.295 92.9268 638.482 93.2772 638.855 93.4425C638.96 93.4893 639.069 93.5295 639.178 93.5672C639.3 93.6094 639.422 93.6304 639.544 93.6304H639.631C640.599 93.6304 641.383 94.4091 641.383 95.3696V104.065C641.383 104.543 641.142 104.783 640.66 104.783H636.259C634.113 104.783 632.142 104.348 630.347 103.478C628.788 102.705 627.594 101.587 626.763 100.124C626.573 99.7893 626.224 99.5652 625.837 99.5652C625.46 99.5652 625.118 99.7765 624.931 100.101C624 101.715 622.783 102.993 621.282 103.935C619.661 104.935 617.581 105.435 615.041 105.435C611.975 105.435 609.545 104.609 607.749 102.957C605.954 101.304 605.056 99.0652 605.056 96.2391V93.6957C605.056 90.6522 605.954 88.2609 607.749 86.5217C609.589 84.7826 612.172 83.913 615.501 83.913H624.697C625.205 83.913 625.617 83.5043 625.617 83C625.617 81.4783 625.201 80.4565 624.369 79.9348C623.581 79.3696 622.048 79.087 619.771 79.087C615.972 79.087 612.216 79.6361 608.503 80.7343C608.395 80.7661 608.284 80.7826 608.171 80.7826C607.539 80.7826 607.027 80.2739 607.027 79.6463V71.2609C607.027 70.9565 607.092 70.7391 607.224 70.6087C607.53 70.3043 608.362 69.9783 609.72 69.6304C611.121 69.2826 612.808 68.9783 614.778 68.7174C616.793 68.413 618.851 68.2609 620.953 68.2609C626.953 68.2609 631.332 69.3478 634.091 71.5217C636.894 73.6522 638.295 77.087 638.295 81.8261ZM619.442 96.0435C621.348 96.0435 623.127 95.6161 624.777 94.7612C625.312 94.4845 625.617 93.9194 625.617 93.3211V91.9783C625.617 91.0178 624.833 90.2391 623.865 90.2391H619.574C618.829 90.2391 618.26 90.4348 617.866 90.8261C617.515 91.2609 617.34 91.7826 617.34 92.3913V93.9565C617.34 95.3478 618.041 96.0435 619.442 96.0435Z" stroke="white" stroke-width="26" mask="url(#path-1-outside-1_3296_32770)"/>
<path d="M664.776 69.1087C663.958 69.1087 663.25 69.6696 663.068 70.4605C662.137 74.5177 661.277 78.3279 660.489 81.8913C659.711 85.5887 659.125 89.0962 658.73 92.4139C658.682 92.8093 658.346 93.1087 657.945 93.1087C657.503 93.1087 657.147 92.7472 657.154 92.3083C657.205 88.9664 657.069 85.6245 656.744 82.2826C656.438 78.6739 656.044 74.6522 655.562 70.2174C655.518 69.7391 655.43 69.4348 655.299 69.3043C655.168 69.1739 654.971 69.1087 654.708 69.1087H645.295C644.208 69.1087 643.383 70.0825 643.568 71.1467C644.447 76.2065 645.292 81.2663 646.102 86.3261C647.066 92.0652 648.029 97.587 648.993 102.891C649.143 103.562 649.309 104.041 649.491 104.328C649.548 104.417 649.623 104.493 649.711 104.552C649.938 104.706 650.18 104.783 650.438 104.783H662.158C662.955 104.783 663.651 104.249 663.852 103.484C664.192 102.194 664.494 101.039 664.758 100.022C665.109 98.6739 665.415 97.3478 665.678 96.0435C665.941 94.7391 666.204 93.3043 666.466 91.7391C666.743 90.2865 667.038 88.5325 667.35 86.4772C667.409 86.0907 667.743 85.8043 668.137 85.8043C668.535 85.8043 668.871 86.0965 668.924 86.4877C669.191 88.4532 669.423 90.1385 669.62 91.5435C669.882 93.0652 670.123 94.413 670.342 95.587C670.605 96.7174 670.868 97.8696 671.13 99.0435C671.393 100.174 671.7 101.478 672.05 102.957C672.238 103.59 672.425 104.047 672.613 104.329C672.671 104.417 672.746 104.493 672.834 104.552C673.061 104.706 673.303 104.783 673.561 104.783H685.485C686.338 104.783 687.067 104.172 687.212 103.338L689.984 87.3043C690.991 81.4783 691.976 75.6957 692.94 69.9565C692.983 69.3913 692.786 69.1087 692.349 69.1087H682.245C681.344 69.1087 680.589 69.7887 680.503 70.68C680.125 74.5767 679.782 78.2703 679.473 81.7609C679.189 85.3908 679.055 88.9084 679.072 92.3138C679.074 92.7513 678.719 93.1087 678.278 93.1087C677.874 93.1087 677.535 92.8065 677.489 92.4081C677.091 89.0194 676.482 85.5355 675.663 81.9565C674.831 78.1304 673.911 74.087 672.904 69.8261C672.773 69.3478 672.51 69.1087 672.116 69.1087H664.776Z" stroke="white" stroke-width="26" mask="url(#path-1-outside-1_3296_32770)"/>
</svg>

After

Width:  |  Height:  |  Size: 26 KiB

BIN
os/dist/baiban/static/embed-icons/codepen.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
os/dist/baiban/static/embed-icons/codesandbox.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

BIN
os/dist/baiban/static/embed-icons/desmos.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
os/dist/baiban/static/embed-icons/excalidraw.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 846 B

BIN
os/dist/baiban/static/embed-icons/felt.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 977 B

BIN
os/dist/baiban/static/embed-icons/figma.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
os/dist/baiban/static/embed-icons/github_gist.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
os/dist/baiban/static/embed-icons/google_calendar.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 962 B

BIN
os/dist/baiban/static/embed-icons/google_maps.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
os/dist/baiban/static/embed-icons/google_slides.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
os/dist/baiban/static/embed-icons/observable.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 769 B

BIN
os/dist/baiban/static/embed-icons/replit.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 526 B

BIN
os/dist/baiban/static/embed-icons/scratch.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
os/dist/baiban/static/embed-icons/spotify.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
os/dist/baiban/static/embed-icons/tldraw.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 625 B

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save