@itilite/iui-user-management 0.4.33 → 0.4.35
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
|
@@ -4293,8 +4293,49 @@ function withStore(Component) {
|
|
|
4293
4293
|
return WrappedComponent;
|
|
4294
4294
|
}
|
|
4295
4295
|
|
|
4296
|
+
var ExpandMoreIcon = function ExpandMoreIcon(props) {
|
|
4297
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
4298
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4299
|
+
width: props.width,
|
|
4300
|
+
height: props.height,
|
|
4301
|
+
fill: "none",
|
|
4302
|
+
viewBox: "0 0 12 7"
|
|
4303
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
4304
|
+
fill: "#6B7280",
|
|
4305
|
+
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"
|
|
4306
|
+
}));
|
|
4307
|
+
};
|
|
4308
|
+
|
|
4309
|
+
var ExpandLessIcon = function ExpandLessIcon(props) {
|
|
4310
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
4311
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4312
|
+
width: props.width,
|
|
4313
|
+
height: props.height,
|
|
4314
|
+
fill: "none",
|
|
4315
|
+
viewBox: "0 0 10 6"
|
|
4316
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
4317
|
+
fill: "#6B7280",
|
|
4318
|
+
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"
|
|
4319
|
+
}));
|
|
4320
|
+
};
|
|
4321
|
+
|
|
4322
|
+
var CrossIcon = function CrossIcon(props) {
|
|
4323
|
+
var _props$color = props.color,
|
|
4324
|
+
color = _props$color === void 0 ? '#6B7280' : _props$color;
|
|
4325
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
4326
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4327
|
+
width: props.width,
|
|
4328
|
+
height: props.height,
|
|
4329
|
+
fill: "none",
|
|
4330
|
+
viewBox: "0 0 14 14"
|
|
4331
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
4332
|
+
fill: color,
|
|
4333
|
+
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"
|
|
4334
|
+
}));
|
|
4335
|
+
};
|
|
4336
|
+
|
|
4296
4337
|
var AdditionalInfo = function AdditionalInfo(_ref) {
|
|
4297
|
-
var
|
|
4338
|
+
var _clsx;
|
|
4298
4339
|
var membershipInfoInput = _ref.membershipInfoInput,
|
|
4299
4340
|
onMemInfoInputChange = _ref.onMemInfoInputChange,
|
|
4300
4341
|
addMemInfoInput = _ref.addMemInfoInput,
|
|
@@ -4323,10 +4364,6 @@ var AdditionalInfo = function AdditionalInfo(_ref) {
|
|
|
4323
4364
|
setAdditionalInfoFlag(defaultExpand ? panel : false);
|
|
4324
4365
|
};
|
|
4325
4366
|
};
|
|
4326
|
-
var ExpandMore = iuistyles.icons.ExpandMore,
|
|
4327
|
-
ExpandLess = iuistyles.icons.ExpandLess,
|
|
4328
|
-
Add = iuistyles.icons.Add,
|
|
4329
|
-
Cross = iuistyles.icons.Cross;
|
|
4330
4367
|
var _useSelector = reactRedux.useSelector(function (state) {
|
|
4331
4368
|
return state.userAddEdit.renderFields;
|
|
4332
4369
|
}),
|
|
@@ -4384,316 +4421,312 @@ var AdditionalInfo = function AdditionalInfo(_ref) {
|
|
|
4384
4421
|
}
|
|
4385
4422
|
return null;
|
|
4386
4423
|
};
|
|
4387
|
-
|
|
4424
|
+
return /*#__PURE__*/React__default.createElement(iuistyles.IUIAccordion, {
|
|
4425
|
+
expanded: defaultExpand === 'open',
|
|
4426
|
+
onChange: handleChange('open'),
|
|
4427
|
+
className: styles.additionalInfoContainer
|
|
4428
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIAccordionSummary, {
|
|
4429
|
+
expandIcon: defaultExpand ? /*#__PURE__*/React__default.createElement(ExpandLessIcon, {
|
|
4430
|
+
width: "12px",
|
|
4431
|
+
height: "7px"
|
|
4432
|
+
}) : /*#__PURE__*/React__default.createElement(ExpandMoreIcon, {
|
|
4433
|
+
width: "12px",
|
|
4434
|
+
height: "7px"
|
|
4435
|
+
}),
|
|
4436
|
+
"aria-controls": "panel1bh-content",
|
|
4437
|
+
id: "panel1bh-header",
|
|
4438
|
+
className: clsx(styles.additionalInfoTitle, (_clsx = {}, _clsx[styles.expandIconAlign] = defaultExpand === 'open', _clsx))
|
|
4439
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4440
|
+
container: true,
|
|
4441
|
+
className: clsx(styles.product_info, styles.sectionWrapper)
|
|
4442
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4443
|
+
item: true,
|
|
4444
|
+
sm: 12,
|
|
4445
|
+
md: 4,
|
|
4446
|
+
className: styles.titleContainer
|
|
4447
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUILabel, {
|
|
4448
|
+
label: "Additional information",
|
|
4449
|
+
headerType: true,
|
|
4450
|
+
description: "Passport, Membership, Travel preferences..."
|
|
4451
|
+
})))), /*#__PURE__*/React__default.createElement(iuistyles.IUIAccordionDetails, {
|
|
4452
|
+
className: styles.detailsContainer
|
|
4453
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4454
|
+
container: true,
|
|
4455
|
+
className: clsx(styles.work_info, styles.sectionWrapper)
|
|
4456
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4457
|
+
item: true,
|
|
4458
|
+
sm: 12,
|
|
4459
|
+
md: 4
|
|
4460
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUILabel, {
|
|
4461
|
+
label: "Passport information",
|
|
4462
|
+
headerType: true
|
|
4463
|
+
})), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4464
|
+
item: true,
|
|
4465
|
+
sm: 12,
|
|
4466
|
+
md: 8,
|
|
4467
|
+
lg: 8,
|
|
4468
|
+
xl: 6
|
|
4469
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4470
|
+
container: true,
|
|
4471
|
+
className: clsx(styles.formFieldsWrapper, styles.firstRowMargin)
|
|
4472
|
+
}, passportInfo.map(function (p, i) {
|
|
4473
|
+
var _clsx2;
|
|
4474
|
+
if (!p.visibility) {
|
|
4475
|
+
return null;
|
|
4476
|
+
}
|
|
4388
4477
|
return /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4389
|
-
container: true,
|
|
4390
|
-
className: clsx(styles.product_info, styles.sectionWrapper)
|
|
4391
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4392
4478
|
item: true,
|
|
4393
4479
|
sm: 12,
|
|
4394
|
-
md:
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4480
|
+
md: 12,
|
|
4481
|
+
lg: p.type === 'datepicker' ? 2 : p.fullWidth ? 12 : 6,
|
|
4482
|
+
xl: p.type === 'datepicker' ? 2 : p.fullWidth ? 12 : 6,
|
|
4483
|
+
key: i,
|
|
4484
|
+
className: clsx(styles.margin, (_clsx2 = {}, _clsx2[styles.minGridWidth] = p.type === 'datepicker', _clsx2))
|
|
4485
|
+
}, /*#__PURE__*/React__default.createElement(GetInputType, {
|
|
4486
|
+
_p: p,
|
|
4487
|
+
inputState: passportInfoInput,
|
|
4488
|
+
onValueChange: onPassportInfoInputChange,
|
|
4489
|
+
dropdownList: dropdownList,
|
|
4490
|
+
errorArray: errorArray,
|
|
4491
|
+
errorMsg: errorMsgs[p.name],
|
|
4492
|
+
dateFormat: dateFormat
|
|
4493
|
+
}));
|
|
4494
|
+
})))), /*#__PURE__*/React__default.createElement(iuistyles.IUIDivider, {
|
|
4495
|
+
className: styles.dividerColor
|
|
4496
|
+
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4497
|
+
container: true,
|
|
4498
|
+
className: clsx(styles.personal_info, styles.sectionWrapper)
|
|
4499
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4500
|
+
item: true,
|
|
4501
|
+
sm: 12,
|
|
4502
|
+
md: 4
|
|
4503
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUILabel, {
|
|
4504
|
+
label: "Membership information",
|
|
4505
|
+
headerType: true,
|
|
4506
|
+
description: "You can add up to " + maxMembershipInput + " membership details"
|
|
4507
|
+
})), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4508
|
+
item: true,
|
|
4509
|
+
sm: 12,
|
|
4510
|
+
md: 8,
|
|
4511
|
+
lg: 8,
|
|
4512
|
+
xl: 6
|
|
4513
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4514
|
+
container: true,
|
|
4515
|
+
className: styles.formFieldsWrapper
|
|
4516
|
+
}, membershipInfoInput.length === 0 && /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
|
|
4517
|
+
className: styles.emptyFieldContainer
|
|
4518
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUITypography, {
|
|
4519
|
+
className: styles.emptyFieldDescription
|
|
4520
|
+
}, "No membership details added yet"), /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
|
|
4521
|
+
className: clsx(styles.emptyFieldBtnContainer, styles.rowGap),
|
|
4522
|
+
display: "flex"
|
|
4523
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIButton, {
|
|
4524
|
+
buttonText: "Add airline",
|
|
4525
|
+
type: "text",
|
|
4526
|
+
startIcon: /*#__PURE__*/React__default.createElement(AddIcon, {
|
|
4527
|
+
width: "10",
|
|
4528
|
+
height: "10",
|
|
4529
|
+
color: "#EC5D25"
|
|
4530
|
+
}),
|
|
4531
|
+
className: styles.paddingTop,
|
|
4532
|
+
onClick: function onClick(e) {
|
|
4533
|
+
return addMemInfoInput('flight');
|
|
4534
|
+
}
|
|
4535
|
+
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIButton, {
|
|
4536
|
+
buttonText: "Add hotel",
|
|
4537
|
+
type: "text",
|
|
4538
|
+
startIcon: /*#__PURE__*/React__default.createElement(AddIcon, {
|
|
4539
|
+
width: "10",
|
|
4540
|
+
height: "10",
|
|
4541
|
+
color: "#EC5D25"
|
|
4542
|
+
}),
|
|
4543
|
+
className: styles.paddingTop,
|
|
4544
|
+
onClick: function onClick(e) {
|
|
4545
|
+
return addMemInfoInput('hotel');
|
|
4546
|
+
}
|
|
4547
|
+
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIButton, {
|
|
4548
|
+
buttonText: "Add car rental",
|
|
4549
|
+
type: "text",
|
|
4550
|
+
startIcon: /*#__PURE__*/React__default.createElement(AddIcon, {
|
|
4551
|
+
width: "10",
|
|
4552
|
+
height: "10",
|
|
4553
|
+
color: "#EC5D25"
|
|
4554
|
+
}),
|
|
4555
|
+
className: styles.paddingTop,
|
|
4556
|
+
onClick: function onClick(e) {
|
|
4557
|
+
return addMemInfoInput('rental_car');
|
|
4558
|
+
}
|
|
4559
|
+
}))), membershipInfoInput.length > 0 && membershipInfoInput.map(function (val, index) {
|
|
4560
|
+
if (index >= maxMembershipInput) {
|
|
4561
|
+
return null;
|
|
4562
|
+
}
|
|
4563
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, {
|
|
4564
|
+
key: index.toString()
|
|
4406
4565
|
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4407
4566
|
item: true,
|
|
4408
|
-
sm: 12,
|
|
4409
|
-
md: 4
|
|
4410
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUILabel, {
|
|
4411
|
-
label: "Passport information",
|
|
4412
|
-
headerType: true
|
|
4413
|
-
})), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4414
|
-
item: true,
|
|
4415
|
-
sm: 12,
|
|
4416
4567
|
md: 8,
|
|
4417
|
-
lg:
|
|
4568
|
+
lg: 6,
|
|
4418
4569
|
xl: 6
|
|
4419
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
var _clsx;
|
|
4424
|
-
if (!p.visibility) {
|
|
4425
|
-
return null;
|
|
4426
|
-
}
|
|
4427
|
-
return /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4428
|
-
item: true,
|
|
4429
|
-
sm: 12,
|
|
4430
|
-
md: 12,
|
|
4431
|
-
lg: p.type === 'datepicker' ? 2 : p.fullWidth ? 12 : 6,
|
|
4432
|
-
xl: p.type === 'datepicker' ? 2 : p.fullWidth ? 12 : 6,
|
|
4433
|
-
key: i,
|
|
4434
|
-
className: clsx(styles.margin, (_clsx = {}, _clsx[styles.minGridWidth] = p.type === 'datepicker', _clsx))
|
|
4435
|
-
}, /*#__PURE__*/React__default.createElement(GetInputType, {
|
|
4436
|
-
_p: p,
|
|
4437
|
-
inputState: passportInfoInput,
|
|
4438
|
-
onValueChange: onPassportInfoInputChange,
|
|
4439
|
-
dropdownList: dropdownList,
|
|
4440
|
-
errorArray: errorArray,
|
|
4441
|
-
errorMsg: errorMsgs[p.name],
|
|
4442
|
-
dateFormat: dateFormat
|
|
4443
|
-
}));
|
|
4444
|
-
})))), /*#__PURE__*/React__default.createElement(iuistyles.IUIDivider, {
|
|
4445
|
-
className: styles.dividerColor
|
|
4446
|
-
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4447
|
-
container: true,
|
|
4448
|
-
className: clsx(styles.personal_info, styles.sectionWrapper)
|
|
4449
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4450
|
-
item: true,
|
|
4451
|
-
sm: 12,
|
|
4452
|
-
md: 4
|
|
4453
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUILabel, {
|
|
4454
|
-
label: "Membership information",
|
|
4455
|
-
headerType: true,
|
|
4456
|
-
description: "You can add up to " + maxMembershipInput + " membership details"
|
|
4570
|
+
}, /*#__PURE__*/React__default.createElement(MembershipField, {
|
|
4571
|
+
val: val,
|
|
4572
|
+
index: index,
|
|
4573
|
+
key: index.toString()
|
|
4457
4574
|
})), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4458
4575
|
item: true,
|
|
4459
|
-
sm: 12,
|
|
4460
4576
|
md: 8,
|
|
4461
|
-
lg:
|
|
4577
|
+
lg: 6,
|
|
4462
4578
|
xl: 6
|
|
4463
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4464
|
-
container: true,
|
|
4465
|
-
className: styles.formFieldsWrapper
|
|
4466
|
-
}, membershipInfoInput.length === 0 && /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
|
|
4467
|
-
className: styles.emptyFieldContainer
|
|
4468
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUITypography, {
|
|
4469
|
-
className: styles.emptyFieldDescription
|
|
4470
|
-
}, "No membership details added yet"), /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
|
|
4471
|
-
className: clsx(styles.emptyFieldBtnContainer, styles.rowGap),
|
|
4472
|
-
display: "flex"
|
|
4473
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIButton, {
|
|
4474
|
-
buttonText: "Add airline",
|
|
4475
|
-
type: "text",
|
|
4476
|
-
startIcon: /*#__PURE__*/React__default.createElement(iuistyles.icons.Add, {
|
|
4477
|
-
width: "10",
|
|
4478
|
-
height: "10",
|
|
4479
|
-
color: "#EC5D25"
|
|
4480
|
-
}),
|
|
4481
|
-
className: styles.paddingTop,
|
|
4482
|
-
onClick: function onClick(e) {
|
|
4483
|
-
return addMemInfoInput('flight');
|
|
4484
|
-
}
|
|
4485
|
-
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIButton, {
|
|
4486
|
-
buttonText: "Add hotel",
|
|
4487
|
-
type: "text",
|
|
4488
|
-
startIcon: /*#__PURE__*/React__default.createElement(iuistyles.icons.Add, {
|
|
4489
|
-
width: "10",
|
|
4490
|
-
height: "10",
|
|
4491
|
-
color: "#EC5D25"
|
|
4492
|
-
}),
|
|
4493
|
-
className: styles.paddingTop,
|
|
4494
|
-
onClick: function onClick(e) {
|
|
4495
|
-
return addMemInfoInput('hotel');
|
|
4496
|
-
}
|
|
4497
|
-
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIButton, {
|
|
4498
|
-
buttonText: "Add car rental",
|
|
4499
|
-
type: "text",
|
|
4500
|
-
startIcon: /*#__PURE__*/React__default.createElement(iuistyles.icons.Add, {
|
|
4501
|
-
width: "10",
|
|
4502
|
-
height: "10",
|
|
4503
|
-
color: "#EC5D25"
|
|
4504
|
-
}),
|
|
4505
|
-
className: styles.paddingTop,
|
|
4506
|
-
onClick: function onClick(e) {
|
|
4507
|
-
return addMemInfoInput('rental_car');
|
|
4508
|
-
}
|
|
4509
|
-
}))), membershipInfoInput.length > 0 && membershipInfoInput.map(function (val, index) {
|
|
4510
|
-
if (index >= maxMembershipInput) {
|
|
4511
|
-
return null;
|
|
4512
|
-
}
|
|
4513
|
-
return /*#__PURE__*/React__default.createElement(React__default.Fragment, {
|
|
4514
|
-
key: index.toString()
|
|
4515
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4516
|
-
item: true,
|
|
4517
|
-
md: 8,
|
|
4518
|
-
lg: 6,
|
|
4519
|
-
xl: 6
|
|
4520
|
-
}, /*#__PURE__*/React__default.createElement(MembershipField, {
|
|
4521
|
-
val: val,
|
|
4522
|
-
index: index,
|
|
4523
|
-
key: index.toString()
|
|
4524
|
-
})), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4525
|
-
item: true,
|
|
4526
|
-
md: 8,
|
|
4527
|
-
lg: 6,
|
|
4528
|
-
xl: 6
|
|
4529
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
|
|
4530
|
-
component: "div",
|
|
4531
|
-
display: "flex"
|
|
4532
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIInput, {
|
|
4533
|
-
label: "Membership number",
|
|
4534
|
-
placeholder: "Enter membership number",
|
|
4535
|
-
fullwidth: false,
|
|
4536
|
-
defaultValue: val.number,
|
|
4537
|
-
onValueChange: function onValueChange(_ref6) {
|
|
4538
|
-
var _value = _ref6._value;
|
|
4539
|
-
return onMemInfoInputChange(index, 'number', _value);
|
|
4540
|
-
}
|
|
4541
|
-
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIIconButton, {
|
|
4542
|
-
style: {
|
|
4543
|
-
marginTop: '30px'
|
|
4544
|
-
},
|
|
4545
|
-
disableRipple: true,
|
|
4546
|
-
onClick: function onClick() {
|
|
4547
|
-
return handleRemoveMemFields(index);
|
|
4548
|
-
},
|
|
4549
|
-
className: styles.backGrdColorOnHover
|
|
4550
|
-
}, /*#__PURE__*/React__default.createElement(Cross, {
|
|
4551
|
-
width: "14",
|
|
4552
|
-
height: "14"
|
|
4553
|
-
})))));
|
|
4554
|
-
}), membershipInfoInput.length < maxMembershipInput && membershipInfoInput.length > 0 && /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4555
|
-
item: true,
|
|
4556
|
-
md: 8,
|
|
4557
|
-
lg: 8,
|
|
4558
|
-
xl: 8
|
|
4559
4579
|
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
|
|
4560
|
-
|
|
4580
|
+
component: "div",
|
|
4561
4581
|
display: "flex"
|
|
4562
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
className: styles.paddingTop,
|
|
4571
|
-
onClick: function onClick(e) {
|
|
4572
|
-
return addMemInfoInput('flight');
|
|
4573
|
-
}
|
|
4574
|
-
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIButton, {
|
|
4575
|
-
buttonText: "Add hotel",
|
|
4576
|
-
type: "text",
|
|
4577
|
-
startIcon: /*#__PURE__*/React__default.createElement(Add, {
|
|
4578
|
-
width: "10",
|
|
4579
|
-
height: "10",
|
|
4580
|
-
color: "#EC5D25"
|
|
4581
|
-
}),
|
|
4582
|
-
className: styles.paddingTop,
|
|
4583
|
-
onClick: function onClick(e) {
|
|
4584
|
-
return addMemInfoInput('hotel');
|
|
4585
|
-
}
|
|
4586
|
-
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIButton, {
|
|
4587
|
-
buttonText: "Add car rental",
|
|
4588
|
-
type: "text",
|
|
4589
|
-
startIcon: /*#__PURE__*/React__default.createElement(iuistyles.icons.Add, {
|
|
4590
|
-
width: "10",
|
|
4591
|
-
height: "10",
|
|
4592
|
-
color: "#EC5D25"
|
|
4593
|
-
}),
|
|
4594
|
-
className: styles.paddingTop,
|
|
4595
|
-
onClick: function onClick(e) {
|
|
4596
|
-
return addMemInfoInput('rental_car');
|
|
4597
|
-
}
|
|
4598
|
-
})))))), /*#__PURE__*/React__default.createElement(iuistyles.IUIDivider, {
|
|
4599
|
-
className: styles.dividerColor
|
|
4600
|
-
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4601
|
-
container: true,
|
|
4602
|
-
className: clsx(styles.personal_info, styles.sectionWrapper)
|
|
4603
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4604
|
-
item: true,
|
|
4605
|
-
sm: 12,
|
|
4606
|
-
md: 4
|
|
4607
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUILabel, {
|
|
4608
|
-
label: "Travel preferences",
|
|
4609
|
-
headerType: true
|
|
4610
|
-
})), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4611
|
-
item: true,
|
|
4612
|
-
sm: 12,
|
|
4613
|
-
md: 8,
|
|
4614
|
-
lg: 8,
|
|
4615
|
-
xl: 6
|
|
4616
|
-
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4617
|
-
container: true,
|
|
4618
|
-
className: clsx(styles.formFieldsWrapper, styles.firstRowMargin)
|
|
4619
|
-
}, travelPreference.map(function (p, i) {
|
|
4620
|
-
if (!p.visibility) {
|
|
4621
|
-
return null;
|
|
4582
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIInput, {
|
|
4583
|
+
label: "Membership number",
|
|
4584
|
+
placeholder: "Enter membership number",
|
|
4585
|
+
fullwidth: false,
|
|
4586
|
+
defaultValue: val.number,
|
|
4587
|
+
onValueChange: function onValueChange(_ref6) {
|
|
4588
|
+
var _value = _ref6._value;
|
|
4589
|
+
return onMemInfoInputChange(index, 'number', _value);
|
|
4622
4590
|
}
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4591
|
+
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIIconButton, {
|
|
4592
|
+
style: {
|
|
4593
|
+
marginTop: '30px'
|
|
4594
|
+
},
|
|
4595
|
+
disableRipple: true,
|
|
4596
|
+
onClick: function onClick() {
|
|
4597
|
+
return handleRemoveMemFields(index);
|
|
4598
|
+
},
|
|
4599
|
+
className: styles.backGrdColorOnHover
|
|
4600
|
+
}, /*#__PURE__*/React__default.createElement(CrossIcon, {
|
|
4601
|
+
width: "14",
|
|
4602
|
+
height: "14"
|
|
4603
|
+
})))));
|
|
4604
|
+
}), membershipInfoInput.length < maxMembershipInput && membershipInfoInput.length > 0 && /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4605
|
+
item: true,
|
|
4606
|
+
md: 8,
|
|
4607
|
+
lg: 8,
|
|
4608
|
+
xl: 8
|
|
4609
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
|
|
4610
|
+
className: clsx(styles.emptyFieldBtnContainer, styles.rowGap),
|
|
4611
|
+
display: "flex"
|
|
4612
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIButton, {
|
|
4613
|
+
buttonText: "Add airline",
|
|
4614
|
+
type: "text",
|
|
4615
|
+
startIcon: /*#__PURE__*/React__default.createElement(AddIcon, {
|
|
4616
|
+
width: "10",
|
|
4617
|
+
height: "10",
|
|
4618
|
+
color: "#EC5D25"
|
|
4619
|
+
}),
|
|
4620
|
+
className: styles.paddingTop,
|
|
4621
|
+
onClick: function onClick(e) {
|
|
4622
|
+
return addMemInfoInput('flight');
|
|
4623
|
+
}
|
|
4624
|
+
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIButton, {
|
|
4625
|
+
buttonText: "Add hotel",
|
|
4626
|
+
type: "text",
|
|
4627
|
+
startIcon: /*#__PURE__*/React__default.createElement(AddIcon, {
|
|
4628
|
+
width: "10",
|
|
4629
|
+
height: "10",
|
|
4630
|
+
color: "#EC5D25"
|
|
4631
|
+
}),
|
|
4632
|
+
className: styles.paddingTop,
|
|
4633
|
+
onClick: function onClick(e) {
|
|
4634
|
+
return addMemInfoInput('hotel');
|
|
4635
|
+
}
|
|
4636
|
+
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIButton, {
|
|
4637
|
+
buttonText: "Add car rental",
|
|
4638
|
+
type: "text",
|
|
4639
|
+
startIcon: /*#__PURE__*/React__default.createElement(AddIcon, {
|
|
4640
|
+
width: "10",
|
|
4641
|
+
height: "10",
|
|
4642
|
+
color: "#EC5D25"
|
|
4643
|
+
}),
|
|
4644
|
+
className: styles.paddingTop,
|
|
4645
|
+
onClick: function onClick(e) {
|
|
4646
|
+
return addMemInfoInput('rental_car');
|
|
4647
|
+
}
|
|
4648
|
+
})))))), /*#__PURE__*/React__default.createElement(iuistyles.IUIDivider, {
|
|
4649
|
+
className: styles.dividerColor
|
|
4650
|
+
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4651
|
+
container: true,
|
|
4652
|
+
className: clsx(styles.personal_info, styles.sectionWrapper)
|
|
4653
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4654
|
+
item: true,
|
|
4655
|
+
sm: 12,
|
|
4656
|
+
md: 4
|
|
4657
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUILabel, {
|
|
4658
|
+
label: "Travel preferences",
|
|
4659
|
+
headerType: true
|
|
4660
|
+
})), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4661
|
+
item: true,
|
|
4662
|
+
sm: 12,
|
|
4663
|
+
md: 8,
|
|
4664
|
+
lg: 8,
|
|
4665
|
+
xl: 6
|
|
4666
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4667
|
+
container: true,
|
|
4668
|
+
className: clsx(styles.formFieldsWrapper, styles.firstRowMargin)
|
|
4669
|
+
}, travelPreference.map(function (p, i) {
|
|
4670
|
+
if (!p.visibility) {
|
|
4671
|
+
return null;
|
|
4672
|
+
}
|
|
4673
|
+
return /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4645
4674
|
item: true,
|
|
4646
4675
|
sm: 12,
|
|
4647
|
-
md:
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4676
|
+
md: 12,
|
|
4677
|
+
lg: p.fullWidth ? 12 : 6,
|
|
4678
|
+
xl: p.fullWidth ? 12 : 6,
|
|
4679
|
+
key: i,
|
|
4680
|
+
className: clsx(styles.margin)
|
|
4681
|
+
}, /*#__PURE__*/React__default.createElement(GetInputType, {
|
|
4682
|
+
_p: p,
|
|
4683
|
+
inputState: travelPreferenceInfo,
|
|
4684
|
+
onValueChange: travelPreferenceOnChange,
|
|
4685
|
+
dropdownList: dropdownList,
|
|
4686
|
+
errorArray: errorArray,
|
|
4687
|
+
errorMsg: errorMsgs[p.name]
|
|
4688
|
+
}));
|
|
4689
|
+
})))), /*#__PURE__*/React__default.createElement(iuistyles.IUIDivider, {
|
|
4690
|
+
className: styles.dividerColor
|
|
4691
|
+
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4692
|
+
container: true,
|
|
4693
|
+
className: clsx(styles.personal_info, styles.sectionWrapper)
|
|
4694
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4695
|
+
item: true,
|
|
4696
|
+
sm: 12,
|
|
4697
|
+
md: 4
|
|
4698
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUILabel, {
|
|
4699
|
+
label: "Secure traveler information",
|
|
4700
|
+
headerType: true
|
|
4701
|
+
})), /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4702
|
+
item: true,
|
|
4703
|
+
sm: 12,
|
|
4704
|
+
md: 8,
|
|
4705
|
+
lg: 8,
|
|
4706
|
+
xl: 6
|
|
4707
|
+
}, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4708
|
+
container: true,
|
|
4709
|
+
className: clsx(styles.formFieldsWrapper, styles.firstRowMargin)
|
|
4710
|
+
}, secureTravelInfo.map(function (p, i) {
|
|
4711
|
+
if (!p.visibility) {
|
|
4712
|
+
return null;
|
|
4713
|
+
}
|
|
4714
|
+
return /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
4652
4715
|
item: true,
|
|
4653
4716
|
sm: 12,
|
|
4654
|
-
md:
|
|
4655
|
-
lg:
|
|
4656
|
-
xl: 6
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
md: 12,
|
|
4668
|
-
lg: p.fullWidth ? 12 : 6,
|
|
4669
|
-
xl: p.fullWidth ? 12 : 6,
|
|
4670
|
-
key: i,
|
|
4671
|
-
className: clsx(styles.margin)
|
|
4672
|
-
}, /*#__PURE__*/React__default.createElement(GetInputType, {
|
|
4673
|
-
_p: p,
|
|
4674
|
-
inputState: secureTravelInputInfo,
|
|
4675
|
-
onValueChange: onSecureTraveelerInfoInputChange,
|
|
4676
|
-
errorArray: errorArray,
|
|
4677
|
-
errorMsg: errorMsgs[p.name]
|
|
4678
|
-
}));
|
|
4679
|
-
})))));
|
|
4680
|
-
};
|
|
4681
|
-
return /*#__PURE__*/React__default.createElement(iuistyles.IUIAccordionMain, {
|
|
4682
|
-
expanded: defaultExpand === 'open',
|
|
4683
|
-
onChange: handleChange('open'),
|
|
4684
|
-
accordionClass: styles.additionalInfoContainer,
|
|
4685
|
-
summaryComponent: getAccordianSummary(),
|
|
4686
|
-
summaryClass: clsx(styles.additionalInfoTitle, (_clsx2 = {}, _clsx2[styles.expandIconAlign] = defaultExpand === 'open', _clsx2)),
|
|
4687
|
-
expandIcon: defaultExpand ? /*#__PURE__*/React__default.createElement(ExpandLess, {
|
|
4688
|
-
width: "12px",
|
|
4689
|
-
height: "7px"
|
|
4690
|
-
}) : /*#__PURE__*/React__default.createElement(ExpandMore, {
|
|
4691
|
-
width: "12px",
|
|
4692
|
-
height: "7px"
|
|
4693
|
-
}),
|
|
4694
|
-
detailsComponent: getAccordianDetails(),
|
|
4695
|
-
detailsClass: styles.detailsContainer
|
|
4696
|
-
});
|
|
4717
|
+
md: 12,
|
|
4718
|
+
lg: p.fullWidth ? 12 : 6,
|
|
4719
|
+
xl: p.fullWidth ? 12 : 6,
|
|
4720
|
+
key: i,
|
|
4721
|
+
className: clsx(styles.margin)
|
|
4722
|
+
}, /*#__PURE__*/React__default.createElement(GetInputType, {
|
|
4723
|
+
_p: p,
|
|
4724
|
+
inputState: secureTravelInputInfo,
|
|
4725
|
+
onValueChange: onSecureTraveelerInfoInputChange,
|
|
4726
|
+
errorArray: errorArray,
|
|
4727
|
+
errorMsg: errorMsgs[p.name]
|
|
4728
|
+
}));
|
|
4729
|
+
}))))));
|
|
4697
4730
|
};
|
|
4698
4731
|
|
|
4699
4732
|
var styles$3 = {"root":"_b_muK","minWidth":"_3OQXs","bullet":"_1Q5vL","pos":"_6wGWA","cardHeader":"_SWCfJ","pageHeader":"_2ZeWp","buttonHover":"_2Iuy1","cardHeaderBackground":"_3NJWF","actionCustom":"_3Kbfm"};
|
|
@@ -6777,7 +6810,7 @@ var fetchBulkactionHistory = function fetchBulkactionHistory(url) {
|
|
|
6777
6810
|
};
|
|
6778
6811
|
};
|
|
6779
6812
|
|
|
6780
|
-
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","
|
|
6813
|
+
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"};
|
|
6781
6814
|
|
|
6782
6815
|
var BulkUploadModal = function BulkUploadModal(props) {
|
|
6783
6816
|
var isOpenImportUsersModal = props.isOpenImportUsersModal,
|
|
@@ -8038,19 +8071,6 @@ var BulkDownloadIcon = function BulkDownloadIcon(props) {
|
|
|
8038
8071
|
|
|
8039
8072
|
var classes = {"containedBtn":"_2A4_u","customMiniBox":"_QGIKG","muiBtn":"_3iFbO","outlinedBtn":"_3lQYD","menuList":"_1C8bJ","menuListContainer":"_1N83W","menuItemContainer":"_3VtcE","menuItemtext":"_2xqnU","subTxt":"_3CVzX"};
|
|
8040
8073
|
|
|
8041
|
-
var ExpandMoreIcon = function ExpandMoreIcon(props) {
|
|
8042
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
8043
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
8044
|
-
width: props.width,
|
|
8045
|
-
height: props.height,
|
|
8046
|
-
fill: "none",
|
|
8047
|
-
viewBox: "0 0 12 7"
|
|
8048
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
8049
|
-
fill: "#6B7280",
|
|
8050
|
-
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"
|
|
8051
|
-
}));
|
|
8052
|
-
};
|
|
8053
|
-
|
|
8054
8074
|
var DropdownBtn = function DropdownBtn(props) {
|
|
8055
8075
|
var _clsx;
|
|
8056
8076
|
var _props$buttonText = props.buttonText,
|
|
@@ -8685,12 +8705,18 @@ var UserList = function UserList(_ref2) {
|
|
|
8685
8705
|
var _useState10 = React.useState(false),
|
|
8686
8706
|
isApiFetching = _useState10[0],
|
|
8687
8707
|
setisApiFetching = _useState10[1];
|
|
8688
|
-
var _useState11 = React.useState(
|
|
8689
|
-
|
|
8690
|
-
|
|
8691
|
-
|
|
8692
|
-
|
|
8693
|
-
|
|
8708
|
+
var _useState11 = React.useState({
|
|
8709
|
+
value: '',
|
|
8710
|
+
label: 'Select approver'
|
|
8711
|
+
}),
|
|
8712
|
+
travelFYI = _useState11[0],
|
|
8713
|
+
setTravelFYI = _useState11[1];
|
|
8714
|
+
var _useState12 = React.useState(false),
|
|
8715
|
+
showInviteModal = _useState12[0],
|
|
8716
|
+
setToggleInviteModal = _useState12[1];
|
|
8717
|
+
var _useState13 = React.useState(''),
|
|
8718
|
+
userIds = _useState13[0],
|
|
8719
|
+
setUserIds = _useState13[1];
|
|
8694
8720
|
var _React$useState6 = React__default.useState(false),
|
|
8695
8721
|
overlayMenu = _React$useState6[0],
|
|
8696
8722
|
setOverlayMenu = _React$useState6[1];
|
|
@@ -8717,40 +8743,34 @@ var UserList = function UserList(_ref2) {
|
|
|
8717
8743
|
var _React$useState7 = React__default.useState(1),
|
|
8718
8744
|
signup_page = _React$useState7[0],
|
|
8719
8745
|
setSignUpPage = _React$useState7[1];
|
|
8720
|
-
var
|
|
8721
|
-
signup_rowsPerPage =
|
|
8722
|
-
setSignUpRowsPerPage =
|
|
8746
|
+
var _useState14 = React.useState(5),
|
|
8747
|
+
signup_rowsPerPage = _useState14[0],
|
|
8748
|
+
setSignUpRowsPerPage = _useState14[1];
|
|
8723
8749
|
var _React$useState8 = React__default.useState('asc'),
|
|
8724
8750
|
signup_order = _React$useState8[0],
|
|
8725
8751
|
setSignUpOrder = _React$useState8[1];
|
|
8726
8752
|
var _React$useState9 = React__default.useState('fname'),
|
|
8727
8753
|
signup_orderBy = _React$useState9[0],
|
|
8728
8754
|
setSignUpOrderBy = _React$useState9[1];
|
|
8729
|
-
var
|
|
8730
|
-
signup_searchValue =
|
|
8731
|
-
set_signup_SearchValue =
|
|
8732
|
-
var _useState15 = React.useState(false),
|
|
8733
|
-
isSignUpSortingChange = _useState15[0],
|
|
8734
|
-
setSignUpSortingChange = _useState15[1];
|
|
8755
|
+
var _useState15 = React.useState(''),
|
|
8756
|
+
signup_searchValue = _useState15[0],
|
|
8757
|
+
set_signup_SearchValue = _useState15[1];
|
|
8735
8758
|
var _useState16 = React.useState(false),
|
|
8736
|
-
|
|
8737
|
-
|
|
8759
|
+
isSignUpSortingChange = _useState16[0],
|
|
8760
|
+
setSignUpSortingChange = _useState16[1];
|
|
8738
8761
|
var _useState17 = React.useState(false),
|
|
8739
|
-
|
|
8740
|
-
|
|
8762
|
+
isSignUpSearchingChange = _useState17[0],
|
|
8763
|
+
setSignUpSearchingChange = _useState17[1];
|
|
8741
8764
|
var _useState18 = React.useState(false),
|
|
8742
|
-
|
|
8743
|
-
|
|
8765
|
+
isSignUpSortingChangeTemp = _useState18[0],
|
|
8766
|
+
setSignUpSortingChangeTemp = _useState18[1];
|
|
8767
|
+
var _useState19 = React.useState(false),
|
|
8768
|
+
isSignUpSearchingChangeTemp = _useState19[0],
|
|
8769
|
+
setSignUpSearchingChangeTemp = _useState19[1];
|
|
8744
8770
|
var _useSelector3 = reactRedux.useSelector(function (state) {
|
|
8745
8771
|
return state.userList;
|
|
8746
8772
|
}),
|
|
8747
8773
|
signupRequestListInfo = _useSelector3.signupRequestListInfo;
|
|
8748
|
-
var _useState19 = React.useState({
|
|
8749
|
-
value: '',
|
|
8750
|
-
label: 'Select approver'
|
|
8751
|
-
}),
|
|
8752
|
-
travelFYI = _useState19[0],
|
|
8753
|
-
setTravelFYI = _useState19[1];
|
|
8754
8774
|
var openDeactivateModal = function openDeactivateModal() {
|
|
8755
8775
|
if (Object.values(selected).flat().length === 0 || Object.values(selected).flat() === undefined) {
|
|
8756
8776
|
IUIToastMessageService$7.warningNotify('Select at least one user to deactivate.');
|