@solidxai/core-ui 0.1.7-beta.0 → 0.1.7-beta.10

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 (1329) hide show
  1. package/dist/adapters/auth/helper.d.ts +9 -0
  2. package/dist/adapters/auth/helper.d.ts.map +1 -0
  3. package/dist/adapters/auth/helper.js +37 -0
  4. package/dist/adapters/auth/helper.js.map +1 -0
  5. package/dist/adapters/auth/helper.ts +45 -0
  6. package/dist/adapters/auth/signInWithOtp.d.ts.map +1 -1
  7. package/dist/adapters/auth/signInWithOtp.js +3 -27
  8. package/dist/adapters/auth/signInWithOtp.js.map +1 -1
  9. package/dist/adapters/auth/signInWithOtp.ts +3 -23
  10. package/dist/components/auth/AuthLayout.d.ts.map +1 -1
  11. package/dist/components/auth/AuthLayout.js +41 -26
  12. package/dist/components/auth/AuthLayout.js.map +1 -1
  13. package/dist/components/auth/AuthLayout.tsx +89 -88
  14. package/dist/components/auth/ForgotPasswordThankYou.d.ts.map +1 -1
  15. package/dist/components/auth/ForgotPasswordThankYou.js +4 -2
  16. package/dist/components/auth/ForgotPasswordThankYou.js.map +1 -1
  17. package/dist/components/auth/ForgotPasswordThankYou.tsx +14 -11
  18. package/dist/components/auth/GoogleAuthChecking.d.ts.map +1 -1
  19. package/dist/components/auth/GoogleAuthChecking.js +17 -12
  20. package/dist/components/auth/GoogleAuthChecking.js.map +1 -1
  21. package/dist/components/auth/GoogleAuthChecking.tsx +8 -5
  22. package/dist/components/auth/SolidChangeForcePassword.d.ts.map +1 -1
  23. package/dist/components/auth/SolidChangeForcePassword.js +3 -5
  24. package/dist/components/auth/SolidChangeForcePassword.js.map +1 -1
  25. package/dist/components/auth/SolidChangeForcePassword.tsx +41 -34
  26. package/dist/components/auth/SolidForgotPassword.d.ts.map +1 -1
  27. package/dist/components/auth/SolidForgotPassword.js +5 -10
  28. package/dist/components/auth/SolidForgotPassword.js.map +1 -1
  29. package/dist/components/auth/SolidForgotPassword.tsx +26 -27
  30. package/dist/components/auth/SolidInitialLoginOtp.d.ts.map +1 -1
  31. package/dist/components/auth/SolidInitialLoginOtp.js +25 -25
  32. package/dist/components/auth/SolidInitialLoginOtp.js.map +1 -1
  33. package/dist/components/auth/SolidInitialLoginOtp.tsx +55 -43
  34. package/dist/components/auth/SolidInitiateRegisterOtp.d.ts.map +1 -1
  35. package/dist/components/auth/SolidInitiateRegisterOtp.js +11 -16
  36. package/dist/components/auth/SolidInitiateRegisterOtp.js.map +1 -1
  37. package/dist/components/auth/SolidInitiateRegisterOtp.tsx +48 -42
  38. package/dist/components/auth/SolidLogin.d.ts.map +1 -1
  39. package/dist/components/auth/SolidLogin.js +36 -37
  40. package/dist/components/auth/SolidLogin.js.map +1 -1
  41. package/dist/components/auth/SolidLogin.tsx +91 -116
  42. package/dist/components/auth/SolidRegister.d.ts.map +1 -1
  43. package/dist/components/auth/SolidRegister.js +23 -25
  44. package/dist/components/auth/SolidRegister.js.map +1 -1
  45. package/dist/components/auth/SolidRegister.tsx +53 -71
  46. package/dist/components/auth/SolidResetPassword.d.ts.map +1 -1
  47. package/dist/components/auth/SolidResetPassword.js +5 -15
  48. package/dist/components/auth/SolidResetPassword.js.map +1 -1
  49. package/dist/components/auth/SolidResetPassword.tsx +15 -37
  50. package/dist/components/common/AuthBanner.js.map +1 -1
  51. package/dist/components/common/AutoCompleteField.d.ts.map +1 -1
  52. package/dist/components/common/AutoCompleteField.js +2 -2
  53. package/dist/components/common/AutoCompleteField.js.map +1 -1
  54. package/dist/components/common/AutoCompleteField.tsx +4 -6
  55. package/dist/components/common/BackButton.js +4 -3
  56. package/dist/components/common/BackButton.js.map +1 -1
  57. package/dist/components/common/BackButton.tsx +6 -6
  58. package/dist/components/common/CancelButton.d.ts.map +1 -1
  59. package/dist/components/common/CancelButton.js +5 -4
  60. package/dist/components/common/CancelButton.js.map +1 -1
  61. package/dist/components/common/CancelButton.tsx +10 -6
  62. package/dist/components/common/CreateButton.d.ts.map +1 -1
  63. package/dist/components/common/CreateButton.js +2 -2
  64. package/dist/components/common/CreateButton.js.map +1 -1
  65. package/dist/components/common/CreateButton.tsx +8 -2
  66. package/dist/components/common/DownloadProgressToast.d.ts.map +1 -1
  67. package/dist/components/common/DownloadProgressToast.js +3 -3
  68. package/dist/components/common/DownloadProgressToast.js.map +1 -1
  69. package/dist/components/common/DownloadProgressToast.tsx +21 -18
  70. package/dist/components/common/DropzonePlaceholder.d.ts.map +1 -1
  71. package/dist/components/common/DropzonePlaceholder.js +2 -2
  72. package/dist/components/common/DropzonePlaceholder.js.map +1 -1
  73. package/dist/components/common/DropzonePlaceholder.tsx +10 -8
  74. package/dist/components/common/DropzoneUpload.js +2 -2
  75. package/dist/components/common/DropzoneUpload.js.map +1 -1
  76. package/dist/components/common/DropzoneUpload.tsx +3 -3
  77. package/dist/components/common/GeneralSettings.d.ts.map +1 -1
  78. package/dist/components/common/GeneralSettings.js +105 -109
  79. package/dist/components/common/GeneralSettings.js.map +1 -1
  80. package/dist/components/common/GeneralSettings.tsx +209 -329
  81. package/dist/components/common/GlobalToast.d.ts +1 -1
  82. package/dist/components/common/GlobalToast.d.ts.map +1 -1
  83. package/dist/components/common/GlobalToast.js +1 -24
  84. package/dist/components/common/GlobalToast.js.map +1 -1
  85. package/dist/components/common/GlobalToast.tsx +1 -25
  86. package/dist/components/common/MultipleSelectAutoCompleteField.d.ts.map +1 -1
  87. package/dist/components/common/MultipleSelectAutoCompleteField.js +2 -2
  88. package/dist/components/common/MultipleSelectAutoCompleteField.js.map +1 -1
  89. package/dist/components/common/MultipleSelectAutoCompleteField.tsx +3 -5
  90. package/dist/components/common/NotFound.d.ts.map +1 -1
  91. package/dist/components/common/NotFound.js +3 -3
  92. package/dist/components/common/NotFound.js.map +1 -1
  93. package/dist/components/common/NotFound.tsx +8 -15
  94. package/dist/components/common/SocialMediaLogin.d.ts.map +1 -1
  95. package/dist/components/common/SocialMediaLogin.js +13 -4
  96. package/dist/components/common/SocialMediaLogin.js.map +1 -1
  97. package/dist/components/common/SocialMediaLogin.tsx +58 -45
  98. package/dist/components/common/SolidAdmin.d.ts.map +1 -1
  99. package/dist/components/common/SolidAdmin.js +10 -2
  100. package/dist/components/common/SolidAdmin.js.map +1 -1
  101. package/dist/components/common/SolidAdmin.tsx +116 -131
  102. package/dist/components/common/SolidBreadcrumb.d.ts.map +1 -1
  103. package/dist/components/common/SolidBreadcrumb.js +10 -25
  104. package/dist/components/common/SolidBreadcrumb.js.map +1 -1
  105. package/dist/components/common/SolidBreadcrumb.tsx +32 -26
  106. package/dist/components/common/SolidErrorPage.d.ts.map +1 -1
  107. package/dist/components/common/SolidErrorPage.js +4 -6
  108. package/dist/components/common/SolidErrorPage.js.map +1 -1
  109. package/dist/components/common/SolidErrorPage.tsx +11 -37
  110. package/dist/components/common/SolidExport.d.ts +1 -1
  111. package/dist/components/common/SolidExport.d.ts.map +1 -1
  112. package/dist/components/common/SolidExport.js +182 -221
  113. package/dist/components/common/SolidExport.js.map +1 -1
  114. package/dist/components/common/SolidExport.tsx +401 -453
  115. package/dist/components/common/SolidFieldTooltip.d.ts +1 -1
  116. package/dist/components/common/SolidFieldTooltip.d.ts.map +1 -1
  117. package/dist/components/common/SolidFieldTooltip.js +8 -7
  118. package/dist/components/common/SolidFieldTooltip.js.map +1 -1
  119. package/dist/components/common/SolidFieldTooltip.tsx +29 -16
  120. package/dist/components/common/SolidFormHeader.d.ts +1 -1
  121. package/dist/components/common/SolidFormHeader.d.ts.map +1 -1
  122. package/dist/components/common/SolidFormHeader.js +7 -5
  123. package/dist/components/common/SolidFormHeader.js.map +1 -1
  124. package/dist/components/common/SolidFormHeader.tsx +11 -6
  125. package/dist/components/common/SolidFormStepper.d.ts.map +1 -1
  126. package/dist/components/common/SolidFormStepper.js +7 -22
  127. package/dist/components/common/SolidFormStepper.js.map +1 -1
  128. package/dist/components/common/SolidFormStepper.tsx +31 -50
  129. package/dist/components/common/SolidHeaderRequestStatus.d.ts +6 -0
  130. package/dist/components/common/SolidHeaderRequestStatus.d.ts.map +1 -0
  131. package/dist/components/common/SolidHeaderRequestStatus.js +9 -0
  132. package/dist/components/common/SolidHeaderRequestStatus.js.map +1 -0
  133. package/dist/components/common/SolidHeaderRequestStatus.tsx +16 -0
  134. package/dist/components/common/SolidModuleHome.d.ts.map +1 -1
  135. package/dist/components/common/SolidModuleHome.js +3 -3
  136. package/dist/components/common/SolidModuleHome.js.map +1 -1
  137. package/dist/components/common/SolidModuleHome.tsx +13 -5
  138. package/dist/components/common/SolidNotFoundPage.d.ts.map +1 -1
  139. package/dist/components/common/SolidNotFoundPage.js +4 -5
  140. package/dist/components/common/SolidNotFoundPage.js.map +1 -1
  141. package/dist/components/common/SolidNotFoundPage.tsx +11 -29
  142. package/dist/components/common/SolidPopupContainer.d.ts.map +1 -1
  143. package/dist/components/common/SolidPopupContainer.js +11 -6
  144. package/dist/components/common/SolidPopupContainer.js.map +1 -1
  145. package/dist/components/common/SolidPopupContainer.tsx +28 -29
  146. package/dist/components/common/SolidSettings/LlmSettings/AiModelConfigTab.d.ts +33 -0
  147. package/dist/components/common/SolidSettings/LlmSettings/AiModelConfigTab.d.ts.map +1 -0
  148. package/dist/components/common/SolidSettings/LlmSettings/AiModelConfigTab.js +48 -0
  149. package/dist/components/common/SolidSettings/LlmSettings/AiModelConfigTab.js.map +1 -0
  150. package/dist/components/common/SolidSettings/LlmSettings/AiModelConfigTab.tsx +155 -0
  151. package/dist/components/common/SolidSettings/LlmSettings/AnthropicProviderComponent.d.ts.map +1 -1
  152. package/dist/components/common/SolidSettings/LlmSettings/AnthropicProviderComponent.js +2 -3
  153. package/dist/components/common/SolidSettings/LlmSettings/AnthropicProviderComponent.js.map +1 -1
  154. package/dist/components/common/SolidSettings/LlmSettings/AnthropicProviderComponent.tsx +28 -38
  155. package/dist/components/common/SolidSettings/LlmSettings/OpenAiProviderComponent.d.ts.map +1 -1
  156. package/dist/components/common/SolidSettings/LlmSettings/OpenAiProviderComponent.js +2 -3
  157. package/dist/components/common/SolidSettings/LlmSettings/OpenAiProviderComponent.js.map +1 -1
  158. package/dist/components/common/SolidSettings/LlmSettings/OpenAiProviderComponent.tsx +28 -38
  159. package/dist/components/common/SolidSettings/SettingDropzoneActivePlaceholder.js +2 -2
  160. package/dist/components/common/SolidSettings/SettingDropzoneActivePlaceholder.js.map +1 -1
  161. package/dist/components/common/SolidSettings/SettingDropzoneActivePlaceholder.tsx +3 -3
  162. package/dist/components/common/SolidSettings/SettingsImageRemoveButton.js +2 -2
  163. package/dist/components/common/SolidSettings/SettingsImageRemoveButton.js.map +1 -1
  164. package/dist/components/common/SolidSettings/SettingsImageRemoveButton.tsx +3 -3
  165. package/dist/components/common/SolidToastProvider.d.ts +2 -0
  166. package/dist/components/common/SolidToastProvider.d.ts.map +1 -0
  167. package/dist/components/common/SolidToastProvider.js +45 -0
  168. package/dist/components/common/SolidToastProvider.js.map +1 -0
  169. package/dist/components/common/SolidToastProvider.tsx +39 -0
  170. package/dist/components/common/error.d.ts.map +1 -1
  171. package/dist/components/common/error.js +4 -2
  172. package/dist/components/common/error.js.map +1 -1
  173. package/dist/components/common/error.tsx +9 -15
  174. package/dist/components/common/solid-export.css +454 -59
  175. package/dist/components/core/card/CardGrid.d.ts +3 -0
  176. package/dist/components/core/card/CardGrid.d.ts.map +1 -0
  177. package/dist/components/core/card/CardGrid.js +42 -0
  178. package/dist/components/core/card/CardGrid.js.map +1 -0
  179. package/dist/components/core/card/CardGrid.tsx +83 -0
  180. package/dist/components/core/card/CardItem.d.ts +13 -0
  181. package/dist/components/core/card/CardItem.d.ts.map +1 -0
  182. package/dist/components/core/card/CardItem.js +21 -0
  183. package/dist/components/core/card/CardItem.js.map +1 -0
  184. package/dist/components/core/card/CardItem.tsx +91 -0
  185. package/dist/components/core/card/CardUserViewLayout.d.ts +2 -0
  186. package/dist/components/core/card/CardUserViewLayout.d.ts.map +1 -0
  187. package/dist/components/core/card/CardUserViewLayout.js +94 -0
  188. package/dist/components/core/card/CardUserViewLayout.js.map +1 -0
  189. package/dist/components/core/card/CardUserViewLayout.tsx +68 -0
  190. package/dist/components/core/card/SolidCardView.d.ts +8 -0
  191. package/dist/components/core/card/SolidCardView.d.ts.map +1 -0
  192. package/dist/components/core/card/SolidCardView.js +365 -0
  193. package/dist/components/core/card/SolidCardView.js.map +1 -0
  194. package/dist/components/core/card/SolidCardView.tsx +528 -0
  195. package/dist/components/core/card/SolidCardViewConfigure.d.ts +2 -0
  196. package/dist/components/core/card/SolidCardViewConfigure.d.ts.map +1 -0
  197. package/dist/components/core/card/SolidCardViewConfigure.js +122 -0
  198. package/dist/components/core/card/SolidCardViewConfigure.js.map +1 -0
  199. package/dist/components/core/card/SolidCardViewConfigure.tsx +268 -0
  200. package/dist/components/core/chatter/SolidChatter.d.ts +3 -1
  201. package/dist/components/core/chatter/SolidChatter.d.ts.map +1 -1
  202. package/dist/components/core/chatter/SolidChatter.js +25 -23
  203. package/dist/components/core/chatter/SolidChatter.js.map +1 -1
  204. package/dist/components/core/chatter/SolidChatter.tsx +87 -69
  205. package/dist/components/core/chatter/SolidChatterAuditMessage.js +1 -1
  206. package/dist/components/core/chatter/SolidChatterAuditMessage.js.map +1 -1
  207. package/dist/components/core/chatter/SolidChatterAuditMessage.tsx +3 -3
  208. package/dist/components/core/chatter/SolidChatterCustomMessage.d.ts.map +1 -1
  209. package/dist/components/core/chatter/SolidChatterCustomMessage.js +2 -1
  210. package/dist/components/core/chatter/SolidChatterCustomMessage.js.map +1 -1
  211. package/dist/components/core/chatter/SolidChatterCustomMessage.tsx +3 -6
  212. package/dist/components/core/chatter/SolidChatterDateDivider.js.map +1 -1
  213. package/dist/components/core/chatter/SolidChatterDateDivider.tsx +1 -1
  214. package/dist/components/core/chatter/SolidChatterHeader.d.ts +3 -0
  215. package/dist/components/core/chatter/SolidChatterHeader.d.ts.map +1 -1
  216. package/dist/components/core/chatter/SolidChatterHeader.js +40 -30
  217. package/dist/components/core/chatter/SolidChatterHeader.js.map +1 -1
  218. package/dist/components/core/chatter/SolidChatterHeader.tsx +139 -101
  219. package/dist/components/core/chatter/SolidChatterMessageBox.d.ts.map +1 -1
  220. package/dist/components/core/chatter/SolidChatterMessageBox.js +55 -21
  221. package/dist/components/core/chatter/SolidChatterMessageBox.js.map +1 -1
  222. package/dist/components/core/chatter/SolidChatterMessageBox.tsx +124 -91
  223. package/dist/components/core/chatter/SolidMessageComposer.d.ts +7 -3
  224. package/dist/components/core/chatter/SolidMessageComposer.d.ts.map +1 -1
  225. package/dist/components/core/chatter/SolidMessageComposer.js +17 -7
  226. package/dist/components/core/chatter/SolidMessageComposer.js.map +1 -1
  227. package/dist/components/core/chatter/SolidMessageComposer.tsx +92 -49
  228. package/dist/components/core/chatter/chatter.module.css +217 -17
  229. package/dist/components/core/common/DateFieldViewComponent.d.ts +2 -1
  230. package/dist/components/core/common/DateFieldViewComponent.d.ts.map +1 -1
  231. package/dist/components/core/common/DateFieldViewComponent.js +2 -2
  232. package/dist/components/core/common/DateFieldViewComponent.js.map +1 -1
  233. package/dist/components/core/common/DateFieldViewComponent.tsx +3 -1
  234. package/dist/components/core/common/FilterComponent.d.ts +2 -8
  235. package/dist/components/core/common/FilterComponent.d.ts.map +1 -1
  236. package/dist/components/core/common/FilterComponent.js +27 -49
  237. package/dist/components/core/common/FilterComponent.js.map +1 -1
  238. package/dist/components/core/common/FilterComponent.tsx +69 -127
  239. package/dist/components/core/common/GroupingComponent.d.ts.map +1 -1
  240. package/dist/components/core/common/GroupingComponent.js +40 -70
  241. package/dist/components/core/common/GroupingComponent.js.map +1 -1
  242. package/dist/components/core/common/GroupingComponent.tsx +174 -251
  243. package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.d.ts +1 -1
  244. package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.d.ts.map +1 -1
  245. package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.js +12 -32
  246. package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.js.map +1 -1
  247. package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.module.css +530 -42
  248. package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.tsx +71 -86
  249. package/dist/components/core/common/SolidAccountSettings/SolidChangePassword.d.ts.map +1 -1
  250. package/dist/components/core/common/SolidAccountSettings/SolidChangePassword.js +75 -48
  251. package/dist/components/core/common/SolidAccountSettings/SolidChangePassword.js.map +1 -1
  252. package/dist/components/core/common/SolidAccountSettings/SolidChangePassword.tsx +242 -172
  253. package/dist/components/core/common/SolidAccountSettings/SolidNotifications.d.ts.map +1 -1
  254. package/dist/components/core/common/SolidAccountSettings/SolidNotifications.js +44 -55
  255. package/dist/components/core/common/SolidAccountSettings/SolidNotifications.js.map +1 -1
  256. package/dist/components/core/common/SolidAccountSettings/SolidNotifications.tsx +108 -125
  257. package/dist/components/core/common/SolidAccountSettings/SolidPersonalInfo.d.ts.map +1 -1
  258. package/dist/components/core/common/SolidAccountSettings/SolidPersonalInfo.js +106 -87
  259. package/dist/components/core/common/SolidAccountSettings/SolidPersonalInfo.js.map +1 -1
  260. package/dist/components/core/common/SolidAccountSettings/SolidPersonalInfo.tsx +332 -285
  261. package/dist/components/core/common/SolidAccountSettings/SolidVersionInfo.d.ts.map +1 -1
  262. package/dist/components/core/common/SolidAccountSettings/SolidVersionInfo.js +12 -13
  263. package/dist/components/core/common/SolidAccountSettings/SolidVersionInfo.js.map +1 -1
  264. package/dist/components/core/common/SolidAccountSettings/SolidVersionInfo.tsx +48 -65
  265. package/dist/components/core/common/SolidCreateButton.d.ts.map +1 -1
  266. package/dist/components/core/common/SolidCreateButton.js +5 -3
  267. package/dist/components/core/common/SolidCreateButton.js.map +1 -1
  268. package/dist/components/core/common/SolidCreateButton.tsx +20 -14
  269. package/dist/components/core/common/SolidGenericImport/SolidGenericImport.d.ts.map +1 -1
  270. package/dist/components/core/common/SolidGenericImport/SolidGenericImport.js +30 -11
  271. package/dist/components/core/common/SolidGenericImport/SolidGenericImport.js.map +1 -1
  272. package/dist/components/core/common/SolidGenericImport/SolidGenericImport.tsx +91 -43
  273. package/dist/components/core/common/SolidGenericImport/SolidImport.module.css +697 -27
  274. package/dist/components/core/common/SolidGenericImport/SolidImportDropzone.d.ts.map +1 -1
  275. package/dist/components/core/common/SolidGenericImport/SolidImportDropzone.js +14 -9
  276. package/dist/components/core/common/SolidGenericImport/SolidImportDropzone.js.map +1 -1
  277. package/dist/components/core/common/SolidGenericImport/SolidImportDropzone.tsx +46 -24
  278. package/dist/components/core/common/SolidGenericImport/SolidImportInstructions.d.ts.map +1 -1
  279. package/dist/components/core/common/SolidGenericImport/SolidImportInstructions.js +24 -25
  280. package/dist/components/core/common/SolidGenericImport/SolidImportInstructions.js.map +1 -1
  281. package/dist/components/core/common/SolidGenericImport/SolidImportInstructions.tsx +77 -54
  282. package/dist/components/core/common/SolidGenericImport/SolidImportStepper.d.ts +1 -1
  283. package/dist/components/core/common/SolidGenericImport/SolidImportStepper.d.ts.map +1 -1
  284. package/dist/components/core/common/SolidGenericImport/SolidImportStepper.js +15 -125
  285. package/dist/components/core/common/SolidGenericImport/SolidImportStepper.js.map +1 -1
  286. package/dist/components/core/common/SolidGenericImport/SolidImportStepper.tsx +35 -213
  287. package/dist/components/core/common/SolidGenericImport/SolidImportTransaction.d.ts.map +1 -1
  288. package/dist/components/core/common/SolidGenericImport/SolidImportTransaction.js +16 -31
  289. package/dist/components/core/common/SolidGenericImport/SolidImportTransaction.js.map +1 -1
  290. package/dist/components/core/common/SolidGenericImport/SolidImportTransaction.tsx +77 -84
  291. package/dist/components/core/common/SolidGenericImport/SolidImportTransactionStatus.d.ts.map +1 -1
  292. package/dist/components/core/common/SolidGenericImport/SolidImportTransactionStatus.js +11 -13
  293. package/dist/components/core/common/SolidGenericImport/SolidImportTransactionStatus.js.map +1 -1
  294. package/dist/components/core/common/SolidGenericImport/SolidImportTransactionStatus.tsx +87 -52
  295. package/dist/components/core/common/SolidGlobalSearchElement.d.ts.map +1 -1
  296. package/dist/components/core/common/SolidGlobalSearchElement.js +319 -161
  297. package/dist/components/core/common/SolidGlobalSearchElement.js.map +1 -1
  298. package/dist/components/core/common/SolidGlobalSearchElement.tsx +654 -287
  299. package/dist/components/core/common/SolidLayoutViews.d.ts.map +1 -1
  300. package/dist/components/core/common/SolidLayoutViews.js +5 -8
  301. package/dist/components/core/common/SolidLayoutViews.js.map +1 -1
  302. package/dist/components/core/common/SolidLayoutViews.tsx +49 -63
  303. package/dist/components/core/common/SolidListViewOptions.d.ts.map +1 -1
  304. package/dist/components/core/common/SolidListViewOptions.js +3 -3
  305. package/dist/components/core/common/SolidListViewOptions.js.map +1 -1
  306. package/dist/components/core/common/SolidListViewOptions.tsx +7 -6
  307. package/dist/components/core/common/SolidSaveCustomFilterForm.d.ts.map +1 -1
  308. package/dist/components/core/common/SolidSaveCustomFilterForm.js +3 -3
  309. package/dist/components/core/common/SolidSaveCustomFilterForm.js.map +1 -1
  310. package/dist/components/core/common/SolidSaveCustomFilterForm.tsx +31 -28
  311. package/dist/components/core/common/SolidSearchBox.d.ts.map +1 -1
  312. package/dist/components/core/common/SolidSearchBox.js +2 -2
  313. package/dist/components/core/common/SolidSearchBox.js.map +1 -1
  314. package/dist/components/core/common/SolidSearchBox.tsx +3 -4
  315. package/dist/components/core/common/SolidViewLayoutManager.d.ts +17 -0
  316. package/dist/components/core/common/SolidViewLayoutManager.d.ts.map +1 -1
  317. package/dist/components/core/common/SolidViewLayoutManager.js +58 -1
  318. package/dist/components/core/common/SolidViewLayoutManager.js.map +1 -1
  319. package/dist/components/core/common/SolidViewLayoutManager.ts +43 -2
  320. package/dist/components/core/dashboard/DashboardFilter.d.ts.map +1 -1
  321. package/dist/components/core/dashboard/DashboardFilter.js +8 -14
  322. package/dist/components/core/dashboard/DashboardFilter.js.map +1 -1
  323. package/dist/components/core/dashboard/DashboardFilter.tsx +26 -34
  324. package/dist/components/core/dashboard/PrimeDataTableWrapper.js +2 -2
  325. package/dist/components/core/dashboard/PrimeDataTableWrapper.js.map +1 -1
  326. package/dist/components/core/dashboard/PrimeDataTableWrapper.tsx +3 -3
  327. package/dist/components/core/dashboard/SolidDashboard.d.ts.map +1 -1
  328. package/dist/components/core/dashboard/SolidDashboard.js +13 -125
  329. package/dist/components/core/dashboard/SolidDashboard.js.map +1 -1
  330. package/dist/components/core/dashboard/SolidDashboard.module.css +3 -3
  331. package/dist/components/core/dashboard/SolidDashboard.tsx +41 -187
  332. package/dist/components/core/dashboard/SolidDashboardBody.d.ts.map +1 -1
  333. package/dist/components/core/dashboard/SolidDashboardBody.js +14 -14
  334. package/dist/components/core/dashboard/SolidDashboardBody.js.map +1 -1
  335. package/dist/components/core/dashboard/SolidDashboardBody.tsx +6 -7
  336. package/dist/components/core/dashboard/SolidDashboardFilterRequired.js +2 -1
  337. package/dist/components/core/dashboard/SolidDashboardFilterRequired.js.map +1 -1
  338. package/dist/components/core/dashboard/SolidDashboardFilterRequired.tsx +3 -3
  339. package/dist/components/core/dashboard/SolidDashboardLoading.d.ts.map +1 -1
  340. package/dist/components/core/dashboard/SolidDashboardLoading.js +5 -2
  341. package/dist/components/core/dashboard/SolidDashboardLoading.js.map +1 -1
  342. package/dist/components/core/dashboard/SolidDashboardLoading.tsx +20 -14
  343. package/dist/components/core/dashboard/SolidDashboardNotAvailable.js +2 -1
  344. package/dist/components/core/dashboard/SolidDashboardNotAvailable.js.map +1 -1
  345. package/dist/components/core/dashboard/SolidDashboardNotAvailable.tsx +3 -3
  346. package/dist/components/core/dashboard/SolidDashboardRenderError.d.ts.map +1 -1
  347. package/dist/components/core/dashboard/SolidDashboardRenderError.js +2 -1
  348. package/dist/components/core/dashboard/SolidDashboardRenderError.js.map +1 -1
  349. package/dist/components/core/dashboard/SolidDashboardRenderError.tsx +3 -4
  350. package/dist/components/core/dashboard/SolidDashboardVariable.d.ts.map +1 -1
  351. package/dist/components/core/dashboard/SolidDashboardVariable.js +9 -18
  352. package/dist/components/core/dashboard/SolidDashboardVariable.js.map +1 -1
  353. package/dist/components/core/dashboard/SolidDashboardVariable.tsx +40 -37
  354. package/dist/components/core/dashboard/SolidQuestionRenderer.d.ts.map +1 -1
  355. package/dist/components/core/dashboard/SolidQuestionRenderer.js +16 -11
  356. package/dist/components/core/dashboard/SolidQuestionRenderer.js.map +1 -1
  357. package/dist/components/core/dashboard/SolidQuestionRenderer.tsx +30 -11
  358. package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.d.ts.map +1 -1
  359. package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.js +4 -14
  360. package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.js.map +1 -1
  361. package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.tsx +24 -27
  362. package/dist/components/core/extension/solid-core/CustomIcon/StatusIcon.d.ts +1 -2
  363. package/dist/components/core/extension/solid-core/CustomIcon/StatusIcon.d.ts.map +1 -1
  364. package/dist/components/core/extension/solid-core/CustomIcon/StatusIcon.js +2 -2
  365. package/dist/components/core/extension/solid-core/CustomIcon/StatusIcon.js.map +1 -1
  366. package/dist/components/core/extension/solid-core/CustomIcon/StatusIcon.tsx +10 -12
  367. package/dist/components/core/extension/solid-core/chatterMessage/form/SolidChatterMessageCoModelEntityIdFormViewWidget.d.ts +3 -0
  368. package/dist/components/core/extension/solid-core/chatterMessage/form/SolidChatterMessageCoModelEntityIdFormViewWidget.d.ts.map +1 -0
  369. package/dist/components/core/extension/solid-core/chatterMessage/form/SolidChatterMessageCoModelEntityIdFormViewWidget.js +92 -0
  370. package/dist/components/core/extension/solid-core/chatterMessage/form/SolidChatterMessageCoModelEntityIdFormViewWidget.js.map +1 -0
  371. package/dist/components/core/extension/solid-core/chatterMessage/form/SolidChatterMessageCoModelEntityIdFormViewWidget.tsx +68 -0
  372. package/dist/components/core/extension/solid-core/chatterMessage/list/SolidChatterMessageCoModelEntityIdListViewWidget.d.ts +3 -0
  373. package/dist/components/core/extension/solid-core/chatterMessage/list/SolidChatterMessageCoModelEntityIdListViewWidget.d.ts.map +1 -0
  374. package/dist/components/core/extension/solid-core/chatterMessage/list/SolidChatterMessageCoModelEntityIdListViewWidget.js +87 -0
  375. package/dist/components/core/extension/solid-core/chatterMessage/list/SolidChatterMessageCoModelEntityIdListViewWidget.js.map +1 -0
  376. package/dist/components/core/extension/solid-core/chatterMessage/list/SolidChatterMessageCoModelEntityIdListViewWidget.tsx +70 -0
  377. package/dist/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.js +2 -2
  378. package/dist/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.js.map +1 -1
  379. package/dist/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.tsx +3 -3
  380. package/dist/components/core/extension/solid-core/listOfValues/form/SolidLovTypeChangeFormEditWidget.d.ts +3 -0
  381. package/dist/components/core/extension/solid-core/listOfValues/form/SolidLovTypeChangeFormEditWidget.d.ts.map +1 -0
  382. package/dist/components/core/extension/solid-core/listOfValues/form/SolidLovTypeChangeFormEditWidget.js +111 -0
  383. package/dist/components/core/extension/solid-core/listOfValues/form/SolidLovTypeChangeFormEditWidget.js.map +1 -0
  384. package/dist/components/core/extension/solid-core/listOfValues/form/SolidLovTypeChangeFormEditWidget.tsx +122 -0
  385. package/dist/components/core/extension/solid-core/media/card/MediaCardWidget.d.ts +3 -0
  386. package/dist/components/core/extension/solid-core/media/card/MediaCardWidget.d.ts.map +1 -0
  387. package/dist/components/core/extension/solid-core/media/card/MediaCardWidget.js +69 -0
  388. package/dist/components/core/extension/solid-core/media/card/MediaCardWidget.js.map +1 -0
  389. package/dist/components/core/extension/solid-core/media/card/MediaCardWidget.tsx +141 -0
  390. package/dist/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.d.ts.map +1 -1
  391. package/dist/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.js +3 -6
  392. package/dist/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.js.map +1 -1
  393. package/dist/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.tsx +54 -38
  394. package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.d.ts.map +1 -1
  395. package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.js +74 -97
  396. package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.js.map +1 -1
  397. package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.tsx +178 -188
  398. package/dist/components/core/extension/solid-core/moduleMetadata/list/DeleteModuleRowAction.d.ts.map +1 -1
  399. package/dist/components/core/extension/solid-core/moduleMetadata/list/DeleteModuleRowAction.js +33 -35
  400. package/dist/components/core/extension/solid-core/moduleMetadata/list/DeleteModuleRowAction.js.map +1 -1
  401. package/dist/components/core/extension/solid-core/moduleMetadata/list/DeleteModuleRowAction.tsx +123 -110
  402. package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.d.ts.map +1 -1
  403. package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.js +70 -106
  404. package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.js.map +1 -1
  405. package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.tsx +175 -182
  406. package/dist/components/core/extension/solid-core/mqMessage/form/SolidMqMessageStageFormViewWIdget.d.ts +3 -0
  407. package/dist/components/core/extension/solid-core/mqMessage/form/SolidMqMessageStageFormViewWIdget.d.ts.map +1 -0
  408. package/dist/components/core/extension/solid-core/mqMessage/form/SolidMqMessageStageFormViewWIdget.js +10 -0
  409. package/dist/components/core/extension/solid-core/mqMessage/form/SolidMqMessageStageFormViewWIdget.js.map +1 -0
  410. package/dist/components/core/extension/solid-core/mqMessage/form/SolidMqMessageStageFormViewWIdget.tsx +21 -0
  411. package/dist/components/core/extension/solid-core/mqMessage/form/mqMessageOnFormLoadHandler.d.ts +8 -0
  412. package/dist/components/core/extension/solid-core/mqMessage/form/mqMessageOnFormLoadHandler.d.ts.map +1 -0
  413. package/dist/components/core/extension/solid-core/mqMessage/form/mqMessageOnFormLoadHandler.js +62 -0
  414. package/dist/components/core/extension/solid-core/mqMessage/form/mqMessageOnFormLoadHandler.js.map +1 -0
  415. package/dist/components/core/extension/solid-core/mqMessage/form/mqMessageOnFormLoadHandler.tsx +27 -0
  416. package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanCardWidget.d.ts +3 -0
  417. package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanCardWidget.d.ts.map +1 -0
  418. package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanCardWidget.js +128 -0
  419. package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanCardWidget.js.map +1 -0
  420. package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanCardWidget.tsx +195 -0
  421. package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessageStageListViewWidget.d.ts +3 -0
  422. package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessageStageListViewWidget.d.ts.map +1 -0
  423. package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessageStageListViewWidget.js +8 -0
  424. package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessageStageListViewWidget.js.map +1 -0
  425. package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessageStageListViewWidget.tsx +15 -0
  426. package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessagesSummarizeListHeaderAction.d.ts +3 -0
  427. package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessagesSummarizeListHeaderAction.d.ts.map +1 -0
  428. package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessagesSummarizeListHeaderAction.js +158 -0
  429. package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessagesSummarizeListHeaderAction.js.map +1 -0
  430. package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessagesSummarizeListHeaderAction.tsx +185 -0
  431. package/dist/components/core/extension/solid-core/mqMessage/ui/MqMessageStageBadge.d.ts +17 -0
  432. package/dist/components/core/extension/solid-core/mqMessage/ui/MqMessageStageBadge.d.ts.map +1 -0
  433. package/dist/components/core/extension/solid-core/mqMessage/ui/MqMessageStageBadge.js +52 -0
  434. package/dist/components/core/extension/solid-core/mqMessage/ui/MqMessageStageBadge.js.map +1 -0
  435. package/dist/components/core/extension/solid-core/mqMessage/ui/MqMessageStageBadge.tsx +83 -0
  436. package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.d.ts.map +1 -1
  437. package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.js +10 -18
  438. package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.js.map +1 -1
  439. package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.tsx +32 -53
  440. package/dist/components/core/field/FieldListViewData.d.ts.map +1 -1
  441. package/dist/components/core/field/FieldListViewData.js +83 -74
  442. package/dist/components/core/field/FieldListViewData.js.map +1 -1
  443. package/dist/components/core/field/FieldListViewData.tsx +120 -168
  444. package/dist/components/core/filter/SEARCH_FILTER_HIERARCHY.md +582 -0
  445. package/dist/components/core/filter/SolidBooleanFilterElement.d.ts +1 -1
  446. package/dist/components/core/filter/SolidBooleanFilterElement.d.ts.map +1 -1
  447. package/dist/components/core/filter/SolidBooleanFilterElement.js +4 -4
  448. package/dist/components/core/filter/SolidBooleanFilterElement.js.map +1 -1
  449. package/dist/components/core/filter/SolidBooleanFilterElement.tsx +7 -6
  450. package/dist/components/core/filter/SolidManyToManyFilterElement.d.ts +1 -1
  451. package/dist/components/core/filter/SolidManyToManyFilterElement.d.ts.map +1 -1
  452. package/dist/components/core/filter/SolidManyToManyFilterElement.js +5 -9
  453. package/dist/components/core/filter/SolidManyToManyFilterElement.js.map +1 -1
  454. package/dist/components/core/filter/SolidManyToManyFilterElement.tsx +8 -7
  455. package/dist/components/core/filter/SolidManyToOneFilterElement.d.ts +1 -1
  456. package/dist/components/core/filter/SolidManyToOneFilterElement.d.ts.map +1 -1
  457. package/dist/components/core/filter/SolidManyToOneFilterElement.js +4 -4
  458. package/dist/components/core/filter/SolidManyToOneFilterElement.js.map +1 -1
  459. package/dist/components/core/filter/SolidManyToOneFilterElement.tsx +7 -6
  460. package/dist/components/core/filter/SolidOneToManyFilterElement.d.ts +1 -1
  461. package/dist/components/core/filter/SolidOneToManyFilterElement.d.ts.map +1 -1
  462. package/dist/components/core/filter/SolidOneToManyFilterElement.js +5 -9
  463. package/dist/components/core/filter/SolidOneToManyFilterElement.js.map +1 -1
  464. package/dist/components/core/filter/SolidOneToManyFilterElement.tsx +8 -7
  465. package/dist/components/core/filter/SolidSelectionDynamicFilterElement.d.ts +1 -1
  466. package/dist/components/core/filter/SolidSelectionDynamicFilterElement.d.ts.map +1 -1
  467. package/dist/components/core/filter/SolidSelectionDynamicFilterElement.js +4 -4
  468. package/dist/components/core/filter/SolidSelectionDynamicFilterElement.js.map +1 -1
  469. package/dist/components/core/filter/SolidSelectionDynamicFilterElement.tsx +7 -6
  470. package/dist/components/core/filter/SolidSelectionStaticFilterElement.d.ts +1 -1
  471. package/dist/components/core/filter/SolidSelectionStaticFilterElement.d.ts.map +1 -1
  472. package/dist/components/core/filter/SolidSelectionStaticFilterElement.js +4 -4
  473. package/dist/components/core/filter/SolidSelectionStaticFilterElement.js.map +1 -1
  474. package/dist/components/core/filter/SolidSelectionStaticFilterElement.tsx +7 -6
  475. package/dist/components/core/filter/SolidVarInputsFilterElement.d.ts +1 -1
  476. package/dist/components/core/filter/SolidVarInputsFilterElement.d.ts.map +1 -1
  477. package/dist/components/core/filter/SolidVarInputsFilterElement.js +109 -38
  478. package/dist/components/core/filter/SolidVarInputsFilterElement.js.map +1 -1
  479. package/dist/components/core/filter/SolidVarInputsFilterElement.tsx +215 -155
  480. package/dist/components/core/filter/fields/SolidBooleanField.js +3 -3
  481. package/dist/components/core/filter/fields/SolidBooleanField.js.map +1 -1
  482. package/dist/components/core/filter/fields/SolidBooleanField.tsx +6 -6
  483. package/dist/components/core/filter/fields/SolidDateField.d.ts.map +1 -1
  484. package/dist/components/core/filter/fields/SolidDateField.js +3 -5
  485. package/dist/components/core/filter/fields/SolidDateField.js.map +1 -1
  486. package/dist/components/core/filter/fields/SolidDateField.tsx +6 -8
  487. package/dist/components/core/filter/fields/SolidDatetimeField.js +3 -3
  488. package/dist/components/core/filter/fields/SolidDatetimeField.js.map +1 -1
  489. package/dist/components/core/filter/fields/SolidDatetimeField.tsx +5 -5
  490. package/dist/components/core/filter/fields/SolidExternalIdField.js +5 -5
  491. package/dist/components/core/filter/fields/SolidExternalIdField.js.map +1 -1
  492. package/dist/components/core/filter/fields/SolidExternalIdField.tsx +8 -8
  493. package/dist/components/core/filter/fields/SolidIdField.d.ts.map +1 -1
  494. package/dist/components/core/filter/fields/SolidIdField.js +11 -4
  495. package/dist/components/core/filter/fields/SolidIdField.js.map +1 -1
  496. package/dist/components/core/filter/fields/SolidIdField.tsx +12 -5
  497. package/dist/components/core/filter/fields/SolidIntField.d.ts.map +1 -1
  498. package/dist/components/core/filter/fields/SolidIntField.js +3 -5
  499. package/dist/components/core/filter/fields/SolidIntField.js.map +1 -1
  500. package/dist/components/core/filter/fields/SolidIntField.tsx +6 -8
  501. package/dist/components/core/filter/fields/SolidMediaMultipleField.d.ts.map +1 -1
  502. package/dist/components/core/filter/fields/SolidMediaMultipleField.js +3 -5
  503. package/dist/components/core/filter/fields/SolidMediaMultipleField.js.map +1 -1
  504. package/dist/components/core/filter/fields/SolidMediaMultipleField.tsx +6 -8
  505. package/dist/components/core/filter/fields/SolidMediaSingleField.d.ts.map +1 -1
  506. package/dist/components/core/filter/fields/SolidMediaSingleField.js +3 -5
  507. package/dist/components/core/filter/fields/SolidMediaSingleField.js.map +1 -1
  508. package/dist/components/core/filter/fields/SolidMediaSingleField.tsx +6 -8
  509. package/dist/components/core/filter/fields/SolidSelectionDynamicField.js +3 -3
  510. package/dist/components/core/filter/fields/SolidSelectionDynamicField.js.map +1 -1
  511. package/dist/components/core/filter/fields/SolidSelectionDynamicField.tsx +5 -5
  512. package/dist/components/core/filter/fields/SolidSelectionStaticField.js +3 -3
  513. package/dist/components/core/filter/fields/SolidSelectionStaticField.js.map +1 -1
  514. package/dist/components/core/filter/fields/SolidSelectionStaticField.tsx +5 -5
  515. package/dist/components/core/filter/fields/SolidShortTextField.d.ts.map +1 -1
  516. package/dist/components/core/filter/fields/SolidShortTextField.js +3 -5
  517. package/dist/components/core/filter/fields/SolidShortTextField.js.map +1 -1
  518. package/dist/components/core/filter/fields/SolidShortTextField.tsx +6 -8
  519. package/dist/components/core/filter/fields/SolidTimeField.js +3 -3
  520. package/dist/components/core/filter/fields/SolidTimeField.js.map +1 -1
  521. package/dist/components/core/filter/fields/SolidTimeField.tsx +5 -5
  522. package/dist/components/core/filter/fields/SolidUuidField.js +5 -5
  523. package/dist/components/core/filter/fields/SolidUuidField.js.map +1 -1
  524. package/dist/components/core/filter/fields/SolidUuidField.tsx +8 -8
  525. package/dist/components/core/filter/fields/relations/SolidRelationManyToManyField.js +2 -2
  526. package/dist/components/core/filter/fields/relations/SolidRelationManyToManyField.js.map +1 -1
  527. package/dist/components/core/filter/fields/relations/SolidRelationManyToManyField.tsx +4 -4
  528. package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.js +3 -3
  529. package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.js.map +1 -1
  530. package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.tsx +5 -5
  531. package/dist/components/core/filter/fields/relations/SolidRelationOneToManyField.js +2 -2
  532. package/dist/components/core/filter/fields/relations/SolidRelationOneToManyField.js.map +1 -1
  533. package/dist/components/core/filter/fields/relations/SolidRelationOneToManyField.tsx +4 -4
  534. package/dist/components/core/filter/filterMatchMode.d.ts +17 -0
  535. package/dist/components/core/filter/filterMatchMode.d.ts.map +1 -0
  536. package/dist/components/core/filter/filterMatchMode.js +16 -0
  537. package/dist/components/core/filter/filterMatchMode.js.map +1 -0
  538. package/dist/components/core/filter/filterMatchMode.ts +18 -0
  539. package/dist/components/core/form/SolidFormActionHeader.d.ts +1 -1
  540. package/dist/components/core/form/SolidFormActionHeader.d.ts.map +1 -1
  541. package/dist/components/core/form/SolidFormActionHeader.js +61 -55
  542. package/dist/components/core/form/SolidFormActionHeader.js.map +1 -1
  543. package/dist/components/core/form/SolidFormActionHeader.tsx +356 -334
  544. package/dist/components/core/form/SolidFormFieldRender.js +2 -2
  545. package/dist/components/core/form/SolidFormFieldRender.js.map +1 -1
  546. package/dist/components/core/form/SolidFormFieldRender.tsx +2 -2
  547. package/dist/components/core/form/SolidFormFooter.d.ts.map +1 -1
  548. package/dist/components/core/form/SolidFormFooter.js +3 -3
  549. package/dist/components/core/form/SolidFormFooter.js.map +1 -1
  550. package/dist/components/core/form/SolidFormFooter.tsx +26 -19
  551. package/dist/components/core/form/SolidFormUserViewLayout.d.ts.map +1 -1
  552. package/dist/components/core/form/SolidFormUserViewLayout.js +3 -6
  553. package/dist/components/core/form/SolidFormUserViewLayout.js.map +1 -1
  554. package/dist/components/core/form/SolidFormUserViewLayout.tsx +9 -13
  555. package/dist/components/core/form/SolidFormView.d.ts +0 -3
  556. package/dist/components/core/form/SolidFormView.d.ts.map +1 -1
  557. package/dist/components/core/form/SolidFormView.js +78 -127
  558. package/dist/components/core/form/SolidFormView.js.map +1 -1
  559. package/dist/components/core/form/SolidFormView.tsx +168 -212
  560. package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.d.ts +3 -1
  561. package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.d.ts.map +1 -1
  562. package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.js +22 -16
  563. package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.js.map +1 -1
  564. package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.tsx +46 -17
  565. package/dist/components/core/form/SolidFormViewNormalHeaderButton.d.ts +3 -1
  566. package/dist/components/core/form/SolidFormViewNormalHeaderButton.d.ts.map +1 -1
  567. package/dist/components/core/form/SolidFormViewNormalHeaderButton.js +32 -15
  568. package/dist/components/core/form/SolidFormViewNormalHeaderButton.js.map +1 -1
  569. package/dist/components/core/form/SolidFormViewNormalHeaderButton.tsx +40 -17
  570. package/dist/components/core/form/SolidFormViewShimmerLoading.d.ts.map +1 -1
  571. package/dist/components/core/form/SolidFormViewShimmerLoading.js +5 -2
  572. package/dist/components/core/form/SolidFormViewShimmerLoading.js.map +1 -1
  573. package/dist/components/core/form/SolidFormViewShimmerLoading.tsx +40 -37
  574. package/dist/components/core/form/fields/SolidBooleanField.d.ts +1 -1
  575. package/dist/components/core/form/fields/SolidBooleanField.d.ts.map +1 -1
  576. package/dist/components/core/form/fields/SolidBooleanField.js +80 -69
  577. package/dist/components/core/form/fields/SolidBooleanField.js.map +1 -1
  578. package/dist/components/core/form/fields/SolidBooleanField.tsx +116 -145
  579. package/dist/components/core/form/fields/SolidDateField.d.ts.map +1 -1
  580. package/dist/components/core/form/fields/SolidDateField.js +22 -49
  581. package/dist/components/core/form/fields/SolidDateField.js.map +1 -1
  582. package/dist/components/core/form/fields/SolidDateField.tsx +30 -72
  583. package/dist/components/core/form/fields/SolidDateTimeField.d.ts.map +1 -1
  584. package/dist/components/core/form/fields/SolidDateTimeField.js +22 -48
  585. package/dist/components/core/form/fields/SolidDateTimeField.js.map +1 -1
  586. package/dist/components/core/form/fields/SolidDateTimeField.tsx +32 -68
  587. package/dist/components/core/form/fields/SolidDecimalField.d.ts +1 -1
  588. package/dist/components/core/form/fields/SolidDecimalField.d.ts.map +1 -1
  589. package/dist/components/core/form/fields/SolidDecimalField.js +17 -17
  590. package/dist/components/core/form/fields/SolidDecimalField.js.map +1 -1
  591. package/dist/components/core/form/fields/SolidDecimalField.tsx +21 -24
  592. package/dist/components/core/form/fields/SolidEmailField.d.ts.map +1 -1
  593. package/dist/components/core/form/fields/SolidEmailField.js +11 -15
  594. package/dist/components/core/form/fields/SolidEmailField.js.map +1 -1
  595. package/dist/components/core/form/fields/SolidEmailField.tsx +27 -33
  596. package/dist/components/core/form/fields/SolidIntegerField.d.ts +1 -1
  597. package/dist/components/core/form/fields/SolidIntegerField.d.ts.map +1 -1
  598. package/dist/components/core/form/fields/SolidIntegerField.js +12 -9
  599. package/dist/components/core/form/fields/SolidIntegerField.js.map +1 -1
  600. package/dist/components/core/form/fields/SolidIntegerField.tsx +23 -24
  601. package/dist/components/core/form/fields/SolidJsonField.d.ts.map +1 -1
  602. package/dist/components/core/form/fields/SolidJsonField.js +15 -10
  603. package/dist/components/core/form/fields/SolidJsonField.js.map +1 -1
  604. package/dist/components/core/form/fields/SolidJsonField.tsx +21 -20
  605. package/dist/components/core/form/fields/SolidLongTextField.d.ts.map +1 -1
  606. package/dist/components/core/form/fields/SolidLongTextField.js +28 -44
  607. package/dist/components/core/form/fields/SolidLongTextField.js.map +1 -1
  608. package/dist/components/core/form/fields/SolidLongTextField.tsx +90 -119
  609. package/dist/components/core/form/fields/SolidMediaMultipleField.d.ts.map +1 -1
  610. package/dist/components/core/form/fields/SolidMediaMultipleField.js +41 -49
  611. package/dist/components/core/form/fields/SolidMediaMultipleField.js.map +1 -1
  612. package/dist/components/core/form/fields/SolidMediaMultipleField.tsx +127 -111
  613. package/dist/components/core/form/fields/SolidMediaSingleField.d.ts.map +1 -1
  614. package/dist/components/core/form/fields/SolidMediaSingleField.js +10 -23
  615. package/dist/components/core/form/fields/SolidMediaSingleField.js.map +1 -1
  616. package/dist/components/core/form/fields/SolidMediaSingleField.tsx +117 -100
  617. package/dist/components/core/form/fields/SolidPasswordField.d.ts.map +1 -1
  618. package/dist/components/core/form/fields/SolidPasswordField.js +29 -32
  619. package/dist/components/core/form/fields/SolidPasswordField.js.map +1 -1
  620. package/dist/components/core/form/fields/SolidPasswordField.tsx +122 -117
  621. package/dist/components/core/form/fields/SolidRichTextField.d.ts.map +1 -1
  622. package/dist/components/core/form/fields/SolidRichTextField.js +6 -8
  623. package/dist/components/core/form/fields/SolidRichTextField.js.map +1 -1
  624. package/dist/components/core/form/fields/SolidRichTextField.tsx +31 -46
  625. package/dist/components/core/form/fields/SolidSelectionDynamicField.d.ts.map +1 -1
  626. package/dist/components/core/form/fields/SolidSelectionDynamicField.js +36 -24
  627. package/dist/components/core/form/fields/SolidSelectionDynamicField.js.map +1 -1
  628. package/dist/components/core/form/fields/SolidSelectionDynamicField.tsx +56 -61
  629. package/dist/components/core/form/fields/SolidSelectionStaticField.d.ts.map +1 -1
  630. package/dist/components/core/form/fields/SolidSelectionStaticField.js +60 -74
  631. package/dist/components/core/form/fields/SolidSelectionStaticField.js.map +1 -1
  632. package/dist/components/core/form/fields/SolidSelectionStaticField.tsx +99 -167
  633. package/dist/components/core/form/fields/SolidShortTextField.d.ts.map +1 -1
  634. package/dist/components/core/form/fields/SolidShortTextField.js +23 -36
  635. package/dist/components/core/form/fields/SolidShortTextField.js.map +1 -1
  636. package/dist/components/core/form/fields/SolidShortTextField.tsx +54 -119
  637. package/dist/components/core/form/fields/SolidTimeField.d.ts.map +1 -1
  638. package/dist/components/core/form/fields/SolidTimeField.js +14 -14
  639. package/dist/components/core/form/fields/SolidTimeField.js.map +1 -1
  640. package/dist/components/core/form/fields/SolidTimeField.tsx +23 -26
  641. package/dist/components/core/form/fields/fieldEventUtils.d.ts +10 -0
  642. package/dist/components/core/form/fields/fieldEventUtils.d.ts.map +1 -0
  643. package/dist/components/core/form/fields/fieldEventUtils.js +11 -0
  644. package/dist/components/core/form/fields/fieldEventUtils.js.map +1 -0
  645. package/dist/components/core/form/fields/fieldEventUtils.ts +24 -0
  646. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.d.ts.map +1 -1
  647. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js +31 -28
  648. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js.map +1 -1
  649. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +105 -103
  650. package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.d.ts.map +1 -1
  651. package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js +38 -30
  652. package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js.map +1 -1
  653. package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +55 -40
  654. package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.d.ts.map +1 -1
  655. package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js +17 -19
  656. package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js.map +1 -1
  657. package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +40 -29
  658. package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.d.ts.map +1 -1
  659. package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.js +5 -8
  660. package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.js.map +1 -1
  661. package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.tsx +20 -13
  662. package/dist/components/core/form/fields/solidFields.module.css +263 -1
  663. package/dist/components/core/form/fields/widgets/SolidAiInteractionMetadataFieldFormWidget.d.ts.map +1 -1
  664. package/dist/components/core/form/fields/widgets/SolidAiInteractionMetadataFieldFormWidget.js +76 -56
  665. package/dist/components/core/form/fields/widgets/SolidAiInteractionMetadataFieldFormWidget.js.map +1 -1
  666. package/dist/components/core/form/fields/widgets/SolidAiInteractionMetadataFieldFormWidget.tsx +106 -120
  667. package/dist/components/core/form/fields/widgets/SolidChatterMessageCoModelEntityIdFormViewWidget.d.ts +3 -0
  668. package/dist/components/core/form/fields/widgets/SolidChatterMessageCoModelEntityIdFormViewWidget.d.ts.map +1 -0
  669. package/dist/components/core/form/fields/widgets/SolidChatterMessageCoModelEntityIdFormViewWidget.js +92 -0
  670. package/dist/components/core/form/fields/widgets/SolidChatterMessageCoModelEntityIdFormViewWidget.js.map +1 -0
  671. package/dist/components/core/form/fields/widgets/SolidChatterMessageCoModelEntityIdFormViewWidget.tsx +68 -0
  672. package/dist/components/core/form/fields/widgets/SolidIconEditWidget.d.ts.map +1 -1
  673. package/dist/components/core/form/fields/widgets/SolidIconEditWidget.js +21 -31
  674. package/dist/components/core/form/fields/widgets/SolidIconEditWidget.js.map +1 -1
  675. package/dist/components/core/form/fields/widgets/SolidIconEditWidget.tsx +62 -58
  676. package/dist/components/core/form/fields/widgets/SolidLovTypeChangeFormEditWidget.d.ts +3 -0
  677. package/dist/components/core/form/fields/widgets/SolidLovTypeChangeFormEditWidget.d.ts.map +1 -0
  678. package/dist/components/core/form/fields/widgets/SolidLovTypeChangeFormEditWidget.js +111 -0
  679. package/dist/components/core/form/fields/widgets/SolidLovTypeChangeFormEditWidget.js.map +1 -0
  680. package/dist/components/core/form/fields/widgets/SolidLovTypeChangeFormEditWidget.tsx +122 -0
  681. package/dist/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.d.ts.map +1 -1
  682. package/dist/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.js.map +1 -1
  683. package/dist/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.tsx +0 -5
  684. package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.d.ts.map +1 -1
  685. package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.js +9 -8
  686. package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.js.map +1 -1
  687. package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.tsx +43 -33
  688. package/dist/components/core/form/fields/widgets/SolidShortTextFieldAvatarWidget.d.ts.map +1 -1
  689. package/dist/components/core/form/fields/widgets/SolidShortTextFieldAvatarWidget.js.map +1 -1
  690. package/dist/components/core/form/fields/widgets/SolidShortTextFieldAvatarWidget.tsx +1 -6
  691. package/dist/components/core/kanban/KanbanBoard.d.ts +1 -1
  692. package/dist/components/core/kanban/KanbanBoard.d.ts.map +1 -1
  693. package/dist/components/core/kanban/KanbanBoard.js +44 -8
  694. package/dist/components/core/kanban/KanbanBoard.js.map +1 -1
  695. package/dist/components/core/kanban/KanbanBoard.tsx +63 -9
  696. package/dist/components/core/kanban/KanbanCard.d.ts +8 -0
  697. package/dist/components/core/kanban/KanbanCard.d.ts.map +1 -1
  698. package/dist/components/core/kanban/KanbanCard.js +22 -162
  699. package/dist/components/core/kanban/KanbanCard.js.map +1 -1
  700. package/dist/components/core/kanban/KanbanCard.tsx +67 -224
  701. package/dist/components/core/kanban/KanbanColumn.d.ts +4 -2
  702. package/dist/components/core/kanban/KanbanColumn.d.ts.map +1 -1
  703. package/dist/components/core/kanban/KanbanColumn.js +8 -14
  704. package/dist/components/core/kanban/KanbanColumn.js.map +1 -1
  705. package/dist/components/core/kanban/KanbanColumn.tsx +60 -80
  706. package/dist/components/core/kanban/KanbanUserViewLayout.d.ts.map +1 -1
  707. package/dist/components/core/kanban/KanbanUserViewLayout.js +4 -7
  708. package/dist/components/core/kanban/KanbanUserViewLayout.js.map +1 -1
  709. package/dist/components/core/kanban/KanbanUserViewLayout.tsx +15 -16
  710. package/dist/components/core/kanban/SolidKanbanView.d.ts +0 -2
  711. package/dist/components/core/kanban/SolidKanbanView.d.ts.map +1 -1
  712. package/dist/components/core/kanban/SolidKanbanView.js +121 -74
  713. package/dist/components/core/kanban/SolidKanbanView.js.map +1 -1
  714. package/dist/components/core/kanban/SolidKanbanView.tsx +221 -139
  715. package/dist/components/core/kanban/SolidKanbanViewConfigure.d.ts +1 -1
  716. package/dist/components/core/kanban/SolidKanbanViewConfigure.d.ts.map +1 -1
  717. package/dist/components/core/kanban/SolidKanbanViewConfigure.js +111 -52
  718. package/dist/components/core/kanban/SolidKanbanViewConfigure.js.map +1 -1
  719. package/dist/components/core/kanban/SolidKanbanViewConfigure.tsx +239 -122
  720. package/dist/components/core/kanban/SolidManyToOneFilterElement.d.ts.map +1 -1
  721. package/dist/components/core/kanban/SolidManyToOneFilterElement.js.map +1 -1
  722. package/dist/components/core/kanban/SolidManyToOneFilterElement.tsx +1 -2
  723. package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.d.ts.map +1 -1
  724. package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.js +2 -2
  725. package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.js.map +1 -1
  726. package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.tsx +21 -10
  727. package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.d.ts.map +1 -1
  728. package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.js +2 -2
  729. package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.js.map +1 -1
  730. package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.tsx +18 -10
  731. package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.d.ts.map +1 -1
  732. package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.js +3 -6
  733. package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.js.map +1 -1
  734. package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.tsx +30 -24
  735. package/dist/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.js.map +1 -1
  736. package/dist/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.tsx +2 -2
  737. package/dist/components/core/list/ListViewRowActionPopup.d.ts.map +1 -1
  738. package/dist/components/core/list/ListViewRowActionPopup.js +3 -2
  739. package/dist/components/core/list/ListViewRowActionPopup.js.map +1 -1
  740. package/dist/components/core/list/ListViewRowActionPopup.tsx +8 -5
  741. package/dist/components/core/list/PLAN.md +22 -2
  742. package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.d.ts +1 -1
  743. package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.d.ts.map +1 -1
  744. package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.js +3 -8
  745. package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.js.map +1 -1
  746. package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.tsx +19 -24
  747. package/dist/components/core/list/SolidDataTable.d.ts +1 -0
  748. package/dist/components/core/list/SolidDataTable.d.ts.map +1 -1
  749. package/dist/components/core/list/SolidDataTable.js +26 -6
  750. package/dist/components/core/list/SolidDataTable.js.map +1 -1
  751. package/dist/components/core/list/SolidDataTable.tsx +38 -7
  752. package/dist/components/core/list/SolidDataTablePagination.d.ts +15 -0
  753. package/dist/components/core/list/SolidDataTablePagination.d.ts.map +1 -0
  754. package/dist/components/core/list/SolidDataTablePagination.js +22 -0
  755. package/dist/components/core/list/SolidDataTablePagination.js.map +1 -0
  756. package/dist/components/core/list/SolidDataTablePagination.tsx +71 -0
  757. package/dist/components/core/list/SolidEmptyListViewPlaceholder.d.ts +1 -1
  758. package/dist/components/core/list/SolidEmptyListViewPlaceholder.d.ts.map +1 -1
  759. package/dist/components/core/list/SolidEmptyListViewPlaceholder.js +51 -30
  760. package/dist/components/core/list/SolidEmptyListViewPlaceholder.js.map +1 -1
  761. package/dist/components/core/list/SolidEmptyListViewPlaceholder.tsx +122 -90
  762. package/dist/components/core/list/SolidListView.d.ts +5 -12
  763. package/dist/components/core/list/SolidListView.d.ts.map +1 -1
  764. package/dist/components/core/list/SolidListView.js +363 -426
  765. package/dist/components/core/list/SolidListView.js.map +1 -1
  766. package/dist/components/core/list/SolidListView.tsx +714 -899
  767. package/dist/components/core/list/SolidListViewConfigure.d.ts.map +1 -1
  768. package/dist/components/core/list/SolidListViewConfigure.js +50 -61
  769. package/dist/components/core/list/SolidListViewConfigure.js.map +1 -1
  770. package/dist/components/core/list/SolidListViewConfigure.tsx +237 -215
  771. package/dist/components/core/list/SolidListViewHeaderButton.d.ts.map +1 -1
  772. package/dist/components/core/list/SolidListViewHeaderButton.js +6 -5
  773. package/dist/components/core/list/SolidListViewHeaderButton.js.map +1 -1
  774. package/dist/components/core/list/SolidListViewHeaderButton.tsx +9 -7
  775. package/dist/components/core/list/SolidListViewHeaderContextMenuButton.d.ts +1 -1
  776. package/dist/components/core/list/SolidListViewHeaderContextMenuButton.d.ts.map +1 -1
  777. package/dist/components/core/list/SolidListViewHeaderContextMenuButton.js +12 -7
  778. package/dist/components/core/list/SolidListViewHeaderContextMenuButton.js.map +1 -1
  779. package/dist/components/core/list/SolidListViewHeaderContextMenuButton.tsx +15 -13
  780. package/dist/components/core/list/SolidListViewRowActionMenuItem.d.ts +2 -0
  781. package/dist/components/core/list/SolidListViewRowActionMenuItem.d.ts.map +1 -0
  782. package/dist/components/core/list/SolidListViewRowActionMenuItem.js +42 -0
  783. package/dist/components/core/list/SolidListViewRowActionMenuItem.js.map +1 -0
  784. package/dist/components/core/list/SolidListViewRowActionMenuItem.tsx +43 -0
  785. package/dist/components/core/list/SolidListViewRowActionsMenu.d.ts +2 -0
  786. package/dist/components/core/list/SolidListViewRowActionsMenu.d.ts.map +1 -0
  787. package/dist/components/core/list/SolidListViewRowActionsMenu.js +32 -0
  788. package/dist/components/core/list/SolidListViewRowActionsMenu.js.map +1 -0
  789. package/dist/components/core/list/SolidListViewRowActionsMenu.tsx +106 -0
  790. package/dist/components/core/list/SolidListViewRowButtonContextMenu.d.ts +1 -1
  791. package/dist/components/core/list/SolidListViewRowButtonContextMenu.d.ts.map +1 -1
  792. package/dist/components/core/list/SolidListViewRowButtonContextMenu.js +6 -7
  793. package/dist/components/core/list/SolidListViewRowButtonContextMenu.js.map +1 -1
  794. package/dist/components/core/list/SolidListViewRowButtonContextMenu.tsx +9 -10
  795. package/dist/components/core/list/SolidListViewShimmerLoading.d.ts.map +1 -1
  796. package/dist/components/core/list/SolidListViewShimmerLoading.js +3 -4
  797. package/dist/components/core/list/SolidListViewShimmerLoading.js.map +1 -1
  798. package/dist/components/core/list/SolidListViewShimmerLoading.tsx +4 -72
  799. package/dist/components/core/list/SolidListViewWrapper.module.css +82 -41
  800. package/dist/components/core/list/SolidManyToOneFilterElement.d.ts.map +1 -1
  801. package/dist/components/core/list/SolidManyToOneFilterElement.js +2 -2
  802. package/dist/components/core/list/SolidManyToOneFilterElement.js.map +1 -1
  803. package/dist/components/core/list/SolidManyToOneFilterElement.tsx +5 -5
  804. package/dist/components/core/list/SolidSelectionDynamicFilterElement.d.ts.map +1 -1
  805. package/dist/components/core/list/SolidSelectionDynamicFilterElement.js +2 -2
  806. package/dist/components/core/list/SolidSelectionDynamicFilterElement.js.map +1 -1
  807. package/dist/components/core/list/SolidSelectionDynamicFilterElement.tsx +5 -4
  808. package/dist/components/core/list/SolidSelectionStaticFilterElement.d.ts.map +1 -1
  809. package/dist/components/core/list/SolidSelectionStaticFilterElement.js +2 -2
  810. package/dist/components/core/list/SolidSelectionStaticFilterElement.js.map +1 -1
  811. package/dist/components/core/list/SolidSelectionStaticFilterElement.tsx +5 -4
  812. package/dist/components/core/list/SolidTableRowCell.d.ts.map +1 -1
  813. package/dist/components/core/list/SolidTableRowCell.js +4 -3
  814. package/dist/components/core/list/SolidTableRowCell.js.map +1 -1
  815. package/dist/components/core/list/SolidTableRowCell.tsx +11 -8
  816. package/dist/components/core/list/columns/SolidBooleanColumn.js +2 -2
  817. package/dist/components/core/list/columns/SolidBooleanColumn.js.map +1 -1
  818. package/dist/components/core/list/columns/SolidBooleanColumn.tsx +2 -2
  819. package/dist/components/core/list/columns/SolidDateColumn.d.ts +1 -0
  820. package/dist/components/core/list/columns/SolidDateColumn.d.ts.map +1 -1
  821. package/dist/components/core/list/columns/SolidDateColumn.js +10 -3
  822. package/dist/components/core/list/columns/SolidDateColumn.js.map +1 -1
  823. package/dist/components/core/list/columns/SolidDateColumn.tsx +12 -3
  824. package/dist/components/core/list/columns/SolidDatetimeColumn.js +1 -1
  825. package/dist/components/core/list/columns/SolidDatetimeColumn.js.map +1 -1
  826. package/dist/components/core/list/columns/SolidDatetimeColumn.tsx +1 -1
  827. package/dist/components/core/list/columns/SolidExternalIdColumn.js +1 -1
  828. package/dist/components/core/list/columns/SolidExternalIdColumn.js.map +1 -1
  829. package/dist/components/core/list/columns/SolidExternalIdColumn.tsx +1 -1
  830. package/dist/components/core/list/columns/SolidIdColumn.js +2 -2
  831. package/dist/components/core/list/columns/SolidIdColumn.js.map +1 -1
  832. package/dist/components/core/list/columns/SolidIdColumn.tsx +3 -3
  833. package/dist/components/core/list/columns/SolidIntColumn.d.ts.map +1 -1
  834. package/dist/components/core/list/columns/SolidIntColumn.js +2 -2
  835. package/dist/components/core/list/columns/SolidIntColumn.js.map +1 -1
  836. package/dist/components/core/list/columns/SolidIntColumn.tsx +4 -2
  837. package/dist/components/core/list/columns/SolidMediaMultipleColumn.d.ts.map +1 -1
  838. package/dist/components/core/list/columns/SolidMediaMultipleColumn.js +7 -10
  839. package/dist/components/core/list/columns/SolidMediaMultipleColumn.js.map +1 -1
  840. package/dist/components/core/list/columns/SolidMediaMultipleColumn.tsx +13 -18
  841. package/dist/components/core/list/columns/SolidMediaSingleColumn.d.ts.map +1 -1
  842. package/dist/components/core/list/columns/SolidMediaSingleColumn.js +4 -4
  843. package/dist/components/core/list/columns/SolidMediaSingleColumn.js.map +1 -1
  844. package/dist/components/core/list/columns/SolidMediaSingleColumn.tsx +4 -4
  845. package/dist/components/core/list/columns/SolidSelectionDynamicColumn.js +1 -1
  846. package/dist/components/core/list/columns/SolidSelectionDynamicColumn.js.map +1 -1
  847. package/dist/components/core/list/columns/SolidSelectionDynamicColumn.tsx +1 -1
  848. package/dist/components/core/list/columns/SolidSelectionStaticColumn.js +1 -1
  849. package/dist/components/core/list/columns/SolidSelectionStaticColumn.js.map +1 -1
  850. package/dist/components/core/list/columns/SolidSelectionStaticColumn.tsx +1 -1
  851. package/dist/components/core/list/columns/SolidShortTextColumn.js +1 -1
  852. package/dist/components/core/list/columns/SolidShortTextColumn.js.map +1 -1
  853. package/dist/components/core/list/columns/SolidShortTextColumn.tsx +1 -1
  854. package/dist/components/core/list/columns/SolidTimeColumn.js +1 -1
  855. package/dist/components/core/list/columns/SolidTimeColumn.js.map +1 -1
  856. package/dist/components/core/list/columns/SolidTimeColumn.tsx +1 -1
  857. package/dist/components/core/list/columns/SolidUuidColumn.js +1 -1
  858. package/dist/components/core/list/columns/SolidUuidColumn.js.map +1 -1
  859. package/dist/components/core/list/columns/SolidUuidColumn.tsx +1 -1
  860. package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.js +1 -1
  861. package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.js.map +1 -1
  862. package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.tsx +1 -1
  863. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.d.ts.map +1 -1
  864. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js +5 -7
  865. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js.map +1 -1
  866. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +9 -11
  867. package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.js +1 -1
  868. package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.js.map +1 -1
  869. package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.tsx +1 -1
  870. package/dist/components/core/list/widgets/SolidChatterMessageCoModelEntityIdListViewWidget.d.ts +3 -0
  871. package/dist/components/core/list/widgets/SolidChatterMessageCoModelEntityIdListViewWidget.d.ts.map +1 -0
  872. package/dist/components/core/list/widgets/SolidChatterMessageCoModelEntityIdListViewWidget.js +87 -0
  873. package/dist/components/core/list/widgets/SolidChatterMessageCoModelEntityIdListViewWidget.js.map +1 -0
  874. package/dist/components/core/list/widgets/SolidChatterMessageCoModelEntityIdListViewWidget.tsx +70 -0
  875. package/dist/components/core/list/widgets/SolidMqMessageStageListViewWidget.d.ts +3 -0
  876. package/dist/components/core/list/widgets/SolidMqMessageStageListViewWidget.d.ts.map +1 -0
  877. package/dist/components/core/list/widgets/SolidMqMessageStageListViewWidget.js +33 -0
  878. package/dist/components/core/list/widgets/SolidMqMessageStageListViewWidget.js.map +1 -0
  879. package/dist/components/core/list/widgets/SolidMqMessageStageListViewWidget.tsx +50 -0
  880. package/dist/components/core/list/widgets/SolidSummarizeListHeaderActionMqMessages.d.ts +3 -0
  881. package/dist/components/core/list/widgets/SolidSummarizeListHeaderActionMqMessages.d.ts.map +1 -0
  882. package/dist/components/core/list/widgets/SolidSummarizeListHeaderActionMqMessages.js +158 -0
  883. package/dist/components/core/list/widgets/SolidSummarizeListHeaderActionMqMessages.js.map +1 -0
  884. package/dist/components/core/list/widgets/SolidSummarizeListHeaderActionMqMessages.tsx +185 -0
  885. package/dist/components/core/locales/SolidChatterLocaleTabView.d.ts.map +1 -1
  886. package/dist/components/core/locales/SolidChatterLocaleTabView.js +56 -7
  887. package/dist/components/core/locales/SolidChatterLocaleTabView.js.map +1 -1
  888. package/dist/components/core/locales/SolidChatterLocaleTabView.tsx +97 -42
  889. package/dist/components/core/locales/SolidLocale.d.ts.map +1 -1
  890. package/dist/components/core/locales/SolidLocale.js +6 -10
  891. package/dist/components/core/locales/SolidLocale.js.map +1 -1
  892. package/dist/components/core/locales/SolidLocale.tsx +23 -29
  893. package/dist/components/core/locales/solid-locale.css +142 -23
  894. package/dist/components/core/model/CreateModel.d.ts.map +1 -1
  895. package/dist/components/core/model/CreateModel.js +58 -63
  896. package/dist/components/core/model/CreateModel.js.map +1 -1
  897. package/dist/components/core/model/CreateModel.tsx +179 -213
  898. package/dist/components/core/model/FieldMetaData.d.ts.map +1 -1
  899. package/dist/components/core/model/FieldMetaData.js +29 -40
  900. package/dist/components/core/model/FieldMetaData.js.map +1 -1
  901. package/dist/components/core/model/FieldMetaData.tsx +154 -103
  902. package/dist/components/core/model/FieldMetaDataForm.d.ts.map +1 -1
  903. package/dist/components/core/model/FieldMetaDataForm.js +521 -270
  904. package/dist/components/core/model/FieldMetaDataForm.js.map +1 -1
  905. package/dist/components/core/model/FieldMetaDataForm.tsx +1142 -956
  906. package/dist/components/core/model/FieldSelector.d.ts +5 -1
  907. package/dist/components/core/model/FieldSelector.d.ts.map +1 -1
  908. package/dist/components/core/model/FieldSelector.js +52 -30
  909. package/dist/components/core/model/FieldSelector.js.map +1 -1
  910. package/dist/components/core/model/FieldSelector.tsx +119 -57
  911. package/dist/components/core/model/ModelListViewData.d.ts.map +1 -1
  912. package/dist/components/core/model/ModelListViewData.js +110 -91
  913. package/dist/components/core/model/ModelListViewData.js.map +1 -1
  914. package/dist/components/core/model/ModelListViewData.tsx +172 -220
  915. package/dist/components/core/model/ModelMetaData.d.ts.map +1 -1
  916. package/dist/components/core/model/ModelMetaData.js +105 -61
  917. package/dist/components/core/model/ModelMetaData.js.map +1 -1
  918. package/dist/components/core/model/ModelMetaData.tsx +277 -457
  919. package/dist/components/core/module/CreateModule.d.ts +1 -1
  920. package/dist/components/core/module/CreateModule.d.ts.map +1 -1
  921. package/dist/components/core/module/CreateModule.js +33 -54
  922. package/dist/components/core/module/CreateModule.js.map +1 -1
  923. package/dist/components/core/module/CreateModule.tsx +273 -299
  924. package/dist/components/core/module/ModuleListViewData.d.ts.map +1 -1
  925. package/dist/components/core/module/ModuleListViewData.js +104 -135
  926. package/dist/components/core/module/ModuleListViewData.js.map +1 -1
  927. package/dist/components/core/module/ModuleListViewData.tsx +172 -278
  928. package/dist/components/core/solid-ai/SolidAiChat.d.ts.map +1 -1
  929. package/dist/components/core/solid-ai/SolidAiChat.js +25 -20
  930. package/dist/components/core/solid-ai/SolidAiChat.js.map +1 -1
  931. package/dist/components/core/solid-ai/SolidAiChat.tsx +80 -31
  932. package/dist/components/core/solid-ai/SolidAiMainWrapper.d.ts.map +1 -1
  933. package/dist/components/core/solid-ai/SolidAiMainWrapper.js +5 -2
  934. package/dist/components/core/solid-ai/SolidAiMainWrapper.js.map +1 -1
  935. package/dist/components/core/solid-ai/SolidAiMainWrapper.tsx +7 -2
  936. package/dist/components/core/tree/SolidTreeTable.d.ts +73 -0
  937. package/dist/components/core/tree/SolidTreeTable.d.ts.map +1 -0
  938. package/dist/components/core/tree/SolidTreeTable.js +275 -0
  939. package/dist/components/core/tree/SolidTreeTable.js.map +1 -0
  940. package/dist/components/core/tree/SolidTreeTable.tsx +522 -0
  941. package/dist/components/core/tree/SolidTreeView.d.ts.map +1 -1
  942. package/dist/components/core/tree/SolidTreeView.js +266 -244
  943. package/dist/components/core/tree/SolidTreeView.js.map +1 -1
  944. package/dist/components/core/tree/SolidTreeView.tsx +606 -625
  945. package/dist/components/core/users/ApiKeysTab/ApiKeysTab.css +38 -0
  946. package/dist/components/core/users/ApiKeysTab/ApiKeysTab.d.ts +8 -0
  947. package/dist/components/core/users/ApiKeysTab/ApiKeysTab.d.ts.map +1 -0
  948. package/dist/components/core/users/ApiKeysTab/ApiKeysTab.js +139 -0
  949. package/dist/components/core/users/ApiKeysTab/ApiKeysTab.js.map +1 -0
  950. package/dist/components/core/users/ApiKeysTab/ApiKeysTab.tsx +256 -0
  951. package/dist/components/core/users/ApiKeysTab/GenerateApiKeyModal.d.ts +9 -0
  952. package/dist/components/core/users/ApiKeysTab/GenerateApiKeyModal.d.ts.map +1 -0
  953. package/dist/components/core/users/ApiKeysTab/GenerateApiKeyModal.js +157 -0
  954. package/dist/components/core/users/ApiKeysTab/GenerateApiKeyModal.js.map +1 -0
  955. package/dist/components/core/users/ApiKeysTab/GenerateApiKeyModal.tsx +183 -0
  956. package/dist/components/core/users/ApiKeysTab/RevealApiKeyModal.d.ts +9 -0
  957. package/dist/components/core/users/ApiKeysTab/RevealApiKeyModal.d.ts.map +1 -0
  958. package/dist/components/core/users/ApiKeysTab/RevealApiKeyModal.js +37 -0
  959. package/dist/components/core/users/ApiKeysTab/RevealApiKeyModal.js.map +1 -0
  960. package/dist/components/core/users/ApiKeysTab/RevealApiKeyModal.tsx +111 -0
  961. package/dist/components/core/users/ApiKeysTab/index.d.ts +4 -0
  962. package/dist/components/core/users/ApiKeysTab/index.d.ts.map +1 -0
  963. package/dist/components/core/users/ApiKeysTab/index.js +4 -0
  964. package/dist/components/core/users/ApiKeysTab/index.js.map +1 -0
  965. package/dist/components/core/users/ApiKeysTab/index.ts +3 -0
  966. package/dist/components/core/users/CreateUser.d.ts.map +1 -1
  967. package/dist/components/core/users/CreateUser.js +147 -155
  968. package/dist/components/core/users/CreateUser.js.map +1 -1
  969. package/dist/components/core/users/CreateUser.tsx +396 -370
  970. package/dist/components/core/users/CreateUserRole.d.ts.map +1 -1
  971. package/dist/components/core/users/CreateUserRole.js +14 -21
  972. package/dist/components/core/users/CreateUserRole.js.map +1 -1
  973. package/dist/components/core/users/CreateUserRole.tsx +16 -33
  974. package/dist/components/core/users/UserListView.d.ts.map +1 -1
  975. package/dist/components/core/users/UserListView.js +95 -92
  976. package/dist/components/core/users/UserListView.js.map +1 -1
  977. package/dist/components/core/users/UserListView.tsx +286 -330
  978. package/dist/components/layout/AdminLayout.d.ts.map +1 -1
  979. package/dist/components/layout/AdminLayout.js +4 -12
  980. package/dist/components/layout/AdminLayout.js.map +1 -1
  981. package/dist/components/layout/AdminLayout.tsx +22 -31
  982. package/dist/components/layout/AppConfig.d.ts +2 -2
  983. package/dist/components/layout/AppConfig.d.ts.map +1 -1
  984. package/dist/components/layout/AppConfig.js +9 -47
  985. package/dist/components/layout/AppConfig.js.map +1 -1
  986. package/dist/components/layout/AppConfig.tsx +10 -98
  987. package/dist/components/layout/AppSidebar.d.ts.map +1 -1
  988. package/dist/components/layout/AppSidebar.js +215 -84
  989. package/dist/components/layout/AppSidebar.js.map +1 -1
  990. package/dist/components/layout/AppSidebar.tsx +357 -163
  991. package/dist/components/layout/DashboardHeader.d.ts.map +1 -1
  992. package/dist/components/layout/DashboardHeader.js +11 -17
  993. package/dist/components/layout/DashboardHeader.js.map +1 -1
  994. package/dist/components/layout/DashboardHeader.tsx +40 -35
  995. package/dist/components/layout/FilterMenu.d.ts.map +1 -1
  996. package/dist/components/layout/FilterMenu.js +4 -7
  997. package/dist/components/layout/FilterMenu.js.map +1 -1
  998. package/dist/components/layout/FilterMenu.tsx +22 -20
  999. package/dist/components/layout/GlobalSearch.d.ts.map +1 -1
  1000. package/dist/components/layout/GlobalSearch.js +2 -6
  1001. package/dist/components/layout/GlobalSearch.js.map +1 -1
  1002. package/dist/components/layout/GlobalSearch.tsx +7 -13
  1003. package/dist/components/layout/Layout.d.ts.map +1 -1
  1004. package/dist/components/layout/Layout.js +11 -130
  1005. package/dist/components/layout/Layout.js.map +1 -1
  1006. package/dist/components/layout/Layout.tsx +18 -161
  1007. package/dist/components/layout/ListingHeader.d.ts.map +1 -1
  1008. package/dist/components/layout/ListingHeader.js +4 -8
  1009. package/dist/components/layout/ListingHeader.js.map +1 -1
  1010. package/dist/components/layout/ListingHeader.tsx +3 -9
  1011. package/dist/components/layout/SolidAiStudioLayout.d.ts.map +1 -1
  1012. package/dist/components/layout/SolidAiStudioLayout.js +130 -64
  1013. package/dist/components/layout/SolidAiStudioLayout.js.map +1 -1
  1014. package/dist/components/layout/SolidAiStudioLayout.tsx +141 -189
  1015. package/dist/components/layout/UserSidebar.d.ts.map +1 -1
  1016. package/dist/components/layout/UserSidebar.js +5 -4
  1017. package/dist/components/layout/UserSidebar.js.map +1 -1
  1018. package/dist/components/layout/UserSidebar.tsx +6 -5
  1019. package/dist/components/layout/context/layoutcontext.d.ts.map +1 -1
  1020. package/dist/components/layout/context/layoutcontext.js +31 -6
  1021. package/dist/components/layout/context/layoutcontext.js.map +1 -1
  1022. package/dist/components/layout/context/layoutcontext.tsx +31 -2
  1023. package/dist/components/layout/navbar-one.d.ts.map +1 -1
  1024. package/dist/components/layout/navbar-one.js +3 -8
  1025. package/dist/components/layout/navbar-one.js.map +1 -1
  1026. package/dist/components/layout/navbar-one.tsx +24 -15
  1027. package/dist/components/layout/navbar-two-menu.d.ts.map +1 -1
  1028. package/dist/components/layout/navbar-two-menu.js +16 -2
  1029. package/dist/components/layout/navbar-two-menu.js.map +1 -1
  1030. package/dist/components/layout/navbar-two-menu.tsx +50 -13
  1031. package/dist/components/layout/user-profile-menu.d.ts.map +1 -1
  1032. package/dist/components/layout/user-profile-menu.js +74 -59
  1033. package/dist/components/layout/user-profile-menu.js.map +1 -1
  1034. package/dist/components/layout/user-profile-menu.tsx +206 -143
  1035. package/dist/components/shad-cn-ui/SolidAccordion.d.ts +7 -0
  1036. package/dist/components/shad-cn-ui/SolidAccordion.d.ts.map +1 -0
  1037. package/dist/components/shad-cn-ui/SolidAccordion.js +47 -0
  1038. package/dist/components/shad-cn-ui/SolidAccordion.js.map +1 -0
  1039. package/dist/components/shad-cn-ui/SolidAccordion.tsx +41 -0
  1040. package/dist/components/shad-cn-ui/SolidAutocomplete.d.ts +12 -1
  1041. package/dist/components/shad-cn-ui/SolidAutocomplete.d.ts.map +1 -1
  1042. package/dist/components/shad-cn-ui/SolidAutocomplete.js +31 -15
  1043. package/dist/components/shad-cn-ui/SolidAutocomplete.js.map +1 -1
  1044. package/dist/components/shad-cn-ui/SolidAutocomplete.tsx +60 -24
  1045. package/dist/components/shad-cn-ui/SolidButton.d.ts +10 -2
  1046. package/dist/components/shad-cn-ui/SolidButton.d.ts.map +1 -1
  1047. package/dist/components/shad-cn-ui/SolidButton.js +18 -2
  1048. package/dist/components/shad-cn-ui/SolidButton.js.map +1 -1
  1049. package/dist/components/shad-cn-ui/SolidButton.tsx +54 -8
  1050. package/dist/components/shad-cn-ui/SolidCheckbox.d.ts +7 -0
  1051. package/dist/components/shad-cn-ui/SolidCheckbox.d.ts.map +1 -0
  1052. package/dist/components/shad-cn-ui/SolidCheckbox.js +35 -0
  1053. package/dist/components/shad-cn-ui/SolidCheckbox.js.map +1 -0
  1054. package/dist/components/shad-cn-ui/SolidCheckbox.tsx +19 -0
  1055. package/dist/components/shad-cn-ui/SolidCodeEditor.d.ts +12 -0
  1056. package/dist/components/shad-cn-ui/SolidCodeEditor.d.ts.map +1 -0
  1057. package/dist/components/shad-cn-ui/SolidCodeEditor.js +19 -0
  1058. package/dist/components/shad-cn-ui/SolidCodeEditor.js.map +1 -0
  1059. package/dist/components/shad-cn-ui/SolidCodeEditor.tsx +48 -0
  1060. package/dist/components/shad-cn-ui/SolidConfirmDialog.d.ts +14 -0
  1061. package/dist/components/shad-cn-ui/SolidConfirmDialog.d.ts.map +1 -0
  1062. package/dist/components/shad-cn-ui/SolidConfirmDialog.js +8 -0
  1063. package/dist/components/shad-cn-ui/SolidConfirmDialog.js.map +1 -0
  1064. package/dist/components/shad-cn-ui/SolidConfirmDialog.tsx +50 -0
  1065. package/dist/components/shad-cn-ui/SolidDatePicker.d.ts +10 -0
  1066. package/dist/components/shad-cn-ui/SolidDatePicker.d.ts.map +1 -0
  1067. package/dist/components/shad-cn-ui/SolidDatePicker.js +66 -0
  1068. package/dist/components/shad-cn-ui/SolidDatePicker.js.map +1 -0
  1069. package/dist/components/shad-cn-ui/SolidDatePicker.tsx +72 -0
  1070. package/dist/components/shad-cn-ui/SolidDialog.d.ts +41 -0
  1071. package/dist/components/shad-cn-ui/SolidDialog.d.ts.map +1 -0
  1072. package/dist/components/shad-cn-ui/SolidDialog.js +61 -0
  1073. package/dist/components/shad-cn-ui/SolidDialog.js.map +1 -0
  1074. package/dist/components/shad-cn-ui/SolidDialog.tsx +141 -0
  1075. package/dist/components/shad-cn-ui/SolidDivider.d.ts +4 -0
  1076. package/dist/components/shad-cn-ui/SolidDivider.d.ts.map +1 -0
  1077. package/dist/components/shad-cn-ui/SolidDivider.js +6 -0
  1078. package/dist/components/shad-cn-ui/SolidDivider.js.map +1 -0
  1079. package/dist/components/shad-cn-ui/SolidDivider.tsx +5 -0
  1080. package/dist/components/shad-cn-ui/SolidDropdownMenu.d.ts +15 -0
  1081. package/dist/components/shad-cn-ui/SolidDropdownMenu.d.ts.map +1 -0
  1082. package/dist/components/shad-cn-ui/SolidDropdownMenu.js +70 -0
  1083. package/dist/components/shad-cn-ui/SolidDropdownMenu.js.map +1 -0
  1084. package/dist/components/shad-cn-ui/SolidDropdownMenu.tsx +124 -0
  1085. package/dist/components/shad-cn-ui/SolidIcon.d.ts +92 -0
  1086. package/dist/components/shad-cn-ui/SolidIcon.d.ts.map +1 -0
  1087. package/dist/components/shad-cn-ui/SolidIcon.js +149 -0
  1088. package/dist/components/shad-cn-ui/SolidIcon.js.map +1 -0
  1089. package/dist/components/shad-cn-ui/SolidIcon.tsx +223 -0
  1090. package/dist/components/shad-cn-ui/SolidInput.d.ts +1 -1
  1091. package/dist/components/shad-cn-ui/SolidInput.d.ts.map +1 -1
  1092. package/dist/components/shad-cn-ui/SolidInput.js +4 -3
  1093. package/dist/components/shad-cn-ui/SolidInput.js.map +1 -1
  1094. package/dist/components/shad-cn-ui/SolidInput.tsx +6 -4
  1095. package/dist/components/shad-cn-ui/SolidLightbox.d.ts +19 -0
  1096. package/dist/components/shad-cn-ui/SolidLightbox.d.ts.map +1 -0
  1097. package/dist/components/shad-cn-ui/SolidLightbox.js +160 -0
  1098. package/dist/components/shad-cn-ui/SolidLightbox.js.map +1 -0
  1099. package/dist/components/shad-cn-ui/SolidLightbox.tsx +281 -0
  1100. package/dist/components/shad-cn-ui/SolidMessage.d.ts +10 -0
  1101. package/dist/components/shad-cn-ui/SolidMessage.d.ts.map +1 -0
  1102. package/dist/components/shad-cn-ui/SolidMessage.js +13 -0
  1103. package/dist/components/shad-cn-ui/SolidMessage.js.map +1 -0
  1104. package/dist/components/shad-cn-ui/SolidMessage.tsx +20 -0
  1105. package/dist/components/shad-cn-ui/SolidOtpInput.d.ts +12 -0
  1106. package/dist/components/shad-cn-ui/SolidOtpInput.d.ts.map +1 -0
  1107. package/dist/components/shad-cn-ui/SolidOtpInput.js +143 -0
  1108. package/dist/components/shad-cn-ui/SolidOtpInput.js.map +1 -0
  1109. package/dist/components/shad-cn-ui/SolidOtpInput.tsx +149 -0
  1110. package/dist/components/shad-cn-ui/SolidPanel.d.ts +11 -0
  1111. package/dist/components/shad-cn-ui/SolidPanel.d.ts.map +1 -0
  1112. package/dist/components/shad-cn-ui/SolidPanel.js +17 -0
  1113. package/dist/components/shad-cn-ui/SolidPanel.js.map +1 -0
  1114. package/dist/components/shad-cn-ui/SolidPanel.tsx +36 -0
  1115. package/dist/components/shad-cn-ui/SolidPasswordInput.d.ts +7 -0
  1116. package/dist/components/shad-cn-ui/SolidPasswordInput.d.ts.map +1 -0
  1117. package/dist/components/shad-cn-ui/SolidPasswordInput.js +39 -0
  1118. package/dist/components/shad-cn-ui/SolidPasswordInput.js.map +1 -0
  1119. package/dist/components/shad-cn-ui/SolidPasswordInput.tsx +31 -0
  1120. package/dist/components/shad-cn-ui/SolidPopover.d.ts +19 -0
  1121. package/dist/components/shad-cn-ui/SolidPopover.d.ts.map +1 -0
  1122. package/dist/components/shad-cn-ui/SolidPopover.js +110 -0
  1123. package/dist/components/shad-cn-ui/SolidPopover.js.map +1 -0
  1124. package/dist/components/shad-cn-ui/SolidPopover.tsx +149 -0
  1125. package/dist/components/shad-cn-ui/SolidProgressBar.d.ts +10 -0
  1126. package/dist/components/shad-cn-ui/SolidProgressBar.d.ts.map +1 -0
  1127. package/dist/components/shad-cn-ui/SolidProgressBar.js +14 -0
  1128. package/dist/components/shad-cn-ui/SolidProgressBar.js.map +1 -0
  1129. package/dist/components/shad-cn-ui/SolidProgressBar.tsx +29 -0
  1130. package/dist/components/shad-cn-ui/SolidRadioGroup.d.ts +17 -0
  1131. package/dist/components/shad-cn-ui/SolidRadioGroup.d.ts.map +1 -0
  1132. package/dist/components/shad-cn-ui/SolidRadioGroup.js +13 -0
  1133. package/dist/components/shad-cn-ui/SolidRadioGroup.js.map +1 -0
  1134. package/dist/components/shad-cn-ui/SolidRadioGroup.tsx +50 -0
  1135. package/dist/components/shad-cn-ui/SolidRichTextEditor.d.ts +17 -0
  1136. package/dist/components/shad-cn-ui/SolidRichTextEditor.d.ts.map +1 -0
  1137. package/dist/components/shad-cn-ui/SolidRichTextEditor.js +109 -0
  1138. package/dist/components/shad-cn-ui/SolidRichTextEditor.js.map +1 -0
  1139. package/dist/components/shad-cn-ui/SolidRichTextEditor.tsx +146 -0
  1140. package/dist/components/shad-cn-ui/SolidSegmentedControl.d.ts +17 -0
  1141. package/dist/components/shad-cn-ui/SolidSegmentedControl.d.ts.map +1 -0
  1142. package/dist/components/shad-cn-ui/SolidSegmentedControl.js +34 -0
  1143. package/dist/components/shad-cn-ui/SolidSegmentedControl.js.map +1 -0
  1144. package/dist/components/shad-cn-ui/SolidSegmentedControl.tsx +60 -0
  1145. package/dist/components/shad-cn-ui/SolidSelect.d.ts +2 -1
  1146. package/dist/components/shad-cn-ui/SolidSelect.d.ts.map +1 -1
  1147. package/dist/components/shad-cn-ui/SolidSelect.js +4 -3
  1148. package/dist/components/shad-cn-ui/SolidSelect.js.map +1 -1
  1149. package/dist/components/shad-cn-ui/SolidSelect.tsx +5 -2
  1150. package/dist/components/shad-cn-ui/SolidSlider.d.ts +12 -0
  1151. package/dist/components/shad-cn-ui/SolidSlider.d.ts.map +1 -0
  1152. package/dist/components/shad-cn-ui/SolidSlider.js +13 -0
  1153. package/dist/components/shad-cn-ui/SolidSlider.js.map +1 -0
  1154. package/dist/components/shad-cn-ui/SolidSlider.tsx +30 -0
  1155. package/dist/components/shad-cn-ui/SolidSpinner.d.ts +8 -0
  1156. package/dist/components/shad-cn-ui/SolidSpinner.d.ts.map +1 -0
  1157. package/dist/components/shad-cn-ui/SolidSpinner.js +14 -0
  1158. package/dist/components/shad-cn-ui/SolidSpinner.js.map +1 -0
  1159. package/dist/components/shad-cn-ui/SolidSpinner.tsx +21 -0
  1160. package/dist/components/shad-cn-ui/SolidSwitch.d.ts +10 -0
  1161. package/dist/components/shad-cn-ui/SolidSwitch.d.ts.map +1 -0
  1162. package/dist/components/shad-cn-ui/SolidSwitch.js +18 -0
  1163. package/dist/components/shad-cn-ui/SolidSwitch.js.map +1 -0
  1164. package/dist/components/shad-cn-ui/SolidSwitch.tsx +34 -0
  1165. package/dist/components/shad-cn-ui/SolidTabs.d.ts +3 -1
  1166. package/dist/components/shad-cn-ui/SolidTabs.d.ts.map +1 -1
  1167. package/dist/components/shad-cn-ui/SolidTabs.js +4 -4
  1168. package/dist/components/shad-cn-ui/SolidTabs.js.map +1 -1
  1169. package/dist/components/shad-cn-ui/SolidTabs.tsx +16 -4
  1170. package/dist/components/shad-cn-ui/SolidTag.d.ts +9 -0
  1171. package/dist/components/shad-cn-ui/SolidTag.d.ts.map +1 -0
  1172. package/dist/components/shad-cn-ui/SolidTag.js +13 -0
  1173. package/dist/components/shad-cn-ui/SolidTag.js.map +1 -0
  1174. package/dist/components/shad-cn-ui/SolidTag.tsx +15 -0
  1175. package/dist/components/shad-cn-ui/SolidTextarea.d.ts +5 -0
  1176. package/dist/components/shad-cn-ui/SolidTextarea.d.ts.map +1 -0
  1177. package/dist/components/shad-cn-ui/SolidTextarea.js +36 -0
  1178. package/dist/components/shad-cn-ui/SolidTextarea.js.map +1 -0
  1179. package/dist/components/shad-cn-ui/SolidTextarea.tsx +26 -0
  1180. package/dist/components/shad-cn-ui/SolidToast.d.ts +13 -0
  1181. package/dist/components/shad-cn-ui/SolidToast.d.ts.map +1 -0
  1182. package/dist/components/shad-cn-ui/SolidToast.js +34 -0
  1183. package/dist/components/shad-cn-ui/SolidToast.js.map +1 -0
  1184. package/dist/components/shad-cn-ui/SolidToast.tsx +55 -0
  1185. package/dist/components/shad-cn-ui/SolidTooltip.d.ts +22 -0
  1186. package/dist/components/shad-cn-ui/SolidTooltip.d.ts.map +1 -0
  1187. package/dist/components/shad-cn-ui/SolidTooltip.js +22 -0
  1188. package/dist/components/shad-cn-ui/SolidTooltip.js.map +1 -0
  1189. package/dist/components/shad-cn-ui/SolidTooltip.tsx +65 -0
  1190. package/dist/components/shad-cn-ui/index.d.ts +26 -0
  1191. package/dist/components/shad-cn-ui/index.d.ts.map +1 -1
  1192. package/dist/components/shad-cn-ui/index.js +26 -0
  1193. package/dist/components/shad-cn-ui/index.js.map +1 -1
  1194. package/dist/components/shad-cn-ui/index.ts +48 -0
  1195. package/dist/components/solid-ui/SolidButton.d.ts +14 -0
  1196. package/dist/components/solid-ui/SolidButton.d.ts.map +1 -0
  1197. package/dist/components/solid-ui/SolidButton.js +36 -0
  1198. package/dist/components/solid-ui/SolidButton.js.map +1 -0
  1199. package/dist/components/solid-ui/SolidButton.tsx +54 -0
  1200. package/dist/components/solid-ui/SolidTabs.d.ts +18 -0
  1201. package/dist/components/solid-ui/SolidTabs.d.ts.map +1 -0
  1202. package/dist/components/solid-ui/SolidTabs.js +22 -0
  1203. package/dist/components/solid-ui/SolidTabs.js.map +1 -0
  1204. package/dist/components/solid-ui/SolidTabs.tsx +73 -0
  1205. package/dist/components/solid-ui/index.d.ts +3 -0
  1206. package/dist/components/solid-ui/index.d.ts.map +1 -0
  1207. package/dist/components/solid-ui/index.js +3 -0
  1208. package/dist/components/solid-ui/index.js.map +1 -0
  1209. package/dist/components/solid-ui/index.ts +2 -0
  1210. package/dist/helpers/# no such endpoints exist, need to calle +3 -0
  1211. package/dist/helpers/mediaType.d.ts +3 -0
  1212. package/dist/helpers/mediaType.d.ts.map +1 -0
  1213. package/dist/helpers/mediaType.js +19 -0
  1214. package/dist/helpers/mediaType.js.map +1 -0
  1215. package/dist/helpers/mediaType.ts +23 -0
  1216. package/dist/helpers/registry.d.ts +3 -4
  1217. package/dist/helpers/registry.d.ts.map +1 -1
  1218. package/dist/helpers/registry.js +113 -90
  1219. package/dist/helpers/registry.js.map +1 -1
  1220. package/dist/helpers/registry.ts +128 -91
  1221. package/dist/helpers/routePaths.js +1 -1
  1222. package/dist/helpers/routePaths.js.map +1 -1
  1223. package/dist/helpers/routePaths.ts +1 -1
  1224. package/dist/hooks/useSolidAutocompleteField.d.ts +31 -0
  1225. package/dist/hooks/useSolidAutocompleteField.d.ts.map +1 -0
  1226. package/dist/hooks/useSolidAutocompleteField.js +116 -0
  1227. package/dist/hooks/useSolidAutocompleteField.js.map +1 -0
  1228. package/dist/hooks/useSolidAutocompleteField.ts +90 -0
  1229. package/dist/index.d.ts +18 -5
  1230. package/dist/index.d.ts.map +1 -1
  1231. package/dist/index.js +15 -5
  1232. package/dist/index.js.map +1 -1
  1233. package/dist/index.ts +95 -6
  1234. package/dist/redux/api/apiKeyApi.d.ts +47 -0
  1235. package/dist/redux/api/apiKeyApi.d.ts.map +1 -0
  1236. package/dist/redux/api/apiKeyApi.js +47 -0
  1237. package/dist/redux/api/apiKeyApi.js.map +1 -0
  1238. package/dist/redux/api/apiKeyApi.ts +69 -0
  1239. package/dist/redux/store/defaultStoreConfig.d.ts +51 -35
  1240. package/dist/redux/store/defaultStoreConfig.d.ts.map +1 -1
  1241. package/dist/redux/store/defaultStoreConfig.js +32 -3
  1242. package/dist/redux/store/defaultStoreConfig.js.map +1 -1
  1243. package/dist/redux/store/defaultStoreConfig.ts +33 -33
  1244. package/dist/resources/globals.css +3231 -808
  1245. package/dist/resources/images/SolidXLogo-dark.svg +29 -0
  1246. package/dist/resources/images/SolidXLogo-light.svg +29 -0
  1247. package/dist/resources/shadcn-base.css +3040 -865
  1248. package/dist/resources/solid-responsive.css +42 -86
  1249. package/dist/resources/themes/solid-dark-purple/theme.css +15 -20
  1250. package/dist/resources/themes/solid-light-purple/theme.css +14 -19
  1251. package/dist/routes/AppEventListener.d.ts +1 -1
  1252. package/dist/routes/AppEventListener.d.ts.map +1 -1
  1253. package/dist/routes/AppEventListener.js +3 -1
  1254. package/dist/routes/AppEventListener.js.map +1 -1
  1255. package/dist/routes/AppEventListener.tsx +7 -1
  1256. package/dist/routes/guards/AuthGuard.d.ts +5 -1
  1257. package/dist/routes/guards/AuthGuard.d.ts.map +1 -1
  1258. package/dist/routes/guards/AuthGuard.js +13 -2
  1259. package/dist/routes/guards/AuthGuard.js.map +1 -1
  1260. package/dist/routes/guards/AuthGuard.tsx +27 -3
  1261. package/dist/routes/guards/GuestGuard.d.ts +2 -0
  1262. package/dist/routes/guards/GuestGuard.d.ts.map +1 -0
  1263. package/dist/routes/guards/GuestGuard.js +18 -0
  1264. package/dist/routes/guards/GuestGuard.js.map +1 -0
  1265. package/dist/routes/guards/GuestGuard.tsx +20 -0
  1266. package/dist/routes/pages/admin/core/CardPage.d.ts +2 -0
  1267. package/dist/routes/pages/admin/core/CardPage.d.ts.map +1 -0
  1268. package/dist/routes/pages/admin/core/CardPage.js +22 -0
  1269. package/dist/routes/pages/admin/core/CardPage.js.map +1 -0
  1270. package/dist/routes/pages/admin/core/CardPage.tsx +10 -0
  1271. package/dist/routes/pages/auth/SsoPage.d.ts.map +1 -1
  1272. package/dist/routes/pages/auth/SsoPage.js +4 -5
  1273. package/dist/routes/pages/auth/SsoPage.js.map +1 -1
  1274. package/dist/routes/pages/auth/SsoPage.tsx +7 -15
  1275. package/dist/routes/pages/studio/StudioLandingPage.js +3 -3
  1276. package/dist/routes/pages/studio/StudioLandingPage.js.map +1 -1
  1277. package/dist/routes/pages/studio/StudioLandingPage.tsx +5 -5
  1278. package/dist/routes/solidRoutes.d.ts.map +1 -1
  1279. package/dist/routes/solidRoutes.js +18 -1
  1280. package/dist/routes/solidRoutes.js.map +1 -1
  1281. package/dist/routes/solidRoutes.tsx +19 -1
  1282. package/dist/routes/types.d.ts +1 -1
  1283. package/dist/routes/types.d.ts.map +1 -1
  1284. package/dist/routes/types.js.map +1 -1
  1285. package/dist/routes/types.ts +5 -1
  1286. package/dist/styles.d.ts +1 -0
  1287. package/dist/styles.d.ts.map +1 -1
  1288. package/dist/styles.js +1 -0
  1289. package/dist/styles.js.map +1 -1
  1290. package/dist/styles.ts +1 -0
  1291. package/dist/types/extension-registry.d.ts +28 -0
  1292. package/dist/types/extension-registry.d.ts.map +1 -0
  1293. package/dist/types/extension-registry.js +26 -0
  1294. package/dist/types/extension-registry.js.map +1 -0
  1295. package/dist/types/extension-registry.ts +32 -0
  1296. package/dist/types/external.d.ts +11 -0
  1297. package/dist/types/layout.d.ts +4 -2
  1298. package/dist/types/solid-core.d.ts +30 -27
  1299. package/package.json +10 -4
  1300. package/dist/components/auth/SolidOTPVerify.d.ts +0 -3
  1301. package/dist/components/auth/SolidOTPVerify.d.ts.map +0 -1
  1302. package/dist/components/auth/SolidOTPVerify.js +0 -67
  1303. package/dist/components/auth/SolidOTPVerify.js.map +0 -1
  1304. package/dist/components/auth/SolidOTPVerify.tsx +0 -133
  1305. package/dist/components/core/common/LoadDynamicJsxComponent.d.ts +0 -2
  1306. package/dist/components/core/common/LoadDynamicJsxComponent.d.ts.map +0 -1
  1307. package/dist/components/core/common/LoadDynamicJsxComponent.js +0 -50
  1308. package/dist/components/core/common/LoadDynamicJsxComponent.js.map +0 -1
  1309. package/dist/components/core/common/LoadDynamicJsxComponent.tsx +0 -70
  1310. package/dist/nextAuth/authProviders.d.ts +0 -4
  1311. package/dist/nextAuth/authProviders.d.ts.map +0 -1
  1312. package/dist/nextAuth/authProviders.js +0 -198
  1313. package/dist/nextAuth/authProviders.js.map +0 -1
  1314. package/dist/nextAuth/authProviders.tsx +0 -232
  1315. package/dist/nextAuth/handleLogout.d.ts +0 -2
  1316. package/dist/nextAuth/handleLogout.d.ts.map +0 -1
  1317. package/dist/nextAuth/handleLogout.js +0 -36
  1318. package/dist/nextAuth/handleLogout.js.map +0 -1
  1319. package/dist/nextAuth/handleLogout.tsx +0 -39
  1320. package/dist/nextAuth/refreshAccessToken.d.ts +0 -2
  1321. package/dist/nextAuth/refreshAccessToken.d.ts.map +0 -1
  1322. package/dist/nextAuth/refreshAccessToken.js +0 -24
  1323. package/dist/nextAuth/refreshAccessToken.js.map +0 -1
  1324. package/dist/nextAuth/refreshAccessToken.tsx +0 -28
  1325. package/dist/redux/features/settingsSlice.d.ts +0 -20
  1326. package/dist/redux/features/settingsSlice.d.ts.map +0 -1
  1327. package/dist/redux/features/settingsSlice.js +0 -39
  1328. package/dist/redux/features/settingsSlice.js.map +0 -1
  1329. package/dist/redux/features/settingsSlice.ts +0 -60
