@solidxai/core-ui 0.1.7-beta.1 → 0.1.7-beta.4

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 (1128) hide show
  1. package/dist/components/auth/AuthLayout.d.ts.map +1 -1
  2. package/dist/components/auth/AuthLayout.js +41 -26
  3. package/dist/components/auth/AuthLayout.js.map +1 -1
  4. package/dist/components/auth/AuthLayout.tsx +87 -88
  5. package/dist/components/auth/ForgotPasswordThankYou.d.ts.map +1 -1
  6. package/dist/components/auth/ForgotPasswordThankYou.js +4 -2
  7. package/dist/components/auth/ForgotPasswordThankYou.js.map +1 -1
  8. package/dist/components/auth/ForgotPasswordThankYou.tsx +14 -11
  9. package/dist/components/auth/GoogleAuthChecking.d.ts.map +1 -1
  10. package/dist/components/auth/GoogleAuthChecking.js +17 -12
  11. package/dist/components/auth/GoogleAuthChecking.js.map +1 -1
  12. package/dist/components/auth/GoogleAuthChecking.tsx +8 -5
  13. package/dist/components/auth/SolidChangeForcePassword.d.ts.map +1 -1
  14. package/dist/components/auth/SolidChangeForcePassword.js +3 -5
  15. package/dist/components/auth/SolidChangeForcePassword.js.map +1 -1
  16. package/dist/components/auth/SolidChangeForcePassword.tsx +41 -34
  17. package/dist/components/auth/SolidForgotPassword.d.ts.map +1 -1
  18. package/dist/components/auth/SolidForgotPassword.js +5 -10
  19. package/dist/components/auth/SolidForgotPassword.js.map +1 -1
  20. package/dist/components/auth/SolidForgotPassword.tsx +26 -27
  21. package/dist/components/auth/SolidInitialLoginOtp.d.ts.map +1 -1
  22. package/dist/components/auth/SolidInitialLoginOtp.js +25 -25
  23. package/dist/components/auth/SolidInitialLoginOtp.js.map +1 -1
  24. package/dist/components/auth/SolidInitialLoginOtp.tsx +55 -43
  25. package/dist/components/auth/SolidInitiateRegisterOtp.d.ts.map +1 -1
  26. package/dist/components/auth/SolidInitiateRegisterOtp.js +11 -16
  27. package/dist/components/auth/SolidInitiateRegisterOtp.js.map +1 -1
  28. package/dist/components/auth/SolidInitiateRegisterOtp.tsx +48 -42
  29. package/dist/components/auth/SolidLogin.d.ts.map +1 -1
  30. package/dist/components/auth/SolidLogin.js +34 -35
  31. package/dist/components/auth/SolidLogin.js.map +1 -1
  32. package/dist/components/auth/SolidLogin.tsx +90 -115
  33. package/dist/components/auth/SolidRegister.d.ts.map +1 -1
  34. package/dist/components/auth/SolidRegister.js +23 -25
  35. package/dist/components/auth/SolidRegister.js.map +1 -1
  36. package/dist/components/auth/SolidRegister.tsx +53 -71
  37. package/dist/components/auth/SolidResetPassword.d.ts.map +1 -1
  38. package/dist/components/auth/SolidResetPassword.js +5 -15
  39. package/dist/components/auth/SolidResetPassword.js.map +1 -1
  40. package/dist/components/auth/SolidResetPassword.tsx +15 -37
  41. package/dist/components/common/AutoCompleteField.d.ts.map +1 -1
  42. package/dist/components/common/AutoCompleteField.js +2 -2
  43. package/dist/components/common/AutoCompleteField.js.map +1 -1
  44. package/dist/components/common/AutoCompleteField.tsx +4 -6
  45. package/dist/components/common/BackButton.js +4 -3
  46. package/dist/components/common/BackButton.js.map +1 -1
  47. package/dist/components/common/BackButton.tsx +6 -6
  48. package/dist/components/common/CancelButton.d.ts.map +1 -1
  49. package/dist/components/common/CancelButton.js +5 -4
  50. package/dist/components/common/CancelButton.js.map +1 -1
  51. package/dist/components/common/CancelButton.tsx +10 -6
  52. package/dist/components/common/CreateButton.d.ts.map +1 -1
  53. package/dist/components/common/CreateButton.js +2 -2
  54. package/dist/components/common/CreateButton.js.map +1 -1
  55. package/dist/components/common/CreateButton.tsx +8 -2
  56. package/dist/components/common/DownloadProgressToast.d.ts.map +1 -1
  57. package/dist/components/common/DownloadProgressToast.js +3 -3
  58. package/dist/components/common/DownloadProgressToast.js.map +1 -1
  59. package/dist/components/common/DownloadProgressToast.tsx +21 -18
  60. package/dist/components/common/DropzonePlaceholder.js +2 -2
  61. package/dist/components/common/DropzonePlaceholder.js.map +1 -1
  62. package/dist/components/common/DropzonePlaceholder.tsx +3 -3
  63. package/dist/components/common/DropzoneUpload.js +2 -2
  64. package/dist/components/common/DropzoneUpload.js.map +1 -1
  65. package/dist/components/common/DropzoneUpload.tsx +3 -3
  66. package/dist/components/common/GeneralSettings.d.ts.map +1 -1
  67. package/dist/components/common/GeneralSettings.js +70 -106
  68. package/dist/components/common/GeneralSettings.js.map +1 -1
  69. package/dist/components/common/GeneralSettings.tsx +168 -327
  70. package/dist/components/common/GlobalToast.d.ts +1 -1
  71. package/dist/components/common/GlobalToast.d.ts.map +1 -1
  72. package/dist/components/common/GlobalToast.js +1 -24
  73. package/dist/components/common/GlobalToast.js.map +1 -1
  74. package/dist/components/common/GlobalToast.tsx +1 -25
  75. package/dist/components/common/MultipleSelectAutoCompleteField.d.ts.map +1 -1
  76. package/dist/components/common/MultipleSelectAutoCompleteField.js +2 -2
  77. package/dist/components/common/MultipleSelectAutoCompleteField.js.map +1 -1
  78. package/dist/components/common/MultipleSelectAutoCompleteField.tsx +3 -5
  79. package/dist/components/common/NotFound.d.ts.map +1 -1
  80. package/dist/components/common/NotFound.js +3 -3
  81. package/dist/components/common/NotFound.js.map +1 -1
  82. package/dist/components/common/NotFound.tsx +8 -15
  83. package/dist/components/common/SocialMediaLogin.d.ts.map +1 -1
  84. package/dist/components/common/SocialMediaLogin.js +13 -4
  85. package/dist/components/common/SocialMediaLogin.js.map +1 -1
  86. package/dist/components/common/SocialMediaLogin.tsx +58 -45
  87. package/dist/components/common/SolidAdmin.d.ts.map +1 -1
  88. package/dist/components/common/SolidAdmin.js +10 -2
  89. package/dist/components/common/SolidAdmin.js.map +1 -1
  90. package/dist/components/common/SolidAdmin.tsx +116 -131
  91. package/dist/components/common/SolidBreadcrumb.d.ts.map +1 -1
  92. package/dist/components/common/SolidBreadcrumb.js +10 -25
  93. package/dist/components/common/SolidBreadcrumb.js.map +1 -1
  94. package/dist/components/common/SolidBreadcrumb.tsx +32 -26
  95. package/dist/components/common/SolidErrorPage.d.ts.map +1 -1
  96. package/dist/components/common/SolidErrorPage.js +4 -6
  97. package/dist/components/common/SolidErrorPage.js.map +1 -1
  98. package/dist/components/common/SolidErrorPage.tsx +11 -37
  99. package/dist/components/common/SolidExport.d.ts +1 -1
  100. package/dist/components/common/SolidExport.d.ts.map +1 -1
  101. package/dist/components/common/SolidExport.js +182 -221
  102. package/dist/components/common/SolidExport.js.map +1 -1
  103. package/dist/components/common/SolidExport.tsx +401 -453
  104. package/dist/components/common/SolidFieldTooltip.d.ts +1 -1
  105. package/dist/components/common/SolidFieldTooltip.d.ts.map +1 -1
  106. package/dist/components/common/SolidFieldTooltip.js +8 -7
  107. package/dist/components/common/SolidFieldTooltip.js.map +1 -1
  108. package/dist/components/common/SolidFieldTooltip.tsx +29 -16
  109. package/dist/components/common/SolidFormHeader.d.ts +1 -1
  110. package/dist/components/common/SolidFormHeader.d.ts.map +1 -1
  111. package/dist/components/common/SolidFormHeader.js +7 -5
  112. package/dist/components/common/SolidFormHeader.js.map +1 -1
  113. package/dist/components/common/SolidFormHeader.tsx +11 -6
  114. package/dist/components/common/SolidFormStepper.d.ts.map +1 -1
  115. package/dist/components/common/SolidFormStepper.js +7 -22
  116. package/dist/components/common/SolidFormStepper.js.map +1 -1
  117. package/dist/components/common/SolidFormStepper.tsx +31 -50
  118. package/dist/components/common/SolidHeaderRequestStatus.d.ts +6 -0
  119. package/dist/components/common/SolidHeaderRequestStatus.d.ts.map +1 -0
  120. package/dist/components/common/SolidHeaderRequestStatus.js +9 -0
  121. package/dist/components/common/SolidHeaderRequestStatus.js.map +1 -0
  122. package/dist/components/common/SolidHeaderRequestStatus.tsx +16 -0
  123. package/dist/components/common/SolidModuleHome.d.ts.map +1 -1
  124. package/dist/components/common/SolidModuleHome.js +3 -3
  125. package/dist/components/common/SolidModuleHome.js.map +1 -1
  126. package/dist/components/common/SolidModuleHome.tsx +13 -5
  127. package/dist/components/common/SolidNotFoundPage.d.ts.map +1 -1
  128. package/dist/components/common/SolidNotFoundPage.js +4 -5
  129. package/dist/components/common/SolidNotFoundPage.js.map +1 -1
  130. package/dist/components/common/SolidNotFoundPage.tsx +11 -29
  131. package/dist/components/common/SolidPopupContainer.d.ts.map +1 -1
  132. package/dist/components/common/SolidPopupContainer.js +11 -6
  133. package/dist/components/common/SolidPopupContainer.js.map +1 -1
  134. package/dist/components/common/SolidPopupContainer.tsx +28 -29
  135. package/dist/components/common/SolidSettings/LlmSettings/AiModelConfigTab.d.ts +11 -0
  136. package/dist/components/common/SolidSettings/LlmSettings/AiModelConfigTab.d.ts.map +1 -0
  137. package/dist/components/common/SolidSettings/LlmSettings/AiModelConfigTab.js +60 -0
  138. package/dist/components/common/SolidSettings/LlmSettings/AiModelConfigTab.js.map +1 -0
  139. package/dist/components/common/SolidSettings/LlmSettings/AiModelConfigTab.tsx +76 -0
  140. package/dist/components/common/SolidSettings/LlmSettings/AnthropicProviderComponent.d.ts.map +1 -1
  141. package/dist/components/common/SolidSettings/LlmSettings/AnthropicProviderComponent.js +2 -3
  142. package/dist/components/common/SolidSettings/LlmSettings/AnthropicProviderComponent.js.map +1 -1
  143. package/dist/components/common/SolidSettings/LlmSettings/AnthropicProviderComponent.tsx +28 -38
  144. package/dist/components/common/SolidSettings/LlmSettings/OpenAiProviderComponent.d.ts.map +1 -1
  145. package/dist/components/common/SolidSettings/LlmSettings/OpenAiProviderComponent.js +2 -3
  146. package/dist/components/common/SolidSettings/LlmSettings/OpenAiProviderComponent.js.map +1 -1
  147. package/dist/components/common/SolidSettings/LlmSettings/OpenAiProviderComponent.tsx +28 -38
  148. package/dist/components/common/SolidSettings/SettingDropzoneActivePlaceholder.js +2 -2
  149. package/dist/components/common/SolidSettings/SettingDropzoneActivePlaceholder.js.map +1 -1
  150. package/dist/components/common/SolidSettings/SettingDropzoneActivePlaceholder.tsx +3 -3
  151. package/dist/components/common/SolidSettings/SettingsImageRemoveButton.js +2 -2
  152. package/dist/components/common/SolidSettings/SettingsImageRemoveButton.js.map +1 -1
  153. package/dist/components/common/SolidSettings/SettingsImageRemoveButton.tsx +3 -3
  154. package/dist/components/common/SolidToastProvider.d.ts +2 -0
  155. package/dist/components/common/SolidToastProvider.d.ts.map +1 -0
  156. package/dist/components/common/SolidToastProvider.js +45 -0
  157. package/dist/components/common/SolidToastProvider.js.map +1 -0
  158. package/dist/components/common/SolidToastProvider.tsx +39 -0
  159. package/dist/components/common/error.d.ts.map +1 -1
  160. package/dist/components/common/error.js +4 -2
  161. package/dist/components/common/error.js.map +1 -1
  162. package/dist/components/common/error.tsx +9 -15
  163. package/dist/components/common/solid-export.css +454 -59
  164. package/dist/components/core/card/CardGrid.d.ts +3 -0
  165. package/dist/components/core/card/CardGrid.d.ts.map +1 -0
  166. package/dist/components/core/card/CardGrid.js +42 -0
  167. package/dist/components/core/card/CardGrid.js.map +1 -0
  168. package/dist/components/core/card/CardGrid.tsx +83 -0
  169. package/dist/components/core/card/CardItem.d.ts +13 -0
  170. package/dist/components/core/card/CardItem.d.ts.map +1 -0
  171. package/dist/components/core/card/CardItem.js +21 -0
  172. package/dist/components/core/card/CardItem.js.map +1 -0
  173. package/dist/components/core/card/CardItem.tsx +91 -0
  174. package/dist/components/core/card/CardUserViewLayout.d.ts +2 -0
  175. package/dist/components/core/card/CardUserViewLayout.d.ts.map +1 -0
  176. package/dist/components/core/card/CardUserViewLayout.js +94 -0
  177. package/dist/components/core/card/CardUserViewLayout.js.map +1 -0
  178. package/dist/components/core/card/CardUserViewLayout.tsx +68 -0
  179. package/dist/components/core/card/SolidCardView.d.ts +8 -0
  180. package/dist/components/core/card/SolidCardView.d.ts.map +1 -0
  181. package/dist/components/core/card/SolidCardView.js +365 -0
  182. package/dist/components/core/card/SolidCardView.js.map +1 -0
  183. package/dist/components/core/card/SolidCardView.tsx +528 -0
  184. package/dist/components/core/card/SolidCardViewConfigure.d.ts +2 -0
  185. package/dist/components/core/card/SolidCardViewConfigure.d.ts.map +1 -0
  186. package/dist/components/core/card/SolidCardViewConfigure.js +122 -0
  187. package/dist/components/core/card/SolidCardViewConfigure.js.map +1 -0
  188. package/dist/components/core/card/SolidCardViewConfigure.tsx +268 -0
  189. package/dist/components/core/chatter/SolidChatter.d.ts.map +1 -1
  190. package/dist/components/core/chatter/SolidChatter.js +25 -21
  191. package/dist/components/core/chatter/SolidChatter.js.map +1 -1
  192. package/dist/components/core/chatter/SolidChatter.tsx +85 -67
  193. package/dist/components/core/chatter/SolidChatterAuditMessage.js +1 -1
  194. package/dist/components/core/chatter/SolidChatterAuditMessage.js.map +1 -1
  195. package/dist/components/core/chatter/SolidChatterAuditMessage.tsx +3 -3
  196. package/dist/components/core/chatter/SolidChatterCustomMessage.d.ts.map +1 -1
  197. package/dist/components/core/chatter/SolidChatterCustomMessage.js +2 -1
  198. package/dist/components/core/chatter/SolidChatterCustomMessage.js.map +1 -1
  199. package/dist/components/core/chatter/SolidChatterCustomMessage.tsx +3 -6
  200. package/dist/components/core/chatter/SolidChatterDateDivider.js.map +1 -1
  201. package/dist/components/core/chatter/SolidChatterDateDivider.tsx +1 -1
  202. package/dist/components/core/chatter/SolidChatterHeader.d.ts +1 -0
  203. package/dist/components/core/chatter/SolidChatterHeader.d.ts.map +1 -1
  204. package/dist/components/core/chatter/SolidChatterHeader.js +40 -30
  205. package/dist/components/core/chatter/SolidChatterHeader.js.map +1 -1
  206. package/dist/components/core/chatter/SolidChatterHeader.tsx +137 -101
  207. package/dist/components/core/chatter/SolidChatterMessageBox.d.ts.map +1 -1
  208. package/dist/components/core/chatter/SolidChatterMessageBox.js +55 -21
  209. package/dist/components/core/chatter/SolidChatterMessageBox.js.map +1 -1
  210. package/dist/components/core/chatter/SolidChatterMessageBox.tsx +124 -91
  211. package/dist/components/core/chatter/SolidMessageComposer.d.ts +6 -3
  212. package/dist/components/core/chatter/SolidMessageComposer.d.ts.map +1 -1
  213. package/dist/components/core/chatter/SolidMessageComposer.js +15 -7
  214. package/dist/components/core/chatter/SolidMessageComposer.js.map +1 -1
  215. package/dist/components/core/chatter/SolidMessageComposer.tsx +90 -49
  216. package/dist/components/core/chatter/chatter.module.css +197 -7
  217. package/dist/components/core/common/FilterComponent.d.ts +2 -8
  218. package/dist/components/core/common/FilterComponent.d.ts.map +1 -1
  219. package/dist/components/core/common/FilterComponent.js +27 -49
  220. package/dist/components/core/common/FilterComponent.js.map +1 -1
  221. package/dist/components/core/common/FilterComponent.tsx +69 -127
  222. package/dist/components/core/common/GroupingComponent.d.ts.map +1 -1
  223. package/dist/components/core/common/GroupingComponent.js +40 -70
  224. package/dist/components/core/common/GroupingComponent.js.map +1 -1
  225. package/dist/components/core/common/GroupingComponent.tsx +174 -251
  226. package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.d.ts +1 -1
  227. package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.d.ts.map +1 -1
  228. package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.js +12 -32
  229. package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.js.map +1 -1
  230. package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.module.css +530 -42
  231. package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.tsx +71 -86
  232. package/dist/components/core/common/SolidAccountSettings/SolidChangePassword.d.ts.map +1 -1
  233. package/dist/components/core/common/SolidAccountSettings/SolidChangePassword.js +75 -48
  234. package/dist/components/core/common/SolidAccountSettings/SolidChangePassword.js.map +1 -1
  235. package/dist/components/core/common/SolidAccountSettings/SolidChangePassword.tsx +242 -172
  236. package/dist/components/core/common/SolidAccountSettings/SolidNotifications.d.ts.map +1 -1
  237. package/dist/components/core/common/SolidAccountSettings/SolidNotifications.js +44 -55
  238. package/dist/components/core/common/SolidAccountSettings/SolidNotifications.js.map +1 -1
  239. package/dist/components/core/common/SolidAccountSettings/SolidNotifications.tsx +108 -125
  240. package/dist/components/core/common/SolidAccountSettings/SolidPersonalInfo.d.ts.map +1 -1
  241. package/dist/components/core/common/SolidAccountSettings/SolidPersonalInfo.js +106 -87
  242. package/dist/components/core/common/SolidAccountSettings/SolidPersonalInfo.js.map +1 -1
  243. package/dist/components/core/common/SolidAccountSettings/SolidPersonalInfo.tsx +332 -285
  244. package/dist/components/core/common/SolidAccountSettings/SolidVersionInfo.d.ts.map +1 -1
  245. package/dist/components/core/common/SolidAccountSettings/SolidVersionInfo.js +12 -13
  246. package/dist/components/core/common/SolidAccountSettings/SolidVersionInfo.js.map +1 -1
  247. package/dist/components/core/common/SolidAccountSettings/SolidVersionInfo.tsx +48 -65
  248. package/dist/components/core/common/SolidCreateButton.d.ts.map +1 -1
  249. package/dist/components/core/common/SolidCreateButton.js +5 -3
  250. package/dist/components/core/common/SolidCreateButton.js.map +1 -1
  251. package/dist/components/core/common/SolidCreateButton.tsx +20 -14
  252. package/dist/components/core/common/SolidGenericImport/SolidGenericImport.d.ts.map +1 -1
  253. package/dist/components/core/common/SolidGenericImport/SolidGenericImport.js +30 -11
  254. package/dist/components/core/common/SolidGenericImport/SolidGenericImport.js.map +1 -1
  255. package/dist/components/core/common/SolidGenericImport/SolidGenericImport.tsx +91 -43
  256. package/dist/components/core/common/SolidGenericImport/SolidImport.module.css +574 -27
  257. package/dist/components/core/common/SolidGenericImport/SolidImportDropzone.d.ts.map +1 -1
  258. package/dist/components/core/common/SolidGenericImport/SolidImportDropzone.js +14 -9
  259. package/dist/components/core/common/SolidGenericImport/SolidImportDropzone.js.map +1 -1
  260. package/dist/components/core/common/SolidGenericImport/SolidImportDropzone.tsx +46 -24
  261. package/dist/components/core/common/SolidGenericImport/SolidImportInstructions.d.ts.map +1 -1
  262. package/dist/components/core/common/SolidGenericImport/SolidImportInstructions.js +24 -25
  263. package/dist/components/core/common/SolidGenericImport/SolidImportInstructions.js.map +1 -1
  264. package/dist/components/core/common/SolidGenericImport/SolidImportInstructions.tsx +78 -54
  265. package/dist/components/core/common/SolidGenericImport/SolidImportStepper.d.ts +1 -1
  266. package/dist/components/core/common/SolidGenericImport/SolidImportStepper.d.ts.map +1 -1
  267. package/dist/components/core/common/SolidGenericImport/SolidImportStepper.js +15 -125
  268. package/dist/components/core/common/SolidGenericImport/SolidImportStepper.js.map +1 -1
  269. package/dist/components/core/common/SolidGenericImport/SolidImportStepper.tsx +35 -213
  270. package/dist/components/core/common/SolidGenericImport/SolidImportTransaction.d.ts.map +1 -1
  271. package/dist/components/core/common/SolidGenericImport/SolidImportTransaction.js +16 -31
  272. package/dist/components/core/common/SolidGenericImport/SolidImportTransaction.js.map +1 -1
  273. package/dist/components/core/common/SolidGenericImport/SolidImportTransaction.tsx +77 -84
  274. package/dist/components/core/common/SolidGenericImport/SolidImportTransactionStatus.d.ts.map +1 -1
  275. package/dist/components/core/common/SolidGenericImport/SolidImportTransactionStatus.js +11 -13
  276. package/dist/components/core/common/SolidGenericImport/SolidImportTransactionStatus.js.map +1 -1
  277. package/dist/components/core/common/SolidGenericImport/SolidImportTransactionStatus.tsx +87 -52
  278. package/dist/components/core/common/SolidGlobalSearchElement.d.ts.map +1 -1
  279. package/dist/components/core/common/SolidGlobalSearchElement.js +319 -161
  280. package/dist/components/core/common/SolidGlobalSearchElement.js.map +1 -1
  281. package/dist/components/core/common/SolidGlobalSearchElement.tsx +654 -287
  282. package/dist/components/core/common/SolidLayoutViews.d.ts.map +1 -1
  283. package/dist/components/core/common/SolidLayoutViews.js +5 -8
  284. package/dist/components/core/common/SolidLayoutViews.js.map +1 -1
  285. package/dist/components/core/common/SolidLayoutViews.tsx +49 -63
  286. package/dist/components/core/common/SolidListViewOptions.d.ts.map +1 -1
  287. package/dist/components/core/common/SolidListViewOptions.js +3 -3
  288. package/dist/components/core/common/SolidListViewOptions.js.map +1 -1
  289. package/dist/components/core/common/SolidListViewOptions.tsx +7 -6
  290. package/dist/components/core/common/SolidSaveCustomFilterForm.d.ts.map +1 -1
  291. package/dist/components/core/common/SolidSaveCustomFilterForm.js +3 -3
  292. package/dist/components/core/common/SolidSaveCustomFilterForm.js.map +1 -1
  293. package/dist/components/core/common/SolidSaveCustomFilterForm.tsx +31 -28
  294. package/dist/components/core/common/SolidSearchBox.d.ts.map +1 -1
  295. package/dist/components/core/common/SolidSearchBox.js +2 -2
  296. package/dist/components/core/common/SolidSearchBox.js.map +1 -1
  297. package/dist/components/core/common/SolidSearchBox.tsx +3 -4
  298. package/dist/components/core/dashboard/DashboardFilter.d.ts.map +1 -1
  299. package/dist/components/core/dashboard/DashboardFilter.js +8 -14
  300. package/dist/components/core/dashboard/DashboardFilter.js.map +1 -1
  301. package/dist/components/core/dashboard/DashboardFilter.tsx +26 -34
  302. package/dist/components/core/dashboard/PrimeDataTableWrapper.js +2 -2
  303. package/dist/components/core/dashboard/PrimeDataTableWrapper.js.map +1 -1
  304. package/dist/components/core/dashboard/PrimeDataTableWrapper.tsx +3 -3
  305. package/dist/components/core/dashboard/SolidDashboard.d.ts.map +1 -1
  306. package/dist/components/core/dashboard/SolidDashboard.js +13 -125
  307. package/dist/components/core/dashboard/SolidDashboard.js.map +1 -1
  308. package/dist/components/core/dashboard/SolidDashboard.module.css +3 -3
  309. package/dist/components/core/dashboard/SolidDashboard.tsx +41 -187
  310. package/dist/components/core/dashboard/SolidDashboardBody.d.ts.map +1 -1
  311. package/dist/components/core/dashboard/SolidDashboardBody.js +14 -14
  312. package/dist/components/core/dashboard/SolidDashboardBody.js.map +1 -1
  313. package/dist/components/core/dashboard/SolidDashboardBody.tsx +6 -7
  314. package/dist/components/core/dashboard/SolidDashboardFilterRequired.js +2 -1
  315. package/dist/components/core/dashboard/SolidDashboardFilterRequired.js.map +1 -1
  316. package/dist/components/core/dashboard/SolidDashboardFilterRequired.tsx +3 -3
  317. package/dist/components/core/dashboard/SolidDashboardLoading.d.ts.map +1 -1
  318. package/dist/components/core/dashboard/SolidDashboardLoading.js +5 -2
  319. package/dist/components/core/dashboard/SolidDashboardLoading.js.map +1 -1
  320. package/dist/components/core/dashboard/SolidDashboardLoading.tsx +20 -14
  321. package/dist/components/core/dashboard/SolidDashboardNotAvailable.js +2 -1
  322. package/dist/components/core/dashboard/SolidDashboardNotAvailable.js.map +1 -1
  323. package/dist/components/core/dashboard/SolidDashboardNotAvailable.tsx +3 -3
  324. package/dist/components/core/dashboard/SolidDashboardRenderError.d.ts.map +1 -1
  325. package/dist/components/core/dashboard/SolidDashboardRenderError.js +2 -1
  326. package/dist/components/core/dashboard/SolidDashboardRenderError.js.map +1 -1
  327. package/dist/components/core/dashboard/SolidDashboardRenderError.tsx +3 -4
  328. package/dist/components/core/dashboard/SolidDashboardVariable.d.ts.map +1 -1
  329. package/dist/components/core/dashboard/SolidDashboardVariable.js +9 -18
  330. package/dist/components/core/dashboard/SolidDashboardVariable.js.map +1 -1
  331. package/dist/components/core/dashboard/SolidDashboardVariable.tsx +40 -37
  332. package/dist/components/core/dashboard/SolidQuestionRenderer.d.ts.map +1 -1
  333. package/dist/components/core/dashboard/SolidQuestionRenderer.js +16 -11
  334. package/dist/components/core/dashboard/SolidQuestionRenderer.js.map +1 -1
  335. package/dist/components/core/dashboard/SolidQuestionRenderer.tsx +30 -11
  336. package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.d.ts.map +1 -1
  337. package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.js +4 -14
  338. package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.js.map +1 -1
  339. package/dist/components/core/dashboard/chart-renderers/PrimeReactDatatableRenderer.tsx +24 -27
  340. package/dist/components/core/extension/solid-core/CustomIcon/StatusIcon.d.ts +1 -2
  341. package/dist/components/core/extension/solid-core/CustomIcon/StatusIcon.d.ts.map +1 -1
  342. package/dist/components/core/extension/solid-core/CustomIcon/StatusIcon.js +2 -2
  343. package/dist/components/core/extension/solid-core/CustomIcon/StatusIcon.js.map +1 -1
  344. package/dist/components/core/extension/solid-core/CustomIcon/StatusIcon.tsx +10 -12
  345. package/dist/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.js +2 -2
  346. package/dist/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.js.map +1 -1
  347. package/dist/components/core/extension/solid-core/dashboardQuestion/ChartFormPreviewWidget.tsx +3 -3
  348. package/dist/components/core/extension/solid-core/media/card/MediaCardWidget.d.ts +3 -0
  349. package/dist/components/core/extension/solid-core/media/card/MediaCardWidget.d.ts.map +1 -0
  350. package/dist/components/core/extension/solid-core/media/card/MediaCardWidget.js +69 -0
  351. package/dist/components/core/extension/solid-core/media/card/MediaCardWidget.js.map +1 -0
  352. package/dist/components/core/extension/solid-core/media/card/MediaCardWidget.tsx +139 -0
  353. package/dist/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.d.ts.map +1 -1
  354. package/dist/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.js +3 -6
  355. package/dist/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.js.map +1 -1
  356. package/dist/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.tsx +54 -38
  357. package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.d.ts.map +1 -1
  358. package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.js +74 -97
  359. package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.js.map +1 -1
  360. package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.tsx +178 -188
  361. package/dist/components/core/extension/solid-core/moduleMetadata/list/DeleteModuleRowAction.d.ts.map +1 -1
  362. package/dist/components/core/extension/solid-core/moduleMetadata/list/DeleteModuleRowAction.js +33 -35
  363. package/dist/components/core/extension/solid-core/moduleMetadata/list/DeleteModuleRowAction.js.map +1 -1
  364. package/dist/components/core/extension/solid-core/moduleMetadata/list/DeleteModuleRowAction.tsx +123 -110
  365. package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.d.ts.map +1 -1
  366. package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.js +70 -106
  367. package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.js.map +1 -1
  368. package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.tsx +175 -182
  369. package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanCardWidget.d.ts +3 -0
  370. package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanCardWidget.d.ts.map +1 -0
  371. package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanCardWidget.js +128 -0
  372. package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanCardWidget.js.map +1 -0
  373. package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanCardWidget.tsx +193 -0
  374. package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.d.ts.map +1 -1
  375. package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.js +10 -18
  376. package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.js.map +1 -1
  377. package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.tsx +32 -53
  378. package/dist/components/core/field/FieldListViewData.d.ts.map +1 -1
  379. package/dist/components/core/field/FieldListViewData.js +83 -74
  380. package/dist/components/core/field/FieldListViewData.js.map +1 -1
  381. package/dist/components/core/field/FieldListViewData.tsx +120 -168
  382. package/dist/components/core/filter/SEARCH_FILTER_HIERARCHY.md +582 -0
  383. package/dist/components/core/filter/SolidBooleanFilterElement.d.ts +1 -1
  384. package/dist/components/core/filter/SolidBooleanFilterElement.d.ts.map +1 -1
  385. package/dist/components/core/filter/SolidBooleanFilterElement.js +4 -4
  386. package/dist/components/core/filter/SolidBooleanFilterElement.js.map +1 -1
  387. package/dist/components/core/filter/SolidBooleanFilterElement.tsx +7 -6
  388. package/dist/components/core/filter/SolidManyToManyFilterElement.d.ts +1 -1
  389. package/dist/components/core/filter/SolidManyToManyFilterElement.d.ts.map +1 -1
  390. package/dist/components/core/filter/SolidManyToManyFilterElement.js +5 -9
  391. package/dist/components/core/filter/SolidManyToManyFilterElement.js.map +1 -1
  392. package/dist/components/core/filter/SolidManyToManyFilterElement.tsx +8 -7
  393. package/dist/components/core/filter/SolidManyToOneFilterElement.d.ts +1 -1
  394. package/dist/components/core/filter/SolidManyToOneFilterElement.d.ts.map +1 -1
  395. package/dist/components/core/filter/SolidManyToOneFilterElement.js +4 -4
  396. package/dist/components/core/filter/SolidManyToOneFilterElement.js.map +1 -1
  397. package/dist/components/core/filter/SolidManyToOneFilterElement.tsx +7 -6
  398. package/dist/components/core/filter/SolidOneToManyFilterElement.d.ts +1 -1
  399. package/dist/components/core/filter/SolidOneToManyFilterElement.d.ts.map +1 -1
  400. package/dist/components/core/filter/SolidOneToManyFilterElement.js +5 -9
  401. package/dist/components/core/filter/SolidOneToManyFilterElement.js.map +1 -1
  402. package/dist/components/core/filter/SolidOneToManyFilterElement.tsx +8 -7
  403. package/dist/components/core/filter/SolidSelectionDynamicFilterElement.d.ts +1 -1
  404. package/dist/components/core/filter/SolidSelectionDynamicFilterElement.d.ts.map +1 -1
  405. package/dist/components/core/filter/SolidSelectionDynamicFilterElement.js +4 -4
  406. package/dist/components/core/filter/SolidSelectionDynamicFilterElement.js.map +1 -1
  407. package/dist/components/core/filter/SolidSelectionDynamicFilterElement.tsx +7 -6
  408. package/dist/components/core/filter/SolidSelectionStaticFilterElement.d.ts +1 -1
  409. package/dist/components/core/filter/SolidSelectionStaticFilterElement.d.ts.map +1 -1
  410. package/dist/components/core/filter/SolidSelectionStaticFilterElement.js +4 -4
  411. package/dist/components/core/filter/SolidSelectionStaticFilterElement.js.map +1 -1
  412. package/dist/components/core/filter/SolidSelectionStaticFilterElement.tsx +7 -6
  413. package/dist/components/core/filter/SolidVarInputsFilterElement.d.ts +1 -1
  414. package/dist/components/core/filter/SolidVarInputsFilterElement.d.ts.map +1 -1
  415. package/dist/components/core/filter/SolidVarInputsFilterElement.js +109 -38
  416. package/dist/components/core/filter/SolidVarInputsFilterElement.js.map +1 -1
  417. package/dist/components/core/filter/SolidVarInputsFilterElement.tsx +215 -155
  418. package/dist/components/core/filter/fields/SolidBooleanField.js +3 -3
  419. package/dist/components/core/filter/fields/SolidBooleanField.js.map +1 -1
  420. package/dist/components/core/filter/fields/SolidBooleanField.tsx +6 -6
  421. package/dist/components/core/filter/fields/SolidDateField.d.ts.map +1 -1
  422. package/dist/components/core/filter/fields/SolidDateField.js +3 -5
  423. package/dist/components/core/filter/fields/SolidDateField.js.map +1 -1
  424. package/dist/components/core/filter/fields/SolidDateField.tsx +6 -8
  425. package/dist/components/core/filter/fields/SolidDatetimeField.js +3 -3
  426. package/dist/components/core/filter/fields/SolidDatetimeField.js.map +1 -1
  427. package/dist/components/core/filter/fields/SolidDatetimeField.tsx +5 -5
  428. package/dist/components/core/filter/fields/SolidExternalIdField.js +5 -5
  429. package/dist/components/core/filter/fields/SolidExternalIdField.js.map +1 -1
  430. package/dist/components/core/filter/fields/SolidExternalIdField.tsx +8 -8
  431. package/dist/components/core/filter/fields/SolidIdField.d.ts.map +1 -1
  432. package/dist/components/core/filter/fields/SolidIdField.js +11 -4
  433. package/dist/components/core/filter/fields/SolidIdField.js.map +1 -1
  434. package/dist/components/core/filter/fields/SolidIdField.tsx +12 -5
  435. package/dist/components/core/filter/fields/SolidIntField.d.ts.map +1 -1
  436. package/dist/components/core/filter/fields/SolidIntField.js +3 -5
  437. package/dist/components/core/filter/fields/SolidIntField.js.map +1 -1
  438. package/dist/components/core/filter/fields/SolidIntField.tsx +6 -8
  439. package/dist/components/core/filter/fields/SolidMediaMultipleField.d.ts.map +1 -1
  440. package/dist/components/core/filter/fields/SolidMediaMultipleField.js +3 -5
  441. package/dist/components/core/filter/fields/SolidMediaMultipleField.js.map +1 -1
  442. package/dist/components/core/filter/fields/SolidMediaMultipleField.tsx +6 -8
  443. package/dist/components/core/filter/fields/SolidMediaSingleField.d.ts.map +1 -1
  444. package/dist/components/core/filter/fields/SolidMediaSingleField.js +3 -5
  445. package/dist/components/core/filter/fields/SolidMediaSingleField.js.map +1 -1
  446. package/dist/components/core/filter/fields/SolidMediaSingleField.tsx +6 -8
  447. package/dist/components/core/filter/fields/SolidSelectionDynamicField.js +3 -3
  448. package/dist/components/core/filter/fields/SolidSelectionDynamicField.js.map +1 -1
  449. package/dist/components/core/filter/fields/SolidSelectionDynamicField.tsx +5 -5
  450. package/dist/components/core/filter/fields/SolidSelectionStaticField.js +3 -3
  451. package/dist/components/core/filter/fields/SolidSelectionStaticField.js.map +1 -1
  452. package/dist/components/core/filter/fields/SolidSelectionStaticField.tsx +5 -5
  453. package/dist/components/core/filter/fields/SolidShortTextField.d.ts.map +1 -1
  454. package/dist/components/core/filter/fields/SolidShortTextField.js +3 -5
  455. package/dist/components/core/filter/fields/SolidShortTextField.js.map +1 -1
  456. package/dist/components/core/filter/fields/SolidShortTextField.tsx +6 -8
  457. package/dist/components/core/filter/fields/SolidTimeField.js +3 -3
  458. package/dist/components/core/filter/fields/SolidTimeField.js.map +1 -1
  459. package/dist/components/core/filter/fields/SolidTimeField.tsx +5 -5
  460. package/dist/components/core/filter/fields/SolidUuidField.js +5 -5
  461. package/dist/components/core/filter/fields/SolidUuidField.js.map +1 -1
  462. package/dist/components/core/filter/fields/SolidUuidField.tsx +8 -8
  463. package/dist/components/core/filter/fields/relations/SolidRelationManyToManyField.js +2 -2
  464. package/dist/components/core/filter/fields/relations/SolidRelationManyToManyField.js.map +1 -1
  465. package/dist/components/core/filter/fields/relations/SolidRelationManyToManyField.tsx +4 -4
  466. package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.js +3 -3
  467. package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.js.map +1 -1
  468. package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.tsx +5 -5
  469. package/dist/components/core/filter/fields/relations/SolidRelationOneToManyField.js +2 -2
  470. package/dist/components/core/filter/fields/relations/SolidRelationOneToManyField.js.map +1 -1
  471. package/dist/components/core/filter/fields/relations/SolidRelationOneToManyField.tsx +4 -4
  472. package/dist/components/core/filter/filterMatchMode.d.ts +17 -0
  473. package/dist/components/core/filter/filterMatchMode.d.ts.map +1 -0
  474. package/dist/components/core/filter/filterMatchMode.js +16 -0
  475. package/dist/components/core/filter/filterMatchMode.js.map +1 -0
  476. package/dist/components/core/filter/filterMatchMode.ts +18 -0
  477. package/dist/components/core/form/SolidFormActionHeader.d.ts +1 -1
  478. package/dist/components/core/form/SolidFormActionHeader.d.ts.map +1 -1
  479. package/dist/components/core/form/SolidFormActionHeader.js +60 -54
  480. package/dist/components/core/form/SolidFormActionHeader.js.map +1 -1
  481. package/dist/components/core/form/SolidFormActionHeader.tsx +356 -331
  482. package/dist/components/core/form/SolidFormFieldRender.js +2 -2
  483. package/dist/components/core/form/SolidFormFieldRender.js.map +1 -1
  484. package/dist/components/core/form/SolidFormFieldRender.tsx +2 -2
  485. package/dist/components/core/form/SolidFormFooter.d.ts.map +1 -1
  486. package/dist/components/core/form/SolidFormFooter.js +2 -2
  487. package/dist/components/core/form/SolidFormFooter.js.map +1 -1
  488. package/dist/components/core/form/SolidFormFooter.tsx +26 -18
  489. package/dist/components/core/form/SolidFormUserViewLayout.d.ts.map +1 -1
  490. package/dist/components/core/form/SolidFormUserViewLayout.js +3 -6
  491. package/dist/components/core/form/SolidFormUserViewLayout.js.map +1 -1
  492. package/dist/components/core/form/SolidFormUserViewLayout.tsx +8 -12
  493. package/dist/components/core/form/SolidFormView.d.ts +0 -3
  494. package/dist/components/core/form/SolidFormView.d.ts.map +1 -1
  495. package/dist/components/core/form/SolidFormView.js +62 -100
  496. package/dist/components/core/form/SolidFormView.js.map +1 -1
  497. package/dist/components/core/form/SolidFormView.tsx +140 -163
  498. package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.d.ts +3 -1
  499. package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.d.ts.map +1 -1
  500. package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.js +22 -16
  501. package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.js.map +1 -1
  502. package/dist/components/core/form/SolidFormViewContextMenuHeaderButton.tsx +46 -17
  503. package/dist/components/core/form/SolidFormViewNormalHeaderButton.d.ts +3 -1
  504. package/dist/components/core/form/SolidFormViewNormalHeaderButton.d.ts.map +1 -1
  505. package/dist/components/core/form/SolidFormViewNormalHeaderButton.js +21 -15
  506. package/dist/components/core/form/SolidFormViewNormalHeaderButton.js.map +1 -1
  507. package/dist/components/core/form/SolidFormViewNormalHeaderButton.tsx +39 -17
  508. package/dist/components/core/form/SolidFormViewShimmerLoading.d.ts.map +1 -1
  509. package/dist/components/core/form/SolidFormViewShimmerLoading.js +5 -2
  510. package/dist/components/core/form/SolidFormViewShimmerLoading.js.map +1 -1
  511. package/dist/components/core/form/SolidFormViewShimmerLoading.tsx +40 -37
  512. package/dist/components/core/form/fields/SolidBooleanField.d.ts +1 -1
  513. package/dist/components/core/form/fields/SolidBooleanField.d.ts.map +1 -1
  514. package/dist/components/core/form/fields/SolidBooleanField.js +80 -69
  515. package/dist/components/core/form/fields/SolidBooleanField.js.map +1 -1
  516. package/dist/components/core/form/fields/SolidBooleanField.tsx +116 -145
  517. package/dist/components/core/form/fields/SolidDateField.d.ts.map +1 -1
  518. package/dist/components/core/form/fields/SolidDateField.js +22 -49
  519. package/dist/components/core/form/fields/SolidDateField.js.map +1 -1
  520. package/dist/components/core/form/fields/SolidDateField.tsx +30 -72
  521. package/dist/components/core/form/fields/SolidDateTimeField.d.ts.map +1 -1
  522. package/dist/components/core/form/fields/SolidDateTimeField.js +22 -48
  523. package/dist/components/core/form/fields/SolidDateTimeField.js.map +1 -1
  524. package/dist/components/core/form/fields/SolidDateTimeField.tsx +33 -69
  525. package/dist/components/core/form/fields/SolidDecimalField.d.ts +1 -1
  526. package/dist/components/core/form/fields/SolidDecimalField.d.ts.map +1 -1
  527. package/dist/components/core/form/fields/SolidDecimalField.js +17 -17
  528. package/dist/components/core/form/fields/SolidDecimalField.js.map +1 -1
  529. package/dist/components/core/form/fields/SolidDecimalField.tsx +21 -24
  530. package/dist/components/core/form/fields/SolidEmailField.d.ts.map +1 -1
  531. package/dist/components/core/form/fields/SolidEmailField.js +11 -15
  532. package/dist/components/core/form/fields/SolidEmailField.js.map +1 -1
  533. package/dist/components/core/form/fields/SolidEmailField.tsx +27 -33
  534. package/dist/components/core/form/fields/SolidIntegerField.d.ts +1 -1
  535. package/dist/components/core/form/fields/SolidIntegerField.d.ts.map +1 -1
  536. package/dist/components/core/form/fields/SolidIntegerField.js +12 -9
  537. package/dist/components/core/form/fields/SolidIntegerField.js.map +1 -1
  538. package/dist/components/core/form/fields/SolidIntegerField.tsx +23 -24
  539. package/dist/components/core/form/fields/SolidJsonField.d.ts.map +1 -1
  540. package/dist/components/core/form/fields/SolidJsonField.js +15 -10
  541. package/dist/components/core/form/fields/SolidJsonField.js.map +1 -1
  542. package/dist/components/core/form/fields/SolidJsonField.tsx +21 -20
  543. package/dist/components/core/form/fields/SolidLongTextField.d.ts.map +1 -1
  544. package/dist/components/core/form/fields/SolidLongTextField.js +28 -44
  545. package/dist/components/core/form/fields/SolidLongTextField.js.map +1 -1
  546. package/dist/components/core/form/fields/SolidLongTextField.tsx +90 -119
  547. package/dist/components/core/form/fields/SolidMediaMultipleField.d.ts.map +1 -1
  548. package/dist/components/core/form/fields/SolidMediaMultipleField.js +33 -41
  549. package/dist/components/core/form/fields/SolidMediaMultipleField.js.map +1 -1
  550. package/dist/components/core/form/fields/SolidMediaMultipleField.tsx +96 -94
  551. package/dist/components/core/form/fields/SolidMediaSingleField.d.ts.map +1 -1
  552. package/dist/components/core/form/fields/SolidMediaSingleField.js +10 -23
  553. package/dist/components/core/form/fields/SolidMediaSingleField.js.map +1 -1
  554. package/dist/components/core/form/fields/SolidMediaSingleField.tsx +94 -91
  555. package/dist/components/core/form/fields/SolidPasswordField.d.ts.map +1 -1
  556. package/dist/components/core/form/fields/SolidPasswordField.js +29 -32
  557. package/dist/components/core/form/fields/SolidPasswordField.js.map +1 -1
  558. package/dist/components/core/form/fields/SolidPasswordField.tsx +89 -88
  559. package/dist/components/core/form/fields/SolidRichTextField.d.ts.map +1 -1
  560. package/dist/components/core/form/fields/SolidRichTextField.js +6 -8
  561. package/dist/components/core/form/fields/SolidRichTextField.js.map +1 -1
  562. package/dist/components/core/form/fields/SolidRichTextField.tsx +31 -46
  563. package/dist/components/core/form/fields/SolidSelectionDynamicField.d.ts.map +1 -1
  564. package/dist/components/core/form/fields/SolidSelectionDynamicField.js +36 -24
  565. package/dist/components/core/form/fields/SolidSelectionDynamicField.js.map +1 -1
  566. package/dist/components/core/form/fields/SolidSelectionDynamicField.tsx +56 -61
  567. package/dist/components/core/form/fields/SolidSelectionStaticField.d.ts.map +1 -1
  568. package/dist/components/core/form/fields/SolidSelectionStaticField.js +60 -74
  569. package/dist/components/core/form/fields/SolidSelectionStaticField.js.map +1 -1
  570. package/dist/components/core/form/fields/SolidSelectionStaticField.tsx +99 -167
  571. package/dist/components/core/form/fields/SolidShortTextField.d.ts.map +1 -1
  572. package/dist/components/core/form/fields/SolidShortTextField.js +23 -36
  573. package/dist/components/core/form/fields/SolidShortTextField.js.map +1 -1
  574. package/dist/components/core/form/fields/SolidShortTextField.tsx +54 -119
  575. package/dist/components/core/form/fields/SolidTimeField.d.ts.map +1 -1
  576. package/dist/components/core/form/fields/SolidTimeField.js +14 -14
  577. package/dist/components/core/form/fields/SolidTimeField.js.map +1 -1
  578. package/dist/components/core/form/fields/SolidTimeField.tsx +23 -26
  579. package/dist/components/core/form/fields/fieldEventUtils.d.ts +10 -0
  580. package/dist/components/core/form/fields/fieldEventUtils.d.ts.map +1 -0
  581. package/dist/components/core/form/fields/fieldEventUtils.js +11 -0
  582. package/dist/components/core/form/fields/fieldEventUtils.js.map +1 -0
  583. package/dist/components/core/form/fields/fieldEventUtils.ts +24 -0
  584. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.d.ts.map +1 -1
  585. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js +19 -12
  586. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js.map +1 -1
  587. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +57 -53
  588. package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.d.ts.map +1 -1
  589. package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js +37 -25
  590. package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js.map +1 -1
  591. package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +52 -34
  592. package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.d.ts.map +1 -1
  593. package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js +9 -8
  594. package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js.map +1 -1
  595. package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +15 -18
  596. package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.d.ts.map +1 -1
  597. package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.js +5 -8
  598. package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.js.map +1 -1
  599. package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.tsx +20 -13
  600. package/dist/components/core/form/fields/solidFields.module.css +192 -1
  601. package/dist/components/core/form/fields/widgets/SolidAiInteractionMetadataFieldFormWidget.d.ts.map +1 -1
  602. package/dist/components/core/form/fields/widgets/SolidAiInteractionMetadataFieldFormWidget.js +76 -56
  603. package/dist/components/core/form/fields/widgets/SolidAiInteractionMetadataFieldFormWidget.js.map +1 -1
  604. package/dist/components/core/form/fields/widgets/SolidAiInteractionMetadataFieldFormWidget.tsx +106 -120
  605. package/dist/components/core/form/fields/widgets/SolidIconEditWidget.js +8 -8
  606. package/dist/components/core/form/fields/widgets/SolidIconEditWidget.js.map +1 -1
  607. package/dist/components/core/form/fields/widgets/SolidIconEditWidget.tsx +16 -16
  608. package/dist/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.d.ts.map +1 -1
  609. package/dist/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.js.map +1 -1
  610. package/dist/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.tsx +0 -5
  611. package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.d.ts.map +1 -1
  612. package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.js +9 -8
  613. package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.js.map +1 -1
  614. package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.tsx +38 -29
  615. package/dist/components/core/form/fields/widgets/SolidShortTextFieldAvatarWidget.d.ts.map +1 -1
  616. package/dist/components/core/form/fields/widgets/SolidShortTextFieldAvatarWidget.js.map +1 -1
  617. package/dist/components/core/form/fields/widgets/SolidShortTextFieldAvatarWidget.tsx +1 -6
  618. package/dist/components/core/kanban/KanbanBoard.d.ts +1 -1
  619. package/dist/components/core/kanban/KanbanBoard.d.ts.map +1 -1
  620. package/dist/components/core/kanban/KanbanBoard.js +38 -8
  621. package/dist/components/core/kanban/KanbanBoard.js.map +1 -1
  622. package/dist/components/core/kanban/KanbanBoard.tsx +55 -9
  623. package/dist/components/core/kanban/KanbanCard.d.ts +7 -0
  624. package/dist/components/core/kanban/KanbanCard.d.ts.map +1 -1
  625. package/dist/components/core/kanban/KanbanCard.js +22 -162
  626. package/dist/components/core/kanban/KanbanCard.js.map +1 -1
  627. package/dist/components/core/kanban/KanbanCard.tsx +64 -222
  628. package/dist/components/core/kanban/KanbanColumn.d.ts +3 -2
  629. package/dist/components/core/kanban/KanbanColumn.d.ts.map +1 -1
  630. package/dist/components/core/kanban/KanbanColumn.js +8 -14
  631. package/dist/components/core/kanban/KanbanColumn.js.map +1 -1
  632. package/dist/components/core/kanban/KanbanColumn.tsx +59 -80
  633. package/dist/components/core/kanban/KanbanUserViewLayout.d.ts.map +1 -1
  634. package/dist/components/core/kanban/KanbanUserViewLayout.js +4 -7
  635. package/dist/components/core/kanban/KanbanUserViewLayout.js.map +1 -1
  636. package/dist/components/core/kanban/KanbanUserViewLayout.tsx +15 -16
  637. package/dist/components/core/kanban/SolidKanbanView.d.ts +0 -2
  638. package/dist/components/core/kanban/SolidKanbanView.d.ts.map +1 -1
  639. package/dist/components/core/kanban/SolidKanbanView.js +121 -74
  640. package/dist/components/core/kanban/SolidKanbanView.js.map +1 -1
  641. package/dist/components/core/kanban/SolidKanbanView.tsx +221 -139
  642. package/dist/components/core/kanban/SolidKanbanViewConfigure.d.ts +1 -1
  643. package/dist/components/core/kanban/SolidKanbanViewConfigure.d.ts.map +1 -1
  644. package/dist/components/core/kanban/SolidKanbanViewConfigure.js +111 -52
  645. package/dist/components/core/kanban/SolidKanbanViewConfigure.js.map +1 -1
  646. package/dist/components/core/kanban/SolidKanbanViewConfigure.tsx +239 -122
  647. package/dist/components/core/list/ListViewRowActionPopup.d.ts.map +1 -1
  648. package/dist/components/core/list/ListViewRowActionPopup.js +3 -2
  649. package/dist/components/core/list/ListViewRowActionPopup.js.map +1 -1
  650. package/dist/components/core/list/ListViewRowActionPopup.tsx +8 -5
  651. package/dist/components/core/list/PLAN.md +22 -2
  652. package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.d.ts +1 -1
  653. package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.d.ts.map +1 -1
  654. package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.js +3 -8
  655. package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.js.map +1 -1
  656. package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.tsx +19 -24
  657. package/dist/components/core/list/SolidDataTable.d.ts.map +1 -1
  658. package/dist/components/core/list/SolidDataTable.js +7 -4
  659. package/dist/components/core/list/SolidDataTable.js.map +1 -1
  660. package/dist/components/core/list/SolidDataTable.tsx +8 -5
  661. package/dist/components/core/list/SolidEmptyListViewPlaceholder.d.ts +1 -1
  662. package/dist/components/core/list/SolidEmptyListViewPlaceholder.d.ts.map +1 -1
  663. package/dist/components/core/list/SolidEmptyListViewPlaceholder.js +51 -30
  664. package/dist/components/core/list/SolidEmptyListViewPlaceholder.js.map +1 -1
  665. package/dist/components/core/list/SolidEmptyListViewPlaceholder.tsx +122 -90
  666. package/dist/components/core/list/SolidListView.d.ts +5 -12
  667. package/dist/components/core/list/SolidListView.d.ts.map +1 -1
  668. package/dist/components/core/list/SolidListView.js +363 -426
  669. package/dist/components/core/list/SolidListView.js.map +1 -1
  670. package/dist/components/core/list/SolidListView.tsx +713 -899
  671. package/dist/components/core/list/SolidListViewConfigure.d.ts.map +1 -1
  672. package/dist/components/core/list/SolidListViewConfigure.js +50 -61
  673. package/dist/components/core/list/SolidListViewConfigure.js.map +1 -1
  674. package/dist/components/core/list/SolidListViewConfigure.tsx +237 -215
  675. package/dist/components/core/list/SolidListViewHeaderButton.d.ts.map +1 -1
  676. package/dist/components/core/list/SolidListViewHeaderButton.js +6 -5
  677. package/dist/components/core/list/SolidListViewHeaderButton.js.map +1 -1
  678. package/dist/components/core/list/SolidListViewHeaderButton.tsx +9 -7
  679. package/dist/components/core/list/SolidListViewHeaderContextMenuButton.d.ts +1 -1
  680. package/dist/components/core/list/SolidListViewHeaderContextMenuButton.d.ts.map +1 -1
  681. package/dist/components/core/list/SolidListViewHeaderContextMenuButton.js +12 -7
  682. package/dist/components/core/list/SolidListViewHeaderContextMenuButton.js.map +1 -1
  683. package/dist/components/core/list/SolidListViewHeaderContextMenuButton.tsx +15 -13
  684. package/dist/components/core/list/SolidListViewRowActionMenuItem.d.ts +2 -0
  685. package/dist/components/core/list/SolidListViewRowActionMenuItem.d.ts.map +1 -0
  686. package/dist/components/core/list/SolidListViewRowActionMenuItem.js +42 -0
  687. package/dist/components/core/list/SolidListViewRowActionMenuItem.js.map +1 -0
  688. package/dist/components/core/list/SolidListViewRowActionMenuItem.tsx +43 -0
  689. package/dist/components/core/list/SolidListViewRowActionsMenu.d.ts +2 -0
  690. package/dist/components/core/list/SolidListViewRowActionsMenu.d.ts.map +1 -0
  691. package/dist/components/core/list/SolidListViewRowActionsMenu.js +32 -0
  692. package/dist/components/core/list/SolidListViewRowActionsMenu.js.map +1 -0
  693. package/dist/components/core/list/SolidListViewRowActionsMenu.tsx +106 -0
  694. package/dist/components/core/list/SolidListViewShimmerLoading.d.ts.map +1 -1
  695. package/dist/components/core/list/SolidListViewShimmerLoading.js +3 -4
  696. package/dist/components/core/list/SolidListViewShimmerLoading.js.map +1 -1
  697. package/dist/components/core/list/SolidListViewShimmerLoading.tsx +4 -72
  698. package/dist/components/core/list/SolidListViewWrapper.module.css +82 -41
  699. package/dist/components/core/list/SolidManyToOneFilterElement.d.ts.map +1 -1
  700. package/dist/components/core/list/SolidManyToOneFilterElement.js +2 -2
  701. package/dist/components/core/list/SolidManyToOneFilterElement.js.map +1 -1
  702. package/dist/components/core/list/SolidManyToOneFilterElement.tsx +5 -5
  703. package/dist/components/core/list/SolidSelectionDynamicFilterElement.d.ts.map +1 -1
  704. package/dist/components/core/list/SolidSelectionDynamicFilterElement.js +2 -2
  705. package/dist/components/core/list/SolidSelectionDynamicFilterElement.js.map +1 -1
  706. package/dist/components/core/list/SolidSelectionDynamicFilterElement.tsx +5 -4
  707. package/dist/components/core/list/SolidSelectionStaticFilterElement.d.ts.map +1 -1
  708. package/dist/components/core/list/SolidSelectionStaticFilterElement.js +2 -2
  709. package/dist/components/core/list/SolidSelectionStaticFilterElement.js.map +1 -1
  710. package/dist/components/core/list/SolidSelectionStaticFilterElement.tsx +5 -4
  711. package/dist/components/core/list/SolidTableRowCell.d.ts.map +1 -1
  712. package/dist/components/core/list/SolidTableRowCell.js +4 -3
  713. package/dist/components/core/list/SolidTableRowCell.js.map +1 -1
  714. package/dist/components/core/list/SolidTableRowCell.tsx +11 -8
  715. package/dist/components/core/list/columns/SolidBooleanColumn.js +2 -2
  716. package/dist/components/core/list/columns/SolidBooleanColumn.js.map +1 -1
  717. package/dist/components/core/list/columns/SolidBooleanColumn.tsx +2 -2
  718. package/dist/components/core/list/columns/SolidDateColumn.js +1 -1
  719. package/dist/components/core/list/columns/SolidDateColumn.js.map +1 -1
  720. package/dist/components/core/list/columns/SolidDateColumn.tsx +1 -1
  721. package/dist/components/core/list/columns/SolidDatetimeColumn.js +1 -1
  722. package/dist/components/core/list/columns/SolidDatetimeColumn.js.map +1 -1
  723. package/dist/components/core/list/columns/SolidDatetimeColumn.tsx +1 -1
  724. package/dist/components/core/list/columns/SolidExternalIdColumn.js +1 -1
  725. package/dist/components/core/list/columns/SolidExternalIdColumn.js.map +1 -1
  726. package/dist/components/core/list/columns/SolidExternalIdColumn.tsx +1 -1
  727. package/dist/components/core/list/columns/SolidIdColumn.js +2 -2
  728. package/dist/components/core/list/columns/SolidIdColumn.js.map +1 -1
  729. package/dist/components/core/list/columns/SolidIdColumn.tsx +3 -3
  730. package/dist/components/core/list/columns/SolidIntColumn.d.ts.map +1 -1
  731. package/dist/components/core/list/columns/SolidIntColumn.js +2 -2
  732. package/dist/components/core/list/columns/SolidIntColumn.js.map +1 -1
  733. package/dist/components/core/list/columns/SolidIntColumn.tsx +4 -2
  734. package/dist/components/core/list/columns/SolidMediaMultipleColumn.d.ts.map +1 -1
  735. package/dist/components/core/list/columns/SolidMediaMultipleColumn.js +7 -10
  736. package/dist/components/core/list/columns/SolidMediaMultipleColumn.js.map +1 -1
  737. package/dist/components/core/list/columns/SolidMediaMultipleColumn.tsx +13 -18
  738. package/dist/components/core/list/columns/SolidMediaSingleColumn.d.ts.map +1 -1
  739. package/dist/components/core/list/columns/SolidMediaSingleColumn.js +4 -4
  740. package/dist/components/core/list/columns/SolidMediaSingleColumn.js.map +1 -1
  741. package/dist/components/core/list/columns/SolidMediaSingleColumn.tsx +4 -4
  742. package/dist/components/core/list/columns/SolidSelectionDynamicColumn.js +1 -1
  743. package/dist/components/core/list/columns/SolidSelectionDynamicColumn.js.map +1 -1
  744. package/dist/components/core/list/columns/SolidSelectionDynamicColumn.tsx +1 -1
  745. package/dist/components/core/list/columns/SolidSelectionStaticColumn.js +1 -1
  746. package/dist/components/core/list/columns/SolidSelectionStaticColumn.js.map +1 -1
  747. package/dist/components/core/list/columns/SolidSelectionStaticColumn.tsx +1 -1
  748. package/dist/components/core/list/columns/SolidShortTextColumn.js +1 -1
  749. package/dist/components/core/list/columns/SolidShortTextColumn.js.map +1 -1
  750. package/dist/components/core/list/columns/SolidShortTextColumn.tsx +1 -1
  751. package/dist/components/core/list/columns/SolidTimeColumn.js +1 -1
  752. package/dist/components/core/list/columns/SolidTimeColumn.js.map +1 -1
  753. package/dist/components/core/list/columns/SolidTimeColumn.tsx +1 -1
  754. package/dist/components/core/list/columns/SolidUuidColumn.js +1 -1
  755. package/dist/components/core/list/columns/SolidUuidColumn.js.map +1 -1
  756. package/dist/components/core/list/columns/SolidUuidColumn.tsx +1 -1
  757. package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.js +1 -1
  758. package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.js.map +1 -1
  759. package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.tsx +1 -1
  760. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.d.ts.map +1 -1
  761. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js +5 -7
  762. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js.map +1 -1
  763. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +9 -11
  764. package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.js +1 -1
  765. package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.js.map +1 -1
  766. package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.tsx +1 -1
  767. package/dist/components/core/locales/SolidChatterLocaleTabView.d.ts.map +1 -1
  768. package/dist/components/core/locales/SolidChatterLocaleTabView.js +50 -6
  769. package/dist/components/core/locales/SolidChatterLocaleTabView.js.map +1 -1
  770. package/dist/components/core/locales/SolidChatterLocaleTabView.tsx +78 -43
  771. package/dist/components/core/locales/SolidLocale.d.ts.map +1 -1
  772. package/dist/components/core/locales/SolidLocale.js +4 -8
  773. package/dist/components/core/locales/SolidLocale.js.map +1 -1
  774. package/dist/components/core/locales/SolidLocale.tsx +5 -11
  775. package/dist/components/core/locales/solid-locale.css +44 -23
  776. package/dist/components/core/model/CreateModel.d.ts.map +1 -1
  777. package/dist/components/core/model/CreateModel.js +58 -63
  778. package/dist/components/core/model/CreateModel.js.map +1 -1
  779. package/dist/components/core/model/CreateModel.tsx +178 -212
  780. package/dist/components/core/model/FieldMetaData.d.ts.map +1 -1
  781. package/dist/components/core/model/FieldMetaData.js +29 -40
  782. package/dist/components/core/model/FieldMetaData.js.map +1 -1
  783. package/dist/components/core/model/FieldMetaData.tsx +128 -100
  784. package/dist/components/core/model/FieldMetaDataForm.d.ts.map +1 -1
  785. package/dist/components/core/model/FieldMetaDataForm.js +521 -270
  786. package/dist/components/core/model/FieldMetaDataForm.js.map +1 -1
  787. package/dist/components/core/model/FieldMetaDataForm.tsx +1142 -956
  788. package/dist/components/core/model/FieldSelector.d.ts +5 -1
  789. package/dist/components/core/model/FieldSelector.d.ts.map +1 -1
  790. package/dist/components/core/model/FieldSelector.js +52 -30
  791. package/dist/components/core/model/FieldSelector.js.map +1 -1
  792. package/dist/components/core/model/FieldSelector.tsx +119 -57
  793. package/dist/components/core/model/ModelListViewData.d.ts.map +1 -1
  794. package/dist/components/core/model/ModelListViewData.js +110 -91
  795. package/dist/components/core/model/ModelListViewData.js.map +1 -1
  796. package/dist/components/core/model/ModelListViewData.tsx +172 -220
  797. package/dist/components/core/model/ModelMetaData.d.ts.map +1 -1
  798. package/dist/components/core/model/ModelMetaData.js +105 -61
  799. package/dist/components/core/model/ModelMetaData.js.map +1 -1
  800. package/dist/components/core/model/ModelMetaData.tsx +277 -457
  801. package/dist/components/core/module/CreateModule.d.ts +1 -1
  802. package/dist/components/core/module/CreateModule.d.ts.map +1 -1
  803. package/dist/components/core/module/CreateModule.js +33 -54
  804. package/dist/components/core/module/CreateModule.js.map +1 -1
  805. package/dist/components/core/module/CreateModule.tsx +273 -299
  806. package/dist/components/core/module/ModuleListViewData.d.ts.map +1 -1
  807. package/dist/components/core/module/ModuleListViewData.js +104 -135
  808. package/dist/components/core/module/ModuleListViewData.js.map +1 -1
  809. package/dist/components/core/module/ModuleListViewData.tsx +172 -278
  810. package/dist/components/core/solid-ai/SolidAiChat.d.ts.map +1 -1
  811. package/dist/components/core/solid-ai/SolidAiChat.js +25 -20
  812. package/dist/components/core/solid-ai/SolidAiChat.js.map +1 -1
  813. package/dist/components/core/solid-ai/SolidAiChat.tsx +80 -31
  814. package/dist/components/core/solid-ai/SolidAiMainWrapper.d.ts.map +1 -1
  815. package/dist/components/core/solid-ai/SolidAiMainWrapper.js +5 -2
  816. package/dist/components/core/solid-ai/SolidAiMainWrapper.js.map +1 -1
  817. package/dist/components/core/solid-ai/SolidAiMainWrapper.tsx +7 -2
  818. package/dist/components/core/tree/SolidTreeTable.d.ts +73 -0
  819. package/dist/components/core/tree/SolidTreeTable.d.ts.map +1 -0
  820. package/dist/components/core/tree/SolidTreeTable.js +275 -0
  821. package/dist/components/core/tree/SolidTreeTable.js.map +1 -0
  822. package/dist/components/core/tree/SolidTreeTable.tsx +522 -0
  823. package/dist/components/core/tree/SolidTreeView.d.ts.map +1 -1
  824. package/dist/components/core/tree/SolidTreeView.js +266 -244
  825. package/dist/components/core/tree/SolidTreeView.js.map +1 -1
  826. package/dist/components/core/tree/SolidTreeView.tsx +606 -625
  827. package/dist/components/core/users/CreateUser.d.ts.map +1 -1
  828. package/dist/components/core/users/CreateUser.js +81 -143
  829. package/dist/components/core/users/CreateUser.js.map +1 -1
  830. package/dist/components/core/users/CreateUser.tsx +217 -317
  831. package/dist/components/core/users/CreateUserRole.d.ts.map +1 -1
  832. package/dist/components/core/users/CreateUserRole.js +14 -21
  833. package/dist/components/core/users/CreateUserRole.js.map +1 -1
  834. package/dist/components/core/users/CreateUserRole.tsx +16 -33
  835. package/dist/components/core/users/UserListView.d.ts.map +1 -1
  836. package/dist/components/core/users/UserListView.js +95 -92
  837. package/dist/components/core/users/UserListView.js.map +1 -1
  838. package/dist/components/core/users/UserListView.tsx +286 -330
  839. package/dist/components/layout/AdminLayout.d.ts.map +1 -1
  840. package/dist/components/layout/AdminLayout.js +4 -12
  841. package/dist/components/layout/AdminLayout.js.map +1 -1
  842. package/dist/components/layout/AdminLayout.tsx +22 -31
  843. package/dist/components/layout/AppConfig.d.ts +2 -2
  844. package/dist/components/layout/AppConfig.d.ts.map +1 -1
  845. package/dist/components/layout/AppConfig.js +9 -47
  846. package/dist/components/layout/AppConfig.js.map +1 -1
  847. package/dist/components/layout/AppConfig.tsx +10 -98
  848. package/dist/components/layout/AppSidebar.d.ts.map +1 -1
  849. package/dist/components/layout/AppSidebar.js +149 -86
  850. package/dist/components/layout/AppSidebar.js.map +1 -1
  851. package/dist/components/layout/AppSidebar.tsx +281 -164
  852. package/dist/components/layout/DashboardHeader.d.ts.map +1 -1
  853. package/dist/components/layout/DashboardHeader.js +11 -17
  854. package/dist/components/layout/DashboardHeader.js.map +1 -1
  855. package/dist/components/layout/DashboardHeader.tsx +40 -35
  856. package/dist/components/layout/FilterMenu.d.ts.map +1 -1
  857. package/dist/components/layout/FilterMenu.js +4 -7
  858. package/dist/components/layout/FilterMenu.js.map +1 -1
  859. package/dist/components/layout/FilterMenu.tsx +22 -20
  860. package/dist/components/layout/GlobalSearch.d.ts.map +1 -1
  861. package/dist/components/layout/GlobalSearch.js +2 -6
  862. package/dist/components/layout/GlobalSearch.js.map +1 -1
  863. package/dist/components/layout/GlobalSearch.tsx +7 -13
  864. package/dist/components/layout/Layout.d.ts.map +1 -1
  865. package/dist/components/layout/Layout.js +11 -130
  866. package/dist/components/layout/Layout.js.map +1 -1
  867. package/dist/components/layout/Layout.tsx +18 -161
  868. package/dist/components/layout/ListingHeader.d.ts.map +1 -1
  869. package/dist/components/layout/ListingHeader.js +4 -8
  870. package/dist/components/layout/ListingHeader.js.map +1 -1
  871. package/dist/components/layout/ListingHeader.tsx +3 -9
  872. package/dist/components/layout/SolidAiStudioLayout.d.ts.map +1 -1
  873. package/dist/components/layout/SolidAiStudioLayout.js +14 -63
  874. package/dist/components/layout/SolidAiStudioLayout.js.map +1 -1
  875. package/dist/components/layout/SolidAiStudioLayout.tsx +75 -187
  876. package/dist/components/layout/UserSidebar.d.ts.map +1 -1
  877. package/dist/components/layout/UserSidebar.js +5 -4
  878. package/dist/components/layout/UserSidebar.js.map +1 -1
  879. package/dist/components/layout/UserSidebar.tsx +6 -5
  880. package/dist/components/layout/context/layoutcontext.d.ts.map +1 -1
  881. package/dist/components/layout/context/layoutcontext.js +31 -6
  882. package/dist/components/layout/context/layoutcontext.js.map +1 -1
  883. package/dist/components/layout/context/layoutcontext.tsx +31 -2
  884. package/dist/components/layout/navbar-one.d.ts.map +1 -1
  885. package/dist/components/layout/navbar-one.js +3 -8
  886. package/dist/components/layout/navbar-one.js.map +1 -1
  887. package/dist/components/layout/navbar-one.tsx +24 -15
  888. package/dist/components/layout/navbar-two-menu.d.ts.map +1 -1
  889. package/dist/components/layout/navbar-two-menu.js +16 -2
  890. package/dist/components/layout/navbar-two-menu.js.map +1 -1
  891. package/dist/components/layout/navbar-two-menu.tsx +50 -13
  892. package/dist/components/layout/user-profile-menu.d.ts.map +1 -1
  893. package/dist/components/layout/user-profile-menu.js +74 -59
  894. package/dist/components/layout/user-profile-menu.js.map +1 -1
  895. package/dist/components/layout/user-profile-menu.tsx +206 -143
  896. package/dist/components/shad-cn-ui/SolidAccordion.d.ts +7 -0
  897. package/dist/components/shad-cn-ui/SolidAccordion.d.ts.map +1 -0
  898. package/dist/components/shad-cn-ui/SolidAccordion.js +47 -0
  899. package/dist/components/shad-cn-ui/SolidAccordion.js.map +1 -0
  900. package/dist/components/shad-cn-ui/SolidAccordion.tsx +41 -0
  901. package/dist/components/shad-cn-ui/SolidAutocomplete.d.ts +12 -1
  902. package/dist/components/shad-cn-ui/SolidAutocomplete.d.ts.map +1 -1
  903. package/dist/components/shad-cn-ui/SolidAutocomplete.js +31 -15
  904. package/dist/components/shad-cn-ui/SolidAutocomplete.js.map +1 -1
  905. package/dist/components/shad-cn-ui/SolidAutocomplete.tsx +60 -24
  906. package/dist/components/shad-cn-ui/SolidButton.d.ts +10 -2
  907. package/dist/components/shad-cn-ui/SolidButton.d.ts.map +1 -1
  908. package/dist/components/shad-cn-ui/SolidButton.js +18 -2
  909. package/dist/components/shad-cn-ui/SolidButton.js.map +1 -1
  910. package/dist/components/shad-cn-ui/SolidButton.tsx +54 -8
  911. package/dist/components/shad-cn-ui/SolidCheckbox.d.ts +7 -0
  912. package/dist/components/shad-cn-ui/SolidCheckbox.d.ts.map +1 -0
  913. package/dist/components/shad-cn-ui/SolidCheckbox.js +35 -0
  914. package/dist/components/shad-cn-ui/SolidCheckbox.js.map +1 -0
  915. package/dist/components/shad-cn-ui/SolidCheckbox.tsx +19 -0
  916. package/dist/components/shad-cn-ui/SolidCodeEditor.d.ts +12 -0
  917. package/dist/components/shad-cn-ui/SolidCodeEditor.d.ts.map +1 -0
  918. package/dist/components/shad-cn-ui/SolidCodeEditor.js +13 -0
  919. package/dist/components/shad-cn-ui/SolidCodeEditor.js.map +1 -0
  920. package/dist/components/shad-cn-ui/SolidCodeEditor.tsx +38 -0
  921. package/dist/components/shad-cn-ui/SolidConfirmDialog.d.ts +14 -0
  922. package/dist/components/shad-cn-ui/SolidConfirmDialog.d.ts.map +1 -0
  923. package/dist/components/shad-cn-ui/SolidConfirmDialog.js +8 -0
  924. package/dist/components/shad-cn-ui/SolidConfirmDialog.js.map +1 -0
  925. package/dist/components/shad-cn-ui/SolidConfirmDialog.tsx +50 -0
  926. package/dist/components/shad-cn-ui/SolidDatePicker.d.ts +10 -0
  927. package/dist/components/shad-cn-ui/SolidDatePicker.d.ts.map +1 -0
  928. package/dist/components/shad-cn-ui/SolidDatePicker.js +66 -0
  929. package/dist/components/shad-cn-ui/SolidDatePicker.js.map +1 -0
  930. package/dist/components/shad-cn-ui/SolidDatePicker.tsx +72 -0
  931. package/dist/components/shad-cn-ui/SolidDialog.d.ts +40 -0
  932. package/dist/components/shad-cn-ui/SolidDialog.d.ts.map +1 -0
  933. package/dist/components/shad-cn-ui/SolidDialog.js +61 -0
  934. package/dist/components/shad-cn-ui/SolidDialog.js.map +1 -0
  935. package/dist/components/shad-cn-ui/SolidDialog.tsx +138 -0
  936. package/dist/components/shad-cn-ui/SolidDivider.d.ts +4 -0
  937. package/dist/components/shad-cn-ui/SolidDivider.d.ts.map +1 -0
  938. package/dist/components/shad-cn-ui/SolidDivider.js +6 -0
  939. package/dist/components/shad-cn-ui/SolidDivider.js.map +1 -0
  940. package/dist/components/shad-cn-ui/SolidDivider.tsx +5 -0
  941. package/dist/components/shad-cn-ui/SolidDropdownMenu.d.ts +15 -0
  942. package/dist/components/shad-cn-ui/SolidDropdownMenu.d.ts.map +1 -0
  943. package/dist/components/shad-cn-ui/SolidDropdownMenu.js +70 -0
  944. package/dist/components/shad-cn-ui/SolidDropdownMenu.js.map +1 -0
  945. package/dist/components/shad-cn-ui/SolidDropdownMenu.tsx +124 -0
  946. package/dist/components/shad-cn-ui/SolidIcon.d.ts +92 -0
  947. package/dist/components/shad-cn-ui/SolidIcon.d.ts.map +1 -0
  948. package/dist/components/shad-cn-ui/SolidIcon.js +149 -0
  949. package/dist/components/shad-cn-ui/SolidIcon.js.map +1 -0
  950. package/dist/components/shad-cn-ui/SolidIcon.tsx +223 -0
  951. package/dist/components/shad-cn-ui/SolidInput.d.ts +1 -1
  952. package/dist/components/shad-cn-ui/SolidInput.d.ts.map +1 -1
  953. package/dist/components/shad-cn-ui/SolidInput.js +4 -3
  954. package/dist/components/shad-cn-ui/SolidInput.js.map +1 -1
  955. package/dist/components/shad-cn-ui/SolidInput.tsx +6 -4
  956. package/dist/components/shad-cn-ui/SolidLightbox.d.ts +19 -0
  957. package/dist/components/shad-cn-ui/SolidLightbox.d.ts.map +1 -0
  958. package/dist/components/shad-cn-ui/SolidLightbox.js +160 -0
  959. package/dist/components/shad-cn-ui/SolidLightbox.js.map +1 -0
  960. package/dist/components/shad-cn-ui/SolidLightbox.tsx +281 -0
  961. package/dist/components/shad-cn-ui/SolidMessage.d.ts +10 -0
  962. package/dist/components/shad-cn-ui/SolidMessage.d.ts.map +1 -0
  963. package/dist/components/shad-cn-ui/SolidMessage.js +13 -0
  964. package/dist/components/shad-cn-ui/SolidMessage.js.map +1 -0
  965. package/dist/components/shad-cn-ui/SolidMessage.tsx +20 -0
  966. package/dist/components/shad-cn-ui/SolidOtpInput.d.ts +12 -0
  967. package/dist/components/shad-cn-ui/SolidOtpInput.d.ts.map +1 -0
  968. package/dist/components/shad-cn-ui/SolidOtpInput.js +143 -0
  969. package/dist/components/shad-cn-ui/SolidOtpInput.js.map +1 -0
  970. package/dist/components/shad-cn-ui/SolidOtpInput.tsx +149 -0
  971. package/dist/components/shad-cn-ui/SolidPanel.d.ts +11 -0
  972. package/dist/components/shad-cn-ui/SolidPanel.d.ts.map +1 -0
  973. package/dist/components/shad-cn-ui/SolidPanel.js +17 -0
  974. package/dist/components/shad-cn-ui/SolidPanel.js.map +1 -0
  975. package/dist/components/shad-cn-ui/SolidPanel.tsx +36 -0
  976. package/dist/components/shad-cn-ui/SolidPasswordInput.d.ts +7 -0
  977. package/dist/components/shad-cn-ui/SolidPasswordInput.d.ts.map +1 -0
  978. package/dist/components/shad-cn-ui/SolidPasswordInput.js +39 -0
  979. package/dist/components/shad-cn-ui/SolidPasswordInput.js.map +1 -0
  980. package/dist/components/shad-cn-ui/SolidPasswordInput.tsx +31 -0
  981. package/dist/components/shad-cn-ui/SolidPopover.d.ts +19 -0
  982. package/dist/components/shad-cn-ui/SolidPopover.d.ts.map +1 -0
  983. package/dist/components/shad-cn-ui/SolidPopover.js +110 -0
  984. package/dist/components/shad-cn-ui/SolidPopover.js.map +1 -0
  985. package/dist/components/shad-cn-ui/SolidPopover.tsx +149 -0
  986. package/dist/components/shad-cn-ui/SolidProgressBar.d.ts +10 -0
  987. package/dist/components/shad-cn-ui/SolidProgressBar.d.ts.map +1 -0
  988. package/dist/components/shad-cn-ui/SolidProgressBar.js +14 -0
  989. package/dist/components/shad-cn-ui/SolidProgressBar.js.map +1 -0
  990. package/dist/components/shad-cn-ui/SolidProgressBar.tsx +29 -0
  991. package/dist/components/shad-cn-ui/SolidRadioGroup.d.ts +17 -0
  992. package/dist/components/shad-cn-ui/SolidRadioGroup.d.ts.map +1 -0
  993. package/dist/components/shad-cn-ui/SolidRadioGroup.js +13 -0
  994. package/dist/components/shad-cn-ui/SolidRadioGroup.js.map +1 -0
  995. package/dist/components/shad-cn-ui/SolidRadioGroup.tsx +50 -0
  996. package/dist/components/shad-cn-ui/SolidRichTextEditor.d.ts +17 -0
  997. package/dist/components/shad-cn-ui/SolidRichTextEditor.d.ts.map +1 -0
  998. package/dist/components/shad-cn-ui/SolidRichTextEditor.js +109 -0
  999. package/dist/components/shad-cn-ui/SolidRichTextEditor.js.map +1 -0
  1000. package/dist/components/shad-cn-ui/SolidRichTextEditor.tsx +146 -0
  1001. package/dist/components/shad-cn-ui/SolidSegmentedControl.d.ts +17 -0
  1002. package/dist/components/shad-cn-ui/SolidSegmentedControl.d.ts.map +1 -0
  1003. package/dist/components/shad-cn-ui/SolidSegmentedControl.js +34 -0
  1004. package/dist/components/shad-cn-ui/SolidSegmentedControl.js.map +1 -0
  1005. package/dist/components/shad-cn-ui/SolidSegmentedControl.tsx +60 -0
  1006. package/dist/components/shad-cn-ui/SolidSelect.d.ts.map +1 -1
  1007. package/dist/components/shad-cn-ui/SolidSelect.js +2 -1
  1008. package/dist/components/shad-cn-ui/SolidSelect.js.map +1 -1
  1009. package/dist/components/shad-cn-ui/SolidSelect.tsx +2 -2
  1010. package/dist/components/shad-cn-ui/SolidSlider.d.ts +12 -0
  1011. package/dist/components/shad-cn-ui/SolidSlider.d.ts.map +1 -0
  1012. package/dist/components/shad-cn-ui/SolidSlider.js +13 -0
  1013. package/dist/components/shad-cn-ui/SolidSlider.js.map +1 -0
  1014. package/dist/components/shad-cn-ui/SolidSlider.tsx +30 -0
  1015. package/dist/components/shad-cn-ui/SolidSpinner.d.ts +8 -0
  1016. package/dist/components/shad-cn-ui/SolidSpinner.d.ts.map +1 -0
  1017. package/dist/components/shad-cn-ui/SolidSpinner.js +14 -0
  1018. package/dist/components/shad-cn-ui/SolidSpinner.js.map +1 -0
  1019. package/dist/components/shad-cn-ui/SolidSpinner.tsx +21 -0
  1020. package/dist/components/shad-cn-ui/SolidSwitch.d.ts +10 -0
  1021. package/dist/components/shad-cn-ui/SolidSwitch.d.ts.map +1 -0
  1022. package/dist/components/shad-cn-ui/SolidSwitch.js +18 -0
  1023. package/dist/components/shad-cn-ui/SolidSwitch.js.map +1 -0
  1024. package/dist/components/shad-cn-ui/SolidSwitch.tsx +34 -0
  1025. package/dist/components/shad-cn-ui/SolidTabs.d.ts +3 -1
  1026. package/dist/components/shad-cn-ui/SolidTabs.d.ts.map +1 -1
  1027. package/dist/components/shad-cn-ui/SolidTabs.js +4 -4
  1028. package/dist/components/shad-cn-ui/SolidTabs.js.map +1 -1
  1029. package/dist/components/shad-cn-ui/SolidTabs.tsx +16 -4
  1030. package/dist/components/shad-cn-ui/SolidTag.d.ts +9 -0
  1031. package/dist/components/shad-cn-ui/SolidTag.d.ts.map +1 -0
  1032. package/dist/components/shad-cn-ui/SolidTag.js +13 -0
  1033. package/dist/components/shad-cn-ui/SolidTag.js.map +1 -0
  1034. package/dist/components/shad-cn-ui/SolidTag.tsx +15 -0
  1035. package/dist/components/shad-cn-ui/SolidTextarea.d.ts +5 -0
  1036. package/dist/components/shad-cn-ui/SolidTextarea.d.ts.map +1 -0
  1037. package/dist/components/shad-cn-ui/SolidTextarea.js +35 -0
  1038. package/dist/components/shad-cn-ui/SolidTextarea.js.map +1 -0
  1039. package/dist/components/shad-cn-ui/SolidTextarea.tsx +11 -0
  1040. package/dist/components/shad-cn-ui/SolidToast.d.ts +13 -0
  1041. package/dist/components/shad-cn-ui/SolidToast.d.ts.map +1 -0
  1042. package/dist/components/shad-cn-ui/SolidToast.js +34 -0
  1043. package/dist/components/shad-cn-ui/SolidToast.js.map +1 -0
  1044. package/dist/components/shad-cn-ui/SolidToast.tsx +55 -0
  1045. package/dist/components/shad-cn-ui/SolidTooltip.d.ts +22 -0
  1046. package/dist/components/shad-cn-ui/SolidTooltip.d.ts.map +1 -0
  1047. package/dist/components/shad-cn-ui/SolidTooltip.js +22 -0
  1048. package/dist/components/shad-cn-ui/SolidTooltip.js.map +1 -0
  1049. package/dist/components/shad-cn-ui/SolidTooltip.tsx +65 -0
  1050. package/dist/components/shad-cn-ui/index.d.ts +26 -0
  1051. package/dist/components/shad-cn-ui/index.d.ts.map +1 -1
  1052. package/dist/components/shad-cn-ui/index.js +26 -0
  1053. package/dist/components/shad-cn-ui/index.js.map +1 -1
  1054. package/dist/components/shad-cn-ui/index.ts +48 -0
  1055. package/dist/helpers/mediaType.d.ts +3 -0
  1056. package/dist/helpers/mediaType.d.ts.map +1 -0
  1057. package/dist/helpers/mediaType.js +19 -0
  1058. package/dist/helpers/mediaType.js.map +1 -0
  1059. package/dist/helpers/mediaType.ts +23 -0
  1060. package/dist/helpers/registry.d.ts +3 -4
  1061. package/dist/helpers/registry.d.ts.map +1 -1
  1062. package/dist/helpers/registry.js +97 -90
  1063. package/dist/helpers/registry.js.map +1 -1
  1064. package/dist/helpers/registry.ts +107 -92
  1065. package/dist/helpers/routePaths.js +1 -1
  1066. package/dist/helpers/routePaths.js.map +1 -1
  1067. package/dist/helpers/routePaths.ts +1 -1
  1068. package/dist/hooks/useSolidAutocompleteField.d.ts +31 -0
  1069. package/dist/hooks/useSolidAutocompleteField.d.ts.map +1 -0
  1070. package/dist/hooks/useSolidAutocompleteField.js +116 -0
  1071. package/dist/hooks/useSolidAutocompleteField.js.map +1 -0
  1072. package/dist/hooks/useSolidAutocompleteField.ts +90 -0
  1073. package/dist/index.d.ts +12 -4
  1074. package/dist/index.d.ts.map +1 -1
  1075. package/dist/index.js +9 -4
  1076. package/dist/index.js.map +1 -1
  1077. package/dist/index.ts +13 -5
  1078. package/dist/redux/store/defaultStoreConfig.d.ts +35 -34
  1079. package/dist/redux/store/defaultStoreConfig.d.ts.map +1 -1
  1080. package/dist/redux/store/defaultStoreConfig.js +29 -2
  1081. package/dist/redux/store/defaultStoreConfig.js.map +1 -1
  1082. package/dist/redux/store/defaultStoreConfig.ts +30 -32
  1083. package/dist/resources/globals.css +2400 -538
  1084. package/dist/resources/images/SolidXLogo-dark.svg +29 -0
  1085. package/dist/resources/images/SolidXLogo-light.svg +29 -0
  1086. package/dist/resources/shadcn-base.css +2688 -839
  1087. package/dist/resources/solid-responsive.css +36 -80
  1088. package/dist/resources/themes/solid-dark-purple/theme.css +14 -19
  1089. package/dist/resources/themes/solid-light-purple/theme.css +14 -19
  1090. package/dist/routes/AppEventListener.d.ts +1 -1
  1091. package/dist/routes/AppEventListener.d.ts.map +1 -1
  1092. package/dist/routes/AppEventListener.js +3 -1
  1093. package/dist/routes/AppEventListener.js.map +1 -1
  1094. package/dist/routes/AppEventListener.tsx +7 -1
  1095. package/dist/routes/pages/admin/core/CardPage.d.ts +2 -0
  1096. package/dist/routes/pages/admin/core/CardPage.d.ts.map +1 -0
  1097. package/dist/routes/pages/admin/core/CardPage.js +22 -0
  1098. package/dist/routes/pages/admin/core/CardPage.js.map +1 -0
  1099. package/dist/routes/pages/admin/core/CardPage.tsx +10 -0
  1100. package/dist/routes/pages/auth/SsoPage.d.ts.map +1 -1
  1101. package/dist/routes/pages/auth/SsoPage.js +4 -5
  1102. package/dist/routes/pages/auth/SsoPage.js.map +1 -1
  1103. package/dist/routes/pages/auth/SsoPage.tsx +7 -15
  1104. package/dist/routes/pages/studio/StudioLandingPage.js +3 -3
  1105. package/dist/routes/pages/studio/StudioLandingPage.js.map +1 -1
  1106. package/dist/routes/pages/studio/StudioLandingPage.tsx +5 -5
  1107. package/dist/routes/solidRoutes.d.ts.map +1 -1
  1108. package/dist/routes/solidRoutes.js +16 -0
  1109. package/dist/routes/solidRoutes.js.map +1 -1
  1110. package/dist/routes/solidRoutes.tsx +17 -0
  1111. package/dist/routes/types.d.ts +1 -1
  1112. package/dist/routes/types.d.ts.map +1 -1
  1113. package/dist/routes/types.js.map +1 -1
  1114. package/dist/routes/types.ts +5 -1
  1115. package/dist/styles.d.ts +1 -0
  1116. package/dist/styles.d.ts.map +1 -1
  1117. package/dist/styles.js +1 -0
  1118. package/dist/styles.js.map +1 -1
  1119. package/dist/styles.ts +1 -0
  1120. package/dist/types/extension-registry.d.ts +28 -0
  1121. package/dist/types/extension-registry.d.ts.map +1 -0
  1122. package/dist/types/extension-registry.js +26 -0
  1123. package/dist/types/extension-registry.js.map +1 -0
  1124. package/dist/types/extension-registry.ts +32 -0
  1125. package/dist/types/external.d.ts +11 -0
  1126. package/dist/types/layout.d.ts +4 -2
  1127. package/dist/types/solid-core.d.ts +29 -27
  1128. package/package.json +10 -4
