@itilite/iui-user-management 0.0.7 → 0.0.8

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.
@@ -1,4 +1,4 @@
1
- import { IUIAsyncSelect, IUIBox, IUILabel, IUIFileUpload, IUICheckboxButton, IUIPhone, IUISelect, IUIDatePicker, IUIInput, IUIDivider, IUIGrid, IUITypography, IUIRadio, IUIButton, IUIModal, IUIAccordion, IUIAccordionSummary, IUIAccordionDetails, IUIIconButton, IUICard, IUIBackdrop, IUICircularProgress, IUIBreadCrumb, IUIDropzone, IUIStepper, IUIFormControlLabel, IUICheckBox, IUITable, IUISkeleton, IUIFormGroup, IUIDropdownButton } from '@itilite/iuistyles';
1
+ import { IUIAsyncSelect, IUIBox, IUILabel, IUIFileUpload, IUICheckboxButton, IUIPhone, IUISelect, IUIDatePicker, IUIInput, IUIDivider, IUIGrid, IUITypography, IUIRadio, IUIButton, IUIModal, IUIAccordion, IUIAccordionSummary, IUIAccordionDetails, IUIIconButton, IUICard, IUIBackdrop, IUICircularProgress, IUIBreadCrumb, IUIDropzone, IUIStepper, IUIFormControlLabel, IUICheckBox, IUIPrimaryRadio, IUITable, IUISkeleton, IUIFormGroup, IUIDropdownButton } from '@itilite/iuistyles';
2
2
  import React, { useState, useEffect, Fragment as Fragment$1 } from 'react';
3
3
  import { configs, services, utilUrls } from '@itilite/utils';
4
4
  import moment from 'moment';
@@ -6827,8 +6827,8 @@ var UserBulkUpload = function UserBulkUpload(_ref) {
6827
6827
  };
6828
6828
 
6829
6829
  var CustomStepIcon = function CustomStepIcon(step) {
6830
- if ((importStatus === 1 || importStatus === 2 || importStatus === 4) && step.step === Number(activeStep)) {
6831
- return /*#__PURE__*/React.createElement(IUIRadio, {
6830
+ if ((importStatus === 1 || importStatus === 2 || importStatus === 4) && step === Number(activeStep)) {
6831
+ return /*#__PURE__*/React.createElement(IUIPrimaryRadio, {
6832
6832
  checked: true,
6833
6833
  className: clsx(styles$4.customRadioEach),
6834
6834
  size: "small",
@@ -6836,16 +6836,16 @@ var UserBulkUpload = function UserBulkUpload(_ref) {
6836
6836
  });
6837
6837
  }
6838
6838
 
6839
- if ((importStatus === 1 || importStatus === 2 || importStatus === 4) && step.step !== Number(activeStep)) {
6840
- return /*#__PURE__*/React.createElement(IUIRadio, {
6839
+ if ((importStatus === 1 || importStatus === 2 || importStatus === 4) && step !== Number(activeStep)) {
6840
+ return /*#__PURE__*/React.createElement(IUIPrimaryRadio, {
6841
6841
  className: clsx(styles$4.customRadioEach),
6842
6842
  size: "small",
6843
6843
  disabled: true
6844
6844
  });
6845
6845
  }
6846
6846
 
6847
- if (importStatus === 3 && step.step === Number(activeStep)) {
6848
- return /*#__PURE__*/React.createElement(IUIRadio, {
6847
+ if (importStatus === 3 && step === Number(activeStep)) {
6848
+ return /*#__PURE__*/React.createElement(IUIPrimaryRadio, {
6849
6849
  checked: true,
6850
6850
  className: clsx(styles$4.customRadioEach),
6851
6851
  size: "small",
@@ -6853,7 +6853,7 @@ var UserBulkUpload = function UserBulkUpload(_ref) {
6853
6853
  });
6854
6854
  }
6855
6855
 
6856
- if (importStatus === 3 && step.step !== Number(activeStep)) {
6856
+ if (importStatus === 3 && step !== Number(activeStep)) {
6857
6857
  return /*#__PURE__*/React.createElement(CheckCircleIcon, {
6858
6858
  width: "20",
6859
6859
  height: "20",
@@ -6958,7 +6958,7 @@ var UserBulkUpload = function UserBulkUpload(_ref) {
6958
6958
  activeStep: activeStep,
6959
6959
  nonLinear: true,
6960
6960
  className: styles$4.stepper,
6961
- icon: /*#__PURE__*/React.createElement(CustomStepIcon, null),
6961
+ CustomStepIcon: CustomStepIcon,
6962
6962
  steps: steps
6963
6963
  }), importStatus === 1 && /*#__PURE__*/React.createElement(IUIBox, {
6964
6964
  display: "flex",
@@ -7138,7 +7138,7 @@ var UserBulkUpload = function UserBulkUpload(_ref) {
7138
7138
  }, /*#__PURE__*/React.createElement(IUIFormControlLabel, {
7139
7139
  control: /*#__PURE__*/React.createElement(IUICheckBox, {
7140
7140
  handleCheckBoxHandler: handleExistingUserUpdation,
7141
- checkboxFlag: canUpdateExistingUsers
7141
+ checked: canUpdateExistingUsers
7142
7142
  }),
7143
7143
  label: "Update any existing users",
7144
7144
  className: clsx(styles$4.checkboxlabel, (_clsx5 = {}, _clsx5[styles$4.disabledText] = +userBulkImportInfo.exist_users === 0, _clsx5)),