@remoteoss/remote-flows 1.48.0 → 1.49.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (516) hide show
  1. package/dist/CheckboxFieldDefault-JXNMWIRK.js +2 -0
  2. package/dist/CountryFieldDefault-SO4WS7KE.js +2 -0
  3. package/dist/DatePickerFieldDefault-AZHJN2U6.js +2 -0
  4. package/dist/FileUploadFieldDefault-K6PF6RP7.js +2 -0
  5. package/dist/ForcedValueFieldDefault-BEOC4MYU.js +2 -0
  6. package/dist/MultiSelectFieldDefault-QKXVTGF2.js +2 -0
  7. package/dist/RadioGroupFieldDefault-ZHHXDUUU.js +2 -0
  8. package/dist/SelectFieldDefault-FWQ7D6DU.js +2 -0
  9. package/dist/TelFieldDefault-RA7IBELJ.js +2 -0
  10. package/dist/TextAreaFieldDefault-NEFWXEE2.js +2 -0
  11. package/dist/TextFieldDefault-RXNU36AX.js +2 -0
  12. package/dist/TimeFieldDefault-KIJNBWYF.js +2 -0
  13. package/dist/ZendeskTriggerButtonDefault-L4BVVXHA.js +2 -0
  14. package/dist/ZendeskTriggerButtonDefault-L4BVVXHA.js.map +1 -0
  15. package/dist/chunk-2GTY2DMO.js +2 -0
  16. package/dist/{chunk-QN6OMOUW.js.map → chunk-2GTY2DMO.js.map} +1 -1
  17. package/dist/{chunk-5IMEZZMR.js → chunk-2LR5N626.js} +2 -2
  18. package/dist/{chunk-FLX72WFD.js → chunk-2LSLWFZS.js} +2 -2
  19. package/dist/chunk-3BQVEYHE.js +2 -0
  20. package/dist/chunk-3BQVEYHE.js.map +1 -0
  21. package/dist/{chunk-EACCMXD5.js → chunk-3LELUHRO.js} +2 -2
  22. package/dist/{chunk-XAIBLWDF.js → chunk-3LMZ3SOP.js} +2 -2
  23. package/dist/{chunk-KBD6W5FL.js → chunk-3RQSRU7O.js} +2 -2
  24. package/dist/{chunk-WI4YITIC.js → chunk-3VTHNE4H.js} +2 -2
  25. package/dist/{chunk-TFBJMECV.js → chunk-4Y2INBAI.js} +2 -2
  26. package/dist/chunk-4YFJOHSM.js +2 -0
  27. package/dist/{chunk-SL5WZ76A.js.map → chunk-4YFJOHSM.js.map} +1 -1
  28. package/dist/chunk-5FEJD2N7.js +2 -0
  29. package/dist/chunk-5FEJD2N7.js.map +1 -0
  30. package/dist/chunk-5FGYC2RF.js +2 -0
  31. package/dist/{chunk-GMCJXDUP.js.map → chunk-5FGYC2RF.js.map} +1 -1
  32. package/dist/{chunk-Q2MGM4I2.js → chunk-5FJ64F6D.js} +2 -2
  33. package/dist/{chunk-4F7TGLUT.js → chunk-5J7DLDLW.js} +2 -2
  34. package/dist/{chunk-Q2JINYSB.js → chunk-5MH23AST.js} +2 -2
  35. package/dist/chunk-5TOSVOLY.js +2 -0
  36. package/dist/chunk-5TOSVOLY.js.map +1 -0
  37. package/dist/{chunk-CNQXPZJB.js → chunk-5WTCN4WO.js} +2 -2
  38. package/dist/{chunk-7YACR6OA.js → chunk-6IDUDCVS.js} +2 -2
  39. package/dist/{chunk-X536XUYT.js → chunk-6IQJJCQ3.js} +2 -2
  40. package/dist/chunk-6L77BWCI.js +2 -0
  41. package/dist/{chunk-UOA3M7EJ.js.map → chunk-6L77BWCI.js.map} +1 -1
  42. package/dist/{chunk-5YOH2HJ5.js → chunk-6S5Q2OKC.js} +2 -2
  43. package/dist/chunk-7IIQUZTH.js +2 -0
  44. package/dist/chunk-7IIQUZTH.js.map +1 -0
  45. package/dist/{chunk-SNEUIWQE.js → chunk-7NDAFJXR.js} +2 -2
  46. package/dist/{chunk-OK2ZZ6NK.js → chunk-7XDU2VWN.js} +2 -2
  47. package/dist/{chunk-AFKB7Z3G.js → chunk-A5XRBDDO.js} +2 -2
  48. package/dist/chunk-ALHHN2LG.js +2 -0
  49. package/dist/chunk-ALHHN2LG.js.map +1 -0
  50. package/dist/{chunk-JP5GXWXT.js → chunk-ANZ2YYUE.js} +2 -2
  51. package/dist/{chunk-RJ7BWEDB.js → chunk-B3ESNTKY.js} +2 -2
  52. package/dist/{chunk-76TJCXAW.js → chunk-BTZ57COZ.js} +2 -2
  53. package/dist/{chunk-GTZ35W3E.js → chunk-BWM2MYPE.js} +2 -2
  54. package/dist/{chunk-7G6XS63Q.js → chunk-BYTVIOOL.js} +2 -2
  55. package/dist/{chunk-VWWVLK5C.js → chunk-C2HZNBMZ.js} +2 -2
  56. package/dist/{chunk-TVNBMBTY.js → chunk-C5T75DEZ.js} +2 -2
  57. package/dist/{chunk-32UP2UFU.js → chunk-CFPKRLGM.js} +2 -2
  58. package/dist/{chunk-7EOTDIJI.js → chunk-CHIWBD6E.js} +2 -2
  59. package/dist/{chunk-DH2NHUZU.js → chunk-D737GUYZ.js} +2 -2
  60. package/dist/{chunk-C3YSF5RT.js → chunk-DLIVHNTT.js} +2 -2
  61. package/dist/{chunk-OLBMZGOC.js → chunk-EQIWABAZ.js} +2 -2
  62. package/dist/{chunk-XCQI5O67.js → chunk-EYZVDP6A.js} +2 -2
  63. package/dist/{chunk-U74P6WCT.js → chunk-F2SGCGXL.js} +2 -2
  64. package/dist/{chunk-KFTMJ253.js → chunk-F3DZUA7W.js} +2 -2
  65. package/dist/{chunk-FJNQ64SB.js → chunk-F3UUYQGY.js} +2 -2
  66. package/dist/{chunk-2HQDOWW2.js → chunk-FB3PEQTO.js} +1 -1
  67. package/dist/chunk-FB3PEQTO.js.map +1 -0
  68. package/dist/{chunk-HNJ7ZFEU.js → chunk-FDTOQHOJ.js} +2 -2
  69. package/dist/chunk-FGYOG6XG.js +2 -0
  70. package/dist/chunk-FGYOG6XG.js.map +1 -0
  71. package/dist/{chunk-OPGC7BSY.js → chunk-FJD5GFO4.js} +2 -2
  72. package/dist/{chunk-GSGCFKOZ.js → chunk-FT4ZNBTA.js} +2 -2
  73. package/dist/{chunk-CETQLSZY.js → chunk-G3KQCVQQ.js} +2 -2
  74. package/dist/chunk-GPWQPJQ7.js +2 -0
  75. package/dist/chunk-GPWQPJQ7.js.map +1 -0
  76. package/dist/{chunk-7PWXGPXZ.js → chunk-H5OZSXSY.js} +2 -2
  77. package/dist/{chunk-364G255Q.js → chunk-IAR6BWUY.js} +2 -2
  78. package/dist/{chunk-7ZQYMDNU.js → chunk-ILX6RI7K.js} +2 -2
  79. package/dist/{chunk-VT5V3C6T.js → chunk-IRUWMZVH.js} +2 -2
  80. package/dist/{chunk-ISETCY2V.js → chunk-IUBHVGVV.js} +2 -2
  81. package/dist/chunk-IXS65MGJ.js +2 -0
  82. package/dist/chunk-IXS65MGJ.js.map +1 -0
  83. package/dist/{chunk-VBWACHT3.js → chunk-J4CHUIPC.js} +2 -2
  84. package/dist/chunk-JKHJR6HK.js +2 -0
  85. package/dist/chunk-JKHJR6HK.js.map +1 -0
  86. package/dist/{chunk-HCL7WLOR.js → chunk-JLM4O7ZW.js} +2 -2
  87. package/dist/{chunk-H3JVB7GS.js → chunk-JMFCG5KA.js} +2 -2
  88. package/dist/{chunk-2FI5CCXQ.js → chunk-JQ3SLOUP.js} +2 -2
  89. package/dist/{chunk-FXVLXN2B.js → chunk-JRRPMAUO.js} +2 -2
  90. package/dist/{chunk-ONUE4K6F.js → chunk-K67Q5476.js} +2 -2
  91. package/dist/{chunk-ZGGEJ3FD.js → chunk-KPDYUFCB.js} +2 -2
  92. package/dist/{chunk-5BJXFWKN.js → chunk-KZ5ZQTBF.js} +2 -2
  93. package/dist/{chunk-VY64RMAF.js → chunk-LCUURLXS.js} +2 -2
  94. package/dist/{chunk-DHS5QMH6.js → chunk-LCUYP6VW.js} +2 -2
  95. package/dist/chunk-M3TA5X2H.js +2 -0
  96. package/dist/chunk-M3TA5X2H.js.map +1 -0
  97. package/dist/{chunk-CHTCJQJ3.js → chunk-MZK2U65W.js} +2 -2
  98. package/dist/chunk-NPVSJYM6.js +2 -0
  99. package/dist/chunk-NPVSJYM6.js.map +1 -0
  100. package/dist/{chunk-UEJU2A57.js → chunk-ORP6DY5I.js} +2 -2
  101. package/dist/{chunk-PZWP6ZVL.js → chunk-OTBCLDGR.js} +2 -2
  102. package/dist/{chunk-5OEO67O2.js → chunk-PJTMFMRJ.js} +2 -2
  103. package/dist/{chunk-YQZ3B2CT.js → chunk-PNNOU6BC.js} +2 -2
  104. package/dist/chunk-POWC7LZN.js +2 -0
  105. package/dist/chunk-POWC7LZN.js.map +1 -0
  106. package/dist/{chunk-3YILMVSP.js → chunk-PYNHR7NL.js} +2 -2
  107. package/dist/{chunk-IN6QZASY.js → chunk-QEHEOSJT.js} +2 -2
  108. package/dist/{chunk-QA6YA4OB.js → chunk-QHJ3BYJN.js} +2 -2
  109. package/dist/chunk-QSBXRKYE.js +2 -0
  110. package/dist/chunk-QSF4XFSV.js +2 -0
  111. package/dist/{chunk-QJHSN6MG.js.map → chunk-QSF4XFSV.js.map} +1 -1
  112. package/dist/{chunk-NKGJZNXL.js → chunk-R2D32OB6.js} +2 -2
  113. package/dist/{chunk-6VEWI4G2.js → chunk-RKP7EEAB.js} +2 -2
  114. package/dist/{chunk-UTQDJNOV.js → chunk-S2QXSX4Q.js} +2 -2
  115. package/dist/{chunk-Q4X35JRA.js → chunk-SNGQ2MKL.js} +2 -2
  116. package/dist/{chunk-B7XTWLRI.js → chunk-SUVBETJS.js} +2 -2
  117. package/dist/{chunk-EP3DUVMU.js → chunk-TLJXBZII.js} +2 -2
  118. package/dist/chunk-TXOCMI5I.js +2 -0
  119. package/dist/{chunk-LWLFJAG6.js.map → chunk-TXOCMI5I.js.map} +1 -1
  120. package/dist/{chunk-HDOEUCXY.js → chunk-U7JAGEOV.js} +2 -2
  121. package/dist/chunk-U7JAGEOV.js.map +1 -0
  122. package/dist/{chunk-PQHXX3ZN.js → chunk-UAEQLFPK.js} +2 -2
  123. package/dist/chunk-UOJOO2DM.js +2 -0
  124. package/dist/chunk-UOJOO2DM.js.map +1 -0
  125. package/dist/{chunk-WXKFXIMQ.js → chunk-UU2IFOXR.js} +2 -2
  126. package/dist/{chunk-ZMBPKARZ.js → chunk-V3C32X6R.js} +2 -2
  127. package/dist/{chunk-XI55YG73.js → chunk-VNMUML3T.js} +2 -2
  128. package/dist/{chunk-XI55YG73.js.map → chunk-VNMUML3T.js.map} +1 -1
  129. package/dist/{chunk-TYCOSAU4.js → chunk-VQRE3YLW.js} +2 -2
  130. package/dist/{chunk-RDDQ5XMI.js → chunk-VYAJQ25J.js} +2 -2
  131. package/dist/chunk-WB52GW3H.js +2 -0
  132. package/dist/chunk-WB52GW3H.js.map +1 -0
  133. package/dist/{chunk-JBAKDTGM.js → chunk-WDPJIOLG.js} +2 -2
  134. package/dist/{chunk-KBYI7L5E.js → chunk-WGDZTF7Y.js} +2 -2
  135. package/dist/{chunk-WXTEP5PE.js → chunk-WH3QR2W5.js} +2 -2
  136. package/dist/{chunk-OKABTWB3.js → chunk-WHDUZGVW.js} +2 -2
  137. package/dist/{chunk-MS63VN5N.js → chunk-WYIU74JN.js} +2 -2
  138. package/dist/{chunk-4E5YP5GD.js → chunk-WZOVZYNI.js} +2 -2
  139. package/dist/{chunk-6VBUWE25.js → chunk-XTLTKB3S.js} +2 -2
  140. package/dist/chunk-XXQBX7ND.js +2 -0
  141. package/dist/chunk-XXQBX7ND.js.map +1 -0
  142. package/dist/{chunk-XGECMN4V.js → chunk-YRC6EEM3.js} +2 -2
  143. package/dist/{chunk-GVQ7UXVW.js → chunk-YUUUI4FY.js} +2 -2
  144. package/dist/{chunk-RPRRMRCO.js → chunk-Z7VNXKWB.js} +2 -2
  145. package/dist/chunk-ZQVVHVAG.js +2 -0
  146. package/dist/{chunk-WLZRAEPQ.js.map → chunk-ZQVVHVAG.js.map} +1 -1
  147. package/dist/default-components.d.ts +2 -2
  148. package/dist/default-components.js +1 -1
  149. package/dist/default-components.js.map +1 -1
  150. package/dist/flows/ContractAmendment/ContractAmendmentConfirmationForm.d.ts +1 -1
  151. package/dist/flows/ContractAmendment/ContractAmendmentFlow.d.ts +3 -3
  152. package/dist/flows/ContractAmendment/ContractAmendmentFlow.js +1 -1
  153. package/dist/flows/ContractAmendment/ContractAmendmentForm.d.ts +1 -1
  154. package/dist/flows/ContractAmendment/ContractAmendmentForm.js +1 -1
  155. package/dist/flows/ContractAmendment/context.d.ts +3 -3
  156. package/dist/flows/ContractAmendment/hooks.d.ts +3 -3
  157. package/dist/flows/ContractAmendment/hooks.js +1 -1
  158. package/dist/flows/ContractAmendment/index.d.ts +3 -3
  159. package/dist/flows/ContractAmendment/index.js +1 -1
  160. package/dist/flows/ContractAmendment/types.d.ts +3 -3
  161. package/dist/flows/ContractAmendment/utils.d.ts +2 -2
  162. package/dist/flows/ContractorOnboarding/ContractorOnboarding.d.ts +6 -5
  163. package/dist/flows/ContractorOnboarding/ContractorOnboarding.js +1 -1
  164. package/dist/flows/ContractorOnboarding/api.d.ts +445 -192
  165. package/dist/flows/ContractorOnboarding/api.js +1 -1
  166. package/dist/flows/ContractorOnboarding/components/BasicInformationStep.d.ts +4 -4
  167. package/dist/flows/ContractorOnboarding/components/BasicInformationStep.js +1 -1
  168. package/dist/flows/ContractorOnboarding/components/ContractDetailsStep.d.ts +6 -5
  169. package/dist/flows/ContractorOnboarding/components/ContractDetailsStep.js +1 -1
  170. package/dist/flows/ContractorOnboarding/components/ContractOriginStep.d.ts +3 -3
  171. package/dist/flows/ContractorOnboarding/components/ContractOriginStep.js +1 -1
  172. package/dist/flows/ContractorOnboarding/components/ContractPreviewHeader.d.ts +2 -2
  173. package/dist/flows/ContractorOnboarding/components/ContractPreviewStatement.d.ts +2 -2
  174. package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.d.ts +6 -5
  175. package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.js +1 -1
  176. package/dist/flows/ContractorOnboarding/components/ContractorOnboardingForm.d.ts +6 -5
  177. package/dist/flows/ContractorOnboarding/components/ContractorOnboardingForm.js +1 -1
  178. package/dist/flows/ContractorOnboarding/components/CreateInvoiceScheduleStep.d.ts +23 -0
  179. package/dist/flows/ContractorOnboarding/components/CreateInvoiceScheduleStep.js +2 -0
  180. package/dist/flows/ContractorOnboarding/components/CreateInvoiceScheduleStep.js.map +1 -0
  181. package/dist/flows/ContractorOnboarding/components/EligibilityQuestionnaireStep.d.ts +6 -5
  182. package/dist/flows/ContractorOnboarding/components/EligibilityQuestionnaireStep.js +1 -1
  183. package/dist/flows/ContractorOnboarding/components/InvoiceScheduleStep.d.ts +28 -0
  184. package/dist/flows/ContractorOnboarding/components/InvoiceScheduleStep.js +2 -0
  185. package/dist/flows/ContractorOnboarding/components/InvoiceScheduleStep.js.map +1 -0
  186. package/dist/flows/ContractorOnboarding/components/OnboardingInvite.d.ts +3 -3
  187. package/dist/flows/ContractorOnboarding/components/OnboardingInvite.js +1 -1
  188. package/dist/flows/ContractorOnboarding/components/PricingPlan.d.ts +6 -5
  189. package/dist/flows/ContractorOnboarding/components/PricingPlan.js +1 -1
  190. package/dist/flows/ContractorOnboarding/components/SaveDraftButton.d.ts +3 -3
  191. package/dist/flows/ContractorOnboarding/components/SelectCountryStep.d.ts +4 -4
  192. package/dist/flows/ContractorOnboarding/components/SelectCountryStep.js +1 -1
  193. package/dist/flows/ContractorOnboarding/context.d.ts +32 -14
  194. package/dist/flows/ContractorOnboarding/hooks.d.ts +7 -6
  195. package/dist/flows/ContractorOnboarding/hooks.js +1 -1
  196. package/dist/flows/ContractorOnboarding/index.d.ts +6 -5
  197. package/dist/flows/ContractorOnboarding/index.js +1 -1
  198. package/dist/flows/ContractorOnboarding/invoiceScheduleConstants.d.ts +15 -0
  199. package/dist/flows/ContractorOnboarding/invoiceScheduleConstants.js +2 -0
  200. package/dist/flows/ContractorOnboarding/invoiceScheduleConstants.js.map +1 -0
  201. package/dist/flows/ContractorOnboarding/jsfModify.d.ts +6 -5
  202. package/dist/flows/ContractorOnboarding/jsfModify.js +1 -1
  203. package/dist/flows/ContractorOnboarding/json-schemas/createInvoiceSchedule.d.ts +103 -0
  204. package/dist/flows/ContractorOnboarding/json-schemas/createInvoiceSchedule.js +2 -0
  205. package/dist/flows/ContractorOnboarding/json-schemas/createInvoiceSchedule.js.map +1 -0
  206. package/dist/flows/ContractorOnboarding/json-schemas/invoiceSchedule.d.ts +28 -0
  207. package/dist/flows/ContractorOnboarding/json-schemas/invoiceSchedule.js +2 -0
  208. package/dist/flows/ContractorOnboarding/json-schemas/invoiceSchedule.js.map +1 -0
  209. package/dist/flows/ContractorOnboarding/types.d.ts +6 -5
  210. package/dist/flows/ContractorOnboarding/utils.d.ts +24 -6
  211. package/dist/flows/ContractorOnboarding/utils.js +1 -1
  212. package/dist/flows/CostCalculator/CostCalculatorFlow.d.ts +3 -3
  213. package/dist/flows/CostCalculator/CostCalculatorFlow.js +1 -1
  214. package/dist/flows/CostCalculator/CostCalculatorForm.d.ts +3 -3
  215. package/dist/flows/CostCalculator/CostCalculatorForm.js +1 -1
  216. package/dist/flows/CostCalculator/EstimationResults/EstimationResults.d.ts +3 -3
  217. package/dist/flows/CostCalculator/EstimationResults/EstimationResults.js +1 -1
  218. package/dist/flows/CostCalculator/SummaryResults/SummaryResults.d.ts +3 -3
  219. package/dist/flows/CostCalculator/api.d.ts +3 -3
  220. package/dist/flows/CostCalculator/api.js +1 -1
  221. package/dist/flows/CostCalculator/components/SalaryField.d.ts +2 -2
  222. package/dist/flows/CostCalculator/components/SalaryField.js +1 -1
  223. package/dist/flows/CostCalculator/context.d.ts +3 -3
  224. package/dist/flows/CostCalculator/hooks.d.ts +3 -3
  225. package/dist/flows/CostCalculator/hooks.js +1 -1
  226. package/dist/flows/CostCalculator/index.d.ts +3 -3
  227. package/dist/flows/CostCalculator/index.js +1 -1
  228. package/dist/flows/CostCalculator/types.d.ts +3 -3
  229. package/dist/flows/CostCalculator/utils.d.ts +3 -3
  230. package/dist/flows/CostCalculator/utils.js +1 -1
  231. package/dist/flows/CreateCompany/CreateCompany.d.ts +4 -4
  232. package/dist/flows/CreateCompany/CreateCompany.js +1 -1
  233. package/dist/flows/CreateCompany/api.d.ts +3 -3
  234. package/dist/flows/CreateCompany/api.js +1 -1
  235. package/dist/flows/CreateCompany/components/AddressDetailsStep.d.ts +4 -4
  236. package/dist/flows/CreateCompany/components/AddressDetailsStep.js +1 -1
  237. package/dist/flows/CreateCompany/components/CompanyBasicInformationStep.d.ts +4 -4
  238. package/dist/flows/CreateCompany/components/CompanyBasicInformationStep.js +1 -1
  239. package/dist/flows/CreateCompany/components/CreateCompanyForm.d.ts +2 -2
  240. package/dist/flows/CreateCompany/components/CreateCompanyForm.js +1 -1
  241. package/dist/flows/CreateCompany/context.d.ts +4 -4
  242. package/dist/flows/CreateCompany/hooks.d.ts +4 -4
  243. package/dist/flows/CreateCompany/hooks.js +1 -1
  244. package/dist/flows/CreateCompany/index.d.ts +4 -4
  245. package/dist/flows/CreateCompany/index.js +1 -1
  246. package/dist/flows/CreateCompany/types.d.ts +4 -4
  247. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundFlow.d.ts +3 -3
  248. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundFlow.js +1 -1
  249. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundForm.d.ts +2 -2
  250. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundForm.js +1 -1
  251. package/dist/flows/JsonSchemaPlayground/context.d.ts +3 -3
  252. package/dist/flows/JsonSchemaPlayground/hooks.d.ts +3 -3
  253. package/dist/flows/JsonSchemaPlayground/index.d.ts +3 -3
  254. package/dist/flows/JsonSchemaPlayground/index.js +1 -1
  255. package/dist/flows/JsonSchemaPlayground/types.d.ts +3 -3
  256. package/dist/flows/Onboarding/OnboardingFlow.d.ts +4 -4
  257. package/dist/flows/Onboarding/OnboardingFlow.js +1 -1
  258. package/dist/flows/Onboarding/api.d.ts +4 -4
  259. package/dist/flows/Onboarding/api.js +1 -1
  260. package/dist/flows/Onboarding/components/AnnualGrossSalary.d.ts +2 -2
  261. package/dist/flows/Onboarding/components/AnnualGrossSalary.js +1 -1
  262. package/dist/flows/Onboarding/components/BasicInformationStep.d.ts +4 -4
  263. package/dist/flows/Onboarding/components/BasicInformationStep.js +1 -1
  264. package/dist/flows/Onboarding/components/BenefitsStep.d.ts +4 -4
  265. package/dist/flows/Onboarding/components/BenefitsStep.js +1 -1
  266. package/dist/flows/Onboarding/components/ContractDetailsStep.d.ts +4 -4
  267. package/dist/flows/Onboarding/components/ContractDetailsStep.js +1 -1
  268. package/dist/flows/Onboarding/components/EmploymentAgreementInfoContent.js +1 -1
  269. package/dist/flows/Onboarding/components/EngagementAgreementDetailsStep.d.ts +4 -4
  270. package/dist/flows/Onboarding/components/EngagementAgreementDetailsStep.js +1 -1
  271. package/dist/flows/Onboarding/components/OnboardingForm.d.ts +4 -4
  272. package/dist/flows/Onboarding/components/OnboardingForm.js +1 -1
  273. package/dist/flows/Onboarding/components/OnboardingInvite.d.ts +3 -3
  274. package/dist/flows/Onboarding/components/OnboardingInvite.js +1 -1
  275. package/dist/flows/Onboarding/components/PreOnboardingRequirements.d.ts +4 -4
  276. package/dist/flows/Onboarding/components/PreOnboardingRequirements.js +1 -1
  277. package/dist/flows/Onboarding/components/PreviewEmploymentAgreementStep.js +1 -1
  278. package/dist/flows/Onboarding/components/ReviewStep.d.ts +4 -4
  279. package/dist/flows/Onboarding/components/SaveDraftButton.d.ts +3 -3
  280. package/dist/flows/Onboarding/components/SelectCountryStep.d.ts +4 -4
  281. package/dist/flows/Onboarding/components/SelectCountryStep.js +1 -1
  282. package/dist/flows/Onboarding/context.d.ts +4 -4
  283. package/dist/flows/Onboarding/hooks.d.ts +4 -4
  284. package/dist/flows/Onboarding/hooks.js +1 -1
  285. package/dist/flows/Onboarding/index.d.ts +4 -4
  286. package/dist/flows/Onboarding/index.js +1 -1
  287. package/dist/flows/Onboarding/types.d.ts +4 -4
  288. package/dist/flows/Onboarding/utils.d.ts +4 -4
  289. package/dist/flows/Onboarding/utils.js +1 -1
  290. package/dist/flows/PayrollAdminOnboarding/PayrollAdminOnboardingFlow.d.ts +4 -4
  291. package/dist/flows/PayrollAdminOnboarding/PayrollAdminOnboardingFlow.js +1 -1
  292. package/dist/flows/PayrollAdminOnboarding/api.d.ts +2 -2
  293. package/dist/flows/PayrollAdminOnboarding/api.js +1 -1
  294. package/dist/flows/PayrollAdminOnboarding/components/AdministrativeDetailsStep.d.ts +3 -3
  295. package/dist/flows/PayrollAdminOnboarding/components/AdministrativeDetailsStep.js +1 -1
  296. package/dist/flows/PayrollAdminOnboarding/components/ContractDetailsStep.d.ts +3 -3
  297. package/dist/flows/PayrollAdminOnboarding/components/ContractDetailsStep.js +1 -1
  298. package/dist/flows/PayrollAdminOnboarding/components/InvitationStep.d.ts +3 -3
  299. package/dist/flows/PayrollAdminOnboarding/components/InvitationStep.js +1 -1
  300. package/dist/flows/PayrollAdminOnboarding/components/PayrollAdminForm.d.ts +2 -2
  301. package/dist/flows/PayrollAdminOnboarding/components/PayrollAdminForm.js +1 -1
  302. package/dist/flows/PayrollAdminOnboarding/components/SelectCountryStep.d.ts +3 -3
  303. package/dist/flows/PayrollAdminOnboarding/components/SelectCountryStep.js +1 -1
  304. package/dist/flows/PayrollAdminOnboarding/components/useStepSubmitHandler.d.ts +3 -3
  305. package/dist/flows/PayrollAdminOnboarding/context.d.ts +4 -4
  306. package/dist/flows/PayrollAdminOnboarding/hooks.d.ts +4 -4
  307. package/dist/flows/PayrollAdminOnboarding/hooks.js +1 -1
  308. package/dist/flows/PayrollAdminOnboarding/index.d.ts +4 -4
  309. package/dist/flows/PayrollAdminOnboarding/index.js +1 -1
  310. package/dist/flows/PayrollAdminOnboarding/types.d.ts +4 -4
  311. package/dist/flows/PayrollEmployeeOnboarding/PayrollEmployeeOnboardingFlow.d.ts +4 -4
  312. package/dist/flows/PayrollEmployeeOnboarding/PayrollEmployeeOnboardingFlow.js +1 -1
  313. package/dist/flows/PayrollEmployeeOnboarding/api.d.ts +3 -3
  314. package/dist/flows/PayrollEmployeeOnboarding/api.js +1 -1
  315. package/dist/flows/PayrollEmployeeOnboarding/components/BankAccountStep.d.ts +3 -3
  316. package/dist/flows/PayrollEmployeeOnboarding/components/BankAccountStep.js +1 -1
  317. package/dist/flows/PayrollEmployeeOnboarding/components/FederalTaxesStep.d.ts +3 -3
  318. package/dist/flows/PayrollEmployeeOnboarding/components/FederalTaxesStep.js +1 -1
  319. package/dist/flows/PayrollEmployeeOnboarding/components/HomeAddressStep.d.ts +3 -3
  320. package/dist/flows/PayrollEmployeeOnboarding/components/HomeAddressStep.js +1 -1
  321. package/dist/flows/PayrollEmployeeOnboarding/components/PayrollEmployeeForm.d.ts +2 -2
  322. package/dist/flows/PayrollEmployeeOnboarding/components/PayrollEmployeeForm.js +1 -1
  323. package/dist/flows/PayrollEmployeeOnboarding/components/PersonalDetailsStep.d.ts +3 -3
  324. package/dist/flows/PayrollEmployeeOnboarding/components/PersonalDetailsStep.js +1 -1
  325. package/dist/flows/PayrollEmployeeOnboarding/components/StateTaxesStep.d.ts +3 -3
  326. package/dist/flows/PayrollEmployeeOnboarding/components/StateTaxesStep.js +1 -1
  327. package/dist/flows/PayrollEmployeeOnboarding/components/useEmployeeStepSubmitHandler.d.ts +3 -3
  328. package/dist/flows/PayrollEmployeeOnboarding/context.d.ts +4 -4
  329. package/dist/flows/PayrollEmployeeOnboarding/hooks.d.ts +4 -4
  330. package/dist/flows/PayrollEmployeeOnboarding/hooks.js +1 -1
  331. package/dist/flows/PayrollEmployeeOnboarding/index.d.ts +4 -4
  332. package/dist/flows/PayrollEmployeeOnboarding/index.js +1 -1
  333. package/dist/flows/PayrollEmployeeOnboarding/types.d.ts +4 -4
  334. package/dist/flows/Termination/AdditionalDetailsForm.d.ts +4 -4
  335. package/dist/flows/Termination/AdditionalDetailsForm.js +1 -1
  336. package/dist/flows/Termination/EmployeeComunicationForm.d.ts +4 -4
  337. package/dist/flows/Termination/EmployeeComunicationForm.js +1 -1
  338. package/dist/flows/Termination/PaidTimeOffForm.d.ts +4 -4
  339. package/dist/flows/Termination/PaidTimeOffForm.js +1 -1
  340. package/dist/flows/Termination/TerminationDetailsForm.d.ts +4 -4
  341. package/dist/flows/Termination/TerminationDetailsForm.js +1 -1
  342. package/dist/flows/Termination/TerminationFlow.d.ts +4 -4
  343. package/dist/flows/Termination/TerminationFlow.js +1 -1
  344. package/dist/flows/Termination/TerminationForm.d.ts +4 -4
  345. package/dist/flows/Termination/TerminationForm.js +1 -1
  346. package/dist/flows/Termination/api.d.ts +5 -5
  347. package/dist/flows/Termination/api.js +1 -1
  348. package/dist/flows/Termination/components/AcknowledgeInformation/AcknowledgeInformationFees.js +1 -1
  349. package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOff.d.ts +6 -6
  350. package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOffContainer.d.ts +6 -6
  351. package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOffContainer.js +1 -1
  352. package/dist/flows/Termination/components/PaidTimeOff/types.d.ts +6 -6
  353. package/dist/flows/Termination/components/TerminationDialogInfoContent/TerminationDialogInfoContent.js +1 -1
  354. package/dist/flows/Termination/context.d.ts +4 -4
  355. package/dist/flows/Termination/hooks.d.ts +4 -4
  356. package/dist/flows/Termination/hooks.js +1 -1
  357. package/dist/flows/Termination/index.d.ts +6 -6
  358. package/dist/flows/Termination/index.js +1 -1
  359. package/dist/flows/Termination/json-schemas/jsonSchema.js +1 -1
  360. package/dist/flows/Termination/json-schemas/schema.d.ts +4 -4
  361. package/dist/flows/Termination/json-schemas/schema.js +1 -1
  362. package/dist/flows/Termination/types.d.ts +4 -4
  363. package/dist/flows/Termination/utils.d.ts +4 -4
  364. package/dist/flows/types.d.ts +8 -3
  365. package/dist/flows/useStepState.js +1 -1
  366. package/dist/flows/utils.d.ts +2 -2
  367. package/dist/index.d.ts +16 -14
  368. package/dist/index.js +2 -2
  369. package/dist/index.js.map +1 -1
  370. package/dist/internals.d.ts +4 -4
  371. package/dist/internals.js +1 -1
  372. package/dist/{mutations-D7wGden5.d.ts → mutations-DQjVuza-.d.ts} +1 -1
  373. package/dist/{remoteFlows-Do_hGrKi.d.ts → remoteFlows-B_JbhzWp.d.ts} +28 -2
  374. package/dist/{types-BSn99OzF.d.ts → types-1mH_uuoA.d.ts} +2 -2
  375. package/dist/{types-CZpddZC4.d.ts → types-B0iYt6RL.d.ts} +63 -14
  376. package/dist/{types-BhMTFN9Y.d.ts → types-B93nzmoE.d.ts} +1 -1
  377. package/dist/{types-CiQ08J9g.d.ts → types-BFzhRUSU.d.ts} +2 -2
  378. package/dist/{types-aNjp47fZ.d.ts → types-CdC2MYpf.d.ts} +2 -2
  379. package/dist/{types-BpETJhdu.d.ts → types-Clzf4xjV.d.ts} +3 -3
  380. package/dist/{types-BgwIacP2.d.ts → types-CoYsxVTI.d.ts} +1 -1
  381. package/dist/{types-CzmaeZs2.d.ts → types-D3U8Wi3X.d.ts} +3 -3
  382. package/dist/{types.gen-C4K7xky-.d.ts → types.gen-BmtA4XNd.d.ts} +230 -1
  383. package/dist/{utils-BU5K1WH5.d.ts → utils-DJgzqxq4.d.ts} +1 -1
  384. package/package.json +1 -1
  385. package/dist/CheckboxFieldDefault-6B33T4XR.js +0 -2
  386. package/dist/CountryFieldDefault-TVGOKASR.js +0 -2
  387. package/dist/DatePickerFieldDefault-TH427OH5.js +0 -2
  388. package/dist/FileUploadFieldDefault-WB7ITN3G.js +0 -2
  389. package/dist/ForcedValueFieldDefault-QH76S3ZL.js +0 -2
  390. package/dist/MultiSelectFieldDefault-T26SUE3J.js +0 -2
  391. package/dist/RadioGroupFieldDefault-ZNWHLCZP.js +0 -2
  392. package/dist/SelectFieldDefault-LFXATOYZ.js +0 -2
  393. package/dist/TelFieldDefault-4FJVSZRV.js +0 -2
  394. package/dist/TextAreaFieldDefault-QRU4Z4V2.js +0 -2
  395. package/dist/TextFieldDefault-LFKGGEU3.js +0 -2
  396. package/dist/TimeFieldDefault-RU75LZ2T.js +0 -2
  397. package/dist/chunk-2HQDOWW2.js.map +0 -1
  398. package/dist/chunk-3OLZMSGR.js +0 -2
  399. package/dist/chunk-3OLZMSGR.js.map +0 -1
  400. package/dist/chunk-4IDFJ6DS.js +0 -2
  401. package/dist/chunk-4IDFJ6DS.js.map +0 -1
  402. package/dist/chunk-5MPW7QWT.js +0 -2
  403. package/dist/chunk-7RLRU3VM.js +0 -2
  404. package/dist/chunk-7RLRU3VM.js.map +0 -1
  405. package/dist/chunk-7UWA3JTM.js +0 -2
  406. package/dist/chunk-7UWA3JTM.js.map +0 -1
  407. package/dist/chunk-GMCJXDUP.js +0 -2
  408. package/dist/chunk-HDOEUCXY.js.map +0 -1
  409. package/dist/chunk-LWLFJAG6.js +0 -2
  410. package/dist/chunk-MREG2JYT.js +0 -2
  411. package/dist/chunk-MREG2JYT.js.map +0 -1
  412. package/dist/chunk-PJ2MZ6FH.js +0 -2
  413. package/dist/chunk-PJ2MZ6FH.js.map +0 -1
  414. package/dist/chunk-QJHSN6MG.js +0 -2
  415. package/dist/chunk-QN6OMOUW.js +0 -2
  416. package/dist/chunk-SL5WZ76A.js +0 -2
  417. package/dist/chunk-UOA3M7EJ.js +0 -2
  418. package/dist/chunk-WLZRAEPQ.js +0 -2
  419. package/dist/chunk-XPVYX7LE.js +0 -2
  420. package/dist/chunk-XPVYX7LE.js.map +0 -1
  421. package/dist/chunk-XZMPAJRL.js +0 -2
  422. package/dist/chunk-XZMPAJRL.js.map +0 -1
  423. /package/dist/{CheckboxFieldDefault-6B33T4XR.js.map → CheckboxFieldDefault-JXNMWIRK.js.map} +0 -0
  424. /package/dist/{CountryFieldDefault-TVGOKASR.js.map → CountryFieldDefault-SO4WS7KE.js.map} +0 -0
  425. /package/dist/{DatePickerFieldDefault-TH427OH5.js.map → DatePickerFieldDefault-AZHJN2U6.js.map} +0 -0
  426. /package/dist/{FileUploadFieldDefault-WB7ITN3G.js.map → FileUploadFieldDefault-K6PF6RP7.js.map} +0 -0
  427. /package/dist/{ForcedValueFieldDefault-QH76S3ZL.js.map → ForcedValueFieldDefault-BEOC4MYU.js.map} +0 -0
  428. /package/dist/{MultiSelectFieldDefault-T26SUE3J.js.map → MultiSelectFieldDefault-QKXVTGF2.js.map} +0 -0
  429. /package/dist/{RadioGroupFieldDefault-ZNWHLCZP.js.map → RadioGroupFieldDefault-ZHHXDUUU.js.map} +0 -0
  430. /package/dist/{SelectFieldDefault-LFXATOYZ.js.map → SelectFieldDefault-FWQ7D6DU.js.map} +0 -0
  431. /package/dist/{TelFieldDefault-4FJVSZRV.js.map → TelFieldDefault-RA7IBELJ.js.map} +0 -0
  432. /package/dist/{TextAreaFieldDefault-QRU4Z4V2.js.map → TextAreaFieldDefault-NEFWXEE2.js.map} +0 -0
  433. /package/dist/{TextFieldDefault-LFKGGEU3.js.map → TextFieldDefault-RXNU36AX.js.map} +0 -0
  434. /package/dist/{TimeFieldDefault-RU75LZ2T.js.map → TimeFieldDefault-KIJNBWYF.js.map} +0 -0
  435. /package/dist/{chunk-5IMEZZMR.js.map → chunk-2LR5N626.js.map} +0 -0
  436. /package/dist/{chunk-FLX72WFD.js.map → chunk-2LSLWFZS.js.map} +0 -0
  437. /package/dist/{chunk-EACCMXD5.js.map → chunk-3LELUHRO.js.map} +0 -0
  438. /package/dist/{chunk-XAIBLWDF.js.map → chunk-3LMZ3SOP.js.map} +0 -0
  439. /package/dist/{chunk-KBD6W5FL.js.map → chunk-3RQSRU7O.js.map} +0 -0
  440. /package/dist/{chunk-WI4YITIC.js.map → chunk-3VTHNE4H.js.map} +0 -0
  441. /package/dist/{chunk-TFBJMECV.js.map → chunk-4Y2INBAI.js.map} +0 -0
  442. /package/dist/{chunk-Q2MGM4I2.js.map → chunk-5FJ64F6D.js.map} +0 -0
  443. /package/dist/{chunk-4F7TGLUT.js.map → chunk-5J7DLDLW.js.map} +0 -0
  444. /package/dist/{chunk-Q2JINYSB.js.map → chunk-5MH23AST.js.map} +0 -0
  445. /package/dist/{chunk-CNQXPZJB.js.map → chunk-5WTCN4WO.js.map} +0 -0
  446. /package/dist/{chunk-7YACR6OA.js.map → chunk-6IDUDCVS.js.map} +0 -0
  447. /package/dist/{chunk-X536XUYT.js.map → chunk-6IQJJCQ3.js.map} +0 -0
  448. /package/dist/{chunk-5YOH2HJ5.js.map → chunk-6S5Q2OKC.js.map} +0 -0
  449. /package/dist/{chunk-SNEUIWQE.js.map → chunk-7NDAFJXR.js.map} +0 -0
  450. /package/dist/{chunk-OK2ZZ6NK.js.map → chunk-7XDU2VWN.js.map} +0 -0
  451. /package/dist/{chunk-AFKB7Z3G.js.map → chunk-A5XRBDDO.js.map} +0 -0
  452. /package/dist/{chunk-JP5GXWXT.js.map → chunk-ANZ2YYUE.js.map} +0 -0
  453. /package/dist/{chunk-RJ7BWEDB.js.map → chunk-B3ESNTKY.js.map} +0 -0
  454. /package/dist/{chunk-76TJCXAW.js.map → chunk-BTZ57COZ.js.map} +0 -0
  455. /package/dist/{chunk-GTZ35W3E.js.map → chunk-BWM2MYPE.js.map} +0 -0
  456. /package/dist/{chunk-7G6XS63Q.js.map → chunk-BYTVIOOL.js.map} +0 -0
  457. /package/dist/{chunk-VWWVLK5C.js.map → chunk-C2HZNBMZ.js.map} +0 -0
  458. /package/dist/{chunk-TVNBMBTY.js.map → chunk-C5T75DEZ.js.map} +0 -0
  459. /package/dist/{chunk-32UP2UFU.js.map → chunk-CFPKRLGM.js.map} +0 -0
  460. /package/dist/{chunk-7EOTDIJI.js.map → chunk-CHIWBD6E.js.map} +0 -0
  461. /package/dist/{chunk-DH2NHUZU.js.map → chunk-D737GUYZ.js.map} +0 -0
  462. /package/dist/{chunk-C3YSF5RT.js.map → chunk-DLIVHNTT.js.map} +0 -0
  463. /package/dist/{chunk-OLBMZGOC.js.map → chunk-EQIWABAZ.js.map} +0 -0
  464. /package/dist/{chunk-XCQI5O67.js.map → chunk-EYZVDP6A.js.map} +0 -0
  465. /package/dist/{chunk-U74P6WCT.js.map → chunk-F2SGCGXL.js.map} +0 -0
  466. /package/dist/{chunk-KFTMJ253.js.map → chunk-F3DZUA7W.js.map} +0 -0
  467. /package/dist/{chunk-FJNQ64SB.js.map → chunk-F3UUYQGY.js.map} +0 -0
  468. /package/dist/{chunk-HNJ7ZFEU.js.map → chunk-FDTOQHOJ.js.map} +0 -0
  469. /package/dist/{chunk-OPGC7BSY.js.map → chunk-FJD5GFO4.js.map} +0 -0
  470. /package/dist/{chunk-GSGCFKOZ.js.map → chunk-FT4ZNBTA.js.map} +0 -0
  471. /package/dist/{chunk-CETQLSZY.js.map → chunk-G3KQCVQQ.js.map} +0 -0
  472. /package/dist/{chunk-7PWXGPXZ.js.map → chunk-H5OZSXSY.js.map} +0 -0
  473. /package/dist/{chunk-364G255Q.js.map → chunk-IAR6BWUY.js.map} +0 -0
  474. /package/dist/{chunk-7ZQYMDNU.js.map → chunk-ILX6RI7K.js.map} +0 -0
  475. /package/dist/{chunk-VT5V3C6T.js.map → chunk-IRUWMZVH.js.map} +0 -0
  476. /package/dist/{chunk-ISETCY2V.js.map → chunk-IUBHVGVV.js.map} +0 -0
  477. /package/dist/{chunk-VBWACHT3.js.map → chunk-J4CHUIPC.js.map} +0 -0
  478. /package/dist/{chunk-HCL7WLOR.js.map → chunk-JLM4O7ZW.js.map} +0 -0
  479. /package/dist/{chunk-H3JVB7GS.js.map → chunk-JMFCG5KA.js.map} +0 -0
  480. /package/dist/{chunk-2FI5CCXQ.js.map → chunk-JQ3SLOUP.js.map} +0 -0
  481. /package/dist/{chunk-FXVLXN2B.js.map → chunk-JRRPMAUO.js.map} +0 -0
  482. /package/dist/{chunk-ONUE4K6F.js.map → chunk-K67Q5476.js.map} +0 -0
  483. /package/dist/{chunk-ZGGEJ3FD.js.map → chunk-KPDYUFCB.js.map} +0 -0
  484. /package/dist/{chunk-5BJXFWKN.js.map → chunk-KZ5ZQTBF.js.map} +0 -0
  485. /package/dist/{chunk-VY64RMAF.js.map → chunk-LCUURLXS.js.map} +0 -0
  486. /package/dist/{chunk-DHS5QMH6.js.map → chunk-LCUYP6VW.js.map} +0 -0
  487. /package/dist/{chunk-CHTCJQJ3.js.map → chunk-MZK2U65W.js.map} +0 -0
  488. /package/dist/{chunk-UEJU2A57.js.map → chunk-ORP6DY5I.js.map} +0 -0
  489. /package/dist/{chunk-PZWP6ZVL.js.map → chunk-OTBCLDGR.js.map} +0 -0
  490. /package/dist/{chunk-5OEO67O2.js.map → chunk-PJTMFMRJ.js.map} +0 -0
  491. /package/dist/{chunk-YQZ3B2CT.js.map → chunk-PNNOU6BC.js.map} +0 -0
  492. /package/dist/{chunk-3YILMVSP.js.map → chunk-PYNHR7NL.js.map} +0 -0
  493. /package/dist/{chunk-IN6QZASY.js.map → chunk-QEHEOSJT.js.map} +0 -0
  494. /package/dist/{chunk-QA6YA4OB.js.map → chunk-QHJ3BYJN.js.map} +0 -0
  495. /package/dist/{chunk-5MPW7QWT.js.map → chunk-QSBXRKYE.js.map} +0 -0
  496. /package/dist/{chunk-NKGJZNXL.js.map → chunk-R2D32OB6.js.map} +0 -0
  497. /package/dist/{chunk-6VEWI4G2.js.map → chunk-RKP7EEAB.js.map} +0 -0
  498. /package/dist/{chunk-UTQDJNOV.js.map → chunk-S2QXSX4Q.js.map} +0 -0
  499. /package/dist/{chunk-Q4X35JRA.js.map → chunk-SNGQ2MKL.js.map} +0 -0
  500. /package/dist/{chunk-B7XTWLRI.js.map → chunk-SUVBETJS.js.map} +0 -0
  501. /package/dist/{chunk-EP3DUVMU.js.map → chunk-TLJXBZII.js.map} +0 -0
  502. /package/dist/{chunk-PQHXX3ZN.js.map → chunk-UAEQLFPK.js.map} +0 -0
  503. /package/dist/{chunk-WXKFXIMQ.js.map → chunk-UU2IFOXR.js.map} +0 -0
  504. /package/dist/{chunk-ZMBPKARZ.js.map → chunk-V3C32X6R.js.map} +0 -0
  505. /package/dist/{chunk-TYCOSAU4.js.map → chunk-VQRE3YLW.js.map} +0 -0
  506. /package/dist/{chunk-RDDQ5XMI.js.map → chunk-VYAJQ25J.js.map} +0 -0
  507. /package/dist/{chunk-JBAKDTGM.js.map → chunk-WDPJIOLG.js.map} +0 -0
  508. /package/dist/{chunk-KBYI7L5E.js.map → chunk-WGDZTF7Y.js.map} +0 -0
  509. /package/dist/{chunk-WXTEP5PE.js.map → chunk-WH3QR2W5.js.map} +0 -0
  510. /package/dist/{chunk-OKABTWB3.js.map → chunk-WHDUZGVW.js.map} +0 -0
  511. /package/dist/{chunk-MS63VN5N.js.map → chunk-WYIU74JN.js.map} +0 -0
  512. /package/dist/{chunk-4E5YP5GD.js.map → chunk-WZOVZYNI.js.map} +0 -0
  513. /package/dist/{chunk-6VBUWE25.js.map → chunk-XTLTKB3S.js.map} +0 -0
  514. /package/dist/{chunk-XGECMN4V.js.map → chunk-YRC6EEM3.js.map} +0 -0
  515. /package/dist/{chunk-GVQ7UXVW.js.map → chunk-YUUUI4FY.js.map} +0 -0
  516. /package/dist/{chunk-RPRRMRCO.js.map → chunk-Z7VNXKWB.js.map} +0 -0
