@elinpf/dsh-ops-access-ui 0.1.4 → 0.1.6

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.
Files changed (2) hide show
  1. package/lib/client.js +3 -2
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -972,8 +972,9 @@ function AdminFormView(props) {
972
972
  className: "ops-access-admin-input ops-access-admin-textarea",
973
973
  rows: 8,
974
974
  // Saved credential content is never read back: the textarea
975
- // stays empty and says so; pasting new content overwrites.
976
- placeholder: isEditing ? fileSet[f.name] ? "\u5DF2\u4FDD\u5B58 \xB7 \u5185\u5BB9\u4E0D\u53EF\u56DE\u8BFB \u2014 \u7C98\u8D34\u65B0\u5185\u5BB9\u4EE5\u8986\u76D6" : "\u672A\u8BBE\u7F6E \u2014 \u7C98\u8D34\u5185\u5BB9\u4EE5\u6DFB\u52A0" : "\u7C98\u8D34\u5B8C\u6574\u5185\u5BB9\u2026",
975
+ // stays empty and says so; pasting new content overwrites. A
976
+ // single-line path also works the server reads the file.
977
+ placeholder: isEditing ? fileSet[f.name] ? "\u5DF2\u4FDD\u5B58 \xB7 \u5185\u5BB9\u4E0D\u53EF\u56DE\u8BFB \u2014 \u7C98\u8D34\u65B0\u5185\u5BB9\u6216\u6587\u4EF6\u8DEF\u5F84\u4EE5\u8986\u76D6" : "\u672A\u8BBE\u7F6E \u2014 \u7C98\u8D34\u5185\u5BB9\u6216\u6587\u4EF6\u8DEF\u5F84\u4EE5\u6DFB\u52A0" : "\u7C98\u8D34\u5B8C\u6574\u5185\u5BB9\u6216\u6587\u4EF6\u8DEF\u5F84\u2026",
977
978
  value: values[f.name] ?? "",
978
979
  onChange: (e) => handleTierFieldChange(tier, f.name, e.target.value)
979
980
  }) : (0, import_react.createElement)("input", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elinpf/dsh-ops-access-ui",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Browser half carrier for @-mentioning ops-access profiles: the host row exists only for client-bundle discovery; candidates come from GET /ops-access/list served by @elinpf/dsh-ops-access, and mention expansion (agent/pre-step) lives there too.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",