first commit
|
@ -0,0 +1,50 @@
|
|||
*.iml
|
||||
.gradle
|
||||
/local.properties
|
||||
/.idea/caches
|
||||
/.idea/libraries
|
||||
/.idea/modules.xml
|
||||
/.idea/workspace.xml
|
||||
/.idea/navEditor.xml
|
||||
/.idea/assetWizardSettings.xml
|
||||
.DS_Store
|
||||
/build
|
||||
/captures
|
||||
.externalNativeBuild
|
||||
.cxx
|
||||
local.properties
|
||||
#Android
|
||||
|
||||
# Gradle files
|
||||
.gradle/
|
||||
build/
|
||||
ServerConfig.kt
|
||||
# Local configuration file (sdk path, etc)
|
||||
local.properties
|
||||
|
||||
# Log/OS Files
|
||||
*.log
|
||||
|
||||
# Android Studio generated files and folders
|
||||
captures/
|
||||
.externalNativeBuild/
|
||||
.cxx/
|
||||
*.apk
|
||||
output.json
|
||||
|
||||
# IntelliJ
|
||||
*.iml
|
||||
.idea/
|
||||
misc.xml
|
||||
deploymentTargetDropDown.xml
|
||||
render.experimental.xml
|
||||
|
||||
# Keystore files
|
||||
*.jks
|
||||
*.keystore
|
||||
|
||||
# Google Services (e.g. APIs or Firebase)
|
||||
google-services.json
|
||||
|
||||
# Android Profiling
|
||||
*.hprof
|
|
@ -0,0 +1 @@
|
|||
/build
|
|
@ -0,0 +1,134 @@
|
|||
plugins {
|
||||
id 'com.android.application'
|
||||
id 'kotlin-android'
|
||||
id 'kotlin-kapt'
|
||||
id 'kotlin-parcelize'
|
||||
}
|
||||
|
||||
|
||||
android {
|
||||
namespace 'com.jj.routingservice'
|
||||
compileSdk 34
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.jj.routingservice"
|
||||
minSdk 21
|
||||
targetSdkVersion 33
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables {
|
||||
useSupportLibrary true
|
||||
}
|
||||
}
|
||||
signingConfigs {
|
||||
release {
|
||||
storeFile file("lineage-18_1.keystore")
|
||||
storePassword "123456"
|
||||
keyAlias "android"
|
||||
keyPassword "123456"
|
||||
}
|
||||
debug {
|
||||
storeFile file("lineage-18_1.keystore")
|
||||
storePassword "123456"
|
||||
keyAlias "android"
|
||||
keyPassword "123456"
|
||||
}
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled true
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
debug() {
|
||||
minifyEnabled true
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
sourceSets {
|
||||
main {
|
||||
jniLibs.srcDirs = ['libs']
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_11
|
||||
targetCompatibility JavaVersion.VERSION_11
|
||||
}
|
||||
kotlinOptions {
|
||||
jvmTarget = '11'
|
||||
}
|
||||
android.applicationVariants.all { variant ->
|
||||
variant.outputs.each { output ->
|
||||
def outputFile = output.outputFile
|
||||
if (outputFile != null && outputFile.name.endsWith('.apk')) {
|
||||
// 输出apk名称为UerbT_v1.0_2016-12-01_uerbt.apk
|
||||
def fileName = "Routing_v${variant.versionName}.apk"
|
||||
output.outputFileName = fileName
|
||||
}
|
||||
}
|
||||
}
|
||||
buildFeatures{
|
||||
aidl = true
|
||||
buildConfig = true
|
||||
dataBinding = true
|
||||
viewBinding = true
|
||||
}
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
path = file("src/main/cpp/CMakeLists.txt")
|
||||
version = "3.22.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
def room_version = "2.6.1"
|
||||
implementation fileTree(dir: 'libs' , include: ['*.aar'])
|
||||
implementation files('libs/frpclib-sources.jar')
|
||||
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||||
implementation 'com.google.android.material:material:1.3.0'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
||||
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
||||
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0"
|
||||
implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.8.4")
|
||||
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.4")
|
||||
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0'
|
||||
implementation 'androidx.webkit:webkit:1.4.0'
|
||||
testImplementation("junit:junit:4.13.2")
|
||||
androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")
|
||||
androidTestImplementation("androidx.test.ext:junit-ktx:1.2.1")
|
||||
implementation "androidx.core:core-ktx:1.5.0"
|
||||
implementation("androidx.preference:preference:1.2.1")
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
||||
implementation 'org.nanohttpd:nanohttpd:2.3.1'
|
||||
implementation("com.google.guava:guava:33.2.1-android")
|
||||
implementation 'com.google.code.gson:gson:2.8.7'
|
||||
implementation("io.ktor:ktor-network-jvm:2.3.9")
|
||||
implementation("dnsjava:dnsjava:3.6.1")
|
||||
implementation("com.jakewharton.timber:timber:5.0.1")
|
||||
implementation("be.mygod.librootkotlinx:librootkotlinx:1.2.0")
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-collections-immutable:0.3.7")
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1")
|
||||
implementation("org.lsposed.hiddenapibypass:hiddenapibypass:4.3")
|
||||
implementation("com.linkedin.dexmaker:dexmaker:2.28.4")
|
||||
implementation("androidx.browser:browser:1.8.0")
|
||||
implementation("com.joaomgcd:taskerpluginlibrary:0.4.10")
|
||||
implementation 'pub.devrel:easypermissions:3.0.0'
|
||||
implementation 'com.squareup.okhttp3:okhttp:3.10.0'
|
||||
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
|
||||
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
|
||||
implementation 'com.squareup.retrofit2:adapter-rxjava3:2.9.0'
|
||||
|
||||
implementation 'io.reactivex.rxjava3:rxjava:3.0.0'
|
||||
implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
|
||||
//数据库
|
||||
implementation "androidx.room:room-ktx:$room_version"
|
||||
annotationProcessor "androidx.room:room-compiler:$room_version"
|
||||
kapt "androidx.room:room-compiler:$room_version"
|
||||
implementation project(':localsocket')
|
||||
implementation ('io.socket:socket.io-client:2.0.1') {
|
||||
// excluding org.json which is provided by Android
|
||||
exclude group: 'org.json', module: 'json'
|
||||
}
|
||||
}
|
|
@ -0,0 +1,179 @@
|
|||
# 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
|
||||
-ignorewarnings
|
||||
-dontobfuscate
|
||||
-dontoptimize
|
||||
-dontpreverify #忽略与dex编译器和Dalvik VM不相干的预校验
|
||||
-verbose #开启混淆记录日志,指定映射文件的名称
|
||||
-printmapping proguardMapping.txt
|
||||
-keepattributes *Annotation* #保留注释,RemoteViews通常需要annotations
|
||||
-keepattributes Signature #保持泛型
|
||||
-dontusemixedcaseclassnames # 混淆时不使用大小写混合,混淆后的类名为小写
|
||||
-dontskipnonpubliclibraryclasses # 指定不去忽略非公共的库的类
|
||||
-dontskipnonpubliclibraryclassmembers # 指定不去忽略非公共的库的类的成员
|
||||
#-keep public class * extends android.support.v4.app.Fragment
|
||||
-keep public class * extends androidx.appcompat.*{*;}
|
||||
#如果引用了v4或者v7包
|
||||
-dontwarn android.support.*
|
||||
# 混淆算法
|
||||
-optimizations !code/simplification/cast,!field/*,!class/merging/*
|
||||
#基本规则
|
||||
#四大组件(AndroidManifest.xml清单文件中内容)等不混淆
|
||||
-keep public class * extends android.app.Activity
|
||||
-keep public class * extends android.app.Application
|
||||
-keep public class * extends android.app.Service
|
||||
-keep public class * extends android.content.BroadcastReceiver
|
||||
-keep public class * extends android.content.ContentProvider
|
||||
-keep public class * extends android.app.backup.BackupAgentHelper
|
||||
-keep public class * extends android.preference.Preference
|
||||
-keep public class * extends android.app.AppComponentFactory
|
||||
-keep public class * extends androidx.core.app.CoreComponentFactory
|
||||
-keep public class * extends androidx.appcompat.app.AppCompatActivity
|
||||
-keep class android.app.**{*;}
|
||||
-keep class android.content.**{*;}
|
||||
-keep class android.os.**{*;}
|
||||
#自定义控件不混淆
|
||||
-keep public class * extends android.view.View {
|
||||
public <init>(android.content.Context);
|
||||
public <init>(android.content.Context, android.util.AttributeSet);
|
||||
public <init>(android.content.Context, android.util.AttributeSet, int);
|
||||
public void set*(...);
|
||||
}
|
||||
#包含特殊参数的构造方法及其类不混淆
|
||||
-keepclasseswithmembers class * {
|
||||
public <init>(android.content.Context, android.util.AttributeSet);
|
||||
}
|
||||
-keepclasseswithmembers class * {
|
||||
public <init>(android.content.Context, android.util.AttributeSet, int);
|
||||
}
|
||||
#所有的Onclick操作不混淆
|
||||
-keepclassmembers class * extends android.content.Context {
|
||||
public void *(android.view.View);
|
||||
public void *(android.view.MenuItem);
|
||||
}
|
||||
#保持 native 方法不被混淆
|
||||
-keepclasseswithmembernames class * {
|
||||
native <methods>;
|
||||
}
|
||||
# 对于R(资源)类中的静态方法不能被混淆
|
||||
-keepclassmembers class **.R$* {
|
||||
public static <fields>;
|
||||
}
|
||||
#Javascript接口中的方法不能混淆
|
||||
-keepclassmembers class * {
|
||||
@android.webkit.JavascriptInterface <methods>;
|
||||
}
|
||||
# 枚举类
|
||||
-keepclassmembers enum * {
|
||||
public static **[] values();
|
||||
public static ** valueOf(java.lang.String);
|
||||
}
|
||||
#w
|
||||
#序列化不能被混淆
|
||||
-keep public class * implements java.io.Serializable {*;}
|
||||
-keep class * implements android.os.Parcelable {
|
||||
public static final android.os.Parcelable$Creator *;
|
||||
}
|
||||
|
||||
-keep class com.dolphin.localsocket.bean.** {*;}
|
||||
-keep class com.dolphin.localsocket.cmd.** {*;}
|
||||
-keep class com.jj.routingservice.http.** {*;}
|
||||
-keep class com.jj.routingservice.room.** {*;}
|
||||
-keep class com.jj.routingservice.sms.** {*;}
|
||||
-keep class com.jj.routingservice.net.** {*;}
|
||||
-keep class kotlin.text.**{*;}
|
||||
|
||||
-keep public class * implements com.bumptech.glide.module.GlideModule
|
||||
-keep class * extends com.bumptech.glide.module.AppGlideModule {
|
||||
<init>(...);
|
||||
}
|
||||
-keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
|
||||
**[] $VALUES;
|
||||
public *;
|
||||
}
|
||||
-keep class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder$InternalRewinder {
|
||||
*** rewind();
|
||||
}
|
||||
|
||||
|
||||
-dontwarn javax.annotation.**
|
||||
-dontwarn javax.inject.**
|
||||
|
||||
# OkHttp3
|
||||
-dontwarn okhttp3.logging.**
|
||||
-keep class okhttp3.internal.**{*;}
|
||||
-dontwarn okio.**
|
||||
# Retrofit
|
||||
|
||||
-dontwarn retrofit2.**
|
||||
-keep class retrofit2.** { *; }
|
||||
-keepattributes Exceptions
|
||||
# RxJava RxAndroid
|
||||
-keep class io.reactivex.rxjava3.**{*;}
|
||||
-dontwarn sun.misc.**
|
||||
-keepclassmembers class rx.internal.util.unsafe.*ArrayQueue*Field* {
|
||||
long producerIndex;
|
||||
long consumerIndex;
|
||||
}
|
||||
-keepclassmembers class rx.internal.util.unsafe.BaseLinkedQueueProducerNodeRef {
|
||||
rx.internal.util.atomic.LinkedQueueNode producerNode;
|
||||
}
|
||||
-keepclassmembers class rx.internal.util.unsafe.BaseLinkedQueueConsumerNodeRef {
|
||||
rx.internal.util.atomic.LinkedQueueNode consumerNode;
|
||||
}
|
||||
|
||||
# Gson
|
||||
##---------------Begin: proguard configuration for Gson ----------
|
||||
# Gson uses generic type information stored in a class file when working with fields. Proguard
|
||||
# removes such information by default, so configure it to keep all of it.
|
||||
-keepattributes Signature
|
||||
|
||||
# For using GSON @Expose annotation
|
||||
-keepattributes *Annotation*
|
||||
|
||||
# Gson specific classes
|
||||
-dontwarn sun.misc.**
|
||||
#-keep class com.google.gson.stream.** { *; }
|
||||
|
||||
# Application classes that will be serialized/deserialized over Gson
|
||||
-keep class com.google.gson.examples.android.model.** { <fields>; }
|
||||
|
||||
# Prevent proguard from stripping interface information from TypeAdapter, TypeAdapterFactory,
|
||||
# JsonSerializer, JsonDeserializer instances (so they can be used in @JsonAdapter)
|
||||
-keep class * extends com.google.gson.TypeAdapter
|
||||
-keep class * implements com.google.gson.TypeAdapterFactory
|
||||
-keep class * implements com.google.gson.JsonSerializer
|
||||
-keep class * implements com.google.gson.JsonDeserializer
|
||||
|
||||
# Prevent R8 from leaving Data object members always null
|
||||
-keepclassmembers,allowobfuscation class * {
|
||||
@com.google.gson.annotations.SerializedName <fields>;
|
||||
}
|
||||
|
||||
# Retain generic signatures of TypeToken and its subclasses with R8 version 3.0 and higher.
|
||||
-keep,allowobfuscation,allowshrinking class com.google.gson.reflect.TypeToken
|
||||
-keep,allowobfuscation,allowshrinking class * extends com.google.gson.reflect.TypeToken
|
||||
|
||||
##---------------End: proguard configuration for Gson ----------
|
||||
|
||||
# for DexGuard only
|
||||
#-keep resourcexmlelements manifest/application/meta-data@value=GlideModule
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"version": 3,
|
||||
"artifactType": {
|
||||
"type": "APK",
|
||||
"kind": "Directory"
|
||||
},
|
||||
"applicationId": "com.jj.routingservice",
|
||||
"variantName": "release",
|
||||
"elements": [
|
||||
{
|
||||
"type": "SINGLE",
|
||||
"filters": [],
|
||||
"attributes": [],
|
||||
"versionCode": 1,
|
||||
"versionName": "1.0",
|
||||
"outputFile": "Routing_v1.0.apk"
|
||||
}
|
||||
],
|
||||
"elementType": "File"
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
package com.jj.routingservice
|
||||
|
||||
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("com.jj.routingservice", appContext.packageName)
|
||||
}
|
||||
}
|
|
@ -0,0 +1,115 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:sharedUserId="android.uid.system"
|
||||
>
|
||||
|
||||
<uses-feature
|
||||
android:name="android.hardware.touchscreen"
|
||||
android:required="false" />
|
||||
<uses-feature
|
||||
android:name="android.software.leanback"
|
||||
android:required="false" />
|
||||
<uses-feature
|
||||
android:name="android.hardware.telephony"
|
||||
android:required="false" />
|
||||
|
||||
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
|
||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_CONNECTED_DEVICE" />
|
||||
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
||||
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
|
||||
<uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
|
||||
<uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
|
||||
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
||||
<uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
|
||||
<uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
|
||||
<uses-permission android:name="android.permission.REBOOT" />
|
||||
<uses-permission android:name="com.huawei.hilinkengine.permission.ACCESS_SERVICE" />
|
||||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
||||
<uses-permission android:name="com.huawei.permission.sec.ACCESS_UDID" />
|
||||
<uses-permission android:name="android.permission.READ_CONTACTS" />
|
||||
<uses-permission android:name="android.permission.READ_SMS" />
|
||||
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
||||
<uses-permission android:name="android.permission.RECEIVE_MMS" />
|
||||
<uses-permission android:name="android.permission.RECEIVE_SMS" />
|
||||
<uses-permission android:name="android.permission.SEND_SMS" />
|
||||
<uses-permission android:name="android.permission.WRITE_SMS" />
|
||||
<uses-permission android:name="android.permission.MASTER_CLEAR" />
|
||||
|
||||
<uses-permission-sdk-23
|
||||
android:name="android.permission.ACCESS_COARSE_LOCATION"
|
||||
android:maxSdkVersion="32" />
|
||||
<uses-permission-sdk-23 android:name="android.permission.ACCESS_FINE_LOCATION" />
|
||||
<uses-permission-sdk-23 android:name="android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS" />
|
||||
<uses-permission-sdk-23 android:name="android.permission.CHANGE_WIFI_STATE" />
|
||||
<uses-permission-sdk-23 android:name="android.permission.LOCAL_MAC_ADDRESS" />
|
||||
<uses-permission-sdk-23 android:name="android.permission.MANAGE_USB" />
|
||||
<uses-permission-sdk-23
|
||||
android:name="android.permission.NEARBY_WIFI_DEVICES"
|
||||
android:usesPermissionFlags="neverForLocation" />
|
||||
<uses-permission-sdk-23 android:name="android.permission.OVERRIDE_WIFI_CONFIG" />
|
||||
<uses-permission-sdk-23 android:name="android.permission.READ_WIFI_CREDENTIAL" />
|
||||
<uses-permission-sdk-23 android:name="android.permission.TETHER_PRIVILEGED" />
|
||||
<uses-permission-sdk-23 android:name="android.permission.WRITE_SECURE_SETTINGS" />
|
||||
<uses-permission-sdk-23 android:name="android.permission.WRITE_SETTINGS" />
|
||||
<uses-permission-sdk-23 android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||
|
||||
<queries>
|
||||
<intent>
|
||||
<action android:name="android.net.ITetheringConnector" />
|
||||
</intent>
|
||||
<intent>
|
||||
<action android:name="android.net.ITetheringConnector.InProcess" />
|
||||
</intent>
|
||||
<intent>
|
||||
<action android:name="com.android.server.wifi.intent.action.SERVICE_WIFI_RESOURCES_APK" />
|
||||
</intent>
|
||||
</queries>
|
||||
|
||||
<application
|
||||
android:name=".App"
|
||||
android:allowBackup="true"
|
||||
android:dataExtractionRules="@xml/data_extraction_rules"
|
||||
android:fullBackupContent="@xml/backup_rules"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/AppThemeDayNight"
|
||||
android:networkSecurityConfig="@xml/network_security_config"
|
||||
tools:targetApi="31">
|
||||
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
android:exported="true"
|
||||
android:label="@string/app_name"
|
||||
android:launchMode="singleTask"
|
||||
android:theme="@style/AppThemeDayNight.NoActionBar">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<service
|
||||
android:name=".TetheringService"
|
||||
android:directBootAware="true"
|
||||
android:foregroundServiceType="connectedDevice" />
|
||||
<service android:name=".frp.FrpcService" />
|
||||
<receiver
|
||||
android:name="com.jj.routingservice.receiver.BootCompletedReceiver"
|
||||
android:enabled="true"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
||||
<category android:name="android.intent.category.HOME" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
</application>
|
||||
|
||||
</manifest>
|
After Width: | Height: | Size: 222 B |
|
@ -0,0 +1 @@
|
|||
div[data-v-f0a99695]{-webkit-user-select:none;user-select:none}.mt24[data-v-f0a99695]{margin-top:20px}.OnlineClient .OnlineClientTop[data-v-f0a99695]{padding:24px;box-sizing:border-box;border-radius:16px;border:1px solid #eaebf6;background:#fff}.OnlineClient .OnlineClientTop .OnlineHeader[data-v-f0a99695]{display:flex;justify-content:space-between}.OnlineClient .OnlineClientTop .OnlineHeader .headerLeft[data-v-f0a99695]{color:#333;font-family:SF Pro;font-size:20px;font-style:normal;font-weight:510;line-height:100%}.OnlineClient .OnlineClientTop .OnlineHeader .headerRight[data-v-f0a99695]{cursor:pointer;color:#e12d2d;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:510;line-height:100%}.OnlineClient .OnlineClientTop .OnlineBody .WifiTable[data-v-f0a99695]{min-width:800px;margin-top:24px;box-sizing:border-box;border-radius:16px;border:1px solid #eaebf6;background:#fff}.OnlineClient .OnlineClientTop .OnlineBody .WifiTable .WifiHeader[data-v-f0a99695]{height:64px;border-radius:16px 16px 0 0;border:1px solid #eaebf6;background:#fcfcfc;color:#333;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:510;line-height:16px;padding:24px;text-align:left;box-sizing:border-box}.OnlineClient .OnlineClientTop .OnlineBody .WifiTable .WifiBody[data-v-f0a99695]{text-align:left}.OnlineClient .OnlineClientTop .OnlineBody .WifiTable .WifiBody .Nodata[data-v-f0a99695]{line-height:56px;color:#999;text-align:center}.OnlineClient .OnlineClientTop .OnlineBody .WifiTable .WifiBody .mb16[data-v-f0a99695]{margin-bottom:16px}.OnlineClient .OnlineClientTop .OnlineBody .WifiTable .WifiBody .RowItem[data-v-f0a99695]{display:flex;align-items:center;border-top:1px solid #eaebf6;height:88px;margin-left:0!important;margin-right:0!important;padding:24px 16px}.OnlineClient .OnlineClientTop .OnlineBody .WifiTable .WifiBody .BodyItemGroup[data-v-f0a99695]{display:flex;flex-direction:column}.OnlineClient .OnlineClientTop .OnlineBody .WifiTable .WifiBody .BodyItemGroup .BodyItem2[data-v-f0a99695]{color:#333;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:510}.OnlineClient .OnlineClientTop .OnlineBody .WifiTable .WifiBody .BodyItemGroup .BodyItem2 .ActionButton .SpanDelete[data-v-f0a99695]{cursor:pointer;color:#e12d2d;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:400;margin-right:23px}.OnlineClient .OnlineClientTop .OnlineBody .WifiTable .WifiBody .BodyItemGroup .BodyItem2 .ActionButton .SpanSave[data-v-f0a99695]{cursor:pointer;color:#06f;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:400}.OnlineClient .OnlineClientTop .OnlineBody .WifiTable .WifiBody .BodyItemGroup .greycolor[data-v-f0a99695]{color:#666;font-weight:400}.OnlineClient .OnlineClientTop .OnlineBody .WifiTable .WifiBody .BodyItem[data-v-f0a99695]{line-height:40px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.OnlineClient .OnlineClientTop .OnlineBody .WifiTable .WifiBody .BodyItem .ActionButton .SpanDelete[data-v-f0a99695]{cursor:pointer;color:#e12d2d;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:400;margin-right:23px}.OnlineClient .OnlineClientTop .OnlineBody .WifiTable .WifiBody .BodyItem .ActionButton .Selflck[data-v-f0a99695]{cursor:no-drop;display:flex;width:48px;padding:6px 8px;justify-content:center;align-items:center;border-radius:8px;background:#0066ff1a;color:#06f;font-family:PingFang SC;font-size:14px;font-style:normal;font-weight:400;line-height:14px}.OnlineClient .OnlineClientTop .OnlineBody .WifiTable .WifiBody .BodyItem .ActionButton .SpanSave[data-v-f0a99695]{cursor:pointer;color:#06f;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:400}.OnlineClient .OnlineClientTop .OnlineBody .WifiTable .WifiBody .DeviceName[data-v-f0a99695]{border-radius:16px;border:1px solid #eaebf6;background:#f9fbff}
|
|
@ -0,0 +1 @@
|
|||
.OnlineClient .OnlineClientTop[data-v-e3dacbeb]{padding:24px;box-sizing:border-box;border-radius:16px;border:1px solid #eaebf6;background:#fff}.OnlineClient .OnlineClientTop .OnlineHeader[data-v-e3dacbeb]{display:flex;justify-content:space-between}.OnlineClient .OnlineClientTop .OnlineHeader .headerLeft[data-v-e3dacbeb]{color:#333;font-family:SF Pro;font-size:20px;font-style:normal;font-weight:510;line-height:100%}.OnlineClient .OnlineClientTop .OnlineHeader .headerRight[data-v-e3dacbeb]{cursor:pointer;color:#e12d2d;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:510;line-height:100%}.OnlineClient .OnlineClientTop .OnlineBody[data-v-e3dacbeb]{width:100%}.OnlineClient .OnlineClientTop .OnlineBody .setItem[data-v-e3dacbeb]{width:100%;display:flex;min-height:56px;justify-content:space-between;align-items:center;margin-top:16px}.OnlineClient .OnlineClientTop .OnlineBody .setItem .el-row[data-v-e3dacbeb]{width:100%}.OnlineClient .OnlineClientTop .OnlineBody .setItem .SaveBlock[data-v-e3dacbeb]{width:100%;display:flex;justify-content:center;align-items:center}.OnlineClient .OnlineClientTop .OnlineBody .setItem .SaveBlock .DhcpSave[data-v-e3dacbeb]{width:232px;min-height:56px;border-radius:16px;border:1px solid rgba(0,102,255,.15);background:#0066ff1a;color:#06f;font-family:SF Pro;font-size:20px;font-style:normal;font-weight:510;line-height:56px}.OnlineClient .OnlineClientTop .OnlineBody .setItem .setItemName[data-v-e3dacbeb]{color:#333;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:400;line-height:56px}.OnlineClient .OnlineClientTop .OnlineBody .setItem .setItemValue[data-v-e3dacbeb]{display:flex;align-items:center;box-sizing:border-box;min-height:56px;padding:0 24px;border-radius:16px;border:1px solid #eaebf6;background:#f9fbff}.OnlineClient .OnlineClientTop .OnlineBody .setItem .setItemValue .inputDeep[data-v-e3dacbeb] .el-input__wrapper{padding:0;background:#f9fbff;box-shadow:0 0 0 0 var(--el-input-border-color, var(--el-border-color)) inset;cursor:default}.OnlineClient .OnlineClientTop .OnlineBody .setItem .setItemValue .inputDeep[data-v-e3dacbeb] .el-input__wrapper .el-input__inner{color:#999;font-family:SF Pro;font-size:16px;font-weight:510;cursor:default!important}.OnlineClient .OnlineClientTop .OnlineBody .setItem .setItemLine[data-v-e3dacbeb]{width:100%;min-height:100%;text-align:center;line-height:56px;color:#d9d9d9}.OnlineClient .OnlineClientTop .OnlineBody .dropdownBlock[data-v-e3dacbeb]{width:100%;display:flex;justify-content:space-between;margin-top:16px;min-height:56px}.OnlineClient .OnlineClientTop .OnlineBody .dropdownBlock .el-row[data-v-e3dacbeb]{width:100%}.OnlineClient .OnlineClientTop .OnlineBody .dropdownBlock .el-row .dropApnLeft[data-v-e3dacbeb]{color:#333;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:400;line-height:56px}.OnlineClient .OnlineClientTop .OnlineBody .dropdownBlock .el-row .dropApnRight[data-v-e3dacbeb]{font-size:16px;font-style:normal;font-weight:510;line-height:16px;border-radius:16px;display:flex;flex-direction:column}.OnlineClient .OnlineClientTop .OnlineBody .dropdownBlock .el-row .dropApnRight .inputDeep[data-v-e3dacbeb] .el-input__wrapper{padding:0;background:#f9fbff;box-shadow:0 0 0 0 var(--el-input-border-color, var(--el-border-color)) inset;cursor:default}.OnlineClient .OnlineClientTop .OnlineBody .dropdownBlock .el-row .dropApnRight .inputDeep[data-v-e3dacbeb] .el-input__wrapper .el-input__inner{font-size:16px;color:#333!important;cursor:default!important}.OnlineClient .OnlineClientTop .OnlineBody .dropdownBlock .el-row .dropApnRight .dropdownUp[data-v-e3dacbeb]{border:1px solid #eaebf6;border-radius:12px;box-sizing:border-box;padding:24px;background:#f9fbff;height:56px;color:#999;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:510;line-height:16px;display:flex;justify-content:space-between;align-items:center}.OnlineClient .OnlineClientTop .OnlineBody .dropdownBlock .el-row .dropApnRight .dropdownUp .OpenDrow[data-v-e3dacbeb]{cursor:pointer}.OnlineClient .OnlineClientTop .OnlineBody .dropdownBlock .el-row .dropApnRight .drowdownBottom[data-v-e3dacbeb]{box-sizing:border-box;padding:8px;border-radius:16px;background:#f9fbff}.OnlineClient .OnlineClientTop .OnlineBody .dropdownBlock .el-row .dropApnRight .drowdownBottom .drowdownItem[data-v-e3dacbeb]{color:#666;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:510;line-height:100%;box-sizing:border-box;padding:20px 16px;align-items:center;border-radius:16px;height:56px}.OnlineClient .OnlineClientTop .OnlineBody .dropdownBlock .el-row .dropApnRight .drowdownBottom .drowdownItem[data-v-e3dacbeb]:hover{background:#06f!important;color:#fff!important}
|
|
@ -0,0 +1 @@
|
|||
import{_ as w,a4 as z,k as i,a1 as I,o as M,g as V,s as e,x as n,p as d,a as v,Z as f,w as c,S as Z}from"./index-X_y_Lweg.js";import{E as x,a as B}from"./el-col-BD9sDvtY.js";import{E as C}from"./el-input-CNB75vlJ.js";import{E as L}from"./el-switch-KfUhZLjF.js";import{m as g}from"./index-CcVygsTE.js";import{E as b}from"./index-C_xjvvip.js";import{E as m}from"./index-r5B_-fV1.js";import"./index-Bh4Knf-X.js";import"./typescript-Bp3YSIOJ.js";import"./index-C2mSDKPv.js";import"./index-CQpVMKCZ.js";import"./constants-C-bldqyn.js";import"./use-form-item-En1b377h.js";import"./request-CUVclgT8.js";import"./directive-ByWyyhHJ.js";import"./aria-BUADUvnR.js";const k={class:"OnlineClient"},O={class:"OnlineClientTop"},U={class:"OnlineHeader"},T={class:"headerLeft"},N={class:"OnlineBody"},P={class:"SmallText"},R={class:"UpgradeDuring"},$={class:"duringLeft"},A={class:"leftTop"},H={class:"duringRight"},j={class:"IpAddress"},q={class:"OnlineBody"},F={class:"UpgradeDuring"},G={class:""},J={__name:"DmzPage",setup(K){const h=z();let r=i(""),t=i(""),a=i(""),_=i("");I(()=>{r.value=h.globalData.logon_pwd,y(),console.log(a.value,t.value,"222")});const y=async()=>{const o={cmd:"154",logon_pwd:r.value},s=await g(o,"readdmz");console.log(s,"2222"),s.code==200&&(_.value=s.dmz.device_name,a.value=s.dmz.device_ip,t.value=s.dmz.enabled==1),console.log(a.value,t.value)},D=async()=>{const o=b.service({target:"body",text:"Save DMZ settings..."});try{const s={cmd:"155",logon_pwd:r.value,device_name:_.value,device_ip:a.value,enabled:t.value==!0?1:0};(await g(s,"setdmz")).code==200?m.success("Save successfully"):m.error("Save failed")}catch{m.error("Save failed")}finally{o.close()}};return(o,s)=>{const u=L,E=C,p=B,S=x;return M(),V("div",null,[e("div",k,[e("div",O,[e("div",U,[e("div",T,n(o.$t("system.dmz")),1)]),e("div",N,[e("div",P,n(o.$t("system.descE")),1),e("div",R,[e("div",$,[e("div",A,n(o.$t("system.dmzStatus")),1)]),e("div",H,[d(u,{modelValue:v(t),"onUpdate:modelValue":s[0]||(s[0]=l=>f(t)?t.value=l:t=l)},null,8,["modelValue"])])])]),e("div",j,n(o.$t("system.dmzIP")),1),e("div",q,[d(S,{gutter:24},{default:c(()=>[d(p,{xs:24,sm:18,md:18,lg:18,xl:18},{default:c(()=>[e("div",F,[e("div",G,[d(E,{class:"inputDeep",modelValue:v(a),"onUpdate:modelValue":s[1]||(s[1]=l=>f(a)?a.value=l:a=l)},{default:c(()=>[Z("DMZ Status")]),_:1},8,["modelValue"])])])]),_:1}),d(p,{xs:6,sm:6,md:6,lg:6,xl:6},{default:c(()=>[e("div",{class:"SaveBotton",onClick:D},n(o.$t("system.save")),1)]),_:1})]),_:1})])])])])}}},_e=w(J,[["__scopeId","data-v-b3041cf8"]]);export{_e as default};
|
|
@ -0,0 +1 @@
|
|||
@media (max-width: 758px){.ProductBlock[data-v-b3041cf8]{display:flex;flex-direction:column;align-items:center}.rightBlock[data-v-b3041cf8],.SaveBotton[data-v-b3041cf8]{margin-top:20px}}.OnlineClient .OnlineClientTop[data-v-b3041cf8]{padding:24px;box-sizing:border-box;border-radius:16px;border:1px solid #eaebf6;background:#fff}.OnlineClient .OnlineClientTop .OnlineHeader[data-v-b3041cf8]{display:flex;justify-content:space-between}.OnlineClient .OnlineClientTop .OnlineHeader .headerLeft[data-v-b3041cf8]{color:#333;font-family:SF Pro;font-size:20px;font-style:normal;font-weight:510;line-height:100%}.OnlineClient .OnlineClientTop .OnlineHeader .headerRight[data-v-b3041cf8]{cursor:pointer;color:#e12d2d;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:510;line-height:100%}.OnlineClient .OnlineClientTop .IpAddress[data-v-b3041cf8]{margin-top:24px;color:#333;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:400;line-height:100%;margin-bottom:20px}.OnlineClient .OnlineClientTop .OnlineBody[data-v-b3041cf8]{margin-top:12px}.OnlineClient .OnlineClientTop .OnlineBody .SmallText[data-v-b3041cf8]{color:#999;font-family:SF Pro;font-size:14px;font-style:normal;font-weight:400;line-height:125%;margin-bottom:20px}.OnlineClient .OnlineClientTop .OnlineBody .UpgradeDuring[data-v-b3041cf8]{width:100%;box-sizing:border-box;display:flex;justify-content:space-between;height:56px;padding-left:24px;line-height:56px;padding-right:24px;border-radius:16px;border:1px solid #eaebf6;background:#f9fbff}.OnlineClient .OnlineClientTop .OnlineBody .UpgradeDuring .inputDeep[data-v-b3041cf8] .el-input__wrapper{padding:0;background:#f9fbff;box-shadow:0 0 0 0 var(--el-input-border-color, var(--el-border-color)) inset;cursor:default}.OnlineClient .OnlineClientTop .OnlineBody .UpgradeDuring .inputDeep[data-v-b3041cf8] .el-input__wrapper .el-input__inner{font-size:16px;color:#333!important;cursor:default!important}.OnlineClient .OnlineClientTop .OnlineBody .UpgradeDuring .DmzButton[data-v-b3041cf8]{width:100%;height:56px;border-radius:16px;border:1px solid rgba(0,102,255,.15);background:#0066ff1a;color:#06f;font-family:SF Pro;font-size:20px;font-style:normal;font-weight:510;line-height:100%}.OnlineClient .OnlineClientTop .OnlineBody .UpgradeDuring .duringLeft[data-v-b3041cf8]{display:flex;flex-direction:column;justify-content:space-around}.OnlineClient .OnlineClientTop .OnlineBody .UpgradeDuring .duringLeft .leftTop[data-v-b3041cf8]{color:#333;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:400;line-height:100%}.OnlineClient .OnlineClientTop .OnlineBody .UpgradeDuring .duringLeft .leftBttom[data-v-b3041cf8]{color:#999;font-family:SF Pro;font-size:14px;font-style:normal;font-weight:400;line-height:100%}.OnlineClient .OnlineClientTop .OnlineBody .UpgradeDuring .duringRight[data-v-b3041cf8]{display:flex;align-items:center}.OnlineClient .OnlineClientTop .OnlineBody .SaveBotton[data-v-b3041cf8]{width:100%;min-width:240px;text-align:center;line-height:56px;height:56px;border-radius:16px;border:1px solid rgba(0,102,255,.15);background:#0066ff1a;color:#06f;font-family:SF Pro;font-size:20px;font-style:normal;font-weight:510}.OnlineClient .OnlineClientTop .OnlineBody .ProductBlock[data-v-b3041cf8]{display:flex;justify-content:space-between;margin-top:24px}.OnlineClient .OnlineClientTop .OnlineBody .ProductBlock .ProductLeft[data-v-b3041cf8]{min-height:96px;display:flex;align-items:center}.OnlineClient .OnlineClientTop .OnlineBody .ProductBlock .ProductLeft .ProductText[data-v-b3041cf8]{height:100%}.OnlineClient .OnlineClientTop .OnlineBody .ProductBlock .ProductLeft .ProductText .ProductTitle[data-v-b3041cf8]{margin-top:8px;color:#333;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:400}.OnlineClient .OnlineClientTop .OnlineBody .ProductBlock .ProductLeft .ProductText .smalldell[data-v-b3041cf8]{margin-top:20px;color:#888;font-family:SF Pro;font-size:14px;font-style:normal;font-weight:400;line-height:100%}.OnlineClient .OnlineClientTop .OnlineBody .ProductBlock .ProductLeft .ProductText .productDell[data-v-b3041cf8]{margin-top:10px;color:#333;font-family:SF Pro;font-size:14px;font-style:normal;font-weight:400;line-height:100%}.OnlineClient .OnlineClientTop .OnlineBody .ProductBlock .rightBlock[data-v-b3041cf8]{display:flex;align-items:center}.OnlineClient .OnlineClientTop .OnlineBody .ProductBlock .rightBlock .CheckUpdates[data-v-b3041cf8]{cursor:pointer;width:242px;text-align:center;line-height:56px;height:56px;border-radius:16px;border:1px solid rgba(0,102,255,.15);background:#0066ff1a;color:#06f;font-family:SF Pro;font-size:20px;font-style:normal;font-weight:510}.mt24[data-v-b3041cf8]{margin-top:24px}
|
|
@ -0,0 +1 @@
|
|||
[data-v-f11db711] .el-dialog__header{padding:0!important}[data-v-f11db711] .el-dialog{border-radius:16px}.maskContent .maskTitle[data-v-f11db711]{padding:8px;color:#000;font-family:SF Pro Text;font-size:16px;font-style:normal;font-weight:600;line-height:100%;text-transform:capitalize;margin-bottom:32px}.maskContent .maskItem[data-v-f11db711]{padding:8px;display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.maskContent .maskItem .maskLabel[data-v-f11db711]{color:#333;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:400;height:56px;line-height:56px}.maskContent .maskItem .topBox[data-v-f11db711]{width:100%;height:56px;flex-shrink:0;border-radius:16px;background:#f9fbff;border:1px solid #EAEBF6}.maskContent .maskItem .topBox input[data-v-f11db711]{box-sizing:border-box;width:100%;padding:0 24px;height:100%;border:0;border-radius:40px;line-height:1;background:#f9fbff;color:#999;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:510}.maskContent .maskItem .topBox input[type=text][data-v-f11db711]:focus{outline:none}.footerBox[data-v-f11db711]{display:flex;align-items:center;justify-content:space-around;padding:8px}.footerBox .btnBoxCancel[data-v-f11db711]{display:flex;flex:1;height:56px;justify-content:center;align-items:center;gap:8px;flex-shrink:0;border-radius:16px;border:1px solid rgba(0,0,0,.05);background:#0000000d;color:#999;font-family:SF Pro;font-size:20px;font-style:normal;font-weight:510;line-height:100%;margin-right:16px;cursor:pointer}.footerBox .btnBoxConfirm[data-v-f11db711]{display:flex;flex:1;height:56px;justify-content:center;align-items:center;gap:8px;flex-shrink:0;border-radius:16px;border:1px solid rgba(0,102,255,.15);background:#0066ff1a;color:#06f;font-family:SF Pro;font-size:20px;font-style:normal;font-weight:510;line-height:100%;cursor:pointer}.OnlineClient .OnlineClientTop[data-v-f11db711]{box-sizing:border-box;border-radius:16px;border:1px solid #eaebf6;margin-bottom:22px}.OnlineClient .OnlineClientTop .OnlineHeader[data-v-f11db711]{padding:24px;background:#fff;border-radius:16px;margin-bottom:24px}.OnlineClient .OnlineClientTop .OnlineHeader .headerLeft[data-v-f11db711]{color:#333;font-family:SF Pro;font-size:20px;font-style:normal;font-weight:510;line-height:100%;margin-bottom:12px}.OnlineClient .OnlineClientTop .OnlineHeader .headerDesc[data-v-f11db711]{color:#999;font-family:SF Pro;font-size:14px;font-style:normal;font-weight:400;line-height:125%}.OnlineClient .OnlineClientTop .OnlineBody[data-v-f11db711]{padding:24px;border-radius:16px;border:1px solid #EAEBF6;background:#fff}.OnlineClient .OnlineClientTop .OnlineBody .listTitle[data-v-f11db711]{color:#333;font-family:SF Pro;font-size:20px;font-style:normal;font-weight:510;line-height:100%;margin-bottom:20px}.OnlineClient .OnlineClientTop .OnlineBody .selectForm[data-v-f11db711]{padding-top:22px;display:flex;justify-content:flex-start;min-height:56px;margin-bottom:24px}.OnlineClient .OnlineClientTop .OnlineBody .selectForm .addBtn[data-v-f11db711]{display:flex;width:100%;height:20px;padding:18px 0;justify-content:center;align-items:center;gap:8px;flex-shrink:0;border-radius:16px;border:1px solid #EAEBF6;background:#f9fbff;color:#06f;font-family:SF Pro;font-size:20px;font-style:normal;font-weight:400;line-height:100%}.OnlineClient .OnlineClientTop .OnlineBody .topBox[data-v-f11db711]{height:64px;background:#fcfcfc;display:flex;align-items:center}.OnlineClient .OnlineClientTop .OnlineBody .tableBody[data-v-f11db711]{padding:0 24px;background:#fff;border-bottom-left-radius:16px;border-bottom-right-radius:16px}.OnlineClient .OnlineClientTop .OnlineBody .statusBox[data-v-f11db711]{height:88px;line-height:88px}.OnlineClient .OnlineClientTop .OnlineBody .denyText[data-v-f11db711]{color:#e12d2d;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:510;height:88px;line-height:88px}.OnlineClient .OnlineClientTop .OnlineBody .allowText[data-v-f11db711]{color:#00b37b;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:510;height:88px;line-height:88px}.OnlineClient .OnlineClientTop .OnlineBody .actionBox[data-v-f11db711]{display:flex}.OnlineClient .OnlineClientTop .OnlineBody .actionBox .editText[data-v-f11db711]{flex:1;color:#06f;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:510;line-height:88px}.OnlineClient .OnlineClientTop .OnlineBody .actionBox .delText[data-v-f11db711]{flex:1;height:88px;color:#e12d2d;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:510;line-height:88px;text-align:center}
|
|
@ -0,0 +1 @@
|
|||
.OnlineClient .OnlineClientTop[data-v-592fa5df]{padding:24px;box-sizing:border-box;border-radius:16px;border:1px solid #eaebf6;background:#fff}.OnlineClient .OnlineClientTop .OnlineHeader[data-v-592fa5df]{display:flex;justify-content:space-between}.OnlineClient .OnlineClientTop .OnlineHeader .headerLeft[data-v-592fa5df]{color:#333;font-family:SF Pro;font-size:20px;font-style:normal;font-weight:510;line-height:100%}.OnlineClient .OnlineClientTop .OnlineHeader .headerRight[data-v-592fa5df]{cursor:pointer;color:#e12d2d;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:510;line-height:100%}.OnlineClient .OnlineClientTop .OnlineBody[data-v-592fa5df]{padding-top:20px}.OnlineClient .OnlineClientTop .OnlineBody .WifiTable[data-v-592fa5df]{padding:20px 24px;display:flex;justify-content:space-between;align-items:center;border-radius:16px;border:1px solid #eaebf6;background:#f9fbff;margin-bottom:16px}.OnlineClient .OnlineClientTop .OnlineBody .WifiTable .WifiHeader[data-v-592fa5df]{color:#333;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:400;line-height:100%}.OnlineClient .OnlineClientTop .OnlineBody .saveBtn[data-v-592fa5df]{cursor:pointer;margin:24px auto 0;display:flex;height:56px;padding:18px 97px;justify-content:center;align-items:center;gap:8px;flex-shrink:0;border-radius:16px;border:1px solid rgba(0,102,255,.15);background:#0066ff1a;color:#06f;font-family:SF Pro;font-size:20px;font-style:normal;font-weight:510;line-height:100%}
|
|
@ -0,0 +1 @@
|
|||
import{_ as h,a4 as g,k as c,a1 as y,o as W,g as b,s as e,x as _,p as f,a as u,Z as m}from"./index-X_y_Lweg.js";import{E as V}from"./el-switch-KfUhZLjF.js";import{p}from"./index-CcVygsTE.js";import{E as B}from"./index-C_xjvvip.js";import{E as v}from"./index-r5B_-fV1.js";import"./index-Bh4Knf-X.js";import"./index-CQpVMKCZ.js";import"./constants-C-bldqyn.js";import"./use-form-item-En1b377h.js";import"./request-CUVclgT8.js";import"./directive-ByWyyhHJ.js";import"./index-C2mSDKPv.js";import"./typescript-Bp3YSIOJ.js";import"./aria-BUADUvnR.js";const S={class:"OnlineClient"},D={class:"OnlineClientTop"},E={class:"OnlineHeader"},F={class:"headerLeft"},O={class:"OnlineBody"},k={class:"WifiTable"},I={class:"WifiHeader"},x={class:"WifiBody"},H={class:"WifiTable"},T={class:"WifiHeader"},C={class:"WifiBody"},U={class:"WifiTable"},L={class:"WifiHeader"},M={class:"WifiBody"},N={__name:"FireWall",setup($){const r=g();let d=c(""),o=c(!1),i=c(!1),s=c(!1);y(()=>{d.value=r.globalData.logon_pwd,o.value=r.globalData.firewall_switch=="1",i.value=r.globalData.ip_firewall_switch=="1",s.value=r.globalData.domain_firewall_switch=="1",console.log(s.value)});const w=async()=>{const t=B.service({target:"body",text:"Save settings..."});try{let l={cmd:301,logon_pwd:d.value,firewall_switch:o.value==!0?"1":"0"},n={cmd:302,logon_pwd:d.value,ip_firewall_switch:i.value==!0?"1":"0"},a={cmd:306,logon_pwd:d.value,domain_firewall_switch:s.value==!0?"1":"0"};console.log(s.value,i.value,o.value),await p(l),await p(n),await p(a),v.success("Save successfully")}catch(l){v.error(`An error occurred: ${l.message||l}`)}finally{t.close()}};return(t,l)=>{const n=V;return W(),b("div",null,[e("div",S,[e("div",D,[e("div",E,[e("div",F,_(t.$t("system.firewall")),1)]),e("div",O,[e("div",k,[e("div",I,_(t.$t("system.enableFirewall")),1),e("div",x,[f(n,{style:{width:"43px"},modelValue:u(o),"onUpdate:modelValue":l[0]||(l[0]=a=>m(o)?o.value=a:o=a)},null,8,["modelValue"])])]),e("div",H,[e("div",T,_(t.$t("system.enableIP")),1),e("div",C,[f(n,{style:{width:"43px"},modelValue:u(i),"onUpdate:modelValue":l[1]||(l[1]=a=>m(i)?i.value=a:i=a)},null,8,["modelValue"])])]),e("div",U,[e("div",L,_(t.$t("system.enableDomain")),1),e("div",M,[f(n,{style:{width:"43px"},modelValue:u(s),"onUpdate:modelValue":l[2]||(l[2]=a=>m(s)?s.value=a:s=a)},null,8,["modelValue"])])]),e("div",{class:"saveBtn",onClick:w},"Save")])])])])}}},le=h(N,[["__scopeId","data-v-592fa5df"]]);export{le as default};
|
|
@ -0,0 +1 @@
|
|||
.custom-loading[data-v-2396bf92]{background:url(/assets/submiting-B7ULOMtL.gif) no-repeat center center;background-size:contain;width:50px;height:50px}.Guide[data-v-2396bf92]{width:100%}.Guide .Main[data-v-2396bf92]{margin-top:40px}.Guide .Main .mt30[data-v-2396bf92]{padding-left:20px;padding-right:20px;margin-top:30px;min-height:56px}.Guide .Main .mt30 .SaveButton[data-v-2396bf92]{width:100%;min-height:56px;background:#06f;border-radius:16px;font-size:20px;font-weight:510;color:#fff;border:none}.Guide .Main .title[data-v-2396bf92]{font-size:24px;font-weight:700;text-align:center}.Guide .Main .Smalltitle[data-v-2396bf92]{text-align:left;font-size:20px;line-height:56px}.Guide .Main .ItemInput[data-v-2396bf92]{height:100%;display:flex;padding:0 20px;border-radius:16px;color:#06f;background:#f9fbff;font-family:SF Pro;font-size:20px;font-style:normal;font-weight:510;border:1px solid rgba(0,102,255,.15)}.Guide .Main .ItemInput .inputDeep[data-v-2396bf92] .el-input__wrapper{padding:0;background:#f9fbff;box-shadow:0 0 0 0 var(--el-input-border-color, var(--el-border-color)) inset;cursor:default}.Guide .Main .ItemInput .inputDeep[data-v-2396bf92] .el-input__wrapper .el-input__inner{color:#333;font-family:SF Pro;font-size:16px;font-weight:510}.Guide .Main .ItemTip[data-v-2396bf92]{height:100%;display:flex;justify-content:space-between;align-items:center;padding:0 20px}
|
After Width: | Height: | Size: 7.6 KiB |
|
@ -0,0 +1 @@
|
|||
.RedireactPage[data-v-71852f13]{width:100%}.RedireactPage .NetworkError .HeadTitle[data-v-71852f13]{font-size:24px;text-align:center;background-color:#007dff;font-weight:700;height:78px;line-height:78px;color:#fff}.RedireactPage .NetworkError .bodyTitle[data-v-71852f13]{text-align:center;margin-top:30px;font-size:20px}.RedireactPage .NetworkError .Smalltitle[data-v-71852f13]{text-align:left;font-size:22px;font-weight:500;line-height:56px}.RedireactPage .NetworkError .ItemInput[data-v-71852f13]{min-height:56px;display:flex;padding:0 20px;border-radius:16px;color:#06f;background:#f9fbff;font-family:SF Pro;font-size:20px;font-style:normal;font-weight:510;border:1px solid rgba(0,102,255,.15)}.RedireactPage .NetworkError .ItemInput .inputDeep[data-v-71852f13] .el-input__wrapper{padding:0;background:#f9fbff;box-shadow:0 0 0 0 var(--el-input-border-color, var(--el-border-color)) inset;cursor:default}.RedireactPage .NetworkError .ItemInput .inputDeep[data-v-71852f13] .el-input__wrapper .el-input__inner{color:#333;font-family:SF Pro;font-size:16px;font-weight:510}.RedireactPage .NetworkError .imgbox[data-v-71852f13]{display:flex;justify-content:center;margin-top:30px}.RedireactPage .NetworkError .backbutton[data-v-71852f13]{margin-top:40px;width:100%;height:56px;background:#06f;border-radius:16px;font-size:20px;font-weight:510;color:#fff;border:none}.RedireactPage .pin .mt20[data-v-71852f13]{min-height:56px;margin-top:20px;padding:0 20px;display:flex;align-items:center}.RedireactPage .pin .mt20 .el-col[data-v-71852f13]{height:100%}.RedireactPage .pin .mt20 .SaveButton[data-v-71852f13]{width:100%;min-height:56px;background:#06f;border-radius:16px;font-size:20px;font-weight:510;color:#fff;border:none}.RedireactPage .pin .mt20 .ItemInput[data-v-71852f13]{min-height:56px;display:flex;padding:0 20px;border-radius:16px;color:#06f;background:#f9fbff;font-family:SF Pro;font-size:20px;font-style:normal;font-weight:510;border:1px solid rgba(0,102,255,.15)}.RedireactPage .pin .mt20 .ItemInput .inputDeep[data-v-71852f13] .el-input__wrapper{padding:0;background:#f9fbff;box-shadow:0 0 0 0 var(--el-input-border-color, var(--el-border-color)) inset;cursor:default}.RedireactPage .pin .mt20 .ItemInput .inputDeep[data-v-71852f13] .el-input__wrapper .el-input__inner{color:#333;font-family:SF Pro;font-size:16px;font-weight:510}.RedireactPage .pin .HeadTitle[data-v-71852f13]{font-size:24px;text-align:center;background-color:#007dff;font-weight:700;height:78px;line-height:78px;color:#fff}.RedireactPage .pin .bodyTitle[data-v-71852f13]{text-align:center;margin-top:30px;font-size:20px}.RedireactPage .puk .mt20[data-v-71852f13]{min-height:56px;margin-top:20px;padding:0 20px;display:flex;align-items:center}.RedireactPage .puk .mt20 .el-col[data-v-71852f13]{height:100%}.RedireactPage .puk .mt20 .SaveButton[data-v-71852f13]{width:100%;min-height:56px;background:#06f;border-radius:16px;font-size:20px;font-weight:510;color:#fff;border:none}.RedireactPage .puk .mt20 .ItemInput[data-v-71852f13]{min-height:56px;display:flex;padding:0 20px;border-radius:16px;color:#06f;background:#f9fbff;font-family:SF Pro;font-size:20px;font-style:normal;font-weight:510;border:1px solid rgba(0,102,255,.15)}.RedireactPage .puk .mt20 .ItemInput .inputDeep[data-v-71852f13] .el-input__wrapper{padding:0;background:#f9fbff;box-shadow:0 0 0 0 var(--el-input-border-color, var(--el-border-color)) inset;cursor:default}.RedireactPage .puk .mt20 .ItemInput .inputDeep[data-v-71852f13] .el-input__wrapper .el-input__inner{color:#333;font-family:SF Pro;font-size:16px;font-weight:510}.RedireactPage .puk .HeadTitle[data-v-71852f13]{font-size:24px;text-align:center;background-color:#007dff;font-weight:700;height:78px;line-height:78px;color:#fff}.RedireactPage .puk .bodyTitle[data-v-71852f13]{text-align:center;margin-top:30px;font-size:20px}.RedireactPage .pd20[data-v-71852f13]{padding:0 20px}
|
|
@ -0,0 +1 @@
|
|||
@media (max-width: 768px){.OnlineLeft[data-v-6ad4f192]{display:flex;flex-wrap:wrap;gap:8px!important}.OnlineLeft .OnlineItem[data-v-6ad4f192]{line-height:36px!important}.OnlineClientBottom P[data-v-6ad4f192]{font-size:10px}}.mt24[data-v-6ad4f192]{margin-top:20px}.OnlineClient[data-v-6ad4f192]{border:1px solid #eaebf6;border-radius:16px;background:#fff}.OnlineClient .OnlineClientTop[data-v-6ad4f192]{padding:24px;box-sizing:border-box;display:flex;flex-wrap:wrap;justify-content:space-between}.OnlineClient .OnlineClientTop .OnlineLeft[data-v-6ad4f192]{display:flex;flex-wrap:wrap;gap:24px}.OnlineClient .OnlineClientTop .OnlineLeft .OnlineItem[data-v-6ad4f192]{cursor:pointer;display:flex;border-radius:16px;padding:6px 12px;border:1px solid #eaebf6;color:#999;font-family:SF Pro;font-size:16px;font-style:normal;text-wrap:nowrap;font-weight:510;line-height:56px}.OnlineClient .OnlineClientTop .OnlineLeft .activeOnlineItem[data-v-6ad4f192]{color:#333;border:1px solid rgba(0,102,255,.2);background:#f2f7ff}.OnlineClient .OnlineClientTop .OnlineRight[data-v-6ad4f192]{margin-top:8px;height:56px;display:flex}.OnlineClient .OnlineClientTop .OnlineRight .autofresh[data-v-6ad4f192]{box-sizing:border-box;padding:16px 20px;display:flex;align-items:center;border-radius:16px;border:1px solid #eaebf6;margin-right:16px}.OnlineClient .OnlineClientTop .OnlineRight .autofresh .SwitchOpen[data-v-6ad4f192]{margin-right:10px}.OnlineClient .OnlineClientTop .OnlineRight .refreshButton[data-v-6ad4f192]{cursor:pointer;padding:18px;border-radius:16px;border:1px solid rgba(0,102,255,.15);background:#0066ff1a;color:#06f;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:400}.OnlineClient .OnlineClientBottom[data-v-6ad4f192]{height:500px;overflow:auto;margin-left:20px;color:#666;font-family:SF Pro;font-size:14px;font-style:normal;font-weight:400}.OnlineClient .OnlineClientBottom P[data-v-6ad4f192]{width:100%;margin:0;word-wrap:break-word;white-space:normal;box-sizing:border-box}.OnlineClient .loadingMore[data-v-6ad4f192]{margin-top:8px;margin-bottom:24px;display:flex;justify-content:center}.OnlineClient .loadingMore .ViewMore[data-v-6ad4f192]{cursor:pointer;color:#06f;font-family:SF Pro;font-size:16px;font-weight:400}
|
|
@ -0,0 +1 @@
|
|||
import{_ as V,k as a,a4 as D,C as M,D as $,ar as N,F as E,o as l,g as i,s as o,J as I,Y as w,x as c,p as R,q as T,a as k,n as U}from"./index-X_y_Lweg.js";/* empty css */import{E as F}from"./el-switch-KfUhZLjF.js";import{T as z,V as A,W as q}from"./index-CcVygsTE.js";import{v as G}from"./directive-ByWyyhHJ.js";import"./index-Bh4Knf-X.js";import"./index-CQpVMKCZ.js";import"./constants-C-bldqyn.js";import"./use-form-item-En1b377h.js";import"./request-CUVclgT8.js";const J={class:"OnlineClient mt24"},W={class:"OnlineClientTop"},Y={class:"OnlineLeft"},j=["onClick"],x={class:"OnlineRight"},H={class:"autofresh"},K={class:"SwitchOpen"},P={class:"OnlineClientBottom"},Q={class:"loadingMore"},X={__name:"SystemLog",setup(Z){const d=a(1),u=D();let v=a(0);const C=a([{name:"runlog"},{name:"operationlog"},{name:"Applog"},{name:"Upgradelog"},{name:"Exceptionlog"}]),f=a(!1),g=a(""),m=a(""),n=M({logList:[]});let p=a(!1);const S=e=>{if(!e)return"无效日期";try{const t=typeof e=="string"?parseInt(e):e;return isNaN(t)?(console.error("无效的时间戳:",e),"无效日期"):(t.toString().length===10?new Date(t*1e3):new Date(t)).toLocaleString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1})}catch(t){return console.error("日期格式化错误:",t),"无效日期"}},_=async e=>{v.value=e-1,console.log(v.value),d.value=e;try{const t=await z({password:u.token,type:d.value,offset:0,limit:100});t.code==0&&(n.logList=t.data,g.value=t.data[0].id,m.value=t.data[t.data.length-1].id)}catch(t){console.log(t)}finally{p.value=!1}},y=async()=>{const e=await A({id:g.value,password:u.token,type:d.value,limit:100});n.logList=[...e.data,...n.logList],g.value=e.data[0].id},B=async()=>{console.log(g.value);try{const e=await q({password:u.token,type:d.value,id:m.value,limit:100});e.code==0&&(n.logList=[...n.logList,...e.data],m.value=e.data[e.data.length-1].id)}catch(e){console.log(e)}finally{p.value=!1}};let h;return $(f,e=>{e?h=setInterval(()=>{y()},1e3):clearInterval(h)}),N(()=>{clearInterval(h)}),E(()=>{_(1)}),(e,t)=>{const L=F,O=G;return l(),i("div",null,[o("div",J,[o("div",W,[o("div",Y,[(l(!0),i(I,null,w(C.value,(s,r)=>(l(),i("div",{key:r,class:U({OnlineItem:!0,activeOnlineItem:k(v)==r}),onClick:b=>_(r+1)},c(e.$t(`log.${s.name}`)),11,j))),128))]),o("div",x,[o("div",H,[o("div",K,c(e.$t("log.Autorefresh")),1),R(L,{modelValue:f.value,"onUpdate:modelValue":t[0]||(t[0]=s=>f.value=s),"active-color":"#06F","inactive-color":"#ff4949"},null,8,["modelValue"])]),o("div",{class:"refreshButton",onClick:y},c(e.$t("log.refresh")),1)])]),T((l(),i("div",P,[(l(!0),i(I,null,w(n.logList,(s,r)=>(l(),i("p",{key:r,class:"logItem"},c(S(s.time)+" "+s.tag+" "+s.msg),1))),128))])),[[O,k(p)]]),o("div",Q,[o("div",{class:"ViewMore",onClick:B},c(e.$t("log.ViewMore")),1)])])])}}},de=V(X,[["__scopeId","data-v-6ad4f192"]]);export{de as default};
|
|
@ -0,0 +1 @@
|
|||
@media (max-width: 758px){.ProductBlock[data-v-8de86c8a]{display:flex;flex-direction:column;justify-content:center;align-items:center}.rightBlock[data-v-8de86c8a]{margin-top:20px}}.Diagelog[data-v-8de86c8a]{display:flex;flex-direction:column}.Diagelog .logo[data-v-8de86c8a]{display:flex;justify-content:center}.Diagelog .text[data-v-8de86c8a]{text-align:center}.Diagelog .okbutton[data-v-8de86c8a]{margin-top:10px;display:flex;justify-content:center}.Diagelog .okbutton .butoncenter[data-v-8de86c8a]{width:160px}.OnlineClient .OnlineClientTop[data-v-8de86c8a]{padding:24px;box-sizing:border-box;border-radius:16px;border:1px solid #eaebf6;background:#fff}.OnlineClient .OnlineClientTop .OnlineHeader[data-v-8de86c8a]{display:flex;justify-content:space-between}.OnlineClient .OnlineClientTop .OnlineHeader .headerLeft[data-v-8de86c8a]{color:#333;font-family:SF Pro;font-size:20px;font-style:normal;font-weight:510;line-height:100%}.OnlineClient .OnlineClientTop .OnlineHeader .headerRight[data-v-8de86c8a]{cursor:pointer;color:#e12d2d;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:510;line-height:100%}.OnlineClient .OnlineClientTop .OnlineBody[data-v-8de86c8a]{margin-top:12px}.OnlineClient .OnlineClientTop .OnlineBody .SmallText[data-v-8de86c8a]{color:#999;font-family:SF Pro;font-size:14px;font-style:normal;font-weight:400;line-height:125%}.OnlineClient .OnlineClientTop .OnlineBody .UpgradeDuring[data-v-8de86c8a]{box-sizing:border-box;margin-top:30px;display:flex;justify-content:space-between;min-height:88px;padding:20px 24px;border-radius:16px;border:1px solid #eaebf6;background:#f9fbff}.OnlineClient .OnlineClientTop .OnlineBody .UpgradeDuring .duringLeft[data-v-8de86c8a]{display:flex;flex-direction:column;justify-content:space-around}.OnlineClient .OnlineClientTop .OnlineBody .UpgradeDuring .duringLeft .leftTop[data-v-8de86c8a]{color:#333;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:400;line-height:100%}.OnlineClient .OnlineClientTop .OnlineBody .UpgradeDuring .duringLeft .leftBttom[data-v-8de86c8a]{color:#999;font-family:SF Pro;font-size:14px;font-style:normal;font-weight:400;line-height:100%}.OnlineClient .OnlineClientTop .OnlineBody .UpgradeDuring .duringRight[data-v-8de86c8a]{display:flex;align-items:center}.OnlineClient .OnlineClientTop .OnlineBody .ProductBlock[data-v-8de86c8a]{display:flex;justify-content:space-between;margin-top:24px}.OnlineClient .OnlineClientTop .OnlineBody .ProductBlock .ProductLeft[data-v-8de86c8a]{min-height:96px;display:flex;align-items:center}.OnlineClient .OnlineClientTop .OnlineBody .ProductBlock .ProductLeft .ProductText[data-v-8de86c8a]{height:100%}.OnlineClient .OnlineClientTop .OnlineBody .ProductBlock .ProductLeft .ProductText .ProductTitle[data-v-8de86c8a]{margin-top:8px;color:#333;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:400}.OnlineClient .OnlineClientTop .OnlineBody .ProductBlock .ProductLeft .ProductText .smalldell[data-v-8de86c8a]{margin-top:20px;color:#888;font-family:SF Pro;font-size:14px;font-style:normal;font-weight:400;line-height:100%}.OnlineClient .OnlineClientTop .OnlineBody .ProductBlock .ProductLeft .ProductText .productDell[data-v-8de86c8a]{margin-top:10px;color:#333;font-family:SF Pro;font-size:14px;font-style:normal;font-weight:400;line-height:100%}.OnlineClient .OnlineClientTop .OnlineBody .ProductBlock .rightBlock[data-v-8de86c8a]{display:flex;align-items:center}.OnlineClient .OnlineClientTop .OnlineBody .ProductBlock .rightBlock .CheckUpdates[data-v-8de86c8a]{cursor:pointer;width:242px;text-align:center;line-height:56px;height:56px;border-radius:16px;border:1px solid rgba(0,102,255,.15);background:#0066ff1a;color:#06f;font-family:SF Pro;font-size:20px;font-style:normal;font-weight:510}.mt24[data-v-8de86c8a]{margin-top:24px}
|
|
@ -0,0 +1 @@
|
|||
import{_ as B,a4 as w,k as v,C,a1 as $,o as c,g as _,s,x as t,p as o,a as p,Z as H,w as d,J as O,Y as k,c as S}from"./index-X_y_Lweg.js";import{E as U,a as E}from"./el-col-BD9sDvtY.js";import{E as A}from"./el-switch-KfUhZLjF.js";import{m as f}from"./index-CcVygsTE.js";import"./index-Bh4Knf-X.js";import"./typescript-Bp3YSIOJ.js";import"./index-CQpVMKCZ.js";import"./constants-C-bldqyn.js";import"./use-form-item-En1b377h.js";import"./request-CUVclgT8.js";const L={class:"OnlineClient"},N={class:"OnlineClientTop"},P={class:"OnlineHeader"},R={class:"headerLeft"},T={class:"OnlineBody"},V={class:"SmallText"},b={class:"UpgradeDuring"},D={class:"duringLeft"},W={class:"leftTop"},F={class:"leftBttom"},M={class:"duringRight"},G={class:"OnlineClient mt24"},J={class:"OnlineClientTop"},Y={class:"OnlineHeader"},Z={class:"headerLeft"},j={class:"OnlineBody"},q={style:{overflow:"auto"}},z={class:"WifiTable"},K={class:"WifiHeader"},Q={class:"HeaderItem"},X={class:"HeaderItem"},ss={class:"HeaderItem"},es={class:"HeaderItem"},ts={class:"HeaderItem"},os={class:"HeaderItem"},ds={class:"WifiBody"},ls={key:0,class:"Nodata"},as={key:1},ns={class:"BodyItem"},is={class:"BodyItem"},cs={class:"BodyItem"},_s={class:"BodyItem"},rs={class:"BodyItem"},ms={class:"BodyItem"},ps={__name:"UpnpPage",setup(us){const g=w();let r=v(""),n=v(""),m=C([]);$(()=>{r.value=g.globalData.logon_pwd,u()});const u=async()=>{const e={cmd:"152",logon_pwd:r.value},i=await f(e,"readupnp");n.value=i.upnp.enabled==1,m=i.upnp.mapping},y=async()=>{try{let e={cmd:"153",logon_pwd:r.value,enabled:n.value==!0?1:0};(await f(e,"setupnp")).code==200&&u()}catch(e){console.log(e)}};return(e,i)=>{const x=A,l=E,h=U;return c(),_("div",null,[s("div",L,[s("div",N,[s("div",P,[s("div",R,t(e.$t("system.upnp")),1)]),s("div",T,[s("div",V,t(e.$t("system.descF")),1),s("div",b,[s("div",D,[s("div",W,t(e.$t("system.upnpStatus")),1),s("div",F,t(e.$t("system.descG")),1)]),s("div",M,[o(x,{onChange:y,modelValue:p(n),"onUpdate:modelValue":i[0]||(i[0]=a=>H(n)?n.value=a:n=a)},null,8,["modelValue"])])])])])]),s("div",G,[s("div",J,[s("div",Y,[s("div",Z,t(e.$t("system.list")),1)]),s("div",j,[s("div",q,[s("div",z,[s("div",K,[o(h,{gutter:24},{default:d(()=>[o(l,{lg:4,md:4,sm:4,xl:4,xs:4},{default:d(()=>[s("div",Q,t(e.$t("system.remoteAddress")),1)]),_:1}),o(l,{lg:4,md:4,sm:4,xl:4,xs:4},{default:d(()=>[s("div",X,t(e.$t("system.remoteAddress")),1)]),_:1}),o(l,{lg:3,md:3,sm:3,xl:3,xs:3},{default:d(()=>[s("div",ss,t(e.$t("system.protocol")),1)]),_:1}),o(l,{lg:4,md:4,sm:4,xl:4,xs:4},{default:d(()=>[s("div",es,t(e.$t("system.externalAddress")),1)]),_:1}),o(l,{lg:4,md:4,sm:4,xl:4,xs:4},{default:d(()=>[s("div",ts,t(e.$t("system.internetPort")),1)]),_:1}),o(l,{lg:5,md:5,sm:5,xl:5,xs:5},{default:d(()=>[s("div",os,t(e.$t("system.applicationDescription")),1)]),_:1})]),_:1})]),s("div",ds,[p(m).length==0?(c(),_("div",ls,"Nodata")):(c(),_("div",as,[(c(!0),_(O,null,k(p(m),(a,I)=>(c(),S(h,{key:I,gutter:24,class:"RowItem"},{default:d(()=>[o(l,{lg:4,md:4,sm:4,xl:4,xs:4},{default:d(()=>[s("div",ns,t(a.remoteAddress),1)]),_:2},1024),o(l,{lg:4,md:4,sm:4,xl:4,xs:4},{default:d(()=>[s("div",is,t(a.localAddress),1)]),_:2},1024),o(l,{lg:3,md:3,sm:3,xl:3,xs:3},{default:d(()=>[s("div",cs,t(a.protocol),1)]),_:2},1024),o(l,{lg:4,md:4,sm:4,xl:4,xs:4},{default:d(()=>[s("div",_s,t(a.externalPort),1)]),_:2},1024),o(l,{lg:4,md:4,sm:4,xl:4,xs:4},{default:d(()=>[s("div",rs,t(a.internalPort),1)]),_:2},1024),o(l,{lg:5,md:5,sm:5,xl:5,xs:5},{default:d(()=>[s("div",ms,t(a.description==""?"None":a.description),1)]),_:2},1024)]),_:2},1024))),128))]))])])])])])])])}}},$s=B(ps,[["__scopeId","data-v-8ce7a244"]]);export{$s as default};
|
|
@ -0,0 +1 @@
|
|||
[data-v-fa4d5b8b] .el-dialog__header{padding:0!important}[data-v-fa4d5b8b] .el-dialog{border-radius:16px}.maskContent .maskTitle[data-v-fa4d5b8b]{padding:8px;color:#000;font-family:SF Pro Text;font-size:16px;font-style:normal;font-weight:600;line-height:100%;text-transform:capitalize;margin-bottom:32px}.maskContent .maskItem[data-v-fa4d5b8b]{padding:8px;display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.maskContent .maskItem .maskLabel[data-v-fa4d5b8b]{color:#333;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:400;height:56px;line-height:56px}.maskContent .maskItem .topBox[data-v-fa4d5b8b]{width:100%;min-height:56px;flex-shrink:0;border-radius:16px;background:#f9fbff;border:1px solid #EAEBF6;display:flex!important;justify-content:space-between!important;align-items:center}.maskContent .maskItem .topBox input[data-v-fa4d5b8b]{box-sizing:border-box;width:100%;padding:0 24px;height:100%;line-height:56px;border:0;border-radius:40px;background:#f9fbff;color:#999;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:510}.maskContent .maskItem .topBox .num[data-v-fa4d5b8b]{width:40%;height:56px;line-height:56px;background:#f9fbff;border:1px solid #EAEBF6}.maskContent .maskItem .topBox input[type=text][data-v-fa4d5b8b]:focus{outline:none}.maskContent .maskItem .topBoxA[data-v-fa4d5b8b]{width:100%;background:#fff!important;border:0 solid #EAEBF6!important}.footerBox[data-v-fa4d5b8b]{display:flex;align-items:center;justify-content:space-around;padding:8px}.footerBox .btnBoxCancel[data-v-fa4d5b8b]{display:flex;flex:1;height:56px;justify-content:center;align-items:center;gap:8px;flex-shrink:0;border-radius:16px;border:1px solid rgba(0,0,0,.05);background:#0000000d;color:#999;font-family:SF Pro;font-size:20px;font-style:normal;font-weight:510;line-height:100%;margin-right:16px;cursor:pointer}.footerBox .btnBoxConfirm[data-v-fa4d5b8b]{display:flex;flex:1;height:56px;justify-content:center;align-items:center;gap:8px;flex-shrink:0;border-radius:16px;border:1px solid rgba(0,102,255,.15);background:#0066ff1a;color:#06f;font-family:SF Pro;font-size:20px;font-style:normal;font-weight:510;line-height:100%;cursor:pointer}.OnlineClient .OnlineClientTop[data-v-fa4d5b8b]{padding:24px;box-sizing:border-box;border-radius:16px;border:1px solid #eaebf6;background:#fff;margin-bottom:22px}.OnlineClient .OnlineClientTop .OnlineHeader .headerLeft[data-v-fa4d5b8b]{color:#333;font-family:SF Pro;font-size:20px;font-style:normal;font-weight:510;line-height:100%;margin-bottom:12px}.OnlineClient .OnlineClientTop .OnlineHeader .headerDesc[data-v-fa4d5b8b]{color:#999;font-family:SF Pro;font-size:14px;font-style:normal;font-weight:400;line-height:125%}.OnlineClient .OnlineClientTop .selectForm[data-v-fa4d5b8b]{padding-top:22px;display:flex;justify-content:flex-start;min-height:56px;margin-bottom:24px}.OnlineClient .OnlineClientTop .selectForm .addBtn[data-v-fa4d5b8b]{display:flex;height:20px;padding:18px 97px;justify-content:center;align-items:center;gap:8px;flex-shrink:0;border-radius:16px;border:1px solid #EAEBF6;background:#f9fbff;color:#06f;font-family:SF Pro;font-size:20px;font-style:normal;font-weight:400;line-height:100%}.OnlineClient .OnlineClientTop .OnlineBody[data-v-fa4d5b8b]{border-radius:16px;border:1px solid #EAEBF6;background:#fff}.OnlineClient .OnlineClientTop .OnlineBody .topBox[data-v-fa4d5b8b]{height:64px;background:#fcfcfc;display:flex;align-items:center}.OnlineClient .OnlineClientTop .OnlineBody .tableBody[data-v-fa4d5b8b]{padding:0 24px;background:#fff;border-bottom-left-radius:16px;border-bottom-right-radius:16px}.OnlineClient .OnlineClientTop .OnlineBody .statusBox[data-v-fa4d5b8b]{width:100%;height:88px;display:flex;align-items:center}.OnlineClient .OnlineClientTop .OnlineBody .actionBox[data-v-fa4d5b8b]{display:flex}.OnlineClient .OnlineClientTop .OnlineBody .actionBox .editText[data-v-fa4d5b8b]{flex:1;color:#06f;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:510;line-height:88px}.OnlineClient .OnlineClientTop .OnlineBody .actionBox .delText[data-v-fa4d5b8b]{flex:1;height:88px;color:#e12d2d;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:510;line-height:88px;text-align:center}
|
|
@ -0,0 +1 @@
|
|||
const e={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"};export{e as E};
|
|
@ -0,0 +1 @@
|
|||
import{bq as o,ax as g,b6 as p,aw as s,ay as m,br as b,aK as v,b8 as S,aM as x,bs as w,j as P}from"./index-X_y_Lweg.js";function O(n){return n}function I(n,e,t){switch(t.length){case 0:return n.call(e);case 1:return n.call(e,t[0]);case 2:return n.call(e,t[0],t[1]);case 3:return n.call(e,t[0],t[1],t[2])}return n.apply(e,t)}var C=800,T=16,A=Date.now;function K(n){var e=0,t=0;return function(){var a=A(),r=T-(a-t);if(t=a,r>0){if(++e>=C)return arguments[0]}else e=0;return n.apply(void 0,arguments)}}function E(n){return function(){return n}}var M=o?function(n,e){return o(n,"toString",{configurable:!0,enumerable:!1,value:E(e),writable:!0})}:O,N=K(M),f=Math.max;function _(n,e,t){return e=f(e===void 0?n.length-1:e,0),function(){for(var a=arguments,r=-1,i=f(a.length-e,0),l=Array(i);++r<i;)l[r]=a[e+r];r=-1;for(var u=Array(e+1);++r<e;)u[r]=a[r];return u[e]=t(l),I(n,this,u)}}var k=9007199254740991;function F(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=k}var G="[object Arguments]";function c(n){return g(n)&&p(n)==G}var d=Object.prototype,H=d.hasOwnProperty,L=d.propertyIsEnumerable,y=c(function(){return arguments}())?c:function(n){return g(n)&&H.call(n,"callee")&&!L.call(n,"callee")};function R(n,e){for(var t=-1,a=e.length,r=n.length;++t<a;)n[r+t]=e[t];return n}var h=s?s.isConcatSpreadable:void 0;function q(n){return m(n)||y(n)||!!(h&&n&&n[h])}function z(n,e,t,a,r){var i=-1,l=n.length;for(t||(t=q),r||(r=[]);++i<l;){var u=n[i];t(u)?R(r,u):r[r.length]=u}return r}function B(n){var e=n==null?0:n.length;return e?z(n):[]}function D(n){return N(_(n,void 0,B),n+"")}function U(n,e){return n!=null&&e in Object(n)}function X(n,e,t){e=b(e,n);for(var a=-1,r=e.length,i=!1;++a<r;){var l=v(e[a]);if(!(i=n!=null&&t(n,l)))break;n=n[l]}return i||++a!=r?i:(r=n==null?0:n.length,!!r&&F(r)&&S(l,r)&&(m(n)||y(n)))}function $(n,e){return n!=null&&X(n,e,U)}function J(n,e,t){for(var a=-1,r=e.length,i={};++a<r;){var l=e[a],u=x(n,l);t(u,l)&&w(i,b(l,n),u)}return i}function Q(n,e){return J(n,e,function(t,a){return $(n,a)})}var V=D(function(n,e){return n==null?{}:Q(n,e)});const W=P({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),Z=n=>V(W,n),j=Symbol("formContextKey"),nn=Symbol("formItemContextKey");export{R as a,nn as b,F as c,y as d,j as f,$ as h,O as i,V as p,Z as u};
|
|
@ -0,0 +1 @@
|
|||
import{k as _,C as B,aF as N,aq as V,d as E,aG as P,H as g,w as z,q as O,p as j,z as R,T as q,ad as H,P as w,I as A,N as I,Z as F,aH as G}from"./index-X_y_Lweg.js";import{r as y,j as b,b as L}from"./index-Bh4Knf-X.js";function Z(t){let e;const l=_(!1),s=B({...t,originalPosition:"",originalOverflow:"",visible:!1});function a(o){s.text=o}function n(){const o=s.parent,r=d.ns;if(!o.vLoadingAddClassList){let c=o.getAttribute("loading-number");c=Number.parseInt(c)-1,c?o.setAttribute("loading-number",c.toString()):(y(o,r.bm("parent","relative")),o.removeAttribute("loading-number")),y(o,r.bm("parent","hidden"))}i(),m.unmount()}function i(){var o,r;(r=(o=d.$el)==null?void 0:o.parentNode)==null||r.removeChild(d.$el)}function v(){var o;t.beforeClose&&!t.beforeClose()||(l.value=!0,clearTimeout(e),e=setTimeout(f,400),s.visible=!1,(o=t.closed)==null||o.call(t))}function f(){if(!l.value)return;const o=s.parent;l.value=!1,o.vLoadingAddClassList=void 0,n()}const u=E({name:"ElLoading",setup(o,{expose:r}){const{ns:c,zIndex:S}=P("loading");return r({ns:c,zIndex:S}),()=>{const C=s.spinner||s.svg,T=g("svg",{class:"circular",viewBox:s.svgViewBox?s.svgViewBox:"0 0 50 50",...C?{innerHTML:C}:{}},[g("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),$=s.text?g("p",{class:c.b("text")},[s.text]):void 0;return g(q,{name:c.b("fade"),onAfterLeave:f},{default:z(()=>[O(j("div",{style:{backgroundColor:s.background||""},class:[c.b("mask"),s.customClass,s.fullscreen?"is-fullscreen":""]},[g("div",{class:c.b("spinner")},[T,$])]),[[R,s.visible]])])})}}}),m=N(u),d=m.mount(document.createElement("div"));return{...V(s),setText:a,removeElLoadingChild:i,close:v,handleAfterLeave:f,vm:d,get $el(){return d.$el}}}let p;const D=function(t={}){if(!H)return;const e=K(t);if(e.fullscreen&&p)return p;const l=Z({...e,closed:()=>{var a;(a=e.closed)==null||a.call(e),e.fullscreen&&(p=void 0)}});M(e,e.parent,l),k(e,e.parent,l),e.parent.vLoadingAddClassList=()=>k(e,e.parent,l);let s=e.parent.getAttribute("loading-number");return s?s=`${Number.parseInt(s)+1}`:s="1",e.parent.setAttribute("loading-number",s),e.parent.appendChild(l.$el),w(()=>l.visible.value=e.visible),e.fullscreen&&(p=l),l},K=t=>{var e,l,s,a;let n;return A(t.target)?n=(e=document.querySelector(t.target))!=null?e:document.body:n=t.target||document.body,{parent:n===document.body||t.body?document.body:n,background:t.background||"",svg:t.svg||"",svgViewBox:t.svgViewBox||"",spinner:t.spinner||!1,text:t.text||"",fullscreen:n===document.body&&((l=t.fullscreen)!=null?l:!0),lock:(s=t.lock)!=null?s:!1,customClass:t.customClass||"",visible:(a=t.visible)!=null?a:!0,beforeClose:t.beforeClose,closed:t.closed,target:n}},M=async(t,e,l)=>{const{nextZIndex:s}=l.vm.zIndex||l.vm._.exposed.zIndex,a={};if(t.fullscreen)l.originalPosition.value=b(document.body,"position"),l.originalOverflow.value=b(document.body,"overflow"),a.zIndex=s();else if(t.parent===document.body){l.originalPosition.value=b(document.body,"position"),await w();for(const n of["top","left"]){const i=n==="top"?"scrollTop":"scrollLeft";a[n]=`${t.target.getBoundingClientRect()[n]+document.body[i]+document.documentElement[i]-Number.parseInt(b(document.body,`margin-${n}`),10)}px`}for(const n of["height","width"])a[n]=`${t.target.getBoundingClientRect()[n]}px`}else l.originalPosition.value=b(e,"position");for(const[n,i]of Object.entries(a))l.$el.style[n]=i},k=(t,e,l)=>{const s=l.vm.ns||l.vm._.exposed.ns;["absolute","fixed","sticky"].includes(l.originalPosition.value)?y(e,s.bm("parent","relative")):L(e,s.bm("parent","relative")),t.fullscreen&&t.lock?L(e,s.bm("parent","hidden")):y(e,s.bm("parent","hidden"))},x=Symbol("ElLoading"),h=(t,e)=>{var l,s,a,n;const i=e.instance,v=o=>I(e.value)?e.value[o]:void 0,f=o=>{const r=A(o)&&(i==null?void 0:i[o])||o;return r&&_(r)},u=o=>f(v(o)||t.getAttribute(`element-loading-${G(o)}`)),m=(l=v("fullscreen"))!=null?l:e.modifiers.fullscreen,d={text:u("text"),svg:u("svg"),svgViewBox:u("svgViewBox"),spinner:u("spinner"),background:u("background"),customClass:u("customClass"),fullscreen:m,target:(s=v("target"))!=null?s:m?void 0:t,body:(a=v("body"))!=null?a:e.modifiers.body,lock:(n=v("lock"))!=null?n:e.modifiers.lock};t[x]={options:d,instance:D(d)}},Y=(t,e)=>{for(const l of Object.keys(e))F(e[l])&&(e[l].value=t[l])},U={mounted(t,e){e.value&&h(t,e)},updated(t,e){const l=t[x];e.oldValue!==e.value&&(e.value&&!e.oldValue?h(t,e):e.value&&e.oldValue?I(e.value)&&Y(e.value,l.options):l==null||l.instance.close())},unmounted(t){var e;(e=t[x])==null||e.instance.close(),t[x]=null}};export{D as L,U as v};
|
|
@ -0,0 +1 @@
|
|||
import{j as g,d as f,u as _,f as o,E as R,o as $,c as h,w,r as v,n as j,a as c,h as N,a3 as x,b as C,M as r,B as S,al as b,N as K}from"./index-X_y_Lweg.js";import{_ as E}from"./index-Bh4Knf-X.js";import{m as u}from"./typescript-Bp3YSIOJ.js";const O=Symbol("rowContextKey"),B=["start","center","end","space-around","space-between","space-evenly"],P=["top","middle","bottom"],k=g({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:B,default:"start"},align:{type:String,values:P}}),L=f({name:"ElRow"}),A=f({...L,props:k,setup(p){const e=p,l=_("row"),a=o(()=>e.gutter);R(O,{gutter:a});const i=o(()=>{const t={};return e.gutter&&(t.marginRight=t.marginLeft=`-${e.gutter/2}px`),t}),d=o(()=>[l.b(),l.is(`justify-${e.justify}`,e.justify!=="start"),l.is(`align-${e.align}`,!!e.align)]);return(t,m)=>($(),h(x(t.tag),{class:j(c(d)),style:N(c(i))},{default:w(()=>[v(t.$slots,"default")]),_:3},8,["class","style"]))}});var D=E(A,[["__file","row.vue"]]);const Q=C(D),I=g({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:r([Number,Object]),default:()=>u({})},sm:{type:r([Number,Object]),default:()=>u({})},md:{type:r([Number,Object]),default:()=>u({})},lg:{type:r([Number,Object]),default:()=>u({})},xl:{type:r([Number,Object]),default:()=>u({})}}),J=f({name:"ElCol"}),M=f({...J,props:I,setup(p){const e=p,{gutter:l}=S(O,{gutter:o(()=>0)}),a=_("col"),i=o(()=>{const t={};return l.value&&(t.paddingLeft=t.paddingRight=`${l.value/2}px`),t}),d=o(()=>{const t=[];return["span","offset","pull","push"].forEach(s=>{const n=e[s];b(n)&&(s==="span"?t.push(a.b(`${e[s]}`)):n>0&&t.push(a.b(`${s}-${e[s]}`)))}),["xs","sm","md","lg","xl"].forEach(s=>{b(e[s])?t.push(a.b(`${s}-${e[s]}`)):K(e[s])&&Object.entries(e[s]).forEach(([n,y])=>{t.push(n!=="span"?a.b(`${s}-${n}-${y}`):a.b(`${s}-${y}`))})}),l.value&&t.push(a.is("guttered")),[a.b(),t]});return(t,m)=>($(),h(x(t.tag),{class:j(c(d)),style:N(c(i))},{default:w(()=>[v(t.$slots,"default")]),_:3},8,["class","style"]))}});var T=E(M,[["__file","col.vue"]]);const U=C(T);export{Q as E,U as a};
|
|
@ -0,0 +1 @@
|
|||
:root{--el-popup-modal-bg-color:var(--el-color-black);--el-popup-modal-opacity:.5}.v-modal-enter{animation:v-modal-in var(--el-transition-duration-fast) ease}.v-modal-leave{animation:v-modal-out var(--el-transition-duration-fast) ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{background:var(--el-popup-modal-bg-color);height:100%;left:0;opacity:var(--el-popup-modal-opacity);position:fixed;top:0;width:100%}.el-popup-parent--hidden{overflow:hidden}.el-dialog{--el-dialog-width:50%;--el-dialog-margin-top:15vh;--el-dialog-bg-color:var(--el-bg-color);--el-dialog-box-shadow:var(--el-box-shadow);--el-dialog-title-font-size:var(--el-font-size-large);--el-dialog-content-font-size:14px;--el-dialog-font-line-height:var(--el-font-line-height-primary);--el-dialog-padding-primary:16px;--el-dialog-border-radius:var(--el-border-radius-base);background:var(--el-dialog-bg-color);border-radius:var(--el-dialog-border-radius);box-shadow:var(--el-dialog-box-shadow);box-sizing:border-box;margin:var(--el-dialog-margin-top,15vh) auto 50px;overflow-wrap:break-word;padding:var(--el-dialog-padding-primary);position:relative;width:var(--el-dialog-width,50%)}.el-dialog:focus{outline:none!important}.el-dialog.is-align-center{margin:auto}.el-dialog.is-fullscreen{--el-dialog-width:100%;--el-dialog-margin-top:0;height:100%;margin-bottom:0;overflow:auto}.el-dialog__wrapper{bottom:0;left:0;margin:0;overflow:auto;position:fixed;right:0;top:0}.el-dialog.is-draggable .el-dialog__header{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-dialog__header{padding-bottom:var(--el-dialog-padding-primary)}.el-dialog__header.show-close{padding-right:calc(var(--el-dialog-padding-primary) + var(--el-message-close-size, 16px))}.el-dialog__headerbtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:48px;outline:none;padding:0;position:absolute;right:0;top:0;width:48px}.el-dialog__headerbtn .el-dialog__close{color:var(--el-color-info);font-size:inherit}.el-dialog__headerbtn:focus .el-dialog__close,.el-dialog__headerbtn:hover .el-dialog__close{color:var(--el-color-primary)}.el-dialog__title{color:var(--el-text-color-primary);font-size:var(--el-dialog-title-font-size);line-height:var(--el-dialog-font-line-height)}.el-dialog__body{color:var(--el-text-color-regular);font-size:var(--el-dialog-content-font-size)}.el-dialog__footer{box-sizing:border-box;padding-top:var(--el-dialog-padding-primary);text-align:right}.el-dialog--center{text-align:center}.el-dialog--center .el-dialog__body{text-align:initial}.el-dialog--center .el-dialog__footer{text-align:inherit}.el-overlay-dialog{bottom:0;left:0;overflow:auto;position:fixed;right:0;top:0}.dialog-fade-enter-active{animation:modal-fade-in var(--el-transition-duration)}.dialog-fade-enter-active .el-overlay-dialog{animation:dialog-fade-in var(--el-transition-duration)}.dialog-fade-leave-active{animation:modal-fade-out var(--el-transition-duration)}.dialog-fade-leave-active .el-overlay-dialog{animation:dialog-fade-out var(--el-transition-duration)}@keyframes dialog-fade-in{0%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes dialog-fade-out{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(0,-20px,0)}}@keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-fade-out{0%{opacity:1}to{opacity:0}}
|
|
@ -0,0 +1 @@
|
|||
:root{--el-loading-spinner-size:42px;--el-loading-fullscreen-spinner-size:50px}.el-loading-parent--relative{position:relative!important}.el-loading-parent--hidden{overflow:hidden!important}.el-loading-mask{background-color:var(--el-mask-color);bottom:0;left:0;margin:0;position:absolute;right:0;top:0;transition:opacity var(--el-transition-duration);z-index:2000}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:calc((0px - var(--el-loading-fullscreen-spinner-size))/2)}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{height:var(--el-loading-fullscreen-spinner-size);width:var(--el-loading-fullscreen-spinner-size)}.el-loading-spinner{margin-top:calc((0px - var(--el-loading-spinner-size))/2);position:absolute;text-align:center;top:50%;width:100%}.el-loading-spinner .el-loading-text{color:var(--el-color-primary);font-size:14px;margin:3px 0}.el-loading-spinner .circular{animation:loading-rotate 2s linear infinite;display:inline;height:var(--el-loading-spinner-size);width:var(--el-loading-spinner-size)}.el-loading-spinner .path{animation:loading-dash 1.5s ease-in-out infinite;stroke-dasharray:90,150;stroke-dashoffset:0;stroke-width:2;stroke:var(--el-color-primary);stroke-linecap:round}.el-loading-spinner i{color:var(--el-color-primary)}.el-loading-fade-enter-from,.el-loading-fade-leave-to{opacity:0}@keyframes loading-rotate{to{transform:rotate(1turn)}}@keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}
|
|
@ -0,0 +1 @@
|
|||
.el-overlay{background-color:var(--el-overlay-color-lighter);bottom:0;height:100%;left:0;overflow:auto;position:fixed;right:0;top:0;z-index:2000}.el-overlay .el-overlay-root{height:0}
|
|
@ -0,0 +1 @@
|
|||
.el-popper{--el-popper-border-radius:var(--el-popover-border-radius,4px);border-radius:var(--el-popper-border-radius);font-size:12px;line-height:20px;min-width:10px;overflow-wrap:break-word;padding:5px 11px;position:absolute;visibility:visible;z-index:2000}.el-popper.is-dark{color:var(--el-bg-color)}.el-popper.is-dark,.el-popper.is-dark>.el-popper__arrow:before{background:var(--el-text-color-primary);border:1px solid var(--el-text-color-primary)}.el-popper.is-dark>.el-popper__arrow:before{right:0}.el-popper.is-light,.el-popper.is-light>.el-popper__arrow:before{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light)}.el-popper.is-light>.el-popper__arrow:before{right:0}.el-popper.is-pure{padding:0}.el-popper__arrow,.el-popper__arrow:before{height:10px;position:absolute;width:10px;z-index:-1}.el-popper__arrow:before{background:var(--el-text-color-primary);box-sizing:border-box;content:" ";transform:rotate(45deg)}.el-popper[data-popper-placement^=top]>.el-popper__arrow{bottom:-5px}.el-popper[data-popper-placement^=top]>.el-popper__arrow:before{border-bottom-right-radius:2px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow{top:-5px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow:before{border-top-left-radius:2px}.el-popper[data-popper-placement^=left]>.el-popper__arrow{right:-5px}.el-popper[data-popper-placement^=left]>.el-popper__arrow:before{border-top-right-radius:2px}.el-popper[data-popper-placement^=right]>.el-popper__arrow{left:-5px}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-bottom-left-radius:2px}.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent!important;border-top-color:transparent!important}.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent!important;border-right-color:transparent!important}.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent!important;border-left-color:transparent!important}.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent!important;border-top-color:transparent!important}
|
|
@ -0,0 +1 @@
|
|||
.el-switch{--el-switch-on-color:var(--el-color-primary);--el-switch-off-color:var(--el-border-color);align-items:center;display:inline-flex;font-size:14px;height:32px;line-height:20px;position:relative;vertical-align:middle}.el-switch.is-disabled .el-switch__core,.el-switch.is-disabled .el-switch__label{cursor:not-allowed}.el-switch__label{color:var(--el-text-color-primary);cursor:pointer;display:inline-block;font-size:14px;font-weight:500;height:20px;transition:var(--el-transition-duration-fast);vertical-align:middle}.el-switch__label.is-active{color:var(--el-color-primary)}.el-switch__label--left{margin-right:10px}.el-switch__label--right{margin-left:10px}.el-switch__label *{display:inline-block;font-size:14px;line-height:1}.el-switch__label .el-icon{height:inherit}.el-switch__label .el-icon svg{vertical-align:middle}.el-switch__input{height:0;margin:0;opacity:0;position:absolute;width:0}.el-switch__input:focus-visible~.el-switch__core{outline:2px solid var(--el-switch-on-color);outline-offset:1px}.el-switch__core{align-items:center;background:var(--el-switch-off-color);border:1px solid var(--el-switch-border-color,var(--el-switch-off-color));border-radius:10px;box-sizing:border-box;cursor:pointer;display:inline-flex;height:20px;min-width:40px;outline:none;position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration)}.el-switch__core .el-switch__inner{align-items:center;display:flex;height:16px;justify-content:center;overflow:hidden;padding:0 4px 0 18px;transition:all var(--el-transition-duration);width:100%}.el-switch__core .el-switch__inner .is-icon,.el-switch__core .el-switch__inner .is-text{color:var(--el-color-white);font-size:12px;overflow:hidden;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.el-switch__core .el-switch__action{align-items:center;background-color:var(--el-color-white);border-radius:var(--el-border-radius-circle);color:var(--el-switch-off-color);display:flex;height:16px;justify-content:center;left:1px;position:absolute;transition:all var(--el-transition-duration);width:16px}.el-switch.is-checked .el-switch__core{background-color:var(--el-switch-on-color);border-color:var(--el-switch-border-color,var(--el-switch-on-color))}.el-switch.is-checked .el-switch__core .el-switch__action{color:var(--el-switch-on-color);left:calc(100% - 17px)}.el-switch.is-checked .el-switch__core .el-switch__inner{padding:0 18px 0 4px}.el-switch.is-disabled{opacity:.6}.el-switch--wide .el-switch__label.el-switch__label--left span{left:10px}.el-switch--wide .el-switch__label.el-switch__label--right span{right:10px}.el-switch .label-fade-enter-from,.el-switch .label-fade-leave-active{opacity:0}.el-switch--large{font-size:14px;height:40px;line-height:24px}.el-switch--large .el-switch__label{font-size:14px;height:24px}.el-switch--large .el-switch__label *{font-size:14px}.el-switch--large .el-switch__core{border-radius:12px;height:24px;min-width:50px}.el-switch--large .el-switch__core .el-switch__inner{height:20px;padding:0 6px 0 22px}.el-switch--large .el-switch__core .el-switch__action{height:20px;width:20px}.el-switch--large.is-checked .el-switch__core .el-switch__action{left:calc(100% - 21px)}.el-switch--large.is-checked .el-switch__core .el-switch__inner{padding:0 22px 0 6px}.el-switch--small{font-size:12px;height:24px;line-height:16px}.el-switch--small .el-switch__label{font-size:12px;height:16px}.el-switch--small .el-switch__label *{font-size:12px}.el-switch--small .el-switch__core{border-radius:8px;height:16px;min-width:30px}.el-switch--small .el-switch__core .el-switch__inner{height:12px;padding:0 2px 0 14px}.el-switch--small .el-switch__core .el-switch__action{height:12px;width:12px}.el-switch--small.is-checked .el-switch__core .el-switch__action{left:calc(100% - 13px)}.el-switch--small.is-checked .el-switch__core .el-switch__inner{padding:0 14px 0 2px}
|
|
@ -0,0 +1 @@
|
|||
import{az as Y,j as Z,M as _,ag as V,I as w,al as S,d as L,u as x,f as d,k as E,D as K,F as ee,o as i,g as v,s as T,a,n as u,aS as ae,c,w as p,a3 as y,y as r,x as C,p as ie,r as M,h as te,v as ne,P as se,bi as O,b as oe}from"./index-X_y_Lweg.js";import{a as le,E as m,l as ce,_ as re}from"./index-Bh4Knf-X.js";import{i as g,U as N,a as P,I as B,d as ue,t as de}from"./index-CQpVMKCZ.js";import{u as ve}from"./constants-C-bldqyn.js";import{a as fe,b as pe,c as me,u as he}from"./use-form-item-En1b377h.js";const ye=o=>["",...Y].includes(o),be=Z({modelValue:{type:[Boolean,String,Number],default:!1},disabled:Boolean,loading:Boolean,size:{type:String,validator:ye},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:g},activeActionIcon:{type:g},activeIcon:{type:g},inactiveIcon:{type:g},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:_(Function)},id:String,tabindex:{type:[String,Number]},...ve(["ariaLabel"])}),Ie={[N]:o=>V(o)||w(o)||S(o),[P]:o=>V(o)||w(o)||S(o),[B]:o=>V(o)||w(o)||S(o)},U="ElSwitch",ke=L({name:U}),ge=L({...ke,props:be,emits:Ie,setup(o,{expose:$,emit:f}){const n=o,{formItem:b}=fe(),j=pe(),t=x("switch"),{inputId:G}=me(n,{formItemContext:b}),I=he(d(()=>n.loading)),A=E(n.modelValue!==!1),h=E(),H=E(),R=d(()=>[t.b(),t.m(j.value),t.is("disabled",I.value),t.is("checked",s.value)]),W=d(()=>[t.e("label"),t.em("label","left"),t.is("active",!s.value)]),q=d(()=>[t.e("label"),t.em("label","right"),t.is("active",s.value)]),J=d(()=>({width:le(n.width)}));K(()=>n.modelValue,()=>{A.value=!0});const z=d(()=>A.value?n.modelValue:!1),s=d(()=>z.value===n.activeValue);[n.activeValue,n.inactiveValue].includes(z.value)||(f(N,n.inactiveValue),f(P,n.inactiveValue),f(B,n.inactiveValue)),K(s,e=>{var l;h.value.checked=e,n.validateEvent&&((l=b==null?void 0:b.validate)==null||l.call(b,"change").catch(X=>ue()))});const k=()=>{const e=s.value?n.inactiveValue:n.activeValue;f(N,e),f(P,e),f(B,e),se(()=>{h.value.checked=s.value})},D=()=>{if(I.value)return;const{beforeChange:e}=n;if(!e){k();return}const l=e();[O(l),V(l)].includes(!0)||de(U,"beforeChange must return type `Promise<boolean>` or `boolean`"),O(l)?l.then(F=>{F&&k()}).catch(F=>{}):l&&k()},Q=()=>{var e,l;(l=(e=h.value)==null?void 0:e.focus)==null||l.call(e)};return ee(()=>{h.value.checked=s.value}),$({focus:Q,checked:s}),(e,l)=>(i(),v("div",{class:u(a(R)),onClick:ne(D,["prevent"])},[T("input",{id:a(G),ref_key:"input",ref:h,class:u(a(t).e("input")),type:"checkbox",role:"switch","aria-checked":a(s),"aria-disabled":a(I),"aria-label":e.ariaLabel,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:a(I),tabindex:e.tabindex,onChange:k,onKeydown:ae(D,["enter"])},null,42,["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"]),!e.inlinePrompt&&(e.inactiveIcon||e.inactiveText)?(i(),v("span",{key:0,class:u(a(W))},[e.inactiveIcon?(i(),c(a(m),{key:0},{default:p(()=>[(i(),c(y(e.inactiveIcon)))]),_:1})):r("v-if",!0),!e.inactiveIcon&&e.inactiveText?(i(),v("span",{key:1,"aria-hidden":a(s)},C(e.inactiveText),9,["aria-hidden"])):r("v-if",!0)],2)):r("v-if",!0),T("span",{ref_key:"core",ref:H,class:u(a(t).e("core")),style:te(a(J))},[e.inlinePrompt?(i(),v("div",{key:0,class:u(a(t).e("inner"))},[e.activeIcon||e.inactiveIcon?(i(),c(a(m),{key:0,class:u(a(t).is("icon"))},{default:p(()=>[(i(),c(y(a(s)?e.activeIcon:e.inactiveIcon)))]),_:1},8,["class"])):e.activeText||e.inactiveText?(i(),v("span",{key:1,class:u(a(t).is("text")),"aria-hidden":!a(s)},C(a(s)?e.activeText:e.inactiveText),11,["aria-hidden"])):r("v-if",!0)],2)):r("v-if",!0),T("div",{class:u(a(t).e("action"))},[e.loading?(i(),c(a(m),{key:0,class:u(a(t).is("loading"))},{default:p(()=>[ie(a(ce))]),_:1},8,["class"])):a(s)?M(e.$slots,"active-action",{key:1},()=>[e.activeActionIcon?(i(),c(a(m),{key:0},{default:p(()=>[(i(),c(y(e.activeActionIcon)))]),_:1})):r("v-if",!0)]):a(s)?r("v-if",!0):M(e.$slots,"inactive-action",{key:2},()=>[e.inactiveActionIcon?(i(),c(a(m),{key:0},{default:p(()=>[(i(),c(y(e.inactiveActionIcon)))]),_:1})):r("v-if",!0)])],2)],6),!e.inlinePrompt&&(e.activeIcon||e.activeText)?(i(),v("span",{key:1,class:u(a(q))},[e.activeIcon?(i(),c(a(m),{key:0},{default:p(()=>[(i(),c(y(e.activeIcon)))]),_:1})):r("v-if",!0),!e.activeIcon&&e.activeText?(i(),v("span",{key:1,"aria-hidden":!a(s)},C(e.activeText),9,["aria-hidden"])):r("v-if",!0)],2)):r("v-if",!0)],10,["onClick"]))}});var Ve=re(ge,[["__file","switch.vue"]]);const Ne=oe(Ve);export{Ne as E};
|
|
@ -0,0 +1,9 @@
|
|||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="icon-collect">
|
||||
<path id="Vector" fill-rule="evenodd" clip-rule="evenodd" d="M12 20.25C16.5564 20.25 20.25 16.5564 20.25 12C20.25 7.44365 16.5564 3.75 12 3.75C7.44365 3.75 3.75 7.44365 3.75 12C3.75 16.5564 7.44365 20.25 12 20.25Z" stroke="#262B34" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_2" d="M3.75 12H20.25" stroke="#262B34" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_3" fill-rule="evenodd" clip-rule="evenodd" d="M11.9997 20.25C13.8223 20.25 15.2997 16.5564 15.2997 12C15.2997 7.44365 13.8223 3.75 11.9997 3.75C10.1772 3.75 8.69971 7.44365 8.69971 12C8.69971 16.5564 10.1772 20.25 11.9997 20.25Z" stroke="#262B34" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_4" d="M6.16626 6.28418C7.65922 7.77714 9.72172 8.70056 11.9999 8.70056C14.2781 8.70056 16.3406 7.77714 17.8335 6.28418" stroke="#262B34" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_5" d="M17.8335 17.7167C16.3406 16.2237 14.2781 15.3003 11.9999 15.3003C9.72172 15.3003 7.65922 16.2237 6.16626 17.7167" stroke="#262B34" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.3 KiB |
|
@ -0,0 +1 @@
|
|||
import{D as _,aX as y,bk as A,bl as C,bm as Q,k as N,bn as R,bo as k,ad as L,aP as T}from"./index-X_y_Lweg.js";function v(e){var r;const n=A(e);return(r=n==null?void 0:n.$el)!=null?r:n}const b=L?window:void 0;function m(...e){let r,n,t,u;if(C(e[0])||Array.isArray(e[0])?([n,t,u]=e,r=b):[r,n,t,u]=e,!r)return Q;Array.isArray(n)||(n=[n]),Array.isArray(t)||(t=[t]);const p=[],a=()=>{p.forEach(i=>i()),p.length=0},l=(i,c,o,s)=>(i.addEventListener(c,o,s),()=>i.removeEventListener(c,o,s)),f=_(()=>[v(r),A(u)],([i,c])=>{a(),i&&p.push(...n.flatMap(o=>t.map(s=>l(i,o,s,c))))},{immediate:!0,flush:"post"}),O=()=>{f(),a()};return y(O),O}let w=!1;function V(e,r,n={}){const{window:t=b,ignore:u=[],capture:p=!0,detectIframe:a=!1}=n;if(!t)return;T&&!w&&(w=!0,Array.from(t.document.body.children).forEach(o=>o.addEventListener("click",Q)));let l=!0;const f=o=>u.some(s=>{if(typeof s=="string")return Array.from(t.document.querySelectorAll(s)).some(d=>d===o.target||o.composedPath().includes(d));{const d=v(s);return d&&(o.target===d||o.composedPath().includes(d))}}),i=[m(t,"click",o=>{const s=v(e);if(!(!s||s===o.target||o.composedPath().includes(s))){if(o.detail===0&&(l=!f(o)),!l){l=!0;return}r(o)}},{passive:!0,capture:p}),m(t,"pointerdown",o=>{const s=v(e);s&&(l=!o.composedPath().includes(s)&&!f(o))},{passive:!0}),a&&m(t,"blur",o=>{var s;const d=v(e);((s=t.document.activeElement)==null?void 0:s.tagName)==="IFRAME"&&!(d!=null&&d.contains(t.document.activeElement))&&r(o)})].filter(Boolean);return()=>i.forEach(o=>o())}function $(e,r=!1){const n=N(),t=()=>n.value=!!e();return t(),R(t,r),n}const I=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},h="__vueuse_ssr_handlers__";I[h]=I[h]||{};var E=Object.getOwnPropertySymbols,W=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,M=(e,r)=>{var n={};for(var t in e)W.call(e,t)&&r.indexOf(t)<0&&(n[t]=e[t]);if(e!=null&&E)for(var t of E(e))r.indexOf(t)<0&&x.call(e,t)&&(n[t]=e[t]);return n};function X(e,r,n={}){const t=n,{window:u=b}=t,p=M(t,["window"]);let a;const l=$(()=>u&&"ResizeObserver"in u),f=()=>{a&&(a.disconnect(),a=void 0)},O=_(()=>v(e),c=>{f(),l.value&&u&&c&&(a=new ResizeObserver(r),a.observe(c,p))},{immediate:!0,flush:"post"}),i=()=>{f(),O()};return y(i),{isSupported:l,stop:i}}var P=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,F=(e,r)=>{var n={};for(var t in e)B.call(e,t)&&r.indexOf(t)<0&&(n[t]=e[t]);if(e!=null&&P)for(var t of P(e))r.indexOf(t)<0&&z.call(e,t)&&(n[t]=e[t]);return n};function J(e,r,n={}){const t=n,{window:u=b}=t,p=F(t,["window"]);let a;const l=$(()=>u&&"MutationObserver"in u),f=()=>{a&&(a.disconnect(),a=void 0)},O=_(()=>v(e),c=>{f(),l.value&&u&&c&&(a=new MutationObserver(r),a.observe(c,p))},{immediate:!0}),i=()=>{f(),O()};return y(i),{isSupported:l,stop:i}}var g;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(g||(g={}));var U=Object.defineProperty,S=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable,j=(e,r,n)=>r in e?U(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,q=(e,r)=>{for(var n in r||(r={}))G.call(r,n)&&j(e,n,r[n]);if(S)for(var n of S(r))H.call(r,n)&&j(e,n,r[n]);return e};const D={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};q({linear:k},D);export{m as a,J as b,v as c,V as o,X as u};
|
|
@ -0,0 +1 @@
|
|||
import{l as i,f as d,g as u,c as o,s as t,w as a,n as c,o as r}from"./index-Bh4Knf-X.js";import{M as f,aY as p,f as _,a as m,A as E,B as I}from"./index-X_y_Lweg.js";class C extends Error{constructor(e){super(e),this.name="ElementPlusError"}}function w(s,e){throw new C(`[${s}] ${e}`)}function M(s,e){}const P=f([String,Object,Function]),V={Close:o},y={Close:o,SuccessFilled:t,InfoFilled:r,WarningFilled:a,CircleCloseFilled:c},F={success:t,warning:a,error:c,info:r},$={validating:i,success:d,error:u},b="update:modelValue",x="change",D="input",n={prefix:Math.floor(Math.random()*1e4),current:0},g=Symbol("elIdInjection"),T=()=>E()?I(g,n):n,v=s=>{const e=T(),l=p();return _(()=>m(s)||`${l.value}-id-${e.prefix}-${e.current++}`)};export{V as C,D as I,F as T,b as U,$ as V,x as a,T as b,y as c,M as d,P as i,w as t,v as u};
|
|
@ -0,0 +1 @@
|
|||
import{v as o,L as a}from"./directive-ByWyyhHJ.js";const n={install(i){i.directive("loading",o),i.config.globalProperties.$loading=a},directive:o,service:a};export{n as E};
|
|
@ -0,0 +1 @@
|
|||
import{r as n,a as e,b as a}from"./request-CUVclgT8.js";function s(t){return n({url:"/login",method:"post",data:t})}function u(t){return n({url:"/netState",method:"post",data:t})}function p(t){return n({url:"/deviceInfo",method:"post",data:t})}function d(t){return e({url:"/device/usr-sim/package",method:"post",data:t})}function i(t){return e({url:"/device/usr-sim/card-info",method:"post",data:t})}function l(t){return n({url:"/apConfig",method:"post",data:t})}function f(t){return n({url:"/setApConfig",method:"post",data:t})}function m(t){return n({url:"/getClients",method:"post",data:t})}function c(t){return n({url:"/deleteClient",method:"post",data:t})}function h(t){return n({url:"/deleteClientList",method:"post",data:t})}function g(t){return n({url:"/blackClient",method:"post",data:t})}function C(t){return n({url:"/removeBlackClient",method:"post",data:t})}function S(t){return n({url:"/internetInfo",method:"post",data:t})}function y(t){return n({url:"/getUsedInfo",method:"post",data:t})}function I(t){return n({url:"/setDataPlan",method:"post",data:t})}function v(t){return n({url:"/v2rayGetConfig",method:"post",data:t})}function A(t){return n({url:"/v2rayImport",method:"post",data:t})}function L(t){return n({url:"/v2rayStart",method:"post",data:t})}function V(t){return n({url:"/v2rayStop",method:"post",data:t})}function B(t){return n({url:"/v2rayCheckConfig",method:"post",data:t})}function D(t){return n({url:"/v2rayDeleteConfig",method:"post",data:t})}function k(t){return n({url:"/v2rayPingTest",method:"post",data:t})}function P(t){return n({url:"/alistState",method:"post",data:t})}function U(t){return n({url:"/alistStart",method:"post",data:t})}function q(t){return n({url:"/alistStop",method:"post",data:t})}function O(t){return n({url:"/alistAdminPass",method:"post",data:t})}function R(t){return n({url:"/openvpnImport",method:"post",data:t})}function b(t){return n({url:"/openvpnStart",method:"post",data:t})}function G(t){return n({url:"/openvpnStop",method:"post",data:t})}function M(t){return n({url:"/openvpnList",method:"post",data:t})}function w(t){return n({url:"/openvpnRemove",method:"post",data:t})}function x(t){return n({url:"/getApps",method:"post",data:t})}function N(t){return n({url:"/startApp",method:"post",data:t})}function Q(t){return n({url:"/stopApp",method:"post",data:t})}function T(t){return n({url:"/appUninstall",method:"post",data:t})}function j(t){return n({url:"/appInstall",method:"post",data:t})}function z(t){return n({url:"/appInstallInfo",method:"post",data:t})}function E(t){return a({url:"/apps",method:"post",data:t})}function F(t){return n({url:"/smsByContact",method:"post",data:t})}function H(t){return n({url:"/smsList",method:"post",data:t})}function J(t){return n({url:"/sendSms",method:"post",data:t})}function K(t){return n({url:"/readSms",method:"post",data:t})}function W(t){return n({url:"/deleteSmsByContact",method:"post",data:t})}function X(t){return n({url:"/logList",method:"post",data:t})}function Y(t){return n({url:"/refreshListById",method:"post",data:t})}function Z(t){return n({url:"/moreListById",method:"post",data:t})}function _(t){return n({url:"query",method:"post",data:t})}function $(t){return n({url:"query",method:"post",data:t})}function tt(t){return n({url:"info",method:"post",data:t})}function nt(t,o){return n({url:o,method:"post",data:t})}export{g as A,O as B,q as C,U as D,M as E,R as F,b as G,G as H,j as I,w as J,x as K,E as L,F as M,J as N,H as O,W as P,K as Q,C as R,f as S,X as T,T as U,Y as V,Z as W,s as X,u as a,i as b,d as c,S as d,y as e,m as f,p as g,l as h,h as i,c as j,$ as k,tt as l,nt as m,N as n,z as o,_ as p,B as q,A as r,I as s,v as t,Q as u,V as v,L as w,k as x,D as y,P as z};
|
|
@ -0,0 +1 @@
|
|||
import{D as r,a}from"./index-X_y_Lweg.js";const n=({from:t,replacement:o,scope:s,version:m,ref:p,type:c="API"},e)=>{r(()=>a(e),f=>{},{immediate:!0})};export{n as u};
|
After Width: | Height: | Size: 990 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 259 B |
|
@ -0,0 +1 @@
|
|||
const n="/assets/openDownLoad-Cl2XZ_8t.png";export{n as O};
|
|
@ -0,0 +1 @@
|
|||
.dropdownBlock[data-v-16c05ffe]{width:100%;display:flex;justify-content:space-between;align-items:center;min-height:56px;border-radius:16px;border:1px solid #eaebf6;background:#f9fbff}.dropdownBlock .dropApnLeft[data-v-16c05ffe]{padding-left:16px;color:#333;font-family:SF Pro;font-size:16px;font-style:normal;font-weight:510;line-height:16px}.dropdownBlock .dropApnRight[data-v-16c05ffe]{width:100%;font-size:16px;font-style:normal;font-weight:510;line-height:16px;border-radius:16px;display:flex;flex-direction:column}.dropdownBlock .dropApnRight .inputDeep[data-v-16c05ffe] .el-input__wrapper{padding:0;cursor:default}.dropdownBlock .dropApnRight .inputDeep[data-v-16c05ffe] .el-input__wrapper .el-input__inner{font-size:16px;color:#333!important;cursor:default!important}.dropdownBlock .dropApnRight .dropdownUp[data-v-16c05ffe]{box-sizing:border-box;padding:0 24px;height:42px;color:#333;font-family:SF Pro;font-size:14px;font-style:normal;font-weight:510;line-height:16px;display:flex;justify-content:space-between;align-items:center}.dropdownBlock .dropApnRight .dropdownUp .OpenDrow[data-v-16c05ffe]{cursor:pointer}.dropdownBlock .dropApnRight .drowdownBottom[data-v-16c05ffe]{box-sizing:border-box;border-radius:20px;background:#f9fbff}.dropdownBlock .dropApnRight .drowdownBottom .drowdownItem[data-v-16c05ffe]{color:#666;font-family:SF Pro;font-size:14px;font-style:normal;font-weight:510;line-height:56px;box-sizing:border-box;padding:0 24px;align-items:center;border-radius:20px;height:56px}.dropdownBlock .dropApnRight .drowdownBottom .drowdownItem[data-v-16c05ffe]:hover{background:#06f!important;color:#fff!important}
|
|
@ -0,0 +1 @@
|
|||
import{_ as k,k as l,o as a,g as c,s as e,x as i,a as f,q as h,z as w,J as g,Y as B}from"./index-X_y_Lweg.js";import{O as x}from"./openDownLoad-DhbK9y2K.js";/* empty css */const y={class:"dropdownBlock"},D={class:"dropApnRight"},S={class:"disAble"},C=["src"],N={class:"drowdownBottom"},O=["onClick"],q={__name:"selectBox",props:{selectData:{type:String,required:!0},options:{type:Array,required:!0}},emits:["update"],setup(n,{emit:d}){const p=n,u=d,s=l("");s.value=p.selectData;const t=l(!1),_=()=>{t.value=!t.value},v=o=>{s.value=o,t.value=!1,u("update",{data:o})};return(o,A)=>(a(),c("div",y,[e("div",D,[e("div",{class:"dropdownUp",onClick:_},[e("div",S,i(s.value),1),e("img",{class:"OpenDrow",src:f(x),alt:""},null,8,C)]),h(e("div",N,[(a(!0),c(g,null,B(n.options,(r,m)=>(a(),c("div",{key:m,class:"drowdownItem",onClick:I=>v(r)},i(r),9,O))),128))],512),[[w,t.value]])])]))}},E=k(q,[["__scopeId","data-v-16c05ffe"]]);export{E as s};
|
After Width: | Height: | Size: 12 KiB |
|
@ -0,0 +1 @@
|
|||
const a=t=>t;export{a as m};
|
|
@ -0,0 +1 @@
|
|||
import{f as c,b as p}from"./constants-C-bldqyn.js";import{A as b,f as t,k as d,bp as z,B as v,a as m,F,D as y,Q as h,ar as w}from"./index-X_y_Lweg.js";import{u as _}from"./index-CQpVMKCZ.js";const I=s=>{const o=b();return t(()=>{var u,l;return(l=(u=o==null?void 0:o.proxy)==null?void 0:u.$props)==null?void 0:l[s]})},L=(s,o={})=>{const u=d(void 0),l=o.prop?u:I("size"),e=o.global?u:z(),a=o.form?{size:void 0}:v(c,void 0),n=o.formItem?{size:void 0}:v(p,void 0);return t(()=>l.value||m(s)||(n==null?void 0:n.size)||(a==null?void 0:a.size)||e.value||"")},R=s=>{const o=I("disabled"),u=v(c,void 0);return t(()=>o.value||m(s)||(u==null?void 0:u.disabled)||!1)},S=()=>{const s=v(c,void 0),o=v(p,void 0);return{form:s,formItem:o}},U=(s,{formItemContext:o,disableIdGeneration:u,disableIdManagement:l})=>{u||(u=d(!1)),l||(l=d(!1));const e=d();let a;const n=t(()=>{var i;return!!(!(s.label||s.ariaLabel)&&o&&o.inputIds&&((i=o.inputIds)==null?void 0:i.length)<=1)});return F(()=>{a=y([h(s,"id"),u],([i,f])=>{const r=i??(f?void 0:_().value);r!==e.value&&(o!=null&&o.removeInputId&&(e.value&&o.removeInputId(e.value),!(l!=null&&l.value)&&!f&&r&&o.addInputId(r)),e.value=r)},{immediate:!0})}),w(()=>{a&&a(),o!=null&&o.removeInputId&&e.value&&o.removeInputId(e.value)}),{isLabeledByFormItem:n,inputId:e}};export{S as a,L as b,U as c,R as u};
|