@thecb/components 4.3.5 → 4.3.6
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
CHANGED
|
@@ -37131,9 +37131,9 @@ var InternalUserInfoForm = function InternalUserInfoForm(_ref) {
|
|
|
37131
37131
|
selectAgency = _ref.selectAgency,
|
|
37132
37132
|
roleOptions = _ref.roleOptions,
|
|
37133
37133
|
clientOptions = _ref.clientOptions,
|
|
37134
|
-
disabled = _ref.disabled,
|
|
37135
37134
|
emailDisabled = _ref.emailDisabled,
|
|
37136
37135
|
roleDisabled = _ref.roleDisabled,
|
|
37136
|
+
selectionDisabled = _ref.selectionDisabled,
|
|
37137
37137
|
formType = _ref.formType,
|
|
37138
37138
|
isOktaUser = _ref.isOktaUser,
|
|
37139
37139
|
openChangePasswordForm = _ref.openChangePasswordForm,
|
|
@@ -37250,7 +37250,7 @@ var InternalUserInfoForm = function InternalUserInfoForm(_ref) {
|
|
|
37250
37250
|
onKeyDown: function onKeyDown(e) {
|
|
37251
37251
|
return e.key === "Enter" && handleSubmit(e);
|
|
37252
37252
|
},
|
|
37253
|
-
disabled:
|
|
37253
|
+
disabled: emailDisabled
|
|
37254
37254
|
}), formType === PROFILE && !isOktaUser && /*#__PURE__*/React__default.createElement(FormInput$1, {
|
|
37255
37255
|
labelTextWhenNoError: "Password",
|
|
37256
37256
|
errorMessages: {},
|
|
@@ -37288,7 +37288,7 @@ var InternalUserInfoForm = function InternalUserInfoForm(_ref) {
|
|
|
37288
37288
|
onKeyDown: function onKeyDown(e) {
|
|
37289
37289
|
return e.key === "Enter" && handleSubmit(e);
|
|
37290
37290
|
},
|
|
37291
|
-
disabled:
|
|
37291
|
+
disabled: roleDisabled
|
|
37292
37292
|
}))), (formType === ADD || formType === EDIT) && /*#__PURE__*/React__default.createElement(Box, {
|
|
37293
37293
|
padding: "0.5rem 0 1.5rem"
|
|
37294
37294
|
}, /*#__PURE__*/React__default.createElement(FormInputColumn, null, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
@@ -37301,7 +37301,7 @@ var InternalUserInfoForm = function InternalUserInfoForm(_ref) {
|
|
|
37301
37301
|
allSelected: allSelected,
|
|
37302
37302
|
toggleSelectAllItems: toggleSelectAllAgencies,
|
|
37303
37303
|
selectItem: selectAgency,
|
|
37304
|
-
disabled:
|
|
37304
|
+
disabled: selectionDisabled
|
|
37305
37305
|
}))), /*#__PURE__*/React__default.createElement(Box, {
|
|
37306
37306
|
padding: "0"
|
|
37307
37307
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
package/package.json
CHANGED
|
@@ -47,9 +47,9 @@ const InternalUserInfoForm = ({
|
|
|
47
47
|
selectAgency,
|
|
48
48
|
roleOptions,
|
|
49
49
|
clientOptions,
|
|
50
|
-
disabled,
|
|
51
50
|
emailDisabled,
|
|
52
51
|
roleDisabled,
|
|
52
|
+
selectionDisabled,
|
|
53
53
|
formType,
|
|
54
54
|
isOktaUser,
|
|
55
55
|
openChangePasswordForm,
|
|
@@ -167,7 +167,7 @@ const InternalUserInfoForm = ({
|
|
|
167
167
|
fieldActions={actions.fields.email}
|
|
168
168
|
showErrors={showErrors}
|
|
169
169
|
onKeyDown={e => e.key === "Enter" && handleSubmit(e)}
|
|
170
|
-
disabled={
|
|
170
|
+
disabled={emailDisabled}
|
|
171
171
|
/>
|
|
172
172
|
{formType === PROFILE && !isOktaUser && (
|
|
173
173
|
<FormInput
|
|
@@ -208,7 +208,7 @@ const InternalUserInfoForm = ({
|
|
|
208
208
|
fieldActions={actions.fields.role}
|
|
209
209
|
showErrors={showErrors}
|
|
210
210
|
onKeyDown={e => e.key === "Enter" && handleSubmit(e)}
|
|
211
|
-
disabled={
|
|
211
|
+
disabled={roleDisabled}
|
|
212
212
|
/>
|
|
213
213
|
</FormInputColumn>
|
|
214
214
|
</Box>
|
|
@@ -225,7 +225,7 @@ const InternalUserInfoForm = ({
|
|
|
225
225
|
allSelected={allSelected}
|
|
226
226
|
toggleSelectAllItems={toggleSelectAllAgencies}
|
|
227
227
|
selectItem={selectAgency}
|
|
228
|
-
disabled={
|
|
228
|
+
disabled={selectionDisabled}
|
|
229
229
|
/>
|
|
230
230
|
</FormInputColumn>
|
|
231
231
|
</Box>
|