aquasis-fe-components 3.2.9 → 3.2.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.
- package/README.md +1 -1
- package/dist/aquasis-fe-components.js +41 -36
- package/dist/aquasis-fe-components.umd.cjs +2 -2
- package/dist/index.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Shared React UI library for **AQUASIS** portals (GlobalAuth, WiseApps Portal, and related apps). Ships header controls, profile management, helpdesk, release notes, themes, and i18n.
|
|
4
4
|
|
|
5
|
-
**Current version:** `3.2.
|
|
5
|
+
**Current version:** `3.2.11`
|
|
6
6
|
|
|
7
7
|
## Requirements
|
|
8
8
|
|
|
@@ -53150,29 +53150,32 @@ var A7 = /* @__PURE__ */ function(e) {
|
|
|
53150
53150
|
}, R7 = "PROFILE.MORE_ACTIONS_ARIA";
|
|
53151
53151
|
function z7({ items: e, isDarkTheme: t }) {
|
|
53152
53152
|
let { t: n } = Qq(), [r, i] = y(!1);
|
|
53153
|
-
return /* @__PURE__ */ S(
|
|
53154
|
-
|
|
53155
|
-
|
|
53156
|
-
|
|
53157
|
-
|
|
53158
|
-
|
|
53159
|
-
|
|
53160
|
-
|
|
53161
|
-
|
|
53162
|
-
|
|
53163
|
-
|
|
53164
|
-
|
|
53165
|
-
|
|
53166
|
-
|
|
53167
|
-
|
|
53168
|
-
|
|
53169
|
-
|
|
53170
|
-
|
|
53171
|
-
|
|
53172
|
-
|
|
53173
|
-
|
|
53174
|
-
|
|
53175
|
-
|
|
53153
|
+
return /* @__PURE__ */ S("div", {
|
|
53154
|
+
className: "profile-chip__menu-slot",
|
|
53155
|
+
children: /* @__PURE__ */ S(jM, {
|
|
53156
|
+
trigger: ["click"],
|
|
53157
|
+
placement: "bottomRight",
|
|
53158
|
+
open: r,
|
|
53159
|
+
onOpenChange: i,
|
|
53160
|
+
menu: _(() => ({
|
|
53161
|
+
items: e,
|
|
53162
|
+
className: "profile-chip__ant-menu",
|
|
53163
|
+
onClick: () => i(!1)
|
|
53164
|
+
}), [e]),
|
|
53165
|
+
popupRender: (e) => /* @__PURE__ */ S("div", {
|
|
53166
|
+
className: (0, jX.default)("profile-chip__panel", t && "profile-chip__panel--dark"),
|
|
53167
|
+
children: e
|
|
53168
|
+
}),
|
|
53169
|
+
children: /* @__PURE__ */ S("button", {
|
|
53170
|
+
type: "button",
|
|
53171
|
+
className: "profile-chip__menu-btn",
|
|
53172
|
+
"aria-haspopup": "menu",
|
|
53173
|
+
"aria-expanded": r,
|
|
53174
|
+
"aria-label": n(R7),
|
|
53175
|
+
children: /* @__PURE__ */ S(eX, {
|
|
53176
|
+
className: "profile-chip__menu-icon",
|
|
53177
|
+
"aria-hidden": !0
|
|
53178
|
+
})
|
|
53176
53179
|
})
|
|
53177
53180
|
})
|
|
53178
53181
|
});
|
|
@@ -53298,23 +53301,25 @@ function U7({ gauApiUrl: e, appId: t, onLogout: n, renderUserModal: r, menuItems
|
|
|
53298
53301
|
className: "profile-chip__name",
|
|
53299
53302
|
children: D
|
|
53300
53303
|
}),
|
|
53301
|
-
/* @__PURE__ */ C("
|
|
53302
|
-
className: "profile-
|
|
53303
|
-
|
|
53304
|
-
|
|
53305
|
-
|
|
53304
|
+
/* @__PURE__ */ C("div", {
|
|
53305
|
+
className: "profile-chip__identity-row",
|
|
53306
|
+
children: [/* @__PURE__ */ C("p", {
|
|
53307
|
+
className: "profile-chip__username",
|
|
53308
|
+
title: h.username,
|
|
53309
|
+
translate: "no",
|
|
53310
|
+
children: ["@", h.username]
|
|
53311
|
+
}), T && E !== "—" ? /* @__PURE__ */ S(VH, {
|
|
53312
|
+
variant: "filled",
|
|
53313
|
+
color: "cyan",
|
|
53314
|
+
className: "profile-chip__role",
|
|
53315
|
+
title: E,
|
|
53316
|
+
children: E
|
|
53317
|
+
}) : null]
|
|
53306
53318
|
}),
|
|
53307
53319
|
/* @__PURE__ */ S("p", {
|
|
53308
53320
|
className: "profile-chip__email",
|
|
53309
53321
|
children: h.email?.trim() || "—"
|
|
53310
|
-
})
|
|
53311
|
-
T && E !== "—" ? /* @__PURE__ */ S(VH, {
|
|
53312
|
-
variant: "filled",
|
|
53313
|
-
color: "cyan",
|
|
53314
|
-
className: "profile-chip__role",
|
|
53315
|
-
title: E,
|
|
53316
|
-
children: E
|
|
53317
|
-
}) : null
|
|
53322
|
+
})
|
|
53318
53323
|
]
|
|
53319
53324
|
})]
|
|
53320
53325
|
}),
|