@solidxai/core-ui 0.1.7-beta.1 → 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 (1322) 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/FilterComponent.d.ts +2 -8
  230. package/dist/components/core/common/FilterComponent.d.ts.map +1 -1
  231. package/dist/components/core/common/FilterComponent.js +27 -49
  232. package/dist/components/core/common/FilterComponent.js.map +1 -1
  233. package/dist/components/core/common/FilterComponent.tsx +69 -127
  234. package/dist/components/core/common/GroupingComponent.d.ts.map +1 -1
  235. package/dist/components/core/common/GroupingComponent.js +40 -70
  236. package/dist/components/core/common/GroupingComponent.js.map +1 -1
  237. package/dist/components/core/common/GroupingComponent.tsx +174 -251
  238. package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.d.ts +1 -1
  239. package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.d.ts.map +1 -1
  240. package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.js +12 -32
  241. package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.js.map +1 -1
  242. package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.module.css +530 -42
  243. package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.tsx +71 -86
  244. package/dist/components/core/common/SolidAccountSettings/SolidChangePassword.d.ts.map +1 -1
  245. package/dist/components/core/common/SolidAccountSettings/SolidChangePassword.js +75 -48
  246. package/dist/components/core/common/SolidAccountSettings/SolidChangePassword.js.map +1 -1
  247. package/dist/components/core/common/SolidAccountSettings/SolidChangePassword.tsx +242 -172
  248. package/dist/components/core/common/SolidAccountSettings/SolidNotifications.d.ts.map +1 -1
  249. package/dist/components/core/common/SolidAccountSettings/SolidNotifications.js +44 -55
  250. package/dist/components/core/common/SolidAccountSettings/SolidNotifications.js.map +1 -1
  251. package/dist/components/core/common/SolidAccountSettings/SolidNotifications.tsx +108 -125
  252. package/dist/components/core/common/SolidAccountSettings/SolidPersonalInfo.d.ts.map +1 -1
  253. package/dist/components/core/common/SolidAccountSettings/SolidPersonalInfo.js +106 -87
  254. package/dist/components/core/common/SolidAccountSettings/SolidPersonalInfo.js.map +1 -1
  255. package/dist/components/core/common/SolidAccountSettings/SolidPersonalInfo.tsx +332 -285
  256. package/dist/components/core/common/SolidAccountSettings/SolidVersionInfo.d.ts.map +1 -1
  257. package/dist/components/core/common/SolidAccountSettings/SolidVersionInfo.js +12 -13
  258. package/dist/components/core/common/SolidAccountSettings/SolidVersionInfo.js.map +1 -1
  259. package/dist/components/core/common/SolidAccountSettings/SolidVersionInfo.tsx +48 -65
  260. package/dist/components/core/common/SolidCreateButton.d.ts.map +1 -1
  261. package/dist/components/core/common/SolidCreateButton.js +5 -3
  262. package/dist/components/core/common/SolidCreateButton.js.map +1 -1
  263. package/dist/components/core/common/SolidCreateButton.tsx +20 -14
  264. package/dist/components/core/common/SolidGenericImport/SolidGenericImport.d.ts.map +1 -1
  265. package/dist/components/core/common/SolidGenericImport/SolidGenericImport.js +30 -11
  266. package/dist/components/core/common/SolidGenericImport/SolidGenericImport.js.map +1 -1
  267. package/dist/components/core/common/SolidGenericImport/SolidGenericImport.tsx +91 -43
  268. package/dist/components/core/common/SolidGenericImport/SolidImport.module.css +697 -27
  269. package/dist/components/core/common/SolidGenericImport/SolidImportDropzone.d.ts.map +1 -1
  270. package/dist/components/core/common/SolidGenericImport/SolidImportDropzone.js +14 -9
  271. package/dist/components/core/common/SolidGenericImport/SolidImportDropzone.js.map +1 -1
  272. package/dist/components/core/common/SolidGenericImport/SolidImportDropzone.tsx +46 -24
  273. package/dist/components/core/common/SolidGenericImport/SolidImportInstructions.d.ts.map +1 -1
  274. package/dist/components/core/common/SolidGenericImport/SolidImportInstructions.js +24 -25
  275. package/dist/components/core/common/SolidGenericImport/SolidImportInstructions.js.map +1 -1
  276. package/dist/components/core/common/SolidGenericImport/SolidImportInstructions.tsx +77 -54
  277. package/dist/components/core/common/SolidGenericImport/SolidImportStepper.d.ts +1 -1
  278. package/dist/components/core/common/SolidGenericImport/SolidImportStepper.d.ts.map +1 -1
  279. package/dist/components/core/common/SolidGenericImport/SolidImportStepper.js +15 -125
  280. package/dist/components/core/common/SolidGenericImport/SolidImportStepper.js.map +1 -1
  281. package/dist/components/core/common/SolidGenericImport/SolidImportStepper.tsx +35 -213
  282. package/dist/components/core/common/SolidGenericImport/SolidImportTransaction.d.ts.map +1 -1
  283. package/dist/components/core/common/SolidGenericImport/SolidImportTransaction.js +16 -31
  284. package/dist/components/core/common/SolidGenericImport/SolidImportTransaction.js.map +1 -1
  285. package/dist/components/core/common/SolidGenericImport/SolidImportTransaction.tsx +77 -84
  286. package/dist/components/core/common/SolidGenericImport/SolidImportTransactionStatus.d.ts.map +1 -1
  287. package/dist/components/core/common/SolidGenericImport/SolidImportTransactionStatus.js +11 -13
  288. package/dist/components/core/common/SolidGenericImport/SolidImportTransactionStatus.js.map +1 -1
  289. package/dist/components/core/common/SolidGenericImport/SolidImportTransactionStatus.tsx +87 -52
  290. package/dist/components/core/common/SolidGlobalSearchElement.d.ts.map +1 -1
  291. package/dist/components/core/common/SolidGlobalSearchElement.js +319 -161
  292. package/dist/components/core/common/SolidGlobalSearchElement.js.map +1 -1
  293. package/dist/components/core/common/SolidGlobalSearchElement.tsx +654 -287
  294. package/dist/components/core/common/SolidLayoutViews.d.ts.map +1 -1
  295. package/dist/components/core/common/SolidLayoutViews.js +5 -8
  296. package/dist/components/core/common/SolidLayoutViews.js.map +1 -1
  297. package/dist/components/core/common/SolidLayoutViews.tsx +49 -63
  298. package/dist/components/core/common/SolidListViewOptions.d.ts.map +1 -1
  299. package/dist/components/core/common/SolidListViewOptions.js +3 -3
  300. package/dist/components/core/common/SolidListViewOptions.js.map +1 -1
  301. package/dist/components/core/common/SolidListViewOptions.tsx +7 -6
  302. package/dist/components/core/common/SolidSaveCustomFilterForm.d.ts.map +1 -1
  303. package/dist/components/core/common/SolidSaveCustomFilterForm.js +3 -3
  304. package/dist/components/core/common/SolidSaveCustomFilterForm.js.map +1 -1
  305. package/dist/components/core/common/SolidSaveCustomFilterForm.tsx +31 -28
  306. package/dist/components/core/common/SolidSearchBox.d.ts.map +1 -1
  307. package/dist/components/core/common/SolidSearchBox.js +2 -2
  308. package/dist/components/core/common/SolidSearchBox.js.map +1 -1
  309. package/dist/components/core/common/SolidSearchBox.tsx +3 -4
  310. package/dist/components/core/common/SolidViewLayoutManager.d.ts +17 -0
  311. package/dist/components/core/common/SolidViewLayoutManager.d.ts.map +1 -1
  312. package/dist/components/core/common/SolidViewLayoutManager.js +58 -1
  313. package/dist/components/core/common/SolidViewLayoutManager.js.map +1 -1
  314. package/dist/components/core/common/SolidViewLayoutManager.ts +43 -2
  315. package/dist/components/core/dashboard/DashboardFilter.d.ts.map +1 -1
  316. package/dist/components/core/dashboard/DashboardFilter.js +8 -14
  317. package/dist/components/core/dashboard/DashboardFilter.js.map +1 -1
  318. package/dist/components/core/dashboard/DashboardFilter.tsx +26 -34
  319. package/dist/components/core/dashboard/PrimeDataTableWrapper.js +2 -2
  320. package/dist/components/core/dashboard/PrimeDataTableWrapper.js.map +1 -1
  321. package/dist/components/core/dashboard/PrimeDataTableWrapper.tsx +3 -3
  322. package/dist/components/core/dashboard/SolidDashboard.d.ts.map +1 -1
  323. package/dist/components/core/dashboard/SolidDashboard.js +13 -125
  324. package/dist/components/core/dashboard/SolidDashboard.js.map +1 -1
  325. package/dist/components/core/dashboard/SolidDashboard.module.css +3 -3
  326. package/dist/components/core/dashboard/SolidDashboard.tsx +41 -187
  327. package/dist/components/core/dashboard/SolidDashboardBody.d.ts.map +1 -1
  328. package/dist/components/core/dashboard/SolidDashboardBody.js +14 -14
  329. package/dist/components/core/dashboard/SolidDashboardBody.js.map +1 -1
  330. package/dist/components/core/dashboard/SolidDashboardBody.tsx +6 -7
  331. package/dist/components/core/dashboard/SolidDashboardFilterRequired.js +2 -1
  332. package/dist/components/core/dashboard/SolidDashboardFilterRequired.js.map +1 -1
  333. package/dist/components/core/dashboard/SolidDashboardFilterRequired.tsx +3 -3
  334. package/dist/components/core/dashboard/SolidDashboardLoading.d.ts.map +1 -1
  335. package/dist/components/core/dashboard/SolidDashboardLoading.js +5 -2
  336. package/dist/components/core/dashboard/SolidDashboardLoading.js.map +1 -1
  337. package/dist/components/core/dashboard/SolidDashboardLoading.tsx +20 -14
  338. package/dist/components/core/dashboard/SolidDashboardNotAvailable.js +2 -1
  339. package/dist/components/core/dashboard/SolidDashboardNotAvailable.js.map +1 -1
  340. package/dist/components/core/dashboard/SolidDashboardNotAvailable.tsx +3 -3
  341. package/dist/components/core/dashboard/SolidDashboardRenderError.d.ts.map +1 -1
  342. package/dist/components/core/dashboard/SolidDashboardRenderError.js +2 -1
  343. package/dist/components/core/dashboard/SolidDashboardRenderError.js.map +1 -1
  344. package/dist/components/core/dashboard/SolidDashboardRenderError.tsx +3 -4
  345. package/dist/components/core/dashboard/SolidDashboardVariable.d.ts.map +1 -1
  346. package/dist/components/core/dashboard/SolidDashboardVariable.js +9 -18
  347. package/dist/components/core/dashboard/SolidDashboardVariable.js.map +1 -1
  348. package/dist/components/core/dashboard/SolidDashboardVariable.tsx +40 -37
  349. package/dist/components/core/dashboard/SolidQuestionRenderer.d.ts.map +1 -1
  350. package/dist/components/core/dashboard/SolidQuestionRenderer.js +16 -11
  351. package/dist/components/core/dashboard/SolidQuestionRenderer.js.map +1 -1
  352. package/dist/components/core/dashboard/SolidQuestionRenderer.tsx +30 -11
  353. package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.d.ts.map +1 -1
  354. package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.js +4 -14
  355. package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.js.map +1 -1
  356. package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.tsx +24 -27
  357. package/dist/components/core/extension/solid-core/CustomIcon/StatusIcon.d.ts +1 -2
  358. package/dist/components/core/extension/solid-core/CustomIcon/StatusIcon.d.ts.map +1 -1
  359. package/dist/components/core/extension/solid-core/CustomIcon/StatusIcon.js +2 -2
  360. package/dist/components/core/extension/solid-core/CustomIcon/StatusIcon.js.map +1 -1
  361. package/dist/components/core/extension/solid-core/CustomIcon/StatusIcon.tsx +10 -12
  362. package/dist/components/core/extension/solid-core/chatterMessage/form/SolidChatterMessageCoModelEntityIdFormViewWidget.d.ts +3 -0
  363. package/dist/components/core/extension/solid-core/chatterMessage/form/SolidChatterMessageCoModelEntityIdFormViewWidget.d.ts.map +1 -0
  364. package/dist/components/core/extension/solid-core/chatterMessage/form/SolidChatterMessageCoModelEntityIdFormViewWidget.js +92 -0
  365. package/dist/components/core/extension/solid-core/chatterMessage/form/SolidChatterMessageCoModelEntityIdFormViewWidget.js.map +1 -0
  366. package/dist/components/core/extension/solid-core/chatterMessage/form/SolidChatterMessageCoModelEntityIdFormViewWidget.tsx +68 -0
  367. package/dist/components/core/extension/solid-core/chatterMessage/list/SolidChatterMessageCoModelEntityIdListViewWidget.d.ts +3 -0
  368. package/dist/components/core/extension/solid-core/chatterMessage/list/SolidChatterMessageCoModelEntityIdListViewWidget.d.ts.map +1 -0
  369. package/dist/components/core/extension/solid-core/chatterMessage/list/SolidChatterMessageCoModelEntityIdListViewWidget.js +87 -0
  370. package/dist/components/core/extension/solid-core/chatterMessage/list/SolidChatterMessageCoModelEntityIdListViewWidget.js.map +1 -0
  371. package/dist/components/core/extension/solid-core/chatterMessage/list/SolidChatterMessageCoModelEntityIdListViewWidget.tsx +70 -0
  372. package/dist/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.js +2 -2
  373. package/dist/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.js.map +1 -1
  374. package/dist/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.tsx +3 -3
  375. package/dist/components/core/extension/solid-core/listOfValues/form/SolidLovTypeChangeFormEditWidget.d.ts +3 -0
  376. package/dist/components/core/extension/solid-core/listOfValues/form/SolidLovTypeChangeFormEditWidget.d.ts.map +1 -0
  377. package/dist/components/core/extension/solid-core/listOfValues/form/SolidLovTypeChangeFormEditWidget.js +111 -0
  378. package/dist/components/core/extension/solid-core/listOfValues/form/SolidLovTypeChangeFormEditWidget.js.map +1 -0
  379. package/dist/components/core/extension/solid-core/listOfValues/form/SolidLovTypeChangeFormEditWidget.tsx +122 -0
  380. package/dist/components/core/extension/solid-core/media/card/MediaCardWidget.d.ts +3 -0
  381. package/dist/components/core/extension/solid-core/media/card/MediaCardWidget.d.ts.map +1 -0
  382. package/dist/components/core/extension/solid-core/media/card/MediaCardWidget.js +69 -0
  383. package/dist/components/core/extension/solid-core/media/card/MediaCardWidget.js.map +1 -0
  384. package/dist/components/core/extension/solid-core/media/card/MediaCardWidget.tsx +141 -0
  385. package/dist/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.d.ts.map +1 -1
  386. package/dist/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.js +3 -6
  387. package/dist/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.js.map +1 -1
  388. package/dist/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.tsx +54 -38
  389. package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.d.ts.map +1 -1
  390. package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.js +74 -97
  391. package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.js.map +1 -1
  392. package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.tsx +178 -188
  393. package/dist/components/core/extension/solid-core/moduleMetadata/list/DeleteModuleRowAction.d.ts.map +1 -1
  394. package/dist/components/core/extension/solid-core/moduleMetadata/list/DeleteModuleRowAction.js +33 -35
  395. package/dist/components/core/extension/solid-core/moduleMetadata/list/DeleteModuleRowAction.js.map +1 -1
  396. package/dist/components/core/extension/solid-core/moduleMetadata/list/DeleteModuleRowAction.tsx +123 -110
  397. package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.d.ts.map +1 -1
  398. package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.js +70 -106
  399. package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.js.map +1 -1
  400. package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.tsx +175 -182
  401. package/dist/components/core/extension/solid-core/mqMessage/form/SolidMqMessageStageFormViewWIdget.d.ts +3 -0
  402. package/dist/components/core/extension/solid-core/mqMessage/form/SolidMqMessageStageFormViewWIdget.d.ts.map +1 -0
  403. package/dist/components/core/extension/solid-core/mqMessage/form/SolidMqMessageStageFormViewWIdget.js +10 -0
  404. package/dist/components/core/extension/solid-core/mqMessage/form/SolidMqMessageStageFormViewWIdget.js.map +1 -0
  405. package/dist/components/core/extension/solid-core/mqMessage/form/SolidMqMessageStageFormViewWIdget.tsx +21 -0
  406. package/dist/components/core/extension/solid-core/mqMessage/form/mqMessageOnFormLoadHandler.d.ts +8 -0
  407. package/dist/components/core/extension/solid-core/mqMessage/form/mqMessageOnFormLoadHandler.d.ts.map +1 -0
  408. package/dist/components/core/extension/solid-core/mqMessage/form/mqMessageOnFormLoadHandler.js +62 -0
  409. package/dist/components/core/extension/solid-core/mqMessage/form/mqMessageOnFormLoadHandler.js.map +1 -0
  410. package/dist/components/core/extension/solid-core/mqMessage/form/mqMessageOnFormLoadHandler.tsx +27 -0
  411. package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanCardWidget.d.ts +3 -0
  412. package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanCardWidget.d.ts.map +1 -0
  413. package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanCardWidget.js +128 -0
  414. package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanCardWidget.js.map +1 -0
  415. package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanCardWidget.tsx +195 -0
  416. package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessageStageListViewWidget.d.ts +3 -0
  417. package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessageStageListViewWidget.d.ts.map +1 -0
  418. package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessageStageListViewWidget.js +8 -0
  419. package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessageStageListViewWidget.js.map +1 -0
  420. package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessageStageListViewWidget.tsx +15 -0
  421. package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessagesSummarizeListHeaderAction.d.ts +3 -0
  422. package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessagesSummarizeListHeaderAction.d.ts.map +1 -0
  423. package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessagesSummarizeListHeaderAction.js +158 -0
  424. package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessagesSummarizeListHeaderAction.js.map +1 -0
  425. package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessagesSummarizeListHeaderAction.tsx +185 -0
  426. package/dist/components/core/extension/solid-core/mqMessage/ui/MqMessageStageBadge.d.ts +17 -0
  427. package/dist/components/core/extension/solid-core/mqMessage/ui/MqMessageStageBadge.d.ts.map +1 -0
  428. package/dist/components/core/extension/solid-core/mqMessage/ui/MqMessageStageBadge.js +52 -0
  429. package/dist/components/core/extension/solid-core/mqMessage/ui/MqMessageStageBadge.js.map +1 -0
  430. package/dist/components/core/extension/solid-core/mqMessage/ui/MqMessageStageBadge.tsx +83 -0
  431. package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.d.ts.map +1 -1
  432. package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.js +10 -18
  433. package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.js.map +1 -1
  434. package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.tsx +32 -53
  435. package/dist/components/core/field/FieldListViewData.d.ts.map +1 -1
  436. package/dist/components/core/field/FieldListViewData.js +83 -74
  437. package/dist/components/core/field/FieldListViewData.js.map +1 -1
  438. package/dist/components/core/field/FieldListViewData.tsx +120 -168
  439. package/dist/components/core/filter/SEARCH_FILTER_HIERARCHY.md +582 -0
  440. package/dist/components/core/filter/SolidBooleanFilterElement.d.ts +1 -1
  441. package/dist/components/core/filter/SolidBooleanFilterElement.d.ts.map +1 -1
  442. package/dist/components/core/filter/SolidBooleanFilterElement.js +4 -4
  443. package/dist/components/core/filter/SolidBooleanFilterElement.js.map +1 -1
  444. package/dist/components/core/filter/SolidBooleanFilterElement.tsx +7 -6
  445. package/dist/components/core/filter/SolidManyToManyFilterElement.d.ts +1 -1
  446. package/dist/components/core/filter/SolidManyToManyFilterElement.d.ts.map +1 -1
  447. package/dist/components/core/filter/SolidManyToManyFilterElement.js +5 -9
  448. package/dist/components/core/filter/SolidManyToManyFilterElement.js.map +1 -1
  449. package/dist/components/core/filter/SolidManyToManyFilterElement.tsx +8 -7
  450. package/dist/components/core/filter/SolidManyToOneFilterElement.d.ts +1 -1
  451. package/dist/components/core/filter/SolidManyToOneFilterElement.d.ts.map +1 -1
  452. package/dist/components/core/filter/SolidManyToOneFilterElement.js +4 -4
  453. package/dist/components/core/filter/SolidManyToOneFilterElement.js.map +1 -1
  454. package/dist/components/core/filter/SolidManyToOneFilterElement.tsx +7 -6
  455. package/dist/components/core/filter/SolidOneToManyFilterElement.d.ts +1 -1
  456. package/dist/components/core/filter/SolidOneToManyFilterElement.d.ts.map +1 -1
  457. package/dist/components/core/filter/SolidOneToManyFilterElement.js +5 -9
  458. package/dist/components/core/filter/SolidOneToManyFilterElement.js.map +1 -1
  459. package/dist/components/core/filter/SolidOneToManyFilterElement.tsx +8 -7
  460. package/dist/components/core/filter/SolidSelectionDynamicFilterElement.d.ts +1 -1
  461. package/dist/components/core/filter/SolidSelectionDynamicFilterElement.d.ts.map +1 -1
  462. package/dist/components/core/filter/SolidSelectionDynamicFilterElement.js +4 -4
  463. package/dist/components/core/filter/SolidSelectionDynamicFilterElement.js.map +1 -1
  464. package/dist/components/core/filter/SolidSelectionDynamicFilterElement.tsx +7 -6
  465. package/dist/components/core/filter/SolidSelectionStaticFilterElement.d.ts +1 -1
  466. package/dist/components/core/filter/SolidSelectionStaticFilterElement.d.ts.map +1 -1
  467. package/dist/components/core/filter/SolidSelectionStaticFilterElement.js +4 -4
  468. package/dist/components/core/filter/SolidSelectionStaticFilterElement.js.map +1 -1
  469. package/dist/components/core/filter/SolidSelectionStaticFilterElement.tsx +7 -6
  470. package/dist/components/core/filter/SolidVarInputsFilterElement.d.ts +1 -1
  471. package/dist/components/core/filter/SolidVarInputsFilterElement.d.ts.map +1 -1
  472. package/dist/components/core/filter/SolidVarInputsFilterElement.js +109 -38
  473. package/dist/components/core/filter/SolidVarInputsFilterElement.js.map +1 -1
  474. package/dist/components/core/filter/SolidVarInputsFilterElement.tsx +215 -155
  475. package/dist/components/core/filter/fields/SolidBooleanField.js +3 -3
  476. package/dist/components/core/filter/fields/SolidBooleanField.js.map +1 -1
  477. package/dist/components/core/filter/fields/SolidBooleanField.tsx +6 -6
  478. package/dist/components/core/filter/fields/SolidDateField.d.ts.map +1 -1
  479. package/dist/components/core/filter/fields/SolidDateField.js +3 -5
  480. package/dist/components/core/filter/fields/SolidDateField.js.map +1 -1
  481. package/dist/components/core/filter/fields/SolidDateField.tsx +6 -8
  482. package/dist/components/core/filter/fields/SolidDatetimeField.js +3 -3
  483. package/dist/components/core/filter/fields/SolidDatetimeField.js.map +1 -1
  484. package/dist/components/core/filter/fields/SolidDatetimeField.tsx +5 -5
  485. package/dist/components/core/filter/fields/SolidExternalIdField.js +5 -5
  486. package/dist/components/core/filter/fields/SolidExternalIdField.js.map +1 -1
  487. package/dist/components/core/filter/fields/SolidExternalIdField.tsx +8 -8
  488. package/dist/components/core/filter/fields/SolidIdField.d.ts.map +1 -1
  489. package/dist/components/core/filter/fields/SolidIdField.js +11 -4
  490. package/dist/components/core/filter/fields/SolidIdField.js.map +1 -1
  491. package/dist/components/core/filter/fields/SolidIdField.tsx +12 -5
  492. package/dist/components/core/filter/fields/SolidIntField.d.ts.map +1 -1
  493. package/dist/components/core/filter/fields/SolidIntField.js +3 -5
  494. package/dist/components/core/filter/fields/SolidIntField.js.map +1 -1
  495. package/dist/components/core/filter/fields/SolidIntField.tsx +6 -8
  496. package/dist/components/core/filter/fields/SolidMediaMultipleField.d.ts.map +1 -1
  497. package/dist/components/core/filter/fields/SolidMediaMultipleField.js +3 -5
  498. package/dist/components/core/filter/fields/SolidMediaMultipleField.js.map +1 -1
  499. package/dist/components/core/filter/fields/SolidMediaMultipleField.tsx +6 -8
  500. package/dist/components/core/filter/fields/SolidMediaSingleField.d.ts.map +1 -1
  501. package/dist/components/core/filter/fields/SolidMediaSingleField.js +3 -5
  502. package/dist/components/core/filter/fields/SolidMediaSingleField.js.map +1 -1
  503. package/dist/components/core/filter/fields/SolidMediaSingleField.tsx +6 -8
  504. package/dist/components/core/filter/fields/SolidSelectionDynamicField.js +3 -3
  505. package/dist/components/core/filter/fields/SolidSelectionDynamicField.js.map +1 -1
  506. package/dist/components/core/filter/fields/SolidSelectionDynamicField.tsx +5 -5
  507. package/dist/components/core/filter/fields/SolidSelectionStaticField.js +3 -3
  508. package/dist/components/core/filter/fields/SolidSelectionStaticField.js.map +1 -1
  509. package/dist/components/core/filter/fields/SolidSelectionStaticField.tsx +5 -5
  510. package/dist/components/core/filter/fields/SolidShortTextField.d.ts.map +1 -1
  511. package/dist/components/core/filter/fields/SolidShortTextField.js +3 -5
  512. package/dist/components/core/filter/fields/SolidShortTextField.js.map +1 -1
  513. package/dist/components/core/filter/fields/SolidShortTextField.tsx +6 -8
  514. package/dist/components/core/filter/fields/SolidTimeField.js +3 -3
  515. package/dist/components/core/filter/fields/SolidTimeField.js.map +1 -1
  516. package/dist/components/core/filter/fields/SolidTimeField.tsx +5 -5
  517. package/dist/components/core/filter/fields/SolidUuidField.js +5 -5
  518. package/dist/components/core/filter/fields/SolidUuidField.js.map +1 -1
  519. package/dist/components/core/filter/fields/SolidUuidField.tsx +8 -8
  520. package/dist/components/core/filter/fields/relations/SolidRelationManyToManyField.js +2 -2
  521. package/dist/components/core/filter/fields/relations/SolidRelationManyToManyField.js.map +1 -1
  522. package/dist/components/core/filter/fields/relations/SolidRelationManyToManyField.tsx +4 -4
  523. package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.js +3 -3
  524. package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.js.map +1 -1
  525. package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.tsx +5 -5
  526. package/dist/components/core/filter/fields/relations/SolidRelationOneToManyField.js +2 -2
  527. package/dist/components/core/filter/fields/relations/SolidRelationOneToManyField.js.map +1 -1
  528. package/dist/components/core/filter/fields/relations/SolidRelationOneToManyField.tsx +4 -4
  529. package/dist/components/core/filter/filterMatchMode.d.ts +17 -0
  530. package/dist/components/core/filter/filterMatchMode.d.ts.map +1 -0
  531. package/dist/components/core/filter/filterMatchMode.js +16 -0
  532. package/dist/components/core/filter/filterMatchMode.js.map +1 -0
  533. package/dist/components/core/filter/filterMatchMode.ts +18 -0
  534. package/dist/components/core/form/SolidFormActionHeader.d.ts +1 -1
  535. package/dist/components/core/form/SolidFormActionHeader.d.ts.map +1 -1
  536. package/dist/components/core/form/SolidFormActionHeader.js +61 -55
  537. package/dist/components/core/form/SolidFormActionHeader.js.map +1 -1
  538. package/dist/components/core/form/SolidFormActionHeader.tsx +356 -334
  539. package/dist/components/core/form/SolidFormFieldRender.js +2 -2
  540. package/dist/components/core/form/SolidFormFieldRender.js.map +1 -1
  541. package/dist/components/core/form/SolidFormFieldRender.tsx +2 -2
  542. package/dist/components/core/form/SolidFormFooter.d.ts.map +1 -1
  543. package/dist/components/core/form/SolidFormFooter.js +3 -3
  544. package/dist/components/core/form/SolidFormFooter.js.map +1 -1
  545. package/dist/components/core/form/SolidFormFooter.tsx +26 -19
  546. package/dist/components/core/form/SolidFormUserViewLayout.d.ts.map +1 -1
  547. package/dist/components/core/form/SolidFormUserViewLayout.js +3 -6
  548. package/dist/components/core/form/SolidFormUserViewLayout.js.map +1 -1
  549. package/dist/components/core/form/SolidFormUserViewLayout.tsx +9 -13
  550. package/dist/components/core/form/SolidFormView.d.ts +0 -3
  551. package/dist/components/core/form/SolidFormView.d.ts.map +1 -1
  552. package/dist/components/core/form/SolidFormView.js +78 -127
  553. package/dist/components/core/form/SolidFormView.js.map +1 -1
  554. package/dist/components/core/form/SolidFormView.tsx +168 -212
  555. package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.d.ts +3 -1
  556. package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.d.ts.map +1 -1
  557. package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.js +22 -16
  558. package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.js.map +1 -1
  559. package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.tsx +46 -17
  560. package/dist/components/core/form/SolidFormViewNormalHeaderButton.d.ts +3 -1
  561. package/dist/components/core/form/SolidFormViewNormalHeaderButton.d.ts.map +1 -1
  562. package/dist/components/core/form/SolidFormViewNormalHeaderButton.js +32 -15
  563. package/dist/components/core/form/SolidFormViewNormalHeaderButton.js.map +1 -1
  564. package/dist/components/core/form/SolidFormViewNormalHeaderButton.tsx +40 -17
  565. package/dist/components/core/form/SolidFormViewShimmerLoading.d.ts.map +1 -1
  566. package/dist/components/core/form/SolidFormViewShimmerLoading.js +5 -2
  567. package/dist/components/core/form/SolidFormViewShimmerLoading.js.map +1 -1
  568. package/dist/components/core/form/SolidFormViewShimmerLoading.tsx +40 -37
  569. package/dist/components/core/form/fields/SolidBooleanField.d.ts +1 -1
  570. package/dist/components/core/form/fields/SolidBooleanField.d.ts.map +1 -1
  571. package/dist/components/core/form/fields/SolidBooleanField.js +80 -69
  572. package/dist/components/core/form/fields/SolidBooleanField.js.map +1 -1
  573. package/dist/components/core/form/fields/SolidBooleanField.tsx +116 -145
  574. package/dist/components/core/form/fields/SolidDateField.d.ts.map +1 -1
  575. package/dist/components/core/form/fields/SolidDateField.js +22 -49
  576. package/dist/components/core/form/fields/SolidDateField.js.map +1 -1
  577. package/dist/components/core/form/fields/SolidDateField.tsx +30 -72
  578. package/dist/components/core/form/fields/SolidDateTimeField.d.ts.map +1 -1
  579. package/dist/components/core/form/fields/SolidDateTimeField.js +22 -48
  580. package/dist/components/core/form/fields/SolidDateTimeField.js.map +1 -1
  581. package/dist/components/core/form/fields/SolidDateTimeField.tsx +33 -69
  582. package/dist/components/core/form/fields/SolidDecimalField.d.ts +1 -1
  583. package/dist/components/core/form/fields/SolidDecimalField.d.ts.map +1 -1
  584. package/dist/components/core/form/fields/SolidDecimalField.js +17 -17
  585. package/dist/components/core/form/fields/SolidDecimalField.js.map +1 -1
  586. package/dist/components/core/form/fields/SolidDecimalField.tsx +21 -24
  587. package/dist/components/core/form/fields/SolidEmailField.d.ts.map +1 -1
  588. package/dist/components/core/form/fields/SolidEmailField.js +11 -15
  589. package/dist/components/core/form/fields/SolidEmailField.js.map +1 -1
  590. package/dist/components/core/form/fields/SolidEmailField.tsx +27 -33
  591. package/dist/components/core/form/fields/SolidIntegerField.d.ts +1 -1
  592. package/dist/components/core/form/fields/SolidIntegerField.d.ts.map +1 -1
  593. package/dist/components/core/form/fields/SolidIntegerField.js +12 -9
  594. package/dist/components/core/form/fields/SolidIntegerField.js.map +1 -1
  595. package/dist/components/core/form/fields/SolidIntegerField.tsx +23 -24
  596. package/dist/components/core/form/fields/SolidJsonField.d.ts.map +1 -1
  597. package/dist/components/core/form/fields/SolidJsonField.js +15 -10
  598. package/dist/components/core/form/fields/SolidJsonField.js.map +1 -1
  599. package/dist/components/core/form/fields/SolidJsonField.tsx +21 -20
  600. package/dist/components/core/form/fields/SolidLongTextField.d.ts.map +1 -1
  601. package/dist/components/core/form/fields/SolidLongTextField.js +28 -44
  602. package/dist/components/core/form/fields/SolidLongTextField.js.map +1 -1
  603. package/dist/components/core/form/fields/SolidLongTextField.tsx +90 -119
  604. package/dist/components/core/form/fields/SolidMediaMultipleField.d.ts.map +1 -1
  605. package/dist/components/core/form/fields/SolidMediaMultipleField.js +41 -49
  606. package/dist/components/core/form/fields/SolidMediaMultipleField.js.map +1 -1
  607. package/dist/components/core/form/fields/SolidMediaMultipleField.tsx +127 -111
  608. package/dist/components/core/form/fields/SolidMediaSingleField.d.ts.map +1 -1
  609. package/dist/components/core/form/fields/SolidMediaSingleField.js +10 -23
  610. package/dist/components/core/form/fields/SolidMediaSingleField.js.map +1 -1
  611. package/dist/components/core/form/fields/SolidMediaSingleField.tsx +117 -100
  612. package/dist/components/core/form/fields/SolidPasswordField.d.ts.map +1 -1
  613. package/dist/components/core/form/fields/SolidPasswordField.js +29 -32
  614. package/dist/components/core/form/fields/SolidPasswordField.js.map +1 -1
  615. package/dist/components/core/form/fields/SolidPasswordField.tsx +122 -117
  616. package/dist/components/core/form/fields/SolidRichTextField.d.ts.map +1 -1
  617. package/dist/components/core/form/fields/SolidRichTextField.js +6 -8
  618. package/dist/components/core/form/fields/SolidRichTextField.js.map +1 -1
  619. package/dist/components/core/form/fields/SolidRichTextField.tsx +31 -46
  620. package/dist/components/core/form/fields/SolidSelectionDynamicField.d.ts.map +1 -1
  621. package/dist/components/core/form/fields/SolidSelectionDynamicField.js +36 -24
  622. package/dist/components/core/form/fields/SolidSelectionDynamicField.js.map +1 -1
  623. package/dist/components/core/form/fields/SolidSelectionDynamicField.tsx +56 -61
  624. package/dist/components/core/form/fields/SolidSelectionStaticField.d.ts.map +1 -1
  625. package/dist/components/core/form/fields/SolidSelectionStaticField.js +60 -74
  626. package/dist/components/core/form/fields/SolidSelectionStaticField.js.map +1 -1
  627. package/dist/components/core/form/fields/SolidSelectionStaticField.tsx +99 -167
  628. package/dist/components/core/form/fields/SolidShortTextField.d.ts.map +1 -1
  629. package/dist/components/core/form/fields/SolidShortTextField.js +23 -36
  630. package/dist/components/core/form/fields/SolidShortTextField.js.map +1 -1
  631. package/dist/components/core/form/fields/SolidShortTextField.tsx +54 -119
  632. package/dist/components/core/form/fields/SolidTimeField.d.ts.map +1 -1
  633. package/dist/components/core/form/fields/SolidTimeField.js +14 -14
  634. package/dist/components/core/form/fields/SolidTimeField.js.map +1 -1
  635. package/dist/components/core/form/fields/SolidTimeField.tsx +23 -26
  636. package/dist/components/core/form/fields/fieldEventUtils.d.ts +10 -0
  637. package/dist/components/core/form/fields/fieldEventUtils.d.ts.map +1 -0
  638. package/dist/components/core/form/fields/fieldEventUtils.js +11 -0
  639. package/dist/components/core/form/fields/fieldEventUtils.js.map +1 -0
  640. package/dist/components/core/form/fields/fieldEventUtils.ts +24 -0
  641. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.d.ts.map +1 -1
  642. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js +31 -28
  643. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js.map +1 -1
  644. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +105 -103
  645. package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.d.ts.map +1 -1
  646. package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js +38 -30
  647. package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js.map +1 -1
  648. package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +55 -40
  649. package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.d.ts.map +1 -1
  650. package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js +17 -19
  651. package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js.map +1 -1
  652. package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +40 -29
  653. package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.d.ts.map +1 -1
  654. package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.js +5 -8
  655. package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.js.map +1 -1
  656. package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.tsx +20 -13
  657. package/dist/components/core/form/fields/solidFields.module.css +263 -1
  658. package/dist/components/core/form/fields/widgets/SolidAiInteractionMetadataFieldFormWidget.d.ts.map +1 -1
  659. package/dist/components/core/form/fields/widgets/SolidAiInteractionMetadataFieldFormWidget.js +76 -56
  660. package/dist/components/core/form/fields/widgets/SolidAiInteractionMetadataFieldFormWidget.js.map +1 -1
  661. package/dist/components/core/form/fields/widgets/SolidAiInteractionMetadataFieldFormWidget.tsx +106 -120
  662. package/dist/components/core/form/fields/widgets/SolidChatterMessageCoModelEntityIdFormViewWidget.d.ts +3 -0
  663. package/dist/components/core/form/fields/widgets/SolidChatterMessageCoModelEntityIdFormViewWidget.d.ts.map +1 -0
  664. package/dist/components/core/form/fields/widgets/SolidChatterMessageCoModelEntityIdFormViewWidget.js +92 -0
  665. package/dist/components/core/form/fields/widgets/SolidChatterMessageCoModelEntityIdFormViewWidget.js.map +1 -0
  666. package/dist/components/core/form/fields/widgets/SolidChatterMessageCoModelEntityIdFormViewWidget.tsx +68 -0
  667. package/dist/components/core/form/fields/widgets/SolidIconEditWidget.d.ts.map +1 -1
  668. package/dist/components/core/form/fields/widgets/SolidIconEditWidget.js +21 -31
  669. package/dist/components/core/form/fields/widgets/SolidIconEditWidget.js.map +1 -1
  670. package/dist/components/core/form/fields/widgets/SolidIconEditWidget.tsx +62 -58
  671. package/dist/components/core/form/fields/widgets/SolidLovTypeChangeFormEditWidget.d.ts +3 -0
  672. package/dist/components/core/form/fields/widgets/SolidLovTypeChangeFormEditWidget.d.ts.map +1 -0
  673. package/dist/components/core/form/fields/widgets/SolidLovTypeChangeFormEditWidget.js +111 -0
  674. package/dist/components/core/form/fields/widgets/SolidLovTypeChangeFormEditWidget.js.map +1 -0
  675. package/dist/components/core/form/fields/widgets/SolidLovTypeChangeFormEditWidget.tsx +122 -0
  676. package/dist/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.d.ts.map +1 -1
  677. package/dist/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.js.map +1 -1
  678. package/dist/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.tsx +0 -5
  679. package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.d.ts.map +1 -1
  680. package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.js +9 -8
  681. package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.js.map +1 -1
  682. package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.tsx +43 -33
  683. package/dist/components/core/form/fields/widgets/SolidShortTextFieldAvatarWidget.d.ts.map +1 -1
  684. package/dist/components/core/form/fields/widgets/SolidShortTextFieldAvatarWidget.js.map +1 -1
  685. package/dist/components/core/form/fields/widgets/SolidShortTextFieldAvatarWidget.tsx +1 -6
  686. package/dist/components/core/kanban/KanbanBoard.d.ts +1 -1
  687. package/dist/components/core/kanban/KanbanBoard.d.ts.map +1 -1
  688. package/dist/components/core/kanban/KanbanBoard.js +44 -8
  689. package/dist/components/core/kanban/KanbanBoard.js.map +1 -1
  690. package/dist/components/core/kanban/KanbanBoard.tsx +63 -9
  691. package/dist/components/core/kanban/KanbanCard.d.ts +8 -0
  692. package/dist/components/core/kanban/KanbanCard.d.ts.map +1 -1
  693. package/dist/components/core/kanban/KanbanCard.js +22 -162
  694. package/dist/components/core/kanban/KanbanCard.js.map +1 -1
  695. package/dist/components/core/kanban/KanbanCard.tsx +67 -224
  696. package/dist/components/core/kanban/KanbanColumn.d.ts +4 -2
  697. package/dist/components/core/kanban/KanbanColumn.d.ts.map +1 -1
  698. package/dist/components/core/kanban/KanbanColumn.js +8 -14
  699. package/dist/components/core/kanban/KanbanColumn.js.map +1 -1
  700. package/dist/components/core/kanban/KanbanColumn.tsx +60 -80
  701. package/dist/components/core/kanban/KanbanUserViewLayout.d.ts.map +1 -1
  702. package/dist/components/core/kanban/KanbanUserViewLayout.js +4 -7
  703. package/dist/components/core/kanban/KanbanUserViewLayout.js.map +1 -1
  704. package/dist/components/core/kanban/KanbanUserViewLayout.tsx +15 -16
  705. package/dist/components/core/kanban/SolidKanbanView.d.ts +0 -2
  706. package/dist/components/core/kanban/SolidKanbanView.d.ts.map +1 -1
  707. package/dist/components/core/kanban/SolidKanbanView.js +121 -74
  708. package/dist/components/core/kanban/SolidKanbanView.js.map +1 -1
  709. package/dist/components/core/kanban/SolidKanbanView.tsx +221 -139
  710. package/dist/components/core/kanban/SolidKanbanViewConfigure.d.ts +1 -1
  711. package/dist/components/core/kanban/SolidKanbanViewConfigure.d.ts.map +1 -1
  712. package/dist/components/core/kanban/SolidKanbanViewConfigure.js +111 -52
  713. package/dist/components/core/kanban/SolidKanbanViewConfigure.js.map +1 -1
  714. package/dist/components/core/kanban/SolidKanbanViewConfigure.tsx +239 -122
  715. package/dist/components/core/kanban/SolidManyToOneFilterElement.d.ts.map +1 -1
  716. package/dist/components/core/kanban/SolidManyToOneFilterElement.js.map +1 -1
  717. package/dist/components/core/kanban/SolidManyToOneFilterElement.tsx +1 -2
  718. package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.d.ts.map +1 -1
  719. package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.js +2 -2
  720. package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.js.map +1 -1
  721. package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.tsx +21 -10
  722. package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.d.ts.map +1 -1
  723. package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.js +2 -2
  724. package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.js.map +1 -1
  725. package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.tsx +18 -10
  726. package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.d.ts.map +1 -1
  727. package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.js +3 -6
  728. package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.js.map +1 -1
  729. package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.tsx +30 -24
  730. package/dist/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.js.map +1 -1
  731. package/dist/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.tsx +2 -2
  732. package/dist/components/core/list/ListViewRowActionPopup.d.ts.map +1 -1
  733. package/dist/components/core/list/ListViewRowActionPopup.js +3 -2
  734. package/dist/components/core/list/ListViewRowActionPopup.js.map +1 -1
  735. package/dist/components/core/list/ListViewRowActionPopup.tsx +8 -5
  736. package/dist/components/core/list/PLAN.md +22 -2
  737. package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.d.ts +1 -1
  738. package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.d.ts.map +1 -1
  739. package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.js +3 -8
  740. package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.js.map +1 -1
  741. package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.tsx +19 -24
  742. package/dist/components/core/list/SolidDataTable.d.ts +1 -0
  743. package/dist/components/core/list/SolidDataTable.d.ts.map +1 -1
  744. package/dist/components/core/list/SolidDataTable.js +26 -6
  745. package/dist/components/core/list/SolidDataTable.js.map +1 -1
  746. package/dist/components/core/list/SolidDataTable.tsx +38 -7
  747. package/dist/components/core/list/SolidDataTablePagination.d.ts +15 -0
  748. package/dist/components/core/list/SolidDataTablePagination.d.ts.map +1 -0
  749. package/dist/components/core/list/SolidDataTablePagination.js +22 -0
  750. package/dist/components/core/list/SolidDataTablePagination.js.map +1 -0
  751. package/dist/components/core/list/SolidDataTablePagination.tsx +71 -0
  752. package/dist/components/core/list/SolidEmptyListViewPlaceholder.d.ts +1 -1
  753. package/dist/components/core/list/SolidEmptyListViewPlaceholder.d.ts.map +1 -1
  754. package/dist/components/core/list/SolidEmptyListViewPlaceholder.js +51 -30
  755. package/dist/components/core/list/SolidEmptyListViewPlaceholder.js.map +1 -1
  756. package/dist/components/core/list/SolidEmptyListViewPlaceholder.tsx +122 -90
  757. package/dist/components/core/list/SolidListView.d.ts +5 -12
  758. package/dist/components/core/list/SolidListView.d.ts.map +1 -1
  759. package/dist/components/core/list/SolidListView.js +363 -426
  760. package/dist/components/core/list/SolidListView.js.map +1 -1
  761. package/dist/components/core/list/SolidListView.tsx +714 -899
  762. package/dist/components/core/list/SolidListViewConfigure.d.ts.map +1 -1
  763. package/dist/components/core/list/SolidListViewConfigure.js +50 -61
  764. package/dist/components/core/list/SolidListViewConfigure.js.map +1 -1
  765. package/dist/components/core/list/SolidListViewConfigure.tsx +237 -215
  766. package/dist/components/core/list/SolidListViewHeaderButton.d.ts.map +1 -1
  767. package/dist/components/core/list/SolidListViewHeaderButton.js +6 -5
  768. package/dist/components/core/list/SolidListViewHeaderButton.js.map +1 -1
  769. package/dist/components/core/list/SolidListViewHeaderButton.tsx +9 -7
  770. package/dist/components/core/list/SolidListViewHeaderContextMenuButton.d.ts +1 -1
  771. package/dist/components/core/list/SolidListViewHeaderContextMenuButton.d.ts.map +1 -1
  772. package/dist/components/core/list/SolidListViewHeaderContextMenuButton.js +12 -7
  773. package/dist/components/core/list/SolidListViewHeaderContextMenuButton.js.map +1 -1
  774. package/dist/components/core/list/SolidListViewHeaderContextMenuButton.tsx +15 -13
  775. package/dist/components/core/list/SolidListViewRowActionMenuItem.d.ts +2 -0
  776. package/dist/components/core/list/SolidListViewRowActionMenuItem.d.ts.map +1 -0
  777. package/dist/components/core/list/SolidListViewRowActionMenuItem.js +42 -0
  778. package/dist/components/core/list/SolidListViewRowActionMenuItem.js.map +1 -0
  779. package/dist/components/core/list/SolidListViewRowActionMenuItem.tsx +43 -0
  780. package/dist/components/core/list/SolidListViewRowActionsMenu.d.ts +2 -0
  781. package/dist/components/core/list/SolidListViewRowActionsMenu.d.ts.map +1 -0
  782. package/dist/components/core/list/SolidListViewRowActionsMenu.js +32 -0
  783. package/dist/components/core/list/SolidListViewRowActionsMenu.js.map +1 -0
  784. package/dist/components/core/list/SolidListViewRowActionsMenu.tsx +106 -0
  785. package/dist/components/core/list/SolidListViewRowButtonContextMenu.d.ts +1 -1
  786. package/dist/components/core/list/SolidListViewRowButtonContextMenu.d.ts.map +1 -1
  787. package/dist/components/core/list/SolidListViewRowButtonContextMenu.js +6 -7
  788. package/dist/components/core/list/SolidListViewRowButtonContextMenu.js.map +1 -1
  789. package/dist/components/core/list/SolidListViewRowButtonContextMenu.tsx +9 -10
  790. package/dist/components/core/list/SolidListViewShimmerLoading.d.ts.map +1 -1
  791. package/dist/components/core/list/SolidListViewShimmerLoading.js +3 -4
  792. package/dist/components/core/list/SolidListViewShimmerLoading.js.map +1 -1
  793. package/dist/components/core/list/SolidListViewShimmerLoading.tsx +4 -72
  794. package/dist/components/core/list/SolidListViewWrapper.module.css +82 -41
  795. package/dist/components/core/list/SolidManyToOneFilterElement.d.ts.map +1 -1
  796. package/dist/components/core/list/SolidManyToOneFilterElement.js +2 -2
  797. package/dist/components/core/list/SolidManyToOneFilterElement.js.map +1 -1
  798. package/dist/components/core/list/SolidManyToOneFilterElement.tsx +5 -5
  799. package/dist/components/core/list/SolidSelectionDynamicFilterElement.d.ts.map +1 -1
  800. package/dist/components/core/list/SolidSelectionDynamicFilterElement.js +2 -2
  801. package/dist/components/core/list/SolidSelectionDynamicFilterElement.js.map +1 -1
  802. package/dist/components/core/list/SolidSelectionDynamicFilterElement.tsx +5 -4
  803. package/dist/components/core/list/SolidSelectionStaticFilterElement.d.ts.map +1 -1
  804. package/dist/components/core/list/SolidSelectionStaticFilterElement.js +2 -2
  805. package/dist/components/core/list/SolidSelectionStaticFilterElement.js.map +1 -1
  806. package/dist/components/core/list/SolidSelectionStaticFilterElement.tsx +5 -4
  807. package/dist/components/core/list/SolidTableRowCell.d.ts.map +1 -1
  808. package/dist/components/core/list/SolidTableRowCell.js +4 -3
  809. package/dist/components/core/list/SolidTableRowCell.js.map +1 -1
  810. package/dist/components/core/list/SolidTableRowCell.tsx +11 -8
  811. package/dist/components/core/list/columns/SolidBooleanColumn.js +2 -2
  812. package/dist/components/core/list/columns/SolidBooleanColumn.js.map +1 -1
  813. package/dist/components/core/list/columns/SolidBooleanColumn.tsx +2 -2
  814. package/dist/components/core/list/columns/SolidDateColumn.js +1 -1
  815. package/dist/components/core/list/columns/SolidDateColumn.js.map +1 -1
  816. package/dist/components/core/list/columns/SolidDateColumn.tsx +1 -1
  817. package/dist/components/core/list/columns/SolidDatetimeColumn.js +1 -1
  818. package/dist/components/core/list/columns/SolidDatetimeColumn.js.map +1 -1
  819. package/dist/components/core/list/columns/SolidDatetimeColumn.tsx +1 -1
  820. package/dist/components/core/list/columns/SolidExternalIdColumn.js +1 -1
  821. package/dist/components/core/list/columns/SolidExternalIdColumn.js.map +1 -1
  822. package/dist/components/core/list/columns/SolidExternalIdColumn.tsx +1 -1
  823. package/dist/components/core/list/columns/SolidIdColumn.js +2 -2
  824. package/dist/components/core/list/columns/SolidIdColumn.js.map +1 -1
  825. package/dist/components/core/list/columns/SolidIdColumn.tsx +3 -3
  826. package/dist/components/core/list/columns/SolidIntColumn.d.ts.map +1 -1
  827. package/dist/components/core/list/columns/SolidIntColumn.js +2 -2
  828. package/dist/components/core/list/columns/SolidIntColumn.js.map +1 -1
  829. package/dist/components/core/list/columns/SolidIntColumn.tsx +4 -2
  830. package/dist/components/core/list/columns/SolidMediaMultipleColumn.d.ts.map +1 -1
  831. package/dist/components/core/list/columns/SolidMediaMultipleColumn.js +7 -10
  832. package/dist/components/core/list/columns/SolidMediaMultipleColumn.js.map +1 -1
  833. package/dist/components/core/list/columns/SolidMediaMultipleColumn.tsx +13 -18
  834. package/dist/components/core/list/columns/SolidMediaSingleColumn.d.ts.map +1 -1
  835. package/dist/components/core/list/columns/SolidMediaSingleColumn.js +4 -4
  836. package/dist/components/core/list/columns/SolidMediaSingleColumn.js.map +1 -1
  837. package/dist/components/core/list/columns/SolidMediaSingleColumn.tsx +4 -4
  838. package/dist/components/core/list/columns/SolidSelectionDynamicColumn.js +1 -1
  839. package/dist/components/core/list/columns/SolidSelectionDynamicColumn.js.map +1 -1
  840. package/dist/components/core/list/columns/SolidSelectionDynamicColumn.tsx +1 -1
  841. package/dist/components/core/list/columns/SolidSelectionStaticColumn.js +1 -1
  842. package/dist/components/core/list/columns/SolidSelectionStaticColumn.js.map +1 -1
  843. package/dist/components/core/list/columns/SolidSelectionStaticColumn.tsx +1 -1
  844. package/dist/components/core/list/columns/SolidShortTextColumn.js +1 -1
  845. package/dist/components/core/list/columns/SolidShortTextColumn.js.map +1 -1
  846. package/dist/components/core/list/columns/SolidShortTextColumn.tsx +1 -1
  847. package/dist/components/core/list/columns/SolidTimeColumn.js +1 -1
  848. package/dist/components/core/list/columns/SolidTimeColumn.js.map +1 -1
  849. package/dist/components/core/list/columns/SolidTimeColumn.tsx +1 -1
  850. package/dist/components/core/list/columns/SolidUuidColumn.js +1 -1
  851. package/dist/components/core/list/columns/SolidUuidColumn.js.map +1 -1
  852. package/dist/components/core/list/columns/SolidUuidColumn.tsx +1 -1
  853. package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.js +1 -1
  854. package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.js.map +1 -1
  855. package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.tsx +1 -1
  856. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.d.ts.map +1 -1
  857. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js +5 -7
  858. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js.map +1 -1
  859. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +9 -11
  860. package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.js +1 -1
  861. package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.js.map +1 -1
  862. package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.tsx +1 -1
  863. package/dist/components/core/list/widgets/SolidChatterMessageCoModelEntityIdListViewWidget.d.ts +3 -0
  864. package/dist/components/core/list/widgets/SolidChatterMessageCoModelEntityIdListViewWidget.d.ts.map +1 -0
  865. package/dist/components/core/list/widgets/SolidChatterMessageCoModelEntityIdListViewWidget.js +87 -0
  866. package/dist/components/core/list/widgets/SolidChatterMessageCoModelEntityIdListViewWidget.js.map +1 -0
  867. package/dist/components/core/list/widgets/SolidChatterMessageCoModelEntityIdListViewWidget.tsx +70 -0
  868. package/dist/components/core/list/widgets/SolidMqMessageStageListViewWidget.d.ts +3 -0
  869. package/dist/components/core/list/widgets/SolidMqMessageStageListViewWidget.d.ts.map +1 -0
  870. package/dist/components/core/list/widgets/SolidMqMessageStageListViewWidget.js +33 -0
  871. package/dist/components/core/list/widgets/SolidMqMessageStageListViewWidget.js.map +1 -0
  872. package/dist/components/core/list/widgets/SolidMqMessageStageListViewWidget.tsx +50 -0
  873. package/dist/components/core/list/widgets/SolidSummarizeListHeaderActionMqMessages.d.ts +3 -0
  874. package/dist/components/core/list/widgets/SolidSummarizeListHeaderActionMqMessages.d.ts.map +1 -0
  875. package/dist/components/core/list/widgets/SolidSummarizeListHeaderActionMqMessages.js +158 -0
  876. package/dist/components/core/list/widgets/SolidSummarizeListHeaderActionMqMessages.js.map +1 -0
  877. package/dist/components/core/list/widgets/SolidSummarizeListHeaderActionMqMessages.tsx +185 -0
  878. package/dist/components/core/locales/SolidChatterLocaleTabView.d.ts.map +1 -1
  879. package/dist/components/core/locales/SolidChatterLocaleTabView.js +56 -7
  880. package/dist/components/core/locales/SolidChatterLocaleTabView.js.map +1 -1
  881. package/dist/components/core/locales/SolidChatterLocaleTabView.tsx +97 -42
  882. package/dist/components/core/locales/SolidLocale.d.ts.map +1 -1
  883. package/dist/components/core/locales/SolidLocale.js +6 -10
  884. package/dist/components/core/locales/SolidLocale.js.map +1 -1
  885. package/dist/components/core/locales/SolidLocale.tsx +23 -29
  886. package/dist/components/core/locales/solid-locale.css +142 -23
  887. package/dist/components/core/model/CreateModel.d.ts.map +1 -1
  888. package/dist/components/core/model/CreateModel.js +58 -63
  889. package/dist/components/core/model/CreateModel.js.map +1 -1
  890. package/dist/components/core/model/CreateModel.tsx +179 -213
  891. package/dist/components/core/model/FieldMetaData.d.ts.map +1 -1
  892. package/dist/components/core/model/FieldMetaData.js +29 -40
  893. package/dist/components/core/model/FieldMetaData.js.map +1 -1
  894. package/dist/components/core/model/FieldMetaData.tsx +154 -103
  895. package/dist/components/core/model/FieldMetaDataForm.d.ts.map +1 -1
  896. package/dist/components/core/model/FieldMetaDataForm.js +521 -270
  897. package/dist/components/core/model/FieldMetaDataForm.js.map +1 -1
  898. package/dist/components/core/model/FieldMetaDataForm.tsx +1142 -956
  899. package/dist/components/core/model/FieldSelector.d.ts +5 -1
  900. package/dist/components/core/model/FieldSelector.d.ts.map +1 -1
  901. package/dist/components/core/model/FieldSelector.js +52 -30
  902. package/dist/components/core/model/FieldSelector.js.map +1 -1
  903. package/dist/components/core/model/FieldSelector.tsx +119 -57
  904. package/dist/components/core/model/ModelListViewData.d.ts.map +1 -1
  905. package/dist/components/core/model/ModelListViewData.js +110 -91
  906. package/dist/components/core/model/ModelListViewData.js.map +1 -1
  907. package/dist/components/core/model/ModelListViewData.tsx +172 -220
  908. package/dist/components/core/model/ModelMetaData.d.ts.map +1 -1
  909. package/dist/components/core/model/ModelMetaData.js +105 -61
  910. package/dist/components/core/model/ModelMetaData.js.map +1 -1
  911. package/dist/components/core/model/ModelMetaData.tsx +277 -457
  912. package/dist/components/core/module/CreateModule.d.ts +1 -1
  913. package/dist/components/core/module/CreateModule.d.ts.map +1 -1
  914. package/dist/components/core/module/CreateModule.js +33 -54
  915. package/dist/components/core/module/CreateModule.js.map +1 -1
  916. package/dist/components/core/module/CreateModule.tsx +273 -299
  917. package/dist/components/core/module/ModuleListViewData.d.ts.map +1 -1
  918. package/dist/components/core/module/ModuleListViewData.js +104 -135
  919. package/dist/components/core/module/ModuleListViewData.js.map +1 -1
  920. package/dist/components/core/module/ModuleListViewData.tsx +172 -278
  921. package/dist/components/core/solid-ai/SolidAiChat.d.ts.map +1 -1
  922. package/dist/components/core/solid-ai/SolidAiChat.js +25 -20
  923. package/dist/components/core/solid-ai/SolidAiChat.js.map +1 -1
  924. package/dist/components/core/solid-ai/SolidAiChat.tsx +80 -31
  925. package/dist/components/core/solid-ai/SolidAiMainWrapper.d.ts.map +1 -1
  926. package/dist/components/core/solid-ai/SolidAiMainWrapper.js +5 -2
  927. package/dist/components/core/solid-ai/SolidAiMainWrapper.js.map +1 -1
  928. package/dist/components/core/solid-ai/SolidAiMainWrapper.tsx +7 -2
  929. package/dist/components/core/tree/SolidTreeTable.d.ts +73 -0
  930. package/dist/components/core/tree/SolidTreeTable.d.ts.map +1 -0
  931. package/dist/components/core/tree/SolidTreeTable.js +275 -0
  932. package/dist/components/core/tree/SolidTreeTable.js.map +1 -0
  933. package/dist/components/core/tree/SolidTreeTable.tsx +522 -0
  934. package/dist/components/core/tree/SolidTreeView.d.ts.map +1 -1
  935. package/dist/components/core/tree/SolidTreeView.js +266 -244
  936. package/dist/components/core/tree/SolidTreeView.js.map +1 -1
  937. package/dist/components/core/tree/SolidTreeView.tsx +606 -625
  938. package/dist/components/core/users/ApiKeysTab/ApiKeysTab.css +38 -0
  939. package/dist/components/core/users/ApiKeysTab/ApiKeysTab.d.ts +8 -0
  940. package/dist/components/core/users/ApiKeysTab/ApiKeysTab.d.ts.map +1 -0
  941. package/dist/components/core/users/ApiKeysTab/ApiKeysTab.js +139 -0
  942. package/dist/components/core/users/ApiKeysTab/ApiKeysTab.js.map +1 -0
  943. package/dist/components/core/users/ApiKeysTab/ApiKeysTab.tsx +256 -0
  944. package/dist/components/core/users/ApiKeysTab/GenerateApiKeyModal.d.ts +9 -0
  945. package/dist/components/core/users/ApiKeysTab/GenerateApiKeyModal.d.ts.map +1 -0
  946. package/dist/components/core/users/ApiKeysTab/GenerateApiKeyModal.js +157 -0
  947. package/dist/components/core/users/ApiKeysTab/GenerateApiKeyModal.js.map +1 -0
  948. package/dist/components/core/users/ApiKeysTab/GenerateApiKeyModal.tsx +183 -0
  949. package/dist/components/core/users/ApiKeysTab/RevealApiKeyModal.d.ts +9 -0
  950. package/dist/components/core/users/ApiKeysTab/RevealApiKeyModal.d.ts.map +1 -0
  951. package/dist/components/core/users/ApiKeysTab/RevealApiKeyModal.js +37 -0
  952. package/dist/components/core/users/ApiKeysTab/RevealApiKeyModal.js.map +1 -0
  953. package/dist/components/core/users/ApiKeysTab/RevealApiKeyModal.tsx +111 -0
  954. package/dist/components/core/users/ApiKeysTab/index.d.ts +4 -0
  955. package/dist/components/core/users/ApiKeysTab/index.d.ts.map +1 -0
  956. package/dist/components/core/users/ApiKeysTab/index.js +4 -0
  957. package/dist/components/core/users/ApiKeysTab/index.js.map +1 -0
  958. package/dist/components/core/users/ApiKeysTab/index.ts +3 -0
  959. package/dist/components/core/users/CreateUser.d.ts.map +1 -1
  960. package/dist/components/core/users/CreateUser.js +147 -155
  961. package/dist/components/core/users/CreateUser.js.map +1 -1
  962. package/dist/components/core/users/CreateUser.tsx +396 -370
  963. package/dist/components/core/users/CreateUserRole.d.ts.map +1 -1
  964. package/dist/components/core/users/CreateUserRole.js +14 -21
  965. package/dist/components/core/users/CreateUserRole.js.map +1 -1
  966. package/dist/components/core/users/CreateUserRole.tsx +16 -33
  967. package/dist/components/core/users/UserListView.d.ts.map +1 -1
  968. package/dist/components/core/users/UserListView.js +95 -92
  969. package/dist/components/core/users/UserListView.js.map +1 -1
  970. package/dist/components/core/users/UserListView.tsx +286 -330
  971. package/dist/components/layout/AdminLayout.d.ts.map +1 -1
  972. package/dist/components/layout/AdminLayout.js +4 -12
  973. package/dist/components/layout/AdminLayout.js.map +1 -1
  974. package/dist/components/layout/AdminLayout.tsx +22 -31
  975. package/dist/components/layout/AppConfig.d.ts +2 -2
  976. package/dist/components/layout/AppConfig.d.ts.map +1 -1
  977. package/dist/components/layout/AppConfig.js +9 -47
  978. package/dist/components/layout/AppConfig.js.map +1 -1
  979. package/dist/components/layout/AppConfig.tsx +10 -98
  980. package/dist/components/layout/AppSidebar.d.ts.map +1 -1
  981. package/dist/components/layout/AppSidebar.js +215 -84
  982. package/dist/components/layout/AppSidebar.js.map +1 -1
  983. package/dist/components/layout/AppSidebar.tsx +357 -163
  984. package/dist/components/layout/DashboardHeader.d.ts.map +1 -1
  985. package/dist/components/layout/DashboardHeader.js +11 -17
  986. package/dist/components/layout/DashboardHeader.js.map +1 -1
  987. package/dist/components/layout/DashboardHeader.tsx +40 -35
  988. package/dist/components/layout/FilterMenu.d.ts.map +1 -1
  989. package/dist/components/layout/FilterMenu.js +4 -7
  990. package/dist/components/layout/FilterMenu.js.map +1 -1
  991. package/dist/components/layout/FilterMenu.tsx +22 -20
  992. package/dist/components/layout/GlobalSearch.d.ts.map +1 -1
  993. package/dist/components/layout/GlobalSearch.js +2 -6
  994. package/dist/components/layout/GlobalSearch.js.map +1 -1
  995. package/dist/components/layout/GlobalSearch.tsx +7 -13
  996. package/dist/components/layout/Layout.d.ts.map +1 -1
  997. package/dist/components/layout/Layout.js +11 -130
  998. package/dist/components/layout/Layout.js.map +1 -1
  999. package/dist/components/layout/Layout.tsx +18 -161
  1000. package/dist/components/layout/ListingHeader.d.ts.map +1 -1
  1001. package/dist/components/layout/ListingHeader.js +4 -8
  1002. package/dist/components/layout/ListingHeader.js.map +1 -1
  1003. package/dist/components/layout/ListingHeader.tsx +3 -9
  1004. package/dist/components/layout/SolidAiStudioLayout.d.ts.map +1 -1
  1005. package/dist/components/layout/SolidAiStudioLayout.js +130 -64
  1006. package/dist/components/layout/SolidAiStudioLayout.js.map +1 -1
  1007. package/dist/components/layout/SolidAiStudioLayout.tsx +141 -189
  1008. package/dist/components/layout/UserSidebar.d.ts.map +1 -1
  1009. package/dist/components/layout/UserSidebar.js +5 -4
  1010. package/dist/components/layout/UserSidebar.js.map +1 -1
  1011. package/dist/components/layout/UserSidebar.tsx +6 -5
  1012. package/dist/components/layout/context/layoutcontext.d.ts.map +1 -1
  1013. package/dist/components/layout/context/layoutcontext.js +31 -6
  1014. package/dist/components/layout/context/layoutcontext.js.map +1 -1
  1015. package/dist/components/layout/context/layoutcontext.tsx +31 -2
  1016. package/dist/components/layout/navbar-one.d.ts.map +1 -1
  1017. package/dist/components/layout/navbar-one.js +3 -8
  1018. package/dist/components/layout/navbar-one.js.map +1 -1
  1019. package/dist/components/layout/navbar-one.tsx +24 -15
  1020. package/dist/components/layout/navbar-two-menu.d.ts.map +1 -1
  1021. package/dist/components/layout/navbar-two-menu.js +16 -2
  1022. package/dist/components/layout/navbar-two-menu.js.map +1 -1
  1023. package/dist/components/layout/navbar-two-menu.tsx +50 -13
  1024. package/dist/components/layout/user-profile-menu.d.ts.map +1 -1
  1025. package/dist/components/layout/user-profile-menu.js +74 -59
  1026. package/dist/components/layout/user-profile-menu.js.map +1 -1
  1027. package/dist/components/layout/user-profile-menu.tsx +206 -143
  1028. package/dist/components/shad-cn-ui/SolidAccordion.d.ts +7 -0
  1029. package/dist/components/shad-cn-ui/SolidAccordion.d.ts.map +1 -0
  1030. package/dist/components/shad-cn-ui/SolidAccordion.js +47 -0
  1031. package/dist/components/shad-cn-ui/SolidAccordion.js.map +1 -0
  1032. package/dist/components/shad-cn-ui/SolidAccordion.tsx +41 -0
  1033. package/dist/components/shad-cn-ui/SolidAutocomplete.d.ts +12 -1
  1034. package/dist/components/shad-cn-ui/SolidAutocomplete.d.ts.map +1 -1
  1035. package/dist/components/shad-cn-ui/SolidAutocomplete.js +31 -15
  1036. package/dist/components/shad-cn-ui/SolidAutocomplete.js.map +1 -1
  1037. package/dist/components/shad-cn-ui/SolidAutocomplete.tsx +60 -24
  1038. package/dist/components/shad-cn-ui/SolidButton.d.ts +10 -2
  1039. package/dist/components/shad-cn-ui/SolidButton.d.ts.map +1 -1
  1040. package/dist/components/shad-cn-ui/SolidButton.js +18 -2
  1041. package/dist/components/shad-cn-ui/SolidButton.js.map +1 -1
  1042. package/dist/components/shad-cn-ui/SolidButton.tsx +54 -8
  1043. package/dist/components/shad-cn-ui/SolidCheckbox.d.ts +7 -0
  1044. package/dist/components/shad-cn-ui/SolidCheckbox.d.ts.map +1 -0
  1045. package/dist/components/shad-cn-ui/SolidCheckbox.js +35 -0
  1046. package/dist/components/shad-cn-ui/SolidCheckbox.js.map +1 -0
  1047. package/dist/components/shad-cn-ui/SolidCheckbox.tsx +19 -0
  1048. package/dist/components/shad-cn-ui/SolidCodeEditor.d.ts +12 -0
  1049. package/dist/components/shad-cn-ui/SolidCodeEditor.d.ts.map +1 -0
  1050. package/dist/components/shad-cn-ui/SolidCodeEditor.js +19 -0
  1051. package/dist/components/shad-cn-ui/SolidCodeEditor.js.map +1 -0
  1052. package/dist/components/shad-cn-ui/SolidCodeEditor.tsx +48 -0
  1053. package/dist/components/shad-cn-ui/SolidConfirmDialog.d.ts +14 -0
  1054. package/dist/components/shad-cn-ui/SolidConfirmDialog.d.ts.map +1 -0
  1055. package/dist/components/shad-cn-ui/SolidConfirmDialog.js +8 -0
  1056. package/dist/components/shad-cn-ui/SolidConfirmDialog.js.map +1 -0
  1057. package/dist/components/shad-cn-ui/SolidConfirmDialog.tsx +50 -0
  1058. package/dist/components/shad-cn-ui/SolidDatePicker.d.ts +10 -0
  1059. package/dist/components/shad-cn-ui/SolidDatePicker.d.ts.map +1 -0
  1060. package/dist/components/shad-cn-ui/SolidDatePicker.js +66 -0
  1061. package/dist/components/shad-cn-ui/SolidDatePicker.js.map +1 -0
  1062. package/dist/components/shad-cn-ui/SolidDatePicker.tsx +72 -0
  1063. package/dist/components/shad-cn-ui/SolidDialog.d.ts +41 -0
  1064. package/dist/components/shad-cn-ui/SolidDialog.d.ts.map +1 -0
  1065. package/dist/components/shad-cn-ui/SolidDialog.js +61 -0
  1066. package/dist/components/shad-cn-ui/SolidDialog.js.map +1 -0
  1067. package/dist/components/shad-cn-ui/SolidDialog.tsx +141 -0
  1068. package/dist/components/shad-cn-ui/SolidDivider.d.ts +4 -0
  1069. package/dist/components/shad-cn-ui/SolidDivider.d.ts.map +1 -0
  1070. package/dist/components/shad-cn-ui/SolidDivider.js +6 -0
  1071. package/dist/components/shad-cn-ui/SolidDivider.js.map +1 -0
  1072. package/dist/components/shad-cn-ui/SolidDivider.tsx +5 -0
  1073. package/dist/components/shad-cn-ui/SolidDropdownMenu.d.ts +15 -0
  1074. package/dist/components/shad-cn-ui/SolidDropdownMenu.d.ts.map +1 -0
  1075. package/dist/components/shad-cn-ui/SolidDropdownMenu.js +70 -0
  1076. package/dist/components/shad-cn-ui/SolidDropdownMenu.js.map +1 -0
  1077. package/dist/components/shad-cn-ui/SolidDropdownMenu.tsx +124 -0
  1078. package/dist/components/shad-cn-ui/SolidIcon.d.ts +92 -0
  1079. package/dist/components/shad-cn-ui/SolidIcon.d.ts.map +1 -0
  1080. package/dist/components/shad-cn-ui/SolidIcon.js +149 -0
  1081. package/dist/components/shad-cn-ui/SolidIcon.js.map +1 -0
  1082. package/dist/components/shad-cn-ui/SolidIcon.tsx +223 -0
  1083. package/dist/components/shad-cn-ui/SolidInput.d.ts +1 -1
  1084. package/dist/components/shad-cn-ui/SolidInput.d.ts.map +1 -1
  1085. package/dist/components/shad-cn-ui/SolidInput.js +4 -3
  1086. package/dist/components/shad-cn-ui/SolidInput.js.map +1 -1
  1087. package/dist/components/shad-cn-ui/SolidInput.tsx +6 -4
  1088. package/dist/components/shad-cn-ui/SolidLightbox.d.ts +19 -0
  1089. package/dist/components/shad-cn-ui/SolidLightbox.d.ts.map +1 -0
  1090. package/dist/components/shad-cn-ui/SolidLightbox.js +160 -0
  1091. package/dist/components/shad-cn-ui/SolidLightbox.js.map +1 -0
  1092. package/dist/components/shad-cn-ui/SolidLightbox.tsx +281 -0
  1093. package/dist/components/shad-cn-ui/SolidMessage.d.ts +10 -0
  1094. package/dist/components/shad-cn-ui/SolidMessage.d.ts.map +1 -0
  1095. package/dist/components/shad-cn-ui/SolidMessage.js +13 -0
  1096. package/dist/components/shad-cn-ui/SolidMessage.js.map +1 -0
  1097. package/dist/components/shad-cn-ui/SolidMessage.tsx +20 -0
  1098. package/dist/components/shad-cn-ui/SolidOtpInput.d.ts +12 -0
  1099. package/dist/components/shad-cn-ui/SolidOtpInput.d.ts.map +1 -0
  1100. package/dist/components/shad-cn-ui/SolidOtpInput.js +143 -0
  1101. package/dist/components/shad-cn-ui/SolidOtpInput.js.map +1 -0
  1102. package/dist/components/shad-cn-ui/SolidOtpInput.tsx +149 -0
  1103. package/dist/components/shad-cn-ui/SolidPanel.d.ts +11 -0
  1104. package/dist/components/shad-cn-ui/SolidPanel.d.ts.map +1 -0
  1105. package/dist/components/shad-cn-ui/SolidPanel.js +17 -0
  1106. package/dist/components/shad-cn-ui/SolidPanel.js.map +1 -0
  1107. package/dist/components/shad-cn-ui/SolidPanel.tsx +36 -0
  1108. package/dist/components/shad-cn-ui/SolidPasswordInput.d.ts +7 -0
  1109. package/dist/components/shad-cn-ui/SolidPasswordInput.d.ts.map +1 -0
  1110. package/dist/components/shad-cn-ui/SolidPasswordInput.js +39 -0
  1111. package/dist/components/shad-cn-ui/SolidPasswordInput.js.map +1 -0
  1112. package/dist/components/shad-cn-ui/SolidPasswordInput.tsx +31 -0
  1113. package/dist/components/shad-cn-ui/SolidPopover.d.ts +19 -0
  1114. package/dist/components/shad-cn-ui/SolidPopover.d.ts.map +1 -0
  1115. package/dist/components/shad-cn-ui/SolidPopover.js +110 -0
  1116. package/dist/components/shad-cn-ui/SolidPopover.js.map +1 -0
  1117. package/dist/components/shad-cn-ui/SolidPopover.tsx +149 -0
  1118. package/dist/components/shad-cn-ui/SolidProgressBar.d.ts +10 -0
  1119. package/dist/components/shad-cn-ui/SolidProgressBar.d.ts.map +1 -0
  1120. package/dist/components/shad-cn-ui/SolidProgressBar.js +14 -0
  1121. package/dist/components/shad-cn-ui/SolidProgressBar.js.map +1 -0
  1122. package/dist/components/shad-cn-ui/SolidProgressBar.tsx +29 -0
  1123. package/dist/components/shad-cn-ui/SolidRadioGroup.d.ts +17 -0
  1124. package/dist/components/shad-cn-ui/SolidRadioGroup.d.ts.map +1 -0
  1125. package/dist/components/shad-cn-ui/SolidRadioGroup.js +13 -0
  1126. package/dist/components/shad-cn-ui/SolidRadioGroup.js.map +1 -0
  1127. package/dist/components/shad-cn-ui/SolidRadioGroup.tsx +50 -0
  1128. package/dist/components/shad-cn-ui/SolidRichTextEditor.d.ts +17 -0
  1129. package/dist/components/shad-cn-ui/SolidRichTextEditor.d.ts.map +1 -0
  1130. package/dist/components/shad-cn-ui/SolidRichTextEditor.js +109 -0
  1131. package/dist/components/shad-cn-ui/SolidRichTextEditor.js.map +1 -0
  1132. package/dist/components/shad-cn-ui/SolidRichTextEditor.tsx +146 -0
  1133. package/dist/components/shad-cn-ui/SolidSegmentedControl.d.ts +17 -0
  1134. package/dist/components/shad-cn-ui/SolidSegmentedControl.d.ts.map +1 -0
  1135. package/dist/components/shad-cn-ui/SolidSegmentedControl.js +34 -0
  1136. package/dist/components/shad-cn-ui/SolidSegmentedControl.js.map +1 -0
  1137. package/dist/components/shad-cn-ui/SolidSegmentedControl.tsx +60 -0
  1138. package/dist/components/shad-cn-ui/SolidSelect.d.ts +2 -1
  1139. package/dist/components/shad-cn-ui/SolidSelect.d.ts.map +1 -1
  1140. package/dist/components/shad-cn-ui/SolidSelect.js +4 -3
  1141. package/dist/components/shad-cn-ui/SolidSelect.js.map +1 -1
  1142. package/dist/components/shad-cn-ui/SolidSelect.tsx +5 -2
  1143. package/dist/components/shad-cn-ui/SolidSlider.d.ts +12 -0
  1144. package/dist/components/shad-cn-ui/SolidSlider.d.ts.map +1 -0
  1145. package/dist/components/shad-cn-ui/SolidSlider.js +13 -0
  1146. package/dist/components/shad-cn-ui/SolidSlider.js.map +1 -0
  1147. package/dist/components/shad-cn-ui/SolidSlider.tsx +30 -0
  1148. package/dist/components/shad-cn-ui/SolidSpinner.d.ts +8 -0
  1149. package/dist/components/shad-cn-ui/SolidSpinner.d.ts.map +1 -0
  1150. package/dist/components/shad-cn-ui/SolidSpinner.js +14 -0
  1151. package/dist/components/shad-cn-ui/SolidSpinner.js.map +1 -0
  1152. package/dist/components/shad-cn-ui/SolidSpinner.tsx +21 -0
  1153. package/dist/components/shad-cn-ui/SolidSwitch.d.ts +10 -0
  1154. package/dist/components/shad-cn-ui/SolidSwitch.d.ts.map +1 -0
  1155. package/dist/components/shad-cn-ui/SolidSwitch.js +18 -0
  1156. package/dist/components/shad-cn-ui/SolidSwitch.js.map +1 -0
  1157. package/dist/components/shad-cn-ui/SolidSwitch.tsx +34 -0
  1158. package/dist/components/shad-cn-ui/SolidTabs.d.ts +3 -1
  1159. package/dist/components/shad-cn-ui/SolidTabs.d.ts.map +1 -1
  1160. package/dist/components/shad-cn-ui/SolidTabs.js +4 -4
  1161. package/dist/components/shad-cn-ui/SolidTabs.js.map +1 -1
  1162. package/dist/components/shad-cn-ui/SolidTabs.tsx +16 -4
  1163. package/dist/components/shad-cn-ui/SolidTag.d.ts +9 -0
  1164. package/dist/components/shad-cn-ui/SolidTag.d.ts.map +1 -0
  1165. package/dist/components/shad-cn-ui/SolidTag.js +13 -0
  1166. package/dist/components/shad-cn-ui/SolidTag.js.map +1 -0
  1167. package/dist/components/shad-cn-ui/SolidTag.tsx +15 -0
  1168. package/dist/components/shad-cn-ui/SolidTextarea.d.ts +5 -0
  1169. package/dist/components/shad-cn-ui/SolidTextarea.d.ts.map +1 -0
  1170. package/dist/components/shad-cn-ui/SolidTextarea.js +36 -0
  1171. package/dist/components/shad-cn-ui/SolidTextarea.js.map +1 -0
  1172. package/dist/components/shad-cn-ui/SolidTextarea.tsx +26 -0
  1173. package/dist/components/shad-cn-ui/SolidToast.d.ts +13 -0
  1174. package/dist/components/shad-cn-ui/SolidToast.d.ts.map +1 -0
  1175. package/dist/components/shad-cn-ui/SolidToast.js +34 -0
  1176. package/dist/components/shad-cn-ui/SolidToast.js.map +1 -0
  1177. package/dist/components/shad-cn-ui/SolidToast.tsx +55 -0
  1178. package/dist/components/shad-cn-ui/SolidTooltip.d.ts +22 -0
  1179. package/dist/components/shad-cn-ui/SolidTooltip.d.ts.map +1 -0
  1180. package/dist/components/shad-cn-ui/SolidTooltip.js +22 -0
  1181. package/dist/components/shad-cn-ui/SolidTooltip.js.map +1 -0
  1182. package/dist/components/shad-cn-ui/SolidTooltip.tsx +65 -0
  1183. package/dist/components/shad-cn-ui/index.d.ts +26 -0
  1184. package/dist/components/shad-cn-ui/index.d.ts.map +1 -1
  1185. package/dist/components/shad-cn-ui/index.js +26 -0
  1186. package/dist/components/shad-cn-ui/index.js.map +1 -1
  1187. package/dist/components/shad-cn-ui/index.ts +48 -0
  1188. package/dist/components/solid-ui/SolidButton.d.ts +14 -0
  1189. package/dist/components/solid-ui/SolidButton.d.ts.map +1 -0
  1190. package/dist/components/solid-ui/SolidButton.js +36 -0
  1191. package/dist/components/solid-ui/SolidButton.js.map +1 -0
  1192. package/dist/components/solid-ui/SolidButton.tsx +54 -0
  1193. package/dist/components/solid-ui/SolidTabs.d.ts +18 -0
  1194. package/dist/components/solid-ui/SolidTabs.d.ts.map +1 -0
  1195. package/dist/components/solid-ui/SolidTabs.js +22 -0
  1196. package/dist/components/solid-ui/SolidTabs.js.map +1 -0
  1197. package/dist/components/solid-ui/SolidTabs.tsx +73 -0
  1198. package/dist/components/solid-ui/index.d.ts +3 -0
  1199. package/dist/components/solid-ui/index.d.ts.map +1 -0
  1200. package/dist/components/solid-ui/index.js +3 -0
  1201. package/dist/components/solid-ui/index.js.map +1 -0
  1202. package/dist/components/solid-ui/index.ts +2 -0
  1203. package/dist/helpers/# no such endpoints exist, need to calle +3 -0
  1204. package/dist/helpers/mediaType.d.ts +3 -0
  1205. package/dist/helpers/mediaType.d.ts.map +1 -0
  1206. package/dist/helpers/mediaType.js +19 -0
  1207. package/dist/helpers/mediaType.js.map +1 -0
  1208. package/dist/helpers/mediaType.ts +23 -0
  1209. package/dist/helpers/registry.d.ts +3 -4
  1210. package/dist/helpers/registry.d.ts.map +1 -1
  1211. package/dist/helpers/registry.js +111 -90
  1212. package/dist/helpers/registry.js.map +1 -1
  1213. package/dist/helpers/registry.ts +126 -91
  1214. package/dist/helpers/routePaths.js +1 -1
  1215. package/dist/helpers/routePaths.js.map +1 -1
  1216. package/dist/helpers/routePaths.ts +1 -1
  1217. package/dist/hooks/useSolidAutocompleteField.d.ts +31 -0
  1218. package/dist/hooks/useSolidAutocompleteField.d.ts.map +1 -0
  1219. package/dist/hooks/useSolidAutocompleteField.js +116 -0
  1220. package/dist/hooks/useSolidAutocompleteField.js.map +1 -0
  1221. package/dist/hooks/useSolidAutocompleteField.ts +90 -0
  1222. package/dist/index.d.ts +18 -5
  1223. package/dist/index.d.ts.map +1 -1
  1224. package/dist/index.js +15 -5
  1225. package/dist/index.js.map +1 -1
  1226. package/dist/index.ts +95 -6
  1227. package/dist/redux/api/apiKeyApi.d.ts +47 -0
  1228. package/dist/redux/api/apiKeyApi.d.ts.map +1 -0
  1229. package/dist/redux/api/apiKeyApi.js +47 -0
  1230. package/dist/redux/api/apiKeyApi.js.map +1 -0
  1231. package/dist/redux/api/apiKeyApi.ts +69 -0
  1232. package/dist/redux/store/defaultStoreConfig.d.ts +51 -35
  1233. package/dist/redux/store/defaultStoreConfig.d.ts.map +1 -1
  1234. package/dist/redux/store/defaultStoreConfig.js +32 -3
  1235. package/dist/redux/store/defaultStoreConfig.js.map +1 -1
  1236. package/dist/redux/store/defaultStoreConfig.ts +33 -33
  1237. package/dist/resources/globals.css +3231 -808
  1238. package/dist/resources/images/SolidXLogo-dark.svg +29 -0
  1239. package/dist/resources/images/SolidXLogo-light.svg +29 -0
  1240. package/dist/resources/shadcn-base.css +3040 -865
  1241. package/dist/resources/solid-responsive.css +42 -86
  1242. package/dist/resources/themes/solid-dark-purple/theme.css +15 -20
  1243. package/dist/resources/themes/solid-light-purple/theme.css +14 -19
  1244. package/dist/routes/AppEventListener.d.ts +1 -1
  1245. package/dist/routes/AppEventListener.d.ts.map +1 -1
  1246. package/dist/routes/AppEventListener.js +3 -1
  1247. package/dist/routes/AppEventListener.js.map +1 -1
  1248. package/dist/routes/AppEventListener.tsx +7 -1
  1249. package/dist/routes/guards/AuthGuard.d.ts +5 -1
  1250. package/dist/routes/guards/AuthGuard.d.ts.map +1 -1
  1251. package/dist/routes/guards/AuthGuard.js +13 -2
  1252. package/dist/routes/guards/AuthGuard.js.map +1 -1
  1253. package/dist/routes/guards/AuthGuard.tsx +27 -3
  1254. package/dist/routes/guards/GuestGuard.d.ts +2 -0
  1255. package/dist/routes/guards/GuestGuard.d.ts.map +1 -0
  1256. package/dist/routes/guards/GuestGuard.js +18 -0
  1257. package/dist/routes/guards/GuestGuard.js.map +1 -0
  1258. package/dist/routes/guards/GuestGuard.tsx +20 -0
  1259. package/dist/routes/pages/admin/core/CardPage.d.ts +2 -0
  1260. package/dist/routes/pages/admin/core/CardPage.d.ts.map +1 -0
  1261. package/dist/routes/pages/admin/core/CardPage.js +22 -0
  1262. package/dist/routes/pages/admin/core/CardPage.js.map +1 -0
  1263. package/dist/routes/pages/admin/core/CardPage.tsx +10 -0
  1264. package/dist/routes/pages/auth/SsoPage.d.ts.map +1 -1
  1265. package/dist/routes/pages/auth/SsoPage.js +4 -5
  1266. package/dist/routes/pages/auth/SsoPage.js.map +1 -1
  1267. package/dist/routes/pages/auth/SsoPage.tsx +7 -15
  1268. package/dist/routes/pages/studio/StudioLandingPage.js +3 -3
  1269. package/dist/routes/pages/studio/StudioLandingPage.js.map +1 -1
  1270. package/dist/routes/pages/studio/StudioLandingPage.tsx +5 -5
  1271. package/dist/routes/solidRoutes.d.ts.map +1 -1
  1272. package/dist/routes/solidRoutes.js +18 -1
  1273. package/dist/routes/solidRoutes.js.map +1 -1
  1274. package/dist/routes/solidRoutes.tsx +19 -1
  1275. package/dist/routes/types.d.ts +1 -1
  1276. package/dist/routes/types.d.ts.map +1 -1
  1277. package/dist/routes/types.js.map +1 -1
  1278. package/dist/routes/types.ts +5 -1
  1279. package/dist/styles.d.ts +1 -0
  1280. package/dist/styles.d.ts.map +1 -1
  1281. package/dist/styles.js +1 -0
  1282. package/dist/styles.js.map +1 -1
  1283. package/dist/styles.ts +1 -0
  1284. package/dist/types/extension-registry.d.ts +28 -0
  1285. package/dist/types/extension-registry.d.ts.map +1 -0
  1286. package/dist/types/extension-registry.js +26 -0
  1287. package/dist/types/extension-registry.js.map +1 -0
  1288. package/dist/types/extension-registry.ts +32 -0
  1289. package/dist/types/external.d.ts +11 -0
  1290. package/dist/types/layout.d.ts +4 -2
  1291. package/dist/types/solid-core.d.ts +30 -27
  1292. package/package.json +10 -4
  1293. package/dist/components/auth/SolidOTPVerify.d.ts +0 -3
  1294. package/dist/components/auth/SolidOTPVerify.d.ts.map +0 -1
  1295. package/dist/components/auth/SolidOTPVerify.js +0 -67
  1296. package/dist/components/auth/SolidOTPVerify.js.map +0 -1
  1297. package/dist/components/auth/SolidOTPVerify.tsx +0 -133
  1298. package/dist/components/core/common/LoadDynamicJsxComponent.d.ts +0 -2
  1299. package/dist/components/core/common/LoadDynamicJsxComponent.d.ts.map +0 -1
  1300. package/dist/components/core/common/LoadDynamicJsxComponent.js +0 -50
  1301. package/dist/components/core/common/LoadDynamicJsxComponent.js.map +0 -1
  1302. package/dist/components/core/common/LoadDynamicJsxComponent.tsx +0 -70
  1303. package/dist/nextAuth/authProviders.d.ts +0 -4
  1304. package/dist/nextAuth/authProviders.d.ts.map +0 -1
  1305. package/dist/nextAuth/authProviders.js +0 -198
  1306. package/dist/nextAuth/authProviders.js.map +0 -1
  1307. package/dist/nextAuth/authProviders.tsx +0 -232
  1308. package/dist/nextAuth/handleLogout.d.ts +0 -2
  1309. package/dist/nextAuth/handleLogout.d.ts.map +0 -1
  1310. package/dist/nextAuth/handleLogout.js +0 -36
  1311. package/dist/nextAuth/handleLogout.js.map +0 -1
  1312. package/dist/nextAuth/handleLogout.tsx +0 -39
  1313. package/dist/nextAuth/refreshAccessToken.d.ts +0 -2
  1314. package/dist/nextAuth/refreshAccessToken.d.ts.map +0 -1
  1315. package/dist/nextAuth/refreshAccessToken.js +0 -24
  1316. package/dist/nextAuth/refreshAccessToken.js.map +0 -1
  1317. package/dist/nextAuth/refreshAccessToken.tsx +0 -28
  1318. package/dist/redux/features/settingsSlice.d.ts +0 -20
  1319. package/dist/redux/features/settingsSlice.d.ts.map +0 -1
  1320. package/dist/redux/features/settingsSlice.js +0 -39
  1321. package/dist/redux/features/settingsSlice.js.map +0 -1
  1322. package/dist/redux/features/settingsSlice.ts +0 -60
