@rufous/ui 0.2.0-beta.1 → 0.2.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 (412) hide show
  1. package/README.md +484 -222
  2. package/dist/main.cjs +13877 -1039
  3. package/dist/main.css +14137 -6052
  4. package/dist/main.d.cts +1719 -71
  5. package/dist/main.d.ts +1719 -71
  6. package/dist/main.js +15344 -213
  7. package/package.json +32 -5
  8. package/dist/Buttons/addButton.cjs +0 -39
  9. package/dist/Buttons/addButton.d.cts +0 -8
  10. package/dist/Buttons/addButton.d.ts +0 -8
  11. package/dist/Buttons/addButton.js +0 -7
  12. package/dist/Buttons/cancelButton.cjs +0 -37
  13. package/dist/Buttons/cancelButton.d.cts +0 -8
  14. package/dist/Buttons/cancelButton.d.ts +0 -8
  15. package/dist/Buttons/cancelButton.js +0 -7
  16. package/dist/Buttons/index.cjs +0 -155
  17. package/dist/Buttons/index.d.cts +0 -5
  18. package/dist/Buttons/index.d.ts +0 -5
  19. package/dist/Buttons/index.js +0 -21
  20. package/dist/Buttons/stdButton.cjs +0 -39
  21. package/dist/Buttons/stdButton.d.cts +0 -8
  22. package/dist/Buttons/stdButton.d.ts +0 -8
  23. package/dist/Buttons/stdButton.js +0 -7
  24. package/dist/Buttons/submitButton.cjs +0 -124
  25. package/dist/Buttons/submitButton.d.cts +0 -13
  26. package/dist/Buttons/submitButton.d.ts +0 -13
  27. package/dist/Buttons/submitButton.js +0 -8
  28. package/dist/CheckBoxes/CheckBox.cjs +0 -62
  29. package/dist/CheckBoxes/CheckBox.d.cjs +0 -17
  30. package/dist/CheckBoxes/CheckBox.d.cts +0 -15
  31. package/dist/CheckBoxes/CheckBox.d.d.cts +0 -15
  32. package/dist/CheckBoxes/CheckBox.d.d.ts +0 -15
  33. package/dist/CheckBoxes/CheckBox.d.js +0 -0
  34. package/dist/CheckBoxes/CheckBox.d.ts +0 -15
  35. package/dist/CheckBoxes/CheckBox.js +0 -7
  36. package/dist/Contexts/rufousThemeProvider.cjs +0 -209
  37. package/dist/Contexts/rufousThemeProvider.d.cts +0 -8
  38. package/dist/Contexts/rufousThemeProvider.d.ts +0 -8
  39. package/dist/Contexts/rufousThemeProvider.js +0 -10
  40. package/dist/DataGrid/DataGrid.cjs +0 -418
  41. package/dist/DataGrid/DataGrid.d.cts +0 -8
  42. package/dist/DataGrid/DataGrid.d.ts +0 -8
  43. package/dist/DataGrid/DataGrid.js +0 -9
  44. package/dist/DataGrid/index.cjs +0 -418
  45. package/dist/DataGrid/index.d.cts +0 -3
  46. package/dist/DataGrid/index.d.ts +0 -3
  47. package/dist/DataGrid/index.js +0 -8
  48. package/dist/DataGrid/types.cjs +0 -17
  49. package/dist/DataGrid/types.d.cts +0 -31
  50. package/dist/DataGrid/types.d.ts +0 -31
  51. package/dist/DataGrid/types.js +0 -0
  52. package/dist/Dialogs/BaseDialog.cjs +0 -133
  53. package/dist/Dialogs/BaseDialog.css +0 -8469
  54. package/dist/Dialogs/BaseDialog.d.cts +0 -31
  55. package/dist/Dialogs/BaseDialog.d.ts +0 -31
  56. package/dist/Dialogs/BaseDialog.js +0 -79
  57. package/dist/Dialogs/index.cjs +0 -139
  58. package/dist/Dialogs/index.css +0 -8469
  59. package/dist/Dialogs/index.d.cts +0 -2
  60. package/dist/Dialogs/index.d.ts +0 -2
  61. package/dist/Dialogs/index.js +0 -79
  62. package/dist/Editors/RichTextEditor.cjs +0 -29477
  63. package/dist/Editors/RichTextEditor.css +0 -7179
  64. package/dist/Editors/RichTextEditor.d.cts +0 -57
  65. package/dist/Editors/RichTextEditor.d.ts +0 -57
  66. package/dist/Editors/RichTextEditor.js +0 -9
  67. package/dist/Editors/index.cjs +0 -29477
  68. package/dist/Editors/index.css +0 -7179
  69. package/dist/Editors/index.d.cts +0 -2
  70. package/dist/Editors/index.d.ts +0 -2
  71. package/dist/Editors/index.js +0 -8
  72. package/dist/Progress/circularProgress.cjs +0 -60
  73. package/dist/Progress/circularProgress.d.cts +0 -9
  74. package/dist/Progress/circularProgress.d.ts +0 -9
  75. package/dist/Progress/circularProgress.js +0 -7
  76. package/dist/TextFields/AddressLookup.cjs +0 -390
  77. package/dist/TextFields/AddressLookup.d.cts +0 -49
  78. package/dist/TextFields/AddressLookup.d.ts +0 -49
  79. package/dist/TextFields/AddressLookup.js +0 -11
  80. package/dist/TextFields/FloatingInput.cjs +0 -67
  81. package/dist/TextFields/FloatingInput.d.cts +0 -17
  82. package/dist/TextFields/FloatingInput.d.ts +0 -17
  83. package/dist/TextFields/FloatingInput.js +0 -7
  84. package/dist/chunk-2AJACSJ3.js +0 -8
  85. package/dist/chunk-3IBCGGN3.js +0 -48
  86. package/dist/chunk-3Y6QBRGD.js +0 -8
  87. package/dist/chunk-4BTXGP7U.js +0 -19
  88. package/dist/chunk-4Y7SQ5EP.js +0 -8
  89. package/dist/chunk-5DAOQ2V5.js +0 -99
  90. package/dist/chunk-5GK5B3FD.js +0 -8
  91. package/dist/chunk-5JWTJ5PY.js +0 -8
  92. package/dist/chunk-5QEWUCKT.js +0 -303
  93. package/dist/chunk-5XKFPQLH.js +0 -8
  94. package/dist/chunk-66HHM7VI.js +0 -468
  95. package/dist/chunk-6FEUS4CQ.js +0 -41
  96. package/dist/chunk-6KIFTMUN.js +0 -8
  97. package/dist/chunk-6SUKO6QW.js +0 -8
  98. package/dist/chunk-763IHEJ2.js +0 -8
  99. package/dist/chunk-77QDKDFI.js +0 -8
  100. package/dist/chunk-7II4Q2WY.js +0 -8
  101. package/dist/chunk-7KRG7VNW.js +0 -0
  102. package/dist/chunk-AH6RCYDL.js +0 -45
  103. package/dist/chunk-AXSFVJ3H.js +0 -10
  104. package/dist/chunk-B2LVMM55.js +0 -8
  105. package/dist/chunk-BMMDUQDJ.js +0 -8
  106. package/dist/chunk-CTBYVXFP.js +0 -31
  107. package/dist/chunk-CTWVJQJ5.js +0 -8
  108. package/dist/chunk-DK3DA5LH.js +0 -8
  109. package/dist/chunk-DLJHWFNG.js +0 -18
  110. package/dist/chunk-DMP72IAP.js +0 -8
  111. package/dist/chunk-E5RTHYCU.js +0 -0
  112. package/dist/chunk-EZI3QGYJ.js +0 -8
  113. package/dist/chunk-FPRXN3DS.js +0 -18
  114. package/dist/chunk-FZCFFVXW.js +0 -10
  115. package/dist/chunk-G2GZDPUL.js +0 -61
  116. package/dist/chunk-GESVGIAP.js +0 -10
  117. package/dist/chunk-GJGRMMAQ.js +0 -0
  118. package/dist/chunk-GL43GPEM.js +0 -18
  119. package/dist/chunk-H372BAXA.js +0 -42
  120. package/dist/chunk-HMG3FW2Q.js +0 -97
  121. package/dist/chunk-J6E3UO2W.js +0 -402
  122. package/dist/chunk-JI5XMLWT.js +0 -8
  123. package/dist/chunk-JVN6QVET.js +0 -8
  124. package/dist/chunk-MNPAE2ZF.js +0 -100
  125. package/dist/chunk-N26C33E6.js +0 -8
  126. package/dist/chunk-N4EJKMJK.js +0 -8
  127. package/dist/chunk-NEGQXBQV.js +0 -29
  128. package/dist/chunk-OJV6F5JC.js +0 -8
  129. package/dist/chunk-Q4DHI3B5.js +0 -8
  130. package/dist/chunk-Q5XKCUE3.js +0 -8
  131. package/dist/chunk-QDMNCTXT.js +0 -8
  132. package/dist/chunk-QIEQRNBE.js +0 -10
  133. package/dist/chunk-QJPQC544.js +0 -29
  134. package/dist/chunk-QPGJCRBS.js +0 -0
  135. package/dist/chunk-QTGVW36I.js +0 -8
  136. package/dist/chunk-QZFGQ5JM.js +0 -157
  137. package/dist/chunk-R3GARAVJ.js +0 -10
  138. package/dist/chunk-R4ISYGEP.js +0 -8
  139. package/dist/chunk-RJ43D3XB.js +0 -18
  140. package/dist/chunk-U7SARO5B.js +0 -10
  141. package/dist/chunk-UPCMMCPQ.js +0 -34
  142. package/dist/chunk-UTBCFDOX.js +0 -8
  143. package/dist/chunk-UTYIBUY2.js +0 -8
  144. package/dist/chunk-WG3Q6GZN.js +0 -29
  145. package/dist/chunk-WHGVO3HV.js +0 -8
  146. package/dist/chunk-WXANSSXF.js +0 -8
  147. package/dist/chunk-WZAU77G7.js +0 -55
  148. package/dist/chunk-XCE3QE6Q.js +0 -8
  149. package/dist/chunk-XHY3OCAQ.js +0 -8
  150. package/dist/chunk-XPJVVKOU.js +0 -8
  151. package/dist/chunk-YRLN3TBF.js +0 -69
  152. package/dist/chunk-YTVUM76D.js +0 -10
  153. package/dist/chunk-YXPBXCY5.js +0 -89
  154. package/dist/chunk-Z7USRFM2.js +0 -8
  155. package/dist/chunk-ZJAV3FEQ.js +0 -48
  156. package/dist/chunk-ZLJDOLXZ.js +0 -8
  157. package/dist/icons/activateUserIcon.cjs +0 -74
  158. package/dist/icons/activateUserIcon.d.cts +0 -8
  159. package/dist/icons/activateUserIcon.d.ts +0 -8
  160. package/dist/icons/activateUserIcon.js +0 -7
  161. package/dist/icons/archivedIcon.cjs +0 -77
  162. package/dist/icons/archivedIcon.d.cts +0 -8
  163. package/dist/icons/archivedIcon.d.ts +0 -8
  164. package/dist/icons/archivedIcon.js +0 -7
  165. package/dist/icons/assignGroupIcon.cjs +0 -129
  166. package/dist/icons/assignGroupIcon.d.cts +0 -8
  167. package/dist/icons/assignGroupIcon.d.ts +0 -8
  168. package/dist/icons/assignGroupIcon.js +0 -7
  169. package/dist/icons/closeIcon.cjs +0 -37
  170. package/dist/icons/closeIcon.d.cts +0 -8
  171. package/dist/icons/closeIcon.d.ts +0 -8
  172. package/dist/icons/closeIcon.js +0 -7
  173. package/dist/icons/copyIcon.cjs +0 -70
  174. package/dist/icons/copyIcon.d.cts +0 -8
  175. package/dist/icons/copyIcon.d.ts +0 -8
  176. package/dist/icons/copyIcon.js +0 -7
  177. package/dist/icons/difficultyAllIcon.cjs +0 -37
  178. package/dist/icons/difficultyAllIcon.d.cts +0 -8
  179. package/dist/icons/difficultyAllIcon.d.ts +0 -8
  180. package/dist/icons/difficultyAllIcon.js +0 -7
  181. package/dist/icons/difficultyEasyIcon.cjs +0 -37
  182. package/dist/icons/difficultyEasyIcon.d.cts +0 -8
  183. package/dist/icons/difficultyEasyIcon.d.ts +0 -8
  184. package/dist/icons/difficultyEasyIcon.js +0 -7
  185. package/dist/icons/difficultyHardIcon.cjs +0 -37
  186. package/dist/icons/difficultyHardIcon.d.cts +0 -8
  187. package/dist/icons/difficultyHardIcon.d.ts +0 -8
  188. package/dist/icons/difficultyHardIcon.js +0 -7
  189. package/dist/icons/difficultyMediumIcon.cjs +0 -37
  190. package/dist/icons/difficultyMediumIcon.d.cts +0 -8
  191. package/dist/icons/difficultyMediumIcon.d.ts +0 -8
  192. package/dist/icons/difficultyMediumIcon.js +0 -7
  193. package/dist/icons/dollarIcon.cjs +0 -47
  194. package/dist/icons/dollarIcon.d.cts +0 -8
  195. package/dist/icons/dollarIcon.d.ts +0 -8
  196. package/dist/icons/dollarIcon.js +0 -7
  197. package/dist/icons/downloadIcon.cjs +0 -39
  198. package/dist/icons/downloadIcon.d.cts +0 -8
  199. package/dist/icons/downloadIcon.d.ts +0 -8
  200. package/dist/icons/downloadIcon.js +0 -7
  201. package/dist/icons/downloadPdfIcon.cjs +0 -37
  202. package/dist/icons/downloadPdfIcon.d.cts +0 -8
  203. package/dist/icons/downloadPdfIcon.d.ts +0 -8
  204. package/dist/icons/downloadPdfIcon.js +0 -7
  205. package/dist/icons/editChatIcon.cjs +0 -37
  206. package/dist/icons/editChatIcon.d.cts +0 -8
  207. package/dist/icons/editChatIcon.d.ts +0 -8
  208. package/dist/icons/editChatIcon.js +0 -7
  209. package/dist/icons/editIcon.cjs +0 -71
  210. package/dist/icons/editIcon.d.cts +0 -8
  211. package/dist/icons/editIcon.d.ts +0 -8
  212. package/dist/icons/editIcon.js +0 -7
  213. package/dist/icons/engagementIcon.cjs +0 -37
  214. package/dist/icons/engagementIcon.d.cts +0 -8
  215. package/dist/icons/engagementIcon.d.ts +0 -8
  216. package/dist/icons/engagementIcon.js +0 -7
  217. package/dist/icons/functionIcon.cjs +0 -37
  218. package/dist/icons/functionIcon.d.cts +0 -8
  219. package/dist/icons/functionIcon.d.ts +0 -8
  220. package/dist/icons/functionIcon.js +0 -7
  221. package/dist/icons/helpOutlinedIcon.cjs +0 -39
  222. package/dist/icons/helpOutlinedIcon.d.cts +0 -8
  223. package/dist/icons/helpOutlinedIcon.d.ts +0 -8
  224. package/dist/icons/helpOutlinedIcon.js +0 -7
  225. package/dist/icons/hierarchyIcon.cjs +0 -84
  226. package/dist/icons/hierarchyIcon.d.cts +0 -8
  227. package/dist/icons/hierarchyIcon.d.ts +0 -8
  228. package/dist/icons/hierarchyIcon.js +0 -7
  229. package/dist/icons/inactiveGroupIcon.cjs +0 -37
  230. package/dist/icons/inactiveGroupIcon.d.cts +0 -8
  231. package/dist/icons/inactiveGroupIcon.d.ts +0 -8
  232. package/dist/icons/inactiveGroupIcon.js +0 -7
  233. package/dist/icons/index.cjs +0 -1056
  234. package/dist/icons/index.d.cts +0 -57
  235. package/dist/icons/index.d.ts +0 -57
  236. package/dist/icons/index.js +0 -228
  237. package/dist/icons/industryIcon.cjs +0 -48
  238. package/dist/icons/industryIcon.d.cts +0 -8
  239. package/dist/icons/industryIcon.d.ts +0 -8
  240. package/dist/icons/industryIcon.js +0 -7
  241. package/dist/icons/invoiceIcon.cjs +0 -37
  242. package/dist/icons/invoiceIcon.d.cts +0 -8
  243. package/dist/icons/invoiceIcon.d.ts +0 -8
  244. package/dist/icons/invoiceIcon.js +0 -7
  245. package/dist/icons/locationPinIcon.cjs +0 -37
  246. package/dist/icons/locationPinIcon.d.cts +0 -8
  247. package/dist/icons/locationPinIcon.d.ts +0 -8
  248. package/dist/icons/locationPinIcon.js +0 -7
  249. package/dist/icons/logsIcon.cjs +0 -37
  250. package/dist/icons/logsIcon.d.cts +0 -8
  251. package/dist/icons/logsIcon.d.ts +0 -8
  252. package/dist/icons/logsIcon.js +0 -7
  253. package/dist/icons/minExperienceIcon.cjs +0 -47
  254. package/dist/icons/minExperienceIcon.d.cts +0 -8
  255. package/dist/icons/minExperienceIcon.d.ts +0 -8
  256. package/dist/icons/minExperienceIcon.js +0 -7
  257. package/dist/icons/nineDotMenuIcon.cjs +0 -39
  258. package/dist/icons/nineDotMenuIcon.d.cts +0 -8
  259. package/dist/icons/nineDotMenuIcon.d.ts +0 -8
  260. package/dist/icons/nineDotMenuIcon.js +0 -7
  261. package/dist/icons/notificationIcon.cjs +0 -39
  262. package/dist/icons/notificationIcon.d.cts +0 -8
  263. package/dist/icons/notificationIcon.d.ts +0 -8
  264. package/dist/icons/notificationIcon.js +0 -7
  265. package/dist/icons/projectIcon.cjs +0 -47
  266. package/dist/icons/projectIcon.d.cts +0 -8
  267. package/dist/icons/projectIcon.d.ts +0 -8
  268. package/dist/icons/projectIcon.js +0 -7
  269. package/dist/icons/qualificationsIcon.cjs +0 -37
  270. package/dist/icons/qualificationsIcon.d.cts +0 -8
  271. package/dist/icons/qualificationsIcon.d.ts +0 -8
  272. package/dist/icons/qualificationsIcon.js +0 -7
  273. package/dist/icons/questionStatusAllIcon.cjs +0 -37
  274. package/dist/icons/questionStatusAllIcon.d.cts +0 -8
  275. package/dist/icons/questionStatusAllIcon.d.ts +0 -8
  276. package/dist/icons/questionStatusAllIcon.js +0 -7
  277. package/dist/icons/questionStatusPrivateIcon.cjs +0 -37
  278. package/dist/icons/questionStatusPrivateIcon.d.cts +0 -8
  279. package/dist/icons/questionStatusPrivateIcon.d.ts +0 -8
  280. package/dist/icons/questionStatusPrivateIcon.js +0 -7
  281. package/dist/icons/questionStatusPublicIcon.cjs +0 -37
  282. package/dist/icons/questionStatusPublicIcon.d.cts +0 -8
  283. package/dist/icons/questionStatusPublicIcon.d.ts +0 -8
  284. package/dist/icons/questionStatusPublicIcon.js +0 -7
  285. package/dist/icons/questionTypeAllIcon.cjs +0 -37
  286. package/dist/icons/questionTypeAllIcon.d.cts +0 -8
  287. package/dist/icons/questionTypeAllIcon.d.ts +0 -8
  288. package/dist/icons/questionTypeAllIcon.js +0 -7
  289. package/dist/icons/questionTypeCodingIcon.cjs +0 -37
  290. package/dist/icons/questionTypeCodingIcon.d.cts +0 -8
  291. package/dist/icons/questionTypeCodingIcon.d.ts +0 -8
  292. package/dist/icons/questionTypeCodingIcon.js +0 -7
  293. package/dist/icons/questionTypeDescriptiveIcon.cjs +0 -37
  294. package/dist/icons/questionTypeDescriptiveIcon.d.cts +0 -8
  295. package/dist/icons/questionTypeDescriptiveIcon.d.ts +0 -8
  296. package/dist/icons/questionTypeDescriptiveIcon.js +0 -7
  297. package/dist/icons/questionTypeMultipleIcon.cjs +0 -37
  298. package/dist/icons/questionTypeMultipleIcon.d.cts +0 -8
  299. package/dist/icons/questionTypeMultipleIcon.d.ts +0 -8
  300. package/dist/icons/questionTypeMultipleIcon.js +0 -7
  301. package/dist/icons/questionTypeSingleIcon.cjs +0 -37
  302. package/dist/icons/questionTypeSingleIcon.d.cts +0 -8
  303. package/dist/icons/questionTypeSingleIcon.d.ts +0 -8
  304. package/dist/icons/questionTypeSingleIcon.js +0 -7
  305. package/dist/icons/refreshIcon.cjs +0 -39
  306. package/dist/icons/refreshIcon.d.cts +0 -8
  307. package/dist/icons/refreshIcon.d.ts +0 -8
  308. package/dist/icons/refreshIcon.js +0 -7
  309. package/dist/icons/resendInviteIcon.cjs +0 -58
  310. package/dist/icons/resendInviteIcon.d.cts +0 -8
  311. package/dist/icons/resendInviteIcon.d.ts +0 -8
  312. package/dist/icons/resendInviteIcon.js +0 -7
  313. package/dist/icons/rolesIcon.cjs +0 -47
  314. package/dist/icons/rolesIcon.d.cts +0 -8
  315. package/dist/icons/rolesIcon.d.ts +0 -8
  316. package/dist/icons/rolesIcon.js +0 -7
  317. package/dist/icons/rufousAiIcon.cjs +0 -37
  318. package/dist/icons/rufousAiIcon.d.cts +0 -8
  319. package/dist/icons/rufousAiIcon.d.ts +0 -8
  320. package/dist/icons/rufousAiIcon.js +0 -7
  321. package/dist/icons/rufousBirdIcon.cjs +0 -37
  322. package/dist/icons/rufousBirdIcon.d.cts +0 -8
  323. package/dist/icons/rufousBirdIcon.d.ts +0 -8
  324. package/dist/icons/rufousBirdIcon.js +0 -7
  325. package/dist/icons/rufousLauncherBird.cjs +0 -186
  326. package/dist/icons/rufousLauncherBird.d.cts +0 -8
  327. package/dist/icons/rufousLauncherBird.d.ts +0 -8
  328. package/dist/icons/rufousLauncherBird.js +0 -7
  329. package/dist/icons/sidebarIcon.cjs +0 -37
  330. package/dist/icons/sidebarIcon.d.cts +0 -8
  331. package/dist/icons/sidebarIcon.d.ts +0 -8
  332. package/dist/icons/sidebarIcon.js +0 -7
  333. package/dist/icons/softSkillsIcon.cjs +0 -37
  334. package/dist/icons/softSkillsIcon.d.cts +0 -8
  335. package/dist/icons/softSkillsIcon.d.ts +0 -8
  336. package/dist/icons/softSkillsIcon.js +0 -7
  337. package/dist/icons/subscribeIcon.cjs +0 -37
  338. package/dist/icons/subscribeIcon.d.cts +0 -8
  339. package/dist/icons/subscribeIcon.d.ts +0 -8
  340. package/dist/icons/subscribeIcon.js +0 -7
  341. package/dist/icons/suspendUserIcon.cjs +0 -37
  342. package/dist/icons/suspendUserIcon.d.cts +0 -8
  343. package/dist/icons/suspendUserIcon.d.ts +0 -8
  344. package/dist/icons/suspendUserIcon.js +0 -7
  345. package/dist/icons/technicalSkillsIcon.cjs +0 -37
  346. package/dist/icons/technicalSkillsIcon.d.cts +0 -8
  347. package/dist/icons/technicalSkillsIcon.d.ts +0 -8
  348. package/dist/icons/technicalSkillsIcon.js +0 -7
  349. package/dist/icons/tickIcon.cjs +0 -37
  350. package/dist/icons/tickIcon.d.cts +0 -8
  351. package/dist/icons/tickIcon.d.ts +0 -8
  352. package/dist/icons/tickIcon.js +0 -7
  353. package/dist/icons/timerIcon.cjs +0 -37
  354. package/dist/icons/timerIcon.d.cts +0 -8
  355. package/dist/icons/timerIcon.d.ts +0 -8
  356. package/dist/icons/timerIcon.js +0 -7
  357. package/dist/icons/trashIcon.cjs +0 -37
  358. package/dist/icons/trashIcon.d.cts +0 -8
  359. package/dist/icons/trashIcon.d.ts +0 -8
  360. package/dist/icons/trashIcon.js +0 -7
  361. package/dist/icons/unArchivedIcon.cjs +0 -77
  362. package/dist/icons/unArchivedIcon.d.cts +0 -8
  363. package/dist/icons/unArchivedIcon.d.ts +0 -8
  364. package/dist/icons/unArchivedIcon.js +0 -7
  365. package/dist/icons/unsubscribeIcon.cjs +0 -37
  366. package/dist/icons/unsubscribeIcon.d.cts +0 -8
  367. package/dist/icons/unsubscribeIcon.d.ts +0 -8
  368. package/dist/icons/unsubscribeIcon.js +0 -7
  369. package/dist/icons/uploadIcon.cjs +0 -37
  370. package/dist/icons/uploadIcon.d.cts +0 -8
  371. package/dist/icons/uploadIcon.d.ts +0 -8
  372. package/dist/icons/uploadIcon.js +0 -7
  373. package/dist/icons/userAssignIcon.cjs +0 -90
  374. package/dist/icons/userAssignIcon.d.cts +0 -8
  375. package/dist/icons/userAssignIcon.d.ts +0 -8
  376. package/dist/icons/userAssignIcon.js +0 -7
  377. package/dist/icons/viewIcon.cjs +0 -37
  378. package/dist/icons/viewIcon.d.cts +0 -8
  379. package/dist/icons/viewIcon.d.ts +0 -8
  380. package/dist/icons/viewIcon.js +0 -7
  381. package/dist/icons/workItemIcon.cjs +0 -58
  382. package/dist/icons/workItemIcon.d.cts +0 -8
  383. package/dist/icons/workItemIcon.d.ts +0 -8
  384. package/dist/icons/workItemIcon.js +0 -7
  385. package/dist/style.css +0 -1181
  386. package/dist/style.d.cts +0 -2
  387. package/dist/style.d.ts +0 -2
  388. package/dist/styles/address-lookup.css +0 -107
  389. package/dist/styles/address-lookup.d.cts +0 -2
  390. package/dist/styles/address-lookup.d.ts +0 -2
  391. package/dist/styles/button.css +0 -109
  392. package/dist/styles/button.d.cts +0 -2
  393. package/dist/styles/button.d.ts +0 -2
  394. package/dist/styles/checkbox.css +0 -60
  395. package/dist/styles/checkbox.d.cts +0 -2
  396. package/dist/styles/checkbox.d.ts +0 -2
  397. package/dist/styles/datagrid.css +0 -531
  398. package/dist/styles/datagrid.d.cts +0 -2
  399. package/dist/styles/datagrid.d.ts +0 -2
  400. package/dist/styles/dialog.css +0 -118
  401. package/dist/styles/dialog.d.cts +0 -2
  402. package/dist/styles/dialog.d.ts +0 -2
  403. package/dist/styles/editor.css +0 -211
  404. package/dist/styles/editor.d.cts +0 -2
  405. package/dist/styles/editor.d.ts +0 -2
  406. package/dist/styles/progress.css +0 -36
  407. package/dist/styles/progress.d.cts +0 -2
  408. package/dist/styles/progress.d.ts +0 -2
  409. package/dist/utils/constants.cjs +0 -112
  410. package/dist/utils/constants.d.cts +0 -78
  411. package/dist/utils/constants.d.ts +0 -78
  412. package/dist/utils/constants.js +0 -7
