@ws-ui/roles-editor 1.13.0-dev.4 → 1.13.0-dev.5
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/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +29 -17
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -15185,7 +15185,7 @@ function gZ({
|
|
|
15185
15185
|
/* @__PURE__ */ ue(
|
|
15186
15186
|
np,
|
|
15187
15187
|
{
|
|
15188
|
-
|
|
15188
|
+
activeTab: t,
|
|
15189
15189
|
onTabChange: (h) => s(h),
|
|
15190
15190
|
children: [
|
|
15191
15191
|
/* @__PURE__ */ I(
|
|
@@ -38003,14 +38003,20 @@ const W7 = (e) => {
|
|
|
38003
38003
|
/* @__PURE__ */ I(Mi, { className: "mr-2 mt-0.5 h-4 w-4 shrink-0" }),
|
|
38004
38004
|
/* @__PURE__ */ ue("p", { className: "flex flex-col gap-y-2", children: [
|
|
38005
38005
|
/* @__PURE__ */ I("span", { className: "mr-1", children: "Permission inherited from:" }),
|
|
38006
|
-
/* @__PURE__ */ I("ul", { children: c.from.map((u) =>
|
|
38007
|
-
|
|
38008
|
-
|
|
38009
|
-
|
|
38010
|
-
|
|
38011
|
-
|
|
38012
|
-
|
|
38013
|
-
|
|
38006
|
+
/* @__PURE__ */ I("ul", { children: c.from.map((u) => {
|
|
38007
|
+
var h;
|
|
38008
|
+
return /* @__PURE__ */ I(
|
|
38009
|
+
"li",
|
|
38010
|
+
{
|
|
38011
|
+
className: "cursor-pointer list-disc font-bold hover:underline",
|
|
38012
|
+
onClick: () => {
|
|
38013
|
+
var p;
|
|
38014
|
+
return n((p = o[u]) == null ? void 0 : p.id);
|
|
38015
|
+
},
|
|
38016
|
+
children: (h = o[u]) == null ? void 0 : h.privilege
|
|
38017
|
+
}
|
|
38018
|
+
);
|
|
38019
|
+
}) })
|
|
38014
38020
|
] })
|
|
38015
38021
|
] }) : null,
|
|
38016
38022
|
c.info && /* @__PURE__ */ ue("div", { className: "flex items-start", children: [
|
|
@@ -38031,14 +38037,20 @@ const W7 = (e) => {
|
|
|
38031
38037
|
/* @__PURE__ */ I($1, { className: "mr-2 mt-0.5 h-4 w-4 shrink-0" }),
|
|
38032
38038
|
/* @__PURE__ */ ue("p", { children: [
|
|
38033
38039
|
/* @__PURE__ */ I("span", { className: "mr-1", children: "Function is promoted with: " }),
|
|
38034
|
-
i == null ? void 0 : i.map((u) =>
|
|
38035
|
-
|
|
38036
|
-
|
|
38037
|
-
|
|
38038
|
-
|
|
38039
|
-
|
|
38040
|
-
|
|
38041
|
-
|
|
38040
|
+
i == null ? void 0 : i.map((u) => {
|
|
38041
|
+
var h;
|
|
38042
|
+
return /* @__PURE__ */ I(
|
|
38043
|
+
"li",
|
|
38044
|
+
{
|
|
38045
|
+
className: "cursor-pointer list-disc font-bold hover:underline",
|
|
38046
|
+
onClick: () => {
|
|
38047
|
+
var p;
|
|
38048
|
+
return n((p = o[u]) == null ? void 0 : p.id);
|
|
38049
|
+
},
|
|
38050
|
+
children: (h = o[u]) == null ? void 0 : h.privilege
|
|
38051
|
+
}
|
|
38052
|
+
);
|
|
38053
|
+
})
|
|
38042
38054
|
] })
|
|
38043
38055
|
] }) }),
|
|
38044
38056
|
children: /* @__PURE__ */ I(KH, { className: "h-3 w-3 " })
|