@@ -1,10 +1,11 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { SolidIcon } from "../../shad-cn-ui";
2
3
  export var SolidDashboardFilterRequired = function () {
3
4
  return (_jsx("div", { className: "flex align-items-center justify-content-center", style: { minHeight: '400px', padding: '2rem' }, children: _jsxs("div", { className: "flex flex-column align-items-center gap-3 text-center", style: { maxWidth: '500px' }, children: [_jsx("div", { className: "flex align-items-center justify-content-center border-circle", style: {
4
5
  width: '80px',
5
6
  height: '80px',
6
7
  backgroundColor: 'var(--blue-50)',
7
8
  color: 'var(--blue-500)'
8
- }, children: _jsx("i", { className: "pi pi-filter", style: { color: "var(--primary-color)", fontSize: '2.5rem' } }) }), _jsx("div", { children: _jsxs("div", { className: "flex flex-column gap-2", children: [_jsx("h3", { className: "m-0", style: { color: 'var(--text-color)', fontSize: '1.25rem', fontWeight: 600 }, children: "Filters Required" }), _jsx("p", { className: "m-0", style: { color: 'var(--text-color-secondary)', fontSize: '0.95rem', lineHeight: '1.5' }, children: "Please select the required filters to render your dashboard." })] }) })] }) }));
9
+ }, children: _jsx(SolidIcon, { name: "si-filter", style: { color: "var(--primary-color)", fontSize: '2.5rem' }, "aria-hidden": true }) }), _jsx("div", { children: _jsxs("div", { className: "flex flex-column gap-2", children: [_jsx("h3", { className: "m-0", style: { color: 'var(--text-color)', fontSize: '1.25rem', fontWeight: 600 }, children: "Filters Required" }), _jsx("p", { className: "m-0", style: { color: 'var(--text-color-secondary)', fontSize: '0.95rem', lineHeight: '1.5' }, children: "Please select the required filters to render your dashboard." })] }) })] }) }));
9
10
  };