@@ -438,6 +438,12 @@ type Employment = {
438
438
  */
439
439
  created_at: string;
440
440
  };
441
+ /**
442
+ * CurrencyCode
443
+ *
444
+ * Currency code of the SWIFT fee. Only present when processing_fee is set.
445
+ */
446
+ type CurrencyCode = string | null;
441
447
  /**
442
448
  * Step
443
449
  */
@@ -955,6 +961,54 @@ type ResignationOffboarding = {
955
961
  */
956
962
  type: 'resignation';
957
963
  };
964
+ /**
965
+ * ContractorInvoiceSchedule
966
+ *
967
+ * Contractor Invoice Schedule.
968
+ */
969
+ type ContractorInvoiceSchedule = {
970
+ currency: CurrencyCode;
971
+ /**
972
+ * Employment identifier.
973
+ */
974
+ employment_id: string;
975
+ /**
976
+ * ScheduleID
977
+ *
978
+ * Schedule identifier.
979
+ */
980
+ id: string;
981
+ /**
982
+ * List of invoice items that composes the overall invoice amount.
983
+ */
984
+ items: Array<ContractorInvoiceScheduleItem>;
985
+ /**
986
+ * Date time which next invoice will be generated.
987
+ */
988
+ next_invoice_at?: string | null;
989
+ /**
990
+ * Custom defined note.
991
+ */
992
+ note?: string | null;
993
+ /**
994
+ * Count of remaining invoices that should be generated.
995
+ */
996
+ nr_occurrences?: number | null;
997
+ /**
998
+ * Invoice identifier.
999
+ */
1000
+ number?: string | null;
1001
+ periodicity: ContractorInvoiceSchedulePeriodicity;
1002
+ /**
1003
+ * Date which invoices generation will start.
1004
+ */
1005
+ start_date: string;
1006
+ status: ContractorInvoiceScheduleStatus;
1007
+ /**
1008
+ * Overall amount that is calculated by summing all invoice items.
1009
+ */
1010
+ total_amount: number;
1011
+ };
958
1012
  /**
959
1013
  * File
960
1014
  *
@@ -1157,6 +1211,28 @@ type UnprocessableEntityResponse = {
1157
1211
  * EmploymentTermType
1158
1212
  */
