@salesgenterp/ui-components 0.4.23 → 0.4.24

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.
@@ -16,10 +16,10 @@ import TableSortLabel from '@mui/material/TableSortLabel';
16
16
  import { BiArrowBack, BiNotepad, BiLockAlt, BiWallet } from 'react-icons/bi';
17
17
  import { CgProfile } from 'react-icons/cg';
18
18
  import { MdOutlineCircle, MdOutlineDateRange, MdOutlineStickyNote2 } from 'react-icons/md';
19
- import { IoPersonOutline } from 'react-icons/io5';
20
19
  import { Controller, useForm } from 'react-hook-form';
21
20
  import { HiOutlineChevronDown } from 'react-icons/hi';
22
21
  import { FiTruck } from 'react-icons/fi';
22
+ import { IoPersonOutline } from 'react-icons/io5';
23
23
 
24
24
  function _extends() {
25
25
  _extends = Object.assign ? Object.assign.bind() : function (target) {
@@ -2047,17 +2047,17 @@ var CheckoutInput = function CheckoutInput(_ref) {
2047
2047
  autoFocus = _controlls$autoFocus === void 0 ? false : _controlls$autoFocus,
2048
2048
  showIcon = controlls.showIcon,
2049
2049
  type = controlls.type;
2050
- return /*#__PURE__*/React.createElement(TextFeildContainer, null, /*#__PURE__*/React.createElement(Controller, _extends({}, controlls, {
2050
+ return /*#__PURE__*/React__default.createElement(TextFeildContainer, null, /*#__PURE__*/React__default.createElement(Controller, _extends({}, controlls, {
2051
2051
  defaultValue: "",
2052
2052
  render: function render(_ref2) {
2053
2053
  var field = _ref2.field;
2054
- return /*#__PURE__*/React.createElement(TextField, _extends({
2054
+ return /*#__PURE__*/React__default.createElement(TextField, _extends({
2055
2055
  placeholder: placeholder,
2056
2056
  variant: "outlined",
2057
2057
  required: true,
2058
2058
  size: "small",
2059
2059
  InputProps: showIcon ? {
2060
- startAdornment: /*#__PURE__*/React.createElement(InputAdornment, {
2060
+ startAdornment: /*#__PURE__*/React__default.createElement(InputAdornment, {
2061
2061
  position: "start"
2062
2062
  }, showIcon())
2063
2063
  } : {},
@@ -2080,15 +2080,15 @@ var CheckoutSelect = function CheckoutSelect(_ref3) {
2080
2080
  val = _controlls$val === void 0 ? 'id' : _controlls$val,
2081
2081
  _controlls$autoFocus2 = controlls.autoFocus,
2082
2082
  autoFocus = _controlls$autoFocus2 === void 0 ? false : _controlls$autoFocus2;
2083
- return /*#__PURE__*/React.createElement(TextFeildContainer, {
2083
+ return /*#__PURE__*/React__default.createElement(TextFeildContainer, {
2084
2084
  select: true
2085
- }, /*#__PURE__*/React.createElement(Controller, {
2085
+ }, /*#__PURE__*/React__default.createElement(Controller, {
2086
2086
  control: control,
2087
2087
  name: name,
2088
2088
  defaultValue: "",
2089
2089
  render: function render(_ref4) {
2090
2090
  var field = _ref4.field;
2091
- return /*#__PURE__*/React.createElement(TextField, _extends({
2091
+ return /*#__PURE__*/React__default.createElement(TextField, _extends({
2092
2092
  fullWidth: true,
2093
2093
  label: placeholder,
2094
2094
  select: true,
@@ -2096,7 +2096,7 @@ var CheckoutSelect = function CheckoutSelect(_ref3) {
2096
2096
  size: "small",
2097
2097
  autoFocus: autoFocus
2098
2098
  }, field), key && (List === null || List === void 0 ? void 0 : List.map(function (item, i) {
2099
- return /*#__PURE__*/React.createElement(MenuItem, {
2099
+ return /*#__PURE__*/React__default.createElement(MenuItem, {
2100
2100
  key: i,
2101
2101
  value: item[val]
2102
2102
  }, item[key]);