@solidxai/core-ui 0.1.14-beta.0 → 0.1.14-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 (371) hide show
  1. package/dist/components/auth/AuthLayout.js +1 -1
  2. package/dist/components/auth/AuthLayout.js.map +1 -1
  3. package/dist/components/auth/AuthLayout.tsx +2 -2
  4. package/dist/components/common/SettingsComponent.module.css +4 -1
  5. package/dist/components/common/SolidFieldTooltip.d.ts.map +1 -1
  6. package/dist/components/common/SolidFieldTooltip.js +1 -1
  7. package/dist/components/common/SolidFieldTooltip.js.map +1 -1
  8. package/dist/components/common/SolidFieldTooltip.tsx +1 -0
  9. package/dist/components/common/SolidFormStepper.d.ts.map +1 -1
  10. package/dist/components/common/SolidFormStepper.js +7 -6
  11. package/dist/components/common/SolidFormStepper.js.map +1 -1
  12. package/dist/components/common/SolidFormStepper.tsx +7 -1
  13. package/dist/components/common/SolidThemeProvider.d.ts.map +1 -1
  14. package/dist/components/common/SolidThemeProvider.js +127 -11
  15. package/dist/components/common/SolidThemeProvider.js.map +1 -1
  16. package/dist/components/common/SolidThemeProvider.tsx +104 -22
  17. package/dist/components/core/card/CardGrid.d.ts +1 -1
  18. package/dist/components/core/card/CardGrid.d.ts.map +1 -1
  19. package/dist/components/core/card/CardGrid.js +2 -2
  20. package/dist/components/core/card/CardGrid.js.map +1 -1
  21. package/dist/components/core/card/CardGrid.tsx +6 -0
  22. package/dist/components/core/card/CardItem.d.ts +3 -0
  23. package/dist/components/core/card/CardItem.d.ts.map +1 -1
  24. package/dist/components/core/card/CardItem.js +5 -4
  25. package/dist/components/core/card/CardItem.js.map +1 -1
  26. package/dist/components/core/card/CardItem.tsx +18 -1
  27. package/dist/components/core/card/SolidCardView.d.ts +28 -1
  28. package/dist/components/core/card/SolidCardView.d.ts.map +1 -1
  29. package/dist/components/core/card/SolidCardView.js +117 -46
  30. package/dist/components/core/card/SolidCardView.js.map +1 -1
  31. package/dist/components/core/card/SolidCardView.tsx +141 -27
  32. package/dist/components/core/card/SolidCardViewConfigure.d.ts +1 -1
  33. package/dist/components/core/card/SolidCardViewConfigure.d.ts.map +1 -1
  34. package/dist/components/core/card/SolidCardViewConfigure.js +15 -6
  35. package/dist/components/core/card/SolidCardViewConfigure.js.map +1 -1
  36. package/dist/components/core/card/SolidCardViewConfigure.tsx +34 -0
  37. package/dist/components/core/card/cardViewRegistry.d.ts +7 -0
  38. package/dist/components/core/card/cardViewRegistry.d.ts.map +1 -0
  39. package/dist/components/core/card/cardViewRegistry.js +17 -0
  40. package/dist/components/core/card/cardViewRegistry.js.map +1 -0
  41. package/dist/components/core/card/cardViewRegistry.ts +23 -0
  42. package/dist/components/core/chatter/useChatterMentions.js +11 -12
  43. package/dist/components/core/chatter/useChatterMentions.js.map +1 -1
  44. package/dist/components/core/chatter/useChatterMentions.ts +6 -6
  45. package/dist/components/core/common/PDFViewer.d.ts +19 -3
  46. package/dist/components/core/common/PDFViewer.d.ts.map +1 -1
  47. package/dist/components/core/common/PDFViewer.js +16 -92
  48. package/dist/components/core/common/PDFViewer.js.map +1 -1
  49. package/dist/components/core/common/PDFViewer.tsx +43 -106
  50. package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.d.ts.map +1 -1
  51. package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.js +27 -7
  52. package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.js.map +1 -1
  53. package/dist/components/core/common/SolidAccountSettings/SolidAccountSettings.tsx +19 -4
  54. package/dist/components/core/common/SolidAccountSettings/SolidVersionInfo.d.ts.map +1 -1
  55. package/dist/components/core/common/SolidAccountSettings/SolidVersionInfo.js +14 -11
  56. package/dist/components/core/common/SolidAccountSettings/SolidVersionInfo.js.map +1 -1
  57. package/dist/components/core/common/SolidAccountSettings/SolidVersionInfo.tsx +5 -1
  58. package/dist/components/core/common/SolidCollectionRowActionMenuItems.d.ts +12 -0
  59. package/dist/components/core/common/SolidCollectionRowActionMenuItems.d.ts.map +1 -0
  60. package/dist/components/core/common/SolidCollectionRowActionMenuItems.js +50 -0
  61. package/dist/components/core/common/SolidCollectionRowActionMenuItems.js.map +1 -0
  62. package/dist/components/core/common/SolidCollectionRowActionMenuItems.tsx +91 -0
  63. package/dist/components/core/common/SolidCreateButton.d.ts.map +1 -1
  64. package/dist/components/core/common/SolidCreateButton.js +2 -2
  65. package/dist/components/core/common/SolidCreateButton.js.map +1 -1
  66. package/dist/components/core/common/SolidCreateButton.tsx +22 -2
  67. package/dist/components/core/common/SolidGlobalSearchElement.d.ts.map +1 -1
  68. package/dist/components/core/common/SolidGlobalSearchElement.js +247 -170
  69. package/dist/components/core/common/SolidGlobalSearchElement.js.map +1 -1
  70. package/dist/components/core/common/SolidGlobalSearchElement.tsx +255 -117
  71. package/dist/components/core/common/globalSearchPersistence.d.ts +0 -1
  72. package/dist/components/core/common/globalSearchPersistence.d.ts.map +1 -1
  73. package/dist/components/core/common/globalSearchPersistence.js +4 -6
  74. package/dist/components/core/common/globalSearchPersistence.js.map +1 -1
  75. package/dist/components/core/common/globalSearchPersistence.ts +4 -4
  76. package/dist/components/core/extension/solid-core/media/card/MediaCardWidget.d.ts.map +1 -1
  77. package/dist/components/core/extension/solid-core/media/card/MediaCardWidget.js +2 -13
  78. package/dist/components/core/extension/solid-core/media/card/MediaCardWidget.js.map +1 -1
  79. package/dist/components/core/extension/solid-core/media/card/MediaCardWidget.tsx +2 -10
  80. package/dist/components/core/extension/solid-core/media/fileSize/MediaFileSizeWidget.d.ts +5 -0
  81. package/dist/components/core/extension/solid-core/media/fileSize/MediaFileSizeWidget.d.ts.map +1 -0
  82. package/dist/components/core/extension/solid-core/media/fileSize/MediaFileSizeWidget.js +34 -0
  83. package/dist/components/core/extension/solid-core/media/fileSize/MediaFileSizeWidget.js.map +1 -0
  84. package/dist/components/core/extension/solid-core/media/fileSize/MediaFileSizeWidget.tsx +47 -0
  85. package/dist/components/core/extension/solid-core/media/relativeUri/MediaRelativeUriPreview.d.ts +4 -0
  86. package/dist/components/core/extension/solid-core/media/relativeUri/MediaRelativeUriPreview.d.ts.map +1 -0
  87. package/dist/components/core/extension/solid-core/media/relativeUri/MediaRelativeUriPreview.js +109 -0
  88. package/dist/components/core/extension/solid-core/media/relativeUri/MediaRelativeUriPreview.js.map +1 -0
  89. package/dist/components/core/extension/solid-core/media/relativeUri/MediaRelativeUriPreview.tsx +228 -0
  90. package/dist/components/core/form/SolidDraftPublishWorkflow.d.ts +32 -0
  91. package/dist/components/core/form/SolidDraftPublishWorkflow.d.ts.map +1 -0
  92. package/dist/components/core/form/SolidDraftPublishWorkflow.js +228 -0
  93. package/dist/components/core/form/SolidDraftPublishWorkflow.js.map +1 -0
  94. package/dist/components/core/form/SolidDraftPublishWorkflow.tsx +234 -0
  95. package/dist/components/core/form/SolidFormActionHeader.d.ts +1 -1
  96. package/dist/components/core/form/SolidFormActionHeader.d.ts.map +1 -1
  97. package/dist/components/core/form/SolidFormActionHeader.js +68 -41
  98. package/dist/components/core/form/SolidFormActionHeader.js.map +1 -1
  99. package/dist/components/core/form/SolidFormActionHeader.tsx +170 -79
  100. package/dist/components/core/form/SolidFormView.d.ts +2 -0
  101. package/dist/components/core/form/SolidFormView.d.ts.map +1 -1
  102. package/dist/components/core/form/SolidFormView.js +129 -125
  103. package/dist/components/core/form/SolidFormView.js.map +1 -1
  104. package/dist/components/core/form/SolidFormView.tsx +111 -95
  105. package/dist/components/core/form/SolidVersionHistory.d.ts +12 -0
  106. package/dist/components/core/form/SolidVersionHistory.d.ts.map +1 -0
  107. package/dist/components/core/form/SolidVersionHistory.js +125 -0
  108. package/dist/components/core/form/SolidVersionHistory.js.map +1 -0
  109. package/dist/components/core/form/SolidVersionHistory.tsx +159 -0
  110. package/dist/components/core/form/fields/ISolidField.d.ts +2 -0
  111. package/dist/components/core/form/fields/ISolidField.d.ts.map +1 -1
  112. package/dist/components/core/form/fields/ISolidField.js.map +1 -1
  113. package/dist/components/core/form/fields/ISolidField.tsx +2 -0
  114. package/dist/components/core/form/fields/SolidDateField.d.ts +1 -2
  115. package/dist/components/core/form/fields/SolidDateField.d.ts.map +1 -1
  116. package/dist/components/core/form/fields/SolidDateField.js +0 -7
  117. package/dist/components/core/form/fields/SolidDateField.js.map +1 -1
  118. package/dist/components/core/form/fields/SolidDateField.tsx +1 -13
  119. package/dist/components/core/form/fields/SolidMediaMultipleField.d.ts.map +1 -1
  120. package/dist/components/core/form/fields/SolidMediaMultipleField.js +17 -7
  121. package/dist/components/core/form/fields/SolidMediaMultipleField.js.map +1 -1
  122. package/dist/components/core/form/fields/SolidMediaMultipleField.tsx +10 -1
  123. package/dist/components/core/form/fields/SolidMediaSingleField.d.ts.map +1 -1
  124. package/dist/components/core/form/fields/SolidMediaSingleField.js +28 -11
  125. package/dist/components/core/form/fields/SolidMediaSingleField.js.map +1 -1
  126. package/dist/components/core/form/fields/SolidMediaSingleField.tsx +17 -2
  127. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.d.ts +1 -0
  128. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.d.ts.map +1 -1
  129. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js +13 -9
  130. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js.map +1 -1
  131. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +17 -6
  132. package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.d.ts +1 -0
  133. package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.d.ts.map +1 -1
  134. package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js +1 -0
  135. package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js.map +1 -1
  136. package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +2 -0
  137. package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.d.ts +1 -0
  138. package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.d.ts.map +1 -1
  139. package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js +13 -13
  140. package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js.map +1 -1
  141. package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +16 -11
  142. package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.d.ts.map +1 -1
  143. package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.js +2 -1
  144. package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.js.map +1 -1
  145. package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.tsx +2 -1
  146. package/dist/components/core/kanban/KanbanBoard.d.ts +1 -1
  147. package/dist/components/core/kanban/KanbanBoard.d.ts.map +1 -1
  148. package/dist/components/core/kanban/KanbanBoard.js +2 -2
  149. package/dist/components/core/kanban/KanbanBoard.js.map +1 -1
  150. package/dist/components/core/kanban/KanbanBoard.tsx +4 -1
  151. package/dist/components/core/kanban/KanbanCard.d.ts +3 -0
  152. package/dist/components/core/kanban/KanbanCard.d.ts.map +1 -1
  153. package/dist/components/core/kanban/KanbanCard.js +5 -3
  154. package/dist/components/core/kanban/KanbanCard.js.map +1 -1
  155. package/dist/components/core/kanban/KanbanCard.tsx +16 -2
  156. package/dist/components/core/kanban/KanbanColumn.d.ts +4 -1
  157. package/dist/components/core/kanban/KanbanColumn.d.ts.map +1 -1
  158. package/dist/components/core/kanban/KanbanColumn.js +2 -2
  159. package/dist/components/core/kanban/KanbanColumn.js.map +1 -1
  160. package/dist/components/core/kanban/KanbanColumn.tsx +5 -2
  161. package/dist/components/core/kanban/SolidKanbanView.d.ts +25 -1
  162. package/dist/components/core/kanban/SolidKanbanView.d.ts.map +1 -1
  163. package/dist/components/core/kanban/SolidKanbanView.js +114 -55
  164. package/dist/components/core/kanban/SolidKanbanView.js.map +1 -1
  165. package/dist/components/core/kanban/SolidKanbanView.tsx +112 -24
  166. package/dist/components/core/kanban/kanbanViewRegistry.d.ts +7 -0
  167. package/dist/components/core/kanban/kanbanViewRegistry.d.ts.map +1 -0
  168. package/dist/components/core/kanban/kanbanViewRegistry.js +17 -0
  169. package/dist/components/core/kanban/kanbanViewRegistry.js.map +1 -0
  170. package/dist/components/core/kanban/kanbanViewRegistry.ts +23 -0
  171. package/dist/components/core/list/PLAN.md +1 -1
  172. package/dist/components/core/list/SolidListView.d.ts +11 -0
  173. package/dist/components/core/list/SolidListView.d.ts.map +1 -1
  174. package/dist/components/core/list/SolidListView.js +160 -104
  175. package/dist/components/core/list/SolidListView.js.map +1 -1
  176. package/dist/components/core/list/SolidListView.tsx +156 -84
  177. package/dist/components/core/list/SolidListViewConfigure.js +1 -1
  178. package/dist/components/core/list/SolidListViewConfigure.js.map +1 -1
  179. package/dist/components/core/list/SolidListViewConfigure.tsx +1 -1
  180. package/dist/components/core/list/SolidTableRowCell.js +1 -1
  181. package/dist/components/core/list/SolidTableRowCell.js.map +1 -1
  182. package/dist/components/core/list/SolidTableRowCell.tsx +1 -1
  183. package/dist/components/core/list/columns/PublishStatusColumnDefaults.d.ts +3 -0
  184. package/dist/components/core/list/columns/PublishStatusColumnDefaults.d.ts.map +1 -0
  185. package/dist/components/core/list/columns/PublishStatusColumnDefaults.js +23 -0
  186. package/dist/components/core/list/columns/PublishStatusColumnDefaults.js.map +1 -0
  187. package/dist/components/core/list/columns/PublishStatusColumnDefaults.ts +26 -0
  188. package/dist/components/core/list/columns/SolidBooleanColumn.d.ts.map +1 -1
  189. package/dist/components/core/list/columns/SolidBooleanColumn.js +3 -1
  190. package/dist/components/core/list/columns/SolidBooleanColumn.js.map +1 -1
  191. package/dist/components/core/list/columns/SolidBooleanColumn.tsx +2 -1
  192. package/dist/components/core/list/columns/SolidDateColumn.d.ts +1 -1
  193. package/dist/components/core/list/columns/SolidDateColumn.d.ts.map +1 -1
  194. package/dist/components/core/list/columns/SolidDateColumn.js +7 -6
  195. package/dist/components/core/list/columns/SolidDateColumn.js.map +1 -1
  196. package/dist/components/core/list/columns/SolidDateColumn.tsx +8 -4
  197. package/dist/components/core/list/columns/SolidDatetimeColumn.d.ts.map +1 -1
  198. package/dist/components/core/list/columns/SolidDatetimeColumn.js +6 -4
  199. package/dist/components/core/list/columns/SolidDatetimeColumn.js.map +1 -1
  200. package/dist/components/core/list/columns/SolidDatetimeColumn.tsx +3 -3
  201. package/dist/components/core/list/columns/SolidIntColumn.js +3 -3
  202. package/dist/components/core/list/columns/SolidIntColumn.js.map +1 -1
  203. package/dist/components/core/list/columns/SolidIntColumn.tsx +1 -1
  204. package/dist/components/core/list/columns/SolidShortTextColumn.js +5 -5
  205. package/dist/components/core/list/columns/SolidShortTextColumn.js.map +1 -1
  206. package/dist/components/core/list/columns/SolidShortTextColumn.tsx +2 -2
  207. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.d.ts.map +1 -1
  208. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js +2 -1
  209. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js.map +1 -1
  210. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +2 -1
  211. package/dist/components/core/list/widgets/PublishedStatusListViewWidget.d.ts +3 -0
  212. package/dist/components/core/list/widgets/PublishedStatusListViewWidget.d.ts.map +1 -0
  213. package/dist/components/core/list/widgets/PublishedStatusListViewWidget.js +12 -0
  214. package/dist/components/core/list/widgets/PublishedStatusListViewWidget.js.map +1 -0
  215. package/dist/components/core/list/widgets/PublishedStatusListViewWidget.module.css +37 -0
  216. package/dist/components/core/list/widgets/PublishedStatusListViewWidget.tsx +22 -0
  217. package/dist/components/core/locales/SolidChatterLocaleTabView.d.ts +1 -0
  218. package/dist/components/core/locales/SolidChatterLocaleTabView.d.ts.map +1 -1
  219. package/dist/components/core/locales/SolidChatterLocaleTabView.js +2 -2
  220. package/dist/components/core/locales/SolidChatterLocaleTabView.js.map +1 -1
  221. package/dist/components/core/locales/SolidChatterLocaleTabView.tsx +3 -0
  222. package/dist/components/core/locales/SolidLocale.d.ts +2 -1
  223. package/dist/components/core/locales/SolidLocale.d.ts.map +1 -1
  224. package/dist/components/core/locales/SolidLocale.js +83 -11
  225. package/dist/components/core/locales/SolidLocale.js.map +1 -1
  226. package/dist/components/core/locales/SolidLocale.tsx +141 -52
  227. package/dist/components/core/locales/solid-locale.css +153 -44
  228. package/dist/components/core/model/CreateModel.d.ts.map +1 -1
  229. package/dist/components/core/model/CreateModel.js +2 -1
  230. package/dist/components/core/model/CreateModel.js.map +1 -1
  231. package/dist/components/core/model/CreateModel.tsx +2 -0
  232. package/dist/components/core/model/FieldMetaData.d.ts +1 -1
  233. package/dist/components/core/model/FieldMetaData.d.ts.map +1 -1
  234. package/dist/components/core/model/FieldMetaData.js +8 -8
  235. package/dist/components/core/model/FieldMetaData.js.map +1 -1
  236. package/dist/components/core/model/FieldMetaData.tsx +2 -2
  237. package/dist/components/core/model/FieldMetaDataForm.css +119 -0
  238. package/dist/components/core/model/FieldMetaDataForm.js +1 -1
  239. package/dist/components/core/model/FieldMetaDataForm.js.map +1 -1
  240. package/dist/components/core/model/FieldMetaDataForm.tsx +1 -1
  241. package/dist/components/core/module/ModuleMetadataExplorer.css +64 -0
  242. package/dist/components/core/module/ModulePackageDialog.css +117 -12
  243. package/dist/components/core/tree/SolidTreeView.d.ts.map +1 -1
  244. package/dist/components/core/tree/SolidTreeView.js +94 -72
  245. package/dist/components/core/tree/SolidTreeView.js.map +1 -1
  246. package/dist/components/core/tree/SolidTreeView.tsx +82 -57
  247. package/dist/components/layout/AdminHeaderActions.d.ts.map +1 -1
  248. package/dist/components/layout/AdminHeaderActions.js +15 -10
  249. package/dist/components/layout/AdminHeaderActions.js.map +1 -1
  250. package/dist/components/layout/AdminHeaderActions.tsx +15 -8
  251. package/dist/components/layout/AdminTopHeader.d.ts.map +1 -1
  252. package/dist/components/layout/AdminTopHeader.js +1 -18
  253. package/dist/components/layout/AdminTopHeader.js.map +1 -1
  254. package/dist/components/layout/AdminTopHeader.tsx +3 -21
  255. package/dist/components/layout/AppSidebar.d.ts.map +1 -1
  256. package/dist/components/layout/AppSidebar.js +9 -0
  257. package/dist/components/layout/AppSidebar.js.map +1 -1
  258. package/dist/components/layout/AppSidebar.tsx +14 -0
  259. package/dist/components/shad-cn-ui/SolidCodeEditor.d.ts +2 -1
  260. package/dist/components/shad-cn-ui/SolidCodeEditor.d.ts.map +1 -1
  261. package/dist/components/shad-cn-ui/SolidCodeEditor.js +2 -2
  262. package/dist/components/shad-cn-ui/SolidCodeEditor.js.map +1 -1
  263. package/dist/components/shad-cn-ui/SolidCodeEditor.tsx +3 -0
  264. package/dist/components/shad-cn-ui/SolidDropdownMenu.js +1 -1
  265. package/dist/components/shad-cn-ui/SolidDropdownMenu.js.map +1 -1
  266. package/dist/components/shad-cn-ui/SolidDropdownMenu.tsx +1 -1
  267. package/dist/components/workflow/WorkflowFlowCanvas.css +16 -0
  268. package/dist/components/workflow/WorkflowFlowCanvas.d.ts +3 -1
  269. package/dist/components/workflow/WorkflowFlowCanvas.d.ts.map +1 -1
  270. package/dist/components/workflow/WorkflowFlowCanvas.js +68 -6
  271. package/dist/components/workflow/WorkflowFlowCanvas.js.map +1 -1
  272. package/dist/components/workflow/WorkflowFlowCanvas.tsx +126 -8
  273. package/dist/components/workflow/WorkflowNodeSchemaEditor.css +204 -7
  274. package/dist/components/workflow/WorkflowNodeSchemaEditor.d.ts +3 -1
  275. package/dist/components/workflow/WorkflowNodeSchemaEditor.d.ts.map +1 -1
  276. package/dist/components/workflow/WorkflowNodeSchemaEditor.js +685 -47
  277. package/dist/components/workflow/WorkflowNodeSchemaEditor.js.map +1 -1
  278. package/dist/components/workflow/WorkflowNodeSchemaEditor.tsx +1108 -92
  279. package/dist/helpers/registry.d.ts.map +1 -1
  280. package/dist/helpers/registry.js +8 -5
  281. package/dist/helpers/registry.js.map +1 -1
  282. package/dist/helpers/registry.ts +8 -5
  283. package/dist/helpers/resolveActiveUserId.d.ts +13 -0
  284. package/dist/helpers/resolveActiveUserId.d.ts.map +1 -0
  285. package/dist/helpers/resolveActiveUserId.js +86 -0
  286. package/dist/helpers/resolveActiveUserId.js.map +1 -0
  287. package/dist/helpers/resolveActiveUserId.ts +90 -0
  288. package/dist/helpers/settingsPayload.d.ts +3 -0
  289. package/dist/helpers/settingsPayload.d.ts.map +1 -1
  290. package/dist/helpers/settingsPayload.js +9 -0
  291. package/dist/helpers/settingsPayload.js.map +1 -1
  292. package/dist/helpers/settingsPayload.ts +13 -0
  293. package/dist/hooks/useSession.d.ts.map +1 -1
  294. package/dist/hooks/useSession.js +12 -6
  295. package/dist/hooks/useSession.js.map +1 -1
  296. package/dist/hooks/useSession.ts +8 -0
  297. package/dist/index.d.ts +7 -1
  298. package/dist/index.d.ts.map +1 -1
  299. package/dist/index.js +4 -0
  300. package/dist/index.js.map +1 -1
  301. package/dist/index.ts +8 -1
  302. package/dist/redux/api/mediaApi.d.ts +2 -1
  303. package/dist/redux/api/mediaApi.d.ts.map +1 -1
  304. package/dist/redux/api/mediaApi.js +8 -1
  305. package/dist/redux/api/mediaApi.js.map +1 -1
  306. package/dist/redux/api/mediaApi.ts +8 -1
  307. package/dist/redux/api/solidChatterMessageApi.d.ts +2 -1
  308. package/dist/redux/api/solidChatterMessageApi.d.ts.map +1 -1
  309. package/dist/redux/api/solidChatterMessageApi.js +6 -1
  310. package/dist/redux/api/solidChatterMessageApi.js.map +1 -1
  311. package/dist/redux/api/solidChatterMessageApi.ts +6 -1
  312. package/dist/redux/store/defaultStoreConfig.d.ts +2 -0
  313. package/dist/redux/store/defaultStoreConfig.d.ts.map +1 -1
  314. package/dist/redux/store/solidEntityApiPool.js +1 -1
  315. package/dist/redux/store/solidEntityApiPool.js.map +1 -1
  316. package/dist/redux/store/solidEntityApiPool.ts +1 -1
  317. package/dist/resources/globals.css +257 -1
  318. package/dist/resources/solid-custom.css +185 -18
  319. package/dist/resources/solid-tailwind-generated.css +1 -1
  320. package/dist/resources/themes/solid-dark-enterprise/theme-variables.css +28 -0
  321. package/dist/resources/themes/solid-dark-enterprise/theme.css +926 -0
  322. package/dist/resources/themes/solid-dark-modern/theme-variables.css +27 -0
  323. package/dist/resources/themes/solid-dark-modern/theme.css +600 -0
  324. package/dist/resources/themes/solid-light-enterprise/theme-variables.css +28 -0
  325. package/dist/resources/themes/solid-light-enterprise/theme.css +930 -0
  326. package/dist/resources/themes/solid-light-modern/theme-variables.css +31 -0
  327. package/dist/resources/themes/solid-light-modern/theme.css +1041 -0
  328. package/dist/routes/pages/admin/core/CardPage.d.ts.map +1 -1
  329. package/dist/routes/pages/admin/core/CardPage.js +15 -2
  330. package/dist/routes/pages/admin/core/CardPage.js.map +1 -1
  331. package/dist/routes/pages/admin/core/CardPage.tsx +17 -2
  332. package/dist/routes/pages/admin/core/DashboardPage.d.ts.map +1 -1
  333. package/dist/routes/pages/admin/core/DashboardPage.js +31 -3
  334. package/dist/routes/pages/admin/core/DashboardPage.js.map +1 -1
  335. package/dist/routes/pages/admin/core/DashboardPage.tsx +39 -11
  336. package/dist/routes/pages/admin/core/DatasourceIntrospectionPage.d.ts.map +1 -1
  337. package/dist/routes/pages/admin/core/DatasourceIntrospectionPage.js +4 -0
  338. package/dist/routes/pages/admin/core/DatasourceIntrospectionPage.js.map +1 -1
  339. package/dist/routes/pages/admin/core/DatasourceIntrospectionPage.tsx +4 -0
  340. package/dist/routes/pages/admin/core/KanbanPage.d.ts.map +1 -1
  341. package/dist/routes/pages/admin/core/KanbanPage.js +15 -2
  342. package/dist/routes/pages/admin/core/KanbanPage.js.map +1 -1
  343. package/dist/routes/pages/admin/core/KanbanPage.tsx +17 -2
  344. package/dist/routes/pages/admin/core/ListPage.d.ts.map +1 -1
  345. package/dist/routes/pages/admin/core/ListPage.js +5 -13
  346. package/dist/routes/pages/admin/core/ListPage.js.map +1 -1
  347. package/dist/routes/pages/admin/core/ListPage.tsx +5 -15
  348. package/dist/routes/pages/admin/core/MediaUploadPage.d.ts +2 -0
  349. package/dist/routes/pages/admin/core/MediaUploadPage.d.ts.map +1 -0
  350. package/dist/routes/pages/admin/core/MediaUploadPage.js +267 -0
  351. package/dist/routes/pages/admin/core/MediaUploadPage.js.map +1 -0
  352. package/dist/routes/pages/admin/core/MediaUploadPage.tsx +363 -0
  353. package/dist/routes/pages/admin/core/WorkflowDefinitionEditorPage.d.ts.map +1 -1
  354. package/dist/routes/pages/admin/core/WorkflowDefinitionEditorPage.js +88 -31
  355. package/dist/routes/pages/admin/core/WorkflowDefinitionEditorPage.js.map +1 -1
  356. package/dist/routes/pages/admin/core/WorkflowDefinitionEditorPage.tsx +126 -19
  357. package/dist/routes/solidRoutes.js +2 -2
  358. package/dist/routes/solidRoutes.js.map +1 -1
  359. package/dist/routes/solidRoutes.tsx +2 -2
  360. package/dist/theme/theme-registry.d.ts +6 -0
  361. package/dist/theme/theme-registry.d.ts.map +1 -0
  362. package/dist/theme/theme-registry.js +65 -0
  363. package/dist/theme/theme-registry.js.map +1 -0
  364. package/dist/theme/theme-registry.ts +78 -0
  365. package/dist/types/index.d.ts +4 -2
  366. package/dist/types/solid-core.d.ts +25 -0
  367. package/dist/types/workflow-node.d.ts +1 -0
  368. package/dist/types/workflow-node.d.ts.map +1 -1
  369. package/dist/types/workflow-node.js.map +1 -1
  370. package/dist/types/workflow-node.ts +1 -0
  371. package/package.json +1 -2