10
11
  //# sourceMappingURL=SolidDashboardFilterRequired.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SolidDashboardFilterRequired.js","sourceRoot":"","sources":["../../../../src/components/core/dashboard/SolidDashboardFilterRequired.tsx"],"names":[],"mappings":";AACA,MAAM,CAAC,IAAM,4BAA4B,GAAG;IAC1C,OAAO,CACL,cAAK,SAAS,EAAC,gDAAgD,EAAC,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,YAC5G,eAAK,SAAS,EAAC,uDAAuD,EAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,aACjG,cACE,SAAS,EAAC,8DAA8D,EACxE,KAAK,EAAE;wBACL,KAAK,EAAE,MAAM;wBACb,MAAM,EAAE,MAAM;wBACd,eAAe,EAAE,gBAAgB;wBACjC,KAAK,EAAE,iBAAiB;qBACzB,YAED,YAAG,SAAS,EAAC,cAAc,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,sBAAsB,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAI,GACxF,EACN,wBACE,eAAK,SAAS,EAAC,wBAAwB,aACrC,aAAI,SAAS,EAAC,KAAK,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,EAAE,iCAAuB,EACtH,YAAG,SAAS,EAAC,KAAK,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,6BAA6B,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,EAAE,6EAEtG,IACA,GACF,IACF,GACF,CACP,CAAA;AACH,CAAC,CAAA","sourcesContent":["\nexport const SolidDashboardFilterRequired = () => {\n return (\n <div className=\"flex align-items-center justify-content-center\" style={{ minHeight: '400px', padding: '2rem' }}>\n <div className=\"flex flex-column align-items-center gap-3 text-center\" style={{ maxWidth: '500px' }}>\n <div\n className=\"flex align-items-center justify-content-center border-circle\"\n style={{\n width: '80px',\n height: '80px',\n backgroundColor: 'var(--blue-50)',\n color: 'var(--blue-500)'\n }}\n >\n <i className=\"pi pi-filter\" style={{ color: \"var(--primary-color)\", fontSize: '2.5rem' }} />\n </div>\n <div>\n <div className=\"flex flex-column gap-2\">\n <h3 className=\"m-0\" style={{ color: 'var(--text-color)', fontSize: '1.25rem', fontWeight: 600 }}>Filters Required</h3>\n <p className=\"m-0\" style={{ color: 'var(--text-color-secondary)', fontSize: '0.95rem', lineHeight: '1.5' }}>\n Please select the required filters to render your dashboard.\n </p>\n </div>\n </div>\n </div>\n </div>\n )\n}"]}
