@secondstaxorg/sscomp 1.8.99 → 1.9.1

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.
Files changed (49) hide show
  1. package/dist/index.es.js +1 -1
  2. package/dist/index.es.js.map +1 -1
  3. package/dist/index.js +138 -77
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/package.json +1 -1
  8. package/types/components/AppActionsTable/type.d.ts +3 -0
  9. package/types/components/AppFormsTable/type.d.ts +3 -0
  10. package/types/components/AppModulesTable/type.d.ts +3 -0
  11. package/types/components/BankAccounts/type.d.ts +3 -0
  12. package/types/components/BidsCards/type.d.ts +3 -0
  13. package/types/components/BrokersTable/type.d.ts +3 -0
  14. package/types/components/CookieConsent/type.d.ts +3 -0
  15. package/types/components/CountrySelector/type.d.ts +3 -0
  16. package/types/components/CurrencyPairs/type.d.ts +3 -0
  17. package/types/components/DatePicker/type.d.ts +3 -0
  18. package/types/components/DateRangePicker/type.d.ts +11 -0
  19. package/types/components/DocumentViewer/type.d.ts +3 -0
  20. package/types/components/DropdownList/type.d.ts +3 -0
  21. package/types/components/ExchangeRates/type.d.ts +3 -0
  22. package/types/components/FileUpload/type.d.ts +3 -0
  23. package/types/components/Indices/type.d.ts +3 -0
  24. package/types/components/LPRequestTable/type.d.ts +3 -0
  25. package/types/components/MarketData/type.d.ts +3 -0
  26. package/types/components/MarketMovers/type.d.ts +3 -0
  27. package/types/components/NewsFilterBar/type.d.ts +3 -0
  28. package/types/components/NumberField/type.d.ts +3 -0
  29. package/types/components/OffersCard/type.d.ts +3 -0
  30. package/types/components/Pagination/type.d.ts +3 -0
  31. package/types/components/PasswordField/type.d.ts +3 -0
  32. package/types/components/PaymentMethodsTable/type.d.ts +3 -0
  33. package/types/components/PhoneInput/type.d.ts +3 -0
  34. package/types/components/ProvidersTable/type.d.ts +3 -0
  35. package/types/components/RateHistory/type.d.ts +3 -0
  36. package/types/components/ReportsTable/type.d.ts +3 -0
  37. package/types/components/RequestForm/type.d.ts +3 -0
  38. package/types/components/SearchResultsBar/type.d.ts +3 -0
  39. package/types/components/Selector/types.d.ts +3 -0
  40. package/types/components/SideModal/type.d.ts +3 -0
  41. package/types/components/SignatureField/type.d.ts +3 -0
  42. package/types/components/TextArea/type.d.ts +3 -0
  43. package/types/components/TextField/type.d.ts +3 -0
  44. package/types/components/TransactionDetails/type.d.ts +3 -0
  45. package/types/components/TransactionDetailsWithPayment/type.d.ts +3 -0
  46. package/types/components/UpdateUserActions/type.d.ts +3 -0
  47. package/types/components/UserActions/type.d.ts +3 -0
  48. package/types/components/UserRolesTable/type.d.ts +3 -0
  49. package/types/components/UsersTable/type.d.ts +3 -0
package/dist/index.js CHANGED
@@ -18131,7 +18131,7 @@ const _jsxFileName$U = "D:\\SSX\\Project\\Component Library\\sscomp\\src\\compon
18131
18131
  /**
18132
18132
  * Component for picking date ranges
18133
18133
  */
18134
- const DateRangePicker = ({ selectedDateRange,label,subtext ,placeholder,showActionButtons,width,readonly,disablePastDays,disableFutureDays,labelOverrides}) => {
18134
+ const DateRangePicker = ({ selectedDateRange,label,subtext ,placeholder,showActionButtons,width,readonly,disablePastDays,disableFutureDays,labelOverrides,hidePickerInput,triggerClass}) => {
18135
18135
  // const [startMonth, setStartMonth] = useState<Date>(new Date())
18136
18136
  const [startMonth, setStartMonth] = React$1.useState(()=>{
18137
18137
  const startMo = new Date();
@@ -18151,6 +18151,28 @@ const DateRangePicker = ({ selectedDateRange,label,subtext ,placeholder,showActi
18151
18151
  const [toggleStartYearPicker,setToggleStartYearPicker] = React$1.useState(false);
18152
18152
  const [toggleEndYearPicker,setToggleEndYearPicker] = React$1.useState(false);
18153
18153
 
18154
+ React$1.useEffect(()=>{
18155
+ function openCalendar(){
18156
+ setTimeout(()=>{
18157
+ setShowCalendar(true);
18158
+ },1);
18159
+ }
18160
+
18161
+ if (hidePickerInput && triggerClass){
18162
+ const triggers = document.querySelectorAll(`.${triggerClass}`);
18163
+
18164
+ triggers.forEach((trigger) =>{
18165
+ trigger.addEventListener('click',openCalendar);
18166
+ });
18167
+
18168
+ return ()=>{
18169
+ triggers.forEach((trigger) =>{
18170
+ trigger.removeEventListener('click',openCalendar);
18171
+ });
18172
+ }
18173
+ }
18174
+ },[]);
18175
+
18154
18176
  function clickOutside(e) {
18155
18177
  const calendarComponent = document.querySelector('.datepicker-comp');
18156
18178
  const yearMonthHeader = document.querySelector('.year-view');
@@ -18259,17 +18281,17 @@ const DateRangePicker = ({ selectedDateRange,label,subtext ,placeholder,showActi
18259
18281
  if (readonly) return
18260
18282
  setShowCalendar(true);
18261
18283
  },3);
18262
- }, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 131}}, i));
18284
+ }, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 153}}, i));
18263
18285
  }
18264
18286
  return years
18265
18287
  };
18266
18288
 