@@ -48,7 +48,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
48
48
  import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
49
49
  import { SolidListView } from "../../../../../components/core/list/SolidListView";
50
50
  import { camelCase, capitalize } from "lodash";
51
- import { Dialog } from "primereact/dialog";
52
51
  import { useEffect, useState } from "react";
53
52
  import * as Yup from 'yup';
54
53
  import SolidFormView from '../../../../../components/core/form/SolidFormView';
@@ -56,8 +55,10 @@ import { usePathname } from "../../../../../hooks/usePathname";
56
55
  import { useRouter } from "../../../../../hooks/useRouter";
57
56
  import { getExtensionComponent } from "../../../../../helpers/registry";
58
57
  import { SolidFieldTooltip } from "../../../../../components/common/SolidFieldTooltip";
59
- import { Button } from "primereact/button";
58
+ import { SolidButton } from "../../../../shad-cn-ui/SolidButton";
59
+ import { SolidDialog, SolidDialogBody, SolidDialogClose, SolidDialogHeader, SolidDialogTitle } from "../../../../shad-cn-ui/SolidDialog";
60
60
  import { ERROR_MESSAGES } from "../../../../../constants/error-messages";
61
+ import styles from "../solidFields.module.css";
61
62
  var SolidRelationOneToManyField = /** @class */ (function () {
62
63
  function SolidRelationOneToManyField(fieldContext) {
63
64
  Object.defineProperty(this, "fieldContext", {
@@ -189,7 +190,7 @@ var buildRelationCustomFilter = function (_a) {
189
190
  }
190
191
  };
191
192
  export var DefaultRelationOneToManyFormEditWidget = function (_a) {
192
- var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v;
193
+ var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
193
194
  var formik = _a.formik, fieldContext = _a.fieldContext;
194
195
  var fieldMetadata = fieldContext.fieldMetadata;
195
196
  var router = useRouter();
@@ -198,10 +199,10 @@ export var DefaultRelationOneToManyFormEditWidget = function (_a) {
198
199
  var fieldLabel = (_c = fieldLayoutInfo.attrs.label) !== null && _c !== void 0 ? _c : fieldMetadata.displayName;
199
200
  var fieldDescription = (_d = fieldLayoutInfo.attrs.description) !== null && _d !== void 0 ? _d : fieldMetadata.description;
200
201
  var solidFormViewMetaData = fieldContext.solidFormViewMetaData;
201
- var _w = useState(false), visibleCreateRelationEntity = _w[0], setvisibleCreateRelationEntity = _w[1];
202
- var _x = useState(), listViewParams = _x[0], setListViewParams = _x[1];
203
- var _y = useState(), formViewParams = _y[0], setformViewParams = _y[1];
204
- var _z = useState(false), refreshList = _z[0], setRefreshList = _z[1]; // Added state for rerender
202
+ var _t = useState(false), visibleCreateRelationEntity = _t[0], setvisibleCreateRelationEntity = _t[1];
203
+ var _u = useState(), listViewParams = _u[0], setListViewParams = _u[1];
204
+ var _v = useState(), formViewParams = _v[0], setformViewParams = _v[1];
205
+ var _w = useState(false), refreshList = _w[0], setRefreshList = _w[1]; // Added state for rerender
205
206
  var showFieldLabel = (_e = fieldLayoutInfo === null || fieldLayoutInfo === void 0 ? void 0 : fieldLayoutInfo.attrs) === null || _e === void 0 ? void 0 : _e.showLabel;
206
207
  var readOnlyPermission = fieldContext.readOnly;
207
208
  var pathname = usePathname();
@@ -210,7 +211,7 @@ export var DefaultRelationOneToManyFormEditWidget = function (_a) {
210
211
  var _ = _a[0], value = _a[1];
211
212
  return value.isUserKey;
212
213
  })) === null || _f === void 0 ? void 0 : _f[0];
213
- var _0 = useState(false), showSaveParentEntityConfirmationPopup = _0[0], setShowSaveParentEntityConfirmationPopup = _0[1];
214
+ var _x = useState(false), showSaveParentEntityConfirmationPopup = _x[0], setShowSaveParentEntityConfirmationPopup = _x[1];
214
215
  useEffect(function () {
215
216
  var urlParams = new URLSearchParams(window.location.search);
216
217
  var childEntity = urlParams.get('childEntity');
@@ -329,10 +330,11 @@ export var DefaultRelationOneToManyFormEditWidget = function (_a) {
329
330
  });
330
331
  }); };
331
332
  return (_jsxs("div", { children: [showFieldLabel != false &&
332
- _jsxs("label", { htmlFor: fieldLayoutInfo.attrs.name, className: "form-field-label", children: [fieldLabel, fieldMetadata.required && _jsx("span", { className: "text-red-500", children: " *" }), _jsx(SolidFieldTooltip, { fieldContext: fieldContext })] }), listViewParams &&
333
+ _jsxs("label", { htmlFor: fieldLayoutInfo.attrs.name, className: "".concat(styles.fieldLabel, " form-field-label"), children: [fieldLabel, fieldMetadata.required && _jsx("span", { className: "text-red-500", children: " *" }), _jsx(SolidFieldTooltip, { fieldContext: fieldContext })] }), listViewParams &&
333
334
  _jsx(SolidListView, __assign({}, listViewParams, { handleAddClickForEmbeddedView: handleAddOrEditClickForEmbeddedView, handleEditClickForEmbeddedView: handleAddOrEditClickForEmbeddedView }), refreshList.toString()), readOnlyPermission !== true && formViewParams &&
334
- _jsx(RenderSolidFormEmbededView, { formik: formik, fieldContext: fieldContext, visibleCreateRelationEntity: visibleCreateRelationEntity, setvisibleCreateRelationEntity: setvisibleCreateRelationEntity, formViewParams: formViewParams, handlePopupClose: handlePopupClose }), _jsx(Dialog, { showHeader: false, headerClassName: "py-2", contentClassName: "px-0 pb-0", className: "solid-confirm-dialog", contentStyle: { borderRadius: 6 }, visible: showSaveParentEntityConfirmationPopup, style: { width: '20vw' }, onHide: function () { if (!showSaveParentEntityConfirmationPopup)
335
- return; setShowSaveParentEntityConfirmationPopup(false); }, children: _jsxs("div", { className: "p-4", children: [_jsxs("p", { className: "m-0 solid-primary-title", style: { fontSize: 16 }, children: ["Before Creating ", fieldLabel, " you need to save ", ((_s = (_r = (_q = solidFormViewMetaData === null || solidFormViewMetaData === void 0 ? void 0 : solidFormViewMetaData.data) === null || _q === void 0 ? void 0 : _q.solidView) === null || _r === void 0 ? void 0 : _r.model) === null || _s === void 0 ? void 0 : _s.displayName) ? (_v = (_u = (_t = solidFormViewMetaData === null || solidFormViewMetaData === void 0 ? void 0 : solidFormViewMetaData.data) === null || _t === void 0 ? void 0 : _t.solidView) === null || _u === void 0 ? void 0 : _u.model) === null || _v === void 0 ? void 0 : _v.displayName : capitalize(fieldContext.modelName), ". Please click save if you wish to proceed ?"] }), _jsxs("div", { className: "flex align-items-center justify-content-start gap-2 mt-3", children: [_jsx(Button, { label: "Save", size: "small", onClick: saveParentEntity }), _jsx(Button, { label: "Cancel", size: "small", onClick: function () { return setShowSaveParentEntityConfirmationPopup(false); }, outlined: true, className: 'bg-primary-reverse' })] })] }) })] }));
335
+ _jsx(RenderSolidFormEmbededView, { formik: formik, fieldContext: fieldContext, visibleCreateRelationEntity: visibleCreateRelationEntity, setvisibleCreateRelationEntity: setvisibleCreateRelationEntity, formViewParams: formViewParams, handlePopupClose: handlePopupClose }), _jsxs(SolidDialog, { open: showSaveParentEntityConfirmationPopup, onOpenChange: setShowSaveParentEntityConfirmationPopup, className: "solid-confirm-dialog solid-field-confirm-dialog", style: { width: "min(420px, calc(100vw - 2rem))" }, children: [_jsxs(SolidDialogHeader, { className: "solid-field-confirm-header", children: [_jsx(SolidDialogTitle, { children: "Save Required" }), _jsx(SolidDialogClose, {})] }), _jsx(SolidDialogBody, { className: "solid-field-confirm-dialog-body", children: _jsxs("p", { className: "solid-field-confirm-message", children: ["Before creating ", fieldLabel, ", you need to save", " ", ((_s = (_r = (_q = solidFormViewMetaData === null || solidFormViewMetaData === void 0 ? void 0 : solidFormViewMetaData.data) === null || _q === void 0 ? void 0 : _q.solidView) === null || _r === void 0 ? void 0 : _r.model) === null || _s === void 0 ? void 0 : _s.displayName)
336
+ ? solidFormViewMetaData.data.solidView.model.displayName
337
+ : capitalize(fieldContext.modelName), ". Please save first if you want to continue."] }) }), _jsxs("div", { className: "solid-radix-dialog-footer solid-field-confirm-actions", children: [_jsx(SolidButton, { label: "Save", size: "sm", onClick: saveParentEntity, autoFocus: true }), _jsx(SolidButton, { label: "Cancel", size: "sm", onClick: function () { return setShowSaveParentEntityConfirmationPopup(false); }, variant: "outline" })] })] })] }));
336
338
  };
