dsh-life-pack 0.3.73 → 0.3.74

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.27/node_modules/dsh-plugin-update/dist/config.js
474
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.30/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.27/node_modules/dsh-plugin-update/dist/hash.js
496
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.30/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.27/node_modules/dsh-plugin-update/dist/version-judgment.js
508
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.30/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.27/node_modules/dsh-plugin-update/dist/codes.js
595
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.30/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.27/node_modules/dsh-plugin-update/dist/lang.js
633
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.30/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.27/node_modules/dsh-plugin-update/dist/bilingual.js
775
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.30/node_modules/dsh-plugin-update/dist/bilingual.js
776
776
  const BILINGUAL_STRINGS = {
777
777
  "entry.label.idle": {
778
778
  en: "Check for updates",
@@ -2859,7 +2859,7 @@ window.__ModuleLoader__.load({
2859
2859
  }
2860
2860
  const BILINGUAL_CSS = [".dsh-upd-bi{display:inline;overflow-wrap:anywhere}", ".dsh-upd-bi [lang]{overflow-wrap:anywhere}"].join("\n");
2861
2861
  //#endregion
2862
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.27/node_modules/dsh-plugin-update/dist/changelog.js
2862
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.30/node_modules/dsh-plugin-update/dist/changelog.js
2863
2863
  const CHANGELOG_MAX_CHARS = 65536;
2864
2864
  const CHANGELOG_ALL_CATEGORIES = [
2865
2865
  "Added",
@@ -3978,7 +3978,7 @@ ${note}${blocks.join("\n")}
3978
3978
  }
3979
3979
  }
3980
3980
  //#endregion
3981
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.27/node_modules/dsh-plugin-update/dist/log-events.js
3981
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.30/node_modules/dsh-plugin-update/dist/log-events.js
3982
3982
  const LOG_EVENT_CALL = "host.call";
3983
3983
  const LOG_EVENT_CALL_FAIL = "host.call.fail";
3984
3984
  const LOG_EVENT_INSTALL_EXEC = "update.install.exec";
@@ -4295,7 +4295,7 @@ ${note}${blocks.join("\n")}
4295
4295
  };
4296
4296
  }
4297
4297
  //#endregion
4298
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.27/node_modules/dsh-plugin-update/dist/log/panel-client.js
4298
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.30/node_modules/dsh-plugin-update/dist/log/panel-client.js
4299
4299
  const RENDER_FAIL_DEDUPE_MS = 6e4;
4300
4300
  function createPanelClientLogShell(options) {
4301
4301
  const option = options.clientLog;
@@ -4436,7 +4436,7 @@ ${note}${blocks.join("\n")}
4436
4436
  };
4437
4437
  }
4438
4438
  //#endregion
4439
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.27/node_modules/dsh-plugin-update/dist/commands.js
4439
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.30/node_modules/dsh-plugin-update/dist/commands.js
4440
4440
  const MANUAL_SUPPRESSING_REASONS = [
4441
4441
  "source-install",
4442
4442
  "unknown-profile",
@@ -4446,7 +4446,7 @@ ${note}${blocks.join("\n")}
4446
4446
  return reason !== null && reason !== void 0 && MANUAL_SUPPRESSING_REASONS.includes(reason);
4447
4447
  }
4448
4448
  //#endregion
4449
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.27/node_modules/dsh-plugin-update/dist/manual-absent.js
4449
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.30/node_modules/dsh-plugin-update/dist/manual-absent.js
4450
4450
  const REASON_KEYS = {
4451
4451
  "unknown-profile": "panel.manual.absent.unknown-profile",
4452
4452
  "source-install": "panel.manual.absent.source-install",
@@ -4482,7 +4482,7 @@ ${note}${blocks.join("\n")}
4482
4482
  return manualAbsentReasonTextOf(null, lang) + joiner + manualAbsentReasonTextOf(reason, lang);
4483
4483
  }
4484
4484
  //#endregion
4485
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.27/node_modules/dsh-plugin-update/dist/last-resort.js
4485
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.30/node_modules/dsh-plugin-update/dist/last-resort.js
4486
4486
  const STAGES = [
4487
4487
  "install",
4488
4488
  "check",
@@ -4582,7 +4582,7 @@ ${note}${blocks.join("\n")}
4582
4582
  return verdict("unknown");
4583
4583
  }
4584
4584
  //#endregion
4585
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.27/node_modules/dsh-plugin-update/dist/install-cause.js
4585
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.30/node_modules/dsh-plugin-update/dist/install-cause.js
4586
4586
  const CAUSE_KINDS = ["minimum-release-age"];
4587
4587
  const CAUSE_SIGNATURES = [{
4588
4588
  kind: "minimum-release-age",
@@ -4702,7 +4702,7 @@ ${note}${blocks.join("\n")}
4702
4702
  }
4703
4703
  }
4704
4704
  //#endregion
4705
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.27/node_modules/dsh-plugin-update/dist/redaction.js
4705
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.30/node_modules/dsh-plugin-update/dist/redaction.js
4706
4706
  const COPY_BUDGET_CHARS = 1500;