@@ -1,13 +1,13 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useState } from 'react';
3
3
  import { Document, Page, pdfjs } from "react-pdf";
4
- import { Dialog } from "primereact/dialog";
5
4
  import { PDFSvg } from '../../../../components/Svg/PDFSvg';
6
5
  import Image from "../../../common/Image";
7
6
  import FileImage from '../../../../resources/images/fileTypes/File.png';
8
7
  import { ExcelSvg } from '../../../../components/Svg/ExcelSvg';
9
8
  import MP3Image from '../../../../resources/images/fileTypes/Mp3.png';
10
9
  import MP4Image from '../../../../resources/images/fileTypes/Mp4.png';
10
+ import { SolidDialog, SolidDialogBody, SolidDialogClose, SolidDialogHeader, SolidDialogTitle, } from "../../../shad-cn-ui";
11
11
  pdfjs.GlobalWorkerOptions.workerSrc = "//unpkg.com/pdfjs-dist@".concat(pdfjs.version, "/build/pdf.worker.min.mjs");
12
12
  var SolidMediaSingleKanbanField = function (_a) {
13
13
  var _b, _c, _d, _e;
@@ -30,7 +30,7 @@ var SolidMediaSingleKanbanField = function (_a) {
30
30
  event.stopPropagation();
31
31
  setLightboxUrls([{ src: url }]);
32
32
  setOpenLightbox(true);
33
- }, children: fileName })] }), mimeType && mimeType.includes("pdf") && (_jsxs("div", { onClick: function (e) { return e.stopPropagation(); }, children: [_jsxs("div", { className: 'flex align-items-end gap-2 my-2', children: [_jsx("div", { onClick: function () { return setVisible(true); }, style: { cursor: 'pointer' }, children: _jsx(PDFSvg, { size: 50 }) }), _jsx("p", { className: "text-sm", style: { cursor: 'pointer', maxWidth: '70%', wordWrap: 'break-word', overflowWrap: 'break-word' }, onClick: function () { return setVisible(true); }, children: fileName })] }), _jsx(Dialog, { header: fileName, visible: visible, style: { width: "" }, onHide: function () { return setVisible(false); }, modal: true, children: _jsx(Document, { file: url, children: _jsx(Page, { pageNumber: 1 }) }) })] })), mimeType && (mimeType.includes("excel") || mimeType.includes("spreadsheet")) && (_jsxs("div", { className: 'flex align-items-end gap-2 my-2', onClick: function (e) { return e.stopPropagation(); }, children: [_jsx("a", { href: url, download: true, target: "_blank", rel: "noopener noreferrer", children: _jsx(ExcelSvg, { size: 50 }) }), _jsxs("a", { href: url, download: true, target: "_blank", rel: "noopener noreferrer", className: 'text-color flex align-items-start gap-2', style: { textDecoration: 'none' }, children: [_jsx("p", { className: "text-sm mb-1", style: { wordWrap: 'break-word', overflowWrap: 'break-word' }, children: fileName }), _jsx("span", { className: 'pi pi-cloud-download' })] })] })), mimeType && mimeType.includes("audio") && (_jsxs("div", { className: 'flex align-items-end gap-2 my-2', onClick: function (e) { return e.stopPropagation(); }, children: [_jsx("a", { href: url, download: true, target: "_blank", rel: "noopener noreferrer", children: _jsx(Image, { src: MP3Image, alt: fileName, className: "relative", height: 50, width: 50 }) }), _jsxs("a", { href: url, download: true, target: "_blank", rel: "noopener noreferrer", className: 'text-color flex align-items-start gap-2', style: { textDecoration: 'none' }, children: [_jsx("p", { className: "text-sm mb-1", style: { wordWrap: 'break-word', overflowWrap: 'break-word' }, children: fileName }), _jsx("span", { className: 'pi pi-cloud-download' })] })] })), mimeType && mimeType.includes("video") && (_jsxs("div", { className: 'flex align-items-end gap-2 my-2', onClick: function (e) { return e.stopPropagation(); }, children: [_jsx("a", { href: url, download: true, target: "_blank", rel: "noopener noreferrer", children: _jsx(Image, { src: MP4Image, alt: fileName, className: "relative", height: 50, width: 50 }) }), _jsxs("a", { href: url, download: true, target: "_blank", rel: "noopener noreferrer", className: 'text-color flex align-items-start gap-2', style: { textDecoration: 'none' }, children: [_jsx("p", { className: "text-sm mb-1", style: { wordWrap: 'break-word', overflowWrap: 'break-word' }, children: fileName }), _jsx("span", { className: 'pi pi-cloud-download' })] })] })), mimeType &&
33
+ }, children: fileName })] }), mimeType && mimeType.includes("pdf") && (_jsxs("div", { onClick: function (e) { return e.stopPropagation(); }, children: [_jsxs("div", { className: 'flex align-items-end gap-2 my-2', children: [_jsx("div", { onClick: function () { return setVisible(true); }, style: { cursor: 'pointer' }, children: _jsx(PDFSvg, { size: 50 }) }), _jsx("p", { className: "text-sm", style: { cursor: 'pointer', maxWidth: '70%', wordWrap: 'break-word', overflowWrap: 'break-word' }, onClick: function () { return setVisible(true); }, children: fileName })] }), _jsxs(SolidDialog, { open: visible, onOpenChange: setVisible, className: "solid-kanban-preview-dialog", children: [_jsxs(SolidDialogHeader, { className: "solid-kanban-preview-dialog-header", children: [_jsx(SolidDialogTitle, { children: fileName }), _jsx(SolidDialogClose, {})] }), _jsx(SolidDialogBody, { className: "solid-kanban-preview-dialog-body", children: _jsx(Document, { file: url, children: _jsx(Page, { pageNumber: 1 }) }) })] })] })), mimeType && (mimeType.includes("excel") || mimeType.includes("spreadsheet")) && (_jsxs("div", { className: 'flex align-items-end gap-2 my-2', onClick: function (e) { return e.stopPropagation(); }, children: [_jsx("a", { href: url, download: true, target: "_blank", rel: "noopener noreferrer", children: _jsx(ExcelSvg, { size: 50 }) }), _jsxs("a", { href: url, download: true, target: "_blank", rel: "noopener noreferrer", className: 'text-color flex align-items-start gap-2', style: { textDecoration: 'none' }, children: [_jsx("p", { className: "text-sm mb-1", style: { wordWrap: 'break-word', overflowWrap: 'break-word' }, children: fileName }), _jsx("span", { className: 'pi pi-cloud-download' })] })] })), mimeType && mimeType.includes("audio") && (_jsxs("div", { className: 'flex align-items-end gap-2 my-2', onClick: function (e) { return e.stopPropagation(); }, children: [_jsx("a", { href: url, download: true, target: "_blank", rel: "noopener noreferrer", children: _jsx(Image, { src: MP3Image, alt: fileName, className: "relative", height: 50, width: 50 }) }), _jsxs("a", { href: url, download: true, target: "_blank", rel: "noopener noreferrer", className: 'text-color flex align-items-start gap-2', style: { textDecoration: 'none' }, children: [_jsx("p", { className: "text-sm mb-1", style: { wordWrap: 'break-word', overflowWrap: 'break-word' }, children: fileName }), _jsx("span", { className: 'pi pi-cloud-download' })] })] })), mimeType && mimeType.includes("video") && (_jsxs("div", { className: 'flex align-items-end gap-2 my-2', onClick: function (e) { return e.stopPropagation(); }, children: [_jsx("a", { href: url, download: true, target: "_blank", rel: "noopener noreferrer", children: _jsx(Image, { src: MP4Image, alt: fileName, className: "relative", height: 50, width: 50 }) }), _jsxs("a", { href: url, download: true, target: "_blank", rel: "noopener noreferrer", className: 'text-color flex align-items-start gap-2', style: { textDecoration: 'none' }, children: [_jsx("p", { className: "text-sm mb-1", style: { wordWrap: 'break-word', overflowWrap: 'break-word' }, children: fileName }), _jsx("span", { className: 'pi pi-cloud-download' })] })] })), mimeType &&
34
34
  !mimeType.includes("image/") &&
