dsh-gufa-code 1.3.179 → 1.3.184
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/client.js +5 -2
- package/desktop/float/bin/gufa-float-macos-arm64 +0 -0
- package/desktop/float/bin/gufa-float-macos-universal +0 -0
- package/desktop/float/bin/gufa-float-macos-x64 +0 -0
- package/desktop/float//345/217/244/346/263/225/347/274/226/347/250/213/346/202/254/346/265/256/345/261/202.app/Contents/Info.plist +2 -2
- package/desktop/float//345/217/244/346/263/225/347/274/226/347/250/213/346/202/254/346/265/256/345/261/202.app/Contents/MacOS/gufa-float +0 -0
- package/package.json +1 -1
- package/src/client/00-core.js +3 -0
- package/src/client/58-insert-ref.js +1 -1
package/client.js
CHANGED
|
@@ -16,7 +16,7 @@ const GUFA_NS = 'gufa-code'
|
|
|
16
16
|
const G = {}
|
|
17
17
|
G.NS = GUFA_NS
|
|
18
18
|
/** 客户端构建标记(排查页面是否加载了新代码时看标题栏) */
|
|
19
|
-
G.BUILD = '1.3.
|
|
19
|
+
G.BUILD = '1.3.183'
|
|
20
20
|
G.PANEL_ID = 'gufa-code'
|
|
21
21
|
/** 从哪个工作区点进来的(工作区菜单/节点按钮写入,App 启动时消费)。 */
|
|
22
22
|
G.pendingEntryWorkspace = null
|
|
@@ -1394,6 +1394,9 @@ html[data-gufa-ide] [role="dialog"] {
|
|
|
1394
1394
|
--gufa-text:var(--gufa-solid-text, var(--dsw-alias-label-primary, #f4f1e8));--gufa-text-dim:var(--gufa-solid-text-dim, var(--dsw-alias-label-secondary, rgba(244,241,232,0.66)));
|
|
1395
1395
|
--gufa-hover:color-mix(in srgb, var(--gufa-text) 7%, transparent);--gufa-active:color-mix(in srgb, var(--gufa-text) 11%, transparent);
|
|
1396
1396
|
color:var(--gufa-text);font-size:13px;line-height:1.45}
|
|
1397
|
+
/* DSH(macOS) 会给 body>:not(#root) 统一加 -webkit-app-region:no-drag;
|
|
1398
|
+
这个全屏 portal 容器即使是空的,也会把整窗拖拽区挖掉。空的时候直接不渲染盒子。 */
|
|
1399
|
+
#gufa-portal-root:empty{display:none!important}
|
|
1397
1400
|
#gufa-portal-root>*{pointer-events:auto}
|
|
1398
1401
|
/* 摸鱼模式:App 窗口选择器 */
|
|
1399
1402
|
.gufa-float-backdrop{position:fixed;inset:0;z-index:2147483200;display:flex;align-items:center;justify-content:center;
|
|
@@ -10116,7 +10119,7 @@ G.refToast = function refToast(text, kind) {
|
|
|
10116
10119
|
if (host === null) {
|
|
10117
10120
|
host = document.createElement('div')
|
|
10118
10121
|
host.id = 'gufa-ref-toast'
|
|
10119
|
-
host.style.cssText = 'position:fixed;left:50%;bottom:96px;transform:translateX(-50%);z-index:2147483000;max-width:70vw;padding:7px 14px;border-radius:999px;font:12px/1.5 system-ui,sans-serif;box-shadow:0 6px 20px rgba(16,24,40,.18);pointer-events:none;white-space:pre-wrap'
|
|
10122
|
+
host.style.cssText = 'position:fixed;left:50%;bottom:96px;transform:translateX(-50%);z-index:2147483000;max-width:70vw;padding:7px 14px;border-radius:999px;font:12px/1.5 system-ui,sans-serif;box-shadow:0 6px 20px rgba(16,24,40,.18);pointer-events:none;white-space:pre-wrap;-webkit-app-region:none'
|
|
10120
10123
|
document.body.appendChild(host)
|
|
10121
10124
|
}
|
|
10122
10125
|
host.textContent = String(text)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
<key>CFBundleDisplayName</key><string>古法编程悬浮层</string>
|
|
8
8
|
<key>CFBundleExecutable</key><string>gufa-float</string>
|
|
9
9
|
<key>CFBundlePackageType</key><string>APPL</string>
|
|
10
|
-
<key>CFBundleShortVersionString</key><string>1.3.
|
|
11
|
-
<key>CFBundleVersion</key><string>1.3.
|
|
10
|
+
<key>CFBundleShortVersionString</key><string>1.3.184</string>
|
|
11
|
+
<key>CFBundleVersion</key><string>1.3.184</string>
|
|
12
12
|
<key>LSUIElement</key><true/>
|
|
13
13
|
<key>NSHighResolutionCapable</key><true/>
|
|
14
14
|
<key>NSPrincipalClass</key><string>NSApplication</string>
|
|
Binary file
|
package/package.json
CHANGED
package/src/client/00-core.js
CHANGED
|
@@ -1386,6 +1386,9 @@ html[data-gufa-ide] [role="dialog"] {
|
|
|
1386
1386
|
--gufa-text:var(--gufa-solid-text, var(--dsw-alias-label-primary, #f4f1e8));--gufa-text-dim:var(--gufa-solid-text-dim, var(--dsw-alias-label-secondary, rgba(244,241,232,0.66)));
|
|
1387
1387
|
--gufa-hover:color-mix(in srgb, var(--gufa-text) 7%, transparent);--gufa-active:color-mix(in srgb, var(--gufa-text) 11%, transparent);
|
|
1388
1388
|
color:var(--gufa-text);font-size:13px;line-height:1.45}
|
|
1389
|
+
/* DSH(macOS) 会给 body>:not(#root) 统一加 -webkit-app-region:no-drag;
|
|
1390
|
+
这个全屏 portal 容器即使是空的,也会把整窗拖拽区挖掉。空的时候直接不渲染盒子。 */
|
|
1391
|
+
#gufa-portal-root:empty{display:none!important}
|
|
1389
1392
|
#gufa-portal-root>*{pointer-events:auto}
|
|
1390
1393
|
/* 摸鱼模式:App 窗口选择器 */
|
|
1391
1394
|
.gufa-float-backdrop{position:fixed;inset:0;z-index:2147483200;display:flex;align-items:center;justify-content:center;
|
|
@@ -13,7 +13,7 @@ G.refToast = function refToast(text, kind) {
|
|
|
13
13
|
if (host === null) {
|
|
14
14
|
host = document.createElement('div')
|
|
15
15
|
host.id = 'gufa-ref-toast'
|
|
16
|
-
host.style.cssText = 'position:fixed;left:50%;bottom:96px;transform:translateX(-50%);z-index:2147483000;max-width:70vw;padding:7px 14px;border-radius:999px;font:12px/1.5 system-ui,sans-serif;box-shadow:0 6px 20px rgba(16,24,40,.18);pointer-events:none;white-space:pre-wrap'
|
|
16
|
+
host.style.cssText = 'position:fixed;left:50%;bottom:96px;transform:translateX(-50%);z-index:2147483000;max-width:70vw;padding:7px 14px;border-radius:999px;font:12px/1.5 system-ui,sans-serif;box-shadow:0 6px 20px rgba(16,24,40,.18);pointer-events:none;white-space:pre-wrap;-webkit-app-region:none'
|
|
17
17
|
document.body.appendChild(host)
|
|
18
18
|
}
|
|
19
19
|
host.textContent = String(text)
|