1159
1213
  type EmploymentTermType = 'fixed' | 'indefinite';
1214
+ /**
1215
+ * ListContractorInvoiceSchedulesResponse
1216
+ *
1217
+ * Paginated response schema listing all Contractor Invoice Schedules.
1218
+ */
1219
+ type ListContractorInvoiceSchedulesResponse = {
1220
+ data?: {
1221
+ contractor_invoice_schedules?: Array<ContractorInvoiceSchedule>;
1222
+ /**
1223
+ * The current page among all of the total_pages
1224
+ */
1225
+ current_page?: number;
1226
+ /**
1227
+ * The total number of records in the result
1228
+ */
1229
+ total_count?: number;
1230
+ /**
1231
+ * The total number of pages the user can go through
1232
+ */
1233
+ total_pages?: number;
1234
+ };
1235
+ };
1160
1236
  /**
1161
1237
  * Currency
1162
1238
  *
@@ -1384,6 +1460,21 @@ type RiskReserveProofOfPaymentResponse = {
1384
1460
  status?: 'pending' | 'auto_approve' | 'manual_review' | 'approved' | 'rejected';
1385
1461
  };
1386
1462
  };
1463
+ /**
1464
+ * ContractorInvoiceScheduleStatus
1465
+ *
1466
+ * Current record state.
1467
+ *
1468
+ * - `active`: Once an invoice is generated, and a withdrawal method has been set, then it's set to active.
1469
+ * - `processing`: Ephemeral status indicating that we are currently attempting to generate a contractor invoice from the scheduled contractor invoice.
1470
+ * - `pending_company_action`: Company needs to trigger some actions related to payment configuration.
1471
+ * - `pending_contractor_action`: When schedule is blocked by contractor onboarding or invoice generation failed due to withdrawal methods issues that needs contractor action.
1472
+ * - `generation_failed_unrelated_to_withdrawal_method`: Generation failed for any other reason.
1473
+ * - `completed`: Number of generated contractor invoices has been reached.
1474
+ * - `inactive`: Does not create any further contractor invoices but it's still possible for the employer to activate it again.
1475
+ *
1476
+ */
1477
+ type ContractorInvoiceScheduleStatus = 'inactive' | 'completed' | 'active' | 'processing' | 'pending_company_action' | 'pending_contractor_action' | 'generation_failed_unrelated_to_withdrawal_method';
1387
1478
  /**
1388
1479
  * RequestDetails
1389
1480
  *
@@ -1967,6 +2058,16 @@ type CreateCompanyParams = {
1967
2058
  */
