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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (301) hide show
  1. package/dist/components/Svg/FileSvg.js +1 -1
  2. package/dist/components/Svg/FileSvg.js.map +1 -1
  3. package/dist/components/Svg/FileSvg.tsx +1 -1
  4. package/dist/components/auth/AuthLayout.d.ts.map +1 -1
  5. package/dist/components/auth/AuthLayout.js +94 -38
  6. package/dist/components/auth/AuthLayout.js.map +1 -1
  7. package/dist/components/auth/AuthLayout.tsx +49 -39
  8. package/dist/components/auth/AuthSettingsContext.d.ts +10 -0
  9. package/dist/components/auth/AuthSettingsContext.d.ts.map +1 -0
  10. package/dist/components/auth/AuthSettingsContext.js +49 -0
  11. package/dist/components/auth/AuthSettingsContext.js.map +1 -0
  12. package/dist/components/auth/AuthSettingsContext.tsx +19 -0
  13. package/dist/components/auth/AuthTabs.d.ts.map +1 -1
  14. package/dist/components/auth/AuthTabs.js +9 -9
  15. package/dist/components/auth/AuthTabs.js.map +1 -1
  16. package/dist/components/auth/AuthTabs.tsx +14 -15
  17. package/dist/components/auth/ForgotPasswordThankYou.d.ts.map +1 -1
  18. package/dist/components/auth/ForgotPasswordThankYou.js +2 -6
  19. package/dist/components/auth/ForgotPasswordThankYou.js.map +1 -1
  20. package/dist/components/auth/ForgotPasswordThankYou.tsx +2 -7
  21. package/dist/components/auth/SolidForgotPassword.d.ts.map +1 -1
  22. package/dist/components/auth/SolidForgotPassword.js +3 -7
  23. package/dist/components/auth/SolidForgotPassword.js.map +1 -1
  24. package/dist/components/auth/SolidForgotPassword.tsx +3 -7
  25. package/dist/components/auth/SolidInitialLoginOtp.d.ts.map +1 -1
  26. package/dist/components/auth/SolidInitialLoginOtp.js +4 -7
  27. package/dist/components/auth/SolidInitialLoginOtp.js.map +1 -1
  28. package/dist/components/auth/SolidInitialLoginOtp.tsx +2 -5
  29. package/dist/components/auth/SolidInitiateRegisterOtp.d.ts.map +1 -1
  30. package/dist/components/auth/SolidInitiateRegisterOtp.js +4 -7
  31. package/dist/components/auth/SolidInitiateRegisterOtp.js.map +1 -1
  32. package/dist/components/auth/SolidInitiateRegisterOtp.tsx +2 -5
  33. package/dist/components/auth/SolidLogin.d.ts.map +1 -1
  34. package/dist/components/auth/SolidLogin.js +5 -8
  35. package/dist/components/auth/SolidLogin.js.map +1 -1
  36. package/dist/components/auth/SolidLogin.tsx +5 -6
  37. package/dist/components/auth/SolidRegister.d.ts.map +1 -1
  38. package/dist/components/auth/SolidRegister.js +9 -12
  39. package/dist/components/auth/SolidRegister.js.map +1 -1
  40. package/dist/components/auth/SolidRegister.tsx +21 -11
  41. package/dist/components/auth/SolidResetPassword.d.ts.map +1 -1
  42. package/dist/components/auth/SolidResetPassword.js +2 -6
  43. package/dist/components/auth/SolidResetPassword.js.map +1 -1
  44. package/dist/components/auth/SolidResetPassword.tsx +2 -6
  45. package/dist/components/common/AuthBanner.js.map +1 -1
  46. package/dist/components/common/GeneralSettings.d.ts.map +1 -1
  47. package/dist/components/common/GeneralSettings.js +48 -51
  48. package/dist/components/common/GeneralSettings.js.map +1 -1
  49. package/dist/components/common/GeneralSettings.tsx +8 -25
  50. package/dist/components/common/SolidAdmin.js +1 -1
  51. package/dist/components/common/SolidAdmin.js.map +1 -1
  52. package/dist/components/common/SolidAdmin.tsx +1 -1
  53. package/dist/components/common/SolidFormStepper.js +1 -1
  54. package/dist/components/common/SolidFormStepper.js.map +1 -1
  55. package/dist/components/common/SolidFormStepper.tsx +1 -1
  56. package/dist/components/common/SolidThemeProvider.d.ts.map +1 -1
  57. package/dist/components/common/SolidThemeProvider.js +5 -21
  58. package/dist/components/common/SolidThemeProvider.js.map +1 -1
  59. package/dist/components/common/SolidThemeProvider.tsx +6 -24
  60. package/dist/components/common/solidModuleHome.module.css +1 -2
  61. package/dist/components/core/card/SolidCardView.js +1 -1
  62. package/dist/components/core/card/SolidCardView.js.map +1 -1
  63. package/dist/components/core/card/SolidCardView.tsx +1 -1
  64. package/dist/components/core/chatter/chatter.module.css +7 -7
  65. package/dist/components/core/common/PDFViewer.js +1 -1
  66. package/dist/components/core/common/PDFViewer.js.map +1 -1
  67. package/dist/components/core/common/PDFViewer.tsx +2 -2
  68. package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.module.css +1 -1
  69. package/dist/components/core/common/SolidGenericImport/SolidImport.module.css +3 -4
  70. package/dist/components/core/common/SolidGlobalSearchElement.js +3 -3
  71. package/dist/components/core/common/SolidGlobalSearchElement.js.map +1 -1
  72. package/dist/components/core/common/SolidGlobalSearchElement.tsx +3 -3
  73. package/dist/components/core/common/dndCompat.d.ts +8 -0
  74. package/dist/components/core/common/dndCompat.d.ts.map +1 -0
  75. package/dist/components/core/common/dndCompat.js +5 -0
  76. package/dist/components/core/common/dndCompat.js.map +1 -0
  77. package/dist/components/core/common/dndCompat.ts +9 -0
  78. package/dist/components/core/dashboard/SolidDashboardFilterRequired.js +2 -2
  79. package/dist/components/core/dashboard/SolidDashboardFilterRequired.js.map +1 -1
  80. package/dist/components/core/dashboard/SolidDashboardFilterRequired.tsx +2 -2
  81. package/dist/components/core/dashboard/SolidDashboardNotAvailable.js +2 -2
  82. package/dist/components/core/dashboard/SolidDashboardNotAvailable.js.map +1 -1
  83. package/dist/components/core/dashboard/SolidDashboardNotAvailable.tsx +2 -2
  84. package/dist/components/core/extension/solid-core/chatterMessage/form/SolidChatterMessageCoModelEntityIdFormViewWidget.js +1 -1
  85. package/dist/components/core/extension/solid-core/chatterMessage/form/SolidChatterMessageCoModelEntityIdFormViewWidget.js.map +1 -1
  86. package/dist/components/core/extension/solid-core/chatterMessage/form/SolidChatterMessageCoModelEntityIdFormViewWidget.tsx +1 -1
  87. package/dist/components/core/extension/solid-core/chatterMessage/list/SolidChatterMessageCoModelEntityIdListViewWidget.js +1 -1
  88. package/dist/components/core/extension/solid-core/chatterMessage/list/SolidChatterMessageCoModelEntityIdListViewWidget.js.map +1 -1
  89. package/dist/components/core/extension/solid-core/chatterMessage/list/SolidChatterMessageCoModelEntityIdListViewWidget.tsx +1 -1
  90. package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessagesSummarizeListHeaderAction.js +1 -1
  91. package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessagesSummarizeListHeaderAction.js.map +1 -1
  92. package/dist/components/core/extension/solid-core/mqMessage/list/SolidMqMessagesSummarizeListHeaderAction.tsx +1 -1
  93. package/dist/components/core/extension/solid-core/mqMessage/ui/MqMessageStageBadge.js +1 -1
  94. package/dist/components/core/extension/solid-core/mqMessage/ui/MqMessageStageBadge.js.map +1 -1
  95. package/dist/components/core/extension/solid-core/mqMessage/ui/MqMessageStageBadge.tsx +1 -1
  96. package/dist/components/core/form/SolidFormActionHeader.d.ts.map +1 -1
  97. package/dist/components/core/form/SolidFormActionHeader.js +4 -0
  98. package/dist/components/core/form/SolidFormActionHeader.js.map +1 -1
  99. package/dist/components/core/form/SolidFormActionHeader.tsx +12 -0
  100. package/dist/components/core/form/SolidFormView.js +42 -41
  101. package/dist/components/core/form/SolidFormView.js.map +1 -1
  102. package/dist/components/core/form/SolidFormView.tsx +16 -16
  103. package/dist/components/core/form/fields/SolidDateTimeField.d.ts.map +1 -1
  104. package/dist/components/core/form/fields/SolidDateTimeField.js +8 -2
  105. package/dist/components/core/form/fields/SolidDateTimeField.js.map +1 -1
  106. package/dist/components/core/form/fields/SolidDateTimeField.tsx +8 -2
  107. package/dist/components/core/form/fields/SolidEmailField.d.ts.map +1 -1
  108. package/dist/components/core/form/fields/SolidEmailField.js +5 -4
  109. package/dist/components/core/form/fields/SolidEmailField.js.map +1 -1
  110. package/dist/components/core/form/fields/SolidEmailField.tsx +17 -15
  111. package/dist/components/core/form/fields/SolidIntegerField.d.ts.map +1 -1
  112. package/dist/components/core/form/fields/SolidIntegerField.js +5 -4
  113. package/dist/components/core/form/fields/SolidIntegerField.js.map +1 -1
  114. package/dist/components/core/form/fields/SolidIntegerField.tsx +3 -1
  115. package/dist/components/core/form/fields/SolidShortTextField.d.ts.map +1 -1
  116. package/dist/components/core/form/fields/SolidShortTextField.js +8 -6
  117. package/dist/components/core/form/fields/SolidShortTextField.js.map +1 -1
  118. package/dist/components/core/form/fields/SolidShortTextField.tsx +7 -1
  119. package/dist/components/core/form/fields/SolidTimeField.js +1 -1
  120. package/dist/components/core/form/fields/SolidTimeField.js.map +1 -1
  121. package/dist/components/core/form/fields/SolidTimeField.tsx +1 -1
  122. package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.d.ts.map +1 -1
  123. package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.js +3 -3
  124. package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.js.map +1 -1
  125. package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.tsx +0 -5
  126. package/dist/components/core/form/fields/solidFields.module.css +0 -3
  127. package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.d.ts +1 -1
  128. package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.js +1 -1
  129. package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.js.map +1 -1
  130. package/dist/components/core/form/fields/widgets/SolidS3FileViewerWidget.tsx +1 -1
  131. package/dist/components/core/kanban/KanbanCard.d.ts.map +1 -1
  132. package/dist/components/core/kanban/KanbanCard.js +2 -2
  133. package/dist/components/core/kanban/KanbanCard.js.map +1 -1
  134. package/dist/components/core/kanban/KanbanCard.tsx +4 -3
  135. package/dist/components/core/kanban/KanbanColumn.d.ts.map +1 -1
  136. package/dist/components/core/kanban/KanbanColumn.js +3 -3
  137. package/dist/components/core/kanban/KanbanColumn.js.map +1 -1
  138. package/dist/components/core/kanban/KanbanColumn.tsx +5 -4
  139. package/dist/components/core/kanban/SolidKanbanView.d.ts.map +1 -1
  140. package/dist/components/core/kanban/SolidKanbanView.js +42 -45
  141. package/dist/components/core/kanban/SolidKanbanView.js.map +1 -1
  142. package/dist/components/core/kanban/SolidKanbanView.tsx +17 -26
  143. package/dist/components/core/kanban/SolidManyToOneFilterElement.d.ts.map +1 -1
  144. package/dist/components/core/kanban/SolidManyToOneFilterElement.js.map +1 -1
  145. package/dist/components/core/kanban/SolidManyToOneFilterElement.tsx +1 -2
  146. package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.d.ts.map +1 -1
  147. package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.js +2 -2
  148. package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.js.map +1 -1
  149. package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.tsx +21 -10
  150. package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.d.ts.map +1 -1
  151. package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.js +2 -2
  152. package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.js.map +1 -1
  153. package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.tsx +18 -10
  154. package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.d.ts.map +1 -1
  155. package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.js +3 -6
  156. package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.js.map +1 -1
  157. package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.tsx +30 -24
  158. package/dist/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.js.map +1 -1
  159. package/dist/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.tsx +2 -2
  160. package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.d.ts.map +1 -1
  161. package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.js +4 -3
  162. package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.js.map +1 -1
  163. package/dist/components/core/list/SolidColumnSelector/SolidListColumnSelector.tsx +13 -12
  164. package/dist/components/core/list/SolidDataTablePagination.d.ts +15 -0
  165. package/dist/components/core/list/SolidDataTablePagination.d.ts.map +1 -0
  166. package/dist/components/core/list/SolidDataTablePagination.js +22 -0
  167. package/dist/components/core/list/SolidDataTablePagination.js.map +1 -0
  168. package/dist/components/core/list/SolidDataTablePagination.tsx +71 -0
  169. package/dist/components/core/list/SolidEmptyListViewPlaceholder.d.ts.map +1 -1
  170. package/dist/components/core/list/SolidEmptyListViewPlaceholder.js +1 -1
  171. package/dist/components/core/list/SolidEmptyListViewPlaceholder.js.map +1 -1
  172. package/dist/components/core/list/SolidEmptyListViewPlaceholder.tsx +6 -4
  173. package/dist/components/core/list/SolidListView.d.ts.map +1 -1
  174. package/dist/components/core/list/SolidListView.js +5 -12
  175. package/dist/components/core/list/SolidListView.js.map +1 -1
  176. package/dist/components/core/list/SolidListView.tsx +29 -49
  177. package/dist/components/core/list/SolidListViewRowActionsMenu.js +2 -2
  178. package/dist/components/core/list/SolidListViewRowActionsMenu.js.map +1 -1
  179. package/dist/components/core/list/SolidListViewRowActionsMenu.tsx +2 -2
  180. package/dist/components/core/list/SolidListViewRowButtonContextMenu.d.ts +1 -1
  181. package/dist/components/core/list/SolidListViewRowButtonContextMenu.d.ts.map +1 -1
  182. package/dist/components/core/list/SolidListViewRowButtonContextMenu.js +6 -7
  183. package/dist/components/core/list/SolidListViewRowButtonContextMenu.js.map +1 -1
  184. package/dist/components/core/list/SolidListViewRowButtonContextMenu.tsx +9 -10
  185. package/dist/components/core/module/CreateModule.js +1 -1
  186. package/dist/components/core/module/CreateModule.js.map +1 -1
  187. package/dist/components/core/module/CreateModule.tsx +1 -1
  188. package/dist/components/core/solid-ai/SolidAiChat.module.css +3 -3
  189. package/dist/components/core/tree/SolidTreeView.js +1 -1
  190. package/dist/components/core/tree/SolidTreeView.js.map +1 -1
  191. package/dist/components/core/tree/SolidTreeView.tsx +1 -1
  192. package/dist/components/core/users/ApiKeysTab/ApiKeysTab.css +283 -9
  193. package/dist/components/core/users/ApiKeysTab/ApiKeysTab.d.ts.map +1 -1
  194. package/dist/components/core/users/ApiKeysTab/ApiKeysTab.js +35 -28
  195. package/dist/components/core/users/ApiKeysTab/ApiKeysTab.js.map +1 -1
  196. package/dist/components/core/users/ApiKeysTab/ApiKeysTab.tsx +64 -62
  197. package/dist/components/core/users/ApiKeysTab/GenerateApiKeyModal.d.ts +2 -1
  198. package/dist/components/core/users/ApiKeysTab/GenerateApiKeyModal.d.ts.map +1 -1
  199. package/dist/components/core/users/ApiKeysTab/GenerateApiKeyModal.js +4 -4
  200. package/dist/components/core/users/ApiKeysTab/GenerateApiKeyModal.js.map +1 -1
  201. package/dist/components/core/users/ApiKeysTab/GenerateApiKeyModal.tsx +17 -10
  202. package/dist/components/core/users/ApiKeysTab/RevealApiKeyModal.d.ts.map +1 -1
  203. package/dist/components/core/users/ApiKeysTab/RevealApiKeyModal.js +2 -19
  204. package/dist/components/core/users/ApiKeysTab/RevealApiKeyModal.js.map +1 -1
  205. package/dist/components/core/users/ApiKeysTab/RevealApiKeyModal.tsx +24 -43
  206. package/dist/components/core/users/CreateUser.css +114 -0
  207. package/dist/components/core/users/CreateUser.d.ts +1 -0
  208. package/dist/components/core/users/CreateUser.d.ts.map +1 -1
  209. package/dist/components/core/users/CreateUser.js +4 -3
  210. package/dist/components/core/users/CreateUser.js.map +1 -1
  211. package/dist/components/core/users/CreateUser.tsx +32 -26
  212. package/dist/components/layout/AdminTopHeader.d.ts.map +1 -1
  213. package/dist/components/layout/AdminTopHeader.js +25 -1
  214. package/dist/components/layout/AdminTopHeader.js.map +1 -1
  215. package/dist/components/layout/AdminTopHeader.tsx +38 -1
  216. package/dist/components/layout/context/layoutcontext.js +2 -2
  217. package/dist/components/layout/context/layoutcontext.js.map +1 -1
  218. package/dist/components/layout/context/layoutcontext.tsx +2 -2
  219. package/dist/components/shad-cn-ui/SolidAutocomplete.d.ts.map +1 -1
  220. package/dist/components/shad-cn-ui/SolidAutocomplete.js +9 -1
  221. package/dist/components/shad-cn-ui/SolidAutocomplete.js.map +1 -1
  222. package/dist/components/shad-cn-ui/SolidAutocomplete.tsx +10 -1
  223. package/dist/components/shad-cn-ui/SolidConfirmDialog.d.ts +6 -1
  224. package/dist/components/shad-cn-ui/SolidConfirmDialog.d.ts.map +1 -1
  225. package/dist/components/shad-cn-ui/SolidConfirmDialog.js +3 -3
  226. package/dist/components/shad-cn-ui/SolidConfirmDialog.js.map +1 -1
  227. package/dist/components/shad-cn-ui/SolidConfirmDialog.tsx +15 -3
  228. package/dist/components/shad-cn-ui/SolidDatePicker.d.ts.map +1 -1
  229. package/dist/components/shad-cn-ui/SolidDatePicker.js +12 -2
  230. package/dist/components/shad-cn-ui/SolidDatePicker.js.map +1 -1
  231. package/dist/components/shad-cn-ui/SolidDatePicker.tsx +13 -2
  232. package/dist/components/shad-cn-ui/SolidTabs.d.ts.map +1 -1
  233. package/dist/components/shad-cn-ui/SolidTabs.js +5 -2
  234. package/dist/components/shad-cn-ui/SolidTabs.js.map +1 -1
  235. package/dist/components/shad-cn-ui/SolidTabs.tsx +51 -25
  236. package/dist/components/solid-ui/SolidButton.d.ts +14 -0
  237. package/dist/components/solid-ui/SolidButton.d.ts.map +1 -0
  238. package/dist/components/solid-ui/SolidButton.js +36 -0
  239. package/dist/components/solid-ui/SolidButton.js.map +1 -0
  240. package/dist/components/solid-ui/SolidButton.tsx +54 -0
  241. package/dist/components/solid-ui/SolidTabs.d.ts +18 -0
  242. package/dist/components/solid-ui/SolidTabs.d.ts.map +1 -0
  243. package/dist/components/solid-ui/SolidTabs.js +22 -0
  244. package/dist/components/solid-ui/SolidTabs.js.map +1 -0
  245. package/dist/components/solid-ui/SolidTabs.tsx +73 -0
  246. package/dist/components/solid-ui/index.d.ts +3 -0
  247. package/dist/components/solid-ui/index.d.ts.map +1 -0
  248. package/dist/components/solid-ui/index.js +3 -0
  249. package/dist/components/solid-ui/index.js.map +1 -0
  250. package/dist/components/solid-ui/index.ts +2 -0
  251. package/dist/helpers/downloadMediaFile.d.ts +1 -1
  252. package/dist/helpers/downloadMediaFile.d.ts.map +1 -1
  253. package/dist/helpers/downloadMediaFile.js +8 -66
  254. package/dist/helpers/downloadMediaFile.js.map +1 -1
  255. package/dist/helpers/downloadMediaFile.tsx +8 -18
  256. package/dist/resources/globals.css +104 -84
  257. package/dist/resources/images/Background.svg +5 -1
  258. package/dist/resources/images/Navigation/SolidSettinsIcon.svg +7 -1
  259. package/dist/resources/images/errors/error.svg +14 -10
  260. package/dist/resources/shadcn-base.css +120 -354
  261. package/dist/resources/themes/solid-dark-purple/theme.css +26 -36
  262. package/dist/resources/themes/solid-light-purple/theme.css +129 -129
  263. package/dist/routes/SolidLayoutRegistry.d.ts.map +1 -1
  264. package/dist/routes/SolidLayoutRegistry.js +3 -1
  265. package/dist/routes/SolidLayoutRegistry.js.map +1 -1
  266. package/dist/routes/SolidLayoutRegistry.tsx +3 -1
  267. package/dist/routes/guards/AuthGuard.d.ts.map +1 -1
  268. package/dist/routes/guards/AuthGuard.js +4 -1
  269. package/dist/routes/guards/AuthGuard.js.map +1 -1
  270. package/dist/routes/guards/AuthGuard.tsx +6 -1
  271. package/package.json +1 -1
  272. package/dist/components/auth/SolidOTPVerify.d.ts +0 -3
  273. package/dist/components/auth/SolidOTPVerify.d.ts.map +0 -1
  274. package/dist/components/auth/SolidOTPVerify.js +0 -67
  275. package/dist/components/auth/SolidOTPVerify.js.map +0 -1
  276. package/dist/components/auth/SolidOTPVerify.tsx +0 -133
  277. package/dist/components/core/common/LoadDynamicJsxComponent.d.ts +0 -2
  278. package/dist/components/core/common/LoadDynamicJsxComponent.d.ts.map +0 -1
  279. package/dist/components/core/common/LoadDynamicJsxComponent.js +0 -50
  280. package/dist/components/core/common/LoadDynamicJsxComponent.js.map +0 -1
  281. package/dist/components/core/common/LoadDynamicJsxComponent.tsx +0 -70
  282. package/dist/nextAuth/authProviders.d.ts +0 -4
  283. package/dist/nextAuth/authProviders.d.ts.map +0 -1
  284. package/dist/nextAuth/authProviders.js +0 -198
  285. package/dist/nextAuth/authProviders.js.map +0 -1
  286. package/dist/nextAuth/authProviders.tsx +0 -232
  287. package/dist/nextAuth/handleLogout.d.ts +0 -2
  288. package/dist/nextAuth/handleLogout.d.ts.map +0 -1
  289. package/dist/nextAuth/handleLogout.js +0 -36
  290. package/dist/nextAuth/handleLogout.js.map +0 -1
  291. package/dist/nextAuth/handleLogout.tsx +0 -39
  292. package/dist/nextAuth/refreshAccessToken.d.ts +0 -2
  293. package/dist/nextAuth/refreshAccessToken.d.ts.map +0 -1
  294. package/dist/nextAuth/refreshAccessToken.js +0 -24
  295. package/dist/nextAuth/refreshAccessToken.js.map +0 -1
  296. package/dist/nextAuth/refreshAccessToken.tsx +0 -28
  297. package/dist/redux/features/settingsSlice.d.ts +0 -20
  298. package/dist/redux/features/settingsSlice.d.ts.map +0 -1
  299. package/dist/redux/features/settingsSlice.js +0 -39
  300. package/dist/redux/features/settingsSlice.js.map +0 -1
  301. package/dist/redux/features/settingsSlice.ts +0 -60
