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/README.md +1 -1
- package/dist/react/index.cjs +8 -9
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.js +8 -9
- package/dist/react/index.js.map +1 -1
- package/dist/vue/index.cjs +8 -7
- package/dist/vue/index.cjs.map +1 -1
- package/dist/vue/index.js +8 -7
- package/dist/vue/index.js.map +1 -1
- package/package.json +1 -1
package/dist/vue/index.cjs
CHANGED
|
@@ -1741,6 +1741,11 @@ var s2 = {
|
|
|
1741
1741
|
boxSizing: "border-box",
|
|
1742
1742
|
width: "100%"
|
|
1743
1743
|
},
|
|
1744
|
+
inputReadonly: {
|
|
1745
|
+
backgroundColor: "#f9fafb",
|
|
1746
|
+
color: "#667085",
|
|
1747
|
+
cursor: "not-allowed"
|
|
1748
|
+
},
|
|
1744
1749
|
control: {
|
|
1745
1750
|
width: "16px",
|
|
1746
1751
|
height: "16px",
|
|
@@ -2217,14 +2222,10 @@ var MenuManager = (0, import_vue4.defineComponent)({
|
|
|
2217
2222
|
(0, import_vue4.h)(
|
|
2218
2223
|
"select",
|
|
2219
2224
|
{
|
|
2220
|
-
style: s2.input,
|
|
2225
|
+
style: { ...s2.input, ...s2.inputReadonly },
|
|
2221
2226
|
value: form.parentId ?? ROOT_PARENT_ID,
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
const parentId = value ? value : null;
|
|
2225
|
-
form.parentId = parentId;
|
|
2226
|
-
form.depth = resolveMenuDepth(parentId, allKnownMenus.value);
|
|
2227
|
-
}
|
|
2227
|
+
disabled: true,
|
|
2228
|
+
"aria-readonly": "true"
|
|
2228
2229
|
},
|
|
2229
2230
|
[
|
|
2230
2231
|
(0, import_vue4.h)("option", { value: ROOT_PARENT_ID }, "\u65E0"),
|