1968
2059
  terms_of_service_accepted_at: string;
1969
2060
  };
2061
+ /**
2062
+ * ContractorInvoiceScheduleResponse
2063
+ *
2064
+ * Response schema to show a Contractor Invoice Schedule
2065
+ */
2066
+ type ContractorInvoiceScheduleResponse = {
2067
+ data: {
2068
+ contractor_invoice_schedule: ContractorInvoiceSchedule;
2069
+ };
2070
+ };
1970
2071
  /**
1971
2072
  * UuidSlug
1972
2073
  *
@@ -2589,6 +2690,52 @@ type UpdateCompanyParams = {
2589
2690
  */
2590
2691
  tax_number?: string;
2591
2692
  };
2693
+ /**
2694
+ * ContractorInvoiceScheduleCreateResponseFailure
2695
+ *
2696
+ * Set of invoice schedule attributes with failed validation.
2697
+ */
2698
+ type ContractorInvoiceScheduleCreateResponseFailure = {
2699
+ currency: CurrencyCode;
2700
+ /**
2701
+ * Employment identifier
2702
+ */
2703
+ employment_id: string;
2704
+ errors: {
2705
+ currency?: Array<string>;
2706
+ employment_id?: Array<string>;
2707
+ items?: Array<{
2708
+ amount?: Array<string>;
2709
+ description?: Array<string>;
2710
+ }>;
2711
+ note?: Array<string>;
2712
+ nr_occurrences?: Array<string>;
2713
+ number?: Array<string>;
2714
+ periodicity?: Array<string>;
2715
+ start_date?: Array<string>;
2716
+ };
2717
+ /**
2718
+ * List of invoice items that composes the overall invoice amount.
2719
+ */
2720
+ items: Array<ContractorInvoiceScheduleItem>;
2721
+ /**
2722
+ * Custom defined note.
2723
+ */
2724
+ note?: string;
2725
+ /**
2726
+ * Count of invoices that should be generated during schedule lifetime.
2727
+ */
2728
+ nr_occurrences?: number;
2729
+ /**
2730
+ * Invoice identifier.
2731
+ */
2732
+ number?: string;
2733
+ periodicity: ContractorInvoiceSchedulePeriodicity;
2734
+ /**
2735
+ * Date of the first contractor invoice generation.
2736
+ */
2737
+ start_date: string;
2738
+ };
2592
2739
  /**
2593
2740
  * SignContractDocument
2594
2741
  *
@@ -2613,6 +2760,19 @@ type SignContractDocument = {
2613
2760
  *
2614
2761
  */
2615
2762
  type ContractAmendmentStatus = 'submitted' | 'in_review' | 'done' | 'canceled' | 'deleted';
2763
+ /**
2764
+ * ContractorInvoiceSchedulePeriodicity
2765
+ *
2766
+ * Defines how often contractor invoices will be generated.
2767
+ *
2768
+ * - `bi_weekly`: Invoices will be generated every other week, on the given day of the week based on the start date.
2769
+ * - `monthly`: Invoices will be generated once a month.
2770
+ * - `semi_monthly`: Invoices will be generated at fixed dates twice a month (with 14 days of difference between each other), depending on the start date.
2771
+ * In months with just 30 days, if `start_date` is set to the 31st day, then generation occurs in the last of day of the month.
2772
+ * - `weekly`: Invoices will be generated each week.
2773
+ *
2774
+ */
2775
+ type ContractorInvoiceSchedulePeriodicity = 'bi_weekly' | 'monthly' | 'semi_monthly' | 'weekly';
2616
2776
  /**
2617
2777
  * DateTimeIso8601
2618
2778
  *
@@ -3022,6 +3182,21 @@ type EmploymentEngagementAgreementDetailsParams = {
3022
3182
  *
3023
3183
  */