@@ -1321,7 +1321,7 @@ export const SolidGlobalSearchElement = forwardRef(({ viewData, viewType, handle
1321
1321
  setShowGlobalSearchElement(true)
1322
1322
  }
1323
1323
  }>
1324
- <rect width="20" height="20" rx="4" fill="#722ED1" />
1324
+ <rect width="20" height="20" rx="4" fill="var(--primary-color, var(--primary))" />
1325
1325
  <path d="M8.66667 15V13.3333H11.3333V15H8.66667ZM6 10.8333V9.16667H14V10.8333H6ZM4 6.66667V5H16V6.66667H4Z"
1326
1326
  fill="white" />
1327
1327
  </svg>
@@ -1395,7 +1395,7 @@ export const SolidGlobalSearchElement = forwardRef(({ viewData, viewType, handle
1395
1395
  }
1396
1396
  }
1397
1397
  >
1398
- <rect width="20" height="20" rx="4" fill="#722ED1" />
1398
+ <rect width="20" height="20" rx="4" fill="var(--primary-color, var(--primary))" />
1399
1399
  <path d="M8.66667 15V13.3333H11.3333V15H8.66667ZM6 10.8333V9.16667H14V10.8333H6ZM4 6.66667V5H16V6.66667H4Z"
1400
1400
  fill="white" />
1401
1401
  </svg>
@@ -1427,7 +1427,7 @@ export const SolidGlobalSearchElement = forwardRef(({ viewData, viewType, handle
1427
1427
 
1428
1428
  onClick={() => setShowGroupFilterElement(true)}
1429
1429
  >
1430
- <rect width="20" height="20" rx="4" fill="#722ED1" />
1430
+ <rect width="20" height="20" rx="4" fill="var(--primary-color, var(--primary))" />
1431
1431
  <path d="M8.66667 15V13.3333H11.3333V15H8.66667ZM6 10.8333V9.16667H14V10.8333H6ZM4 6.66667V5H16V6.66667H4Z"
1432
1432
  fill="white" />
1433
1433
  </svg>
@@ -0,0 +1,8 @@
1
+ import type { DraggableProps, DroppableProps } from "@hello-pangea/dnd";
2
+ import type { JSX, ReactNode } from "react";
3
+ type DndCompatComponent<Props> = (props: Props) => JSX.Element | null;
4
+ export declare const CompatibleDraggable: DndCompatComponent<DraggableProps>;
5
+ export declare const CompatibleDroppable: DndCompatComponent<DroppableProps>;
6
+ export declare const asCompatibleReactNode: (node: unknown) => ReactNode;
7
+ export {};
8
+ //# sourceMappingURL=dndCompat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dndCompat.d.ts","sourceRoot":"","sources":["../../../../src/components/core/common/dndCompat.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5C,KAAK,kBAAkB,CAAC,KAAK,IAAI,CAAC,KAAK,EAAE,KAAK,KAAK,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC;AAEtE,eAAO,MAAM,mBAAmB,oCAA6D,CAAC;AAC9F,eAAO,MAAM,mBAAmB,oCAA6D,CAAC;AAC9F,eAAO,MAAM,qBAAqB,SAAU,OAAO,KAAG,SAA8B,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { Draggable, Droppable } from "@hello-pangea/dnd";
2
+ export var CompatibleDraggable = Draggable;
3
+ export var CompatibleDroppable = Droppable;
4
+ export var asCompatibleReactNode = function (node) { return node; };
5
+ //# sourceMappingURL=dndCompat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dndCompat.js","sourceRoot":"","sources":["../../../../src/components/core/common/dndCompat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAMzD,MAAM,CAAC,IAAM,mBAAmB,GAAG,SAA0D,CAAC;AAC9F,MAAM,CAAC,IAAM,mBAAmB,GAAG,SAA0D,CAAC;AAC9F,MAAM,CAAC,IAAM,qBAAqB,GAAG,UAAC,IAAa,IAAgB,OAAA,IAAiB,EAAjB,CAAiB,CAAC","sourcesContent":["import { Draggable, Droppable } from \"@hello-pangea/dnd\";\nimport type { DraggableProps, DroppableProps } from \"@hello-pangea/dnd\";\nimport type { JSX, ReactNode } from \"react\";\n\ntype DndCompatComponent<Props> = (props: Props) => JSX.Element | null;\n\nexport const CompatibleDraggable = Draggable as unknown as DndCompatComponent<DraggableProps>;\nexport const CompatibleDroppable = Droppable as unknown as DndCompatComponent<DroppableProps>;\nexport const asCompatibleReactNode = (node: unknown): ReactNode => node as ReactNode;\n"]}
@@ -0,0 +1,9 @@
1
+ import { Draggable, Droppable } from "@hello-pangea/dnd";
2
+ import type { DraggableProps, DroppableProps } from "@hello-pangea/dnd";
3
+ import type { JSX, ReactNode } from "react";
4
+
5
+ type DndCompatComponent<Props> = (props: Props) => JSX.Element | null;
6
+
7
+ export const CompatibleDraggable = Draggable as unknown as DndCompatComponent<DraggableProps>;
8
+ export const CompatibleDroppable = Droppable as unknown as DndCompatComponent<DroppableProps>;
9
+ export const asCompatibleReactNode = (node: unknown): ReactNode => node as ReactNode;
@@ -4,8 +4,8 @@ export var SolidDashboardFilterRequired = function () {
4
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: {
5
5
  width: '80px',
6
6
  height: '80px',
7
- backgroundColor: 'var(--blue-50)',
8
- color: 'var(--blue-500)'
7
+ backgroundColor: 'var(--primary-50)',
8
+ color: 'var(--primary-500)'
9
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." })] }) })] }) }));
10
10
  };
11
11
  //# sourceMappingURL=SolidDashboardFilterRequired.js.map
@@ -1 +1 @@
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
+ {"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,mBAAmB;wBACpC,KAAK,EAAE,oBAAoB;qBAC5B,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(--primary-50)',\n color: 'var(--primary-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"]}
@@ -8,8 +8,8 @@ export const SolidDashboardFilterRequired = () => {
8
8
  style={{
9
9
  width: '80px',
10
10
  height: '80px',
11
- backgroundColor: 'var(--blue-50)',
12
- color: 'var(--blue-500)'
11
+ backgroundColor: 'var(--primary-50)',
12
+ color: 'var(--primary-500)'
13
13
  }}
14
14
  >
15
15
  <SolidIcon name="si-filter" style={{ color: "var(--primary-color)", fontSize: '2.5rem' }} aria-hidden />
@@ -4,8 +4,8 @@ var SolidDashboardNotAvailable = function () {
4
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: {
5
5
  width: '80px',
6
6
  height: '80px',
7
- backgroundColor: 'var(--blue-50)',
8
- color: 'var(--blue-500)'
7
+ backgroundColor: 'var(--primary-50)',
8
+ color: 'var(--primary-500)'
9
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." })] })] }) }));
10
10
  };
11
11
  export default SolidDashboardNotAvailable;
@@ -1 +1 @@
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
+ {"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,mBAAmB;wBACpC,KAAK,EAAE,oBAAoB;qBAC5B,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(--primary-50)',\n color: 'var(--primary-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"]}
@@ -9,8 +9,8 @@ const SolidDashboardNotAvailable = () => {
9
9
  style={{
10
10
  width: '80px',
11
11
  height: '80px',
12
- backgroundColor: 'var(--blue-50)',
13
- color: 'var(--blue-500)'
12
+ backgroundColor: 'var(--primary-50)',
13
+ color: 'var(--primary-500)'
14
14
  }}
15
15
  >
16
16
  <SolidIcon name="si-chart-bar" style={{ fontSize: '2.5rem' }} aria-hidden />
@@ -85,7 +85,7 @@ export var SolidChatterMessageCoModelEntityIdFormViewWidget = function (_a) {
85
85
  gap: '6px',
86
86
  textDecoration: 'none',
87
87
  fontSize: '12px',
88
- color: '#2563eb',
88
+ color: '#722ED1',
89
89
  fontWeight: 500
90
90
  }, children: [_jsxs("span", { children: [value, " (", modelUserKey || modelDisplayName || coModelName, ")"] }), _jsx(ExternalLink, { size: 16 })] })) : (_jsx("span", { className: "text-muted", children: "\u2014" })) })] }));