@@ -1,468 +0,0 @@
1
- // lib/Editors/RichTextEditor.tsx
2
- import React, { useEffect, useRef, useState } from "react";
3
- import JoditReact from "jodit-react";
4
- var MOBILE_BREAKPOINT = 768;
5
- var TODO_STATES = [
6
- { label: "Todo", name: "empty", imageUrl: "https://storage.googleapis.com/rufous-com-bucket-1/static/images/todo-blank.svg" },
7
- { label: "Working", name: "working", imageUrl: "https://storage.googleapis.com/rufous-com-bucket-1/static/images/working.svg" },
8
- { label: "Blocked", name: "blocked", imageUrl: "https://storage.googleapis.com/rufous-com-bucket-1/static/images/blocked.svg" },
9
- { label: "Resolved", name: "resolved", imageUrl: "https://storage.googleapis.com/rufous-com-bucket-1/static/images/closed.svg" }
10
- ];
11
- var BASIC_BUTTONS = [
12
- "paragraph",
13
- "fontsize",
14
- "font",
15
- "bold",
16
- "italic",
17
- "link",
18
- "lineHeight",
19
- "|",
20
- "ul",
21
- "ol",
22
- "|",
23
- "align",
24
- "outdent",
25
- "indent",
26
- "|",
27
- "brush",
28
- "table",
29
- "image",
30
- "video",
31
- "|"
32
- ];
33
- var MOBILE_BUTTONS = ["paragraph", "bold"];
34
- var MORE_BUTTONS = ["spellcheck", "cut", "copy", "symbols"];
35
- var UNDO_REDO = ["undo", "redo", "|"];
36
- var AI_BUTTONS = ["|", "ai-commands", "|"];
37
- function debounce(fn, delay) {
38
- let t;
39
- return (...args) => {
40
- clearTimeout(t);
41
- t = setTimeout(() => fn(...args), delay);
42
- };
43
- }
44
- function createTodoItem(stateName = "empty") {
45
- const state = TODO_STATES.find((s) => s.name === stateName) ?? TODO_STATES[0];
46
- const container = document.createElement("p");
47
- container.classList.add("todo-item");
48
- const btn = document.createElement("button");
49
- btn.classList.add("todo-item-button");
50
- btn.setAttribute("contenteditable", "false");
51
- const img = document.createElement("img");
52
- img.src = state.imageUrl;
53
- img.alt = state.label;
54
- btn.appendChild(img);
55
- const span = document.createElement("span");
56
- span.classList.add("todo-item-text");
57
- span.innerText = state.label;
58
- container.appendChild(btn);
59
- container.appendChild(span);
60
- return container;
61
- }
62
- function RichTextEditor({
63
- value = "",
64
- onChange,
65
- onBlur,
66
- onError,
67
- onClose,
68
- onImageUploadSuccess,
69
- height = "300px",
70
- width = "100%",
71
- placeholder = "Start writing\u2026",
72
- disabled = false,
73
- allowResizeY = true,
74
- fullSize = false,
75
- aiSupport = false,
76
- licenseKey = "",
77
- translationKey = "",
78
- token = "",
79
- uploadUrl = "",
80
- mentions,
81
- error,
82
- className = "",
83
- style
84
- }) {
85
- const editorRef = useRef(null);
86
- const containerRef = useRef(null);
87
- const [isMobile, setIsMobile] = useState(false);
88
- const [showAll, setShowAll] = useState(true);
89
- const [isListening, setIsListening] = useState(false);
90
- const [speechText, setSpeechText] = useState("");
91
- const [speechVisible, setSpeechVisible] = useState(false);
92
- const [speechPos, setSpeechPos] = useState({ top: 0, left: 0 });
93
- const recognitionRef = useRef(null);
94
- const silenceTimer = useRef(null);
95
- const interimSpanRef = useRef(null);
96
- useEffect(() => {
97
- const check = () => {
98
- const mobile = window.innerWidth <= MOBILE_BREAKPOINT;
99
- setIsMobile(mobile);
100
- if (!mobile) setShowAll(true);
101
- };
102
- check();
103
- window.addEventListener("resize", check);
104
- return () => window.removeEventListener("resize", check);
105
- }, []);
106
- useEffect(() => {
107
- let cursorTimeout;
108
- import("./esm-5T53WHPT.js").then(({ Jodit }) => {
109
- Jodit.plugins.add("rteKeyLogger", (jodit) => {
110
- const debouncedToggle = debounce((btn, container) => {
111
- const pressed = container.getAttribute("aria-pressed");
112
- if (!pressed || pressed === "false") {
113
- container.setAttribute("aria-pressed", "true");
114
- btn.setAttribute("aria-pressed", "true");
115
- } else {
116
- container.setAttribute("aria-pressed", "false");
117
- btn.setAttribute("aria-pressed", "false");
118
- }
119
- }, 150);
120
- jodit.events.on("keydown", (e) => {
121
- const isTodoShortcut = (e.key === "U" || e.key === "u") && e.shiftKey && (e.metaKey || e.ctrlKey);
122
- if (isTodoShortcut) {
123
- e.preventDefault();
124
- const btnList2 = document.getElementsByClassName("jodit-toolbar-button_insertTodo");
125
- const btn = btnList2[0]?.getElementsByTagName("button")[0];
126
- if (!btn || !btnList2[0]) return false;
127
- const isPressed = btnList2[0].getAttribute("aria-pressed") === "true";
128
- if (!isPressed) {
129
- btnList2[0].setAttribute("aria-pressed", "true");
130
- btn.setAttribute("aria-pressed", "true");
131
- const todo2 = createTodoItem();
132
- jodit.selection.insertNode(todo2);
133
- const textSpan2 = todo2.querySelector("span");
134
- if (textSpan2) setTimeout(() => jodit.selection?.setCursorIn?.(textSpan2), 0);
135
- } else {
136
- btnList2[0].setAttribute("aria-pressed", "false");
137
- btn.setAttribute("aria-pressed", "false");
138
- }
139
- return false;
140
- }
141
- if (e.key === "Delete") {
142
- e.preventDefault();
143
- return false;
144
- }
145
- if (e.key !== "Enter" || e.shiftKey) return;
146
- const btnList = document.getElementsByClassName("jodit-toolbar-button_insertTodo");
147
- if (btnList[0]?.getAttribute("aria-pressed") !== "true") return;
148
- e.preventDefault();
149
- const todo = createTodoItem();
150
- try {
151
- const current = jodit.selection?.current?.();
152
- const container = current ? Jodit.modules.Dom.closest(current, ".todo-item", jodit.editor) : null;
153
- if (container?.parentNode) {
154
- container.after ? container.after(todo) : container.parentNode.insertBefore(todo, container.nextSibling);
155
- } else {
156
- jodit.selection.insertNode(todo);
157
- }
158
- } catch {
159
- jodit.selection.insertNode(todo);
160
- }
161
- const textSpan = todo.querySelector("span");
162
- clearTimeout(cursorTimeout);
163
- cursorTimeout = setTimeout(() => {
164
- if (textSpan) jodit.selection?.setCursorIn?.(textSpan);
165
- }, 100);
166
- });
167
- jodit.events.on("click", (e) => {
168
- const target = e.target;
169
- if (!target.classList.contains("todo-item-button") && !target.closest?.(".todo-item-button")) return;
170
- const btn = target.classList.contains("todo-item-button") ? target : target.closest(".todo-item-button");
171
- const img = btn?.querySelector("img");
172
- if (!img) return;
173
- const cur = TODO_STATES.findIndex((s) => img.src.includes(s.imageUrl.split("/").pop()));
174
- const next = TODO_STATES[(cur + 1) % TODO_STATES.length];
175
- img.src = next.imageUrl;
176
- img.alt = next.label;
177
- });
178
- });
179
- const observer = new MutationObserver(() => {
180
- const popup = document.querySelector(".jodit-popup-container");
181
- if (!popup) return;
182
- ["Open in new tab", "No follow"].forEach((label) => {
183
- popup.querySelectorAll(".jodit-ui-checkbox").forEach((el) => {
184
- const text = el.querySelector(".jodit-ui-checkbox__label")?.textContent?.trim();
185
- if (text !== label) return;
186
- const input = el.querySelector('input[type="checkbox"]');
187
- if (input && !input.checked) {
188
- input.checked = true;
189
- input.dispatchEvent(new Event("change", { bubbles: true }));
190
- }
191
- });
192
- });
193
- });
194
- observer.observe(document.body, { childList: true, subtree: true });
195
- return () => observer.disconnect();
196
- });
197
- return () => clearTimeout(cursorTimeout);
198
- }, []);
199
- const speechButton = {
200
- name: "customSpeechRecognize",
201
- tooltip: isListening ? "Stop listening" : "Speech to Text",
202
- iconURL: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHdpZHRoPSI4MDBweCIgaGVpZ2h0PSI4MDBweCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTIgMUM5Ljc5MDg2IDEgOCAyLjc5MDg2IDggNVYxMkM4IDE0LjIwOTEgOS43OTA4NiAxNiAxMiAxNkMxNC4yMDkxIDE2IDE2IDE0LjIwOTEgMTYgMTJWNUMxNiAyLjc5MDg2IDE0LjIwOTEgMSAxMiAxWk0xMCA1QzEwIDMuODk1NDMgMTAuODk1NCAzIDEyIDNDMTMuMTA0NiAzIDE0IDMuODk1NDMgMTQgNVYxMkMxNCAxMy4xMDQ2IDEzLjEwNDYgMTQgMTIgMTRDMTAuODk1NCAxNCAxMCAxMy4xMDQ2IDEwIDEyVjVaIiBmaWxsPSIjMDAwMDAwIi8+PHBhdGggZD0iTTUgOUM1LjU1MjI4IDkgNiA5LjQ0NzcxIDYgMTBWMTJDNiAxMy41OTEzIDYuNjMyMTQgMTUuMTE3NCA3Ljc1NzM2IDE2LjI0MjZDOC44ODI1OCAxNy4zNjc5IDEwLjQwODcgMTggMTIgMThDMTMuNTkxMyAxOCAxNS4xMTc0IDE3LjM2NzkgMTYuMjQyNiAxNi4yNDI2QzE3LjM2NzkgMTUuMTE3NCAxOCAxMy41OTEzIDE4IDEyVjEwQzE4IDkuNDQ3NzEgMTguNDQ3NyA5IDE5IDlDMTkuNTUyMyA5IDIwIDkuNDQ3NzEgMjAgMTBWMTJDMjAgMTQuMTIxNyAxOS4xNTcxIDE2LjE1NjYgMTcuNjU2OSAxNy42NTY5QzE2LjM5MzggMTguOTE5OSAxNC43NTE4IDE5LjcxNyAxMi45OTgxIDE5LjkzNzVDMTIuOTk5MyAxOS45NTgyIDEzIDE5Ljk3OSAxMyAyMFYyMkMxMyAyMi41NTIzIDEyLjU1MjMgMjMgMTIgMjNDMTEuNDQ3NyAyMyAxMSAyMi41NTIzIDExIDIyVjIwQzExIDE5Ljk3OSAxMS4wMDA2IDE5Ljk1ODIgMTEuMDAxOSAxOS45Mzc1QzkuMjQ4MiAxOS43MTcgNy42MDYyMyAxOC45MTk5IDYuMzQzMTUgMTcuNjU2OUM0Ljg0Mjg1IDE2LjE1NjYgNCAxNC4xMjE3IDQgMTJWMTBDNCA5LjQ0NzcxIDQuNDQ3NzIgOSA1IDlaIiBmaWxsPSIjMDAwMDAwIi8+PC9zdmc+",
203
- exec(editorInstance) {
204
- if (isListening) {
205
- recognitionRef.current?.stop();
206
- return;
207
- }
208
- const SR = window.SpeechRecognition || window.webkitSpeechRecognition;
209
- if (!SR) {
210
- onError?.("Speech Recognition is not supported in this browser.");
211
- return;
212
- }
213
- const recognition = new SR();
214
- recognitionRef.current = recognition;
215
- recognition.continuous = true;
216
- recognition.interimResults = true;
217
- recognition.lang = "en-US";
218
- const finalize = () => {
219
- const span = interimSpanRef.current;
220
- if (span && editorInstance.editor.contains(span)) {
221
- if (span.innerHTML.trim()) {
222
- editorInstance.s.setCursorAfter(span);
223
- span.replaceWith(...Array.from(span.childNodes));
224
- } else {
225
- span.remove();
226
- }
227
- }
228
- interimSpanRef.current = null;
229
- };
230
- recognition.onstart = () => {
231
- setIsListening(true);
232
- setSpeechText("Listening\u2026");
233
- setSpeechVisible(true);
234
- editorInstance.focus();
235
- try {
236
- const sel = editorInstance.selection?.sel;
237
- if (sel?.rangeCount > 0) {
238
- const rect = sel.getRangeAt(0).getBoundingClientRect();
239
- const cRect = containerRef.current?.getBoundingClientRect() ?? { top: 0, left: 0 };
240
- setSpeechPos({ top: rect.bottom - cRect.top + 5, left: rect.left - cRect.left });
241
- }
242
- } catch {
243
- }
244
- };
245
- recognition.onresult = (event) => {
246
- if (silenceTimer.current) clearTimeout(silenceTimer.current);
247
- let finalText = "";
248
- let interimText = "";
249
- for (let i = event.resultIndex; i < event.results.length; i++) {
250
- const t = event.results[i][0].transcript;
251
- if (event.results[i].isFinal) finalText += t;
252
- else interimText += t;
253
- }
254
- if (finalText.trim()) {
255
- finalize();
256
- editorInstance.s.insertHTML(" " + finalText.trim());
257
- }
258
- if (interimText.trim()) {
259
- let span = interimSpanRef.current;
260
- if (!span || !editorInstance.editor.contains(span)) {
261
- finalize();
262
- span = editorInstance.create.inside.span();
263
- editorInstance.s.insertNode(span, false);
264
- interimSpanRef.current = span;
265
- }
266
- span.innerHTML = " " + interimText.trim();
267
- setSpeechText(interimText.trim());
268
- editorInstance.s.setCursorAfter(span);
269
- }
270
- silenceTimer.current = setTimeout(() => recognitionRef.current?.stop(), 2500);
271
- };
272
- recognition.onend = () => {
273
- finalize();
274
- setIsListening(false);
275
- setSpeechVisible(false);
276
- if (silenceTimer.current) clearTimeout(silenceTimer.current);
277
- recognitionRef.current = null;
278
- };
279
- recognition.onerror = () => {
280
- finalize();
281
- setIsListening(false);
282
- setSpeechVisible(false);
283
- };
284
- recognition.start();
285
- }
286
- };
287
- const todoButton = {
288
- name: "insertTodo",
289
- tooltip: "To-do item (\u2318\u21E7U)",
290
- iconURL: TODO_STATES[0].imageUrl,
291
- list: Object.fromEntries(TODO_STATES.map((s) => [s.name, s.label])),
292
- childTemplate: (_editor, _key, text) => `<span>${text}</span>`,
293
- exec: async (jodit, _current, btn) => {
294
- const btnList = document.getElementsByClassName("jodit-toolbar-button_insertTodo");
295
- const el = btnList[0];
296
- const isPressed = el?.getAttribute("aria-pressed") === "true";
297
- if (!isPressed || btn?.control?.name !== "insertTodo") {
298
- const todo = createTodoItem(btn?.control?.name ?? "empty");
299
- jodit.selection.insertNode(todo);
300
- const span = todo.querySelector("span");
301
- if (span) jodit.selection.setCursorIn(span);
302
- }
303
- }
304
- };
305
- const toggleButton = {
306
- name: "toggleButtons",
307
- tooltip: showAll ? "Show less" : "Show more",
308
- iconURL: showAll ? "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj48Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSJub25lIi8+PHBvbHlsaW5lIHBvaW50cz0iOCAxNCAxMiAxMCAxNiAxNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=" : "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj48Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSJub25lIi8+PHBvbHlsaW5lIHBvaW50cz0iOCAxMCAxMiAxNCAxNiAxMCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=",
309
- exec: () => setShowAll((prev) => !prev)
310
- };
311
- const config = React.useMemo(() => {
312
- let uploadConfig = {};
313
- if (uploadUrl) {
314
- const uploadData = {};
315
- uploadConfig = {
316
- uploader: {
317
- url: uploadUrl,
318
- headers: token ? { AuthToken: token } : {},
319
- imagesExtensions: ["jpg", "png", "jpeg", "webp"],
320
- processFileName: (key, file, name) => {
321
- uploadData.file = file;
322
- return [key, file, name];
323
- },
324
- buildData(data) {
325
- const ext = uploadData.file?.name.split(".").pop() ?? "";
326
- if (!["jpg", "png", "jpeg", "webp"].includes(ext.toLowerCase())) {
327
- onError?.("Please choose a jpg, png, jpeg or webp file.");
328
- return new Promise(() => {
329
- });
330
- }
331
- const form = new FormData();
332
- form.append("file", uploadData.file);
333
- form.append("isPublicLink", "true");
334
- return form;
335
- },
336
- isSuccess: (resp) => !resp?.error,
337
- defaultHandlerSuccess(data) {
338
- if (data?.url && this.s) {
339
- this.s.insertImage(data.url);
340
- onImageUploadSuccess?.(data.url);
341
- }
342
- }
343
- }
344
- };
345
- }
346
- const baseButtons = [
347
- ...UNDO_REDO,
348
- ...aiSupport ? AI_BUTTONS : [],
349
- ...isMobile && !showAll ? MOBILE_BUTTONS : BASIC_BUTTONS,
350
- ...isMobile ? ["|"] : [],
351
- ...isMobile && showAll ? MORE_BUTTONS : [],
352
- ...!isMobile ? MORE_BUTTONS : [],
353
- ...onClose ? [{
354
- name: "close",
355
- tooltip: "Close",
356
- iconURL: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E",
357
- exec: () => onClose()
358
- }] : []
359
- ];
360
- return {
361
- readonly: disabled,
362
- license: licenseKey,
363
- toolbar: true,
364
- spellcheck: true,
365
- language: "en",
366
- placeholder,
367
- toolbarButtonSize: "middle",
368
- toolbarAdaptive: false,
369
- showCharsCounter: true,
370
- showWordsCounter: true,
371
- showXPathInStatusbar: false,
372
- askBeforePasteHTML: false,
373
- askBeforePasteFromWord: true,
374
- processPasteFromWord: true,
375
- processPasteHTML: true,
376
- nl2brInPlainText: false,
377
- defaultActionOnPasteFromWord: "insert_as_html",
378
- scrollToPastedContent: true,
379
- link: { noFollowCheckbox: true, openInNewTabCheckbox: true },
380
- defaultLineHeight: 0.5,
381
- lineHeight: [0.5, 1, 1.15, 1.5, 2],
382
- allowResizeY,
383
- width,
384
- height,
385
- ...translationKey ? {
386
- translate: {
387
- provider: "google",
388
- googleProviderOptions: { key: translationKey }
389
- }
390
- } : {},
391
- ...aiSupport ? {
392
- aiAssistant: {
393
- aiAssistantCallback(prompt, htmlFragment) {
394
- return fetch("https://api.openai.com/v1/chat/completions", {
395
- method: "POST",
396
- headers: { "Content-Type": "application/json", Authorization: `Bearer ${window.__RTE_OPENAI_KEY__ ?? ""}` },
397
- body: JSON.stringify({ model: "gpt-3.5-turbo", messages: [{ role: "system", content: prompt }, { role: "user", content: htmlFragment }] })
398
- }).then((r) => r.json()).then((d) => {
399
- if (d.error) throw new Error(d.error.message);
400
- return d.choices?.[0]?.message?.content ?? "";
401
- });
402
- }
403
- }
404
- } : {},
405
- ...mentions?.arr?.length ? {
406
- autocomplete: {
407
- sources: [{
408
- feed: (query) => {
409
- if (!query.includes("@")) return [];
410
- return mentions.arr.filter((m) => m.id.includes(query) || m.name.includes(query));
411
- },
412
- itemRenderer: (item) => `<span class="mention-option">${item.id}</span>`,
413
- insertValueRenderer: (item) => `<span class="mention-jodit" data-mention="${item.id}" data-user-id="${item.userId ?? ""}" href="${item.link ?? ""}">${item.id}</span>`
414
- }]
415
- }
416
- } : {},
417
- ...uploadConfig,
418
- buttons: [...baseButtons, ...fullSize ? ["fullsize"] : []],
419
- extraButtons: [
420
- speechButton,
421
- todoButton,
422
- ...isMobile ? [toggleButton] : []
423
- ],
424
- safePluginList: ["changecase", "rteKeyLogger"]
425
- };
426
- }, [isMobile, showAll, isListening, disabled, aiSupport, licenseKey, translationKey, token, uploadUrl, mentions?.arr?.length, height, width, allowResizeY, fullSize, placeholder]);
427
- return /* @__PURE__ */ React.createElement(
428
- "div",
429
- {
430
- ref: containerRef,
431
- className: `rte-wrapper ${isListening ? "rte-listening" : ""} ${className}`,
432
- style
433
- },
434
- /* @__PURE__ */ React.createElement(
435
- JoditReact,
436
- {
437
- ref: editorRef,
438
- value,
439
- config,
440
- tabIndex: 1,
441
- onChange: (v) => onChange?.(v),
442
- onBlur: (v) => onBlur?.(v)
443
- }
444
- ),
445
- /* @__PURE__ */ React.createElement(
446
- "div",
447
- {
448
- className: "rte-speech-popup",
449
- style: {
450
- top: speechPos.top,
451
- left: speechPos.left,
452
- opacity: speechVisible && speechText ? 1 : 0,
453
- transform: speechVisible ? "translateY(0)" : "translateY(10px)",
454
- pointerEvents: "none"
455
- }
456
- },
457
- /* @__PURE__ */ React.createElement("span", { className: "rte-speech-dot" }),
458
- /* @__PURE__ */ React.createElement("span", null, speechText || "\u2026")
459
- ),
460
- error && /* @__PURE__ */ React.createElement("p", { className: "rte-error" }, error)
461
- );
462
- }
463
- var RichTextEditor_default = RichTextEditor;
464
-
465
- export {
466
- RichTextEditor,
467
- RichTextEditor_default
468
- };
@@ -1,41 +0,0 @@
1
- // lib/icons/copyIcon.tsx
2
- import React from "react";
3
- var CopyIcon = ({ color = "#3a3a3a", ...props }) => {
4
- return /* @__PURE__ */ React.createElement(
5
- "svg",
6
- {
7
- xmlns: "http://www.w3.org/2000/svg",
8
- width: "24",
9
- height: "24",
10
- viewBox: "0 0 24 24",
11
- ...props
12
- },
13
- /* @__PURE__ */ React.createElement("g", { transform: "translate(0 -7)" }, /* @__PURE__ */ React.createElement(
14
- "g",
15
- {
16
- transform: "translate(18 31) rotate(180)",
17
- fill: "#fff",
18
- stroke: color,
19
- strokeWidth: "1.8",
20
- strokeDasharray: "40 28"
21
- },
22
- /* @__PURE__ */ React.createElement("rect", { width: "18", height: "18", stroke: "none" }),
23
- /* @__PURE__ */ React.createElement("rect", { x: "0.9", y: "0.9", width: "16.2", height: "16.2", fill: "none" })
24
- ), /* @__PURE__ */ React.createElement(
25
- "g",
26
- {
27
- transform: "translate(6 7)",
28
- fill: "#fff",
29
- stroke: color,
30
- strokeWidth: "1.8"
31
- },
32
- /* @__PURE__ */ React.createElement("rect", { width: "18", height: "18", stroke: "none" }),
33
- /* @__PURE__ */ React.createElement("rect", { x: "0.9", y: "0.9", width: "16.2", height: "16.2", fill: "none" })
34
- ))
35
- );
36
- };
37
- var copyIcon_default = CopyIcon;
38
-
39
- export {
40
- copyIcon_default
41
- };
@@ -1,8 +0,0 @@
1
- // lib/icons/trashIcon.tsx
2
- import * as React from "react";
3
- var TrashIcon = ({ color = "#3a3a3a", ...props }) => /* @__PURE__ */ React.createElement("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M0.536 0C0.391159 0.0178474 0.257489 0.0869727 0.159175 0.194824C0.0608618 0.302676 0.00439809 0.442142 0 0.588013V5.29401C0.0062252 5.44865 0.0707131 5.59522 0.180519 5.70428C0.290325 5.81335 0.437321 5.87684 0.592 5.88202H1.775V19.411C1.78123 19.5657 1.84571 19.7122 1.95552 19.8213C2.06533 19.9304 2.21232 19.9938 2.367 19.999H17.633C17.7877 19.9938 17.9347 19.9304 18.0445 19.8213C18.1543 19.7122 18.2188 19.5657 18.225 19.411V5.88202H19.408C19.5627 5.87684 19.7097 5.81335 19.8195 5.70428C19.9293 5.59522 19.9938 5.44865 20 5.29401V0.588013C19.9938 0.433373 19.9293 0.286798 19.8195 0.177734C19.7097 0.0686703 19.5627 0.00517666 19.408 0H0.536ZM1.183 1.17603H18.817V4.70502H1.183V1.17603ZM2.958 5.88202H17.041V18.823H2.959L2.958 5.88202Z", fill: color }));
4
- var trashIcon_default = TrashIcon;
5
-
6
- export {
7
- trashIcon_default
8
- };
@@ -1,8 +0,0 @@
1
- // lib/icons/invoiceIcon.tsx
2
- import * as React from "react";
3
- var InvoiceIcon = ({ color = "#3a3a3a", ...props }) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "41.938", height: "55.641", viewBox: "0 0 41.938 55.641", ...props }, /* @__PURE__ */ React.createElement("g", { id: "invoice", transform: "translate(-63.184 -18.684)" }, /* @__PURE__ */ React.createElement("path", { id: "Path_52267", "data-name": "Path 52267", d: "M64.14,18.69a.959.959,0,0,0-.956.956V73.361a.959.959,0,0,0,1.579.737l6.054-5.145,6.045,5.141a.959.959,0,0,0,1.247,0l6.045-5.141L90.2,74.095a.959.959,0,0,0,1.24,0l6.045-5.141,6.055,5.141a.959.959,0,0,0,1.579-.737V19.64a.959.959,0,0,0-.963-.956Zm.963,1.919h38.1V71.3l-5.094-4.334a.959.959,0,0,0-1.24,0L90.823,72.1l-6.044-5.141a.959.959,0,0,0-1.246,0L77.485,72.1l-6.048-5.141a.959.959,0,0,0-1.238,0L65.107,71.3ZM84.15,25.177a.959.959,0,0,0-.963.956v2.019h-.166a4.231,4.231,0,1,0,0,8.461h2.263a2.323,2.323,0,0,1,0,4.647H80.741a.959.959,0,0,0,0,1.919h2.45v2.009a.961.961,0,1,0,1.92,0V43.176h.176a4.236,4.236,0,1,0,0-8.472H83.026a2.323,2.323,0,0,1,0-4.644h4.541a.968.968,0,0,0,.685-.28.952.952,0,0,0-.685-1.628h-2.46V26.131a.959.959,0,0,0-.952-.956Zm-9.2,26.85a.959.959,0,0,0,0,1.919H93.362a.959.959,0,0,0,0-1.919Zm0,7.123a.957.957,0,1,0,0,1.913H93.362a.957.957,0,0,0,0-1.913Z", transform: "translate(0 0)", fill: color, fillRule: "evenodd" })));
4
- var invoiceIcon_default = InvoiceIcon;
5
-
6
- export {
7
- invoiceIcon_default
8
- };
@@ -1,8 +0,0 @@
1
- // lib/icons/tickIcon.tsx
2
- import * as React from "react";
3
- var TickIcon = ({ color = "#3a3a3a", ...props }) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement("g", { id: "Group_11977", "data-name": "Group 11977", transform: "translate(-1582 -20.56)" }, /* @__PURE__ */ React.createElement("g", { id: "Ellipse_339", "data-name": "Ellipse 339", transform: "translate(1582 20.56)", fill: "none", stroke: color, strokeWidth: "1.8" }, /* @__PURE__ */ React.createElement("circle", { cx: "12", cy: "12", r: "12", stroke: "none" }), /* @__PURE__ */ React.createElement("circle", { cx: "12", cy: "12", r: "11.1", fill: "none" })), /* @__PURE__ */ React.createElement("path", { id: "Icon_feather-check", "data-name": "Icon feather-check", d: "M18,9,9.75,17.25,6,13.5", transform: "translate(1582 19.31)", fill: "none", stroke: color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.8" })));
4
- var tickIcon_default = TickIcon;
5
-
6
- export {
7
- tickIcon_default
8
- };
@@ -1,8 +0,0 @@
1
- // lib/icons/inactiveGroupIcon.tsx
2
- import * as React from "react";
3
- var InactiveGroupIcon = ({ color = "#3a3a3a", ...props }) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "25.65", height: "25.8", viewBox: "0 0 25.65 25.8", ...props }, /* @__PURE__ */ React.createElement("g", { id: "Group_24701", "data-name": "Group 24701", transform: "translate(-1787.341 -376.95)" }, /* @__PURE__ */ React.createElement("g", { id: "Group_24689", "data-name": "Group 24689", transform: "translate(1788.091 377.85)" }, /* @__PURE__ */ React.createElement("g", { id: "Group_24686", "data-name": "Group 24686", transform: "translate(3.125)" }, /* @__PURE__ */ React.createElement("circle", { id: "Ellipse_418", "data-name": "Ellipse 418", cx: "4.819", cy: "4.819", r: "4.819", transform: "translate(3.316)", fill: "none", stroke: color, strokeWidth: "1.8" }), /* @__PURE__ */ React.createElement("path", { id: "Path_52610", "data-name": "Path 52610", d: "M307.2,211.642a8.337,8.337,0,0,1,8.342-8.342,8.514,8.514,0,0,1,5.5,2.07", transform: "translate(-307.2 -193.585)", fill: "none", stroke: color, strokeWidth: "1.8" })), /* @__PURE__ */ React.createElement("g", { id: "Group_24694", "data-name": "Group 24694", transform: "translate(17.2 0.829)" }, /* @__PURE__ */ React.createElement("path", { id: "Path_52613", "data-name": "Path 52613", d: "M302.6,169a3.478,3.478,0,1,1,0,6.956", transform: "translate(-302.6 -169)", fill: "none", stroke: color, strokeWidth: "1.5" }), /* @__PURE__ */ React.createElement("path", { id: "Path_52614", "data-name": "Path 52614", d: "M296.175,200.4c2.818,0,5.086,2.84,4.979,5.677", transform: "translate(-296.175 -193.354)", fill: "none", stroke: color, strokeWidth: "1.5" })), /* @__PURE__ */ React.createElement("g", { id: "Group_24695", "data-name": "Group 24695", transform: "translate(0 0.829)" }, /* @__PURE__ */ React.createElement("path", { id: "Path_52613-2", "data-name": "Path 52613", d: "M306.078,169a3.478,3.478,0,1,0,0,6.956", transform: "translate(-301.11 -169)", fill: "none", stroke: color, strokeWidth: "1.5" }), /* @__PURE__ */ React.createElement("path", { id: "Path_52614-2", "data-name": "Path 52614", d: "M301.143,200.4c-3.42,0-4.968,4.4-4.968,6.775", transform: "translate(-296.175 -193.354)", fill: "none", stroke: color, strokeWidth: "1.5" }))), /* @__PURE__ */ React.createElement("g", { id: "Group_24692", "data-name": "Group 24692", transform: "translate(1799.931 389.69)" }, /* @__PURE__ */ React.createElement("ellipse", { id: "Ellipse_415", "data-name": "Ellipse 415", cx: "6.08", cy: "6.08", rx: "6.08", ry: "6.08", fill: "none", stroke: color, strokeWidth: "1.8", "stroke-dasharray": "470 154" }), /* @__PURE__ */ React.createElement("path", { id: "Path_52615", "data-name": "Path 52615", d: "M6.333-7.067v1.291H.531V-7.067h5.8Z", transform: "translate(2.818 12.771)", fill: color }))));
4
- var inactiveGroupIcon_default = InactiveGroupIcon;
5
-
6
- export {
7
- inactiveGroupIcon_default
8
- };
@@ -1,8 +0,0 @@
1
- // lib/icons/questionTypeCodingIcon.tsx
2
- import * as React from "react";
3
- var QuestionTypeCodingIcon = ({ color = "#3a3a3a", ...props }) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement("g", { id: "Group_25232", "data-name": "Group 25232", transform: "translate(-5649 -11854)" }, /* @__PURE__ */ React.createElement("g", { id: "Group_25226", "data-name": "Group 25226", transform: "translate(-3)" }, /* @__PURE__ */ React.createElement("path", { id: "Path_53438", "data-name": "Path 53438", d: "M5657,11861l-3.8,5.05,3.8,4.6", transform: "translate(1.8 -0.301)", fill: "none", stroke: color, strokeLinecap: "round", strokeWidth: "1.6" }), /* @__PURE__ */ React.createElement("path", { id: "Path_53439", "data-name": "Path 53439", d: "M5653.2,11861l3.8,5.05-3.8,4.6", transform: "translate(16 -0.301)", fill: "none", stroke: color, strokeLinecap: "round", strokeWidth: "1.6" }), /* @__PURE__ */ React.createElement("line", { id: "Line_505", "data-name": "Line 505", x1: "4", y2: "16", transform: "translate(5661.5 11857.5)", fill: "none", stroke: color, strokeLinecap: "round", strokeWidth: "1.6" })), /* @__PURE__ */ React.createElement("rect", { id: "Rectangle_19481", "data-name": "Rectangle 19481", width: "24", height: "24", rx: "5", transform: "translate(5649 11854)", fill: "none" })));
4
- var questionTypeCodingIcon_default = QuestionTypeCodingIcon;
5
-
6
- export {
7
- questionTypeCodingIcon_default
8
- };
File without changes
@@ -1,45 +0,0 @@
1
- // lib/icons/activateUserIcon.tsx
2
- import * as React from "react";
3
- var ActivateUserIcon = ({ color = "#3a3a3a", ...props }) => /* @__PURE__ */ React.createElement(
4
- "svg",
5
- {
6
- version: "1.0",
7
- xmlns: "http://www.w3.org/2000/svg",
8
- width: "512.000000pt",
9
- height: "512.000000pt",
10
- viewBox: "0 0 512.000000 512.000000",
11
- preserveAspectRatio: "xMidYMid meet",
12
- ...props
13
- },
14
- /* @__PURE__ */ React.createElement(
15
- "g",
16
- {
17
- transform: "translate(0.000000,512.000000) scale(0.100000,-0.100000)",
18
- fill: color,
19
- stroke: "none"
20
- },
21
- /* @__PURE__ */ React.createElement(
22
- "path",
23
- {
24
- d: "M1465 4094 c-617 -35 -1156 -428 -1366 -997 -161 -437 -117 -925 119\n-1322 205 -345 559 -608 947 -704 186 -46 188 -46 1395 -46 1207 0 1209 0\n1395 46 484 120 894 487 1066 952 221 599 51 1275 -426 1689 -180 156 -408\n278 -625 334 -189 48 -157 47 -1335 49 -610 1 -1137 0 -1170 -1z m2343 -187\nc566 -104 995 -520 1113 -1080 31 -145 31 -389 0 -534 -57 -271 -177 -496\n-368 -689 -202 -205 -460 -339 -751 -392 -89 -15 -195 -17 -1242 -17 -1047 0\n-1153 2 -1242 17 -570 103 -1000 519 -1119 1081 -31 145 -31 389 0 534 88 416\n346 756 718 946 172 87 327 131 523 147 52 4 585 7 1185 6 976 -2 1100 -4\n1183 -19z"
25
- }
26
- ),
27
- /* @__PURE__ */ React.createElement(
28
- "path",
29
- {
30
- d: "M1425 3664 c-158 -24 -268 -56 -380 -112 -379 -189 -615 -569 -615\n-992 0 -531 363 -974 890 -1087 100 -21 320 -23 418 -4 417 81 759 399 867\n803 163 614 -221 1239 -845 1374 -67 14 -282 26 -335 18z m335 -194 c257 -62\n496 -254 615 -495 75 -151 90 -223 90 -415 0 -192 -15 -264 -90 -415 -120\n-242 -357 -432 -620 -496 -119 -30 -305 -32 -419 -5 -341 79 -598 321 -703\n663 -24 80 -27 102 -27 253 0 151 3 173 27 253 116 377 404 622 802 681 61 9\n243 -4 325 -24z"
31
- }
32
- ),
33
- /* @__PURE__ */ React.createElement(
34
- "path",
35
- {
36
- d: "M4145 2974 c-16 -8 -170 -154 -340 -324 l-310 -310 -150 150 c-130\n131 -154 150 -182 150 -17 0 -39 -3 -48 -6 -25 -10 -48 -62 -40 -93 8 -34 349\n-378 393 -397 29 -13 37 -13 65 1 42 20 713 692 726 727 16 41 -4 87 -45 104\n-40 17 -33 17 -69 -2z"
37
- }
38
- )
39
- )
40
- );
41
- var activateUserIcon_default = ActivateUserIcon;
42
-
43
- export {
44
- activateUserIcon_default
45
- };
@@ -1,10 +0,0 @@
1
- // lib/icons/helpOutlinedIcon.tsx
2
- import React from "react";
3
- var HelpOutlinedIcon = ({ color = "#5f6368", ...props }) => {
4
- return /* @__PURE__ */ React.createElement("svg", { width: "32", height: "33", viewBox: "0 0 32 33", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M16 31.3C24.2843 31.3 31 24.5843 31 16.3C31 8.01573 24.2843 1.3 16 1.3C7.71573 1.3 1 8.01573 1 16.3C1 24.5843 7.71573 31.3 16 31.3Z", stroke: color, strokeWidth: "2" }), /* @__PURE__ */ React.createElement("path", { d: "M15.967 7.6C15.2243 7.55686 14.4804 7.66158 13.7785 7.90808C13.0766 8.15458 12.4306 8.53796 11.878 9.036C11.1541 9.79654 10.7029 10.7756 10.595 11.82L12.77 12.1C12.8289 11.5409 13.0651 11.0153 13.444 10.6C13.7819 10.2913 14.1816 10.0579 14.6166 9.91528C15.0515 9.7727 15.5118 9.72421 15.967 9.773C16.9127 9.68268 17.8584 9.94635 18.621 10.513C18.8228 10.6923 18.9822 10.9143 19.0875 11.1628C19.1929 11.4114 19.2415 11.6803 19.23 11.95C19.23 13.755 18.49 14.256 17.403 15.213C16.6339 15.7793 16.006 16.5156 15.5684 17.3646C15.1308 18.2135 14.8951 19.152 14.88 20.107V20.651H17.055V20.107C17.055 18.302 17.729 17.801 18.817 16.844C19.596 16.2825 20.2348 15.5488 20.6837 14.6999C21.1326 13.851 21.3795 12.9099 21.405 11.95C21.4124 11.3782 21.3024 10.8109 21.0817 10.2834C20.861 9.75584 20.5343 9.2792 20.122 8.883C18.9456 7.95187 17.4635 7.49424 15.967 7.6ZM14.88 22.825V25H17.055V22.825H14.88Z", fill: color }));
5
- };
6
- var helpOutlinedIcon_default = HelpOutlinedIcon;
7
-
8
- export {
9
- helpOutlinedIcon_default
10
- };
@@ -1,8 +0,0 @@
1
- // lib/icons/questionStatusPrivateIcon.tsx
2
- import * as React from "react";
3
- var QuestionStatusPrivateIcon = ({ color = "#3a3a3a", ...props }) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement("g", { id: "Group_25259", "data-name": "Group 25259", transform: "translate(-5412 -11820)" }, /* @__PURE__ */ React.createElement("g", { id: "Group_25176", "data-name": "Group 25176", transform: "translate(150 69.4)" }, /* @__PURE__ */ React.createElement("g", { id: "Group_25174", "data-name": "Group 25174", transform: "translate(5265 11751.6)" }, /* @__PURE__ */ React.createElement("g", { id: "Rectangle_19447", "data-name": "Rectangle 19447", transform: "translate(0 8.641)", fill: "none", stroke: color, strokeWidth: "1.6" }, /* @__PURE__ */ React.createElement("rect", { width: "18.333", height: "13.359", rx: "2", stroke: "none" }), /* @__PURE__ */ React.createElement("rect", { x: "0.8", y: "0.8", width: "16.733", height: "11.759", rx: "1.2", fill: "none" })), /* @__PURE__ */ React.createElement("g", { id: "Rectangle_19448", "data-name": "Rectangle 19448", transform: "translate(4)", fill: "none", stroke: color, strokeWidth: "1.6" }, /* @__PURE__ */ React.createElement("path", { d: "M5.517,0h0a5.517,5.517,0,0,1,5.517,5.517V10a0,0,0,0,1,0,0H0a0,0,0,0,1,0,0V5.517A5.517,5.517,0,0,1,5.517,0Z", stroke: "none" }), /* @__PURE__ */ React.createElement("path", { d: "M5.517.8h0a4.717,4.717,0,0,1,4.717,4.717V8.79a.41.41,0,0,1-.41.41H1.21A.41.41,0,0,1,.8,8.79V5.517A4.717,4.717,0,0,1,5.517.8Z", fill: "none" }))), /* @__PURE__ */ React.createElement("g", { id: "Group_25175", "data-name": "Group 25175", transform: "translate(5273.251 11765.721)" }, /* @__PURE__ */ React.createElement("line", { id: "Line_500", "data-name": "Line 500", y2: "2.745", transform: "translate(0.915 0.457)", fill: "none", stroke: color, strokeLinecap: "round", strokeWidth: "1" }), /* @__PURE__ */ React.createElement("g", { id: "Ellipse_352", "data-name": "Ellipse 352", fill: "#fff", stroke: color, strokeWidth: "1" }, /* @__PURE__ */ React.createElement("circle", { cx: "0.915", cy: "0.915", r: "0.915", stroke: "none" }), /* @__PURE__ */ React.createElement("circle", { cx: "0.915", cy: "0.915", r: "0.415", fill: "none" })))), /* @__PURE__ */ React.createElement("g", { id: "Group_25258", "data-name": "Group 25258", transform: "translate(-237 71)" }, /* @__PURE__ */ React.createElement("rect", { id: "Rectangle_19479", "data-name": "Rectangle 19479", width: "24", height: "24", rx: "5", transform: "translate(5649 11749)", fill: "none" }))));
4
- var questionStatusPrivateIcon_default = QuestionStatusPrivateIcon;
5
-
6
- export {
7
- questionStatusPrivateIcon_default
8
- };
@@ -1,8 +0,0 @@
1
- // lib/Buttons/cancelButton.tsx
2
- import * as React from "react";
3
- var CancelButton = ({ children, ...props }) => /* @__PURE__ */ React.createElement("button", { className: "btn cancel-btn", ...props }, children);
4
- var cancelButton_default = CancelButton;
5
-
6
- export {
7
- cancelButton_default
8
- };