18267
18289
  return (
18268
- React$1.createElement(YearPickerContainer, {__self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 145}}
18269
- , React$1.createElement('div', { className: "header cal-header" , __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 146}}
18270
- , React$1.createElement('button', { type: "button", onClick: handlePreviousRange, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 147}}
18271
- , React$1.createElement('svg', { width: "20", height: "20", viewBox: "0 0 20 20" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 148}}
18272
- , React$1.createElement('path', { d: "M6.29 9.29C6.19896 9.3851 6.12759 9.49725 6.08 9.62C5.97998 9.86346 5.97998 10.1365 6.08 10.38C6.12759 10.5028 6.19896 10.6149 6.29 10.71L9.29 13.71C9.4783 13.8983 9.7337 14.0041 10 14.0041C10.2663 14.0041 10.5217 13.8983 10.71 13.71C10.8983 13.5217 11.0041 13.2663 11.0041 13C11.0041 12.7337 10.8983 12.4783 10.71 12.29L9.41 11H13C13.2652 11 13.5196 10.8946 13.7071 10.7071C13.8946 10.5196 14 10.2652 14 10C14 9.73478 13.8946 9.48043 13.7071 9.29289C13.5196 9.10536 13.2652 9 13 9H9.41L10.71 7.71C10.8037 7.61704 10.8781 7.50644 10.9289 7.38458C10.9797 7.26272 11.0058 7.13201 11.0058 7C11.0058 6.86799 10.9797 6.73728 10.9289 6.61542C10.8781 6.49356 10.8037 6.38296 10.71 6.29C10.617 6.19627 10.5064 6.12188 10.3846 6.07111C10.2627 6.02034 10.132 5.9942 10 5.9942C9.86799 5.9942 9.73728 6.02034 9.61542 6.07111C9.49356 6.12188 9.38296 6.19627 9.29 6.29L6.29 9.29ZM0 10C0 11.9778 0.58649 13.9112 1.6853 15.5557C2.78412 17.2002 4.3459 18.4819 6.17317 19.2388C8.00043 19.9957 10.0111 20.1937 11.9509 19.8079C13.8907 19.422 15.6725 18.4696 17.0711 17.0711C18.4696 15.6725 19.422 13.8907 19.8079 11.9509C20.1937 10.0111 19.9957 8.00043 19.2388 6.17317C18.4819 4.3459 17.2002 2.78412 15.5557 1.6853C13.9112 0.58649 11.9778 0 10 0C8.68678 0 7.38642 0.258658 6.17317 0.761205C4.95991 1.26375 3.85752 2.00035 2.92893 2.92893C1.05357 4.8043 0 7.34784 0 10ZM18 10C18 11.5823 17.5308 13.129 16.6518 14.4446C15.7727 15.7602 14.5233 16.7855 13.0615 17.391C11.5997 17.9965 9.99113 18.155 8.43928 17.8463C6.88743 17.5376 5.46197 16.7757 4.34315 15.6569C3.22433 14.538 2.4624 13.1126 2.15372 11.5607C1.84504 10.0089 2.00346 8.40034 2.60896 6.93853C3.21447 5.47672 4.23984 4.22729 5.55544 3.34824C6.87103 2.46919 8.41775 2 10 2C12.1217 2 14.1566 2.84285 15.6569 4.34315C17.1571 5.84344 18 7.87827 18 10Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 149}})
18290
+ React$1.createElement(YearPickerContainer, {__self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 167}}
18291
+ , React$1.createElement('div', { className: "header cal-header" , __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 168}}
18292
+ , React$1.createElement('button', { type: "button", onClick: handlePreviousRange, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 169}}
18293
+ , React$1.createElement('svg', { width: "20", height: "20", viewBox: "0 0 20 20" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 170}}
18294
+ , React$1.createElement('path', { d: "M6.29 9.29C6.19896 9.3851 6.12759 9.49725 6.08 9.62C5.97998 9.86346 5.97998 10.1365 6.08 10.38C6.12759 10.5028 6.19896 10.6149 6.29 10.71L9.29 13.71C9.4783 13.8983 9.7337 14.0041 10 14.0041C10.2663 14.0041 10.5217 13.8983 10.71 13.71C10.8983 13.5217 11.0041 13.2663 11.0041 13C11.0041 12.7337 10.8983 12.4783 10.71 12.29L9.41 11H13C13.2652 11 13.5196 10.8946 13.7071 10.7071C13.8946 10.5196 14 10.2652 14 10C14 9.73478 13.8946 9.48043 13.7071 9.29289C13.5196 9.10536 13.2652 9 13 9H9.41L10.71 7.71C10.8037 7.61704 10.8781 7.50644 10.9289 7.38458C10.9797 7.26272 11.0058 7.13201 11.0058 7C11.0058 6.86799 10.9797 6.73728 10.9289 6.61542C10.8781 6.49356 10.8037 6.38296 10.71 6.29C10.617 6.19627 10.5064 6.12188 10.3846 6.07111C10.2627 6.02034 10.132 5.9942 10 5.9942C9.86799 5.9942 9.73728 6.02034 9.61542 6.07111C9.49356 6.12188 9.38296 6.19627 9.29 6.29L6.29 9.29ZM0 10C0 11.9778 0.58649 13.9112 1.6853 15.5557C2.78412 17.2002 4.3459 18.4819 6.17317 19.2388C8.00043 19.9957 10.0111 20.1937 11.9509 19.8079C13.8907 19.422 15.6725 18.4696 17.0711 17.0711C18.4696 15.6725 19.422 13.8907 19.8079 11.9509C20.1937 10.0111 19.9957 8.00043 19.2388 6.17317C18.4819 4.3459 17.2002 2.78412 15.5557 1.6853C13.9112 0.58649 11.9778 0 10 0C8.68678 0 7.38642 0.258658 6.17317 0.761205C4.95991 1.26375 3.85752 2.00035 2.92893 2.92893C1.05357 4.8043 0 7.34784 0 10ZM18 10C18 11.5823 17.5308 13.129 16.6518 14.4446C15.7727 15.7602 14.5233 16.7855 13.0615 17.391C11.5997 17.9965 9.99113 18.155 8.43928 17.8463C6.88743 17.5376 5.46197 16.7757 4.34315 15.6569C3.22433 14.538 2.4624 13.1126 2.15372 11.5607C1.84504 10.0089 2.00346 8.40034 2.60896 6.93853C3.21447 5.47672 4.23984 4.22729 5.55544 3.34824C6.87103 2.46919 8.41775 2 10 2C12.1217 2 14.1566 2.84285 15.6569 4.34315C17.1571 5.84344 18 7.87827 18 10Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 171}})
18273
18295
  )
18274
18296
  )
18275
18297
  , React$1.createElement('button', { type: "button", className: "month-year", onClick: ()=>{
@@ -18278,19 +18300,19 @@ const DateRangePicker = ({ selectedDateRange,label,subtext ,placeholder,showActi
18278
18300
  if (readonly) return
18279
18301
  setShowCalendar(true);
18280
18302
  },3);
18281
- }, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 152}}
18303
+ }, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 174}}
18282
18304
  , monthYear