1
+ {"version":3,"file":"SolidDashboardFilterRequired.js","sourceRoot":"","sources":["../../../../src/components/core/dashboard/SolidDashboardFilterRequired.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,MAAM,CAAC,IAAM,4BAA4B,GAAG;IAC1C,OAAO,CACL,cAAK,SAAS,EAAC,gDAAgD,EAAC,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,YAC5G,eAAK,SAAS,EAAC,uDAAuD,EAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,aACjG,cACE,SAAS,EAAC,8DAA8D,EACxE,KAAK,EAAE;wBACL,KAAK,EAAE,MAAM;wBACb,MAAM,EAAE,MAAM;wBACd,eAAe,EAAE,gBAAgB;wBACjC,KAAK,EAAE,iBAAiB;qBACzB,YAED,KAAC,SAAS,IAAC,IAAI,EAAC,WAAW,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,sBAAsB,EAAE,QAAQ,EAAE,QAAQ,EAAE,wBAAgB,GACpG,EACN,wBACE,eAAK,SAAS,EAAC,wBAAwB,aACrC,aAAI,SAAS,EAAC,KAAK,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,EAAE,iCAAuB,EACtH,YAAG,SAAS,EAAC,KAAK,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,6BAA6B,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,EAAE,6EAEtG,IACA,GACF,IACF,GACF,CACP,CAAA;AACH,CAAC,CAAA","sourcesContent":["import { SolidIcon } from \"../../shad-cn-ui\";\nexport const SolidDashboardFilterRequired = () => {\n return (\n <div className=\"flex align-items-center justify-content-center\" style={{ minHeight: '400px', padding: '2rem' }}>\n <div className=\"flex flex-column align-items-center gap-3 text-center\" style={{ maxWidth: '500px' }}>\n <div\n className=\"flex align-items-center justify-content-center border-circle\"\n style={{\n width: '80px',\n height: '80px',\n backgroundColor: 'var(--blue-50)',\n color: 'var(--blue-500)'\n }}\n >\n <SolidIcon name=\"si-filter\" style={{ color: \"var(--primary-color)\", fontSize: '2.5rem' }} aria-hidden />\n </div>\n <div>\n <div className=\"flex flex-column gap-2\">\n <h3 className=\"m-0\" style={{ color: 'var(--text-color)', fontSize: '1.25rem', fontWeight: 600 }}>Filters Required</h3>\n <p className=\"m-0\" style={{ color: 'var(--text-color-secondary)', fontSize: '0.95rem', lineHeight: '1.5' }}>\n Please select the required filters to render your dashboard.\n </p>\n </div>\n </div>\n </div>\n </div>\n )\n}\n"]}
@@ -1,4 +1,4 @@
1
-
1
+ import { SolidIcon } from "../../shad-cn-ui";
2
2
  export const SolidDashboardFilterRequired = () => {
3
3
  return (
4
4
  <div className="flex align-items-center justify-content-center" style={{ minHeight: '400px', padding: '2rem' }}>
@@ -12,7 +12,7 @@ export const SolidDashboardFilterRequired = () => {
12
12
  color: 'var(--blue-500)'
13
13
  }}
14
14
  >
15
- <i className="pi pi-filter" style={{ color: "var(--primary-color)", fontSize: '2.5rem' }} />
15
+ <SolidIcon name="si-filter" style={{ color: "var(--primary-color)", fontSize: '2.5rem' }} aria-hidden />
16
16
  </div>
17
17
  <div>
18
18
  <div className="flex flex-column gap-2">
@@ -25,4 +25,4 @@ export const SolidDashboardFilterRequired = () => {
25
25
  </div>
26
26
  </div>
27
27
  )
28
- }
28
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"SolidDashboardLoading.d.ts","sourceRoot":"","sources":["../../../../src/components/core/dashboard/SolidDashboardLoading.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,qBAAqB,+CAmDjC,CAAA"}
1
+ {"version":3,"file":"SolidDashboardLoading.d.ts","sourceRoot":"","sources":["../../../../src/components/core/dashboard/SolidDashboardLoading.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,qBAAqB,+CAmDjC,CAAA"}
@@ -1,7 +1,10 @@
1
1
  "use client'";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { Skeleton } from 'primereact/skeleton';
3
+ var SkeletonBlock = function (_a) {
4
+ var width = _a.width, height = _a.height, className = _a.className;
5
+ return (_jsx("div", { className: "solid-skeleton ".concat(className !== null && className !== void 0 ? className : ""), style: { width: width, height: height } }));
6
+ };
4
7
  export var SolidDashboardLoading = function () {
5
- return (_jsxs("div", { className: "grid p-4", children: [_jsx("div", { className: "col-12 sm:col-12 md:col-6 lg:col-6 xl:col-4", children: _jsxs("div", { className: "surface-card p-3 border-round shadow-1", children: [_jsx(Skeleton, { width: "40%", height: "1.4rem", className: "mb-2" }), _jsx(Skeleton, { width: "70%", height: "2rem" })] }) }), _jsx("div", { className: "col-12 sm:col-12 md:col-6 lg:col-6 xl:col-4", children: _jsxs("div", { className: "surface-card p-3 border-round shadow-1", children: [_jsx(Skeleton, { width: "40%", height: "1.4rem", className: "mb-2" }), _jsx(Skeleton, { width: "70%", height: "2rem" })] }) }), _jsx("div", { className: "col-12 sm:col-12 md:col-6 lg:col-6 xl:col-4", children: _jsxs("div", { className: "surface-card p-3 border-round shadow-1", children: [_jsx(Skeleton, { width: "40%", height: "1.4rem", className: "mb-2" }), _jsx(Skeleton, { width: "70%", height: "2rem" })] }) }), _jsx("div", { className: "col-12 sm:col-12 md:col-6 lg:col-6 xl:col-4", children: _jsxs("div", { className: "surface-card p-3 border-round shadow-1", children: [_jsx(Skeleton, { width: "30%", height: "1.4rem", className: "mb-3" }), _jsx(Skeleton, { width: "100%", height: "14rem" })] }) }), _jsx("div", { className: "col-12 sm:col-12 md:col-12 lg:col-12 xl:col-8", children: _jsxs("div", { className: "surface-card p-3 border-round shadow-1", children: [_jsx(Skeleton, { width: "30%", height: "1.4rem", className: "mb-3" }), _jsx(Skeleton, { width: "100%", height: "14rem" })] }) }), _jsx("div", { className: "col-12", children: _jsxs("div", { className: "surface-card p-3 border-round shadow-1", children: [_jsx(Skeleton, { width: "30%", height: "1.4rem", className: "mb-3" }), _jsx(Skeleton, { width: "100%", height: "16rem" })] }) })] }));
8
+ return (_jsxs("div", { className: "grid p-4", children: [_jsx("div", { className: "col-12 sm:col-12 md:col-6 lg:col-6 xl:col-4", children: _jsxs("div", { className: "surface-card p-3 border-round shadow-1", children: [_jsx(SkeletonBlock, { width: "40%", height: "1.4rem", className: "mb-2" }), _jsx(SkeletonBlock, { width: "70%", height: "2rem" })] }) }), _jsx("div", { className: "col-12 sm:col-12 md:col-6 lg:col-6 xl:col-4", children: _jsxs("div", { className: "surface-card p-3 border-round shadow-1", children: [_jsx(SkeletonBlock, { width: "40%", height: "1.4rem", className: "mb-2" }), _jsx(SkeletonBlock, { width: "70%", height: "2rem" })] }) }), _jsx("div", { className: "col-12 sm:col-12 md:col-6 lg:col-6 xl:col-4", children: _jsxs("div", { className: "surface-card p-3 border-round shadow-1", children: [_jsx(SkeletonBlock, { width: "40%", height: "1.4rem", className: "mb-2" }), _jsx(SkeletonBlock, { width: "70%", height: "2rem" })] }) }), _jsx("div", { className: "col-12 sm:col-12 md:col-6 lg:col-6 xl:col-4", children: _jsxs("div", { className: "surface-card p-3 border-round shadow-1", children: [_jsx(SkeletonBlock, { width: "30%", height: "1.4rem", className: "mb-3" }), _jsx(SkeletonBlock, { width: "100%", height: "14rem" })] }) }), _jsx("div", { className: "col-12 sm:col-12 md:col-12 lg:col-12 xl:col-8", children: _jsxs("div", { className: "surface-card p-3 border-round shadow-1", children: [_jsx(SkeletonBlock, { width: "30%", height: "1.4rem", className: "mb-3" }), _jsx(SkeletonBlock, { width: "100%", height: "14rem" })] }) }), _jsx("div", { className: "col-12", children: _jsxs("div", { className: "surface-card p-3 border-round shadow-1", children: [_jsx(SkeletonBlock, { width: "30%", height: "1.4rem", className: "mb-3" }), _jsx(SkeletonBlock, { width: "100%", height: "16rem" })] }) })] }));
6
9
  };
7
10
  //# sourceMappingURL=SolidDashboardLoading.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SolidDashboardLoading.js","sourceRoot":"","sources":["../../../../src/components/core/dashboard/SolidDashboardLoading.tsx"],"names":[],"mappings":"AAAA,aAAa,CAAA;;AACb,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAE9C,MAAM,CAAC,IAAM,qBAAqB,GAAG;IACjC,OAAO,CACH,eAAK,SAAS,EAAC,UAAU,aAGrB,cAAK,SAAS,EAAC,6CAA6C,YACxD,eAAK,SAAS,EAAC,wCAAwC,aACnD,KAAC,QAAQ,IAAC,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,QAAQ,EAAC,SAAS,EAAC,MAAM,GAAG,EACzD,KAAC,QAAQ,IAAC,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,MAAM,GAAG,IACpC,GACJ,EAEN,cAAK,SAAS,EAAC,6CAA6C,YACxD,eAAK,SAAS,EAAC,wCAAwC,aACnD,KAAC,Q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} from 'primereact/skeleton'\n\nexport const SolidDashboardLoading = () => {\n return (\n <div className=\"grid p-4\">\n\n {/* ROW 1 — Responsive KPI Cards */}\n <div className=\"col-12 sm:col-12 md:col-6 lg:col-6 xl:col-4\">\n <div className=\"surface-card p-3 border-round shadow-1\">\n <Skeleton width=\"40%\" height=\"1.4rem\" className=\"mb-2\" />\n <Skeleton width=\"70%\" height=\"2rem\" />\n </div>\n </div>\n\n <div className=\"col-12 sm:col-12 md:col-6 lg:col-6 xl:col-4\">\n <div className=\"surface-card p-3 border-round shadow-1\">\n <Skeleton width=\"40%\" height=\"1.4rem\" className=\"mb-2\" />\n <Skeleton width=\"70%\" height=\"2rem\" />\n </div>\n </div>\n\n <div className=\"col-12 sm:col-12 md:col-6 lg:col-6 xl:col-4\">\n <div className=\"surface-card p-3 border-round shadow-1\">\n <Skeleton width=\"40%\" height=\"1.4rem\" className=\"mb-2\" />\n <Skeleton width=\"70%\" height=\"2rem\" />\n </div>\n </div>\n\n {/* ROW 2 — Responsive Charts: 2 cards on desktop, but collapses */}\n <div className=\"col-12 sm:col-12 md:col-6 lg:col-6 xl:col-4\">\n <div className=\"surface-card p-3 border-round shadow-1\">\n <Skeleton width=\"30%\" height=\"1.4rem\" className=\"mb-3\" />\n <Skeleton width=\"100%\" height=\"14rem\" />\n </div>\n </div>\n\n <div className=\"col-12 sm:col-12 md:col-12 lg:col-12 xl:col-8\">\n <div className=\"surface-card p-3 border-round shadow-1\">\n <Skeleton width=\"30%\" height=\"1.4rem\" className=\"mb-3\" />\n <Skeleton width=\"100%\" height=\"14rem\" />\n </div>\n </div>\n\n {/* ROW 3 — Full width always */}\n <div className=\"col-12\">\n <div className=\"surface-card p-3 border-round shadow-1\">\n <Skeleton width=\"30%\" height=\"1.4rem\" className=\"mb-3\" />\n <Skeleton width=\"100%\" height=\"16rem\" />\n </div>\n </div>\n\n </div>\n )\n}"]}
1
+ {"version":3,"file":"SolidDashboardLoading.js","sourceRoot":"","sources":["../../../../src/components/core/d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AAC,aAAa,IAAC,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,QAAQ,EAAC,SAAS,EAAC,MAAM,GAAG,EAC9D,KAAC,aAAa,IAAC,KAAK,EAAC,MAAM,EAAC,MAAM,EAAC,OAAO,GAAG,IAC3C,GACJ,EAEN,cAAK,SAAS,EAAC,+CAA+C,YAC1D,eAAK,SAAS,EAAC,wCAAwC,aACnD,KAAC,aAAa,IAAC,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,QAAQ,EAAC,SAAS,EAAC,MAAM,GAAG,EAC9D,KAAC,aAAa,IAAC,KAAK,EAAC,MAAM,EAAC,MAAM,EAAC,OAAO,GAAG,IAC3C,GACJ,EAGN,cAAK,SAAS,EAAC,QAAQ,YACnB,eAAK,SAAS,EAAC,wCAAwC,aACnD,KAAC,aAAa,IAAC,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,QAAQ,EAAC,SAAS,EAAC,MAAM,GAAG,EAC9D,KAAC,aAAa,IAAC,KAAK,EAAC,MAAM,EAAC,MAAM,EAAC,OAAO,GAAG,IAC3C,GACJ,IAEJ,CACT,CAAA;AACL,CAAC,CAAA","sourcesContent":["\"use client'\"\n\nconst SkeletonBlock = ({ width, height, className }: { width?: string; height?: string; className?: string }) => (\n <div\n className={`solid-skeleton ${className ?? \"\"}`}\n style={{ width, height }}\n />\n);\n\nexport const SolidDashboardLoading = () => {\n return (\n <div className=\"grid p-4\">\n\n {/* ROW 1 — Responsive KPI Cards */}\n <div className=\"col-12 sm:col-12 md:col-6 lg:col-6 xl:col-4\">\n <div className=\"surface-card p-3 border-round shadow-1\">\n <SkeletonBlock width=\"40%\" height=\"1.4rem\" className=\"mb-2\" />\n <SkeletonBlock width=\"70%\" height=\"2rem\" />\n </div>\n </div>\n\n <div className=\"col-12 sm:col-12 md:col-6 lg:col-6 xl:col-4\">\n <div className=\"surface-card p-3 border-round shadow-1\">\n <SkeletonBlock width=\"40%\" height=\"1.4rem\" className=\"mb-2\" />\n <SkeletonBlock width=\"70%\" height=\"2rem\" />\n </div>\n </div>\n\n <div className=\"col-12 sm:col-12 md:col-6 lg:col-6 xl:col-4\">\n <div className=\"surface-card p-3 border-round shadow-1\">\n <SkeletonBlock width=\"40%\" height=\"1.4rem\" className=\"mb-2\" />\n <SkeletonBlock width=\"70%\" height=\"2rem\" />\n </div>\n </div>\n\n {/* ROW 2 — Responsive Charts: 2 cards on desktop, but collapses */}\n <div className=\"col-12 sm:col-12 md:col-6 lg:col-6 xl:col-4\">\n <div className=\"surface-card p-3 border-round shadow-1\">\n <SkeletonBlock width=\"30%\" height=\"1.4rem\" className=\"mb-3\" />\n <SkeletonBlock width=\"100%\" height=\"14rem\" />\n </div>\n </div>\n\n <div className=\"col-12 sm:col-12 md:col-12 lg:col-12 xl:col-8\">\n <div className=\"surface-card p-3 border-round shadow-1\">\n <SkeletonBlock width=\"30%\" height=\"1.4rem\" className=\"mb-3\" />\n <SkeletonBlock width=\"100%\" height=\"14rem\" />\n </div>\n </div>\n\n {/* ROW 3 — Full width always */}\n <div className=\"col-12\">\n <div className=\"surface-card p-3 border-round shadow-1\">\n <SkeletonBlock width=\"30%\" height=\"1.4rem\" className=\"mb-3\" />\n <SkeletonBlock width=\"100%\" height=\"16rem\" />\n </div>\n </div>\n\n </div>\n )\n}\n"]}
@@ -1,5 +1,11 @@
1
1
  "use client'"
2
- import { Skeleton } from 'primereact/skeleton'
2
+
3
+ const SkeletonBlock = ({ width, height, className }: { width?: string; height?: string; className?: string }) => (
4
+ <div
5
+ className={`solid-skeleton ${className ?? ""}`}
6
+ style={{ width, height }}
7
+ />
8
+ );
3
9
 
4
10
  export const SolidDashboardLoading = () => {
5
11
  return (
@@ -8,48 +14,48 @@ export const SolidDashboardLoading = () => {
8
14
  {/* ROW 1 — Responsive KPI Cards */}
9
15
  <div className="col-12 sm:col-12 md:col-6 lg:col-6 xl:col-4">
10
16
  <div className="surface-card p-3 border-round shadow-1">
11
- <Skeleton width="40%" height="1.4rem" className="mb-2" />
12
- <Skeleton width="70%" height="2rem" />
17
+ <SkeletonBlock width="40%" height="1.4rem" className="mb-2" />
18
+ <SkeletonBlock width="70%" height="2rem" />
13
19
  </div>
14
20
  </div>
15
21
 
16
22
  <div className="col-12 sm:col-12 md:col-6 lg:col-6 xl:col-4">
17
23
  <div className="surface-card p-3 border-round shadow-1">
18
- <Skeleton width="40%" height="1.4rem" className="mb-2" />
19
- <Skeleton width="70%" height="2rem" />
24
+ <SkeletonBlock width="40%" height="1.4rem" className="mb-2" />
25
+ <SkeletonBlock width="70%" height="2rem" />
20
26
  </div>
21
27
  </div>
22
28
 
23
29
  <div className="col-12 sm:col-12 md:col-6 lg:col-6 xl:col-4">
24
30
  <div className="surface-card p-3 border-round shadow-1">
25
- <Skeleton width="40%" height="1.4rem" className="mb-2" />
26
- <Skeleton width="70%" height="2rem" />
31
+ <SkeletonBlock width="40%" height="1.4rem" className="mb-2" />
32
+ <SkeletonBlock width="70%" height="2rem" />
27
33
  </div>
28
34
  </div>
29
35
 
30
36
  {/* ROW 2 — Responsive Charts: 2 cards on desktop, but collapses */}
31
37
  <div className="col-12 sm:col-12 md:col-6 lg:col-6 xl:col-4">
32
38
  <div className="surface-card p-3 border-round shadow-1">
33
- <Skeleton width="30%" height="1.4rem" className="mb-3" />
34
- <Skeleton width="100%" height="14rem" />
39
+ <SkeletonBlock width="30%" height="1.4rem" className="mb-3" />
40
+ <SkeletonBlock width="100%" height="14rem" />
35
41
  </div>
36
42
  </div>
37
43
 
38
44
  <div className="col-12 sm:col-12 md:col-12 lg:col-12 xl:col-8">
39
45
  <div className="surface-card p-3 border-round shadow-1">
40
- <Skeleton width="30%" height="1.4rem" className="mb-3" />
41
- <Skeleton width="100%" height="14rem" />
46
+ <SkeletonBlock width="30%" height="1.4rem" className="mb-3" />
47
+ <SkeletonBlock width="100%" height="14rem" />
42
48
  </div>
43
49
  </div>
44
50
 
45
51
  {/* ROW 3 — Full width always */}
46
52
  <div className="col-12">
47
53
  <div className="surface-card p-3 border-round shadow-1">
48
- <Skeleton width="30%" height="1.4rem" className="mb-3" />
49
- <Skeleton width="100%" height="16rem" />
54
+ <SkeletonBlock width="30%" height="1.4rem" className="mb-3" />
55
+ <SkeletonBlock width="100%" height="16rem" />
50
56
  </div>
51
57
  </div>
52
58
 
53
59
  </div>
54
60
  )
55
- }
61
+ }
@@ -1,11 +1,12 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { SolidIcon } from "../../shad-cn-ui";
2
3
  var SolidDashboardNotAvailable = function () {
3
4
  return (_jsx("div", { className: "flex align-items-center justify-content-center", style: { minHeight: '400px', padding: '2rem' }, children: _jsxs("div", { className: "flex flex-column align-items-center gap-3 text-center", style: { maxWidth: '500px' }, children: [_jsx("div", { className: "flex align-items-center justify-content-center border-circle", style: {
4
5
  width: '80px',
5
6
  height: '80px',
6
7
  backgroundColor: 'var(--blue-50)',
7
8
  color: 'var(--blue-500)'
8
- }, children: _jsx("i", { className: "pi pi-chart-bar", style: { fontSize: '2.5rem' } }) }), _jsxs("div", { className: "flex flex-column gap-2", children: [_jsx("h3", { className: "m-0", style: { color: 'var(--text-color)', fontSize: '1.25rem', fontWeight: 600 }, children: "Dashboard Not Available" }), _jsx("p", { className: "m-0", style: { color: 'var(--text-color-secondary)', fontSize: '0.95rem', lineHeight: '1.5' }, children: "This dashboard has not been configured yet or does not exist. Please check the dashboard settings or contact your administrator." })] })] }) }));
9
+ }, children: _jsx(SolidIcon, { name: "si-chart-bar", style: { fontSize: '2.5rem' }, "aria-hidden": true }) }), _jsxs("div", { className: "flex flex-column gap-2", children: [_jsx("h3", { className: "m-0", style: { color: 'var(--text-color)', fontSize: '1.25rem', fontWeight: 600 }, children: "Dashboard Not Available" }), _jsx("p", { className: "m-0", style: { color: 'var(--text-color-secondary)', fontSize: '0.95rem', lineHeight: '1.5' }, children: "This dashboard has not been configured yet or does not exist. Please check the dashboard settings or contact your administrator." })] })] }) }));
9
10
  };
