@remoteoss/remote-flows 0.10.0 → 0.12.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 (283) hide show
  1. package/dist/{chunk-5TNWGN5T.js → chunk-2AUKMWRF.js} +2 -2
  2. package/dist/{chunk-QNSEFFNN.js → chunk-2JWANM25.js} +2 -2
  3. package/dist/{chunk-Y4R7VMZM.js → chunk-3F7QLHMP.js} +2 -2
  4. package/dist/chunk-3LOVCTCN.js +2 -0
  5. package/dist/chunk-3LOVCTCN.js.map +1 -0
  6. package/dist/chunk-47VYBPE2.js +2 -0
  7. package/dist/chunk-47VYBPE2.js.map +1 -0
  8. package/dist/{chunk-E366OTIT.js → chunk-4OEBYZLZ.js} +2 -2
  9. package/dist/chunk-52NPLMW3.js +2 -0
  10. package/dist/chunk-52NPLMW3.js.map +1 -0
  11. package/dist/chunk-5CUF63YR.js +2 -0
  12. package/dist/chunk-5CUF63YR.js.map +1 -0
  13. package/dist/chunk-5E44DBDD.js +2 -0
  14. package/dist/chunk-5E44DBDD.js.map +1 -0
  15. package/dist/chunk-5I6VWJSC.js +2 -0
  16. package/dist/chunk-5I6VWJSC.js.map +1 -0
  17. package/dist/{chunk-FMWLGLES.js → chunk-77AF2QOD.js} +2 -2
  18. package/dist/chunk-7TIIT23F.js +2 -0
  19. package/dist/chunk-7TIIT23F.js.map +1 -0
  20. package/dist/{chunk-WWMMQZA3.js → chunk-AXU5ZCUE.js} +2 -2
  21. package/dist/{chunk-WFET4MKU.js → chunk-BDZEPXIS.js} +2 -2
  22. package/dist/{chunk-DS2TO37X.js → chunk-BY5S6EQJ.js} +2 -2
  23. package/dist/{chunk-XCFIBTQN.js → chunk-CHSULXMN.js} +2 -2
  24. package/dist/{chunk-4HHGKSGL.js → chunk-CS3U6LJU.js} +2 -2
  25. package/dist/{chunk-SHFIZENN.js → chunk-CSK44J23.js} +2 -2
  26. package/dist/{chunk-XLBQWKQ2.js → chunk-CSLZUVU4.js} +2 -2
  27. package/dist/{chunk-XSRHFJ3Z.js → chunk-DHT7HDHC.js} +2 -2
  28. package/dist/{chunk-KMC45C2J.js → chunk-DOILOCWU.js} +2 -2
  29. package/dist/chunk-DR7VGNO2.js +2 -0
  30. package/dist/{chunk-FC7NRKYF.js → chunk-DVQO5MHI.js} +2 -2
  31. package/dist/{chunk-MWLD2A2O.js → chunk-EE54SK65.js} +2 -2
  32. package/dist/chunk-EGQJ7UBR.js +2 -0
  33. package/dist/chunk-EGQJ7UBR.js.map +1 -0
  34. package/dist/{chunk-3QXOTVAD.js → chunk-EOJJ4IWJ.js} +2 -2
  35. package/dist/{chunk-PRK34ZQH.js → chunk-EW24LQRE.js} +2 -2
  36. package/dist/{chunk-YS7XEJJP.js → chunk-G7WJUXZU.js} +2 -2
  37. package/dist/{chunk-33W6YDCH.js → chunk-GAOBYAJE.js} +2 -2
  38. package/dist/{chunk-MHEIW3JW.js → chunk-GBD3OCAW.js} +2 -2
  39. package/dist/{chunk-7R6GAOQG.js → chunk-GCVZ4AY2.js} +2 -2
  40. package/dist/{chunk-UNTCBVHB.js → chunk-GGBEM452.js} +2 -2
  41. package/dist/{chunk-N6CK5HE6.js → chunk-GJQ33XQ4.js} +2 -2
  42. package/dist/{chunk-UWKND5NL.js → chunk-GK3OO5SX.js} +2 -2
  43. package/dist/chunk-ILMVHOL2.js +2 -0
  44. package/dist/chunk-ILMVHOL2.js.map +1 -0
  45. package/dist/{chunk-NHAVKODB.js → chunk-J2SFMADD.js} +2 -2
  46. package/dist/chunk-JKYTL5QY.js +2 -0
  47. package/dist/chunk-JKYTL5QY.js.map +1 -0
  48. package/dist/{chunk-FW6EQA43.js → chunk-JUM2HAIK.js} +2 -2
  49. package/dist/{chunk-S3C5DJXJ.js → chunk-LIGRV2J5.js} +2 -2
  50. package/dist/{chunk-ZCIUF3NB.js → chunk-LLY7VPXS.js} +2 -2
  51. package/dist/chunk-LT4ALDRM.js +2 -0
  52. package/dist/chunk-LT4ALDRM.js.map +1 -0
  53. package/dist/chunk-MCPVKP6Q.js +2 -0
  54. package/dist/chunk-MCPVKP6Q.js.map +1 -0
  55. package/dist/{chunk-G4NBJTHB.js → chunk-MDSGLUUB.js} +2 -2
  56. package/dist/{chunk-KCXP2NOU.js → chunk-N7PSO5ZD.js} +2 -2
  57. package/dist/chunk-NBCZF2FO.js +2 -0
  58. package/dist/chunk-NBCZF2FO.js.map +1 -0
  59. package/dist/chunk-NPZ5QJSG.js +2 -0
  60. package/dist/chunk-NPZ5QJSG.js.map +1 -0
  61. package/dist/{chunk-WHW3ZCTH.js → chunk-NVJYAX22.js} +2 -2
  62. package/dist/chunk-P4C2MI7X.js +2 -0
  63. package/dist/chunk-P4C2MI7X.js.map +1 -0
  64. package/dist/chunk-QI6LLU2N.js +2 -0
  65. package/dist/chunk-QI6LLU2N.js.map +1 -0
  66. package/dist/{chunk-OTTIURMN.js → chunk-QQ7KPOLK.js} +2 -2
  67. package/dist/chunk-R2SDR47E.js +2 -0
  68. package/dist/chunk-R2SDR47E.js.map +1 -0
  69. package/dist/{chunk-FCABBFQ5.js → chunk-R7L6CI5J.js} +2 -2
  70. package/dist/chunk-SEAC3H45.js +2 -0
  71. package/dist/{chunk-J3MB4Z6R.js.map → chunk-SEAC3H45.js.map} +1 -1
  72. package/dist/{chunk-ERMOQBXU.js → chunk-SFZSHBWM.js} +2 -2
  73. package/dist/{chunk-QP755MNN.js → chunk-SJHGFMVF.js} +2 -2
  74. package/dist/{chunk-3TQVP4BP.js → chunk-SQICIS7B.js} +2 -2
  75. package/dist/{chunk-3IXBMIHE.js → chunk-SUQURI2J.js} +2 -2
  76. package/dist/chunk-SUQURI2J.js.map +1 -0
  77. package/dist/chunk-T3L72MV6.js +2 -0
  78. package/dist/chunk-T3L72MV6.js.map +1 -0
  79. package/dist/{chunk-NAVGSG5R.js → chunk-VD65AUOI.js} +2 -2
  80. package/dist/{chunk-IQOX5IEE.js → chunk-VUQOVQ5L.js} +2 -2
  81. package/dist/{chunk-IQOX5IEE.js.map → chunk-VUQOVQ5L.js.map} +1 -1
  82. package/dist/{chunk-WJA7PQ2J.js → chunk-WYXN7WW6.js} +2 -2
  83. package/dist/{chunk-HHE7W23D.js → chunk-XI3AQ3RM.js} +2 -2
  84. package/dist/{chunk-7ULN2UW6.js → chunk-Y22Q3UYU.js} +2 -2
  85. package/dist/chunk-Y4VNFI7K.js +2 -0
  86. package/dist/chunk-Y4VNFI7K.js.map +1 -0
  87. package/dist/chunk-Z3BMF4BO.js +1 -0
  88. package/dist/chunk-ZHL2SULA.js +2 -0
  89. package/dist/chunk-ZHL2SULA.js.map +1 -0
  90. package/dist/{chunk-CLY6BS36.js → chunk-ZMENI53L.js} +2 -2
  91. package/dist/{chunk-CLY6BS36.js.map → chunk-ZMENI53L.js.map} +1 -1
  92. package/dist/{chunk-ZKNJTAP7.js → chunk-ZSBWDLBS.js} +2 -2
  93. package/dist/flows/ContractAmendment/ContractAmendmentBack.js +1 -1
  94. package/dist/flows/ContractAmendment/ContractAmendmentConfirmationForm.d.ts +1 -1
  95. package/dist/flows/ContractAmendment/ContractAmendmentConfirmationForm.js +1 -1
  96. package/dist/flows/ContractAmendment/ContractAmendmentFlow.d.ts +1 -1
  97. package/dist/flows/ContractAmendment/ContractAmendmentFlow.js +1 -1
  98. package/dist/flows/ContractAmendment/ContractAmendmentForm.d.ts +1 -1
  99. package/dist/flows/ContractAmendment/ContractAmendmentForm.js +1 -1
  100. package/dist/flows/ContractAmendment/ContractAmendmentSubmit.js +1 -1
  101. package/dist/flows/ContractAmendment/context.d.ts +1 -1
  102. package/dist/flows/ContractAmendment/hooks.d.ts +1 -1
  103. package/dist/flows/ContractAmendment/hooks.js +1 -1
  104. package/dist/flows/ContractAmendment/index.d.ts +1 -1
  105. package/dist/flows/ContractAmendment/index.js +1 -1
  106. package/dist/flows/ContractAmendment/utils.d.ts +1 -1
  107. package/dist/flows/CostCalculator/CostCalculatorDisclaimer.js +1 -1
  108. package/dist/flows/CostCalculator/CostCalculatorFlow.d.ts +4 -6
  109. package/dist/flows/CostCalculator/CostCalculatorFlow.js +1 -1
  110. package/dist/flows/CostCalculator/CostCalculatorForm.d.ts +3 -1
  111. package/dist/flows/CostCalculator/CostCalculatorForm.js +1 -1
  112. package/dist/flows/CostCalculator/CostCalculatorResetButton.js +1 -1
  113. package/dist/flows/CostCalculator/CostCalculatorSubmitButton.js +1 -1
  114. package/dist/flows/CostCalculator/EstimationResults/EstimationResults.d.ts +42 -0
  115. package/dist/flows/CostCalculator/EstimationResults/EstimationResults.js +2 -0
  116. package/dist/flows/CostCalculator/EstimationResults/EstimationResults.js.map +1 -0
  117. package/dist/flows/CostCalculator/Results/CostCalculatorBenefitsBreakdown.js +1 -1
  118. package/dist/flows/CostCalculator/Results/CostCalculatorContributionsBreakdown.js +1 -1
  119. package/dist/flows/CostCalculator/Results/CostCalculatorExtraStatutoryPaymentsBreakdown.js +1 -1
  120. package/dist/flows/CostCalculator/Results/CostCalculatorGrossSalary.js +1 -1
  121. package/dist/flows/CostCalculator/Results/CostCalculatorIndirectTax.js +1 -1
  122. package/dist/flows/CostCalculator/Results/CostCalculatorResults.d.ts +1 -1
  123. package/dist/flows/CostCalculator/Results/CostCalculatorResults.js +1 -1
  124. package/dist/flows/CostCalculator/Results/CostCalculatorResultsChart.js +1 -1
  125. package/dist/flows/CostCalculator/Results/CostCalculatorTotalCost.js +1 -1
  126. package/dist/flows/CostCalculator/SummaryResults/SummaryResults.d.ts +17 -0
  127. package/dist/flows/CostCalculator/SummaryResults/SummaryResults.js +2 -0
  128. package/dist/flows/CostCalculator/SummaryResults/SummaryResults.js.map +1 -0
  129. package/dist/flows/CostCalculator/api.d.ts +1 -1
  130. package/dist/flows/CostCalculator/api.js +1 -1
  131. package/dist/flows/CostCalculator/components/SalaryField.d.ts +4 -1
  132. package/dist/flows/CostCalculator/components/SalaryField.js +1 -1
  133. package/dist/flows/CostCalculator/context.d.ts +1 -1
  134. package/dist/flows/CostCalculator/hooks.d.ts +13 -7
  135. package/dist/flows/CostCalculator/hooks.js +1 -1
  136. package/dist/flows/CostCalculator/index.d.ts +5 -3
  137. package/dist/flows/CostCalculator/index.js +1 -1
  138. package/dist/flows/CostCalculator/jsonSchema.d.ts +17 -2
  139. package/dist/flows/CostCalculator/jsonSchema.js +1 -1
  140. package/dist/flows/CostCalculator/types.d.ts +14 -2
  141. package/dist/flows/CostCalculator/utils.d.ts +1 -1
  142. package/dist/flows/CostCalculator/utils.js +1 -1
  143. package/dist/flows/Onboarding/OnboardingFlow.d.ts +1 -1
  144. package/dist/flows/Onboarding/OnboardingFlow.js +1 -1
  145. package/dist/flows/Onboarding/api.d.ts +5 -3
  146. package/dist/flows/Onboarding/api.js +1 -1
  147. package/dist/flows/Onboarding/components/AnnualGrossSalary.js +1 -1
  148. package/dist/flows/Onboarding/components/BasicInformationStep.d.ts +1 -1
  149. package/dist/flows/Onboarding/components/BasicInformationStep.js +1 -1
  150. package/dist/flows/Onboarding/components/BenefitsStep.d.ts +1 -1
  151. package/dist/flows/Onboarding/components/BenefitsStep.js +1 -1
  152. package/dist/flows/Onboarding/components/ContractDetailsStep.d.ts +1 -1
  153. package/dist/flows/Onboarding/components/ContractDetailsStep.js +1 -1
  154. package/dist/flows/Onboarding/components/OnboardingBack.js +1 -1
  155. package/dist/flows/Onboarding/components/OnboardingForm.d.ts +1 -1
  156. package/dist/flows/Onboarding/components/OnboardingForm.js +1 -1
  157. package/dist/flows/Onboarding/components/OnboardingInvite.d.ts +1 -1
  158. package/dist/flows/Onboarding/components/OnboardingInvite.js +1 -1
  159. package/dist/flows/Onboarding/components/OnboardingSubmit.js +1 -1
  160. package/dist/flows/Onboarding/components/ReviewStep.d.ts +1 -1
  161. package/dist/flows/Onboarding/components/SelectCountryStep.d.ts +1 -1
  162. package/dist/flows/Onboarding/components/SelectCountryStep.js +1 -1
  163. package/dist/flows/Onboarding/context.d.ts +1 -1
  164. package/dist/flows/Onboarding/hooks.d.ts +1 -1
  165. package/dist/flows/Onboarding/hooks.js +1 -1
  166. package/dist/flows/Onboarding/index.d.ts +1 -1
  167. package/dist/flows/Onboarding/index.js +1 -1
  168. package/dist/flows/Onboarding/types.d.ts +1 -1
  169. package/dist/flows/Onboarding/utils.d.ts +1 -1
  170. package/dist/flows/Termination/AdditionalDetailsForm.d.ts +1 -1
  171. package/dist/flows/Termination/AdditionalDetailsForm.js +1 -1
  172. package/dist/flows/Termination/EmployeeComunicationForm.d.ts +1 -1
  173. package/dist/flows/Termination/EmployeeComunicationForm.js +1 -1
  174. package/dist/flows/Termination/PaidTimeOffForm.d.ts +1 -1
  175. package/dist/flows/Termination/PaidTimeOffForm.js +1 -1
  176. package/dist/flows/Termination/TerminationBack.js +1 -1
  177. package/dist/flows/Termination/TerminationDetailsForm.d.ts +1 -1
  178. package/dist/flows/Termination/TerminationDetailsForm.js +1 -1
  179. package/dist/flows/Termination/TerminationFlow.d.ts +1 -1
  180. package/dist/flows/Termination/TerminationFlow.js +1 -1
  181. package/dist/flows/Termination/TerminationForm.d.ts +1 -1
  182. package/dist/flows/Termination/TerminationForm.js +1 -1
  183. package/dist/flows/Termination/TerminationSubmit.js +1 -1
  184. package/dist/flows/Termination/TimeOff.d.ts +1 -1
  185. package/dist/flows/Termination/TimeOff.js +1 -1
  186. package/dist/flows/Termination/context.d.ts +1 -1
  187. package/dist/flows/Termination/hooks.d.ts +1 -1
  188. package/dist/flows/Termination/hooks.js +1 -1
  189. package/dist/flows/Termination/index.d.ts +1 -1
  190. package/dist/flows/Termination/index.js +1 -1
  191. package/dist/flows/Termination/json-schemas/schema.js +1 -1
  192. package/dist/flows/Termination/types.d.ts +1 -1
  193. package/dist/flows/types.d.ts +1 -1
  194. package/dist/index.css +1 -1
  195. package/dist/index.css.map +1 -1
  196. package/dist/index.d.ts +15 -5
  197. package/dist/index.js +1 -1
  198. package/dist/index.js.map +1 -1
  199. package/dist/internals.d.ts +54 -58
  200. package/dist/internals.js +1 -1
  201. package/dist/internals.js.map +1 -1
  202. package/dist/{types.gen-D9fBRSTj.d.ts → types.gen-_c0f1E7h.d.ts} +37 -17
  203. package/package.json +5 -2
  204. package/dist/chunk-2NDBK2EZ.js +0 -2
  205. package/dist/chunk-2NDBK2EZ.js.map +0 -1
  206. package/dist/chunk-2Y22JKVE.js +0 -2
  207. package/dist/chunk-3IXBMIHE.js.map +0 -1
  208. package/dist/chunk-45N2S6JG.js +0 -2
  209. package/dist/chunk-45N2S6JG.js.map +0 -1
  210. package/dist/chunk-C3KZEPUZ.js +0 -2
  211. package/dist/chunk-C3KZEPUZ.js.map +0 -1
  212. package/dist/chunk-D24ATLAM.js +0 -2
  213. package/dist/chunk-D24ATLAM.js.map +0 -1
  214. package/dist/chunk-E6DC4DXP.js +0 -2
  215. package/dist/chunk-E6DC4DXP.js.map +0 -1
  216. package/dist/chunk-ERUG7FR3.js +0 -2
  217. package/dist/chunk-ERUG7FR3.js.map +0 -1
  218. package/dist/chunk-FQNVKX3N.js +0 -2
  219. package/dist/chunk-FQNVKX3N.js.map +0 -1
  220. package/dist/chunk-HGLI6PUM.js +0 -2
  221. package/dist/chunk-HGLI6PUM.js.map +0 -1
  222. package/dist/chunk-IS7BYXY6.js +0 -2
  223. package/dist/chunk-IS7BYXY6.js.map +0 -1
  224. package/dist/chunk-IV5GLWFN.js +0 -2
  225. package/dist/chunk-IV5GLWFN.js.map +0 -1
  226. package/dist/chunk-J3MB4Z6R.js +0 -2
  227. package/dist/chunk-JNAFD452.js +0 -2
  228. package/dist/chunk-JNAFD452.js.map +0 -1
  229. package/dist/chunk-UBAEG2IO.js +0 -2
  230. package/dist/chunk-UBAEG2IO.js.map +0 -1
  231. package/dist/chunk-UPRUP24B.js +0 -2
  232. package/dist/chunk-UPRUP24B.js.map +0 -1
  233. package/dist/chunk-XHBYAMFV.js +0 -2
  234. package/dist/chunk-XHBYAMFV.js.map +0 -1
  235. package/dist/chunk-XJ7PCWMR.js +0 -2
  236. package/dist/chunk-XJ7PCWMR.js.map +0 -1
  237. package/dist/chunk-YJXRJTOH.js +0 -1
  238. package/dist/chunk-ZRXXVXV4.js +0 -2
  239. package/dist/chunk-ZRXXVXV4.js.map +0 -1
  240. /package/dist/{chunk-5TNWGN5T.js.map → chunk-2AUKMWRF.js.map} +0 -0
  241. /package/dist/{chunk-QNSEFFNN.js.map → chunk-2JWANM25.js.map} +0 -0
  242. /package/dist/{chunk-Y4R7VMZM.js.map → chunk-3F7QLHMP.js.map} +0 -0
  243. /package/dist/{chunk-E366OTIT.js.map → chunk-4OEBYZLZ.js.map} +0 -0
  244. /package/dist/{chunk-FMWLGLES.js.map → chunk-77AF2QOD.js.map} +0 -0
  245. /package/dist/{chunk-WWMMQZA3.js.map → chunk-AXU5ZCUE.js.map} +0 -0
  246. /package/dist/{chunk-WFET4MKU.js.map → chunk-BDZEPXIS.js.map} +0 -0
  247. /package/dist/{chunk-DS2TO37X.js.map → chunk-BY5S6EQJ.js.map} +0 -0
  248. /package/dist/{chunk-XCFIBTQN.js.map → chunk-CHSULXMN.js.map} +0 -0
  249. /package/dist/{chunk-4HHGKSGL.js.map → chunk-CS3U6LJU.js.map} +0 -0
  250. /package/dist/{chunk-SHFIZENN.js.map → chunk-CSK44J23.js.map} +0 -0
  251. /package/dist/{chunk-XLBQWKQ2.js.map → chunk-CSLZUVU4.js.map} +0 -0
  252. /package/dist/{chunk-XSRHFJ3Z.js.map → chunk-DHT7HDHC.js.map} +0 -0
  253. /package/dist/{chunk-KMC45C2J.js.map → chunk-DOILOCWU.js.map} +0 -0
  254. /package/dist/{chunk-2Y22JKVE.js.map → chunk-DR7VGNO2.js.map} +0 -0
  255. /package/dist/{chunk-FC7NRKYF.js.map → chunk-DVQO5MHI.js.map} +0 -0
  256. /package/dist/{chunk-MWLD2A2O.js.map → chunk-EE54SK65.js.map} +0 -0
  257. /package/dist/{chunk-3QXOTVAD.js.map → chunk-EOJJ4IWJ.js.map} +0 -0
  258. /package/dist/{chunk-PRK34ZQH.js.map → chunk-EW24LQRE.js.map} +0 -0
  259. /package/dist/{chunk-YS7XEJJP.js.map → chunk-G7WJUXZU.js.map} +0 -0
  260. /package/dist/{chunk-33W6YDCH.js.map → chunk-GAOBYAJE.js.map} +0 -0
  261. /package/dist/{chunk-MHEIW3JW.js.map → chunk-GBD3OCAW.js.map} +0 -0
  262. /package/dist/{chunk-7R6GAOQG.js.map → chunk-GCVZ4AY2.js.map} +0 -0
  263. /package/dist/{chunk-UNTCBVHB.js.map → chunk-GGBEM452.js.map} +0 -0
  264. /package/dist/{chunk-N6CK5HE6.js.map → chunk-GJQ33XQ4.js.map} +0 -0
  265. /package/dist/{chunk-UWKND5NL.js.map → chunk-GK3OO5SX.js.map} +0 -0
  266. /package/dist/{chunk-NHAVKODB.js.map → chunk-J2SFMADD.js.map} +0 -0
  267. /package/dist/{chunk-FW6EQA43.js.map → chunk-JUM2HAIK.js.map} +0 -0
  268. /package/dist/{chunk-S3C5DJXJ.js.map → chunk-LIGRV2J5.js.map} +0 -0
  269. /package/dist/{chunk-ZCIUF3NB.js.map → chunk-LLY7VPXS.js.map} +0 -0
  270. /package/dist/{chunk-G4NBJTHB.js.map → chunk-MDSGLUUB.js.map} +0 -0
  271. /package/dist/{chunk-KCXP2NOU.js.map → chunk-N7PSO5ZD.js.map} +0 -0
  272. /package/dist/{chunk-WHW3ZCTH.js.map → chunk-NVJYAX22.js.map} +0 -0
  273. /package/dist/{chunk-OTTIURMN.js.map → chunk-QQ7KPOLK.js.map} +0 -0
  274. /package/dist/{chunk-FCABBFQ5.js.map → chunk-R7L6CI5J.js.map} +0 -0
  275. /package/dist/{chunk-ERMOQBXU.js.map → chunk-SFZSHBWM.js.map} +0 -0
  276. /package/dist/{chunk-QP755MNN.js.map → chunk-SJHGFMVF.js.map} +0 -0
  277. /package/dist/{chunk-3TQVP4BP.js.map → chunk-SQICIS7B.js.map} +0 -0
  278. /package/dist/{chunk-NAVGSG5R.js.map → chunk-VD65AUOI.js.map} +0 -0
  279. /package/dist/{chunk-WJA7PQ2J.js.map → chunk-WYXN7WW6.js.map} +0 -0
  280. /package/dist/{chunk-HHE7W23D.js.map → chunk-XI3AQ3RM.js.map} +0 -0
  281. /package/dist/{chunk-7ULN2UW6.js.map → chunk-Y22Q3UYU.js.map} +0 -0
  282. /package/dist/{chunk-YJXRJTOH.js.map → chunk-Z3BMF4BO.js.map} +0 -0
  283. /package/dist/{chunk-ZKNJTAP7.js.map → chunk-ZSBWDLBS.js.map} +0 -0
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/RemoteFlowsProvider.tsx","../src/lib/applyTheme.ts","../src/theme.tsx","../src/environments.ts","../src/useAuth.ts"],"sourcesContent":["import { QueryClient, QueryClientProvider } from '@tanstack/react-query';\nimport type { PropsWithChildren } from 'react';\nimport React from 'react';\n\nimport { ThemeProvider } from '@/src/theme';\nimport { FormFieldsContext, RemoteFlowContext } from './context';\nimport { Components, RemoteFlowsSDKProps } from './types/remoteFlows';\nimport { useAuth } from './useAuth';\n\nconst queryClient = new QueryClient();\n\ntype RemoteFlowContextWrapperProps = {\n auth: RemoteFlowsSDKProps['auth'];\n children: React.ReactNode;\n environment?: RemoteFlowsSDKProps['environment'];\n proxy?: RemoteFlowsSDKProps['proxy'];\n authId?: RemoteFlowsSDKProps['authId'];\n};\n\nfunction RemoteFlowContextWrapper({\n children,\n auth,\n authId,\n proxy,\n environment,\n}: RemoteFlowContextWrapperProps) {\n const remoteApiClient = useAuth({\n auth,\n authId,\n options: {\n proxy,\n environment,\n },\n });\n return (\n <RemoteFlowContext.Provider value={{ client: remoteApiClient.current }}>\n {children}\n </RemoteFlowContext.Provider>\n );\n}\n\nexport function FormFieldsProvider({\n children,\n components,\n}: PropsWithChildren<{\n components?: Components;\n}>) {\n return (\n <FormFieldsContext.Provider\n value={components ? { components } : { components: {} }}\n >\n {children}\n </FormFieldsContext.Provider>\n );\n}\n\nexport function RemoteFlows({\n auth,\n authId,\n children,\n components,\n theme,\n proxy,\n environment,\n}: PropsWithChildren<RemoteFlowsSDKProps>) {\n return (\n <QueryClientProvider client={queryClient}>\n <FormFieldsProvider components={components}>\n <RemoteFlowContextWrapper\n auth={auth}\n authId={authId}\n proxy={proxy}\n environment={environment}\n >\n <ThemeProvider theme={theme}>{children}</ThemeProvider>\n </RemoteFlowContextWrapper>\n </FormFieldsProvider>\n </QueryClientProvider>\n );\n}\n","import {\n CssThemeBorder,\n CssThemeColors,\n CssThemeFont,\n CssThemeSpacing,\n ThemeColors,\n ThemeFont,\n ThemeProviderProps,\n} from '@/src/types/theme';\n\nfunction setCssProperties(variables: Record<string, string>) {\n const root = document.documentElement;\n Object.keys(variables).forEach((v) => {\n const propertyVal = variables[v];\n if (propertyVal) {\n root.style.setProperty(v, propertyVal);\n }\n });\n}\n\nfunction mapThemeColors(colors: ThemeColors): CssThemeColors {\n const result: CssThemeColors = {};\n Object.keys(colors).forEach((key) => {\n result[`--${key}` as keyof CssThemeColors] =\n colors[key as keyof ThemeColors];\n });\n return result;\n}\n\nfunction mapThemeSpacing(spacing: string): CssThemeSpacing {\n return {\n '--spacing': spacing,\n };\n}\n\nfunction mapThemeBorderRadius(borderRadius: string): CssThemeBorder {\n return {\n '--radius': borderRadius,\n };\n}\n\nfunction mapThemeFont(font: ThemeFont): CssThemeFont {\n return {\n '--fontSizeBase': font.fontSizeBase,\n };\n}\n\nexport function applyTheme(theme: ThemeProviderProps['theme']) {\n if (theme?.colors) {\n setCssProperties(mapThemeColors(theme.colors));\n }\n\n if (theme?.spacing) {\n setCssProperties(mapThemeSpacing(theme.spacing));\n }\n\n if (theme?.borderRadius) {\n setCssProperties(mapThemeBorderRadius(theme.borderRadius));\n }\n\n if (theme?.font) {\n setCssProperties(mapThemeFont(theme.font));\n }\n}\n","import { applyTheme } from '@/src/lib/applyTheme';\nimport { createContext, useEffect, useMemo } from 'react';\nimport { ThemeProviderProps } from './types/theme';\n\nconst ThemeContext = createContext<Omit<ThemeProviderProps, 'children'>>({\n theme: {},\n});\n\nexport function ThemeProvider(props: ThemeProviderProps) {\n useEffect(() => {\n if (props.theme && Object.keys(props.theme).length > 0) {\n applyTheme(props.theme);\n }\n }, [props.theme]);\n\n const value = useMemo(() => {\n return { theme: props.theme };\n }, [props.theme]);\n\n return (\n <ThemeContext.Provider value={value}>\n {props.children}\n </ThemeContext.Provider>\n );\n}\n","export const ENVIRONMENTS = {\n partners: 'https://gateway.partners.remote-sandbox.com',\n production: 'https://gateway.remote.com',\n sandbox: 'https://gateway.remote-sandbox.com',\n staging: 'https://gateway.niceremote.com',\n};\n","import { client } from '@/src/client/client.gen';\nimport { ENVIRONMENTS } from '@/src/environments';\nimport { createClient } from '@hey-api/client-fetch';\nimport { useQuery } from '@tanstack/react-query';\nimport { useRef } from 'react';\nimport { RemoteFlowsSDKProps } from './types/remoteFlows';\nimport { debug } from './lib/utils';\n\ntype AuthResponse = {\n accessToken: string;\n expiresIn: number;\n};\n\ntype Options = Partial<{\n environment: keyof typeof ENVIRONMENTS;\n proxy: RemoteFlowsSDKProps['proxy'];\n}>;\n\nfunction isValidUrl(url: string) {\n try {\n new URL(url);\n return true;\n } catch {\n return false;\n }\n}\n\nexport const useAuth = ({\n auth,\n options,\n authId = 'default',\n}: {\n auth: () => Promise<AuthResponse>;\n options?: Options;\n authId?: 'default' | 'client';\n}) => {\n const session = useRef<{ accessToken: string; expiresAt: number } | null>(\n null,\n );\n const { refetch } = useQuery({\n queryKey: ['auth', authId],\n queryFn: auth,\n enabled: false,\n });\n\n const baseUrl = options?.environment\n ? ENVIRONMENTS[options?.environment]\n : process.env.REMOTE_GATEWAY_URL;\n\n const clientConfig = client.getConfig();\n const npmPackageVersion = process.env.VERSION || 'unknown';\n\n if (options?.environment && options?.environment !== 'production') {\n debug(npmPackageVersion);\n }\n\n const isValidProxy = !!options?.proxy && isValidUrl(options.proxy.url);\n\n if (options?.proxy && !isValidProxy) {\n console.error('Invalid proxy URL provided. Using default base URL.');\n }\n\n return useRef(\n createClient({\n ...clientConfig,\n headers: {\n ...clientConfig.headers,\n ...(isValidProxy ? options?.proxy?.headers : {}),\n 'X-Client-Name': 'remote-flows-sdk',\n 'X-Client-Version': npmPackageVersion,\n },\n baseUrl: isValidProxy ? options.proxy?.url : baseUrl,\n auth: async () => {\n function hasTokenExpired(expiresAt: number | undefined) {\n return !expiresAt || Date.now() + 60000 > expiresAt;\n }\n if (!session.current || hasTokenExpired(session.current.expiresAt)) {\n const { data } = await refetch();\n if (data) {\n session.current = {\n accessToken: data.accessToken,\n expiresAt: Date.now() + data.expiresIn * 1000,\n };\n }\n }\n return session.current?.accessToken;\n },\n }),\n );\n};\n"],"mappings":"+yFAAA,OAAS,eAAAA,EAAa,uBAAAC,MAA2B,wBCUjD,SAASC,EAAiBC,EAAmC,CAC3D,IAAMC,EAAO,SAAS,gBACtB,OAAO,KAAKD,CAAS,EAAE,QAASE,GAAM,CACpC,IAAMC,EAAcH,EAAUE,CAAC,EAC3BC,GACFF,EAAK,MAAM,YAAYC,EAAGC,CAAW,CAEzC,CAAC,CACH,CARSC,EAAAL,EAAA,oBAUT,SAASM,EAAeC,EAAqC,CAC3D,IAAMC,EAAyB,CAAC,EAChC,cAAO,KAAKD,CAAM,EAAE,QAASE,GAAQ,CACnCD,EAAO,KAAKC,CAAG,EAA0B,EACvCF,EAAOE,CAAwB,CACnC,CAAC,EACMD,CACT,CAPSH,EAAAC,EAAA,kBAST,SAASI,EAAgBC,EAAkC,CACzD,MAAO,CACL,YAAaA,CACf,CACF,CAJSN,EAAAK,EAAA,mBAMT,SAASE,EAAqBC,EAAsC,CAClE,MAAO,CACL,WAAYA,CACd,CACF,CAJSR,EAAAO,EAAA,wBAMT,SAASE,EAAaC,EAA+B,CACnD,MAAO,CACL,iBAAkBA,EAAK,YACzB,CACF,CAJSV,EAAAS,EAAA,gBAMF,SAASE,EAAWC,EAAoC,CACzDA,GAAO,QACTjB,EAAiBM,EAAeW,EAAM,MAAM,CAAC,EAG3CA,GAAO,SACTjB,EAAiBU,EAAgBO,EAAM,OAAO,CAAC,EAG7CA,GAAO,cACT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EAAkB,SAAlB,CACC,MAAOD,EAAa,CAAE,WAAAA,CAAW,EAAI,CAAE,WAAY,CAAC,CAAE,EAErD,SAAAV,EACH,CAEJ,CAbgBQ,EAAAC,EAAA,sBAeT,SAASG,EAAY,CAC1B,KAAAX,EACA,OAAAC,EACA,SAAAF,EACA,WAAAU,EACA,MAAAG,EACA,MAAAV,EACA,YAAAC,CACF,EAA2C,CACzC,OACER,EAACkB,EAAA,CAAoB,OAAQjB,EAC3B,SAAAD,EAACa,EAAA,CAAmB,WAAYC,EAC9B,SAAAd,EAACG,EAAA,CACC,KAAME,EACN,OAAQC,EACR,MAAOC,EACP,YAAaC,EAEb,SAAAR,EAACmB,EAAA,CAAc,MAAOF,EAAQ,SAAAb,EAAS,EACzC,EACF,EACF,CAEJ,CAvBgBQ,EAAAI,EAAA","names":["QueryClient","QueryClientProvider","setCssProperties","variables","root","v","propertyVal","__name","mapThemeColors","colors","result","key","mapThemeSpacing","spacing","mapThemeBorderRadius","borderRadius","mapThemeFont","font","applyTheme","theme","createContext","useEffect","useMemo","jsx","ThemeContext","createContext","ThemeProvider","props","useEffect","applyTheme","value","useMemo","__name","ENVIRONMENTS","createClient","useQuery","useRef","isValidUrl","url","__name","useAuth","auth","options","authId","session","useRef","refetch","useQuery","baseUrl","ENVIRONMENTS","clientConfig","client","npmPackageVersion","debug","isValidProxy","createClient","hasTokenExpired","expiresAt","data","jsx","queryClient","QueryClient","RemoteFlowContextWrapper","children","auth","authId","proxy","environment","remoteApiClient","useAuth","RemoteFlowContext","__name","FormFieldsProvider","components","FormFieldsContext","RemoteFlows","theme","QueryClientProvider","ThemeProvider"]}
1
+ {"version":3,"sources":["../src/RemoteFlowsProvider.tsx","../src/lib/applyTheme.ts","../src/theme.tsx","../src/environments.ts","../src/useAuth.ts"],"sourcesContent":["import { QueryClient, QueryClientProvider } from '@tanstack/react-query';\nimport type { PropsWithChildren } from 'react';\nimport React from 'react';\n\nimport { ThemeProvider } from '@/src/theme';\nimport { FormFieldsContext, RemoteFlowContext } from './context';\nimport { Components, RemoteFlowsSDKProps } from './types/remoteFlows';\nimport { useAuth } from './useAuth';\n\nconst queryClient = new QueryClient();\n\ntype RemoteFlowContextWrapperProps = {\n auth: RemoteFlowsSDKProps['auth'];\n children: React.ReactNode;\n environment?: RemoteFlowsSDKProps['environment'];\n proxy?: RemoteFlowsSDKProps['proxy'];\n authId?: RemoteFlowsSDKProps['authId'];\n};\n\nfunction RemoteFlowContextWrapper({\n children,\n auth,\n authId,\n proxy,\n environment,\n}: RemoteFlowContextWrapperProps) {\n const remoteApiClient = useAuth({\n auth,\n authId,\n options: {\n proxy,\n environment,\n },\n });\n return (\n <RemoteFlowContext.Provider value={{ client: remoteApiClient.current }}>\n {children}\n </RemoteFlowContext.Provider>\n );\n}\n\nexport function FormFieldsProvider({\n children,\n components,\n}: PropsWithChildren<{\n components?: Components;\n}>) {\n return (\n <FormFieldsContext.Provider\n value={components ? { components } : { components: {} }}\n >\n {children}\n </FormFieldsContext.Provider>\n );\n}\n\nexport function RemoteFlows({\n auth,\n authId,\n children,\n components,\n theme,\n proxy,\n environment,\n}: PropsWithChildren<RemoteFlowsSDKProps>) {\n return (\n <QueryClientProvider client={queryClient}>\n <FormFieldsProvider components={components}>\n <RemoteFlowContextWrapper\n auth={auth}\n authId={authId}\n proxy={proxy}\n environment={environment}\n >\n <ThemeProvider theme={theme}>{children}</ThemeProvider>\n </RemoteFlowContextWrapper>\n </FormFieldsProvider>\n </QueryClientProvider>\n );\n}\n","import {\n CssThemeBorder,\n CssThemeColors,\n CssThemeFont,\n CssThemeSpacing,\n ThemeColors,\n ThemeFont,\n ThemeProviderProps,\n} from '@/src/types/theme';\n\nfunction setCssProperties(variables: Record<string, string>) {\n const root = document.documentElement;\n Object.keys(variables).forEach((v) => {\n const propertyVal = variables[v];\n if (propertyVal) {\n root.style.setProperty(v, propertyVal);\n }\n });\n}\n\nfunction mapThemeColors(colors: ThemeColors): CssThemeColors {\n const result: CssThemeColors = {};\n Object.keys(colors).forEach((key) => {\n result[`--${key}` as keyof CssThemeColors] =\n colors[key as keyof ThemeColors];\n });\n return result;\n}\n\nfunction mapThemeSpacing(spacing: string): CssThemeSpacing {\n return {\n '--spacing': spacing,\n };\n}\n\nfunction mapThemeBorderRadius(borderRadius: string): CssThemeBorder {\n return {\n '--radius': borderRadius,\n };\n}\n\nfunction mapThemeFont(font: ThemeFont): CssThemeFont {\n return {\n '--fontSizeBase': font.fontSizeBase,\n };\n}\n\nexport function applyTheme(theme: ThemeProviderProps['theme']) {\n if (theme?.colors) {\n setCssProperties(mapThemeColors(theme.colors));\n }\n\n if (theme?.spacing) {\n setCssProperties(mapThemeSpacing(theme.spacing));\n }\n\n if (theme?.borderRadius) {\n setCssProperties(mapThemeBorderRadius(theme.borderRadius));\n }\n\n if (theme?.font) {\n setCssProperties(mapThemeFont(theme.font));\n }\n}\n","import { applyTheme } from '@/src/lib/applyTheme';\nimport { createContext, useEffect, useMemo } from 'react';\nimport { ThemeProviderProps } from './types/theme';\n\nconst ThemeContext = createContext<Omit<ThemeProviderProps, 'children'>>({\n theme: {},\n});\n\nexport function ThemeProvider(props: ThemeProviderProps) {\n useEffect(() => {\n if (props.theme && Object.keys(props.theme).length > 0) {\n applyTheme(props.theme);\n }\n }, [props.theme]);\n\n const value = useMemo(() => {\n return { theme: props.theme };\n }, [props.theme]);\n\n return (\n <ThemeContext.Provider value={value}>\n {props.children}\n </ThemeContext.Provider>\n );\n}\n","export const ENVIRONMENTS = {\n partners: 'https://gateway.partners.remote-sandbox.com',\n production: 'https://gateway.remote.com',\n sandbox: 'https://gateway.remote-sandbox.com',\n staging: 'https://gateway.niceremote.com',\n};\n","import { client } from '@/src/client/client.gen';\nimport { ENVIRONMENTS } from '@/src/environments';\nimport { createClient } from '@hey-api/client-fetch';\nimport { useQuery } from '@tanstack/react-query';\nimport { useRef } from 'react';\nimport { RemoteFlowsSDKProps } from './types/remoteFlows';\nimport { debug } from './lib/utils';\n\ntype AuthResponse = {\n accessToken: string;\n expiresIn: number;\n};\n\ntype Options = Partial<{\n environment: keyof typeof ENVIRONMENTS;\n proxy: RemoteFlowsSDKProps['proxy'];\n}>;\n\nfunction isValidUrl(url: string) {\n try {\n new URL(url);\n return true;\n } catch {\n return false;\n }\n}\n\nexport const useAuth = ({\n auth,\n options,\n authId = 'default',\n}: {\n auth: () => Promise<AuthResponse>;\n options?: Options;\n authId?: 'default' | 'client';\n}) => {\n const session = useRef<{ accessToken: string; expiresAt: number } | null>(\n null,\n );\n const { refetch } = useQuery({\n queryKey: ['auth', authId],\n queryFn: auth,\n enabled: false,\n });\n\n const baseUrl = options?.environment\n ? ENVIRONMENTS[options?.environment]\n : process.env.REMOTE_GATEWAY_URL;\n\n const clientConfig = client.getConfig();\n const npmPackageVersion = process.env.VERSION || 'unknown';\n\n if (options?.environment && options?.environment !== 'production') {\n debug(npmPackageVersion);\n }\n\n const isValidProxy = !!options?.proxy && isValidUrl(options.proxy.url);\n\n if (options?.proxy && !isValidProxy) {\n console.error('Invalid proxy URL provided. Using default base URL.');\n }\n\n return useRef(\n createClient({\n ...clientConfig,\n headers: {\n ...clientConfig.headers,\n ...(isValidProxy ? options?.proxy?.headers : {}),\n 'X-Client-Name': 'remote-flows-sdk',\n 'X-Client-Version': npmPackageVersion,\n },\n baseUrl: isValidProxy ? options.proxy?.url : baseUrl,\n auth: async () => {\n function hasTokenExpired(expiresAt: number | undefined) {\n return !expiresAt || Date.now() + 60000 > expiresAt;\n }\n if (!session.current || hasTokenExpired(session.current.expiresAt)) {\n const { data } = await refetch();\n if (data) {\n session.current = {\n accessToken: data.accessToken,\n expiresAt: Date.now() + data.expiresIn * 1000,\n };\n }\n }\n return session.current?.accessToken;\n },\n }),\n );\n};\n"],"mappings":"q8FAAA,OAAS,eAAAA,EAAa,uBAAAC,MAA2B,wBCUjD,SAASC,EAAiBC,EAAmC,CAC3D,IAAMC,EAAO,SAAS,gBACtB,OAAO,KAAKD,CAAS,EAAE,QAASE,GAAM,CACpC,IAA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QueryClient","QueryClientProvider","setCssProperties","variables","root","v","propertyVal","__name","mapThemeColors","colors","result","key","mapThemeSpacing","spacing","mapThemeBorderRadius","borderRadius","mapThemeFont","font","applyTheme","theme","createContext","useEffect","useMemo","jsx","ThemeContext","createContext","ThemeProvider","props","useEffect","applyTheme","value","useMemo","__name","ENVIRONMENTS","createClient","useQuery","useRef","isValidUrl","url","__name","useAuth","auth","options","authId","session","useRef","refetch","useQuery","baseUrl","ENVIRONMENTS","clientConfig","client","npmPackageVersion","debug","isValidProxy","createClient","hasTokenExpired","expiresAt","data","jsx","queryClient","QueryClient","RemoteFlowContextWrapper","children","auth","authId","proxy","environment","remoteApiClient","useAuth","RemoteFlowContext","__name","FormFieldsProvider","components","FormFieldsContext","RemoteFlows","theme","QueryClientProvider","ThemeProvider"]}
@@ -2,7 +2,7 @@ export { c as cn } from './utils-CjDMg_Yr.js';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import * as class_variance_authority_types from 'class-variance-authority/types';
4
4
  import { VariantProps } from 'class-variance-authority';
