com-angel-authorization 1.0.25 → 1.0.26

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/vue/index.js CHANGED
@@ -1667,6 +1667,11 @@ var s2 = {
1667
1667
  boxSizing: "border-box",
1668
1668
  width: "100%"
1669
1669
  },
1670
+ inputReadonly: {
1671
+ backgroundColor: "#f9fafb",
1672
+ color: "#667085",
1673
+ cursor: "not-allowed"
1674
+ },
1670
1675
  control: {
1671
1676
  width: "16px",
1672
1677
  height: "16px",
@@ -2143,14 +2148,10 @@ var MenuManager = defineComponent3({
2143
2148
  h2(
2144
2149
  "select",
2145
2150
  {
2146
- style: s2.input,
2151
+ style: { ...s2.input, ...s2.inputReadonly },
2147
2152
  value: form.parentId ?? ROOT_PARENT_ID,
2148
- onChange: (e) => {
2149
- const value = e.target.value;
2150
- const parentId = value ? value : null;
2151
- form.parentId = parentId;
2152
- form.depth = resolveMenuDepth(parentId, allKnownMenus.value);
2153
- }
2153
+ disabled: true,
2154
+ "aria-readonly": "true"
2154
2155
  },
2155
2156
  [
2156
2157
  h2("option", { value: ROOT_PARENT_ID }, "\u65E0"),