18283
- , React$1.createElement('svg', { className: "year-view", width: "12", height: "8", viewBox: "0 0 12 8" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 160}}
18284
- , React$1.createElement('path', { d: "M11 1.17C10.8126 0.983753 10.5592 0.879211 10.295 0.879211C10.0308 0.879211 9.77737 0.983753 9.59001 1.17L6.00001 4.71L2.46001 1.17C2.27265 0.983753 2.0192 0.879211 1.75501 0.879211C1.49082 0.879211 1.23737 0.983753 1.05001 1.17C0.956281 1.26297 0.881887 1.37357 0.831118 1.49543C0.780349 1.61729 0.754211 1.74799 0.754211 1.88C0.754211 2.01202 0.780349 2.14272 0.831118 2.26458C0.881887 2.38644 0.956281 2.49704 1.05001 2.59L5.29001 6.83C5.38297 6.92373 5.49357 6.99813 5.61543 7.04889C5.73729 7.09966 5.868 7.1258 6.00001 7.1258C6.13202 7.1258 6.26273 7.09966 6.38459 7.04889C6.50645 6.99813 6.61705 6.92373 6.71001 6.83L11 2.59C11.0937 2.49704 11.1681 2.38644 11.2189 2.26458C11.2697 2.14272 11.2958 2.01202 11.2958 1.88C11.2958 1.74799 11.2697 1.61729 11.2189 1.49543C11.1681 1.37357 11.0937 1.26297 11 1.17Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 161}})
18305
+ , React$1.createElement('svg', { className: "year-view", width: "12", height: "8", viewBox: "0 0 12 8" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 182}}
18306
+ , React$1.createElement('path', { d: "M11 1.17C10.8126 0.983753 10.5592 0.879211 10.295 0.879211C10.0308 0.879211 9.77737 0.983753 9.59001 1.17L6.00001 4.71L2.46001 1.17C2.27265 0.983753 2.0192 0.879211 1.75501 0.879211C1.49082 0.879211 1.23737 0.983753 1.05001 1.17C0.956281 1.26297 0.881887 1.37357 0.831118 1.49543C0.780349 1.61729 0.754211 1.74799 0.754211 1.88C0.754211 2.01202 0.780349 2.14272 0.831118 2.26458C0.881887 2.38644 0.956281 2.49704 1.05001 2.59L5.29001 6.83C5.38297 6.92373 5.49357 6.99813 5.61543 7.04889C5.73729 7.09966 5.868 7.1258 6.00001 7.1258C6.13202 7.1258 6.26273 7.09966 6.38459 7.04889C6.50645 6.99813 6.61705 6.92373 6.71001 6.83L11 2.59C11.0937 2.49704 11.1681 2.38644 11.2189 2.26458C11.2697 2.14272 11.2958 2.01202 11.2958 1.88C11.2958 1.74799 11.2697 1.61729 11.2189 1.49543C11.1681 1.37357 11.0937 1.26297 11 1.17Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 183}})
18285
18307
  )
18286
18308
  )
18287
- , React$1.createElement('button', { type: "button", onClick: handleNextRange, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 164}}
18288
- , React$1.createElement('svg', { width: "20", height: "20", viewBox: "0 0 20 20" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 165}}
18289
- , React$1.createElement('path', { d: "M13.71 10.71C13.801 10.6149 13.8724 10.5028 13.92 10.38C14.02 10.1365 14.02 9.86347 13.92 9.62C13.8724 9.49725 13.801 9.38511 13.71 9.29L10.71 6.29C10.5217 6.1017 10.2663 5.99591 10 5.99591C9.7337 5.99591 9.47831 6.1017 9.29 6.29C9.1017 6.47831 8.99591 6.7337 8.99591 7C8.99591 7.26631 9.1017 7.5217 9.29 7.71L10.59 9H7C6.73479 9 6.48043 9.10536 6.2929 9.2929C6.10536 9.48043 6 9.73479 6 10C6 10.2652 6.10536 10.5196 6.2929 10.7071C6.48043 10.8946 6.73479 11 7 11H10.59L9.29 12.29C9.19628 12.383 9.12188 12.4936 9.07111 12.6154C9.02034 12.7373 8.99421 12.868 8.99421 13C8.99421 13.132 9.02034 13.2627 9.07111 13.3846C9.12188 13.5064 9.19628 13.617 9.29 13.71C9.38297 13.8037 9.49357 13.8781 9.61543 13.9289C9.73729 13.9797 9.86799 14.0058 10 14.0058C10.132 14.0058 10.2627 13.9797 10.3846 13.9289C10.5064 13.8781 10.617 13.8037 10.71 13.71L13.71 10.71ZM20 10C20 8.02219 19.4135 6.08879 18.3147 4.4443C17.2159 2.79981 15.6541 1.51809 13.8268 0.761209C11.9996 0.00433284 9.98891 -0.193701 8.0491 0.192152C6.10929 0.578004 4.32746 1.53041 2.92894 2.92894C1.53041 4.32746 0.578004 6.10929 0.192152 8.0491C-0.193701 9.98891 0.00433284 11.9996 0.761209 13.8268C1.51809 15.6541 2.79981 17.2159 4.4443 18.3147C6.08879 19.4135 8.02219 20 10 20C12.6522 20 15.1957 18.9464 17.0711 17.0711C18.9464 15.1957 20 12.6522 20 10ZM2 10C2 8.41775 2.4692 6.87104 3.34825 5.55544C4.2273 4.23985 5.47673 3.21447 6.93854 2.60897C8.40035 2.00347 10.0089 1.84504 11.5607 2.15372C13.1126 2.4624 14.538 3.22433 15.6569 4.34315C16.7757 5.46197 17.5376 6.88743 17.8463 8.43928C18.155 9.99113 17.9965 11.5997 17.391 13.0615C16.7855 14.5233 15.7602 15.7727 14.4446 16.6518C13.129 17.5308 11.5823 18 10 18C7.87827 18 5.84344 17.1572 4.34315 15.6569C2.84286 14.1566 2 12.1217 2 10Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 166}})
18309
+ , React$1.createElement('button', { type: "button", onClick: handleNextRange, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 186}}
18310
+ , React$1.createElement('svg', { width: "20", height: "20", viewBox: "0 0 20 20" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 187}}
18311
+ , React$1.createElement('path', { d: "M13.71 10.71C13.801 10.6149 13.8724 10.5028 13.92 10.38C14.02 10.1365 14.02 9.86347 13.92 9.62C13.8724 9.49725 13.801 9.38511 13.71 9.29L10.71 6.29C10.5217 6.1017 10.2663 5.99591 10 5.99591C9.7337 5.99591 9.47831 6.1017 9.29 6.29C9.1017 6.47831 8.99591 6.7337 8.99591 7C8.99591 7.26631 9.1017 7.5217 9.29 7.71L10.59 9H7C6.73479 9 6.48043 9.10536 6.2929 9.2929C6.10536 9.48043 6 9.73479 6 10C6 10.2652 6.10536 10.5196 6.2929 10.7071C6.48043 10.8946 6.73479 11 7 11H10.59L9.29 12.29C9.19628 12.383 9.12188 12.4936 9.07111 12.6154C9.02034 12.7373 8.99421 12.868 8.99421 13C8.99421 13.132 9.02034 13.2627 9.07111 13.3846C9.12188 13.5064 9.19628 13.617 9.29 13.71C9.38297 13.8037 9.49357 13.8781 9.61543 13.9289C9.73729 13.9797 9.86799 14.0058 10 14.0058C10.132 14.0058 10.2627 13.9797 10.3846 13.9289C10.5064 13.8781 10.617 13.8037 10.71 13.71L13.71 10.71ZM20 10C20 8.02219 19.4135 6.08879 18.3147 4.4443C17.2159 2.79981 15.6541 1.51809 13.8268 0.761209C11.9996 0.00433284 9.98891 -0.193701 8.0491 0.192152C6.10929 0.578004 4.32746 1.53041 2.92894 2.92894C1.53041 4.32746 0.578004 6.10929 0.192152 8.0491C-0.193701 9.98891 0.00433284 11.9996 0.761209 13.8268C1.51809 15.6541 2.79981 17.2159 4.4443 18.3147C6.08879 19.4135 8.02219 20 10 20C12.6522 20 15.1957 18.9464 17.0711 17.0711C18.9464 15.1957 20 12.6522 20 10ZM2 10C2 8.41775 2.4692 6.87104 3.34825 5.55544C4.2273 4.23985 5.47673 3.21447 6.93854 2.60897C8.40035 2.00347 10.0089 1.84504 11.5607 2.15372C13.1126 2.4624 14.538 3.22433 15.6569 4.34315C16.7757 5.46197 17.5376 6.88743 17.8463 8.43928C18.155 9.99113 17.9965 11.5997 17.391 13.0615C16.7855 14.5233 15.7602 15.7727 14.4446 16.6518C13.129 17.5308 11.5823 18 10 18C7.87827 18 5.84344 17.1572 4.34315 15.6569C2.84286 14.1566 2 12.1217 2 10Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 188}})
18290
18312
  )
18291
18313
  )
18292
18314
  )
18293
- , React$1.createElement('div', { className: "years-grid", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 170}}
18315
+ , React$1.createElement('div', { className: "years-grid", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 192}}
18294
18316
  , renderYears()
18295
18317
  )
18296
18318
  )
@@ -18338,7 +18360,7 @@ const DateRangePicker = ({ selectedDateRange,label,subtext ,placeholder,showActi
18338
18360
  }
18339
18361
 
18340
18362
  calendar.push(
18341
- React$1.createElement('div', { key: i, className: additionalClasses, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 219}}
18363
+ React$1.createElement('div', { key: i, className: additionalClasses, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 241}}
18342
18364
  , otherMonthDate.getDate()
18343
18365
  )
18344
18366
  );
@@ -18369,7 +18391,7 @@ const DateRangePicker = ({ selectedDateRange,label,subtext ,placeholder,showActi
18369
18391
  onClick: ()=>{
18370
18392
  if (disableFutureDays && dateToTime > new Date().getTime() || disablePastDays && dateToTime + 86400000 < new Date().getTime()) return
18371
18393
  handleClick();
18372
- }, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 244}}
18394
+ }, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 266}}
18373
18395
 
18374
18396
  , day
18375
18397
  )
@@ -18380,14 +18402,14 @@ const DateRangePicker = ({ selectedDateRange,label,subtext ,placeholder,showActi
18380
18402
 
18381
18403
  return (
18382
18404
  React$1.createElement(React$1.Fragment, null
18383
- , React$1.createElement('div', { className: "weekdays", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 261}}
18405
+ , React$1.createElement('div', { className: "weekdays", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 283}}
18384
18406
  , shortWeekdays.map((weekday, index) => (
18385
- React$1.createElement('div', { key: index, className: "weekday", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 263}}
18407
+ React$1.createElement('div', { key: index, className: "weekday", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 285}}
18386
18408
  , weekday
18387
18409
  )
18388
18410
  ))
18389
18411
  )
18390
- , React$1.createElement('div', { className: "calendar-grid", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 268}}, calendar)
18412
+ , React$1.createElement('div', { className: "calendar-grid", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 290}}, calendar)
18391
18413
  )
18392
18414
  )
18393
18415
  };
@@ -18405,115 +18427,154 @@ const DateRangePicker = ({ selectedDateRange,label,subtext ,placeholder,showActi
18405
18427
  const options = {day:'2-digit',month:'short',year:'numeric'};
18406
18428
 
18407
18429
  return (
18408
- React$1.createElement(DateRangePickerComp, { className: "datepicker-comp", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 286}}
18409
- , React$1.createElement('div', { className: "input-field", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 287}}
18430
+ React$1.createElement(DateRangePickerComp, { className: "datepicker-comp", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 308}}
18431
+ , !hidePickerInput && React$1.createElement('div', { className: "input-field", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 309}}
18410
18432
  , label &&
18411
- React$1.createElement(InputLabel$8, {__self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 289}}
18412
- , React$1.createElement('label', {__self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 290}}, label)
18413
- , subtext && React$1.createElement('span', {__self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 291}}, subtext)
18433
+ React$1.createElement(InputLabel$8, {__self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 311}}
18434
+ , React$1.createElement('label', {__self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 312}}, label)
18435
+ , subtext && React$1.createElement('span', {__self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 313}}, subtext)
18414
18436
  )
18415
18437
 