5
- import * as React from 'react';
5
+ import * as React$1 from 'react';
6
6
  import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
7
7
  import { Drawer as Drawer$1 } from 'vaul';
8
8
  import * as DialogPrimitive from '@radix-ui/react-dialog';
@@ -14,94 +14,90 @@ import * as SelectPrimitive from '@radix-ui/react-select';
14
14
  import 'clsx';
15
15
  import 'yup';
16
16
 
17
- declare const useRouter: () => {
18
- push: (url: string) => void;
19
- replace: (url: string) => void;
20
- back: () => void;
21
- forward: () => void;
22
- setSearchParams: (params: Record<string, string | number | null>) => void;
23
- };
24
-
25
- declare const useSearchParams: () => {
26
- get: (key: string) => string | null;
27
- has: (key: string) => boolean;
28
- toString: () => string;
29
- searchParams: URLSearchParams;
30
- };
31
-
32
17
  declare const buttonVariants: (props?: ({
33
18
  variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
34
19
  size?: "link" | "default" | "sm" | "lg" | "icon" | null | undefined;
35
20
  } & class_variance_authority_types.ClassProp) | undefined) => string;
36
- declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
21
+ declare function Button({ className, variant, size, asChild, ...props }: React$1.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
37
22
  asChild?: boolean;
38
23
  }): react_jsx_runtime.JSX.Element;