35
35
  !mimeType.includes("pdf") &&
36
36
  !mimeType.includes("excel") &&
@@ -1 +1 @@
1
- {"version":3,"file":"SolidMediaSingleKanbanField.js","sourceRoot":"","sources":["../../../../../src/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.tsx"],"names":[],"mappings":";AACA,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAMxC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,MA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3B,eAAK,SAAS,EAAC,iCAAiC,EAAC,OAAO,EAAE,UAAC,CAAC,IAAK,OAAA,CAAC,CAAC,eAAe,EAAE,EAAnB,CAAmB,aAChF,YAAG,IAAI,EAAE,GAAG,EAAE,QAAQ,QAAC,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,qBAAqB,YAC5D,KAAC,KAAK,IACF,GAAG,EAAE,SAAS,EACd,GAAG,EAAE,QAAQ,EACb,SAAS,EAAC,UAAU,EACpB,MAAM,EAAE,EAAE,EACV,KAAK,EAAE,EAAE,GACX,GACF,EACJ,aAAG,IAAI,EAAE,GAAG,EAAE,QAAQ,QAAC,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,qBAAqB,EAAC,SAAS,EAAC,yCAAyC,EAAC,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,EAAE,aAClJ,YAAG,SAAS,EAAC,cAAc,EAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,YACpF,QAAQ,GACT,EACJ,eAAM,SAAS,EAAC,sBAAsB,GAAQ,IAC9C,IACF,CACT,IAEH,CACT,CAAC;AAEN,CAAC,CAAC;AAEF,eAAe,2BAA2B,CAAC","sourcesContent":["\nimport React, { useState } from 'react';\nimport { Column, ColumnFilterElementTemplateOptions } from \"primereact/column\";\nimport { InputTypes, SolidVarInputsFilterElement } from \"../SolidVarInputsFilterElement\";\nimport { SolidKanbanViewFieldsParams } from '../SolidKanbanViewFields';\nimport { FormEvent } from \"primereact/ts-helpers\";\nimport { FilterMatchMode } from 'primereact/api';\nimport { Document, Page, pdfjs } from \"react-pdf\";\nimport { Dialog } from \"primereact/dialog\";\nimport { PDFSvg } from '../../../../components/Svg/PDFSvg';\nimport Image from \"../../../common/Image\";\nimport FileImage from '../../../../resources/images/fileTypes/File.png'\nimport { ExcelSvg } from '../../../../components/Svg/ExcelSvg';\nimport MP3Image from '../../../../resources/images/fileTypes/Mp3.png'\nimport MP4Image from '../../../../resources/images/fileTypes/Mp4.png'\n\npdfjs.GlobalWorkerOptions.workerSrc = `//unpkg.com/pdfjs-dist@${pdfjs.version}/build/pdf.worker.min.mjs`;\n\n\nconst SolidMediaSingleKanbanField = ({ solidKanbanViewMetaData, fieldMetadata, fieldLayout, data, setLightboxUrls, setOpenLightbox }: SolidKanbanViewFieldsParams) => {\n const [visible, setVisible] = useState(false);\n const header = fieldMetadata.displayName;\n const url = data && data._media && data._media[fieldMetadata.name].length > 0 && data._media[fieldMetadata.name].map((i: any) => i._full_url)[0];\n const mimeType = data && data._media && data._media[fieldMetadata.name].length > 0 && data._media[fieldMetadata.name].map((i: any) => i.mimeType)[0];\n const fileName = data && data._media && data._media[fieldMetadata.name][0]?.originalFileName\n // const mimeType: string = \"excel\";\n // const url = \"http://localhost:8080/media-files-storage/Holiday List 2025.pdf\";\n // const url = \"http://localhost:8080/media-files-storage/PF Form.xls\";\n\n\n return (\n <div className={`${fieldLayout?.attrs?.className ? ` ${fieldLayout.attrs.className}` : \"\"}`}>\n\n {mimeType && mimeType.includes(\"image/\") &&\n <div className='my-2'>\n <img className={fieldLayout?.attrs?.kanbanImagePreviewClassname ? fieldLayout?.attrs?.kanbanImagePreviewClassname : 'kanban-image-preview'}\n\n src={url}\n onClick={(event) => {\n event.stopPropagation();\n setLightboxUrls([{ src: url }]);\n setOpenLightbox(true);\n }}\n alt={header}\n />\n {fieldLayout?.attrs.showLabel !== false &&\n\n <p className=\"text-sm\" style={{ wordWrap: 'break-word', overflowWrap: 'break-word' }}\n onClick={(event) => {\n event.stopPropagation();\n setLightboxUrls([{ src: url }]);\n setOpenLightbox(true);\n }}\n >\n {fileName}\n </p>\n }\n\n </div>\n }\n {/* Render PDF - Open Lightbox on Click */}\n {mimeType && mimeType.includes(\"pdf\") && (\n <div onClick={(e) => e.stopPropagation()}>\n <div className='flex align-items-end gap-2 my-2'>\n <div onClick={() => setVisible(true)} style={{ cursor: 'pointer' }}>\n <PDFSvg size={50} />\n </div>\n <p className=\"text-sm\" style={{ cursor: 'pointer', maxWidth: '70%', wordWrap: 'break-word', overflowWrap: 'break-word' }} onClick={() => setVisible(true)}>\n {fileName}\n </p>\n </div>\n <Dialog header={fileName} visible={visible} style={{ width: \"\" }} onHide={() => setVisible(false)} modal>\n <Document file={url}>\n <Page pageNumber={1} />\n </Document>\n </Dialog>\n </div>\n )}\n {/* Excel or Other Files - Show Download Icon */}\n {mimeType && (mimeType.includes(\"excel\") || mimeType.includes(\"spreadsheet\")) && (\n <div className='flex align-items-end gap-2 my-2' onClick={(e) => e.stopPropagation()}>\n <a href={url} download target=\"_blank\" rel=\"noopener noreferrer\">\n <ExcelSvg size={50} />\n </a>\n <a href={url} download target=\"_blank\" rel=\"noopener noreferrer\" className='text-color flex align-items-start gap-2' style={{ textDecoration: 'none' }}>\n <p className=\"text-sm mb-1\" style={{ wordWrap: 'break-word', overflowWrap: 'break-word' }}>\n {fileName}\n </p>\n <span className='pi pi-cloud-download'></span>\n </a>\n </div>\n )}\n\n {mimeType && mimeType.includes(\"audio\") && (\n <div className='flex align-items-end gap-2 my-2' onClick={(e) => e.stopPropagation()}>\n <a href={url} download target=\"_blank\" rel=\"noopener noreferrer\">\n <Image\n src={MP3Image}\n alt={fileName}\n className=\"relative\"\n height={50}\n width={50}\n />\n </a>\n <a href={url} download target=\"_blank\" rel=\"noopener noreferrer\" className='text-color flex align-items-start gap-2' style={{ textDecoration: 'none' }}>\n <p className=\"text-sm mb-1\" style={{ wordWrap: 'break-word', overflowWrap: 'break-word' }}>\n {fileName}\n </p>\n <span className='pi pi-cloud-download'></span>\n </a>\n </div>\n )}\n {mimeType && mimeType.includes(\"video\") && (\n <div className='flex align-items-end gap-2 my-2' onClick={(e) => e.stopPropagation()}>\n <a href={url} download target=\"_blank\" rel=\"noopener noreferrer\">\n <Image\n src={MP4Image}\n alt={fileName}\n className=\"relative\"\n height={50}\n width={50}\n />\n </a>\n <a href={url} download target=\"_blank\" rel=\"noopener noreferrer\" className='text-color flex align-items-start gap-2' style={{ textDecoration: 'none' }}>\n <p className=\"text-sm mb-1\" style={{ wordWrap: 'break-word', overflowWrap: 'break-word' }}>\n {fileName}\n </p>\n <span className='pi pi-cloud-download'></span>\n </a>\n </div>\n )}\n\n {mimeType &&\n !mimeType.includes(\"image/\") &&\n !mimeType.includes(\"pdf\") &&\n !mimeType.includes(\"excel\") &&\n !mimeType.includes(\"spreadsheet\") &&\n !mimeType.includes(\"audio\") &&\n !mimeType.includes(\"video\") && (\n <div className='flex align-items-end gap-2 my-2' onClick={(e) => e.stopPropagation()}>\n <a href={url} download target=\"_blank\" rel=\"noopener noreferrer\">\n <Image\n src={FileImage}\n alt={fileName}\n className=\"relative\"\n height={50}\n width={50}\n />\n </a>\n <a href={url} download target=\"_blank\" rel=\"noopener noreferrer\" className='text-color flex align-items-start gap-2' style={{ textDecoration: 'none' }}>\n <p className=\"text-sm mb-1\" style={{ wordWrap: 'break-word', overflowWrap: 'break-word' }}>\n {fileName}\n </p>\n <span className='pi pi-cloud-download'></span>\n </a>\n </div>\n )\n }\n </div>\n );\n\n};\n\nexport default SolidMediaSingleKanbanField;\n"]}
1
+ {"version":3,"file":"SolidMediaSingleKanbanField.js","sourceRoot":"","sources":["../../../../../src/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.tsx"],"names":[],"mappings":";AACA,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,KAAK,MAAM,uBAAuB,CAAC;AAC1C,OAAO,SAAS,MAAM,iDAAiD,CAAA;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,OAAO,QAAQ,MAAM,gDAAgD,CAAA;AACrE,OAAO,QAAQ,MAAM,gDAAgD,CAAA;AACrE,OAAO,EACH,WAAW,EACX,eA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AG,EAAC,qBAAqB,YAC5D,KAAC,KAAK,IACF,GAAG,EAAE,SAAS,EACd,GAAG,EAAE,QAAQ,EACb,SAAS,EAAC,UAAU,EACpB,MAAM,EAAE,EAAE,EACV,KAAK,EAAE,EAAE,GACX,GACF,EACJ,aAAG,IAAI,EAAE,GAAG,EAAE,QAAQ,QAAC,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,qBAAqB,EAAC,SAAS,EAAC,yCAAyC,EAAC,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,EAAE,aAClJ,YAAG,SAAS,EAAC,cAAc,EAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,YACpF,QAAQ,GACT,EACJ,eAAM,SAAS,EAAC,sBAAsB,GAAQ,IAC9C,IACF,CACT,IAEH,CACT,CAAC;AAEN,CAAC,CAAC;AAEF,eAAe,2BAA2B,CAAC","sourcesContent":["\nimport React, { useState } from 'react';\nimport { SolidKanbanViewFieldsParams } from '../SolidKanbanViewFields';\nimport { Document, Page, pdfjs } from \"react-pdf\";\nimport { PDFSvg } from '../../../../components/Svg/PDFSvg';\nimport Image from \"../../../common/Image\";\nimport FileImage from '../../../../resources/images/fileTypes/File.png'\nimport { ExcelSvg } from '../../../../components/Svg/ExcelSvg';\nimport MP3Image from '../../../../resources/images/fileTypes/Mp3.png'\nimport MP4Image from '../../../../resources/images/fileTypes/Mp4.png'\nimport {\n SolidDialog,\n SolidDialogBody,\n SolidDialogClose,\n SolidDialogHeader,\n SolidDialogTitle,\n} from \"../../../shad-cn-ui\";\n\npdfjs.GlobalWorkerOptions.workerSrc = `//unpkg.com/pdfjs-dist@${pdfjs.version}/build/pdf.worker.min.mjs`;\n\n\nconst SolidMediaSingleKanbanField = ({ solidKanbanViewMetaData, fieldMetadata, fieldLayout, data, setLightboxUrls, setOpenLightbox }: SolidKanbanViewFieldsParams) => {\n const [visible, setVisible] = useState(false);\n const header = fieldMetadata.displayName;\n const url = data && data._media && data._media[fieldMetadata.name].length > 0 && data._media[fieldMetadata.name].map((i: any) => i._full_url)[0];\n const mimeType = data && data._media && data._media[fieldMetadata.name].length > 0 && data._media[fieldMetadata.name].map((i: any) => i.mimeType)[0];\n const fileName = data && data._media && data._media[fieldMetadata.name][0]?.originalFileName\n // const mimeType: string = \"excel\";\n // const url = \"http://localhost:8080/media-files-storage/Holiday List 2025.pdf\";\n // const url = \"http://localhost:8080/media-files-storage/PF Form.xls\";\n\n\n return (\n <div className={`${fieldLayout?.attrs?.className ? ` ${fieldLayout.attrs.className}` : \"\"}`}>\n\n {mimeType && mimeType.includes(\"image/\") &&\n <div className='my-2'>\n <img className={fieldLayout?.attrs?.kanbanImagePreviewClassname ? fieldLayout?.attrs?.kanbanImagePreviewClassname : 'kanban-image-preview'}\n\n src={url}\n onClick={(event) => {\n event.stopPropagation();\n setLightboxUrls([{ src: url }]);\n setOpenLightbox(true);\n }}\n alt={header}\n />\n {fieldLayout?.attrs.showLabel !== false &&\n\n <p className=\"text-sm\" style={{ wordWrap: 'break-word', overflowWrap: 'break-word' }}\n onClick={(event) => {\n event.stopPropagation();\n setLightboxUrls([{ src: url }]);\n setOpenLightbox(true);\n }}\n >\n {fileName}\n </p>\n }\n\n </div>\n }\n {/* Render PDF - Open Lightbox on Click */}\n {mimeType && mimeType.includes(\"pdf\") && (\n <div onClick={(e) => e.stopPropagation()}>\n <div className='flex align-items-end gap-2 my-2'>\n <div onClick={() => setVisible(true)} style={{ cursor: 'pointer' }}>\n <PDFSvg size={50} />\n </div>\n <p className=\"text-sm\" style={{ cursor: 'pointer', maxWidth: '70%', wordWrap: 'break-word', overflowWrap: 'break-word' }} onClick={() => setVisible(true)}>\n {fileName}\n </p>\n </div>\n <SolidDialog open={visible} onOpenChange={setVisible} className=\"solid-kanban-preview-dialog\">\n <SolidDialogHeader className=\"solid-kanban-preview-dialog-header\">\n <SolidDialogTitle>{fileName}</SolidDialogTitle>\n <SolidDialogClose />\n </SolidDialogHeader>\n <SolidDialogBody className=\"solid-kanban-preview-dialog-body\">\n <Document file={url}>\n <Page pageNumber={1} />\n </Document>\n </SolidDialogBody>\n </SolidDialog>\n </div>\n )}\n {/* Excel or Other Files - Show Download Icon */}\n {mimeType && (mimeType.includes(\"excel\") || mimeType.includes(\"spreadsheet\")) && (\n <div className='flex align-items-end gap-2 my-2' onClick={(e) => e.stopPropagation()}>\n <a href={url} download target=\"_blank\" rel=\"noopener noreferrer\">\n <ExcelSvg size={50} />\n </a>\n <a href={url} download target=\"_blank\" rel=\"noopener noreferrer\" className='text-color flex align-items-start gap-2' style={{ textDecoration: 'none' }}>\n <p className=\"text-sm mb-1\" style={{ wordWrap: 'break-word', overflowWrap: 'break-word' }}>\n {fileName}\n </p>\n <span className='pi pi-cloud-download'></span>\n </a>\n </div>\n )}\n\n {mimeType && mimeType.includes(\"audio\") && (\n <div className='flex align-items-end gap-2 my-2' onClick={(e) => e.stopPropagation()}>\n <a href={url} download target=\"_blank\" rel=\"noopener noreferrer\">\n <Image\n src={MP3Image}\n alt={fileName}\n className=\"relative\"\n height={50}\n width={50}\n />\n </a>\n <a href={url} download target=\"_blank\" rel=\"noopener noreferrer\" className='text-color flex align-items-start gap-2' style={{ textDecoration: 'none' }}>\n <p className=\"text-sm mb-1\" style={{ wordWrap: 'break-word', overflowWrap: 'break-word' }}>\n {fileName}\n </p>\n <span className='pi pi-cloud-download'></span>\n </a>\n </div>\n )}\n {mimeType && mimeType.includes(\"video\") && (\n <div className='flex align-items-end gap-2 my-2' onClick={(e) => e.stopPropagation()}>\n <a href={url} download target=\"_blank\" rel=\"noopener noreferrer\">\n <Image\n src={MP4Image}\n alt={fileName}\n className=\"relative\"\n height={50}\n width={50}\n />\n </a>\n <a href={url} download target=\"_blank\" rel=\"noopener noreferrer\" className='text-color flex align-items-start gap-2' style={{ textDecoration: 'none' }}>\n <p className=\"text-sm mb-1\" style={{ wordWrap: 'break-word', overflowWrap: 'break-word' }}>\n {fileName}\n </p>\n <span className='pi pi-cloud-download'></span>\n </a>\n </div>\n )}\n\n {mimeType &&\n !mimeType.includes(\"image/\") &&\n !mimeType.includes(\"pdf\") &&\n !mimeType.includes(\"excel\") &&\n !mimeType.includes(\"spreadsheet\") &&\n !mimeType.includes(\"audio\") &&\n !mimeType.includes(\"video\") && (\n <div className='flex align-items-end gap-2 my-2' onClick={(e) => e.stopPropagation()}>\n <a href={url} download target=\"_blank\" rel=\"noopener noreferrer\">\n <Image\n src={FileImage}\n alt={fileName}\n className=\"relative\"\n height={50}\n width={50}\n />\n </a>\n <a href={url} download target=\"_blank\" rel=\"noopener noreferrer\" className='text-color flex align-items-start gap-2' style={{ textDecoration: 'none' }}>\n <p className=\"text-sm mb-1\" style={{ wordWrap: 'break-word', overflowWrap: 'break-word' }}>\n {fileName}\n </p>\n <span className='pi pi-cloud-download'></span>\n </a>\n </div>\n )\n }\n </div>\n );\n\n};\n\nexport default SolidMediaSingleKanbanField;\n"]}
@@ -1,18 +1,20 @@
1
1
 
