@lmzhen/dsh-evolution-settings-ui 0.30.6 → 0.30.7

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/lib/client.js CHANGED
@@ -1322,6 +1322,8 @@ window.__ModuleLoader__.load({
1322
1322
  cardApproval: "写入审批",
1323
1323
  cardCommands: "维护扫描",
1324
1324
  cardMerge: "技能自动合并",
1325
+ approvalCardHint: "写入审批=使用中生成/修改;合并审批=两轮工作流。",
1326
+ mergeCardHint: "写入审批=使用中生成/修改;合并审批=两轮工作流。",
1325
1327
  approvalTitle: "待批写入",
1326
1328
  approvalLoading: "正在读取待批项…",
1327
1329
  approvalEmpty: "没有待批的写入",
@@ -1406,6 +1408,8 @@ window.__ModuleLoader__.load({
1406
1408
  cardApproval: "Write approval",
1407
1409
  cardCommands: "Maintenance scans",
1408
1410
  cardMerge: "Skill auto-merge",
1411
+ approvalCardHint: "Write approval = generate/modify while in use; merge approval = the two-round workflow.",
1412
+ mergeCardHint: "Write approval = generate/modify while in use; merge approval = the two-round workflow.",
1409
1413
  approvalTitle: "Writes awaiting approval",
1410
1414
  approvalLoading: "reading the pending window…",
1411
1415
  approvalEmpty: "nothing is waiting for a decision",
@@ -1727,6 +1731,7 @@ window.__ModuleLoader__.load({
1727
1731
  const locked = disabled || busy || clearing !== null;
1728
1732
  const titleKey = NAMESPACE_TITLES[namespace];
1729
1733
  const title = titleKey === void 0 ? namespace : t(titleKey);
1734
+ const hintKey = namespace === "evolution-merge" ? "mergeCardHint" : namespace === "evolution-approval" ? "approvalCardHint" : void 0;
1730
1735
  const keyOf = (field) => fieldKeyOf(namespace, field);
1731
1736
  const changed = fields.filter((field) => Object.hasOwn(user, keyOf(field))).length;
1732
1737
  const textOf = (field) => draft[field.id] ?? format(value[keyOf(field)]);
@@ -1795,7 +1800,7 @@ window.__ModuleLoader__.load({
1795
1800
  onClick: () => {
1796
1801
  setOpen(!open);
1797
1802
  }
1798
- }, (0, react.createElement)("span", { className: "evolution-param-card-title" }, title), changed === 0 ? null : (0, react.createElement)("span", { className: "evolution-param-count" }, t("changed", { n: changed })), (0, react.createElement)("span", { className: "evolution-param-dest" }, t("writeTargetHost")), (0, react.createElement)("span", { className: "evolution-param-chevron" }, open ? "▲" : "▼")), open ? (0, react.createElement)("div", { className: "evolution-param-body" }, disabled ? (0, react.createElement)("p", {
1803
+ }, (0, react.createElement)("span", { className: "evolution-param-card-title" }, title), changed === 0 ? null : (0, react.createElement)("span", { className: "evolution-param-count" }, t("changed", { n: changed })), (0, react.createElement)("span", { className: "evolution-param-dest" }, t("writeTargetHost")), (0, react.createElement)("span", { className: "evolution-param-chevron" }, open ? "▲" : "▼")), open ? (0, react.createElement)("div", { className: "evolution-param-body" }, hintKey === void 0 ? null : (0, react.createElement)("p", { className: "evolution-param-note" }, t(hintKey)), disabled ? (0, react.createElement)("p", {
1799
1804
  className: "evolution-param-note",
1800
1805
  role: "status"
1801
1806
  }, t("readonly")) : null, fields.length === 0 ? (0, react.createElement)("p", {
@@ -2124,7 +2129,7 @@ window.__ModuleLoader__.load({
2124
2129
  * @returns the section element.
2125
2130
  */
2126
2131
  function SettingsSection(face) {
2127
- return (0, react.createElement)("div", { className: "evolution-params" }, (0, react.createElement)("h2", { className: "evolution-params-title" }, face.t("title")), (0, react.createElement)("p", { className: "evolution-params-subtitle" }, face.t("subtitle")), (0, react.createElement)("p", { className: "evolution-params-about" }, "0.30.6 · Web settings cards for the evolution family's parameter namespaces"), (0, react.createElement)("div", {
2132
+ return (0, react.createElement)("div", { className: "evolution-params" }, (0, react.createElement)("h2", { className: "evolution-params-title" }, face.t("title")), (0, react.createElement)("p", { className: "evolution-params-subtitle" }, face.t("subtitle")), (0, react.createElement)("p", { className: "evolution-params-about" }, "0.30.7 · Web settings cards for the evolution family's parameter namespaces"), (0, react.createElement)("div", {
2128
2133
  key: PENDING_CARD_KEY,
2129
2134
  className: "evolution-params-group"
2130
2135
  }, face.renderSlot(CARD_SLOT, {}, { entryKey: PENDING_CARD_KEY })), (0, react.createElement)("div", {
@@ -5,7 +5,7 @@
5
5
  * description, so the settings surface can state both without a hand-written copy.
6
6
  */
7
7
  /** The family version this surface belongs to. */
8
- export declare const FAMILY_VERSION = "0.30.6";
8
+ export declare const FAMILY_VERSION = "0.30.7";
9
9
  /** What this surface is for, in one line. */
10
10
  export declare const PACKAGE_PURPOSE = "Web settings cards for the evolution family's parameter namespaces";
11
11
  //# sourceMappingURL=generated-about.d.ts.map
@@ -46,6 +46,8 @@ export declare const zh: {
46
46
  readonly cardApproval: "写入审批";
47
47
  readonly cardCommands: "维护扫描";
48
48
  readonly cardMerge: "技能自动合并";
49
+ readonly approvalCardHint: "写入审批=使用中生成/修改;合并审批=两轮工作流。";
50
+ readonly mergeCardHint: "写入审批=使用中生成/修改;合并审批=两轮工作流。";
49
51
  readonly approvalTitle: "待批写入";
50
52
  readonly approvalLoading: "正在读取待批项…";
51
53
  readonly approvalEmpty: "没有待批的写入";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-settings-ui",
3
3
  "description": "Web settings cards for the evolution family's parameter namespaces (community build)",
4
- "version": "0.30.6",
4
+ "version": "0.30.7",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },