com-angel-authorization 1.0.10 → 1.0.11

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.
@@ -1563,10 +1563,6 @@ function MenuManager({
1563
1563
  }
1564
1564
  )
1565
1565
  ] }),
1566
- /* @__PURE__ */ jsxs2("div", { style: styles2.field, children: [
1567
- /* @__PURE__ */ jsx3("span", { style: styles2.label, children: "\u83DC\u5355\u5C42\u7EA7\uFF08depth\uFF09" }),
1568
- /* @__PURE__ */ jsx3("input", { style: styles2.input, value: form.depth, readOnly: true })
1569
- ] }),
1570
1566
  /* @__PURE__ */ jsxs2("fieldset", { style: styles2.fieldset, children: [
1571
1567
  /* @__PURE__ */ jsx3("legend", { style: styles2.label, children: "\u83DC\u5355\u7C7B\u578B" }),
1572
1568
  /* @__PURE__ */ jsx3("div", { style: styles2.radioGroup, children: MENU_TYPE_OPTIONS.map((opt) => /* @__PURE__ */ jsxs2("label", { style: styles2.radioItem, children: [
@@ -1575,6 +1571,7 @@ function MenuManager({
1575
1571
  {
1576
1572
  type: "radio",
1577
1573
  name: "menu-type",
1574
+ style: styles2.control,
1578
1575
  checked: form.type === opt.value,
1579
1576
  onChange: () => setForm((prev) => ({
1580
1577
  ...prev,
@@ -1617,6 +1614,7 @@ function MenuManager({
1617
1614
  "input",
1618
1615
  {
1619
1616
  type: "checkbox",
1617
+ style: styles2.control,
1620
1618
  checked: form.permissionPointIds.includes(p.resourceId),
1621
1619
  onChange: () => togglePermission(p.resourceId)
1622
1620
  }
@@ -1635,6 +1633,7 @@ function MenuManager({
1635
1633
  {
1636
1634
  type: "radio",
1637
1635
  name: "menu-status",
1636
+ style: styles2.control,
1638
1637
  checked: form.status === opt.value,
1639
1638
  onChange: () => setForm((prev) => ({ ...prev, status: opt.value }))
1640
1639
  }
@@ -1890,7 +1889,9 @@ var styles2 = {
1890
1889
  border: "none",
1891
1890
  display: "flex",
1892
1891
  flexDirection: "column",
1893
- gap: 8
1892
+ gap: 8,
1893
+ backgroundColor: "transparent",
1894
+ color: "#101828"
1894
1895
  },
1895
1896
  label: { fontSize: 13, color: "#344054", fontWeight: 500 },
1896
1897
  input: {
@@ -1904,14 +1905,29 @@ var styles2 = {
1904
1905
  boxSizing: "border-box",
1905
1906
  width: "100%"
1906
1907
  },
1907
- radioGroup: { display: "flex", flexWrap: "wrap", gap: 16 },
1908
+ control: {
1909
+ width: 16,
1910
+ height: 16,
1911
+ margin: 0,
1912
+ flexShrink: 0,
1913
+ accentColor: "#049BAD",
1914
+ backgroundColor: "#ffffff",
1915
+ colorScheme: "light"
1916
+ },
1917
+ radioGroup: {
1918
+ display: "flex",
1919
+ flexWrap: "wrap",
1920
+ gap: 16,
1921
+ backgroundColor: "transparent"
1922
+ },
1908
1923
  radioItem: {
1909
1924
  display: "flex",
1910
1925
  alignItems: "center",
1911
1926
  gap: 6,
1912
1927
  fontSize: 14,
1913
1928
  color: "#344054",
1914
- cursor: "pointer"
1929
+ cursor: "pointer",
1930
+ backgroundColor: "transparent"
1915
1931
  },
1916
1932
  multiSelect: {
1917
1933
  maxHeight: 160,
@@ -1919,7 +1935,8 @@ var styles2 = {
1919
1935
  border: "1px solid #eaecf0",
1920
1936
  borderRadius: 8,
1921
1937
  padding: 8,
1922
- background: "#f9fafb"
1938
+ backgroundColor: "#ffffff",
1939
+ color: "#101828"
1923
1940
  },
1924
1941
  checkItem: {
1925
1942
  display: "flex",
@@ -1928,7 +1945,8 @@ var styles2 = {
1928
1945
  padding: "6px 4px",
1929
1946
  fontSize: 13,
1930
1947
  color: "#344054",
1931
- cursor: "pointer"
1948
+ cursor: "pointer",
1949
+ backgroundColor: "transparent"
1932
1950
  },
1933
1951
  hint: { fontSize: 13, color: "#98a2b3", padding: 8 },
1934
1952
  dialogFooter: {