2
2
  import React, { useState } from 'react';
3
- import { Column, ColumnFilterElementTemplateOptions } from "primereact/column";
4
- import { InputTypes, SolidVarInputsFilterElement } from "../SolidVarInputsFilterElement";
5
3
  import { SolidKanbanViewFieldsParams } from '../SolidKanbanViewFields';
6
- import { FormEvent } from "primereact/ts-helpers";
7
- import { FilterMatchMode } from 'primereact/api';
8
4
  import { Document, Page, pdfjs } from "react-pdf";
9
- import { Dialog } from "primereact/dialog";
10
5
  import { PDFSvg } from '../../../../components/Svg/PDFSvg';
11
6
  import Image from "../../../common/Image";
12
7
  import FileImage from '../../../../resources/images/fileTypes/File.png'
13
8
  import { ExcelSvg } from '../../../../components/Svg/ExcelSvg';
14
9
  import MP3Image from '../../../../resources/images/fileTypes/Mp3.png'
15
10
  import MP4Image from '../../../../resources/images/fileTypes/Mp4.png'
11
+ import {
12
+ SolidDialog,
13
+ SolidDialogBody,
14
+ SolidDialogClose,
15
+ SolidDialogHeader,
16
+ SolidDialogTitle,
17
+ } from "../../../shad-cn-ui";
16
18
 
