dsh-sub2api-sync 0.2.6 → 0.2.8
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/lib/client.cjs +8 -3
- package/lib/client.js +8 -3
- package/package.json +2 -6
package/lib/client.cjs
CHANGED
|
@@ -793,8 +793,13 @@ const CSS = `
|
|
|
793
793
|
|
|
794
794
|
/* The options panel: fixed-positioned from the trigger (escapes the modal
|
|
795
795
|
card's overflow clip), width-matched to it, search pinned on top, options
|
|
796
|
-
scrolling below.
|
|
796
|
+
scrolling below. position: fixed is load-bearing: MenuSurface defaults to
|
|
797
|
+
position: relative, and without this rule the panel becomes a flex item
|
|
798
|
+
inside the form row while the viewport-coordinate top/left from
|
|
799
|
+
useAnchoredPosition act as relative offsets — the panel displaces across
|
|
800
|
+
the dialog and stays clipped by the card (the blank floating box bug). */
|
|
797
801
|
.s2s-groupPanel {
|
|
802
|
+
position: fixed;
|
|
798
803
|
display: flex;
|
|
799
804
|
flex-direction: column;
|
|
800
805
|
box-sizing: border-box;
|
|
@@ -1396,8 +1401,8 @@ function GroupPicker({ groups, value, placeholder, searchPlaceholder, emptyLabel
|
|
|
1396
1401
|
ref: panelRef,
|
|
1397
1402
|
className: "s2s-groupPanel",
|
|
1398
1403
|
role: "listbox",
|
|
1399
|
-
style:
|
|
1400
|
-
...position,
|
|
1404
|
+
style: {
|
|
1405
|
+
...position === null ? { visibility: "hidden" } : position,
|
|
1401
1406
|
...triggerWidth > 0 ? { width: `${triggerWidth}px` } : {},
|
|
1402
1407
|
maxHeight: `${maxHeight}px`
|
|
1403
1408
|
},
|
package/lib/client.js
CHANGED
|
@@ -799,8 +799,13 @@ const CSS = `
|
|
|
799
799
|
|
|
800
800
|
/* The options panel: fixed-positioned from the trigger (escapes the modal
|
|
801
801
|
card's overflow clip), width-matched to it, search pinned on top, options
|
|
802
|
-
scrolling below.
|
|
802
|
+
scrolling below. position: fixed is load-bearing: MenuSurface defaults to
|
|
803
|
+
position: relative, and without this rule the panel becomes a flex item
|
|
804
|
+
inside the form row while the viewport-coordinate top/left from
|
|
805
|
+
useAnchoredPosition act as relative offsets — the panel displaces across
|
|
806
|
+
the dialog and stays clipped by the card (the blank floating box bug). */
|
|
803
807
|
.s2s-groupPanel {
|
|
808
|
+
position: fixed;
|
|
804
809
|
display: flex;
|
|
805
810
|
flex-direction: column;
|
|
806
811
|
box-sizing: border-box;
|
|
@@ -1402,8 +1407,8 @@ function GroupPicker({ groups, value, placeholder, searchPlaceholder, emptyLabel
|
|
|
1402
1407
|
ref: panelRef,
|
|
1403
1408
|
className: "s2s-groupPanel",
|
|
1404
1409
|
role: "listbox",
|
|
1405
|
-
style:
|
|
1406
|
-
...position,
|
|
1410
|
+
style: {
|
|
1411
|
+
...position === null ? { visibility: "hidden" } : position,
|
|
1407
1412
|
...triggerWidth > 0 ? { width: `${triggerWidth}px` } : {},
|
|
1408
1413
|
maxHeight: `${maxHeight}px`
|
|
1409
1414
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-sub2api-sync",
|
|
3
3
|
"description": "Sync one sub2api instance's groups, keys, and models into dsh-llm-pi-ai provider routes: panel-driven login (password / OAuth), one relay key one provider.",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.8",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Shuai-S",
|
|
7
7
|
"homepage": "https://github.com/Shuai-S/dsh-sub2api-sync#readme",
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
+
"@deepseek-ai/dsh-credentials": "0.2.0-rc.2",
|
|
62
63
|
"@deepseek-ai/schemastery": "^3.18.4"
|
|
63
64
|
},
|
|
64
65
|
"peerDependencies": {
|
|
@@ -66,7 +67,6 @@
|
|
|
66
67
|
"@deepseek-ai/dsh-client-locale": ">=0.2.0-rc.2",
|
|
67
68
|
"@deepseek-ai/dsh-client-ui-primitives": ">=0.2.0-rc.2",
|
|
68
69
|
"@deepseek-ai/dsh-client-ui-settings": ">=0.2.0-rc.2",
|
|
69
|
-
"@deepseek-ai/dsh-credentials": "*",
|
|
70
70
|
"@deepseek-ai/dsh-host-webserver": "*",
|
|
71
71
|
"@deepseek-ai/dsh-settings": "*",
|
|
72
72
|
"react": "^18.2.0"
|
|
@@ -84,9 +84,6 @@
|
|
|
84
84
|
"@deepseek-ai/dsh-client-ui-settings": {
|
|
85
85
|
"optional": true
|
|
86
86
|
},
|
|
87
|
-
"@deepseek-ai/dsh-credentials": {
|
|
88
|
-
"optional": true
|
|
89
|
-
},
|
|
90
87
|
"@deepseek-ai/dsh-host-webserver": {
|
|
91
88
|
"optional": true
|
|
92
89
|
},
|
|
@@ -106,7 +103,6 @@
|
|
|
106
103
|
"@deepseek-ai/dsh-client-ui-settings": "0.2.0-rc.2",
|
|
107
104
|
"@deepseek-ai/dsh-client-ui-settings-models": "0.2.0-rc.2",
|
|
108
105
|
"@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.2",
|
|
109
|
-
"@deepseek-ai/dsh-credentials": "0.2.0-rc.2",
|
|
110
106
|
"@deepseek-ai/dsh-host-webserver": "0.2.0-rc.2",
|
|
111
107
|
"@deepseek-ai/dsh-settings": "0.2.0-rc.2",
|
|
112
108
|
"@types/node": "^22.20.0",
|