@razorpay/blade 12.47.1 → 12.49.0

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 (603) hide show
  1. package/build/lib/native/components/ActionList/ActionListItem.js +51 -0
  2. package/build/lib/native/components/ActionList/ActionListItem.js.map +1 -1
  3. package/build/lib/native/components/ActionList/ActionListNoResults.js +51 -0
  4. package/build/lib/native/components/ActionList/ActionListNoResults.js.map +1 -1
  5. package/build/lib/native/components/Alert/Alert.js +51 -0
  6. package/build/lib/native/components/Alert/Alert.js.map +1 -1
  7. package/build/lib/native/components/BaseHeaderFooter/BaseHeader.js +51 -0
  8. package/build/lib/native/components/BaseHeaderFooter/BaseHeader.js.map +1 -1
  9. package/build/lib/native/components/BottomSheet/BottomSheetCommon.js +51 -0
  10. package/build/lib/native/components/BottomSheet/BottomSheetCommon.js.map +1 -1
  11. package/build/lib/native/components/Carousel/NavigationButton/NavigationButton.js +51 -0
  12. package/build/lib/native/components/Carousel/NavigationButton/NavigationButton.js.map +1 -1
  13. package/build/lib/native/components/Collapsible/CollapsibleChevronIcon.native.js +51 -0
  14. package/build/lib/native/components/Collapsible/CollapsibleChevronIcon.native.js.map +1 -1
  15. package/build/lib/native/components/Form/FormHint.js +51 -0
  16. package/build/lib/native/components/Form/FormHint.js.map +1 -1
  17. package/build/lib/native/components/Icons/AcceptPaymentsFilledIcon/AcceptPaymentsFilledIcon.js +13 -0
  18. package/build/lib/native/components/Icons/AcceptPaymentsFilledIcon/AcceptPaymentsFilledIcon.js.map +1 -0
  19. package/build/lib/native/components/Icons/AffordabilityFilledIcon/AffordabilityFilledIcon.js +13 -0
  20. package/build/lib/native/components/Icons/AffordabilityFilledIcon/AffordabilityFilledIcon.js.map +1 -0
  21. package/build/lib/native/components/Icons/AutomatePayrollFilledIcon/AutomatePayrollFilledIcon.js +13 -0
  22. package/build/lib/native/components/Icons/AutomatePayrollFilledIcon/AutomatePayrollFilledIcon.js.map +1 -0
  23. package/build/lib/native/components/Icons/BankAccountVerificationFilledIcon/BankAccountVerificationFilledIcon.js +13 -0
  24. package/build/lib/native/components/Icons/BankAccountVerificationFilledIcon/BankAccountVerificationFilledIcon.js.map +1 -0
  25. package/build/lib/native/components/Icons/BfsiFilledIcon/BfsiFilledIcon.js +13 -0
  26. package/build/lib/native/components/Icons/BfsiFilledIcon/BfsiFilledIcon.js.map +1 -0
  27. package/build/lib/native/components/Icons/BillMeFilledIcon/BillMeFilledIcon.js +13 -0
  28. package/build/lib/native/components/Icons/BillMeFilledIcon/BillMeFilledIcon.js.map +1 -0
  29. package/build/lib/native/components/Icons/BulkPayoutsFilledIcon/BulkPayoutsFilledIcon.js +13 -0
  30. package/build/lib/native/components/Icons/BulkPayoutsFilledIcon/BulkPayoutsFilledIcon.js.map +1 -0
  31. package/build/lib/native/components/Icons/BusinessSpendManagementFilledIcon/BusinessSpendManagementFilledIcon.js +13 -0
  32. package/build/lib/native/components/Icons/BusinessSpendManagementFilledIcon/BusinessSpendManagementFilledIcon.js.map +1 -0
  33. package/build/lib/native/components/Icons/CompanyRegistrationFilledIcon/CompanyRegistrationFilledIcon.js +13 -0
  34. package/build/lib/native/components/Icons/CompanyRegistrationFilledIcon/CompanyRegistrationFilledIcon.js.map +1 -0
  35. package/build/lib/native/components/Icons/CreditsAndLoansFilledIcon/CreditsAndLoansFilledIcon.js +13 -0
  36. package/build/lib/native/components/Icons/CreditsAndLoansFilledIcon/CreditsAndLoansFilledIcon.js.map +1 -0
  37. package/build/lib/native/components/Icons/CurrentAccountFilledIcon/CurrentAccountFilledIcon.js +13 -0
  38. package/build/lib/native/components/Icons/CurrentAccountFilledIcon/CurrentAccountFilledIcon.js.map +1 -0
  39. package/build/lib/native/components/Icons/DigitalLendingFilledIcon/DigitalLendingFilledIcon.js +13 -0
  40. package/build/lib/native/components/Icons/DigitalLendingFilledIcon/DigitalLendingFilledIcon.js.map +1 -0
  41. package/build/lib/native/components/Icons/DisbursePaymentsFilledIcon/DisbursePaymentsFilledIcon.js +13 -0
  42. package/build/lib/native/components/Icons/DisbursePaymentsFilledIcon/DisbursePaymentsFilledIcon.js.map +1 -0
  43. package/build/lib/native/components/Icons/EcommerceFilledIcon/EcommerceFilledIcon.js +13 -0
  44. package/build/lib/native/components/Icons/EcommerceFilledIcon/EcommerceFilledIcon.js.map +1 -0
  45. package/build/lib/native/components/Icons/EducationFilledIcon/EducationFilledIcon.js +13 -0
  46. package/build/lib/native/components/Icons/EducationFilledIcon/EducationFilledIcon.js.map +1 -0
  47. package/build/lib/native/components/Icons/EngageFilledIcon/EngageFilledIcon.js +13 -0
  48. package/build/lib/native/components/Icons/EngageFilledIcon/EngageFilledIcon.js.map +1 -0
  49. package/build/lib/native/components/Icons/EscrowAccountFilledIcon/EscrowAccountFilledIcon.js +13 -0
  50. package/build/lib/native/components/Icons/EscrowAccountFilledIcon/EscrowAccountFilledIcon.js.map +1 -0
  51. package/build/lib/native/components/Icons/ForexManagementFilledIcon/ForexManagementFilledIcon.js +13 -0
  52. package/build/lib/native/components/Icons/ForexManagementFilledIcon/ForexManagementFilledIcon.js.map +1 -0
  53. package/build/lib/native/components/Icons/FreelanceFilledIcon/FreelanceFilledIcon.js +13 -0
  54. package/build/lib/native/components/Icons/FreelanceFilledIcon/FreelanceFilledIcon.js.map +1 -0
  55. package/build/lib/native/components/Icons/InstantSettlementFilledIcon/InstantSettlementFilledIcon.js +13 -0
  56. package/build/lib/native/components/Icons/InstantSettlementFilledIcon/InstantSettlementFilledIcon.js.map +1 -0
  57. package/build/lib/native/components/Icons/InternationalPaymentsFilledIcon/InternationalPaymentsFilledIcon.js +13 -0
  58. package/build/lib/native/components/Icons/InternationalPaymentsFilledIcon/InternationalPaymentsFilledIcon.js.map +1 -0
  59. package/build/lib/native/components/Icons/InvoicesFilledIcon/InvoicesFilledIcon.js +13 -0
  60. package/build/lib/native/components/Icons/InvoicesFilledIcon/InvoicesFilledIcon.js.map +1 -0
  61. package/build/lib/native/components/Icons/LoansForBusinessesFilledIcon/LoansForBusinessesFilledIcon.js +13 -0
  62. package/build/lib/native/components/Icons/LoansForBusinessesFilledIcon/LoansForBusinessesFilledIcon.js.map +1 -0
  63. package/build/lib/native/components/Icons/MagicCheckoutFilledIcon/MagicCheckoutFilledIcon.js +13 -0
  64. package/build/lib/native/components/Icons/MagicCheckoutFilledIcon/MagicCheckoutFilledIcon.js.map +1 -0
  65. package/build/lib/native/components/Icons/MagicKonnectFilledIcon/MagicKonnectFilledIcon.js +13 -0
  66. package/build/lib/native/components/Icons/MagicKonnectFilledIcon/MagicKonnectFilledIcon.js.map +1 -0
  67. package/build/lib/native/components/Icons/MobileAppFilledIcon/MobileAppFilledIcon.js +13 -0
  68. package/build/lib/native/components/Icons/MobileAppFilledIcon/MobileAppFilledIcon.js.map +1 -0
  69. package/build/lib/native/components/Icons/MoreFilledIcon/MoreFilledIcon.js +13 -0
  70. package/build/lib/native/components/Icons/MoreFilledIcon/MoreFilledIcon.js.map +1 -0
  71. package/build/lib/native/components/Icons/OptimizerFilledIcon/OptimizerFilledIcon.js +13 -0
  72. package/build/lib/native/components/Icons/OptimizerFilledIcon/OptimizerFilledIcon.js.map +1 -0
  73. package/build/lib/native/components/Icons/PaymentButtonFilledIcon/PaymentButtonFilledIcon.js +13 -0
  74. package/build/lib/native/components/Icons/PaymentButtonFilledIcon/PaymentButtonFilledIcon.js.map +1 -0
  75. package/build/lib/native/components/Icons/PaymentGatewayFilledIcon/PaymentGatewayFilledIcon.js +13 -0
  76. package/build/lib/native/components/Icons/PaymentGatewayFilledIcon/PaymentGatewayFilledIcon.js.map +1 -0
  77. package/build/lib/native/components/Icons/PaymentLinkFilledIcon/PaymentLinkFilledIcon.js +13 -0
  78. package/build/lib/native/components/Icons/PaymentLinkFilledIcon/PaymentLinkFilledIcon.js.map +1 -0
  79. package/build/lib/native/components/Icons/PaymentPagesFilledIcon/PaymentPagesFilledIcon.js +13 -0
  80. package/build/lib/native/components/Icons/PaymentPagesFilledIcon/PaymentPagesFilledIcon.js.map +1 -0
  81. package/build/lib/native/components/Icons/PayrollAddonsFilledIcon/PayrollAddonsFilledIcon.js +13 -0
  82. package/build/lib/native/components/Icons/PayrollAddonsFilledIcon/PayrollAddonsFilledIcon.js.map +1 -0
  83. package/build/lib/native/components/Icons/PayrollForCaFilledIcon/PayrollForCaFilledIcon.js +13 -0
  84. package/build/lib/native/components/Icons/PayrollForCaFilledIcon/PayrollForCaFilledIcon.js.map +1 -0
  85. package/build/lib/native/components/Icons/PayrollForStartupOrSmeFilledIcon/PayrollForStartupOrSmeFilledIcon.js +13 -0
  86. package/build/lib/native/components/Icons/PayrollForStartupOrSmeFilledIcon/PayrollForStartupOrSmeFilledIcon.js.map +1 -0
  87. package/build/lib/native/components/Icons/PettyCashBudgetFilledIcon/PettyCashBudgetFilledIcon.js +13 -0
  88. package/build/lib/native/components/Icons/PettyCashBudgetFilledIcon/PettyCashBudgetFilledIcon.js.map +1 -0
  89. package/build/lib/native/components/Icons/PosFilledIcon/PosFilledIcon.js +13 -0
  90. package/build/lib/native/components/Icons/PosFilledIcon/PosFilledIcon.js.map +1 -0
  91. package/build/lib/native/components/Icons/RazorpayxPayrollFilledIcon/RazorpayxPayrollFilledIcon.js +13 -0
  92. package/build/lib/native/components/Icons/RazorpayxPayrollFilledIcon/RazorpayxPayrollFilledIcon.js.map +1 -0
  93. package/build/lib/native/components/Icons/RouteFilledIcon/RouteFilledIcon.js +13 -0
  94. package/build/lib/native/components/Icons/RouteFilledIcon/RouteFilledIcon.js.map +1 -0
  95. package/build/lib/native/components/Icons/SaasFilledIcon/SaasFilledIcon.js +13 -0
  96. package/build/lib/native/components/Icons/SaasFilledIcon/SaasFilledIcon.js.map +1 -0
  97. package/build/lib/native/components/Icons/SmartCollectFilledIcon/SmartCollectFilledIcon.js +13 -0
  98. package/build/lib/native/components/Icons/SmartCollectFilledIcon/SmartCollectFilledIcon.js.map +1 -0
  99. package/build/lib/native/components/Icons/SolutionsFilledIcon/SolutionsFilledIcon.js +13 -0
  100. package/build/lib/native/components/Icons/SolutionsFilledIcon/SolutionsFilledIcon.js.map +1 -0
  101. package/build/lib/native/components/Icons/SourceToPayFilledIcon/SourceToPayFilledIcon.js +13 -0
  102. package/build/lib/native/components/Icons/SourceToPayFilledIcon/SourceToPayFilledIcon.js.map +1 -0
  103. package/build/lib/native/components/Icons/SubscriptionsFilledIcon/SubscriptionsFilledIcon.js +13 -0
  104. package/build/lib/native/components/Icons/SubscriptionsFilledIcon/SubscriptionsFilledIcon.js.map +1 -0
  105. package/build/lib/native/components/Icons/TaxPaymentsFilledIcon/TaxPaymentsFilledIcon.js +13 -0
  106. package/build/lib/native/components/Icons/TaxPaymentsFilledIcon/TaxPaymentsFilledIcon.js.map +1 -0
  107. package/build/lib/native/components/Icons/TokenHqFilledIcon/TokenHqFilledIcon.js +13 -0
  108. package/build/lib/native/components/Icons/TokenHqFilledIcon/TokenHqFilledIcon.js.map +1 -0
  109. package/build/lib/native/components/Icons/UpiAutopayFilledIcon/UpiAutopayFilledIcon.js +13 -0
  110. package/build/lib/native/components/Icons/UpiAutopayFilledIcon/UpiAutopayFilledIcon.js.map +1 -0
  111. package/build/lib/native/components/Icons/VendorPaymentsFilledIcon/VendorPaymentsFilledIcon.js +13 -0
  112. package/build/lib/native/components/Icons/VendorPaymentsFilledIcon/VendorPaymentsFilledIcon.js.map +1 -0
  113. package/build/lib/native/components/Icons/ViewLiveDemoFilledIcon/ViewLiveDemoFilledIcon.js +13 -0
  114. package/build/lib/native/components/Icons/ViewLiveDemoFilledIcon/ViewLiveDemoFilledIcon.js.map +1 -0
  115. package/build/lib/native/components/Icons/VolumeOffIcon/VolumeOffIcon.js +13 -0
  116. package/build/lib/native/components/Icons/VolumeOffIcon/VolumeOffIcon.js.map +1 -0
  117. package/build/lib/native/components/Icons/VolumeOnIcon/VolumeOnIcon.js +13 -0
  118. package/build/lib/native/components/Icons/VolumeOnIcon/VolumeOnIcon.js.map +1 -0
  119. package/build/lib/native/components/Input/DropdownInputTriggers/Chevron.js +51 -0
  120. package/build/lib/native/components/Input/DropdownInputTriggers/Chevron.js.map +1 -1
  121. package/build/lib/native/components/Input/PasswordInput/PasswordInput.js +51 -0
  122. package/build/lib/native/components/Input/PasswordInput/PasswordInput.js.map +1 -1
  123. package/build/lib/native/components/Input/SearchInput/SearchInput.js +51 -0
  124. package/build/lib/native/components/Input/SearchInput/SearchInput.js.map +1 -1
  125. package/build/lib/native/components/Input/TextArea/TextArea.js +51 -0
  126. package/build/lib/native/components/Input/TextArea/TextArea.js.map +1 -1
  127. package/build/lib/native/components/Input/TextInput/TextInput.js +52 -1
  128. package/build/lib/native/components/Input/TextInput/TextInput.js.map +1 -1
  129. package/build/lib/native/components/Input/TextInput/useFormattedInput.js +1 -1
  130. package/build/lib/native/components/Input/TextInput/useFormattedInput.js.map +1 -1
  131. package/build/lib/native/components/Popover/PopoverCloseButton.js +51 -0
  132. package/build/lib/native/components/Popover/PopoverCloseButton.js.map +1 -1
  133. package/build/lib/native/components/QuickFilters/QuickFilter.js +51 -0
  134. package/build/lib/native/components/QuickFilters/QuickFilter.js.map +1 -1
  135. package/build/lib/native/components/Table/tokens.js +51 -0
  136. package/build/lib/native/components/Table/tokens.js.map +1 -1
  137. package/build/lib/native/components/Tag/Tag.js +51 -0
  138. package/build/lib/native/components/Tag/Tag.js.map +1 -1
  139. package/build/lib/native/components/index.js +51 -0
  140. package/build/lib/native/components/index.js.map +1 -1
  141. package/build/lib/web/development/components/DatePicker/BaseDatePicker.web.js +162 -113
  142. package/build/lib/web/development/components/DatePicker/BaseDatePicker.web.js.map +1 -1
  143. package/build/lib/web/development/components/DatePicker/CalendarFooter.web.js +1 -1
  144. package/build/lib/web/development/components/DatePicker/CalendarFooter.web.js.map +1 -1
  145. package/build/lib/web/development/components/DatePicker/DateInput.web.js +202 -147
  146. package/build/lib/web/development/components/DatePicker/DateInput.web.js.map +1 -1
  147. package/build/lib/web/development/components/DatePicker/QuickSelection/PresetContext.js +122 -0
  148. package/build/lib/web/development/components/DatePicker/QuickSelection/PresetContext.js.map +1 -0
  149. package/build/lib/web/development/components/DatePicker/QuickSelection/PresetDropdown.web.js +46 -0
  150. package/build/lib/web/development/components/DatePicker/QuickSelection/PresetDropdown.web.js.map +1 -0
  151. package/build/lib/web/development/components/DatePicker/QuickSelection/PresetSideBar.web.js +19 -19
  152. package/build/lib/web/development/components/DatePicker/QuickSelection/PresetSideBar.web.js.map +1 -1
  153. package/build/lib/web/development/components/DatePicker/QuickSelection/utils.js +9 -0
  154. package/build/lib/web/development/components/DatePicker/QuickSelection/utils.js.map +1 -0
  155. package/build/lib/web/development/components/DatePicker/usePopup.js +10 -2
  156. package/build/lib/web/development/components/DatePicker/usePopup.js.map +1 -1
  157. package/build/lib/web/development/components/DatePicker/utils.js +419 -1
  158. package/build/lib/web/development/components/DatePicker/utils.js.map +1 -1
  159. package/build/lib/web/development/components/Icons/AcceptPaymentsFilledIcon/AcceptPaymentsFilledIcon.js +50 -0
  160. package/build/lib/web/development/components/Icons/AcceptPaymentsFilledIcon/AcceptPaymentsFilledIcon.js.map +1 -0
  161. package/build/lib/web/development/components/Icons/AcceptPaymentsFilledIcon/index.js +2 -0
  162. package/build/lib/web/development/components/Icons/AcceptPaymentsFilledIcon/index.js.map +1 -0
  163. package/build/lib/web/development/components/Icons/AffordabilityFilledIcon/AffordabilityFilledIcon.js +47 -0
  164. package/build/lib/web/development/components/Icons/AffordabilityFilledIcon/AffordabilityFilledIcon.js.map +1 -0
  165. package/build/lib/web/development/components/Icons/AffordabilityFilledIcon/index.js +2 -0
  166. package/build/lib/web/development/components/Icons/AffordabilityFilledIcon/index.js.map +1 -0
  167. package/build/lib/web/development/components/Icons/AutomatePayrollFilledIcon/AutomatePayrollFilledIcon.js +47 -0
  168. package/build/lib/web/development/components/Icons/AutomatePayrollFilledIcon/AutomatePayrollFilledIcon.js.map +1 -0
  169. package/build/lib/web/development/components/Icons/AutomatePayrollFilledIcon/index.js +2 -0
  170. package/build/lib/web/development/components/Icons/AutomatePayrollFilledIcon/index.js.map +1 -0
  171. package/build/lib/web/development/components/Icons/BankAccountVerificationFilledIcon/BankAccountVerificationFilledIcon.js +44 -0
  172. package/build/lib/web/development/components/Icons/BankAccountVerificationFilledIcon/BankAccountVerificationFilledIcon.js.map +1 -0
  173. package/build/lib/web/development/components/Icons/BankAccountVerificationFilledIcon/index.js +2 -0
  174. package/build/lib/web/development/components/Icons/BankAccountVerificationFilledIcon/index.js.map +1 -0
  175. package/build/lib/web/development/components/Icons/BfsiFilledIcon/BfsiFilledIcon.js +44 -0
  176. package/build/lib/web/development/components/Icons/BfsiFilledIcon/BfsiFilledIcon.js.map +1 -0
  177. package/build/lib/web/development/components/Icons/BfsiFilledIcon/index.js +2 -0
  178. package/build/lib/web/development/components/Icons/BfsiFilledIcon/index.js.map +1 -0
  179. package/build/lib/web/development/components/Icons/BillMeFilledIcon/BillMeFilledIcon.js +44 -0
  180. package/build/lib/web/development/components/Icons/BillMeFilledIcon/BillMeFilledIcon.js.map +1 -0
  181. package/build/lib/web/development/components/Icons/BillMeFilledIcon/index.js +2 -0
  182. package/build/lib/web/development/components/Icons/BillMeFilledIcon/index.js.map +1 -0
  183. package/build/lib/web/development/components/Icons/BulkPayoutsFilledIcon/BulkPayoutsFilledIcon.js +49 -0
  184. package/build/lib/web/development/components/Icons/BulkPayoutsFilledIcon/BulkPayoutsFilledIcon.js.map +1 -0
  185. package/build/lib/web/development/components/Icons/BulkPayoutsFilledIcon/index.js +2 -0
  186. package/build/lib/web/development/components/Icons/BulkPayoutsFilledIcon/index.js.map +1 -0
  187. package/build/lib/web/development/components/Icons/BusinessSpendManagementFilledIcon/BusinessSpendManagementFilledIcon.js +50 -0
  188. package/build/lib/web/development/components/Icons/BusinessSpendManagementFilledIcon/BusinessSpendManagementFilledIcon.js.map +1 -0
  189. package/build/lib/web/development/components/Icons/BusinessSpendManagementFilledIcon/index.js +2 -0
  190. package/build/lib/web/development/components/Icons/BusinessSpendManagementFilledIcon/index.js.map +1 -0
  191. package/build/lib/web/development/components/Icons/CompanyRegistrationFilledIcon/CompanyRegistrationFilledIcon.js +56 -0
  192. package/build/lib/web/development/components/Icons/CompanyRegistrationFilledIcon/CompanyRegistrationFilledIcon.js.map +1 -0
  193. package/build/lib/web/development/components/Icons/CompanyRegistrationFilledIcon/index.js +2 -0
  194. package/build/lib/web/development/components/Icons/CompanyRegistrationFilledIcon/index.js.map +1 -0
  195. package/build/lib/web/development/components/Icons/CreditsAndLoansFilledIcon/CreditsAndLoansFilledIcon.js +47 -0
  196. package/build/lib/web/development/components/Icons/CreditsAndLoansFilledIcon/CreditsAndLoansFilledIcon.js.map +1 -0
  197. package/build/lib/web/development/components/Icons/CreditsAndLoansFilledIcon/index.js +2 -0
  198. package/build/lib/web/development/components/Icons/CreditsAndLoansFilledIcon/index.js.map +1 -0
  199. package/build/lib/web/development/components/Icons/CurrentAccountFilledIcon/CurrentAccountFilledIcon.js +44 -0
  200. package/build/lib/web/development/components/Icons/CurrentAccountFilledIcon/CurrentAccountFilledIcon.js.map +1 -0
  201. package/build/lib/web/development/components/Icons/CurrentAccountFilledIcon/index.js +2 -0
  202. package/build/lib/web/development/components/Icons/CurrentAccountFilledIcon/index.js.map +1 -0
  203. package/build/lib/web/development/components/Icons/DigitalLendingFilledIcon/DigitalLendingFilledIcon.js +64 -0
  204. package/build/lib/web/development/components/Icons/DigitalLendingFilledIcon/DigitalLendingFilledIcon.js.map +1 -0
  205. package/build/lib/web/development/components/Icons/DigitalLendingFilledIcon/index.js +2 -0
  206. package/build/lib/web/development/components/Icons/DigitalLendingFilledIcon/index.js.map +1 -0
  207. package/build/lib/web/development/components/Icons/DisbursePaymentsFilledIcon/DisbursePaymentsFilledIcon.js +50 -0
  208. package/build/lib/web/development/components/Icons/DisbursePaymentsFilledIcon/DisbursePaymentsFilledIcon.js.map +1 -0
  209. package/build/lib/web/development/components/Icons/DisbursePaymentsFilledIcon/index.js +2 -0
  210. package/build/lib/web/development/components/Icons/DisbursePaymentsFilledIcon/index.js.map +1 -0
  211. package/build/lib/web/development/components/Icons/EcommerceFilledIcon/EcommerceFilledIcon.js +44 -0
  212. package/build/lib/web/development/components/Icons/EcommerceFilledIcon/EcommerceFilledIcon.js.map +1 -0
  213. package/build/lib/web/development/components/Icons/EcommerceFilledIcon/index.js +2 -0
  214. package/build/lib/web/development/components/Icons/EcommerceFilledIcon/index.js.map +1 -0
  215. package/build/lib/web/development/components/Icons/EducationFilledIcon/EducationFilledIcon.js +47 -0
  216. package/build/lib/web/development/components/Icons/EducationFilledIcon/EducationFilledIcon.js.map +1 -0
  217. package/build/lib/web/development/components/Icons/EducationFilledIcon/index.js +2 -0
  218. package/build/lib/web/development/components/Icons/EducationFilledIcon/index.js.map +1 -0
  219. package/build/lib/web/development/components/Icons/EngageFilledIcon/EngageFilledIcon.js +47 -0
  220. package/build/lib/web/development/components/Icons/EngageFilledIcon/EngageFilledIcon.js.map +1 -0
  221. package/build/lib/web/development/components/Icons/EngageFilledIcon/index.js +2 -0
  222. package/build/lib/web/development/components/Icons/EngageFilledIcon/index.js.map +1 -0
  223. package/build/lib/web/development/components/Icons/EscrowAccountFilledIcon/EscrowAccountFilledIcon.js +47 -0
  224. package/build/lib/web/development/components/Icons/EscrowAccountFilledIcon/EscrowAccountFilledIcon.js.map +1 -0
  225. package/build/lib/web/development/components/Icons/EscrowAccountFilledIcon/index.js +2 -0
  226. package/build/lib/web/development/components/Icons/EscrowAccountFilledIcon/index.js.map +1 -0
  227. package/build/lib/web/development/components/Icons/ForexManagementFilledIcon/ForexManagementFilledIcon.js +56 -0
  228. package/build/lib/web/development/components/Icons/ForexManagementFilledIcon/ForexManagementFilledIcon.js.map +1 -0
  229. package/build/lib/web/development/components/Icons/ForexManagementFilledIcon/index.js +2 -0
  230. package/build/lib/web/development/components/Icons/ForexManagementFilledIcon/index.js.map +1 -0
  231. package/build/lib/web/development/components/Icons/FreelanceFilledIcon/FreelanceFilledIcon.js +44 -0
  232. package/build/lib/web/development/components/Icons/FreelanceFilledIcon/FreelanceFilledIcon.js.map +1 -0
  233. package/build/lib/web/development/components/Icons/FreelanceFilledIcon/index.js +2 -0
  234. package/build/lib/web/development/components/Icons/FreelanceFilledIcon/index.js.map +1 -0
  235. package/build/lib/web/development/components/Icons/InstantSettlementFilledIcon/InstantSettlementFilledIcon.js +44 -0
  236. package/build/lib/web/development/components/Icons/InstantSettlementFilledIcon/InstantSettlementFilledIcon.js.map +1 -0
  237. package/build/lib/web/development/components/Icons/InstantSettlementFilledIcon/index.js +2 -0
  238. package/build/lib/web/development/components/Icons/InstantSettlementFilledIcon/index.js.map +1 -0
  239. package/build/lib/web/development/components/Icons/InternationalPaymentsFilledIcon/InternationalPaymentsFilledIcon.js +57 -0
  240. package/build/lib/web/development/components/Icons/InternationalPaymentsFilledIcon/InternationalPaymentsFilledIcon.js.map +1 -0
  241. package/build/lib/web/development/components/Icons/InternationalPaymentsFilledIcon/index.js +2 -0
  242. package/build/lib/web/development/components/Icons/InternationalPaymentsFilledIcon/index.js.map +1 -0
  243. package/build/lib/web/development/components/Icons/InvoicesFilledIcon/InvoicesFilledIcon.js +49 -0
  244. package/build/lib/web/development/components/Icons/InvoicesFilledIcon/InvoicesFilledIcon.js.map +1 -0
  245. package/build/lib/web/development/components/Icons/InvoicesFilledIcon/index.js +2 -0
  246. package/build/lib/web/development/components/Icons/InvoicesFilledIcon/index.js.map +1 -0
  247. package/build/lib/web/development/components/Icons/LoansForBusinessesFilledIcon/LoansForBusinessesFilledIcon.js +49 -0
  248. package/build/lib/web/development/components/Icons/LoansForBusinessesFilledIcon/LoansForBusinessesFilledIcon.js.map +1 -0
  249. package/build/lib/web/development/components/Icons/LoansForBusinessesFilledIcon/index.js +2 -0
  250. package/build/lib/web/development/components/Icons/LoansForBusinessesFilledIcon/index.js.map +1 -0
  251. package/build/lib/web/development/components/Icons/MagicCheckoutFilledIcon/MagicCheckoutFilledIcon.js +44 -0
  252. package/build/lib/web/development/components/Icons/MagicCheckoutFilledIcon/MagicCheckoutFilledIcon.js.map +1 -0
  253. package/build/lib/web/development/components/Icons/MagicCheckoutFilledIcon/index.js +2 -0
  254. package/build/lib/web/development/components/Icons/MagicCheckoutFilledIcon/index.js.map +1 -0
  255. package/build/lib/web/development/components/Icons/MagicKonnectFilledIcon/MagicKonnectFilledIcon.js +44 -0
  256. package/build/lib/web/development/components/Icons/MagicKonnectFilledIcon/MagicKonnectFilledIcon.js.map +1 -0
  257. package/build/lib/web/development/components/Icons/MagicKonnectFilledIcon/index.js +2 -0
  258. package/build/lib/web/development/components/Icons/MagicKonnectFilledIcon/index.js.map +1 -0
  259. package/build/lib/web/development/components/Icons/MobileAppFilledIcon/MobileAppFilledIcon.js +44 -0
  260. package/build/lib/web/development/components/Icons/MobileAppFilledIcon/MobileAppFilledIcon.js.map +1 -0
  261. package/build/lib/web/development/components/Icons/MobileAppFilledIcon/index.js +2 -0
  262. package/build/lib/web/development/components/Icons/MobileAppFilledIcon/index.js.map +1 -0
  263. package/build/lib/web/development/components/Icons/MoreFilledIcon/MoreFilledIcon.js +44 -0
  264. package/build/lib/web/development/components/Icons/MoreFilledIcon/MoreFilledIcon.js.map +1 -0
  265. package/build/lib/web/development/components/Icons/MoreFilledIcon/index.js +2 -0
  266. package/build/lib/web/development/components/Icons/MoreFilledIcon/index.js.map +1 -0
  267. package/build/lib/web/development/components/Icons/OptimizerFilledIcon/OptimizerFilledIcon.js +44 -0
  268. package/build/lib/web/development/components/Icons/OptimizerFilledIcon/OptimizerFilledIcon.js.map +1 -0
  269. package/build/lib/web/development/components/Icons/OptimizerFilledIcon/index.js +2 -0
  270. package/build/lib/web/development/components/Icons/OptimizerFilledIcon/index.js.map +1 -0
  271. package/build/lib/web/development/components/Icons/PaymentButtonFilledIcon/PaymentButtonFilledIcon.js +44 -0
  272. package/build/lib/web/development/components/Icons/PaymentButtonFilledIcon/PaymentButtonFilledIcon.js.map +1 -0
  273. package/build/lib/web/development/components/Icons/PaymentButtonFilledIcon/index.js +2 -0
  274. package/build/lib/web/development/components/Icons/PaymentButtonFilledIcon/index.js.map +1 -0
  275. package/build/lib/web/development/components/Icons/PaymentGatewayFilledIcon/PaymentGatewayFilledIcon.js +48 -0
  276. package/build/lib/web/development/components/Icons/PaymentGatewayFilledIcon/PaymentGatewayFilledIcon.js.map +1 -0
  277. package/build/lib/web/development/components/Icons/PaymentGatewayFilledIcon/index.js +2 -0
  278. package/build/lib/web/development/components/Icons/PaymentGatewayFilledIcon/index.js.map +1 -0
  279. package/build/lib/web/development/components/Icons/PaymentLinkFilledIcon/PaymentLinkFilledIcon.js +56 -0
  280. package/build/lib/web/development/components/Icons/PaymentLinkFilledIcon/PaymentLinkFilledIcon.js.map +1 -0
  281. package/build/lib/web/development/components/Icons/PaymentLinkFilledIcon/index.js +2 -0
  282. package/build/lib/web/development/components/Icons/PaymentLinkFilledIcon/index.js.map +1 -0
  283. package/build/lib/web/development/components/Icons/PaymentPagesFilledIcon/PaymentPagesFilledIcon.js +50 -0
  284. package/build/lib/web/development/components/Icons/PaymentPagesFilledIcon/PaymentPagesFilledIcon.js.map +1 -0
  285. package/build/lib/web/development/components/Icons/PaymentPagesFilledIcon/index.js +2 -0
  286. package/build/lib/web/development/components/Icons/PaymentPagesFilledIcon/index.js.map +1 -0
  287. package/build/lib/web/development/components/Icons/PayrollAddonsFilledIcon/PayrollAddonsFilledIcon.js +45 -0
  288. package/build/lib/web/development/components/Icons/PayrollAddonsFilledIcon/PayrollAddonsFilledIcon.js.map +1 -0
  289. package/build/lib/web/development/components/Icons/PayrollAddonsFilledIcon/index.js +2 -0
  290. package/build/lib/web/development/components/Icons/PayrollAddonsFilledIcon/index.js.map +1 -0
  291. package/build/lib/web/development/components/Icons/PayrollForCaFilledIcon/PayrollForCaFilledIcon.js +48 -0
  292. package/build/lib/web/development/components/Icons/PayrollForCaFilledIcon/PayrollForCaFilledIcon.js.map +1 -0
  293. package/build/lib/web/development/components/Icons/PayrollForCaFilledIcon/index.js +2 -0
  294. package/build/lib/web/development/components/Icons/PayrollForCaFilledIcon/index.js.map +1 -0
  295. package/build/lib/web/development/components/Icons/PayrollForStartupOrSmeFilledIcon/PayrollForStartupOrSmeFilledIcon.js +47 -0
  296. package/build/lib/web/development/components/Icons/PayrollForStartupOrSmeFilledIcon/PayrollForStartupOrSmeFilledIcon.js.map +1 -0
  297. package/build/lib/web/development/components/Icons/PayrollForStartupOrSmeFilledIcon/index.js +2 -0
  298. package/build/lib/web/development/components/Icons/PayrollForStartupOrSmeFilledIcon/index.js.map +1 -0
  299. package/build/lib/web/development/components/Icons/PettyCashBudgetFilledIcon/PettyCashBudgetFilledIcon.js +53 -0
  300. package/build/lib/web/development/components/Icons/PettyCashBudgetFilledIcon/PettyCashBudgetFilledIcon.js.map +1 -0
  301. package/build/lib/web/development/components/Icons/PettyCashBudgetFilledIcon/index.js +2 -0
  302. package/build/lib/web/development/components/Icons/PettyCashBudgetFilledIcon/index.js.map +1 -0
  303. package/build/lib/web/development/components/Icons/PosFilledIcon/PosFilledIcon.js +50 -0
  304. package/build/lib/web/development/components/Icons/PosFilledIcon/PosFilledIcon.js.map +1 -0
  305. package/build/lib/web/development/components/Icons/PosFilledIcon/index.js +2 -0
  306. package/build/lib/web/development/components/Icons/PosFilledIcon/index.js.map +1 -0
  307. package/build/lib/web/development/components/Icons/RazorpayxPayrollFilledIcon/RazorpayxPayrollFilledIcon.js +47 -0
  308. package/build/lib/web/development/components/Icons/RazorpayxPayrollFilledIcon/RazorpayxPayrollFilledIcon.js.map +1 -0
  309. package/build/lib/web/development/components/Icons/RazorpayxPayrollFilledIcon/index.js +2 -0
  310. package/build/lib/web/development/components/Icons/RazorpayxPayrollFilledIcon/index.js.map +1 -0
  311. package/build/lib/web/development/components/Icons/RouteFilledIcon/RouteFilledIcon.js +44 -0
  312. package/build/lib/web/development/components/Icons/RouteFilledIcon/RouteFilledIcon.js.map +1 -0
  313. package/build/lib/web/development/components/Icons/RouteFilledIcon/index.js +2 -0
  314. package/build/lib/web/development/components/Icons/RouteFilledIcon/index.js.map +1 -0
  315. package/build/lib/web/development/components/Icons/SaasFilledIcon/SaasFilledIcon.js +42 -0
  316. package/build/lib/web/development/components/Icons/SaasFilledIcon/SaasFilledIcon.js.map +1 -0
  317. package/build/lib/web/development/components/Icons/SaasFilledIcon/index.js +2 -0
  318. package/build/lib/web/development/components/Icons/SaasFilledIcon/index.js.map +1 -0
  319. package/build/lib/web/development/components/Icons/SmartCollectFilledIcon/SmartCollectFilledIcon.js +53 -0
  320. package/build/lib/web/development/components/Icons/SmartCollectFilledIcon/SmartCollectFilledIcon.js.map +1 -0
  321. package/build/lib/web/development/components/Icons/SmartCollectFilledIcon/index.js +2 -0
  322. package/build/lib/web/development/components/Icons/SmartCollectFilledIcon/index.js.map +1 -0
  323. package/build/lib/web/development/components/Icons/SolutionsFilledIcon/SolutionsFilledIcon.js +44 -0
  324. package/build/lib/web/development/components/Icons/SolutionsFilledIcon/SolutionsFilledIcon.js.map +1 -0
  325. package/build/lib/web/development/components/Icons/SolutionsFilledIcon/index.js +2 -0
  326. package/build/lib/web/development/components/Icons/SolutionsFilledIcon/index.js.map +1 -0
  327. package/build/lib/web/development/components/Icons/SourceToPayFilledIcon/SourceToPayFilledIcon.js +60 -0
  328. package/build/lib/web/development/components/Icons/SourceToPayFilledIcon/SourceToPayFilledIcon.js.map +1 -0
  329. package/build/lib/web/development/components/Icons/SourceToPayFilledIcon/index.js +2 -0
  330. package/build/lib/web/development/components/Icons/SourceToPayFilledIcon/index.js.map +1 -0
  331. package/build/lib/web/development/components/Icons/SubscriptionsFilledIcon/SubscriptionsFilledIcon.js +64 -0
  332. package/build/lib/web/development/components/Icons/SubscriptionsFilledIcon/SubscriptionsFilledIcon.js.map +1 -0
  333. package/build/lib/web/development/components/Icons/SubscriptionsFilledIcon/index.js +2 -0
  334. package/build/lib/web/development/components/Icons/SubscriptionsFilledIcon/index.js.map +1 -0
  335. package/build/lib/web/development/components/Icons/TaxPaymentsFilledIcon/TaxPaymentsFilledIcon.js +50 -0
  336. package/build/lib/web/development/components/Icons/TaxPaymentsFilledIcon/TaxPaymentsFilledIcon.js.map +1 -0
  337. package/build/lib/web/development/components/Icons/TaxPaymentsFilledIcon/index.js +2 -0
  338. package/build/lib/web/development/components/Icons/TaxPaymentsFilledIcon/index.js.map +1 -0
  339. package/build/lib/web/development/components/Icons/TokenHqFilledIcon/TokenHqFilledIcon.js +53 -0
  340. package/build/lib/web/development/components/Icons/TokenHqFilledIcon/TokenHqFilledIcon.js.map +1 -0
  341. package/build/lib/web/development/components/Icons/TokenHqFilledIcon/index.js +2 -0
  342. package/build/lib/web/development/components/Icons/TokenHqFilledIcon/index.js.map +1 -0
  343. package/build/lib/web/development/components/Icons/UpiAutopayFilledIcon/UpiAutopayFilledIcon.js +64 -0
  344. package/build/lib/web/development/components/Icons/UpiAutopayFilledIcon/UpiAutopayFilledIcon.js.map +1 -0
  345. package/build/lib/web/development/components/Icons/UpiAutopayFilledIcon/index.js +2 -0
  346. package/build/lib/web/development/components/Icons/UpiAutopayFilledIcon/index.js.map +1 -0
  347. package/build/lib/web/development/components/Icons/VendorPaymentsFilledIcon/VendorPaymentsFilledIcon.js +52 -0
  348. package/build/lib/web/development/components/Icons/VendorPaymentsFilledIcon/VendorPaymentsFilledIcon.js.map +1 -0
  349. package/build/lib/web/development/components/Icons/VendorPaymentsFilledIcon/index.js +2 -0
  350. package/build/lib/web/development/components/Icons/VendorPaymentsFilledIcon/index.js.map +1 -0
  351. package/build/lib/web/development/components/Icons/ViewLiveDemoFilledIcon/ViewLiveDemoFilledIcon.js +47 -0
  352. package/build/lib/web/development/components/Icons/ViewLiveDemoFilledIcon/ViewLiveDemoFilledIcon.js.map +1 -0
  353. package/build/lib/web/development/components/Icons/ViewLiveDemoFilledIcon/index.js +2 -0
  354. package/build/lib/web/development/components/Icons/ViewLiveDemoFilledIcon/index.js.map +1 -0
  355. package/build/lib/web/development/components/Icons/VolumeOffIcon/VolumeOffIcon.js +53 -0
  356. package/build/lib/web/development/components/Icons/VolumeOffIcon/VolumeOffIcon.js.map +1 -0
  357. package/build/lib/web/development/components/Icons/VolumeOffIcon/index.js +2 -0
  358. package/build/lib/web/development/components/Icons/VolumeOffIcon/index.js.map +1 -0
  359. package/build/lib/web/development/components/Icons/VolumeOnIcon/VolumeOnIcon.js +50 -0
  360. package/build/lib/web/development/components/Icons/VolumeOnIcon/VolumeOnIcon.js.map +1 -0
  361. package/build/lib/web/development/components/Icons/VolumeOnIcon/index.js +2 -0
  362. package/build/lib/web/development/components/Icons/VolumeOnIcon/index.js.map +1 -0
  363. package/build/lib/web/development/components/Icons/index.js +51 -0
  364. package/build/lib/web/development/components/Icons/index.js.map +1 -1
  365. package/build/lib/web/development/components/Input/TextInput/TextInput.js +3 -1
  366. package/build/lib/web/development/components/Input/TextInput/TextInput.js.map +1 -1
  367. package/build/lib/web/development/components/Input/TextInput/useFormattedInput.js +21 -0
  368. package/build/lib/web/development/components/Input/TextInput/useFormattedInput.js.map +1 -1
  369. package/build/lib/web/development/components/index.js +51 -0
  370. package/build/lib/web/development/components/index.js.map +1 -1
  371. package/build/lib/web/production/components/DatePicker/BaseDatePicker.web.js +162 -113
  372. package/build/lib/web/production/components/DatePicker/BaseDatePicker.web.js.map +1 -1
  373. package/build/lib/web/production/components/DatePicker/CalendarFooter.web.js +1 -1
  374. package/build/lib/web/production/components/DatePicker/CalendarFooter.web.js.map +1 -1
  375. package/build/lib/web/production/components/DatePicker/DateInput.web.js +202 -147
  376. package/build/lib/web/production/components/DatePicker/DateInput.web.js.map +1 -1
  377. package/build/lib/web/production/components/DatePicker/QuickSelection/PresetContext.js +122 -0
  378. package/build/lib/web/production/components/DatePicker/QuickSelection/PresetContext.js.map +1 -0
  379. package/build/lib/web/production/components/DatePicker/QuickSelection/PresetDropdown.web.js +46 -0
  380. package/build/lib/web/production/components/DatePicker/QuickSelection/PresetDropdown.web.js.map +1 -0
  381. package/build/lib/web/production/components/DatePicker/QuickSelection/PresetSideBar.web.js +19 -19
  382. package/build/lib/web/production/components/DatePicker/QuickSelection/PresetSideBar.web.js.map +1 -1
  383. package/build/lib/web/production/components/DatePicker/QuickSelection/utils.js +9 -0
  384. package/build/lib/web/production/components/DatePicker/QuickSelection/utils.js.map +1 -0
  385. package/build/lib/web/production/components/DatePicker/usePopup.js +10 -2
  386. package/build/lib/web/production/components/DatePicker/usePopup.js.map +1 -1
  387. package/build/lib/web/production/components/DatePicker/utils.js +419 -1
  388. package/build/lib/web/production/components/DatePicker/utils.js.map +1 -1
  389. package/build/lib/web/production/components/Icons/AcceptPaymentsFilledIcon/AcceptPaymentsFilledIcon.js +50 -0
  390. package/build/lib/web/production/components/Icons/AcceptPaymentsFilledIcon/AcceptPaymentsFilledIcon.js.map +1 -0
  391. package/build/lib/web/production/components/Icons/AcceptPaymentsFilledIcon/index.js +2 -0
  392. package/build/lib/web/production/components/Icons/AcceptPaymentsFilledIcon/index.js.map +1 -0
  393. package/build/lib/web/production/components/Icons/AffordabilityFilledIcon/AffordabilityFilledIcon.js +47 -0
  394. package/build/lib/web/production/components/Icons/AffordabilityFilledIcon/AffordabilityFilledIcon.js.map +1 -0
  395. package/build/lib/web/production/components/Icons/AffordabilityFilledIcon/index.js +2 -0
  396. package/build/lib/web/production/components/Icons/AffordabilityFilledIcon/index.js.map +1 -0
  397. package/build/lib/web/production/components/Icons/AutomatePayrollFilledIcon/AutomatePayrollFilledIcon.js +47 -0
  398. package/build/lib/web/production/components/Icons/AutomatePayrollFilledIcon/AutomatePayrollFilledIcon.js.map +1 -0
  399. package/build/lib/web/production/components/Icons/AutomatePayrollFilledIcon/index.js +2 -0
  400. package/build/lib/web/production/components/Icons/AutomatePayrollFilledIcon/index.js.map +1 -0
  401. package/build/lib/web/production/components/Icons/BankAccountVerificationFilledIcon/BankAccountVerificationFilledIcon.js +44 -0
  402. package/build/lib/web/production/components/Icons/BankAccountVerificationFilledIcon/BankAccountVerificationFilledIcon.js.map +1 -0
  403. package/build/lib/web/production/components/Icons/BankAccountVerificationFilledIcon/index.js +2 -0
  404. package/build/lib/web/production/components/Icons/BankAccountVerificationFilledIcon/index.js.map +1 -0
  405. package/build/lib/web/production/components/Icons/BfsiFilledIcon/BfsiFilledIcon.js +44 -0
  406. package/build/lib/web/production/components/Icons/BfsiFilledIcon/BfsiFilledIcon.js.map +1 -0
  407. package/build/lib/web/production/components/Icons/BfsiFilledIcon/index.js +2 -0
  408. package/build/lib/web/production/components/Icons/BfsiFilledIcon/index.js.map +1 -0
  409. package/build/lib/web/production/components/Icons/BillMeFilledIcon/BillMeFilledIcon.js +44 -0
  410. package/build/lib/web/production/components/Icons/BillMeFilledIcon/BillMeFilledIcon.js.map +1 -0
  411. package/build/lib/web/production/components/Icons/BillMeFilledIcon/index.js +2 -0
  412. package/build/lib/web/production/components/Icons/BillMeFilledIcon/index.js.map +1 -0
  413. package/build/lib/web/production/components/Icons/BulkPayoutsFilledIcon/BulkPayoutsFilledIcon.js +49 -0
  414. package/build/lib/web/production/components/Icons/BulkPayoutsFilledIcon/BulkPayoutsFilledIcon.js.map +1 -0
  415. package/build/lib/web/production/components/Icons/BulkPayoutsFilledIcon/index.js +2 -0
  416. package/build/lib/web/production/components/Icons/BulkPayoutsFilledIcon/index.js.map +1 -0
  417. package/build/lib/web/production/components/Icons/BusinessSpendManagementFilledIcon/BusinessSpendManagementFilledIcon.js +50 -0
  418. package/build/lib/web/production/components/Icons/BusinessSpendManagementFilledIcon/BusinessSpendManagementFilledIcon.js.map +1 -0
  419. package/build/lib/web/production/components/Icons/BusinessSpendManagementFilledIcon/index.js +2 -0
  420. package/build/lib/web/production/components/Icons/BusinessSpendManagementFilledIcon/index.js.map +1 -0
  421. package/build/lib/web/production/components/Icons/CompanyRegistrationFilledIcon/CompanyRegistrationFilledIcon.js +56 -0
  422. package/build/lib/web/production/components/Icons/CompanyRegistrationFilledIcon/CompanyRegistrationFilledIcon.js.map +1 -0
  423. package/build/lib/web/production/components/Icons/CompanyRegistrationFilledIcon/index.js +2 -0
  424. package/build/lib/web/production/components/Icons/CompanyRegistrationFilledIcon/index.js.map +1 -0
  425. package/build/lib/web/production/components/Icons/CreditsAndLoansFilledIcon/CreditsAndLoansFilledIcon.js +47 -0
  426. package/build/lib/web/production/components/Icons/CreditsAndLoansFilledIcon/CreditsAndLoansFilledIcon.js.map +1 -0
  427. package/build/lib/web/production/components/Icons/CreditsAndLoansFilledIcon/index.js +2 -0
  428. package/build/lib/web/production/components/Icons/CreditsAndLoansFilledIcon/index.js.map +1 -0
  429. package/build/lib/web/production/components/Icons/CurrentAccountFilledIcon/CurrentAccountFilledIcon.js +44 -0
  430. package/build/lib/web/production/components/Icons/CurrentAccountFilledIcon/CurrentAccountFilledIcon.js.map +1 -0
  431. package/build/lib/web/production/components/Icons/CurrentAccountFilledIcon/index.js +2 -0
  432. package/build/lib/web/production/components/Icons/CurrentAccountFilledIcon/index.js.map +1 -0
  433. package/build/lib/web/production/components/Icons/DigitalLendingFilledIcon/DigitalLendingFilledIcon.js +64 -0
  434. package/build/lib/web/production/components/Icons/DigitalLendingFilledIcon/DigitalLendingFilledIcon.js.map +1 -0
  435. package/build/lib/web/production/components/Icons/DigitalLendingFilledIcon/index.js +2 -0
  436. package/build/lib/web/production/components/Icons/DigitalLendingFilledIcon/index.js.map +1 -0
  437. package/build/lib/web/production/components/Icons/DisbursePaymentsFilledIcon/DisbursePaymentsFilledIcon.js +50 -0
  438. package/build/lib/web/production/components/Icons/DisbursePaymentsFilledIcon/DisbursePaymentsFilledIcon.js.map +1 -0
  439. package/build/lib/web/production/components/Icons/DisbursePaymentsFilledIcon/index.js +2 -0
  440. package/build/lib/web/production/components/Icons/DisbursePaymentsFilledIcon/index.js.map +1 -0
  441. package/build/lib/web/production/components/Icons/EcommerceFilledIcon/EcommerceFilledIcon.js +44 -0
  442. package/build/lib/web/production/components/Icons/EcommerceFilledIcon/EcommerceFilledIcon.js.map +1 -0
  443. package/build/lib/web/production/components/Icons/EcommerceFilledIcon/index.js +2 -0
  444. package/build/lib/web/production/components/Icons/EcommerceFilledIcon/index.js.map +1 -0
  445. package/build/lib/web/production/components/Icons/EducationFilledIcon/EducationFilledIcon.js +47 -0
  446. package/build/lib/web/production/components/Icons/EducationFilledIcon/EducationFilledIcon.js.map +1 -0
  447. package/build/lib/web/production/components/Icons/EducationFilledIcon/index.js +2 -0
  448. package/build/lib/web/production/components/Icons/EducationFilledIcon/index.js.map +1 -0
  449. package/build/lib/web/production/components/Icons/EngageFilledIcon/EngageFilledIcon.js +47 -0
  450. package/build/lib/web/production/components/Icons/EngageFilledIcon/EngageFilledIcon.js.map +1 -0
  451. package/build/lib/web/production/components/Icons/EngageFilledIcon/index.js +2 -0
  452. package/build/lib/web/production/components/Icons/EngageFilledIcon/index.js.map +1 -0
  453. package/build/lib/web/production/components/Icons/EscrowAccountFilledIcon/EscrowAccountFilledIcon.js +47 -0
  454. package/build/lib/web/production/components/Icons/EscrowAccountFilledIcon/EscrowAccountFilledIcon.js.map +1 -0
  455. package/build/lib/web/production/components/Icons/EscrowAccountFilledIcon/index.js +2 -0
  456. package/build/lib/web/production/components/Icons/EscrowAccountFilledIcon/index.js.map +1 -0
  457. package/build/lib/web/production/components/Icons/ForexManagementFilledIcon/ForexManagementFilledIcon.js +56 -0
  458. package/build/lib/web/production/components/Icons/ForexManagementFilledIcon/ForexManagementFilledIcon.js.map +1 -0
  459. package/build/lib/web/production/components/Icons/ForexManagementFilledIcon/index.js +2 -0
  460. package/build/lib/web/production/components/Icons/ForexManagementFilledIcon/index.js.map +1 -0
  461. package/build/lib/web/production/components/Icons/FreelanceFilledIcon/FreelanceFilledIcon.js +44 -0
  462. package/build/lib/web/production/components/Icons/FreelanceFilledIcon/FreelanceFilledIcon.js.map +1 -0
  463. package/build/lib/web/production/components/Icons/FreelanceFilledIcon/index.js +2 -0
  464. package/build/lib/web/production/components/Icons/FreelanceFilledIcon/index.js.map +1 -0
  465. package/build/lib/web/production/components/Icons/InstantSettlementFilledIcon/InstantSettlementFilledIcon.js +44 -0
  466. package/build/lib/web/production/components/Icons/InstantSettlementFilledIcon/InstantSettlementFilledIcon.js.map +1 -0
  467. package/build/lib/web/production/components/Icons/InstantSettlementFilledIcon/index.js +2 -0
  468. package/build/lib/web/production/components/Icons/InstantSettlementFilledIcon/index.js.map +1 -0
  469. package/build/lib/web/production/components/Icons/InternationalPaymentsFilledIcon/InternationalPaymentsFilledIcon.js +57 -0
  470. package/build/lib/web/production/components/Icons/InternationalPaymentsFilledIcon/InternationalPaymentsFilledIcon.js.map +1 -0
  471. package/build/lib/web/production/components/Icons/InternationalPaymentsFilledIcon/index.js +2 -0
  472. package/build/lib/web/production/components/Icons/InternationalPaymentsFilledIcon/index.js.map +1 -0
  473. package/build/lib/web/production/components/Icons/InvoicesFilledIcon/InvoicesFilledIcon.js +49 -0
  474. package/build/lib/web/production/components/Icons/InvoicesFilledIcon/InvoicesFilledIcon.js.map +1 -0
  475. package/build/lib/web/production/components/Icons/InvoicesFilledIcon/index.js +2 -0
  476. package/build/lib/web/production/components/Icons/InvoicesFilledIcon/index.js.map +1 -0
  477. package/build/lib/web/production/components/Icons/LoansForBusinessesFilledIcon/LoansForBusinessesFilledIcon.js +49 -0
  478. package/build/lib/web/production/components/Icons/LoansForBusinessesFilledIcon/LoansForBusinessesFilledIcon.js.map +1 -0
  479. package/build/lib/web/production/components/Icons/LoansForBusinessesFilledIcon/index.js +2 -0
  480. package/build/lib/web/production/components/Icons/LoansForBusinessesFilledIcon/index.js.map +1 -0
  481. package/build/lib/web/production/components/Icons/MagicCheckoutFilledIcon/MagicCheckoutFilledIcon.js +44 -0
  482. package/build/lib/web/production/components/Icons/MagicCheckoutFilledIcon/MagicCheckoutFilledIcon.js.map +1 -0
  483. package/build/lib/web/production/components/Icons/MagicCheckoutFilledIcon/index.js +2 -0
  484. package/build/lib/web/production/components/Icons/MagicCheckoutFilledIcon/index.js.map +1 -0
  485. package/build/lib/web/production/components/Icons/MagicKonnectFilledIcon/MagicKonnectFilledIcon.js +44 -0
  486. package/build/lib/web/production/components/Icons/MagicKonnectFilledIcon/MagicKonnectFilledIcon.js.map +1 -0
  487. package/build/lib/web/production/components/Icons/MagicKonnectFilledIcon/index.js +2 -0
  488. package/build/lib/web/production/components/Icons/MagicKonnectFilledIcon/index.js.map +1 -0
  489. package/build/lib/web/production/components/Icons/MobileAppFilledIcon/MobileAppFilledIcon.js +44 -0
  490. package/build/lib/web/production/components/Icons/MobileAppFilledIcon/MobileAppFilledIcon.js.map +1 -0
  491. package/build/lib/web/production/components/Icons/MobileAppFilledIcon/index.js +2 -0
  492. package/build/lib/web/production/components/Icons/MobileAppFilledIcon/index.js.map +1 -0
  493. package/build/lib/web/production/components/Icons/MoreFilledIcon/MoreFilledIcon.js +44 -0
  494. package/build/lib/web/production/components/Icons/MoreFilledIcon/MoreFilledIcon.js.map +1 -0
  495. package/build/lib/web/production/components/Icons/MoreFilledIcon/index.js +2 -0
  496. package/build/lib/web/production/components/Icons/MoreFilledIcon/index.js.map +1 -0
  497. package/build/lib/web/production/components/Icons/OptimizerFilledIcon/OptimizerFilledIcon.js +44 -0
  498. package/build/lib/web/production/components/Icons/OptimizerFilledIcon/OptimizerFilledIcon.js.map +1 -0
  499. package/build/lib/web/production/components/Icons/OptimizerFilledIcon/index.js +2 -0
  500. package/build/lib/web/production/components/Icons/OptimizerFilledIcon/index.js.map +1 -0
  501. package/build/lib/web/production/components/Icons/PaymentButtonFilledIcon/PaymentButtonFilledIcon.js +44 -0
  502. package/build/lib/web/production/components/Icons/PaymentButtonFilledIcon/PaymentButtonFilledIcon.js.map +1 -0
  503. package/build/lib/web/production/components/Icons/PaymentButtonFilledIcon/index.js +2 -0
  504. package/build/lib/web/production/components/Icons/PaymentButtonFilledIcon/index.js.map +1 -0
  505. package/build/lib/web/production/components/Icons/PaymentGatewayFilledIcon/PaymentGatewayFilledIcon.js +48 -0
  506. package/build/lib/web/production/components/Icons/PaymentGatewayFilledIcon/PaymentGatewayFilledIcon.js.map +1 -0
  507. package/build/lib/web/production/components/Icons/PaymentGatewayFilledIcon/index.js +2 -0
  508. package/build/lib/web/production/components/Icons/PaymentGatewayFilledIcon/index.js.map +1 -0
  509. package/build/lib/web/production/components/Icons/PaymentLinkFilledIcon/PaymentLinkFilledIcon.js +56 -0
  510. package/build/lib/web/production/components/Icons/PaymentLinkFilledIcon/PaymentLinkFilledIcon.js.map +1 -0
  511. package/build/lib/web/production/components/Icons/PaymentLinkFilledIcon/index.js +2 -0
  512. package/build/lib/web/production/components/Icons/PaymentLinkFilledIcon/index.js.map +1 -0
  513. package/build/lib/web/production/components/Icons/PaymentPagesFilledIcon/PaymentPagesFilledIcon.js +50 -0
  514. package/build/lib/web/production/components/Icons/PaymentPagesFilledIcon/PaymentPagesFilledIcon.js.map +1 -0
  515. package/build/lib/web/production/components/Icons/PaymentPagesFilledIcon/index.js +2 -0
  516. package/build/lib/web/production/components/Icons/PaymentPagesFilledIcon/index.js.map +1 -0
  517. package/build/lib/web/production/components/Icons/PayrollAddonsFilledIcon/PayrollAddonsFilledIcon.js +45 -0
  518. package/build/lib/web/production/components/Icons/PayrollAddonsFilledIcon/PayrollAddonsFilledIcon.js.map +1 -0
  519. package/build/lib/web/production/components/Icons/PayrollAddonsFilledIcon/index.js +2 -0
  520. package/build/lib/web/production/components/Icons/PayrollAddonsFilledIcon/index.js.map +1 -0
  521. package/build/lib/web/production/components/Icons/PayrollForCaFilledIcon/PayrollForCaFilledIcon.js +48 -0
  522. package/build/lib/web/production/components/Icons/PayrollForCaFilledIcon/PayrollForCaFilledIcon.js.map +1 -0
  523. package/build/lib/web/production/components/Icons/PayrollForCaFilledIcon/index.js +2 -0
  524. package/build/lib/web/production/components/Icons/PayrollForCaFilledIcon/index.js.map +1 -0
  525. package/build/lib/web/production/components/Icons/PayrollForStartupOrSmeFilledIcon/PayrollForStartupOrSmeFilledIcon.js +47 -0
  526. package/build/lib/web/production/components/Icons/PayrollForStartupOrSmeFilledIcon/PayrollForStartupOrSmeFilledIcon.js.map +1 -0
  527. package/build/lib/web/production/components/Icons/PayrollForStartupOrSmeFilledIcon/index.js +2 -0
  528. package/build/lib/web/production/components/Icons/PayrollForStartupOrSmeFilledIcon/index.js.map +1 -0
  529. package/build/lib/web/production/components/Icons/PettyCashBudgetFilledIcon/PettyCashBudgetFilledIcon.js +53 -0
  530. package/build/lib/web/production/components/Icons/PettyCashBudgetFilledIcon/PettyCashBudgetFilledIcon.js.map +1 -0
  531. package/build/lib/web/production/components/Icons/PettyCashBudgetFilledIcon/index.js +2 -0
  532. package/build/lib/web/production/components/Icons/PettyCashBudgetFilledIcon/index.js.map +1 -0
  533. package/build/lib/web/production/components/Icons/PosFilledIcon/PosFilledIcon.js +50 -0
  534. package/build/lib/web/production/components/Icons/PosFilledIcon/PosFilledIcon.js.map +1 -0
  535. package/build/lib/web/production/components/Icons/PosFilledIcon/index.js +2 -0
  536. package/build/lib/web/production/components/Icons/PosFilledIcon/index.js.map +1 -0
  537. package/build/lib/web/production/components/Icons/RazorpayxPayrollFilledIcon/RazorpayxPayrollFilledIcon.js +47 -0
  538. package/build/lib/web/production/components/Icons/RazorpayxPayrollFilledIcon/RazorpayxPayrollFilledIcon.js.map +1 -0
  539. package/build/lib/web/production/components/Icons/RazorpayxPayrollFilledIcon/index.js +2 -0
  540. package/build/lib/web/production/components/Icons/RazorpayxPayrollFilledIcon/index.js.map +1 -0
  541. package/build/lib/web/production/components/Icons/RouteFilledIcon/RouteFilledIcon.js +44 -0
  542. package/build/lib/web/production/components/Icons/RouteFilledIcon/RouteFilledIcon.js.map +1 -0
  543. package/build/lib/web/production/components/Icons/RouteFilledIcon/index.js +2 -0
  544. package/build/lib/web/production/components/Icons/RouteFilledIcon/index.js.map +1 -0
  545. package/build/lib/web/production/components/Icons/SaasFilledIcon/SaasFilledIcon.js +42 -0
  546. package/build/lib/web/production/components/Icons/SaasFilledIcon/SaasFilledIcon.js.map +1 -0
  547. package/build/lib/web/production/components/Icons/SaasFilledIcon/index.js +2 -0
  548. package/build/lib/web/production/components/Icons/SaasFilledIcon/index.js.map +1 -0
  549. package/build/lib/web/production/components/Icons/SmartCollectFilledIcon/SmartCollectFilledIcon.js +53 -0
  550. package/build/lib/web/production/components/Icons/SmartCollectFilledIcon/SmartCollectFilledIcon.js.map +1 -0
  551. package/build/lib/web/production/components/Icons/SmartCollectFilledIcon/index.js +2 -0
  552. package/build/lib/web/production/components/Icons/SmartCollectFilledIcon/index.js.map +1 -0
  553. package/build/lib/web/production/components/Icons/SolutionsFilledIcon/SolutionsFilledIcon.js +44 -0
  554. package/build/lib/web/production/components/Icons/SolutionsFilledIcon/SolutionsFilledIcon.js.map +1 -0
  555. package/build/lib/web/production/components/Icons/SolutionsFilledIcon/index.js +2 -0
  556. package/build/lib/web/production/components/Icons/SolutionsFilledIcon/index.js.map +1 -0
  557. package/build/lib/web/production/components/Icons/SourceToPayFilledIcon/SourceToPayFilledIcon.js +60 -0
  558. package/build/lib/web/production/components/Icons/SourceToPayFilledIcon/SourceToPayFilledIcon.js.map +1 -0
  559. package/build/lib/web/production/components/Icons/SourceToPayFilledIcon/index.js +2 -0
  560. package/build/lib/web/production/components/Icons/SourceToPayFilledIcon/index.js.map +1 -0
  561. package/build/lib/web/production/components/Icons/SubscriptionsFilledIcon/SubscriptionsFilledIcon.js +64 -0
  562. package/build/lib/web/production/components/Icons/SubscriptionsFilledIcon/SubscriptionsFilledIcon.js.map +1 -0
  563. package/build/lib/web/production/components/Icons/SubscriptionsFilledIcon/index.js +2 -0
  564. package/build/lib/web/production/components/Icons/SubscriptionsFilledIcon/index.js.map +1 -0
  565. package/build/lib/web/production/components/Icons/TaxPaymentsFilledIcon/TaxPaymentsFilledIcon.js +50 -0
  566. package/build/lib/web/production/components/Icons/TaxPaymentsFilledIcon/TaxPaymentsFilledIcon.js.map +1 -0
  567. package/build/lib/web/production/components/Icons/TaxPaymentsFilledIcon/index.js +2 -0
  568. package/build/lib/web/production/components/Icons/TaxPaymentsFilledIcon/index.js.map +1 -0
  569. package/build/lib/web/production/components/Icons/TokenHqFilledIcon/TokenHqFilledIcon.js +53 -0
  570. package/build/lib/web/production/components/Icons/TokenHqFilledIcon/TokenHqFilledIcon.js.map +1 -0
  571. package/build/lib/web/production/components/Icons/TokenHqFilledIcon/index.js +2 -0
  572. package/build/lib/web/production/components/Icons/TokenHqFilledIcon/index.js.map +1 -0
  573. package/build/lib/web/production/components/Icons/UpiAutopayFilledIcon/UpiAutopayFilledIcon.js +64 -0
  574. package/build/lib/web/production/components/Icons/UpiAutopayFilledIcon/UpiAutopayFilledIcon.js.map +1 -0
  575. package/build/lib/web/production/components/Icons/UpiAutopayFilledIcon/index.js +2 -0
  576. package/build/lib/web/production/components/Icons/UpiAutopayFilledIcon/index.js.map +1 -0
  577. package/build/lib/web/production/components/Icons/VendorPaymentsFilledIcon/VendorPaymentsFilledIcon.js +52 -0
  578. package/build/lib/web/production/components/Icons/VendorPaymentsFilledIcon/VendorPaymentsFilledIcon.js.map +1 -0
  579. package/build/lib/web/production/components/Icons/VendorPaymentsFilledIcon/index.js +2 -0
  580. package/build/lib/web/production/components/Icons/VendorPaymentsFilledIcon/index.js.map +1 -0
  581. package/build/lib/web/production/components/Icons/ViewLiveDemoFilledIcon/ViewLiveDemoFilledIcon.js +47 -0
  582. package/build/lib/web/production/components/Icons/ViewLiveDemoFilledIcon/ViewLiveDemoFilledIcon.js.map +1 -0
  583. package/build/lib/web/production/components/Icons/ViewLiveDemoFilledIcon/index.js +2 -0
  584. package/build/lib/web/production/components/Icons/ViewLiveDemoFilledIcon/index.js.map +1 -0
  585. package/build/lib/web/production/components/Icons/VolumeOffIcon/VolumeOffIcon.js +53 -0
  586. package/build/lib/web/production/components/Icons/VolumeOffIcon/VolumeOffIcon.js.map +1 -0
  587. package/build/lib/web/production/components/Icons/VolumeOffIcon/index.js +2 -0
  588. package/build/lib/web/production/components/Icons/VolumeOffIcon/index.js.map +1 -0
  589. package/build/lib/web/production/components/Icons/VolumeOnIcon/VolumeOnIcon.js +50 -0
  590. package/build/lib/web/production/components/Icons/VolumeOnIcon/VolumeOnIcon.js.map +1 -0
  591. package/build/lib/web/production/components/Icons/VolumeOnIcon/index.js +2 -0
  592. package/build/lib/web/production/components/Icons/VolumeOnIcon/index.js.map +1 -0
  593. package/build/lib/web/production/components/Icons/index.js +51 -0
  594. package/build/lib/web/production/components/Icons/index.js.map +1 -1
  595. package/build/lib/web/production/components/Input/TextInput/TextInput.js +3 -1
  596. package/build/lib/web/production/components/Input/TextInput/TextInput.js.map +1 -1
  597. package/build/lib/web/production/components/Input/TextInput/useFormattedInput.js +21 -0
  598. package/build/lib/web/production/components/Input/TextInput/useFormattedInput.js.map +1 -1
  599. package/build/lib/web/production/components/index.js +51 -0
  600. package/build/lib/web/production/components/index.js.map +1 -1
  601. package/build/types/components/index.d.ts +113 -6
  602. package/build/types/components/index.native.d.ts +113 -6
  603. package/package.json +1 -1