17
19
  pdfjs.GlobalWorkerOptions.workerSrc = `//unpkg.com/pdfjs-dist@${pdfjs.version}/build/pdf.worker.min.mjs`;
18
20
 
@@ -69,11 +71,17 @@ const SolidMediaSingleKanbanField = ({ solidKanbanViewMetaData, fieldMetadata, f
69
71
  {fileName}
70
72
  </p>
71
73
  </div>
72
- <Dialog header={fileName} visible={visible} style={{ width: "" }} onHide={() => setVisible(false)} modal>
73
- <Document file={url}>
74
- <Page pageNumber={1} />
75
- </Document>
76
- </Dialog>
74
+ <SolidDialog open={visible} onOpenChange={setVisible} className="solid-kanban-preview-dialog">
75
+ <SolidDialogHeader className="solid-kanban-preview-dialog-header">
76
+ <SolidDialogTitle>{fileName}</SolidDialogTitle>
77
+ <SolidDialogClose />
78
+ </SolidDialogHeader>
79
+ <SolidDialogBody className="solid-kanban-preview-dialog-body">
80
+ <Document file={url}>
81
+ <Page pageNumber={1} />
82
+ </Document>
83
+ </SolidDialogBody>
84
+ </SolidDialog>
77
85
  </div>
78
86
  )}