3024
3184
  type TimeoffStatus = 'approved' | 'cancelled' | 'declined' | 'requested' | 'taken' | 'cancel_requested';
3185
+ /**
3186
+ * ContractorInvoiceScheduleItem
3187
+ *
3188
+ * Line Item schema for a Contractor Invoice Schedule
3189
+ */
3190
+ type ContractorInvoiceScheduleItem = {
3191
+ /**
3192
+ * Amount, in cents.
3193
+ */
3194
+ amount: number;
3195
+ /**
3196
+ * Describes invoice item intent.
3197
+ */
3198
+ description: string;
3199
+ };
3025
3200
  /**
3026
3201
  * ForbiddenResponse
3027
3202
  *
@@ -3181,6 +3356,40 @@ type CreateContractDocumentResponse = {
3181
3356
  contract_document: ContractDocument;
3182
3357
  };
3183
3358
  };
3359
+ /**
3360
+ * ContractorInvoiceScheduleCreateResponseSuccess
3361
+ *
3362
+ * Set of invoice schedule attributes that were successfully created.
3363
+ */
3364
+ type ContractorInvoiceScheduleCreateResponseSuccess = {
3365
+ currency: CurrencyCode;
3366
+ /**
3367
+ * Employment identifier
3368
+ */
3369
+ employment_id: string;
3370
+ id: UuidSlug;
3371
+ /**
3372
+ * List of invoice items that composes the overall invoice amount.
3373
+ */
3374
+ items: Array<ContractorInvoiceScheduleItem>;
3375
+ /**
3376
+ * Custom defined note.
3377
+ */
3378
+ note?: string;
3379
+ /**
3380
+ * Count of invoices that should be generated during schedule lifetime.
3381
+ */
3382
+ nr_occurrences?: number;
3383
+ /**
3384
+ * Invoice identifier.
3385
+ */
3386
+ number?: string;
3387
+ periodicity: ContractorInvoiceSchedulePeriodicity;
3388
+ /**
3389
+ * Date of the first contractor invoice generation.
3390
+ */
3391
+ start_date: string;
3392
+ };
3184
3393
  type PostV1CostCalculatorEstimationErrors = {
3185
3394
  /**
3186
3395
  * Not Found
@@ -3229,6 +3438,26 @@ type GetV1EmploymentsEmploymentIdResponses = {
3229
3438
  200: EmploymentShowResponse;
3230
3439
  };
3231
3440
  type GetV1EmploymentsEmploymentIdResponse = GetV1EmploymentsEmploymentIdResponses[keyof GetV1EmploymentsEmploymentIdResponses];
3441
+ type PostV1EmploymentsEmploymentIdContractOriginData = {
3442
+ /**
3443
+ * Contract origin parameters
3444
+ */
3445
+ body: {
3446
+ contract_origin: 'remote_contract' | 'custom_remote_contract' | 'provided_by_customer';
3447
+ /**
3448
+ * Required when contract_origin is remote_contract or custom_remote_contract, ignored when provided_by_customer
3449
+ */
3450
+ template_type: 'contractor_agreement' | 'contractor_services_agreement' | 'contractor_statement_of_work' | 'custom_contractor_agreement' | 'custom_contractor_agreement_v2';
3451
+ };
3452
+ path: {
3453
+ /**
3454
+ * Employment ID
3455
+ */
3456
+ employment_id: string;
3457
+ };
3458
+ query?: never;
3459
+ url: '/v1/employments/{employment_id}/contract-origin';
3460
+ };
3232
3461
  type PostV1ContractAmendmentsAutomatableErrors = {
3233
3462
  /**
3234
3463
  * Unauthorized
@@ -3245,4 +3474,4 @@ type PostV1ContractAmendmentsAutomatableErrors = {
3245
3474
  };
3246
3475
  type PostV1ContractAmendmentsAutomatableError = PostV1ContractAmendmentsAutomatableErrors[keyof PostV1ContractAmendmentsAutomatableErrors];
3247
3476
 
3248
- export type { Step as $, UploadFileResponse as A, BadRequestResponse as B, ContractAmendmentAutomatableResponse as C, FileParams as D, Employment as E, ForbiddenResponse as F, SignContractDocument as G, ContractorSubscriptionsSummary as H, ManageContractorPlusSubscriptionOperationsParams as I, CreateContractDocumentResponse as J, CreateContractDocument as K, Country as L, MinimalRegion as M, NotFoundResponse as N, OffboardingResponse as O, PreOnboardingRequirement as P, DateTimeIso8601 as Q, RequestError as R, SuccessResponse as S, TooManyRequestsResponse as T, UnprocessableEntityResponse as U, ValidationError as V, ContractDocumentItem as W, EligibilityQuestionnaireResponse as X, ConflictErrorResponse as Y, SubmitEligibilityQuestionnaireRequest as Z, CompanyAction as _, UnauthorizedResponse as a, SubStep as a0, ListTimeoffResponse as a1, TimeoffStatus as a2, TimeoffType as a3, ListLeavePoliciesSummaryResponse as a4, CreateOffboardingParams as a5, PayrollCalendarEor as a6, MagicLinkResponse as a7, MagicLinkParams as a8, GetV1EmploymentsEmploymentIdResponse as a9, RiskReserveProofOfPaymentResponse as aa, Currency as ab, Company as ac, HelpCenterArticle as ad, EmploymentCreateParams as ae, EmploymentFullParams as af, EmploymentEngagementAgreementDetailsParams as ag, UnifiedEmploymentUpsertBenefitOffersRequest as ah, ConvertCurrencyResponse as ai, ConvertCurrencyParams as aj, CreateContractEligibilityParams as ak, CreatePreOnboardingDocumentResponse as al, PostV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirementSlugDocumentsData as am, CreatePreOnboardingAcknowledgementResponse as an, ContractAmendmentResponse as b, PostV1ContractAmendmentsError as c, PostV1ContractAmendmentsAutomatableError as d, EmploymentCreationResponse as e, EmploymentResponse as f, Signatory as g, ContractorContractDocumentStatus as h, CompanyLegalEntity as i, CostCalculatorEstimateResponse as j, CostCalculatorEstimatePdfResponse as k, CostCalculatorEstimateParams as l, CostCalculatorEstimateCsvResponse as m, MinimalCountry as n, EmploymentTermType as o, CostCalculatorEmployment as p, PostV1CostCalculatorEstimationError as q, CompanyCreationResponse as r, CompanyCreationConflictErrorResponse as s, CreateCompanyParams as t, CompanyResponse as u, UpdateCompanyParams as v, ConflictResponse as w, File as x, EmploymentDetailsOnlyResponse as y, TerminationDetailsParams as z };
3477
+ export type { MagicLinkParams as $, File as A, BadRequestResponse as B, ContractAmendmentAutomatableResponse as C, EmploymentDetailsOnlyResponse as D, Employment as E, ForbiddenResponse as F, TerminationDetailsParams as G, Step as H, SubStep as I, TimeoffStatus as J, TimeoffType as K, ListTimeoffResponse as L, MinimalRegion as M, NotFoundResponse as N, OffboardingResponse as O, PreOnboardingRequirement as P, ListLeavePoliciesSummaryResponse as Q, RequestError as R, SuccessResponse as S, TooManyRequestsResponse as T, UnprocessableEntityResponse as U, ValidationError as V, CreateOffboardingParams as W, PayrollCalendarEor as X, CreateContractDocumentResponse as Y, SignContractDocument as Z, MagicLinkResponse as _, UnauthorizedResponse as a, GetV1EmploymentsEmploymentIdResponse as a0, RiskReserveProofOfPaymentResponse as a1, Currency as a2, Company as a3, HelpCenterArticle as a4, UploadFileResponse as a5, FileParams as a6, ContractorSubscriptionsSummary as a7, ManageContractorPlusSubscriptionOperationsParams as a8, CreateContractDocument as a9, Country as aa, DateTimeIso8601 as ab, ContractDocumentItem as ac, EligibilityQuestionnaireResponse as ad, ConflictErrorResponse as ae, SubmitEligibilityQuestionnaireRequest as af, PostV1EmploymentsEmploymentIdContractOriginData as ag, ListContractorInvoiceSchedulesResponse as ah, ContractorInvoiceSchedule as ai, CompanyAction as aj, EmploymentCreateParams as ak, EmploymentFullParams as al, EmploymentEngagementAgreementDetailsParams as am, UnifiedEmploymentUpsertBenefitOffersRequest as an, ConvertCurrencyResponse as ao, ConvertCurrencyParams as ap, CreateContractEligibilityParams as aq, CreatePreOnboardingDocumentResponse as ar, PostV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirementSlugDocumentsData as as, CreatePreOnboardingAcknowledgementResponse as at, ContractAmendmentResponse as b, PostV1ContractAmendmentsError as c, PostV1ContractAmendmentsAutomatableError as d, EmploymentCreationResponse as e, ContractorInvoiceScheduleResponse as f, EmploymentResponse as g, ContractorInvoiceScheduleCreateResponseFailure as h, ContractorInvoiceScheduleCreateResponseSuccess as i, Signatory as j, ContractorContractDocumentStatus as k, CompanyLegalEntity as l, CostCalculatorEstimateResponse as m, CostCalculatorEstimatePdfResponse as n, CostCalculatorEstimateParams as o, CostCalculatorEstimateCsvResponse as p, MinimalCountry as q, EmploymentTermType as r, CostCalculatorEmployment as s, PostV1CostCalculatorEstimationError as t, CompanyCreationResponse as u, CompanyCreationConflictErrorResponse as v, CreateCompanyParams as w, CompanyResponse as x, UpdateCompanyParams as y, ConflictResponse as z };
@@ -1,6 +1,6 @@
1
1
  import { ClassValue } from 'clsx';
2
2
  import { ValidationError } from 'yup';
3
- import './remoteFlows-Do_hGrKi.js';
3
+ import './remoteFlows-B_JbhzWp.js';
4
4
 
5
5
  declare function cn(...inputs: ClassValue[]): string;
6
6
  type YupError = Pick<ValidationError, 'type' | 'errors'> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remoteoss/remote-flows",
3
- "version": "1.48.0",
3
+ "version": "1.49.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/remoteoss/remote-flows.git"
@@ -1,2 +0,0 @@
1
- import{a}from"./chunk-7PWXGPXZ.js";import"./chunk-KBYI7L5E.js";import"./chunk-JJUOWS3K.js";import"./chunk-3OLZMSGR.js";import"./chunk-AUPAAQUT.js";import"./chunk-XI55YG73.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";export{a as CheckboxFieldDefault};
2
- //# sourceMappingURL=CheckboxFieldDefault-6B33T4XR.js.map
@@ -1,2 +0,0 @@
1
- import{a}from"./chunk-5YOH2HJ5.js";import"./chunk-HDFAFTHC.js";import"./chunk-B3MEKP45.js";import"./chunk-KBYI7L5E.js";import"./chunk-XNV6ZN7J.js";import"./chunk-D7MYOH3P.js";import"./chunk-LKHRHBFP.js";import"./chunk-3OLZMSGR.js";import"./chunk-AUPAAQUT.js";import"./chunk-XI55YG73.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";export{a as CountryFieldDefault};
2
- //# sourceMappingURL=CountryFieldDefault-TVGOKASR.js.map
@@ -1,2 +0,0 @@
1
- import{a}from"./chunk-X536XUYT.js";import"./chunk-B3MEKP45.js";import"./chunk-KBYI7L5E.js";import"./chunk-LKHRHBFP.js";import"./chunk-3OLZMSGR.js";import"./chunk-AUPAAQUT.js";import"./chunk-XI55YG73.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";export{a as DatePickerFieldDefault};
2
- //# sourceMappingURL=DatePickerFieldDefault-TH427OH5.js.map
@@ -1,2 +0,0 @@
1
- import{a}from"./chunk-6VBUWE25.js";import"./chunk-KBYI7L5E.js";import"./chunk-2HQDOWW2.js";import"./chunk-LKHRHBFP.js";import"./chunk-3OLZMSGR.js";import"./chunk-AUPAAQUT.js";import"./chunk-XI55YG73.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";export{a as FileUploadFieldDefault};
2
- //# sourceMappingURL=FileUploadFieldDefault-WB7ITN3G.js.map
@@ -1,2 +0,0 @@
1
- import{a}from"./chunk-GTZ35W3E.js";import"./chunk-KBYI7L5E.js";import"./chunk-3OLZMSGR.js";import"./chunk-AUPAAQUT.js";import"./chunk-XI55YG73.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";export{a as ForcedValueFieldDefault};
2
- //# sourceMappingURL=ForcedValueFieldDefault-QH76S3ZL.js.map
@@ -1,2 +0,0 @@
1
- import{a}from"./chunk-Q2JINYSB.js";import"./chunk-HDFAFTHC.js";import"./chunk-B3MEKP45.js";import"./chunk-KBYI7L5E.js";import"./chunk-XNV6ZN7J.js";import"./chunk-D7MYOH3P.js";import"./chunk-LKHRHBFP.js";import"./chunk-3OLZMSGR.js";import"./chunk-AUPAAQUT.js";import"./chunk-XI55YG73.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";export{a as MultiSelectFieldDefault};
2
- //# sourceMappingURL=MultiSelectFieldDefault-T26SUE3J.js.map
@@ -1,2 +0,0 @@
1
- import{a}from"./chunk-HCL7WLOR.js";import"./chunk-KBYI7L5E.js";import"./chunk-SXW4FROO.js";import"./chunk-D7MYOH3P.js";import"./chunk-3OLZMSGR.js";import"./chunk-AUPAAQUT.js";import"./chunk-XI55YG73.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";export{a as RadioGroupFieldDefault};
2
- //# sourceMappingURL=RadioGroupFieldDefault-ZNWHLCZP.js.map
@@ -1,2 +0,0 @@
1
- import{a}from"./chunk-TFBJMECV.js";import"./chunk-KBYI7L5E.js";import"./chunk-QRSWXKRV.js";import"./chunk-3OLZMSGR.js";import"./chunk-AUPAAQUT.js";import"./chunk-XI55YG73.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";export{a as SelectFieldDefault};
2
- //# sourceMappingURL=SelectFieldDefault-LFXATOYZ.js.map
@@ -1,2 +0,0 @@
1
- import{a}from"./chunk-VWWVLK5C.js";import"./chunk-KBYI7L5E.js";import"./chunk-2QVO3BVI.js";import"./chunk-QRSWXKRV.js";import"./chunk-3OLZMSGR.js";import"./chunk-AUPAAQUT.js";import"./chunk-XI55YG73.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";export{a as TelFieldDefault};
2
- //# sourceMappingURL=TelFieldDefault-4FJVSZRV.js.map
@@ -1,2 +0,0 @@
1
- import{a}from"./chunk-QA6YA4OB.js";import"./chunk-KBYI7L5E.js";import"./chunk-3OLZMSGR.js";import"./chunk-AUPAAQUT.js";import"./chunk-XI55YG73.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";export{a as TextAreaFieldDefault};
2
- //# sourceMappingURL=TextAreaFieldDefault-QRU4Z4V2.js.map
@@ -1,2 +0,0 @@
1
- import{a}from"./chunk-7YACR6OA.js";import"./chunk-KBYI7L5E.js";import"./chunk-2QVO3BVI.js";import"./chunk-3OLZMSGR.js";import"./chunk-AUPAAQUT.js";import"./chunk-XI55YG73.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";export{a as TextFieldDefault};
2
- //# sourceMappingURL=TextFieldDefault-LFKGGEU3.js.map
@@ -1,2 +0,0 @@
1
- import{a}from"./chunk-5BJXFWKN.js";import"./chunk-KBYI7L5E.js";import"./chunk-2QVO3BVI.js";import"./chunk-3OLZMSGR.js";import"./chunk-AUPAAQUT.js";import"./chunk-XI55YG73.js";import"./chunk-C4HFMTSB.js";import"./chunk-H2O4CVKF.js";import"./chunk-P37U34EQ.js";export{a as TimeFieldDefault};
2
- //# sourceMappingURL=TimeFieldDefault-RU75LZ2T.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/ui/file-uploader.tsx"],"sourcesContent":["import React, { useState, useRef, useEffect } from 'react';\nimport { Button } from '@/src/components/ui/button';\nimport { Upload, X } from 'lucide-react';\nimport { cn } from '@/src/lib/utils';\n\n// Convert accept string to readable format (e.g., \".pdf, .doc\" -> \"PDF, DOC\")\nconst getAcceptedFormats = (accept?: string) => {\n if (!accept) return null;\n return accept\n .split(',')\n .map((ext) => ext.trim().toUpperCase())\n .join(', ');\n};\n\ntype FileUploaderProps = {\n onChange: (files: File[]) => void;\n className?: string;\n multiple?: boolean;\n accept?: string;\n files?: File[];\n id?: string;\n};\n\nexport function FileUploader({\n onChange,\n className,\n multiple,\n accept,\n files: externalFiles,\n id,\n}: FileUploaderProps) {\n const syncedRef = useRef<File[] | undefined>(undefined);\n\n const [files, setFiles] = useState<File[]>(externalFiles || []);\n const inputRef = useRef<HTMLInputElement>(null);\n\n useEffect(() => {\n if (externalFiles && externalFiles !== syncedRef.current) {\n syncedRef.current = externalFiles;\n // effect is okay here, we just track with a ref to avoid unnecessary re-renders\n // oxlint-disable-next-line react-hooks/set-state-in-effect\n setFiles(externalFiles);\n }\n }, [externalFiles]);\n\n const handleClick = (e: React.MouseEvent<HTMLButtonElement>) => {\n e.preventDefault();\n inputRef.current?.click();\n };\n\n const handleChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n if (e.target.files && e.target.files.length > 0) {\n const newFiles = Array.from(e.target.files);\n // `multiple` unset keeps the historical accumulate-across-selections behavior. Only an\n // explicit `multiple={false}` (as opposed to just not passing the prop) opts a field out\n // of that and replaces its selection instead — see the discussion on why this can't be\n // `!multiple` without reverting the field's own past \"preserve existing files\" fix.\n const updatedFiles =\n multiple === false ? newFiles : [...files, ...newFiles];\n\n setFiles(updatedFiles);\n onChange(updatedFiles);\n }\n };\n\n const onRemoveFile = (file: File) => {\n setFiles((prevFiles) => prevFiles.filter((f) => f.name !== file.name));\n onChange(files.filter((f) => f.name !== file.name));\n };\n\n const acceptedFormats = getAcceptedFormats(accept);\n\n return (\n <div className={cn('flex flex-col items-start gap-4', className)}>\n <input\n type='file'\n ref={inputRef}\n id={id}\n onChange={handleChange}\n className='hidden'\n aria-label='File upload'\n multiple={multiple}\n accept={accept}\n />\n <Button type='button' onClick={handleClick} className='gap-2'>\n <Upload className='h-4 w-4' />\n Choose File\n </Button>\n {acceptedFormats && (\n <div className='text-sm text-gray-600'>\n Accepted formats:{' '}\n <span className='font-medium'>{acceptedFormats}</span>\n </div>\n )}\n {files.length === 0 && (\n <div className='text-sm'>\n {!multiple ? (\n <span className='font-medium'>No file selected.</span>\n ) : (\n <span className='font-medium'>\n No files selected. You can select multiple files\n </span>\n )}\n </div>\n )}\n {files.length > 0 &&\n files.map((file, index) => (\n <div key={index} className='text-sm flex items-center gap-2'>\n Selected file: <span className='font-medium'>{file.name}</span>\n {'size' in file && ` (${Math.round(file.size / 1024)} KB)`}\n <Button\n type='button'\n variant='ghost'\n onClick={() => onRemoveFile(file)}\n >\n <X />\n </Button>\n </div>\n ))}\n </div>\n );\n}\n"],"mappings":"mHAAA,OAAgB,YAAAA,EAAU,UAAAC,EAAQ,aAAAC,MAAiB,QAEnD,OAAS,UAAAC,EAAQ,KAAAC,MAAS,eAwEpB,cAAAC,EAUA,QAAAC,MAVA,oBApEN,IAAMC,EAAqBC,EAACC,GACrBA,EACEA,EACJ,MAAM,GAAG,EACT,IAAKC,GAAQA,EAAI,KAAK,EAAE,YAAY,CAAC,EACrC,KAAK,IAAI,EAJQ,KADK,sBAiBpB,SAASC,EAAa,CAC3B,SAAAC,EACA,UAAAC,EACA,SAAAC,EACA,OAAAL,EACA,MAAOM,EACP,GAAAC,CACF,EAAsB,CACpB,IAAMC,EAAYC,EAA2B,MAAS,EAEhD,CAACC,EAAOC,CAAQ,EAAIC,EAAiBN,GAAiB,CAAC,CAAC,EACxDO,EAAWJ,EAAyB,IAAI,EAE9CK,EAAU,IAAM,CACVR,GAAiBA,IAAkBE,EAAU,UAC/CA,EAAU,QAAUF,EAGpBK,EAASL,CAAa,EAE1B,EAAG,CAACA,CAAa,CAAC,EAElB,IAAMS,EAAchB,EAAC,GAA2C,CAC9D,EAAE,eAAe,EACjBc,EAAS,SAAS,MAAM,CAC1B,EAHoB,eAKdG,EAAejB,EAAC,GAA2C,CAC/D,GAAI,EAAE,OAAO,OAAS,EAAE,OAAO,MAAM,OAAS,EAAG,CAC/C,IAAMkB,EAAW,MAAM,KAAK,EAAE,OAAO,KAAK,EAKpCC,EACJb,IAAa,GAAQY,EAAW,CAAC,GAAGP,EAAO,GAAGO,CAAQ,EAExDN,EAASO,CAAY,EACrBf,EAASe,CAAY,CACvB,CACF,EAbqB,gBAefC,EAAepB,EAACqB,GAAe,CACnCT,EAAUU,GAAcA,EAAU,OAAQC,GAAMA,EAAE,OAASF,EAAK,IAAI,CAAC,EACrEjB,EAASO,EAAM,OAAQY,GAAMA,EAAE,OAASF,EAAK,IAAI,CAAC,CACpD,EAHqB,gBAKfG,EAAkBzB,EAAmBE,CAAM,EAEjD,OACEH,EAAC,OAAI,UAAW2B,EAAG,kCAAmCpB,CAAS,EAC7D,UAAAR,EAAC,SACC,KAAK,OACL,IAAKiB,EACL,GAAIN,EACJ,SAAUS,EACV,UAAU,SACV,aAAW,cACX,SAAUX,EACV,OAAQL,EACV,EACAH,EAAC4B,EAAA,CAAO,KAAK,SAAS,QAASV,EAAa,UAAU,QACpD,UAAAnB,EAAC8B,EAAA,CAAO,UAAU,UAAU,EAAE,eAEhC,EACCH,GACC1B,EAAC,OAAI,UAAU,wBAAwB,8BACnB,IAClBD,EAAC,QAAK,UAAU,cAAe,SAAA2B,EAAgB,GACjD,EAEDb,EAAM,SAAW,GAChBd,EAAC,OAAI,UAAU,UACZ,SAACS,EAGAT,EAAC,QAAK,UAAU,cAAc,4DAE9B,EAJAA,EAAC,QAAK,UAAU,cAAc,6BAAiB,EAMnD,EAEDc,EAAM,OAAS,GACdA,EAAM,IAAI,CAACU,EAAMO,IACf9B,EAAC,OAAgB,UAAU,kCAAkC,4BAC5CD,EAAC,QAAK,UAAU,cAAe,SAAAwB,EAAK,KAAK,EACvD,SAAUA,GAAQ,KAAK,KAAK,MAAMA,EAAK,KAAO,IAAI,CAAC,OACpDxB,EAAC6B,EAAA,CACC,KAAK,SACL,QAAQ,QACR,QAAS,IAAMN,EAAaC,CAAI,EAEhC,SAAAxB,EAACgC,EAAA,EAAE,EACL,IATQD,CAUV,CACD,GACL,CAEJ,CAlGgB5B,EAAAG,EAAA","names":["useState","useRef","useEffect","Upload","X","jsx","jsxs","getAcceptedFormats","__name","accept","ext","FileUploader","onChange","className","multiple","externalFiles","id","syncedRef","useRef","files","setFiles","useState","inputRef","useEffect","handleClick","handleChange","newFiles","updatedFiles","onRemoveFile","file","prevFiles","f","acceptedFormats","cn","Button","Upload","index","X"]}
@@ -1,2 +0,0 @@
1
- import{l as b}from"./chunk-XI55YG73.js";import{n as m,s as u}from"./chunk-C4HFMTSB.js";import{b as g,e as f}from"./chunk-H2O4CVKF.js";import{a as e}from"./chunk-P37U34EQ.js";var L={disclaimerCostCalculator:4668194326797,engagingContractors:43161434169613,employmentAgreements:39266991211149,employeeOnboardingTimeline:4411262104589,extraPayments:4466822781709,germanyLaborLeasing:43002165606541,internationalPricing:4410698586893,pricingPlanOptions:43161720465421,ir35Status:42810224523917,remoteFxRate:33271144977421,terminationEmployeeCommunication:4411585179661,terminationNoticePeriods:5831900985613,involuntaryOffboardingServiceCharge:4406932229133,reconciliationInvoice:17604014808589},l=e(r=>`https://support.remote.com/hc/en-us/articles/${r}`,"buildZendeskURL");import{useQuery as w}from"@tanstack/react-query";var k=e((r,t)=>{let{client:i}=f();return w({queryKey:["zendesk-article",r],queryFn:e(async()=>{let n=await b({client:i,path:{id:Number(r)}});if(n.error)throw new Error(n.error.message||"Failed to fetch article");return n},"queryFn"),select:e(n=>{let o=n.data?.data.help_center_article;return o&&{...o,body:u(o.body||"")}},"select"),retry:!1,...t})},"useZendeskArticle");import{jsx as R}from"react/jsx-runtime";var C=e(({Trigger:r,zendeskId:t,open:i,onClose:n})=>{let{components:o}=g(),c=l(t),s=e(()=>{n?.()},"handleClose"),{data:a,isLoading:Z,error:h}=k(t,{enabled:i}),p=o?.zendeskDrawer;if(!p)throw new Error("Zendesk drawer component not found");return R(p,{open:i,onClose:s,data:a,isLoading:Z,error:h,zendeskURL:c,Trigger:r})},"ZendeskDrawer");import{useState as x}from"react";import{jsx as d}from"react/jsx-runtime";var y="RemoteFlows__ZendeskTriggerButton text-blue-500 hover:underline inline-block text-xs bg-transparent border-none cursor-pointer p-0";function Q({zendeskId:r,className:t,onClick:i,children:n,external:o=!1}){let[c,s]=x(!1),a=e(()=>{o||s(!0),i?.(r)},"handleClick");return o?d("a",{href:l(r),target:"_blank",rel:"noopener noreferrer",onClick:a,className:m(y,t),children:n}):d(C,{zendeskId:r,open:c,onClose:()=>s(!1),Trigger:d("button",{onClick:a,className:m(y,t),children:n})})}e(Q,"ZendeskTriggerButton");export{L as a,l as b,Q as c};
2
- //# sourceMappingURL=chunk-3OLZMSGR.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/shared/zendesk-drawer/utils.ts","../src/components/shared/zendesk-drawer/api.ts","../src/components/shared/zendesk-drawer/ZendeskDrawer.tsx","../src/components/shared/zendesk-drawer/ZendeskTriggerButton.tsx"],"sourcesContent":["export const zendeskArticles = {\n /**\n * Disclaimer for Cost Calculator\n * Access: Private (Need Remote account to access)\n * https://support.remote.com/hc/en-us/articles/4668194326797\n */\n disclaimerCostCalculator: 4668194326797,\n /**\n * Guide for engaging contractors\n * Access: Private (Need Remote account to access)\n * https://support.remote.com/hc/en-us/articles/43161434169613\n */\n engagingContractors: 43161434169613,\n /**\n * Employment Agreements\n * Access: Public (Need Remote account to access)\n * https://support.remote.com/hc/en-us/articles/39266991211149\n */\n employmentAgreements: 39266991211149,\n /**\n * Employee Onboarding Timeline\n * Access: Private (Need Remote account to access)\n * https://support.remote.com/hc/en-us/articles/4411262104589\n */\n employeeOnboardingTimeline: 4411262104589,\n /**\n * Extra Payments\n * Access: Public (Everyone can access)\n * https://support.remote.com/hc/en-us/articles/4466822781709\n */\n extraPayments: 4466822781709,\n /**\n * Germany Labor Leasing\n * Access: Private (Need Remote account to access)\n * https://support.remote.com/hc/en-us/articles/43002165606541\n */\n germanyLaborLeasing: 43002165606541,\n /**\n * International Pricing\n * Access: Public (Everyone can access)\n * https://support.remote.com/hc/en-us/articles/4410698586893\n */\n internationalPricing: 4410698586893,\n /**\n * Pricing Plan Options\n * Access: Private (Need Remote account to access)\n * https://support.remote.com/hc/en-us/articles/43161720465421\n */\n pricingPlanOptions: 43161720465421,\n /**\n * IR35 Status\n * Access: Private (Need Remote account to access)\n * https://support.remote.com/hc/en-us/articles/42810224523917\n */\n ir35Status: 42810224523917,\n /**\n * Remote FX Rate\n * Access: Public (Everyone can access)\n * https://support.remote.com/hc/en-us/articles/33271144977421\n */\n remoteFxRate: 33271144977421,\n /**\n * Employee Communication for Terminations\n * Access: Public (Everyone can access)\n * https://support.remote.com/hc/en-us/articles/4411585179661\n */\n terminationEmployeeCommunication: 4411585179661,\n /**\n * Notice Period for Terminations by Country\n * Access: Public (Everyone can access)\n * https://support.remote.com/hc/en-us/articles/5831900985613\n */\n terminationNoticePeriods: 5831900985613,\n /**\n * Involuntary Offboarding Service Charge\n * Access: Private (Need Remote account to access)\n * https://support.remote.com/hc/en-us/articles/4406932229133\n */\n involuntaryOffboardingServiceCharge: 4406932229133,\n /**\n * Reconciliation Invoice\n * Access: Public (Everyone can access)\n * https://support.remote.com/hc/en-us/articles/17604014808589\n */\n reconciliationInvoice: 17604014808589,\n};\n\nexport const buildZendeskURL = (zendeskId: number) => {\n return `https://support.remote.com/hc/en-us/articles/${zendeskId}`;\n};\n","import { getV1HelpCenterArticlesId } from '@/src/client';\nimport { useClient } from '@/src/context';\nimport { sanitizeHtmlWithImageErrorHandling } from '@/src/lib/utils';\nimport { Client } from '@/src/client/client';\nimport { useQuery } from '@tanstack/react-query';\n\nexport const useZendeskArticle = (\n zendeskId: number | null,\n queryOptions?: { enabled?: boolean },\n) => {\n const { client } = useClient();\n return useQuery({\n queryKey: ['zendesk-article', zendeskId],\n queryFn: async () => {\n const response = await getV1HelpCenterArticlesId({\n client: client as Client,\n path: {\n id: Number(zendeskId),\n },\n });\n\n if (response.error) {\n throw new Error(response.error.message || 'Failed to fetch article');\n }\n\n return response;\n },\n select: (data) => {\n const article = data.data?.data.help_center_article;\n if (article) {\n return {\n ...article,\n body: sanitizeHtmlWithImageErrorHandling(article.body || ''),\n };\n }\n return article;\n },\n retry: false,\n ...queryOptions,\n });\n};\n","import { useZendeskArticle } from '@/src/components/shared/zendesk-drawer/api';\nimport { useFormFields } from '@/src/context';\nimport { buildZendeskURL } from '@/src/components/shared/zendesk-drawer/utils';\n\nexport type ZendeskDrawerProps = {\n Trigger: React.ReactElement;\n zendeskId: number;\n open: boolean;\n onClose: () => void;\n};\n\nexport const ZendeskDrawer = ({\n Trigger,\n zendeskId,\n open,\n onClose,\n}: ZendeskDrawerProps) => {\n const { components } = useFormFields();\n const zendeskURL = buildZendeskURL(zendeskId);\n\n const handleClose = () => {\n onClose?.();\n };\n\n const { data, isLoading, error } = useZendeskArticle(zendeskId, {\n enabled: open,\n });\n\n const CustomZendeskDrawer = components?.zendeskDrawer;\n\n if (!CustomZendeskDrawer) {\n throw new Error(`Zendesk drawer component not found`);\n }\n\n return (\n <CustomZendeskDrawer\n open={open}\n onClose={handleClose}\n data={data}\n isLoading={isLoading}\n error={error}\n zendeskURL={zendeskURL}\n Trigger={Trigger}\n />\n );\n};\n","import { cn } from '@/src/lib/utils';\nimport { ZendeskDrawer } from './ZendeskDrawer';\nimport { buildZendeskURL } from './utils';\nimport { useState } from 'react';\n\ninterface ZendeskTriggerButtonProps {\n /**\n * The Zendesk ID for the help article\n */\n zendeskId: number;\n /**\n * The class name for the button\n */\n className?: string;\n /**\n * The callback function to be called when the button is clicked\n */\n onClick?: (zendeskId: number) => void;\n /**\n * The children to be rendered inside the button\n */\n children?: React.ReactNode;\n /**\n * Whether to open the help article in a new tab\n */\n external?: boolean;\n}\n\nconst baseClassName =\n 'RemoteFlows__ZendeskTriggerButton text-blue-500 hover:underline inline-block text-xs bg-transparent border-none cursor-pointer p-0';\n\nexport function ZendeskTriggerButton({\n zendeskId,\n className,\n onClick,\n children,\n external = false,\n}: ZendeskTriggerButtonProps) {\n const [isOpen, setIsOpen] = useState(false);\n\n const handleClick = () => {\n if (!external) {\n setIsOpen(true);\n }\n onClick?.(zendeskId);\n };\n\n if (external) {\n return (\n <a\n href={buildZendeskURL(zendeskId)}\n target='_blank'\n rel='noopener noreferrer'\n onClick={handleClick}\n className={cn(baseClassName, className)}\n >\n {children}\n </a>\n );\n }\n\n return (\n <ZendeskDrawer\n zendeskId={zendeskId}\n open={isOpen}\n onClose={() => setIsOpen(false)}\n Trigger={\n <button onClick={handleClick} className={cn(baseClassName, className)}>\n {children}\n </button>\n }\n />\n );\n}\n"],"mappings":"8KAAO,IAAMA,EAAkB,CAM7B,yBAA0B,cAM1B,oBAAqB,eAMrB,qBAAsB,eAMtB,2BAA4B,cAM5B,cAAe,cAMf,oBAAqB,eAMrB,qBAAsB,cAMtB,mBAAoB,eAMpB,WAAY,eAMZ,aAAc,eAMd,iCAAkC,cAMlC,yBAA0B,cAM1B,oCAAqC,cAMrC,sBAAuB,cACzB,EAEaC,EAAkBC,EAACC,GACvB,gDAAgDA,CAAS,GADnC,mBCnF/B,OAAS,YAAAC,MAAgB,wBAElB,IAAMC,EAAoBC,EAAA,CAC/BC,EACAC,IACG,CACH,GAAM,CAAE,OAAAC,CAAO,EAAIC,EAAU,EAC7B,OAAOC,EAAS,CACd,SAAU,CAAC,kBAAmBJ,CAAS,EACvC,QAASD,EAAA,SAAY,CACnB,IAAMM,EAAW,MAAMC,EAA0B,CAC/C,OAAQJ,EACR,KAAM,CACJ,GAAI,OAAOF,CAAS,CACtB,CACF,CAAC,EAED,GAAIK,EAAS,MACX,MAAM,IAAI,MAAMA,EAAS,MAAM,SAAW,yBAAyB,EAGrE,OAAOA,CACT,EAbS,WAcT,OAAQN,EAACQ,GAAS,CAChB,IAAMC,EAAUD,EAAK,MAAM,KAAK,oBAChC,OAAIC,GACK,CACL,GAAGA,EACH,KAAMC,EAAmCD,EAAQ,MAAQ,EAAE,CAC7D,CAGJ,EATQ,UAUR,MAAO,GACP,GAAGP,CACL,CAAC,CACH,EAlCiC,qBC6B7B,cAAAS,MAAA,oBAxBG,IAAMC,EAAgBC,EAAA,CAAC,CAC5B,QAAAC,EACA,UAAAC,EACA,KAAAC,EACA,QAAAC,CACF,IAA0B,CACxB,GAAM,CAAE,WAAAC,CAAW,EAAIC,EAAc,EAC/BC,EAAaC,EAAgBN,CAAS,EAEtCO,EAAcT,EAAA,IAAM,CACxBI,IAAU,CACZ,EAFoB,eAId,CAAE,KAAAM,EAAM,UAAAC,EAAW,MAAAC,CAAM,EAAIC,EAAkBX,EAAW,CAC9D,QAASC,CACX,CAAC,EAEKW,EAAsBT,GAAY,cAExC,GAAI,CAACS,EACH,MAAM,IAAI,MAAM,oCAAoC,EAGtD,OACEhB,EAACgB,EAAA,CACC,KAAMX,EACN,QAASM,EACT,KAAMC,EACN,UAAWC,EACX,MAAOC,EACP,WAAYL,EACZ,QAASN,EACX,CAEJ,EAlC6B,iBCR7B,OAAS,YAAAc,MAAgB,QA8CnB,cAAAC,MAAA,oBArBN,IAAMC,EACJ,qIAEK,SAASC,EAAqB,CACnC,UAAAC,EACA,UAAAC,EACA,QAAAC,EACA,SAAAC,EACA,SAAAC,EAAW,EACb,EAA8B,CAC5B,GAAM,CAACC,EAAQC,CAAS,EAAIC,EAAS,EAAK,EAEpCC,EAAcC,EAAA,IAAM,CACnBL,GACHE,EAAU,EAAI,EAEhBJ,IAAUF,CAAS,CACrB,EALoB,eAOpB,OAAII,EAEAP,EAAC,KACC,KAAMa,EAAgBV,CAAS,EAC/B,OAAO,SACP,IAAI,sBACJ,QAASQ,EACT,UAAWG,EAAGb,EAAeG,CAAS,EAErC,SAAAE,EACH,EAKFN,EAACe,EAAA,CACC,UAAWZ,EACX,KAAMK,EACN,QAAS,IAAMC,EAAU,EAAK,EAC9B,QACET,EAAC,UAAO,QAASW,EAAa,UAAWG,EAAGb,EAAeG,CAAS,EACjE,SAAAE,EACH,EAEJ,CAEJ,CA1CgBM,EAAAV,EAAA","names":["zendeskArticles","buildZendeskURL","__name","zendeskId","useQuery","useZendeskArticle","__name","zendeskId","queryOptions","client","useClient","useQuery","response","getV1HelpCenterArticlesId","data","article","sanitizeHtmlWithImageErrorHandling","jsx","ZendeskDrawer","__name","Trigger","zendeskId","open","onClose","components","useFormFields","zendeskURL","buildZendeskURL","handleClose","data","isLoading","error","useZendeskArticle","CustomZendeskDrawer","useState","jsx","baseClassName","ZendeskTriggerButton","zendeskId","className","onClick","children","external","isOpen","setIsOpen","useState","handleClick","__name","buildZendeskURL","cn","ZendeskDrawer"]}
@@ -1,2 +0,0 @@
1
- import{a as B}from"./chunk-PVORGGT3.js";import{a as oe}from"./chunk-BUR3X6FL.js";import{b as te,c as ne,f as re}from"./chunk-4BHEQMZV.js";import{a as ee}from"./chunk-A7U3KJIP.js";import{c as O}from"./chunk-3OLZMSGR.js";import{c as g,i as x,m as j}from"./chunk-AUPAAQUT.js";import{l as X,m as Y,n as V,r as z}from"./chunk-C4HFMTSB.js";import{b as h,c as T}from"./chunk-H2O4CVKF.js";import{a as r}from"./chunk-P37U34EQ.js";import{Fragment as to,useEffect as no,useRef as Ve}from"react";import _ from"lodash.omit";import{jsx as ie}from"react/jsx-runtime";function le({description:e,label:o,name:t,minDate:n,maxDate:i,onChange:l,component:a,...m}){let{components:u}=h(),{control:c}=g(),f=T(),s;m.meta?.mot&&typeof m.meta.mot=="number"?s=X(m.meta.mot):typeof n=="string"&&(s=new Date(`${n}T00:00:00`));let F;return i&&(F=new Date(`${i}T23:59:59`)),ie(x,{control:c,name:t,render:({field:C,fieldState:S})=>{let p=a||u?.date;if(!p)throw new Error(`Date picker component not found for field ${t}`);let b={description:e,label:o,name:t,onChange:l,transformHtml:f,...s&&{minDate:s.toISOString()},...F&&{maxDate:F.toISOString()},...m};return ie(p,{field:{...C,onChange:r(y=>{C.onChange(y),l?.(y)},"onChange")},fieldState:S,fieldData:b})}})}r(le,"DatePickerField");import{jsx as se}from"react/jsx-runtime";var Le=r((e,o)=>{if(!o)return null;for(let t of e)if(t instanceof File&&t.size>o){let n=Math.round(o/1048576),i=Math.round(t.size/(1024*1024));return`File "${t.name}" exceeds maximum size of ${n}MB (file is ${i}MB)`}return null},"validateFileSize");function me({name:e,description:o,label:t,multiple:n,onChange:i,component:l,accept:a,maxSize:m,...u}){let{components:c}=h(),{control:f,setError:s,clearErrors:F}=g(),C=T(),S=r(async(p,b)=>{let y=Le(p,m);if(y){s(e,{message:y});return}F(e),b.onChange(p),i?.(p)},"handleOnChange");return se(x,{control:f,name:e,render:({field:p,fieldState:b})=>{let y=l||c.file;if(!y)throw new Error(`File upload component not found for field ${e}`);let P={name:e,description:o,label:t,multiple:n,accept:a,maxFileSize:m,transformHtml:C,...u};return se(y,{field:{...p,value:p.value,onChange:r(async w=>S(w,p),"onChange")},fieldState:b,fieldData:P})}})}r(me,"FileUploadField");import{jsx as ae}from"react/jsx-runtime";function J({component:e,onChange:o,...t}){let{components:n}=h(),{control:i}=g(),l=T();return ae(x,{control:i,name:t.name,render:({field:a,fieldState:m})=>{let u=e||n.number;if(!u)throw new Error(`Number component not found for field ${t.name}`);let c={onChange:o,transformHtml:l,...t};return ae(u,{field:{...a,onChange:r(f=>{a.onChange(f),o?.(f)},"onChange")},fieldState:m,fieldData:c})}})}r(J,"NumberField");import{jsx as de}from"react/jsx-runtime";function pe({name:e,defaultValue:o,description:t,label:n,options:i,onChange:l,component:a,...m}){let{components:u}=h(),{control:c}=g(),f=T();return de(x,{control:c,name:e,defaultValue:o,render:({field:s,fieldState:F})=>{let C=a||u?.radio;if(!C)throw new Error(`Radio group component not found for field ${e}`);let S={name:e,defaultValue:o,description:t,label:n,options:i,transformHtml:f,...m};return de(C,{field:{...s,onChange:r(p=>{s.onChange(p),l?.(p)},"onChange")},fieldState:F,fieldData:S})}})}r(pe,"RadioGroupField");import{jsx as ce}from"react/jsx-runtime";function ue({label:e,name:o,options:t,defaultValue:n,description:i,onChange:l,component:a,...m}){let{control:u}=g(),{components:c}=h(),f=T();return ce(x,{defaultValue:n,control:u,name:o,render:({field:s,fieldState:F})=>{let C=a||c?.select;if(!C)throw new Error(`Select component not found for field ${o}`);let S={label:e,name:o,options:t,defaultValue:n,description:i,onChange:l,transformHtml:f,...m};return ce(C,{field:{...s,onChange:r(p=>{let y=(Array.isArray(m.jsonType)?m.jsonType.includes("number"):m.jsonType==="number")?Number(p):p;s.onChange(y),l?.(y)},"onChange")},fieldState:F,fieldData:S})}})}r(ue,"SelectField");import{jsx as Fe}from"react/jsx-runtime";function fe({label:e,name:o,options:t,defaultValue:n,description:i,onChange:l,$meta:a,component:m,...u}){let{control:c}=g(),{components:f}=h(),s=T();return Fe(x,{defaultValue:n,control:c,name:o,render:({field:F,fieldState:C})=>{let S=m||f.countries;if(!S)throw new Error(`Country component not found for field ${o}`);let p={label:e,name:o,options:t,defaultValue:n,description:i,onChange:l,$meta:a,transformHtml:s,...u};return Fe(S,{field:{...F,onChange:r(b=>{F.onChange(b),l?.(b)},"onChange")},fieldState:C,fieldData:p})}})}r(fe,"CountryField");import{jsx as Ce}from"react/jsx-runtime";function ge({name:e,description:o,label:t,onChange:n,maxLength:i,component:l,...a}){let{components:m}=h(),{control:u}=g(),c=T();return Ce(x,{control:u,name:e,render:({field:f,fieldState:s})=>{let F=l||m.textarea;if(!F)throw new Error(`Text area component not found for field ${e}`);let C={name:e,description:o,label:t,maxLength:i,transformHtml:c,...a};return Ce(F,{field:{...f,onChange:r(S=>{f.onChange(S),n?.(S)},"onChange")},fieldState:s,fieldData:C})}})}r(ge,"TextAreaField");import{jsx as he}from"react/jsx-runtime";function Se({component:e,onChange:o,...t}){let{components:n}=h(),{control:i}=g(),l=T();return he(x,{control:i,name:t.name,render:({field:a,fieldState:m})=>{let u=e||n.email;if(!u)throw new Error(`Email component not found for field ${t.name}`);let c={onChange:o,transformHtml:l,...t};return he(u,{field:{...a,onChange:r(f=>{a.onChange(f),o?.(f)},"onChange")},fieldState:m,fieldData:c})}})}r(Se,"EmailField");import{useEffect as ze}from"react";import{jsx as Te}from"react/jsx-runtime";function xe(e){let{control:o,setValue:t}=g();return ze(()=>{e.const!==void 0&&e.const===e.default&&e.name&&t(e.name,e.const)},[e.const,e.default,e.name,t]),Te(x,{control:o,name:e.name,render:({field:n})=>Te("input",{...n,type:"hidden"})})}r(xe,"HiddenField");import{useEffect as Oe,useState as Ge}from"react";import{jsx as ye}from"react/jsx-runtime";function Pe(e){let{components:o}=h(),{setValue:t,control:n,watch:i}=g(),l=T(),a=i(e.name),[m,u]=Ge(a),{workHoursSummary:c,breakSummary:f}=ne(m),s=te(m);Oe(()=>{t(e.name,m)},[m,e.name,t]);function F(p){u(p)}r(F,"onSubmit");let C=e.component||o["work-schedule"];if(!C)throw new Error(`Work schedule component not found for field ${e.name}`);let S={...e,onSubmit:F,currentSchedule:m,transformHtml:l,defaultFormattedValue:{workHoursSummary:c,breakSummary:f,totalWorkHours:s}};return ye(x,{control:n,name:e.name,render:({field:p,fieldState:b})=>ye(C,{field:{...p,onChange:r(y=>{p.onChange(y),e.onChange?.(y)},"onChange")},fieldState:b,fieldData:S})})}r(Pe,"WorkScheduleField");import{jsx as be}from"react/jsx-runtime";function $e({label:e,name:o,options:t,defaultValue:n,description:i,onChange:l,component:a,...m}){let{control:u}=g(),{components:c}=h(),f=T();return be(x,{defaultValue:n,control:u,name:o,render:({field:s,fieldState:F})=>{let C=a||c?.["multi-select"];if(!C)throw new Error(`Multi select component not found for field ${o}`);let S={label:e,name:o,options:t,defaultValue:n,description:i,onChange:l,transformHtml:f,...m};return be(C,{field:{...s,onChange:r(p=>{s.onChange(p),l?.(p)},"onChange")},fieldState:F,fieldData:S})}})}r($e,"MultiSelectField");import{jsx as Ue}from"react/jsx-runtime";var De=r(e=>Ue(J,{maxLength:15,...e}),"MoneyField");import{useMemo as I,useCallback as Ee,useState as Ze,useEffect as Ke,useRef as qe}from"react";import{jsx as G}from"react/jsx-runtime";function Qe(e){return e.replace(/\s/g,"")}r(Qe,"removeSpaces");function Me(e="",o){let t=new RegExp(`^(\\+|00)(\\d{${o?.dialCode?.length??0}})(.*)$`),n=e?.match(t);if(!n)return{prefix:"",dialCode:"",phoneNumber:e};let[,i,l,a]=n;return{prefix:i,dialCode:l,phoneNumber:a}}r(Me,"getStructuredNumberFromInternationalNumber");function Re({dialCodes:e,dialCodeMaxLength:o},t){let{prefix:n}=Me(t);if(n)for(let i=o+n.length;i>n.length;i--){let l=t.slice(n.length,i);if(e[l])return e[l]}}r(Re,"getCountryFromPhoneNumber");function we(e){let o={},t=0;return e.forEach(n=>{n.areaCodes?n.areaCodes.forEach(i=>{let l=n.dialCode+i;o[l]=n,l.length>t&&(t=l.length)}):(o[n.dialCode]=n,n.dialCode.length>t&&(t=n.dialCode.length))}),{dialCodes:o,dialCodeMaxLength:t}}r(we,"getCountryDataByCountryCode");function Xe(e=""){let o=/\(([^)]+)\)/g,t=e.match(o);if(t?.length===2)return t[1].replace(/\(|\)/g,"").split("|")}r(Xe,"getAreaCodesFromPattern");function Ye(e){return e.map(o=>({name:o.label,dialCode:o.meta.countryCode,pattern:o.pattern,areaCodes:Xe(o.pattern)}))}r(Ye,"transformSchemaToCountries");function je({field:e,fieldState:o,fieldData:t,component:n,onChangeCountryCode:i,onChangePhoneNumber:l}){let{value:a}=e,{options:m}=t,u=I(()=>Ye(m),[m]),c=I(()=>we(u),[u]),f=qe(!1),[s,F]=Ze(()=>Re(we(u),a||""));Ke(()=>{if((!a||a==="+")&&(f.current=!1),f.current)return;let P=Re(c,a||"");F(P)},[a,c]);let{prefix:C,phoneNumber:S}=I(()=>Me(a,s),[a,s]),p=Ee(P=>{if(!P)return;let w=`+${P.dialCode}${S}`;f.current=!0,F(P),e.onChange(w),i&&i(P)},[S,e,i]),b=Ee(P=>{let w=Qe(P.target.value),N;if(s?N=`${C}${s.dialCode}${w}`:N=`${C}${w}`,e.onChange(N),l){let k={target:{value:N,name:e.name}};l(k)}},[s,C,e,l]),y=I(()=>({...t,onChangeCountryCode:p,onChangePhoneNumber:b,currentCountry:s,nationalPhoneNumber:S}),[t,p,b,s,S]);return G(n,{field:e,fieldState:o,fieldData:y})}r(je,"TelFieldRenderer");function ve({name:e,description:o,label:t,onChangeCountryCode:n,onChangePhoneNumber:i,component:l,...a}){let{components:m}=h(),{control:u}=g(),c=T();return G(x,{control:u,name:e,render:({field:f,fieldState:s})=>{let F=l||m.tel;if(!F)throw new Error(`Tel component not found for field ${e}`);let C={name:e,description:o,label:t,transformHtml:c,...a};return G(je,{field:f,fieldState:s,fieldData:C,component:F,onChangeCountryCode:n,onChangePhoneNumber:i})}})}r(ve,"TelField");import{jsx as Ne}from"react/jsx-runtime";function ke({name:e,description:o,label:t,type:n,onChange:i,component:l,maxLength:a,...m}){let{components:u}=h(),{control:c}=g(),f=T();return Ne(x,{control:c,name:e,render:({field:s,fieldState:F})=>{let C=l||u?.time;if(!C)throw new Error(`Time component not found for field ${e}`);let S={name:e,description:o,label:t,type:n,onChange:i,maxLength:a,transformHtml:f,...m};return Ne(C,{field:{...s,onChange:r(p=>{s.onChange(p),i?.(p)},"onChange")},fieldState:F,fieldData:S})}})}r(ke,"TimeField");var U={checkbox:re,text:ee,email:Se,money:De,select:ue,"multi-select":$e,radio:pe,number:J,file:me,date:le,textarea:ge,countries:fe,hidden:xe,tel:ve,time:ke,"work-schedule":Pe};import{useEffect as eo}from"react";import{jsx as oo}from"react/jsx-runtime";function He({name:e,value:o,description:t,statement:n,label:i,helpCenter:l}){let{setValue:a}=g(),{components:m}=h(),u=T();eo(()=>{a(e,o)},[e,o,a]);let c=n?.description||t,f=n?.title?z(n.title):z(i);if(!c&&!n?.title)return null;let F=m?.forcedValue;if(!F)throw new Error(`Forced value component not found for field ${e}`);return oo(F,{fieldData:{name:e,value:o,title:f,description:c,meta:{helpCenter:l},transformHtml:u}})}r(He,"ForcedValueField");import{Fragment as Z,jsx as $,jsxs as v}from"react/jsx-runtime";function _e({label:e,name:o,fields:t,description:n,components:i,statement:l,isFlatFieldset:a,extra:m,variant:u="outset",features:c,meta:f}){let{helpCenter:s}=f||{},{watch:F,setValue:C,trigger:S,formState:p}=g(),{components:b}=h(),y=c?.toggle?.stateField,P=y?F(y):c?.toggle?.defaultExpanded??!0,w=t.map(({name:d})=>`${o}.${d}`),N=t.some(d=>d.calculateDynamicProperties),k=F(w),We=N?F():k,K=Ve(k),H=Ve(null),Ae=r(()=>{y&&C(y,!P)},"toggleExpanded");no(()=>{let d=k,M=K.current,E=p.isSubmitted||p.submitCount>0,W=!1;for(let R=0;R<d.length;R++)if(d[R]!==void 0&&M[R]!==d[R]){W=!0;break}return W&&E&&(H.current&&clearTimeout(H.current),H.current=setTimeout(()=>{S()},50)),K.current=[...d],()=>{H.current&&clearTimeout(H.current)}},[k,S,p.isSubmitted,p.submitCount]);let Be=b?.fieldsetToggle||oe,q=`${o}-content`,Q=`${o}-header`;return v("fieldset",{className:V("border-1 border-input p-4 rounded-xl","RemoteFlows__FieldSetField",`RemoteFlows__FieldSetField__${o}`),children:[$("legend",{className:V("text-sm font-semibold px-2",u==="inset"&&"hidden"),children:e}),s?.callToAction&&s?.id&&u==="outset"&&$(O,{className:"RemoteFlows__FieldSetField__HelpCenterLink mb-3",zendeskId:s.id,children:s.callToAction}),u==="inset"&&v(Z,{children:[v("div",{className:"RemoteFlows__FieldSetField__Header",id:Q,"data-state":P?"expanded":"collapsed","aria-expanded":P,children:[$("h3",{className:V("RemoteFlows__FieldSetField__Title"),children:e}),c?.toggle?.enabled&&$(Be,{isExpanded:P,onToggle:Ae,"aria-expanded":P,"aria-controls":q,"aria-label":`${P?"Hide":"Show"} ${e}`,className:V("RemoteFlows__FieldSetField__Toggle",c.toggle?.className),children:P?c.toggle.labels?.collapse??"Remove":c.toggle.labels?.expand??"Define"})]}),s?.callToAction&&s?.id&&$(O,{className:"RemoteFlows__FieldSetField__HelpCenterLink mb-3",zendeskId:s.id,children:s.callToAction})]}),P&&v("div",{id:q,"aria-labelledby":Q,role:"region",children:[n?$(j,{as:"div",className:"mb-5 RemoteFlows__FieldSetField__Description",children:n}):null,v("div",{className:"grid gap-4",children:[t.map(d=>{if(d.calculateDynamicProperties&&(d={...d,...d.calculateDynamicProperties(We,d)||{}}),d.isVisible===!1||d.deprecated)return null;let M=d.type,E=`${a?d.name:`${o}.${d.name}`}`,W=Y(d),R=r((D,A)=>d.WrapperComponent?$(d.WrapperComponent,{children:D},A):$(to,{children:D},A),"wrapWithCustomWrapper");if(W){let D=_(d,"WrapperComponent");return R($(He,{name:E,description:D.description,value:D.const,statement:D.statement,label:D.label,helpCenter:D.meta?.helpCenter}),E)}if(M==="fieldset"){let D=_(d,"WrapperComponent");return R($(_e,{...D,name:E,components:i}),E)}if(M==="fieldset-flat"){let D=_(d,"WrapperComponent");return R($(_e,{...D,name:E,components:i,isFlatFieldset:!0}),E)}let L=U[M];if(d.Component){let{Component:D}=d,A=_(d,"WrapperComponent");return R(v(Z,{children:[$(D,{...A,value:F(E),setValue:Ie=>{C(E,Ie)}}),d.statement?$(B,{...d.statement}):null,d.extra?d.extra:null]}),E)}if(!L)return v("p",{className:"error",children:["Field type ",M," not supported"]});M==="select"&&d.multiple&&(L=U["multi-select"]);let Je=_(d,"WrapperComponent");return R(v(Z,{children:[$(L,{...Je,name:E,component:i?.[M]}),d.statement?$(B,{...d.statement}):null,d.extra?d.extra:null]}),E)}),m||null,l?$(B,{...l}):null]})]})]})}r(_e,"FieldSetField");export{U as a,He as b,_e as c};
2
- //# sourceMappingURL=chunk-4IDFJ6DS.js.map