91
91
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SolidChatterMessageCoModelEntityIdFormViewWidget.js","sourceRoot":"","sources":["../../../../../../../src/components/core/extension/solid-core/chatterMessage/form/SolidChatterMessageCoModelEntityIdFormViewWidget.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,MAAM,CAAC,IAAM,gDAAgD,GAAG,UAAC,EAAmD;;QAAjD,MAAM,YAAA,EAAE,YAAY,kBAAA;IACnF,IAAM,aAAa,GAAG,YAAY,CAAC,aAAa,CAAC;IACjD,IAAM,eAAe,GAAG,YAAY,CAAC,KAAK,CAAC;IAE3C,IAAM,UAAU,GAAG,MAAA,eAAe,CAAC,KAAK,CAAC,KAAK,mCAAI,aAAa,CAAC,WAAW,CAAC;IAC5E,IAAM,SAAS,GAAG,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,KAAK,0CAAE,IAAI,CAAC;IAEzC,IAAA,KAAgC,QAAQ,CAAS,GAAG,CAAC,EAApD,WAAW,QAAA,EAAE,cAAc,QAAyB,CAAC;IAC5D,IAAM,KAAK,GAAG,MAAA,MAAM,CAAC,MAAM,0CAAG,SAAS,CAAC,CAAC;IAEzC,IAAM,WAAW,GAAG,MAAA,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,IAAI,0CAAE,WAAW,CAAC;IACpD,IAAM,gBAAgB,GAAG,MAAA,YAAY,aAAZ,YAAY,uB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SAAS,EAAC,MAAM,YAChB,KAAK,CAAC,CAAC,CAAC,CACL,aACI,IAAI,EAAE,WAAW,EACjB,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,EACzB,KAAK,EAAE;wBACH,OAAO,EAAE,aAAa;wBACtB,UAAU,EAAE,QAAQ;wBACpB,GAAG,EAAE,KAAK;wBACV,cAAc,EAAE,MAAM;wBACtB,QAAQ,EAAE,MAAM;wBAChB,KAAK,EAAE,SAAS;wBAChB,UAAU,EAAE,GAAG;qBAClB,aAED,2BAAO,KAAK,QAAI,YAAY,IAAI,gBAAgB,IAAI,WAAW,SAAS,EACxE,KAAC,YAAY,IAAC,IAAI,EAAE,EAAE,GAAI,IAC1B,CACP,CAAC,CAAC,CAAC,CACA,eAAM,SAAS,EAAC,YAAY,uBAAS,CACxC,GACC,IACJ,CACT,CAAC;AACN,CAAC,CAAC","sourcesContent":["import { useEffect, useState } from \"react\";\nimport { SolidFormFieldWidgetProps } from \"../../../../../../types/solid-core\";\nimport { ExternalLink } from \"lucide-react\";\nimport { solidGet } from \"../../../../../../http/solidHttp\";\nimport { snakeCase } from \"lodash\";\n\nexport const SolidChatterMessageCoModelEntityIdFormViewWidget = ({ formik, fieldContext }: SolidFormFieldWidgetProps) => {\n const fieldMetadata = fieldContext.fieldMetadata;\n const fieldLayoutInfo = fieldContext.field;\n\n const fieldLabel = fieldLayoutInfo.attrs.label ?? fieldMetadata.displayName;\n const fieldName = fieldLayoutInfo?.attrs?.name;\n\n const [redirectUrl, setRedirectUrl] = useState<string>('#');\n const value = formik.values?.[fieldName];\n\n const coModelName = fieldContext?.data?.coModelName;\n const modelDisplayName = fieldContext?.data?.modelDisplayName;\n const modelUserKey = fieldContext?.data?.modelUserKey;\n\n useEffect(() => {\n if (coModelName) {\n const fetchModel = async () => {\n const qs = `offset=0&limit=25&filters[$and][0][$or][0][singularName][$eq]=${coModelName}&populate[0]=module&locale=en&sort[0]=id%3Adesc`;\n const res = await solidGet(`/model-metadata?${qs}`);\n if (res?.data?.data?.records?.length > 0) {\n const model = res?.data?.data?.records[0];\n const module = model?.module;\n const moduleName = module?.name;\n const modelSingularName = model?.singularName;\n const modelSlug = snakeCase(model?.singularName).replace(/_/g, '-');\n const redirectUrl = `/admin/core/${moduleName}/${modelSlug}/form/${value}`;\n setRedirectUrl(redirectUrl);\n }\n }\n fetchModel();\n }\n }, [coModelName]);\n\n return (\n <div>\n <label className=\"form-field-label\">{fieldLabel}</label>\n <div className=\"mt-2\">\n {value ? (\n <a\n href={redirectUrl}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n style={{\n display: 'inline-flex',\n alignItems: 'center',\n gap: '6px',\n textDecoration: 'none',\n fontSize: '12px',\n color: '#2563eb',\n fontWeight: 500\n }}\n >\n <span>{value} ({modelUserKey || modelDisplayName || coModelName})</span>\n <ExternalLink size={16} />\n </a>\n ) : (\n <span className=\"text-muted\">—</span>\n )}\n </div>\n </div>\n );\n};"]}
1
+ {"version":3,"file":"SolidChatterMessageCoModelEntityIdFormViewWidget.js","sourceRoot":"","sources":["../../../../../../../src/components/core/extension/solid-core/chatterMessage/form/SolidChatterMessageCoModelEntityIdFormViewWidget.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,MAAM,CAAC,IAAM,gDAAgD,GAAG,UAAC,EAAmD;;QAAjD,MAAM,YAAA,EAAE,YAAY,kBAAA;IACnF,IAAM,aAAa,GAAG,YAAY,CAAC,aAAa,CAAC;IACjD,IAAM,eAAe,GAAG,YAAY,CAAC,KAAK,CAAC;IAE3C,IAAM,UAAU,GAAG,MAAA,eAAe,CA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K,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,CAAC;gCACxC,SAAS,GAAG,SAAS,CAAC,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;gCAC9D,gBAAc,sBAAe,UAAU,cAAI,SAAS,mBAAS,KAAK,CAAE,CAAC;gCAC3E,cAAc,CAAC,aAAW,CAAC,CAAC;6BAC/B;;;;iBACJ,CAAA;YACD,UAAU,EAAE,CAAC;SAChB;IACL,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;IAElB,OAAO,CACH,0BACI,gBAAO,SAAS,EAAC,kBAAkB,YAAE,UAAU,GAAS,EACxD,cAAK,SAAS,EAAC,MAAM,YAChB,KAAK,CAAC,CAAC,CAAC,CACL,aACI,IAAI,EAAE,WAAW,EACjB,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,EACzB,KAAK,EAAE;wBACH,OAAO,EAAE,aAAa;wBACtB,UAAU,EAAE,QAAQ;wBACpB,GAAG,EAAE,KAAK;wBACV,cAAc,EAAE,MAAM;wBACtB,QAAQ,EAAE,MAAM;wBAChB,KAAK,EAAE,SAAS;wBAChB,UAAU,EAAE,GAAG;qBAClB,aAED,2BAAO,KAAK,QAAI,YAAY,IAAI,gBAAgB,IAAI,WAAW,SAAS,EACxE,KAAC,YAAY,IAAC,IAAI,EAAE,EAAE,GAAI,IAC1B,CACP,CAAC,CAAC,CAAC,CACA,eAAM,SAAS,EAAC,YAAY,uBAAS,CACxC,GACC,IACJ,CACT,CAAC;AACN,CAAC,CAAC","sourcesContent":["import { useEffect, useState } from \"react\";\nimport { SolidFormFieldWidgetProps } from \"../../../../../../types/solid-core\";\nimport { ExternalLink } from \"lucide-react\";\nimport { solidGet } from \"../../../../../../http/solidHttp\";\nimport { snakeCase } from \"lodash\";\n\nexport const SolidChatterMessageCoModelEntityIdFormViewWidget = ({ formik, fieldContext }: SolidFormFieldWidgetProps) => {\n const fieldMetadata = fieldContext.fieldMetadata;\n const fieldLayoutInfo = fieldContext.field;\n\n const fieldLabel = fieldLayoutInfo.attrs.label ?? fieldMetadata.displayName;\n const fieldName = fieldLayoutInfo?.attrs?.name;\n\n const [redirectUrl, setRedirectUrl] = useState<string>('#');\n const value = formik.values?.[fieldName];\n\n const coModelName = fieldContext?.data?.coModelName;\n const modelDisplayName = fieldContext?.data?.modelDisplayName;\n const modelUserKey = fieldContext?.data?.modelUserKey;\n\n useEffect(() => {\n if (coModelName) {\n const fetchModel = async () => {\n const qs = `offset=0&limit=25&filters[$and][0][$or][0][singularName][$eq]=${coModelName}&populate[0]=module&locale=en&sort[0]=id%3Adesc`;\n const res = await solidGet(`/model-metadata?${qs}`);\n if (res?.data?.data?.records?.length > 0) {\n const model = res?.data?.data?.records[0];\n const module = model?.module;\n const moduleName = module?.name;\n const modelSingularName = model?.singularName;\n const modelSlug = snakeCase(model?.singularName).replace(/_/g, '-');\n const redirectUrl = `/admin/core/${moduleName}/${modelSlug}/form/${value}`;\n setRedirectUrl(redirectUrl);\n }\n }\n fetchModel();\n }\n }, [coModelName]);\n\n return (\n <div>\n <label className=\"form-field-label\">{fieldLabel}</label>\n <div className=\"mt-2\">\n {value ? (\n <a\n href={redirectUrl}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n style={{\n display: 'inline-flex',\n alignItems: 'center',\n gap: '6px',\n textDecoration: 'none',\n fontSize: '12px',\n color: '#722ED1',\n fontWeight: 500\n }}\n >\n <span>{value} ({modelUserKey || modelDisplayName || coModelName})</span>\n <ExternalLink size={16} />\n </a>\n ) : (\n <span className=\"text-muted\">—</span>\n )}\n </div>\n </div>\n );\n};"]}
@@ -52,7 +52,7 @@ export const SolidChatterMessageCoModelEntityIdFormViewWidget = ({ formik, field
52
52
  gap: '6px',
53
53
  textDecoration: 'none',
54
54
  fontSize: '12px',
55
- color: '#2563eb',
55
+ color: '#722ED1',
56
56
  fontWeight: 500
57
57
  }}
58
58
  >
@@ -80,7 +80,7 @@ export var SolidChatterMessageCoModelEntityIdListViewWidget = function (_a) {
80
80
  gap: '6px',
81
81
  textDecoration: 'none',
82
82
  fontSize: '12px',
83
- color: '#2563eb',
83
+ color: '#722ED1',
84
84
  fontWeight: 500
85
85
  }, children: [_jsxs("span", { children: [value, " (", modelUserKey || modelDisplayName || coModelName, ")"] }), _jsx(ExternalLink, { size: 16 })] })) : (_jsx("span", { className: "text-muted", children: "\u2014" })) }) }));
