dsh-life-pack 0.3.55 → 0.3.56
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/dist/client.js +13 -13
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
package/dist/client.js
CHANGED
|
@@ -471,14 +471,14 @@ window.__ModuleLoader__.load({
|
|
|
471
471
|
path: "/api/ilife-manager"
|
|
472
472
|
};
|
|
473
473
|
//#endregion
|
|
474
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.17.
|
|
474
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.17.1/node_modules/dsh-plugin-update/dist/config.js
|
|
475
475
|
function assertPrefix(value, role) {
|
|
476
476
|
if (typeof value !== "string" || value.length === 0) throw new Error("[dsh-plugin-update] " + role + " 非法:须为非空字符串(收到 " + JSON.stringify(value) + ")");
|
|
477
477
|
if (value.includes(".") || value.includes("/") || value.includes("\\") || /\s/.test(value)) throw new Error("[dsh-plugin-update] " + role + " 非法:不得含有点、路径分隔符或空白(收到 " + JSON.stringify(value) + ")");
|
|
478
478
|
return value;
|
|
479
479
|
}
|
|
480
480
|
//#endregion
|
|
481
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.17.
|
|
481
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.17.1/node_modules/dsh-plugin-update/dist/redaction.js
|
|
482
482
|
const COPY_BUDGET_CHARS = 1500;
|
|
483
483
|
const REDACTED_PATH = "<路径>";
|
|
484
484
|
const REDACTED_SECRET = "<脱敏>";
|
|
@@ -542,7 +542,7 @@ window.__ModuleLoader__.load({
|
|
|
542
542
|
return truncateForCopy(scrubWithoutBudget(flat));
|
|
543
543
|
}
|
|
544
544
|
//#endregion
|
|
545
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.17.
|
|
545
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.17.1/node_modules/dsh-plugin-update/dist/service.js
|
|
546
546
|
function updateError(code) {
|
|
547
547
|
return Object.assign(new Error(code), { code });
|
|
548
548
|
}
|
|
@@ -629,7 +629,7 @@ window.__ModuleLoader__.load({
|
|
|
629
629
|
return 0;
|
|
630
630
|
}
|
|
631
631
|
//#endregion
|
|
632
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.17.
|
|
632
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.17.1/node_modules/dsh-plugin-update/dist/lang.js
|
|
633
633
|
function normalizeLangTag(tag) {
|
|
634
634
|
if (typeof tag !== "string") return "zh";
|
|
635
635
|
const s = tag.trim().toLowerCase().replace(/_/g, "-");
|
|
@@ -771,7 +771,7 @@ window.__ModuleLoader__.load({
|
|
|
771
771
|
};
|
|
772
772
|
}
|
|
773
773
|
//#endregion
|
|
774
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.17.
|
|
774
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.17.1/node_modules/dsh-plugin-update/dist/bilingual.js
|
|
775
775
|
const BILINGUAL_STRINGS = {
|
|
776
776
|
"entry.label.idle": {
|
|
777
777
|
en: "Check for updates",
|
|
@@ -2413,7 +2413,7 @@ window.__ModuleLoader__.load({
|
|
|
2413
2413
|
}
|
|
2414
2414
|
const BILINGUAL_CSS = [".dsh-upd-bi{display:inline;overflow-wrap:anywhere}", ".dsh-upd-bi [lang]{overflow-wrap:anywhere}"].join("\n");
|
|
2415
2415
|
//#endregion
|
|
2416
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.17.
|
|
2416
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.17.1/node_modules/dsh-plugin-update/dist/changelog.js
|
|
2417
2417
|
const CHANGELOG_MAX_CHARS = 65536;
|
|
2418
2418
|
const CHANGELOG_ALL_CATEGORIES = [
|
|
2419
2419
|
"Added",
|
|
@@ -3521,12 +3521,12 @@ ${note}${blocks.join("\n")}
|
|
|
3521
3521
|
}
|
|
3522
3522
|
}
|
|
3523
3523
|
//#endregion
|
|
3524
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.17.
|
|
3524
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.17.1/node_modules/dsh-plugin-update/dist/log-events.js
|
|
3525
3525
|
const LOG_EVENT_CALL = "host.call";
|
|
3526
3526
|
const LOG_EVENT_CALL_FAIL = "host.call.fail";
|
|
3527
3527
|
const LOG_EVENT_INSTALL_EXEC = "update.install.exec";
|
|
3528
3528
|
//#endregion
|
|
3529
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.17.
|
|
3529
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.17.1/node_modules/dsh-plugin-update/dist/codes.js
|
|
3530
3530
|
const BLOCKED_REASONS = [
|
|
3531
3531
|
"unknown-profile",
|
|
3532
3532
|
"channel-mismatch",
|
|
@@ -3560,7 +3560,7 @@ ${note}${blocks.join("\n")}
|
|
|
3560
3560
|
return typeof code === "string" && isOneOf(CHECK_SIDE_FAILURE_CODES, code.trim());
|
|
3561
3561
|
}
|
|
3562
3562
|
//#endregion
|
|
3563
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.17.
|
|
3563
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.17.1/node_modules/dsh-plugin-update/dist/panel.js
|
|
3564
3564
|
function normalizePanelTheme(value) {
|
|
3565
3565
|
return value === "archive" ? "archive" : "default";
|
|
3566
3566
|
}
|
|
@@ -4722,7 +4722,7 @@ ${UPDATE_PANEL_ARCHIVE_CSS}` : UPDATE_PANEL_CSS}</style>
|
|
|
4722
4722
|
${body}`;
|
|
4723
4723
|
}
|
|
4724
4724
|
//#endregion
|
|
4725
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.17.
|
|
4725
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.17.1/node_modules/dsh-plugin-update/dist/entry.js
|
|
4726
4726
|
const UPDATE_ENTRY_CSS = [
|
|
4727
4727
|
".dsh-upd-entry{display:inline-flex;align-items:center;gap:8px;font:13px/1.6 var(--dsh-update-font-sans,system-ui,\"Microsoft YaHei\",sans-serif);font-size:var(--dsh-update-entry-font-size,13px);color:var(--dsh-update-text,#1f2937)}",
|
|
4728
4728
|
".dsh-upd-entry-btn{font:inherit;border:1px solid var(--dsh-update-border,#d1d5db);border-radius:var(--dsh-update-entry-border-radius,6px);",
|
|
@@ -4836,7 +4836,7 @@ ${body}`;
|
|
|
4836
4836
|
}
|
|
4837
4837
|
}
|
|
4838
4838
|
//#endregion
|
|
4839
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.17.
|
|
4839
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.17.1/node_modules/dsh-plugin-update/dist/panel-batch.js
|
|
4840
4840
|
const BATCH_PANEL_POLL = {
|
|
4841
4841
|
defaultMs: 1500,
|
|
4842
4842
|
minMs: 250
|
|
@@ -6355,7 +6355,7 @@ ${body}`;
|
|
|
6355
6355
|
};
|
|
6356
6356
|
}
|
|
6357
6357
|
//#endregion
|
|
6358
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.17.
|
|
6358
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.17.1/node_modules/dsh-plugin-update/dist/entry-batch.js
|
|
6359
6359
|
function isObject(value) {
|
|
6360
6360
|
return !!value && typeof value === "object" && !Array.isArray(value);
|
|
6361
6361
|
}
|
|
@@ -9254,7 +9254,7 @@ ${body}`;
|
|
|
9254
9254
|
}, react.createElement("span", { style: S.morePkg }, row.pkg), react.createElement("span", { style: S.moreDesc }, row.desc), react.createElement("span", { style: S.moreIcon }, react.createElement(ExternalIcon, null)))));
|
|
9255
9255
|
}
|
|
9256
9256
|
/** 版本胶囊那一行字:只在这里拼一次,屏上与用例读的是同一串。 */
|
|
9257
|
-
const MANAGER_VERSION_TEXT = "dsh-life-pack · 0.3.
|
|
9257
|
+
const MANAGER_VERSION_TEXT = "dsh-life-pack · 0.3.56";
|
|
9258
9258
|
/** 右下角那本书离面板两沿的距离:用户口径「一直处于面板右下角、不随列表滑动消失」
|
|
9259
9259
|
* ⇒ sticky 吸附(面板相对,视口多大都落在面板角上);INSET=右沿,BOTTOM=底沿。 */
|
|
9260
9260
|
const MANUAL_ENTRY_INSET = 16;
|