@itilite/iui-user-management 0.4.32 → 0.4.34
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.css +27 -24
- package/dist/index.js +358 -338
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +359 -339
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4266,8 +4266,49 @@ function withStore(Component) {
|
|
|
4266
4266
|
return WrappedComponent;
|
|
4267
4267
|
}
|
|
4268
4268
|
|
|
4269
|
+
var ExpandMoreIcon = function ExpandMoreIcon(props) {
|
|
4270
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
4271
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4272
|
+
width: props.width,
|
|
4273
|
+
height: props.height,
|
|
4274
|
+
fill: "none",
|
|
4275
|
+
viewBox: "0 0 12 7"
|
|
4276
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
4277
|
+
fill: "#6B7280",
|
|
4278
|
+
d: "M.293.294a1 1 0 011.414 0L6 4.587 10.293.294a1 1 0 111.414 1.414l-5 5a1 1 0 01-1.414 0l-5-5a1 1 0 010-1.414z"
|
|
4279
|
+
}));
|
|
4280
|
+
};
|
|
4281
|
+
|
|
4282
|
+
var ExpandLessIcon = function ExpandLessIcon(props) {
|
|
4283
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
4284
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4285
|
+
width: props.width,
|
|
4286
|
+
height: props.height,
|
|
4287
|
+
fill: "none",
|
|
4288
|
+
viewBox: "0 0 10 6"
|
|
4289
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
4290
|
+
fill: "#6B7280",
|
|
4291
|
+
d: "M.293.293a1 1 0 011.414 0L5 3.586 8.293.293a1 1 0 011.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
|
|
4292
|
+
}));
|
|
4293
|
+
};
|
|
4294
|
+
|
|
4295
|
+
var CrossIcon = function CrossIcon(props) {
|
|
4296
|
+
var _props$color = props.color,
|
|
4297
|
+
color = _props$color === void 0 ? '#6B7280' : _props$color;
|
|
4298
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
4299
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4300
|
+
width: props.width,
|
|
4301
|
+
height: props.height,
|
|
4302
|
+
fill: "none",
|
|
4303
|
+
viewBox: "0 0 14 14"
|
|
4304
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
4305
|
+
fill: color,
|
|
4306
|
+
d: "M.293.292a1 1 0 011.414 0L7 5.585 12.293.292a1 1 0 111.414 1.415L8.414 7l5.293 5.292a1 1 0 01-1.414 1.415L7 8.414l-5.293 5.293a1 1 0 01-1.414-1.415L5.586 7 .293 1.707a1 1 0 010-1.415z"
|
|
4307
|
+
}));
|
|
4308
|
+
};
|
|
4309
|
+
|
|
4269
4310
|
var AdditionalInfo = function AdditionalInfo(_ref) {
|
|
4270
|
-
var
|
|
4311
|
+
var _clsx;
|
|
4271
4312
|
var membershipInfoInput = _ref.membershipInfoInput,
|
|
4272
4313
|
onMemInfoInputChange = _ref.onMemInfoInputChange,
|
|
4273
4314
|
addMemInfoInput = _ref.addMemInfoInput,
|
|
@@ -4296,10 +4337,6 @@ var AdditionalInfo = function AdditionalInfo(_ref) {
|
|
|
4296
4337
|
setAdditionalInfoFlag(defaultExpand ? panel : false);
|
|
4297
4338
|
};
|
|
4298
4339
|
};
|
|
4299
|
-
var ExpandMore = iuistyles.icons.ExpandMore,
|
|
4300
|
-
ExpandLess = iuistyles.icons.ExpandLess,
|
|
4301
|
-
Add = iuistyles.icons.Add,
|
|
4302
|
-
Cross = iuistyles.icons.Cross;
|
|
4303
4340
|
var _useSelector = reactRedux.useSelector(function (state) {
|
|
4304
4341
|
return state.userAddEdit.renderFields;
|
|
4305
4342
|
}),
|
|
@@ -4357,316 +4394,312 @@ var AdditionalInfo = function AdditionalInfo(_ref) {
|
|
|
4357
4394
|
}
|
|
4358
4395
|
return null;
|
|
4359
4396
|
};
|
|
4360
|
-
|
|
4397
|
+
return /*#__PURE__*/React__default.createElement(iuistyles.IUIAccordion, {
|
|
4398
|
+
expanded: defaultExpand === 'open',
|
|
4399
|
+
onChange: handleChange('open'),
|
|
4400
|
+
className: styles.additionalInfoContainer
|
|
4401
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIAccordionSummary, {
|
|
4402
|
+
expandIcon: defaultExpand ? /*#__PURE__*/React__default.createElement(ExpandLessIcon, {
|
|
4403
|
+
width: "12px",
|
|
4404
|
+
height: "7px"
|
|
4405
|
+
}) : /*#__PURE__*/React__default.createElement(ExpandMoreIcon, {
|
|
4406
|
+
width: "12px",
|
|
4407
|
+
height: "7px"
|
|
4408
|
+
}),
|
|
4409
|
+
"aria-controls": "panel1bh-content",
|
|
4410
|
+
id: "panel1bh-header",
|
|
4411
|
+
className: clsx(styles.additionalInfoTitle, (_clsx = {}, _clsx[styles.expandIconAlign] = defaultExpand === 'open', _clsx))
|
|
4412
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4413
|
+
container: true,
|
|
4414
|
+
className: clsx(styles.product_info, styles.sectionWrapper)
|
|
4415
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4416
|
+
item: true,
|
|
4417
|
+
sm: 12,
|
|
4418
|
+
md: 4,
|
|
4419
|
+
className: styles.titleContainer
|
|
4420
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUILabel, {
|
|
4421
|
+
label: "Additional information",
|
|
4422
|
+
headerType: true,
|
|
4423
|
+
description: "Passport, Membership, Travel preferences..."
|
|
4424
|
+
})))), /*#__PURE__*/React__default.createElement(iuistyles.IUIAccordionDetails, {
|
|
4425
|
+
className: styles.detailsContainer
|
|
4426
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4427
|
+
container: true,
|
|
4428
|
+
className: clsx(styles.work_info, styles.sectionWrapper)
|
|
4429
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4430
|
+
item: true,
|
|
4431
|
+
sm: 12,
|
|
4432
|
+
md: 4
|
|
4433
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUILabel, {
|
|
4434
|
+
label: "Passport information",
|
|
4435
|
+
headerType: true
|
|
4436
|
+
})), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4437
|
+
item: true,
|
|
4438
|
+
sm: 12,
|
|
4439
|
+
md: 8,
|
|
4440
|
+
lg: 8,
|
|
4441
|
+
xl: 6
|
|
4442
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4443
|
+
container: true,
|
|
4444
|
+
className: clsx(styles.formFieldsWrapper, styles.firstRowMargin)
|
|
4445
|
+
}, passportInfo.map(function (p, i) {
|
|
4446
|
+
var _clsx2;
|
|
4447
|
+
if (!p.visibility) {
|
|
4448
|
+
return null;
|
|
4449
|
+
}
|
|
4361
4450
|
return /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4362
|
-
container: true,
|
|
4363
|
-
className: clsx(styles.product_info, styles.sectionWrapper)
|
|
4364
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4365
4451
|
item: true,
|
|
4366
4452
|
sm: 12,
|
|
4367
|
-
md:
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4453
|
+
md: 12,
|
|
4454
|
+
lg: p.type === 'datepicker' ? 2 : p.fullWidth ? 12 : 6,
|
|
4455
|
+
xl: p.type === 'datepicker' ? 2 : p.fullWidth ? 12 : 6,
|
|
4456
|
+
key: i,
|
|
4457
|
+
className: clsx(styles.margin, (_clsx2 = {}, _clsx2[styles.minGridWidth] = p.type === 'datepicker', _clsx2))
|
|
4458
|
+
}, /*#__PURE__*/React__default.createElement(GetInputType, {
|
|
4459
|
+
_p: p,
|
|
4460
|
+
inputState: passportInfoInput,
|
|
4461
|
+
onValueChange: onPassportInfoInputChange,
|
|
4462
|
+
dropdownList: dropdownList,
|
|
4463
|
+
errorArray: errorArray,
|
|
4464
|
+
errorMsg: errorMsgs[p.name],
|
|
4465
|
+
dateFormat: dateFormat
|
|
4466
|
+
}));
|
|
4467
|
+
})))), /*#__PURE__*/React__default.createElement(iuistyles.IUIDivider, {
|
|
4468
|
+
className: styles.dividerColor
|
|
4469
|
+
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4470
|
+
container: true,
|
|
4471
|
+
className: clsx(styles.personal_info, styles.sectionWrapper)
|
|
4472
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4473
|
+
item: true,
|
|
4474
|
+
sm: 12,
|
|
4475
|
+
md: 4
|
|
4476
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUILabel, {
|
|
4477
|
+
label: "Membership information",
|
|
4478
|
+
headerType: true,
|
|
4479
|
+
description: "You can add up to " + maxMembershipInput + " membership details"
|
|
4480
|
+
})), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4481
|
+
item: true,
|
|
4482
|
+
sm: 12,
|
|
4483
|
+
md: 8,
|
|
4484
|
+
lg: 8,
|
|
4485
|
+
xl: 6
|
|
4486
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4487
|
+
container: true,
|
|
4488
|
+
className: styles.formFieldsWrapper
|
|
4489
|
+
}, membershipInfoInput.length === 0 && /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
|
|
4490
|
+
className: styles.emptyFieldContainer
|
|
4491
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUITypography, {
|
|
4492
|
+
className: styles.emptyFieldDescription
|
|
4493
|
+
}, "No membership details added yet"), /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
|
|
4494
|
+
className: clsx(styles.emptyFieldBtnContainer, styles.rowGap),
|
|
4495
|
+
display: "flex"
|
|
4496
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIButton, {
|
|
4497
|
+
buttonText: "Add airline",
|
|
4498
|
+
type: "text",
|
|
4499
|
+
startIcon: /*#__PURE__*/React__default.createElement(AddIcon, {
|
|
4500
|
+
width: "10",
|
|
4501
|
+
height: "10",
|
|
4502
|
+
color: "#EC5D25"
|
|
4503
|
+
}),
|
|
4504
|
+
className: styles.paddingTop,
|
|
4505
|
+
onClick: function onClick(e) {
|
|
4506
|
+
return addMemInfoInput('flight');
|
|
4507
|
+
}
|
|
4508
|
+
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIButton, {
|
|
4509
|
+
buttonText: "Add hotel",
|
|
4510
|
+
type: "text",
|
|
4511
|
+
startIcon: /*#__PURE__*/React__default.createElement(AddIcon, {
|
|
4512
|
+
width: "10",
|
|
4513
|
+
height: "10",
|
|
4514
|
+
color: "#EC5D25"
|
|
4515
|
+
}),
|
|
4516
|
+
className: styles.paddingTop,
|
|
4517
|
+
onClick: function onClick(e) {
|
|
4518
|
+
return addMemInfoInput('hotel');
|
|
4519
|
+
}
|
|
4520
|
+
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIButton, {
|
|
4521
|
+
buttonText: "Add car rental",
|
|
4522
|
+
type: "text",
|
|
4523
|
+
startIcon: /*#__PURE__*/React__default.createElement(AddIcon, {
|
|
4524
|
+
width: "10",
|
|
4525
|
+
height: "10",
|
|
4526
|
+
color: "#EC5D25"
|
|
4527
|
+
}),
|
|
4528
|
+
className: styles.paddingTop,
|
|
4529
|
+
onClick: function onClick(e) {
|
|
4530
|
+
return addMemInfoInput('rental_car');
|
|
4531
|
+
}
|
|
4532
|
+
}))), membershipInfoInput.length > 0 && membershipInfoInput.map(function (val, index) {
|
|
4533
|
+
if (index >= maxMembershipInput) {
|
|
4534
|
+
return null;
|
|
4535
|
+
}
|
|
4536
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, {
|
|
4537
|
+
key: index.toString()
|
|
4379
4538
|
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4380
4539
|
item: true,
|
|
4381
|
-
sm: 12,
|
|
4382
|
-
md: 4
|
|
4383
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUILabel, {
|
|
4384
|
-
label: "Passport information",
|
|
4385
|
-
headerType: true
|
|
4386
|
-
})), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4387
|
-
item: true,
|
|
4388
|
-
sm: 12,
|
|
4389
4540
|
md: 8,
|
|
4390
|
-
lg:
|
|
4541
|
+
lg: 6,
|
|
4391
4542
|
xl: 6
|
|
4392
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
var _clsx;
|
|
4397
|
-
if (!p.visibility) {
|
|
4398
|
-
return null;
|
|
4399
|
-
}
|
|
4400
|
-
return /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4401
|
-
item: true,
|
|
4402
|
-
sm: 12,
|
|
4403
|
-
md: 12,
|
|
4404
|
-
lg: p.type === 'datepicker' ? 2 : p.fullWidth ? 12 : 6,
|
|
4405
|
-
xl: p.type === 'datepicker' ? 2 : p.fullWidth ? 12 : 6,
|
|
4406
|
-
key: i,
|
|
4407
|
-
className: clsx(styles.margin, (_clsx = {}, _clsx[styles.minGridWidth] = p.type === 'datepicker', _clsx))
|
|
4408
|
-
}, /*#__PURE__*/React__default.createElement(GetInputType, {
|
|
4409
|
-
_p: p,
|
|
4410
|
-
inputState: passportInfoInput,
|
|
4411
|
-
onValueChange: onPassportInfoInputChange,
|
|
4412
|
-
dropdownList: dropdownList,
|
|
4413
|
-
errorArray: errorArray,
|
|
4414
|
-
errorMsg: errorMsgs[p.name],
|
|
4415
|
-
dateFormat: dateFormat
|
|
4416
|
-
}));
|
|
4417
|
-
})))), /*#__PURE__*/React__default.createElement(iuistyles.IUIDivider, {
|
|
4418
|
-
className: styles.dividerColor
|
|
4419
|
-
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4420
|
-
container: true,
|
|
4421
|
-
className: clsx(styles.personal_info, styles.sectionWrapper)
|
|
4422
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4423
|
-
item: true,
|
|
4424
|
-
sm: 12,
|
|
4425
|
-
md: 4
|
|
4426
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUILabel, {
|
|
4427
|
-
label: "Membership information",
|
|
4428
|
-
headerType: true,
|
|
4429
|
-
description: "You can add up to " + maxMembershipInput + " membership details"
|
|
4543
|
+
}, /*#__PURE__*/React__default.createElement(MembershipField, {
|
|
4544
|
+
val: val,
|
|
4545
|
+
index: index,
|
|
4546
|
+
key: index.toString()
|
|
4430
4547
|
})), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4431
4548
|
item: true,
|
|
4432
|
-
sm: 12,
|
|
4433
4549
|
md: 8,
|
|
4434
|
-
lg:
|
|
4550
|
+
lg: 6,
|
|
4435
4551
|
xl: 6
|
|
4436
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4437
|
-
container: true,
|
|
4438
|
-
className: styles.formFieldsWrapper
|
|
4439
|
-
}, membershipInfoInput.length === 0 && /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
|
|
4440
|
-
className: styles.emptyFieldContainer
|
|
4441
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUITypography, {
|
|
4442
|
-
className: styles.emptyFieldDescription
|
|
4443
|
-
}, "No membership details added yet"), /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
|
|
4444
|
-
className: clsx(styles.emptyFieldBtnContainer, styles.rowGap),
|
|
4445
|
-
display: "flex"
|
|
4446
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIButton, {
|
|
4447
|
-
buttonText: "Add airline",
|
|
4448
|
-
type: "text",
|
|
4449
|
-
startIcon: /*#__PURE__*/React__default.createElement(iuistyles.icons.Add, {
|
|
4450
|
-
width: "10",
|
|
4451
|
-
height: "10",
|
|
4452
|
-
color: "#EC5D25"
|
|
4453
|
-
}),
|
|
4454
|
-
className: styles.paddingTop,
|
|
4455
|
-
onClick: function onClick(e) {
|
|
4456
|
-
return addMemInfoInput('flight');
|
|
4457
|
-
}
|
|
4458
|
-
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIButton, {
|
|
4459
|
-
buttonText: "Add hotel",
|
|
4460
|
-
type: "text",
|
|
4461
|
-
startIcon: /*#__PURE__*/React__default.createElement(iuistyles.icons.Add, {
|
|
4462
|
-
width: "10",
|
|
4463
|
-
height: "10",
|
|
4464
|
-
color: "#EC5D25"
|
|
4465
|
-
}),
|
|
4466
|
-
className: styles.paddingTop,
|
|
4467
|
-
onClick: function onClick(e) {
|
|
4468
|
-
return addMemInfoInput('hotel');
|
|
4469
|
-
}
|
|
4470
|
-
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIButton, {
|
|
4471
|
-
buttonText: "Add car rental",
|
|
4472
|
-
type: "text",
|
|
4473
|
-
startIcon: /*#__PURE__*/React__default.createElement(iuistyles.icons.Add, {
|
|
4474
|
-
width: "10",
|
|
4475
|
-
height: "10",
|
|
4476
|
-
color: "#EC5D25"
|
|
4477
|
-
}),
|
|
4478
|
-
className: styles.paddingTop,
|
|
4479
|
-
onClick: function onClick(e) {
|
|
4480
|
-
return addMemInfoInput('rental_car');
|
|
4481
|
-
}
|
|
4482
|
-
}))), membershipInfoInput.length > 0 && membershipInfoInput.map(function (val, index) {
|
|
4483
|
-
if (index >= maxMembershipInput) {
|
|
4484
|
-
return null;
|
|
4485
|
-
}
|
|
4486
|
-
return /*#__PURE__*/React__default.createElement(React__default.Fragment, {
|
|
4487
|
-
key: index.toString()
|
|
4488
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4489
|
-
item: true,
|
|
4490
|
-
md: 8,
|
|
4491
|
-
lg: 6,
|
|
4492
|
-
xl: 6
|
|
4493
|
-
}, /*#__PURE__*/React__default.createElement(MembershipField, {
|
|
4494
|
-
val: val,
|
|
4495
|
-
index: index,
|
|
4496
|
-
key: index.toString()
|
|
4497
|
-
})), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4498
|
-
item: true,
|
|
4499
|
-
md: 8,
|
|
4500
|
-
lg: 6,
|
|
4501
|
-
xl: 6
|
|
4502
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
|
|
4503
|
-
component: "div",
|
|
4504
|
-
display: "flex"
|
|
4505
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIInput, {
|
|
4506
|
-
label: "Membership number",
|
|
4507
|
-
placeholder: "Enter membership number",
|
|
4508
|
-
fullwidth: false,
|
|
4509
|
-
defaultValue: val.number,
|
|
4510
|
-
onValueChange: function onValueChange(_ref6) {
|
|
4511
|
-
var _value = _ref6._value;
|
|
4512
|
-
return onMemInfoInputChange(index, 'number', _value);
|
|
4513
|
-
}
|
|
4514
|
-
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIIconButton, {
|
|
4515
|
-
style: {
|
|
4516
|
-
marginTop: '30px'
|
|
4517
|
-
},
|
|
4518
|
-
disableRipple: true,
|
|
4519
|
-
onClick: function onClick() {
|
|
4520
|
-
return handleRemoveMemFields(index);
|
|
4521
|
-
},
|
|
4522
|
-
className: styles.backGrdColorOnHover
|
|
4523
|
-
}, /*#__PURE__*/React__default.createElement(Cross, {
|
|
4524
|
-
width: "14",
|
|
4525
|
-
height: "14"
|
|
4526
|
-
})))));
|
|
4527
|
-
}), membershipInfoInput.length < maxMembershipInput && membershipInfoInput.length > 0 && /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4528
|
-
item: true,
|
|
4529
|
-
md: 8,
|
|
4530
|
-
lg: 8,
|
|
4531
|
-
xl: 8
|
|
4532
4552
|
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
|
|
4533
|
-
|
|
4553
|
+
component: "div",
|
|
4534
4554
|
display: "flex"
|
|
4535
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
className: styles.paddingTop,
|
|
4544
|
-
onClick: function onClick(e) {
|
|
4545
|
-
return addMemInfoInput('flight');
|
|
4546
|
-
}
|
|
4547
|
-
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIButton, {
|
|
4548
|
-
buttonText: "Add hotel",
|
|
4549
|
-
type: "text",
|
|
4550
|
-
startIcon: /*#__PURE__*/React__default.createElement(Add, {
|
|
4551
|
-
width: "10",
|
|
4552
|
-
height: "10",
|
|
4553
|
-
color: "#EC5D25"
|
|
4554
|
-
}),
|
|
4555
|
-
className: styles.paddingTop,
|
|
4556
|
-
onClick: function onClick(e) {
|
|
4557
|
-
return addMemInfoInput('hotel');
|
|
4558
|
-
}
|
|
4559
|
-
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIButton, {
|
|
4560
|
-
buttonText: "Add car rental",
|
|
4561
|
-
type: "text",
|
|
4562
|
-
startIcon: /*#__PURE__*/React__default.createElement(iuistyles.icons.Add, {
|
|
4563
|
-
width: "10",
|
|
4564
|
-
height: "10",
|
|
4565
|
-
color: "#EC5D25"
|
|
4566
|
-
}),
|
|
4567
|
-
className: styles.paddingTop,
|
|
4568
|
-
onClick: function onClick(e) {
|
|
4569
|
-
return addMemInfoInput('rental_car');
|
|
4570
|
-
}
|
|
4571
|
-
})))))), /*#__PURE__*/React__default.createElement(iuistyles.IUIDivider, {
|
|
4572
|
-
className: styles.dividerColor
|
|
4573
|
-
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4574
|
-
container: true,
|
|
4575
|
-
className: clsx(styles.personal_info, styles.sectionWrapper)
|
|
4576
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4577
|
-
item: true,
|
|
4578
|
-
sm: 12,
|
|
4579
|
-
md: 4
|
|
4580
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUILabel, {
|
|
4581
|
-
label: "Travel preferences",
|
|
4582
|
-
headerType: true
|
|
4583
|
-
})), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4584
|
-
item: true,
|
|
4585
|
-
sm: 12,
|
|
4586
|
-
md: 8,
|
|
4587
|
-
lg: 8,
|
|
4588
|
-
xl: 6
|
|
4589
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4590
|
-
container: true,
|
|
4591
|
-
className: clsx(styles.formFieldsWrapper, styles.firstRowMargin)
|
|
4592
|
-
}, travelPreference.map(function (p, i) {
|
|
4593
|
-
if (!p.visibility) {
|
|
4594
|
-
return null;
|
|
4555
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIInput, {
|
|
4556
|
+
label: "Membership number",
|
|
4557
|
+
placeholder: "Enter membership number",
|
|
4558
|
+
fullwidth: false,
|
|
4559
|
+
defaultValue: val.number,
|
|
4560
|
+
onValueChange: function onValueChange(_ref6) {
|
|
4561
|
+
var _value = _ref6._value;
|
|
4562
|
+
return onMemInfoInputChange(index, 'number', _value);
|
|
4595
4563
|
}
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4564
|
+
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIIconButton, {
|
|
4565
|
+
style: {
|
|
4566
|
+
marginTop: '30px'
|
|
4567
|
+
},
|
|
4568
|
+
disableRipple: true,
|
|
4569
|
+
onClick: function onClick() {
|
|
4570
|
+
return handleRemoveMemFields(index);
|
|
4571
|
+
},
|
|
4572
|
+
className: styles.backGrdColorOnHover
|
|
4573
|
+
}, /*#__PURE__*/React__default.createElement(CrossIcon, {
|
|
4574
|
+
width: "14",
|
|
4575
|
+
height: "14"
|
|
4576
|
+
})))));
|
|
4577
|
+
}), membershipInfoInput.length < maxMembershipInput && membershipInfoInput.length > 0 && /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4578
|
+
item: true,
|
|
4579
|
+
md: 8,
|
|
4580
|
+
lg: 8,
|
|
4581
|
+
xl: 8
|
|
4582
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
|
|
4583
|
+
className: clsx(styles.emptyFieldBtnContainer, styles.rowGap),
|
|
4584
|
+
display: "flex"
|
|
4585
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIButton, {
|
|
4586
|
+
buttonText: "Add airline",
|
|
4587
|
+
type: "text",
|
|
4588
|
+
startIcon: /*#__PURE__*/React__default.createElement(AddIcon, {
|
|
4589
|
+
width: "10",
|
|
4590
|
+
height: "10",
|
|
4591
|
+
color: "#EC5D25"
|
|
4592
|
+
}),
|
|
4593
|
+
className: styles.paddingTop,
|
|
4594
|
+
onClick: function onClick(e) {
|
|
4595
|
+
return addMemInfoInput('flight');
|
|
4596
|
+
}
|
|
4597
|
+
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIButton, {
|
|
4598
|
+
buttonText: "Add hotel",
|
|
4599
|
+
type: "text",
|
|
4600
|
+
startIcon: /*#__PURE__*/React__default.createElement(AddIcon, {
|
|
4601
|
+
width: "10",
|
|
4602
|
+
height: "10",
|
|
4603
|
+
color: "#EC5D25"
|
|
4604
|
+
}),
|
|
4605
|
+
className: styles.paddingTop,
|
|
4606
|
+
onClick: function onClick(e) {
|
|
4607
|
+
return addMemInfoInput('hotel');
|
|
4608
|
+
}
|
|
4609
|
+
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIButton, {
|
|
4610
|
+
buttonText: "Add car rental",
|
|
4611
|
+
type: "text",
|
|
4612
|
+
startIcon: /*#__PURE__*/React__default.createElement(AddIcon, {
|
|
4613
|
+
width: "10",
|
|
4614
|
+
height: "10",
|
|
4615
|
+
color: "#EC5D25"
|
|
4616
|
+
}),
|
|
4617
|
+
className: styles.paddingTop,
|
|
4618
|
+
onClick: function onClick(e) {
|
|
4619
|
+
return addMemInfoInput('rental_car');
|
|
4620
|
+
}
|
|
4621
|
+
})))))), /*#__PURE__*/React__default.createElement(iuistyles.IUIDivider, {
|
|
4622
|
+
className: styles.dividerColor
|
|
4623
|
+
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4624
|
+
container: true,
|
|
4625
|
+
className: clsx(styles.personal_info, styles.sectionWrapper)
|
|
4626
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4627
|
+
item: true,
|
|
4628
|
+
sm: 12,
|
|
4629
|
+
md: 4
|
|
4630
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUILabel, {
|
|
4631
|
+
label: "Travel preferences",
|
|
4632
|
+
headerType: true
|
|
4633
|
+
})), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4634
|
+
item: true,
|
|
4635
|
+
sm: 12,
|
|
4636
|
+
md: 8,
|
|
4637
|
+
lg: 8,
|
|
4638
|
+
xl: 6
|
|
4639
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4640
|
+
container: true,
|
|
4641
|
+
className: clsx(styles.formFieldsWrapper, styles.firstRowMargin)
|
|
4642
|
+
}, travelPreference.map(function (p, i) {
|
|
4643
|
+
if (!p.visibility) {
|
|
4644
|
+
return null;
|
|
4645
|
+
}
|
|
4646
|
+
return /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4618
4647
|
item: true,
|
|
4619
4648
|
sm: 12,
|
|
4620
|
-
md:
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4649
|
+
md: 12,
|
|
4650
|
+
lg: p.fullWidth ? 12 : 6,
|
|
4651
|
+
xl: p.fullWidth ? 12 : 6,
|
|
4652
|
+
key: i,
|
|
4653
|
+
className: clsx(styles.margin)
|
|
4654
|
+
}, /*#__PURE__*/React__default.createElement(GetInputType, {
|
|
4655
|
+
_p: p,
|
|
4656
|
+
inputState: travelPreferenceInfo,
|
|
4657
|
+
onValueChange: travelPreferenceOnChange,
|
|
4658
|
+
dropdownList: dropdownList,
|
|
4659
|
+
errorArray: errorArray,
|
|
4660
|
+
errorMsg: errorMsgs[p.name]
|
|
4661
|
+
}));
|
|
4662
|
+
})))), /*#__PURE__*/React__default.createElement(iuistyles.IUIDivider, {
|
|
4663
|
+
className: styles.dividerColor
|
|
4664
|
+
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4665
|
+
container: true,
|
|
4666
|
+
className: clsx(styles.personal_info, styles.sectionWrapper)
|
|
4667
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4668
|
+
item: true,
|
|
4669
|
+
sm: 12,
|
|
4670
|
+
md: 4
|
|
4671
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUILabel, {
|
|
4672
|
+
label: "Secure traveler information",
|
|
4673
|
+
headerType: true
|
|
4674
|
+
})), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4675
|
+
item: true,
|
|
4676
|
+
sm: 12,
|
|
4677
|
+
md: 8,
|
|
4678
|
+
lg: 8,
|
|
4679
|
+
xl: 6
|
|
4680
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4681
|
+
container: true,
|
|
4682
|
+
className: clsx(styles.formFieldsWrapper, styles.firstRowMargin)
|
|
4683
|
+
}, secureTravelInfo.map(function (p, i) {
|
|
4684
|
+
if (!p.visibility) {
|
|
4685
|
+
return null;
|
|
4686
|
+
}
|
|
4687
|
+
return /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4625
4688
|
item: true,
|
|
4626
4689
|
sm: 12,
|
|
4627
|
-
md:
|
|
4628
|
-
lg:
|
|
4629
|
-
xl: 6
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
md: 12,
|
|
4641
|
-
lg: p.fullWidth ? 12 : 6,
|
|
4642
|
-
xl: p.fullWidth ? 12 : 6,
|
|
4643
|
-
key: i,
|
|
4644
|
-
className: clsx(styles.margin)
|
|
4645
|
-
}, /*#__PURE__*/React__default.createElement(GetInputType, {
|
|
4646
|
-
_p: p,
|
|
4647
|
-
inputState: secureTravelInputInfo,
|
|
4648
|
-
onValueChange: onSecureTraveelerInfoInputChange,
|
|
4649
|
-
errorArray: errorArray,
|
|
4650
|
-
errorMsg: errorMsgs[p.name]
|
|
4651
|
-
}));
|
|
4652
|
-
})))));
|
|
4653
|
-
};
|
|
4654
|
-
return /*#__PURE__*/React__default.createElement(iuistyles.IUIAccordionMain, {
|
|
4655
|
-
expanded: defaultExpand === 'open',
|
|
4656
|
-
onChange: handleChange('open'),
|
|
4657
|
-
accordionClass: styles.additionalInfoContainer,
|
|
4658
|
-
summaryComponent: getAccordianSummary(),
|
|
4659
|
-
summaryClass: clsx(styles.additionalInfoTitle, (_clsx2 = {}, _clsx2[styles.expandIconAlign] = defaultExpand === 'open', _clsx2)),
|
|
4660
|
-
expandIcon: defaultExpand ? /*#__PURE__*/React__default.createElement(ExpandLess, {
|
|
4661
|
-
width: "12px",
|
|
4662
|
-
height: "7px"
|
|
4663
|
-
}) : /*#__PURE__*/React__default.createElement(ExpandMore, {
|
|
4664
|
-
width: "12px",
|
|
4665
|
-
height: "7px"
|
|
4666
|
-
}),
|
|
4667
|
-
detailsComponent: getAccordianDetails(),
|
|
4668
|
-
detailsClass: styles.detailsContainer
|
|
4669
|
-
});
|
|
4690
|
+
md: 12,
|
|
4691
|
+
lg: p.fullWidth ? 12 : 6,
|
|
4692
|
+
xl: p.fullWidth ? 12 : 6,
|
|
4693
|
+
key: i,
|
|
4694
|
+
className: clsx(styles.margin)
|
|
4695
|
+
}, /*#__PURE__*/React__default.createElement(GetInputType, {
|
|
4696
|
+
_p: p,
|
|
4697
|
+
inputState: secureTravelInputInfo,
|
|
4698
|
+
onValueChange: onSecureTraveelerInfoInputChange,
|
|
4699
|
+
errorArray: errorArray,
|
|
4700
|
+
errorMsg: errorMsgs[p.name]
|
|
4701
|
+
}));
|
|
4702
|
+
}))))));
|
|
4670
4703
|
};
|
|
4671
4704
|
|
|
4672
4705
|
var styles$3 = {"root":"_b_muK","minWidth":"_3OQXs","bullet":"_1Q5vL","pos":"_6wGWA","cardHeader":"_SWCfJ","pageHeader":"_2ZeWp","buttonHover":"_2Iuy1","cardHeaderBackground":"_3NJWF","actionCustom":"_3Kbfm"};
|
|
@@ -6750,7 +6783,7 @@ var fetchBulkactionHistory = function fetchBulkactionHistory(url) {
|
|
|
6750
6783
|
};
|
|
6751
6784
|
};
|
|
6752
6785
|
|
|
6753
|
-
var styles$5 = {"UUIUserManagementList":"_3WNHx","scrollOverlayMenu":"_2_WEg","overlaysearch":"_1Pbhb","pageHeader":"_1WLpc","buttonWrapper":"_2egTG","headingWrapper":"_1He01","headingSignUpWrapper":"_Q8vqd","heading":"_1uPaO","headingLarge":"_2FsLd","headingMedium":"_nGXA9","headingSmall":"_2rpwF","description":"_25vb9","headerText":"_1Ny9J","letterImage":"_2hr3R","tablewrapper":"_1-RPw","rowText":"_1LXyO","textTransform":"_3kFQS","lightColor":"_3Ghgw","avatarClassName":"_2qO_X","tooltipText":"_151u_","tooltip":"_-LQNH","importModalBodyContainer":"_25xUk","dividerColor":"_2HZv9","w100":"_3vGmU","downloadTemplateContainer":"_3-Xu_","downloadTemplateDescContainer":"_tLw43","labelContainer":"_7TYUZ","downlTempHeader":"__CZpe","downlTempDescription":"_19jEe","downloadTemplateButton":"_1qXtq","fileUploaderContainer":"_1YVz2","colGap":"_3vnY5","deActivateModalContainer":"_28H9H","backdrop":"_1ky1x","errorText":"_26_if","
|
|
6786
|
+
var styles$5 = {"UUIUserManagementList":"_3WNHx","scrollOverlayMenu":"_2_WEg","overlaysearch":"_1Pbhb","pageHeader":"_1WLpc","buttonWrapper":"_2egTG","headingWrapper":"_1He01","headingSignUpWrapper":"_Q8vqd","heading":"_1uPaO","headingLarge":"_2FsLd","headingMedium":"_nGXA9","headingSmall":"_2rpwF","description":"_25vb9","headerText":"_1Ny9J","letterImage":"_2hr3R","tablewrapper":"_1-RPw","rowText":"_1LXyO","textTransform":"_3kFQS","lightColor":"_3Ghgw","avatarClassName":"_2qO_X","tooltipText":"_151u_","tooltip":"_-LQNH","importModalBodyContainer":"_25xUk","dividerColor":"_2HZv9","w100":"_3vGmU","downloadTemplateContainer":"_3-Xu_","downloadTemplateDescContainer":"_tLw43","labelContainer":"_7TYUZ","downlTempHeader":"__CZpe","downlTempDescription":"_19jEe","downloadTemplateButton":"_1qXtq","fileUploaderContainer":"_1YVz2","colGap":"_3vnY5","deActivateModalContainer":"_28H9H","backdrop":"_1ky1x","errorText":"_26_if","deactivateAlert":"_3hvWz","departmentHeadText":"_3pOsV","deactivateBtn":"_2v6e4","user_list_page_tabs":"_xWE7K","TabLabelCount":"_13pXn"};
|
|
6754
6787
|
|
|
6755
6788
|
var BulkUploadModal = function BulkUploadModal(props) {
|
|
6756
6789
|
var isOpenImportUsersModal = props.isOpenImportUsersModal,
|
|
@@ -8011,19 +8044,6 @@ var BulkDownloadIcon = function BulkDownloadIcon(props) {
|
|
|
8011
8044
|
|
|
8012
8045
|
var classes = {"containedBtn":"_2A4_u","customMiniBox":"_QGIKG","muiBtn":"_3iFbO","outlinedBtn":"_3lQYD","menuList":"_1C8bJ","menuListContainer":"_1N83W","menuItemContainer":"_3VtcE","menuItemtext":"_2xqnU","subTxt":"_3CVzX"};
|
|
8013
8046
|
|
|
8014
|
-
var ExpandMoreIcon = function ExpandMoreIcon(props) {
|
|
8015
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
8016
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
8017
|
-
width: props.width,
|
|
8018
|
-
height: props.height,
|
|
8019
|
-
fill: "none",
|
|
8020
|
-
viewBox: "0 0 12 7"
|
|
8021
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
8022
|
-
fill: "#6B7280",
|
|
8023
|
-
d: "M.293.294a1 1 0 011.414 0L6 4.587 10.293.294a1 1 0 111.414 1.414l-5 5a1 1 0 01-1.414 0l-5-5a1 1 0 010-1.414z"
|
|
8024
|
-
}));
|
|
8025
|
-
};
|
|
8026
|
-
|
|
8027
8047
|
var DropdownBtn = function DropdownBtn(props) {
|
|
8028
8048
|
var _clsx;
|
|
8029
8049
|
var _props$buttonText = props.buttonText,
|
|
@@ -8658,12 +8678,18 @@ var UserList = function UserList(_ref2) {
|
|
|
8658
8678
|
var _useState10 = React.useState(false),
|
|
8659
8679
|
isApiFetching = _useState10[0],
|
|
8660
8680
|
setisApiFetching = _useState10[1];
|
|
8661
|
-
var _useState11 = React.useState(
|
|
8662
|
-
|
|
8663
|
-
|
|
8664
|
-
|
|
8665
|
-
|
|
8666
|
-
|
|
8681
|
+
var _useState11 = React.useState({
|
|
8682
|
+
value: '',
|
|
8683
|
+
label: 'Select approver'
|
|
8684
|
+
}),
|
|
8685
|
+
travelFYI = _useState11[0],
|
|
8686
|
+
setTravelFYI = _useState11[1];
|
|
8687
|
+
var _useState12 = React.useState(false),
|
|
8688
|
+
showInviteModal = _useState12[0],
|
|
8689
|
+
setToggleInviteModal = _useState12[1];
|
|
8690
|
+
var _useState13 = React.useState(''),
|
|
8691
|
+
userIds = _useState13[0],
|
|
8692
|
+
setUserIds = _useState13[1];
|
|
8667
8693
|
var _React$useState6 = React__default.useState(false),
|
|
8668
8694
|
overlayMenu = _React$useState6[0],
|
|
8669
8695
|
setOverlayMenu = _React$useState6[1];
|
|
@@ -8690,40 +8716,34 @@ var UserList = function UserList(_ref2) {
|
|
|
8690
8716
|
var _React$useState7 = React__default.useState(1),
|
|
8691
8717
|
signup_page = _React$useState7[0],
|
|
8692
8718
|
setSignUpPage = _React$useState7[1];
|
|
8693
|
-
var
|
|
8694
|
-
signup_rowsPerPage =
|
|
8695
|
-
setSignUpRowsPerPage =
|
|
8719
|
+
var _useState14 = React.useState(5),
|
|
8720
|
+
signup_rowsPerPage = _useState14[0],
|
|
8721
|
+
setSignUpRowsPerPage = _useState14[1];
|
|
8696
8722
|
var _React$useState8 = React__default.useState('asc'),
|
|
8697
8723
|
signup_order = _React$useState8[0],
|
|
8698
8724
|
setSignUpOrder = _React$useState8[1];
|
|
8699
8725
|
var _React$useState9 = React__default.useState('fname'),
|
|
8700
8726
|
signup_orderBy = _React$useState9[0],
|
|
8701
8727
|
setSignUpOrderBy = _React$useState9[1];
|
|
8702
|
-
var
|
|
8703
|
-
signup_searchValue =
|
|
8704
|
-
set_signup_SearchValue =
|
|
8705
|
-
var _useState15 = React.useState(false),
|
|
8706
|
-
isSignUpSortingChange = _useState15[0],
|
|
8707
|
-
setSignUpSortingChange = _useState15[1];
|
|
8728
|
+
var _useState15 = React.useState(''),
|
|
8729
|
+
signup_searchValue = _useState15[0],
|
|
8730
|
+
set_signup_SearchValue = _useState15[1];
|
|
8708
8731
|
var _useState16 = React.useState(false),
|
|
8709
|
-
|
|
8710
|
-
|
|
8732
|
+
isSignUpSortingChange = _useState16[0],
|
|
8733
|
+
setSignUpSortingChange = _useState16[1];
|
|
8711
8734
|
var _useState17 = React.useState(false),
|
|
8712
|
-
|
|
8713
|
-
|
|
8735
|
+
isSignUpSearchingChange = _useState17[0],
|
|
8736
|
+
setSignUpSearchingChange = _useState17[1];
|
|
8714
8737
|
var _useState18 = React.useState(false),
|
|
8715
|
-
|
|
8716
|
-
|
|
8738
|
+
isSignUpSortingChangeTemp = _useState18[0],
|
|
8739
|
+
setSignUpSortingChangeTemp = _useState18[1];
|
|
8740
|
+
var _useState19 = React.useState(false),
|
|
8741
|
+
isSignUpSearchingChangeTemp = _useState19[0],
|
|
8742
|
+
setSignUpSearchingChangeTemp = _useState19[1];
|
|
8717
8743
|
var _useSelector3 = reactRedux.useSelector(function (state) {
|
|
8718
8744
|
return state.userList;
|
|
8719
8745
|
}),
|
|
8720
8746
|
signupRequestListInfo = _useSelector3.signupRequestListInfo;
|
|
8721
|
-
var _useState19 = React.useState({
|
|
8722
|
-
value: '',
|
|
8723
|
-
label: 'Select approver'
|
|
8724
|
-
}),
|
|
8725
|
-
travelFYI = _useState19[0],
|
|
8726
|
-
setTravelFYI = _useState19[1];
|
|
8727
8747
|
var openDeactivateModal = function openDeactivateModal() {
|
|
8728
8748
|
if (Object.values(selected).flat().length === 0 || Object.values(selected).flat() === undefined) {
|
|
8729
8749
|
IUIToastMessageService$7.warningNotify('Select at least one user to deactivate.');
|