18416
- , React$1.createElement(InputField$4, { className: `${showCalendar ? 'focused' : ''} ${startDate && endDate ? 'success' : ''}`, style: {width:width ? width : '100%'}, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 294}}
18438
+ , React$1.createElement(InputField$4, { className: `${showCalendar ? 'focused' : ''} ${startDate && endDate ? 'success' : ''}`,
18439
+ style: {width: width ? width : '100%'}, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 316}}
18417
18440
  , React$1.createElement('input', {
18418
18441
  type: "text",
18419
- value: startDate ? `${startDate.toLocaleDateString('en-GB',options)} - ${endDate ? endDate.toLocaleDateString('en-GB',options) : ''}` : '',
18442
+ value: startDate ? `${startDate.toLocaleDateString('en-GB', options)} - ${endDate ? endDate.toLocaleDateString('en-GB', options) : ''}` : '',
18420
18443
  readOnly: true,
18421
18444
  placeholder: placeholder ? placeholder : _optionalChain$v([labelOverrides, 'optionalAccess', _3 => _3.placeholder]) || 'Select a date range',
18422
- onClick: ()=>{
18445
+ onClick: () => {
18423
18446
  if (readonly) return
18424
18447
  setShowCalendar(true);
18425
- }, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 295}}
18448
+ }, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 318}}
18426
18449
  )
18427
- , React$1.createElement('button', { type: "button", onClick: ()=>{
18450
+ , React$1.createElement('button', { type: "button", onClick: () => {
18428
18451
  if (readonly) return
18429
18452
  setShowCalendar(!showCalendar);
18430
- }, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 305}}
18453
+ }, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 328}}
18431
18454
  /*calendar icon*/
18432
- , React$1.createElement('svg', { width: "21", height: "22", viewBox: "0 0 21 22" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 310}}
18433
- , React$1.createElement('path', { d: "M10.5 18C10.6978 18 10.8911 17.9414 11.0556 17.8315C11.22 17.7216 11.3482 17.5654 11.4239 17.3827C11.4996 17.2 11.5194 16.9989 11.4808 16.8049C11.4422 16.6109 11.347 16.4327 11.2071 16.2929C11.0673 16.153 10.8891 16.0578 10.6951 16.0192C10.5011 15.9806 10.3 16.0004 10.1173 16.0761C9.93459 16.1518 9.77841 16.28 9.66853 16.4444C9.55865 16.6089 9.5 16.8022 9.5 17C9.5 17.2652 9.60536 17.5196 9.79289 17.7071C9.98043 17.8946 10.2348 18 10.5 18ZM15.5 18C15.6978 18 15.8911 17.9414 16.0556 17.8315C16.22 17.7216 16.3482 17.5654 16.4239 17.3827C16.4996 17.2 16.5194 16.9989 16.4808 16.8049C16.4422 16.6109 16.347 16.4327 16.2071 16.2929C16.0673 16.153 15.8891 16.0578 15.6951 16.0192C15.5011 15.9806 15.3 16.0004 15.1173 16.0761C14.9346 16.1518 14.7784 16.28 14.6685 16.4444C14.5586 16.6089 14.5 16.8022 14.5 17C14.5 17.2652 14.6054 17.5196 14.7929 17.7071C14.9804 17.8946 15.2348 18 15.5 18ZM15.5 14C15.6978 14 15.8911 13.9414 16.0556 13.8315C16.22 13.7216 16.3482 13.5654 16.4239 13.3827C16.4996 13.2 16.5194 12.9989 16.4808 12.8049C16.4422 12.6109 16.347 12.4327 16.2071 12.2929C16.0673 12.153 15.8891 12.0578 15.6951 12.0192C15.5011 11.9806 15.3 12.0004 15.1173 12.0761C14.9346 12.1518 14.7784 12.28 14.6685 12.4444C14.5586 12.6089 14.5 12.8022 14.5 13C14.5 13.2652 14.6054 13.5196 14.7929 13.7071C14.9804 13.8946 15.2348 14 15.5 14ZM10.5 14C10.6978 14 10.8911 13.9414 11.0556 13.8315C11.22 13.7216 11.3482 13.5654 11.4239 13.3827C11.4996 13.2 11.5194 12.9989 11.4808 12.8049C11.4422 12.6109 11.347 12.4327 11.2071 12.2929C11.0673 12.153 10.8891 12.0578 10.6951 12.0192C10.5011 11.9806 10.3 12.0004 10.1173 12.0761C9.93459 12.1518 9.77841 12.28 9.66853 12.4444C9.55865 12.6089 9.5 12.8022 9.5 13C9.5 13.2652 9.60536 13.5196 9.79289 13.7071C9.98043 13.8946 10.2348 14 10.5 14ZM17.5 2H16.5V1C16.5 0.734784 16.3946 0.48043 16.2071 0.292893C16.0196 0.105357 15.7652 0 15.5 0C15.2348 0 14.9804 0.105357 14.7929 0.292893C14.6054 0.48043 14.5 0.734784 14.5 1V2H6.5V1C6.5 0.734784 6.39464 0.48043 6.20711 0.292893C6.01957 0.105357 5.76522 0 5.5 0C5.23478 0 4.98043 0.105357 4.79289 0.292893C4.60536 0.48043 4.5 0.734784 4.5 1V2H3.5C2.70435 2 1.94129 2.31607 1.37868 2.87868C0.816071 3.44129 0.5 4.20435 0.5 5V19C0.5 19.7956 0.816071 20.5587 1.37868 21.1213C1.94129 21.6839 2.70435 22 3.5 22H17.5C18.2956 22 19.0587 21.6839 19.6213 21.1213C20.1839 20.5587 20.5 19.7956 20.5 19V5C20.5 4.20435 20.1839 3.44129 19.6213 2.87868C19.0587 2.31607 18.2956 2 17.5 2ZM18.5 19C18.5 19.2652 18.3946 19.5196 18.2071 19.7071C18.0196 19.8946 17.7652 20 17.5 20H3.5C3.23478 20 2.98043 19.8946 2.79289 19.7071C2.60536 19.5196 2.5 19.2652 2.5 19V10H18.5V19ZM18.5 8H2.5V5C2.5 4.73478 2.60536 4.48043 2.79289 4.29289C2.98043 4.10536 3.23478 4 3.5 4H4.5V5C4.5 5.26522 4.60536 5.51957 4.79289 5.70711C4.98043 5.89464 5.23478 6 5.5 6C5.76522 6 6.01957 5.89464 6.20711 5.70711C6.39464 5.51957 6.5 5.26522 6.5 5V4H14.5V5C14.5 5.26522 14.6054 5.51957 14.7929 5.70711C14.9804 5.89464 15.2348 6 15.5 6C15.7652 6 16.0196 5.89464 16.2071 5.70711C16.3946 5.51957 16.5 5.26522 16.5 5V4H17.5C17.7652 4 18.0196 4.10536 18.2071 4.29289C18.3946 4.48043 18.5 4.73478 18.5 5V8ZM5.5 14C5.69778 14 5.89112 13.9414 6.05557 13.8315C6.22002 13.7216 6.34819 13.5654 6.42388 13.3827C6.49957 13.2 6.51937 12.9989 6.48079 12.8049C6.4422 12.6109 6.34696 12.4327 6.20711 12.2929C6.06725 12.153 5.88907 12.0578 5.69509 12.0192C5.50111 11.9806 5.30004 12.0004 5.11732 12.0761C4.93459 12.1518 4.77841 12.28 4.66853 12.4444C4.55865 12.6089 4.5 12.8022 4.5 13C4.5 13.2652 4.60536 13.5196 4.79289 13.7071C4.98043 13.8946 5.23478 14 5.5 14ZM5.5 18C5.69778 18 5.89112 17.9414 6.05557 17.8315C6.22002 17.7216 6.34819 17.5654 6.42388 17.3827C6.49957 17.2 6.51937 16.9989 6.48079 16.8049C6.4422 16.6109 6.34696 16.4327 6.20711 16.2929C6.06725 16.153 5.88907 16.0578 5.69509 16.0192C5.50111 15.9806 5.30004 16.0004 5.11732 16.0761C4.93459 16.1518 4.77841 16.28 4.66853 16.4444C4.55865 16.6089 4.5 16.8022 4.5 17C4.5 17.2652 4.60536 17.5196 4.79289 17.7071C4.98043 17.8946 5.23478 18 5.5 18Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 311}})
18455
+ , React$1.createElement('svg', { width: "21", height: "22", viewBox: "0 0 21 22" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 333}}
18456
+ , React$1.createElement('path', {
18457
+ d: "M10.5 18C10.6978 18 10.8911 17.9414 11.0556 17.8315C11.22 17.7216 11.3482 17.5654 11.4239 17.3827C11.4996 17.2 11.5194 16.9989 11.4808 16.8049C11.4422 16.6109 11.347 16.4327 11.2071 16.2929C11.0673 16.153 10.8891 16.0578 10.6951 16.0192C10.5011 15.9806 10.3 16.0004 10.1173 16.0761C9.93459 16.1518 9.77841 16.28 9.66853 16.4444C9.55865 16.6089 9.5 16.8022 9.5 17C9.5 17.2652 9.60536 17.5196 9.79289 17.7071C9.98043 17.8946 10.2348 18 10.5 18ZM15.5 18C15.6978 18 15.8911 17.9414 16.0556 17.8315C16.22 17.7216 16.3482 17.5654 16.4239 17.3827C16.4996 17.2 16.5194 16.9989 16.4808 16.8049C16.4422 16.6109 16.347 16.4327 16.2071 16.2929C16.0673 16.153 15.8891 16.0578 15.6951 16.0192C15.5011 15.9806 15.3 16.0004 15.1173 16.0761C14.9346 16.1518 14.7784 16.28 14.6685 16.4444C14.5586 16.6089 14.5 16.8022 14.5 17C14.5 17.2652 14.6054 17.5196 14.7929 17.7071C14.9804 17.8946 15.2348 18 15.5 18ZM15.5 14C15.6978 14 15.8911 13.9414 16.0556 13.8315C16.22 13.7216 16.3482 13.5654 16.4239 13.3827C16.4996 13.2 16.5194 12.9989 16.4808 12.8049C16.4422 12.6109 16.347 12.4327 16.2071 12.2929C16.0673 12.153 15.8891 12.0578 15.6951 12.0192C15.5011 11.9806 15.3 12.0004 15.1173 12.0761C14.9346 12.1518 14.7784 12.28 14.6685 12.4444C14.5586 12.6089 14.5 12.8022 14.5 13C14.5 13.2652 14.6054 13.5196 14.7929 13.7071C14.9804 13.8946 15.2348 14 15.5 14ZM10.5 14C10.6978 14 10.8911 13.9414 11.0556 13.8315C11.22 13.7216 11.3482 13.5654 11.4239 13.3827C11.4996 13.2 11.5194 12.9989 11.4808 12.8049C11.4422 12.6109 11.347 12.4327 11.2071 12.2929C11.0673 12.153 10.8891 12.0578 10.6951 12.0192C10.5011 11.9806 10.3 12.0004 10.1173 12.0761C9.93459 12.1518 9.77841 12.28 9.66853 12.4444C9.55865 12.6089 9.5 12.8022 9.5 13C9.5 13.2652 9.60536 13.5196 9.79289 13.7071C9.98043 13.8946 10.2348 14 10.5 14ZM17.5 2H16.5V1C16.5 0.734784 16.3946 0.48043 16.2071 0.292893C16.0196 0.105357 15.7652 0 15.5 0C15.2348 0 14.9804 0.105357 14.7929 0.292893C14.6054 0.48043 14.5 0.734784 14.5 1V2H6.5V1C6.5 0.734784 6.39464 0.48043 6.20711 0.292893C6.01957 0.105357 5.76522 0 5.5 0C5.23478 0 4.98043 0.105357 4.79289 0.292893C4.60536 0.48043 4.5 0.734784 4.5 1V2H3.5C2.70435 2 1.94129 2.31607 1.37868 2.87868C0.816071 3.44129 0.5 4.20435 0.5 5V19C0.5 19.7956 0.816071 20.5587 1.37868 21.1213C1.94129 21.6839 2.70435 22 3.5 22H17.5C18.2956 22 19.0587 21.6839 19.6213 21.1213C20.1839 20.5587 20.5 19.7956 20.5 19V5C20.5 4.20435 20.1839 3.44129 19.6213 2.87868C19.0587 2.31607 18.2956 2 17.5 2ZM18.5 19C18.5 19.2652 18.3946 19.5196 18.2071 19.7071C18.0196 19.8946 17.7652 20 17.5 20H3.5C3.23478 20 2.98043 19.8946 2.79289 19.7071C2.60536 19.5196 2.5 19.2652 2.5 19V10H18.5V19ZM18.5 8H2.5V5C2.5 4.73478 2.60536 4.48043 2.79289 4.29289C2.98043 4.10536 3.23478 4 3.5 4H4.5V5C4.5 5.26522 4.60536 5.51957 4.79289 5.70711C4.98043 5.89464 5.23478 6 5.5 6C5.76522 6 6.01957 5.89464 6.20711 5.70711C6.39464 5.51957 6.5 5.26522 6.5 5V4H14.5V5C14.5 5.26522 14.6054 5.51957 14.7929 5.70711C14.9804 5.89464 15.2348 6 15.5 6C15.7652 6 16.0196 5.89464 16.2071 5.70711C16.3946 5.51957 16.5 5.26522 16.5 5V4H17.5C17.7652 4 18.0196 4.10536 18.2071 4.29289C18.3946 4.48043 18.5 4.73478 18.5 5V8ZM5.5 14C5.69778 14 5.89112 13.9414 6.05557 13.8315C6.22002 13.7216 6.34819 13.5654 6.42388 13.3827C6.49957 13.2 6.51937 12.9989 6.48079 12.8049C6.4422 12.6109 6.34696 12.4327 6.20711 12.2929C6.06725 12.153 5.88907 12.0578 5.69509 12.0192C5.50111 11.9806 5.30004 12.0004 5.11732 12.0761C4.93459 12.1518 4.77841 12.28 4.66853 12.4444C4.55865 12.6089 4.5 12.8022 4.5 13C4.5 13.2652 4.60536 13.5196 4.79289 13.7071C4.98043 13.8946 5.23478 14 5.5 14ZM5.5 18C5.69778 18 5.89112 17.9414 6.05557 17.8315C6.22002 17.7216 6.34819 17.5654 6.42388 17.3827C6.49957 17.2 6.51937 16.9989 6.48079 16.8049C6.4422 16.6109 6.34696 16.4327 6.20711 16.2929C6.06725 16.153 5.88907 16.0578 5.69509 16.0192C5.50111 15.9806 5.30004 16.0004 5.11732 16.0761C4.93459 16.1518 4.77841 16.28 4.66853 16.4444C4.55865 16.6089 4.5 16.8022 4.5 17C4.5 17.2652 4.60536 17.5196 4.79289 17.7071C4.98043 17.8946 5.23478 18 5.5 18Z" ,
18458
+ fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 334}})
18434
18459
  )