79
87
  {/* Excel or Other Files - Show Download Icon */}
@@ -1 +1 @@
1
- {"version":3,"file":"SolidShortTextKanbanField.d.ts","sourceRoot":"","sources":["../../../../../src/components/core/kanban/kanban-fields/SolidShortTextKanbanField.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AASvE,QAAA,MAAM,yBAAyB,iHAAkH,2BAA2B,4CA2G3K,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
1
+ {"version":3,"file":"SolidShortTextKanbanField.d.ts","sourceRoot":"","sources":["../../../../../src/components/core/kanban/kanban-fields/SolidShortTextKanbanField.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAevE,QAAA,MAAM,yBAAyB,iHAAkH,2BAA2B,4CA2G3K,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
@@ -1,6 +1,5 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useState } from 'react';
3
- import { Dialog } from 'primereact/dialog';
4
3
  import { Document, Page } from "react-pdf";
5
4
  import { PDFSvg } from '../../../../components/Svg/PDFSvg';
6
5
  import MP3Image from '../../../../resources/images/fileTypes/Mp3.png';
@@ -8,6 +7,7 @@ import MP4Image from '../../../../resources/images/fileTypes/Mp4.png';
8
7
  import FileImage from '../../../../resources/images/fileTypes/File.png';
9
8
  import Image from "../../../common/Image";
10
9
  import { ExcelSvg } from '../../../../components/Svg/ExcelSvg';
10
+ import { SolidDialog, SolidDialogBody, SolidDialogClose, SolidDialogHeader, SolidDialogTitle, } from "../../../shad-cn-ui";
11
11
  var SolidShortTextKanbanField = function (_a) {
12
12
  var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
13
13
  var solidKanbanViewMetaData = _a.solidKanbanViewMetaData, fieldMetadata = _a.fieldMetadata, fieldLayout = _a.fieldLayout, data = _a.data, setLightboxUrls = _a.setLightboxUrls, setOpenLightbox = _a.setOpenLightbox, groupedView = _a.groupedView;
@@ -15,9 +15,6 @@ var SolidShortTextKanbanField = function (_a) {
15
15
  var widget = ((_b = fieldLayout === null || fieldLayout === void 0 ? void 0 : fieldLayout.attrs) === null || _b === void 0 ? void 0 : _b.widget) ? (_c = fieldLayout === null || fieldLayout === void 0 ? void 0 : fieldLayout.attrs) === null || _c === void 0 ? void 0 : _c.widget : "text";
16
16
  var mimeType = data && (data === null || data === void 0 ? void 0 : data.mimeType);
17
17
  var fileName = data === null || data === void 0 ? void 0 : data.originalFileName;
18
- var PDFHeader = function () {
19
- return (_jsxs("div", { className: 'flex justify-content-between align-items-center', children: [_jsx("p", { className: 'm-0', children: fileName }), _jsx("a", { href: data[fieldMetadata.name], download: fileName, target: "_blank", rel: "noopener noreferrer", className: 'mr-4', children: _jsx("i", { className: 'pi pi-download' }) })] }));
20
- };
21
18
  return (_jsxs("div", { className: "".concat(((_d = fieldLayout === null || fieldLayout === void 0 ? void 0 : fieldLayout.attrs) === null || _d === void 0 ? void 0 : _d.className) ? " ".concat(fieldLayout.attrs.className) : ""), children: [widget === "text" && groupedView &&
22
19
  _jsxs("p", { className: 'font-medium', children: [((_e = fieldLayout === null || fieldLayout === void 0 ? void 0 : fieldLayout.attrs) === null || _e === void 0 ? void 0 : _e.showLabel) !== false && ((_f = fieldLayout === null || fieldLayout === void 0 ? void 0 : fieldLayout.attrs) === null || _f === void 0 ? void 0 : _f.label) ? "".concat((_g = fieldLayout === null || fieldLayout === void 0 ? void 0 : fieldLayout.attrs) === null || _g === void 0 ? void 0 : _g.label, " : ") : "", data && data[fieldMetadata.name] ? "".concat(data[fieldMetadata.name]) : ""] }), widget === "text" && !groupedView && (fieldMetadata === null || fieldMetadata === void 0 ? void 0 : fieldMetadata.name) === 'originalFileName' &&
23
20
  _jsxs("p", { className: 'font-medium', children: [((_h = fieldLayout === null || fieldLayout === void 0 ? void 0 : fieldLayout.attrs) === null || _h === void 0 ? void 0 : _h.showLabel) !== false && ((_j = fieldLayout === null || fieldLayout === void 0 ? void 0 : fieldLayout.attrs) === null || _j === void 0 ? void 0 : _j.label) ? "".concat((_k = fieldLayout === null || fieldLayout === void 0 ? void 0 : fieldLayout.attrs) === null || _k === void 0 ? void 0 : _k.label, " : ") : "", data && data[fieldMetadata.name] ? "".concat(data[fieldMetadata.name]) : ""] }), widget === "text" && !groupedView && (fieldMetadata === null || fieldMetadata === void 0 ? void 0 : fieldMetadata.name) === 'mimeType' &&
@@ -26,7 +23,7 @@ var SolidShortTextKanbanField = function (_a) {
26
23
  event.stopPropagation();
27
24
  setLightboxUrls([{ src: data[fieldMetadata.name] }]);
28
25
  setOpenLightbox(true);
29
- }, className: "".concat(!groupedView ? 'kanban-media-image-preview' : 'kanban-image-preview') }) }), widget === "image" && !groupedView && mimeType && mimeType.includes("pdf") && (_jsxs("div", { className: 'mt-3', onClick: function (e) { return e.stopPropagation(); }, children: [_jsx("div", { className: 'kanban-media-view-card', onClick: function () { return setVisible(true); }, style: { cursor: 'pointer' }, children: _jsx(PDFSvg, {}) }), _jsx(Dialog, { header: _jsx(PDFHeader, {}), visible: visible, style: { width: "" }, onHide: function () { return setVisible(false); }, modal: true, children: _jsx(Document, { file: data[fieldMetadata.name], children: _jsx(Page, { pageNumber: 1 }) }) })] })), widget === "image" && !groupedView && mimeType && (mimeType.includes("excel") || mimeType.includes("spreadsheet")) && (_jsx("a", { href: data[fieldMetadata.name], className: 'kanban-media-view-card mt-3', onClick: function (e) { return e.stopPropagation(); }, style: { cursor: 'pointer' }, download: true, target: "_blank", rel: "noopener noreferrer", children: _jsx(ExcelSvg, {}) })), widget === "image" && !groupedView && mimeType && mimeType.includes("audio") && (_jsx("a", { href: data[fieldMetadata.name], className: 'kanban-media-view-card my-2', onClick: function (e) { return e.stopPropagation(); }, style: { cursor: 'pointer' }, download: true, target: "_blank", rel: "noopener noreferrer", children: _jsx(Image, { src: MP3Image, alt: fileName, className: "relative", height: 80, width: 80 }) })), widget === "image" && !groupedView && mimeType && mimeType.includes("video") && (_jsx("a", { href: data[fieldMetadata.name], className: 'kanban-media-view-card mt-3', onClick: function (e) { return e.stopPropagation(); }, style: { cursor: 'pointer' }, download: true, target: "_blank", rel: "noopener noreferrer", children: _jsx(Image, { src: MP4Image, alt: fileName, className: "relative", height: 80, width: 80 }) })), widget === "image" && !groupedView && mimeType && !mimeType.includes("image/") &&
26
+ }, className: "".concat(!groupedView ? 'kanban-media-image-preview' : 'kanban-image-preview') }) }), widget === "image" && !groupedView && mimeType && mimeType.includes("pdf") && (_jsxs("div", { className: 'mt-3', onClick: function (e) { return e.stopPropagation(); }, children: [_jsx("div", { className: 'kanban-media-view-card', onClick: function () { return setVisible(true); }, style: { cursor: 'pointer' }, children: _jsx(PDFSvg, {}) }), _jsxs(SolidDialog, { open: visible, onOpenChange: setVisible, className: "solid-kanban-preview-dialog", children: [_jsx(SolidDialogHeader, { className: "solid-kanban-preview-dialog-header", children: _jsxs("div", { className: "solid-kanban-preview-dialog-title-row", children: [_jsx(SolidDialogTitle, { children: fileName }), _jsx("a", { href: data[fieldMetadata.name], download: fileName, target: "_blank", rel: "noopener noreferrer", className: "solid-kanban-preview-download", onClick: function (event) { return event.stopPropagation(); }, children: _jsx("i", { className: 'pi pi-download' }) }), _jsx(SolidDialogClose, {})] }) }), _jsx(SolidDialogBody, { className: "solid-kanban-preview-dialog-body", children: _jsx(Document, { file: data[fieldMetadata.name], children: _jsx(Page, { pageNumber: 1 }) }) })] })] })), widget === "image" && !groupedView && mimeType && (mimeType.includes("excel") || mimeType.includes("spreadsheet")) && (_jsx("a", { href: data[fieldMetadata.name], className: 'kanban-media-view-card mt-3', onClick: function (e) { return e.stopPropagation(); }, style: { cursor: 'pointer' }, download: true, target: "_blank", rel: "noopener noreferrer", children: _jsx(ExcelSvg, {}) })), widget === "image" && !groupedView && mimeType && mimeType.includes("audio") && (_jsx("a", { href: data[fieldMetadata.name], className: 'kanban-media-view-card my-2', onClick: function (e) { return e.stopPropagation(); }, style: { cursor: 'pointer' }, download: true, target: "_blank", rel: "noopener noreferrer", children: _jsx(Image, { src: MP3Image, alt: fileName, className: "relative", height: 80, width: 80 }) })), widget === "image" && !groupedView && mimeType && mimeType.includes("video") && (_jsx("a", { href: data[fieldMetadata.name], className: 'kanban-media-view-card mt-3', onClick: function (e) { return e.stopPropagation(); }, style: { cursor: 'pointer' }, download: true, target: "_blank", rel: "noopener noreferrer", children: _jsx(Image, { src: MP4Image, alt: fileName, className: "relative", height: 80, width: 80 }) })), widget === "image" && !groupedView && mimeType && !mimeType.includes("image/") &&
30
27
  !mimeType.includes("pdf") &&
31
28
  !mimeType.includes("excel") &&
32
29
  !mimeType.includes("spreadsheet") &&