@@ -1,7 +1,9 @@
1
1
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
2
2
  import dayjs from 'dayjs';
3
+ import customParseFormat from 'dayjs/plugin/customParseFormat';
3
4
 
4
5
  var _excluded = ["formatter"];
6
+ dayjs.extend(customParseFormat);
5
7
  var dayjs_locales = ['af', 'ar', 'ar-dz', 'ar-kw', 'ar-ly', 'ar-ma', 'ar-sa', 'ar-tn', 'az', 'be', 'bg', 'bm', 'bn', 'bo', 'br', 'bs', 'ca', 'cs', 'cv', 'cy', 'da', 'de', 'de-at', 'de-ch', 'dv', 'el', 'en', 'en-au', 'en-ca', 'en-gb', 'en-ie', 'en-il', 'en-nz', 'en-SG', 'eo', 'es', 'es-do', 'es-us', 'et', 'eu', 'fa', 'fi', 'fo', 'fr', 'fr-ca', 'fr-ch', 'fy', 'ga', 'gd', 'gl', 'gom-latn', 'gu', 'he', 'hi', 'hr', 'hu', 'hy-am', 'id', 'is', 'it', 'it-ch', 'ja', 'jv', 'ka', 'kk', 'km', 'kn', 'ko', 'ku', 'ky', 'lb', 'lo', 'lt', 'lv', 'me', 'mi', 'mk', 'ml', 'mn', 'mr', 'ms', 'ms-my', 'mt', 'my', 'nb', 'ne', 'nl', 'nl-be', 'nn', 'oc-lnc', 'pa-in', 'pl', 'pt', 'pt-br', 'ro', 'ru', 'sd', 'se', 'si', 'sk', 'sl', 'sq', 'sr', 'sr-cyrl', 'ss', 'sv', 'sw', 'ta', 'te', 'tet', 'tg', 'th', 'tl-ph', 'tlh', 'tr', 'tzl', 'tzm', 'tzm-latn', 'ug-cn', 'uk', 'ur', 'uz', 'uz-latn', 'vi', 'x-pseudo', 'yo', 'zh-cn', 'zh-hk', 'zh-tw'];