18435
18460
  )
18436
18461
  )
18437
18462
  )
18438
18463
  , showCalendar &&
18439
- React$1.createElement(CalendarContainer, {__self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 317}}
18440
- , React$1.createElement('div', { className: "calendars", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 318}}
18441
- , React$1.createElement('div', { className: "calendar", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 319}}
18442
- , React$1.createElement('div', { style: {display:!toggleStartYearPicker ? 'block' : 'none'}, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 320}}
18443
- , React$1.createElement('div', { className: "header cal-header" , __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 321}}
18444
- , React$1.createElement('button', { type: "button", className: "prev-button", onClick: () => handleStartMonthChange(-1), __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 322}}
18445
- , React$1.createElement('svg', { width: "8", height: "12", viewBox: "0 0 8 12" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 323}}
18446
- , React$1.createElement('path', { d: "M3.28982 5.99995L6.82982 2.45995C7.01607 2.27259 7.12061 2.01913 7.12061 1.75495C7.12061 1.49076 7.01607 1.23731 6.82982 1.04995C6.73686 0.95622 6.62626 0.881826 6.5044 0.831057C6.38254 0.780288 6.25183 0.75415 6.11982 0.75415C5.98781 0.75415 5.8571 0.780288 5.73524 0.831057C5.61339 0.881826 5.50278 0.95622 5.40982 1.04995L1.16982 5.28995C1.07609 5.38291 1.0017 5.49351 0.950931 5.61537C0.900162 5.73723 0.874023 5.86794 0.874023 5.99995C0.874023 6.13196 0.900162 6.26267 0.950931 6.38453C1.0017 6.50638 1.07609 6.61699 1.16982 6.70995L5.40982 10.9999C5.50326 11.0926 5.61408 11.166 5.73592 11.2157C5.85775 11.2655 5.98821 11.2907 6.11982 11.2899C6.25143 11.2907 6.38189 11.2655 6.50373 11.2157C6.62557 11.166 6.73638 11.0926 6.82982 10.9999C7.01607 10.8126 7.12061 10.5591 7.12061 10.2949C7.12061 10.0308 7.01607 9.77731 6.82982 9.58995L3.28982 5.99995Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 324}})
18464
+ React$1.createElement(CalendarContainer, {__self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 342}}
18465
+ , React$1.createElement('div', { className: "calendars", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 343}}
18466
+ , React$1.createElement('div', { className: "calendar", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 344}}
18467
+ , React$1.createElement('div', { style: {display: !toggleStartYearPicker ? 'block' : 'none'}, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 345}}
18468
+ , React$1.createElement('div', { className: "header cal-header" , __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 346}}
18469
+ , React$1.createElement('button', { type: "button", className: "prev-button",
18470
+ onClick: () => handleStartMonthChange(-1), __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 347}}
18471
+ , React$1.createElement('svg', { width: "8", height: "12", viewBox: "0 0 8 12" , fill: "none",
18472
+ xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 349}}
18473
+ , React$1.createElement('path', {
18474
+ d: "M3.28982 5.99995L6.82982 2.45995C7.01607 2.27259 7.12061 2.01913 7.12061 1.75495C7.12061 1.49076 7.01607 1.23731 6.82982 1.04995C6.73686 0.95622 6.62626 0.881826 6.5044 0.831057C6.38254 0.780288 6.25183 0.75415 6.11982 0.75415C5.98781 0.75415 5.8571 0.780288 5.73524 0.831057C5.61339 0.881826 5.50278 0.95622 5.40982 1.04995L1.16982 5.28995C1.07609 5.38291 1.0017 5.49351 0.950931 5.61537C0.900162 5.73723 0.874023 5.86794 0.874023 5.99995C0.874023 6.13196 0.900162 6.26267 0.950931 6.38453C1.0017 6.50638 1.07609 6.61699 1.16982 6.70995L5.40982 10.9999C5.50326 11.0926 5.61408 11.166 5.73592 11.2157C5.85775 11.2655 5.98821 11.2907 6.11982 11.2899C6.25143 11.2907 6.38189 11.2655 6.50373 11.2157C6.62557 11.166 6.73638 11.0926 6.82982 10.9999C7.01607 10.8126 7.12061 10.5591 7.12061 10.2949C7.12061 10.0308 7.01607 9.77731 6.82982 9.58995L3.28982 5.99995Z" ,
18475
+ fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 351}})
18447
18476
  )