39
24
 
40
- declare function Card({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
41
- declare function CardHeader({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
42
- declare function CardTitle({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
43
- declare function CardDescription({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
44
- declare function CardContent({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
45
- declare function CardFooter({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
25
+ interface CardProps extends React$1.ComponentProps<'div'> {
26
+ direction?: 'row' | 'col';
27
+ }
28
+ declare function Card({ className, direction, ...props }: CardProps): react_jsx_runtime.JSX.Element;
29
+ declare function CardHeader({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
30
+ declare function CardTitle({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
31
+ declare function CardDescription({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
32
+ declare function CardContent({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
33
+ declare function CardFooter({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
46
34
 
47
- declare const Collapsible: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React.RefAttributes<HTMLDivElement>>;
48
- declare const CollapsibleTrigger: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React.RefAttributes<HTMLButtonElement>>;
49
- declare const CollapsibleContent: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & React.RefAttributes<HTMLDivElement>>;
35
+ declare const Collapsible: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React$1.RefAttributes<HTMLDivElement>>;
36
+ declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
37
+ declare const CollapsibleContent: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & React$1.RefAttributes<HTMLDivElement>>;
50
38
 
51
39
  declare const Drawer: {
52
- ({ shouldScaleBackground, ...props }: React.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
40
+ ({ shouldScaleBackground, ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
53
41
  displayName: string;
54
42
  };
55
- declare const DrawerTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
56
- declare const DrawerContent: React.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
43
+ declare const DrawerTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
44
+ declare const DrawerContent: React$1.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
57
45
  showHandle?: boolean;
58
- } & React.RefAttributes<HTMLDivElement>>;
46
+ } & React$1.RefAttributes<HTMLDivElement>>;
59
47
  declare const DrawerHeader: {
60
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
48
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
61
49
  displayName: string;
62
50
  };
63
- declare const DrawerTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
51
+ declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
64
52
 
65
- declare function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
66
- declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
67
- declare function DialogContent({ className, children, ...props }: React.ComponentProps<typeof DialogPrimitive.Content>): react_jsx_runtime.JSX.Element;
68
- declare function DialogHeader({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
69
- declare function DialogFooter({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
70
- declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
71
- declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
53
+ declare function Dialog({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
54
+ declare function DialogTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
55
+ declare function DialogContent({ className, children, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Content>): react_jsx_runtime.JSX.Element;
56
+ declare function DialogHeader({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
57
+ declare function DialogFooter({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
58
+ declare function DialogTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
59
+ declare function DialogDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
72
60
 
73
- declare function Tabs({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime.JSX.Element;
74
- declare function TabsList({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime.JSX.Element;
75
- declare function TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
76
- declare function TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime.JSX.Element;
61
+ declare function Tabs({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime.JSX.Element;
62
+ declare function TabsList({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime.JSX.Element;
63
+ declare function TabsTrigger({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
64
+ declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime.JSX.Element;
77
65
 
78
66
  declare const alertVariants: (props?: ({
79
67
  variant?: "default" | "destructive" | "warning" | null | undefined;
80
68
  } & class_variance_authority_types.ClassProp) | undefined) => string;
81
- declare function Alert({ className, variant, ...props }: React.ComponentProps<'div'> & VariantProps<typeof alertVariants>): react_jsx_runtime.JSX.Element;
82
- declare function AlertTitle({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
83
- declare function AlertDescription({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
69
+ declare function Alert({ className, variant, ...props }: React$1.ComponentProps<'div'> & VariantProps<typeof alertVariants>): react_jsx_runtime.JSX.Element;
70
+ declare function AlertTitle({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
71
+ declare function AlertDescription({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
84
72
 
85
73
  declare const badgeVariants: (props?: ({
86
74
  variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
87
75
  } & class_variance_authority_types.ClassProp) | undefined) => string;
88
- declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
76
+ declare function Badge({ className, variant, asChild, ...props }: React$1.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
89
77
  asChild?: boolean;
90
78
  }): react_jsx_runtime.JSX.Element;
91
79
 
92
- declare function Input({ className, type, ...props }: React.ComponentProps<'input'>): react_jsx_runtime.JSX.Element;
80
+ declare function Input({ className, type, ...props }: React$1.ComponentProps<'input'>): react_jsx_runtime.JSX.Element;
81
+
82
+ declare function Label({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
93
83
 
94
- declare function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
84
+ declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
95
85
 
96
- declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
86
+ declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime.JSX.Element;
87
+ declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime.JSX.Element;
97
88
 
98
- declare function RadioGroup({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime.JSX.Element;
99
- declare function RadioGroupItem({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime.JSX.Element;
89
+ declare function Select({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime.JSX.Element;
90
+ declare function SelectValue({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime.JSX.Element;
91
+ declare function SelectTrigger({ className, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
92
+ declare function SelectContent({ className, children, position, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime.JSX.Element;
93
+ declare function SelectItem({ className, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime.JSX.Element;
100
94
 
101
- declare function Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime.JSX.Element;
102
- declare function SelectValue({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime.JSX.Element;
103
- declare function SelectTrigger({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
104
- declare function SelectContent({ className, children, position, ...props }: React.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime.JSX.Element;
105
- declare function SelectItem({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime.JSX.Element;
95
+ interface ZendeskTriggerButtonProps {
96
+ zendeskId: number;
97
+ className?: string;
98
+ onClick?: (zendeskId: number) => void;
99
+ children?: React.ReactNode;
100
+ }
101
+ declare function ZendeskTriggerButton({ zendeskId, className, onClick, children, }: ZendeskTriggerButtonProps): react_jsx_runtime.JSX.Element;
106
102
 
107
- export { Alert, AlertDescription, AlertTitle, Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerContent, DrawerHeader, DrawerTitle, DrawerTrigger, Input, Label, RadioGroup, RadioGroupItem, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Tabs, TabsContent, TabsList, TabsTrigger, badgeVariants, buttonVariants, useRouter, useSearchParams };
103
+ export { Alert, AlertDescription, AlertTitle, Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerContent, DrawerHeader, DrawerTitle, DrawerTrigger, Input, Label, RadioGroup, RadioGroupItem, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Tabs, TabsContent, TabsList, TabsTrigger, ZendeskTriggerButton, badgeVariants, buttonVariants };
package/dist/internals.js CHANGED
@@ -1,2 +1,2 @@
1
- import{a as q,b as y,c as z,d as E}from"./chunk-7R6GAOQG.js";import{a as J,b as K}from"./chunk-JNAFD452.js";import{a as B,b as F,c as G,d as L,e as k,f as j}from"./chunk-UBAEG2IO.js";import{a as A,b as H,d as I,e as V,f as h}from"./chunk-FMWLGLES.js";import{a as l,b as p,c as s,d as n,e as C,f as m,g,i as b,j as x,k as f,l as D,m as d,n as u,o as S,p as w,q as P,r as v,s as R}from"./chunk-HHE7W23D.js";import{a as T,b as c}from"./chunk-YS7XEJJP.js";import{a as t}from"./chunk-XCFIBTQN.js";import{a as i,b as a}from"./chunk-SHFIZENN.js";import{a as o}from"./chunk-PRK34ZQH.js";import{a as r}from"./chunk-HGLI6PUM.js";import"./chunk-P37U34EQ.js";import*as e from"@radix-ui/react-collapsible";var M=e.Root,N=e.CollapsibleTrigger,O=e.CollapsibleContent;export{p as Alert,n as AlertDescription,s as AlertTitle,c as Badge,a as Button,B as Card,k as CardContent,L as CardDescription,j as CardFooter,F as CardHeader,G as CardTitle,l as Checkbox,M as Collapsible,O as CollapsibleContent,N as CollapsibleTrigger,d as Dialog,S as DialogContent,R as DialogDescription,P as DialogFooter,w as DialogHeader,v as DialogTitle,u as DialogTrigger,A as Drawer,I as DrawerContent,V as DrawerHeader,h as DrawerTitle,H as DrawerTrigger,t as Input,o as Label,C as RadioGroup,m as RadioGroupItem,g as Select,f as SelectContent,D as SelectItem,x as SelectTrigger,b as SelectValue,q as Tabs,E as TabsContent,y as TabsList,z as TabsTrigger,T as badgeVariants,i as buttonVariants,r as cn,J as useRouter,K as useSearchParams};
1
+ import{a as q,b as y,c as z,d as E}from"./chunk-GCVZ4AY2.js";import{a as F,b as G,c as L,d as h,e as k,f as j}from"./chunk-5I6VWJSC.js";import{a as N}from"./chunk-Y4VNFI7K.js";import{a as l,b as i,d as a,e as p,f as n}from"./chunk-77AF2QOD.js";import{a as C,b as m,c as b,d as x,e as f,f as D,g as T,i as c,j as d,k as u,l as w,m as P,n as A,o as H,p as I,q as R,r as V,s as B}from"./chunk-XI3AQ3RM.js";import{a as S,b as v}from"./chunk-G7WJUXZU.js";import{a as t}from"./chunk-CHSULXMN.js";import"./chunk-EGQJ7UBR.js";import"./chunk-3ZWDIEEM.js";import{a as s,b as g}from"./chunk-CSK44J23.js";import{a as o}from"./chunk-EW24LQRE.js";import{a as r}from"./chunk-3LOVCTCN.js";import"./chunk-P37U34EQ.js";import*as e from"@radix-ui/react-collapsible";var J=e.Root,K=e.CollapsibleTrigger,M=e.CollapsibleContent;export{m as Alert,x as AlertDescription,b as AlertTitle,v as Badge,g as Button,F as Card,k as CardContent,h as CardDescription,j as CardFooter,G as CardHeader,L as CardTitle,C as Checkbox,J as Collapsible,M as CollapsibleContent,K as CollapsibleTrigger,P as Dialog,H as DialogContent,B as DialogDescription,R as DialogFooter,I as DialogHeader,V as DialogTitle,A as DialogTrigger,l as Drawer,a as DrawerContent,p as DrawerHeader,n as DrawerTitle,i as DrawerTrigger,t as Input,o as Label,f as RadioGroup,D as RadioGroupItem,T as Select,u as SelectContent,w as SelectItem,d as SelectTrigger,c as SelectValue,q as Tabs,E as TabsContent,y as TabsList,z as TabsTrigger,N as ZendeskTriggerButton,S as badgeVariants,s as buttonVariants,r as cn};
2
2
  //# sourceMappingURL=internals.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/ui/collapsible.tsx"],"sourcesContent":["import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';\n\nconst Collapsible = CollapsiblePrimitive.Root;\n\nconst CollapsibleTrigger = CollapsiblePrimitive.CollapsibleTrigger;\n\nconst CollapsibleContent = CollapsiblePrimitive.CollapsibleContent;\n\nexport { Collapsible, CollapsibleTrigger, CollapsibleContent };\n"],"mappings":"uoBAAA,UAAYA,MAA0B,8BAEtC,IAAMC,EAAmC,OAEnCC,EAA0C,qBAE1CC,EAA0C","names":["CollapsiblePrimitive","Collapsible","CollapsibleTrigger","CollapsibleContent"]}
1
+ {"version":3,"sources":["../src/components/ui/collapsible.tsx"],"sourcesContent":["import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';\n\nconst Collapsible = CollapsiblePrimitive.Root;\n\nconst CollapsibleTrigger = CollapsiblePrimitive.CollapsibleTrigger;\n\nconst CollapsibleContent = CollapsiblePrimitive.CollapsibleContent;\n\nexport { Collapsible, CollapsibleTrigger, CollapsibleContent };\n"],"mappings":"6rBAAA,UAAYA,MAA0B,8BAEtC,IAAMC,EAAmC,OAEnCC,EAA0C,qBAE1CC,EAA0C","names":["CollapsiblePrimitive","Collapsible","CollapsibleTrigger","CollapsibleContent"]}
@@ -110,6 +110,12 @@ type Employment = {
110
110
  [key: string]: unknown;
111
111
  };
112
112
  company_id: string;
113
+ /**
114
+ * Work address information. Its properties may vary depending on the country.
115
+ */
116
+ work_address_details: {
117
+ [key: string]: unknown;
118
+ };
113
119
  work_email: string;
114
120
  status: EmploymentStatus;
115
121
  updated_at: string;
@@ -132,6 +138,12 @@ type Employment = {
132
138
  * A unique reference code for the employment record in a non-Remote system. While uniqueness is recommended, it is not strictly enforced within Remote's system.
133
139
  */
134
140
  external_id?: string;
141
+ /**
142
+ * For the employment models `peo` and `global_payroll`, only [List employments](#operation/get_index_employment) and
143
+ * [Show employment](#operation/get_show_employment) operations are available.
144
+ *
145
+ */
146
+ employment_model: 'global_payroll' | 'peo' | 'eor';
135
147
  personal_email: string;
136
148
  country: Country;
137
149
  user_status?: UserStatus;
@@ -307,7 +319,7 @@ type ResignationOffboarding = {
307
319
  proposed_last_working_day: string;
308
320
  reason_description?: string;
309
321
  requested_by: string;
310
- resignation_reason: 'cancellation_before_start_date' | 'company_culture_or_values' | 'conversion_to_contractor' | 'conversion_to_global_payroll' | 'dissatisfaction_with_remote_service' | 'incapacity_to_perform_inherent_duties' | 'infrastructure_challenges' | 'lack_of_recognition' | 'leadership' | 'mutual_agreement' | 'other' | 'other_job_opportunity' | 'personal_reasons' | 'position_does_not_meet_expectations' | 'relationship_with_coworkers' | 'relocation_from_entity_to_entity_by_employee' | 'relocation_leaving_remote' | 'remuneration_and_benefits' | 'retirement' | 'transfer_and_relocation_new_customer_and_new_country' | 'transfer_between_remote_customer' | 'transfer_from_remote_to_customer' | 'transfer_from_remote_to_other_eor';
322
+ resignation_reason: 'cancellation_before_start_date' | 'company_culture_or_values' | 'conversion_to_contractor' | 'conversion_to_global_payroll' | 'conversion_to_peo' | 'dissatisfaction_with_remote_service' | 'incapacity_to_perform_inherent_duties' | 'infrastructure_challenges' | 'lack_of_recognition' | 'leadership' | 'mutual_agreement' | 'other' | 'other_job_opportunity' | 'personal_reasons' | 'position_does_not_meet_expectations' | 'relationship_with_coworkers' | 'relocation_from_entity_to_entity_by_employee' | 'relocation_leaving_remote' | 'remuneration_and_benefits' | 'retirement' | 'transfer_and_relocation_new_customer_and_new_country' | 'transfer_between_remote_customer' | 'transfer_from_remote_to_customer' | 'transfer_from_remote_to_other_eor';
311
323
  status: 'submitted' | 'in_review' | 'done' | 'canceled';
312
324
  submitted_at: string;
313
325
  /**
@@ -524,6 +536,10 @@ type CostCalculatorCosts = {
524
536
  * The annual indirect tax that a company must pay for this employment
525
537
  */
526
538
  annual_indirect_tax?: number;
539
+ /**
540
+ * The annual management fees
541
+ */
542
+ annual_management_fee?: number;
527
543
  /**
528
544
  * The annual gross salary + annual contributions + annual fee (monthly fee * 12) + extra statutory payments if applicable
529
545
  */
@@ -562,6 +578,10 @@ type CostCalculatorCosts = {
562
578
  * The monthly indirect tax that a company must pay for this employment
563
579
  */
564
580
  monthly_indirect_tax?: number;
581
+ /**
582
+ * The monthly management fees
583
+ */
584
+ monthly_management_fee?: number;
565
585
  /**
566
586
  * Monthly gross salary + monthly contributions (doesn't include fee)
567
587
  */
@@ -1165,6 +1185,21 @@ type PostCreateOffboardingErrors = {
1165
1185
  500: RequestError;
1166
1186
  };
1167
1187
  type PostCreateOffboardingError = PostCreateOffboardingErrors[keyof PostCreateOffboardingErrors];
1188
+ type PostConvertRawCurrencyConverterErrors = {
1189
+ /**
1190
+ * Unauthorized
1191
+ */
1192
+ 401: UnauthorizedResponse;
1193
+ /**
1194
+ * Not Found
1195
+ */
1196
+ 404: NotFoundResponse;
1197
+ /**
1198
+ * Unprocessable Entity
1199
+ */
1200
+ 422: UnprocessableEntityResponse;
1201
+ };
1202
+ type PostConvertRawCurrencyConverterError = PostConvertRawCurrencyConverterErrors[keyof PostConvertRawCurrencyConverterErrors];
1168
1203
  type PostCreateEmployment2Errors = {
1169
1204
  /**
1170
1205
  * Bad Request
@@ -1335,20 +1370,5 @@ type PostInviteEmploymentInvitationErrors = {
1335
1370
  429: TooManyRequestsResponse;
1336
1371
  };
1337
1372
  type PostInviteEmploymentInvitationError = PostInviteEmploymentInvitationErrors[keyof PostInviteEmploymentInvitationErrors];
1338
- type PostConvertCurrencyConverterErrors = {
1339
- /**
1340
- * Unauthorized
1341
- */
1342
- 401: UnauthorizedResponse;
1343
- /**
1344
- * Not Found
1345
- */
1346
- 404: NotFoundResponse;
1347
- /**
1348
- * Unprocessable Entity
1349
- */
1350
- 422: UnprocessableEntityResponse;
1351
- };
1352
- type PostConvertCurrencyConverterError = PostConvertCurrencyConverterErrors[keyof PostConvertCurrencyConverterErrors];
1353
1373
 
1354
- export type { CreateContractEligibilityParams as A, PostCreateOffboardingError as B, ContractAmendmentAutomatableResponse as C, TimeoffStatus as D, EmploymentShowResponse as E, CostCalculatorEmployment as F, Currency as G, ListTimeoffResponse as L, MinimalRegion as M, OffboardingResponse as O, PostAutomatableContractAmendmentError as P, SuccessResponse as S, TerminationDetailsParams as T, UnifiedEmploymentUpsertBenefitOffersRequest as U, ValidationError as V, ContractAmendmentResponse as a, PostCreateContractAmendmentError as b, CostCalculatorEstimateResponse as c, CostCalculatorEstimatePdfResponse as d, PostCreateEstimationPdfError as e, CostCalculatorEstimateParams as f, PostCreateEstimationError as g, EmploymentTermType as h, Employment as i, Company as j, PostInviteEmploymentInvitationError as k, PostCreateRiskReserveError as l, EmploymentCreationResponse as m, PostCreateEmployment2Error as n, EmploymentCreateParams as o, EmploymentResponse as p, PatchUpdateEmployment2Error as q, EmploymentFullParams as r, PutUpdateBenefitOfferError as s, MagicLinkResponse as t, UnprocessableEntityResponse as u, MagicLinkParams as v, ConvertCurrencyResponse as w, PostConvertCurrencyConverterError as x, ConvertCurrencyParams as y, PostCreateContractEligibilityError as z };
1374
+ export type { CreateContractEligibilityParams as A, CostCalculatorEmployment as B, ContractAmendmentAutomatableResponse as C, MinimalCountry as D, EmploymentShowResponse as E, PostCreateOffboardingError as F, TimeoffStatus as G, Currency as H, ListTimeoffResponse as L, MinimalRegion as M, OffboardingResponse as O, PostAutomatableContractAmendmentError as P, SuccessResponse as S, TerminationDetailsParams as T, UnifiedEmploymentUpsertBenefitOffersRequest as U, ValidationError as V, ContractAmendmentResponse as a, PostCreateContractAmendmentError as b, CostCalculatorEstimateResponse as c, CostCalculatorEstimatePdfResponse as d, PostCreateEstimationPdfError as e, CostCalculatorEstimateParams as f, PostCreateEstimationError as g, EmploymentTermType as h, Employment as i, Company as j, PostInviteEmploymentInvitationError as k, PostCreateRiskReserveError as l, EmploymentCreationResponse as m, PostCreateEmployment2Error as n, EmploymentCreateParams as o, EmploymentResponse as p, PatchUpdateEmployment2Error as q, EmploymentFullParams as r, PutUpdateBenefitOfferError as s, MagicLinkResponse as t, UnprocessableEntityResponse as u, MagicLinkParams as v, ConvertCurrencyResponse as w, PostConvertRawCurrencyConverterError as x, ConvertCurrencyParams as y, PostCreateContractEligibilityError as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remoteoss/remote-flows",
3
- "version": "0.10.0",
3
+ "version": "0.12.0",
4
4
  "scripts": {
5
5
  "build": "NODE_ENV=production tsup",
6
6
  "ci": "npm run build && npm run check-format && npm run check-exports && npm run lint && npm run test",
@@ -64,8 +64,11 @@
64
64
  "dependencies": {
65
65
  "@hey-api/client-fetch": "^0.8.1",
66
66
  "@hookform/resolvers": "^4.1.3",
67
+ "@radix-ui/react-accordion": "^1.2.12",
67
68
  "@radix-ui/react-checkbox": "^1.1.4",
69
+ "@radix-ui/react-collapsible": "1.1.2",
68
70
  "@radix-ui/react-dialog": "^1.1.13",
71
+ "@radix-ui/react-dropdown-menu": "^2.1.16",
69
72
  "@radix-ui/react-label": "^2.1.2",
70
73
  "@radix-ui/react-popover": "^1.1.6",
71
74
  "@radix-ui/react-radio-group": "^1.2.3",
@@ -75,7 +78,6 @@
75
78
  "@radix-ui/react-slot": "^1.1.2",
76
79
  "@radix-ui/react-tabs": "^1.1.3",
77
80
  "@radix-ui/react-tooltip": "^1.1.8",
78
- "@radix-ui/react-collapsible": "1.1.2",
79
81
  "@remoteoss/json-schema-form": "0.11.10-beta.0",
80
82
  "@tailwindcss/cli": "^4.0.9",
81
83
  "@tailwindcss/postcss": "^4.0.9",
@@ -95,6 +97,7 @@
95
97
  "lucide-react": "0.477.0",
96
98
  "postcss": "^8.5.3",
97
99
  "react-day-picker": "^8.10.1",
100
+ "react-flagpack": "^2.0.6",
98
101
  "react-hook-form": "^7.54.2",
99
102
  "recharts": "^2.15.1",
100
103
  "tailwind-merge": "^3.0.2",
@@ -1,2 +0,0 @@
1
- import{a as b,b as y}from"./chunk-JNAFD452.js";import{a as w,b as f,d as g,e as h,f as v,g as D}from"./chunk-FMWLGLES.js";import{e as p}from"./chunk-FQNVKX3N.js";import{d as m}from"./chunk-3ZWDIEEM.js";import{e as u}from"./chunk-HGLI6PUM.js";import{a as e}from"./chunk-P37U34EQ.js";import{jsx as T,jsxs as x}from"react/jsx-runtime";var P=e(({children:a,content:t})=>x("div",{className:"relative inline-block group",children:[a,x("div",{className:"absolute bottom-full right-0 mb-2 px-3 py-2 bg-gray-900 text-white text-xs rounded-md opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-200 z-50 w-64 whitespace-normal break-words",children:[t,T("div",{className:"absolute top-full right-3 border-4 border-transparent border-t-gray-900"})]})]}),"BasicTooltip");import{useQuery as Z}from"@tanstack/react-query";var N=e((a,t)=>{let{client:s}=m();return Z({queryKey:["zendesk-article",a],queryFn:e(async()=>{let r=await p({client:s,headers:{Authorization:""},path:{id:Number(a)}});if(r.error)throw new Error(r.error.message||"Failed to fetch article");return r},"queryFn"),select:e(r=>r.data?.data.help_center_article,"select"),retry:!1,...t})},"useZendeskArticle");import{useEffect as F,useState as H}from"react";import{jsx as o,jsxs as i}from"react/jsx-runtime";var J=e(({Trigger:a,zendeskId:t,zendeskURL:s})=>{let[r,l]=H(!1),c=y(),k=b();F(()=>{let n=c.get("articleId");l(n===t)},[c,t]);let C=e(()=>{k.setSearchParams({articleId:null}),l(!1)},"handleClose"),{data:d,isLoading:R,error:_}=N(t,{enabled:r});return i(w,{open:r,onOpenChange:n=>!n&&C(),direction:"right",children:[o(f,{asChild:!0,children:a}),o(g,{className:"h-full w-[480px] mt-0 ml-auto RemoteFlows_ZendeskDrawer",children:i("div",{className:"h-full flex flex-col",children:[i(h,{children:[o(v,{children:d?.title}),i(D,{children:["For more details see our"," ",o("a",{href:s,target:"_blank",rel:"noopener noreferrer",children:"help article"})," "]})]}),R&&o("div",{children:"Loading..."}),_&&o("div",{className:"text-sm p-4 text-red-500",children:"Error loading article"}),o("div",{className:"flex-1 overflow-y-auto p-4 RemoteFlows_ZendeskDrawer__Content",dangerouslySetInnerHTML:{__html:u(d?.body||"")}})]})})]})},"ZendeskDrawer");export{P as a,J as b};
2
- //# sourceMappingURL=chunk-2NDBK2EZ.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/ui/basic-tooltip.tsx","../src/components/shared/zendesk-drawer/api.ts","../src/components/shared/zendesk-drawer/ZendeskDrawer.tsx"],"sourcesContent":["export const BasicTooltip = ({\n children,\n content,\n}: {\n children: React.ReactNode;\n content: React.ReactNode;\n}) => {\n return (\n <div className=\"relative inline-block group\">\n {children}\n <div className=\"absolute bottom-full right-0 mb-2 px-3 py-2 bg-gray-900 text-white text-xs rounded-md opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-200 z-50 w-64 whitespace-normal break-words\">\n {content}\n <div className=\"absolute top-full right-3 border-4 border-transparent border-t-gray-900\"></div>\n </div>\n </div>\n );\n};\n","import { getShowHelpCenterArticle } from '@/src/client';\nimport { useClient } from '@/src/context';\nimport { Client } from '@hey-api/client-fetch';\nimport { useQuery } from '@tanstack/react-query';\n\nexport const useZendeskArticle = (\n zendeskId: string | 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 getShowHelpCenterArticle({\n client: client as Client,\n headers: {\n Authorization: ``,\n },\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) => data.data?.data.help_center_article,\n retry: false,\n ...queryOptions,\n });\n};\n","import { useZendeskArticle } from '@/src/components/shared/zendesk-drawer/api';\nimport {\n Drawer,\n DrawerTrigger,\n DrawerContent,\n DrawerDescription,\n DrawerHeader,\n DrawerTitle,\n} from '@/src/components/ui/drawer';\nimport { useRouter } from '@/src/lib/router';\nimport { useSearchParams } from '@/src/lib/useSearchParams';\nimport { sanitizeHtml } from '@/src/lib/utils';\nimport { useEffect, useState } from 'react';\n\nexport type ZendeskDrawerProps = {\n Trigger: React.ReactNode;\n zendeskId: string;\n zendeskURL: string;\n};\n\nexport const ZendeskDrawer = ({\n Trigger,\n zendeskId,\n zendeskURL,\n}: ZendeskDrawerProps) => {\n const [isOpen, setIsOpen] = useState(false);\n const searchParams = useSearchParams();\n const router = useRouter();\n\n useEffect(() => {\n const articleId = searchParams.get('articleId');\n setIsOpen(articleId === zendeskId);\n }, [searchParams, zendeskId]);\n\n const handleClose = () => {\n router.setSearchParams({ articleId: null });\n setIsOpen(false);\n };\n\n const { data, isLoading, error } = useZendeskArticle(zendeskId, {\n enabled: isOpen,\n });\n\n return (\n <Drawer\n open={isOpen}\n onOpenChange={(open) => !open && handleClose()}\n direction=\"right\"\n >\n <DrawerTrigger asChild>{Trigger}</DrawerTrigger>\n <DrawerContent className=\"h-full w-[480px] mt-0 ml-auto RemoteFlows_ZendeskDrawer\">\n <div className=\"h-full flex flex-col\">\n <DrawerHeader>\n <DrawerTitle>{data?.title}</DrawerTitle>\n <DrawerDescription>\n For more details see our{' '}\n <a href={zendeskURL} target=\"_blank\" rel=\"noopener noreferrer\">\n help article\n </a>{' '}\n </DrawerDescription>\n </DrawerHeader>\n {isLoading && <div>Loading...</div>}\n {error && (\n <div className=\"text-sm p-4 text-red-500\">\n Error loading article\n </div>\n )}\n <div\n className=\"flex-1 overflow-y-auto p-4 RemoteFlows_ZendeskDrawer__Content\"\n dangerouslySetInnerHTML={{\n __html: sanitizeHtml(data?.body || ''),\n }}\n ></div>\n </div>\n </DrawerContent>\n </Drawer>\n );\n};\n"],"mappings":"0RAUM,OAEE,OAAAA,EAFF,QAAAC,MAAA,oBAVC,IAAMC,EAAeC,EAAA,CAAC,CAC3B,SAAAC,EACA,QAAAC,CACF,IAKIJ,EAAC,OAAI,UAAU,8BACZ,UAAAG,EACDH,EAAC,OAAI,UAAU,4NACZ,UAAAI,EACDL,EAAC,OAAI,UAAU,0EAA0E,G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,EAACuB,EAAA,CAAc,QAAO,GAAE,SAAAnB,EAAQ,EAChCJ,EAACwB,EAAA,CAAc,UAAU,0DACvB,SAAAvB,EAAC,OAAI,UAAU,uBACb,UAAAA,EAACwB,EAAA,CACC,UAAAzB,EAAC0B,EAAA,CAAa,SAAAT,GAAM,MAAM,EAC1BhB,EAAC0B,EAAA,CAAkB,qCACQ,IACzB3B,EAAC,KAAE,KAAMM,EAAY,OAAO,SAAS,IAAI,sBAAsB,wBAE/D,EAAK,KACP,GACF,EACCY,GAAalB,EAAC,OAAI,sBAAU,EAC5BmB,GACCnB,EAAC,OAAI,UAAU,2BAA2B,iCAE1C,EAEFA,EAAC,OACC,UAAU,gEACV,wBAAyB,CACvB,OAAQ4B,EAAaX,GAAM,MAAQ,EAAE,CACvC,EACD,GACH,EACF,GACF,CAEJ,EAzD6B","names":["jsx","jsxs","BasicTooltip","__name","children","content","useQuery","useZendeskArticle","__name","zendeskId","queryOptions","client","useClient","useQuery","response","getShowHelpCenterArticle","data","useEffect","useState","jsx","jsxs","ZendeskDrawer","__name","Trigger","zendeskId","zendeskURL","isOpen","setIsOpen","useState","searchParams","useSearchParams","router","useRouter","useEffect","articleId","handleClose","data","isLoading","error","useZendeskArticle","Drawer","open","DrawerTrigger","DrawerContent","DrawerHeader","DrawerTitle","DrawerDescription","sanitizeHtml"]}
@@ -1,2 +0,0 @@
1
- import{a as o}from"./chunk-JODJFARP.js";import{a as m}from"./chunk-W5DG5WWJ.js";import{a as e}from"./chunk-VX2UC3HG.js";import{a as i}from"./chunk-XSHHMBMT.js";var p={employee_communication:o,termination_details:e,paid_time_off:m,additional_information:i};export{p as a};
2
- //# sourceMappingURL=chunk-2Y22JKVE.js.map