@@ -1 +1 @@
1
- {"version":3,"file":"SolidShortTextKanbanField.js","sourceRoot":"","sources":["../../../../../src/components/core/kanban/kanban-fields/SolidShortTextKanbanField.tsx"],"names":[],"mappings":";A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,CAAC,QAAQ,CAAC,QAAQ,CAAC;gBAC3E,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC;gBACzB,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC;gBAC3B,CAAC,QAAQ,CAAC,QAAQ,CAAC,aAAa,CAAC;gBACjC,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC;gBAC3B,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAC3B,YAAG,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,SAAS,EAAC,6BAA6B,EAAC,OAAO,EAAE,UAAC,CAAC,IAAK,OAAA,CAAC,CAAC,eAAe,EAAE,EAAnB,CAAmB,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,QAAQ,QAAC,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,qBAAqB,YAC5L,KAAC,KAAK,IACF,GAAG,EAAE,SAAS,EACd,GAAG,EAAE,QAAQ,EACb,SAAS,EAAC,UAAU,EACpB,MAAM,EAAE,EAAE,EACV,KAAK,EAAE,EAAE,GACX,GACF,CACP,IACH,CACT,CAAC;AAEN,CAAC,CAAC;AAEF,eAAe,yBAAyB,CAAC","sourcesContent":["\nimport { useState } from 'react';\nimport { SolidKanbanViewFieldsParams } from '../SolidKanbanViewFields';\nimport { Dialog } from 'primereact/dialog';\nimport { Document, Page } from \"react-pdf\";\nimport { PDFSvg } from '../../../../components/Svg/PDFSvg';\nimport MP3Image from '../../../../resources/images/fileTypes/Mp3.png'\nimport MP4Image from '../../../../resources/images/fileTypes/Mp4.png'\nimport FileImage from '../../../../resources/images/fileTypes/File.png'\nimport Image from \"../../../common/Image\";\nimport { ExcelSvg } from '../../../../components/Svg/ExcelSvg';\nconst SolidShortTextKanbanField = ({ solidKanbanViewMetaData, fieldMetadata, fieldLayout, data, setLightboxUrls, setOpenLightbox, groupedView }: SolidKanbanViewFieldsParams) => {\n const [visible, setVisible] = useState(false);\n const widget = fieldLayout?.attrs?.widget ? fieldLayout?.attrs?.widget : \"text\";\n const mimeType = data && data?.mimeType\n const fileName = data?.originalFileName;\n const PDFHeader = () => {\n return (\n <div className='flex justify-content-between align-items-center'>\n <p className='m-0'>\n {fileName}\n </p>\n <a\n href={data[fieldMetadata.name]}\n download={fileName}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className='mr-4'\n >\n <i className='pi pi-download' />\n </a>\n </div>\n )\n }\n return (\n <div className={`${fieldLayout?.attrs?.className ? ` ${fieldLayout.attrs.className}` : \"\"}`}>\n {widget === \"text\" && groupedView &&\n <p className='font-medium'>{fieldLayout?.attrs?.showLabel !== false && fieldLayout?.attrs?.label ? `${fieldLayout?.attrs?.label} : ` : \"\"}{data && data[fieldMetadata.name] ? `${data[fieldMetadata.name]}` : \"\"}</p>\n }\n {widget === \"text\" && !groupedView && fieldMetadata?.name === 'originalFileName' &&\n <p className='font-medium'>{fieldLayout?.attrs?.showLabel !== false && fieldLayout?.attrs?.label ? `${fieldLayout?.attrs?.label} : ` : \"\"}{data && data[fieldMetadata.name] ? `${data[fieldMetadata.name]}` : \"\"}</p>\n }\n {widget === \"text\" && !groupedView && fieldMetadata?.name === 'mimeType' &&\n <span className='solid-mimetype-chip'>{fieldLayout?.attrs?.showLabel !== false && fieldLayout?.attrs?.label ? `${fieldLayout?.attrs?.label} : ` : \"\"}{data && data[fieldMetadata.name] ? `${data[fieldMetadata.name]}` : \"\"}</span>\n }\n {widget === \"image\" && !groupedView && mimeType && mimeType.includes(\"image/\") &&\n < div className='mt-3'>\n <img\n src={data[fieldMetadata.name]}\n onClick={(event) => {\n event.stopPropagation();\n setLightboxUrls([{ src: data[fieldMetadata.name] }]);\n setOpenLightbox(true);\n }}\n className={`${!groupedView ? 'kanban-media-image-preview' : 'kanban-image-preview'}`}\n ></img>\n </div>\n }\n {widget === \"image\" && !groupedView && mimeType && mimeType.includes(\"pdf\") && (\n <div className='mt-3' onClick={(e) => e.stopPropagation()}>\n <div className='kanban-media-view-card' onClick={() => setVisible(true)} style={{ cursor: 'pointer' }}>\n <PDFSvg />\n </div>\n <Dialog header={<PDFHeader />} visible={visible} style={{ width: \"\" }} onHide={() => setVisible(false)} modal>\n <Document file={data[fieldMetadata.name]}>\n <Page pageNumber={1} />\n </Document>\n </Dialog>\n </div>\n )}\n\n {widget === \"image\" && !groupedView && mimeType && (mimeType.includes(\"excel\") || mimeType.includes(\"spreadsheet\")) && (\n <a href={data[fieldMetadata.name]} className='kanban-media-view-card mt-3' onClick={(e) => e.stopPropagation()} style={{ cursor: 'pointer' }} download target=\"_blank\" rel=\"noopener noreferrer\">\n <ExcelSvg />\n </a>\n )}\n {widget === \"image\" && !groupedView && mimeType && mimeType.includes(\"audio\") && (\n <a href={data[fieldMetadata.name]} className='kanban-media-view-card my-2' onClick={(e) => e.stopPropagation()} style={{ cursor: 'pointer' }} download target=\"_blank\" rel=\"noopener noreferrer\">\n <Image\n src={MP3Image}\n alt={fileName}\n className=\"relative\"\n height={80}\n width={80}\n />\n </a>\n )}\n {widget === \"image\" && !groupedView && mimeType && mimeType.includes(\"video\") && (\n <a href={data[fieldMetadata.name]} className='kanban-media-view-card mt-3' onClick={(e) => e.stopPropagation()} style={{ cursor: 'pointer' }} download target=\"_blank\" rel=\"noopener noreferrer\">\n <Image\n src={MP4Image}\n alt={fileName}\n className=\"relative\"\n height={80}\n width={80}\n />\n </a>\n )}\n\n {widget === \"image\" && !groupedView && mimeType && !mimeType.includes(\"image/\") &&\n !mimeType.includes(\"pdf\") &&\n !mimeType.includes(\"excel\") &&\n !mimeType.includes(\"spreadsheet\") &&\n !mimeType.includes(\"audio\") &&\n !mimeType.includes(\"video\") && (\n <a href={data[fieldMetadata.name]} className='kanban-media-view-card mt-3' onClick={(e) => e.stopPropagation()} style={{ cursor: 'pointer' }} download target=\"_blank\" rel=\"noopener noreferrer\">\n <Image\n src={FileImage}\n alt={fileName}\n className=\"relative\"\n height={80}\n width={80}\n />\n </a>\n )}\n </div>\n );\n\n};\n\nexport default SolidShortTextKanbanField;\n"]}
1
+ {"version":3,"file":"SolidShortTextKanbanField.js","sourceRoot":"","sources":["../../../../../src/components/core/kanban/kanban-fields/SolidShortTextKanbanField.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,QAAQ,MAAM,gDAAgD,CAAA;AACrE,OAAO,QAAQ,MAAM,gDAAgD,CAAA;AACrE,OAAO,SAAS,MAAM,iDAAiD,CAAA;AACvE,OAAO,KAAK,MAAM,uBAAuB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EACH,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,IAAM,yBAAyB,GAAG,UAAC,EAAyI;;QAAvI,uBAAuB,6BAAA,EAAE,aAAa,mBAAA,EAAE,WAAW,iBAAA,EAAE,IAAI,UAAA,EAAE,eAAe,qBAAA,EAAE,eAAe,qBAAA,EAAE,WAAW,iBAAA;IACnI,IAAA,KAAwB,QAAQ,CAAC,KAAK,CAAC,EAAtC,OAAO,QAAA,EAAE,UAAU,QAAmB,CAAC;IAC9C,IAAM,MAAM,GAAG,CAAA,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,KAAK,0CAAE,MAAM,EAAC,CAAC,CAAC,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,KAAK,0CAAE,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;IAChF,IAAM,QAAQ,GAAG,IAAI,KAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,CAAA,CAAA;IACvC,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M,EAAC,QAAQ,EAAC,GAAG,EAAC,qBAAqB,YAC5L,KAAC,KAAK,IACF,GAAG,EAAE,QAAQ,EACb,GAAG,EAAE,QAAQ,EACb,SAAS,EAAC,UAAU,EACpB,MAAM,EAAE,EAAE,EACV,KAAK,EAAE,EAAE,GACX,GACF,CACP,EAEA,MAAM,KAAK,OAAO,IAAI,CAAC,WAAW,IAAI,QAAQ,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,QAAQ,CAAC;gBAC3E,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC;gBACzB,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC;gBAC3B,CAAC,QAAQ,CAAC,QAAQ,CAAC,aAAa,CAAC;gBACjC,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC;gBAC3B,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAC3B,YAAG,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,SAAS,EAAC,6BAA6B,EAAC,OAAO,EAAE,UAAC,CAAC,IAAK,OAAA,CAAC,CAAC,eAAe,EAAE,EAAnB,CAAmB,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,QAAQ,QAAC,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,qBAAqB,YAC5L,KAAC,KAAK,IACF,GAAG,EAAE,SAAS,EACd,GAAG,EAAE,QAAQ,EACb,SAAS,EAAC,UAAU,EACpB,MAAM,EAAE,EAAE,EACV,KAAK,EAAE,EAAE,GACX,GACF,CACP,IACH,CACT,CAAC;AAEN,CAAC,CAAC;AAEF,eAAe,yBAAyB,CAAC","sourcesContent":["\nimport { useState } from 'react';\nimport { SolidKanbanViewFieldsParams } from '../SolidKanbanViewFields';\nimport { Document, Page } from \"react-pdf\";\nimport { PDFSvg } from '../../../../components/Svg/PDFSvg';\nimport MP3Image from '../../../../resources/images/fileTypes/Mp3.png'\nimport MP4Image from '../../../../resources/images/fileTypes/Mp4.png'\nimport FileImage from '../../../../resources/images/fileTypes/File.png'\nimport Image from \"../../../common/Image\";\nimport { ExcelSvg } from '../../../../components/Svg/ExcelSvg';\nimport {\n SolidDialog,\n SolidDialogBody,\n SolidDialogClose,\n SolidDialogHeader,\n SolidDialogTitle,\n} from \"../../../shad-cn-ui\";\nconst SolidShortTextKanbanField = ({ solidKanbanViewMetaData, fieldMetadata, fieldLayout, data, setLightboxUrls, setOpenLightbox, groupedView }: SolidKanbanViewFieldsParams) => {\n const [visible, setVisible] = useState(false);\n const widget = fieldLayout?.attrs?.widget ? fieldLayout?.attrs?.widget : \"text\";\n const mimeType = data && data?.mimeType\n const fileName = data?.originalFileName;\n return (\n <div className={`${fieldLayout?.attrs?.className ? ` ${fieldLayout.attrs.className}` : \"\"}`}>\n {widget === \"text\" && groupedView &&\n <p className='font-medium'>{fieldLayout?.attrs?.showLabel !== false && fieldLayout?.attrs?.label ? `${fieldLayout?.attrs?.label} : ` : \"\"}{data && data[fieldMetadata.name] ? `${data[fieldMetadata.name]}` : \"\"}</p>\n }\n {widget === \"text\" && !groupedView && fieldMetadata?.name === 'originalFileName' &&\n <p className='font-medium'>{fieldLayout?.attrs?.showLabel !== false && fieldLayout?.attrs?.label ? `${fieldLayout?.attrs?.label} : ` : \"\"}{data && data[fieldMetadata.name] ? `${data[fieldMetadata.name]}` : \"\"}</p>\n }\n {widget === \"text\" && !groupedView && fieldMetadata?.name === 'mimeType' &&\n <span className='solid-mimetype-chip'>{fieldLayout?.attrs?.showLabel !== false && fieldLayout?.attrs?.label ? `${fieldLayout?.attrs?.label} : ` : \"\"}{data && data[fieldMetadata.name] ? `${data[fieldMetadata.name]}` : \"\"}</span>\n }\n {widget === \"image\" && !groupedView && mimeType && mimeType.includes(\"image/\") &&\n < div className='mt-3'>\n <img\n src={data[fieldMetadata.name]}\n onClick={(event) => {\n event.stopPropagation();\n setLightboxUrls([{ src: data[fieldMetadata.name] }]);\n setOpenLightbox(true);\n }}\n className={`${!groupedView ? 'kanban-media-image-preview' : 'kanban-image-preview'}`}\n ></img>\n </div>\n }\n {widget === \"image\" && !groupedView && mimeType && mimeType.includes(\"pdf\") && (\n <div className='mt-3' onClick={(e) => e.stopPropagation()}>\n <div className='kanban-media-view-card' onClick={() => setVisible(true)} style={{ cursor: 'pointer' }}>\n <PDFSvg />\n </div>\n <SolidDialog open={visible} onOpenChange={setVisible} className=\"solid-kanban-preview-dialog\">\n <SolidDialogHeader className=\"solid-kanban-preview-dialog-header\">\n <div className=\"solid-kanban-preview-dialog-title-row\">\n <SolidDialogTitle>{fileName}</SolidDialogTitle>\n <a\n href={data[fieldMetadata.name]}\n download={fileName}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"solid-kanban-preview-download\"\n onClick={(event) => event.stopPropagation()}\n >\n <i className='pi pi-download' />\n </a>\n <SolidDialogClose />\n </div>\n </SolidDialogHeader>\n <SolidDialogBody className=\"solid-kanban-preview-dialog-body\">\n <Document file={data[fieldMetadata.name]}>\n <Page pageNumber={1} />\n </Document>\n </SolidDialogBody>\n </SolidDialog>\n </div>\n )}\n\n {widget === \"image\" && !groupedView && mimeType && (mimeType.includes(\"excel\") || mimeType.includes(\"spreadsheet\")) && (\n <a href={data[fieldMetadata.name]} className='kanban-media-view-card mt-3' onClick={(e) => e.stopPropagation()} style={{ cursor: 'pointer' }} download target=\"_blank\" rel=\"noopener noreferrer\">\n <ExcelSvg />\n </a>\n )}\n {widget === \"image\" && !groupedView && mimeType && mimeType.includes(\"audio\") && (\n <a href={data[fieldMetadata.name]} className='kanban-media-view-card my-2' onClick={(e) => e.stopPropagation()} style={{ cursor: 'pointer' }} download target=\"_blank\" rel=\"noopener noreferrer\">\n <Image\n src={MP3Image}\n alt={fileName}\n className=\"relative\"\n height={80}\n width={80}\n />\n </a>\n )}\n {widget === \"image\" && !groupedView && mimeType && mimeType.includes(\"video\") && (\n <a href={data[fieldMetadata.name]} className='kanban-media-view-card mt-3' onClick={(e) => e.stopPropagation()} style={{ cursor: 'pointer' }} download target=\"_blank\" rel=\"noopener noreferrer\">\n <Image\n src={MP4Image}\n alt={fileName}\n className=\"relative\"\n height={80}\n width={80}\n />\n </a>\n )}\n\n {widget === \"image\" && !groupedView && mimeType && !mimeType.includes(\"image/\") &&\n !mimeType.includes(\"pdf\") &&\n !mimeType.includes(\"excel\") &&\n !mimeType.includes(\"spreadsheet\") &&\n !mimeType.includes(\"audio\") &&\n !mimeType.includes(\"video\") && (\n <a href={data[fieldMetadata.name]} className='kanban-media-view-card mt-3' onClick={(e) => e.stopPropagation()} style={{ cursor: 'pointer' }} download target=\"_blank\" rel=\"noopener noreferrer\">\n <Image\n src={FileImage}\n alt={fileName}\n className=\"relative\"\n height={80}\n width={80}\n />\n </a>\n )}\n </div>\n );\n\n};\n\nexport default SolidShortTextKanbanField;\n"]}
@@ -1,7 +1,6 @@
1
1
 
2
2
  import { useState } from 'react';
3
3
  import { SolidKanbanViewFieldsParams } from '../SolidKanbanViewFields';
4
- import { Dialog } from 'primereact/dialog';
5
4
  import { Document, Page } from "react-pdf";
6
5
  import { PDFSvg } from '../../../../components/Svg/PDFSvg';
7
6
  import MP3Image from '../../../../resources/images/fileTypes/Mp3.png'
@@ -9,29 +8,18 @@ import MP4Image from '../../../../resources/images/fileTypes/Mp4.png'
9
8
  import FileImage from '../../../../resources/images/fileTypes/File.png'
10
9
  import Image from "../../../common/Image";
11
10
  import { ExcelSvg } from '../../../../components/Svg/ExcelSvg';
11
+ import {
12
+ SolidDialog,
13
+ SolidDialogBody,
14
+ SolidDialogClose,
15
+ SolidDialogHeader,
16
+ SolidDialogTitle,
17
+ } from "../../../shad-cn-ui";
12
18
  const SolidShortTextKanbanField = ({ solidKanbanViewMetaData, fieldMetadata, fieldLayout, data, setLightboxUrls, setOpenLightbox, groupedView }: SolidKanbanViewFieldsParams) => {
13
19
  const [visible, setVisible] = useState(false);
14
20
  const widget = fieldLayout?.attrs?.widget ? fieldLayout?.attrs?.widget : "text";
15
21
  const mimeType = data && data?.mimeType
16
22
  const fileName = data?.originalFileName;
17
- const PDFHeader = () => {
18
- return (
19
- <div className='flex justify-content-between align-items-center'>
20
- <p className='m-0'>
21
- {fileName}
22
- </p>
23
- <a
24
- href={data[fieldMetadata.name]}
25
- download={fileName}
26
- target="_blank"
27
- rel="noopener noreferrer"
28
- className='mr-4'
29
- >
30
- <i className='pi pi-download' />
31
- </a>
32
- </div>
33
- )
34
- }
35
23
  return (
36
24
  <div className={`${fieldLayout?.attrs?.className ? ` ${fieldLayout.attrs.className}` : ""}`}>
37
25
  {widget === "text" && groupedView &&
@@ -61,11 +49,29 @@ const SolidShortTextKanbanField = ({ solidKanbanViewMetaData, fieldMetadata, fie
61
49
  <div className='kanban-media-view-card' onClick={() => setVisible(true)} style={{ cursor: 'pointer' }}>
62
50
  <PDFSvg />
63
51
  </div>
64
- <Dialog header={<PDFHeader />} visible={visible} style={{ width: "" }} onHide={() => setVisible(false)} modal>
65
- <Document file={data[fieldMetadata.name]}>
66
- <Page pageNumber={1} />
67
- </Document>
68
- </Dialog>
52
+ <SolidDialog open={visible} onOpenChange={setVisible} className="solid-kanban-preview-dialog">
53
+ <SolidDialogHeader className="solid-kanban-preview-dialog-header">
54
+ <div className="solid-kanban-preview-dialog-title-row">
55
+ <SolidDialogTitle>{fileName}</SolidDialogTitle>
56
+ <a
57
+ href={data[fieldMetadata.name]}
58
+ download={fileName}
59
+ target="_blank"
60
+ rel="noopener noreferrer"
61
+ className="solid-kanban-preview-download"
62
+ onClick={(event) => event.stopPropagation()}
63
+ >
64
+ <i className='pi pi-download' />
65
+ </a>
66
+ <SolidDialogClose />
67
+ </div>
68
+ </SolidDialogHeader>
69
+ <SolidDialogBody className="solid-kanban-preview-dialog-body">
70
+ <Document file={data[fieldMetadata.name]}>
71
+ <Page pageNumber={1} />
72
+ </Document>
73
+ </SolidDialogBody>
74
+ </SolidDialog>
69
75
  </div>
70
76
  )}
71
77
 
@@ -1 +1 @@
1
- {"version":3,"file":"SolidRelationManyToOneKanbanField.js","sourceRoot":"","sources":["../../../../../../src/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.tsx"],"names":[],"mappings":";AAOA,IAAM,iCAAiC,GAAG,UAAC,EAAyF;QAAvF,uBAAuB,6BAAA,EAAE,aAAa,mBAAA,EAAE,WAAW,iBAAA,EAAC,IAAI,UAAA;IAEjG,OAAO,CACJ,mBAAK,CACP,CAAC;AAEN,CAAC,CAAC;AAEF,eAAe,iCAAiC,CAAC","sourcesContent":["\nimport { FilterMatchMode } from 'primereact/api';\nimport { Column, ColumnFilterElementTemplateOptions } from \"primereact/column\";\nimport { FormEvent } from \"primereact/ts-helpers\";\nimport { InputTypes, SolidVarInputsFilterElement } from '../../../../../components/core/kanban/SolidVarInputsFilterElement';\nimport { SolidKanbanViewFieldsParams } from '../../../../../components/core/kanban/SolidKanbanViewFields';\n\nconst SolidRelationManyToOneKanbanField = ({ solidKanbanViewMetaData, fieldMetadata, fieldLayout,data }: SolidKanbanViewFieldsParams) => {\n \n return (\n <></>\n );\n\n};\n\nexport default SolidRelationManyToOneKanbanField;"]}
1
+ {"version":3,"file":"SolidRelationManyToOneKanbanField.js","sourceRoot":"","sources":["../../../../../../src/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.tsx"],"names":[],"mappings":";AAOA,IAAM,iCAAiC,GAAG,UAAC,EAAyF;QAAvF,uBAAuB,6BAAA,EAAE,aAAa,mBAAA,EAAE,WAAW,iBAAA,EAAC,IAAI,UAAA;IAEjG,OAAO,CACJ,mBAAK,CACP,CAAC;AAEN,CAAC,CAAC;AAEF,eAAe,iCAAiC,CAAC","sourcesContent":["\nimport { FilterMatchMode } from 'primereact/api';\nimport { Column, ColumnFilterElementTemplateOptions } from \"primereact/column\";\nimport { FormEvent } from \"primereact/ts-helpers\";\nimport { InputTypes, SolidVarInputsFilterElement } from '../../../../../components/core/filter/SolidVarInputsFilterElement';\nimport { SolidKanbanViewFieldsParams } from '../../../../../components/core/kanban/SolidKanbanViewFields';\n\nconst SolidRelationManyToOneKanbanField = ({ solidKanbanViewMetaData, fieldMetadata, fieldLayout,data }: SolidKanbanViewFieldsParams) => {\n \n return (\n <></>\n );\n\n};\n\nexport default SolidRelationManyToOneKanbanField;\n"]}
@@ -2,7 +2,7 @@
2
2
  import { FilterMatchMode } from 'primereact/api';
3
3
  import { Column, ColumnFilterElementTemplateOptions } from "primereact/column";
4
4
  import { FormEvent } from "primereact/ts-helpers";
5
- import { InputTypes, SolidVarInputsFilterElement } from '../../../../../components/core/kanban/SolidVarInputsFilterElement';
5
+ import { InputTypes, SolidVarInputsFilterElement } from '../../../../../components/core/filter/SolidVarInputsFilterElement';
6
6
  import { SolidKanbanViewFieldsParams } from '../../../../../components/core/kanban/SolidKanbanViewFields';
7
7
 
8
8
  const SolidRelationManyToOneKanbanField = ({ solidKanbanViewMetaData, fieldMetadata, fieldLayout,data }: SolidKanbanViewFieldsParams) => {
@@ -13,4 +13,4 @@ const SolidRelationManyToOneKanbanField = ({ solidKanbanViewMetaData, fieldMetad
13
13
 
14
14
  };
15
15
 
16
- export default SolidRelationManyToOneKanbanField;
16
+ export default SolidRelationManyToOneKanbanField;
@@ -1 +1 @@
1
- {"version":3,"file":"ListViewRowActionPopup.d.ts","sourceRoot":"","sources":["../../../../src/components/core/list/ListViewRowActionPopup.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,sBAAsB,gBAAiB,GAAG,4CAgCtD,CAAA"}
1
+ {"version":3,"file":"ListViewRowActionPopup.d.ts","sourceRoot":"","sources":["../../../../src/components/core/list/ListViewRowActionPopup.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,sBAAsB,gBAAiB,GAAG,4CAoCtD,CAAA"}
@@ -10,8 +10,9 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
13
- import { Button } from "primereact/button";
13
+ import { Check, X } from "lucide-react";
14
14
  import { getExtensionComponent } from "../../../helpers/registry";
15
+ import { SolidButton } from "../../shad-cn-ui";
15
16
  export var ListViewRowActionPopup = function (_a) {
16
17
  //Note if there is not custom component the need a api call to server
17
18
  // GenerateModuleCode is my custom compoennt that will trigger code generation
@@ -27,6 +28,6 @@ export var ListViewRowActionPopup = function (_a) {
27
28
  return (_jsx("div", { children: ((_c = context === null || context === void 0 ? void 0 : context.rowAction) === null || _c === void 0 ? void 0 : _c.action) ?
28
29
  DynamicWidget && _jsx(DynamicWidget, __assign({}, widgetProps))
29
30
  :
30
- _jsxs(_Fragment, { children: [_jsx("h1", { children: context === null || context === void 0 ? void 0 : context.modelName }), _jsx("h1", { children: context === null || context === void 0 ? void 0 : context.moduleName }), _jsxs("div", { className: "flex justify-content-center", children: [_jsx(Button, { label: "Confirm", icon: "pi pi-check", className: 'small-button', severity: "danger", autoFocus: true, onClick: triggerServerAction }), _jsx(Button, { label: "Cancel", icon: "pi pi-times", className: 'small-button', onClick: function () { return context.closeCustomRowActionPopup(); } })] })] }) }));
31
+ _jsxs(_Fragment, { children: [_jsx("h1", { children: context === null || context === void 0 ? void 0 : context.modelName }), _jsx("h1", { children: context === null || context === void 0 ? void 0 : context.moduleName }), _jsxs("div", { className: "flex justify-content-center", children: [_jsx(SolidButton, { className: 'small-button', variant: "destructive", autoFocus: true, onClick: triggerServerAction, leftIcon: _jsx(Check, { size: 14 }), children: "Confirm" }), _jsx(SolidButton, { className: 'small-button', variant: "outline", onClick: function () { return context.closeCustomRowActionPopup(); }, leftIcon: _jsx(X, { size: 14 }), children: "Cancel" })] })] }) }));
31
32
  };
32
33
  //# sourceMappingURL=ListViewRowActionPopup.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ListViewRowActionPopup.js","sourceRoot":"","sources":["../../../../src/components/core/list/ListViewRowActionPopup.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC1C,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAGlE,MAAM,CAAC,IAAM,sBAAsB,GAAG,UAAC,EAAgB;IAEnD,sEAAsE;IACtE,gFAAgF;IAChF,oGAAoG;;QAJ/D,OAAO,aAAA;IAM5C,IAAM,mBAAmB,GAAG;IAE5B,CAAC,CAAA;IAED,IAAI,aAAa,GAAG,qBAAqB,CAAC,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,SAAS,0CAAE,MAAM,CAAC,CAAC;IACtE,IAAM,WAAW,GAAG;QAChB,OAAO,EAAE,OAAO;KACnB,CAAA;IAED,OAAO,CACH,wBAEQ,CAAA,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,SAAS,0CAAE,MAAM,EAAC,CAAC;YACxB,aAAa,IAAI,KAAC,aAAa,eAAK,WAAW,EAAI;YACnD,CAAC;gBACD,8BACI,uBAAK,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,SAAS,GAAM,EAC7B,uBAAK,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,UAAU,GAAM,EAC9B,eAAK,SAAS,EAAC,6BAA6B,aACxC,KAAC,MAAM,IAAC,KAAK,EAAC,SAAS,EAAC,IAAI,EAAC,aAAa,EAAC,SAAS,EAAC,cAAc,EAAC,QAAQ,EAAC,QAAQ,EAAC,SAAS,QAAC,OAAO,EAAE,mBAAmB,GAAI,EAChI,KAAC,MAAM,IAAC,KAAK,EAAC,QAAQ,EAAC,IAAI,EAAC,aAAa,EAAC,SAAS,EAAC,cAAc,EAAC,OAAO,EAAE,cAAM,OAAA,OAAO,CAAC,yBAAyB,EAAE,EAAnC,CAAmC,GAAI,IACvH,IACP,GAET,CACT,CAAA;AACL,CAAC,CAAA","sourcesContent":["\nimport { Button } from \"primereact/button\"\nimport { getExtensionComponent } from \"../../../helpers/registry\";\n\n\nexport const ListViewRowActionPopup = ({ context }: any) => {\n\n //Note if there is not custom component the need a api call to server \n // GenerateModuleCode is my custom compoennt that will trigger code generation \n //Render dynamic lsit action contains code for dynamically rendering compoennt or retunr a fall back\n\n const triggerServerAction = () => {\n\n }\n\n let DynamicWidget = getExtensionComponent(context?.rowAction?.action);\n const widgetProps = {\n context: context\n }\n\n return (\n <div>\n {\n context?.rowAction?.action ?\n DynamicWidget && <DynamicWidget {...widgetProps} />\n :\n <>\n <h1>{context?.modelName}</h1>\n <h1>{context?.moduleName}</h1>\n <div className=\"flex justify-content-center\">\n <Button label=\"Confirm\" icon=\"pi pi-check\" className='small-button' severity=\"danger\" autoFocus onClick={triggerServerAction} />\n <Button label=\"Cancel\" icon=\"pi pi-times\" className='small-button' onClick={() => context.closeCustomRowActionPopup()} />\n </div>\n </>\n }\n </div>\n )\n}\n\n\n"]}
1
+ {"version":3,"file":"ListViewRowActionPopup.js","sourceRoot":"","sources":["../../../../src/components/core/list/ListViewRowActionPopup.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAG/C,MAAM,CAAC,IAAM,sBAAsB,GAAG,UAAC,EAAgB;IAEnD,sEAAsE;IACtE,gFAAgF;IAChF,oGAAoG;;QAJ/D,OAAO,aAAA;IAM5C,IAAM,mBAAmB,GAAG;IAE5B,CAAC,CAAA;IAED,IAAI,aAAa,GAAG,qBAAqB,CAAC,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,SAAS,0CAAE,MAAM,CAAC,CAAC;IACtE,IAAM,WAAW,GAAG;QAChB,OAAO,EAAE,OAAO;KACnB,CAAA;IAED,OAAO,CACH,wBAEQ,CAAA,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,SAAS,0CAAE,MAAM,EAAC,CAAC;YACxB,aAAa,IAAI,KAAC,aAAa,eAAK,WAAW,EAAI;YACnD,CAAC;gBACD,8BACI,uBAAK,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,SAAS,GAAM,EAC7B,uBAAK,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,UAAU,GAAM,EAC9B,eAAK,SAAS,EAAC,6BAA6B,aACxC,KAAC,WAAW,IAAC,SAAS,EAAC,cAAc,EAAC,OAAO,EAAC,aAAa,EAAC,SAAS,QAAC,OAAO,EAAE,mBAAmB,EAAE,QAAQ,EAAE,KAAC,KAAK,IAAC,IAAI,EAAE,EAAE,GAAI,wBAEnH,EACd,KAAC,WAAW,IAAC,SAAS,EAAC,cAAc,EAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAE,cAAM,OAAA,OAAO,CAAC,yBAAyB,EAAE,EAAnC,CAAmC,EAAE,QAAQ,EAAE,KAAC,CAAC,IAAC,IAAI,EAAE,EAAE,GAAI,uBAEvH,IACZ,IACP,GAET,CACT,CAAA;AACL,CAAC,CAAA","sourcesContent":["import { Check, X } from \"lucide-react\";\nimport { getExtensionComponent } from \"../../../helpers/registry\";\nimport { SolidButton } from \"../../shad-cn-ui\";\n\n\nexport const ListViewRowActionPopup = ({ context }: any) => {\n\n //Note if there is not custom component the need a api call to server \n // GenerateModuleCode is my custom compoennt that will trigger code generation \n //Render dynamic lsit action contains code for dynamically rendering compoennt or retunr a fall back\n\n const triggerServerAction = () => {\n\n }\n\n let DynamicWidget = getExtensionComponent(context?.rowAction?.action);\n const widgetProps = {\n context: context\n }\n\n return (\n <div>\n {\n context?.rowAction?.action ?\n DynamicWidget && <DynamicWidget {...widgetProps} />\n :\n <>\n <h1>{context?.modelName}</h1>\n <h1>{context?.moduleName}</h1>\n <div className=\"flex justify-content-center\">\n <SolidButton className='small-button' variant=\"destructive\" autoFocus onClick={triggerServerAction} leftIcon={<Check size={14} />}>\n Confirm\n </SolidButton>\n <SolidButton className='small-button' variant=\"outline\" onClick={() => context.closeCustomRowActionPopup()} leftIcon={<X size={14} />}>\n Cancel\n </SolidButton>\n </div>\n </>\n }\n </div>\n )\n}\n\n"]}
@@ -1,6 +1,6 @@
1
-
2
- import { Button } from "primereact/button"
1
+ import { Check, X } from "lucide-react";
3
2
  import { getExtensionComponent } from "../../../helpers/registry";
3
+ import { SolidButton } from "../../shad-cn-ui";
4
4
 
5
5
 
6
6
  export const ListViewRowActionPopup = ({ context }: any) => {
@@ -28,8 +28,12 @@ export const ListViewRowActionPopup = ({ context }: any) => {
28
28
  <h1>{context?.modelName}</h1>
29
29
  <h1>{context?.moduleName}</h1>
30
30
  <div className="flex justify-content-center">
31
- <Button label="Confirm" icon="pi pi-check" className='small-button' severity="danger" autoFocus onClick={triggerServerAction} />
32
- <Button label="Cancel" icon="pi pi-times" className='small-button' onClick={() => context.closeCustomRowActionPopup()} />
31
+ <SolidButton className='small-button' variant="destructive" autoFocus onClick={triggerServerAction} leftIcon={<Check size={14} />}>
32
+ Confirm
33
+ </SolidButton>
34
+ <SolidButton className='small-button' variant="outline" onClick={() => context.closeCustomRowActionPopup()} leftIcon={<X size={14} />}>
35
+ Cancel
36
+ </SolidButton>
33
37
  </div>
34
38
  </>
35
39
  }
@@ -37,4 +41,3 @@ export const ListViewRowActionPopup = ({ context }: any) => {
37
41
  )
38
42
  }
39
43
 
40
-
@@ -43,10 +43,30 @@
43
43
 
44
44
  ## Phase 4: Filters + Search
45
45
  - [ ] Keep predicate model unchanged (`custom_filter_predicate`, `search_predicate`, `saved_filter_predicate`, `predefined_search_predicate`, grouping/aggregation).
46
- - [ ] Migrate `SolidGlobalSearchElement` dialogs/popovers to shadcn.
47
- - [ ] Migrate `FilterComponent` rule builder UI to shadcn controls.
46
+ - [ ] Migrate `SolidGlobalSearchElement` shell off PrimeReact first.
47
+ Current reality:
48
+ `FilterComponent` already uses `SolidButton`, `SolidAutocomplete`, `SolidInput`, and `SolidSelect`, but the search shell still depends on Prime `Dialog`, `Button`, `Divider`, and `InputText`.
49
+ - [ ] Replace `SolidGlobalSearchElement` dialog stack with internal dialog/popover primitives.
50
+ Targets:
51
+ custom filter dialog, grouping dialog, saved-filter edit dialog, save-filter dialog, delete-confirm dialog.
52
+ - [ ] Replace `SolidGlobalSearchElement` toolbar/search-entry controls with internal primitives.
53
+ Targets:
54
+ search input, saved-filter actions, predefined-search actions, clear/apply buttons, overlay list actions.
55
+ - [ ] Remove Prime button usage inside saved-filter list/actions.
56
+ - [ ] Migrate `FilterComponent` container shell off Prime `Fieldset`.
57
+ Keep existing predicate/rule state shape and `transformFilterRules(...)` contract unchanged.
58
+ - [ ] Replace remaining Prime icon class usage in filter flow with non-Prime icons.
59
+ - [ ] Audit `SolidFilterFields` and list filter input widgets for hidden Prime event-shape coupling.
48
60
  - [ ] Preserve saved filter URL behavior (`savedQuery`) and local cache behavior.
49
61
  - [ ] Confirm relation filter hydration still works.
62
+ - [ ] Preserve `clearFilter()` and imperative `SolidListViewHandle.applyFilter(...)` behavior unchanged.
63
+
64
+ ## Phase 4A: Recommended Execution Order For Filters
65
+ - [ ] 1) Introduce/standardize a reusable internal dialog primitive if missing.
66
+ - [ ] 2) Convert `SolidGlobalSearchElement` dialogs without changing filter logic.
67
+ - [ ] 3) Convert search-entry row, chip/actions, and saved-filter action buttons.
68
+ - [ ] 4) Replace `FilterComponent` Prime `Fieldset` shell.
69
+ - [ ] 5) Verify `transformFiltersToRules`, `transformRulesToFilters`, `mergeAllDiffFilters`, and relation hydration parity.
50
70
 
51
71
  ## Phase 5: Configure Menu + Column Selector
52
72
  - [ ] Replace cog overlay/context menu with shadcn dropdown/popover.
@@ -1,2 +1,2 @@
1
- export declare const SolidListColumnSelector: ({ listViewMetaData, customizeLayout }: any) => import("react/jsx-runtime").JSX.Element | undefined;
1
+ export declare const SolidListColumnSelector: ({ listViewMetaData, onClose }: any) => import("react/jsx-runtime").JSX.Element | undefined;
2
2
  //# sourceMappingURL=SolidListColumnSelector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SolidListColumnSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/core/list/SolidColumnSelector/SolidListColumnSelector.tsx"],"names":[],"mappings":"AAoBA,eAAO,MAAM,uBAAuB,0CAA2C,GAAG,wDA0MjF,CAAA"}
1
+ {"version":3,"file":"SolidListColumnSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/core/list/SolidColumnSelector/SolidListColumnSelector.tsx"],"names":[],"mappings":"AAkBA,eAAO,MAAM,uBAAuB,kCAAmC,GAAG,wDAuMzE,CAAA"}
@@ -56,8 +56,6 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
56
56
  };