10
11
  export default SolidDashboardNotAvailable;
11
12
  //# sourceMappingURL=SolidDashboardNotAvailable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SolidDashboardNotAvailable.js","sourceRoot":"","sources":["../../../../src/components/core/dashboard/SolidDashboardNotAvailable.tsx"],"names":[],"mappings":";AAEA,IAAM,0BAA0B,GAAG;IACjC,OAAO,CACL,cAAK,SAAS,EAAC,gDAAgD,EAAC,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,YAC5G,eAAK,SAAS,EAAC,uDAAuD,EAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,aACjG,cACE,SAAS,EAAC,8DAA8D,EACxE,KAAK,EAAE;wBACL,KAAK,EAAE,MAAM;wBACb,MAAM,EAAE,MAAM;wBACd,eAAe,EAAE,gBAAgB;wBACjC,KAAK,EAAE,iBAAiB;qBACzB,YAED,YAAG,SAAS,EAAC,iBAAiB,EAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAM,GAC9D,EAEN,eAAK,SAAS,EAAC,wBAAwB,aACrC,aAAI,SAAS,EAAC,KAAK,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,EAAE,wCAE1F,EACL,YAAG,SAAS,EAAC,KAAK,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,6BAA6B,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,EAAE,iJAEtG,IACA,IACF,GACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,0BAA0B,CAAC","sourcesContent":["\n\nconst SolidDashboardNotAvailable = () => {\n return (\n <div className=\"flex align-items-center justify-content-center\" style={{ minHeight: '400px', padding: '2rem' }}>\n <div className=\"flex flex-column align-items-center gap-3 text-center\" style={{ maxWidth: '500px' }}>\n <div \n className=\"flex align-items-center justify-content-center border-circle\"\n style={{\n width: '80px',\n height: '80px',\n backgroundColor: 'var(--blue-50)',\n color: 'var(--blue-500)'\n }}\n >\n <i className=\"pi pi-chart-bar\" style={{ fontSize: '2.5rem' }}></i>\n </div>\n \n <div className=\"flex flex-column gap-2\">\n <h3 className=\"m-0\" style={{ color: 'var(--text-color)', fontSize: '1.25rem', fontWeight: 600 }}>\n Dashboard Not Available\n </h3>\n <p className=\"m-0\" style={{ color: 'var(--text-color-secondary)', fontSize: '0.95rem', lineHeight: '1.5' }}>\n This dashboard has not been configured yet or does not exist. Please check the dashboard settings or contact your administrator.\n </p>\n </div>\n </div>\n </div>\n );\n};\n\nexport default SolidDashboardNotAvailable;"]}
