@ -0,0 +1,2 @@ |
|||||
|
/build |
||||
|
/.tauri |
@ -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")) |
||||
|
} |
@ -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 |
@ -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" "$@" |
@ -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 |
@ -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 |
@ -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 |
@ -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') |
@ -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) |
||||
|
} |
||||
|
} |
@ -0,0 +1,3 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> |
||||
|
</manifest> |
@ -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 |
||||
|
} |
||||
|
} |
@ -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) |
||||
|
} |
||||
|
} |
@ -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) |
||||
|
} |
||||
|
} |
@ -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} |
@ -0,0 +1 @@ |
|||||
|
import{_ as f}from"./index-4533c179.js";export{f as default}; |
@ -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} |
After Width: | Height: | Size: 102 KiB |
After Width: | Height: | Size: 168 KiB |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 84 KiB |
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 209 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 367 KiB |
After Width: | Height: | Size: 39 KiB |
After Width: | Height: | Size: 284 KiB |
@ -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}; |
@ -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%)} |
@ -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} |
@ -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} |
@ -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} |
@ -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};
|
@ -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} |
@ -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} |
@ -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}; |
@ -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}; |
@ -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} |
@ -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> |
After Width: | Height: | Size: 827 B |
After Width: | Height: | Size: 8.3 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 237 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 846 B |
After Width: | Height: | Size: 977 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 962 B |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 769 B |
After Width: | Height: | Size: 526 B |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 625 B |