dsh-work-components 0.2.1 → 0.2.2
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.js +7 -2
- package/lib/index.mjs +1 -1
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
window.__ModuleLoader__.load({
|
|
2
|
-
id: "dsh-
|
|
2
|
+
id: "dsh-work-components",
|
|
3
3
|
factory: (require) => {
|
|
4
4
|
var module = { exports: {} };
|
|
5
5
|
var exports = module.exports;
|
|
@@ -2136,7 +2136,12 @@ var SC_CSS = [
|
|
|
2136
2136
|
".dsw-sc-modal-btn-outline:hover{background:var(--dsw-alias-interactive-bg-hover)}",
|
|
2137
2137
|
".dsw-sc-modal-btn-primary{background:var(--dsw-alias-button-primary-fill);color:var(--dsw-alias-label-primary-foreground)}",
|
|
2138
2138
|
".dsw-sc-modal-btn-primary:hover{background:var(--dsw-alias-button-primary-hover)}",
|
|
2139
|
-
".dsw-sc-replaced{display:none !important}"
|
|
2139
|
+
".dsw-sc-replaced{display:none !important}",
|
|
2140
|
+
"body[data-we-wallpaper] [data-sidebar-right-panel]:not([data-sidebar-right-open]),",
|
|
2141
|
+
"body[data-we-sidebar-glass] [data-sidebar-right-panel]:not([data-sidebar-right-open]),",
|
|
2142
|
+
"body[data-ds-dark-theme][data-we-sidebar-glass] [data-sidebar-right-panel]:not([data-sidebar-right-open]){",
|
|
2143
|
+
"background:none !important;background-color:transparent !important;background-image:none !important;",
|
|
2144
|
+
"-webkit-backdrop-filter:none !important;backdrop-filter:none !important;box-shadow:none !important}"
|
|
2140
2145
|
].join("");
|
|
2141
2146
|
|
|
2142
2147
|
var scEnabled = false;
|
package/lib/index.mjs
CHANGED
|
@@ -5032,7 +5032,7 @@ function createComponentManager(ctx, getConfig, options = {}) {
|
|
|
5032
5032
|
connection = { state: conn.state, detail: conn.detail, via: conn.via, checkedAt: conn.checkedAt || null };
|
|
5033
5033
|
}
|
|
5034
5034
|
const enabledKey = `${c.id}Enabled`;
|
|
5035
|
-
const enabled = Object.prototype.hasOwnProperty.call(cfg, enabledKey) ? !!cfg[enabledKey] :
|
|
5035
|
+
const enabled = Object.prototype.hasOwnProperty.call(cfg, enabledKey) ? !!cfg[enabledKey] : false;
|
|
5036
5036
|
return {
|
|
5037
5037
|
id: c.id,
|
|
5038
5038
|
label: c.label,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-work-components",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "DSH 工作组件插件:统一挂载并管理控制其他工作软件的 MCP 服务器(Office / Blender / Unity / Figma / Photoshop / Chrome / Godot / Windows / Notion / Cloudflare / GitHub / ComfyUI / FFmpeg / Obsidian),带「工作组件」设置页;另含多模态工具 mm_send_image。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.mjs",
|