1
+ {"version":3,"file":"SolidDashboardNotAvailable.js","sourceRoot":"","sources":["../../../../src/components/core/dashboard/SolidDashboardNotAvailable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,IAAM,0BAA0B,GAAG;IACjC,OAAO,CACL,cAAK,SAAS,EAAC,gDAAgD,EAAC,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,YAC5G,eAAK,SAAS,EAAC,uDAAuD,EAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,aACjG,cACE,SAAS,EAAC,8DAA8D,EACxE,KAAK,EAAE;wBACL,KAAK,EAAE,MAAM;wBACb,MAAM,EAAE,MAAM;wBACd,eAAe,EAAE,gBAAgB;wBACjC,KAAK,EAAE,iBAAiB;qBACzB,YAED,KAAC,SAAS,IAAC,IAAI,EAAC,cAAc,EAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,wBAAgB,GACxE,EAEN,eAAK,SAAS,EAAC,wBAAwB,aACrC,aAAI,SAAS,EAAC,KAAK,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,EAAE,wCAE1F,EACL,YAAG,SAAS,EAAC,KAAK,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,6BAA6B,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,EAAE,iJAEtG,IACA,IACF,GACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,0BAA0B,CAAC","sourcesContent":["import { SolidIcon } from \"../../shad-cn-ui\";\n\nconst SolidDashboardNotAvailable = () => {\n return (\n <div className=\"flex align-items-center justify-content-center\" style={{ minHeight: '400px', padding: '2rem' }}>\n <div className=\"flex flex-column align-items-center gap-3 text-center\" style={{ maxWidth: '500px' }}>\n <div \n className=\"flex align-items-center justify-content-center border-circle\"\n style={{\n width: '80px',\n height: '80px',\n backgroundColor: 'var(--blue-50)',\n color: 'var(--blue-500)'\n }}\n >\n <SolidIcon name=\"si-chart-bar\" style={{ fontSize: '2.5rem' }} aria-hidden />\n </div>\n \n <div className=\"flex flex-column gap-2\">\n <h3 className=\"m-0\" style={{ color: 'var(--text-color)', fontSize: '1.25rem', fontWeight: 600 }}>\n Dashboard Not Available\n </h3>\n <p className=\"m-0\" style={{ color: 'var(--text-color-secondary)', fontSize: '0.95rem', lineHeight: '1.5' }}>\n This dashboard has not been configured yet or does not exist. Please check the dashboard settings or contact your administrator.\n </p>\n </div>\n </div>\n </div>\n );\n};\n\nexport default SolidDashboardNotAvailable;\n"]}
@@ -1,4 +1,4 @@
1
-
1
+ import { SolidIcon } from "../../shad-cn-ui";
2
2
 
3
3
  const SolidDashboardNotAvailable = () => {
4
4
  return (
@@ -13,7 +13,7 @@ const SolidDashboardNotAvailable = () => {
13
13
  color: 'var(--blue-500)'
14
14
  }}
15
15
  >
16
- <i className="pi pi-chart-bar" style={{ fontSize: '2.5rem' }}></i>
16
+ <SolidIcon name="si-chart-bar" style={{ fontSize: '2.5rem' }} aria-hidden />
17
17
  </div>
18
18
 
19
19
  <div className="flex flex-column gap-2">
@@ -29,4 +29,4 @@ const SolidDashboardNotAvailable = () => {
29
29
  );
30
30
  };
31
31
 
32
- export default SolidDashboardNotAvailable;
32
+ export default SolidDashboardNotAvailable;
@@ -1 +1 @@
1
- {"version":3,"file":"SolidDashboardRenderError.d.ts","sourceRoot":"","sources":["../../../../src/components/core/dashboard/SolidDashboardRenderError.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB,+CA0BrC,CAAA"}
1
+ {"version":3,"file":"SolidDashboardRenderError.d.ts","sourceRoot":"","sources":["../../../../src/components/core/dashboard/SolidDashboardRenderError.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB,+CAyBrC,CAAA"}
@@ -1,10 +1,11 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { SolidIcon } from "../../shad-cn-ui";
2
3
  export var SolidDashboardRenderError = function () {
3
4
  return (_jsx("div", { className: "flex align-items-center justify-content-center", style: { minHeight: '400px', padding: '2rem' }, children: _jsxs("div", { className: "flex flex-column align-items-center gap-3 text-center", style: { maxWidth: '500px' }, children: [_jsx("div", { className: "flex align-items-center justify-content-center border-circle", style: {
4
5
  width: '80px',
5
6
  height: '80px',
6
7
  backgroundColor: 'var(--red-50)',
7
8
  color: 'var(--red-500)'
8
- }, children: _jsx("i", { className: "pi pi-exclamation-triangle", style: { fontSize: '2.5rem' } }) }), _jsxs("div", { className: "flex flex-column gap-2", children: [_jsx("h3", { className: "m-0", style: { color: 'var(--text-color)', fontSize: '1.25rem', fontWeight: 600 }, children: "Error in Loading Dashboard" }), _jsx("p", { className: "m-0", style: { color: 'var(--text-color-secondary)', fontSize: '0.95rem', lineHeight: '1.5' }, children: "Failed to load dashboard. Please try again." })] })] }) }));
9
+ }, children: _jsx(SolidIcon, { name: "si-exclamation-triangle", style: { fontSize: '2.5rem' }, "aria-hidden": true }) }), _jsxs("div", { className: "flex flex-column gap-2", children: [_jsx("h3", { className: "m-0", style: { color: 'var(--text-color)', fontSize: '1.25rem', fontWeight: 600 }, children: "Error in Loading Dashboard" }), _jsx("p", { className: "m-0", style: { color: 'var(--text-color-secondary)', fontSize: '0.95rem', lineHeight: '1.5' }, children: "Failed to load dashboard. Please try again." })] })] }) }));
9
10
  };