86
86
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SolidChatterMessageCoModelEntityIdListViewWidget.js","sourceRoot":"","sources":["../../../../../../../src/components/core/extension/solid-core/chatterMessage/list/SolidChatterMessageCoModelEntityIdListViewWidget.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAGnC,MAAM,CAAC,IAAM,gDAAgD,GAAG,UAAC,EAAoF;QAAlF,OAAO,aAAA,EAAE,qBAAqB,2BAAA,EAAE,aAAa,mBAAA,EAAE,MAAM,YAAA;IAEpH,IAAM,KAAK,GAAG,aAAa,IAAI,aAAa,CAAC,IAAI,IAAI,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAA;IAE7G,IAAA,KAAgC,QAAQ,CAAC,GAAG,CAAC,EAA5C,WAAW,QAAA,EAAE,cAAc,QAAiB,CAAC;IAGpD,IAAM,WAAW,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,CAAC;IACzC,IAAM,gBAAgB,GAAG,O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AAC,MAAM,YAChB,KAAK,CAAC,CAAC,CAAC,CACL,aACI,IAAI,EAAE,WAAW,EACjB,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,EACzB,KAAK,EAAE;oBACH,OAAO,EAAE,aAAa;oBACtB,UAAU,EAAE,QAAQ;oBACpB,GAAG,EAAE,KAAK;oBACV,cAAc,EAAE,MAAM;oBACtB,QAAQ,EAAE,MAAM;oBAChB,KAAK,EAAE,SAAS;oBAChB,UAAU,EAAE,GAAG;iBAClB,aAED,2BAAO,KAAK,QAAI,YAAY,IAAI,gBAAgB,IAAI,WAAW,SAAS,EAExE,KAAC,YAAY,IAAC,IAAI,EAAE,EAAE,GAAI,IAC1B,CACP,CAAC,CAAC,CAAC,CACA,eAAM,SAAS,EAAC,YAAY,uBAAS,CACxC,GACC,GACJ,CACT,CAAC;AACN,CAAC,CAAC","sourcesContent":["\n\nimport { ExternalLink } from \"lucide-react\";\nimport { SolidListFieldWidgetProps } from \"../../../../../../types/solid-core\";\nimport { useEffect, useState } from \"react\";\nimport { solidGet } from \"../../../../../../http/solidHttp\";\nimport { snakeCase } from \"lodash\";\n\n\nexport const SolidChatterMessageCoModelEntityIdListViewWidget = ({ rowData, solidListViewMetaData, fieldMetadata, column }: SolidListFieldWidgetProps) => {\n\n const value = fieldMetadata && fieldMetadata.name && rowData[fieldMetadata.name] ? rowData[fieldMetadata.name] : \"\"\n\n const [redirectUrl, setRedirectUrl] = useState('#');\n\n\n const coModelName = rowData?.coModelName;\n const modelDisplayName = rowData?.modelDisplayName;\n const modelUserKey = rowData?.modelUserKey;\n\n useEffect(() => {\n if (coModelName) {\n const fetchModel = async () => {\n const qs = `offset=0&limit=25&filters[$and][0][$or][0][singularName][$eq]=${coModelName}&populate[0]=module&locale=en&sort[0]=id%3Adesc`;\n const res = await solidGet(`/model-metadata?${qs}`);\n if (res?.data?.data?.records?.length > 0) {\n const model = res?.data?.data?.records[0];\n const module = model?.module;\n const moduleName = module?.name;\n const modelSingularName = model?.singularName;\n const modelSlug = snakeCase(model?.singularName).replace(/_/g, '-');\n const redirectUrl = `/admin/core/${moduleName}/${modelSlug}/form/${value}`;\n setRedirectUrl(redirectUrl);\n }\n }\n fetchModel();\n }\n }, [coModelName, value]);\n\n return (\n <div style={{ textAlign: \"left\" }}>\n\n <div className=\"mt-2\">\n {value ? (\n <a\n href={redirectUrl}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n style={{\n display: 'inline-flex',\n alignItems: 'center',\n gap: '6px',\n textDecoration: 'none',\n fontSize: '12px',\n color: '#2563eb',\n fontWeight: 500\n }}\n >\n <span>{value} ({modelUserKey || modelDisplayName || coModelName})</span>\n\n <ExternalLink size={16} />\n </a>\n ) : (\n <span className=\"text-muted\">—</span>\n )}\n </div>\n </div>\n );\n};\n\n"]}
1
+ {"version":3,"file":"SolidChatterMessageCoModelEntityIdListViewWidget.js","sourceRoot":"","sources":["../../../../../../../src/components/core/extension/solid-core/chatterMessage/list/SolidChatterMessageCoModelEntityIdListViewWidget.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAGnC,MAAM,CAAC,IAAM,gDAAgD,GAAG,UAAC,EAAoF;QAAlF,OAAO,aAAA,EAAE,qBAAqB,2BAAA,EAAE,aAAa,mBAAA,EAAE,MAAM,YAAA;IAEpH,IAAM,KAAK,GAAG,aAAa,IAAI,aAAa,CAAC,IAAI,IAAI,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAA;IAE7G,IAA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,CAAA;YACD,UAAU,EAAE,CAAC;SAChB;IACL,CAAC,EAAE,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC,CAAC;IAEzB,OAAO,CACH,cAAK,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,YAE7B,cAAK,SAAS,EAAC,MAAM,YAChB,KAAK,CAAC,CAAC,CAAC,CACL,aACI,IAAI,EAAE,WAAW,EACjB,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,EACzB,KAAK,EAAE;oBACH,OAAO,EAAE,aAAa;oBACtB,UAAU,EAAE,QAAQ;oBACpB,GAAG,EAAE,KAAK;oBACV,cAAc,EAAE,MAAM;oBACtB,QAAQ,EAAE,MAAM;oBAChB,KAAK,EAAE,SAAS;oBAChB,UAAU,EAAE,GAAG;iBAClB,aAED,2BAAO,KAAK,QAAI,YAAY,IAAI,gBAAgB,IAAI,WAAW,SAAS,EAExE,KAAC,YAAY,IAAC,IAAI,EAAE,EAAE,GAAI,IAC1B,CACP,CAAC,CAAC,CAAC,CACA,eAAM,SAAS,EAAC,YAAY,uBAAS,CACxC,GACC,GACJ,CACT,CAAC;AACN,CAAC,CAAC","sourcesContent":["\n\nimport { ExternalLink } from \"lucide-react\";\nimport { SolidListFieldWidgetProps } from \"../../../../../../types/solid-core\";\nimport { useEffect, useState } from \"react\";\nimport { solidGet } from \"../../../../../../http/solidHttp\";\nimport { snakeCase } from \"lodash\";\n\n\nexport const SolidChatterMessageCoModelEntityIdListViewWidget = ({ rowData, solidListViewMetaData, fieldMetadata, column }: SolidListFieldWidgetProps) => {\n\n const value = fieldMetadata && fieldMetadata.name && rowData[fieldMetadata.name] ? rowData[fieldMetadata.name] : \"\"\n\n const [redirectUrl, setRedirectUrl] = useState('#');\n\n\n const coModelName = rowData?.coModelName;\n const modelDisplayName = rowData?.modelDisplayName;\n const modelUserKey = rowData?.modelUserKey;\n\n useEffect(() => {\n if (coModelName) {\n const fetchModel = async () => {\n const qs = `offset=0&limit=25&filters[$and][0][$or][0][singularName][$eq]=${coModelName}&populate[0]=module&locale=en&sort[0]=id%3Adesc`;\n const res = await solidGet(`/model-metadata?${qs}`);\n if (res?.data?.data?.records?.length > 0) {\n const model = res?.data?.data?.records[0];\n const module = model?.module;\n const moduleName = module?.name;\n const modelSingularName = model?.singularName;\n const modelSlug = snakeCase(model?.singularName).replace(/_/g, '-');\n const redirectUrl = `/admin/core/${moduleName}/${modelSlug}/form/${value}`;\n setRedirectUrl(redirectUrl);\n }\n }\n fetchModel();\n }\n }, [coModelName, value]);\n\n return (\n <div style={{ textAlign: \"left\" }}>\n\n <div className=\"mt-2\">\n {value ? (\n <a\n href={redirectUrl}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n style={{\n display: 'inline-flex',\n alignItems: 'center',\n gap: '6px',\n textDecoration: 'none',\n fontSize: '12px',\n color: '#722ED1',\n fontWeight: 500\n }}\n >\n <span>{value} ({modelUserKey || modelDisplayName || coModelName})</span>\n\n <ExternalLink size={16} />\n </a>\n ) : (\n <span className=\"text-muted\">—</span>\n )}\n </div>\n </div>\n );\n};\n\n"]}
@@ -52,7 +52,7 @@ export const SolidChatterMessageCoModelEntityIdListViewWidget = ({ rowData, soli
52
52
  gap: '6px',
53
53
  textDecoration: 'none',
54
54
  fontSize: '12px',
55
- color: '#2563eb',
55
+ color: '#722ED1',
56
56
  fontWeight: 500
57
57
  }}
58
58
  >
@@ -46,7 +46,7 @@ import { Chart as ChartJS, CategoryScale, LinearScale, BarElement, Tooltip, Lege
46
46
  import { Bar } from "react-chartjs-2";
47
47
  ChartJS.register(CategoryScale, LinearScale, BarElement, Tooltip, Legend);
48
48
  var CHART_COLORS = [
49
- "#3b82f6",
49
+ "#722ED1",
50
50
  "#22c55e",
51
51
  "#f59e0b",
52
52
  "#ef4444",
@@ -1 +1 @@
1
- {"version":3,"file":"SolidMqMessagesSummarizeListHeaderAction.js","sourceRoot":"","sources":["../../../../../../../src/components/core/extension/solid-core/mqMessage/list/SolidMqMessagesSumm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AAtB,CAAsB,YAErC,KAAC,CAAC,IAAC,IAAI,EAAE,EAAE,GAAI,GACV,IACP,EAEN,cAAK,SAAS,EAAC,yBAAyB,GAAG,EAE3C,eAAK,SAAS,EAAC,0BAA0B,aACrC,eAAK,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAC,YAAY,EAAC,MAAM,EAAC,SAAS,EAAC,MAAM,EAAE,aAEpE,aAAG,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,EAAE,iFAElE,cAAM,YACA,wCAAyB,6BAC/B,EACJ,KAAC,WAAW,IACR,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,cAAc,yBAGb,IAEZ,EACL,SAAS,IAAI,CACV,cAAK,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,YAC7B,KAAC,UAAU,IAAC,IAAI,EAAE,SAAS,GAAI,GAC7B,CACT,IACC,IAGJ,CACT,CAAC;AACN,CAAC,CAAC","sourcesContent":["import { SolidListFieldWidgetProps } from \"../../../../../../types/solid-core\";\nimport { useState } from \"react\";\nimport { solidGet } from \"../../../../../../http/solidHttp\";\nimport { SolidButton } from \"../../../../../shad-cn-ui\";\nimport { useDispatch } from \"react-redux\";\nimport { closePopup } from \"../../../../../../redux/features/popupSlice\";\nimport { X } from \"lucide-react\";\n\n// Chart.js imports\nimport {\n Chart as ChartJS,\n CategoryScale,\n LinearScale,\n BarElement,\n Tooltip,\n Legend\n} from \"chart.js\";\nimport { Bar } from \"react-chartjs-2\";\n\nChartJS.register(CategoryScale, LinearScale, BarElement, Tooltip, Legend);\n\nconst CHART_COLORS = [\n \"#3b82f6\",\n \"#22c55e\",\n \"#f59e0b\",\n \"#ef4444\",\n \"#8b5cf6\",\n \"#14b8a6\"\n];\n\nconst getColor = (index: number) => CHART_COLORS[index % CHART_COLORS.length];\n\n// =========================\n// Pivot Transform\n// =========================\nconst transformToPivot = (groupMeta: any[]) => {\n const pivot: Record<string, Record<string, number>> = {};\n const stageSet = new Set<string>();\n\n groupMeta.forEach((item: any) => {\n const groupValue = item.groupValue || \"\";\n const count = item.id_count || 0;\n\n const parts = groupValue.split(\"_\");\n const stage = parts.pop();\n const broker = parts.join(\"_\");\n\n if (!broker || !stage) return;\n\n stageSet.add(stage);\n if (!pivot[broker]) pivot[broker] = {};\n pivot[broker][stage] = count;\n });\n\n const stages = Array.from(stageSet);\n\n Object.keys(pivot).forEach((broker) => {\n stages.forEach((stage) => {\n if (pivot[broker][stage] === undefined) {\n pivot[broker][stage] = 0;\n }\n });\n });\n\n return { pivot, stages };\n};\n\ntype PivotData = ReturnType<typeof transformToPivot>;\n\n// =========================\n// Chart Component\n// =========================\nconst PivotChart = ({ data }: { data: PivotData }) => {\n const { pivot, stages } = data;\n\n const queues = Object.keys(pivot).sort((a, b) => {\n const sum = (q: string) =>\n stages.reduce((acc, s) => acc + (pivot[q]?.[s] || 0), 0);\n return sum(b) - sum(a);\n });\n\n const chartData = {\n labels: queues,\n datasets: stages.map((stage, index) => ({\n label: stage,\n data: queues.map((q) => pivot[q]?.[stage] || 0),\n backgroundColor: getColor(index)\n }))\n };\n\n const options: any = {\n responsive: true,\n plugins: { legend: { position: \"top\" } },\n scales: {\n x: { stacked: true },\n y: { stacked: true, beginAtZero: true }\n }\n };\n\n return <Bar data={chartData} options={options} />;\n};\n\n// =========================\n// Widget\n// =========================\nexport const SolidMqMessagesSummarizeListHeaderAction = ({\n solidListViewMetaData\n}: SolidListFieldWidgetProps) => {\n const dispatch = useDispatch();\n const [loading, setLoading] = useState(false);\n const [pivotData, setPivotData] = useState<PivotData | null>(null);\n\n const handleContinue = async () => {\n setLoading(true);\n\n const selectedRows = solidListViewMetaData?.selectedRows || [];\n\n const filters = selectedRows\n .map(\n (row: any, index: number) =>\n `filters[$and][0][$or][${index}][id][$eq]=${row.id}`\n )\n .join(\"&\");\n\n const qs = [\n \"offset=0\",\n \"limit=100\",\n \"groupBy[0]=messageBroker\",\n \"groupBy[1]=stage\",\n \"aggregates[0]=id:count\",\n filters || null\n ]\n .filter(Boolean)\n .join(\"&\");\n\n const res = await solidGet(`/mq-message?${qs}`);\n setPivotData(transformToPivot(res?.data?.data?.groupMeta ?? []));\n setLoading(false);\n };\n\n return (\n <div>\n <div className=\"solid-filter-dialog-head\">\n <div>\n <h3 className=\"solid-filter-dialog-title\">MQ Message Summary</h3>\n </div>\n <button\n className=\"solid-radix-dialog-close\"\n aria-label=\"Close\"\n onClick={() => dispatch(closePopup())}\n >\n <X size={16} />\n </button>\n </div>\n\n <div className=\"solid-filter-dialog-sep\" />\n\n <div className=\"solid-filter-dialog-body\">\n <div style={{ textAlign: \"center\",marginBottom:\"10px\",marginTop:\"10px\" }}>\n\n <p style={{ textAlign: \"center\", fontSize: \"13px\", marginBottom: \"0\" }}>\n You can summarize based on selected records or the full dataset.\n <br />\n Click <strong>Continue</strong> to load the summary.\n </p>\n <SolidButton\n size=\"small\"\n loading={loading}\n onClick={handleContinue}\n >\n Continue\n </SolidButton>\n\n </div>\n {pivotData && (\n <div style={{ marginTop: \"20px\" }}>\n <PivotChart data={pivotData} />\n </div>\n )}\n </div>\n\n\n </div>\n );\n};\n"]}
1
+ {"version":3,"file":"SolidMqMessagesSummarizeListHeaderAction.js","sourceRoot":"","sources":["../../../../../../../src/components/core/extension/solid-core/mqMessage/list/SolidMqMessagesSummarizeListHeaderAction.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAC;AACzE,OAAO,EAAE,C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EAAE,iFAElE,cAAM,YACA,wCAAyB,6BAC/B,EACJ,KAAC,WAAW,IACR,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,cAAc,yBAGb,IAEZ,EACL,SAAS,IAAI,CACV,cAAK,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,YAC7B,KAAC,UAAU,IAAC,IAAI,EAAE,SAAS,GAAI,GAC7B,CACT,IACC,IAGJ,CACT,CAAC;AACN,CAAC,CAAC","sourcesContent":["import { SolidListFieldWidgetProps } from \"../../../../../../types/solid-core\";\nimport { useState } from \"react\";\nimport { solidGet } from \"../../../../../../http/solidHttp\";\nimport { SolidButton } from \"../../../../../shad-cn-ui\";\nimport { useDispatch } from \"react-redux\";\nimport { closePopup } from \"../../../../../../redux/features/popupSlice\";\nimport { X } from \"lucide-react\";\n\n// Chart.js imports\nimport {\n Chart as ChartJS,\n CategoryScale,\n LinearScale,\n BarElement,\n Tooltip,\n Legend\n} from \"chart.js\";\nimport { Bar } from \"react-chartjs-2\";\n\nChartJS.register(CategoryScale, LinearScale, BarElement, Tooltip, Legend);\n\nconst CHART_COLORS = [\n \"#722ED1\",\n \"#22c55e\",\n \"#f59e0b\",\n \"#ef4444\",\n \"#8b5cf6\",\n \"#14b8a6\"\n];\n\nconst getColor = (index: number) => CHART_COLORS[index % CHART_COLORS.length];\n\n// =========================\n// Pivot Transform\n// =========================\nconst transformToPivot = (groupMeta: any[]) => {\n const pivot: Record<string, Record<string, number>> = {};\n const stageSet = new Set<string>();\n\n groupMeta.forEach((item: any) => {\n const groupValue = item.groupValue || \"\";\n const count = item.id_count || 0;\n\n const parts = groupValue.split(\"_\");\n const stage = parts.pop();\n const broker = parts.join(\"_\");\n\n if (!broker || !stage) return;\n\n stageSet.add(stage);\n if (!pivot[broker]) pivot[broker] = {};\n pivot[broker][stage] = count;\n });\n\n const stages = Array.from(stageSet);\n\n Object.keys(pivot).forEach((broker) => {\n stages.forEach((stage) => {\n if (pivot[broker][stage] === undefined) {\n pivot[broker][stage] = 0;\n }\n });\n });\n\n return { pivot, stages };\n};\n\ntype PivotData = ReturnType<typeof transformToPivot>;\n\n// =========================\n// Chart Component\n// =========================\nconst PivotChart = ({ data }: { data: PivotData }) => {\n const { pivot, stages } = data;\n\n const queues = Object.keys(pivot).sort((a, b) => {\n const sum = (q: string) =>\n stages.reduce((acc, s) => acc + (pivot[q]?.[s] || 0), 0);\n return sum(b) - sum(a);\n });\n\n const chartData = {\n labels: queues,\n datasets: stages.map((stage, index) => ({\n label: stage,\n data: queues.map((q) => pivot[q]?.[stage] || 0),\n backgroundColor: getColor(index)\n }))\n };\n\n const options: any = {\n responsive: true,\n plugins: { legend: { position: \"top\" } },\n scales: {\n x: { stacked: true },\n y: { stacked: true, beginAtZero: true }\n }\n };\n\n return <Bar data={chartData} options={options} />;\n};\n\n// =========================\n// Widget\n// =========================\nexport const SolidMqMessagesSummarizeListHeaderAction = ({\n solidListViewMetaData\n}: SolidListFieldWidgetProps) => {\n const dispatch = useDispatch();\n const [loading, setLoading] = useState(false);\n const [pivotData, setPivotData] = useState<PivotData | null>(null);\n\n const handleContinue = async () => {\n setLoading(true);\n\n const selectedRows = solidListViewMetaData?.selectedRows || [];\n\n const filters = selectedRows\n .map(\n (row: any, index: number) =>\n `filters[$and][0][$or][${index}][id][$eq]=${row.id}`\n )\n .join(\"&\");\n\n const qs = [\n \"offset=0\",\n \"limit=100\",\n \"groupBy[0]=messageBroker\",\n \"groupBy[1]=stage\",\n \"aggregates[0]=id:count\",\n filters || null\n ]\n .filter(Boolean)\n .join(\"&\");\n\n const res = await solidGet(`/mq-message?${qs}`);\n setPivotData(transformToPivot(res?.data?.data?.groupMeta ?? []));\n setLoading(false);\n };\n\n return (\n <div>\n <div className=\"solid-filter-dialog-head\">\n <div>\n <h3 className=\"solid-filter-dialog-title\">MQ Message Summary</h3>\n </div>\n <button\n className=\"solid-radix-dialog-close\"\n aria-label=\"Close\"\n onClick={() => dispatch(closePopup())}\n >\n <X size={16} />\n </button>\n </div>\n\n <div className=\"solid-filter-dialog-sep\" />\n\n <div className=\"solid-filter-dialog-body\">\n <div style={{ textAlign: \"center\",marginBottom:\"10px\",marginTop:\"10px\" }}>\n\n <p style={{ textAlign: \"center\", fontSize: \"13px\", marginBottom: \"0\" }}>\n You can summarize based on selected records or the full dataset.\n <br />\n Click <strong>Continue</strong> to load the summary.\n </p>\n <SolidButton\n size=\"small\"\n loading={loading}\n onClick={handleContinue}\n >\n Continue\n </SolidButton>\n\n </div>\n {pivotData && (\n <div style={{ marginTop: \"20px\" }}>\n <PivotChart data={pivotData} />\n </div>\n )}\n </div>\n\n\n </div>\n );\n};\n"]}
@@ -20,7 +20,7 @@ import { Bar } from "react-chartjs-2";
20
20
  ChartJS.register(CategoryScale, LinearScale, BarElement, Tooltip, Legend);
21
21
 
22
22
  const CHART_COLORS = [
23
- "#3b82f6",
23
+ "#722ED1",
24
24
  "#22c55e",
25
25
  "#f59e0b",
26
26
  "#ef4444",
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  var STAGE_TONES = {
3
3
  pending: { backgroundColor: "#6b7280", color: "#fff", borderColor: "rgba(107, 114, 128, 0.18)", dotColor: "#d1d5db" },
4
- scheduled: { backgroundColor: "#3b82f6", color: "#fff", borderColor: "rgba(59, 130, 246, 0.18)", dotColor: "#dbeafe" },
4
+ scheduled: { backgroundColor: "#722ED1", color: "#fff", borderColor: "rgba(114, 46, 209, 0.18)", dotColor: "#efdbff" },
5
5
  started: { backgroundColor: "#eab308", color: "#111827", borderColor: "rgba(234, 179, 8, 0.22)", dotColor: "#fef08a" },
6
6
  retry: { backgroundColor: "#f97316", color: "#fff", borderColor: "rgba(249, 115, 22, 0.18)", dotColor: "#fed7aa" },
7
7
  retrying: { backgroundColor: "#ea580c", color: "#fff", borderColor: "rgba(234, 88, 12, 0.18)", dotColor: "#fdba74" },
@@ -1 +1 @@
1
- {"version":3,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MAAM,CAAC,CAAC,CAAC,MAAM;YACnC,UAAU,EAAE,GAAG;YACf,aAAa,EAAE,YAAY;YAC3B,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,oBAAa,IAAI,CAAC,WAAW,CAAE;YACvC,UAAU,EAAE,CAAC;YACb,UAAU,EAAE,QAAQ;SACvB,EACD,KAAK,EAAE,KAAK,aAEX,OAAO,IAAI,CACR,8BACgB,MAAM,EAClB,KAAK,EAAE;oBACH,KAAK,EAAE,KAAK;oBACZ,MAAM,EAAE,KAAK;oBACb,YAAY,EAAE,OAAO;oBACrB,eAAe,EAAE,IAAI,CAAC,QAAQ;oBAC9B,IAAI,EAAE,UAAU;iBACnB,GACH,CACL,EACD,yBAAO,KAAK,GAAQ,IACjB,CACV,CAAC;AACN,CAAC,CAAC","sourcesContent":["type MqMessageStageBadgeProps = {\n stage?: any;\n className?: string;\n showDot?: boolean;\n compact?: boolean;\n fallbackLabel?: string;\n};\n\nconst STAGE_TONES: Record<string, { backgroundColor: string; color: string; borderColor: string; dotColor: string }> = {\n pending: { backgroundColor: \"#6b7280\", color: \"#fff\", borderColor: \"rgba(107, 114, 128, 0.18)\", dotColor: \"#d1d5db\" },\n scheduled: { backgroundColor: \"#3b82f6\", color: \"#fff\", borderColor: \"rgba(59, 130, 246, 0.18)\", dotColor: \"#dbeafe\" },\n started: { backgroundColor: \"#eab308\", color: \"#111827\", borderColor: \"rgba(234, 179, 8, 0.22)\", dotColor: \"#fef08a\" },\n retry: { backgroundColor: \"#f97316\", color: \"#fff\", borderColor: \"rgba(249, 115, 22, 0.18)\", dotColor: \"#fed7aa\" },\n retrying: { backgroundColor: \"#ea580c\", color: \"#fff\", borderColor: \"rgba(234, 88, 12, 0.18)\", dotColor: \"#fdba74\" },\n failed: { backgroundColor: \"#ef4444\", color: \"#fff\", borderColor: \"rgba(239, 68, 68, 0.18)\", dotColor: \"#fecaca\" },\n succeeded: { backgroundColor: \"#22c55e\", color: \"#fff\", borderColor: \"rgba(34, 197, 94, 0.18)\", dotColor: \"#bbf7d0\" },\n default: { backgroundColor: \"#9ca3af\", color: \"#fff\", borderColor: \"rgba(156, 163, 175, 0.18)\", dotColor: \"#e5e7eb\" },\n};\n\nexport const getMqMessageStageTone = (stage: any) => {\n const key = String(stage || \"\").toLowerCase();\n return STAGE_TONES[key] || STAGE_TONES.default;\n};\n\nexport const getMqMessageStageLabel = (stage: any, fallbackLabel = \"—\") => {\n if (stage === null || stage === undefined || stage === \"\") {\n return fallbackLabel;\n }\n\n return String(stage).toLowerCase();\n};\n\nexport const MqMessageStageBadge = ({\n stage,\n className = \"\",\n showDot = false,\n compact = false,\n fallbackLabel = \"—\",\n}: MqMessageStageBadgeProps) => {\n const label = getMqMessageStageLabel(stage, fallbackLabel);\n if (label === fallbackLabel) {\n return <span className={`text-muted ${className}`.trim()}>{fallbackLabel}</span>;\n }\n\n const tone = getMqMessageStageTone(stage);\n\n return (\n <span\n className={className}\n style={{\n display: \"inline-flex\",\n alignItems: \"center\",\n gap: showDot ? \"6px\" : \"0\",\n borderRadius: \"999px\",\n padding: compact ? \"3px 8px\" : \"4px 10px\",\n fontSize: compact ? \"11px\" : \"12px\",\n fontWeight: 600,\n textTransform: \"capitalize\",\n backgroundColor: tone.backgroundColor,\n color: tone.color,\n border: `1px solid ${tone.borderColor}`,\n lineHeight: 1,\n whiteSpace: \"nowrap\",\n }}\n title={label}\n >\n {showDot && (\n <span\n aria-hidden=\"true\"\n style={{\n width: \"7px\",\n height: \"7px\",\n borderRadius: \"999px\",\n backgroundColor: tone.dotColor,\n flex: \"0 0 auto\",\n }}\n />\n )}\n <span>{label}</span>\n </span>\n );\n};\n\n"]}
1
+ {"version":3,"file":"MqMessageStageBadge.js","sourceRoot":"","sources":["../../../../../../../src/components/core/extension/solid-core/mqMessage/ui/MqMessageStageBadge.tsx"],"names":[],"mappings":";AAQA,IAAM,WAAW,GAAsG;IACnH,OAAO,EA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KAAK;YACjB,MAAM,EAAE,oBAAa,IAAI,CAAC,WAAW,CAAE;YACvC,UAAU,EAAE,CAAC;YACb,UAAU,EAAE,QAAQ;SACvB,EACD,KAAK,EAAE,KAAK,aAEX,OAAO,IAAI,CACR,8BACgB,MAAM,EAClB,KAAK,EAAE;oBACH,KAAK,EAAE,KAAK;oBACZ,MAAM,EAAE,KAAK;oBACb,YAAY,EAAE,OAAO;oBACrB,eAAe,EAAE,IAAI,CAAC,QAAQ;oBAC9B,IAAI,EAAE,UAAU;iBACnB,GACH,CACL,EACD,yBAAO,KAAK,GAAQ,IACjB,CACV,CAAC;AACN,CAAC,CAAC","sourcesContent":["type MqMessageStageBadgeProps = {\n stage?: any;\n className?: string;\n showDot?: boolean;\n compact?: boolean;\n fallbackLabel?: string;\n};\n\nconst STAGE_TONES: Record<string, { backgroundColor: string; color: string; borderColor: string; dotColor: string }> = {\n pending: { backgroundColor: \"#6b7280\", color: \"#fff\", borderColor: \"rgba(107, 114, 128, 0.18)\", dotColor: \"#d1d5db\" },\n scheduled: { backgroundColor: \"#722ED1\", color: \"#fff\", borderColor: \"rgba(114, 46, 209, 0.18)\", dotColor: \"#efdbff\" },\n started: { backgroundColor: \"#eab308\", color: \"#111827\", borderColor: \"rgba(234, 179, 8, 0.22)\", dotColor: \"#fef08a\" },\n retry: { backgroundColor: \"#f97316\", color: \"#fff\", borderColor: \"rgba(249, 115, 22, 0.18)\", dotColor: \"#fed7aa\" },\n retrying: { backgroundColor: \"#ea580c\", color: \"#fff\", borderColor: \"rgba(234, 88, 12, 0.18)\", dotColor: \"#fdba74\" },\n failed: { backgroundColor: \"#ef4444\", color: \"#fff\", borderColor: \"rgba(239, 68, 68, 0.18)\", dotColor: \"#fecaca\" },\n succeeded: { backgroundColor: \"#22c55e\", color: \"#fff\", borderColor: \"rgba(34, 197, 94, 0.18)\", dotColor: \"#bbf7d0\" },\n default: { backgroundColor: \"#9ca3af\", color: \"#fff\", borderColor: \"rgba(156, 163, 175, 0.18)\", dotColor: \"#e5e7eb\" },\n};\n\nexport const getMqMessageStageTone = (stage: any) => {\n const key = String(stage || \"\").toLowerCase();\n return STAGE_TONES[key] || STAGE_TONES.default;\n};\n\nexport const getMqMessageStageLabel = (stage: any, fallbackLabel = \"—\") => {\n if (stage === null || stage === undefined || stage === \"\") {\n return fallbackLabel;\n }\n\n return String(stage).toLowerCase();\n};\n\nexport const MqMessageStageBadge = ({\n stage,\n className = \"\",\n showDot = false,\n compact = false,\n fallbackLabel = \"—\",\n}: MqMessageStageBadgeProps) => {\n const label = getMqMessageStageLabel(stage, fallbackLabel);\n if (label === fallbackLabel) {\n return <span className={`text-muted ${className}`.trim()}>{fallbackLabel}</span>;\n }\n\n const tone = getMqMessageStageTone(stage);\n\n return (\n <span\n className={className}\n style={{\n display: \"inline-flex\",\n alignItems: \"center\",\n gap: showDot ? \"6px\" : \"0\",\n borderRadius: \"999px\",\n padding: compact ? \"3px 8px\" : \"4px 10px\",\n fontSize: compact ? \"11px\" : \"12px\",\n fontWeight: 600,\n textTransform: \"capitalize\",\n backgroundColor: tone.backgroundColor,\n color: tone.color,\n border: `1px solid ${tone.borderColor}`,\n lineHeight: 1,\n whiteSpace: \"nowrap\",\n }}\n title={label}\n >\n {showDot && (\n <span\n aria-hidden=\"true\"\n style={{\n width: \"7px\",\n height: \"7px\",\n borderRadius: \"999px\",\n backgroundColor: tone.dotColor,\n flex: \"0 0 auto\",\n }}\n />\n )}\n <span>{label}</span>\n </span>\n );\n};\n\n"]}
@@ -8,7 +8,7 @@ type MqMessageStageBadgeProps = {
8
8
 
9
9
  const STAGE_TONES: Record<string, { backgroundColor: string; color: string; borderColor: string; dotColor: string }> = {
10
10
  pending: { backgroundColor: "#6b7280", color: "#fff", borderColor: "rgba(107, 114, 128, 0.18)", dotColor: "#d1d5db" },
11
- scheduled: { backgroundColor: "#3b82f6", color: "#fff", borderColor: "rgba(59, 130, 246, 0.18)", dotColor: "#dbeafe" },
11
+ scheduled: { backgroundColor: "#722ED1", color: "#fff", borderColor: "rgba(114, 46, 209, 0.18)", dotColor: "#efdbff" },
12
12
  started: { backgroundColor: "#eab308", color: "#111827", borderColor: "rgba(234, 179, 8, 0.22)", dotColor: "#fef08a" },
13
13
  retry: { backgroundColor: "#f97316", color: "#fff", borderColor: "rgba(249, 115, 22, 0.18)", dotColor: "#fed7aa" },
14
14
  retrying: { backgroundColor: "#ea580c", color: "#fff", borderColor: "rgba(234, 88, 12, 0.18)", dotColor: "#fdba74" },
@@ -1 +1 @@
1
- {"version":3,"file":"SolidFormActionHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/core/form/SolidFormActionHeader.tsx"],"names":[],"mappings":"AAgBA,eAAO,MAAM,qBAAqB,8YAA+Y,GAAG,4CAygBnb,CAAA"}
1
+ {"version":3,"file":"SolidFormActionHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/core/form/SolidFormActionHeader.tsx"],"names":[],"mappings":"AAgBA,eAAO,MAAM,qBAAqB,8YAA+Y,GAAG,4CAqhBnb,CAAA"}
@@ -195,6 +195,10 @@ export var SolidFormActionHeader = function (_a) {
195
195
  !formViewLayout.attrs.readonly &&
196
196
  formik.dirty &&
197
197
  _jsxs("div", { children: [_jsx(SolidButton, { label: "Save", size: "sm", type: "submit", className: "hidden lg:flex", loading: isSubmitting, disabled: isSubmitting }), _jsx(SolidButton, { size: "sm", type: "submit", className: "lg:hidden solid-icon-button", icon: "si si-check", loading: isSubmitting, disabled: isSubmitting })] }), params.embeded == true &&
198
+ actionsAllowed.includes("".concat(permissionExpression(params.modelName, 'update'))) &&
199
+ !formViewLayout.attrs.readonly &&
200
+ formik.dirty &&
201
+ _jsxs("div", { children: [_jsx(SolidButton, { label: "Save", size: "sm", type: "submit", className: "hidden lg:flex", loading: isSubmitting, disabled: isSubmitting }), _jsx(SolidButton, { size: "sm", type: "submit", className: "lg:hidden solid-icon-button", icon: "si si-check", loading: isSubmitting, disabled: isSubmitting })] }), params.embeded == true &&
198
202
  actionsAllowed.includes("".concat(permissionExpression(params.modelName, 'delete'))) &&
199
203
  ((_e = formViewLayout.attrs) === null || _e === void 0 ? void 0 : _e.showDeleteFormButton) !== false &&
200
204
  !formViewLayout.attrs.readonly &&