6
8
 
7
9
  // https://github.com/iamkun/dayjs/issues/732#issuecomment-554383261
@@ -66,6 +68,422 @@ function getFormattedDate(_ref2) {
66
68
  others = _objectWithoutProperties(_ref2, _excluded);
67
69
  return (formatter || defaultDateFormatter)(others);
68
70
  }
71
+ var rangeFormattedValue = function rangeFormattedValue(startValue, endValue) {
72
+ // Both values exist
73
+ if (startValue && endValue) {
74
+ if (startValue === endValue) {
75
+ return startValue; // Same date, show single value
76
+ }
77
+ return "".concat(startValue, " \u2192 ").concat(endValue); // Different dates, show range
78
+ }
79
+
80
+ // Only start value exists
81
+ if (startValue) {
82
+ return "".concat(startValue, " \u2192 ");
83
+ }
84
+
85
+ // Only end value exists
86
+ if (endValue) {
87
+ return " \u2192 ".concat(endValue);
88
+ }
89
+
90
+ // No values
91
+ return '';
92
+ };
93
+ var rangeInputPlaceHolder = function rangeInputPlaceHolder(placeholder, format) {
94
+ if (placeholder) {
95
+ return "".concat(placeholder, " \u2192 ").concat(placeholder);
96
+ }
97
+ return "".concat(format, " \u2192 ").concat(format);
98
+ };
99
+ var finalInputFormat = function finalInputFormat(startValue, endValue, format) {
100
+ // For case: when start and end are the same, return the format
101
+ if (startValue === endValue && (startValue || endValue)) {
102
+ return format;
103
+ }
104
+ return "".concat(format, " \u2192 ").concat(format);
105
+ };
106
+
107
+ /**
108
+ * Converts date format string to TextInput pattern for masking.
109
+ * TextInput format only recognizes # as input placeholder, so we replace
110
+ * date characters (Y,M,D) with # while preserving delimiters.
111
+ *
112
+ * @example "DD/MM/YYYY" → "##/##/####"
113
+ * @example "MMMM" → "################" (longest month: "September")
114
+ * @example "MMM" → "###"
115
+ */
116
+ var getTextInputFormat = function getTextInputFormat(formatStr, isRangeInput) {
117
+ if (!formatStr) {
118
+ return isRangeInput ? '##/##/#### → ##/##/####' : '##/##/####';
119
+ } else if (formatStr === 'MMMM') {
120
+ return formatStr.replace(/MMMM/g, '#########');
121
+ }
122
+ return formatStr.replace(/[YMD]/g, '#');
123
+ };
124
+
125
+ /**
126
+ * Validates date string using DayJS strict parsing and business rules
127
+ *
128
+ * @param dateStr - The date string to validate in DD/MM/YYYY format
129
+ * @returns Object with validation result, error message if invalid, and parsed Date if valid
130
+ *
131
+ * @example
132
+ * // Valid date
133
+ * validateDateComponents("25/12/2024")
134
+ * // → { isValid: true, parsedDate: Date(2024, 11, 25) }
135
+ *
136
+ * @example
137
+ * // Invalid date (non-existent)
138
+ * validateDateComponents("31/02/2024")
139
+ * // → { isValid: false, error: "Invalid date" }
140
+ *
141
+ * @example
142
+ * // Invalid year range
143
+ * validateDateComponents("25/12/999")
144
+ * // → { isValid: false, error: "Invalid year" }
145
+ *
146
+ * @example
147
+ * // Empty input
148
+ * validateDateComponents("")
149
+ * // → { isValid: true }
150
+ */
151
+ var validateDateComponents = function validateDateComponents(dateStr) {
152
+ // Empty strings are considered valid (user hasn't started typing)
153
+ if (!(dateStr !== null && dateStr !== void 0 && dateStr.trim())) {
154
+ return {
155
+ isValid: true
156
+ };
157
+ }
158
+
159
+ // Use DayJS strict parsing to validate DD/MM/YYYY format and date existence
160
+ var parsed = dayjs(dateStr, 'DD/MM/YYYY', true);
161
+
162
+ // DayJS strict mode catches invalid days/months and non-existent dates (e.g., Feb 30th)
163
+ if (!parsed.isValid()) {
164
+ return {
165
+ isValid: false,
166
+ error: 'Invalid date'
167
+ };
168
+ }
169
+
170
+ // Business rule: restrict year range to reasonable values for most applications
171
+ var year = parsed.year();
172
+ if (year < 1000 || year > 3000) {
173
+ return {
174
+ isValid: false,
175
+ error: 'Invalid year'
176
+ };
177
+ }
178
+
179
+ // Return both validation result AND parsed date to avoid double parsing
180
+ return {
181
+ isValid: true,
182
+ parsedDate: parsed.toDate()
183
+ };
184
+ };
185
+
186
+ /**
187
+ * Detects and parses special single date formats (MMM, MMMM, YYYY)
188
+ * These formats preserve current date/month/year and only change the specified component
189
+ *
190
+ * @param inputValue - The input string to parse
191
+ * @param format - The expected format ('MMM', 'MMMM', or 'YYYY')
192
+ * @returns Object with special format detection, parsed date, and validation result
193
+ *
194
+ * @example
195
+ * // Year format - preserves current month/day, changes year
196
+ * parseSpecialSingleFormat("2024", "YYYY")
197
+ * // → { isSpecialFormat: true, parsedDate: Date(2024, currentMonth, currentDay), shouldBlock: false }
198
+ *
199
+ * @example
200
+ * // Short month format - preserves current day/year, changes month
201
+ * parseSpecialSingleFormat("Aug", "MMM")
202
+ * // → { isSpecialFormat: true, parsedDate: Date(currentYear, 7, currentDay), shouldBlock: false }
203
+ *
204
+ * @example
205
+ * // Full month format - preserves current day/year, changes month
206
+ * parseSpecialSingleFormat("August", "MMMM")
207
+ * // → { isSpecialFormat: true, parsedDate: Date(currentYear, 7, currentDay), shouldBlock: false }
208
+ *
209
+ * @example
210
+ * // Invalid year
211
+ * parseSpecialSingleFormat("999", "YYYY")
212
+ * // → { isSpecialFormat: true, shouldBlock: true }
213
+ *
214
+ * @example
215
+ * // Not a special format
216
+ * parseSpecialSingleFormat("25/12/2024", "DD/MM/YYYY")
217
+ * // → { isSpecialFormat: false, shouldBlock: false }
218
+ */
219
+ var parseSpecialSingleFormat = function parseSpecialSingleFormat(inputValue, format) {
220
+ if (!format) return {
221
+ isSpecialFormat: false,
222
+ shouldBlock: false
223
+ };
224
+ var trimmedInput = inputValue.trim();
225
+ var today = new Date();
226
+
227
+ // Handle year-only format (YYYY) - keep current month and day, change year
228
+ if (format === 'YYYY' && /^\d{4}$/.test(trimmedInput)) {
229
+ var year = parseInt(trimmedInput, 10);
230
+ if (year >= 1000 && year <= 3000) {
231
+ return {
232
+ isSpecialFormat: true,
233
+ parsedDate: new Date(year, today.getMonth(), today.getDate()),
234
+ shouldBlock: false
235
+ };
236
+ } else {
237
+ return {
238
+ isSpecialFormat: true,
239
+ shouldBlock: true
240
+ };
241
+ }
242
+ }
243
+
244
+ // Handle month formats (MMM, MMMM) - keep current day and year, change month
245
+ if ((format === 'MMM' || format === 'MMMM') && trimmedInput.length >= 3) {
246
+ // Using DayJS to parse month names (handles both short "Aug" and full "August")
247
+ var monthDate = dayjs(trimmedInput, format === 'MMM' ? 'MMM' : 'MMMM', true);
248
+ if (!monthDate.isValid()) {
249
+ return {
250
+ isSpecialFormat: true,
251
+ shouldBlock: true
252
+ };
253
+ }
254
+ return {
255
+ isSpecialFormat: true,
256
+ parsedDate: new Date(today.getFullYear(), monthDate.month(), today.getDate()),
257
+ shouldBlock: false
258
+ };
259
+ }
260
+ return {
261
+ isSpecialFormat: false,
262
+ shouldBlock: false
263
+ };
264
+ };
265
+
266
+ /**
267
+ * Validates and parses date input with comprehensive error handling and constraint checking
268
+ * Combines validation + parsing to avoid redundant operations and supports both single dates and ranges
269
+ *
270
+ * @param inputValue - The input string to validate and parse
271
+ * @param isRange - Whether this is a range input (true) or single date (false)
272
+ * @param format - The expected date format ('DD/MM/YYYY', 'MMM', 'MMMM', 'YYYY')
273
+ * @param options - Additional validation constraints
274
+ * @param options.excludeDate - Function to exclude specific dates (single dates only)
275
+ * @param options.minDate - Minimum allowed date
276
+ * @param options.maxDate - Maximum allowed date
277
+ * @returns Object with shouldBlock flag, optional error message, and parsed values if valid
278
+ *
279
+ * @example
280
+ * // Valid single date
281
+ * validateAndParseDateInput("25/12/2024", false, "DD/MM/YYYY")
282
+ * // → { shouldBlock: false, parsedValue: Date(2024, 11, 25) }
283
+ *
284
+ * @example
285
+ * // Valid range input
286
+ * validateAndParseDateInput("25/12/2024 → 31/12/2024", true, "DD/MM/YYYY")
287
+ * // → { shouldBlock: false, parsedValue: [Date(2024, 11, 25), Date(2024, 11, 31)] }
288
+ *
289
+ * @example
290
+ * // Invalid date with error
291
+ * validateAndParseDateInput("31/02/2024", false, "DD/MM/YYYY")
292
+ * // → { shouldBlock: true, error: "Invalid date" }
293
+ *
294
+ * @example
295
+ * // Date excluded by constraint
296
+ * validateAndParseDateInput("25/12/2024", false, "DD/MM/YYYY", {
297
+ * excludeDate: (date) => date.getDay() === 0 // No Sundays
298
+ * })
299
+ * // → { shouldBlock: true, error: "Date is not allowed" }
300
+ *
301
+ * @example
302
+ * // Special format - year only
303
+ * validateAndParseDateInput("2024", false, "YYYY")
304
+ * // → { shouldBlock: false, parsedValue: Date(2024, currentMonth, currentDay) }
305
+ *
306
+ * @example
307
+ * // Incomplete input - allow continued typing
308
+ * validateAndParseDateInput("25/12", false, "DD/MM/YYYY")
309
+ * // → { shouldBlock: false } (no parsedValue, allows user to continue typing)
310
+ */
311
+ var validateAndParseDateInput = function validateAndParseDateInput(inputValue, isRange, format, options) {
312
+ // Allow empty input - user hasn't started typing yet
313
+ if (!(inputValue !== null && inputValue !== void 0 && inputValue.trim())) return {
314
+ shouldBlock: false
315
+ };
316
+
317
+ // Handle special single date formats (MMM, MMMM, YYYY) - skip normal validation
318
+ if (!isRange && format) {
319
+ var specialParse = parseSpecialSingleFormat(inputValue, format);
320
+ if (specialParse.isSpecialFormat && !specialParse.shouldBlock) {
321
+ return {
322
+ shouldBlock: false,
323
+ parsedValue: specialParse.parsedDate || null
324
+ };
325
+ } else if (specialParse.shouldBlock) {
326
+ return {
327
+ shouldBlock: true,
328
+ error: 'Invalid date'
329
+ };
330
+ }
331
+ }
332
+ if (isRange) {
333
+ var _parts$, _parts$2, _parts$3, _parts$4;
334
+ // Split range input on arrow separator (e.g., "25/12/2024 → 31/12/2024")
335
+ var parts = inputValue.split(/\s*→\s*/);
336
+
337
+ // Block incomplete input to prevent premature validation (e.g., "25/12/202" is being typed)
338
+ if ((_parts$ = parts[0]) !== null && _parts$ !== void 0 && _parts$.trim() && parts[0].trim().length < 10 || (_parts$2 = parts[1]) !== null && _parts$2 !== void 0 && _parts$2.trim() && parts[1].trim().length < 10) {
339
+ return {
340
+ shouldBlock: true,
341
+ error: 'Invalid date'
342
+ };
343
+ }
344
+ var startDate = null;
345
+ var endDate = null;
346
+
347
+ // Validate and parse start date if it looks complete (10+ chars = DD/MM/YYYY)
348
+ if ((_parts$3 = parts[0]) !== null && _parts$3 !== void 0 && _parts$3.trim() && parts[0].trim().length >= 10) {
349
+ var startValidation = validateDateComponents(parts[0].trim());
350
+ if (!startValidation.isValid) {
351
+ return {
352
+ shouldBlock: true,
353
+ error: "Start date: ".concat(startValidation.error)
354
+ };
355
+ }
356
+ // Use the already-parsed date from validation to avoid double parsing
357
+ startDate = startValidation.parsedDate || null;
358
+ }
359
+
360
+ // Validate and parse end date if it looks complete
361
+ if ((_parts$4 = parts[1]) !== null && _parts$4 !== void 0 && _parts$4.trim() && parts[1].trim().length >= 10) {
362
+ var endValidation = validateDateComponents(parts[1].trim());
363
+ if (!endValidation.isValid) {
364
+ return {
365
+ shouldBlock: true,
366
+ error: "End date: ".concat(endValidation.error)
367
+ };
368
+ }
369
+ // Use the already-parsed date from validation to avoid double parsing
370
+ endDate = endValidation.parsedDate || null;
371
+ }
372
+
373
+ // Business logic: start date cannot be after end date
374
+ if (startDate && endDate && startDate > endDate) {
375
+ return {
376
+ shouldBlock: true,
377
+ error: 'Start date cannot be greater than end date'
378
+ };
379
+ }
380
+
381
+ // Additional validation for date range constraints
382
+ if (options) {
383
+ if (startDate && options.minDate && dayjs(startDate).isBefore(dayjs(options.minDate))) {
384
+ return {
385
+ shouldBlock: true,
386
+ error: 'Start date is not allowed'
387
+ };
388
+ }
389
+ if (startDate && options.maxDate && dayjs(startDate).isAfter(dayjs(options.maxDate))) {
390
+ return {
391
+ shouldBlock: true,
392
+ error: 'Start date is not allowed'
393
+ };
394
+ }
395
+ if (endDate && options.minDate && dayjs(endDate).isBefore(dayjs(options.minDate))) {
396
+ return {
397
+ shouldBlock: true,
398
+ error: 'End date is not allowed'
399
+ };
400
+ }
401
+ if (endDate && options.maxDate && dayjs(endDate).isAfter(dayjs(options.maxDate))) {
402
+ return {
403
+ shouldBlock: true,
404
+ error: 'End date is not allowed'
405
+ };
406
+ }
407
+ }
408
+
409
+ // Return parsed dates ready for setControlledValue
410
+ return {
411
+ shouldBlock: false,
412
+ parsedValue: [startDate, endDate]
413
+ };
414
+ } else if (inputValue.length >= 10) {
415
+ // Single date: validate and parse if it looks complete
416
+ var validation = validateDateComponents(inputValue);
417
+ if (!validation.isValid) {
418
+ return {
419
+ shouldBlock: true,
420
+ error: validation.error
421
+ };
422
+ }
423
+ var parsedDate = validation.parsedDate;
424
+
425
+ // Additional validation for single date constraints
426
+ if (options && parsedDate) {
427
+ var _options$excludeDate;
428
+ if ((_options$excludeDate = options.excludeDate) !== null && _options$excludeDate !== void 0 && _options$excludeDate.call(options, parsedDate)) {
429
+ return {
430
+ shouldBlock: true,
431
+ error: 'Date is not allowed'
432
+ };
433
+ }
434
+ if (options.minDate && dayjs(parsedDate).isBefore(dayjs(options.minDate))) {
435
+ return {
436
+ shouldBlock: true,
437
+ error: 'Date is not allowed'
438
+ };
439
+ }
440
+ if (options.maxDate && dayjs(parsedDate).isAfter(dayjs(options.maxDate))) {
441
+ return {
442
+ shouldBlock: true,
443
+ error: 'Date is not allowed'
444
+ };
445
+ }
446
+ }
447
+
448
+ // Return parsed date ready for setControlledValue
449
+ return {
450
+ shouldBlock: false,
451
+ parsedValue: parsedDate || null
452
+ };
453
+ }
454
+
455
+ // Input is incomplete but valid so far - allow continued typing
456
+ return {
457
+ shouldBlock: false
458
+ };
459
+ };
460
+
461
+ /**
462
+ * Removes date delimiters (slashes) from formatted date strings for internal processing
463
+ * Used to convert external formatted values to internal state for easier validation and length checks
464
+ *
465
+ * @param str - The date string with delimiters
466
+ * @returns String without delimiters, or empty string if input is null/undefined
467
+ *
468
+ * @example
469
+ * // Remove slashes from single date
470
+ * stripDelimiters("25/12/2024")
471
+ * // → "25122024"
472
+ *
473
+ * @example
474
+ * // Handle null/undefined input
475
+ * stripDelimiters(undefined)
476
+ * // → ""
477
+ *
478
+ * @example
479
+ * // Used for internal state conversion
480
+ * stripDelimiters("31/12/2024")
481
+ * // → "31122024" (easier for length checks: inputValue.length === 8)
482
+ */
483
+ var stripDelimiters = function stripDelimiters(str) {
484
+ var _str$replace;
485
+ return (_str$replace = str === null || str === void 0 ? void 0 : str.replace(/\//g, '')) !== null && _str$replace !== void 0 ? _str$replace : '';
486
+ };
69
487
 
70
- export { convertIntlToDayjsLocale, getFormattedDate, loadScript };
488
+ export { convertIntlToDayjsLocale, finalInputFormat, getFormattedDate, getTextInputFormat, loadScript, rangeFormattedValue, rangeInputPlaceHolder, stripDelimiters, validateAndParseDateInput, validateDateComponents };
71
489
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sources":["../../../../../../src/components/DatePicker/utils.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/prefer-nullish-coalescing */\n/* eslint-disable @typescript-eslint/explicit-function-return-type */\nimport type { DatePickerType, DatePickerValue } from '@mantine/dates';\nimport dayjs from 'dayjs';\n\nconst dayjs_locales = [\n 'af',\n 'ar',\n 'ar-dz',\n 'ar-kw',\n 'ar-ly',\n 'ar-ma',\n 'ar-sa',\n 'ar-tn',\n 'az',\n 'be',\n 'bg',\n 'bm',\n 'bn',\n 'bo',\n 'br',\n 'bs',\n 'ca',\n 'cs',\n 'cv',\n 'cy',\n 'da',\n 'de',\n 'de-at',\n 'de-ch',\n 'dv',\n 'el',\n 'en',\n 'en-au',\n 'en-ca',\n 'en-gb',\n 'en-ie',\n 'en-il',\n 'en-nz',\n 'en-SG',\n 'eo',\n 'es',\n 'es-do',\n 'es-us',\n 'et',\n 'eu',\n 'fa',\n 'fi',\n 'fo',\n 'fr',\n 'fr-ca',\n 'fr-ch',\n 'fy',\n 'ga',\n 'gd',\n 'gl',\n 'gom-latn',\n 'gu',\n 'he',\n 'hi',\n 'hr',\n 'hu',\n 'hy-am',\n 'id',\n 'is',\n 'it',\n 'it-ch',\n 'ja',\n 'jv',\n 'ka',\n 'kk',\n 'km',\n 'kn',\n 'ko',\n 'ku',\n 'ky',\n 'lb',\n 'lo',\n 'lt',\n 'lv',\n 'me',\n 'mi',\n 'mk',\n 'ml',\n 'mn',\n 'mr',\n 'ms',\n 'ms-my',\n 'mt',\n 'my',\n 'nb',\n 'ne',\n 'nl',\n 'nl-be',\n 'nn',\n 'oc-lnc',\n 'pa-in',\n 'pl',\n 'pt',\n 'pt-br',\n 'ro',\n 'ru',\n 'sd',\n 'se',\n 'si',\n 'sk',\n 'sl',\n 'sq',\n 'sr',\n 'sr-cyrl',\n 'ss',\n 'sv',\n 'sw',\n 'ta',\n 'te',\n 'tet',\n 'tg',\n 'th',\n 'tl-ph',\n 'tlh',\n 'tr',\n 'tzl',\n 'tzm',\n 'tzm-latn',\n 'ug-cn',\n 'uk',\n 'ur',\n 'uz',\n 'uz-latn',\n 'vi',\n 'x-pseudo',\n 'yo',\n 'zh-cn',\n 'zh-hk',\n 'zh-tw',\n];\n\n// https://github.com/iamkun/dayjs/issues/732#issuecomment-554383261\nfunction patchLocale(locale: string): string | boolean {\n if (['en', 'en-us'].includes(locale)) return 'en';\n if (locale === 'zn') return 'zh-cn';\n if (locale === 'no') return 'nb';\n if (dayjs_locales.includes(locale)) return locale;\n return false;\n}\n\nfunction convertIntlToDayjsLocale(lang: string): string {\n lang = lang.toLowerCase();\n const locale = patchLocale(lang) || (lang.includes('-') && patchLocale(lang.split('-')[0]));\n if (!locale) return 'en';\n\n return `${locale}`;\n}\n\nfunction isScriptLoaded(src: string): boolean {\n return Boolean(document.querySelector(`script[src=\"${src}\"]`));\n}\n\n/**\n * Used to dynamically load a script\n */\nfunction loadScript(src: string, callback?: () => void): void {\n if (isScriptLoaded(src)) {\n callback?.();\n return;\n }\n const localeScript = document.createElement('script');\n localeScript.async = true;\n localeScript.src = src;\n localeScript.onload = () => callback?.();\n document.head.appendChild(localeScript);\n}\n\ninterface DateFormatterInput {\n type: DatePickerType;\n date: DatePickerValue<DatePickerType>;\n locale: string;\n format: string;\n labelSeparator: string;\n}\n\ntype DateFormatter = (input: DateFormatterInput) => string;\n\nfunction defaultDateFormatter({ type, date, locale, format, labelSeparator }: DateFormatterInput) {\n const formatDate = (value: Date) => dayjs(value).locale(locale).format(format);\n\n if (type === 'default') {\n return date === null ? '' : formatDate(date as Date);\n }\n\n if (type === 'range' && Array.isArray(date)) {\n if (date[0] && date[1]) {\n return `${formatDate(date[0])} ${labelSeparator} ${formatDate(date[1])}`;\n }\n\n if (date[0]) {\n return `${formatDate(date[0])} ${labelSeparator} `;\n }\n\n return '';\n }\n\n return '';\n}\n\ninterface GetFormattedDateInput extends DateFormatterInput {\n formatter?: DateFormatter;\n}\n\nfunction getFormattedDate({ formatter, ...others }: GetFormattedDateInput) {\n return (formatter || defaultDateFormatter)(others);\n}\n\nexport { convertIntlToDayjsLocale, loadScript, getFormattedDate };\n"],"names":["dayjs_locales","patchLocale","locale","includes","convertIntlToDayjsLocale","lang","toLowerCase","split","concat","isScriptLoaded","src","Boolean","document","querySelector","loadScript","callback","localeScript","createElement","async","onload","head","appendChild","defaultDateFormatter","_ref","type","date","format","labelSeparator","formatDate","value","dayjs","Array","isArray","getFormattedDate","_ref2","formatter","others","_objectWithoutProperties","_excluded"],"mappings":";;;;AAKA,IAAMA,aAAa,GAAG,CACpB,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,OAAO,EACP,OAAO,EACP,OAAO,EACP,OAAO,EACP,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,IAA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AAAjB,GAAAA,CAAAA,CAAAA,MAAA,CAAImB,cAAc,EAAA,GAAA,CAAA,CAAAnB,MAAA,CAAIoB,UAAU,CAACH,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA,CAAA;AACxE,KAAA;AAEA,IAAA,IAAIA,IAAI,CAAC,CAAC,CAAC,EAAE;AACX,MAAA,OAAA,EAAA,CAAAjB,MAAA,CAAUoB,UAAU,CAACH,IAAI,CAAC,CAAC,CAAC,CAAC,EAAA,GAAA,CAAA,CAAAjB,MAAA,CAAImB,cAAc,EAAA,GAAA,CAAA,CAAA;AACjD,KAAA;AAEA,IAAA,OAAO,EAAE,CAAA;AACX,GAAA;AAEA,EAAA,OAAO,EAAE,CAAA;AACX,CAAA;AAMA,SAASM,gBAAgBA,CAAAC,KAAA,EAAkD;AAAA,EAAA,IAA/CC,SAAS,GAAAD,KAAA,CAATC,SAAS;AAAKC,IAAAA,MAAM,GAAAC,wBAAA,CAAAH,KAAA,EAAAI,SAAA,CAAA,CAAA;AAC9C,EAAA,OAAO,CAACH,SAAS,IAAIb,oBAAoB,EAAEc,MAAM,CAAC,CAAA;AACpD;;;;"}
1
+ {"version":3,"file":"utils.js","sources":["../../../../../../src/components/DatePicker/utils.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/prefer-nullish-coalescing */\n/* eslint-disable @typescript-eslint/explicit-function-return-type */\nimport type { DatePickerType, DatePickerValue } from '@mantine/dates';\nimport dayjs from 'dayjs';\nimport customParseFormat from 'dayjs/plugin/customParseFormat';\n\ndayjs.extend(customParseFormat);\n\nconst dayjs_locales = [\n 'af',\n 'ar',\n 'ar-dz',\n 'ar-kw',\n 'ar-ly',\n 'ar-ma',\n 'ar-sa',\n 'ar-tn',\n 'az',\n 'be',\n 'bg',\n 'bm',\n 'bn',\n 'bo',\n 'br',\n 'bs',\n 'ca',\n 'cs',\n 'cv',\n 'cy',\n 'da',\n 'de',\n 'de-at',\n 'de-ch',\n 'dv',\n 'el',\n 'en',\n 'en-au',\n 'en-ca',\n 'en-gb',\n 'en-ie',\n 'en-il',\n 'en-nz',\n 'en-SG',\n 'eo',\n 'es',\n 'es-do',\n 'es-us',\n 'et',\n 'eu',\n 'fa',\n 'fi',\n 'fo',\n 'fr',\n 'fr-ca',\n 'fr-ch',\n 'fy',\n 'ga',\n 'gd',\n 'gl',\n 'gom-latn',\n 'gu',\n 'he',\n 'hi',\n 'hr',\n 'hu',\n 'hy-am',\n 'id',\n 'is',\n 'it',\n 'it-ch',\n 'ja',\n 'jv',\n 'ka',\n 'kk',\n 'km',\n 'kn',\n 'ko',\n 'ku',\n 'ky',\n 'lb',\n 'lo',\n 'lt',\n 'lv',\n 'me',\n 'mi',\n 'mk',\n 'ml',\n 'mn',\n 'mr',\n 'ms',\n 'ms-my',\n 'mt',\n 'my',\n 'nb',\n 'ne',\n 'nl',\n 'nl-be',\n 'nn',\n 'oc-lnc',\n 'pa-in',\n 'pl',\n 'pt',\n 'pt-br',\n 'ro',\n 'ru',\n 'sd',\n 'se',\n 'si',\n 'sk',\n 'sl',\n 'sq',\n 'sr',\n 'sr-cyrl',\n 'ss',\n 'sv',\n 'sw',\n 'ta',\n 'te',\n 'tet',\n 'tg',\n 'th',\n 'tl-ph',\n 'tlh',\n 'tr',\n 'tzl',\n 'tzm',\n 'tzm-latn',\n 'ug-cn',\n 'uk',\n 'ur',\n 'uz',\n 'uz-latn',\n 'vi',\n 'x-pseudo',\n 'yo',\n 'zh-cn',\n 'zh-hk',\n 'zh-tw',\n];\n\n// https://github.com/iamkun/dayjs/issues/732#issuecomment-554383261\nfunction patchLocale(locale: string): string | boolean {\n if (['en', 'en-us'].includes(locale)) return 'en';\n if (locale === 'zn') return 'zh-cn';\n if (locale === 'no') return 'nb';\n if (dayjs_locales.includes(locale)) return locale;\n return false;\n}\n\nfunction convertIntlToDayjsLocale(lang: string): string {\n lang = lang.toLowerCase();\n const locale = patchLocale(lang) || (lang.includes('-') && patchLocale(lang.split('-')[0]));\n if (!locale) return 'en';\n\n return `${locale}`;\n}\n\nfunction isScriptLoaded(src: string): boolean {\n return Boolean(document.querySelector(`script[src=\"${src}\"]`));\n}\n\n/**\n * Used to dynamically load a script\n */\nfunction loadScript(src: string, callback?: () => void): void {\n if (isScriptLoaded(src)) {\n callback?.();\n return;\n }\n const localeScript = document.createElement('script');\n localeScript.async = true;\n localeScript.src = src;\n localeScript.onload = () => callback?.();\n document.head.appendChild(localeScript);\n}\n\ninterface DateFormatterInput {\n type: DatePickerType;\n date: DatePickerValue<DatePickerType>;\n locale: string;\n format: string;\n labelSeparator: string;\n}\n\ntype DateFormatter = (input: DateFormatterInput) => string;\n\nfunction defaultDateFormatter({ type, date, locale, format, labelSeparator }: DateFormatterInput) {\n const formatDate = (value: Date) => dayjs(value).locale(locale).format(format);\n\n if (type === 'default') {\n return date === null ? '' : formatDate(date as Date);\n }\n\n if (type === 'range' && Array.isArray(date)) {\n if (date[0] && date[1]) {\n return `${formatDate(date[0])} ${labelSeparator} ${formatDate(date[1])}`;\n }\n\n if (date[0]) {\n return `${formatDate(date[0])} ${labelSeparator} `;\n }\n\n return '';\n }\n\n return '';\n}\n\ninterface GetFormattedDateInput extends DateFormatterInput {\n formatter?: DateFormatter;\n}\n\nfunction getFormattedDate({ formatter, ...others }: GetFormattedDateInput) {\n return (formatter || defaultDateFormatter)(others);\n}\n\nconst rangeFormattedValue = (startValue: string, endValue: string) => {\n // Both values exist\n if (startValue && endValue) {\n if (startValue === endValue) {\n return startValue; // Same date, show single value\n }\n return `${startValue} → ${endValue}`; // Different dates, show range\n }\n\n // Only start value exists\n if (startValue) {\n return `${startValue} → `;\n }\n\n // Only end value exists\n if (endValue) {\n return ` → ${endValue}`;\n }\n\n // No values\n return '';\n};\n\nconst rangeInputPlaceHolder = (placeholder: string | undefined, format: string) => {\n if (placeholder) {\n return `${placeholder} → ${placeholder}`;\n }\n return `${format} → ${format}`;\n};\n\nconst finalInputFormat = (startValue: string, endValue: string, format: string | undefined) => {\n // For case: when start and end are the same, return the format\n if (startValue === endValue && (startValue || endValue)) {\n return format;\n }\n return `${format} → ${format}`;\n};\n\n/**\n * Converts date format string to TextInput pattern for masking.\n * TextInput format only recognizes # as input placeholder, so we replace\n * date characters (Y,M,D) with # while preserving delimiters.\n *\n * @example \"DD/MM/YYYY\" → \"##/##/####\"\n * @example \"MMMM\" → \"################\" (longest month: \"September\")\n * @example \"MMM\" → \"###\"\n */\nconst getTextInputFormat = (formatStr?: string, isRangeInput?: boolean): string => {\n if (!formatStr) {\n return isRangeInput ? '##/##/#### → ##/##/####' : '##/##/####';\n } else if (formatStr === 'MMMM') {\n return formatStr.replace(/MMMM/g, '#########');\n }\n return formatStr.replace(/[YMD]/g, '#');\n};\n\n/**\n * Validates date string using DayJS strict parsing and business rules\n *\n * @param dateStr - The date string to validate in DD/MM/YYYY format\n * @returns Object with validation result, error message if invalid, and parsed Date if valid\n *\n * @example\n * // Valid date\n * validateDateComponents(\"25/12/2024\")\n * // → { isValid: true, parsedDate: Date(2024, 11, 25) }\n *\n * @example\n * // Invalid date (non-existent)\n * validateDateComponents(\"31/02/2024\")\n * // → { isValid: false, error: \"Invalid date\" }\n *\n * @example\n * // Invalid year range\n * validateDateComponents(\"25/12/999\")\n * // → { isValid: false, error: \"Invalid year\" }\n *\n * @example\n * // Empty input\n * validateDateComponents(\"\")\n * // → { isValid: true }\n */\nconst validateDateComponents = (\n dateStr: string,\n): {\n isValid: boolean;\n error?: string;\n parsedDate?: Date;\n} => {\n // Empty strings are considered valid (user hasn't started typing)\n if (!dateStr?.trim()) {\n return { isValid: true };\n }\n\n // Use DayJS strict parsing to validate DD/MM/YYYY format and date existence\n const parsed = dayjs(dateStr, 'DD/MM/YYYY', true);\n\n // DayJS strict mode catches invalid days/months and non-existent dates (e.g., Feb 30th)\n if (!parsed.isValid()) {\n return { isValid: false, error: 'Invalid date' };\n }\n\n // Business rule: restrict year range to reasonable values for most applications\n const year = parsed.year();\n if (year < 1000 || year > 3000) {\n return { isValid: false, error: 'Invalid year' };\n }\n\n // Return both validation result AND parsed date to avoid double parsing\n return { isValid: true, parsedDate: parsed.toDate() };\n};\n\n/**\n * Detects and parses special single date formats (MMM, MMMM, YYYY)\n * These formats preserve current date/month/year and only change the specified component\n *\n * @param inputValue - The input string to parse\n * @param format - The expected format ('MMM', 'MMMM', or 'YYYY')\n * @returns Object with special format detection, parsed date, and validation result\n *\n * @example\n * // Year format - preserves current month/day, changes year\n * parseSpecialSingleFormat(\"2024\", \"YYYY\")\n * // → { isSpecialFormat: true, parsedDate: Date(2024, currentMonth, currentDay), shouldBlock: false }\n *\n * @example\n * // Short month format - preserves current day/year, changes month\n * parseSpecialSingleFormat(\"Aug\", \"MMM\")\n * // → { isSpecialFormat: true, parsedDate: Date(currentYear, 7, currentDay), shouldBlock: false }\n *\n * @example\n * // Full month format - preserves current day/year, changes month\n * parseSpecialSingleFormat(\"August\", \"MMMM\")\n * // → { isSpecialFormat: true, parsedDate: Date(currentYear, 7, currentDay), shouldBlock: false }\n *\n * @example\n * // Invalid year\n * parseSpecialSingleFormat(\"999\", \"YYYY\")\n * // → { isSpecialFormat: true, shouldBlock: true }\n *\n * @example\n * // Not a special format\n * parseSpecialSingleFormat(\"25/12/2024\", \"DD/MM/YYYY\")\n * // → { isSpecialFormat: false, shouldBlock: false }\n */\nconst parseSpecialSingleFormat = (\n inputValue: string,\n format?: string,\n): { isSpecialFormat: boolean; parsedDate?: Date; shouldBlock: boolean } => {\n if (!format) return { isSpecialFormat: false, shouldBlock: false };\n\n const trimmedInput = inputValue.trim();\n const today = new Date();\n\n // Handle year-only format (YYYY) - keep current month and day, change year\n if (format === 'YYYY' && /^\\d{4}$/.test(trimmedInput)) {\n const year = parseInt(trimmedInput, 10);\n if (year >= 1000 && year <= 3000) {\n return {\n isSpecialFormat: true,\n parsedDate: new Date(year, today.getMonth(), today.getDate()),\n shouldBlock: false,\n };\n } else {\n return {\n isSpecialFormat: true,\n shouldBlock: true,\n };\n }\n }\n\n // Handle month formats (MMM, MMMM) - keep current day and year, change month\n if ((format === 'MMM' || format === 'MMMM') && trimmedInput.length >= 3) {\n // Using DayJS to parse month names (handles both short \"Aug\" and full \"August\")\n const monthDate = dayjs(trimmedInput, format === 'MMM' ? 'MMM' : 'MMMM', true);\n\n if (!monthDate.isValid()) {\n return {\n isSpecialFormat: true,\n shouldBlock: true,\n };\n }\n return {\n isSpecialFormat: true,\n parsedDate: new Date(today.getFullYear(), monthDate.month(), today.getDate()),\n shouldBlock: false,\n };\n }\n\n return { isSpecialFormat: false, shouldBlock: false };\n};\n\n/**\n * Validates and parses date input with comprehensive error handling and constraint checking\n * Combines validation + parsing to avoid redundant operations and supports both single dates and ranges\n *\n * @param inputValue - The input string to validate and parse\n * @param isRange - Whether this is a range input (true) or single date (false)\n * @param format - The expected date format ('DD/MM/YYYY', 'MMM', 'MMMM', 'YYYY')\n * @param options - Additional validation constraints\n * @param options.excludeDate - Function to exclude specific dates (single dates only)\n * @param options.minDate - Minimum allowed date\n * @param options.maxDate - Maximum allowed date\n * @returns Object with shouldBlock flag, optional error message, and parsed values if valid\n *\n * @example\n * // Valid single date\n * validateAndParseDateInput(\"25/12/2024\", false, \"DD/MM/YYYY\")\n * // → { shouldBlock: false, parsedValue: Date(2024, 11, 25) }\n *\n * @example\n * // Valid range input\n * validateAndParseDateInput(\"25/12/2024 → 31/12/2024\", true, \"DD/MM/YYYY\")\n * // → { shouldBlock: false, parsedValue: [Date(2024, 11, 25), Date(2024, 11, 31)] }\n *\n * @example\n * // Invalid date with error\n * validateAndParseDateInput(\"31/02/2024\", false, \"DD/MM/YYYY\")\n * // → { shouldBlock: true, error: \"Invalid date\" }\n *\n * @example\n * // Date excluded by constraint\n * validateAndParseDateInput(\"25/12/2024\", false, \"DD/MM/YYYY\", {\n * excludeDate: (date) => date.getDay() === 0 // No Sundays\n * })\n * // → { shouldBlock: true, error: \"Date is not allowed\" }\n *\n * @example\n * // Special format - year only\n * validateAndParseDateInput(\"2024\", false, \"YYYY\")\n * // → { shouldBlock: false, parsedValue: Date(2024, currentMonth, currentDay) }\n *\n * @example\n * // Incomplete input - allow continued typing\n * validateAndParseDateInput(\"25/12\", false, \"DD/MM/YYYY\")\n * // → { shouldBlock: false } (no parsedValue, allows user to continue typing)\n */\nconst validateAndParseDateInput = (\n inputValue: string,\n isRange: boolean,\n format?: string,\n options?: {\n excludeDate?: (date: Date) => boolean;\n minDate?: Date;\n maxDate?: Date;\n },\n): {\n shouldBlock: boolean;\n error?: string;\n parsedValue?: Date | null | [Date | null, Date | null];\n} => {\n // Allow empty input - user hasn't started typing yet\n if (!inputValue?.trim()) return { shouldBlock: false };\n\n // Handle special single date formats (MMM, MMMM, YYYY) - skip normal validation\n if (!isRange && format) {\n const specialParse = parseSpecialSingleFormat(inputValue, format);\n if (specialParse.isSpecialFormat && !specialParse.shouldBlock) {\n return { shouldBlock: false, parsedValue: specialParse.parsedDate || null };\n } else if (specialParse.shouldBlock) {\n return { shouldBlock: true, error: 'Invalid date' };\n }\n }\n\n if (isRange) {\n // Split range input on arrow separator (e.g., \"25/12/2024 → 31/12/2024\")\n const parts = inputValue.split(/\\s*→\\s*/);\n\n // Block incomplete input to prevent premature validation (e.g., \"25/12/202\" is being typed)\n if (\n (parts[0]?.trim() && parts[0].trim().length < 10) ||\n (parts[1]?.trim() && parts[1].trim().length < 10)\n ) {\n return { shouldBlock: true, error: 'Invalid date' };\n }\n\n let startDate: Date | null = null;\n let endDate: Date | null = null;\n\n // Validate and parse start date if it looks complete (10+ chars = DD/MM/YYYY)\n if (parts[0]?.trim() && parts[0].trim().length >= 10) {\n const startValidation = validateDateComponents(parts[0].trim());\n if (!startValidation.isValid) {\n return { shouldBlock: true, error: `Start date: ${startValidation.error}` };\n }\n // Use the already-parsed date from validation to avoid double parsing\n startDate = startValidation.parsedDate || null;\n }\n\n // Validate and parse end date if it looks complete\n if (parts[1]?.trim() && parts[1].trim().length >= 10) {\n const endValidation = validateDateComponents(parts[1].trim());\n if (!endValidation.isValid) {\n return { shouldBlock: true, error: `End date: ${endValidation.error}` };\n }\n // Use the already-parsed date from validation to avoid double parsing\n endDate = endValidation.parsedDate || null;\n }\n\n // Business logic: start date cannot be after end date\n if (startDate && endDate && startDate > endDate) {\n return { shouldBlock: true, error: 'Start date cannot be greater than end date' };\n }\n\n // Additional validation for date range constraints\n if (options) {\n if (startDate && options.minDate && dayjs(startDate).isBefore(dayjs(options.minDate))) {\n return { shouldBlock: true, error: 'Start date is not allowed' };\n }\n if (startDate && options.maxDate && dayjs(startDate).isAfter(dayjs(options.maxDate))) {\n return { shouldBlock: true, error: 'Start date is not allowed' };\n }\n if (endDate && options.minDate && dayjs(endDate).isBefore(dayjs(options.minDate))) {\n return { shouldBlock: true, error: 'End date is not allowed' };\n }\n if (endDate && options.maxDate && dayjs(endDate).isAfter(dayjs(options.maxDate))) {\n return { shouldBlock: true, error: 'End date is not allowed' };\n }\n }\n\n // Return parsed dates ready for setControlledValue\n return { shouldBlock: false, parsedValue: [startDate, endDate] };\n } else if (inputValue.length >= 10) {\n // Single date: validate and parse if it looks complete\n const validation = validateDateComponents(inputValue);\n if (!validation.isValid) {\n return { shouldBlock: true, error: validation.error };\n }\n\n const parsedDate = validation.parsedDate;\n\n // Additional validation for single date constraints\n if (options && parsedDate) {\n if (options.excludeDate?.(parsedDate)) {\n return { shouldBlock: true, error: 'Date is not allowed' };\n }\n if (options.minDate && dayjs(parsedDate).isBefore(dayjs(options.minDate))) {\n return { shouldBlock: true, error: 'Date is not allowed' };\n }\n if (options.maxDate && dayjs(parsedDate).isAfter(dayjs(options.maxDate))) {\n return { shouldBlock: true, error: 'Date is not allowed' };\n }\n }\n\n // Return parsed date ready for setControlledValue\n return { shouldBlock: false, parsedValue: parsedDate || null };\n }\n\n // Input is incomplete but valid so far - allow continued typing\n return { shouldBlock: false };\n};\n\n/**\n * Removes date delimiters (slashes) from formatted date strings for internal processing\n * Used to convert external formatted values to internal state for easier validation and length checks\n *\n * @param str - The date string with delimiters\n * @returns String without delimiters, or empty string if input is null/undefined\n *\n * @example\n * // Remove slashes from single date\n * stripDelimiters(\"25/12/2024\")\n * // → \"25122024\"\n *\n * @example\n * // Handle null/undefined input\n * stripDelimiters(undefined)\n * // → \"\"\n *\n * @example\n * // Used for internal state conversion\n * stripDelimiters(\"31/12/2024\")\n * // → \"31122024\" (easier for length checks: inputValue.length === 8)\n */\nconst stripDelimiters = (str?: string): string => str?.replace(/\\//g, '') ?? '';\n\nexport {\n convertIntlToDayjsLocale,\n loadScript,\n getFormattedDate,\n rangeFormattedValue,\n rangeInputPlaceHolder,\n finalInputFormat,\n getTextInputFormat,\n validateDateComponents,\n validateAndParseDateInput,\n stripDelimiters,\n};\n"],"names":["dayjs","extend","customParseFormat","dayjs_locales","patchLocale","locale","includes","convertIntlToDayjsLocale","lang","toLowerCase","split","concat","isScriptLoaded","src","Boolean","document","querySelector","loadScript","callback","localeScript","createElement","async","onload","head","appendChild","defaultDateFormatter","_ref","type","date","format","labelSeparator","formatDate","value","Array","isArray","getFormattedDate","_ref2","formatter","others","_objectWithoutProperties","_excluded","rangeFormattedValue","startValue","endValue","rangeInputPlaceHolder","placeholder","finalInputFormat","getTextInputFormat","formatStr","isRangeInput","replace","validateDateComponents","dateStr","trim","isValid","parsed","error","year","parsedDate","toDate","parseSpecialSingleFormat","inputValue","isSpecialFormat","shouldBlock","trimmedInput","today","Date","test","parseInt","getMonth","getDate","length","monthDate","getFullYear","month","validateAndParseDateInput","isRange","options","specialParse","parsedValue","_parts$","_parts$2","_parts$3","_parts$4","parts","startDate","endDate","startValidation","endValidation","minDate","isBefore","maxDate","isAfter","validation","_options$excludeDate","excludeDate","call","stripDelimiters","str","_str$replace"],"mappings":";;;;;AAMAA,KAAK,CAACC,MAAM,CAACC,iBAAiB,CAAC,CAAA;AAE/B,IAAMC,aAAa,GAAG,CACpB,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,OAAO,EACP,OAAO,EACP,OAAO,EACP,OAAO,EACP,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,IAAI,E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,EAAE,KAAK;MAAEgB,WAAW,EAAErB,UAAU,IAAI,IAAA;KAAM,CAAA;AAChE,GAAA;;AAEA;EACA,OAAO;AAAEK,IAAAA,WAAW,EAAE,KAAA;GAAO,CAAA;AAC/B,EAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAMkC,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,GAAY,EAAA;AAAA,EAAA,IAAAC,YAAA,CAAA;AAAA,EAAA,OAAA,CAAAA,YAAA,GAAaD,GAAG,aAAHA,GAAG,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAHA,GAAG,CAAEhD,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,MAAA,IAAA,IAAAiD,YAAA,KAAAA,KAAAA,CAAAA,GAAAA,YAAA,GAAI,EAAE,CAAA;AAAA;;;;"}
@@ -0,0 +1,50 @@
1
+ import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
+ import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
+ import '../_Svg/index.js';
4
+ import '../useIconProps/index.js';
5
+ import '../../../utils/assignWithoutSideEffects/index.js';
6
+ import { jsxs, jsx } from 'react/jsx-runtime';
7
+ import useIconProps from '../useIconProps/useIconProps.js';
8
+ import Svg from '../_Svg/Svg/Svg.web.js';
9
+ import Path from '../_Svg/Path/Path.web.js';
10
+ import { assignWithoutSideEffects } from '../../../utils/assignWithoutSideEffects/assignWithoutSideEffects.js';
11
+
12
+ var _excluded = ["size", "color"];
13
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
14
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
15
+ var _AcceptPaymentsFilledIcon = function _AcceptPaymentsFilledIcon(_ref) {
16
+ var size = _ref.size,
17
+ color = _ref.color,
18
+ styledProps = _objectWithoutProperties(_ref, _excluded);
19
+ var _useIconProps = useIconProps({
20
+ size: size,
21
+ color: color
22
+ }),
23
+ height = _useIconProps.height,
24
+ width = _useIconProps.width,
25
+ iconColor = _useIconProps.iconColor;
26
+ return /*#__PURE__*/jsxs(Svg, _objectSpread(_objectSpread({}, styledProps), {}, {
27
+ width: width,
28
+ height: height,
29
+ viewBox: "0 0 24 24",
30
+ fill: "none",
31
+ children: [/*#__PURE__*/jsx(Path, {
32
+ fillRule: "evenodd",
33
+ clipRule: "evenodd",
34
+ d: "M19.8535 11.2703C20.5771 11.9166 21.663 11.9166 22.3866 11.2703H23.0401V18.0811C23.0401 19.6932 21.7506 21 20.1601 21H2.88001C1.28942 21 0 19.6932 0 18.0811V11.2703H19.8535ZM4.32001 15.6486C3.78982 15.6486 3.36001 16.0843 3.36001 16.6216C3.36001 17.159 3.78982 17.5946 4.32001 17.5946H6.24002C6.77021 17.5946 7.20002 17.159 7.20002 16.6216C7.20002 16.0843 6.77021 15.6486 6.24002 15.6486H4.32001ZM8.64003 15.6486C8.10983 15.6486 7.68002 16.0843 7.68002 16.6216C7.68002 17.159 8.10983 17.5946 8.64003 17.5946H12.48C13.0102 17.5946 13.44 17.159 13.44 16.6216C13.44 16.0843 13.0102 15.6486 12.48 15.6486H8.64003Z",
35
+ fill: iconColor
36
+ }), /*#__PURE__*/jsx(Path, {
37
+ d: "M21.1201 3C21.6503 3 22.0801 3.43561 22.0801 3.97297V7.46199L22.3613 7.17694C22.7362 6.79697 23.3439 6.79697 23.7188 7.17694C24.0937 7.55691 24.0937 8.17282 23.7188 8.55279L21.7988 10.4987C21.4239 10.8787 20.8162 10.8787 20.4413 10.4987L18.5213 8.55279C18.1464 8.17282 18.1464 7.55691 18.5213 7.17694C18.8962 6.79697 19.5039 6.79697 19.8788 7.17694L20.1601 7.46199V3.97297C20.1601 3.43562 20.5899 3 21.1201 3Z",
38
+ fill: iconColor
39
+ }), /*#__PURE__*/jsx(Path, {
40
+ d: "M19.2629 3.48649C19.2233 3.64215 19.2001 3.80478 19.2001 3.97297V5.91892C18.7087 5.91892 18.2175 6.10905 17.8426 6.48902C17.0927 7.24896 17.0927 8.48077 17.8426 9.24071L17.9251 9.32432H0V6.40541C0 4.79333 1.28942 3.48649 2.88001 3.48649H19.2629Z",
41
+ fill: iconColor
42
+ })]
43
+ }));
44
+ };
45
+ var AcceptPaymentsFilledIcon = /*#__PURE__*/assignWithoutSideEffects(_AcceptPaymentsFilledIcon, {
46
+ componentId: 'AcceptPaymentsFilledIcon'
47
+ });
48
+
49
+ export { AcceptPaymentsFilledIcon as default };
50
+ //# sourceMappingURL=AcceptPaymentsFilledIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcceptPaymentsFilledIcon.js","sources":["../../../../../../../src/components/Icons/AcceptPaymentsFilledIcon/AcceptPaymentsFilledIcon.tsx"],"sourcesContent":["import { Svg, Path } from '../_Svg';\nimport type { IconComponent } from '..';\nimport useIconProps from '../useIconProps';\nimport { assignWithoutSideEffects } from '~utils/assignWithoutSideEffects';\n\nconst _AcceptPaymentsFilledIcon: IconComponent = ({ size, color, ...styledProps }) => {\n const { height, width, iconColor } = useIconProps({ size, color });\n\n return (\n <Svg {...styledProps} width={width} height={height} viewBox=\"0 0 24 24\" fill=\"none\">\n <Path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M19.8535 11.2703C20.5771 11.9166 21.663 11.9166 22.3866 11.2703H23.0401V18.0811C23.0401 19.6932 21.7506 21 20.1601 21H2.88001C1.28942 21 0 19.6932 0 18.0811V11.2703H19.8535ZM4.32001 15.6486C3.78982 15.6486 3.36001 16.0843 3.36001 16.6216C3.36001 17.159 3.78982 17.5946 4.32001 17.5946H6.24002C6.77021 17.5946 7.20002 17.159 7.20002 16.6216C7.20002 16.0843 6.77021 15.6486 6.24002 15.6486H4.32001ZM8.64003 15.6486C8.10983 15.6486 7.68002 16.0843 7.68002 16.6216C7.68002 17.159 8.10983 17.5946 8.64003 17.5946H12.48C13.0102 17.5946 13.44 17.159 13.44 16.6216C13.44 16.0843 13.0102 15.6486 12.48 15.6486H8.64003Z\"\n fill={iconColor}\n />\n <Path\n d=\"M21.1201 3C21.6503 3 22.0801 3.43561 22.0801 3.97297V7.46199L22.3613 7.17694C22.7362 6.79697 23.3439 6.79697 23.7188 7.17694C24.0937 7.55691 24.0937 8.17282 23.7188 8.55279L21.7988 10.4987C21.4239 10.8787 20.8162 10.8787 20.4413 10.4987L18.5213 8.55279C18.1464 8.17282 18.1464 7.55691 18.5213 7.17694C18.8962 6.79697 19.5039 6.79697 19.8788 7.17694L20.1601 7.46199V3.97297C20.1601 3.43562 20.5899 3 21.1201 3Z\"\n fill={iconColor}\n />\n <Path\n d=\"M19.2629 3.48649C19.2233 3.64215 19.2001 3.80478 19.2001 3.97297V5.91892C18.7087 5.91892 18.2175 6.10905 17.8426 6.48902C17.0927 7.24896 17.0927 8.48077 17.8426 9.24071L17.9251 9.32432H0V6.40541C0 4.79333 1.28942 3.48649 2.88001 3.48649H19.2629Z\"\n fill={iconColor}\n />\n </Svg>\n );\n};\n\nconst AcceptPaymentsFilledIcon = assignWithoutSideEffects(_AcceptPaymentsFilledIcon, {\n componentId: 'AcceptPaymentsFilledIcon',\n});\n\nexport default AcceptPaymentsFilledIcon;\n"],"names":["_AcceptPaymentsFilledIcon","_ref","size","color","styledProps","_objectWithoutProperties","_excluded","_useIconProps","useIconProps","height","width","iconColor","_jsxs","Svg","_objectSpread","viewBox","fill","children","_jsx","Path","fillRule","clipRule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GAAA,CACC,CAAC,CAAA;AAEV,CAAC,CAAA;AAED,IAAMY,wBAAwB,gBAAGC,wBAAwB,CAACxB,yBAAyB,EAAE;AACnFyB,EAAAA,WAAW,EAAE,0BAAA;AACf,CAAC;;;;"}
@@ -0,0 +1,2 @@
1
+ export { default } from './AcceptPaymentsFilledIcon.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}