337
339
  export var DefaultRelationOneToManyFormViewWidget = function (_a) {
338
340
  var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
@@ -429,7 +431,7 @@ export var DefaultRelationOneToManyFormViewWidget = function (_a) {
429
431
  var formDisabled = (_l = (_k = (_j = solidFormViewMetaData.data.solidView) === null || _j === void 0 ? void 0 : _j.layout) === null || _k === void 0 ? void 0 : _k.attrs) === null || _l === void 0 ? void 0 : _l.disabled;
430
432
  var formReadonly = (_p = (_o = (_m = solidFormViewMetaData.data.solidView) === null || _m === void 0 ? void 0 : _m.layout) === null || _o === void 0 ? void 0 : _o.attrs) === null || _p === void 0 ? void 0 : _p.readonly;
431
433
  return (_jsxs("div", { children: [showFieldLabel != false &&
432
- _jsxs("label", { htmlFor: fieldLayoutInfo.attrs.name, className: "form-field-label", children: [fieldLabel, fieldMetadata.required && _jsx("span", { className: "text-red-500", children: " *" }), _jsx(SolidFieldTooltip, { fieldContext: fieldContext })] }), listViewParams &&
434
+ _jsxs("label", { htmlFor: fieldLayoutInfo.attrs.name, className: "".concat(styles.fieldLabel, " form-field-label"), children: [fieldLabel, fieldMetadata.required && _jsx("span", { className: "text-red-500", children: " *" }), _jsx(SolidFieldTooltip, { fieldContext: fieldContext })] }), listViewParams &&
433
435
  _jsx(SolidListView, __assign({}, listViewParams, { handleAddClickForEmbeddedView: handleAddOrEditClickForEmbeddedView, handleEditClickForEmbeddedView: handleAddOrEditClickForEmbeddedView }), refreshList.toString()), readOnlyPermission !== true && formViewParams &&
434
436
  _jsx(RenderSolidFormEmbededView, { fieldLayoutInfo: fieldLayoutInfo, visibleCreateRelationEntity: visibleCreateRelationEntity, setvisibleCreateRelationEntity: setvisibleCreateRelationEntity, formViewParams: formViewParams, handlePopupClose: handlePopupClose })] }));
435
437
  };
@@ -454,14 +456,10 @@ export var RenderSolidFormEmbededView = function (_a) {
454
456
  onEmbeddedFormSave: formViewParams.onEmbeddedFormSave,
455
457
  isCustomCreate: formViewParams.isCustomCreate
456
458
  };
457
- return (_jsx("div", { className: "many-to-many-add", children: _jsx(Dialog, { header: "", showHeader: false, visible: visibleCreateRelationEntity, className: "solid-dialog", style: {
459
+ return (_jsx("div", { className: "many-to-many-add", children: _jsx(SolidDialog, { open: visibleCreateRelationEntity, onOpenChange: setvisibleCreateRelationEntity, className: "solid-dialog", style: {
458
460
  width: (_e = (_d = (_c = (_b = fieldLayoutInfo === null || fieldLayoutInfo === void 0 ? void 0 : fieldLayoutInfo.attrs) === null || _b === void 0 ? void 0 : _b.inlineCreateLayout) === null || _c === void 0 ? void 0 : _c.attrs) === null || _d === void 0 ? void 0 : _d.width) !== null && _e !== void 0 ? _e : "60vw",
459
461
  height: (_j = (_h = (_g = (_f = fieldLayoutInfo === null || fieldLayoutInfo === void 0 ? void 0 : fieldLayoutInfo.attrs) === null || _f === void 0 ? void 0 : _f.inlineCreateLayout) === null || _g === void 0 ? void 0 : _g.attrs) === null || _h === void 0 ? void 0 : _h.height) !== null && _j !== void 0 ? _j : "auto"
460
- }, onHide: function () {
461
- if (!visibleCreateRelationEntity)
462
- return;
463
- setvisibleCreateRelationEntity(false);
464
- }, breakpoints: { '1199px': '35rem', "767px": '85vw', "550px": '90vw' }, children: params &&
462
+ }, showHeader: false, breakpoints: { '1199px': '35rem', "767px": '85vw', "550px": '90vw' }, children: params &&
465
463
  _jsx(SolidFormView, __assign({}, params)) }) }));
466
464
  };
467
465
  export var PseudoRelationOneToManyFormWidget = function (_a) {
@@ -582,7 +580,7 @@ export var PseudoRelationOneToManyFormWidget = function (_a) {
582
580
  setformViewParams(formviewparams);
583
581
  }, [readOnlyPermission, formViewData]);
584
582
  return (_jsxs("div", { children: [showFieldLabel != false &&
585
- _jsx("label", { htmlFor: fieldLayoutInfo.attrs.name, className: "form-field-label", children: fieldLabel }), listViewParams &&
583
+ _jsx("label", { htmlFor: fieldLayoutInfo.attrs.name, className: "".concat(styles.fieldLabel, " form-field-label"), children: fieldLabel }), listViewParams &&
586
584
  _jsx(SolidListView, __assign({}, listViewParams, { handleAddClickForEmbeddedView: handleAddOrEditClickForEmbeddedView, handleEditClickForEmbeddedView: handleAddOrEditClickForEmbeddedView }), refreshList.toString()), readOnlyPermission !== true && formViewParams &&
587
585
  _jsx(RenderSolidFormEmbededView, { fieldLayoutInfo: fieldLayoutInfo, visibleCreateRelationEntity: visibleCreateRelationEntity, setvisibleCreateRelationEntity: setvisibleCreateRelationEntity, formViewParams: formViewParams, handlePopupClose: handlePopupClose })] }));
588
586
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SolidRelationOneToManyField.js","sourceRoot":"","sources":["../../../../../../src/components/core/form/fields/relations/SolidRelationOneToManyField.tsx"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BAAiB,CAAC,cAAc,CAAC,CAAA;IAGrC,CAAC,EAAE,CAAC,kBAAkB,EAAE,YAAY,CAAC,CAAC,CAAA;IAEtC,OAAO,CACH,0BAEK,cAAc,IAAI,KAAK;gBACpB,gBAAO,OAAO,EAAE,eAAe,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,EAAC,kBAAkB,YAAE,UAAU,GAG5E,EAIX,cAAc;gBACX,KAAC,aAAa,eAAmC,cAAc,IAAE,6BAA6B,EAAE,mCAAmC,EAAE,8BAA8B,EAAE,mCAAmC,KAApL,WAAW,CAAC,QAAQ,EAAE,CAAkK,EAE/M,kBAAkB,KAAK,IAAI,IAAI,cAAc;gBAC1C,KAAC,0BAA0B,IAAC,eAAe,EAAE,eAAe,EAAE,2BAA2B,EAAE,2BAA2B,EAAE,8BAA8B,EAAE,8BAA8B,EAAE,cAAc,EAAE,cAAc,EAAE,gBAAgB,EAAE,gBAAgB,GAA+B,IAG3R,CACT,CAAC;AACN,CAAC,CAAA","sourcesContent":["\nimport { SolidListView } from \"../../../../../components/core/list/SolidListView\";\nimport { camelCase, capitalize } from \"lodash\";\nimport { Dialog } from \"primereact/dialog\";\nimport { useEffect, useState } from \"react\";\nimport * as Yup from 'yup';\nimport SolidFormView from '../../../../../components/core/form/SolidFormView';\nimport { FormikObject, ISolidField, SolidFieldProps } from \"../ISolidField\";\nimport { usePathname } from \"../../../../../hooks/usePathname\";\nimport { useRouter } from \"../../../../../hooks/useRouter\";\nimport { getExtensionComponent } from \"../../../../../helpers/registry\";\nimport { SolidFormFieldWidgetProps, SolidFormWidgetProps } from \"../../../../../types/solid-core\";\nimport { Message } from \"primereact/message\";\nimport FieldMetaData from \"../../../../../components/core/model/FieldMetaData\";\nimport { Chip } from \"primereact/chip\";\nimport { SolidFieldTooltip } from \"../../../../../components/common/SolidFieldTooltip\";\nimport { Divider } from \"primereact/divider\";\nimport { Button } from \"primereact/button\";\nimport { ERROR_MESSAGES } from \"../../../../../constants/error-messages\";\n\nexport type FormViewParams = {\n moduleName: any;\n id: any;\n embeded: any;\n isCustomCreate: any;\n customLayout: any;\n modelName: any;\n parentFieldName?: any;\n parentData: any;\n onEmbeddedFormSave: any;\n inlineCreateAutoSave: any;\n customCreateHandler?: any;\n handlePopupClose?: any\n}\n\nexport class SolidRelationOneToManyField implements ISolidField {\n\n private fieldContext: SolidFieldProps;\n constructor(fieldContext: SolidFieldProps) {\n this.fieldContext = fieldContext;\n }\n\n initialValue(): any {\n\n // const manyToOneFieldData = this.fieldContext.data[this.fieldContext.field.attrs.name];\n // const fieldMetadata = this.fieldContext.fieldMetadata;\n // const userKeyField = fieldMetadata.relationModel.userKeyField.name;\n // const manyToOneColVal = manyToOneFieldData ? manyToOneFieldData[userKeyField] : '';\n\n // return { label: manyToOneColVal || '', value: manyToOneFieldData?.id || '' };\n\n return '';\n }\n\n updateFormData(value: any, formData: FormData): any {\n const fieldLayoutInfo = this.fieldContext.field;\n // if(!value || value.length === 0) {\n // formData.append(`${fieldLayoutInfo.attrs.name}Command`, \"clear\");\n\n // }\n if (value) {\n formData.append(`${fieldLayoutInfo.attrs.name}Id`, value.value);\n }\n }\n\n validationSchema(): Yup.Schema {\n let schema = Yup.object();\n\n const fieldMetadata = this.fieldContext.fieldMetadata;\n const fieldLayoutInfo = this.fieldContext.field;\n const fieldLabel = fieldLayoutInfo.attrs.label ?? fieldMetadata.displayName;\n\n // 1. required \n if (fieldMetadata.required) {\n schema = schema.required(ERROR_MESSAGES.FIELD_REUQIRED(fieldLabel));\n }\n return schema;\n }\n\n render(formik: FormikObject) {\n const fieldMetadata = this.fieldContext.fieldMetadata;\n\n const fieldLayoutInfo = this.fieldContext.field;\n const fieldLabel = fieldLayoutInfo.attrs.label ?? fieldMetadata.displayName;\n const className = fieldLayoutInfo.attrs?.className || 'field col-12';\n\n const userKeyFieldName = fieldMetadata.relationModel?.userKeyField?.name;\n\n let DynamicWidget = getExtensionComponent(\"SolidFormFieldRelationViewModeWidget\");\n const widgetProps = {\n label: fieldLabel,\n value: (this.fieldContext.data?.[fieldLayoutInfo.attrs.name] || []).map(\n (item: any) => ({ label: item[userKeyFieldName] ?? '' })\n ),\n layout: fieldLayoutInfo\n }\n\n // DefaultRelationOneToManyFormEditWidget\n\n\n let viewWidget = fieldLayoutInfo.attrs.viewWidget;\n let editWidget = fieldLayoutInfo.attrs.editWidget;\n if (!editWidget) {\n editWidget = 'DefaultRelationOneToManyFormEditWidget';\n }\n if (!viewWidget) {\n viewWidget = 'DefaultRelationOneToManyFormViewWidget';\n }\n const viewMode: string = this.fieldContext.viewMode;\n return (\n <>\n <div className={className}>\n {viewMode === \"view\" &&\n this.renderExtensionRenderMode(viewWidget, formik)\n }\n {viewMode === \"edit\" && (\n <>\n {editWidget &&\n this.renderExtensionRenderMode(editWidget, formik)\n }\n </>\n )\n }\n </div>\n </>\n );\n\n }\n\n renderExtensionRenderMode(widget: string, formik: FormikObject) {\n let DynamicWidget = getExtensionComponent(widget);\n const widgetProps: SolidFormFieldWidgetProps = {\n formik: formik,\n fieldContext: this.fieldContext,\n }\n return (\n <>\n {DynamicWidget && <DynamicWidget {...widgetProps} />}\n </>\n )\n }\n\n\n}\n\n\n\nconst buildRelationCustomFilter = ({\n fieldContext,\n fieldLayoutInfo,\n}: {\n fieldContext: any;\n fieldLayoutInfo?: any;\n}) => {\n if (!fieldContext) {\n return { id: { $eq: -1 } };\n }\n const relationFieldName =\n fieldContext.fieldMetadata?.relationCoModelFieldName ??\n fieldContext.modelName;\n\n const parentId = fieldContext.data?.id ?? -1;\n\n\n const baseFilter = {\n [relationFieldName]: {\n id: { $eq: parentId },\n },\n };\n\n const whereClause = fieldLayoutInfo?.attrs?.whereClause;\n\n if (!whereClause) return { $and: [baseFilter] };\n\n try {\n const parsedWhereClause = JSON.parse(whereClause);\n\n return {\n $and: [baseFilter, parsedWhereClause],\n };\n } catch (error) {\n console.error(\"Failed to parse whereClause:\", error);\n return { $and: [baseFilter] };\n }\n};\n\n\nexport const DefaultRelationOneToManyFormEditWidget = ({ formik, fieldContext }: SolidFormFieldWidgetProps) => {\n const fieldMetadata = fieldContext.fieldMetadata;\n const router = useRouter();\n\n const fieldLayoutInfo = fieldContext.field;\n const className = fieldLayoutInfo.attrs?.className || 'field col-12';\n const fieldLabel = fieldLayoutInfo.attrs.label ?? fieldMetadata.displayName;\n const fieldDescription = fieldLayoutInfo.attrs.description ?? fieldMetadata.description;\n const solidFormViewMetaData = fieldContext.solidFormViewMetaData;\n const [visibleCreateRelationEntity, setvisibleCreateRelationEntity] = useState(false);\n const [listViewParams, setListViewParams] = useState<any>()\n const [formViewParams, setformViewParams] = useState<FormViewParams>()\n const [refreshList, setRefreshList] = useState(false); // Added state for rerender\n const showFieldLabel = fieldLayoutInfo?.attrs?.showLabel;\n const readOnlyPermission = fieldContext.readOnly;\n const pathname = usePathname();\n const lastPathSegment = pathname.split('/').pop();\n const userKeyField: any = Object.entries(fieldContext.solidFormViewMetaData.data.solidFieldsMetadata).find(([_, value]: any) => value.isUserKey)?.[0];\n const [showSaveParentEntityConfirmationPopup, setShowSaveParentEntityConfirmationPopup] = useState(false);\n\n useEffect(() => {\n const urlParams = new URLSearchParams(window.location.search);\n const childEntity = urlParams.get('childEntity');\n if (childEntity === fieldLayoutInfo.attrs.name && lastPathSegment !== \"new\") {\n handleAddOrEditClickForEmbeddedView('new');\n }\n }, [])\n\n const handleAddOrEditClickForEmbeddedView = (id: any) => {\n if (lastPathSegment === \"new\") {\n setShowSaveParentEntityConfirmationPopup(true);\n } else {\n\n const formviewparams: FormViewParams = {\n moduleName: fieldContext.fieldMetadata.relationModelModuleName,\n id: id,\n embeded: true,\n isCustomCreate: false,\n customLayout: fieldLayoutInfo?.attrs?.inlineCreateLayout,\n modelName: camelCase(fieldContext.fieldMetadata.relationCoModelSingularName),\n parentFieldName: fieldContext.fieldMetadata.relationCoModelFieldName,\n parentData: userKeyField ? { [userKeyField]: { solidManyToOneLabel: fieldContext.data[userKeyField], solidManyToOneValue: fieldContext.data['id'] } } : {},\n onEmbeddedFormSave: fieldContext.onEmbeddedFormSave,\n inlineCreateAutoSave: fieldLayoutInfo?.attrs?.inlineCreateAutoSave,\n }\n setformViewParams(formviewparams);\n setvisibleCreateRelationEntity(true);\n }\n }\n\n const handlePopupClose = () => {\n setvisibleCreateRelationEntity(false);\n const currentUrl = new URL(window.location.href);\n currentUrl.searchParams.delete('childEntity');\n router.push(currentUrl.toString());\n setRefreshList((prev) => !prev);\n const customFilter = fieldContext.fieldMetadata.relationCoModelFieldName ? fieldContext.fieldMetadata.relationCoModelFieldName : `${fieldContext.modelName}`\n const lisviewparams = {\n moduleName: fieldContext.fieldMetadata.relationModelModuleName,\n modelName: camelCase(fieldContext.fieldMetadata.relationCoModelSingularName),\n inlineCreate: readOnlyPermission === false ? true : false,\n customLayout: fieldLayoutInfo?.attrs?.inlineListLayout,\n embeded: true,\n id: fieldContext.data ? fieldContext?.data?.id : 'new',\n customFilter: buildRelationCustomFilter({\n fieldContext,\n fieldLayoutInfo,\n })\n }\n setListViewParams(lisviewparams)\n }\n\n //Intial Params \n useEffect(() => {\n\n\n const customFilter = fieldContext.fieldMetadata.relationCoModelFieldName ? fieldContext.fieldMetadata.relationCoModelFieldName : `${fieldContext.modelName}`\n const listviewparams = {\n moduleName: fieldContext.fieldMetadata.relationModelModuleName,\n modelName: camelCase(fieldContext.fieldMetadata.relationCoModelSingularName),\n inlineCreate: readOnlyPermission === false ? true : false,\n customLayout: fieldLayoutInfo?.attrs?.inlineListLayout,\n embeded: true,\n id: fieldContext.data ? fieldContext?.data?.id : 'new',\n customFilter: buildRelationCustomFilter({\n fieldContext,\n fieldLayoutInfo,\n })\n\n }\n setListViewParams(listviewparams);\n const formviewparams: FormViewParams = {\n moduleName: fieldContext.fieldMetadata.relationModelModuleName,\n modelName: camelCase(fieldContext.fieldMetadata.relationCoModelSingularName),\n parentFieldName: fieldContext.fieldMetadata.relationCoModelFieldName,\n id: \"new\",\n embeded: true,\n isCustomCreate: false,\n customLayout: fieldLayoutInfo?.attrs?.inlineCreateLayout,\n parentData: userKeyField ? { [userKeyField]: { solidManyToOneLabel: fieldContext.data[userKeyField], solidManyToOneValue: fieldContext.data['id'] } } : {},\n onEmbeddedFormSave: fieldContext.onEmbeddedFormSave,\n inlineCreateAutoSave: fieldLayoutInfo?.attrs?.inlineCreateAutoSave,\n }\n\n\n\n setformViewParams(formviewparams)\n\n }, [readOnlyPermission])\n\n const fieldDisabled = fieldLayoutInfo.attrs?.disabled;\n const fieldReadonly = fieldLayoutInfo.attrs?.readonly;\n\n const formDisabled = solidFormViewMetaData.data.solidView?.layout?.attrs?.disabled;\n const formReadonly = solidFormViewMetaData.data.solidView?.layout?.attrs?.readonly;\n const isFormFieldValid = (formik: any, fieldName: string) => formik.touched[fieldName] && formik.errors[fieldName];\n\n const saveParentEntity = async () => {\n const currentPath = window.location.pathname;\n const currentUrl = new URL(window.location.href);\n currentUrl.searchParams.set('childEntity', fieldLayoutInfo.attrs.name);\n currentUrl.searchParams.set('viewMode', 'edit');\n const updatedPath = currentUrl.toString();\n try {\n console.log(\"updatedPath\", updatedPath);\n router.push(updatedPath);\n await formik.handleSubmit();\n } catch {\n\n }\n setShowSaveParentEntityConfirmationPopup(false);\n };\n\n\n\n return (\n <div>\n {/* <div className=\"justify-content-center align-items-center\"> */}\n {showFieldLabel != false &&\n <label htmlFor={fieldLayoutInfo.attrs.name} className=\"form-field-label\">{fieldLabel}\n {fieldMetadata.required && <span className=\"text-red-500\"> *</span>}\n <SolidFieldTooltip fieldContext={fieldContext} />\n </label>\n }\n\n {/* {lastPathSegment === 'new' && <p>Please save the {solidFormViewMetaData.data.solidView.model.displayName} to be able to save {fieldMetadata.displayName}</p>} */}\n {listViewParams &&\n <SolidListView key={refreshList.toString()} {...listViewParams} handleAddClickForEmbeddedView={handleAddOrEditClickForEmbeddedView} handleEditClickForEmbeddedView={handleAddOrEditClickForEmbeddedView} />\n }\n {readOnlyPermission !== true && formViewParams &&\n <RenderSolidFormEmbededView formik={formik} fieldContext={fieldContext} visibleCreateRelationEntity={visibleCreateRelationEntity} setvisibleCreateRelationEntity={setvisibleCreateRelationEntity} formViewParams={formViewParams} handlePopupClose={handlePopupClose}></RenderSolidFormEmbededView>\n }\n\n <Dialog showHeader={false} headerClassName=\"py-2\" contentClassName=\"px-0 pb-0\" className=\"solid-confirm-dialog\" contentStyle={{ borderRadius: 6 }} visible={showSaveParentEntityConfirmationPopup} style={{ width: '20vw' }} onHide={() => { if (!showSaveParentEntityConfirmationPopup) return; setShowSaveParentEntityConfirmationPopup(false); }}>\n <div className=\"p-4\">\n <p className=\"m-0 solid-primary-title\" style={{ fontSize: 16 }}>\n Before Creating {fieldLabel} you need to save {solidFormViewMetaData?.data?.solidView?.model?.displayName ? solidFormViewMetaData?.data?.solidView?.model?.displayName : capitalize(fieldContext.modelName)}.\n Please click save if you wish to proceed ?\n </p>\n <div className=\"flex align-items-center justify-content-start gap-2 mt-3\">\n <Button label=\"Save\" size=\"small\" onClick={saveParentEntity} />\n <Button label=\"Cancel\" size=\"small\" onClick={() => setShowSaveParentEntityConfirmationPopup(false)} outlined className='bg-primary-reverse' />\n </div>\n </div>\n </Dialog>\n\n </div>\n );\n}\n\n\nexport const DefaultRelationOneToManyFormViewWidget = ({ formik, fieldContext }: SolidFormFieldWidgetProps) => {\n const fieldMetadata = fieldContext.fieldMetadata;\n\n const fieldLayoutInfo = fieldContext.field;\n const className = fieldLayoutInfo.attrs?.className || 'field col-12';\n const fieldLabel = fieldLayoutInfo.attrs.label ?? fieldMetadata.displayName;\n const fieldDescription = fieldLayoutInfo.attrs.description ?? fieldMetadata.description;\n const solidFormViewMetaData = fieldContext.solidFormViewMetaData;\n const [visibleCreateRelationEntity, setvisibleCreateRelationEntity] = useState(false);\n const [listViewParams, setListViewParams] = useState<any>()\n const [formViewParams, setformViewParams] = useState<FormViewParams>()\n const [refreshList, setRefreshList] = useState(false); // Added state for rerender\n const showFieldLabel = fieldLayoutInfo?.attrs?.showLabel;\n const readOnlyPermission = fieldContext.readOnly;\n const pathname = usePathname();\n const lastPathSegment = pathname.split('/').pop();\n const userKeyField: any = Object.entries(fieldContext.solidFormViewMetaData.data.solidFieldsMetadata).find(([_, value]: any) => value.isUserKey)?.[0];\n\n\n const handleAddOrEditClickForEmbeddedView = (id: any) => {\n\n const formviewparams: FormViewParams = {\n moduleName: fieldContext.fieldMetadata.relationModelModuleName,\n id: id,\n embeded: true,\n isCustomCreate: false,\n customLayout: fieldLayoutInfo?.attrs?.inlineCreateLayout,\n modelName: camelCase(fieldContext.fieldMetadata.relationCoModelSingularName),\n parentFieldName: fieldContext.fieldMetadata.relationCoModelFieldName,\n parentData: userKeyField ? { [userKeyField]: { solidManyToOneLabel: fieldContext.data[userKeyField], solidManyToOneValue: fieldContext.data['id'] } } : {},\n onEmbeddedFormSave: fieldContext.onEmbeddedFormSave,\n inlineCreateAutoSave: fieldLayoutInfo?.attrs?.inlineCreateAutoSave,\n\n }\n setformViewParams(formviewparams);\n setvisibleCreateRelationEntity(true);\n\n\n }\n\n const handlePopupClose = () => {\n setvisibleCreateRelationEntity(false);\n setRefreshList((prev) => !prev);\n const customFilter = fieldContext.fieldMetadata.relationCoModelFieldName ? fieldContext.fieldMetadata.relationCoModelFieldName : `${fieldContext.modelName}`\n const lisviewparams = {\n moduleName: fieldContext.fieldMetadata.relationModelModuleName,\n modelName: camelCase(fieldContext.fieldMetadata.relationCoModelSingularName),\n inlineCreate: readOnlyPermission === false ? true : false,\n customLayout: fieldLayoutInfo?.attrs?.inlineListLayout,\n embeded: true,\n id: fieldContext.data ? fieldContext?.data?.id : 'new',\n customFilter: buildRelationCustomFilter({\n fieldContext,\n fieldLayoutInfo,\n })\n }\n setListViewParams(lisviewparams)\n }\n //Intial Params \n useEffect(() => {\n\n const customFilter = fieldContext.fieldMetadata.relationCoModelFieldName ? fieldContext.fieldMetadata.relationCoModelFieldName : `${fieldContext.modelName}`\n const listviewparams = {\n moduleName: fieldContext.fieldMetadata.relationModelModuleName,\n modelName: camelCase(fieldContext.fieldMetadata.relationCoModelSingularName),\n inlineCreate: readOnlyPermission === false ? true : false,\n customLayout: fieldLayoutInfo?.attrs?.inlineListLayout,\n embeded: true,\n id: fieldContext.data ? fieldContext?.data?.id : 'new',\n customFilter: buildRelationCustomFilter({\n fieldContext,\n fieldLayoutInfo,\n })\n }\n setListViewParams(listviewparams);\n const formviewparams: FormViewParams = {\n moduleName: fieldContext.fieldMetadata.relationModelModuleName,\n id: \"new\",\n embeded: true,\n inlineCreateAutoSave: fieldLayoutInfo?.attrs?.inlineCreateAutoSave,\n customLayout: fieldLayoutInfo?.attrs?.inlineCreateLayout,\n modelName: camelCase(fieldContext.fieldMetadata.relationCoModelSingularName),\n parentFieldName: fieldContext.fieldMetadata.relationCoModelFieldName,\n parentData: userKeyField ? { [userKeyField]: { solidManyToOneLabel: fieldContext.data[userKeyField], solidManyToOneValue: fieldContext.data['id'] } } : {},\n onEmbeddedFormSave: fieldContext.onEmbeddedFormSave,\n isCustomCreate: false\n\n }\n setformViewParams(formviewparams)\n\n }, [readOnlyPermission])\n\n const fieldDisabled = fieldLayoutInfo.attrs?.disabled;\n const fieldReadonly = fieldLayoutInfo.attrs?.readonly;\n\n const formDisabled = solidFormViewMetaData.data.solidView?.layout?.attrs?.disabled;\n const formReadonly = solidFormViewMetaData.data.solidView?.layout?.attrs?.readonly;\n\n\n return (\n <div>\n {/* <div className=\"justify-content-center align-items-center\"> */}\n {showFieldLabel != false &&\n <label htmlFor={fieldLayoutInfo.attrs.name} className=\"form-field-label\">{fieldLabel}\n {fieldMetadata.required && <span className=\"text-red-500\"> *</span>}\n <SolidFieldTooltip fieldContext={fieldContext} />\n </label>\n }\n\n {/* {lastPathSegment === 'new' && <p>Please save the {solidFormViewMetaData.data.solidView.model.displayName} to be able to save {fieldMetadata.displayName}</p>} */}\n {listViewParams &&\n <SolidListView key={refreshList.toString()} {...listViewParams} handleAddClickForEmbeddedView={handleAddOrEditClickForEmbeddedView} handleEditClickForEmbeddedView={handleAddOrEditClickForEmbeddedView} />\n }\n {readOnlyPermission !== true && formViewParams &&\n <RenderSolidFormEmbededView fieldLayoutInfo={fieldLayoutInfo} visibleCreateRelationEntity={visibleCreateRelationEntity} setvisibleCreateRelationEntity={setvisibleCreateRelationEntity} formViewParams={formViewParams} handlePopupClose={handlePopupClose}></RenderSolidFormEmbededView>\n }\n\n\n </div>\n );\n}\n\n\nexport const RenderSolidFormEmbededView = ({ fieldLayoutInfo, customCreateHandler, visibleCreateRelationEntity, setvisibleCreateRelationEntity, formViewParams, handlePopupClose }: any) => {\n const router = useRouter();\n\n const params: FormViewParams = {\n moduleName: formViewParams.moduleName,\n id: formViewParams?.id,\n modelName: camelCase(formViewParams.modelName),\n embeded: formViewParams.embeded,\n customLayout: formViewParams.customLayout,\n customCreateHandler: ((values: any) => {\n setvisibleCreateRelationEntity(false);\n customCreateHandler(values)\n }),\n inlineCreateAutoSave: formViewParams.inlineCreateAutoSave,\n handlePopupClose: handlePopupClose,\n parentFieldName: formViewParams.parentFieldName,\n parentData: formViewParams.parentData,\n onEmbeddedFormSave: formViewParams.onEmbeddedFormSave,\n isCustomCreate: formViewParams.isCustomCreate\n }\n\n return (\n <div className=\"many-to-many-add\" >\n {/* <Button icon=\"pi pi-plus\"\n rounded\n outlined\n aria-label=\"Filter\"\n type=\"button\"\n onClick={() => setvisibleCreateRelationEntity(true)}\n /> */}\n <Dialog\n header=\"\"\n showHeader={false}\n visible={visibleCreateRelationEntity}\n className=\"solid-dialog\"\n style={{\n width: fieldLayoutInfo?.attrs?.inlineCreateLayout?.attrs?.width ?? \"60vw\",\n height: fieldLayoutInfo?.attrs?.inlineCreateLayout?.attrs?.height ?? \"auto\"\n }}\n onHide={() => {\n if (!visibleCreateRelationEntity) return;\n setvisibleCreateRelationEntity(false);\n }}\n breakpoints={{ '1199px': '35rem', \"767px\": '85vw', \"550px\": '90vw' }}\n\n >\n {params &&\n <SolidFormView {...params} />\n }\n </Dialog>\n </div>\n )\n}\n\n\nexport const PseudoRelationOneToManyFormWidget = ({ formData, field, fieldsMetadata, viewMetadata, formViewData }: SolidFormWidgetProps) => {\n\n const fieldLayoutInfo = field;\n const className = fieldLayoutInfo.attrs?.className || 'field col-12';\n const fieldLabel = fieldLayoutInfo.attrs.label;\n const fieldDescription = fieldLayoutInfo.attrs.description;\n const [visibleCreateRelationEntity, setvisibleCreateRelationEntity] = useState(false);\n const [listViewParams, setListViewParams] = useState<any>()\n const [formViewParams, setformViewParams] = useState<FormViewParams | null>(null)\n const [refreshList, setRefreshList] = useState(false); // Added state for rerender\n const showFieldLabel = fieldLayoutInfo?.attrs?.showLabel;\n const readOnlyPermission = fieldLayoutInfo.readOnly ? fieldLayoutInfo.readOnly : false;\n const pathname = usePathname();\n\n const parentModelName = fieldLayoutInfo?.attrs?.parentModelName;\n const childModelName = fieldLayoutInfo?.attrs?.childModelName;\n const parentFieldName = fieldLayoutInfo?.attrs?.parentFieldName;\n const childFieldName = fieldLayoutInfo?.attrs?.childFieldName;\n const parentModuleName = fieldLayoutInfo?.attrs?.parentModuleName;\n const childModuleName = fieldLayoutInfo?.attrs?.childModuleName\n\n\n const buildCustomFilter = ({ childFieldName, parentFieldName, formViewData, fieldLayoutInfo,\n }: {\n childFieldName?: string;\n parentFieldName?: string;\n formViewData?: any;\n fieldLayoutInfo?: any;\n }) => {\n const baseFilter =\n childFieldName && formViewData?.data\n ? {\n [childFieldName]: {\n $eq: formViewData.data[parentFieldName as string],\n },\n }\n : { id: { $eq: -1 } };\n\n // 2️⃣ Optional whereClause merge\n const whereClause = fieldLayoutInfo?.attrs?.whereClause;\n\n if (!whereClause) return { $and: [baseFilter] };\n\n try {\n const parsedWhereClause = JSON.parse(whereClause);\n\n // If both filters exist, merge safely\n return {\n $and: [baseFilter, parsedWhereClause]\n };\n } catch (error) {\n console.error(\"Failed to parse whereClause:\", error);\n return { $and: [baseFilter] };\n }\n };\n\n\n\n const handleAddOrEditClickForEmbeddedView = (id: any) => {\n\n const formviewparams: FormViewParams = {\n moduleName: childModuleName,\n modelName: camelCase(childModelName),\n id: id,\n embeded: true,\n isCustomCreate: false,\n inlineCreateAutoSave: fieldLayoutInfo?.attrs?.inlineCreateAutoSave,\n customLayout: fieldLayoutInfo?.attrs?.inlineCreateLayout,\n parentFieldName: parentFieldName,\n parentData: childFieldName && formViewData?.data && formViewData?.data[parentFieldName] ? { [childFieldName]: formViewData.data[parentFieldName] } : {},\n onEmbeddedFormSave: fieldLayoutInfo.onEmbeddedFormSave ? fieldLayoutInfo : false\n }\n setformViewParams(formviewparams);\n setvisibleCreateRelationEntity(true);\n\n\n }\n\n const handlePopupClose = () => {\n setvisibleCreateRelationEntity(false);\n setRefreshList((prev) => !prev);\n const lisviewparams = {\n moduleName: childModuleName,\n modelName: camelCase(childModelName),\n inlineCreate: readOnlyPermission === false ? true : false,\n customLayout: fieldLayoutInfo?.attrs?.inlineListLayout,\n embeded: true,\n id: formViewData && formViewData?.data ? formViewData?.data?.id : 'new',\n customFilter: buildCustomFilter({\n childFieldName,\n parentFieldName,\n formViewData,\n fieldLayoutInfo,\n })\n }\n setListViewParams(lisviewparams)\n }\n //Intial Params \n useEffect(() => {\n\n const listviewparams = {\n moduleName: childModuleName,\n modelName: camelCase(childModelName),\n inlineCreate: readOnlyPermission === false ? true : false,\n customLayout: fieldLayoutInfo?.attrs?.inlineListLayout,\n embeded: true,\n id: formViewData && formViewData?.data ? formViewData?.data?.id : 'new',\n customFilter: buildCustomFilter({\n childFieldName,\n parentFieldName,\n formViewData,\n fieldLayoutInfo,\n })\n }\n setListViewParams(listviewparams);\n const formviewparams: FormViewParams = {\n moduleName: childModuleName,\n modelName: camelCase(childModelName),\n id: \"new\",\n embeded: true,\n isCustomCreate: false,\n inlineCreateAutoSave: fieldLayoutInfo?.attrs?.inlineCreateAutoSave,\n customLayout: fieldLayoutInfo?.attrs?.inlineCreateLayout,\n parentFieldName: parentFieldName,\n parentData: childFieldName && formViewData && formViewData?.data && formViewData?.data[parentFieldName] ? { [childFieldName]: formViewData.data[parentFieldName] } : {},\n onEmbeddedFormSave: formViewData && formViewData.onEmbeddedFormSave\n\n }\n\n setformViewParams(formviewparams)\n\n\n }, [readOnlyPermission, formViewData])\n\n return (\n <div>\n {/* <div className=\"justify-content-center align-items-center\"> */}\n {showFieldLabel != false &&\n <label htmlFor={fieldLayoutInfo.attrs.name} className=\"form-field-label\">{fieldLabel}\n {/* {fieldMetadata.required && <span className=\"text-red-500\"> *</span>} */}\n {/* <SolidFieldTooltip fieldContext={fieldContext} /> */}\n </label>\n }\n\n {/* {lastPathSegment === 'new' && <p>Please save the {solidFormViewMetaData.data.solidView.model.displayName} to be able to save {fieldMetadata.displayName}</p>} */}\n {listViewParams &&\n <SolidListView key={refreshList.toString()} {...listViewParams} handleAddClickForEmbeddedView={handleAddOrEditClickForEmbeddedView} handleEditClickForEmbeddedView={handleAddOrEditClickForEmbeddedView} />\n }\n {readOnlyPermission !== true && formViewParams &&\n <RenderSolidFormEmbededView fieldLayoutInfo={fieldLayoutInfo} visibleCreateRelationEntity={visibleCreateRelationEntity} setvisibleCreateRelationEntity={setvisibleCreateRelationEntity} formViewParams={formViewParams} handlePopupClose={handlePopupClose}></RenderSolidFormEmbededView>\n }\n\n </div>\n );\n}\n"]}
1
+ {"version":3,"file":"SolidRelationOneToManyField.js","sourceRoot":"","sources":["../../../../../../src/components/core/form/fields/relations/SolidRelationOneToManyField.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,aAAa,EAAE,MAAM,mDAAmD,CAAC;AAClF,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAC3B,OAAO,aAAa,MAAM,mDAAmD,CAAC;AAE9E,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,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,EAAE,8BAA8B,EAAE,8BAA8B,EAAE,cAAc,EAAE,cAAc,EAAE,gBAAgB,EAAE,gBAAgB,GAA+B,IAG3R,CACT,CAAC;AACN,CAAC,CAAA","sourcesContent":["\nimport { SolidListView } from \"../../../../../components/core/list/SolidListView\";\nimport { camelCase, capitalize } from \"lodash\";\nimport { useEffect, useState } from \"react\";\nimport * as Yup from 'yup';\nimport SolidFormView from '../../../../../components/core/form/SolidFormView';\nimport { FormikObject, ISolidField, SolidFieldProps } from \"../ISolidField\";\nimport { usePathname } from \"../../../../../hooks/usePathname\";\nimport { useRouter } from \"../../../../../hooks/useRouter\";\nimport { getExtensionComponent } from \"../../../../../helpers/registry\";\nimport { SolidFormFieldWidgetProps, SolidFormWidgetProps } from \"../../../../../types/solid-core\";\nimport { SolidFieldTooltip } from \"../../../../../components/common/SolidFieldTooltip\";\nimport { SolidButton } from \"../../../../shad-cn-ui/SolidButton\";\nimport { SolidDialog, SolidDialogBody, SolidDialogClose, SolidDialogHeader, SolidDialogTitle } from \"../../../../shad-cn-ui/SolidDialog\";\nimport { SolidMessage } from \"../../../../shad-cn-ui/SolidMessage\";\nimport { ERROR_MESSAGES } from \"../../../../../constants/error-messages\";\nimport styles from \"../solidFields.module.css\";\n\nexport type FormViewParams = {\n moduleName: any;\n id: any;\n embeded: any;\n isCustomCreate: any;\n customLayout: any;\n modelName: any;\n parentFieldName?: any;\n parentData: any;\n onEmbeddedFormSave: any;\n inlineCreateAutoSave: any;\n customCreateHandler?: any;\n handlePopupClose?: any\n}\n\nexport class SolidRelationOneToManyField implements ISolidField {\n\n private fieldContext: SolidFieldProps;\n constructor(fieldContext: SolidFieldProps) {\n this.fieldContext = fieldContext;\n }\n\n initialValue(): any {\n\n // const manyToOneFieldData = this.fieldContext.data[this.fieldContext.field.attrs.name];\n // const fieldMetadata = this.fieldContext.fieldMetadata;\n // const userKeyField = fieldMetadata.relationModel.userKeyField.name;\n // const manyToOneColVal = manyToOneFieldData ? manyToOneFieldData[userKeyField] : '';\n\n // return { label: manyToOneColVal || '', value: manyToOneFieldData?.id || '' };\n\n return '';\n }\n\n updateFormData(value: any, formData: FormData): any {\n const fieldLayoutInfo = this.fieldContext.field;\n // if(!value || value.length === 0) {\n // formData.append(`${fieldLayoutInfo.attrs.name}Command`, \"clear\");\n\n // }\n if (value) {\n formData.append(`${fieldLayoutInfo.attrs.name}Id`, value.value);\n }\n }\n\n validationSchema(): Yup.Schema {\n let schema = Yup.object();\n\n const fieldMetadata = this.fieldContext.fieldMetadata;\n const fieldLayoutInfo = this.fieldContext.field;\n const fieldLabel = fieldLayoutInfo.attrs.label ?? fieldMetadata.displayName;\n\n // 1. required \n if (fieldMetadata.required) {\n schema = schema.required(ERROR_MESSAGES.FIELD_REUQIRED(fieldLabel));\n }\n return schema;\n }\n\n render(formik: FormikObject) {\n const fieldMetadata = this.fieldContext.fieldMetadata;\n\n const fieldLayoutInfo = this.fieldContext.field;\n const fieldLabel = fieldLayoutInfo.attrs.label ?? fieldMetadata.displayName;\n const className = fieldLayoutInfo.attrs?.className || 'field col-12';\n\n const userKeyFieldName = fieldMetadata.relationModel?.userKeyField?.name;\n\n let DynamicWidget = getExtensionComponent(\"SolidFormFieldRelationViewModeWidget\");\n const widgetProps = {\n label: fieldLabel,\n value: (this.fieldContext.data?.[fieldLayoutInfo.attrs.name] || []).map(\n (item: any) => ({ label: item[userKeyFieldName] ?? '' })\n ),\n layout: fieldLayoutInfo\n }\n\n // DefaultRelationOneToManyFormEditWidget\n\n\n let viewWidget = fieldLayoutInfo.attrs.viewWidget;\n let editWidget = fieldLayoutInfo.attrs.editWidget;\n if (!editWidget) {\n editWidget = 'DefaultRelationOneToManyFormEditWidget';\n }\n if (!viewWidget) {\n viewWidget = 'DefaultRelationOneToManyFormViewWidget';\n }\n const viewMode: string = this.fieldContext.viewMode;\n return (\n <>\n <div className={className}>\n {viewMode === \"view\" &&\n this.renderExtensionRenderMode(viewWidget, formik)\n }\n {viewMode === \"edit\" && (\n <>\n {editWidget &&\n this.renderExtensionRenderMode(editWidget, formik)\n }\n </>\n )\n }\n </div>\n </>\n );\n\n }\n\n renderExtensionRenderMode(widget: string, formik: FormikObject) {\n let DynamicWidget = getExtensionComponent(widget);\n const widgetProps: SolidFormFieldWidgetProps = {\n formik: formik,\n fieldContext: this.fieldContext,\n }\n return (\n <>\n {DynamicWidget && <DynamicWidget {...widgetProps} />}\n </>\n )\n }\n\n\n}\n\n\n\nconst buildRelationCustomFilter = ({\n fieldContext,\n fieldLayoutInfo,\n}: {\n fieldContext: any;\n fieldLayoutInfo?: any;\n}) => {\n if (!fieldContext) {\n return { id: { $eq: -1 } };\n }\n const relationFieldName =\n fieldContext.fieldMetadata?.relationCoModelFieldName ??\n fieldContext.modelName;\n\n const parentId = fieldContext.data?.id ?? -1;\n\n\n const baseFilter = {\n [relationFieldName]: {\n id: { $eq: parentId },\n },\n };\n\n const whereClause = fieldLayoutInfo?.attrs?.whereClause;\n\n if (!whereClause) return { $and: [baseFilter] };\n\n try {\n const parsedWhereClause = JSON.parse(whereClause);\n\n return {\n $and: [baseFilter, parsedWhereClause],\n };\n } catch (error) {\n console.error(\"Failed to parse whereClause:\", error);\n return { $and: [baseFilter] };\n }\n};\n\n\nexport const DefaultRelationOneToManyFormEditWidget = ({ formik, fieldContext }: SolidFormFieldWidgetProps) => {\n const fieldMetadata = fieldContext.fieldMetadata;\n const router = useRouter();\n\n const fieldLayoutInfo = fieldContext.field;\n const className = fieldLayoutInfo.attrs?.className || 'field col-12';\n const fieldLabel = fieldLayoutInfo.attrs.label ?? fieldMetadata.displayName;\n const fieldDescription = fieldLayoutInfo.attrs.description ?? fieldMetadata.description;\n const solidFormViewMetaData = fieldContext.solidFormViewMetaData;\n const [visibleCreateRelationEntity, setvisibleCreateRelationEntity] = useState(false);\n const [listViewParams, setListViewParams] = useState<any>()\n const [formViewParams, setformViewParams] = useState<FormViewParams>()\n const [refreshList, setRefreshList] = useState(false); // Added state for rerender\n const showFieldLabel = fieldLayoutInfo?.attrs?.showLabel;\n const readOnlyPermission = fieldContext.readOnly;\n const pathname = usePathname();\n const lastPathSegment = pathname.split('/').pop();\n const userKeyField: any = Object.entries(fieldContext.solidFormViewMetaData.data.solidFieldsMetadata).find(([_, value]: any) => value.isUserKey)?.[0];\n const [showSaveParentEntityConfirmationPopup, setShowSaveParentEntityConfirmationPopup] = useState(false);\n\n useEffect(() => {\n const urlParams = new URLSearchParams(window.location.search);\n const childEntity = urlParams.get('childEntity');\n if (childEntity === fieldLayoutInfo.attrs.name && lastPathSegment !== \"new\") {\n handleAddOrEditClickForEmbeddedView('new');\n }\n }, [])\n\n const handleAddOrEditClickForEmbeddedView = (id: any) => {\n if (lastPathSegment === \"new\") {\n setShowSaveParentEntityConfirmationPopup(true);\n } else {\n\n const formviewparams: FormViewParams = {\n moduleName: fieldContext.fieldMetadata.relationModelModuleName,\n id: id,\n embeded: true,\n isCustomCreate: false,\n customLayout: fieldLayoutInfo?.attrs?.inlineCreateLayout,\n modelName: camelCase(fieldContext.fieldMetadata.relationCoModelSingularName),\n parentFieldName: fieldContext.fieldMetadata.relationCoModelFieldName,\n parentData: userKeyField ? { [userKeyField]: { solidManyToOneLabel: fieldContext.data[userKeyField], solidManyToOneValue: fieldContext.data['id'] } } : {},\n onEmbeddedFormSave: fieldContext.onEmbeddedFormSave,\n inlineCreateAutoSave: fieldLayoutInfo?.attrs?.inlineCreateAutoSave,\n }\n setformViewParams(formviewparams);\n setvisibleCreateRelationEntity(true);\n }\n }\n\n const handlePopupClose = () => {\n setvisibleCreateRelationEntity(false);\n const currentUrl = new URL(window.location.href);\n currentUrl.searchParams.delete('childEntity');\n router.push(currentUrl.toString());\n setRefreshList((prev) => !prev);\n const customFilter = fieldContext.fieldMetadata.relationCoModelFieldName ? fieldContext.fieldMetadata.relationCoModelFieldName : `${fieldContext.modelName}`\n const lisviewparams = {\n moduleName: fieldContext.fieldMetadata.relationModelModuleName,\n modelName: camelCase(fieldContext.fieldMetadata.relationCoModelSingularName),\n inlineCreate: readOnlyPermission === false ? true : false,\n customLayout: fieldLayoutInfo?.attrs?.inlineListLayout,\n embeded: true,\n id: fieldContext.data ? fieldContext?.data?.id : 'new',\n customFilter: buildRelationCustomFilter({\n fieldContext,\n fieldLayoutInfo,\n })\n }\n setListViewParams(lisviewparams)\n }\n\n //Intial Params \n useEffect(() => {\n\n\n const customFilter = fieldContext.fieldMetadata.relationCoModelFieldName ? fieldContext.fieldMetadata.relationCoModelFieldName : `${fieldContext.modelName}`\n const listviewparams = {\n moduleName: fieldContext.fieldMetadata.relationModelModuleName,\n modelName: camelCase(fieldContext.fieldMetadata.relationCoModelSingularName),\n inlineCreate: readOnlyPermission === false ? true : false,\n customLayout: fieldLayoutInfo?.attrs?.inlineListLayout,\n embeded: true,\n id: fieldContext.data ? fieldContext?.data?.id : 'new',\n customFilter: buildRelationCustomFilter({\n fieldContext,\n fieldLayoutInfo,\n })\n\n }\n setListViewParams(listviewparams);\n const formviewparams: FormViewParams = {\n moduleName: fieldContext.fieldMetadata.relationModelModuleName,\n modelName: camelCase(fieldContext.fieldMetadata.relationCoModelSingularName),\n parentFieldName: fieldContext.fieldMetadata.relationCoModelFieldName,\n id: \"new\",\n embeded: true,\n isCustomCreate: false,\n customLayout: fieldLayoutInfo?.attrs?.inlineCreateLayout,\n parentData: userKeyField ? { [userKeyField]: { solidManyToOneLabel: fieldContext.data[userKeyField], solidManyToOneValue: fieldContext.data['id'] } } : {},\n onEmbeddedFormSave: fieldContext.onEmbeddedFormSave,\n inlineCreateAutoSave: fieldLayoutInfo?.attrs?.inlineCreateAutoSave,\n }\n\n\n\n setformViewParams(formviewparams)\n\n }, [readOnlyPermission])\n\n const fieldDisabled = fieldLayoutInfo.attrs?.disabled;\n const fieldReadonly = fieldLayoutInfo.attrs?.readonly;\n\n const formDisabled = solidFormViewMetaData.data.solidView?.layout?.attrs?.disabled;\n const formReadonly = solidFormViewMetaData.data.solidView?.layout?.attrs?.readonly;\n const isFormFieldValid = (formik: any, fieldName: string) => formik.touched[fieldName] && formik.errors[fieldName];\n\n const saveParentEntity = async () => {\n const currentPath = window.location.pathname;\n const currentUrl = new URL(window.location.href);\n currentUrl.searchParams.set('childEntity', fieldLayoutInfo.attrs.name);\n currentUrl.searchParams.set('viewMode', 'edit');\n const updatedPath = currentUrl.toString();\n try {\n console.log(\"updatedPath\", updatedPath);\n router.push(updatedPath);\n await formik.handleSubmit();\n } catch {\n\n }\n setShowSaveParentEntityConfirmationPopup(false);\n };\n\n\n\n return (\n <div>\n {/* <div className=\"justify-content-center align-items-center\"> */}\n {showFieldLabel != false &&\n <label htmlFor={fieldLayoutInfo.attrs.name} className={`${styles.fieldLabel} form-field-label`}>{fieldLabel}\n {fieldMetadata.required && <span className=\"text-red-500\"> *</span>}\n <SolidFieldTooltip fieldContext={fieldContext} />\n </label>\n }\n\n {/* {lastPathSegment === 'new' && <p>Please save the {solidFormViewMetaData.data.solidView.model.displayName} to be able to save {fieldMetadata.displayName}</p>} */}\n {listViewParams &&\n <SolidListView key={refreshList.toString()} {...listViewParams} handleAddClickForEmbeddedView={handleAddOrEditClickForEmbeddedView} handleEditClickForEmbeddedView={handleAddOrEditClickForEmbeddedView} />\n }\n {readOnlyPermission !== true && formViewParams &&\n <RenderSolidFormEmbededView formik={formik} fieldContext={fieldContext} visibleCreateRelationEntity={visibleCreateRelationEntity} setvisibleCreateRelationEntity={setvisibleCreateRelationEntity} formViewParams={formViewParams} handlePopupClose={handlePopupClose}></RenderSolidFormEmbededView>\n }\n\n <SolidDialog\n open={showSaveParentEntityConfirmationPopup}\n onOpenChange={setShowSaveParentEntityConfirmationPopup}\n className=\"solid-confirm-dialog solid-field-confirm-dialog\"\n style={{ width: \"min(420px, calc(100vw - 2rem))\" }}\n >\n <SolidDialogHeader className=\"solid-field-confirm-header\">\n <SolidDialogTitle>Save Required</SolidDialogTitle>\n <SolidDialogClose />\n </SolidDialogHeader>\n <SolidDialogBody className=\"solid-field-confirm-dialog-body\">\n <p className=\"solid-field-confirm-message\">\n Before creating {fieldLabel}, you need to save{\" \"}\n {solidFormViewMetaData?.data?.solidView?.model?.displayName\n ? solidFormViewMetaData.data.solidView.model.displayName\n : capitalize(fieldContext.modelName)}\n . Please save first if you want to continue.\n </p>\n </SolidDialogBody>\n <div className=\"solid-radix-dialog-footer solid-field-confirm-actions\">\n <SolidButton label=\"Save\" size=\"sm\" onClick={saveParentEntity} autoFocus />\n <SolidButton\n label=\"Cancel\"\n size=\"sm\"\n onClick={() => setShowSaveParentEntityConfirmationPopup(false)}\n variant=\"outline\"\n />\n </div>\n </SolidDialog>\n\n </div>\n );\n}\n\n\nexport const DefaultRelationOneToManyFormViewWidget = ({ formik, fieldContext }: SolidFormFieldWidgetProps) => {\n const fieldMetadata = fieldContext.fieldMetadata;\n\n const fieldLayoutInfo = fieldContext.field;\n const className = fieldLayoutInfo.attrs?.className || 'field col-12';\n const fieldLabel = fieldLayoutInfo.attrs.label ?? fieldMetadata.displayName;\n const fieldDescription = fieldLayoutInfo.attrs.description ?? fieldMetadata.description;\n const solidFormViewMetaData = fieldContext.solidFormViewMetaData;\n const [visibleCreateRelationEntity, setvisibleCreateRelationEntity] = useState(false);\n const [listViewParams, setListViewParams] = useState<any>()\n const [formViewParams, setformViewParams] = useState<FormViewParams>()\n const [refreshList, setRefreshList] = useState(false); // Added state for rerender\n const showFieldLabel = fieldLayoutInfo?.attrs?.showLabel;\n const readOnlyPermission = fieldContext.readOnly;\n const pathname = usePathname();\n const lastPathSegment = pathname.split('/').pop();\n const userKeyField: any = Object.entries(fieldContext.solidFormViewMetaData.data.solidFieldsMetadata).find(([_, value]: any) => value.isUserKey)?.[0];\n\n\n const handleAddOrEditClickForEmbeddedView = (id: any) => {\n\n const formviewparams: FormViewParams = {\n moduleName: fieldContext.fieldMetadata.relationModelModuleName,\n id: id,\n embeded: true,\n isCustomCreate: false,\n customLayout: fieldLayoutInfo?.attrs?.inlineCreateLayout,\n modelName: camelCase(fieldContext.fieldMetadata.relationCoModelSingularName),\n parentFieldName: fieldContext.fieldMetadata.relationCoModelFieldName,\n parentData: userKeyField ? { [userKeyField]: { solidManyToOneLabel: fieldContext.data[userKeyField], solidManyToOneValue: fieldContext.data['id'] } } : {},\n onEmbeddedFormSave: fieldContext.onEmbeddedFormSave,\n inlineCreateAutoSave: fieldLayoutInfo?.attrs?.inlineCreateAutoSave,\n\n }\n setformViewParams(formviewparams);\n setvisibleCreateRelationEntity(true);\n\n\n }\n\n const handlePopupClose = () => {\n setvisibleCreateRelationEntity(false);\n setRefreshList((prev) => !prev);\n const customFilter = fieldContext.fieldMetadata.relationCoModelFieldName ? fieldContext.fieldMetadata.relationCoModelFieldName : `${fieldContext.modelName}`\n const lisviewparams = {\n moduleName: fieldContext.fieldMetadata.relationModelModuleName,\n modelName: camelCase(fieldContext.fieldMetadata.relationCoModelSingularName),\n inlineCreate: readOnlyPermission === false ? true : false,\n customLayout: fieldLayoutInfo?.attrs?.inlineListLayout,\n embeded: true,\n id: fieldContext.data ? fieldContext?.data?.id : 'new',\n customFilter: buildRelationCustomFilter({\n fieldContext,\n fieldLayoutInfo,\n })\n }\n setListViewParams(lisviewparams)\n }\n //Intial Params \n useEffect(() => {\n\n const customFilter = fieldContext.fieldMetadata.relationCoModelFieldName ? fieldContext.fieldMetadata.relationCoModelFieldName : `${fieldContext.modelName}`\n const listviewparams = {\n moduleName: fieldContext.fieldMetadata.relationModelModuleName,\n modelName: camelCase(fieldContext.fieldMetadata.relationCoModelSingularName),\n inlineCreate: readOnlyPermission === false ? true : false,\n customLayout: fieldLayoutInfo?.attrs?.inlineListLayout,\n embeded: true,\n id: fieldContext.data ? fieldContext?.data?.id : 'new',\n customFilter: buildRelationCustomFilter({\n fieldContext,\n fieldLayoutInfo,\n })\n }\n setListViewParams(listviewparams);\n const formviewparams: FormViewParams = {\n moduleName: fieldContext.fieldMetadata.relationModelModuleName,\n id: \"new\",\n embeded: true,\n inlineCreateAutoSave: fieldLayoutInfo?.attrs?.inlineCreateAutoSave,\n customLayout: fieldLayoutInfo?.attrs?.inlineCreateLayout,\n modelName: camelCase(fieldContext.fieldMetadata.relationCoModelSingularName),\n parentFieldName: fieldContext.fieldMetadata.relationCoModelFieldName,\n parentData: userKeyField ? { [userKeyField]: { solidManyToOneLabel: fieldContext.data[userKeyField], solidManyToOneValue: fieldContext.data['id'] } } : {},\n onEmbeddedFormSave: fieldContext.onEmbeddedFormSave,\n isCustomCreate: false\n\n }\n setformViewParams(formviewparams)\n\n }, [readOnlyPermission])\n\n const fieldDisabled = fieldLayoutInfo.attrs?.disabled;\n const fieldReadonly = fieldLayoutInfo.attrs?.readonly;\n\n const formDisabled = solidFormViewMetaData.data.solidView?.layout?.attrs?.disabled;\n const formReadonly = solidFormViewMetaData.data.solidView?.layout?.attrs?.readonly;\n\n\n return (\n <div>\n {/* <div className=\"justify-content-center align-items-center\"> */}\n {showFieldLabel != false &&\n <label htmlFor={fieldLayoutInfo.attrs.name} className={`${styles.fieldLabel} form-field-label`}>{fieldLabel}\n {fieldMetadata.required && <span className=\"text-red-500\"> *</span>}\n <SolidFieldTooltip fieldContext={fieldContext} />\n </label>\n }\n\n {/* {lastPathSegment === 'new' && <p>Please save the {solidFormViewMetaData.data.solidView.model.displayName} to be able to save {fieldMetadata.displayName}</p>} */}\n {listViewParams &&\n <SolidListView key={refreshList.toString()} {...listViewParams} handleAddClickForEmbeddedView={handleAddOrEditClickForEmbeddedView} handleEditClickForEmbeddedView={handleAddOrEditClickForEmbeddedView} />\n }\n {readOnlyPermission !== true && formViewParams &&\n <RenderSolidFormEmbededView fieldLayoutInfo={fieldLayoutInfo} visibleCreateRelationEntity={visibleCreateRelationEntity} setvisibleCreateRelationEntity={setvisibleCreateRelationEntity} formViewParams={formViewParams} handlePopupClose={handlePopupClose}></RenderSolidFormEmbededView>\n }\n\n\n </div>\n );\n}\n\n\nexport const RenderSolidFormEmbededView = ({ fieldLayoutInfo, customCreateHandler, visibleCreateRelationEntity, setvisibleCreateRelationEntity, formViewParams, handlePopupClose }: any) => {\n const router = useRouter();\n\n const params: FormViewParams = {\n moduleName: formViewParams.moduleName,\n id: formViewParams?.id,\n modelName: camelCase(formViewParams.modelName),\n embeded: formViewParams.embeded,\n customLayout: formViewParams.customLayout,\n customCreateHandler: ((values: any) => {\n setvisibleCreateRelationEntity(false);\n customCreateHandler(values)\n }),\n inlineCreateAutoSave: formViewParams.inlineCreateAutoSave,\n handlePopupClose: handlePopupClose,\n parentFieldName: formViewParams.parentFieldName,\n parentData: formViewParams.parentData,\n onEmbeddedFormSave: formViewParams.onEmbeddedFormSave,\n isCustomCreate: formViewParams.isCustomCreate\n }\n\n return (\n <div className=\"many-to-many-add\" >\n {/* <Button icon=\"si si-plus\"\n rounded\n outlined\n aria-label=\"Filter\"\n type=\"button\"\n onClick={() => setvisibleCreateRelationEntity(true)}\n /> */}\n <SolidDialog\n open={visibleCreateRelationEntity}\n onOpenChange={setvisibleCreateRelationEntity}\n className=\"solid-dialog\"\n style={{\n width: fieldLayoutInfo?.attrs?.inlineCreateLayout?.attrs?.width ?? \"60vw\",\n height: fieldLayoutInfo?.attrs?.inlineCreateLayout?.attrs?.height ?? \"auto\"\n }}\n showHeader={false}\n breakpoints={{ '1199px': '35rem', \"767px\": '85vw', \"550px\": '90vw' }}\n\n >\n {params &&\n <SolidFormView {...params} />\n }\n </SolidDialog>\n </div>\n )\n}\n\n\nexport const PseudoRelationOneToManyFormWidget = ({ formData, field, fieldsMetadata, viewMetadata, formViewData }: SolidFormWidgetProps) => {\n\n const fieldLayoutInfo = field;\n const className = fieldLayoutInfo.attrs?.className || 'field col-12';\n const fieldLabel = fieldLayoutInfo.attrs.label;\n const fieldDescription = fieldLayoutInfo.attrs.description;\n const [visibleCreateRelationEntity, setvisibleCreateRelationEntity] = useState(false);\n const [listViewParams, setListViewParams] = useState<any>()\n const [formViewParams, setformViewParams] = useState<FormViewParams | null>(null)\n const [refreshList, setRefreshList] = useState(false); // Added state for rerender\n const showFieldLabel = fieldLayoutInfo?.attrs?.showLabel;\n const readOnlyPermission = fieldLayoutInfo.readOnly ? fieldLayoutInfo.readOnly : false;\n const pathname = usePathname();\n\n const parentModelName = fieldLayoutInfo?.attrs?.parentModelName;\n const childModelName = fieldLayoutInfo?.attrs?.childModelName;\n const parentFieldName = fieldLayoutInfo?.attrs?.parentFieldName;\n const childFieldName = fieldLayoutInfo?.attrs?.childFieldName;\n const parentModuleName = fieldLayoutInfo?.attrs?.parentModuleName;\n const childModuleName = fieldLayoutInfo?.attrs?.childModuleName\n\n\n const buildCustomFilter = ({ childFieldName, parentFieldName, formViewData, fieldLayoutInfo,\n }: {\n childFieldName?: string;\n parentFieldName?: string;\n formViewData?: any;\n fieldLayoutInfo?: any;\n }) => {\n const baseFilter =\n childFieldName && formViewData?.data\n ? {\n [childFieldName]: {\n $eq: formViewData.data[parentFieldName as string],\n },\n }\n : { id: { $eq: -1 } };\n\n // 2️⃣ Optional whereClause merge\n const whereClause = fieldLayoutInfo?.attrs?.whereClause;\n\n if (!whereClause) return { $and: [baseFilter] };\n\n try {\n const parsedWhereClause = JSON.parse(whereClause);\n\n // If both filters exist, merge safely\n return {\n $and: [baseFilter, parsedWhereClause]\n };\n } catch (error) {\n console.error(\"Failed to parse whereClause:\", error);\n return { $and: [baseFilter] };\n }\n };\n\n\n\n const handleAddOrEditClickForEmbeddedView = (id: any) => {\n\n const formviewparams: FormViewParams = {\n moduleName: childModuleName,\n modelName: camelCase(childModelName),\n id: id,\n embeded: true,\n isCustomCreate: false,\n inlineCreateAutoSave: fieldLayoutInfo?.attrs?.inlineCreateAutoSave,\n customLayout: fieldLayoutInfo?.attrs?.inlineCreateLayout,\n parentFieldName: parentFieldName,\n parentData: childFieldName && formViewData?.data && formViewData?.data[parentFieldName] ? { [childFieldName]: formViewData.data[parentFieldName] } : {},\n onEmbeddedFormSave: fieldLayoutInfo.onEmbeddedFormSave ? fieldLayoutInfo : false\n }\n setformViewParams(formviewparams);\n setvisibleCreateRelationEntity(true);\n\n\n }\n\n const handlePopupClose = () => {\n setvisibleCreateRelationEntity(false);\n setRefreshList((prev) => !prev);\n const lisviewparams = {\n moduleName: childModuleName,\n modelName: camelCase(childModelName),\n inlineCreate: readOnlyPermission === false ? true : false,\n customLayout: fieldLayoutInfo?.attrs?.inlineListLayout,\n embeded: true,\n id: formViewData && formViewData?.data ? formViewData?.data?.id : 'new',\n customFilter: buildCustomFilter({\n childFieldName,\n parentFieldName,\n formViewData,\n fieldLayoutInfo,\n })\n }\n setListViewParams(lisviewparams)\n }\n //Intial Params \n useEffect(() => {\n\n const listviewparams = {\n moduleName: childModuleName,\n modelName: camelCase(childModelName),\n inlineCreate: readOnlyPermission === false ? true : false,\n customLayout: fieldLayoutInfo?.attrs?.inlineListLayout,\n embeded: true,\n id: formViewData && formViewData?.data ? formViewData?.data?.id : 'new',\n customFilter: buildCustomFilter({\n childFieldName,\n parentFieldName,\n formViewData,\n fieldLayoutInfo,\n })\n }\n setListViewParams(listviewparams);\n const formviewparams: FormViewParams = {\n moduleName: childModuleName,\n modelName: camelCase(childModelName),\n id: \"new\",\n embeded: true,\n isCustomCreate: false,\n inlineCreateAutoSave: fieldLayoutInfo?.attrs?.inlineCreateAutoSave,\n customLayout: fieldLayoutInfo?.attrs?.inlineCreateLayout,\n parentFieldName: parentFieldName,\n parentData: childFieldName && formViewData && formViewData?.data && formViewData?.data[parentFieldName] ? { [childFieldName]: formViewData.data[parentFieldName] } : {},\n onEmbeddedFormSave: formViewData && formViewData.onEmbeddedFormSave\n\n }\n\n setformViewParams(formviewparams)\n\n\n }, [readOnlyPermission, formViewData])\n\n return (\n <div>\n {/* <div className=\"justify-content-center align-items-center\"> */}\n {showFieldLabel != false &&\n <label htmlFor={fieldLayoutInfo.attrs.name} className={`${styles.fieldLabel} form-field-label`}>{fieldLabel}\n {/* {fieldMetadata.required && <span className=\"text-red-500\"> *</span>} */}\n {/* <SolidFieldTooltip fieldContext={fieldContext} /> */}\n </label>\n }\n\n {/* {lastPathSegment === 'new' && <p>Please save the {solidFormViewMetaData.data.solidView.model.displayName} to be able to save {fieldMetadata.displayName}</p>} */}\n {listViewParams &&\n <SolidListView key={refreshList.toString()} {...listViewParams} handleAddClickForEmbeddedView={handleAddOrEditClickForEmbeddedView} handleEditClickForEmbeddedView={handleAddOrEditClickForEmbeddedView} />\n }\n {readOnlyPermission !== true && formViewParams &&\n <RenderSolidFormEmbededView fieldLayoutInfo={fieldLayoutInfo} visibleCreateRelationEntity={visibleCreateRelationEntity} setvisibleCreateRelationEntity={setvisibleCreateRelationEntity} formViewParams={formViewParams} handlePopupClose={handlePopupClose}></RenderSolidFormEmbededView>\n }\n\n </div>\n );\n}\n"]}
@@ -1,7 +1,6 @@
1
1
 
2
2
  import { SolidListView } from "../../../../../components/core/list/SolidListView";
3
3
  import { camelCase, capitalize } from "lodash";
4
- import { Dialog } from "primereact/dialog";
5
4
  import { useEffect, useState } from "react";
6
5
  import * as Yup from 'yup';
7
6
  import SolidFormView from '../../../../../components/core/form/SolidFormView';
@@ -10,13 +9,12 @@ import { usePathname } from "../../../../../hooks/usePathname";
10
9
  import { useRouter } from "../../../../../hooks/useRouter";
11
10
  import { getExtensionComponent } from "../../../../../helpers/registry";
12
11
  import { SolidFormFieldWidgetProps, SolidFormWidgetProps } from "../../../../../types/solid-core";
13
- import { Message } from "primereact/message";
14
- import FieldMetaData from "../../../../../components/core/model/FieldMetaData";
15
- import { Chip } from "primereact/chip";
16
12
  import { SolidFieldTooltip } from "../../../../../components/common/SolidFieldTooltip";
17
- import { Divider } from "primereact/divider";
18
- import { Button } from "primereact/button";
13
+ import { SolidButton } from "../../../../shad-cn-ui/SolidButton";
14
+ import { SolidDialog, SolidDialogBody, SolidDialogClose, SolidDialogHeader, SolidDialogTitle } from "../../../../shad-cn-ui/SolidDialog";
15
+ import { SolidMessage } from "../../../../shad-cn-ui/SolidMessage";
19
16
  import { ERROR_MESSAGES } from "../../../../../constants/error-messages";
17
+ import styles from "../solidFields.module.css";
20
18
 
21
19
  export type FormViewParams = {
22
20
  moduleName: any;
@@ -324,7 +322,7 @@ export const DefaultRelationOneToManyFormEditWidget = ({ formik, fieldContext }:
324
322
  <div>
325
323
  {/* <div className="justify-content-center align-items-center"> */}
326
324
  {showFieldLabel != false &&
327
- <label htmlFor={fieldLayoutInfo.attrs.name} className="form-field-label">{fieldLabel}
325
+ <label htmlFor={fieldLayoutInfo.attrs.name} className={`${styles.fieldLabel} form-field-label`}>{fieldLabel}
328
326
  {fieldMetadata.required && <span className="text-red-500"> *</span>}
329
327
  <SolidFieldTooltip fieldContext={fieldContext} />
330
328
  </label>
@@ -338,18 +336,35 @@ export const DefaultRelationOneToManyFormEditWidget = ({ formik, fieldContext }:
338
336
  <RenderSolidFormEmbededView formik={formik} fieldContext={fieldContext} visibleCreateRelationEntity={visibleCreateRelationEntity} setvisibleCreateRelationEntity={setvisibleCreateRelationEntity} formViewParams={formViewParams} handlePopupClose={handlePopupClose}></RenderSolidFormEmbededView>
339
337
  }
340
338
 
341
- <Dialog showHeader={false} headerClassName="py-2" contentClassName="px-0 pb-0" className="solid-confirm-dialog" contentStyle={{ borderRadius: 6 }} visible={showSaveParentEntityConfirmationPopup} style={{ width: '20vw' }} onHide={() => { if (!showSaveParentEntityConfirmationPopup) return; setShowSaveParentEntityConfirmationPopup(false); }}>
342
- <div className="p-4">
343
- <p className="m-0 solid-primary-title" style={{ fontSize: 16 }}>
344
- Before Creating {fieldLabel} you need to save {solidFormViewMetaData?.data?.solidView?.model?.displayName ? solidFormViewMetaData?.data?.solidView?.model?.displayName : capitalize(fieldContext.modelName)}.
345
- Please click save if you wish to proceed ?
339
+ <SolidDialog
340
+ open={showSaveParentEntityConfirmationPopup}
341
+ onOpenChange={setShowSaveParentEntityConfirmationPopup}
342
+ className="solid-confirm-dialog solid-field-confirm-dialog"
343
+ style={{ width: "min(420px, calc(100vw - 2rem))" }}
344
+ >
345
+ <SolidDialogHeader className="solid-field-confirm-header">
346
+ <SolidDialogTitle>Save Required</SolidDialogTitle>
347
+ <SolidDialogClose />
348
+ </SolidDialogHeader>
349
+ <SolidDialogBody className="solid-field-confirm-dialog-body">
350
+ <p className="solid-field-confirm-message">
351
+ Before creating {fieldLabel}, you need to save{" "}
352
+ {solidFormViewMetaData?.data?.solidView?.model?.displayName
353
+ ? solidFormViewMetaData.data.solidView.model.displayName
354
+ : capitalize(fieldContext.modelName)}
355
+ . Please save first if you want to continue.
346
356
  </p>
347
- <div className="flex align-items-center justify-content-start gap-2 mt-3">
348
- <Button label="Save" size="small" onClick={saveParentEntity} />
349
- <Button label="Cancel" size="small" onClick={() => setShowSaveParentEntityConfirmationPopup(false)} outlined className='bg-primary-reverse' />
350
- </div>
357
+ </SolidDialogBody>
358
+ <div className="solid-radix-dialog-footer solid-field-confirm-actions">
359
+ <SolidButton label="Save" size="sm" onClick={saveParentEntity} autoFocus />
360
+ <SolidButton
361
+ label="Cancel"
362
+ size="sm"
363
+ onClick={() => setShowSaveParentEntityConfirmationPopup(false)}
364
+ variant="outline"
365
+ />
351
366
  </div>
352
- </Dialog>
367
+ </SolidDialog>
353
368
 
354
369
  </div>
355
370
  );
@@ -459,7 +474,7 @@ export const DefaultRelationOneToManyFormViewWidget = ({ formik, fieldContext }:
459
474
  <div>
460
475
  {/* <div className="justify-content-center align-items-center"> */}
461
476
  {showFieldLabel != false &&
462
- <label htmlFor={fieldLayoutInfo.attrs.name} className="form-field-label">{fieldLabel}
477
+ <label htmlFor={fieldLayoutInfo.attrs.name} className={`${styles.fieldLabel} form-field-label`}>{fieldLabel}
463
478
  {fieldMetadata.required && <span className="text-red-500"> *</span>}
464
479
  <SolidFieldTooltip fieldContext={fieldContext} />
465
480
  </label>
@@ -502,33 +517,29 @@ export const RenderSolidFormEmbededView = ({ fieldLayoutInfo, customCreateHandle
502
517
 
503
518
  return (
504
519
  <div className="many-to-many-add" >
505
- {/* <Button icon="pi pi-plus"
520
+ {/* <Button icon="si si-plus"
506
521
  rounded
507
522
  outlined
508
523
  aria-label="Filter"
509
524
  type="button"
510
525
  onClick={() => setvisibleCreateRelationEntity(true)}
511
526
  /> */}
512
- <Dialog
513
- header=""
514
- showHeader={false}
515
- visible={visibleCreateRelationEntity}
527
+ <SolidDialog
528
+ open={visibleCreateRelationEntity}
529
+ onOpenChange={setvisibleCreateRelationEntity}
516
530
  className="solid-dialog"
517
531
  style={{
518
532
  width: fieldLayoutInfo?.attrs?.inlineCreateLayout?.attrs?.width ?? "60vw",
519
533
  height: fieldLayoutInfo?.attrs?.inlineCreateLayout?.attrs?.height ?? "auto"
520
534
  }}
521
- onHide={() => {
522
- if (!visibleCreateRelationEntity) return;
523
- setvisibleCreateRelationEntity(false);
524
- }}
535
+ showHeader={false}
525
536
  breakpoints={{ '1199px': '35rem', "767px": '85vw', "550px": '90vw' }}
526
537
 
527
538
  >
528
539
  {params &&
529
540
  <SolidFormView {...params} />
530
541
  }
531
- </Dialog>
542
+ </SolidDialog>
532
543
  </div>
533
544
  )
534
545
  }
@@ -672,7 +683,7 @@ export const PseudoRelationOneToManyFormWidget = ({ formData, field, fieldsMetad
672
683
  <div>
673
684
  {/* <div className="justify-content-center align-items-center"> */}
674
685
  {showFieldLabel != false &&
675
- <label htmlFor={fieldLayoutInfo.attrs.name} className="form-field-label">{fieldLabel}
686
+ <label htmlFor={fieldLayoutInfo.attrs.name} className={`${styles.fieldLabel} form-field-label`}>{fieldLabel}
676
687
  {/* {fieldMetadata.required && <span className="text-red-500"> *</span>} */}
677
688
  {/* <SolidFieldTooltip fieldContext={fieldContext} /> */}
678
689
  </label>
@@ -1 +1 @@
1
- {"version":3,"file":"InlineRelationEntityDialog.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,0BAA0B,oDAAqD,GAAG,4CAiC9F,CAAC"}
1
+ {"version":3,"file":"InlineRelationEntityDialog.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,0BAA0B,oDAAqD,GAAG,4CAmC9F,CAAC"}
@@ -9,8 +9,8 @@ var __assign = (this && this.__assign) || function () {
9
9
  };
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
- import { jsx as _jsx } from "react/jsx-runtime";
13
- import { Dialog } from "primereact/dialog";
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import { SolidDialog, SolidDialogBody, SolidDialogClose, SolidDialogHeader, } from "../../../../../../shad-cn-ui/SolidDialog";
14
14
  import { camelCase } from "lodash";
15
15
  import SolidFormView from "../../../../../../../components/core/form/SolidFormView";
16
16
  export var InlineRelationEntityDialog = function (_a) {
@@ -30,11 +30,8 @@ export var InlineRelationEntityDialog = function (_a) {
30
30
  handlePopupClose: function () { return setVisible(false); },
31
31
  modelName: camelCase(fieldContext.fieldMetadata.relationCoModelSingularName)
32
32
  };
33
- return (_jsx(Dialog, { visible: visible, showHeader: false, style: {
34
- width: (_g = (_f = (_e = (_d = fieldLayoutInfo === null || fieldLayoutInfo === void 0 ? void 0 : fieldLayoutInfo.attrs) === null || _d === void 0 ? void 0 : _d.inlineCreateLayout) === null || _e === void 0 ? void 0 : _e.attrs) === null || _f === void 0 ? void 0 : _f.width) !== null && _g !== void 0 ? _g : "60vw",
35
- height: (_l = (_k = (_j = (_h = fieldLayoutInfo === null || fieldLayoutInfo === void 0 ? void 0 : fieldLayoutInfo.attrs) === null || _h === void 0 ? void 0 : _h.inlineCreateLayout) === null || _j === void 0 ? void 0 : _j.attrs) === null || _k === void 0 ? void 0 : _k.height) !== null && _l !== void 0 ? _l : "auto"
36
- },
37
- // breakpoints={{ '1199px': '35rem', "767px": '85vw', "550px": '90vw' }}
38
- onHide: function () { return setVisible(false); }, className: "solid-dialog", children: _jsx(SolidFormView, __assign({}, params)) }));
33
+ var dialogWidth = (_g = (_f = (_e = (_d = fieldLayoutInfo === null || fieldLayoutInfo === void 0 ? void 0 : fieldLayoutInfo.attrs) === null || _d === void 0 ? void 0 : _d.inlineCreateLayout) === null || _e === void 0 ? void 0 : _e.attrs) === null || _f === void 0 ? void 0 : _f.width) !== null && _g !== void 0 ? _g : "60vw";
34
+ var dialogHeight = (_l = (_k = (_j = (_h = fieldLayoutInfo === null || fieldLayoutInfo === void 0 ? void 0 : fieldLayoutInfo.attrs) === null || _h === void 0 ? void 0 : _h.inlineCreateLayout) === null || _j === void 0 ? void 0 : _j.attrs) === null || _k === void 0 ? void 0 : _k.height) !== null && _l !== void 0 ? _l : "auto";
35
+ return (_jsxs(SolidDialog, { open: visible, onOpenChange: setVisible, className: "solid-dialog", style: { width: dialogWidth, height: dialogHeight }, children: [_jsx(SolidDialogHeader, { children: _jsx(SolidDialogClose, { "aria-label": "Close dialog" }) }), _jsx(SolidDialogBody, { children: _jsx(SolidFormView, __assign({}, params)) })] }));
39
36
  };
40
37
  //# sourceMappingURL=InlineRelationEntityDialog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InlineRelationEntityDialog.js","sourceRoot":"","sources":["../../../../../../../../src/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,aAAa,MAAM,yDAAyD,CAAC;AAEpF,MAAM,CAAC,IAAM,0BAA0B,GAAG,UAAC,EAAoD;;QAAlD,OAAO,aAAA,EAAE,UAAU,gBAAA,EAAE,YAAY,kBAAA,EAAE,QAAQ,cAAA;IACtF,IAAM,eAAe,GAAG,YAAY,CAAC,KAAK,CAAC;IAE3C,IAAM,MAAM,GAAG;QACb,UAAU,EAAE,YAAY,CAAC,aAAa,CAAC,uBAAuB;QAC9D,EAAE,EAAE,KAAK;QACT,OAAO,EAAE,IAAI;QACb,YAAY,EAAE,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,KAAK,0CAAE,kBAAkB;QACxD,mBAAmB,EAAE,UAAC,MAAW;YAC/B,UAAU,CAAC,KAAK,CAAC,CAAC;YAClB,QAAQ,CAAC,MAAM,CAAC,CAAC;QACnB,CAAC;QACD,oBAAoB,EAAE,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,KAAK,0CAAE,oBAAoB;QAClE,gBAAgB,EAAE,cAAM,OAAA,UAAU,CAAC,KAAK,CAAC,EAAjB,CAAiB;QACzC,SAAS,EAAE,SAAS,CAAC,YAAY,CAAC,aAAa,CAAC,2BAA2B,CAAC;KAC7E,CAAC;IAEF,OAAO,CACL,KAAC,MAAM,IACL,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,KAAK,EACjB,KAAK,EAAE;YACP,KAAK,EAAE,MAAA,MAAA,MAAA,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,KAAK,0CAAE,kBAAkB,0CAAE,KAAK,0CAAE,KAAK,mCAAI,MAAM;YACzE,MAAM,EAAE,MAAA,MAAA,MAAA,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,KAAK,0CAAE,kBAAkB,0CAAE,KAAK,0CAAE,MAAM,mCAAI,MAAM;SAC1E;QACD,wEAAwE;QAExE,MAAM,EAAE,cAAM,OAAA,UAAU,CAAC,KAAK,CAAC,EAAjB,CAAiB,EAC/B,SAAS,EAAC,cAAc,YAExB,KAAC,aAAa,eAAK,MAAM,EAAI,GACtB,CACV,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Dialog } from \"primereact/dialog\";\nimport { camelCase } from \"lodash\";\nimport SolidFormView from \"../../../../../../../components/core/form/SolidFormView\";\n\nexport const InlineRelationEntityDialog = ({ visible, setVisible, fieldContext, onCreate }: any) => {\n const fieldLayoutInfo = fieldContext.field;\n\n const params = {\n moduleName: fieldContext.fieldMetadata.relationModelModuleName,\n id: \"new\",\n embeded: true,\n customLayout: fieldLayoutInfo?.attrs?.inlineCreateLayout,\n customCreateHandler: (values: any) => {\n setVisible(false);\n onCreate(values);\n },\n inlineCreateAutoSave: fieldLayoutInfo?.attrs?.inlineCreateAutoSave,\n handlePopupClose: () => setVisible(false),\n modelName: camelCase(fieldContext.fieldMetadata.relationCoModelSingularName)\n };\n\n return (\n <Dialog\n visible={visible}\n showHeader={false}\n style={{\n width: fieldLayoutInfo?.attrs?.inlineCreateLayout?.attrs?.width ?? \"60vw\",\n height: fieldLayoutInfo?.attrs?.inlineCreateLayout?.attrs?.height ?? \"auto\"\n }}\n // breakpoints={{ '1199px': '35rem', \"767px\": '85vw', \"550px\": '90vw' }}\n\n onHide={() => setVisible(false)}\n className=\"solid-dialog\"\n >\n <SolidFormView {...params} />\n </Dialog>\n );\n};\n"]}
1
+ {"version":3,"file":"InlineRelationEntityDialog.js","sourceRoot":"","sources":["../../../../../../../../src/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EACL,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,aAAa,MAAM,yDAAyD,CAAC;AAEpF,MAAM,CAAC,IAAM,0BAA0B,GAAG,UAAC,EAAoD;;QAAlD,OAAO,aAAA,EAAE,UAAU,gBAAA,EAAE,YAAY,kBAAA,EAAE,QAAQ,cAAA;IACtF,IAAM,eAAe,GAAG,YAAY,CAAC,KAAK,CAAC;IAE3C,IAAM,MAAM,GAAG;QACb,UAAU,EAAE,YAAY,CAAC,aAAa,CAAC,uBAAuB;QAC9D,EAAE,EAAE,KAAK;QACT,OAAO,EAAE,IAAI;QACb,YAAY,EAAE,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,KAAK,0CAAE,kBAAkB;QACxD,mBAAmB,EAAE,UAAC,MAAW;YAC/B,UAAU,CAAC,KAAK,CAAC,CAAC;YAClB,QAAQ,CAAC,MAAM,CAAC,CAAC;QACnB,CAAC;QACD,oBAAoB,EAAE,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,KAAK,0CAAE,oBAAoB;QAClE,gBAAgB,EAAE,cAAM,OAAA,UAAU,CAAC,KAAK,CAAC,EAAjB,CAAiB;QACzC,SAAS,EAAE,SAAS,CAAC,YAAY,CAAC,aAAa,CAAC,2BAA2B,CAAC;KAC7E,CAAC;IAEF,IAAM,WAAW,GAAG,MAAA,MAAA,MAAA,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,KAAK,0CAAE,kBAAkB,0CAAE,KAAK,0CAAE,KAAK,mCAAI,MAAM,CAAC;IACvF,IAAM,YAAY,GAAG,MAAA,MAAA,MAAA,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,KAAK,0CAAE,kBAAkB,0CAAE,KAAK,0CAAE,MAAM,mCAAI,MAAM,CAAC;IAEzF,OAAO,CACL,MAAC,WAAW,IACV,IAAI,EAAE,OAAO,EACb,YAAY,EAAE,UAAU,EACxB,SAAS,EAAC,cAAc,EACxB,KAAK,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,YAAY,EAAE,aAEnD,KAAC,iBAAiB,cAChB,KAAC,gBAAgB,kBAAY,cAAc,GAAG,GAC5B,EACpB,KAAC,eAAe,cACd,KAAC,aAAa,eAAK,MAAM,EAAI,GACb,IACN,CACf,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import {\n SolidDialog,\n SolidDialogBody,\n SolidDialogClose,\n SolidDialogHeader,\n} from \"../../../../../../shad-cn-ui/SolidDialog\";\nimport { camelCase } from \"lodash\";\nimport SolidFormView from \"../../../../../../../components/core/form/SolidFormView\";\n\nexport const InlineRelationEntityDialog = ({ visible, setVisible, fieldContext, onCreate }: any) => {\n const fieldLayoutInfo = fieldContext.field;\n\n const params = {\n moduleName: fieldContext.fieldMetadata.relationModelModuleName,\n id: \"new\",\n embeded: true,\n customLayout: fieldLayoutInfo?.attrs?.inlineCreateLayout,\n customCreateHandler: (values: any) => {\n setVisible(false);\n onCreate(values);\n },\n inlineCreateAutoSave: fieldLayoutInfo?.attrs?.inlineCreateAutoSave,\n handlePopupClose: () => setVisible(false),\n modelName: camelCase(fieldContext.fieldMetadata.relationCoModelSingularName)\n };\n\n const dialogWidth = fieldLayoutInfo?.attrs?.inlineCreateLayout?.attrs?.width ?? \"60vw\";\n const dialogHeight = fieldLayoutInfo?.attrs?.inlineCreateLayout?.attrs?.height ?? \"auto\";\n\n return (\n <SolidDialog\n open={visible}\n onOpenChange={setVisible}\n className=\"solid-dialog\"\n style={{ width: dialogWidth, height: dialogHeight }}\n >\n <SolidDialogHeader>\n <SolidDialogClose aria-label=\"Close dialog\" />\n </SolidDialogHeader>\n <SolidDialogBody>\n <SolidFormView {...params} />\n </SolidDialogBody>\n </SolidDialog>\n );\n};\n"]}