@@ -4,7 +4,9 @@ import { useGetSolidViewLayoutQuery } from "../../../redux/api/solidViewApi";
4
4
  import { useLazyCheckIfPermissionExistsQuery } from "../../../redux/api/userApi";
5
5
  import { DropResult } from "@hello-pangea/dnd";
6
6
  import qs from "qs";
7
- import { useEffect, useRef, useState } from "react";
7
+ import { forwardRef, useEffect, useImperativeHandle, useRef, useState } from "react";
8
+ import { useSession } from "../../../hooks/useSession";
9
+ import { resolveActiveUserId, resolveSavedFilterVariables } from "../../../helpers/resolveActiveUserId";
8
10
  import { SolidCreateButton } from "../common/SolidCreateButton";
9
11
  import { SolidGlobalSearchElement } from "../common/SolidGlobalSearchElement";
10
12
  import KanbanBoard from "./KanbanBoard";
@@ -17,7 +19,7 @@ import { useRouter } from "../../../hooks/useRouter";
17
19
  import { SolidKanbanViewConfigure } from "./SolidKanbanViewConfigure";
18
20
  import { KanbanUserViewLayout } from "./KanbanUserViewLayout";
19
21
  import { useDispatch, useSelector } from "react-redux";
20
- import { setFilterObjectToLocalStorage, getFilterObjectFromLocalStorage, hasStoredFilterPredicates, hasStoredSearchUiState } from "../common/globalSearchPersistence";
22
+ import { setFilterObjectToLocalStorage, getFilterObjectFromLocalStorage, hasMeaningfulPersistedFilter, hasStoredFilterPredicates } from "../common/globalSearchPersistence";
21
23
  import { ERROR_MESSAGES } from "../../../constants/error-messages";
