dsh-life-pack 0.3.76 → 0.3.77

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 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.31/node_modules/dsh-plugin-update/dist/config.js
474
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.32/node_modules/dsh-plugin-update/dist/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.31/node_modules/dsh-plugin-update/dist/hash.js
496
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.32/node_modules/dsh-plugin-update/dist/hash.js
497
497
  function hash8(value) {
498
498
  try {
499
499
  const text = String(value ?? "");
@@ -505,7 +505,7 @@ window.__ModuleLoader__.load({
505
505
  }
506
506
  }
507
507
  //#endregion
508
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.31/node_modules/dsh-plugin-update/dist/version-judgment.js
508
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.32/node_modules/dsh-plugin-update/dist/version-judgment.js
509
509
  function updateError(code) {
510
510
  return Object.assign(new Error(code), { code });
511
511
  }
@@ -592,7 +592,7 @@ window.__ModuleLoader__.load({
592
592
  return 0;
593
593
  }
594
594
  //#endregion
595
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.31/node_modules/dsh-plugin-update/dist/codes.js
595
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.32/node_modules/dsh-plugin-update/dist/codes.js
596
596
  const BLOCKED_REASONS = [
597
597
  "unknown-profile",
598
598
  "channel-mismatch",
@@ -630,7 +630,7 @@ window.__ModuleLoader__.load({
630
630
  }
631
631
  [...CORE_ERROR_CODES];
632
632
  //#endregion
633
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.31/node_modules/dsh-plugin-update/dist/lang.js
633
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.32/node_modules/dsh-plugin-update/dist/lang.js
634
634
  function normalizeLangTag(tag) {
635
635
  if (typeof tag !== "string") return "zh";
636
636
  const s = tag.trim().toLowerCase().replace(/_/g, "-");
@@ -772,7 +772,7 @@ window.__ModuleLoader__.load({
772
772
  };
773
773
  }
774
774
  //#endregion
775
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.31/node_modules/dsh-plugin-update/dist/bilingual.js
775
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.32/node_modules/dsh-plugin-update/dist/bilingual.js
776
776
  const BILINGUAL_STRINGS = {
777
777
  "entry.label.idle": {
778
778
  en: "Check for updates",
@@ -2869,7 +2869,7 @@ window.__ModuleLoader__.load({
2869
2869
  }
2870
2870
  const BILINGUAL_CSS = [".dsh-upd-bi{display:inline;overflow-wrap:anywhere}", ".dsh-upd-bi [lang]{overflow-wrap:anywhere}"].join("\n");
2871
2871
  //#endregion
2872
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.31/node_modules/dsh-plugin-update/dist/changelog.js
2872
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.32/node_modules/dsh-plugin-update/dist/changelog.js
2873
2873
  const CHANGELOG_MAX_CHARS = 65536;
2874
2874
  const CHANGELOG_ALL_CATEGORIES = [
2875
2875
  "Added",
@@ -3988,7 +3988,7 @@ ${note}${blocks.join("\n")}
3988
3988
  }
3989
3989
  }
3990
3990
  //#endregion
3991
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.31/node_modules/dsh-plugin-update/dist/log-events.js
3991
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.32/node_modules/dsh-plugin-update/dist/log-events.js
3992
3992
  const LOG_EVENT_CALL = "host.call";
3993
3993
  const LOG_EVENT_CALL_FAIL = "host.call.fail";
3994
3994
  const LOG_EVENT_INSTALL_EXEC = "update.install.exec";
@@ -4305,7 +4305,7 @@ ${note}${blocks.join("\n")}
4305
4305
  };
4306
4306
  }
4307
4307
  //#endregion
4308
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.31/node_modules/dsh-plugin-update/dist/log/panel-client.js
4308
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.32/node_modules/dsh-plugin-update/dist/log/panel-client.js
4309
4309
  const RENDER_FAIL_DEDUPE_MS = 6e4;
4310
4310
  function createPanelClientLogShell(options) {
4311
4311
  const option = options.clientLog;
@@ -4446,7 +4446,7 @@ ${note}${blocks.join("\n")}
4446
4446
  };
4447
4447
  }
4448
4448
  //#endregion
4449
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.31/node_modules/dsh-plugin-update/dist/commands.js
4449
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.32/node_modules/dsh-plugin-update/dist/commands.js
4450
4450
  const MANUAL_SUPPRESSING_REASONS = [
4451
4451
  "source-install",
4452
4452
  "unknown-profile",
@@ -4456,7 +4456,7 @@ ${note}${blocks.join("\n")}
4456
4456
  return reason !== null && reason !== void 0 && MANUAL_SUPPRESSING_REASONS.includes(reason);
4457
4457
  }
4458
4458
  //#endregion
4459
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.31/node_modules/dsh-plugin-update/dist/manual-absent.js
4459
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.32/node_modules/dsh-plugin-update/dist/manual-absent.js
4460
4460
  const REASON_KEYS = {
4461
4461
  "unknown-profile": "panel.manual.absent.unknown-profile",
4462
4462
  "source-install": "panel.manual.absent.source-install",
@@ -4492,7 +4492,7 @@ ${note}${blocks.join("\n")}
4492
4492
  return manualAbsentReasonTextOf(null, lang) + joiner + manualAbsentReasonTextOf(reason, lang);
4493
4493
  }
4494
4494
  //#endregion
4495
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.31/node_modules/dsh-plugin-update/dist/last-resort.js
4495
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.32/node_modules/dsh-plugin-update/dist/last-resort.js
4496
4496
  const STAGES = [
4497
4497
  "install",
4498
4498
  "check",
@@ -4592,7 +4592,7 @@ ${note}${blocks.join("\n")}
4592
4592
  return verdict("unknown");
4593
4593
  }
4594
4594
  //#endregion
4595
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.31/node_modules/dsh-plugin-update/dist/install-cause.js
4595
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.32/node_modules/dsh-plugin-update/dist/install-cause.js
4596
4596
  const CAUSE_KINDS = ["minimum-release-age"];
4597
4597
  const CAUSE_SIGNATURES = [{
4598
4598
  kind: "minimum-release-age",
@@ -4712,7 +4712,7 @@ ${note}${blocks.join("\n")}
4712
4712
  }
4713
4713
  }
4714
4714
  //#endregion
4715
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.31/node_modules/dsh-plugin-update/dist/redaction.js
4715
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.32/node_modules/dsh-plugin-update/dist/redaction.js
4716
4716
  const COPY_BUDGET_CHARS = 1500;
4717
4717
  const REDACTED_PATH = "<路径>";
4718
4718
  const REDACTED_SECRET = "<脱敏>";
@@ -4792,7 +4792,7 @@ ${note}${blocks.join("\n")}
4792
4792
  return userinfo.masked ? truncateWithMaskNote(scrubbed, COPY_BUDGET_CHARS) : truncateForCopy(scrubbed);
4793
4793
  }
4794
4794
  //#endregion
4795
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.31/node_modules/dsh-plugin-update/dist/panel-copy.js
4795
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.32/node_modules/dsh-plugin-update/dist/panel-copy.js
4796
4796
  const BLOCKED_KEYS = {
4797
4797
  "unknown-profile": {
4798
4798
  title: "panel.blocked.unknown-profile.title",
@@ -5210,7 +5210,7 @@ ${note}${blocks.join("\n")}
5210
5210
  return blockLines.join("\n");
5211
5211
  }
5212
5212
  //#endregion
5213
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.31/node_modules/dsh-plugin-update/dist/panel.js
5213
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.32/node_modules/dsh-plugin-update/dist/panel.js
5214
5214
  function normalizePanelTheme(value) {
5215
5215
  return value === "archive" ? "archive" : "default";
5216
5216
  }
@@ -6429,7 +6429,7 @@ ${UPDATE_PANEL_ARCHIVE_CSS}` : UPDATE_PANEL_CSS}</style>
6429
6429
  ${body}`;
6430
6430
  }
6431
6431
  //#endregion
6432
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.31/node_modules/dsh-plugin-update/dist/entry.js
6432
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.32/node_modules/dsh-plugin-update/dist/entry.js
6433
6433
  const UPDATE_ENTRY_CSS = [
6434
6434
  ".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)}",
6435
6435
  ".dsh-upd-entry-btn{font:inherit;border:1px solid var(--dsh-update-border,#d1d5db);border-radius:var(--dsh-update-entry-border-radius,6px);",
@@ -6543,7 +6543,7 @@ ${body}`;
6543
6543
  }
6544
6544
  }
6545
6545
  //#endregion
6546
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.31/node_modules/dsh-plugin-update/dist/panel-batch.js
6546
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.32/node_modules/dsh-plugin-update/dist/panel-batch.js
6547
6547
  const BATCH_PANEL_POLL = {
6548
6548
  defaultMs: 1500,
6549
6549
  minMs: 250
@@ -8922,7 +8922,7 @@ ${body}`;
8922
8922
  };
8923
8923
  }
8924
8924
  //#endregion
8925
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.31/node_modules/dsh-plugin-update/dist/entry-batch.js
8925
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.32/node_modules/dsh-plugin-update/dist/entry-batch.js
8926
8926
  function isObject$1(value) {
8927
8927
  return !!value && typeof value === "object" && !Array.isArray(value);
8928
8928
  }
@@ -13373,7 +13373,7 @@ ${body}`;
13373
13373
  }, 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)))));
13374
13374
  }
13375
13375
  /** 版本胶囊那一行字:只在这里拼一次,屏上与用例读的是同一串。 */
13376
- const MANAGER_VERSION_TEXT = "dsh-life-pack · 0.3.76";
13376
+ const MANAGER_VERSION_TEXT = "dsh-life-pack · 0.3.77";
13377
13377
  /** 右下角那本书离面板两沿的距离:用户口径「一直处于面板右下角、不随列表滑动消失」
13378
13378
  * ⇒ sticky 吸附(面板相对,视口多大都落在面板角上);INSET=右沿,BOTTOM=底沿。 */
13379
13379
  const MANUAL_ENTRY_INSET = 16;