@itilite/iui-user-management 0.4.501 → 0.4.503
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.js +12 -5
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +12 -5
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9557,7 +9557,11 @@ var UserList = function UserList(_ref2) {
|
|
|
9557
9557
|
width: "400px",
|
|
9558
9558
|
subHanderText: "",
|
|
9559
9559
|
submitBtnClass: styles$5.deactivateBtn,
|
|
9560
|
-
isDisabledSubmitBtn: isDisabledSubmitBtn
|
|
9560
|
+
isDisabledSubmitBtn: isDisabledSubmitBtn,
|
|
9561
|
+
modalClass: "deactivateSingleModal",
|
|
9562
|
+
modalBodyStyle: {
|
|
9563
|
+
overflowY: 'unset'
|
|
9564
|
+
}
|
|
9561
9565
|
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
|
|
9562
9566
|
className: clsx(styles$5.deactivateSingle, 'iui__mb-16')
|
|
9563
9567
|
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
|
|
@@ -9565,7 +9569,7 @@ var UserList = function UserList(_ref2) {
|
|
|
9565
9569
|
}, /*#__PURE__*/React__default.createElement(InfoYellowIcon, {
|
|
9566
9570
|
width: "9",
|
|
9567
9571
|
height: "9"
|
|
9568
|
-
}), /*#__PURE__*/React__default.createElement(iuistyles.IUITypography, null, /*#__PURE__*/React__default.createElement("b", null, deactivateUser), " is linked with
|
|
9572
|
+
}), /*#__PURE__*/React__default.createElement(iuistyles.IUITypography, null, /*#__PURE__*/React__default.createElement("b", null, deactivateUser), " is linked with following role. You can deactivate them only once you transfer the role to another user.")), /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
|
|
9569
9573
|
className: "iui__mt-15"
|
|
9570
9574
|
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIAsyncSelect, {
|
|
9571
9575
|
isMove: true,
|
|
@@ -9622,17 +9626,20 @@ var UserList = function UserList(_ref2) {
|
|
|
9622
9626
|
submitHandler: handleDeactivateSafeUsers,
|
|
9623
9627
|
width: "640px",
|
|
9624
9628
|
customButtonClass: clsx(styles$5.deactivateCustomButtonClass),
|
|
9625
|
-
headerText: "Deactivate users?"
|
|
9629
|
+
headerText: "Deactivate users?",
|
|
9630
|
+
modalBodyStyle: {
|
|
9631
|
+
maxHeight: 'calc(100vh - 50vh)'
|
|
9632
|
+
}
|
|
9626
9633
|
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
|
|
9627
9634
|
className: clsx(styles$5.deactivateAlert, styles$5.warningSvg)
|
|
9628
9635
|
}, /*#__PURE__*/React__default.createElement(RedWarningIcon, {
|
|
9629
9636
|
color: "#9A6700",
|
|
9630
9637
|
size: "14"
|
|
9631
|
-
}), /*#__PURE__*/React__default.createElement(iuistyles.IUITypography, null, "Some users are linked with
|
|
9638
|
+
}), /*#__PURE__*/React__default.createElement(iuistyles.IUITypography, null, "Some users are linked with approval roles. Deactivating these users will result in missing roles and approvers. Deactivate these users individually and transfer their roles to avoid missing roles.")), /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
|
|
9632
9639
|
className: "iui__my-15"
|
|
9633
9640
|
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
|
|
9634
9641
|
className: "iui__font--para-large iui__font--weight-medium"
|
|
9635
|
-
}, "Users with
|
|
9642
|
+
}, "Users with roles"), /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
|
|
9636
9643
|
className: "iui__font--color-black500 iui__font--size-sm iui__mt-2"
|
|
9637
9644
|
}, "Deactivating these users will affect the associated approval rules."), (selectedUsersApprover === null || selectedUsersApprover === void 0 ? void 0 : selectedUsersApprover.length) && selectedUsersApprover.map(function (item, index) {
|
|
9638
9645
|
var _item$data;
|