10
11
  //# sourceMappingURL=SolidDashboardRenderError.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SolidDashboardRenderError.js","sourceRoot":"","sources":["../../../../src/components/core/dashboard/SolidDashboardRenderError.tsx"],"names":[],"mappings":";AAEA,MAAM,CAAC,IAAM,yBAAyB,GAAG;IACvC,OAAO,CACL,cAAK,SAAS,EAAC,gDAAgD,EAAC,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,YAC5G,eAAK,SAAS,EAAC,uDAAuD,EAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,aACjG,cACE,SAAS,EAAC,8DAA8D,EACxE,KAAK,EAAE;wBACL,KAAK,EAAE,MAAM;wBACb,MAAM,EAAE,MAAM;wBACd,eAAe,EAAE,eAAe;wBAChC,KAAK,EAAE,gBAAgB;qBACxB,YAED,YAAG,SAAS,EAAC,4BAA4B,EACtC,KAAK,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAI,GAChC,EACN,eAAK,SAAS,EAAC,wBAAwB,aACrC,aAAI,SAAS,EAAC,KAAK,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,EAAE,2CAAiC,EAEhI,YAAG,SAAS,EAAC,KAAK,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,6BAA6B,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,EAAE,4DAEtG,IACA,IACF,GACF,CACP,CAAA;AACH,CAAC,CAAA","sourcesContent":["\n\nexport const SolidDashboardRenderError = () => {\n return (\n <div className=\"flex align-items-center justify-content-center\" style={{ minHeight: '400px', padding: '2rem' }}>\n <div className=\"flex flex-column align-items-center gap-3 text-center\" style={{ maxWidth: '500px' }}>\n <div\n className=\"flex align-items-center justify-content-center border-circle\"\n style={{\n width: '80px',\n height: '80px',\n backgroundColor: 'var(--red-50)',\n color: 'var(--red-500)'\n }}\n >\n <i className=\"pi pi-exclamation-triangle\"\n style={{ fontSize: '2.5rem' }} />\n </div>\n <div className=\"flex flex-column gap-2\">\n <h3 className=\"m-0\" style={{ color: 'var(--text-color)', fontSize: '1.25rem', fontWeight: 600 }}>Error in Loading Dashboard</h3>\n\n <p className=\"m-0\" style={{ color: 'var(--text-color-secondary)', fontSize: '0.95rem', lineHeight: '1.5' }}>\n Failed to load dashboard. Please try again.\n </p>\n </div>\n </div>\n </div>\n )\n}"]}
