com-angel-authorization 1.0.33 → 1.0.34

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.
@@ -3638,11 +3638,15 @@ function UserManager({
3638
3638
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
3639
3639
  "input",
3640
3640
  {
3641
- style: styles4.input,
3641
+ style: {
3642
+ ...styles4.input,
3643
+ ...editing ? { background: "#f9fafb", color: "#667085", cursor: "not-allowed" } : null
3644
+ },
3642
3645
  value: form.username,
3643
3646
  onChange: (e) => setForm((prev) => ({ ...prev, username: e.target.value })),
3644
3647
  placeholder: "\u8D26\u53F7\u9700\u5305\u542B\u82F1\u6587\u5B57\u6BCD\uFF0C\u53EF\u642D\u914D\u6570\u5B57\uFF0C\u4E0D\u652F\u6301\u4E2D\u6587\u6216\u7279\u6B8A\u7B26\u53F7\u3002",
3645
- required: true
3648
+ required: true,
3649
+ readOnly: Boolean(editing)
3646
3650
  }
3647
3651
  )
3648
3652
  ] }),