4707
4707
  const REDACTED_PATH = "<路径>";
4708
4708
  const REDACTED_SECRET = "<脱敏>";
@@ -4782,7 +4782,7 @@ ${note}${blocks.join("\n")}
4782
4782
  return userinfo.masked ? truncateWithMaskNote(scrubbed, COPY_BUDGET_CHARS) : truncateForCopy(scrubbed);
4783
4783
  }
4784
4784
  //#endregion
4785
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.27/node_modules/dsh-plugin-update/dist/panel-copy.js
4785
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.30/node_modules/dsh-plugin-update/dist/panel-copy.js
4786
4786
  const BLOCKED_KEYS = {
4787
4787
  "unknown-profile": {
4788
4788
  title: "panel.blocked.unknown-profile.title",
@@ -5200,7 +5200,7 @@ ${note}${blocks.join("\n")}
5200
5200
  return blockLines.join("\n");
5201
5201
  }
5202
5202
  //#endregion
5203
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.27/node_modules/dsh-plugin-update/dist/panel.js
5203
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.30/node_modules/dsh-plugin-update/dist/panel.js
5204
5204
  function normalizePanelTheme(value) {
5205
5205
  return value === "archive" ? "archive" : "default";
5206
5206
  }
@@ -6419,7 +6419,7 @@ ${UPDATE_PANEL_ARCHIVE_CSS}` : UPDATE_PANEL_CSS}</style>
6419
6419
  ${body}`;
6420
6420
  }
6421
6421
  //#endregion
6422
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.27/node_modules/dsh-plugin-update/dist/entry.js
6422
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.30/node_modules/dsh-plugin-update/dist/entry.js
6423
6423
  const UPDATE_ENTRY_CSS = [
6424
6424
  ".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)}",
6425
6425
  ".dsh-upd-entry-btn{font:inherit;border:1px solid var(--dsh-update-border,#d1d5db);border-radius:var(--dsh-update-entry-border-radius,6px);",
@@ -6533,7 +6533,7 @@ ${body}`;
6533
6533
  }
6534
6534
  }
6535
6535
  //#endregion
6536
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.27/node_modules/dsh-plugin-update/dist/panel-batch.js
6536
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.30/node_modules/dsh-plugin-update/dist/panel-batch.js
6537
6537
  const BATCH_PANEL_POLL = {
6538
6538
  defaultMs: 1500,
6539
6539
  minMs: 250
@@ -7282,6 +7282,7 @@ ${body}`;
7282
7282
  "@media (prefers-color-scheme: dark){.dsh-upd-batch-title i{color:var(--dsh-update-focus,#93c5fd)}}",
7283
7283
  ".dsh-upd .dsh-upd-busy-btn:disabled{opacity:1;cursor:progress;font-weight:700;border-color:var(--dsh-update-busy-border,#2563eb);color:var(--dsh-update-busy-border,#2563eb);background:var(--dsh-update-busy-bg,#eff6ff)}",
7284
7284
  ".dsh-upd .dsh-upd-busy-btn:disabled::before{content:\"\";display:inline-block;width:9px;height:9px;margin-right:6px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;vertical-align:-1px;animation:dsh-upd-busy-spin .8s linear infinite}",
7285
+ ".dsh-upd .dsh-upd-busy-btn[aria-busy=\"true\"]::after{content:none;display:none}",
7285
7286
  ".dsh-upd .dsh-upd-busy-btn[data-busy=\"1\"]{animation:dsh-upd-busy-pulse 1.4s ease-in-out infinite}",
7286
7287
  "@keyframes dsh-upd-busy-spin{to{transform:rotate(360deg)}}",
7287
7288
  "@keyframes dsh-upd-busy-pulse{0%,100%{box-shadow:0 0 0 0 rgba(37,99,235,.35)}50%{box-shadow:0 0 0 4px rgba(37,99,235,0)}}",
@@ -8896,7 +8897,7 @@ ${body}`;
8896
8897
  };
8897
8898
  }
8898
8899
  //#endregion
8899
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.27/node_modules/dsh-plugin-update/dist/entry-batch.js
8900
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.30/node_modules/dsh-plugin-update/dist/entry-batch.js
8900
8901
  function isObject$1(value) {
8901
8902
  return !!value && typeof value === "object" && !Array.isArray(value);
8902
8903
  }
@@ -13347,7 +13348,7 @@ ${body}`;
13347
13348
  }, 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)))));
13348
13349
  }
13349
13350
  /** 版本胶囊那一行字:只在这里拼一次,屏上与用例读的是同一串。 */
13350
- const MANAGER_VERSION_TEXT = "dsh-life-pack · 0.3.73";
13351
+ const MANAGER_VERSION_TEXT = "dsh-life-pack · 0.3.74";
13351
13352
  /** 右下角那本书离面板两沿的距离:用户口径「一直处于面板右下角、不随列表滑动消失」
13352
13353
  * ⇒ sticky 吸附(面板相对,视口多大都落在面板角上);INSET=右沿,BOTTOM=底沿。 */
13353
13354
  const MANUAL_ENTRY_INSET = 16;