18448
18477
  )
18449
- , React$1.createElement('button', { type: "button", className: "month-year", onClick: ()=>{setToggleStartYearPicker(true);}, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 327}}
18478
+ , React$1.createElement('button', { type: "button", className: "month-year", onClick: () => {
18479
+ setToggleStartYearPicker(true);
18480
+ }, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 356}}
18450
18481
  , `${startMonthName} ${startYear}`
18451
- , React$1.createElement('svg', { className: toggleStartYearPicker ? 'year-view' : '', width: "12", height: "8", viewBox: "0 0 12 8" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 329}}
18452
- , React$1.createElement('path', { d: "M11 1.17C10.8126 0.983753 10.5592 0.879211 10.295 0.879211C10.0308 0.879211 9.77737 0.983753 9.59001 1.17L6.00001 4.71L2.46001 1.17C2.27265 0.983753 2.0192 0.879211 1.75501 0.879211C1.49082 0.879211 1.23737 0.983753 1.05001 1.17C0.956281 1.26297 0.881887 1.37357 0.831118 1.49543C0.780349 1.61729 0.754211 1.74799 0.754211 1.88C0.754211 2.01202 0.780349 2.14272 0.831118 2.26458C0.881887 2.38644 0.956281 2.49704 1.05001 2.59L5.29001 6.83C5.38297 6.92373 5.49357 6.99813 5.61543 7.04889C5.73729 7.09966 5.868 7.1258 6.00001 7.1258C6.13202 7.1258 6.26273 7.09966 6.38459 7.04889C6.50645 6.99813 6.61705 6.92373 6.71001 6.83L11 2.59C11.0937 2.49704 11.1681 2.38644 11.2189 2.26458C11.2697 2.14272 11.2958 2.01202 11.2958 1.88C11.2958 1.74799 11.2697 1.61729 11.2189 1.49543C11.1681 1.37357 11.0937 1.26297 11 1.17Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 330}})
18482
+ , React$1.createElement('svg', { className: toggleStartYearPicker ? 'year-view' : '', width: "12", height: "8",
18483
+ viewBox: "0 0 12 8" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 360}}
18484
+ , React$1.createElement('path', {
18485
+ d: "M11 1.17C10.8126 0.983753 10.5592 0.879211 10.295 0.879211C10.0308 0.879211 9.77737 0.983753 9.59001 1.17L6.00001 4.71L2.46001 1.17C2.27265 0.983753 2.0192 0.879211 1.75501 0.879211C1.49082 0.879211 1.23737 0.983753 1.05001 1.17C0.956281 1.26297 0.881887 1.37357 0.831118 1.49543C0.780349 1.61729 0.754211 1.74799 0.754211 1.88C0.754211 2.01202 0.780349 2.14272 0.831118 2.26458C0.881887 2.38644 0.956281 2.49704 1.05001 2.59L5.29001 6.83C5.38297 6.92373 5.49357 6.99813 5.61543 7.04889C5.73729 7.09966 5.868 7.1258 6.00001 7.1258C6.13202 7.1258 6.26273 7.09966 6.38459 7.04889C6.50645 6.99813 6.61705 6.92373 6.71001 6.83L11 2.59C11.0937 2.49704 11.1681 2.38644 11.2189 2.26458C11.2697 2.14272 11.2958 2.01202 11.2958 1.88C11.2958 1.74799 11.2697 1.61729 11.2189 1.49543C11.1681 1.37357 11.0937 1.26297 11 1.17Z" ,
18486
+ fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 362}})
18453
18487
  )
18454
18488
  )
18455
- , React$1.createElement('button', { type: "button", className: "next-button", onClick: () => handleStartMonthChange(1), __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 333}}
18456
- , React$1.createElement('svg', { width: "8", height: "12", viewBox: "0 0 8 12" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 334}}
18457
- , React$1.createElement('path', { d: "M6.83019 5.28995L2.59019 1.04995C2.49722 0.95622 2.38662 0.881826 2.26476 0.831057C2.1429 0.780288 2.0122 0.75415 1.88019 0.75415C1.74818 0.75415 1.61747 0.780288 1.49561 0.831057C1.37375 0.881826 1.26315 0.95622 1.17019 1.04995C0.983936 1.23731 0.879395 1.49076 0.879395 1.75495C0.879395 2.01913 0.983936 2.27259 1.17019 2.45995L4.71019 5.99995L1.17019 9.53995C0.983936 9.72731 0.879395 9.98076 0.879395 10.2449C0.879395 10.5091 0.983936 10.7626 1.17019 10.9499C1.26363 11.0426 1.37444 11.116 1.49628 11.1657C1.61812 11.2155 1.74858 11.2407 1.88019 11.2399C2.01179 11.2407 2.14226 11.2155 2.26409 11.1657C2.38593 11.116 2.49675 11.0426 2.59019 10.9499L6.83019 6.70995C6.92392 6.61699 6.99831 6.50638 7.04908 6.38453C7.09985 6.26267 7.12599 6.13196 7.12599 5.99995C7.12599 5.86794 7.09985 5.73723 7.04908 5.61537C6.99831 5.49351 6.92392 5.38291 6.83019 5.28995Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 335}})
18489
+ , React$1.createElement('button', { type: "button", className: "next-button",
18490
+ onClick: () => handleStartMonthChange(1), __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 367}}
18491
+ , React$1.createElement('svg', { width: "8", height: "12", viewBox: "0 0 8 12" , fill: "none",
18492
+ xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 369}}
18493
+ , React$1.createElement('path', {
18494
+ d: "M6.83019 5.28995L2.59019 1.04995C2.49722 0.95622 2.38662 0.881826 2.26476 0.831057C2.1429 0.780288 2.0122 0.75415 1.88019 0.75415C1.74818 0.75415 1.61747 0.780288 1.49561 0.831057C1.37375 0.881826 1.26315 0.95622 1.17019 1.04995C0.983936 1.23731 0.879395 1.49076 0.879395 1.75495C0.879395 2.01913 0.983936 2.27259 1.17019 2.45995L4.71019 5.99995L1.17019 9.53995C0.983936 9.72731 0.879395 9.98076 0.879395 10.2449C0.879395 10.5091 0.983936 10.7626 1.17019 10.9499C1.26363 11.0426 1.37444 11.116 1.49628 11.1657C1.61812 11.2155 1.74858 11.2407 1.88019 11.2399C2.01179 11.2407 2.14226 11.2155 2.26409 11.1657C2.38593 11.116 2.49675 11.0426 2.59019 10.9499L6.83019 6.70995C6.92392 6.61699 6.99831 6.50638 7.04908 6.38453C7.09985 6.26267 7.12599 6.13196 7.12599 5.99995C7.12599 5.86794 7.09985 5.73723 7.04908 5.61537C6.99831 5.49351 6.92392 5.38291 6.83019 5.28995Z" ,
18495
+ fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 371}})
18458
18496
  )