22
24
  import { showNavbar, toggleNavbar } from "../../../redux/features/navbarSlice";
23
25
  import { normalizeSolidListTreeKanbanActionPath } from "../../../helpers/routePaths";
@@ -27,6 +29,8 @@ import { usePathname } from "../../../hooks/usePathname";
27
29
  import { useSearchParams } from "../../../hooks/useSearchParams";
28
30
  import { solidGet } from "../../../http/solidHttp";
29
31
  import { SolidHeaderRequestStatus } from "../../common/SolidHeaderRequestStatus";
32
+ import { useGetSolidSettingsQuery } from "../../../redux/api/solidSettingsApi";
33
+ import { getSettingsMap, resolveRecordClickAction } from "../../../helpers/settingsPayload";
30
34
  import { isButtonVisibleInCurrentEnv } from "../../../helpers/buttonEnvironment";
31
35
  import { useHandleListCustomButtonClick } from "../../../components/common/useHandleListCustomButtonClick";
32
36
  import { SolidListViewHeaderButton } from "../list/SolidListViewHeaderButton";
@@ -48,6 +52,31 @@ type SolidKanbanViewParams = {
48
52
  moduleName: string;
49
53
  modelName: string;
50
54
  embeded: boolean;
55
+ customFilter?: any;
56
+ };
57
+
58
+ type SolidKanbanFilterInput = {
59
+ custom_filter_predicate?: any;
60
+ search_predicate?: any;
61
+ saved_filter_predicate?: any;
62
+ predefined_search_predicate?: any;
63
+ };
64
+
65
+ export type SolidKanbanViewHandle = {
66
+ refresh: () => void;
67
+ clearFilters: () => void;
68
+ applyFilter: (filter: SolidKanbanFilterInput) => void;
69
+ getSavedFilters: () => any[];
70
+ applySavedFilter: (name: string, variables?: Record<string, any>) => boolean;
71
+ setShowArchived: (value: boolean) => void;
72
+ getState: () => {
73
+ groupByFieldName: string;
74
+ showArchived: boolean;
75
+ filters: any;
76
+ filterPredicates: any;
77
+ kanbanData: any[];
78
+ loading: boolean;
79
+ };
51
80
  };
