dsh-life-pack 0.3.30 → 0.3.31

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
@@ -1768,9 +1768,11 @@ window.__ModuleLoader__.load({
1768
1768
  /** 共用标题 + 印章书签 · 纯组件(#996,不认任何一家)。
1769
1769
  *
1770
1770
  * 来源:原型 #995 变体 A(行尾悬签,人裁已定形)——标题左、签贴同行行尾向右探出。
1771
- * 用它的有两家(共用件的第二个用法从这里长出来):`config-panel-view.ts` 的 `PanelBody`
1771
+ * 用法分两档(#1069 收窄后):`TitleBlock` 两家——`config-panel-view.ts` 的 `PanelBody`
1772
1772
  * (`product`=各家产品名/`purpose`=`配置`)与 `health-view.ts` 的 `HealthTable`
1773
- * (`product`=各家产品名/`purpose`=`体检`)。别处要同形标题才用它,用不出来就留在那两家。
1773
+ * (`product`=各家产品名/`purpose`=`体检`);`Seal` 只跟 `PanelBody` 走——**签只印在配置头,
1774
+ * 体检头不带签**(负责人 2026-10-03 定;签的第二个用法是 `HealthTable`,本票已摘掉,签回到单一用法)。
1775
+ * 别处要同形标题才用 `TitleBlock`,用不出来就留在那两家;签再要第二个用法,先问负责人。
1774
1776
  *
1775
1777
  * 形状(逐值照原型锁死,不许自己重新设计):
1776
1778
  * 标题:同行双样式、无 `·`——`product` 700/1.15em 主色 + `purpose` 400/0.85em 次色,
@@ -1778,7 +1780,7 @@ window.__ModuleLoader__.load({
1778
1780
  * 字号取原型锁(地图 Notes 写 1.08em/640 是 grill 共识早值,原型后锁 1.15em/700,以原型为准)。
1779
1781
  * 签:横向书签固定色 `#a5281b` 白字、`clip-path` 右端 V 尾切角 + 微旋 `-3°`、
1780
1782
  * `white-space:pre` 保空格、`role="note"` 纯展示不可点(无点击、无 tabindex)。
1781
- * 印文由调用方交 `sealText`(显示形一律带空格大写 HELP,空格=U+0020,997 接线)。
1783
+ * 印文由调用方交 `sealText`(显示形一律带空格大写 HELP,空格=U+0020,997 接线);只配头给。
1782
1784
  *
1783
1785
  * 纪律(#739/#941):
1784
1786
  * 零字族(无 `fontFamily`、无 `font:` 简写)、字号一律 em;颜色走 DSH 主题别名,
@@ -1833,14 +1835,6 @@ window.__ModuleLoader__.load({
1833
1835
  "aria-label": label
1834
1836
  }, react.createElement("span", { style: S$2.product }, props.product), react.createElement("span", { style: S$2.purpose }, props.purpose));
1835
1837
  }
1836
- /** 印章书签(横向固定印,纯展示)。 */
1837
- function Seal(props) {
1838
- return react.createElement("span", {
1839
- style: S$2.seal,
1840
- role: "note",
1841
- "aria-label": props.sealText
1842
- }, props.sealText);
1843
- }
1844
1838
  //#endregion
1845
1839
  //#region src/health-view.ts
1846
1840
  /** 配置体检的两个画法:面板顶部那行总览(六家一盏灯)+ 各家那张表。
@@ -2195,14 +2189,13 @@ window.__ModuleLoader__.load({
2195
2189
  function HealthTable(props) {
2196
2190
  const { report } = props;
2197
2191
  const prefixes = report ? dirPrefixesOf(report) : [];
2198
- const seal = props.sealText === void 0 || props.sealText === "" ? null : react.createElement(Seal, { sealText: props.sealText });
2199
2192
  return react.createElement("div", {
2200
2193
  style: HEALTH_STYLE.box,
2201
2194
  "data-ilife-health": "table"
2202
2195
  }, react.createElement("div", { style: HEALTH_STYLE.headRow }, react.createElement(TitleBlock, {
2203
2196
  product: props.title,
2204
2197
  purpose: "体检"
2205
- }), seal, report ? headerCounts(report) : null), props.phase === "idle" ? react.createElement("div", { style: HEALTH_STYLE.meta }, "还没体检:点上面那个「体检一次」。") : null, props.phase === "running" ? react.createElement("div", { style: HEALTH_STYLE.meta }, "正在体检…") : null, props.error !== null ? react.createElement("div", { style: HEALTH_STYLE.error }, props.error) : null, report ? react.createElement("div", null, report.dataDir !== "" ? react.createElement("div", { style: {
2198
+ }), report ? headerCounts(report) : null), props.phase === "idle" ? react.createElement("div", { style: HEALTH_STYLE.meta }, "还没体检:点上面那个「体检一次」。") : null, props.phase === "running" ? react.createElement("div", { style: HEALTH_STYLE.meta }, "正在体检…") : null, props.error !== null ? react.createElement("div", { style: HEALTH_STYLE.error }, props.error) : null, report ? react.createElement("div", null, report.dataDir !== "" ? react.createElement("div", { style: {
2206
2199
  color: INK_DIM,
2207
2200
  fontSize: 11.5,
2208
2201
  marginTop: 2
@@ -3260,7 +3253,7 @@ window.__ModuleLoader__.load({
3260
3253
  }, 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)))));
3261
3254
  }
3262
3255
  /** 版本胶囊那一行字:只在这里拼一次,屏上与用例读的是同一串。 */
3263
- const MANAGER_VERSION_TEXT = "dsh-life-pack · 0.3.30";
3256
+ const MANAGER_VERSION_TEXT = "dsh-life-pack · 0.3.31";
3264
3257
  /** 爱生活面板:总设置区 + 检查更新(七家)+ 爱生活页签条(slot 驱动)+ 技能设置页投影/缺席卡。 */
3265
3258
  function LifePackSection(props) {
3266
3259
  const tabsId = react.useId();
@@ -3404,7 +3397,6 @@ window.__ModuleLoader__.load({
3404
3397
  style: selected ? void 0 : { display: "none" }
3405
3398
  }, present.has(tab.plugin) ? react.createElement("div", { style: S.tabStack }, props.renderSlot(CONFIG_TAB_SLOT, {}, { only: tab.plugin }), react.createElement(HealthTable, {
3406
3399
  title: labelFor(tab),
3407
- sealText: labelFor(tab) + " HELP",
3408
3400
  phase: health.rows[tab.plugin]?.phase ?? "idle",
3409
3401
  report: health.rows[tab.plugin]?.report ?? null,
3410
3402
  error: health.rows[tab.plugin]?.error ?? null