1
+ {"version":3,"file":"SolidDashboardRenderError.js","sourceRoot":"","sources":["../../../../src/components/core/dashboard/SolidDashboardRenderError.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,CAAC,IAAM,yBAAyB,GAAG;IACvC,OAAO,CACL,cAAK,SAAS,EAAC,gDAAgD,EAAC,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,YAC5G,eAAK,SAAS,EAAC,uDAAuD,EAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,aACjG,cACE,SAAS,EAAC,8DAA8D,EACxE,KAAK,EAAE;wBACL,KAAK,EAAE,MAAM;wBACb,MAAM,EAAE,MAAM;wBACd,eAAe,EAAE,eAAe;wBAChC,KAAK,EAAE,gBAAgB;qBACxB,YAED,KAAC,SAAS,IAAC,IAAI,EAAC,yBAAyB,EAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,wBAAgB,GACnF,EACN,eAAK,SAAS,EAAC,wBAAwB,aACrC,aAAI,SAAS,EAAC,KAAK,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,EAAE,2CAAiC,EAEhI,YAAG,SAAS,EAAC,KAAK,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,6BAA6B,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,EAAE,4DAEtG,IACA,IACF,GACF,CACP,CAAA;AACH,CAAC,CAAA","sourcesContent":["import { SolidIcon } from \"../../shad-cn-ui\";\n\nexport const SolidDashboardRenderError = () => {\n return (\n <div className=\"flex align-items-center justify-content-center\" style={{ minHeight: '400px', padding: '2rem' }}>\n <div className=\"flex flex-column align-items-center gap-3 text-center\" style={{ maxWidth: '500px' }}>\n <div\n className=\"flex align-items-center justify-content-center border-circle\"\n style={{\n width: '80px',\n height: '80px',\n backgroundColor: 'var(--red-50)',\n color: 'var(--red-500)'\n }}\n >\n <SolidIcon name=\"si-exclamation-triangle\" style={{ fontSize: '2.5rem' }} aria-hidden />\n </div>\n <div className=\"flex flex-column gap-2\">\n <h3 className=\"m-0\" style={{ color: 'var(--text-color)', fontSize: '1.25rem', fontWeight: 600 }}>Error in Loading Dashboard</h3>\n\n <p className=\"m-0\" style={{ color: 'var(--text-color-secondary)', fontSize: '0.95rem', lineHeight: '1.5' }}>\n Failed to load dashboard. Please try again.\n </p>\n </div>\n </div>\n </div>\n )\n}\n"]}
@@ -1,4 +1,4 @@
1
-
1
+ import { SolidIcon } from "../../shad-cn-ui";
2
2
 
3
3
  export const SolidDashboardRenderError = () => {
4
4
  return (
@@ -13,8 +13,7 @@ export const SolidDashboardRenderError = () => {
13
13
  color: 'var(--red-500)'
14
14
  }}
15
15
  >
16
- <i className="pi pi-exclamation-triangle"
17
- style={{ fontSize: '2.5rem' }} />
16
+ <SolidIcon name="si-exclamation-triangle" style={{ fontSize: '2.5rem' }} aria-hidden />
18
17
  </div>
19
18
  <div className="flex flex-column gap-2">
20
19
  <h3 className="m-0" style={{ color: 'var(--text-color)', fontSize: '1.25rem', fontWeight: 600 }}>Error in Loading Dashboard</h3>
@@ -26,4 +25,4 @@ export const SolidDashboardRenderError = () => {
26
25
  </div>
27
26
  </div>
28
27
  )
29
- }
28
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"SolidDashboardVariable.d.ts","sourceRoot":"","sources":["../../../../src/components/core/dashboard/SolidDashboardVariable.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAI1D,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,cAAc,EAAuB,MAAM,OAAO,CAAC;AAI7E,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAI3D,MAAM,WAAW,4BAA4B;IAC3C,UAAU,EAAE,QAAQ,CAAC,cAAc,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC;IACtD,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,EAAE,uBAAuB,CAAC;CAC5C;AAED,eAAO,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CA+C9E,CAAA;AAED,eAAO,MAAM,uCAAuC,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CA2E1F,CAAA;AAED,eAAO,MAAM,sCAAsC,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAgEzF,CAAA;AAED,MAAM,WAAW,2BAA2B;IAC1C,kBAAkB,EAAE,GAAG,CAAC;IACxB,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,UAAU,EAAE,QAAQ,CAAC,cAAc,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC;CACvD;AAED,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAmCjE,CAAA;AAED,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"SolidDashboardVariable.d.ts","sourceRoot":"","sources":["../../../../src/components/core/dashboard/SolidDashboardVariable.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,cAAc,EAAuB,MAAM,OAAO,CAAC;AAG7E,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAQ3D,MAAM,WAAW,4BAA4B;IAC3C,UAAU,EAAE,QAAQ,CAAC,cAAc,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC;IACtD,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,EAAE,uBAAuB,CAAC;CAC5C;AAID,eAAO,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAoD9E,CAAA;AAED,eAAO,MAAM,uCAAuC,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAyE1F,CAAA;AAED,eAAO,MAAM,sCAAsC,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAgEzF,CAAA;AAED,MAAM,WAAW,2BAA2B;IAC1C,kBAAkB,EAAE,GAAG,CAAC;IACxB,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,UAAU,EAAE,QAAQ,CAAC,cAAc,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC;CACvD;AAED,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAkCjE,CAAA;AAED,eAAe,sBAAsB,CAAC"}
@@ -8,13 +8,10 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
8
8
  return to.concat(ar || Array.prototype.slice.call(from));
9
9
  };
10
10
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
11
- import { AutoComplete } from "primereact/autocomplete";
12
- import { Calendar } from "primereact/calendar";
13
11
  import { useEffect, useState } from "react";
14
12
  import styles from './SolidDashboard.module.css';
15
13
  import { useGetDashboardVariableSelectionDynamicValuesQuery } from "../../../redux/api/dashboardApi";
16
- import { ProgressSpinner } from "primereact/progressspinner";
17
- import { Button } from "primereact/button";
14
+ import { SolidAutocomplete, SolidButton, SolidDatePicker, SolidIcon, SolidSpinner } from "../../shad-cn-ui";
18
15
  export var DateVariableFilterComponent = function (_a) {
19
16
  var setFilters = _a.setFilters, clearSignal = _a.clearSignal, dashboardVariable = _a.dashboardVariable;
20
17
  // Initialize the default dates state
@@ -30,12 +27,10 @@ export var DateVariableFilterComponent = function (_a) {
30
27
  useEffect(function () {
31
28
  setDates(null); // reset UI
32
29
  }, [clearSignal]);
33
- return (_jsxs("div", { className: "flex align-items-center ".concat(styles.SolidDashboardDateRangeFilterWrapper), children: [_jsx(Calendar, { value: dates, onChange: function (e) {
34
- console.log("Calendar changed values are: ");
35
- console.log(e.value);
36
- var newDates = e.value;
30
+ return (_jsxs("div", { className: "flex align-items-center ".concat(styles.SolidDashboardDateRangeFilterWrapper), children: [_jsx(SolidDatePicker, { selectsRange: true, startDate: dates ? dates[0] : null, endDate: dates ? dates[1] : null, onChange: function (next) {
31
+ var newDates = next;
37
32
  setDates(newDates);
38
- if (newDates && newDates.length === 2 && newDates[0] && newDates[1]) {
33
+ if (newDates && newDates[0] && newDates[1]) {
39
34
  var filter_1 = {
40
35
  variableName: dashboardVariable.variableName,
41
36
  // @ts-ignore
@@ -51,7 +46,7 @@ export var DateVariableFilterComponent = function (_a) {
51
46
  return [filter_1];
52
47
  });
53
48
  }
54
- }, selectionMode: "range", readOnlyInput: true, hideOnRangeSelection: true, inputStyle: { height: 36.38 }, className: styles.SolidDashboardDateRangeFilter }), _jsx("div", { className: "px-2", children: _jsx("i", { className: "pi pi-calendar opacity-50" }) })] }));
49
+ }, className: styles.SolidDashboardDateRangeFilter, inputClassName: "h-3rem w-full" }), _jsx("div", { className: "px-2", children: _jsx(SolidIcon, { name: "si-calendar", className: "opacity-50", "aria-hidden": true }) })] }));
55
50
  };
56
51
  export var SelectionDynamicVariableFilterComponent = function (_a) {
57
52
  var setFilters = _a.setFilters, clearSignal = _a.clearSignal, dashboardVariable = _a.dashboardVariable;
@@ -99,10 +94,8 @@ export var SelectionDynamicVariableFilterComponent = function (_a) {
99
94
  useEffect(function () {
100
95
  setSelectionDynamicValues([]);
101
96
  }, [clearSignal]);
102
- return (_jsxs(_Fragment, { children: [isLoading && _jsx(ProgressSpinner, {}), isError && _jsx("div", { children: "Error loading values" }), !isLoading && !isError &&
103
- _jsx(AutoComplete, { value: selectionDynamicValues, suggestions: filteredItems, completeMethod: searchDynamic, onChange: function (e) {
104
- console.log('AutoComplete changed values are:');
105
- console.log(e);
97
+ return (_jsxs(_Fragment, { children: [isLoading && _jsx(SolidSpinner, {}), isError && _jsx("div", { children: "Error loading values" }), !isLoading && !isError &&
98
+ _jsx(SolidAutocomplete, { value: selectionDynamicValues, suggestions: filteredItems, completeMethod: searchDynamic, onChange: function (e) {
106
99
  setSelectionDynamicValues(e.value);
107
100
  }, multiple: true, dropdown: true, placeholder: dashboardVariable.variableName, className: "solid-standard-autocomplete", style: { minHeight: 38 } })] }));
108
101
  };
@@ -150,7 +143,7 @@ export var SelectionStaticVariableFilterComponent = function (_a) {
150
143
  useEffect(function () {
151
144
  setSelectionStaticValues([]);
152
145
  }, [clearSignal]);
153
- return (_jsx(AutoComplete, { value: selectionStaticValues, suggestions: filteredStaticItems, completeMethod: searchStatic, onChange: function (e) { return setSelectionStaticValues(e.value); }, multiple: true, dropdown: true, placeholder: dashboardVariable.variableName, className: "solid-standard-autocomplete", style: { minHeight: 38 } }));
146
+ return (_jsx(SolidAutocomplete, { value: selectionStaticValues, suggestions: filteredStaticItems, completeMethod: searchStatic, onChange: function (e) { return setSelectionStaticValues(e.value); }, multiple: true, dropdown: true, placeholder: dashboardVariable.variableName, className: "solid-standard-autocomplete", style: { minHeight: 38 } }));
154
147
  };
155
148
  var SolidDashboardVariable = function (_a) {
156
149
  var dashboardVariables = _a.dashboardVariables, filters = _a.filters, setFilters = _a.setFilters;
@@ -172,9 +165,7 @@ var SolidDashboardVariable = function (_a) {
172
165
  setClearSignal(function (prev) { return prev + 1; }); // triggers children to reset
173
166
  };
174
167
  // TODO [HP]: Currently this is static, we need this to be dynamic how we are invoking setFilters below has to be fully dynamic...
175
- return (_jsxs("div", { className: "flex align-items-center gap-3", children: [dashboardVariableComponents, filters.length > 0 && (_jsx(Button, { onClick: clearAllFilters, size: "small", outlined: true,
176
- // severity="info"
177
- icon: "pi pi-filter-slash" }))] }));
168
+ return (_jsxs("div", { className: "flex align-items-center gap-3", children: [dashboardVariableComponents, filters.length > 0 && (_jsx(SolidButton, { onClick: clearAllFilters, size: "sm", outlined: true, icon: "si si-filter-slash" }))] }));
178
169
  };
179
170
  export default SolidDashboardVariable;
180
171
  //# sourceMappingURL=SolidDashboardVariable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SolidDashboardVariable.js","sourceRoot":"","sources":["../../../../src/components/core/dashboard/SolidDashboardVariable.tsx"],"names":[],"mappings":";;;;;;;;;;AAEA,OAAO,EAAE,YAAY,EAAsD,MAAM,yBAAyB,CAAC;AAC3G,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE/C,OAAc,EAA4B,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,MAAM,MAAM,6BAA6B,CAAC;AACjD,OAAO,EAAE,kDAAkD,EAAE,MAAM,iCAAiC,CAAC;AACrG,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE7D,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAS3C,MAAM,CAAC,IAAM,2BAA2B,GAA2C,UAAC,EAA8C;QAA5C,UAAU,gBAAA,EAAE,WAAW,iBAAA,EAAE,iBAAiB,uBAAA;IAC9H,qCAAqC;IACrC,oJAAoJ;IACpJ,IAAM,kBAAkB,GAAG,iBAAiB,CAAC,eAAe,KAAK,UAAU,IAAI,iBAAiB,CAAC,YAAY,CAAA;IAC7G,IAAM,iBAAiB,GAAG,IAAI,CAAC,KAAK,CAAC,kBAAkB,IAAI,IAAI,CAAC,CAAC;IACjE,4CAA4C;IAC5C,IAAM,YAAY,GAA8B,iBAAiB,CAAC,MAAM,KAAK,CAAC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AC;SACf;IACH,CAAC,CAAC,CAAC;IAEH,IAAM,eAAe,GAAG;QACtB,UAAU,CAAC,EAAE,CAAC,CAAC;QACf,cAAc,CAAC,UAAA,IAAI,IAAI,OAAA,IAAI,GAAG,CAAC,EAAR,CAAQ,CAAC,CAAC,CAAE,6BAA6B;IAClE,CAAC,CAAC;IAEF,kIAAkI;IAClI,OAAO,CACL,eAAK,SAAS,EAAC,+BAA+B,aAC3C,2BAA2B,EAC3B,OAAO,CAAC,MAAM,GAAG,CAAC,IAAI,CACrB,KAAC,MAAM,IACL,OAAO,EAAE,eAAe,EACxB,IAAI,EAAC,OAAO,EACZ,QAAQ;gBACR,kBAAkB;gBAClB,IAAI,EAAC,oBAAoB,GACzB,CACH,IACG,CACP,CAAC;AACJ,CAAC,CAAA;AAED,eAAe,sBAAsB,CAAC","sourcesContent":["\nimport { SqlExpression } from \"../../../types/solid-core\";\nimport { AutoComplete, AutoCompleteChangeEvent, AutoCompleteCompleteEvent } from \"primereact/autocomplete\";\nimport { Calendar } from \"primereact/calendar\";\nimport { Nullable } from \"primereact/ts-helpers\";\nimport React, { Dispatch, SetStateAction, useEffect, useState } from \"react\";\nimport styles from './SolidDashboard.module.css';\nimport { useGetDashboardVariableSelectionDynamicValuesQuery } from \"../../../redux/api/dashboardApi\";\nimport { ProgressSpinner } from \"primereact/progressspinner\";\nimport { DashboardVariableRecord } from \"./SolidDashboard\";\nimport { Button } from \"primereact/button\";\n\n\nexport interface DashboardVariableFilterProps {\n setFilters: Dispatch<SetStateAction<SqlExpression[]>>;\n clearSignal: number;\n dashboardVariable: DashboardVariableRecord;\n}\n\nexport const DateVariableFilterComponent: React.FC<DashboardVariableFilterProps> = ({ setFilters, clearSignal, dashboardVariable }) => {\n // Initialize the default dates state\n // If the dashboardVariable has a defaultOperator as Between and a defaultValue as two dates, we can set those as the initial values, otherwise null\n const defaultDatesString = dashboardVariable.defaultOperator === '$between' && dashboardVariable.defaultValue\n const defaultDatesArray = JSON.parse(defaultDatesString || '[]');\n // Map the defaultDatesArray to Date objects\n const defaultDates: Nullable<(Date | null)[]> = defaultDatesArray.length === 2 ? [\n new Date(defaultDatesArray[0]),\n new Date(defaultDatesArray[1])\n ] : null;\n const [dates, setDates] = useState<Nullable<(Date | null)[]>>(defaultDates);\n\n useEffect(() => {\n setDates(null); // reset UI\n }, [clearSignal]);\n \n return (\n <div className={`flex align-items-center ${styles.SolidDashboardDateRangeFilterWrapper}`}>\n <Calendar value={dates} onChange={(e) => {\n console.log(`Calendar changed values are: `);\n console.log(e.value);\n const newDates = e.value as Date[] | null;\n setDates(newDates);\n\n if (newDates && newDates.length === 2 && newDates[0] && newDates[1]) {\n const filter: SqlExpression = {\n variableName: dashboardVariable.variableName,\n // @ts-ignore\n operator: '$between',\n value: [\n newDates[0].toISOString().split('T')[0],\n newDates[1].toISOString().split('T')[0]\n ]\n };\n setFilters(prev => {\n // Remove any existing dashboardDate filter and replace with the new one\n // const filtered = prev.filter(f => f.variableName !== 'dashboardDate');\n return [filter];\n });\n }\n\n }} selectionMode=\"range\" readOnlyInput hideOnRangeSelection inputStyle={{ height: 36.38 }} className={styles.SolidDashboardDateRangeFilter} />\n <div className=\"px-2\">\n <i className=\"pi pi-calendar opacity-50\"></i>\n </div>\n </div>\n )\n}\n\nexport const SelectionDynamicVariableFilterComponent: React.FC<DashboardVariableFilterProps> = ({ setFilters, clearSignal, dashboardVariable }) => {\n // Initialize the selection dynamic values state\n // Pick the values from defaultValue if present, for default operator $in\n const defaultDynamicValuesString = dashboardVariable.defaultOperator === '$in' && dashboardVariable.defaultValue;\n const defaultDynamicValues = JSON.parse(defaultDynamicValuesString || '[]');\n\n // Selection Dynamic Values\n const [selectionDynamicValues, setSelectionDynamicValues] = useState<string[]>(defaultDynamicValues);\n const [filteredItems, setFilteredItems] = useState<string[]>([]);\n\n // Using rtk query to fetch dynamic values based on variableId\n const variableId = dashboardVariable.id;\n const queryString = `variableId=${variableId}`;\n const { data: dynamicValues, isLoading, isError } = useGetDashboardVariableSelectionDynamicValuesQuery(queryString);\n\n const allItems = dynamicValues ? dynamicValues : [];\n\n // Dynamic search\n const searchDynamic = (event: AutoCompleteCompleteEvent) => {\n const query = event.query.toLowerCase();\n const filtered = allItems.map(item => item.label).filter(item =>\n item.toLowerCase().includes(query)\n );\n setFilteredItems(filtered);\n };\n\n // Set the filters whenever selectionDynamicValues change\n useEffect(() => {\n console.log(`Selection Dynamic Values changed:`, selectionDynamicValues);\n if (selectionDynamicValues.length > 0) {\n const filter: SqlExpression = {\n variableName: dashboardVariable.variableName,\n // @ts-ignore\n operator: '$in',\n value: selectionDynamicValues\n };\n setFilters(prev => {\n // Remove any existing filter for this variable and replace with the new one\n const filtered = prev.filter(f => f.variableName !== dashboardVariable.variableName);\n return [...filtered, filter];\n });\n }\n // else {\n // // If no values selected, remove the filter for this variable\n // setFilters(prev => prev.filter(f => f.variableName !== dashboardVariable.variableName));\n // }\n }, [selectionDynamicValues]);\n\n useEffect(() => {\n setSelectionDynamicValues([]);\n }, [clearSignal]);\n\n return (\n <>\n {isLoading && <ProgressSpinner></ProgressSpinner>}\n {isError && <div>Error loading values</div>}\n {!isLoading && !isError &&\n <AutoComplete\n value={selectionDynamicValues}\n suggestions={filteredItems}\n completeMethod={searchDynamic}\n onChange={(e: AutoCompleteChangeEvent) => {\n console.log('AutoComplete changed values are:');\n console.log(e);\n setSelectionDynamicValues(e.value)\n }}\n multiple\n dropdown\n placeholder={dashboardVariable.variableName}\n className=\"solid-standard-autocomplete\"\n style={{ minHeight: 38 }}\n />\n }\n </>\n );\n}\n\nexport const SelectionStaticVariableFilterComponent: React.FC<DashboardVariableFilterProps> = ({ setFilters, clearSignal, dashboardVariable }) => {\n // Initialize the selection static values state\n // Pick the values from defaultValue if present, for default operator $in\n const defaultStaticValuesString = dashboardVariable.defaultOperator === '$in' && dashboardVariable.defaultValue;\n const defaultStaticValues = JSON.parse(defaultStaticValuesString || '[]');\n\n // Selection Static Values\n const [selectionStaticValues, setSelectionStaticValues] = useState<string[]>(defaultStaticValues);\n const [filteredStaticItems, setFilteredStaticItems] = useState<string[]>([]);\n const staticValues = JSON.parse(dashboardVariable.selectionStaticValues || '[]') || [];\n\n // The values are in the format val:label, we need to extract the labels\n const staticValueItems = staticValues.map((val: any) => ({ value: val.split(':')[0], label: val.split(':')[1] }));\n\n // Static search\n const searchStatic = (event: AutoCompleteCompleteEvent) => {\n const query = event.query.toLowerCase();\n const filtered = staticValueItems.map(\n (item: { label: any; }) => item.label\n ).filter((item: string) =>\n item.toLowerCase().includes(query)\n );\n setFilteredStaticItems(filtered);\n };\n\n // Set the filters whenever selectionStaticValues change\n useEffect(() => {\n // console.log(`Selection Static Values changed:`, selectionStaticValues);\n if (selectionStaticValues.length > 0) {\n const filter: SqlExpression = {\n variableName: dashboardVariable.variableName,\n // @ts-ignore\n operator: '$in',\n value: selectionStaticValues\n };\n setFilters(prev => {\n // Remove any existing filter for this variable and replace with the new one\n const filtered = prev.filter(f => f.variableName !== dashboardVariable.variableName);\n return [...filtered, filter];\n });\n }\n // else {\n // // If no values selected, remove the filter for this variable\n // setFilters(prev => prev.filter(f => f.variableName !== dashboardVariable.variableName));\n // }\n }, [selectionStaticValues]);\n\n useEffect(() => {\n setSelectionStaticValues([]);\n }, [clearSignal]);\n\n return (\n <AutoComplete\n value={selectionStaticValues}\n suggestions={filteredStaticItems}\n completeMethod={searchStatic}\n onChange={(e: AutoCompleteChangeEvent) => setSelectionStaticValues(e.value)}\n multiple\n dropdown\n placeholder={dashboardVariable.variableName}\n className=\"solid-standard-autocomplete\"\n style={{ minHeight: 38 }}\n />\n );\n}\n\nexport interface SolidDashboardVariableProps {\n dashboardVariables: any;\n filters: SqlExpression[];\n setFilters: Dispatch<SetStateAction<SqlExpression[]>>;\n}\n\nconst SolidDashboardVariable: React.FC<SolidDashboardVariableProps> = ({ dashboardVariables, filters, setFilters }) => {\n const [clearSignal, setClearSignal] = useState(0);\n const dashboardVariableComponents = dashboardVariables.map((dashboardVariable: any, index: number) => {\n switch (dashboardVariable.variableType) {\n case 'date':\n return <DateVariableFilterComponent key={index} setFilters={setFilters} clearSignal={clearSignal} dashboardVariable={dashboardVariable} />;\n case 'selectionStatic':\n return <SelectionStaticVariableFilterComponent key={index} setFilters={setFilters} clearSignal={clearSignal} dashboardVariable={dashboardVariable} />;\n case 'selectionDynamic':\n return <SelectionDynamicVariableFilterComponent key={index} setFilters={setFilters} clearSignal={clearSignal} dashboardVariable={dashboardVariable} />;\n default:\n return null;\n }\n });\n\n const clearAllFilters = () => {\n setFilters([]);\n setClearSignal(prev => prev + 1); // triggers children to reset\n };\n\n // TODO [HP]: Currently this is static, we need this to be dynamic how we are invoking setFilters below has to be fully dynamic...\n return (\n <div className=\"flex align-items-center gap-3\">\n {dashboardVariableComponents}\n {filters.length > 0 && (\n <Button\n onClick={clearAllFilters}\n size=\"small\"\n outlined\n // severity=\"info\"\n icon=\"pi pi-filter-slash\"\n />\n )}\n </div>\n );\n}\n\nexport default SolidDashboardVariable;\n\n"]}
1
+ {"version":3,"file":"SolidDashboardVariable.js","sourceRoot":"","sources":["../../../../src/components/core/dashboard/SolidDashboardVariable.tsx"],"names":[],"mappings":";;;;;;;;;;AAEA,OAAc,EAA4B,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,MAAM,MAAM,6BAA6B,CAAC;AACjD,OAAO,EAAE,kDAAkD,EAAE,MAAM,iCAAiC,CAAC;AAErG,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,eAAe,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAe5G,MAAM,CAAC,IAAM,2BAA2B,GAA2C,UAAC,EAA8C;QAA5C,UAAU,gBAAA,EAAE,WAAW,iBAAA,EAAE,iBAAiB,uBAAA;IAC9H,qCAAqC;IACrC,oJAAoJ;IACpJ,IAAM,kBAAkB,GAAG,iBAAiB,CAAC,eAAe,KAAK,UAAU,IAAI,iBAAiB,CAAC,YAAY,CAAA;IAC7G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ACE,OAAO,IAAI,CAAC;SACf;IACH,CAAC,CAAC,CAAC;IAEH,IAAM,eAAe,GAAG;QACtB,UAAU,CAAC,EAAE,CAAC,CAAC;QACf,cAAc,CAAC,UAAA,IAAI,IAAI,OAAA,IAAI,GAAG,CAAC,EAAR,CAAQ,CAAC,CAAC,CAAE,6BAA6B;IAClE,CAAC,CAAC;IAEF,kIAAkI;IAClI,OAAO,CACL,eAAK,SAAS,EAAC,+BAA+B,aAC3C,2BAA2B,EAC3B,OAAO,CAAC,MAAM,GAAG,CAAC,IAAI,CACrB,KAAC,WAAW,IACV,OAAO,EAAE,eAAe,EACxB,IAAI,EAAC,IAAI,EACT,QAAQ,QACR,IAAI,EAAC,oBAAoB,GACzB,CACH,IACG,CACP,CAAC;AACJ,CAAC,CAAA;AAED,eAAe,sBAAsB,CAAC","sourcesContent":["\nimport { SqlExpression } from \"../../../types/solid-core\";\nimport React, { Dispatch, SetStateAction, useEffect, useState } from \"react\";\nimport styles from './SolidDashboard.module.css';\nimport { useGetDashboardVariableSelectionDynamicValuesQuery } from \"../../../redux/api/dashboardApi\";\nimport { DashboardVariableRecord } from \"./SolidDashboard\";\nimport { SolidAutocomplete, SolidButton, SolidDatePicker, SolidIcon, SolidSpinner } from \"../../shad-cn-ui\";\n\ntype Nullable<T> = T | null;\ntype AutoCompleteChangeEvent = { value: any };\ntype AutoCompleteCompleteEvent = { query: string };\n\n\nexport interface DashboardVariableFilterProps {\n setFilters: Dispatch<SetStateAction<SqlExpression[]>>;\n clearSignal: number;\n dashboardVariable: DashboardVariableRecord;\n}\n\ntype DateRange = [Date | null, Date | null] | null;\n\nexport const DateVariableFilterComponent: React.FC<DashboardVariableFilterProps> = ({ setFilters, clearSignal, dashboardVariable }) => {\n // Initialize the default dates state\n // If the dashboardVariable has a defaultOperator as Between and a defaultValue as two dates, we can set those as the initial values, otherwise null\n const defaultDatesString = dashboardVariable.defaultOperator === '$between' && dashboardVariable.defaultValue\n const defaultDatesArray = JSON.parse(defaultDatesString || '[]');\n // Map the defaultDatesArray to Date objects\n const defaultDates: DateRange = defaultDatesArray.length === 2 ? [\n new Date(defaultDatesArray[0]),\n new Date(defaultDatesArray[1])\n ] : null;\n const [dates, setDates] = useState<DateRange>(defaultDates);\n\n useEffect(() => {\n setDates(null); // reset UI\n }, [clearSignal]);\n \n return (\n <div className={`flex align-items-center ${styles.SolidDashboardDateRangeFilterWrapper}`}>\n <SolidDatePicker\n selectsRange\n startDate={dates ? dates[0] : null}\n endDate={dates ? dates[1] : null}\n onChange={(next: [Date | null, Date | null] | null) => {\n const newDates = next;\n setDates(newDates);\n\n if (newDates && newDates[0] && newDates[1]) {\n const filter: SqlExpression = {\n variableName: dashboardVariable.variableName,\n // @ts-ignore\n operator: '$between',\n value: [\n newDates[0].toISOString().split('T')[0],\n newDates[1].toISOString().split('T')[0]\n ]\n };\n setFilters(prev => {\n // Remove any existing dashboardDate filter and replace with the new one\n // const filtered = prev.filter(f => f.variableName !== 'dashboardDate');\n return [filter];\n });\n }\n\n }}\n className={styles.SolidDashboardDateRangeFilter}\n inputClassName=\"h-3rem w-full\"\n />\n <div className=\"px-2\">\n <SolidIcon name=\"si-calendar\" className=\"opacity-50\" aria-hidden />\n </div>\n </div>\n )\n}\n\nexport const SelectionDynamicVariableFilterComponent: React.FC<DashboardVariableFilterProps> = ({ setFilters, clearSignal, dashboardVariable }) => {\n // Initialize the selection dynamic values state\n // Pick the values from defaultValue if present, for default operator $in\n const defaultDynamicValuesString = dashboardVariable.defaultOperator === '$in' && dashboardVariable.defaultValue;\n const defaultDynamicValues = JSON.parse(defaultDynamicValuesString || '[]');\n\n // Selection Dynamic Values\n const [selectionDynamicValues, setSelectionDynamicValues] = useState<string[]>(defaultDynamicValues);\n const [filteredItems, setFilteredItems] = useState<string[]>([]);\n\n // Using rtk query to fetch dynamic values based on variableId\n const variableId = dashboardVariable.id;\n const queryString = `variableId=${variableId}`;\n const { data: dynamicValues, isLoading, isError } = useGetDashboardVariableSelectionDynamicValuesQuery(queryString);\n\n const allItems = dynamicValues ? dynamicValues : [];\n\n // Dynamic search\n const searchDynamic = (event: AutoCompleteCompleteEvent) => {\n const query = event.query.toLowerCase();\n const filtered = allItems.map(item => item.label).filter(item =>\n item.toLowerCase().includes(query)\n );\n setFilteredItems(filtered);\n };\n\n // Set the filters whenever selectionDynamicValues change\n useEffect(() => {\n console.log(`Selection Dynamic Values changed:`, selectionDynamicValues);\n if (selectionDynamicValues.length > 0) {\n const filter: SqlExpression = {\n variableName: dashboardVariable.variableName,\n // @ts-ignore\n operator: '$in',\n value: selectionDynamicValues\n };\n setFilters(prev => {\n // Remove any existing filter for this variable and replace with the new one\n const filtered = prev.filter(f => f.variableName !== dashboardVariable.variableName);\n return [...filtered, filter];\n });\n }\n // else {\n // // If no values selected, remove the filter for this variable\n // setFilters(prev => prev.filter(f => f.variableName !== dashboardVariable.variableName));\n // }\n }, [selectionDynamicValues]);\n\n useEffect(() => {\n setSelectionDynamicValues([]);\n }, [clearSignal]);\n\n return (\n <>\n {isLoading && <SolidSpinner />}\n {isError && <div>Error loading values</div>}\n {!isLoading && !isError &&\n <SolidAutocomplete\n value={selectionDynamicValues}\n suggestions={filteredItems}\n completeMethod={searchDynamic}\n onChange={(e: AutoCompleteChangeEvent) => {\n setSelectionDynamicValues(e.value)\n }}\n multiple\n dropdown\n placeholder={dashboardVariable.variableName}\n className=\"solid-standard-autocomplete\"\n style={{ minHeight: 38 }}\n />\n }\n </>\n );\n}\n\nexport const SelectionStaticVariableFilterComponent: React.FC<DashboardVariableFilterProps> = ({ setFilters, clearSignal, dashboardVariable }) => {\n // Initialize the selection static values state\n // Pick the values from defaultValue if present, for default operator $in\n const defaultStaticValuesString = dashboardVariable.defaultOperator === '$in' && dashboardVariable.defaultValue;\n const defaultStaticValues = JSON.parse(defaultStaticValuesString || '[]');\n\n // Selection Static Values\n const [selectionStaticValues, setSelectionStaticValues] = useState<string[]>(defaultStaticValues);\n const [filteredStaticItems, setFilteredStaticItems] = useState<string[]>([]);\n const staticValues = JSON.parse(dashboardVariable.selectionStaticValues || '[]') || [];\n\n // The values are in the format val:label, we need to extract the labels\n const staticValueItems = staticValues.map((val: any) => ({ value: val.split(':')[0], label: val.split(':')[1] }));\n\n // Static search\n const searchStatic = (event: AutoCompleteCompleteEvent) => {\n const query = event.query.toLowerCase();\n const filtered = staticValueItems.map(\n (item: { label: any; }) => item.label\n ).filter((item: string) =>\n item.toLowerCase().includes(query)\n );\n setFilteredStaticItems(filtered);\n };\n\n // Set the filters whenever selectionStaticValues change\n useEffect(() => {\n // console.log(`Selection Static Values changed:`, selectionStaticValues);\n if (selectionStaticValues.length > 0) {\n const filter: SqlExpression = {\n variableName: dashboardVariable.variableName,\n // @ts-ignore\n operator: '$in',\n value: selectionStaticValues\n };\n setFilters(prev => {\n // Remove any existing filter for this variable and replace with the new one\n const filtered = prev.filter(f => f.variableName !== dashboardVariable.variableName);\n return [...filtered, filter];\n });\n }\n // else {\n // // If no values selected, remove the filter for this variable\n // setFilters(prev => prev.filter(f => f.variableName !== dashboardVariable.variableName));\n // }\n }, [selectionStaticValues]);\n\n useEffect(() => {\n setSelectionStaticValues([]);\n }, [clearSignal]);\n\n return (\n <SolidAutocomplete\n value={selectionStaticValues}\n suggestions={filteredStaticItems}\n completeMethod={searchStatic}\n onChange={(e: AutoCompleteChangeEvent) => setSelectionStaticValues(e.value)}\n multiple\n dropdown\n placeholder={dashboardVariable.variableName}\n className=\"solid-standard-autocomplete\"\n style={{ minHeight: 38 }}\n />\n );\n}\n\nexport interface SolidDashboardVariableProps {\n dashboardVariables: any;\n filters: SqlExpression[];\n setFilters: Dispatch<SetStateAction<SqlExpression[]>>;\n}\n\nconst SolidDashboardVariable: React.FC<SolidDashboardVariableProps> = ({ dashboardVariables, filters, setFilters }) => {\n const [clearSignal, setClearSignal] = useState(0);\n const dashboardVariableComponents = dashboardVariables.map((dashboardVariable: any, index: number) => {\n switch (dashboardVariable.variableType) {\n case 'date':\n return <DateVariableFilterComponent key={index} setFilters={setFilters} clearSignal={clearSignal} dashboardVariable={dashboardVariable} />;\n case 'selectionStatic':\n return <SelectionStaticVariableFilterComponent key={index} setFilters={setFilters} clearSignal={clearSignal} dashboardVariable={dashboardVariable} />;\n case 'selectionDynamic':\n return <SelectionDynamicVariableFilterComponent key={index} setFilters={setFilters} clearSignal={clearSignal} dashboardVariable={dashboardVariable} />;\n default:\n return null;\n }\n });\n\n const clearAllFilters = () => {\n setFilters([]);\n setClearSignal(prev => prev + 1); // triggers children to reset\n };\n\n // TODO [HP]: Currently this is static, we need this to be dynamic how we are invoking setFilters below has to be fully dynamic...\n return (\n <div className=\"flex align-items-center gap-3\">\n {dashboardVariableComponents}\n {filters.length > 0 && (\n <SolidButton\n onClick={clearAllFilters}\n size=\"sm\"\n outlined\n icon=\"si si-filter-slash\"\n />\n )}\n </div>\n );\n}\n\nexport default SolidDashboardVariable;\n"]}