57
57
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
58
58
  import { useFormik } from 'formik';
59
- import { Button } from 'primereact/button';
60
- import { Checkbox } from 'primereact/checkbox';
61
59
  import { useState } from 'react';
62
60
  import { useDispatch } from 'react-redux';
63
61
  import { createSolidEntityApi } from '../../../../redux/api/solidEntityApi';
@@ -67,8 +65,7 @@ import { ERROR_MESSAGES } from '../../../../constants/error-messages';
67
65
  import { showToast } from '../../../../redux/features/toastSlice';
68
66
  export var SolidListColumnSelector = function (_a) {
69
67
  var _b, _c;
70
- var listViewMetaData = _a.listViewMetaData, customizeLayout = _a.customizeLayout;
71
- console.log("listViewMetaData column selector", listViewMetaData);
68
+ var listViewMetaData = _a.listViewMetaData, onClose = _a.onClose;
72
69
  var dispatch = useDispatch();
73
70
  var _d = useState(false), isDragging = _d[0], setIsDragging = _d[1];
74
71
  var entityApi = createSolidEntityApi('userViewMetadata');
@@ -193,14 +190,12 @@ export var SolidListColumnSelector = function (_a) {
193
190
  reordered.splice(result.destination.index, 0, moved);
194
191
  setFields(reordered);
195
192
  };
196
- return (_jsx(_Fragment, { children: _jsxs("form", { onSubmit: formik.handleSubmit, className: "flex flex-column gap-1 px-2", children: [_jsx(DragDropContext, { onDragEnd: onDragEnd, onDragStart: function () { return setIsDragging(true); }, children: _jsx(Droppable, { droppableId: "columns", children: function (provided) { return (_jsxs("div", __assign({}, provided.droppableProps, { ref: provided.innerRef, className: "flex flex-column cogwheel-column-filter px-1 ".concat(isDragging ? styles.SolidColumnDragContextActive : ''), style: { maxHeight: 400, overflowY: 'auto' }, children: [fields.map(function (column, index) { return (_jsx(Draggable, { draggableId: column.key, index: index, children: function (provided, snapshot) { return (_jsxs("div", __assign({ ref: provided.innerRef }, provided.draggableProps, provided.dragHandleProps, { className: "flex align-items-center justify-content-between gap-3 px-3 py-2 ".concat(snapshot.isDragging ? styles.SolidColumnDraggedActiveElement : ''), style: __assign({}, provided.draggableProps.style), children: [_jsxs("div", { className: 'flex align-items-center gap-1', children: [_jsx(Checkbox, { inputId: column.key, name: "selectedColumns", value: column, onChange: function () {
193
+ return (_jsx(_Fragment, { children: _jsxs("form", { onSubmit: formik.handleSubmit, className: "flex flex-column gap-1 px-0", children: [_jsx(DragDropContext, { onDragEnd: onDragEnd, onDragStart: function () { return setIsDragging(true); }, children: _jsx(Droppable, { droppableId: "columns", children: function (provided) { return (_jsxs("div", __assign({}, provided.droppableProps, { ref: provided.innerRef, className: "flex flex-column cogwheel-column-filter px-0 ".concat(isDragging ? styles.SolidColumnDragContextActive : ''), style: { maxHeight: 400, overflowY: 'auto' }, children: [fields.map(function (column, index) { return (_jsx(Draggable, { draggableId: column.key, index: index, children: function (provided, snapshot) { return (_jsxs("div", __assign({ ref: provided.innerRef }, provided.draggableProps, provided.dragHandleProps, { className: "flex align-items-center justify-content-between gap-3 px-2 py-2 ".concat(snapshot.isDragging ? styles.SolidColumnDraggedActiveElement : ''), style: __assign({}, provided.draggableProps.style), children: [_jsxs("label", { htmlFor: column.key, className: 'solid-column-selector-item-main', children: [_jsx("input", { id: column.key, type: "checkbox", name: "selectedColumns", className: "solid-column-selector-checkbox", checked: formik.values.selectedColumns.some(function (item) { return item.key === column.key; }), onChange: function () {
197
194
  var isChecked = formik.values.selectedColumns.some(function (item) { return item.key === column.key; });
198
195
  formik.setFieldValue("selectedColumns", isChecked
199
196
  ? formik.values.selectedColumns.filter(function (item) { return item.key !== column.key; })
200
197
  : __spreadArray(__spreadArray([], formik.values.selectedColumns, true), [column], false));
201
- }, checked: formik.values.selectedColumns.some(function (item) { return item.key === column.key; }), className: "text-base flex align-items-center" }), _jsx("label", { htmlFor: column.key, className: "ml-2 text-base", children: column.name })] }), _jsx(DragActive, { active: snapshot.isDragging })] }))); } }, column.key)); }), provided.placeholder] }))); } }) }), _jsxs("div", { className: "p-3 flex gap-2", children: [_jsx(Button, { type: 'submit', label: "Apply", size: "small" }), _jsx(Button, { type: 'button', outlined: true, label: "Cancel", size: "small",
202
- // @ts-ignore
203
- onClick: function (e) { return customizeLayout.current.hide(e); } })] })] }) }));
198
+ } }), _jsx("span", { className: "solid-column-selector-label", children: column.name })] }), _jsx(DragActive, { active: snapshot.isDragging })] }))); } }, column.key)); }), provided.placeholder] }))); } }) }), _jsxs("div", { className: "solid-column-selector-actions", children: [_jsx("button", { type: 'submit', className: "solid-compact-action-button solid-compact-action-button-primary", children: "Apply" }), _jsx("button", { type: 'button', className: "solid-compact-action-button", onClick: function () { return onClose === null || onClose === void 0 ? void 0 : onClose(); }, children: "Cancel" })] })] }) }));
204
199
  };
205
200
  var DragActive = function (_a) {
206
201
  var active = _a.active;