18459
18497
  )
18460
18498
  )
18461
18499
  , renderCalendar(startMonth, true)
18462
18500
  )
18463
- , React$1.createElement('div', { style: {display:toggleStartYearPicker ? 'block' : 'none'}, className: "year-view", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 341}}
18464
- , React$1.createElement(YearPicker, { returnedYear: (a)=>{
18501
+ , React$1.createElement('div', { style: {display: toggleStartYearPicker ? 'block' : 'none'}, className: "year-view", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 379}}
18502
+ , React$1.createElement(YearPicker, { returnedYear: (a) => {
18465
18503
  const newDate = new Date(startMonth);
18466
18504
  newDate.setFullYear(a);
18467
18505
  setStartMonth(newDate);
18468
- }, monthYear: `${startMonthName} ${startYear}`, yearPickerVisible: (a)=>{setToggleStartYearPicker(a);}, selYear: startYear, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 342}})
18506
+ }, monthYear: `${startMonthName} ${startYear}`, yearPickerVisible: (a) => {
18507
+ setToggleStartYearPicker(a);
18508
+ }, selYear: startYear, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 380}})
18469
18509
  )
18470
18510
  )
18471
- , React$1.createElement('div', { className: "calendar", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 349}}
18472
- , React$1.createElement('div', { style: {display:!toggleEndYearPicker ? 'block' : 'none'}, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 350}}
18473
- , React$1.createElement('div', { className: "header cal-header" , __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 351}}
18474
- , React$1.createElement('button', { type: "button", className: "prev-button", onClick: () => handleEndMonthChange(-1), __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 352}}
18475
- , React$1.createElement('svg', { width: "8", height: "12", viewBox: "0 0 8 12" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 353}}
18476
- , React$1.createElement('path', { d: "M3.28982 5.99995L6.82982 2.45995C7.01607 2.27259 7.12061 2.01913 7.12061 1.75495C7.12061 1.49076 7.01607 1.23731 6.82982 1.04995C6.73686 0.95622 6.62626 0.881826 6.5044 0.831057C6.38254 0.780288 6.25183 0.75415 6.11982 0.75415C5.98781 0.75415 5.8571 0.780288 5.73524 0.831057C5.61339 0.881826 5.50278 0.95622 5.40982 1.04995L1.16982 5.28995C1.07609 5.38291 1.0017 5.49351 0.950931 5.61537C0.900162 5.73723 0.874023 5.86794 0.874023 5.99995C0.874023 6.13196 0.900162 6.26267 0.950931 6.38453C1.0017 6.50638 1.07609 6.61699 1.16982 6.70995L5.40982 10.9999C5.50326 11.0926 5.61408 11.166 5.73592 11.2157C5.85775 11.2655 5.98821 11.2907 6.11982 11.2899C6.25143 11.2907 6.38189 11.2655 6.50373 11.2157C6.62557 11.166 6.73638 11.0926 6.82982 10.9999C7.01607 10.8126 7.12061 10.5591 7.12061 10.2949C7.12061 10.0308 7.01607 9.77731 6.82982 9.58995L3.28982 5.99995Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 354}})
18511
+ , React$1.createElement('div', { className: "calendar", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 389}}
18512
+ , React$1.createElement('div', { style: {display: !toggleEndYearPicker ? 'block' : 'none'}, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 390}}
18513
+ , React$1.createElement('div', { className: "header cal-header" , __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 391}}
18514
+ , React$1.createElement('button', { type: "button", className: "prev-button",
18515
+ onClick: () => handleEndMonthChange(-1), __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 392}}
18516
+ , React$1.createElement('svg', { width: "8", height: "12", viewBox: "0 0 8 12" , fill: "none",
18517
+ xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 394}}
18518
+ , React$1.createElement('path', {
18519
+ d: "M3.28982 5.99995L6.82982 2.45995C7.01607 2.27259 7.12061 2.01913 7.12061 1.75495C7.12061 1.49076 7.01607 1.23731 6.82982 1.04995C6.73686 0.95622 6.62626 0.881826 6.5044 0.831057C6.38254 0.780288 6.25183 0.75415 6.11982 0.75415C5.98781 0.75415 5.8571 0.780288 5.73524 0.831057C5.61339 0.881826 5.50278 0.95622 5.40982 1.04995L1.16982 5.28995C1.07609 5.38291 1.0017 5.49351 0.950931 5.61537C0.900162 5.73723 0.874023 5.86794 0.874023 5.99995C0.874023 6.13196 0.900162 6.26267 0.950931 6.38453C1.0017 6.50638 1.07609 6.61699 1.16982 6.70995L5.40982 10.9999C5.50326 11.0926 5.61408 11.166 5.73592 11.2157C5.85775 11.2655 5.98821 11.2907 6.11982 11.2899C6.25143 11.2907 6.38189 11.2655 6.50373 11.2157C6.62557 11.166 6.73638 11.0926 6.82982 10.9999C7.01607 10.8126 7.12061 10.5591 7.12061 10.2949C7.12061 10.0308 7.01607 9.77731 6.82982 9.58995L3.28982 5.99995Z" ,
18520
+ fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 396}})
18477
18521
  )
18478
18522
  )
18479
- , React$1.createElement('button', { type: "button", className: "month-year", onClick: ()=>{setToggleEndYearPicker(true);}, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 357}}
18523
+ , React$1.createElement('button', { type: "button", className: "month-year", onClick: () => {
18524
+ setToggleEndYearPicker(true);
18525
+ }, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 401}}
18480
18526
  , `${endMonthName} ${endYear}`
18481
- , React$1.createElement('svg', { className: toggleEndYearPicker ? 'year-view' : '', width: "12", height: "8", viewBox: "0 0 12 8" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 359}}
18482
- , React$1.createElement('path', { d: "M11 1.17C10.8126 0.983753 10.5592 0.879211 10.295 0.879211C10.0308 0.879211 9.77737 0.983753 9.59001 1.17L6.00001 4.71L2.46001 1.17C2.27265 0.983753 2.0192 0.879211 1.75501 0.879211C1.49082 0.879211 1.23737 0.983753 1.05001 1.17C0.956281 1.26297 0.881887 1.37357 0.831118 1.49543C0.780349 1.61729 0.754211 1.74799 0.754211 1.88C0.754211 2.01202 0.780349 2.14272 0.831118 2.26458C0.881887 2.38644 0.956281 2.49704 1.05001 2.59L5.29001 6.83C5.38297 6.92373 5.49357 6.99813 5.61543 7.04889C5.73729 7.09966 5.868 7.1258 6.00001 7.1258C6.13202 7.1258 6.26273 7.09966 6.38459 7.04889C6.50645 6.99813 6.61705 6.92373 6.71001 6.83L11 2.59C11.0937 2.49704 11.1681 2.38644 11.2189 2.26458C11.2697 2.14272 11.2958 2.01202 11.2958 1.88C11.2958 1.74799 11.2697 1.61729 11.2189 1.49543C11.1681 1.37357 11.0937 1.26297 11 1.17Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 360}})
18527
+ , React$1.createElement('svg', { className: toggleEndYearPicker ? 'year-view' : '', width: "12", height: "8",
18528
+ viewBox: "0 0 12 8" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 405}}
18529
+ , React$1.createElement('path', {
18530
+ d: "M11 1.17C10.8126 0.983753 10.5592 0.879211 10.295 0.879211C10.0308 0.879211 9.77737 0.983753 9.59001 1.17L6.00001 4.71L2.46001 1.17C2.27265 0.983753 2.0192 0.879211 1.75501 0.879211C1.49082 0.879211 1.23737 0.983753 1.05001 1.17C0.956281 1.26297 0.881887 1.37357 0.831118 1.49543C0.780349 1.61729 0.754211 1.74799 0.754211 1.88C0.754211 2.01202 0.780349 2.14272 0.831118 2.26458C0.881887 2.38644 0.956281 2.49704 1.05001 2.59L5.29001 6.83C5.38297 6.92373 5.49357 6.99813 5.61543 7.04889C5.73729 7.09966 5.868 7.1258 6.00001 7.1258C6.13202 7.1258 6.26273 7.09966 6.38459 7.04889C6.50645 6.99813 6.61705 6.92373 6.71001 6.83L11 2.59C11.0937 2.49704 11.1681 2.38644 11.2189 2.26458C11.2697 2.14272 11.2958 2.01202 11.2958 1.88C11.2958 1.74799 11.2697 1.61729 11.2189 1.49543C11.1681 1.37357 11.0937 1.26297 11 1.17Z" ,
18531
+ fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 407}})
18483
18532
  )
