dsh-life-pack 0.3.79 → 0.3.81
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 +40 -37
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
package/dist/client.js
CHANGED
|
@@ -471,7 +471,7 @@ window.__ModuleLoader__.load({
|
|
|
471
471
|
path: "/api/ilife-manager"
|
|
472
472
|
};
|
|
473
473
|
//#endregion
|
|
474
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
474
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/shared/config.js
|
|
475
475
|
const DEFAULT_PANEL_POLL_MS = 1e3;
|
|
476
476
|
function assertPrefix(value, role) {
|
|
477
477
|
if (typeof value !== "string" || value.length === 0) throw new Error("[dsh-plugin-update] " + role + " 非法:须为非空字符串(收到 " + JSON.stringify(value) + ")");
|
|
@@ -493,7 +493,7 @@ window.__ModuleLoader__.load({
|
|
|
493
493
|
return buildPhoneNames(prefix).logAppend;
|
|
494
494
|
}
|
|
495
495
|
//#endregion
|
|
496
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
496
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/shared/codes.js
|
|
497
497
|
const BLOCKED_REASONS = [
|
|
498
498
|
"unknown-profile",
|
|
499
499
|
"channel-mismatch",
|
|
@@ -530,7 +530,7 @@ window.__ModuleLoader__.load({
|
|
|
530
530
|
return typeof code === "string" && isOneOf(CHECK_SIDE_FAILURE_CODES, code.trim());
|
|
531
531
|
}
|
|
532
532
|
//#endregion
|
|
533
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
533
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/shared/lang.js
|
|
534
534
|
function normalizeLangTag(tag) {
|
|
535
535
|
if (typeof tag !== "string") return "zh";
|
|
536
536
|
const s = tag.trim().toLowerCase().replace(/_/g, "-");
|
|
@@ -672,7 +672,7 @@ window.__ModuleLoader__.load({
|
|
|
672
672
|
};
|
|
673
673
|
}
|
|
674
674
|
//#endregion
|
|
675
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
675
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/core/i18n/dictionary.js
|
|
676
676
|
const BILINGUAL_STRINGS = {
|
|
677
677
|
"entry.label.idle": {
|
|
678
678
|
en: "Check for updates",
|
|
@@ -2741,7 +2741,7 @@ window.__ModuleLoader__.load({
|
|
|
2741
2741
|
}
|
|
2742
2742
|
};
|
|
2743
2743
|
//#endregion
|
|
2744
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
2744
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/core/i18n/text.js
|
|
2745
2745
|
function escapeHtml$4(value) {
|
|
2746
2746
|
return String(value ?? "").replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
2747
2747
|
}
|
|
@@ -2770,7 +2770,7 @@ window.__ModuleLoader__.load({
|
|
|
2770
2770
|
return "<span class=\"dsh-upd-bi\"><span lang=\"" + l + "\">" + text + "</span></span>";
|
|
2771
2771
|
}
|
|
2772
2772
|
//#endregion
|
|
2773
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
2773
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/core/cause.js
|
|
2774
2774
|
const CAUSE_KINDS = ["minimum-release-age"];
|
|
2775
2775
|
const CAUSE_SIGNATURES = [{
|
|
2776
2776
|
kind: "minimum-release-age",
|
|
@@ -2890,7 +2890,7 @@ window.__ModuleLoader__.load({
|
|
|
2890
2890
|
}
|
|
2891
2891
|
}
|
|
2892
2892
|
//#endregion
|
|
2893
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
2893
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/shared/redaction.js
|
|
2894
2894
|
const COPY_BUDGET_CHARS = 1500;
|
|
2895
2895
|
const REDACTED_PATH = "<路径>";
|
|
2896
2896
|
const REDACTED_SECRET = "<脱敏>";
|
|
@@ -2970,7 +2970,7 @@ window.__ModuleLoader__.load({
|
|
|
2970
2970
|
return userinfo.masked ? truncateWithMaskNote(scrubbed, COPY_BUDGET_CHARS) : truncateForCopy(scrubbed);
|
|
2971
2971
|
}
|
|
2972
2972
|
//#endregion
|
|
2973
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
2973
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/shared/copy.js
|
|
2974
2974
|
const BLOCKED_KEYS = {
|
|
2975
2975
|
"unknown-profile": {
|
|
2976
2976
|
title: "panel.blocked.unknown-profile.title",
|
|
@@ -3388,7 +3388,7 @@ window.__ModuleLoader__.load({
|
|
|
3388
3388
|
return blockLines.join("\n");
|
|
3389
3389
|
}
|
|
3390
3390
|
//#endregion
|
|
3391
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
3391
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/panel/theme.js
|
|
3392
3392
|
function normalizePanelTheme(value) {
|
|
3393
3393
|
return value === "archive" ? "archive" : "default";
|
|
3394
3394
|
}
|
|
@@ -3500,7 +3500,7 @@ window.__ModuleLoader__.load({
|
|
|
3500
3500
|
return parts.join(";");
|
|
3501
3501
|
}
|
|
3502
3502
|
//#endregion
|
|
3503
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
3503
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/core/judgment.js
|
|
3504
3504
|
function updateError(code) {
|
|
3505
3505
|
return Object.assign(new Error(code), { code });
|
|
3506
3506
|
}
|
|
@@ -3587,7 +3587,7 @@ window.__ModuleLoader__.load({
|
|
|
3587
3587
|
return 0;
|
|
3588
3588
|
}
|
|
3589
3589
|
//#endregion
|
|
3590
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
3590
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/shared/hash.js
|
|
3591
3591
|
function hash8(value) {
|
|
3592
3592
|
try {
|
|
3593
3593
|
const text = String(value ?? "");
|
|
@@ -3600,7 +3600,7 @@ window.__ModuleLoader__.load({
|
|
|
3600
3600
|
}
|
|
3601
3601
|
[...CORE_ERROR_CODES];
|
|
3602
3602
|
//#endregion
|
|
3603
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
3603
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/panel/skip-store.js
|
|
3604
3604
|
const PANEL_SKIPPED_MAX = 50;
|
|
3605
3605
|
function panelSkipKey(pluginId) {
|
|
3606
3606
|
return `dsh-upd-skipped/${String(pluginId)}`;
|
|
@@ -3703,7 +3703,7 @@ window.__ModuleLoader__.load({
|
|
|
3703
3703
|
};
|
|
3704
3704
|
}
|
|
3705
3705
|
//#endregion
|
|
3706
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
3706
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/panel/view-model.js
|
|
3707
3707
|
const SEAL_KEYS = {
|
|
3708
3708
|
loading: {
|
|
3709
3709
|
text: "panel.seal.loading.text",
|
|
@@ -3853,7 +3853,8 @@ window.__ModuleLoader__.load({
|
|
|
3853
3853
|
staleFailure = false;
|
|
3854
3854
|
}
|
|
3855
3855
|
const gated = !(typeof errorKind === "string" && errorKind.trim()) && !lastError ? checkPrejudgeOfView(input.checkPrejudge, snapshot) : null;
|
|
3856
|
-
|
|
3856
|
+
const historicalJobFailure = !(typeof errorKind === "string" && errorKind.trim() || lastError) && snapshot.installed === false && (jobState === "failed" || jobState === "interrupted");
|
|
3857
|
+
if (!staleFailure && !gated && !historicalJobFailure && (failedCode || jobState === "failed" || jobState === "interrupted")) {
|
|
3857
3858
|
const code = failedCode || "install-failed";
|
|
3858
3859
|
const copy = failureCopy(code, l);
|
|
3859
3860
|
const checkDetail = copy?.zh ?? code;
|
|
@@ -4016,7 +4017,7 @@ window.__ModuleLoader__.load({
|
|
|
4016
4017
|
}
|
|
4017
4018
|
}
|
|
4018
4019
|
//#endregion
|
|
4019
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
4020
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/core/changelog/parse.js
|
|
4020
4021
|
const CHANGELOG_MAX_CHARS = 65536;
|
|
4021
4022
|
const CHANGELOG_ALL_CATEGORIES = [
|
|
4022
4023
|
"Added",
|
|
@@ -4616,7 +4617,7 @@ window.__ModuleLoader__.load({
|
|
|
4616
4617
|
return String(text ?? "").replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
4617
4618
|
}
|
|
4618
4619
|
//#endregion
|
|
4619
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
4620
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/core/changelog/render-model.js
|
|
4620
4621
|
const MD_URL_MAX = 2048;
|
|
4621
4622
|
const MD_MAX_DEPTH = 2;
|
|
4622
4623
|
function isHttpUrl(u) {
|
|
@@ -5137,7 +5138,7 @@ ${note}${blocks.join("\n")}
|
|
|
5137
5138
|
}
|
|
5138
5139
|
}
|
|
5139
5140
|
//#endregion
|
|
5140
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
5141
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/shared/last-resort.js
|
|
5141
5142
|
const STAGES = [
|
|
5142
5143
|
"install",
|
|
5143
5144
|
"check",
|
|
@@ -5237,12 +5238,12 @@ ${note}${blocks.join("\n")}
|
|
|
5237
5238
|
return verdict("unknown");
|
|
5238
5239
|
}
|
|
5239
5240
|
//#endregion
|
|
5240
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
5241
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/shared/log-events.js
|
|
5241
5242
|
const LOG_EVENT_CALL = "host.call";
|
|
5242
5243
|
const LOG_EVENT_CALL_FAIL = "host.call.fail";
|
|
5243
5244
|
const LOG_EVENT_INSTALL_EXEC = "update.install.exec";
|
|
5244
5245
|
//#endregion
|
|
5245
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
5246
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/shared/commands.js
|
|
5246
5247
|
const MANUAL_SUPPRESSING_REASONS = [
|
|
5247
5248
|
"source-install",
|
|
5248
5249
|
"unknown-profile",
|
|
@@ -5252,7 +5253,7 @@ ${note}${blocks.join("\n")}
|
|
|
5252
5253
|
return reason !== null && reason !== void 0 && MANUAL_SUPPRESSING_REASONS.includes(reason);
|
|
5253
5254
|
}
|
|
5254
5255
|
//#endregion
|
|
5255
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
5256
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/shared/manual-absent.js
|
|
5256
5257
|
const REASON_KEYS = {
|
|
5257
5258
|
"unknown-profile": "panel.manual.absent.unknown-profile",
|
|
5258
5259
|
"source-install": "panel.manual.absent.source-install",
|
|
@@ -5288,7 +5289,7 @@ ${note}${blocks.join("\n")}
|
|
|
5288
5289
|
return manualAbsentReasonTextOf(null, lang) + joiner + manualAbsentReasonTextOf(reason, lang);
|
|
5289
5290
|
}
|
|
5290
5291
|
//#endregion
|
|
5291
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
5292
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/panel/archive-theme.js
|
|
5292
5293
|
const UPDATE_PANEL_ARCHIVE_CSS = [
|
|
5293
5294
|
"/* Archive 档案卷可选主题:只换颜色/字体/间距;内核 DOM 顺序一字不动,不断复制诊断。 */",
|
|
5294
5295
|
".dsh-upd[data-theme=\"archive\"]{--dsh-update-bg-soft:#f7f3ea;--dsh-update-bg:#fffdf6;--dsh-update-text:#1a1a1a;--dsh-update-text-muted:#6f675a;",
|
|
@@ -5427,7 +5428,7 @@ ${note}${blocks.join("\n")}
|
|
|
5427
5428
|
"@media (prefers-reduced-motion: reduce){.dsh-upd[data-theme=\"archive\"] *{transition:none !important;animation:none !important}}"
|
|
5428
5429
|
].join("\n");
|
|
5429
5430
|
//#endregion
|
|
5430
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
5431
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/panel/failure-latch.js
|
|
5431
5432
|
function formatLatchTime(atMs, lang) {
|
|
5432
5433
|
if (typeof atMs !== "number" || !Number.isFinite(atMs) || atMs <= 0) return null;
|
|
5433
5434
|
const raw = typeof lang === "string" ? lang.trim().replace(/_/g, "-") : "";
|
|
@@ -5444,7 +5445,7 @@ ${note}${blocks.join("\n")}
|
|
|
5444
5445
|
return null;
|
|
5445
5446
|
}
|
|
5446
5447
|
//#endregion
|
|
5447
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
5448
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/panel/render.js
|
|
5448
5449
|
const UPDATE_PANEL_CSS = [
|
|
5449
5450
|
".dsh-upd{font:var(--dsh-update-panel-font-size,14px)/1.75 system-ui,\"Microsoft YaHei\",sans-serif;color:var(--dsh-update-text,#1f2937);",
|
|
5450
5451
|
"background:var(--dsh-update-bg,#ffffff);border:1px solid var(--dsh-update-border,#e5e7eb);border-radius:8px;padding:12px 14px;max-width:560px;",
|
|
@@ -6301,7 +6302,7 @@ ${body}`;
|
|
|
6301
6302
|
};
|
|
6302
6303
|
}
|
|
6303
6304
|
//#endregion
|
|
6304
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
6305
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/log/panel-client.js
|
|
6305
6306
|
const RENDER_FAIL_DEDUPE_MS = 6e4;
|
|
6306
6307
|
function createPanelClientLogShell(options) {
|
|
6307
6308
|
const option = options.clientLog;
|
|
@@ -6521,10 +6522,10 @@ ${body}`;
|
|
|
6521
6522
|
}
|
|
6522
6523
|
}
|
|
6523
6524
|
//#endregion
|
|
6524
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
6525
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/core/i18n/styles.js
|
|
6525
6526
|
const BILINGUAL_CSS = [".dsh-upd-bi{display:inline;overflow-wrap:anywhere}", ".dsh-upd-bi [lang]{overflow-wrap:anywhere}"].join("\n");
|
|
6526
6527
|
//#endregion
|
|
6527
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
6528
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/panel/entry.js
|
|
6528
6529
|
const UPDATE_ENTRY_CSS = [
|
|
6529
6530
|
".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)}",
|
|
6530
6531
|
".dsh-upd-entry-btn{font:inherit;border:1px solid var(--dsh-update-border,#d1d5db);border-radius:var(--dsh-update-entry-border-radius,6px);",
|
|
@@ -6559,7 +6560,7 @@ ${body}`;
|
|
|
6559
6560
|
".dsh-upd-entry-btn{--dsh-update-button-bg:#1f2937;--dsh-update-border:#374151}}"
|
|
6560
6561
|
].join("\n");
|
|
6561
6562
|
//#endregion
|
|
6562
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
6563
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/panel/batch/helpers.js
|
|
6563
6564
|
const BATCH_PANEL_POLL = {
|
|
6564
6565
|
defaultMs: 1500,
|
|
6565
6566
|
minMs: 250
|
|
@@ -6745,7 +6746,7 @@ ${body}`;
|
|
|
6745
6746
|
};
|
|
6746
6747
|
}
|
|
6747
6748
|
//#endregion
|
|
6748
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
6749
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/panel/batch/ledger.js
|
|
6749
6750
|
function noteRestart(counts, row) {
|
|
6750
6751
|
if (restartUnregistered(row)) counts.restartUnregistered += 1;
|
|
6751
6752
|
else counts.restart += 1;
|
|
@@ -6992,9 +6993,11 @@ ${body}`;
|
|
|
6992
6993
|
return null;
|
|
6993
6994
|
}
|
|
6994
6995
|
//#endregion
|
|
6995
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
6996
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/panel/batch/styles.js
|
|
6996
6997
|
const UPDATE_BATCH_PANEL_CSS = [
|
|
6997
6998
|
"/* 批量面板(#25):类名沿用 dsh-upd-* 前缀;默认(最小)主题,Archive 皮肤见 UPDATE_BATCH_PANEL_ARCHIVE_CSS。 */",
|
|
6999
|
+
".dsh-upd-overlay .dsh-upd.dsh-upd-batch{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}",
|
|
7000
|
+
".dsh-upd-overlay .dsh-upd.dsh-upd-batch>*{flex:none}",
|
|
6998
7001
|
".dsh-upd-batch-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}",
|
|
6999
7002
|
".dsh-upd-batch-title{font-weight:700;font-size:var(--dsh-update-panel-chapter-font-size,15px);letter-spacing:.06em}",
|
|
7000
7003
|
".dsh-upd-batch-title i{font-style:normal;color:var(--dsh-update-primary,#2563eb)}",
|
|
@@ -7102,7 +7105,7 @@ ${body}`;
|
|
|
7102
7105
|
".dsh-upd[data-theme=\"archive\"] .dsh-upd-banner>.dsh-upd-browline button:not([data-primary=\"1\"]):not([data-busy=\"1\"]){background:transparent}"
|
|
7103
7106
|
].join(String.fromCharCode(10));
|
|
7104
7107
|
//#endregion
|
|
7105
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
7108
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/panel/batch/render.js
|
|
7106
7109
|
function renderBatchPanelHTML(input) {
|
|
7107
7110
|
const rows = Array.isArray(input.rows) ? input.rows : [];
|
|
7108
7111
|
const theme = normalizePanelTheme(input.theme);
|
|
@@ -7558,7 +7561,7 @@ ${body}`;
|
|
|
7558
7561
|
};
|
|
7559
7562
|
}
|
|
7560
7563
|
//#endregion
|
|
7561
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
7564
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/panel/batch/mount.js
|
|
7562
7565
|
function singleInstallPhoneOf(row) {
|
|
7563
7566
|
const phones = isObject$2(row.phoneNames) ? row.phoneNames : null;
|
|
7564
7567
|
if (!phones) return null;
|
|
@@ -8946,7 +8949,7 @@ ${body}`;
|
|
|
8946
8949
|
};
|
|
8947
8950
|
}
|
|
8948
8951
|
//#endregion
|
|
8949
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
8952
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/panel/batch/entry-batch.js
|
|
8950
8953
|
function isObject$1(value) {
|
|
8951
8954
|
return !!value && typeof value === "object" && !Array.isArray(value);
|
|
8952
8955
|
}
|
|
@@ -9326,7 +9329,7 @@ ${body}`;
|
|
|
9326
9329
|
};
|
|
9327
9330
|
}
|
|
9328
9331
|
//#endregion
|
|
9329
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
9332
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/core/install-button/styles.js
|
|
9330
9333
|
const INSTALL_BUTTON_CSS = [
|
|
9331
9334
|
".dsh-upd-ib{display:flex;flex-direction:column;gap:8px;font:inherit}",
|
|
9332
9335
|
".dsh-upd-ib-status{font-weight:600;overflow-wrap:anywhere}",
|
|
@@ -9350,7 +9353,7 @@ ${body}`;
|
|
|
9350
9353
|
".dsh-upd-ib[data-theme=\"archive\"] .dsh-upd-ib-status{font-family:serif}"
|
|
9351
9354
|
].join("\n");
|
|
9352
9355
|
//#endregion
|
|
9353
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
9356
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/core/install-button/widgets.js
|
|
9354
9357
|
function isObject(value) {
|
|
9355
9358
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
9356
9359
|
}
|
|
@@ -9419,7 +9422,7 @@ ${body}`;
|
|
|
9419
9422
|
} catch {}
|
|
9420
9423
|
}
|
|
9421
9424
|
//#endregion
|
|
9422
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
9425
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/core/install-button/view.js
|
|
9423
9426
|
function installButtonFallbackOf(input, bannerKind) {
|
|
9424
9427
|
try {
|
|
9425
9428
|
if (bannerKind !== "failed") return null;
|
|
@@ -9550,7 +9553,7 @@ ${body}`;
|
|
|
9550
9553
|
};
|
|
9551
9554
|
}
|
|
9552
9555
|
//#endregion
|
|
9553
|
-
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.
|
|
9556
|
+
//#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.36/node_modules/dsh-plugin-update/dist/core/install-button/render.js
|
|
9554
9557
|
function renderInstallButtonHTML(view, opts) {
|
|
9555
9558
|
const l = opts.lang;
|
|
9556
9559
|
const manualSource = opts.manualSource === "carried-over" ? "carried-over" : opts.manualSource === null ? null : "frame";
|
|
@@ -13405,7 +13408,7 @@ ${body}`;
|
|
|
13405
13408
|
}, 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)))));
|
|
13406
13409
|
}
|
|
13407
13410
|
/** 版本胶囊那一行字:只在这里拼一次,屏上与用例读的是同一串。 */
|
|
13408
|
-
const MANAGER_VERSION_TEXT = "dsh-life-pack · 0.3.
|
|
13411
|
+
const MANAGER_VERSION_TEXT = "dsh-life-pack · 0.3.81";
|
|
13409
13412
|
/** 右下角那本书离面板两沿的距离:用户口径「一直处于面板右下角、不随列表滑动消失」
|
|
13410
13413
|
* ⇒ sticky 吸附(面板相对,视口多大都落在面板角上);INSET=右沿,BOTTOM=底沿。 */
|
|
13411
13414
|
const MANUAL_ENTRY_INSET = 16;
|