dsh-remote-plugin 0.6.18 → 0.6.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apk/dsh-remote.apk +0 -0
- package/client.js +9 -2
- package/gateway.cjs +610 -33
- package/index.mjs +50 -3
- package/package.json +1 -1
- package/public/admin.html +16 -17
- package/public/admin.js +6 -5
- package/public/app.js +94 -16
- package/public/desktop/desktop.css +57 -11
- package/public/desktop/desktop.html +24 -20
- package/public/desktop/desktop.js +110 -18
- package/public/index.html +33 -29
- package/public/motion.js +105 -17
- package/public/plugin.html +6 -5
- package/public/styles.css +67 -27
- package/public/theme-vars.css +244 -167
- package/public/theme.js +2 -2
- package/public/update.json +12 -12
- package/public/version.json +1 -1
package/apk/dsh-remote.apk
CHANGED
|
Binary file
|
package/client.js
CHANGED
|
@@ -10,7 +10,14 @@ window.__ModuleLoader__.load({
|
|
|
10
10
|
var exports = module.exports
|
|
11
11
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' })
|
|
12
12
|
var React = require('react')
|
|
13
|
-
|
|
13
|
+
// DSH 0.1.2-alpha.1 将 defineStore 从已删除的 client-runtime 迁入
|
|
14
|
+
// client-store 平台种子;0.1.1-rc.2 及更早版本仍只提供旧模块。
|
|
15
|
+
var storeRuntime
|
|
16
|
+
try {
|
|
17
|
+
storeRuntime = require('@deepseek-ai/dsh-client-store')
|
|
18
|
+
} catch (_) {
|
|
19
|
+
storeRuntime = require('@deepseek-ai/dsh-client-runtime/client')
|
|
20
|
+
}
|
|
14
21
|
|
|
15
22
|
var DRAWER_STYLE = {
|
|
16
23
|
position: 'fixed', top: 12, right: 12, bottom: 12, zIndex: 2147483000,
|
|
@@ -146,7 +153,7 @@ window.__ModuleLoader__.load({
|
|
|
146
153
|
|
|
147
154
|
var inject = ['slots']
|
|
148
155
|
function apply(ctx) {
|
|
149
|
-
var store =
|
|
156
|
+
var store = storeRuntime.defineStore({
|
|
150
157
|
init: function () { return { open: false } },
|
|
151
158
|
actions: {
|
|
152
159
|
toggle: function (d) { d.open = !d.open },
|