18484
18533
  )
18485
- , React$1.createElement('button', { type: "button", className: "next-button", onClick: () => handleEndMonthChange(1), __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 363}}
18486
- , React$1.createElement('svg', { width: "8", height: "12", viewBox: "0 0 8 12" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 364}}
18487
- , React$1.createElement('path', { d: "M6.83019 5.28995L2.59019 1.04995C2.49722 0.95622 2.38662 0.881826 2.26476 0.831057C2.1429 0.780288 2.0122 0.75415 1.88019 0.75415C1.74818 0.75415 1.61747 0.780288 1.49561 0.831057C1.37375 0.881826 1.26315 0.95622 1.17019 1.04995C0.983936 1.23731 0.879395 1.49076 0.879395 1.75495C0.879395 2.01913 0.983936 2.27259 1.17019 2.45995L4.71019 5.99995L1.17019 9.53995C0.983936 9.72731 0.879395 9.98076 0.879395 10.2449C0.879395 10.5091 0.983936 10.7626 1.17019 10.9499C1.26363 11.0426 1.37444 11.116 1.49628 11.1657C1.61812 11.2155 1.74858 11.2407 1.88019 11.2399C2.01179 11.2407 2.14226 11.2155 2.26409 11.1657C2.38593 11.116 2.49675 11.0426 2.59019 10.9499L6.83019 6.70995C6.92392 6.61699 6.99831 6.50638 7.04908 6.38453C7.09985 6.26267 7.12599 6.13196 7.12599 5.99995C7.12599 5.86794 7.09985 5.73723 7.04908 5.61537C6.99831 5.49351 6.92392 5.38291 6.83019 5.28995Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 365}})
18534
+ , React$1.createElement('button', { type: "button", className: "next-button",
18535
+ onClick: () => handleEndMonthChange(1), __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 412}}
18536
+ , React$1.createElement('svg', { width: "8", height: "12", viewBox: "0 0 8 12" , fill: "none",
18537
+ xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 414}}
18538
+ , React$1.createElement('path', {
18539
+ d: "M6.83019 5.28995L2.59019 1.04995C2.49722 0.95622 2.38662 0.881826 2.26476 0.831057C2.1429 0.780288 2.0122 0.75415 1.88019 0.75415C1.74818 0.75415 1.61747 0.780288 1.49561 0.831057C1.37375 0.881826 1.26315 0.95622 1.17019 1.04995C0.983936 1.23731 0.879395 1.49076 0.879395 1.75495C0.879395 2.01913 0.983936 2.27259 1.17019 2.45995L4.71019 5.99995L1.17019 9.53995C0.983936 9.72731 0.879395 9.98076 0.879395 10.2449C0.879395 10.5091 0.983936 10.7626 1.17019 10.9499C1.26363 11.0426 1.37444 11.116 1.49628 11.1657C1.61812 11.2155 1.74858 11.2407 1.88019 11.2399C2.01179 11.2407 2.14226 11.2155 2.26409 11.1657C2.38593 11.116 2.49675 11.0426 2.59019 10.9499L6.83019 6.70995C6.92392 6.61699 6.99831 6.50638 7.04908 6.38453C7.09985 6.26267 7.12599 6.13196 7.12599 5.99995C7.12599 5.86794 7.09985 5.73723 7.04908 5.61537C6.99831 5.49351 6.92392 5.38291 6.83019 5.28995Z" ,
18540
+ fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 416}})
18488
18541
  )
18489
18542
  )
18490
18543
  )
18491
18544
  , renderCalendar(endMonth, false)
18492
18545
  )
18493
- , React$1.createElement('div', { style: {display:toggleEndYearPicker ? 'block' : 'none'}, className: "year-view", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 371}}
18494
- , React$1.createElement(YearPicker, { returnedYear: (a)=>{
18546
+ , React$1.createElement('div', { style: {display: toggleEndYearPicker ? 'block' : 'none'}, className: "year-view", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 424}}
18547
+ , React$1.createElement(YearPicker, { returnedYear: (a) => {
18495
18548
  const newDate = new Date(endMonth);
18496
18549
  newDate.setFullYear(a);
18497
18550
  setEndMonth(newDate);
18498
- }, monthYear: `${endMonthName} ${endYear}`, yearPickerVisible: (a)=>{setToggleEndYearPicker(a);}, selYear: endYear, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 372}})
18551
+ }, monthYear: `${endMonthName} ${endYear}`, yearPickerVisible: (a) => {
18552
+ setToggleEndYearPicker(a);
18553
+ }, selYear: endYear, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 425}})
18499
18554
  )
18500
18555
  )
18501
18556
  )
18502
18557
  , showActionButtons &&
18503
- React$1.createElement('div', { className: "action-buttons", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 381}}
18504
- , !startDate || !endDate ? React$1.createElement(OutlineButton, { type: "button", size: "sm", variant: "primary", style: { width: 71 }, onClick: () => {
18505
- setStartDate(null);
18506
- setEndDate(null);
18507
- selectedDateRange({ startDate: null, endDate: null });
18508
- setShowCalendar(false);
18509
- }, width: "fit-content", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 382}}, _optionalChain$v([labelOverrides, 'optionalAccess', _4 => _4.cancel]) || 'Cancel') :
18510
- React$1.createElement(OutlineButton, { type: "button", size: "sm", variant: "primary", style: {width:71}, onClick: ()=>{
18511
- setStartDate(null);
18512
- setEndDate(null);
18513
- selectedDateRange({startDate:null, endDate:null});
18514
- }, width: "fit-content", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 388}}, _optionalChain$v([labelOverrides, 'optionalAccess', _5 => _5.reset]) || 'Reset')
18558
+ React$1.createElement('div', { className: "action-buttons", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 436}}
18559
+ , !startDate || !endDate ?
18560
+ React$1.createElement(OutlineButton, { type: "button", size: "sm", variant: "primary", style: {width: 71},
18561
+ onClick: () => {
18562
+ setStartDate(null);
18563
+ setEndDate(null);
18564
+ selectedDateRange({startDate: null, endDate: null});
18565
+ setShowCalendar(false);
18566
+ },
18567
+ width: "fit-content", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 438}}, _optionalChain$v([labelOverrides, 'optionalAccess', _4 => _4.cancel]) || 'Cancel') :
18568
+ React$1.createElement(OutlineButton, { type: "button", size: "sm", variant: "primary", style: {width: 71},
18569
+ onClick: () => {
18570
+ setStartDate(null);
18571
+ setEndDate(null);
18572
+ selectedDateRange({startDate: null, endDate: null});
18573
+ }, width: "fit-content", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 446}}, _optionalChain$v([labelOverrides, 'optionalAccess', _5 => _5.reset]) || 'Reset')
18515
18574
 
18516
- , React$1.createElement(Button$1, { type: "button", size: "sm", variant: "primary", onClick: ()=>{setShowCalendar(false);}, disabled: !startDate || !endDate, width: "fit-content", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 394}}, _optionalChain$v([labelOverrides, 'optionalAccess', _6 => _6.apply]))
18575
+ , React$1.createElement(Button$1, { type: "button", size: "sm", variant: "primary", onClick: () => {
18576
+ setShowCalendar(false);
18577
+ }, disabled: !startDate || !endDate, width: "fit-content", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 453}}, _optionalChain$v([labelOverrides, 'optionalAccess', _6 => _6.apply]))
18517
18578
  )
18518
18579
 
18519
18580
  )