52
81
 
53
82
  type KanbanSwimlaneDefinition = {
@@ -55,6 +84,8 @@ type KanbanSwimlaneDefinition = {
55
84
  label: string;
56
85
  };
57
86
 
87
+ const DEFAULT_RECORD_SORT = ["id:desc"];
88
+
58
89
  const getKanbanSortParam = (sortValue?: string) => {
59
90
  if (!sortValue) {
60
91
  return "id:asc";
@@ -115,12 +146,14 @@ const mergeKanbanGroupsWithDefinitions = (
115
146
  };
116
147
 
117
148
 
118
- export const SolidKanbanView = (params: SolidKanbanViewParams) => {
149
+ export const SolidKanbanView = forwardRef<SolidKanbanViewHandle, SolidKanbanViewParams>((params, ref) => {
150
+ const session = useSession();
151
+ const user = session?.data?.user;
119
152
 
120
153
  const visibleNavbar = useSelector((state: any) => state.navbarState?.visibleNavbar);
121
154
  const dispatch = useDispatch()
122
155
 
123
- const solidGlobalSearchElementRef = useRef();
156
+ const solidGlobalSearchElementRef = useRef<any>(null);
124
157
  const router = useRouter();
125
158
  const searchParams = useSearchParams();
126
159
  // TODO: The initial filter state will be created based on the fields which are present on this kanban view.
@@ -145,10 +178,16 @@ export const SolidKanbanView = (params: SolidKanbanViewParams) => {
145
178
  const [filterQueryString, setFilterQueryString] = useState<any>();
146
179
  const [isLayoutDialogVisible, setLayoutDialogVisible] = useState(false);
147
180
  const handleCustomButtonClick = useHandleListCustomButtonClick();
148
- const shouldShowMobileSearchElement =
149
- showGlobalSearchElement ||
150
- hasStoredSearchUiState(filterPredicates) ||
151
- hasStoredSearchUiState(getFilterObjectFromLocalStorage());
181
+ const hasFilterPredicatesApplied = hasStoredFilterPredicates(filterPredicates);
182
+ const hasActiveFilters = hasMeaningfulPersistedFilter(filters);
183
+ const hasAnyActiveFilters = hasActiveFilters || hasFilterPredicatesApplied;
184
+ const hasStoredFilterState = hasStoredFilterPredicates(getFilterObjectFromLocalStorage());
185
+
186
+ useEffect(() => {
187
+ if (params.embeded === false) {
188
+ setShowGlobalSearchElement(hasAnyActiveFilters || hasStoredFilterState);
189
+ }
190
+ }, [hasAnyActiveFilters, hasStoredFilterState, params.embeded]);
152
191
 
153
192
  const [swimlaneDefinitions, setSwimlaneDefinitions] = useState<KanbanSwimlaneDefinition[]>([]);
154
193
  const lightboxSlides: SolidLightboxSlide[] = Array.isArray(lightboxUrls)
@@ -353,8 +392,13 @@ export const SolidKanbanView = (params: SolidKanbanViewParams) => {
353
392
  const [rawKanbanGroupRecords, setRawKanbanGroupRecords] = useState<any[]>([]);
354
393
  const [serverSwimLaneCount, setServerSwimLaneCount] = useState<number>(0);
355
394
  const pathname = usePathname();
395
+ const { data: solidSettingsData } = useGetSolidSettingsQuery(undefined);
396
+ const solidSettingsMap = getSettingsMap(solidSettingsData);
356
397
  // @ts-ignore
357
398
  const editBaseUrl = normalizeSolidListTreeKanbanActionPath(pathname, editButtonUrl || "form");
399
+ const recordClickAction = resolveRecordClickAction(solidSettingsMap, {
400
+ isSystemModule: solidKanbanViewMetaData?.data?.solidView?.module?.isSystem === true,
401
+ });
358
402
  // Get the kanban view data.
359
403
  // const [triggerGetSolidEntitiesForKanban, { data: solidEntityKanbanViewData, isLoading, error }] = useLazyGetSolidKanbanEntitiesQuery();
360
404
  const [triggerGetSolidEntities] = useLazyGetSolidEntitiesQuery();
@@ -527,7 +571,11 @@ export const SolidKanbanView = (params: SolidKanbanViewParams) => {
527
571
  }
528
572
  if (queryObject.saved_filter_predicate) {
529
573
  // @ts-ignore
530
- filters.$and.push(queryObject.saved_filter_predicate);
574
+ filters.$and.push(resolveSavedFilterVariables(
575
+ queryObject.saved_filter_predicate,
576
+ user?.id,
577
+ queryObject.saved_filter_variables || {}
578
+ ).value);
531
579
  }
532
580
  if (queryObject.predefined_search_predicate) {
533
581
  // @ts-ignore
@@ -546,6 +594,7 @@ export const SolidKanbanView = (params: SolidKanbanViewParams) => {
546
594
  limit: Number(queryObject.groupFilter.limit) + Number(queryObject.groupFilter.offset) || kanbanViewMetaData?.data?.solidView?.layout?.attrs?.recordsInSwimlane,
547
595
  offset: 0,
548
596
  filters: filters,
597
+ sort: DEFAULT_RECORD_SORT,
549
598
  // @ts-ignore
550
599
  populate: queryObject.groupFilter.populate || toPopulate,
551
600
  // @ts-ignore
@@ -581,6 +630,7 @@ export const SolidKanbanView = (params: SolidKanbanViewParams) => {
581
630
  limit: kanbanViewMetaData?.data?.solidView?.layout?.attrs?.recordsInSwimlane || 10,
582
631
  offset: 0,
583
632
  filters: defaultFilters,
633
+ sort: DEFAULT_RECORD_SORT,
584
634
  populate: toPopulate,
585
635
  populateMedia: toPopulateMedia
586
636
  }
@@ -624,6 +674,7 @@ export const SolidKanbanView = (params: SolidKanbanViewParams) => {
624
674
  limit: recordsInSwimlane,
625
675
  offset: 0,
626
676
  filters: nextFilters,
677
+ sort: DEFAULT_RECORD_SORT,
627
678
  populate: toPopulate,
628
679
  populateMedia: toPopulateMedia,
629
680
  },
@@ -737,7 +788,8 @@ export const SolidKanbanView = (params: SolidKanbanViewParams) => {
737
788
  $in: [groupByField],
738
789
  },
739
790
  ...filters
740
- }
791
+ },
792
+ sort: DEFAULT_RECORD_SORT,
741
793
  });
742
794
 
743
795
 
@@ -910,6 +962,7 @@ export const SolidKanbanView = (params: SolidKanbanViewParams) => {
910
962
  limit: recordsInSwimlane,
911
963
  offset: 0,
912
964
  filters: filters,
965
+ sort: DEFAULT_RECORD_SORT,
913
966
  populate: toPopulate,
914
967
  populateMedia: toPopulateMedia
915
968
 
@@ -956,7 +1009,8 @@ export const SolidKanbanView = (params: SolidKanbanViewParams) => {
956
1009
  }
957
1010
  if (filterPredicates.saved_filter_predicate) {
958
1011
  // @ts-ignore
959
- queryfilter.$and.push(filterPredicates.saved_filter_predicate);
1012
+ queryfilter.$and.push(filterPredicates.resolved_saved_filter_predicate ||
1013
+ resolveActiveUserId(filterPredicates.saved_filter_predicate, user?.id));
960
1014
  }
961
1015
  if (filterPredicates.predefined_search_predicate) {
962
1016
  // @ts-ignore
@@ -986,6 +1040,7 @@ export const SolidKanbanView = (params: SolidKanbanViewParams) => {
986
1040
  limit: recordsInSwimlane,
987
1041
  offset: 0,
988
1042
  filters: updatedFilter,
1043
+ sort: DEFAULT_RECORD_SORT,
989
1044
  populate: toPopulate,
990
1045
  populateMedia: toPopulateMedia
991
1046
  }
@@ -1010,6 +1065,8 @@ export const SolidKanbanView = (params: SolidKanbanViewParams) => {
1010
1065
  // @ts-ignore
1011
1066
  urlData.saved_filter_predicate = customFilter.saved_filter_predicate || {};
1012
1067
  // @ts-ignore
1068
+ urlData.saved_filter_variables = customFilter.saved_filter_variables || {};
1069
+ // @ts-ignore
1013
1070
  urlData.predefined_search_predicate = customFilter.predefined_search_predicate || {};
1014
1071
  // @ts-ignore
1015
1072
  urlData.predefined_search_chip = customFilter.predefined_search_chip || null;
@@ -1058,7 +1115,7 @@ export const SolidKanbanView = (params: SolidKanbanViewParams) => {
1058
1115
  const headerRequestStatusLabel = isDeleteSolidEntitiesLoading ? "Deleting..." : isPatchKanbanViewLoading ? "Updating..." : isRecoveringRecord ? "Recovering..." : loading || !queryDataLoaded ? "Loading..." : null;
1059
1116
 
1060
1117
  const handleRefreshView = () => {
1061
- if (hasStoredFilterPredicates(getFilterObjectFromLocalStorage())) {
1118
+ if (hasAnyActiveFilters) {
1062
1119
  // @ts-ignore
1063
1120
  solidGlobalSearchElementRef.current?.clearAppliedFilters?.({ preserveGrouping: true });
1064
1121
  return;
@@ -1067,6 +1124,39 @@ export const SolidKanbanView = (params: SolidKanbanViewParams) => {
1067
1124
  loadKanbanBoard(filters);
1068
1125
  };
1069
1126
 
1127
+ const cloneKanbanData = () => {
1128
+ if (typeof structuredClone === "function") return structuredClone(kanbanViewData);
1129
+ return JSON.parse(JSON.stringify(kanbanViewData));
1130
+ };
1131
+
1132
+ useImperativeHandle(ref, () => ({
1133
+ refresh: () => {
1134
+ void loadKanbanBoard(filters);
1135
+ },
1136
+ clearFilters: () => {
1137
+ setFilters(params.customFilter || { $and: [] });
1138
+ setFilterPredicates(null);
1139
+ solidGlobalSearchElementRef.current?.clearFilter?.();
1140
+ },
1141
+ applyFilter: (filter) => {
1142
+ void handleApplyCustomFilter(filter);
1143
+ },
1144
+ getSavedFilters: () => solidGlobalSearchElementRef.current?.getSavedFilters?.() ?? [],
1145
+ applySavedFilter: (name, variables) =>
1146
+ solidGlobalSearchElementRef.current?.applySavedFilterByName?.(name, variables) ?? false,
1147
+ setShowArchived: (value) => {
1148
+ setShowArchived(value);
1149
+ },
1150
+ getState: () => ({
1151
+ groupByFieldName,
1152
+ showArchived,
1153
+ filters,
1154
+ filterPredicates,
1155
+ kanbanData: cloneKanbanData(),
1156
+ loading,
1157
+ }),
1158
+ }), [groupByFieldName, showArchived, filters, filterPredicates, kanbanViewData, loading]);
1159
+
1070
1160
  const toggleBothSidebars = () => {
1071
1161
  if (visibleNavbar) {
1072
1162
  dispatch(toggleNavbar()); // close both
@@ -1082,8 +1172,8 @@ export const SolidKanbanView = (params: SolidKanbanViewParams) => {
1082
1172
  <div className="solid-list-content flex flex-col flex-grow-1">
1083
1173
  <div className="solid-list-surface solid-kanban-surface flex flex-col flex-1 min-h-0">
1084
1174
  <div className="page-header solid-list-toolbar solid-kanban-toolbar flex-col lg:flex-row">
1085
- <div className="flex justify-between w-full">
1086
- <div className="solid-list-toolbar-left flex w-full items-center gap-3">
1175
+ <div className="flex w-full flex-col-reverse lg:flex-row lg:items-center items-end">
1176
+ <div className="solid-list-toolbar-left flex w-full items-center gap-3 lg:min-w-0 lg:flex-1">
1087
1177
  {/* {params.embeded !== true &&
1088
1178
  <div className="apps-icon block md:hidden cursor-pointer" onClick={toggleBothSidebars}>
1089
1179
  <SolidIcon name="si-th-large" aria-hidden />
@@ -1092,15 +1182,18 @@ export const SolidKanbanView = (params: SolidKanbanViewParams) => {
1092
1182
  */}
1093
1183
 
1094
1184
  {/* <p className="m-0 view-title solid-text-wrapper">{kanbanViewTitle}</p> */}
1095
- <div className="hidden lg:flex">
1185
+ {/* Base `hidden` must be avoided here: the consuming app's Tailwind CSS loads after this
1186
+ library's generated CSS, so the app's base `.hidden` would override our media-scoped
1187
+ `lg:flex`. Only media-scoped visibility classes are safe on this element. */}
1188
+ <div className={`${showGlobalSearchElement ? "flex" : "max-lg:hidden lg:flex"} w-full mt-3 lg:mt-0 lg:min-w-0`}>
1096
1189
  {/* Keep global search mounted for now because kanban bootstrap/filter hydration still flows through this element. */}
1097
1190
  <SolidGlobalSearchElement viewType="kanban" showSaveFilterPopup={showSaveFilterPopup} setShowSaveFilterPopup={setShowSaveFilterPopup} ref={solidGlobalSearchElementRef} viewData={solidKanbanViewMetaData} handleApplyCustomFilter={handleApplyCustomFilter} filterPredicates={filterPredicates} ></SolidGlobalSearchElement>
1098
1191
  </div>
1099
1192
  </div>
1100
1193
 
1101
- <div className="flex items-center solid-header-buttons-wrapper solid-list-toolbar-actions">
1194
+ <div className="flex items-center solid-header-buttons-wrapper solid-list-toolbar-actions lg:ml-auto">
1102
1195
  <SolidHeaderRequestStatus label={headerRequestStatusLabel} />
1103
- <div className="flex lg:hidden">
1196
+ <div className="solid-list-search-toggle">
1104
1197
  <SolidButton
1105
1198
  type="button"
1106
1199
  variant="outline"
@@ -1167,16 +1260,11 @@ export const SolidKanbanView = (params: SolidKanbanViewParams) => {
1167
1260
  />
1168
1261
  </div>
1169
1262
  </div>
1170
- {shouldShowMobileSearchElement && (
1171
- <div className="flex lg:hidden">
1172
- <SolidGlobalSearchElement viewType="kanban" showSaveFilterPopup={showSaveFilterPopup} setShowSaveFilterPopup={setShowSaveFilterPopup} ref={solidGlobalSearchElementRef} viewData={solidKanbanViewMetaData} handleApplyCustomFilter={handleApplyCustomFilter} filterPredicates={filterPredicates} ></SolidGlobalSearchElement>
1173
- </div>
1174
- )}
1175
1263
  </div>
1176
1264
 
1177
1265
  <style>{`.p-datatable .p-datatable-loading-overlay {background-color: rgba(0, 0, 0, 0.0);}`}</style>
1178
1266
  {solidKanbanViewMetaData && kanbanViewData &&
1179
- <KanbanBoard groupByFieldName={groupByFieldName} kanbanViewData={kanbanViewData} maxSwimLanesCount={maxSwimLanesCount} solidKanbanViewMetaData={solidKanbanViewMetaData?.data} setKanbanViewData={setKanbanViewData} handleLoadMore={handleLoadMore} onDragEnd={onDragEnd} handleSwimLanePagination={handleSwimLanePagination} onDelete={actionsAllowed.includes(`${permissionExpression(params.modelName, 'delete')}`) && solidKanbanViewMetaData?.data?.solidView?.layout?.attrs.delete !== false ? openDeleteDialogForRecord : undefined} onRecover={handleRecoverRecord} setLightboxUrls={setLightboxUrls} setOpenLightbox={setOpenLightbox} editButtonUrl={editBaseUrl} showArchived={showArchived}></KanbanBoard>
1267
+ <KanbanBoard groupByFieldName={groupByFieldName} kanbanViewData={kanbanViewData} maxSwimLanesCount={maxSwimLanesCount} solidKanbanViewMetaData={solidKanbanViewMetaData?.data} setKanbanViewData={setKanbanViewData} handleLoadMore={handleLoadMore} onDragEnd={onDragEnd} handleSwimLanePagination={handleSwimLanePagination} onDelete={actionsAllowed.includes(`${permissionExpression(params.modelName, 'delete')}`) && solidKanbanViewMetaData?.data?.solidView?.layout?.attrs.delete !== false ? openDeleteDialogForRecord : undefined} onRecover={handleRecoverRecord} setLightboxUrls={setLightboxUrls} setOpenLightbox={setOpenLightbox} editButtonUrl={editBaseUrl} recordClickAction={recordClickAction} showArchived={showArchived} params={params} handleCustomButtonClick={handleCustomButtonClick}></KanbanBoard>
1180
1268
  }
1181
1269
  </div>
1182
1270
  </div>
@@ -1226,4 +1314,4 @@ export const SolidKanbanView = (params: SolidKanbanViewParams) => {
1226
1314
  </SolidDialog>
1227
1315
  </div>
1228
1316
  );
1229
- };
1317
+ });
@@ -0,0 +1,7 @@
1
+ import type { SolidKanbanViewHandle } from "./SolidKanbanView";
2
+ export declare const registerKanbanView: (kanbanId: string, handle: SolidKanbanViewHandle) => void;
3
+ export declare const unregisterKanbanView: (kanbanId: string) => void;
4
+ export declare const getKanbanView: (kanbanId: string) => SolidKanbanViewHandle | undefined;
5
+ export declare const hasKanbanView: (kanbanId: string) => boolean;
6
+ export declare const getRegisteredKanbanViewIds: () => string[];
7
+ //# sourceMappingURL=kanbanViewRegistry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kanbanViewRegistry.d.ts","sourceRoot":"","sources":["../../../../src/components/core/kanban/kanbanViewRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAI/D,eAAO,MAAM,kBAAkB,aAAc,MAAM,UAAU,qBAAqB,KAAG,IAEpF,CAAC;AAEF,eAAO,MAAM,oBAAoB,aAAc,MAAM,KAAG,IAEvD,CAAC;AAEF,eAAO,MAAM,aAAa,aAAc,MAAM,KAAG,qBAAqB,GAAG,SAExE,CAAC;AAEF,eAAO,MAAM,aAAa,aAAc,MAAM,KAAG,OAEhD,CAAC;AAEF,eAAO,MAAM,0BAA0B,QAAO,MAAM,EAEnD,CAAC"}
@@ -0,0 +1,17 @@
1
+ var kanbanViewRegistry = new Map();
2
+ export var registerKanbanView = function (kanbanId, handle) {
3
+ kanbanViewRegistry.set(kanbanId, handle);
4
+ };
5
+ export var unregisterKanbanView = function (kanbanId) {
6
+ kanbanViewRegistry.delete(kanbanId);
7
+ };
8
+ export var getKanbanView = function (kanbanId) {
9
+ return kanbanViewRegistry.get(kanbanId);
10
+ };
11
+ export var hasKanbanView = function (kanbanId) {
12
+ return kanbanViewRegistry.has(kanbanId);
13
+ };
14
+ export var getRegisteredKanbanViewIds = function () {
15
+ return Array.from(kanbanViewRegistry.keys());
16
+ };
17
+ //# sourceMappingURL=kanbanViewRegistry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kanbanViewRegistry.js","sourceRoot":"","sources":["../../../../src/components/core/kanban/kanbanViewRegistry.ts"],"names":[],"mappings":"AAEA,IAAM,kBAAkB,GAAG,IAAI,GAAG,EAAiC,CAAC;AAEpE,MAAM,CAAC,IAAM,kBAAkB,GAAG,UAAC,QAAgB,EAAE,MAA6B;IAChF,kBAAkB,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;AAC3C,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,oBAAoB,GAAG,UAAC,QAAgB;IACnD,kBAAkB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AACtC,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,aAAa,GAAG,UAAC,QAAgB;IAC5C,OAAO,kBAAkB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,aAAa,GAAG,UAAC,QAAgB;IAC5C,OAAO,kBAAkB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,0BAA0B,GAAG;IACxC,OAAO,KAAK,CAAC,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,CAAC,CAAC;AAC/C,CAAC,CAAC","sourcesContent":["import type { SolidKanbanViewHandle } from \"./SolidKanbanView\";\n\nconst kanbanViewRegistry = new Map<string, SolidKanbanViewHandle>();\n\nexport const registerKanbanView = (kanbanId: string, handle: SolidKanbanViewHandle): void => {\n kanbanViewRegistry.set(kanbanId, handle);\n};\n\nexport const unregisterKanbanView = (kanbanId: string): void => {\n kanbanViewRegistry.delete(kanbanId);\n};\n\nexport const getKanbanView = (kanbanId: string): SolidKanbanViewHandle | undefined => {\n return kanbanViewRegistry.get(kanbanId);\n};\n\nexport const hasKanbanView = (kanbanId: string): boolean => {\n return kanbanViewRegistry.has(kanbanId);\n};\n\nexport const getRegisteredKanbanViewIds = (): string[] => {\n return Array.from(kanbanViewRegistry.keys());\n};\n"]}
@@ -0,0 +1,23 @@
1
+ import type { SolidKanbanViewHandle } from "./SolidKanbanView";
2
+
3
+ const kanbanViewRegistry = new Map<string, SolidKanbanViewHandle>();
4
+
5
+ export const registerKanbanView = (kanbanId: string, handle: SolidKanbanViewHandle): void => {
6
+ kanbanViewRegistry.set(kanbanId, handle);
7
+ };
8
+
9
+ export const unregisterKanbanView = (kanbanId: string): void => {
10
+ kanbanViewRegistry.delete(kanbanId);
11
+ };
12
+
13
+ export const getKanbanView = (kanbanId: string): SolidKanbanViewHandle | undefined => {
14
+ return kanbanViewRegistry.get(kanbanId);
15
+ };
16
+
17
+ export const hasKanbanView = (kanbanId: string): boolean => {
18
+ return kanbanViewRegistry.has(kanbanId);
19
+ };
20
+
21
+ export const getRegisteredKanbanViewIds = (): string[] => {
22
+ return Array.from(kanbanViewRegistry.keys());
23
+ };
@@ -57,7 +57,7 @@
57
57
  Keep existing predicate/rule state shape and `transformFilterRules(...)` contract unchanged.
58
58
  - [ ] Replace remaining Prime icon class usage in filter flow with non-Prime icons.
59
59
  - [ ] Audit `SolidFilterFields` and list filter input widgets for hidden Prime event-shape coupling.
60
- - [ ] Preserve saved filter URL behavior (`savedQuery`) and local cache behavior.
60
+ - [ ] Preserve local-storage saved-filter application and rehydration behavior without URL state.
61
61
  - [ ] Confirm relation filter hydration still works.
62
62
  - [ ] Preserve `clearFilter()` and imperative `SolidListViewHandle.applyFilter(...)` behavior unchanged.
63
63
 
@@ -38,6 +38,17 @@ export type SolidListViewHandle = {
38
38
  saved_filter_predicate?: any;
39
39
  predefined_search_predicate?: any;
40
40
  }) => void;
41
+ /**
42
+ * Returns the saved filters currently available in the list view, including
43
+ * any seeded/system filters supplied by the view.
44
+ */
45
+ getSavedFilters: () => any[];
46
+ /**
47
+ * Applies the currently available saved filter with the given name using the
48
+ * same selection path as clicking that filter in the search UI.
49
+ * Returns false when no saved filter with that name is available.
50
+ */
51
+ applySavedFilter: (name: string, variables?: Record<string, any>) => boolean;
41
52
  /**
42
53
  * Updates pagination state directly.
43
54
  * Use this when a caller needs to jump to a specific page window
@@ -1 +1 @@
1
- {"version":3,"file":"SolidListView.d.ts","sourceRoot":"","sources":["../../../../src/components/core/list/SolidListView.tsx"],"names":[],"mappings":";AAoEA,KAAK,mBAAmB,GAAG;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,6BAA6B,CAAC,EAAE,GAAG,CAAC;IACpC,8BAA8B,CAAC,EAAE,GAAG,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,iBAAiB,CAAC,EAAE,GAAG,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;;;OAKG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;;OAIG;IACH,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB;;;;;;OAMG;IACH,WAAW,EAAE,CAAC,MAAM,EAAE;QACpB,uBAAuB,CAAC,EAAE,GAAG,CAAC;QAC9B,gBAAgB,CAAC,EAAE,GAAG,CAAC;QACvB,sBAAsB,CAAC,EAAE,GAAG,CAAC;QAC7B,2BAA2B,CAAC,EAAE,GAAG,CAAC;KACnC,KAAK,IAAI,CAAC;IACX;;;;OAIG;IACH,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7D;;;OAGG;IACH,OAAO,EAAE,CAAC,aAAa,EAAE,MAAM,EAAE,aAAa,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC;IACpE;;;OAGG;IACH,eAAe,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C;;;OAGG;IACH,QAAQ,EAAE,MAAM;QACd,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC;QACtB,YAAY,EAAE,OAAO,CAAC;QACtB,OAAO,EAAE,GAAG,CAAC;QACb,gBAAgB,EAAE,GAAG,CAAC;QACtB,QAAQ,EAAE,GAAG,EAAE,CAAC;QAChB,YAAY,EAAE,MAAM,CAAC;QACrB,OAAO,EAAE,OAAO,CAAC;KAClB,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,aAAa,qHAmwDxB,CAAC"}
1
+ {"version":3,"file":"SolidListView.d.ts","sourceRoot":"","sources":["../../../../src/components/core/list/SolidListView.tsx"],"names":[],"mappings":";AAqEA,KAAK,mBAAmB,GAAG;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,6BAA6B,CAAC,EAAE,GAAG,CAAC;IACpC,8BAA8B,CAAC,EAAE,GAAG,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,iBAAiB,CAAC,EAAE,GAAG,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;;;OAKG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;;OAIG;IACH,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB;;;;;;OAMG;IACH,WAAW,EAAE,CAAC,MAAM,EAAE;QACpB,uBAAuB,CAAC,EAAE,GAAG,CAAC;QAC9B,gBAAgB,CAAC,EAAE,GAAG,CAAC;QACvB,sBAAsB,CAAC,EAAE,GAAG,CAAC;QAC7B,2BAA2B,CAAC,EAAE,GAAG,CAAC;KACnC,KAAK,IAAI,CAAC;IACX;;;OAGG;IACH,eAAe,EAAE,MAAM,GAAG,EAAE,CAAC;IAC7B;;;;OAIG;IACH,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC;IAC7E;;;;OAIG;IACH,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7D;;;OAGG;IACH,OAAO,EAAE,CAAC,aAAa,EAAE,MAAM,EAAE,aAAa,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC;IACpE;;;OAGG;IACH,eAAe,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C;;;OAGG;IACH,QAAQ,EAAE,MAAM;QACd,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC;QACtB,YAAY,EAAE,OAAO,CAAC;QACtB,OAAO,EAAE,GAAG,CAAC;QACb,gBAAgB,EAAE,GAAG,CAAC;QACtB,QAAQ,EAAE,GAAG,EAAE,CAAC;QAChB,YAAY,EAAE,MAAM,CAAC;QACrB,OAAO,EAAE,OAAO,CAAC;KAClB,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,aAAa,qHA+zDxB,CAAC"}